diff --git a/sdk/accessanalyzer/src/operation/apply_archive_rule/builders.rs b/sdk/accessanalyzer/src/operation/apply_archive_rule/builders.rs index 3d6ec053e63e..8fb4619d7694 100644 --- a/sdk/accessanalyzer/src/operation/apply_archive_rule/builders.rs +++ b/sdk/accessanalyzer/src/operation/apply_archive_rule/builders.rs @@ -19,9 +19,9 @@ impl ApplyArchiveRuleFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl ApplyArchiveRuleFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::apply_archive_rule::ApplyArchiveRule, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::apply_archive_rule::ApplyArchiveRuleError, + >, + > { + self.customize_middleware().await + } ///

The Amazon resource name (ARN) of the analyzer.

pub fn analyzer_arn(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.analyzer_arn(input.into()); diff --git a/sdk/accessanalyzer/src/operation/cancel_policy_generation/builders.rs b/sdk/accessanalyzer/src/operation/cancel_policy_generation/builders.rs index f2a9c0651594..0e6e4257253b 100644 --- a/sdk/accessanalyzer/src/operation/cancel_policy_generation/builders.rs +++ b/sdk/accessanalyzer/src/operation/cancel_policy_generation/builders.rs @@ -19,9 +19,9 @@ impl CancelPolicyGenerationFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl CancelPolicyGenerationFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::cancel_policy_generation::CancelPolicyGeneration, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::cancel_policy_generation::CancelPolicyGenerationError, + >, + > { + self.customize_middleware().await + } ///

The JobId that is returned by the StartPolicyGeneration operation. The JobId can be used with GetGeneratedPolicy to retrieve the generated policies or used with CancelPolicyGeneration to cancel the policy generation request.

pub fn job_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.job_id(input.into()); diff --git a/sdk/accessanalyzer/src/operation/create_access_preview/builders.rs b/sdk/accessanalyzer/src/operation/create_access_preview/builders.rs index fa93d2608936..cd757103777b 100644 --- a/sdk/accessanalyzer/src/operation/create_access_preview/builders.rs +++ b/sdk/accessanalyzer/src/operation/create_access_preview/builders.rs @@ -19,9 +19,9 @@ impl CreateAccessPreviewFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl CreateAccessPreviewFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::create_access_preview::CreateAccessPreview, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::create_access_preview::CreateAccessPreviewError, + >, + > { + self.customize_middleware().await + } ///

The ARN of the account analyzer used to generate the access preview. You can only create an access preview for analyzers with an Account type and Active status.

pub fn analyzer_arn(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.analyzer_arn(input.into()); diff --git a/sdk/accessanalyzer/src/operation/create_analyzer/builders.rs b/sdk/accessanalyzer/src/operation/create_analyzer/builders.rs index 235fcc931f14..a37bdfc1d2c7 100644 --- a/sdk/accessanalyzer/src/operation/create_analyzer/builders.rs +++ b/sdk/accessanalyzer/src/operation/create_analyzer/builders.rs @@ -19,9 +19,9 @@ impl CreateAnalyzerFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl CreateAnalyzerFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::create_analyzer::CreateAnalyzer, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

The name of the analyzer to create.

pub fn analyzer_name( mut self, diff --git a/sdk/accessanalyzer/src/operation/create_archive_rule/builders.rs b/sdk/accessanalyzer/src/operation/create_archive_rule/builders.rs index 27565ffd8109..5aa664a88c0b 100644 --- a/sdk/accessanalyzer/src/operation/create_archive_rule/builders.rs +++ b/sdk/accessanalyzer/src/operation/create_archive_rule/builders.rs @@ -20,9 +20,9 @@ impl CreateArchiveRuleFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -84,6 +84,22 @@ impl CreateArchiveRuleFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::create_archive_rule::CreateArchiveRule, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::create_archive_rule::CreateArchiveRuleError, + >, + > { + self.customize_middleware().await + } ///

The name of the created analyzer.

pub fn analyzer_name( mut self, diff --git a/sdk/accessanalyzer/src/operation/delete_analyzer/builders.rs b/sdk/accessanalyzer/src/operation/delete_analyzer/builders.rs index 74d4d78dc6bc..05d3fc05ea8d 100644 --- a/sdk/accessanalyzer/src/operation/delete_analyzer/builders.rs +++ b/sdk/accessanalyzer/src/operation/delete_analyzer/builders.rs @@ -19,9 +19,9 @@ impl DeleteAnalyzerFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl DeleteAnalyzerFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::delete_analyzer::DeleteAnalyzer, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

The name of the analyzer to delete.

pub fn analyzer_name( mut self, diff --git a/sdk/accessanalyzer/src/operation/delete_archive_rule/builders.rs b/sdk/accessanalyzer/src/operation/delete_archive_rule/builders.rs index 5baea7ff62b6..76c732b9b48f 100644 --- a/sdk/accessanalyzer/src/operation/delete_archive_rule/builders.rs +++ b/sdk/accessanalyzer/src/operation/delete_archive_rule/builders.rs @@ -19,9 +19,9 @@ impl DeleteArchiveRuleFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl DeleteArchiveRuleFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::delete_archive_rule::DeleteArchiveRule, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::delete_archive_rule::DeleteArchiveRuleError, + >, + > { + self.customize_middleware().await + } ///

The name of the analyzer that associated with the archive rule to delete.

pub fn analyzer_name( mut self, diff --git a/sdk/accessanalyzer/src/operation/get_access_preview/builders.rs b/sdk/accessanalyzer/src/operation/get_access_preview/builders.rs index d07ae0b6ae2c..f962320ecb26 100644 --- a/sdk/accessanalyzer/src/operation/get_access_preview/builders.rs +++ b/sdk/accessanalyzer/src/operation/get_access_preview/builders.rs @@ -19,9 +19,9 @@ impl GetAccessPreviewFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl GetAccessPreviewFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::get_access_preview::GetAccessPreview, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::get_access_preview::GetAccessPreviewError, + >, + > { + self.customize_middleware().await + } ///

The unique ID for the access preview.

pub fn access_preview_id( mut self, diff --git a/sdk/accessanalyzer/src/operation/get_analyzed_resource/builders.rs b/sdk/accessanalyzer/src/operation/get_analyzed_resource/builders.rs index e1712ef6add9..c290cabf3738 100644 --- a/sdk/accessanalyzer/src/operation/get_analyzed_resource/builders.rs +++ b/sdk/accessanalyzer/src/operation/get_analyzed_resource/builders.rs @@ -19,9 +19,9 @@ impl GetAnalyzedResourceFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl GetAnalyzedResourceFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::get_analyzed_resource::GetAnalyzedResource, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::get_analyzed_resource::GetAnalyzedResourceError, + >, + > { + self.customize_middleware().await + } ///

The ARN of the analyzer to retrieve information from.

pub fn analyzer_arn(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.analyzer_arn(input.into()); diff --git a/sdk/accessanalyzer/src/operation/get_analyzer/builders.rs b/sdk/accessanalyzer/src/operation/get_analyzer/builders.rs index 91024c55a594..68fb65b154fa 100644 --- a/sdk/accessanalyzer/src/operation/get_analyzer/builders.rs +++ b/sdk/accessanalyzer/src/operation/get_analyzer/builders.rs @@ -19,9 +19,9 @@ impl GetAnalyzerFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl GetAnalyzerFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::get_analyzer::GetAnalyzer, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

The name of the analyzer retrieved.

pub fn analyzer_name( mut self, diff --git a/sdk/accessanalyzer/src/operation/get_archive_rule/builders.rs b/sdk/accessanalyzer/src/operation/get_archive_rule/builders.rs index 7acc12a921aa..9fe93b751ff1 100644 --- a/sdk/accessanalyzer/src/operation/get_archive_rule/builders.rs +++ b/sdk/accessanalyzer/src/operation/get_archive_rule/builders.rs @@ -20,9 +20,9 @@ impl GetArchiveRuleFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -84,6 +84,22 @@ impl GetArchiveRuleFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::get_archive_rule::GetArchiveRule, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::get_archive_rule::GetArchiveRuleError, + >, + > { + self.customize_middleware().await + } ///

The name of the analyzer to retrieve rules from.

pub fn analyzer_name( mut self, diff --git a/sdk/accessanalyzer/src/operation/get_finding/builders.rs b/sdk/accessanalyzer/src/operation/get_finding/builders.rs index 2f774f56f253..371c92128766 100644 --- a/sdk/accessanalyzer/src/operation/get_finding/builders.rs +++ b/sdk/accessanalyzer/src/operation/get_finding/builders.rs @@ -19,9 +19,9 @@ impl GetFindingFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl GetFindingFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::get_finding::GetFinding, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

The ARN of the analyzer that generated the finding.

pub fn analyzer_arn(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.analyzer_arn(input.into()); diff --git a/sdk/accessanalyzer/src/operation/get_generated_policy/builders.rs b/sdk/accessanalyzer/src/operation/get_generated_policy/builders.rs index 16fc2c7fa6e0..82da276b45a5 100644 --- a/sdk/accessanalyzer/src/operation/get_generated_policy/builders.rs +++ b/sdk/accessanalyzer/src/operation/get_generated_policy/builders.rs @@ -19,9 +19,9 @@ impl GetGeneratedPolicyFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl GetGeneratedPolicyFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::get_generated_policy::GetGeneratedPolicy, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::get_generated_policy::GetGeneratedPolicyError, + >, + > { + self.customize_middleware().await + } ///

The JobId that is returned by the StartPolicyGeneration operation. The JobId can be used with GetGeneratedPolicy to retrieve the generated policies or used with CancelPolicyGeneration to cancel the policy generation request.

pub fn job_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.job_id(input.into()); diff --git a/sdk/accessanalyzer/src/operation/list_access_preview_findings/builders.rs b/sdk/accessanalyzer/src/operation/list_access_preview_findings/builders.rs index 0c2d058f5b2a..9a6b57bf7d25 100644 --- a/sdk/accessanalyzer/src/operation/list_access_preview_findings/builders.rs +++ b/sdk/accessanalyzer/src/operation/list_access_preview_findings/builders.rs @@ -19,9 +19,9 @@ impl ListAccessPreviewFindingsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl ListAccessPreviewFindingsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_access_preview_findings::ListAccessPreviewFindings, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::list_access_preview_findings::ListAccessPreviewFindingsError, + >, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::list_access_preview_findings::paginator::ListAccessPreviewFindingsPaginator::send) which returns a `Stream`. diff --git a/sdk/accessanalyzer/src/operation/list_access_previews/builders.rs b/sdk/accessanalyzer/src/operation/list_access_previews/builders.rs index 4de5d8190a19..39e5cb8a3227 100644 --- a/sdk/accessanalyzer/src/operation/list_access_previews/builders.rs +++ b/sdk/accessanalyzer/src/operation/list_access_previews/builders.rs @@ -19,9 +19,9 @@ impl ListAccessPreviewsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl ListAccessPreviewsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_access_previews::ListAccessPreviews, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::list_access_previews::ListAccessPreviewsError, + >, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::list_access_previews::paginator::ListAccessPreviewsPaginator::send) which returns a `Stream`. diff --git a/sdk/accessanalyzer/src/operation/list_analyzed_resources/builders.rs b/sdk/accessanalyzer/src/operation/list_analyzed_resources/builders.rs index bd90fdbe3bce..bf8330ad8ec8 100644 --- a/sdk/accessanalyzer/src/operation/list_analyzed_resources/builders.rs +++ b/sdk/accessanalyzer/src/operation/list_analyzed_resources/builders.rs @@ -19,9 +19,9 @@ impl ListAnalyzedResourcesFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl ListAnalyzedResourcesFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_analyzed_resources::ListAnalyzedResources, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::list_analyzed_resources::ListAnalyzedResourcesError, + >, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::list_analyzed_resources::paginator::ListAnalyzedResourcesPaginator::send) which returns a `Stream`. diff --git a/sdk/accessanalyzer/src/operation/list_analyzers/builders.rs b/sdk/accessanalyzer/src/operation/list_analyzers/builders.rs index 935450f5ad64..c34914168b04 100644 --- a/sdk/accessanalyzer/src/operation/list_analyzers/builders.rs +++ b/sdk/accessanalyzer/src/operation/list_analyzers/builders.rs @@ -19,9 +19,9 @@ impl ListAnalyzersFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl ListAnalyzersFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_analyzers::ListAnalyzers, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::list_analyzers::paginator::ListAnalyzersPaginator::send) which returns a `Stream`. diff --git a/sdk/accessanalyzer/src/operation/list_archive_rules/builders.rs b/sdk/accessanalyzer/src/operation/list_archive_rules/builders.rs index 953b77ceded2..80b9f7cee208 100644 --- a/sdk/accessanalyzer/src/operation/list_archive_rules/builders.rs +++ b/sdk/accessanalyzer/src/operation/list_archive_rules/builders.rs @@ -19,9 +19,9 @@ impl ListArchiveRulesFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl ListArchiveRulesFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_archive_rules::ListArchiveRules, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::list_archive_rules::ListArchiveRulesError, + >, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::list_archive_rules::paginator::ListArchiveRulesPaginator::send) which returns a `Stream`. diff --git a/sdk/accessanalyzer/src/operation/list_findings/builders.rs b/sdk/accessanalyzer/src/operation/list_findings/builders.rs index 1f709d4b86f7..fde4d3d5d71b 100644 --- a/sdk/accessanalyzer/src/operation/list_findings/builders.rs +++ b/sdk/accessanalyzer/src/operation/list_findings/builders.rs @@ -20,9 +20,9 @@ impl ListFindingsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -78,6 +78,20 @@ impl ListFindingsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_findings::ListFindings, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::list_findings::paginator::ListFindingsPaginator::send) which returns a `Stream`. diff --git a/sdk/accessanalyzer/src/operation/list_policy_generations/builders.rs b/sdk/accessanalyzer/src/operation/list_policy_generations/builders.rs index cb4c3e81f323..8e6113f4429f 100644 --- a/sdk/accessanalyzer/src/operation/list_policy_generations/builders.rs +++ b/sdk/accessanalyzer/src/operation/list_policy_generations/builders.rs @@ -19,9 +19,9 @@ impl ListPolicyGenerationsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl ListPolicyGenerationsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_policy_generations::ListPolicyGenerations, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::list_policy_generations::ListPolicyGenerationsError, + >, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::list_policy_generations::paginator::ListPolicyGenerationsPaginator::send) which returns a `Stream`. diff --git a/sdk/accessanalyzer/src/operation/list_tags_for_resource/builders.rs b/sdk/accessanalyzer/src/operation/list_tags_for_resource/builders.rs index 2f18767259fa..886ecbc0d162 100644 --- a/sdk/accessanalyzer/src/operation/list_tags_for_resource/builders.rs +++ b/sdk/accessanalyzer/src/operation/list_tags_for_resource/builders.rs @@ -19,9 +19,9 @@ impl ListTagsForResourceFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl ListTagsForResourceFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_tags_for_resource::ListTagsForResource, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::list_tags_for_resource::ListTagsForResourceError, + >, + > { + self.customize_middleware().await + } ///

The ARN of the resource to retrieve tags from.

pub fn resource_arn(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.resource_arn(input.into()); diff --git a/sdk/accessanalyzer/src/operation/start_policy_generation/builders.rs b/sdk/accessanalyzer/src/operation/start_policy_generation/builders.rs index 8c4db1785efa..51cf62fe718d 100644 --- a/sdk/accessanalyzer/src/operation/start_policy_generation/builders.rs +++ b/sdk/accessanalyzer/src/operation/start_policy_generation/builders.rs @@ -19,9 +19,9 @@ impl StartPolicyGenerationFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl StartPolicyGenerationFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::start_policy_generation::StartPolicyGeneration, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::start_policy_generation::StartPolicyGenerationError, + >, + > { + self.customize_middleware().await + } ///

Contains the ARN of the IAM entity (user or role) for which you are generating a policy.

pub fn policy_generation_details( mut self, diff --git a/sdk/accessanalyzer/src/operation/start_resource_scan/builders.rs b/sdk/accessanalyzer/src/operation/start_resource_scan/builders.rs index 476e5158c285..f7a70d481b0b 100644 --- a/sdk/accessanalyzer/src/operation/start_resource_scan/builders.rs +++ b/sdk/accessanalyzer/src/operation/start_resource_scan/builders.rs @@ -19,9 +19,9 @@ impl StartResourceScanFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl StartResourceScanFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::start_resource_scan::StartResourceScan, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::start_resource_scan::StartResourceScanError, + >, + > { + self.customize_middleware().await + } ///

The ARN of the analyzer to use to scan the policies applied to the specified resource.

pub fn analyzer_arn(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.analyzer_arn(input.into()); diff --git a/sdk/accessanalyzer/src/operation/tag_resource/builders.rs b/sdk/accessanalyzer/src/operation/tag_resource/builders.rs index 1c5f3fa3e807..3f23bdc65a2e 100644 --- a/sdk/accessanalyzer/src/operation/tag_resource/builders.rs +++ b/sdk/accessanalyzer/src/operation/tag_resource/builders.rs @@ -19,9 +19,9 @@ impl TagResourceFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl TagResourceFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::tag_resource::TagResource, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

The ARN of the resource to add the tag to.

pub fn resource_arn(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.resource_arn(input.into()); diff --git a/sdk/accessanalyzer/src/operation/untag_resource/builders.rs b/sdk/accessanalyzer/src/operation/untag_resource/builders.rs index 761802cfba7e..97e406de660d 100644 --- a/sdk/accessanalyzer/src/operation/untag_resource/builders.rs +++ b/sdk/accessanalyzer/src/operation/untag_resource/builders.rs @@ -19,9 +19,9 @@ impl UntagResourceFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl UntagResourceFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::untag_resource::UntagResource, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

The ARN of the resource to remove the tag from.

pub fn resource_arn(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.resource_arn(input.into()); diff --git a/sdk/accessanalyzer/src/operation/update_archive_rule/builders.rs b/sdk/accessanalyzer/src/operation/update_archive_rule/builders.rs index 28a12670e84d..4d8c599604da 100644 --- a/sdk/accessanalyzer/src/operation/update_archive_rule/builders.rs +++ b/sdk/accessanalyzer/src/operation/update_archive_rule/builders.rs @@ -19,9 +19,9 @@ impl UpdateArchiveRuleFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl UpdateArchiveRuleFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::update_archive_rule::UpdateArchiveRule, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::update_archive_rule::UpdateArchiveRuleError, + >, + > { + self.customize_middleware().await + } ///

The name of the analyzer to update the archive rules for.

pub fn analyzer_name( mut self, diff --git a/sdk/accessanalyzer/src/operation/update_findings/builders.rs b/sdk/accessanalyzer/src/operation/update_findings/builders.rs index b37cf11b67ee..53ec132862f4 100644 --- a/sdk/accessanalyzer/src/operation/update_findings/builders.rs +++ b/sdk/accessanalyzer/src/operation/update_findings/builders.rs @@ -19,9 +19,9 @@ impl UpdateFindingsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl UpdateFindingsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::update_findings::UpdateFindings, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

The ARN of the analyzer that generated the findings to update.

pub fn analyzer_arn(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.analyzer_arn(input.into()); diff --git a/sdk/accessanalyzer/src/operation/validate_policy/builders.rs b/sdk/accessanalyzer/src/operation/validate_policy/builders.rs index 9cb5d0d4a207..2d210a66329d 100644 --- a/sdk/accessanalyzer/src/operation/validate_policy/builders.rs +++ b/sdk/accessanalyzer/src/operation/validate_policy/builders.rs @@ -19,9 +19,9 @@ impl ValidatePolicyFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl ValidatePolicyFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::validate_policy::ValidatePolicy, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::validate_policy::paginator::ValidatePolicyPaginator::send) which returns a `Stream`. diff --git a/sdk/account/src/operation/delete_alternate_contact/builders.rs b/sdk/account/src/operation/delete_alternate_contact/builders.rs index d82442dc245c..5a5ff2c10d07 100644 --- a/sdk/account/src/operation/delete_alternate_contact/builders.rs +++ b/sdk/account/src/operation/delete_alternate_contact/builders.rs @@ -22,9 +22,9 @@ impl DeleteAlternateContactFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -86,6 +86,22 @@ impl DeleteAlternateContactFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::delete_alternate_contact::DeleteAlternateContact, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::delete_alternate_contact::DeleteAlternateContactError, + >, + > { + self.customize_middleware().await + } ///

Specifies which of the alternate contacts to delete.

pub fn alternate_contact_type(mut self, input: crate::types::AlternateContactType) -> Self { self.inner = self.inner.alternate_contact_type(input); diff --git a/sdk/account/src/operation/disable_region/builders.rs b/sdk/account/src/operation/disable_region/builders.rs index 904057a24c7e..392b794abf02 100644 --- a/sdk/account/src/operation/disable_region/builders.rs +++ b/sdk/account/src/operation/disable_region/builders.rs @@ -19,9 +19,9 @@ impl DisableRegionFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl DisableRegionFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::disable_region::DisableRegion, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

Specifies the 12-digit account ID number of the Amazon Web Services account that you want to access or modify with this operation. If you don't specify this parameter, it defaults to the Amazon Web Services account of the identity used to call the operation. To use this parameter, the caller must be an identity in the organization's management account or a delegated administrator account. The specified account ID must also be a member account in the same organization. The organization must have all features enabled, and the organization must have trusted access enabled for the Account Management service, and optionally a delegated admin account assigned.

///

The management account can't specify its own AccountId. It must call the operation in standalone context by not including the AccountId parameter.

///
diff --git a/sdk/account/src/operation/enable_region/builders.rs b/sdk/account/src/operation/enable_region/builders.rs index 228855614064..3df2d9082881 100644 --- a/sdk/account/src/operation/enable_region/builders.rs +++ b/sdk/account/src/operation/enable_region/builders.rs @@ -19,9 +19,9 @@ impl EnableRegionFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl EnableRegionFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::enable_region::EnableRegion, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

Specifies the 12-digit account ID number of the Amazon Web Services account that you want to access or modify with this operation. If you don't specify this parameter, it defaults to the Amazon Web Services account of the identity used to call the operation. To use this parameter, the caller must be an identity in the organization's management account or a delegated administrator account. The specified account ID must also be a member account in the same organization. The organization must have all features enabled, and the organization must have trusted access enabled for the Account Management service, and optionally a delegated admin account assigned.

///

The management account can't specify its own AccountId. It must call the operation in standalone context by not including the AccountId parameter.

///
diff --git a/sdk/account/src/operation/get_alternate_contact/builders.rs b/sdk/account/src/operation/get_alternate_contact/builders.rs index 19efdc60b768..e8143f406ff6 100644 --- a/sdk/account/src/operation/get_alternate_contact/builders.rs +++ b/sdk/account/src/operation/get_alternate_contact/builders.rs @@ -22,9 +22,9 @@ impl GetAlternateContactFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -86,6 +86,22 @@ impl GetAlternateContactFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::get_alternate_contact::GetAlternateContact, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::get_alternate_contact::GetAlternateContactError, + >, + > { + self.customize_middleware().await + } ///

Specifies which alternate contact you want to retrieve.

pub fn alternate_contact_type(mut self, input: crate::types::AlternateContactType) -> Self { self.inner = self.inner.alternate_contact_type(input); diff --git a/sdk/account/src/operation/get_contact_information/builders.rs b/sdk/account/src/operation/get_contact_information/builders.rs index 5abe2c89c439..9126c5030c1d 100644 --- a/sdk/account/src/operation/get_contact_information/builders.rs +++ b/sdk/account/src/operation/get_contact_information/builders.rs @@ -20,9 +20,9 @@ impl GetContactInformationFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -84,6 +84,22 @@ impl GetContactInformationFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::get_contact_information::GetContactInformation, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::get_contact_information::GetContactInformationError, + >, + > { + self.customize_middleware().await + } ///

Specifies the 12-digit account ID number of the Amazon Web Services account that you want to access or modify with this operation. If you don't specify this parameter, it defaults to the Amazon Web Services account of the identity used to call the operation. To use this parameter, the caller must be an identity in the organization's management account or a delegated administrator account. The specified account ID must also be a member account in the same organization. The organization must have all features enabled, and the organization must have trusted access enabled for the Account Management service, and optionally a delegated admin account assigned.

///

The management account can't specify its own AccountId. It must call the operation in standalone context by not including the AccountId parameter.

///
diff --git a/sdk/account/src/operation/get_region_opt_status/builders.rs b/sdk/account/src/operation/get_region_opt_status/builders.rs index ff955b896210..2505b3783294 100644 --- a/sdk/account/src/operation/get_region_opt_status/builders.rs +++ b/sdk/account/src/operation/get_region_opt_status/builders.rs @@ -19,9 +19,9 @@ impl GetRegionOptStatusFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl GetRegionOptStatusFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::get_region_opt_status::GetRegionOptStatus, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::get_region_opt_status::GetRegionOptStatusError, + >, + > { + self.customize_middleware().await + } ///

Specifies the 12-digit account ID number of the Amazon Web Services account that you want to access or modify with this operation. If you don't specify this parameter, it defaults to the Amazon Web Services account of the identity used to call the operation. To use this parameter, the caller must be an identity in the organization's management account or a delegated administrator account. The specified account ID must also be a member account in the same organization. The organization must have all features enabled, and the organization must have trusted access enabled for the Account Management service, and optionally a delegated admin account assigned.

///

The management account can't specify its own AccountId. It must call the operation in standalone context by not including the AccountId parameter.

///
diff --git a/sdk/account/src/operation/list_regions/builders.rs b/sdk/account/src/operation/list_regions/builders.rs index f568d86d41a7..e8f5c9c32931 100644 --- a/sdk/account/src/operation/list_regions/builders.rs +++ b/sdk/account/src/operation/list_regions/builders.rs @@ -19,9 +19,9 @@ impl ListRegionsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl ListRegionsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_regions::ListRegions, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::list_regions::paginator::ListRegionsPaginator::send) which returns a `Stream`. diff --git a/sdk/account/src/operation/put_alternate_contact/builders.rs b/sdk/account/src/operation/put_alternate_contact/builders.rs index eb9fb290fe71..fa56c6e51f91 100644 --- a/sdk/account/src/operation/put_alternate_contact/builders.rs +++ b/sdk/account/src/operation/put_alternate_contact/builders.rs @@ -22,9 +22,9 @@ impl PutAlternateContactFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -86,6 +86,22 @@ impl PutAlternateContactFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::put_alternate_contact::PutAlternateContact, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::put_alternate_contact::PutAlternateContactError, + >, + > { + self.customize_middleware().await + } ///

Specifies a name for the alternate contact.

pub fn name(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.name(input.into()); diff --git a/sdk/account/src/operation/put_contact_information/builders.rs b/sdk/account/src/operation/put_contact_information/builders.rs index 2b84bf451f45..811321aab914 100644 --- a/sdk/account/src/operation/put_contact_information/builders.rs +++ b/sdk/account/src/operation/put_contact_information/builders.rs @@ -20,9 +20,9 @@ impl PutContactInformationFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -84,6 +84,22 @@ impl PutContactInformationFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::put_contact_information::PutContactInformation, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::put_contact_information::PutContactInformationError, + >, + > { + self.customize_middleware().await + } ///

Contains the details of the primary contact information associated with an Amazon Web Services account.

pub fn contact_information(mut self, input: crate::types::ContactInformation) -> Self { self.inner = self.inner.contact_information(input); diff --git a/sdk/acm/src/operation/add_tags_to_certificate/builders.rs b/sdk/acm/src/operation/add_tags_to_certificate/builders.rs index 9ed404952195..d81ce1a60d1b 100644 --- a/sdk/acm/src/operation/add_tags_to_certificate/builders.rs +++ b/sdk/acm/src/operation/add_tags_to_certificate/builders.rs @@ -21,9 +21,9 @@ impl AddTagsToCertificateFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -85,6 +85,22 @@ impl AddTagsToCertificateFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::add_tags_to_certificate::AddTagsToCertificate, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::add_tags_to_certificate::AddTagsToCertificateError, + >, + > { + self.customize_middleware().await + } ///

String that contains the ARN of the ACM certificate to which the tag is to be applied. This must be of the form:

///

arn:aws:acm:region:123456789012:certificate/12345678-1234-1234-1234-123456789012

///

For more information about ARNs, see Amazon Resource Names (ARNs).

diff --git a/sdk/acm/src/operation/delete_certificate/builders.rs b/sdk/acm/src/operation/delete_certificate/builders.rs index 3e72d296b99e..b3f0e146391b 100644 --- a/sdk/acm/src/operation/delete_certificate/builders.rs +++ b/sdk/acm/src/operation/delete_certificate/builders.rs @@ -21,9 +21,9 @@ impl DeleteCertificateFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -85,6 +85,22 @@ impl DeleteCertificateFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::delete_certificate::DeleteCertificate, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::delete_certificate::DeleteCertificateError, + >, + > { + self.customize_middleware().await + } ///

String that contains the ARN of the ACM certificate to be deleted. This must be of the form:

///

arn:aws:acm:region:123456789012:certificate/12345678-1234-1234-1234-123456789012

///

For more information about ARNs, see Amazon Resource Names (ARNs).

diff --git a/sdk/acm/src/operation/describe_certificate/builders.rs b/sdk/acm/src/operation/describe_certificate/builders.rs index 0f74dc989647..7e4184b525a7 100644 --- a/sdk/acm/src/operation/describe_certificate/builders.rs +++ b/sdk/acm/src/operation/describe_certificate/builders.rs @@ -20,9 +20,9 @@ impl DescribeCertificateFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -84,6 +84,22 @@ impl DescribeCertificateFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::describe_certificate::DescribeCertificate, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::describe_certificate::DescribeCertificateError, + >, + > { + self.customize_middleware().await + } ///

The Amazon Resource Name (ARN) of the ACM certificate. The ARN must have the following form:

///

arn:aws:acm:region:123456789012:certificate/12345678-1234-1234-1234-123456789012

///

For more information about ARNs, see Amazon Resource Names (ARNs).

diff --git a/sdk/acm/src/operation/export_certificate/builders.rs b/sdk/acm/src/operation/export_certificate/builders.rs index 960cedf1da9e..101b38d020d5 100644 --- a/sdk/acm/src/operation/export_certificate/builders.rs +++ b/sdk/acm/src/operation/export_certificate/builders.rs @@ -20,9 +20,9 @@ impl ExportCertificateFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -84,6 +84,22 @@ impl ExportCertificateFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::export_certificate::ExportCertificate, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::export_certificate::ExportCertificateError, + >, + > { + self.customize_middleware().await + } ///

An Amazon Resource Name (ARN) of the issued certificate. This must be of the form:

///

arn:aws:acm:region:account:certificate/12345678-1234-1234-1234-123456789012

pub fn certificate_arn( diff --git a/sdk/acm/src/operation/get_account_configuration/builders.rs b/sdk/acm/src/operation/get_account_configuration/builders.rs index 40be717c56c4..19b5afac242d 100644 --- a/sdk/acm/src/operation/get_account_configuration/builders.rs +++ b/sdk/acm/src/operation/get_account_configuration/builders.rs @@ -20,9 +20,9 @@ impl GetAccountConfigurationFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -84,4 +84,20 @@ impl GetAccountConfigurationFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::get_account_configuration::GetAccountConfiguration, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::get_account_configuration::GetAccountConfigurationError, + >, + > { + self.customize_middleware().await + } } diff --git a/sdk/acm/src/operation/get_certificate/builders.rs b/sdk/acm/src/operation/get_certificate/builders.rs index 71c16221d500..8743347a1c90 100644 --- a/sdk/acm/src/operation/get_certificate/builders.rs +++ b/sdk/acm/src/operation/get_certificate/builders.rs @@ -19,9 +19,9 @@ impl GetCertificateFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl GetCertificateFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::get_certificate::GetCertificate, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

String that contains a certificate ARN in the following format:

///

arn:aws:acm:region:123456789012:certificate/12345678-1234-1234-1234-123456789012

///

For more information about ARNs, see Amazon Resource Names (ARNs).

diff --git a/sdk/acm/src/operation/import_certificate/builders.rs b/sdk/acm/src/operation/import_certificate/builders.rs index 59429a9a9ca1..928a2feea7c4 100644 --- a/sdk/acm/src/operation/import_certificate/builders.rs +++ b/sdk/acm/src/operation/import_certificate/builders.rs @@ -38,9 +38,9 @@ impl ImportCertificateFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -102,6 +102,22 @@ impl ImportCertificateFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::import_certificate::ImportCertificate, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::import_certificate::ImportCertificateError, + >, + > { + self.customize_middleware().await + } ///

The Amazon Resource Name (ARN) of an imported certificate to replace. To import a new certificate, omit this field.

pub fn certificate_arn( mut self, diff --git a/sdk/acm/src/operation/list_certificates/builders.rs b/sdk/acm/src/operation/list_certificates/builders.rs index b7059c1fbf47..d5eb6ba5ccd2 100644 --- a/sdk/acm/src/operation/list_certificates/builders.rs +++ b/sdk/acm/src/operation/list_certificates/builders.rs @@ -19,9 +19,9 @@ impl ListCertificatesFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl ListCertificatesFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_certificates::ListCertificates, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::list_certificates::ListCertificatesError, + >, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::list_certificates::paginator::ListCertificatesPaginator::send) which returns a `Stream`. diff --git a/sdk/acm/src/operation/list_tags_for_certificate/builders.rs b/sdk/acm/src/operation/list_tags_for_certificate/builders.rs index 7e1e6d6e44a8..bf5dd34a6de5 100644 --- a/sdk/acm/src/operation/list_tags_for_certificate/builders.rs +++ b/sdk/acm/src/operation/list_tags_for_certificate/builders.rs @@ -20,9 +20,9 @@ impl ListTagsForCertificateFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -84,6 +84,22 @@ impl ListTagsForCertificateFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_tags_for_certificate::ListTagsForCertificate, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::list_tags_for_certificate::ListTagsForCertificateError, + >, + > { + self.customize_middleware().await + } ///

String that contains the ARN of the ACM certificate for which you want to list the tags. This must have the following form:

///

arn:aws:acm:region:123456789012:certificate/12345678-1234-1234-1234-123456789012

///

For more information about ARNs, see Amazon Resource Names (ARNs).

diff --git a/sdk/acm/src/operation/put_account_configuration/builders.rs b/sdk/acm/src/operation/put_account_configuration/builders.rs index 7fe12ed087c4..5060ad8bfc1f 100644 --- a/sdk/acm/src/operation/put_account_configuration/builders.rs +++ b/sdk/acm/src/operation/put_account_configuration/builders.rs @@ -21,9 +21,9 @@ impl PutAccountConfigurationFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -85,6 +85,22 @@ impl PutAccountConfigurationFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::put_account_configuration::PutAccountConfiguration, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::put_account_configuration::PutAccountConfigurationError, + >, + > { + self.customize_middleware().await + } ///

Specifies expiration events associated with an account.

pub fn expiry_events(mut self, input: crate::types::ExpiryEventsConfiguration) -> Self { self.inner = self.inner.expiry_events(input); diff --git a/sdk/acm/src/operation/remove_tags_from_certificate/builders.rs b/sdk/acm/src/operation/remove_tags_from_certificate/builders.rs index afd3a0c0b84c..1510fafd3715 100644 --- a/sdk/acm/src/operation/remove_tags_from_certificate/builders.rs +++ b/sdk/acm/src/operation/remove_tags_from_certificate/builders.rs @@ -20,9 +20,9 @@ impl RemoveTagsFromCertificateFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -84,6 +84,22 @@ impl RemoveTagsFromCertificateFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::remove_tags_from_certificate::RemoveTagsFromCertificate, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::remove_tags_from_certificate::RemoveTagsFromCertificateError, + >, + > { + self.customize_middleware().await + } ///

String that contains the ARN of the ACM Certificate with one or more tags that you want to remove. This must be of the form:

///

arn:aws:acm:region:123456789012:certificate/12345678-1234-1234-1234-123456789012

///

For more information about ARNs, see Amazon Resource Names (ARNs).

diff --git a/sdk/acm/src/operation/renew_certificate/builders.rs b/sdk/acm/src/operation/renew_certificate/builders.rs index 5b43c12251f6..4bb4abf8039a 100644 --- a/sdk/acm/src/operation/renew_certificate/builders.rs +++ b/sdk/acm/src/operation/renew_certificate/builders.rs @@ -19,9 +19,9 @@ impl RenewCertificateFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl RenewCertificateFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::renew_certificate::RenewCertificate, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::renew_certificate::RenewCertificateError, + >, + > { + self.customize_middleware().await + } ///

String that contains the ARN of the ACM certificate to be renewed. This must be of the form:

///

arn:aws:acm:region:123456789012:certificate/12345678-1234-1234-1234-123456789012

///

For more information about ARNs, see Amazon Resource Names (ARNs).

diff --git a/sdk/acm/src/operation/request_certificate/builders.rs b/sdk/acm/src/operation/request_certificate/builders.rs index 6619df00daa2..55eb1d80b13d 100644 --- a/sdk/acm/src/operation/request_certificate/builders.rs +++ b/sdk/acm/src/operation/request_certificate/builders.rs @@ -23,9 +23,9 @@ impl RequestCertificateFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -87,6 +87,22 @@ impl RequestCertificateFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::request_certificate::RequestCertificate, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::request_certificate::RequestCertificateError, + >, + > { + self.customize_middleware().await + } ///

Fully qualified domain name (FQDN), such as www.example.com, that you want to secure with an ACM certificate. Use an asterisk (*) to create a wildcard certificate that protects several sites in the same domain. For example, *.example.com protects www.example.com, site.example.com, and images.example.com.

///

In compliance with RFC 5280, the length of the domain name (technically, the Common Name) that you provide cannot exceed 64 octets (characters), including periods. To add a longer domain name, specify it in the Subject Alternative Name field, which supports names up to 253 octets in length.

pub fn domain_name(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { diff --git a/sdk/acm/src/operation/resend_validation_email/builders.rs b/sdk/acm/src/operation/resend_validation_email/builders.rs index a8ca36210204..7a15596c4b08 100644 --- a/sdk/acm/src/operation/resend_validation_email/builders.rs +++ b/sdk/acm/src/operation/resend_validation_email/builders.rs @@ -19,9 +19,9 @@ impl ResendValidationEmailFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl ResendValidationEmailFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::resend_validation_email::ResendValidationEmail, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::resend_validation_email::ResendValidationEmailError, + >, + > { + self.customize_middleware().await + } ///

String that contains the ARN of the requested certificate. The certificate ARN is generated and returned by the RequestCertificate action as soon as the request is made. By default, using this parameter causes email to be sent to all top-level domains you specified in the certificate request. The ARN must be of the form:

///

arn:aws:acm:us-east-1:123456789012:certificate/12345678-1234-1234-1234-123456789012

pub fn certificate_arn( diff --git a/sdk/acm/src/operation/update_certificate_options/builders.rs b/sdk/acm/src/operation/update_certificate_options/builders.rs index fa7a62077528..56b884c9096f 100644 --- a/sdk/acm/src/operation/update_certificate_options/builders.rs +++ b/sdk/acm/src/operation/update_certificate_options/builders.rs @@ -19,9 +19,9 @@ impl UpdateCertificateOptionsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl UpdateCertificateOptionsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::update_certificate_options::UpdateCertificateOptions, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::update_certificate_options::UpdateCertificateOptionsError, + >, + > { + self.customize_middleware().await + } ///

ARN of the requested certificate to update. This must be of the form:

///

arn:aws:acm:us-east-1:account:certificate/12345678-1234-1234-1234-123456789012

pub fn certificate_arn( diff --git a/sdk/acmpca/src/operation/create_certificate_authority/builders.rs b/sdk/acmpca/src/operation/create_certificate_authority/builders.rs index f907b0e8a494..635779d8c7d2 100644 --- a/sdk/acmpca/src/operation/create_certificate_authority/builders.rs +++ b/sdk/acmpca/src/operation/create_certificate_authority/builders.rs @@ -22,9 +22,9 @@ impl CreateCertificateAuthorityFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -86,6 +86,22 @@ impl CreateCertificateAuthorityFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::create_certificate_authority::CreateCertificateAuthority, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::create_certificate_authority::CreateCertificateAuthorityError, + >, + > { + self.customize_middleware().await + } ///

Name and bit size of the private key algorithm, the name of the signing algorithm, and X.500 certificate subject information.

pub fn certificate_authority_configuration( mut self, diff --git a/sdk/acmpca/src/operation/create_certificate_authority_audit_report/builders.rs b/sdk/acmpca/src/operation/create_certificate_authority_audit_report/builders.rs index c635949e55fe..e2c63d0e34f8 100644 --- a/sdk/acmpca/src/operation/create_certificate_authority_audit_report/builders.rs +++ b/sdk/acmpca/src/operation/create_certificate_authority_audit_report/builders.rs @@ -24,9 +24,9 @@ impl CreateCertificateAuthorityAuditReportFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize(self) -> ::std::result::Result< + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware(self) -> ::std::result::Result< crate::client::customize::CustomizableOperation, ::aws_smithy_http::result::SdkError >{ @@ -69,6 +69,15 @@ impl CreateCertificateAuthorityAuditReportFluentBuilder { { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize(self) -> ::std::result::Result< + crate::client::customize::CustomizableOperation, + ::aws_smithy_http::result::SdkError + >{ + self.customize_middleware().await + } ///

The Amazon Resource Name (ARN) of the CA to be audited. This is of the form:

///

arn:aws:acm-pca:region:account:certificate-authority/12345678-1234-1234-1234-123456789012 .

pub fn certificate_authority_arn( diff --git a/sdk/acmpca/src/operation/create_permission/builders.rs b/sdk/acmpca/src/operation/create_permission/builders.rs index fcdfe57eff55..4ae3965916f1 100644 --- a/sdk/acmpca/src/operation/create_permission/builders.rs +++ b/sdk/acmpca/src/operation/create_permission/builders.rs @@ -26,9 +26,9 @@ impl CreatePermissionFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -90,6 +90,22 @@ impl CreatePermissionFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::create_permission::CreatePermission, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::create_permission::CreatePermissionError, + >, + > { + self.customize_middleware().await + } ///

The Amazon Resource Name (ARN) of the CA that grants the permissions. You can find the ARN by calling the ListCertificateAuthorities action. This must have the following form:

///

arn:aws:acm-pca:region:account:certificate-authority/12345678-1234-1234-1234-123456789012 .

pub fn certificate_authority_arn( diff --git a/sdk/acmpca/src/operation/delete_certificate_authority/builders.rs b/sdk/acmpca/src/operation/delete_certificate_authority/builders.rs index 163a4784063d..2250f67f32c6 100644 --- a/sdk/acmpca/src/operation/delete_certificate_authority/builders.rs +++ b/sdk/acmpca/src/operation/delete_certificate_authority/builders.rs @@ -24,9 +24,9 @@ impl DeleteCertificateAuthorityFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -88,6 +88,22 @@ impl DeleteCertificateAuthorityFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::delete_certificate_authority::DeleteCertificateAuthority, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::delete_certificate_authority::DeleteCertificateAuthorityError, + >, + > { + self.customize_middleware().await + } ///

The Amazon Resource Name (ARN) that was returned when you called CreateCertificateAuthority. This must have the following form:

///

arn:aws:acm-pca:region:account:certificate-authority/12345678-1234-1234-1234-123456789012 .

pub fn certificate_authority_arn( diff --git a/sdk/acmpca/src/operation/delete_permission/builders.rs b/sdk/acmpca/src/operation/delete_permission/builders.rs index 056269cda71a..51fba7154ce8 100644 --- a/sdk/acmpca/src/operation/delete_permission/builders.rs +++ b/sdk/acmpca/src/operation/delete_permission/builders.rs @@ -27,9 +27,9 @@ impl DeletePermissionFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -91,6 +91,22 @@ impl DeletePermissionFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::delete_permission::DeletePermission, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::delete_permission::DeletePermissionError, + >, + > { + self.customize_middleware().await + } ///

The Amazon Resource Number (ARN) of the private CA that issued the permissions. You can find the CA's ARN by calling the ListCertificateAuthorities action. This must have the following form:

///

arn:aws:acm-pca:region:account:certificate-authority/12345678-1234-1234-1234-123456789012 .

pub fn certificate_authority_arn( diff --git a/sdk/acmpca/src/operation/delete_policy/builders.rs b/sdk/acmpca/src/operation/delete_policy/builders.rs index 37c592817708..00b376a845c7 100644 --- a/sdk/acmpca/src/operation/delete_policy/builders.rs +++ b/sdk/acmpca/src/operation/delete_policy/builders.rs @@ -29,9 +29,9 @@ impl DeletePolicyFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -87,6 +87,20 @@ impl DeletePolicyFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::delete_policy::DeletePolicy, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

The Amazon Resource Number (ARN) of the private CA that will have its policy deleted. You can find the CA's ARN by calling the ListCertificateAuthorities action. The ARN value must have the form arn:aws:acm-pca:region:account:certificate-authority/01234567-89ab-cdef-0123-0123456789ab.

pub fn resource_arn(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.resource_arn(input.into()); diff --git a/sdk/acmpca/src/operation/describe_certificate_authority/builders.rs b/sdk/acmpca/src/operation/describe_certificate_authority/builders.rs index c1d0310ab1e6..070f489e14a1 100644 --- a/sdk/acmpca/src/operation/describe_certificate_authority/builders.rs +++ b/sdk/acmpca/src/operation/describe_certificate_authority/builders.rs @@ -28,9 +28,9 @@ impl DescribeCertificateAuthorityFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -92,6 +92,22 @@ impl DescribeCertificateAuthorityFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::describe_certificate_authority::DescribeCertificateAuthority, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::describe_certificate_authority::DescribeCertificateAuthorityError, + >, + > { + self.customize_middleware().await + } ///

The Amazon Resource Name (ARN) that was returned when you called CreateCertificateAuthority. This must be of the form:

///

arn:aws:acm-pca:region:account:certificate-authority/12345678-1234-1234-1234-123456789012 .

pub fn certificate_authority_arn( diff --git a/sdk/acmpca/src/operation/describe_certificate_authority_audit_report/builders.rs b/sdk/acmpca/src/operation/describe_certificate_authority_audit_report/builders.rs index 33b43c788dbc..6fb6004d9f7b 100644 --- a/sdk/acmpca/src/operation/describe_certificate_authority_audit_report/builders.rs +++ b/sdk/acmpca/src/operation/describe_certificate_authority_audit_report/builders.rs @@ -19,9 +19,9 @@ impl DescribeCertificateAuthorityAuditReportFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize(self) -> ::std::result::Result< + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware(self) -> ::std::result::Result< crate::client::customize::CustomizableOperation, ::aws_smithy_http::result::SdkError >{ @@ -64,6 +64,15 @@ impl DescribeCertificateAuthorityAuditReportFluentBuilder { { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize(self) -> ::std::result::Result< + crate::client::customize::CustomizableOperation, + ::aws_smithy_http::result::SdkError + >{ + self.customize_middleware().await + } ///

The Amazon Resource Name (ARN) of the private CA. This must be of the form:

///

arn:aws:acm-pca:region:account:certificate-authority/12345678-1234-1234-1234-123456789012 .

pub fn certificate_authority_arn( diff --git a/sdk/acmpca/src/operation/get_certificate/builders.rs b/sdk/acmpca/src/operation/get_certificate/builders.rs index 5c60fa5139ea..c20cb846b22c 100644 --- a/sdk/acmpca/src/operation/get_certificate/builders.rs +++ b/sdk/acmpca/src/operation/get_certificate/builders.rs @@ -19,9 +19,9 @@ impl GetCertificateFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl GetCertificateFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::get_certificate::GetCertificate, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

The Amazon Resource Name (ARN) that was returned when you called CreateCertificateAuthority. This must be of the form:

///

arn:aws:acm-pca:region:account:certificate-authority/12345678-1234-1234-1234-123456789012 .

pub fn certificate_authority_arn( diff --git a/sdk/acmpca/src/operation/get_certificate_authority_certificate/builders.rs b/sdk/acmpca/src/operation/get_certificate_authority_certificate/builders.rs index 16e0ed17f8d4..f4724c9dc18a 100644 --- a/sdk/acmpca/src/operation/get_certificate_authority_certificate/builders.rs +++ b/sdk/acmpca/src/operation/get_certificate_authority_certificate/builders.rs @@ -19,9 +19,9 @@ impl GetCertificateAuthorityCertificateFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize(self) -> ::std::result::Result< + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware(self) -> ::std::result::Result< crate::client::customize::CustomizableOperation, ::aws_smithy_http::result::SdkError >{ @@ -64,6 +64,15 @@ impl GetCertificateAuthorityCertificateFluentBuilder { { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize(self) -> ::std::result::Result< + crate::client::customize::CustomizableOperation, + ::aws_smithy_http::result::SdkError + >{ + self.customize_middleware().await + } ///

The Amazon Resource Name (ARN) of your private CA. This is of the form:

///

arn:aws:acm-pca:region:account:certificate-authority/12345678-1234-1234-1234-123456789012 .

pub fn certificate_authority_arn( diff --git a/sdk/acmpca/src/operation/get_certificate_authority_csr/builders.rs b/sdk/acmpca/src/operation/get_certificate_authority_csr/builders.rs index 9033bb6f16a7..e02304589e5d 100644 --- a/sdk/acmpca/src/operation/get_certificate_authority_csr/builders.rs +++ b/sdk/acmpca/src/operation/get_certificate_authority_csr/builders.rs @@ -19,9 +19,9 @@ impl GetCertificateAuthorityCsrFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl GetCertificateAuthorityCsrFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::get_certificate_authority_csr::GetCertificateAuthorityCsr, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::get_certificate_authority_csr::GetCertificateAuthorityCsrError, + >, + > { + self.customize_middleware().await + } ///

The Amazon Resource Name (ARN) that was returned when you called the CreateCertificateAuthority action. This must be of the form:

///

arn:aws:acm-pca:region:account:certificate-authority/12345678-1234-1234-1234-123456789012

pub fn certificate_authority_arn( diff --git a/sdk/acmpca/src/operation/get_policy/builders.rs b/sdk/acmpca/src/operation/get_policy/builders.rs index 43bf756a7186..e4266dc80bd3 100644 --- a/sdk/acmpca/src/operation/get_policy/builders.rs +++ b/sdk/acmpca/src/operation/get_policy/builders.rs @@ -27,9 +27,9 @@ impl GetPolicyFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -85,6 +85,20 @@ impl GetPolicyFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::get_policy::GetPolicy, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

The Amazon Resource Number (ARN) of the private CA that will have its policy retrieved. You can find the CA's ARN by calling the ListCertificateAuthorities action.

pub fn resource_arn(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.resource_arn(input.into()); diff --git a/sdk/acmpca/src/operation/import_certificate_authority_certificate/builders.rs b/sdk/acmpca/src/operation/import_certificate_authority_certificate/builders.rs index 0e4212d4fe00..7ea8756b2e67 100644 --- a/sdk/acmpca/src/operation/import_certificate_authority_certificate/builders.rs +++ b/sdk/acmpca/src/operation/import_certificate_authority_certificate/builders.rs @@ -66,9 +66,9 @@ impl ImportCertificateAuthorityCertificateFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize(self) -> ::std::result::Result< + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware(self) -> ::std::result::Result< crate::client::customize::CustomizableOperation, ::aws_smithy_http::result::SdkError >{ @@ -111,6 +111,15 @@ impl ImportCertificateAuthorityCertificateFluentBuilder { { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize(self) -> ::std::result::Result< + crate::client::customize::CustomizableOperation, + ::aws_smithy_http::result::SdkError + >{ + self.customize_middleware().await + } ///

The Amazon Resource Name (ARN) that was returned when you called CreateCertificateAuthority. This must be of the form:

///

arn:aws:acm-pca:region:account:certificate-authority/12345678-1234-1234-1234-123456789012

pub fn certificate_authority_arn( diff --git a/sdk/acmpca/src/operation/issue_certificate/builders.rs b/sdk/acmpca/src/operation/issue_certificate/builders.rs index 5eed4f93e229..c6542c97238c 100644 --- a/sdk/acmpca/src/operation/issue_certificate/builders.rs +++ b/sdk/acmpca/src/operation/issue_certificate/builders.rs @@ -21,9 +21,9 @@ impl IssueCertificateFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -85,6 +85,22 @@ impl IssueCertificateFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::issue_certificate::IssueCertificate, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::issue_certificate::IssueCertificateError, + >, + > { + self.customize_middleware().await + } ///

Specifies X.509 certificate information to be included in the issued certificate. An APIPassthrough or APICSRPassthrough template variant must be selected, or else this parameter is ignored. For more information about using these templates, see Understanding Certificate Templates.

///

If conflicting or duplicate certificate information is supplied during certificate issuance, Amazon Web Services Private CA applies order of operation rules to determine what information is used.

pub fn api_passthrough(mut self, input: crate::types::ApiPassthrough) -> Self { diff --git a/sdk/acmpca/src/operation/list_certificate_authorities/builders.rs b/sdk/acmpca/src/operation/list_certificate_authorities/builders.rs index 585808738b39..d129363778ea 100644 --- a/sdk/acmpca/src/operation/list_certificate_authorities/builders.rs +++ b/sdk/acmpca/src/operation/list_certificate_authorities/builders.rs @@ -19,9 +19,9 @@ impl ListCertificateAuthoritiesFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl ListCertificateAuthoritiesFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_certificate_authorities::ListCertificateAuthorities, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::list_certificate_authorities::ListCertificateAuthoritiesError, + >, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::list_certificate_authorities::paginator::ListCertificateAuthoritiesPaginator::send) which returns a `Stream`. diff --git a/sdk/acmpca/src/operation/list_permissions/builders.rs b/sdk/acmpca/src/operation/list_permissions/builders.rs index 43bdef886112..9b34aea430e2 100644 --- a/sdk/acmpca/src/operation/list_permissions/builders.rs +++ b/sdk/acmpca/src/operation/list_permissions/builders.rs @@ -27,9 +27,9 @@ impl ListPermissionsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -91,6 +91,22 @@ impl ListPermissionsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_permissions::ListPermissions, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::list_permissions::ListPermissionsError, + >, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::list_permissions::paginator::ListPermissionsPaginator::send) which returns a `Stream`. diff --git a/sdk/acmpca/src/operation/list_tags/builders.rs b/sdk/acmpca/src/operation/list_tags/builders.rs index 16ca9afb1a81..25e01cef1f85 100644 --- a/sdk/acmpca/src/operation/list_tags/builders.rs +++ b/sdk/acmpca/src/operation/list_tags/builders.rs @@ -19,9 +19,9 @@ impl ListTagsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl ListTagsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_tags::ListTags, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::list_tags::paginator::ListTagsPaginator::send) which returns a `Stream`. diff --git a/sdk/acmpca/src/operation/put_policy/builders.rs b/sdk/acmpca/src/operation/put_policy/builders.rs index 56f33b1352e2..95d10f5e7fb5 100644 --- a/sdk/acmpca/src/operation/put_policy/builders.rs +++ b/sdk/acmpca/src/operation/put_policy/builders.rs @@ -28,9 +28,9 @@ impl PutPolicyFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -86,6 +86,20 @@ impl PutPolicyFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::put_policy::PutPolicy, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

The Amazon Resource Number (ARN) of the private CA to associate with the policy. The ARN of the CA can be found by calling the ListCertificateAuthorities action.

///

pub fn resource_arn(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { diff --git a/sdk/acmpca/src/operation/restore_certificate_authority/builders.rs b/sdk/acmpca/src/operation/restore_certificate_authority/builders.rs index e2d4cef3dab9..cf3a5def6575 100644 --- a/sdk/acmpca/src/operation/restore_certificate_authority/builders.rs +++ b/sdk/acmpca/src/operation/restore_certificate_authority/builders.rs @@ -19,9 +19,9 @@ impl RestoreCertificateAuthorityFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl RestoreCertificateAuthorityFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::restore_certificate_authority::RestoreCertificateAuthority, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::restore_certificate_authority::RestoreCertificateAuthorityError, + >, + > { + self.customize_middleware().await + } ///

The Amazon Resource Name (ARN) that was returned when you called the CreateCertificateAuthority action. This must be of the form:

///

arn:aws:acm-pca:region:account:certificate-authority/12345678-1234-1234-1234-123456789012

pub fn certificate_authority_arn( diff --git a/sdk/acmpca/src/operation/revoke_certificate/builders.rs b/sdk/acmpca/src/operation/revoke_certificate/builders.rs index ce5dcbbb09b9..263bcf4304c2 100644 --- a/sdk/acmpca/src/operation/revoke_certificate/builders.rs +++ b/sdk/acmpca/src/operation/revoke_certificate/builders.rs @@ -24,9 +24,9 @@ impl RevokeCertificateFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -88,6 +88,22 @@ impl RevokeCertificateFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::revoke_certificate::RevokeCertificate, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::revoke_certificate::RevokeCertificateError, + >, + > { + self.customize_middleware().await + } ///

Amazon Resource Name (ARN) of the private CA that issued the certificate to be revoked. This must be of the form:

///

arn:aws:acm-pca:region:account:certificate-authority/12345678-1234-1234-1234-123456789012

pub fn certificate_authority_arn( diff --git a/sdk/acmpca/src/operation/tag_certificate_authority/builders.rs b/sdk/acmpca/src/operation/tag_certificate_authority/builders.rs index 4aa3e781cfa1..e6de728734b8 100644 --- a/sdk/acmpca/src/operation/tag_certificate_authority/builders.rs +++ b/sdk/acmpca/src/operation/tag_certificate_authority/builders.rs @@ -22,9 +22,9 @@ impl TagCertificateAuthorityFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -86,6 +86,22 @@ impl TagCertificateAuthorityFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::tag_certificate_authority::TagCertificateAuthority, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::tag_certificate_authority::TagCertificateAuthorityError, + >, + > { + self.customize_middleware().await + } ///

The Amazon Resource Name (ARN) that was returned when you called CreateCertificateAuthority. This must be of the form:

///

arn:aws:acm-pca:region:account:certificate-authority/12345678-1234-1234-1234-123456789012

pub fn certificate_authority_arn( diff --git a/sdk/acmpca/src/operation/untag_certificate_authority/builders.rs b/sdk/acmpca/src/operation/untag_certificate_authority/builders.rs index a64d549bec39..416c597ffaf2 100644 --- a/sdk/acmpca/src/operation/untag_certificate_authority/builders.rs +++ b/sdk/acmpca/src/operation/untag_certificate_authority/builders.rs @@ -19,9 +19,9 @@ impl UntagCertificateAuthorityFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl UntagCertificateAuthorityFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::untag_certificate_authority::UntagCertificateAuthority, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::untag_certificate_authority::UntagCertificateAuthorityError, + >, + > { + self.customize_middleware().await + } ///

The Amazon Resource Name (ARN) that was returned when you called CreateCertificateAuthority. This must be of the form:

///

arn:aws:acm-pca:region:account:certificate-authority/12345678-1234-1234-1234-123456789012

pub fn certificate_authority_arn( diff --git a/sdk/acmpca/src/operation/update_certificate_authority/builders.rs b/sdk/acmpca/src/operation/update_certificate_authority/builders.rs index 8d865617e5a4..a975fd52d22f 100644 --- a/sdk/acmpca/src/operation/update_certificate_authority/builders.rs +++ b/sdk/acmpca/src/operation/update_certificate_authority/builders.rs @@ -21,9 +21,9 @@ impl UpdateCertificateAuthorityFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -85,6 +85,22 @@ impl UpdateCertificateAuthorityFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::update_certificate_authority::UpdateCertificateAuthority, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::update_certificate_authority::UpdateCertificateAuthorityError, + >, + > { + self.customize_middleware().await + } ///

Amazon Resource Name (ARN) of the private CA that issued the certificate to be revoked. This must be of the form:

///

arn:aws:acm-pca:region:account:certificate-authority/12345678-1234-1234-1234-123456789012

pub fn certificate_authority_arn( diff --git a/sdk/alexaforbusiness/src/operation/approve_skill/builders.rs b/sdk/alexaforbusiness/src/operation/approve_skill/builders.rs index d700b2dcddf3..2f9594812751 100644 --- a/sdk/alexaforbusiness/src/operation/approve_skill/builders.rs +++ b/sdk/alexaforbusiness/src/operation/approve_skill/builders.rs @@ -19,9 +19,9 @@ impl ApproveSkillFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl ApproveSkillFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::approve_skill::ApproveSkill, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

The unique identifier of the skill.

pub fn skill_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.skill_id(input.into()); diff --git a/sdk/alexaforbusiness/src/operation/associate_contact_with_address_book/builders.rs b/sdk/alexaforbusiness/src/operation/associate_contact_with_address_book/builders.rs index 1b7289453ad1..746cc60c3828 100644 --- a/sdk/alexaforbusiness/src/operation/associate_contact_with_address_book/builders.rs +++ b/sdk/alexaforbusiness/src/operation/associate_contact_with_address_book/builders.rs @@ -19,9 +19,9 @@ impl AssociateContactWithAddressBookFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize(self) -> ::std::result::Result< + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware(self) -> ::std::result::Result< crate::client::customize::CustomizableOperation, ::aws_smithy_http::result::SdkError >{ @@ -64,6 +64,15 @@ impl AssociateContactWithAddressBookFluentBuilder { { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize(self) -> ::std::result::Result< + crate::client::customize::CustomizableOperation, + ::aws_smithy_http::result::SdkError + >{ + self.customize_middleware().await + } ///

The ARN of the contact to associate with an address book.

pub fn contact_arn(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.contact_arn(input.into()); diff --git a/sdk/alexaforbusiness/src/operation/associate_device_with_network_profile/builders.rs b/sdk/alexaforbusiness/src/operation/associate_device_with_network_profile/builders.rs index e466ca147a0e..e1ccdef3e505 100644 --- a/sdk/alexaforbusiness/src/operation/associate_device_with_network_profile/builders.rs +++ b/sdk/alexaforbusiness/src/operation/associate_device_with_network_profile/builders.rs @@ -19,9 +19,9 @@ impl AssociateDeviceWithNetworkProfileFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize(self) -> ::std::result::Result< + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware(self) -> ::std::result::Result< crate::client::customize::CustomizableOperation, ::aws_smithy_http::result::SdkError >{ @@ -64,6 +64,15 @@ impl AssociateDeviceWithNetworkProfileFluentBuilder { { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize(self) -> ::std::result::Result< + crate::client::customize::CustomizableOperation, + ::aws_smithy_http::result::SdkError + >{ + self.customize_middleware().await + } ///

The device ARN.

pub fn device_arn(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.device_arn(input.into()); diff --git a/sdk/alexaforbusiness/src/operation/associate_device_with_room/builders.rs b/sdk/alexaforbusiness/src/operation/associate_device_with_room/builders.rs index ecdad2c5f791..f83c10feac1b 100644 --- a/sdk/alexaforbusiness/src/operation/associate_device_with_room/builders.rs +++ b/sdk/alexaforbusiness/src/operation/associate_device_with_room/builders.rs @@ -20,9 +20,9 @@ impl AssociateDeviceWithRoomFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -84,6 +84,22 @@ impl AssociateDeviceWithRoomFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::associate_device_with_room::AssociateDeviceWithRoom, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::associate_device_with_room::AssociateDeviceWithRoomError, + >, + > { + self.customize_middleware().await + } ///

The ARN of the device to associate to a room. Required.

pub fn device_arn(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.device_arn(input.into()); diff --git a/sdk/alexaforbusiness/src/operation/associate_skill_group_with_room/builders.rs b/sdk/alexaforbusiness/src/operation/associate_skill_group_with_room/builders.rs index 401c08fc97ae..bfcc8639a357 100644 --- a/sdk/alexaforbusiness/src/operation/associate_skill_group_with_room/builders.rs +++ b/sdk/alexaforbusiness/src/operation/associate_skill_group_with_room/builders.rs @@ -19,9 +19,9 @@ impl AssociateSkillGroupWithRoomFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl AssociateSkillGroupWithRoomFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::associate_skill_group_with_room::AssociateSkillGroupWithRoom, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::associate_skill_group_with_room::AssociateSkillGroupWithRoomError, + >, + > { + self.customize_middleware().await + } ///

The ARN of the skill group to associate with a room. Required.

pub fn skill_group_arn( mut self, diff --git a/sdk/alexaforbusiness/src/operation/associate_skill_with_skill_group/builders.rs b/sdk/alexaforbusiness/src/operation/associate_skill_with_skill_group/builders.rs index 42d855cd3377..c4cba81dc9fd 100644 --- a/sdk/alexaforbusiness/src/operation/associate_skill_with_skill_group/builders.rs +++ b/sdk/alexaforbusiness/src/operation/associate_skill_with_skill_group/builders.rs @@ -19,9 +19,9 @@ impl AssociateSkillWithSkillGroupFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl AssociateSkillWithSkillGroupFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::associate_skill_with_skill_group::AssociateSkillWithSkillGroup, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::associate_skill_with_skill_group::AssociateSkillWithSkillGroupError, + >, + > { + self.customize_middleware().await + } ///

The ARN of the skill group to associate the skill to. Required.

pub fn skill_group_arn( mut self, diff --git a/sdk/alexaforbusiness/src/operation/associate_skill_with_users/builders.rs b/sdk/alexaforbusiness/src/operation/associate_skill_with_users/builders.rs index 053f93baec76..2396bef694c6 100644 --- a/sdk/alexaforbusiness/src/operation/associate_skill_with_users/builders.rs +++ b/sdk/alexaforbusiness/src/operation/associate_skill_with_users/builders.rs @@ -20,9 +20,9 @@ impl AssociateSkillWithUsersFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -84,6 +84,22 @@ impl AssociateSkillWithUsersFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::associate_skill_with_users::AssociateSkillWithUsers, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::associate_skill_with_users::AssociateSkillWithUsersError, + >, + > { + self.customize_middleware().await + } ///

The private skill ID you want to make available to enrolled users.

pub fn skill_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.skill_id(input.into()); diff --git a/sdk/alexaforbusiness/src/operation/create_address_book/builders.rs b/sdk/alexaforbusiness/src/operation/create_address_book/builders.rs index e7409d33f18b..5bf81f4396ac 100644 --- a/sdk/alexaforbusiness/src/operation/create_address_book/builders.rs +++ b/sdk/alexaforbusiness/src/operation/create_address_book/builders.rs @@ -19,9 +19,9 @@ impl CreateAddressBookFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl CreateAddressBookFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::create_address_book::CreateAddressBook, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::create_address_book::CreateAddressBookError, + >, + > { + self.customize_middleware().await + } ///

The name of the address book.

pub fn name(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.name(input.into()); diff --git a/sdk/alexaforbusiness/src/operation/create_business_report_schedule/builders.rs b/sdk/alexaforbusiness/src/operation/create_business_report_schedule/builders.rs index 175511f12ae8..b063371c2466 100644 --- a/sdk/alexaforbusiness/src/operation/create_business_report_schedule/builders.rs +++ b/sdk/alexaforbusiness/src/operation/create_business_report_schedule/builders.rs @@ -19,9 +19,9 @@ impl CreateBusinessReportScheduleFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl CreateBusinessReportScheduleFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::create_business_report_schedule::CreateBusinessReportSchedule, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::create_business_report_schedule::CreateBusinessReportScheduleError, + >, + > { + self.customize_middleware().await + } ///

The name identifier of the schedule.

pub fn schedule_name( mut self, diff --git a/sdk/alexaforbusiness/src/operation/create_conference_provider/builders.rs b/sdk/alexaforbusiness/src/operation/create_conference_provider/builders.rs index ebd09e775322..6bdb1846fe10 100644 --- a/sdk/alexaforbusiness/src/operation/create_conference_provider/builders.rs +++ b/sdk/alexaforbusiness/src/operation/create_conference_provider/builders.rs @@ -19,9 +19,9 @@ impl CreateConferenceProviderFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl CreateConferenceProviderFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::create_conference_provider::CreateConferenceProvider, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::create_conference_provider::CreateConferenceProviderError, + >, + > { + self.customize_middleware().await + } ///

The name of the conference provider.

pub fn conference_provider_name( mut self, diff --git a/sdk/alexaforbusiness/src/operation/create_contact/builders.rs b/sdk/alexaforbusiness/src/operation/create_contact/builders.rs index dd52c34dcfce..45e93dac959d 100644 --- a/sdk/alexaforbusiness/src/operation/create_contact/builders.rs +++ b/sdk/alexaforbusiness/src/operation/create_contact/builders.rs @@ -19,9 +19,9 @@ impl CreateContactFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl CreateContactFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::create_contact::CreateContact, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

The name of the contact to display on the console.

pub fn display_name(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.display_name(input.into()); diff --git a/sdk/alexaforbusiness/src/operation/create_gateway_group/builders.rs b/sdk/alexaforbusiness/src/operation/create_gateway_group/builders.rs index 9de296f00419..4b5c1eb77d40 100644 --- a/sdk/alexaforbusiness/src/operation/create_gateway_group/builders.rs +++ b/sdk/alexaforbusiness/src/operation/create_gateway_group/builders.rs @@ -19,9 +19,9 @@ impl CreateGatewayGroupFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl CreateGatewayGroupFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::create_gateway_group::CreateGatewayGroup, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::create_gateway_group::CreateGatewayGroupError, + >, + > { + self.customize_middleware().await + } ///

The name of the gateway group.

pub fn name(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.name(input.into()); diff --git a/sdk/alexaforbusiness/src/operation/create_network_profile/builders.rs b/sdk/alexaforbusiness/src/operation/create_network_profile/builders.rs index 805d37b841d2..a821d757dd7f 100644 --- a/sdk/alexaforbusiness/src/operation/create_network_profile/builders.rs +++ b/sdk/alexaforbusiness/src/operation/create_network_profile/builders.rs @@ -19,9 +19,9 @@ impl CreateNetworkProfileFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl CreateNetworkProfileFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::create_network_profile::CreateNetworkProfile, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::create_network_profile::CreateNetworkProfileError, + >, + > { + self.customize_middleware().await + } ///

The name of the network profile associated with a device.

pub fn network_profile_name( mut self, diff --git a/sdk/alexaforbusiness/src/operation/create_profile/builders.rs b/sdk/alexaforbusiness/src/operation/create_profile/builders.rs index ea165ac02adc..60ac7c99dbe9 100644 --- a/sdk/alexaforbusiness/src/operation/create_profile/builders.rs +++ b/sdk/alexaforbusiness/src/operation/create_profile/builders.rs @@ -19,9 +19,9 @@ impl CreateProfileFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl CreateProfileFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::create_profile::CreateProfile, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

The name of a room profile.

pub fn profile_name(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.profile_name(input.into()); diff --git a/sdk/alexaforbusiness/src/operation/create_room/builders.rs b/sdk/alexaforbusiness/src/operation/create_room/builders.rs index 4fc7e6e70b36..c5523a44ab58 100644 --- a/sdk/alexaforbusiness/src/operation/create_room/builders.rs +++ b/sdk/alexaforbusiness/src/operation/create_room/builders.rs @@ -19,9 +19,9 @@ impl CreateRoomFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl CreateRoomFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::create_room::CreateRoom, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

The name for the room.

pub fn room_name(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.room_name(input.into()); diff --git a/sdk/alexaforbusiness/src/operation/create_skill_group/builders.rs b/sdk/alexaforbusiness/src/operation/create_skill_group/builders.rs index e7f6b62bea83..ab539f9124bd 100644 --- a/sdk/alexaforbusiness/src/operation/create_skill_group/builders.rs +++ b/sdk/alexaforbusiness/src/operation/create_skill_group/builders.rs @@ -19,9 +19,9 @@ impl CreateSkillGroupFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl CreateSkillGroupFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::create_skill_group::CreateSkillGroup, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::create_skill_group::CreateSkillGroupError, + >, + > { + self.customize_middleware().await + } ///

The name for the skill group.

pub fn skill_group_name( mut self, diff --git a/sdk/alexaforbusiness/src/operation/create_user/builders.rs b/sdk/alexaforbusiness/src/operation/create_user/builders.rs index ea9a0f383fc8..679117046749 100644 --- a/sdk/alexaforbusiness/src/operation/create_user/builders.rs +++ b/sdk/alexaforbusiness/src/operation/create_user/builders.rs @@ -19,9 +19,9 @@ impl CreateUserFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl CreateUserFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::create_user::CreateUser, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

The ARN for the user.

pub fn user_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.user_id(input.into()); diff --git a/sdk/alexaforbusiness/src/operation/delete_address_book/builders.rs b/sdk/alexaforbusiness/src/operation/delete_address_book/builders.rs index 209b884cc384..31313274bfbd 100644 --- a/sdk/alexaforbusiness/src/operation/delete_address_book/builders.rs +++ b/sdk/alexaforbusiness/src/operation/delete_address_book/builders.rs @@ -19,9 +19,9 @@ impl DeleteAddressBookFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl DeleteAddressBookFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::delete_address_book::DeleteAddressBook, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::delete_address_book::DeleteAddressBookError, + >, + > { + self.customize_middleware().await + } ///

The ARN of the address book to delete.

pub fn address_book_arn( mut self, diff --git a/sdk/alexaforbusiness/src/operation/delete_business_report_schedule/builders.rs b/sdk/alexaforbusiness/src/operation/delete_business_report_schedule/builders.rs index a63a5b606b17..e4a5df406fe5 100644 --- a/sdk/alexaforbusiness/src/operation/delete_business_report_schedule/builders.rs +++ b/sdk/alexaforbusiness/src/operation/delete_business_report_schedule/builders.rs @@ -19,9 +19,9 @@ impl DeleteBusinessReportScheduleFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl DeleteBusinessReportScheduleFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::delete_business_report_schedule::DeleteBusinessReportSchedule, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::delete_business_report_schedule::DeleteBusinessReportScheduleError, + >, + > { + self.customize_middleware().await + } ///

The ARN of the business report schedule.

pub fn schedule_arn(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.schedule_arn(input.into()); diff --git a/sdk/alexaforbusiness/src/operation/delete_conference_provider/builders.rs b/sdk/alexaforbusiness/src/operation/delete_conference_provider/builders.rs index 6555e5b4a936..2a6acb41ad34 100644 --- a/sdk/alexaforbusiness/src/operation/delete_conference_provider/builders.rs +++ b/sdk/alexaforbusiness/src/operation/delete_conference_provider/builders.rs @@ -19,9 +19,9 @@ impl DeleteConferenceProviderFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl DeleteConferenceProviderFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::delete_conference_provider::DeleteConferenceProvider, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::delete_conference_provider::DeleteConferenceProviderError, + >, + > { + self.customize_middleware().await + } ///

The ARN of the conference provider.

pub fn conference_provider_arn( mut self, diff --git a/sdk/alexaforbusiness/src/operation/delete_contact/builders.rs b/sdk/alexaforbusiness/src/operation/delete_contact/builders.rs index 21c203ee0855..9ba1f2648bf5 100644 --- a/sdk/alexaforbusiness/src/operation/delete_contact/builders.rs +++ b/sdk/alexaforbusiness/src/operation/delete_contact/builders.rs @@ -19,9 +19,9 @@ impl DeleteContactFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl DeleteContactFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::delete_contact::DeleteContact, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

The ARN of the contact to delete.

pub fn contact_arn(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.contact_arn(input.into()); diff --git a/sdk/alexaforbusiness/src/operation/delete_device/builders.rs b/sdk/alexaforbusiness/src/operation/delete_device/builders.rs index 406b673dd2d7..c91ecb3a5f89 100644 --- a/sdk/alexaforbusiness/src/operation/delete_device/builders.rs +++ b/sdk/alexaforbusiness/src/operation/delete_device/builders.rs @@ -19,9 +19,9 @@ impl DeleteDeviceFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl DeleteDeviceFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::delete_device::DeleteDevice, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

The ARN of the device for which to request details.

pub fn device_arn(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.device_arn(input.into()); diff --git a/sdk/alexaforbusiness/src/operation/delete_device_usage_data/builders.rs b/sdk/alexaforbusiness/src/operation/delete_device_usage_data/builders.rs index a0e626365854..e2dda997bc4e 100644 --- a/sdk/alexaforbusiness/src/operation/delete_device_usage_data/builders.rs +++ b/sdk/alexaforbusiness/src/operation/delete_device_usage_data/builders.rs @@ -19,9 +19,9 @@ impl DeleteDeviceUsageDataFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl DeleteDeviceUsageDataFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::delete_device_usage_data::DeleteDeviceUsageData, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::delete_device_usage_data::DeleteDeviceUsageDataError, + >, + > { + self.customize_middleware().await + } ///

The ARN of the device.

pub fn device_arn(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.device_arn(input.into()); diff --git a/sdk/alexaforbusiness/src/operation/delete_gateway_group/builders.rs b/sdk/alexaforbusiness/src/operation/delete_gateway_group/builders.rs index aa59f1cbfeae..de0cf487215a 100644 --- a/sdk/alexaforbusiness/src/operation/delete_gateway_group/builders.rs +++ b/sdk/alexaforbusiness/src/operation/delete_gateway_group/builders.rs @@ -19,9 +19,9 @@ impl DeleteGatewayGroupFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl DeleteGatewayGroupFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::delete_gateway_group::DeleteGatewayGroup, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::delete_gateway_group::DeleteGatewayGroupError, + >, + > { + self.customize_middleware().await + } ///

The ARN of the gateway group to delete.

pub fn gateway_group_arn( mut self, diff --git a/sdk/alexaforbusiness/src/operation/delete_network_profile/builders.rs b/sdk/alexaforbusiness/src/operation/delete_network_profile/builders.rs index c1991931efe3..75ee3a98ed40 100644 --- a/sdk/alexaforbusiness/src/operation/delete_network_profile/builders.rs +++ b/sdk/alexaforbusiness/src/operation/delete_network_profile/builders.rs @@ -19,9 +19,9 @@ impl DeleteNetworkProfileFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl DeleteNetworkProfileFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::delete_network_profile::DeleteNetworkProfile, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::delete_network_profile::DeleteNetworkProfileError, + >, + > { + self.customize_middleware().await + } ///

The ARN of the network profile associated with a device.

pub fn network_profile_arn( mut self, diff --git a/sdk/alexaforbusiness/src/operation/delete_profile/builders.rs b/sdk/alexaforbusiness/src/operation/delete_profile/builders.rs index 8c0eac1be937..214c8a2bea9f 100644 --- a/sdk/alexaforbusiness/src/operation/delete_profile/builders.rs +++ b/sdk/alexaforbusiness/src/operation/delete_profile/builders.rs @@ -19,9 +19,9 @@ impl DeleteProfileFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl DeleteProfileFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::delete_profile::DeleteProfile, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

The ARN of the room profile to delete. Required.

pub fn profile_arn(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.profile_arn(input.into()); diff --git a/sdk/alexaforbusiness/src/operation/delete_room/builders.rs b/sdk/alexaforbusiness/src/operation/delete_room/builders.rs index adade99aefd2..177af2f82017 100644 --- a/sdk/alexaforbusiness/src/operation/delete_room/builders.rs +++ b/sdk/alexaforbusiness/src/operation/delete_room/builders.rs @@ -19,9 +19,9 @@ impl DeleteRoomFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl DeleteRoomFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::delete_room::DeleteRoom, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

The ARN of the room to delete. Required.

pub fn room_arn(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.room_arn(input.into()); diff --git a/sdk/alexaforbusiness/src/operation/delete_room_skill_parameter/builders.rs b/sdk/alexaforbusiness/src/operation/delete_room_skill_parameter/builders.rs index 29d5262be383..07f877e801c7 100644 --- a/sdk/alexaforbusiness/src/operation/delete_room_skill_parameter/builders.rs +++ b/sdk/alexaforbusiness/src/operation/delete_room_skill_parameter/builders.rs @@ -19,9 +19,9 @@ impl DeleteRoomSkillParameterFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl DeleteRoomSkillParameterFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::delete_room_skill_parameter::DeleteRoomSkillParameter, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::delete_room_skill_parameter::DeleteRoomSkillParameterError, + >, + > { + self.customize_middleware().await + } ///

The ARN of the room from which to remove the room skill parameter details.

pub fn room_arn(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.room_arn(input.into()); diff --git a/sdk/alexaforbusiness/src/operation/delete_skill_authorization/builders.rs b/sdk/alexaforbusiness/src/operation/delete_skill_authorization/builders.rs index 89d101c791aa..e7a808a89e9b 100644 --- a/sdk/alexaforbusiness/src/operation/delete_skill_authorization/builders.rs +++ b/sdk/alexaforbusiness/src/operation/delete_skill_authorization/builders.rs @@ -19,9 +19,9 @@ impl DeleteSkillAuthorizationFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl DeleteSkillAuthorizationFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::delete_skill_authorization::DeleteSkillAuthorization, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::delete_skill_authorization::DeleteSkillAuthorizationError, + >, + > { + self.customize_middleware().await + } ///

The unique identifier of a skill.

pub fn skill_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.skill_id(input.into()); diff --git a/sdk/alexaforbusiness/src/operation/delete_skill_group/builders.rs b/sdk/alexaforbusiness/src/operation/delete_skill_group/builders.rs index c29348da651e..3488413d774d 100644 --- a/sdk/alexaforbusiness/src/operation/delete_skill_group/builders.rs +++ b/sdk/alexaforbusiness/src/operation/delete_skill_group/builders.rs @@ -19,9 +19,9 @@ impl DeleteSkillGroupFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl DeleteSkillGroupFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::delete_skill_group::DeleteSkillGroup, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::delete_skill_group::DeleteSkillGroupError, + >, + > { + self.customize_middleware().await + } ///

The ARN of the skill group to delete. Required.

pub fn skill_group_arn( mut self, diff --git a/sdk/alexaforbusiness/src/operation/delete_user/builders.rs b/sdk/alexaforbusiness/src/operation/delete_user/builders.rs index 7aeb014917bf..93fc27ea8539 100644 --- a/sdk/alexaforbusiness/src/operation/delete_user/builders.rs +++ b/sdk/alexaforbusiness/src/operation/delete_user/builders.rs @@ -19,9 +19,9 @@ impl DeleteUserFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl DeleteUserFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::delete_user::DeleteUser, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

The ARN of the user to delete in the organization. Required.

pub fn user_arn(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.user_arn(input.into()); diff --git a/sdk/alexaforbusiness/src/operation/disassociate_contact_from_address_book/builders.rs b/sdk/alexaforbusiness/src/operation/disassociate_contact_from_address_book/builders.rs index d281a9e8262e..608e3a9b0bb5 100644 --- a/sdk/alexaforbusiness/src/operation/disassociate_contact_from_address_book/builders.rs +++ b/sdk/alexaforbusiness/src/operation/disassociate_contact_from_address_book/builders.rs @@ -19,9 +19,9 @@ impl DisassociateContactFromAddressBookFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize(self) -> ::std::result::Result< + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware(self) -> ::std::result::Result< crate::client::customize::CustomizableOperation, ::aws_smithy_http::result::SdkError >{ @@ -64,6 +64,15 @@ impl DisassociateContactFromAddressBookFluentBuilder { { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize(self) -> ::std::result::Result< + crate::client::customize::CustomizableOperation, + ::aws_smithy_http::result::SdkError + >{ + self.customize_middleware().await + } ///

The ARN of the contact to disassociate from an address book.

pub fn contact_arn(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.contact_arn(input.into()); diff --git a/sdk/alexaforbusiness/src/operation/disassociate_device_from_room/builders.rs b/sdk/alexaforbusiness/src/operation/disassociate_device_from_room/builders.rs index df8eee5e8cb2..841f70221d67 100644 --- a/sdk/alexaforbusiness/src/operation/disassociate_device_from_room/builders.rs +++ b/sdk/alexaforbusiness/src/operation/disassociate_device_from_room/builders.rs @@ -19,9 +19,9 @@ impl DisassociateDeviceFromRoomFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl DisassociateDeviceFromRoomFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::disassociate_device_from_room::DisassociateDeviceFromRoom, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::disassociate_device_from_room::DisassociateDeviceFromRoomError, + >, + > { + self.customize_middleware().await + } ///

The ARN of the device to disassociate from a room. Required.

pub fn device_arn(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.device_arn(input.into()); diff --git a/sdk/alexaforbusiness/src/operation/disassociate_skill_from_skill_group/builders.rs b/sdk/alexaforbusiness/src/operation/disassociate_skill_from_skill_group/builders.rs index 5a778f193b65..f5b58886938c 100644 --- a/sdk/alexaforbusiness/src/operation/disassociate_skill_from_skill_group/builders.rs +++ b/sdk/alexaforbusiness/src/operation/disassociate_skill_from_skill_group/builders.rs @@ -19,9 +19,9 @@ impl DisassociateSkillFromSkillGroupFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize(self) -> ::std::result::Result< + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware(self) -> ::std::result::Result< crate::client::customize::CustomizableOperation, ::aws_smithy_http::result::SdkError >{ @@ -64,6 +64,15 @@ impl DisassociateSkillFromSkillGroupFluentBuilder { { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize(self) -> ::std::result::Result< + crate::client::customize::CustomizableOperation, + ::aws_smithy_http::result::SdkError + >{ + self.customize_middleware().await + } ///

The unique identifier of a skill. Required.

pub fn skill_group_arn( mut self, diff --git a/sdk/alexaforbusiness/src/operation/disassociate_skill_from_users/builders.rs b/sdk/alexaforbusiness/src/operation/disassociate_skill_from_users/builders.rs index cb233b00f3bf..505b50adcf5a 100644 --- a/sdk/alexaforbusiness/src/operation/disassociate_skill_from_users/builders.rs +++ b/sdk/alexaforbusiness/src/operation/disassociate_skill_from_users/builders.rs @@ -19,9 +19,9 @@ impl DisassociateSkillFromUsersFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl DisassociateSkillFromUsersFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::disassociate_skill_from_users::DisassociateSkillFromUsers, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::disassociate_skill_from_users::DisassociateSkillFromUsersError, + >, + > { + self.customize_middleware().await + } ///

The private skill ID you want to make unavailable for enrolled users.

pub fn skill_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.skill_id(input.into()); diff --git a/sdk/alexaforbusiness/src/operation/disassociate_skill_group_from_room/builders.rs b/sdk/alexaforbusiness/src/operation/disassociate_skill_group_from_room/builders.rs index abf0c0cf2835..cdcde6595c20 100644 --- a/sdk/alexaforbusiness/src/operation/disassociate_skill_group_from_room/builders.rs +++ b/sdk/alexaforbusiness/src/operation/disassociate_skill_group_from_room/builders.rs @@ -19,9 +19,9 @@ impl DisassociateSkillGroupFromRoomFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize(self) -> ::std::result::Result< + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware(self) -> ::std::result::Result< crate::client::customize::CustomizableOperation, ::aws_smithy_http::result::SdkError >{ @@ -64,6 +64,15 @@ impl DisassociateSkillGroupFromRoomFluentBuilder { { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize(self) -> ::std::result::Result< + crate::client::customize::CustomizableOperation, + ::aws_smithy_http::result::SdkError + >{ + self.customize_middleware().await + } ///

The ARN of the skill group to disassociate from a room. Required.

pub fn skill_group_arn( mut self, diff --git a/sdk/alexaforbusiness/src/operation/forget_smart_home_appliances/builders.rs b/sdk/alexaforbusiness/src/operation/forget_smart_home_appliances/builders.rs index 3734ec17280c..0d707d149ed5 100644 --- a/sdk/alexaforbusiness/src/operation/forget_smart_home_appliances/builders.rs +++ b/sdk/alexaforbusiness/src/operation/forget_smart_home_appliances/builders.rs @@ -19,9 +19,9 @@ impl ForgetSmartHomeAppliancesFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl ForgetSmartHomeAppliancesFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::forget_smart_home_appliances::ForgetSmartHomeAppliances, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::forget_smart_home_appliances::ForgetSmartHomeAppliancesError, + >, + > { + self.customize_middleware().await + } ///

The room that the appliances are associated with.

pub fn room_arn(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.room_arn(input.into()); diff --git a/sdk/alexaforbusiness/src/operation/get_address_book/builders.rs b/sdk/alexaforbusiness/src/operation/get_address_book/builders.rs index ba525ce5ea21..7606271eba2e 100644 --- a/sdk/alexaforbusiness/src/operation/get_address_book/builders.rs +++ b/sdk/alexaforbusiness/src/operation/get_address_book/builders.rs @@ -19,9 +19,9 @@ impl GetAddressBookFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl GetAddressBookFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::get_address_book::GetAddressBook, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::get_address_book::GetAddressBookError, + >, + > { + self.customize_middleware().await + } ///

The ARN of the address book for which to request details.

pub fn address_book_arn( mut self, diff --git a/sdk/alexaforbusiness/src/operation/get_conference_preference/builders.rs b/sdk/alexaforbusiness/src/operation/get_conference_preference/builders.rs index a23105e44373..c458886832ef 100644 --- a/sdk/alexaforbusiness/src/operation/get_conference_preference/builders.rs +++ b/sdk/alexaforbusiness/src/operation/get_conference_preference/builders.rs @@ -20,9 +20,9 @@ impl GetConferencePreferenceFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -84,4 +84,20 @@ impl GetConferencePreferenceFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::get_conference_preference::GetConferencePreference, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::get_conference_preference::GetConferencePreferenceError, + >, + > { + self.customize_middleware().await + } } diff --git a/sdk/alexaforbusiness/src/operation/get_conference_provider/builders.rs b/sdk/alexaforbusiness/src/operation/get_conference_provider/builders.rs index 8dd8b460d46e..814a1cb84153 100644 --- a/sdk/alexaforbusiness/src/operation/get_conference_provider/builders.rs +++ b/sdk/alexaforbusiness/src/operation/get_conference_provider/builders.rs @@ -19,9 +19,9 @@ impl GetConferenceProviderFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl GetConferenceProviderFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::get_conference_provider::GetConferenceProvider, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::get_conference_provider::GetConferenceProviderError, + >, + > { + self.customize_middleware().await + } ///

The ARN of the newly created conference provider.

pub fn conference_provider_arn( mut self, diff --git a/sdk/alexaforbusiness/src/operation/get_contact/builders.rs b/sdk/alexaforbusiness/src/operation/get_contact/builders.rs index 7fb8deab7274..6875ddf8dfc8 100644 --- a/sdk/alexaforbusiness/src/operation/get_contact/builders.rs +++ b/sdk/alexaforbusiness/src/operation/get_contact/builders.rs @@ -19,9 +19,9 @@ impl GetContactFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl GetContactFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::get_contact::GetContact, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

The ARN of the contact for which to request details.

pub fn contact_arn(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.contact_arn(input.into()); diff --git a/sdk/alexaforbusiness/src/operation/get_device/builders.rs b/sdk/alexaforbusiness/src/operation/get_device/builders.rs index f43f3e9e317b..8ba3abdc2c6a 100644 --- a/sdk/alexaforbusiness/src/operation/get_device/builders.rs +++ b/sdk/alexaforbusiness/src/operation/get_device/builders.rs @@ -19,9 +19,9 @@ impl GetDeviceFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl GetDeviceFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::get_device::GetDevice, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

The ARN of the device for which to request details. Required.

pub fn device_arn(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.device_arn(input.into()); diff --git a/sdk/alexaforbusiness/src/operation/get_gateway/builders.rs b/sdk/alexaforbusiness/src/operation/get_gateway/builders.rs index 7259f7585fd5..a3bdf10ff1f9 100644 --- a/sdk/alexaforbusiness/src/operation/get_gateway/builders.rs +++ b/sdk/alexaforbusiness/src/operation/get_gateway/builders.rs @@ -19,9 +19,9 @@ impl GetGatewayFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl GetGatewayFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::get_gateway::GetGateway, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

The ARN of the gateway to get.

pub fn gateway_arn(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.gateway_arn(input.into()); diff --git a/sdk/alexaforbusiness/src/operation/get_gateway_group/builders.rs b/sdk/alexaforbusiness/src/operation/get_gateway_group/builders.rs index b9a806f577bb..1286e278de79 100644 --- a/sdk/alexaforbusiness/src/operation/get_gateway_group/builders.rs +++ b/sdk/alexaforbusiness/src/operation/get_gateway_group/builders.rs @@ -19,9 +19,9 @@ impl GetGatewayGroupFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl GetGatewayGroupFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::get_gateway_group::GetGatewayGroup, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::get_gateway_group::GetGatewayGroupError, + >, + > { + self.customize_middleware().await + } ///

The ARN of the gateway group to get.

pub fn gateway_group_arn( mut self, diff --git a/sdk/alexaforbusiness/src/operation/get_invitation_configuration/builders.rs b/sdk/alexaforbusiness/src/operation/get_invitation_configuration/builders.rs index 3061abb09ab8..0e10594d4672 100644 --- a/sdk/alexaforbusiness/src/operation/get_invitation_configuration/builders.rs +++ b/sdk/alexaforbusiness/src/operation/get_invitation_configuration/builders.rs @@ -19,9 +19,9 @@ impl GetInvitationConfigurationFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,4 +83,20 @@ impl GetInvitationConfigurationFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::get_invitation_configuration::GetInvitationConfiguration, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::get_invitation_configuration::GetInvitationConfigurationError, + >, + > { + self.customize_middleware().await + } } diff --git a/sdk/alexaforbusiness/src/operation/get_network_profile/builders.rs b/sdk/alexaforbusiness/src/operation/get_network_profile/builders.rs index 4c869553dc49..3f515ee934f9 100644 --- a/sdk/alexaforbusiness/src/operation/get_network_profile/builders.rs +++ b/sdk/alexaforbusiness/src/operation/get_network_profile/builders.rs @@ -19,9 +19,9 @@ impl GetNetworkProfileFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl GetNetworkProfileFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::get_network_profile::GetNetworkProfile, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::get_network_profile::GetNetworkProfileError, + >, + > { + self.customize_middleware().await + } ///

The ARN of the network profile associated with a device.

pub fn network_profile_arn( mut self, diff --git a/sdk/alexaforbusiness/src/operation/get_profile/builders.rs b/sdk/alexaforbusiness/src/operation/get_profile/builders.rs index 84ca3120297d..9d12dc1c01bb 100644 --- a/sdk/alexaforbusiness/src/operation/get_profile/builders.rs +++ b/sdk/alexaforbusiness/src/operation/get_profile/builders.rs @@ -19,9 +19,9 @@ impl GetProfileFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl GetProfileFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::get_profile::GetProfile, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

The ARN of the room profile for which to request details. Required.

pub fn profile_arn(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.profile_arn(input.into()); diff --git a/sdk/alexaforbusiness/src/operation/get_room/builders.rs b/sdk/alexaforbusiness/src/operation/get_room/builders.rs index 2cdb506f10e9..7ddd691c2337 100644 --- a/sdk/alexaforbusiness/src/operation/get_room/builders.rs +++ b/sdk/alexaforbusiness/src/operation/get_room/builders.rs @@ -19,9 +19,9 @@ impl GetRoomFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl GetRoomFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::get_room::GetRoom, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

The ARN of the room for which to request details. Required.

pub fn room_arn(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.room_arn(input.into()); diff --git a/sdk/alexaforbusiness/src/operation/get_room_skill_parameter/builders.rs b/sdk/alexaforbusiness/src/operation/get_room_skill_parameter/builders.rs index 20d03b052395..0123590bbf66 100644 --- a/sdk/alexaforbusiness/src/operation/get_room_skill_parameter/builders.rs +++ b/sdk/alexaforbusiness/src/operation/get_room_skill_parameter/builders.rs @@ -19,9 +19,9 @@ impl GetRoomSkillParameterFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl GetRoomSkillParameterFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::get_room_skill_parameter::GetRoomSkillParameter, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::get_room_skill_parameter::GetRoomSkillParameterError, + >, + > { + self.customize_middleware().await + } ///

The ARN of the room from which to get the room skill parameter details.

pub fn room_arn(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.room_arn(input.into()); diff --git a/sdk/alexaforbusiness/src/operation/get_skill_group/builders.rs b/sdk/alexaforbusiness/src/operation/get_skill_group/builders.rs index 5213cbfe3e5a..402b4543832b 100644 --- a/sdk/alexaforbusiness/src/operation/get_skill_group/builders.rs +++ b/sdk/alexaforbusiness/src/operation/get_skill_group/builders.rs @@ -19,9 +19,9 @@ impl GetSkillGroupFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl GetSkillGroupFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::get_skill_group::GetSkillGroup, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

The ARN of the skill group for which to get details. Required.

pub fn skill_group_arn( mut self, diff --git a/sdk/alexaforbusiness/src/operation/list_business_report_schedules/builders.rs b/sdk/alexaforbusiness/src/operation/list_business_report_schedules/builders.rs index 064d76748229..893453689f3f 100644 --- a/sdk/alexaforbusiness/src/operation/list_business_report_schedules/builders.rs +++ b/sdk/alexaforbusiness/src/operation/list_business_report_schedules/builders.rs @@ -19,9 +19,9 @@ impl ListBusinessReportSchedulesFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl ListBusinessReportSchedulesFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_business_report_schedules::ListBusinessReportSchedules, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::list_business_report_schedules::ListBusinessReportSchedulesError, + >, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::list_business_report_schedules::paginator::ListBusinessReportSchedulesPaginator::send) which returns a `Stream`. diff --git a/sdk/alexaforbusiness/src/operation/list_conference_providers/builders.rs b/sdk/alexaforbusiness/src/operation/list_conference_providers/builders.rs index 8f39464e327a..89e055a8b286 100644 --- a/sdk/alexaforbusiness/src/operation/list_conference_providers/builders.rs +++ b/sdk/alexaforbusiness/src/operation/list_conference_providers/builders.rs @@ -20,9 +20,9 @@ impl ListConferenceProvidersFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -84,6 +84,22 @@ impl ListConferenceProvidersFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_conference_providers::ListConferenceProviders, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::list_conference_providers::ListConferenceProvidersError, + >, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::list_conference_providers::paginator::ListConferenceProvidersPaginator::send) which returns a `Stream`. diff --git a/sdk/alexaforbusiness/src/operation/list_device_events/builders.rs b/sdk/alexaforbusiness/src/operation/list_device_events/builders.rs index d802673c6ad0..d1b587b6e2dd 100644 --- a/sdk/alexaforbusiness/src/operation/list_device_events/builders.rs +++ b/sdk/alexaforbusiness/src/operation/list_device_events/builders.rs @@ -19,9 +19,9 @@ impl ListDeviceEventsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl ListDeviceEventsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_device_events::ListDeviceEvents, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::list_device_events::ListDeviceEventsError, + >, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::list_device_events::paginator::ListDeviceEventsPaginator::send) which returns a `Stream`. diff --git a/sdk/alexaforbusiness/src/operation/list_gateway_groups/builders.rs b/sdk/alexaforbusiness/src/operation/list_gateway_groups/builders.rs index b33ad93219a7..f088cc100b64 100644 --- a/sdk/alexaforbusiness/src/operation/list_gateway_groups/builders.rs +++ b/sdk/alexaforbusiness/src/operation/list_gateway_groups/builders.rs @@ -19,9 +19,9 @@ impl ListGatewayGroupsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl ListGatewayGroupsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_gateway_groups::ListGatewayGroups, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::list_gateway_groups::ListGatewayGroupsError, + >, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::list_gateway_groups::paginator::ListGatewayGroupsPaginator::send) which returns a `Stream`. diff --git a/sdk/alexaforbusiness/src/operation/list_gateways/builders.rs b/sdk/alexaforbusiness/src/operation/list_gateways/builders.rs index f8fc95461f9f..ede2c37f4bc1 100644 --- a/sdk/alexaforbusiness/src/operation/list_gateways/builders.rs +++ b/sdk/alexaforbusiness/src/operation/list_gateways/builders.rs @@ -19,9 +19,9 @@ impl ListGatewaysFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl ListGatewaysFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_gateways::ListGateways, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::list_gateways::paginator::ListGatewaysPaginator::send) which returns a `Stream`. diff --git a/sdk/alexaforbusiness/src/operation/list_skills/builders.rs b/sdk/alexaforbusiness/src/operation/list_skills/builders.rs index 12d15c6cb6d1..5f20312d703b 100644 --- a/sdk/alexaforbusiness/src/operation/list_skills/builders.rs +++ b/sdk/alexaforbusiness/src/operation/list_skills/builders.rs @@ -19,9 +19,9 @@ impl ListSkillsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl ListSkillsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_skills::ListSkills, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::list_skills::paginator::ListSkillsPaginator::send) which returns a `Stream`. diff --git a/sdk/alexaforbusiness/src/operation/list_skills_store_categories/builders.rs b/sdk/alexaforbusiness/src/operation/list_skills_store_categories/builders.rs index 3c44f097f841..b3a4efde4415 100644 --- a/sdk/alexaforbusiness/src/operation/list_skills_store_categories/builders.rs +++ b/sdk/alexaforbusiness/src/operation/list_skills_store_categories/builders.rs @@ -19,9 +19,9 @@ impl ListSkillsStoreCategoriesFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl ListSkillsStoreCategoriesFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_skills_store_categories::ListSkillsStoreCategories, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::list_skills_store_categories::ListSkillsStoreCategoriesError, + >, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::list_skills_store_categories::paginator::ListSkillsStoreCategoriesPaginator::send) which returns a `Stream`. diff --git a/sdk/alexaforbusiness/src/operation/list_skills_store_skills_by_category/builders.rs b/sdk/alexaforbusiness/src/operation/list_skills_store_skills_by_category/builders.rs index c58c29708128..0573196e4b8c 100644 --- a/sdk/alexaforbusiness/src/operation/list_skills_store_skills_by_category/builders.rs +++ b/sdk/alexaforbusiness/src/operation/list_skills_store_skills_by_category/builders.rs @@ -19,9 +19,9 @@ impl ListSkillsStoreSkillsByCategoryFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize(self) -> ::std::result::Result< + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware(self) -> ::std::result::Result< crate::client::customize::CustomizableOperation, ::aws_smithy_http::result::SdkError >{ @@ -64,6 +64,15 @@ impl ListSkillsStoreSkillsByCategoryFluentBuilder { { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize(self) -> ::std::result::Result< + crate::client::customize::CustomizableOperation, + ::aws_smithy_http::result::SdkError + >{ + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::list_skills_store_skills_by_category::paginator::ListSkillsStoreSkillsByCategoryPaginator::send) which returns a `Stream`. diff --git a/sdk/alexaforbusiness/src/operation/list_smart_home_appliances/builders.rs b/sdk/alexaforbusiness/src/operation/list_smart_home_appliances/builders.rs index e0b5091094bb..86af43761387 100644 --- a/sdk/alexaforbusiness/src/operation/list_smart_home_appliances/builders.rs +++ b/sdk/alexaforbusiness/src/operation/list_smart_home_appliances/builders.rs @@ -20,9 +20,9 @@ impl ListSmartHomeAppliancesFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -84,6 +84,22 @@ impl ListSmartHomeAppliancesFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_smart_home_appliances::ListSmartHomeAppliances, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::list_smart_home_appliances::ListSmartHomeAppliancesError, + >, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::list_smart_home_appliances::paginator::ListSmartHomeAppliancesPaginator::send) which returns a `Stream`. diff --git a/sdk/alexaforbusiness/src/operation/list_tags/builders.rs b/sdk/alexaforbusiness/src/operation/list_tags/builders.rs index b91e24ff0b04..d3c84d52bc86 100644 --- a/sdk/alexaforbusiness/src/operation/list_tags/builders.rs +++ b/sdk/alexaforbusiness/src/operation/list_tags/builders.rs @@ -19,9 +19,9 @@ impl ListTagsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl ListTagsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_tags::ListTags, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::list_tags::paginator::ListTagsPaginator::send) which returns a `Stream`. diff --git a/sdk/alexaforbusiness/src/operation/put_conference_preference/builders.rs b/sdk/alexaforbusiness/src/operation/put_conference_preference/builders.rs index d8aa06e36cd1..fabc62d3a0ee 100644 --- a/sdk/alexaforbusiness/src/operation/put_conference_preference/builders.rs +++ b/sdk/alexaforbusiness/src/operation/put_conference_preference/builders.rs @@ -20,9 +20,9 @@ impl PutConferencePreferenceFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -84,6 +84,22 @@ impl PutConferencePreferenceFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::put_conference_preference::PutConferencePreference, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::put_conference_preference::PutConferencePreferenceError, + >, + > { + self.customize_middleware().await + } ///

The conference preference of a specific conference provider.

pub fn conference_preference(mut self, input: crate::types::ConferencePreference) -> Self { self.inner = self.inner.conference_preference(input); diff --git a/sdk/alexaforbusiness/src/operation/put_invitation_configuration/builders.rs b/sdk/alexaforbusiness/src/operation/put_invitation_configuration/builders.rs index afeb90ca5d4a..888663fb8e20 100644 --- a/sdk/alexaforbusiness/src/operation/put_invitation_configuration/builders.rs +++ b/sdk/alexaforbusiness/src/operation/put_invitation_configuration/builders.rs @@ -19,9 +19,9 @@ impl PutInvitationConfigurationFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl PutInvitationConfigurationFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::put_invitation_configuration::PutInvitationConfiguration, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::put_invitation_configuration::PutInvitationConfigurationError, + >, + > { + self.customize_middleware().await + } ///

The name of the organization sending the enrollment invite to a user.

pub fn organization_name( mut self, diff --git a/sdk/alexaforbusiness/src/operation/put_room_skill_parameter/builders.rs b/sdk/alexaforbusiness/src/operation/put_room_skill_parameter/builders.rs index 6626ac6c4cd4..e53bfd70c6a7 100644 --- a/sdk/alexaforbusiness/src/operation/put_room_skill_parameter/builders.rs +++ b/sdk/alexaforbusiness/src/operation/put_room_skill_parameter/builders.rs @@ -19,9 +19,9 @@ impl PutRoomSkillParameterFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl PutRoomSkillParameterFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::put_room_skill_parameter::PutRoomSkillParameter, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::put_room_skill_parameter::PutRoomSkillParameterError, + >, + > { + self.customize_middleware().await + } ///

The ARN of the room associated with the room skill parameter. Required.

pub fn room_arn(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.room_arn(input.into()); diff --git a/sdk/alexaforbusiness/src/operation/put_skill_authorization/builders.rs b/sdk/alexaforbusiness/src/operation/put_skill_authorization/builders.rs index 311caecba1ea..ed3044276b99 100644 --- a/sdk/alexaforbusiness/src/operation/put_skill_authorization/builders.rs +++ b/sdk/alexaforbusiness/src/operation/put_skill_authorization/builders.rs @@ -19,9 +19,9 @@ impl PutSkillAuthorizationFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl PutSkillAuthorizationFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::put_skill_authorization::PutSkillAuthorization, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::put_skill_authorization::PutSkillAuthorizationError, + >, + > { + self.customize_middleware().await + } /// Adds a key-value pair to `AuthorizationResult`. /// /// To override the contents of this collection use [`set_authorization_result`](Self::set_authorization_result). diff --git a/sdk/alexaforbusiness/src/operation/register_avs_device/builders.rs b/sdk/alexaforbusiness/src/operation/register_avs_device/builders.rs index cdc739c0f33a..86a85e373769 100644 --- a/sdk/alexaforbusiness/src/operation/register_avs_device/builders.rs +++ b/sdk/alexaforbusiness/src/operation/register_avs_device/builders.rs @@ -19,9 +19,9 @@ impl RegisterAVSDeviceFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl RegisterAVSDeviceFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::register_avs_device::RegisterAVSDevice, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::register_avs_device::RegisterAVSDeviceError, + >, + > { + self.customize_middleware().await + } ///

The client ID of the OEM used for code-based linking authorization on an AVS device.

pub fn client_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.client_id(input.into()); diff --git a/sdk/alexaforbusiness/src/operation/reject_skill/builders.rs b/sdk/alexaforbusiness/src/operation/reject_skill/builders.rs index 5326b1eadd54..efb8cc7e7d7d 100644 --- a/sdk/alexaforbusiness/src/operation/reject_skill/builders.rs +++ b/sdk/alexaforbusiness/src/operation/reject_skill/builders.rs @@ -19,9 +19,9 @@ impl RejectSkillFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl RejectSkillFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::reject_skill::RejectSkill, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

The unique identifier of the skill.

pub fn skill_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.skill_id(input.into()); diff --git a/sdk/alexaforbusiness/src/operation/resolve_room/builders.rs b/sdk/alexaforbusiness/src/operation/resolve_room/builders.rs index 59e1c206e60e..5e1606287bf8 100644 --- a/sdk/alexaforbusiness/src/operation/resolve_room/builders.rs +++ b/sdk/alexaforbusiness/src/operation/resolve_room/builders.rs @@ -20,9 +20,9 @@ impl ResolveRoomFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -78,6 +78,20 @@ impl ResolveRoomFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::resolve_room::ResolveRoom, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

The ARN of the user. Required.

pub fn user_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.user_id(input.into()); diff --git a/sdk/alexaforbusiness/src/operation/revoke_invitation/builders.rs b/sdk/alexaforbusiness/src/operation/revoke_invitation/builders.rs index 7e1a405d8526..f119585e2351 100644 --- a/sdk/alexaforbusiness/src/operation/revoke_invitation/builders.rs +++ b/sdk/alexaforbusiness/src/operation/revoke_invitation/builders.rs @@ -19,9 +19,9 @@ impl RevokeInvitationFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl RevokeInvitationFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::revoke_invitation::RevokeInvitation, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::revoke_invitation::RevokeInvitationError, + >, + > { + self.customize_middleware().await + } ///

The ARN of the user for whom to revoke an enrollment invitation. Required.

pub fn user_arn(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.user_arn(input.into()); diff --git a/sdk/alexaforbusiness/src/operation/search_address_books/builders.rs b/sdk/alexaforbusiness/src/operation/search_address_books/builders.rs index 6147e70d1d28..777cbcfaba3d 100644 --- a/sdk/alexaforbusiness/src/operation/search_address_books/builders.rs +++ b/sdk/alexaforbusiness/src/operation/search_address_books/builders.rs @@ -19,9 +19,9 @@ impl SearchAddressBooksFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl SearchAddressBooksFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::search_address_books::SearchAddressBooks, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::search_address_books::SearchAddressBooksError, + >, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::search_address_books::paginator::SearchAddressBooksPaginator::send) which returns a `Stream`. diff --git a/sdk/alexaforbusiness/src/operation/search_contacts/builders.rs b/sdk/alexaforbusiness/src/operation/search_contacts/builders.rs index f0a2834d473a..f7892d310712 100644 --- a/sdk/alexaforbusiness/src/operation/search_contacts/builders.rs +++ b/sdk/alexaforbusiness/src/operation/search_contacts/builders.rs @@ -19,9 +19,9 @@ impl SearchContactsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl SearchContactsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::search_contacts::SearchContacts, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::search_contacts::paginator::SearchContactsPaginator::send) which returns a `Stream`. diff --git a/sdk/alexaforbusiness/src/operation/search_devices/builders.rs b/sdk/alexaforbusiness/src/operation/search_devices/builders.rs index 9d66cde8990f..2cf6a475adee 100644 --- a/sdk/alexaforbusiness/src/operation/search_devices/builders.rs +++ b/sdk/alexaforbusiness/src/operation/search_devices/builders.rs @@ -19,9 +19,9 @@ impl SearchDevicesFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl SearchDevicesFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::search_devices::SearchDevices, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::search_devices::paginator::SearchDevicesPaginator::send) which returns a `Stream`. diff --git a/sdk/alexaforbusiness/src/operation/search_network_profiles/builders.rs b/sdk/alexaforbusiness/src/operation/search_network_profiles/builders.rs index ab850a57b463..5498c9a5c133 100644 --- a/sdk/alexaforbusiness/src/operation/search_network_profiles/builders.rs +++ b/sdk/alexaforbusiness/src/operation/search_network_profiles/builders.rs @@ -19,9 +19,9 @@ impl SearchNetworkProfilesFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl SearchNetworkProfilesFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::search_network_profiles::SearchNetworkProfiles, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::search_network_profiles::SearchNetworkProfilesError, + >, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::search_network_profiles::paginator::SearchNetworkProfilesPaginator::send) which returns a `Stream`. diff --git a/sdk/alexaforbusiness/src/operation/search_profiles/builders.rs b/sdk/alexaforbusiness/src/operation/search_profiles/builders.rs index a8f9cd5cad7d..8b89781a4604 100644 --- a/sdk/alexaforbusiness/src/operation/search_profiles/builders.rs +++ b/sdk/alexaforbusiness/src/operation/search_profiles/builders.rs @@ -19,9 +19,9 @@ impl SearchProfilesFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl SearchProfilesFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::search_profiles::SearchProfiles, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::search_profiles::paginator::SearchProfilesPaginator::send) which returns a `Stream`. diff --git a/sdk/alexaforbusiness/src/operation/search_rooms/builders.rs b/sdk/alexaforbusiness/src/operation/search_rooms/builders.rs index 6be377ca65c2..52d0426551bb 100644 --- a/sdk/alexaforbusiness/src/operation/search_rooms/builders.rs +++ b/sdk/alexaforbusiness/src/operation/search_rooms/builders.rs @@ -19,9 +19,9 @@ impl SearchRoomsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl SearchRoomsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::search_rooms::SearchRooms, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::search_rooms::paginator::SearchRoomsPaginator::send) which returns a `Stream`. diff --git a/sdk/alexaforbusiness/src/operation/search_skill_groups/builders.rs b/sdk/alexaforbusiness/src/operation/search_skill_groups/builders.rs index a9ddfe08ce25..39e7f87fdee6 100644 --- a/sdk/alexaforbusiness/src/operation/search_skill_groups/builders.rs +++ b/sdk/alexaforbusiness/src/operation/search_skill_groups/builders.rs @@ -19,9 +19,9 @@ impl SearchSkillGroupsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl SearchSkillGroupsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::search_skill_groups::SearchSkillGroups, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::search_skill_groups::SearchSkillGroupsError, + >, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::search_skill_groups::paginator::SearchSkillGroupsPaginator::send) which returns a `Stream`. diff --git a/sdk/alexaforbusiness/src/operation/search_users/builders.rs b/sdk/alexaforbusiness/src/operation/search_users/builders.rs index a13b798cee0b..6546c1ad936c 100644 --- a/sdk/alexaforbusiness/src/operation/search_users/builders.rs +++ b/sdk/alexaforbusiness/src/operation/search_users/builders.rs @@ -19,9 +19,9 @@ impl SearchUsersFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl SearchUsersFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::search_users::SearchUsers, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::search_users::paginator::SearchUsersPaginator::send) which returns a `Stream`. diff --git a/sdk/alexaforbusiness/src/operation/send_announcement/builders.rs b/sdk/alexaforbusiness/src/operation/send_announcement/builders.rs index ca6a242a62d7..69493712ebf6 100644 --- a/sdk/alexaforbusiness/src/operation/send_announcement/builders.rs +++ b/sdk/alexaforbusiness/src/operation/send_announcement/builders.rs @@ -19,9 +19,9 @@ impl SendAnnouncementFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl SendAnnouncementFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::send_announcement::SendAnnouncement, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::send_announcement::SendAnnouncementError, + >, + > { + self.customize_middleware().await + } /// Appends an item to `RoomFilters`. /// /// To override the contents of this collection use [`set_room_filters`](Self::set_room_filters). diff --git a/sdk/alexaforbusiness/src/operation/send_invitation/builders.rs b/sdk/alexaforbusiness/src/operation/send_invitation/builders.rs index bf0b3d71a2a1..7e66a0dba146 100644 --- a/sdk/alexaforbusiness/src/operation/send_invitation/builders.rs +++ b/sdk/alexaforbusiness/src/operation/send_invitation/builders.rs @@ -19,9 +19,9 @@ impl SendInvitationFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl SendInvitationFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::send_invitation::SendInvitation, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

The ARN of the user to whom to send an invitation. Required.

pub fn user_arn(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.user_arn(input.into()); diff --git a/sdk/alexaforbusiness/src/operation/start_device_sync/builders.rs b/sdk/alexaforbusiness/src/operation/start_device_sync/builders.rs index 1ae5ad6a6427..ae805ee02341 100644 --- a/sdk/alexaforbusiness/src/operation/start_device_sync/builders.rs +++ b/sdk/alexaforbusiness/src/operation/start_device_sync/builders.rs @@ -26,9 +26,9 @@ impl StartDeviceSyncFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -90,6 +90,22 @@ impl StartDeviceSyncFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::start_device_sync::StartDeviceSync, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::start_device_sync::StartDeviceSyncError, + >, + > { + self.customize_middleware().await + } ///

The ARN of the room with which the device to sync is associated. Required.

pub fn room_arn(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.room_arn(input.into()); diff --git a/sdk/alexaforbusiness/src/operation/start_smart_home_appliance_discovery/builders.rs b/sdk/alexaforbusiness/src/operation/start_smart_home_appliance_discovery/builders.rs index f9a202b074bc..decbf70e4005 100644 --- a/sdk/alexaforbusiness/src/operation/start_smart_home_appliance_discovery/builders.rs +++ b/sdk/alexaforbusiness/src/operation/start_smart_home_appliance_discovery/builders.rs @@ -19,9 +19,9 @@ impl StartSmartHomeApplianceDiscoveryFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize(self) -> ::std::result::Result< + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware(self) -> ::std::result::Result< crate::client::customize::CustomizableOperation, ::aws_smithy_http::result::SdkError >{ @@ -64,6 +64,15 @@ impl StartSmartHomeApplianceDiscoveryFluentBuilder { { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize(self) -> ::std::result::Result< + crate::client::customize::CustomizableOperation, + ::aws_smithy_http::result::SdkError + >{ + self.customize_middleware().await + } ///

The room where smart home appliance discovery was initiated.

pub fn room_arn(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.room_arn(input.into()); diff --git a/sdk/alexaforbusiness/src/operation/tag_resource/builders.rs b/sdk/alexaforbusiness/src/operation/tag_resource/builders.rs index 2ad69022fc87..a7b9c081a329 100644 --- a/sdk/alexaforbusiness/src/operation/tag_resource/builders.rs +++ b/sdk/alexaforbusiness/src/operation/tag_resource/builders.rs @@ -19,9 +19,9 @@ impl TagResourceFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl TagResourceFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::tag_resource::TagResource, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

The ARN of the resource to which to add metadata tags. Required.

pub fn arn(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.arn(input.into()); diff --git a/sdk/alexaforbusiness/src/operation/untag_resource/builders.rs b/sdk/alexaforbusiness/src/operation/untag_resource/builders.rs index c617c3a65c04..fa49cc87cb48 100644 --- a/sdk/alexaforbusiness/src/operation/untag_resource/builders.rs +++ b/sdk/alexaforbusiness/src/operation/untag_resource/builders.rs @@ -19,9 +19,9 @@ impl UntagResourceFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl UntagResourceFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::untag_resource::UntagResource, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

The ARN of the resource from which to remove metadata tags. Required.

pub fn arn(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.arn(input.into()); diff --git a/sdk/alexaforbusiness/src/operation/update_address_book/builders.rs b/sdk/alexaforbusiness/src/operation/update_address_book/builders.rs index 36bab3d7c5b3..925965be585f 100644 --- a/sdk/alexaforbusiness/src/operation/update_address_book/builders.rs +++ b/sdk/alexaforbusiness/src/operation/update_address_book/builders.rs @@ -19,9 +19,9 @@ impl UpdateAddressBookFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl UpdateAddressBookFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::update_address_book::UpdateAddressBook, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::update_address_book::UpdateAddressBookError, + >, + > { + self.customize_middleware().await + } ///

The ARN of the room to update.

pub fn address_book_arn( mut self, diff --git a/sdk/alexaforbusiness/src/operation/update_business_report_schedule/builders.rs b/sdk/alexaforbusiness/src/operation/update_business_report_schedule/builders.rs index d112cb068829..51f817f25b54 100644 --- a/sdk/alexaforbusiness/src/operation/update_business_report_schedule/builders.rs +++ b/sdk/alexaforbusiness/src/operation/update_business_report_schedule/builders.rs @@ -19,9 +19,9 @@ impl UpdateBusinessReportScheduleFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl UpdateBusinessReportScheduleFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::update_business_report_schedule::UpdateBusinessReportSchedule, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::update_business_report_schedule::UpdateBusinessReportScheduleError, + >, + > { + self.customize_middleware().await + } ///

The ARN of the business report schedule.

pub fn schedule_arn(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.schedule_arn(input.into()); diff --git a/sdk/alexaforbusiness/src/operation/update_conference_provider/builders.rs b/sdk/alexaforbusiness/src/operation/update_conference_provider/builders.rs index d3291a24a69f..c912bebecaf3 100644 --- a/sdk/alexaforbusiness/src/operation/update_conference_provider/builders.rs +++ b/sdk/alexaforbusiness/src/operation/update_conference_provider/builders.rs @@ -19,9 +19,9 @@ impl UpdateConferenceProviderFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl UpdateConferenceProviderFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::update_conference_provider::UpdateConferenceProvider, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::update_conference_provider::UpdateConferenceProviderError, + >, + > { + self.customize_middleware().await + } ///

The ARN of the conference provider.

pub fn conference_provider_arn( mut self, diff --git a/sdk/alexaforbusiness/src/operation/update_contact/builders.rs b/sdk/alexaforbusiness/src/operation/update_contact/builders.rs index e25819c1926b..3cbe29d16b21 100644 --- a/sdk/alexaforbusiness/src/operation/update_contact/builders.rs +++ b/sdk/alexaforbusiness/src/operation/update_contact/builders.rs @@ -19,9 +19,9 @@ impl UpdateContactFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl UpdateContactFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::update_contact::UpdateContact, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

The ARN of the contact to update.

pub fn contact_arn(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.contact_arn(input.into()); diff --git a/sdk/alexaforbusiness/src/operation/update_device/builders.rs b/sdk/alexaforbusiness/src/operation/update_device/builders.rs index 2c86d0004f4e..b90a82f330df 100644 --- a/sdk/alexaforbusiness/src/operation/update_device/builders.rs +++ b/sdk/alexaforbusiness/src/operation/update_device/builders.rs @@ -19,9 +19,9 @@ impl UpdateDeviceFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl UpdateDeviceFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::update_device::UpdateDevice, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

The ARN of the device to update. Required.

pub fn device_arn(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.device_arn(input.into()); diff --git a/sdk/alexaforbusiness/src/operation/update_gateway/builders.rs b/sdk/alexaforbusiness/src/operation/update_gateway/builders.rs index 87c7af715012..c9a5efd17fd9 100644 --- a/sdk/alexaforbusiness/src/operation/update_gateway/builders.rs +++ b/sdk/alexaforbusiness/src/operation/update_gateway/builders.rs @@ -19,9 +19,9 @@ impl UpdateGatewayFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl UpdateGatewayFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::update_gateway::UpdateGateway, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

The ARN of the gateway to update.

pub fn gateway_arn(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.gateway_arn(input.into()); diff --git a/sdk/alexaforbusiness/src/operation/update_gateway_group/builders.rs b/sdk/alexaforbusiness/src/operation/update_gateway_group/builders.rs index 9fd8fa405551..f45381f388cc 100644 --- a/sdk/alexaforbusiness/src/operation/update_gateway_group/builders.rs +++ b/sdk/alexaforbusiness/src/operation/update_gateway_group/builders.rs @@ -19,9 +19,9 @@ impl UpdateGatewayGroupFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl UpdateGatewayGroupFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::update_gateway_group::UpdateGatewayGroup, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::update_gateway_group::UpdateGatewayGroupError, + >, + > { + self.customize_middleware().await + } ///

The ARN of the gateway group to update.

pub fn gateway_group_arn( mut self, diff --git a/sdk/alexaforbusiness/src/operation/update_network_profile/builders.rs b/sdk/alexaforbusiness/src/operation/update_network_profile/builders.rs index 915dde040793..c1598ce6b792 100644 --- a/sdk/alexaforbusiness/src/operation/update_network_profile/builders.rs +++ b/sdk/alexaforbusiness/src/operation/update_network_profile/builders.rs @@ -19,9 +19,9 @@ impl UpdateNetworkProfileFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl UpdateNetworkProfileFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::update_network_profile::UpdateNetworkProfile, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::update_network_profile::UpdateNetworkProfileError, + >, + > { + self.customize_middleware().await + } ///

The ARN of the network profile associated with a device.

pub fn network_profile_arn( mut self, diff --git a/sdk/alexaforbusiness/src/operation/update_profile/builders.rs b/sdk/alexaforbusiness/src/operation/update_profile/builders.rs index 0831be380933..f9feff0e47d1 100644 --- a/sdk/alexaforbusiness/src/operation/update_profile/builders.rs +++ b/sdk/alexaforbusiness/src/operation/update_profile/builders.rs @@ -19,9 +19,9 @@ impl UpdateProfileFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl UpdateProfileFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::update_profile::UpdateProfile, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

The ARN of the room profile to update. Required.

pub fn profile_arn(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.profile_arn(input.into()); diff --git a/sdk/alexaforbusiness/src/operation/update_room/builders.rs b/sdk/alexaforbusiness/src/operation/update_room/builders.rs index fb7241b5a173..0795bdf9b116 100644 --- a/sdk/alexaforbusiness/src/operation/update_room/builders.rs +++ b/sdk/alexaforbusiness/src/operation/update_room/builders.rs @@ -19,9 +19,9 @@ impl UpdateRoomFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl UpdateRoomFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::update_room::UpdateRoom, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

The ARN of the room to update.

pub fn room_arn(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.room_arn(input.into()); diff --git a/sdk/alexaforbusiness/src/operation/update_skill_group/builders.rs b/sdk/alexaforbusiness/src/operation/update_skill_group/builders.rs index f9d54b9e8310..b915b2192ebf 100644 --- a/sdk/alexaforbusiness/src/operation/update_skill_group/builders.rs +++ b/sdk/alexaforbusiness/src/operation/update_skill_group/builders.rs @@ -19,9 +19,9 @@ impl UpdateSkillGroupFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl UpdateSkillGroupFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::update_skill_group::UpdateSkillGroup, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::update_skill_group::UpdateSkillGroupError, + >, + > { + self.customize_middleware().await + } ///

The ARN of the skill group to update.

pub fn skill_group_arn( mut self, diff --git a/sdk/amp/src/operation/create_alert_manager_definition/builders.rs b/sdk/amp/src/operation/create_alert_manager_definition/builders.rs index 8dd229bddef8..87dd6a7bd9d3 100644 --- a/sdk/amp/src/operation/create_alert_manager_definition/builders.rs +++ b/sdk/amp/src/operation/create_alert_manager_definition/builders.rs @@ -19,9 +19,9 @@ impl CreateAlertManagerDefinitionFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl CreateAlertManagerDefinitionFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::create_alert_manager_definition::CreateAlertManagerDefinition, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::create_alert_manager_definition::CreateAlertManagerDefinitionError, + >, + > { + self.customize_middleware().await + } /// The ID of the workspace in which to create the alert manager definition. pub fn workspace_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.workspace_id(input.into()); diff --git a/sdk/amp/src/operation/create_logging_configuration/builders.rs b/sdk/amp/src/operation/create_logging_configuration/builders.rs index 645c5d17ed42..ea91ca62d36b 100644 --- a/sdk/amp/src/operation/create_logging_configuration/builders.rs +++ b/sdk/amp/src/operation/create_logging_configuration/builders.rs @@ -19,9 +19,9 @@ impl CreateLoggingConfigurationFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl CreateLoggingConfigurationFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::create_logging_configuration::CreateLoggingConfiguration, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::create_logging_configuration::CreateLoggingConfigurationError, + >, + > { + self.customize_middleware().await + } /// The ID of the workspace to vend logs to. pub fn workspace_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.workspace_id(input.into()); diff --git a/sdk/amp/src/operation/create_rule_groups_namespace/builders.rs b/sdk/amp/src/operation/create_rule_groups_namespace/builders.rs index f3bfff87b897..6beb8270b4bf 100644 --- a/sdk/amp/src/operation/create_rule_groups_namespace/builders.rs +++ b/sdk/amp/src/operation/create_rule_groups_namespace/builders.rs @@ -19,9 +19,9 @@ impl CreateRuleGroupsNamespaceFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl CreateRuleGroupsNamespaceFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::create_rule_groups_namespace::CreateRuleGroupsNamespace, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::create_rule_groups_namespace::CreateRuleGroupsNamespaceError, + >, + > { + self.customize_middleware().await + } /// The ID of the workspace in which to create the rule group namespace. pub fn workspace_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.workspace_id(input.into()); diff --git a/sdk/amp/src/operation/create_workspace/builders.rs b/sdk/amp/src/operation/create_workspace/builders.rs index ea07505fb3ed..6a5b4a3e5979 100644 --- a/sdk/amp/src/operation/create_workspace/builders.rs +++ b/sdk/amp/src/operation/create_workspace/builders.rs @@ -19,9 +19,9 @@ impl CreateWorkspaceFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl CreateWorkspaceFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::create_workspace::CreateWorkspace, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::create_workspace::CreateWorkspaceError, + >, + > { + self.customize_middleware().await + } /// An optional user-assigned alias for this workspace. This alias is for user reference and does not need to be unique. pub fn alias(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.alias(input.into()); diff --git a/sdk/amp/src/operation/delete_alert_manager_definition/builders.rs b/sdk/amp/src/operation/delete_alert_manager_definition/builders.rs index 7f8e338d2cb7..0bfc3916ccc5 100644 --- a/sdk/amp/src/operation/delete_alert_manager_definition/builders.rs +++ b/sdk/amp/src/operation/delete_alert_manager_definition/builders.rs @@ -19,9 +19,9 @@ impl DeleteAlertManagerDefinitionFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl DeleteAlertManagerDefinitionFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::delete_alert_manager_definition::DeleteAlertManagerDefinition, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::delete_alert_manager_definition::DeleteAlertManagerDefinitionError, + >, + > { + self.customize_middleware().await + } /// The ID of the workspace in which to delete the alert manager definition. pub fn workspace_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.workspace_id(input.into()); diff --git a/sdk/amp/src/operation/delete_logging_configuration/builders.rs b/sdk/amp/src/operation/delete_logging_configuration/builders.rs index 2b2d91ce73cd..29c6376820ee 100644 --- a/sdk/amp/src/operation/delete_logging_configuration/builders.rs +++ b/sdk/amp/src/operation/delete_logging_configuration/builders.rs @@ -19,9 +19,9 @@ impl DeleteLoggingConfigurationFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl DeleteLoggingConfigurationFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::delete_logging_configuration::DeleteLoggingConfiguration, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::delete_logging_configuration::DeleteLoggingConfigurationError, + >, + > { + self.customize_middleware().await + } /// The ID of the workspace to vend logs to. pub fn workspace_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.workspace_id(input.into()); diff --git a/sdk/amp/src/operation/delete_rule_groups_namespace/builders.rs b/sdk/amp/src/operation/delete_rule_groups_namespace/builders.rs index 9688f3c48457..8af66ec9bab3 100644 --- a/sdk/amp/src/operation/delete_rule_groups_namespace/builders.rs +++ b/sdk/amp/src/operation/delete_rule_groups_namespace/builders.rs @@ -19,9 +19,9 @@ impl DeleteRuleGroupsNamespaceFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl DeleteRuleGroupsNamespaceFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::delete_rule_groups_namespace::DeleteRuleGroupsNamespace, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::delete_rule_groups_namespace::DeleteRuleGroupsNamespaceError, + >, + > { + self.customize_middleware().await + } /// The ID of the workspace to delete rule group definition. pub fn workspace_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.workspace_id(input.into()); diff --git a/sdk/amp/src/operation/delete_workspace/builders.rs b/sdk/amp/src/operation/delete_workspace/builders.rs index 989d2ec6a938..b384d5430a5a 100644 --- a/sdk/amp/src/operation/delete_workspace/builders.rs +++ b/sdk/amp/src/operation/delete_workspace/builders.rs @@ -19,9 +19,9 @@ impl DeleteWorkspaceFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl DeleteWorkspaceFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::delete_workspace::DeleteWorkspace, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::delete_workspace::DeleteWorkspaceError, + >, + > { + self.customize_middleware().await + } /// The ID of the workspace to delete. pub fn workspace_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.workspace_id(input.into()); diff --git a/sdk/amp/src/operation/describe_alert_manager_definition/builders.rs b/sdk/amp/src/operation/describe_alert_manager_definition/builders.rs index 830bb5da9842..593aee6b4657 100644 --- a/sdk/amp/src/operation/describe_alert_manager_definition/builders.rs +++ b/sdk/amp/src/operation/describe_alert_manager_definition/builders.rs @@ -19,9 +19,9 @@ impl DescribeAlertManagerDefinitionFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize(self) -> ::std::result::Result< + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware(self) -> ::std::result::Result< crate::client::customize::CustomizableOperation, ::aws_smithy_http::result::SdkError >{ @@ -64,6 +64,15 @@ impl DescribeAlertManagerDefinitionFluentBuilder { { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize(self) -> ::std::result::Result< + crate::client::customize::CustomizableOperation, + ::aws_smithy_http::result::SdkError + >{ + self.customize_middleware().await + } /// The ID of the workspace to describe. pub fn workspace_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.workspace_id(input.into()); diff --git a/sdk/amp/src/operation/describe_logging_configuration/builders.rs b/sdk/amp/src/operation/describe_logging_configuration/builders.rs index fd024679987b..a30c91a29d93 100644 --- a/sdk/amp/src/operation/describe_logging_configuration/builders.rs +++ b/sdk/amp/src/operation/describe_logging_configuration/builders.rs @@ -19,9 +19,9 @@ impl DescribeLoggingConfigurationFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl DescribeLoggingConfigurationFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::describe_logging_configuration::DescribeLoggingConfiguration, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::describe_logging_configuration::DescribeLoggingConfigurationError, + >, + > { + self.customize_middleware().await + } /// The ID of the workspace to vend logs to. pub fn workspace_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.workspace_id(input.into()); diff --git a/sdk/amp/src/operation/describe_rule_groups_namespace/builders.rs b/sdk/amp/src/operation/describe_rule_groups_namespace/builders.rs index 7cde03bc39e4..368f7a334718 100644 --- a/sdk/amp/src/operation/describe_rule_groups_namespace/builders.rs +++ b/sdk/amp/src/operation/describe_rule_groups_namespace/builders.rs @@ -19,9 +19,9 @@ impl DescribeRuleGroupsNamespaceFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl DescribeRuleGroupsNamespaceFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::describe_rule_groups_namespace::DescribeRuleGroupsNamespace, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::describe_rule_groups_namespace::DescribeRuleGroupsNamespaceError, + >, + > { + self.customize_middleware().await + } /// The ID of the workspace to describe. pub fn workspace_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.workspace_id(input.into()); diff --git a/sdk/amp/src/operation/describe_workspace/builders.rs b/sdk/amp/src/operation/describe_workspace/builders.rs index eac015971d57..d98d1854f3a8 100644 --- a/sdk/amp/src/operation/describe_workspace/builders.rs +++ b/sdk/amp/src/operation/describe_workspace/builders.rs @@ -19,9 +19,9 @@ impl DescribeWorkspaceFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl DescribeWorkspaceFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::describe_workspace::DescribeWorkspace, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::describe_workspace::DescribeWorkspaceError, + >, + > { + self.customize_middleware().await + } /// The ID of the workspace to describe. pub fn workspace_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.workspace_id(input.into()); diff --git a/sdk/amp/src/operation/list_rule_groups_namespaces/builders.rs b/sdk/amp/src/operation/list_rule_groups_namespaces/builders.rs index 3781d21cc22e..2f67677454b6 100644 --- a/sdk/amp/src/operation/list_rule_groups_namespaces/builders.rs +++ b/sdk/amp/src/operation/list_rule_groups_namespaces/builders.rs @@ -19,9 +19,9 @@ impl ListRuleGroupsNamespacesFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl ListRuleGroupsNamespacesFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_rule_groups_namespaces::ListRuleGroupsNamespaces, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::list_rule_groups_namespaces::ListRuleGroupsNamespacesError, + >, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::list_rule_groups_namespaces::paginator::ListRuleGroupsNamespacesPaginator::send) which returns a `Stream`. diff --git a/sdk/amp/src/operation/list_tags_for_resource/builders.rs b/sdk/amp/src/operation/list_tags_for_resource/builders.rs index a76aafb146a9..65e0d7724712 100644 --- a/sdk/amp/src/operation/list_tags_for_resource/builders.rs +++ b/sdk/amp/src/operation/list_tags_for_resource/builders.rs @@ -19,9 +19,9 @@ impl ListTagsForResourceFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl ListTagsForResourceFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_tags_for_resource::ListTagsForResource, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::list_tags_for_resource::ListTagsForResourceError, + >, + > { + self.customize_middleware().await + } /// The ARN of the resource. pub fn resource_arn(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.resource_arn(input.into()); diff --git a/sdk/amp/src/operation/list_workspaces/builders.rs b/sdk/amp/src/operation/list_workspaces/builders.rs index e971307462fb..52135a994736 100644 --- a/sdk/amp/src/operation/list_workspaces/builders.rs +++ b/sdk/amp/src/operation/list_workspaces/builders.rs @@ -19,9 +19,9 @@ impl ListWorkspacesFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl ListWorkspacesFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_workspaces::ListWorkspaces, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::list_workspaces::paginator::ListWorkspacesPaginator::send) which returns a `Stream`. diff --git a/sdk/amp/src/operation/put_alert_manager_definition/builders.rs b/sdk/amp/src/operation/put_alert_manager_definition/builders.rs index 4c9ee72c6484..4451faefda30 100644 --- a/sdk/amp/src/operation/put_alert_manager_definition/builders.rs +++ b/sdk/amp/src/operation/put_alert_manager_definition/builders.rs @@ -19,9 +19,9 @@ impl PutAlertManagerDefinitionFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl PutAlertManagerDefinitionFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::put_alert_manager_definition::PutAlertManagerDefinition, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::put_alert_manager_definition::PutAlertManagerDefinitionError, + >, + > { + self.customize_middleware().await + } /// The ID of the workspace in which to update the alert manager definition. pub fn workspace_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.workspace_id(input.into()); diff --git a/sdk/amp/src/operation/put_rule_groups_namespace/builders.rs b/sdk/amp/src/operation/put_rule_groups_namespace/builders.rs index 4e1f29c4e88f..d0edd5353c1d 100644 --- a/sdk/amp/src/operation/put_rule_groups_namespace/builders.rs +++ b/sdk/amp/src/operation/put_rule_groups_namespace/builders.rs @@ -20,9 +20,9 @@ impl PutRuleGroupsNamespaceFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -84,6 +84,22 @@ impl PutRuleGroupsNamespaceFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::put_rule_groups_namespace::PutRuleGroupsNamespace, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::put_rule_groups_namespace::PutRuleGroupsNamespaceError, + >, + > { + self.customize_middleware().await + } /// The ID of the workspace in which to update the rule group namespace. pub fn workspace_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.workspace_id(input.into()); diff --git a/sdk/amp/src/operation/tag_resource/builders.rs b/sdk/amp/src/operation/tag_resource/builders.rs index bca2ec2663fe..4a220f3d2a20 100644 --- a/sdk/amp/src/operation/tag_resource/builders.rs +++ b/sdk/amp/src/operation/tag_resource/builders.rs @@ -19,9 +19,9 @@ impl TagResourceFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl TagResourceFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::tag_resource::TagResource, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } /// The ARN of the resource. pub fn resource_arn(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.resource_arn(input.into()); diff --git a/sdk/amp/src/operation/untag_resource/builders.rs b/sdk/amp/src/operation/untag_resource/builders.rs index 1338abd260b8..b6a6437f8e44 100644 --- a/sdk/amp/src/operation/untag_resource/builders.rs +++ b/sdk/amp/src/operation/untag_resource/builders.rs @@ -19,9 +19,9 @@ impl UntagResourceFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl UntagResourceFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::untag_resource::UntagResource, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } /// The ARN of the resource. pub fn resource_arn(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.resource_arn(input.into()); diff --git a/sdk/amp/src/operation/update_logging_configuration/builders.rs b/sdk/amp/src/operation/update_logging_configuration/builders.rs index 1fb248d917b5..de0590e7eefa 100644 --- a/sdk/amp/src/operation/update_logging_configuration/builders.rs +++ b/sdk/amp/src/operation/update_logging_configuration/builders.rs @@ -19,9 +19,9 @@ impl UpdateLoggingConfigurationFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl UpdateLoggingConfigurationFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::update_logging_configuration::UpdateLoggingConfiguration, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::update_logging_configuration::UpdateLoggingConfigurationError, + >, + > { + self.customize_middleware().await + } /// The ID of the workspace to vend logs to. pub fn workspace_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.workspace_id(input.into()); diff --git a/sdk/amp/src/operation/update_workspace_alias/builders.rs b/sdk/amp/src/operation/update_workspace_alias/builders.rs index 6cbeddf3df7b..0f9191060174 100644 --- a/sdk/amp/src/operation/update_workspace_alias/builders.rs +++ b/sdk/amp/src/operation/update_workspace_alias/builders.rs @@ -19,9 +19,9 @@ impl UpdateWorkspaceAliasFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl UpdateWorkspaceAliasFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::update_workspace_alias::UpdateWorkspaceAlias, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::update_workspace_alias::UpdateWorkspaceAliasError, + >, + > { + self.customize_middleware().await + } /// The ID of the workspace being updated. pub fn workspace_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.workspace_id(input.into()); diff --git a/sdk/amplify/src/operation/create_app/builders.rs b/sdk/amplify/src/operation/create_app/builders.rs index 8498185e53dc..34accd56ae0b 100644 --- a/sdk/amplify/src/operation/create_app/builders.rs +++ b/sdk/amplify/src/operation/create_app/builders.rs @@ -19,9 +19,9 @@ impl CreateAppFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl CreateAppFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::create_app::CreateApp, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

The name for an Amplify app.

pub fn name(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.name(input.into()); diff --git a/sdk/amplify/src/operation/create_backend_environment/builders.rs b/sdk/amplify/src/operation/create_backend_environment/builders.rs index a41cb206a939..fc26f30ce90b 100644 --- a/sdk/amplify/src/operation/create_backend_environment/builders.rs +++ b/sdk/amplify/src/operation/create_backend_environment/builders.rs @@ -19,9 +19,9 @@ impl CreateBackendEnvironmentFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl CreateBackendEnvironmentFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::create_backend_environment::CreateBackendEnvironment, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::create_backend_environment::CreateBackendEnvironmentError, + >, + > { + self.customize_middleware().await + } ///

The unique ID for an Amplify app.

pub fn app_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.app_id(input.into()); diff --git a/sdk/amplify/src/operation/create_branch/builders.rs b/sdk/amplify/src/operation/create_branch/builders.rs index 440198c4d36f..a376533af22e 100644 --- a/sdk/amplify/src/operation/create_branch/builders.rs +++ b/sdk/amplify/src/operation/create_branch/builders.rs @@ -19,9 +19,9 @@ impl CreateBranchFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl CreateBranchFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::create_branch::CreateBranch, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

The unique ID for an Amplify app.

pub fn app_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.app_id(input.into()); diff --git a/sdk/amplify/src/operation/create_deployment/builders.rs b/sdk/amplify/src/operation/create_deployment/builders.rs index 1d76aa0a54d8..f38d1b849481 100644 --- a/sdk/amplify/src/operation/create_deployment/builders.rs +++ b/sdk/amplify/src/operation/create_deployment/builders.rs @@ -19,9 +19,9 @@ impl CreateDeploymentFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl CreateDeploymentFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::create_deployment::CreateDeployment, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::create_deployment::CreateDeploymentError, + >, + > { + self.customize_middleware().await + } ///

The unique ID for an Amplify app.

pub fn app_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.app_id(input.into()); diff --git a/sdk/amplify/src/operation/create_domain_association/builders.rs b/sdk/amplify/src/operation/create_domain_association/builders.rs index c98cc9021ec5..8184ebfbf219 100644 --- a/sdk/amplify/src/operation/create_domain_association/builders.rs +++ b/sdk/amplify/src/operation/create_domain_association/builders.rs @@ -20,9 +20,9 @@ impl CreateDomainAssociationFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -84,6 +84,22 @@ impl CreateDomainAssociationFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::create_domain_association::CreateDomainAssociation, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::create_domain_association::CreateDomainAssociationError, + >, + > { + self.customize_middleware().await + } ///

The unique ID for an Amplify app.

pub fn app_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.app_id(input.into()); diff --git a/sdk/amplify/src/operation/create_webhook/builders.rs b/sdk/amplify/src/operation/create_webhook/builders.rs index 4bdf7c60d97a..6c2aa86bebf9 100644 --- a/sdk/amplify/src/operation/create_webhook/builders.rs +++ b/sdk/amplify/src/operation/create_webhook/builders.rs @@ -19,9 +19,9 @@ impl CreateWebhookFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl CreateWebhookFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::create_webhook::CreateWebhook, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

The unique ID for an Amplify app.

pub fn app_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.app_id(input.into()); diff --git a/sdk/amplify/src/operation/delete_app/builders.rs b/sdk/amplify/src/operation/delete_app/builders.rs index 8be5e40d0b48..95b6202a4372 100644 --- a/sdk/amplify/src/operation/delete_app/builders.rs +++ b/sdk/amplify/src/operation/delete_app/builders.rs @@ -19,9 +19,9 @@ impl DeleteAppFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl DeleteAppFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::delete_app::DeleteApp, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

The unique ID for an Amplify app.

pub fn app_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.app_id(input.into()); diff --git a/sdk/amplify/src/operation/delete_backend_environment/builders.rs b/sdk/amplify/src/operation/delete_backend_environment/builders.rs index 179d8ae1b32c..5a5530b04859 100644 --- a/sdk/amplify/src/operation/delete_backend_environment/builders.rs +++ b/sdk/amplify/src/operation/delete_backend_environment/builders.rs @@ -19,9 +19,9 @@ impl DeleteBackendEnvironmentFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl DeleteBackendEnvironmentFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::delete_backend_environment::DeleteBackendEnvironment, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::delete_backend_environment::DeleteBackendEnvironmentError, + >, + > { + self.customize_middleware().await + } ///

The unique ID of an Amplify app.

pub fn app_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.app_id(input.into()); diff --git a/sdk/amplify/src/operation/delete_branch/builders.rs b/sdk/amplify/src/operation/delete_branch/builders.rs index 9e4208e42394..d90db9e5a248 100644 --- a/sdk/amplify/src/operation/delete_branch/builders.rs +++ b/sdk/amplify/src/operation/delete_branch/builders.rs @@ -19,9 +19,9 @@ impl DeleteBranchFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl DeleteBranchFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::delete_branch::DeleteBranch, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

The unique ID for an Amplify app.

pub fn app_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.app_id(input.into()); diff --git a/sdk/amplify/src/operation/delete_domain_association/builders.rs b/sdk/amplify/src/operation/delete_domain_association/builders.rs index 688ac64ec954..a09428b44e2f 100644 --- a/sdk/amplify/src/operation/delete_domain_association/builders.rs +++ b/sdk/amplify/src/operation/delete_domain_association/builders.rs @@ -20,9 +20,9 @@ impl DeleteDomainAssociationFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -84,6 +84,22 @@ impl DeleteDomainAssociationFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::delete_domain_association::DeleteDomainAssociation, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::delete_domain_association::DeleteDomainAssociationError, + >, + > { + self.customize_middleware().await + } ///

The unique id for an Amplify app.

pub fn app_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.app_id(input.into()); diff --git a/sdk/amplify/src/operation/delete_job/builders.rs b/sdk/amplify/src/operation/delete_job/builders.rs index 8304ef34b15b..c3a686c54bcd 100644 --- a/sdk/amplify/src/operation/delete_job/builders.rs +++ b/sdk/amplify/src/operation/delete_job/builders.rs @@ -19,9 +19,9 @@ impl DeleteJobFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl DeleteJobFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::delete_job::DeleteJob, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

The unique ID for an Amplify app.

pub fn app_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.app_id(input.into()); diff --git a/sdk/amplify/src/operation/delete_webhook/builders.rs b/sdk/amplify/src/operation/delete_webhook/builders.rs index df7553facad3..15f01bbffb40 100644 --- a/sdk/amplify/src/operation/delete_webhook/builders.rs +++ b/sdk/amplify/src/operation/delete_webhook/builders.rs @@ -19,9 +19,9 @@ impl DeleteWebhookFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl DeleteWebhookFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::delete_webhook::DeleteWebhook, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

The unique ID for a webhook.

pub fn webhook_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.webhook_id(input.into()); diff --git a/sdk/amplify/src/operation/generate_access_logs/builders.rs b/sdk/amplify/src/operation/generate_access_logs/builders.rs index 25264d33140b..3d48e00ec2eb 100644 --- a/sdk/amplify/src/operation/generate_access_logs/builders.rs +++ b/sdk/amplify/src/operation/generate_access_logs/builders.rs @@ -19,9 +19,9 @@ impl GenerateAccessLogsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl GenerateAccessLogsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::generate_access_logs::GenerateAccessLogs, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::generate_access_logs::GenerateAccessLogsError, + >, + > { + self.customize_middleware().await + } ///

The time at which the logs should start. The time range specified is inclusive of the start time.

pub fn start_time(mut self, input: ::aws_smithy_types::DateTime) -> Self { self.inner = self.inner.start_time(input); diff --git a/sdk/amplify/src/operation/get_app/builders.rs b/sdk/amplify/src/operation/get_app/builders.rs index 102d2e6f46fb..d279736866e3 100644 --- a/sdk/amplify/src/operation/get_app/builders.rs +++ b/sdk/amplify/src/operation/get_app/builders.rs @@ -19,9 +19,9 @@ impl GetAppFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl GetAppFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::get_app::GetApp, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

The unique ID for an Amplify app.

pub fn app_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.app_id(input.into()); diff --git a/sdk/amplify/src/operation/get_artifact_url/builders.rs b/sdk/amplify/src/operation/get_artifact_url/builders.rs index 079ead7ddd79..98750f58ef3f 100644 --- a/sdk/amplify/src/operation/get_artifact_url/builders.rs +++ b/sdk/amplify/src/operation/get_artifact_url/builders.rs @@ -19,9 +19,9 @@ impl GetArtifactUrlFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl GetArtifactUrlFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::get_artifact_url::GetArtifactUrl, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::get_artifact_url::GetArtifactUrlError, + >, + > { + self.customize_middleware().await + } ///

The unique ID for an artifact.

pub fn artifact_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.artifact_id(input.into()); diff --git a/sdk/amplify/src/operation/get_backend_environment/builders.rs b/sdk/amplify/src/operation/get_backend_environment/builders.rs index de744bcf7187..993fd8b6deed 100644 --- a/sdk/amplify/src/operation/get_backend_environment/builders.rs +++ b/sdk/amplify/src/operation/get_backend_environment/builders.rs @@ -19,9 +19,9 @@ impl GetBackendEnvironmentFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl GetBackendEnvironmentFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::get_backend_environment::GetBackendEnvironment, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::get_backend_environment::GetBackendEnvironmentError, + >, + > { + self.customize_middleware().await + } ///

The unique id for an Amplify app.

pub fn app_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.app_id(input.into()); diff --git a/sdk/amplify/src/operation/get_branch/builders.rs b/sdk/amplify/src/operation/get_branch/builders.rs index bd44a80b17cb..1a81d8b69601 100644 --- a/sdk/amplify/src/operation/get_branch/builders.rs +++ b/sdk/amplify/src/operation/get_branch/builders.rs @@ -19,9 +19,9 @@ impl GetBranchFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl GetBranchFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::get_branch::GetBranch, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

The unique ID for an Amplify app.

pub fn app_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.app_id(input.into()); diff --git a/sdk/amplify/src/operation/get_domain_association/builders.rs b/sdk/amplify/src/operation/get_domain_association/builders.rs index ec26c96db507..2af98aaa5eaa 100644 --- a/sdk/amplify/src/operation/get_domain_association/builders.rs +++ b/sdk/amplify/src/operation/get_domain_association/builders.rs @@ -19,9 +19,9 @@ impl GetDomainAssociationFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl GetDomainAssociationFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::get_domain_association::GetDomainAssociation, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::get_domain_association::GetDomainAssociationError, + >, + > { + self.customize_middleware().await + } ///

The unique id for an Amplify app.

pub fn app_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.app_id(input.into()); diff --git a/sdk/amplify/src/operation/get_job/builders.rs b/sdk/amplify/src/operation/get_job/builders.rs index d5dab4d7cb79..6456e635da66 100644 --- a/sdk/amplify/src/operation/get_job/builders.rs +++ b/sdk/amplify/src/operation/get_job/builders.rs @@ -19,9 +19,9 @@ impl GetJobFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl GetJobFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::get_job::GetJob, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

The unique ID for an Amplify app.

pub fn app_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.app_id(input.into()); diff --git a/sdk/amplify/src/operation/get_webhook/builders.rs b/sdk/amplify/src/operation/get_webhook/builders.rs index 8bb54b5e1299..6f772fbcf243 100644 --- a/sdk/amplify/src/operation/get_webhook/builders.rs +++ b/sdk/amplify/src/operation/get_webhook/builders.rs @@ -19,9 +19,9 @@ impl GetWebhookFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl GetWebhookFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::get_webhook::GetWebhook, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

The unique ID for a webhook.

pub fn webhook_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.webhook_id(input.into()); diff --git a/sdk/amplify/src/operation/list_apps/builders.rs b/sdk/amplify/src/operation/list_apps/builders.rs index de0bbe5a839b..2b2fbc49f0cd 100644 --- a/sdk/amplify/src/operation/list_apps/builders.rs +++ b/sdk/amplify/src/operation/list_apps/builders.rs @@ -19,9 +19,9 @@ impl ListAppsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl ListAppsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_apps::ListApps, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

A pagination token. If non-null, the pagination token is returned in a result. Pass its value in another request to retrieve more entries.

pub fn next_token(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.next_token(input.into()); diff --git a/sdk/amplify/src/operation/list_artifacts/builders.rs b/sdk/amplify/src/operation/list_artifacts/builders.rs index 4cb5ec96fcb4..ff5444b83681 100644 --- a/sdk/amplify/src/operation/list_artifacts/builders.rs +++ b/sdk/amplify/src/operation/list_artifacts/builders.rs @@ -19,9 +19,9 @@ impl ListArtifactsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl ListArtifactsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_artifacts::ListArtifacts, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

The unique ID for an Amplify app.

pub fn app_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.app_id(input.into()); diff --git a/sdk/amplify/src/operation/list_backend_environments/builders.rs b/sdk/amplify/src/operation/list_backend_environments/builders.rs index c7302c44774a..351ebdd6db3b 100644 --- a/sdk/amplify/src/operation/list_backend_environments/builders.rs +++ b/sdk/amplify/src/operation/list_backend_environments/builders.rs @@ -20,9 +20,9 @@ impl ListBackendEnvironmentsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -84,6 +84,22 @@ impl ListBackendEnvironmentsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_backend_environments::ListBackendEnvironments, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::list_backend_environments::ListBackendEnvironmentsError, + >, + > { + self.customize_middleware().await + } ///

The unique ID for an Amplify app.

pub fn app_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.app_id(input.into()); diff --git a/sdk/amplify/src/operation/list_branches/builders.rs b/sdk/amplify/src/operation/list_branches/builders.rs index ab70ca85cba9..fa948bf10b4f 100644 --- a/sdk/amplify/src/operation/list_branches/builders.rs +++ b/sdk/amplify/src/operation/list_branches/builders.rs @@ -19,9 +19,9 @@ impl ListBranchesFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl ListBranchesFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_branches::ListBranches, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

The unique ID for an Amplify app.

pub fn app_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.app_id(input.into()); diff --git a/sdk/amplify/src/operation/list_domain_associations/builders.rs b/sdk/amplify/src/operation/list_domain_associations/builders.rs index f362633e9932..e7d4d59b724e 100644 --- a/sdk/amplify/src/operation/list_domain_associations/builders.rs +++ b/sdk/amplify/src/operation/list_domain_associations/builders.rs @@ -19,9 +19,9 @@ impl ListDomainAssociationsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl ListDomainAssociationsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_domain_associations::ListDomainAssociations, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::list_domain_associations::ListDomainAssociationsError, + >, + > { + self.customize_middleware().await + } ///

The unique ID for an Amplify app.

pub fn app_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.app_id(input.into()); diff --git a/sdk/amplify/src/operation/list_jobs/builders.rs b/sdk/amplify/src/operation/list_jobs/builders.rs index 3dc1219ac953..1cbddcd36104 100644 --- a/sdk/amplify/src/operation/list_jobs/builders.rs +++ b/sdk/amplify/src/operation/list_jobs/builders.rs @@ -19,9 +19,9 @@ impl ListJobsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl ListJobsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_jobs::ListJobs, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

The unique ID for an Amplify app.

pub fn app_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.app_id(input.into()); diff --git a/sdk/amplify/src/operation/list_tags_for_resource/builders.rs b/sdk/amplify/src/operation/list_tags_for_resource/builders.rs index 44ca8fdb9f7b..7fb1522364be 100644 --- a/sdk/amplify/src/operation/list_tags_for_resource/builders.rs +++ b/sdk/amplify/src/operation/list_tags_for_resource/builders.rs @@ -19,9 +19,9 @@ impl ListTagsForResourceFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl ListTagsForResourceFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_tags_for_resource::ListTagsForResource, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::list_tags_for_resource::ListTagsForResourceError, + >, + > { + self.customize_middleware().await + } ///

The Amazon Resource Name (ARN) to use to list tags.

pub fn resource_arn(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.resource_arn(input.into()); diff --git a/sdk/amplify/src/operation/list_webhooks/builders.rs b/sdk/amplify/src/operation/list_webhooks/builders.rs index 65fddbda32e1..fe395b3b9c4f 100644 --- a/sdk/amplify/src/operation/list_webhooks/builders.rs +++ b/sdk/amplify/src/operation/list_webhooks/builders.rs @@ -19,9 +19,9 @@ impl ListWebhooksFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl ListWebhooksFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_webhooks::ListWebhooks, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

The unique ID for an Amplify app.

pub fn app_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.app_id(input.into()); diff --git a/sdk/amplify/src/operation/start_deployment/builders.rs b/sdk/amplify/src/operation/start_deployment/builders.rs index 35932ddfa510..5e6ee18a3932 100644 --- a/sdk/amplify/src/operation/start_deployment/builders.rs +++ b/sdk/amplify/src/operation/start_deployment/builders.rs @@ -19,9 +19,9 @@ impl StartDeploymentFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl StartDeploymentFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::start_deployment::StartDeployment, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::start_deployment::StartDeploymentError, + >, + > { + self.customize_middleware().await + } ///

The unique ID for an Amplify app.

pub fn app_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.app_id(input.into()); diff --git a/sdk/amplify/src/operation/start_job/builders.rs b/sdk/amplify/src/operation/start_job/builders.rs index 065bc65f1561..88504ae17f55 100644 --- a/sdk/amplify/src/operation/start_job/builders.rs +++ b/sdk/amplify/src/operation/start_job/builders.rs @@ -19,9 +19,9 @@ impl StartJobFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl StartJobFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::start_job::StartJob, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

The unique ID for an Amplify app.

pub fn app_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.app_id(input.into()); diff --git a/sdk/amplify/src/operation/stop_job/builders.rs b/sdk/amplify/src/operation/stop_job/builders.rs index 2b8eaa6bb897..882b43aa5dc8 100644 --- a/sdk/amplify/src/operation/stop_job/builders.rs +++ b/sdk/amplify/src/operation/stop_job/builders.rs @@ -19,9 +19,9 @@ impl StopJobFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl StopJobFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::stop_job::StopJob, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

The unique ID for an Amplify app.

pub fn app_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.app_id(input.into()); diff --git a/sdk/amplify/src/operation/tag_resource/builders.rs b/sdk/amplify/src/operation/tag_resource/builders.rs index 1ab598c315fb..987c0ba9c3cc 100644 --- a/sdk/amplify/src/operation/tag_resource/builders.rs +++ b/sdk/amplify/src/operation/tag_resource/builders.rs @@ -19,9 +19,9 @@ impl TagResourceFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl TagResourceFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::tag_resource::TagResource, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

The Amazon Resource Name (ARN) to use to tag a resource.

pub fn resource_arn(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.resource_arn(input.into()); diff --git a/sdk/amplify/src/operation/untag_resource/builders.rs b/sdk/amplify/src/operation/untag_resource/builders.rs index a5ed49abf3d9..761c1822c5f9 100644 --- a/sdk/amplify/src/operation/untag_resource/builders.rs +++ b/sdk/amplify/src/operation/untag_resource/builders.rs @@ -19,9 +19,9 @@ impl UntagResourceFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl UntagResourceFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::untag_resource::UntagResource, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

The Amazon Resource Name (ARN) to use to untag a resource.

pub fn resource_arn(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.resource_arn(input.into()); diff --git a/sdk/amplify/src/operation/update_app/builders.rs b/sdk/amplify/src/operation/update_app/builders.rs index 5569b559c792..ca1698ec1a4a 100644 --- a/sdk/amplify/src/operation/update_app/builders.rs +++ b/sdk/amplify/src/operation/update_app/builders.rs @@ -19,9 +19,9 @@ impl UpdateAppFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl UpdateAppFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::update_app::UpdateApp, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

The unique ID for an Amplify app.

pub fn app_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.app_id(input.into()); diff --git a/sdk/amplify/src/operation/update_branch/builders.rs b/sdk/amplify/src/operation/update_branch/builders.rs index f71198493587..b8d53e167a91 100644 --- a/sdk/amplify/src/operation/update_branch/builders.rs +++ b/sdk/amplify/src/operation/update_branch/builders.rs @@ -19,9 +19,9 @@ impl UpdateBranchFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl UpdateBranchFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::update_branch::UpdateBranch, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

The unique ID for an Amplify app.

pub fn app_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.app_id(input.into()); diff --git a/sdk/amplify/src/operation/update_domain_association/builders.rs b/sdk/amplify/src/operation/update_domain_association/builders.rs index 8ca5b30c8bd5..ae46a77c5549 100644 --- a/sdk/amplify/src/operation/update_domain_association/builders.rs +++ b/sdk/amplify/src/operation/update_domain_association/builders.rs @@ -20,9 +20,9 @@ impl UpdateDomainAssociationFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -84,6 +84,22 @@ impl UpdateDomainAssociationFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::update_domain_association::UpdateDomainAssociation, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::update_domain_association::UpdateDomainAssociationError, + >, + > { + self.customize_middleware().await + } ///

The unique ID for an Amplify app.

pub fn app_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.app_id(input.into()); diff --git a/sdk/amplify/src/operation/update_webhook/builders.rs b/sdk/amplify/src/operation/update_webhook/builders.rs index e1a76b0d2e38..61aed19a2a72 100644 --- a/sdk/amplify/src/operation/update_webhook/builders.rs +++ b/sdk/amplify/src/operation/update_webhook/builders.rs @@ -19,9 +19,9 @@ impl UpdateWebhookFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl UpdateWebhookFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::update_webhook::UpdateWebhook, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

The unique ID for a webhook.

pub fn webhook_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.webhook_id(input.into()); diff --git a/sdk/amplifybackend/src/operation/clone_backend/builders.rs b/sdk/amplifybackend/src/operation/clone_backend/builders.rs index 03b1aa227d2c..cd7b93cb450a 100644 --- a/sdk/amplifybackend/src/operation/clone_backend/builders.rs +++ b/sdk/amplifybackend/src/operation/clone_backend/builders.rs @@ -19,9 +19,9 @@ impl CloneBackendFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl CloneBackendFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::clone_backend::CloneBackend, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

The app ID.

pub fn app_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.app_id(input.into()); diff --git a/sdk/amplifybackend/src/operation/create_backend/builders.rs b/sdk/amplifybackend/src/operation/create_backend/builders.rs index f0420c2dc3b7..3fbfa21436f6 100644 --- a/sdk/amplifybackend/src/operation/create_backend/builders.rs +++ b/sdk/amplifybackend/src/operation/create_backend/builders.rs @@ -19,9 +19,9 @@ impl CreateBackendFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl CreateBackendFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::create_backend::CreateBackend, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

The app ID.

pub fn app_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.app_id(input.into()); diff --git a/sdk/amplifybackend/src/operation/create_backend_api/builders.rs b/sdk/amplifybackend/src/operation/create_backend_api/builders.rs index 569b5c565d3c..8392ff1dc2cb 100644 --- a/sdk/amplifybackend/src/operation/create_backend_api/builders.rs +++ b/sdk/amplifybackend/src/operation/create_backend_api/builders.rs @@ -19,9 +19,9 @@ impl CreateBackendAPIFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl CreateBackendAPIFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::create_backend_api::CreateBackendAPI, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::create_backend_api::CreateBackendAPIError, + >, + > { + self.customize_middleware().await + } ///

The app ID.

pub fn app_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.app_id(input.into()); diff --git a/sdk/amplifybackend/src/operation/create_backend_auth/builders.rs b/sdk/amplifybackend/src/operation/create_backend_auth/builders.rs index 722ced6dea2a..88df70ca72d9 100644 --- a/sdk/amplifybackend/src/operation/create_backend_auth/builders.rs +++ b/sdk/amplifybackend/src/operation/create_backend_auth/builders.rs @@ -19,9 +19,9 @@ impl CreateBackendAuthFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl CreateBackendAuthFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::create_backend_auth::CreateBackendAuth, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::create_backend_auth::CreateBackendAuthError, + >, + > { + self.customize_middleware().await + } ///

The app ID.

pub fn app_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.app_id(input.into()); diff --git a/sdk/amplifybackend/src/operation/create_backend_config/builders.rs b/sdk/amplifybackend/src/operation/create_backend_config/builders.rs index bc8db3255c6a..0ec934126b58 100644 --- a/sdk/amplifybackend/src/operation/create_backend_config/builders.rs +++ b/sdk/amplifybackend/src/operation/create_backend_config/builders.rs @@ -19,9 +19,9 @@ impl CreateBackendConfigFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl CreateBackendConfigFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::create_backend_config::CreateBackendConfig, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::create_backend_config::CreateBackendConfigError, + >, + > { + self.customize_middleware().await + } ///

The app ID.

pub fn app_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.app_id(input.into()); diff --git a/sdk/amplifybackend/src/operation/create_backend_storage/builders.rs b/sdk/amplifybackend/src/operation/create_backend_storage/builders.rs index c44afb577526..b9873f854bc8 100644 --- a/sdk/amplifybackend/src/operation/create_backend_storage/builders.rs +++ b/sdk/amplifybackend/src/operation/create_backend_storage/builders.rs @@ -19,9 +19,9 @@ impl CreateBackendStorageFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl CreateBackendStorageFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::create_backend_storage::CreateBackendStorage, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::create_backend_storage::CreateBackendStorageError, + >, + > { + self.customize_middleware().await + } ///

The app ID.

pub fn app_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.app_id(input.into()); diff --git a/sdk/amplifybackend/src/operation/create_token/builders.rs b/sdk/amplifybackend/src/operation/create_token/builders.rs index c1b555fb1838..bdfbd543f02b 100644 --- a/sdk/amplifybackend/src/operation/create_token/builders.rs +++ b/sdk/amplifybackend/src/operation/create_token/builders.rs @@ -19,9 +19,9 @@ impl CreateTokenFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl CreateTokenFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::create_token::CreateToken, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

The app ID.

pub fn app_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.app_id(input.into()); diff --git a/sdk/amplifybackend/src/operation/delete_backend/builders.rs b/sdk/amplifybackend/src/operation/delete_backend/builders.rs index af57bb3c6340..1be9626cff43 100644 --- a/sdk/amplifybackend/src/operation/delete_backend/builders.rs +++ b/sdk/amplifybackend/src/operation/delete_backend/builders.rs @@ -19,9 +19,9 @@ impl DeleteBackendFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl DeleteBackendFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::delete_backend::DeleteBackend, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

The app ID.

pub fn app_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.app_id(input.into()); diff --git a/sdk/amplifybackend/src/operation/delete_backend_api/builders.rs b/sdk/amplifybackend/src/operation/delete_backend_api/builders.rs index 0d04b3fc7204..3a87fd2dff96 100644 --- a/sdk/amplifybackend/src/operation/delete_backend_api/builders.rs +++ b/sdk/amplifybackend/src/operation/delete_backend_api/builders.rs @@ -19,9 +19,9 @@ impl DeleteBackendAPIFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl DeleteBackendAPIFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::delete_backend_api::DeleteBackendAPI, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::delete_backend_api::DeleteBackendAPIError, + >, + > { + self.customize_middleware().await + } ///

The app ID.

pub fn app_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.app_id(input.into()); diff --git a/sdk/amplifybackend/src/operation/delete_backend_auth/builders.rs b/sdk/amplifybackend/src/operation/delete_backend_auth/builders.rs index 62dd6dd2f149..66029ef44ab2 100644 --- a/sdk/amplifybackend/src/operation/delete_backend_auth/builders.rs +++ b/sdk/amplifybackend/src/operation/delete_backend_auth/builders.rs @@ -19,9 +19,9 @@ impl DeleteBackendAuthFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl DeleteBackendAuthFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::delete_backend_auth::DeleteBackendAuth, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::delete_backend_auth::DeleteBackendAuthError, + >, + > { + self.customize_middleware().await + } ///

The app ID.

pub fn app_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.app_id(input.into()); diff --git a/sdk/amplifybackend/src/operation/delete_backend_storage/builders.rs b/sdk/amplifybackend/src/operation/delete_backend_storage/builders.rs index 7e30e259172e..2b25cbd32375 100644 --- a/sdk/amplifybackend/src/operation/delete_backend_storage/builders.rs +++ b/sdk/amplifybackend/src/operation/delete_backend_storage/builders.rs @@ -19,9 +19,9 @@ impl DeleteBackendStorageFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl DeleteBackendStorageFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::delete_backend_storage::DeleteBackendStorage, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::delete_backend_storage::DeleteBackendStorageError, + >, + > { + self.customize_middleware().await + } ///

The app ID.

pub fn app_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.app_id(input.into()); diff --git a/sdk/amplifybackend/src/operation/delete_token/builders.rs b/sdk/amplifybackend/src/operation/delete_token/builders.rs index ca9fc0f448fa..f8845ef3963b 100644 --- a/sdk/amplifybackend/src/operation/delete_token/builders.rs +++ b/sdk/amplifybackend/src/operation/delete_token/builders.rs @@ -19,9 +19,9 @@ impl DeleteTokenFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl DeleteTokenFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::delete_token::DeleteToken, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

The app ID.

pub fn app_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.app_id(input.into()); diff --git a/sdk/amplifybackend/src/operation/generate_backend_api_models/builders.rs b/sdk/amplifybackend/src/operation/generate_backend_api_models/builders.rs index 8e870e8bdd88..60384ce66696 100644 --- a/sdk/amplifybackend/src/operation/generate_backend_api_models/builders.rs +++ b/sdk/amplifybackend/src/operation/generate_backend_api_models/builders.rs @@ -19,9 +19,9 @@ impl GenerateBackendAPIModelsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl GenerateBackendAPIModelsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::generate_backend_api_models::GenerateBackendAPIModels, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::generate_backend_api_models::GenerateBackendAPIModelsError, + >, + > { + self.customize_middleware().await + } ///

The app ID.

pub fn app_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.app_id(input.into()); diff --git a/sdk/amplifybackend/src/operation/get_backend/builders.rs b/sdk/amplifybackend/src/operation/get_backend/builders.rs index e02fb07ebf28..6982f64847b9 100644 --- a/sdk/amplifybackend/src/operation/get_backend/builders.rs +++ b/sdk/amplifybackend/src/operation/get_backend/builders.rs @@ -19,9 +19,9 @@ impl GetBackendFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl GetBackendFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::get_backend::GetBackend, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

The app ID.

pub fn app_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.app_id(input.into()); diff --git a/sdk/amplifybackend/src/operation/get_backend_api/builders.rs b/sdk/amplifybackend/src/operation/get_backend_api/builders.rs index ce06274e4e46..054080c03b24 100644 --- a/sdk/amplifybackend/src/operation/get_backend_api/builders.rs +++ b/sdk/amplifybackend/src/operation/get_backend_api/builders.rs @@ -19,9 +19,9 @@ impl GetBackendAPIFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl GetBackendAPIFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::get_backend_api::GetBackendAPI, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

The app ID.

pub fn app_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.app_id(input.into()); diff --git a/sdk/amplifybackend/src/operation/get_backend_api_models/builders.rs b/sdk/amplifybackend/src/operation/get_backend_api_models/builders.rs index abdf6dc229bf..83087e830b54 100644 --- a/sdk/amplifybackend/src/operation/get_backend_api_models/builders.rs +++ b/sdk/amplifybackend/src/operation/get_backend_api_models/builders.rs @@ -19,9 +19,9 @@ impl GetBackendAPIModelsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl GetBackendAPIModelsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::get_backend_api_models::GetBackendAPIModels, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::get_backend_api_models::GetBackendAPIModelsError, + >, + > { + self.customize_middleware().await + } ///

The app ID.

pub fn app_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.app_id(input.into()); diff --git a/sdk/amplifybackend/src/operation/get_backend_auth/builders.rs b/sdk/amplifybackend/src/operation/get_backend_auth/builders.rs index 4896cc70ba06..0aa6247e0e49 100644 --- a/sdk/amplifybackend/src/operation/get_backend_auth/builders.rs +++ b/sdk/amplifybackend/src/operation/get_backend_auth/builders.rs @@ -19,9 +19,9 @@ impl GetBackendAuthFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl GetBackendAuthFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::get_backend_auth::GetBackendAuth, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::get_backend_auth::GetBackendAuthError, + >, + > { + self.customize_middleware().await + } ///

The app ID.

pub fn app_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.app_id(input.into()); diff --git a/sdk/amplifybackend/src/operation/get_backend_job/builders.rs b/sdk/amplifybackend/src/operation/get_backend_job/builders.rs index c27e20f03ee9..4c4b914fb842 100644 --- a/sdk/amplifybackend/src/operation/get_backend_job/builders.rs +++ b/sdk/amplifybackend/src/operation/get_backend_job/builders.rs @@ -19,9 +19,9 @@ impl GetBackendJobFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl GetBackendJobFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::get_backend_job::GetBackendJob, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

The app ID.

pub fn app_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.app_id(input.into()); diff --git a/sdk/amplifybackend/src/operation/get_backend_storage/builders.rs b/sdk/amplifybackend/src/operation/get_backend_storage/builders.rs index beade97a59d5..13176b248ded 100644 --- a/sdk/amplifybackend/src/operation/get_backend_storage/builders.rs +++ b/sdk/amplifybackend/src/operation/get_backend_storage/builders.rs @@ -19,9 +19,9 @@ impl GetBackendStorageFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl GetBackendStorageFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::get_backend_storage::GetBackendStorage, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::get_backend_storage::GetBackendStorageError, + >, + > { + self.customize_middleware().await + } ///

The app ID.

pub fn app_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.app_id(input.into()); diff --git a/sdk/amplifybackend/src/operation/get_token/builders.rs b/sdk/amplifybackend/src/operation/get_token/builders.rs index 49ef22068ebe..4cfa1219660e 100644 --- a/sdk/amplifybackend/src/operation/get_token/builders.rs +++ b/sdk/amplifybackend/src/operation/get_token/builders.rs @@ -19,9 +19,9 @@ impl GetTokenFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl GetTokenFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::get_token::GetToken, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

The app ID.

pub fn app_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.app_id(input.into()); diff --git a/sdk/amplifybackend/src/operation/import_backend_auth/builders.rs b/sdk/amplifybackend/src/operation/import_backend_auth/builders.rs index a939b2174dc7..a65c0f59731e 100644 --- a/sdk/amplifybackend/src/operation/import_backend_auth/builders.rs +++ b/sdk/amplifybackend/src/operation/import_backend_auth/builders.rs @@ -19,9 +19,9 @@ impl ImportBackendAuthFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl ImportBackendAuthFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::import_backend_auth::ImportBackendAuth, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::import_backend_auth::ImportBackendAuthError, + >, + > { + self.customize_middleware().await + } ///

The app ID.

pub fn app_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.app_id(input.into()); diff --git a/sdk/amplifybackend/src/operation/import_backend_storage/builders.rs b/sdk/amplifybackend/src/operation/import_backend_storage/builders.rs index f398445181df..c561f2232910 100644 --- a/sdk/amplifybackend/src/operation/import_backend_storage/builders.rs +++ b/sdk/amplifybackend/src/operation/import_backend_storage/builders.rs @@ -19,9 +19,9 @@ impl ImportBackendStorageFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl ImportBackendStorageFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::import_backend_storage::ImportBackendStorage, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::import_backend_storage::ImportBackendStorageError, + >, + > { + self.customize_middleware().await + } ///

The app ID.

pub fn app_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.app_id(input.into()); diff --git a/sdk/amplifybackend/src/operation/list_backend_jobs/builders.rs b/sdk/amplifybackend/src/operation/list_backend_jobs/builders.rs index 37b5b89c5b7e..5904fff791f0 100644 --- a/sdk/amplifybackend/src/operation/list_backend_jobs/builders.rs +++ b/sdk/amplifybackend/src/operation/list_backend_jobs/builders.rs @@ -19,9 +19,9 @@ impl ListBackendJobsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl ListBackendJobsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_backend_jobs::ListBackendJobs, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::list_backend_jobs::ListBackendJobsError, + >, + > { + self.customize_middleware().await + } ///

The app ID.

pub fn app_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.app_id(input.into()); diff --git a/sdk/amplifybackend/src/operation/list_s3_buckets/builders.rs b/sdk/amplifybackend/src/operation/list_s3_buckets/builders.rs index a5cefa861249..4a69ba290762 100644 --- a/sdk/amplifybackend/src/operation/list_s3_buckets/builders.rs +++ b/sdk/amplifybackend/src/operation/list_s3_buckets/builders.rs @@ -19,9 +19,9 @@ impl ListS3BucketsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl ListS3BucketsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_s3_buckets::ListS3Buckets, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

Reserved for future use.

pub fn next_token(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.next_token(input.into()); diff --git a/sdk/amplifybackend/src/operation/remove_all_backends/builders.rs b/sdk/amplifybackend/src/operation/remove_all_backends/builders.rs index 99180129e0c5..33ece9d060dd 100644 --- a/sdk/amplifybackend/src/operation/remove_all_backends/builders.rs +++ b/sdk/amplifybackend/src/operation/remove_all_backends/builders.rs @@ -19,9 +19,9 @@ impl RemoveAllBackendsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl RemoveAllBackendsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::remove_all_backends::RemoveAllBackends, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::remove_all_backends::RemoveAllBackendsError, + >, + > { + self.customize_middleware().await + } ///

The app ID.

pub fn app_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.app_id(input.into()); diff --git a/sdk/amplifybackend/src/operation/remove_backend_config/builders.rs b/sdk/amplifybackend/src/operation/remove_backend_config/builders.rs index fa0f0b3882ef..8a8205d7b24a 100644 --- a/sdk/amplifybackend/src/operation/remove_backend_config/builders.rs +++ b/sdk/amplifybackend/src/operation/remove_backend_config/builders.rs @@ -19,9 +19,9 @@ impl RemoveBackendConfigFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl RemoveBackendConfigFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::remove_backend_config::RemoveBackendConfig, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::remove_backend_config::RemoveBackendConfigError, + >, + > { + self.customize_middleware().await + } ///

The app ID.

pub fn app_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.app_id(input.into()); diff --git a/sdk/amplifybackend/src/operation/update_backend_api/builders.rs b/sdk/amplifybackend/src/operation/update_backend_api/builders.rs index 10c32184b350..a721eb25beed 100644 --- a/sdk/amplifybackend/src/operation/update_backend_api/builders.rs +++ b/sdk/amplifybackend/src/operation/update_backend_api/builders.rs @@ -19,9 +19,9 @@ impl UpdateBackendAPIFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl UpdateBackendAPIFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::update_backend_api::UpdateBackendAPI, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::update_backend_api::UpdateBackendAPIError, + >, + > { + self.customize_middleware().await + } ///

The app ID.

pub fn app_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.app_id(input.into()); diff --git a/sdk/amplifybackend/src/operation/update_backend_auth/builders.rs b/sdk/amplifybackend/src/operation/update_backend_auth/builders.rs index f76cb5adddff..2142e377650f 100644 --- a/sdk/amplifybackend/src/operation/update_backend_auth/builders.rs +++ b/sdk/amplifybackend/src/operation/update_backend_auth/builders.rs @@ -19,9 +19,9 @@ impl UpdateBackendAuthFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl UpdateBackendAuthFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::update_backend_auth::UpdateBackendAuth, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::update_backend_auth::UpdateBackendAuthError, + >, + > { + self.customize_middleware().await + } ///

The app ID.

pub fn app_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.app_id(input.into()); diff --git a/sdk/amplifybackend/src/operation/update_backend_config/builders.rs b/sdk/amplifybackend/src/operation/update_backend_config/builders.rs index 0acfd64f46ff..373864a051e9 100644 --- a/sdk/amplifybackend/src/operation/update_backend_config/builders.rs +++ b/sdk/amplifybackend/src/operation/update_backend_config/builders.rs @@ -19,9 +19,9 @@ impl UpdateBackendConfigFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl UpdateBackendConfigFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::update_backend_config::UpdateBackendConfig, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::update_backend_config::UpdateBackendConfigError, + >, + > { + self.customize_middleware().await + } ///

The app ID.

pub fn app_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.app_id(input.into()); diff --git a/sdk/amplifybackend/src/operation/update_backend_job/builders.rs b/sdk/amplifybackend/src/operation/update_backend_job/builders.rs index 9964a574d815..e6930a5fc8be 100644 --- a/sdk/amplifybackend/src/operation/update_backend_job/builders.rs +++ b/sdk/amplifybackend/src/operation/update_backend_job/builders.rs @@ -19,9 +19,9 @@ impl UpdateBackendJobFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl UpdateBackendJobFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::update_backend_job::UpdateBackendJob, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::update_backend_job::UpdateBackendJobError, + >, + > { + self.customize_middleware().await + } ///

The app ID.

pub fn app_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.app_id(input.into()); diff --git a/sdk/amplifybackend/src/operation/update_backend_storage/builders.rs b/sdk/amplifybackend/src/operation/update_backend_storage/builders.rs index 2879f895b439..34c7ecabe917 100644 --- a/sdk/amplifybackend/src/operation/update_backend_storage/builders.rs +++ b/sdk/amplifybackend/src/operation/update_backend_storage/builders.rs @@ -19,9 +19,9 @@ impl UpdateBackendStorageFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl UpdateBackendStorageFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::update_backend_storage::UpdateBackendStorage, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::update_backend_storage::UpdateBackendStorageError, + >, + > { + self.customize_middleware().await + } ///

The app ID.

pub fn app_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.app_id(input.into()); diff --git a/sdk/amplifyuibuilder/src/operation/create_component/builders.rs b/sdk/amplifyuibuilder/src/operation/create_component/builders.rs index f4e0a8809d94..3d45a6a9aaee 100644 --- a/sdk/amplifyuibuilder/src/operation/create_component/builders.rs +++ b/sdk/amplifyuibuilder/src/operation/create_component/builders.rs @@ -19,9 +19,9 @@ impl CreateComponentFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl CreateComponentFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::create_component::CreateComponent, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::create_component::CreateComponentError, + >, + > { + self.customize_middleware().await + } ///

The unique ID of the Amplify app to associate with the component.

pub fn app_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.app_id(input.into()); diff --git a/sdk/amplifyuibuilder/src/operation/create_form/builders.rs b/sdk/amplifyuibuilder/src/operation/create_form/builders.rs index ac86ade08e93..f8519f037dd3 100644 --- a/sdk/amplifyuibuilder/src/operation/create_form/builders.rs +++ b/sdk/amplifyuibuilder/src/operation/create_form/builders.rs @@ -19,9 +19,9 @@ impl CreateFormFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl CreateFormFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::create_form::CreateForm, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

The unique ID of the Amplify app to associate with the form.

pub fn app_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.app_id(input.into()); diff --git a/sdk/amplifyuibuilder/src/operation/create_theme/builders.rs b/sdk/amplifyuibuilder/src/operation/create_theme/builders.rs index 76c40adbbe68..8708ca29ce16 100644 --- a/sdk/amplifyuibuilder/src/operation/create_theme/builders.rs +++ b/sdk/amplifyuibuilder/src/operation/create_theme/builders.rs @@ -19,9 +19,9 @@ impl CreateThemeFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl CreateThemeFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::create_theme::CreateTheme, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

The unique ID of the Amplify app associated with the theme.

pub fn app_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.app_id(input.into()); diff --git a/sdk/amplifyuibuilder/src/operation/delete_component/builders.rs b/sdk/amplifyuibuilder/src/operation/delete_component/builders.rs index 235f972a8094..359631e49af1 100644 --- a/sdk/amplifyuibuilder/src/operation/delete_component/builders.rs +++ b/sdk/amplifyuibuilder/src/operation/delete_component/builders.rs @@ -19,9 +19,9 @@ impl DeleteComponentFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl DeleteComponentFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::delete_component::DeleteComponent, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::delete_component::DeleteComponentError, + >, + > { + self.customize_middleware().await + } ///

The unique ID of the Amplify app associated with the component to delete.

pub fn app_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.app_id(input.into()); diff --git a/sdk/amplifyuibuilder/src/operation/delete_form/builders.rs b/sdk/amplifyuibuilder/src/operation/delete_form/builders.rs index cb836a0ce008..c8233d4fe9f8 100644 --- a/sdk/amplifyuibuilder/src/operation/delete_form/builders.rs +++ b/sdk/amplifyuibuilder/src/operation/delete_form/builders.rs @@ -19,9 +19,9 @@ impl DeleteFormFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl DeleteFormFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::delete_form::DeleteForm, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

The unique ID of the Amplify app associated with the form to delete.

pub fn app_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.app_id(input.into()); diff --git a/sdk/amplifyuibuilder/src/operation/delete_theme/builders.rs b/sdk/amplifyuibuilder/src/operation/delete_theme/builders.rs index 1c8a05ff543f..ebdb68a31122 100644 --- a/sdk/amplifyuibuilder/src/operation/delete_theme/builders.rs +++ b/sdk/amplifyuibuilder/src/operation/delete_theme/builders.rs @@ -19,9 +19,9 @@ impl DeleteThemeFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl DeleteThemeFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::delete_theme::DeleteTheme, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

The unique ID of the Amplify app associated with the theme to delete.

pub fn app_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.app_id(input.into()); diff --git a/sdk/amplifyuibuilder/src/operation/exchange_code_for_token/builders.rs b/sdk/amplifyuibuilder/src/operation/exchange_code_for_token/builders.rs index f581d1183719..0342bd97bbf2 100644 --- a/sdk/amplifyuibuilder/src/operation/exchange_code_for_token/builders.rs +++ b/sdk/amplifyuibuilder/src/operation/exchange_code_for_token/builders.rs @@ -19,9 +19,9 @@ impl ExchangeCodeForTokenFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl ExchangeCodeForTokenFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::exchange_code_for_token::ExchangeCodeForToken, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::exchange_code_for_token::ExchangeCodeForTokenError, + >, + > { + self.customize_middleware().await + } ///

The third-party provider for the token. The only valid value is figma.

pub fn provider(mut self, input: crate::types::TokenProviders) -> Self { self.inner = self.inner.provider(input); diff --git a/sdk/amplifyuibuilder/src/operation/export_components/builders.rs b/sdk/amplifyuibuilder/src/operation/export_components/builders.rs index 45be33cc4829..5c2e5cc18827 100644 --- a/sdk/amplifyuibuilder/src/operation/export_components/builders.rs +++ b/sdk/amplifyuibuilder/src/operation/export_components/builders.rs @@ -19,9 +19,9 @@ impl ExportComponentsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl ExportComponentsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::export_components::ExportComponents, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::export_components::ExportComponentsError, + >, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::export_components::paginator::ExportComponentsPaginator::send) which returns a `Stream`. diff --git a/sdk/amplifyuibuilder/src/operation/export_forms/builders.rs b/sdk/amplifyuibuilder/src/operation/export_forms/builders.rs index 26ee8a882be4..e2e2cafb0fbe 100644 --- a/sdk/amplifyuibuilder/src/operation/export_forms/builders.rs +++ b/sdk/amplifyuibuilder/src/operation/export_forms/builders.rs @@ -19,9 +19,9 @@ impl ExportFormsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl ExportFormsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::export_forms::ExportForms, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::export_forms::paginator::ExportFormsPaginator::send) which returns a `Stream`. diff --git a/sdk/amplifyuibuilder/src/operation/export_themes/builders.rs b/sdk/amplifyuibuilder/src/operation/export_themes/builders.rs index c10aa52d4e5d..358424dc4d32 100644 --- a/sdk/amplifyuibuilder/src/operation/export_themes/builders.rs +++ b/sdk/amplifyuibuilder/src/operation/export_themes/builders.rs @@ -19,9 +19,9 @@ impl ExportThemesFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl ExportThemesFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::export_themes::ExportThemes, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::export_themes::paginator::ExportThemesPaginator::send) which returns a `Stream`. diff --git a/sdk/amplifyuibuilder/src/operation/get_component/builders.rs b/sdk/amplifyuibuilder/src/operation/get_component/builders.rs index 9d15ebde5da4..85f08a915578 100644 --- a/sdk/amplifyuibuilder/src/operation/get_component/builders.rs +++ b/sdk/amplifyuibuilder/src/operation/get_component/builders.rs @@ -19,9 +19,9 @@ impl GetComponentFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl GetComponentFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::get_component::GetComponent, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

The unique ID of the Amplify app.

pub fn app_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.app_id(input.into()); diff --git a/sdk/amplifyuibuilder/src/operation/get_form/builders.rs b/sdk/amplifyuibuilder/src/operation/get_form/builders.rs index 994ec72f5dcb..e6398f3b7ef3 100644 --- a/sdk/amplifyuibuilder/src/operation/get_form/builders.rs +++ b/sdk/amplifyuibuilder/src/operation/get_form/builders.rs @@ -19,9 +19,9 @@ impl GetFormFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl GetFormFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::get_form::GetForm, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

The unique ID of the Amplify app.

pub fn app_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.app_id(input.into()); diff --git a/sdk/amplifyuibuilder/src/operation/get_metadata/builders.rs b/sdk/amplifyuibuilder/src/operation/get_metadata/builders.rs index c9382b55d1b4..138f3cc6a390 100644 --- a/sdk/amplifyuibuilder/src/operation/get_metadata/builders.rs +++ b/sdk/amplifyuibuilder/src/operation/get_metadata/builders.rs @@ -19,9 +19,9 @@ impl GetMetadataFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl GetMetadataFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::get_metadata::GetMetadata, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

The unique ID of the Amplify app.

pub fn app_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.app_id(input.into()); diff --git a/sdk/amplifyuibuilder/src/operation/get_theme/builders.rs b/sdk/amplifyuibuilder/src/operation/get_theme/builders.rs index cc02cc2d1d13..4ab9511bc544 100644 --- a/sdk/amplifyuibuilder/src/operation/get_theme/builders.rs +++ b/sdk/amplifyuibuilder/src/operation/get_theme/builders.rs @@ -19,9 +19,9 @@ impl GetThemeFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl GetThemeFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::get_theme::GetTheme, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

The unique ID of the Amplify app.

pub fn app_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.app_id(input.into()); diff --git a/sdk/amplifyuibuilder/src/operation/list_components/builders.rs b/sdk/amplifyuibuilder/src/operation/list_components/builders.rs index cc7bcc0de555..94739925877c 100644 --- a/sdk/amplifyuibuilder/src/operation/list_components/builders.rs +++ b/sdk/amplifyuibuilder/src/operation/list_components/builders.rs @@ -19,9 +19,9 @@ impl ListComponentsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl ListComponentsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_components::ListComponents, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::list_components::paginator::ListComponentsPaginator::send) which returns a `Stream`. diff --git a/sdk/amplifyuibuilder/src/operation/list_forms/builders.rs b/sdk/amplifyuibuilder/src/operation/list_forms/builders.rs index 4d7cbac2fba7..a5ef4936915a 100644 --- a/sdk/amplifyuibuilder/src/operation/list_forms/builders.rs +++ b/sdk/amplifyuibuilder/src/operation/list_forms/builders.rs @@ -19,9 +19,9 @@ impl ListFormsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl ListFormsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_forms::ListForms, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::list_forms::paginator::ListFormsPaginator::send) which returns a `Stream`. diff --git a/sdk/amplifyuibuilder/src/operation/list_themes/builders.rs b/sdk/amplifyuibuilder/src/operation/list_themes/builders.rs index 73d808567a6c..d5068c755c40 100644 --- a/sdk/amplifyuibuilder/src/operation/list_themes/builders.rs +++ b/sdk/amplifyuibuilder/src/operation/list_themes/builders.rs @@ -19,9 +19,9 @@ impl ListThemesFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl ListThemesFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_themes::ListThemes, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::list_themes::paginator::ListThemesPaginator::send) which returns a `Stream`. diff --git a/sdk/amplifyuibuilder/src/operation/put_metadata_flag/builders.rs b/sdk/amplifyuibuilder/src/operation/put_metadata_flag/builders.rs index 950508e68d5e..1a4655c7fcaf 100644 --- a/sdk/amplifyuibuilder/src/operation/put_metadata_flag/builders.rs +++ b/sdk/amplifyuibuilder/src/operation/put_metadata_flag/builders.rs @@ -19,9 +19,9 @@ impl PutMetadataFlagFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl PutMetadataFlagFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::put_metadata_flag::PutMetadataFlag, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::put_metadata_flag::PutMetadataFlagError, + >, + > { + self.customize_middleware().await + } ///

The unique ID for the Amplify app.

pub fn app_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.app_id(input.into()); diff --git a/sdk/amplifyuibuilder/src/operation/refresh_token/builders.rs b/sdk/amplifyuibuilder/src/operation/refresh_token/builders.rs index 623546b1059c..f08c274d8264 100644 --- a/sdk/amplifyuibuilder/src/operation/refresh_token/builders.rs +++ b/sdk/amplifyuibuilder/src/operation/refresh_token/builders.rs @@ -19,9 +19,9 @@ impl RefreshTokenFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl RefreshTokenFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::refresh_token::RefreshToken, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

The third-party provider for the token. The only valid value is figma.

pub fn provider(mut self, input: crate::types::TokenProviders) -> Self { self.inner = self.inner.provider(input); diff --git a/sdk/amplifyuibuilder/src/operation/update_component/builders.rs b/sdk/amplifyuibuilder/src/operation/update_component/builders.rs index bd5ac39d6533..d1e22dbb701f 100644 --- a/sdk/amplifyuibuilder/src/operation/update_component/builders.rs +++ b/sdk/amplifyuibuilder/src/operation/update_component/builders.rs @@ -19,9 +19,9 @@ impl UpdateComponentFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl UpdateComponentFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::update_component::UpdateComponent, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::update_component::UpdateComponentError, + >, + > { + self.customize_middleware().await + } ///

The unique ID for the Amplify app.

pub fn app_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.app_id(input.into()); diff --git a/sdk/amplifyuibuilder/src/operation/update_form/builders.rs b/sdk/amplifyuibuilder/src/operation/update_form/builders.rs index 22a127ed749e..592365ece350 100644 --- a/sdk/amplifyuibuilder/src/operation/update_form/builders.rs +++ b/sdk/amplifyuibuilder/src/operation/update_form/builders.rs @@ -19,9 +19,9 @@ impl UpdateFormFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl UpdateFormFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::update_form::UpdateForm, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

The unique ID for the Amplify app.

pub fn app_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.app_id(input.into()); diff --git a/sdk/amplifyuibuilder/src/operation/update_theme/builders.rs b/sdk/amplifyuibuilder/src/operation/update_theme/builders.rs index bc24e2906db8..5fbff55df10f 100644 --- a/sdk/amplifyuibuilder/src/operation/update_theme/builders.rs +++ b/sdk/amplifyuibuilder/src/operation/update_theme/builders.rs @@ -19,9 +19,9 @@ impl UpdateThemeFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl UpdateThemeFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::update_theme::UpdateTheme, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

The unique ID for the Amplify app.

pub fn app_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.app_id(input.into()); diff --git a/sdk/apigateway/src/operation/create_api_key/builders.rs b/sdk/apigateway/src/operation/create_api_key/builders.rs index f56906e5a83a..bbadb6e43f1c 100644 --- a/sdk/apigateway/src/operation/create_api_key/builders.rs +++ b/sdk/apigateway/src/operation/create_api_key/builders.rs @@ -19,9 +19,9 @@ impl CreateApiKeyFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl CreateApiKeyFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::create_api_key::CreateApiKey, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

The name of the ApiKey.

pub fn name(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.name(input.into()); diff --git a/sdk/apigateway/src/operation/create_authorizer/builders.rs b/sdk/apigateway/src/operation/create_authorizer/builders.rs index 593baf4a70e0..fea31e5f6a42 100644 --- a/sdk/apigateway/src/operation/create_authorizer/builders.rs +++ b/sdk/apigateway/src/operation/create_authorizer/builders.rs @@ -19,9 +19,9 @@ impl CreateAuthorizerFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl CreateAuthorizerFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::create_authorizer::CreateAuthorizer, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::create_authorizer::CreateAuthorizerError, + >, + > { + self.customize_middleware().await + } ///

The string identifier of the associated RestApi.

pub fn rest_api_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.rest_api_id(input.into()); diff --git a/sdk/apigateway/src/operation/create_base_path_mapping/builders.rs b/sdk/apigateway/src/operation/create_base_path_mapping/builders.rs index 8ad925e1749f..3007532b69c6 100644 --- a/sdk/apigateway/src/operation/create_base_path_mapping/builders.rs +++ b/sdk/apigateway/src/operation/create_base_path_mapping/builders.rs @@ -19,9 +19,9 @@ impl CreateBasePathMappingFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl CreateBasePathMappingFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::create_base_path_mapping::CreateBasePathMapping, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::create_base_path_mapping::CreateBasePathMappingError, + >, + > { + self.customize_middleware().await + } ///

The domain name of the BasePathMapping resource to create.

pub fn domain_name(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.domain_name(input.into()); diff --git a/sdk/apigateway/src/operation/create_deployment/builders.rs b/sdk/apigateway/src/operation/create_deployment/builders.rs index c09e85efa92a..45c29bf6f789 100644 --- a/sdk/apigateway/src/operation/create_deployment/builders.rs +++ b/sdk/apigateway/src/operation/create_deployment/builders.rs @@ -19,9 +19,9 @@ impl CreateDeploymentFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl CreateDeploymentFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::create_deployment::CreateDeployment, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::create_deployment::CreateDeploymentError, + >, + > { + self.customize_middleware().await + } ///

The string identifier of the associated RestApi.

pub fn rest_api_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.rest_api_id(input.into()); diff --git a/sdk/apigateway/src/operation/create_documentation_part/builders.rs b/sdk/apigateway/src/operation/create_documentation_part/builders.rs index e68b00893069..98ea2456a766 100644 --- a/sdk/apigateway/src/operation/create_documentation_part/builders.rs +++ b/sdk/apigateway/src/operation/create_documentation_part/builders.rs @@ -20,9 +20,9 @@ impl CreateDocumentationPartFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -84,6 +84,22 @@ impl CreateDocumentationPartFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::create_documentation_part::CreateDocumentationPart, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::create_documentation_part::CreateDocumentationPartError, + >, + > { + self.customize_middleware().await + } ///

The string identifier of the associated RestApi.

pub fn rest_api_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.rest_api_id(input.into()); diff --git a/sdk/apigateway/src/operation/create_documentation_version/builders.rs b/sdk/apigateway/src/operation/create_documentation_version/builders.rs index 27ce8d4beded..cec0a5ec7d1b 100644 --- a/sdk/apigateway/src/operation/create_documentation_version/builders.rs +++ b/sdk/apigateway/src/operation/create_documentation_version/builders.rs @@ -19,9 +19,9 @@ impl CreateDocumentationVersionFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl CreateDocumentationVersionFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::create_documentation_version::CreateDocumentationVersion, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::create_documentation_version::CreateDocumentationVersionError, + >, + > { + self.customize_middleware().await + } ///

The string identifier of the associated RestApi.

pub fn rest_api_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.rest_api_id(input.into()); diff --git a/sdk/apigateway/src/operation/create_domain_name/builders.rs b/sdk/apigateway/src/operation/create_domain_name/builders.rs index 512e0a1f0fe2..507746929a42 100644 --- a/sdk/apigateway/src/operation/create_domain_name/builders.rs +++ b/sdk/apigateway/src/operation/create_domain_name/builders.rs @@ -19,9 +19,9 @@ impl CreateDomainNameFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl CreateDomainNameFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::create_domain_name::CreateDomainName, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::create_domain_name::CreateDomainNameError, + >, + > { + self.customize_middleware().await + } ///

The name of the DomainName resource.

pub fn domain_name(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.domain_name(input.into()); diff --git a/sdk/apigateway/src/operation/create_model/builders.rs b/sdk/apigateway/src/operation/create_model/builders.rs index ba303c2ffea9..5880525db0c3 100644 --- a/sdk/apigateway/src/operation/create_model/builders.rs +++ b/sdk/apigateway/src/operation/create_model/builders.rs @@ -19,9 +19,9 @@ impl CreateModelFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl CreateModelFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::create_model::CreateModel, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

The RestApi identifier under which the Model will be created.

pub fn rest_api_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.rest_api_id(input.into()); diff --git a/sdk/apigateway/src/operation/create_request_validator/builders.rs b/sdk/apigateway/src/operation/create_request_validator/builders.rs index 491f1520aa14..554e9de1f79b 100644 --- a/sdk/apigateway/src/operation/create_request_validator/builders.rs +++ b/sdk/apigateway/src/operation/create_request_validator/builders.rs @@ -19,9 +19,9 @@ impl CreateRequestValidatorFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl CreateRequestValidatorFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::create_request_validator::CreateRequestValidator, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::create_request_validator::CreateRequestValidatorError, + >, + > { + self.customize_middleware().await + } ///

The string identifier of the associated RestApi.

pub fn rest_api_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.rest_api_id(input.into()); diff --git a/sdk/apigateway/src/operation/create_resource/builders.rs b/sdk/apigateway/src/operation/create_resource/builders.rs index 876c44777a0c..42c2521baa2e 100644 --- a/sdk/apigateway/src/operation/create_resource/builders.rs +++ b/sdk/apigateway/src/operation/create_resource/builders.rs @@ -19,9 +19,9 @@ impl CreateResourceFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl CreateResourceFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::create_resource::CreateResource, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

The string identifier of the associated RestApi.

pub fn rest_api_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.rest_api_id(input.into()); diff --git a/sdk/apigateway/src/operation/create_rest_api/builders.rs b/sdk/apigateway/src/operation/create_rest_api/builders.rs index c9c2ab35bbce..902b22cdd3dc 100644 --- a/sdk/apigateway/src/operation/create_rest_api/builders.rs +++ b/sdk/apigateway/src/operation/create_rest_api/builders.rs @@ -19,9 +19,9 @@ impl CreateRestApiFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl CreateRestApiFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::create_rest_api::CreateRestApi, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

The name of the RestApi.

pub fn name(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.name(input.into()); diff --git a/sdk/apigateway/src/operation/create_stage/builders.rs b/sdk/apigateway/src/operation/create_stage/builders.rs index 01b24d13dfc0..af80eb5c5fd4 100644 --- a/sdk/apigateway/src/operation/create_stage/builders.rs +++ b/sdk/apigateway/src/operation/create_stage/builders.rs @@ -19,9 +19,9 @@ impl CreateStageFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl CreateStageFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::create_stage::CreateStage, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

The string identifier of the associated RestApi.

pub fn rest_api_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.rest_api_id(input.into()); diff --git a/sdk/apigateway/src/operation/create_usage_plan/builders.rs b/sdk/apigateway/src/operation/create_usage_plan/builders.rs index 65814dad99bc..2d823117282f 100644 --- a/sdk/apigateway/src/operation/create_usage_plan/builders.rs +++ b/sdk/apigateway/src/operation/create_usage_plan/builders.rs @@ -19,9 +19,9 @@ impl CreateUsagePlanFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl CreateUsagePlanFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::create_usage_plan::CreateUsagePlan, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::create_usage_plan::CreateUsagePlanError, + >, + > { + self.customize_middleware().await + } ///

The name of the usage plan.

pub fn name(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.name(input.into()); diff --git a/sdk/apigateway/src/operation/create_usage_plan_key/builders.rs b/sdk/apigateway/src/operation/create_usage_plan_key/builders.rs index 2d33ff109c2e..cd6aa70c506d 100644 --- a/sdk/apigateway/src/operation/create_usage_plan_key/builders.rs +++ b/sdk/apigateway/src/operation/create_usage_plan_key/builders.rs @@ -19,9 +19,9 @@ impl CreateUsagePlanKeyFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl CreateUsagePlanKeyFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::create_usage_plan_key::CreateUsagePlanKey, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::create_usage_plan_key::CreateUsagePlanKeyError, + >, + > { + self.customize_middleware().await + } ///

The Id of the UsagePlan resource representing the usage plan containing the to-be-created UsagePlanKey resource representing a plan customer.

pub fn usage_plan_id( mut self, diff --git a/sdk/apigateway/src/operation/create_vpc_link/builders.rs b/sdk/apigateway/src/operation/create_vpc_link/builders.rs index 144cbbbf671e..d8b0480ee923 100644 --- a/sdk/apigateway/src/operation/create_vpc_link/builders.rs +++ b/sdk/apigateway/src/operation/create_vpc_link/builders.rs @@ -19,9 +19,9 @@ impl CreateVpcLinkFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl CreateVpcLinkFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::create_vpc_link::CreateVpcLink, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

The name used to label and identify the VPC link.

pub fn name(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.name(input.into()); diff --git a/sdk/apigateway/src/operation/delete_api_key/builders.rs b/sdk/apigateway/src/operation/delete_api_key/builders.rs index 0918d742962a..ffd567405820 100644 --- a/sdk/apigateway/src/operation/delete_api_key/builders.rs +++ b/sdk/apigateway/src/operation/delete_api_key/builders.rs @@ -19,9 +19,9 @@ impl DeleteApiKeyFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl DeleteApiKeyFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::delete_api_key::DeleteApiKey, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

The identifier of the ApiKey resource to be deleted.

pub fn api_key(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.api_key(input.into()); diff --git a/sdk/apigateway/src/operation/delete_authorizer/builders.rs b/sdk/apigateway/src/operation/delete_authorizer/builders.rs index ffae3d9ec552..83078393f98b 100644 --- a/sdk/apigateway/src/operation/delete_authorizer/builders.rs +++ b/sdk/apigateway/src/operation/delete_authorizer/builders.rs @@ -19,9 +19,9 @@ impl DeleteAuthorizerFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl DeleteAuthorizerFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::delete_authorizer::DeleteAuthorizer, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::delete_authorizer::DeleteAuthorizerError, + >, + > { + self.customize_middleware().await + } ///

The string identifier of the associated RestApi.

pub fn rest_api_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.rest_api_id(input.into()); diff --git a/sdk/apigateway/src/operation/delete_base_path_mapping/builders.rs b/sdk/apigateway/src/operation/delete_base_path_mapping/builders.rs index 5a3c94db3db2..6de7f2e7f425 100644 --- a/sdk/apigateway/src/operation/delete_base_path_mapping/builders.rs +++ b/sdk/apigateway/src/operation/delete_base_path_mapping/builders.rs @@ -19,9 +19,9 @@ impl DeleteBasePathMappingFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl DeleteBasePathMappingFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::delete_base_path_mapping::DeleteBasePathMapping, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::delete_base_path_mapping::DeleteBasePathMappingError, + >, + > { + self.customize_middleware().await + } ///

The domain name of the BasePathMapping resource to delete.

pub fn domain_name(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.domain_name(input.into()); diff --git a/sdk/apigateway/src/operation/delete_client_certificate/builders.rs b/sdk/apigateway/src/operation/delete_client_certificate/builders.rs index e261892b308c..a1a2b2de1e60 100644 --- a/sdk/apigateway/src/operation/delete_client_certificate/builders.rs +++ b/sdk/apigateway/src/operation/delete_client_certificate/builders.rs @@ -20,9 +20,9 @@ impl DeleteClientCertificateFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -84,6 +84,22 @@ impl DeleteClientCertificateFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::delete_client_certificate::DeleteClientCertificate, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::delete_client_certificate::DeleteClientCertificateError, + >, + > { + self.customize_middleware().await + } ///

The identifier of the ClientCertificate resource to be deleted.

pub fn client_certificate_id( mut self, diff --git a/sdk/apigateway/src/operation/delete_deployment/builders.rs b/sdk/apigateway/src/operation/delete_deployment/builders.rs index e239fc8915ea..42c57937f245 100644 --- a/sdk/apigateway/src/operation/delete_deployment/builders.rs +++ b/sdk/apigateway/src/operation/delete_deployment/builders.rs @@ -19,9 +19,9 @@ impl DeleteDeploymentFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl DeleteDeploymentFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::delete_deployment::DeleteDeployment, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::delete_deployment::DeleteDeploymentError, + >, + > { + self.customize_middleware().await + } ///

The string identifier of the associated RestApi.

pub fn rest_api_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.rest_api_id(input.into()); diff --git a/sdk/apigateway/src/operation/delete_documentation_part/builders.rs b/sdk/apigateway/src/operation/delete_documentation_part/builders.rs index 360491f8ad33..a1434076b185 100644 --- a/sdk/apigateway/src/operation/delete_documentation_part/builders.rs +++ b/sdk/apigateway/src/operation/delete_documentation_part/builders.rs @@ -20,9 +20,9 @@ impl DeleteDocumentationPartFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -84,6 +84,22 @@ impl DeleteDocumentationPartFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::delete_documentation_part::DeleteDocumentationPart, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::delete_documentation_part::DeleteDocumentationPartError, + >, + > { + self.customize_middleware().await + } ///

The string identifier of the associated RestApi.

pub fn rest_api_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.rest_api_id(input.into()); diff --git a/sdk/apigateway/src/operation/delete_documentation_version/builders.rs b/sdk/apigateway/src/operation/delete_documentation_version/builders.rs index 4777f7590a21..7f14edcd9f79 100644 --- a/sdk/apigateway/src/operation/delete_documentation_version/builders.rs +++ b/sdk/apigateway/src/operation/delete_documentation_version/builders.rs @@ -19,9 +19,9 @@ impl DeleteDocumentationVersionFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl DeleteDocumentationVersionFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::delete_documentation_version::DeleteDocumentationVersion, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::delete_documentation_version::DeleteDocumentationVersionError, + >, + > { + self.customize_middleware().await + } ///

The string identifier of the associated RestApi.

pub fn rest_api_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.rest_api_id(input.into()); diff --git a/sdk/apigateway/src/operation/delete_domain_name/builders.rs b/sdk/apigateway/src/operation/delete_domain_name/builders.rs index b098b3e0a30a..38bcee8ee988 100644 --- a/sdk/apigateway/src/operation/delete_domain_name/builders.rs +++ b/sdk/apigateway/src/operation/delete_domain_name/builders.rs @@ -19,9 +19,9 @@ impl DeleteDomainNameFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl DeleteDomainNameFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::delete_domain_name::DeleteDomainName, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::delete_domain_name::DeleteDomainNameError, + >, + > { + self.customize_middleware().await + } ///

The name of the DomainName resource to be deleted.

pub fn domain_name(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.domain_name(input.into()); diff --git a/sdk/apigateway/src/operation/delete_gateway_response/builders.rs b/sdk/apigateway/src/operation/delete_gateway_response/builders.rs index c0d65cd532ac..33501030a247 100644 --- a/sdk/apigateway/src/operation/delete_gateway_response/builders.rs +++ b/sdk/apigateway/src/operation/delete_gateway_response/builders.rs @@ -19,9 +19,9 @@ impl DeleteGatewayResponseFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl DeleteGatewayResponseFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::delete_gateway_response::DeleteGatewayResponse, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::delete_gateway_response::DeleteGatewayResponseError, + >, + > { + self.customize_middleware().await + } ///

The string identifier of the associated RestApi.

pub fn rest_api_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.rest_api_id(input.into()); diff --git a/sdk/apigateway/src/operation/delete_integration/builders.rs b/sdk/apigateway/src/operation/delete_integration/builders.rs index 7620863c1804..6fd6f78fa595 100644 --- a/sdk/apigateway/src/operation/delete_integration/builders.rs +++ b/sdk/apigateway/src/operation/delete_integration/builders.rs @@ -19,9 +19,9 @@ impl DeleteIntegrationFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl DeleteIntegrationFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::delete_integration::DeleteIntegration, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::delete_integration::DeleteIntegrationError, + >, + > { + self.customize_middleware().await + } ///

The string identifier of the associated RestApi.

pub fn rest_api_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.rest_api_id(input.into()); diff --git a/sdk/apigateway/src/operation/delete_integration_response/builders.rs b/sdk/apigateway/src/operation/delete_integration_response/builders.rs index 1beabb29e488..9b122a1670c1 100644 --- a/sdk/apigateway/src/operation/delete_integration_response/builders.rs +++ b/sdk/apigateway/src/operation/delete_integration_response/builders.rs @@ -19,9 +19,9 @@ impl DeleteIntegrationResponseFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl DeleteIntegrationResponseFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::delete_integration_response::DeleteIntegrationResponse, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::delete_integration_response::DeleteIntegrationResponseError, + >, + > { + self.customize_middleware().await + } ///

The string identifier of the associated RestApi.

pub fn rest_api_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.rest_api_id(input.into()); diff --git a/sdk/apigateway/src/operation/delete_method/builders.rs b/sdk/apigateway/src/operation/delete_method/builders.rs index c512718d3cc3..f615386eb8b9 100644 --- a/sdk/apigateway/src/operation/delete_method/builders.rs +++ b/sdk/apigateway/src/operation/delete_method/builders.rs @@ -19,9 +19,9 @@ impl DeleteMethodFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl DeleteMethodFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::delete_method::DeleteMethod, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

The string identifier of the associated RestApi.

pub fn rest_api_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.rest_api_id(input.into()); diff --git a/sdk/apigateway/src/operation/delete_method_response/builders.rs b/sdk/apigateway/src/operation/delete_method_response/builders.rs index 6c5fb3d0db2d..8b9b259d2afe 100644 --- a/sdk/apigateway/src/operation/delete_method_response/builders.rs +++ b/sdk/apigateway/src/operation/delete_method_response/builders.rs @@ -19,9 +19,9 @@ impl DeleteMethodResponseFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl DeleteMethodResponseFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::delete_method_response::DeleteMethodResponse, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::delete_method_response::DeleteMethodResponseError, + >, + > { + self.customize_middleware().await + } ///

The string identifier of the associated RestApi.

pub fn rest_api_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.rest_api_id(input.into()); diff --git a/sdk/apigateway/src/operation/delete_model/builders.rs b/sdk/apigateway/src/operation/delete_model/builders.rs index 8938d1a9b857..1bc17c4b7401 100644 --- a/sdk/apigateway/src/operation/delete_model/builders.rs +++ b/sdk/apigateway/src/operation/delete_model/builders.rs @@ -19,9 +19,9 @@ impl DeleteModelFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl DeleteModelFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::delete_model::DeleteModel, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

The string identifier of the associated RestApi.

pub fn rest_api_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.rest_api_id(input.into()); diff --git a/sdk/apigateway/src/operation/delete_request_validator/builders.rs b/sdk/apigateway/src/operation/delete_request_validator/builders.rs index 6c7a12bf68e9..28809de0eeee 100644 --- a/sdk/apigateway/src/operation/delete_request_validator/builders.rs +++ b/sdk/apigateway/src/operation/delete_request_validator/builders.rs @@ -19,9 +19,9 @@ impl DeleteRequestValidatorFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl DeleteRequestValidatorFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::delete_request_validator::DeleteRequestValidator, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::delete_request_validator::DeleteRequestValidatorError, + >, + > { + self.customize_middleware().await + } ///

The string identifier of the associated RestApi.

pub fn rest_api_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.rest_api_id(input.into()); diff --git a/sdk/apigateway/src/operation/delete_resource/builders.rs b/sdk/apigateway/src/operation/delete_resource/builders.rs index e2665b3bbef4..601dc9579565 100644 --- a/sdk/apigateway/src/operation/delete_resource/builders.rs +++ b/sdk/apigateway/src/operation/delete_resource/builders.rs @@ -19,9 +19,9 @@ impl DeleteResourceFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl DeleteResourceFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::delete_resource::DeleteResource, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

The string identifier of the associated RestApi.

pub fn rest_api_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.rest_api_id(input.into()); diff --git a/sdk/apigateway/src/operation/delete_rest_api/builders.rs b/sdk/apigateway/src/operation/delete_rest_api/builders.rs index a2d1c7f98aa0..3fe66ce93fca 100644 --- a/sdk/apigateway/src/operation/delete_rest_api/builders.rs +++ b/sdk/apigateway/src/operation/delete_rest_api/builders.rs @@ -19,9 +19,9 @@ impl DeleteRestApiFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl DeleteRestApiFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::delete_rest_api::DeleteRestApi, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

The string identifier of the associated RestApi.

pub fn rest_api_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.rest_api_id(input.into()); diff --git a/sdk/apigateway/src/operation/delete_stage/builders.rs b/sdk/apigateway/src/operation/delete_stage/builders.rs index 83812660706e..a1b488567547 100644 --- a/sdk/apigateway/src/operation/delete_stage/builders.rs +++ b/sdk/apigateway/src/operation/delete_stage/builders.rs @@ -19,9 +19,9 @@ impl DeleteStageFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl DeleteStageFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::delete_stage::DeleteStage, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

The string identifier of the associated RestApi.

pub fn rest_api_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.rest_api_id(input.into()); diff --git a/sdk/apigateway/src/operation/delete_usage_plan/builders.rs b/sdk/apigateway/src/operation/delete_usage_plan/builders.rs index 9aa408f757dd..ab6f1b9e5f8a 100644 --- a/sdk/apigateway/src/operation/delete_usage_plan/builders.rs +++ b/sdk/apigateway/src/operation/delete_usage_plan/builders.rs @@ -19,9 +19,9 @@ impl DeleteUsagePlanFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl DeleteUsagePlanFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::delete_usage_plan::DeleteUsagePlan, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::delete_usage_plan::DeleteUsagePlanError, + >, + > { + self.customize_middleware().await + } ///

The Id of the to-be-deleted usage plan.

pub fn usage_plan_id( mut self, diff --git a/sdk/apigateway/src/operation/delete_usage_plan_key/builders.rs b/sdk/apigateway/src/operation/delete_usage_plan_key/builders.rs index a28909e093cc..c8f06b486530 100644 --- a/sdk/apigateway/src/operation/delete_usage_plan_key/builders.rs +++ b/sdk/apigateway/src/operation/delete_usage_plan_key/builders.rs @@ -19,9 +19,9 @@ impl DeleteUsagePlanKeyFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl DeleteUsagePlanKeyFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::delete_usage_plan_key::DeleteUsagePlanKey, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::delete_usage_plan_key::DeleteUsagePlanKeyError, + >, + > { + self.customize_middleware().await + } ///

The Id of the UsagePlan resource representing the usage plan containing the to-be-deleted UsagePlanKey resource representing a plan customer.

pub fn usage_plan_id( mut self, diff --git a/sdk/apigateway/src/operation/delete_vpc_link/builders.rs b/sdk/apigateway/src/operation/delete_vpc_link/builders.rs index 7c03eb4e5bb8..eb02e1a2ddde 100644 --- a/sdk/apigateway/src/operation/delete_vpc_link/builders.rs +++ b/sdk/apigateway/src/operation/delete_vpc_link/builders.rs @@ -19,9 +19,9 @@ impl DeleteVpcLinkFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl DeleteVpcLinkFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::delete_vpc_link::DeleteVpcLink, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

The identifier of the VpcLink. It is used in an Integration to reference this VpcLink.

pub fn vpc_link_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.vpc_link_id(input.into()); diff --git a/sdk/apigateway/src/operation/flush_stage_authorizers_cache/builders.rs b/sdk/apigateway/src/operation/flush_stage_authorizers_cache/builders.rs index 2330a2d10fd1..860929262ec2 100644 --- a/sdk/apigateway/src/operation/flush_stage_authorizers_cache/builders.rs +++ b/sdk/apigateway/src/operation/flush_stage_authorizers_cache/builders.rs @@ -19,9 +19,9 @@ impl FlushStageAuthorizersCacheFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl FlushStageAuthorizersCacheFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::flush_stage_authorizers_cache::FlushStageAuthorizersCache, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::flush_stage_authorizers_cache::FlushStageAuthorizersCacheError, + >, + > { + self.customize_middleware().await + } ///

The string identifier of the associated RestApi.

pub fn rest_api_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.rest_api_id(input.into()); diff --git a/sdk/apigateway/src/operation/flush_stage_cache/builders.rs b/sdk/apigateway/src/operation/flush_stage_cache/builders.rs index 4d2d7e14faff..6c001079068f 100644 --- a/sdk/apigateway/src/operation/flush_stage_cache/builders.rs +++ b/sdk/apigateway/src/operation/flush_stage_cache/builders.rs @@ -19,9 +19,9 @@ impl FlushStageCacheFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl FlushStageCacheFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::flush_stage_cache::FlushStageCache, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::flush_stage_cache::FlushStageCacheError, + >, + > { + self.customize_middleware().await + } ///

The string identifier of the associated RestApi.

pub fn rest_api_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.rest_api_id(input.into()); diff --git a/sdk/apigateway/src/operation/generate_client_certificate/builders.rs b/sdk/apigateway/src/operation/generate_client_certificate/builders.rs index 97b4573024da..c0f539edbbc4 100644 --- a/sdk/apigateway/src/operation/generate_client_certificate/builders.rs +++ b/sdk/apigateway/src/operation/generate_client_certificate/builders.rs @@ -19,9 +19,9 @@ impl GenerateClientCertificateFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl GenerateClientCertificateFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::generate_client_certificate::GenerateClientCertificate, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::generate_client_certificate::GenerateClientCertificateError, + >, + > { + self.customize_middleware().await + } ///

The description of the ClientCertificate.

pub fn description(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.description(input.into()); diff --git a/sdk/apigateway/src/operation/get_account/builders.rs b/sdk/apigateway/src/operation/get_account/builders.rs index 75562527b198..e29ec14e8cb1 100644 --- a/sdk/apigateway/src/operation/get_account/builders.rs +++ b/sdk/apigateway/src/operation/get_account/builders.rs @@ -19,9 +19,9 @@ impl GetAccountFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,4 +77,18 @@ impl GetAccountFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::get_account::GetAccount, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } } diff --git a/sdk/apigateway/src/operation/get_api_key/builders.rs b/sdk/apigateway/src/operation/get_api_key/builders.rs index 9f79e666b92b..b790eea7ab06 100644 --- a/sdk/apigateway/src/operation/get_api_key/builders.rs +++ b/sdk/apigateway/src/operation/get_api_key/builders.rs @@ -19,9 +19,9 @@ impl GetApiKeyFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl GetApiKeyFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::get_api_key::GetApiKey, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

The identifier of the ApiKey resource.

pub fn api_key(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.api_key(input.into()); diff --git a/sdk/apigateway/src/operation/get_api_keys/builders.rs b/sdk/apigateway/src/operation/get_api_keys/builders.rs index f0baefcb541d..07e98920d8b7 100644 --- a/sdk/apigateway/src/operation/get_api_keys/builders.rs +++ b/sdk/apigateway/src/operation/get_api_keys/builders.rs @@ -19,9 +19,9 @@ impl GetApiKeysFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl GetApiKeysFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::get_api_keys::GetApiKeys, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::get_api_keys::paginator::GetApiKeysPaginator::send) which returns a `Stream`. diff --git a/sdk/apigateway/src/operation/get_authorizer/builders.rs b/sdk/apigateway/src/operation/get_authorizer/builders.rs index ecca62e7483e..409a6b6e7ca8 100644 --- a/sdk/apigateway/src/operation/get_authorizer/builders.rs +++ b/sdk/apigateway/src/operation/get_authorizer/builders.rs @@ -19,9 +19,9 @@ impl GetAuthorizerFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl GetAuthorizerFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::get_authorizer::GetAuthorizer, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

The string identifier of the associated RestApi.

pub fn rest_api_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.rest_api_id(input.into()); diff --git a/sdk/apigateway/src/operation/get_authorizers/builders.rs b/sdk/apigateway/src/operation/get_authorizers/builders.rs index a42598dedcbd..4554a2b79d9b 100644 --- a/sdk/apigateway/src/operation/get_authorizers/builders.rs +++ b/sdk/apigateway/src/operation/get_authorizers/builders.rs @@ -19,9 +19,9 @@ impl GetAuthorizersFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl GetAuthorizersFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::get_authorizers::GetAuthorizers, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

The string identifier of the associated RestApi.

pub fn rest_api_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.rest_api_id(input.into()); diff --git a/sdk/apigateway/src/operation/get_base_path_mapping/builders.rs b/sdk/apigateway/src/operation/get_base_path_mapping/builders.rs index 5086bb4b4e76..73a3fb8127b9 100644 --- a/sdk/apigateway/src/operation/get_base_path_mapping/builders.rs +++ b/sdk/apigateway/src/operation/get_base_path_mapping/builders.rs @@ -19,9 +19,9 @@ impl GetBasePathMappingFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl GetBasePathMappingFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::get_base_path_mapping::GetBasePathMapping, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::get_base_path_mapping::GetBasePathMappingError, + >, + > { + self.customize_middleware().await + } ///

The domain name of the BasePathMapping resource to be described.

pub fn domain_name(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.domain_name(input.into()); diff --git a/sdk/apigateway/src/operation/get_base_path_mappings/builders.rs b/sdk/apigateway/src/operation/get_base_path_mappings/builders.rs index 1ac5ca323f71..3ed329afe00d 100644 --- a/sdk/apigateway/src/operation/get_base_path_mappings/builders.rs +++ b/sdk/apigateway/src/operation/get_base_path_mappings/builders.rs @@ -19,9 +19,9 @@ impl GetBasePathMappingsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl GetBasePathMappingsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::get_base_path_mappings::GetBasePathMappings, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::get_base_path_mappings::GetBasePathMappingsError, + >, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::get_base_path_mappings::paginator::GetBasePathMappingsPaginator::send) which returns a `Stream`. diff --git a/sdk/apigateway/src/operation/get_client_certificate/builders.rs b/sdk/apigateway/src/operation/get_client_certificate/builders.rs index 36b3bf2e2670..c6d5d9127b82 100644 --- a/sdk/apigateway/src/operation/get_client_certificate/builders.rs +++ b/sdk/apigateway/src/operation/get_client_certificate/builders.rs @@ -19,9 +19,9 @@ impl GetClientCertificateFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl GetClientCertificateFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::get_client_certificate::GetClientCertificate, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::get_client_certificate::GetClientCertificateError, + >, + > { + self.customize_middleware().await + } ///

The identifier of the ClientCertificate resource to be described.

pub fn client_certificate_id( mut self, diff --git a/sdk/apigateway/src/operation/get_client_certificates/builders.rs b/sdk/apigateway/src/operation/get_client_certificates/builders.rs index 77bc24fbdddb..71365b5c388c 100644 --- a/sdk/apigateway/src/operation/get_client_certificates/builders.rs +++ b/sdk/apigateway/src/operation/get_client_certificates/builders.rs @@ -19,9 +19,9 @@ impl GetClientCertificatesFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl GetClientCertificatesFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::get_client_certificates::GetClientCertificates, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::get_client_certificates::GetClientCertificatesError, + >, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::get_client_certificates::paginator::GetClientCertificatesPaginator::send) which returns a `Stream`. diff --git a/sdk/apigateway/src/operation/get_deployment/builders.rs b/sdk/apigateway/src/operation/get_deployment/builders.rs index 4191bf505471..50999764c574 100644 --- a/sdk/apigateway/src/operation/get_deployment/builders.rs +++ b/sdk/apigateway/src/operation/get_deployment/builders.rs @@ -19,9 +19,9 @@ impl GetDeploymentFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl GetDeploymentFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::get_deployment::GetDeployment, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

The string identifier of the associated RestApi.

pub fn rest_api_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.rest_api_id(input.into()); diff --git a/sdk/apigateway/src/operation/get_deployments/builders.rs b/sdk/apigateway/src/operation/get_deployments/builders.rs index f32dfb9c0c7c..6a73b554bd2a 100644 --- a/sdk/apigateway/src/operation/get_deployments/builders.rs +++ b/sdk/apigateway/src/operation/get_deployments/builders.rs @@ -19,9 +19,9 @@ impl GetDeploymentsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl GetDeploymentsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::get_deployments::GetDeployments, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::get_deployments::paginator::GetDeploymentsPaginator::send) which returns a `Stream`. diff --git a/sdk/apigateway/src/operation/get_documentation_part/builders.rs b/sdk/apigateway/src/operation/get_documentation_part/builders.rs index 531b149cb865..6052fe6304c0 100644 --- a/sdk/apigateway/src/operation/get_documentation_part/builders.rs +++ b/sdk/apigateway/src/operation/get_documentation_part/builders.rs @@ -19,9 +19,9 @@ impl GetDocumentationPartFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl GetDocumentationPartFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::get_documentation_part::GetDocumentationPart, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::get_documentation_part::GetDocumentationPartError, + >, + > { + self.customize_middleware().await + } ///

The string identifier of the associated RestApi.

pub fn rest_api_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.rest_api_id(input.into()); diff --git a/sdk/apigateway/src/operation/get_documentation_parts/builders.rs b/sdk/apigateway/src/operation/get_documentation_parts/builders.rs index 3df1100412d7..b4be38614663 100644 --- a/sdk/apigateway/src/operation/get_documentation_parts/builders.rs +++ b/sdk/apigateway/src/operation/get_documentation_parts/builders.rs @@ -19,9 +19,9 @@ impl GetDocumentationPartsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl GetDocumentationPartsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::get_documentation_parts::GetDocumentationParts, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::get_documentation_parts::GetDocumentationPartsError, + >, + > { + self.customize_middleware().await + } ///

The string identifier of the associated RestApi.

pub fn rest_api_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.rest_api_id(input.into()); diff --git a/sdk/apigateway/src/operation/get_documentation_version/builders.rs b/sdk/apigateway/src/operation/get_documentation_version/builders.rs index cba8617a5ca2..ec38b7cecbf8 100644 --- a/sdk/apigateway/src/operation/get_documentation_version/builders.rs +++ b/sdk/apigateway/src/operation/get_documentation_version/builders.rs @@ -20,9 +20,9 @@ impl GetDocumentationVersionFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -84,6 +84,22 @@ impl GetDocumentationVersionFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::get_documentation_version::GetDocumentationVersion, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::get_documentation_version::GetDocumentationVersionError, + >, + > { + self.customize_middleware().await + } ///

The string identifier of the associated RestApi.

pub fn rest_api_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.rest_api_id(input.into()); diff --git a/sdk/apigateway/src/operation/get_documentation_versions/builders.rs b/sdk/apigateway/src/operation/get_documentation_versions/builders.rs index 3711dafaa8ae..5205cc77d535 100644 --- a/sdk/apigateway/src/operation/get_documentation_versions/builders.rs +++ b/sdk/apigateway/src/operation/get_documentation_versions/builders.rs @@ -19,9 +19,9 @@ impl GetDocumentationVersionsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl GetDocumentationVersionsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::get_documentation_versions::GetDocumentationVersions, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::get_documentation_versions::GetDocumentationVersionsError, + >, + > { + self.customize_middleware().await + } ///

The string identifier of the associated RestApi.

pub fn rest_api_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.rest_api_id(input.into()); diff --git a/sdk/apigateway/src/operation/get_domain_name/builders.rs b/sdk/apigateway/src/operation/get_domain_name/builders.rs index 5cfacc189e9e..2d92b4a8eb49 100644 --- a/sdk/apigateway/src/operation/get_domain_name/builders.rs +++ b/sdk/apigateway/src/operation/get_domain_name/builders.rs @@ -19,9 +19,9 @@ impl GetDomainNameFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl GetDomainNameFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::get_domain_name::GetDomainName, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

The name of the DomainName resource.

pub fn domain_name(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.domain_name(input.into()); diff --git a/sdk/apigateway/src/operation/get_domain_names/builders.rs b/sdk/apigateway/src/operation/get_domain_names/builders.rs index 1df1cf9e0168..7883b063cce1 100644 --- a/sdk/apigateway/src/operation/get_domain_names/builders.rs +++ b/sdk/apigateway/src/operation/get_domain_names/builders.rs @@ -19,9 +19,9 @@ impl GetDomainNamesFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl GetDomainNamesFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::get_domain_names::GetDomainNames, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::get_domain_names::GetDomainNamesError, + >, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::get_domain_names::paginator::GetDomainNamesPaginator::send) which returns a `Stream`. diff --git a/sdk/apigateway/src/operation/get_export/builders.rs b/sdk/apigateway/src/operation/get_export/builders.rs index c5bb8e838fd3..00b53a7e9831 100644 --- a/sdk/apigateway/src/operation/get_export/builders.rs +++ b/sdk/apigateway/src/operation/get_export/builders.rs @@ -19,9 +19,9 @@ impl GetExportFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl GetExportFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::get_export::GetExport, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

The string identifier of the associated RestApi.

pub fn rest_api_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.rest_api_id(input.into()); diff --git a/sdk/apigateway/src/operation/get_gateway_response/builders.rs b/sdk/apigateway/src/operation/get_gateway_response/builders.rs index cec5f4bd0ef5..527d266dee44 100644 --- a/sdk/apigateway/src/operation/get_gateway_response/builders.rs +++ b/sdk/apigateway/src/operation/get_gateway_response/builders.rs @@ -19,9 +19,9 @@ impl GetGatewayResponseFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl GetGatewayResponseFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::get_gateway_response::GetGatewayResponse, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::get_gateway_response::GetGatewayResponseError, + >, + > { + self.customize_middleware().await + } ///

The string identifier of the associated RestApi.

pub fn rest_api_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.rest_api_id(input.into()); diff --git a/sdk/apigateway/src/operation/get_gateway_responses/builders.rs b/sdk/apigateway/src/operation/get_gateway_responses/builders.rs index 968a52db09c1..2b3bd524ec97 100644 --- a/sdk/apigateway/src/operation/get_gateway_responses/builders.rs +++ b/sdk/apigateway/src/operation/get_gateway_responses/builders.rs @@ -19,9 +19,9 @@ impl GetGatewayResponsesFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl GetGatewayResponsesFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::get_gateway_responses::GetGatewayResponses, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::get_gateway_responses::GetGatewayResponsesError, + >, + > { + self.customize_middleware().await + } ///

The string identifier of the associated RestApi.

pub fn rest_api_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.rest_api_id(input.into()); diff --git a/sdk/apigateway/src/operation/get_integration/builders.rs b/sdk/apigateway/src/operation/get_integration/builders.rs index a950e999258b..734b430b9a87 100644 --- a/sdk/apigateway/src/operation/get_integration/builders.rs +++ b/sdk/apigateway/src/operation/get_integration/builders.rs @@ -19,9 +19,9 @@ impl GetIntegrationFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl GetIntegrationFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::get_integration::GetIntegration, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

The string identifier of the associated RestApi.

pub fn rest_api_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.rest_api_id(input.into()); diff --git a/sdk/apigateway/src/operation/get_integration_response/builders.rs b/sdk/apigateway/src/operation/get_integration_response/builders.rs index da463d694432..185949faee15 100644 --- a/sdk/apigateway/src/operation/get_integration_response/builders.rs +++ b/sdk/apigateway/src/operation/get_integration_response/builders.rs @@ -19,9 +19,9 @@ impl GetIntegrationResponseFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl GetIntegrationResponseFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::get_integration_response::GetIntegrationResponse, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::get_integration_response::GetIntegrationResponseError, + >, + > { + self.customize_middleware().await + } ///

The string identifier of the associated RestApi.

pub fn rest_api_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.rest_api_id(input.into()); diff --git a/sdk/apigateway/src/operation/get_method/builders.rs b/sdk/apigateway/src/operation/get_method/builders.rs index 4e99b9649e3a..042a5a387373 100644 --- a/sdk/apigateway/src/operation/get_method/builders.rs +++ b/sdk/apigateway/src/operation/get_method/builders.rs @@ -19,9 +19,9 @@ impl GetMethodFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl GetMethodFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::get_method::GetMethod, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

The string identifier of the associated RestApi.

pub fn rest_api_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.rest_api_id(input.into()); diff --git a/sdk/apigateway/src/operation/get_method_response/builders.rs b/sdk/apigateway/src/operation/get_method_response/builders.rs index 99c177d9a5e3..fee452c1ad3a 100644 --- a/sdk/apigateway/src/operation/get_method_response/builders.rs +++ b/sdk/apigateway/src/operation/get_method_response/builders.rs @@ -19,9 +19,9 @@ impl GetMethodResponseFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl GetMethodResponseFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::get_method_response::GetMethodResponse, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::get_method_response::GetMethodResponseError, + >, + > { + self.customize_middleware().await + } ///

The string identifier of the associated RestApi.

pub fn rest_api_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.rest_api_id(input.into()); diff --git a/sdk/apigateway/src/operation/get_model/builders.rs b/sdk/apigateway/src/operation/get_model/builders.rs index 6a9530e65db7..9cc052288709 100644 --- a/sdk/apigateway/src/operation/get_model/builders.rs +++ b/sdk/apigateway/src/operation/get_model/builders.rs @@ -19,9 +19,9 @@ impl GetModelFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl GetModelFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::get_model::GetModel, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

The RestApi identifier under which the Model exists.

pub fn rest_api_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.rest_api_id(input.into()); diff --git a/sdk/apigateway/src/operation/get_model_template/builders.rs b/sdk/apigateway/src/operation/get_model_template/builders.rs index c2ec17af99e4..e9e6e0985caa 100644 --- a/sdk/apigateway/src/operation/get_model_template/builders.rs +++ b/sdk/apigateway/src/operation/get_model_template/builders.rs @@ -19,9 +19,9 @@ impl GetModelTemplateFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl GetModelTemplateFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::get_model_template::GetModelTemplate, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::get_model_template::GetModelTemplateError, + >, + > { + self.customize_middleware().await + } ///

The string identifier of the associated RestApi.

pub fn rest_api_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.rest_api_id(input.into()); diff --git a/sdk/apigateway/src/operation/get_models/builders.rs b/sdk/apigateway/src/operation/get_models/builders.rs index 83ec04003264..bede1cfb153d 100644 --- a/sdk/apigateway/src/operation/get_models/builders.rs +++ b/sdk/apigateway/src/operation/get_models/builders.rs @@ -19,9 +19,9 @@ impl GetModelsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl GetModelsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::get_models::GetModels, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::get_models::paginator::GetModelsPaginator::send) which returns a `Stream`. diff --git a/sdk/apigateway/src/operation/get_request_validator/builders.rs b/sdk/apigateway/src/operation/get_request_validator/builders.rs index ad2607728b2e..21b194be2c61 100644 --- a/sdk/apigateway/src/operation/get_request_validator/builders.rs +++ b/sdk/apigateway/src/operation/get_request_validator/builders.rs @@ -19,9 +19,9 @@ impl GetRequestValidatorFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl GetRequestValidatorFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::get_request_validator::GetRequestValidator, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::get_request_validator::GetRequestValidatorError, + >, + > { + self.customize_middleware().await + } ///

The string identifier of the associated RestApi.

pub fn rest_api_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.rest_api_id(input.into()); diff --git a/sdk/apigateway/src/operation/get_request_validators/builders.rs b/sdk/apigateway/src/operation/get_request_validators/builders.rs index f92d92ce36d1..69a4336ba572 100644 --- a/sdk/apigateway/src/operation/get_request_validators/builders.rs +++ b/sdk/apigateway/src/operation/get_request_validators/builders.rs @@ -19,9 +19,9 @@ impl GetRequestValidatorsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl GetRequestValidatorsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::get_request_validators::GetRequestValidators, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::get_request_validators::GetRequestValidatorsError, + >, + > { + self.customize_middleware().await + } ///

The string identifier of the associated RestApi.

pub fn rest_api_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.rest_api_id(input.into()); diff --git a/sdk/apigateway/src/operation/get_resource/builders.rs b/sdk/apigateway/src/operation/get_resource/builders.rs index 95db87522d99..0b103f7d3c75 100644 --- a/sdk/apigateway/src/operation/get_resource/builders.rs +++ b/sdk/apigateway/src/operation/get_resource/builders.rs @@ -19,9 +19,9 @@ impl GetResourceFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl GetResourceFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::get_resource::GetResource, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

The string identifier of the associated RestApi.

pub fn rest_api_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.rest_api_id(input.into()); diff --git a/sdk/apigateway/src/operation/get_resources/builders.rs b/sdk/apigateway/src/operation/get_resources/builders.rs index f40563e3b527..3fbe066824c0 100644 --- a/sdk/apigateway/src/operation/get_resources/builders.rs +++ b/sdk/apigateway/src/operation/get_resources/builders.rs @@ -19,9 +19,9 @@ impl GetResourcesFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl GetResourcesFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::get_resources::GetResources, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::get_resources::paginator::GetResourcesPaginator::send) which returns a `Stream`. diff --git a/sdk/apigateway/src/operation/get_rest_api/builders.rs b/sdk/apigateway/src/operation/get_rest_api/builders.rs index 74b2c82cdd7b..5ff54b392d5b 100644 --- a/sdk/apigateway/src/operation/get_rest_api/builders.rs +++ b/sdk/apigateway/src/operation/get_rest_api/builders.rs @@ -19,9 +19,9 @@ impl GetRestApiFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl GetRestApiFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::get_rest_api::GetRestApi, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

The string identifier of the associated RestApi.

pub fn rest_api_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.rest_api_id(input.into()); diff --git a/sdk/apigateway/src/operation/get_rest_apis/builders.rs b/sdk/apigateway/src/operation/get_rest_apis/builders.rs index 3d6f594a121f..16434fbf4379 100644 --- a/sdk/apigateway/src/operation/get_rest_apis/builders.rs +++ b/sdk/apigateway/src/operation/get_rest_apis/builders.rs @@ -19,9 +19,9 @@ impl GetRestApisFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl GetRestApisFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::get_rest_apis::GetRestApis, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::get_rest_apis::paginator::GetRestApisPaginator::send) which returns a `Stream`. diff --git a/sdk/apigateway/src/operation/get_sdk/builders.rs b/sdk/apigateway/src/operation/get_sdk/builders.rs index 66261bee8a70..0cf731d4aebf 100644 --- a/sdk/apigateway/src/operation/get_sdk/builders.rs +++ b/sdk/apigateway/src/operation/get_sdk/builders.rs @@ -19,9 +19,9 @@ impl GetSdkFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl GetSdkFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::get_sdk::GetSdk, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

The string identifier of the associated RestApi.

pub fn rest_api_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.rest_api_id(input.into()); diff --git a/sdk/apigateway/src/operation/get_sdk_type/builders.rs b/sdk/apigateway/src/operation/get_sdk_type/builders.rs index 1ef47c9ec9dd..72b9b565320c 100644 --- a/sdk/apigateway/src/operation/get_sdk_type/builders.rs +++ b/sdk/apigateway/src/operation/get_sdk_type/builders.rs @@ -19,9 +19,9 @@ impl GetSdkTypeFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl GetSdkTypeFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::get_sdk_type::GetSdkType, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

The identifier of the queried SdkType instance.

pub fn id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.id(input.into()); diff --git a/sdk/apigateway/src/operation/get_sdk_types/builders.rs b/sdk/apigateway/src/operation/get_sdk_types/builders.rs index efad78060db6..e231fd209e5c 100644 --- a/sdk/apigateway/src/operation/get_sdk_types/builders.rs +++ b/sdk/apigateway/src/operation/get_sdk_types/builders.rs @@ -19,9 +19,9 @@ impl GetSdkTypesFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl GetSdkTypesFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::get_sdk_types::GetSdkTypes, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

The current pagination position in the paged result set.

pub fn position(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.position(input.into()); diff --git a/sdk/apigateway/src/operation/get_stage/builders.rs b/sdk/apigateway/src/operation/get_stage/builders.rs index 106c5459c55e..04eb324e109d 100644 --- a/sdk/apigateway/src/operation/get_stage/builders.rs +++ b/sdk/apigateway/src/operation/get_stage/builders.rs @@ -19,9 +19,9 @@ impl GetStageFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl GetStageFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::get_stage::GetStage, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

The string identifier of the associated RestApi.

pub fn rest_api_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.rest_api_id(input.into()); diff --git a/sdk/apigateway/src/operation/get_stages/builders.rs b/sdk/apigateway/src/operation/get_stages/builders.rs index f3b853374efa..d8a995763356 100644 --- a/sdk/apigateway/src/operation/get_stages/builders.rs +++ b/sdk/apigateway/src/operation/get_stages/builders.rs @@ -19,9 +19,9 @@ impl GetStagesFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl GetStagesFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::get_stages::GetStages, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

The string identifier of the associated RestApi.

pub fn rest_api_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.rest_api_id(input.into()); diff --git a/sdk/apigateway/src/operation/get_tags/builders.rs b/sdk/apigateway/src/operation/get_tags/builders.rs index 48071ad75d52..8c1170bc8500 100644 --- a/sdk/apigateway/src/operation/get_tags/builders.rs +++ b/sdk/apigateway/src/operation/get_tags/builders.rs @@ -19,9 +19,9 @@ impl GetTagsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl GetTagsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::get_tags::GetTags, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

The ARN of a resource that can be tagged.

pub fn resource_arn(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.resource_arn(input.into()); diff --git a/sdk/apigateway/src/operation/get_usage/builders.rs b/sdk/apigateway/src/operation/get_usage/builders.rs index 405979f3c389..75e7e7ed85cb 100644 --- a/sdk/apigateway/src/operation/get_usage/builders.rs +++ b/sdk/apigateway/src/operation/get_usage/builders.rs @@ -19,9 +19,9 @@ impl GetUsageFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl GetUsageFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::get_usage::GetUsage, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::get_usage::paginator::GetUsagePaginator::send) which returns a `Stream`. diff --git a/sdk/apigateway/src/operation/get_usage_plan/builders.rs b/sdk/apigateway/src/operation/get_usage_plan/builders.rs index 8c37581e36b3..bf4d368551f1 100644 --- a/sdk/apigateway/src/operation/get_usage_plan/builders.rs +++ b/sdk/apigateway/src/operation/get_usage_plan/builders.rs @@ -19,9 +19,9 @@ impl GetUsagePlanFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl GetUsagePlanFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::get_usage_plan::GetUsagePlan, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

The identifier of the UsagePlan resource to be retrieved.

pub fn usage_plan_id( mut self, diff --git a/sdk/apigateway/src/operation/get_usage_plan_key/builders.rs b/sdk/apigateway/src/operation/get_usage_plan_key/builders.rs index 734c423bdb39..4ea7023ac236 100644 --- a/sdk/apigateway/src/operation/get_usage_plan_key/builders.rs +++ b/sdk/apigateway/src/operation/get_usage_plan_key/builders.rs @@ -19,9 +19,9 @@ impl GetUsagePlanKeyFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl GetUsagePlanKeyFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::get_usage_plan_key::GetUsagePlanKey, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::get_usage_plan_key::GetUsagePlanKeyError, + >, + > { + self.customize_middleware().await + } ///

The Id of the UsagePlan resource representing the usage plan containing the to-be-retrieved UsagePlanKey resource representing a plan customer.

pub fn usage_plan_id( mut self, diff --git a/sdk/apigateway/src/operation/get_usage_plan_keys/builders.rs b/sdk/apigateway/src/operation/get_usage_plan_keys/builders.rs index f8918bc18f0a..d3e6cd09021d 100644 --- a/sdk/apigateway/src/operation/get_usage_plan_keys/builders.rs +++ b/sdk/apigateway/src/operation/get_usage_plan_keys/builders.rs @@ -19,9 +19,9 @@ impl GetUsagePlanKeysFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl GetUsagePlanKeysFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::get_usage_plan_keys::GetUsagePlanKeys, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::get_usage_plan_keys::GetUsagePlanKeysError, + >, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::get_usage_plan_keys::paginator::GetUsagePlanKeysPaginator::send) which returns a `Stream`. diff --git a/sdk/apigateway/src/operation/get_usage_plans/builders.rs b/sdk/apigateway/src/operation/get_usage_plans/builders.rs index 4cd3facfc7e0..651ef61acf08 100644 --- a/sdk/apigateway/src/operation/get_usage_plans/builders.rs +++ b/sdk/apigateway/src/operation/get_usage_plans/builders.rs @@ -19,9 +19,9 @@ impl GetUsagePlansFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl GetUsagePlansFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::get_usage_plans::GetUsagePlans, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::get_usage_plans::paginator::GetUsagePlansPaginator::send) which returns a `Stream`. diff --git a/sdk/apigateway/src/operation/get_vpc_link/builders.rs b/sdk/apigateway/src/operation/get_vpc_link/builders.rs index dfcb20a32b09..9da72cec7ccd 100644 --- a/sdk/apigateway/src/operation/get_vpc_link/builders.rs +++ b/sdk/apigateway/src/operation/get_vpc_link/builders.rs @@ -19,9 +19,9 @@ impl GetVpcLinkFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl GetVpcLinkFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::get_vpc_link::GetVpcLink, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

The identifier of the VpcLink. It is used in an Integration to reference this VpcLink.

pub fn vpc_link_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.vpc_link_id(input.into()); diff --git a/sdk/apigateway/src/operation/get_vpc_links/builders.rs b/sdk/apigateway/src/operation/get_vpc_links/builders.rs index d971d9f01f5f..a7f580b270b7 100644 --- a/sdk/apigateway/src/operation/get_vpc_links/builders.rs +++ b/sdk/apigateway/src/operation/get_vpc_links/builders.rs @@ -19,9 +19,9 @@ impl GetVpcLinksFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl GetVpcLinksFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::get_vpc_links::GetVpcLinks, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::get_vpc_links::paginator::GetVpcLinksPaginator::send) which returns a `Stream`. diff --git a/sdk/apigateway/src/operation/import_api_keys/builders.rs b/sdk/apigateway/src/operation/import_api_keys/builders.rs index 3b56e74e6ec9..dd298d52ab5a 100644 --- a/sdk/apigateway/src/operation/import_api_keys/builders.rs +++ b/sdk/apigateway/src/operation/import_api_keys/builders.rs @@ -19,9 +19,9 @@ impl ImportApiKeysFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl ImportApiKeysFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::import_api_keys::ImportApiKeys, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

The payload of the POST request to import API keys. For the payload format, see API Key File Format.

pub fn body(mut self, input: ::aws_smithy_types::Blob) -> Self { self.inner = self.inner.body(input); diff --git a/sdk/apigateway/src/operation/import_documentation_parts/builders.rs b/sdk/apigateway/src/operation/import_documentation_parts/builders.rs index 732d9ad35051..ea592e4bed18 100644 --- a/sdk/apigateway/src/operation/import_documentation_parts/builders.rs +++ b/sdk/apigateway/src/operation/import_documentation_parts/builders.rs @@ -19,9 +19,9 @@ impl ImportDocumentationPartsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl ImportDocumentationPartsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::import_documentation_parts::ImportDocumentationParts, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::import_documentation_parts::ImportDocumentationPartsError, + >, + > { + self.customize_middleware().await + } ///

The string identifier of the associated RestApi.

pub fn rest_api_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.rest_api_id(input.into()); diff --git a/sdk/apigateway/src/operation/import_rest_api/builders.rs b/sdk/apigateway/src/operation/import_rest_api/builders.rs index de337eed38f0..5ad41e35a76c 100644 --- a/sdk/apigateway/src/operation/import_rest_api/builders.rs +++ b/sdk/apigateway/src/operation/import_rest_api/builders.rs @@ -19,9 +19,9 @@ impl ImportRestApiFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl ImportRestApiFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::import_rest_api::ImportRestApi, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

A query parameter to indicate whether to rollback the API creation (true) or not (false) when a warning is encountered. The default value is false.

pub fn fail_on_warnings(mut self, input: bool) -> Self { self.inner = self.inner.fail_on_warnings(input); diff --git a/sdk/apigateway/src/operation/put_gateway_response/builders.rs b/sdk/apigateway/src/operation/put_gateway_response/builders.rs index 950e8199e677..48366e71430b 100644 --- a/sdk/apigateway/src/operation/put_gateway_response/builders.rs +++ b/sdk/apigateway/src/operation/put_gateway_response/builders.rs @@ -19,9 +19,9 @@ impl PutGatewayResponseFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl PutGatewayResponseFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::put_gateway_response::PutGatewayResponse, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::put_gateway_response::PutGatewayResponseError, + >, + > { + self.customize_middleware().await + } ///

The string identifier of the associated RestApi.

pub fn rest_api_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.rest_api_id(input.into()); diff --git a/sdk/apigateway/src/operation/put_integration/builders.rs b/sdk/apigateway/src/operation/put_integration/builders.rs index d1a1f6e56a24..b22f291a01ce 100644 --- a/sdk/apigateway/src/operation/put_integration/builders.rs +++ b/sdk/apigateway/src/operation/put_integration/builders.rs @@ -19,9 +19,9 @@ impl PutIntegrationFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl PutIntegrationFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::put_integration::PutIntegration, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

The string identifier of the associated RestApi.

pub fn rest_api_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.rest_api_id(input.into()); diff --git a/sdk/apigateway/src/operation/put_integration_response/builders.rs b/sdk/apigateway/src/operation/put_integration_response/builders.rs index bc4da076fae5..099b9b1b884d 100644 --- a/sdk/apigateway/src/operation/put_integration_response/builders.rs +++ b/sdk/apigateway/src/operation/put_integration_response/builders.rs @@ -19,9 +19,9 @@ impl PutIntegrationResponseFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl PutIntegrationResponseFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::put_integration_response::PutIntegrationResponse, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::put_integration_response::PutIntegrationResponseError, + >, + > { + self.customize_middleware().await + } ///

The string identifier of the associated RestApi.

pub fn rest_api_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.rest_api_id(input.into()); diff --git a/sdk/apigateway/src/operation/put_method/builders.rs b/sdk/apigateway/src/operation/put_method/builders.rs index 85731f7f5ae2..73b547937392 100644 --- a/sdk/apigateway/src/operation/put_method/builders.rs +++ b/sdk/apigateway/src/operation/put_method/builders.rs @@ -19,9 +19,9 @@ impl PutMethodFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl PutMethodFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::put_method::PutMethod, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

The string identifier of the associated RestApi.

pub fn rest_api_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.rest_api_id(input.into()); diff --git a/sdk/apigateway/src/operation/put_method_response/builders.rs b/sdk/apigateway/src/operation/put_method_response/builders.rs index deb54c763859..9f09f0c62ced 100644 --- a/sdk/apigateway/src/operation/put_method_response/builders.rs +++ b/sdk/apigateway/src/operation/put_method_response/builders.rs @@ -19,9 +19,9 @@ impl PutMethodResponseFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl PutMethodResponseFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::put_method_response::PutMethodResponse, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::put_method_response::PutMethodResponseError, + >, + > { + self.customize_middleware().await + } ///

The string identifier of the associated RestApi.

pub fn rest_api_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.rest_api_id(input.into()); diff --git a/sdk/apigateway/src/operation/put_rest_api/builders.rs b/sdk/apigateway/src/operation/put_rest_api/builders.rs index 0971417c3ceb..b4ac8a48151f 100644 --- a/sdk/apigateway/src/operation/put_rest_api/builders.rs +++ b/sdk/apigateway/src/operation/put_rest_api/builders.rs @@ -19,9 +19,9 @@ impl PutRestApiFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl PutRestApiFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::put_rest_api::PutRestApi, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

The string identifier of the associated RestApi.

pub fn rest_api_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.rest_api_id(input.into()); diff --git a/sdk/apigateway/src/operation/tag_resource/builders.rs b/sdk/apigateway/src/operation/tag_resource/builders.rs index 041052be410f..c4e763561b64 100644 --- a/sdk/apigateway/src/operation/tag_resource/builders.rs +++ b/sdk/apigateway/src/operation/tag_resource/builders.rs @@ -19,9 +19,9 @@ impl TagResourceFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl TagResourceFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::tag_resource::TagResource, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

The ARN of a resource that can be tagged.

pub fn resource_arn(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.resource_arn(input.into()); diff --git a/sdk/apigateway/src/operation/test_invoke_authorizer/builders.rs b/sdk/apigateway/src/operation/test_invoke_authorizer/builders.rs index 890c379826e0..d4708e662c5e 100644 --- a/sdk/apigateway/src/operation/test_invoke_authorizer/builders.rs +++ b/sdk/apigateway/src/operation/test_invoke_authorizer/builders.rs @@ -19,9 +19,9 @@ impl TestInvokeAuthorizerFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl TestInvokeAuthorizerFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::test_invoke_authorizer::TestInvokeAuthorizer, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::test_invoke_authorizer::TestInvokeAuthorizerError, + >, + > { + self.customize_middleware().await + } ///

The string identifier of the associated RestApi.

pub fn rest_api_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.rest_api_id(input.into()); diff --git a/sdk/apigateway/src/operation/test_invoke_method/builders.rs b/sdk/apigateway/src/operation/test_invoke_method/builders.rs index c8ff8914f903..a41ffe2b72b3 100644 --- a/sdk/apigateway/src/operation/test_invoke_method/builders.rs +++ b/sdk/apigateway/src/operation/test_invoke_method/builders.rs @@ -19,9 +19,9 @@ impl TestInvokeMethodFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl TestInvokeMethodFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::test_invoke_method::TestInvokeMethod, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::test_invoke_method::TestInvokeMethodError, + >, + > { + self.customize_middleware().await + } ///

The string identifier of the associated RestApi.

pub fn rest_api_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.rest_api_id(input.into()); diff --git a/sdk/apigateway/src/operation/untag_resource/builders.rs b/sdk/apigateway/src/operation/untag_resource/builders.rs index 4d8ca60f80be..e1c3514e76e9 100644 --- a/sdk/apigateway/src/operation/untag_resource/builders.rs +++ b/sdk/apigateway/src/operation/untag_resource/builders.rs @@ -19,9 +19,9 @@ impl UntagResourceFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl UntagResourceFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::untag_resource::UntagResource, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

The ARN of a resource that can be tagged.

pub fn resource_arn(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.resource_arn(input.into()); diff --git a/sdk/apigateway/src/operation/update_account/builders.rs b/sdk/apigateway/src/operation/update_account/builders.rs index b36e8a3be240..9137b43d4402 100644 --- a/sdk/apigateway/src/operation/update_account/builders.rs +++ b/sdk/apigateway/src/operation/update_account/builders.rs @@ -19,9 +19,9 @@ impl UpdateAccountFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl UpdateAccountFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::update_account::UpdateAccount, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } /// Appends an item to `patchOperations`. /// /// To override the contents of this collection use [`set_patch_operations`](Self::set_patch_operations). diff --git a/sdk/apigateway/src/operation/update_api_key/builders.rs b/sdk/apigateway/src/operation/update_api_key/builders.rs index a51a09e28228..dd67d2daed63 100644 --- a/sdk/apigateway/src/operation/update_api_key/builders.rs +++ b/sdk/apigateway/src/operation/update_api_key/builders.rs @@ -19,9 +19,9 @@ impl UpdateApiKeyFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl UpdateApiKeyFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::update_api_key::UpdateApiKey, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

The identifier of the ApiKey resource to be updated.

pub fn api_key(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.api_key(input.into()); diff --git a/sdk/apigateway/src/operation/update_authorizer/builders.rs b/sdk/apigateway/src/operation/update_authorizer/builders.rs index 3cc771a7e8b1..56780e8aef16 100644 --- a/sdk/apigateway/src/operation/update_authorizer/builders.rs +++ b/sdk/apigateway/src/operation/update_authorizer/builders.rs @@ -19,9 +19,9 @@ impl UpdateAuthorizerFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl UpdateAuthorizerFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::update_authorizer::UpdateAuthorizer, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::update_authorizer::UpdateAuthorizerError, + >, + > { + self.customize_middleware().await + } ///

The string identifier of the associated RestApi.

pub fn rest_api_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.rest_api_id(input.into()); diff --git a/sdk/apigateway/src/operation/update_base_path_mapping/builders.rs b/sdk/apigateway/src/operation/update_base_path_mapping/builders.rs index 5ee0dbe6573b..2f5d7a55ef10 100644 --- a/sdk/apigateway/src/operation/update_base_path_mapping/builders.rs +++ b/sdk/apigateway/src/operation/update_base_path_mapping/builders.rs @@ -19,9 +19,9 @@ impl UpdateBasePathMappingFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl UpdateBasePathMappingFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::update_base_path_mapping::UpdateBasePathMapping, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::update_base_path_mapping::UpdateBasePathMappingError, + >, + > { + self.customize_middleware().await + } ///

The domain name of the BasePathMapping resource to change.

pub fn domain_name(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.domain_name(input.into()); diff --git a/sdk/apigateway/src/operation/update_client_certificate/builders.rs b/sdk/apigateway/src/operation/update_client_certificate/builders.rs index 9b85f6ece013..262b8480f150 100644 --- a/sdk/apigateway/src/operation/update_client_certificate/builders.rs +++ b/sdk/apigateway/src/operation/update_client_certificate/builders.rs @@ -20,9 +20,9 @@ impl UpdateClientCertificateFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -84,6 +84,22 @@ impl UpdateClientCertificateFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::update_client_certificate::UpdateClientCertificate, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::update_client_certificate::UpdateClientCertificateError, + >, + > { + self.customize_middleware().await + } ///

The identifier of the ClientCertificate resource to be updated.

pub fn client_certificate_id( mut self, diff --git a/sdk/apigateway/src/operation/update_deployment/builders.rs b/sdk/apigateway/src/operation/update_deployment/builders.rs index 35a18c21219f..5082f1875b83 100644 --- a/sdk/apigateway/src/operation/update_deployment/builders.rs +++ b/sdk/apigateway/src/operation/update_deployment/builders.rs @@ -19,9 +19,9 @@ impl UpdateDeploymentFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl UpdateDeploymentFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::update_deployment::UpdateDeployment, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::update_deployment::UpdateDeploymentError, + >, + > { + self.customize_middleware().await + } ///

The string identifier of the associated RestApi.

pub fn rest_api_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.rest_api_id(input.into()); diff --git a/sdk/apigateway/src/operation/update_documentation_part/builders.rs b/sdk/apigateway/src/operation/update_documentation_part/builders.rs index eb9304a51ae5..f341ca77b1b0 100644 --- a/sdk/apigateway/src/operation/update_documentation_part/builders.rs +++ b/sdk/apigateway/src/operation/update_documentation_part/builders.rs @@ -20,9 +20,9 @@ impl UpdateDocumentationPartFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -84,6 +84,22 @@ impl UpdateDocumentationPartFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::update_documentation_part::UpdateDocumentationPart, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::update_documentation_part::UpdateDocumentationPartError, + >, + > { + self.customize_middleware().await + } ///

The string identifier of the associated RestApi.

pub fn rest_api_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.rest_api_id(input.into()); diff --git a/sdk/apigateway/src/operation/update_documentation_version/builders.rs b/sdk/apigateway/src/operation/update_documentation_version/builders.rs index efd8e980b871..3d3cf074ebf0 100644 --- a/sdk/apigateway/src/operation/update_documentation_version/builders.rs +++ b/sdk/apigateway/src/operation/update_documentation_version/builders.rs @@ -19,9 +19,9 @@ impl UpdateDocumentationVersionFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl UpdateDocumentationVersionFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::update_documentation_version::UpdateDocumentationVersion, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::update_documentation_version::UpdateDocumentationVersionError, + >, + > { + self.customize_middleware().await + } ///

The string identifier of the associated RestApi..

pub fn rest_api_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.rest_api_id(input.into()); diff --git a/sdk/apigateway/src/operation/update_domain_name/builders.rs b/sdk/apigateway/src/operation/update_domain_name/builders.rs index f28818a0803b..bea8027979df 100644 --- a/sdk/apigateway/src/operation/update_domain_name/builders.rs +++ b/sdk/apigateway/src/operation/update_domain_name/builders.rs @@ -19,9 +19,9 @@ impl UpdateDomainNameFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl UpdateDomainNameFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::update_domain_name::UpdateDomainName, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::update_domain_name::UpdateDomainNameError, + >, + > { + self.customize_middleware().await + } ///

The name of the DomainName resource to be changed.

pub fn domain_name(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.domain_name(input.into()); diff --git a/sdk/apigateway/src/operation/update_gateway_response/builders.rs b/sdk/apigateway/src/operation/update_gateway_response/builders.rs index eb9fdecb438a..74957e12e9d0 100644 --- a/sdk/apigateway/src/operation/update_gateway_response/builders.rs +++ b/sdk/apigateway/src/operation/update_gateway_response/builders.rs @@ -19,9 +19,9 @@ impl UpdateGatewayResponseFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl UpdateGatewayResponseFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::update_gateway_response::UpdateGatewayResponse, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::update_gateway_response::UpdateGatewayResponseError, + >, + > { + self.customize_middleware().await + } ///

The string identifier of the associated RestApi.

pub fn rest_api_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.rest_api_id(input.into()); diff --git a/sdk/apigateway/src/operation/update_integration/builders.rs b/sdk/apigateway/src/operation/update_integration/builders.rs index bdd7cb92d1fc..77024163b125 100644 --- a/sdk/apigateway/src/operation/update_integration/builders.rs +++ b/sdk/apigateway/src/operation/update_integration/builders.rs @@ -19,9 +19,9 @@ impl UpdateIntegrationFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl UpdateIntegrationFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::update_integration::UpdateIntegration, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::update_integration::UpdateIntegrationError, + >, + > { + self.customize_middleware().await + } ///

The string identifier of the associated RestApi.

pub fn rest_api_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.rest_api_id(input.into()); diff --git a/sdk/apigateway/src/operation/update_integration_response/builders.rs b/sdk/apigateway/src/operation/update_integration_response/builders.rs index abd945b50cb0..ca81711aae53 100644 --- a/sdk/apigateway/src/operation/update_integration_response/builders.rs +++ b/sdk/apigateway/src/operation/update_integration_response/builders.rs @@ -19,9 +19,9 @@ impl UpdateIntegrationResponseFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl UpdateIntegrationResponseFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::update_integration_response::UpdateIntegrationResponse, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::update_integration_response::UpdateIntegrationResponseError, + >, + > { + self.customize_middleware().await + } ///

The string identifier of the associated RestApi.

pub fn rest_api_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.rest_api_id(input.into()); diff --git a/sdk/apigateway/src/operation/update_method/builders.rs b/sdk/apigateway/src/operation/update_method/builders.rs index 2ec580c1bd3c..bbc022073d58 100644 --- a/sdk/apigateway/src/operation/update_method/builders.rs +++ b/sdk/apigateway/src/operation/update_method/builders.rs @@ -19,9 +19,9 @@ impl UpdateMethodFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl UpdateMethodFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::update_method::UpdateMethod, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

The string identifier of the associated RestApi.

pub fn rest_api_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.rest_api_id(input.into()); diff --git a/sdk/apigateway/src/operation/update_method_response/builders.rs b/sdk/apigateway/src/operation/update_method_response/builders.rs index d78b434a86cc..e7afaf213c5a 100644 --- a/sdk/apigateway/src/operation/update_method_response/builders.rs +++ b/sdk/apigateway/src/operation/update_method_response/builders.rs @@ -19,9 +19,9 @@ impl UpdateMethodResponseFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl UpdateMethodResponseFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::update_method_response::UpdateMethodResponse, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::update_method_response::UpdateMethodResponseError, + >, + > { + self.customize_middleware().await + } ///

The string identifier of the associated RestApi.

pub fn rest_api_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.rest_api_id(input.into()); diff --git a/sdk/apigateway/src/operation/update_model/builders.rs b/sdk/apigateway/src/operation/update_model/builders.rs index 34f4d0954c87..8daf7f6f025e 100644 --- a/sdk/apigateway/src/operation/update_model/builders.rs +++ b/sdk/apigateway/src/operation/update_model/builders.rs @@ -19,9 +19,9 @@ impl UpdateModelFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl UpdateModelFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::update_model::UpdateModel, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

The string identifier of the associated RestApi.

pub fn rest_api_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.rest_api_id(input.into()); diff --git a/sdk/apigateway/src/operation/update_request_validator/builders.rs b/sdk/apigateway/src/operation/update_request_validator/builders.rs index eae66211ebe3..0f513e99d4b4 100644 --- a/sdk/apigateway/src/operation/update_request_validator/builders.rs +++ b/sdk/apigateway/src/operation/update_request_validator/builders.rs @@ -19,9 +19,9 @@ impl UpdateRequestValidatorFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl UpdateRequestValidatorFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::update_request_validator::UpdateRequestValidator, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::update_request_validator::UpdateRequestValidatorError, + >, + > { + self.customize_middleware().await + } ///

The string identifier of the associated RestApi.

pub fn rest_api_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.rest_api_id(input.into()); diff --git a/sdk/apigateway/src/operation/update_resource/builders.rs b/sdk/apigateway/src/operation/update_resource/builders.rs index f02852fb1b51..6f61a85f402f 100644 --- a/sdk/apigateway/src/operation/update_resource/builders.rs +++ b/sdk/apigateway/src/operation/update_resource/builders.rs @@ -19,9 +19,9 @@ impl UpdateResourceFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl UpdateResourceFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::update_resource::UpdateResource, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

The string identifier of the associated RestApi.

pub fn rest_api_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.rest_api_id(input.into()); diff --git a/sdk/apigateway/src/operation/update_rest_api/builders.rs b/sdk/apigateway/src/operation/update_rest_api/builders.rs index 39ca604757ab..70c051ee6696 100644 --- a/sdk/apigateway/src/operation/update_rest_api/builders.rs +++ b/sdk/apigateway/src/operation/update_rest_api/builders.rs @@ -19,9 +19,9 @@ impl UpdateRestApiFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl UpdateRestApiFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::update_rest_api::UpdateRestApi, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

The string identifier of the associated RestApi.

pub fn rest_api_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.rest_api_id(input.into()); diff --git a/sdk/apigateway/src/operation/update_stage/builders.rs b/sdk/apigateway/src/operation/update_stage/builders.rs index 4a586220fcdc..30ed58ed0731 100644 --- a/sdk/apigateway/src/operation/update_stage/builders.rs +++ b/sdk/apigateway/src/operation/update_stage/builders.rs @@ -19,9 +19,9 @@ impl UpdateStageFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl UpdateStageFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::update_stage::UpdateStage, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

The string identifier of the associated RestApi.

pub fn rest_api_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.rest_api_id(input.into()); diff --git a/sdk/apigateway/src/operation/update_usage/builders.rs b/sdk/apigateway/src/operation/update_usage/builders.rs index dd8ac9a6b8b6..a288ba5d547d 100644 --- a/sdk/apigateway/src/operation/update_usage/builders.rs +++ b/sdk/apigateway/src/operation/update_usage/builders.rs @@ -19,9 +19,9 @@ impl UpdateUsageFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl UpdateUsageFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::update_usage::UpdateUsage, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

The Id of the usage plan associated with the usage data.

pub fn usage_plan_id( mut self, diff --git a/sdk/apigateway/src/operation/update_usage_plan/builders.rs b/sdk/apigateway/src/operation/update_usage_plan/builders.rs index 884b501f2bb7..cd58bc5eec3a 100644 --- a/sdk/apigateway/src/operation/update_usage_plan/builders.rs +++ b/sdk/apigateway/src/operation/update_usage_plan/builders.rs @@ -19,9 +19,9 @@ impl UpdateUsagePlanFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl UpdateUsagePlanFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::update_usage_plan::UpdateUsagePlan, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::update_usage_plan::UpdateUsagePlanError, + >, + > { + self.customize_middleware().await + } ///

The Id of the to-be-updated usage plan.

pub fn usage_plan_id( mut self, diff --git a/sdk/apigateway/src/operation/update_vpc_link/builders.rs b/sdk/apigateway/src/operation/update_vpc_link/builders.rs index 48dd5908067c..9401cc1f4ed0 100644 --- a/sdk/apigateway/src/operation/update_vpc_link/builders.rs +++ b/sdk/apigateway/src/operation/update_vpc_link/builders.rs @@ -19,9 +19,9 @@ impl UpdateVpcLinkFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl UpdateVpcLinkFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::update_vpc_link::UpdateVpcLink, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

The identifier of the VpcLink. It is used in an Integration to reference this VpcLink.

pub fn vpc_link_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.vpc_link_id(input.into()); diff --git a/sdk/apigatewaymanagement/src/operation/delete_connection/builders.rs b/sdk/apigatewaymanagement/src/operation/delete_connection/builders.rs index 3a1dd622cf0c..557d8df3038d 100644 --- a/sdk/apigatewaymanagement/src/operation/delete_connection/builders.rs +++ b/sdk/apigatewaymanagement/src/operation/delete_connection/builders.rs @@ -19,9 +19,9 @@ impl DeleteConnectionFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl DeleteConnectionFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::delete_connection::DeleteConnection, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::delete_connection::DeleteConnectionError, + >, + > { + self.customize_middleware().await + } #[allow(missing_docs)] // documentation missing in model pub fn connection_id( mut self, diff --git a/sdk/apigatewaymanagement/src/operation/get_connection/builders.rs b/sdk/apigatewaymanagement/src/operation/get_connection/builders.rs index 4b6508642114..8f8fe8d123e2 100644 --- a/sdk/apigatewaymanagement/src/operation/get_connection/builders.rs +++ b/sdk/apigatewaymanagement/src/operation/get_connection/builders.rs @@ -19,9 +19,9 @@ impl GetConnectionFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl GetConnectionFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::get_connection::GetConnection, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } #[allow(missing_docs)] // documentation missing in model pub fn connection_id( mut self, diff --git a/sdk/apigatewaymanagement/src/operation/post_to_connection/builders.rs b/sdk/apigatewaymanagement/src/operation/post_to_connection/builders.rs index 482aaa6a3797..f6a3b683d01c 100644 --- a/sdk/apigatewaymanagement/src/operation/post_to_connection/builders.rs +++ b/sdk/apigatewaymanagement/src/operation/post_to_connection/builders.rs @@ -19,9 +19,9 @@ impl PostToConnectionFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl PostToConnectionFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::post_to_connection::PostToConnection, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::post_to_connection::PostToConnectionError, + >, + > { + self.customize_middleware().await + } ///

The data to be sent to the client specified by its connection id.

pub fn data(mut self, input: ::aws_smithy_types::Blob) -> Self { self.inner = self.inner.data(input); diff --git a/sdk/apigatewayv2/src/operation/create_api/builders.rs b/sdk/apigatewayv2/src/operation/create_api/builders.rs index 41f91340382a..682521d84a66 100644 --- a/sdk/apigatewayv2/src/operation/create_api/builders.rs +++ b/sdk/apigatewayv2/src/operation/create_api/builders.rs @@ -19,9 +19,9 @@ impl CreateApiFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl CreateApiFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::create_api::CreateApi, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

An API key selection expression. Supported only for WebSocket APIs. See API Key Selection Expressions.

pub fn api_key_selection_expression( mut self, diff --git a/sdk/apigatewayv2/src/operation/create_api_mapping/builders.rs b/sdk/apigatewayv2/src/operation/create_api_mapping/builders.rs index 9eca3c0c2c2d..f826ad8e53a1 100644 --- a/sdk/apigatewayv2/src/operation/create_api_mapping/builders.rs +++ b/sdk/apigatewayv2/src/operation/create_api_mapping/builders.rs @@ -19,9 +19,9 @@ impl CreateApiMappingFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl CreateApiMappingFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::create_api_mapping::CreateApiMapping, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::create_api_mapping::CreateApiMappingError, + >, + > { + self.customize_middleware().await + } ///

The API identifier.

pub fn api_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.api_id(input.into()); diff --git a/sdk/apigatewayv2/src/operation/create_authorizer/builders.rs b/sdk/apigatewayv2/src/operation/create_authorizer/builders.rs index dec298f54169..a797e5be2fbe 100644 --- a/sdk/apigatewayv2/src/operation/create_authorizer/builders.rs +++ b/sdk/apigatewayv2/src/operation/create_authorizer/builders.rs @@ -19,9 +19,9 @@ impl CreateAuthorizerFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl CreateAuthorizerFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::create_authorizer::CreateAuthorizer, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::create_authorizer::CreateAuthorizerError, + >, + > { + self.customize_middleware().await + } ///

The API identifier.

pub fn api_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.api_id(input.into()); diff --git a/sdk/apigatewayv2/src/operation/create_deployment/builders.rs b/sdk/apigatewayv2/src/operation/create_deployment/builders.rs index 5bcd0e93c423..36317490ab4e 100644 --- a/sdk/apigatewayv2/src/operation/create_deployment/builders.rs +++ b/sdk/apigatewayv2/src/operation/create_deployment/builders.rs @@ -19,9 +19,9 @@ impl CreateDeploymentFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl CreateDeploymentFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::create_deployment::CreateDeployment, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::create_deployment::CreateDeploymentError, + >, + > { + self.customize_middleware().await + } ///

The API identifier.

pub fn api_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.api_id(input.into()); diff --git a/sdk/apigatewayv2/src/operation/create_domain_name/builders.rs b/sdk/apigatewayv2/src/operation/create_domain_name/builders.rs index abf5f4f56f1a..49473fec89f0 100644 --- a/sdk/apigatewayv2/src/operation/create_domain_name/builders.rs +++ b/sdk/apigatewayv2/src/operation/create_domain_name/builders.rs @@ -19,9 +19,9 @@ impl CreateDomainNameFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl CreateDomainNameFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::create_domain_name::CreateDomainName, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::create_domain_name::CreateDomainNameError, + >, + > { + self.customize_middleware().await + } ///

The domain name.

pub fn domain_name(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.domain_name(input.into()); diff --git a/sdk/apigatewayv2/src/operation/create_integration/builders.rs b/sdk/apigatewayv2/src/operation/create_integration/builders.rs index 5d7b6807b5b7..92c4df0587cd 100644 --- a/sdk/apigatewayv2/src/operation/create_integration/builders.rs +++ b/sdk/apigatewayv2/src/operation/create_integration/builders.rs @@ -19,9 +19,9 @@ impl CreateIntegrationFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl CreateIntegrationFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::create_integration::CreateIntegration, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::create_integration::CreateIntegrationError, + >, + > { + self.customize_middleware().await + } ///

The API identifier.

pub fn api_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.api_id(input.into()); diff --git a/sdk/apigatewayv2/src/operation/create_integration_response/builders.rs b/sdk/apigatewayv2/src/operation/create_integration_response/builders.rs index 302bcbf5171b..f91256c226f6 100644 --- a/sdk/apigatewayv2/src/operation/create_integration_response/builders.rs +++ b/sdk/apigatewayv2/src/operation/create_integration_response/builders.rs @@ -19,9 +19,9 @@ impl CreateIntegrationResponseFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl CreateIntegrationResponseFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::create_integration_response::CreateIntegrationResponse, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::create_integration_response::CreateIntegrationResponseError, + >, + > { + self.customize_middleware().await + } ///

The API identifier.

pub fn api_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.api_id(input.into()); diff --git a/sdk/apigatewayv2/src/operation/create_model/builders.rs b/sdk/apigatewayv2/src/operation/create_model/builders.rs index 73bcb4318a83..e6668b353e9c 100644 --- a/sdk/apigatewayv2/src/operation/create_model/builders.rs +++ b/sdk/apigatewayv2/src/operation/create_model/builders.rs @@ -19,9 +19,9 @@ impl CreateModelFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl CreateModelFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::create_model::CreateModel, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

The API identifier.

pub fn api_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.api_id(input.into()); diff --git a/sdk/apigatewayv2/src/operation/create_route/builders.rs b/sdk/apigatewayv2/src/operation/create_route/builders.rs index 1c756fc7da87..57125747c54e 100644 --- a/sdk/apigatewayv2/src/operation/create_route/builders.rs +++ b/sdk/apigatewayv2/src/operation/create_route/builders.rs @@ -19,9 +19,9 @@ impl CreateRouteFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl CreateRouteFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::create_route::CreateRoute, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

The API identifier.

pub fn api_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.api_id(input.into()); diff --git a/sdk/apigatewayv2/src/operation/create_route_response/builders.rs b/sdk/apigatewayv2/src/operation/create_route_response/builders.rs index 01679fec1555..66fa758f81d2 100644 --- a/sdk/apigatewayv2/src/operation/create_route_response/builders.rs +++ b/sdk/apigatewayv2/src/operation/create_route_response/builders.rs @@ -19,9 +19,9 @@ impl CreateRouteResponseFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl CreateRouteResponseFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::create_route_response::CreateRouteResponse, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::create_route_response::CreateRouteResponseError, + >, + > { + self.customize_middleware().await + } ///

The API identifier.

pub fn api_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.api_id(input.into()); diff --git a/sdk/apigatewayv2/src/operation/create_stage/builders.rs b/sdk/apigatewayv2/src/operation/create_stage/builders.rs index bc5d74002e38..d991d7a317a5 100644 --- a/sdk/apigatewayv2/src/operation/create_stage/builders.rs +++ b/sdk/apigatewayv2/src/operation/create_stage/builders.rs @@ -19,9 +19,9 @@ impl CreateStageFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl CreateStageFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::create_stage::CreateStage, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

Settings for logging access in this stage.

pub fn access_log_settings(mut self, input: crate::types::AccessLogSettings) -> Self { self.inner = self.inner.access_log_settings(input); diff --git a/sdk/apigatewayv2/src/operation/create_vpc_link/builders.rs b/sdk/apigatewayv2/src/operation/create_vpc_link/builders.rs index a5ea2b4a75aa..532e82905eb8 100644 --- a/sdk/apigatewayv2/src/operation/create_vpc_link/builders.rs +++ b/sdk/apigatewayv2/src/operation/create_vpc_link/builders.rs @@ -19,9 +19,9 @@ impl CreateVpcLinkFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl CreateVpcLinkFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::create_vpc_link::CreateVpcLink, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

The name of the VPC link.

pub fn name(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.name(input.into()); diff --git a/sdk/apigatewayv2/src/operation/delete_access_log_settings/builders.rs b/sdk/apigatewayv2/src/operation/delete_access_log_settings/builders.rs index 298aef19cffb..49a4290614a1 100644 --- a/sdk/apigatewayv2/src/operation/delete_access_log_settings/builders.rs +++ b/sdk/apigatewayv2/src/operation/delete_access_log_settings/builders.rs @@ -20,9 +20,9 @@ impl DeleteAccessLogSettingsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -84,6 +84,22 @@ impl DeleteAccessLogSettingsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::delete_access_log_settings::DeleteAccessLogSettings, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::delete_access_log_settings::DeleteAccessLogSettingsError, + >, + > { + self.customize_middleware().await + } ///

The API identifier.

pub fn api_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.api_id(input.into()); diff --git a/sdk/apigatewayv2/src/operation/delete_api/builders.rs b/sdk/apigatewayv2/src/operation/delete_api/builders.rs index f17b80206976..c91b5b9aef36 100644 --- a/sdk/apigatewayv2/src/operation/delete_api/builders.rs +++ b/sdk/apigatewayv2/src/operation/delete_api/builders.rs @@ -19,9 +19,9 @@ impl DeleteApiFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl DeleteApiFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::delete_api::DeleteApi, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

The API identifier.

pub fn api_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.api_id(input.into()); diff --git a/sdk/apigatewayv2/src/operation/delete_api_mapping/builders.rs b/sdk/apigatewayv2/src/operation/delete_api_mapping/builders.rs index 2545aa29d7c2..d35edfee1870 100644 --- a/sdk/apigatewayv2/src/operation/delete_api_mapping/builders.rs +++ b/sdk/apigatewayv2/src/operation/delete_api_mapping/builders.rs @@ -19,9 +19,9 @@ impl DeleteApiMappingFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl DeleteApiMappingFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::delete_api_mapping::DeleteApiMapping, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::delete_api_mapping::DeleteApiMappingError, + >, + > { + self.customize_middleware().await + } ///

The API mapping identifier.

pub fn api_mapping_id( mut self, diff --git a/sdk/apigatewayv2/src/operation/delete_authorizer/builders.rs b/sdk/apigatewayv2/src/operation/delete_authorizer/builders.rs index 1729d9d82005..aac9b5170ba4 100644 --- a/sdk/apigatewayv2/src/operation/delete_authorizer/builders.rs +++ b/sdk/apigatewayv2/src/operation/delete_authorizer/builders.rs @@ -19,9 +19,9 @@ impl DeleteAuthorizerFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl DeleteAuthorizerFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::delete_authorizer::DeleteAuthorizer, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::delete_authorizer::DeleteAuthorizerError, + >, + > { + self.customize_middleware().await + } ///

The API identifier.

pub fn api_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.api_id(input.into()); diff --git a/sdk/apigatewayv2/src/operation/delete_cors_configuration/builders.rs b/sdk/apigatewayv2/src/operation/delete_cors_configuration/builders.rs index 785a3c48f182..f2ec0f9880a9 100644 --- a/sdk/apigatewayv2/src/operation/delete_cors_configuration/builders.rs +++ b/sdk/apigatewayv2/src/operation/delete_cors_configuration/builders.rs @@ -20,9 +20,9 @@ impl DeleteCorsConfigurationFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -84,6 +84,22 @@ impl DeleteCorsConfigurationFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::delete_cors_configuration::DeleteCorsConfiguration, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::delete_cors_configuration::DeleteCorsConfigurationError, + >, + > { + self.customize_middleware().await + } ///

The API identifier.

pub fn api_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.api_id(input.into()); diff --git a/sdk/apigatewayv2/src/operation/delete_deployment/builders.rs b/sdk/apigatewayv2/src/operation/delete_deployment/builders.rs index 2910ab00eb47..764eea07ff05 100644 --- a/sdk/apigatewayv2/src/operation/delete_deployment/builders.rs +++ b/sdk/apigatewayv2/src/operation/delete_deployment/builders.rs @@ -19,9 +19,9 @@ impl DeleteDeploymentFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl DeleteDeploymentFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::delete_deployment::DeleteDeployment, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::delete_deployment::DeleteDeploymentError, + >, + > { + self.customize_middleware().await + } ///

The API identifier.

pub fn api_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.api_id(input.into()); diff --git a/sdk/apigatewayv2/src/operation/delete_domain_name/builders.rs b/sdk/apigatewayv2/src/operation/delete_domain_name/builders.rs index 6015a6ebef56..e4ce139d764e 100644 --- a/sdk/apigatewayv2/src/operation/delete_domain_name/builders.rs +++ b/sdk/apigatewayv2/src/operation/delete_domain_name/builders.rs @@ -19,9 +19,9 @@ impl DeleteDomainNameFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl DeleteDomainNameFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::delete_domain_name::DeleteDomainName, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::delete_domain_name::DeleteDomainNameError, + >, + > { + self.customize_middleware().await + } ///

The domain name.

pub fn domain_name(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.domain_name(input.into()); diff --git a/sdk/apigatewayv2/src/operation/delete_integration/builders.rs b/sdk/apigatewayv2/src/operation/delete_integration/builders.rs index 80294dd384cf..2c664ab63dc9 100644 --- a/sdk/apigatewayv2/src/operation/delete_integration/builders.rs +++ b/sdk/apigatewayv2/src/operation/delete_integration/builders.rs @@ -19,9 +19,9 @@ impl DeleteIntegrationFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl DeleteIntegrationFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::delete_integration::DeleteIntegration, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::delete_integration::DeleteIntegrationError, + >, + > { + self.customize_middleware().await + } ///

The API identifier.

pub fn api_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.api_id(input.into()); diff --git a/sdk/apigatewayv2/src/operation/delete_integration_response/builders.rs b/sdk/apigatewayv2/src/operation/delete_integration_response/builders.rs index e38010097b27..10807c1af069 100644 --- a/sdk/apigatewayv2/src/operation/delete_integration_response/builders.rs +++ b/sdk/apigatewayv2/src/operation/delete_integration_response/builders.rs @@ -19,9 +19,9 @@ impl DeleteIntegrationResponseFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl DeleteIntegrationResponseFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::delete_integration_response::DeleteIntegrationResponse, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::delete_integration_response::DeleteIntegrationResponseError, + >, + > { + self.customize_middleware().await + } ///

The API identifier.

pub fn api_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.api_id(input.into()); diff --git a/sdk/apigatewayv2/src/operation/delete_model/builders.rs b/sdk/apigatewayv2/src/operation/delete_model/builders.rs index 7ce9b543e3bb..3ac2b5b15a2f 100644 --- a/sdk/apigatewayv2/src/operation/delete_model/builders.rs +++ b/sdk/apigatewayv2/src/operation/delete_model/builders.rs @@ -19,9 +19,9 @@ impl DeleteModelFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl DeleteModelFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::delete_model::DeleteModel, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

The API identifier.

pub fn api_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.api_id(input.into()); diff --git a/sdk/apigatewayv2/src/operation/delete_route/builders.rs b/sdk/apigatewayv2/src/operation/delete_route/builders.rs index 48311e813825..d964833dc402 100644 --- a/sdk/apigatewayv2/src/operation/delete_route/builders.rs +++ b/sdk/apigatewayv2/src/operation/delete_route/builders.rs @@ -19,9 +19,9 @@ impl DeleteRouteFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl DeleteRouteFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::delete_route::DeleteRoute, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

The API identifier.

pub fn api_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.api_id(input.into()); diff --git a/sdk/apigatewayv2/src/operation/delete_route_request_parameter/builders.rs b/sdk/apigatewayv2/src/operation/delete_route_request_parameter/builders.rs index 78efcf12dfd2..9b092928d932 100644 --- a/sdk/apigatewayv2/src/operation/delete_route_request_parameter/builders.rs +++ b/sdk/apigatewayv2/src/operation/delete_route_request_parameter/builders.rs @@ -19,9 +19,9 @@ impl DeleteRouteRequestParameterFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl DeleteRouteRequestParameterFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::delete_route_request_parameter::DeleteRouteRequestParameter, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::delete_route_request_parameter::DeleteRouteRequestParameterError, + >, + > { + self.customize_middleware().await + } ///

The API identifier.

pub fn api_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.api_id(input.into()); diff --git a/sdk/apigatewayv2/src/operation/delete_route_response/builders.rs b/sdk/apigatewayv2/src/operation/delete_route_response/builders.rs index 84d09abfb100..e93aff302812 100644 --- a/sdk/apigatewayv2/src/operation/delete_route_response/builders.rs +++ b/sdk/apigatewayv2/src/operation/delete_route_response/builders.rs @@ -19,9 +19,9 @@ impl DeleteRouteResponseFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl DeleteRouteResponseFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::delete_route_response::DeleteRouteResponse, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::delete_route_response::DeleteRouteResponseError, + >, + > { + self.customize_middleware().await + } ///

The API identifier.

pub fn api_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.api_id(input.into()); diff --git a/sdk/apigatewayv2/src/operation/delete_route_settings/builders.rs b/sdk/apigatewayv2/src/operation/delete_route_settings/builders.rs index e4e8bec2b7b5..a8b667be28c2 100644 --- a/sdk/apigatewayv2/src/operation/delete_route_settings/builders.rs +++ b/sdk/apigatewayv2/src/operation/delete_route_settings/builders.rs @@ -19,9 +19,9 @@ impl DeleteRouteSettingsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl DeleteRouteSettingsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::delete_route_settings::DeleteRouteSettings, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::delete_route_settings::DeleteRouteSettingsError, + >, + > { + self.customize_middleware().await + } ///

The API identifier.

pub fn api_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.api_id(input.into()); diff --git a/sdk/apigatewayv2/src/operation/delete_stage/builders.rs b/sdk/apigatewayv2/src/operation/delete_stage/builders.rs index 396caded6f68..7b34fa24185e 100644 --- a/sdk/apigatewayv2/src/operation/delete_stage/builders.rs +++ b/sdk/apigatewayv2/src/operation/delete_stage/builders.rs @@ -19,9 +19,9 @@ impl DeleteStageFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl DeleteStageFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::delete_stage::DeleteStage, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

The API identifier.

pub fn api_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.api_id(input.into()); diff --git a/sdk/apigatewayv2/src/operation/delete_vpc_link/builders.rs b/sdk/apigatewayv2/src/operation/delete_vpc_link/builders.rs index 3bf88f7242ca..8ed92096246a 100644 --- a/sdk/apigatewayv2/src/operation/delete_vpc_link/builders.rs +++ b/sdk/apigatewayv2/src/operation/delete_vpc_link/builders.rs @@ -19,9 +19,9 @@ impl DeleteVpcLinkFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl DeleteVpcLinkFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::delete_vpc_link::DeleteVpcLink, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

The ID of the VPC link.

pub fn vpc_link_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.vpc_link_id(input.into()); diff --git a/sdk/apigatewayv2/src/operation/export_api/builders.rs b/sdk/apigatewayv2/src/operation/export_api/builders.rs index 62e644db9cc2..3f57871b942d 100644 --- a/sdk/apigatewayv2/src/operation/export_api/builders.rs +++ b/sdk/apigatewayv2/src/operation/export_api/builders.rs @@ -18,9 +18,9 @@ impl ExportApiFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -76,6 +76,20 @@ impl ExportApiFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::export_api::ExportApi, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

The API identifier.

pub fn api_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.api_id(input.into()); diff --git a/sdk/apigatewayv2/src/operation/get_api/builders.rs b/sdk/apigatewayv2/src/operation/get_api/builders.rs index 20186af6e70d..74350d338e21 100644 --- a/sdk/apigatewayv2/src/operation/get_api/builders.rs +++ b/sdk/apigatewayv2/src/operation/get_api/builders.rs @@ -19,9 +19,9 @@ impl GetApiFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl GetApiFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::get_api::GetApi, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

The API identifier.

pub fn api_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.api_id(input.into()); diff --git a/sdk/apigatewayv2/src/operation/get_api_mapping/builders.rs b/sdk/apigatewayv2/src/operation/get_api_mapping/builders.rs index 4abfb8763d9c..9ed462e8b0da 100644 --- a/sdk/apigatewayv2/src/operation/get_api_mapping/builders.rs +++ b/sdk/apigatewayv2/src/operation/get_api_mapping/builders.rs @@ -19,9 +19,9 @@ impl GetApiMappingFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl GetApiMappingFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::get_api_mapping::GetApiMapping, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

The API mapping identifier.

pub fn api_mapping_id( mut self, diff --git a/sdk/apigatewayv2/src/operation/get_api_mappings/builders.rs b/sdk/apigatewayv2/src/operation/get_api_mappings/builders.rs index 638179e290cb..22b305ac8ce3 100644 --- a/sdk/apigatewayv2/src/operation/get_api_mappings/builders.rs +++ b/sdk/apigatewayv2/src/operation/get_api_mappings/builders.rs @@ -19,9 +19,9 @@ impl GetApiMappingsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl GetApiMappingsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::get_api_mappings::GetApiMappings, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::get_api_mappings::GetApiMappingsError, + >, + > { + self.customize_middleware().await + } ///

The domain name.

pub fn domain_name(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.domain_name(input.into()); diff --git a/sdk/apigatewayv2/src/operation/get_apis/builders.rs b/sdk/apigatewayv2/src/operation/get_apis/builders.rs index 3e85a8e389bd..95f8a331efaf 100644 --- a/sdk/apigatewayv2/src/operation/get_apis/builders.rs +++ b/sdk/apigatewayv2/src/operation/get_apis/builders.rs @@ -19,9 +19,9 @@ impl GetApisFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl GetApisFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::get_apis::GetApis, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

The maximum number of elements to be returned for this resource.

pub fn max_results(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.max_results(input.into()); diff --git a/sdk/apigatewayv2/src/operation/get_authorizer/builders.rs b/sdk/apigatewayv2/src/operation/get_authorizer/builders.rs index 9993e42e2d2e..edc2c2f52feb 100644 --- a/sdk/apigatewayv2/src/operation/get_authorizer/builders.rs +++ b/sdk/apigatewayv2/src/operation/get_authorizer/builders.rs @@ -19,9 +19,9 @@ impl GetAuthorizerFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl GetAuthorizerFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::get_authorizer::GetAuthorizer, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

The API identifier.

pub fn api_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.api_id(input.into()); diff --git a/sdk/apigatewayv2/src/operation/get_authorizers/builders.rs b/sdk/apigatewayv2/src/operation/get_authorizers/builders.rs index 985ba0be7562..ce21fa2167fd 100644 --- a/sdk/apigatewayv2/src/operation/get_authorizers/builders.rs +++ b/sdk/apigatewayv2/src/operation/get_authorizers/builders.rs @@ -19,9 +19,9 @@ impl GetAuthorizersFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl GetAuthorizersFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::get_authorizers::GetAuthorizers, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

The API identifier.

pub fn api_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.api_id(input.into()); diff --git a/sdk/apigatewayv2/src/operation/get_deployment/builders.rs b/sdk/apigatewayv2/src/operation/get_deployment/builders.rs index 65c81dbf64ca..8bd207bef078 100644 --- a/sdk/apigatewayv2/src/operation/get_deployment/builders.rs +++ b/sdk/apigatewayv2/src/operation/get_deployment/builders.rs @@ -19,9 +19,9 @@ impl GetDeploymentFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl GetDeploymentFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::get_deployment::GetDeployment, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

The API identifier.

pub fn api_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.api_id(input.into()); diff --git a/sdk/apigatewayv2/src/operation/get_deployments/builders.rs b/sdk/apigatewayv2/src/operation/get_deployments/builders.rs index 7d31a5fa4af9..0db8fcb12363 100644 --- a/sdk/apigatewayv2/src/operation/get_deployments/builders.rs +++ b/sdk/apigatewayv2/src/operation/get_deployments/builders.rs @@ -19,9 +19,9 @@ impl GetDeploymentsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl GetDeploymentsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::get_deployments::GetDeployments, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

The API identifier.

pub fn api_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.api_id(input.into()); diff --git a/sdk/apigatewayv2/src/operation/get_domain_name/builders.rs b/sdk/apigatewayv2/src/operation/get_domain_name/builders.rs index e19fdcc19133..d78d6aed6d69 100644 --- a/sdk/apigatewayv2/src/operation/get_domain_name/builders.rs +++ b/sdk/apigatewayv2/src/operation/get_domain_name/builders.rs @@ -19,9 +19,9 @@ impl GetDomainNameFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl GetDomainNameFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::get_domain_name::GetDomainName, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

The domain name.

pub fn domain_name(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.domain_name(input.into()); diff --git a/sdk/apigatewayv2/src/operation/get_domain_names/builders.rs b/sdk/apigatewayv2/src/operation/get_domain_names/builders.rs index 695553befd38..3575ff777b66 100644 --- a/sdk/apigatewayv2/src/operation/get_domain_names/builders.rs +++ b/sdk/apigatewayv2/src/operation/get_domain_names/builders.rs @@ -19,9 +19,9 @@ impl GetDomainNamesFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl GetDomainNamesFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::get_domain_names::GetDomainNames, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::get_domain_names::GetDomainNamesError, + >, + > { + self.customize_middleware().await + } ///

The maximum number of elements to be returned for this resource.

pub fn max_results(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.max_results(input.into()); diff --git a/sdk/apigatewayv2/src/operation/get_integration/builders.rs b/sdk/apigatewayv2/src/operation/get_integration/builders.rs index b313f1a71d1e..1edd2eb5fab1 100644 --- a/sdk/apigatewayv2/src/operation/get_integration/builders.rs +++ b/sdk/apigatewayv2/src/operation/get_integration/builders.rs @@ -19,9 +19,9 @@ impl GetIntegrationFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl GetIntegrationFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::get_integration::GetIntegration, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

The API identifier.

pub fn api_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.api_id(input.into()); diff --git a/sdk/apigatewayv2/src/operation/get_integration_response/builders.rs b/sdk/apigatewayv2/src/operation/get_integration_response/builders.rs index 5855cc090042..baf12fa15b4a 100644 --- a/sdk/apigatewayv2/src/operation/get_integration_response/builders.rs +++ b/sdk/apigatewayv2/src/operation/get_integration_response/builders.rs @@ -19,9 +19,9 @@ impl GetIntegrationResponseFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl GetIntegrationResponseFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::get_integration_response::GetIntegrationResponse, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::get_integration_response::GetIntegrationResponseError, + >, + > { + self.customize_middleware().await + } ///

The API identifier.

pub fn api_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.api_id(input.into()); diff --git a/sdk/apigatewayv2/src/operation/get_integration_responses/builders.rs b/sdk/apigatewayv2/src/operation/get_integration_responses/builders.rs index 58193edc1daa..0d6b66de510b 100644 --- a/sdk/apigatewayv2/src/operation/get_integration_responses/builders.rs +++ b/sdk/apigatewayv2/src/operation/get_integration_responses/builders.rs @@ -20,9 +20,9 @@ impl GetIntegrationResponsesFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -84,6 +84,22 @@ impl GetIntegrationResponsesFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::get_integration_responses::GetIntegrationResponses, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::get_integration_responses::GetIntegrationResponsesError, + >, + > { + self.customize_middleware().await + } ///

The API identifier.

pub fn api_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.api_id(input.into()); diff --git a/sdk/apigatewayv2/src/operation/get_integrations/builders.rs b/sdk/apigatewayv2/src/operation/get_integrations/builders.rs index cefbf21327b0..20e49b870868 100644 --- a/sdk/apigatewayv2/src/operation/get_integrations/builders.rs +++ b/sdk/apigatewayv2/src/operation/get_integrations/builders.rs @@ -19,9 +19,9 @@ impl GetIntegrationsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl GetIntegrationsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::get_integrations::GetIntegrations, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::get_integrations::GetIntegrationsError, + >, + > { + self.customize_middleware().await + } ///

The API identifier.

pub fn api_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.api_id(input.into()); diff --git a/sdk/apigatewayv2/src/operation/get_model/builders.rs b/sdk/apigatewayv2/src/operation/get_model/builders.rs index 87d20a7f76a9..564d64cb4922 100644 --- a/sdk/apigatewayv2/src/operation/get_model/builders.rs +++ b/sdk/apigatewayv2/src/operation/get_model/builders.rs @@ -19,9 +19,9 @@ impl GetModelFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl GetModelFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::get_model::GetModel, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

The API identifier.

pub fn api_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.api_id(input.into()); diff --git a/sdk/apigatewayv2/src/operation/get_model_template/builders.rs b/sdk/apigatewayv2/src/operation/get_model_template/builders.rs index 9262e70bb1c9..7740e8538da6 100644 --- a/sdk/apigatewayv2/src/operation/get_model_template/builders.rs +++ b/sdk/apigatewayv2/src/operation/get_model_template/builders.rs @@ -19,9 +19,9 @@ impl GetModelTemplateFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl GetModelTemplateFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::get_model_template::GetModelTemplate, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::get_model_template::GetModelTemplateError, + >, + > { + self.customize_middleware().await + } ///

The API identifier.

pub fn api_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.api_id(input.into()); diff --git a/sdk/apigatewayv2/src/operation/get_models/builders.rs b/sdk/apigatewayv2/src/operation/get_models/builders.rs index 82bc5710371e..13473e24ff8e 100644 --- a/sdk/apigatewayv2/src/operation/get_models/builders.rs +++ b/sdk/apigatewayv2/src/operation/get_models/builders.rs @@ -19,9 +19,9 @@ impl GetModelsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl GetModelsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::get_models::GetModels, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

The API identifier.

pub fn api_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.api_id(input.into()); diff --git a/sdk/apigatewayv2/src/operation/get_route/builders.rs b/sdk/apigatewayv2/src/operation/get_route/builders.rs index 4f7950af354b..848e19b04091 100644 --- a/sdk/apigatewayv2/src/operation/get_route/builders.rs +++ b/sdk/apigatewayv2/src/operation/get_route/builders.rs @@ -19,9 +19,9 @@ impl GetRouteFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl GetRouteFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::get_route::GetRoute, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

The API identifier.

pub fn api_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.api_id(input.into()); diff --git a/sdk/apigatewayv2/src/operation/get_route_response/builders.rs b/sdk/apigatewayv2/src/operation/get_route_response/builders.rs index 96b0c5105a88..bcd741f7abcf 100644 --- a/sdk/apigatewayv2/src/operation/get_route_response/builders.rs +++ b/sdk/apigatewayv2/src/operation/get_route_response/builders.rs @@ -19,9 +19,9 @@ impl GetRouteResponseFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl GetRouteResponseFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::get_route_response::GetRouteResponse, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::get_route_response::GetRouteResponseError, + >, + > { + self.customize_middleware().await + } ///

The API identifier.

pub fn api_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.api_id(input.into()); diff --git a/sdk/apigatewayv2/src/operation/get_route_responses/builders.rs b/sdk/apigatewayv2/src/operation/get_route_responses/builders.rs index 72f90257dcbf..5841e045c37d 100644 --- a/sdk/apigatewayv2/src/operation/get_route_responses/builders.rs +++ b/sdk/apigatewayv2/src/operation/get_route_responses/builders.rs @@ -19,9 +19,9 @@ impl GetRouteResponsesFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl GetRouteResponsesFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::get_route_responses::GetRouteResponses, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::get_route_responses::GetRouteResponsesError, + >, + > { + self.customize_middleware().await + } ///

The API identifier.

pub fn api_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.api_id(input.into()); diff --git a/sdk/apigatewayv2/src/operation/get_routes/builders.rs b/sdk/apigatewayv2/src/operation/get_routes/builders.rs index 5f4d75331df6..4f96ad7d38d2 100644 --- a/sdk/apigatewayv2/src/operation/get_routes/builders.rs +++ b/sdk/apigatewayv2/src/operation/get_routes/builders.rs @@ -19,9 +19,9 @@ impl GetRoutesFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl GetRoutesFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::get_routes::GetRoutes, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

The API identifier.

pub fn api_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.api_id(input.into()); diff --git a/sdk/apigatewayv2/src/operation/get_stage/builders.rs b/sdk/apigatewayv2/src/operation/get_stage/builders.rs index 7c5457e06b1a..9f13a6c533fb 100644 --- a/sdk/apigatewayv2/src/operation/get_stage/builders.rs +++ b/sdk/apigatewayv2/src/operation/get_stage/builders.rs @@ -19,9 +19,9 @@ impl GetStageFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl GetStageFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::get_stage::GetStage, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

The API identifier.

pub fn api_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.api_id(input.into()); diff --git a/sdk/apigatewayv2/src/operation/get_stages/builders.rs b/sdk/apigatewayv2/src/operation/get_stages/builders.rs index a38f0cce5d63..b522d3e02946 100644 --- a/sdk/apigatewayv2/src/operation/get_stages/builders.rs +++ b/sdk/apigatewayv2/src/operation/get_stages/builders.rs @@ -19,9 +19,9 @@ impl GetStagesFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl GetStagesFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::get_stages::GetStages, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

The API identifier.

pub fn api_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.api_id(input.into()); diff --git a/sdk/apigatewayv2/src/operation/get_tags/builders.rs b/sdk/apigatewayv2/src/operation/get_tags/builders.rs index 98c64b5c90aa..fd83aa160b3e 100644 --- a/sdk/apigatewayv2/src/operation/get_tags/builders.rs +++ b/sdk/apigatewayv2/src/operation/get_tags/builders.rs @@ -19,9 +19,9 @@ impl GetTagsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl GetTagsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::get_tags::GetTags, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

The resource ARN for the tag.

pub fn resource_arn(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.resource_arn(input.into()); diff --git a/sdk/apigatewayv2/src/operation/get_vpc_link/builders.rs b/sdk/apigatewayv2/src/operation/get_vpc_link/builders.rs index 9075638cbce7..e12577891572 100644 --- a/sdk/apigatewayv2/src/operation/get_vpc_link/builders.rs +++ b/sdk/apigatewayv2/src/operation/get_vpc_link/builders.rs @@ -19,9 +19,9 @@ impl GetVpcLinkFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl GetVpcLinkFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::get_vpc_link::GetVpcLink, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

The ID of the VPC link.

pub fn vpc_link_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.vpc_link_id(input.into()); diff --git a/sdk/apigatewayv2/src/operation/get_vpc_links/builders.rs b/sdk/apigatewayv2/src/operation/get_vpc_links/builders.rs index 7437f1d9086a..04762f47e5ad 100644 --- a/sdk/apigatewayv2/src/operation/get_vpc_links/builders.rs +++ b/sdk/apigatewayv2/src/operation/get_vpc_links/builders.rs @@ -19,9 +19,9 @@ impl GetVpcLinksFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl GetVpcLinksFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::get_vpc_links::GetVpcLinks, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

The maximum number of elements to be returned for this resource.

pub fn max_results(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.max_results(input.into()); diff --git a/sdk/apigatewayv2/src/operation/import_api/builders.rs b/sdk/apigatewayv2/src/operation/import_api/builders.rs index 4cd59876773a..be8aff25d918 100644 --- a/sdk/apigatewayv2/src/operation/import_api/builders.rs +++ b/sdk/apigatewayv2/src/operation/import_api/builders.rs @@ -19,9 +19,9 @@ impl ImportApiFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl ImportApiFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::import_api::ImportApi, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

Specifies how to interpret the base path of the API during import. Valid values are ignore, prepend, and split. The default value is ignore. To learn more, see Set the OpenAPI basePath Property. Supported only for HTTP APIs.

pub fn basepath(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.basepath(input.into()); diff --git a/sdk/apigatewayv2/src/operation/reimport_api/builders.rs b/sdk/apigatewayv2/src/operation/reimport_api/builders.rs index adc1f9ca54a5..fd83af48338b 100644 --- a/sdk/apigatewayv2/src/operation/reimport_api/builders.rs +++ b/sdk/apigatewayv2/src/operation/reimport_api/builders.rs @@ -19,9 +19,9 @@ impl ReimportApiFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl ReimportApiFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::reimport_api::ReimportApi, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

The API identifier.

pub fn api_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.api_id(input.into()); diff --git a/sdk/apigatewayv2/src/operation/reset_authorizers_cache/builders.rs b/sdk/apigatewayv2/src/operation/reset_authorizers_cache/builders.rs index cfbd2dd6821c..cc522f30dbe7 100644 --- a/sdk/apigatewayv2/src/operation/reset_authorizers_cache/builders.rs +++ b/sdk/apigatewayv2/src/operation/reset_authorizers_cache/builders.rs @@ -19,9 +19,9 @@ impl ResetAuthorizersCacheFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl ResetAuthorizersCacheFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::reset_authorizers_cache::ResetAuthorizersCache, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::reset_authorizers_cache::ResetAuthorizersCacheError, + >, + > { + self.customize_middleware().await + } ///

The API identifier.

pub fn api_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.api_id(input.into()); diff --git a/sdk/apigatewayv2/src/operation/tag_resource/builders.rs b/sdk/apigatewayv2/src/operation/tag_resource/builders.rs index 2d7e5d6deb86..80bd4e58998c 100644 --- a/sdk/apigatewayv2/src/operation/tag_resource/builders.rs +++ b/sdk/apigatewayv2/src/operation/tag_resource/builders.rs @@ -19,9 +19,9 @@ impl TagResourceFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl TagResourceFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::tag_resource::TagResource, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

The resource ARN for the tag.

pub fn resource_arn(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.resource_arn(input.into()); diff --git a/sdk/apigatewayv2/src/operation/untag_resource/builders.rs b/sdk/apigatewayv2/src/operation/untag_resource/builders.rs index 2bb29444238d..4d0dbe377b38 100644 --- a/sdk/apigatewayv2/src/operation/untag_resource/builders.rs +++ b/sdk/apigatewayv2/src/operation/untag_resource/builders.rs @@ -19,9 +19,9 @@ impl UntagResourceFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl UntagResourceFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::untag_resource::UntagResource, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

The resource ARN for the tag.

pub fn resource_arn(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.resource_arn(input.into()); diff --git a/sdk/apigatewayv2/src/operation/update_api/builders.rs b/sdk/apigatewayv2/src/operation/update_api/builders.rs index d8e53f83ae5d..d6376df94031 100644 --- a/sdk/apigatewayv2/src/operation/update_api/builders.rs +++ b/sdk/apigatewayv2/src/operation/update_api/builders.rs @@ -19,9 +19,9 @@ impl UpdateApiFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl UpdateApiFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::update_api::UpdateApi, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

The API identifier.

pub fn api_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.api_id(input.into()); diff --git a/sdk/apigatewayv2/src/operation/update_api_mapping/builders.rs b/sdk/apigatewayv2/src/operation/update_api_mapping/builders.rs index 4894947798c8..1e46ba4fb6f5 100644 --- a/sdk/apigatewayv2/src/operation/update_api_mapping/builders.rs +++ b/sdk/apigatewayv2/src/operation/update_api_mapping/builders.rs @@ -19,9 +19,9 @@ impl UpdateApiMappingFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl UpdateApiMappingFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::update_api_mapping::UpdateApiMapping, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::update_api_mapping::UpdateApiMappingError, + >, + > { + self.customize_middleware().await + } ///

The API identifier.

pub fn api_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.api_id(input.into()); diff --git a/sdk/apigatewayv2/src/operation/update_authorizer/builders.rs b/sdk/apigatewayv2/src/operation/update_authorizer/builders.rs index d5e20662408c..431db36aa0c0 100644 --- a/sdk/apigatewayv2/src/operation/update_authorizer/builders.rs +++ b/sdk/apigatewayv2/src/operation/update_authorizer/builders.rs @@ -19,9 +19,9 @@ impl UpdateAuthorizerFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl UpdateAuthorizerFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::update_authorizer::UpdateAuthorizer, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::update_authorizer::UpdateAuthorizerError, + >, + > { + self.customize_middleware().await + } ///

The API identifier.

pub fn api_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.api_id(input.into()); diff --git a/sdk/apigatewayv2/src/operation/update_deployment/builders.rs b/sdk/apigatewayv2/src/operation/update_deployment/builders.rs index 732715f32150..a8e66a5930b1 100644 --- a/sdk/apigatewayv2/src/operation/update_deployment/builders.rs +++ b/sdk/apigatewayv2/src/operation/update_deployment/builders.rs @@ -19,9 +19,9 @@ impl UpdateDeploymentFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl UpdateDeploymentFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::update_deployment::UpdateDeployment, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::update_deployment::UpdateDeploymentError, + >, + > { + self.customize_middleware().await + } ///

The API identifier.

pub fn api_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.api_id(input.into()); diff --git a/sdk/apigatewayv2/src/operation/update_domain_name/builders.rs b/sdk/apigatewayv2/src/operation/update_domain_name/builders.rs index 6894374ab578..f2b2cf1a2c62 100644 --- a/sdk/apigatewayv2/src/operation/update_domain_name/builders.rs +++ b/sdk/apigatewayv2/src/operation/update_domain_name/builders.rs @@ -19,9 +19,9 @@ impl UpdateDomainNameFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl UpdateDomainNameFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::update_domain_name::UpdateDomainName, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::update_domain_name::UpdateDomainNameError, + >, + > { + self.customize_middleware().await + } ///

The domain name.

pub fn domain_name(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.domain_name(input.into()); diff --git a/sdk/apigatewayv2/src/operation/update_integration/builders.rs b/sdk/apigatewayv2/src/operation/update_integration/builders.rs index 1293e8353aca..81a68355f3d5 100644 --- a/sdk/apigatewayv2/src/operation/update_integration/builders.rs +++ b/sdk/apigatewayv2/src/operation/update_integration/builders.rs @@ -19,9 +19,9 @@ impl UpdateIntegrationFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl UpdateIntegrationFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::update_integration::UpdateIntegration, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::update_integration::UpdateIntegrationError, + >, + > { + self.customize_middleware().await + } ///

The API identifier.

pub fn api_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.api_id(input.into()); diff --git a/sdk/apigatewayv2/src/operation/update_integration_response/builders.rs b/sdk/apigatewayv2/src/operation/update_integration_response/builders.rs index 9735ef720342..028bc2617f7d 100644 --- a/sdk/apigatewayv2/src/operation/update_integration_response/builders.rs +++ b/sdk/apigatewayv2/src/operation/update_integration_response/builders.rs @@ -19,9 +19,9 @@ impl UpdateIntegrationResponseFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl UpdateIntegrationResponseFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::update_integration_response::UpdateIntegrationResponse, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::update_integration_response::UpdateIntegrationResponseError, + >, + > { + self.customize_middleware().await + } ///

The API identifier.

pub fn api_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.api_id(input.into()); diff --git a/sdk/apigatewayv2/src/operation/update_model/builders.rs b/sdk/apigatewayv2/src/operation/update_model/builders.rs index 4793d202174d..36d4c9a02dc7 100644 --- a/sdk/apigatewayv2/src/operation/update_model/builders.rs +++ b/sdk/apigatewayv2/src/operation/update_model/builders.rs @@ -19,9 +19,9 @@ impl UpdateModelFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl UpdateModelFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::update_model::UpdateModel, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

The API identifier.

pub fn api_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.api_id(input.into()); diff --git a/sdk/apigatewayv2/src/operation/update_route/builders.rs b/sdk/apigatewayv2/src/operation/update_route/builders.rs index da56a0ee1a0c..f11acca2fc3e 100644 --- a/sdk/apigatewayv2/src/operation/update_route/builders.rs +++ b/sdk/apigatewayv2/src/operation/update_route/builders.rs @@ -19,9 +19,9 @@ impl UpdateRouteFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl UpdateRouteFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::update_route::UpdateRoute, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

The API identifier.

pub fn api_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.api_id(input.into()); diff --git a/sdk/apigatewayv2/src/operation/update_route_response/builders.rs b/sdk/apigatewayv2/src/operation/update_route_response/builders.rs index a61df6aa8ccc..cbc7ebcf2421 100644 --- a/sdk/apigatewayv2/src/operation/update_route_response/builders.rs +++ b/sdk/apigatewayv2/src/operation/update_route_response/builders.rs @@ -19,9 +19,9 @@ impl UpdateRouteResponseFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl UpdateRouteResponseFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::update_route_response::UpdateRouteResponse, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::update_route_response::UpdateRouteResponseError, + >, + > { + self.customize_middleware().await + } ///

The API identifier.

pub fn api_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.api_id(input.into()); diff --git a/sdk/apigatewayv2/src/operation/update_stage/builders.rs b/sdk/apigatewayv2/src/operation/update_stage/builders.rs index 7f34db72e2cb..6ac24744b9ca 100644 --- a/sdk/apigatewayv2/src/operation/update_stage/builders.rs +++ b/sdk/apigatewayv2/src/operation/update_stage/builders.rs @@ -19,9 +19,9 @@ impl UpdateStageFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl UpdateStageFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::update_stage::UpdateStage, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

Settings for logging access in this stage.

pub fn access_log_settings(mut self, input: crate::types::AccessLogSettings) -> Self { self.inner = self.inner.access_log_settings(input); diff --git a/sdk/apigatewayv2/src/operation/update_vpc_link/builders.rs b/sdk/apigatewayv2/src/operation/update_vpc_link/builders.rs index c9e695b7ddb0..65358c34fb1f 100644 --- a/sdk/apigatewayv2/src/operation/update_vpc_link/builders.rs +++ b/sdk/apigatewayv2/src/operation/update_vpc_link/builders.rs @@ -19,9 +19,9 @@ impl UpdateVpcLinkFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl UpdateVpcLinkFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::update_vpc_link::UpdateVpcLink, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

The name of the VPC link.

pub fn name(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.name(input.into()); diff --git a/sdk/appconfig/src/operation/create_application/builders.rs b/sdk/appconfig/src/operation/create_application/builders.rs index b9027432920b..a71959f8075b 100644 --- a/sdk/appconfig/src/operation/create_application/builders.rs +++ b/sdk/appconfig/src/operation/create_application/builders.rs @@ -19,9 +19,9 @@ impl CreateApplicationFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl CreateApplicationFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::create_application::CreateApplication, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::create_application::CreateApplicationError, + >, + > { + self.customize_middleware().await + } ///

A name for the application.

pub fn name(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.name(input.into()); diff --git a/sdk/appconfig/src/operation/create_configuration_profile/builders.rs b/sdk/appconfig/src/operation/create_configuration_profile/builders.rs index 2af8d0cb2353..a435c3833055 100644 --- a/sdk/appconfig/src/operation/create_configuration_profile/builders.rs +++ b/sdk/appconfig/src/operation/create_configuration_profile/builders.rs @@ -34,9 +34,9 @@ impl CreateConfigurationProfileFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -98,6 +98,22 @@ impl CreateConfigurationProfileFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::create_configuration_profile::CreateConfigurationProfile, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::create_configuration_profile::CreateConfigurationProfileError, + >, + > { + self.customize_middleware().await + } ///

The application ID.

pub fn application_id( mut self, diff --git a/sdk/appconfig/src/operation/create_deployment_strategy/builders.rs b/sdk/appconfig/src/operation/create_deployment_strategy/builders.rs index 6fae39ea82b2..3d8b32880e18 100644 --- a/sdk/appconfig/src/operation/create_deployment_strategy/builders.rs +++ b/sdk/appconfig/src/operation/create_deployment_strategy/builders.rs @@ -19,9 +19,9 @@ impl CreateDeploymentStrategyFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl CreateDeploymentStrategyFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::create_deployment_strategy::CreateDeploymentStrategy, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::create_deployment_strategy::CreateDeploymentStrategyError, + >, + > { + self.customize_middleware().await + } ///

A name for the deployment strategy.

pub fn name(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.name(input.into()); diff --git a/sdk/appconfig/src/operation/create_environment/builders.rs b/sdk/appconfig/src/operation/create_environment/builders.rs index 8b1adbeac337..2a123abdc110 100644 --- a/sdk/appconfig/src/operation/create_environment/builders.rs +++ b/sdk/appconfig/src/operation/create_environment/builders.rs @@ -19,9 +19,9 @@ impl CreateEnvironmentFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl CreateEnvironmentFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::create_environment::CreateEnvironment, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::create_environment::CreateEnvironmentError, + >, + > { + self.customize_middleware().await + } ///

The application ID.

pub fn application_id( mut self, diff --git a/sdk/appconfig/src/operation/create_extension/builders.rs b/sdk/appconfig/src/operation/create_extension/builders.rs index aad58e0a156f..1b2dcfcfb56b 100644 --- a/sdk/appconfig/src/operation/create_extension/builders.rs +++ b/sdk/appconfig/src/operation/create_extension/builders.rs @@ -20,9 +20,9 @@ impl CreateExtensionFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -84,6 +84,22 @@ impl CreateExtensionFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::create_extension::CreateExtension, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::create_extension::CreateExtensionError, + >, + > { + self.customize_middleware().await + } ///

A name for the extension. Each extension name in your account must be unique. Extension versions use the same name.

pub fn name(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.name(input.into()); diff --git a/sdk/appconfig/src/operation/create_extension_association/builders.rs b/sdk/appconfig/src/operation/create_extension_association/builders.rs index fd047a08d0ca..5b976b47c1ab 100644 --- a/sdk/appconfig/src/operation/create_extension_association/builders.rs +++ b/sdk/appconfig/src/operation/create_extension_association/builders.rs @@ -19,9 +19,9 @@ impl CreateExtensionAssociationFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl CreateExtensionAssociationFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::create_extension_association::CreateExtensionAssociation, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::create_extension_association::CreateExtensionAssociationError, + >, + > { + self.customize_middleware().await + } ///

The name, the ID, or the Amazon Resource Name (ARN) of the extension.

pub fn extension_identifier( mut self, diff --git a/sdk/appconfig/src/operation/create_hosted_configuration_version/builders.rs b/sdk/appconfig/src/operation/create_hosted_configuration_version/builders.rs index d565c21dad06..c3a2b502e73a 100644 --- a/sdk/appconfig/src/operation/create_hosted_configuration_version/builders.rs +++ b/sdk/appconfig/src/operation/create_hosted_configuration_version/builders.rs @@ -19,9 +19,9 @@ impl CreateHostedConfigurationVersionFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize(self) -> ::std::result::Result< + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware(self) -> ::std::result::Result< crate::client::customize::CustomizableOperation, ::aws_smithy_http::result::SdkError >{ @@ -64,6 +64,15 @@ impl CreateHostedConfigurationVersionFluentBuilder { { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize(self) -> ::std::result::Result< + crate::client::customize::CustomizableOperation, + ::aws_smithy_http::result::SdkError + >{ + self.customize_middleware().await + } ///

The application ID.

pub fn application_id( mut self, diff --git a/sdk/appconfig/src/operation/delete_application/builders.rs b/sdk/appconfig/src/operation/delete_application/builders.rs index 302790452466..ba595edf1b87 100644 --- a/sdk/appconfig/src/operation/delete_application/builders.rs +++ b/sdk/appconfig/src/operation/delete_application/builders.rs @@ -19,9 +19,9 @@ impl DeleteApplicationFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl DeleteApplicationFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::delete_application::DeleteApplication, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::delete_application::DeleteApplicationError, + >, + > { + self.customize_middleware().await + } ///

The ID of the application to delete.

pub fn application_id( mut self, diff --git a/sdk/appconfig/src/operation/delete_configuration_profile/builders.rs b/sdk/appconfig/src/operation/delete_configuration_profile/builders.rs index 74480f4875bc..6b0b8e9e0878 100644 --- a/sdk/appconfig/src/operation/delete_configuration_profile/builders.rs +++ b/sdk/appconfig/src/operation/delete_configuration_profile/builders.rs @@ -19,9 +19,9 @@ impl DeleteConfigurationProfileFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl DeleteConfigurationProfileFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::delete_configuration_profile::DeleteConfigurationProfile, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::delete_configuration_profile::DeleteConfigurationProfileError, + >, + > { + self.customize_middleware().await + } ///

The application ID that includes the configuration profile you want to delete.

pub fn application_id( mut self, diff --git a/sdk/appconfig/src/operation/delete_deployment_strategy/builders.rs b/sdk/appconfig/src/operation/delete_deployment_strategy/builders.rs index 34931281bb6e..303df948979f 100644 --- a/sdk/appconfig/src/operation/delete_deployment_strategy/builders.rs +++ b/sdk/appconfig/src/operation/delete_deployment_strategy/builders.rs @@ -19,9 +19,9 @@ impl DeleteDeploymentStrategyFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl DeleteDeploymentStrategyFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::delete_deployment_strategy::DeleteDeploymentStrategy, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::delete_deployment_strategy::DeleteDeploymentStrategyError, + >, + > { + self.customize_middleware().await + } ///

The ID of the deployment strategy you want to delete.

pub fn deployment_strategy_id( mut self, diff --git a/sdk/appconfig/src/operation/delete_environment/builders.rs b/sdk/appconfig/src/operation/delete_environment/builders.rs index 0dd97cb68e54..641567d55dc5 100644 --- a/sdk/appconfig/src/operation/delete_environment/builders.rs +++ b/sdk/appconfig/src/operation/delete_environment/builders.rs @@ -19,9 +19,9 @@ impl DeleteEnvironmentFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl DeleteEnvironmentFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::delete_environment::DeleteEnvironment, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::delete_environment::DeleteEnvironmentError, + >, + > { + self.customize_middleware().await + } ///

The application ID that includes the environment that you want to delete.

pub fn application_id( mut self, diff --git a/sdk/appconfig/src/operation/delete_extension/builders.rs b/sdk/appconfig/src/operation/delete_extension/builders.rs index 736b8261a8db..76b905b965b0 100644 --- a/sdk/appconfig/src/operation/delete_extension/builders.rs +++ b/sdk/appconfig/src/operation/delete_extension/builders.rs @@ -19,9 +19,9 @@ impl DeleteExtensionFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl DeleteExtensionFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::delete_extension::DeleteExtension, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::delete_extension::DeleteExtensionError, + >, + > { + self.customize_middleware().await + } ///

The name, ID, or Amazon Resource Name (ARN) of the extension you want to delete.

pub fn extension_identifier( mut self, diff --git a/sdk/appconfig/src/operation/delete_extension_association/builders.rs b/sdk/appconfig/src/operation/delete_extension_association/builders.rs index 05aebe7fde58..de021ba8fe67 100644 --- a/sdk/appconfig/src/operation/delete_extension_association/builders.rs +++ b/sdk/appconfig/src/operation/delete_extension_association/builders.rs @@ -19,9 +19,9 @@ impl DeleteExtensionAssociationFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl DeleteExtensionAssociationFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::delete_extension_association::DeleteExtensionAssociation, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::delete_extension_association::DeleteExtensionAssociationError, + >, + > { + self.customize_middleware().await + } ///

The ID of the extension association to delete.

pub fn extension_association_id( mut self, diff --git a/sdk/appconfig/src/operation/delete_hosted_configuration_version/builders.rs b/sdk/appconfig/src/operation/delete_hosted_configuration_version/builders.rs index 9f89d6839273..f8396849a9be 100644 --- a/sdk/appconfig/src/operation/delete_hosted_configuration_version/builders.rs +++ b/sdk/appconfig/src/operation/delete_hosted_configuration_version/builders.rs @@ -19,9 +19,9 @@ impl DeleteHostedConfigurationVersionFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize(self) -> ::std::result::Result< + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware(self) -> ::std::result::Result< crate::client::customize::CustomizableOperation, ::aws_smithy_http::result::SdkError >{ @@ -64,6 +64,15 @@ impl DeleteHostedConfigurationVersionFluentBuilder { { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize(self) -> ::std::result::Result< + crate::client::customize::CustomizableOperation, + ::aws_smithy_http::result::SdkError + >{ + self.customize_middleware().await + } ///

The application ID.

pub fn application_id( mut self, diff --git a/sdk/appconfig/src/operation/get_application/builders.rs b/sdk/appconfig/src/operation/get_application/builders.rs index 046d2fc1e6f2..1f98e24e5ba6 100644 --- a/sdk/appconfig/src/operation/get_application/builders.rs +++ b/sdk/appconfig/src/operation/get_application/builders.rs @@ -19,9 +19,9 @@ impl GetApplicationFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl GetApplicationFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::get_application::GetApplication, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

The ID of the application you want to get.

pub fn application_id( mut self, diff --git a/sdk/appconfig/src/operation/get_configuration/builders.rs b/sdk/appconfig/src/operation/get_configuration/builders.rs index 6fcbc286eb22..884bbe7670a5 100644 --- a/sdk/appconfig/src/operation/get_configuration/builders.rs +++ b/sdk/appconfig/src/operation/get_configuration/builders.rs @@ -28,9 +28,9 @@ impl GetConfigurationFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -92,6 +92,22 @@ impl GetConfigurationFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::get_configuration::GetConfiguration, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::get_configuration::GetConfigurationError, + >, + > { + self.customize_middleware().await + } ///

The application to get. Specify either the application name or the application ID.

pub fn application(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.application(input.into()); diff --git a/sdk/appconfig/src/operation/get_configuration_profile/builders.rs b/sdk/appconfig/src/operation/get_configuration_profile/builders.rs index e475693519d0..462c6977924d 100644 --- a/sdk/appconfig/src/operation/get_configuration_profile/builders.rs +++ b/sdk/appconfig/src/operation/get_configuration_profile/builders.rs @@ -20,9 +20,9 @@ impl GetConfigurationProfileFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -84,6 +84,22 @@ impl GetConfigurationProfileFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::get_configuration_profile::GetConfigurationProfile, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::get_configuration_profile::GetConfigurationProfileError, + >, + > { + self.customize_middleware().await + } ///

The ID of the application that includes the configuration profile you want to get.

pub fn application_id( mut self, diff --git a/sdk/appconfig/src/operation/get_deployment/builders.rs b/sdk/appconfig/src/operation/get_deployment/builders.rs index 51ed17a47ec3..ba843b6ee286 100644 --- a/sdk/appconfig/src/operation/get_deployment/builders.rs +++ b/sdk/appconfig/src/operation/get_deployment/builders.rs @@ -19,9 +19,9 @@ impl GetDeploymentFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl GetDeploymentFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::get_deployment::GetDeployment, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

The ID of the application that includes the deployment you want to get.

pub fn application_id( mut self, diff --git a/sdk/appconfig/src/operation/get_deployment_strategy/builders.rs b/sdk/appconfig/src/operation/get_deployment_strategy/builders.rs index 87ef9a2545b5..8e1caa8caaf9 100644 --- a/sdk/appconfig/src/operation/get_deployment_strategy/builders.rs +++ b/sdk/appconfig/src/operation/get_deployment_strategy/builders.rs @@ -19,9 +19,9 @@ impl GetDeploymentStrategyFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl GetDeploymentStrategyFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::get_deployment_strategy::GetDeploymentStrategy, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::get_deployment_strategy::GetDeploymentStrategyError, + >, + > { + self.customize_middleware().await + } ///

The ID of the deployment strategy to get.

pub fn deployment_strategy_id( mut self, diff --git a/sdk/appconfig/src/operation/get_environment/builders.rs b/sdk/appconfig/src/operation/get_environment/builders.rs index 30dba6b776f5..c838106306ee 100644 --- a/sdk/appconfig/src/operation/get_environment/builders.rs +++ b/sdk/appconfig/src/operation/get_environment/builders.rs @@ -19,9 +19,9 @@ impl GetEnvironmentFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl GetEnvironmentFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::get_environment::GetEnvironment, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

The ID of the application that includes the environment you want to get.

pub fn application_id( mut self, diff --git a/sdk/appconfig/src/operation/get_extension/builders.rs b/sdk/appconfig/src/operation/get_extension/builders.rs index 5e71bfe17c0a..7f473fe4077d 100644 --- a/sdk/appconfig/src/operation/get_extension/builders.rs +++ b/sdk/appconfig/src/operation/get_extension/builders.rs @@ -19,9 +19,9 @@ impl GetExtensionFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl GetExtensionFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::get_extension::GetExtension, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

The name, the ID, or the Amazon Resource Name (ARN) of the extension.

pub fn extension_identifier( mut self, diff --git a/sdk/appconfig/src/operation/get_extension_association/builders.rs b/sdk/appconfig/src/operation/get_extension_association/builders.rs index b6ae4d500464..f82c82ed5722 100644 --- a/sdk/appconfig/src/operation/get_extension_association/builders.rs +++ b/sdk/appconfig/src/operation/get_extension_association/builders.rs @@ -20,9 +20,9 @@ impl GetExtensionAssociationFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -84,6 +84,22 @@ impl GetExtensionAssociationFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::get_extension_association::GetExtensionAssociation, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::get_extension_association::GetExtensionAssociationError, + >, + > { + self.customize_middleware().await + } ///

The extension association ID to get.

pub fn extension_association_id( mut self, diff --git a/sdk/appconfig/src/operation/get_hosted_configuration_version/builders.rs b/sdk/appconfig/src/operation/get_hosted_configuration_version/builders.rs index 216a880b837d..df2c37e0f78d 100644 --- a/sdk/appconfig/src/operation/get_hosted_configuration_version/builders.rs +++ b/sdk/appconfig/src/operation/get_hosted_configuration_version/builders.rs @@ -19,9 +19,9 @@ impl GetHostedConfigurationVersionFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl GetHostedConfigurationVersionFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::get_hosted_configuration_version::GetHostedConfigurationVersion, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::get_hosted_configuration_version::GetHostedConfigurationVersionError, + >, + > { + self.customize_middleware().await + } ///

The application ID.

pub fn application_id( mut self, diff --git a/sdk/appconfig/src/operation/list_applications/builders.rs b/sdk/appconfig/src/operation/list_applications/builders.rs index 29c446337973..682e201f04c0 100644 --- a/sdk/appconfig/src/operation/list_applications/builders.rs +++ b/sdk/appconfig/src/operation/list_applications/builders.rs @@ -19,9 +19,9 @@ impl ListApplicationsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl ListApplicationsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_applications::ListApplications, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::list_applications::ListApplicationsError, + >, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::list_applications::paginator::ListApplicationsPaginator::send) which returns a `Stream`. diff --git a/sdk/appconfig/src/operation/list_configuration_profiles/builders.rs b/sdk/appconfig/src/operation/list_configuration_profiles/builders.rs index 5bb22a64fe77..0c63b2a9dd2a 100644 --- a/sdk/appconfig/src/operation/list_configuration_profiles/builders.rs +++ b/sdk/appconfig/src/operation/list_configuration_profiles/builders.rs @@ -19,9 +19,9 @@ impl ListConfigurationProfilesFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl ListConfigurationProfilesFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_configuration_profiles::ListConfigurationProfiles, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::list_configuration_profiles::ListConfigurationProfilesError, + >, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::list_configuration_profiles::paginator::ListConfigurationProfilesPaginator::send) which returns a `Stream`. diff --git a/sdk/appconfig/src/operation/list_deployment_strategies/builders.rs b/sdk/appconfig/src/operation/list_deployment_strategies/builders.rs index 95ec69ac9bd3..2f0160ec89fe 100644 --- a/sdk/appconfig/src/operation/list_deployment_strategies/builders.rs +++ b/sdk/appconfig/src/operation/list_deployment_strategies/builders.rs @@ -19,9 +19,9 @@ impl ListDeploymentStrategiesFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl ListDeploymentStrategiesFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_deployment_strategies::ListDeploymentStrategies, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::list_deployment_strategies::ListDeploymentStrategiesError, + >, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::list_deployment_strategies::paginator::ListDeploymentStrategiesPaginator::send) which returns a `Stream`. diff --git a/sdk/appconfig/src/operation/list_deployments/builders.rs b/sdk/appconfig/src/operation/list_deployments/builders.rs index e1db098bab29..57183d7ae092 100644 --- a/sdk/appconfig/src/operation/list_deployments/builders.rs +++ b/sdk/appconfig/src/operation/list_deployments/builders.rs @@ -19,9 +19,9 @@ impl ListDeploymentsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl ListDeploymentsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_deployments::ListDeployments, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::list_deployments::ListDeploymentsError, + >, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::list_deployments::paginator::ListDeploymentsPaginator::send) which returns a `Stream`. diff --git a/sdk/appconfig/src/operation/list_environments/builders.rs b/sdk/appconfig/src/operation/list_environments/builders.rs index a105e0a7bc0f..c6a118e9630d 100644 --- a/sdk/appconfig/src/operation/list_environments/builders.rs +++ b/sdk/appconfig/src/operation/list_environments/builders.rs @@ -19,9 +19,9 @@ impl ListEnvironmentsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl ListEnvironmentsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_environments::ListEnvironments, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::list_environments::ListEnvironmentsError, + >, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::list_environments::paginator::ListEnvironmentsPaginator::send) which returns a `Stream`. diff --git a/sdk/appconfig/src/operation/list_extension_associations/builders.rs b/sdk/appconfig/src/operation/list_extension_associations/builders.rs index a3b91b875d0f..58cef4947c7d 100644 --- a/sdk/appconfig/src/operation/list_extension_associations/builders.rs +++ b/sdk/appconfig/src/operation/list_extension_associations/builders.rs @@ -19,9 +19,9 @@ impl ListExtensionAssociationsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl ListExtensionAssociationsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_extension_associations::ListExtensionAssociations, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::list_extension_associations::ListExtensionAssociationsError, + >, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::list_extension_associations::paginator::ListExtensionAssociationsPaginator::send) which returns a `Stream`. diff --git a/sdk/appconfig/src/operation/list_extensions/builders.rs b/sdk/appconfig/src/operation/list_extensions/builders.rs index e7c5c276f271..72591bafaa10 100644 --- a/sdk/appconfig/src/operation/list_extensions/builders.rs +++ b/sdk/appconfig/src/operation/list_extensions/builders.rs @@ -19,9 +19,9 @@ impl ListExtensionsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl ListExtensionsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_extensions::ListExtensions, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::list_extensions::paginator::ListExtensionsPaginator::send) which returns a `Stream`. diff --git a/sdk/appconfig/src/operation/list_hosted_configuration_versions/builders.rs b/sdk/appconfig/src/operation/list_hosted_configuration_versions/builders.rs index b411339fe43a..b784d19370ee 100644 --- a/sdk/appconfig/src/operation/list_hosted_configuration_versions/builders.rs +++ b/sdk/appconfig/src/operation/list_hosted_configuration_versions/builders.rs @@ -19,9 +19,9 @@ impl ListHostedConfigurationVersionsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize(self) -> ::std::result::Result< + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware(self) -> ::std::result::Result< crate::client::customize::CustomizableOperation, ::aws_smithy_http::result::SdkError >{ @@ -64,6 +64,15 @@ impl ListHostedConfigurationVersionsFluentBuilder { { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize(self) -> ::std::result::Result< + crate::client::customize::CustomizableOperation, + ::aws_smithy_http::result::SdkError + >{ + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::list_hosted_configuration_versions::paginator::ListHostedConfigurationVersionsPaginator::send) which returns a `Stream`. diff --git a/sdk/appconfig/src/operation/list_tags_for_resource/builders.rs b/sdk/appconfig/src/operation/list_tags_for_resource/builders.rs index 5252ee621f23..2f5ad29926a9 100644 --- a/sdk/appconfig/src/operation/list_tags_for_resource/builders.rs +++ b/sdk/appconfig/src/operation/list_tags_for_resource/builders.rs @@ -19,9 +19,9 @@ impl ListTagsForResourceFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl ListTagsForResourceFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_tags_for_resource::ListTagsForResource, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::list_tags_for_resource::ListTagsForResourceError, + >, + > { + self.customize_middleware().await + } ///

The resource ARN.

pub fn resource_arn(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.resource_arn(input.into()); diff --git a/sdk/appconfig/src/operation/start_deployment/builders.rs b/sdk/appconfig/src/operation/start_deployment/builders.rs index ed03264753df..b73d82ee4501 100644 --- a/sdk/appconfig/src/operation/start_deployment/builders.rs +++ b/sdk/appconfig/src/operation/start_deployment/builders.rs @@ -19,9 +19,9 @@ impl StartDeploymentFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl StartDeploymentFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::start_deployment::StartDeployment, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::start_deployment::StartDeploymentError, + >, + > { + self.customize_middleware().await + } ///

The application ID.

pub fn application_id( mut self, diff --git a/sdk/appconfig/src/operation/stop_deployment/builders.rs b/sdk/appconfig/src/operation/stop_deployment/builders.rs index 5fd7c50aa246..f7f93fe76941 100644 --- a/sdk/appconfig/src/operation/stop_deployment/builders.rs +++ b/sdk/appconfig/src/operation/stop_deployment/builders.rs @@ -19,9 +19,9 @@ impl StopDeploymentFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl StopDeploymentFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::stop_deployment::StopDeployment, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

The application ID.

pub fn application_id( mut self, diff --git a/sdk/appconfig/src/operation/tag_resource/builders.rs b/sdk/appconfig/src/operation/tag_resource/builders.rs index 9f869982da46..d3a44e5f929c 100644 --- a/sdk/appconfig/src/operation/tag_resource/builders.rs +++ b/sdk/appconfig/src/operation/tag_resource/builders.rs @@ -19,9 +19,9 @@ impl TagResourceFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl TagResourceFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::tag_resource::TagResource, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

The ARN of the resource for which to retrieve tags.

pub fn resource_arn(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.resource_arn(input.into()); diff --git a/sdk/appconfig/src/operation/untag_resource/builders.rs b/sdk/appconfig/src/operation/untag_resource/builders.rs index e6be657115f5..8085ed8fc906 100644 --- a/sdk/appconfig/src/operation/untag_resource/builders.rs +++ b/sdk/appconfig/src/operation/untag_resource/builders.rs @@ -19,9 +19,9 @@ impl UntagResourceFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl UntagResourceFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::untag_resource::UntagResource, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

The ARN of the resource for which to remove tags.

pub fn resource_arn(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.resource_arn(input.into()); diff --git a/sdk/appconfig/src/operation/update_application/builders.rs b/sdk/appconfig/src/operation/update_application/builders.rs index 21f9e5d76153..c9027e7c0206 100644 --- a/sdk/appconfig/src/operation/update_application/builders.rs +++ b/sdk/appconfig/src/operation/update_application/builders.rs @@ -19,9 +19,9 @@ impl UpdateApplicationFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl UpdateApplicationFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::update_application::UpdateApplication, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::update_application::UpdateApplicationError, + >, + > { + self.customize_middleware().await + } ///

The application ID.

pub fn application_id( mut self, diff --git a/sdk/appconfig/src/operation/update_configuration_profile/builders.rs b/sdk/appconfig/src/operation/update_configuration_profile/builders.rs index 0fa06093e3b2..7566873fd986 100644 --- a/sdk/appconfig/src/operation/update_configuration_profile/builders.rs +++ b/sdk/appconfig/src/operation/update_configuration_profile/builders.rs @@ -19,9 +19,9 @@ impl UpdateConfigurationProfileFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl UpdateConfigurationProfileFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::update_configuration_profile::UpdateConfigurationProfile, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::update_configuration_profile::UpdateConfigurationProfileError, + >, + > { + self.customize_middleware().await + } ///

The application ID.

pub fn application_id( mut self, diff --git a/sdk/appconfig/src/operation/update_deployment_strategy/builders.rs b/sdk/appconfig/src/operation/update_deployment_strategy/builders.rs index 36cd1e86246c..57ad4c49ff45 100644 --- a/sdk/appconfig/src/operation/update_deployment_strategy/builders.rs +++ b/sdk/appconfig/src/operation/update_deployment_strategy/builders.rs @@ -19,9 +19,9 @@ impl UpdateDeploymentStrategyFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl UpdateDeploymentStrategyFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::update_deployment_strategy::UpdateDeploymentStrategy, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::update_deployment_strategy::UpdateDeploymentStrategyError, + >, + > { + self.customize_middleware().await + } ///

The deployment strategy ID.

pub fn deployment_strategy_id( mut self, diff --git a/sdk/appconfig/src/operation/update_environment/builders.rs b/sdk/appconfig/src/operation/update_environment/builders.rs index 77e68234f166..a81601049216 100644 --- a/sdk/appconfig/src/operation/update_environment/builders.rs +++ b/sdk/appconfig/src/operation/update_environment/builders.rs @@ -19,9 +19,9 @@ impl UpdateEnvironmentFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl UpdateEnvironmentFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::update_environment::UpdateEnvironment, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::update_environment::UpdateEnvironmentError, + >, + > { + self.customize_middleware().await + } ///

The application ID.

pub fn application_id( mut self, diff --git a/sdk/appconfig/src/operation/update_extension/builders.rs b/sdk/appconfig/src/operation/update_extension/builders.rs index 785f4793760b..e7edaeedb1ab 100644 --- a/sdk/appconfig/src/operation/update_extension/builders.rs +++ b/sdk/appconfig/src/operation/update_extension/builders.rs @@ -19,9 +19,9 @@ impl UpdateExtensionFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl UpdateExtensionFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::update_extension::UpdateExtension, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::update_extension::UpdateExtensionError, + >, + > { + self.customize_middleware().await + } ///

The name, the ID, or the Amazon Resource Name (ARN) of the extension.

pub fn extension_identifier( mut self, diff --git a/sdk/appconfig/src/operation/update_extension_association/builders.rs b/sdk/appconfig/src/operation/update_extension_association/builders.rs index 544df6cbf870..452b4a957236 100644 --- a/sdk/appconfig/src/operation/update_extension_association/builders.rs +++ b/sdk/appconfig/src/operation/update_extension_association/builders.rs @@ -19,9 +19,9 @@ impl UpdateExtensionAssociationFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl UpdateExtensionAssociationFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::update_extension_association::UpdateExtensionAssociation, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::update_extension_association::UpdateExtensionAssociationError, + >, + > { + self.customize_middleware().await + } ///

The system-generated ID for the association.

pub fn extension_association_id( mut self, diff --git a/sdk/appconfig/src/operation/validate_configuration/builders.rs b/sdk/appconfig/src/operation/validate_configuration/builders.rs index ec12d17576db..fee285cca757 100644 --- a/sdk/appconfig/src/operation/validate_configuration/builders.rs +++ b/sdk/appconfig/src/operation/validate_configuration/builders.rs @@ -19,9 +19,9 @@ impl ValidateConfigurationFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl ValidateConfigurationFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::validate_configuration::ValidateConfiguration, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::validate_configuration::ValidateConfigurationError, + >, + > { + self.customize_middleware().await + } ///

The application ID.

pub fn application_id( mut self, diff --git a/sdk/appconfigdata/src/operation/get_latest_configuration/builders.rs b/sdk/appconfigdata/src/operation/get_latest_configuration/builders.rs index bca01ce84f43..b33755b6c494 100644 --- a/sdk/appconfigdata/src/operation/get_latest_configuration/builders.rs +++ b/sdk/appconfigdata/src/operation/get_latest_configuration/builders.rs @@ -25,9 +25,9 @@ impl GetLatestConfigurationFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -89,6 +89,22 @@ impl GetLatestConfigurationFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::get_latest_configuration::GetLatestConfiguration, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::get_latest_configuration::GetLatestConfigurationError, + >, + > { + self.customize_middleware().await + } ///

Token describing the current state of the configuration session. To obtain a token, first call the StartConfigurationSession API. Note that every call to GetLatestConfiguration will return a new ConfigurationToken (NextPollConfigurationToken in the response) and must be provided to subsequent GetLatestConfiguration API calls.

///

This token should only be used once. To support long poll use cases, the token is valid for up to 24 hours. If a GetLatestConfiguration call uses an expired token, the system returns BadRequestException.

///
diff --git a/sdk/appconfigdata/src/operation/start_configuration_session/builders.rs b/sdk/appconfigdata/src/operation/start_configuration_session/builders.rs index df969389c993..f525e74deefb 100644 --- a/sdk/appconfigdata/src/operation/start_configuration_session/builders.rs +++ b/sdk/appconfigdata/src/operation/start_configuration_session/builders.rs @@ -19,9 +19,9 @@ impl StartConfigurationSessionFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl StartConfigurationSessionFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::start_configuration_session::StartConfigurationSession, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::start_configuration_session::StartConfigurationSessionError, + >, + > { + self.customize_middleware().await + } ///

The application ID or the application name.

pub fn application_identifier( mut self, diff --git a/sdk/appflow/src/operation/cancel_flow_executions/builders.rs b/sdk/appflow/src/operation/cancel_flow_executions/builders.rs index d348a9138d7c..797ba09428f8 100644 --- a/sdk/appflow/src/operation/cancel_flow_executions/builders.rs +++ b/sdk/appflow/src/operation/cancel_flow_executions/builders.rs @@ -25,9 +25,9 @@ impl CancelFlowExecutionsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -89,6 +89,22 @@ impl CancelFlowExecutionsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::cancel_flow_executions::CancelFlowExecutions, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::cancel_flow_executions::CancelFlowExecutionsError, + >, + > { + self.customize_middleware().await + } ///

The name of a flow with active runs that you want to cancel.

pub fn flow_name(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.flow_name(input.into()); diff --git a/sdk/appflow/src/operation/create_connector_profile/builders.rs b/sdk/appflow/src/operation/create_connector_profile/builders.rs index b159bf843533..6f810af71fd6 100644 --- a/sdk/appflow/src/operation/create_connector_profile/builders.rs +++ b/sdk/appflow/src/operation/create_connector_profile/builders.rs @@ -19,9 +19,9 @@ impl CreateConnectorProfileFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl CreateConnectorProfileFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::create_connector_profile::CreateConnectorProfile, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::create_connector_profile::CreateConnectorProfileError, + >, + > { + self.customize_middleware().await + } ///

The name of the connector profile. The name is unique for each ConnectorProfile in your Amazon Web Services account.

pub fn connector_profile_name( mut self, diff --git a/sdk/appflow/src/operation/create_flow/builders.rs b/sdk/appflow/src/operation/create_flow/builders.rs index 8b03860e3794..a582ebe41d05 100644 --- a/sdk/appflow/src/operation/create_flow/builders.rs +++ b/sdk/appflow/src/operation/create_flow/builders.rs @@ -19,9 +19,9 @@ impl CreateFlowFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl CreateFlowFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::create_flow::CreateFlow, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

The specified name of the flow. Spaces are not allowed. Use underscores (_) or hyphens (-) only.

pub fn flow_name(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.flow_name(input.into()); diff --git a/sdk/appflow/src/operation/delete_connector_profile/builders.rs b/sdk/appflow/src/operation/delete_connector_profile/builders.rs index 58fa94e50960..909f779e41d3 100644 --- a/sdk/appflow/src/operation/delete_connector_profile/builders.rs +++ b/sdk/appflow/src/operation/delete_connector_profile/builders.rs @@ -19,9 +19,9 @@ impl DeleteConnectorProfileFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl DeleteConnectorProfileFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::delete_connector_profile::DeleteConnectorProfile, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::delete_connector_profile::DeleteConnectorProfileError, + >, + > { + self.customize_middleware().await + } ///

The name of the connector profile. The name is unique for each ConnectorProfile in your account.

pub fn connector_profile_name( mut self, diff --git a/sdk/appflow/src/operation/delete_flow/builders.rs b/sdk/appflow/src/operation/delete_flow/builders.rs index 733b4c0114d4..df41bc76a256 100644 --- a/sdk/appflow/src/operation/delete_flow/builders.rs +++ b/sdk/appflow/src/operation/delete_flow/builders.rs @@ -19,9 +19,9 @@ impl DeleteFlowFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl DeleteFlowFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::delete_flow::DeleteFlow, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

The specified name of the flow. Spaces are not allowed. Use underscores (_) or hyphens (-) only.

pub fn flow_name(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.flow_name(input.into()); diff --git a/sdk/appflow/src/operation/describe_connector/builders.rs b/sdk/appflow/src/operation/describe_connector/builders.rs index 864239be13ae..d9912f054071 100644 --- a/sdk/appflow/src/operation/describe_connector/builders.rs +++ b/sdk/appflow/src/operation/describe_connector/builders.rs @@ -19,9 +19,9 @@ impl DescribeConnectorFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl DescribeConnectorFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::describe_connector::DescribeConnector, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::describe_connector::DescribeConnectorError, + >, + > { + self.customize_middleware().await + } ///

The connector type, such as CUSTOMCONNECTOR, Saleforce, Marketo. Please choose CUSTOMCONNECTOR for Lambda based custom connectors.

pub fn connector_type(mut self, input: crate::types::ConnectorType) -> Self { self.inner = self.inner.connector_type(input); diff --git a/sdk/appflow/src/operation/describe_connector_entity/builders.rs b/sdk/appflow/src/operation/describe_connector_entity/builders.rs index fabd1ffa7e05..f9f10a93b63a 100644 --- a/sdk/appflow/src/operation/describe_connector_entity/builders.rs +++ b/sdk/appflow/src/operation/describe_connector_entity/builders.rs @@ -20,9 +20,9 @@ impl DescribeConnectorEntityFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -84,6 +84,22 @@ impl DescribeConnectorEntityFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::describe_connector_entity::DescribeConnectorEntity, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::describe_connector_entity::DescribeConnectorEntityError, + >, + > { + self.customize_middleware().await + } ///

The entity name for that connector.

pub fn connector_entity_name( mut self, diff --git a/sdk/appflow/src/operation/describe_connector_profiles/builders.rs b/sdk/appflow/src/operation/describe_connector_profiles/builders.rs index d3ac0bb054b5..6f6be55d1cf9 100644 --- a/sdk/appflow/src/operation/describe_connector_profiles/builders.rs +++ b/sdk/appflow/src/operation/describe_connector_profiles/builders.rs @@ -20,9 +20,9 @@ impl DescribeConnectorProfilesFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -84,6 +84,22 @@ impl DescribeConnectorProfilesFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::describe_connector_profiles::DescribeConnectorProfiles, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::describe_connector_profiles::DescribeConnectorProfilesError, + >, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::describe_connector_profiles::paginator::DescribeConnectorProfilesPaginator::send) which returns a `Stream`. diff --git a/sdk/appflow/src/operation/describe_connectors/builders.rs b/sdk/appflow/src/operation/describe_connectors/builders.rs index c041c1700bc7..32b2830cc3c4 100644 --- a/sdk/appflow/src/operation/describe_connectors/builders.rs +++ b/sdk/appflow/src/operation/describe_connectors/builders.rs @@ -19,9 +19,9 @@ impl DescribeConnectorsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl DescribeConnectorsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::describe_connectors::DescribeConnectors, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::describe_connectors::DescribeConnectorsError, + >, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::describe_connectors::paginator::DescribeConnectorsPaginator::send) which returns a `Stream`. diff --git a/sdk/appflow/src/operation/describe_flow/builders.rs b/sdk/appflow/src/operation/describe_flow/builders.rs index 6913ca0f435a..8c145d5d3583 100644 --- a/sdk/appflow/src/operation/describe_flow/builders.rs +++ b/sdk/appflow/src/operation/describe_flow/builders.rs @@ -19,9 +19,9 @@ impl DescribeFlowFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl DescribeFlowFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::describe_flow::DescribeFlow, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

The specified name of the flow. Spaces are not allowed. Use underscores (_) or hyphens (-) only.

pub fn flow_name(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.flow_name(input.into()); diff --git a/sdk/appflow/src/operation/describe_flow_execution_records/builders.rs b/sdk/appflow/src/operation/describe_flow_execution_records/builders.rs index ecc3aa1ded5e..dae08e186ae7 100644 --- a/sdk/appflow/src/operation/describe_flow_execution_records/builders.rs +++ b/sdk/appflow/src/operation/describe_flow_execution_records/builders.rs @@ -19,9 +19,9 @@ impl DescribeFlowExecutionRecordsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl DescribeFlowExecutionRecordsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::describe_flow_execution_records::DescribeFlowExecutionRecords, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::describe_flow_execution_records::DescribeFlowExecutionRecordsError, + >, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::describe_flow_execution_records::paginator::DescribeFlowExecutionRecordsPaginator::send) which returns a `Stream`. diff --git a/sdk/appflow/src/operation/list_connector_entities/builders.rs b/sdk/appflow/src/operation/list_connector_entities/builders.rs index d5b13f19f5a7..f0cf9b70d480 100644 --- a/sdk/appflow/src/operation/list_connector_entities/builders.rs +++ b/sdk/appflow/src/operation/list_connector_entities/builders.rs @@ -19,9 +19,9 @@ impl ListConnectorEntitiesFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl ListConnectorEntitiesFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_connector_entities::ListConnectorEntities, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::list_connector_entities::ListConnectorEntitiesError, + >, + > { + self.customize_middleware().await + } ///

The name of the connector profile. The name is unique for each ConnectorProfile in the Amazon Web Services account, and is used to query the downstream connector.

pub fn connector_profile_name( mut self, diff --git a/sdk/appflow/src/operation/list_connectors/builders.rs b/sdk/appflow/src/operation/list_connectors/builders.rs index 08a6b740bb2c..9a30c57edf52 100644 --- a/sdk/appflow/src/operation/list_connectors/builders.rs +++ b/sdk/appflow/src/operation/list_connectors/builders.rs @@ -19,9 +19,9 @@ impl ListConnectorsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl ListConnectorsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_connectors::ListConnectors, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::list_connectors::paginator::ListConnectorsPaginator::send) which returns a `Stream`. diff --git a/sdk/appflow/src/operation/list_flows/builders.rs b/sdk/appflow/src/operation/list_flows/builders.rs index 7970c73de26f..fe511c272ae9 100644 --- a/sdk/appflow/src/operation/list_flows/builders.rs +++ b/sdk/appflow/src/operation/list_flows/builders.rs @@ -19,9 +19,9 @@ impl ListFlowsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl ListFlowsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_flows::ListFlows, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::list_flows::paginator::ListFlowsPaginator::send) which returns a `Stream`. diff --git a/sdk/appflow/src/operation/list_tags_for_resource/builders.rs b/sdk/appflow/src/operation/list_tags_for_resource/builders.rs index 5991668f381c..a6d932396779 100644 --- a/sdk/appflow/src/operation/list_tags_for_resource/builders.rs +++ b/sdk/appflow/src/operation/list_tags_for_resource/builders.rs @@ -19,9 +19,9 @@ impl ListTagsForResourceFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl ListTagsForResourceFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_tags_for_resource::ListTagsForResource, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::list_tags_for_resource::ListTagsForResourceError, + >, + > { + self.customize_middleware().await + } ///

The Amazon Resource Name (ARN) of the specified flow.

pub fn resource_arn(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.resource_arn(input.into()); diff --git a/sdk/appflow/src/operation/register_connector/builders.rs b/sdk/appflow/src/operation/register_connector/builders.rs index ceb354e4a795..60985f922bcd 100644 --- a/sdk/appflow/src/operation/register_connector/builders.rs +++ b/sdk/appflow/src/operation/register_connector/builders.rs @@ -19,9 +19,9 @@ impl RegisterConnectorFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl RegisterConnectorFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::register_connector::RegisterConnector, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::register_connector::RegisterConnectorError, + >, + > { + self.customize_middleware().await + } ///

The name of the connector. The name is unique for each ConnectorRegistration in your Amazon Web Services account.

pub fn connector_label( mut self, diff --git a/sdk/appflow/src/operation/start_flow/builders.rs b/sdk/appflow/src/operation/start_flow/builders.rs index 7bfdc1b2bcc2..c53d9e8cd275 100644 --- a/sdk/appflow/src/operation/start_flow/builders.rs +++ b/sdk/appflow/src/operation/start_flow/builders.rs @@ -19,9 +19,9 @@ impl StartFlowFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl StartFlowFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::start_flow::StartFlow, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

The specified name of the flow. Spaces are not allowed. Use underscores (_) or hyphens (-) only.

pub fn flow_name(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.flow_name(input.into()); diff --git a/sdk/appflow/src/operation/stop_flow/builders.rs b/sdk/appflow/src/operation/stop_flow/builders.rs index 37727ed97063..ed14b536ca94 100644 --- a/sdk/appflow/src/operation/stop_flow/builders.rs +++ b/sdk/appflow/src/operation/stop_flow/builders.rs @@ -19,9 +19,9 @@ impl StopFlowFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl StopFlowFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::stop_flow::StopFlow, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

The specified name of the flow. Spaces are not allowed. Use underscores (_) or hyphens (-) only.

pub fn flow_name(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.flow_name(input.into()); diff --git a/sdk/appflow/src/operation/tag_resource/builders.rs b/sdk/appflow/src/operation/tag_resource/builders.rs index 86b3bb8a8c44..9650d3502349 100644 --- a/sdk/appflow/src/operation/tag_resource/builders.rs +++ b/sdk/appflow/src/operation/tag_resource/builders.rs @@ -19,9 +19,9 @@ impl TagResourceFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl TagResourceFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::tag_resource::TagResource, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

The Amazon Resource Name (ARN) of the flow that you want to tag.

pub fn resource_arn(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.resource_arn(input.into()); diff --git a/sdk/appflow/src/operation/unregister_connector/builders.rs b/sdk/appflow/src/operation/unregister_connector/builders.rs index 1641fa2aff1f..1bb013fe63d2 100644 --- a/sdk/appflow/src/operation/unregister_connector/builders.rs +++ b/sdk/appflow/src/operation/unregister_connector/builders.rs @@ -19,9 +19,9 @@ impl UnregisterConnectorFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl UnregisterConnectorFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::unregister_connector::UnregisterConnector, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::unregister_connector::UnregisterConnectorError, + >, + > { + self.customize_middleware().await + } ///

The label of the connector. The label is unique for each ConnectorRegistration in your Amazon Web Services account.

pub fn connector_label( mut self, diff --git a/sdk/appflow/src/operation/untag_resource/builders.rs b/sdk/appflow/src/operation/untag_resource/builders.rs index aeb5e2535830..d6de5f56d05a 100644 --- a/sdk/appflow/src/operation/untag_resource/builders.rs +++ b/sdk/appflow/src/operation/untag_resource/builders.rs @@ -19,9 +19,9 @@ impl UntagResourceFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl UntagResourceFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::untag_resource::UntagResource, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

The Amazon Resource Name (ARN) of the flow that you want to untag.

pub fn resource_arn(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.resource_arn(input.into()); diff --git a/sdk/appflow/src/operation/update_connector_profile/builders.rs b/sdk/appflow/src/operation/update_connector_profile/builders.rs index dbb0a663cf52..e99385768baf 100644 --- a/sdk/appflow/src/operation/update_connector_profile/builders.rs +++ b/sdk/appflow/src/operation/update_connector_profile/builders.rs @@ -19,9 +19,9 @@ impl UpdateConnectorProfileFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl UpdateConnectorProfileFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::update_connector_profile::UpdateConnectorProfile, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::update_connector_profile::UpdateConnectorProfileError, + >, + > { + self.customize_middleware().await + } ///

The name of the connector profile and is unique for each ConnectorProfile in the Amazon Web Services account.

pub fn connector_profile_name( mut self, diff --git a/sdk/appflow/src/operation/update_connector_registration/builders.rs b/sdk/appflow/src/operation/update_connector_registration/builders.rs index f374f6d14993..bcb2f27e0d3b 100644 --- a/sdk/appflow/src/operation/update_connector_registration/builders.rs +++ b/sdk/appflow/src/operation/update_connector_registration/builders.rs @@ -23,9 +23,9 @@ impl UpdateConnectorRegistrationFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -87,6 +87,22 @@ impl UpdateConnectorRegistrationFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::update_connector_registration::UpdateConnectorRegistration, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::update_connector_registration::UpdateConnectorRegistrationError, + >, + > { + self.customize_middleware().await + } ///

The name of the connector. The name is unique for each connector registration in your AWS account.

pub fn connector_label( mut self, diff --git a/sdk/appflow/src/operation/update_flow/builders.rs b/sdk/appflow/src/operation/update_flow/builders.rs index 19f8fe823c78..c0e60e201d6a 100644 --- a/sdk/appflow/src/operation/update_flow/builders.rs +++ b/sdk/appflow/src/operation/update_flow/builders.rs @@ -19,9 +19,9 @@ impl UpdateFlowFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl UpdateFlowFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::update_flow::UpdateFlow, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

The specified name of the flow. Spaces are not allowed. Use underscores (_) or hyphens (-) only.

pub fn flow_name(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.flow_name(input.into()); diff --git a/sdk/appintegrations/src/operation/create_data_integration/builders.rs b/sdk/appintegrations/src/operation/create_data_integration/builders.rs index 419fd2b873bd..d106ca1baad0 100644 --- a/sdk/appintegrations/src/operation/create_data_integration/builders.rs +++ b/sdk/appintegrations/src/operation/create_data_integration/builders.rs @@ -21,9 +21,9 @@ impl CreateDataIntegrationFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -85,6 +85,22 @@ impl CreateDataIntegrationFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::create_data_integration::CreateDataIntegration, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::create_data_integration::CreateDataIntegrationError, + >, + > { + self.customize_middleware().await + } ///

The name of the DataIntegration.

pub fn name(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.name(input.into()); diff --git a/sdk/appintegrations/src/operation/create_event_integration/builders.rs b/sdk/appintegrations/src/operation/create_event_integration/builders.rs index 7abe0f98e3d7..df27f94e4f63 100644 --- a/sdk/appintegrations/src/operation/create_event_integration/builders.rs +++ b/sdk/appintegrations/src/operation/create_event_integration/builders.rs @@ -19,9 +19,9 @@ impl CreateEventIntegrationFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl CreateEventIntegrationFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::create_event_integration::CreateEventIntegration, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::create_event_integration::CreateEventIntegrationError, + >, + > { + self.customize_middleware().await + } ///

The name of the event integration.

pub fn name(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.name(input.into()); diff --git a/sdk/appintegrations/src/operation/delete_data_integration/builders.rs b/sdk/appintegrations/src/operation/delete_data_integration/builders.rs index 1584b4c430f0..5bfd5e56c391 100644 --- a/sdk/appintegrations/src/operation/delete_data_integration/builders.rs +++ b/sdk/appintegrations/src/operation/delete_data_integration/builders.rs @@ -21,9 +21,9 @@ impl DeleteDataIntegrationFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -85,6 +85,22 @@ impl DeleteDataIntegrationFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::delete_data_integration::DeleteDataIntegration, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::delete_data_integration::DeleteDataIntegrationError, + >, + > { + self.customize_middleware().await + } ///

A unique identifier for the DataIntegration.

pub fn data_integration_identifier( mut self, diff --git a/sdk/appintegrations/src/operation/delete_event_integration/builders.rs b/sdk/appintegrations/src/operation/delete_event_integration/builders.rs index 34fb28f0229b..84a09da7f0a1 100644 --- a/sdk/appintegrations/src/operation/delete_event_integration/builders.rs +++ b/sdk/appintegrations/src/operation/delete_event_integration/builders.rs @@ -19,9 +19,9 @@ impl DeleteEventIntegrationFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl DeleteEventIntegrationFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::delete_event_integration::DeleteEventIntegration, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::delete_event_integration::DeleteEventIntegrationError, + >, + > { + self.customize_middleware().await + } ///

The name of the event integration.

pub fn name(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.name(input.into()); diff --git a/sdk/appintegrations/src/operation/get_data_integration/builders.rs b/sdk/appintegrations/src/operation/get_data_integration/builders.rs index ccbe94b0567e..7804ac2ca4b4 100644 --- a/sdk/appintegrations/src/operation/get_data_integration/builders.rs +++ b/sdk/appintegrations/src/operation/get_data_integration/builders.rs @@ -21,9 +21,9 @@ impl GetDataIntegrationFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -85,6 +85,22 @@ impl GetDataIntegrationFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::get_data_integration::GetDataIntegration, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::get_data_integration::GetDataIntegrationError, + >, + > { + self.customize_middleware().await + } ///

A unique identifier.

pub fn identifier(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.identifier(input.into()); diff --git a/sdk/appintegrations/src/operation/get_event_integration/builders.rs b/sdk/appintegrations/src/operation/get_event_integration/builders.rs index 7185d19ffb80..44a8d563a94d 100644 --- a/sdk/appintegrations/src/operation/get_event_integration/builders.rs +++ b/sdk/appintegrations/src/operation/get_event_integration/builders.rs @@ -19,9 +19,9 @@ impl GetEventIntegrationFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl GetEventIntegrationFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::get_event_integration::GetEventIntegration, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::get_event_integration::GetEventIntegrationError, + >, + > { + self.customize_middleware().await + } ///

The name of the event integration.

pub fn name(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.name(input.into()); diff --git a/sdk/appintegrations/src/operation/list_data_integration_associations/builders.rs b/sdk/appintegrations/src/operation/list_data_integration_associations/builders.rs index 86809e8cb789..1bf67997845b 100644 --- a/sdk/appintegrations/src/operation/list_data_integration_associations/builders.rs +++ b/sdk/appintegrations/src/operation/list_data_integration_associations/builders.rs @@ -21,9 +21,9 @@ impl ListDataIntegrationAssociationsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize(self) -> ::std::result::Result< + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware(self) -> ::std::result::Result< crate::client::customize::CustomizableOperation, ::aws_smithy_http::result::SdkError >{ @@ -66,6 +66,15 @@ impl ListDataIntegrationAssociationsFluentBuilder { { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize(self) -> ::std::result::Result< + crate::client::customize::CustomizableOperation, + ::aws_smithy_http::result::SdkError + >{ + self.customize_middleware().await + } ///

A unique identifier for the DataIntegration.

pub fn data_integration_identifier( mut self, diff --git a/sdk/appintegrations/src/operation/list_data_integrations/builders.rs b/sdk/appintegrations/src/operation/list_data_integrations/builders.rs index 6412543e318a..0d15c650475f 100644 --- a/sdk/appintegrations/src/operation/list_data_integrations/builders.rs +++ b/sdk/appintegrations/src/operation/list_data_integrations/builders.rs @@ -21,9 +21,9 @@ impl ListDataIntegrationsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -85,6 +85,22 @@ impl ListDataIntegrationsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_data_integrations::ListDataIntegrations, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::list_data_integrations::ListDataIntegrationsError, + >, + > { + self.customize_middleware().await + } ///

The token for the next set of results. Use the value returned in the previous response in the next request to retrieve the next set of results.

pub fn next_token(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.next_token(input.into()); diff --git a/sdk/appintegrations/src/operation/list_event_integration_associations/builders.rs b/sdk/appintegrations/src/operation/list_event_integration_associations/builders.rs index e5a5a146c8e4..92d231d42557 100644 --- a/sdk/appintegrations/src/operation/list_event_integration_associations/builders.rs +++ b/sdk/appintegrations/src/operation/list_event_integration_associations/builders.rs @@ -19,9 +19,9 @@ impl ListEventIntegrationAssociationsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize(self) -> ::std::result::Result< + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware(self) -> ::std::result::Result< crate::client::customize::CustomizableOperation, ::aws_smithy_http::result::SdkError >{ @@ -64,6 +64,15 @@ impl ListEventIntegrationAssociationsFluentBuilder { { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize(self) -> ::std::result::Result< + crate::client::customize::CustomizableOperation, + ::aws_smithy_http::result::SdkError + >{ + self.customize_middleware().await + } ///

The name of the event integration.

pub fn event_integration_name( mut self, diff --git a/sdk/appintegrations/src/operation/list_event_integrations/builders.rs b/sdk/appintegrations/src/operation/list_event_integrations/builders.rs index 6790e4f50f24..896cd09c04c3 100644 --- a/sdk/appintegrations/src/operation/list_event_integrations/builders.rs +++ b/sdk/appintegrations/src/operation/list_event_integrations/builders.rs @@ -19,9 +19,9 @@ impl ListEventIntegrationsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl ListEventIntegrationsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_event_integrations::ListEventIntegrations, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::list_event_integrations::ListEventIntegrationsError, + >, + > { + self.customize_middleware().await + } ///

The token for the next set of results. Use the value returned in the previous response in the next request to retrieve the next set of results.

pub fn next_token(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.next_token(input.into()); diff --git a/sdk/appintegrations/src/operation/list_tags_for_resource/builders.rs b/sdk/appintegrations/src/operation/list_tags_for_resource/builders.rs index f069d0b05bef..a06846b773d0 100644 --- a/sdk/appintegrations/src/operation/list_tags_for_resource/builders.rs +++ b/sdk/appintegrations/src/operation/list_tags_for_resource/builders.rs @@ -19,9 +19,9 @@ impl ListTagsForResourceFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl ListTagsForResourceFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_tags_for_resource::ListTagsForResource, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::list_tags_for_resource::ListTagsForResourceError, + >, + > { + self.customize_middleware().await + } ///

The Amazon Resource Name (ARN) of the resource.

pub fn resource_arn(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.resource_arn(input.into()); diff --git a/sdk/appintegrations/src/operation/tag_resource/builders.rs b/sdk/appintegrations/src/operation/tag_resource/builders.rs index c159cc7cd940..93350a016d37 100644 --- a/sdk/appintegrations/src/operation/tag_resource/builders.rs +++ b/sdk/appintegrations/src/operation/tag_resource/builders.rs @@ -19,9 +19,9 @@ impl TagResourceFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl TagResourceFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::tag_resource::TagResource, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

The Amazon Resource Name (ARN) of the resource.

pub fn resource_arn(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.resource_arn(input.into()); diff --git a/sdk/appintegrations/src/operation/untag_resource/builders.rs b/sdk/appintegrations/src/operation/untag_resource/builders.rs index ccdddb2bd6da..0ef2fec2ca7d 100644 --- a/sdk/appintegrations/src/operation/untag_resource/builders.rs +++ b/sdk/appintegrations/src/operation/untag_resource/builders.rs @@ -19,9 +19,9 @@ impl UntagResourceFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl UntagResourceFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::untag_resource::UntagResource, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

The Amazon Resource Name (ARN) of the resource.

pub fn resource_arn(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.resource_arn(input.into()); diff --git a/sdk/appintegrations/src/operation/update_data_integration/builders.rs b/sdk/appintegrations/src/operation/update_data_integration/builders.rs index 626b83d7a675..c5cdb16e86da 100644 --- a/sdk/appintegrations/src/operation/update_data_integration/builders.rs +++ b/sdk/appintegrations/src/operation/update_data_integration/builders.rs @@ -21,9 +21,9 @@ impl UpdateDataIntegrationFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -85,6 +85,22 @@ impl UpdateDataIntegrationFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::update_data_integration::UpdateDataIntegration, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::update_data_integration::UpdateDataIntegrationError, + >, + > { + self.customize_middleware().await + } ///

A unique identifier for the DataIntegration.

pub fn identifier(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.identifier(input.into()); diff --git a/sdk/appintegrations/src/operation/update_event_integration/builders.rs b/sdk/appintegrations/src/operation/update_event_integration/builders.rs index c3a18fa54b6a..1f015048ac66 100644 --- a/sdk/appintegrations/src/operation/update_event_integration/builders.rs +++ b/sdk/appintegrations/src/operation/update_event_integration/builders.rs @@ -19,9 +19,9 @@ impl UpdateEventIntegrationFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl UpdateEventIntegrationFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::update_event_integration::UpdateEventIntegration, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::update_event_integration::UpdateEventIntegrationError, + >, + > { + self.customize_middleware().await + } ///

The name of the event integration.

pub fn name(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.name(input.into()); diff --git a/sdk/applicationautoscaling/src/operation/delete_scaling_policy/builders.rs b/sdk/applicationautoscaling/src/operation/delete_scaling_policy/builders.rs index 7efa3548d9e9..74f4883c05a4 100644 --- a/sdk/applicationautoscaling/src/operation/delete_scaling_policy/builders.rs +++ b/sdk/applicationautoscaling/src/operation/delete_scaling_policy/builders.rs @@ -21,9 +21,9 @@ impl DeleteScalingPolicyFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -85,6 +85,22 @@ impl DeleteScalingPolicyFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::delete_scaling_policy::DeleteScalingPolicy, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::delete_scaling_policy::DeleteScalingPolicyError, + >, + > { + self.customize_middleware().await + } ///

The name of the scaling policy.

pub fn policy_name(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.policy_name(input.into()); diff --git a/sdk/applicationautoscaling/src/operation/delete_scheduled_action/builders.rs b/sdk/applicationautoscaling/src/operation/delete_scheduled_action/builders.rs index 31a41916ff82..b5f54de0cd38 100644 --- a/sdk/applicationautoscaling/src/operation/delete_scheduled_action/builders.rs +++ b/sdk/applicationautoscaling/src/operation/delete_scheduled_action/builders.rs @@ -20,9 +20,9 @@ impl DeleteScheduledActionFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -84,6 +84,22 @@ impl DeleteScheduledActionFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::delete_scheduled_action::DeleteScheduledAction, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::delete_scheduled_action::DeleteScheduledActionError, + >, + > { + self.customize_middleware().await + } ///

The namespace of the Amazon Web Services service that provides the resource. For a resource provided by your own application or service, use custom-resource instead.

pub fn service_namespace(mut self, input: crate::types::ServiceNamespace) -> Self { self.inner = self.inner.service_namespace(input); diff --git a/sdk/applicationautoscaling/src/operation/deregister_scalable_target/builders.rs b/sdk/applicationautoscaling/src/operation/deregister_scalable_target/builders.rs index 65ded94dde88..95e9a9b14bea 100644 --- a/sdk/applicationautoscaling/src/operation/deregister_scalable_target/builders.rs +++ b/sdk/applicationautoscaling/src/operation/deregister_scalable_target/builders.rs @@ -21,9 +21,9 @@ impl DeregisterScalableTargetFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -85,6 +85,22 @@ impl DeregisterScalableTargetFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::deregister_scalable_target::DeregisterScalableTarget, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::deregister_scalable_target::DeregisterScalableTargetError, + >, + > { + self.customize_middleware().await + } ///

The namespace of the Amazon Web Services service that provides the resource. For a resource provided by your own application or service, use custom-resource instead.

pub fn service_namespace(mut self, input: crate::types::ServiceNamespace) -> Self { self.inner = self.inner.service_namespace(input); diff --git a/sdk/applicationautoscaling/src/operation/describe_scalable_targets/builders.rs b/sdk/applicationautoscaling/src/operation/describe_scalable_targets/builders.rs index e19572134d3e..f73d0f95970d 100644 --- a/sdk/applicationautoscaling/src/operation/describe_scalable_targets/builders.rs +++ b/sdk/applicationautoscaling/src/operation/describe_scalable_targets/builders.rs @@ -21,9 +21,9 @@ impl DescribeScalableTargetsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -85,6 +85,22 @@ impl DescribeScalableTargetsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::describe_scalable_targets::DescribeScalableTargets, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::describe_scalable_targets::DescribeScalableTargetsError, + >, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::describe_scalable_targets::paginator::DescribeScalableTargetsPaginator::send) which returns a `Stream`. diff --git a/sdk/applicationautoscaling/src/operation/describe_scaling_activities/builders.rs b/sdk/applicationautoscaling/src/operation/describe_scaling_activities/builders.rs index 62e746377b06..0a176b22057d 100644 --- a/sdk/applicationautoscaling/src/operation/describe_scaling_activities/builders.rs +++ b/sdk/applicationautoscaling/src/operation/describe_scaling_activities/builders.rs @@ -21,9 +21,9 @@ impl DescribeScalingActivitiesFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -85,6 +85,22 @@ impl DescribeScalingActivitiesFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::describe_scaling_activities::DescribeScalingActivities, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::describe_scaling_activities::DescribeScalingActivitiesError, + >, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::describe_scaling_activities::paginator::DescribeScalingActivitiesPaginator::send) which returns a `Stream`. diff --git a/sdk/applicationautoscaling/src/operation/describe_scaling_policies/builders.rs b/sdk/applicationautoscaling/src/operation/describe_scaling_policies/builders.rs index 6610bcd54902..ad92e2b73002 100644 --- a/sdk/applicationautoscaling/src/operation/describe_scaling_policies/builders.rs +++ b/sdk/applicationautoscaling/src/operation/describe_scaling_policies/builders.rs @@ -22,9 +22,9 @@ impl DescribeScalingPoliciesFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -86,6 +86,22 @@ impl DescribeScalingPoliciesFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::describe_scaling_policies::DescribeScalingPolicies, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::describe_scaling_policies::DescribeScalingPoliciesError, + >, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::describe_scaling_policies::paginator::DescribeScalingPoliciesPaginator::send) which returns a `Stream`. diff --git a/sdk/applicationautoscaling/src/operation/describe_scheduled_actions/builders.rs b/sdk/applicationautoscaling/src/operation/describe_scheduled_actions/builders.rs index 5a9fa296ba82..a25307b8d4f5 100644 --- a/sdk/applicationautoscaling/src/operation/describe_scheduled_actions/builders.rs +++ b/sdk/applicationautoscaling/src/operation/describe_scheduled_actions/builders.rs @@ -21,9 +21,9 @@ impl DescribeScheduledActionsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -85,6 +85,22 @@ impl DescribeScheduledActionsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::describe_scheduled_actions::DescribeScheduledActions, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::describe_scheduled_actions::DescribeScheduledActionsError, + >, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::describe_scheduled_actions::paginator::DescribeScheduledActionsPaginator::send) which returns a `Stream`. diff --git a/sdk/applicationautoscaling/src/operation/list_tags_for_resource/builders.rs b/sdk/applicationautoscaling/src/operation/list_tags_for_resource/builders.rs index b3ecf0270d8d..70b6264537cc 100644 --- a/sdk/applicationautoscaling/src/operation/list_tags_for_resource/builders.rs +++ b/sdk/applicationautoscaling/src/operation/list_tags_for_resource/builders.rs @@ -20,9 +20,9 @@ impl ListTagsForResourceFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -84,6 +84,22 @@ impl ListTagsForResourceFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_tags_for_resource::ListTagsForResource, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::list_tags_for_resource::ListTagsForResourceError, + >, + > { + self.customize_middleware().await + } ///

Specify the ARN of the scalable target.

///

For example: arn:aws:application-autoscaling:us-east-1:123456789012:scalable-target/1234abcd56ab78cd901ef1234567890ab123

///

To get the ARN for a scalable target, use DescribeScalableTargets.

diff --git a/sdk/applicationautoscaling/src/operation/put_scaling_policy/builders.rs b/sdk/applicationautoscaling/src/operation/put_scaling_policy/builders.rs index a6af075cd8ab..3c9325988e4e 100644 --- a/sdk/applicationautoscaling/src/operation/put_scaling_policy/builders.rs +++ b/sdk/applicationautoscaling/src/operation/put_scaling_policy/builders.rs @@ -25,9 +25,9 @@ impl PutScalingPolicyFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -89,6 +89,22 @@ impl PutScalingPolicyFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::put_scaling_policy::PutScalingPolicy, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::put_scaling_policy::PutScalingPolicyError, + >, + > { + self.customize_middleware().await + } ///

The name of the scaling policy.

///

You cannot change the name of a scaling policy, but you can delete the original scaling policy and create a new scaling policy with the same settings and a different name.

pub fn policy_name(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { diff --git a/sdk/applicationautoscaling/src/operation/put_scheduled_action/builders.rs b/sdk/applicationautoscaling/src/operation/put_scheduled_action/builders.rs index bca4861b78cd..c27cfe53f05c 100644 --- a/sdk/applicationautoscaling/src/operation/put_scheduled_action/builders.rs +++ b/sdk/applicationautoscaling/src/operation/put_scheduled_action/builders.rs @@ -25,9 +25,9 @@ impl PutScheduledActionFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -89,6 +89,22 @@ impl PutScheduledActionFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::put_scheduled_action::PutScheduledAction, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::put_scheduled_action::PutScheduledActionError, + >, + > { + self.customize_middleware().await + } ///

The namespace of the Amazon Web Services service that provides the resource. For a resource provided by your own application or service, use custom-resource instead.

pub fn service_namespace(mut self, input: crate::types::ServiceNamespace) -> Self { self.inner = self.inner.service_namespace(input); diff --git a/sdk/applicationautoscaling/src/operation/register_scalable_target/builders.rs b/sdk/applicationautoscaling/src/operation/register_scalable_target/builders.rs index e9a72a1cac45..4e417829db90 100644 --- a/sdk/applicationautoscaling/src/operation/register_scalable_target/builders.rs +++ b/sdk/applicationautoscaling/src/operation/register_scalable_target/builders.rs @@ -27,9 +27,9 @@ impl RegisterScalableTargetFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -91,6 +91,22 @@ impl RegisterScalableTargetFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::register_scalable_target::RegisterScalableTarget, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::register_scalable_target::RegisterScalableTargetError, + >, + > { + self.customize_middleware().await + } ///

The namespace of the Amazon Web Services service that provides the resource. For a resource provided by your own application or service, use custom-resource instead.

pub fn service_namespace(mut self, input: crate::types::ServiceNamespace) -> Self { self.inner = self.inner.service_namespace(input); diff --git a/sdk/applicationautoscaling/src/operation/tag_resource/builders.rs b/sdk/applicationautoscaling/src/operation/tag_resource/builders.rs index 3bfc84208920..d5bab8a5d99d 100644 --- a/sdk/applicationautoscaling/src/operation/tag_resource/builders.rs +++ b/sdk/applicationautoscaling/src/operation/tag_resource/builders.rs @@ -24,9 +24,9 @@ impl TagResourceFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -82,6 +82,20 @@ impl TagResourceFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::tag_resource::TagResource, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

Identifies the Application Auto Scaling scalable target that you want to apply tags to.

///

For example: arn:aws:application-autoscaling:us-east-1:123456789012:scalable-target/1234abcd56ab78cd901ef1234567890ab123

///

To get the ARN for a scalable target, use DescribeScalableTargets.

diff --git a/sdk/applicationautoscaling/src/operation/untag_resource/builders.rs b/sdk/applicationautoscaling/src/operation/untag_resource/builders.rs index 57626d638c72..71cd44d4e295 100644 --- a/sdk/applicationautoscaling/src/operation/untag_resource/builders.rs +++ b/sdk/applicationautoscaling/src/operation/untag_resource/builders.rs @@ -19,9 +19,9 @@ impl UntagResourceFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl UntagResourceFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::untag_resource::UntagResource, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

Identifies the Application Auto Scaling scalable target from which to remove tags.

///

For example: arn:aws:application-autoscaling:us-east-1:123456789012:scalable-target/1234abcd56ab78cd901ef1234567890ab123

///

To get the ARN for a scalable target, use DescribeScalableTargets.

diff --git a/sdk/applicationcostprofiler/src/operation/delete_report_definition/builders.rs b/sdk/applicationcostprofiler/src/operation/delete_report_definition/builders.rs index 583e8b130bf1..eccf6eeebb97 100644 --- a/sdk/applicationcostprofiler/src/operation/delete_report_definition/builders.rs +++ b/sdk/applicationcostprofiler/src/operation/delete_report_definition/builders.rs @@ -19,9 +19,9 @@ impl DeleteReportDefinitionFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl DeleteReportDefinitionFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::delete_report_definition::DeleteReportDefinition, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::delete_report_definition::DeleteReportDefinitionError, + >, + > { + self.customize_middleware().await + } ///

Required. ID of the report to delete.

pub fn report_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.report_id(input.into()); diff --git a/sdk/applicationcostprofiler/src/operation/get_report_definition/builders.rs b/sdk/applicationcostprofiler/src/operation/get_report_definition/builders.rs index b95c1d628079..5613fa6768c2 100644 --- a/sdk/applicationcostprofiler/src/operation/get_report_definition/builders.rs +++ b/sdk/applicationcostprofiler/src/operation/get_report_definition/builders.rs @@ -19,9 +19,9 @@ impl GetReportDefinitionFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl GetReportDefinitionFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::get_report_definition::GetReportDefinition, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::get_report_definition::GetReportDefinitionError, + >, + > { + self.customize_middleware().await + } ///

ID of the report to retrieve.

pub fn report_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.report_id(input.into()); diff --git a/sdk/applicationcostprofiler/src/operation/import_application_usage/builders.rs b/sdk/applicationcostprofiler/src/operation/import_application_usage/builders.rs index f3abf047e700..5651ed3559fe 100644 --- a/sdk/applicationcostprofiler/src/operation/import_application_usage/builders.rs +++ b/sdk/applicationcostprofiler/src/operation/import_application_usage/builders.rs @@ -20,9 +20,9 @@ impl ImportApplicationUsageFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -84,6 +84,22 @@ impl ImportApplicationUsageFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::import_application_usage::ImportApplicationUsage, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::import_application_usage::ImportApplicationUsageError, + >, + > { + self.customize_middleware().await + } ///

Amazon S3 location to import application usage data from.

pub fn source_s3_location(mut self, input: crate::types::SourceS3Location) -> Self { self.inner = self.inner.source_s3_location(input); diff --git a/sdk/applicationcostprofiler/src/operation/list_report_definitions/builders.rs b/sdk/applicationcostprofiler/src/operation/list_report_definitions/builders.rs index 8e158f5ff608..5a77c9d69a83 100644 --- a/sdk/applicationcostprofiler/src/operation/list_report_definitions/builders.rs +++ b/sdk/applicationcostprofiler/src/operation/list_report_definitions/builders.rs @@ -20,9 +20,9 @@ impl ListReportDefinitionsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -84,6 +84,22 @@ impl ListReportDefinitionsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_report_definitions::ListReportDefinitions, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::list_report_definitions::ListReportDefinitionsError, + >, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::list_report_definitions::paginator::ListReportDefinitionsPaginator::send) which returns a `Stream`. diff --git a/sdk/applicationcostprofiler/src/operation/put_report_definition/builders.rs b/sdk/applicationcostprofiler/src/operation/put_report_definition/builders.rs index aaede7ede023..4c06098b6a4b 100644 --- a/sdk/applicationcostprofiler/src/operation/put_report_definition/builders.rs +++ b/sdk/applicationcostprofiler/src/operation/put_report_definition/builders.rs @@ -19,9 +19,9 @@ impl PutReportDefinitionFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl PutReportDefinitionFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::put_report_definition::PutReportDefinition, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::put_report_definition::PutReportDefinitionError, + >, + > { + self.customize_middleware().await + } ///

Required. ID of the report. You can choose any valid string matching the pattern for the ID.

pub fn report_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.report_id(input.into()); diff --git a/sdk/applicationcostprofiler/src/operation/update_report_definition/builders.rs b/sdk/applicationcostprofiler/src/operation/update_report_definition/builders.rs index 41a04dcc8db0..4f582f5d6753 100644 --- a/sdk/applicationcostprofiler/src/operation/update_report_definition/builders.rs +++ b/sdk/applicationcostprofiler/src/operation/update_report_definition/builders.rs @@ -19,9 +19,9 @@ impl UpdateReportDefinitionFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl UpdateReportDefinitionFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::update_report_definition::UpdateReportDefinition, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::update_report_definition::UpdateReportDefinitionError, + >, + > { + self.customize_middleware().await + } ///

Required. ID of the report to update.

pub fn report_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.report_id(input.into()); diff --git a/sdk/applicationdiscovery/src/operation/associate_configuration_items_to_application/builders.rs b/sdk/applicationdiscovery/src/operation/associate_configuration_items_to_application/builders.rs index 86c7f4bc0dfb..69a9b44f4afc 100644 --- a/sdk/applicationdiscovery/src/operation/associate_configuration_items_to_application/builders.rs +++ b/sdk/applicationdiscovery/src/operation/associate_configuration_items_to_application/builders.rs @@ -19,9 +19,9 @@ impl AssociateConfigurationItemsToApplicationFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize(self) -> ::std::result::Result< + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware(self) -> ::std::result::Result< crate::client::customize::CustomizableOperation, ::aws_smithy_http::result::SdkError >{ @@ -64,6 +64,15 @@ impl AssociateConfigurationItemsToApplicationFluentBuilder { { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize(self) -> ::std::result::Result< + crate::client::customize::CustomizableOperation, + ::aws_smithy_http::result::SdkError + >{ + self.customize_middleware().await + } ///

The configuration ID of an application with which items are to be associated.

pub fn application_configuration_id( mut self, diff --git a/sdk/applicationdiscovery/src/operation/batch_delete_import_data/builders.rs b/sdk/applicationdiscovery/src/operation/batch_delete_import_data/builders.rs index 68a64e38b003..bda54870caef 100644 --- a/sdk/applicationdiscovery/src/operation/batch_delete_import_data/builders.rs +++ b/sdk/applicationdiscovery/src/operation/batch_delete_import_data/builders.rs @@ -20,9 +20,9 @@ impl BatchDeleteImportDataFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -84,6 +84,22 @@ impl BatchDeleteImportDataFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::batch_delete_import_data::BatchDeleteImportData, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::batch_delete_import_data::BatchDeleteImportDataError, + >, + > { + self.customize_middleware().await + } /// Appends an item to `importTaskIds`. /// /// To override the contents of this collection use [`set_import_task_ids`](Self::set_import_task_ids). diff --git a/sdk/applicationdiscovery/src/operation/create_application/builders.rs b/sdk/applicationdiscovery/src/operation/create_application/builders.rs index 3583881a0356..eac520f0a04e 100644 --- a/sdk/applicationdiscovery/src/operation/create_application/builders.rs +++ b/sdk/applicationdiscovery/src/operation/create_application/builders.rs @@ -19,9 +19,9 @@ impl CreateApplicationFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl CreateApplicationFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::create_application::CreateApplication, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::create_application::CreateApplicationError, + >, + > { + self.customize_middleware().await + } ///

Name of the application to be created.

pub fn name(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.name(input.into()); diff --git a/sdk/applicationdiscovery/src/operation/create_tags/builders.rs b/sdk/applicationdiscovery/src/operation/create_tags/builders.rs index 20078e94a7b2..bc011785c56d 100644 --- a/sdk/applicationdiscovery/src/operation/create_tags/builders.rs +++ b/sdk/applicationdiscovery/src/operation/create_tags/builders.rs @@ -21,9 +21,9 @@ impl CreateTagsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -79,6 +79,20 @@ impl CreateTagsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::create_tags::CreateTags, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } /// Appends an item to `configurationIds`. /// /// To override the contents of this collection use [`set_configuration_ids`](Self::set_configuration_ids). diff --git a/sdk/applicationdiscovery/src/operation/delete_applications/builders.rs b/sdk/applicationdiscovery/src/operation/delete_applications/builders.rs index 7e851939c841..aa52697276a5 100644 --- a/sdk/applicationdiscovery/src/operation/delete_applications/builders.rs +++ b/sdk/applicationdiscovery/src/operation/delete_applications/builders.rs @@ -19,9 +19,9 @@ impl DeleteApplicationsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl DeleteApplicationsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::delete_applications::DeleteApplications, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::delete_applications::DeleteApplicationsError, + >, + > { + self.customize_middleware().await + } /// Appends an item to `configurationIds`. /// /// To override the contents of this collection use [`set_configuration_ids`](Self::set_configuration_ids). diff --git a/sdk/applicationdiscovery/src/operation/delete_tags/builders.rs b/sdk/applicationdiscovery/src/operation/delete_tags/builders.rs index 577381587b17..bfbf4a253371 100644 --- a/sdk/applicationdiscovery/src/operation/delete_tags/builders.rs +++ b/sdk/applicationdiscovery/src/operation/delete_tags/builders.rs @@ -19,9 +19,9 @@ impl DeleteTagsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl DeleteTagsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::delete_tags::DeleteTags, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } /// Appends an item to `configurationIds`. /// /// To override the contents of this collection use [`set_configuration_ids`](Self::set_configuration_ids). diff --git a/sdk/applicationdiscovery/src/operation/describe_agents/builders.rs b/sdk/applicationdiscovery/src/operation/describe_agents/builders.rs index 6ade52b80391..79488308f7d5 100644 --- a/sdk/applicationdiscovery/src/operation/describe_agents/builders.rs +++ b/sdk/applicationdiscovery/src/operation/describe_agents/builders.rs @@ -19,9 +19,9 @@ impl DescribeAgentsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl DescribeAgentsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::describe_agents::DescribeAgents, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } /// Appends an item to `agentIds`. /// /// To override the contents of this collection use [`set_agent_ids`](Self::set_agent_ids). diff --git a/sdk/applicationdiscovery/src/operation/describe_configurations/builders.rs b/sdk/applicationdiscovery/src/operation/describe_configurations/builders.rs index eefd4a141fff..65e2abbaae2a 100644 --- a/sdk/applicationdiscovery/src/operation/describe_configurations/builders.rs +++ b/sdk/applicationdiscovery/src/operation/describe_configurations/builders.rs @@ -29,9 +29,9 @@ impl DescribeConfigurationsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -93,6 +93,22 @@ impl DescribeConfigurationsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::describe_configurations::DescribeConfigurations, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::describe_configurations::DescribeConfigurationsError, + >, + > { + self.customize_middleware().await + } /// Appends an item to `configurationIds`. /// /// To override the contents of this collection use [`set_configuration_ids`](Self::set_configuration_ids). diff --git a/sdk/applicationdiscovery/src/operation/describe_continuous_exports/builders.rs b/sdk/applicationdiscovery/src/operation/describe_continuous_exports/builders.rs index ae16a405f84f..21a46b329a94 100644 --- a/sdk/applicationdiscovery/src/operation/describe_continuous_exports/builders.rs +++ b/sdk/applicationdiscovery/src/operation/describe_continuous_exports/builders.rs @@ -19,9 +19,9 @@ impl DescribeContinuousExportsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl DescribeContinuousExportsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::describe_continuous_exports::DescribeContinuousExports, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::describe_continuous_exports::DescribeContinuousExportsError, + >, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::describe_continuous_exports::paginator::DescribeContinuousExportsPaginator::send) which returns a `Stream`. diff --git a/sdk/applicationdiscovery/src/operation/describe_export_configurations/builders.rs b/sdk/applicationdiscovery/src/operation/describe_export_configurations/builders.rs index 49073f0d1a0b..17ca5bfbe403 100644 --- a/sdk/applicationdiscovery/src/operation/describe_export_configurations/builders.rs +++ b/sdk/applicationdiscovery/src/operation/describe_export_configurations/builders.rs @@ -20,9 +20,9 @@ impl DescribeExportConfigurationsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -84,6 +84,22 @@ impl DescribeExportConfigurationsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::describe_export_configurations::DescribeExportConfigurations, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::describe_export_configurations::DescribeExportConfigurationsError, + >, + > { + self.customize_middleware().await + } /// Appends an item to `exportIds`. /// /// To override the contents of this collection use [`set_export_ids`](Self::set_export_ids). diff --git a/sdk/applicationdiscovery/src/operation/describe_export_tasks/builders.rs b/sdk/applicationdiscovery/src/operation/describe_export_tasks/builders.rs index 117ef596b17d..071efa4503b5 100644 --- a/sdk/applicationdiscovery/src/operation/describe_export_tasks/builders.rs +++ b/sdk/applicationdiscovery/src/operation/describe_export_tasks/builders.rs @@ -19,9 +19,9 @@ impl DescribeExportTasksFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl DescribeExportTasksFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::describe_export_tasks::DescribeExportTasks, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::describe_export_tasks::DescribeExportTasksError, + >, + > { + self.customize_middleware().await + } /// Appends an item to `exportIds`. /// /// To override the contents of this collection use [`set_export_ids`](Self::set_export_ids). diff --git a/sdk/applicationdiscovery/src/operation/describe_import_tasks/builders.rs b/sdk/applicationdiscovery/src/operation/describe_import_tasks/builders.rs index 4390076407a6..e23b6dbebc11 100644 --- a/sdk/applicationdiscovery/src/operation/describe_import_tasks/builders.rs +++ b/sdk/applicationdiscovery/src/operation/describe_import_tasks/builders.rs @@ -19,9 +19,9 @@ impl DescribeImportTasksFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl DescribeImportTasksFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::describe_import_tasks::DescribeImportTasks, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::describe_import_tasks::DescribeImportTasksError, + >, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::describe_import_tasks::paginator::DescribeImportTasksPaginator::send) which returns a `Stream`. diff --git a/sdk/applicationdiscovery/src/operation/describe_tags/builders.rs b/sdk/applicationdiscovery/src/operation/describe_tags/builders.rs index 8c395bf28ba4..150358c67e5e 100644 --- a/sdk/applicationdiscovery/src/operation/describe_tags/builders.rs +++ b/sdk/applicationdiscovery/src/operation/describe_tags/builders.rs @@ -26,9 +26,9 @@ impl DescribeTagsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -84,6 +84,20 @@ impl DescribeTagsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::describe_tags::DescribeTags, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } /// Appends an item to `filters`. /// /// To override the contents of this collection use [`set_filters`](Self::set_filters). diff --git a/sdk/applicationdiscovery/src/operation/disassociate_configuration_items_from_application/builders.rs b/sdk/applicationdiscovery/src/operation/disassociate_configuration_items_from_application/builders.rs index 2aeff75d3074..f5967874c8f0 100644 --- a/sdk/applicationdiscovery/src/operation/disassociate_configuration_items_from_application/builders.rs +++ b/sdk/applicationdiscovery/src/operation/disassociate_configuration_items_from_application/builders.rs @@ -19,9 +19,9 @@ impl DisassociateConfigurationItemsFromApplicationFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize(self) -> ::std::result::Result< + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware(self) -> ::std::result::Result< crate::client::customize::CustomizableOperation, ::aws_smithy_http::result::SdkError >{ @@ -64,6 +64,15 @@ impl DisassociateConfigurationItemsFromApplicationFluentBuilder { { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize(self) -> ::std::result::Result< + crate::client::customize::CustomizableOperation, + ::aws_smithy_http::result::SdkError + >{ + self.customize_middleware().await + } ///

Configuration ID of an application from which each item is disassociated.

pub fn application_configuration_id( mut self, diff --git a/sdk/applicationdiscovery/src/operation/export_configurations/builders.rs b/sdk/applicationdiscovery/src/operation/export_configurations/builders.rs index 0765f6947243..12e3b9340cc2 100644 --- a/sdk/applicationdiscovery/src/operation/export_configurations/builders.rs +++ b/sdk/applicationdiscovery/src/operation/export_configurations/builders.rs @@ -21,9 +21,9 @@ impl ExportConfigurationsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -85,4 +85,20 @@ impl ExportConfigurationsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::export_configurations::ExportConfigurations, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::export_configurations::ExportConfigurationsError, + >, + > { + self.customize_middleware().await + } } diff --git a/sdk/applicationdiscovery/src/operation/get_discovery_summary/builders.rs b/sdk/applicationdiscovery/src/operation/get_discovery_summary/builders.rs index 73a628bf57b3..232f10351b0b 100644 --- a/sdk/applicationdiscovery/src/operation/get_discovery_summary/builders.rs +++ b/sdk/applicationdiscovery/src/operation/get_discovery_summary/builders.rs @@ -20,9 +20,9 @@ impl GetDiscoverySummaryFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -84,4 +84,20 @@ impl GetDiscoverySummaryFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::get_discovery_summary::GetDiscoverySummary, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::get_discovery_summary::GetDiscoverySummaryError, + >, + > { + self.customize_middleware().await + } } diff --git a/sdk/applicationdiscovery/src/operation/list_configurations/builders.rs b/sdk/applicationdiscovery/src/operation/list_configurations/builders.rs index ec9a9485ba3f..9b582d413853 100644 --- a/sdk/applicationdiscovery/src/operation/list_configurations/builders.rs +++ b/sdk/applicationdiscovery/src/operation/list_configurations/builders.rs @@ -19,9 +19,9 @@ impl ListConfigurationsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl ListConfigurationsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_configurations::ListConfigurations, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::list_configurations::ListConfigurationsError, + >, + > { + self.customize_middleware().await + } ///

A valid configuration identified by Application Discovery Service.

pub fn configuration_type(mut self, input: crate::types::ConfigurationItemType) -> Self { self.inner = self.inner.configuration_type(input); diff --git a/sdk/applicationdiscovery/src/operation/list_server_neighbors/builders.rs b/sdk/applicationdiscovery/src/operation/list_server_neighbors/builders.rs index 201cdbc237af..a9c4e79e34e2 100644 --- a/sdk/applicationdiscovery/src/operation/list_server_neighbors/builders.rs +++ b/sdk/applicationdiscovery/src/operation/list_server_neighbors/builders.rs @@ -19,9 +19,9 @@ impl ListServerNeighborsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl ListServerNeighborsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_server_neighbors::ListServerNeighbors, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::list_server_neighbors::ListServerNeighborsError, + >, + > { + self.customize_middleware().await + } ///

Configuration ID of the server for which neighbors are being listed.

pub fn configuration_id( mut self, diff --git a/sdk/applicationdiscovery/src/operation/start_continuous_export/builders.rs b/sdk/applicationdiscovery/src/operation/start_continuous_export/builders.rs index 449c67cb737b..6a7d2091259b 100644 --- a/sdk/applicationdiscovery/src/operation/start_continuous_export/builders.rs +++ b/sdk/applicationdiscovery/src/operation/start_continuous_export/builders.rs @@ -19,9 +19,9 @@ impl StartContinuousExportFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,4 +83,20 @@ impl StartContinuousExportFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::start_continuous_export::StartContinuousExport, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::start_continuous_export::StartContinuousExportError, + >, + > { + self.customize_middleware().await + } } diff --git a/sdk/applicationdiscovery/src/operation/start_data_collection_by_agent_ids/builders.rs b/sdk/applicationdiscovery/src/operation/start_data_collection_by_agent_ids/builders.rs index 060aa64a1e48..f13ce6ebd5e4 100644 --- a/sdk/applicationdiscovery/src/operation/start_data_collection_by_agent_ids/builders.rs +++ b/sdk/applicationdiscovery/src/operation/start_data_collection_by_agent_ids/builders.rs @@ -19,9 +19,9 @@ impl StartDataCollectionByAgentIdsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize(self) -> ::std::result::Result< + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware(self) -> ::std::result::Result< crate::client::customize::CustomizableOperation, ::aws_smithy_http::result::SdkError >{ @@ -64,6 +64,15 @@ impl StartDataCollectionByAgentIdsFluentBuilder { { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize(self) -> ::std::result::Result< + crate::client::customize::CustomizableOperation, + ::aws_smithy_http::result::SdkError + >{ + self.customize_middleware().await + } /// Appends an item to `agentIds`. /// /// To override the contents of this collection use [`set_agent_ids`](Self::set_agent_ids). diff --git a/sdk/applicationdiscovery/src/operation/start_export_task/builders.rs b/sdk/applicationdiscovery/src/operation/start_export_task/builders.rs index 0e7722636637..bec27c009ae0 100644 --- a/sdk/applicationdiscovery/src/operation/start_export_task/builders.rs +++ b/sdk/applicationdiscovery/src/operation/start_export_task/builders.rs @@ -21,9 +21,9 @@ impl StartExportTaskFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -85,6 +85,22 @@ impl StartExportTaskFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::start_export_task::StartExportTask, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::start_export_task::StartExportTaskError, + >, + > { + self.customize_middleware().await + } /// Appends an item to `exportDataFormat`. /// /// To override the contents of this collection use [`set_export_data_format`](Self::set_export_data_format). diff --git a/sdk/applicationdiscovery/src/operation/start_import_task/builders.rs b/sdk/applicationdiscovery/src/operation/start_import_task/builders.rs index 0b0893bf9ea6..4b81e0afd02b 100644 --- a/sdk/applicationdiscovery/src/operation/start_import_task/builders.rs +++ b/sdk/applicationdiscovery/src/operation/start_import_task/builders.rs @@ -29,9 +29,9 @@ impl StartImportTaskFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -93,6 +93,22 @@ impl StartImportTaskFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::start_import_task::StartImportTask, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::start_import_task::StartImportTaskError, + >, + > { + self.customize_middleware().await + } ///

Optional. A unique token that you can provide to prevent the same import request from occurring more than once. If you don't provide a token, a token is automatically generated.

///

Sending more than one StartImportTask request with the same client request token will return information about the original import task with that client request token.

pub fn client_request_token( diff --git a/sdk/applicationdiscovery/src/operation/stop_continuous_export/builders.rs b/sdk/applicationdiscovery/src/operation/stop_continuous_export/builders.rs index 14043c570edd..9524091ec03d 100644 --- a/sdk/applicationdiscovery/src/operation/stop_continuous_export/builders.rs +++ b/sdk/applicationdiscovery/src/operation/stop_continuous_export/builders.rs @@ -19,9 +19,9 @@ impl StopContinuousExportFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl StopContinuousExportFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::stop_continuous_export::StopContinuousExport, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::stop_continuous_export::StopContinuousExportError, + >, + > { + self.customize_middleware().await + } ///

The unique ID assigned to this export.

pub fn export_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.export_id(input.into()); diff --git a/sdk/applicationdiscovery/src/operation/stop_data_collection_by_agent_ids/builders.rs b/sdk/applicationdiscovery/src/operation/stop_data_collection_by_agent_ids/builders.rs index 555996503b6b..eb47bceba2d6 100644 --- a/sdk/applicationdiscovery/src/operation/stop_data_collection_by_agent_ids/builders.rs +++ b/sdk/applicationdiscovery/src/operation/stop_data_collection_by_agent_ids/builders.rs @@ -19,9 +19,9 @@ impl StopDataCollectionByAgentIdsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl StopDataCollectionByAgentIdsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::stop_data_collection_by_agent_ids::StopDataCollectionByAgentIds, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::stop_data_collection_by_agent_ids::StopDataCollectionByAgentIdsError, + >, + > { + self.customize_middleware().await + } /// Appends an item to `agentIds`. /// /// To override the contents of this collection use [`set_agent_ids`](Self::set_agent_ids). diff --git a/sdk/applicationdiscovery/src/operation/update_application/builders.rs b/sdk/applicationdiscovery/src/operation/update_application/builders.rs index 4042a0547251..007100368668 100644 --- a/sdk/applicationdiscovery/src/operation/update_application/builders.rs +++ b/sdk/applicationdiscovery/src/operation/update_application/builders.rs @@ -19,9 +19,9 @@ impl UpdateApplicationFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl UpdateApplicationFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::update_application::UpdateApplication, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::update_application::UpdateApplicationError, + >, + > { + self.customize_middleware().await + } ///

Configuration ID of the application to be updated.

pub fn configuration_id( mut self, diff --git a/sdk/applicationinsights/src/operation/create_application/builders.rs b/sdk/applicationinsights/src/operation/create_application/builders.rs index f9a5bffcfc07..94ef35ce7bbb 100644 --- a/sdk/applicationinsights/src/operation/create_application/builders.rs +++ b/sdk/applicationinsights/src/operation/create_application/builders.rs @@ -19,9 +19,9 @@ impl CreateApplicationFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl CreateApplicationFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::create_application::CreateApplication, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::create_application::CreateApplicationError, + >, + > { + self.customize_middleware().await + } ///

The name of the resource group.

pub fn resource_group_name( mut self, diff --git a/sdk/applicationinsights/src/operation/create_component/builders.rs b/sdk/applicationinsights/src/operation/create_component/builders.rs index 30fad821fb9c..d19e74209e0c 100644 --- a/sdk/applicationinsights/src/operation/create_component/builders.rs +++ b/sdk/applicationinsights/src/operation/create_component/builders.rs @@ -19,9 +19,9 @@ impl CreateComponentFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl CreateComponentFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::create_component::CreateComponent, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::create_component::CreateComponentError, + >, + > { + self.customize_middleware().await + } ///

The name of the resource group.

pub fn resource_group_name( mut self, diff --git a/sdk/applicationinsights/src/operation/create_log_pattern/builders.rs b/sdk/applicationinsights/src/operation/create_log_pattern/builders.rs index 728e13bbc1b4..1527aeea0f85 100644 --- a/sdk/applicationinsights/src/operation/create_log_pattern/builders.rs +++ b/sdk/applicationinsights/src/operation/create_log_pattern/builders.rs @@ -19,9 +19,9 @@ impl CreateLogPatternFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl CreateLogPatternFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::create_log_pattern::CreateLogPattern, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::create_log_pattern::CreateLogPatternError, + >, + > { + self.customize_middleware().await + } ///

The name of the resource group.

pub fn resource_group_name( mut self, diff --git a/sdk/applicationinsights/src/operation/delete_application/builders.rs b/sdk/applicationinsights/src/operation/delete_application/builders.rs index 894445e55753..2d6dae3f8b40 100644 --- a/sdk/applicationinsights/src/operation/delete_application/builders.rs +++ b/sdk/applicationinsights/src/operation/delete_application/builders.rs @@ -19,9 +19,9 @@ impl DeleteApplicationFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl DeleteApplicationFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::delete_application::DeleteApplication, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::delete_application::DeleteApplicationError, + >, + > { + self.customize_middleware().await + } ///

The name of the resource group.

pub fn resource_group_name( mut self, diff --git a/sdk/applicationinsights/src/operation/delete_component/builders.rs b/sdk/applicationinsights/src/operation/delete_component/builders.rs index 9ec0d3023430..9060a3966743 100644 --- a/sdk/applicationinsights/src/operation/delete_component/builders.rs +++ b/sdk/applicationinsights/src/operation/delete_component/builders.rs @@ -19,9 +19,9 @@ impl DeleteComponentFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl DeleteComponentFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::delete_component::DeleteComponent, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::delete_component::DeleteComponentError, + >, + > { + self.customize_middleware().await + } ///

The name of the resource group.

pub fn resource_group_name( mut self, diff --git a/sdk/applicationinsights/src/operation/delete_log_pattern/builders.rs b/sdk/applicationinsights/src/operation/delete_log_pattern/builders.rs index bc9ba18de89e..0176a2b7d0df 100644 --- a/sdk/applicationinsights/src/operation/delete_log_pattern/builders.rs +++ b/sdk/applicationinsights/src/operation/delete_log_pattern/builders.rs @@ -19,9 +19,9 @@ impl DeleteLogPatternFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl DeleteLogPatternFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::delete_log_pattern::DeleteLogPattern, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::delete_log_pattern::DeleteLogPatternError, + >, + > { + self.customize_middleware().await + } ///

The name of the resource group.

pub fn resource_group_name( mut self, diff --git a/sdk/applicationinsights/src/operation/describe_application/builders.rs b/sdk/applicationinsights/src/operation/describe_application/builders.rs index 785261390b73..0825f0219260 100644 --- a/sdk/applicationinsights/src/operation/describe_application/builders.rs +++ b/sdk/applicationinsights/src/operation/describe_application/builders.rs @@ -19,9 +19,9 @@ impl DescribeApplicationFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl DescribeApplicationFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::describe_application::DescribeApplication, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::describe_application::DescribeApplicationError, + >, + > { + self.customize_middleware().await + } ///

The name of the resource group.

pub fn resource_group_name( mut self, diff --git a/sdk/applicationinsights/src/operation/describe_component/builders.rs b/sdk/applicationinsights/src/operation/describe_component/builders.rs index a9880ae480e4..ade882209156 100644 --- a/sdk/applicationinsights/src/operation/describe_component/builders.rs +++ b/sdk/applicationinsights/src/operation/describe_component/builders.rs @@ -19,9 +19,9 @@ impl DescribeComponentFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl DescribeComponentFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::describe_component::DescribeComponent, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::describe_component::DescribeComponentError, + >, + > { + self.customize_middleware().await + } ///

The name of the resource group.

pub fn resource_group_name( mut self, diff --git a/sdk/applicationinsights/src/operation/describe_component_configuration/builders.rs b/sdk/applicationinsights/src/operation/describe_component_configuration/builders.rs index 82030a6c90c3..6c3d3f8d1678 100644 --- a/sdk/applicationinsights/src/operation/describe_component_configuration/builders.rs +++ b/sdk/applicationinsights/src/operation/describe_component_configuration/builders.rs @@ -19,9 +19,9 @@ impl DescribeComponentConfigurationFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl DescribeComponentConfigurationFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::describe_component_configuration::DescribeComponentConfiguration, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::describe_component_configuration::DescribeComponentConfigurationError, + >, + > { + self.customize_middleware().await + } ///

The name of the resource group.

pub fn resource_group_name( mut self, diff --git a/sdk/applicationinsights/src/operation/describe_component_configuration_recommendation/builders.rs b/sdk/applicationinsights/src/operation/describe_component_configuration_recommendation/builders.rs index bfd00142214c..6f59894c44b6 100644 --- a/sdk/applicationinsights/src/operation/describe_component_configuration_recommendation/builders.rs +++ b/sdk/applicationinsights/src/operation/describe_component_configuration_recommendation/builders.rs @@ -19,9 +19,9 @@ impl DescribeComponentConfigurationRecommendationFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize(self) -> ::std::result::Result< + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware(self) -> ::std::result::Result< crate::client::customize::CustomizableOperation, ::aws_smithy_http::result::SdkError >{ @@ -64,6 +64,15 @@ impl DescribeComponentConfigurationRecommendationFluentBuilder { { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize(self) -> ::std::result::Result< + crate::client::customize::CustomizableOperation, + ::aws_smithy_http::result::SdkError + >{ + self.customize_middleware().await + } ///

The name of the resource group.

pub fn resource_group_name( mut self, diff --git a/sdk/applicationinsights/src/operation/describe_log_pattern/builders.rs b/sdk/applicationinsights/src/operation/describe_log_pattern/builders.rs index 9d40070c2154..c428fa192bdb 100644 --- a/sdk/applicationinsights/src/operation/describe_log_pattern/builders.rs +++ b/sdk/applicationinsights/src/operation/describe_log_pattern/builders.rs @@ -19,9 +19,9 @@ impl DescribeLogPatternFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl DescribeLogPatternFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::describe_log_pattern::DescribeLogPattern, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::describe_log_pattern::DescribeLogPatternError, + >, + > { + self.customize_middleware().await + } ///

The name of the resource group.

pub fn resource_group_name( mut self, diff --git a/sdk/applicationinsights/src/operation/describe_observation/builders.rs b/sdk/applicationinsights/src/operation/describe_observation/builders.rs index 7e0a4e7dcee3..edda318356e8 100644 --- a/sdk/applicationinsights/src/operation/describe_observation/builders.rs +++ b/sdk/applicationinsights/src/operation/describe_observation/builders.rs @@ -19,9 +19,9 @@ impl DescribeObservationFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl DescribeObservationFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::describe_observation::DescribeObservation, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::describe_observation::DescribeObservationError, + >, + > { + self.customize_middleware().await + } ///

The ID of the observation.

pub fn observation_id( mut self, diff --git a/sdk/applicationinsights/src/operation/describe_problem/builders.rs b/sdk/applicationinsights/src/operation/describe_problem/builders.rs index 93f0134569e7..b20dac44e27a 100644 --- a/sdk/applicationinsights/src/operation/describe_problem/builders.rs +++ b/sdk/applicationinsights/src/operation/describe_problem/builders.rs @@ -19,9 +19,9 @@ impl DescribeProblemFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl DescribeProblemFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::describe_problem::DescribeProblem, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::describe_problem::DescribeProblemError, + >, + > { + self.customize_middleware().await + } ///

The ID of the problem.

pub fn problem_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.problem_id(input.into()); diff --git a/sdk/applicationinsights/src/operation/describe_problem_observations/builders.rs b/sdk/applicationinsights/src/operation/describe_problem_observations/builders.rs index 16722ed99dbb..61653380fe11 100644 --- a/sdk/applicationinsights/src/operation/describe_problem_observations/builders.rs +++ b/sdk/applicationinsights/src/operation/describe_problem_observations/builders.rs @@ -19,9 +19,9 @@ impl DescribeProblemObservationsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl DescribeProblemObservationsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::describe_problem_observations::DescribeProblemObservations, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::describe_problem_observations::DescribeProblemObservationsError, + >, + > { + self.customize_middleware().await + } ///

The ID of the problem.

pub fn problem_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.problem_id(input.into()); diff --git a/sdk/applicationinsights/src/operation/list_applications/builders.rs b/sdk/applicationinsights/src/operation/list_applications/builders.rs index 314fc7f357a8..674136e32239 100644 --- a/sdk/applicationinsights/src/operation/list_applications/builders.rs +++ b/sdk/applicationinsights/src/operation/list_applications/builders.rs @@ -19,9 +19,9 @@ impl ListApplicationsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl ListApplicationsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_applications::ListApplications, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::list_applications::ListApplicationsError, + >, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::list_applications::paginator::ListApplicationsPaginator::send) which returns a `Stream`. diff --git a/sdk/applicationinsights/src/operation/list_components/builders.rs b/sdk/applicationinsights/src/operation/list_components/builders.rs index b72fcb8b688c..1b04bf20d0ce 100644 --- a/sdk/applicationinsights/src/operation/list_components/builders.rs +++ b/sdk/applicationinsights/src/operation/list_components/builders.rs @@ -19,9 +19,9 @@ impl ListComponentsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl ListComponentsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_components::ListComponents, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::list_components::paginator::ListComponentsPaginator::send) which returns a `Stream`. diff --git a/sdk/applicationinsights/src/operation/list_configuration_history/builders.rs b/sdk/applicationinsights/src/operation/list_configuration_history/builders.rs index 8e4cebd50407..7d5510ffe87c 100644 --- a/sdk/applicationinsights/src/operation/list_configuration_history/builders.rs +++ b/sdk/applicationinsights/src/operation/list_configuration_history/builders.rs @@ -24,9 +24,9 @@ impl ListConfigurationHistoryFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -88,6 +88,22 @@ impl ListConfigurationHistoryFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_configuration_history::ListConfigurationHistory, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::list_configuration_history::ListConfigurationHistoryError, + >, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::list_configuration_history::paginator::ListConfigurationHistoryPaginator::send) which returns a `Stream`. diff --git a/sdk/applicationinsights/src/operation/list_log_pattern_sets/builders.rs b/sdk/applicationinsights/src/operation/list_log_pattern_sets/builders.rs index e92b9f722be1..ef535860fb9b 100644 --- a/sdk/applicationinsights/src/operation/list_log_pattern_sets/builders.rs +++ b/sdk/applicationinsights/src/operation/list_log_pattern_sets/builders.rs @@ -19,9 +19,9 @@ impl ListLogPatternSetsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl ListLogPatternSetsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_log_pattern_sets::ListLogPatternSets, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::list_log_pattern_sets::ListLogPatternSetsError, + >, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::list_log_pattern_sets::paginator::ListLogPatternSetsPaginator::send) which returns a `Stream`. diff --git a/sdk/applicationinsights/src/operation/list_log_patterns/builders.rs b/sdk/applicationinsights/src/operation/list_log_patterns/builders.rs index e08470e83ae2..83b62ef5108f 100644 --- a/sdk/applicationinsights/src/operation/list_log_patterns/builders.rs +++ b/sdk/applicationinsights/src/operation/list_log_patterns/builders.rs @@ -19,9 +19,9 @@ impl ListLogPatternsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl ListLogPatternsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_log_patterns::ListLogPatterns, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::list_log_patterns::ListLogPatternsError, + >, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::list_log_patterns::paginator::ListLogPatternsPaginator::send) which returns a `Stream`. diff --git a/sdk/applicationinsights/src/operation/list_problems/builders.rs b/sdk/applicationinsights/src/operation/list_problems/builders.rs index 4de51af36e36..fb6402bf58d6 100644 --- a/sdk/applicationinsights/src/operation/list_problems/builders.rs +++ b/sdk/applicationinsights/src/operation/list_problems/builders.rs @@ -19,9 +19,9 @@ impl ListProblemsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl ListProblemsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_problems::ListProblems, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::list_problems::paginator::ListProblemsPaginator::send) which returns a `Stream`. diff --git a/sdk/applicationinsights/src/operation/list_tags_for_resource/builders.rs b/sdk/applicationinsights/src/operation/list_tags_for_resource/builders.rs index 60005d614006..75fc945945bd 100644 --- a/sdk/applicationinsights/src/operation/list_tags_for_resource/builders.rs +++ b/sdk/applicationinsights/src/operation/list_tags_for_resource/builders.rs @@ -19,9 +19,9 @@ impl ListTagsForResourceFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl ListTagsForResourceFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_tags_for_resource::ListTagsForResource, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::list_tags_for_resource::ListTagsForResourceError, + >, + > { + self.customize_middleware().await + } ///

The Amazon Resource Name (ARN) of the application that you want to retrieve tag information for.

pub fn resource_arn(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.resource_arn(input.into()); diff --git a/sdk/applicationinsights/src/operation/tag_resource/builders.rs b/sdk/applicationinsights/src/operation/tag_resource/builders.rs index 9f7ac41f760a..55736f09c7af 100644 --- a/sdk/applicationinsights/src/operation/tag_resource/builders.rs +++ b/sdk/applicationinsights/src/operation/tag_resource/builders.rs @@ -20,9 +20,9 @@ impl TagResourceFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -78,6 +78,20 @@ impl TagResourceFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::tag_resource::TagResource, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

The Amazon Resource Name (ARN) of the application that you want to add one or more tags to.

pub fn resource_arn(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.resource_arn(input.into()); diff --git a/sdk/applicationinsights/src/operation/untag_resource/builders.rs b/sdk/applicationinsights/src/operation/untag_resource/builders.rs index 5949499442a7..f19382ab9315 100644 --- a/sdk/applicationinsights/src/operation/untag_resource/builders.rs +++ b/sdk/applicationinsights/src/operation/untag_resource/builders.rs @@ -19,9 +19,9 @@ impl UntagResourceFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl UntagResourceFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::untag_resource::UntagResource, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

The Amazon Resource Name (ARN) of the application that you want to remove one or more tags from.

pub fn resource_arn(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.resource_arn(input.into()); diff --git a/sdk/applicationinsights/src/operation/update_application/builders.rs b/sdk/applicationinsights/src/operation/update_application/builders.rs index 32b6fa404f4c..729cd97d3197 100644 --- a/sdk/applicationinsights/src/operation/update_application/builders.rs +++ b/sdk/applicationinsights/src/operation/update_application/builders.rs @@ -19,9 +19,9 @@ impl UpdateApplicationFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl UpdateApplicationFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::update_application::UpdateApplication, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::update_application::UpdateApplicationError, + >, + > { + self.customize_middleware().await + } ///

The name of the resource group.

pub fn resource_group_name( mut self, diff --git a/sdk/applicationinsights/src/operation/update_component/builders.rs b/sdk/applicationinsights/src/operation/update_component/builders.rs index e415cdd3eb6d..d7dbe69ecb9e 100644 --- a/sdk/applicationinsights/src/operation/update_component/builders.rs +++ b/sdk/applicationinsights/src/operation/update_component/builders.rs @@ -19,9 +19,9 @@ impl UpdateComponentFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl UpdateComponentFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::update_component::UpdateComponent, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::update_component::UpdateComponentError, + >, + > { + self.customize_middleware().await + } ///

The name of the resource group.

pub fn resource_group_name( mut self, diff --git a/sdk/applicationinsights/src/operation/update_component_configuration/builders.rs b/sdk/applicationinsights/src/operation/update_component_configuration/builders.rs index ebeef901741d..f04fc7aa5144 100644 --- a/sdk/applicationinsights/src/operation/update_component_configuration/builders.rs +++ b/sdk/applicationinsights/src/operation/update_component_configuration/builders.rs @@ -19,9 +19,9 @@ impl UpdateComponentConfigurationFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl UpdateComponentConfigurationFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::update_component_configuration::UpdateComponentConfiguration, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::update_component_configuration::UpdateComponentConfigurationError, + >, + > { + self.customize_middleware().await + } ///

The name of the resource group.

pub fn resource_group_name( mut self, diff --git a/sdk/applicationinsights/src/operation/update_log_pattern/builders.rs b/sdk/applicationinsights/src/operation/update_log_pattern/builders.rs index 59754553fa7f..fa4dccf66eec 100644 --- a/sdk/applicationinsights/src/operation/update_log_pattern/builders.rs +++ b/sdk/applicationinsights/src/operation/update_log_pattern/builders.rs @@ -19,9 +19,9 @@ impl UpdateLogPatternFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl UpdateLogPatternFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::update_log_pattern::UpdateLogPattern, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::update_log_pattern::UpdateLogPatternError, + >, + > { + self.customize_middleware().await + } ///

The name of the resource group.

pub fn resource_group_name( mut self, diff --git a/sdk/appmesh/src/operation/create_gateway_route/builders.rs b/sdk/appmesh/src/operation/create_gateway_route/builders.rs index 389a36807416..b18e4cfc97e9 100644 --- a/sdk/appmesh/src/operation/create_gateway_route/builders.rs +++ b/sdk/appmesh/src/operation/create_gateway_route/builders.rs @@ -21,9 +21,9 @@ impl CreateGatewayRouteFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -85,6 +85,22 @@ impl CreateGatewayRouteFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::create_gateway_route::CreateGatewayRoute, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::create_gateway_route::CreateGatewayRouteError, + >, + > { + self.customize_middleware().await + } ///

The name to use for the gateway route.

pub fn gateway_route_name( mut self, diff --git a/sdk/appmesh/src/operation/create_mesh/builders.rs b/sdk/appmesh/src/operation/create_mesh/builders.rs index b0c5cf92ac04..16352d3ae247 100644 --- a/sdk/appmesh/src/operation/create_mesh/builders.rs +++ b/sdk/appmesh/src/operation/create_mesh/builders.rs @@ -21,9 +21,9 @@ impl CreateMeshFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -79,6 +79,20 @@ impl CreateMeshFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::create_mesh::CreateMesh, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

The name to use for the service mesh.

pub fn mesh_name(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.mesh_name(input.into()); diff --git a/sdk/appmesh/src/operation/create_route/builders.rs b/sdk/appmesh/src/operation/create_route/builders.rs index 36217901d000..a7e4628d408c 100644 --- a/sdk/appmesh/src/operation/create_route/builders.rs +++ b/sdk/appmesh/src/operation/create_route/builders.rs @@ -21,9 +21,9 @@ impl CreateRouteFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -79,6 +79,20 @@ impl CreateRouteFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::create_route::CreateRoute, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

The name to use for the route.

pub fn route_name(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.route_name(input.into()); diff --git a/sdk/appmesh/src/operation/create_virtual_gateway/builders.rs b/sdk/appmesh/src/operation/create_virtual_gateway/builders.rs index ca7b5bf7b673..7a5f23b4d86a 100644 --- a/sdk/appmesh/src/operation/create_virtual_gateway/builders.rs +++ b/sdk/appmesh/src/operation/create_virtual_gateway/builders.rs @@ -21,9 +21,9 @@ impl CreateVirtualGatewayFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -85,6 +85,22 @@ impl CreateVirtualGatewayFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::create_virtual_gateway::CreateVirtualGateway, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::create_virtual_gateway::CreateVirtualGatewayError, + >, + > { + self.customize_middleware().await + } ///

The name to use for the virtual gateway.

pub fn virtual_gateway_name( mut self, diff --git a/sdk/appmesh/src/operation/create_virtual_node/builders.rs b/sdk/appmesh/src/operation/create_virtual_node/builders.rs index 72f6e2f11b06..5cbc97766689 100644 --- a/sdk/appmesh/src/operation/create_virtual_node/builders.rs +++ b/sdk/appmesh/src/operation/create_virtual_node/builders.rs @@ -25,9 +25,9 @@ impl CreateVirtualNodeFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -89,6 +89,22 @@ impl CreateVirtualNodeFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::create_virtual_node::CreateVirtualNode, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::create_virtual_node::CreateVirtualNodeError, + >, + > { + self.customize_middleware().await + } ///

The name to use for the virtual node.

pub fn virtual_node_name( mut self, diff --git a/sdk/appmesh/src/operation/create_virtual_router/builders.rs b/sdk/appmesh/src/operation/create_virtual_router/builders.rs index 251f15d6ed0d..9cfbd037f51f 100644 --- a/sdk/appmesh/src/operation/create_virtual_router/builders.rs +++ b/sdk/appmesh/src/operation/create_virtual_router/builders.rs @@ -21,9 +21,9 @@ impl CreateVirtualRouterFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -85,6 +85,22 @@ impl CreateVirtualRouterFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::create_virtual_router::CreateVirtualRouter, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::create_virtual_router::CreateVirtualRouterError, + >, + > { + self.customize_middleware().await + } ///

The name to use for the virtual router.

pub fn virtual_router_name( mut self, diff --git a/sdk/appmesh/src/operation/create_virtual_service/builders.rs b/sdk/appmesh/src/operation/create_virtual_service/builders.rs index 6af985af084a..ca920371ff2c 100644 --- a/sdk/appmesh/src/operation/create_virtual_service/builders.rs +++ b/sdk/appmesh/src/operation/create_virtual_service/builders.rs @@ -21,9 +21,9 @@ impl CreateVirtualServiceFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -85,6 +85,22 @@ impl CreateVirtualServiceFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::create_virtual_service::CreateVirtualService, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::create_virtual_service::CreateVirtualServiceError, + >, + > { + self.customize_middleware().await + } ///

The name to use for the virtual service.

pub fn virtual_service_name( mut self, diff --git a/sdk/appmesh/src/operation/delete_gateway_route/builders.rs b/sdk/appmesh/src/operation/delete_gateway_route/builders.rs index 98f51debcc45..88566e75a71a 100644 --- a/sdk/appmesh/src/operation/delete_gateway_route/builders.rs +++ b/sdk/appmesh/src/operation/delete_gateway_route/builders.rs @@ -19,9 +19,9 @@ impl DeleteGatewayRouteFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl DeleteGatewayRouteFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::delete_gateway_route::DeleteGatewayRoute, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::delete_gateway_route::DeleteGatewayRouteError, + >, + > { + self.customize_middleware().await + } ///

The name of the gateway route to delete.

pub fn gateway_route_name( mut self, diff --git a/sdk/appmesh/src/operation/delete_mesh/builders.rs b/sdk/appmesh/src/operation/delete_mesh/builders.rs index baf49a9e9356..0dfde7118263 100644 --- a/sdk/appmesh/src/operation/delete_mesh/builders.rs +++ b/sdk/appmesh/src/operation/delete_mesh/builders.rs @@ -20,9 +20,9 @@ impl DeleteMeshFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -78,6 +78,20 @@ impl DeleteMeshFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::delete_mesh::DeleteMesh, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

The name of the service mesh to delete.

pub fn mesh_name(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.mesh_name(input.into()); diff --git a/sdk/appmesh/src/operation/delete_route/builders.rs b/sdk/appmesh/src/operation/delete_route/builders.rs index 8f44c6484d2e..a2cb38c856e7 100644 --- a/sdk/appmesh/src/operation/delete_route/builders.rs +++ b/sdk/appmesh/src/operation/delete_route/builders.rs @@ -19,9 +19,9 @@ impl DeleteRouteFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl DeleteRouteFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::delete_route::DeleteRoute, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

The name of the route to delete.

pub fn route_name(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.route_name(input.into()); diff --git a/sdk/appmesh/src/operation/delete_virtual_gateway/builders.rs b/sdk/appmesh/src/operation/delete_virtual_gateway/builders.rs index 82efd17a135d..5fe9716522d8 100644 --- a/sdk/appmesh/src/operation/delete_virtual_gateway/builders.rs +++ b/sdk/appmesh/src/operation/delete_virtual_gateway/builders.rs @@ -19,9 +19,9 @@ impl DeleteVirtualGatewayFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl DeleteVirtualGatewayFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::delete_virtual_gateway::DeleteVirtualGateway, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::delete_virtual_gateway::DeleteVirtualGatewayError, + >, + > { + self.customize_middleware().await + } ///

The name of the virtual gateway to delete.

pub fn virtual_gateway_name( mut self, diff --git a/sdk/appmesh/src/operation/delete_virtual_node/builders.rs b/sdk/appmesh/src/operation/delete_virtual_node/builders.rs index 192e42a04417..8796bfb8f41b 100644 --- a/sdk/appmesh/src/operation/delete_virtual_node/builders.rs +++ b/sdk/appmesh/src/operation/delete_virtual_node/builders.rs @@ -20,9 +20,9 @@ impl DeleteVirtualNodeFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -84,6 +84,22 @@ impl DeleteVirtualNodeFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::delete_virtual_node::DeleteVirtualNode, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::delete_virtual_node::DeleteVirtualNodeError, + >, + > { + self.customize_middleware().await + } ///

The name of the virtual node to delete.

pub fn virtual_node_name( mut self, diff --git a/sdk/appmesh/src/operation/delete_virtual_router/builders.rs b/sdk/appmesh/src/operation/delete_virtual_router/builders.rs index 5b4920f92f69..69ef708f9f50 100644 --- a/sdk/appmesh/src/operation/delete_virtual_router/builders.rs +++ b/sdk/appmesh/src/operation/delete_virtual_router/builders.rs @@ -20,9 +20,9 @@ impl DeleteVirtualRouterFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -84,6 +84,22 @@ impl DeleteVirtualRouterFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::delete_virtual_router::DeleteVirtualRouter, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::delete_virtual_router::DeleteVirtualRouterError, + >, + > { + self.customize_middleware().await + } ///

The name of the virtual router to delete.

pub fn virtual_router_name( mut self, diff --git a/sdk/appmesh/src/operation/delete_virtual_service/builders.rs b/sdk/appmesh/src/operation/delete_virtual_service/builders.rs index fb7b8c21e41b..1fb77250a85f 100644 --- a/sdk/appmesh/src/operation/delete_virtual_service/builders.rs +++ b/sdk/appmesh/src/operation/delete_virtual_service/builders.rs @@ -19,9 +19,9 @@ impl DeleteVirtualServiceFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl DeleteVirtualServiceFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::delete_virtual_service::DeleteVirtualService, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::delete_virtual_service::DeleteVirtualServiceError, + >, + > { + self.customize_middleware().await + } ///

The name of the virtual service to delete.

pub fn virtual_service_name( mut self, diff --git a/sdk/appmesh/src/operation/describe_gateway_route/builders.rs b/sdk/appmesh/src/operation/describe_gateway_route/builders.rs index 4e5b641e234f..d0061c9b929d 100644 --- a/sdk/appmesh/src/operation/describe_gateway_route/builders.rs +++ b/sdk/appmesh/src/operation/describe_gateway_route/builders.rs @@ -19,9 +19,9 @@ impl DescribeGatewayRouteFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl DescribeGatewayRouteFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::describe_gateway_route::DescribeGatewayRoute, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::describe_gateway_route::DescribeGatewayRouteError, + >, + > { + self.customize_middleware().await + } ///

The name of the gateway route to describe.

pub fn gateway_route_name( mut self, diff --git a/sdk/appmesh/src/operation/describe_mesh/builders.rs b/sdk/appmesh/src/operation/describe_mesh/builders.rs index b0f488d1348f..d58b0ed69b8b 100644 --- a/sdk/appmesh/src/operation/describe_mesh/builders.rs +++ b/sdk/appmesh/src/operation/describe_mesh/builders.rs @@ -19,9 +19,9 @@ impl DescribeMeshFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl DescribeMeshFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::describe_mesh::DescribeMesh, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

The name of the service mesh to describe.

pub fn mesh_name(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.mesh_name(input.into()); diff --git a/sdk/appmesh/src/operation/describe_route/builders.rs b/sdk/appmesh/src/operation/describe_route/builders.rs index 596c2b93e2ab..756301a850e3 100644 --- a/sdk/appmesh/src/operation/describe_route/builders.rs +++ b/sdk/appmesh/src/operation/describe_route/builders.rs @@ -19,9 +19,9 @@ impl DescribeRouteFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl DescribeRouteFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::describe_route::DescribeRoute, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

The name of the route to describe.

pub fn route_name(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.route_name(input.into()); diff --git a/sdk/appmesh/src/operation/describe_virtual_gateway/builders.rs b/sdk/appmesh/src/operation/describe_virtual_gateway/builders.rs index 2f3b954cc832..88f87dcbd423 100644 --- a/sdk/appmesh/src/operation/describe_virtual_gateway/builders.rs +++ b/sdk/appmesh/src/operation/describe_virtual_gateway/builders.rs @@ -19,9 +19,9 @@ impl DescribeVirtualGatewayFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl DescribeVirtualGatewayFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::describe_virtual_gateway::DescribeVirtualGateway, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::describe_virtual_gateway::DescribeVirtualGatewayError, + >, + > { + self.customize_middleware().await + } ///

The name of the virtual gateway to describe.

pub fn virtual_gateway_name( mut self, diff --git a/sdk/appmesh/src/operation/describe_virtual_node/builders.rs b/sdk/appmesh/src/operation/describe_virtual_node/builders.rs index 26b5a67e5645..4b9016494625 100644 --- a/sdk/appmesh/src/operation/describe_virtual_node/builders.rs +++ b/sdk/appmesh/src/operation/describe_virtual_node/builders.rs @@ -19,9 +19,9 @@ impl DescribeVirtualNodeFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl DescribeVirtualNodeFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::describe_virtual_node::DescribeVirtualNode, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::describe_virtual_node::DescribeVirtualNodeError, + >, + > { + self.customize_middleware().await + } ///

The name of the virtual node to describe.

pub fn virtual_node_name( mut self, diff --git a/sdk/appmesh/src/operation/describe_virtual_router/builders.rs b/sdk/appmesh/src/operation/describe_virtual_router/builders.rs index 9a62981b7a50..013f6fd19dfa 100644 --- a/sdk/appmesh/src/operation/describe_virtual_router/builders.rs +++ b/sdk/appmesh/src/operation/describe_virtual_router/builders.rs @@ -19,9 +19,9 @@ impl DescribeVirtualRouterFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl DescribeVirtualRouterFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::describe_virtual_router::DescribeVirtualRouter, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::describe_virtual_router::DescribeVirtualRouterError, + >, + > { + self.customize_middleware().await + } ///

The name of the virtual router to describe.

pub fn virtual_router_name( mut self, diff --git a/sdk/appmesh/src/operation/describe_virtual_service/builders.rs b/sdk/appmesh/src/operation/describe_virtual_service/builders.rs index 96322ec729ad..8d5011eb77ad 100644 --- a/sdk/appmesh/src/operation/describe_virtual_service/builders.rs +++ b/sdk/appmesh/src/operation/describe_virtual_service/builders.rs @@ -19,9 +19,9 @@ impl DescribeVirtualServiceFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl DescribeVirtualServiceFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::describe_virtual_service::DescribeVirtualService, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::describe_virtual_service::DescribeVirtualServiceError, + >, + > { + self.customize_middleware().await + } ///

The name of the virtual service to describe.

pub fn virtual_service_name( mut self, diff --git a/sdk/appmesh/src/operation/list_gateway_routes/builders.rs b/sdk/appmesh/src/operation/list_gateway_routes/builders.rs index 2f98dcc5afa8..dd37ad53243d 100644 --- a/sdk/appmesh/src/operation/list_gateway_routes/builders.rs +++ b/sdk/appmesh/src/operation/list_gateway_routes/builders.rs @@ -19,9 +19,9 @@ impl ListGatewayRoutesFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl ListGatewayRoutesFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_gateway_routes::ListGatewayRoutes, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::list_gateway_routes::ListGatewayRoutesError, + >, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::list_gateway_routes::paginator::ListGatewayRoutesPaginator::send) which returns a `Stream`. diff --git a/sdk/appmesh/src/operation/list_meshes/builders.rs b/sdk/appmesh/src/operation/list_meshes/builders.rs index 8bd22f980689..4deb01f539fb 100644 --- a/sdk/appmesh/src/operation/list_meshes/builders.rs +++ b/sdk/appmesh/src/operation/list_meshes/builders.rs @@ -19,9 +19,9 @@ impl ListMeshesFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl ListMeshesFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_meshes::ListMeshes, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::list_meshes::paginator::ListMeshesPaginator::send) which returns a `Stream`. diff --git a/sdk/appmesh/src/operation/list_routes/builders.rs b/sdk/appmesh/src/operation/list_routes/builders.rs index 336c83269ca7..67ade5c91f43 100644 --- a/sdk/appmesh/src/operation/list_routes/builders.rs +++ b/sdk/appmesh/src/operation/list_routes/builders.rs @@ -19,9 +19,9 @@ impl ListRoutesFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl ListRoutesFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_routes::ListRoutes, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::list_routes::paginator::ListRoutesPaginator::send) which returns a `Stream`. diff --git a/sdk/appmesh/src/operation/list_tags_for_resource/builders.rs b/sdk/appmesh/src/operation/list_tags_for_resource/builders.rs index 8e6722b4d3bd..b6b0e7e93445 100644 --- a/sdk/appmesh/src/operation/list_tags_for_resource/builders.rs +++ b/sdk/appmesh/src/operation/list_tags_for_resource/builders.rs @@ -19,9 +19,9 @@ impl ListTagsForResourceFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl ListTagsForResourceFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_tags_for_resource::ListTagsForResource, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::list_tags_for_resource::ListTagsForResourceError, + >, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::list_tags_for_resource::paginator::ListTagsForResourcePaginator::send) which returns a `Stream`. diff --git a/sdk/appmesh/src/operation/list_virtual_gateways/builders.rs b/sdk/appmesh/src/operation/list_virtual_gateways/builders.rs index cad42c339dad..299b99bc05ce 100644 --- a/sdk/appmesh/src/operation/list_virtual_gateways/builders.rs +++ b/sdk/appmesh/src/operation/list_virtual_gateways/builders.rs @@ -19,9 +19,9 @@ impl ListVirtualGatewaysFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl ListVirtualGatewaysFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_virtual_gateways::ListVirtualGateways, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::list_virtual_gateways::ListVirtualGatewaysError, + >, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::list_virtual_gateways::paginator::ListVirtualGatewaysPaginator::send) which returns a `Stream`. diff --git a/sdk/appmesh/src/operation/list_virtual_nodes/builders.rs b/sdk/appmesh/src/operation/list_virtual_nodes/builders.rs index d9c163a8dd2c..4fe29bf3b55e 100644 --- a/sdk/appmesh/src/operation/list_virtual_nodes/builders.rs +++ b/sdk/appmesh/src/operation/list_virtual_nodes/builders.rs @@ -19,9 +19,9 @@ impl ListVirtualNodesFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl ListVirtualNodesFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_virtual_nodes::ListVirtualNodes, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::list_virtual_nodes::ListVirtualNodesError, + >, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::list_virtual_nodes::paginator::ListVirtualNodesPaginator::send) which returns a `Stream`. diff --git a/sdk/appmesh/src/operation/list_virtual_routers/builders.rs b/sdk/appmesh/src/operation/list_virtual_routers/builders.rs index 289f9d5ec58a..5f9dafb88f31 100644 --- a/sdk/appmesh/src/operation/list_virtual_routers/builders.rs +++ b/sdk/appmesh/src/operation/list_virtual_routers/builders.rs @@ -19,9 +19,9 @@ impl ListVirtualRoutersFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl ListVirtualRoutersFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_virtual_routers::ListVirtualRouters, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::list_virtual_routers::ListVirtualRoutersError, + >, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::list_virtual_routers::paginator::ListVirtualRoutersPaginator::send) which returns a `Stream`. diff --git a/sdk/appmesh/src/operation/list_virtual_services/builders.rs b/sdk/appmesh/src/operation/list_virtual_services/builders.rs index eb1c48c91953..d0ad2b4393a4 100644 --- a/sdk/appmesh/src/operation/list_virtual_services/builders.rs +++ b/sdk/appmesh/src/operation/list_virtual_services/builders.rs @@ -19,9 +19,9 @@ impl ListVirtualServicesFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl ListVirtualServicesFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_virtual_services::ListVirtualServices, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::list_virtual_services::ListVirtualServicesError, + >, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::list_virtual_services::paginator::ListVirtualServicesPaginator::send) which returns a `Stream`. diff --git a/sdk/appmesh/src/operation/tag_resource/builders.rs b/sdk/appmesh/src/operation/tag_resource/builders.rs index b8533c1ba0bb..9cb901479d28 100644 --- a/sdk/appmesh/src/operation/tag_resource/builders.rs +++ b/sdk/appmesh/src/operation/tag_resource/builders.rs @@ -19,9 +19,9 @@ impl TagResourceFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl TagResourceFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::tag_resource::TagResource, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

The Amazon Resource Name (ARN) of the resource to add tags to.

pub fn resource_arn(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.resource_arn(input.into()); diff --git a/sdk/appmesh/src/operation/untag_resource/builders.rs b/sdk/appmesh/src/operation/untag_resource/builders.rs index 19fa97c82c0e..f55c2e9fb3f4 100644 --- a/sdk/appmesh/src/operation/untag_resource/builders.rs +++ b/sdk/appmesh/src/operation/untag_resource/builders.rs @@ -19,9 +19,9 @@ impl UntagResourceFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl UntagResourceFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::untag_resource::UntagResource, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

The Amazon Resource Name (ARN) of the resource to delete tags from.

pub fn resource_arn(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.resource_arn(input.into()); diff --git a/sdk/appmesh/src/operation/update_gateway_route/builders.rs b/sdk/appmesh/src/operation/update_gateway_route/builders.rs index 1c16e67aac19..def89a7dfb41 100644 --- a/sdk/appmesh/src/operation/update_gateway_route/builders.rs +++ b/sdk/appmesh/src/operation/update_gateway_route/builders.rs @@ -19,9 +19,9 @@ impl UpdateGatewayRouteFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl UpdateGatewayRouteFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::update_gateway_route::UpdateGatewayRoute, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::update_gateway_route::UpdateGatewayRouteError, + >, + > { + self.customize_middleware().await + } ///

The name of the gateway route to update.

pub fn gateway_route_name( mut self, diff --git a/sdk/appmesh/src/operation/update_mesh/builders.rs b/sdk/appmesh/src/operation/update_mesh/builders.rs index 1e681acbd210..17c30a4ea960 100644 --- a/sdk/appmesh/src/operation/update_mesh/builders.rs +++ b/sdk/appmesh/src/operation/update_mesh/builders.rs @@ -19,9 +19,9 @@ impl UpdateMeshFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl UpdateMeshFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::update_mesh::UpdateMesh, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

The name of the service mesh to update.

pub fn mesh_name(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.mesh_name(input.into()); diff --git a/sdk/appmesh/src/operation/update_route/builders.rs b/sdk/appmesh/src/operation/update_route/builders.rs index e13547fe1cc8..d0baaf25ea5b 100644 --- a/sdk/appmesh/src/operation/update_route/builders.rs +++ b/sdk/appmesh/src/operation/update_route/builders.rs @@ -19,9 +19,9 @@ impl UpdateRouteFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl UpdateRouteFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::update_route::UpdateRoute, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

The name of the route to update.

pub fn route_name(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.route_name(input.into()); diff --git a/sdk/appmesh/src/operation/update_virtual_gateway/builders.rs b/sdk/appmesh/src/operation/update_virtual_gateway/builders.rs index a0814541c50e..68eac418ab34 100644 --- a/sdk/appmesh/src/operation/update_virtual_gateway/builders.rs +++ b/sdk/appmesh/src/operation/update_virtual_gateway/builders.rs @@ -19,9 +19,9 @@ impl UpdateVirtualGatewayFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl UpdateVirtualGatewayFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::update_virtual_gateway::UpdateVirtualGateway, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::update_virtual_gateway::UpdateVirtualGatewayError, + >, + > { + self.customize_middleware().await + } ///

The name of the virtual gateway to update.

pub fn virtual_gateway_name( mut self, diff --git a/sdk/appmesh/src/operation/update_virtual_node/builders.rs b/sdk/appmesh/src/operation/update_virtual_node/builders.rs index f8577916fd33..1675466d9ac4 100644 --- a/sdk/appmesh/src/operation/update_virtual_node/builders.rs +++ b/sdk/appmesh/src/operation/update_virtual_node/builders.rs @@ -19,9 +19,9 @@ impl UpdateVirtualNodeFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl UpdateVirtualNodeFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::update_virtual_node::UpdateVirtualNode, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::update_virtual_node::UpdateVirtualNodeError, + >, + > { + self.customize_middleware().await + } ///

The name of the virtual node to update.

pub fn virtual_node_name( mut self, diff --git a/sdk/appmesh/src/operation/update_virtual_router/builders.rs b/sdk/appmesh/src/operation/update_virtual_router/builders.rs index 5606e7c5e98a..d4f503bea5e4 100644 --- a/sdk/appmesh/src/operation/update_virtual_router/builders.rs +++ b/sdk/appmesh/src/operation/update_virtual_router/builders.rs @@ -19,9 +19,9 @@ impl UpdateVirtualRouterFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl UpdateVirtualRouterFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::update_virtual_router::UpdateVirtualRouter, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::update_virtual_router::UpdateVirtualRouterError, + >, + > { + self.customize_middleware().await + } ///

The name of the virtual router to update.

pub fn virtual_router_name( mut self, diff --git a/sdk/appmesh/src/operation/update_virtual_service/builders.rs b/sdk/appmesh/src/operation/update_virtual_service/builders.rs index acb04ff67a3a..95648b9acdcc 100644 --- a/sdk/appmesh/src/operation/update_virtual_service/builders.rs +++ b/sdk/appmesh/src/operation/update_virtual_service/builders.rs @@ -19,9 +19,9 @@ impl UpdateVirtualServiceFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl UpdateVirtualServiceFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::update_virtual_service::UpdateVirtualService, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::update_virtual_service::UpdateVirtualServiceError, + >, + > { + self.customize_middleware().await + } ///

The name of the virtual service to update.

pub fn virtual_service_name( mut self, diff --git a/sdk/apprunner/src/operation/associate_custom_domain/builders.rs b/sdk/apprunner/src/operation/associate_custom_domain/builders.rs index 9caf5ac7b811..f16e79c835db 100644 --- a/sdk/apprunner/src/operation/associate_custom_domain/builders.rs +++ b/sdk/apprunner/src/operation/associate_custom_domain/builders.rs @@ -20,9 +20,9 @@ impl AssociateCustomDomainFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -84,6 +84,22 @@ impl AssociateCustomDomainFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::associate_custom_domain::AssociateCustomDomain, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::associate_custom_domain::AssociateCustomDomainError, + >, + > { + self.customize_middleware().await + } ///

The Amazon Resource Name (ARN) of the App Runner service that you want to associate a custom domain name with.

pub fn service_arn(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.service_arn(input.into()); diff --git a/sdk/apprunner/src/operation/create_auto_scaling_configuration/builders.rs b/sdk/apprunner/src/operation/create_auto_scaling_configuration/builders.rs index d4e69d1d115f..077c8a0a9758 100644 --- a/sdk/apprunner/src/operation/create_auto_scaling_configuration/builders.rs +++ b/sdk/apprunner/src/operation/create_auto_scaling_configuration/builders.rs @@ -22,9 +22,9 @@ impl CreateAutoScalingConfigurationFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize(self) -> ::std::result::Result< + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware(self) -> ::std::result::Result< crate::client::customize::CustomizableOperation, ::aws_smithy_http::result::SdkError >{ @@ -67,6 +67,15 @@ impl CreateAutoScalingConfigurationFluentBuilder { { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize(self) -> ::std::result::Result< + crate::client::customize::CustomizableOperation, + ::aws_smithy_http::result::SdkError + >{ + self.customize_middleware().await + } ///

A name for the auto scaling configuration. When you use it for the first time in an Amazon Web Services Region, App Runner creates revision number 1 of this name. When you use the same name in subsequent calls, App Runner creates incremental revisions of the configuration.

///

The name DefaultConfiguration is reserved (it's the configuration that App Runner uses if you don't provide a custome one). You can't use it to create a new auto scaling configuration, and you can't create a revision of it.

///

When you want to use your own auto scaling configuration for your App Runner service, create a configuration with a different name, and then provide it when you create or update your service.

diff --git a/sdk/apprunner/src/operation/create_connection/builders.rs b/sdk/apprunner/src/operation/create_connection/builders.rs index 9c91c470a615..e5042a9826ef 100644 --- a/sdk/apprunner/src/operation/create_connection/builders.rs +++ b/sdk/apprunner/src/operation/create_connection/builders.rs @@ -20,9 +20,9 @@ impl CreateConnectionFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -84,6 +84,22 @@ impl CreateConnectionFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::create_connection::CreateConnection, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::create_connection::CreateConnectionError, + >, + > { + self.customize_middleware().await + } ///

A name for the new connection. It must be unique across all App Runner connections for the Amazon Web Services account in the Amazon Web Services Region.

pub fn connection_name( mut self, diff --git a/sdk/apprunner/src/operation/create_observability_configuration/builders.rs b/sdk/apprunner/src/operation/create_observability_configuration/builders.rs index 66bd11fdd4ee..d01c3dc49ac0 100644 --- a/sdk/apprunner/src/operation/create_observability_configuration/builders.rs +++ b/sdk/apprunner/src/operation/create_observability_configuration/builders.rs @@ -21,9 +21,9 @@ impl CreateObservabilityConfigurationFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize(self) -> ::std::result::Result< + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware(self) -> ::std::result::Result< crate::client::customize::CustomizableOperation, ::aws_smithy_http::result::SdkError >{ @@ -66,6 +66,15 @@ impl CreateObservabilityConfigurationFluentBuilder { { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize(self) -> ::std::result::Result< + crate::client::customize::CustomizableOperation, + ::aws_smithy_http::result::SdkError + >{ + self.customize_middleware().await + } ///

A name for the observability configuration. When you use it for the first time in an Amazon Web Services Region, App Runner creates revision number 1 of this name. When you use the same name in subsequent calls, App Runner creates incremental revisions of the configuration.

///

The name DefaultConfiguration is reserved. You can't use it to create a new observability configuration, and you can't create a revision of it.

///

When you want to use your own observability configuration for your App Runner service, create a configuration with a different name, and then provide it when you create or update your service.

diff --git a/sdk/apprunner/src/operation/create_service/builders.rs b/sdk/apprunner/src/operation/create_service/builders.rs index 4acd717834ba..e9961f329f57 100644 --- a/sdk/apprunner/src/operation/create_service/builders.rs +++ b/sdk/apprunner/src/operation/create_service/builders.rs @@ -20,9 +20,9 @@ impl CreateServiceFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -78,6 +78,20 @@ impl CreateServiceFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::create_service::CreateService, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

A name for the App Runner service. It must be unique across all the running App Runner services in your Amazon Web Services account in the Amazon Web Services Region.

pub fn service_name(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.service_name(input.into()); diff --git a/sdk/apprunner/src/operation/create_vpc_connector/builders.rs b/sdk/apprunner/src/operation/create_vpc_connector/builders.rs index 01122a0e8ffc..d295579c69a4 100644 --- a/sdk/apprunner/src/operation/create_vpc_connector/builders.rs +++ b/sdk/apprunner/src/operation/create_vpc_connector/builders.rs @@ -19,9 +19,9 @@ impl CreateVpcConnectorFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl CreateVpcConnectorFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::create_vpc_connector::CreateVpcConnector, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::create_vpc_connector::CreateVpcConnectorError, + >, + > { + self.customize_middleware().await + } ///

A name for the VPC connector.

pub fn vpc_connector_name( mut self, diff --git a/sdk/apprunner/src/operation/create_vpc_ingress_connection/builders.rs b/sdk/apprunner/src/operation/create_vpc_ingress_connection/builders.rs index 476a07e7b148..6fa733be45aa 100644 --- a/sdk/apprunner/src/operation/create_vpc_ingress_connection/builders.rs +++ b/sdk/apprunner/src/operation/create_vpc_ingress_connection/builders.rs @@ -19,9 +19,9 @@ impl CreateVpcIngressConnectionFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl CreateVpcIngressConnectionFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::create_vpc_ingress_connection::CreateVpcIngressConnection, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::create_vpc_ingress_connection::CreateVpcIngressConnectionError, + >, + > { + self.customize_middleware().await + } ///

The Amazon Resource Name (ARN) for this App Runner service that is used to create the VPC Ingress Connection resource.

pub fn service_arn(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.service_arn(input.into()); diff --git a/sdk/apprunner/src/operation/delete_auto_scaling_configuration/builders.rs b/sdk/apprunner/src/operation/delete_auto_scaling_configuration/builders.rs index 05ca73d40f64..c1281941fbd7 100644 --- a/sdk/apprunner/src/operation/delete_auto_scaling_configuration/builders.rs +++ b/sdk/apprunner/src/operation/delete_auto_scaling_configuration/builders.rs @@ -19,9 +19,9 @@ impl DeleteAutoScalingConfigurationFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize(self) -> ::std::result::Result< + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware(self) -> ::std::result::Result< crate::client::customize::CustomizableOperation, ::aws_smithy_http::result::SdkError >{ @@ -64,6 +64,15 @@ impl DeleteAutoScalingConfigurationFluentBuilder { { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize(self) -> ::std::result::Result< + crate::client::customize::CustomizableOperation, + ::aws_smithy_http::result::SdkError + >{ + self.customize_middleware().await + } ///

The Amazon Resource Name (ARN) of the App Runner auto scaling configuration that you want to delete.

///

The ARN can be a full auto scaling configuration ARN, or a partial ARN ending with either .../name or .../name/revision . If a revision isn't specified, the latest active revision is deleted.

pub fn auto_scaling_configuration_arn( diff --git a/sdk/apprunner/src/operation/delete_connection/builders.rs b/sdk/apprunner/src/operation/delete_connection/builders.rs index 658de69f61a8..c8c580dfe9be 100644 --- a/sdk/apprunner/src/operation/delete_connection/builders.rs +++ b/sdk/apprunner/src/operation/delete_connection/builders.rs @@ -19,9 +19,9 @@ impl DeleteConnectionFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl DeleteConnectionFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::delete_connection::DeleteConnection, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::delete_connection::DeleteConnectionError, + >, + > { + self.customize_middleware().await + } ///

The Amazon Resource Name (ARN) of the App Runner connection that you want to delete.

pub fn connection_arn( mut self, diff --git a/sdk/apprunner/src/operation/delete_observability_configuration/builders.rs b/sdk/apprunner/src/operation/delete_observability_configuration/builders.rs index fd6dbcbcd5a0..2b9aeb8fd14d 100644 --- a/sdk/apprunner/src/operation/delete_observability_configuration/builders.rs +++ b/sdk/apprunner/src/operation/delete_observability_configuration/builders.rs @@ -19,9 +19,9 @@ impl DeleteObservabilityConfigurationFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize(self) -> ::std::result::Result< + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware(self) -> ::std::result::Result< crate::client::customize::CustomizableOperation, ::aws_smithy_http::result::SdkError >{ @@ -64,6 +64,15 @@ impl DeleteObservabilityConfigurationFluentBuilder { { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize(self) -> ::std::result::Result< + crate::client::customize::CustomizableOperation, + ::aws_smithy_http::result::SdkError + >{ + self.customize_middleware().await + } ///

The Amazon Resource Name (ARN) of the App Runner observability configuration that you want to delete.

///

The ARN can be a full observability configuration ARN, or a partial ARN ending with either .../name or .../name/revision . If a revision isn't specified, the latest active revision is deleted.

pub fn observability_configuration_arn( diff --git a/sdk/apprunner/src/operation/delete_service/builders.rs b/sdk/apprunner/src/operation/delete_service/builders.rs index 0fe2f845a5b5..d0b814d98539 100644 --- a/sdk/apprunner/src/operation/delete_service/builders.rs +++ b/sdk/apprunner/src/operation/delete_service/builders.rs @@ -22,9 +22,9 @@ impl DeleteServiceFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -80,6 +80,20 @@ impl DeleteServiceFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::delete_service::DeleteService, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

The Amazon Resource Name (ARN) of the App Runner service that you want to delete.

pub fn service_arn(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.service_arn(input.into()); diff --git a/sdk/apprunner/src/operation/delete_vpc_connector/builders.rs b/sdk/apprunner/src/operation/delete_vpc_connector/builders.rs index 6c3e8fe0dd0f..745901c77536 100644 --- a/sdk/apprunner/src/operation/delete_vpc_connector/builders.rs +++ b/sdk/apprunner/src/operation/delete_vpc_connector/builders.rs @@ -19,9 +19,9 @@ impl DeleteVpcConnectorFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl DeleteVpcConnectorFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::delete_vpc_connector::DeleteVpcConnector, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::delete_vpc_connector::DeleteVpcConnectorError, + >, + > { + self.customize_middleware().await + } ///

The Amazon Resource Name (ARN) of the App Runner VPC connector that you want to delete.

///

The ARN must be a full VPC connector ARN.

pub fn vpc_connector_arn( diff --git a/sdk/apprunner/src/operation/delete_vpc_ingress_connection/builders.rs b/sdk/apprunner/src/operation/delete_vpc_ingress_connection/builders.rs index 4d4dc5bb5b0b..8636f37cf80d 100644 --- a/sdk/apprunner/src/operation/delete_vpc_ingress_connection/builders.rs +++ b/sdk/apprunner/src/operation/delete_vpc_ingress_connection/builders.rs @@ -25,9 +25,9 @@ impl DeleteVpcIngressConnectionFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -89,6 +89,22 @@ impl DeleteVpcIngressConnectionFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::delete_vpc_ingress_connection::DeleteVpcIngressConnection, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::delete_vpc_ingress_connection::DeleteVpcIngressConnectionError, + >, + > { + self.customize_middleware().await + } ///

The Amazon Resource Name (ARN) of the App Runner VPC Ingress Connection that you want to delete.

pub fn vpc_ingress_connection_arn( mut self, diff --git a/sdk/apprunner/src/operation/describe_auto_scaling_configuration/builders.rs b/sdk/apprunner/src/operation/describe_auto_scaling_configuration/builders.rs index d5bcda5f9118..76b2bd7d57f8 100644 --- a/sdk/apprunner/src/operation/describe_auto_scaling_configuration/builders.rs +++ b/sdk/apprunner/src/operation/describe_auto_scaling_configuration/builders.rs @@ -19,9 +19,9 @@ impl DescribeAutoScalingConfigurationFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize(self) -> ::std::result::Result< + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware(self) -> ::std::result::Result< crate::client::customize::CustomizableOperation, ::aws_smithy_http::result::SdkError >{ @@ -64,6 +64,15 @@ impl DescribeAutoScalingConfigurationFluentBuilder { { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize(self) -> ::std::result::Result< + crate::client::customize::CustomizableOperation, + ::aws_smithy_http::result::SdkError + >{ + self.customize_middleware().await + } ///

The Amazon Resource Name (ARN) of the App Runner auto scaling configuration that you want a description for.

///

The ARN can be a full auto scaling configuration ARN, or a partial ARN ending with either .../name or .../name/revision . If a revision isn't specified, the latest active revision is described.

pub fn auto_scaling_configuration_arn( diff --git a/sdk/apprunner/src/operation/describe_custom_domains/builders.rs b/sdk/apprunner/src/operation/describe_custom_domains/builders.rs index 070103093be6..559b0aa332a4 100644 --- a/sdk/apprunner/src/operation/describe_custom_domains/builders.rs +++ b/sdk/apprunner/src/operation/describe_custom_domains/builders.rs @@ -19,9 +19,9 @@ impl DescribeCustomDomainsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl DescribeCustomDomainsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::describe_custom_domains::DescribeCustomDomains, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::describe_custom_domains::DescribeCustomDomainsError, + >, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::describe_custom_domains::paginator::DescribeCustomDomainsPaginator::send) which returns a `Stream`. diff --git a/sdk/apprunner/src/operation/describe_observability_configuration/builders.rs b/sdk/apprunner/src/operation/describe_observability_configuration/builders.rs index a6375d3a9575..00beb5b3f520 100644 --- a/sdk/apprunner/src/operation/describe_observability_configuration/builders.rs +++ b/sdk/apprunner/src/operation/describe_observability_configuration/builders.rs @@ -19,9 +19,9 @@ impl DescribeObservabilityConfigurationFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize(self) -> ::std::result::Result< + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware(self) -> ::std::result::Result< crate::client::customize::CustomizableOperation, ::aws_smithy_http::result::SdkError >{ @@ -64,6 +64,15 @@ impl DescribeObservabilityConfigurationFluentBuilder { { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize(self) -> ::std::result::Result< + crate::client::customize::CustomizableOperation, + ::aws_smithy_http::result::SdkError + >{ + self.customize_middleware().await + } ///

The Amazon Resource Name (ARN) of the App Runner observability configuration that you want a description for.

///

The ARN can be a full observability configuration ARN, or a partial ARN ending with either .../name or .../name/revision . If a revision isn't specified, the latest active revision is described.

pub fn observability_configuration_arn( diff --git a/sdk/apprunner/src/operation/describe_service/builders.rs b/sdk/apprunner/src/operation/describe_service/builders.rs index 160dab97c662..359a1b4017ab 100644 --- a/sdk/apprunner/src/operation/describe_service/builders.rs +++ b/sdk/apprunner/src/operation/describe_service/builders.rs @@ -19,9 +19,9 @@ impl DescribeServiceFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl DescribeServiceFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::describe_service::DescribeService, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::describe_service::DescribeServiceError, + >, + > { + self.customize_middleware().await + } ///

The Amazon Resource Name (ARN) of the App Runner service that you want a description for.

pub fn service_arn(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.service_arn(input.into()); diff --git a/sdk/apprunner/src/operation/describe_vpc_connector/builders.rs b/sdk/apprunner/src/operation/describe_vpc_connector/builders.rs index a164aa7ed78a..c4a2d6daa40b 100644 --- a/sdk/apprunner/src/operation/describe_vpc_connector/builders.rs +++ b/sdk/apprunner/src/operation/describe_vpc_connector/builders.rs @@ -19,9 +19,9 @@ impl DescribeVpcConnectorFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl DescribeVpcConnectorFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::describe_vpc_connector::DescribeVpcConnector, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::describe_vpc_connector::DescribeVpcConnectorError, + >, + > { + self.customize_middleware().await + } ///

The Amazon Resource Name (ARN) of the App Runner VPC connector that you want a description for.

///

The ARN must be a full VPC connector ARN.

pub fn vpc_connector_arn( diff --git a/sdk/apprunner/src/operation/describe_vpc_ingress_connection/builders.rs b/sdk/apprunner/src/operation/describe_vpc_ingress_connection/builders.rs index 24ee8287e6e6..acf6f39bce40 100644 --- a/sdk/apprunner/src/operation/describe_vpc_ingress_connection/builders.rs +++ b/sdk/apprunner/src/operation/describe_vpc_ingress_connection/builders.rs @@ -19,9 +19,9 @@ impl DescribeVpcIngressConnectionFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl DescribeVpcIngressConnectionFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::describe_vpc_ingress_connection::DescribeVpcIngressConnection, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::describe_vpc_ingress_connection::DescribeVpcIngressConnectionError, + >, + > { + self.customize_middleware().await + } ///

The Amazon Resource Name (ARN) of the App Runner VPC Ingress Connection that you want a description for.

pub fn vpc_ingress_connection_arn( mut self, diff --git a/sdk/apprunner/src/operation/disassociate_custom_domain/builders.rs b/sdk/apprunner/src/operation/disassociate_custom_domain/builders.rs index 39291fc99675..b37cd8f18798 100644 --- a/sdk/apprunner/src/operation/disassociate_custom_domain/builders.rs +++ b/sdk/apprunner/src/operation/disassociate_custom_domain/builders.rs @@ -20,9 +20,9 @@ impl DisassociateCustomDomainFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -84,6 +84,22 @@ impl DisassociateCustomDomainFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::disassociate_custom_domain::DisassociateCustomDomain, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::disassociate_custom_domain::DisassociateCustomDomainError, + >, + > { + self.customize_middleware().await + } ///

The Amazon Resource Name (ARN) of the App Runner service that you want to disassociate a custom domain name from.

pub fn service_arn(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.service_arn(input.into()); diff --git a/sdk/apprunner/src/operation/list_auto_scaling_configurations/builders.rs b/sdk/apprunner/src/operation/list_auto_scaling_configurations/builders.rs index 55147a86ccfc..9e7c49ac7426 100644 --- a/sdk/apprunner/src/operation/list_auto_scaling_configurations/builders.rs +++ b/sdk/apprunner/src/operation/list_auto_scaling_configurations/builders.rs @@ -20,9 +20,9 @@ impl ListAutoScalingConfigurationsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -84,6 +84,22 @@ impl ListAutoScalingConfigurationsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_auto_scaling_configurations::ListAutoScalingConfigurations, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::list_auto_scaling_configurations::ListAutoScalingConfigurationsError, + >, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::list_auto_scaling_configurations::paginator::ListAutoScalingConfigurationsPaginator::send) which returns a `Stream`. diff --git a/sdk/apprunner/src/operation/list_connections/builders.rs b/sdk/apprunner/src/operation/list_connections/builders.rs index b09291713fe7..655e8797b4cf 100644 --- a/sdk/apprunner/src/operation/list_connections/builders.rs +++ b/sdk/apprunner/src/operation/list_connections/builders.rs @@ -19,9 +19,9 @@ impl ListConnectionsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl ListConnectionsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_connections::ListConnections, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::list_connections::ListConnectionsError, + >, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::list_connections::paginator::ListConnectionsPaginator::send) which returns a `Stream`. diff --git a/sdk/apprunner/src/operation/list_observability_configurations/builders.rs b/sdk/apprunner/src/operation/list_observability_configurations/builders.rs index a0164e6f3178..4dd77e788911 100644 --- a/sdk/apprunner/src/operation/list_observability_configurations/builders.rs +++ b/sdk/apprunner/src/operation/list_observability_configurations/builders.rs @@ -20,9 +20,9 @@ impl ListObservabilityConfigurationsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize(self) -> ::std::result::Result< + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware(self) -> ::std::result::Result< crate::client::customize::CustomizableOperation, ::aws_smithy_http::result::SdkError >{ @@ -65,6 +65,15 @@ impl ListObservabilityConfigurationsFluentBuilder { { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize(self) -> ::std::result::Result< + crate::client::customize::CustomizableOperation, + ::aws_smithy_http::result::SdkError + >{ + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::list_observability_configurations::paginator::ListObservabilityConfigurationsPaginator::send) which returns a `Stream`. diff --git a/sdk/apprunner/src/operation/list_operations/builders.rs b/sdk/apprunner/src/operation/list_operations/builders.rs index 8f5441e59191..7a7810cf20c5 100644 --- a/sdk/apprunner/src/operation/list_operations/builders.rs +++ b/sdk/apprunner/src/operation/list_operations/builders.rs @@ -20,9 +20,9 @@ impl ListOperationsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -78,6 +78,20 @@ impl ListOperationsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_operations::ListOperations, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::list_operations::paginator::ListOperationsPaginator::send) which returns a `Stream`. diff --git a/sdk/apprunner/src/operation/list_services/builders.rs b/sdk/apprunner/src/operation/list_services/builders.rs index 76d4b557112f..7e2f19506c9a 100644 --- a/sdk/apprunner/src/operation/list_services/builders.rs +++ b/sdk/apprunner/src/operation/list_services/builders.rs @@ -19,9 +19,9 @@ impl ListServicesFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl ListServicesFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_services::ListServices, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::list_services::paginator::ListServicesPaginator::send) which returns a `Stream`. diff --git a/sdk/apprunner/src/operation/list_tags_for_resource/builders.rs b/sdk/apprunner/src/operation/list_tags_for_resource/builders.rs index b14254d45db9..4dde93f887b5 100644 --- a/sdk/apprunner/src/operation/list_tags_for_resource/builders.rs +++ b/sdk/apprunner/src/operation/list_tags_for_resource/builders.rs @@ -19,9 +19,9 @@ impl ListTagsForResourceFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl ListTagsForResourceFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_tags_for_resource::ListTagsForResource, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::list_tags_for_resource::ListTagsForResourceError, + >, + > { + self.customize_middleware().await + } ///

The Amazon Resource Name (ARN) of the resource that a tag list is requested for.

///

It must be the ARN of an App Runner resource.

pub fn resource_arn(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { diff --git a/sdk/apprunner/src/operation/list_vpc_connectors/builders.rs b/sdk/apprunner/src/operation/list_vpc_connectors/builders.rs index c74d30683ade..7ee9cafdf0c0 100644 --- a/sdk/apprunner/src/operation/list_vpc_connectors/builders.rs +++ b/sdk/apprunner/src/operation/list_vpc_connectors/builders.rs @@ -19,9 +19,9 @@ impl ListVpcConnectorsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl ListVpcConnectorsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_vpc_connectors::ListVpcConnectors, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::list_vpc_connectors::ListVpcConnectorsError, + >, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::list_vpc_connectors::paginator::ListVpcConnectorsPaginator::send) which returns a `Stream`. diff --git a/sdk/apprunner/src/operation/list_vpc_ingress_connections/builders.rs b/sdk/apprunner/src/operation/list_vpc_ingress_connections/builders.rs index 70befdad271e..5790ad811769 100644 --- a/sdk/apprunner/src/operation/list_vpc_ingress_connections/builders.rs +++ b/sdk/apprunner/src/operation/list_vpc_ingress_connections/builders.rs @@ -19,9 +19,9 @@ impl ListVpcIngressConnectionsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl ListVpcIngressConnectionsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_vpc_ingress_connections::ListVpcIngressConnections, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::list_vpc_ingress_connections::ListVpcIngressConnectionsError, + >, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::list_vpc_ingress_connections::paginator::ListVpcIngressConnectionsPaginator::send) which returns a `Stream`. diff --git a/sdk/apprunner/src/operation/pause_service/builders.rs b/sdk/apprunner/src/operation/pause_service/builders.rs index cbd1931e5c95..0d0007481c2f 100644 --- a/sdk/apprunner/src/operation/pause_service/builders.rs +++ b/sdk/apprunner/src/operation/pause_service/builders.rs @@ -20,9 +20,9 @@ impl PauseServiceFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -78,6 +78,20 @@ impl PauseServiceFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::pause_service::PauseService, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

The Amazon Resource Name (ARN) of the App Runner service that you want to pause.

pub fn service_arn(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.service_arn(input.into()); diff --git a/sdk/apprunner/src/operation/resume_service/builders.rs b/sdk/apprunner/src/operation/resume_service/builders.rs index dc223a71872e..6ed39c90eaaf 100644 --- a/sdk/apprunner/src/operation/resume_service/builders.rs +++ b/sdk/apprunner/src/operation/resume_service/builders.rs @@ -20,9 +20,9 @@ impl ResumeServiceFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -78,6 +78,20 @@ impl ResumeServiceFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::resume_service::ResumeService, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

The Amazon Resource Name (ARN) of the App Runner service that you want to resume.

pub fn service_arn(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.service_arn(input.into()); diff --git a/sdk/apprunner/src/operation/start_deployment/builders.rs b/sdk/apprunner/src/operation/start_deployment/builders.rs index cff2747c7dac..d6cbf0bbb714 100644 --- a/sdk/apprunner/src/operation/start_deployment/builders.rs +++ b/sdk/apprunner/src/operation/start_deployment/builders.rs @@ -21,9 +21,9 @@ impl StartDeploymentFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -85,6 +85,22 @@ impl StartDeploymentFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::start_deployment::StartDeployment, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::start_deployment::StartDeploymentError, + >, + > { + self.customize_middleware().await + } ///

The Amazon Resource Name (ARN) of the App Runner service that you want to manually deploy to.

pub fn service_arn(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.service_arn(input.into()); diff --git a/sdk/apprunner/src/operation/tag_resource/builders.rs b/sdk/apprunner/src/operation/tag_resource/builders.rs index 45e103c699db..4ebc55113f7a 100644 --- a/sdk/apprunner/src/operation/tag_resource/builders.rs +++ b/sdk/apprunner/src/operation/tag_resource/builders.rs @@ -19,9 +19,9 @@ impl TagResourceFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl TagResourceFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::tag_resource::TagResource, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

The Amazon Resource Name (ARN) of the resource that you want to update tags for.

///

It must be the ARN of an App Runner resource.

pub fn resource_arn(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { diff --git a/sdk/apprunner/src/operation/untag_resource/builders.rs b/sdk/apprunner/src/operation/untag_resource/builders.rs index 8281df7a64e6..f1e790daf699 100644 --- a/sdk/apprunner/src/operation/untag_resource/builders.rs +++ b/sdk/apprunner/src/operation/untag_resource/builders.rs @@ -19,9 +19,9 @@ impl UntagResourceFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl UntagResourceFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::untag_resource::UntagResource, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

The Amazon Resource Name (ARN) of the resource that you want to remove tags from.

///

It must be the ARN of an App Runner resource.

pub fn resource_arn(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { diff --git a/sdk/apprunner/src/operation/update_service/builders.rs b/sdk/apprunner/src/operation/update_service/builders.rs index 345f9a89844e..97689a017f37 100644 --- a/sdk/apprunner/src/operation/update_service/builders.rs +++ b/sdk/apprunner/src/operation/update_service/builders.rs @@ -21,9 +21,9 @@ impl UpdateServiceFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -79,6 +79,20 @@ impl UpdateServiceFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::update_service::UpdateService, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

The Amazon Resource Name (ARN) of the App Runner service that you want to update.

pub fn service_arn(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.service_arn(input.into()); diff --git a/sdk/apprunner/src/operation/update_vpc_ingress_connection/builders.rs b/sdk/apprunner/src/operation/update_vpc_ingress_connection/builders.rs index 1f7208de5e5a..cc693bbdf2c4 100644 --- a/sdk/apprunner/src/operation/update_vpc_ingress_connection/builders.rs +++ b/sdk/apprunner/src/operation/update_vpc_ingress_connection/builders.rs @@ -24,9 +24,9 @@ impl UpdateVpcIngressConnectionFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -88,6 +88,22 @@ impl UpdateVpcIngressConnectionFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::update_vpc_ingress_connection::UpdateVpcIngressConnection, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::update_vpc_ingress_connection::UpdateVpcIngressConnectionError, + >, + > { + self.customize_middleware().await + } ///

The Amazon Resource Name (Arn) for the App Runner VPC Ingress Connection resource that you want to update.

pub fn vpc_ingress_connection_arn( mut self, diff --git a/sdk/appstream/src/operation/associate_application_fleet/builders.rs b/sdk/appstream/src/operation/associate_application_fleet/builders.rs index 5ebe5b3271e2..2b246ae17c9d 100644 --- a/sdk/appstream/src/operation/associate_application_fleet/builders.rs +++ b/sdk/appstream/src/operation/associate_application_fleet/builders.rs @@ -19,9 +19,9 @@ impl AssociateApplicationFleetFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl AssociateApplicationFleetFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::associate_application_fleet::AssociateApplicationFleet, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::associate_application_fleet::AssociateApplicationFleetError, + >, + > { + self.customize_middleware().await + } ///

The name of the fleet.

pub fn fleet_name(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.fleet_name(input.into()); diff --git a/sdk/appstream/src/operation/associate_application_to_entitlement/builders.rs b/sdk/appstream/src/operation/associate_application_to_entitlement/builders.rs index 2198d50a069a..2d269dfc2807 100644 --- a/sdk/appstream/src/operation/associate_application_to_entitlement/builders.rs +++ b/sdk/appstream/src/operation/associate_application_to_entitlement/builders.rs @@ -19,9 +19,9 @@ impl AssociateApplicationToEntitlementFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize(self) -> ::std::result::Result< + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware(self) -> ::std::result::Result< crate::client::customize::CustomizableOperation, ::aws_smithy_http::result::SdkError >{ @@ -64,6 +64,15 @@ impl AssociateApplicationToEntitlementFluentBuilder { { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize(self) -> ::std::result::Result< + crate::client::customize::CustomizableOperation, + ::aws_smithy_http::result::SdkError + >{ + self.customize_middleware().await + } ///

The name of the stack.

pub fn stack_name(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.stack_name(input.into()); diff --git a/sdk/appstream/src/operation/associate_fleet/builders.rs b/sdk/appstream/src/operation/associate_fleet/builders.rs index 074264fa967a..b90d2468cf9c 100644 --- a/sdk/appstream/src/operation/associate_fleet/builders.rs +++ b/sdk/appstream/src/operation/associate_fleet/builders.rs @@ -19,9 +19,9 @@ impl AssociateFleetFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl AssociateFleetFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::associate_fleet::AssociateFleet, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

The name of the fleet.

pub fn fleet_name(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.fleet_name(input.into()); diff --git a/sdk/appstream/src/operation/batch_associate_user_stack/builders.rs b/sdk/appstream/src/operation/batch_associate_user_stack/builders.rs index 46f13226c657..02a5c75a137f 100644 --- a/sdk/appstream/src/operation/batch_associate_user_stack/builders.rs +++ b/sdk/appstream/src/operation/batch_associate_user_stack/builders.rs @@ -20,9 +20,9 @@ impl BatchAssociateUserStackFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -84,6 +84,22 @@ impl BatchAssociateUserStackFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::batch_associate_user_stack::BatchAssociateUserStack, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::batch_associate_user_stack::BatchAssociateUserStackError, + >, + > { + self.customize_middleware().await + } /// Appends an item to `UserStackAssociations`. /// /// To override the contents of this collection use [`set_user_stack_associations`](Self::set_user_stack_associations). diff --git a/sdk/appstream/src/operation/batch_disassociate_user_stack/builders.rs b/sdk/appstream/src/operation/batch_disassociate_user_stack/builders.rs index 1f933120e22f..e284bc5b8f5a 100644 --- a/sdk/appstream/src/operation/batch_disassociate_user_stack/builders.rs +++ b/sdk/appstream/src/operation/batch_disassociate_user_stack/builders.rs @@ -19,9 +19,9 @@ impl BatchDisassociateUserStackFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl BatchDisassociateUserStackFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::batch_disassociate_user_stack::BatchDisassociateUserStack, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::batch_disassociate_user_stack::BatchDisassociateUserStackError, + >, + > { + self.customize_middleware().await + } /// Appends an item to `UserStackAssociations`. /// /// To override the contents of this collection use [`set_user_stack_associations`](Self::set_user_stack_associations). diff --git a/sdk/appstream/src/operation/copy_image/builders.rs b/sdk/appstream/src/operation/copy_image/builders.rs index 271aae5f81b1..0468545fea2d 100644 --- a/sdk/appstream/src/operation/copy_image/builders.rs +++ b/sdk/appstream/src/operation/copy_image/builders.rs @@ -19,9 +19,9 @@ impl CopyImageFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl CopyImageFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::copy_image::CopyImage, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

The name of the image to copy.

pub fn source_image_name( mut self, diff --git a/sdk/appstream/src/operation/create_app_block/builders.rs b/sdk/appstream/src/operation/create_app_block/builders.rs index 1d3ea24747ec..5bd60a0e9d04 100644 --- a/sdk/appstream/src/operation/create_app_block/builders.rs +++ b/sdk/appstream/src/operation/create_app_block/builders.rs @@ -21,9 +21,9 @@ impl CreateAppBlockFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -85,6 +85,22 @@ impl CreateAppBlockFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::create_app_block::CreateAppBlock, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::create_app_block::CreateAppBlockError, + >, + > { + self.customize_middleware().await + } ///

The name of the app block.

pub fn name(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.name(input.into()); diff --git a/sdk/appstream/src/operation/create_application/builders.rs b/sdk/appstream/src/operation/create_application/builders.rs index 4e332c81bc83..83c8d6cd62d1 100644 --- a/sdk/appstream/src/operation/create_application/builders.rs +++ b/sdk/appstream/src/operation/create_application/builders.rs @@ -21,9 +21,9 @@ impl CreateApplicationFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -85,6 +85,22 @@ impl CreateApplicationFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::create_application::CreateApplication, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::create_application::CreateApplicationError, + >, + > { + self.customize_middleware().await + } ///

The name of the application. This name is visible to users when display name is not specified.

pub fn name(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.name(input.into()); diff --git a/sdk/appstream/src/operation/create_directory_config/builders.rs b/sdk/appstream/src/operation/create_directory_config/builders.rs index 8b6aed2f9434..ae7b70ff4f1a 100644 --- a/sdk/appstream/src/operation/create_directory_config/builders.rs +++ b/sdk/appstream/src/operation/create_directory_config/builders.rs @@ -19,9 +19,9 @@ impl CreateDirectoryConfigFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl CreateDirectoryConfigFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::create_directory_config::CreateDirectoryConfig, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::create_directory_config::CreateDirectoryConfigError, + >, + > { + self.customize_middleware().await + } ///

The fully qualified name of the directory (for example, corp.example.com).

pub fn directory_name( mut self, diff --git a/sdk/appstream/src/operation/create_entitlement/builders.rs b/sdk/appstream/src/operation/create_entitlement/builders.rs index 8435efef6231..aa9e3bafe54a 100644 --- a/sdk/appstream/src/operation/create_entitlement/builders.rs +++ b/sdk/appstream/src/operation/create_entitlement/builders.rs @@ -19,9 +19,9 @@ impl CreateEntitlementFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl CreateEntitlementFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::create_entitlement::CreateEntitlement, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::create_entitlement::CreateEntitlementError, + >, + > { + self.customize_middleware().await + } ///

The name of the entitlement.

pub fn name(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.name(input.into()); diff --git a/sdk/appstream/src/operation/create_fleet/builders.rs b/sdk/appstream/src/operation/create_fleet/builders.rs index 725b32707d69..62861fddf79d 100644 --- a/sdk/appstream/src/operation/create_fleet/builders.rs +++ b/sdk/appstream/src/operation/create_fleet/builders.rs @@ -19,9 +19,9 @@ impl CreateFleetFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl CreateFleetFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::create_fleet::CreateFleet, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

A unique name for the fleet.

pub fn name(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.name(input.into()); diff --git a/sdk/appstream/src/operation/create_image_builder/builders.rs b/sdk/appstream/src/operation/create_image_builder/builders.rs index aed1c888a942..47bc432640fb 100644 --- a/sdk/appstream/src/operation/create_image_builder/builders.rs +++ b/sdk/appstream/src/operation/create_image_builder/builders.rs @@ -20,9 +20,9 @@ impl CreateImageBuilderFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -84,6 +84,22 @@ impl CreateImageBuilderFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::create_image_builder::CreateImageBuilder, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::create_image_builder::CreateImageBuilderError, + >, + > { + self.customize_middleware().await + } ///

A unique name for the image builder.

pub fn name(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.name(input.into()); diff --git a/sdk/appstream/src/operation/create_image_builder_streaming_url/builders.rs b/sdk/appstream/src/operation/create_image_builder_streaming_url/builders.rs index 6f42d2c41126..cb215a0a4672 100644 --- a/sdk/appstream/src/operation/create_image_builder_streaming_url/builders.rs +++ b/sdk/appstream/src/operation/create_image_builder_streaming_url/builders.rs @@ -19,9 +19,9 @@ impl CreateImageBuilderStreamingURLFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize(self) -> ::std::result::Result< + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware(self) -> ::std::result::Result< crate::client::customize::CustomizableOperation, ::aws_smithy_http::result::SdkError >{ @@ -64,6 +64,15 @@ impl CreateImageBuilderStreamingURLFluentBuilder { { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize(self) -> ::std::result::Result< + crate::client::customize::CustomizableOperation, + ::aws_smithy_http::result::SdkError + >{ + self.customize_middleware().await + } ///

The name of the image builder.

pub fn name(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.name(input.into()); diff --git a/sdk/appstream/src/operation/create_stack/builders.rs b/sdk/appstream/src/operation/create_stack/builders.rs index ed356adb93e4..27b30d47fb09 100644 --- a/sdk/appstream/src/operation/create_stack/builders.rs +++ b/sdk/appstream/src/operation/create_stack/builders.rs @@ -19,9 +19,9 @@ impl CreateStackFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl CreateStackFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::create_stack::CreateStack, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

The name of the stack.

pub fn name(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.name(input.into()); diff --git a/sdk/appstream/src/operation/create_streaming_url/builders.rs b/sdk/appstream/src/operation/create_streaming_url/builders.rs index 4dd3dd6dda7f..0ea4b40d216c 100644 --- a/sdk/appstream/src/operation/create_streaming_url/builders.rs +++ b/sdk/appstream/src/operation/create_streaming_url/builders.rs @@ -19,9 +19,9 @@ impl CreateStreamingURLFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl CreateStreamingURLFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::create_streaming_url::CreateStreamingURL, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::create_streaming_url::CreateStreamingURLError, + >, + > { + self.customize_middleware().await + } ///

The name of the stack.

pub fn stack_name(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.stack_name(input.into()); diff --git a/sdk/appstream/src/operation/create_updated_image/builders.rs b/sdk/appstream/src/operation/create_updated_image/builders.rs index 1bf78b4be64e..ca8ddb687786 100644 --- a/sdk/appstream/src/operation/create_updated_image/builders.rs +++ b/sdk/appstream/src/operation/create_updated_image/builders.rs @@ -20,9 +20,9 @@ impl CreateUpdatedImageFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -84,6 +84,22 @@ impl CreateUpdatedImageFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::create_updated_image::CreateUpdatedImage, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::create_updated_image::CreateUpdatedImageError, + >, + > { + self.customize_middleware().await + } ///

The name of the image to update.

pub fn existing_image_name( mut self, diff --git a/sdk/appstream/src/operation/create_usage_report_subscription/builders.rs b/sdk/appstream/src/operation/create_usage_report_subscription/builders.rs index d2c16dd8e60a..81c7f807793c 100644 --- a/sdk/appstream/src/operation/create_usage_report_subscription/builders.rs +++ b/sdk/appstream/src/operation/create_usage_report_subscription/builders.rs @@ -19,9 +19,9 @@ impl CreateUsageReportSubscriptionFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,4 +83,20 @@ impl CreateUsageReportSubscriptionFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::create_usage_report_subscription::CreateUsageReportSubscription, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::create_usage_report_subscription::CreateUsageReportSubscriptionError, + >, + > { + self.customize_middleware().await + } } diff --git a/sdk/appstream/src/operation/create_user/builders.rs b/sdk/appstream/src/operation/create_user/builders.rs index e6cd1a56a936..c158dd1c72dd 100644 --- a/sdk/appstream/src/operation/create_user/builders.rs +++ b/sdk/appstream/src/operation/create_user/builders.rs @@ -19,9 +19,9 @@ impl CreateUserFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl CreateUserFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::create_user::CreateUser, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

The email address of the user.

///

Users' email addresses are case-sensitive. During login, if they specify an email address that doesn't use the same capitalization as the email address specified when their user pool account was created, a "user does not exist" error message displays.

///
diff --git a/sdk/appstream/src/operation/delete_app_block/builders.rs b/sdk/appstream/src/operation/delete_app_block/builders.rs index 82f3c7351c16..71f79d8583c0 100644 --- a/sdk/appstream/src/operation/delete_app_block/builders.rs +++ b/sdk/appstream/src/operation/delete_app_block/builders.rs @@ -19,9 +19,9 @@ impl DeleteAppBlockFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl DeleteAppBlockFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::delete_app_block::DeleteAppBlock, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::delete_app_block::DeleteAppBlockError, + >, + > { + self.customize_middleware().await + } ///

The name of the app block.

pub fn name(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.name(input.into()); diff --git a/sdk/appstream/src/operation/delete_application/builders.rs b/sdk/appstream/src/operation/delete_application/builders.rs index 61082449d8f8..f767c5f21cfb 100644 --- a/sdk/appstream/src/operation/delete_application/builders.rs +++ b/sdk/appstream/src/operation/delete_application/builders.rs @@ -19,9 +19,9 @@ impl DeleteApplicationFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl DeleteApplicationFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::delete_application::DeleteApplication, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::delete_application::DeleteApplicationError, + >, + > { + self.customize_middleware().await + } ///

The name of the application.

pub fn name(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.name(input.into()); diff --git a/sdk/appstream/src/operation/delete_directory_config/builders.rs b/sdk/appstream/src/operation/delete_directory_config/builders.rs index 6e06e8e7bf25..d10e54cf9e0e 100644 --- a/sdk/appstream/src/operation/delete_directory_config/builders.rs +++ b/sdk/appstream/src/operation/delete_directory_config/builders.rs @@ -19,9 +19,9 @@ impl DeleteDirectoryConfigFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl DeleteDirectoryConfigFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::delete_directory_config::DeleteDirectoryConfig, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::delete_directory_config::DeleteDirectoryConfigError, + >, + > { + self.customize_middleware().await + } ///

The name of the directory configuration.

pub fn directory_name( mut self, diff --git a/sdk/appstream/src/operation/delete_entitlement/builders.rs b/sdk/appstream/src/operation/delete_entitlement/builders.rs index c676068404b6..9cf34bca4b0f 100644 --- a/sdk/appstream/src/operation/delete_entitlement/builders.rs +++ b/sdk/appstream/src/operation/delete_entitlement/builders.rs @@ -19,9 +19,9 @@ impl DeleteEntitlementFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl DeleteEntitlementFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::delete_entitlement::DeleteEntitlement, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::delete_entitlement::DeleteEntitlementError, + >, + > { + self.customize_middleware().await + } ///

The name of the entitlement.

pub fn name(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.name(input.into()); diff --git a/sdk/appstream/src/operation/delete_fleet/builders.rs b/sdk/appstream/src/operation/delete_fleet/builders.rs index 7767699f817b..9c14c29d0da9 100644 --- a/sdk/appstream/src/operation/delete_fleet/builders.rs +++ b/sdk/appstream/src/operation/delete_fleet/builders.rs @@ -19,9 +19,9 @@ impl DeleteFleetFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl DeleteFleetFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::delete_fleet::DeleteFleet, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

The name of the fleet.

pub fn name(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.name(input.into()); diff --git a/sdk/appstream/src/operation/delete_image/builders.rs b/sdk/appstream/src/operation/delete_image/builders.rs index 5382937dd367..eeafd99adf7e 100644 --- a/sdk/appstream/src/operation/delete_image/builders.rs +++ b/sdk/appstream/src/operation/delete_image/builders.rs @@ -19,9 +19,9 @@ impl DeleteImageFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl DeleteImageFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::delete_image::DeleteImage, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

The name of the image.

pub fn name(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.name(input.into()); diff --git a/sdk/appstream/src/operation/delete_image_builder/builders.rs b/sdk/appstream/src/operation/delete_image_builder/builders.rs index 0a16f20b736c..dff5613f35c6 100644 --- a/sdk/appstream/src/operation/delete_image_builder/builders.rs +++ b/sdk/appstream/src/operation/delete_image_builder/builders.rs @@ -19,9 +19,9 @@ impl DeleteImageBuilderFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl DeleteImageBuilderFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::delete_image_builder::DeleteImageBuilder, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::delete_image_builder::DeleteImageBuilderError, + >, + > { + self.customize_middleware().await + } ///

The name of the image builder.

pub fn name(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.name(input.into()); diff --git a/sdk/appstream/src/operation/delete_image_permissions/builders.rs b/sdk/appstream/src/operation/delete_image_permissions/builders.rs index 667d6e9bc9b6..8e070f079222 100644 --- a/sdk/appstream/src/operation/delete_image_permissions/builders.rs +++ b/sdk/appstream/src/operation/delete_image_permissions/builders.rs @@ -19,9 +19,9 @@ impl DeleteImagePermissionsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl DeleteImagePermissionsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::delete_image_permissions::DeleteImagePermissions, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::delete_image_permissions::DeleteImagePermissionsError, + >, + > { + self.customize_middleware().await + } ///

The name of the private image.

pub fn name(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.name(input.into()); diff --git a/sdk/appstream/src/operation/delete_stack/builders.rs b/sdk/appstream/src/operation/delete_stack/builders.rs index 567b6866162b..6d1db201060f 100644 --- a/sdk/appstream/src/operation/delete_stack/builders.rs +++ b/sdk/appstream/src/operation/delete_stack/builders.rs @@ -19,9 +19,9 @@ impl DeleteStackFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl DeleteStackFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::delete_stack::DeleteStack, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

The name of the stack.

pub fn name(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.name(input.into()); diff --git a/sdk/appstream/src/operation/delete_usage_report_subscription/builders.rs b/sdk/appstream/src/operation/delete_usage_report_subscription/builders.rs index bd808c6ca1e9..eea6e0e36ab7 100644 --- a/sdk/appstream/src/operation/delete_usage_report_subscription/builders.rs +++ b/sdk/appstream/src/operation/delete_usage_report_subscription/builders.rs @@ -19,9 +19,9 @@ impl DeleteUsageReportSubscriptionFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,4 +83,20 @@ impl DeleteUsageReportSubscriptionFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::delete_usage_report_subscription::DeleteUsageReportSubscription, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::delete_usage_report_subscription::DeleteUsageReportSubscriptionError, + >, + > { + self.customize_middleware().await + } } diff --git a/sdk/appstream/src/operation/delete_user/builders.rs b/sdk/appstream/src/operation/delete_user/builders.rs index 6210362536a6..0e13a1a9cc4d 100644 --- a/sdk/appstream/src/operation/delete_user/builders.rs +++ b/sdk/appstream/src/operation/delete_user/builders.rs @@ -19,9 +19,9 @@ impl DeleteUserFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl DeleteUserFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::delete_user::DeleteUser, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

The email address of the user.

///

Users' email addresses are case-sensitive.

///
diff --git a/sdk/appstream/src/operation/describe_app_blocks/builders.rs b/sdk/appstream/src/operation/describe_app_blocks/builders.rs index 3034e3ea4e7d..09feb84d8e7a 100644 --- a/sdk/appstream/src/operation/describe_app_blocks/builders.rs +++ b/sdk/appstream/src/operation/describe_app_blocks/builders.rs @@ -19,9 +19,9 @@ impl DescribeAppBlocksFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl DescribeAppBlocksFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::describe_app_blocks::DescribeAppBlocks, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::describe_app_blocks::DescribeAppBlocksError, + >, + > { + self.customize_middleware().await + } /// Appends an item to `Arns`. /// /// To override the contents of this collection use [`set_arns`](Self::set_arns). diff --git a/sdk/appstream/src/operation/describe_application_fleet_associations/builders.rs b/sdk/appstream/src/operation/describe_application_fleet_associations/builders.rs index 806e1c8cefb2..6eb60b226cdd 100644 --- a/sdk/appstream/src/operation/describe_application_fleet_associations/builders.rs +++ b/sdk/appstream/src/operation/describe_application_fleet_associations/builders.rs @@ -19,9 +19,9 @@ impl DescribeApplicationFleetAssociationsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize(self) -> ::std::result::Result< + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware(self) -> ::std::result::Result< crate::client::customize::CustomizableOperation, ::aws_smithy_http::result::SdkError >{ @@ -64,6 +64,15 @@ impl DescribeApplicationFleetAssociationsFluentBuilder { { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize(self) -> ::std::result::Result< + crate::client::customize::CustomizableOperation, + ::aws_smithy_http::result::SdkError + >{ + self.customize_middleware().await + } ///

The name of the fleet.

pub fn fleet_name(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.fleet_name(input.into()); diff --git a/sdk/appstream/src/operation/describe_applications/builders.rs b/sdk/appstream/src/operation/describe_applications/builders.rs index 38e5c52d5c40..07fa034ca01b 100644 --- a/sdk/appstream/src/operation/describe_applications/builders.rs +++ b/sdk/appstream/src/operation/describe_applications/builders.rs @@ -19,9 +19,9 @@ impl DescribeApplicationsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl DescribeApplicationsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::describe_applications::DescribeApplications, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::describe_applications::DescribeApplicationsError, + >, + > { + self.customize_middleware().await + } /// Appends an item to `Arns`. /// /// To override the contents of this collection use [`set_arns`](Self::set_arns). diff --git a/sdk/appstream/src/operation/describe_directory_configs/builders.rs b/sdk/appstream/src/operation/describe_directory_configs/builders.rs index 2bfd3b4d8f22..d5340dd32163 100644 --- a/sdk/appstream/src/operation/describe_directory_configs/builders.rs +++ b/sdk/appstream/src/operation/describe_directory_configs/builders.rs @@ -20,9 +20,9 @@ impl DescribeDirectoryConfigsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -84,6 +84,22 @@ impl DescribeDirectoryConfigsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::describe_directory_configs::DescribeDirectoryConfigs, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::describe_directory_configs::DescribeDirectoryConfigsError, + >, + > { + self.customize_middleware().await + } /// Appends an item to `DirectoryNames`. /// /// To override the contents of this collection use [`set_directory_names`](Self::set_directory_names). diff --git a/sdk/appstream/src/operation/describe_entitlements/builders.rs b/sdk/appstream/src/operation/describe_entitlements/builders.rs index f0e7bd00cdbc..ed24f93970bf 100644 --- a/sdk/appstream/src/operation/describe_entitlements/builders.rs +++ b/sdk/appstream/src/operation/describe_entitlements/builders.rs @@ -19,9 +19,9 @@ impl DescribeEntitlementsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl DescribeEntitlementsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::describe_entitlements::DescribeEntitlements, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::describe_entitlements::DescribeEntitlementsError, + >, + > { + self.customize_middleware().await + } ///

The name of the entitlement.

pub fn name(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.name(input.into()); diff --git a/sdk/appstream/src/operation/describe_fleets/builders.rs b/sdk/appstream/src/operation/describe_fleets/builders.rs index 14729d54208a..c408285a72b1 100644 --- a/sdk/appstream/src/operation/describe_fleets/builders.rs +++ b/sdk/appstream/src/operation/describe_fleets/builders.rs @@ -19,9 +19,9 @@ impl DescribeFleetsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl DescribeFleetsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::describe_fleets::DescribeFleets, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } /// Appends an item to `Names`. /// /// To override the contents of this collection use [`set_names`](Self::set_names). diff --git a/sdk/appstream/src/operation/describe_image_builders/builders.rs b/sdk/appstream/src/operation/describe_image_builders/builders.rs index 22fbaa4079e9..7cfba08b2575 100644 --- a/sdk/appstream/src/operation/describe_image_builders/builders.rs +++ b/sdk/appstream/src/operation/describe_image_builders/builders.rs @@ -19,9 +19,9 @@ impl DescribeImageBuildersFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl DescribeImageBuildersFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::describe_image_builders::DescribeImageBuilders, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::describe_image_builders::DescribeImageBuildersError, + >, + > { + self.customize_middleware().await + } /// Appends an item to `Names`. /// /// To override the contents of this collection use [`set_names`](Self::set_names). diff --git a/sdk/appstream/src/operation/describe_image_permissions/builders.rs b/sdk/appstream/src/operation/describe_image_permissions/builders.rs index eac635f14e57..1d6214424f50 100644 --- a/sdk/appstream/src/operation/describe_image_permissions/builders.rs +++ b/sdk/appstream/src/operation/describe_image_permissions/builders.rs @@ -19,9 +19,9 @@ impl DescribeImagePermissionsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl DescribeImagePermissionsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::describe_image_permissions::DescribeImagePermissions, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::describe_image_permissions::DescribeImagePermissionsError, + >, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::describe_image_permissions::paginator::DescribeImagePermissionsPaginator::send) which returns a `Stream`. diff --git a/sdk/appstream/src/operation/describe_images/builders.rs b/sdk/appstream/src/operation/describe_images/builders.rs index c87e40888ec9..2f82cdf55148 100644 --- a/sdk/appstream/src/operation/describe_images/builders.rs +++ b/sdk/appstream/src/operation/describe_images/builders.rs @@ -19,9 +19,9 @@ impl DescribeImagesFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl DescribeImagesFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::describe_images::DescribeImages, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::describe_images::paginator::DescribeImagesPaginator::send) which returns a `Stream`. diff --git a/sdk/appstream/src/operation/describe_sessions/builders.rs b/sdk/appstream/src/operation/describe_sessions/builders.rs index 9a81eadbe989..3792abab315d 100644 --- a/sdk/appstream/src/operation/describe_sessions/builders.rs +++ b/sdk/appstream/src/operation/describe_sessions/builders.rs @@ -19,9 +19,9 @@ impl DescribeSessionsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl DescribeSessionsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::describe_sessions::DescribeSessions, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::describe_sessions::DescribeSessionsError, + >, + > { + self.customize_middleware().await + } ///

The name of the stack. This value is case-sensitive.

pub fn stack_name(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.stack_name(input.into()); diff --git a/sdk/appstream/src/operation/describe_stacks/builders.rs b/sdk/appstream/src/operation/describe_stacks/builders.rs index 88d07b697119..c247f49cb4fa 100644 --- a/sdk/appstream/src/operation/describe_stacks/builders.rs +++ b/sdk/appstream/src/operation/describe_stacks/builders.rs @@ -19,9 +19,9 @@ impl DescribeStacksFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl DescribeStacksFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::describe_stacks::DescribeStacks, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } /// Appends an item to `Names`. /// /// To override the contents of this collection use [`set_names`](Self::set_names). diff --git a/sdk/appstream/src/operation/describe_usage_report_subscriptions/builders.rs b/sdk/appstream/src/operation/describe_usage_report_subscriptions/builders.rs index 078c3a3eb813..de8edfe69cce 100644 --- a/sdk/appstream/src/operation/describe_usage_report_subscriptions/builders.rs +++ b/sdk/appstream/src/operation/describe_usage_report_subscriptions/builders.rs @@ -19,9 +19,9 @@ impl DescribeUsageReportSubscriptionsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize(self) -> ::std::result::Result< + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware(self) -> ::std::result::Result< crate::client::customize::CustomizableOperation, ::aws_smithy_http::result::SdkError >{ @@ -64,6 +64,15 @@ impl DescribeUsageReportSubscriptionsFluentBuilder { { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize(self) -> ::std::result::Result< + crate::client::customize::CustomizableOperation, + ::aws_smithy_http::result::SdkError + >{ + self.customize_middleware().await + } ///

The maximum size of each page of results.

pub fn max_results(mut self, input: i32) -> Self { self.inner = self.inner.max_results(input); diff --git a/sdk/appstream/src/operation/describe_user_stack_associations/builders.rs b/sdk/appstream/src/operation/describe_user_stack_associations/builders.rs index eb2afb782684..1823fca80447 100644 --- a/sdk/appstream/src/operation/describe_user_stack_associations/builders.rs +++ b/sdk/appstream/src/operation/describe_user_stack_associations/builders.rs @@ -23,9 +23,9 @@ impl DescribeUserStackAssociationsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -87,6 +87,22 @@ impl DescribeUserStackAssociationsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::describe_user_stack_associations::DescribeUserStackAssociations, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::describe_user_stack_associations::DescribeUserStackAssociationsError, + >, + > { + self.customize_middleware().await + } ///

The name of the stack that is associated with the user.

pub fn stack_name(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.stack_name(input.into()); diff --git a/sdk/appstream/src/operation/describe_users/builders.rs b/sdk/appstream/src/operation/describe_users/builders.rs index cbb37527f016..f00f0c2e8c51 100644 --- a/sdk/appstream/src/operation/describe_users/builders.rs +++ b/sdk/appstream/src/operation/describe_users/builders.rs @@ -19,9 +19,9 @@ impl DescribeUsersFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl DescribeUsersFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::describe_users::DescribeUsers, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

The authentication type for the users in the user pool to describe. You must specify USERPOOL.

pub fn authentication_type(mut self, input: crate::types::AuthenticationType) -> Self { self.inner = self.inner.authentication_type(input); diff --git a/sdk/appstream/src/operation/disable_user/builders.rs b/sdk/appstream/src/operation/disable_user/builders.rs index f0edbfe6aef6..654abcc446d2 100644 --- a/sdk/appstream/src/operation/disable_user/builders.rs +++ b/sdk/appstream/src/operation/disable_user/builders.rs @@ -19,9 +19,9 @@ impl DisableUserFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl DisableUserFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::disable_user::DisableUser, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

The email address of the user.

///

Users' email addresses are case-sensitive.

///
diff --git a/sdk/appstream/src/operation/disassociate_application_fleet/builders.rs b/sdk/appstream/src/operation/disassociate_application_fleet/builders.rs index 38ccb7f00d31..b33152de09d8 100644 --- a/sdk/appstream/src/operation/disassociate_application_fleet/builders.rs +++ b/sdk/appstream/src/operation/disassociate_application_fleet/builders.rs @@ -19,9 +19,9 @@ impl DisassociateApplicationFleetFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl DisassociateApplicationFleetFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::disassociate_application_fleet::DisassociateApplicationFleet, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::disassociate_application_fleet::DisassociateApplicationFleetError, + >, + > { + self.customize_middleware().await + } ///

The name of the fleet.

pub fn fleet_name(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.fleet_name(input.into()); diff --git a/sdk/appstream/src/operation/disassociate_application_from_entitlement/builders.rs b/sdk/appstream/src/operation/disassociate_application_from_entitlement/builders.rs index 11933325f7da..e37b855393e8 100644 --- a/sdk/appstream/src/operation/disassociate_application_from_entitlement/builders.rs +++ b/sdk/appstream/src/operation/disassociate_application_from_entitlement/builders.rs @@ -19,9 +19,9 @@ impl DisassociateApplicationFromEntitlementFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize(self) -> ::std::result::Result< + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware(self) -> ::std::result::Result< crate::client::customize::CustomizableOperation, ::aws_smithy_http::result::SdkError >{ @@ -64,6 +64,15 @@ impl DisassociateApplicationFromEntitlementFluentBuilder { { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize(self) -> ::std::result::Result< + crate::client::customize::CustomizableOperation, + ::aws_smithy_http::result::SdkError + >{ + self.customize_middleware().await + } ///

The name of the stack with which the entitlement is associated.

pub fn stack_name(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.stack_name(input.into()); diff --git a/sdk/appstream/src/operation/disassociate_fleet/builders.rs b/sdk/appstream/src/operation/disassociate_fleet/builders.rs index 0e594cb87644..0fcd93155e71 100644 --- a/sdk/appstream/src/operation/disassociate_fleet/builders.rs +++ b/sdk/appstream/src/operation/disassociate_fleet/builders.rs @@ -19,9 +19,9 @@ impl DisassociateFleetFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl DisassociateFleetFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::disassociate_fleet::DisassociateFleet, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::disassociate_fleet::DisassociateFleetError, + >, + > { + self.customize_middleware().await + } ///

The name of the fleet.

pub fn fleet_name(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.fleet_name(input.into()); diff --git a/sdk/appstream/src/operation/enable_user/builders.rs b/sdk/appstream/src/operation/enable_user/builders.rs index 5976d621915b..5fb9b313689e 100644 --- a/sdk/appstream/src/operation/enable_user/builders.rs +++ b/sdk/appstream/src/operation/enable_user/builders.rs @@ -19,9 +19,9 @@ impl EnableUserFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl EnableUserFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::enable_user::EnableUser, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

The email address of the user.

///

Users' email addresses are case-sensitive. During login, if they specify an email address that doesn't use the same capitalization as the email address specified when their user pool account was created, a "user does not exist" error message displays.

///
diff --git a/sdk/appstream/src/operation/expire_session/builders.rs b/sdk/appstream/src/operation/expire_session/builders.rs index 5f9ab5c2d6d0..3db8e155d81c 100644 --- a/sdk/appstream/src/operation/expire_session/builders.rs +++ b/sdk/appstream/src/operation/expire_session/builders.rs @@ -19,9 +19,9 @@ impl ExpireSessionFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl ExpireSessionFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::expire_session::ExpireSession, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

The identifier of the streaming session.

pub fn session_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.session_id(input.into()); diff --git a/sdk/appstream/src/operation/list_associated_fleets/builders.rs b/sdk/appstream/src/operation/list_associated_fleets/builders.rs index 6a5d81f648e8..9484557c5de1 100644 --- a/sdk/appstream/src/operation/list_associated_fleets/builders.rs +++ b/sdk/appstream/src/operation/list_associated_fleets/builders.rs @@ -19,9 +19,9 @@ impl ListAssociatedFleetsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl ListAssociatedFleetsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_associated_fleets::ListAssociatedFleets, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::list_associated_fleets::ListAssociatedFleetsError, + >, + > { + self.customize_middleware().await + } ///

The name of the stack.

pub fn stack_name(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.stack_name(input.into()); diff --git a/sdk/appstream/src/operation/list_associated_stacks/builders.rs b/sdk/appstream/src/operation/list_associated_stacks/builders.rs index 3820df429359..fe28d9a00344 100644 --- a/sdk/appstream/src/operation/list_associated_stacks/builders.rs +++ b/sdk/appstream/src/operation/list_associated_stacks/builders.rs @@ -19,9 +19,9 @@ impl ListAssociatedStacksFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl ListAssociatedStacksFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_associated_stacks::ListAssociatedStacks, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::list_associated_stacks::ListAssociatedStacksError, + >, + > { + self.customize_middleware().await + } ///

The name of the fleet.

pub fn fleet_name(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.fleet_name(input.into()); diff --git a/sdk/appstream/src/operation/list_entitled_applications/builders.rs b/sdk/appstream/src/operation/list_entitled_applications/builders.rs index 6bcf2f779098..098f38272769 100644 --- a/sdk/appstream/src/operation/list_entitled_applications/builders.rs +++ b/sdk/appstream/src/operation/list_entitled_applications/builders.rs @@ -19,9 +19,9 @@ impl ListEntitledApplicationsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl ListEntitledApplicationsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_entitled_applications::ListEntitledApplications, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::list_entitled_applications::ListEntitledApplicationsError, + >, + > { + self.customize_middleware().await + } ///

The name of the stack with which the entitlement is associated.

pub fn stack_name(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.stack_name(input.into()); diff --git a/sdk/appstream/src/operation/list_tags_for_resource/builders.rs b/sdk/appstream/src/operation/list_tags_for_resource/builders.rs index 25fe0ca4f7fa..27f78519c245 100644 --- a/sdk/appstream/src/operation/list_tags_for_resource/builders.rs +++ b/sdk/appstream/src/operation/list_tags_for_resource/builders.rs @@ -20,9 +20,9 @@ impl ListTagsForResourceFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -84,6 +84,22 @@ impl ListTagsForResourceFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_tags_for_resource::ListTagsForResource, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::list_tags_for_resource::ListTagsForResourceError, + >, + > { + self.customize_middleware().await + } ///

The Amazon Resource Name (ARN) of the resource.

pub fn resource_arn(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.resource_arn(input.into()); diff --git a/sdk/appstream/src/operation/start_fleet/builders.rs b/sdk/appstream/src/operation/start_fleet/builders.rs index 476ab46df081..69c8407ff32c 100644 --- a/sdk/appstream/src/operation/start_fleet/builders.rs +++ b/sdk/appstream/src/operation/start_fleet/builders.rs @@ -19,9 +19,9 @@ impl StartFleetFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl StartFleetFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::start_fleet::StartFleet, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

The name of the fleet.

pub fn name(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.name(input.into()); diff --git a/sdk/appstream/src/operation/start_image_builder/builders.rs b/sdk/appstream/src/operation/start_image_builder/builders.rs index da437d3fdedc..1ba8d8936b25 100644 --- a/sdk/appstream/src/operation/start_image_builder/builders.rs +++ b/sdk/appstream/src/operation/start_image_builder/builders.rs @@ -19,9 +19,9 @@ impl StartImageBuilderFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl StartImageBuilderFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::start_image_builder::StartImageBuilder, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::start_image_builder::StartImageBuilderError, + >, + > { + self.customize_middleware().await + } ///

The name of the image builder.

pub fn name(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.name(input.into()); diff --git a/sdk/appstream/src/operation/stop_fleet/builders.rs b/sdk/appstream/src/operation/stop_fleet/builders.rs index 9b210c73b6b2..9d788587d9ff 100644 --- a/sdk/appstream/src/operation/stop_fleet/builders.rs +++ b/sdk/appstream/src/operation/stop_fleet/builders.rs @@ -19,9 +19,9 @@ impl StopFleetFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl StopFleetFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::stop_fleet::StopFleet, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

The name of the fleet.

pub fn name(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.name(input.into()); diff --git a/sdk/appstream/src/operation/stop_image_builder/builders.rs b/sdk/appstream/src/operation/stop_image_builder/builders.rs index 75cbe0d41ed5..168f074bce6c 100644 --- a/sdk/appstream/src/operation/stop_image_builder/builders.rs +++ b/sdk/appstream/src/operation/stop_image_builder/builders.rs @@ -19,9 +19,9 @@ impl StopImageBuilderFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl StopImageBuilderFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::stop_image_builder::StopImageBuilder, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::stop_image_builder::StopImageBuilderError, + >, + > { + self.customize_middleware().await + } ///

The name of the image builder.

pub fn name(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.name(input.into()); diff --git a/sdk/appstream/src/operation/tag_resource/builders.rs b/sdk/appstream/src/operation/tag_resource/builders.rs index 69ce3da3dbd3..882adc7f097e 100644 --- a/sdk/appstream/src/operation/tag_resource/builders.rs +++ b/sdk/appstream/src/operation/tag_resource/builders.rs @@ -22,9 +22,9 @@ impl TagResourceFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -80,6 +80,20 @@ impl TagResourceFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::tag_resource::TagResource, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

The Amazon Resource Name (ARN) of the resource.

pub fn resource_arn(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.resource_arn(input.into()); diff --git a/sdk/appstream/src/operation/untag_resource/builders.rs b/sdk/appstream/src/operation/untag_resource/builders.rs index 411b81a9fb1a..004897d77cc4 100644 --- a/sdk/appstream/src/operation/untag_resource/builders.rs +++ b/sdk/appstream/src/operation/untag_resource/builders.rs @@ -21,9 +21,9 @@ impl UntagResourceFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -79,6 +79,20 @@ impl UntagResourceFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::untag_resource::UntagResource, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

The Amazon Resource Name (ARN) of the resource.

pub fn resource_arn(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.resource_arn(input.into()); diff --git a/sdk/appstream/src/operation/update_application/builders.rs b/sdk/appstream/src/operation/update_application/builders.rs index 71303099e98f..efdc103212da 100644 --- a/sdk/appstream/src/operation/update_application/builders.rs +++ b/sdk/appstream/src/operation/update_application/builders.rs @@ -19,9 +19,9 @@ impl UpdateApplicationFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl UpdateApplicationFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::update_application::UpdateApplication, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::update_application::UpdateApplicationError, + >, + > { + self.customize_middleware().await + } ///

The name of the application. This name is visible to users when display name is not specified.

pub fn name(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.name(input.into()); diff --git a/sdk/appstream/src/operation/update_directory_config/builders.rs b/sdk/appstream/src/operation/update_directory_config/builders.rs index 4f24294b9379..b686f2845f0b 100644 --- a/sdk/appstream/src/operation/update_directory_config/builders.rs +++ b/sdk/appstream/src/operation/update_directory_config/builders.rs @@ -19,9 +19,9 @@ impl UpdateDirectoryConfigFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl UpdateDirectoryConfigFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::update_directory_config::UpdateDirectoryConfig, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::update_directory_config::UpdateDirectoryConfigError, + >, + > { + self.customize_middleware().await + } ///

The name of the Directory Config object.

pub fn directory_name( mut self, diff --git a/sdk/appstream/src/operation/update_entitlement/builders.rs b/sdk/appstream/src/operation/update_entitlement/builders.rs index 331000c33545..cd42e4383b81 100644 --- a/sdk/appstream/src/operation/update_entitlement/builders.rs +++ b/sdk/appstream/src/operation/update_entitlement/builders.rs @@ -19,9 +19,9 @@ impl UpdateEntitlementFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl UpdateEntitlementFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::update_entitlement::UpdateEntitlement, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::update_entitlement::UpdateEntitlementError, + >, + > { + self.customize_middleware().await + } ///

The name of the entitlement.

pub fn name(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.name(input.into()); diff --git a/sdk/appstream/src/operation/update_fleet/builders.rs b/sdk/appstream/src/operation/update_fleet/builders.rs index 69b5b0510e2e..6c672ed9f7b0 100644 --- a/sdk/appstream/src/operation/update_fleet/builders.rs +++ b/sdk/appstream/src/operation/update_fleet/builders.rs @@ -26,9 +26,9 @@ impl UpdateFleetFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -84,6 +84,20 @@ impl UpdateFleetFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::update_fleet::UpdateFleet, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

The name of the image used to create the fleet.

pub fn image_name(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.image_name(input.into()); diff --git a/sdk/appstream/src/operation/update_image_permissions/builders.rs b/sdk/appstream/src/operation/update_image_permissions/builders.rs index ab5bdbbe8e26..21c9a04c8a05 100644 --- a/sdk/appstream/src/operation/update_image_permissions/builders.rs +++ b/sdk/appstream/src/operation/update_image_permissions/builders.rs @@ -19,9 +19,9 @@ impl UpdateImagePermissionsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl UpdateImagePermissionsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::update_image_permissions::UpdateImagePermissions, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::update_image_permissions::UpdateImagePermissionsError, + >, + > { + self.customize_middleware().await + } ///

The name of the private image.

pub fn name(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.name(input.into()); diff --git a/sdk/appstream/src/operation/update_stack/builders.rs b/sdk/appstream/src/operation/update_stack/builders.rs index f10e61814dd2..d90bc09a80c5 100644 --- a/sdk/appstream/src/operation/update_stack/builders.rs +++ b/sdk/appstream/src/operation/update_stack/builders.rs @@ -19,9 +19,9 @@ impl UpdateStackFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl UpdateStackFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::update_stack::UpdateStack, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

The stack name to display.

pub fn display_name(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.display_name(input.into()); diff --git a/sdk/appsync/src/operation/associate_api/builders.rs b/sdk/appsync/src/operation/associate_api/builders.rs index 9b9e999112f6..bb7217d757f4 100644 --- a/sdk/appsync/src/operation/associate_api/builders.rs +++ b/sdk/appsync/src/operation/associate_api/builders.rs @@ -19,9 +19,9 @@ impl AssociateApiFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl AssociateApiFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::associate_api::AssociateApi, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

The domain name.

pub fn domain_name(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.domain_name(input.into()); diff --git a/sdk/appsync/src/operation/create_api_cache/builders.rs b/sdk/appsync/src/operation/create_api_cache/builders.rs index 18416ee7344e..bf718fc2480d 100644 --- a/sdk/appsync/src/operation/create_api_cache/builders.rs +++ b/sdk/appsync/src/operation/create_api_cache/builders.rs @@ -19,9 +19,9 @@ impl CreateApiCacheFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl CreateApiCacheFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::create_api_cache::CreateApiCache, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::create_api_cache::CreateApiCacheError, + >, + > { + self.customize_middleware().await + } ///

The GraphQL API ID.

pub fn api_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.api_id(input.into()); diff --git a/sdk/appsync/src/operation/create_api_key/builders.rs b/sdk/appsync/src/operation/create_api_key/builders.rs index d8428a9c0aee..65a6f0d574e7 100644 --- a/sdk/appsync/src/operation/create_api_key/builders.rs +++ b/sdk/appsync/src/operation/create_api_key/builders.rs @@ -19,9 +19,9 @@ impl CreateApiKeyFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl CreateApiKeyFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::create_api_key::CreateApiKey, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

The ID for your GraphQL API.

pub fn api_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.api_id(input.into()); diff --git a/sdk/appsync/src/operation/create_data_source/builders.rs b/sdk/appsync/src/operation/create_data_source/builders.rs index d43db49cf62f..f6805e162ddd 100644 --- a/sdk/appsync/src/operation/create_data_source/builders.rs +++ b/sdk/appsync/src/operation/create_data_source/builders.rs @@ -19,9 +19,9 @@ impl CreateDataSourceFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl CreateDataSourceFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::create_data_source::CreateDataSource, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::create_data_source::CreateDataSourceError, + >, + > { + self.customize_middleware().await + } ///

The API ID for the GraphQL API for the DataSource.

pub fn api_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.api_id(input.into()); diff --git a/sdk/appsync/src/operation/create_domain_name/builders.rs b/sdk/appsync/src/operation/create_domain_name/builders.rs index 6d914a280439..c783ae86fa2a 100644 --- a/sdk/appsync/src/operation/create_domain_name/builders.rs +++ b/sdk/appsync/src/operation/create_domain_name/builders.rs @@ -19,9 +19,9 @@ impl CreateDomainNameFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl CreateDomainNameFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::create_domain_name::CreateDomainName, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::create_domain_name::CreateDomainNameError, + >, + > { + self.customize_middleware().await + } ///

The domain name.

pub fn domain_name(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.domain_name(input.into()); diff --git a/sdk/appsync/src/operation/create_function/builders.rs b/sdk/appsync/src/operation/create_function/builders.rs index 75bbdcffbf11..9ed4ed37fdd7 100644 --- a/sdk/appsync/src/operation/create_function/builders.rs +++ b/sdk/appsync/src/operation/create_function/builders.rs @@ -20,9 +20,9 @@ impl CreateFunctionFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -78,6 +78,20 @@ impl CreateFunctionFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::create_function::CreateFunction, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

The GraphQL API ID.

pub fn api_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.api_id(input.into()); diff --git a/sdk/appsync/src/operation/create_graphql_api/builders.rs b/sdk/appsync/src/operation/create_graphql_api/builders.rs index 5fea5118357a..84e316bc516b 100644 --- a/sdk/appsync/src/operation/create_graphql_api/builders.rs +++ b/sdk/appsync/src/operation/create_graphql_api/builders.rs @@ -19,9 +19,9 @@ impl CreateGraphqlApiFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl CreateGraphqlApiFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::create_graphql_api::CreateGraphqlApi, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::create_graphql_api::CreateGraphqlApiError, + >, + > { + self.customize_middleware().await + } ///

A user-supplied name for the GraphqlApi.

pub fn name(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.name(input.into()); diff --git a/sdk/appsync/src/operation/create_resolver/builders.rs b/sdk/appsync/src/operation/create_resolver/builders.rs index 49aa8c066cd3..d08af5d70dbd 100644 --- a/sdk/appsync/src/operation/create_resolver/builders.rs +++ b/sdk/appsync/src/operation/create_resolver/builders.rs @@ -20,9 +20,9 @@ impl CreateResolverFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -78,6 +78,20 @@ impl CreateResolverFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::create_resolver::CreateResolver, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

The ID for the GraphQL API for which the resolver is being created.

pub fn api_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.api_id(input.into()); diff --git a/sdk/appsync/src/operation/create_type/builders.rs b/sdk/appsync/src/operation/create_type/builders.rs index c0fa1bb55312..1585cdaa5ef9 100644 --- a/sdk/appsync/src/operation/create_type/builders.rs +++ b/sdk/appsync/src/operation/create_type/builders.rs @@ -19,9 +19,9 @@ impl CreateTypeFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl CreateTypeFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::create_type::CreateType, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

The API ID.

pub fn api_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.api_id(input.into()); diff --git a/sdk/appsync/src/operation/delete_api_cache/builders.rs b/sdk/appsync/src/operation/delete_api_cache/builders.rs index d3ff0804085f..558c79160247 100644 --- a/sdk/appsync/src/operation/delete_api_cache/builders.rs +++ b/sdk/appsync/src/operation/delete_api_cache/builders.rs @@ -19,9 +19,9 @@ impl DeleteApiCacheFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl DeleteApiCacheFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::delete_api_cache::DeleteApiCache, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::delete_api_cache::DeleteApiCacheError, + >, + > { + self.customize_middleware().await + } ///

The API ID.

pub fn api_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.api_id(input.into()); diff --git a/sdk/appsync/src/operation/delete_api_key/builders.rs b/sdk/appsync/src/operation/delete_api_key/builders.rs index 15dea8d509d4..9e52dac70b7b 100644 --- a/sdk/appsync/src/operation/delete_api_key/builders.rs +++ b/sdk/appsync/src/operation/delete_api_key/builders.rs @@ -19,9 +19,9 @@ impl DeleteApiKeyFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl DeleteApiKeyFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::delete_api_key::DeleteApiKey, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

The API ID.

pub fn api_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.api_id(input.into()); diff --git a/sdk/appsync/src/operation/delete_data_source/builders.rs b/sdk/appsync/src/operation/delete_data_source/builders.rs index 0eb0f6d5460a..612e4b7d93dc 100644 --- a/sdk/appsync/src/operation/delete_data_source/builders.rs +++ b/sdk/appsync/src/operation/delete_data_source/builders.rs @@ -19,9 +19,9 @@ impl DeleteDataSourceFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl DeleteDataSourceFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::delete_data_source::DeleteDataSource, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::delete_data_source::DeleteDataSourceError, + >, + > { + self.customize_middleware().await + } ///

The API ID.

pub fn api_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.api_id(input.into()); diff --git a/sdk/appsync/src/operation/delete_domain_name/builders.rs b/sdk/appsync/src/operation/delete_domain_name/builders.rs index 808aa13f5fdd..bd11550c99e5 100644 --- a/sdk/appsync/src/operation/delete_domain_name/builders.rs +++ b/sdk/appsync/src/operation/delete_domain_name/builders.rs @@ -19,9 +19,9 @@ impl DeleteDomainNameFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl DeleteDomainNameFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::delete_domain_name::DeleteDomainName, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::delete_domain_name::DeleteDomainNameError, + >, + > { + self.customize_middleware().await + } ///

The domain name.

pub fn domain_name(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.domain_name(input.into()); diff --git a/sdk/appsync/src/operation/delete_function/builders.rs b/sdk/appsync/src/operation/delete_function/builders.rs index 0cf2ee6e4b8c..ff17e970e44b 100644 --- a/sdk/appsync/src/operation/delete_function/builders.rs +++ b/sdk/appsync/src/operation/delete_function/builders.rs @@ -19,9 +19,9 @@ impl DeleteFunctionFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl DeleteFunctionFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::delete_function::DeleteFunction, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

The GraphQL API ID.

pub fn api_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.api_id(input.into()); diff --git a/sdk/appsync/src/operation/delete_graphql_api/builders.rs b/sdk/appsync/src/operation/delete_graphql_api/builders.rs index b178dc741fee..b215cc70bff6 100644 --- a/sdk/appsync/src/operation/delete_graphql_api/builders.rs +++ b/sdk/appsync/src/operation/delete_graphql_api/builders.rs @@ -19,9 +19,9 @@ impl DeleteGraphqlApiFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl DeleteGraphqlApiFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::delete_graphql_api::DeleteGraphqlApi, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::delete_graphql_api::DeleteGraphqlApiError, + >, + > { + self.customize_middleware().await + } ///

The API ID.

pub fn api_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.api_id(input.into()); diff --git a/sdk/appsync/src/operation/delete_resolver/builders.rs b/sdk/appsync/src/operation/delete_resolver/builders.rs index 044cfd986b71..af2e372688ed 100644 --- a/sdk/appsync/src/operation/delete_resolver/builders.rs +++ b/sdk/appsync/src/operation/delete_resolver/builders.rs @@ -19,9 +19,9 @@ impl DeleteResolverFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl DeleteResolverFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::delete_resolver::DeleteResolver, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

The API ID.

pub fn api_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.api_id(input.into()); diff --git a/sdk/appsync/src/operation/delete_type/builders.rs b/sdk/appsync/src/operation/delete_type/builders.rs index 97c8c3ce9f57..1284e1945d32 100644 --- a/sdk/appsync/src/operation/delete_type/builders.rs +++ b/sdk/appsync/src/operation/delete_type/builders.rs @@ -19,9 +19,9 @@ impl DeleteTypeFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl DeleteTypeFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::delete_type::DeleteType, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

The API ID.

pub fn api_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.api_id(input.into()); diff --git a/sdk/appsync/src/operation/disassociate_api/builders.rs b/sdk/appsync/src/operation/disassociate_api/builders.rs index 5cfa4dacc1b2..511e8e2fe9e1 100644 --- a/sdk/appsync/src/operation/disassociate_api/builders.rs +++ b/sdk/appsync/src/operation/disassociate_api/builders.rs @@ -19,9 +19,9 @@ impl DisassociateApiFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl DisassociateApiFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::disassociate_api::DisassociateApi, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::disassociate_api::DisassociateApiError, + >, + > { + self.customize_middleware().await + } ///

The domain name.

pub fn domain_name(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.domain_name(input.into()); diff --git a/sdk/appsync/src/operation/evaluate_code/builders.rs b/sdk/appsync/src/operation/evaluate_code/builders.rs index fb73d2093d0d..f6bbf9717d3b 100644 --- a/sdk/appsync/src/operation/evaluate_code/builders.rs +++ b/sdk/appsync/src/operation/evaluate_code/builders.rs @@ -19,9 +19,9 @@ impl EvaluateCodeFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl EvaluateCodeFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::evaluate_code::EvaluateCode, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

The runtime to be used when evaluating the code. Currently, only the APPSYNC_JS runtime is supported.

pub fn runtime(mut self, input: crate::types::AppSyncRuntime) -> Self { self.inner = self.inner.runtime(input); diff --git a/sdk/appsync/src/operation/evaluate_mapping_template/builders.rs b/sdk/appsync/src/operation/evaluate_mapping_template/builders.rs index 8018021daf1a..001e1f900652 100644 --- a/sdk/appsync/src/operation/evaluate_mapping_template/builders.rs +++ b/sdk/appsync/src/operation/evaluate_mapping_template/builders.rs @@ -22,9 +22,9 @@ impl EvaluateMappingTemplateFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -86,6 +86,22 @@ impl EvaluateMappingTemplateFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::evaluate_mapping_template::EvaluateMappingTemplate, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::evaluate_mapping_template::EvaluateMappingTemplateError, + >, + > { + self.customize_middleware().await + } ///

The mapping template; this can be a request or response template. A template is required for this action.

pub fn template(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.template(input.into()); diff --git a/sdk/appsync/src/operation/flush_api_cache/builders.rs b/sdk/appsync/src/operation/flush_api_cache/builders.rs index b314e681ab7f..195447556195 100644 --- a/sdk/appsync/src/operation/flush_api_cache/builders.rs +++ b/sdk/appsync/src/operation/flush_api_cache/builders.rs @@ -19,9 +19,9 @@ impl FlushApiCacheFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl FlushApiCacheFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::flush_api_cache::FlushApiCache, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

The API ID.

pub fn api_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.api_id(input.into()); diff --git a/sdk/appsync/src/operation/get_api_association/builders.rs b/sdk/appsync/src/operation/get_api_association/builders.rs index 72158978f480..835405542708 100644 --- a/sdk/appsync/src/operation/get_api_association/builders.rs +++ b/sdk/appsync/src/operation/get_api_association/builders.rs @@ -19,9 +19,9 @@ impl GetApiAssociationFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl GetApiAssociationFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::get_api_association::GetApiAssociation, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::get_api_association::GetApiAssociationError, + >, + > { + self.customize_middleware().await + } ///

The domain name.

pub fn domain_name(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.domain_name(input.into()); diff --git a/sdk/appsync/src/operation/get_api_cache/builders.rs b/sdk/appsync/src/operation/get_api_cache/builders.rs index 551b39ebf13d..79bbb60f65ac 100644 --- a/sdk/appsync/src/operation/get_api_cache/builders.rs +++ b/sdk/appsync/src/operation/get_api_cache/builders.rs @@ -19,9 +19,9 @@ impl GetApiCacheFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl GetApiCacheFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::get_api_cache::GetApiCache, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

The API ID.

pub fn api_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.api_id(input.into()); diff --git a/sdk/appsync/src/operation/get_data_source/builders.rs b/sdk/appsync/src/operation/get_data_source/builders.rs index dae29df6cb3c..9e280c3e60c5 100644 --- a/sdk/appsync/src/operation/get_data_source/builders.rs +++ b/sdk/appsync/src/operation/get_data_source/builders.rs @@ -19,9 +19,9 @@ impl GetDataSourceFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl GetDataSourceFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::get_data_source::GetDataSource, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

The API ID.

pub fn api_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.api_id(input.into()); diff --git a/sdk/appsync/src/operation/get_domain_name/builders.rs b/sdk/appsync/src/operation/get_domain_name/builders.rs index 257bd34e1789..e397f7b6065b 100644 --- a/sdk/appsync/src/operation/get_domain_name/builders.rs +++ b/sdk/appsync/src/operation/get_domain_name/builders.rs @@ -19,9 +19,9 @@ impl GetDomainNameFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl GetDomainNameFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::get_domain_name::GetDomainName, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

The domain name.

pub fn domain_name(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.domain_name(input.into()); diff --git a/sdk/appsync/src/operation/get_function/builders.rs b/sdk/appsync/src/operation/get_function/builders.rs index ed1cc245e52f..2f9e62598447 100644 --- a/sdk/appsync/src/operation/get_function/builders.rs +++ b/sdk/appsync/src/operation/get_function/builders.rs @@ -19,9 +19,9 @@ impl GetFunctionFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl GetFunctionFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::get_function::GetFunction, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

The GraphQL API ID.

pub fn api_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.api_id(input.into()); diff --git a/sdk/appsync/src/operation/get_graphql_api/builders.rs b/sdk/appsync/src/operation/get_graphql_api/builders.rs index 95364ca26aa5..fb2f25403276 100644 --- a/sdk/appsync/src/operation/get_graphql_api/builders.rs +++ b/sdk/appsync/src/operation/get_graphql_api/builders.rs @@ -19,9 +19,9 @@ impl GetGraphqlApiFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl GetGraphqlApiFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::get_graphql_api::GetGraphqlApi, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

The API ID for the GraphQL API.

pub fn api_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.api_id(input.into()); diff --git a/sdk/appsync/src/operation/get_introspection_schema/builders.rs b/sdk/appsync/src/operation/get_introspection_schema/builders.rs index 76dca3c10b86..8823102e3552 100644 --- a/sdk/appsync/src/operation/get_introspection_schema/builders.rs +++ b/sdk/appsync/src/operation/get_introspection_schema/builders.rs @@ -19,9 +19,9 @@ impl GetIntrospectionSchemaFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl GetIntrospectionSchemaFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::get_introspection_schema::GetIntrospectionSchema, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::get_introspection_schema::GetIntrospectionSchemaError, + >, + > { + self.customize_middleware().await + } ///

The API ID.

pub fn api_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.api_id(input.into()); diff --git a/sdk/appsync/src/operation/get_resolver/builders.rs b/sdk/appsync/src/operation/get_resolver/builders.rs index eb30328557f0..05319d3d7fa9 100644 --- a/sdk/appsync/src/operation/get_resolver/builders.rs +++ b/sdk/appsync/src/operation/get_resolver/builders.rs @@ -19,9 +19,9 @@ impl GetResolverFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl GetResolverFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::get_resolver::GetResolver, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

The API ID.

pub fn api_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.api_id(input.into()); diff --git a/sdk/appsync/src/operation/get_schema_creation_status/builders.rs b/sdk/appsync/src/operation/get_schema_creation_status/builders.rs index 5c8b93739313..f8e773d2b5f8 100644 --- a/sdk/appsync/src/operation/get_schema_creation_status/builders.rs +++ b/sdk/appsync/src/operation/get_schema_creation_status/builders.rs @@ -20,9 +20,9 @@ impl GetSchemaCreationStatusFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -84,6 +84,22 @@ impl GetSchemaCreationStatusFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::get_schema_creation_status::GetSchemaCreationStatus, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::get_schema_creation_status::GetSchemaCreationStatusError, + >, + > { + self.customize_middleware().await + } ///

The API ID.

pub fn api_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.api_id(input.into()); diff --git a/sdk/appsync/src/operation/get_type/builders.rs b/sdk/appsync/src/operation/get_type/builders.rs index 6fe202171bb1..5470145f5034 100644 --- a/sdk/appsync/src/operation/get_type/builders.rs +++ b/sdk/appsync/src/operation/get_type/builders.rs @@ -19,9 +19,9 @@ impl GetTypeFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl GetTypeFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::get_type::GetType, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

The API ID.

pub fn api_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.api_id(input.into()); diff --git a/sdk/appsync/src/operation/list_api_keys/builders.rs b/sdk/appsync/src/operation/list_api_keys/builders.rs index 8cc7c61530b6..67bf5e548eb1 100644 --- a/sdk/appsync/src/operation/list_api_keys/builders.rs +++ b/sdk/appsync/src/operation/list_api_keys/builders.rs @@ -21,9 +21,9 @@ impl ListApiKeysFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -79,6 +79,20 @@ impl ListApiKeysFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_api_keys::ListApiKeys, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

The API ID.

pub fn api_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.api_id(input.into()); diff --git a/sdk/appsync/src/operation/list_data_sources/builders.rs b/sdk/appsync/src/operation/list_data_sources/builders.rs index c8888a27bfa2..bba290435b22 100644 --- a/sdk/appsync/src/operation/list_data_sources/builders.rs +++ b/sdk/appsync/src/operation/list_data_sources/builders.rs @@ -19,9 +19,9 @@ impl ListDataSourcesFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl ListDataSourcesFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_data_sources::ListDataSources, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::list_data_sources::ListDataSourcesError, + >, + > { + self.customize_middleware().await + } ///

The API ID.

pub fn api_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.api_id(input.into()); diff --git a/sdk/appsync/src/operation/list_domain_names/builders.rs b/sdk/appsync/src/operation/list_domain_names/builders.rs index d50016e9286a..95c40f276c70 100644 --- a/sdk/appsync/src/operation/list_domain_names/builders.rs +++ b/sdk/appsync/src/operation/list_domain_names/builders.rs @@ -19,9 +19,9 @@ impl ListDomainNamesFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl ListDomainNamesFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_domain_names::ListDomainNames, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::list_domain_names::ListDomainNamesError, + >, + > { + self.customize_middleware().await + } ///

The API token.

pub fn next_token(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.next_token(input.into()); diff --git a/sdk/appsync/src/operation/list_functions/builders.rs b/sdk/appsync/src/operation/list_functions/builders.rs index d1643641a179..24b96f7e064f 100644 --- a/sdk/appsync/src/operation/list_functions/builders.rs +++ b/sdk/appsync/src/operation/list_functions/builders.rs @@ -19,9 +19,9 @@ impl ListFunctionsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl ListFunctionsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_functions::ListFunctions, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

The GraphQL API ID.

pub fn api_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.api_id(input.into()); diff --git a/sdk/appsync/src/operation/list_graphql_apis/builders.rs b/sdk/appsync/src/operation/list_graphql_apis/builders.rs index b6e01b2da06e..bf2888b1155c 100644 --- a/sdk/appsync/src/operation/list_graphql_apis/builders.rs +++ b/sdk/appsync/src/operation/list_graphql_apis/builders.rs @@ -19,9 +19,9 @@ impl ListGraphqlApisFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl ListGraphqlApisFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_graphql_apis::ListGraphqlApis, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::list_graphql_apis::ListGraphqlApisError, + >, + > { + self.customize_middleware().await + } ///

An identifier that was returned from the previous call to this operation, which you can use to return the next set of items in the list.

pub fn next_token(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.next_token(input.into()); diff --git a/sdk/appsync/src/operation/list_resolvers/builders.rs b/sdk/appsync/src/operation/list_resolvers/builders.rs index 51889ba62754..e39100a89ce2 100644 --- a/sdk/appsync/src/operation/list_resolvers/builders.rs +++ b/sdk/appsync/src/operation/list_resolvers/builders.rs @@ -19,9 +19,9 @@ impl ListResolversFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl ListResolversFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_resolvers::ListResolvers, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

The API ID.

pub fn api_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.api_id(input.into()); diff --git a/sdk/appsync/src/operation/list_resolvers_by_function/builders.rs b/sdk/appsync/src/operation/list_resolvers_by_function/builders.rs index c4f61afc822e..5fc17e0f05a8 100644 --- a/sdk/appsync/src/operation/list_resolvers_by_function/builders.rs +++ b/sdk/appsync/src/operation/list_resolvers_by_function/builders.rs @@ -20,9 +20,9 @@ impl ListResolversByFunctionFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -84,6 +84,22 @@ impl ListResolversByFunctionFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_resolvers_by_function::ListResolversByFunction, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::list_resolvers_by_function::ListResolversByFunctionError, + >, + > { + self.customize_middleware().await + } ///

The API ID.

pub fn api_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.api_id(input.into()); diff --git a/sdk/appsync/src/operation/list_tags_for_resource/builders.rs b/sdk/appsync/src/operation/list_tags_for_resource/builders.rs index 4c501191236c..4edced6177c7 100644 --- a/sdk/appsync/src/operation/list_tags_for_resource/builders.rs +++ b/sdk/appsync/src/operation/list_tags_for_resource/builders.rs @@ -19,9 +19,9 @@ impl ListTagsForResourceFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl ListTagsForResourceFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_tags_for_resource::ListTagsForResource, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::list_tags_for_resource::ListTagsForResourceError, + >, + > { + self.customize_middleware().await + } ///

The GraphqlApi Amazon Resource Name (ARN).

pub fn resource_arn(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.resource_arn(input.into()); diff --git a/sdk/appsync/src/operation/list_types/builders.rs b/sdk/appsync/src/operation/list_types/builders.rs index e692f0084ce7..3bde3d8a7b52 100644 --- a/sdk/appsync/src/operation/list_types/builders.rs +++ b/sdk/appsync/src/operation/list_types/builders.rs @@ -19,9 +19,9 @@ impl ListTypesFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl ListTypesFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_types::ListTypes, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

The API ID.

pub fn api_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.api_id(input.into()); diff --git a/sdk/appsync/src/operation/start_schema_creation/builders.rs b/sdk/appsync/src/operation/start_schema_creation/builders.rs index 14ffebec299c..c0cb67e4f508 100644 --- a/sdk/appsync/src/operation/start_schema_creation/builders.rs +++ b/sdk/appsync/src/operation/start_schema_creation/builders.rs @@ -20,9 +20,9 @@ impl StartSchemaCreationFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -84,6 +84,22 @@ impl StartSchemaCreationFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::start_schema_creation::StartSchemaCreation, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::start_schema_creation::StartSchemaCreationError, + >, + > { + self.customize_middleware().await + } ///

The API ID.

pub fn api_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.api_id(input.into()); diff --git a/sdk/appsync/src/operation/tag_resource/builders.rs b/sdk/appsync/src/operation/tag_resource/builders.rs index 8ae92b3a3d73..bc91b374d324 100644 --- a/sdk/appsync/src/operation/tag_resource/builders.rs +++ b/sdk/appsync/src/operation/tag_resource/builders.rs @@ -19,9 +19,9 @@ impl TagResourceFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl TagResourceFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::tag_resource::TagResource, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

The GraphqlApi Amazon Resource Name (ARN).

pub fn resource_arn(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.resource_arn(input.into()); diff --git a/sdk/appsync/src/operation/untag_resource/builders.rs b/sdk/appsync/src/operation/untag_resource/builders.rs index 7965851bc623..d4c78a5d92b1 100644 --- a/sdk/appsync/src/operation/untag_resource/builders.rs +++ b/sdk/appsync/src/operation/untag_resource/builders.rs @@ -19,9 +19,9 @@ impl UntagResourceFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl UntagResourceFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::untag_resource::UntagResource, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

The GraphqlApi Amazon Resource Name (ARN).

pub fn resource_arn(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.resource_arn(input.into()); diff --git a/sdk/appsync/src/operation/update_api_cache/builders.rs b/sdk/appsync/src/operation/update_api_cache/builders.rs index 72db32d8db78..c7bff0889cf7 100644 --- a/sdk/appsync/src/operation/update_api_cache/builders.rs +++ b/sdk/appsync/src/operation/update_api_cache/builders.rs @@ -19,9 +19,9 @@ impl UpdateApiCacheFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl UpdateApiCacheFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::update_api_cache::UpdateApiCache, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::update_api_cache::UpdateApiCacheError, + >, + > { + self.customize_middleware().await + } ///

The GraphQL API ID.

pub fn api_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.api_id(input.into()); diff --git a/sdk/appsync/src/operation/update_api_key/builders.rs b/sdk/appsync/src/operation/update_api_key/builders.rs index 300057a29521..ceac3b0920c7 100644 --- a/sdk/appsync/src/operation/update_api_key/builders.rs +++ b/sdk/appsync/src/operation/update_api_key/builders.rs @@ -19,9 +19,9 @@ impl UpdateApiKeyFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl UpdateApiKeyFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::update_api_key::UpdateApiKey, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

The ID for the GraphQL API.

pub fn api_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.api_id(input.into()); diff --git a/sdk/appsync/src/operation/update_data_source/builders.rs b/sdk/appsync/src/operation/update_data_source/builders.rs index bc54e9076c31..dfd1f5dfe2f8 100644 --- a/sdk/appsync/src/operation/update_data_source/builders.rs +++ b/sdk/appsync/src/operation/update_data_source/builders.rs @@ -19,9 +19,9 @@ impl UpdateDataSourceFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl UpdateDataSourceFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::update_data_source::UpdateDataSource, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::update_data_source::UpdateDataSourceError, + >, + > { + self.customize_middleware().await + } ///

The API ID.

pub fn api_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.api_id(input.into()); diff --git a/sdk/appsync/src/operation/update_domain_name/builders.rs b/sdk/appsync/src/operation/update_domain_name/builders.rs index 3b5553a76a5c..96a54f0c6895 100644 --- a/sdk/appsync/src/operation/update_domain_name/builders.rs +++ b/sdk/appsync/src/operation/update_domain_name/builders.rs @@ -19,9 +19,9 @@ impl UpdateDomainNameFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl UpdateDomainNameFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::update_domain_name::UpdateDomainName, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::update_domain_name::UpdateDomainNameError, + >, + > { + self.customize_middleware().await + } ///

The domain name.

pub fn domain_name(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.domain_name(input.into()); diff --git a/sdk/appsync/src/operation/update_function/builders.rs b/sdk/appsync/src/operation/update_function/builders.rs index 15750c3723b3..326632eca1db 100644 --- a/sdk/appsync/src/operation/update_function/builders.rs +++ b/sdk/appsync/src/operation/update_function/builders.rs @@ -19,9 +19,9 @@ impl UpdateFunctionFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl UpdateFunctionFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::update_function::UpdateFunction, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

The GraphQL API ID.

pub fn api_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.api_id(input.into()); diff --git a/sdk/appsync/src/operation/update_graphql_api/builders.rs b/sdk/appsync/src/operation/update_graphql_api/builders.rs index 16863d205c89..568f020b8e69 100644 --- a/sdk/appsync/src/operation/update_graphql_api/builders.rs +++ b/sdk/appsync/src/operation/update_graphql_api/builders.rs @@ -19,9 +19,9 @@ impl UpdateGraphqlApiFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl UpdateGraphqlApiFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::update_graphql_api::UpdateGraphqlApi, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::update_graphql_api::UpdateGraphqlApiError, + >, + > { + self.customize_middleware().await + } ///

The API ID.

pub fn api_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.api_id(input.into()); diff --git a/sdk/appsync/src/operation/update_resolver/builders.rs b/sdk/appsync/src/operation/update_resolver/builders.rs index 8e29571eff52..7b48877fcac2 100644 --- a/sdk/appsync/src/operation/update_resolver/builders.rs +++ b/sdk/appsync/src/operation/update_resolver/builders.rs @@ -19,9 +19,9 @@ impl UpdateResolverFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl UpdateResolverFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::update_resolver::UpdateResolver, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

The API ID.

pub fn api_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.api_id(input.into()); diff --git a/sdk/appsync/src/operation/update_type/builders.rs b/sdk/appsync/src/operation/update_type/builders.rs index a0465953d8ec..5367b4e7bb3b 100644 --- a/sdk/appsync/src/operation/update_type/builders.rs +++ b/sdk/appsync/src/operation/update_type/builders.rs @@ -19,9 +19,9 @@ impl UpdateTypeFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl UpdateTypeFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::update_type::UpdateType, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

The API ID.

pub fn api_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.api_id(input.into()); diff --git a/sdk/arczonalshift/src/operation/cancel_zonal_shift/builders.rs b/sdk/arczonalshift/src/operation/cancel_zonal_shift/builders.rs index 4a50b8e23ae5..12eadb5b18f5 100644 --- a/sdk/arczonalshift/src/operation/cancel_zonal_shift/builders.rs +++ b/sdk/arczonalshift/src/operation/cancel_zonal_shift/builders.rs @@ -19,9 +19,9 @@ impl CancelZonalShiftFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl CancelZonalShiftFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::cancel_zonal_shift::CancelZonalShift, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::cancel_zonal_shift::CancelZonalShiftError, + >, + > { + self.customize_middleware().await + } ///

The internally-generated identifier of a zonal shift.

pub fn zonal_shift_id( mut self, diff --git a/sdk/arczonalshift/src/operation/get_managed_resource/builders.rs b/sdk/arczonalshift/src/operation/get_managed_resource/builders.rs index a1d35675cdcc..bd641afada0a 100644 --- a/sdk/arczonalshift/src/operation/get_managed_resource/builders.rs +++ b/sdk/arczonalshift/src/operation/get_managed_resource/builders.rs @@ -20,9 +20,9 @@ impl GetManagedResourceFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -84,6 +84,22 @@ impl GetManagedResourceFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::get_managed_resource::GetManagedResource, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::get_managed_resource::GetManagedResourceError, + >, + > { + self.customize_middleware().await + } ///

The identifier for the resource to include in a zonal shift. The identifier is the Amazon Resource Name (ARN) for the resource.

///

At this time, you can only start a zonal shift for Network Load Balancers and Application Load Balancers with cross-zone load balancing turned off.

pub fn resource_identifier( diff --git a/sdk/arczonalshift/src/operation/list_managed_resources/builders.rs b/sdk/arczonalshift/src/operation/list_managed_resources/builders.rs index 8a7b8654b078..39273a4472b3 100644 --- a/sdk/arczonalshift/src/operation/list_managed_resources/builders.rs +++ b/sdk/arczonalshift/src/operation/list_managed_resources/builders.rs @@ -19,9 +19,9 @@ impl ListManagedResourcesFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl ListManagedResourcesFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_managed_resources::ListManagedResources, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::list_managed_resources::ListManagedResourcesError, + >, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::list_managed_resources::paginator::ListManagedResourcesPaginator::send) which returns a `Stream`. diff --git a/sdk/arczonalshift/src/operation/list_zonal_shifts/builders.rs b/sdk/arczonalshift/src/operation/list_zonal_shifts/builders.rs index 69864410e79c..6a464444c23b 100644 --- a/sdk/arczonalshift/src/operation/list_zonal_shifts/builders.rs +++ b/sdk/arczonalshift/src/operation/list_zonal_shifts/builders.rs @@ -19,9 +19,9 @@ impl ListZonalShiftsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl ListZonalShiftsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_zonal_shifts::ListZonalShifts, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::list_zonal_shifts::ListZonalShiftsError, + >, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::list_zonal_shifts::paginator::ListZonalShiftsPaginator::send) which returns a `Stream`. diff --git a/sdk/arczonalshift/src/operation/start_zonal_shift/builders.rs b/sdk/arczonalshift/src/operation/start_zonal_shift/builders.rs index ee897c3dd3ac..91d3b6964020 100644 --- a/sdk/arczonalshift/src/operation/start_zonal_shift/builders.rs +++ b/sdk/arczonalshift/src/operation/start_zonal_shift/builders.rs @@ -22,9 +22,9 @@ impl StartZonalShiftFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -86,6 +86,22 @@ impl StartZonalShiftFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::start_zonal_shift::StartZonalShift, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::start_zonal_shift::StartZonalShiftError, + >, + > { + self.customize_middleware().await + } ///

The identifier for the resource to include in a zonal shift. The identifier is the Amazon Resource Name (ARN) for the resource.

///

At this time, you can only start a zonal shift for Network Load Balancers and Application Load Balancers with cross-zone load balancing turned off.

pub fn resource_identifier( diff --git a/sdk/arczonalshift/src/operation/update_zonal_shift/builders.rs b/sdk/arczonalshift/src/operation/update_zonal_shift/builders.rs index 4de93fcd8cd7..c69a413ed2c0 100644 --- a/sdk/arczonalshift/src/operation/update_zonal_shift/builders.rs +++ b/sdk/arczonalshift/src/operation/update_zonal_shift/builders.rs @@ -19,9 +19,9 @@ impl UpdateZonalShiftFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl UpdateZonalShiftFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::update_zonal_shift::UpdateZonalShift, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::update_zonal_shift::UpdateZonalShiftError, + >, + > { + self.customize_middleware().await + } ///

The identifier of a zonal shift.

pub fn zonal_shift_id( mut self, diff --git a/sdk/athena/src/operation/batch_get_named_query/builders.rs b/sdk/athena/src/operation/batch_get_named_query/builders.rs index e9b466e6544f..65c96d921886 100644 --- a/sdk/athena/src/operation/batch_get_named_query/builders.rs +++ b/sdk/athena/src/operation/batch_get_named_query/builders.rs @@ -19,9 +19,9 @@ impl BatchGetNamedQueryFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl BatchGetNamedQueryFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::batch_get_named_query::BatchGetNamedQuery, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::batch_get_named_query::BatchGetNamedQueryError, + >, + > { + self.customize_middleware().await + } /// Appends an item to `NamedQueryIds`. /// /// To override the contents of this collection use [`set_named_query_ids`](Self::set_named_query_ids). diff --git a/sdk/athena/src/operation/batch_get_prepared_statement/builders.rs b/sdk/athena/src/operation/batch_get_prepared_statement/builders.rs index abbb7d3e093e..74af7687fcd7 100644 --- a/sdk/athena/src/operation/batch_get_prepared_statement/builders.rs +++ b/sdk/athena/src/operation/batch_get_prepared_statement/builders.rs @@ -19,9 +19,9 @@ impl BatchGetPreparedStatementFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl BatchGetPreparedStatementFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::batch_get_prepared_statement::BatchGetPreparedStatement, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::batch_get_prepared_statement::BatchGetPreparedStatementError, + >, + > { + self.customize_middleware().await + } /// Appends an item to `PreparedStatementNames`. /// /// To override the contents of this collection use [`set_prepared_statement_names`](Self::set_prepared_statement_names). diff --git a/sdk/athena/src/operation/batch_get_query_execution/builders.rs b/sdk/athena/src/operation/batch_get_query_execution/builders.rs index 87e5f231174a..8a69313ba5fa 100644 --- a/sdk/athena/src/operation/batch_get_query_execution/builders.rs +++ b/sdk/athena/src/operation/batch_get_query_execution/builders.rs @@ -20,9 +20,9 @@ impl BatchGetQueryExecutionFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -84,6 +84,22 @@ impl BatchGetQueryExecutionFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::batch_get_query_execution::BatchGetQueryExecution, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::batch_get_query_execution::BatchGetQueryExecutionError, + >, + > { + self.customize_middleware().await + } /// Appends an item to `QueryExecutionIds`. /// /// To override the contents of this collection use [`set_query_execution_ids`](Self::set_query_execution_ids). diff --git a/sdk/athena/src/operation/cancel_capacity_reservation/builders.rs b/sdk/athena/src/operation/cancel_capacity_reservation/builders.rs index b782887adcc9..70c14ed70cff 100644 --- a/sdk/athena/src/operation/cancel_capacity_reservation/builders.rs +++ b/sdk/athena/src/operation/cancel_capacity_reservation/builders.rs @@ -19,9 +19,9 @@ impl CancelCapacityReservationFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl CancelCapacityReservationFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::cancel_capacity_reservation::CancelCapacityReservation, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::cancel_capacity_reservation::CancelCapacityReservationError, + >, + > { + self.customize_middleware().await + } ///

The name of the capacity reservation to cancel.

pub fn name(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.name(input.into()); diff --git a/sdk/athena/src/operation/create_capacity_reservation/builders.rs b/sdk/athena/src/operation/create_capacity_reservation/builders.rs index f848676cd6e1..2e70dc4673aa 100644 --- a/sdk/athena/src/operation/create_capacity_reservation/builders.rs +++ b/sdk/athena/src/operation/create_capacity_reservation/builders.rs @@ -19,9 +19,9 @@ impl CreateCapacityReservationFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl CreateCapacityReservationFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::create_capacity_reservation::CreateCapacityReservation, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::create_capacity_reservation::CreateCapacityReservationError, + >, + > { + self.customize_middleware().await + } ///

The number of requested data processing units.

pub fn target_dpus(mut self, input: i32) -> Self { self.inner = self.inner.target_dpus(input); diff --git a/sdk/athena/src/operation/create_data_catalog/builders.rs b/sdk/athena/src/operation/create_data_catalog/builders.rs index 01f340f1ef7e..0ed11eea89bc 100644 --- a/sdk/athena/src/operation/create_data_catalog/builders.rs +++ b/sdk/athena/src/operation/create_data_catalog/builders.rs @@ -19,9 +19,9 @@ impl CreateDataCatalogFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl CreateDataCatalogFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::create_data_catalog::CreateDataCatalog, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::create_data_catalog::CreateDataCatalogError, + >, + > { + self.customize_middleware().await + } ///

The name of the data catalog to create. The catalog name must be unique for the Amazon Web Services account and can use a maximum of 127 alphanumeric, underscore, at sign, or hyphen characters. The remainder of the length constraint of 256 is reserved for use by Athena.

pub fn name(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.name(input.into()); diff --git a/sdk/athena/src/operation/create_named_query/builders.rs b/sdk/athena/src/operation/create_named_query/builders.rs index 9445652e52b7..467e3cbe27ce 100644 --- a/sdk/athena/src/operation/create_named_query/builders.rs +++ b/sdk/athena/src/operation/create_named_query/builders.rs @@ -20,9 +20,9 @@ impl CreateNamedQueryFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -84,6 +84,22 @@ impl CreateNamedQueryFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::create_named_query::CreateNamedQuery, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::create_named_query::CreateNamedQueryError, + >, + > { + self.customize_middleware().await + } ///

The query name.

pub fn name(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.name(input.into()); diff --git a/sdk/athena/src/operation/create_notebook/builders.rs b/sdk/athena/src/operation/create_notebook/builders.rs index e26ea8e5fa3d..aa9157ef1a5a 100644 --- a/sdk/athena/src/operation/create_notebook/builders.rs +++ b/sdk/athena/src/operation/create_notebook/builders.rs @@ -19,9 +19,9 @@ impl CreateNotebookFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl CreateNotebookFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::create_notebook::CreateNotebook, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

The name of the Spark enabled workgroup in which the notebook will be created.

pub fn work_group(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.work_group(input.into()); diff --git a/sdk/athena/src/operation/create_prepared_statement/builders.rs b/sdk/athena/src/operation/create_prepared_statement/builders.rs index e91fc24c7982..037f325a69e5 100644 --- a/sdk/athena/src/operation/create_prepared_statement/builders.rs +++ b/sdk/athena/src/operation/create_prepared_statement/builders.rs @@ -20,9 +20,9 @@ impl CreatePreparedStatementFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -84,6 +84,22 @@ impl CreatePreparedStatementFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::create_prepared_statement::CreatePreparedStatement, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::create_prepared_statement::CreatePreparedStatementError, + >, + > { + self.customize_middleware().await + } ///

The name of the prepared statement.

pub fn statement_name( mut self, diff --git a/sdk/athena/src/operation/create_presigned_notebook_url/builders.rs b/sdk/athena/src/operation/create_presigned_notebook_url/builders.rs index a2502dbf9e1f..1ba16db3a640 100644 --- a/sdk/athena/src/operation/create_presigned_notebook_url/builders.rs +++ b/sdk/athena/src/operation/create_presigned_notebook_url/builders.rs @@ -19,9 +19,9 @@ impl CreatePresignedNotebookUrlFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl CreatePresignedNotebookUrlFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::create_presigned_notebook_url::CreatePresignedNotebookUrl, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::create_presigned_notebook_url::CreatePresignedNotebookUrlError, + >, + > { + self.customize_middleware().await + } ///

The session ID.

pub fn session_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.session_id(input.into()); diff --git a/sdk/athena/src/operation/create_work_group/builders.rs b/sdk/athena/src/operation/create_work_group/builders.rs index 700f38dd4188..c1832cf35d9b 100644 --- a/sdk/athena/src/operation/create_work_group/builders.rs +++ b/sdk/athena/src/operation/create_work_group/builders.rs @@ -19,9 +19,9 @@ impl CreateWorkGroupFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl CreateWorkGroupFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::create_work_group::CreateWorkGroup, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::create_work_group::CreateWorkGroupError, + >, + > { + self.customize_middleware().await + } ///

The workgroup name.

pub fn name(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.name(input.into()); diff --git a/sdk/athena/src/operation/delete_data_catalog/builders.rs b/sdk/athena/src/operation/delete_data_catalog/builders.rs index 776c57e83710..e16fbdf52ad2 100644 --- a/sdk/athena/src/operation/delete_data_catalog/builders.rs +++ b/sdk/athena/src/operation/delete_data_catalog/builders.rs @@ -19,9 +19,9 @@ impl DeleteDataCatalogFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl DeleteDataCatalogFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::delete_data_catalog::DeleteDataCatalog, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::delete_data_catalog::DeleteDataCatalogError, + >, + > { + self.customize_middleware().await + } ///

The name of the data catalog to delete.

pub fn name(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.name(input.into()); diff --git a/sdk/athena/src/operation/delete_named_query/builders.rs b/sdk/athena/src/operation/delete_named_query/builders.rs index fae23f472661..dee8411ebca2 100644 --- a/sdk/athena/src/operation/delete_named_query/builders.rs +++ b/sdk/athena/src/operation/delete_named_query/builders.rs @@ -20,9 +20,9 @@ impl DeleteNamedQueryFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -84,6 +84,22 @@ impl DeleteNamedQueryFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::delete_named_query::DeleteNamedQuery, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::delete_named_query::DeleteNamedQueryError, + >, + > { + self.customize_middleware().await + } ///

The unique ID of the query to delete.

pub fn named_query_id( mut self, diff --git a/sdk/athena/src/operation/delete_notebook/builders.rs b/sdk/athena/src/operation/delete_notebook/builders.rs index d8100cf6a10f..e337fc0b4295 100644 --- a/sdk/athena/src/operation/delete_notebook/builders.rs +++ b/sdk/athena/src/operation/delete_notebook/builders.rs @@ -19,9 +19,9 @@ impl DeleteNotebookFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl DeleteNotebookFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::delete_notebook::DeleteNotebook, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

The ID of the notebook to delete.

pub fn notebook_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.notebook_id(input.into()); diff --git a/sdk/athena/src/operation/delete_prepared_statement/builders.rs b/sdk/athena/src/operation/delete_prepared_statement/builders.rs index 44c7d789b92f..50eb9be2f840 100644 --- a/sdk/athena/src/operation/delete_prepared_statement/builders.rs +++ b/sdk/athena/src/operation/delete_prepared_statement/builders.rs @@ -20,9 +20,9 @@ impl DeletePreparedStatementFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -84,6 +84,22 @@ impl DeletePreparedStatementFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::delete_prepared_statement::DeletePreparedStatement, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::delete_prepared_statement::DeletePreparedStatementError, + >, + > { + self.customize_middleware().await + } ///

The name of the prepared statement to delete.

pub fn statement_name( mut self, diff --git a/sdk/athena/src/operation/delete_work_group/builders.rs b/sdk/athena/src/operation/delete_work_group/builders.rs index dd622c5b86d4..e1d78d27181d 100644 --- a/sdk/athena/src/operation/delete_work_group/builders.rs +++ b/sdk/athena/src/operation/delete_work_group/builders.rs @@ -19,9 +19,9 @@ impl DeleteWorkGroupFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl DeleteWorkGroupFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::delete_work_group::DeleteWorkGroup, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::delete_work_group::DeleteWorkGroupError, + >, + > { + self.customize_middleware().await + } ///

The unique name of the workgroup to delete.

pub fn work_group(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.work_group(input.into()); diff --git a/sdk/athena/src/operation/export_notebook/builders.rs b/sdk/athena/src/operation/export_notebook/builders.rs index 226c69a04690..d1114379238b 100644 --- a/sdk/athena/src/operation/export_notebook/builders.rs +++ b/sdk/athena/src/operation/export_notebook/builders.rs @@ -19,9 +19,9 @@ impl ExportNotebookFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl ExportNotebookFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::export_notebook::ExportNotebook, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

The ID of the notebook to export.

pub fn notebook_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.notebook_id(input.into()); diff --git a/sdk/athena/src/operation/get_calculation_execution/builders.rs b/sdk/athena/src/operation/get_calculation_execution/builders.rs index e7da58451b63..6846aede7af9 100644 --- a/sdk/athena/src/operation/get_calculation_execution/builders.rs +++ b/sdk/athena/src/operation/get_calculation_execution/builders.rs @@ -20,9 +20,9 @@ impl GetCalculationExecutionFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -84,6 +84,22 @@ impl GetCalculationExecutionFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::get_calculation_execution::GetCalculationExecution, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::get_calculation_execution::GetCalculationExecutionError, + >, + > { + self.customize_middleware().await + } ///

The calculation execution UUID.

pub fn calculation_execution_id( mut self, diff --git a/sdk/athena/src/operation/get_calculation_execution_code/builders.rs b/sdk/athena/src/operation/get_calculation_execution_code/builders.rs index fedfa379122b..ac954ca3e054 100644 --- a/sdk/athena/src/operation/get_calculation_execution_code/builders.rs +++ b/sdk/athena/src/operation/get_calculation_execution_code/builders.rs @@ -19,9 +19,9 @@ impl GetCalculationExecutionCodeFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl GetCalculationExecutionCodeFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::get_calculation_execution_code::GetCalculationExecutionCode, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::get_calculation_execution_code::GetCalculationExecutionCodeError, + >, + > { + self.customize_middleware().await + } ///

The calculation execution UUID.

pub fn calculation_execution_id( mut self, diff --git a/sdk/athena/src/operation/get_calculation_execution_status/builders.rs b/sdk/athena/src/operation/get_calculation_execution_status/builders.rs index 1ca75cd53fc4..abdadc4b6918 100644 --- a/sdk/athena/src/operation/get_calculation_execution_status/builders.rs +++ b/sdk/athena/src/operation/get_calculation_execution_status/builders.rs @@ -19,9 +19,9 @@ impl GetCalculationExecutionStatusFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl GetCalculationExecutionStatusFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::get_calculation_execution_status::GetCalculationExecutionStatus, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::get_calculation_execution_status::GetCalculationExecutionStatusError, + >, + > { + self.customize_middleware().await + } ///

The calculation execution UUID.

pub fn calculation_execution_id( mut self, diff --git a/sdk/athena/src/operation/get_capacity_assignment_configuration/builders.rs b/sdk/athena/src/operation/get_capacity_assignment_configuration/builders.rs index f517a567681b..5c6f82fee57c 100644 --- a/sdk/athena/src/operation/get_capacity_assignment_configuration/builders.rs +++ b/sdk/athena/src/operation/get_capacity_assignment_configuration/builders.rs @@ -19,9 +19,9 @@ impl GetCapacityAssignmentConfigurationFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize(self) -> ::std::result::Result< + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware(self) -> ::std::result::Result< crate::client::customize::CustomizableOperation, ::aws_smithy_http::result::SdkError >{ @@ -64,6 +64,15 @@ impl GetCapacityAssignmentConfigurationFluentBuilder { { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize(self) -> ::std::result::Result< + crate::client::customize::CustomizableOperation, + ::aws_smithy_http::result::SdkError + >{ + self.customize_middleware().await + } ///

The name of the capacity reservation to retrieve the capacity assignment configuration for.

pub fn capacity_reservation_name( mut self, diff --git a/sdk/athena/src/operation/get_capacity_reservation/builders.rs b/sdk/athena/src/operation/get_capacity_reservation/builders.rs index 37837ddcf065..2bc15b49cbae 100644 --- a/sdk/athena/src/operation/get_capacity_reservation/builders.rs +++ b/sdk/athena/src/operation/get_capacity_reservation/builders.rs @@ -19,9 +19,9 @@ impl GetCapacityReservationFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl GetCapacityReservationFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::get_capacity_reservation::GetCapacityReservation, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::get_capacity_reservation::GetCapacityReservationError, + >, + > { + self.customize_middleware().await + } ///

The name of the capacity reservation.

pub fn name(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.name(input.into()); diff --git a/sdk/athena/src/operation/get_data_catalog/builders.rs b/sdk/athena/src/operation/get_data_catalog/builders.rs index 2bbe10d0dab1..37ff7b3f66a3 100644 --- a/sdk/athena/src/operation/get_data_catalog/builders.rs +++ b/sdk/athena/src/operation/get_data_catalog/builders.rs @@ -19,9 +19,9 @@ impl GetDataCatalogFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl GetDataCatalogFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::get_data_catalog::GetDataCatalog, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::get_data_catalog::GetDataCatalogError, + >, + > { + self.customize_middleware().await + } ///

The name of the data catalog to return.

pub fn name(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.name(input.into()); diff --git a/sdk/athena/src/operation/get_database/builders.rs b/sdk/athena/src/operation/get_database/builders.rs index 187a5261ea65..2b661b5be67d 100644 --- a/sdk/athena/src/operation/get_database/builders.rs +++ b/sdk/athena/src/operation/get_database/builders.rs @@ -19,9 +19,9 @@ impl GetDatabaseFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl GetDatabaseFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::get_database::GetDatabase, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

The name of the data catalog that contains the database to return.

pub fn catalog_name(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.catalog_name(input.into()); diff --git a/sdk/athena/src/operation/get_named_query/builders.rs b/sdk/athena/src/operation/get_named_query/builders.rs index 21a5ec9517ed..258efeebf85a 100644 --- a/sdk/athena/src/operation/get_named_query/builders.rs +++ b/sdk/athena/src/operation/get_named_query/builders.rs @@ -19,9 +19,9 @@ impl GetNamedQueryFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl GetNamedQueryFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::get_named_query::GetNamedQuery, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

The unique ID of the query. Use ListNamedQueries to get query IDs.

pub fn named_query_id( mut self, diff --git a/sdk/athena/src/operation/get_notebook_metadata/builders.rs b/sdk/athena/src/operation/get_notebook_metadata/builders.rs index bf2938e997f1..336458cd019f 100644 --- a/sdk/athena/src/operation/get_notebook_metadata/builders.rs +++ b/sdk/athena/src/operation/get_notebook_metadata/builders.rs @@ -19,9 +19,9 @@ impl GetNotebookMetadataFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl GetNotebookMetadataFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::get_notebook_metadata::GetNotebookMetadata, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::get_notebook_metadata::GetNotebookMetadataError, + >, + > { + self.customize_middleware().await + } ///

The ID of the notebook whose metadata is to be retrieved.

pub fn notebook_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.notebook_id(input.into()); diff --git a/sdk/athena/src/operation/get_prepared_statement/builders.rs b/sdk/athena/src/operation/get_prepared_statement/builders.rs index 43b4a52bf381..30e86a84a93d 100644 --- a/sdk/athena/src/operation/get_prepared_statement/builders.rs +++ b/sdk/athena/src/operation/get_prepared_statement/builders.rs @@ -19,9 +19,9 @@ impl GetPreparedStatementFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl GetPreparedStatementFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::get_prepared_statement::GetPreparedStatement, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::get_prepared_statement::GetPreparedStatementError, + >, + > { + self.customize_middleware().await + } ///

The name of the prepared statement to retrieve.

pub fn statement_name( mut self, diff --git a/sdk/athena/src/operation/get_query_execution/builders.rs b/sdk/athena/src/operation/get_query_execution/builders.rs index 5e08afc3d6aa..53484c285741 100644 --- a/sdk/athena/src/operation/get_query_execution/builders.rs +++ b/sdk/athena/src/operation/get_query_execution/builders.rs @@ -19,9 +19,9 @@ impl GetQueryExecutionFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl GetQueryExecutionFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::get_query_execution::GetQueryExecution, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::get_query_execution::GetQueryExecutionError, + >, + > { + self.customize_middleware().await + } ///

The unique ID of the query execution.

pub fn query_execution_id( mut self, diff --git a/sdk/athena/src/operation/get_query_results/builders.rs b/sdk/athena/src/operation/get_query_results/builders.rs index aa926a44b4c0..807ae73e9ecd 100644 --- a/sdk/athena/src/operation/get_query_results/builders.rs +++ b/sdk/athena/src/operation/get_query_results/builders.rs @@ -22,9 +22,9 @@ impl GetQueryResultsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -86,6 +86,22 @@ impl GetQueryResultsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::get_query_results::GetQueryResults, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::get_query_results::GetQueryResultsError, + >, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::get_query_results::paginator::GetQueryResultsPaginator::send) which returns a `Stream`. diff --git a/sdk/athena/src/operation/get_query_runtime_statistics/builders.rs b/sdk/athena/src/operation/get_query_runtime_statistics/builders.rs index e8715b2e5f71..13aa8a445fd0 100644 --- a/sdk/athena/src/operation/get_query_runtime_statistics/builders.rs +++ b/sdk/athena/src/operation/get_query_runtime_statistics/builders.rs @@ -19,9 +19,9 @@ impl GetQueryRuntimeStatisticsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl GetQueryRuntimeStatisticsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::get_query_runtime_statistics::GetQueryRuntimeStatistics, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::get_query_runtime_statistics::GetQueryRuntimeStatisticsError, + >, + > { + self.customize_middleware().await + } ///

The unique ID of the query execution.

pub fn query_execution_id( mut self, diff --git a/sdk/athena/src/operation/get_session/builders.rs b/sdk/athena/src/operation/get_session/builders.rs index dddb4f1f2614..7cbdd2da0d63 100644 --- a/sdk/athena/src/operation/get_session/builders.rs +++ b/sdk/athena/src/operation/get_session/builders.rs @@ -19,9 +19,9 @@ impl GetSessionFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl GetSessionFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::get_session::GetSession, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

The session ID.

pub fn session_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.session_id(input.into()); diff --git a/sdk/athena/src/operation/get_session_status/builders.rs b/sdk/athena/src/operation/get_session_status/builders.rs index 71e8c4bb9d63..af2095f0af95 100644 --- a/sdk/athena/src/operation/get_session_status/builders.rs +++ b/sdk/athena/src/operation/get_session_status/builders.rs @@ -19,9 +19,9 @@ impl GetSessionStatusFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl GetSessionStatusFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::get_session_status::GetSessionStatus, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::get_session_status::GetSessionStatusError, + >, + > { + self.customize_middleware().await + } ///

The session ID.

pub fn session_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.session_id(input.into()); diff --git a/sdk/athena/src/operation/get_table_metadata/builders.rs b/sdk/athena/src/operation/get_table_metadata/builders.rs index 223c5ca2cfe8..b61031133ea4 100644 --- a/sdk/athena/src/operation/get_table_metadata/builders.rs +++ b/sdk/athena/src/operation/get_table_metadata/builders.rs @@ -19,9 +19,9 @@ impl GetTableMetadataFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl GetTableMetadataFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::get_table_metadata::GetTableMetadata, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::get_table_metadata::GetTableMetadataError, + >, + > { + self.customize_middleware().await + } ///

The name of the data catalog that contains the database and table metadata to return.

pub fn catalog_name(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.catalog_name(input.into()); diff --git a/sdk/athena/src/operation/get_work_group/builders.rs b/sdk/athena/src/operation/get_work_group/builders.rs index 61ce8aac59ab..9af62555ed8d 100644 --- a/sdk/athena/src/operation/get_work_group/builders.rs +++ b/sdk/athena/src/operation/get_work_group/builders.rs @@ -19,9 +19,9 @@ impl GetWorkGroupFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl GetWorkGroupFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::get_work_group::GetWorkGroup, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

The name of the workgroup.

pub fn work_group(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.work_group(input.into()); diff --git a/sdk/athena/src/operation/import_notebook/builders.rs b/sdk/athena/src/operation/import_notebook/builders.rs index 84311ff737ff..3ce4e746b89c 100644 --- a/sdk/athena/src/operation/import_notebook/builders.rs +++ b/sdk/athena/src/operation/import_notebook/builders.rs @@ -19,9 +19,9 @@ impl ImportNotebookFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl ImportNotebookFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::import_notebook::ImportNotebook, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

The name of the Spark enabled workgroup to import the notebook to.

pub fn work_group(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.work_group(input.into()); diff --git a/sdk/athena/src/operation/list_application_dpu_sizes/builders.rs b/sdk/athena/src/operation/list_application_dpu_sizes/builders.rs index fc3a14746ee7..9b0519cc0e74 100644 --- a/sdk/athena/src/operation/list_application_dpu_sizes/builders.rs +++ b/sdk/athena/src/operation/list_application_dpu_sizes/builders.rs @@ -20,9 +20,9 @@ impl ListApplicationDPUSizesFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -84,6 +84,22 @@ impl ListApplicationDPUSizesFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_application_dpu_sizes::ListApplicationDPUSizes, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::list_application_dpu_sizes::ListApplicationDPUSizesError, + >, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::list_application_dpu_sizes::paginator::ListApplicationDpuSizesPaginator::send) which returns a `Stream`. diff --git a/sdk/athena/src/operation/list_calculation_executions/builders.rs b/sdk/athena/src/operation/list_calculation_executions/builders.rs index 9398f2760f8b..96b3f2853a91 100644 --- a/sdk/athena/src/operation/list_calculation_executions/builders.rs +++ b/sdk/athena/src/operation/list_calculation_executions/builders.rs @@ -19,9 +19,9 @@ impl ListCalculationExecutionsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl ListCalculationExecutionsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_calculation_executions::ListCalculationExecutions, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::list_calculation_executions::ListCalculationExecutionsError, + >, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::list_calculation_executions::paginator::ListCalculationExecutionsPaginator::send) which returns a `Stream`. diff --git a/sdk/athena/src/operation/list_capacity_reservations/builders.rs b/sdk/athena/src/operation/list_capacity_reservations/builders.rs index 7c1903a5722f..0e99ab085926 100644 --- a/sdk/athena/src/operation/list_capacity_reservations/builders.rs +++ b/sdk/athena/src/operation/list_capacity_reservations/builders.rs @@ -19,9 +19,9 @@ impl ListCapacityReservationsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl ListCapacityReservationsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_capacity_reservations::ListCapacityReservations, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::list_capacity_reservations::ListCapacityReservationsError, + >, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::list_capacity_reservations::paginator::ListCapacityReservationsPaginator::send) which returns a `Stream`. diff --git a/sdk/athena/src/operation/list_data_catalogs/builders.rs b/sdk/athena/src/operation/list_data_catalogs/builders.rs index ec5b97e09b2e..45dc12e52454 100644 --- a/sdk/athena/src/operation/list_data_catalogs/builders.rs +++ b/sdk/athena/src/operation/list_data_catalogs/builders.rs @@ -21,9 +21,9 @@ impl ListDataCatalogsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -85,6 +85,22 @@ impl ListDataCatalogsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_data_catalogs::ListDataCatalogs, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::list_data_catalogs::ListDataCatalogsError, + >, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::list_data_catalogs::paginator::ListDataCatalogsPaginator::send) which returns a `Stream`. diff --git a/sdk/athena/src/operation/list_databases/builders.rs b/sdk/athena/src/operation/list_databases/builders.rs index e44ce38086dc..38ffb2512fca 100644 --- a/sdk/athena/src/operation/list_databases/builders.rs +++ b/sdk/athena/src/operation/list_databases/builders.rs @@ -19,9 +19,9 @@ impl ListDatabasesFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl ListDatabasesFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_databases::ListDatabases, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::list_databases::paginator::ListDatabasesPaginator::send) which returns a `Stream`. diff --git a/sdk/athena/src/operation/list_engine_versions/builders.rs b/sdk/athena/src/operation/list_engine_versions/builders.rs index e259fb7e1736..6c505ef1346e 100644 --- a/sdk/athena/src/operation/list_engine_versions/builders.rs +++ b/sdk/athena/src/operation/list_engine_versions/builders.rs @@ -19,9 +19,9 @@ impl ListEngineVersionsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl ListEngineVersionsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_engine_versions::ListEngineVersions, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::list_engine_versions::ListEngineVersionsError, + >, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::list_engine_versions::paginator::ListEngineVersionsPaginator::send) which returns a `Stream`. diff --git a/sdk/athena/src/operation/list_executors/builders.rs b/sdk/athena/src/operation/list_executors/builders.rs index 503f58438449..87614f972deb 100644 --- a/sdk/athena/src/operation/list_executors/builders.rs +++ b/sdk/athena/src/operation/list_executors/builders.rs @@ -19,9 +19,9 @@ impl ListExecutorsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl ListExecutorsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_executors::ListExecutors, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::list_executors::paginator::ListExecutorsPaginator::send) which returns a `Stream`. diff --git a/sdk/athena/src/operation/list_named_queries/builders.rs b/sdk/athena/src/operation/list_named_queries/builders.rs index b3e154de27aa..132362fbbcad 100644 --- a/sdk/athena/src/operation/list_named_queries/builders.rs +++ b/sdk/athena/src/operation/list_named_queries/builders.rs @@ -20,9 +20,9 @@ impl ListNamedQueriesFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -84,6 +84,22 @@ impl ListNamedQueriesFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_named_queries::ListNamedQueries, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::list_named_queries::ListNamedQueriesError, + >, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::list_named_queries::paginator::ListNamedQueriesPaginator::send) which returns a `Stream`. diff --git a/sdk/athena/src/operation/list_notebook_metadata/builders.rs b/sdk/athena/src/operation/list_notebook_metadata/builders.rs index af57a1196b3f..c32692f90c38 100644 --- a/sdk/athena/src/operation/list_notebook_metadata/builders.rs +++ b/sdk/athena/src/operation/list_notebook_metadata/builders.rs @@ -19,9 +19,9 @@ impl ListNotebookMetadataFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl ListNotebookMetadataFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_notebook_metadata::ListNotebookMetadata, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::list_notebook_metadata::ListNotebookMetadataError, + >, + > { + self.customize_middleware().await + } ///

Search filter string.

pub fn filters(mut self, input: crate::types::FilterDefinition) -> Self { self.inner = self.inner.filters(input); diff --git a/sdk/athena/src/operation/list_notebook_sessions/builders.rs b/sdk/athena/src/operation/list_notebook_sessions/builders.rs index b47ddb8403c4..db08c3f947e9 100644 --- a/sdk/athena/src/operation/list_notebook_sessions/builders.rs +++ b/sdk/athena/src/operation/list_notebook_sessions/builders.rs @@ -19,9 +19,9 @@ impl ListNotebookSessionsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl ListNotebookSessionsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_notebook_sessions::ListNotebookSessions, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::list_notebook_sessions::ListNotebookSessionsError, + >, + > { + self.customize_middleware().await + } ///

The ID of the notebook to list sessions for.

pub fn notebook_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.notebook_id(input.into()); diff --git a/sdk/athena/src/operation/list_prepared_statements/builders.rs b/sdk/athena/src/operation/list_prepared_statements/builders.rs index 73799ac823df..5889330dc01a 100644 --- a/sdk/athena/src/operation/list_prepared_statements/builders.rs +++ b/sdk/athena/src/operation/list_prepared_statements/builders.rs @@ -19,9 +19,9 @@ impl ListPreparedStatementsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl ListPreparedStatementsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_prepared_statements::ListPreparedStatements, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::list_prepared_statements::ListPreparedStatementsError, + >, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::list_prepared_statements::paginator::ListPreparedStatementsPaginator::send) which returns a `Stream`. diff --git a/sdk/athena/src/operation/list_query_executions/builders.rs b/sdk/athena/src/operation/list_query_executions/builders.rs index 9f216d56bfeb..bb2bc4fe89f2 100644 --- a/sdk/athena/src/operation/list_query_executions/builders.rs +++ b/sdk/athena/src/operation/list_query_executions/builders.rs @@ -20,9 +20,9 @@ impl ListQueryExecutionsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -84,6 +84,22 @@ impl ListQueryExecutionsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_query_executions::ListQueryExecutions, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::list_query_executions::ListQueryExecutionsError, + >, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::list_query_executions::paginator::ListQueryExecutionsPaginator::send) which returns a `Stream`. diff --git a/sdk/athena/src/operation/list_sessions/builders.rs b/sdk/athena/src/operation/list_sessions/builders.rs index ad44def694f2..4ed8ad6e1a02 100644 --- a/sdk/athena/src/operation/list_sessions/builders.rs +++ b/sdk/athena/src/operation/list_sessions/builders.rs @@ -19,9 +19,9 @@ impl ListSessionsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl ListSessionsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_sessions::ListSessions, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::list_sessions::paginator::ListSessionsPaginator::send) which returns a `Stream`. diff --git a/sdk/athena/src/operation/list_table_metadata/builders.rs b/sdk/athena/src/operation/list_table_metadata/builders.rs index c1764764a34d..bbb176755550 100644 --- a/sdk/athena/src/operation/list_table_metadata/builders.rs +++ b/sdk/athena/src/operation/list_table_metadata/builders.rs @@ -19,9 +19,9 @@ impl ListTableMetadataFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl ListTableMetadataFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_table_metadata::ListTableMetadata, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::list_table_metadata::ListTableMetadataError, + >, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::list_table_metadata::paginator::ListTableMetadataPaginator::send) which returns a `Stream`. diff --git a/sdk/athena/src/operation/list_tags_for_resource/builders.rs b/sdk/athena/src/operation/list_tags_for_resource/builders.rs index 0af9b609eb0b..26f1a264b35d 100644 --- a/sdk/athena/src/operation/list_tags_for_resource/builders.rs +++ b/sdk/athena/src/operation/list_tags_for_resource/builders.rs @@ -19,9 +19,9 @@ impl ListTagsForResourceFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl ListTagsForResourceFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_tags_for_resource::ListTagsForResource, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::list_tags_for_resource::ListTagsForResourceError, + >, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::list_tags_for_resource::paginator::ListTagsForResourcePaginator::send) which returns a `Stream`. diff --git a/sdk/athena/src/operation/list_work_groups/builders.rs b/sdk/athena/src/operation/list_work_groups/builders.rs index 1e291abc2277..9be3d4bc7765 100644 --- a/sdk/athena/src/operation/list_work_groups/builders.rs +++ b/sdk/athena/src/operation/list_work_groups/builders.rs @@ -19,9 +19,9 @@ impl ListWorkGroupsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl ListWorkGroupsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_work_groups::ListWorkGroups, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::list_work_groups::ListWorkGroupsError, + >, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::list_work_groups::paginator::ListWorkGroupsPaginator::send) which returns a `Stream`. diff --git a/sdk/athena/src/operation/put_capacity_assignment_configuration/builders.rs b/sdk/athena/src/operation/put_capacity_assignment_configuration/builders.rs index 64a9f9a460cc..d6415352cebb 100644 --- a/sdk/athena/src/operation/put_capacity_assignment_configuration/builders.rs +++ b/sdk/athena/src/operation/put_capacity_assignment_configuration/builders.rs @@ -19,9 +19,9 @@ impl PutCapacityAssignmentConfigurationFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize(self) -> ::std::result::Result< + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware(self) -> ::std::result::Result< crate::client::customize::CustomizableOperation, ::aws_smithy_http::result::SdkError >{ @@ -64,6 +64,15 @@ impl PutCapacityAssignmentConfigurationFluentBuilder { { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize(self) -> ::std::result::Result< + crate::client::customize::CustomizableOperation, + ::aws_smithy_http::result::SdkError + >{ + self.customize_middleware().await + } ///

The name of the capacity reservation to put a capacity assignment configuration for.

pub fn capacity_reservation_name( mut self, diff --git a/sdk/athena/src/operation/start_calculation_execution/builders.rs b/sdk/athena/src/operation/start_calculation_execution/builders.rs index 84efce00ae99..99cf24d2cabc 100644 --- a/sdk/athena/src/operation/start_calculation_execution/builders.rs +++ b/sdk/athena/src/operation/start_calculation_execution/builders.rs @@ -19,9 +19,9 @@ impl StartCalculationExecutionFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl StartCalculationExecutionFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::start_calculation_execution::StartCalculationExecution, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::start_calculation_execution::StartCalculationExecutionError, + >, + > { + self.customize_middleware().await + } ///

The session ID.

pub fn session_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.session_id(input.into()); diff --git a/sdk/athena/src/operation/start_query_execution/builders.rs b/sdk/athena/src/operation/start_query_execution/builders.rs index b4c3417c358e..40734dd5ba2f 100644 --- a/sdk/athena/src/operation/start_query_execution/builders.rs +++ b/sdk/athena/src/operation/start_query_execution/builders.rs @@ -19,9 +19,9 @@ impl StartQueryExecutionFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl StartQueryExecutionFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::start_query_execution::StartQueryExecution, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::start_query_execution::StartQueryExecutionError, + >, + > { + self.customize_middleware().await + } ///

The SQL query statements to be executed.

pub fn query_string(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.query_string(input.into()); diff --git a/sdk/athena/src/operation/start_session/builders.rs b/sdk/athena/src/operation/start_session/builders.rs index 321bdf8e6c8d..b09833126675 100644 --- a/sdk/athena/src/operation/start_session/builders.rs +++ b/sdk/athena/src/operation/start_session/builders.rs @@ -19,9 +19,9 @@ impl StartSessionFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl StartSessionFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::start_session::StartSession, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

The session description.

pub fn description(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.description(input.into()); diff --git a/sdk/athena/src/operation/stop_calculation_execution/builders.rs b/sdk/athena/src/operation/stop_calculation_execution/builders.rs index a6cd4305c59a..f06685677558 100644 --- a/sdk/athena/src/operation/stop_calculation_execution/builders.rs +++ b/sdk/athena/src/operation/stop_calculation_execution/builders.rs @@ -21,9 +21,9 @@ impl StopCalculationExecutionFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -85,6 +85,22 @@ impl StopCalculationExecutionFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::stop_calculation_execution::StopCalculationExecution, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::stop_calculation_execution::StopCalculationExecutionError, + >, + > { + self.customize_middleware().await + } ///

The calculation execution UUID.

pub fn calculation_execution_id( mut self, diff --git a/sdk/athena/src/operation/stop_query_execution/builders.rs b/sdk/athena/src/operation/stop_query_execution/builders.rs index 30547ddafa1b..669e622030cc 100644 --- a/sdk/athena/src/operation/stop_query_execution/builders.rs +++ b/sdk/athena/src/operation/stop_query_execution/builders.rs @@ -20,9 +20,9 @@ impl StopQueryExecutionFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -84,6 +84,22 @@ impl StopQueryExecutionFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::stop_query_execution::StopQueryExecution, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::stop_query_execution::StopQueryExecutionError, + >, + > { + self.customize_middleware().await + } ///

The unique ID of the query execution to stop.

pub fn query_execution_id( mut self, diff --git a/sdk/athena/src/operation/tag_resource/builders.rs b/sdk/athena/src/operation/tag_resource/builders.rs index a1d2e0bae042..c29ff784ada9 100644 --- a/sdk/athena/src/operation/tag_resource/builders.rs +++ b/sdk/athena/src/operation/tag_resource/builders.rs @@ -19,9 +19,9 @@ impl TagResourceFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl TagResourceFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::tag_resource::TagResource, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

Specifies the ARN of the Athena resource to which tags are to be added.

pub fn resource_arn(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.resource_arn(input.into()); diff --git a/sdk/athena/src/operation/terminate_session/builders.rs b/sdk/athena/src/operation/terminate_session/builders.rs index f4267eadd271..34725788600f 100644 --- a/sdk/athena/src/operation/terminate_session/builders.rs +++ b/sdk/athena/src/operation/terminate_session/builders.rs @@ -19,9 +19,9 @@ impl TerminateSessionFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl TerminateSessionFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::terminate_session::TerminateSession, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::terminate_session::TerminateSessionError, + >, + > { + self.customize_middleware().await + } ///

The session ID.

pub fn session_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.session_id(input.into()); diff --git a/sdk/athena/src/operation/untag_resource/builders.rs b/sdk/athena/src/operation/untag_resource/builders.rs index 251d8727f52b..c34a16c01890 100644 --- a/sdk/athena/src/operation/untag_resource/builders.rs +++ b/sdk/athena/src/operation/untag_resource/builders.rs @@ -19,9 +19,9 @@ impl UntagResourceFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl UntagResourceFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::untag_resource::UntagResource, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

Specifies the ARN of the resource from which tags are to be removed.

pub fn resource_arn(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.resource_arn(input.into()); diff --git a/sdk/athena/src/operation/update_capacity_reservation/builders.rs b/sdk/athena/src/operation/update_capacity_reservation/builders.rs index 5de5710f3362..a2242b8d5a40 100644 --- a/sdk/athena/src/operation/update_capacity_reservation/builders.rs +++ b/sdk/athena/src/operation/update_capacity_reservation/builders.rs @@ -19,9 +19,9 @@ impl UpdateCapacityReservationFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl UpdateCapacityReservationFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::update_capacity_reservation::UpdateCapacityReservation, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::update_capacity_reservation::UpdateCapacityReservationError, + >, + > { + self.customize_middleware().await + } ///

The new number of requested data processing units.

pub fn target_dpus(mut self, input: i32) -> Self { self.inner = self.inner.target_dpus(input); diff --git a/sdk/athena/src/operation/update_data_catalog/builders.rs b/sdk/athena/src/operation/update_data_catalog/builders.rs index 2fef7c1c5eab..2fa5120a7d5d 100644 --- a/sdk/athena/src/operation/update_data_catalog/builders.rs +++ b/sdk/athena/src/operation/update_data_catalog/builders.rs @@ -19,9 +19,9 @@ impl UpdateDataCatalogFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl UpdateDataCatalogFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::update_data_catalog::UpdateDataCatalog, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::update_data_catalog::UpdateDataCatalogError, + >, + > { + self.customize_middleware().await + } ///

The name of the data catalog to update. The catalog name must be unique for the Amazon Web Services account and can use a maximum of 127 alphanumeric, underscore, at sign, or hyphen characters. The remainder of the length constraint of 256 is reserved for use by Athena.

pub fn name(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.name(input.into()); diff --git a/sdk/athena/src/operation/update_named_query/builders.rs b/sdk/athena/src/operation/update_named_query/builders.rs index 3d3104c88f9a..bf5aad1d4609 100644 --- a/sdk/athena/src/operation/update_named_query/builders.rs +++ b/sdk/athena/src/operation/update_named_query/builders.rs @@ -19,9 +19,9 @@ impl UpdateNamedQueryFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl UpdateNamedQueryFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::update_named_query::UpdateNamedQuery, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::update_named_query::UpdateNamedQueryError, + >, + > { + self.customize_middleware().await + } ///

The unique identifier (UUID) of the query.

pub fn named_query_id( mut self, diff --git a/sdk/athena/src/operation/update_notebook/builders.rs b/sdk/athena/src/operation/update_notebook/builders.rs index 09f20a465c9f..48914eae8375 100644 --- a/sdk/athena/src/operation/update_notebook/builders.rs +++ b/sdk/athena/src/operation/update_notebook/builders.rs @@ -19,9 +19,9 @@ impl UpdateNotebookFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl UpdateNotebookFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::update_notebook::UpdateNotebook, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

The ID of the notebook to update.

pub fn notebook_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.notebook_id(input.into()); diff --git a/sdk/athena/src/operation/update_notebook_metadata/builders.rs b/sdk/athena/src/operation/update_notebook_metadata/builders.rs index 8d2edaf7bb3b..2bfb56ecf005 100644 --- a/sdk/athena/src/operation/update_notebook_metadata/builders.rs +++ b/sdk/athena/src/operation/update_notebook_metadata/builders.rs @@ -19,9 +19,9 @@ impl UpdateNotebookMetadataFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl UpdateNotebookMetadataFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::update_notebook_metadata::UpdateNotebookMetadata, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::update_notebook_metadata::UpdateNotebookMetadataError, + >, + > { + self.customize_middleware().await + } ///

The ID of the notebook to update the metadata for.

pub fn notebook_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.notebook_id(input.into()); diff --git a/sdk/athena/src/operation/update_prepared_statement/builders.rs b/sdk/athena/src/operation/update_prepared_statement/builders.rs index c2a8a91955e4..ef6e5bba240d 100644 --- a/sdk/athena/src/operation/update_prepared_statement/builders.rs +++ b/sdk/athena/src/operation/update_prepared_statement/builders.rs @@ -20,9 +20,9 @@ impl UpdatePreparedStatementFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -84,6 +84,22 @@ impl UpdatePreparedStatementFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::update_prepared_statement::UpdatePreparedStatement, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::update_prepared_statement::UpdatePreparedStatementError, + >, + > { + self.customize_middleware().await + } ///

The name of the prepared statement.

pub fn statement_name( mut self, diff --git a/sdk/athena/src/operation/update_work_group/builders.rs b/sdk/athena/src/operation/update_work_group/builders.rs index 3ac4445c3764..07b7f7f223e4 100644 --- a/sdk/athena/src/operation/update_work_group/builders.rs +++ b/sdk/athena/src/operation/update_work_group/builders.rs @@ -19,9 +19,9 @@ impl UpdateWorkGroupFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl UpdateWorkGroupFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::update_work_group::UpdateWorkGroup, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::update_work_group::UpdateWorkGroupError, + >, + > { + self.customize_middleware().await + } ///

The specified workgroup that will be updated.

pub fn work_group(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.work_group(input.into()); diff --git a/sdk/auditmanager/src/operation/associate_assessment_report_evidence_folder/builders.rs b/sdk/auditmanager/src/operation/associate_assessment_report_evidence_folder/builders.rs index be966955b28a..b349af314e9b 100644 --- a/sdk/auditmanager/src/operation/associate_assessment_report_evidence_folder/builders.rs +++ b/sdk/auditmanager/src/operation/associate_assessment_report_evidence_folder/builders.rs @@ -19,9 +19,9 @@ impl AssociateAssessmentReportEvidenceFolderFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize(self) -> ::std::result::Result< + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware(self) -> ::std::result::Result< crate::client::customize::CustomizableOperation, ::aws_smithy_http::result::SdkError >{ @@ -64,6 +64,15 @@ impl AssociateAssessmentReportEvidenceFolderFluentBuilder { { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize(self) -> ::std::result::Result< + crate::client::customize::CustomizableOperation, + ::aws_smithy_http::result::SdkError + >{ + self.customize_middleware().await + } ///

The identifier for the assessment.

pub fn assessment_id( mut self, diff --git a/sdk/auditmanager/src/operation/batch_associate_assessment_report_evidence/builders.rs b/sdk/auditmanager/src/operation/batch_associate_assessment_report_evidence/builders.rs index ce57e6f0e7b3..42d5556e8a75 100644 --- a/sdk/auditmanager/src/operation/batch_associate_assessment_report_evidence/builders.rs +++ b/sdk/auditmanager/src/operation/batch_associate_assessment_report_evidence/builders.rs @@ -19,9 +19,9 @@ impl BatchAssociateAssessmentReportEvidenceFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize(self) -> ::std::result::Result< + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware(self) -> ::std::result::Result< crate::client::customize::CustomizableOperation, ::aws_smithy_http::result::SdkError >{ @@ -64,6 +64,15 @@ impl BatchAssociateAssessmentReportEvidenceFluentBuilder { { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize(self) -> ::std::result::Result< + crate::client::customize::CustomizableOperation, + ::aws_smithy_http::result::SdkError + >{ + self.customize_middleware().await + } ///

The identifier for the assessment.

pub fn assessment_id( mut self, diff --git a/sdk/auditmanager/src/operation/batch_create_delegation_by_assessment/builders.rs b/sdk/auditmanager/src/operation/batch_create_delegation_by_assessment/builders.rs index 7ab315ccaf64..347513b6cc6e 100644 --- a/sdk/auditmanager/src/operation/batch_create_delegation_by_assessment/builders.rs +++ b/sdk/auditmanager/src/operation/batch_create_delegation_by_assessment/builders.rs @@ -19,9 +19,9 @@ impl BatchCreateDelegationByAssessmentFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize(self) -> ::std::result::Result< + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware(self) -> ::std::result::Result< crate::client::customize::CustomizableOperation, ::aws_smithy_http::result::SdkError >{ @@ -64,6 +64,15 @@ impl BatchCreateDelegationByAssessmentFluentBuilder { { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize(self) -> ::std::result::Result< + crate::client::customize::CustomizableOperation, + ::aws_smithy_http::result::SdkError + >{ + self.customize_middleware().await + } /// Appends an item to `createDelegationRequests`. /// /// To override the contents of this collection use [`set_create_delegation_requests`](Self::set_create_delegation_requests). diff --git a/sdk/auditmanager/src/operation/batch_delete_delegation_by_assessment/builders.rs b/sdk/auditmanager/src/operation/batch_delete_delegation_by_assessment/builders.rs index f4cba7bf40ef..3f07368a792c 100644 --- a/sdk/auditmanager/src/operation/batch_delete_delegation_by_assessment/builders.rs +++ b/sdk/auditmanager/src/operation/batch_delete_delegation_by_assessment/builders.rs @@ -19,9 +19,9 @@ impl BatchDeleteDelegationByAssessmentFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize(self) -> ::std::result::Result< + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware(self) -> ::std::result::Result< crate::client::customize::CustomizableOperation, ::aws_smithy_http::result::SdkError >{ @@ -64,6 +64,15 @@ impl BatchDeleteDelegationByAssessmentFluentBuilder { { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize(self) -> ::std::result::Result< + crate::client::customize::CustomizableOperation, + ::aws_smithy_http::result::SdkError + >{ + self.customize_middleware().await + } /// Appends an item to `delegationIds`. /// /// To override the contents of this collection use [`set_delegation_ids`](Self::set_delegation_ids). diff --git a/sdk/auditmanager/src/operation/batch_disassociate_assessment_report_evidence/builders.rs b/sdk/auditmanager/src/operation/batch_disassociate_assessment_report_evidence/builders.rs index 3ac98bdbffee..27a0e010f5b0 100644 --- a/sdk/auditmanager/src/operation/batch_disassociate_assessment_report_evidence/builders.rs +++ b/sdk/auditmanager/src/operation/batch_disassociate_assessment_report_evidence/builders.rs @@ -19,9 +19,9 @@ impl BatchDisassociateAssessmentReportEvidenceFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize(self) -> ::std::result::Result< + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware(self) -> ::std::result::Result< crate::client::customize::CustomizableOperation, ::aws_smithy_http::result::SdkError >{ @@ -64,6 +64,15 @@ impl BatchDisassociateAssessmentReportEvidenceFluentBuilder { { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize(self) -> ::std::result::Result< + crate::client::customize::CustomizableOperation, + ::aws_smithy_http::result::SdkError + >{ + self.customize_middleware().await + } ///

The identifier for the assessment.

pub fn assessment_id( mut self, diff --git a/sdk/auditmanager/src/operation/batch_import_evidence_to_assessment_control/builders.rs b/sdk/auditmanager/src/operation/batch_import_evidence_to_assessment_control/builders.rs index 953851105de4..73ca989367c1 100644 --- a/sdk/auditmanager/src/operation/batch_import_evidence_to_assessment_control/builders.rs +++ b/sdk/auditmanager/src/operation/batch_import_evidence_to_assessment_control/builders.rs @@ -27,9 +27,9 @@ impl BatchImportEvidenceToAssessmentControlFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize(self) -> ::std::result::Result< + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware(self) -> ::std::result::Result< crate::client::customize::CustomizableOperation, ::aws_smithy_http::result::SdkError >{ @@ -72,6 +72,15 @@ impl BatchImportEvidenceToAssessmentControlFluentBuilder { { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize(self) -> ::std::result::Result< + crate::client::customize::CustomizableOperation, + ::aws_smithy_http::result::SdkError + >{ + self.customize_middleware().await + } ///

The identifier for the assessment.

pub fn assessment_id( mut self, diff --git a/sdk/auditmanager/src/operation/create_assessment/builders.rs b/sdk/auditmanager/src/operation/create_assessment/builders.rs index 33ebb434283f..64d667dda298 100644 --- a/sdk/auditmanager/src/operation/create_assessment/builders.rs +++ b/sdk/auditmanager/src/operation/create_assessment/builders.rs @@ -19,9 +19,9 @@ impl CreateAssessmentFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl CreateAssessmentFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::create_assessment::CreateAssessment, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::create_assessment::CreateAssessmentError, + >, + > { + self.customize_middleware().await + } ///

The name of the assessment to be created.

pub fn name(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.name(input.into()); diff --git a/sdk/auditmanager/src/operation/create_assessment_framework/builders.rs b/sdk/auditmanager/src/operation/create_assessment_framework/builders.rs index aa0a101d89f5..bf1517697611 100644 --- a/sdk/auditmanager/src/operation/create_assessment_framework/builders.rs +++ b/sdk/auditmanager/src/operation/create_assessment_framework/builders.rs @@ -19,9 +19,9 @@ impl CreateAssessmentFrameworkFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl CreateAssessmentFrameworkFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::create_assessment_framework::CreateAssessmentFramework, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::create_assessment_framework::CreateAssessmentFrameworkError, + >, + > { + self.customize_middleware().await + } ///

The name of the new custom framework.

pub fn name(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.name(input.into()); diff --git a/sdk/auditmanager/src/operation/create_assessment_report/builders.rs b/sdk/auditmanager/src/operation/create_assessment_report/builders.rs index 3167fc09cd4d..8dde7bd5fbe6 100644 --- a/sdk/auditmanager/src/operation/create_assessment_report/builders.rs +++ b/sdk/auditmanager/src/operation/create_assessment_report/builders.rs @@ -19,9 +19,9 @@ impl CreateAssessmentReportFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl CreateAssessmentReportFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::create_assessment_report::CreateAssessmentReport, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::create_assessment_report::CreateAssessmentReportError, + >, + > { + self.customize_middleware().await + } ///

The name of the new assessment report.

pub fn name(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.name(input.into()); diff --git a/sdk/auditmanager/src/operation/create_control/builders.rs b/sdk/auditmanager/src/operation/create_control/builders.rs index dbb61cb7d3a1..f7f8041e16db 100644 --- a/sdk/auditmanager/src/operation/create_control/builders.rs +++ b/sdk/auditmanager/src/operation/create_control/builders.rs @@ -19,9 +19,9 @@ impl CreateControlFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl CreateControlFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::create_control::CreateControl, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

The name of the control.

pub fn name(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.name(input.into()); diff --git a/sdk/auditmanager/src/operation/delete_assessment/builders.rs b/sdk/auditmanager/src/operation/delete_assessment/builders.rs index 88123200ee2d..2f00376183f7 100644 --- a/sdk/auditmanager/src/operation/delete_assessment/builders.rs +++ b/sdk/auditmanager/src/operation/delete_assessment/builders.rs @@ -19,9 +19,9 @@ impl DeleteAssessmentFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl DeleteAssessmentFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::delete_assessment::DeleteAssessment, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::delete_assessment::DeleteAssessmentError, + >, + > { + self.customize_middleware().await + } ///

The identifier for the assessment.

pub fn assessment_id( mut self, diff --git a/sdk/auditmanager/src/operation/delete_assessment_framework/builders.rs b/sdk/auditmanager/src/operation/delete_assessment_framework/builders.rs index bea74214ecc4..3f6acdbf45e7 100644 --- a/sdk/auditmanager/src/operation/delete_assessment_framework/builders.rs +++ b/sdk/auditmanager/src/operation/delete_assessment_framework/builders.rs @@ -19,9 +19,9 @@ impl DeleteAssessmentFrameworkFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl DeleteAssessmentFrameworkFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::delete_assessment_framework::DeleteAssessmentFramework, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::delete_assessment_framework::DeleteAssessmentFrameworkError, + >, + > { + self.customize_middleware().await + } ///

The identifier for the custom framework.

pub fn framework_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.framework_id(input.into()); diff --git a/sdk/auditmanager/src/operation/delete_assessment_framework_share/builders.rs b/sdk/auditmanager/src/operation/delete_assessment_framework_share/builders.rs index 71d339a3a7d2..46e40a46662b 100644 --- a/sdk/auditmanager/src/operation/delete_assessment_framework_share/builders.rs +++ b/sdk/auditmanager/src/operation/delete_assessment_framework_share/builders.rs @@ -19,9 +19,9 @@ impl DeleteAssessmentFrameworkShareFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize(self) -> ::std::result::Result< + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware(self) -> ::std::result::Result< crate::client::customize::CustomizableOperation, ::aws_smithy_http::result::SdkError >{ @@ -64,6 +64,15 @@ impl DeleteAssessmentFrameworkShareFluentBuilder { { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize(self) -> ::std::result::Result< + crate::client::customize::CustomizableOperation, + ::aws_smithy_http::result::SdkError + >{ + self.customize_middleware().await + } ///

The unique identifier for the share request to be deleted.

pub fn request_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.request_id(input.into()); diff --git a/sdk/auditmanager/src/operation/delete_assessment_report/builders.rs b/sdk/auditmanager/src/operation/delete_assessment_report/builders.rs index 4fcac57f37c2..9170e0ed5fed 100644 --- a/sdk/auditmanager/src/operation/delete_assessment_report/builders.rs +++ b/sdk/auditmanager/src/operation/delete_assessment_report/builders.rs @@ -26,9 +26,9 @@ impl DeleteAssessmentReportFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -90,6 +90,22 @@ impl DeleteAssessmentReportFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::delete_assessment_report::DeleteAssessmentReport, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::delete_assessment_report::DeleteAssessmentReportError, + >, + > { + self.customize_middleware().await + } ///

The unique identifier for the assessment.

pub fn assessment_id( mut self, diff --git a/sdk/auditmanager/src/operation/delete_control/builders.rs b/sdk/auditmanager/src/operation/delete_control/builders.rs index 0d713aceb636..8f88fe9a2858 100644 --- a/sdk/auditmanager/src/operation/delete_control/builders.rs +++ b/sdk/auditmanager/src/operation/delete_control/builders.rs @@ -19,9 +19,9 @@ impl DeleteControlFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl DeleteControlFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::delete_control::DeleteControl, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

The unique identifier for the control.

pub fn control_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.control_id(input.into()); diff --git a/sdk/auditmanager/src/operation/deregister_account/builders.rs b/sdk/auditmanager/src/operation/deregister_account/builders.rs index 39acacce4dc7..00cd9bb54d0e 100644 --- a/sdk/auditmanager/src/operation/deregister_account/builders.rs +++ b/sdk/auditmanager/src/operation/deregister_account/builders.rs @@ -22,9 +22,9 @@ impl DeregisterAccountFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -86,4 +86,20 @@ impl DeregisterAccountFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::deregister_account::DeregisterAccount, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::deregister_account::DeregisterAccountError, + >, + > { + self.customize_middleware().await + } } diff --git a/sdk/auditmanager/src/operation/deregister_organization_admin_account/builders.rs b/sdk/auditmanager/src/operation/deregister_organization_admin_account/builders.rs index 916834710f0f..cee32df3bf8d 100644 --- a/sdk/auditmanager/src/operation/deregister_organization_admin_account/builders.rs +++ b/sdk/auditmanager/src/operation/deregister_organization_admin_account/builders.rs @@ -34,9 +34,9 @@ impl DeregisterOrganizationAdminAccountFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize(self) -> ::std::result::Result< + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware(self) -> ::std::result::Result< crate::client::customize::CustomizableOperation, ::aws_smithy_http::result::SdkError >{ @@ -79,6 +79,15 @@ impl DeregisterOrganizationAdminAccountFluentBuilder { { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize(self) -> ::std::result::Result< + crate::client::customize::CustomizableOperation, + ::aws_smithy_http::result::SdkError + >{ + self.customize_middleware().await + } ///

The identifier for the administrator account.

pub fn admin_account_id( mut self, diff --git a/sdk/auditmanager/src/operation/disassociate_assessment_report_evidence_folder/builders.rs b/sdk/auditmanager/src/operation/disassociate_assessment_report_evidence_folder/builders.rs index eac2b894197a..e57f1e17e94a 100644 --- a/sdk/auditmanager/src/operation/disassociate_assessment_report_evidence_folder/builders.rs +++ b/sdk/auditmanager/src/operation/disassociate_assessment_report_evidence_folder/builders.rs @@ -19,9 +19,9 @@ impl DisassociateAssessmentReportEvidenceFolderFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize(self) -> ::std::result::Result< + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware(self) -> ::std::result::Result< crate::client::customize::CustomizableOperation, ::aws_smithy_http::result::SdkError >{ @@ -64,6 +64,15 @@ impl DisassociateAssessmentReportEvidenceFolderFluentBuilder { { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize(self) -> ::std::result::Result< + crate::client::customize::CustomizableOperation, + ::aws_smithy_http::result::SdkError + >{ + self.customize_middleware().await + } ///

The unique identifier for the assessment.

pub fn assessment_id( mut self, diff --git a/sdk/auditmanager/src/operation/get_account_status/builders.rs b/sdk/auditmanager/src/operation/get_account_status/builders.rs index ff4a59ff631a..f245be4b68ba 100644 --- a/sdk/auditmanager/src/operation/get_account_status/builders.rs +++ b/sdk/auditmanager/src/operation/get_account_status/builders.rs @@ -19,9 +19,9 @@ impl GetAccountStatusFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,4 +83,20 @@ impl GetAccountStatusFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::get_account_status::GetAccountStatus, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::get_account_status::GetAccountStatusError, + >, + > { + self.customize_middleware().await + } } diff --git a/sdk/auditmanager/src/operation/get_assessment/builders.rs b/sdk/auditmanager/src/operation/get_assessment/builders.rs index 11001e591278..92a02a92b3a1 100644 --- a/sdk/auditmanager/src/operation/get_assessment/builders.rs +++ b/sdk/auditmanager/src/operation/get_assessment/builders.rs @@ -19,9 +19,9 @@ impl GetAssessmentFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl GetAssessmentFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::get_assessment::GetAssessment, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

The unique identifier for the assessment.

pub fn assessment_id( mut self, diff --git a/sdk/auditmanager/src/operation/get_assessment_framework/builders.rs b/sdk/auditmanager/src/operation/get_assessment_framework/builders.rs index c71f2d38875a..93c0b44d6834 100644 --- a/sdk/auditmanager/src/operation/get_assessment_framework/builders.rs +++ b/sdk/auditmanager/src/operation/get_assessment_framework/builders.rs @@ -19,9 +19,9 @@ impl GetAssessmentFrameworkFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl GetAssessmentFrameworkFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::get_assessment_framework::GetAssessmentFramework, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::get_assessment_framework::GetAssessmentFrameworkError, + >, + > { + self.customize_middleware().await + } ///

The identifier for the framework.

pub fn framework_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.framework_id(input.into()); diff --git a/sdk/auditmanager/src/operation/get_assessment_report_url/builders.rs b/sdk/auditmanager/src/operation/get_assessment_report_url/builders.rs index d65ad69c6f4d..f13d3b1529b6 100644 --- a/sdk/auditmanager/src/operation/get_assessment_report_url/builders.rs +++ b/sdk/auditmanager/src/operation/get_assessment_report_url/builders.rs @@ -20,9 +20,9 @@ impl GetAssessmentReportUrlFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -84,6 +84,22 @@ impl GetAssessmentReportUrlFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::get_assessment_report_url::GetAssessmentReportUrl, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::get_assessment_report_url::GetAssessmentReportUrlError, + >, + > { + self.customize_middleware().await + } ///

The unique identifier for the assessment report.

pub fn assessment_report_id( mut self, diff --git a/sdk/auditmanager/src/operation/get_change_logs/builders.rs b/sdk/auditmanager/src/operation/get_change_logs/builders.rs index b1b1fdb69784..c1a88863ef1d 100644 --- a/sdk/auditmanager/src/operation/get_change_logs/builders.rs +++ b/sdk/auditmanager/src/operation/get_change_logs/builders.rs @@ -19,9 +19,9 @@ impl GetChangeLogsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl GetChangeLogsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::get_change_logs::GetChangeLogs, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::get_change_logs::paginator::GetChangeLogsPaginator::send) which returns a `Stream`. diff --git a/sdk/auditmanager/src/operation/get_control/builders.rs b/sdk/auditmanager/src/operation/get_control/builders.rs index af0d6f34d194..16276f6bba54 100644 --- a/sdk/auditmanager/src/operation/get_control/builders.rs +++ b/sdk/auditmanager/src/operation/get_control/builders.rs @@ -19,9 +19,9 @@ impl GetControlFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl GetControlFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::get_control::GetControl, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

The identifier for the control.

pub fn control_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.control_id(input.into()); diff --git a/sdk/auditmanager/src/operation/get_delegations/builders.rs b/sdk/auditmanager/src/operation/get_delegations/builders.rs index bc933415864f..e3c4bc96fff7 100644 --- a/sdk/auditmanager/src/operation/get_delegations/builders.rs +++ b/sdk/auditmanager/src/operation/get_delegations/builders.rs @@ -19,9 +19,9 @@ impl GetDelegationsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl GetDelegationsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::get_delegations::GetDelegations, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::get_delegations::paginator::GetDelegationsPaginator::send) which returns a `Stream`. diff --git a/sdk/auditmanager/src/operation/get_evidence/builders.rs b/sdk/auditmanager/src/operation/get_evidence/builders.rs index f45a3d605233..3a8e6493eaca 100644 --- a/sdk/auditmanager/src/operation/get_evidence/builders.rs +++ b/sdk/auditmanager/src/operation/get_evidence/builders.rs @@ -19,9 +19,9 @@ impl GetEvidenceFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl GetEvidenceFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::get_evidence::GetEvidence, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

The unique identifier for the assessment.

pub fn assessment_id( mut self, diff --git a/sdk/auditmanager/src/operation/get_evidence_by_evidence_folder/builders.rs b/sdk/auditmanager/src/operation/get_evidence_by_evidence_folder/builders.rs index 4633e45df247..cb05a39a9ffa 100644 --- a/sdk/auditmanager/src/operation/get_evidence_by_evidence_folder/builders.rs +++ b/sdk/auditmanager/src/operation/get_evidence_by_evidence_folder/builders.rs @@ -19,9 +19,9 @@ impl GetEvidenceByEvidenceFolderFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl GetEvidenceByEvidenceFolderFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::get_evidence_by_evidence_folder::GetEvidenceByEvidenceFolder, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::get_evidence_by_evidence_folder::GetEvidenceByEvidenceFolderError, + >, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::get_evidence_by_evidence_folder::paginator::GetEvidenceByEvidenceFolderPaginator::send) which returns a `Stream`. diff --git a/sdk/auditmanager/src/operation/get_evidence_folder/builders.rs b/sdk/auditmanager/src/operation/get_evidence_folder/builders.rs index 9f325dafb1ed..c7b9e18b94b8 100644 --- a/sdk/auditmanager/src/operation/get_evidence_folder/builders.rs +++ b/sdk/auditmanager/src/operation/get_evidence_folder/builders.rs @@ -19,9 +19,9 @@ impl GetEvidenceFolderFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl GetEvidenceFolderFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::get_evidence_folder::GetEvidenceFolder, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::get_evidence_folder::GetEvidenceFolderError, + >, + > { + self.customize_middleware().await + } ///

The unique identifier for the assessment.

pub fn assessment_id( mut self, diff --git a/sdk/auditmanager/src/operation/get_evidence_folders_by_assessment/builders.rs b/sdk/auditmanager/src/operation/get_evidence_folders_by_assessment/builders.rs index 7fd1775ee3a7..a31a90d5afb2 100644 --- a/sdk/auditmanager/src/operation/get_evidence_folders_by_assessment/builders.rs +++ b/sdk/auditmanager/src/operation/get_evidence_folders_by_assessment/builders.rs @@ -19,9 +19,9 @@ impl GetEvidenceFoldersByAssessmentFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize(self) -> ::std::result::Result< + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware(self) -> ::std::result::Result< crate::client::customize::CustomizableOperation, ::aws_smithy_http::result::SdkError >{ @@ -64,6 +64,15 @@ impl GetEvidenceFoldersByAssessmentFluentBuilder { { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize(self) -> ::std::result::Result< + crate::client::customize::CustomizableOperation, + ::aws_smithy_http::result::SdkError + >{ + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::get_evidence_folders_by_assessment::paginator::GetEvidenceFoldersByAssessmentPaginator::send) which returns a `Stream`. diff --git a/sdk/auditmanager/src/operation/get_evidence_folders_by_assessment_control/builders.rs b/sdk/auditmanager/src/operation/get_evidence_folders_by_assessment_control/builders.rs index 1ddd6f8cb3fd..e9a4a87b78db 100644 --- a/sdk/auditmanager/src/operation/get_evidence_folders_by_assessment_control/builders.rs +++ b/sdk/auditmanager/src/operation/get_evidence_folders_by_assessment_control/builders.rs @@ -19,9 +19,9 @@ impl GetEvidenceFoldersByAssessmentControlFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize(self) -> ::std::result::Result< + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware(self) -> ::std::result::Result< crate::client::customize::CustomizableOperation, ::aws_smithy_http::result::SdkError >{ @@ -64,6 +64,15 @@ impl GetEvidenceFoldersByAssessmentControlFluentBuilder { { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize(self) -> ::std::result::Result< + crate::client::customize::CustomizableOperation, + ::aws_smithy_http::result::SdkError + >{ + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::get_evidence_folders_by_assessment_control::paginator::GetEvidenceFoldersByAssessmentControlPaginator::send) which returns a `Stream`. diff --git a/sdk/auditmanager/src/operation/get_insights/builders.rs b/sdk/auditmanager/src/operation/get_insights/builders.rs index 5a54a29e9840..1c1839459dcb 100644 --- a/sdk/auditmanager/src/operation/get_insights/builders.rs +++ b/sdk/auditmanager/src/operation/get_insights/builders.rs @@ -19,9 +19,9 @@ impl GetInsightsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,4 +77,18 @@ impl GetInsightsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::get_insights::GetInsights, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } } diff --git a/sdk/auditmanager/src/operation/get_insights_by_assessment/builders.rs b/sdk/auditmanager/src/operation/get_insights_by_assessment/builders.rs index 7bdee3ad7367..75813962f5a6 100644 --- a/sdk/auditmanager/src/operation/get_insights_by_assessment/builders.rs +++ b/sdk/auditmanager/src/operation/get_insights_by_assessment/builders.rs @@ -20,9 +20,9 @@ impl GetInsightsByAssessmentFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -84,6 +84,22 @@ impl GetInsightsByAssessmentFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::get_insights_by_assessment::GetInsightsByAssessment, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::get_insights_by_assessment::GetInsightsByAssessmentError, + >, + > { + self.customize_middleware().await + } ///

The unique identifier for the assessment.

pub fn assessment_id( mut self, diff --git a/sdk/auditmanager/src/operation/get_organization_admin_account/builders.rs b/sdk/auditmanager/src/operation/get_organization_admin_account/builders.rs index 5d09e2858bbc..6b55e77c299c 100644 --- a/sdk/auditmanager/src/operation/get_organization_admin_account/builders.rs +++ b/sdk/auditmanager/src/operation/get_organization_admin_account/builders.rs @@ -19,9 +19,9 @@ impl GetOrganizationAdminAccountFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,4 +83,20 @@ impl GetOrganizationAdminAccountFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::get_organization_admin_account::GetOrganizationAdminAccount, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::get_organization_admin_account::GetOrganizationAdminAccountError, + >, + > { + self.customize_middleware().await + } } diff --git a/sdk/auditmanager/src/operation/get_services_in_scope/builders.rs b/sdk/auditmanager/src/operation/get_services_in_scope/builders.rs index ddaa0e11655b..688edddbce4b 100644 --- a/sdk/auditmanager/src/operation/get_services_in_scope/builders.rs +++ b/sdk/auditmanager/src/operation/get_services_in_scope/builders.rs @@ -19,9 +19,9 @@ impl GetServicesInScopeFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,4 +83,20 @@ impl GetServicesInScopeFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::get_services_in_scope::GetServicesInScope, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::get_services_in_scope::GetServicesInScopeError, + >, + > { + self.customize_middleware().await + } } diff --git a/sdk/auditmanager/src/operation/get_settings/builders.rs b/sdk/auditmanager/src/operation/get_settings/builders.rs index 57352b423479..cd1b6ed8a1c5 100644 --- a/sdk/auditmanager/src/operation/get_settings/builders.rs +++ b/sdk/auditmanager/src/operation/get_settings/builders.rs @@ -19,9 +19,9 @@ impl GetSettingsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl GetSettingsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::get_settings::GetSettings, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

The list of setting attribute enum values.

pub fn attribute(mut self, input: crate::types::SettingAttribute) -> Self { self.inner = self.inner.attribute(input); diff --git a/sdk/auditmanager/src/operation/list_assessment_control_insights_by_control_domain/builders.rs b/sdk/auditmanager/src/operation/list_assessment_control_insights_by_control_domain/builders.rs index de8c521aac9a..03e558f93d38 100644 --- a/sdk/auditmanager/src/operation/list_assessment_control_insights_by_control_domain/builders.rs +++ b/sdk/auditmanager/src/operation/list_assessment_control_insights_by_control_domain/builders.rs @@ -21,9 +21,9 @@ impl ListAssessmentControlInsightsByControlDomainFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize(self) -> ::std::result::Result< + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware(self) -> ::std::result::Result< crate::client::customize::CustomizableOperation, ::aws_smithy_http::result::SdkError >{ @@ -66,6 +66,15 @@ impl ListAssessmentControlInsightsByControlDomainFluentBuilder { { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize(self) -> ::std::result::Result< + crate::client::customize::CustomizableOperation, + ::aws_smithy_http::result::SdkError + >{ + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::list_assessment_control_insights_by_control_domain::paginator::ListAssessmentControlInsightsByControlDomainPaginator::send) which returns a `Stream`. diff --git a/sdk/auditmanager/src/operation/list_assessment_framework_share_requests/builders.rs b/sdk/auditmanager/src/operation/list_assessment_framework_share_requests/builders.rs index d2ce1f7fb17d..62a193ebbaa4 100644 --- a/sdk/auditmanager/src/operation/list_assessment_framework_share_requests/builders.rs +++ b/sdk/auditmanager/src/operation/list_assessment_framework_share_requests/builders.rs @@ -19,9 +19,9 @@ impl ListAssessmentFrameworkShareRequestsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize(self) -> ::std::result::Result< + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware(self) -> ::std::result::Result< crate::client::customize::CustomizableOperation, ::aws_smithy_http::result::SdkError >{ @@ -64,6 +64,15 @@ impl ListAssessmentFrameworkShareRequestsFluentBuilder { { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize(self) -> ::std::result::Result< + crate::client::customize::CustomizableOperation, + ::aws_smithy_http::result::SdkError + >{ + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::list_assessment_framework_share_requests::paginator::ListAssessmentFrameworkShareRequestsPaginator::send) which returns a `Stream`. diff --git a/sdk/auditmanager/src/operation/list_assessment_frameworks/builders.rs b/sdk/auditmanager/src/operation/list_assessment_frameworks/builders.rs index 42bf0672c763..b16ba3670125 100644 --- a/sdk/auditmanager/src/operation/list_assessment_frameworks/builders.rs +++ b/sdk/auditmanager/src/operation/list_assessment_frameworks/builders.rs @@ -19,9 +19,9 @@ impl ListAssessmentFrameworksFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl ListAssessmentFrameworksFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_assessment_frameworks::ListAssessmentFrameworks, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::list_assessment_frameworks::ListAssessmentFrameworksError, + >, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::list_assessment_frameworks::paginator::ListAssessmentFrameworksPaginator::send) which returns a `Stream`. diff --git a/sdk/auditmanager/src/operation/list_assessment_reports/builders.rs b/sdk/auditmanager/src/operation/list_assessment_reports/builders.rs index 02e276edd119..929a60cffd24 100644 --- a/sdk/auditmanager/src/operation/list_assessment_reports/builders.rs +++ b/sdk/auditmanager/src/operation/list_assessment_reports/builders.rs @@ -19,9 +19,9 @@ impl ListAssessmentReportsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl ListAssessmentReportsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_assessment_reports::ListAssessmentReports, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::list_assessment_reports::ListAssessmentReportsError, + >, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::list_assessment_reports::paginator::ListAssessmentReportsPaginator::send) which returns a `Stream`. diff --git a/sdk/auditmanager/src/operation/list_assessments/builders.rs b/sdk/auditmanager/src/operation/list_assessments/builders.rs index ffc477cb5b90..664e850c47dd 100644 --- a/sdk/auditmanager/src/operation/list_assessments/builders.rs +++ b/sdk/auditmanager/src/operation/list_assessments/builders.rs @@ -19,9 +19,9 @@ impl ListAssessmentsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl ListAssessmentsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_assessments::ListAssessments, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::list_assessments::ListAssessmentsError, + >, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::list_assessments::paginator::ListAssessmentsPaginator::send) which returns a `Stream`. diff --git a/sdk/auditmanager/src/operation/list_control_domain_insights/builders.rs b/sdk/auditmanager/src/operation/list_control_domain_insights/builders.rs index 63ba51f927cc..0a192524829a 100644 --- a/sdk/auditmanager/src/operation/list_control_domain_insights/builders.rs +++ b/sdk/auditmanager/src/operation/list_control_domain_insights/builders.rs @@ -21,9 +21,9 @@ impl ListControlDomainInsightsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -85,6 +85,22 @@ impl ListControlDomainInsightsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_control_domain_insights::ListControlDomainInsights, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::list_control_domain_insights::ListControlDomainInsightsError, + >, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::list_control_domain_insights::paginator::ListControlDomainInsightsPaginator::send) which returns a `Stream`. diff --git a/sdk/auditmanager/src/operation/list_control_domain_insights_by_assessment/builders.rs b/sdk/auditmanager/src/operation/list_control_domain_insights_by_assessment/builders.rs index f1f66f38f552..8dbe92e11cbd 100644 --- a/sdk/auditmanager/src/operation/list_control_domain_insights_by_assessment/builders.rs +++ b/sdk/auditmanager/src/operation/list_control_domain_insights_by_assessment/builders.rs @@ -21,9 +21,9 @@ impl ListControlDomainInsightsByAssessmentFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize(self) -> ::std::result::Result< + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware(self) -> ::std::result::Result< crate::client::customize::CustomizableOperation, ::aws_smithy_http::result::SdkError >{ @@ -66,6 +66,15 @@ impl ListControlDomainInsightsByAssessmentFluentBuilder { { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize(self) -> ::std::result::Result< + crate::client::customize::CustomizableOperation, + ::aws_smithy_http::result::SdkError + >{ + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::list_control_domain_insights_by_assessment::paginator::ListControlDomainInsightsByAssessmentPaginator::send) which returns a `Stream`. diff --git a/sdk/auditmanager/src/operation/list_control_insights_by_control_domain/builders.rs b/sdk/auditmanager/src/operation/list_control_insights_by_control_domain/builders.rs index ca5e18c5198e..c545f576748f 100644 --- a/sdk/auditmanager/src/operation/list_control_insights_by_control_domain/builders.rs +++ b/sdk/auditmanager/src/operation/list_control_insights_by_control_domain/builders.rs @@ -21,9 +21,9 @@ impl ListControlInsightsByControlDomainFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize(self) -> ::std::result::Result< + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware(self) -> ::std::result::Result< crate::client::customize::CustomizableOperation, ::aws_smithy_http::result::SdkError >{ @@ -66,6 +66,15 @@ impl ListControlInsightsByControlDomainFluentBuilder { { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize(self) -> ::std::result::Result< + crate::client::customize::CustomizableOperation, + ::aws_smithy_http::result::SdkError + >{ + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::list_control_insights_by_control_domain::paginator::ListControlInsightsByControlDomainPaginator::send) which returns a `Stream`. diff --git a/sdk/auditmanager/src/operation/list_controls/builders.rs b/sdk/auditmanager/src/operation/list_controls/builders.rs index dbfa603579f1..6961013d8f05 100644 --- a/sdk/auditmanager/src/operation/list_controls/builders.rs +++ b/sdk/auditmanager/src/operation/list_controls/builders.rs @@ -19,9 +19,9 @@ impl ListControlsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl ListControlsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_controls::ListControls, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::list_controls::paginator::ListControlsPaginator::send) which returns a `Stream`. diff --git a/sdk/auditmanager/src/operation/list_keywords_for_data_source/builders.rs b/sdk/auditmanager/src/operation/list_keywords_for_data_source/builders.rs index 565a76adfccf..46f7ebfb317a 100644 --- a/sdk/auditmanager/src/operation/list_keywords_for_data_source/builders.rs +++ b/sdk/auditmanager/src/operation/list_keywords_for_data_source/builders.rs @@ -19,9 +19,9 @@ impl ListKeywordsForDataSourceFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl ListKeywordsForDataSourceFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_keywords_for_data_source::ListKeywordsForDataSource, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::list_keywords_for_data_source::ListKeywordsForDataSourceError, + >, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::list_keywords_for_data_source::paginator::ListKeywordsForDataSourcePaginator::send) which returns a `Stream`. diff --git a/sdk/auditmanager/src/operation/list_notifications/builders.rs b/sdk/auditmanager/src/operation/list_notifications/builders.rs index 362db71ee316..cd36561509ae 100644 --- a/sdk/auditmanager/src/operation/list_notifications/builders.rs +++ b/sdk/auditmanager/src/operation/list_notifications/builders.rs @@ -19,9 +19,9 @@ impl ListNotificationsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl ListNotificationsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_notifications::ListNotifications, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::list_notifications::ListNotificationsError, + >, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::list_notifications::paginator::ListNotificationsPaginator::send) which returns a `Stream`. diff --git a/sdk/auditmanager/src/operation/list_tags_for_resource/builders.rs b/sdk/auditmanager/src/operation/list_tags_for_resource/builders.rs index ddf2276fc519..1799ca738cc8 100644 --- a/sdk/auditmanager/src/operation/list_tags_for_resource/builders.rs +++ b/sdk/auditmanager/src/operation/list_tags_for_resource/builders.rs @@ -19,9 +19,9 @@ impl ListTagsForResourceFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl ListTagsForResourceFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_tags_for_resource::ListTagsForResource, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::list_tags_for_resource::ListTagsForResourceError, + >, + > { + self.customize_middleware().await + } ///

The Amazon Resource Name (ARN) of the resource.

pub fn resource_arn(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.resource_arn(input.into()); diff --git a/sdk/auditmanager/src/operation/register_account/builders.rs b/sdk/auditmanager/src/operation/register_account/builders.rs index 7e6ef6c9a915..efe895e5e628 100644 --- a/sdk/auditmanager/src/operation/register_account/builders.rs +++ b/sdk/auditmanager/src/operation/register_account/builders.rs @@ -19,9 +19,9 @@ impl RegisterAccountFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl RegisterAccountFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::register_account::RegisterAccount, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::register_account::RegisterAccountError, + >, + > { + self.customize_middleware().await + } ///

The KMS key details.

pub fn kms_key(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.kms_key(input.into()); diff --git a/sdk/auditmanager/src/operation/register_organization_admin_account/builders.rs b/sdk/auditmanager/src/operation/register_organization_admin_account/builders.rs index 3ca26d7c10f9..2c660c617816 100644 --- a/sdk/auditmanager/src/operation/register_organization_admin_account/builders.rs +++ b/sdk/auditmanager/src/operation/register_organization_admin_account/builders.rs @@ -19,9 +19,9 @@ impl RegisterOrganizationAdminAccountFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize(self) -> ::std::result::Result< + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware(self) -> ::std::result::Result< crate::client::customize::CustomizableOperation, ::aws_smithy_http::result::SdkError >{ @@ -64,6 +64,15 @@ impl RegisterOrganizationAdminAccountFluentBuilder { { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize(self) -> ::std::result::Result< + crate::client::customize::CustomizableOperation, + ::aws_smithy_http::result::SdkError + >{ + self.customize_middleware().await + } ///

The identifier for the delegated administrator account.

pub fn admin_account_id( mut self, diff --git a/sdk/auditmanager/src/operation/start_assessment_framework_share/builders.rs b/sdk/auditmanager/src/operation/start_assessment_framework_share/builders.rs index 7cc6750654c3..1c9ea6d5b4e1 100644 --- a/sdk/auditmanager/src/operation/start_assessment_framework_share/builders.rs +++ b/sdk/auditmanager/src/operation/start_assessment_framework_share/builders.rs @@ -32,9 +32,9 @@ impl StartAssessmentFrameworkShareFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -96,6 +96,22 @@ impl StartAssessmentFrameworkShareFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::start_assessment_framework_share::StartAssessmentFrameworkShare, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::start_assessment_framework_share::StartAssessmentFrameworkShareError, + >, + > { + self.customize_middleware().await + } ///

The unique identifier for the custom framework to be shared.

pub fn framework_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.framework_id(input.into()); diff --git a/sdk/auditmanager/src/operation/tag_resource/builders.rs b/sdk/auditmanager/src/operation/tag_resource/builders.rs index d62eedaa00e6..de02e9c79ba1 100644 --- a/sdk/auditmanager/src/operation/tag_resource/builders.rs +++ b/sdk/auditmanager/src/operation/tag_resource/builders.rs @@ -19,9 +19,9 @@ impl TagResourceFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl TagResourceFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::tag_resource::TagResource, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

The Amazon Resource Name (ARN) of the resource.

pub fn resource_arn(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.resource_arn(input.into()); diff --git a/sdk/auditmanager/src/operation/untag_resource/builders.rs b/sdk/auditmanager/src/operation/untag_resource/builders.rs index 6b3b2da132d1..263e02155c84 100644 --- a/sdk/auditmanager/src/operation/untag_resource/builders.rs +++ b/sdk/auditmanager/src/operation/untag_resource/builders.rs @@ -19,9 +19,9 @@ impl UntagResourceFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl UntagResourceFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::untag_resource::UntagResource, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

The Amazon Resource Name (ARN) of the specified resource.

pub fn resource_arn(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.resource_arn(input.into()); diff --git a/sdk/auditmanager/src/operation/update_assessment/builders.rs b/sdk/auditmanager/src/operation/update_assessment/builders.rs index 73d320863c45..fa73382dcb76 100644 --- a/sdk/auditmanager/src/operation/update_assessment/builders.rs +++ b/sdk/auditmanager/src/operation/update_assessment/builders.rs @@ -19,9 +19,9 @@ impl UpdateAssessmentFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl UpdateAssessmentFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::update_assessment::UpdateAssessment, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::update_assessment::UpdateAssessmentError, + >, + > { + self.customize_middleware().await + } ///

The unique identifier for the assessment.

pub fn assessment_id( mut self, diff --git a/sdk/auditmanager/src/operation/update_assessment_control/builders.rs b/sdk/auditmanager/src/operation/update_assessment_control/builders.rs index da139e5418bc..b7a1ff9ac881 100644 --- a/sdk/auditmanager/src/operation/update_assessment_control/builders.rs +++ b/sdk/auditmanager/src/operation/update_assessment_control/builders.rs @@ -20,9 +20,9 @@ impl UpdateAssessmentControlFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -84,6 +84,22 @@ impl UpdateAssessmentControlFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::update_assessment_control::UpdateAssessmentControl, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::update_assessment_control::UpdateAssessmentControlError, + >, + > { + self.customize_middleware().await + } ///

The unique identifier for the assessment.

pub fn assessment_id( mut self, diff --git a/sdk/auditmanager/src/operation/update_assessment_control_set_status/builders.rs b/sdk/auditmanager/src/operation/update_assessment_control_set_status/builders.rs index 5d7c5cd3461d..8a1fa7c2535d 100644 --- a/sdk/auditmanager/src/operation/update_assessment_control_set_status/builders.rs +++ b/sdk/auditmanager/src/operation/update_assessment_control_set_status/builders.rs @@ -19,9 +19,9 @@ impl UpdateAssessmentControlSetStatusFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize(self) -> ::std::result::Result< + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware(self) -> ::std::result::Result< crate::client::customize::CustomizableOperation, ::aws_smithy_http::result::SdkError >{ @@ -64,6 +64,15 @@ impl UpdateAssessmentControlSetStatusFluentBuilder { { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize(self) -> ::std::result::Result< + crate::client::customize::CustomizableOperation, + ::aws_smithy_http::result::SdkError + >{ + self.customize_middleware().await + } ///

The unique identifier for the assessment.

pub fn assessment_id( mut self, diff --git a/sdk/auditmanager/src/operation/update_assessment_framework/builders.rs b/sdk/auditmanager/src/operation/update_assessment_framework/builders.rs index 2e4f494fe100..a99416f61e9b 100644 --- a/sdk/auditmanager/src/operation/update_assessment_framework/builders.rs +++ b/sdk/auditmanager/src/operation/update_assessment_framework/builders.rs @@ -19,9 +19,9 @@ impl UpdateAssessmentFrameworkFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl UpdateAssessmentFrameworkFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::update_assessment_framework::UpdateAssessmentFramework, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::update_assessment_framework::UpdateAssessmentFrameworkError, + >, + > { + self.customize_middleware().await + } ///

The unique identifier for the framework.

pub fn framework_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.framework_id(input.into()); diff --git a/sdk/auditmanager/src/operation/update_assessment_framework_share/builders.rs b/sdk/auditmanager/src/operation/update_assessment_framework_share/builders.rs index 5e617853b5c3..808f07c3d44d 100644 --- a/sdk/auditmanager/src/operation/update_assessment_framework_share/builders.rs +++ b/sdk/auditmanager/src/operation/update_assessment_framework_share/builders.rs @@ -19,9 +19,9 @@ impl UpdateAssessmentFrameworkShareFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize(self) -> ::std::result::Result< + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware(self) -> ::std::result::Result< crate::client::customize::CustomizableOperation, ::aws_smithy_http::result::SdkError >{ @@ -64,6 +64,15 @@ impl UpdateAssessmentFrameworkShareFluentBuilder { { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize(self) -> ::std::result::Result< + crate::client::customize::CustomizableOperation, + ::aws_smithy_http::result::SdkError + >{ + self.customize_middleware().await + } ///

The unique identifier for the share request.

pub fn request_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.request_id(input.into()); diff --git a/sdk/auditmanager/src/operation/update_assessment_status/builders.rs b/sdk/auditmanager/src/operation/update_assessment_status/builders.rs index b0f9932382eb..f06ad331c9d2 100644 --- a/sdk/auditmanager/src/operation/update_assessment_status/builders.rs +++ b/sdk/auditmanager/src/operation/update_assessment_status/builders.rs @@ -19,9 +19,9 @@ impl UpdateAssessmentStatusFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl UpdateAssessmentStatusFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::update_assessment_status::UpdateAssessmentStatus, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::update_assessment_status::UpdateAssessmentStatusError, + >, + > { + self.customize_middleware().await + } ///

The unique identifier for the assessment.

pub fn assessment_id( mut self, diff --git a/sdk/auditmanager/src/operation/update_control/builders.rs b/sdk/auditmanager/src/operation/update_control/builders.rs index d5ac0611231b..36941fbaeb81 100644 --- a/sdk/auditmanager/src/operation/update_control/builders.rs +++ b/sdk/auditmanager/src/operation/update_control/builders.rs @@ -19,9 +19,9 @@ impl UpdateControlFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl UpdateControlFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::update_control::UpdateControl, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

The identifier for the control.

pub fn control_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.control_id(input.into()); diff --git a/sdk/auditmanager/src/operation/update_settings/builders.rs b/sdk/auditmanager/src/operation/update_settings/builders.rs index 00b7bf9f7637..1bce41064b4d 100644 --- a/sdk/auditmanager/src/operation/update_settings/builders.rs +++ b/sdk/auditmanager/src/operation/update_settings/builders.rs @@ -19,9 +19,9 @@ impl UpdateSettingsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl UpdateSettingsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::update_settings::UpdateSettings, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

The Amazon Simple Notification Service (Amazon SNS) topic that Audit Manager sends notifications to.

pub fn sns_topic(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.sns_topic(input.into()); diff --git a/sdk/auditmanager/src/operation/validate_assessment_report_integrity/builders.rs b/sdk/auditmanager/src/operation/validate_assessment_report_integrity/builders.rs index 63b687c656c4..e03d1505683b 100644 --- a/sdk/auditmanager/src/operation/validate_assessment_report_integrity/builders.rs +++ b/sdk/auditmanager/src/operation/validate_assessment_report_integrity/builders.rs @@ -19,9 +19,9 @@ impl ValidateAssessmentReportIntegrityFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize(self) -> ::std::result::Result< + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware(self) -> ::std::result::Result< crate::client::customize::CustomizableOperation, ::aws_smithy_http::result::SdkError >{ @@ -64,6 +64,15 @@ impl ValidateAssessmentReportIntegrityFluentBuilder { { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize(self) -> ::std::result::Result< + crate::client::customize::CustomizableOperation, + ::aws_smithy_http::result::SdkError + >{ + self.customize_middleware().await + } ///

The relative path of the Amazon S3 bucket that the assessment report is stored in.

pub fn s3_relative_path( mut self, diff --git a/sdk/autoscaling/src/operation/attach_instances/builders.rs b/sdk/autoscaling/src/operation/attach_instances/builders.rs index a669bb8b96f2..0b6789944da6 100644 --- a/sdk/autoscaling/src/operation/attach_instances/builders.rs +++ b/sdk/autoscaling/src/operation/attach_instances/builders.rs @@ -22,9 +22,9 @@ impl AttachInstancesFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -86,6 +86,22 @@ impl AttachInstancesFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::attach_instances::AttachInstances, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::attach_instances::AttachInstancesError, + >, + > { + self.customize_middleware().await + } /// Appends an item to `InstanceIds`. /// /// To override the contents of this collection use [`set_instance_ids`](Self::set_instance_ids). diff --git a/sdk/autoscaling/src/operation/attach_load_balancer_target_groups/builders.rs b/sdk/autoscaling/src/operation/attach_load_balancer_target_groups/builders.rs index 0219cd0fd853..5773b5785a90 100644 --- a/sdk/autoscaling/src/operation/attach_load_balancer_target_groups/builders.rs +++ b/sdk/autoscaling/src/operation/attach_load_balancer_target_groups/builders.rs @@ -31,9 +31,9 @@ impl AttachLoadBalancerTargetGroupsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize(self) -> ::std::result::Result< + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware(self) -> ::std::result::Result< crate::client::customize::CustomizableOperation, ::aws_smithy_http::result::SdkError >{ @@ -76,6 +76,15 @@ impl AttachLoadBalancerTargetGroupsFluentBuilder { { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize(self) -> ::std::result::Result< + crate::client::customize::CustomizableOperation, + ::aws_smithy_http::result::SdkError + >{ + self.customize_middleware().await + } ///

The name of the Auto Scaling group.

pub fn auto_scaling_group_name( mut self, diff --git a/sdk/autoscaling/src/operation/attach_load_balancers/builders.rs b/sdk/autoscaling/src/operation/attach_load_balancers/builders.rs index a3720b80685a..28abe3a40a1f 100644 --- a/sdk/autoscaling/src/operation/attach_load_balancers/builders.rs +++ b/sdk/autoscaling/src/operation/attach_load_balancers/builders.rs @@ -25,9 +25,9 @@ impl AttachLoadBalancersFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -89,6 +89,22 @@ impl AttachLoadBalancersFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::attach_load_balancers::AttachLoadBalancers, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::attach_load_balancers::AttachLoadBalancersError, + >, + > { + self.customize_middleware().await + } ///

The name of the Auto Scaling group.

pub fn auto_scaling_group_name( mut self, diff --git a/sdk/autoscaling/src/operation/attach_traffic_sources/builders.rs b/sdk/autoscaling/src/operation/attach_traffic_sources/builders.rs index 869c4d0ddb2d..12d1f1923bf1 100644 --- a/sdk/autoscaling/src/operation/attach_traffic_sources/builders.rs +++ b/sdk/autoscaling/src/operation/attach_traffic_sources/builders.rs @@ -29,9 +29,9 @@ impl AttachTrafficSourcesFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -93,6 +93,22 @@ impl AttachTrafficSourcesFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::attach_traffic_sources::AttachTrafficSources, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::attach_traffic_sources::AttachTrafficSourcesError, + >, + > { + self.customize_middleware().await + } ///

The name of the Auto Scaling group.

pub fn auto_scaling_group_name( mut self, diff --git a/sdk/autoscaling/src/operation/batch_delete_scheduled_action/builders.rs b/sdk/autoscaling/src/operation/batch_delete_scheduled_action/builders.rs index b9223855e5dd..43a2dcc2b1a7 100644 --- a/sdk/autoscaling/src/operation/batch_delete_scheduled_action/builders.rs +++ b/sdk/autoscaling/src/operation/batch_delete_scheduled_action/builders.rs @@ -19,9 +19,9 @@ impl BatchDeleteScheduledActionFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl BatchDeleteScheduledActionFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::batch_delete_scheduled_action::BatchDeleteScheduledAction, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::batch_delete_scheduled_action::BatchDeleteScheduledActionError, + >, + > { + self.customize_middleware().await + } ///

The name of the Auto Scaling group.

pub fn auto_scaling_group_name( mut self, diff --git a/sdk/autoscaling/src/operation/batch_put_scheduled_update_group_action/builders.rs b/sdk/autoscaling/src/operation/batch_put_scheduled_update_group_action/builders.rs index 26656da32d0a..711a159ad86c 100644 --- a/sdk/autoscaling/src/operation/batch_put_scheduled_update_group_action/builders.rs +++ b/sdk/autoscaling/src/operation/batch_put_scheduled_update_group_action/builders.rs @@ -19,9 +19,9 @@ impl BatchPutScheduledUpdateGroupActionFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize(self) -> ::std::result::Result< + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware(self) -> ::std::result::Result< crate::client::customize::CustomizableOperation, ::aws_smithy_http::result::SdkError >{ @@ -64,6 +64,15 @@ impl BatchPutScheduledUpdateGroupActionFluentBuilder { { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize(self) -> ::std::result::Result< + crate::client::customize::CustomizableOperation, + ::aws_smithy_http::result::SdkError + >{ + self.customize_middleware().await + } ///

The name of the Auto Scaling group.

pub fn auto_scaling_group_name( mut self, diff --git a/sdk/autoscaling/src/operation/cancel_instance_refresh/builders.rs b/sdk/autoscaling/src/operation/cancel_instance_refresh/builders.rs index ffd859c58683..e8bd07c7f974 100644 --- a/sdk/autoscaling/src/operation/cancel_instance_refresh/builders.rs +++ b/sdk/autoscaling/src/operation/cancel_instance_refresh/builders.rs @@ -21,9 +21,9 @@ impl CancelInstanceRefreshFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -85,6 +85,22 @@ impl CancelInstanceRefreshFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::cancel_instance_refresh::CancelInstanceRefresh, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::cancel_instance_refresh::CancelInstanceRefreshError, + >, + > { + self.customize_middleware().await + } ///

The name of the Auto Scaling group.

pub fn auto_scaling_group_name( mut self, diff --git a/sdk/autoscaling/src/operation/complete_lifecycle_action/builders.rs b/sdk/autoscaling/src/operation/complete_lifecycle_action/builders.rs index 4c50f37ca42c..b2105b2e0a9a 100644 --- a/sdk/autoscaling/src/operation/complete_lifecycle_action/builders.rs +++ b/sdk/autoscaling/src/operation/complete_lifecycle_action/builders.rs @@ -30,9 +30,9 @@ impl CompleteLifecycleActionFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -94,6 +94,22 @@ impl CompleteLifecycleActionFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::complete_lifecycle_action::CompleteLifecycleAction, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::complete_lifecycle_action::CompleteLifecycleActionError, + >, + > { + self.customize_middleware().await + } ///

The name of the lifecycle hook.

pub fn lifecycle_hook_name( mut self, diff --git a/sdk/autoscaling/src/operation/create_auto_scaling_group/builders.rs b/sdk/autoscaling/src/operation/create_auto_scaling_group/builders.rs index 09a84636bdba..7465ad7df1f6 100644 --- a/sdk/autoscaling/src/operation/create_auto_scaling_group/builders.rs +++ b/sdk/autoscaling/src/operation/create_auto_scaling_group/builders.rs @@ -24,9 +24,9 @@ impl CreateAutoScalingGroupFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -88,6 +88,22 @@ impl CreateAutoScalingGroupFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::create_auto_scaling_group::CreateAutoScalingGroup, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::create_auto_scaling_group::CreateAutoScalingGroupError, + >, + > { + self.customize_middleware().await + } ///

The name of the Auto Scaling group. This name must be unique per Region per account.

///

The name can contain any ASCII character 33 to 126 including most punctuation characters, digits, and upper and lowercased letters.

///

You cannot use a colon (:) in the name.

diff --git a/sdk/autoscaling/src/operation/create_launch_configuration/builders.rs b/sdk/autoscaling/src/operation/create_launch_configuration/builders.rs index e40b0bd56b74..603dcc7f27a1 100644 --- a/sdk/autoscaling/src/operation/create_launch_configuration/builders.rs +++ b/sdk/autoscaling/src/operation/create_launch_configuration/builders.rs @@ -23,9 +23,9 @@ impl CreateLaunchConfigurationFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -87,6 +87,22 @@ impl CreateLaunchConfigurationFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::create_launch_configuration::CreateLaunchConfiguration, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::create_launch_configuration::CreateLaunchConfigurationError, + >, + > { + self.customize_middleware().await + } ///

The name of the launch configuration. This name must be unique per Region per account.

pub fn launch_configuration_name( mut self, diff --git a/sdk/autoscaling/src/operation/create_or_update_tags/builders.rs b/sdk/autoscaling/src/operation/create_or_update_tags/builders.rs index 3ef9b3ae59ec..3ef38c35fa6a 100644 --- a/sdk/autoscaling/src/operation/create_or_update_tags/builders.rs +++ b/sdk/autoscaling/src/operation/create_or_update_tags/builders.rs @@ -21,9 +21,9 @@ impl CreateOrUpdateTagsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -85,6 +85,22 @@ impl CreateOrUpdateTagsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::create_or_update_tags::CreateOrUpdateTags, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::create_or_update_tags::CreateOrUpdateTagsError, + >, + > { + self.customize_middleware().await + } /// Appends an item to `Tags`. /// /// To override the contents of this collection use [`set_tags`](Self::set_tags). diff --git a/sdk/autoscaling/src/operation/delete_auto_scaling_group/builders.rs b/sdk/autoscaling/src/operation/delete_auto_scaling_group/builders.rs index b8097f945696..a6449c67e6b0 100644 --- a/sdk/autoscaling/src/operation/delete_auto_scaling_group/builders.rs +++ b/sdk/autoscaling/src/operation/delete_auto_scaling_group/builders.rs @@ -25,9 +25,9 @@ impl DeleteAutoScalingGroupFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -89,6 +89,22 @@ impl DeleteAutoScalingGroupFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::delete_auto_scaling_group::DeleteAutoScalingGroup, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::delete_auto_scaling_group::DeleteAutoScalingGroupError, + >, + > { + self.customize_middleware().await + } ///

The name of the Auto Scaling group.

pub fn auto_scaling_group_name( mut self, diff --git a/sdk/autoscaling/src/operation/delete_launch_configuration/builders.rs b/sdk/autoscaling/src/operation/delete_launch_configuration/builders.rs index 0a85df7d3f20..72b0cb34f177 100644 --- a/sdk/autoscaling/src/operation/delete_launch_configuration/builders.rs +++ b/sdk/autoscaling/src/operation/delete_launch_configuration/builders.rs @@ -20,9 +20,9 @@ impl DeleteLaunchConfigurationFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -84,6 +84,22 @@ impl DeleteLaunchConfigurationFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::delete_launch_configuration::DeleteLaunchConfiguration, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::delete_launch_configuration::DeleteLaunchConfigurationError, + >, + > { + self.customize_middleware().await + } ///

The name of the launch configuration.

pub fn launch_configuration_name( mut self, diff --git a/sdk/autoscaling/src/operation/delete_lifecycle_hook/builders.rs b/sdk/autoscaling/src/operation/delete_lifecycle_hook/builders.rs index 6040500eae76..4ee84289b242 100644 --- a/sdk/autoscaling/src/operation/delete_lifecycle_hook/builders.rs +++ b/sdk/autoscaling/src/operation/delete_lifecycle_hook/builders.rs @@ -20,9 +20,9 @@ impl DeleteLifecycleHookFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -84,6 +84,22 @@ impl DeleteLifecycleHookFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::delete_lifecycle_hook::DeleteLifecycleHook, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::delete_lifecycle_hook::DeleteLifecycleHookError, + >, + > { + self.customize_middleware().await + } ///

The name of the lifecycle hook.

pub fn lifecycle_hook_name( mut self, diff --git a/sdk/autoscaling/src/operation/delete_notification_configuration/builders.rs b/sdk/autoscaling/src/operation/delete_notification_configuration/builders.rs index 4af0fea03ece..2fbfc9f8ed2f 100644 --- a/sdk/autoscaling/src/operation/delete_notification_configuration/builders.rs +++ b/sdk/autoscaling/src/operation/delete_notification_configuration/builders.rs @@ -19,9 +19,9 @@ impl DeleteNotificationConfigurationFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize(self) -> ::std::result::Result< + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware(self) -> ::std::result::Result< crate::client::customize::CustomizableOperation, ::aws_smithy_http::result::SdkError >{ @@ -64,6 +64,15 @@ impl DeleteNotificationConfigurationFluentBuilder { { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize(self) -> ::std::result::Result< + crate::client::customize::CustomizableOperation, + ::aws_smithy_http::result::SdkError + >{ + self.customize_middleware().await + } ///

The name of the Auto Scaling group.

pub fn auto_scaling_group_name( mut self, diff --git a/sdk/autoscaling/src/operation/delete_policy/builders.rs b/sdk/autoscaling/src/operation/delete_policy/builders.rs index 2f168ea06a12..4d44116cc831 100644 --- a/sdk/autoscaling/src/operation/delete_policy/builders.rs +++ b/sdk/autoscaling/src/operation/delete_policy/builders.rs @@ -21,9 +21,9 @@ impl DeletePolicyFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -79,6 +79,20 @@ impl DeletePolicyFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::delete_policy::DeletePolicy, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

The name of the Auto Scaling group.

pub fn auto_scaling_group_name( mut self, diff --git a/sdk/autoscaling/src/operation/delete_scheduled_action/builders.rs b/sdk/autoscaling/src/operation/delete_scheduled_action/builders.rs index 612f32444aa2..9f6f00bfdcd4 100644 --- a/sdk/autoscaling/src/operation/delete_scheduled_action/builders.rs +++ b/sdk/autoscaling/src/operation/delete_scheduled_action/builders.rs @@ -19,9 +19,9 @@ impl DeleteScheduledActionFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl DeleteScheduledActionFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::delete_scheduled_action::DeleteScheduledAction, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::delete_scheduled_action::DeleteScheduledActionError, + >, + > { + self.customize_middleware().await + } ///

The name of the Auto Scaling group.

pub fn auto_scaling_group_name( mut self, diff --git a/sdk/autoscaling/src/operation/delete_tags/builders.rs b/sdk/autoscaling/src/operation/delete_tags/builders.rs index 4c9f41c9e445..ad8981ee8611 100644 --- a/sdk/autoscaling/src/operation/delete_tags/builders.rs +++ b/sdk/autoscaling/src/operation/delete_tags/builders.rs @@ -19,9 +19,9 @@ impl DeleteTagsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl DeleteTagsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::delete_tags::DeleteTags, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } /// Appends an item to `Tags`. /// /// To override the contents of this collection use [`set_tags`](Self::set_tags). diff --git a/sdk/autoscaling/src/operation/delete_warm_pool/builders.rs b/sdk/autoscaling/src/operation/delete_warm_pool/builders.rs index 9ca6a4896b0d..8f2222d2887b 100644 --- a/sdk/autoscaling/src/operation/delete_warm_pool/builders.rs +++ b/sdk/autoscaling/src/operation/delete_warm_pool/builders.rs @@ -20,9 +20,9 @@ impl DeleteWarmPoolFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -84,6 +84,22 @@ impl DeleteWarmPoolFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::delete_warm_pool::DeleteWarmPool, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::delete_warm_pool::DeleteWarmPoolError, + >, + > { + self.customize_middleware().await + } ///

The name of the Auto Scaling group.

pub fn auto_scaling_group_name( mut self, diff --git a/sdk/autoscaling/src/operation/describe_account_limits/builders.rs b/sdk/autoscaling/src/operation/describe_account_limits/builders.rs index 4ff81f5a1184..5564221ea75f 100644 --- a/sdk/autoscaling/src/operation/describe_account_limits/builders.rs +++ b/sdk/autoscaling/src/operation/describe_account_limits/builders.rs @@ -20,9 +20,9 @@ impl DescribeAccountLimitsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -84,4 +84,20 @@ impl DescribeAccountLimitsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::describe_account_limits::DescribeAccountLimits, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::describe_account_limits::DescribeAccountLimitsError, + >, + > { + self.customize_middleware().await + } } diff --git a/sdk/autoscaling/src/operation/describe_adjustment_types/builders.rs b/sdk/autoscaling/src/operation/describe_adjustment_types/builders.rs index f1e7d97101a2..3645e932e8be 100644 --- a/sdk/autoscaling/src/operation/describe_adjustment_types/builders.rs +++ b/sdk/autoscaling/src/operation/describe_adjustment_types/builders.rs @@ -26,9 +26,9 @@ impl DescribeAdjustmentTypesFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -90,4 +90,20 @@ impl DescribeAdjustmentTypesFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::describe_adjustment_types::DescribeAdjustmentTypes, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::describe_adjustment_types::DescribeAdjustmentTypesError, + >, + > { + self.customize_middleware().await + } } diff --git a/sdk/autoscaling/src/operation/describe_auto_scaling_groups/builders.rs b/sdk/autoscaling/src/operation/describe_auto_scaling_groups/builders.rs index 146a91b75ee9..eee8b1bb3c89 100644 --- a/sdk/autoscaling/src/operation/describe_auto_scaling_groups/builders.rs +++ b/sdk/autoscaling/src/operation/describe_auto_scaling_groups/builders.rs @@ -21,9 +21,9 @@ impl DescribeAutoScalingGroupsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -85,6 +85,22 @@ impl DescribeAutoScalingGroupsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::describe_auto_scaling_groups::DescribeAutoScalingGroups, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::describe_auto_scaling_groups::DescribeAutoScalingGroupsError, + >, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::describe_auto_scaling_groups::paginator::DescribeAutoScalingGroupsPaginator::send) which returns a `Stream`. diff --git a/sdk/autoscaling/src/operation/describe_auto_scaling_instances/builders.rs b/sdk/autoscaling/src/operation/describe_auto_scaling_instances/builders.rs index 8f6a22c17881..336790da6e4f 100644 --- a/sdk/autoscaling/src/operation/describe_auto_scaling_instances/builders.rs +++ b/sdk/autoscaling/src/operation/describe_auto_scaling_instances/builders.rs @@ -19,9 +19,9 @@ impl DescribeAutoScalingInstancesFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl DescribeAutoScalingInstancesFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::describe_auto_scaling_instances::DescribeAutoScalingInstances, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::describe_auto_scaling_instances::DescribeAutoScalingInstancesError, + >, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::describe_auto_scaling_instances::paginator::DescribeAutoScalingInstancesPaginator::send) which returns a `Stream`. diff --git a/sdk/autoscaling/src/operation/describe_auto_scaling_notification_types/builders.rs b/sdk/autoscaling/src/operation/describe_auto_scaling_notification_types/builders.rs index 2135b4d411ba..f1790b3cea35 100644 --- a/sdk/autoscaling/src/operation/describe_auto_scaling_notification_types/builders.rs +++ b/sdk/autoscaling/src/operation/describe_auto_scaling_notification_types/builders.rs @@ -19,9 +19,9 @@ impl DescribeAutoScalingNotificationTypesFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize(self) -> ::std::result::Result< + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware(self) -> ::std::result::Result< crate::client::customize::CustomizableOperation, ::aws_smithy_http::result::SdkError >{ @@ -64,4 +64,13 @@ impl DescribeAutoScalingNotificationTypesFluentBuilder { { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize(self) -> ::std::result::Result< + crate::client::customize::CustomizableOperation, + ::aws_smithy_http::result::SdkError + >{ + self.customize_middleware().await + } } diff --git a/sdk/autoscaling/src/operation/describe_instance_refreshes/builders.rs b/sdk/autoscaling/src/operation/describe_instance_refreshes/builders.rs index 311eb2ec588b..29632b49ecd2 100644 --- a/sdk/autoscaling/src/operation/describe_instance_refreshes/builders.rs +++ b/sdk/autoscaling/src/operation/describe_instance_refreshes/builders.rs @@ -21,9 +21,9 @@ impl DescribeInstanceRefreshesFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -85,6 +85,22 @@ impl DescribeInstanceRefreshesFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::describe_instance_refreshes::DescribeInstanceRefreshes, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::describe_instance_refreshes::DescribeInstanceRefreshesError, + >, + > { + self.customize_middleware().await + } ///

The name of the Auto Scaling group.

pub fn auto_scaling_group_name( mut self, diff --git a/sdk/autoscaling/src/operation/describe_launch_configurations/builders.rs b/sdk/autoscaling/src/operation/describe_launch_configurations/builders.rs index 721f42fdc6c1..c03fa2d04199 100644 --- a/sdk/autoscaling/src/operation/describe_launch_configurations/builders.rs +++ b/sdk/autoscaling/src/operation/describe_launch_configurations/builders.rs @@ -19,9 +19,9 @@ impl DescribeLaunchConfigurationsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl DescribeLaunchConfigurationsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::describe_launch_configurations::DescribeLaunchConfigurations, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::describe_launch_configurations::DescribeLaunchConfigurationsError, + >, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::describe_launch_configurations::paginator::DescribeLaunchConfigurationsPaginator::send) which returns a `Stream`. diff --git a/sdk/autoscaling/src/operation/describe_lifecycle_hook_types/builders.rs b/sdk/autoscaling/src/operation/describe_lifecycle_hook_types/builders.rs index 386a25762879..418bd3c48af6 100644 --- a/sdk/autoscaling/src/operation/describe_lifecycle_hook_types/builders.rs +++ b/sdk/autoscaling/src/operation/describe_lifecycle_hook_types/builders.rs @@ -24,9 +24,9 @@ impl DescribeLifecycleHookTypesFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -88,4 +88,20 @@ impl DescribeLifecycleHookTypesFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::describe_lifecycle_hook_types::DescribeLifecycleHookTypes, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::describe_lifecycle_hook_types::DescribeLifecycleHookTypesError, + >, + > { + self.customize_middleware().await + } } diff --git a/sdk/autoscaling/src/operation/describe_lifecycle_hooks/builders.rs b/sdk/autoscaling/src/operation/describe_lifecycle_hooks/builders.rs index c0f6eba80a9d..2f3945fd5886 100644 --- a/sdk/autoscaling/src/operation/describe_lifecycle_hooks/builders.rs +++ b/sdk/autoscaling/src/operation/describe_lifecycle_hooks/builders.rs @@ -19,9 +19,9 @@ impl DescribeLifecycleHooksFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl DescribeLifecycleHooksFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::describe_lifecycle_hooks::DescribeLifecycleHooks, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::describe_lifecycle_hooks::DescribeLifecycleHooksError, + >, + > { + self.customize_middleware().await + } ///

The name of the Auto Scaling group.

pub fn auto_scaling_group_name( mut self, diff --git a/sdk/autoscaling/src/operation/describe_load_balancer_target_groups/builders.rs b/sdk/autoscaling/src/operation/describe_load_balancer_target_groups/builders.rs index 9103d9708ccd..53810c98e7f0 100644 --- a/sdk/autoscaling/src/operation/describe_load_balancer_target_groups/builders.rs +++ b/sdk/autoscaling/src/operation/describe_load_balancer_target_groups/builders.rs @@ -27,9 +27,9 @@ impl DescribeLoadBalancerTargetGroupsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize(self) -> ::std::result::Result< + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware(self) -> ::std::result::Result< crate::client::customize::CustomizableOperation, ::aws_smithy_http::result::SdkError >{ @@ -72,6 +72,15 @@ impl DescribeLoadBalancerTargetGroupsFluentBuilder { { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize(self) -> ::std::result::Result< + crate::client::customize::CustomizableOperation, + ::aws_smithy_http::result::SdkError + >{ + self.customize_middleware().await + } ///

The name of the Auto Scaling group.

pub fn auto_scaling_group_name( mut self, diff --git a/sdk/autoscaling/src/operation/describe_load_balancers/builders.rs b/sdk/autoscaling/src/operation/describe_load_balancers/builders.rs index dfd21f61a246..781a286695d2 100644 --- a/sdk/autoscaling/src/operation/describe_load_balancers/builders.rs +++ b/sdk/autoscaling/src/operation/describe_load_balancers/builders.rs @@ -26,9 +26,9 @@ impl DescribeLoadBalancersFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -90,6 +90,22 @@ impl DescribeLoadBalancersFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::describe_load_balancers::DescribeLoadBalancers, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::describe_load_balancers::DescribeLoadBalancersError, + >, + > { + self.customize_middleware().await + } ///

The name of the Auto Scaling group.

pub fn auto_scaling_group_name( mut self, diff --git a/sdk/autoscaling/src/operation/describe_metric_collection_types/builders.rs b/sdk/autoscaling/src/operation/describe_metric_collection_types/builders.rs index 466f6fd91722..58c878d4c6b5 100644 --- a/sdk/autoscaling/src/operation/describe_metric_collection_types/builders.rs +++ b/sdk/autoscaling/src/operation/describe_metric_collection_types/builders.rs @@ -19,9 +19,9 @@ impl DescribeMetricCollectionTypesFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,4 +83,20 @@ impl DescribeMetricCollectionTypesFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::describe_metric_collection_types::DescribeMetricCollectionTypes, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::describe_metric_collection_types::DescribeMetricCollectionTypesError, + >, + > { + self.customize_middleware().await + } } diff --git a/sdk/autoscaling/src/operation/describe_notification_configurations/builders.rs b/sdk/autoscaling/src/operation/describe_notification_configurations/builders.rs index 34e3ddfeaeb4..3d47891752ac 100644 --- a/sdk/autoscaling/src/operation/describe_notification_configurations/builders.rs +++ b/sdk/autoscaling/src/operation/describe_notification_configurations/builders.rs @@ -19,9 +19,9 @@ impl DescribeNotificationConfigurationsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize(self) -> ::std::result::Result< + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware(self) -> ::std::result::Result< crate::client::customize::CustomizableOperation, ::aws_smithy_http::result::SdkError >{ @@ -64,6 +64,15 @@ impl DescribeNotificationConfigurationsFluentBuilder { { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize(self) -> ::std::result::Result< + crate::client::customize::CustomizableOperation, + ::aws_smithy_http::result::SdkError + >{ + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::describe_notification_configurations::paginator::DescribeNotificationConfigurationsPaginator::send) which returns a `Stream`. diff --git a/sdk/autoscaling/src/operation/describe_policies/builders.rs b/sdk/autoscaling/src/operation/describe_policies/builders.rs index a5dee379129b..837723514589 100644 --- a/sdk/autoscaling/src/operation/describe_policies/builders.rs +++ b/sdk/autoscaling/src/operation/describe_policies/builders.rs @@ -19,9 +19,9 @@ impl DescribePoliciesFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl DescribePoliciesFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::describe_policies::DescribePolicies, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::describe_policies::DescribePoliciesError, + >, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::describe_policies::paginator::DescribePoliciesPaginator::send) which returns a `Stream`. diff --git a/sdk/autoscaling/src/operation/describe_scaling_activities/builders.rs b/sdk/autoscaling/src/operation/describe_scaling_activities/builders.rs index 16a7887b8cac..172344b1c4fe 100644 --- a/sdk/autoscaling/src/operation/describe_scaling_activities/builders.rs +++ b/sdk/autoscaling/src/operation/describe_scaling_activities/builders.rs @@ -21,9 +21,9 @@ impl DescribeScalingActivitiesFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -85,6 +85,22 @@ impl DescribeScalingActivitiesFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::describe_scaling_activities::DescribeScalingActivities, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::describe_scaling_activities::DescribeScalingActivitiesError, + >, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::describe_scaling_activities::paginator::DescribeScalingActivitiesPaginator::send) which returns a `Stream`. diff --git a/sdk/autoscaling/src/operation/describe_scaling_process_types/builders.rs b/sdk/autoscaling/src/operation/describe_scaling_process_types/builders.rs index 933f22216bcb..af294715e257 100644 --- a/sdk/autoscaling/src/operation/describe_scaling_process_types/builders.rs +++ b/sdk/autoscaling/src/operation/describe_scaling_process_types/builders.rs @@ -19,9 +19,9 @@ impl DescribeScalingProcessTypesFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,4 +83,20 @@ impl DescribeScalingProcessTypesFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::describe_scaling_process_types::DescribeScalingProcessTypes, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::describe_scaling_process_types::DescribeScalingProcessTypesError, + >, + > { + self.customize_middleware().await + } } diff --git a/sdk/autoscaling/src/operation/describe_scheduled_actions/builders.rs b/sdk/autoscaling/src/operation/describe_scheduled_actions/builders.rs index b0d545864739..930d1712f00c 100644 --- a/sdk/autoscaling/src/operation/describe_scheduled_actions/builders.rs +++ b/sdk/autoscaling/src/operation/describe_scheduled_actions/builders.rs @@ -20,9 +20,9 @@ impl DescribeScheduledActionsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -84,6 +84,22 @@ impl DescribeScheduledActionsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::describe_scheduled_actions::DescribeScheduledActions, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::describe_scheduled_actions::DescribeScheduledActionsError, + >, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::describe_scheduled_actions::paginator::DescribeScheduledActionsPaginator::send) which returns a `Stream`. diff --git a/sdk/autoscaling/src/operation/describe_tags/builders.rs b/sdk/autoscaling/src/operation/describe_tags/builders.rs index c41cf70ad849..bacd47af1118 100644 --- a/sdk/autoscaling/src/operation/describe_tags/builders.rs +++ b/sdk/autoscaling/src/operation/describe_tags/builders.rs @@ -22,9 +22,9 @@ impl DescribeTagsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -80,6 +80,20 @@ impl DescribeTagsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::describe_tags::DescribeTags, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::describe_tags::paginator::DescribeTagsPaginator::send) which returns a `Stream`. diff --git a/sdk/autoscaling/src/operation/describe_termination_policy_types/builders.rs b/sdk/autoscaling/src/operation/describe_termination_policy_types/builders.rs index d3f7d24f0b54..de93194d43f3 100644 --- a/sdk/autoscaling/src/operation/describe_termination_policy_types/builders.rs +++ b/sdk/autoscaling/src/operation/describe_termination_policy_types/builders.rs @@ -20,9 +20,9 @@ impl DescribeTerminationPolicyTypesFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize(self) -> ::std::result::Result< + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware(self) -> ::std::result::Result< crate::client::customize::CustomizableOperation, ::aws_smithy_http::result::SdkError >{ @@ -65,4 +65,13 @@ impl DescribeTerminationPolicyTypesFluentBuilder { { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize(self) -> ::std::result::Result< + crate::client::customize::CustomizableOperation, + ::aws_smithy_http::result::SdkError + >{ + self.customize_middleware().await + } } diff --git a/sdk/autoscaling/src/operation/describe_traffic_sources/builders.rs b/sdk/autoscaling/src/operation/describe_traffic_sources/builders.rs index c9603ad839b6..88f0a76b524f 100644 --- a/sdk/autoscaling/src/operation/describe_traffic_sources/builders.rs +++ b/sdk/autoscaling/src/operation/describe_traffic_sources/builders.rs @@ -21,9 +21,9 @@ impl DescribeTrafficSourcesFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -85,6 +85,22 @@ impl DescribeTrafficSourcesFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::describe_traffic_sources::DescribeTrafficSources, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::describe_traffic_sources::DescribeTrafficSourcesError, + >, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::describe_traffic_sources::paginator::DescribeTrafficSourcesPaginator::send) which returns a `Stream`. diff --git a/sdk/autoscaling/src/operation/describe_warm_pool/builders.rs b/sdk/autoscaling/src/operation/describe_warm_pool/builders.rs index e32cd1a5d3b1..f1f413df481a 100644 --- a/sdk/autoscaling/src/operation/describe_warm_pool/builders.rs +++ b/sdk/autoscaling/src/operation/describe_warm_pool/builders.rs @@ -20,9 +20,9 @@ impl DescribeWarmPoolFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -84,6 +84,22 @@ impl DescribeWarmPoolFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::describe_warm_pool::DescribeWarmPool, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::describe_warm_pool::DescribeWarmPoolError, + >, + > { + self.customize_middleware().await + } ///

The name of the Auto Scaling group.

pub fn auto_scaling_group_name( mut self, diff --git a/sdk/autoscaling/src/operation/detach_instances/builders.rs b/sdk/autoscaling/src/operation/detach_instances/builders.rs index 47a1187a269d..ae060e60b50d 100644 --- a/sdk/autoscaling/src/operation/detach_instances/builders.rs +++ b/sdk/autoscaling/src/operation/detach_instances/builders.rs @@ -23,9 +23,9 @@ impl DetachInstancesFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -87,6 +87,22 @@ impl DetachInstancesFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::detach_instances::DetachInstances, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::detach_instances::DetachInstancesError, + >, + > { + self.customize_middleware().await + } /// Appends an item to `InstanceIds`. /// /// To override the contents of this collection use [`set_instance_ids`](Self::set_instance_ids). diff --git a/sdk/autoscaling/src/operation/detach_load_balancer_target_groups/builders.rs b/sdk/autoscaling/src/operation/detach_load_balancer_target_groups/builders.rs index 4256ce11886d..32ea5a2736e4 100644 --- a/sdk/autoscaling/src/operation/detach_load_balancer_target_groups/builders.rs +++ b/sdk/autoscaling/src/operation/detach_load_balancer_target_groups/builders.rs @@ -25,9 +25,9 @@ impl DetachLoadBalancerTargetGroupsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize(self) -> ::std::result::Result< + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware(self) -> ::std::result::Result< crate::client::customize::CustomizableOperation, ::aws_smithy_http::result::SdkError >{ @@ -70,6 +70,15 @@ impl DetachLoadBalancerTargetGroupsFluentBuilder { { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize(self) -> ::std::result::Result< + crate::client::customize::CustomizableOperation, + ::aws_smithy_http::result::SdkError + >{ + self.customize_middleware().await + } ///

The name of the Auto Scaling group.

pub fn auto_scaling_group_name( mut self, diff --git a/sdk/autoscaling/src/operation/detach_load_balancers/builders.rs b/sdk/autoscaling/src/operation/detach_load_balancers/builders.rs index 273f4e9f2d7f..13d14ec19227 100644 --- a/sdk/autoscaling/src/operation/detach_load_balancers/builders.rs +++ b/sdk/autoscaling/src/operation/detach_load_balancers/builders.rs @@ -24,9 +24,9 @@ impl DetachLoadBalancersFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -88,6 +88,22 @@ impl DetachLoadBalancersFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::detach_load_balancers::DetachLoadBalancers, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::detach_load_balancers::DetachLoadBalancersError, + >, + > { + self.customize_middleware().await + } ///

The name of the Auto Scaling group.

pub fn auto_scaling_group_name( mut self, diff --git a/sdk/autoscaling/src/operation/detach_traffic_sources/builders.rs b/sdk/autoscaling/src/operation/detach_traffic_sources/builders.rs index d50d86d8ea47..5b05c20544bf 100644 --- a/sdk/autoscaling/src/operation/detach_traffic_sources/builders.rs +++ b/sdk/autoscaling/src/operation/detach_traffic_sources/builders.rs @@ -20,9 +20,9 @@ impl DetachTrafficSourcesFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -84,6 +84,22 @@ impl DetachTrafficSourcesFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::detach_traffic_sources::DetachTrafficSources, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::detach_traffic_sources::DetachTrafficSourcesError, + >, + > { + self.customize_middleware().await + } ///

The name of the Auto Scaling group.

pub fn auto_scaling_group_name( mut self, diff --git a/sdk/autoscaling/src/operation/disable_metrics_collection/builders.rs b/sdk/autoscaling/src/operation/disable_metrics_collection/builders.rs index fa68ba8588ed..b201c11dcd24 100644 --- a/sdk/autoscaling/src/operation/disable_metrics_collection/builders.rs +++ b/sdk/autoscaling/src/operation/disable_metrics_collection/builders.rs @@ -19,9 +19,9 @@ impl DisableMetricsCollectionFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl DisableMetricsCollectionFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::disable_metrics_collection::DisableMetricsCollection, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::disable_metrics_collection::DisableMetricsCollectionError, + >, + > { + self.customize_middleware().await + } ///

The name of the Auto Scaling group.

pub fn auto_scaling_group_name( mut self, diff --git a/sdk/autoscaling/src/operation/enable_metrics_collection/builders.rs b/sdk/autoscaling/src/operation/enable_metrics_collection/builders.rs index 9b7d50b8926b..38ebb75bca69 100644 --- a/sdk/autoscaling/src/operation/enable_metrics_collection/builders.rs +++ b/sdk/autoscaling/src/operation/enable_metrics_collection/builders.rs @@ -21,9 +21,9 @@ impl EnableMetricsCollectionFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -85,6 +85,22 @@ impl EnableMetricsCollectionFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::enable_metrics_collection::EnableMetricsCollection, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::enable_metrics_collection::EnableMetricsCollectionError, + >, + > { + self.customize_middleware().await + } ///

The name of the Auto Scaling group.

pub fn auto_scaling_group_name( mut self, diff --git a/sdk/autoscaling/src/operation/enter_standby/builders.rs b/sdk/autoscaling/src/operation/enter_standby/builders.rs index 3d0a93648cdb..d597e991cd7c 100644 --- a/sdk/autoscaling/src/operation/enter_standby/builders.rs +++ b/sdk/autoscaling/src/operation/enter_standby/builders.rs @@ -22,9 +22,9 @@ impl EnterStandbyFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -80,6 +80,20 @@ impl EnterStandbyFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::enter_standby::EnterStandby, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } /// Appends an item to `InstanceIds`. /// /// To override the contents of this collection use [`set_instance_ids`](Self::set_instance_ids). diff --git a/sdk/autoscaling/src/operation/execute_policy/builders.rs b/sdk/autoscaling/src/operation/execute_policy/builders.rs index 4e332e156ed9..cfded154d9cc 100644 --- a/sdk/autoscaling/src/operation/execute_policy/builders.rs +++ b/sdk/autoscaling/src/operation/execute_policy/builders.rs @@ -19,9 +19,9 @@ impl ExecutePolicyFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl ExecutePolicyFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::execute_policy::ExecutePolicy, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

The name of the Auto Scaling group.

pub fn auto_scaling_group_name( mut self, diff --git a/sdk/autoscaling/src/operation/exit_standby/builders.rs b/sdk/autoscaling/src/operation/exit_standby/builders.rs index 688485527b7b..c71949498239 100644 --- a/sdk/autoscaling/src/operation/exit_standby/builders.rs +++ b/sdk/autoscaling/src/operation/exit_standby/builders.rs @@ -21,9 +21,9 @@ impl ExitStandbyFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -79,6 +79,20 @@ impl ExitStandbyFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::exit_standby::ExitStandby, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } /// Appends an item to `InstanceIds`. /// /// To override the contents of this collection use [`set_instance_ids`](Self::set_instance_ids). diff --git a/sdk/autoscaling/src/operation/get_predictive_scaling_forecast/builders.rs b/sdk/autoscaling/src/operation/get_predictive_scaling_forecast/builders.rs index a5a6e95ee2c9..38b15d4a5e06 100644 --- a/sdk/autoscaling/src/operation/get_predictive_scaling_forecast/builders.rs +++ b/sdk/autoscaling/src/operation/get_predictive_scaling_forecast/builders.rs @@ -22,9 +22,9 @@ impl GetPredictiveScalingForecastFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -86,6 +86,22 @@ impl GetPredictiveScalingForecastFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::get_predictive_scaling_forecast::GetPredictiveScalingForecast, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::get_predictive_scaling_forecast::GetPredictiveScalingForecastError, + >, + > { + self.customize_middleware().await + } ///

The name of the Auto Scaling group.

pub fn auto_scaling_group_name( mut self, diff --git a/sdk/autoscaling/src/operation/put_lifecycle_hook/builders.rs b/sdk/autoscaling/src/operation/put_lifecycle_hook/builders.rs index 78320f0cbf23..b4fc06afa069 100644 --- a/sdk/autoscaling/src/operation/put_lifecycle_hook/builders.rs +++ b/sdk/autoscaling/src/operation/put_lifecycle_hook/builders.rs @@ -32,9 +32,9 @@ impl PutLifecycleHookFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -96,6 +96,22 @@ impl PutLifecycleHookFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::put_lifecycle_hook::PutLifecycleHook, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::put_lifecycle_hook::PutLifecycleHookError, + >, + > { + self.customize_middleware().await + } ///

The name of the lifecycle hook.

pub fn lifecycle_hook_name( mut self, diff --git a/sdk/autoscaling/src/operation/put_notification_configuration/builders.rs b/sdk/autoscaling/src/operation/put_notification_configuration/builders.rs index 287f701092aa..c36fd43ec2de 100644 --- a/sdk/autoscaling/src/operation/put_notification_configuration/builders.rs +++ b/sdk/autoscaling/src/operation/put_notification_configuration/builders.rs @@ -22,9 +22,9 @@ impl PutNotificationConfigurationFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -86,6 +86,22 @@ impl PutNotificationConfigurationFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::put_notification_configuration::PutNotificationConfiguration, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::put_notification_configuration::PutNotificationConfigurationError, + >, + > { + self.customize_middleware().await + } ///

The name of the Auto Scaling group.

pub fn auto_scaling_group_name( mut self, diff --git a/sdk/autoscaling/src/operation/put_scaling_policy/builders.rs b/sdk/autoscaling/src/operation/put_scaling_policy/builders.rs index 794dcd0355ce..8f609ffed205 100644 --- a/sdk/autoscaling/src/operation/put_scaling_policy/builders.rs +++ b/sdk/autoscaling/src/operation/put_scaling_policy/builders.rs @@ -22,9 +22,9 @@ impl PutScalingPolicyFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -86,6 +86,22 @@ impl PutScalingPolicyFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::put_scaling_policy::PutScalingPolicy, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::put_scaling_policy::PutScalingPolicyError, + >, + > { + self.customize_middleware().await + } ///

The name of the Auto Scaling group.

pub fn auto_scaling_group_name( mut self, diff --git a/sdk/autoscaling/src/operation/put_scheduled_update_group_action/builders.rs b/sdk/autoscaling/src/operation/put_scheduled_update_group_action/builders.rs index 809659cb14bd..93884e6ff892 100644 --- a/sdk/autoscaling/src/operation/put_scheduled_update_group_action/builders.rs +++ b/sdk/autoscaling/src/operation/put_scheduled_update_group_action/builders.rs @@ -22,9 +22,9 @@ impl PutScheduledUpdateGroupActionFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -86,6 +86,22 @@ impl PutScheduledUpdateGroupActionFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::put_scheduled_update_group_action::PutScheduledUpdateGroupAction, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::put_scheduled_update_group_action::PutScheduledUpdateGroupActionError, + >, + > { + self.customize_middleware().await + } ///

The name of the Auto Scaling group.

pub fn auto_scaling_group_name( mut self, diff --git a/sdk/autoscaling/src/operation/put_warm_pool/builders.rs b/sdk/autoscaling/src/operation/put_warm_pool/builders.rs index 72ca5c99ec0b..a28551a3eebb 100644 --- a/sdk/autoscaling/src/operation/put_warm_pool/builders.rs +++ b/sdk/autoscaling/src/operation/put_warm_pool/builders.rs @@ -21,9 +21,9 @@ impl PutWarmPoolFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -79,6 +79,20 @@ impl PutWarmPoolFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::put_warm_pool::PutWarmPool, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

The name of the Auto Scaling group.

pub fn auto_scaling_group_name( mut self, diff --git a/sdk/autoscaling/src/operation/record_lifecycle_action_heartbeat/builders.rs b/sdk/autoscaling/src/operation/record_lifecycle_action_heartbeat/builders.rs index 23375771ec09..e1b58c0b2e13 100644 --- a/sdk/autoscaling/src/operation/record_lifecycle_action_heartbeat/builders.rs +++ b/sdk/autoscaling/src/operation/record_lifecycle_action_heartbeat/builders.rs @@ -29,9 +29,9 @@ impl RecordLifecycleActionHeartbeatFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize(self) -> ::std::result::Result< + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware(self) -> ::std::result::Result< crate::client::customize::CustomizableOperation, ::aws_smithy_http::result::SdkError >{ @@ -74,6 +74,15 @@ impl RecordLifecycleActionHeartbeatFluentBuilder { { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize(self) -> ::std::result::Result< + crate::client::customize::CustomizableOperation, + ::aws_smithy_http::result::SdkError + >{ + self.customize_middleware().await + } ///

The name of the lifecycle hook.

pub fn lifecycle_hook_name( mut self, diff --git a/sdk/autoscaling/src/operation/resume_processes/builders.rs b/sdk/autoscaling/src/operation/resume_processes/builders.rs index 9a9208d0d4f8..049bd30278ba 100644 --- a/sdk/autoscaling/src/operation/resume_processes/builders.rs +++ b/sdk/autoscaling/src/operation/resume_processes/builders.rs @@ -20,9 +20,9 @@ impl ResumeProcessesFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -84,6 +84,22 @@ impl ResumeProcessesFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::resume_processes::ResumeProcesses, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::resume_processes::ResumeProcessesError, + >, + > { + self.customize_middleware().await + } ///

The name of the Auto Scaling group.

pub fn auto_scaling_group_name( mut self, diff --git a/sdk/autoscaling/src/operation/rollback_instance_refresh/builders.rs b/sdk/autoscaling/src/operation/rollback_instance_refresh/builders.rs index 0d7afcd8a797..f8947e5f9023 100644 --- a/sdk/autoscaling/src/operation/rollback_instance_refresh/builders.rs +++ b/sdk/autoscaling/src/operation/rollback_instance_refresh/builders.rs @@ -28,9 +28,9 @@ impl RollbackInstanceRefreshFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -92,6 +92,22 @@ impl RollbackInstanceRefreshFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::rollback_instance_refresh::RollbackInstanceRefresh, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::rollback_instance_refresh::RollbackInstanceRefreshError, + >, + > { + self.customize_middleware().await + } ///

The name of the Auto Scaling group.

pub fn auto_scaling_group_name( mut self, diff --git a/sdk/autoscaling/src/operation/set_desired_capacity/builders.rs b/sdk/autoscaling/src/operation/set_desired_capacity/builders.rs index 222d4fdd1aad..b14c98b9f21a 100644 --- a/sdk/autoscaling/src/operation/set_desired_capacity/builders.rs +++ b/sdk/autoscaling/src/operation/set_desired_capacity/builders.rs @@ -21,9 +21,9 @@ impl SetDesiredCapacityFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -85,6 +85,22 @@ impl SetDesiredCapacityFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::set_desired_capacity::SetDesiredCapacity, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::set_desired_capacity::SetDesiredCapacityError, + >, + > { + self.customize_middleware().await + } ///

The name of the Auto Scaling group.

pub fn auto_scaling_group_name( mut self, diff --git a/sdk/autoscaling/src/operation/set_instance_health/builders.rs b/sdk/autoscaling/src/operation/set_instance_health/builders.rs index 65d2e1ccd171..c8688e0ddd85 100644 --- a/sdk/autoscaling/src/operation/set_instance_health/builders.rs +++ b/sdk/autoscaling/src/operation/set_instance_health/builders.rs @@ -20,9 +20,9 @@ impl SetInstanceHealthFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -84,6 +84,22 @@ impl SetInstanceHealthFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::set_instance_health::SetInstanceHealth, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::set_instance_health::SetInstanceHealthError, + >, + > { + self.customize_middleware().await + } ///

The ID of the instance.

pub fn instance_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.instance_id(input.into()); diff --git a/sdk/autoscaling/src/operation/set_instance_protection/builders.rs b/sdk/autoscaling/src/operation/set_instance_protection/builders.rs index 427edb65bf88..af9856a5414b 100644 --- a/sdk/autoscaling/src/operation/set_instance_protection/builders.rs +++ b/sdk/autoscaling/src/operation/set_instance_protection/builders.rs @@ -21,9 +21,9 @@ impl SetInstanceProtectionFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -85,6 +85,22 @@ impl SetInstanceProtectionFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::set_instance_protection::SetInstanceProtection, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::set_instance_protection::SetInstanceProtectionError, + >, + > { + self.customize_middleware().await + } /// Appends an item to `InstanceIds`. /// /// To override the contents of this collection use [`set_instance_ids`](Self::set_instance_ids). diff --git a/sdk/autoscaling/src/operation/start_instance_refresh/builders.rs b/sdk/autoscaling/src/operation/start_instance_refresh/builders.rs index efcf69f42645..711b72e147e2 100644 --- a/sdk/autoscaling/src/operation/start_instance_refresh/builders.rs +++ b/sdk/autoscaling/src/operation/start_instance_refresh/builders.rs @@ -23,9 +23,9 @@ impl StartInstanceRefreshFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -87,6 +87,22 @@ impl StartInstanceRefreshFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::start_instance_refresh::StartInstanceRefresh, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::start_instance_refresh::StartInstanceRefreshError, + >, + > { + self.customize_middleware().await + } ///

The name of the Auto Scaling group.

pub fn auto_scaling_group_name( mut self, diff --git a/sdk/autoscaling/src/operation/suspend_processes/builders.rs b/sdk/autoscaling/src/operation/suspend_processes/builders.rs index 1ae3d5ab9b63..64170fa3858c 100644 --- a/sdk/autoscaling/src/operation/suspend_processes/builders.rs +++ b/sdk/autoscaling/src/operation/suspend_processes/builders.rs @@ -21,9 +21,9 @@ impl SuspendProcessesFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -85,6 +85,22 @@ impl SuspendProcessesFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::suspend_processes::SuspendProcesses, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::suspend_processes::SuspendProcessesError, + >, + > { + self.customize_middleware().await + } ///

The name of the Auto Scaling group.

pub fn auto_scaling_group_name( mut self, diff --git a/sdk/autoscaling/src/operation/terminate_instance_in_auto_scaling_group/builders.rs b/sdk/autoscaling/src/operation/terminate_instance_in_auto_scaling_group/builders.rs index 4fb31613bb70..815c1c74c8fe 100644 --- a/sdk/autoscaling/src/operation/terminate_instance_in_auto_scaling_group/builders.rs +++ b/sdk/autoscaling/src/operation/terminate_instance_in_auto_scaling_group/builders.rs @@ -22,9 +22,9 @@ impl TerminateInstanceInAutoScalingGroupFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize(self) -> ::std::result::Result< + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware(self) -> ::std::result::Result< crate::client::customize::CustomizableOperation, ::aws_smithy_http::result::SdkError >{ @@ -67,6 +67,15 @@ impl TerminateInstanceInAutoScalingGroupFluentBuilder { { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize(self) -> ::std::result::Result< + crate::client::customize::CustomizableOperation, + ::aws_smithy_http::result::SdkError + >{ + self.customize_middleware().await + } ///

The ID of the instance.

pub fn instance_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.instance_id(input.into()); diff --git a/sdk/autoscaling/src/operation/update_auto_scaling_group/builders.rs b/sdk/autoscaling/src/operation/update_auto_scaling_group/builders.rs index 2bca18441976..d922669786c2 100644 --- a/sdk/autoscaling/src/operation/update_auto_scaling_group/builders.rs +++ b/sdk/autoscaling/src/operation/update_auto_scaling_group/builders.rs @@ -30,9 +30,9 @@ impl UpdateAutoScalingGroupFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -94,6 +94,22 @@ impl UpdateAutoScalingGroupFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::update_auto_scaling_group::UpdateAutoScalingGroup, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::update_auto_scaling_group::UpdateAutoScalingGroupError, + >, + > { + self.customize_middleware().await + } ///

The name of the Auto Scaling group.

pub fn auto_scaling_group_name( mut self, diff --git a/sdk/autoscalingplans/src/operation/create_scaling_plan/builders.rs b/sdk/autoscalingplans/src/operation/create_scaling_plan/builders.rs index d9a455e559b5..36d31839ecd5 100644 --- a/sdk/autoscalingplans/src/operation/create_scaling_plan/builders.rs +++ b/sdk/autoscalingplans/src/operation/create_scaling_plan/builders.rs @@ -19,9 +19,9 @@ impl CreateScalingPlanFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl CreateScalingPlanFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::create_scaling_plan::CreateScalingPlan, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::create_scaling_plan::CreateScalingPlanError, + >, + > { + self.customize_middleware().await + } ///

The name of the scaling plan. Names cannot contain vertical bars, colons, or forward slashes.

pub fn scaling_plan_name( mut self, diff --git a/sdk/autoscalingplans/src/operation/delete_scaling_plan/builders.rs b/sdk/autoscalingplans/src/operation/delete_scaling_plan/builders.rs index 9c117f025470..8c06e724ff53 100644 --- a/sdk/autoscalingplans/src/operation/delete_scaling_plan/builders.rs +++ b/sdk/autoscalingplans/src/operation/delete_scaling_plan/builders.rs @@ -21,9 +21,9 @@ impl DeleteScalingPlanFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -85,6 +85,22 @@ impl DeleteScalingPlanFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::delete_scaling_plan::DeleteScalingPlan, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::delete_scaling_plan::DeleteScalingPlanError, + >, + > { + self.customize_middleware().await + } ///

The name of the scaling plan.

pub fn scaling_plan_name( mut self, diff --git a/sdk/autoscalingplans/src/operation/describe_scaling_plan_resources/builders.rs b/sdk/autoscalingplans/src/operation/describe_scaling_plan_resources/builders.rs index 634a25b2b29c..1ba40b56aa6e 100644 --- a/sdk/autoscalingplans/src/operation/describe_scaling_plan_resources/builders.rs +++ b/sdk/autoscalingplans/src/operation/describe_scaling_plan_resources/builders.rs @@ -19,9 +19,9 @@ impl DescribeScalingPlanResourcesFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl DescribeScalingPlanResourcesFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::describe_scaling_plan_resources::DescribeScalingPlanResources, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::describe_scaling_plan_resources::DescribeScalingPlanResourcesError, + >, + > { + self.customize_middleware().await + } ///

The name of the scaling plan.

pub fn scaling_plan_name( mut self, diff --git a/sdk/autoscalingplans/src/operation/describe_scaling_plans/builders.rs b/sdk/autoscalingplans/src/operation/describe_scaling_plans/builders.rs index 81c85394bfdc..5aa2772b0767 100644 --- a/sdk/autoscalingplans/src/operation/describe_scaling_plans/builders.rs +++ b/sdk/autoscalingplans/src/operation/describe_scaling_plans/builders.rs @@ -19,9 +19,9 @@ impl DescribeScalingPlansFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl DescribeScalingPlansFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::describe_scaling_plans::DescribeScalingPlans, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::describe_scaling_plans::DescribeScalingPlansError, + >, + > { + self.customize_middleware().await + } /// Appends an item to `ScalingPlanNames`. /// /// To override the contents of this collection use [`set_scaling_plan_names`](Self::set_scaling_plan_names). diff --git a/sdk/autoscalingplans/src/operation/get_scaling_plan_resource_forecast_data/builders.rs b/sdk/autoscalingplans/src/operation/get_scaling_plan_resource_forecast_data/builders.rs index 059b087fdce7..542786093dfd 100644 --- a/sdk/autoscalingplans/src/operation/get_scaling_plan_resource_forecast_data/builders.rs +++ b/sdk/autoscalingplans/src/operation/get_scaling_plan_resource_forecast_data/builders.rs @@ -20,9 +20,9 @@ impl GetScalingPlanResourceForecastDataFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize(self) -> ::std::result::Result< + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware(self) -> ::std::result::Result< crate::client::customize::CustomizableOperation, ::aws_smithy_http::result::SdkError >{ @@ -65,6 +65,15 @@ impl GetScalingPlanResourceForecastDataFluentBuilder { { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize(self) -> ::std::result::Result< + crate::client::customize::CustomizableOperation, + ::aws_smithy_http::result::SdkError + >{ + self.customize_middleware().await + } ///

The name of the scaling plan.

pub fn scaling_plan_name( mut self, diff --git a/sdk/autoscalingplans/src/operation/update_scaling_plan/builders.rs b/sdk/autoscalingplans/src/operation/update_scaling_plan/builders.rs index 39146a2061af..50f0853d3d28 100644 --- a/sdk/autoscalingplans/src/operation/update_scaling_plan/builders.rs +++ b/sdk/autoscalingplans/src/operation/update_scaling_plan/builders.rs @@ -20,9 +20,9 @@ impl UpdateScalingPlanFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -84,6 +84,22 @@ impl UpdateScalingPlanFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::update_scaling_plan::UpdateScalingPlan, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::update_scaling_plan::UpdateScalingPlanError, + >, + > { + self.customize_middleware().await + } ///

The name of the scaling plan.

pub fn scaling_plan_name( mut self, diff --git a/sdk/aws-smithy-runtime/src/client.rs b/sdk/aws-smithy-runtime/src/client.rs index c2edaced8b39..1a6a106da375 100644 --- a/sdk/aws-smithy-runtime/src/client.rs +++ b/sdk/aws-smithy-runtime/src/client.rs @@ -29,3 +29,6 @@ pub mod runtime_plugin; /// Smithy identity used by auth and signing. pub mod identity; + +/// Interceptors for Smithy clients. +pub mod interceptor; diff --git a/sdk/aws-smithy-runtime/src/client/interceptor.rs b/sdk/aws-smithy-runtime/src/client/interceptor.rs new file mode 100644 index 000000000000..4e5de36b63fc --- /dev/null +++ b/sdk/aws-smithy-runtime/src/client/interceptor.rs @@ -0,0 +1,80 @@ +/* + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0 + */ + +use aws_smithy_http::body::SdkBody; +use aws_smithy_runtime_api::client::interceptors::context::phase::BeforeTransmit; +use aws_smithy_runtime_api::client::interceptors::{BoxError, Interceptor, InterceptorContext}; +use aws_smithy_runtime_api::config_bag::ConfigBag; +use std::fmt; +use std::marker::PhantomData; + +pub struct MapRequestInterceptor { + f: F, + _phantom: PhantomData, +} + +impl fmt::Debug for MapRequestInterceptor { + fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result { + write!(f, "MapRequestInterceptor") + } +} + +impl MapRequestInterceptor { + pub fn new(f: F) -> Self { + Self { + f, + _phantom: PhantomData, + } + } +} + +impl Interceptor for MapRequestInterceptor +where + F: Fn(&mut http::Request) -> Result<(), E> + Send + Sync + 'static, + E: std::error::Error + Send + Sync + 'static, +{ + fn modify_before_signing( + &self, + context: &mut InterceptorContext, + _cfg: &mut ConfigBag, + ) -> Result<(), BoxError> { + let request = context.request_mut(); + (self.f)(request)?; + + Ok(()) + } +} + +pub struct MutateRequestInterceptor { + f: F, +} + +impl fmt::Debug for MutateRequestInterceptor { + fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result { + write!(f, "MutateRequestInterceptor") + } +} + +impl MutateRequestInterceptor { + pub fn new(f: F) -> Self { + Self { f } + } +} + +impl Interceptor for MutateRequestInterceptor +where + F: Fn(&mut http::Request) + Send + Sync + 'static, +{ + fn modify_before_signing( + &self, + context: &mut InterceptorContext, + _cfg: &mut ConfigBag, + ) -> Result<(), BoxError> { + let request = context.request_mut(); + (self.f)(request); + + Ok(()) + } +} diff --git a/sdk/backup/src/operation/cancel_legal_hold/builders.rs b/sdk/backup/src/operation/cancel_legal_hold/builders.rs index 488f749745b6..a3dbdb405dbb 100644 --- a/sdk/backup/src/operation/cancel_legal_hold/builders.rs +++ b/sdk/backup/src/operation/cancel_legal_hold/builders.rs @@ -19,9 +19,9 @@ impl CancelLegalHoldFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl CancelLegalHoldFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::cancel_legal_hold::CancelLegalHold, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::cancel_legal_hold::CancelLegalHoldError, + >, + > { + self.customize_middleware().await + } ///

Legal hold ID required to remove the specified legal hold on a recovery point.

pub fn legal_hold_id( mut self, diff --git a/sdk/backup/src/operation/create_backup_plan/builders.rs b/sdk/backup/src/operation/create_backup_plan/builders.rs index dde399f02efa..ba044de4d467 100644 --- a/sdk/backup/src/operation/create_backup_plan/builders.rs +++ b/sdk/backup/src/operation/create_backup_plan/builders.rs @@ -20,9 +20,9 @@ impl CreateBackupPlanFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -84,6 +84,22 @@ impl CreateBackupPlanFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::create_backup_plan::CreateBackupPlan, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::create_backup_plan::CreateBackupPlanError, + >, + > { + self.customize_middleware().await + } ///

Specifies the body of a backup plan. Includes a BackupPlanName and one or more sets of Rules.

pub fn backup_plan(mut self, input: crate::types::BackupPlanInput) -> Self { self.inner = self.inner.backup_plan(input); diff --git a/sdk/backup/src/operation/create_backup_selection/builders.rs b/sdk/backup/src/operation/create_backup_selection/builders.rs index dfdd0dfd1449..5bfb6ee13644 100644 --- a/sdk/backup/src/operation/create_backup_selection/builders.rs +++ b/sdk/backup/src/operation/create_backup_selection/builders.rs @@ -19,9 +19,9 @@ impl CreateBackupSelectionFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl CreateBackupSelectionFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::create_backup_selection::CreateBackupSelection, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::create_backup_selection::CreateBackupSelectionError, + >, + > { + self.customize_middleware().await + } ///

Uniquely identifies the backup plan to be associated with the selection of resources.

pub fn backup_plan_id( mut self, diff --git a/sdk/backup/src/operation/create_backup_vault/builders.rs b/sdk/backup/src/operation/create_backup_vault/builders.rs index 57081c5bd4f9..4a165f38797f 100644 --- a/sdk/backup/src/operation/create_backup_vault/builders.rs +++ b/sdk/backup/src/operation/create_backup_vault/builders.rs @@ -21,9 +21,9 @@ impl CreateBackupVaultFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -85,6 +85,22 @@ impl CreateBackupVaultFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::create_backup_vault::CreateBackupVault, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::create_backup_vault::CreateBackupVaultError, + >, + > { + self.customize_middleware().await + } ///

The name of a logical container where backups are stored. Backup vaults are identified by names that are unique to the account used to create them and the Amazon Web Services Region where they are created. They consist of letters, numbers, and hyphens.

pub fn backup_vault_name( mut self, diff --git a/sdk/backup/src/operation/create_framework/builders.rs b/sdk/backup/src/operation/create_framework/builders.rs index e1fcdac5ed56..1bd3e0a19f43 100644 --- a/sdk/backup/src/operation/create_framework/builders.rs +++ b/sdk/backup/src/operation/create_framework/builders.rs @@ -19,9 +19,9 @@ impl CreateFrameworkFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl CreateFrameworkFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::create_framework::CreateFramework, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::create_framework::CreateFrameworkError, + >, + > { + self.customize_middleware().await + } ///

The unique name of the framework. The name must be between 1 and 256 characters, starting with a letter, and consisting of letters (a-z, A-Z), numbers (0-9), and underscores (_).

pub fn framework_name( mut self, diff --git a/sdk/backup/src/operation/create_legal_hold/builders.rs b/sdk/backup/src/operation/create_legal_hold/builders.rs index a766fe89e2d8..17744f5600eb 100644 --- a/sdk/backup/src/operation/create_legal_hold/builders.rs +++ b/sdk/backup/src/operation/create_legal_hold/builders.rs @@ -19,9 +19,9 @@ impl CreateLegalHoldFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl CreateLegalHoldFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::create_legal_hold::CreateLegalHold, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::create_legal_hold::CreateLegalHoldError, + >, + > { + self.customize_middleware().await + } ///

This is the string title of the legal hold.

pub fn title(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.title(input.into()); diff --git a/sdk/backup/src/operation/create_report_plan/builders.rs b/sdk/backup/src/operation/create_report_plan/builders.rs index a82e89c57484..07df1cf5ac85 100644 --- a/sdk/backup/src/operation/create_report_plan/builders.rs +++ b/sdk/backup/src/operation/create_report_plan/builders.rs @@ -20,9 +20,9 @@ impl CreateReportPlanFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -84,6 +84,22 @@ impl CreateReportPlanFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::create_report_plan::CreateReportPlan, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::create_report_plan::CreateReportPlanError, + >, + > { + self.customize_middleware().await + } ///

The unique name of the report plan. The name must be between 1 and 256 characters, starting with a letter, and consisting of letters (a-z, A-Z), numbers (0-9), and underscores (_).

pub fn report_plan_name( mut self, diff --git a/sdk/backup/src/operation/delete_backup_plan/builders.rs b/sdk/backup/src/operation/delete_backup_plan/builders.rs index 1f7a088cff1a..d36bb6d2c810 100644 --- a/sdk/backup/src/operation/delete_backup_plan/builders.rs +++ b/sdk/backup/src/operation/delete_backup_plan/builders.rs @@ -19,9 +19,9 @@ impl DeleteBackupPlanFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl DeleteBackupPlanFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::delete_backup_plan::DeleteBackupPlan, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::delete_backup_plan::DeleteBackupPlanError, + >, + > { + self.customize_middleware().await + } ///

Uniquely identifies a backup plan.

pub fn backup_plan_id( mut self, diff --git a/sdk/backup/src/operation/delete_backup_selection/builders.rs b/sdk/backup/src/operation/delete_backup_selection/builders.rs index a339af794359..6b9f1fb15572 100644 --- a/sdk/backup/src/operation/delete_backup_selection/builders.rs +++ b/sdk/backup/src/operation/delete_backup_selection/builders.rs @@ -19,9 +19,9 @@ impl DeleteBackupSelectionFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl DeleteBackupSelectionFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::delete_backup_selection::DeleteBackupSelection, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::delete_backup_selection::DeleteBackupSelectionError, + >, + > { + self.customize_middleware().await + } ///

Uniquely identifies a backup plan.

pub fn backup_plan_id( mut self, diff --git a/sdk/backup/src/operation/delete_backup_vault/builders.rs b/sdk/backup/src/operation/delete_backup_vault/builders.rs index 07f75cf844ee..2b71a800e238 100644 --- a/sdk/backup/src/operation/delete_backup_vault/builders.rs +++ b/sdk/backup/src/operation/delete_backup_vault/builders.rs @@ -19,9 +19,9 @@ impl DeleteBackupVaultFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl DeleteBackupVaultFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::delete_backup_vault::DeleteBackupVault, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::delete_backup_vault::DeleteBackupVaultError, + >, + > { + self.customize_middleware().await + } ///

The name of a logical container where backups are stored. Backup vaults are identified by names that are unique to the account used to create them and the Amazon Web Services Region where they are created. They consist of lowercase letters, numbers, and hyphens.

pub fn backup_vault_name( mut self, diff --git a/sdk/backup/src/operation/delete_backup_vault_access_policy/builders.rs b/sdk/backup/src/operation/delete_backup_vault_access_policy/builders.rs index 7380c4e3869e..ad8f6af23c2e 100644 --- a/sdk/backup/src/operation/delete_backup_vault_access_policy/builders.rs +++ b/sdk/backup/src/operation/delete_backup_vault_access_policy/builders.rs @@ -19,9 +19,9 @@ impl DeleteBackupVaultAccessPolicyFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl DeleteBackupVaultAccessPolicyFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::delete_backup_vault_access_policy::DeleteBackupVaultAccessPolicy, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::delete_backup_vault_access_policy::DeleteBackupVaultAccessPolicyError, + >, + > { + self.customize_middleware().await + } ///

The name of a logical container where backups are stored. Backup vaults are identified by names that are unique to the account used to create them and the Amazon Web Services Region where they are created. They consist of lowercase letters, numbers, and hyphens.

pub fn backup_vault_name( mut self, diff --git a/sdk/backup/src/operation/delete_backup_vault_lock_configuration/builders.rs b/sdk/backup/src/operation/delete_backup_vault_lock_configuration/builders.rs index 03b9a835d83e..6100f55a337c 100644 --- a/sdk/backup/src/operation/delete_backup_vault_lock_configuration/builders.rs +++ b/sdk/backup/src/operation/delete_backup_vault_lock_configuration/builders.rs @@ -20,9 +20,9 @@ impl DeleteBackupVaultLockConfigurationFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize(self) -> ::std::result::Result< + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware(self) -> ::std::result::Result< crate::client::customize::CustomizableOperation, ::aws_smithy_http::result::SdkError >{ @@ -65,6 +65,15 @@ impl DeleteBackupVaultLockConfigurationFluentBuilder { { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize(self) -> ::std::result::Result< + crate::client::customize::CustomizableOperation, + ::aws_smithy_http::result::SdkError + >{ + self.customize_middleware().await + } ///

The name of the backup vault from which to delete Backup Vault Lock.

pub fn backup_vault_name( mut self, diff --git a/sdk/backup/src/operation/delete_backup_vault_notifications/builders.rs b/sdk/backup/src/operation/delete_backup_vault_notifications/builders.rs index c0d45d64c283..7c386994aeea 100644 --- a/sdk/backup/src/operation/delete_backup_vault_notifications/builders.rs +++ b/sdk/backup/src/operation/delete_backup_vault_notifications/builders.rs @@ -19,9 +19,9 @@ impl DeleteBackupVaultNotificationsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize(self) -> ::std::result::Result< + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware(self) -> ::std::result::Result< crate::client::customize::CustomizableOperation, ::aws_smithy_http::result::SdkError >{ @@ -64,6 +64,15 @@ impl DeleteBackupVaultNotificationsFluentBuilder { { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize(self) -> ::std::result::Result< + crate::client::customize::CustomizableOperation, + ::aws_smithy_http::result::SdkError + >{ + self.customize_middleware().await + } ///

The name of a logical container where backups are stored. Backup vaults are identified by names that are unique to the account used to create them and the Region where they are created. They consist of lowercase letters, numbers, and hyphens.

pub fn backup_vault_name( mut self, diff --git a/sdk/backup/src/operation/delete_framework/builders.rs b/sdk/backup/src/operation/delete_framework/builders.rs index 006fc0dd8a88..e1a7ef34f505 100644 --- a/sdk/backup/src/operation/delete_framework/builders.rs +++ b/sdk/backup/src/operation/delete_framework/builders.rs @@ -19,9 +19,9 @@ impl DeleteFrameworkFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl DeleteFrameworkFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::delete_framework::DeleteFramework, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::delete_framework::DeleteFrameworkError, + >, + > { + self.customize_middleware().await + } ///

The unique name of a framework.

pub fn framework_name( mut self, diff --git a/sdk/backup/src/operation/delete_recovery_point/builders.rs b/sdk/backup/src/operation/delete_recovery_point/builders.rs index b063f9e05aa7..8c81117f2580 100644 --- a/sdk/backup/src/operation/delete_recovery_point/builders.rs +++ b/sdk/backup/src/operation/delete_recovery_point/builders.rs @@ -23,9 +23,9 @@ impl DeleteRecoveryPointFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -87,6 +87,22 @@ impl DeleteRecoveryPointFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::delete_recovery_point::DeleteRecoveryPoint, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::delete_recovery_point::DeleteRecoveryPointError, + >, + > { + self.customize_middleware().await + } ///

The name of a logical container where backups are stored. Backup vaults are identified by names that are unique to the account used to create them and the Amazon Web Services Region where they are created. They consist of lowercase letters, numbers, and hyphens.

pub fn backup_vault_name( mut self, diff --git a/sdk/backup/src/operation/delete_report_plan/builders.rs b/sdk/backup/src/operation/delete_report_plan/builders.rs index fae045ccd7eb..b6359be5ae8c 100644 --- a/sdk/backup/src/operation/delete_report_plan/builders.rs +++ b/sdk/backup/src/operation/delete_report_plan/builders.rs @@ -19,9 +19,9 @@ impl DeleteReportPlanFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl DeleteReportPlanFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::delete_report_plan::DeleteReportPlan, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::delete_report_plan::DeleteReportPlanError, + >, + > { + self.customize_middleware().await + } ///

The unique name of a report plan.

pub fn report_plan_name( mut self, diff --git a/sdk/backup/src/operation/describe_backup_job/builders.rs b/sdk/backup/src/operation/describe_backup_job/builders.rs index 6572283153c4..f17b1af3cb67 100644 --- a/sdk/backup/src/operation/describe_backup_job/builders.rs +++ b/sdk/backup/src/operation/describe_backup_job/builders.rs @@ -19,9 +19,9 @@ impl DescribeBackupJobFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl DescribeBackupJobFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::describe_backup_job::DescribeBackupJob, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::describe_backup_job::DescribeBackupJobError, + >, + > { + self.customize_middleware().await + } ///

Uniquely identifies a request to Backup to back up a resource.

pub fn backup_job_id( mut self, diff --git a/sdk/backup/src/operation/describe_backup_vault/builders.rs b/sdk/backup/src/operation/describe_backup_vault/builders.rs index f0c0227be5cd..8141c6de8e46 100644 --- a/sdk/backup/src/operation/describe_backup_vault/builders.rs +++ b/sdk/backup/src/operation/describe_backup_vault/builders.rs @@ -19,9 +19,9 @@ impl DescribeBackupVaultFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl DescribeBackupVaultFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::describe_backup_vault::DescribeBackupVault, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::describe_backup_vault::DescribeBackupVaultError, + >, + > { + self.customize_middleware().await + } ///

The name of a logical container where backups are stored. Backup vaults are identified by names that are unique to the account used to create them and the Amazon Web Services Region where they are created. They consist of lowercase letters, numbers, and hyphens.

pub fn backup_vault_name( mut self, diff --git a/sdk/backup/src/operation/describe_copy_job/builders.rs b/sdk/backup/src/operation/describe_copy_job/builders.rs index cc988b322b53..90400e91578a 100644 --- a/sdk/backup/src/operation/describe_copy_job/builders.rs +++ b/sdk/backup/src/operation/describe_copy_job/builders.rs @@ -19,9 +19,9 @@ impl DescribeCopyJobFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl DescribeCopyJobFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::describe_copy_job::DescribeCopyJob, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::describe_copy_job::DescribeCopyJobError, + >, + > { + self.customize_middleware().await + } ///

Uniquely identifies a copy job.

pub fn copy_job_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.copy_job_id(input.into()); diff --git a/sdk/backup/src/operation/describe_framework/builders.rs b/sdk/backup/src/operation/describe_framework/builders.rs index eb547c16688c..c1baf2722f37 100644 --- a/sdk/backup/src/operation/describe_framework/builders.rs +++ b/sdk/backup/src/operation/describe_framework/builders.rs @@ -19,9 +19,9 @@ impl DescribeFrameworkFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl DescribeFrameworkFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::describe_framework::DescribeFramework, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::describe_framework::DescribeFrameworkError, + >, + > { + self.customize_middleware().await + } ///

The unique name of a framework.

pub fn framework_name( mut self, diff --git a/sdk/backup/src/operation/describe_global_settings/builders.rs b/sdk/backup/src/operation/describe_global_settings/builders.rs index e08047afd9f2..cc410e4811f4 100644 --- a/sdk/backup/src/operation/describe_global_settings/builders.rs +++ b/sdk/backup/src/operation/describe_global_settings/builders.rs @@ -19,9 +19,9 @@ impl DescribeGlobalSettingsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,4 +83,20 @@ impl DescribeGlobalSettingsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::describe_global_settings::DescribeGlobalSettings, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::describe_global_settings::DescribeGlobalSettingsError, + >, + > { + self.customize_middleware().await + } } diff --git a/sdk/backup/src/operation/describe_protected_resource/builders.rs b/sdk/backup/src/operation/describe_protected_resource/builders.rs index a08c7c2992c6..6a7c3efa1eb8 100644 --- a/sdk/backup/src/operation/describe_protected_resource/builders.rs +++ b/sdk/backup/src/operation/describe_protected_resource/builders.rs @@ -19,9 +19,9 @@ impl DescribeProtectedResourceFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl DescribeProtectedResourceFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::describe_protected_resource::DescribeProtectedResource, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::describe_protected_resource::DescribeProtectedResourceError, + >, + > { + self.customize_middleware().await + } ///

An Amazon Resource Name (ARN) that uniquely identifies a resource. The format of the ARN depends on the resource type.

pub fn resource_arn(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.resource_arn(input.into()); diff --git a/sdk/backup/src/operation/describe_recovery_point/builders.rs b/sdk/backup/src/operation/describe_recovery_point/builders.rs index db491a9c98a4..84717d913ee7 100644 --- a/sdk/backup/src/operation/describe_recovery_point/builders.rs +++ b/sdk/backup/src/operation/describe_recovery_point/builders.rs @@ -19,9 +19,9 @@ impl DescribeRecoveryPointFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl DescribeRecoveryPointFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::describe_recovery_point::DescribeRecoveryPoint, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::describe_recovery_point::DescribeRecoveryPointError, + >, + > { + self.customize_middleware().await + } ///

The name of a logical container where backups are stored. Backup vaults are identified by names that are unique to the account used to create them and the Amazon Web Services Region where they are created. They consist of lowercase letters, numbers, and hyphens.

pub fn backup_vault_name( mut self, diff --git a/sdk/backup/src/operation/describe_region_settings/builders.rs b/sdk/backup/src/operation/describe_region_settings/builders.rs index 687ea73a3e14..f5ff62da2ecd 100644 --- a/sdk/backup/src/operation/describe_region_settings/builders.rs +++ b/sdk/backup/src/operation/describe_region_settings/builders.rs @@ -19,9 +19,9 @@ impl DescribeRegionSettingsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,4 +83,20 @@ impl DescribeRegionSettingsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::describe_region_settings::DescribeRegionSettings, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::describe_region_settings::DescribeRegionSettingsError, + >, + > { + self.customize_middleware().await + } } diff --git a/sdk/backup/src/operation/describe_report_job/builders.rs b/sdk/backup/src/operation/describe_report_job/builders.rs index 20d890815121..c7c458fc2360 100644 --- a/sdk/backup/src/operation/describe_report_job/builders.rs +++ b/sdk/backup/src/operation/describe_report_job/builders.rs @@ -19,9 +19,9 @@ impl DescribeReportJobFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl DescribeReportJobFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::describe_report_job::DescribeReportJob, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::describe_report_job::DescribeReportJobError, + >, + > { + self.customize_middleware().await + } ///

The identifier of the report job. A unique, randomly generated, Unicode, UTF-8 encoded string that is at most 1,024 bytes long. The report job ID cannot be edited.

pub fn report_job_id( mut self, diff --git a/sdk/backup/src/operation/describe_report_plan/builders.rs b/sdk/backup/src/operation/describe_report_plan/builders.rs index 4f5c86379746..0bd5ef605848 100644 --- a/sdk/backup/src/operation/describe_report_plan/builders.rs +++ b/sdk/backup/src/operation/describe_report_plan/builders.rs @@ -19,9 +19,9 @@ impl DescribeReportPlanFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl DescribeReportPlanFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::describe_report_plan::DescribeReportPlan, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::describe_report_plan::DescribeReportPlanError, + >, + > { + self.customize_middleware().await + } ///

The unique name of a report plan.

pub fn report_plan_name( mut self, diff --git a/sdk/backup/src/operation/describe_restore_job/builders.rs b/sdk/backup/src/operation/describe_restore_job/builders.rs index 29d80331b3fd..431d82b196d5 100644 --- a/sdk/backup/src/operation/describe_restore_job/builders.rs +++ b/sdk/backup/src/operation/describe_restore_job/builders.rs @@ -19,9 +19,9 @@ impl DescribeRestoreJobFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl DescribeRestoreJobFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::describe_restore_job::DescribeRestoreJob, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::describe_restore_job::DescribeRestoreJobError, + >, + > { + self.customize_middleware().await + } ///

Uniquely identifies the job that restores a recovery point.

pub fn restore_job_id( mut self, diff --git a/sdk/backup/src/operation/disassociate_recovery_point/builders.rs b/sdk/backup/src/operation/disassociate_recovery_point/builders.rs index 2d36491f59f7..b1807d5bfedd 100644 --- a/sdk/backup/src/operation/disassociate_recovery_point/builders.rs +++ b/sdk/backup/src/operation/disassociate_recovery_point/builders.rs @@ -20,9 +20,9 @@ impl DisassociateRecoveryPointFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -84,6 +84,22 @@ impl DisassociateRecoveryPointFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::disassociate_recovery_point::DisassociateRecoveryPoint, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::disassociate_recovery_point::DisassociateRecoveryPointError, + >, + > { + self.customize_middleware().await + } ///

The unique name of an Backup vault.

pub fn backup_vault_name( mut self, diff --git a/sdk/backup/src/operation/disassociate_recovery_point_from_parent/builders.rs b/sdk/backup/src/operation/disassociate_recovery_point_from_parent/builders.rs index b809b14515c2..1cf9dfbf0b4c 100644 --- a/sdk/backup/src/operation/disassociate_recovery_point_from_parent/builders.rs +++ b/sdk/backup/src/operation/disassociate_recovery_point_from_parent/builders.rs @@ -19,9 +19,9 @@ impl DisassociateRecoveryPointFromParentFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize(self) -> ::std::result::Result< + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware(self) -> ::std::result::Result< crate::client::customize::CustomizableOperation, ::aws_smithy_http::result::SdkError >{ @@ -64,6 +64,15 @@ impl DisassociateRecoveryPointFromParentFluentBuilder { { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize(self) -> ::std::result::Result< + crate::client::customize::CustomizableOperation, + ::aws_smithy_http::result::SdkError + >{ + self.customize_middleware().await + } ///

This is the name of a logical container where the child (nested) recovery point is stored. Backup vaults are identified by names that are unique to the account used to create them and the Amazon Web Services Region where they are created. They consist of lowercase letters, numbers, and hyphens.

pub fn backup_vault_name( mut self, diff --git a/sdk/backup/src/operation/export_backup_plan_template/builders.rs b/sdk/backup/src/operation/export_backup_plan_template/builders.rs index b08cff101916..a9891040bcb3 100644 --- a/sdk/backup/src/operation/export_backup_plan_template/builders.rs +++ b/sdk/backup/src/operation/export_backup_plan_template/builders.rs @@ -19,9 +19,9 @@ impl ExportBackupPlanTemplateFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl ExportBackupPlanTemplateFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::export_backup_plan_template::ExportBackupPlanTemplate, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::export_backup_plan_template::ExportBackupPlanTemplateError, + >, + > { + self.customize_middleware().await + } ///

Uniquely identifies a backup plan.

pub fn backup_plan_id( mut self, diff --git a/sdk/backup/src/operation/get_backup_plan/builders.rs b/sdk/backup/src/operation/get_backup_plan/builders.rs index 3edfb36939b3..b3bcaaa82706 100644 --- a/sdk/backup/src/operation/get_backup_plan/builders.rs +++ b/sdk/backup/src/operation/get_backup_plan/builders.rs @@ -19,9 +19,9 @@ impl GetBackupPlanFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl GetBackupPlanFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::get_backup_plan::GetBackupPlan, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

Uniquely identifies a backup plan.

pub fn backup_plan_id( mut self, diff --git a/sdk/backup/src/operation/get_backup_plan_from_json/builders.rs b/sdk/backup/src/operation/get_backup_plan_from_json/builders.rs index 122f60ef77c1..0f9bd2cc3678 100644 --- a/sdk/backup/src/operation/get_backup_plan_from_json/builders.rs +++ b/sdk/backup/src/operation/get_backup_plan_from_json/builders.rs @@ -19,9 +19,9 @@ impl GetBackupPlanFromJSONFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl GetBackupPlanFromJSONFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::get_backup_plan_from_json::GetBackupPlanFromJSON, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::get_backup_plan_from_json::GetBackupPlanFromJSONError, + >, + > { + self.customize_middleware().await + } ///

A customer-supplied backup plan document in JSON format.

pub fn backup_plan_template_json( mut self, diff --git a/sdk/backup/src/operation/get_backup_plan_from_template/builders.rs b/sdk/backup/src/operation/get_backup_plan_from_template/builders.rs index a9c1a35c4af5..afb6481292b5 100644 --- a/sdk/backup/src/operation/get_backup_plan_from_template/builders.rs +++ b/sdk/backup/src/operation/get_backup_plan_from_template/builders.rs @@ -19,9 +19,9 @@ impl GetBackupPlanFromTemplateFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl GetBackupPlanFromTemplateFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::get_backup_plan_from_template::GetBackupPlanFromTemplate, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::get_backup_plan_from_template::GetBackupPlanFromTemplateError, + >, + > { + self.customize_middleware().await + } ///

Uniquely identifies a stored backup plan template.

pub fn backup_plan_template_id( mut self, diff --git a/sdk/backup/src/operation/get_backup_selection/builders.rs b/sdk/backup/src/operation/get_backup_selection/builders.rs index a21286bcc1e5..0e7bb9ee449c 100644 --- a/sdk/backup/src/operation/get_backup_selection/builders.rs +++ b/sdk/backup/src/operation/get_backup_selection/builders.rs @@ -19,9 +19,9 @@ impl GetBackupSelectionFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl GetBackupSelectionFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::get_backup_selection::GetBackupSelection, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::get_backup_selection::GetBackupSelectionError, + >, + > { + self.customize_middleware().await + } ///

Uniquely identifies a backup plan.

pub fn backup_plan_id( mut self, diff --git a/sdk/backup/src/operation/get_backup_vault_access_policy/builders.rs b/sdk/backup/src/operation/get_backup_vault_access_policy/builders.rs index 227d375033ab..02d7e6510a2d 100644 --- a/sdk/backup/src/operation/get_backup_vault_access_policy/builders.rs +++ b/sdk/backup/src/operation/get_backup_vault_access_policy/builders.rs @@ -19,9 +19,9 @@ impl GetBackupVaultAccessPolicyFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl GetBackupVaultAccessPolicyFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::get_backup_vault_access_policy::GetBackupVaultAccessPolicy, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::get_backup_vault_access_policy::GetBackupVaultAccessPolicyError, + >, + > { + self.customize_middleware().await + } ///

The name of a logical container where backups are stored. Backup vaults are identified by names that are unique to the account used to create them and the Amazon Web Services Region where they are created. They consist of lowercase letters, numbers, and hyphens.

pub fn backup_vault_name( mut self, diff --git a/sdk/backup/src/operation/get_backup_vault_notifications/builders.rs b/sdk/backup/src/operation/get_backup_vault_notifications/builders.rs index 8823c6826128..9f0209d8bd15 100644 --- a/sdk/backup/src/operation/get_backup_vault_notifications/builders.rs +++ b/sdk/backup/src/operation/get_backup_vault_notifications/builders.rs @@ -19,9 +19,9 @@ impl GetBackupVaultNotificationsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl GetBackupVaultNotificationsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::get_backup_vault_notifications::GetBackupVaultNotifications, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::get_backup_vault_notifications::GetBackupVaultNotificationsError, + >, + > { + self.customize_middleware().await + } ///

The name of a logical container where backups are stored. Backup vaults are identified by names that are unique to the account used to create them and the Amazon Web Services Region where they are created. They consist of lowercase letters, numbers, and hyphens.

pub fn backup_vault_name( mut self, diff --git a/sdk/backup/src/operation/get_legal_hold/builders.rs b/sdk/backup/src/operation/get_legal_hold/builders.rs index d15dfa112c72..7017fe5272d3 100644 --- a/sdk/backup/src/operation/get_legal_hold/builders.rs +++ b/sdk/backup/src/operation/get_legal_hold/builders.rs @@ -19,9 +19,9 @@ impl GetLegalHoldFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl GetLegalHoldFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::get_legal_hold::GetLegalHold, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

This is the ID required to use GetLegalHold. This unique ID is associated with a specific legal hold.

pub fn legal_hold_id( mut self, diff --git a/sdk/backup/src/operation/get_recovery_point_restore_metadata/builders.rs b/sdk/backup/src/operation/get_recovery_point_restore_metadata/builders.rs index d90128729d3c..bd0f29ba8dc6 100644 --- a/sdk/backup/src/operation/get_recovery_point_restore_metadata/builders.rs +++ b/sdk/backup/src/operation/get_recovery_point_restore_metadata/builders.rs @@ -19,9 +19,9 @@ impl GetRecoveryPointRestoreMetadataFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize(self) -> ::std::result::Result< + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware(self) -> ::std::result::Result< crate::client::customize::CustomizableOperation, ::aws_smithy_http::result::SdkError >{ @@ -64,6 +64,15 @@ impl GetRecoveryPointRestoreMetadataFluentBuilder { { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize(self) -> ::std::result::Result< + crate::client::customize::CustomizableOperation, + ::aws_smithy_http::result::SdkError + >{ + self.customize_middleware().await + } ///

The name of a logical container where backups are stored. Backup vaults are identified by names that are unique to the account used to create them and the Amazon Web Services Region where they are created. They consist of lowercase letters, numbers, and hyphens.

pub fn backup_vault_name( mut self, diff --git a/sdk/backup/src/operation/get_supported_resource_types/builders.rs b/sdk/backup/src/operation/get_supported_resource_types/builders.rs index d329a6141872..786b7a312131 100644 --- a/sdk/backup/src/operation/get_supported_resource_types/builders.rs +++ b/sdk/backup/src/operation/get_supported_resource_types/builders.rs @@ -19,9 +19,9 @@ impl GetSupportedResourceTypesFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,4 +83,20 @@ impl GetSupportedResourceTypesFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::get_supported_resource_types::GetSupportedResourceTypes, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::get_supported_resource_types::GetSupportedResourceTypesError, + >, + > { + self.customize_middleware().await + } } diff --git a/sdk/backup/src/operation/list_backup_jobs/builders.rs b/sdk/backup/src/operation/list_backup_jobs/builders.rs index 2b90b7199254..3f35be75f770 100644 --- a/sdk/backup/src/operation/list_backup_jobs/builders.rs +++ b/sdk/backup/src/operation/list_backup_jobs/builders.rs @@ -19,9 +19,9 @@ impl ListBackupJobsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl ListBackupJobsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_backup_jobs::ListBackupJobs, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::list_backup_jobs::ListBackupJobsError, + >, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::list_backup_jobs::paginator::ListBackupJobsPaginator::send) which returns a `Stream`. diff --git a/sdk/backup/src/operation/list_backup_plan_templates/builders.rs b/sdk/backup/src/operation/list_backup_plan_templates/builders.rs index 15be290068a8..56053878e843 100644 --- a/sdk/backup/src/operation/list_backup_plan_templates/builders.rs +++ b/sdk/backup/src/operation/list_backup_plan_templates/builders.rs @@ -20,9 +20,9 @@ impl ListBackupPlanTemplatesFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -84,6 +84,22 @@ impl ListBackupPlanTemplatesFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_backup_plan_templates::ListBackupPlanTemplates, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::list_backup_plan_templates::ListBackupPlanTemplatesError, + >, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::list_backup_plan_templates::paginator::ListBackupPlanTemplatesPaginator::send) which returns a `Stream`. diff --git a/sdk/backup/src/operation/list_backup_plan_versions/builders.rs b/sdk/backup/src/operation/list_backup_plan_versions/builders.rs index dd8484759568..5d9e2f2fb8ee 100644 --- a/sdk/backup/src/operation/list_backup_plan_versions/builders.rs +++ b/sdk/backup/src/operation/list_backup_plan_versions/builders.rs @@ -20,9 +20,9 @@ impl ListBackupPlanVersionsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -84,6 +84,22 @@ impl ListBackupPlanVersionsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_backup_plan_versions::ListBackupPlanVersions, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::list_backup_plan_versions::ListBackupPlanVersionsError, + >, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::list_backup_plan_versions::paginator::ListBackupPlanVersionsPaginator::send) which returns a `Stream`. diff --git a/sdk/backup/src/operation/list_backup_plans/builders.rs b/sdk/backup/src/operation/list_backup_plans/builders.rs index 8f13c9b5a52d..fa9af3948f1b 100644 --- a/sdk/backup/src/operation/list_backup_plans/builders.rs +++ b/sdk/backup/src/operation/list_backup_plans/builders.rs @@ -19,9 +19,9 @@ impl ListBackupPlansFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl ListBackupPlansFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_backup_plans::ListBackupPlans, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::list_backup_plans::ListBackupPlansError, + >, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::list_backup_plans::paginator::ListBackupPlansPaginator::send) which returns a `Stream`. diff --git a/sdk/backup/src/operation/list_backup_selections/builders.rs b/sdk/backup/src/operation/list_backup_selections/builders.rs index 90325ab7a492..77eed114b2a6 100644 --- a/sdk/backup/src/operation/list_backup_selections/builders.rs +++ b/sdk/backup/src/operation/list_backup_selections/builders.rs @@ -19,9 +19,9 @@ impl ListBackupSelectionsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl ListBackupSelectionsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_backup_selections::ListBackupSelections, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::list_backup_selections::ListBackupSelectionsError, + >, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::list_backup_selections::paginator::ListBackupSelectionsPaginator::send) which returns a `Stream`. diff --git a/sdk/backup/src/operation/list_backup_vaults/builders.rs b/sdk/backup/src/operation/list_backup_vaults/builders.rs index ce4e450129e0..281ea1804bb4 100644 --- a/sdk/backup/src/operation/list_backup_vaults/builders.rs +++ b/sdk/backup/src/operation/list_backup_vaults/builders.rs @@ -19,9 +19,9 @@ impl ListBackupVaultsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl ListBackupVaultsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_backup_vaults::ListBackupVaults, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::list_backup_vaults::ListBackupVaultsError, + >, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::list_backup_vaults::paginator::ListBackupVaultsPaginator::send) which returns a `Stream`. diff --git a/sdk/backup/src/operation/list_copy_jobs/builders.rs b/sdk/backup/src/operation/list_copy_jobs/builders.rs index 6bc7690b4a28..678891fde4eb 100644 --- a/sdk/backup/src/operation/list_copy_jobs/builders.rs +++ b/sdk/backup/src/operation/list_copy_jobs/builders.rs @@ -19,9 +19,9 @@ impl ListCopyJobsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl ListCopyJobsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_copy_jobs::ListCopyJobs, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::list_copy_jobs::paginator::ListCopyJobsPaginator::send) which returns a `Stream`. diff --git a/sdk/backup/src/operation/list_frameworks/builders.rs b/sdk/backup/src/operation/list_frameworks/builders.rs index 33d478940b67..2ad8505d1d65 100644 --- a/sdk/backup/src/operation/list_frameworks/builders.rs +++ b/sdk/backup/src/operation/list_frameworks/builders.rs @@ -19,9 +19,9 @@ impl ListFrameworksFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl ListFrameworksFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_frameworks::ListFrameworks, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::list_frameworks::paginator::ListFrameworksPaginator::send) which returns a `Stream`. diff --git a/sdk/backup/src/operation/list_legal_holds/builders.rs b/sdk/backup/src/operation/list_legal_holds/builders.rs index 40d6580ae299..8f12ce9db07d 100644 --- a/sdk/backup/src/operation/list_legal_holds/builders.rs +++ b/sdk/backup/src/operation/list_legal_holds/builders.rs @@ -19,9 +19,9 @@ impl ListLegalHoldsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl ListLegalHoldsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_legal_holds::ListLegalHolds, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::list_legal_holds::ListLegalHoldsError, + >, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::list_legal_holds::paginator::ListLegalHoldsPaginator::send) which returns a `Stream`. diff --git a/sdk/backup/src/operation/list_protected_resources/builders.rs b/sdk/backup/src/operation/list_protected_resources/builders.rs index 5ad236648dd0..a1be8e7e15a6 100644 --- a/sdk/backup/src/operation/list_protected_resources/builders.rs +++ b/sdk/backup/src/operation/list_protected_resources/builders.rs @@ -19,9 +19,9 @@ impl ListProtectedResourcesFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl ListProtectedResourcesFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_protected_resources::ListProtectedResources, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::list_protected_resources::ListProtectedResourcesError, + >, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::list_protected_resources::paginator::ListProtectedResourcesPaginator::send) which returns a `Stream`. diff --git a/sdk/backup/src/operation/list_recovery_points_by_backup_vault/builders.rs b/sdk/backup/src/operation/list_recovery_points_by_backup_vault/builders.rs index be9e1936c35b..4ad394fa8206 100644 --- a/sdk/backup/src/operation/list_recovery_points_by_backup_vault/builders.rs +++ b/sdk/backup/src/operation/list_recovery_points_by_backup_vault/builders.rs @@ -19,9 +19,9 @@ impl ListRecoveryPointsByBackupVaultFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize(self) -> ::std::result::Result< + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware(self) -> ::std::result::Result< crate::client::customize::CustomizableOperation, ::aws_smithy_http::result::SdkError >{ @@ -64,6 +64,15 @@ impl ListRecoveryPointsByBackupVaultFluentBuilder { { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize(self) -> ::std::result::Result< + crate::client::customize::CustomizableOperation, + ::aws_smithy_http::result::SdkError + >{ + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::list_recovery_points_by_backup_vault::paginator::ListRecoveryPointsByBackupVaultPaginator::send) which returns a `Stream`. diff --git a/sdk/backup/src/operation/list_recovery_points_by_legal_hold/builders.rs b/sdk/backup/src/operation/list_recovery_points_by_legal_hold/builders.rs index edcffde10cd3..4a88b075fff0 100644 --- a/sdk/backup/src/operation/list_recovery_points_by_legal_hold/builders.rs +++ b/sdk/backup/src/operation/list_recovery_points_by_legal_hold/builders.rs @@ -19,9 +19,9 @@ impl ListRecoveryPointsByLegalHoldFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize(self) -> ::std::result::Result< + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware(self) -> ::std::result::Result< crate::client::customize::CustomizableOperation, ::aws_smithy_http::result::SdkError >{ @@ -64,6 +64,15 @@ impl ListRecoveryPointsByLegalHoldFluentBuilder { { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize(self) -> ::std::result::Result< + crate::client::customize::CustomizableOperation, + ::aws_smithy_http::result::SdkError + >{ + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::list_recovery_points_by_legal_hold::paginator::ListRecoveryPointsByLegalHoldPaginator::send) which returns a `Stream`. diff --git a/sdk/backup/src/operation/list_recovery_points_by_resource/builders.rs b/sdk/backup/src/operation/list_recovery_points_by_resource/builders.rs index 0e665d45a53e..5714d54e6b83 100644 --- a/sdk/backup/src/operation/list_recovery_points_by_resource/builders.rs +++ b/sdk/backup/src/operation/list_recovery_points_by_resource/builders.rs @@ -21,9 +21,9 @@ impl ListRecoveryPointsByResourceFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -85,6 +85,22 @@ impl ListRecoveryPointsByResourceFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_recovery_points_by_resource::ListRecoveryPointsByResource, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::list_recovery_points_by_resource::ListRecoveryPointsByResourceError, + >, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::list_recovery_points_by_resource::paginator::ListRecoveryPointsByResourcePaginator::send) which returns a `Stream`. diff --git a/sdk/backup/src/operation/list_report_jobs/builders.rs b/sdk/backup/src/operation/list_report_jobs/builders.rs index d37a78e2210b..cb565cec2727 100644 --- a/sdk/backup/src/operation/list_report_jobs/builders.rs +++ b/sdk/backup/src/operation/list_report_jobs/builders.rs @@ -19,9 +19,9 @@ impl ListReportJobsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl ListReportJobsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_report_jobs::ListReportJobs, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::list_report_jobs::ListReportJobsError, + >, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::list_report_jobs::paginator::ListReportJobsPaginator::send) which returns a `Stream`. diff --git a/sdk/backup/src/operation/list_report_plans/builders.rs b/sdk/backup/src/operation/list_report_plans/builders.rs index 59b07da646d8..673b75f75db5 100644 --- a/sdk/backup/src/operation/list_report_plans/builders.rs +++ b/sdk/backup/src/operation/list_report_plans/builders.rs @@ -19,9 +19,9 @@ impl ListReportPlansFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl ListReportPlansFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_report_plans::ListReportPlans, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::list_report_plans::ListReportPlansError, + >, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::list_report_plans::paginator::ListReportPlansPaginator::send) which returns a `Stream`. diff --git a/sdk/backup/src/operation/list_restore_jobs/builders.rs b/sdk/backup/src/operation/list_restore_jobs/builders.rs index 3308f19ff69e..e62017e11f6f 100644 --- a/sdk/backup/src/operation/list_restore_jobs/builders.rs +++ b/sdk/backup/src/operation/list_restore_jobs/builders.rs @@ -19,9 +19,9 @@ impl ListRestoreJobsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl ListRestoreJobsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_restore_jobs::ListRestoreJobs, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::list_restore_jobs::ListRestoreJobsError, + >, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::list_restore_jobs::paginator::ListRestoreJobsPaginator::send) which returns a `Stream`. diff --git a/sdk/backup/src/operation/list_tags/builders.rs b/sdk/backup/src/operation/list_tags/builders.rs index b4612ca20262..07e2774b75a3 100644 --- a/sdk/backup/src/operation/list_tags/builders.rs +++ b/sdk/backup/src/operation/list_tags/builders.rs @@ -20,9 +20,9 @@ impl ListTagsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -78,6 +78,20 @@ impl ListTagsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_tags::ListTags, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::list_tags::paginator::ListTagsPaginator::send) which returns a `Stream`. diff --git a/sdk/backup/src/operation/put_backup_vault_access_policy/builders.rs b/sdk/backup/src/operation/put_backup_vault_access_policy/builders.rs index b5b8665d02d0..0d60213dbdf7 100644 --- a/sdk/backup/src/operation/put_backup_vault_access_policy/builders.rs +++ b/sdk/backup/src/operation/put_backup_vault_access_policy/builders.rs @@ -19,9 +19,9 @@ impl PutBackupVaultAccessPolicyFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl PutBackupVaultAccessPolicyFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::put_backup_vault_access_policy::PutBackupVaultAccessPolicy, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::put_backup_vault_access_policy::PutBackupVaultAccessPolicyError, + >, + > { + self.customize_middleware().await + } ///

The name of a logical container where backups are stored. Backup vaults are identified by names that are unique to the account used to create them and the Amazon Web Services Region where they are created. They consist of lowercase letters, numbers, and hyphens.

pub fn backup_vault_name( mut self, diff --git a/sdk/backup/src/operation/put_backup_vault_lock_configuration/builders.rs b/sdk/backup/src/operation/put_backup_vault_lock_configuration/builders.rs index 472bbf939512..fe904a77df7d 100644 --- a/sdk/backup/src/operation/put_backup_vault_lock_configuration/builders.rs +++ b/sdk/backup/src/operation/put_backup_vault_lock_configuration/builders.rs @@ -21,9 +21,9 @@ impl PutBackupVaultLockConfigurationFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize(self) -> ::std::result::Result< + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware(self) -> ::std::result::Result< crate::client::customize::CustomizableOperation, ::aws_smithy_http::result::SdkError >{ @@ -66,6 +66,15 @@ impl PutBackupVaultLockConfigurationFluentBuilder { { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize(self) -> ::std::result::Result< + crate::client::customize::CustomizableOperation, + ::aws_smithy_http::result::SdkError + >{ + self.customize_middleware().await + } ///

The Backup Vault Lock configuration that specifies the name of the backup vault it protects.

pub fn backup_vault_name( mut self, diff --git a/sdk/backup/src/operation/put_backup_vault_notifications/builders.rs b/sdk/backup/src/operation/put_backup_vault_notifications/builders.rs index 0673436acd4f..207d480ac983 100644 --- a/sdk/backup/src/operation/put_backup_vault_notifications/builders.rs +++ b/sdk/backup/src/operation/put_backup_vault_notifications/builders.rs @@ -19,9 +19,9 @@ impl PutBackupVaultNotificationsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl PutBackupVaultNotificationsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::put_backup_vault_notifications::PutBackupVaultNotifications, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::put_backup_vault_notifications::PutBackupVaultNotificationsError, + >, + > { + self.customize_middleware().await + } ///

The name of a logical container where backups are stored. Backup vaults are identified by names that are unique to the account used to create them and the Amazon Web Services Region where they are created. They consist of lowercase letters, numbers, and hyphens.

pub fn backup_vault_name( mut self, diff --git a/sdk/backup/src/operation/start_backup_job/builders.rs b/sdk/backup/src/operation/start_backup_job/builders.rs index 56d9c65e790d..28efec95f516 100644 --- a/sdk/backup/src/operation/start_backup_job/builders.rs +++ b/sdk/backup/src/operation/start_backup_job/builders.rs @@ -19,9 +19,9 @@ impl StartBackupJobFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl StartBackupJobFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::start_backup_job::StartBackupJob, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::start_backup_job::StartBackupJobError, + >, + > { + self.customize_middleware().await + } ///

The name of a logical container where backups are stored. Backup vaults are identified by names that are unique to the account used to create them and the Amazon Web Services Region where they are created. They consist of lowercase letters, numbers, and hyphens.

pub fn backup_vault_name( mut self, diff --git a/sdk/backup/src/operation/start_copy_job/builders.rs b/sdk/backup/src/operation/start_copy_job/builders.rs index e124b2094e4d..be32ce194f8f 100644 --- a/sdk/backup/src/operation/start_copy_job/builders.rs +++ b/sdk/backup/src/operation/start_copy_job/builders.rs @@ -20,9 +20,9 @@ impl StartCopyJobFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -78,6 +78,20 @@ impl StartCopyJobFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::start_copy_job::StartCopyJob, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

An ARN that uniquely identifies a recovery point to use for the copy job; for example, arn:aws:backup:us-east-1:123456789012:recovery-point:1EB3B5E7-9EB0-435A-A80B-108B488B0D45.

pub fn recovery_point_arn( mut self, diff --git a/sdk/backup/src/operation/start_report_job/builders.rs b/sdk/backup/src/operation/start_report_job/builders.rs index f8aa55d99e6a..60cdf3055f06 100644 --- a/sdk/backup/src/operation/start_report_job/builders.rs +++ b/sdk/backup/src/operation/start_report_job/builders.rs @@ -19,9 +19,9 @@ impl StartReportJobFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl StartReportJobFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::start_report_job::StartReportJob, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::start_report_job::StartReportJobError, + >, + > { + self.customize_middleware().await + } ///

The unique name of a report plan.

pub fn report_plan_name( mut self, diff --git a/sdk/backup/src/operation/start_restore_job/builders.rs b/sdk/backup/src/operation/start_restore_job/builders.rs index 4ebe9ed5b252..81823aeca6b6 100644 --- a/sdk/backup/src/operation/start_restore_job/builders.rs +++ b/sdk/backup/src/operation/start_restore_job/builders.rs @@ -19,9 +19,9 @@ impl StartRestoreJobFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl StartRestoreJobFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::start_restore_job::StartRestoreJob, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::start_restore_job::StartRestoreJobError, + >, + > { + self.customize_middleware().await + } ///

An ARN that uniquely identifies a recovery point; for example, arn:aws:backup:us-east-1:123456789012:recovery-point:1EB3B5E7-9EB0-435A-A80B-108B488B0D45.

pub fn recovery_point_arn( mut self, diff --git a/sdk/backup/src/operation/stop_backup_job/builders.rs b/sdk/backup/src/operation/stop_backup_job/builders.rs index 03ce73c90182..c8715629cd37 100644 --- a/sdk/backup/src/operation/stop_backup_job/builders.rs +++ b/sdk/backup/src/operation/stop_backup_job/builders.rs @@ -20,9 +20,9 @@ impl StopBackupJobFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -78,6 +78,20 @@ impl StopBackupJobFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::stop_backup_job::StopBackupJob, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

Uniquely identifies a request to Backup to back up a resource.

pub fn backup_job_id( mut self, diff --git a/sdk/backup/src/operation/tag_resource/builders.rs b/sdk/backup/src/operation/tag_resource/builders.rs index fdf1be8f1fcf..38ac8b39973e 100644 --- a/sdk/backup/src/operation/tag_resource/builders.rs +++ b/sdk/backup/src/operation/tag_resource/builders.rs @@ -19,9 +19,9 @@ impl TagResourceFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl TagResourceFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::tag_resource::TagResource, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

An ARN that uniquely identifies a resource. The format of the ARN depends on the type of the tagged resource.

pub fn resource_arn(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.resource_arn(input.into()); diff --git a/sdk/backup/src/operation/untag_resource/builders.rs b/sdk/backup/src/operation/untag_resource/builders.rs index 5ed0bd84d45f..61c71b8c00bd 100644 --- a/sdk/backup/src/operation/untag_resource/builders.rs +++ b/sdk/backup/src/operation/untag_resource/builders.rs @@ -19,9 +19,9 @@ impl UntagResourceFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl UntagResourceFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::untag_resource::UntagResource, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

An ARN that uniquely identifies a resource. The format of the ARN depends on the type of the tagged resource.

pub fn resource_arn(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.resource_arn(input.into()); diff --git a/sdk/backup/src/operation/update_backup_plan/builders.rs b/sdk/backup/src/operation/update_backup_plan/builders.rs index b74d82db2f72..f0d262ce81df 100644 --- a/sdk/backup/src/operation/update_backup_plan/builders.rs +++ b/sdk/backup/src/operation/update_backup_plan/builders.rs @@ -19,9 +19,9 @@ impl UpdateBackupPlanFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl UpdateBackupPlanFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::update_backup_plan::UpdateBackupPlan, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::update_backup_plan::UpdateBackupPlanError, + >, + > { + self.customize_middleware().await + } ///

Uniquely identifies a backup plan.

pub fn backup_plan_id( mut self, diff --git a/sdk/backup/src/operation/update_framework/builders.rs b/sdk/backup/src/operation/update_framework/builders.rs index f7d0dda7f273..f5e413f0289b 100644 --- a/sdk/backup/src/operation/update_framework/builders.rs +++ b/sdk/backup/src/operation/update_framework/builders.rs @@ -19,9 +19,9 @@ impl UpdateFrameworkFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl UpdateFrameworkFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::update_framework::UpdateFramework, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::update_framework::UpdateFrameworkError, + >, + > { + self.customize_middleware().await + } ///

The unique name of a framework. This name is between 1 and 256 characters, starting with a letter, and consisting of letters (a-z, A-Z), numbers (0-9), and underscores (_).

pub fn framework_name( mut self, diff --git a/sdk/backup/src/operation/update_global_settings/builders.rs b/sdk/backup/src/operation/update_global_settings/builders.rs index 63b20795d726..1c0a06499020 100644 --- a/sdk/backup/src/operation/update_global_settings/builders.rs +++ b/sdk/backup/src/operation/update_global_settings/builders.rs @@ -19,9 +19,9 @@ impl UpdateGlobalSettingsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl UpdateGlobalSettingsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::update_global_settings::UpdateGlobalSettings, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::update_global_settings::UpdateGlobalSettingsError, + >, + > { + self.customize_middleware().await + } /// Adds a key-value pair to `GlobalSettings`. /// /// To override the contents of this collection use [`set_global_settings`](Self::set_global_settings). diff --git a/sdk/backup/src/operation/update_recovery_point_lifecycle/builders.rs b/sdk/backup/src/operation/update_recovery_point_lifecycle/builders.rs index c79b156d87fa..1b784cd277f7 100644 --- a/sdk/backup/src/operation/update_recovery_point_lifecycle/builders.rs +++ b/sdk/backup/src/operation/update_recovery_point_lifecycle/builders.rs @@ -23,9 +23,9 @@ impl UpdateRecoveryPointLifecycleFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -87,6 +87,22 @@ impl UpdateRecoveryPointLifecycleFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::update_recovery_point_lifecycle::UpdateRecoveryPointLifecycle, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::update_recovery_point_lifecycle::UpdateRecoveryPointLifecycleError, + >, + > { + self.customize_middleware().await + } ///

The name of a logical container where backups are stored. Backup vaults are identified by names that are unique to the account used to create them and the Amazon Web Services Region where they are created. They consist of lowercase letters, numbers, and hyphens.

pub fn backup_vault_name( mut self, diff --git a/sdk/backup/src/operation/update_region_settings/builders.rs b/sdk/backup/src/operation/update_region_settings/builders.rs index b8192e1cce65..42c78173e18a 100644 --- a/sdk/backup/src/operation/update_region_settings/builders.rs +++ b/sdk/backup/src/operation/update_region_settings/builders.rs @@ -19,9 +19,9 @@ impl UpdateRegionSettingsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl UpdateRegionSettingsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::update_region_settings::UpdateRegionSettings, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::update_region_settings::UpdateRegionSettingsError, + >, + > { + self.customize_middleware().await + } /// Adds a key-value pair to `ResourceTypeOptInPreference`. /// /// To override the contents of this collection use [`set_resource_type_opt_in_preference`](Self::set_resource_type_opt_in_preference). diff --git a/sdk/backup/src/operation/update_report_plan/builders.rs b/sdk/backup/src/operation/update_report_plan/builders.rs index 5263379317cb..42fc46149213 100644 --- a/sdk/backup/src/operation/update_report_plan/builders.rs +++ b/sdk/backup/src/operation/update_report_plan/builders.rs @@ -19,9 +19,9 @@ impl UpdateReportPlanFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl UpdateReportPlanFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::update_report_plan::UpdateReportPlan, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::update_report_plan::UpdateReportPlanError, + >, + > { + self.customize_middleware().await + } ///

The unique name of the report plan. This name is between 1 and 256 characters, starting with a letter, and consisting of letters (a-z, A-Z), numbers (0-9), and underscores (_).

pub fn report_plan_name( mut self, diff --git a/sdk/backupgateway/src/operation/associate_gateway_to_server/builders.rs b/sdk/backupgateway/src/operation/associate_gateway_to_server/builders.rs index 370690cffcfd..8554501ed21d 100644 --- a/sdk/backupgateway/src/operation/associate_gateway_to_server/builders.rs +++ b/sdk/backupgateway/src/operation/associate_gateway_to_server/builders.rs @@ -19,9 +19,9 @@ impl AssociateGatewayToServerFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl AssociateGatewayToServerFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::associate_gateway_to_server::AssociateGatewayToServer, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::associate_gateway_to_server::AssociateGatewayToServerError, + >, + > { + self.customize_middleware().await + } ///

The Amazon Resource Name (ARN) of the gateway. Use the ListGateways operation to return a list of gateways for your account and Amazon Web Services Region.

pub fn gateway_arn(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.gateway_arn(input.into()); diff --git a/sdk/backupgateway/src/operation/create_gateway/builders.rs b/sdk/backupgateway/src/operation/create_gateway/builders.rs index dd2c1cf56736..8fa1072a7e3f 100644 --- a/sdk/backupgateway/src/operation/create_gateway/builders.rs +++ b/sdk/backupgateway/src/operation/create_gateway/builders.rs @@ -19,9 +19,9 @@ impl CreateGatewayFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl CreateGatewayFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::create_gateway::CreateGateway, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

The activation key of the created gateway.

pub fn activation_key( mut self, diff --git a/sdk/backupgateway/src/operation/delete_gateway/builders.rs b/sdk/backupgateway/src/operation/delete_gateway/builders.rs index b30c88d4273f..820cd469c748 100644 --- a/sdk/backupgateway/src/operation/delete_gateway/builders.rs +++ b/sdk/backupgateway/src/operation/delete_gateway/builders.rs @@ -19,9 +19,9 @@ impl DeleteGatewayFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl DeleteGatewayFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::delete_gateway::DeleteGateway, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

The Amazon Resource Name (ARN) of the gateway to delete.

pub fn gateway_arn(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.gateway_arn(input.into()); diff --git a/sdk/backupgateway/src/operation/delete_hypervisor/builders.rs b/sdk/backupgateway/src/operation/delete_hypervisor/builders.rs index 002cbeb8df23..87b6b5be4f11 100644 --- a/sdk/backupgateway/src/operation/delete_hypervisor/builders.rs +++ b/sdk/backupgateway/src/operation/delete_hypervisor/builders.rs @@ -19,9 +19,9 @@ impl DeleteHypervisorFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl DeleteHypervisorFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::delete_hypervisor::DeleteHypervisor, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::delete_hypervisor::DeleteHypervisorError, + >, + > { + self.customize_middleware().await + } ///

The Amazon Resource Name (ARN) of the hypervisor to delete.

pub fn hypervisor_arn( mut self, diff --git a/sdk/backupgateway/src/operation/disassociate_gateway_from_server/builders.rs b/sdk/backupgateway/src/operation/disassociate_gateway_from_server/builders.rs index bf3f3ebdf3b9..ab03d5be6cd2 100644 --- a/sdk/backupgateway/src/operation/disassociate_gateway_from_server/builders.rs +++ b/sdk/backupgateway/src/operation/disassociate_gateway_from_server/builders.rs @@ -19,9 +19,9 @@ impl DisassociateGatewayFromServerFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl DisassociateGatewayFromServerFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::disassociate_gateway_from_server::DisassociateGatewayFromServer, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::disassociate_gateway_from_server::DisassociateGatewayFromServerError, + >, + > { + self.customize_middleware().await + } ///

The Amazon Resource Name (ARN) of the gateway to disassociate.

pub fn gateway_arn(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.gateway_arn(input.into()); diff --git a/sdk/backupgateway/src/operation/get_bandwidth_rate_limit_schedule/builders.rs b/sdk/backupgateway/src/operation/get_bandwidth_rate_limit_schedule/builders.rs index 7e25830429b2..7c9c5dbd3a83 100644 --- a/sdk/backupgateway/src/operation/get_bandwidth_rate_limit_schedule/builders.rs +++ b/sdk/backupgateway/src/operation/get_bandwidth_rate_limit_schedule/builders.rs @@ -19,9 +19,9 @@ impl GetBandwidthRateLimitScheduleFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl GetBandwidthRateLimitScheduleFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::get_bandwidth_rate_limit_schedule::GetBandwidthRateLimitSchedule, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::get_bandwidth_rate_limit_schedule::GetBandwidthRateLimitScheduleError, + >, + > { + self.customize_middleware().await + } ///

The Amazon Resource Name (ARN) of the gateway. Use the ListGateways operation to return a list of gateways for your account and Amazon Web Services Region.

pub fn gateway_arn(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.gateway_arn(input.into()); diff --git a/sdk/backupgateway/src/operation/get_gateway/builders.rs b/sdk/backupgateway/src/operation/get_gateway/builders.rs index 71924c5b4167..df07c61a0ab1 100644 --- a/sdk/backupgateway/src/operation/get_gateway/builders.rs +++ b/sdk/backupgateway/src/operation/get_gateway/builders.rs @@ -19,9 +19,9 @@ impl GetGatewayFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl GetGatewayFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::get_gateway::GetGateway, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

The Amazon Resource Name (ARN) of the gateway.

pub fn gateway_arn(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.gateway_arn(input.into()); diff --git a/sdk/backupgateway/src/operation/get_hypervisor/builders.rs b/sdk/backupgateway/src/operation/get_hypervisor/builders.rs index b316596524a7..2753593bd9f2 100644 --- a/sdk/backupgateway/src/operation/get_hypervisor/builders.rs +++ b/sdk/backupgateway/src/operation/get_hypervisor/builders.rs @@ -19,9 +19,9 @@ impl GetHypervisorFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl GetHypervisorFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::get_hypervisor::GetHypervisor, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

The Amazon Resource Name (ARN) of the hypervisor.

pub fn hypervisor_arn( mut self, diff --git a/sdk/backupgateway/src/operation/get_hypervisor_property_mappings/builders.rs b/sdk/backupgateway/src/operation/get_hypervisor_property_mappings/builders.rs index ebda18ae900b..2df7af9d9560 100644 --- a/sdk/backupgateway/src/operation/get_hypervisor_property_mappings/builders.rs +++ b/sdk/backupgateway/src/operation/get_hypervisor_property_mappings/builders.rs @@ -19,9 +19,9 @@ impl GetHypervisorPropertyMappingsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl GetHypervisorPropertyMappingsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::get_hypervisor_property_mappings::GetHypervisorPropertyMappings, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::get_hypervisor_property_mappings::GetHypervisorPropertyMappingsError, + >, + > { + self.customize_middleware().await + } ///

The Amazon Resource Name (ARN) of the hypervisor.

pub fn hypervisor_arn( mut self, diff --git a/sdk/backupgateway/src/operation/get_virtual_machine/builders.rs b/sdk/backupgateway/src/operation/get_virtual_machine/builders.rs index 738a7c0534e9..b8cc82f6a58b 100644 --- a/sdk/backupgateway/src/operation/get_virtual_machine/builders.rs +++ b/sdk/backupgateway/src/operation/get_virtual_machine/builders.rs @@ -19,9 +19,9 @@ impl GetVirtualMachineFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl GetVirtualMachineFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::get_virtual_machine::GetVirtualMachine, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::get_virtual_machine::GetVirtualMachineError, + >, + > { + self.customize_middleware().await + } ///

The Amazon Resource Name (ARN) of the virtual machine.

pub fn resource_arn(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.resource_arn(input.into()); diff --git a/sdk/backupgateway/src/operation/import_hypervisor_configuration/builders.rs b/sdk/backupgateway/src/operation/import_hypervisor_configuration/builders.rs index dac8f105b1ec..753fae29f068 100644 --- a/sdk/backupgateway/src/operation/import_hypervisor_configuration/builders.rs +++ b/sdk/backupgateway/src/operation/import_hypervisor_configuration/builders.rs @@ -19,9 +19,9 @@ impl ImportHypervisorConfigurationFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl ImportHypervisorConfigurationFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::import_hypervisor_configuration::ImportHypervisorConfiguration, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::import_hypervisor_configuration::ImportHypervisorConfigurationError, + >, + > { + self.customize_middleware().await + } ///

The name of the hypervisor.

pub fn name(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.name(input.into()); diff --git a/sdk/backupgateway/src/operation/list_gateways/builders.rs b/sdk/backupgateway/src/operation/list_gateways/builders.rs index 9e2439c542ac..747e354d8181 100644 --- a/sdk/backupgateway/src/operation/list_gateways/builders.rs +++ b/sdk/backupgateway/src/operation/list_gateways/builders.rs @@ -19,9 +19,9 @@ impl ListGatewaysFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl ListGatewaysFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_gateways::ListGateways, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::list_gateways::paginator::ListGatewaysPaginator::send) which returns a `Stream`. diff --git a/sdk/backupgateway/src/operation/list_hypervisors/builders.rs b/sdk/backupgateway/src/operation/list_hypervisors/builders.rs index 0787dc64ba8f..40b906fade3b 100644 --- a/sdk/backupgateway/src/operation/list_hypervisors/builders.rs +++ b/sdk/backupgateway/src/operation/list_hypervisors/builders.rs @@ -19,9 +19,9 @@ impl ListHypervisorsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl ListHypervisorsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_hypervisors::ListHypervisors, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::list_hypervisors::ListHypervisorsError, + >, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::list_hypervisors::paginator::ListHypervisorsPaginator::send) which returns a `Stream`. diff --git a/sdk/backupgateway/src/operation/list_tags_for_resource/builders.rs b/sdk/backupgateway/src/operation/list_tags_for_resource/builders.rs index 4fd85fa52322..8c6fceb3dded 100644 --- a/sdk/backupgateway/src/operation/list_tags_for_resource/builders.rs +++ b/sdk/backupgateway/src/operation/list_tags_for_resource/builders.rs @@ -19,9 +19,9 @@ impl ListTagsForResourceFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl ListTagsForResourceFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_tags_for_resource::ListTagsForResource, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::list_tags_for_resource::ListTagsForResourceError, + >, + > { + self.customize_middleware().await + } ///

The Amazon Resource Name (ARN) of the resource's tags to list.

pub fn resource_arn(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.resource_arn(input.into()); diff --git a/sdk/backupgateway/src/operation/list_virtual_machines/builders.rs b/sdk/backupgateway/src/operation/list_virtual_machines/builders.rs index af8c7c0e72e4..1b53bd22c86b 100644 --- a/sdk/backupgateway/src/operation/list_virtual_machines/builders.rs +++ b/sdk/backupgateway/src/operation/list_virtual_machines/builders.rs @@ -19,9 +19,9 @@ impl ListVirtualMachinesFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl ListVirtualMachinesFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_virtual_machines::ListVirtualMachines, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::list_virtual_machines::ListVirtualMachinesError, + >, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::list_virtual_machines::paginator::ListVirtualMachinesPaginator::send) which returns a `Stream`. diff --git a/sdk/backupgateway/src/operation/put_bandwidth_rate_limit_schedule/builders.rs b/sdk/backupgateway/src/operation/put_bandwidth_rate_limit_schedule/builders.rs index cc1bd10d2420..c8e7ff7f00b6 100644 --- a/sdk/backupgateway/src/operation/put_bandwidth_rate_limit_schedule/builders.rs +++ b/sdk/backupgateway/src/operation/put_bandwidth_rate_limit_schedule/builders.rs @@ -19,9 +19,9 @@ impl PutBandwidthRateLimitScheduleFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl PutBandwidthRateLimitScheduleFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::put_bandwidth_rate_limit_schedule::PutBandwidthRateLimitSchedule, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::put_bandwidth_rate_limit_schedule::PutBandwidthRateLimitScheduleError, + >, + > { + self.customize_middleware().await + } ///

The Amazon Resource Name (ARN) of the gateway. Use the ListGateways operation to return a list of gateways for your account and Amazon Web Services Region.

pub fn gateway_arn(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.gateway_arn(input.into()); diff --git a/sdk/backupgateway/src/operation/put_hypervisor_property_mappings/builders.rs b/sdk/backupgateway/src/operation/put_hypervisor_property_mappings/builders.rs index 974b90b27c0f..0ebc362761fd 100644 --- a/sdk/backupgateway/src/operation/put_hypervisor_property_mappings/builders.rs +++ b/sdk/backupgateway/src/operation/put_hypervisor_property_mappings/builders.rs @@ -19,9 +19,9 @@ impl PutHypervisorPropertyMappingsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl PutHypervisorPropertyMappingsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::put_hypervisor_property_mappings::PutHypervisorPropertyMappings, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::put_hypervisor_property_mappings::PutHypervisorPropertyMappingsError, + >, + > { + self.customize_middleware().await + } ///

The Amazon Resource Name (ARN) of the hypervisor.

pub fn hypervisor_arn( mut self, diff --git a/sdk/backupgateway/src/operation/put_maintenance_start_time/builders.rs b/sdk/backupgateway/src/operation/put_maintenance_start_time/builders.rs index 44b94c23cd03..d2d0ad9fef91 100644 --- a/sdk/backupgateway/src/operation/put_maintenance_start_time/builders.rs +++ b/sdk/backupgateway/src/operation/put_maintenance_start_time/builders.rs @@ -20,9 +20,9 @@ impl PutMaintenanceStartTimeFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -84,6 +84,22 @@ impl PutMaintenanceStartTimeFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::put_maintenance_start_time::PutMaintenanceStartTime, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::put_maintenance_start_time::PutMaintenanceStartTimeError, + >, + > { + self.customize_middleware().await + } ///

The Amazon Resource Name (ARN) for the gateway, used to specify its maintenance start time.

pub fn gateway_arn(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.gateway_arn(input.into()); diff --git a/sdk/backupgateway/src/operation/start_virtual_machines_metadata_sync/builders.rs b/sdk/backupgateway/src/operation/start_virtual_machines_metadata_sync/builders.rs index 7a69561a76db..5b3a2a98a36a 100644 --- a/sdk/backupgateway/src/operation/start_virtual_machines_metadata_sync/builders.rs +++ b/sdk/backupgateway/src/operation/start_virtual_machines_metadata_sync/builders.rs @@ -19,9 +19,9 @@ impl StartVirtualMachinesMetadataSyncFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize(self) -> ::std::result::Result< + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware(self) -> ::std::result::Result< crate::client::customize::CustomizableOperation, ::aws_smithy_http::result::SdkError >{ @@ -64,6 +64,15 @@ impl StartVirtualMachinesMetadataSyncFluentBuilder { { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize(self) -> ::std::result::Result< + crate::client::customize::CustomizableOperation, + ::aws_smithy_http::result::SdkError + >{ + self.customize_middleware().await + } ///

The Amazon Resource Name (ARN) of the hypervisor.

pub fn hypervisor_arn( mut self, diff --git a/sdk/backupgateway/src/operation/tag_resource/builders.rs b/sdk/backupgateway/src/operation/tag_resource/builders.rs index 36f4b0c83edf..96610ee45010 100644 --- a/sdk/backupgateway/src/operation/tag_resource/builders.rs +++ b/sdk/backupgateway/src/operation/tag_resource/builders.rs @@ -19,9 +19,9 @@ impl TagResourceFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl TagResourceFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::tag_resource::TagResource, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

The Amazon Resource Name (ARN) of the resource to tag.

pub fn resource_arn(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.resource_arn(input.into()); diff --git a/sdk/backupgateway/src/operation/test_hypervisor_configuration/builders.rs b/sdk/backupgateway/src/operation/test_hypervisor_configuration/builders.rs index 4f61a50d74c9..7a3c1d606cdd 100644 --- a/sdk/backupgateway/src/operation/test_hypervisor_configuration/builders.rs +++ b/sdk/backupgateway/src/operation/test_hypervisor_configuration/builders.rs @@ -19,9 +19,9 @@ impl TestHypervisorConfigurationFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl TestHypervisorConfigurationFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::test_hypervisor_configuration::TestHypervisorConfiguration, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::test_hypervisor_configuration::TestHypervisorConfigurationError, + >, + > { + self.customize_middleware().await + } ///

The Amazon Resource Name (ARN) of the gateway to the hypervisor to test.

pub fn gateway_arn(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.gateway_arn(input.into()); diff --git a/sdk/backupgateway/src/operation/untag_resource/builders.rs b/sdk/backupgateway/src/operation/untag_resource/builders.rs index f8972f0f665c..6b3cf815858b 100644 --- a/sdk/backupgateway/src/operation/untag_resource/builders.rs +++ b/sdk/backupgateway/src/operation/untag_resource/builders.rs @@ -19,9 +19,9 @@ impl UntagResourceFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl UntagResourceFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::untag_resource::UntagResource, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

The Amazon Resource Name (ARN) of the resource from which to remove tags.

pub fn resource_arn(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.resource_arn(input.into()); diff --git a/sdk/backupgateway/src/operation/update_gateway_information/builders.rs b/sdk/backupgateway/src/operation/update_gateway_information/builders.rs index 64e65f29df55..e640c655eeb3 100644 --- a/sdk/backupgateway/src/operation/update_gateway_information/builders.rs +++ b/sdk/backupgateway/src/operation/update_gateway_information/builders.rs @@ -19,9 +19,9 @@ impl UpdateGatewayInformationFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl UpdateGatewayInformationFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::update_gateway_information::UpdateGatewayInformation, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::update_gateway_information::UpdateGatewayInformationError, + >, + > { + self.customize_middleware().await + } ///

The Amazon Resource Name (ARN) of the gateway to update.

pub fn gateway_arn(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.gateway_arn(input.into()); diff --git a/sdk/backupgateway/src/operation/update_gateway_software_now/builders.rs b/sdk/backupgateway/src/operation/update_gateway_software_now/builders.rs index a67323253bc5..2e861d7c6227 100644 --- a/sdk/backupgateway/src/operation/update_gateway_software_now/builders.rs +++ b/sdk/backupgateway/src/operation/update_gateway_software_now/builders.rs @@ -21,9 +21,9 @@ impl UpdateGatewaySoftwareNowFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -85,6 +85,22 @@ impl UpdateGatewaySoftwareNowFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::update_gateway_software_now::UpdateGatewaySoftwareNow, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::update_gateway_software_now::UpdateGatewaySoftwareNowError, + >, + > { + self.customize_middleware().await + } ///

The Amazon Resource Name (ARN) of the gateway to be updated.

pub fn gateway_arn(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.gateway_arn(input.into()); diff --git a/sdk/backupgateway/src/operation/update_hypervisor/builders.rs b/sdk/backupgateway/src/operation/update_hypervisor/builders.rs index 3da9a464cc91..8009a987a8d7 100644 --- a/sdk/backupgateway/src/operation/update_hypervisor/builders.rs +++ b/sdk/backupgateway/src/operation/update_hypervisor/builders.rs @@ -19,9 +19,9 @@ impl UpdateHypervisorFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl UpdateHypervisorFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::update_hypervisor::UpdateHypervisor, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::update_hypervisor::UpdateHypervisorError, + >, + > { + self.customize_middleware().await + } ///

The Amazon Resource Name (ARN) of the hypervisor to update.

pub fn hypervisor_arn( mut self, diff --git a/sdk/backupstorage/src/operation/delete_object/builders.rs b/sdk/backupstorage/src/operation/delete_object/builders.rs index 52193161571b..42cdf31e757e 100644 --- a/sdk/backupstorage/src/operation/delete_object/builders.rs +++ b/sdk/backupstorage/src/operation/delete_object/builders.rs @@ -19,9 +19,9 @@ impl DeleteObjectFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl DeleteObjectFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::delete_object::DeleteObject, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } /// Backup job Id for the in-progress backup. pub fn backup_job_id( mut self, diff --git a/sdk/backupstorage/src/operation/get_chunk/builders.rs b/sdk/backupstorage/src/operation/get_chunk/builders.rs index 7ce91f0aa6d1..aa1d548e3418 100644 --- a/sdk/backupstorage/src/operation/get_chunk/builders.rs +++ b/sdk/backupstorage/src/operation/get_chunk/builders.rs @@ -19,9 +19,9 @@ impl GetChunkFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl GetChunkFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::get_chunk::GetChunk, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } /// Storage job id pub fn storage_job_id( mut self, diff --git a/sdk/backupstorage/src/operation/get_object_metadata/builders.rs b/sdk/backupstorage/src/operation/get_object_metadata/builders.rs index 4d839f29f652..b640a072426f 100644 --- a/sdk/backupstorage/src/operation/get_object_metadata/builders.rs +++ b/sdk/backupstorage/src/operation/get_object_metadata/builders.rs @@ -19,9 +19,9 @@ impl GetObjectMetadataFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl GetObjectMetadataFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::get_object_metadata::GetObjectMetadata, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::get_object_metadata::GetObjectMetadataError, + >, + > { + self.customize_middleware().await + } /// Backup job id for the in-progress backup. pub fn storage_job_id( mut self, diff --git a/sdk/backupstorage/src/operation/list_chunks/builders.rs b/sdk/backupstorage/src/operation/list_chunks/builders.rs index f7e1167d7c0f..076ea722c80e 100644 --- a/sdk/backupstorage/src/operation/list_chunks/builders.rs +++ b/sdk/backupstorage/src/operation/list_chunks/builders.rs @@ -19,9 +19,9 @@ impl ListChunksFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl ListChunksFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_chunks::ListChunks, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::list_chunks::paginator::ListChunksPaginator::send) which returns a `Stream`. diff --git a/sdk/backupstorage/src/operation/list_objects/builders.rs b/sdk/backupstorage/src/operation/list_objects/builders.rs index 5b55c712b581..e1a40b09105e 100644 --- a/sdk/backupstorage/src/operation/list_objects/builders.rs +++ b/sdk/backupstorage/src/operation/list_objects/builders.rs @@ -19,9 +19,9 @@ impl ListObjectsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl ListObjectsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_objects::ListObjects, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::list_objects::paginator::ListObjectsPaginator::send) which returns a `Stream`. diff --git a/sdk/backupstorage/src/operation/notify_object_complete/builders.rs b/sdk/backupstorage/src/operation/notify_object_complete/builders.rs index 7e02423da3c1..f41c7e93a19e 100644 --- a/sdk/backupstorage/src/operation/notify_object_complete/builders.rs +++ b/sdk/backupstorage/src/operation/notify_object_complete/builders.rs @@ -19,9 +19,9 @@ impl NotifyObjectCompleteFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl NotifyObjectCompleteFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::notify_object_complete::NotifyObjectComplete, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::notify_object_complete::NotifyObjectCompleteError, + >, + > { + self.customize_middleware().await + } /// Backup job Id for the in-progress backup pub fn backup_job_id( mut self, diff --git a/sdk/backupstorage/src/operation/put_chunk/builders.rs b/sdk/backupstorage/src/operation/put_chunk/builders.rs index e8a07d04e50d..510ef9431206 100644 --- a/sdk/backupstorage/src/operation/put_chunk/builders.rs +++ b/sdk/backupstorage/src/operation/put_chunk/builders.rs @@ -19,9 +19,9 @@ impl PutChunkFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl PutChunkFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::put_chunk::PutChunk, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } /// Backup job Id for the in-progress backup. pub fn backup_job_id( mut self, diff --git a/sdk/backupstorage/src/operation/put_object/builders.rs b/sdk/backupstorage/src/operation/put_object/builders.rs index e1cdcdcccebc..c4a34918cde4 100644 --- a/sdk/backupstorage/src/operation/put_object/builders.rs +++ b/sdk/backupstorage/src/operation/put_object/builders.rs @@ -19,9 +19,9 @@ impl PutObjectFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl PutObjectFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::put_object::PutObject, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } /// Backup job Id for the in-progress backup. pub fn backup_job_id( mut self, diff --git a/sdk/backupstorage/src/operation/start_object/builders.rs b/sdk/backupstorage/src/operation/start_object/builders.rs index d3a6ebf6534e..0338cc1ee6fc 100644 --- a/sdk/backupstorage/src/operation/start_object/builders.rs +++ b/sdk/backupstorage/src/operation/start_object/builders.rs @@ -19,9 +19,9 @@ impl StartObjectFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl StartObjectFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::start_object::StartObject, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } /// Backup job Id for the in-progress backup pub fn backup_job_id( mut self, diff --git a/sdk/batch/src/operation/cancel_job/builders.rs b/sdk/batch/src/operation/cancel_job/builders.rs index 8c156bf45112..1f00f7a966a1 100644 --- a/sdk/batch/src/operation/cancel_job/builders.rs +++ b/sdk/batch/src/operation/cancel_job/builders.rs @@ -20,9 +20,9 @@ impl CancelJobFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -78,6 +78,20 @@ impl CancelJobFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::cancel_job::CancelJob, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

The Batch job ID of the job to cancel.

pub fn job_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.job_id(input.into()); diff --git a/sdk/batch/src/operation/create_compute_environment/builders.rs b/sdk/batch/src/operation/create_compute_environment/builders.rs index 63569842d0f6..ae5abfda8e0c 100644 --- a/sdk/batch/src/operation/create_compute_environment/builders.rs +++ b/sdk/batch/src/operation/create_compute_environment/builders.rs @@ -41,9 +41,9 @@ impl CreateComputeEnvironmentFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -105,6 +105,22 @@ impl CreateComputeEnvironmentFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::create_compute_environment::CreateComputeEnvironment, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::create_compute_environment::CreateComputeEnvironmentError, + >, + > { + self.customize_middleware().await + } ///

The name for your compute environment. It can be up to 128 characters long. It can contain uppercase and lowercase letters, numbers, hyphens (-), and underscores (_).

pub fn compute_environment_name( mut self, diff --git a/sdk/batch/src/operation/create_job_queue/builders.rs b/sdk/batch/src/operation/create_job_queue/builders.rs index 8f70501581f3..d22a0b8015fd 100644 --- a/sdk/batch/src/operation/create_job_queue/builders.rs +++ b/sdk/batch/src/operation/create_job_queue/builders.rs @@ -20,9 +20,9 @@ impl CreateJobQueueFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -84,6 +84,22 @@ impl CreateJobQueueFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::create_job_queue::CreateJobQueue, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::create_job_queue::CreateJobQueueError, + >, + > { + self.customize_middleware().await + } ///

The name of the job queue. It can be up to 128 letters long. It can contain uppercase and lowercase letters, numbers, hyphens (-), and underscores (_).

pub fn job_queue_name( mut self, diff --git a/sdk/batch/src/operation/create_scheduling_policy/builders.rs b/sdk/batch/src/operation/create_scheduling_policy/builders.rs index 917cc74372fe..d2b6bc07b41e 100644 --- a/sdk/batch/src/operation/create_scheduling_policy/builders.rs +++ b/sdk/batch/src/operation/create_scheduling_policy/builders.rs @@ -19,9 +19,9 @@ impl CreateSchedulingPolicyFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl CreateSchedulingPolicyFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::create_scheduling_policy::CreateSchedulingPolicy, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::create_scheduling_policy::CreateSchedulingPolicyError, + >, + > { + self.customize_middleware().await + } ///

The name of the scheduling policy. It can be up to 128 letters long. It can contain uppercase and lowercase letters, numbers, hyphens (-), and underscores (_).

pub fn name(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.name(input.into()); diff --git a/sdk/batch/src/operation/delete_compute_environment/builders.rs b/sdk/batch/src/operation/delete_compute_environment/builders.rs index 13f1137ca348..b5800a65cfbc 100644 --- a/sdk/batch/src/operation/delete_compute_environment/builders.rs +++ b/sdk/batch/src/operation/delete_compute_environment/builders.rs @@ -20,9 +20,9 @@ impl DeleteComputeEnvironmentFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -84,6 +84,22 @@ impl DeleteComputeEnvironmentFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::delete_compute_environment::DeleteComputeEnvironment, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::delete_compute_environment::DeleteComputeEnvironmentError, + >, + > { + self.customize_middleware().await + } ///

The name or Amazon Resource Name (ARN) of the compute environment to delete.

pub fn compute_environment( mut self, diff --git a/sdk/batch/src/operation/delete_job_queue/builders.rs b/sdk/batch/src/operation/delete_job_queue/builders.rs index 2d17dfbbeb62..e80376b35559 100644 --- a/sdk/batch/src/operation/delete_job_queue/builders.rs +++ b/sdk/batch/src/operation/delete_job_queue/builders.rs @@ -20,9 +20,9 @@ impl DeleteJobQueueFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -84,6 +84,22 @@ impl DeleteJobQueueFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::delete_job_queue::DeleteJobQueue, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::delete_job_queue::DeleteJobQueueError, + >, + > { + self.customize_middleware().await + } ///

The short name or full Amazon Resource Name (ARN) of the queue to delete.

pub fn job_queue(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.job_queue(input.into()); diff --git a/sdk/batch/src/operation/delete_scheduling_policy/builders.rs b/sdk/batch/src/operation/delete_scheduling_policy/builders.rs index 52b06033d210..3dee4993e060 100644 --- a/sdk/batch/src/operation/delete_scheduling_policy/builders.rs +++ b/sdk/batch/src/operation/delete_scheduling_policy/builders.rs @@ -20,9 +20,9 @@ impl DeleteSchedulingPolicyFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -84,6 +84,22 @@ impl DeleteSchedulingPolicyFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::delete_scheduling_policy::DeleteSchedulingPolicy, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::delete_scheduling_policy::DeleteSchedulingPolicyError, + >, + > { + self.customize_middleware().await + } ///

The Amazon Resource Name (ARN) of the scheduling policy to delete.

pub fn arn(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.arn(input.into()); diff --git a/sdk/batch/src/operation/deregister_job_definition/builders.rs b/sdk/batch/src/operation/deregister_job_definition/builders.rs index 5dbe94467ec8..8f138f9caf2e 100644 --- a/sdk/batch/src/operation/deregister_job_definition/builders.rs +++ b/sdk/batch/src/operation/deregister_job_definition/builders.rs @@ -20,9 +20,9 @@ impl DeregisterJobDefinitionFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -84,6 +84,22 @@ impl DeregisterJobDefinitionFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::deregister_job_definition::DeregisterJobDefinition, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::deregister_job_definition::DeregisterJobDefinitionError, + >, + > { + self.customize_middleware().await + } ///

The name and revision (name:revision) or full Amazon Resource Name (ARN) of the job definition to deregister.

pub fn job_definition( mut self, diff --git a/sdk/batch/src/operation/describe_compute_environments/builders.rs b/sdk/batch/src/operation/describe_compute_environments/builders.rs index aca3be5393ae..a8a9f454dfba 100644 --- a/sdk/batch/src/operation/describe_compute_environments/builders.rs +++ b/sdk/batch/src/operation/describe_compute_environments/builders.rs @@ -20,9 +20,9 @@ impl DescribeComputeEnvironmentsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -84,6 +84,22 @@ impl DescribeComputeEnvironmentsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::describe_compute_environments::DescribeComputeEnvironments, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::describe_compute_environments::DescribeComputeEnvironmentsError, + >, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::describe_compute_environments::paginator::DescribeComputeEnvironmentsPaginator::send) which returns a `Stream`. diff --git a/sdk/batch/src/operation/describe_job_definitions/builders.rs b/sdk/batch/src/operation/describe_job_definitions/builders.rs index ab8475d5e044..04342ac11da7 100644 --- a/sdk/batch/src/operation/describe_job_definitions/builders.rs +++ b/sdk/batch/src/operation/describe_job_definitions/builders.rs @@ -19,9 +19,9 @@ impl DescribeJobDefinitionsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl DescribeJobDefinitionsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::describe_job_definitions::DescribeJobDefinitions, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::describe_job_definitions::DescribeJobDefinitionsError, + >, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::describe_job_definitions::paginator::DescribeJobDefinitionsPaginator::send) which returns a `Stream`. diff --git a/sdk/batch/src/operation/describe_job_queues/builders.rs b/sdk/batch/src/operation/describe_job_queues/builders.rs index 531e128440f8..f2c51edfa6f8 100644 --- a/sdk/batch/src/operation/describe_job_queues/builders.rs +++ b/sdk/batch/src/operation/describe_job_queues/builders.rs @@ -19,9 +19,9 @@ impl DescribeJobQueuesFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl DescribeJobQueuesFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::describe_job_queues::DescribeJobQueues, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::describe_job_queues::DescribeJobQueuesError, + >, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::describe_job_queues::paginator::DescribeJobQueuesPaginator::send) which returns a `Stream`. diff --git a/sdk/batch/src/operation/describe_jobs/builders.rs b/sdk/batch/src/operation/describe_jobs/builders.rs index 1c94394d785c..3df177669337 100644 --- a/sdk/batch/src/operation/describe_jobs/builders.rs +++ b/sdk/batch/src/operation/describe_jobs/builders.rs @@ -19,9 +19,9 @@ impl DescribeJobsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl DescribeJobsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::describe_jobs::DescribeJobs, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } /// Appends an item to `jobs`. /// /// To override the contents of this collection use [`set_jobs`](Self::set_jobs). diff --git a/sdk/batch/src/operation/describe_scheduling_policies/builders.rs b/sdk/batch/src/operation/describe_scheduling_policies/builders.rs index 6306c3a7d3c7..9f59131c7193 100644 --- a/sdk/batch/src/operation/describe_scheduling_policies/builders.rs +++ b/sdk/batch/src/operation/describe_scheduling_policies/builders.rs @@ -19,9 +19,9 @@ impl DescribeSchedulingPoliciesFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl DescribeSchedulingPoliciesFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::describe_scheduling_policies::DescribeSchedulingPolicies, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::describe_scheduling_policies::DescribeSchedulingPoliciesError, + >, + > { + self.customize_middleware().await + } /// Appends an item to `arns`. /// /// To override the contents of this collection use [`set_arns`](Self::set_arns). diff --git a/sdk/batch/src/operation/list_jobs/builders.rs b/sdk/batch/src/operation/list_jobs/builders.rs index 15689e140a79..c873823400b0 100644 --- a/sdk/batch/src/operation/list_jobs/builders.rs +++ b/sdk/batch/src/operation/list_jobs/builders.rs @@ -26,9 +26,9 @@ impl ListJobsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -84,6 +84,20 @@ impl ListJobsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_jobs::ListJobs, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::list_jobs::paginator::ListJobsPaginator::send) which returns a `Stream`. diff --git a/sdk/batch/src/operation/list_scheduling_policies/builders.rs b/sdk/batch/src/operation/list_scheduling_policies/builders.rs index 38af791f8322..c4691dc3768c 100644 --- a/sdk/batch/src/operation/list_scheduling_policies/builders.rs +++ b/sdk/batch/src/operation/list_scheduling_policies/builders.rs @@ -19,9 +19,9 @@ impl ListSchedulingPoliciesFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl ListSchedulingPoliciesFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_scheduling_policies::ListSchedulingPolicies, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::list_scheduling_policies::ListSchedulingPoliciesError, + >, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::list_scheduling_policies::paginator::ListSchedulingPoliciesPaginator::send) which returns a `Stream`. diff --git a/sdk/batch/src/operation/list_tags_for_resource/builders.rs b/sdk/batch/src/operation/list_tags_for_resource/builders.rs index 4e803bf5054e..570a9efefe13 100644 --- a/sdk/batch/src/operation/list_tags_for_resource/builders.rs +++ b/sdk/batch/src/operation/list_tags_for_resource/builders.rs @@ -19,9 +19,9 @@ impl ListTagsForResourceFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl ListTagsForResourceFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_tags_for_resource::ListTagsForResource, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::list_tags_for_resource::ListTagsForResourceError, + >, + > { + self.customize_middleware().await + } ///

The Amazon Resource Name (ARN) that identifies the resource that tags are listed for. Batch resources that support tags are compute environments, jobs, job definitions, job queues, and scheduling policies. ARNs for child jobs of array and multi-node parallel (MNP) jobs aren't supported.

pub fn resource_arn(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.resource_arn(input.into()); diff --git a/sdk/batch/src/operation/register_job_definition/builders.rs b/sdk/batch/src/operation/register_job_definition/builders.rs index ebd01a17fb7d..4b50afa066cb 100644 --- a/sdk/batch/src/operation/register_job_definition/builders.rs +++ b/sdk/batch/src/operation/register_job_definition/builders.rs @@ -19,9 +19,9 @@ impl RegisterJobDefinitionFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl RegisterJobDefinitionFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::register_job_definition::RegisterJobDefinition, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::register_job_definition::RegisterJobDefinitionError, + >, + > { + self.customize_middleware().await + } ///

The name of the job definition to register. It can be up to 128 letters long. It can contain uppercase and lowercase letters, numbers, hyphens (-), and underscores (_).

pub fn job_definition_name( mut self, diff --git a/sdk/batch/src/operation/submit_job/builders.rs b/sdk/batch/src/operation/submit_job/builders.rs index 4f486796cfda..ee57f49793ee 100644 --- a/sdk/batch/src/operation/submit_job/builders.rs +++ b/sdk/batch/src/operation/submit_job/builders.rs @@ -23,9 +23,9 @@ impl SubmitJobFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -81,6 +81,20 @@ impl SubmitJobFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::submit_job::SubmitJob, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

The name of the job. It can be up to 128 letters long. The first character must be alphanumeric, can contain uppercase and lowercase letters, numbers, hyphens (-), and underscores (_).

pub fn job_name(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.job_name(input.into()); diff --git a/sdk/batch/src/operation/tag_resource/builders.rs b/sdk/batch/src/operation/tag_resource/builders.rs index 79cf62d21a70..bc131e2189a4 100644 --- a/sdk/batch/src/operation/tag_resource/builders.rs +++ b/sdk/batch/src/operation/tag_resource/builders.rs @@ -19,9 +19,9 @@ impl TagResourceFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl TagResourceFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::tag_resource::TagResource, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

The Amazon Resource Name (ARN) of the resource that tags are added to. Batch resources that support tags are compute environments, jobs, job definitions, job queues, and scheduling policies. ARNs for child jobs of array and multi-node parallel (MNP) jobs aren't supported.

pub fn resource_arn(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.resource_arn(input.into()); diff --git a/sdk/batch/src/operation/terminate_job/builders.rs b/sdk/batch/src/operation/terminate_job/builders.rs index 026410747a85..95031e5340c0 100644 --- a/sdk/batch/src/operation/terminate_job/builders.rs +++ b/sdk/batch/src/operation/terminate_job/builders.rs @@ -19,9 +19,9 @@ impl TerminateJobFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl TerminateJobFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::terminate_job::TerminateJob, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

The Batch job ID of the job to terminate.

pub fn job_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.job_id(input.into()); diff --git a/sdk/batch/src/operation/untag_resource/builders.rs b/sdk/batch/src/operation/untag_resource/builders.rs index f394fee157a6..791ace3c7fe8 100644 --- a/sdk/batch/src/operation/untag_resource/builders.rs +++ b/sdk/batch/src/operation/untag_resource/builders.rs @@ -19,9 +19,9 @@ impl UntagResourceFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl UntagResourceFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::untag_resource::UntagResource, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

The Amazon Resource Name (ARN) of the resource from which to delete tags. Batch resources that support tags are compute environments, jobs, job definitions, job queues, and scheduling policies. ARNs for child jobs of array and multi-node parallel (MNP) jobs aren't supported.

pub fn resource_arn(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.resource_arn(input.into()); diff --git a/sdk/batch/src/operation/update_compute_environment/builders.rs b/sdk/batch/src/operation/update_compute_environment/builders.rs index f66c76a07cff..664da7a864b8 100644 --- a/sdk/batch/src/operation/update_compute_environment/builders.rs +++ b/sdk/batch/src/operation/update_compute_environment/builders.rs @@ -19,9 +19,9 @@ impl UpdateComputeEnvironmentFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl UpdateComputeEnvironmentFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::update_compute_environment::UpdateComputeEnvironment, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::update_compute_environment::UpdateComputeEnvironmentError, + >, + > { + self.customize_middleware().await + } ///

The name or full Amazon Resource Name (ARN) of the compute environment to update.

pub fn compute_environment( mut self, diff --git a/sdk/batch/src/operation/update_job_queue/builders.rs b/sdk/batch/src/operation/update_job_queue/builders.rs index baf33bda4557..57379653691f 100644 --- a/sdk/batch/src/operation/update_job_queue/builders.rs +++ b/sdk/batch/src/operation/update_job_queue/builders.rs @@ -19,9 +19,9 @@ impl UpdateJobQueueFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl UpdateJobQueueFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::update_job_queue::UpdateJobQueue, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::update_job_queue::UpdateJobQueueError, + >, + > { + self.customize_middleware().await + } ///

The name or the Amazon Resource Name (ARN) of the job queue.

pub fn job_queue(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.job_queue(input.into()); diff --git a/sdk/batch/src/operation/update_scheduling_policy/builders.rs b/sdk/batch/src/operation/update_scheduling_policy/builders.rs index 7cd548b98ceb..803a9d6eaa63 100644 --- a/sdk/batch/src/operation/update_scheduling_policy/builders.rs +++ b/sdk/batch/src/operation/update_scheduling_policy/builders.rs @@ -19,9 +19,9 @@ impl UpdateSchedulingPolicyFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl UpdateSchedulingPolicyFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::update_scheduling_policy::UpdateSchedulingPolicy, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::update_scheduling_policy::UpdateSchedulingPolicyError, + >, + > { + self.customize_middleware().await + } ///

The Amazon Resource Name (ARN) of the scheduling policy to update.

pub fn arn(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.arn(input.into()); diff --git a/sdk/billingconductor/src/operation/associate_accounts/builders.rs b/sdk/billingconductor/src/operation/associate_accounts/builders.rs index d65f18f8748c..7677115faf2d 100644 --- a/sdk/billingconductor/src/operation/associate_accounts/builders.rs +++ b/sdk/billingconductor/src/operation/associate_accounts/builders.rs @@ -19,9 +19,9 @@ impl AssociateAccountsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl AssociateAccountsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::associate_accounts::AssociateAccounts, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::associate_accounts::AssociateAccountsError, + >, + > { + self.customize_middleware().await + } ///

The Amazon Resource Name (ARN) of the billing group that associates the array of account IDs.

pub fn arn(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.arn(input.into()); diff --git a/sdk/billingconductor/src/operation/associate_pricing_rules/builders.rs b/sdk/billingconductor/src/operation/associate_pricing_rules/builders.rs index 88c01511ab48..dba08277bdb4 100644 --- a/sdk/billingconductor/src/operation/associate_pricing_rules/builders.rs +++ b/sdk/billingconductor/src/operation/associate_pricing_rules/builders.rs @@ -19,9 +19,9 @@ impl AssociatePricingRulesFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl AssociatePricingRulesFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::associate_pricing_rules::AssociatePricingRules, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::associate_pricing_rules::AssociatePricingRulesError, + >, + > { + self.customize_middleware().await + } ///

The PricingPlanArn that the PricingRuleArns are associated with.

pub fn arn(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.arn(input.into()); diff --git a/sdk/billingconductor/src/operation/batch_associate_resources_to_custom_line_item/builders.rs b/sdk/billingconductor/src/operation/batch_associate_resources_to_custom_line_item/builders.rs index e1840b25288e..366d29525663 100644 --- a/sdk/billingconductor/src/operation/batch_associate_resources_to_custom_line_item/builders.rs +++ b/sdk/billingconductor/src/operation/batch_associate_resources_to_custom_line_item/builders.rs @@ -19,9 +19,9 @@ impl BatchAssociateResourcesToCustomLineItemFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize(self) -> ::std::result::Result< + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware(self) -> ::std::result::Result< crate::client::customize::CustomizableOperation, ::aws_smithy_http::result::SdkError >{ @@ -64,6 +64,15 @@ impl BatchAssociateResourcesToCustomLineItemFluentBuilder { { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize(self) -> ::std::result::Result< + crate::client::customize::CustomizableOperation, + ::aws_smithy_http::result::SdkError + >{ + self.customize_middleware().await + } ///

A percentage custom line item ARN to associate the resources to.

pub fn target_arn(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.target_arn(input.into()); diff --git a/sdk/billingconductor/src/operation/batch_disassociate_resources_from_custom_line_item/builders.rs b/sdk/billingconductor/src/operation/batch_disassociate_resources_from_custom_line_item/builders.rs index c7a7abf573c8..5391b96ab10d 100644 --- a/sdk/billingconductor/src/operation/batch_disassociate_resources_from_custom_line_item/builders.rs +++ b/sdk/billingconductor/src/operation/batch_disassociate_resources_from_custom_line_item/builders.rs @@ -19,9 +19,9 @@ impl BatchDisassociateResourcesFromCustomLineItemFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize(self) -> ::std::result::Result< + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware(self) -> ::std::result::Result< crate::client::customize::CustomizableOperation, ::aws_smithy_http::result::SdkError >{ @@ -64,6 +64,15 @@ impl BatchDisassociateResourcesFromCustomLineItemFluentBuilder { { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize(self) -> ::std::result::Result< + crate::client::customize::CustomizableOperation, + ::aws_smithy_http::result::SdkError + >{ + self.customize_middleware().await + } ///

A percentage custom line item ARN to disassociate the resources from.

pub fn target_arn(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.target_arn(input.into()); diff --git a/sdk/billingconductor/src/operation/create_billing_group/builders.rs b/sdk/billingconductor/src/operation/create_billing_group/builders.rs index 60f43156d7af..39cb8f8c4934 100644 --- a/sdk/billingconductor/src/operation/create_billing_group/builders.rs +++ b/sdk/billingconductor/src/operation/create_billing_group/builders.rs @@ -19,9 +19,9 @@ impl CreateBillingGroupFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl CreateBillingGroupFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::create_billing_group::CreateBillingGroup, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::create_billing_group::CreateBillingGroupError, + >, + > { + self.customize_middleware().await + } ///

The token that is needed to support idempotency. Idempotency isn't currently supported, but will be implemented in a future update.

pub fn client_token(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.client_token(input.into()); diff --git a/sdk/billingconductor/src/operation/create_custom_line_item/builders.rs b/sdk/billingconductor/src/operation/create_custom_line_item/builders.rs index dee266dc564e..25dd9a496816 100644 --- a/sdk/billingconductor/src/operation/create_custom_line_item/builders.rs +++ b/sdk/billingconductor/src/operation/create_custom_line_item/builders.rs @@ -19,9 +19,9 @@ impl CreateCustomLineItemFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl CreateCustomLineItemFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::create_custom_line_item::CreateCustomLineItem, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::create_custom_line_item::CreateCustomLineItemError, + >, + > { + self.customize_middleware().await + } ///

The token that is needed to support idempotency. Idempotency isn't currently supported, but will be implemented in a future update.

pub fn client_token(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.client_token(input.into()); diff --git a/sdk/billingconductor/src/operation/create_pricing_plan/builders.rs b/sdk/billingconductor/src/operation/create_pricing_plan/builders.rs index 54f5d7332dfa..c8109cfa0b23 100644 --- a/sdk/billingconductor/src/operation/create_pricing_plan/builders.rs +++ b/sdk/billingconductor/src/operation/create_pricing_plan/builders.rs @@ -19,9 +19,9 @@ impl CreatePricingPlanFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl CreatePricingPlanFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::create_pricing_plan::CreatePricingPlan, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::create_pricing_plan::CreatePricingPlanError, + >, + > { + self.customize_middleware().await + } ///

The token that is needed to support idempotency. Idempotency isn't currently supported, but will be implemented in a future update.

pub fn client_token(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.client_token(input.into()); diff --git a/sdk/billingconductor/src/operation/create_pricing_rule/builders.rs b/sdk/billingconductor/src/operation/create_pricing_rule/builders.rs index 56c8814e9384..35948bcd50ae 100644 --- a/sdk/billingconductor/src/operation/create_pricing_rule/builders.rs +++ b/sdk/billingconductor/src/operation/create_pricing_rule/builders.rs @@ -19,9 +19,9 @@ impl CreatePricingRuleFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl CreatePricingRuleFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::create_pricing_rule::CreatePricingRule, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::create_pricing_rule::CreatePricingRuleError, + >, + > { + self.customize_middleware().await + } ///

The token that's needed to support idempotency. Idempotency isn't currently supported, but will be implemented in a future update.

pub fn client_token(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.client_token(input.into()); diff --git a/sdk/billingconductor/src/operation/delete_billing_group/builders.rs b/sdk/billingconductor/src/operation/delete_billing_group/builders.rs index 05564633042a..5c2fbc7f4659 100644 --- a/sdk/billingconductor/src/operation/delete_billing_group/builders.rs +++ b/sdk/billingconductor/src/operation/delete_billing_group/builders.rs @@ -19,9 +19,9 @@ impl DeleteBillingGroupFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl DeleteBillingGroupFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::delete_billing_group::DeleteBillingGroup, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::delete_billing_group::DeleteBillingGroupError, + >, + > { + self.customize_middleware().await + } ///

The Amazon Resource Name (ARN) of the billing group that you're deleting.

pub fn arn(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.arn(input.into()); diff --git a/sdk/billingconductor/src/operation/delete_custom_line_item/builders.rs b/sdk/billingconductor/src/operation/delete_custom_line_item/builders.rs index 3550fc97fbd9..ed8e2bb6c08a 100644 --- a/sdk/billingconductor/src/operation/delete_custom_line_item/builders.rs +++ b/sdk/billingconductor/src/operation/delete_custom_line_item/builders.rs @@ -19,9 +19,9 @@ impl DeleteCustomLineItemFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl DeleteCustomLineItemFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::delete_custom_line_item::DeleteCustomLineItem, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::delete_custom_line_item::DeleteCustomLineItemError, + >, + > { + self.customize_middleware().await + } ///

The ARN of the custom line item to be deleted.

pub fn arn(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.arn(input.into()); diff --git a/sdk/billingconductor/src/operation/delete_pricing_plan/builders.rs b/sdk/billingconductor/src/operation/delete_pricing_plan/builders.rs index ab37b934b6db..f9a69a842e5f 100644 --- a/sdk/billingconductor/src/operation/delete_pricing_plan/builders.rs +++ b/sdk/billingconductor/src/operation/delete_pricing_plan/builders.rs @@ -19,9 +19,9 @@ impl DeletePricingPlanFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl DeletePricingPlanFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::delete_pricing_plan::DeletePricingPlan, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::delete_pricing_plan::DeletePricingPlanError, + >, + > { + self.customize_middleware().await + } ///

The Amazon Resource Name (ARN) of the pricing plan that you're deleting.

pub fn arn(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.arn(input.into()); diff --git a/sdk/billingconductor/src/operation/delete_pricing_rule/builders.rs b/sdk/billingconductor/src/operation/delete_pricing_rule/builders.rs index cdce9464a5d7..c2b428dc4ae9 100644 --- a/sdk/billingconductor/src/operation/delete_pricing_rule/builders.rs +++ b/sdk/billingconductor/src/operation/delete_pricing_rule/builders.rs @@ -19,9 +19,9 @@ impl DeletePricingRuleFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl DeletePricingRuleFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::delete_pricing_rule::DeletePricingRule, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::delete_pricing_rule::DeletePricingRuleError, + >, + > { + self.customize_middleware().await + } ///

The Amazon Resource Name (ARN) of the pricing rule that you are deleting.

pub fn arn(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.arn(input.into()); diff --git a/sdk/billingconductor/src/operation/disassociate_accounts/builders.rs b/sdk/billingconductor/src/operation/disassociate_accounts/builders.rs index 3c2ecea0ae98..6fc04a8472c5 100644 --- a/sdk/billingconductor/src/operation/disassociate_accounts/builders.rs +++ b/sdk/billingconductor/src/operation/disassociate_accounts/builders.rs @@ -19,9 +19,9 @@ impl DisassociateAccountsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl DisassociateAccountsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::disassociate_accounts::DisassociateAccounts, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::disassociate_accounts::DisassociateAccountsError, + >, + > { + self.customize_middleware().await + } ///

The Amazon Resource Name (ARN) of the billing group that the array of account IDs will disassociate from.

pub fn arn(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.arn(input.into()); diff --git a/sdk/billingconductor/src/operation/disassociate_pricing_rules/builders.rs b/sdk/billingconductor/src/operation/disassociate_pricing_rules/builders.rs index d705f8736525..77759445f992 100644 --- a/sdk/billingconductor/src/operation/disassociate_pricing_rules/builders.rs +++ b/sdk/billingconductor/src/operation/disassociate_pricing_rules/builders.rs @@ -19,9 +19,9 @@ impl DisassociatePricingRulesFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl DisassociatePricingRulesFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::disassociate_pricing_rules::DisassociatePricingRules, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::disassociate_pricing_rules::DisassociatePricingRulesError, + >, + > { + self.customize_middleware().await + } ///

The pricing plan Amazon Resource Name (ARN) to disassociate pricing rules from.

pub fn arn(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.arn(input.into()); diff --git a/sdk/billingconductor/src/operation/list_account_associations/builders.rs b/sdk/billingconductor/src/operation/list_account_associations/builders.rs index f17e01d248f6..580179ffedfc 100644 --- a/sdk/billingconductor/src/operation/list_account_associations/builders.rs +++ b/sdk/billingconductor/src/operation/list_account_associations/builders.rs @@ -20,9 +20,9 @@ impl ListAccountAssociationsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -84,6 +84,22 @@ impl ListAccountAssociationsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_account_associations::ListAccountAssociations, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::list_account_associations::ListAccountAssociationsError, + >, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::list_account_associations::paginator::ListAccountAssociationsPaginator::send) which returns a `Stream`. diff --git a/sdk/billingconductor/src/operation/list_billing_group_cost_reports/builders.rs b/sdk/billingconductor/src/operation/list_billing_group_cost_reports/builders.rs index 3dad72bb380a..e4bc21954599 100644 --- a/sdk/billingconductor/src/operation/list_billing_group_cost_reports/builders.rs +++ b/sdk/billingconductor/src/operation/list_billing_group_cost_reports/builders.rs @@ -19,9 +19,9 @@ impl ListBillingGroupCostReportsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl ListBillingGroupCostReportsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_billing_group_cost_reports::ListBillingGroupCostReports, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::list_billing_group_cost_reports::ListBillingGroupCostReportsError, + >, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::list_billing_group_cost_reports::paginator::ListBillingGroupCostReportsPaginator::send) which returns a `Stream`. diff --git a/sdk/billingconductor/src/operation/list_billing_groups/builders.rs b/sdk/billingconductor/src/operation/list_billing_groups/builders.rs index 1e49619ec3e2..88c11bc6a645 100644 --- a/sdk/billingconductor/src/operation/list_billing_groups/builders.rs +++ b/sdk/billingconductor/src/operation/list_billing_groups/builders.rs @@ -19,9 +19,9 @@ impl ListBillingGroupsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl ListBillingGroupsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_billing_groups::ListBillingGroups, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::list_billing_groups::ListBillingGroupsError, + >, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::list_billing_groups::paginator::ListBillingGroupsPaginator::send) which returns a `Stream`. diff --git a/sdk/billingconductor/src/operation/list_custom_line_item_versions/builders.rs b/sdk/billingconductor/src/operation/list_custom_line_item_versions/builders.rs index d4dea7b4a4f9..e28829965685 100644 --- a/sdk/billingconductor/src/operation/list_custom_line_item_versions/builders.rs +++ b/sdk/billingconductor/src/operation/list_custom_line_item_versions/builders.rs @@ -19,9 +19,9 @@ impl ListCustomLineItemVersionsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl ListCustomLineItemVersionsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_custom_line_item_versions::ListCustomLineItemVersions, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::list_custom_line_item_versions::ListCustomLineItemVersionsError, + >, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::list_custom_line_item_versions::paginator::ListCustomLineItemVersionsPaginator::send) which returns a `Stream`. diff --git a/sdk/billingconductor/src/operation/list_custom_line_items/builders.rs b/sdk/billingconductor/src/operation/list_custom_line_items/builders.rs index ee84f326eee8..d001c351df4a 100644 --- a/sdk/billingconductor/src/operation/list_custom_line_items/builders.rs +++ b/sdk/billingconductor/src/operation/list_custom_line_items/builders.rs @@ -19,9 +19,9 @@ impl ListCustomLineItemsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl ListCustomLineItemsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_custom_line_items::ListCustomLineItems, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::list_custom_line_items::ListCustomLineItemsError, + >, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::list_custom_line_items::paginator::ListCustomLineItemsPaginator::send) which returns a `Stream`. diff --git a/sdk/billingconductor/src/operation/list_pricing_plans/builders.rs b/sdk/billingconductor/src/operation/list_pricing_plans/builders.rs index c9f7e83f9e3d..b1db4cd508c6 100644 --- a/sdk/billingconductor/src/operation/list_pricing_plans/builders.rs +++ b/sdk/billingconductor/src/operation/list_pricing_plans/builders.rs @@ -19,9 +19,9 @@ impl ListPricingPlansFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl ListPricingPlansFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_pricing_plans::ListPricingPlans, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::list_pricing_plans::ListPricingPlansError, + >, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::list_pricing_plans::paginator::ListPricingPlansPaginator::send) which returns a `Stream`. diff --git a/sdk/billingconductor/src/operation/list_pricing_plans_associated_with_pricing_rule/builders.rs b/sdk/billingconductor/src/operation/list_pricing_plans_associated_with_pricing_rule/builders.rs index 375b863747c9..c180a0166acb 100644 --- a/sdk/billingconductor/src/operation/list_pricing_plans_associated_with_pricing_rule/builders.rs +++ b/sdk/billingconductor/src/operation/list_pricing_plans_associated_with_pricing_rule/builders.rs @@ -19,9 +19,9 @@ impl ListPricingPlansAssociatedWithPricingRuleFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize(self) -> ::std::result::Result< + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware(self) -> ::std::result::Result< crate::client::customize::CustomizableOperation, ::aws_smithy_http::result::SdkError >{ @@ -64,6 +64,15 @@ impl ListPricingPlansAssociatedWithPricingRuleFluentBuilder { { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize(self) -> ::std::result::Result< + crate::client::customize::CustomizableOperation, + ::aws_smithy_http::result::SdkError + >{ + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::list_pricing_plans_associated_with_pricing_rule::paginator::ListPricingPlansAssociatedWithPricingRulePaginator::send) which returns a `Stream`. diff --git a/sdk/billingconductor/src/operation/list_pricing_rules/builders.rs b/sdk/billingconductor/src/operation/list_pricing_rules/builders.rs index 6adcf27cd526..a2022b9e9d96 100644 --- a/sdk/billingconductor/src/operation/list_pricing_rules/builders.rs +++ b/sdk/billingconductor/src/operation/list_pricing_rules/builders.rs @@ -19,9 +19,9 @@ impl ListPricingRulesFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl ListPricingRulesFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_pricing_rules::ListPricingRules, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::list_pricing_rules::ListPricingRulesError, + >, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::list_pricing_rules::paginator::ListPricingRulesPaginator::send) which returns a `Stream`. diff --git a/sdk/billingconductor/src/operation/list_pricing_rules_associated_to_pricing_plan/builders.rs b/sdk/billingconductor/src/operation/list_pricing_rules_associated_to_pricing_plan/builders.rs index 4a1973d3f62d..7a6d41f27467 100644 --- a/sdk/billingconductor/src/operation/list_pricing_rules_associated_to_pricing_plan/builders.rs +++ b/sdk/billingconductor/src/operation/list_pricing_rules_associated_to_pricing_plan/builders.rs @@ -19,9 +19,9 @@ impl ListPricingRulesAssociatedToPricingPlanFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize(self) -> ::std::result::Result< + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware(self) -> ::std::result::Result< crate::client::customize::CustomizableOperation, ::aws_smithy_http::result::SdkError >{ @@ -64,6 +64,15 @@ impl ListPricingRulesAssociatedToPricingPlanFluentBuilder { { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize(self) -> ::std::result::Result< + crate::client::customize::CustomizableOperation, + ::aws_smithy_http::result::SdkError + >{ + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::list_pricing_rules_associated_to_pricing_plan::paginator::ListPricingRulesAssociatedToPricingPlanPaginator::send) which returns a `Stream`. diff --git a/sdk/billingconductor/src/operation/list_resources_associated_to_custom_line_item/builders.rs b/sdk/billingconductor/src/operation/list_resources_associated_to_custom_line_item/builders.rs index f9e450311eb7..16a8f5702e29 100644 --- a/sdk/billingconductor/src/operation/list_resources_associated_to_custom_line_item/builders.rs +++ b/sdk/billingconductor/src/operation/list_resources_associated_to_custom_line_item/builders.rs @@ -19,9 +19,9 @@ impl ListResourcesAssociatedToCustomLineItemFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize(self) -> ::std::result::Result< + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware(self) -> ::std::result::Result< crate::client::customize::CustomizableOperation, ::aws_smithy_http::result::SdkError >{ @@ -64,6 +64,15 @@ impl ListResourcesAssociatedToCustomLineItemFluentBuilder { { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize(self) -> ::std::result::Result< + crate::client::customize::CustomizableOperation, + ::aws_smithy_http::result::SdkError + >{ + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::list_resources_associated_to_custom_line_item::paginator::ListResourcesAssociatedToCustomLineItemPaginator::send) which returns a `Stream`. diff --git a/sdk/billingconductor/src/operation/list_tags_for_resource/builders.rs b/sdk/billingconductor/src/operation/list_tags_for_resource/builders.rs index f9e8c8fd48c2..4ca27be3289b 100644 --- a/sdk/billingconductor/src/operation/list_tags_for_resource/builders.rs +++ b/sdk/billingconductor/src/operation/list_tags_for_resource/builders.rs @@ -19,9 +19,9 @@ impl ListTagsForResourceFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl ListTagsForResourceFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_tags_for_resource::ListTagsForResource, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::list_tags_for_resource::ListTagsForResourceError, + >, + > { + self.customize_middleware().await + } ///

The Amazon Resource Name (ARN) that identifies the resource to list the tags.

pub fn resource_arn(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.resource_arn(input.into()); diff --git a/sdk/billingconductor/src/operation/tag_resource/builders.rs b/sdk/billingconductor/src/operation/tag_resource/builders.rs index 05263fe6193e..8f3fc6867464 100644 --- a/sdk/billingconductor/src/operation/tag_resource/builders.rs +++ b/sdk/billingconductor/src/operation/tag_resource/builders.rs @@ -19,9 +19,9 @@ impl TagResourceFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl TagResourceFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::tag_resource::TagResource, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

The Amazon Resource Name (ARN) of the resource to which to add tags.

pub fn resource_arn(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.resource_arn(input.into()); diff --git a/sdk/billingconductor/src/operation/untag_resource/builders.rs b/sdk/billingconductor/src/operation/untag_resource/builders.rs index a1ebe34dd99e..24a4aa94da30 100644 --- a/sdk/billingconductor/src/operation/untag_resource/builders.rs +++ b/sdk/billingconductor/src/operation/untag_resource/builders.rs @@ -19,9 +19,9 @@ impl UntagResourceFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl UntagResourceFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::untag_resource::UntagResource, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

The Amazon Resource Name (ARN) of the resource to which to delete tags.

pub fn resource_arn(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.resource_arn(input.into()); diff --git a/sdk/billingconductor/src/operation/update_billing_group/builders.rs b/sdk/billingconductor/src/operation/update_billing_group/builders.rs index 99a5054b00a0..351ea923bef8 100644 --- a/sdk/billingconductor/src/operation/update_billing_group/builders.rs +++ b/sdk/billingconductor/src/operation/update_billing_group/builders.rs @@ -19,9 +19,9 @@ impl UpdateBillingGroupFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl UpdateBillingGroupFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::update_billing_group::UpdateBillingGroup, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::update_billing_group::UpdateBillingGroupError, + >, + > { + self.customize_middleware().await + } ///

The Amazon Resource Name (ARN) of the billing group being updated.

pub fn arn(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.arn(input.into()); diff --git a/sdk/billingconductor/src/operation/update_custom_line_item/builders.rs b/sdk/billingconductor/src/operation/update_custom_line_item/builders.rs index 5d8b884b6e5e..97784bc4a319 100644 --- a/sdk/billingconductor/src/operation/update_custom_line_item/builders.rs +++ b/sdk/billingconductor/src/operation/update_custom_line_item/builders.rs @@ -19,9 +19,9 @@ impl UpdateCustomLineItemFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl UpdateCustomLineItemFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::update_custom_line_item::UpdateCustomLineItem, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::update_custom_line_item::UpdateCustomLineItemError, + >, + > { + self.customize_middleware().await + } ///

The ARN of the custom line item to be updated.

pub fn arn(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.arn(input.into()); diff --git a/sdk/billingconductor/src/operation/update_pricing_plan/builders.rs b/sdk/billingconductor/src/operation/update_pricing_plan/builders.rs index 005d1c256eed..5cb6faebee52 100644 --- a/sdk/billingconductor/src/operation/update_pricing_plan/builders.rs +++ b/sdk/billingconductor/src/operation/update_pricing_plan/builders.rs @@ -19,9 +19,9 @@ impl UpdatePricingPlanFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl UpdatePricingPlanFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::update_pricing_plan::UpdatePricingPlan, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::update_pricing_plan::UpdatePricingPlanError, + >, + > { + self.customize_middleware().await + } ///

The Amazon Resource Name (ARN) of the pricing plan that you're updating.

pub fn arn(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.arn(input.into()); diff --git a/sdk/billingconductor/src/operation/update_pricing_rule/builders.rs b/sdk/billingconductor/src/operation/update_pricing_rule/builders.rs index af08eb4b50e1..7083ed950a11 100644 --- a/sdk/billingconductor/src/operation/update_pricing_rule/builders.rs +++ b/sdk/billingconductor/src/operation/update_pricing_rule/builders.rs @@ -19,9 +19,9 @@ impl UpdatePricingRuleFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl UpdatePricingRuleFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::update_pricing_rule::UpdatePricingRule, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::update_pricing_rule::UpdatePricingRuleError, + >, + > { + self.customize_middleware().await + } ///

The Amazon Resource Name (ARN) of the pricing rule to update.

pub fn arn(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.arn(input.into()); diff --git a/sdk/braket/src/operation/cancel_job/builders.rs b/sdk/braket/src/operation/cancel_job/builders.rs index 8c5d093a4d4b..731990adc3ff 100644 --- a/sdk/braket/src/operation/cancel_job/builders.rs +++ b/sdk/braket/src/operation/cancel_job/builders.rs @@ -19,9 +19,9 @@ impl CancelJobFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl CancelJobFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::cancel_job::CancelJob, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

The ARN of the Amazon Braket job to cancel.

pub fn job_arn(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.job_arn(input.into()); diff --git a/sdk/braket/src/operation/cancel_quantum_task/builders.rs b/sdk/braket/src/operation/cancel_quantum_task/builders.rs index 9833e3bb9c66..72abae566b11 100644 --- a/sdk/braket/src/operation/cancel_quantum_task/builders.rs +++ b/sdk/braket/src/operation/cancel_quantum_task/builders.rs @@ -19,9 +19,9 @@ impl CancelQuantumTaskFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl CancelQuantumTaskFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::cancel_quantum_task::CancelQuantumTask, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::cancel_quantum_task::CancelQuantumTaskError, + >, + > { + self.customize_middleware().await + } ///

The ARN of the task to cancel.

pub fn quantum_task_arn( mut self, diff --git a/sdk/braket/src/operation/create_job/builders.rs b/sdk/braket/src/operation/create_job/builders.rs index 4349f8bb53e8..e2ded386cb90 100644 --- a/sdk/braket/src/operation/create_job/builders.rs +++ b/sdk/braket/src/operation/create_job/builders.rs @@ -19,9 +19,9 @@ impl CreateJobFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl CreateJobFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::create_job::CreateJob, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

A unique token that guarantees that the call to this API is idempotent.

pub fn client_token(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.client_token(input.into()); diff --git a/sdk/braket/src/operation/create_quantum_task/builders.rs b/sdk/braket/src/operation/create_quantum_task/builders.rs index 22c0cbd0fc10..2085ca537a4f 100644 --- a/sdk/braket/src/operation/create_quantum_task/builders.rs +++ b/sdk/braket/src/operation/create_quantum_task/builders.rs @@ -19,9 +19,9 @@ impl CreateQuantumTaskFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl CreateQuantumTaskFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::create_quantum_task::CreateQuantumTask, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::create_quantum_task::CreateQuantumTaskError, + >, + > { + self.customize_middleware().await + } ///

The client token associated with the request.

pub fn client_token(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.client_token(input.into()); diff --git a/sdk/braket/src/operation/get_device/builders.rs b/sdk/braket/src/operation/get_device/builders.rs index cd86371c321c..787cc6d0587f 100644 --- a/sdk/braket/src/operation/get_device/builders.rs +++ b/sdk/braket/src/operation/get_device/builders.rs @@ -21,9 +21,9 @@ impl GetDeviceFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -79,6 +79,20 @@ impl GetDeviceFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::get_device::GetDevice, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

The ARN of the device to retrieve.

pub fn device_arn(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.device_arn(input.into()); diff --git a/sdk/braket/src/operation/get_job/builders.rs b/sdk/braket/src/operation/get_job/builders.rs index 4216e3e86f00..906758c93c80 100644 --- a/sdk/braket/src/operation/get_job/builders.rs +++ b/sdk/braket/src/operation/get_job/builders.rs @@ -19,9 +19,9 @@ impl GetJobFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl GetJobFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::get_job::GetJob, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

The ARN of the job to retrieve.

pub fn job_arn(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.job_arn(input.into()); diff --git a/sdk/braket/src/operation/get_quantum_task/builders.rs b/sdk/braket/src/operation/get_quantum_task/builders.rs index 4e64cbbe9a9f..fb7a87415225 100644 --- a/sdk/braket/src/operation/get_quantum_task/builders.rs +++ b/sdk/braket/src/operation/get_quantum_task/builders.rs @@ -19,9 +19,9 @@ impl GetQuantumTaskFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl GetQuantumTaskFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::get_quantum_task::GetQuantumTask, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::get_quantum_task::GetQuantumTaskError, + >, + > { + self.customize_middleware().await + } ///

the ARN of the task to retrieve.

pub fn quantum_task_arn( mut self, diff --git a/sdk/braket/src/operation/list_tags_for_resource/builders.rs b/sdk/braket/src/operation/list_tags_for_resource/builders.rs index b32053c042a5..ca7d8121555d 100644 --- a/sdk/braket/src/operation/list_tags_for_resource/builders.rs +++ b/sdk/braket/src/operation/list_tags_for_resource/builders.rs @@ -19,9 +19,9 @@ impl ListTagsForResourceFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl ListTagsForResourceFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_tags_for_resource::ListTagsForResource, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::list_tags_for_resource::ListTagsForResourceError, + >, + > { + self.customize_middleware().await + } ///

Specify the resourceArn for the resource whose tags to display.

pub fn resource_arn(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.resource_arn(input.into()); diff --git a/sdk/braket/src/operation/search_devices/builders.rs b/sdk/braket/src/operation/search_devices/builders.rs index be2ad84d8b0d..2e9423f8d96c 100644 --- a/sdk/braket/src/operation/search_devices/builders.rs +++ b/sdk/braket/src/operation/search_devices/builders.rs @@ -19,9 +19,9 @@ impl SearchDevicesFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl SearchDevicesFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::search_devices::SearchDevices, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::search_devices::paginator::SearchDevicesPaginator::send) which returns a `Stream`. diff --git a/sdk/braket/src/operation/search_jobs/builders.rs b/sdk/braket/src/operation/search_jobs/builders.rs index d67adbae3183..ce8578b68f99 100644 --- a/sdk/braket/src/operation/search_jobs/builders.rs +++ b/sdk/braket/src/operation/search_jobs/builders.rs @@ -19,9 +19,9 @@ impl SearchJobsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl SearchJobsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::search_jobs::SearchJobs, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::search_jobs::paginator::SearchJobsPaginator::send) which returns a `Stream`. diff --git a/sdk/braket/src/operation/search_quantum_tasks/builders.rs b/sdk/braket/src/operation/search_quantum_tasks/builders.rs index 726323467f17..2c18925af370 100644 --- a/sdk/braket/src/operation/search_quantum_tasks/builders.rs +++ b/sdk/braket/src/operation/search_quantum_tasks/builders.rs @@ -19,9 +19,9 @@ impl SearchQuantumTasksFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl SearchQuantumTasksFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::search_quantum_tasks::SearchQuantumTasks, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::search_quantum_tasks::SearchQuantumTasksError, + >, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::search_quantum_tasks::paginator::SearchQuantumTasksPaginator::send) which returns a `Stream`. diff --git a/sdk/braket/src/operation/tag_resource/builders.rs b/sdk/braket/src/operation/tag_resource/builders.rs index 04310e0bbbf4..8f6942947303 100644 --- a/sdk/braket/src/operation/tag_resource/builders.rs +++ b/sdk/braket/src/operation/tag_resource/builders.rs @@ -19,9 +19,9 @@ impl TagResourceFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl TagResourceFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::tag_resource::TagResource, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

Specify the resourceArn of the resource to which a tag will be added.

pub fn resource_arn(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.resource_arn(input.into()); diff --git a/sdk/braket/src/operation/untag_resource/builders.rs b/sdk/braket/src/operation/untag_resource/builders.rs index 08ea6b443452..8f56a3c1a2f4 100644 --- a/sdk/braket/src/operation/untag_resource/builders.rs +++ b/sdk/braket/src/operation/untag_resource/builders.rs @@ -19,9 +19,9 @@ impl UntagResourceFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl UntagResourceFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::untag_resource::UntagResource, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

Specify the resourceArn for the resource from which to remove the tags.

pub fn resource_arn(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.resource_arn(input.into()); diff --git a/sdk/budgets/src/operation/create_budget/builders.rs b/sdk/budgets/src/operation/create_budget/builders.rs index 49ba13d361d4..1b63d255ba08 100644 --- a/sdk/budgets/src/operation/create_budget/builders.rs +++ b/sdk/budgets/src/operation/create_budget/builders.rs @@ -21,9 +21,9 @@ impl CreateBudgetFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -79,6 +79,20 @@ impl CreateBudgetFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::create_budget::CreateBudget, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

The accountId that is associated with the budget.

pub fn account_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.account_id(input.into()); diff --git a/sdk/budgets/src/operation/create_budget_action/builders.rs b/sdk/budgets/src/operation/create_budget_action/builders.rs index 18bf2dbb18e4..943fbdbeedae 100644 --- a/sdk/budgets/src/operation/create_budget_action/builders.rs +++ b/sdk/budgets/src/operation/create_budget_action/builders.rs @@ -19,9 +19,9 @@ impl CreateBudgetActionFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl CreateBudgetActionFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::create_budget_action::CreateBudgetAction, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::create_budget_action::CreateBudgetActionError, + >, + > { + self.customize_middleware().await + } ///

The account ID of the user. It's a 12-digit number.

pub fn account_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.account_id(input.into()); diff --git a/sdk/budgets/src/operation/create_notification/builders.rs b/sdk/budgets/src/operation/create_notification/builders.rs index cf8161e17f71..eaad1abc227e 100644 --- a/sdk/budgets/src/operation/create_notification/builders.rs +++ b/sdk/budgets/src/operation/create_notification/builders.rs @@ -19,9 +19,9 @@ impl CreateNotificationFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl CreateNotificationFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::create_notification::CreateNotification, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::create_notification::CreateNotificationError, + >, + > { + self.customize_middleware().await + } ///

The accountId that is associated with the budget that you want to create a notification for.

pub fn account_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.account_id(input.into()); diff --git a/sdk/budgets/src/operation/create_subscriber/builders.rs b/sdk/budgets/src/operation/create_subscriber/builders.rs index ee04efef78e1..e6676e05d1a7 100644 --- a/sdk/budgets/src/operation/create_subscriber/builders.rs +++ b/sdk/budgets/src/operation/create_subscriber/builders.rs @@ -19,9 +19,9 @@ impl CreateSubscriberFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl CreateSubscriberFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::create_subscriber::CreateSubscriber, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::create_subscriber::CreateSubscriberError, + >, + > { + self.customize_middleware().await + } ///

The accountId that is associated with the budget that you want to create a subscriber for.

pub fn account_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.account_id(input.into()); diff --git a/sdk/budgets/src/operation/delete_budget/builders.rs b/sdk/budgets/src/operation/delete_budget/builders.rs index 8db18cafa29b..288eb9fcbb60 100644 --- a/sdk/budgets/src/operation/delete_budget/builders.rs +++ b/sdk/budgets/src/operation/delete_budget/builders.rs @@ -21,9 +21,9 @@ impl DeleteBudgetFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -79,6 +79,20 @@ impl DeleteBudgetFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::delete_budget::DeleteBudget, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

The accountId that is associated with the budget that you want to delete.

pub fn account_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.account_id(input.into()); diff --git a/sdk/budgets/src/operation/delete_budget_action/builders.rs b/sdk/budgets/src/operation/delete_budget_action/builders.rs index d7e0ebcb5836..c41d7857caa2 100644 --- a/sdk/budgets/src/operation/delete_budget_action/builders.rs +++ b/sdk/budgets/src/operation/delete_budget_action/builders.rs @@ -19,9 +19,9 @@ impl DeleteBudgetActionFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl DeleteBudgetActionFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::delete_budget_action::DeleteBudgetAction, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::delete_budget_action::DeleteBudgetActionError, + >, + > { + self.customize_middleware().await + } ///

The account ID of the user. It's a 12-digit number.

pub fn account_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.account_id(input.into()); diff --git a/sdk/budgets/src/operation/delete_notification/builders.rs b/sdk/budgets/src/operation/delete_notification/builders.rs index 923ca2f315d6..b979d0423810 100644 --- a/sdk/budgets/src/operation/delete_notification/builders.rs +++ b/sdk/budgets/src/operation/delete_notification/builders.rs @@ -21,9 +21,9 @@ impl DeleteNotificationFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -85,6 +85,22 @@ impl DeleteNotificationFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::delete_notification::DeleteNotification, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::delete_notification::DeleteNotificationError, + >, + > { + self.customize_middleware().await + } ///

The accountId that is associated with the budget whose notification you want to delete.

pub fn account_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.account_id(input.into()); diff --git a/sdk/budgets/src/operation/delete_subscriber/builders.rs b/sdk/budgets/src/operation/delete_subscriber/builders.rs index 627e55323b51..e9445b7ff3e6 100644 --- a/sdk/budgets/src/operation/delete_subscriber/builders.rs +++ b/sdk/budgets/src/operation/delete_subscriber/builders.rs @@ -21,9 +21,9 @@ impl DeleteSubscriberFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -85,6 +85,22 @@ impl DeleteSubscriberFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::delete_subscriber::DeleteSubscriber, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::delete_subscriber::DeleteSubscriberError, + >, + > { + self.customize_middleware().await + } ///

The accountId that is associated with the budget whose subscriber you want to delete.

pub fn account_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.account_id(input.into()); diff --git a/sdk/budgets/src/operation/describe_budget/builders.rs b/sdk/budgets/src/operation/describe_budget/builders.rs index 50d92a0d87a8..0c590e819769 100644 --- a/sdk/budgets/src/operation/describe_budget/builders.rs +++ b/sdk/budgets/src/operation/describe_budget/builders.rs @@ -21,9 +21,9 @@ impl DescribeBudgetFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -79,6 +79,20 @@ impl DescribeBudgetFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::describe_budget::DescribeBudget, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

The accountId that is associated with the budget that you want a description of.

pub fn account_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.account_id(input.into()); diff --git a/sdk/budgets/src/operation/describe_budget_action/builders.rs b/sdk/budgets/src/operation/describe_budget_action/builders.rs index 2e8aa92d60f1..9add24dbb327 100644 --- a/sdk/budgets/src/operation/describe_budget_action/builders.rs +++ b/sdk/budgets/src/operation/describe_budget_action/builders.rs @@ -19,9 +19,9 @@ impl DescribeBudgetActionFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl DescribeBudgetActionFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::describe_budget_action::DescribeBudgetAction, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::describe_budget_action::DescribeBudgetActionError, + >, + > { + self.customize_middleware().await + } ///

The account ID of the user. It's a 12-digit number.

pub fn account_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.account_id(input.into()); diff --git a/sdk/budgets/src/operation/describe_budget_action_histories/builders.rs b/sdk/budgets/src/operation/describe_budget_action_histories/builders.rs index e64c427817ed..baf181a5c308 100644 --- a/sdk/budgets/src/operation/describe_budget_action_histories/builders.rs +++ b/sdk/budgets/src/operation/describe_budget_action_histories/builders.rs @@ -19,9 +19,9 @@ impl DescribeBudgetActionHistoriesFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl DescribeBudgetActionHistoriesFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::describe_budget_action_histories::DescribeBudgetActionHistories, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::describe_budget_action_histories::DescribeBudgetActionHistoriesError, + >, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::describe_budget_action_histories::paginator::DescribeBudgetActionHistoriesPaginator::send) which returns a `Stream`. diff --git a/sdk/budgets/src/operation/describe_budget_actions_for_account/builders.rs b/sdk/budgets/src/operation/describe_budget_actions_for_account/builders.rs index 0be177ea5b67..99b99d11a00d 100644 --- a/sdk/budgets/src/operation/describe_budget_actions_for_account/builders.rs +++ b/sdk/budgets/src/operation/describe_budget_actions_for_account/builders.rs @@ -19,9 +19,9 @@ impl DescribeBudgetActionsForAccountFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize(self) -> ::std::result::Result< + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware(self) -> ::std::result::Result< crate::client::customize::CustomizableOperation, ::aws_smithy_http::result::SdkError >{ @@ -64,6 +64,15 @@ impl DescribeBudgetActionsForAccountFluentBuilder { { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize(self) -> ::std::result::Result< + crate::client::customize::CustomizableOperation, + ::aws_smithy_http::result::SdkError + >{ + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::describe_budget_actions_for_account::paginator::DescribeBudgetActionsForAccountPaginator::send) which returns a `Stream`. diff --git a/sdk/budgets/src/operation/describe_budget_actions_for_budget/builders.rs b/sdk/budgets/src/operation/describe_budget_actions_for_budget/builders.rs index defaf3040b9e..a6f74971ad03 100644 --- a/sdk/budgets/src/operation/describe_budget_actions_for_budget/builders.rs +++ b/sdk/budgets/src/operation/describe_budget_actions_for_budget/builders.rs @@ -19,9 +19,9 @@ impl DescribeBudgetActionsForBudgetFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize(self) -> ::std::result::Result< + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware(self) -> ::std::result::Result< crate::client::customize::CustomizableOperation, ::aws_smithy_http::result::SdkError >{ @@ -64,6 +64,15 @@ impl DescribeBudgetActionsForBudgetFluentBuilder { { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize(self) -> ::std::result::Result< + crate::client::customize::CustomizableOperation, + ::aws_smithy_http::result::SdkError + >{ + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::describe_budget_actions_for_budget::paginator::DescribeBudgetActionsForBudgetPaginator::send) which returns a `Stream`. diff --git a/sdk/budgets/src/operation/describe_budget_notifications_for_account/builders.rs b/sdk/budgets/src/operation/describe_budget_notifications_for_account/builders.rs index edaf16c9b914..de0dded77785 100644 --- a/sdk/budgets/src/operation/describe_budget_notifications_for_account/builders.rs +++ b/sdk/budgets/src/operation/describe_budget_notifications_for_account/builders.rs @@ -19,9 +19,9 @@ impl DescribeBudgetNotificationsForAccountFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize(self) -> ::std::result::Result< + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware(self) -> ::std::result::Result< crate::client::customize::CustomizableOperation, ::aws_smithy_http::result::SdkError >{ @@ -64,6 +64,15 @@ impl DescribeBudgetNotificationsForAccountFluentBuilder { { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize(self) -> ::std::result::Result< + crate::client::customize::CustomizableOperation, + ::aws_smithy_http::result::SdkError + >{ + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::describe_budget_notifications_for_account::paginator::DescribeBudgetNotificationsForAccountPaginator::send) which returns a `Stream`. diff --git a/sdk/budgets/src/operation/describe_budget_performance_history/builders.rs b/sdk/budgets/src/operation/describe_budget_performance_history/builders.rs index 811acd022820..52597d794d9f 100644 --- a/sdk/budgets/src/operation/describe_budget_performance_history/builders.rs +++ b/sdk/budgets/src/operation/describe_budget_performance_history/builders.rs @@ -19,9 +19,9 @@ impl DescribeBudgetPerformanceHistoryFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize(self) -> ::std::result::Result< + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware(self) -> ::std::result::Result< crate::client::customize::CustomizableOperation, ::aws_smithy_http::result::SdkError >{ @@ -64,6 +64,15 @@ impl DescribeBudgetPerformanceHistoryFluentBuilder { { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize(self) -> ::std::result::Result< + crate::client::customize::CustomizableOperation, + ::aws_smithy_http::result::SdkError + >{ + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::describe_budget_performance_history::paginator::DescribeBudgetPerformanceHistoryPaginator::send) which returns a `Stream`. diff --git a/sdk/budgets/src/operation/describe_budgets/builders.rs b/sdk/budgets/src/operation/describe_budgets/builders.rs index f4f1d8f77eac..125b5d33324d 100644 --- a/sdk/budgets/src/operation/describe_budgets/builders.rs +++ b/sdk/budgets/src/operation/describe_budgets/builders.rs @@ -21,9 +21,9 @@ impl DescribeBudgetsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -85,6 +85,22 @@ impl DescribeBudgetsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::describe_budgets::DescribeBudgets, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::describe_budgets::DescribeBudgetsError, + >, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::describe_budgets::paginator::DescribeBudgetsPaginator::send) which returns a `Stream`. diff --git a/sdk/budgets/src/operation/describe_notifications_for_budget/builders.rs b/sdk/budgets/src/operation/describe_notifications_for_budget/builders.rs index 387fad57745b..52abaae0f561 100644 --- a/sdk/budgets/src/operation/describe_notifications_for_budget/builders.rs +++ b/sdk/budgets/src/operation/describe_notifications_for_budget/builders.rs @@ -19,9 +19,9 @@ impl DescribeNotificationsForBudgetFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize(self) -> ::std::result::Result< + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware(self) -> ::std::result::Result< crate::client::customize::CustomizableOperation, ::aws_smithy_http::result::SdkError >{ @@ -64,6 +64,15 @@ impl DescribeNotificationsForBudgetFluentBuilder { { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize(self) -> ::std::result::Result< + crate::client::customize::CustomizableOperation, + ::aws_smithy_http::result::SdkError + >{ + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::describe_notifications_for_budget::paginator::DescribeNotificationsForBudgetPaginator::send) which returns a `Stream`. diff --git a/sdk/budgets/src/operation/describe_subscribers_for_notification/builders.rs b/sdk/budgets/src/operation/describe_subscribers_for_notification/builders.rs index b8398daffb81..edf96eac2f9f 100644 --- a/sdk/budgets/src/operation/describe_subscribers_for_notification/builders.rs +++ b/sdk/budgets/src/operation/describe_subscribers_for_notification/builders.rs @@ -19,9 +19,9 @@ impl DescribeSubscribersForNotificationFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize(self) -> ::std::result::Result< + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware(self) -> ::std::result::Result< crate::client::customize::CustomizableOperation, ::aws_smithy_http::result::SdkError >{ @@ -64,6 +64,15 @@ impl DescribeSubscribersForNotificationFluentBuilder { { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize(self) -> ::std::result::Result< + crate::client::customize::CustomizableOperation, + ::aws_smithy_http::result::SdkError + >{ + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::describe_subscribers_for_notification::paginator::DescribeSubscribersForNotificationPaginator::send) which returns a `Stream`. diff --git a/sdk/budgets/src/operation/execute_budget_action/builders.rs b/sdk/budgets/src/operation/execute_budget_action/builders.rs index 71a96fde49ba..d20e654278a8 100644 --- a/sdk/budgets/src/operation/execute_budget_action/builders.rs +++ b/sdk/budgets/src/operation/execute_budget_action/builders.rs @@ -19,9 +19,9 @@ impl ExecuteBudgetActionFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl ExecuteBudgetActionFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::execute_budget_action::ExecuteBudgetAction, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::execute_budget_action::ExecuteBudgetActionError, + >, + > { + self.customize_middleware().await + } ///

The account ID of the user. It's a 12-digit number.

pub fn account_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.account_id(input.into()); diff --git a/sdk/budgets/src/operation/update_budget/builders.rs b/sdk/budgets/src/operation/update_budget/builders.rs index b4d3cab21b0a..0700ccb32311 100644 --- a/sdk/budgets/src/operation/update_budget/builders.rs +++ b/sdk/budgets/src/operation/update_budget/builders.rs @@ -21,9 +21,9 @@ impl UpdateBudgetFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -79,6 +79,20 @@ impl UpdateBudgetFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::update_budget::UpdateBudget, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

The accountId that is associated with the budget that you want to update.

pub fn account_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.account_id(input.into()); diff --git a/sdk/budgets/src/operation/update_budget_action/builders.rs b/sdk/budgets/src/operation/update_budget_action/builders.rs index c6aa42485495..f7baf965e9f7 100644 --- a/sdk/budgets/src/operation/update_budget_action/builders.rs +++ b/sdk/budgets/src/operation/update_budget_action/builders.rs @@ -19,9 +19,9 @@ impl UpdateBudgetActionFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl UpdateBudgetActionFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::update_budget_action::UpdateBudgetAction, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::update_budget_action::UpdateBudgetActionError, + >, + > { + self.customize_middleware().await + } ///

The account ID of the user. It's a 12-digit number.

pub fn account_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.account_id(input.into()); diff --git a/sdk/budgets/src/operation/update_notification/builders.rs b/sdk/budgets/src/operation/update_notification/builders.rs index de0289ccca4b..03e386d7b7ce 100644 --- a/sdk/budgets/src/operation/update_notification/builders.rs +++ b/sdk/budgets/src/operation/update_notification/builders.rs @@ -19,9 +19,9 @@ impl UpdateNotificationFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl UpdateNotificationFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::update_notification::UpdateNotification, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::update_notification::UpdateNotificationError, + >, + > { + self.customize_middleware().await + } ///

The accountId that is associated with the budget whose notification you want to update.

pub fn account_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.account_id(input.into()); diff --git a/sdk/budgets/src/operation/update_subscriber/builders.rs b/sdk/budgets/src/operation/update_subscriber/builders.rs index 1baa0f0ee11d..33ae9bc42291 100644 --- a/sdk/budgets/src/operation/update_subscriber/builders.rs +++ b/sdk/budgets/src/operation/update_subscriber/builders.rs @@ -19,9 +19,9 @@ impl UpdateSubscriberFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl UpdateSubscriberFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::update_subscriber::UpdateSubscriber, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::update_subscriber::UpdateSubscriberError, + >, + > { + self.customize_middleware().await + } ///

The accountId that is associated with the budget whose subscriber you want to update.

pub fn account_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.account_id(input.into()); diff --git a/sdk/chime/src/operation/associate_phone_number_with_user/builders.rs b/sdk/chime/src/operation/associate_phone_number_with_user/builders.rs index 1c21436d88c9..8e0400e1166e 100644 --- a/sdk/chime/src/operation/associate_phone_number_with_user/builders.rs +++ b/sdk/chime/src/operation/associate_phone_number_with_user/builders.rs @@ -19,9 +19,9 @@ impl AssociatePhoneNumberWithUserFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl AssociatePhoneNumberWithUserFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::associate_phone_number_with_user::AssociatePhoneNumberWithUser, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::associate_phone_number_with_user::AssociatePhoneNumberWithUserError, + >, + > { + self.customize_middleware().await + } ///

The Amazon Chime account ID.

pub fn account_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.account_id(input.into()); diff --git a/sdk/chime/src/operation/associate_phone_numbers_with_voice_connector/builders.rs b/sdk/chime/src/operation/associate_phone_numbers_with_voice_connector/builders.rs index 29b198a7677f..2ae8e19b6523 100644 --- a/sdk/chime/src/operation/associate_phone_numbers_with_voice_connector/builders.rs +++ b/sdk/chime/src/operation/associate_phone_numbers_with_voice_connector/builders.rs @@ -19,9 +19,9 @@ impl AssociatePhoneNumbersWithVoiceConnectorFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize(self) -> ::std::result::Result< + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware(self) -> ::std::result::Result< crate::client::customize::CustomizableOperation, ::aws_smithy_http::result::SdkError >{ @@ -64,6 +64,15 @@ impl AssociatePhoneNumbersWithVoiceConnectorFluentBuilder { { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize(self) -> ::std::result::Result< + crate::client::customize::CustomizableOperation, + ::aws_smithy_http::result::SdkError + >{ + self.customize_middleware().await + } ///

The Amazon Chime Voice Connector ID.

pub fn voice_connector_id( mut self, diff --git a/sdk/chime/src/operation/associate_phone_numbers_with_voice_connector_group/builders.rs b/sdk/chime/src/operation/associate_phone_numbers_with_voice_connector_group/builders.rs index c3d075c198de..58ce485d0ef4 100644 --- a/sdk/chime/src/operation/associate_phone_numbers_with_voice_connector_group/builders.rs +++ b/sdk/chime/src/operation/associate_phone_numbers_with_voice_connector_group/builders.rs @@ -19,9 +19,9 @@ impl AssociatePhoneNumbersWithVoiceConnectorGroupFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize(self) -> ::std::result::Result< + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware(self) -> ::std::result::Result< crate::client::customize::CustomizableOperation, ::aws_smithy_http::result::SdkError >{ @@ -64,6 +64,15 @@ impl AssociatePhoneNumbersWithVoiceConnectorGroupFluentBuilder { { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize(self) -> ::std::result::Result< + crate::client::customize::CustomizableOperation, + ::aws_smithy_http::result::SdkError + >{ + self.customize_middleware().await + } ///

The Amazon Chime Voice Connector group ID.

pub fn voice_connector_group_id( mut self, diff --git a/sdk/chime/src/operation/associate_signin_delegate_groups_with_account/builders.rs b/sdk/chime/src/operation/associate_signin_delegate_groups_with_account/builders.rs index 2c52c2b0f8bb..496eff91d985 100644 --- a/sdk/chime/src/operation/associate_signin_delegate_groups_with_account/builders.rs +++ b/sdk/chime/src/operation/associate_signin_delegate_groups_with_account/builders.rs @@ -19,9 +19,9 @@ impl AssociateSigninDelegateGroupsWithAccountFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize(self) -> ::std::result::Result< + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware(self) -> ::std::result::Result< crate::client::customize::CustomizableOperation, ::aws_smithy_http::result::SdkError >{ @@ -64,6 +64,15 @@ impl AssociateSigninDelegateGroupsWithAccountFluentBuilder { { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize(self) -> ::std::result::Result< + crate::client::customize::CustomizableOperation, + ::aws_smithy_http::result::SdkError + >{ + self.customize_middleware().await + } ///

The Amazon Chime account ID.

pub fn account_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.account_id(input.into()); diff --git a/sdk/chime/src/operation/batch_create_attendee/builders.rs b/sdk/chime/src/operation/batch_create_attendee/builders.rs index e52a033f3988..c72bb1a1bba0 100644 --- a/sdk/chime/src/operation/batch_create_attendee/builders.rs +++ b/sdk/chime/src/operation/batch_create_attendee/builders.rs @@ -19,9 +19,9 @@ impl BatchCreateAttendeeFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl BatchCreateAttendeeFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::batch_create_attendee::BatchCreateAttendee, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::batch_create_attendee::BatchCreateAttendeeError, + >, + > { + self.customize_middleware().await + } ///

The Amazon Chime SDK meeting ID.

pub fn meeting_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.meeting_id(input.into()); diff --git a/sdk/chime/src/operation/batch_create_channel_membership/builders.rs b/sdk/chime/src/operation/batch_create_channel_membership/builders.rs index 76a87297f16a..642669a1378f 100644 --- a/sdk/chime/src/operation/batch_create_channel_membership/builders.rs +++ b/sdk/chime/src/operation/batch_create_channel_membership/builders.rs @@ -19,9 +19,9 @@ impl BatchCreateChannelMembershipFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl BatchCreateChannelMembershipFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::batch_create_channel_membership::BatchCreateChannelMembership, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::batch_create_channel_membership::BatchCreateChannelMembershipError, + >, + > { + self.customize_middleware().await + } ///

The ARN of the channel to which you're adding users.

pub fn channel_arn(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.channel_arn(input.into()); diff --git a/sdk/chime/src/operation/batch_create_room_membership/builders.rs b/sdk/chime/src/operation/batch_create_room_membership/builders.rs index 2916afdbfadf..ca003d98bfb5 100644 --- a/sdk/chime/src/operation/batch_create_room_membership/builders.rs +++ b/sdk/chime/src/operation/batch_create_room_membership/builders.rs @@ -19,9 +19,9 @@ impl BatchCreateRoomMembershipFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl BatchCreateRoomMembershipFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::batch_create_room_membership::BatchCreateRoomMembership, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::batch_create_room_membership::BatchCreateRoomMembershipError, + >, + > { + self.customize_middleware().await + } ///

The Amazon Chime account ID.

pub fn account_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.account_id(input.into()); diff --git a/sdk/chime/src/operation/batch_delete_phone_number/builders.rs b/sdk/chime/src/operation/batch_delete_phone_number/builders.rs index d3a13341e87a..b88e5e83e35f 100644 --- a/sdk/chime/src/operation/batch_delete_phone_number/builders.rs +++ b/sdk/chime/src/operation/batch_delete_phone_number/builders.rs @@ -21,9 +21,9 @@ impl BatchDeletePhoneNumberFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -85,6 +85,22 @@ impl BatchDeletePhoneNumberFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::batch_delete_phone_number::BatchDeletePhoneNumber, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::batch_delete_phone_number::BatchDeletePhoneNumberError, + >, + > { + self.customize_middleware().await + } /// Appends an item to `PhoneNumberIds`. /// /// To override the contents of this collection use [`set_phone_number_ids`](Self::set_phone_number_ids). diff --git a/sdk/chime/src/operation/batch_suspend_user/builders.rs b/sdk/chime/src/operation/batch_suspend_user/builders.rs index 740a5cc2b336..e5a633606f29 100644 --- a/sdk/chime/src/operation/batch_suspend_user/builders.rs +++ b/sdk/chime/src/operation/batch_suspend_user/builders.rs @@ -22,9 +22,9 @@ impl BatchSuspendUserFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -86,6 +86,22 @@ impl BatchSuspendUserFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::batch_suspend_user::BatchSuspendUser, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::batch_suspend_user::BatchSuspendUserError, + >, + > { + self.customize_middleware().await + } ///

The Amazon Chime account ID.

pub fn account_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.account_id(input.into()); diff --git a/sdk/chime/src/operation/batch_unsuspend_user/builders.rs b/sdk/chime/src/operation/batch_unsuspend_user/builders.rs index deb35cec083e..99520b17835d 100644 --- a/sdk/chime/src/operation/batch_unsuspend_user/builders.rs +++ b/sdk/chime/src/operation/batch_unsuspend_user/builders.rs @@ -20,9 +20,9 @@ impl BatchUnsuspendUserFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -84,6 +84,22 @@ impl BatchUnsuspendUserFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::batch_unsuspend_user::BatchUnsuspendUser, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::batch_unsuspend_user::BatchUnsuspendUserError, + >, + > { + self.customize_middleware().await + } ///

The Amazon Chime account ID.

pub fn account_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.account_id(input.into()); diff --git a/sdk/chime/src/operation/batch_update_phone_number/builders.rs b/sdk/chime/src/operation/batch_update_phone_number/builders.rs index 4ce20df08f5e..fe97f1006123 100644 --- a/sdk/chime/src/operation/batch_update_phone_number/builders.rs +++ b/sdk/chime/src/operation/batch_update_phone_number/builders.rs @@ -22,9 +22,9 @@ impl BatchUpdatePhoneNumberFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -86,6 +86,22 @@ impl BatchUpdatePhoneNumberFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::batch_update_phone_number::BatchUpdatePhoneNumber, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::batch_update_phone_number::BatchUpdatePhoneNumberError, + >, + > { + self.customize_middleware().await + } /// Appends an item to `UpdatePhoneNumberRequestItems`. /// /// To override the contents of this collection use [`set_update_phone_number_request_items`](Self::set_update_phone_number_request_items). diff --git a/sdk/chime/src/operation/batch_update_user/builders.rs b/sdk/chime/src/operation/batch_update_user/builders.rs index 202d4bd7cddc..19eb0bf8bf2b 100644 --- a/sdk/chime/src/operation/batch_update_user/builders.rs +++ b/sdk/chime/src/operation/batch_update_user/builders.rs @@ -19,9 +19,9 @@ impl BatchUpdateUserFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl BatchUpdateUserFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::batch_update_user::BatchUpdateUser, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::batch_update_user::BatchUpdateUserError, + >, + > { + self.customize_middleware().await + } ///

The Amazon Chime account ID.

pub fn account_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.account_id(input.into()); diff --git a/sdk/chime/src/operation/create_account/builders.rs b/sdk/chime/src/operation/create_account/builders.rs index d71239fe0ed3..e3d3b07e1527 100644 --- a/sdk/chime/src/operation/create_account/builders.rs +++ b/sdk/chime/src/operation/create_account/builders.rs @@ -19,9 +19,9 @@ impl CreateAccountFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl CreateAccountFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::create_account::CreateAccount, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

The name of the Amazon Chime account.

pub fn name(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.name(input.into()); diff --git a/sdk/chime/src/operation/create_app_instance/builders.rs b/sdk/chime/src/operation/create_app_instance/builders.rs index 632449c0a7da..1ac7cf252e0c 100644 --- a/sdk/chime/src/operation/create_app_instance/builders.rs +++ b/sdk/chime/src/operation/create_app_instance/builders.rs @@ -19,9 +19,9 @@ impl CreateAppInstanceFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl CreateAppInstanceFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::create_app_instance::CreateAppInstance, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::create_app_instance::CreateAppInstanceError, + >, + > { + self.customize_middleware().await + } ///

The name of the AppInstance.

pub fn name(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.name(input.into()); diff --git a/sdk/chime/src/operation/create_app_instance_admin/builders.rs b/sdk/chime/src/operation/create_app_instance_admin/builders.rs index 3ab390bdb300..a86a1f98895d 100644 --- a/sdk/chime/src/operation/create_app_instance_admin/builders.rs +++ b/sdk/chime/src/operation/create_app_instance_admin/builders.rs @@ -25,9 +25,9 @@ impl CreateAppInstanceAdminFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -89,6 +89,22 @@ impl CreateAppInstanceAdminFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::create_app_instance_admin::CreateAppInstanceAdmin, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::create_app_instance_admin::CreateAppInstanceAdminError, + >, + > { + self.customize_middleware().await + } ///

The ARN of the administrator of the current AppInstance.

pub fn app_instance_admin_arn( mut self, diff --git a/sdk/chime/src/operation/create_app_instance_user/builders.rs b/sdk/chime/src/operation/create_app_instance_user/builders.rs index af75ee9d48cf..5c828fafb346 100644 --- a/sdk/chime/src/operation/create_app_instance_user/builders.rs +++ b/sdk/chime/src/operation/create_app_instance_user/builders.rs @@ -19,9 +19,9 @@ impl CreateAppInstanceUserFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl CreateAppInstanceUserFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::create_app_instance_user::CreateAppInstanceUser, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::create_app_instance_user::CreateAppInstanceUserError, + >, + > { + self.customize_middleware().await + } ///

The ARN of the AppInstance request.

pub fn app_instance_arn( mut self, diff --git a/sdk/chime/src/operation/create_attendee/builders.rs b/sdk/chime/src/operation/create_attendee/builders.rs index 1dcc5e5b8402..9e5ac53b63b8 100644 --- a/sdk/chime/src/operation/create_attendee/builders.rs +++ b/sdk/chime/src/operation/create_attendee/builders.rs @@ -19,9 +19,9 @@ impl CreateAttendeeFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl CreateAttendeeFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::create_attendee::CreateAttendee, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

The Amazon Chime SDK meeting ID.

pub fn meeting_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.meeting_id(input.into()); diff --git a/sdk/chime/src/operation/create_bot/builders.rs b/sdk/chime/src/operation/create_bot/builders.rs index a547c45f4da2..e98e54d40c91 100644 --- a/sdk/chime/src/operation/create_bot/builders.rs +++ b/sdk/chime/src/operation/create_bot/builders.rs @@ -19,9 +19,9 @@ impl CreateBotFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl CreateBotFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::create_bot::CreateBot, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

The Amazon Chime account ID.

pub fn account_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.account_id(input.into()); diff --git a/sdk/chime/src/operation/create_channel/builders.rs b/sdk/chime/src/operation/create_channel/builders.rs index 5646a84c856a..2792421b0425 100644 --- a/sdk/chime/src/operation/create_channel/builders.rs +++ b/sdk/chime/src/operation/create_channel/builders.rs @@ -22,9 +22,9 @@ impl CreateChannelFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -80,6 +80,20 @@ impl CreateChannelFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::create_channel::CreateChannel, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

The ARN of the channel request.

pub fn app_instance_arn( mut self, diff --git a/sdk/chime/src/operation/create_channel_ban/builders.rs b/sdk/chime/src/operation/create_channel_ban/builders.rs index 2d2e1bda64aa..ee4f57e0d982 100644 --- a/sdk/chime/src/operation/create_channel_ban/builders.rs +++ b/sdk/chime/src/operation/create_channel_ban/builders.rs @@ -22,9 +22,9 @@ impl CreateChannelBanFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -86,6 +86,22 @@ impl CreateChannelBanFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::create_channel_ban::CreateChannelBan, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::create_channel_ban::CreateChannelBanError, + >, + > { + self.customize_middleware().await + } ///

The ARN of the ban request.

pub fn channel_arn(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.channel_arn(input.into()); diff --git a/sdk/chime/src/operation/create_channel_membership/builders.rs b/sdk/chime/src/operation/create_channel_membership/builders.rs index 1e0b74a4ab1e..ea4981b22205 100644 --- a/sdk/chime/src/operation/create_channel_membership/builders.rs +++ b/sdk/chime/src/operation/create_channel_membership/builders.rs @@ -34,9 +34,9 @@ impl CreateChannelMembershipFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -98,6 +98,22 @@ impl CreateChannelMembershipFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::create_channel_membership::CreateChannelMembership, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::create_channel_membership::CreateChannelMembershipError, + >, + > { + self.customize_middleware().await + } ///

The ARN of the channel to which you're adding users.

pub fn channel_arn(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.channel_arn(input.into()); diff --git a/sdk/chime/src/operation/create_channel_moderator/builders.rs b/sdk/chime/src/operation/create_channel_moderator/builders.rs index 1f477c50d527..fb6e41d39dd5 100644 --- a/sdk/chime/src/operation/create_channel_moderator/builders.rs +++ b/sdk/chime/src/operation/create_channel_moderator/builders.rs @@ -28,9 +28,9 @@ impl CreateChannelModeratorFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -92,6 +92,22 @@ impl CreateChannelModeratorFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::create_channel_moderator::CreateChannelModerator, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::create_channel_moderator::CreateChannelModeratorError, + >, + > { + self.customize_middleware().await + } ///

The ARN of the channel.

pub fn channel_arn(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.channel_arn(input.into()); diff --git a/sdk/chime/src/operation/create_media_capture_pipeline/builders.rs b/sdk/chime/src/operation/create_media_capture_pipeline/builders.rs index 470a96e70956..839119255e28 100644 --- a/sdk/chime/src/operation/create_media_capture_pipeline/builders.rs +++ b/sdk/chime/src/operation/create_media_capture_pipeline/builders.rs @@ -19,9 +19,9 @@ impl CreateMediaCapturePipelineFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl CreateMediaCapturePipelineFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::create_media_capture_pipeline::CreateMediaCapturePipeline, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::create_media_capture_pipeline::CreateMediaCapturePipelineError, + >, + > { + self.customize_middleware().await + } ///

Source type from which the media artifacts will be captured. A Chime SDK Meeting is the only supported source.

pub fn source_type(mut self, input: crate::types::MediaPipelineSourceType) -> Self { self.inner = self.inner.source_type(input); diff --git a/sdk/chime/src/operation/create_meeting/builders.rs b/sdk/chime/src/operation/create_meeting/builders.rs index ba4c1fb51c5f..76410436e27e 100644 --- a/sdk/chime/src/operation/create_meeting/builders.rs +++ b/sdk/chime/src/operation/create_meeting/builders.rs @@ -19,9 +19,9 @@ impl CreateMeetingFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl CreateMeetingFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::create_meeting::CreateMeeting, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

The unique identifier for the client request. Use a different token for different meetings.

pub fn client_request_token( mut self, diff --git a/sdk/chime/src/operation/create_meeting_dial_out/builders.rs b/sdk/chime/src/operation/create_meeting_dial_out/builders.rs index f17c72603507..ad469ad8abc9 100644 --- a/sdk/chime/src/operation/create_meeting_dial_out/builders.rs +++ b/sdk/chime/src/operation/create_meeting_dial_out/builders.rs @@ -20,9 +20,9 @@ impl CreateMeetingDialOutFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -84,6 +84,22 @@ impl CreateMeetingDialOutFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::create_meeting_dial_out::CreateMeetingDialOut, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::create_meeting_dial_out::CreateMeetingDialOutError, + >, + > { + self.customize_middleware().await + } ///

The Amazon Chime SDK meeting ID.

pub fn meeting_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.meeting_id(input.into()); diff --git a/sdk/chime/src/operation/create_meeting_with_attendees/builders.rs b/sdk/chime/src/operation/create_meeting_with_attendees/builders.rs index f421e0ac4c96..f1866d116eb3 100644 --- a/sdk/chime/src/operation/create_meeting_with_attendees/builders.rs +++ b/sdk/chime/src/operation/create_meeting_with_attendees/builders.rs @@ -19,9 +19,9 @@ impl CreateMeetingWithAttendeesFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl CreateMeetingWithAttendeesFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::create_meeting_with_attendees::CreateMeetingWithAttendees, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::create_meeting_with_attendees::CreateMeetingWithAttendeesError, + >, + > { + self.customize_middleware().await + } ///

The unique identifier for the client request. Use a different token for different meetings.

pub fn client_request_token( mut self, diff --git a/sdk/chime/src/operation/create_phone_number_order/builders.rs b/sdk/chime/src/operation/create_phone_number_order/builders.rs index a297e28f7b7e..f44866f1d03e 100644 --- a/sdk/chime/src/operation/create_phone_number_order/builders.rs +++ b/sdk/chime/src/operation/create_phone_number_order/builders.rs @@ -20,9 +20,9 @@ impl CreatePhoneNumberOrderFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -84,6 +84,22 @@ impl CreatePhoneNumberOrderFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::create_phone_number_order::CreatePhoneNumberOrder, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::create_phone_number_order::CreatePhoneNumberOrderError, + >, + > { + self.customize_middleware().await + } ///

The phone number product type.

pub fn product_type(mut self, input: crate::types::PhoneNumberProductType) -> Self { self.inner = self.inner.product_type(input); diff --git a/sdk/chime/src/operation/create_proxy_session/builders.rs b/sdk/chime/src/operation/create_proxy_session/builders.rs index a0a13d5b3bd8..749681545ae9 100644 --- a/sdk/chime/src/operation/create_proxy_session/builders.rs +++ b/sdk/chime/src/operation/create_proxy_session/builders.rs @@ -19,9 +19,9 @@ impl CreateProxySessionFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl CreateProxySessionFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::create_proxy_session::CreateProxySession, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::create_proxy_session::CreateProxySessionError, + >, + > { + self.customize_middleware().await + } ///

The Amazon Chime voice connector ID.

pub fn voice_connector_id( mut self, diff --git a/sdk/chime/src/operation/create_room/builders.rs b/sdk/chime/src/operation/create_room/builders.rs index fc8f152c3428..d22fa006ec57 100644 --- a/sdk/chime/src/operation/create_room/builders.rs +++ b/sdk/chime/src/operation/create_room/builders.rs @@ -19,9 +19,9 @@ impl CreateRoomFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl CreateRoomFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::create_room::CreateRoom, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

The Amazon Chime account ID.

pub fn account_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.account_id(input.into()); diff --git a/sdk/chime/src/operation/create_room_membership/builders.rs b/sdk/chime/src/operation/create_room_membership/builders.rs index bcc8fed32dbf..0cdf0cbe51ab 100644 --- a/sdk/chime/src/operation/create_room_membership/builders.rs +++ b/sdk/chime/src/operation/create_room_membership/builders.rs @@ -19,9 +19,9 @@ impl CreateRoomMembershipFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl CreateRoomMembershipFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::create_room_membership::CreateRoomMembership, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::create_room_membership::CreateRoomMembershipError, + >, + > { + self.customize_middleware().await + } ///

The Amazon Chime account ID.

pub fn account_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.account_id(input.into()); diff --git a/sdk/chime/src/operation/create_sip_media_application/builders.rs b/sdk/chime/src/operation/create_sip_media_application/builders.rs index 0dfa7cd36275..17889aec1825 100644 --- a/sdk/chime/src/operation/create_sip_media_application/builders.rs +++ b/sdk/chime/src/operation/create_sip_media_application/builders.rs @@ -19,9 +19,9 @@ impl CreateSipMediaApplicationFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl CreateSipMediaApplicationFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::create_sip_media_application::CreateSipMediaApplication, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::create_sip_media_application::CreateSipMediaApplicationError, + >, + > { + self.customize_middleware().await + } ///

The AWS Region assigned to the SIP media application.

pub fn aws_region(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.aws_region(input.into()); diff --git a/sdk/chime/src/operation/create_sip_media_application_call/builders.rs b/sdk/chime/src/operation/create_sip_media_application_call/builders.rs index 10980ff86817..a3e8f5cc5031 100644 --- a/sdk/chime/src/operation/create_sip_media_application_call/builders.rs +++ b/sdk/chime/src/operation/create_sip_media_application_call/builders.rs @@ -19,9 +19,9 @@ impl CreateSipMediaApplicationCallFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl CreateSipMediaApplicationCallFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::create_sip_media_application_call::CreateSipMediaApplicationCall, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::create_sip_media_application_call::CreateSipMediaApplicationCallError, + >, + > { + self.customize_middleware().await + } ///

The phone number that a user calls from. This is a phone number in your Amazon Chime phone number inventory.

pub fn from_phone_number( mut self, diff --git a/sdk/chime/src/operation/create_sip_rule/builders.rs b/sdk/chime/src/operation/create_sip_rule/builders.rs index dd20534a3df7..e188f7bdf761 100644 --- a/sdk/chime/src/operation/create_sip_rule/builders.rs +++ b/sdk/chime/src/operation/create_sip_rule/builders.rs @@ -19,9 +19,9 @@ impl CreateSipRuleFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl CreateSipRuleFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::create_sip_rule::CreateSipRule, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

The name of the SIP rule.

pub fn name(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.name(input.into()); diff --git a/sdk/chime/src/operation/create_user/builders.rs b/sdk/chime/src/operation/create_user/builders.rs index fdf1e67864fd..094c803e55f9 100644 --- a/sdk/chime/src/operation/create_user/builders.rs +++ b/sdk/chime/src/operation/create_user/builders.rs @@ -19,9 +19,9 @@ impl CreateUserFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl CreateUserFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::create_user::CreateUser, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

The Amazon Chime account ID.

pub fn account_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.account_id(input.into()); diff --git a/sdk/chime/src/operation/create_voice_connector/builders.rs b/sdk/chime/src/operation/create_voice_connector/builders.rs index 06686b17605b..63751919c1a8 100644 --- a/sdk/chime/src/operation/create_voice_connector/builders.rs +++ b/sdk/chime/src/operation/create_voice_connector/builders.rs @@ -20,9 +20,9 @@ impl CreateVoiceConnectorFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -84,6 +84,22 @@ impl CreateVoiceConnectorFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::create_voice_connector::CreateVoiceConnector, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::create_voice_connector::CreateVoiceConnectorError, + >, + > { + self.customize_middleware().await + } ///

The name of the Amazon Chime Voice Connector.

pub fn name(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.name(input.into()); diff --git a/sdk/chime/src/operation/create_voice_connector_group/builders.rs b/sdk/chime/src/operation/create_voice_connector_group/builders.rs index 09aa2bc6ff2e..86598a45124d 100644 --- a/sdk/chime/src/operation/create_voice_connector_group/builders.rs +++ b/sdk/chime/src/operation/create_voice_connector_group/builders.rs @@ -20,9 +20,9 @@ impl CreateVoiceConnectorGroupFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -84,6 +84,22 @@ impl CreateVoiceConnectorGroupFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::create_voice_connector_group::CreateVoiceConnectorGroup, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::create_voice_connector_group::CreateVoiceConnectorGroupError, + >, + > { + self.customize_middleware().await + } ///

The name of the Amazon Chime Voice Connector group.

pub fn name(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.name(input.into()); diff --git a/sdk/chime/src/operation/delete_account/builders.rs b/sdk/chime/src/operation/delete_account/builders.rs index 150a2752499e..78c4982a3c88 100644 --- a/sdk/chime/src/operation/delete_account/builders.rs +++ b/sdk/chime/src/operation/delete_account/builders.rs @@ -22,9 +22,9 @@ impl DeleteAccountFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -80,6 +80,20 @@ impl DeleteAccountFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::delete_account::DeleteAccount, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

The Amazon Chime account ID.

pub fn account_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.account_id(input.into()); diff --git a/sdk/chime/src/operation/delete_app_instance/builders.rs b/sdk/chime/src/operation/delete_app_instance/builders.rs index d1af1ce1746d..080950d1d7ec 100644 --- a/sdk/chime/src/operation/delete_app_instance/builders.rs +++ b/sdk/chime/src/operation/delete_app_instance/builders.rs @@ -19,9 +19,9 @@ impl DeleteAppInstanceFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl DeleteAppInstanceFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::delete_app_instance::DeleteAppInstance, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::delete_app_instance::DeleteAppInstanceError, + >, + > { + self.customize_middleware().await + } ///

The ARN of the AppInstance.

pub fn app_instance_arn( mut self, diff --git a/sdk/chime/src/operation/delete_app_instance_admin/builders.rs b/sdk/chime/src/operation/delete_app_instance_admin/builders.rs index 9d8a0d8270df..499403c9bcc6 100644 --- a/sdk/chime/src/operation/delete_app_instance_admin/builders.rs +++ b/sdk/chime/src/operation/delete_app_instance_admin/builders.rs @@ -20,9 +20,9 @@ impl DeleteAppInstanceAdminFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -84,6 +84,22 @@ impl DeleteAppInstanceAdminFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::delete_app_instance_admin::DeleteAppInstanceAdmin, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::delete_app_instance_admin::DeleteAppInstanceAdminError, + >, + > { + self.customize_middleware().await + } ///

The ARN of the AppInstance's administrator.

pub fn app_instance_admin_arn( mut self, diff --git a/sdk/chime/src/operation/delete_app_instance_streaming_configurations/builders.rs b/sdk/chime/src/operation/delete_app_instance_streaming_configurations/builders.rs index 6995cb4bac2e..18297bdf5d85 100644 --- a/sdk/chime/src/operation/delete_app_instance_streaming_configurations/builders.rs +++ b/sdk/chime/src/operation/delete_app_instance_streaming_configurations/builders.rs @@ -19,9 +19,9 @@ impl DeleteAppInstanceStreamingConfigurationsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize(self) -> ::std::result::Result< + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware(self) -> ::std::result::Result< crate::client::customize::CustomizableOperation, ::aws_smithy_http::result::SdkError >{ @@ -64,6 +64,15 @@ impl DeleteAppInstanceStreamingConfigurationsFluentBuilder { { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize(self) -> ::std::result::Result< + crate::client::customize::CustomizableOperation, + ::aws_smithy_http::result::SdkError + >{ + self.customize_middleware().await + } ///

The ARN of the streaming configurations being deleted.

pub fn app_instance_arn( mut self, diff --git a/sdk/chime/src/operation/delete_app_instance_user/builders.rs b/sdk/chime/src/operation/delete_app_instance_user/builders.rs index 0f4c2e6eb402..edc613a99513 100644 --- a/sdk/chime/src/operation/delete_app_instance_user/builders.rs +++ b/sdk/chime/src/operation/delete_app_instance_user/builders.rs @@ -19,9 +19,9 @@ impl DeleteAppInstanceUserFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl DeleteAppInstanceUserFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::delete_app_instance_user::DeleteAppInstanceUser, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::delete_app_instance_user::DeleteAppInstanceUserError, + >, + > { + self.customize_middleware().await + } ///

The ARN of the user request being deleted.

pub fn app_instance_user_arn( mut self, diff --git a/sdk/chime/src/operation/delete_attendee/builders.rs b/sdk/chime/src/operation/delete_attendee/builders.rs index b2a73f9272bc..2d3838fcf367 100644 --- a/sdk/chime/src/operation/delete_attendee/builders.rs +++ b/sdk/chime/src/operation/delete_attendee/builders.rs @@ -19,9 +19,9 @@ impl DeleteAttendeeFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl DeleteAttendeeFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::delete_attendee::DeleteAttendee, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

The Amazon Chime SDK meeting ID.

pub fn meeting_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.meeting_id(input.into()); diff --git a/sdk/chime/src/operation/delete_channel/builders.rs b/sdk/chime/src/operation/delete_channel/builders.rs index a120d135969d..2cccdcf7d92b 100644 --- a/sdk/chime/src/operation/delete_channel/builders.rs +++ b/sdk/chime/src/operation/delete_channel/builders.rs @@ -21,9 +21,9 @@ impl DeleteChannelFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -79,6 +79,20 @@ impl DeleteChannelFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::delete_channel::DeleteChannel, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

The ARN of the channel being deleted.

pub fn channel_arn(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.channel_arn(input.into()); diff --git a/sdk/chime/src/operation/delete_channel_ban/builders.rs b/sdk/chime/src/operation/delete_channel_ban/builders.rs index d1dbe5f05126..ff6055410083 100644 --- a/sdk/chime/src/operation/delete_channel_ban/builders.rs +++ b/sdk/chime/src/operation/delete_channel_ban/builders.rs @@ -21,9 +21,9 @@ impl DeleteChannelBanFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -85,6 +85,22 @@ impl DeleteChannelBanFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::delete_channel_ban::DeleteChannelBan, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::delete_channel_ban::DeleteChannelBanError, + >, + > { + self.customize_middleware().await + } ///

The ARN of the channel from which the AppInstanceUser was banned.

pub fn channel_arn(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.channel_arn(input.into()); diff --git a/sdk/chime/src/operation/delete_channel_membership/builders.rs b/sdk/chime/src/operation/delete_channel_membership/builders.rs index 2bb8afae399b..d76c93e5540e 100644 --- a/sdk/chime/src/operation/delete_channel_membership/builders.rs +++ b/sdk/chime/src/operation/delete_channel_membership/builders.rs @@ -22,9 +22,9 @@ impl DeleteChannelMembershipFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -86,6 +86,22 @@ impl DeleteChannelMembershipFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::delete_channel_membership::DeleteChannelMembership, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::delete_channel_membership::DeleteChannelMembershipError, + >, + > { + self.customize_middleware().await + } ///

The ARN of the channel from which you want to remove the user.

pub fn channel_arn(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.channel_arn(input.into()); diff --git a/sdk/chime/src/operation/delete_channel_message/builders.rs b/sdk/chime/src/operation/delete_channel_message/builders.rs index 0fd1d02d6f59..cf71877b7a49 100644 --- a/sdk/chime/src/operation/delete_channel_message/builders.rs +++ b/sdk/chime/src/operation/delete_channel_message/builders.rs @@ -21,9 +21,9 @@ impl DeleteChannelMessageFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -85,6 +85,22 @@ impl DeleteChannelMessageFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::delete_channel_message::DeleteChannelMessage, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::delete_channel_message::DeleteChannelMessageError, + >, + > { + self.customize_middleware().await + } ///

The ARN of the channel.

pub fn channel_arn(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.channel_arn(input.into()); diff --git a/sdk/chime/src/operation/delete_channel_moderator/builders.rs b/sdk/chime/src/operation/delete_channel_moderator/builders.rs index b15715ee2a4e..6915ff1c32b0 100644 --- a/sdk/chime/src/operation/delete_channel_moderator/builders.rs +++ b/sdk/chime/src/operation/delete_channel_moderator/builders.rs @@ -21,9 +21,9 @@ impl DeleteChannelModeratorFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -85,6 +85,22 @@ impl DeleteChannelModeratorFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::delete_channel_moderator::DeleteChannelModerator, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::delete_channel_moderator::DeleteChannelModeratorError, + >, + > { + self.customize_middleware().await + } ///

The ARN of the channel.

pub fn channel_arn(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.channel_arn(input.into()); diff --git a/sdk/chime/src/operation/delete_events_configuration/builders.rs b/sdk/chime/src/operation/delete_events_configuration/builders.rs index 681dca4ac1ac..5240bca169d5 100644 --- a/sdk/chime/src/operation/delete_events_configuration/builders.rs +++ b/sdk/chime/src/operation/delete_events_configuration/builders.rs @@ -19,9 +19,9 @@ impl DeleteEventsConfigurationFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl DeleteEventsConfigurationFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::delete_events_configuration::DeleteEventsConfiguration, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::delete_events_configuration::DeleteEventsConfigurationError, + >, + > { + self.customize_middleware().await + } ///

The Amazon Chime account ID.

pub fn account_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.account_id(input.into()); diff --git a/sdk/chime/src/operation/delete_media_capture_pipeline/builders.rs b/sdk/chime/src/operation/delete_media_capture_pipeline/builders.rs index 44a8240f5704..cf0e20136d7f 100644 --- a/sdk/chime/src/operation/delete_media_capture_pipeline/builders.rs +++ b/sdk/chime/src/operation/delete_media_capture_pipeline/builders.rs @@ -19,9 +19,9 @@ impl DeleteMediaCapturePipelineFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl DeleteMediaCapturePipelineFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::delete_media_capture_pipeline::DeleteMediaCapturePipeline, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::delete_media_capture_pipeline::DeleteMediaCapturePipelineError, + >, + > { + self.customize_middleware().await + } ///

The ID of the media capture pipeline being deleted.

pub fn media_pipeline_id( mut self, diff --git a/sdk/chime/src/operation/delete_meeting/builders.rs b/sdk/chime/src/operation/delete_meeting/builders.rs index 858ec641511f..ddda0e52eb28 100644 --- a/sdk/chime/src/operation/delete_meeting/builders.rs +++ b/sdk/chime/src/operation/delete_meeting/builders.rs @@ -19,9 +19,9 @@ impl DeleteMeetingFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl DeleteMeetingFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::delete_meeting::DeleteMeeting, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

The Amazon Chime SDK meeting ID.

pub fn meeting_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.meeting_id(input.into()); diff --git a/sdk/chime/src/operation/delete_phone_number/builders.rs b/sdk/chime/src/operation/delete_phone_number/builders.rs index 5dd6d7203309..36bf63b5fccc 100644 --- a/sdk/chime/src/operation/delete_phone_number/builders.rs +++ b/sdk/chime/src/operation/delete_phone_number/builders.rs @@ -20,9 +20,9 @@ impl DeletePhoneNumberFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -84,6 +84,22 @@ impl DeletePhoneNumberFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::delete_phone_number::DeletePhoneNumber, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::delete_phone_number::DeletePhoneNumberError, + >, + > { + self.customize_middleware().await + } ///

The phone number ID.

pub fn phone_number_id( mut self, diff --git a/sdk/chime/src/operation/delete_proxy_session/builders.rs b/sdk/chime/src/operation/delete_proxy_session/builders.rs index c364d4ef91dd..5bcf7cbebc02 100644 --- a/sdk/chime/src/operation/delete_proxy_session/builders.rs +++ b/sdk/chime/src/operation/delete_proxy_session/builders.rs @@ -19,9 +19,9 @@ impl DeleteProxySessionFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl DeleteProxySessionFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::delete_proxy_session::DeleteProxySession, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::delete_proxy_session::DeleteProxySessionError, + >, + > { + self.customize_middleware().await + } ///

The Amazon Chime voice connector ID.

pub fn voice_connector_id( mut self, diff --git a/sdk/chime/src/operation/delete_room/builders.rs b/sdk/chime/src/operation/delete_room/builders.rs index 3d35213f28bd..1906c84d22ad 100644 --- a/sdk/chime/src/operation/delete_room/builders.rs +++ b/sdk/chime/src/operation/delete_room/builders.rs @@ -19,9 +19,9 @@ impl DeleteRoomFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl DeleteRoomFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::delete_room::DeleteRoom, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

The Amazon Chime account ID.

pub fn account_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.account_id(input.into()); diff --git a/sdk/chime/src/operation/delete_room_membership/builders.rs b/sdk/chime/src/operation/delete_room_membership/builders.rs index 74b0ad7e24a9..79fd525119b5 100644 --- a/sdk/chime/src/operation/delete_room_membership/builders.rs +++ b/sdk/chime/src/operation/delete_room_membership/builders.rs @@ -19,9 +19,9 @@ impl DeleteRoomMembershipFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl DeleteRoomMembershipFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::delete_room_membership::DeleteRoomMembership, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::delete_room_membership::DeleteRoomMembershipError, + >, + > { + self.customize_middleware().await + } ///

The Amazon Chime account ID.

pub fn account_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.account_id(input.into()); diff --git a/sdk/chime/src/operation/delete_sip_media_application/builders.rs b/sdk/chime/src/operation/delete_sip_media_application/builders.rs index a157d403f550..d13b0630a59d 100644 --- a/sdk/chime/src/operation/delete_sip_media_application/builders.rs +++ b/sdk/chime/src/operation/delete_sip_media_application/builders.rs @@ -19,9 +19,9 @@ impl DeleteSipMediaApplicationFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl DeleteSipMediaApplicationFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::delete_sip_media_application::DeleteSipMediaApplication, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::delete_sip_media_application::DeleteSipMediaApplicationError, + >, + > { + self.customize_middleware().await + } ///

The SIP media application ID.

pub fn sip_media_application_id( mut self, diff --git a/sdk/chime/src/operation/delete_sip_rule/builders.rs b/sdk/chime/src/operation/delete_sip_rule/builders.rs index e799f787d414..ac20e0313f6e 100644 --- a/sdk/chime/src/operation/delete_sip_rule/builders.rs +++ b/sdk/chime/src/operation/delete_sip_rule/builders.rs @@ -19,9 +19,9 @@ impl DeleteSipRuleFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl DeleteSipRuleFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::delete_sip_rule::DeleteSipRule, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

The SIP rule ID.

pub fn sip_rule_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.sip_rule_id(input.into()); diff --git a/sdk/chime/src/operation/delete_voice_connector/builders.rs b/sdk/chime/src/operation/delete_voice_connector/builders.rs index d7b87d24bce8..50c0320b9534 100644 --- a/sdk/chime/src/operation/delete_voice_connector/builders.rs +++ b/sdk/chime/src/operation/delete_voice_connector/builders.rs @@ -19,9 +19,9 @@ impl DeleteVoiceConnectorFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl DeleteVoiceConnectorFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::delete_voice_connector::DeleteVoiceConnector, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::delete_voice_connector::DeleteVoiceConnectorError, + >, + > { + self.customize_middleware().await + } ///

The Amazon Chime Voice Connector ID.

pub fn voice_connector_id( mut self, diff --git a/sdk/chime/src/operation/delete_voice_connector_emergency_calling_configuration/builders.rs b/sdk/chime/src/operation/delete_voice_connector_emergency_calling_configuration/builders.rs index 11e4ff5347be..9df4f4a4567f 100644 --- a/sdk/chime/src/operation/delete_voice_connector_emergency_calling_configuration/builders.rs +++ b/sdk/chime/src/operation/delete_voice_connector_emergency_calling_configuration/builders.rs @@ -19,9 +19,9 @@ impl DeleteVoiceConnectorEmergencyCallingConfigurationFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize(self) -> ::std::result::Result< + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware(self) -> ::std::result::Result< crate::client::customize::CustomizableOperation, ::aws_smithy_http::result::SdkError >{ @@ -64,6 +64,15 @@ impl DeleteVoiceConnectorEmergencyCallingConfigurationFluentBuilder { { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize(self) -> ::std::result::Result< + crate::client::customize::CustomizableOperation, + ::aws_smithy_http::result::SdkError + >{ + self.customize_middleware().await + } ///

The Amazon Chime Voice Connector ID.

pub fn voice_connector_id( mut self, diff --git a/sdk/chime/src/operation/delete_voice_connector_group/builders.rs b/sdk/chime/src/operation/delete_voice_connector_group/builders.rs index 0a224954a7b0..86e22630c23c 100644 --- a/sdk/chime/src/operation/delete_voice_connector_group/builders.rs +++ b/sdk/chime/src/operation/delete_voice_connector_group/builders.rs @@ -19,9 +19,9 @@ impl DeleteVoiceConnectorGroupFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl DeleteVoiceConnectorGroupFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::delete_voice_connector_group::DeleteVoiceConnectorGroup, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::delete_voice_connector_group::DeleteVoiceConnectorGroupError, + >, + > { + self.customize_middleware().await + } ///

The Amazon Chime Voice Connector group ID.

pub fn voice_connector_group_id( mut self, diff --git a/sdk/chime/src/operation/delete_voice_connector_origination/builders.rs b/sdk/chime/src/operation/delete_voice_connector_origination/builders.rs index 0db7ab3f593e..91cc639b4ead 100644 --- a/sdk/chime/src/operation/delete_voice_connector_origination/builders.rs +++ b/sdk/chime/src/operation/delete_voice_connector_origination/builders.rs @@ -21,9 +21,9 @@ impl DeleteVoiceConnectorOriginationFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize(self) -> ::std::result::Result< + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware(self) -> ::std::result::Result< crate::client::customize::CustomizableOperation, ::aws_smithy_http::result::SdkError >{ @@ -66,6 +66,15 @@ impl DeleteVoiceConnectorOriginationFluentBuilder { { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize(self) -> ::std::result::Result< + crate::client::customize::CustomizableOperation, + ::aws_smithy_http::result::SdkError + >{ + self.customize_middleware().await + } ///

The Amazon Chime Voice Connector ID.

pub fn voice_connector_id( mut self, diff --git a/sdk/chime/src/operation/delete_voice_connector_proxy/builders.rs b/sdk/chime/src/operation/delete_voice_connector_proxy/builders.rs index e6f132df5849..81d7d6087e13 100644 --- a/sdk/chime/src/operation/delete_voice_connector_proxy/builders.rs +++ b/sdk/chime/src/operation/delete_voice_connector_proxy/builders.rs @@ -19,9 +19,9 @@ impl DeleteVoiceConnectorProxyFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl DeleteVoiceConnectorProxyFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::delete_voice_connector_proxy::DeleteVoiceConnectorProxy, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::delete_voice_connector_proxy::DeleteVoiceConnectorProxyError, + >, + > { + self.customize_middleware().await + } ///

The Amazon Chime Voice Connector ID.

pub fn voice_connector_id( mut self, diff --git a/sdk/chime/src/operation/delete_voice_connector_streaming_configuration/builders.rs b/sdk/chime/src/operation/delete_voice_connector_streaming_configuration/builders.rs index da2cc683aaef..baf51fb22888 100644 --- a/sdk/chime/src/operation/delete_voice_connector_streaming_configuration/builders.rs +++ b/sdk/chime/src/operation/delete_voice_connector_streaming_configuration/builders.rs @@ -19,9 +19,9 @@ impl DeleteVoiceConnectorStreamingConfigurationFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize(self) -> ::std::result::Result< + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware(self) -> ::std::result::Result< crate::client::customize::CustomizableOperation, ::aws_smithy_http::result::SdkError >{ @@ -64,6 +64,15 @@ impl DeleteVoiceConnectorStreamingConfigurationFluentBuilder { { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize(self) -> ::std::result::Result< + crate::client::customize::CustomizableOperation, + ::aws_smithy_http::result::SdkError + >{ + self.customize_middleware().await + } ///

The Amazon Chime Voice Connector ID.

pub fn voice_connector_id( mut self, diff --git a/sdk/chime/src/operation/delete_voice_connector_termination/builders.rs b/sdk/chime/src/operation/delete_voice_connector_termination/builders.rs index 84131aa0bbeb..263629ba9591 100644 --- a/sdk/chime/src/operation/delete_voice_connector_termination/builders.rs +++ b/sdk/chime/src/operation/delete_voice_connector_termination/builders.rs @@ -21,9 +21,9 @@ impl DeleteVoiceConnectorTerminationFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize(self) -> ::std::result::Result< + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware(self) -> ::std::result::Result< crate::client::customize::CustomizableOperation, ::aws_smithy_http::result::SdkError >{ @@ -66,6 +66,15 @@ impl DeleteVoiceConnectorTerminationFluentBuilder { { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize(self) -> ::std::result::Result< + crate::client::customize::CustomizableOperation, + ::aws_smithy_http::result::SdkError + >{ + self.customize_middleware().await + } ///

The Amazon Chime Voice Connector ID.

pub fn voice_connector_id( mut self, diff --git a/sdk/chime/src/operation/delete_voice_connector_termination_credentials/builders.rs b/sdk/chime/src/operation/delete_voice_connector_termination_credentials/builders.rs index c87603b280e0..cfd59e518641 100644 --- a/sdk/chime/src/operation/delete_voice_connector_termination_credentials/builders.rs +++ b/sdk/chime/src/operation/delete_voice_connector_termination_credentials/builders.rs @@ -19,9 +19,9 @@ impl DeleteVoiceConnectorTerminationCredentialsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize(self) -> ::std::result::Result< + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware(self) -> ::std::result::Result< crate::client::customize::CustomizableOperation, ::aws_smithy_http::result::SdkError >{ @@ -64,6 +64,15 @@ impl DeleteVoiceConnectorTerminationCredentialsFluentBuilder { { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize(self) -> ::std::result::Result< + crate::client::customize::CustomizableOperation, + ::aws_smithy_http::result::SdkError + >{ + self.customize_middleware().await + } ///

The Amazon Chime Voice Connector ID.

pub fn voice_connector_id( mut self, diff --git a/sdk/chime/src/operation/describe_app_instance/builders.rs b/sdk/chime/src/operation/describe_app_instance/builders.rs index 4f34db2e18fa..97e53449f98a 100644 --- a/sdk/chime/src/operation/describe_app_instance/builders.rs +++ b/sdk/chime/src/operation/describe_app_instance/builders.rs @@ -19,9 +19,9 @@ impl DescribeAppInstanceFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl DescribeAppInstanceFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::describe_app_instance::DescribeAppInstance, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::describe_app_instance::DescribeAppInstanceError, + >, + > { + self.customize_middleware().await + } ///

The ARN of the AppInstance.

pub fn app_instance_arn( mut self, diff --git a/sdk/chime/src/operation/describe_app_instance_admin/builders.rs b/sdk/chime/src/operation/describe_app_instance_admin/builders.rs index 22e3282a4114..12c2099349b2 100644 --- a/sdk/chime/src/operation/describe_app_instance_admin/builders.rs +++ b/sdk/chime/src/operation/describe_app_instance_admin/builders.rs @@ -19,9 +19,9 @@ impl DescribeAppInstanceAdminFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl DescribeAppInstanceAdminFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::describe_app_instance_admin::DescribeAppInstanceAdmin, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::describe_app_instance_admin::DescribeAppInstanceAdminError, + >, + > { + self.customize_middleware().await + } ///

The ARN of the AppInstanceAdmin.

pub fn app_instance_admin_arn( mut self, diff --git a/sdk/chime/src/operation/describe_app_instance_user/builders.rs b/sdk/chime/src/operation/describe_app_instance_user/builders.rs index 4dc0dba8fe10..2ff93e5be463 100644 --- a/sdk/chime/src/operation/describe_app_instance_user/builders.rs +++ b/sdk/chime/src/operation/describe_app_instance_user/builders.rs @@ -20,9 +20,9 @@ impl DescribeAppInstanceUserFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -84,6 +84,22 @@ impl DescribeAppInstanceUserFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::describe_app_instance_user::DescribeAppInstanceUser, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::describe_app_instance_user::DescribeAppInstanceUserError, + >, + > { + self.customize_middleware().await + } ///

The ARN of the AppInstanceUser.

pub fn app_instance_user_arn( mut self, diff --git a/sdk/chime/src/operation/describe_channel/builders.rs b/sdk/chime/src/operation/describe_channel/builders.rs index 8a022248e8aa..f88ac5254a20 100644 --- a/sdk/chime/src/operation/describe_channel/builders.rs +++ b/sdk/chime/src/operation/describe_channel/builders.rs @@ -21,9 +21,9 @@ impl DescribeChannelFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -85,6 +85,22 @@ impl DescribeChannelFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::describe_channel::DescribeChannel, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::describe_channel::DescribeChannelError, + >, + > { + self.customize_middleware().await + } ///

The ARN of the channel.

pub fn channel_arn(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.channel_arn(input.into()); diff --git a/sdk/chime/src/operation/describe_channel_ban/builders.rs b/sdk/chime/src/operation/describe_channel_ban/builders.rs index 7f686662601e..4100b8a9f391 100644 --- a/sdk/chime/src/operation/describe_channel_ban/builders.rs +++ b/sdk/chime/src/operation/describe_channel_ban/builders.rs @@ -21,9 +21,9 @@ impl DescribeChannelBanFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -85,6 +85,22 @@ impl DescribeChannelBanFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::describe_channel_ban::DescribeChannelBan, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::describe_channel_ban::DescribeChannelBanError, + >, + > { + self.customize_middleware().await + } ///

The ARN of the channel from which the user is banned.

pub fn channel_arn(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.channel_arn(input.into()); diff --git a/sdk/chime/src/operation/describe_channel_membership/builders.rs b/sdk/chime/src/operation/describe_channel_membership/builders.rs index 2945a27c73dd..a67b41db26fc 100644 --- a/sdk/chime/src/operation/describe_channel_membership/builders.rs +++ b/sdk/chime/src/operation/describe_channel_membership/builders.rs @@ -21,9 +21,9 @@ impl DescribeChannelMembershipFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -85,6 +85,22 @@ impl DescribeChannelMembershipFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::describe_channel_membership::DescribeChannelMembership, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::describe_channel_membership::DescribeChannelMembershipError, + >, + > { + self.customize_middleware().await + } ///

The ARN of the channel.

pub fn channel_arn(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.channel_arn(input.into()); diff --git a/sdk/chime/src/operation/describe_channel_membership_for_app_instance_user/builders.rs b/sdk/chime/src/operation/describe_channel_membership_for_app_instance_user/builders.rs index bceac90d1878..c208f083eb43 100644 --- a/sdk/chime/src/operation/describe_channel_membership_for_app_instance_user/builders.rs +++ b/sdk/chime/src/operation/describe_channel_membership_for_app_instance_user/builders.rs @@ -21,9 +21,9 @@ impl DescribeChannelMembershipForAppInstanceUserFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize(self) -> ::std::result::Result< + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware(self) -> ::std::result::Result< crate::client::customize::CustomizableOperation, ::aws_smithy_http::result::SdkError >{ @@ -66,6 +66,15 @@ impl DescribeChannelMembershipForAppInstanceUserFluentBuilder { { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize(self) -> ::std::result::Result< + crate::client::customize::CustomizableOperation, + ::aws_smithy_http::result::SdkError + >{ + self.customize_middleware().await + } ///

The ARN of the channel to which the user belongs.

pub fn channel_arn(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.channel_arn(input.into()); diff --git a/sdk/chime/src/operation/describe_channel_moderated_by_app_instance_user/builders.rs b/sdk/chime/src/operation/describe_channel_moderated_by_app_instance_user/builders.rs index 09618df4049e..e576164ddbd5 100644 --- a/sdk/chime/src/operation/describe_channel_moderated_by_app_instance_user/builders.rs +++ b/sdk/chime/src/operation/describe_channel_moderated_by_app_instance_user/builders.rs @@ -21,9 +21,9 @@ impl DescribeChannelModeratedByAppInstanceUserFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize(self) -> ::std::result::Result< + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware(self) -> ::std::result::Result< crate::client::customize::CustomizableOperation, ::aws_smithy_http::result::SdkError >{ @@ -66,6 +66,15 @@ impl DescribeChannelModeratedByAppInstanceUserFluentBuilder { { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize(self) -> ::std::result::Result< + crate::client::customize::CustomizableOperation, + ::aws_smithy_http::result::SdkError + >{ + self.customize_middleware().await + } ///

The ARN of the moderated channel.

pub fn channel_arn(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.channel_arn(input.into()); diff --git a/sdk/chime/src/operation/describe_channel_moderator/builders.rs b/sdk/chime/src/operation/describe_channel_moderator/builders.rs index add908b5f989..29e23889d397 100644 --- a/sdk/chime/src/operation/describe_channel_moderator/builders.rs +++ b/sdk/chime/src/operation/describe_channel_moderator/builders.rs @@ -21,9 +21,9 @@ impl DescribeChannelModeratorFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -85,6 +85,22 @@ impl DescribeChannelModeratorFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::describe_channel_moderator::DescribeChannelModerator, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::describe_channel_moderator::DescribeChannelModeratorError, + >, + > { + self.customize_middleware().await + } ///

The ARN of the channel.

pub fn channel_arn(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.channel_arn(input.into()); diff --git a/sdk/chime/src/operation/disassociate_phone_number_from_user/builders.rs b/sdk/chime/src/operation/disassociate_phone_number_from_user/builders.rs index 6cb6037a9603..64676448516d 100644 --- a/sdk/chime/src/operation/disassociate_phone_number_from_user/builders.rs +++ b/sdk/chime/src/operation/disassociate_phone_number_from_user/builders.rs @@ -19,9 +19,9 @@ impl DisassociatePhoneNumberFromUserFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize(self) -> ::std::result::Result< + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware(self) -> ::std::result::Result< crate::client::customize::CustomizableOperation, ::aws_smithy_http::result::SdkError >{ @@ -64,6 +64,15 @@ impl DisassociatePhoneNumberFromUserFluentBuilder { { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize(self) -> ::std::result::Result< + crate::client::customize::CustomizableOperation, + ::aws_smithy_http::result::SdkError + >{ + self.customize_middleware().await + } ///

The Amazon Chime account ID.

pub fn account_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.account_id(input.into()); diff --git a/sdk/chime/src/operation/disassociate_phone_numbers_from_voice_connector/builders.rs b/sdk/chime/src/operation/disassociate_phone_numbers_from_voice_connector/builders.rs index 1821da2c3e2d..f2754e385dcf 100644 --- a/sdk/chime/src/operation/disassociate_phone_numbers_from_voice_connector/builders.rs +++ b/sdk/chime/src/operation/disassociate_phone_numbers_from_voice_connector/builders.rs @@ -19,9 +19,9 @@ impl DisassociatePhoneNumbersFromVoiceConnectorFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize(self) -> ::std::result::Result< + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware(self) -> ::std::result::Result< crate::client::customize::CustomizableOperation, ::aws_smithy_http::result::SdkError >{ @@ -64,6 +64,15 @@ impl DisassociatePhoneNumbersFromVoiceConnectorFluentBuilder { { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize(self) -> ::std::result::Result< + crate::client::customize::CustomizableOperation, + ::aws_smithy_http::result::SdkError + >{ + self.customize_middleware().await + } ///

The Amazon Chime Voice Connector ID.

pub fn voice_connector_id( mut self, diff --git a/sdk/chime/src/operation/disassociate_phone_numbers_from_voice_connector_group/builders.rs b/sdk/chime/src/operation/disassociate_phone_numbers_from_voice_connector_group/builders.rs index 0aa6a282279d..20785369a1c1 100644 --- a/sdk/chime/src/operation/disassociate_phone_numbers_from_voice_connector_group/builders.rs +++ b/sdk/chime/src/operation/disassociate_phone_numbers_from_voice_connector_group/builders.rs @@ -19,9 +19,9 @@ impl DisassociatePhoneNumbersFromVoiceConnectorGroupFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize(self) -> ::std::result::Result< + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware(self) -> ::std::result::Result< crate::client::customize::CustomizableOperation, ::aws_smithy_http::result::SdkError >{ @@ -64,6 +64,15 @@ impl DisassociatePhoneNumbersFromVoiceConnectorGroupFluentBuilder { { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize(self) -> ::std::result::Result< + crate::client::customize::CustomizableOperation, + ::aws_smithy_http::result::SdkError + >{ + self.customize_middleware().await + } ///

The Amazon Chime Voice Connector group ID.

pub fn voice_connector_group_id( mut self, diff --git a/sdk/chime/src/operation/disassociate_signin_delegate_groups_from_account/builders.rs b/sdk/chime/src/operation/disassociate_signin_delegate_groups_from_account/builders.rs index 40251cf58514..cc39d5e83b4e 100644 --- a/sdk/chime/src/operation/disassociate_signin_delegate_groups_from_account/builders.rs +++ b/sdk/chime/src/operation/disassociate_signin_delegate_groups_from_account/builders.rs @@ -19,9 +19,9 @@ impl DisassociateSigninDelegateGroupsFromAccountFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize(self) -> ::std::result::Result< + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware(self) -> ::std::result::Result< crate::client::customize::CustomizableOperation, ::aws_smithy_http::result::SdkError >{ @@ -64,6 +64,15 @@ impl DisassociateSigninDelegateGroupsFromAccountFluentBuilder { { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize(self) -> ::std::result::Result< + crate::client::customize::CustomizableOperation, + ::aws_smithy_http::result::SdkError + >{ + self.customize_middleware().await + } ///

The Amazon Chime account ID.

pub fn account_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.account_id(input.into()); diff --git a/sdk/chime/src/operation/get_account/builders.rs b/sdk/chime/src/operation/get_account/builders.rs index 0a9e9389f181..ee393206d051 100644 --- a/sdk/chime/src/operation/get_account/builders.rs +++ b/sdk/chime/src/operation/get_account/builders.rs @@ -19,9 +19,9 @@ impl GetAccountFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl GetAccountFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::get_account::GetAccount, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

The Amazon Chime account ID.

pub fn account_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.account_id(input.into()); diff --git a/sdk/chime/src/operation/get_account_settings/builders.rs b/sdk/chime/src/operation/get_account_settings/builders.rs index 8a16476adac2..69a8a38a8af2 100644 --- a/sdk/chime/src/operation/get_account_settings/builders.rs +++ b/sdk/chime/src/operation/get_account_settings/builders.rs @@ -19,9 +19,9 @@ impl GetAccountSettingsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl GetAccountSettingsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::get_account_settings::GetAccountSettings, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::get_account_settings::GetAccountSettingsError, + >, + > { + self.customize_middleware().await + } ///

The Amazon Chime account ID.

pub fn account_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.account_id(input.into()); diff --git a/sdk/chime/src/operation/get_app_instance_retention_settings/builders.rs b/sdk/chime/src/operation/get_app_instance_retention_settings/builders.rs index 1b7452f79480..b81c77e8d0b5 100644 --- a/sdk/chime/src/operation/get_app_instance_retention_settings/builders.rs +++ b/sdk/chime/src/operation/get_app_instance_retention_settings/builders.rs @@ -19,9 +19,9 @@ impl GetAppInstanceRetentionSettingsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize(self) -> ::std::result::Result< + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware(self) -> ::std::result::Result< crate::client::customize::CustomizableOperation, ::aws_smithy_http::result::SdkError >{ @@ -64,6 +64,15 @@ impl GetAppInstanceRetentionSettingsFluentBuilder { { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize(self) -> ::std::result::Result< + crate::client::customize::CustomizableOperation, + ::aws_smithy_http::result::SdkError + >{ + self.customize_middleware().await + } ///

The ARN of the AppInstance.

pub fn app_instance_arn( mut self, diff --git a/sdk/chime/src/operation/get_app_instance_streaming_configurations/builders.rs b/sdk/chime/src/operation/get_app_instance_streaming_configurations/builders.rs index 632971cebe1f..8a624b25980b 100644 --- a/sdk/chime/src/operation/get_app_instance_streaming_configurations/builders.rs +++ b/sdk/chime/src/operation/get_app_instance_streaming_configurations/builders.rs @@ -19,9 +19,9 @@ impl GetAppInstanceStreamingConfigurationsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize(self) -> ::std::result::Result< + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware(self) -> ::std::result::Result< crate::client::customize::CustomizableOperation, ::aws_smithy_http::result::SdkError >{ @@ -64,6 +64,15 @@ impl GetAppInstanceStreamingConfigurationsFluentBuilder { { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize(self) -> ::std::result::Result< + crate::client::customize::CustomizableOperation, + ::aws_smithy_http::result::SdkError + >{ + self.customize_middleware().await + } ///

The ARN of the AppInstance.

pub fn app_instance_arn( mut self, diff --git a/sdk/chime/src/operation/get_attendee/builders.rs b/sdk/chime/src/operation/get_attendee/builders.rs index 67a5c94c2f9b..b734ae0cd4f0 100644 --- a/sdk/chime/src/operation/get_attendee/builders.rs +++ b/sdk/chime/src/operation/get_attendee/builders.rs @@ -19,9 +19,9 @@ impl GetAttendeeFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl GetAttendeeFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::get_attendee::GetAttendee, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

The Amazon Chime SDK meeting ID.

pub fn meeting_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.meeting_id(input.into()); diff --git a/sdk/chime/src/operation/get_bot/builders.rs b/sdk/chime/src/operation/get_bot/builders.rs index 931773f492ef..e499455881d2 100644 --- a/sdk/chime/src/operation/get_bot/builders.rs +++ b/sdk/chime/src/operation/get_bot/builders.rs @@ -19,9 +19,9 @@ impl GetBotFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl GetBotFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::get_bot::GetBot, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

The Amazon Chime account ID.

pub fn account_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.account_id(input.into()); diff --git a/sdk/chime/src/operation/get_channel_message/builders.rs b/sdk/chime/src/operation/get_channel_message/builders.rs index 1272e6d9ccf7..a5ba016d788b 100644 --- a/sdk/chime/src/operation/get_channel_message/builders.rs +++ b/sdk/chime/src/operation/get_channel_message/builders.rs @@ -21,9 +21,9 @@ impl GetChannelMessageFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -85,6 +85,22 @@ impl GetChannelMessageFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::get_channel_message::GetChannelMessage, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::get_channel_message::GetChannelMessageError, + >, + > { + self.customize_middleware().await + } ///

The ARN of the channel.

pub fn channel_arn(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.channel_arn(input.into()); diff --git a/sdk/chime/src/operation/get_events_configuration/builders.rs b/sdk/chime/src/operation/get_events_configuration/builders.rs index bb51c5d7b35a..325a7a80a37d 100644 --- a/sdk/chime/src/operation/get_events_configuration/builders.rs +++ b/sdk/chime/src/operation/get_events_configuration/builders.rs @@ -19,9 +19,9 @@ impl GetEventsConfigurationFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl GetEventsConfigurationFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::get_events_configuration::GetEventsConfiguration, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::get_events_configuration::GetEventsConfigurationError, + >, + > { + self.customize_middleware().await + } ///

The Amazon Chime account ID.

pub fn account_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.account_id(input.into()); diff --git a/sdk/chime/src/operation/get_global_settings/builders.rs b/sdk/chime/src/operation/get_global_settings/builders.rs index 0c36a4d84908..20c41a3cd15d 100644 --- a/sdk/chime/src/operation/get_global_settings/builders.rs +++ b/sdk/chime/src/operation/get_global_settings/builders.rs @@ -19,9 +19,9 @@ impl GetGlobalSettingsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,4 +83,20 @@ impl GetGlobalSettingsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::get_global_settings::GetGlobalSettings, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::get_global_settings::GetGlobalSettingsError, + >, + > { + self.customize_middleware().await + } } diff --git a/sdk/chime/src/operation/get_media_capture_pipeline/builders.rs b/sdk/chime/src/operation/get_media_capture_pipeline/builders.rs index 1427ea8cca64..26f03a0cc9b8 100644 --- a/sdk/chime/src/operation/get_media_capture_pipeline/builders.rs +++ b/sdk/chime/src/operation/get_media_capture_pipeline/builders.rs @@ -20,9 +20,9 @@ impl GetMediaCapturePipelineFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -84,6 +84,22 @@ impl GetMediaCapturePipelineFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::get_media_capture_pipeline::GetMediaCapturePipeline, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::get_media_capture_pipeline::GetMediaCapturePipelineError, + >, + > { + self.customize_middleware().await + } ///

The ID of the pipeline that you want to get.

pub fn media_pipeline_id( mut self, diff --git a/sdk/chime/src/operation/get_meeting/builders.rs b/sdk/chime/src/operation/get_meeting/builders.rs index bb96567b0867..ddaf4db6ffc3 100644 --- a/sdk/chime/src/operation/get_meeting/builders.rs +++ b/sdk/chime/src/operation/get_meeting/builders.rs @@ -19,9 +19,9 @@ impl GetMeetingFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl GetMeetingFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::get_meeting::GetMeeting, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

The Amazon Chime SDK meeting ID.

pub fn meeting_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.meeting_id(input.into()); diff --git a/sdk/chime/src/operation/get_messaging_session_endpoint/builders.rs b/sdk/chime/src/operation/get_messaging_session_endpoint/builders.rs index ee3fdb8ab161..0a5fa3468a60 100644 --- a/sdk/chime/src/operation/get_messaging_session_endpoint/builders.rs +++ b/sdk/chime/src/operation/get_messaging_session_endpoint/builders.rs @@ -19,9 +19,9 @@ impl GetMessagingSessionEndpointFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,4 +83,20 @@ impl GetMessagingSessionEndpointFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::get_messaging_session_endpoint::GetMessagingSessionEndpoint, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::get_messaging_session_endpoint::GetMessagingSessionEndpointError, + >, + > { + self.customize_middleware().await + } } diff --git a/sdk/chime/src/operation/get_phone_number/builders.rs b/sdk/chime/src/operation/get_phone_number/builders.rs index 5a0131de3ab5..f79707371090 100644 --- a/sdk/chime/src/operation/get_phone_number/builders.rs +++ b/sdk/chime/src/operation/get_phone_number/builders.rs @@ -19,9 +19,9 @@ impl GetPhoneNumberFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl GetPhoneNumberFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::get_phone_number::GetPhoneNumber, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::get_phone_number::GetPhoneNumberError, + >, + > { + self.customize_middleware().await + } ///

The phone number ID.

pub fn phone_number_id( mut self, diff --git a/sdk/chime/src/operation/get_phone_number_order/builders.rs b/sdk/chime/src/operation/get_phone_number_order/builders.rs index 66def9b2ca53..f8b740eefb46 100644 --- a/sdk/chime/src/operation/get_phone_number_order/builders.rs +++ b/sdk/chime/src/operation/get_phone_number_order/builders.rs @@ -19,9 +19,9 @@ impl GetPhoneNumberOrderFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl GetPhoneNumberOrderFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::get_phone_number_order::GetPhoneNumberOrder, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::get_phone_number_order::GetPhoneNumberOrderError, + >, + > { + self.customize_middleware().await + } ///

The ID for the phone number order.

pub fn phone_number_order_id( mut self, diff --git a/sdk/chime/src/operation/get_phone_number_settings/builders.rs b/sdk/chime/src/operation/get_phone_number_settings/builders.rs index b34baf2b6d97..bf6f4e17198e 100644 --- a/sdk/chime/src/operation/get_phone_number_settings/builders.rs +++ b/sdk/chime/src/operation/get_phone_number_settings/builders.rs @@ -20,9 +20,9 @@ impl GetPhoneNumberSettingsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -84,4 +84,20 @@ impl GetPhoneNumberSettingsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::get_phone_number_settings::GetPhoneNumberSettings, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::get_phone_number_settings::GetPhoneNumberSettingsError, + >, + > { + self.customize_middleware().await + } } diff --git a/sdk/chime/src/operation/get_proxy_session/builders.rs b/sdk/chime/src/operation/get_proxy_session/builders.rs index f89c360e5563..74fe04484c9f 100644 --- a/sdk/chime/src/operation/get_proxy_session/builders.rs +++ b/sdk/chime/src/operation/get_proxy_session/builders.rs @@ -19,9 +19,9 @@ impl GetProxySessionFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl GetProxySessionFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::get_proxy_session::GetProxySession, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::get_proxy_session::GetProxySessionError, + >, + > { + self.customize_middleware().await + } ///

The Amazon Chime voice connector ID.

pub fn voice_connector_id( mut self, diff --git a/sdk/chime/src/operation/get_retention_settings/builders.rs b/sdk/chime/src/operation/get_retention_settings/builders.rs index da16b79d7ac3..2c8040f927d7 100644 --- a/sdk/chime/src/operation/get_retention_settings/builders.rs +++ b/sdk/chime/src/operation/get_retention_settings/builders.rs @@ -19,9 +19,9 @@ impl GetRetentionSettingsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl GetRetentionSettingsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::get_retention_settings::GetRetentionSettings, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::get_retention_settings::GetRetentionSettingsError, + >, + > { + self.customize_middleware().await + } ///

The Amazon Chime account ID.

pub fn account_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.account_id(input.into()); diff --git a/sdk/chime/src/operation/get_room/builders.rs b/sdk/chime/src/operation/get_room/builders.rs index ccb7b5d70054..c4facbcd52b7 100644 --- a/sdk/chime/src/operation/get_room/builders.rs +++ b/sdk/chime/src/operation/get_room/builders.rs @@ -19,9 +19,9 @@ impl GetRoomFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl GetRoomFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::get_room::GetRoom, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

The Amazon Chime account ID.

pub fn account_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.account_id(input.into()); diff --git a/sdk/chime/src/operation/get_sip_media_application/builders.rs b/sdk/chime/src/operation/get_sip_media_application/builders.rs index 101070db056d..be74815f1608 100644 --- a/sdk/chime/src/operation/get_sip_media_application/builders.rs +++ b/sdk/chime/src/operation/get_sip_media_application/builders.rs @@ -20,9 +20,9 @@ impl GetSipMediaApplicationFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -84,6 +84,22 @@ impl GetSipMediaApplicationFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::get_sip_media_application::GetSipMediaApplication, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::get_sip_media_application::GetSipMediaApplicationError, + >, + > { + self.customize_middleware().await + } ///

The SIP media application ID.

pub fn sip_media_application_id( mut self, diff --git a/sdk/chime/src/operation/get_sip_media_application_logging_configuration/builders.rs b/sdk/chime/src/operation/get_sip_media_application_logging_configuration/builders.rs index 2e60c07e536c..d18ac9467809 100644 --- a/sdk/chime/src/operation/get_sip_media_application_logging_configuration/builders.rs +++ b/sdk/chime/src/operation/get_sip_media_application_logging_configuration/builders.rs @@ -19,9 +19,9 @@ impl GetSipMediaApplicationLoggingConfigurationFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize(self) -> ::std::result::Result< + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware(self) -> ::std::result::Result< crate::client::customize::CustomizableOperation, ::aws_smithy_http::result::SdkError >{ @@ -64,6 +64,15 @@ impl GetSipMediaApplicationLoggingConfigurationFluentBuilder { { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize(self) -> ::std::result::Result< + crate::client::customize::CustomizableOperation, + ::aws_smithy_http::result::SdkError + >{ + self.customize_middleware().await + } ///

The SIP media application ID.

pub fn sip_media_application_id( mut self, diff --git a/sdk/chime/src/operation/get_sip_rule/builders.rs b/sdk/chime/src/operation/get_sip_rule/builders.rs index 8cced58fc36d..b91dfd9c7e37 100644 --- a/sdk/chime/src/operation/get_sip_rule/builders.rs +++ b/sdk/chime/src/operation/get_sip_rule/builders.rs @@ -19,9 +19,9 @@ impl GetSipRuleFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl GetSipRuleFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::get_sip_rule::GetSipRule, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

The SIP rule ID.

pub fn sip_rule_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.sip_rule_id(input.into()); diff --git a/sdk/chime/src/operation/get_user/builders.rs b/sdk/chime/src/operation/get_user/builders.rs index 2eb3c7981b3c..516c8ba9c527 100644 --- a/sdk/chime/src/operation/get_user/builders.rs +++ b/sdk/chime/src/operation/get_user/builders.rs @@ -20,9 +20,9 @@ impl GetUserFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -78,6 +78,20 @@ impl GetUserFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::get_user::GetUser, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

The Amazon Chime account ID.

pub fn account_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.account_id(input.into()); diff --git a/sdk/chime/src/operation/get_user_settings/builders.rs b/sdk/chime/src/operation/get_user_settings/builders.rs index 629e82131573..af851ef39be4 100644 --- a/sdk/chime/src/operation/get_user_settings/builders.rs +++ b/sdk/chime/src/operation/get_user_settings/builders.rs @@ -19,9 +19,9 @@ impl GetUserSettingsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl GetUserSettingsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::get_user_settings::GetUserSettings, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::get_user_settings::GetUserSettingsError, + >, + > { + self.customize_middleware().await + } ///

The Amazon Chime account ID.

pub fn account_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.account_id(input.into()); diff --git a/sdk/chime/src/operation/get_voice_connector/builders.rs b/sdk/chime/src/operation/get_voice_connector/builders.rs index ad6231fca8d9..286daf0458a7 100644 --- a/sdk/chime/src/operation/get_voice_connector/builders.rs +++ b/sdk/chime/src/operation/get_voice_connector/builders.rs @@ -19,9 +19,9 @@ impl GetVoiceConnectorFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl GetVoiceConnectorFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::get_voice_connector::GetVoiceConnector, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::get_voice_connector::GetVoiceConnectorError, + >, + > { + self.customize_middleware().await + } ///

The Amazon Chime Voice Connector ID.

pub fn voice_connector_id( mut self, diff --git a/sdk/chime/src/operation/get_voice_connector_emergency_calling_configuration/builders.rs b/sdk/chime/src/operation/get_voice_connector_emergency_calling_configuration/builders.rs index f1fccfc198f0..2992c7b535fa 100644 --- a/sdk/chime/src/operation/get_voice_connector_emergency_calling_configuration/builders.rs +++ b/sdk/chime/src/operation/get_voice_connector_emergency_calling_configuration/builders.rs @@ -19,9 +19,9 @@ impl GetVoiceConnectorEmergencyCallingConfigurationFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize(self) -> ::std::result::Result< + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware(self) -> ::std::result::Result< crate::client::customize::CustomizableOperation, ::aws_smithy_http::result::SdkError >{ @@ -64,6 +64,15 @@ impl GetVoiceConnectorEmergencyCallingConfigurationFluentBuilder { { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize(self) -> ::std::result::Result< + crate::client::customize::CustomizableOperation, + ::aws_smithy_http::result::SdkError + >{ + self.customize_middleware().await + } ///

The Amazon Chime Voice Connector ID.

pub fn voice_connector_id( mut self, diff --git a/sdk/chime/src/operation/get_voice_connector_group/builders.rs b/sdk/chime/src/operation/get_voice_connector_group/builders.rs index 19a25d3a6530..0c21a0823e4e 100644 --- a/sdk/chime/src/operation/get_voice_connector_group/builders.rs +++ b/sdk/chime/src/operation/get_voice_connector_group/builders.rs @@ -20,9 +20,9 @@ impl GetVoiceConnectorGroupFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -84,6 +84,22 @@ impl GetVoiceConnectorGroupFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::get_voice_connector_group::GetVoiceConnectorGroup, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::get_voice_connector_group::GetVoiceConnectorGroupError, + >, + > { + self.customize_middleware().await + } ///

The Amazon Chime Voice Connector group ID.

pub fn voice_connector_group_id( mut self, diff --git a/sdk/chime/src/operation/get_voice_connector_logging_configuration/builders.rs b/sdk/chime/src/operation/get_voice_connector_logging_configuration/builders.rs index f7f9749e8b0a..02c5edaab51c 100644 --- a/sdk/chime/src/operation/get_voice_connector_logging_configuration/builders.rs +++ b/sdk/chime/src/operation/get_voice_connector_logging_configuration/builders.rs @@ -19,9 +19,9 @@ impl GetVoiceConnectorLoggingConfigurationFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize(self) -> ::std::result::Result< + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware(self) -> ::std::result::Result< crate::client::customize::CustomizableOperation, ::aws_smithy_http::result::SdkError >{ @@ -64,6 +64,15 @@ impl GetVoiceConnectorLoggingConfigurationFluentBuilder { { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize(self) -> ::std::result::Result< + crate::client::customize::CustomizableOperation, + ::aws_smithy_http::result::SdkError + >{ + self.customize_middleware().await + } ///

The Amazon Chime Voice Connector ID.

pub fn voice_connector_id( mut self, diff --git a/sdk/chime/src/operation/get_voice_connector_origination/builders.rs b/sdk/chime/src/operation/get_voice_connector_origination/builders.rs index 32aea28f17b8..cf792d71f46b 100644 --- a/sdk/chime/src/operation/get_voice_connector_origination/builders.rs +++ b/sdk/chime/src/operation/get_voice_connector_origination/builders.rs @@ -19,9 +19,9 @@ impl GetVoiceConnectorOriginationFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl GetVoiceConnectorOriginationFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::get_voice_connector_origination::GetVoiceConnectorOrigination, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::get_voice_connector_origination::GetVoiceConnectorOriginationError, + >, + > { + self.customize_middleware().await + } ///

The Amazon Chime Voice Connector ID.

pub fn voice_connector_id( mut self, diff --git a/sdk/chime/src/operation/get_voice_connector_proxy/builders.rs b/sdk/chime/src/operation/get_voice_connector_proxy/builders.rs index ed1a4cab81f7..9cfdcf61a4f2 100644 --- a/sdk/chime/src/operation/get_voice_connector_proxy/builders.rs +++ b/sdk/chime/src/operation/get_voice_connector_proxy/builders.rs @@ -20,9 +20,9 @@ impl GetVoiceConnectorProxyFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -84,6 +84,22 @@ impl GetVoiceConnectorProxyFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::get_voice_connector_proxy::GetVoiceConnectorProxy, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::get_voice_connector_proxy::GetVoiceConnectorProxyError, + >, + > { + self.customize_middleware().await + } ///

The Amazon Chime voice connector ID.

pub fn voice_connector_id( mut self, diff --git a/sdk/chime/src/operation/get_voice_connector_streaming_configuration/builders.rs b/sdk/chime/src/operation/get_voice_connector_streaming_configuration/builders.rs index fbb889a554a7..56f12831c1d9 100644 --- a/sdk/chime/src/operation/get_voice_connector_streaming_configuration/builders.rs +++ b/sdk/chime/src/operation/get_voice_connector_streaming_configuration/builders.rs @@ -19,9 +19,9 @@ impl GetVoiceConnectorStreamingConfigurationFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize(self) -> ::std::result::Result< + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware(self) -> ::std::result::Result< crate::client::customize::CustomizableOperation, ::aws_smithy_http::result::SdkError >{ @@ -64,6 +64,15 @@ impl GetVoiceConnectorStreamingConfigurationFluentBuilder { { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize(self) -> ::std::result::Result< + crate::client::customize::CustomizableOperation, + ::aws_smithy_http::result::SdkError + >{ + self.customize_middleware().await + } ///

The Amazon Chime Voice Connector ID.

pub fn voice_connector_id( mut self, diff --git a/sdk/chime/src/operation/get_voice_connector_termination/builders.rs b/sdk/chime/src/operation/get_voice_connector_termination/builders.rs index 3ac7157ba126..fb0b9f1cb4b8 100644 --- a/sdk/chime/src/operation/get_voice_connector_termination/builders.rs +++ b/sdk/chime/src/operation/get_voice_connector_termination/builders.rs @@ -19,9 +19,9 @@ impl GetVoiceConnectorTerminationFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl GetVoiceConnectorTerminationFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::get_voice_connector_termination::GetVoiceConnectorTermination, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::get_voice_connector_termination::GetVoiceConnectorTerminationError, + >, + > { + self.customize_middleware().await + } ///

The Amazon Chime Voice Connector ID.

pub fn voice_connector_id( mut self, diff --git a/sdk/chime/src/operation/get_voice_connector_termination_health/builders.rs b/sdk/chime/src/operation/get_voice_connector_termination_health/builders.rs index b8c6ab3276f4..d77922c54cb1 100644 --- a/sdk/chime/src/operation/get_voice_connector_termination_health/builders.rs +++ b/sdk/chime/src/operation/get_voice_connector_termination_health/builders.rs @@ -19,9 +19,9 @@ impl GetVoiceConnectorTerminationHealthFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize(self) -> ::std::result::Result< + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware(self) -> ::std::result::Result< crate::client::customize::CustomizableOperation, ::aws_smithy_http::result::SdkError >{ @@ -64,6 +64,15 @@ impl GetVoiceConnectorTerminationHealthFluentBuilder { { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize(self) -> ::std::result::Result< + crate::client::customize::CustomizableOperation, + ::aws_smithy_http::result::SdkError + >{ + self.customize_middleware().await + } ///

The Amazon Chime Voice Connector ID.

pub fn voice_connector_id( mut self, diff --git a/sdk/chime/src/operation/invite_users/builders.rs b/sdk/chime/src/operation/invite_users/builders.rs index 0b2834864edd..226193623d4d 100644 --- a/sdk/chime/src/operation/invite_users/builders.rs +++ b/sdk/chime/src/operation/invite_users/builders.rs @@ -19,9 +19,9 @@ impl InviteUsersFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl InviteUsersFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::invite_users::InviteUsers, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

The Amazon Chime account ID.

pub fn account_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.account_id(input.into()); diff --git a/sdk/chime/src/operation/list_accounts/builders.rs b/sdk/chime/src/operation/list_accounts/builders.rs index 5d1abd9acc37..4d5065d61122 100644 --- a/sdk/chime/src/operation/list_accounts/builders.rs +++ b/sdk/chime/src/operation/list_accounts/builders.rs @@ -19,9 +19,9 @@ impl ListAccountsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl ListAccountsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_accounts::ListAccounts, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::list_accounts::paginator::ListAccountsPaginator::send) which returns a `Stream`. diff --git a/sdk/chime/src/operation/list_app_instance_admins/builders.rs b/sdk/chime/src/operation/list_app_instance_admins/builders.rs index 29c8eed1eadb..b7e3a41af944 100644 --- a/sdk/chime/src/operation/list_app_instance_admins/builders.rs +++ b/sdk/chime/src/operation/list_app_instance_admins/builders.rs @@ -19,9 +19,9 @@ impl ListAppInstanceAdminsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl ListAppInstanceAdminsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_app_instance_admins::ListAppInstanceAdmins, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::list_app_instance_admins::ListAppInstanceAdminsError, + >, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::list_app_instance_admins::paginator::ListAppInstanceAdminsPaginator::send) which returns a `Stream`. diff --git a/sdk/chime/src/operation/list_app_instance_users/builders.rs b/sdk/chime/src/operation/list_app_instance_users/builders.rs index 6e48345ef707..f50106919942 100644 --- a/sdk/chime/src/operation/list_app_instance_users/builders.rs +++ b/sdk/chime/src/operation/list_app_instance_users/builders.rs @@ -19,9 +19,9 @@ impl ListAppInstanceUsersFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl ListAppInstanceUsersFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_app_instance_users::ListAppInstanceUsers, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::list_app_instance_users::ListAppInstanceUsersError, + >, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::list_app_instance_users::paginator::ListAppInstanceUsersPaginator::send) which returns a `Stream`. diff --git a/sdk/chime/src/operation/list_app_instances/builders.rs b/sdk/chime/src/operation/list_app_instances/builders.rs index 319591e9c83e..af71eb9a5fbb 100644 --- a/sdk/chime/src/operation/list_app_instances/builders.rs +++ b/sdk/chime/src/operation/list_app_instances/builders.rs @@ -19,9 +19,9 @@ impl ListAppInstancesFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl ListAppInstancesFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_app_instances::ListAppInstances, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::list_app_instances::ListAppInstancesError, + >, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::list_app_instances::paginator::ListAppInstancesPaginator::send) which returns a `Stream`. diff --git a/sdk/chime/src/operation/list_attendee_tags/builders.rs b/sdk/chime/src/operation/list_attendee_tags/builders.rs index 0fc81beec6a8..7c3d87db6290 100644 --- a/sdk/chime/src/operation/list_attendee_tags/builders.rs +++ b/sdk/chime/src/operation/list_attendee_tags/builders.rs @@ -19,9 +19,9 @@ impl ListAttendeeTagsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl ListAttendeeTagsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_attendee_tags::ListAttendeeTags, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::list_attendee_tags::ListAttendeeTagsError, + >, + > { + self.customize_middleware().await + } ///

The Amazon Chime SDK meeting ID.

pub fn meeting_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.meeting_id(input.into()); diff --git a/sdk/chime/src/operation/list_attendees/builders.rs b/sdk/chime/src/operation/list_attendees/builders.rs index cf9568762f74..2341fe922bfd 100644 --- a/sdk/chime/src/operation/list_attendees/builders.rs +++ b/sdk/chime/src/operation/list_attendees/builders.rs @@ -19,9 +19,9 @@ impl ListAttendeesFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl ListAttendeesFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_attendees::ListAttendees, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::list_attendees::paginator::ListAttendeesPaginator::send) which returns a `Stream`. diff --git a/sdk/chime/src/operation/list_bots/builders.rs b/sdk/chime/src/operation/list_bots/builders.rs index b6e5e5747eae..a7a2332e82da 100644 --- a/sdk/chime/src/operation/list_bots/builders.rs +++ b/sdk/chime/src/operation/list_bots/builders.rs @@ -19,9 +19,9 @@ impl ListBotsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl ListBotsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_bots::ListBots, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::list_bots::paginator::ListBotsPaginator::send) which returns a `Stream`. diff --git a/sdk/chime/src/operation/list_channel_bans/builders.rs b/sdk/chime/src/operation/list_channel_bans/builders.rs index 5d51d6b029d2..7a162052dddf 100644 --- a/sdk/chime/src/operation/list_channel_bans/builders.rs +++ b/sdk/chime/src/operation/list_channel_bans/builders.rs @@ -21,9 +21,9 @@ impl ListChannelBansFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -85,6 +85,22 @@ impl ListChannelBansFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_channel_bans::ListChannelBans, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::list_channel_bans::ListChannelBansError, + >, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::list_channel_bans::paginator::ListChannelBansPaginator::send) which returns a `Stream`. diff --git a/sdk/chime/src/operation/list_channel_memberships/builders.rs b/sdk/chime/src/operation/list_channel_memberships/builders.rs index 4aba265c708a..35ab91b3bc5b 100644 --- a/sdk/chime/src/operation/list_channel_memberships/builders.rs +++ b/sdk/chime/src/operation/list_channel_memberships/builders.rs @@ -21,9 +21,9 @@ impl ListChannelMembershipsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -85,6 +85,22 @@ impl ListChannelMembershipsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_channel_memberships::ListChannelMemberships, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::list_channel_memberships::ListChannelMembershipsError, + >, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::list_channel_memberships::paginator::ListChannelMembershipsPaginator::send) which returns a `Stream`. diff --git a/sdk/chime/src/operation/list_channel_memberships_for_app_instance_user/builders.rs b/sdk/chime/src/operation/list_channel_memberships_for_app_instance_user/builders.rs index d3dea5695bc8..061457a7e647 100644 --- a/sdk/chime/src/operation/list_channel_memberships_for_app_instance_user/builders.rs +++ b/sdk/chime/src/operation/list_channel_memberships_for_app_instance_user/builders.rs @@ -21,9 +21,9 @@ impl ListChannelMembershipsForAppInstanceUserFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize(self) -> ::std::result::Result< + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware(self) -> ::std::result::Result< crate::client::customize::CustomizableOperation, ::aws_smithy_http::result::SdkError >{ @@ -66,6 +66,15 @@ impl ListChannelMembershipsForAppInstanceUserFluentBuilder { { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize(self) -> ::std::result::Result< + crate::client::customize::CustomizableOperation, + ::aws_smithy_http::result::SdkError + >{ + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::list_channel_memberships_for_app_instance_user::paginator::ListChannelMembershipsForAppInstanceUserPaginator::send) which returns a `Stream`. diff --git a/sdk/chime/src/operation/list_channel_messages/builders.rs b/sdk/chime/src/operation/list_channel_messages/builders.rs index 0e260845623b..816824292571 100644 --- a/sdk/chime/src/operation/list_channel_messages/builders.rs +++ b/sdk/chime/src/operation/list_channel_messages/builders.rs @@ -22,9 +22,9 @@ impl ListChannelMessagesFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -86,6 +86,22 @@ impl ListChannelMessagesFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_channel_messages::ListChannelMessages, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::list_channel_messages::ListChannelMessagesError, + >, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::list_channel_messages::paginator::ListChannelMessagesPaginator::send) which returns a `Stream`. diff --git a/sdk/chime/src/operation/list_channel_moderators/builders.rs b/sdk/chime/src/operation/list_channel_moderators/builders.rs index 2ea5c1091f5b..36dc70e2ba50 100644 --- a/sdk/chime/src/operation/list_channel_moderators/builders.rs +++ b/sdk/chime/src/operation/list_channel_moderators/builders.rs @@ -21,9 +21,9 @@ impl ListChannelModeratorsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -85,6 +85,22 @@ impl ListChannelModeratorsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_channel_moderators::ListChannelModerators, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::list_channel_moderators::ListChannelModeratorsError, + >, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::list_channel_moderators::paginator::ListChannelModeratorsPaginator::send) which returns a `Stream`. diff --git a/sdk/chime/src/operation/list_channels/builders.rs b/sdk/chime/src/operation/list_channels/builders.rs index ed552cd8fedf..6ca0ccc5d6f8 100644 --- a/sdk/chime/src/operation/list_channels/builders.rs +++ b/sdk/chime/src/operation/list_channels/builders.rs @@ -26,9 +26,9 @@ impl ListChannelsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -84,6 +84,20 @@ impl ListChannelsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_channels::ListChannels, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::list_channels::paginator::ListChannelsPaginator::send) which returns a `Stream`. diff --git a/sdk/chime/src/operation/list_channels_moderated_by_app_instance_user/builders.rs b/sdk/chime/src/operation/list_channels_moderated_by_app_instance_user/builders.rs index 98a0efb23670..fb175a28a425 100644 --- a/sdk/chime/src/operation/list_channels_moderated_by_app_instance_user/builders.rs +++ b/sdk/chime/src/operation/list_channels_moderated_by_app_instance_user/builders.rs @@ -21,9 +21,9 @@ impl ListChannelsModeratedByAppInstanceUserFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize(self) -> ::std::result::Result< + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware(self) -> ::std::result::Result< crate::client::customize::CustomizableOperation, ::aws_smithy_http::result::SdkError >{ @@ -66,6 +66,15 @@ impl ListChannelsModeratedByAppInstanceUserFluentBuilder { { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize(self) -> ::std::result::Result< + crate::client::customize::CustomizableOperation, + ::aws_smithy_http::result::SdkError + >{ + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::list_channels_moderated_by_app_instance_user::paginator::ListChannelsModeratedByAppInstanceUserPaginator::send) which returns a `Stream`. diff --git a/sdk/chime/src/operation/list_media_capture_pipelines/builders.rs b/sdk/chime/src/operation/list_media_capture_pipelines/builders.rs index e6ef963ca4e1..763b00fa3765 100644 --- a/sdk/chime/src/operation/list_media_capture_pipelines/builders.rs +++ b/sdk/chime/src/operation/list_media_capture_pipelines/builders.rs @@ -19,9 +19,9 @@ impl ListMediaCapturePipelinesFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl ListMediaCapturePipelinesFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_media_capture_pipelines::ListMediaCapturePipelines, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::list_media_capture_pipelines::ListMediaCapturePipelinesError, + >, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::list_media_capture_pipelines::paginator::ListMediaCapturePipelinesPaginator::send) which returns a `Stream`. diff --git a/sdk/chime/src/operation/list_meeting_tags/builders.rs b/sdk/chime/src/operation/list_meeting_tags/builders.rs index ec0ce37f5859..70613f57abdd 100644 --- a/sdk/chime/src/operation/list_meeting_tags/builders.rs +++ b/sdk/chime/src/operation/list_meeting_tags/builders.rs @@ -19,9 +19,9 @@ impl ListMeetingTagsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl ListMeetingTagsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_meeting_tags::ListMeetingTags, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::list_meeting_tags::ListMeetingTagsError, + >, + > { + self.customize_middleware().await + } ///

The Amazon Chime SDK meeting ID.

pub fn meeting_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.meeting_id(input.into()); diff --git a/sdk/chime/src/operation/list_meetings/builders.rs b/sdk/chime/src/operation/list_meetings/builders.rs index baf6d4e50eaa..32b3970af9c8 100644 --- a/sdk/chime/src/operation/list_meetings/builders.rs +++ b/sdk/chime/src/operation/list_meetings/builders.rs @@ -19,9 +19,9 @@ impl ListMeetingsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl ListMeetingsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_meetings::ListMeetings, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::list_meetings::paginator::ListMeetingsPaginator::send) which returns a `Stream`. diff --git a/sdk/chime/src/operation/list_phone_number_orders/builders.rs b/sdk/chime/src/operation/list_phone_number_orders/builders.rs index ebbebe653b52..acc059409cce 100644 --- a/sdk/chime/src/operation/list_phone_number_orders/builders.rs +++ b/sdk/chime/src/operation/list_phone_number_orders/builders.rs @@ -19,9 +19,9 @@ impl ListPhoneNumberOrdersFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl ListPhoneNumberOrdersFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_phone_number_orders::ListPhoneNumberOrders, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::list_phone_number_orders::ListPhoneNumberOrdersError, + >, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::list_phone_number_orders::paginator::ListPhoneNumberOrdersPaginator::send) which returns a `Stream`. diff --git a/sdk/chime/src/operation/list_phone_numbers/builders.rs b/sdk/chime/src/operation/list_phone_numbers/builders.rs index 582bfdb2c972..f5d542895e42 100644 --- a/sdk/chime/src/operation/list_phone_numbers/builders.rs +++ b/sdk/chime/src/operation/list_phone_numbers/builders.rs @@ -19,9 +19,9 @@ impl ListPhoneNumbersFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl ListPhoneNumbersFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_phone_numbers::ListPhoneNumbers, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::list_phone_numbers::ListPhoneNumbersError, + >, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::list_phone_numbers::paginator::ListPhoneNumbersPaginator::send) which returns a `Stream`. diff --git a/sdk/chime/src/operation/list_proxy_sessions/builders.rs b/sdk/chime/src/operation/list_proxy_sessions/builders.rs index 5204decb6ef4..9c66826d050e 100644 --- a/sdk/chime/src/operation/list_proxy_sessions/builders.rs +++ b/sdk/chime/src/operation/list_proxy_sessions/builders.rs @@ -19,9 +19,9 @@ impl ListProxySessionsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl ListProxySessionsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_proxy_sessions::ListProxySessions, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::list_proxy_sessions::ListProxySessionsError, + >, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::list_proxy_sessions::paginator::ListProxySessionsPaginator::send) which returns a `Stream`. diff --git a/sdk/chime/src/operation/list_room_memberships/builders.rs b/sdk/chime/src/operation/list_room_memberships/builders.rs index b262ff28428d..6bd0eee8e908 100644 --- a/sdk/chime/src/operation/list_room_memberships/builders.rs +++ b/sdk/chime/src/operation/list_room_memberships/builders.rs @@ -19,9 +19,9 @@ impl ListRoomMembershipsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl ListRoomMembershipsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_room_memberships::ListRoomMemberships, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::list_room_memberships::ListRoomMembershipsError, + >, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::list_room_memberships::paginator::ListRoomMembershipsPaginator::send) which returns a `Stream`. diff --git a/sdk/chime/src/operation/list_rooms/builders.rs b/sdk/chime/src/operation/list_rooms/builders.rs index 59256040c825..1065cdaf52f6 100644 --- a/sdk/chime/src/operation/list_rooms/builders.rs +++ b/sdk/chime/src/operation/list_rooms/builders.rs @@ -19,9 +19,9 @@ impl ListRoomsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl ListRoomsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_rooms::ListRooms, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::list_rooms::paginator::ListRoomsPaginator::send) which returns a `Stream`. diff --git a/sdk/chime/src/operation/list_sip_media_applications/builders.rs b/sdk/chime/src/operation/list_sip_media_applications/builders.rs index a1d5636e159e..f4b006e2f516 100644 --- a/sdk/chime/src/operation/list_sip_media_applications/builders.rs +++ b/sdk/chime/src/operation/list_sip_media_applications/builders.rs @@ -19,9 +19,9 @@ impl ListSipMediaApplicationsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl ListSipMediaApplicationsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_sip_media_applications::ListSipMediaApplications, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::list_sip_media_applications::ListSipMediaApplicationsError, + >, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::list_sip_media_applications::paginator::ListSipMediaApplicationsPaginator::send) which returns a `Stream`. diff --git a/sdk/chime/src/operation/list_sip_rules/builders.rs b/sdk/chime/src/operation/list_sip_rules/builders.rs index 38bc4e50269f..38145a2390ec 100644 --- a/sdk/chime/src/operation/list_sip_rules/builders.rs +++ b/sdk/chime/src/operation/list_sip_rules/builders.rs @@ -19,9 +19,9 @@ impl ListSipRulesFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl ListSipRulesFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_sip_rules::ListSipRules, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::list_sip_rules::paginator::ListSipRulesPaginator::send) which returns a `Stream`. diff --git a/sdk/chime/src/operation/list_supported_phone_number_countries/builders.rs b/sdk/chime/src/operation/list_supported_phone_number_countries/builders.rs index 774b07b771ac..296c18f8d808 100644 --- a/sdk/chime/src/operation/list_supported_phone_number_countries/builders.rs +++ b/sdk/chime/src/operation/list_supported_phone_number_countries/builders.rs @@ -19,9 +19,9 @@ impl ListSupportedPhoneNumberCountriesFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize(self) -> ::std::result::Result< + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware(self) -> ::std::result::Result< crate::client::customize::CustomizableOperation, ::aws_smithy_http::result::SdkError >{ @@ -64,6 +64,15 @@ impl ListSupportedPhoneNumberCountriesFluentBuilder { { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize(self) -> ::std::result::Result< + crate::client::customize::CustomizableOperation, + ::aws_smithy_http::result::SdkError + >{ + self.customize_middleware().await + } ///

The phone number product type.

pub fn product_type(mut self, input: crate::types::PhoneNumberProductType) -> Self { self.inner = self.inner.product_type(input); diff --git a/sdk/chime/src/operation/list_tags_for_resource/builders.rs b/sdk/chime/src/operation/list_tags_for_resource/builders.rs index fa2561533da0..86f868077e2b 100644 --- a/sdk/chime/src/operation/list_tags_for_resource/builders.rs +++ b/sdk/chime/src/operation/list_tags_for_resource/builders.rs @@ -19,9 +19,9 @@ impl ListTagsForResourceFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl ListTagsForResourceFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_tags_for_resource::ListTagsForResource, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::list_tags_for_resource::ListTagsForResourceError, + >, + > { + self.customize_middleware().await + } ///

The resource ARN.

pub fn resource_arn(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.resource_arn(input.into()); diff --git a/sdk/chime/src/operation/list_users/builders.rs b/sdk/chime/src/operation/list_users/builders.rs index ce3bb97763de..d64ca48d653a 100644 --- a/sdk/chime/src/operation/list_users/builders.rs +++ b/sdk/chime/src/operation/list_users/builders.rs @@ -19,9 +19,9 @@ impl ListUsersFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl ListUsersFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_users::ListUsers, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::list_users::paginator::ListUsersPaginator::send) which returns a `Stream`. diff --git a/sdk/chime/src/operation/list_voice_connector_groups/builders.rs b/sdk/chime/src/operation/list_voice_connector_groups/builders.rs index 06c6c07f8dc2..2195ec9f5a42 100644 --- a/sdk/chime/src/operation/list_voice_connector_groups/builders.rs +++ b/sdk/chime/src/operation/list_voice_connector_groups/builders.rs @@ -19,9 +19,9 @@ impl ListVoiceConnectorGroupsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl ListVoiceConnectorGroupsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_voice_connector_groups::ListVoiceConnectorGroups, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::list_voice_connector_groups::ListVoiceConnectorGroupsError, + >, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::list_voice_connector_groups::paginator::ListVoiceConnectorGroupsPaginator::send) which returns a `Stream`. diff --git a/sdk/chime/src/operation/list_voice_connector_termination_credentials/builders.rs b/sdk/chime/src/operation/list_voice_connector_termination_credentials/builders.rs index 2a96f9be7371..33c9034ef324 100644 --- a/sdk/chime/src/operation/list_voice_connector_termination_credentials/builders.rs +++ b/sdk/chime/src/operation/list_voice_connector_termination_credentials/builders.rs @@ -19,9 +19,9 @@ impl ListVoiceConnectorTerminationCredentialsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize(self) -> ::std::result::Result< + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware(self) -> ::std::result::Result< crate::client::customize::CustomizableOperation, ::aws_smithy_http::result::SdkError >{ @@ -64,6 +64,15 @@ impl ListVoiceConnectorTerminationCredentialsFluentBuilder { { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize(self) -> ::std::result::Result< + crate::client::customize::CustomizableOperation, + ::aws_smithy_http::result::SdkError + >{ + self.customize_middleware().await + } ///

The Amazon Chime Voice Connector ID.

pub fn voice_connector_id( mut self, diff --git a/sdk/chime/src/operation/list_voice_connectors/builders.rs b/sdk/chime/src/operation/list_voice_connectors/builders.rs index 3d1c5fe1a8b8..5c222579623c 100644 --- a/sdk/chime/src/operation/list_voice_connectors/builders.rs +++ b/sdk/chime/src/operation/list_voice_connectors/builders.rs @@ -19,9 +19,9 @@ impl ListVoiceConnectorsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl ListVoiceConnectorsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_voice_connectors::ListVoiceConnectors, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::list_voice_connectors::ListVoiceConnectorsError, + >, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::list_voice_connectors::paginator::ListVoiceConnectorsPaginator::send) which returns a `Stream`. diff --git a/sdk/chime/src/operation/logout_user/builders.rs b/sdk/chime/src/operation/logout_user/builders.rs index ca3373faea18..7f6dd6e2e5a5 100644 --- a/sdk/chime/src/operation/logout_user/builders.rs +++ b/sdk/chime/src/operation/logout_user/builders.rs @@ -19,9 +19,9 @@ impl LogoutUserFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl LogoutUserFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::logout_user::LogoutUser, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

The Amazon Chime account ID.

pub fn account_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.account_id(input.into()); diff --git a/sdk/chime/src/operation/put_app_instance_retention_settings/builders.rs b/sdk/chime/src/operation/put_app_instance_retention_settings/builders.rs index 9c038a079686..935277781ddb 100644 --- a/sdk/chime/src/operation/put_app_instance_retention_settings/builders.rs +++ b/sdk/chime/src/operation/put_app_instance_retention_settings/builders.rs @@ -19,9 +19,9 @@ impl PutAppInstanceRetentionSettingsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize(self) -> ::std::result::Result< + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware(self) -> ::std::result::Result< crate::client::customize::CustomizableOperation, ::aws_smithy_http::result::SdkError >{ @@ -64,6 +64,15 @@ impl PutAppInstanceRetentionSettingsFluentBuilder { { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize(self) -> ::std::result::Result< + crate::client::customize::CustomizableOperation, + ::aws_smithy_http::result::SdkError + >{ + self.customize_middleware().await + } ///

The ARN of the AppInstance.

pub fn app_instance_arn( mut self, diff --git a/sdk/chime/src/operation/put_app_instance_streaming_configurations/builders.rs b/sdk/chime/src/operation/put_app_instance_streaming_configurations/builders.rs index fbf76767867c..231571d265de 100644 --- a/sdk/chime/src/operation/put_app_instance_streaming_configurations/builders.rs +++ b/sdk/chime/src/operation/put_app_instance_streaming_configurations/builders.rs @@ -19,9 +19,9 @@ impl PutAppInstanceStreamingConfigurationsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize(self) -> ::std::result::Result< + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware(self) -> ::std::result::Result< crate::client::customize::CustomizableOperation, ::aws_smithy_http::result::SdkError >{ @@ -64,6 +64,15 @@ impl PutAppInstanceStreamingConfigurationsFluentBuilder { { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize(self) -> ::std::result::Result< + crate::client::customize::CustomizableOperation, + ::aws_smithy_http::result::SdkError + >{ + self.customize_middleware().await + } ///

The ARN of the AppInstance.

pub fn app_instance_arn( mut self, diff --git a/sdk/chime/src/operation/put_events_configuration/builders.rs b/sdk/chime/src/operation/put_events_configuration/builders.rs index 6ee615a41bd0..c5e9f3a163d5 100644 --- a/sdk/chime/src/operation/put_events_configuration/builders.rs +++ b/sdk/chime/src/operation/put_events_configuration/builders.rs @@ -19,9 +19,9 @@ impl PutEventsConfigurationFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl PutEventsConfigurationFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::put_events_configuration::PutEventsConfiguration, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::put_events_configuration::PutEventsConfigurationError, + >, + > { + self.customize_middleware().await + } ///

The Amazon Chime account ID.

pub fn account_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.account_id(input.into()); diff --git a/sdk/chime/src/operation/put_retention_settings/builders.rs b/sdk/chime/src/operation/put_retention_settings/builders.rs index 7aae3f4354f3..fea2716c4ae6 100644 --- a/sdk/chime/src/operation/put_retention_settings/builders.rs +++ b/sdk/chime/src/operation/put_retention_settings/builders.rs @@ -20,9 +20,9 @@ impl PutRetentionSettingsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -84,6 +84,22 @@ impl PutRetentionSettingsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::put_retention_settings::PutRetentionSettings, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::put_retention_settings::PutRetentionSettingsError, + >, + > { + self.customize_middleware().await + } ///

The Amazon Chime account ID.

pub fn account_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.account_id(input.into()); diff --git a/sdk/chime/src/operation/put_sip_media_application_logging_configuration/builders.rs b/sdk/chime/src/operation/put_sip_media_application_logging_configuration/builders.rs index 7d1b90fd350c..a05b86739e50 100644 --- a/sdk/chime/src/operation/put_sip_media_application_logging_configuration/builders.rs +++ b/sdk/chime/src/operation/put_sip_media_application_logging_configuration/builders.rs @@ -19,9 +19,9 @@ impl PutSipMediaApplicationLoggingConfigurationFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize(self) -> ::std::result::Result< + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware(self) -> ::std::result::Result< crate::client::customize::CustomizableOperation, ::aws_smithy_http::result::SdkError >{ @@ -64,6 +64,15 @@ impl PutSipMediaApplicationLoggingConfigurationFluentBuilder { { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize(self) -> ::std::result::Result< + crate::client::customize::CustomizableOperation, + ::aws_smithy_http::result::SdkError + >{ + self.customize_middleware().await + } ///

The SIP media application ID.

pub fn sip_media_application_id( mut self, diff --git a/sdk/chime/src/operation/put_voice_connector_emergency_calling_configuration/builders.rs b/sdk/chime/src/operation/put_voice_connector_emergency_calling_configuration/builders.rs index 33c312a54f49..7e69898fb5bc 100644 --- a/sdk/chime/src/operation/put_voice_connector_emergency_calling_configuration/builders.rs +++ b/sdk/chime/src/operation/put_voice_connector_emergency_calling_configuration/builders.rs @@ -19,9 +19,9 @@ impl PutVoiceConnectorEmergencyCallingConfigurationFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize(self) -> ::std::result::Result< + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware(self) -> ::std::result::Result< crate::client::customize::CustomizableOperation, ::aws_smithy_http::result::SdkError >{ @@ -64,6 +64,15 @@ impl PutVoiceConnectorEmergencyCallingConfigurationFluentBuilder { { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize(self) -> ::std::result::Result< + crate::client::customize::CustomizableOperation, + ::aws_smithy_http::result::SdkError + >{ + self.customize_middleware().await + } ///

The Amazon Chime Voice Connector ID.

pub fn voice_connector_id( mut self, diff --git a/sdk/chime/src/operation/put_voice_connector_logging_configuration/builders.rs b/sdk/chime/src/operation/put_voice_connector_logging_configuration/builders.rs index 30bd741f3cb3..503d91277edc 100644 --- a/sdk/chime/src/operation/put_voice_connector_logging_configuration/builders.rs +++ b/sdk/chime/src/operation/put_voice_connector_logging_configuration/builders.rs @@ -19,9 +19,9 @@ impl PutVoiceConnectorLoggingConfigurationFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize(self) -> ::std::result::Result< + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware(self) -> ::std::result::Result< crate::client::customize::CustomizableOperation, ::aws_smithy_http::result::SdkError >{ @@ -64,6 +64,15 @@ impl PutVoiceConnectorLoggingConfigurationFluentBuilder { { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize(self) -> ::std::result::Result< + crate::client::customize::CustomizableOperation, + ::aws_smithy_http::result::SdkError + >{ + self.customize_middleware().await + } ///

The Amazon Chime Voice Connector ID.

pub fn voice_connector_id( mut self, diff --git a/sdk/chime/src/operation/put_voice_connector_origination/builders.rs b/sdk/chime/src/operation/put_voice_connector_origination/builders.rs index c84bd560c27c..02067b92c297 100644 --- a/sdk/chime/src/operation/put_voice_connector_origination/builders.rs +++ b/sdk/chime/src/operation/put_voice_connector_origination/builders.rs @@ -21,9 +21,9 @@ impl PutVoiceConnectorOriginationFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -85,6 +85,22 @@ impl PutVoiceConnectorOriginationFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::put_voice_connector_origination::PutVoiceConnectorOrigination, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::put_voice_connector_origination::PutVoiceConnectorOriginationError, + >, + > { + self.customize_middleware().await + } ///

The Amazon Chime Voice Connector ID.

pub fn voice_connector_id( mut self, diff --git a/sdk/chime/src/operation/put_voice_connector_proxy/builders.rs b/sdk/chime/src/operation/put_voice_connector_proxy/builders.rs index 8213eb6f7117..1474f8840a41 100644 --- a/sdk/chime/src/operation/put_voice_connector_proxy/builders.rs +++ b/sdk/chime/src/operation/put_voice_connector_proxy/builders.rs @@ -20,9 +20,9 @@ impl PutVoiceConnectorProxyFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -84,6 +84,22 @@ impl PutVoiceConnectorProxyFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::put_voice_connector_proxy::PutVoiceConnectorProxy, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::put_voice_connector_proxy::PutVoiceConnectorProxyError, + >, + > { + self.customize_middleware().await + } ///

The Amazon Chime voice connector ID.

pub fn voice_connector_id( mut self, diff --git a/sdk/chime/src/operation/put_voice_connector_streaming_configuration/builders.rs b/sdk/chime/src/operation/put_voice_connector_streaming_configuration/builders.rs index 1559a743eade..baa947fd38ef 100644 --- a/sdk/chime/src/operation/put_voice_connector_streaming_configuration/builders.rs +++ b/sdk/chime/src/operation/put_voice_connector_streaming_configuration/builders.rs @@ -19,9 +19,9 @@ impl PutVoiceConnectorStreamingConfigurationFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize(self) -> ::std::result::Result< + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware(self) -> ::std::result::Result< crate::client::customize::CustomizableOperation, ::aws_smithy_http::result::SdkError >{ @@ -64,6 +64,15 @@ impl PutVoiceConnectorStreamingConfigurationFluentBuilder { { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize(self) -> ::std::result::Result< + crate::client::customize::CustomizableOperation, + ::aws_smithy_http::result::SdkError + >{ + self.customize_middleware().await + } ///

The Amazon Chime Voice Connector ID.

pub fn voice_connector_id( mut self, diff --git a/sdk/chime/src/operation/put_voice_connector_termination/builders.rs b/sdk/chime/src/operation/put_voice_connector_termination/builders.rs index 84610c728b95..7a0313ce0437 100644 --- a/sdk/chime/src/operation/put_voice_connector_termination/builders.rs +++ b/sdk/chime/src/operation/put_voice_connector_termination/builders.rs @@ -21,9 +21,9 @@ impl PutVoiceConnectorTerminationFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -85,6 +85,22 @@ impl PutVoiceConnectorTerminationFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::put_voice_connector_termination::PutVoiceConnectorTermination, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::put_voice_connector_termination::PutVoiceConnectorTerminationError, + >, + > { + self.customize_middleware().await + } ///

The Amazon Chime Voice Connector ID.

pub fn voice_connector_id( mut self, diff --git a/sdk/chime/src/operation/put_voice_connector_termination_credentials/builders.rs b/sdk/chime/src/operation/put_voice_connector_termination_credentials/builders.rs index 3e5cdd0369d3..3059630f4966 100644 --- a/sdk/chime/src/operation/put_voice_connector_termination_credentials/builders.rs +++ b/sdk/chime/src/operation/put_voice_connector_termination_credentials/builders.rs @@ -19,9 +19,9 @@ impl PutVoiceConnectorTerminationCredentialsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize(self) -> ::std::result::Result< + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware(self) -> ::std::result::Result< crate::client::customize::CustomizableOperation, ::aws_smithy_http::result::SdkError >{ @@ -64,6 +64,15 @@ impl PutVoiceConnectorTerminationCredentialsFluentBuilder { { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize(self) -> ::std::result::Result< + crate::client::customize::CustomizableOperation, + ::aws_smithy_http::result::SdkError + >{ + self.customize_middleware().await + } ///

The Amazon Chime Voice Connector ID.

pub fn voice_connector_id( mut self, diff --git a/sdk/chime/src/operation/redact_channel_message/builders.rs b/sdk/chime/src/operation/redact_channel_message/builders.rs index d5c1d7e9a5aa..8be2033c08fd 100644 --- a/sdk/chime/src/operation/redact_channel_message/builders.rs +++ b/sdk/chime/src/operation/redact_channel_message/builders.rs @@ -21,9 +21,9 @@ impl RedactChannelMessageFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -85,6 +85,22 @@ impl RedactChannelMessageFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::redact_channel_message::RedactChannelMessage, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::redact_channel_message::RedactChannelMessageError, + >, + > { + self.customize_middleware().await + } ///

The ARN of the channel containing the messages that you want to redact.

pub fn channel_arn(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.channel_arn(input.into()); diff --git a/sdk/chime/src/operation/redact_conversation_message/builders.rs b/sdk/chime/src/operation/redact_conversation_message/builders.rs index c687b87fca1d..db9b4939e276 100644 --- a/sdk/chime/src/operation/redact_conversation_message/builders.rs +++ b/sdk/chime/src/operation/redact_conversation_message/builders.rs @@ -19,9 +19,9 @@ impl RedactConversationMessageFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl RedactConversationMessageFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::redact_conversation_message::RedactConversationMessage, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::redact_conversation_message::RedactConversationMessageError, + >, + > { + self.customize_middleware().await + } ///

The Amazon Chime account ID.

pub fn account_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.account_id(input.into()); diff --git a/sdk/chime/src/operation/redact_room_message/builders.rs b/sdk/chime/src/operation/redact_room_message/builders.rs index 9e8a86f52727..957716dc0224 100644 --- a/sdk/chime/src/operation/redact_room_message/builders.rs +++ b/sdk/chime/src/operation/redact_room_message/builders.rs @@ -19,9 +19,9 @@ impl RedactRoomMessageFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl RedactRoomMessageFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::redact_room_message::RedactRoomMessage, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::redact_room_message::RedactRoomMessageError, + >, + > { + self.customize_middleware().await + } ///

The Amazon Chime account ID.

pub fn account_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.account_id(input.into()); diff --git a/sdk/chime/src/operation/regenerate_security_token/builders.rs b/sdk/chime/src/operation/regenerate_security_token/builders.rs index b149659f1386..4f65b6309b94 100644 --- a/sdk/chime/src/operation/regenerate_security_token/builders.rs +++ b/sdk/chime/src/operation/regenerate_security_token/builders.rs @@ -20,9 +20,9 @@ impl RegenerateSecurityTokenFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -84,6 +84,22 @@ impl RegenerateSecurityTokenFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::regenerate_security_token::RegenerateSecurityToken, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::regenerate_security_token::RegenerateSecurityTokenError, + >, + > { + self.customize_middleware().await + } ///

The Amazon Chime account ID.

pub fn account_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.account_id(input.into()); diff --git a/sdk/chime/src/operation/reset_personal_pin/builders.rs b/sdk/chime/src/operation/reset_personal_pin/builders.rs index e4e5c4390d29..80dcf1e779ce 100644 --- a/sdk/chime/src/operation/reset_personal_pin/builders.rs +++ b/sdk/chime/src/operation/reset_personal_pin/builders.rs @@ -19,9 +19,9 @@ impl ResetPersonalPINFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl ResetPersonalPINFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::reset_personal_pin::ResetPersonalPIN, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::reset_personal_pin::ResetPersonalPINError, + >, + > { + self.customize_middleware().await + } ///

The Amazon Chime account ID.

pub fn account_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.account_id(input.into()); diff --git a/sdk/chime/src/operation/restore_phone_number/builders.rs b/sdk/chime/src/operation/restore_phone_number/builders.rs index 59eee30f7c36..003210fb3b8e 100644 --- a/sdk/chime/src/operation/restore_phone_number/builders.rs +++ b/sdk/chime/src/operation/restore_phone_number/builders.rs @@ -19,9 +19,9 @@ impl RestorePhoneNumberFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl RestorePhoneNumberFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::restore_phone_number::RestorePhoneNumber, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::restore_phone_number::RestorePhoneNumberError, + >, + > { + self.customize_middleware().await + } ///

The phone number.

pub fn phone_number_id( mut self, diff --git a/sdk/chime/src/operation/search_available_phone_numbers/builders.rs b/sdk/chime/src/operation/search_available_phone_numbers/builders.rs index d5b1530c648f..2b0633942e7b 100644 --- a/sdk/chime/src/operation/search_available_phone_numbers/builders.rs +++ b/sdk/chime/src/operation/search_available_phone_numbers/builders.rs @@ -19,9 +19,9 @@ impl SearchAvailablePhoneNumbersFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl SearchAvailablePhoneNumbersFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::search_available_phone_numbers::SearchAvailablePhoneNumbers, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::search_available_phone_numbers::SearchAvailablePhoneNumbersError, + >, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::search_available_phone_numbers::paginator::SearchAvailablePhoneNumbersPaginator::send) which returns a `Stream`. diff --git a/sdk/chime/src/operation/send_channel_message/builders.rs b/sdk/chime/src/operation/send_channel_message/builders.rs index 6c7cc262d22c..aefa470006b0 100644 --- a/sdk/chime/src/operation/send_channel_message/builders.rs +++ b/sdk/chime/src/operation/send_channel_message/builders.rs @@ -22,9 +22,9 @@ impl SendChannelMessageFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -86,6 +86,22 @@ impl SendChannelMessageFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::send_channel_message::SendChannelMessage, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::send_channel_message::SendChannelMessageError, + >, + > { + self.customize_middleware().await + } ///

The ARN of the channel.

pub fn channel_arn(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.channel_arn(input.into()); diff --git a/sdk/chime/src/operation/start_meeting_transcription/builders.rs b/sdk/chime/src/operation/start_meeting_transcription/builders.rs index fb51e5df86b1..caa7b0452351 100644 --- a/sdk/chime/src/operation/start_meeting_transcription/builders.rs +++ b/sdk/chime/src/operation/start_meeting_transcription/builders.rs @@ -22,9 +22,9 @@ impl StartMeetingTranscriptionFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -86,6 +86,22 @@ impl StartMeetingTranscriptionFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::start_meeting_transcription::StartMeetingTranscription, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::start_meeting_transcription::StartMeetingTranscriptionError, + >, + > { + self.customize_middleware().await + } ///

The unique ID of the meeting being transcribed.

pub fn meeting_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.meeting_id(input.into()); diff --git a/sdk/chime/src/operation/stop_meeting_transcription/builders.rs b/sdk/chime/src/operation/stop_meeting_transcription/builders.rs index ab195f47e3a3..bd4db32f1033 100644 --- a/sdk/chime/src/operation/stop_meeting_transcription/builders.rs +++ b/sdk/chime/src/operation/stop_meeting_transcription/builders.rs @@ -19,9 +19,9 @@ impl StopMeetingTranscriptionFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl StopMeetingTranscriptionFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::stop_meeting_transcription::StopMeetingTranscription, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::stop_meeting_transcription::StopMeetingTranscriptionError, + >, + > { + self.customize_middleware().await + } ///

The unique ID of the meeting for which you stop transcription.

pub fn meeting_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.meeting_id(input.into()); diff --git a/sdk/chime/src/operation/tag_attendee/builders.rs b/sdk/chime/src/operation/tag_attendee/builders.rs index 072639b05110..29d034113edd 100644 --- a/sdk/chime/src/operation/tag_attendee/builders.rs +++ b/sdk/chime/src/operation/tag_attendee/builders.rs @@ -19,9 +19,9 @@ impl TagAttendeeFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl TagAttendeeFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::tag_attendee::TagAttendee, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

The Amazon Chime SDK meeting ID.

pub fn meeting_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.meeting_id(input.into()); diff --git a/sdk/chime/src/operation/tag_meeting/builders.rs b/sdk/chime/src/operation/tag_meeting/builders.rs index 9ccea97306ad..24822ad2884f 100644 --- a/sdk/chime/src/operation/tag_meeting/builders.rs +++ b/sdk/chime/src/operation/tag_meeting/builders.rs @@ -19,9 +19,9 @@ impl TagMeetingFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl TagMeetingFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::tag_meeting::TagMeeting, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

The Amazon Chime SDK meeting ID.

pub fn meeting_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.meeting_id(input.into()); diff --git a/sdk/chime/src/operation/tag_resource/builders.rs b/sdk/chime/src/operation/tag_resource/builders.rs index df66a6ea9560..017e178cd1ed 100644 --- a/sdk/chime/src/operation/tag_resource/builders.rs +++ b/sdk/chime/src/operation/tag_resource/builders.rs @@ -19,9 +19,9 @@ impl TagResourceFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl TagResourceFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::tag_resource::TagResource, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

The resource ARN.

pub fn resource_arn(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.resource_arn(input.into()); diff --git a/sdk/chime/src/operation/untag_attendee/builders.rs b/sdk/chime/src/operation/untag_attendee/builders.rs index 00dd13a308d5..d939208ed0ee 100644 --- a/sdk/chime/src/operation/untag_attendee/builders.rs +++ b/sdk/chime/src/operation/untag_attendee/builders.rs @@ -19,9 +19,9 @@ impl UntagAttendeeFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl UntagAttendeeFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::untag_attendee::UntagAttendee, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

The Amazon Chime SDK meeting ID.

pub fn meeting_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.meeting_id(input.into()); diff --git a/sdk/chime/src/operation/untag_meeting/builders.rs b/sdk/chime/src/operation/untag_meeting/builders.rs index 79030e03d2c6..36746dc38ca0 100644 --- a/sdk/chime/src/operation/untag_meeting/builders.rs +++ b/sdk/chime/src/operation/untag_meeting/builders.rs @@ -19,9 +19,9 @@ impl UntagMeetingFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl UntagMeetingFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::untag_meeting::UntagMeeting, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

The Amazon Chime SDK meeting ID.

pub fn meeting_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.meeting_id(input.into()); diff --git a/sdk/chime/src/operation/untag_resource/builders.rs b/sdk/chime/src/operation/untag_resource/builders.rs index 78eb9c5e16d0..bb9ea1ee8e52 100644 --- a/sdk/chime/src/operation/untag_resource/builders.rs +++ b/sdk/chime/src/operation/untag_resource/builders.rs @@ -19,9 +19,9 @@ impl UntagResourceFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl UntagResourceFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::untag_resource::UntagResource, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

The resource ARN.

pub fn resource_arn(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.resource_arn(input.into()); diff --git a/sdk/chime/src/operation/update_account/builders.rs b/sdk/chime/src/operation/update_account/builders.rs index df66b352df05..13876a52d12f 100644 --- a/sdk/chime/src/operation/update_account/builders.rs +++ b/sdk/chime/src/operation/update_account/builders.rs @@ -19,9 +19,9 @@ impl UpdateAccountFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl UpdateAccountFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::update_account::UpdateAccount, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

The Amazon Chime account ID.

pub fn account_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.account_id(input.into()); diff --git a/sdk/chime/src/operation/update_account_settings/builders.rs b/sdk/chime/src/operation/update_account_settings/builders.rs index 37b77eab243e..916855e048f9 100644 --- a/sdk/chime/src/operation/update_account_settings/builders.rs +++ b/sdk/chime/src/operation/update_account_settings/builders.rs @@ -19,9 +19,9 @@ impl UpdateAccountSettingsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl UpdateAccountSettingsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::update_account_settings::UpdateAccountSettings, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::update_account_settings::UpdateAccountSettingsError, + >, + > { + self.customize_middleware().await + } ///

The Amazon Chime account ID.

pub fn account_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.account_id(input.into()); diff --git a/sdk/chime/src/operation/update_app_instance/builders.rs b/sdk/chime/src/operation/update_app_instance/builders.rs index 7c2ec245fdcd..ec0dde305579 100644 --- a/sdk/chime/src/operation/update_app_instance/builders.rs +++ b/sdk/chime/src/operation/update_app_instance/builders.rs @@ -19,9 +19,9 @@ impl UpdateAppInstanceFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl UpdateAppInstanceFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::update_app_instance::UpdateAppInstance, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::update_app_instance::UpdateAppInstanceError, + >, + > { + self.customize_middleware().await + } ///

The ARN of the AppInstance.

pub fn app_instance_arn( mut self, diff --git a/sdk/chime/src/operation/update_app_instance_user/builders.rs b/sdk/chime/src/operation/update_app_instance_user/builders.rs index 9618fbf4e9fd..29fbb8cd5a5d 100644 --- a/sdk/chime/src/operation/update_app_instance_user/builders.rs +++ b/sdk/chime/src/operation/update_app_instance_user/builders.rs @@ -19,9 +19,9 @@ impl UpdateAppInstanceUserFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl UpdateAppInstanceUserFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::update_app_instance_user::UpdateAppInstanceUser, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::update_app_instance_user::UpdateAppInstanceUserError, + >, + > { + self.customize_middleware().await + } ///

The ARN of the AppInstanceUser.

pub fn app_instance_user_arn( mut self, diff --git a/sdk/chime/src/operation/update_bot/builders.rs b/sdk/chime/src/operation/update_bot/builders.rs index c710c4c0163b..1948b38c5ee9 100644 --- a/sdk/chime/src/operation/update_bot/builders.rs +++ b/sdk/chime/src/operation/update_bot/builders.rs @@ -19,9 +19,9 @@ impl UpdateBotFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl UpdateBotFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::update_bot::UpdateBot, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

The Amazon Chime account ID.

pub fn account_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.account_id(input.into()); diff --git a/sdk/chime/src/operation/update_channel/builders.rs b/sdk/chime/src/operation/update_channel/builders.rs index 5960280b21a2..804830bdf31a 100644 --- a/sdk/chime/src/operation/update_channel/builders.rs +++ b/sdk/chime/src/operation/update_channel/builders.rs @@ -22,9 +22,9 @@ impl UpdateChannelFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -80,6 +80,20 @@ impl UpdateChannelFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::update_channel::UpdateChannel, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

The ARN of the channel.

pub fn channel_arn(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.channel_arn(input.into()); diff --git a/sdk/chime/src/operation/update_channel_message/builders.rs b/sdk/chime/src/operation/update_channel_message/builders.rs index 7793199cb963..c54226eda57c 100644 --- a/sdk/chime/src/operation/update_channel_message/builders.rs +++ b/sdk/chime/src/operation/update_channel_message/builders.rs @@ -21,9 +21,9 @@ impl UpdateChannelMessageFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -85,6 +85,22 @@ impl UpdateChannelMessageFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::update_channel_message::UpdateChannelMessage, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::update_channel_message::UpdateChannelMessageError, + >, + > { + self.customize_middleware().await + } ///

The ARN of the channel.

pub fn channel_arn(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.channel_arn(input.into()); diff --git a/sdk/chime/src/operation/update_channel_read_marker/builders.rs b/sdk/chime/src/operation/update_channel_read_marker/builders.rs index 59c99c59c35a..b79565dc932a 100644 --- a/sdk/chime/src/operation/update_channel_read_marker/builders.rs +++ b/sdk/chime/src/operation/update_channel_read_marker/builders.rs @@ -22,9 +22,9 @@ impl UpdateChannelReadMarkerFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -86,6 +86,22 @@ impl UpdateChannelReadMarkerFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::update_channel_read_marker::UpdateChannelReadMarker, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::update_channel_read_marker::UpdateChannelReadMarkerError, + >, + > { + self.customize_middleware().await + } ///

The ARN of the channel.

pub fn channel_arn(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.channel_arn(input.into()); diff --git a/sdk/chime/src/operation/update_global_settings/builders.rs b/sdk/chime/src/operation/update_global_settings/builders.rs index f5f2ae41a8d2..ab54ded7fce1 100644 --- a/sdk/chime/src/operation/update_global_settings/builders.rs +++ b/sdk/chime/src/operation/update_global_settings/builders.rs @@ -19,9 +19,9 @@ impl UpdateGlobalSettingsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl UpdateGlobalSettingsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::update_global_settings::UpdateGlobalSettings, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::update_global_settings::UpdateGlobalSettingsError, + >, + > { + self.customize_middleware().await + } ///

The Amazon Chime Business Calling settings.

pub fn business_calling(mut self, input: crate::types::BusinessCallingSettings) -> Self { self.inner = self.inner.business_calling(input); diff --git a/sdk/chime/src/operation/update_phone_number/builders.rs b/sdk/chime/src/operation/update_phone_number/builders.rs index 39c34e226165..2c77015d99d3 100644 --- a/sdk/chime/src/operation/update_phone_number/builders.rs +++ b/sdk/chime/src/operation/update_phone_number/builders.rs @@ -21,9 +21,9 @@ impl UpdatePhoneNumberFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -85,6 +85,22 @@ impl UpdatePhoneNumberFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::update_phone_number::UpdatePhoneNumber, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::update_phone_number::UpdatePhoneNumberError, + >, + > { + self.customize_middleware().await + } ///

The phone number ID.

pub fn phone_number_id( mut self, diff --git a/sdk/chime/src/operation/update_phone_number_settings/builders.rs b/sdk/chime/src/operation/update_phone_number_settings/builders.rs index 0c346e76c567..7a730a96bc5b 100644 --- a/sdk/chime/src/operation/update_phone_number_settings/builders.rs +++ b/sdk/chime/src/operation/update_phone_number_settings/builders.rs @@ -19,9 +19,9 @@ impl UpdatePhoneNumberSettingsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl UpdatePhoneNumberSettingsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::update_phone_number_settings::UpdatePhoneNumberSettings, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::update_phone_number_settings::UpdatePhoneNumberSettingsError, + >, + > { + self.customize_middleware().await + } ///

The default outbound calling name for the account.

pub fn calling_name(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.calling_name(input.into()); diff --git a/sdk/chime/src/operation/update_proxy_session/builders.rs b/sdk/chime/src/operation/update_proxy_session/builders.rs index 7d5b6971758f..ef5a80375d65 100644 --- a/sdk/chime/src/operation/update_proxy_session/builders.rs +++ b/sdk/chime/src/operation/update_proxy_session/builders.rs @@ -19,9 +19,9 @@ impl UpdateProxySessionFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl UpdateProxySessionFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::update_proxy_session::UpdateProxySession, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::update_proxy_session::UpdateProxySessionError, + >, + > { + self.customize_middleware().await + } ///

The Amazon Chime voice connector ID.

pub fn voice_connector_id( mut self, diff --git a/sdk/chime/src/operation/update_room/builders.rs b/sdk/chime/src/operation/update_room/builders.rs index ece304188c52..839f50179e13 100644 --- a/sdk/chime/src/operation/update_room/builders.rs +++ b/sdk/chime/src/operation/update_room/builders.rs @@ -19,9 +19,9 @@ impl UpdateRoomFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl UpdateRoomFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::update_room::UpdateRoom, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

The Amazon Chime account ID.

pub fn account_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.account_id(input.into()); diff --git a/sdk/chime/src/operation/update_room_membership/builders.rs b/sdk/chime/src/operation/update_room_membership/builders.rs index 054cc0b1db74..2bccfdacff1a 100644 --- a/sdk/chime/src/operation/update_room_membership/builders.rs +++ b/sdk/chime/src/operation/update_room_membership/builders.rs @@ -19,9 +19,9 @@ impl UpdateRoomMembershipFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl UpdateRoomMembershipFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::update_room_membership::UpdateRoomMembership, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::update_room_membership::UpdateRoomMembershipError, + >, + > { + self.customize_middleware().await + } ///

The Amazon Chime account ID.

pub fn account_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.account_id(input.into()); diff --git a/sdk/chime/src/operation/update_sip_media_application/builders.rs b/sdk/chime/src/operation/update_sip_media_application/builders.rs index 794244598e29..3f3d9c42e922 100644 --- a/sdk/chime/src/operation/update_sip_media_application/builders.rs +++ b/sdk/chime/src/operation/update_sip_media_application/builders.rs @@ -19,9 +19,9 @@ impl UpdateSipMediaApplicationFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl UpdateSipMediaApplicationFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::update_sip_media_application::UpdateSipMediaApplication, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::update_sip_media_application::UpdateSipMediaApplicationError, + >, + > { + self.customize_middleware().await + } ///

The SIP media application ID.

pub fn sip_media_application_id( mut self, diff --git a/sdk/chime/src/operation/update_sip_media_application_call/builders.rs b/sdk/chime/src/operation/update_sip_media_application_call/builders.rs index d3c382dcfcdf..c9bed83f660e 100644 --- a/sdk/chime/src/operation/update_sip_media_application_call/builders.rs +++ b/sdk/chime/src/operation/update_sip_media_application_call/builders.rs @@ -19,9 +19,9 @@ impl UpdateSipMediaApplicationCallFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl UpdateSipMediaApplicationCallFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::update_sip_media_application_call::UpdateSipMediaApplicationCall, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::update_sip_media_application_call::UpdateSipMediaApplicationCallError, + >, + > { + self.customize_middleware().await + } ///

The ID of the SIP media application handling the call.

pub fn sip_media_application_id( mut self, diff --git a/sdk/chime/src/operation/update_sip_rule/builders.rs b/sdk/chime/src/operation/update_sip_rule/builders.rs index 337071f2a132..e71b0bae0267 100644 --- a/sdk/chime/src/operation/update_sip_rule/builders.rs +++ b/sdk/chime/src/operation/update_sip_rule/builders.rs @@ -19,9 +19,9 @@ impl UpdateSipRuleFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl UpdateSipRuleFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::update_sip_rule::UpdateSipRule, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

The SIP rule ID.

pub fn sip_rule_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.sip_rule_id(input.into()); diff --git a/sdk/chime/src/operation/update_user/builders.rs b/sdk/chime/src/operation/update_user/builders.rs index 99e1e7e267cd..91f34891ceff 100644 --- a/sdk/chime/src/operation/update_user/builders.rs +++ b/sdk/chime/src/operation/update_user/builders.rs @@ -19,9 +19,9 @@ impl UpdateUserFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl UpdateUserFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::update_user::UpdateUser, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

The Amazon Chime account ID.

pub fn account_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.account_id(input.into()); diff --git a/sdk/chime/src/operation/update_user_settings/builders.rs b/sdk/chime/src/operation/update_user_settings/builders.rs index 6b3d457fcf8b..c946473e5528 100644 --- a/sdk/chime/src/operation/update_user_settings/builders.rs +++ b/sdk/chime/src/operation/update_user_settings/builders.rs @@ -19,9 +19,9 @@ impl UpdateUserSettingsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl UpdateUserSettingsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::update_user_settings::UpdateUserSettings, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::update_user_settings::UpdateUserSettingsError, + >, + > { + self.customize_middleware().await + } ///

The Amazon Chime account ID.

pub fn account_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.account_id(input.into()); diff --git a/sdk/chime/src/operation/update_voice_connector/builders.rs b/sdk/chime/src/operation/update_voice_connector/builders.rs index 40378975818d..5efe445fb091 100644 --- a/sdk/chime/src/operation/update_voice_connector/builders.rs +++ b/sdk/chime/src/operation/update_voice_connector/builders.rs @@ -19,9 +19,9 @@ impl UpdateVoiceConnectorFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl UpdateVoiceConnectorFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::update_voice_connector::UpdateVoiceConnector, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::update_voice_connector::UpdateVoiceConnectorError, + >, + > { + self.customize_middleware().await + } ///

The Amazon Chime Voice Connector ID.

pub fn voice_connector_id( mut self, diff --git a/sdk/chime/src/operation/update_voice_connector_group/builders.rs b/sdk/chime/src/operation/update_voice_connector_group/builders.rs index 79662a1d34c8..65ff9be4c1cc 100644 --- a/sdk/chime/src/operation/update_voice_connector_group/builders.rs +++ b/sdk/chime/src/operation/update_voice_connector_group/builders.rs @@ -19,9 +19,9 @@ impl UpdateVoiceConnectorGroupFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl UpdateVoiceConnectorGroupFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::update_voice_connector_group::UpdateVoiceConnectorGroup, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::update_voice_connector_group::UpdateVoiceConnectorGroupError, + >, + > { + self.customize_middleware().await + } ///

The Amazon Chime Voice Connector group ID.

pub fn voice_connector_group_id( mut self, diff --git a/sdk/chime/src/operation/validate_e911_address/builders.rs b/sdk/chime/src/operation/validate_e911_address/builders.rs index 09d22b4722c5..1f0a73a279e0 100644 --- a/sdk/chime/src/operation/validate_e911_address/builders.rs +++ b/sdk/chime/src/operation/validate_e911_address/builders.rs @@ -19,9 +19,9 @@ impl ValidateE911AddressFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl ValidateE911AddressFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::validate_e911_address::ValidateE911Address, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::validate_e911_address::ValidateE911AddressError, + >, + > { + self.customize_middleware().await + } ///

The AWS account ID.

pub fn aws_account_id( mut self, diff --git a/sdk/chimesdkidentity/src/operation/create_app_instance/builders.rs b/sdk/chimesdkidentity/src/operation/create_app_instance/builders.rs index 66dd8dc0a745..5963fdcea92f 100644 --- a/sdk/chimesdkidentity/src/operation/create_app_instance/builders.rs +++ b/sdk/chimesdkidentity/src/operation/create_app_instance/builders.rs @@ -20,9 +20,9 @@ impl CreateAppInstanceFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -84,6 +84,22 @@ impl CreateAppInstanceFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::create_app_instance::CreateAppInstance, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::create_app_instance::CreateAppInstanceError, + >, + > { + self.customize_middleware().await + } ///

The name of the AppInstance.

pub fn name(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.name(input.into()); diff --git a/sdk/chimesdkidentity/src/operation/create_app_instance_admin/builders.rs b/sdk/chimesdkidentity/src/operation/create_app_instance_admin/builders.rs index 14212b16c0d3..8c4db02ec41f 100644 --- a/sdk/chimesdkidentity/src/operation/create_app_instance_admin/builders.rs +++ b/sdk/chimesdkidentity/src/operation/create_app_instance_admin/builders.rs @@ -25,9 +25,9 @@ impl CreateAppInstanceAdminFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -89,6 +89,22 @@ impl CreateAppInstanceAdminFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::create_app_instance_admin::CreateAppInstanceAdmin, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::create_app_instance_admin::CreateAppInstanceAdminError, + >, + > { + self.customize_middleware().await + } ///

The ARN of the administrator of the current AppInstance.

pub fn app_instance_admin_arn( mut self, diff --git a/sdk/chimesdkidentity/src/operation/create_app_instance_bot/builders.rs b/sdk/chimesdkidentity/src/operation/create_app_instance_bot/builders.rs index 03d6b49586b0..791de66dc3fc 100644 --- a/sdk/chimesdkidentity/src/operation/create_app_instance_bot/builders.rs +++ b/sdk/chimesdkidentity/src/operation/create_app_instance_bot/builders.rs @@ -19,9 +19,9 @@ impl CreateAppInstanceBotFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl CreateAppInstanceBotFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::create_app_instance_bot::CreateAppInstanceBot, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::create_app_instance_bot::CreateAppInstanceBotError, + >, + > { + self.customize_middleware().await + } ///

The ARN of the AppInstance request.

pub fn app_instance_arn( mut self, diff --git a/sdk/chimesdkidentity/src/operation/create_app_instance_user/builders.rs b/sdk/chimesdkidentity/src/operation/create_app_instance_user/builders.rs index 2d680247219c..a0449a44b058 100644 --- a/sdk/chimesdkidentity/src/operation/create_app_instance_user/builders.rs +++ b/sdk/chimesdkidentity/src/operation/create_app_instance_user/builders.rs @@ -19,9 +19,9 @@ impl CreateAppInstanceUserFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl CreateAppInstanceUserFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::create_app_instance_user::CreateAppInstanceUser, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::create_app_instance_user::CreateAppInstanceUserError, + >, + > { + self.customize_middleware().await + } ///

The ARN of the AppInstance request.

pub fn app_instance_arn( mut self, diff --git a/sdk/chimesdkidentity/src/operation/delete_app_instance/builders.rs b/sdk/chimesdkidentity/src/operation/delete_app_instance/builders.rs index d1af1ce1746d..080950d1d7ec 100644 --- a/sdk/chimesdkidentity/src/operation/delete_app_instance/builders.rs +++ b/sdk/chimesdkidentity/src/operation/delete_app_instance/builders.rs @@ -19,9 +19,9 @@ impl DeleteAppInstanceFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl DeleteAppInstanceFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::delete_app_instance::DeleteAppInstance, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::delete_app_instance::DeleteAppInstanceError, + >, + > { + self.customize_middleware().await + } ///

The ARN of the AppInstance.

pub fn app_instance_arn( mut self, diff --git a/sdk/chimesdkidentity/src/operation/delete_app_instance_admin/builders.rs b/sdk/chimesdkidentity/src/operation/delete_app_instance_admin/builders.rs index 2065e714ed4d..66fb3adee9ca 100644 --- a/sdk/chimesdkidentity/src/operation/delete_app_instance_admin/builders.rs +++ b/sdk/chimesdkidentity/src/operation/delete_app_instance_admin/builders.rs @@ -20,9 +20,9 @@ impl DeleteAppInstanceAdminFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -84,6 +84,22 @@ impl DeleteAppInstanceAdminFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::delete_app_instance_admin::DeleteAppInstanceAdmin, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::delete_app_instance_admin::DeleteAppInstanceAdminError, + >, + > { + self.customize_middleware().await + } ///

The ARN of the AppInstance's administrator.

pub fn app_instance_admin_arn( mut self, diff --git a/sdk/chimesdkidentity/src/operation/delete_app_instance_bot/builders.rs b/sdk/chimesdkidentity/src/operation/delete_app_instance_bot/builders.rs index 8260c8a04922..c4ff5f2c5c82 100644 --- a/sdk/chimesdkidentity/src/operation/delete_app_instance_bot/builders.rs +++ b/sdk/chimesdkidentity/src/operation/delete_app_instance_bot/builders.rs @@ -19,9 +19,9 @@ impl DeleteAppInstanceBotFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl DeleteAppInstanceBotFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::delete_app_instance_bot::DeleteAppInstanceBot, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::delete_app_instance_bot::DeleteAppInstanceBotError, + >, + > { + self.customize_middleware().await + } ///

The ARN of the AppInstanceBot being deleted.

pub fn app_instance_bot_arn( mut self, diff --git a/sdk/chimesdkidentity/src/operation/delete_app_instance_user/builders.rs b/sdk/chimesdkidentity/src/operation/delete_app_instance_user/builders.rs index 0f4c2e6eb402..edc613a99513 100644 --- a/sdk/chimesdkidentity/src/operation/delete_app_instance_user/builders.rs +++ b/sdk/chimesdkidentity/src/operation/delete_app_instance_user/builders.rs @@ -19,9 +19,9 @@ impl DeleteAppInstanceUserFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl DeleteAppInstanceUserFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::delete_app_instance_user::DeleteAppInstanceUser, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::delete_app_instance_user::DeleteAppInstanceUserError, + >, + > { + self.customize_middleware().await + } ///

The ARN of the user request being deleted.

pub fn app_instance_user_arn( mut self, diff --git a/sdk/chimesdkidentity/src/operation/deregister_app_instance_user_endpoint/builders.rs b/sdk/chimesdkidentity/src/operation/deregister_app_instance_user_endpoint/builders.rs index 4d8a9f437d27..6f87f2a1bc91 100644 --- a/sdk/chimesdkidentity/src/operation/deregister_app_instance_user_endpoint/builders.rs +++ b/sdk/chimesdkidentity/src/operation/deregister_app_instance_user_endpoint/builders.rs @@ -19,9 +19,9 @@ impl DeregisterAppInstanceUserEndpointFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize(self) -> ::std::result::Result< + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware(self) -> ::std::result::Result< crate::client::customize::CustomizableOperation, ::aws_smithy_http::result::SdkError >{ @@ -64,6 +64,15 @@ impl DeregisterAppInstanceUserEndpointFluentBuilder { { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize(self) -> ::std::result::Result< + crate::client::customize::CustomizableOperation, + ::aws_smithy_http::result::SdkError + >{ + self.customize_middleware().await + } ///

The ARN of the AppInstanceUser.

pub fn app_instance_user_arn( mut self, diff --git a/sdk/chimesdkidentity/src/operation/describe_app_instance/builders.rs b/sdk/chimesdkidentity/src/operation/describe_app_instance/builders.rs index 4f34db2e18fa..97e53449f98a 100644 --- a/sdk/chimesdkidentity/src/operation/describe_app_instance/builders.rs +++ b/sdk/chimesdkidentity/src/operation/describe_app_instance/builders.rs @@ -19,9 +19,9 @@ impl DescribeAppInstanceFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl DescribeAppInstanceFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::describe_app_instance::DescribeAppInstance, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::describe_app_instance::DescribeAppInstanceError, + >, + > { + self.customize_middleware().await + } ///

The ARN of the AppInstance.

pub fn app_instance_arn( mut self, diff --git a/sdk/chimesdkidentity/src/operation/describe_app_instance_admin/builders.rs b/sdk/chimesdkidentity/src/operation/describe_app_instance_admin/builders.rs index 22e3282a4114..12c2099349b2 100644 --- a/sdk/chimesdkidentity/src/operation/describe_app_instance_admin/builders.rs +++ b/sdk/chimesdkidentity/src/operation/describe_app_instance_admin/builders.rs @@ -19,9 +19,9 @@ impl DescribeAppInstanceAdminFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl DescribeAppInstanceAdminFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::describe_app_instance_admin::DescribeAppInstanceAdmin, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::describe_app_instance_admin::DescribeAppInstanceAdminError, + >, + > { + self.customize_middleware().await + } ///

The ARN of the AppInstanceAdmin.

pub fn app_instance_admin_arn( mut self, diff --git a/sdk/chimesdkidentity/src/operation/describe_app_instance_bot/builders.rs b/sdk/chimesdkidentity/src/operation/describe_app_instance_bot/builders.rs index 52a34290ae63..33008ba8e63d 100644 --- a/sdk/chimesdkidentity/src/operation/describe_app_instance_bot/builders.rs +++ b/sdk/chimesdkidentity/src/operation/describe_app_instance_bot/builders.rs @@ -20,9 +20,9 @@ impl DescribeAppInstanceBotFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -84,6 +84,22 @@ impl DescribeAppInstanceBotFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::describe_app_instance_bot::DescribeAppInstanceBot, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::describe_app_instance_bot::DescribeAppInstanceBotError, + >, + > { + self.customize_middleware().await + } ///

The ARN of the AppInstanceBot.

pub fn app_instance_bot_arn( mut self, diff --git a/sdk/chimesdkidentity/src/operation/describe_app_instance_user/builders.rs b/sdk/chimesdkidentity/src/operation/describe_app_instance_user/builders.rs index 4dc0dba8fe10..2ff93e5be463 100644 --- a/sdk/chimesdkidentity/src/operation/describe_app_instance_user/builders.rs +++ b/sdk/chimesdkidentity/src/operation/describe_app_instance_user/builders.rs @@ -20,9 +20,9 @@ impl DescribeAppInstanceUserFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -84,6 +84,22 @@ impl DescribeAppInstanceUserFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::describe_app_instance_user::DescribeAppInstanceUser, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::describe_app_instance_user::DescribeAppInstanceUserError, + >, + > { + self.customize_middleware().await + } ///

The ARN of the AppInstanceUser.

pub fn app_instance_user_arn( mut self, diff --git a/sdk/chimesdkidentity/src/operation/describe_app_instance_user_endpoint/builders.rs b/sdk/chimesdkidentity/src/operation/describe_app_instance_user_endpoint/builders.rs index 189194588f7a..bf6c59178fb2 100644 --- a/sdk/chimesdkidentity/src/operation/describe_app_instance_user_endpoint/builders.rs +++ b/sdk/chimesdkidentity/src/operation/describe_app_instance_user_endpoint/builders.rs @@ -19,9 +19,9 @@ impl DescribeAppInstanceUserEndpointFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize(self) -> ::std::result::Result< + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware(self) -> ::std::result::Result< crate::client::customize::CustomizableOperation, ::aws_smithy_http::result::SdkError >{ @@ -64,6 +64,15 @@ impl DescribeAppInstanceUserEndpointFluentBuilder { { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize(self) -> ::std::result::Result< + crate::client::customize::CustomizableOperation, + ::aws_smithy_http::result::SdkError + >{ + self.customize_middleware().await + } ///

The ARN of the AppInstanceUser.

pub fn app_instance_user_arn( mut self, diff --git a/sdk/chimesdkidentity/src/operation/get_app_instance_retention_settings/builders.rs b/sdk/chimesdkidentity/src/operation/get_app_instance_retention_settings/builders.rs index 1b7452f79480..b81c77e8d0b5 100644 --- a/sdk/chimesdkidentity/src/operation/get_app_instance_retention_settings/builders.rs +++ b/sdk/chimesdkidentity/src/operation/get_app_instance_retention_settings/builders.rs @@ -19,9 +19,9 @@ impl GetAppInstanceRetentionSettingsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize(self) -> ::std::result::Result< + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware(self) -> ::std::result::Result< crate::client::customize::CustomizableOperation, ::aws_smithy_http::result::SdkError >{ @@ -64,6 +64,15 @@ impl GetAppInstanceRetentionSettingsFluentBuilder { { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize(self) -> ::std::result::Result< + crate::client::customize::CustomizableOperation, + ::aws_smithy_http::result::SdkError + >{ + self.customize_middleware().await + } ///

The ARN of the AppInstance.

pub fn app_instance_arn( mut self, diff --git a/sdk/chimesdkidentity/src/operation/list_app_instance_admins/builders.rs b/sdk/chimesdkidentity/src/operation/list_app_instance_admins/builders.rs index 29c8eed1eadb..b7e3a41af944 100644 --- a/sdk/chimesdkidentity/src/operation/list_app_instance_admins/builders.rs +++ b/sdk/chimesdkidentity/src/operation/list_app_instance_admins/builders.rs @@ -19,9 +19,9 @@ impl ListAppInstanceAdminsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl ListAppInstanceAdminsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_app_instance_admins::ListAppInstanceAdmins, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::list_app_instance_admins::ListAppInstanceAdminsError, + >, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::list_app_instance_admins::paginator::ListAppInstanceAdminsPaginator::send) which returns a `Stream`. diff --git a/sdk/chimesdkidentity/src/operation/list_app_instance_bots/builders.rs b/sdk/chimesdkidentity/src/operation/list_app_instance_bots/builders.rs index 7dedddddc349..d02e550b597a 100644 --- a/sdk/chimesdkidentity/src/operation/list_app_instance_bots/builders.rs +++ b/sdk/chimesdkidentity/src/operation/list_app_instance_bots/builders.rs @@ -19,9 +19,9 @@ impl ListAppInstanceBotsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl ListAppInstanceBotsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_app_instance_bots::ListAppInstanceBots, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::list_app_instance_bots::ListAppInstanceBotsError, + >, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::list_app_instance_bots::paginator::ListAppInstanceBotsPaginator::send) which returns a `Stream`. diff --git a/sdk/chimesdkidentity/src/operation/list_app_instance_user_endpoints/builders.rs b/sdk/chimesdkidentity/src/operation/list_app_instance_user_endpoints/builders.rs index 1d48b7fab8d5..0426e9637447 100644 --- a/sdk/chimesdkidentity/src/operation/list_app_instance_user_endpoints/builders.rs +++ b/sdk/chimesdkidentity/src/operation/list_app_instance_user_endpoints/builders.rs @@ -19,9 +19,9 @@ impl ListAppInstanceUserEndpointsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl ListAppInstanceUserEndpointsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_app_instance_user_endpoints::ListAppInstanceUserEndpoints, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::list_app_instance_user_endpoints::ListAppInstanceUserEndpointsError, + >, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::list_app_instance_user_endpoints::paginator::ListAppInstanceUserEndpointsPaginator::send) which returns a `Stream`. diff --git a/sdk/chimesdkidentity/src/operation/list_app_instance_users/builders.rs b/sdk/chimesdkidentity/src/operation/list_app_instance_users/builders.rs index 97c71421bca8..b81e0035d974 100644 --- a/sdk/chimesdkidentity/src/operation/list_app_instance_users/builders.rs +++ b/sdk/chimesdkidentity/src/operation/list_app_instance_users/builders.rs @@ -19,9 +19,9 @@ impl ListAppInstanceUsersFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl ListAppInstanceUsersFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_app_instance_users::ListAppInstanceUsers, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::list_app_instance_users::ListAppInstanceUsersError, + >, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::list_app_instance_users::paginator::ListAppInstanceUsersPaginator::send) which returns a `Stream`. diff --git a/sdk/chimesdkidentity/src/operation/list_app_instances/builders.rs b/sdk/chimesdkidentity/src/operation/list_app_instances/builders.rs index 681e42205a60..24423b0b4c96 100644 --- a/sdk/chimesdkidentity/src/operation/list_app_instances/builders.rs +++ b/sdk/chimesdkidentity/src/operation/list_app_instances/builders.rs @@ -19,9 +19,9 @@ impl ListAppInstancesFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl ListAppInstancesFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_app_instances::ListAppInstances, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::list_app_instances::ListAppInstancesError, + >, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::list_app_instances::paginator::ListAppInstancesPaginator::send) which returns a `Stream`. diff --git a/sdk/chimesdkidentity/src/operation/list_tags_for_resource/builders.rs b/sdk/chimesdkidentity/src/operation/list_tags_for_resource/builders.rs index 2f82ce220432..8965e5531aad 100644 --- a/sdk/chimesdkidentity/src/operation/list_tags_for_resource/builders.rs +++ b/sdk/chimesdkidentity/src/operation/list_tags_for_resource/builders.rs @@ -19,9 +19,9 @@ impl ListTagsForResourceFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl ListTagsForResourceFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_tags_for_resource::ListTagsForResource, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::list_tags_for_resource::ListTagsForResourceError, + >, + > { + self.customize_middleware().await + } ///

The ARN of the resource.

pub fn resource_arn(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.resource_arn(input.into()); diff --git a/sdk/chimesdkidentity/src/operation/put_app_instance_retention_settings/builders.rs b/sdk/chimesdkidentity/src/operation/put_app_instance_retention_settings/builders.rs index 9c038a079686..935277781ddb 100644 --- a/sdk/chimesdkidentity/src/operation/put_app_instance_retention_settings/builders.rs +++ b/sdk/chimesdkidentity/src/operation/put_app_instance_retention_settings/builders.rs @@ -19,9 +19,9 @@ impl PutAppInstanceRetentionSettingsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize(self) -> ::std::result::Result< + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware(self) -> ::std::result::Result< crate::client::customize::CustomizableOperation, ::aws_smithy_http::result::SdkError >{ @@ -64,6 +64,15 @@ impl PutAppInstanceRetentionSettingsFluentBuilder { { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize(self) -> ::std::result::Result< + crate::client::customize::CustomizableOperation, + ::aws_smithy_http::result::SdkError + >{ + self.customize_middleware().await + } ///

The ARN of the AppInstance.

pub fn app_instance_arn( mut self, diff --git a/sdk/chimesdkidentity/src/operation/put_app_instance_user_expiration_settings/builders.rs b/sdk/chimesdkidentity/src/operation/put_app_instance_user_expiration_settings/builders.rs index d45d3f3ddeab..cb86b56cc8af 100644 --- a/sdk/chimesdkidentity/src/operation/put_app_instance_user_expiration_settings/builders.rs +++ b/sdk/chimesdkidentity/src/operation/put_app_instance_user_expiration_settings/builders.rs @@ -22,9 +22,9 @@ impl PutAppInstanceUserExpirationSettingsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize(self) -> ::std::result::Result< + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware(self) -> ::std::result::Result< crate::client::customize::CustomizableOperation, ::aws_smithy_http::result::SdkError >{ @@ -67,6 +67,15 @@ impl PutAppInstanceUserExpirationSettingsFluentBuilder { { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize(self) -> ::std::result::Result< + crate::client::customize::CustomizableOperation, + ::aws_smithy_http::result::SdkError + >{ + self.customize_middleware().await + } ///

The ARN of the AppInstanceUser.

pub fn app_instance_user_arn( mut self, diff --git a/sdk/chimesdkidentity/src/operation/register_app_instance_user_endpoint/builders.rs b/sdk/chimesdkidentity/src/operation/register_app_instance_user_endpoint/builders.rs index d2c113f816b4..6eec42e84b7d 100644 --- a/sdk/chimesdkidentity/src/operation/register_app_instance_user_endpoint/builders.rs +++ b/sdk/chimesdkidentity/src/operation/register_app_instance_user_endpoint/builders.rs @@ -19,9 +19,9 @@ impl RegisterAppInstanceUserEndpointFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize(self) -> ::std::result::Result< + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware(self) -> ::std::result::Result< crate::client::customize::CustomizableOperation, ::aws_smithy_http::result::SdkError >{ @@ -64,6 +64,15 @@ impl RegisterAppInstanceUserEndpointFluentBuilder { { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize(self) -> ::std::result::Result< + crate::client::customize::CustomizableOperation, + ::aws_smithy_http::result::SdkError + >{ + self.customize_middleware().await + } ///

The ARN of the AppInstanceUser.

pub fn app_instance_user_arn( mut self, diff --git a/sdk/chimesdkidentity/src/operation/tag_resource/builders.rs b/sdk/chimesdkidentity/src/operation/tag_resource/builders.rs index 0f5e409b90cc..72faf58889e3 100644 --- a/sdk/chimesdkidentity/src/operation/tag_resource/builders.rs +++ b/sdk/chimesdkidentity/src/operation/tag_resource/builders.rs @@ -19,9 +19,9 @@ impl TagResourceFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl TagResourceFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::tag_resource::TagResource, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

The resource ARN.

pub fn resource_arn(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.resource_arn(input.into()); diff --git a/sdk/chimesdkidentity/src/operation/untag_resource/builders.rs b/sdk/chimesdkidentity/src/operation/untag_resource/builders.rs index bb35aedcf956..7806929ebf63 100644 --- a/sdk/chimesdkidentity/src/operation/untag_resource/builders.rs +++ b/sdk/chimesdkidentity/src/operation/untag_resource/builders.rs @@ -19,9 +19,9 @@ impl UntagResourceFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl UntagResourceFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::untag_resource::UntagResource, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

The resource ARN.

pub fn resource_arn(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.resource_arn(input.into()); diff --git a/sdk/chimesdkidentity/src/operation/update_app_instance/builders.rs b/sdk/chimesdkidentity/src/operation/update_app_instance/builders.rs index 7c2ec245fdcd..ec0dde305579 100644 --- a/sdk/chimesdkidentity/src/operation/update_app_instance/builders.rs +++ b/sdk/chimesdkidentity/src/operation/update_app_instance/builders.rs @@ -19,9 +19,9 @@ impl UpdateAppInstanceFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl UpdateAppInstanceFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::update_app_instance::UpdateAppInstance, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::update_app_instance::UpdateAppInstanceError, + >, + > { + self.customize_middleware().await + } ///

The ARN of the AppInstance.

pub fn app_instance_arn( mut self, diff --git a/sdk/chimesdkidentity/src/operation/update_app_instance_bot/builders.rs b/sdk/chimesdkidentity/src/operation/update_app_instance_bot/builders.rs index 05e1d8deb2d0..29a4bedc07d6 100644 --- a/sdk/chimesdkidentity/src/operation/update_app_instance_bot/builders.rs +++ b/sdk/chimesdkidentity/src/operation/update_app_instance_bot/builders.rs @@ -19,9 +19,9 @@ impl UpdateAppInstanceBotFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl UpdateAppInstanceBotFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::update_app_instance_bot::UpdateAppInstanceBot, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::update_app_instance_bot::UpdateAppInstanceBotError, + >, + > { + self.customize_middleware().await + } ///

The ARN of the AppInstanceBot.

pub fn app_instance_bot_arn( mut self, diff --git a/sdk/chimesdkidentity/src/operation/update_app_instance_user/builders.rs b/sdk/chimesdkidentity/src/operation/update_app_instance_user/builders.rs index 9618fbf4e9fd..29fbb8cd5a5d 100644 --- a/sdk/chimesdkidentity/src/operation/update_app_instance_user/builders.rs +++ b/sdk/chimesdkidentity/src/operation/update_app_instance_user/builders.rs @@ -19,9 +19,9 @@ impl UpdateAppInstanceUserFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl UpdateAppInstanceUserFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::update_app_instance_user::UpdateAppInstanceUser, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::update_app_instance_user::UpdateAppInstanceUserError, + >, + > { + self.customize_middleware().await + } ///

The ARN of the AppInstanceUser.

pub fn app_instance_user_arn( mut self, diff --git a/sdk/chimesdkidentity/src/operation/update_app_instance_user_endpoint/builders.rs b/sdk/chimesdkidentity/src/operation/update_app_instance_user_endpoint/builders.rs index 1ce60cd89713..b47cc189934d 100644 --- a/sdk/chimesdkidentity/src/operation/update_app_instance_user_endpoint/builders.rs +++ b/sdk/chimesdkidentity/src/operation/update_app_instance_user_endpoint/builders.rs @@ -19,9 +19,9 @@ impl UpdateAppInstanceUserEndpointFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl UpdateAppInstanceUserEndpointFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::update_app_instance_user_endpoint::UpdateAppInstanceUserEndpoint, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::update_app_instance_user_endpoint::UpdateAppInstanceUserEndpointError, + >, + > { + self.customize_middleware().await + } ///

The ARN of the AppInstanceUser.

pub fn app_instance_user_arn( mut self, diff --git a/sdk/chimesdkmediapipelines/src/operation/create_media_capture_pipeline/builders.rs b/sdk/chimesdkmediapipelines/src/operation/create_media_capture_pipeline/builders.rs index c94ca246cbe0..68e8ca70941c 100644 --- a/sdk/chimesdkmediapipelines/src/operation/create_media_capture_pipeline/builders.rs +++ b/sdk/chimesdkmediapipelines/src/operation/create_media_capture_pipeline/builders.rs @@ -19,9 +19,9 @@ impl CreateMediaCapturePipelineFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl CreateMediaCapturePipelineFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::create_media_capture_pipeline::CreateMediaCapturePipeline, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::create_media_capture_pipeline::CreateMediaCapturePipelineError, + >, + > { + self.customize_middleware().await + } ///

Source type from which the media artifacts are captured. A Chime SDK Meeting is the only supported source.

pub fn source_type(mut self, input: crate::types::MediaPipelineSourceType) -> Self { self.inner = self.inner.source_type(input); diff --git a/sdk/chimesdkmediapipelines/src/operation/create_media_concatenation_pipeline/builders.rs b/sdk/chimesdkmediapipelines/src/operation/create_media_concatenation_pipeline/builders.rs index 54a5e4f4c6f8..6ae6c9c9d702 100644 --- a/sdk/chimesdkmediapipelines/src/operation/create_media_concatenation_pipeline/builders.rs +++ b/sdk/chimesdkmediapipelines/src/operation/create_media_concatenation_pipeline/builders.rs @@ -19,9 +19,9 @@ impl CreateMediaConcatenationPipelineFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize(self) -> ::std::result::Result< + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware(self) -> ::std::result::Result< crate::client::customize::CustomizableOperation, ::aws_smithy_http::result::SdkError >{ @@ -64,6 +64,15 @@ impl CreateMediaConcatenationPipelineFluentBuilder { { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize(self) -> ::std::result::Result< + crate::client::customize::CustomizableOperation, + ::aws_smithy_http::result::SdkError + >{ + self.customize_middleware().await + } /// Appends an item to `Sources`. /// /// To override the contents of this collection use [`set_sources`](Self::set_sources). diff --git a/sdk/chimesdkmediapipelines/src/operation/create_media_insights_pipeline/builders.rs b/sdk/chimesdkmediapipelines/src/operation/create_media_insights_pipeline/builders.rs index 7fce410c515f..1eb7bd976cc2 100644 --- a/sdk/chimesdkmediapipelines/src/operation/create_media_insights_pipeline/builders.rs +++ b/sdk/chimesdkmediapipelines/src/operation/create_media_insights_pipeline/builders.rs @@ -19,9 +19,9 @@ impl CreateMediaInsightsPipelineFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl CreateMediaInsightsPipelineFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::create_media_insights_pipeline::CreateMediaInsightsPipeline, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::create_media_insights_pipeline::CreateMediaInsightsPipelineError, + >, + > { + self.customize_middleware().await + } ///

The ARN of the pipeline's configuration.

pub fn media_insights_pipeline_configuration_arn( mut self, diff --git a/sdk/chimesdkmediapipelines/src/operation/create_media_insights_pipeline_configuration/builders.rs b/sdk/chimesdkmediapipelines/src/operation/create_media_insights_pipeline_configuration/builders.rs index f7c270e45336..863f69a2642e 100644 --- a/sdk/chimesdkmediapipelines/src/operation/create_media_insights_pipeline_configuration/builders.rs +++ b/sdk/chimesdkmediapipelines/src/operation/create_media_insights_pipeline_configuration/builders.rs @@ -19,9 +19,9 @@ impl CreateMediaInsightsPipelineConfigurationFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize(self) -> ::std::result::Result< + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware(self) -> ::std::result::Result< crate::client::customize::CustomizableOperation, ::aws_smithy_http::result::SdkError >{ @@ -64,6 +64,15 @@ impl CreateMediaInsightsPipelineConfigurationFluentBuilder { { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize(self) -> ::std::result::Result< + crate::client::customize::CustomizableOperation, + ::aws_smithy_http::result::SdkError + >{ + self.customize_middleware().await + } ///

The name of the media insights pipeline configuration.

pub fn media_insights_pipeline_configuration_name( mut self, diff --git a/sdk/chimesdkmediapipelines/src/operation/create_media_live_connector_pipeline/builders.rs b/sdk/chimesdkmediapipelines/src/operation/create_media_live_connector_pipeline/builders.rs index 38f25e81ee88..1463b5ac82a8 100644 --- a/sdk/chimesdkmediapipelines/src/operation/create_media_live_connector_pipeline/builders.rs +++ b/sdk/chimesdkmediapipelines/src/operation/create_media_live_connector_pipeline/builders.rs @@ -19,9 +19,9 @@ impl CreateMediaLiveConnectorPipelineFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize(self) -> ::std::result::Result< + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware(self) -> ::std::result::Result< crate::client::customize::CustomizableOperation, ::aws_smithy_http::result::SdkError >{ @@ -64,6 +64,15 @@ impl CreateMediaLiveConnectorPipelineFluentBuilder { { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize(self) -> ::std::result::Result< + crate::client::customize::CustomizableOperation, + ::aws_smithy_http::result::SdkError + >{ + self.customize_middleware().await + } /// Appends an item to `Sources`. /// /// To override the contents of this collection use [`set_sources`](Self::set_sources). diff --git a/sdk/chimesdkmediapipelines/src/operation/delete_media_capture_pipeline/builders.rs b/sdk/chimesdkmediapipelines/src/operation/delete_media_capture_pipeline/builders.rs index 249b138c1ee8..e1c75c78ee23 100644 --- a/sdk/chimesdkmediapipelines/src/operation/delete_media_capture_pipeline/builders.rs +++ b/sdk/chimesdkmediapipelines/src/operation/delete_media_capture_pipeline/builders.rs @@ -19,9 +19,9 @@ impl DeleteMediaCapturePipelineFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl DeleteMediaCapturePipelineFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::delete_media_capture_pipeline::DeleteMediaCapturePipeline, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::delete_media_capture_pipeline::DeleteMediaCapturePipelineError, + >, + > { + self.customize_middleware().await + } ///

The ID of the media pipeline being deleted.

pub fn media_pipeline_id( mut self, diff --git a/sdk/chimesdkmediapipelines/src/operation/delete_media_insights_pipeline_configuration/builders.rs b/sdk/chimesdkmediapipelines/src/operation/delete_media_insights_pipeline_configuration/builders.rs index 116834b2fe66..16956fff4a33 100644 --- a/sdk/chimesdkmediapipelines/src/operation/delete_media_insights_pipeline_configuration/builders.rs +++ b/sdk/chimesdkmediapipelines/src/operation/delete_media_insights_pipeline_configuration/builders.rs @@ -19,9 +19,9 @@ impl DeleteMediaInsightsPipelineConfigurationFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize(self) -> ::std::result::Result< + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware(self) -> ::std::result::Result< crate::client::customize::CustomizableOperation, ::aws_smithy_http::result::SdkError >{ @@ -64,6 +64,15 @@ impl DeleteMediaInsightsPipelineConfigurationFluentBuilder { { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize(self) -> ::std::result::Result< + crate::client::customize::CustomizableOperation, + ::aws_smithy_http::result::SdkError + >{ + self.customize_middleware().await + } ///

The unique identifier of the resource to be deleted. Valid values include the name and ARN of the media insights pipeline configuration.

pub fn identifier(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.identifier(input.into()); diff --git a/sdk/chimesdkmediapipelines/src/operation/delete_media_pipeline/builders.rs b/sdk/chimesdkmediapipelines/src/operation/delete_media_pipeline/builders.rs index d4378ec9d2c6..2e5017c619e5 100644 --- a/sdk/chimesdkmediapipelines/src/operation/delete_media_pipeline/builders.rs +++ b/sdk/chimesdkmediapipelines/src/operation/delete_media_pipeline/builders.rs @@ -19,9 +19,9 @@ impl DeleteMediaPipelineFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl DeleteMediaPipelineFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::delete_media_pipeline::DeleteMediaPipeline, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::delete_media_pipeline::DeleteMediaPipelineError, + >, + > { + self.customize_middleware().await + } ///

The ID of the media pipeline to delete.

pub fn media_pipeline_id( mut self, diff --git a/sdk/chimesdkmediapipelines/src/operation/get_media_capture_pipeline/builders.rs b/sdk/chimesdkmediapipelines/src/operation/get_media_capture_pipeline/builders.rs index 79efdb48f428..8e73dd03a1d2 100644 --- a/sdk/chimesdkmediapipelines/src/operation/get_media_capture_pipeline/builders.rs +++ b/sdk/chimesdkmediapipelines/src/operation/get_media_capture_pipeline/builders.rs @@ -20,9 +20,9 @@ impl GetMediaCapturePipelineFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -84,6 +84,22 @@ impl GetMediaCapturePipelineFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::get_media_capture_pipeline::GetMediaCapturePipeline, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::get_media_capture_pipeline::GetMediaCapturePipelineError, + >, + > { + self.customize_middleware().await + } ///

The ID of the pipeline that you want to get.

pub fn media_pipeline_id( mut self, diff --git a/sdk/chimesdkmediapipelines/src/operation/get_media_insights_pipeline_configuration/builders.rs b/sdk/chimesdkmediapipelines/src/operation/get_media_insights_pipeline_configuration/builders.rs index b9021cac8369..f7c5acfe24e8 100644 --- a/sdk/chimesdkmediapipelines/src/operation/get_media_insights_pipeline_configuration/builders.rs +++ b/sdk/chimesdkmediapipelines/src/operation/get_media_insights_pipeline_configuration/builders.rs @@ -19,9 +19,9 @@ impl GetMediaInsightsPipelineConfigurationFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize(self) -> ::std::result::Result< + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware(self) -> ::std::result::Result< crate::client::customize::CustomizableOperation, ::aws_smithy_http::result::SdkError >{ @@ -64,6 +64,15 @@ impl GetMediaInsightsPipelineConfigurationFluentBuilder { { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize(self) -> ::std::result::Result< + crate::client::customize::CustomizableOperation, + ::aws_smithy_http::result::SdkError + >{ + self.customize_middleware().await + } ///

The unique identifier of the requested resource. Valid values include the name and ARN of the media insights pipeline configuration.

pub fn identifier(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.identifier(input.into()); diff --git a/sdk/chimesdkmediapipelines/src/operation/get_media_pipeline/builders.rs b/sdk/chimesdkmediapipelines/src/operation/get_media_pipeline/builders.rs index 0065d43b5e0d..72fa1c455752 100644 --- a/sdk/chimesdkmediapipelines/src/operation/get_media_pipeline/builders.rs +++ b/sdk/chimesdkmediapipelines/src/operation/get_media_pipeline/builders.rs @@ -19,9 +19,9 @@ impl GetMediaPipelineFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl GetMediaPipelineFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::get_media_pipeline::GetMediaPipeline, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::get_media_pipeline::GetMediaPipelineError, + >, + > { + self.customize_middleware().await + } ///

The ID of the pipeline that you want to get.

pub fn media_pipeline_id( mut self, diff --git a/sdk/chimesdkmediapipelines/src/operation/list_media_capture_pipelines/builders.rs b/sdk/chimesdkmediapipelines/src/operation/list_media_capture_pipelines/builders.rs index 627fde66bf5e..25db24a0979c 100644 --- a/sdk/chimesdkmediapipelines/src/operation/list_media_capture_pipelines/builders.rs +++ b/sdk/chimesdkmediapipelines/src/operation/list_media_capture_pipelines/builders.rs @@ -19,9 +19,9 @@ impl ListMediaCapturePipelinesFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl ListMediaCapturePipelinesFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_media_capture_pipelines::ListMediaCapturePipelines, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::list_media_capture_pipelines::ListMediaCapturePipelinesError, + >, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::list_media_capture_pipelines::paginator::ListMediaCapturePipelinesPaginator::send) which returns a `Stream`. diff --git a/sdk/chimesdkmediapipelines/src/operation/list_media_insights_pipeline_configurations/builders.rs b/sdk/chimesdkmediapipelines/src/operation/list_media_insights_pipeline_configurations/builders.rs index e6bccb8049e3..a6b0f1f86a8d 100644 --- a/sdk/chimesdkmediapipelines/src/operation/list_media_insights_pipeline_configurations/builders.rs +++ b/sdk/chimesdkmediapipelines/src/operation/list_media_insights_pipeline_configurations/builders.rs @@ -19,9 +19,9 @@ impl ListMediaInsightsPipelineConfigurationsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize(self) -> ::std::result::Result< + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware(self) -> ::std::result::Result< crate::client::customize::CustomizableOperation, ::aws_smithy_http::result::SdkError >{ @@ -64,6 +64,15 @@ impl ListMediaInsightsPipelineConfigurationsFluentBuilder { { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize(self) -> ::std::result::Result< + crate::client::customize::CustomizableOperation, + ::aws_smithy_http::result::SdkError + >{ + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::list_media_insights_pipeline_configurations::paginator::ListMediaInsightsPipelineConfigurationsPaginator::send) which returns a `Stream`. diff --git a/sdk/chimesdkmediapipelines/src/operation/list_media_pipelines/builders.rs b/sdk/chimesdkmediapipelines/src/operation/list_media_pipelines/builders.rs index 879c9abb6e7c..102fea639d4e 100644 --- a/sdk/chimesdkmediapipelines/src/operation/list_media_pipelines/builders.rs +++ b/sdk/chimesdkmediapipelines/src/operation/list_media_pipelines/builders.rs @@ -19,9 +19,9 @@ impl ListMediaPipelinesFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl ListMediaPipelinesFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_media_pipelines::ListMediaPipelines, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::list_media_pipelines::ListMediaPipelinesError, + >, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::list_media_pipelines::paginator::ListMediaPipelinesPaginator::send) which returns a `Stream`. diff --git a/sdk/chimesdkmediapipelines/src/operation/list_tags_for_resource/builders.rs b/sdk/chimesdkmediapipelines/src/operation/list_tags_for_resource/builders.rs index 29583c28781b..447294583664 100644 --- a/sdk/chimesdkmediapipelines/src/operation/list_tags_for_resource/builders.rs +++ b/sdk/chimesdkmediapipelines/src/operation/list_tags_for_resource/builders.rs @@ -19,9 +19,9 @@ impl ListTagsForResourceFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl ListTagsForResourceFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_tags_for_resource::ListTagsForResource, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::list_tags_for_resource::ListTagsForResourceError, + >, + > { + self.customize_middleware().await + } ///

The ARN of the media pipeline associated with any tags. The ARN consists of the pipeline's region, resource ID, and pipeline ID.

pub fn resource_arn(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.resource_arn(input.into()); diff --git a/sdk/chimesdkmediapipelines/src/operation/tag_resource/builders.rs b/sdk/chimesdkmediapipelines/src/operation/tag_resource/builders.rs index 42593de41147..c5dd1e949a27 100644 --- a/sdk/chimesdkmediapipelines/src/operation/tag_resource/builders.rs +++ b/sdk/chimesdkmediapipelines/src/operation/tag_resource/builders.rs @@ -19,9 +19,9 @@ impl TagResourceFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl TagResourceFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::tag_resource::TagResource, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

The ARN of the media pipeline associated with any tags. The ARN consists of the pipeline's endpoint region, resource ID, and pipeline ID.

pub fn resource_arn(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.resource_arn(input.into()); diff --git a/sdk/chimesdkmediapipelines/src/operation/untag_resource/builders.rs b/sdk/chimesdkmediapipelines/src/operation/untag_resource/builders.rs index 30aa8f732bce..fa8ce1f50ac4 100644 --- a/sdk/chimesdkmediapipelines/src/operation/untag_resource/builders.rs +++ b/sdk/chimesdkmediapipelines/src/operation/untag_resource/builders.rs @@ -19,9 +19,9 @@ impl UntagResourceFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl UntagResourceFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::untag_resource::UntagResource, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

The ARN of the pipeline that you want to untag.

pub fn resource_arn(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.resource_arn(input.into()); diff --git a/sdk/chimesdkmediapipelines/src/operation/update_media_insights_pipeline_configuration/builders.rs b/sdk/chimesdkmediapipelines/src/operation/update_media_insights_pipeline_configuration/builders.rs index 38c9d23882b6..96578904ba14 100644 --- a/sdk/chimesdkmediapipelines/src/operation/update_media_insights_pipeline_configuration/builders.rs +++ b/sdk/chimesdkmediapipelines/src/operation/update_media_insights_pipeline_configuration/builders.rs @@ -19,9 +19,9 @@ impl UpdateMediaInsightsPipelineConfigurationFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize(self) -> ::std::result::Result< + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware(self) -> ::std::result::Result< crate::client::customize::CustomizableOperation, ::aws_smithy_http::result::SdkError >{ @@ -64,6 +64,15 @@ impl UpdateMediaInsightsPipelineConfigurationFluentBuilder { { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize(self) -> ::std::result::Result< + crate::client::customize::CustomizableOperation, + ::aws_smithy_http::result::SdkError + >{ + self.customize_middleware().await + } ///

The unique identifier for the resource to be updated. Valid values include the name and ARN of the media insights pipeline configuration.

pub fn identifier(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.identifier(input.into()); diff --git a/sdk/chimesdkmediapipelines/src/operation/update_media_insights_pipeline_status/builders.rs b/sdk/chimesdkmediapipelines/src/operation/update_media_insights_pipeline_status/builders.rs index c357b155c1e7..ab25476aae3b 100644 --- a/sdk/chimesdkmediapipelines/src/operation/update_media_insights_pipeline_status/builders.rs +++ b/sdk/chimesdkmediapipelines/src/operation/update_media_insights_pipeline_status/builders.rs @@ -19,9 +19,9 @@ impl UpdateMediaInsightsPipelineStatusFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize(self) -> ::std::result::Result< + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware(self) -> ::std::result::Result< crate::client::customize::CustomizableOperation, ::aws_smithy_http::result::SdkError >{ @@ -64,6 +64,15 @@ impl UpdateMediaInsightsPipelineStatusFluentBuilder { { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize(self) -> ::std::result::Result< + crate::client::customize::CustomizableOperation, + ::aws_smithy_http::result::SdkError + >{ + self.customize_middleware().await + } ///

The unique identifier of the resource to be updated. Valid values include the ID and ARN of the media insights pipeline.

pub fn identifier(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.identifier(input.into()); diff --git a/sdk/chimesdkmeetings/src/operation/batch_create_attendee/builders.rs b/sdk/chimesdkmeetings/src/operation/batch_create_attendee/builders.rs index 399140dbcf27..10435d6f4e3f 100644 --- a/sdk/chimesdkmeetings/src/operation/batch_create_attendee/builders.rs +++ b/sdk/chimesdkmeetings/src/operation/batch_create_attendee/builders.rs @@ -19,9 +19,9 @@ impl BatchCreateAttendeeFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl BatchCreateAttendeeFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::batch_create_attendee::BatchCreateAttendee, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::batch_create_attendee::BatchCreateAttendeeError, + >, + > { + self.customize_middleware().await + } ///

The Amazon Chime SDK ID of the meeting to which you're adding attendees.

pub fn meeting_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.meeting_id(input.into()); diff --git a/sdk/chimesdkmeetings/src/operation/batch_update_attendee_capabilities_except/builders.rs b/sdk/chimesdkmeetings/src/operation/batch_update_attendee_capabilities_except/builders.rs index 3da0b73b08de..60023e50dc9e 100644 --- a/sdk/chimesdkmeetings/src/operation/batch_update_attendee_capabilities_except/builders.rs +++ b/sdk/chimesdkmeetings/src/operation/batch_update_attendee_capabilities_except/builders.rs @@ -27,9 +27,9 @@ impl BatchUpdateAttendeeCapabilitiesExceptFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize(self) -> ::std::result::Result< + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware(self) -> ::std::result::Result< crate::client::customize::CustomizableOperation, ::aws_smithy_http::result::SdkError >{ @@ -72,6 +72,15 @@ impl BatchUpdateAttendeeCapabilitiesExceptFluentBuilder { { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize(self) -> ::std::result::Result< + crate::client::customize::CustomizableOperation, + ::aws_smithy_http::result::SdkError + >{ + self.customize_middleware().await + } ///

The ID of the meeting associated with the update request.

pub fn meeting_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.meeting_id(input.into()); diff --git a/sdk/chimesdkmeetings/src/operation/create_attendee/builders.rs b/sdk/chimesdkmeetings/src/operation/create_attendee/builders.rs index da1148b23ba2..7fdb2a1e1ecd 100644 --- a/sdk/chimesdkmeetings/src/operation/create_attendee/builders.rs +++ b/sdk/chimesdkmeetings/src/operation/create_attendee/builders.rs @@ -19,9 +19,9 @@ impl CreateAttendeeFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl CreateAttendeeFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::create_attendee::CreateAttendee, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

The unique ID of the meeting.

pub fn meeting_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.meeting_id(input.into()); diff --git a/sdk/chimesdkmeetings/src/operation/create_meeting/builders.rs b/sdk/chimesdkmeetings/src/operation/create_meeting/builders.rs index da80aaaca674..f420243c1440 100644 --- a/sdk/chimesdkmeetings/src/operation/create_meeting/builders.rs +++ b/sdk/chimesdkmeetings/src/operation/create_meeting/builders.rs @@ -19,9 +19,9 @@ impl CreateMeetingFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl CreateMeetingFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::create_meeting::CreateMeeting, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

The unique identifier for the client request. Use a different token for different meetings.

pub fn client_request_token( mut self, diff --git a/sdk/chimesdkmeetings/src/operation/create_meeting_with_attendees/builders.rs b/sdk/chimesdkmeetings/src/operation/create_meeting_with_attendees/builders.rs index 42e8d1fdbde2..ee2244c58ac1 100644 --- a/sdk/chimesdkmeetings/src/operation/create_meeting_with_attendees/builders.rs +++ b/sdk/chimesdkmeetings/src/operation/create_meeting_with_attendees/builders.rs @@ -19,9 +19,9 @@ impl CreateMeetingWithAttendeesFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl CreateMeetingWithAttendeesFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::create_meeting_with_attendees::CreateMeetingWithAttendees, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::create_meeting_with_attendees::CreateMeetingWithAttendeesError, + >, + > { + self.customize_middleware().await + } ///

The unique identifier for the client request. Use a different token for different meetings.

pub fn client_request_token( mut self, diff --git a/sdk/chimesdkmeetings/src/operation/delete_attendee/builders.rs b/sdk/chimesdkmeetings/src/operation/delete_attendee/builders.rs index 1ebcc1ce238d..c245e9754e0a 100644 --- a/sdk/chimesdkmeetings/src/operation/delete_attendee/builders.rs +++ b/sdk/chimesdkmeetings/src/operation/delete_attendee/builders.rs @@ -19,9 +19,9 @@ impl DeleteAttendeeFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl DeleteAttendeeFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::delete_attendee::DeleteAttendee, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

The Amazon Chime SDK meeting ID.

pub fn meeting_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.meeting_id(input.into()); diff --git a/sdk/chimesdkmeetings/src/operation/delete_meeting/builders.rs b/sdk/chimesdkmeetings/src/operation/delete_meeting/builders.rs index 98eedeaa3b7c..38c28277210b 100644 --- a/sdk/chimesdkmeetings/src/operation/delete_meeting/builders.rs +++ b/sdk/chimesdkmeetings/src/operation/delete_meeting/builders.rs @@ -19,9 +19,9 @@ impl DeleteMeetingFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl DeleteMeetingFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::delete_meeting::DeleteMeeting, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

The Amazon Chime SDK meeting ID.

pub fn meeting_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.meeting_id(input.into()); diff --git a/sdk/chimesdkmeetings/src/operation/get_attendee/builders.rs b/sdk/chimesdkmeetings/src/operation/get_attendee/builders.rs index 0183a3b29a97..d86495100a29 100644 --- a/sdk/chimesdkmeetings/src/operation/get_attendee/builders.rs +++ b/sdk/chimesdkmeetings/src/operation/get_attendee/builders.rs @@ -19,9 +19,9 @@ impl GetAttendeeFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl GetAttendeeFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::get_attendee::GetAttendee, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

The Amazon Chime SDK meeting ID.

pub fn meeting_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.meeting_id(input.into()); diff --git a/sdk/chimesdkmeetings/src/operation/get_meeting/builders.rs b/sdk/chimesdkmeetings/src/operation/get_meeting/builders.rs index de33db1da0dd..e87a2a64bf32 100644 --- a/sdk/chimesdkmeetings/src/operation/get_meeting/builders.rs +++ b/sdk/chimesdkmeetings/src/operation/get_meeting/builders.rs @@ -19,9 +19,9 @@ impl GetMeetingFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl GetMeetingFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::get_meeting::GetMeeting, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

The Amazon Chime SDK meeting ID.

pub fn meeting_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.meeting_id(input.into()); diff --git a/sdk/chimesdkmeetings/src/operation/list_attendees/builders.rs b/sdk/chimesdkmeetings/src/operation/list_attendees/builders.rs index e727e1179c15..dc4092032cf8 100644 --- a/sdk/chimesdkmeetings/src/operation/list_attendees/builders.rs +++ b/sdk/chimesdkmeetings/src/operation/list_attendees/builders.rs @@ -19,9 +19,9 @@ impl ListAttendeesFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl ListAttendeesFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_attendees::ListAttendees, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::list_attendees::paginator::ListAttendeesPaginator::send) which returns a `Stream`. diff --git a/sdk/chimesdkmeetings/src/operation/list_tags_for_resource/builders.rs b/sdk/chimesdkmeetings/src/operation/list_tags_for_resource/builders.rs index cd81cd9ce3f8..7655af677b77 100644 --- a/sdk/chimesdkmeetings/src/operation/list_tags_for_resource/builders.rs +++ b/sdk/chimesdkmeetings/src/operation/list_tags_for_resource/builders.rs @@ -19,9 +19,9 @@ impl ListTagsForResourceFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl ListTagsForResourceFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_tags_for_resource::ListTagsForResource, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::list_tags_for_resource::ListTagsForResourceError, + >, + > { + self.customize_middleware().await + } ///

The ARN of the resource.

pub fn resource_arn(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.resource_arn(input.into()); diff --git a/sdk/chimesdkmeetings/src/operation/start_meeting_transcription/builders.rs b/sdk/chimesdkmeetings/src/operation/start_meeting_transcription/builders.rs index fb51e5df86b1..caa7b0452351 100644 --- a/sdk/chimesdkmeetings/src/operation/start_meeting_transcription/builders.rs +++ b/sdk/chimesdkmeetings/src/operation/start_meeting_transcription/builders.rs @@ -22,9 +22,9 @@ impl StartMeetingTranscriptionFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -86,6 +86,22 @@ impl StartMeetingTranscriptionFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::start_meeting_transcription::StartMeetingTranscription, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::start_meeting_transcription::StartMeetingTranscriptionError, + >, + > { + self.customize_middleware().await + } ///

The unique ID of the meeting being transcribed.

pub fn meeting_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.meeting_id(input.into()); diff --git a/sdk/chimesdkmeetings/src/operation/stop_meeting_transcription/builders.rs b/sdk/chimesdkmeetings/src/operation/stop_meeting_transcription/builders.rs index 5332a7aafc6d..85889240cf95 100644 --- a/sdk/chimesdkmeetings/src/operation/stop_meeting_transcription/builders.rs +++ b/sdk/chimesdkmeetings/src/operation/stop_meeting_transcription/builders.rs @@ -21,9 +21,9 @@ impl StopMeetingTranscriptionFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -85,6 +85,22 @@ impl StopMeetingTranscriptionFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::stop_meeting_transcription::StopMeetingTranscription, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::stop_meeting_transcription::StopMeetingTranscriptionError, + >, + > { + self.customize_middleware().await + } ///

The unique ID of the meeting for which you stop transcription.

pub fn meeting_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.meeting_id(input.into()); diff --git a/sdk/chimesdkmeetings/src/operation/tag_resource/builders.rs b/sdk/chimesdkmeetings/src/operation/tag_resource/builders.rs index 73c00ce55e6e..a7fdce4d88ee 100644 --- a/sdk/chimesdkmeetings/src/operation/tag_resource/builders.rs +++ b/sdk/chimesdkmeetings/src/operation/tag_resource/builders.rs @@ -19,9 +19,9 @@ impl TagResourceFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl TagResourceFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::tag_resource::TagResource, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

The ARN of the resource.

pub fn resource_arn(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.resource_arn(input.into()); diff --git a/sdk/chimesdkmeetings/src/operation/untag_resource/builders.rs b/sdk/chimesdkmeetings/src/operation/untag_resource/builders.rs index 24aaf3e33b4f..2b4aa0c06e7d 100644 --- a/sdk/chimesdkmeetings/src/operation/untag_resource/builders.rs +++ b/sdk/chimesdkmeetings/src/operation/untag_resource/builders.rs @@ -27,9 +27,9 @@ impl UntagResourceFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -85,6 +85,20 @@ impl UntagResourceFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::untag_resource::UntagResource, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

The ARN of the resource that you're removing tags from.

pub fn resource_arn(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.resource_arn(input.into()); diff --git a/sdk/chimesdkmeetings/src/operation/update_attendee_capabilities/builders.rs b/sdk/chimesdkmeetings/src/operation/update_attendee_capabilities/builders.rs index f4dd7139f688..8181793de769 100644 --- a/sdk/chimesdkmeetings/src/operation/update_attendee_capabilities/builders.rs +++ b/sdk/chimesdkmeetings/src/operation/update_attendee_capabilities/builders.rs @@ -27,9 +27,9 @@ impl UpdateAttendeeCapabilitiesFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -91,6 +91,22 @@ impl UpdateAttendeeCapabilitiesFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::update_attendee_capabilities::UpdateAttendeeCapabilities, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::update_attendee_capabilities::UpdateAttendeeCapabilitiesError, + >, + > { + self.customize_middleware().await + } ///

The ID of the meeting associated with the update request.

pub fn meeting_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.meeting_id(input.into()); diff --git a/sdk/chimesdkmessaging/src/operation/associate_channel_flow/builders.rs b/sdk/chimesdkmessaging/src/operation/associate_channel_flow/builders.rs index ba2469218698..b136727ebc5a 100644 --- a/sdk/chimesdkmessaging/src/operation/associate_channel_flow/builders.rs +++ b/sdk/chimesdkmessaging/src/operation/associate_channel_flow/builders.rs @@ -21,9 +21,9 @@ impl AssociateChannelFlowFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -85,6 +85,22 @@ impl AssociateChannelFlowFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::associate_channel_flow::AssociateChannelFlow, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::associate_channel_flow::AssociateChannelFlowError, + >, + > { + self.customize_middleware().await + } ///

The ARN of the channel.

pub fn channel_arn(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.channel_arn(input.into()); diff --git a/sdk/chimesdkmessaging/src/operation/batch_create_channel_membership/builders.rs b/sdk/chimesdkmessaging/src/operation/batch_create_channel_membership/builders.rs index 85463cbf2b59..366952049d2b 100644 --- a/sdk/chimesdkmessaging/src/operation/batch_create_channel_membership/builders.rs +++ b/sdk/chimesdkmessaging/src/operation/batch_create_channel_membership/builders.rs @@ -19,9 +19,9 @@ impl BatchCreateChannelMembershipFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl BatchCreateChannelMembershipFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::batch_create_channel_membership::BatchCreateChannelMembership, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::batch_create_channel_membership::BatchCreateChannelMembershipError, + >, + > { + self.customize_middleware().await + } ///

The ARN of the channel to which you're adding users or bots.

pub fn channel_arn(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.channel_arn(input.into()); diff --git a/sdk/chimesdkmessaging/src/operation/channel_flow_callback/builders.rs b/sdk/chimesdkmessaging/src/operation/channel_flow_callback/builders.rs index 19c4c16cfa50..3db502c1a285 100644 --- a/sdk/chimesdkmessaging/src/operation/channel_flow_callback/builders.rs +++ b/sdk/chimesdkmessaging/src/operation/channel_flow_callback/builders.rs @@ -25,9 +25,9 @@ impl ChannelFlowCallbackFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -89,6 +89,22 @@ impl ChannelFlowCallbackFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::channel_flow_callback::ChannelFlowCallback, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::channel_flow_callback::ChannelFlowCallbackError, + >, + > { + self.customize_middleware().await + } ///

The identifier passed to the processor by the service when invoked. Use the identifier to call back the service.

pub fn callback_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.callback_id(input.into()); diff --git a/sdk/chimesdkmessaging/src/operation/create_channel/builders.rs b/sdk/chimesdkmessaging/src/operation/create_channel/builders.rs index a6a33e3cd235..dde3c4d74f9c 100644 --- a/sdk/chimesdkmessaging/src/operation/create_channel/builders.rs +++ b/sdk/chimesdkmessaging/src/operation/create_channel/builders.rs @@ -22,9 +22,9 @@ impl CreateChannelFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -80,6 +80,20 @@ impl CreateChannelFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::create_channel::CreateChannel, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

The ARN of the channel request.

pub fn app_instance_arn( mut self, diff --git a/sdk/chimesdkmessaging/src/operation/create_channel_ban/builders.rs b/sdk/chimesdkmessaging/src/operation/create_channel_ban/builders.rs index cb57960f4a93..b4521e2f0008 100644 --- a/sdk/chimesdkmessaging/src/operation/create_channel_ban/builders.rs +++ b/sdk/chimesdkmessaging/src/operation/create_channel_ban/builders.rs @@ -22,9 +22,9 @@ impl CreateChannelBanFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -86,6 +86,22 @@ impl CreateChannelBanFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::create_channel_ban::CreateChannelBan, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::create_channel_ban::CreateChannelBanError, + >, + > { + self.customize_middleware().await + } ///

The ARN of the ban request.

pub fn channel_arn(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.channel_arn(input.into()); diff --git a/sdk/chimesdkmessaging/src/operation/create_channel_flow/builders.rs b/sdk/chimesdkmessaging/src/operation/create_channel_flow/builders.rs index aed27d2cc09b..6b6dc8fdfd89 100644 --- a/sdk/chimesdkmessaging/src/operation/create_channel_flow/builders.rs +++ b/sdk/chimesdkmessaging/src/operation/create_channel_flow/builders.rs @@ -27,9 +27,9 @@ impl CreateChannelFlowFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -91,6 +91,22 @@ impl CreateChannelFlowFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::create_channel_flow::CreateChannelFlow, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::create_channel_flow::CreateChannelFlowError, + >, + > { + self.customize_middleware().await + } ///

The ARN of the channel flow request.

pub fn app_instance_arn( mut self, diff --git a/sdk/chimesdkmessaging/src/operation/create_channel_membership/builders.rs b/sdk/chimesdkmessaging/src/operation/create_channel_membership/builders.rs index 4421602c2814..c46583779a90 100644 --- a/sdk/chimesdkmessaging/src/operation/create_channel_membership/builders.rs +++ b/sdk/chimesdkmessaging/src/operation/create_channel_membership/builders.rs @@ -34,9 +34,9 @@ impl CreateChannelMembershipFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -98,6 +98,22 @@ impl CreateChannelMembershipFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::create_channel_membership::CreateChannelMembership, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::create_channel_membership::CreateChannelMembershipError, + >, + > { + self.customize_middleware().await + } ///

The ARN of the channel to which you're adding users.

pub fn channel_arn(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.channel_arn(input.into()); diff --git a/sdk/chimesdkmessaging/src/operation/create_channel_moderator/builders.rs b/sdk/chimesdkmessaging/src/operation/create_channel_moderator/builders.rs index b5d4bd8d5410..e67cf96bd7d6 100644 --- a/sdk/chimesdkmessaging/src/operation/create_channel_moderator/builders.rs +++ b/sdk/chimesdkmessaging/src/operation/create_channel_moderator/builders.rs @@ -28,9 +28,9 @@ impl CreateChannelModeratorFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -92,6 +92,22 @@ impl CreateChannelModeratorFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::create_channel_moderator::CreateChannelModerator, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::create_channel_moderator::CreateChannelModeratorError, + >, + > { + self.customize_middleware().await + } ///

The ARN of the channel.

pub fn channel_arn(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.channel_arn(input.into()); diff --git a/sdk/chimesdkmessaging/src/operation/delete_channel/builders.rs b/sdk/chimesdkmessaging/src/operation/delete_channel/builders.rs index d24af90e0981..1506992075cb 100644 --- a/sdk/chimesdkmessaging/src/operation/delete_channel/builders.rs +++ b/sdk/chimesdkmessaging/src/operation/delete_channel/builders.rs @@ -21,9 +21,9 @@ impl DeleteChannelFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -79,6 +79,20 @@ impl DeleteChannelFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::delete_channel::DeleteChannel, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

The ARN of the channel being deleted.

pub fn channel_arn(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.channel_arn(input.into()); diff --git a/sdk/chimesdkmessaging/src/operation/delete_channel_ban/builders.rs b/sdk/chimesdkmessaging/src/operation/delete_channel_ban/builders.rs index ab3339de9f1e..163e1e1f1628 100644 --- a/sdk/chimesdkmessaging/src/operation/delete_channel_ban/builders.rs +++ b/sdk/chimesdkmessaging/src/operation/delete_channel_ban/builders.rs @@ -21,9 +21,9 @@ impl DeleteChannelBanFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -85,6 +85,22 @@ impl DeleteChannelBanFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::delete_channel_ban::DeleteChannelBan, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::delete_channel_ban::DeleteChannelBanError, + >, + > { + self.customize_middleware().await + } ///

The ARN of the channel from which the AppInstanceUser was banned.

pub fn channel_arn(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.channel_arn(input.into()); diff --git a/sdk/chimesdkmessaging/src/operation/delete_channel_flow/builders.rs b/sdk/chimesdkmessaging/src/operation/delete_channel_flow/builders.rs index 22bc050f2467..9b59ef044415 100644 --- a/sdk/chimesdkmessaging/src/operation/delete_channel_flow/builders.rs +++ b/sdk/chimesdkmessaging/src/operation/delete_channel_flow/builders.rs @@ -21,9 +21,9 @@ impl DeleteChannelFlowFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -85,6 +85,22 @@ impl DeleteChannelFlowFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::delete_channel_flow::DeleteChannelFlow, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::delete_channel_flow::DeleteChannelFlowError, + >, + > { + self.customize_middleware().await + } ///

The ARN of the channel flow.

pub fn channel_flow_arn( mut self, diff --git a/sdk/chimesdkmessaging/src/operation/delete_channel_membership/builders.rs b/sdk/chimesdkmessaging/src/operation/delete_channel_membership/builders.rs index b5d7aaed6760..a599f1b11e43 100644 --- a/sdk/chimesdkmessaging/src/operation/delete_channel_membership/builders.rs +++ b/sdk/chimesdkmessaging/src/operation/delete_channel_membership/builders.rs @@ -22,9 +22,9 @@ impl DeleteChannelMembershipFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -86,6 +86,22 @@ impl DeleteChannelMembershipFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::delete_channel_membership::DeleteChannelMembership, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::delete_channel_membership::DeleteChannelMembershipError, + >, + > { + self.customize_middleware().await + } ///

The ARN of the channel from which you want to remove the user.

pub fn channel_arn(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.channel_arn(input.into()); diff --git a/sdk/chimesdkmessaging/src/operation/delete_channel_message/builders.rs b/sdk/chimesdkmessaging/src/operation/delete_channel_message/builders.rs index ff4c32351a46..f03e431ba367 100644 --- a/sdk/chimesdkmessaging/src/operation/delete_channel_message/builders.rs +++ b/sdk/chimesdkmessaging/src/operation/delete_channel_message/builders.rs @@ -21,9 +21,9 @@ impl DeleteChannelMessageFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -85,6 +85,22 @@ impl DeleteChannelMessageFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::delete_channel_message::DeleteChannelMessage, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::delete_channel_message::DeleteChannelMessageError, + >, + > { + self.customize_middleware().await + } ///

The ARN of the channel.

pub fn channel_arn(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.channel_arn(input.into()); diff --git a/sdk/chimesdkmessaging/src/operation/delete_channel_moderator/builders.rs b/sdk/chimesdkmessaging/src/operation/delete_channel_moderator/builders.rs index b618f171b2da..b65852b12133 100644 --- a/sdk/chimesdkmessaging/src/operation/delete_channel_moderator/builders.rs +++ b/sdk/chimesdkmessaging/src/operation/delete_channel_moderator/builders.rs @@ -21,9 +21,9 @@ impl DeleteChannelModeratorFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -85,6 +85,22 @@ impl DeleteChannelModeratorFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::delete_channel_moderator::DeleteChannelModerator, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::delete_channel_moderator::DeleteChannelModeratorError, + >, + > { + self.customize_middleware().await + } ///

The ARN of the channel.

pub fn channel_arn(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.channel_arn(input.into()); diff --git a/sdk/chimesdkmessaging/src/operation/delete_messaging_streaming_configurations/builders.rs b/sdk/chimesdkmessaging/src/operation/delete_messaging_streaming_configurations/builders.rs index 2b53c4ca6de0..8aa356ab3b26 100644 --- a/sdk/chimesdkmessaging/src/operation/delete_messaging_streaming_configurations/builders.rs +++ b/sdk/chimesdkmessaging/src/operation/delete_messaging_streaming_configurations/builders.rs @@ -19,9 +19,9 @@ impl DeleteMessagingStreamingConfigurationsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize(self) -> ::std::result::Result< + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware(self) -> ::std::result::Result< crate::client::customize::CustomizableOperation, ::aws_smithy_http::result::SdkError >{ @@ -64,6 +64,15 @@ impl DeleteMessagingStreamingConfigurationsFluentBuilder { { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize(self) -> ::std::result::Result< + crate::client::customize::CustomizableOperation, + ::aws_smithy_http::result::SdkError + >{ + self.customize_middleware().await + } ///

The ARN of the streaming configurations being deleted.

pub fn app_instance_arn( mut self, diff --git a/sdk/chimesdkmessaging/src/operation/describe_channel/builders.rs b/sdk/chimesdkmessaging/src/operation/describe_channel/builders.rs index 6320a570f206..4873bb495a7a 100644 --- a/sdk/chimesdkmessaging/src/operation/describe_channel/builders.rs +++ b/sdk/chimesdkmessaging/src/operation/describe_channel/builders.rs @@ -21,9 +21,9 @@ impl DescribeChannelFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -85,6 +85,22 @@ impl DescribeChannelFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::describe_channel::DescribeChannel, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::describe_channel::DescribeChannelError, + >, + > { + self.customize_middleware().await + } ///

The ARN of the channel.

pub fn channel_arn(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.channel_arn(input.into()); diff --git a/sdk/chimesdkmessaging/src/operation/describe_channel_ban/builders.rs b/sdk/chimesdkmessaging/src/operation/describe_channel_ban/builders.rs index f7a295afb46a..e704d77f27b3 100644 --- a/sdk/chimesdkmessaging/src/operation/describe_channel_ban/builders.rs +++ b/sdk/chimesdkmessaging/src/operation/describe_channel_ban/builders.rs @@ -21,9 +21,9 @@ impl DescribeChannelBanFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -85,6 +85,22 @@ impl DescribeChannelBanFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::describe_channel_ban::DescribeChannelBan, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::describe_channel_ban::DescribeChannelBanError, + >, + > { + self.customize_middleware().await + } ///

The ARN of the channel from which the user is banned.

pub fn channel_arn(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.channel_arn(input.into()); diff --git a/sdk/chimesdkmessaging/src/operation/describe_channel_flow/builders.rs b/sdk/chimesdkmessaging/src/operation/describe_channel_flow/builders.rs index cad5384930dc..d8770084c77c 100644 --- a/sdk/chimesdkmessaging/src/operation/describe_channel_flow/builders.rs +++ b/sdk/chimesdkmessaging/src/operation/describe_channel_flow/builders.rs @@ -19,9 +19,9 @@ impl DescribeChannelFlowFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl DescribeChannelFlowFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::describe_channel_flow::DescribeChannelFlow, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::describe_channel_flow::DescribeChannelFlowError, + >, + > { + self.customize_middleware().await + } ///

The ARN of the channel flow.

pub fn channel_flow_arn( mut self, diff --git a/sdk/chimesdkmessaging/src/operation/describe_channel_membership/builders.rs b/sdk/chimesdkmessaging/src/operation/describe_channel_membership/builders.rs index ae9cbec1a0fb..c714aa4fd848 100644 --- a/sdk/chimesdkmessaging/src/operation/describe_channel_membership/builders.rs +++ b/sdk/chimesdkmessaging/src/operation/describe_channel_membership/builders.rs @@ -21,9 +21,9 @@ impl DescribeChannelMembershipFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -85,6 +85,22 @@ impl DescribeChannelMembershipFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::describe_channel_membership::DescribeChannelMembership, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::describe_channel_membership::DescribeChannelMembershipError, + >, + > { + self.customize_middleware().await + } ///

The ARN of the channel.

pub fn channel_arn(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.channel_arn(input.into()); diff --git a/sdk/chimesdkmessaging/src/operation/describe_channel_membership_for_app_instance_user/builders.rs b/sdk/chimesdkmessaging/src/operation/describe_channel_membership_for_app_instance_user/builders.rs index 57a76de90f4d..4deb44a7a2c0 100644 --- a/sdk/chimesdkmessaging/src/operation/describe_channel_membership_for_app_instance_user/builders.rs +++ b/sdk/chimesdkmessaging/src/operation/describe_channel_membership_for_app_instance_user/builders.rs @@ -21,9 +21,9 @@ impl DescribeChannelMembershipForAppInstanceUserFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize(self) -> ::std::result::Result< + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware(self) -> ::std::result::Result< crate::client::customize::CustomizableOperation, ::aws_smithy_http::result::SdkError >{ @@ -66,6 +66,15 @@ impl DescribeChannelMembershipForAppInstanceUserFluentBuilder { { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize(self) -> ::std::result::Result< + crate::client::customize::CustomizableOperation, + ::aws_smithy_http::result::SdkError + >{ + self.customize_middleware().await + } ///

The ARN of the channel to which the user belongs.

pub fn channel_arn(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.channel_arn(input.into()); diff --git a/sdk/chimesdkmessaging/src/operation/describe_channel_moderated_by_app_instance_user/builders.rs b/sdk/chimesdkmessaging/src/operation/describe_channel_moderated_by_app_instance_user/builders.rs index 7c205ecedec4..bd16e2b1063a 100644 --- a/sdk/chimesdkmessaging/src/operation/describe_channel_moderated_by_app_instance_user/builders.rs +++ b/sdk/chimesdkmessaging/src/operation/describe_channel_moderated_by_app_instance_user/builders.rs @@ -21,9 +21,9 @@ impl DescribeChannelModeratedByAppInstanceUserFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize(self) -> ::std::result::Result< + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware(self) -> ::std::result::Result< crate::client::customize::CustomizableOperation, ::aws_smithy_http::result::SdkError >{ @@ -66,6 +66,15 @@ impl DescribeChannelModeratedByAppInstanceUserFluentBuilder { { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize(self) -> ::std::result::Result< + crate::client::customize::CustomizableOperation, + ::aws_smithy_http::result::SdkError + >{ + self.customize_middleware().await + } ///

The ARN of the moderated channel.

pub fn channel_arn(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.channel_arn(input.into()); diff --git a/sdk/chimesdkmessaging/src/operation/describe_channel_moderator/builders.rs b/sdk/chimesdkmessaging/src/operation/describe_channel_moderator/builders.rs index 6f0b635dce60..972c39e02f84 100644 --- a/sdk/chimesdkmessaging/src/operation/describe_channel_moderator/builders.rs +++ b/sdk/chimesdkmessaging/src/operation/describe_channel_moderator/builders.rs @@ -21,9 +21,9 @@ impl DescribeChannelModeratorFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -85,6 +85,22 @@ impl DescribeChannelModeratorFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::describe_channel_moderator::DescribeChannelModerator, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::describe_channel_moderator::DescribeChannelModeratorError, + >, + > { + self.customize_middleware().await + } ///

The ARN of the channel.

pub fn channel_arn(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.channel_arn(input.into()); diff --git a/sdk/chimesdkmessaging/src/operation/disassociate_channel_flow/builders.rs b/sdk/chimesdkmessaging/src/operation/disassociate_channel_flow/builders.rs index 51766e32b390..e381e0b31939 100644 --- a/sdk/chimesdkmessaging/src/operation/disassociate_channel_flow/builders.rs +++ b/sdk/chimesdkmessaging/src/operation/disassociate_channel_flow/builders.rs @@ -23,9 +23,9 @@ impl DisassociateChannelFlowFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -87,6 +87,22 @@ impl DisassociateChannelFlowFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::disassociate_channel_flow::DisassociateChannelFlow, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::disassociate_channel_flow::DisassociateChannelFlowError, + >, + > { + self.customize_middleware().await + } ///

The ARN of the channel.

pub fn channel_arn(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.channel_arn(input.into()); diff --git a/sdk/chimesdkmessaging/src/operation/get_channel_membership_preferences/builders.rs b/sdk/chimesdkmessaging/src/operation/get_channel_membership_preferences/builders.rs index 5ab16290de9d..1f736a1dfff9 100644 --- a/sdk/chimesdkmessaging/src/operation/get_channel_membership_preferences/builders.rs +++ b/sdk/chimesdkmessaging/src/operation/get_channel_membership_preferences/builders.rs @@ -21,9 +21,9 @@ impl GetChannelMembershipPreferencesFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize(self) -> ::std::result::Result< + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware(self) -> ::std::result::Result< crate::client::customize::CustomizableOperation, ::aws_smithy_http::result::SdkError >{ @@ -66,6 +66,15 @@ impl GetChannelMembershipPreferencesFluentBuilder { { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize(self) -> ::std::result::Result< + crate::client::customize::CustomizableOperation, + ::aws_smithy_http::result::SdkError + >{ + self.customize_middleware().await + } ///

The ARN of the channel.

pub fn channel_arn(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.channel_arn(input.into()); diff --git a/sdk/chimesdkmessaging/src/operation/get_channel_message/builders.rs b/sdk/chimesdkmessaging/src/operation/get_channel_message/builders.rs index 77634adbac9c..451c6654c4af 100644 --- a/sdk/chimesdkmessaging/src/operation/get_channel_message/builders.rs +++ b/sdk/chimesdkmessaging/src/operation/get_channel_message/builders.rs @@ -21,9 +21,9 @@ impl GetChannelMessageFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -85,6 +85,22 @@ impl GetChannelMessageFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::get_channel_message::GetChannelMessage, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::get_channel_message::GetChannelMessageError, + >, + > { + self.customize_middleware().await + } ///

The ARN of the channel.

pub fn channel_arn(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.channel_arn(input.into()); diff --git a/sdk/chimesdkmessaging/src/operation/get_channel_message_status/builders.rs b/sdk/chimesdkmessaging/src/operation/get_channel_message_status/builders.rs index e9cf30a2c55a..4947621b0dff 100644 --- a/sdk/chimesdkmessaging/src/operation/get_channel_message_status/builders.rs +++ b/sdk/chimesdkmessaging/src/operation/get_channel_message_status/builders.rs @@ -53,9 +53,9 @@ impl GetChannelMessageStatusFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -117,6 +117,22 @@ impl GetChannelMessageStatusFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::get_channel_message_status::GetChannelMessageStatus, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::get_channel_message_status::GetChannelMessageStatusError, + >, + > { + self.customize_middleware().await + } ///

The ARN of the channel

pub fn channel_arn(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.channel_arn(input.into()); diff --git a/sdk/chimesdkmessaging/src/operation/get_messaging_session_endpoint/builders.rs b/sdk/chimesdkmessaging/src/operation/get_messaging_session_endpoint/builders.rs index ee3fdb8ab161..0a5fa3468a60 100644 --- a/sdk/chimesdkmessaging/src/operation/get_messaging_session_endpoint/builders.rs +++ b/sdk/chimesdkmessaging/src/operation/get_messaging_session_endpoint/builders.rs @@ -19,9 +19,9 @@ impl GetMessagingSessionEndpointFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,4 +83,20 @@ impl GetMessagingSessionEndpointFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::get_messaging_session_endpoint::GetMessagingSessionEndpoint, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::get_messaging_session_endpoint::GetMessagingSessionEndpointError, + >, + > { + self.customize_middleware().await + } } diff --git a/sdk/chimesdkmessaging/src/operation/get_messaging_streaming_configurations/builders.rs b/sdk/chimesdkmessaging/src/operation/get_messaging_streaming_configurations/builders.rs index acc47654a396..65a2751e934a 100644 --- a/sdk/chimesdkmessaging/src/operation/get_messaging_streaming_configurations/builders.rs +++ b/sdk/chimesdkmessaging/src/operation/get_messaging_streaming_configurations/builders.rs @@ -19,9 +19,9 @@ impl GetMessagingStreamingConfigurationsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize(self) -> ::std::result::Result< + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware(self) -> ::std::result::Result< crate::client::customize::CustomizableOperation, ::aws_smithy_http::result::SdkError >{ @@ -64,6 +64,15 @@ impl GetMessagingStreamingConfigurationsFluentBuilder { { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize(self) -> ::std::result::Result< + crate::client::customize::CustomizableOperation, + ::aws_smithy_http::result::SdkError + >{ + self.customize_middleware().await + } ///

The ARN of the streaming configurations.

pub fn app_instance_arn( mut self, diff --git a/sdk/chimesdkmessaging/src/operation/list_channel_bans/builders.rs b/sdk/chimesdkmessaging/src/operation/list_channel_bans/builders.rs index 809792384699..87212a9313e8 100644 --- a/sdk/chimesdkmessaging/src/operation/list_channel_bans/builders.rs +++ b/sdk/chimesdkmessaging/src/operation/list_channel_bans/builders.rs @@ -21,9 +21,9 @@ impl ListChannelBansFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -85,6 +85,22 @@ impl ListChannelBansFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_channel_bans::ListChannelBans, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::list_channel_bans::ListChannelBansError, + >, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::list_channel_bans::paginator::ListChannelBansPaginator::send) which returns a `Stream`. diff --git a/sdk/chimesdkmessaging/src/operation/list_channel_flows/builders.rs b/sdk/chimesdkmessaging/src/operation/list_channel_flows/builders.rs index 4e866a3294aa..94dad4cb717e 100644 --- a/sdk/chimesdkmessaging/src/operation/list_channel_flows/builders.rs +++ b/sdk/chimesdkmessaging/src/operation/list_channel_flows/builders.rs @@ -19,9 +19,9 @@ impl ListChannelFlowsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl ListChannelFlowsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_channel_flows::ListChannelFlows, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::list_channel_flows::ListChannelFlowsError, + >, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::list_channel_flows::paginator::ListChannelFlowsPaginator::send) which returns a `Stream`. diff --git a/sdk/chimesdkmessaging/src/operation/list_channel_memberships/builders.rs b/sdk/chimesdkmessaging/src/operation/list_channel_memberships/builders.rs index 3c261005faf4..9a8fc6370b8e 100644 --- a/sdk/chimesdkmessaging/src/operation/list_channel_memberships/builders.rs +++ b/sdk/chimesdkmessaging/src/operation/list_channel_memberships/builders.rs @@ -22,9 +22,9 @@ impl ListChannelMembershipsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -86,6 +86,22 @@ impl ListChannelMembershipsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_channel_memberships::ListChannelMemberships, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::list_channel_memberships::ListChannelMembershipsError, + >, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::list_channel_memberships::paginator::ListChannelMembershipsPaginator::send) which returns a `Stream`. diff --git a/sdk/chimesdkmessaging/src/operation/list_channel_memberships_for_app_instance_user/builders.rs b/sdk/chimesdkmessaging/src/operation/list_channel_memberships_for_app_instance_user/builders.rs index 4cd0b4c72aaa..4a101a8479e4 100644 --- a/sdk/chimesdkmessaging/src/operation/list_channel_memberships_for_app_instance_user/builders.rs +++ b/sdk/chimesdkmessaging/src/operation/list_channel_memberships_for_app_instance_user/builders.rs @@ -21,9 +21,9 @@ impl ListChannelMembershipsForAppInstanceUserFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize(self) -> ::std::result::Result< + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware(self) -> ::std::result::Result< crate::client::customize::CustomizableOperation, ::aws_smithy_http::result::SdkError >{ @@ -66,6 +66,15 @@ impl ListChannelMembershipsForAppInstanceUserFluentBuilder { { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize(self) -> ::std::result::Result< + crate::client::customize::CustomizableOperation, + ::aws_smithy_http::result::SdkError + >{ + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::list_channel_memberships_for_app_instance_user::paginator::ListChannelMembershipsForAppInstanceUserPaginator::send) which returns a `Stream`. diff --git a/sdk/chimesdkmessaging/src/operation/list_channel_messages/builders.rs b/sdk/chimesdkmessaging/src/operation/list_channel_messages/builders.rs index f0932cf4265d..812469a6f4e2 100644 --- a/sdk/chimesdkmessaging/src/operation/list_channel_messages/builders.rs +++ b/sdk/chimesdkmessaging/src/operation/list_channel_messages/builders.rs @@ -22,9 +22,9 @@ impl ListChannelMessagesFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -86,6 +86,22 @@ impl ListChannelMessagesFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_channel_messages::ListChannelMessages, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::list_channel_messages::ListChannelMessagesError, + >, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::list_channel_messages::paginator::ListChannelMessagesPaginator::send) which returns a `Stream`. diff --git a/sdk/chimesdkmessaging/src/operation/list_channel_moderators/builders.rs b/sdk/chimesdkmessaging/src/operation/list_channel_moderators/builders.rs index ccf705d6678f..48a5b5486338 100644 --- a/sdk/chimesdkmessaging/src/operation/list_channel_moderators/builders.rs +++ b/sdk/chimesdkmessaging/src/operation/list_channel_moderators/builders.rs @@ -21,9 +21,9 @@ impl ListChannelModeratorsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -85,6 +85,22 @@ impl ListChannelModeratorsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_channel_moderators::ListChannelModerators, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::list_channel_moderators::ListChannelModeratorsError, + >, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::list_channel_moderators::paginator::ListChannelModeratorsPaginator::send) which returns a `Stream`. diff --git a/sdk/chimesdkmessaging/src/operation/list_channels/builders.rs b/sdk/chimesdkmessaging/src/operation/list_channels/builders.rs index c39aafe9f0f0..1ae3fc8e7ba3 100644 --- a/sdk/chimesdkmessaging/src/operation/list_channels/builders.rs +++ b/sdk/chimesdkmessaging/src/operation/list_channels/builders.rs @@ -26,9 +26,9 @@ impl ListChannelsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -84,6 +84,20 @@ impl ListChannelsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_channels::ListChannels, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::list_channels::paginator::ListChannelsPaginator::send) which returns a `Stream`. diff --git a/sdk/chimesdkmessaging/src/operation/list_channels_associated_with_channel_flow/builders.rs b/sdk/chimesdkmessaging/src/operation/list_channels_associated_with_channel_flow/builders.rs index 9024cc9dd7f4..a06f13a2cc53 100644 --- a/sdk/chimesdkmessaging/src/operation/list_channels_associated_with_channel_flow/builders.rs +++ b/sdk/chimesdkmessaging/src/operation/list_channels_associated_with_channel_flow/builders.rs @@ -19,9 +19,9 @@ impl ListChannelsAssociatedWithChannelFlowFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize(self) -> ::std::result::Result< + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware(self) -> ::std::result::Result< crate::client::customize::CustomizableOperation, ::aws_smithy_http::result::SdkError >{ @@ -64,6 +64,15 @@ impl ListChannelsAssociatedWithChannelFlowFluentBuilder { { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize(self) -> ::std::result::Result< + crate::client::customize::CustomizableOperation, + ::aws_smithy_http::result::SdkError + >{ + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::list_channels_associated_with_channel_flow::paginator::ListChannelsAssociatedWithChannelFlowPaginator::send) which returns a `Stream`. diff --git a/sdk/chimesdkmessaging/src/operation/list_channels_moderated_by_app_instance_user/builders.rs b/sdk/chimesdkmessaging/src/operation/list_channels_moderated_by_app_instance_user/builders.rs index 2e1788dad10a..ecf775195b7b 100644 --- a/sdk/chimesdkmessaging/src/operation/list_channels_moderated_by_app_instance_user/builders.rs +++ b/sdk/chimesdkmessaging/src/operation/list_channels_moderated_by_app_instance_user/builders.rs @@ -21,9 +21,9 @@ impl ListChannelsModeratedByAppInstanceUserFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize(self) -> ::std::result::Result< + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware(self) -> ::std::result::Result< crate::client::customize::CustomizableOperation, ::aws_smithy_http::result::SdkError >{ @@ -66,6 +66,15 @@ impl ListChannelsModeratedByAppInstanceUserFluentBuilder { { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize(self) -> ::std::result::Result< + crate::client::customize::CustomizableOperation, + ::aws_smithy_http::result::SdkError + >{ + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::list_channels_moderated_by_app_instance_user::paginator::ListChannelsModeratedByAppInstanceUserPaginator::send) which returns a `Stream`. diff --git a/sdk/chimesdkmessaging/src/operation/list_sub_channels/builders.rs b/sdk/chimesdkmessaging/src/operation/list_sub_channels/builders.rs index dc9c9e4e351a..09ec23a769c0 100644 --- a/sdk/chimesdkmessaging/src/operation/list_sub_channels/builders.rs +++ b/sdk/chimesdkmessaging/src/operation/list_sub_channels/builders.rs @@ -19,9 +19,9 @@ impl ListSubChannelsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl ListSubChannelsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_sub_channels::ListSubChannels, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::list_sub_channels::ListSubChannelsError, + >, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::list_sub_channels::paginator::ListSubChannelsPaginator::send) which returns a `Stream`. diff --git a/sdk/chimesdkmessaging/src/operation/list_tags_for_resource/builders.rs b/sdk/chimesdkmessaging/src/operation/list_tags_for_resource/builders.rs index 26d6d26dc651..fe8080e693d4 100644 --- a/sdk/chimesdkmessaging/src/operation/list_tags_for_resource/builders.rs +++ b/sdk/chimesdkmessaging/src/operation/list_tags_for_resource/builders.rs @@ -19,9 +19,9 @@ impl ListTagsForResourceFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl ListTagsForResourceFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_tags_for_resource::ListTagsForResource, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::list_tags_for_resource::ListTagsForResourceError, + >, + > { + self.customize_middleware().await + } ///

The ARN of the resource.

pub fn resource_arn(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.resource_arn(input.into()); diff --git a/sdk/chimesdkmessaging/src/operation/put_channel_expiration_settings/builders.rs b/sdk/chimesdkmessaging/src/operation/put_channel_expiration_settings/builders.rs index e22e3a4ccf9b..cf77dcf70f89 100644 --- a/sdk/chimesdkmessaging/src/operation/put_channel_expiration_settings/builders.rs +++ b/sdk/chimesdkmessaging/src/operation/put_channel_expiration_settings/builders.rs @@ -25,9 +25,9 @@ impl PutChannelExpirationSettingsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -89,6 +89,22 @@ impl PutChannelExpirationSettingsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::put_channel_expiration_settings::PutChannelExpirationSettings, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::put_channel_expiration_settings::PutChannelExpirationSettingsError, + >, + > { + self.customize_middleware().await + } ///

The ARN of the channel.

pub fn channel_arn(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.channel_arn(input.into()); diff --git a/sdk/chimesdkmessaging/src/operation/put_channel_membership_preferences/builders.rs b/sdk/chimesdkmessaging/src/operation/put_channel_membership_preferences/builders.rs index 2d27f5e94aeb..ccd2e3314312 100644 --- a/sdk/chimesdkmessaging/src/operation/put_channel_membership_preferences/builders.rs +++ b/sdk/chimesdkmessaging/src/operation/put_channel_membership_preferences/builders.rs @@ -21,9 +21,9 @@ impl PutChannelMembershipPreferencesFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize(self) -> ::std::result::Result< + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware(self) -> ::std::result::Result< crate::client::customize::CustomizableOperation, ::aws_smithy_http::result::SdkError >{ @@ -66,6 +66,15 @@ impl PutChannelMembershipPreferencesFluentBuilder { { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize(self) -> ::std::result::Result< + crate::client::customize::CustomizableOperation, + ::aws_smithy_http::result::SdkError + >{ + self.customize_middleware().await + } ///

The ARN of the channel.

pub fn channel_arn(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.channel_arn(input.into()); diff --git a/sdk/chimesdkmessaging/src/operation/put_messaging_streaming_configurations/builders.rs b/sdk/chimesdkmessaging/src/operation/put_messaging_streaming_configurations/builders.rs index 214c3d2a2a1e..927bb5b2d61f 100644 --- a/sdk/chimesdkmessaging/src/operation/put_messaging_streaming_configurations/builders.rs +++ b/sdk/chimesdkmessaging/src/operation/put_messaging_streaming_configurations/builders.rs @@ -19,9 +19,9 @@ impl PutMessagingStreamingConfigurationsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize(self) -> ::std::result::Result< + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware(self) -> ::std::result::Result< crate::client::customize::CustomizableOperation, ::aws_smithy_http::result::SdkError >{ @@ -64,6 +64,15 @@ impl PutMessagingStreamingConfigurationsFluentBuilder { { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize(self) -> ::std::result::Result< + crate::client::customize::CustomizableOperation, + ::aws_smithy_http::result::SdkError + >{ + self.customize_middleware().await + } ///

The ARN of the streaming configuration.

pub fn app_instance_arn( mut self, diff --git a/sdk/chimesdkmessaging/src/operation/redact_channel_message/builders.rs b/sdk/chimesdkmessaging/src/operation/redact_channel_message/builders.rs index dbfe025389a9..00336f9b7fb7 100644 --- a/sdk/chimesdkmessaging/src/operation/redact_channel_message/builders.rs +++ b/sdk/chimesdkmessaging/src/operation/redact_channel_message/builders.rs @@ -21,9 +21,9 @@ impl RedactChannelMessageFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -85,6 +85,22 @@ impl RedactChannelMessageFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::redact_channel_message::RedactChannelMessage, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::redact_channel_message::RedactChannelMessageError, + >, + > { + self.customize_middleware().await + } ///

The ARN of the channel containing the messages that you want to redact.

pub fn channel_arn(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.channel_arn(input.into()); diff --git a/sdk/chimesdkmessaging/src/operation/search_channels/builders.rs b/sdk/chimesdkmessaging/src/operation/search_channels/builders.rs index 074853710297..5a85de5b831e 100644 --- a/sdk/chimesdkmessaging/src/operation/search_channels/builders.rs +++ b/sdk/chimesdkmessaging/src/operation/search_channels/builders.rs @@ -20,9 +20,9 @@ impl SearchChannelsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -78,6 +78,20 @@ impl SearchChannelsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::search_channels::SearchChannels, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::search_channels::paginator::SearchChannelsPaginator::send) which returns a `Stream`. diff --git a/sdk/chimesdkmessaging/src/operation/send_channel_message/builders.rs b/sdk/chimesdkmessaging/src/operation/send_channel_message/builders.rs index ad48e755c596..1700cd1d8d88 100644 --- a/sdk/chimesdkmessaging/src/operation/send_channel_message/builders.rs +++ b/sdk/chimesdkmessaging/src/operation/send_channel_message/builders.rs @@ -22,9 +22,9 @@ impl SendChannelMessageFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -86,6 +86,22 @@ impl SendChannelMessageFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::send_channel_message::SendChannelMessage, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::send_channel_message::SendChannelMessageError, + >, + > { + self.customize_middleware().await + } ///

The ARN of the channel.

pub fn channel_arn(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.channel_arn(input.into()); diff --git a/sdk/chimesdkmessaging/src/operation/tag_resource/builders.rs b/sdk/chimesdkmessaging/src/operation/tag_resource/builders.rs index 3ea30963b8b9..e4b2b9c1649b 100644 --- a/sdk/chimesdkmessaging/src/operation/tag_resource/builders.rs +++ b/sdk/chimesdkmessaging/src/operation/tag_resource/builders.rs @@ -19,9 +19,9 @@ impl TagResourceFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl TagResourceFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::tag_resource::TagResource, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

The resource ARN.

pub fn resource_arn(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.resource_arn(input.into()); diff --git a/sdk/chimesdkmessaging/src/operation/untag_resource/builders.rs b/sdk/chimesdkmessaging/src/operation/untag_resource/builders.rs index 5b8d154bf807..d5b02f0f9f13 100644 --- a/sdk/chimesdkmessaging/src/operation/untag_resource/builders.rs +++ b/sdk/chimesdkmessaging/src/operation/untag_resource/builders.rs @@ -19,9 +19,9 @@ impl UntagResourceFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl UntagResourceFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::untag_resource::UntagResource, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

The resource ARN.

pub fn resource_arn(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.resource_arn(input.into()); diff --git a/sdk/chimesdkmessaging/src/operation/update_channel/builders.rs b/sdk/chimesdkmessaging/src/operation/update_channel/builders.rs index 8badedf3652b..93c15307420e 100644 --- a/sdk/chimesdkmessaging/src/operation/update_channel/builders.rs +++ b/sdk/chimesdkmessaging/src/operation/update_channel/builders.rs @@ -22,9 +22,9 @@ impl UpdateChannelFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -80,6 +80,20 @@ impl UpdateChannelFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::update_channel::UpdateChannel, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

The ARN of the channel.

pub fn channel_arn(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.channel_arn(input.into()); diff --git a/sdk/chimesdkmessaging/src/operation/update_channel_flow/builders.rs b/sdk/chimesdkmessaging/src/operation/update_channel_flow/builders.rs index 296dcacd21d7..600822dca809 100644 --- a/sdk/chimesdkmessaging/src/operation/update_channel_flow/builders.rs +++ b/sdk/chimesdkmessaging/src/operation/update_channel_flow/builders.rs @@ -19,9 +19,9 @@ impl UpdateChannelFlowFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl UpdateChannelFlowFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::update_channel_flow::UpdateChannelFlow, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::update_channel_flow::UpdateChannelFlowError, + >, + > { + self.customize_middleware().await + } ///

The ARN of the channel flow.

pub fn channel_flow_arn( mut self, diff --git a/sdk/chimesdkmessaging/src/operation/update_channel_message/builders.rs b/sdk/chimesdkmessaging/src/operation/update_channel_message/builders.rs index e1c2653b18ac..15d3a37a2387 100644 --- a/sdk/chimesdkmessaging/src/operation/update_channel_message/builders.rs +++ b/sdk/chimesdkmessaging/src/operation/update_channel_message/builders.rs @@ -21,9 +21,9 @@ impl UpdateChannelMessageFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -85,6 +85,22 @@ impl UpdateChannelMessageFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::update_channel_message::UpdateChannelMessage, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::update_channel_message::UpdateChannelMessageError, + >, + > { + self.customize_middleware().await + } ///

The ARN of the channel.

pub fn channel_arn(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.channel_arn(input.into()); diff --git a/sdk/chimesdkmessaging/src/operation/update_channel_read_marker/builders.rs b/sdk/chimesdkmessaging/src/operation/update_channel_read_marker/builders.rs index ad5929122a8e..e0b025c6beaf 100644 --- a/sdk/chimesdkmessaging/src/operation/update_channel_read_marker/builders.rs +++ b/sdk/chimesdkmessaging/src/operation/update_channel_read_marker/builders.rs @@ -22,9 +22,9 @@ impl UpdateChannelReadMarkerFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -86,6 +86,22 @@ impl UpdateChannelReadMarkerFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::update_channel_read_marker::UpdateChannelReadMarker, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::update_channel_read_marker::UpdateChannelReadMarkerError, + >, + > { + self.customize_middleware().await + } ///

The ARN of the channel.

pub fn channel_arn(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.channel_arn(input.into()); diff --git a/sdk/chimesdkvoice/src/operation/associate_phone_numbers_with_voice_connector/builders.rs b/sdk/chimesdkvoice/src/operation/associate_phone_numbers_with_voice_connector/builders.rs index 19b750afa063..750ff56b6a1b 100644 --- a/sdk/chimesdkvoice/src/operation/associate_phone_numbers_with_voice_connector/builders.rs +++ b/sdk/chimesdkvoice/src/operation/associate_phone_numbers_with_voice_connector/builders.rs @@ -19,9 +19,9 @@ impl AssociatePhoneNumbersWithVoiceConnectorFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize(self) -> ::std::result::Result< + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware(self) -> ::std::result::Result< crate::client::customize::CustomizableOperation, ::aws_smithy_http::result::SdkError >{ @@ -64,6 +64,15 @@ impl AssociatePhoneNumbersWithVoiceConnectorFluentBuilder { { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize(self) -> ::std::result::Result< + crate::client::customize::CustomizableOperation, + ::aws_smithy_http::result::SdkError + >{ + self.customize_middleware().await + } ///

The Voice Connector ID.

pub fn voice_connector_id( mut self, diff --git a/sdk/chimesdkvoice/src/operation/associate_phone_numbers_with_voice_connector_group/builders.rs b/sdk/chimesdkvoice/src/operation/associate_phone_numbers_with_voice_connector_group/builders.rs index 6d15cee6f0f7..44baa02f1299 100644 --- a/sdk/chimesdkvoice/src/operation/associate_phone_numbers_with_voice_connector_group/builders.rs +++ b/sdk/chimesdkvoice/src/operation/associate_phone_numbers_with_voice_connector_group/builders.rs @@ -19,9 +19,9 @@ impl AssociatePhoneNumbersWithVoiceConnectorGroupFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize(self) -> ::std::result::Result< + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware(self) -> ::std::result::Result< crate::client::customize::CustomizableOperation, ::aws_smithy_http::result::SdkError >{ @@ -64,6 +64,15 @@ impl AssociatePhoneNumbersWithVoiceConnectorGroupFluentBuilder { { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize(self) -> ::std::result::Result< + crate::client::customize::CustomizableOperation, + ::aws_smithy_http::result::SdkError + >{ + self.customize_middleware().await + } ///

The Amazon Chime SDK Voice Connector group ID.

pub fn voice_connector_group_id( mut self, diff --git a/sdk/chimesdkvoice/src/operation/batch_delete_phone_number/builders.rs b/sdk/chimesdkvoice/src/operation/batch_delete_phone_number/builders.rs index 9fe1fb45653b..a7035d9a103b 100644 --- a/sdk/chimesdkvoice/src/operation/batch_delete_phone_number/builders.rs +++ b/sdk/chimesdkvoice/src/operation/batch_delete_phone_number/builders.rs @@ -21,9 +21,9 @@ impl BatchDeletePhoneNumberFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -85,6 +85,22 @@ impl BatchDeletePhoneNumberFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::batch_delete_phone_number::BatchDeletePhoneNumber, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::batch_delete_phone_number::BatchDeletePhoneNumberError, + >, + > { + self.customize_middleware().await + } /// Appends an item to `PhoneNumberIds`. /// /// To override the contents of this collection use [`set_phone_number_ids`](Self::set_phone_number_ids). diff --git a/sdk/chimesdkvoice/src/operation/batch_update_phone_number/builders.rs b/sdk/chimesdkvoice/src/operation/batch_update_phone_number/builders.rs index 88dbe1c9686a..0e98086d5b05 100644 --- a/sdk/chimesdkvoice/src/operation/batch_update_phone_number/builders.rs +++ b/sdk/chimesdkvoice/src/operation/batch_update_phone_number/builders.rs @@ -20,9 +20,9 @@ impl BatchUpdatePhoneNumberFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -84,6 +84,22 @@ impl BatchUpdatePhoneNumberFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::batch_update_phone_number::BatchUpdatePhoneNumber, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::batch_update_phone_number::BatchUpdatePhoneNumberError, + >, + > { + self.customize_middleware().await + } /// Appends an item to `UpdatePhoneNumberRequestItems`. /// /// To override the contents of this collection use [`set_update_phone_number_request_items`](Self::set_update_phone_number_request_items). diff --git a/sdk/chimesdkvoice/src/operation/create_phone_number_order/builders.rs b/sdk/chimesdkvoice/src/operation/create_phone_number_order/builders.rs index bef0aa29adfe..2c2df67316b3 100644 --- a/sdk/chimesdkvoice/src/operation/create_phone_number_order/builders.rs +++ b/sdk/chimesdkvoice/src/operation/create_phone_number_order/builders.rs @@ -20,9 +20,9 @@ impl CreatePhoneNumberOrderFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -84,6 +84,22 @@ impl CreatePhoneNumberOrderFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::create_phone_number_order::CreatePhoneNumberOrder, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::create_phone_number_order::CreatePhoneNumberOrderError, + >, + > { + self.customize_middleware().await + } ///

The phone number product type.

pub fn product_type(mut self, input: crate::types::PhoneNumberProductType) -> Self { self.inner = self.inner.product_type(input); diff --git a/sdk/chimesdkvoice/src/operation/create_proxy_session/builders.rs b/sdk/chimesdkvoice/src/operation/create_proxy_session/builders.rs index 7bc884f889ee..82c9823561f7 100644 --- a/sdk/chimesdkvoice/src/operation/create_proxy_session/builders.rs +++ b/sdk/chimesdkvoice/src/operation/create_proxy_session/builders.rs @@ -19,9 +19,9 @@ impl CreateProxySessionFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl CreateProxySessionFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::create_proxy_session::CreateProxySession, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::create_proxy_session::CreateProxySessionError, + >, + > { + self.customize_middleware().await + } ///

The Voice Connector ID.

pub fn voice_connector_id( mut self, diff --git a/sdk/chimesdkvoice/src/operation/create_sip_media_application/builders.rs b/sdk/chimesdkvoice/src/operation/create_sip_media_application/builders.rs index 0278bc1c564f..1bf943d67f28 100644 --- a/sdk/chimesdkvoice/src/operation/create_sip_media_application/builders.rs +++ b/sdk/chimesdkvoice/src/operation/create_sip_media_application/builders.rs @@ -19,9 +19,9 @@ impl CreateSipMediaApplicationFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl CreateSipMediaApplicationFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::create_sip_media_application::CreateSipMediaApplication, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::create_sip_media_application::CreateSipMediaApplicationError, + >, + > { + self.customize_middleware().await + } ///

The AWS Region assigned to the SIP media application.

pub fn aws_region(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.aws_region(input.into()); diff --git a/sdk/chimesdkvoice/src/operation/create_sip_media_application_call/builders.rs b/sdk/chimesdkvoice/src/operation/create_sip_media_application_call/builders.rs index 77032f6e30c1..27894592e721 100644 --- a/sdk/chimesdkvoice/src/operation/create_sip_media_application_call/builders.rs +++ b/sdk/chimesdkvoice/src/operation/create_sip_media_application_call/builders.rs @@ -19,9 +19,9 @@ impl CreateSipMediaApplicationCallFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl CreateSipMediaApplicationCallFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::create_sip_media_application_call::CreateSipMediaApplicationCall, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::create_sip_media_application_call::CreateSipMediaApplicationCallError, + >, + > { + self.customize_middleware().await + } ///

The phone number that a user calls from. This is a phone number in your Amazon Chime SDK phone number inventory.

pub fn from_phone_number( mut self, diff --git a/sdk/chimesdkvoice/src/operation/create_sip_rule/builders.rs b/sdk/chimesdkvoice/src/operation/create_sip_rule/builders.rs index 3d500db5bc07..40b178f71cd7 100644 --- a/sdk/chimesdkvoice/src/operation/create_sip_rule/builders.rs +++ b/sdk/chimesdkvoice/src/operation/create_sip_rule/builders.rs @@ -19,9 +19,9 @@ impl CreateSipRuleFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl CreateSipRuleFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::create_sip_rule::CreateSipRule, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

The name of the SIP rule.

pub fn name(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.name(input.into()); diff --git a/sdk/chimesdkvoice/src/operation/create_voice_connector/builders.rs b/sdk/chimesdkvoice/src/operation/create_voice_connector/builders.rs index cc6a3479fdf4..3045f96d43dc 100644 --- a/sdk/chimesdkvoice/src/operation/create_voice_connector/builders.rs +++ b/sdk/chimesdkvoice/src/operation/create_voice_connector/builders.rs @@ -19,9 +19,9 @@ impl CreateVoiceConnectorFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl CreateVoiceConnectorFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::create_voice_connector::CreateVoiceConnector, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::create_voice_connector::CreateVoiceConnectorError, + >, + > { + self.customize_middleware().await + } ///

The name of the Voice Connector.

pub fn name(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.name(input.into()); diff --git a/sdk/chimesdkvoice/src/operation/create_voice_connector_group/builders.rs b/sdk/chimesdkvoice/src/operation/create_voice_connector_group/builders.rs index ced10c911134..648a8936ad5b 100644 --- a/sdk/chimesdkvoice/src/operation/create_voice_connector_group/builders.rs +++ b/sdk/chimesdkvoice/src/operation/create_voice_connector_group/builders.rs @@ -20,9 +20,9 @@ impl CreateVoiceConnectorGroupFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -84,6 +84,22 @@ impl CreateVoiceConnectorGroupFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::create_voice_connector_group::CreateVoiceConnectorGroup, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::create_voice_connector_group::CreateVoiceConnectorGroupError, + >, + > { + self.customize_middleware().await + } ///

The name of the Voice Connector group.

pub fn name(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.name(input.into()); diff --git a/sdk/chimesdkvoice/src/operation/create_voice_profile/builders.rs b/sdk/chimesdkvoice/src/operation/create_voice_profile/builders.rs index 3f9f20ef38bc..0337225b0201 100644 --- a/sdk/chimesdkvoice/src/operation/create_voice_profile/builders.rs +++ b/sdk/chimesdkvoice/src/operation/create_voice_profile/builders.rs @@ -22,9 +22,9 @@ impl CreateVoiceProfileFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -86,6 +86,22 @@ impl CreateVoiceProfileFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::create_voice_profile::CreateVoiceProfile, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::create_voice_profile::CreateVoiceProfileError, + >, + > { + self.customize_middleware().await + } ///

The ID of the speaker search task.

pub fn speaker_search_task_id( mut self, diff --git a/sdk/chimesdkvoice/src/operation/create_voice_profile_domain/builders.rs b/sdk/chimesdkvoice/src/operation/create_voice_profile_domain/builders.rs index 397e5e173e70..94aaad4a8972 100644 --- a/sdk/chimesdkvoice/src/operation/create_voice_profile_domain/builders.rs +++ b/sdk/chimesdkvoice/src/operation/create_voice_profile_domain/builders.rs @@ -22,9 +22,9 @@ impl CreateVoiceProfileDomainFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -86,6 +86,22 @@ impl CreateVoiceProfileDomainFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::create_voice_profile_domain::CreateVoiceProfileDomain, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::create_voice_profile_domain::CreateVoiceProfileDomainError, + >, + > { + self.customize_middleware().await + } ///

The name of the voice profile domain.

pub fn name(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.name(input.into()); diff --git a/sdk/chimesdkvoice/src/operation/delete_phone_number/builders.rs b/sdk/chimesdkvoice/src/operation/delete_phone_number/builders.rs index 89badebb4063..49c042d3131d 100644 --- a/sdk/chimesdkvoice/src/operation/delete_phone_number/builders.rs +++ b/sdk/chimesdkvoice/src/operation/delete_phone_number/builders.rs @@ -20,9 +20,9 @@ impl DeletePhoneNumberFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -84,6 +84,22 @@ impl DeletePhoneNumberFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::delete_phone_number::DeletePhoneNumber, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::delete_phone_number::DeletePhoneNumberError, + >, + > { + self.customize_middleware().await + } ///

The phone number ID.

pub fn phone_number_id( mut self, diff --git a/sdk/chimesdkvoice/src/operation/delete_proxy_session/builders.rs b/sdk/chimesdkvoice/src/operation/delete_proxy_session/builders.rs index f5d4bcce0b76..a7e19fffe218 100644 --- a/sdk/chimesdkvoice/src/operation/delete_proxy_session/builders.rs +++ b/sdk/chimesdkvoice/src/operation/delete_proxy_session/builders.rs @@ -19,9 +19,9 @@ impl DeleteProxySessionFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl DeleteProxySessionFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::delete_proxy_session::DeleteProxySession, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::delete_proxy_session::DeleteProxySessionError, + >, + > { + self.customize_middleware().await + } ///

The Voice Connector ID.

pub fn voice_connector_id( mut self, diff --git a/sdk/chimesdkvoice/src/operation/delete_sip_media_application/builders.rs b/sdk/chimesdkvoice/src/operation/delete_sip_media_application/builders.rs index a157d403f550..d13b0630a59d 100644 --- a/sdk/chimesdkvoice/src/operation/delete_sip_media_application/builders.rs +++ b/sdk/chimesdkvoice/src/operation/delete_sip_media_application/builders.rs @@ -19,9 +19,9 @@ impl DeleteSipMediaApplicationFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl DeleteSipMediaApplicationFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::delete_sip_media_application::DeleteSipMediaApplication, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::delete_sip_media_application::DeleteSipMediaApplicationError, + >, + > { + self.customize_middleware().await + } ///

The SIP media application ID.

pub fn sip_media_application_id( mut self, diff --git a/sdk/chimesdkvoice/src/operation/delete_sip_rule/builders.rs b/sdk/chimesdkvoice/src/operation/delete_sip_rule/builders.rs index fbe5c6e29f58..166f2a1ba882 100644 --- a/sdk/chimesdkvoice/src/operation/delete_sip_rule/builders.rs +++ b/sdk/chimesdkvoice/src/operation/delete_sip_rule/builders.rs @@ -19,9 +19,9 @@ impl DeleteSipRuleFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl DeleteSipRuleFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::delete_sip_rule::DeleteSipRule, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

The SIP rule ID.

pub fn sip_rule_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.sip_rule_id(input.into()); diff --git a/sdk/chimesdkvoice/src/operation/delete_voice_connector/builders.rs b/sdk/chimesdkvoice/src/operation/delete_voice_connector/builders.rs index 9d2ae6bdedeb..f9c7c7776438 100644 --- a/sdk/chimesdkvoice/src/operation/delete_voice_connector/builders.rs +++ b/sdk/chimesdkvoice/src/operation/delete_voice_connector/builders.rs @@ -19,9 +19,9 @@ impl DeleteVoiceConnectorFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl DeleteVoiceConnectorFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::delete_voice_connector::DeleteVoiceConnector, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::delete_voice_connector::DeleteVoiceConnectorError, + >, + > { + self.customize_middleware().await + } ///

The Voice Connector ID.

pub fn voice_connector_id( mut self, diff --git a/sdk/chimesdkvoice/src/operation/delete_voice_connector_emergency_calling_configuration/builders.rs b/sdk/chimesdkvoice/src/operation/delete_voice_connector_emergency_calling_configuration/builders.rs index 3662511d8738..590e24a6938a 100644 --- a/sdk/chimesdkvoice/src/operation/delete_voice_connector_emergency_calling_configuration/builders.rs +++ b/sdk/chimesdkvoice/src/operation/delete_voice_connector_emergency_calling_configuration/builders.rs @@ -19,9 +19,9 @@ impl DeleteVoiceConnectorEmergencyCallingConfigurationFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize(self) -> ::std::result::Result< + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware(self) -> ::std::result::Result< crate::client::customize::CustomizableOperation, ::aws_smithy_http::result::SdkError >{ @@ -64,6 +64,15 @@ impl DeleteVoiceConnectorEmergencyCallingConfigurationFluentBuilder { { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize(self) -> ::std::result::Result< + crate::client::customize::CustomizableOperation, + ::aws_smithy_http::result::SdkError + >{ + self.customize_middleware().await + } ///

The Voice Connector ID.

pub fn voice_connector_id( mut self, diff --git a/sdk/chimesdkvoice/src/operation/delete_voice_connector_group/builders.rs b/sdk/chimesdkvoice/src/operation/delete_voice_connector_group/builders.rs index dc167e720310..c328b0230ea8 100644 --- a/sdk/chimesdkvoice/src/operation/delete_voice_connector_group/builders.rs +++ b/sdk/chimesdkvoice/src/operation/delete_voice_connector_group/builders.rs @@ -19,9 +19,9 @@ impl DeleteVoiceConnectorGroupFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl DeleteVoiceConnectorGroupFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::delete_voice_connector_group::DeleteVoiceConnectorGroup, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::delete_voice_connector_group::DeleteVoiceConnectorGroupError, + >, + > { + self.customize_middleware().await + } ///

The Voice Connector Group ID.

pub fn voice_connector_group_id( mut self, diff --git a/sdk/chimesdkvoice/src/operation/delete_voice_connector_origination/builders.rs b/sdk/chimesdkvoice/src/operation/delete_voice_connector_origination/builders.rs index f766bee9b42a..ec87910c114b 100644 --- a/sdk/chimesdkvoice/src/operation/delete_voice_connector_origination/builders.rs +++ b/sdk/chimesdkvoice/src/operation/delete_voice_connector_origination/builders.rs @@ -21,9 +21,9 @@ impl DeleteVoiceConnectorOriginationFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize(self) -> ::std::result::Result< + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware(self) -> ::std::result::Result< crate::client::customize::CustomizableOperation, ::aws_smithy_http::result::SdkError >{ @@ -66,6 +66,15 @@ impl DeleteVoiceConnectorOriginationFluentBuilder { { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize(self) -> ::std::result::Result< + crate::client::customize::CustomizableOperation, + ::aws_smithy_http::result::SdkError + >{ + self.customize_middleware().await + } ///

The Voice Connector ID.

pub fn voice_connector_id( mut self, diff --git a/sdk/chimesdkvoice/src/operation/delete_voice_connector_proxy/builders.rs b/sdk/chimesdkvoice/src/operation/delete_voice_connector_proxy/builders.rs index 41f84be4dd48..b98fe0ca0a1a 100644 --- a/sdk/chimesdkvoice/src/operation/delete_voice_connector_proxy/builders.rs +++ b/sdk/chimesdkvoice/src/operation/delete_voice_connector_proxy/builders.rs @@ -19,9 +19,9 @@ impl DeleteVoiceConnectorProxyFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl DeleteVoiceConnectorProxyFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::delete_voice_connector_proxy::DeleteVoiceConnectorProxy, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::delete_voice_connector_proxy::DeleteVoiceConnectorProxyError, + >, + > { + self.customize_middleware().await + } ///

The Voice Connector ID.

pub fn voice_connector_id( mut self, diff --git a/sdk/chimesdkvoice/src/operation/delete_voice_connector_streaming_configuration/builders.rs b/sdk/chimesdkvoice/src/operation/delete_voice_connector_streaming_configuration/builders.rs index 813f2ac24fbe..014ae5e522c7 100644 --- a/sdk/chimesdkvoice/src/operation/delete_voice_connector_streaming_configuration/builders.rs +++ b/sdk/chimesdkvoice/src/operation/delete_voice_connector_streaming_configuration/builders.rs @@ -19,9 +19,9 @@ impl DeleteVoiceConnectorStreamingConfigurationFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize(self) -> ::std::result::Result< + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware(self) -> ::std::result::Result< crate::client::customize::CustomizableOperation, ::aws_smithy_http::result::SdkError >{ @@ -64,6 +64,15 @@ impl DeleteVoiceConnectorStreamingConfigurationFluentBuilder { { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize(self) -> ::std::result::Result< + crate::client::customize::CustomizableOperation, + ::aws_smithy_http::result::SdkError + >{ + self.customize_middleware().await + } ///

The Voice Connector ID.

pub fn voice_connector_id( mut self, diff --git a/sdk/chimesdkvoice/src/operation/delete_voice_connector_termination/builders.rs b/sdk/chimesdkvoice/src/operation/delete_voice_connector_termination/builders.rs index d056ad10e841..c4e1997226c5 100644 --- a/sdk/chimesdkvoice/src/operation/delete_voice_connector_termination/builders.rs +++ b/sdk/chimesdkvoice/src/operation/delete_voice_connector_termination/builders.rs @@ -21,9 +21,9 @@ impl DeleteVoiceConnectorTerminationFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize(self) -> ::std::result::Result< + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware(self) -> ::std::result::Result< crate::client::customize::CustomizableOperation, ::aws_smithy_http::result::SdkError >{ @@ -66,6 +66,15 @@ impl DeleteVoiceConnectorTerminationFluentBuilder { { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize(self) -> ::std::result::Result< + crate::client::customize::CustomizableOperation, + ::aws_smithy_http::result::SdkError + >{ + self.customize_middleware().await + } ///

The Voice Connector ID.

pub fn voice_connector_id( mut self, diff --git a/sdk/chimesdkvoice/src/operation/delete_voice_connector_termination_credentials/builders.rs b/sdk/chimesdkvoice/src/operation/delete_voice_connector_termination_credentials/builders.rs index 86be48634072..152524808688 100644 --- a/sdk/chimesdkvoice/src/operation/delete_voice_connector_termination_credentials/builders.rs +++ b/sdk/chimesdkvoice/src/operation/delete_voice_connector_termination_credentials/builders.rs @@ -19,9 +19,9 @@ impl DeleteVoiceConnectorTerminationCredentialsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize(self) -> ::std::result::Result< + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware(self) -> ::std::result::Result< crate::client::customize::CustomizableOperation, ::aws_smithy_http::result::SdkError >{ @@ -64,6 +64,15 @@ impl DeleteVoiceConnectorTerminationCredentialsFluentBuilder { { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize(self) -> ::std::result::Result< + crate::client::customize::CustomizableOperation, + ::aws_smithy_http::result::SdkError + >{ + self.customize_middleware().await + } ///

The Voice Connector ID.

pub fn voice_connector_id( mut self, diff --git a/sdk/chimesdkvoice/src/operation/delete_voice_profile/builders.rs b/sdk/chimesdkvoice/src/operation/delete_voice_profile/builders.rs index f5b7307085e4..611028416de8 100644 --- a/sdk/chimesdkvoice/src/operation/delete_voice_profile/builders.rs +++ b/sdk/chimesdkvoice/src/operation/delete_voice_profile/builders.rs @@ -19,9 +19,9 @@ impl DeleteVoiceProfileFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl DeleteVoiceProfileFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::delete_voice_profile::DeleteVoiceProfile, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::delete_voice_profile::DeleteVoiceProfileError, + >, + > { + self.customize_middleware().await + } ///

The voice profile ID.

pub fn voice_profile_id( mut self, diff --git a/sdk/chimesdkvoice/src/operation/delete_voice_profile_domain/builders.rs b/sdk/chimesdkvoice/src/operation/delete_voice_profile_domain/builders.rs index 8e294238dbdd..3c695c407610 100644 --- a/sdk/chimesdkvoice/src/operation/delete_voice_profile_domain/builders.rs +++ b/sdk/chimesdkvoice/src/operation/delete_voice_profile_domain/builders.rs @@ -19,9 +19,9 @@ impl DeleteVoiceProfileDomainFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl DeleteVoiceProfileDomainFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::delete_voice_profile_domain::DeleteVoiceProfileDomain, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::delete_voice_profile_domain::DeleteVoiceProfileDomainError, + >, + > { + self.customize_middleware().await + } ///

The voice profile domain ID.

pub fn voice_profile_domain_id( mut self, diff --git a/sdk/chimesdkvoice/src/operation/disassociate_phone_numbers_from_voice_connector/builders.rs b/sdk/chimesdkvoice/src/operation/disassociate_phone_numbers_from_voice_connector/builders.rs index be413d7f15cc..197de96590e0 100644 --- a/sdk/chimesdkvoice/src/operation/disassociate_phone_numbers_from_voice_connector/builders.rs +++ b/sdk/chimesdkvoice/src/operation/disassociate_phone_numbers_from_voice_connector/builders.rs @@ -19,9 +19,9 @@ impl DisassociatePhoneNumbersFromVoiceConnectorFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize(self) -> ::std::result::Result< + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware(self) -> ::std::result::Result< crate::client::customize::CustomizableOperation, ::aws_smithy_http::result::SdkError >{ @@ -64,6 +64,15 @@ impl DisassociatePhoneNumbersFromVoiceConnectorFluentBuilder { { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize(self) -> ::std::result::Result< + crate::client::customize::CustomizableOperation, + ::aws_smithy_http::result::SdkError + >{ + self.customize_middleware().await + } ///

The Voice Connector ID.

pub fn voice_connector_id( mut self, diff --git a/sdk/chimesdkvoice/src/operation/disassociate_phone_numbers_from_voice_connector_group/builders.rs b/sdk/chimesdkvoice/src/operation/disassociate_phone_numbers_from_voice_connector_group/builders.rs index 4eb49b3188f3..1bf48b627e0b 100644 --- a/sdk/chimesdkvoice/src/operation/disassociate_phone_numbers_from_voice_connector_group/builders.rs +++ b/sdk/chimesdkvoice/src/operation/disassociate_phone_numbers_from_voice_connector_group/builders.rs @@ -19,9 +19,9 @@ impl DisassociatePhoneNumbersFromVoiceConnectorGroupFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize(self) -> ::std::result::Result< + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware(self) -> ::std::result::Result< crate::client::customize::CustomizableOperation, ::aws_smithy_http::result::SdkError >{ @@ -64,6 +64,15 @@ impl DisassociatePhoneNumbersFromVoiceConnectorGroupFluentBuilder { { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize(self) -> ::std::result::Result< + crate::client::customize::CustomizableOperation, + ::aws_smithy_http::result::SdkError + >{ + self.customize_middleware().await + } ///

The Voice Connector group ID.

pub fn voice_connector_group_id( mut self, diff --git a/sdk/chimesdkvoice/src/operation/get_global_settings/builders.rs b/sdk/chimesdkvoice/src/operation/get_global_settings/builders.rs index 10456284f373..25900d87316a 100644 --- a/sdk/chimesdkvoice/src/operation/get_global_settings/builders.rs +++ b/sdk/chimesdkvoice/src/operation/get_global_settings/builders.rs @@ -19,9 +19,9 @@ impl GetGlobalSettingsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,4 +83,20 @@ impl GetGlobalSettingsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::get_global_settings::GetGlobalSettings, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::get_global_settings::GetGlobalSettingsError, + >, + > { + self.customize_middleware().await + } } diff --git a/sdk/chimesdkvoice/src/operation/get_phone_number/builders.rs b/sdk/chimesdkvoice/src/operation/get_phone_number/builders.rs index 5a0131de3ab5..f79707371090 100644 --- a/sdk/chimesdkvoice/src/operation/get_phone_number/builders.rs +++ b/sdk/chimesdkvoice/src/operation/get_phone_number/builders.rs @@ -19,9 +19,9 @@ impl GetPhoneNumberFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl GetPhoneNumberFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::get_phone_number::GetPhoneNumber, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::get_phone_number::GetPhoneNumberError, + >, + > { + self.customize_middleware().await + } ///

The phone number ID.

pub fn phone_number_id( mut self, diff --git a/sdk/chimesdkvoice/src/operation/get_phone_number_order/builders.rs b/sdk/chimesdkvoice/src/operation/get_phone_number_order/builders.rs index 377ffda6972e..b70698759cf7 100644 --- a/sdk/chimesdkvoice/src/operation/get_phone_number_order/builders.rs +++ b/sdk/chimesdkvoice/src/operation/get_phone_number_order/builders.rs @@ -19,9 +19,9 @@ impl GetPhoneNumberOrderFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl GetPhoneNumberOrderFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::get_phone_number_order::GetPhoneNumberOrder, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::get_phone_number_order::GetPhoneNumberOrderError, + >, + > { + self.customize_middleware().await + } ///

The ID of the phone number order .

pub fn phone_number_order_id( mut self, diff --git a/sdk/chimesdkvoice/src/operation/get_phone_number_settings/builders.rs b/sdk/chimesdkvoice/src/operation/get_phone_number_settings/builders.rs index b34baf2b6d97..bf6f4e17198e 100644 --- a/sdk/chimesdkvoice/src/operation/get_phone_number_settings/builders.rs +++ b/sdk/chimesdkvoice/src/operation/get_phone_number_settings/builders.rs @@ -20,9 +20,9 @@ impl GetPhoneNumberSettingsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -84,4 +84,20 @@ impl GetPhoneNumberSettingsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::get_phone_number_settings::GetPhoneNumberSettings, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::get_phone_number_settings::GetPhoneNumberSettingsError, + >, + > { + self.customize_middleware().await + } } diff --git a/sdk/chimesdkvoice/src/operation/get_proxy_session/builders.rs b/sdk/chimesdkvoice/src/operation/get_proxy_session/builders.rs index 943c3954b552..f488c18f1c8f 100644 --- a/sdk/chimesdkvoice/src/operation/get_proxy_session/builders.rs +++ b/sdk/chimesdkvoice/src/operation/get_proxy_session/builders.rs @@ -19,9 +19,9 @@ impl GetProxySessionFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl GetProxySessionFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::get_proxy_session::GetProxySession, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::get_proxy_session::GetProxySessionError, + >, + > { + self.customize_middleware().await + } ///

The Voice Connector ID.

pub fn voice_connector_id( mut self, diff --git a/sdk/chimesdkvoice/src/operation/get_sip_media_application/builders.rs b/sdk/chimesdkvoice/src/operation/get_sip_media_application/builders.rs index ff928776e58b..3938123bdf48 100644 --- a/sdk/chimesdkvoice/src/operation/get_sip_media_application/builders.rs +++ b/sdk/chimesdkvoice/src/operation/get_sip_media_application/builders.rs @@ -20,9 +20,9 @@ impl GetSipMediaApplicationFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -84,6 +84,22 @@ impl GetSipMediaApplicationFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::get_sip_media_application::GetSipMediaApplication, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::get_sip_media_application::GetSipMediaApplicationError, + >, + > { + self.customize_middleware().await + } ///

The SIP media application ID .

pub fn sip_media_application_id( mut self, diff --git a/sdk/chimesdkvoice/src/operation/get_sip_media_application_alexa_skill_configuration/builders.rs b/sdk/chimesdkvoice/src/operation/get_sip_media_application_alexa_skill_configuration/builders.rs index 088445d9bb5b..0e6dd614bf49 100644 --- a/sdk/chimesdkvoice/src/operation/get_sip_media_application_alexa_skill_configuration/builders.rs +++ b/sdk/chimesdkvoice/src/operation/get_sip_media_application_alexa_skill_configuration/builders.rs @@ -19,9 +19,9 @@ impl GetSipMediaApplicationAlexaSkillConfigurationFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize(self) -> ::std::result::Result< + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware(self) -> ::std::result::Result< crate::client::customize::CustomizableOperation, ::aws_smithy_http::result::SdkError >{ @@ -64,6 +64,15 @@ impl GetSipMediaApplicationAlexaSkillConfigurationFluentBuilder { { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize(self) -> ::std::result::Result< + crate::client::customize::CustomizableOperation, + ::aws_smithy_http::result::SdkError + >{ + self.customize_middleware().await + } ///

The SIP media application ID.

pub fn sip_media_application_id( mut self, diff --git a/sdk/chimesdkvoice/src/operation/get_sip_media_application_logging_configuration/builders.rs b/sdk/chimesdkvoice/src/operation/get_sip_media_application_logging_configuration/builders.rs index 09ba1778beee..9840ddfca7ce 100644 --- a/sdk/chimesdkvoice/src/operation/get_sip_media_application_logging_configuration/builders.rs +++ b/sdk/chimesdkvoice/src/operation/get_sip_media_application_logging_configuration/builders.rs @@ -19,9 +19,9 @@ impl GetSipMediaApplicationLoggingConfigurationFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize(self) -> ::std::result::Result< + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware(self) -> ::std::result::Result< crate::client::customize::CustomizableOperation, ::aws_smithy_http::result::SdkError >{ @@ -64,6 +64,15 @@ impl GetSipMediaApplicationLoggingConfigurationFluentBuilder { { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize(self) -> ::std::result::Result< + crate::client::customize::CustomizableOperation, + ::aws_smithy_http::result::SdkError + >{ + self.customize_middleware().await + } ///

The SIP media application ID.

pub fn sip_media_application_id( mut self, diff --git a/sdk/chimesdkvoice/src/operation/get_sip_rule/builders.rs b/sdk/chimesdkvoice/src/operation/get_sip_rule/builders.rs index 8cced58fc36d..b91dfd9c7e37 100644 --- a/sdk/chimesdkvoice/src/operation/get_sip_rule/builders.rs +++ b/sdk/chimesdkvoice/src/operation/get_sip_rule/builders.rs @@ -19,9 +19,9 @@ impl GetSipRuleFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl GetSipRuleFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::get_sip_rule::GetSipRule, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

The SIP rule ID.

pub fn sip_rule_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.sip_rule_id(input.into()); diff --git a/sdk/chimesdkvoice/src/operation/get_speaker_search_task/builders.rs b/sdk/chimesdkvoice/src/operation/get_speaker_search_task/builders.rs index e00f3603739d..2b389a4d233d 100644 --- a/sdk/chimesdkvoice/src/operation/get_speaker_search_task/builders.rs +++ b/sdk/chimesdkvoice/src/operation/get_speaker_search_task/builders.rs @@ -19,9 +19,9 @@ impl GetSpeakerSearchTaskFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl GetSpeakerSearchTaskFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::get_speaker_search_task::GetSpeakerSearchTask, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::get_speaker_search_task::GetSpeakerSearchTaskError, + >, + > { + self.customize_middleware().await + } ///

The Voice Connector ID.

pub fn voice_connector_id( mut self, diff --git a/sdk/chimesdkvoice/src/operation/get_voice_connector/builders.rs b/sdk/chimesdkvoice/src/operation/get_voice_connector/builders.rs index aceaedcf2597..6726ae539b0b 100644 --- a/sdk/chimesdkvoice/src/operation/get_voice_connector/builders.rs +++ b/sdk/chimesdkvoice/src/operation/get_voice_connector/builders.rs @@ -19,9 +19,9 @@ impl GetVoiceConnectorFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl GetVoiceConnectorFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::get_voice_connector::GetVoiceConnector, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::get_voice_connector::GetVoiceConnectorError, + >, + > { + self.customize_middleware().await + } ///

The Voice Connector ID.

pub fn voice_connector_id( mut self, diff --git a/sdk/chimesdkvoice/src/operation/get_voice_connector_emergency_calling_configuration/builders.rs b/sdk/chimesdkvoice/src/operation/get_voice_connector_emergency_calling_configuration/builders.rs index edb9fe97533a..39abc24a55c6 100644 --- a/sdk/chimesdkvoice/src/operation/get_voice_connector_emergency_calling_configuration/builders.rs +++ b/sdk/chimesdkvoice/src/operation/get_voice_connector_emergency_calling_configuration/builders.rs @@ -19,9 +19,9 @@ impl GetVoiceConnectorEmergencyCallingConfigurationFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize(self) -> ::std::result::Result< + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware(self) -> ::std::result::Result< crate::client::customize::CustomizableOperation, ::aws_smithy_http::result::SdkError >{ @@ -64,6 +64,15 @@ impl GetVoiceConnectorEmergencyCallingConfigurationFluentBuilder { { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize(self) -> ::std::result::Result< + crate::client::customize::CustomizableOperation, + ::aws_smithy_http::result::SdkError + >{ + self.customize_middleware().await + } ///

The Voice Connector ID.

pub fn voice_connector_id( mut self, diff --git a/sdk/chimesdkvoice/src/operation/get_voice_connector_group/builders.rs b/sdk/chimesdkvoice/src/operation/get_voice_connector_group/builders.rs index 2ec2787941a6..aba34e9f2dd0 100644 --- a/sdk/chimesdkvoice/src/operation/get_voice_connector_group/builders.rs +++ b/sdk/chimesdkvoice/src/operation/get_voice_connector_group/builders.rs @@ -20,9 +20,9 @@ impl GetVoiceConnectorGroupFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -84,6 +84,22 @@ impl GetVoiceConnectorGroupFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::get_voice_connector_group::GetVoiceConnectorGroup, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::get_voice_connector_group::GetVoiceConnectorGroupError, + >, + > { + self.customize_middleware().await + } ///

The Voice Connector group ID.

pub fn voice_connector_group_id( mut self, diff --git a/sdk/chimesdkvoice/src/operation/get_voice_connector_logging_configuration/builders.rs b/sdk/chimesdkvoice/src/operation/get_voice_connector_logging_configuration/builders.rs index 261fb236aabd..bc8d88e19536 100644 --- a/sdk/chimesdkvoice/src/operation/get_voice_connector_logging_configuration/builders.rs +++ b/sdk/chimesdkvoice/src/operation/get_voice_connector_logging_configuration/builders.rs @@ -19,9 +19,9 @@ impl GetVoiceConnectorLoggingConfigurationFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize(self) -> ::std::result::Result< + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware(self) -> ::std::result::Result< crate::client::customize::CustomizableOperation, ::aws_smithy_http::result::SdkError >{ @@ -64,6 +64,15 @@ impl GetVoiceConnectorLoggingConfigurationFluentBuilder { { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize(self) -> ::std::result::Result< + crate::client::customize::CustomizableOperation, + ::aws_smithy_http::result::SdkError + >{ + self.customize_middleware().await + } ///

The Voice Connector ID.

pub fn voice_connector_id( mut self, diff --git a/sdk/chimesdkvoice/src/operation/get_voice_connector_origination/builders.rs b/sdk/chimesdkvoice/src/operation/get_voice_connector_origination/builders.rs index 06c09a22c205..4cb40800c1d3 100644 --- a/sdk/chimesdkvoice/src/operation/get_voice_connector_origination/builders.rs +++ b/sdk/chimesdkvoice/src/operation/get_voice_connector_origination/builders.rs @@ -19,9 +19,9 @@ impl GetVoiceConnectorOriginationFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl GetVoiceConnectorOriginationFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::get_voice_connector_origination::GetVoiceConnectorOrigination, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::get_voice_connector_origination::GetVoiceConnectorOriginationError, + >, + > { + self.customize_middleware().await + } ///

The Voice Connector ID.

pub fn voice_connector_id( mut self, diff --git a/sdk/chimesdkvoice/src/operation/get_voice_connector_proxy/builders.rs b/sdk/chimesdkvoice/src/operation/get_voice_connector_proxy/builders.rs index 6a4c0eafe826..074ed1642d5d 100644 --- a/sdk/chimesdkvoice/src/operation/get_voice_connector_proxy/builders.rs +++ b/sdk/chimesdkvoice/src/operation/get_voice_connector_proxy/builders.rs @@ -20,9 +20,9 @@ impl GetVoiceConnectorProxyFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -84,6 +84,22 @@ impl GetVoiceConnectorProxyFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::get_voice_connector_proxy::GetVoiceConnectorProxy, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::get_voice_connector_proxy::GetVoiceConnectorProxyError, + >, + > { + self.customize_middleware().await + } ///

The Voice Connector ID.

pub fn voice_connector_id( mut self, diff --git a/sdk/chimesdkvoice/src/operation/get_voice_connector_streaming_configuration/builders.rs b/sdk/chimesdkvoice/src/operation/get_voice_connector_streaming_configuration/builders.rs index 8f69f141b446..ef091fc4b97e 100644 --- a/sdk/chimesdkvoice/src/operation/get_voice_connector_streaming_configuration/builders.rs +++ b/sdk/chimesdkvoice/src/operation/get_voice_connector_streaming_configuration/builders.rs @@ -19,9 +19,9 @@ impl GetVoiceConnectorStreamingConfigurationFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize(self) -> ::std::result::Result< + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware(self) -> ::std::result::Result< crate::client::customize::CustomizableOperation, ::aws_smithy_http::result::SdkError >{ @@ -64,6 +64,15 @@ impl GetVoiceConnectorStreamingConfigurationFluentBuilder { { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize(self) -> ::std::result::Result< + crate::client::customize::CustomizableOperation, + ::aws_smithy_http::result::SdkError + >{ + self.customize_middleware().await + } ///

The Voice Connector ID.

pub fn voice_connector_id( mut self, diff --git a/sdk/chimesdkvoice/src/operation/get_voice_connector_termination/builders.rs b/sdk/chimesdkvoice/src/operation/get_voice_connector_termination/builders.rs index 0a654aa57443..0e530f4d3d29 100644 --- a/sdk/chimesdkvoice/src/operation/get_voice_connector_termination/builders.rs +++ b/sdk/chimesdkvoice/src/operation/get_voice_connector_termination/builders.rs @@ -19,9 +19,9 @@ impl GetVoiceConnectorTerminationFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl GetVoiceConnectorTerminationFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::get_voice_connector_termination::GetVoiceConnectorTermination, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::get_voice_connector_termination::GetVoiceConnectorTerminationError, + >, + > { + self.customize_middleware().await + } ///

The Voice Connector ID.

pub fn voice_connector_id( mut self, diff --git a/sdk/chimesdkvoice/src/operation/get_voice_connector_termination_health/builders.rs b/sdk/chimesdkvoice/src/operation/get_voice_connector_termination_health/builders.rs index 44a8c953bd2c..fb94577a7309 100644 --- a/sdk/chimesdkvoice/src/operation/get_voice_connector_termination_health/builders.rs +++ b/sdk/chimesdkvoice/src/operation/get_voice_connector_termination_health/builders.rs @@ -19,9 +19,9 @@ impl GetVoiceConnectorTerminationHealthFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize(self) -> ::std::result::Result< + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware(self) -> ::std::result::Result< crate::client::customize::CustomizableOperation, ::aws_smithy_http::result::SdkError >{ @@ -64,6 +64,15 @@ impl GetVoiceConnectorTerminationHealthFluentBuilder { { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize(self) -> ::std::result::Result< + crate::client::customize::CustomizableOperation, + ::aws_smithy_http::result::SdkError + >{ + self.customize_middleware().await + } ///

The Voice Connector ID.

pub fn voice_connector_id( mut self, diff --git a/sdk/chimesdkvoice/src/operation/get_voice_profile/builders.rs b/sdk/chimesdkvoice/src/operation/get_voice_profile/builders.rs index 46ddcbecda43..4826ac6e6042 100644 --- a/sdk/chimesdkvoice/src/operation/get_voice_profile/builders.rs +++ b/sdk/chimesdkvoice/src/operation/get_voice_profile/builders.rs @@ -19,9 +19,9 @@ impl GetVoiceProfileFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl GetVoiceProfileFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::get_voice_profile::GetVoiceProfile, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::get_voice_profile::GetVoiceProfileError, + >, + > { + self.customize_middleware().await + } ///

The voice profile ID.

pub fn voice_profile_id( mut self, diff --git a/sdk/chimesdkvoice/src/operation/get_voice_profile_domain/builders.rs b/sdk/chimesdkvoice/src/operation/get_voice_profile_domain/builders.rs index 7e94dc650103..d83ae9693d4a 100644 --- a/sdk/chimesdkvoice/src/operation/get_voice_profile_domain/builders.rs +++ b/sdk/chimesdkvoice/src/operation/get_voice_profile_domain/builders.rs @@ -19,9 +19,9 @@ impl GetVoiceProfileDomainFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl GetVoiceProfileDomainFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::get_voice_profile_domain::GetVoiceProfileDomain, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::get_voice_profile_domain::GetVoiceProfileDomainError, + >, + > { + self.customize_middleware().await + } ///

The voice profile domain ID.

pub fn voice_profile_domain_id( mut self, diff --git a/sdk/chimesdkvoice/src/operation/get_voice_tone_analysis_task/builders.rs b/sdk/chimesdkvoice/src/operation/get_voice_tone_analysis_task/builders.rs index 1f98e30fcd39..08655917a9ab 100644 --- a/sdk/chimesdkvoice/src/operation/get_voice_tone_analysis_task/builders.rs +++ b/sdk/chimesdkvoice/src/operation/get_voice_tone_analysis_task/builders.rs @@ -19,9 +19,9 @@ impl GetVoiceToneAnalysisTaskFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl GetVoiceToneAnalysisTaskFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::get_voice_tone_analysis_task::GetVoiceToneAnalysisTask, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::get_voice_tone_analysis_task::GetVoiceToneAnalysisTaskError, + >, + > { + self.customize_middleware().await + } ///

The Voice Connector ID.

pub fn voice_connector_id( mut self, diff --git a/sdk/chimesdkvoice/src/operation/list_available_voice_connector_regions/builders.rs b/sdk/chimesdkvoice/src/operation/list_available_voice_connector_regions/builders.rs index 4cd8b646af46..3e75a1a5bc17 100644 --- a/sdk/chimesdkvoice/src/operation/list_available_voice_connector_regions/builders.rs +++ b/sdk/chimesdkvoice/src/operation/list_available_voice_connector_regions/builders.rs @@ -19,9 +19,9 @@ impl ListAvailableVoiceConnectorRegionsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize(self) -> ::std::result::Result< + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware(self) -> ::std::result::Result< crate::client::customize::CustomizableOperation, ::aws_smithy_http::result::SdkError >{ @@ -64,4 +64,13 @@ impl ListAvailableVoiceConnectorRegionsFluentBuilder { { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize(self) -> ::std::result::Result< + crate::client::customize::CustomizableOperation, + ::aws_smithy_http::result::SdkError + >{ + self.customize_middleware().await + } } diff --git a/sdk/chimesdkvoice/src/operation/list_phone_number_orders/builders.rs b/sdk/chimesdkvoice/src/operation/list_phone_number_orders/builders.rs index 44130c904afa..97ddce324c8a 100644 --- a/sdk/chimesdkvoice/src/operation/list_phone_number_orders/builders.rs +++ b/sdk/chimesdkvoice/src/operation/list_phone_number_orders/builders.rs @@ -19,9 +19,9 @@ impl ListPhoneNumberOrdersFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl ListPhoneNumberOrdersFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_phone_number_orders::ListPhoneNumberOrders, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::list_phone_number_orders::ListPhoneNumberOrdersError, + >, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::list_phone_number_orders::paginator::ListPhoneNumberOrdersPaginator::send) which returns a `Stream`. diff --git a/sdk/chimesdkvoice/src/operation/list_phone_numbers/builders.rs b/sdk/chimesdkvoice/src/operation/list_phone_numbers/builders.rs index 4b36ab68a2b2..1a5c94413981 100644 --- a/sdk/chimesdkvoice/src/operation/list_phone_numbers/builders.rs +++ b/sdk/chimesdkvoice/src/operation/list_phone_numbers/builders.rs @@ -19,9 +19,9 @@ impl ListPhoneNumbersFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl ListPhoneNumbersFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_phone_numbers::ListPhoneNumbers, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::list_phone_numbers::ListPhoneNumbersError, + >, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::list_phone_numbers::paginator::ListPhoneNumbersPaginator::send) which returns a `Stream`. diff --git a/sdk/chimesdkvoice/src/operation/list_proxy_sessions/builders.rs b/sdk/chimesdkvoice/src/operation/list_proxy_sessions/builders.rs index c82791764f3b..c9e053f4e32c 100644 --- a/sdk/chimesdkvoice/src/operation/list_proxy_sessions/builders.rs +++ b/sdk/chimesdkvoice/src/operation/list_proxy_sessions/builders.rs @@ -19,9 +19,9 @@ impl ListProxySessionsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl ListProxySessionsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_proxy_sessions::ListProxySessions, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::list_proxy_sessions::ListProxySessionsError, + >, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::list_proxy_sessions::paginator::ListProxySessionsPaginator::send) which returns a `Stream`. diff --git a/sdk/chimesdkvoice/src/operation/list_sip_media_applications/builders.rs b/sdk/chimesdkvoice/src/operation/list_sip_media_applications/builders.rs index 6246c5b5b3d2..51fb1a5d68b1 100644 --- a/sdk/chimesdkvoice/src/operation/list_sip_media_applications/builders.rs +++ b/sdk/chimesdkvoice/src/operation/list_sip_media_applications/builders.rs @@ -19,9 +19,9 @@ impl ListSipMediaApplicationsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl ListSipMediaApplicationsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_sip_media_applications::ListSipMediaApplications, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::list_sip_media_applications::ListSipMediaApplicationsError, + >, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::list_sip_media_applications::paginator::ListSipMediaApplicationsPaginator::send) which returns a `Stream`. diff --git a/sdk/chimesdkvoice/src/operation/list_sip_rules/builders.rs b/sdk/chimesdkvoice/src/operation/list_sip_rules/builders.rs index 75981d0b4e1e..cdd89580c83a 100644 --- a/sdk/chimesdkvoice/src/operation/list_sip_rules/builders.rs +++ b/sdk/chimesdkvoice/src/operation/list_sip_rules/builders.rs @@ -19,9 +19,9 @@ impl ListSipRulesFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl ListSipRulesFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_sip_rules::ListSipRules, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::list_sip_rules::paginator::ListSipRulesPaginator::send) which returns a `Stream`. diff --git a/sdk/chimesdkvoice/src/operation/list_supported_phone_number_countries/builders.rs b/sdk/chimesdkvoice/src/operation/list_supported_phone_number_countries/builders.rs index e7e5ea0292ef..f8235b5b6b2a 100644 --- a/sdk/chimesdkvoice/src/operation/list_supported_phone_number_countries/builders.rs +++ b/sdk/chimesdkvoice/src/operation/list_supported_phone_number_countries/builders.rs @@ -19,9 +19,9 @@ impl ListSupportedPhoneNumberCountriesFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize(self) -> ::std::result::Result< + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware(self) -> ::std::result::Result< crate::client::customize::CustomizableOperation, ::aws_smithy_http::result::SdkError >{ @@ -64,6 +64,15 @@ impl ListSupportedPhoneNumberCountriesFluentBuilder { { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize(self) -> ::std::result::Result< + crate::client::customize::CustomizableOperation, + ::aws_smithy_http::result::SdkError + >{ + self.customize_middleware().await + } ///

The phone number product type.

pub fn product_type(mut self, input: crate::types::PhoneNumberProductType) -> Self { self.inner = self.inner.product_type(input); diff --git a/sdk/chimesdkvoice/src/operation/list_tags_for_resource/builders.rs b/sdk/chimesdkvoice/src/operation/list_tags_for_resource/builders.rs index da26dca785d5..64ebfb9bf350 100644 --- a/sdk/chimesdkvoice/src/operation/list_tags_for_resource/builders.rs +++ b/sdk/chimesdkvoice/src/operation/list_tags_for_resource/builders.rs @@ -19,9 +19,9 @@ impl ListTagsForResourceFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl ListTagsForResourceFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_tags_for_resource::ListTagsForResource, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::list_tags_for_resource::ListTagsForResourceError, + >, + > { + self.customize_middleware().await + } ///

The resource ARN.

pub fn resource_arn(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.resource_arn(input.into()); diff --git a/sdk/chimesdkvoice/src/operation/list_voice_connector_groups/builders.rs b/sdk/chimesdkvoice/src/operation/list_voice_connector_groups/builders.rs index 77ff8c62c706..441f250b3773 100644 --- a/sdk/chimesdkvoice/src/operation/list_voice_connector_groups/builders.rs +++ b/sdk/chimesdkvoice/src/operation/list_voice_connector_groups/builders.rs @@ -19,9 +19,9 @@ impl ListVoiceConnectorGroupsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl ListVoiceConnectorGroupsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_voice_connector_groups::ListVoiceConnectorGroups, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::list_voice_connector_groups::ListVoiceConnectorGroupsError, + >, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::list_voice_connector_groups::paginator::ListVoiceConnectorGroupsPaginator::send) which returns a `Stream`. diff --git a/sdk/chimesdkvoice/src/operation/list_voice_connector_termination_credentials/builders.rs b/sdk/chimesdkvoice/src/operation/list_voice_connector_termination_credentials/builders.rs index edf45344d3a7..ef808dc9eb54 100644 --- a/sdk/chimesdkvoice/src/operation/list_voice_connector_termination_credentials/builders.rs +++ b/sdk/chimesdkvoice/src/operation/list_voice_connector_termination_credentials/builders.rs @@ -19,9 +19,9 @@ impl ListVoiceConnectorTerminationCredentialsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize(self) -> ::std::result::Result< + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware(self) -> ::std::result::Result< crate::client::customize::CustomizableOperation, ::aws_smithy_http::result::SdkError >{ @@ -64,6 +64,15 @@ impl ListVoiceConnectorTerminationCredentialsFluentBuilder { { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize(self) -> ::std::result::Result< + crate::client::customize::CustomizableOperation, + ::aws_smithy_http::result::SdkError + >{ + self.customize_middleware().await + } ///

The Voice Connector ID.

pub fn voice_connector_id( mut self, diff --git a/sdk/chimesdkvoice/src/operation/list_voice_connectors/builders.rs b/sdk/chimesdkvoice/src/operation/list_voice_connectors/builders.rs index 54457c89bdf8..9bdf8a69b916 100644 --- a/sdk/chimesdkvoice/src/operation/list_voice_connectors/builders.rs +++ b/sdk/chimesdkvoice/src/operation/list_voice_connectors/builders.rs @@ -19,9 +19,9 @@ impl ListVoiceConnectorsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl ListVoiceConnectorsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_voice_connectors::ListVoiceConnectors, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::list_voice_connectors::ListVoiceConnectorsError, + >, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::list_voice_connectors::paginator::ListVoiceConnectorsPaginator::send) which returns a `Stream`. diff --git a/sdk/chimesdkvoice/src/operation/list_voice_profile_domains/builders.rs b/sdk/chimesdkvoice/src/operation/list_voice_profile_domains/builders.rs index a04e46da82ab..5f59d99bef58 100644 --- a/sdk/chimesdkvoice/src/operation/list_voice_profile_domains/builders.rs +++ b/sdk/chimesdkvoice/src/operation/list_voice_profile_domains/builders.rs @@ -20,9 +20,9 @@ impl ListVoiceProfileDomainsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -84,6 +84,22 @@ impl ListVoiceProfileDomainsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_voice_profile_domains::ListVoiceProfileDomains, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::list_voice_profile_domains::ListVoiceProfileDomainsError, + >, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::list_voice_profile_domains::paginator::ListVoiceProfileDomainsPaginator::send) which returns a `Stream`. diff --git a/sdk/chimesdkvoice/src/operation/list_voice_profiles/builders.rs b/sdk/chimesdkvoice/src/operation/list_voice_profiles/builders.rs index e5cfb8428fb5..b5591aed76ff 100644 --- a/sdk/chimesdkvoice/src/operation/list_voice_profiles/builders.rs +++ b/sdk/chimesdkvoice/src/operation/list_voice_profiles/builders.rs @@ -19,9 +19,9 @@ impl ListVoiceProfilesFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl ListVoiceProfilesFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_voice_profiles::ListVoiceProfiles, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::list_voice_profiles::ListVoiceProfilesError, + >, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::list_voice_profiles::paginator::ListVoiceProfilesPaginator::send) which returns a `Stream`. diff --git a/sdk/chimesdkvoice/src/operation/put_sip_media_application_alexa_skill_configuration/builders.rs b/sdk/chimesdkvoice/src/operation/put_sip_media_application_alexa_skill_configuration/builders.rs index 3f51394f1198..1b2715438153 100644 --- a/sdk/chimesdkvoice/src/operation/put_sip_media_application_alexa_skill_configuration/builders.rs +++ b/sdk/chimesdkvoice/src/operation/put_sip_media_application_alexa_skill_configuration/builders.rs @@ -19,9 +19,9 @@ impl PutSipMediaApplicationAlexaSkillConfigurationFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize(self) -> ::std::result::Result< + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware(self) -> ::std::result::Result< crate::client::customize::CustomizableOperation, ::aws_smithy_http::result::SdkError >{ @@ -64,6 +64,15 @@ impl PutSipMediaApplicationAlexaSkillConfigurationFluentBuilder { { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize(self) -> ::std::result::Result< + crate::client::customize::CustomizableOperation, + ::aws_smithy_http::result::SdkError + >{ + self.customize_middleware().await + } ///

The SIP media application ID.

pub fn sip_media_application_id( mut self, diff --git a/sdk/chimesdkvoice/src/operation/put_sip_media_application_logging_configuration/builders.rs b/sdk/chimesdkvoice/src/operation/put_sip_media_application_logging_configuration/builders.rs index a645e0a7fe81..2c12813ae11b 100644 --- a/sdk/chimesdkvoice/src/operation/put_sip_media_application_logging_configuration/builders.rs +++ b/sdk/chimesdkvoice/src/operation/put_sip_media_application_logging_configuration/builders.rs @@ -19,9 +19,9 @@ impl PutSipMediaApplicationLoggingConfigurationFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize(self) -> ::std::result::Result< + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware(self) -> ::std::result::Result< crate::client::customize::CustomizableOperation, ::aws_smithy_http::result::SdkError >{ @@ -64,6 +64,15 @@ impl PutSipMediaApplicationLoggingConfigurationFluentBuilder { { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize(self) -> ::std::result::Result< + crate::client::customize::CustomizableOperation, + ::aws_smithy_http::result::SdkError + >{ + self.customize_middleware().await + } ///

The SIP media application ID.

pub fn sip_media_application_id( mut self, diff --git a/sdk/chimesdkvoice/src/operation/put_voice_connector_emergency_calling_configuration/builders.rs b/sdk/chimesdkvoice/src/operation/put_voice_connector_emergency_calling_configuration/builders.rs index 7fc162b25aa1..78d57eff6b96 100644 --- a/sdk/chimesdkvoice/src/operation/put_voice_connector_emergency_calling_configuration/builders.rs +++ b/sdk/chimesdkvoice/src/operation/put_voice_connector_emergency_calling_configuration/builders.rs @@ -19,9 +19,9 @@ impl PutVoiceConnectorEmergencyCallingConfigurationFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize(self) -> ::std::result::Result< + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware(self) -> ::std::result::Result< crate::client::customize::CustomizableOperation, ::aws_smithy_http::result::SdkError >{ @@ -64,6 +64,15 @@ impl PutVoiceConnectorEmergencyCallingConfigurationFluentBuilder { { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize(self) -> ::std::result::Result< + crate::client::customize::CustomizableOperation, + ::aws_smithy_http::result::SdkError + >{ + self.customize_middleware().await + } ///

The Voice Connector ID.

pub fn voice_connector_id( mut self, diff --git a/sdk/chimesdkvoice/src/operation/put_voice_connector_logging_configuration/builders.rs b/sdk/chimesdkvoice/src/operation/put_voice_connector_logging_configuration/builders.rs index 58f3cf3cc6cd..d0a81014f981 100644 --- a/sdk/chimesdkvoice/src/operation/put_voice_connector_logging_configuration/builders.rs +++ b/sdk/chimesdkvoice/src/operation/put_voice_connector_logging_configuration/builders.rs @@ -19,9 +19,9 @@ impl PutVoiceConnectorLoggingConfigurationFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize(self) -> ::std::result::Result< + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware(self) -> ::std::result::Result< crate::client::customize::CustomizableOperation, ::aws_smithy_http::result::SdkError >{ @@ -64,6 +64,15 @@ impl PutVoiceConnectorLoggingConfigurationFluentBuilder { { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize(self) -> ::std::result::Result< + crate::client::customize::CustomizableOperation, + ::aws_smithy_http::result::SdkError + >{ + self.customize_middleware().await + } ///

The Voice Connector ID.

pub fn voice_connector_id( mut self, diff --git a/sdk/chimesdkvoice/src/operation/put_voice_connector_origination/builders.rs b/sdk/chimesdkvoice/src/operation/put_voice_connector_origination/builders.rs index cdd878a1ec58..aafa13618e88 100644 --- a/sdk/chimesdkvoice/src/operation/put_voice_connector_origination/builders.rs +++ b/sdk/chimesdkvoice/src/operation/put_voice_connector_origination/builders.rs @@ -19,9 +19,9 @@ impl PutVoiceConnectorOriginationFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl PutVoiceConnectorOriginationFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::put_voice_connector_origination::PutVoiceConnectorOrigination, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::put_voice_connector_origination::PutVoiceConnectorOriginationError, + >, + > { + self.customize_middleware().await + } ///

The Voice Connector ID.

pub fn voice_connector_id( mut self, diff --git a/sdk/chimesdkvoice/src/operation/put_voice_connector_proxy/builders.rs b/sdk/chimesdkvoice/src/operation/put_voice_connector_proxy/builders.rs index 0bbe168a280d..2031c07046e5 100644 --- a/sdk/chimesdkvoice/src/operation/put_voice_connector_proxy/builders.rs +++ b/sdk/chimesdkvoice/src/operation/put_voice_connector_proxy/builders.rs @@ -20,9 +20,9 @@ impl PutVoiceConnectorProxyFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -84,6 +84,22 @@ impl PutVoiceConnectorProxyFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::put_voice_connector_proxy::PutVoiceConnectorProxy, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::put_voice_connector_proxy::PutVoiceConnectorProxyError, + >, + > { + self.customize_middleware().await + } ///

The Voice Connector ID.

pub fn voice_connector_id( mut self, diff --git a/sdk/chimesdkvoice/src/operation/put_voice_connector_streaming_configuration/builders.rs b/sdk/chimesdkvoice/src/operation/put_voice_connector_streaming_configuration/builders.rs index 3db9c0f51015..1be2c5e00e71 100644 --- a/sdk/chimesdkvoice/src/operation/put_voice_connector_streaming_configuration/builders.rs +++ b/sdk/chimesdkvoice/src/operation/put_voice_connector_streaming_configuration/builders.rs @@ -19,9 +19,9 @@ impl PutVoiceConnectorStreamingConfigurationFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize(self) -> ::std::result::Result< + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware(self) -> ::std::result::Result< crate::client::customize::CustomizableOperation, ::aws_smithy_http::result::SdkError >{ @@ -64,6 +64,15 @@ impl PutVoiceConnectorStreamingConfigurationFluentBuilder { { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize(self) -> ::std::result::Result< + crate::client::customize::CustomizableOperation, + ::aws_smithy_http::result::SdkError + >{ + self.customize_middleware().await + } ///

The Voice Connector ID.

pub fn voice_connector_id( mut self, diff --git a/sdk/chimesdkvoice/src/operation/put_voice_connector_termination/builders.rs b/sdk/chimesdkvoice/src/operation/put_voice_connector_termination/builders.rs index 4219215754ab..ab2f3c8ad1f9 100644 --- a/sdk/chimesdkvoice/src/operation/put_voice_connector_termination/builders.rs +++ b/sdk/chimesdkvoice/src/operation/put_voice_connector_termination/builders.rs @@ -19,9 +19,9 @@ impl PutVoiceConnectorTerminationFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl PutVoiceConnectorTerminationFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::put_voice_connector_termination::PutVoiceConnectorTermination, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::put_voice_connector_termination::PutVoiceConnectorTerminationError, + >, + > { + self.customize_middleware().await + } ///

The Voice Connector ID.

pub fn voice_connector_id( mut self, diff --git a/sdk/chimesdkvoice/src/operation/put_voice_connector_termination_credentials/builders.rs b/sdk/chimesdkvoice/src/operation/put_voice_connector_termination_credentials/builders.rs index 896e07c1e1b1..e5ffc62bd6f6 100644 --- a/sdk/chimesdkvoice/src/operation/put_voice_connector_termination_credentials/builders.rs +++ b/sdk/chimesdkvoice/src/operation/put_voice_connector_termination_credentials/builders.rs @@ -19,9 +19,9 @@ impl PutVoiceConnectorTerminationCredentialsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize(self) -> ::std::result::Result< + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware(self) -> ::std::result::Result< crate::client::customize::CustomizableOperation, ::aws_smithy_http::result::SdkError >{ @@ -64,6 +64,15 @@ impl PutVoiceConnectorTerminationCredentialsFluentBuilder { { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize(self) -> ::std::result::Result< + crate::client::customize::CustomizableOperation, + ::aws_smithy_http::result::SdkError + >{ + self.customize_middleware().await + } ///

The Voice Connector ID.

pub fn voice_connector_id( mut self, diff --git a/sdk/chimesdkvoice/src/operation/restore_phone_number/builders.rs b/sdk/chimesdkvoice/src/operation/restore_phone_number/builders.rs index 4f692f5132d1..8cd25450336e 100644 --- a/sdk/chimesdkvoice/src/operation/restore_phone_number/builders.rs +++ b/sdk/chimesdkvoice/src/operation/restore_phone_number/builders.rs @@ -19,9 +19,9 @@ impl RestorePhoneNumberFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl RestorePhoneNumberFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::restore_phone_number::RestorePhoneNumber, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::restore_phone_number::RestorePhoneNumberError, + >, + > { + self.customize_middleware().await + } ///

The ID of the phone number being restored.

pub fn phone_number_id( mut self, diff --git a/sdk/chimesdkvoice/src/operation/search_available_phone_numbers/builders.rs b/sdk/chimesdkvoice/src/operation/search_available_phone_numbers/builders.rs index 48b1812357b9..f760817e62ec 100644 --- a/sdk/chimesdkvoice/src/operation/search_available_phone_numbers/builders.rs +++ b/sdk/chimesdkvoice/src/operation/search_available_phone_numbers/builders.rs @@ -19,9 +19,9 @@ impl SearchAvailablePhoneNumbersFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl SearchAvailablePhoneNumbersFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::search_available_phone_numbers::SearchAvailablePhoneNumbers, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::search_available_phone_numbers::SearchAvailablePhoneNumbersError, + >, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::search_available_phone_numbers::paginator::SearchAvailablePhoneNumbersPaginator::send) which returns a `Stream`. diff --git a/sdk/chimesdkvoice/src/operation/start_speaker_search_task/builders.rs b/sdk/chimesdkvoice/src/operation/start_speaker_search_task/builders.rs index 51be7fc6ed48..09df6305548a 100644 --- a/sdk/chimesdkvoice/src/operation/start_speaker_search_task/builders.rs +++ b/sdk/chimesdkvoice/src/operation/start_speaker_search_task/builders.rs @@ -22,9 +22,9 @@ impl StartSpeakerSearchTaskFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -86,6 +86,22 @@ impl StartSpeakerSearchTaskFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::start_speaker_search_task::StartSpeakerSearchTask, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::start_speaker_search_task::StartSpeakerSearchTaskError, + >, + > { + self.customize_middleware().await + } ///

The Voice Connector ID.

pub fn voice_connector_id( mut self, diff --git a/sdk/chimesdkvoice/src/operation/start_voice_tone_analysis_task/builders.rs b/sdk/chimesdkvoice/src/operation/start_voice_tone_analysis_task/builders.rs index 0e1983d832cb..b93ca2dd73e1 100644 --- a/sdk/chimesdkvoice/src/operation/start_voice_tone_analysis_task/builders.rs +++ b/sdk/chimesdkvoice/src/operation/start_voice_tone_analysis_task/builders.rs @@ -21,9 +21,9 @@ impl StartVoiceToneAnalysisTaskFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -85,6 +85,22 @@ impl StartVoiceToneAnalysisTaskFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::start_voice_tone_analysis_task::StartVoiceToneAnalysisTask, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::start_voice_tone_analysis_task::StartVoiceToneAnalysisTaskError, + >, + > { + self.customize_middleware().await + } ///

The Voice Connector ID.

pub fn voice_connector_id( mut self, diff --git a/sdk/chimesdkvoice/src/operation/stop_speaker_search_task/builders.rs b/sdk/chimesdkvoice/src/operation/stop_speaker_search_task/builders.rs index f7fc4221f63e..c27e5dd537be 100644 --- a/sdk/chimesdkvoice/src/operation/stop_speaker_search_task/builders.rs +++ b/sdk/chimesdkvoice/src/operation/stop_speaker_search_task/builders.rs @@ -19,9 +19,9 @@ impl StopSpeakerSearchTaskFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl StopSpeakerSearchTaskFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::stop_speaker_search_task::StopSpeakerSearchTask, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::stop_speaker_search_task::StopSpeakerSearchTaskError, + >, + > { + self.customize_middleware().await + } ///

The Voice Connector ID.

pub fn voice_connector_id( mut self, diff --git a/sdk/chimesdkvoice/src/operation/stop_voice_tone_analysis_task/builders.rs b/sdk/chimesdkvoice/src/operation/stop_voice_tone_analysis_task/builders.rs index 4f998d6afcfb..e4ee9d880700 100644 --- a/sdk/chimesdkvoice/src/operation/stop_voice_tone_analysis_task/builders.rs +++ b/sdk/chimesdkvoice/src/operation/stop_voice_tone_analysis_task/builders.rs @@ -19,9 +19,9 @@ impl StopVoiceToneAnalysisTaskFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl StopVoiceToneAnalysisTaskFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::stop_voice_tone_analysis_task::StopVoiceToneAnalysisTask, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::stop_voice_tone_analysis_task::StopVoiceToneAnalysisTaskError, + >, + > { + self.customize_middleware().await + } ///

The Voice Connector ID.

pub fn voice_connector_id( mut self, diff --git a/sdk/chimesdkvoice/src/operation/tag_resource/builders.rs b/sdk/chimesdkvoice/src/operation/tag_resource/builders.rs index 879dd7501fcd..dbf87ae0d323 100644 --- a/sdk/chimesdkvoice/src/operation/tag_resource/builders.rs +++ b/sdk/chimesdkvoice/src/operation/tag_resource/builders.rs @@ -19,9 +19,9 @@ impl TagResourceFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl TagResourceFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::tag_resource::TagResource, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

The ARN of the resource being tagged.

pub fn resource_arn(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.resource_arn(input.into()); diff --git a/sdk/chimesdkvoice/src/operation/untag_resource/builders.rs b/sdk/chimesdkvoice/src/operation/untag_resource/builders.rs index e53ebb14b7b1..0a7781ef5829 100644 --- a/sdk/chimesdkvoice/src/operation/untag_resource/builders.rs +++ b/sdk/chimesdkvoice/src/operation/untag_resource/builders.rs @@ -19,9 +19,9 @@ impl UntagResourceFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl UntagResourceFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::untag_resource::UntagResource, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

The ARN of the resource having its tags removed.

pub fn resource_arn(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.resource_arn(input.into()); diff --git a/sdk/chimesdkvoice/src/operation/update_global_settings/builders.rs b/sdk/chimesdkvoice/src/operation/update_global_settings/builders.rs index 640276ff57ab..e996f0ccd25d 100644 --- a/sdk/chimesdkvoice/src/operation/update_global_settings/builders.rs +++ b/sdk/chimesdkvoice/src/operation/update_global_settings/builders.rs @@ -19,9 +19,9 @@ impl UpdateGlobalSettingsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl UpdateGlobalSettingsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::update_global_settings::UpdateGlobalSettings, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::update_global_settings::UpdateGlobalSettingsError, + >, + > { + self.customize_middleware().await + } ///

The Voice Connector settings.

pub fn voice_connector(mut self, input: crate::types::VoiceConnectorSettings) -> Self { self.inner = self.inner.voice_connector(input); diff --git a/sdk/chimesdkvoice/src/operation/update_phone_number/builders.rs b/sdk/chimesdkvoice/src/operation/update_phone_number/builders.rs index a30b4e170b26..3ca385155ff6 100644 --- a/sdk/chimesdkvoice/src/operation/update_phone_number/builders.rs +++ b/sdk/chimesdkvoice/src/operation/update_phone_number/builders.rs @@ -21,9 +21,9 @@ impl UpdatePhoneNumberFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -85,6 +85,22 @@ impl UpdatePhoneNumberFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::update_phone_number::UpdatePhoneNumber, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::update_phone_number::UpdatePhoneNumberError, + >, + > { + self.customize_middleware().await + } ///

The phone number ID.

pub fn phone_number_id( mut self, diff --git a/sdk/chimesdkvoice/src/operation/update_phone_number_settings/builders.rs b/sdk/chimesdkvoice/src/operation/update_phone_number_settings/builders.rs index 0c346e76c567..7a730a96bc5b 100644 --- a/sdk/chimesdkvoice/src/operation/update_phone_number_settings/builders.rs +++ b/sdk/chimesdkvoice/src/operation/update_phone_number_settings/builders.rs @@ -19,9 +19,9 @@ impl UpdatePhoneNumberSettingsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl UpdatePhoneNumberSettingsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::update_phone_number_settings::UpdatePhoneNumberSettings, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::update_phone_number_settings::UpdatePhoneNumberSettingsError, + >, + > { + self.customize_middleware().await + } ///

The default outbound calling name for the account.

pub fn calling_name(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.calling_name(input.into()); diff --git a/sdk/chimesdkvoice/src/operation/update_proxy_session/builders.rs b/sdk/chimesdkvoice/src/operation/update_proxy_session/builders.rs index 6c3886cba316..906bb7a9693c 100644 --- a/sdk/chimesdkvoice/src/operation/update_proxy_session/builders.rs +++ b/sdk/chimesdkvoice/src/operation/update_proxy_session/builders.rs @@ -19,9 +19,9 @@ impl UpdateProxySessionFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl UpdateProxySessionFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::update_proxy_session::UpdateProxySession, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::update_proxy_session::UpdateProxySessionError, + >, + > { + self.customize_middleware().await + } ///

The Voice Connector ID.

pub fn voice_connector_id( mut self, diff --git a/sdk/chimesdkvoice/src/operation/update_sip_media_application/builders.rs b/sdk/chimesdkvoice/src/operation/update_sip_media_application/builders.rs index 794244598e29..3f3d9c42e922 100644 --- a/sdk/chimesdkvoice/src/operation/update_sip_media_application/builders.rs +++ b/sdk/chimesdkvoice/src/operation/update_sip_media_application/builders.rs @@ -19,9 +19,9 @@ impl UpdateSipMediaApplicationFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl UpdateSipMediaApplicationFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::update_sip_media_application::UpdateSipMediaApplication, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::update_sip_media_application::UpdateSipMediaApplicationError, + >, + > { + self.customize_middleware().await + } ///

The SIP media application ID.

pub fn sip_media_application_id( mut self, diff --git a/sdk/chimesdkvoice/src/operation/update_sip_media_application_call/builders.rs b/sdk/chimesdkvoice/src/operation/update_sip_media_application_call/builders.rs index d3c382dcfcdf..c9bed83f660e 100644 --- a/sdk/chimesdkvoice/src/operation/update_sip_media_application_call/builders.rs +++ b/sdk/chimesdkvoice/src/operation/update_sip_media_application_call/builders.rs @@ -19,9 +19,9 @@ impl UpdateSipMediaApplicationCallFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl UpdateSipMediaApplicationCallFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::update_sip_media_application_call::UpdateSipMediaApplicationCall, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::update_sip_media_application_call::UpdateSipMediaApplicationCallError, + >, + > { + self.customize_middleware().await + } ///

The ID of the SIP media application handling the call.

pub fn sip_media_application_id( mut self, diff --git a/sdk/chimesdkvoice/src/operation/update_sip_rule/builders.rs b/sdk/chimesdkvoice/src/operation/update_sip_rule/builders.rs index f1f2aefbc367..be1df54748a4 100644 --- a/sdk/chimesdkvoice/src/operation/update_sip_rule/builders.rs +++ b/sdk/chimesdkvoice/src/operation/update_sip_rule/builders.rs @@ -19,9 +19,9 @@ impl UpdateSipRuleFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl UpdateSipRuleFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::update_sip_rule::UpdateSipRule, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

The SIP rule ID.

pub fn sip_rule_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.sip_rule_id(input.into()); diff --git a/sdk/chimesdkvoice/src/operation/update_voice_connector/builders.rs b/sdk/chimesdkvoice/src/operation/update_voice_connector/builders.rs index b626cef7db7c..429249099625 100644 --- a/sdk/chimesdkvoice/src/operation/update_voice_connector/builders.rs +++ b/sdk/chimesdkvoice/src/operation/update_voice_connector/builders.rs @@ -19,9 +19,9 @@ impl UpdateVoiceConnectorFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl UpdateVoiceConnectorFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::update_voice_connector::UpdateVoiceConnector, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::update_voice_connector::UpdateVoiceConnectorError, + >, + > { + self.customize_middleware().await + } ///

The Voice Connector ID.

pub fn voice_connector_id( mut self, diff --git a/sdk/chimesdkvoice/src/operation/update_voice_connector_group/builders.rs b/sdk/chimesdkvoice/src/operation/update_voice_connector_group/builders.rs index ea99494c73aa..1eaf73c01e45 100644 --- a/sdk/chimesdkvoice/src/operation/update_voice_connector_group/builders.rs +++ b/sdk/chimesdkvoice/src/operation/update_voice_connector_group/builders.rs @@ -19,9 +19,9 @@ impl UpdateVoiceConnectorGroupFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl UpdateVoiceConnectorGroupFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::update_voice_connector_group::UpdateVoiceConnectorGroup, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::update_voice_connector_group::UpdateVoiceConnectorGroupError, + >, + > { + self.customize_middleware().await + } ///

The Voice Connector ID.

pub fn voice_connector_group_id( mut self, diff --git a/sdk/chimesdkvoice/src/operation/update_voice_profile/builders.rs b/sdk/chimesdkvoice/src/operation/update_voice_profile/builders.rs index 1dabaa2e7214..c27050bd2cfe 100644 --- a/sdk/chimesdkvoice/src/operation/update_voice_profile/builders.rs +++ b/sdk/chimesdkvoice/src/operation/update_voice_profile/builders.rs @@ -22,9 +22,9 @@ impl UpdateVoiceProfileFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -86,6 +86,22 @@ impl UpdateVoiceProfileFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::update_voice_profile::UpdateVoiceProfile, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::update_voice_profile::UpdateVoiceProfileError, + >, + > { + self.customize_middleware().await + } ///

The profile ID.

pub fn voice_profile_id( mut self, diff --git a/sdk/chimesdkvoice/src/operation/update_voice_profile_domain/builders.rs b/sdk/chimesdkvoice/src/operation/update_voice_profile_domain/builders.rs index d6c2a9d95cb7..4db017c1537b 100644 --- a/sdk/chimesdkvoice/src/operation/update_voice_profile_domain/builders.rs +++ b/sdk/chimesdkvoice/src/operation/update_voice_profile_domain/builders.rs @@ -19,9 +19,9 @@ impl UpdateVoiceProfileDomainFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl UpdateVoiceProfileDomainFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::update_voice_profile_domain::UpdateVoiceProfileDomain, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::update_voice_profile_domain::UpdateVoiceProfileDomainError, + >, + > { + self.customize_middleware().await + } ///

The domain ID.

pub fn voice_profile_domain_id( mut self, diff --git a/sdk/chimesdkvoice/src/operation/validate_e911_address/builders.rs b/sdk/chimesdkvoice/src/operation/validate_e911_address/builders.rs index 9bad22679433..b6a03e0f1921 100644 --- a/sdk/chimesdkvoice/src/operation/validate_e911_address/builders.rs +++ b/sdk/chimesdkvoice/src/operation/validate_e911_address/builders.rs @@ -19,9 +19,9 @@ impl ValidateE911AddressFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl ValidateE911AddressFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::validate_e911_address::ValidateE911Address, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::validate_e911_address::ValidateE911AddressError, + >, + > { + self.customize_middleware().await + } ///

The AWS account ID.

pub fn aws_account_id( mut self, diff --git a/sdk/cleanrooms/src/operation/batch_get_schema/builders.rs b/sdk/cleanrooms/src/operation/batch_get_schema/builders.rs index 2b99fd479ae9..cde0369301dd 100644 --- a/sdk/cleanrooms/src/operation/batch_get_schema/builders.rs +++ b/sdk/cleanrooms/src/operation/batch_get_schema/builders.rs @@ -19,9 +19,9 @@ impl BatchGetSchemaFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl BatchGetSchemaFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::batch_get_schema::BatchGetSchema, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::batch_get_schema::BatchGetSchemaError, + >, + > { + self.customize_middleware().await + } ///

A unique identifier for the collaboration that the schemas belong to. Currently accepts collaboration ID.

pub fn collaboration_identifier( mut self, diff --git a/sdk/cleanrooms/src/operation/create_collaboration/builders.rs b/sdk/cleanrooms/src/operation/create_collaboration/builders.rs index 1bf6cfabe30c..f354dfaa4d61 100644 --- a/sdk/cleanrooms/src/operation/create_collaboration/builders.rs +++ b/sdk/cleanrooms/src/operation/create_collaboration/builders.rs @@ -19,9 +19,9 @@ impl CreateCollaborationFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl CreateCollaborationFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::create_collaboration::CreateCollaboration, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::create_collaboration::CreateCollaborationError, + >, + > { + self.customize_middleware().await + } /// Appends an item to `members`. /// /// To override the contents of this collection use [`set_members`](Self::set_members). diff --git a/sdk/cleanrooms/src/operation/create_configured_table/builders.rs b/sdk/cleanrooms/src/operation/create_configured_table/builders.rs index b338b29673f1..178427a5d893 100644 --- a/sdk/cleanrooms/src/operation/create_configured_table/builders.rs +++ b/sdk/cleanrooms/src/operation/create_configured_table/builders.rs @@ -19,9 +19,9 @@ impl CreateConfiguredTableFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl CreateConfiguredTableFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::create_configured_table::CreateConfiguredTable, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::create_configured_table::CreateConfiguredTableError, + >, + > { + self.customize_middleware().await + } ///

The name of the configured table.

pub fn name(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.name(input.into()); diff --git a/sdk/cleanrooms/src/operation/create_configured_table_analysis_rule/builders.rs b/sdk/cleanrooms/src/operation/create_configured_table_analysis_rule/builders.rs index 52ea685d74a9..81ff37d43204 100644 --- a/sdk/cleanrooms/src/operation/create_configured_table_analysis_rule/builders.rs +++ b/sdk/cleanrooms/src/operation/create_configured_table_analysis_rule/builders.rs @@ -19,9 +19,9 @@ impl CreateConfiguredTableAnalysisRuleFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize(self) -> ::std::result::Result< + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware(self) -> ::std::result::Result< crate::client::customize::CustomizableOperation, ::aws_smithy_http::result::SdkError >{ @@ -64,6 +64,15 @@ impl CreateConfiguredTableAnalysisRuleFluentBuilder { { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize(self) -> ::std::result::Result< + crate::client::customize::CustomizableOperation, + ::aws_smithy_http::result::SdkError + >{ + self.customize_middleware().await + } ///

The identifier for the configured table to create the analysis rule for. Currently accepts the configured table ID.

pub fn configured_table_identifier( mut self, diff --git a/sdk/cleanrooms/src/operation/create_configured_table_association/builders.rs b/sdk/cleanrooms/src/operation/create_configured_table_association/builders.rs index ac336c69f453..0c520629ccbe 100644 --- a/sdk/cleanrooms/src/operation/create_configured_table_association/builders.rs +++ b/sdk/cleanrooms/src/operation/create_configured_table_association/builders.rs @@ -19,9 +19,9 @@ impl CreateConfiguredTableAssociationFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize(self) -> ::std::result::Result< + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware(self) -> ::std::result::Result< crate::client::customize::CustomizableOperation, ::aws_smithy_http::result::SdkError >{ @@ -64,6 +64,15 @@ impl CreateConfiguredTableAssociationFluentBuilder { { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize(self) -> ::std::result::Result< + crate::client::customize::CustomizableOperation, + ::aws_smithy_http::result::SdkError + >{ + self.customize_middleware().await + } ///

The name of the configured table association. This name is used to query the underlying configured table.

pub fn name(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.name(input.into()); diff --git a/sdk/cleanrooms/src/operation/create_membership/builders.rs b/sdk/cleanrooms/src/operation/create_membership/builders.rs index 4245f2e770bf..9860ed06c22b 100644 --- a/sdk/cleanrooms/src/operation/create_membership/builders.rs +++ b/sdk/cleanrooms/src/operation/create_membership/builders.rs @@ -19,9 +19,9 @@ impl CreateMembershipFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl CreateMembershipFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::create_membership::CreateMembership, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::create_membership::CreateMembershipError, + >, + > { + self.customize_middleware().await + } ///

The unique ID for the associated collaboration.

pub fn collaboration_identifier( mut self, diff --git a/sdk/cleanrooms/src/operation/delete_collaboration/builders.rs b/sdk/cleanrooms/src/operation/delete_collaboration/builders.rs index 86a2111b9322..2649a91f58c1 100644 --- a/sdk/cleanrooms/src/operation/delete_collaboration/builders.rs +++ b/sdk/cleanrooms/src/operation/delete_collaboration/builders.rs @@ -19,9 +19,9 @@ impl DeleteCollaborationFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl DeleteCollaborationFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::delete_collaboration::DeleteCollaboration, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::delete_collaboration::DeleteCollaborationError, + >, + > { + self.customize_middleware().await + } ///

The identifier for the collaboration.

pub fn collaboration_identifier( mut self, diff --git a/sdk/cleanrooms/src/operation/delete_configured_table/builders.rs b/sdk/cleanrooms/src/operation/delete_configured_table/builders.rs index 51db224ce4fb..29725dc20b70 100644 --- a/sdk/cleanrooms/src/operation/delete_configured_table/builders.rs +++ b/sdk/cleanrooms/src/operation/delete_configured_table/builders.rs @@ -19,9 +19,9 @@ impl DeleteConfiguredTableFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl DeleteConfiguredTableFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::delete_configured_table::DeleteConfiguredTable, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::delete_configured_table::DeleteConfiguredTableError, + >, + > { + self.customize_middleware().await + } ///

The unique ID for the configured table to delete.

pub fn configured_table_identifier( mut self, diff --git a/sdk/cleanrooms/src/operation/delete_configured_table_analysis_rule/builders.rs b/sdk/cleanrooms/src/operation/delete_configured_table_analysis_rule/builders.rs index 7ceee1264746..e8de570f2341 100644 --- a/sdk/cleanrooms/src/operation/delete_configured_table_analysis_rule/builders.rs +++ b/sdk/cleanrooms/src/operation/delete_configured_table_analysis_rule/builders.rs @@ -19,9 +19,9 @@ impl DeleteConfiguredTableAnalysisRuleFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize(self) -> ::std::result::Result< + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware(self) -> ::std::result::Result< crate::client::customize::CustomizableOperation, ::aws_smithy_http::result::SdkError >{ @@ -64,6 +64,15 @@ impl DeleteConfiguredTableAnalysisRuleFluentBuilder { { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize(self) -> ::std::result::Result< + crate::client::customize::CustomizableOperation, + ::aws_smithy_http::result::SdkError + >{ + self.customize_middleware().await + } ///

The unique identifier for the configured table that the analysis rule applies to. Currently accepts the configured table ID.

pub fn configured_table_identifier( mut self, diff --git a/sdk/cleanrooms/src/operation/delete_configured_table_association/builders.rs b/sdk/cleanrooms/src/operation/delete_configured_table_association/builders.rs index d24bf3d94042..d88c1a43237b 100644 --- a/sdk/cleanrooms/src/operation/delete_configured_table_association/builders.rs +++ b/sdk/cleanrooms/src/operation/delete_configured_table_association/builders.rs @@ -19,9 +19,9 @@ impl DeleteConfiguredTableAssociationFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize(self) -> ::std::result::Result< + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware(self) -> ::std::result::Result< crate::client::customize::CustomizableOperation, ::aws_smithy_http::result::SdkError >{ @@ -64,6 +64,15 @@ impl DeleteConfiguredTableAssociationFluentBuilder { { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize(self) -> ::std::result::Result< + crate::client::customize::CustomizableOperation, + ::aws_smithy_http::result::SdkError + >{ + self.customize_middleware().await + } ///

The unique ID for the configured table association to be deleted. Currently accepts the configured table ID.

pub fn configured_table_association_identifier( mut self, diff --git a/sdk/cleanrooms/src/operation/delete_member/builders.rs b/sdk/cleanrooms/src/operation/delete_member/builders.rs index 0082b48b5ebb..4dff94ff0f43 100644 --- a/sdk/cleanrooms/src/operation/delete_member/builders.rs +++ b/sdk/cleanrooms/src/operation/delete_member/builders.rs @@ -19,9 +19,9 @@ impl DeleteMemberFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl DeleteMemberFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::delete_member::DeleteMember, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

The unique identifier for the associated collaboration.

pub fn collaboration_identifier( mut self, diff --git a/sdk/cleanrooms/src/operation/delete_membership/builders.rs b/sdk/cleanrooms/src/operation/delete_membership/builders.rs index cc1b960d3ec3..cdcab2a59e47 100644 --- a/sdk/cleanrooms/src/operation/delete_membership/builders.rs +++ b/sdk/cleanrooms/src/operation/delete_membership/builders.rs @@ -19,9 +19,9 @@ impl DeleteMembershipFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl DeleteMembershipFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::delete_membership::DeleteMembership, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::delete_membership::DeleteMembershipError, + >, + > { + self.customize_middleware().await + } ///

The identifier for a membership resource.

pub fn membership_identifier( mut self, diff --git a/sdk/cleanrooms/src/operation/get_collaboration/builders.rs b/sdk/cleanrooms/src/operation/get_collaboration/builders.rs index fe485ecdfc75..343dcb5cfae5 100644 --- a/sdk/cleanrooms/src/operation/get_collaboration/builders.rs +++ b/sdk/cleanrooms/src/operation/get_collaboration/builders.rs @@ -19,9 +19,9 @@ impl GetCollaborationFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl GetCollaborationFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::get_collaboration::GetCollaboration, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::get_collaboration::GetCollaborationError, + >, + > { + self.customize_middleware().await + } ///

The identifier for the collaboration.

pub fn collaboration_identifier( mut self, diff --git a/sdk/cleanrooms/src/operation/get_configured_table/builders.rs b/sdk/cleanrooms/src/operation/get_configured_table/builders.rs index e7584ac5d17a..1dcc73885114 100644 --- a/sdk/cleanrooms/src/operation/get_configured_table/builders.rs +++ b/sdk/cleanrooms/src/operation/get_configured_table/builders.rs @@ -19,9 +19,9 @@ impl GetConfiguredTableFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl GetConfiguredTableFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::get_configured_table::GetConfiguredTable, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::get_configured_table::GetConfiguredTableError, + >, + > { + self.customize_middleware().await + } ///

The unique ID for the configured table to retrieve.

pub fn configured_table_identifier( mut self, diff --git a/sdk/cleanrooms/src/operation/get_configured_table_analysis_rule/builders.rs b/sdk/cleanrooms/src/operation/get_configured_table_analysis_rule/builders.rs index d59505bb9827..d79ac897462f 100644 --- a/sdk/cleanrooms/src/operation/get_configured_table_analysis_rule/builders.rs +++ b/sdk/cleanrooms/src/operation/get_configured_table_analysis_rule/builders.rs @@ -19,9 +19,9 @@ impl GetConfiguredTableAnalysisRuleFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize(self) -> ::std::result::Result< + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware(self) -> ::std::result::Result< crate::client::customize::CustomizableOperation, ::aws_smithy_http::result::SdkError >{ @@ -64,6 +64,15 @@ impl GetConfiguredTableAnalysisRuleFluentBuilder { { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize(self) -> ::std::result::Result< + crate::client::customize::CustomizableOperation, + ::aws_smithy_http::result::SdkError + >{ + self.customize_middleware().await + } ///

The unique identifier for the configured table to retrieve. Currently accepts the configured table ID.

pub fn configured_table_identifier( mut self, diff --git a/sdk/cleanrooms/src/operation/get_configured_table_association/builders.rs b/sdk/cleanrooms/src/operation/get_configured_table_association/builders.rs index a03ab1d38d84..3249da6e3685 100644 --- a/sdk/cleanrooms/src/operation/get_configured_table_association/builders.rs +++ b/sdk/cleanrooms/src/operation/get_configured_table_association/builders.rs @@ -19,9 +19,9 @@ impl GetConfiguredTableAssociationFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl GetConfiguredTableAssociationFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::get_configured_table_association::GetConfiguredTableAssociation, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::get_configured_table_association::GetConfiguredTableAssociationError, + >, + > { + self.customize_middleware().await + } ///

The unique ID for the configured table association to retrieve. Currently accepts the configured table ID.

pub fn configured_table_association_identifier( mut self, diff --git a/sdk/cleanrooms/src/operation/get_membership/builders.rs b/sdk/cleanrooms/src/operation/get_membership/builders.rs index f2bc97240014..d0ea66be8723 100644 --- a/sdk/cleanrooms/src/operation/get_membership/builders.rs +++ b/sdk/cleanrooms/src/operation/get_membership/builders.rs @@ -19,9 +19,9 @@ impl GetMembershipFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl GetMembershipFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::get_membership::GetMembership, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

The identifier for a membership resource.

pub fn membership_identifier( mut self, diff --git a/sdk/cleanrooms/src/operation/get_protected_query/builders.rs b/sdk/cleanrooms/src/operation/get_protected_query/builders.rs index d6dc1d227e72..895fc0003af3 100644 --- a/sdk/cleanrooms/src/operation/get_protected_query/builders.rs +++ b/sdk/cleanrooms/src/operation/get_protected_query/builders.rs @@ -19,9 +19,9 @@ impl GetProtectedQueryFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl GetProtectedQueryFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::get_protected_query::GetProtectedQuery, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::get_protected_query::GetProtectedQueryError, + >, + > { + self.customize_middleware().await + } ///

The identifier for a membership in a protected query instance.

pub fn membership_identifier( mut self, diff --git a/sdk/cleanrooms/src/operation/get_schema/builders.rs b/sdk/cleanrooms/src/operation/get_schema/builders.rs index 6ab744c78b04..f80f0d035bbc 100644 --- a/sdk/cleanrooms/src/operation/get_schema/builders.rs +++ b/sdk/cleanrooms/src/operation/get_schema/builders.rs @@ -19,9 +19,9 @@ impl GetSchemaFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl GetSchemaFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::get_schema::GetSchema, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

A unique identifier for the collaboration that the schema belongs to. Currently accepts a collaboration ID.

pub fn collaboration_identifier( mut self, diff --git a/sdk/cleanrooms/src/operation/get_schema_analysis_rule/builders.rs b/sdk/cleanrooms/src/operation/get_schema_analysis_rule/builders.rs index 369a66d50be2..a214cec2af14 100644 --- a/sdk/cleanrooms/src/operation/get_schema_analysis_rule/builders.rs +++ b/sdk/cleanrooms/src/operation/get_schema_analysis_rule/builders.rs @@ -19,9 +19,9 @@ impl GetSchemaAnalysisRuleFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl GetSchemaAnalysisRuleFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::get_schema_analysis_rule::GetSchemaAnalysisRule, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::get_schema_analysis_rule::GetSchemaAnalysisRuleError, + >, + > { + self.customize_middleware().await + } ///

A unique identifier for the collaboration that the schema belongs to. Currently accepts a collaboration ID.

pub fn collaboration_identifier( mut self, diff --git a/sdk/cleanrooms/src/operation/list_collaborations/builders.rs b/sdk/cleanrooms/src/operation/list_collaborations/builders.rs index 02b9953a7f6e..8b51adddea32 100644 --- a/sdk/cleanrooms/src/operation/list_collaborations/builders.rs +++ b/sdk/cleanrooms/src/operation/list_collaborations/builders.rs @@ -19,9 +19,9 @@ impl ListCollaborationsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl ListCollaborationsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_collaborations::ListCollaborations, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::list_collaborations::ListCollaborationsError, + >, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::list_collaborations::paginator::ListCollaborationsPaginator::send) which returns a `Stream`. diff --git a/sdk/cleanrooms/src/operation/list_configured_table_associations/builders.rs b/sdk/cleanrooms/src/operation/list_configured_table_associations/builders.rs index 17f902f56d20..d854f6bad1ba 100644 --- a/sdk/cleanrooms/src/operation/list_configured_table_associations/builders.rs +++ b/sdk/cleanrooms/src/operation/list_configured_table_associations/builders.rs @@ -19,9 +19,9 @@ impl ListConfiguredTableAssociationsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize(self) -> ::std::result::Result< + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware(self) -> ::std::result::Result< crate::client::customize::CustomizableOperation, ::aws_smithy_http::result::SdkError >{ @@ -64,6 +64,15 @@ impl ListConfiguredTableAssociationsFluentBuilder { { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize(self) -> ::std::result::Result< + crate::client::customize::CustomizableOperation, + ::aws_smithy_http::result::SdkError + >{ + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::list_configured_table_associations::paginator::ListConfiguredTableAssociationsPaginator::send) which returns a `Stream`. diff --git a/sdk/cleanrooms/src/operation/list_configured_tables/builders.rs b/sdk/cleanrooms/src/operation/list_configured_tables/builders.rs index d7455ba3dd64..8eaf7c101809 100644 --- a/sdk/cleanrooms/src/operation/list_configured_tables/builders.rs +++ b/sdk/cleanrooms/src/operation/list_configured_tables/builders.rs @@ -19,9 +19,9 @@ impl ListConfiguredTablesFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl ListConfiguredTablesFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_configured_tables::ListConfiguredTables, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::list_configured_tables::ListConfiguredTablesError, + >, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::list_configured_tables::paginator::ListConfiguredTablesPaginator::send) which returns a `Stream`. diff --git a/sdk/cleanrooms/src/operation/list_members/builders.rs b/sdk/cleanrooms/src/operation/list_members/builders.rs index 2a910674ae83..08a7915ea036 100644 --- a/sdk/cleanrooms/src/operation/list_members/builders.rs +++ b/sdk/cleanrooms/src/operation/list_members/builders.rs @@ -19,9 +19,9 @@ impl ListMembersFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl ListMembersFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_members::ListMembers, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::list_members::paginator::ListMembersPaginator::send) which returns a `Stream`. diff --git a/sdk/cleanrooms/src/operation/list_memberships/builders.rs b/sdk/cleanrooms/src/operation/list_memberships/builders.rs index c3a39c59885e..00f49025eb57 100644 --- a/sdk/cleanrooms/src/operation/list_memberships/builders.rs +++ b/sdk/cleanrooms/src/operation/list_memberships/builders.rs @@ -19,9 +19,9 @@ impl ListMembershipsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl ListMembershipsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_memberships::ListMemberships, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::list_memberships::ListMembershipsError, + >, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::list_memberships::paginator::ListMembershipsPaginator::send) which returns a `Stream`. diff --git a/sdk/cleanrooms/src/operation/list_protected_queries/builders.rs b/sdk/cleanrooms/src/operation/list_protected_queries/builders.rs index a86595808bc8..ec65b4cfa083 100644 --- a/sdk/cleanrooms/src/operation/list_protected_queries/builders.rs +++ b/sdk/cleanrooms/src/operation/list_protected_queries/builders.rs @@ -19,9 +19,9 @@ impl ListProtectedQueriesFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl ListProtectedQueriesFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_protected_queries::ListProtectedQueries, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::list_protected_queries::ListProtectedQueriesError, + >, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::list_protected_queries::paginator::ListProtectedQueriesPaginator::send) which returns a `Stream`. diff --git a/sdk/cleanrooms/src/operation/list_schemas/builders.rs b/sdk/cleanrooms/src/operation/list_schemas/builders.rs index 53aab1d401d2..a7405682a44d 100644 --- a/sdk/cleanrooms/src/operation/list_schemas/builders.rs +++ b/sdk/cleanrooms/src/operation/list_schemas/builders.rs @@ -19,9 +19,9 @@ impl ListSchemasFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl ListSchemasFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_schemas::ListSchemas, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::list_schemas::paginator::ListSchemasPaginator::send) which returns a `Stream`. diff --git a/sdk/cleanrooms/src/operation/list_tags_for_resource/builders.rs b/sdk/cleanrooms/src/operation/list_tags_for_resource/builders.rs index 975a9a8afe72..8531faa9368c 100644 --- a/sdk/cleanrooms/src/operation/list_tags_for_resource/builders.rs +++ b/sdk/cleanrooms/src/operation/list_tags_for_resource/builders.rs @@ -19,9 +19,9 @@ impl ListTagsForResourceFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl ListTagsForResourceFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_tags_for_resource::ListTagsForResource, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::list_tags_for_resource::ListTagsForResourceError, + >, + > { + self.customize_middleware().await + } ///

The Amazon Resource Name (ARN) associated with the resource you want to list tags on.

pub fn resource_arn(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.resource_arn(input.into()); diff --git a/sdk/cleanrooms/src/operation/start_protected_query/builders.rs b/sdk/cleanrooms/src/operation/start_protected_query/builders.rs index 71eb177613d3..104cd2a73838 100644 --- a/sdk/cleanrooms/src/operation/start_protected_query/builders.rs +++ b/sdk/cleanrooms/src/operation/start_protected_query/builders.rs @@ -19,9 +19,9 @@ impl StartProtectedQueryFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl StartProtectedQueryFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::start_protected_query::StartProtectedQuery, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::start_protected_query::StartProtectedQueryError, + >, + > { + self.customize_middleware().await + } ///

The type of the protected query to be started.

pub fn r#type(mut self, input: crate::types::ProtectedQueryType) -> Self { self.inner = self.inner.r#type(input); diff --git a/sdk/cleanrooms/src/operation/tag_resource/builders.rs b/sdk/cleanrooms/src/operation/tag_resource/builders.rs index 6d4bdb8ca383..bb84611400f9 100644 --- a/sdk/cleanrooms/src/operation/tag_resource/builders.rs +++ b/sdk/cleanrooms/src/operation/tag_resource/builders.rs @@ -19,9 +19,9 @@ impl TagResourceFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl TagResourceFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::tag_resource::TagResource, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

The Amazon Resource Name (ARN) associated with the resource you want to tag.

pub fn resource_arn(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.resource_arn(input.into()); diff --git a/sdk/cleanrooms/src/operation/untag_resource/builders.rs b/sdk/cleanrooms/src/operation/untag_resource/builders.rs index acbf23a0fa8c..e9064ff9ad14 100644 --- a/sdk/cleanrooms/src/operation/untag_resource/builders.rs +++ b/sdk/cleanrooms/src/operation/untag_resource/builders.rs @@ -19,9 +19,9 @@ impl UntagResourceFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl UntagResourceFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::untag_resource::UntagResource, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

The Amazon Resource Name (ARN) associated with the resource you want to remove the tag from.

pub fn resource_arn(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.resource_arn(input.into()); diff --git a/sdk/cleanrooms/src/operation/update_collaboration/builders.rs b/sdk/cleanrooms/src/operation/update_collaboration/builders.rs index 16c0a0ebde40..93e06ff199c2 100644 --- a/sdk/cleanrooms/src/operation/update_collaboration/builders.rs +++ b/sdk/cleanrooms/src/operation/update_collaboration/builders.rs @@ -19,9 +19,9 @@ impl UpdateCollaborationFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl UpdateCollaborationFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::update_collaboration::UpdateCollaboration, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::update_collaboration::UpdateCollaborationError, + >, + > { + self.customize_middleware().await + } ///

The identifier for the collaboration.

pub fn collaboration_identifier( mut self, diff --git a/sdk/cleanrooms/src/operation/update_configured_table/builders.rs b/sdk/cleanrooms/src/operation/update_configured_table/builders.rs index abcb9f399a38..21cbe5055216 100644 --- a/sdk/cleanrooms/src/operation/update_configured_table/builders.rs +++ b/sdk/cleanrooms/src/operation/update_configured_table/builders.rs @@ -19,9 +19,9 @@ impl UpdateConfiguredTableFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl UpdateConfiguredTableFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::update_configured_table::UpdateConfiguredTable, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::update_configured_table::UpdateConfiguredTableError, + >, + > { + self.customize_middleware().await + } ///

The identifier for the configured table to update. Currently accepts the configured table ID.

pub fn configured_table_identifier( mut self, diff --git a/sdk/cleanrooms/src/operation/update_configured_table_analysis_rule/builders.rs b/sdk/cleanrooms/src/operation/update_configured_table_analysis_rule/builders.rs index d98745308743..6b7066e159c7 100644 --- a/sdk/cleanrooms/src/operation/update_configured_table_analysis_rule/builders.rs +++ b/sdk/cleanrooms/src/operation/update_configured_table_analysis_rule/builders.rs @@ -19,9 +19,9 @@ impl UpdateConfiguredTableAnalysisRuleFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize(self) -> ::std::result::Result< + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware(self) -> ::std::result::Result< crate::client::customize::CustomizableOperation, ::aws_smithy_http::result::SdkError >{ @@ -64,6 +64,15 @@ impl UpdateConfiguredTableAnalysisRuleFluentBuilder { { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize(self) -> ::std::result::Result< + crate::client::customize::CustomizableOperation, + ::aws_smithy_http::result::SdkError + >{ + self.customize_middleware().await + } ///

The unique identifier for the configured table that the analysis rule applies to. Currently accepts the configured table ID.

pub fn configured_table_identifier( mut self, diff --git a/sdk/cleanrooms/src/operation/update_configured_table_association/builders.rs b/sdk/cleanrooms/src/operation/update_configured_table_association/builders.rs index 631598501d77..d2ac358f6f7d 100644 --- a/sdk/cleanrooms/src/operation/update_configured_table_association/builders.rs +++ b/sdk/cleanrooms/src/operation/update_configured_table_association/builders.rs @@ -19,9 +19,9 @@ impl UpdateConfiguredTableAssociationFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize(self) -> ::std::result::Result< + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware(self) -> ::std::result::Result< crate::client::customize::CustomizableOperation, ::aws_smithy_http::result::SdkError >{ @@ -64,6 +64,15 @@ impl UpdateConfiguredTableAssociationFluentBuilder { { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize(self) -> ::std::result::Result< + crate::client::customize::CustomizableOperation, + ::aws_smithy_http::result::SdkError + >{ + self.customize_middleware().await + } ///

The unique identifier for the configured table association to update. Currently accepts the configured table association ID.

pub fn configured_table_association_identifier( mut self, diff --git a/sdk/cleanrooms/src/operation/update_membership/builders.rs b/sdk/cleanrooms/src/operation/update_membership/builders.rs index fdb261ee1896..c1813faec1db 100644 --- a/sdk/cleanrooms/src/operation/update_membership/builders.rs +++ b/sdk/cleanrooms/src/operation/update_membership/builders.rs @@ -19,9 +19,9 @@ impl UpdateMembershipFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl UpdateMembershipFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::update_membership::UpdateMembership, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::update_membership::UpdateMembershipError, + >, + > { + self.customize_middleware().await + } ///

The unique identifier of the membership.

pub fn membership_identifier( mut self, diff --git a/sdk/cleanrooms/src/operation/update_protected_query/builders.rs b/sdk/cleanrooms/src/operation/update_protected_query/builders.rs index 013840c6a0cf..1b071df4fb25 100644 --- a/sdk/cleanrooms/src/operation/update_protected_query/builders.rs +++ b/sdk/cleanrooms/src/operation/update_protected_query/builders.rs @@ -19,9 +19,9 @@ impl UpdateProtectedQueryFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl UpdateProtectedQueryFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::update_protected_query::UpdateProtectedQuery, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::update_protected_query::UpdateProtectedQueryError, + >, + > { + self.customize_middleware().await + } ///

The identifier for a member of a protected query instance.

pub fn membership_identifier( mut self, diff --git a/sdk/cloud9/src/operation/create_environment_ec2/builders.rs b/sdk/cloud9/src/operation/create_environment_ec2/builders.rs index c5872a97df0b..110de9899ded 100644 --- a/sdk/cloud9/src/operation/create_environment_ec2/builders.rs +++ b/sdk/cloud9/src/operation/create_environment_ec2/builders.rs @@ -19,9 +19,9 @@ impl CreateEnvironmentEC2FluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl CreateEnvironmentEC2FluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::create_environment_ec2::CreateEnvironmentEC2, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::create_environment_ec2::CreateEnvironmentEC2Error, + >, + > { + self.customize_middleware().await + } ///

The name of the environment to create.

///

This name is visible to other IAM users in the same Amazon Web Services account.

pub fn name(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { diff --git a/sdk/cloud9/src/operation/create_environment_membership/builders.rs b/sdk/cloud9/src/operation/create_environment_membership/builders.rs index 776084a05d9b..a6ceb25211f6 100644 --- a/sdk/cloud9/src/operation/create_environment_membership/builders.rs +++ b/sdk/cloud9/src/operation/create_environment_membership/builders.rs @@ -19,9 +19,9 @@ impl CreateEnvironmentMembershipFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl CreateEnvironmentMembershipFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::create_environment_membership::CreateEnvironmentMembership, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::create_environment_membership::CreateEnvironmentMembershipError, + >, + > { + self.customize_middleware().await + } ///

The ID of the environment that contains the environment member you want to add.

pub fn environment_id( mut self, diff --git a/sdk/cloud9/src/operation/delete_environment/builders.rs b/sdk/cloud9/src/operation/delete_environment/builders.rs index 2005cf55399e..2005ceeb8cf0 100644 --- a/sdk/cloud9/src/operation/delete_environment/builders.rs +++ b/sdk/cloud9/src/operation/delete_environment/builders.rs @@ -19,9 +19,9 @@ impl DeleteEnvironmentFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl DeleteEnvironmentFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::delete_environment::DeleteEnvironment, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::delete_environment::DeleteEnvironmentError, + >, + > { + self.customize_middleware().await + } ///

The ID of the environment to delete.

pub fn environment_id( mut self, diff --git a/sdk/cloud9/src/operation/delete_environment_membership/builders.rs b/sdk/cloud9/src/operation/delete_environment_membership/builders.rs index 235649318b25..fdb8812f90c8 100644 --- a/sdk/cloud9/src/operation/delete_environment_membership/builders.rs +++ b/sdk/cloud9/src/operation/delete_environment_membership/builders.rs @@ -19,9 +19,9 @@ impl DeleteEnvironmentMembershipFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl DeleteEnvironmentMembershipFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::delete_environment_membership::DeleteEnvironmentMembership, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::delete_environment_membership::DeleteEnvironmentMembershipError, + >, + > { + self.customize_middleware().await + } ///

The ID of the environment to delete the environment member from.

pub fn environment_id( mut self, diff --git a/sdk/cloud9/src/operation/describe_environment_memberships/builders.rs b/sdk/cloud9/src/operation/describe_environment_memberships/builders.rs index 93a83bc70d35..9840723b1fcf 100644 --- a/sdk/cloud9/src/operation/describe_environment_memberships/builders.rs +++ b/sdk/cloud9/src/operation/describe_environment_memberships/builders.rs @@ -19,9 +19,9 @@ impl DescribeEnvironmentMembershipsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl DescribeEnvironmentMembershipsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::describe_environment_memberships::DescribeEnvironmentMemberships, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::describe_environment_memberships::DescribeEnvironmentMembershipsError, + >, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::describe_environment_memberships::paginator::DescribeEnvironmentMembershipsPaginator::send) which returns a `Stream`. diff --git a/sdk/cloud9/src/operation/describe_environment_status/builders.rs b/sdk/cloud9/src/operation/describe_environment_status/builders.rs index c127da657546..926bd1d7cf2d 100644 --- a/sdk/cloud9/src/operation/describe_environment_status/builders.rs +++ b/sdk/cloud9/src/operation/describe_environment_status/builders.rs @@ -19,9 +19,9 @@ impl DescribeEnvironmentStatusFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl DescribeEnvironmentStatusFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::describe_environment_status::DescribeEnvironmentStatus, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::describe_environment_status::DescribeEnvironmentStatusError, + >, + > { + self.customize_middleware().await + } ///

The ID of the environment to get status information about.

pub fn environment_id( mut self, diff --git a/sdk/cloud9/src/operation/describe_environments/builders.rs b/sdk/cloud9/src/operation/describe_environments/builders.rs index 971795f18c8a..114ebae45544 100644 --- a/sdk/cloud9/src/operation/describe_environments/builders.rs +++ b/sdk/cloud9/src/operation/describe_environments/builders.rs @@ -19,9 +19,9 @@ impl DescribeEnvironmentsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl DescribeEnvironmentsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::describe_environments::DescribeEnvironments, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::describe_environments::DescribeEnvironmentsError, + >, + > { + self.customize_middleware().await + } /// Appends an item to `environmentIds`. /// /// To override the contents of this collection use [`set_environment_ids`](Self::set_environment_ids). diff --git a/sdk/cloud9/src/operation/list_environments/builders.rs b/sdk/cloud9/src/operation/list_environments/builders.rs index 2747dd6a47b6..9a3dcb75b261 100644 --- a/sdk/cloud9/src/operation/list_environments/builders.rs +++ b/sdk/cloud9/src/operation/list_environments/builders.rs @@ -19,9 +19,9 @@ impl ListEnvironmentsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl ListEnvironmentsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_environments::ListEnvironments, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::list_environments::ListEnvironmentsError, + >, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::list_environments::paginator::ListEnvironmentsPaginator::send) which returns a `Stream`. diff --git a/sdk/cloud9/src/operation/list_tags_for_resource/builders.rs b/sdk/cloud9/src/operation/list_tags_for_resource/builders.rs index 987becf09b35..78b8d0005924 100644 --- a/sdk/cloud9/src/operation/list_tags_for_resource/builders.rs +++ b/sdk/cloud9/src/operation/list_tags_for_resource/builders.rs @@ -19,9 +19,9 @@ impl ListTagsForResourceFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl ListTagsForResourceFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_tags_for_resource::ListTagsForResource, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::list_tags_for_resource::ListTagsForResourceError, + >, + > { + self.customize_middleware().await + } ///

The Amazon Resource Name (ARN) of the Cloud9 development environment to get the tags for.

pub fn resource_arn(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.resource_arn(input.into()); diff --git a/sdk/cloud9/src/operation/tag_resource/builders.rs b/sdk/cloud9/src/operation/tag_resource/builders.rs index 55314977329d..109c0eca5bf7 100644 --- a/sdk/cloud9/src/operation/tag_resource/builders.rs +++ b/sdk/cloud9/src/operation/tag_resource/builders.rs @@ -21,9 +21,9 @@ impl TagResourceFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -79,6 +79,20 @@ impl TagResourceFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::tag_resource::TagResource, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

The Amazon Resource Name (ARN) of the Cloud9 development environment to add tags to.

pub fn resource_arn(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.resource_arn(input.into()); diff --git a/sdk/cloud9/src/operation/untag_resource/builders.rs b/sdk/cloud9/src/operation/untag_resource/builders.rs index b6409c316ada..e0796a56d1d5 100644 --- a/sdk/cloud9/src/operation/untag_resource/builders.rs +++ b/sdk/cloud9/src/operation/untag_resource/builders.rs @@ -19,9 +19,9 @@ impl UntagResourceFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl UntagResourceFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::untag_resource::UntagResource, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

The Amazon Resource Name (ARN) of the Cloud9 development environment to remove tags from.

pub fn resource_arn(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.resource_arn(input.into()); diff --git a/sdk/cloud9/src/operation/update_environment/builders.rs b/sdk/cloud9/src/operation/update_environment/builders.rs index 7e470ce0213e..80463325a110 100644 --- a/sdk/cloud9/src/operation/update_environment/builders.rs +++ b/sdk/cloud9/src/operation/update_environment/builders.rs @@ -19,9 +19,9 @@ impl UpdateEnvironmentFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl UpdateEnvironmentFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::update_environment::UpdateEnvironment, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::update_environment::UpdateEnvironmentError, + >, + > { + self.customize_middleware().await + } ///

The ID of the environment to change settings.

pub fn environment_id( mut self, diff --git a/sdk/cloud9/src/operation/update_environment_membership/builders.rs b/sdk/cloud9/src/operation/update_environment_membership/builders.rs index a04a9f86a673..d896df889dea 100644 --- a/sdk/cloud9/src/operation/update_environment_membership/builders.rs +++ b/sdk/cloud9/src/operation/update_environment_membership/builders.rs @@ -19,9 +19,9 @@ impl UpdateEnvironmentMembershipFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl UpdateEnvironmentMembershipFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::update_environment_membership::UpdateEnvironmentMembership, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::update_environment_membership::UpdateEnvironmentMembershipError, + >, + > { + self.customize_middleware().await + } ///

The ID of the environment for the environment member whose settings you want to change.

pub fn environment_id( mut self, diff --git a/sdk/cloudcontrol/src/operation/cancel_resource_request/builders.rs b/sdk/cloudcontrol/src/operation/cancel_resource_request/builders.rs index 614155eaf362..6a21919275b0 100644 --- a/sdk/cloudcontrol/src/operation/cancel_resource_request/builders.rs +++ b/sdk/cloudcontrol/src/operation/cancel_resource_request/builders.rs @@ -20,9 +20,9 @@ impl CancelResourceRequestFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -84,6 +84,22 @@ impl CancelResourceRequestFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::cancel_resource_request::CancelResourceRequest, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::cancel_resource_request::CancelResourceRequestError, + >, + > { + self.customize_middleware().await + } ///

The RequestToken of the ProgressEvent object returned by the resource operation request.

pub fn request_token( mut self, diff --git a/sdk/cloudcontrol/src/operation/create_resource/builders.rs b/sdk/cloudcontrol/src/operation/create_resource/builders.rs index 1628171a1e24..c8a3e1bf4007 100644 --- a/sdk/cloudcontrol/src/operation/create_resource/builders.rs +++ b/sdk/cloudcontrol/src/operation/create_resource/builders.rs @@ -20,9 +20,9 @@ impl CreateResourceFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -78,6 +78,20 @@ impl CreateResourceFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::create_resource::CreateResource, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

The name of the resource type.

pub fn type_name(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.type_name(input.into()); diff --git a/sdk/cloudcontrol/src/operation/delete_resource/builders.rs b/sdk/cloudcontrol/src/operation/delete_resource/builders.rs index e58102457b5a..ed816b950cb3 100644 --- a/sdk/cloudcontrol/src/operation/delete_resource/builders.rs +++ b/sdk/cloudcontrol/src/operation/delete_resource/builders.rs @@ -20,9 +20,9 @@ impl DeleteResourceFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -78,6 +78,20 @@ impl DeleteResourceFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::delete_resource::DeleteResource, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

The name of the resource type.

pub fn type_name(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.type_name(input.into()); diff --git a/sdk/cloudcontrol/src/operation/get_resource/builders.rs b/sdk/cloudcontrol/src/operation/get_resource/builders.rs index 3f281c3d0b01..d58388db1f04 100644 --- a/sdk/cloudcontrol/src/operation/get_resource/builders.rs +++ b/sdk/cloudcontrol/src/operation/get_resource/builders.rs @@ -20,9 +20,9 @@ impl GetResourceFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -78,6 +78,20 @@ impl GetResourceFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::get_resource::GetResource, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

The name of the resource type.

pub fn type_name(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.type_name(input.into()); diff --git a/sdk/cloudcontrol/src/operation/get_resource_request_status/builders.rs b/sdk/cloudcontrol/src/operation/get_resource_request_status/builders.rs index e6295aeb8b50..d9fc97aa674a 100644 --- a/sdk/cloudcontrol/src/operation/get_resource_request_status/builders.rs +++ b/sdk/cloudcontrol/src/operation/get_resource_request_status/builders.rs @@ -19,9 +19,9 @@ impl GetResourceRequestStatusFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl GetResourceRequestStatusFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::get_resource_request_status::GetResourceRequestStatus, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::get_resource_request_status::GetResourceRequestStatusError, + >, + > { + self.customize_middleware().await + } ///

A unique token used to track the progress of the resource operation request.

///

Request tokens are included in the ProgressEvent type returned by a resource operation request.

pub fn request_token( diff --git a/sdk/cloudcontrol/src/operation/list_resource_requests/builders.rs b/sdk/cloudcontrol/src/operation/list_resource_requests/builders.rs index 4a8e0a5f2679..5a75d260587f 100644 --- a/sdk/cloudcontrol/src/operation/list_resource_requests/builders.rs +++ b/sdk/cloudcontrol/src/operation/list_resource_requests/builders.rs @@ -21,9 +21,9 @@ impl ListResourceRequestsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -85,6 +85,22 @@ impl ListResourceRequestsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_resource_requests::ListResourceRequests, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::list_resource_requests::ListResourceRequestsError, + >, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::list_resource_requests::paginator::ListResourceRequestsPaginator::send) which returns a `Stream`. diff --git a/sdk/cloudcontrol/src/operation/list_resources/builders.rs b/sdk/cloudcontrol/src/operation/list_resources/builders.rs index a337cabb33b1..74ecdaef8dfd 100644 --- a/sdk/cloudcontrol/src/operation/list_resources/builders.rs +++ b/sdk/cloudcontrol/src/operation/list_resources/builders.rs @@ -20,9 +20,9 @@ impl ListResourcesFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -78,6 +78,20 @@ impl ListResourcesFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_resources::ListResources, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::list_resources::paginator::ListResourcesPaginator::send) which returns a `Stream`. diff --git a/sdk/cloudcontrol/src/operation/update_resource/builders.rs b/sdk/cloudcontrol/src/operation/update_resource/builders.rs index be0fd547aefa..32df4f96e8dc 100644 --- a/sdk/cloudcontrol/src/operation/update_resource/builders.rs +++ b/sdk/cloudcontrol/src/operation/update_resource/builders.rs @@ -23,9 +23,9 @@ impl UpdateResourceFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -81,6 +81,20 @@ impl UpdateResourceFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::update_resource::UpdateResource, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

The name of the resource type.

pub fn type_name(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.type_name(input.into()); diff --git a/sdk/clouddirectory/src/operation/add_facet_to_object/builders.rs b/sdk/clouddirectory/src/operation/add_facet_to_object/builders.rs index d3bf46a95450..57f4b37b2413 100644 --- a/sdk/clouddirectory/src/operation/add_facet_to_object/builders.rs +++ b/sdk/clouddirectory/src/operation/add_facet_to_object/builders.rs @@ -19,9 +19,9 @@ impl AddFacetToObjectFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl AddFacetToObjectFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::add_facet_to_object::AddFacetToObject, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::add_facet_to_object::AddFacetToObjectError, + >, + > { + self.customize_middleware().await + } ///

The Amazon Resource Name (ARN) that is associated with the Directory where the object resides. For more information, see arns.

pub fn directory_arn( mut self, diff --git a/sdk/clouddirectory/src/operation/apply_schema/builders.rs b/sdk/clouddirectory/src/operation/apply_schema/builders.rs index acfb2076083a..e06afeac9be9 100644 --- a/sdk/clouddirectory/src/operation/apply_schema/builders.rs +++ b/sdk/clouddirectory/src/operation/apply_schema/builders.rs @@ -19,9 +19,9 @@ impl ApplySchemaFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl ApplySchemaFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::apply_schema::ApplySchema, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

Published schema Amazon Resource Name (ARN) that needs to be copied. For more information, see arns.

pub fn published_schema_arn( mut self, diff --git a/sdk/clouddirectory/src/operation/attach_object/builders.rs b/sdk/clouddirectory/src/operation/attach_object/builders.rs index 8f48439e9616..99d07e8601b3 100644 --- a/sdk/clouddirectory/src/operation/attach_object/builders.rs +++ b/sdk/clouddirectory/src/operation/attach_object/builders.rs @@ -23,9 +23,9 @@ impl AttachObjectFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -81,6 +81,20 @@ impl AttachObjectFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::attach_object::AttachObject, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

Amazon Resource Name (ARN) that is associated with the Directory where both objects reside. For more information, see arns.

pub fn directory_arn( mut self, diff --git a/sdk/clouddirectory/src/operation/attach_policy/builders.rs b/sdk/clouddirectory/src/operation/attach_policy/builders.rs index 10862ea6dede..936c4b634741 100644 --- a/sdk/clouddirectory/src/operation/attach_policy/builders.rs +++ b/sdk/clouddirectory/src/operation/attach_policy/builders.rs @@ -19,9 +19,9 @@ impl AttachPolicyFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl AttachPolicyFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::attach_policy::AttachPolicy, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

The Amazon Resource Name (ARN) that is associated with the Directory where both objects reside. For more information, see arns.

pub fn directory_arn( mut self, diff --git a/sdk/clouddirectory/src/operation/attach_to_index/builders.rs b/sdk/clouddirectory/src/operation/attach_to_index/builders.rs index f2a4eecd14c7..d5dc4a325ab9 100644 --- a/sdk/clouddirectory/src/operation/attach_to_index/builders.rs +++ b/sdk/clouddirectory/src/operation/attach_to_index/builders.rs @@ -19,9 +19,9 @@ impl AttachToIndexFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl AttachToIndexFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::attach_to_index::AttachToIndex, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

The Amazon Resource Name (ARN) of the directory where the object and index exist.

pub fn directory_arn( mut self, diff --git a/sdk/clouddirectory/src/operation/attach_typed_link/builders.rs b/sdk/clouddirectory/src/operation/attach_typed_link/builders.rs index dc5b46a1a9b9..4dff69129d04 100644 --- a/sdk/clouddirectory/src/operation/attach_typed_link/builders.rs +++ b/sdk/clouddirectory/src/operation/attach_typed_link/builders.rs @@ -19,9 +19,9 @@ impl AttachTypedLinkFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl AttachTypedLinkFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::attach_typed_link::AttachTypedLink, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::attach_typed_link::AttachTypedLinkError, + >, + > { + self.customize_middleware().await + } ///

The Amazon Resource Name (ARN) of the directory where you want to attach the typed link.

pub fn directory_arn( mut self, diff --git a/sdk/clouddirectory/src/operation/batch_read/builders.rs b/sdk/clouddirectory/src/operation/batch_read/builders.rs index f2ff67df8831..7221fcb213a8 100644 --- a/sdk/clouddirectory/src/operation/batch_read/builders.rs +++ b/sdk/clouddirectory/src/operation/batch_read/builders.rs @@ -19,9 +19,9 @@ impl BatchReadFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl BatchReadFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::batch_read::BatchRead, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

The Amazon Resource Name (ARN) that is associated with the Directory. For more information, see arns.

pub fn directory_arn( mut self, diff --git a/sdk/clouddirectory/src/operation/batch_write/builders.rs b/sdk/clouddirectory/src/operation/batch_write/builders.rs index cd33f9f50d54..2aac073ae347 100644 --- a/sdk/clouddirectory/src/operation/batch_write/builders.rs +++ b/sdk/clouddirectory/src/operation/batch_write/builders.rs @@ -19,9 +19,9 @@ impl BatchWriteFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl BatchWriteFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::batch_write::BatchWrite, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

The Amazon Resource Name (ARN) that is associated with the Directory. For more information, see arns.

pub fn directory_arn( mut self, diff --git a/sdk/clouddirectory/src/operation/create_directory/builders.rs b/sdk/clouddirectory/src/operation/create_directory/builders.rs index ef263dd8df68..26d0e69d5259 100644 --- a/sdk/clouddirectory/src/operation/create_directory/builders.rs +++ b/sdk/clouddirectory/src/operation/create_directory/builders.rs @@ -20,9 +20,9 @@ impl CreateDirectoryFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -84,6 +84,22 @@ impl CreateDirectoryFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::create_directory::CreateDirectory, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::create_directory::CreateDirectoryError, + >, + > { + self.customize_middleware().await + } ///

The name of the Directory. Should be unique per account, per region.

pub fn name(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.name(input.into()); diff --git a/sdk/clouddirectory/src/operation/create_facet/builders.rs b/sdk/clouddirectory/src/operation/create_facet/builders.rs index f797f2990a56..f58f852ea5b7 100644 --- a/sdk/clouddirectory/src/operation/create_facet/builders.rs +++ b/sdk/clouddirectory/src/operation/create_facet/builders.rs @@ -19,9 +19,9 @@ impl CreateFacetFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl CreateFacetFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::create_facet::CreateFacet, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

The schema ARN in which the new Facet will be created. For more information, see arns.

pub fn schema_arn(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.schema_arn(input.into()); diff --git a/sdk/clouddirectory/src/operation/create_index/builders.rs b/sdk/clouddirectory/src/operation/create_index/builders.rs index f953faae7e29..1616a48190fd 100644 --- a/sdk/clouddirectory/src/operation/create_index/builders.rs +++ b/sdk/clouddirectory/src/operation/create_index/builders.rs @@ -19,9 +19,9 @@ impl CreateIndexFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl CreateIndexFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::create_index::CreateIndex, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

The ARN of the directory where the index should be created.

pub fn directory_arn( mut self, diff --git a/sdk/clouddirectory/src/operation/create_object/builders.rs b/sdk/clouddirectory/src/operation/create_object/builders.rs index ef0d9844f1b8..d3636d939340 100644 --- a/sdk/clouddirectory/src/operation/create_object/builders.rs +++ b/sdk/clouddirectory/src/operation/create_object/builders.rs @@ -19,9 +19,9 @@ impl CreateObjectFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl CreateObjectFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::create_object::CreateObject, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

The Amazon Resource Name (ARN) that is associated with the Directory in which the object will be created. For more information, see arns.

pub fn directory_arn( mut self, diff --git a/sdk/clouddirectory/src/operation/create_schema/builders.rs b/sdk/clouddirectory/src/operation/create_schema/builders.rs index 79d3bf586310..704d816a57fd 100644 --- a/sdk/clouddirectory/src/operation/create_schema/builders.rs +++ b/sdk/clouddirectory/src/operation/create_schema/builders.rs @@ -24,9 +24,9 @@ impl CreateSchemaFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -82,6 +82,20 @@ impl CreateSchemaFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::create_schema::CreateSchema, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

The name that is associated with the schema. This is unique to each account and in each region.

pub fn name(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.name(input.into()); diff --git a/sdk/clouddirectory/src/operation/create_typed_link_facet/builders.rs b/sdk/clouddirectory/src/operation/create_typed_link_facet/builders.rs index 051978045fc5..cd9db2e201db 100644 --- a/sdk/clouddirectory/src/operation/create_typed_link_facet/builders.rs +++ b/sdk/clouddirectory/src/operation/create_typed_link_facet/builders.rs @@ -19,9 +19,9 @@ impl CreateTypedLinkFacetFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl CreateTypedLinkFacetFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::create_typed_link_facet::CreateTypedLinkFacet, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::create_typed_link_facet::CreateTypedLinkFacetError, + >, + > { + self.customize_middleware().await + } ///

The Amazon Resource Name (ARN) that is associated with the schema. For more information, see arns.

pub fn schema_arn(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.schema_arn(input.into()); diff --git a/sdk/clouddirectory/src/operation/delete_directory/builders.rs b/sdk/clouddirectory/src/operation/delete_directory/builders.rs index a0755155672b..63b4378f7888 100644 --- a/sdk/clouddirectory/src/operation/delete_directory/builders.rs +++ b/sdk/clouddirectory/src/operation/delete_directory/builders.rs @@ -19,9 +19,9 @@ impl DeleteDirectoryFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl DeleteDirectoryFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::delete_directory::DeleteDirectory, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::delete_directory::DeleteDirectoryError, + >, + > { + self.customize_middleware().await + } ///

The ARN of the directory to delete.

pub fn directory_arn( mut self, diff --git a/sdk/clouddirectory/src/operation/delete_facet/builders.rs b/sdk/clouddirectory/src/operation/delete_facet/builders.rs index 4b806a2eebf0..8a7166a00f0f 100644 --- a/sdk/clouddirectory/src/operation/delete_facet/builders.rs +++ b/sdk/clouddirectory/src/operation/delete_facet/builders.rs @@ -19,9 +19,9 @@ impl DeleteFacetFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl DeleteFacetFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::delete_facet::DeleteFacet, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

The Amazon Resource Name (ARN) that is associated with the Facet. For more information, see arns.

pub fn schema_arn(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.schema_arn(input.into()); diff --git a/sdk/clouddirectory/src/operation/delete_object/builders.rs b/sdk/clouddirectory/src/operation/delete_object/builders.rs index c8ec93121185..69fe1a56db92 100644 --- a/sdk/clouddirectory/src/operation/delete_object/builders.rs +++ b/sdk/clouddirectory/src/operation/delete_object/builders.rs @@ -19,9 +19,9 @@ impl DeleteObjectFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl DeleteObjectFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::delete_object::DeleteObject, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

The Amazon Resource Name (ARN) that is associated with the Directory where the object resides. For more information, see arns.

pub fn directory_arn( mut self, diff --git a/sdk/clouddirectory/src/operation/delete_schema/builders.rs b/sdk/clouddirectory/src/operation/delete_schema/builders.rs index bdf467cc5b3d..5d103c408b72 100644 --- a/sdk/clouddirectory/src/operation/delete_schema/builders.rs +++ b/sdk/clouddirectory/src/operation/delete_schema/builders.rs @@ -19,9 +19,9 @@ impl DeleteSchemaFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl DeleteSchemaFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::delete_schema::DeleteSchema, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

The Amazon Resource Name (ARN) of the development schema. For more information, see arns.

pub fn schema_arn(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.schema_arn(input.into()); diff --git a/sdk/clouddirectory/src/operation/delete_typed_link_facet/builders.rs b/sdk/clouddirectory/src/operation/delete_typed_link_facet/builders.rs index 19b7badc74a4..992a2370a328 100644 --- a/sdk/clouddirectory/src/operation/delete_typed_link_facet/builders.rs +++ b/sdk/clouddirectory/src/operation/delete_typed_link_facet/builders.rs @@ -19,9 +19,9 @@ impl DeleteTypedLinkFacetFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl DeleteTypedLinkFacetFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::delete_typed_link_facet::DeleteTypedLinkFacet, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::delete_typed_link_facet::DeleteTypedLinkFacetError, + >, + > { + self.customize_middleware().await + } ///

The Amazon Resource Name (ARN) that is associated with the schema. For more information, see arns.

pub fn schema_arn(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.schema_arn(input.into()); diff --git a/sdk/clouddirectory/src/operation/detach_from_index/builders.rs b/sdk/clouddirectory/src/operation/detach_from_index/builders.rs index e4565dc82e10..fd00d9aa4d72 100644 --- a/sdk/clouddirectory/src/operation/detach_from_index/builders.rs +++ b/sdk/clouddirectory/src/operation/detach_from_index/builders.rs @@ -19,9 +19,9 @@ impl DetachFromIndexFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl DetachFromIndexFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::detach_from_index::DetachFromIndex, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::detach_from_index::DetachFromIndexError, + >, + > { + self.customize_middleware().await + } ///

The Amazon Resource Name (ARN) of the directory the index and object exist in.

pub fn directory_arn( mut self, diff --git a/sdk/clouddirectory/src/operation/detach_object/builders.rs b/sdk/clouddirectory/src/operation/detach_object/builders.rs index 67e534a44f89..85f35206fce0 100644 --- a/sdk/clouddirectory/src/operation/detach_object/builders.rs +++ b/sdk/clouddirectory/src/operation/detach_object/builders.rs @@ -19,9 +19,9 @@ impl DetachObjectFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl DetachObjectFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::detach_object::DetachObject, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

The Amazon Resource Name (ARN) that is associated with the Directory where objects reside. For more information, see arns.

pub fn directory_arn( mut self, diff --git a/sdk/clouddirectory/src/operation/detach_policy/builders.rs b/sdk/clouddirectory/src/operation/detach_policy/builders.rs index 37d556ae69b6..986a915a8622 100644 --- a/sdk/clouddirectory/src/operation/detach_policy/builders.rs +++ b/sdk/clouddirectory/src/operation/detach_policy/builders.rs @@ -19,9 +19,9 @@ impl DetachPolicyFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl DetachPolicyFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::detach_policy::DetachPolicy, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

The Amazon Resource Name (ARN) that is associated with the Directory where both objects reside. For more information, see arns.

pub fn directory_arn( mut self, diff --git a/sdk/clouddirectory/src/operation/detach_typed_link/builders.rs b/sdk/clouddirectory/src/operation/detach_typed_link/builders.rs index 0bdc0545f38a..c02e67dbfdd0 100644 --- a/sdk/clouddirectory/src/operation/detach_typed_link/builders.rs +++ b/sdk/clouddirectory/src/operation/detach_typed_link/builders.rs @@ -19,9 +19,9 @@ impl DetachTypedLinkFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl DetachTypedLinkFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::detach_typed_link::DetachTypedLink, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::detach_typed_link::DetachTypedLinkError, + >, + > { + self.customize_middleware().await + } ///

The Amazon Resource Name (ARN) of the directory where you want to detach the typed link.

pub fn directory_arn( mut self, diff --git a/sdk/clouddirectory/src/operation/disable_directory/builders.rs b/sdk/clouddirectory/src/operation/disable_directory/builders.rs index b0006b5acda1..6fd4aac2c69c 100644 --- a/sdk/clouddirectory/src/operation/disable_directory/builders.rs +++ b/sdk/clouddirectory/src/operation/disable_directory/builders.rs @@ -19,9 +19,9 @@ impl DisableDirectoryFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl DisableDirectoryFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::disable_directory::DisableDirectory, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::disable_directory::DisableDirectoryError, + >, + > { + self.customize_middleware().await + } ///

The ARN of the directory to disable.

pub fn directory_arn( mut self, diff --git a/sdk/clouddirectory/src/operation/enable_directory/builders.rs b/sdk/clouddirectory/src/operation/enable_directory/builders.rs index e37b13affa9b..be1e7ce5ab6c 100644 --- a/sdk/clouddirectory/src/operation/enable_directory/builders.rs +++ b/sdk/clouddirectory/src/operation/enable_directory/builders.rs @@ -19,9 +19,9 @@ impl EnableDirectoryFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl EnableDirectoryFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::enable_directory::EnableDirectory, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::enable_directory::EnableDirectoryError, + >, + > { + self.customize_middleware().await + } ///

The ARN of the directory to enable.

pub fn directory_arn( mut self, diff --git a/sdk/clouddirectory/src/operation/get_applied_schema_version/builders.rs b/sdk/clouddirectory/src/operation/get_applied_schema_version/builders.rs index 987591d1fe8e..276072321ef4 100644 --- a/sdk/clouddirectory/src/operation/get_applied_schema_version/builders.rs +++ b/sdk/clouddirectory/src/operation/get_applied_schema_version/builders.rs @@ -20,9 +20,9 @@ impl GetAppliedSchemaVersionFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -84,6 +84,22 @@ impl GetAppliedSchemaVersionFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::get_applied_schema_version::GetAppliedSchemaVersion, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::get_applied_schema_version::GetAppliedSchemaVersionError, + >, + > { + self.customize_middleware().await + } ///

The ARN of the applied schema.

pub fn schema_arn(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.schema_arn(input.into()); diff --git a/sdk/clouddirectory/src/operation/get_directory/builders.rs b/sdk/clouddirectory/src/operation/get_directory/builders.rs index 65160a1d237a..3803ce1de281 100644 --- a/sdk/clouddirectory/src/operation/get_directory/builders.rs +++ b/sdk/clouddirectory/src/operation/get_directory/builders.rs @@ -19,9 +19,9 @@ impl GetDirectoryFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl GetDirectoryFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::get_directory::GetDirectory, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

The ARN of the directory.

pub fn directory_arn( mut self, diff --git a/sdk/clouddirectory/src/operation/get_facet/builders.rs b/sdk/clouddirectory/src/operation/get_facet/builders.rs index 681e95cc686d..65bee9eba3b0 100644 --- a/sdk/clouddirectory/src/operation/get_facet/builders.rs +++ b/sdk/clouddirectory/src/operation/get_facet/builders.rs @@ -19,9 +19,9 @@ impl GetFacetFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl GetFacetFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::get_facet::GetFacet, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

The Amazon Resource Name (ARN) that is associated with the Facet. For more information, see arns.

pub fn schema_arn(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.schema_arn(input.into()); diff --git a/sdk/clouddirectory/src/operation/get_link_attributes/builders.rs b/sdk/clouddirectory/src/operation/get_link_attributes/builders.rs index 7373fd30e08c..d0480aa0d5ec 100644 --- a/sdk/clouddirectory/src/operation/get_link_attributes/builders.rs +++ b/sdk/clouddirectory/src/operation/get_link_attributes/builders.rs @@ -19,9 +19,9 @@ impl GetLinkAttributesFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl GetLinkAttributesFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::get_link_attributes::GetLinkAttributes, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::get_link_attributes::GetLinkAttributesError, + >, + > { + self.customize_middleware().await + } ///

The Amazon Resource Name (ARN) that is associated with the Directory where the typed link resides. For more information, see arns or Typed Links.

pub fn directory_arn( mut self, diff --git a/sdk/clouddirectory/src/operation/get_object_attributes/builders.rs b/sdk/clouddirectory/src/operation/get_object_attributes/builders.rs index f9405dd92a84..4fddf8a47118 100644 --- a/sdk/clouddirectory/src/operation/get_object_attributes/builders.rs +++ b/sdk/clouddirectory/src/operation/get_object_attributes/builders.rs @@ -19,9 +19,9 @@ impl GetObjectAttributesFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl GetObjectAttributesFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::get_object_attributes::GetObjectAttributes, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::get_object_attributes::GetObjectAttributesError, + >, + > { + self.customize_middleware().await + } ///

The Amazon Resource Name (ARN) that is associated with the Directory where the object resides.

pub fn directory_arn( mut self, diff --git a/sdk/clouddirectory/src/operation/get_object_information/builders.rs b/sdk/clouddirectory/src/operation/get_object_information/builders.rs index dfed8ee2d297..4faab22ad441 100644 --- a/sdk/clouddirectory/src/operation/get_object_information/builders.rs +++ b/sdk/clouddirectory/src/operation/get_object_information/builders.rs @@ -19,9 +19,9 @@ impl GetObjectInformationFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl GetObjectInformationFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::get_object_information::GetObjectInformation, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::get_object_information::GetObjectInformationError, + >, + > { + self.customize_middleware().await + } ///

The ARN of the directory being retrieved.

pub fn directory_arn( mut self, diff --git a/sdk/clouddirectory/src/operation/get_schema_as_json/builders.rs b/sdk/clouddirectory/src/operation/get_schema_as_json/builders.rs index 72fc6e1a2361..65ab3eb59e64 100644 --- a/sdk/clouddirectory/src/operation/get_schema_as_json/builders.rs +++ b/sdk/clouddirectory/src/operation/get_schema_as_json/builders.rs @@ -19,9 +19,9 @@ impl GetSchemaAsJsonFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl GetSchemaAsJsonFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::get_schema_as_json::GetSchemaAsJson, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::get_schema_as_json::GetSchemaAsJsonError, + >, + > { + self.customize_middleware().await + } ///

The ARN of the schema to retrieve.

pub fn schema_arn(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.schema_arn(input.into()); diff --git a/sdk/clouddirectory/src/operation/get_typed_link_facet_information/builders.rs b/sdk/clouddirectory/src/operation/get_typed_link_facet_information/builders.rs index 0f892c9eed42..e714b870b0d8 100644 --- a/sdk/clouddirectory/src/operation/get_typed_link_facet_information/builders.rs +++ b/sdk/clouddirectory/src/operation/get_typed_link_facet_information/builders.rs @@ -19,9 +19,9 @@ impl GetTypedLinkFacetInformationFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl GetTypedLinkFacetInformationFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::get_typed_link_facet_information::GetTypedLinkFacetInformation, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::get_typed_link_facet_information::GetTypedLinkFacetInformationError, + >, + > { + self.customize_middleware().await + } ///

The Amazon Resource Name (ARN) that is associated with the schema. For more information, see arns.

pub fn schema_arn(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.schema_arn(input.into()); diff --git a/sdk/clouddirectory/src/operation/list_applied_schema_arns/builders.rs b/sdk/clouddirectory/src/operation/list_applied_schema_arns/builders.rs index f200ecd558fe..721c35502f6e 100644 --- a/sdk/clouddirectory/src/operation/list_applied_schema_arns/builders.rs +++ b/sdk/clouddirectory/src/operation/list_applied_schema_arns/builders.rs @@ -19,9 +19,9 @@ impl ListAppliedSchemaArnsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl ListAppliedSchemaArnsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_applied_schema_arns::ListAppliedSchemaArns, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::list_applied_schema_arns::ListAppliedSchemaArnsError, + >, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::list_applied_schema_arns::paginator::ListAppliedSchemaArnsPaginator::send) which returns a `Stream`. diff --git a/sdk/clouddirectory/src/operation/list_attached_indices/builders.rs b/sdk/clouddirectory/src/operation/list_attached_indices/builders.rs index d3867ea7d665..40dfac681042 100644 --- a/sdk/clouddirectory/src/operation/list_attached_indices/builders.rs +++ b/sdk/clouddirectory/src/operation/list_attached_indices/builders.rs @@ -19,9 +19,9 @@ impl ListAttachedIndicesFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl ListAttachedIndicesFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_attached_indices::ListAttachedIndices, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::list_attached_indices::ListAttachedIndicesError, + >, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::list_attached_indices::paginator::ListAttachedIndicesPaginator::send) which returns a `Stream`. diff --git a/sdk/clouddirectory/src/operation/list_development_schema_arns/builders.rs b/sdk/clouddirectory/src/operation/list_development_schema_arns/builders.rs index 53c79112e199..4db188f6f23e 100644 --- a/sdk/clouddirectory/src/operation/list_development_schema_arns/builders.rs +++ b/sdk/clouddirectory/src/operation/list_development_schema_arns/builders.rs @@ -19,9 +19,9 @@ impl ListDevelopmentSchemaArnsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl ListDevelopmentSchemaArnsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_development_schema_arns::ListDevelopmentSchemaArns, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::list_development_schema_arns::ListDevelopmentSchemaArnsError, + >, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::list_development_schema_arns::paginator::ListDevelopmentSchemaArnsPaginator::send) which returns a `Stream`. diff --git a/sdk/clouddirectory/src/operation/list_directories/builders.rs b/sdk/clouddirectory/src/operation/list_directories/builders.rs index 43a5fb65f6df..0af88cd84389 100644 --- a/sdk/clouddirectory/src/operation/list_directories/builders.rs +++ b/sdk/clouddirectory/src/operation/list_directories/builders.rs @@ -19,9 +19,9 @@ impl ListDirectoriesFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl ListDirectoriesFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_directories::ListDirectories, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::list_directories::ListDirectoriesError, + >, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::list_directories::paginator::ListDirectoriesPaginator::send) which returns a `Stream`. diff --git a/sdk/clouddirectory/src/operation/list_facet_attributes/builders.rs b/sdk/clouddirectory/src/operation/list_facet_attributes/builders.rs index a951fa2ea880..13512b4f10d0 100644 --- a/sdk/clouddirectory/src/operation/list_facet_attributes/builders.rs +++ b/sdk/clouddirectory/src/operation/list_facet_attributes/builders.rs @@ -19,9 +19,9 @@ impl ListFacetAttributesFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl ListFacetAttributesFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_facet_attributes::ListFacetAttributes, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::list_facet_attributes::ListFacetAttributesError, + >, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::list_facet_attributes::paginator::ListFacetAttributesPaginator::send) which returns a `Stream`. diff --git a/sdk/clouddirectory/src/operation/list_facet_names/builders.rs b/sdk/clouddirectory/src/operation/list_facet_names/builders.rs index eee8e8b8fe47..d97a0e90c8db 100644 --- a/sdk/clouddirectory/src/operation/list_facet_names/builders.rs +++ b/sdk/clouddirectory/src/operation/list_facet_names/builders.rs @@ -19,9 +19,9 @@ impl ListFacetNamesFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl ListFacetNamesFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_facet_names::ListFacetNames, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::list_facet_names::ListFacetNamesError, + >, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::list_facet_names::paginator::ListFacetNamesPaginator::send) which returns a `Stream`. diff --git a/sdk/clouddirectory/src/operation/list_incoming_typed_links/builders.rs b/sdk/clouddirectory/src/operation/list_incoming_typed_links/builders.rs index 3c19b5d0c82e..283dce0b830d 100644 --- a/sdk/clouddirectory/src/operation/list_incoming_typed_links/builders.rs +++ b/sdk/clouddirectory/src/operation/list_incoming_typed_links/builders.rs @@ -20,9 +20,9 @@ impl ListIncomingTypedLinksFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -84,6 +84,22 @@ impl ListIncomingTypedLinksFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_incoming_typed_links::ListIncomingTypedLinks, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::list_incoming_typed_links::ListIncomingTypedLinksError, + >, + > { + self.customize_middleware().await + } ///

The Amazon Resource Name (ARN) of the directory where you want to list the typed links.

pub fn directory_arn( mut self, diff --git a/sdk/clouddirectory/src/operation/list_index/builders.rs b/sdk/clouddirectory/src/operation/list_index/builders.rs index 3ec81dacbdd0..7b21a3847dae 100644 --- a/sdk/clouddirectory/src/operation/list_index/builders.rs +++ b/sdk/clouddirectory/src/operation/list_index/builders.rs @@ -19,9 +19,9 @@ impl ListIndexFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl ListIndexFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_index::ListIndex, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::list_index::paginator::ListIndexPaginator::send) which returns a `Stream`. diff --git a/sdk/clouddirectory/src/operation/list_managed_schema_arns/builders.rs b/sdk/clouddirectory/src/operation/list_managed_schema_arns/builders.rs index e1d7c5c42e4c..2e27bd47b55e 100644 --- a/sdk/clouddirectory/src/operation/list_managed_schema_arns/builders.rs +++ b/sdk/clouddirectory/src/operation/list_managed_schema_arns/builders.rs @@ -19,9 +19,9 @@ impl ListManagedSchemaArnsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl ListManagedSchemaArnsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_managed_schema_arns::ListManagedSchemaArns, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::list_managed_schema_arns::ListManagedSchemaArnsError, + >, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::list_managed_schema_arns::paginator::ListManagedSchemaArnsPaginator::send) which returns a `Stream`. diff --git a/sdk/clouddirectory/src/operation/list_object_attributes/builders.rs b/sdk/clouddirectory/src/operation/list_object_attributes/builders.rs index 76d08bfc3ba8..cf9c06e50075 100644 --- a/sdk/clouddirectory/src/operation/list_object_attributes/builders.rs +++ b/sdk/clouddirectory/src/operation/list_object_attributes/builders.rs @@ -19,9 +19,9 @@ impl ListObjectAttributesFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl ListObjectAttributesFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_object_attributes::ListObjectAttributes, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::list_object_attributes::ListObjectAttributesError, + >, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::list_object_attributes::paginator::ListObjectAttributesPaginator::send) which returns a `Stream`. diff --git a/sdk/clouddirectory/src/operation/list_object_children/builders.rs b/sdk/clouddirectory/src/operation/list_object_children/builders.rs index 1d52bfae6be7..4b236de515a7 100644 --- a/sdk/clouddirectory/src/operation/list_object_children/builders.rs +++ b/sdk/clouddirectory/src/operation/list_object_children/builders.rs @@ -19,9 +19,9 @@ impl ListObjectChildrenFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl ListObjectChildrenFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_object_children::ListObjectChildren, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::list_object_children::ListObjectChildrenError, + >, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::list_object_children::paginator::ListObjectChildrenPaginator::send) which returns a `Stream`. diff --git a/sdk/clouddirectory/src/operation/list_object_parent_paths/builders.rs b/sdk/clouddirectory/src/operation/list_object_parent_paths/builders.rs index a9498df9bf68..0c1947e62f8a 100644 --- a/sdk/clouddirectory/src/operation/list_object_parent_paths/builders.rs +++ b/sdk/clouddirectory/src/operation/list_object_parent_paths/builders.rs @@ -20,9 +20,9 @@ impl ListObjectParentPathsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -84,6 +84,22 @@ impl ListObjectParentPathsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_object_parent_paths::ListObjectParentPaths, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::list_object_parent_paths::ListObjectParentPathsError, + >, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::list_object_parent_paths::paginator::ListObjectParentPathsPaginator::send) which returns a `Stream`. diff --git a/sdk/clouddirectory/src/operation/list_object_parents/builders.rs b/sdk/clouddirectory/src/operation/list_object_parents/builders.rs index 9953cea3de12..bf7db7c1123e 100644 --- a/sdk/clouddirectory/src/operation/list_object_parents/builders.rs +++ b/sdk/clouddirectory/src/operation/list_object_parents/builders.rs @@ -19,9 +19,9 @@ impl ListObjectParentsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl ListObjectParentsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_object_parents::ListObjectParents, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::list_object_parents::ListObjectParentsError, + >, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::list_object_parents::paginator::ListObjectParentsPaginator::send) which returns a `Stream`. diff --git a/sdk/clouddirectory/src/operation/list_object_policies/builders.rs b/sdk/clouddirectory/src/operation/list_object_policies/builders.rs index 12f3cc441b82..f3ddcaac9732 100644 --- a/sdk/clouddirectory/src/operation/list_object_policies/builders.rs +++ b/sdk/clouddirectory/src/operation/list_object_policies/builders.rs @@ -19,9 +19,9 @@ impl ListObjectPoliciesFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl ListObjectPoliciesFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_object_policies::ListObjectPolicies, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::list_object_policies::ListObjectPoliciesError, + >, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::list_object_policies::paginator::ListObjectPoliciesPaginator::send) which returns a `Stream`. diff --git a/sdk/clouddirectory/src/operation/list_outgoing_typed_links/builders.rs b/sdk/clouddirectory/src/operation/list_outgoing_typed_links/builders.rs index f5e9ca71161c..19b105050443 100644 --- a/sdk/clouddirectory/src/operation/list_outgoing_typed_links/builders.rs +++ b/sdk/clouddirectory/src/operation/list_outgoing_typed_links/builders.rs @@ -20,9 +20,9 @@ impl ListOutgoingTypedLinksFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -84,6 +84,22 @@ impl ListOutgoingTypedLinksFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_outgoing_typed_links::ListOutgoingTypedLinks, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::list_outgoing_typed_links::ListOutgoingTypedLinksError, + >, + > { + self.customize_middleware().await + } ///

The Amazon Resource Name (ARN) of the directory where you want to list the typed links.

pub fn directory_arn( mut self, diff --git a/sdk/clouddirectory/src/operation/list_policy_attachments/builders.rs b/sdk/clouddirectory/src/operation/list_policy_attachments/builders.rs index 2cbd1542e726..71a9acb39829 100644 --- a/sdk/clouddirectory/src/operation/list_policy_attachments/builders.rs +++ b/sdk/clouddirectory/src/operation/list_policy_attachments/builders.rs @@ -19,9 +19,9 @@ impl ListPolicyAttachmentsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl ListPolicyAttachmentsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_policy_attachments::ListPolicyAttachments, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::list_policy_attachments::ListPolicyAttachmentsError, + >, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::list_policy_attachments::paginator::ListPolicyAttachmentsPaginator::send) which returns a `Stream`. diff --git a/sdk/clouddirectory/src/operation/list_published_schema_arns/builders.rs b/sdk/clouddirectory/src/operation/list_published_schema_arns/builders.rs index 923d1f7047a5..2c82c1120ca2 100644 --- a/sdk/clouddirectory/src/operation/list_published_schema_arns/builders.rs +++ b/sdk/clouddirectory/src/operation/list_published_schema_arns/builders.rs @@ -20,9 +20,9 @@ impl ListPublishedSchemaArnsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -84,6 +84,22 @@ impl ListPublishedSchemaArnsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_published_schema_arns::ListPublishedSchemaArns, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::list_published_schema_arns::ListPublishedSchemaArnsError, + >, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::list_published_schema_arns::paginator::ListPublishedSchemaArnsPaginator::send) which returns a `Stream`. diff --git a/sdk/clouddirectory/src/operation/list_tags_for_resource/builders.rs b/sdk/clouddirectory/src/operation/list_tags_for_resource/builders.rs index 518eceb4a69d..d7e60ff5699e 100644 --- a/sdk/clouddirectory/src/operation/list_tags_for_resource/builders.rs +++ b/sdk/clouddirectory/src/operation/list_tags_for_resource/builders.rs @@ -19,9 +19,9 @@ impl ListTagsForResourceFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl ListTagsForResourceFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_tags_for_resource::ListTagsForResource, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::list_tags_for_resource::ListTagsForResourceError, + >, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::list_tags_for_resource::paginator::ListTagsForResourcePaginator::send) which returns a `Stream`. diff --git a/sdk/clouddirectory/src/operation/list_typed_link_facet_attributes/builders.rs b/sdk/clouddirectory/src/operation/list_typed_link_facet_attributes/builders.rs index 7991c2b476bd..4064feaba01c 100644 --- a/sdk/clouddirectory/src/operation/list_typed_link_facet_attributes/builders.rs +++ b/sdk/clouddirectory/src/operation/list_typed_link_facet_attributes/builders.rs @@ -19,9 +19,9 @@ impl ListTypedLinkFacetAttributesFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl ListTypedLinkFacetAttributesFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_typed_link_facet_attributes::ListTypedLinkFacetAttributes, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::list_typed_link_facet_attributes::ListTypedLinkFacetAttributesError, + >, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::list_typed_link_facet_attributes::paginator::ListTypedLinkFacetAttributesPaginator::send) which returns a `Stream`. diff --git a/sdk/clouddirectory/src/operation/list_typed_link_facet_names/builders.rs b/sdk/clouddirectory/src/operation/list_typed_link_facet_names/builders.rs index aa23a44da091..36835a5461b1 100644 --- a/sdk/clouddirectory/src/operation/list_typed_link_facet_names/builders.rs +++ b/sdk/clouddirectory/src/operation/list_typed_link_facet_names/builders.rs @@ -19,9 +19,9 @@ impl ListTypedLinkFacetNamesFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl ListTypedLinkFacetNamesFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_typed_link_facet_names::ListTypedLinkFacetNames, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::list_typed_link_facet_names::ListTypedLinkFacetNamesError, + >, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::list_typed_link_facet_names::paginator::ListTypedLinkFacetNamesPaginator::send) which returns a `Stream`. diff --git a/sdk/clouddirectory/src/operation/lookup_policy/builders.rs b/sdk/clouddirectory/src/operation/lookup_policy/builders.rs index 244fdc7065d8..05cec58a15e4 100644 --- a/sdk/clouddirectory/src/operation/lookup_policy/builders.rs +++ b/sdk/clouddirectory/src/operation/lookup_policy/builders.rs @@ -19,9 +19,9 @@ impl LookupPolicyFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl LookupPolicyFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::lookup_policy::LookupPolicy, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::lookup_policy::paginator::LookupPolicyPaginator::send) which returns a `Stream`. diff --git a/sdk/clouddirectory/src/operation/publish_schema/builders.rs b/sdk/clouddirectory/src/operation/publish_schema/builders.rs index b5975cd6fd9c..737e9f28f3b9 100644 --- a/sdk/clouddirectory/src/operation/publish_schema/builders.rs +++ b/sdk/clouddirectory/src/operation/publish_schema/builders.rs @@ -19,9 +19,9 @@ impl PublishSchemaFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl PublishSchemaFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::publish_schema::PublishSchema, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

The Amazon Resource Name (ARN) that is associated with the development schema. For more information, see arns.

pub fn development_schema_arn( mut self, diff --git a/sdk/clouddirectory/src/operation/put_schema_from_json/builders.rs b/sdk/clouddirectory/src/operation/put_schema_from_json/builders.rs index b5b1366f6bdd..3fdd2a2e7a7b 100644 --- a/sdk/clouddirectory/src/operation/put_schema_from_json/builders.rs +++ b/sdk/clouddirectory/src/operation/put_schema_from_json/builders.rs @@ -19,9 +19,9 @@ impl PutSchemaFromJsonFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl PutSchemaFromJsonFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::put_schema_from_json::PutSchemaFromJson, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::put_schema_from_json::PutSchemaFromJsonError, + >, + > { + self.customize_middleware().await + } ///

The ARN of the schema to update.

pub fn schema_arn(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.schema_arn(input.into()); diff --git a/sdk/clouddirectory/src/operation/remove_facet_from_object/builders.rs b/sdk/clouddirectory/src/operation/remove_facet_from_object/builders.rs index 5970bd0d5e8f..53d1406cef6d 100644 --- a/sdk/clouddirectory/src/operation/remove_facet_from_object/builders.rs +++ b/sdk/clouddirectory/src/operation/remove_facet_from_object/builders.rs @@ -19,9 +19,9 @@ impl RemoveFacetFromObjectFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl RemoveFacetFromObjectFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::remove_facet_from_object::RemoveFacetFromObject, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::remove_facet_from_object::RemoveFacetFromObjectError, + >, + > { + self.customize_middleware().await + } ///

The ARN of the directory in which the object resides.

pub fn directory_arn( mut self, diff --git a/sdk/clouddirectory/src/operation/tag_resource/builders.rs b/sdk/clouddirectory/src/operation/tag_resource/builders.rs index b23bdb68c9e9..9c7d6285e45d 100644 --- a/sdk/clouddirectory/src/operation/tag_resource/builders.rs +++ b/sdk/clouddirectory/src/operation/tag_resource/builders.rs @@ -19,9 +19,9 @@ impl TagResourceFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl TagResourceFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::tag_resource::TagResource, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

The Amazon Resource Name (ARN) of the resource. Tagging is only supported for directories.

pub fn resource_arn(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.resource_arn(input.into()); diff --git a/sdk/clouddirectory/src/operation/untag_resource/builders.rs b/sdk/clouddirectory/src/operation/untag_resource/builders.rs index 59a3afb288f0..2d4407d9a993 100644 --- a/sdk/clouddirectory/src/operation/untag_resource/builders.rs +++ b/sdk/clouddirectory/src/operation/untag_resource/builders.rs @@ -19,9 +19,9 @@ impl UntagResourceFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl UntagResourceFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::untag_resource::UntagResource, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

The Amazon Resource Name (ARN) of the resource. Tagging is only supported for directories.

pub fn resource_arn(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.resource_arn(input.into()); diff --git a/sdk/clouddirectory/src/operation/update_facet/builders.rs b/sdk/clouddirectory/src/operation/update_facet/builders.rs index bf40bdec5175..6e1a3d208a17 100644 --- a/sdk/clouddirectory/src/operation/update_facet/builders.rs +++ b/sdk/clouddirectory/src/operation/update_facet/builders.rs @@ -24,9 +24,9 @@ impl UpdateFacetFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -82,6 +82,20 @@ impl UpdateFacetFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::update_facet::UpdateFacet, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

The Amazon Resource Name (ARN) that is associated with the Facet. For more information, see arns.

pub fn schema_arn(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.schema_arn(input.into()); diff --git a/sdk/clouddirectory/src/operation/update_link_attributes/builders.rs b/sdk/clouddirectory/src/operation/update_link_attributes/builders.rs index 4d7993aee231..37f333448ac4 100644 --- a/sdk/clouddirectory/src/operation/update_link_attributes/builders.rs +++ b/sdk/clouddirectory/src/operation/update_link_attributes/builders.rs @@ -19,9 +19,9 @@ impl UpdateLinkAttributesFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl UpdateLinkAttributesFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::update_link_attributes::UpdateLinkAttributes, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::update_link_attributes::UpdateLinkAttributesError, + >, + > { + self.customize_middleware().await + } ///

The Amazon Resource Name (ARN) that is associated with the Directory where the updated typed link resides. For more information, see arns or Typed Links.

pub fn directory_arn( mut self, diff --git a/sdk/clouddirectory/src/operation/update_object_attributes/builders.rs b/sdk/clouddirectory/src/operation/update_object_attributes/builders.rs index 1d603e61389e..4b833ad9e1f8 100644 --- a/sdk/clouddirectory/src/operation/update_object_attributes/builders.rs +++ b/sdk/clouddirectory/src/operation/update_object_attributes/builders.rs @@ -19,9 +19,9 @@ impl UpdateObjectAttributesFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl UpdateObjectAttributesFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::update_object_attributes::UpdateObjectAttributes, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::update_object_attributes::UpdateObjectAttributesError, + >, + > { + self.customize_middleware().await + } ///

The Amazon Resource Name (ARN) that is associated with the Directory where the object resides. For more information, see arns.

pub fn directory_arn( mut self, diff --git a/sdk/clouddirectory/src/operation/update_schema/builders.rs b/sdk/clouddirectory/src/operation/update_schema/builders.rs index 77836d6f022e..1c05365710a9 100644 --- a/sdk/clouddirectory/src/operation/update_schema/builders.rs +++ b/sdk/clouddirectory/src/operation/update_schema/builders.rs @@ -19,9 +19,9 @@ impl UpdateSchemaFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl UpdateSchemaFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::update_schema::UpdateSchema, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

The Amazon Resource Name (ARN) of the development schema. For more information, see arns.

pub fn schema_arn(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.schema_arn(input.into()); diff --git a/sdk/clouddirectory/src/operation/update_typed_link_facet/builders.rs b/sdk/clouddirectory/src/operation/update_typed_link_facet/builders.rs index 2b2115197469..ad7e0e017f02 100644 --- a/sdk/clouddirectory/src/operation/update_typed_link_facet/builders.rs +++ b/sdk/clouddirectory/src/operation/update_typed_link_facet/builders.rs @@ -19,9 +19,9 @@ impl UpdateTypedLinkFacetFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl UpdateTypedLinkFacetFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::update_typed_link_facet::UpdateTypedLinkFacet, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::update_typed_link_facet::UpdateTypedLinkFacetError, + >, + > { + self.customize_middleware().await + } ///

The Amazon Resource Name (ARN) that is associated with the schema. For more information, see arns.

pub fn schema_arn(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.schema_arn(input.into()); diff --git a/sdk/clouddirectory/src/operation/upgrade_applied_schema/builders.rs b/sdk/clouddirectory/src/operation/upgrade_applied_schema/builders.rs index 62ee8f852803..97561cbfcc1d 100644 --- a/sdk/clouddirectory/src/operation/upgrade_applied_schema/builders.rs +++ b/sdk/clouddirectory/src/operation/upgrade_applied_schema/builders.rs @@ -19,9 +19,9 @@ impl UpgradeAppliedSchemaFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl UpgradeAppliedSchemaFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::upgrade_applied_schema::UpgradeAppliedSchema, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::upgrade_applied_schema::UpgradeAppliedSchemaError, + >, + > { + self.customize_middleware().await + } ///

The revision of the published schema to upgrade the directory to.

pub fn published_schema_arn( mut self, diff --git a/sdk/clouddirectory/src/operation/upgrade_published_schema/builders.rs b/sdk/clouddirectory/src/operation/upgrade_published_schema/builders.rs index b196c228c1f7..d162676d8b6d 100644 --- a/sdk/clouddirectory/src/operation/upgrade_published_schema/builders.rs +++ b/sdk/clouddirectory/src/operation/upgrade_published_schema/builders.rs @@ -19,9 +19,9 @@ impl UpgradePublishedSchemaFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl UpgradePublishedSchemaFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::upgrade_published_schema::UpgradePublishedSchema, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::upgrade_published_schema::UpgradePublishedSchemaError, + >, + > { + self.customize_middleware().await + } ///

The ARN of the development schema with the changes used for the upgrade.

pub fn development_schema_arn( mut self, diff --git a/sdk/cloudformation/src/operation/activate_type/builders.rs b/sdk/cloudformation/src/operation/activate_type/builders.rs index 1144d033e059..bd0791953c1e 100644 --- a/sdk/cloudformation/src/operation/activate_type/builders.rs +++ b/sdk/cloudformation/src/operation/activate_type/builders.rs @@ -20,9 +20,9 @@ impl ActivateTypeFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -78,6 +78,20 @@ impl ActivateTypeFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::activate_type::ActivateType, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

The extension type.

///

Conditional: You must specify PublicTypeArn, or TypeName, Type, and PublisherId.

pub fn r#type(mut self, input: crate::types::ThirdPartyType) -> Self { diff --git a/sdk/cloudformation/src/operation/batch_describe_type_configurations/builders.rs b/sdk/cloudformation/src/operation/batch_describe_type_configurations/builders.rs index ba4dacd69fe7..97ea81e168cc 100644 --- a/sdk/cloudformation/src/operation/batch_describe_type_configurations/builders.rs +++ b/sdk/cloudformation/src/operation/batch_describe_type_configurations/builders.rs @@ -20,9 +20,9 @@ impl BatchDescribeTypeConfigurationsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize(self) -> ::std::result::Result< + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware(self) -> ::std::result::Result< crate::client::customize::CustomizableOperation, ::aws_smithy_http::result::SdkError >{ @@ -65,6 +65,15 @@ impl BatchDescribeTypeConfigurationsFluentBuilder { { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize(self) -> ::std::result::Result< + crate::client::customize::CustomizableOperation, + ::aws_smithy_http::result::SdkError + >{ + self.customize_middleware().await + } /// Appends an item to `TypeConfigurationIdentifiers`. /// /// To override the contents of this collection use [`set_type_configuration_identifiers`](Self::set_type_configuration_identifiers). diff --git a/sdk/cloudformation/src/operation/cancel_update_stack/builders.rs b/sdk/cloudformation/src/operation/cancel_update_stack/builders.rs index 1f0b4c9ee10d..d41fef83ae68 100644 --- a/sdk/cloudformation/src/operation/cancel_update_stack/builders.rs +++ b/sdk/cloudformation/src/operation/cancel_update_stack/builders.rs @@ -21,9 +21,9 @@ impl CancelUpdateStackFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -85,6 +85,22 @@ impl CancelUpdateStackFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::cancel_update_stack::CancelUpdateStack, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::cancel_update_stack::CancelUpdateStackError, + >, + > { + self.customize_middleware().await + } ///

The name or the unique stack ID that's associated with the stack.

pub fn stack_name(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.stack_name(input.into()); diff --git a/sdk/cloudformation/src/operation/continue_update_rollback/builders.rs b/sdk/cloudformation/src/operation/continue_update_rollback/builders.rs index abddded355bc..838e190bde00 100644 --- a/sdk/cloudformation/src/operation/continue_update_rollback/builders.rs +++ b/sdk/cloudformation/src/operation/continue_update_rollback/builders.rs @@ -20,9 +20,9 @@ impl ContinueUpdateRollbackFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -84,6 +84,22 @@ impl ContinueUpdateRollbackFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::continue_update_rollback::ContinueUpdateRollback, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::continue_update_rollback::ContinueUpdateRollbackError, + >, + > { + self.customize_middleware().await + } ///

The name or the unique ID of the stack that you want to continue rolling back.

///

Don't specify the name of a nested stack (a stack that was created by using the AWS::CloudFormation::Stack resource). Instead, use this operation on the parent stack (the stack that contains the AWS::CloudFormation::Stack resource).

///
diff --git a/sdk/cloudformation/src/operation/create_change_set/builders.rs b/sdk/cloudformation/src/operation/create_change_set/builders.rs index 76a0527063b6..6f02347fb85f 100644 --- a/sdk/cloudformation/src/operation/create_change_set/builders.rs +++ b/sdk/cloudformation/src/operation/create_change_set/builders.rs @@ -22,9 +22,9 @@ impl CreateChangeSetFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -86,6 +86,22 @@ impl CreateChangeSetFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::create_change_set::CreateChangeSet, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::create_change_set::CreateChangeSetError, + >, + > { + self.customize_middleware().await + } ///

The name or the unique ID of the stack for which you are creating a change set. CloudFormation generates the change set by comparing this stack's information with the information that you submit, such as a modified template or different parameter input values.

pub fn stack_name(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.stack_name(input.into()); diff --git a/sdk/cloudformation/src/operation/create_stack/builders.rs b/sdk/cloudformation/src/operation/create_stack/builders.rs index e72090b41d3c..4fe3cb1a1cb1 100644 --- a/sdk/cloudformation/src/operation/create_stack/builders.rs +++ b/sdk/cloudformation/src/operation/create_stack/builders.rs @@ -19,9 +19,9 @@ impl CreateStackFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl CreateStackFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::create_stack::CreateStack, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

The name that's associated with the stack. The name must be unique in the Region in which you are creating the stack.

///

A stack name can contain only alphanumeric characters (case sensitive) and hyphens. It must start with an alphabetical character and can't be longer than 128 characters.

///
diff --git a/sdk/cloudformation/src/operation/create_stack_instances/builders.rs b/sdk/cloudformation/src/operation/create_stack_instances/builders.rs index 6b59b8262683..439e61f1a2df 100644 --- a/sdk/cloudformation/src/operation/create_stack_instances/builders.rs +++ b/sdk/cloudformation/src/operation/create_stack_instances/builders.rs @@ -19,9 +19,9 @@ impl CreateStackInstancesFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl CreateStackInstancesFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::create_stack_instances::CreateStackInstances, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::create_stack_instances::CreateStackInstancesError, + >, + > { + self.customize_middleware().await + } ///

The name or unique ID of the stack set that you want to create stack instances from.

pub fn stack_set_name( mut self, diff --git a/sdk/cloudformation/src/operation/create_stack_set/builders.rs b/sdk/cloudformation/src/operation/create_stack_set/builders.rs index f0c46f83cae4..a97a64d8f3fb 100644 --- a/sdk/cloudformation/src/operation/create_stack_set/builders.rs +++ b/sdk/cloudformation/src/operation/create_stack_set/builders.rs @@ -19,9 +19,9 @@ impl CreateStackSetFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl CreateStackSetFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::create_stack_set::CreateStackSet, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::create_stack_set::CreateStackSetError, + >, + > { + self.customize_middleware().await + } ///

The name to associate with the stack set. The name must be unique in the Region where you create your stack set.

///

A stack name can contain only alphanumeric characters (case-sensitive) and hyphens. It must start with an alphabetic character and can't be longer than 128 characters.

///
diff --git a/sdk/cloudformation/src/operation/deactivate_type/builders.rs b/sdk/cloudformation/src/operation/deactivate_type/builders.rs index cec0c5ee5387..14ac452adb7c 100644 --- a/sdk/cloudformation/src/operation/deactivate_type/builders.rs +++ b/sdk/cloudformation/src/operation/deactivate_type/builders.rs @@ -20,9 +20,9 @@ impl DeactivateTypeFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -78,6 +78,20 @@ impl DeactivateTypeFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::deactivate_type::DeactivateType, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

The type name of the extension, in this account and region. If you specified a type name alias when enabling the extension, use the type name alias.

///

Conditional: You must specify either Arn, or TypeName and Type.

pub fn type_name(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { diff --git a/sdk/cloudformation/src/operation/delete_change_set/builders.rs b/sdk/cloudformation/src/operation/delete_change_set/builders.rs index 87037e158ea6..2a419d0c3f13 100644 --- a/sdk/cloudformation/src/operation/delete_change_set/builders.rs +++ b/sdk/cloudformation/src/operation/delete_change_set/builders.rs @@ -21,9 +21,9 @@ impl DeleteChangeSetFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -85,6 +85,22 @@ impl DeleteChangeSetFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::delete_change_set::DeleteChangeSet, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::delete_change_set::DeleteChangeSetError, + >, + > { + self.customize_middleware().await + } ///

The name or Amazon Resource Name (ARN) of the change set that you want to delete.

pub fn change_set_name( mut self, diff --git a/sdk/cloudformation/src/operation/delete_stack/builders.rs b/sdk/cloudformation/src/operation/delete_stack/builders.rs index 99f5b43cf666..c04c1b310954 100644 --- a/sdk/cloudformation/src/operation/delete_stack/builders.rs +++ b/sdk/cloudformation/src/operation/delete_stack/builders.rs @@ -19,9 +19,9 @@ impl DeleteStackFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl DeleteStackFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::delete_stack::DeleteStack, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

The name or the unique stack ID that's associated with the stack.

pub fn stack_name(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.stack_name(input.into()); diff --git a/sdk/cloudformation/src/operation/delete_stack_instances/builders.rs b/sdk/cloudformation/src/operation/delete_stack_instances/builders.rs index 3750b69058c9..adaedb62a056 100644 --- a/sdk/cloudformation/src/operation/delete_stack_instances/builders.rs +++ b/sdk/cloudformation/src/operation/delete_stack_instances/builders.rs @@ -19,9 +19,9 @@ impl DeleteStackInstancesFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl DeleteStackInstancesFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::delete_stack_instances::DeleteStackInstances, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::delete_stack_instances::DeleteStackInstancesError, + >, + > { + self.customize_middleware().await + } ///

The name or unique ID of the stack set that you want to delete stack instances for.

pub fn stack_set_name( mut self, diff --git a/sdk/cloudformation/src/operation/delete_stack_set/builders.rs b/sdk/cloudformation/src/operation/delete_stack_set/builders.rs index 8c889126d1b8..ef8922115d6a 100644 --- a/sdk/cloudformation/src/operation/delete_stack_set/builders.rs +++ b/sdk/cloudformation/src/operation/delete_stack_set/builders.rs @@ -19,9 +19,9 @@ impl DeleteStackSetFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl DeleteStackSetFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::delete_stack_set::DeleteStackSet, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::delete_stack_set::DeleteStackSetError, + >, + > { + self.customize_middleware().await + } ///

The name or unique ID of the stack set that you're deleting. You can obtain this value by running ListStackSets.

pub fn stack_set_name( mut self, diff --git a/sdk/cloudformation/src/operation/deregister_type/builders.rs b/sdk/cloudformation/src/operation/deregister_type/builders.rs index c2be2a836d1b..47f39301c967 100644 --- a/sdk/cloudformation/src/operation/deregister_type/builders.rs +++ b/sdk/cloudformation/src/operation/deregister_type/builders.rs @@ -22,9 +22,9 @@ impl DeregisterTypeFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -80,6 +80,20 @@ impl DeregisterTypeFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::deregister_type::DeregisterType, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

The Amazon Resource Name (ARN) of the extension.

///

Conditional: You must specify either TypeName and Type, or Arn.

pub fn arn(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { diff --git a/sdk/cloudformation/src/operation/describe_account_limits/builders.rs b/sdk/cloudformation/src/operation/describe_account_limits/builders.rs index 4bff94eac7f4..1d1450288d0b 100644 --- a/sdk/cloudformation/src/operation/describe_account_limits/builders.rs +++ b/sdk/cloudformation/src/operation/describe_account_limits/builders.rs @@ -19,9 +19,9 @@ impl DescribeAccountLimitsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl DescribeAccountLimitsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::describe_account_limits::DescribeAccountLimits, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::describe_account_limits::DescribeAccountLimitsError, + >, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::describe_account_limits::paginator::DescribeAccountLimitsPaginator::send) which returns a `Stream`. diff --git a/sdk/cloudformation/src/operation/describe_change_set/builders.rs b/sdk/cloudformation/src/operation/describe_change_set/builders.rs index 9ce9933a8dbb..15b5bb93f72c 100644 --- a/sdk/cloudformation/src/operation/describe_change_set/builders.rs +++ b/sdk/cloudformation/src/operation/describe_change_set/builders.rs @@ -19,9 +19,9 @@ impl DescribeChangeSetFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl DescribeChangeSetFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::describe_change_set::DescribeChangeSet, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::describe_change_set::DescribeChangeSetError, + >, + > { + self.customize_middleware().await + } ///

The name or Amazon Resource Name (ARN) of the change set that you want to describe.

pub fn change_set_name( mut self, diff --git a/sdk/cloudformation/src/operation/describe_change_set_hooks/builders.rs b/sdk/cloudformation/src/operation/describe_change_set_hooks/builders.rs index 404172e7cfcf..a5650c5efc7d 100644 --- a/sdk/cloudformation/src/operation/describe_change_set_hooks/builders.rs +++ b/sdk/cloudformation/src/operation/describe_change_set_hooks/builders.rs @@ -20,9 +20,9 @@ impl DescribeChangeSetHooksFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -84,6 +84,22 @@ impl DescribeChangeSetHooksFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::describe_change_set_hooks::DescribeChangeSetHooks, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::describe_change_set_hooks::DescribeChangeSetHooksError, + >, + > { + self.customize_middleware().await + } ///

The name or Amazon Resource Name (ARN) of the change set that you want to describe.

pub fn change_set_name( mut self, diff --git a/sdk/cloudformation/src/operation/describe_publisher/builders.rs b/sdk/cloudformation/src/operation/describe_publisher/builders.rs index d0d22d785415..aebfdbe9723c 100644 --- a/sdk/cloudformation/src/operation/describe_publisher/builders.rs +++ b/sdk/cloudformation/src/operation/describe_publisher/builders.rs @@ -25,9 +25,9 @@ impl DescribePublisherFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -89,6 +89,22 @@ impl DescribePublisherFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::describe_publisher::DescribePublisher, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::describe_publisher::DescribePublisherError, + >, + > { + self.customize_middleware().await + } ///

The ID of the extension publisher.

///

If you don't supply a PublisherId, and you have registered as an extension publisher, DescribePublisher returns information about your own publisher account.

pub fn publisher_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { diff --git a/sdk/cloudformation/src/operation/describe_stack_drift_detection_status/builders.rs b/sdk/cloudformation/src/operation/describe_stack_drift_detection_status/builders.rs index d173bd583d40..b9acbda1d32c 100644 --- a/sdk/cloudformation/src/operation/describe_stack_drift_detection_status/builders.rs +++ b/sdk/cloudformation/src/operation/describe_stack_drift_detection_status/builders.rs @@ -20,9 +20,9 @@ impl DescribeStackDriftDetectionStatusFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize(self) -> ::std::result::Result< + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware(self) -> ::std::result::Result< crate::client::customize::CustomizableOperation, ::aws_smithy_http::result::SdkError >{ @@ -65,6 +65,15 @@ impl DescribeStackDriftDetectionStatusFluentBuilder { { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize(self) -> ::std::result::Result< + crate::client::customize::CustomizableOperation, + ::aws_smithy_http::result::SdkError + >{ + self.customize_middleware().await + } ///

The ID of the drift detection results of this operation.

///

CloudFormation generates new results, with a new drift detection ID, each time this operation is run. However, the number of drift results CloudFormation retains for any given stack, and for how long, may vary.

pub fn stack_drift_detection_id( diff --git a/sdk/cloudformation/src/operation/describe_stack_events/builders.rs b/sdk/cloudformation/src/operation/describe_stack_events/builders.rs index 345673e17c0f..d015de44994c 100644 --- a/sdk/cloudformation/src/operation/describe_stack_events/builders.rs +++ b/sdk/cloudformation/src/operation/describe_stack_events/builders.rs @@ -21,9 +21,9 @@ impl DescribeStackEventsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -85,6 +85,22 @@ impl DescribeStackEventsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::describe_stack_events::DescribeStackEvents, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::describe_stack_events::DescribeStackEventsError, + >, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::describe_stack_events::paginator::DescribeStackEventsPaginator::send) which returns a `Stream`. diff --git a/sdk/cloudformation/src/operation/describe_stack_instance/builders.rs b/sdk/cloudformation/src/operation/describe_stack_instance/builders.rs index 89da7e289a7e..43a2dde99282 100644 --- a/sdk/cloudformation/src/operation/describe_stack_instance/builders.rs +++ b/sdk/cloudformation/src/operation/describe_stack_instance/builders.rs @@ -20,9 +20,9 @@ impl DescribeStackInstanceFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -84,6 +84,22 @@ impl DescribeStackInstanceFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::describe_stack_instance::DescribeStackInstance, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::describe_stack_instance::DescribeStackInstanceError, + >, + > { + self.customize_middleware().await + } ///

The name or the unique stack ID of the stack set that you want to get stack instance information for.

pub fn stack_set_name( mut self, diff --git a/sdk/cloudformation/src/operation/describe_stack_resource/builders.rs b/sdk/cloudformation/src/operation/describe_stack_resource/builders.rs index 4c9efc8c7480..0bd882b5ebaa 100644 --- a/sdk/cloudformation/src/operation/describe_stack_resource/builders.rs +++ b/sdk/cloudformation/src/operation/describe_stack_resource/builders.rs @@ -20,9 +20,9 @@ impl DescribeStackResourceFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -84,6 +84,22 @@ impl DescribeStackResourceFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::describe_stack_resource::DescribeStackResource, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::describe_stack_resource::DescribeStackResourceError, + >, + > { + self.customize_middleware().await + } ///

The name or the unique stack ID that's associated with the stack, which aren't always interchangeable:

///
    ///
  • Running stacks: You can specify either the stack's name or its unique stack ID.

  • diff --git a/sdk/cloudformation/src/operation/describe_stack_resource_drifts/builders.rs b/sdk/cloudformation/src/operation/describe_stack_resource_drifts/builders.rs index 92259eb1aa75..b1a144d7eebf 100644 --- a/sdk/cloudformation/src/operation/describe_stack_resource_drifts/builders.rs +++ b/sdk/cloudformation/src/operation/describe_stack_resource_drifts/builders.rs @@ -21,9 +21,9 @@ impl DescribeStackResourceDriftsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -85,6 +85,22 @@ impl DescribeStackResourceDriftsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::describe_stack_resource_drifts::DescribeStackResourceDrifts, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::describe_stack_resource_drifts::DescribeStackResourceDriftsError, + >, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::describe_stack_resource_drifts::paginator::DescribeStackResourceDriftsPaginator::send) which returns a `Stream`. diff --git a/sdk/cloudformation/src/operation/describe_stack_resources/builders.rs b/sdk/cloudformation/src/operation/describe_stack_resources/builders.rs index 0e09f8b85d74..7e345409cadd 100644 --- a/sdk/cloudformation/src/operation/describe_stack_resources/builders.rs +++ b/sdk/cloudformation/src/operation/describe_stack_resources/builders.rs @@ -25,9 +25,9 @@ impl DescribeStackResourcesFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -89,6 +89,22 @@ impl DescribeStackResourcesFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::describe_stack_resources::DescribeStackResources, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::describe_stack_resources::DescribeStackResourcesError, + >, + > { + self.customize_middleware().await + } ///

    The name or the unique stack ID that is associated with the stack, which aren't always interchangeable:

    ///
      ///
    • Running stacks: You can specify either the stack's name or its unique stack ID.

    • diff --git a/sdk/cloudformation/src/operation/describe_stack_set/builders.rs b/sdk/cloudformation/src/operation/describe_stack_set/builders.rs index 04f703ccbe79..5f2f69869d0c 100644 --- a/sdk/cloudformation/src/operation/describe_stack_set/builders.rs +++ b/sdk/cloudformation/src/operation/describe_stack_set/builders.rs @@ -19,9 +19,9 @@ impl DescribeStackSetFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl DescribeStackSetFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::describe_stack_set::DescribeStackSet, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::describe_stack_set::DescribeStackSetError, + >, + > { + self.customize_middleware().await + } ///

      The name or unique ID of the stack set whose description you want.

      pub fn stack_set_name( mut self, diff --git a/sdk/cloudformation/src/operation/describe_stack_set_operation/builders.rs b/sdk/cloudformation/src/operation/describe_stack_set_operation/builders.rs index 42b770701c81..22966e162154 100644 --- a/sdk/cloudformation/src/operation/describe_stack_set_operation/builders.rs +++ b/sdk/cloudformation/src/operation/describe_stack_set_operation/builders.rs @@ -19,9 +19,9 @@ impl DescribeStackSetOperationFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl DescribeStackSetOperationFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::describe_stack_set_operation::DescribeStackSetOperation, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::describe_stack_set_operation::DescribeStackSetOperationError, + >, + > { + self.customize_middleware().await + } ///

      The name or the unique stack ID of the stack set for the stack operation.

      pub fn stack_set_name( mut self, diff --git a/sdk/cloudformation/src/operation/describe_stacks/builders.rs b/sdk/cloudformation/src/operation/describe_stacks/builders.rs index a4b34ed71396..90c74e11d572 100644 --- a/sdk/cloudformation/src/operation/describe_stacks/builders.rs +++ b/sdk/cloudformation/src/operation/describe_stacks/builders.rs @@ -21,9 +21,9 @@ impl DescribeStacksFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -79,6 +79,20 @@ impl DescribeStacksFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::describe_stacks::DescribeStacks, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::describe_stacks::paginator::DescribeStacksPaginator::send) which returns a `Stream`. diff --git a/sdk/cloudformation/src/operation/describe_type/builders.rs b/sdk/cloudformation/src/operation/describe_type/builders.rs index 0c9ad30c156e..25f5e9923350 100644 --- a/sdk/cloudformation/src/operation/describe_type/builders.rs +++ b/sdk/cloudformation/src/operation/describe_type/builders.rs @@ -20,9 +20,9 @@ impl DescribeTypeFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -78,6 +78,20 @@ impl DescribeTypeFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::describe_type::DescribeType, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

      The kind of extension.

      ///

      Conditional: You must specify either TypeName and Type, or Arn.

      pub fn r#type(mut self, input: crate::types::RegistryType) -> Self { diff --git a/sdk/cloudformation/src/operation/describe_type_registration/builders.rs b/sdk/cloudformation/src/operation/describe_type_registration/builders.rs index c49a67f98203..55279dcd9f99 100644 --- a/sdk/cloudformation/src/operation/describe_type_registration/builders.rs +++ b/sdk/cloudformation/src/operation/describe_type_registration/builders.rs @@ -21,9 +21,9 @@ impl DescribeTypeRegistrationFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -85,6 +85,22 @@ impl DescribeTypeRegistrationFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::describe_type_registration::DescribeTypeRegistration, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::describe_type_registration::DescribeTypeRegistrationError, + >, + > { + self.customize_middleware().await + } ///

      The identifier for this registration request.

      ///

      This registration token is generated by CloudFormation when you initiate a registration request using RegisterType .

      pub fn registration_token( diff --git a/sdk/cloudformation/src/operation/detect_stack_drift/builders.rs b/sdk/cloudformation/src/operation/detect_stack_drift/builders.rs index b581d1c20e41..bf4eb4a0659d 100644 --- a/sdk/cloudformation/src/operation/detect_stack_drift/builders.rs +++ b/sdk/cloudformation/src/operation/detect_stack_drift/builders.rs @@ -23,9 +23,9 @@ impl DetectStackDriftFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -87,6 +87,22 @@ impl DetectStackDriftFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::detect_stack_drift::DetectStackDrift, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::detect_stack_drift::DetectStackDriftError, + >, + > { + self.customize_middleware().await + } ///

      The name of the stack for which you want to detect drift.

      pub fn stack_name(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.stack_name(input.into()); diff --git a/sdk/cloudformation/src/operation/detect_stack_resource_drift/builders.rs b/sdk/cloudformation/src/operation/detect_stack_resource_drift/builders.rs index 8de9e5512e0d..962b3fc9df46 100644 --- a/sdk/cloudformation/src/operation/detect_stack_resource_drift/builders.rs +++ b/sdk/cloudformation/src/operation/detect_stack_resource_drift/builders.rs @@ -21,9 +21,9 @@ impl DetectStackResourceDriftFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -85,6 +85,22 @@ impl DetectStackResourceDriftFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::detect_stack_resource_drift::DetectStackResourceDrift, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::detect_stack_resource_drift::DetectStackResourceDriftError, + >, + > { + self.customize_middleware().await + } ///

      The name of the stack to which the resource belongs.

      pub fn stack_name(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.stack_name(input.into()); diff --git a/sdk/cloudformation/src/operation/detect_stack_set_drift/builders.rs b/sdk/cloudformation/src/operation/detect_stack_set_drift/builders.rs index 8055c2280784..39105e487c49 100644 --- a/sdk/cloudformation/src/operation/detect_stack_set_drift/builders.rs +++ b/sdk/cloudformation/src/operation/detect_stack_set_drift/builders.rs @@ -29,9 +29,9 @@ impl DetectStackSetDriftFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -93,6 +93,22 @@ impl DetectStackSetDriftFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::detect_stack_set_drift::DetectStackSetDrift, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::detect_stack_set_drift::DetectStackSetDriftError, + >, + > { + self.customize_middleware().await + } ///

      The name of the stack set on which to perform the drift detection operation.

      pub fn stack_set_name( mut self, diff --git a/sdk/cloudformation/src/operation/estimate_template_cost/builders.rs b/sdk/cloudformation/src/operation/estimate_template_cost/builders.rs index ea9243d1a575..2276fda4a457 100644 --- a/sdk/cloudformation/src/operation/estimate_template_cost/builders.rs +++ b/sdk/cloudformation/src/operation/estimate_template_cost/builders.rs @@ -19,9 +19,9 @@ impl EstimateTemplateCostFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl EstimateTemplateCostFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::estimate_template_cost::EstimateTemplateCost, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::estimate_template_cost::EstimateTemplateCostError, + >, + > { + self.customize_middleware().await + } ///

      Structure containing the template body with a minimum length of 1 byte and a maximum length of 51,200 bytes. (For more information, go to Template Anatomy in the CloudFormation User Guide.)

      ///

      Conditional: You must pass TemplateBody or TemplateURL. If both are passed, only TemplateBody is used.

      pub fn template_body( diff --git a/sdk/cloudformation/src/operation/execute_change_set/builders.rs b/sdk/cloudformation/src/operation/execute_change_set/builders.rs index 21afac5af7a1..5e6da67ef5fa 100644 --- a/sdk/cloudformation/src/operation/execute_change_set/builders.rs +++ b/sdk/cloudformation/src/operation/execute_change_set/builders.rs @@ -22,9 +22,9 @@ impl ExecuteChangeSetFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -86,6 +86,22 @@ impl ExecuteChangeSetFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::execute_change_set::ExecuteChangeSet, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::execute_change_set::ExecuteChangeSetError, + >, + > { + self.customize_middleware().await + } ///

      The name or Amazon Resource Name (ARN) of the change set that you want use to update the specified stack.

      pub fn change_set_name( mut self, diff --git a/sdk/cloudformation/src/operation/get_stack_policy/builders.rs b/sdk/cloudformation/src/operation/get_stack_policy/builders.rs index 5f7342b39f3b..ed822670ee53 100644 --- a/sdk/cloudformation/src/operation/get_stack_policy/builders.rs +++ b/sdk/cloudformation/src/operation/get_stack_policy/builders.rs @@ -19,9 +19,9 @@ impl GetStackPolicyFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl GetStackPolicyFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::get_stack_policy::GetStackPolicy, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::get_stack_policy::GetStackPolicyError, + >, + > { + self.customize_middleware().await + } ///

      The name or unique stack ID that's associated with the stack whose policy you want to get.

      pub fn stack_name(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.stack_name(input.into()); diff --git a/sdk/cloudformation/src/operation/get_template/builders.rs b/sdk/cloudformation/src/operation/get_template/builders.rs index 815060963b9a..2ac1d3b369d2 100644 --- a/sdk/cloudformation/src/operation/get_template/builders.rs +++ b/sdk/cloudformation/src/operation/get_template/builders.rs @@ -22,9 +22,9 @@ impl GetTemplateFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -80,6 +80,20 @@ impl GetTemplateFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::get_template::GetTemplate, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

      The name or the unique stack ID that's associated with the stack, which aren't always interchangeable:

      ///
        ///
      • Running stacks: You can specify either the stack's name or its unique stack ID.

      • diff --git a/sdk/cloudformation/src/operation/get_template_summary/builders.rs b/sdk/cloudformation/src/operation/get_template_summary/builders.rs index 6eb7af2fe827..cab27080c318 100644 --- a/sdk/cloudformation/src/operation/get_template_summary/builders.rs +++ b/sdk/cloudformation/src/operation/get_template_summary/builders.rs @@ -21,9 +21,9 @@ impl GetTemplateSummaryFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -85,6 +85,22 @@ impl GetTemplateSummaryFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::get_template_summary::GetTemplateSummary, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::get_template_summary::GetTemplateSummaryError, + >, + > { + self.customize_middleware().await + } ///

        Structure containing the template body with a minimum length of 1 byte and a maximum length of 51,200 bytes. For more information about templates, see Template anatomy in the CloudFormation User Guide.

        ///

        Conditional: You must specify only one of the following parameters: StackName, StackSetName, TemplateBody, or TemplateURL.

        pub fn template_body( diff --git a/sdk/cloudformation/src/operation/import_stacks_to_stack_set/builders.rs b/sdk/cloudformation/src/operation/import_stacks_to_stack_set/builders.rs index 12cac68b9d08..939113a256fe 100644 --- a/sdk/cloudformation/src/operation/import_stacks_to_stack_set/builders.rs +++ b/sdk/cloudformation/src/operation/import_stacks_to_stack_set/builders.rs @@ -22,9 +22,9 @@ impl ImportStacksToStackSetFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -86,6 +86,22 @@ impl ImportStacksToStackSetFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::import_stacks_to_stack_set::ImportStacksToStackSet, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::import_stacks_to_stack_set::ImportStacksToStackSetError, + >, + > { + self.customize_middleware().await + } ///

        The name of the stack set. The name must be unique in the Region where you create your stack set.

        pub fn stack_set_name( mut self, diff --git a/sdk/cloudformation/src/operation/list_change_sets/builders.rs b/sdk/cloudformation/src/operation/list_change_sets/builders.rs index 9cde6c2f2c1c..8f05eb34d0ec 100644 --- a/sdk/cloudformation/src/operation/list_change_sets/builders.rs +++ b/sdk/cloudformation/src/operation/list_change_sets/builders.rs @@ -19,9 +19,9 @@ impl ListChangeSetsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl ListChangeSetsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_change_sets::ListChangeSets, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::list_change_sets::ListChangeSetsError, + >, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::list_change_sets::paginator::ListChangeSetsPaginator::send) which returns a `Stream`. diff --git a/sdk/cloudformation/src/operation/list_exports/builders.rs b/sdk/cloudformation/src/operation/list_exports/builders.rs index 9864147e3055..e617d5fc6b46 100644 --- a/sdk/cloudformation/src/operation/list_exports/builders.rs +++ b/sdk/cloudformation/src/operation/list_exports/builders.rs @@ -20,9 +20,9 @@ impl ListExportsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -78,6 +78,20 @@ impl ListExportsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_exports::ListExports, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::list_exports::paginator::ListExportsPaginator::send) which returns a `Stream`. diff --git a/sdk/cloudformation/src/operation/list_imports/builders.rs b/sdk/cloudformation/src/operation/list_imports/builders.rs index ab3436c77cc8..30eebeb763e6 100644 --- a/sdk/cloudformation/src/operation/list_imports/builders.rs +++ b/sdk/cloudformation/src/operation/list_imports/builders.rs @@ -20,9 +20,9 @@ impl ListImportsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -78,6 +78,20 @@ impl ListImportsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_imports::ListImports, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::list_imports::paginator::ListImportsPaginator::send) which returns a `Stream`. diff --git a/sdk/cloudformation/src/operation/list_stack_instances/builders.rs b/sdk/cloudformation/src/operation/list_stack_instances/builders.rs index 9ece2660e61c..3660491eebd9 100644 --- a/sdk/cloudformation/src/operation/list_stack_instances/builders.rs +++ b/sdk/cloudformation/src/operation/list_stack_instances/builders.rs @@ -19,9 +19,9 @@ impl ListStackInstancesFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl ListStackInstancesFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_stack_instances::ListStackInstances, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::list_stack_instances::ListStackInstancesError, + >, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::list_stack_instances::paginator::ListStackInstancesPaginator::send) which returns a `Stream`. diff --git a/sdk/cloudformation/src/operation/list_stack_resources/builders.rs b/sdk/cloudformation/src/operation/list_stack_resources/builders.rs index e4a193e66281..de107cca8774 100644 --- a/sdk/cloudformation/src/operation/list_stack_resources/builders.rs +++ b/sdk/cloudformation/src/operation/list_stack_resources/builders.rs @@ -20,9 +20,9 @@ impl ListStackResourcesFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -84,6 +84,22 @@ impl ListStackResourcesFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_stack_resources::ListStackResources, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::list_stack_resources::ListStackResourcesError, + >, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::list_stack_resources::paginator::ListStackResourcesPaginator::send) which returns a `Stream`. diff --git a/sdk/cloudformation/src/operation/list_stack_set_operation_results/builders.rs b/sdk/cloudformation/src/operation/list_stack_set_operation_results/builders.rs index 76706dda479f..aa2cea2821b5 100644 --- a/sdk/cloudformation/src/operation/list_stack_set_operation_results/builders.rs +++ b/sdk/cloudformation/src/operation/list_stack_set_operation_results/builders.rs @@ -19,9 +19,9 @@ impl ListStackSetOperationResultsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl ListStackSetOperationResultsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_stack_set_operation_results::ListStackSetOperationResults, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::list_stack_set_operation_results::ListStackSetOperationResultsError, + >, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::list_stack_set_operation_results::paginator::ListStackSetOperationResultsPaginator::send) which returns a `Stream`. diff --git a/sdk/cloudformation/src/operation/list_stack_set_operations/builders.rs b/sdk/cloudformation/src/operation/list_stack_set_operations/builders.rs index e942155498e7..2a34fb6ec0ee 100644 --- a/sdk/cloudformation/src/operation/list_stack_set_operations/builders.rs +++ b/sdk/cloudformation/src/operation/list_stack_set_operations/builders.rs @@ -20,9 +20,9 @@ impl ListStackSetOperationsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -84,6 +84,22 @@ impl ListStackSetOperationsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_stack_set_operations::ListStackSetOperations, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::list_stack_set_operations::ListStackSetOperationsError, + >, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::list_stack_set_operations::paginator::ListStackSetOperationsPaginator::send) which returns a `Stream`. diff --git a/sdk/cloudformation/src/operation/list_stack_sets/builders.rs b/sdk/cloudformation/src/operation/list_stack_sets/builders.rs index b30986cab557..f9586b800860 100644 --- a/sdk/cloudformation/src/operation/list_stack_sets/builders.rs +++ b/sdk/cloudformation/src/operation/list_stack_sets/builders.rs @@ -24,9 +24,9 @@ impl ListStackSetsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -82,6 +82,20 @@ impl ListStackSetsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_stack_sets::ListStackSets, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::list_stack_sets::paginator::ListStackSetsPaginator::send) which returns a `Stream`. diff --git a/sdk/cloudformation/src/operation/list_stacks/builders.rs b/sdk/cloudformation/src/operation/list_stacks/builders.rs index 15720207c39a..e68321d2f8f6 100644 --- a/sdk/cloudformation/src/operation/list_stacks/builders.rs +++ b/sdk/cloudformation/src/operation/list_stacks/builders.rs @@ -19,9 +19,9 @@ impl ListStacksFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl ListStacksFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_stacks::ListStacks, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::list_stacks::paginator::ListStacksPaginator::send) which returns a `Stream`. diff --git a/sdk/cloudformation/src/operation/list_type_registrations/builders.rs b/sdk/cloudformation/src/operation/list_type_registrations/builders.rs index 84c9cc673e69..723ddf69a88c 100644 --- a/sdk/cloudformation/src/operation/list_type_registrations/builders.rs +++ b/sdk/cloudformation/src/operation/list_type_registrations/builders.rs @@ -19,9 +19,9 @@ impl ListTypeRegistrationsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl ListTypeRegistrationsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_type_registrations::ListTypeRegistrations, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::list_type_registrations::ListTypeRegistrationsError, + >, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::list_type_registrations::paginator::ListTypeRegistrationsPaginator::send) which returns a `Stream`. diff --git a/sdk/cloudformation/src/operation/list_type_versions/builders.rs b/sdk/cloudformation/src/operation/list_type_versions/builders.rs index d3b6184be2d8..7255f409072f 100644 --- a/sdk/cloudformation/src/operation/list_type_versions/builders.rs +++ b/sdk/cloudformation/src/operation/list_type_versions/builders.rs @@ -19,9 +19,9 @@ impl ListTypeVersionsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl ListTypeVersionsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_type_versions::ListTypeVersions, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::list_type_versions::ListTypeVersionsError, + >, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::list_type_versions::paginator::ListTypeVersionsPaginator::send) which returns a `Stream`. diff --git a/sdk/cloudformation/src/operation/list_types/builders.rs b/sdk/cloudformation/src/operation/list_types/builders.rs index 25dc902bb13a..2ee2f9315b71 100644 --- a/sdk/cloudformation/src/operation/list_types/builders.rs +++ b/sdk/cloudformation/src/operation/list_types/builders.rs @@ -19,9 +19,9 @@ impl ListTypesFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl ListTypesFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_types::ListTypes, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::list_types::paginator::ListTypesPaginator::send) which returns a `Stream`. diff --git a/sdk/cloudformation/src/operation/publish_type/builders.rs b/sdk/cloudformation/src/operation/publish_type/builders.rs index ef6561f6a2a8..3bb790aa1fc2 100644 --- a/sdk/cloudformation/src/operation/publish_type/builders.rs +++ b/sdk/cloudformation/src/operation/publish_type/builders.rs @@ -20,9 +20,9 @@ impl PublishTypeFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -78,6 +78,20 @@ impl PublishTypeFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::publish_type::PublishType, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

        The type of the extension.

        ///

        Conditional: You must specify Arn, or TypeName and Type.

        pub fn r#type(mut self, input: crate::types::ThirdPartyType) -> Self { diff --git a/sdk/cloudformation/src/operation/record_handler_progress/builders.rs b/sdk/cloudformation/src/operation/record_handler_progress/builders.rs index a40003feaed1..5cbb1e0ba7ba 100644 --- a/sdk/cloudformation/src/operation/record_handler_progress/builders.rs +++ b/sdk/cloudformation/src/operation/record_handler_progress/builders.rs @@ -20,9 +20,9 @@ impl RecordHandlerProgressFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -84,6 +84,22 @@ impl RecordHandlerProgressFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::record_handler_progress::RecordHandlerProgress, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::record_handler_progress::RecordHandlerProgressError, + >, + > { + self.customize_middleware().await + } ///

        Reserved for use by the CloudFormation CLI.

        pub fn bearer_token(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.bearer_token(input.into()); diff --git a/sdk/cloudformation/src/operation/register_publisher/builders.rs b/sdk/cloudformation/src/operation/register_publisher/builders.rs index 2752a575d992..4e0ea9c8599f 100644 --- a/sdk/cloudformation/src/operation/register_publisher/builders.rs +++ b/sdk/cloudformation/src/operation/register_publisher/builders.rs @@ -21,9 +21,9 @@ impl RegisterPublisherFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -85,6 +85,22 @@ impl RegisterPublisherFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::register_publisher::RegisterPublisher, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::register_publisher::RegisterPublisherError, + >, + > { + self.customize_middleware().await + } ///

        Whether you accept the Terms and Conditions for publishing extensions in the CloudFormation registry. You must accept the terms and conditions in order to register to publish public extensions to the CloudFormation registry.

        ///

        The default is false.

        pub fn accept_terms_and_conditions(mut self, input: bool) -> Self { diff --git a/sdk/cloudformation/src/operation/register_type/builders.rs b/sdk/cloudformation/src/operation/register_type/builders.rs index 66a58add8892..b745fb9ed775 100644 --- a/sdk/cloudformation/src/operation/register_type/builders.rs +++ b/sdk/cloudformation/src/operation/register_type/builders.rs @@ -28,9 +28,9 @@ impl RegisterTypeFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -86,6 +86,20 @@ impl RegisterTypeFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::register_type::RegisterType, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

        The kind of extension.

        pub fn r#type(mut self, input: crate::types::RegistryType) -> Self { self.inner = self.inner.r#type(input); diff --git a/sdk/cloudformation/src/operation/rollback_stack/builders.rs b/sdk/cloudformation/src/operation/rollback_stack/builders.rs index 73cf68762214..58e0a45150c2 100644 --- a/sdk/cloudformation/src/operation/rollback_stack/builders.rs +++ b/sdk/cloudformation/src/operation/rollback_stack/builders.rs @@ -28,9 +28,9 @@ impl RollbackStackFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -86,6 +86,20 @@ impl RollbackStackFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::rollback_stack::RollbackStack, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

        The name that's associated with the stack.

        pub fn stack_name(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.stack_name(input.into()); diff --git a/sdk/cloudformation/src/operation/set_stack_policy/builders.rs b/sdk/cloudformation/src/operation/set_stack_policy/builders.rs index 21646491640e..665cf25a27ca 100644 --- a/sdk/cloudformation/src/operation/set_stack_policy/builders.rs +++ b/sdk/cloudformation/src/operation/set_stack_policy/builders.rs @@ -19,9 +19,9 @@ impl SetStackPolicyFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl SetStackPolicyFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::set_stack_policy::SetStackPolicy, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::set_stack_policy::SetStackPolicyError, + >, + > { + self.customize_middleware().await + } ///

        The name or unique stack ID that you want to associate a policy with.

        pub fn stack_name(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.stack_name(input.into()); diff --git a/sdk/cloudformation/src/operation/set_type_configuration/builders.rs b/sdk/cloudformation/src/operation/set_type_configuration/builders.rs index 472f10f6fc0f..c50becc9997a 100644 --- a/sdk/cloudformation/src/operation/set_type_configuration/builders.rs +++ b/sdk/cloudformation/src/operation/set_type_configuration/builders.rs @@ -22,9 +22,9 @@ impl SetTypeConfigurationFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -86,6 +86,22 @@ impl SetTypeConfigurationFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::set_type_configuration::SetTypeConfiguration, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::set_type_configuration::SetTypeConfigurationError, + >, + > { + self.customize_middleware().await + } ///

        The Amazon Resource Name (ARN) for the extension, in this account and region.

        ///

        For public extensions, this will be the ARN assigned when you activate the type in this account and region. For private extensions, this will be the ARN assigned when you register the type in this account and region.

        ///

        Do not include the extension versions suffix at the end of the ARN. You can set the configuration for an extension, but not for a specific extension version.

        diff --git a/sdk/cloudformation/src/operation/set_type_default_version/builders.rs b/sdk/cloudformation/src/operation/set_type_default_version/builders.rs index 99b5323bbdba..39d1cc51c22d 100644 --- a/sdk/cloudformation/src/operation/set_type_default_version/builders.rs +++ b/sdk/cloudformation/src/operation/set_type_default_version/builders.rs @@ -19,9 +19,9 @@ impl SetTypeDefaultVersionFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl SetTypeDefaultVersionFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::set_type_default_version::SetTypeDefaultVersion, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::set_type_default_version::SetTypeDefaultVersionError, + >, + > { + self.customize_middleware().await + } ///

        The Amazon Resource Name (ARN) of the extension for which you want version summary information.

        ///

        Conditional: You must specify either TypeName and Type, or Arn.

        pub fn arn(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { diff --git a/sdk/cloudformation/src/operation/signal_resource/builders.rs b/sdk/cloudformation/src/operation/signal_resource/builders.rs index 77e6fac4815b..357dc3b01444 100644 --- a/sdk/cloudformation/src/operation/signal_resource/builders.rs +++ b/sdk/cloudformation/src/operation/signal_resource/builders.rs @@ -19,9 +19,9 @@ impl SignalResourceFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl SignalResourceFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::signal_resource::SignalResource, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

        The stack name or unique stack ID that includes the resource that you want to signal.

        pub fn stack_name(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.stack_name(input.into()); diff --git a/sdk/cloudformation/src/operation/stop_stack_set_operation/builders.rs b/sdk/cloudformation/src/operation/stop_stack_set_operation/builders.rs index 47d2c3772ac3..c7e01679ce01 100644 --- a/sdk/cloudformation/src/operation/stop_stack_set_operation/builders.rs +++ b/sdk/cloudformation/src/operation/stop_stack_set_operation/builders.rs @@ -19,9 +19,9 @@ impl StopStackSetOperationFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl StopStackSetOperationFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::stop_stack_set_operation::StopStackSetOperation, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::stop_stack_set_operation::StopStackSetOperationError, + >, + > { + self.customize_middleware().await + } ///

        The name or unique ID of the stack set that you want to stop the operation for.

        pub fn stack_set_name( mut self, diff --git a/sdk/cloudformation/src/operation/test_type/builders.rs b/sdk/cloudformation/src/operation/test_type/builders.rs index d910510031db..23c10c578041 100644 --- a/sdk/cloudformation/src/operation/test_type/builders.rs +++ b/sdk/cloudformation/src/operation/test_type/builders.rs @@ -28,9 +28,9 @@ impl TestTypeFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -86,6 +86,20 @@ impl TestTypeFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::test_type::TestType, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

        The Amazon Resource Name (ARN) of the extension.

        ///

        Conditional: You must specify Arn, or TypeName and Type.

        pub fn arn(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { diff --git a/sdk/cloudformation/src/operation/update_stack/builders.rs b/sdk/cloudformation/src/operation/update_stack/builders.rs index d85b73df1efb..572b40d4ad0f 100644 --- a/sdk/cloudformation/src/operation/update_stack/builders.rs +++ b/sdk/cloudformation/src/operation/update_stack/builders.rs @@ -21,9 +21,9 @@ impl UpdateStackFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -79,6 +79,20 @@ impl UpdateStackFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::update_stack::UpdateStack, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

        The name or unique stack ID of the stack to update.

        pub fn stack_name(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.stack_name(input.into()); diff --git a/sdk/cloudformation/src/operation/update_stack_instances/builders.rs b/sdk/cloudformation/src/operation/update_stack_instances/builders.rs index a2c42db69b7f..c783b55346fc 100644 --- a/sdk/cloudformation/src/operation/update_stack_instances/builders.rs +++ b/sdk/cloudformation/src/operation/update_stack_instances/builders.rs @@ -22,9 +22,9 @@ impl UpdateStackInstancesFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -86,6 +86,22 @@ impl UpdateStackInstancesFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::update_stack_instances::UpdateStackInstances, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::update_stack_instances::UpdateStackInstancesError, + >, + > { + self.customize_middleware().await + } ///

        The name or unique ID of the stack set associated with the stack instances.

        pub fn stack_set_name( mut self, diff --git a/sdk/cloudformation/src/operation/update_stack_set/builders.rs b/sdk/cloudformation/src/operation/update_stack_set/builders.rs index 75f8256900c5..45ee6219c55c 100644 --- a/sdk/cloudformation/src/operation/update_stack_set/builders.rs +++ b/sdk/cloudformation/src/operation/update_stack_set/builders.rs @@ -20,9 +20,9 @@ impl UpdateStackSetFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -84,6 +84,22 @@ impl UpdateStackSetFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::update_stack_set::UpdateStackSet, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::update_stack_set::UpdateStackSetError, + >, + > { + self.customize_middleware().await + } ///

        The name or unique ID of the stack set that you want to update.

        pub fn stack_set_name( mut self, diff --git a/sdk/cloudformation/src/operation/update_termination_protection/builders.rs b/sdk/cloudformation/src/operation/update_termination_protection/builders.rs index ffe72cffeca8..263e4630618e 100644 --- a/sdk/cloudformation/src/operation/update_termination_protection/builders.rs +++ b/sdk/cloudformation/src/operation/update_termination_protection/builders.rs @@ -20,9 +20,9 @@ impl UpdateTerminationProtectionFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -84,6 +84,22 @@ impl UpdateTerminationProtectionFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::update_termination_protection::UpdateTerminationProtection, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::update_termination_protection::UpdateTerminationProtectionError, + >, + > { + self.customize_middleware().await + } ///

        Whether to enable termination protection on the specified stack.

        pub fn enable_termination_protection(mut self, input: bool) -> Self { self.inner = self.inner.enable_termination_protection(input); diff --git a/sdk/cloudformation/src/operation/validate_template/builders.rs b/sdk/cloudformation/src/operation/validate_template/builders.rs index 2a08d79df6e7..ccfaf0254ab6 100644 --- a/sdk/cloudformation/src/operation/validate_template/builders.rs +++ b/sdk/cloudformation/src/operation/validate_template/builders.rs @@ -19,9 +19,9 @@ impl ValidateTemplateFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl ValidateTemplateFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::validate_template::ValidateTemplate, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::validate_template::ValidateTemplateError, + >, + > { + self.customize_middleware().await + } ///

        Structure containing the template body with a minimum length of 1 byte and a maximum length of 51,200 bytes. For more information, go to Template Anatomy in the CloudFormation User Guide.

        ///

        Conditional: You must pass TemplateURL or TemplateBody. If both are passed, only TemplateBody is used.

        pub fn template_body( diff --git a/sdk/cloudfront/src/operation/associate_alias/builders.rs b/sdk/cloudfront/src/operation/associate_alias/builders.rs index 970693a25bf3..fb242557ea85 100644 --- a/sdk/cloudfront/src/operation/associate_alias/builders.rs +++ b/sdk/cloudfront/src/operation/associate_alias/builders.rs @@ -21,9 +21,9 @@ impl AssociateAliasFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -79,6 +79,20 @@ impl AssociateAliasFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::associate_alias::AssociateAlias, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

        The ID of the distribution that you're associating the alias with.

        pub fn target_distribution_id( mut self, diff --git a/sdk/cloudfront/src/operation/copy_distribution/builders.rs b/sdk/cloudfront/src/operation/copy_distribution/builders.rs index a7f29d2b82ff..8e7cf9e59ab3 100644 --- a/sdk/cloudfront/src/operation/copy_distribution/builders.rs +++ b/sdk/cloudfront/src/operation/copy_distribution/builders.rs @@ -20,9 +20,9 @@ impl CopyDistributionFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -84,6 +84,22 @@ impl CopyDistributionFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::copy_distribution::CopyDistribution, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::copy_distribution::CopyDistributionError, + >, + > { + self.customize_middleware().await + } ///

        The identifier of the primary distribution whose configuration you are copying. To get a distribution ID, use ListDistributions.

        pub fn primary_distribution_id( mut self, diff --git a/sdk/cloudfront/src/operation/create_cache_policy/builders.rs b/sdk/cloudfront/src/operation/create_cache_policy/builders.rs index 3d559364e592..15a6159d3703 100644 --- a/sdk/cloudfront/src/operation/create_cache_policy/builders.rs +++ b/sdk/cloudfront/src/operation/create_cache_policy/builders.rs @@ -26,9 +26,9 @@ impl CreateCachePolicyFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -90,6 +90,22 @@ impl CreateCachePolicyFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::create_cache_policy::CreateCachePolicy, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::create_cache_policy::CreateCachePolicyError, + >, + > { + self.customize_middleware().await + } ///

        A cache policy configuration.

        pub fn cache_policy_config(mut self, input: crate::types::CachePolicyConfig) -> Self { self.inner = self.inner.cache_policy_config(input); diff --git a/sdk/cloudfront/src/operation/create_cloud_front_origin_access_identity/builders.rs b/sdk/cloudfront/src/operation/create_cloud_front_origin_access_identity/builders.rs index a20a2ca89ca2..c948a7837051 100644 --- a/sdk/cloudfront/src/operation/create_cloud_front_origin_access_identity/builders.rs +++ b/sdk/cloudfront/src/operation/create_cloud_front_origin_access_identity/builders.rs @@ -19,9 +19,9 @@ impl CreateCloudFrontOriginAccessIdentityFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize(self) -> ::std::result::Result< + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware(self) -> ::std::result::Result< crate::client::customize::CustomizableOperation, ::aws_smithy_http::result::SdkError >{ @@ -64,6 +64,15 @@ impl CreateCloudFrontOriginAccessIdentityFluentBuilder { { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize(self) -> ::std::result::Result< + crate::client::customize::CustomizableOperation, + ::aws_smithy_http::result::SdkError + >{ + self.customize_middleware().await + } ///

        The current configuration information for the identity.

        pub fn cloud_front_origin_access_identity_config( mut self, diff --git a/sdk/cloudfront/src/operation/create_continuous_deployment_policy/builders.rs b/sdk/cloudfront/src/operation/create_continuous_deployment_policy/builders.rs index 2a244e49af8c..bbae080136f1 100644 --- a/sdk/cloudfront/src/operation/create_continuous_deployment_policy/builders.rs +++ b/sdk/cloudfront/src/operation/create_continuous_deployment_policy/builders.rs @@ -21,9 +21,9 @@ impl CreateContinuousDeploymentPolicyFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize(self) -> ::std::result::Result< + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware(self) -> ::std::result::Result< crate::client::customize::CustomizableOperation, ::aws_smithy_http::result::SdkError >{ @@ -66,6 +66,15 @@ impl CreateContinuousDeploymentPolicyFluentBuilder { { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize(self) -> ::std::result::Result< + crate::client::customize::CustomizableOperation, + ::aws_smithy_http::result::SdkError + >{ + self.customize_middleware().await + } ///

        Contains the configuration for a continuous deployment policy.

        pub fn continuous_deployment_policy_config( mut self, diff --git a/sdk/cloudfront/src/operation/create_distribution/builders.rs b/sdk/cloudfront/src/operation/create_distribution/builders.rs index 43ca32f9dc02..9d3b2674e995 100644 --- a/sdk/cloudfront/src/operation/create_distribution/builders.rs +++ b/sdk/cloudfront/src/operation/create_distribution/builders.rs @@ -19,9 +19,9 @@ impl CreateDistributionFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl CreateDistributionFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::create_distribution::CreateDistribution, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::create_distribution::CreateDistributionError, + >, + > { + self.customize_middleware().await + } ///

        The distribution's configuration information.

        pub fn distribution_config(mut self, input: crate::types::DistributionConfig) -> Self { self.inner = self.inner.distribution_config(input); diff --git a/sdk/cloudfront/src/operation/create_distribution_with_tags/builders.rs b/sdk/cloudfront/src/operation/create_distribution_with_tags/builders.rs index 9f284a31d82c..ee6daac61490 100644 --- a/sdk/cloudfront/src/operation/create_distribution_with_tags/builders.rs +++ b/sdk/cloudfront/src/operation/create_distribution_with_tags/builders.rs @@ -19,9 +19,9 @@ impl CreateDistributionWithTagsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl CreateDistributionWithTagsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::create_distribution_with_tags::CreateDistributionWithTags, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::create_distribution_with_tags::CreateDistributionWithTagsError, + >, + > { + self.customize_middleware().await + } ///

        The distribution's configuration information.

        pub fn distribution_config_with_tags( mut self, diff --git a/sdk/cloudfront/src/operation/create_field_level_encryption_config/builders.rs b/sdk/cloudfront/src/operation/create_field_level_encryption_config/builders.rs index 60145fc4c4be..973c5847ae4c 100644 --- a/sdk/cloudfront/src/operation/create_field_level_encryption_config/builders.rs +++ b/sdk/cloudfront/src/operation/create_field_level_encryption_config/builders.rs @@ -19,9 +19,9 @@ impl CreateFieldLevelEncryptionConfigFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize(self) -> ::std::result::Result< + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware(self) -> ::std::result::Result< crate::client::customize::CustomizableOperation, ::aws_smithy_http::result::SdkError >{ @@ -64,6 +64,15 @@ impl CreateFieldLevelEncryptionConfigFluentBuilder { { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize(self) -> ::std::result::Result< + crate::client::customize::CustomizableOperation, + ::aws_smithy_http::result::SdkError + >{ + self.customize_middleware().await + } ///

        The request to create a new field-level encryption configuration.

        pub fn field_level_encryption_config( mut self, diff --git a/sdk/cloudfront/src/operation/create_field_level_encryption_profile/builders.rs b/sdk/cloudfront/src/operation/create_field_level_encryption_profile/builders.rs index 42a47f086652..ae74911cf893 100644 --- a/sdk/cloudfront/src/operation/create_field_level_encryption_profile/builders.rs +++ b/sdk/cloudfront/src/operation/create_field_level_encryption_profile/builders.rs @@ -19,9 +19,9 @@ impl CreateFieldLevelEncryptionProfileFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize(self) -> ::std::result::Result< + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware(self) -> ::std::result::Result< crate::client::customize::CustomizableOperation, ::aws_smithy_http::result::SdkError >{ @@ -64,6 +64,15 @@ impl CreateFieldLevelEncryptionProfileFluentBuilder { { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize(self) -> ::std::result::Result< + crate::client::customize::CustomizableOperation, + ::aws_smithy_http::result::SdkError + >{ + self.customize_middleware().await + } ///

        The request to create a field-level encryption profile.

        pub fn field_level_encryption_profile_config( mut self, diff --git a/sdk/cloudfront/src/operation/create_function/builders.rs b/sdk/cloudfront/src/operation/create_function/builders.rs index 5c1c93ec3250..2c143ed4478d 100644 --- a/sdk/cloudfront/src/operation/create_function/builders.rs +++ b/sdk/cloudfront/src/operation/create_function/builders.rs @@ -22,9 +22,9 @@ impl CreateFunctionFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -80,6 +80,20 @@ impl CreateFunctionFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::create_function::CreateFunction, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

        A name to identify the function.

        pub fn name(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.name(input.into()); diff --git a/sdk/cloudfront/src/operation/create_invalidation/builders.rs b/sdk/cloudfront/src/operation/create_invalidation/builders.rs index a8bfaccd2ee0..66876e77c7a4 100644 --- a/sdk/cloudfront/src/operation/create_invalidation/builders.rs +++ b/sdk/cloudfront/src/operation/create_invalidation/builders.rs @@ -19,9 +19,9 @@ impl CreateInvalidationFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl CreateInvalidationFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::create_invalidation::CreateInvalidation, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::create_invalidation::CreateInvalidationError, + >, + > { + self.customize_middleware().await + } ///

        The distribution's id.

        pub fn distribution_id( mut self, diff --git a/sdk/cloudfront/src/operation/create_key_group/builders.rs b/sdk/cloudfront/src/operation/create_key_group/builders.rs index 25e31514b558..65530c9efd9d 100644 --- a/sdk/cloudfront/src/operation/create_key_group/builders.rs +++ b/sdk/cloudfront/src/operation/create_key_group/builders.rs @@ -20,9 +20,9 @@ impl CreateKeyGroupFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -84,6 +84,22 @@ impl CreateKeyGroupFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::create_key_group::CreateKeyGroup, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::create_key_group::CreateKeyGroupError, + >, + > { + self.customize_middleware().await + } ///

        A key group configuration.

        pub fn key_group_config(mut self, input: crate::types::KeyGroupConfig) -> Self { self.inner = self.inner.key_group_config(input); diff --git a/sdk/cloudfront/src/operation/create_monitoring_subscription/builders.rs b/sdk/cloudfront/src/operation/create_monitoring_subscription/builders.rs index 119e21cf95b3..95e423e00032 100644 --- a/sdk/cloudfront/src/operation/create_monitoring_subscription/builders.rs +++ b/sdk/cloudfront/src/operation/create_monitoring_subscription/builders.rs @@ -20,9 +20,9 @@ impl CreateMonitoringSubscriptionFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -84,6 +84,22 @@ impl CreateMonitoringSubscriptionFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::create_monitoring_subscription::CreateMonitoringSubscription, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::create_monitoring_subscription::CreateMonitoringSubscriptionError, + >, + > { + self.customize_middleware().await + } ///

        The ID of the distribution that you are enabling metrics for.

        pub fn distribution_id( mut self, diff --git a/sdk/cloudfront/src/operation/create_origin_access_control/builders.rs b/sdk/cloudfront/src/operation/create_origin_access_control/builders.rs index 0041165c569b..29f998cf05d4 100644 --- a/sdk/cloudfront/src/operation/create_origin_access_control/builders.rs +++ b/sdk/cloudfront/src/operation/create_origin_access_control/builders.rs @@ -21,9 +21,9 @@ impl CreateOriginAccessControlFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -85,6 +85,22 @@ impl CreateOriginAccessControlFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::create_origin_access_control::CreateOriginAccessControl, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::create_origin_access_control::CreateOriginAccessControlError, + >, + > { + self.customize_middleware().await + } ///

        Contains the origin access control.

        pub fn origin_access_control_config( mut self, diff --git a/sdk/cloudfront/src/operation/create_origin_request_policy/builders.rs b/sdk/cloudfront/src/operation/create_origin_request_policy/builders.rs index e47fd3beb89e..8e3a0e7a5ac1 100644 --- a/sdk/cloudfront/src/operation/create_origin_request_policy/builders.rs +++ b/sdk/cloudfront/src/operation/create_origin_request_policy/builders.rs @@ -27,9 +27,9 @@ impl CreateOriginRequestPolicyFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -91,6 +91,22 @@ impl CreateOriginRequestPolicyFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::create_origin_request_policy::CreateOriginRequestPolicy, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::create_origin_request_policy::CreateOriginRequestPolicyError, + >, + > { + self.customize_middleware().await + } ///

        An origin request policy configuration.

        pub fn origin_request_policy_config( mut self, diff --git a/sdk/cloudfront/src/operation/create_public_key/builders.rs b/sdk/cloudfront/src/operation/create_public_key/builders.rs index bbf092bdfcc4..771054788a1d 100644 --- a/sdk/cloudfront/src/operation/create_public_key/builders.rs +++ b/sdk/cloudfront/src/operation/create_public_key/builders.rs @@ -19,9 +19,9 @@ impl CreatePublicKeyFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl CreatePublicKeyFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::create_public_key::CreatePublicKey, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::create_public_key::CreatePublicKeyError, + >, + > { + self.customize_middleware().await + } ///

        A CloudFront public key configuration.

        pub fn public_key_config(mut self, input: crate::types::PublicKeyConfig) -> Self { self.inner = self.inner.public_key_config(input); diff --git a/sdk/cloudfront/src/operation/create_realtime_log_config/builders.rs b/sdk/cloudfront/src/operation/create_realtime_log_config/builders.rs index 86bdedb127e2..48556faf0729 100644 --- a/sdk/cloudfront/src/operation/create_realtime_log_config/builders.rs +++ b/sdk/cloudfront/src/operation/create_realtime_log_config/builders.rs @@ -22,9 +22,9 @@ impl CreateRealtimeLogConfigFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -86,6 +86,22 @@ impl CreateRealtimeLogConfigFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::create_realtime_log_config::CreateRealtimeLogConfig, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::create_realtime_log_config::CreateRealtimeLogConfigError, + >, + > { + self.customize_middleware().await + } /// Appends an item to `EndPoints`. /// /// To override the contents of this collection use [`set_end_points`](Self::set_end_points). diff --git a/sdk/cloudfront/src/operation/create_response_headers_policy/builders.rs b/sdk/cloudfront/src/operation/create_response_headers_policy/builders.rs index 2fa3d787dae4..f82db17e2930 100644 --- a/sdk/cloudfront/src/operation/create_response_headers_policy/builders.rs +++ b/sdk/cloudfront/src/operation/create_response_headers_policy/builders.rs @@ -22,9 +22,9 @@ impl CreateResponseHeadersPolicyFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -86,6 +86,22 @@ impl CreateResponseHeadersPolicyFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::create_response_headers_policy::CreateResponseHeadersPolicy, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::create_response_headers_policy::CreateResponseHeadersPolicyError, + >, + > { + self.customize_middleware().await + } ///

        Contains metadata about the response headers policy, and a set of configurations that specify the HTTP headers.

        pub fn response_headers_policy_config( mut self, diff --git a/sdk/cloudfront/src/operation/create_streaming_distribution/builders.rs b/sdk/cloudfront/src/operation/create_streaming_distribution/builders.rs index af66d955a07e..6f571b6a4bb0 100644 --- a/sdk/cloudfront/src/operation/create_streaming_distribution/builders.rs +++ b/sdk/cloudfront/src/operation/create_streaming_distribution/builders.rs @@ -19,9 +19,9 @@ impl CreateStreamingDistributionFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl CreateStreamingDistributionFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::create_streaming_distribution::CreateStreamingDistribution, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::create_streaming_distribution::CreateStreamingDistributionError, + >, + > { + self.customize_middleware().await + } ///

        The streaming distribution's configuration information.

        pub fn streaming_distribution_config( mut self, diff --git a/sdk/cloudfront/src/operation/create_streaming_distribution_with_tags/builders.rs b/sdk/cloudfront/src/operation/create_streaming_distribution_with_tags/builders.rs index 73ef834edc95..eb3a8b7ec470 100644 --- a/sdk/cloudfront/src/operation/create_streaming_distribution_with_tags/builders.rs +++ b/sdk/cloudfront/src/operation/create_streaming_distribution_with_tags/builders.rs @@ -19,9 +19,9 @@ impl CreateStreamingDistributionWithTagsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize(self) -> ::std::result::Result< + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware(self) -> ::std::result::Result< crate::client::customize::CustomizableOperation, ::aws_smithy_http::result::SdkError >{ @@ -64,6 +64,15 @@ impl CreateStreamingDistributionWithTagsFluentBuilder { { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize(self) -> ::std::result::Result< + crate::client::customize::CustomizableOperation, + ::aws_smithy_http::result::SdkError + >{ + self.customize_middleware().await + } ///

        The streaming distribution's configuration information.

        pub fn streaming_distribution_config_with_tags( mut self, diff --git a/sdk/cloudfront/src/operation/delete_cache_policy/builders.rs b/sdk/cloudfront/src/operation/delete_cache_policy/builders.rs index 8192322ae094..008104621116 100644 --- a/sdk/cloudfront/src/operation/delete_cache_policy/builders.rs +++ b/sdk/cloudfront/src/operation/delete_cache_policy/builders.rs @@ -21,9 +21,9 @@ impl DeleteCachePolicyFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -85,6 +85,22 @@ impl DeleteCachePolicyFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::delete_cache_policy::DeleteCachePolicy, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::delete_cache_policy::DeleteCachePolicyError, + >, + > { + self.customize_middleware().await + } ///

        The unique identifier for the cache policy that you are deleting. To get the identifier, you can use ListCachePolicies.

        pub fn id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.id(input.into()); diff --git a/sdk/cloudfront/src/operation/delete_cloud_front_origin_access_identity/builders.rs b/sdk/cloudfront/src/operation/delete_cloud_front_origin_access_identity/builders.rs index 73971dec6f2e..e611823a808e 100644 --- a/sdk/cloudfront/src/operation/delete_cloud_front_origin_access_identity/builders.rs +++ b/sdk/cloudfront/src/operation/delete_cloud_front_origin_access_identity/builders.rs @@ -19,9 +19,9 @@ impl DeleteCloudFrontOriginAccessIdentityFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize(self) -> ::std::result::Result< + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware(self) -> ::std::result::Result< crate::client::customize::CustomizableOperation, ::aws_smithy_http::result::SdkError >{ @@ -64,6 +64,15 @@ impl DeleteCloudFrontOriginAccessIdentityFluentBuilder { { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize(self) -> ::std::result::Result< + crate::client::customize::CustomizableOperation, + ::aws_smithy_http::result::SdkError + >{ + self.customize_middleware().await + } ///

        The origin access identity's ID.

        pub fn id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.id(input.into()); diff --git a/sdk/cloudfront/src/operation/delete_continuous_deployment_policy/builders.rs b/sdk/cloudfront/src/operation/delete_continuous_deployment_policy/builders.rs index 3fee92fc0a88..25697873d357 100644 --- a/sdk/cloudfront/src/operation/delete_continuous_deployment_policy/builders.rs +++ b/sdk/cloudfront/src/operation/delete_continuous_deployment_policy/builders.rs @@ -20,9 +20,9 @@ impl DeleteContinuousDeploymentPolicyFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize(self) -> ::std::result::Result< + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware(self) -> ::std::result::Result< crate::client::customize::CustomizableOperation, ::aws_smithy_http::result::SdkError >{ @@ -65,6 +65,15 @@ impl DeleteContinuousDeploymentPolicyFluentBuilder { { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize(self) -> ::std::result::Result< + crate::client::customize::CustomizableOperation, + ::aws_smithy_http::result::SdkError + >{ + self.customize_middleware().await + } ///

        The identifier of the continuous deployment policy that you are deleting.

        pub fn id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.id(input.into()); diff --git a/sdk/cloudfront/src/operation/delete_distribution/builders.rs b/sdk/cloudfront/src/operation/delete_distribution/builders.rs index 0714a2b9c620..d7d5c1b5ea8c 100644 --- a/sdk/cloudfront/src/operation/delete_distribution/builders.rs +++ b/sdk/cloudfront/src/operation/delete_distribution/builders.rs @@ -19,9 +19,9 @@ impl DeleteDistributionFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl DeleteDistributionFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::delete_distribution::DeleteDistribution, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::delete_distribution::DeleteDistributionError, + >, + > { + self.customize_middleware().await + } ///

        The distribution ID.

        pub fn id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.id(input.into()); diff --git a/sdk/cloudfront/src/operation/delete_field_level_encryption_config/builders.rs b/sdk/cloudfront/src/operation/delete_field_level_encryption_config/builders.rs index 2bf8f792d44e..b2e89c7b6a54 100644 --- a/sdk/cloudfront/src/operation/delete_field_level_encryption_config/builders.rs +++ b/sdk/cloudfront/src/operation/delete_field_level_encryption_config/builders.rs @@ -19,9 +19,9 @@ impl DeleteFieldLevelEncryptionConfigFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize(self) -> ::std::result::Result< + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware(self) -> ::std::result::Result< crate::client::customize::CustomizableOperation, ::aws_smithy_http::result::SdkError >{ @@ -64,6 +64,15 @@ impl DeleteFieldLevelEncryptionConfigFluentBuilder { { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize(self) -> ::std::result::Result< + crate::client::customize::CustomizableOperation, + ::aws_smithy_http::result::SdkError + >{ + self.customize_middleware().await + } ///

        The ID of the configuration you want to delete from CloudFront.

        pub fn id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.id(input.into()); diff --git a/sdk/cloudfront/src/operation/delete_field_level_encryption_profile/builders.rs b/sdk/cloudfront/src/operation/delete_field_level_encryption_profile/builders.rs index c6389e203a45..50d27b8e6502 100644 --- a/sdk/cloudfront/src/operation/delete_field_level_encryption_profile/builders.rs +++ b/sdk/cloudfront/src/operation/delete_field_level_encryption_profile/builders.rs @@ -19,9 +19,9 @@ impl DeleteFieldLevelEncryptionProfileFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize(self) -> ::std::result::Result< + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware(self) -> ::std::result::Result< crate::client::customize::CustomizableOperation, ::aws_smithy_http::result::SdkError >{ @@ -64,6 +64,15 @@ impl DeleteFieldLevelEncryptionProfileFluentBuilder { { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize(self) -> ::std::result::Result< + crate::client::customize::CustomizableOperation, + ::aws_smithy_http::result::SdkError + >{ + self.customize_middleware().await + } ///

        Request the ID of the profile you want to delete from CloudFront.

        pub fn id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.id(input.into()); diff --git a/sdk/cloudfront/src/operation/delete_function/builders.rs b/sdk/cloudfront/src/operation/delete_function/builders.rs index 38c30d2a4598..3ba580d26f56 100644 --- a/sdk/cloudfront/src/operation/delete_function/builders.rs +++ b/sdk/cloudfront/src/operation/delete_function/builders.rs @@ -21,9 +21,9 @@ impl DeleteFunctionFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -79,6 +79,20 @@ impl DeleteFunctionFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::delete_function::DeleteFunction, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

        The name of the function that you are deleting.

        pub fn name(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.name(input.into()); diff --git a/sdk/cloudfront/src/operation/delete_key_group/builders.rs b/sdk/cloudfront/src/operation/delete_key_group/builders.rs index 21feacd493b9..aaaeceb0c948 100644 --- a/sdk/cloudfront/src/operation/delete_key_group/builders.rs +++ b/sdk/cloudfront/src/operation/delete_key_group/builders.rs @@ -21,9 +21,9 @@ impl DeleteKeyGroupFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -85,6 +85,22 @@ impl DeleteKeyGroupFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::delete_key_group::DeleteKeyGroup, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::delete_key_group::DeleteKeyGroupError, + >, + > { + self.customize_middleware().await + } ///

        The identifier of the key group that you are deleting. To get the identifier, use ListKeyGroups.

        pub fn id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.id(input.into()); diff --git a/sdk/cloudfront/src/operation/delete_monitoring_subscription/builders.rs b/sdk/cloudfront/src/operation/delete_monitoring_subscription/builders.rs index 2d8b71efa831..ecc27a32a61b 100644 --- a/sdk/cloudfront/src/operation/delete_monitoring_subscription/builders.rs +++ b/sdk/cloudfront/src/operation/delete_monitoring_subscription/builders.rs @@ -19,9 +19,9 @@ impl DeleteMonitoringSubscriptionFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl DeleteMonitoringSubscriptionFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::delete_monitoring_subscription::DeleteMonitoringSubscription, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::delete_monitoring_subscription::DeleteMonitoringSubscriptionError, + >, + > { + self.customize_middleware().await + } ///

        The ID of the distribution that you are disabling metrics for.

        pub fn distribution_id( mut self, diff --git a/sdk/cloudfront/src/operation/delete_origin_access_control/builders.rs b/sdk/cloudfront/src/operation/delete_origin_access_control/builders.rs index b307dd1ae1b7..6ca58c864cb2 100644 --- a/sdk/cloudfront/src/operation/delete_origin_access_control/builders.rs +++ b/sdk/cloudfront/src/operation/delete_origin_access_control/builders.rs @@ -20,9 +20,9 @@ impl DeleteOriginAccessControlFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -84,6 +84,22 @@ impl DeleteOriginAccessControlFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::delete_origin_access_control::DeleteOriginAccessControl, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::delete_origin_access_control::DeleteOriginAccessControlError, + >, + > { + self.customize_middleware().await + } ///

        The unique identifier of the origin access control that you are deleting.

        pub fn id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.id(input.into()); diff --git a/sdk/cloudfront/src/operation/delete_origin_request_policy/builders.rs b/sdk/cloudfront/src/operation/delete_origin_request_policy/builders.rs index f9a5aefc5955..523ab9f2b044 100644 --- a/sdk/cloudfront/src/operation/delete_origin_request_policy/builders.rs +++ b/sdk/cloudfront/src/operation/delete_origin_request_policy/builders.rs @@ -21,9 +21,9 @@ impl DeleteOriginRequestPolicyFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -85,6 +85,22 @@ impl DeleteOriginRequestPolicyFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::delete_origin_request_policy::DeleteOriginRequestPolicy, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::delete_origin_request_policy::DeleteOriginRequestPolicyError, + >, + > { + self.customize_middleware().await + } ///

        The unique identifier for the origin request policy that you are deleting. To get the identifier, you can use ListOriginRequestPolicies.

        pub fn id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.id(input.into()); diff --git a/sdk/cloudfront/src/operation/delete_public_key/builders.rs b/sdk/cloudfront/src/operation/delete_public_key/builders.rs index 8a13cc6f5b59..de628ebc4301 100644 --- a/sdk/cloudfront/src/operation/delete_public_key/builders.rs +++ b/sdk/cloudfront/src/operation/delete_public_key/builders.rs @@ -19,9 +19,9 @@ impl DeletePublicKeyFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl DeletePublicKeyFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::delete_public_key::DeletePublicKey, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::delete_public_key::DeletePublicKeyError, + >, + > { + self.customize_middleware().await + } ///

        The ID of the public key you want to remove from CloudFront.

        pub fn id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.id(input.into()); diff --git a/sdk/cloudfront/src/operation/delete_realtime_log_config/builders.rs b/sdk/cloudfront/src/operation/delete_realtime_log_config/builders.rs index 965b95bafb86..5a6d536a11e4 100644 --- a/sdk/cloudfront/src/operation/delete_realtime_log_config/builders.rs +++ b/sdk/cloudfront/src/operation/delete_realtime_log_config/builders.rs @@ -22,9 +22,9 @@ impl DeleteRealtimeLogConfigFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -86,6 +86,22 @@ impl DeleteRealtimeLogConfigFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::delete_realtime_log_config::DeleteRealtimeLogConfig, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::delete_realtime_log_config::DeleteRealtimeLogConfigError, + >, + > { + self.customize_middleware().await + } ///

        The name of the real-time log configuration to delete.

        pub fn name(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.name(input.into()); diff --git a/sdk/cloudfront/src/operation/delete_response_headers_policy/builders.rs b/sdk/cloudfront/src/operation/delete_response_headers_policy/builders.rs index 69ea7d64f31a..beb3527bd6b8 100644 --- a/sdk/cloudfront/src/operation/delete_response_headers_policy/builders.rs +++ b/sdk/cloudfront/src/operation/delete_response_headers_policy/builders.rs @@ -21,9 +21,9 @@ impl DeleteResponseHeadersPolicyFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -85,6 +85,22 @@ impl DeleteResponseHeadersPolicyFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::delete_response_headers_policy::DeleteResponseHeadersPolicy, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::delete_response_headers_policy::DeleteResponseHeadersPolicyError, + >, + > { + self.customize_middleware().await + } ///

        The identifier for the response headers policy that you are deleting.

        ///

        To get the identifier, you can use ListResponseHeadersPolicies.

        pub fn id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { diff --git a/sdk/cloudfront/src/operation/delete_streaming_distribution/builders.rs b/sdk/cloudfront/src/operation/delete_streaming_distribution/builders.rs index ea04e95068d1..e869b9d4f370 100644 --- a/sdk/cloudfront/src/operation/delete_streaming_distribution/builders.rs +++ b/sdk/cloudfront/src/operation/delete_streaming_distribution/builders.rs @@ -31,9 +31,9 @@ impl DeleteStreamingDistributionFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -95,6 +95,22 @@ impl DeleteStreamingDistributionFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::delete_streaming_distribution::DeleteStreamingDistribution, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::delete_streaming_distribution::DeleteStreamingDistributionError, + >, + > { + self.customize_middleware().await + } ///

        The distribution ID.

        pub fn id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.id(input.into()); diff --git a/sdk/cloudfront/src/operation/describe_function/builders.rs b/sdk/cloudfront/src/operation/describe_function/builders.rs index 48744f869176..f9ab065b823e 100644 --- a/sdk/cloudfront/src/operation/describe_function/builders.rs +++ b/sdk/cloudfront/src/operation/describe_function/builders.rs @@ -20,9 +20,9 @@ impl DescribeFunctionFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -84,6 +84,22 @@ impl DescribeFunctionFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::describe_function::DescribeFunction, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::describe_function::DescribeFunctionError, + >, + > { + self.customize_middleware().await + } ///

        The name of the function that you are getting information about.

        pub fn name(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.name(input.into()); diff --git a/sdk/cloudfront/src/operation/get_cache_policy/builders.rs b/sdk/cloudfront/src/operation/get_cache_policy/builders.rs index 3696096a40b9..79f19305a0e5 100644 --- a/sdk/cloudfront/src/operation/get_cache_policy/builders.rs +++ b/sdk/cloudfront/src/operation/get_cache_policy/builders.rs @@ -24,9 +24,9 @@ impl GetCachePolicyFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -88,6 +88,22 @@ impl GetCachePolicyFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::get_cache_policy::GetCachePolicy, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::get_cache_policy::GetCachePolicyError, + >, + > { + self.customize_middleware().await + } ///

        The unique identifier for the cache policy. If the cache policy is attached to a distribution's cache behavior, you can get the policy's identifier using ListDistributions or GetDistribution. If the cache policy is not attached to a cache behavior, you can get the identifier using ListCachePolicies.

        pub fn id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.id(input.into()); diff --git a/sdk/cloudfront/src/operation/get_cache_policy_config/builders.rs b/sdk/cloudfront/src/operation/get_cache_policy_config/builders.rs index 625311853955..92db7de368c9 100644 --- a/sdk/cloudfront/src/operation/get_cache_policy_config/builders.rs +++ b/sdk/cloudfront/src/operation/get_cache_policy_config/builders.rs @@ -20,9 +20,9 @@ impl GetCachePolicyConfigFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -84,6 +84,22 @@ impl GetCachePolicyConfigFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::get_cache_policy_config::GetCachePolicyConfig, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::get_cache_policy_config::GetCachePolicyConfigError, + >, + > { + self.customize_middleware().await + } ///

        The unique identifier for the cache policy. If the cache policy is attached to a distribution's cache behavior, you can get the policy's identifier using ListDistributions or GetDistribution. If the cache policy is not attached to a cache behavior, you can get the identifier using ListCachePolicies.

        pub fn id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.id(input.into()); diff --git a/sdk/cloudfront/src/operation/get_cloud_front_origin_access_identity/builders.rs b/sdk/cloudfront/src/operation/get_cloud_front_origin_access_identity/builders.rs index bcbe2cd92cd5..2f23d0778f06 100644 --- a/sdk/cloudfront/src/operation/get_cloud_front_origin_access_identity/builders.rs +++ b/sdk/cloudfront/src/operation/get_cloud_front_origin_access_identity/builders.rs @@ -19,9 +19,9 @@ impl GetCloudFrontOriginAccessIdentityFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize(self) -> ::std::result::Result< + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware(self) -> ::std::result::Result< crate::client::customize::CustomizableOperation, ::aws_smithy_http::result::SdkError >{ @@ -64,6 +64,15 @@ impl GetCloudFrontOriginAccessIdentityFluentBuilder { { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize(self) -> ::std::result::Result< + crate::client::customize::CustomizableOperation, + ::aws_smithy_http::result::SdkError + >{ + self.customize_middleware().await + } ///

        The identity's ID.

        pub fn id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.id(input.into()); diff --git a/sdk/cloudfront/src/operation/get_cloud_front_origin_access_identity_config/builders.rs b/sdk/cloudfront/src/operation/get_cloud_front_origin_access_identity_config/builders.rs index e774ed77fbda..9b82f6347a4e 100644 --- a/sdk/cloudfront/src/operation/get_cloud_front_origin_access_identity_config/builders.rs +++ b/sdk/cloudfront/src/operation/get_cloud_front_origin_access_identity_config/builders.rs @@ -19,9 +19,9 @@ impl GetCloudFrontOriginAccessIdentityConfigFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize(self) -> ::std::result::Result< + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware(self) -> ::std::result::Result< crate::client::customize::CustomizableOperation, ::aws_smithy_http::result::SdkError >{ @@ -64,6 +64,15 @@ impl GetCloudFrontOriginAccessIdentityConfigFluentBuilder { { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize(self) -> ::std::result::Result< + crate::client::customize::CustomizableOperation, + ::aws_smithy_http::result::SdkError + >{ + self.customize_middleware().await + } ///

        The identity's ID.

        pub fn id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.id(input.into()); diff --git a/sdk/cloudfront/src/operation/get_continuous_deployment_policy/builders.rs b/sdk/cloudfront/src/operation/get_continuous_deployment_policy/builders.rs index 382cf7d66872..99fec1b8b56d 100644 --- a/sdk/cloudfront/src/operation/get_continuous_deployment_policy/builders.rs +++ b/sdk/cloudfront/src/operation/get_continuous_deployment_policy/builders.rs @@ -19,9 +19,9 @@ impl GetContinuousDeploymentPolicyFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl GetContinuousDeploymentPolicyFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::get_continuous_deployment_policy::GetContinuousDeploymentPolicy, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::get_continuous_deployment_policy::GetContinuousDeploymentPolicyError, + >, + > { + self.customize_middleware().await + } ///

        The identifier of the continuous deployment policy that you are getting.

        pub fn id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.id(input.into()); diff --git a/sdk/cloudfront/src/operation/get_continuous_deployment_policy_config/builders.rs b/sdk/cloudfront/src/operation/get_continuous_deployment_policy_config/builders.rs index 4843f11444ee..260a6b8b3512 100644 --- a/sdk/cloudfront/src/operation/get_continuous_deployment_policy_config/builders.rs +++ b/sdk/cloudfront/src/operation/get_continuous_deployment_policy_config/builders.rs @@ -19,9 +19,9 @@ impl GetContinuousDeploymentPolicyConfigFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize(self) -> ::std::result::Result< + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware(self) -> ::std::result::Result< crate::client::customize::CustomizableOperation, ::aws_smithy_http::result::SdkError >{ @@ -64,6 +64,15 @@ impl GetContinuousDeploymentPolicyConfigFluentBuilder { { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize(self) -> ::std::result::Result< + crate::client::customize::CustomizableOperation, + ::aws_smithy_http::result::SdkError + >{ + self.customize_middleware().await + } ///

        The identifier of the continuous deployment policy whose configuration you are getting.

        pub fn id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.id(input.into()); diff --git a/sdk/cloudfront/src/operation/get_distribution/builders.rs b/sdk/cloudfront/src/operation/get_distribution/builders.rs index cdae156eb036..3ff1684774dc 100644 --- a/sdk/cloudfront/src/operation/get_distribution/builders.rs +++ b/sdk/cloudfront/src/operation/get_distribution/builders.rs @@ -19,9 +19,9 @@ impl GetDistributionFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl GetDistributionFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::get_distribution::GetDistribution, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::get_distribution::GetDistributionError, + >, + > { + self.customize_middleware().await + } ///

        The distribution's ID. If the ID is empty, an empty distribution configuration is returned.

        pub fn id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.id(input.into()); diff --git a/sdk/cloudfront/src/operation/get_distribution_config/builders.rs b/sdk/cloudfront/src/operation/get_distribution_config/builders.rs index 1e267cc16e41..c8f3d9060a2b 100644 --- a/sdk/cloudfront/src/operation/get_distribution_config/builders.rs +++ b/sdk/cloudfront/src/operation/get_distribution_config/builders.rs @@ -19,9 +19,9 @@ impl GetDistributionConfigFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl GetDistributionConfigFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::get_distribution_config::GetDistributionConfig, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::get_distribution_config::GetDistributionConfigError, + >, + > { + self.customize_middleware().await + } ///

        The distribution's ID. If the ID is empty, an empty distribution configuration is returned.

        pub fn id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.id(input.into()); diff --git a/sdk/cloudfront/src/operation/get_field_level_encryption/builders.rs b/sdk/cloudfront/src/operation/get_field_level_encryption/builders.rs index 0ce2d86f78b6..69bf0429b4c3 100644 --- a/sdk/cloudfront/src/operation/get_field_level_encryption/builders.rs +++ b/sdk/cloudfront/src/operation/get_field_level_encryption/builders.rs @@ -20,9 +20,9 @@ impl GetFieldLevelEncryptionFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -84,6 +84,22 @@ impl GetFieldLevelEncryptionFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::get_field_level_encryption::GetFieldLevelEncryption, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::get_field_level_encryption::GetFieldLevelEncryptionError, + >, + > { + self.customize_middleware().await + } ///

        Request the ID for the field-level encryption configuration information.

        pub fn id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.id(input.into()); diff --git a/sdk/cloudfront/src/operation/get_field_level_encryption_config/builders.rs b/sdk/cloudfront/src/operation/get_field_level_encryption_config/builders.rs index 9bc360b5c7e3..7ad60fbcc434 100644 --- a/sdk/cloudfront/src/operation/get_field_level_encryption_config/builders.rs +++ b/sdk/cloudfront/src/operation/get_field_level_encryption_config/builders.rs @@ -19,9 +19,9 @@ impl GetFieldLevelEncryptionConfigFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl GetFieldLevelEncryptionConfigFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::get_field_level_encryption_config::GetFieldLevelEncryptionConfig, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::get_field_level_encryption_config::GetFieldLevelEncryptionConfigError, + >, + > { + self.customize_middleware().await + } ///

        Request the ID for the field-level encryption configuration information.

        pub fn id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.id(input.into()); diff --git a/sdk/cloudfront/src/operation/get_field_level_encryption_profile/builders.rs b/sdk/cloudfront/src/operation/get_field_level_encryption_profile/builders.rs index 5fb8625ef447..780921ffb263 100644 --- a/sdk/cloudfront/src/operation/get_field_level_encryption_profile/builders.rs +++ b/sdk/cloudfront/src/operation/get_field_level_encryption_profile/builders.rs @@ -19,9 +19,9 @@ impl GetFieldLevelEncryptionProfileFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize(self) -> ::std::result::Result< + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware(self) -> ::std::result::Result< crate::client::customize::CustomizableOperation, ::aws_smithy_http::result::SdkError >{ @@ -64,6 +64,15 @@ impl GetFieldLevelEncryptionProfileFluentBuilder { { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize(self) -> ::std::result::Result< + crate::client::customize::CustomizableOperation, + ::aws_smithy_http::result::SdkError + >{ + self.customize_middleware().await + } ///

        Get the ID for the field-level encryption profile information.

        pub fn id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.id(input.into()); diff --git a/sdk/cloudfront/src/operation/get_field_level_encryption_profile_config/builders.rs b/sdk/cloudfront/src/operation/get_field_level_encryption_profile_config/builders.rs index 9405917b0383..5890bdee2b8e 100644 --- a/sdk/cloudfront/src/operation/get_field_level_encryption_profile_config/builders.rs +++ b/sdk/cloudfront/src/operation/get_field_level_encryption_profile_config/builders.rs @@ -19,9 +19,9 @@ impl GetFieldLevelEncryptionProfileConfigFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize(self) -> ::std::result::Result< + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware(self) -> ::std::result::Result< crate::client::customize::CustomizableOperation, ::aws_smithy_http::result::SdkError >{ @@ -64,6 +64,15 @@ impl GetFieldLevelEncryptionProfileConfigFluentBuilder { { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize(self) -> ::std::result::Result< + crate::client::customize::CustomizableOperation, + ::aws_smithy_http::result::SdkError + >{ + self.customize_middleware().await + } ///

        Get the ID for the field-level encryption profile configuration information.

        pub fn id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.id(input.into()); diff --git a/sdk/cloudfront/src/operation/get_function/builders.rs b/sdk/cloudfront/src/operation/get_function/builders.rs index 25c20d907449..789001902870 100644 --- a/sdk/cloudfront/src/operation/get_function/builders.rs +++ b/sdk/cloudfront/src/operation/get_function/builders.rs @@ -20,9 +20,9 @@ impl GetFunctionFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -78,6 +78,20 @@ impl GetFunctionFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::get_function::GetFunction, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

        The name of the function whose code you are getting.

        pub fn name(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.name(input.into()); diff --git a/sdk/cloudfront/src/operation/get_invalidation/builders.rs b/sdk/cloudfront/src/operation/get_invalidation/builders.rs index 1baaaa41c182..1b1b07b0264a 100644 --- a/sdk/cloudfront/src/operation/get_invalidation/builders.rs +++ b/sdk/cloudfront/src/operation/get_invalidation/builders.rs @@ -19,9 +19,9 @@ impl GetInvalidationFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl GetInvalidationFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::get_invalidation::GetInvalidation, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::get_invalidation::GetInvalidationError, + >, + > { + self.customize_middleware().await + } ///

        The distribution's ID.

        pub fn distribution_id( mut self, diff --git a/sdk/cloudfront/src/operation/get_key_group/builders.rs b/sdk/cloudfront/src/operation/get_key_group/builders.rs index 3197efd84db9..4f5a03ddda73 100644 --- a/sdk/cloudfront/src/operation/get_key_group/builders.rs +++ b/sdk/cloudfront/src/operation/get_key_group/builders.rs @@ -20,9 +20,9 @@ impl GetKeyGroupFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -78,6 +78,20 @@ impl GetKeyGroupFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::get_key_group::GetKeyGroup, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

        The identifier of the key group that you are getting. To get the identifier, use ListKeyGroups.

        pub fn id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.id(input.into()); diff --git a/sdk/cloudfront/src/operation/get_key_group_config/builders.rs b/sdk/cloudfront/src/operation/get_key_group_config/builders.rs index a460d2655456..af776bcd6a97 100644 --- a/sdk/cloudfront/src/operation/get_key_group_config/builders.rs +++ b/sdk/cloudfront/src/operation/get_key_group_config/builders.rs @@ -20,9 +20,9 @@ impl GetKeyGroupConfigFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -84,6 +84,22 @@ impl GetKeyGroupConfigFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::get_key_group_config::GetKeyGroupConfig, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::get_key_group_config::GetKeyGroupConfigError, + >, + > { + self.customize_middleware().await + } ///

        The identifier of the key group whose configuration you are getting. To get the identifier, use ListKeyGroups.

        pub fn id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.id(input.into()); diff --git a/sdk/cloudfront/src/operation/get_monitoring_subscription/builders.rs b/sdk/cloudfront/src/operation/get_monitoring_subscription/builders.rs index f65ca8c3b40f..60c30dc07c3a 100644 --- a/sdk/cloudfront/src/operation/get_monitoring_subscription/builders.rs +++ b/sdk/cloudfront/src/operation/get_monitoring_subscription/builders.rs @@ -19,9 +19,9 @@ impl GetMonitoringSubscriptionFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl GetMonitoringSubscriptionFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::get_monitoring_subscription::GetMonitoringSubscription, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::get_monitoring_subscription::GetMonitoringSubscriptionError, + >, + > { + self.customize_middleware().await + } ///

        The ID of the distribution that you are getting metrics information for.

        pub fn distribution_id( mut self, diff --git a/sdk/cloudfront/src/operation/get_origin_access_control/builders.rs b/sdk/cloudfront/src/operation/get_origin_access_control/builders.rs index 2b92c3bbe7a3..764b261c9413 100644 --- a/sdk/cloudfront/src/operation/get_origin_access_control/builders.rs +++ b/sdk/cloudfront/src/operation/get_origin_access_control/builders.rs @@ -20,9 +20,9 @@ impl GetOriginAccessControlFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -84,6 +84,22 @@ impl GetOriginAccessControlFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::get_origin_access_control::GetOriginAccessControl, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::get_origin_access_control::GetOriginAccessControlError, + >, + > { + self.customize_middleware().await + } ///

        The unique identifier of the origin access control.

        pub fn id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.id(input.into()); diff --git a/sdk/cloudfront/src/operation/get_origin_access_control_config/builders.rs b/sdk/cloudfront/src/operation/get_origin_access_control_config/builders.rs index 32b8fc328025..9a5e0e6bec8d 100644 --- a/sdk/cloudfront/src/operation/get_origin_access_control_config/builders.rs +++ b/sdk/cloudfront/src/operation/get_origin_access_control_config/builders.rs @@ -19,9 +19,9 @@ impl GetOriginAccessControlConfigFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl GetOriginAccessControlConfigFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::get_origin_access_control_config::GetOriginAccessControlConfig, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::get_origin_access_control_config::GetOriginAccessControlConfigError, + >, + > { + self.customize_middleware().await + } ///

        The unique identifier of the origin access control.

        pub fn id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.id(input.into()); diff --git a/sdk/cloudfront/src/operation/get_origin_request_policy/builders.rs b/sdk/cloudfront/src/operation/get_origin_request_policy/builders.rs index 659f5df0a255..788a3880b51b 100644 --- a/sdk/cloudfront/src/operation/get_origin_request_policy/builders.rs +++ b/sdk/cloudfront/src/operation/get_origin_request_policy/builders.rs @@ -25,9 +25,9 @@ impl GetOriginRequestPolicyFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -89,6 +89,22 @@ impl GetOriginRequestPolicyFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::get_origin_request_policy::GetOriginRequestPolicy, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::get_origin_request_policy::GetOriginRequestPolicyError, + >, + > { + self.customize_middleware().await + } ///

        The unique identifier for the origin request policy. If the origin request policy is attached to a distribution's cache behavior, you can get the policy's identifier using ListDistributions or GetDistribution. If the origin request policy is not attached to a cache behavior, you can get the identifier using ListOriginRequestPolicies.

        pub fn id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.id(input.into()); diff --git a/sdk/cloudfront/src/operation/get_origin_request_policy_config/builders.rs b/sdk/cloudfront/src/operation/get_origin_request_policy_config/builders.rs index 57f83df36789..acd272912fc0 100644 --- a/sdk/cloudfront/src/operation/get_origin_request_policy_config/builders.rs +++ b/sdk/cloudfront/src/operation/get_origin_request_policy_config/builders.rs @@ -20,9 +20,9 @@ impl GetOriginRequestPolicyConfigFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -84,6 +84,22 @@ impl GetOriginRequestPolicyConfigFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::get_origin_request_policy_config::GetOriginRequestPolicyConfig, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::get_origin_request_policy_config::GetOriginRequestPolicyConfigError, + >, + > { + self.customize_middleware().await + } ///

        The unique identifier for the origin request policy. If the origin request policy is attached to a distribution's cache behavior, you can get the policy's identifier using ListDistributions or GetDistribution. If the origin request policy is not attached to a cache behavior, you can get the identifier using ListOriginRequestPolicies.

        pub fn id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.id(input.into()); diff --git a/sdk/cloudfront/src/operation/get_public_key/builders.rs b/sdk/cloudfront/src/operation/get_public_key/builders.rs index 0ce3ad89e8a2..a15474e80e50 100644 --- a/sdk/cloudfront/src/operation/get_public_key/builders.rs +++ b/sdk/cloudfront/src/operation/get_public_key/builders.rs @@ -19,9 +19,9 @@ impl GetPublicKeyFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl GetPublicKeyFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::get_public_key::GetPublicKey, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

        The identifier of the public key you are getting.

        pub fn id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.id(input.into()); diff --git a/sdk/cloudfront/src/operation/get_public_key_config/builders.rs b/sdk/cloudfront/src/operation/get_public_key_config/builders.rs index 462908a061a7..d4070ba65773 100644 --- a/sdk/cloudfront/src/operation/get_public_key_config/builders.rs +++ b/sdk/cloudfront/src/operation/get_public_key_config/builders.rs @@ -19,9 +19,9 @@ impl GetPublicKeyConfigFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl GetPublicKeyConfigFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::get_public_key_config::GetPublicKeyConfig, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::get_public_key_config::GetPublicKeyConfigError, + >, + > { + self.customize_middleware().await + } ///

        The identifier of the public key whose configuration you are getting.

        pub fn id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.id(input.into()); diff --git a/sdk/cloudfront/src/operation/get_realtime_log_config/builders.rs b/sdk/cloudfront/src/operation/get_realtime_log_config/builders.rs index aad5308ec0f5..3eff954926a2 100644 --- a/sdk/cloudfront/src/operation/get_realtime_log_config/builders.rs +++ b/sdk/cloudfront/src/operation/get_realtime_log_config/builders.rs @@ -20,9 +20,9 @@ impl GetRealtimeLogConfigFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -84,6 +84,22 @@ impl GetRealtimeLogConfigFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::get_realtime_log_config::GetRealtimeLogConfig, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::get_realtime_log_config::GetRealtimeLogConfigError, + >, + > { + self.customize_middleware().await + } ///

        The name of the real-time log configuration to get.

        pub fn name(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.name(input.into()); diff --git a/sdk/cloudfront/src/operation/get_response_headers_policy/builders.rs b/sdk/cloudfront/src/operation/get_response_headers_policy/builders.rs index 03851ed51580..6ba3eb1c83bf 100644 --- a/sdk/cloudfront/src/operation/get_response_headers_policy/builders.rs +++ b/sdk/cloudfront/src/operation/get_response_headers_policy/builders.rs @@ -20,9 +20,9 @@ impl GetResponseHeadersPolicyFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -84,6 +84,22 @@ impl GetResponseHeadersPolicyFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::get_response_headers_policy::GetResponseHeadersPolicy, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::get_response_headers_policy::GetResponseHeadersPolicyError, + >, + > { + self.customize_middleware().await + } ///

        The identifier for the response headers policy.

        ///

        If the response headers policy is attached to a distribution's cache behavior, you can get the policy's identifier using ListDistributions or GetDistribution. If the response headers policy is not attached to a cache behavior, you can get the identifier using ListResponseHeadersPolicies.

        pub fn id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { diff --git a/sdk/cloudfront/src/operation/get_response_headers_policy_config/builders.rs b/sdk/cloudfront/src/operation/get_response_headers_policy_config/builders.rs index 1283284912b8..c68c4cdaaa5b 100644 --- a/sdk/cloudfront/src/operation/get_response_headers_policy_config/builders.rs +++ b/sdk/cloudfront/src/operation/get_response_headers_policy_config/builders.rs @@ -20,9 +20,9 @@ impl GetResponseHeadersPolicyConfigFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize(self) -> ::std::result::Result< + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware(self) -> ::std::result::Result< crate::client::customize::CustomizableOperation, ::aws_smithy_http::result::SdkError >{ @@ -65,6 +65,15 @@ impl GetResponseHeadersPolicyConfigFluentBuilder { { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize(self) -> ::std::result::Result< + crate::client::customize::CustomizableOperation, + ::aws_smithy_http::result::SdkError + >{ + self.customize_middleware().await + } ///

        The identifier for the response headers policy.

        ///

        If the response headers policy is attached to a distribution's cache behavior, you can get the policy's identifier using ListDistributions or GetDistribution. If the response headers policy is not attached to a cache behavior, you can get the identifier using ListResponseHeadersPolicies.

        pub fn id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { diff --git a/sdk/cloudfront/src/operation/get_streaming_distribution/builders.rs b/sdk/cloudfront/src/operation/get_streaming_distribution/builders.rs index 975c29f9c4cb..2459e7f9fe63 100644 --- a/sdk/cloudfront/src/operation/get_streaming_distribution/builders.rs +++ b/sdk/cloudfront/src/operation/get_streaming_distribution/builders.rs @@ -19,9 +19,9 @@ impl GetStreamingDistributionFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl GetStreamingDistributionFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::get_streaming_distribution::GetStreamingDistribution, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::get_streaming_distribution::GetStreamingDistributionError, + >, + > { + self.customize_middleware().await + } ///

        The streaming distribution's ID.

        pub fn id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.id(input.into()); diff --git a/sdk/cloudfront/src/operation/get_streaming_distribution_config/builders.rs b/sdk/cloudfront/src/operation/get_streaming_distribution_config/builders.rs index 722b846cca42..6278dea6b913 100644 --- a/sdk/cloudfront/src/operation/get_streaming_distribution_config/builders.rs +++ b/sdk/cloudfront/src/operation/get_streaming_distribution_config/builders.rs @@ -19,9 +19,9 @@ impl GetStreamingDistributionConfigFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize(self) -> ::std::result::Result< + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware(self) -> ::std::result::Result< crate::client::customize::CustomizableOperation, ::aws_smithy_http::result::SdkError >{ @@ -64,6 +64,15 @@ impl GetStreamingDistributionConfigFluentBuilder { { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize(self) -> ::std::result::Result< + crate::client::customize::CustomizableOperation, + ::aws_smithy_http::result::SdkError + >{ + self.customize_middleware().await + } ///

        The streaming distribution's ID.

        pub fn id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.id(input.into()); diff --git a/sdk/cloudfront/src/operation/list_cache_policies/builders.rs b/sdk/cloudfront/src/operation/list_cache_policies/builders.rs index d0768d63a866..428f7503d742 100644 --- a/sdk/cloudfront/src/operation/list_cache_policies/builders.rs +++ b/sdk/cloudfront/src/operation/list_cache_policies/builders.rs @@ -21,9 +21,9 @@ impl ListCachePoliciesFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -85,6 +85,22 @@ impl ListCachePoliciesFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_cache_policies::ListCachePolicies, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::list_cache_policies::ListCachePoliciesError, + >, + > { + self.customize_middleware().await + } ///

        A filter to return only the specified kinds of cache policies. Valid values are:

        ///
          ///
        • managed – Returns only the managed policies created by Amazon Web Services.

        • diff --git a/sdk/cloudfront/src/operation/list_cloud_front_origin_access_identities/builders.rs b/sdk/cloudfront/src/operation/list_cloud_front_origin_access_identities/builders.rs index 8ed7a445bcbb..9a9c8a4e1480 100644 --- a/sdk/cloudfront/src/operation/list_cloud_front_origin_access_identities/builders.rs +++ b/sdk/cloudfront/src/operation/list_cloud_front_origin_access_identities/builders.rs @@ -19,9 +19,9 @@ impl ListCloudFrontOriginAccessIdentitiesFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize(self) -> ::std::result::Result< + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware(self) -> ::std::result::Result< crate::client::customize::CustomizableOperation, ::aws_smithy_http::result::SdkError >{ @@ -64,6 +64,15 @@ impl ListCloudFrontOriginAccessIdentitiesFluentBuilder { { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize(self) -> ::std::result::Result< + crate::client::customize::CustomizableOperation, + ::aws_smithy_http::result::SdkError + >{ + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::list_cloud_front_origin_access_identities::paginator::ListCloudFrontOriginAccessIdentitiesPaginator::send) which returns a `Stream`. diff --git a/sdk/cloudfront/src/operation/list_conflicting_aliases/builders.rs b/sdk/cloudfront/src/operation/list_conflicting_aliases/builders.rs index d299f346b534..b669ab87b507 100644 --- a/sdk/cloudfront/src/operation/list_conflicting_aliases/builders.rs +++ b/sdk/cloudfront/src/operation/list_conflicting_aliases/builders.rs @@ -22,9 +22,9 @@ impl ListConflictingAliasesFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -86,6 +86,22 @@ impl ListConflictingAliasesFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_conflicting_aliases::ListConflictingAliases, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::list_conflicting_aliases::ListConflictingAliasesError, + >, + > { + self.customize_middleware().await + } ///

          The ID of a distribution in your account that has an attached SSL/TLS certificate that includes the provided alias.

          pub fn distribution_id( mut self, diff --git a/sdk/cloudfront/src/operation/list_continuous_deployment_policies/builders.rs b/sdk/cloudfront/src/operation/list_continuous_deployment_policies/builders.rs index 2178eff99295..96a45535baa2 100644 --- a/sdk/cloudfront/src/operation/list_continuous_deployment_policies/builders.rs +++ b/sdk/cloudfront/src/operation/list_continuous_deployment_policies/builders.rs @@ -20,9 +20,9 @@ impl ListContinuousDeploymentPoliciesFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize(self) -> ::std::result::Result< + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware(self) -> ::std::result::Result< crate::client::customize::CustomizableOperation, ::aws_smithy_http::result::SdkError >{ @@ -65,6 +65,15 @@ impl ListContinuousDeploymentPoliciesFluentBuilder { { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize(self) -> ::std::result::Result< + crate::client::customize::CustomizableOperation, + ::aws_smithy_http::result::SdkError + >{ + self.customize_middleware().await + } ///

          Use this field when paginating results to indicate where to begin in your list of continuous deployment policies. The response includes policies in the list that occur after the marker. To get the next page of the list, set this field's value to the value of NextMarker from the current page's response.

          pub fn marker(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.marker(input.into()); diff --git a/sdk/cloudfront/src/operation/list_distributions/builders.rs b/sdk/cloudfront/src/operation/list_distributions/builders.rs index cc17da9641d4..14a35d77ca80 100644 --- a/sdk/cloudfront/src/operation/list_distributions/builders.rs +++ b/sdk/cloudfront/src/operation/list_distributions/builders.rs @@ -19,9 +19,9 @@ impl ListDistributionsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl ListDistributionsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_distributions::ListDistributions, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::list_distributions::ListDistributionsError, + >, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::list_distributions::paginator::ListDistributionsPaginator::send) which returns a `Stream`. diff --git a/sdk/cloudfront/src/operation/list_distributions_by_cache_policy_id/builders.rs b/sdk/cloudfront/src/operation/list_distributions_by_cache_policy_id/builders.rs index 908a1e17bd2e..8c9cfecbcdcf 100644 --- a/sdk/cloudfront/src/operation/list_distributions_by_cache_policy_id/builders.rs +++ b/sdk/cloudfront/src/operation/list_distributions_by_cache_policy_id/builders.rs @@ -20,9 +20,9 @@ impl ListDistributionsByCachePolicyIdFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize(self) -> ::std::result::Result< + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware(self) -> ::std::result::Result< crate::client::customize::CustomizableOperation, ::aws_smithy_http::result::SdkError >{ @@ -65,6 +65,15 @@ impl ListDistributionsByCachePolicyIdFluentBuilder { { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize(self) -> ::std::result::Result< + crate::client::customize::CustomizableOperation, + ::aws_smithy_http::result::SdkError + >{ + self.customize_middleware().await + } ///

          Use this field when paginating results to indicate where to begin in your list of distribution IDs. The response includes distribution IDs in the list that occur after the marker. To get the next page of the list, set this field's value to the value of NextMarker from the current page's response.

          pub fn marker(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.marker(input.into()); diff --git a/sdk/cloudfront/src/operation/list_distributions_by_key_group/builders.rs b/sdk/cloudfront/src/operation/list_distributions_by_key_group/builders.rs index 0f5be7eebe7c..600684cc502d 100644 --- a/sdk/cloudfront/src/operation/list_distributions_by_key_group/builders.rs +++ b/sdk/cloudfront/src/operation/list_distributions_by_key_group/builders.rs @@ -20,9 +20,9 @@ impl ListDistributionsByKeyGroupFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -84,6 +84,22 @@ impl ListDistributionsByKeyGroupFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_distributions_by_key_group::ListDistributionsByKeyGroup, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::list_distributions_by_key_group::ListDistributionsByKeyGroupError, + >, + > { + self.customize_middleware().await + } ///

          Use this field when paginating results to indicate where to begin in your list of distribution IDs. The response includes distribution IDs in the list that occur after the marker. To get the next page of the list, set this field's value to the value of NextMarker from the current page's response.

          pub fn marker(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.marker(input.into()); diff --git a/sdk/cloudfront/src/operation/list_distributions_by_origin_request_policy_id/builders.rs b/sdk/cloudfront/src/operation/list_distributions_by_origin_request_policy_id/builders.rs index d2d8db573a51..d2452e90e3ca 100644 --- a/sdk/cloudfront/src/operation/list_distributions_by_origin_request_policy_id/builders.rs +++ b/sdk/cloudfront/src/operation/list_distributions_by_origin_request_policy_id/builders.rs @@ -20,9 +20,9 @@ impl ListDistributionsByOriginRequestPolicyIdFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize(self) -> ::std::result::Result< + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware(self) -> ::std::result::Result< crate::client::customize::CustomizableOperation, ::aws_smithy_http::result::SdkError >{ @@ -65,6 +65,15 @@ impl ListDistributionsByOriginRequestPolicyIdFluentBuilder { { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize(self) -> ::std::result::Result< + crate::client::customize::CustomizableOperation, + ::aws_smithy_http::result::SdkError + >{ + self.customize_middleware().await + } ///

          Use this field when paginating results to indicate where to begin in your list of distribution IDs. The response includes distribution IDs in the list that occur after the marker. To get the next page of the list, set this field's value to the value of NextMarker from the current page's response.

          pub fn marker(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.marker(input.into()); diff --git a/sdk/cloudfront/src/operation/list_distributions_by_realtime_log_config/builders.rs b/sdk/cloudfront/src/operation/list_distributions_by_realtime_log_config/builders.rs index 1014d40a7312..e70bbc52690f 100644 --- a/sdk/cloudfront/src/operation/list_distributions_by_realtime_log_config/builders.rs +++ b/sdk/cloudfront/src/operation/list_distributions_by_realtime_log_config/builders.rs @@ -21,9 +21,9 @@ impl ListDistributionsByRealtimeLogConfigFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize(self) -> ::std::result::Result< + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware(self) -> ::std::result::Result< crate::client::customize::CustomizableOperation, ::aws_smithy_http::result::SdkError >{ @@ -66,6 +66,15 @@ impl ListDistributionsByRealtimeLogConfigFluentBuilder { { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize(self) -> ::std::result::Result< + crate::client::customize::CustomizableOperation, + ::aws_smithy_http::result::SdkError + >{ + self.customize_middleware().await + } ///

          Use this field when paginating results to indicate where to begin in your list of distributions. The response includes distributions in the list that occur after the marker. To get the next page of the list, set this field's value to the value of NextMarker from the current page's response.

          pub fn marker(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.marker(input.into()); diff --git a/sdk/cloudfront/src/operation/list_distributions_by_response_headers_policy_id/builders.rs b/sdk/cloudfront/src/operation/list_distributions_by_response_headers_policy_id/builders.rs index b7f580bc7a57..8dd5710a7378 100644 --- a/sdk/cloudfront/src/operation/list_distributions_by_response_headers_policy_id/builders.rs +++ b/sdk/cloudfront/src/operation/list_distributions_by_response_headers_policy_id/builders.rs @@ -20,9 +20,9 @@ impl ListDistributionsByResponseHeadersPolicyIdFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize(self) -> ::std::result::Result< + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware(self) -> ::std::result::Result< crate::client::customize::CustomizableOperation, ::aws_smithy_http::result::SdkError >{ @@ -65,6 +65,15 @@ impl ListDistributionsByResponseHeadersPolicyIdFluentBuilder { { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize(self) -> ::std::result::Result< + crate::client::customize::CustomizableOperation, + ::aws_smithy_http::result::SdkError + >{ + self.customize_middleware().await + } ///

          Use this field when paginating results to indicate where to begin in your list of distribution IDs. The response includes distribution IDs in the list that occur after the marker. To get the next page of the list, set this field's value to the value of NextMarker from the current page's response.

          pub fn marker(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.marker(input.into()); diff --git a/sdk/cloudfront/src/operation/list_distributions_by_web_acl_id/builders.rs b/sdk/cloudfront/src/operation/list_distributions_by_web_acl_id/builders.rs index 3707080a21ea..fed667c37117 100644 --- a/sdk/cloudfront/src/operation/list_distributions_by_web_acl_id/builders.rs +++ b/sdk/cloudfront/src/operation/list_distributions_by_web_acl_id/builders.rs @@ -19,9 +19,9 @@ impl ListDistributionsByWebACLIdFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl ListDistributionsByWebACLIdFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_distributions_by_web_acl_id::ListDistributionsByWebACLId, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::list_distributions_by_web_acl_id::ListDistributionsByWebACLIdError, + >, + > { + self.customize_middleware().await + } ///

          Use Marker and MaxItems to control pagination of results. If you have more than MaxItems distributions that satisfy the request, the response includes a NextMarker element. To get the next page of results, submit another request. For the value of Marker, specify the value of NextMarker from the last response. (For the first request, omit Marker.)

          pub fn marker(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.marker(input.into()); diff --git a/sdk/cloudfront/src/operation/list_field_level_encryption_configs/builders.rs b/sdk/cloudfront/src/operation/list_field_level_encryption_configs/builders.rs index a3afd7d995ec..75c86712f81b 100644 --- a/sdk/cloudfront/src/operation/list_field_level_encryption_configs/builders.rs +++ b/sdk/cloudfront/src/operation/list_field_level_encryption_configs/builders.rs @@ -19,9 +19,9 @@ impl ListFieldLevelEncryptionConfigsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize(self) -> ::std::result::Result< + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware(self) -> ::std::result::Result< crate::client::customize::CustomizableOperation, ::aws_smithy_http::result::SdkError >{ @@ -64,6 +64,15 @@ impl ListFieldLevelEncryptionConfigsFluentBuilder { { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize(self) -> ::std::result::Result< + crate::client::customize::CustomizableOperation, + ::aws_smithy_http::result::SdkError + >{ + self.customize_middleware().await + } ///

          Use this when paginating results to indicate where to begin in your list of configurations. The results include configurations in the list that occur after the marker. To get the next page of results, set the Marker to the value of the NextMarker from the current page's response (which is also the ID of the last configuration on that page).

          pub fn marker(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.marker(input.into()); diff --git a/sdk/cloudfront/src/operation/list_field_level_encryption_profiles/builders.rs b/sdk/cloudfront/src/operation/list_field_level_encryption_profiles/builders.rs index 4e5ab5374cdb..a3243d9d84c9 100644 --- a/sdk/cloudfront/src/operation/list_field_level_encryption_profiles/builders.rs +++ b/sdk/cloudfront/src/operation/list_field_level_encryption_profiles/builders.rs @@ -19,9 +19,9 @@ impl ListFieldLevelEncryptionProfilesFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize(self) -> ::std::result::Result< + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware(self) -> ::std::result::Result< crate::client::customize::CustomizableOperation, ::aws_smithy_http::result::SdkError >{ @@ -64,6 +64,15 @@ impl ListFieldLevelEncryptionProfilesFluentBuilder { { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize(self) -> ::std::result::Result< + crate::client::customize::CustomizableOperation, + ::aws_smithy_http::result::SdkError + >{ + self.customize_middleware().await + } ///

          Use this when paginating results to indicate where to begin in your list of profiles. The results include profiles in the list that occur after the marker. To get the next page of results, set the Marker to the value of the NextMarker from the current page's response (which is also the ID of the last profile on that page).

          pub fn marker(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.marker(input.into()); diff --git a/sdk/cloudfront/src/operation/list_functions/builders.rs b/sdk/cloudfront/src/operation/list_functions/builders.rs index 660ed28a641b..4a11ca29b2c4 100644 --- a/sdk/cloudfront/src/operation/list_functions/builders.rs +++ b/sdk/cloudfront/src/operation/list_functions/builders.rs @@ -21,9 +21,9 @@ impl ListFunctionsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -79,6 +79,20 @@ impl ListFunctionsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_functions::ListFunctions, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

          Use this field when paginating results to indicate where to begin in your list of functions. The response includes functions in the list that occur after the marker. To get the next page of the list, set this field's value to the value of NextMarker from the current page's response.

          pub fn marker(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.marker(input.into()); diff --git a/sdk/cloudfront/src/operation/list_invalidations/builders.rs b/sdk/cloudfront/src/operation/list_invalidations/builders.rs index f32aa367ce69..ed0ac172ae68 100644 --- a/sdk/cloudfront/src/operation/list_invalidations/builders.rs +++ b/sdk/cloudfront/src/operation/list_invalidations/builders.rs @@ -19,9 +19,9 @@ impl ListInvalidationsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl ListInvalidationsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_invalidations::ListInvalidations, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::list_invalidations::ListInvalidationsError, + >, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::list_invalidations::paginator::ListInvalidationsPaginator::send) which returns a `Stream`. diff --git a/sdk/cloudfront/src/operation/list_key_groups/builders.rs b/sdk/cloudfront/src/operation/list_key_groups/builders.rs index 1105f730a69e..18306edf9996 100644 --- a/sdk/cloudfront/src/operation/list_key_groups/builders.rs +++ b/sdk/cloudfront/src/operation/list_key_groups/builders.rs @@ -20,9 +20,9 @@ impl ListKeyGroupsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -78,6 +78,20 @@ impl ListKeyGroupsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_key_groups::ListKeyGroups, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

          Use this field when paginating results to indicate where to begin in your list of key groups. The response includes key groups in the list that occur after the marker. To get the next page of the list, set this field's value to the value of NextMarker from the current page's response.

          pub fn marker(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.marker(input.into()); diff --git a/sdk/cloudfront/src/operation/list_origin_access_controls/builders.rs b/sdk/cloudfront/src/operation/list_origin_access_controls/builders.rs index 6823fcec589c..1126bf80c764 100644 --- a/sdk/cloudfront/src/operation/list_origin_access_controls/builders.rs +++ b/sdk/cloudfront/src/operation/list_origin_access_controls/builders.rs @@ -20,9 +20,9 @@ impl ListOriginAccessControlsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -84,6 +84,22 @@ impl ListOriginAccessControlsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_origin_access_controls::ListOriginAccessControls, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::list_origin_access_controls::ListOriginAccessControlsError, + >, + > { + self.customize_middleware().await + } ///

          Use this field when paginating results to indicate where to begin in your list of origin access controls. The response includes the items in the list that occur after the marker. To get the next page of the list, set this field's value to the value of NextMarker from the current page's response.

          pub fn marker(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.marker(input.into()); diff --git a/sdk/cloudfront/src/operation/list_origin_request_policies/builders.rs b/sdk/cloudfront/src/operation/list_origin_request_policies/builders.rs index f840d4b17d5c..458b07adff5f 100644 --- a/sdk/cloudfront/src/operation/list_origin_request_policies/builders.rs +++ b/sdk/cloudfront/src/operation/list_origin_request_policies/builders.rs @@ -21,9 +21,9 @@ impl ListOriginRequestPoliciesFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -85,6 +85,22 @@ impl ListOriginRequestPoliciesFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_origin_request_policies::ListOriginRequestPolicies, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::list_origin_request_policies::ListOriginRequestPoliciesError, + >, + > { + self.customize_middleware().await + } ///

          A filter to return only the specified kinds of origin request policies. Valid values are:

          ///
            ///
          • managed – Returns only the managed policies created by Amazon Web Services.

          • diff --git a/sdk/cloudfront/src/operation/list_public_keys/builders.rs b/sdk/cloudfront/src/operation/list_public_keys/builders.rs index ab32491b01c5..b6f02ffb60a5 100644 --- a/sdk/cloudfront/src/operation/list_public_keys/builders.rs +++ b/sdk/cloudfront/src/operation/list_public_keys/builders.rs @@ -19,9 +19,9 @@ impl ListPublicKeysFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl ListPublicKeysFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_public_keys::ListPublicKeys, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::list_public_keys::ListPublicKeysError, + >, + > { + self.customize_middleware().await + } ///

            Use this when paginating results to indicate where to begin in your list of public keys. The results include public keys in the list that occur after the marker. To get the next page of results, set the Marker to the value of the NextMarker from the current page's response (which is also the ID of the last public key on that page).

            pub fn marker(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.marker(input.into()); diff --git a/sdk/cloudfront/src/operation/list_realtime_log_configs/builders.rs b/sdk/cloudfront/src/operation/list_realtime_log_configs/builders.rs index 8a838992c892..9872273bfa4d 100644 --- a/sdk/cloudfront/src/operation/list_realtime_log_configs/builders.rs +++ b/sdk/cloudfront/src/operation/list_realtime_log_configs/builders.rs @@ -21,9 +21,9 @@ impl ListRealtimeLogConfigsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -85,6 +85,22 @@ impl ListRealtimeLogConfigsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_realtime_log_configs::ListRealtimeLogConfigs, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::list_realtime_log_configs::ListRealtimeLogConfigsError, + >, + > { + self.customize_middleware().await + } ///

            The maximum number of real-time log configurations that you want in the response.

            pub fn max_items(mut self, input: i32) -> Self { self.inner = self.inner.max_items(input); diff --git a/sdk/cloudfront/src/operation/list_response_headers_policies/builders.rs b/sdk/cloudfront/src/operation/list_response_headers_policies/builders.rs index 138a3327e82f..6a992e408278 100644 --- a/sdk/cloudfront/src/operation/list_response_headers_policies/builders.rs +++ b/sdk/cloudfront/src/operation/list_response_headers_policies/builders.rs @@ -21,9 +21,9 @@ impl ListResponseHeadersPoliciesFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -85,6 +85,22 @@ impl ListResponseHeadersPoliciesFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_response_headers_policies::ListResponseHeadersPolicies, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::list_response_headers_policies::ListResponseHeadersPoliciesError, + >, + > { + self.customize_middleware().await + } ///

            A filter to get only the specified kind of response headers policies. Valid values are:

            ///
              ///
            • managed – Gets only the managed policies created by Amazon Web Services.

            • diff --git a/sdk/cloudfront/src/operation/list_streaming_distributions/builders.rs b/sdk/cloudfront/src/operation/list_streaming_distributions/builders.rs index e66d74eb1f5c..e1cf59575d19 100644 --- a/sdk/cloudfront/src/operation/list_streaming_distributions/builders.rs +++ b/sdk/cloudfront/src/operation/list_streaming_distributions/builders.rs @@ -19,9 +19,9 @@ impl ListStreamingDistributionsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl ListStreamingDistributionsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_streaming_distributions::ListStreamingDistributions, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::list_streaming_distributions::ListStreamingDistributionsError, + >, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::list_streaming_distributions::paginator::ListStreamingDistributionsPaginator::send) which returns a `Stream`. diff --git a/sdk/cloudfront/src/operation/list_tags_for_resource/builders.rs b/sdk/cloudfront/src/operation/list_tags_for_resource/builders.rs index 1cca18fa96eb..b64c065fb1fd 100644 --- a/sdk/cloudfront/src/operation/list_tags_for_resource/builders.rs +++ b/sdk/cloudfront/src/operation/list_tags_for_resource/builders.rs @@ -19,9 +19,9 @@ impl ListTagsForResourceFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl ListTagsForResourceFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_tags_for_resource::ListTagsForResource, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::list_tags_for_resource::ListTagsForResourceError, + >, + > { + self.customize_middleware().await + } ///

              An ARN of a CloudFront resource.

              pub fn resource(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.resource(input.into()); diff --git a/sdk/cloudfront/src/operation/publish_function/builders.rs b/sdk/cloudfront/src/operation/publish_function/builders.rs index 9d1046a59cb6..5eda635faae6 100644 --- a/sdk/cloudfront/src/operation/publish_function/builders.rs +++ b/sdk/cloudfront/src/operation/publish_function/builders.rs @@ -21,9 +21,9 @@ impl PublishFunctionFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -85,6 +85,22 @@ impl PublishFunctionFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::publish_function::PublishFunction, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::publish_function::PublishFunctionError, + >, + > { + self.customize_middleware().await + } ///

              The name of the function that you are publishing.

              pub fn name(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.name(input.into()); diff --git a/sdk/cloudfront/src/operation/tag_resource/builders.rs b/sdk/cloudfront/src/operation/tag_resource/builders.rs index 5079bb7d4cc3..87e55c437dc4 100644 --- a/sdk/cloudfront/src/operation/tag_resource/builders.rs +++ b/sdk/cloudfront/src/operation/tag_resource/builders.rs @@ -19,9 +19,9 @@ impl TagResourceFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl TagResourceFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::tag_resource::TagResource, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

              An ARN of a CloudFront resource.

              pub fn resource(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.resource(input.into()); diff --git a/sdk/cloudfront/src/operation/test_function/builders.rs b/sdk/cloudfront/src/operation/test_function/builders.rs index 59bcc5812a2b..99e3759e0ba4 100644 --- a/sdk/cloudfront/src/operation/test_function/builders.rs +++ b/sdk/cloudfront/src/operation/test_function/builders.rs @@ -21,9 +21,9 @@ impl TestFunctionFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -79,6 +79,20 @@ impl TestFunctionFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::test_function::TestFunction, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

              The name of the function that you are testing.

              pub fn name(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.name(input.into()); diff --git a/sdk/cloudfront/src/operation/untag_resource/builders.rs b/sdk/cloudfront/src/operation/untag_resource/builders.rs index 501c652e50ea..e5db09c936e5 100644 --- a/sdk/cloudfront/src/operation/untag_resource/builders.rs +++ b/sdk/cloudfront/src/operation/untag_resource/builders.rs @@ -19,9 +19,9 @@ impl UntagResourceFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl UntagResourceFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::untag_resource::UntagResource, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

              An ARN of a CloudFront resource.

              pub fn resource(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.resource(input.into()); diff --git a/sdk/cloudfront/src/operation/update_cache_policy/builders.rs b/sdk/cloudfront/src/operation/update_cache_policy/builders.rs index 757e97d7dcec..527812fef546 100644 --- a/sdk/cloudfront/src/operation/update_cache_policy/builders.rs +++ b/sdk/cloudfront/src/operation/update_cache_policy/builders.rs @@ -25,9 +25,9 @@ impl UpdateCachePolicyFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -89,6 +89,22 @@ impl UpdateCachePolicyFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::update_cache_policy::UpdateCachePolicy, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::update_cache_policy::UpdateCachePolicyError, + >, + > { + self.customize_middleware().await + } ///

              A cache policy configuration.

              pub fn cache_policy_config(mut self, input: crate::types::CachePolicyConfig) -> Self { self.inner = self.inner.cache_policy_config(input); diff --git a/sdk/cloudfront/src/operation/update_cloud_front_origin_access_identity/builders.rs b/sdk/cloudfront/src/operation/update_cloud_front_origin_access_identity/builders.rs index f9f7e5b6bef8..019a5e3b9901 100644 --- a/sdk/cloudfront/src/operation/update_cloud_front_origin_access_identity/builders.rs +++ b/sdk/cloudfront/src/operation/update_cloud_front_origin_access_identity/builders.rs @@ -19,9 +19,9 @@ impl UpdateCloudFrontOriginAccessIdentityFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize(self) -> ::std::result::Result< + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware(self) -> ::std::result::Result< crate::client::customize::CustomizableOperation, ::aws_smithy_http::result::SdkError >{ @@ -64,6 +64,15 @@ impl UpdateCloudFrontOriginAccessIdentityFluentBuilder { { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize(self) -> ::std::result::Result< + crate::client::customize::CustomizableOperation, + ::aws_smithy_http::result::SdkError + >{ + self.customize_middleware().await + } ///

              The identity's configuration information.

              pub fn cloud_front_origin_access_identity_config( mut self, diff --git a/sdk/cloudfront/src/operation/update_continuous_deployment_policy/builders.rs b/sdk/cloudfront/src/operation/update_continuous_deployment_policy/builders.rs index 582f3c32a5d9..1c2a4500ef14 100644 --- a/sdk/cloudfront/src/operation/update_continuous_deployment_policy/builders.rs +++ b/sdk/cloudfront/src/operation/update_continuous_deployment_policy/builders.rs @@ -25,9 +25,9 @@ impl UpdateContinuousDeploymentPolicyFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize(self) -> ::std::result::Result< + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware(self) -> ::std::result::Result< crate::client::customize::CustomizableOperation, ::aws_smithy_http::result::SdkError >{ @@ -70,6 +70,15 @@ impl UpdateContinuousDeploymentPolicyFluentBuilder { { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize(self) -> ::std::result::Result< + crate::client::customize::CustomizableOperation, + ::aws_smithy_http::result::SdkError + >{ + self.customize_middleware().await + } ///

              The continuous deployment policy configuration.

              pub fn continuous_deployment_policy_config( mut self, diff --git a/sdk/cloudfront/src/operation/update_distribution/builders.rs b/sdk/cloudfront/src/operation/update_distribution/builders.rs index 129ae6f8e10c..dd80292bd79e 100644 --- a/sdk/cloudfront/src/operation/update_distribution/builders.rs +++ b/sdk/cloudfront/src/operation/update_distribution/builders.rs @@ -30,9 +30,9 @@ impl UpdateDistributionFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -94,6 +94,22 @@ impl UpdateDistributionFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::update_distribution::UpdateDistribution, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::update_distribution::UpdateDistributionError, + >, + > { + self.customize_middleware().await + } ///

              The distribution's configuration information.

              pub fn distribution_config(mut self, input: crate::types::DistributionConfig) -> Self { self.inner = self.inner.distribution_config(input); diff --git a/sdk/cloudfront/src/operation/update_distribution_with_staging_config/builders.rs b/sdk/cloudfront/src/operation/update_distribution_with_staging_config/builders.rs index 41778ea055dd..f595710dd78b 100644 --- a/sdk/cloudfront/src/operation/update_distribution_with_staging_config/builders.rs +++ b/sdk/cloudfront/src/operation/update_distribution_with_staging_config/builders.rs @@ -20,9 +20,9 @@ impl UpdateDistributionWithStagingConfigFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize(self) -> ::std::result::Result< + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware(self) -> ::std::result::Result< crate::client::customize::CustomizableOperation, ::aws_smithy_http::result::SdkError >{ @@ -65,6 +65,15 @@ impl UpdateDistributionWithStagingConfigFluentBuilder { { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize(self) -> ::std::result::Result< + crate::client::customize::CustomizableOperation, + ::aws_smithy_http::result::SdkError + >{ + self.customize_middleware().await + } ///

              The identifier of the primary distribution to which you are copying a staging distribution's configuration.

              pub fn id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.id(input.into()); diff --git a/sdk/cloudfront/src/operation/update_field_level_encryption_config/builders.rs b/sdk/cloudfront/src/operation/update_field_level_encryption_config/builders.rs index 7bb820680030..60f92916c9aa 100644 --- a/sdk/cloudfront/src/operation/update_field_level_encryption_config/builders.rs +++ b/sdk/cloudfront/src/operation/update_field_level_encryption_config/builders.rs @@ -19,9 +19,9 @@ impl UpdateFieldLevelEncryptionConfigFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize(self) -> ::std::result::Result< + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware(self) -> ::std::result::Result< crate::client::customize::CustomizableOperation, ::aws_smithy_http::result::SdkError >{ @@ -64,6 +64,15 @@ impl UpdateFieldLevelEncryptionConfigFluentBuilder { { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize(self) -> ::std::result::Result< + crate::client::customize::CustomizableOperation, + ::aws_smithy_http::result::SdkError + >{ + self.customize_middleware().await + } ///

              Request to update a field-level encryption configuration.

              pub fn field_level_encryption_config( mut self, diff --git a/sdk/cloudfront/src/operation/update_field_level_encryption_profile/builders.rs b/sdk/cloudfront/src/operation/update_field_level_encryption_profile/builders.rs index e51cc43e2b20..ec9b5779bb74 100644 --- a/sdk/cloudfront/src/operation/update_field_level_encryption_profile/builders.rs +++ b/sdk/cloudfront/src/operation/update_field_level_encryption_profile/builders.rs @@ -19,9 +19,9 @@ impl UpdateFieldLevelEncryptionProfileFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize(self) -> ::std::result::Result< + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware(self) -> ::std::result::Result< crate::client::customize::CustomizableOperation, ::aws_smithy_http::result::SdkError >{ @@ -64,6 +64,15 @@ impl UpdateFieldLevelEncryptionProfileFluentBuilder { { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize(self) -> ::std::result::Result< + crate::client::customize::CustomizableOperation, + ::aws_smithy_http::result::SdkError + >{ + self.customize_middleware().await + } ///

              Request to update a field-level encryption profile.

              pub fn field_level_encryption_profile_config( mut self, diff --git a/sdk/cloudfront/src/operation/update_function/builders.rs b/sdk/cloudfront/src/operation/update_function/builders.rs index b7e9911bace7..86864498e30e 100644 --- a/sdk/cloudfront/src/operation/update_function/builders.rs +++ b/sdk/cloudfront/src/operation/update_function/builders.rs @@ -21,9 +21,9 @@ impl UpdateFunctionFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -79,6 +79,20 @@ impl UpdateFunctionFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::update_function::UpdateFunction, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

              The name of the function that you are updating.

              pub fn name(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.name(input.into()); diff --git a/sdk/cloudfront/src/operation/update_key_group/builders.rs b/sdk/cloudfront/src/operation/update_key_group/builders.rs index 218c812b6d97..2a175d9a8ccd 100644 --- a/sdk/cloudfront/src/operation/update_key_group/builders.rs +++ b/sdk/cloudfront/src/operation/update_key_group/builders.rs @@ -25,9 +25,9 @@ impl UpdateKeyGroupFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -89,6 +89,22 @@ impl UpdateKeyGroupFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::update_key_group::UpdateKeyGroup, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::update_key_group::UpdateKeyGroupError, + >, + > { + self.customize_middleware().await + } ///

              The key group configuration.

              pub fn key_group_config(mut self, input: crate::types::KeyGroupConfig) -> Self { self.inner = self.inner.key_group_config(input); diff --git a/sdk/cloudfront/src/operation/update_origin_access_control/builders.rs b/sdk/cloudfront/src/operation/update_origin_access_control/builders.rs index 728444703c3b..8e3bcf26c79e 100644 --- a/sdk/cloudfront/src/operation/update_origin_access_control/builders.rs +++ b/sdk/cloudfront/src/operation/update_origin_access_control/builders.rs @@ -19,9 +19,9 @@ impl UpdateOriginAccessControlFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl UpdateOriginAccessControlFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::update_origin_access_control::UpdateOriginAccessControl, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::update_origin_access_control::UpdateOriginAccessControlError, + >, + > { + self.customize_middleware().await + } ///

              An origin access control.

              pub fn origin_access_control_config( mut self, diff --git a/sdk/cloudfront/src/operation/update_origin_request_policy/builders.rs b/sdk/cloudfront/src/operation/update_origin_request_policy/builders.rs index 7cc80dec400e..74b6e8b621fc 100644 --- a/sdk/cloudfront/src/operation/update_origin_request_policy/builders.rs +++ b/sdk/cloudfront/src/operation/update_origin_request_policy/builders.rs @@ -25,9 +25,9 @@ impl UpdateOriginRequestPolicyFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -89,6 +89,22 @@ impl UpdateOriginRequestPolicyFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::update_origin_request_policy::UpdateOriginRequestPolicy, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::update_origin_request_policy::UpdateOriginRequestPolicyError, + >, + > { + self.customize_middleware().await + } ///

              An origin request policy configuration.

              pub fn origin_request_policy_config( mut self, diff --git a/sdk/cloudfront/src/operation/update_public_key/builders.rs b/sdk/cloudfront/src/operation/update_public_key/builders.rs index 1af574ad9485..14373b752829 100644 --- a/sdk/cloudfront/src/operation/update_public_key/builders.rs +++ b/sdk/cloudfront/src/operation/update_public_key/builders.rs @@ -19,9 +19,9 @@ impl UpdatePublicKeyFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl UpdatePublicKeyFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::update_public_key::UpdatePublicKey, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::update_public_key::UpdatePublicKeyError, + >, + > { + self.customize_middleware().await + } ///

              A public key configuration.

              pub fn public_key_config(mut self, input: crate::types::PublicKeyConfig) -> Self { self.inner = self.inner.public_key_config(input); diff --git a/sdk/cloudfront/src/operation/update_realtime_log_config/builders.rs b/sdk/cloudfront/src/operation/update_realtime_log_config/builders.rs index 37afe4369942..8a9c2b02a52e 100644 --- a/sdk/cloudfront/src/operation/update_realtime_log_config/builders.rs +++ b/sdk/cloudfront/src/operation/update_realtime_log_config/builders.rs @@ -27,9 +27,9 @@ impl UpdateRealtimeLogConfigFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -91,6 +91,22 @@ impl UpdateRealtimeLogConfigFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::update_realtime_log_config::UpdateRealtimeLogConfig, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::update_realtime_log_config::UpdateRealtimeLogConfigError, + >, + > { + self.customize_middleware().await + } /// Appends an item to `EndPoints`. /// /// To override the contents of this collection use [`set_end_points`](Self::set_end_points). diff --git a/sdk/cloudfront/src/operation/update_response_headers_policy/builders.rs b/sdk/cloudfront/src/operation/update_response_headers_policy/builders.rs index c093c3842918..f56ac88bae70 100644 --- a/sdk/cloudfront/src/operation/update_response_headers_policy/builders.rs +++ b/sdk/cloudfront/src/operation/update_response_headers_policy/builders.rs @@ -25,9 +25,9 @@ impl UpdateResponseHeadersPolicyFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -89,6 +89,22 @@ impl UpdateResponseHeadersPolicyFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::update_response_headers_policy::UpdateResponseHeadersPolicy, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::update_response_headers_policy::UpdateResponseHeadersPolicyError, + >, + > { + self.customize_middleware().await + } ///

              A response headers policy configuration.

              pub fn response_headers_policy_config( mut self, diff --git a/sdk/cloudfront/src/operation/update_streaming_distribution/builders.rs b/sdk/cloudfront/src/operation/update_streaming_distribution/builders.rs index ce078995f60b..ad3cdffd111f 100644 --- a/sdk/cloudfront/src/operation/update_streaming_distribution/builders.rs +++ b/sdk/cloudfront/src/operation/update_streaming_distribution/builders.rs @@ -19,9 +19,9 @@ impl UpdateStreamingDistributionFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl UpdateStreamingDistributionFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::update_streaming_distribution::UpdateStreamingDistribution, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::update_streaming_distribution::UpdateStreamingDistributionError, + >, + > { + self.customize_middleware().await + } ///

              The streaming distribution's configuration information.

              pub fn streaming_distribution_config( mut self, diff --git a/sdk/cloudhsm/src/operation/add_tags_to_resource/builders.rs b/sdk/cloudhsm/src/operation/add_tags_to_resource/builders.rs index 37374e7aaf7b..4aa39dfb7d6b 100644 --- a/sdk/cloudhsm/src/operation/add_tags_to_resource/builders.rs +++ b/sdk/cloudhsm/src/operation/add_tags_to_resource/builders.rs @@ -22,9 +22,9 @@ impl AddTagsToResourceFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -86,6 +86,22 @@ impl AddTagsToResourceFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::add_tags_to_resource::AddTagsToResource, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::add_tags_to_resource::AddTagsToResourceError, + >, + > { + self.customize_middleware().await + } ///

              The Amazon Resource Name (ARN) of the AWS CloudHSM resource to tag.

              pub fn resource_arn(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.resource_arn(input.into()); diff --git a/sdk/cloudhsm/src/operation/create_hapg/builders.rs b/sdk/cloudhsm/src/operation/create_hapg/builders.rs index e6ee831f75b2..e50ba875cae0 100644 --- a/sdk/cloudhsm/src/operation/create_hapg/builders.rs +++ b/sdk/cloudhsm/src/operation/create_hapg/builders.rs @@ -21,9 +21,9 @@ impl CreateHapgFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -79,6 +79,20 @@ impl CreateHapgFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::create_hapg::CreateHapg, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

              The label of the new high-availability partition group.

              pub fn label(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.label(input.into()); diff --git a/sdk/cloudhsm/src/operation/create_hsm/builders.rs b/sdk/cloudhsm/src/operation/create_hsm/builders.rs index f90a144b7ef9..6be4f79687bb 100644 --- a/sdk/cloudhsm/src/operation/create_hsm/builders.rs +++ b/sdk/cloudhsm/src/operation/create_hsm/builders.rs @@ -24,9 +24,9 @@ impl CreateHsmFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -82,6 +82,20 @@ impl CreateHsmFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::create_hsm::CreateHsm, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

              The identifier of the subnet in your VPC in which to place the HSM.

              pub fn subnet_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.subnet_id(input.into()); diff --git a/sdk/cloudhsm/src/operation/create_luna_client/builders.rs b/sdk/cloudhsm/src/operation/create_luna_client/builders.rs index 010eb923d554..5910ce564c1e 100644 --- a/sdk/cloudhsm/src/operation/create_luna_client/builders.rs +++ b/sdk/cloudhsm/src/operation/create_luna_client/builders.rs @@ -21,9 +21,9 @@ impl CreateLunaClientFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -85,6 +85,22 @@ impl CreateLunaClientFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::create_luna_client::CreateLunaClient, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::create_luna_client::CreateLunaClientError, + >, + > { + self.customize_middleware().await + } ///

              The label for the client.

              pub fn label(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.label(input.into()); diff --git a/sdk/cloudhsm/src/operation/delete_hapg/builders.rs b/sdk/cloudhsm/src/operation/delete_hapg/builders.rs index a16aec5c77b0..78e0fe7b1b8c 100644 --- a/sdk/cloudhsm/src/operation/delete_hapg/builders.rs +++ b/sdk/cloudhsm/src/operation/delete_hapg/builders.rs @@ -21,9 +21,9 @@ impl DeleteHapgFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -79,6 +79,20 @@ impl DeleteHapgFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::delete_hapg::DeleteHapg, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

              The ARN of the high-availability partition group to delete.

              pub fn hapg_arn(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.hapg_arn(input.into()); diff --git a/sdk/cloudhsm/src/operation/delete_hsm/builders.rs b/sdk/cloudhsm/src/operation/delete_hsm/builders.rs index 7f56b26530c3..45c2c8f767fc 100644 --- a/sdk/cloudhsm/src/operation/delete_hsm/builders.rs +++ b/sdk/cloudhsm/src/operation/delete_hsm/builders.rs @@ -21,9 +21,9 @@ impl DeleteHsmFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -79,6 +79,20 @@ impl DeleteHsmFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::delete_hsm::DeleteHsm, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

              The ARN of the HSM to delete.

              pub fn hsm_arn(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.hsm_arn(input.into()); diff --git a/sdk/cloudhsm/src/operation/delete_luna_client/builders.rs b/sdk/cloudhsm/src/operation/delete_luna_client/builders.rs index 2202866b144c..c8e764965b79 100644 --- a/sdk/cloudhsm/src/operation/delete_luna_client/builders.rs +++ b/sdk/cloudhsm/src/operation/delete_luna_client/builders.rs @@ -21,9 +21,9 @@ impl DeleteLunaClientFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -85,6 +85,22 @@ impl DeleteLunaClientFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::delete_luna_client::DeleteLunaClient, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::delete_luna_client::DeleteLunaClientError, + >, + > { + self.customize_middleware().await + } ///

              The ARN of the client to delete.

              pub fn client_arn(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.client_arn(input.into()); diff --git a/sdk/cloudhsm/src/operation/describe_hapg/builders.rs b/sdk/cloudhsm/src/operation/describe_hapg/builders.rs index 5df1c0599eb7..181ed263131e 100644 --- a/sdk/cloudhsm/src/operation/describe_hapg/builders.rs +++ b/sdk/cloudhsm/src/operation/describe_hapg/builders.rs @@ -21,9 +21,9 @@ impl DescribeHapgFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -79,6 +79,20 @@ impl DescribeHapgFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::describe_hapg::DescribeHapg, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

              The ARN of the high-availability partition group to describe.

              pub fn hapg_arn(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.hapg_arn(input.into()); diff --git a/sdk/cloudhsm/src/operation/describe_hsm/builders.rs b/sdk/cloudhsm/src/operation/describe_hsm/builders.rs index cd18723d04e6..83998237051c 100644 --- a/sdk/cloudhsm/src/operation/describe_hsm/builders.rs +++ b/sdk/cloudhsm/src/operation/describe_hsm/builders.rs @@ -21,9 +21,9 @@ impl DescribeHsmFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -79,6 +79,20 @@ impl DescribeHsmFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::describe_hsm::DescribeHsm, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

              The ARN of the HSM. Either the HsmArn or the SerialNumber parameter must be specified.

              pub fn hsm_arn(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.hsm_arn(input.into()); diff --git a/sdk/cloudhsm/src/operation/describe_luna_client/builders.rs b/sdk/cloudhsm/src/operation/describe_luna_client/builders.rs index 6ee10a247fbd..1a396b88e685 100644 --- a/sdk/cloudhsm/src/operation/describe_luna_client/builders.rs +++ b/sdk/cloudhsm/src/operation/describe_luna_client/builders.rs @@ -21,9 +21,9 @@ impl DescribeLunaClientFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -85,6 +85,22 @@ impl DescribeLunaClientFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::describe_luna_client::DescribeLunaClient, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::describe_luna_client::DescribeLunaClientError, + >, + > { + self.customize_middleware().await + } ///

              The ARN of the client.

              pub fn client_arn(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.client_arn(input.into()); diff --git a/sdk/cloudhsm/src/operation/get_config/builders.rs b/sdk/cloudhsm/src/operation/get_config/builders.rs index 20f8a0c74013..a7d431be8599 100644 --- a/sdk/cloudhsm/src/operation/get_config/builders.rs +++ b/sdk/cloudhsm/src/operation/get_config/builders.rs @@ -21,9 +21,9 @@ impl GetConfigFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -79,6 +79,20 @@ impl GetConfigFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::get_config::GetConfig, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

              The ARN of the client.

              pub fn client_arn(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.client_arn(input.into()); diff --git a/sdk/cloudhsm/src/operation/list_available_zones/builders.rs b/sdk/cloudhsm/src/operation/list_available_zones/builders.rs index 5947a7257251..a35c662c239a 100644 --- a/sdk/cloudhsm/src/operation/list_available_zones/builders.rs +++ b/sdk/cloudhsm/src/operation/list_available_zones/builders.rs @@ -21,9 +21,9 @@ impl ListAvailableZonesFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -85,4 +85,20 @@ impl ListAvailableZonesFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_available_zones::ListAvailableZones, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::list_available_zones::ListAvailableZonesError, + >, + > { + self.customize_middleware().await + } } diff --git a/sdk/cloudhsm/src/operation/list_hapgs/builders.rs b/sdk/cloudhsm/src/operation/list_hapgs/builders.rs index f886dc3e310f..0ca62b30a897 100644 --- a/sdk/cloudhsm/src/operation/list_hapgs/builders.rs +++ b/sdk/cloudhsm/src/operation/list_hapgs/builders.rs @@ -22,9 +22,9 @@ impl ListHapgsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -80,6 +80,20 @@ impl ListHapgsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_hapgs::ListHapgs, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

              The NextToken value from a previous call to ListHapgs. Pass null if this is the first call.

              pub fn next_token(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.next_token(input.into()); diff --git a/sdk/cloudhsm/src/operation/list_hsms/builders.rs b/sdk/cloudhsm/src/operation/list_hsms/builders.rs index c14487cde288..75fa5bb5bff5 100644 --- a/sdk/cloudhsm/src/operation/list_hsms/builders.rs +++ b/sdk/cloudhsm/src/operation/list_hsms/builders.rs @@ -22,9 +22,9 @@ impl ListHsmsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -80,6 +80,20 @@ impl ListHsmsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_hsms::ListHsms, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

              The NextToken value from a previous call to ListHsms. Pass null if this is the first call.

              pub fn next_token(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.next_token(input.into()); diff --git a/sdk/cloudhsm/src/operation/list_luna_clients/builders.rs b/sdk/cloudhsm/src/operation/list_luna_clients/builders.rs index b854b0c2ead6..fa8dbcdde492 100644 --- a/sdk/cloudhsm/src/operation/list_luna_clients/builders.rs +++ b/sdk/cloudhsm/src/operation/list_luna_clients/builders.rs @@ -22,9 +22,9 @@ impl ListLunaClientsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -86,6 +86,22 @@ impl ListLunaClientsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_luna_clients::ListLunaClients, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::list_luna_clients::ListLunaClientsError, + >, + > { + self.customize_middleware().await + } ///

              The NextToken value from a previous call to ListLunaClients. Pass null if this is the first call.

              pub fn next_token(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.next_token(input.into()); diff --git a/sdk/cloudhsm/src/operation/list_tags_for_resource/builders.rs b/sdk/cloudhsm/src/operation/list_tags_for_resource/builders.rs index 48e4ce473f98..dfc570fa414a 100644 --- a/sdk/cloudhsm/src/operation/list_tags_for_resource/builders.rs +++ b/sdk/cloudhsm/src/operation/list_tags_for_resource/builders.rs @@ -21,9 +21,9 @@ impl ListTagsForResourceFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -85,6 +85,22 @@ impl ListTagsForResourceFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_tags_for_resource::ListTagsForResource, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::list_tags_for_resource::ListTagsForResourceError, + >, + > { + self.customize_middleware().await + } ///

              The Amazon Resource Name (ARN) of the AWS CloudHSM resource.

              pub fn resource_arn(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.resource_arn(input.into()); diff --git a/sdk/cloudhsm/src/operation/modify_hapg/builders.rs b/sdk/cloudhsm/src/operation/modify_hapg/builders.rs index 685bec29e898..4346f05c1c97 100644 --- a/sdk/cloudhsm/src/operation/modify_hapg/builders.rs +++ b/sdk/cloudhsm/src/operation/modify_hapg/builders.rs @@ -21,9 +21,9 @@ impl ModifyHapgFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -79,6 +79,20 @@ impl ModifyHapgFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::modify_hapg::ModifyHapg, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

              The ARN of the high-availability partition group to modify.

              pub fn hapg_arn(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.hapg_arn(input.into()); diff --git a/sdk/cloudhsm/src/operation/modify_hsm/builders.rs b/sdk/cloudhsm/src/operation/modify_hsm/builders.rs index f4941a523e5d..c8d003c95b04 100644 --- a/sdk/cloudhsm/src/operation/modify_hsm/builders.rs +++ b/sdk/cloudhsm/src/operation/modify_hsm/builders.rs @@ -23,9 +23,9 @@ impl ModifyHsmFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -81,6 +81,20 @@ impl ModifyHsmFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::modify_hsm::ModifyHsm, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

              The ARN of the HSM to modify.

              pub fn hsm_arn(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.hsm_arn(input.into()); diff --git a/sdk/cloudhsm/src/operation/modify_luna_client/builders.rs b/sdk/cloudhsm/src/operation/modify_luna_client/builders.rs index 97094568743e..7e8c52835163 100644 --- a/sdk/cloudhsm/src/operation/modify_luna_client/builders.rs +++ b/sdk/cloudhsm/src/operation/modify_luna_client/builders.rs @@ -22,9 +22,9 @@ impl ModifyLunaClientFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -86,6 +86,22 @@ impl ModifyLunaClientFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::modify_luna_client::ModifyLunaClient, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::modify_luna_client::ModifyLunaClientError, + >, + > { + self.customize_middleware().await + } ///

              The ARN of the client.

              pub fn client_arn(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.client_arn(input.into()); diff --git a/sdk/cloudhsm/src/operation/remove_tags_from_resource/builders.rs b/sdk/cloudhsm/src/operation/remove_tags_from_resource/builders.rs index d5f5b6b9f860..ea6010ed3fa3 100644 --- a/sdk/cloudhsm/src/operation/remove_tags_from_resource/builders.rs +++ b/sdk/cloudhsm/src/operation/remove_tags_from_resource/builders.rs @@ -23,9 +23,9 @@ impl RemoveTagsFromResourceFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -87,6 +87,22 @@ impl RemoveTagsFromResourceFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::remove_tags_from_resource::RemoveTagsFromResource, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::remove_tags_from_resource::RemoveTagsFromResourceError, + >, + > { + self.customize_middleware().await + } ///

              The Amazon Resource Name (ARN) of the AWS CloudHSM resource.

              pub fn resource_arn(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.resource_arn(input.into()); diff --git a/sdk/cloudhsmv2/src/operation/copy_backup_to_region/builders.rs b/sdk/cloudhsmv2/src/operation/copy_backup_to_region/builders.rs index a70e69979048..0c99994e2f8e 100644 --- a/sdk/cloudhsmv2/src/operation/copy_backup_to_region/builders.rs +++ b/sdk/cloudhsmv2/src/operation/copy_backup_to_region/builders.rs @@ -19,9 +19,9 @@ impl CopyBackupToRegionFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl CopyBackupToRegionFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::copy_backup_to_region::CopyBackupToRegion, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::copy_backup_to_region::CopyBackupToRegionError, + >, + > { + self.customize_middleware().await + } ///

              The AWS region that will contain your copied CloudHSM cluster backup.

              pub fn destination_region( mut self, diff --git a/sdk/cloudhsmv2/src/operation/create_cluster/builders.rs b/sdk/cloudhsmv2/src/operation/create_cluster/builders.rs index 696fccf12111..a85a0050d524 100644 --- a/sdk/cloudhsmv2/src/operation/create_cluster/builders.rs +++ b/sdk/cloudhsmv2/src/operation/create_cluster/builders.rs @@ -19,9 +19,9 @@ impl CreateClusterFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl CreateClusterFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::create_cluster::CreateCluster, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

              A policy that defines how the service retains backups.

              pub fn backup_retention_policy(mut self, input: crate::types::BackupRetentionPolicy) -> Self { self.inner = self.inner.backup_retention_policy(input); diff --git a/sdk/cloudhsmv2/src/operation/create_hsm/builders.rs b/sdk/cloudhsmv2/src/operation/create_hsm/builders.rs index 111290382508..3d8b366bdf1f 100644 --- a/sdk/cloudhsmv2/src/operation/create_hsm/builders.rs +++ b/sdk/cloudhsmv2/src/operation/create_hsm/builders.rs @@ -19,9 +19,9 @@ impl CreateHsmFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl CreateHsmFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::create_hsm::CreateHsm, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

              The identifier (ID) of the HSM's cluster. To find the cluster ID, use DescribeClusters.

              pub fn cluster_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.cluster_id(input.into()); diff --git a/sdk/cloudhsmv2/src/operation/delete_backup/builders.rs b/sdk/cloudhsmv2/src/operation/delete_backup/builders.rs index 0218354c88ab..7ecb62e8ccaa 100644 --- a/sdk/cloudhsmv2/src/operation/delete_backup/builders.rs +++ b/sdk/cloudhsmv2/src/operation/delete_backup/builders.rs @@ -19,9 +19,9 @@ impl DeleteBackupFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl DeleteBackupFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::delete_backup::DeleteBackup, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

              The ID of the backup to be deleted. To find the ID of a backup, use the DescribeBackups operation.

              pub fn backup_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.backup_id(input.into()); diff --git a/sdk/cloudhsmv2/src/operation/delete_cluster/builders.rs b/sdk/cloudhsmv2/src/operation/delete_cluster/builders.rs index d9f51a2aa836..d8a5ee7449b5 100644 --- a/sdk/cloudhsmv2/src/operation/delete_cluster/builders.rs +++ b/sdk/cloudhsmv2/src/operation/delete_cluster/builders.rs @@ -19,9 +19,9 @@ impl DeleteClusterFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl DeleteClusterFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::delete_cluster::DeleteCluster, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

              The identifier (ID) of the cluster that you are deleting. To find the cluster ID, use DescribeClusters.

              pub fn cluster_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.cluster_id(input.into()); diff --git a/sdk/cloudhsmv2/src/operation/delete_hsm/builders.rs b/sdk/cloudhsmv2/src/operation/delete_hsm/builders.rs index dc51b463eab9..5d69b8d821cf 100644 --- a/sdk/cloudhsmv2/src/operation/delete_hsm/builders.rs +++ b/sdk/cloudhsmv2/src/operation/delete_hsm/builders.rs @@ -19,9 +19,9 @@ impl DeleteHsmFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl DeleteHsmFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::delete_hsm::DeleteHsm, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

              The identifier (ID) of the cluster that contains the HSM that you are deleting.

              pub fn cluster_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.cluster_id(input.into()); diff --git a/sdk/cloudhsmv2/src/operation/describe_backups/builders.rs b/sdk/cloudhsmv2/src/operation/describe_backups/builders.rs index 096ee45477f7..ca29fe83722f 100644 --- a/sdk/cloudhsmv2/src/operation/describe_backups/builders.rs +++ b/sdk/cloudhsmv2/src/operation/describe_backups/builders.rs @@ -20,9 +20,9 @@ impl DescribeBackupsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -84,6 +84,22 @@ impl DescribeBackupsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::describe_backups::DescribeBackups, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::describe_backups::DescribeBackupsError, + >, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::describe_backups::paginator::DescribeBackupsPaginator::send) which returns a `Stream`. diff --git a/sdk/cloudhsmv2/src/operation/describe_clusters/builders.rs b/sdk/cloudhsmv2/src/operation/describe_clusters/builders.rs index 8e1bca956881..a56443f1ac82 100644 --- a/sdk/cloudhsmv2/src/operation/describe_clusters/builders.rs +++ b/sdk/cloudhsmv2/src/operation/describe_clusters/builders.rs @@ -20,9 +20,9 @@ impl DescribeClustersFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -84,6 +84,22 @@ impl DescribeClustersFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::describe_clusters::DescribeClusters, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::describe_clusters::DescribeClustersError, + >, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::describe_clusters::paginator::DescribeClustersPaginator::send) which returns a `Stream`. diff --git a/sdk/cloudhsmv2/src/operation/initialize_cluster/builders.rs b/sdk/cloudhsmv2/src/operation/initialize_cluster/builders.rs index 15ee742b0c57..6c42f93b6714 100644 --- a/sdk/cloudhsmv2/src/operation/initialize_cluster/builders.rs +++ b/sdk/cloudhsmv2/src/operation/initialize_cluster/builders.rs @@ -19,9 +19,9 @@ impl InitializeClusterFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl InitializeClusterFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::initialize_cluster::InitializeCluster, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::initialize_cluster::InitializeClusterError, + >, + > { + self.customize_middleware().await + } ///

              The identifier (ID) of the cluster that you are claiming. To find the cluster ID, use DescribeClusters.

              pub fn cluster_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.cluster_id(input.into()); diff --git a/sdk/cloudhsmv2/src/operation/list_tags/builders.rs b/sdk/cloudhsmv2/src/operation/list_tags/builders.rs index d93ee9e93564..f39c26b086ff 100644 --- a/sdk/cloudhsmv2/src/operation/list_tags/builders.rs +++ b/sdk/cloudhsmv2/src/operation/list_tags/builders.rs @@ -20,9 +20,9 @@ impl ListTagsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -78,6 +78,20 @@ impl ListTagsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_tags::ListTags, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::list_tags::paginator::ListTagsPaginator::send) which returns a `Stream`. diff --git a/sdk/cloudhsmv2/src/operation/modify_backup_attributes/builders.rs b/sdk/cloudhsmv2/src/operation/modify_backup_attributes/builders.rs index 162d7e7bb690..aa2abdadc00d 100644 --- a/sdk/cloudhsmv2/src/operation/modify_backup_attributes/builders.rs +++ b/sdk/cloudhsmv2/src/operation/modify_backup_attributes/builders.rs @@ -19,9 +19,9 @@ impl ModifyBackupAttributesFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl ModifyBackupAttributesFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::modify_backup_attributes::ModifyBackupAttributes, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::modify_backup_attributes::ModifyBackupAttributesError, + >, + > { + self.customize_middleware().await + } ///

              The identifier (ID) of the backup to modify. To find the ID of a backup, use the DescribeBackups operation.

              pub fn backup_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.backup_id(input.into()); diff --git a/sdk/cloudhsmv2/src/operation/modify_cluster/builders.rs b/sdk/cloudhsmv2/src/operation/modify_cluster/builders.rs index 37393e29613a..f0a2358456f6 100644 --- a/sdk/cloudhsmv2/src/operation/modify_cluster/builders.rs +++ b/sdk/cloudhsmv2/src/operation/modify_cluster/builders.rs @@ -19,9 +19,9 @@ impl ModifyClusterFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl ModifyClusterFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::modify_cluster::ModifyCluster, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

              A policy that defines how the service retains backups.

              pub fn backup_retention_policy(mut self, input: crate::types::BackupRetentionPolicy) -> Self { self.inner = self.inner.backup_retention_policy(input); diff --git a/sdk/cloudhsmv2/src/operation/restore_backup/builders.rs b/sdk/cloudhsmv2/src/operation/restore_backup/builders.rs index a69a7b801b86..47d17d2bde14 100644 --- a/sdk/cloudhsmv2/src/operation/restore_backup/builders.rs +++ b/sdk/cloudhsmv2/src/operation/restore_backup/builders.rs @@ -19,9 +19,9 @@ impl RestoreBackupFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl RestoreBackupFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::restore_backup::RestoreBackup, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

              The ID of the backup to be restored. To find the ID of a backup, use the DescribeBackups operation.

              pub fn backup_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.backup_id(input.into()); diff --git a/sdk/cloudhsmv2/src/operation/tag_resource/builders.rs b/sdk/cloudhsmv2/src/operation/tag_resource/builders.rs index 1a916859f068..58fdf3165c16 100644 --- a/sdk/cloudhsmv2/src/operation/tag_resource/builders.rs +++ b/sdk/cloudhsmv2/src/operation/tag_resource/builders.rs @@ -19,9 +19,9 @@ impl TagResourceFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl TagResourceFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::tag_resource::TagResource, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

              The cluster identifier (ID) for the cluster that you are tagging. To find the cluster ID, use DescribeClusters.

              pub fn resource_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.resource_id(input.into()); diff --git a/sdk/cloudhsmv2/src/operation/untag_resource/builders.rs b/sdk/cloudhsmv2/src/operation/untag_resource/builders.rs index b69137ac313a..65271a48b696 100644 --- a/sdk/cloudhsmv2/src/operation/untag_resource/builders.rs +++ b/sdk/cloudhsmv2/src/operation/untag_resource/builders.rs @@ -19,9 +19,9 @@ impl UntagResourceFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl UntagResourceFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::untag_resource::UntagResource, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

              The cluster identifier (ID) for the cluster whose tags you are removing. To find the cluster ID, use DescribeClusters.

              pub fn resource_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.resource_id(input.into()); diff --git a/sdk/cloudsearch/src/operation/build_suggesters/builders.rs b/sdk/cloudsearch/src/operation/build_suggesters/builders.rs index 1688a0415b81..3d20e0f272d2 100644 --- a/sdk/cloudsearch/src/operation/build_suggesters/builders.rs +++ b/sdk/cloudsearch/src/operation/build_suggesters/builders.rs @@ -19,9 +19,9 @@ impl BuildSuggestersFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl BuildSuggestersFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::build_suggesters::BuildSuggesters, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::build_suggesters::BuildSuggestersError, + >, + > { + self.customize_middleware().await + } ///

              A string that represents the name of a domain. Domain names are unique across the domains owned by an account within an AWS region. Domain names start with a letter or number and can contain the following characters: a-z (lowercase), 0-9, and - (hyphen).

              pub fn domain_name(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.domain_name(input.into()); diff --git a/sdk/cloudsearch/src/operation/create_domain/builders.rs b/sdk/cloudsearch/src/operation/create_domain/builders.rs index 59d017446b0f..8f8c3d1d967c 100644 --- a/sdk/cloudsearch/src/operation/create_domain/builders.rs +++ b/sdk/cloudsearch/src/operation/create_domain/builders.rs @@ -19,9 +19,9 @@ impl CreateDomainFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl CreateDomainFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::create_domain::CreateDomain, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

              A name for the domain you are creating. Allowed characters are a-z (lower-case letters), 0-9, and hyphen (-). Domain names must start with a letter or number and be at least 3 and no more than 28 characters long.

              pub fn domain_name(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.domain_name(input.into()); diff --git a/sdk/cloudsearch/src/operation/define_analysis_scheme/builders.rs b/sdk/cloudsearch/src/operation/define_analysis_scheme/builders.rs index 58244525482a..f233eda4e604 100644 --- a/sdk/cloudsearch/src/operation/define_analysis_scheme/builders.rs +++ b/sdk/cloudsearch/src/operation/define_analysis_scheme/builders.rs @@ -19,9 +19,9 @@ impl DefineAnalysisSchemeFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl DefineAnalysisSchemeFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::define_analysis_scheme::DefineAnalysisScheme, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::define_analysis_scheme::DefineAnalysisSchemeError, + >, + > { + self.customize_middleware().await + } ///

              A string that represents the name of a domain. Domain names are unique across the domains owned by an account within an AWS region. Domain names start with a letter or number and can contain the following characters: a-z (lowercase), 0-9, and - (hyphen).

              pub fn domain_name(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.domain_name(input.into()); diff --git a/sdk/cloudsearch/src/operation/define_expression/builders.rs b/sdk/cloudsearch/src/operation/define_expression/builders.rs index 80d3eb1abef6..af39a94cc032 100644 --- a/sdk/cloudsearch/src/operation/define_expression/builders.rs +++ b/sdk/cloudsearch/src/operation/define_expression/builders.rs @@ -19,9 +19,9 @@ impl DefineExpressionFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl DefineExpressionFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::define_expression::DefineExpression, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::define_expression::DefineExpressionError, + >, + > { + self.customize_middleware().await + } ///

              A string that represents the name of a domain. Domain names are unique across the domains owned by an account within an AWS region. Domain names start with a letter or number and can contain the following characters: a-z (lowercase), 0-9, and - (hyphen).

              pub fn domain_name(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.domain_name(input.into()); diff --git a/sdk/cloudsearch/src/operation/define_index_field/builders.rs b/sdk/cloudsearch/src/operation/define_index_field/builders.rs index b3e2031f3e84..3a4c4415c1c1 100644 --- a/sdk/cloudsearch/src/operation/define_index_field/builders.rs +++ b/sdk/cloudsearch/src/operation/define_index_field/builders.rs @@ -19,9 +19,9 @@ impl DefineIndexFieldFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl DefineIndexFieldFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::define_index_field::DefineIndexField, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::define_index_field::DefineIndexFieldError, + >, + > { + self.customize_middleware().await + } ///

              A string that represents the name of a domain. Domain names are unique across the domains owned by an account within an AWS region. Domain names start with a letter or number and can contain the following characters: a-z (lowercase), 0-9, and - (hyphen).

              pub fn domain_name(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.domain_name(input.into()); diff --git a/sdk/cloudsearch/src/operation/define_suggester/builders.rs b/sdk/cloudsearch/src/operation/define_suggester/builders.rs index 316c36d0077e..0af41bb975e9 100644 --- a/sdk/cloudsearch/src/operation/define_suggester/builders.rs +++ b/sdk/cloudsearch/src/operation/define_suggester/builders.rs @@ -19,9 +19,9 @@ impl DefineSuggesterFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl DefineSuggesterFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::define_suggester::DefineSuggester, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::define_suggester::DefineSuggesterError, + >, + > { + self.customize_middleware().await + } ///

              A string that represents the name of a domain. Domain names are unique across the domains owned by an account within an AWS region. Domain names start with a letter or number and can contain the following characters: a-z (lowercase), 0-9, and - (hyphen).

              pub fn domain_name(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.domain_name(input.into()); diff --git a/sdk/cloudsearch/src/operation/delete_analysis_scheme/builders.rs b/sdk/cloudsearch/src/operation/delete_analysis_scheme/builders.rs index 4d07617fff10..e49bfa7401d2 100644 --- a/sdk/cloudsearch/src/operation/delete_analysis_scheme/builders.rs +++ b/sdk/cloudsearch/src/operation/delete_analysis_scheme/builders.rs @@ -19,9 +19,9 @@ impl DeleteAnalysisSchemeFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl DeleteAnalysisSchemeFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::delete_analysis_scheme::DeleteAnalysisScheme, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::delete_analysis_scheme::DeleteAnalysisSchemeError, + >, + > { + self.customize_middleware().await + } ///

              A string that represents the name of a domain. Domain names are unique across the domains owned by an account within an AWS region. Domain names start with a letter or number and can contain the following characters: a-z (lowercase), 0-9, and - (hyphen).

              pub fn domain_name(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.domain_name(input.into()); diff --git a/sdk/cloudsearch/src/operation/delete_domain/builders.rs b/sdk/cloudsearch/src/operation/delete_domain/builders.rs index 91c155c79282..0c3ebe7618f8 100644 --- a/sdk/cloudsearch/src/operation/delete_domain/builders.rs +++ b/sdk/cloudsearch/src/operation/delete_domain/builders.rs @@ -19,9 +19,9 @@ impl DeleteDomainFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl DeleteDomainFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::delete_domain::DeleteDomain, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

              The name of the domain you want to permanently delete.

              pub fn domain_name(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.domain_name(input.into()); diff --git a/sdk/cloudsearch/src/operation/delete_expression/builders.rs b/sdk/cloudsearch/src/operation/delete_expression/builders.rs index 6aecb447aac1..31784b34271b 100644 --- a/sdk/cloudsearch/src/operation/delete_expression/builders.rs +++ b/sdk/cloudsearch/src/operation/delete_expression/builders.rs @@ -19,9 +19,9 @@ impl DeleteExpressionFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl DeleteExpressionFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::delete_expression::DeleteExpression, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::delete_expression::DeleteExpressionError, + >, + > { + self.customize_middleware().await + } ///

              A string that represents the name of a domain. Domain names are unique across the domains owned by an account within an AWS region. Domain names start with a letter or number and can contain the following characters: a-z (lowercase), 0-9, and - (hyphen).

              pub fn domain_name(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.domain_name(input.into()); diff --git a/sdk/cloudsearch/src/operation/delete_index_field/builders.rs b/sdk/cloudsearch/src/operation/delete_index_field/builders.rs index 714680f2a13b..f9b123bdac77 100644 --- a/sdk/cloudsearch/src/operation/delete_index_field/builders.rs +++ b/sdk/cloudsearch/src/operation/delete_index_field/builders.rs @@ -19,9 +19,9 @@ impl DeleteIndexFieldFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl DeleteIndexFieldFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::delete_index_field::DeleteIndexField, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::delete_index_field::DeleteIndexFieldError, + >, + > { + self.customize_middleware().await + } ///

              A string that represents the name of a domain. Domain names are unique across the domains owned by an account within an AWS region. Domain names start with a letter or number and can contain the following characters: a-z (lowercase), 0-9, and - (hyphen).

              pub fn domain_name(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.domain_name(input.into()); diff --git a/sdk/cloudsearch/src/operation/delete_suggester/builders.rs b/sdk/cloudsearch/src/operation/delete_suggester/builders.rs index 06b6abc4d45b..5234bc9afc5b 100644 --- a/sdk/cloudsearch/src/operation/delete_suggester/builders.rs +++ b/sdk/cloudsearch/src/operation/delete_suggester/builders.rs @@ -19,9 +19,9 @@ impl DeleteSuggesterFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl DeleteSuggesterFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::delete_suggester::DeleteSuggester, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::delete_suggester::DeleteSuggesterError, + >, + > { + self.customize_middleware().await + } ///

              A string that represents the name of a domain. Domain names are unique across the domains owned by an account within an AWS region. Domain names start with a letter or number and can contain the following characters: a-z (lowercase), 0-9, and - (hyphen).

              pub fn domain_name(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.domain_name(input.into()); diff --git a/sdk/cloudsearch/src/operation/describe_analysis_schemes/builders.rs b/sdk/cloudsearch/src/operation/describe_analysis_schemes/builders.rs index 918585beac6d..98a940be2357 100644 --- a/sdk/cloudsearch/src/operation/describe_analysis_schemes/builders.rs +++ b/sdk/cloudsearch/src/operation/describe_analysis_schemes/builders.rs @@ -20,9 +20,9 @@ impl DescribeAnalysisSchemesFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -84,6 +84,22 @@ impl DescribeAnalysisSchemesFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::describe_analysis_schemes::DescribeAnalysisSchemes, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::describe_analysis_schemes::DescribeAnalysisSchemesError, + >, + > { + self.customize_middleware().await + } ///

              The name of the domain you want to describe.

              pub fn domain_name(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.domain_name(input.into()); diff --git a/sdk/cloudsearch/src/operation/describe_availability_options/builders.rs b/sdk/cloudsearch/src/operation/describe_availability_options/builders.rs index 6ae0e635cc0b..bc4f9848bbd0 100644 --- a/sdk/cloudsearch/src/operation/describe_availability_options/builders.rs +++ b/sdk/cloudsearch/src/operation/describe_availability_options/builders.rs @@ -19,9 +19,9 @@ impl DescribeAvailabilityOptionsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl DescribeAvailabilityOptionsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::describe_availability_options::DescribeAvailabilityOptions, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::describe_availability_options::DescribeAvailabilityOptionsError, + >, + > { + self.customize_middleware().await + } ///

              The name of the domain you want to describe.

              pub fn domain_name(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.domain_name(input.into()); diff --git a/sdk/cloudsearch/src/operation/describe_domain_endpoint_options/builders.rs b/sdk/cloudsearch/src/operation/describe_domain_endpoint_options/builders.rs index 829615aac519..3115b2b9c4f6 100644 --- a/sdk/cloudsearch/src/operation/describe_domain_endpoint_options/builders.rs +++ b/sdk/cloudsearch/src/operation/describe_domain_endpoint_options/builders.rs @@ -19,9 +19,9 @@ impl DescribeDomainEndpointOptionsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl DescribeDomainEndpointOptionsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::describe_domain_endpoint_options::DescribeDomainEndpointOptions, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::describe_domain_endpoint_options::DescribeDomainEndpointOptionsError, + >, + > { + self.customize_middleware().await + } ///

              A string that represents the name of a domain.

              pub fn domain_name(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.domain_name(input.into()); diff --git a/sdk/cloudsearch/src/operation/describe_domains/builders.rs b/sdk/cloudsearch/src/operation/describe_domains/builders.rs index 84e04f917720..998690c90f45 100644 --- a/sdk/cloudsearch/src/operation/describe_domains/builders.rs +++ b/sdk/cloudsearch/src/operation/describe_domains/builders.rs @@ -19,9 +19,9 @@ impl DescribeDomainsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl DescribeDomainsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::describe_domains::DescribeDomains, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::describe_domains::DescribeDomainsError, + >, + > { + self.customize_middleware().await + } /// Appends an item to `DomainNames`. /// /// To override the contents of this collection use [`set_domain_names`](Self::set_domain_names). diff --git a/sdk/cloudsearch/src/operation/describe_expressions/builders.rs b/sdk/cloudsearch/src/operation/describe_expressions/builders.rs index ce63c5ca562d..123def1ad9be 100644 --- a/sdk/cloudsearch/src/operation/describe_expressions/builders.rs +++ b/sdk/cloudsearch/src/operation/describe_expressions/builders.rs @@ -19,9 +19,9 @@ impl DescribeExpressionsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl DescribeExpressionsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::describe_expressions::DescribeExpressions, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::describe_expressions::DescribeExpressionsError, + >, + > { + self.customize_middleware().await + } ///

              The name of the domain you want to describe.

              pub fn domain_name(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.domain_name(input.into()); diff --git a/sdk/cloudsearch/src/operation/describe_index_fields/builders.rs b/sdk/cloudsearch/src/operation/describe_index_fields/builders.rs index f38f98c1b7c6..c90ecd238391 100644 --- a/sdk/cloudsearch/src/operation/describe_index_fields/builders.rs +++ b/sdk/cloudsearch/src/operation/describe_index_fields/builders.rs @@ -19,9 +19,9 @@ impl DescribeIndexFieldsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl DescribeIndexFieldsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::describe_index_fields::DescribeIndexFields, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::describe_index_fields::DescribeIndexFieldsError, + >, + > { + self.customize_middleware().await + } ///

              The name of the domain you want to describe.

              pub fn domain_name(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.domain_name(input.into()); diff --git a/sdk/cloudsearch/src/operation/describe_scaling_parameters/builders.rs b/sdk/cloudsearch/src/operation/describe_scaling_parameters/builders.rs index cd68fb330ca4..5e8c182c7c10 100644 --- a/sdk/cloudsearch/src/operation/describe_scaling_parameters/builders.rs +++ b/sdk/cloudsearch/src/operation/describe_scaling_parameters/builders.rs @@ -19,9 +19,9 @@ impl DescribeScalingParametersFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl DescribeScalingParametersFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::describe_scaling_parameters::DescribeScalingParameters, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::describe_scaling_parameters::DescribeScalingParametersError, + >, + > { + self.customize_middleware().await + } ///

              A string that represents the name of a domain. Domain names are unique across the domains owned by an account within an AWS region. Domain names start with a letter or number and can contain the following characters: a-z (lowercase), 0-9, and - (hyphen).

              pub fn domain_name(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.domain_name(input.into()); diff --git a/sdk/cloudsearch/src/operation/describe_service_access_policies/builders.rs b/sdk/cloudsearch/src/operation/describe_service_access_policies/builders.rs index fdcb6d496f2e..477472e19b24 100644 --- a/sdk/cloudsearch/src/operation/describe_service_access_policies/builders.rs +++ b/sdk/cloudsearch/src/operation/describe_service_access_policies/builders.rs @@ -19,9 +19,9 @@ impl DescribeServiceAccessPoliciesFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl DescribeServiceAccessPoliciesFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::describe_service_access_policies::DescribeServiceAccessPolicies, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::describe_service_access_policies::DescribeServiceAccessPoliciesError, + >, + > { + self.customize_middleware().await + } ///

              The name of the domain you want to describe.

              pub fn domain_name(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.domain_name(input.into()); diff --git a/sdk/cloudsearch/src/operation/describe_suggesters/builders.rs b/sdk/cloudsearch/src/operation/describe_suggesters/builders.rs index 7eaf3787c7a8..83e9b965acaf 100644 --- a/sdk/cloudsearch/src/operation/describe_suggesters/builders.rs +++ b/sdk/cloudsearch/src/operation/describe_suggesters/builders.rs @@ -19,9 +19,9 @@ impl DescribeSuggestersFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl DescribeSuggestersFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::describe_suggesters::DescribeSuggesters, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::describe_suggesters::DescribeSuggestersError, + >, + > { + self.customize_middleware().await + } ///

              The name of the domain you want to describe.

              pub fn domain_name(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.domain_name(input.into()); diff --git a/sdk/cloudsearch/src/operation/index_documents/builders.rs b/sdk/cloudsearch/src/operation/index_documents/builders.rs index 766340853037..669b9c625f37 100644 --- a/sdk/cloudsearch/src/operation/index_documents/builders.rs +++ b/sdk/cloudsearch/src/operation/index_documents/builders.rs @@ -19,9 +19,9 @@ impl IndexDocumentsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl IndexDocumentsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::index_documents::IndexDocuments, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

              A string that represents the name of a domain. Domain names are unique across the domains owned by an account within an AWS region. Domain names start with a letter or number and can contain the following characters: a-z (lowercase), 0-9, and - (hyphen).

              pub fn domain_name(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.domain_name(input.into()); diff --git a/sdk/cloudsearch/src/operation/list_domain_names/builders.rs b/sdk/cloudsearch/src/operation/list_domain_names/builders.rs index 77cd878765dd..95354af5d3b4 100644 --- a/sdk/cloudsearch/src/operation/list_domain_names/builders.rs +++ b/sdk/cloudsearch/src/operation/list_domain_names/builders.rs @@ -19,9 +19,9 @@ impl ListDomainNamesFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,4 +83,20 @@ impl ListDomainNamesFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_domain_names::ListDomainNames, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::list_domain_names::ListDomainNamesError, + >, + > { + self.customize_middleware().await + } } diff --git a/sdk/cloudsearch/src/operation/update_availability_options/builders.rs b/sdk/cloudsearch/src/operation/update_availability_options/builders.rs index 11403086829f..51906ebbb831 100644 --- a/sdk/cloudsearch/src/operation/update_availability_options/builders.rs +++ b/sdk/cloudsearch/src/operation/update_availability_options/builders.rs @@ -19,9 +19,9 @@ impl UpdateAvailabilityOptionsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl UpdateAvailabilityOptionsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::update_availability_options::UpdateAvailabilityOptions, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::update_availability_options::UpdateAvailabilityOptionsError, + >, + > { + self.customize_middleware().await + } ///

              A string that represents the name of a domain. Domain names are unique across the domains owned by an account within an AWS region. Domain names start with a letter or number and can contain the following characters: a-z (lowercase), 0-9, and - (hyphen).

              pub fn domain_name(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.domain_name(input.into()); diff --git a/sdk/cloudsearch/src/operation/update_domain_endpoint_options/builders.rs b/sdk/cloudsearch/src/operation/update_domain_endpoint_options/builders.rs index 161152a44d20..6d25acd49d79 100644 --- a/sdk/cloudsearch/src/operation/update_domain_endpoint_options/builders.rs +++ b/sdk/cloudsearch/src/operation/update_domain_endpoint_options/builders.rs @@ -19,9 +19,9 @@ impl UpdateDomainEndpointOptionsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl UpdateDomainEndpointOptionsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::update_domain_endpoint_options::UpdateDomainEndpointOptions, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::update_domain_endpoint_options::UpdateDomainEndpointOptionsError, + >, + > { + self.customize_middleware().await + } ///

              A string that represents the name of a domain.

              pub fn domain_name(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.domain_name(input.into()); diff --git a/sdk/cloudsearch/src/operation/update_scaling_parameters/builders.rs b/sdk/cloudsearch/src/operation/update_scaling_parameters/builders.rs index 6e688f36f0b3..9474fef64117 100644 --- a/sdk/cloudsearch/src/operation/update_scaling_parameters/builders.rs +++ b/sdk/cloudsearch/src/operation/update_scaling_parameters/builders.rs @@ -20,9 +20,9 @@ impl UpdateScalingParametersFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -84,6 +84,22 @@ impl UpdateScalingParametersFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::update_scaling_parameters::UpdateScalingParameters, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::update_scaling_parameters::UpdateScalingParametersError, + >, + > { + self.customize_middleware().await + } ///

              A string that represents the name of a domain. Domain names are unique across the domains owned by an account within an AWS region. Domain names start with a letter or number and can contain the following characters: a-z (lowercase), 0-9, and - (hyphen).

              pub fn domain_name(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.domain_name(input.into()); diff --git a/sdk/cloudsearch/src/operation/update_service_access_policies/builders.rs b/sdk/cloudsearch/src/operation/update_service_access_policies/builders.rs index 69a197e677ed..56d1be677909 100644 --- a/sdk/cloudsearch/src/operation/update_service_access_policies/builders.rs +++ b/sdk/cloudsearch/src/operation/update_service_access_policies/builders.rs @@ -19,9 +19,9 @@ impl UpdateServiceAccessPoliciesFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl UpdateServiceAccessPoliciesFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::update_service_access_policies::UpdateServiceAccessPolicies, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::update_service_access_policies::UpdateServiceAccessPoliciesError, + >, + > { + self.customize_middleware().await + } ///

              A string that represents the name of a domain. Domain names are unique across the domains owned by an account within an AWS region. Domain names start with a letter or number and can contain the following characters: a-z (lowercase), 0-9, and - (hyphen).

              pub fn domain_name(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.domain_name(input.into()); diff --git a/sdk/cloudsearchdomain/src/operation/search/builders.rs b/sdk/cloudsearchdomain/src/operation/search/builders.rs index dba075fe4f4b..da0cba0cffc6 100644 --- a/sdk/cloudsearchdomain/src/operation/search/builders.rs +++ b/sdk/cloudsearchdomain/src/operation/search/builders.rs @@ -27,9 +27,9 @@ impl SearchFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -85,6 +85,20 @@ impl SearchFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::search::Search, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

              Retrieves a cursor value you can use to page through large result sets. Use the size parameter to control the number of hits to include in each response. You can specify either the cursor or start parameter in a request; they are mutually exclusive. To get the first cursor, set the cursor value to initial. In subsequent requests, specify the cursor value returned in the hits section of the response.

              ///

              For more information, see Paginating Results in the Amazon CloudSearch Developer Guide.

              pub fn cursor(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { diff --git a/sdk/cloudsearchdomain/src/operation/suggest/builders.rs b/sdk/cloudsearchdomain/src/operation/suggest/builders.rs index ac6b090cf2cf..d48cebdfa5ab 100644 --- a/sdk/cloudsearchdomain/src/operation/suggest/builders.rs +++ b/sdk/cloudsearchdomain/src/operation/suggest/builders.rs @@ -21,9 +21,9 @@ impl SuggestFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -79,6 +79,20 @@ impl SuggestFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::suggest::Suggest, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

              Specifies the string for which you want to get suggestions.

              pub fn query(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.query(input.into()); diff --git a/sdk/cloudsearchdomain/src/operation/upload_documents/builders.rs b/sdk/cloudsearchdomain/src/operation/upload_documents/builders.rs index 05e4ea139d70..e606bc4054aa 100644 --- a/sdk/cloudsearchdomain/src/operation/upload_documents/builders.rs +++ b/sdk/cloudsearchdomain/src/operation/upload_documents/builders.rs @@ -21,9 +21,9 @@ impl UploadDocumentsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -85,6 +85,22 @@ impl UploadDocumentsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::upload_documents::UploadDocuments, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::upload_documents::UploadDocumentsError, + >, + > { + self.customize_middleware().await + } ///

              A batch of documents formatted in JSON or HTML.

              pub fn documents(mut self, input: ::aws_smithy_http::byte_stream::ByteStream) -> Self { self.inner = self.inner.documents(input); diff --git a/sdk/cloudtrail/src/operation/add_tags/builders.rs b/sdk/cloudtrail/src/operation/add_tags/builders.rs index bc49837cae46..a796f1cc5749 100644 --- a/sdk/cloudtrail/src/operation/add_tags/builders.rs +++ b/sdk/cloudtrail/src/operation/add_tags/builders.rs @@ -19,9 +19,9 @@ impl AddTagsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl AddTagsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::add_tags::AddTags, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

              Specifies the ARN of the trail, event data store, or channel to which one or more tags will be added.

              ///

              The format of a trail ARN is: arn:aws:cloudtrail:us-east-2:123456789012:trail/MyTrail

              ///

              The format of an event data store ARN is: arn:aws:cloudtrail:us-east-2:12345678910:eventdatastore/EXAMPLE-f852-4e8f-8bd1-bcf6cEXAMPLE

              diff --git a/sdk/cloudtrail/src/operation/cancel_query/builders.rs b/sdk/cloudtrail/src/operation/cancel_query/builders.rs index 8be7f07ad2dc..cea6988b08bb 100644 --- a/sdk/cloudtrail/src/operation/cancel_query/builders.rs +++ b/sdk/cloudtrail/src/operation/cancel_query/builders.rs @@ -19,9 +19,9 @@ impl CancelQueryFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl CancelQueryFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::cancel_query::CancelQuery, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

              The ARN (or the ID suffix of the ARN) of an event data store on which the specified query is running.

              #[deprecated(note = "EventDataStore is no longer required by CancelQueryRequest")] pub fn event_data_store( diff --git a/sdk/cloudtrail/src/operation/create_channel/builders.rs b/sdk/cloudtrail/src/operation/create_channel/builders.rs index 92ff718461f3..a6a7fbecffd7 100644 --- a/sdk/cloudtrail/src/operation/create_channel/builders.rs +++ b/sdk/cloudtrail/src/operation/create_channel/builders.rs @@ -19,9 +19,9 @@ impl CreateChannelFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl CreateChannelFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::create_channel::CreateChannel, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

              The name of the channel.

              pub fn name(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.name(input.into()); diff --git a/sdk/cloudtrail/src/operation/create_event_data_store/builders.rs b/sdk/cloudtrail/src/operation/create_event_data_store/builders.rs index 502b579a9a04..e17e31fe5e8e 100644 --- a/sdk/cloudtrail/src/operation/create_event_data_store/builders.rs +++ b/sdk/cloudtrail/src/operation/create_event_data_store/builders.rs @@ -19,9 +19,9 @@ impl CreateEventDataStoreFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl CreateEventDataStoreFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::create_event_data_store::CreateEventDataStore, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::create_event_data_store::CreateEventDataStoreError, + >, + > { + self.customize_middleware().await + } ///

              The name of the event data store.

              pub fn name(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.name(input.into()); diff --git a/sdk/cloudtrail/src/operation/create_trail/builders.rs b/sdk/cloudtrail/src/operation/create_trail/builders.rs index 602d368fa635..80e3670788ca 100644 --- a/sdk/cloudtrail/src/operation/create_trail/builders.rs +++ b/sdk/cloudtrail/src/operation/create_trail/builders.rs @@ -19,9 +19,9 @@ impl CreateTrailFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl CreateTrailFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::create_trail::CreateTrail, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

              Specifies the name of the trail. The name must meet the following requirements:

              ///
                ///
              • Contain only ASCII letters (a-z, A-Z), numbers (0-9), periods (.), underscores (_), or dashes (-)

              • diff --git a/sdk/cloudtrail/src/operation/delete_channel/builders.rs b/sdk/cloudtrail/src/operation/delete_channel/builders.rs index ed4e5108adb2..d84ddce6679b 100644 --- a/sdk/cloudtrail/src/operation/delete_channel/builders.rs +++ b/sdk/cloudtrail/src/operation/delete_channel/builders.rs @@ -19,9 +19,9 @@ impl DeleteChannelFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl DeleteChannelFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::delete_channel::DeleteChannel, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                The ARN or the UUID value of the channel that you want to delete.

                pub fn channel(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.channel(input.into()); diff --git a/sdk/cloudtrail/src/operation/delete_event_data_store/builders.rs b/sdk/cloudtrail/src/operation/delete_event_data_store/builders.rs index 437e19c4965d..01e333c76e66 100644 --- a/sdk/cloudtrail/src/operation/delete_event_data_store/builders.rs +++ b/sdk/cloudtrail/src/operation/delete_event_data_store/builders.rs @@ -20,9 +20,9 @@ impl DeleteEventDataStoreFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -84,6 +84,22 @@ impl DeleteEventDataStoreFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::delete_event_data_store::DeleteEventDataStore, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::delete_event_data_store::DeleteEventDataStoreError, + >, + > { + self.customize_middleware().await + } ///

                The ARN (or the ID suffix of the ARN) of the event data store to delete.

                pub fn event_data_store( mut self, diff --git a/sdk/cloudtrail/src/operation/delete_resource_policy/builders.rs b/sdk/cloudtrail/src/operation/delete_resource_policy/builders.rs index a66dd990bb07..73c229966366 100644 --- a/sdk/cloudtrail/src/operation/delete_resource_policy/builders.rs +++ b/sdk/cloudtrail/src/operation/delete_resource_policy/builders.rs @@ -19,9 +19,9 @@ impl DeleteResourcePolicyFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl DeleteResourcePolicyFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::delete_resource_policy::DeleteResourcePolicy, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::delete_resource_policy::DeleteResourcePolicyError, + >, + > { + self.customize_middleware().await + } ///

                The Amazon Resource Name (ARN) of the CloudTrail channel you're deleting the resource-based policy from. The following is the format of a resource ARN: arn:aws:cloudtrail:us-east-2:123456789012:channel/MyChannel.

                pub fn resource_arn(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.resource_arn(input.into()); diff --git a/sdk/cloudtrail/src/operation/delete_trail/builders.rs b/sdk/cloudtrail/src/operation/delete_trail/builders.rs index 36a8bd97c931..f5e69a23c510 100644 --- a/sdk/cloudtrail/src/operation/delete_trail/builders.rs +++ b/sdk/cloudtrail/src/operation/delete_trail/builders.rs @@ -19,9 +19,9 @@ impl DeleteTrailFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl DeleteTrailFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::delete_trail::DeleteTrail, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                Specifies the name or the CloudTrail ARN of the trail to be deleted. The following is the format of a trail ARN. arn:aws:cloudtrail:us-east-2:123456789012:trail/MyTrail

                pub fn name(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.name(input.into()); diff --git a/sdk/cloudtrail/src/operation/deregister_organization_delegated_admin/builders.rs b/sdk/cloudtrail/src/operation/deregister_organization_delegated_admin/builders.rs index a92ae73d5ad0..87988f427b69 100644 --- a/sdk/cloudtrail/src/operation/deregister_organization_delegated_admin/builders.rs +++ b/sdk/cloudtrail/src/operation/deregister_organization_delegated_admin/builders.rs @@ -19,9 +19,9 @@ impl DeregisterOrganizationDelegatedAdminFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize(self) -> ::std::result::Result< + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware(self) -> ::std::result::Result< crate::client::customize::CustomizableOperation, ::aws_smithy_http::result::SdkError >{ @@ -64,6 +64,15 @@ impl DeregisterOrganizationDelegatedAdminFluentBuilder { { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize(self) -> ::std::result::Result< + crate::client::customize::CustomizableOperation, + ::aws_smithy_http::result::SdkError + >{ + self.customize_middleware().await + } ///

                A delegated administrator account ID. This is a member account in an organization that is currently designated as a delegated administrator.

                pub fn delegated_admin_account_id( mut self, diff --git a/sdk/cloudtrail/src/operation/describe_query/builders.rs b/sdk/cloudtrail/src/operation/describe_query/builders.rs index 3bcc8f0f00e9..dbefb665d4dd 100644 --- a/sdk/cloudtrail/src/operation/describe_query/builders.rs +++ b/sdk/cloudtrail/src/operation/describe_query/builders.rs @@ -19,9 +19,9 @@ impl DescribeQueryFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl DescribeQueryFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::describe_query::DescribeQuery, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                The ARN (or the ID suffix of the ARN) of an event data store on which the specified query was run.

                #[deprecated(note = "EventDataStore is no longer required by DescribeQueryRequest")] pub fn event_data_store( diff --git a/sdk/cloudtrail/src/operation/describe_trails/builders.rs b/sdk/cloudtrail/src/operation/describe_trails/builders.rs index 1b917a1e6a52..80a365cd6379 100644 --- a/sdk/cloudtrail/src/operation/describe_trails/builders.rs +++ b/sdk/cloudtrail/src/operation/describe_trails/builders.rs @@ -19,9 +19,9 @@ impl DescribeTrailsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl DescribeTrailsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::describe_trails::DescribeTrails, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } /// Appends an item to `trailNameList`. /// /// To override the contents of this collection use [`set_trail_name_list`](Self::set_trail_name_list). diff --git a/sdk/cloudtrail/src/operation/get_channel/builders.rs b/sdk/cloudtrail/src/operation/get_channel/builders.rs index b72fa25e576d..1b18ae504818 100644 --- a/sdk/cloudtrail/src/operation/get_channel/builders.rs +++ b/sdk/cloudtrail/src/operation/get_channel/builders.rs @@ -19,9 +19,9 @@ impl GetChannelFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl GetChannelFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::get_channel::GetChannel, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                The ARN or UUID of a channel.

                pub fn channel(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.channel(input.into()); diff --git a/sdk/cloudtrail/src/operation/get_event_data_store/builders.rs b/sdk/cloudtrail/src/operation/get_event_data_store/builders.rs index ecfc2260138a..f8ee55600b3f 100644 --- a/sdk/cloudtrail/src/operation/get_event_data_store/builders.rs +++ b/sdk/cloudtrail/src/operation/get_event_data_store/builders.rs @@ -19,9 +19,9 @@ impl GetEventDataStoreFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl GetEventDataStoreFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::get_event_data_store::GetEventDataStore, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::get_event_data_store::GetEventDataStoreError, + >, + > { + self.customize_middleware().await + } ///

                The ARN (or ID suffix of the ARN) of the event data store about which you want information.

                pub fn event_data_store( mut self, diff --git a/sdk/cloudtrail/src/operation/get_event_selectors/builders.rs b/sdk/cloudtrail/src/operation/get_event_selectors/builders.rs index bc16664a5bf2..99ca2e6cb546 100644 --- a/sdk/cloudtrail/src/operation/get_event_selectors/builders.rs +++ b/sdk/cloudtrail/src/operation/get_event_selectors/builders.rs @@ -29,9 +29,9 @@ impl GetEventSelectorsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -93,6 +93,22 @@ impl GetEventSelectorsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::get_event_selectors::GetEventSelectors, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::get_event_selectors::GetEventSelectorsError, + >, + > { + self.customize_middleware().await + } ///

                Specifies the name of the trail or trail ARN. If you specify a trail name, the string must meet the following requirements:

                ///
                  ///
                • Contain only ASCII letters (a-z, A-Z), numbers (0-9), periods (.), underscores (_), or dashes (-)

                • diff --git a/sdk/cloudtrail/src/operation/get_import/builders.rs b/sdk/cloudtrail/src/operation/get_import/builders.rs index bc611fcffba2..97370f313dfc 100644 --- a/sdk/cloudtrail/src/operation/get_import/builders.rs +++ b/sdk/cloudtrail/src/operation/get_import/builders.rs @@ -19,9 +19,9 @@ impl GetImportFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl GetImportFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::get_import::GetImport, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                  The ID for the import.

                  pub fn import_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.import_id(input.into()); diff --git a/sdk/cloudtrail/src/operation/get_insight_selectors/builders.rs b/sdk/cloudtrail/src/operation/get_insight_selectors/builders.rs index 8241b67fe79c..a1535439ab33 100644 --- a/sdk/cloudtrail/src/operation/get_insight_selectors/builders.rs +++ b/sdk/cloudtrail/src/operation/get_insight_selectors/builders.rs @@ -20,9 +20,9 @@ impl GetInsightSelectorsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -84,6 +84,22 @@ impl GetInsightSelectorsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::get_insight_selectors::GetInsightSelectors, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::get_insight_selectors::GetInsightSelectorsError, + >, + > { + self.customize_middleware().await + } ///

                  Specifies the name of the trail or trail ARN. If you specify a trail name, the string must meet the following requirements:

                  ///
                    ///
                  • Contain only ASCII letters (a-z, A-Z), numbers (0-9), periods (.), underscores (_), or dashes (-)

                  • diff --git a/sdk/cloudtrail/src/operation/get_query_results/builders.rs b/sdk/cloudtrail/src/operation/get_query_results/builders.rs index 3a57e65469fb..d4d603fe4f02 100644 --- a/sdk/cloudtrail/src/operation/get_query_results/builders.rs +++ b/sdk/cloudtrail/src/operation/get_query_results/builders.rs @@ -19,9 +19,9 @@ impl GetQueryResultsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl GetQueryResultsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::get_query_results::GetQueryResults, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::get_query_results::GetQueryResultsError, + >, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::get_query_results::paginator::GetQueryResultsPaginator::send) which returns a `Stream`. diff --git a/sdk/cloudtrail/src/operation/get_resource_policy/builders.rs b/sdk/cloudtrail/src/operation/get_resource_policy/builders.rs index 1729d4b16d4b..fb58fe2acf8f 100644 --- a/sdk/cloudtrail/src/operation/get_resource_policy/builders.rs +++ b/sdk/cloudtrail/src/operation/get_resource_policy/builders.rs @@ -19,9 +19,9 @@ impl GetResourcePolicyFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl GetResourcePolicyFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::get_resource_policy::GetResourcePolicy, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::get_resource_policy::GetResourcePolicyError, + >, + > { + self.customize_middleware().await + } ///

                    The Amazon Resource Name (ARN) of the CloudTrail channel attached to the resource-based policy. The following is the format of a resource ARN: arn:aws:cloudtrail:us-east-2:123456789012:channel/MyChannel.

                    pub fn resource_arn(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.resource_arn(input.into()); diff --git a/sdk/cloudtrail/src/operation/get_trail/builders.rs b/sdk/cloudtrail/src/operation/get_trail/builders.rs index 2bc72529bc52..422711e47327 100644 --- a/sdk/cloudtrail/src/operation/get_trail/builders.rs +++ b/sdk/cloudtrail/src/operation/get_trail/builders.rs @@ -19,9 +19,9 @@ impl GetTrailFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl GetTrailFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::get_trail::GetTrail, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                    The name or the Amazon Resource Name (ARN) of the trail for which you want to retrieve settings information.

                    pub fn name(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.name(input.into()); diff --git a/sdk/cloudtrail/src/operation/get_trail_status/builders.rs b/sdk/cloudtrail/src/operation/get_trail_status/builders.rs index 86545f553a97..bdae321afd2b 100644 --- a/sdk/cloudtrail/src/operation/get_trail_status/builders.rs +++ b/sdk/cloudtrail/src/operation/get_trail_status/builders.rs @@ -19,9 +19,9 @@ impl GetTrailStatusFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl GetTrailStatusFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::get_trail_status::GetTrailStatus, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::get_trail_status::GetTrailStatusError, + >, + > { + self.customize_middleware().await + } ///

                    Specifies the name or the CloudTrail ARN of the trail for which you are requesting status. To get the status of a shadow trail (a replication of the trail in another region), you must specify its ARN. The following is the format of a trail ARN.

                    ///

                    arn:aws:cloudtrail:us-east-2:123456789012:trail/MyTrail

                    pub fn name(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { diff --git a/sdk/cloudtrail/src/operation/list_channels/builders.rs b/sdk/cloudtrail/src/operation/list_channels/builders.rs index d043b6d2ec42..231bb2b9b6d0 100644 --- a/sdk/cloudtrail/src/operation/list_channels/builders.rs +++ b/sdk/cloudtrail/src/operation/list_channels/builders.rs @@ -19,9 +19,9 @@ impl ListChannelsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl ListChannelsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_channels::ListChannels, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::list_channels::paginator::ListChannelsPaginator::send) which returns a `Stream`. diff --git a/sdk/cloudtrail/src/operation/list_event_data_stores/builders.rs b/sdk/cloudtrail/src/operation/list_event_data_stores/builders.rs index 27cbfd9dd7bd..f2b6f4b02c04 100644 --- a/sdk/cloudtrail/src/operation/list_event_data_stores/builders.rs +++ b/sdk/cloudtrail/src/operation/list_event_data_stores/builders.rs @@ -19,9 +19,9 @@ impl ListEventDataStoresFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl ListEventDataStoresFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_event_data_stores::ListEventDataStores, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::list_event_data_stores::ListEventDataStoresError, + >, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::list_event_data_stores::paginator::ListEventDataStoresPaginator::send) which returns a `Stream`. diff --git a/sdk/cloudtrail/src/operation/list_import_failures/builders.rs b/sdk/cloudtrail/src/operation/list_import_failures/builders.rs index 940def2fd4ba..86ecdd33f407 100644 --- a/sdk/cloudtrail/src/operation/list_import_failures/builders.rs +++ b/sdk/cloudtrail/src/operation/list_import_failures/builders.rs @@ -19,9 +19,9 @@ impl ListImportFailuresFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl ListImportFailuresFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_import_failures::ListImportFailures, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::list_import_failures::ListImportFailuresError, + >, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::list_import_failures::paginator::ListImportFailuresPaginator::send) which returns a `Stream`. diff --git a/sdk/cloudtrail/src/operation/list_imports/builders.rs b/sdk/cloudtrail/src/operation/list_imports/builders.rs index 46367b65f168..0a931b31ff06 100644 --- a/sdk/cloudtrail/src/operation/list_imports/builders.rs +++ b/sdk/cloudtrail/src/operation/list_imports/builders.rs @@ -19,9 +19,9 @@ impl ListImportsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl ListImportsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_imports::ListImports, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::list_imports::paginator::ListImportsPaginator::send) which returns a `Stream`. diff --git a/sdk/cloudtrail/src/operation/list_public_keys/builders.rs b/sdk/cloudtrail/src/operation/list_public_keys/builders.rs index 3f33e0f0a686..a4a9f398e10c 100644 --- a/sdk/cloudtrail/src/operation/list_public_keys/builders.rs +++ b/sdk/cloudtrail/src/operation/list_public_keys/builders.rs @@ -21,9 +21,9 @@ impl ListPublicKeysFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -85,6 +85,22 @@ impl ListPublicKeysFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_public_keys::ListPublicKeys, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::list_public_keys::ListPublicKeysError, + >, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::list_public_keys::paginator::ListPublicKeysPaginator::send) which returns a `Stream`. diff --git a/sdk/cloudtrail/src/operation/list_queries/builders.rs b/sdk/cloudtrail/src/operation/list_queries/builders.rs index 2c8d95b83db2..6073a01c77ad 100644 --- a/sdk/cloudtrail/src/operation/list_queries/builders.rs +++ b/sdk/cloudtrail/src/operation/list_queries/builders.rs @@ -19,9 +19,9 @@ impl ListQueriesFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl ListQueriesFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_queries::ListQueries, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::list_queries::paginator::ListQueriesPaginator::send) which returns a `Stream`. diff --git a/sdk/cloudtrail/src/operation/list_tags/builders.rs b/sdk/cloudtrail/src/operation/list_tags/builders.rs index 93c4fc90f93b..2e4ec5e6e73c 100644 --- a/sdk/cloudtrail/src/operation/list_tags/builders.rs +++ b/sdk/cloudtrail/src/operation/list_tags/builders.rs @@ -19,9 +19,9 @@ impl ListTagsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl ListTagsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_tags::ListTags, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::list_tags::paginator::ListTagsPaginator::send) which returns a `Stream`. diff --git a/sdk/cloudtrail/src/operation/list_trails/builders.rs b/sdk/cloudtrail/src/operation/list_trails/builders.rs index adcf97c50f7a..bebabed45af5 100644 --- a/sdk/cloudtrail/src/operation/list_trails/builders.rs +++ b/sdk/cloudtrail/src/operation/list_trails/builders.rs @@ -19,9 +19,9 @@ impl ListTrailsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl ListTrailsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_trails::ListTrails, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::list_trails::paginator::ListTrailsPaginator::send) which returns a `Stream`. diff --git a/sdk/cloudtrail/src/operation/lookup_events/builders.rs b/sdk/cloudtrail/src/operation/lookup_events/builders.rs index c483e538e0e1..60ae36af59f8 100644 --- a/sdk/cloudtrail/src/operation/lookup_events/builders.rs +++ b/sdk/cloudtrail/src/operation/lookup_events/builders.rs @@ -38,9 +38,9 @@ impl LookupEventsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -96,6 +96,20 @@ impl LookupEventsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::lookup_events::LookupEvents, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::lookup_events::paginator::LookupEventsPaginator::send) which returns a `Stream`. diff --git a/sdk/cloudtrail/src/operation/put_event_selectors/builders.rs b/sdk/cloudtrail/src/operation/put_event_selectors/builders.rs index 57d19de54a2d..9b7b722b347d 100644 --- a/sdk/cloudtrail/src/operation/put_event_selectors/builders.rs +++ b/sdk/cloudtrail/src/operation/put_event_selectors/builders.rs @@ -31,9 +31,9 @@ impl PutEventSelectorsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -95,6 +95,22 @@ impl PutEventSelectorsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::put_event_selectors::PutEventSelectors, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::put_event_selectors::PutEventSelectorsError, + >, + > { + self.customize_middleware().await + } ///

                    Specifies the name of the trail or trail ARN. If you specify a trail name, the string must meet the following requirements:

                    ///
                      ///
                    • Contain only ASCII letters (a-z, A-Z), numbers (0-9), periods (.), underscores (_), or dashes (-)

                    • diff --git a/sdk/cloudtrail/src/operation/put_insight_selectors/builders.rs b/sdk/cloudtrail/src/operation/put_insight_selectors/builders.rs index e70772a91593..6eaf8d046f01 100644 --- a/sdk/cloudtrail/src/operation/put_insight_selectors/builders.rs +++ b/sdk/cloudtrail/src/operation/put_insight_selectors/builders.rs @@ -20,9 +20,9 @@ impl PutInsightSelectorsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -84,6 +84,22 @@ impl PutInsightSelectorsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::put_insight_selectors::PutInsightSelectors, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::put_insight_selectors::PutInsightSelectorsError, + >, + > { + self.customize_middleware().await + } ///

                      The name of the CloudTrail trail for which you want to change or add Insights selectors.

                      pub fn trail_name(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.trail_name(input.into()); diff --git a/sdk/cloudtrail/src/operation/put_resource_policy/builders.rs b/sdk/cloudtrail/src/operation/put_resource_policy/builders.rs index 3731f32640ac..f0837d34dd47 100644 --- a/sdk/cloudtrail/src/operation/put_resource_policy/builders.rs +++ b/sdk/cloudtrail/src/operation/put_resource_policy/builders.rs @@ -19,9 +19,9 @@ impl PutResourcePolicyFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl PutResourcePolicyFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::put_resource_policy::PutResourcePolicy, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::put_resource_policy::PutResourcePolicyError, + >, + > { + self.customize_middleware().await + } ///

                      The Amazon Resource Name (ARN) of the CloudTrail channel attached to the resource-based policy. The following is the format of a resource ARN: arn:aws:cloudtrail:us-east-2:123456789012:channel/MyChannel.

                      pub fn resource_arn(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.resource_arn(input.into()); diff --git a/sdk/cloudtrail/src/operation/register_organization_delegated_admin/builders.rs b/sdk/cloudtrail/src/operation/register_organization_delegated_admin/builders.rs index fe64cce8ca67..2c4def8db7c0 100644 --- a/sdk/cloudtrail/src/operation/register_organization_delegated_admin/builders.rs +++ b/sdk/cloudtrail/src/operation/register_organization_delegated_admin/builders.rs @@ -19,9 +19,9 @@ impl RegisterOrganizationDelegatedAdminFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize(self) -> ::std::result::Result< + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware(self) -> ::std::result::Result< crate::client::customize::CustomizableOperation, ::aws_smithy_http::result::SdkError >{ @@ -64,6 +64,15 @@ impl RegisterOrganizationDelegatedAdminFluentBuilder { { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize(self) -> ::std::result::Result< + crate::client::customize::CustomizableOperation, + ::aws_smithy_http::result::SdkError + >{ + self.customize_middleware().await + } ///

                      An organization member account ID that you want to designate as a delegated administrator.

                      pub fn member_account_id( mut self, diff --git a/sdk/cloudtrail/src/operation/remove_tags/builders.rs b/sdk/cloudtrail/src/operation/remove_tags/builders.rs index ed5043dee36f..85db6fb94a9e 100644 --- a/sdk/cloudtrail/src/operation/remove_tags/builders.rs +++ b/sdk/cloudtrail/src/operation/remove_tags/builders.rs @@ -19,9 +19,9 @@ impl RemoveTagsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl RemoveTagsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::remove_tags::RemoveTags, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                      Specifies the ARN of the trail, event data store, or channel from which tags should be removed.

                      ///

                      Example trail ARN format: arn:aws:cloudtrail:us-east-2:123456789012:trail/MyTrail

                      ///

                      Example event data store ARN format: arn:aws:cloudtrail:us-east-2:12345678910:eventdatastore/EXAMPLE-f852-4e8f-8bd1-bcf6cEXAMPLE

                      diff --git a/sdk/cloudtrail/src/operation/restore_event_data_store/builders.rs b/sdk/cloudtrail/src/operation/restore_event_data_store/builders.rs index bc83a11d7aff..a40b61eb1369 100644 --- a/sdk/cloudtrail/src/operation/restore_event_data_store/builders.rs +++ b/sdk/cloudtrail/src/operation/restore_event_data_store/builders.rs @@ -19,9 +19,9 @@ impl RestoreEventDataStoreFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl RestoreEventDataStoreFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::restore_event_data_store::RestoreEventDataStore, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::restore_event_data_store::RestoreEventDataStoreError, + >, + > { + self.customize_middleware().await + } ///

                      The ARN (or the ID suffix of the ARN) of the event data store that you want to restore.

                      pub fn event_data_store( mut self, diff --git a/sdk/cloudtrail/src/operation/start_import/builders.rs b/sdk/cloudtrail/src/operation/start_import/builders.rs index 577f173f26f7..5cc3d067d737 100644 --- a/sdk/cloudtrail/src/operation/start_import/builders.rs +++ b/sdk/cloudtrail/src/operation/start_import/builders.rs @@ -23,9 +23,9 @@ impl StartImportFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -81,6 +81,20 @@ impl StartImportFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::start_import::StartImport, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } /// Appends an item to `Destinations`. /// /// To override the contents of this collection use [`set_destinations`](Self::set_destinations). diff --git a/sdk/cloudtrail/src/operation/start_logging/builders.rs b/sdk/cloudtrail/src/operation/start_logging/builders.rs index a9b5b8b433f3..d9c0d56b7bae 100644 --- a/sdk/cloudtrail/src/operation/start_logging/builders.rs +++ b/sdk/cloudtrail/src/operation/start_logging/builders.rs @@ -19,9 +19,9 @@ impl StartLoggingFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl StartLoggingFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::start_logging::StartLogging, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                      Specifies the name or the CloudTrail ARN of the trail for which CloudTrail logs Amazon Web Services API calls. The following is the format of a trail ARN.

                      ///

                      arn:aws:cloudtrail:us-east-2:123456789012:trail/MyTrail

                      pub fn name(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { diff --git a/sdk/cloudtrail/src/operation/start_query/builders.rs b/sdk/cloudtrail/src/operation/start_query/builders.rs index 3781fd52b290..476a19d5c30a 100644 --- a/sdk/cloudtrail/src/operation/start_query/builders.rs +++ b/sdk/cloudtrail/src/operation/start_query/builders.rs @@ -19,9 +19,9 @@ impl StartQueryFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl StartQueryFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::start_query::StartQuery, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                      The SQL code of your query.

                      pub fn query_statement( mut self, diff --git a/sdk/cloudtrail/src/operation/stop_import/builders.rs b/sdk/cloudtrail/src/operation/stop_import/builders.rs index 479905e2e758..459df9bf6e43 100644 --- a/sdk/cloudtrail/src/operation/stop_import/builders.rs +++ b/sdk/cloudtrail/src/operation/stop_import/builders.rs @@ -19,9 +19,9 @@ impl StopImportFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl StopImportFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::stop_import::StopImport, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                      The ID of the import.

                      pub fn import_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.import_id(input.into()); diff --git a/sdk/cloudtrail/src/operation/stop_logging/builders.rs b/sdk/cloudtrail/src/operation/stop_logging/builders.rs index 70962955fc95..f37557ca8c32 100644 --- a/sdk/cloudtrail/src/operation/stop_logging/builders.rs +++ b/sdk/cloudtrail/src/operation/stop_logging/builders.rs @@ -19,9 +19,9 @@ impl StopLoggingFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl StopLoggingFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::stop_logging::StopLogging, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                      Specifies the name or the CloudTrail ARN of the trail for which CloudTrail will stop logging Amazon Web Services API calls. The following is the format of a trail ARN.

                      ///

                      arn:aws:cloudtrail:us-east-2:123456789012:trail/MyTrail

                      pub fn name(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { diff --git a/sdk/cloudtrail/src/operation/update_channel/builders.rs b/sdk/cloudtrail/src/operation/update_channel/builders.rs index a76e92a177b7..fdf7bd71d772 100644 --- a/sdk/cloudtrail/src/operation/update_channel/builders.rs +++ b/sdk/cloudtrail/src/operation/update_channel/builders.rs @@ -19,9 +19,9 @@ impl UpdateChannelFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl UpdateChannelFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::update_channel::UpdateChannel, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                      The ARN or ID (the ARN suffix) of the channel that you want to update.

                      pub fn channel(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.channel(input.into()); diff --git a/sdk/cloudtrail/src/operation/update_event_data_store/builders.rs b/sdk/cloudtrail/src/operation/update_event_data_store/builders.rs index 08eea4e2bc72..9da3c042171d 100644 --- a/sdk/cloudtrail/src/operation/update_event_data_store/builders.rs +++ b/sdk/cloudtrail/src/operation/update_event_data_store/builders.rs @@ -21,9 +21,9 @@ impl UpdateEventDataStoreFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -85,6 +85,22 @@ impl UpdateEventDataStoreFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::update_event_data_store::UpdateEventDataStore, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::update_event_data_store::UpdateEventDataStoreError, + >, + > { + self.customize_middleware().await + } ///

                      The ARN (or the ID suffix of the ARN) of the event data store that you want to update.

                      pub fn event_data_store( mut self, diff --git a/sdk/cloudtrail/src/operation/update_trail/builders.rs b/sdk/cloudtrail/src/operation/update_trail/builders.rs index 0a2929d4a2c6..d58b9527bbef 100644 --- a/sdk/cloudtrail/src/operation/update_trail/builders.rs +++ b/sdk/cloudtrail/src/operation/update_trail/builders.rs @@ -19,9 +19,9 @@ impl UpdateTrailFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl UpdateTrailFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::update_trail::UpdateTrail, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                      Specifies the name of the trail or trail ARN. If Name is a trail name, the string must meet the following requirements:

                      ///
                        ///
                      • Contain only ASCII letters (a-z, A-Z), numbers (0-9), periods (.), underscores (_), or dashes (-)

                      • diff --git a/sdk/cloudtraildata/src/operation/put_audit_events/builders.rs b/sdk/cloudtraildata/src/operation/put_audit_events/builders.rs index d60429a93df6..9e709b96b783 100644 --- a/sdk/cloudtraildata/src/operation/put_audit_events/builders.rs +++ b/sdk/cloudtraildata/src/operation/put_audit_events/builders.rs @@ -19,9 +19,9 @@ impl PutAuditEventsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl PutAuditEventsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::put_audit_events::PutAuditEvents, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::put_audit_events::PutAuditEventsError, + >, + > { + self.customize_middleware().await + } /// Appends an item to `auditEvents`. /// /// To override the contents of this collection use [`set_audit_events`](Self::set_audit_events). diff --git a/sdk/cloudwatch/src/operation/delete_alarms/builders.rs b/sdk/cloudwatch/src/operation/delete_alarms/builders.rs index 3f97dd3c7747..10a2bdae21ac 100644 --- a/sdk/cloudwatch/src/operation/delete_alarms/builders.rs +++ b/sdk/cloudwatch/src/operation/delete_alarms/builders.rs @@ -24,9 +24,9 @@ impl DeleteAlarmsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -82,6 +82,20 @@ impl DeleteAlarmsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::delete_alarms::DeleteAlarms, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } /// Appends an item to `AlarmNames`. /// /// To override the contents of this collection use [`set_alarm_names`](Self::set_alarm_names). diff --git a/sdk/cloudwatch/src/operation/delete_anomaly_detector/builders.rs b/sdk/cloudwatch/src/operation/delete_anomaly_detector/builders.rs index a64d4898cfdd..66ab288ce210 100644 --- a/sdk/cloudwatch/src/operation/delete_anomaly_detector/builders.rs +++ b/sdk/cloudwatch/src/operation/delete_anomaly_detector/builders.rs @@ -19,9 +19,9 @@ impl DeleteAnomalyDetectorFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl DeleteAnomalyDetectorFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::delete_anomaly_detector::DeleteAnomalyDetector, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::delete_anomaly_detector::DeleteAnomalyDetectorError, + >, + > { + self.customize_middleware().await + } ///

                        The namespace associated with the anomaly detection model to delete.

                        #[deprecated(note = "Use SingleMetricAnomalyDetector.")] pub fn namespace(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { diff --git a/sdk/cloudwatch/src/operation/delete_dashboards/builders.rs b/sdk/cloudwatch/src/operation/delete_dashboards/builders.rs index 919e0c7b7bf0..fef8ea61d166 100644 --- a/sdk/cloudwatch/src/operation/delete_dashboards/builders.rs +++ b/sdk/cloudwatch/src/operation/delete_dashboards/builders.rs @@ -19,9 +19,9 @@ impl DeleteDashboardsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl DeleteDashboardsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::delete_dashboards::DeleteDashboards, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::delete_dashboards::DeleteDashboardsError, + >, + > { + self.customize_middleware().await + } /// Appends an item to `DashboardNames`. /// /// To override the contents of this collection use [`set_dashboard_names`](Self::set_dashboard_names). diff --git a/sdk/cloudwatch/src/operation/delete_insight_rules/builders.rs b/sdk/cloudwatch/src/operation/delete_insight_rules/builders.rs index 0f6717a5db0f..98d81336624d 100644 --- a/sdk/cloudwatch/src/operation/delete_insight_rules/builders.rs +++ b/sdk/cloudwatch/src/operation/delete_insight_rules/builders.rs @@ -20,9 +20,9 @@ impl DeleteInsightRulesFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -84,6 +84,22 @@ impl DeleteInsightRulesFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::delete_insight_rules::DeleteInsightRules, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::delete_insight_rules::DeleteInsightRulesError, + >, + > { + self.customize_middleware().await + } /// Appends an item to `RuleNames`. /// /// To override the contents of this collection use [`set_rule_names`](Self::set_rule_names). diff --git a/sdk/cloudwatch/src/operation/delete_metric_stream/builders.rs b/sdk/cloudwatch/src/operation/delete_metric_stream/builders.rs index 3201af606ab0..d0a5073b7e28 100644 --- a/sdk/cloudwatch/src/operation/delete_metric_stream/builders.rs +++ b/sdk/cloudwatch/src/operation/delete_metric_stream/builders.rs @@ -19,9 +19,9 @@ impl DeleteMetricStreamFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl DeleteMetricStreamFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::delete_metric_stream::DeleteMetricStream, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::delete_metric_stream::DeleteMetricStreamError, + >, + > { + self.customize_middleware().await + } ///

                        The name of the metric stream to delete.

                        pub fn name(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.name(input.into()); diff --git a/sdk/cloudwatch/src/operation/describe_alarm_history/builders.rs b/sdk/cloudwatch/src/operation/describe_alarm_history/builders.rs index d947ef3a8403..1efb4de26a0c 100644 --- a/sdk/cloudwatch/src/operation/describe_alarm_history/builders.rs +++ b/sdk/cloudwatch/src/operation/describe_alarm_history/builders.rs @@ -21,9 +21,9 @@ impl DescribeAlarmHistoryFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -85,6 +85,22 @@ impl DescribeAlarmHistoryFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::describe_alarm_history::DescribeAlarmHistory, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::describe_alarm_history::DescribeAlarmHistoryError, + >, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::describe_alarm_history::paginator::DescribeAlarmHistoryPaginator::send) which returns a `Stream`. diff --git a/sdk/cloudwatch/src/operation/describe_alarms/builders.rs b/sdk/cloudwatch/src/operation/describe_alarms/builders.rs index 936835e2c94d..692eb7af7aca 100644 --- a/sdk/cloudwatch/src/operation/describe_alarms/builders.rs +++ b/sdk/cloudwatch/src/operation/describe_alarms/builders.rs @@ -20,9 +20,9 @@ impl DescribeAlarmsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -78,6 +78,20 @@ impl DescribeAlarmsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::describe_alarms::DescribeAlarms, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::describe_alarms::paginator::DescribeAlarmsPaginator::send) which returns a `Stream`. diff --git a/sdk/cloudwatch/src/operation/describe_alarms_for_metric/builders.rs b/sdk/cloudwatch/src/operation/describe_alarms_for_metric/builders.rs index 3bb382dbc9d4..136b47c400c3 100644 --- a/sdk/cloudwatch/src/operation/describe_alarms_for_metric/builders.rs +++ b/sdk/cloudwatch/src/operation/describe_alarms_for_metric/builders.rs @@ -21,9 +21,9 @@ impl DescribeAlarmsForMetricFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -85,6 +85,22 @@ impl DescribeAlarmsForMetricFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::describe_alarms_for_metric::DescribeAlarmsForMetric, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::describe_alarms_for_metric::DescribeAlarmsForMetricError, + >, + > { + self.customize_middleware().await + } ///

                        The name of the metric.

                        pub fn metric_name(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.metric_name(input.into()); diff --git a/sdk/cloudwatch/src/operation/describe_anomaly_detectors/builders.rs b/sdk/cloudwatch/src/operation/describe_anomaly_detectors/builders.rs index bfd510e805ee..1b68b5c967c6 100644 --- a/sdk/cloudwatch/src/operation/describe_anomaly_detectors/builders.rs +++ b/sdk/cloudwatch/src/operation/describe_anomaly_detectors/builders.rs @@ -19,9 +19,9 @@ impl DescribeAnomalyDetectorsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl DescribeAnomalyDetectorsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::describe_anomaly_detectors::DescribeAnomalyDetectors, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::describe_anomaly_detectors::DescribeAnomalyDetectorsError, + >, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::describe_anomaly_detectors::paginator::DescribeAnomalyDetectorsPaginator::send) which returns a `Stream`. diff --git a/sdk/cloudwatch/src/operation/describe_insight_rules/builders.rs b/sdk/cloudwatch/src/operation/describe_insight_rules/builders.rs index 90167d12ea50..178c2aa149b7 100644 --- a/sdk/cloudwatch/src/operation/describe_insight_rules/builders.rs +++ b/sdk/cloudwatch/src/operation/describe_insight_rules/builders.rs @@ -20,9 +20,9 @@ impl DescribeInsightRulesFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -84,6 +84,22 @@ impl DescribeInsightRulesFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::describe_insight_rules::DescribeInsightRules, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::describe_insight_rules::DescribeInsightRulesError, + >, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::describe_insight_rules::paginator::DescribeInsightRulesPaginator::send) which returns a `Stream`. diff --git a/sdk/cloudwatch/src/operation/disable_alarm_actions/builders.rs b/sdk/cloudwatch/src/operation/disable_alarm_actions/builders.rs index bf188d6e3d84..902bb524b328 100644 --- a/sdk/cloudwatch/src/operation/disable_alarm_actions/builders.rs +++ b/sdk/cloudwatch/src/operation/disable_alarm_actions/builders.rs @@ -19,9 +19,9 @@ impl DisableAlarmActionsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl DisableAlarmActionsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::disable_alarm_actions::DisableAlarmActions, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::disable_alarm_actions::DisableAlarmActionsError, + >, + > { + self.customize_middleware().await + } /// Appends an item to `AlarmNames`. /// /// To override the contents of this collection use [`set_alarm_names`](Self::set_alarm_names). diff --git a/sdk/cloudwatch/src/operation/disable_insight_rules/builders.rs b/sdk/cloudwatch/src/operation/disable_insight_rules/builders.rs index 3685fdfae975..775f6b6f7aa3 100644 --- a/sdk/cloudwatch/src/operation/disable_insight_rules/builders.rs +++ b/sdk/cloudwatch/src/operation/disable_insight_rules/builders.rs @@ -19,9 +19,9 @@ impl DisableInsightRulesFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl DisableInsightRulesFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::disable_insight_rules::DisableInsightRules, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::disable_insight_rules::DisableInsightRulesError, + >, + > { + self.customize_middleware().await + } /// Appends an item to `RuleNames`. /// /// To override the contents of this collection use [`set_rule_names`](Self::set_rule_names). diff --git a/sdk/cloudwatch/src/operation/enable_alarm_actions/builders.rs b/sdk/cloudwatch/src/operation/enable_alarm_actions/builders.rs index 47e164dba496..699336368c76 100644 --- a/sdk/cloudwatch/src/operation/enable_alarm_actions/builders.rs +++ b/sdk/cloudwatch/src/operation/enable_alarm_actions/builders.rs @@ -19,9 +19,9 @@ impl EnableAlarmActionsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl EnableAlarmActionsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::enable_alarm_actions::EnableAlarmActions, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::enable_alarm_actions::EnableAlarmActionsError, + >, + > { + self.customize_middleware().await + } /// Appends an item to `AlarmNames`. /// /// To override the contents of this collection use [`set_alarm_names`](Self::set_alarm_names). diff --git a/sdk/cloudwatch/src/operation/enable_insight_rules/builders.rs b/sdk/cloudwatch/src/operation/enable_insight_rules/builders.rs index 36c054671e76..bf4d4a325842 100644 --- a/sdk/cloudwatch/src/operation/enable_insight_rules/builders.rs +++ b/sdk/cloudwatch/src/operation/enable_insight_rules/builders.rs @@ -19,9 +19,9 @@ impl EnableInsightRulesFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl EnableInsightRulesFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::enable_insight_rules::EnableInsightRules, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::enable_insight_rules::EnableInsightRulesError, + >, + > { + self.customize_middleware().await + } /// Appends an item to `RuleNames`. /// /// To override the contents of this collection use [`set_rule_names`](Self::set_rule_names). diff --git a/sdk/cloudwatch/src/operation/get_dashboard/builders.rs b/sdk/cloudwatch/src/operation/get_dashboard/builders.rs index 494021413667..f71cd8ba3e8b 100644 --- a/sdk/cloudwatch/src/operation/get_dashboard/builders.rs +++ b/sdk/cloudwatch/src/operation/get_dashboard/builders.rs @@ -20,9 +20,9 @@ impl GetDashboardFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -78,6 +78,20 @@ impl GetDashboardFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::get_dashboard::GetDashboard, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                        The name of the dashboard to be described.

                        pub fn dashboard_name( mut self, diff --git a/sdk/cloudwatch/src/operation/get_insight_rule_report/builders.rs b/sdk/cloudwatch/src/operation/get_insight_rule_report/builders.rs index f1b9afdf2bf6..7955ec85d5b2 100644 --- a/sdk/cloudwatch/src/operation/get_insight_rule_report/builders.rs +++ b/sdk/cloudwatch/src/operation/get_insight_rule_report/builders.rs @@ -29,9 +29,9 @@ impl GetInsightRuleReportFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -93,6 +93,22 @@ impl GetInsightRuleReportFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::get_insight_rule_report::GetInsightRuleReport, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::get_insight_rule_report::GetInsightRuleReportError, + >, + > { + self.customize_middleware().await + } ///

                        The name of the rule that you want to see data from.

                        pub fn rule_name(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.rule_name(input.into()); diff --git a/sdk/cloudwatch/src/operation/get_metric_data/builders.rs b/sdk/cloudwatch/src/operation/get_metric_data/builders.rs index a4c06ddd31da..61f9e7172185 100644 --- a/sdk/cloudwatch/src/operation/get_metric_data/builders.rs +++ b/sdk/cloudwatch/src/operation/get_metric_data/builders.rs @@ -33,9 +33,9 @@ impl GetMetricDataFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -91,6 +91,20 @@ impl GetMetricDataFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::get_metric_data::GetMetricData, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::get_metric_data::paginator::GetMetricDataPaginator::send) which returns a `Stream`. diff --git a/sdk/cloudwatch/src/operation/get_metric_statistics/builders.rs b/sdk/cloudwatch/src/operation/get_metric_statistics/builders.rs index 8932acbcb512..03d46d62d144 100644 --- a/sdk/cloudwatch/src/operation/get_metric_statistics/builders.rs +++ b/sdk/cloudwatch/src/operation/get_metric_statistics/builders.rs @@ -37,9 +37,9 @@ impl GetMetricStatisticsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -101,6 +101,22 @@ impl GetMetricStatisticsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::get_metric_statistics::GetMetricStatistics, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::get_metric_statistics::GetMetricStatisticsError, + >, + > { + self.customize_middleware().await + } ///

                        The namespace of the metric, with or without spaces.

                        pub fn namespace(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.namespace(input.into()); diff --git a/sdk/cloudwatch/src/operation/get_metric_stream/builders.rs b/sdk/cloudwatch/src/operation/get_metric_stream/builders.rs index 00649284739b..47476badc2c5 100644 --- a/sdk/cloudwatch/src/operation/get_metric_stream/builders.rs +++ b/sdk/cloudwatch/src/operation/get_metric_stream/builders.rs @@ -19,9 +19,9 @@ impl GetMetricStreamFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl GetMetricStreamFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::get_metric_stream::GetMetricStream, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::get_metric_stream::GetMetricStreamError, + >, + > { + self.customize_middleware().await + } ///

                        The name of the metric stream to retrieve information about.

                        pub fn name(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.name(input.into()); diff --git a/sdk/cloudwatch/src/operation/get_metric_widget_image/builders.rs b/sdk/cloudwatch/src/operation/get_metric_widget_image/builders.rs index 5474f5aad745..5ac830940981 100644 --- a/sdk/cloudwatch/src/operation/get_metric_widget_image/builders.rs +++ b/sdk/cloudwatch/src/operation/get_metric_widget_image/builders.rs @@ -25,9 +25,9 @@ impl GetMetricWidgetImageFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -89,6 +89,22 @@ impl GetMetricWidgetImageFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::get_metric_widget_image::GetMetricWidgetImage, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::get_metric_widget_image::GetMetricWidgetImageError, + >, + > { + self.customize_middleware().await + } ///

                        A JSON string that defines the bitmap graph to be retrieved. The string includes the metrics to include in the graph, statistics, annotations, title, axis limits, and so on. You can include only one MetricWidget parameter in each GetMetricWidgetImage call.

                        ///

                        For more information about the syntax of MetricWidget see GetMetricWidgetImage: Metric Widget Structure and Syntax.

                        ///

                        If any metric on the graph could not load all the requested data points, an orange triangle with an exclamation point appears next to the graph legend.

                        diff --git a/sdk/cloudwatch/src/operation/list_dashboards/builders.rs b/sdk/cloudwatch/src/operation/list_dashboards/builders.rs index c98d5838f354..eb1a834fd33e 100644 --- a/sdk/cloudwatch/src/operation/list_dashboards/builders.rs +++ b/sdk/cloudwatch/src/operation/list_dashboards/builders.rs @@ -20,9 +20,9 @@ impl ListDashboardsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -78,6 +78,20 @@ impl ListDashboardsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_dashboards::ListDashboards, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::list_dashboards::paginator::ListDashboardsPaginator::send) which returns a `Stream`. diff --git a/sdk/cloudwatch/src/operation/list_managed_insight_rules/builders.rs b/sdk/cloudwatch/src/operation/list_managed_insight_rules/builders.rs index 991cd0ba6d6c..4d9533f51166 100644 --- a/sdk/cloudwatch/src/operation/list_managed_insight_rules/builders.rs +++ b/sdk/cloudwatch/src/operation/list_managed_insight_rules/builders.rs @@ -20,9 +20,9 @@ impl ListManagedInsightRulesFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -84,6 +84,22 @@ impl ListManagedInsightRulesFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_managed_insight_rules::ListManagedInsightRules, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::list_managed_insight_rules::ListManagedInsightRulesError, + >, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::list_managed_insight_rules::paginator::ListManagedInsightRulesPaginator::send) which returns a `Stream`. diff --git a/sdk/cloudwatch/src/operation/list_metric_streams/builders.rs b/sdk/cloudwatch/src/operation/list_metric_streams/builders.rs index 25da6db4fc62..a42876b03de4 100644 --- a/sdk/cloudwatch/src/operation/list_metric_streams/builders.rs +++ b/sdk/cloudwatch/src/operation/list_metric_streams/builders.rs @@ -19,9 +19,9 @@ impl ListMetricStreamsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl ListMetricStreamsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_metric_streams::ListMetricStreams, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::list_metric_streams::ListMetricStreamsError, + >, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::list_metric_streams::paginator::ListMetricStreamsPaginator::send) which returns a `Stream`. diff --git a/sdk/cloudwatch/src/operation/list_metrics/builders.rs b/sdk/cloudwatch/src/operation/list_metrics/builders.rs index bc0a17068582..29b4df3d17e4 100644 --- a/sdk/cloudwatch/src/operation/list_metrics/builders.rs +++ b/sdk/cloudwatch/src/operation/list_metrics/builders.rs @@ -23,9 +23,9 @@ impl ListMetricsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -81,6 +81,20 @@ impl ListMetricsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_metrics::ListMetrics, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::list_metrics::paginator::ListMetricsPaginator::send) which returns a `Stream`. diff --git a/sdk/cloudwatch/src/operation/list_tags_for_resource/builders.rs b/sdk/cloudwatch/src/operation/list_tags_for_resource/builders.rs index 225fcbb42703..ab922e4f55c7 100644 --- a/sdk/cloudwatch/src/operation/list_tags_for_resource/builders.rs +++ b/sdk/cloudwatch/src/operation/list_tags_for_resource/builders.rs @@ -19,9 +19,9 @@ impl ListTagsForResourceFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl ListTagsForResourceFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_tags_for_resource::ListTagsForResource, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::list_tags_for_resource::ListTagsForResourceError, + >, + > { + self.customize_middleware().await + } ///

                        The ARN of the CloudWatch resource that you want to view tags for.

                        ///

                        The ARN format of an alarm is arn:aws:cloudwatch:Region:account-id:alarm:alarm-name

                        ///

                        The ARN format of a Contributor Insights rule is arn:aws:cloudwatch:Region:account-id:insight-rule:insight-rule-name

                        diff --git a/sdk/cloudwatch/src/operation/put_anomaly_detector/builders.rs b/sdk/cloudwatch/src/operation/put_anomaly_detector/builders.rs index 8646f79405a6..5a5ad60a3531 100644 --- a/sdk/cloudwatch/src/operation/put_anomaly_detector/builders.rs +++ b/sdk/cloudwatch/src/operation/put_anomaly_detector/builders.rs @@ -20,9 +20,9 @@ impl PutAnomalyDetectorFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -84,6 +84,22 @@ impl PutAnomalyDetectorFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::put_anomaly_detector::PutAnomalyDetector, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::put_anomaly_detector::PutAnomalyDetectorError, + >, + > { + self.customize_middleware().await + } ///

                        The namespace of the metric to create the anomaly detection model for.

                        #[deprecated(note = "Use SingleMetricAnomalyDetector.")] pub fn namespace(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { diff --git a/sdk/cloudwatch/src/operation/put_composite_alarm/builders.rs b/sdk/cloudwatch/src/operation/put_composite_alarm/builders.rs index 991723647961..89494124235d 100644 --- a/sdk/cloudwatch/src/operation/put_composite_alarm/builders.rs +++ b/sdk/cloudwatch/src/operation/put_composite_alarm/builders.rs @@ -30,9 +30,9 @@ impl PutCompositeAlarmFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -94,6 +94,22 @@ impl PutCompositeAlarmFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::put_composite_alarm::PutCompositeAlarm, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::put_composite_alarm::PutCompositeAlarmError, + >, + > { + self.customize_middleware().await + } ///

                        Indicates whether actions should be executed during any changes to the alarm state of the composite alarm. The default is TRUE.

                        pub fn actions_enabled(mut self, input: bool) -> Self { self.inner = self.inner.actions_enabled(input); diff --git a/sdk/cloudwatch/src/operation/put_dashboard/builders.rs b/sdk/cloudwatch/src/operation/put_dashboard/builders.rs index 9d4108d86941..54073c329174 100644 --- a/sdk/cloudwatch/src/operation/put_dashboard/builders.rs +++ b/sdk/cloudwatch/src/operation/put_dashboard/builders.rs @@ -22,9 +22,9 @@ impl PutDashboardFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -80,6 +80,20 @@ impl PutDashboardFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::put_dashboard::PutDashboard, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                        The name of the dashboard. If a dashboard with this name already exists, this call modifies that dashboard, replacing its current contents. Otherwise, a new dashboard is created. The maximum length is 255, and valid characters are A-Z, a-z, 0-9, "-", and "_". This parameter is required.

                        pub fn dashboard_name( mut self, diff --git a/sdk/cloudwatch/src/operation/put_insight_rule/builders.rs b/sdk/cloudwatch/src/operation/put_insight_rule/builders.rs index 7920a1da6cf7..9448f8645710 100644 --- a/sdk/cloudwatch/src/operation/put_insight_rule/builders.rs +++ b/sdk/cloudwatch/src/operation/put_insight_rule/builders.rs @@ -20,9 +20,9 @@ impl PutInsightRuleFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -84,6 +84,22 @@ impl PutInsightRuleFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::put_insight_rule::PutInsightRule, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::put_insight_rule::PutInsightRuleError, + >, + > { + self.customize_middleware().await + } ///

                        A unique name for the rule.

                        pub fn rule_name(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.rule_name(input.into()); diff --git a/sdk/cloudwatch/src/operation/put_managed_insight_rules/builders.rs b/sdk/cloudwatch/src/operation/put_managed_insight_rules/builders.rs index f9a755bf10cf..fa936def45e6 100644 --- a/sdk/cloudwatch/src/operation/put_managed_insight_rules/builders.rs +++ b/sdk/cloudwatch/src/operation/put_managed_insight_rules/builders.rs @@ -20,9 +20,9 @@ impl PutManagedInsightRulesFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -84,6 +84,22 @@ impl PutManagedInsightRulesFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::put_managed_insight_rules::PutManagedInsightRules, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::put_managed_insight_rules::PutManagedInsightRulesError, + >, + > { + self.customize_middleware().await + } /// Appends an item to `ManagedRules`. /// /// To override the contents of this collection use [`set_managed_rules`](Self::set_managed_rules). diff --git a/sdk/cloudwatch/src/operation/put_metric_alarm/builders.rs b/sdk/cloudwatch/src/operation/put_metric_alarm/builders.rs index 1353a4b0b7fd..b4132229f13d 100644 --- a/sdk/cloudwatch/src/operation/put_metric_alarm/builders.rs +++ b/sdk/cloudwatch/src/operation/put_metric_alarm/builders.rs @@ -35,9 +35,9 @@ impl PutMetricAlarmFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -99,6 +99,22 @@ impl PutMetricAlarmFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::put_metric_alarm::PutMetricAlarm, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::put_metric_alarm::PutMetricAlarmError, + >, + > { + self.customize_middleware().await + } ///

                        The name for the alarm. This name must be unique within the Region.

                        ///

                        The name must contain only UTF-8 characters, and can't contain ASCII control characters

                        pub fn alarm_name(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { diff --git a/sdk/cloudwatch/src/operation/put_metric_data/builders.rs b/sdk/cloudwatch/src/operation/put_metric_data/builders.rs index 883462796e2a..f42b86b36519 100644 --- a/sdk/cloudwatch/src/operation/put_metric_data/builders.rs +++ b/sdk/cloudwatch/src/operation/put_metric_data/builders.rs @@ -30,9 +30,9 @@ impl PutMetricDataFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -88,6 +88,20 @@ impl PutMetricDataFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::put_metric_data::PutMetricData, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                        The namespace for the metric data. You can use ASCII characters for the namespace, except for control characters which are not supported.

                        ///

                        To avoid conflicts with Amazon Web Services service namespaces, you should not specify a namespace that begins with AWS/

                        pub fn namespace(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { diff --git a/sdk/cloudwatch/src/operation/put_metric_stream/builders.rs b/sdk/cloudwatch/src/operation/put_metric_stream/builders.rs index 054990e0af94..c70e26ccc749 100644 --- a/sdk/cloudwatch/src/operation/put_metric_stream/builders.rs +++ b/sdk/cloudwatch/src/operation/put_metric_stream/builders.rs @@ -30,9 +30,9 @@ impl PutMetricStreamFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -94,6 +94,22 @@ impl PutMetricStreamFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::put_metric_stream::PutMetricStream, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::put_metric_stream::PutMetricStreamError, + >, + > { + self.customize_middleware().await + } ///

                        If you are creating a new metric stream, this is the name for the new stream. The name must be different than the names of other metric streams in this account and Region.

                        ///

                        If you are updating a metric stream, specify the name of that stream here.

                        ///

                        Valid characters are A-Z, a-z, 0-9, "-" and "_".

                        diff --git a/sdk/cloudwatch/src/operation/set_alarm_state/builders.rs b/sdk/cloudwatch/src/operation/set_alarm_state/builders.rs index 5713162ba973..a46b6781568c 100644 --- a/sdk/cloudwatch/src/operation/set_alarm_state/builders.rs +++ b/sdk/cloudwatch/src/operation/set_alarm_state/builders.rs @@ -22,9 +22,9 @@ impl SetAlarmStateFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -80,6 +80,20 @@ impl SetAlarmStateFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::set_alarm_state::SetAlarmState, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                        The name of the alarm.

                        pub fn alarm_name(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.alarm_name(input.into()); diff --git a/sdk/cloudwatch/src/operation/start_metric_streams/builders.rs b/sdk/cloudwatch/src/operation/start_metric_streams/builders.rs index 3632d9a64394..9e3ba40d205e 100644 --- a/sdk/cloudwatch/src/operation/start_metric_streams/builders.rs +++ b/sdk/cloudwatch/src/operation/start_metric_streams/builders.rs @@ -19,9 +19,9 @@ impl StartMetricStreamsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl StartMetricStreamsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::start_metric_streams::StartMetricStreams, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::start_metric_streams::StartMetricStreamsError, + >, + > { + self.customize_middleware().await + } /// Appends an item to `Names`. /// /// To override the contents of this collection use [`set_names`](Self::set_names). diff --git a/sdk/cloudwatch/src/operation/stop_metric_streams/builders.rs b/sdk/cloudwatch/src/operation/stop_metric_streams/builders.rs index a00ffd24af4d..3750202397c1 100644 --- a/sdk/cloudwatch/src/operation/stop_metric_streams/builders.rs +++ b/sdk/cloudwatch/src/operation/stop_metric_streams/builders.rs @@ -19,9 +19,9 @@ impl StopMetricStreamsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl StopMetricStreamsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::stop_metric_streams::StopMetricStreams, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::stop_metric_streams::StopMetricStreamsError, + >, + > { + self.customize_middleware().await + } /// Appends an item to `Names`. /// /// To override the contents of this collection use [`set_names`](Self::set_names). diff --git a/sdk/cloudwatch/src/operation/tag_resource/builders.rs b/sdk/cloudwatch/src/operation/tag_resource/builders.rs index cc12f8721450..495827313216 100644 --- a/sdk/cloudwatch/src/operation/tag_resource/builders.rs +++ b/sdk/cloudwatch/src/operation/tag_resource/builders.rs @@ -23,9 +23,9 @@ impl TagResourceFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -81,6 +81,20 @@ impl TagResourceFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::tag_resource::TagResource, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                        The ARN of the CloudWatch resource that you're adding tags to.

                        ///

                        The ARN format of an alarm is arn:aws:cloudwatch:Region:account-id:alarm:alarm-name

                        ///

                        The ARN format of a Contributor Insights rule is arn:aws:cloudwatch:Region:account-id:insight-rule:insight-rule-name

                        diff --git a/sdk/cloudwatch/src/operation/untag_resource/builders.rs b/sdk/cloudwatch/src/operation/untag_resource/builders.rs index 6372c4152409..6293ff5c5f85 100644 --- a/sdk/cloudwatch/src/operation/untag_resource/builders.rs +++ b/sdk/cloudwatch/src/operation/untag_resource/builders.rs @@ -19,9 +19,9 @@ impl UntagResourceFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl UntagResourceFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::untag_resource::UntagResource, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                        The ARN of the CloudWatch resource that you're removing tags from.

                        ///

                        The ARN format of an alarm is arn:aws:cloudwatch:Region:account-id:alarm:alarm-name

                        ///

                        The ARN format of a Contributor Insights rule is arn:aws:cloudwatch:Region:account-id:insight-rule:insight-rule-name

                        diff --git a/sdk/cloudwatchevents/src/operation/activate_event_source/builders.rs b/sdk/cloudwatchevents/src/operation/activate_event_source/builders.rs index b99fb829957d..df84a5f8445c 100644 --- a/sdk/cloudwatchevents/src/operation/activate_event_source/builders.rs +++ b/sdk/cloudwatchevents/src/operation/activate_event_source/builders.rs @@ -19,9 +19,9 @@ impl ActivateEventSourceFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl ActivateEventSourceFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::activate_event_source::ActivateEventSource, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::activate_event_source::ActivateEventSourceError, + >, + > { + self.customize_middleware().await + } ///

                        The name of the partner event source to activate.

                        pub fn name(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.name(input.into()); diff --git a/sdk/cloudwatchevents/src/operation/cancel_replay/builders.rs b/sdk/cloudwatchevents/src/operation/cancel_replay/builders.rs index c310c3a044b3..0c2338f1ab53 100644 --- a/sdk/cloudwatchevents/src/operation/cancel_replay/builders.rs +++ b/sdk/cloudwatchevents/src/operation/cancel_replay/builders.rs @@ -19,9 +19,9 @@ impl CancelReplayFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl CancelReplayFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::cancel_replay::CancelReplay, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                        The name of the replay to cancel.

                        pub fn replay_name(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.replay_name(input.into()); diff --git a/sdk/cloudwatchevents/src/operation/create_api_destination/builders.rs b/sdk/cloudwatchevents/src/operation/create_api_destination/builders.rs index 87b0420b467f..c01b254b8c36 100644 --- a/sdk/cloudwatchevents/src/operation/create_api_destination/builders.rs +++ b/sdk/cloudwatchevents/src/operation/create_api_destination/builders.rs @@ -19,9 +19,9 @@ impl CreateApiDestinationFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl CreateApiDestinationFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::create_api_destination::CreateApiDestination, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::create_api_destination::CreateApiDestinationError, + >, + > { + self.customize_middleware().await + } ///

                        The name for the API destination to create.

                        pub fn name(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.name(input.into()); diff --git a/sdk/cloudwatchevents/src/operation/create_archive/builders.rs b/sdk/cloudwatchevents/src/operation/create_archive/builders.rs index 670995e2722a..a19a38a1d3db 100644 --- a/sdk/cloudwatchevents/src/operation/create_archive/builders.rs +++ b/sdk/cloudwatchevents/src/operation/create_archive/builders.rs @@ -19,9 +19,9 @@ impl CreateArchiveFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl CreateArchiveFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::create_archive::CreateArchive, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                        The name for the archive to create.

                        pub fn archive_name(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.archive_name(input.into()); diff --git a/sdk/cloudwatchevents/src/operation/create_connection/builders.rs b/sdk/cloudwatchevents/src/operation/create_connection/builders.rs index f49f24c7f4b0..097d4fde74af 100644 --- a/sdk/cloudwatchevents/src/operation/create_connection/builders.rs +++ b/sdk/cloudwatchevents/src/operation/create_connection/builders.rs @@ -19,9 +19,9 @@ impl CreateConnectionFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl CreateConnectionFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::create_connection::CreateConnection, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::create_connection::CreateConnectionError, + >, + > { + self.customize_middleware().await + } ///

                        The name for the connection to create.

                        pub fn name(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.name(input.into()); diff --git a/sdk/cloudwatchevents/src/operation/create_event_bus/builders.rs b/sdk/cloudwatchevents/src/operation/create_event_bus/builders.rs index db70ec7bd0fa..44f235874ea6 100644 --- a/sdk/cloudwatchevents/src/operation/create_event_bus/builders.rs +++ b/sdk/cloudwatchevents/src/operation/create_event_bus/builders.rs @@ -19,9 +19,9 @@ impl CreateEventBusFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl CreateEventBusFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::create_event_bus::CreateEventBus, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::create_event_bus::CreateEventBusError, + >, + > { + self.customize_middleware().await + } ///

                        The name of the new event bus.

                        ///

                        Event bus names cannot contain the / character. You can't use the name default for a custom event bus, as this name is already used for your account's default event bus.

                        ///

                        If this is a partner event bus, the name must exactly match the name of the partner event source that this event bus is matched to.

                        diff --git a/sdk/cloudwatchevents/src/operation/create_partner_event_source/builders.rs b/sdk/cloudwatchevents/src/operation/create_partner_event_source/builders.rs index 79c0c5440aa1..4630b74769b6 100644 --- a/sdk/cloudwatchevents/src/operation/create_partner_event_source/builders.rs +++ b/sdk/cloudwatchevents/src/operation/create_partner_event_source/builders.rs @@ -25,9 +25,9 @@ impl CreatePartnerEventSourceFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -89,6 +89,22 @@ impl CreatePartnerEventSourceFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::create_partner_event_source::CreatePartnerEventSource, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::create_partner_event_source::CreatePartnerEventSourceError, + >, + > { + self.customize_middleware().await + } ///

                        The name of the partner event source. This name must be unique and must be in the format partner_name/event_namespace/event_name . The Amazon Web Services account that wants to use this partner event source must create a partner event bus with a name that matches the name of the partner event source.

                        pub fn name(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.name(input.into()); diff --git a/sdk/cloudwatchevents/src/operation/deactivate_event_source/builders.rs b/sdk/cloudwatchevents/src/operation/deactivate_event_source/builders.rs index ae14de5f760e..3e78ca9a4677 100644 --- a/sdk/cloudwatchevents/src/operation/deactivate_event_source/builders.rs +++ b/sdk/cloudwatchevents/src/operation/deactivate_event_source/builders.rs @@ -21,9 +21,9 @@ impl DeactivateEventSourceFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -85,6 +85,22 @@ impl DeactivateEventSourceFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::deactivate_event_source::DeactivateEventSource, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::deactivate_event_source::DeactivateEventSourceError, + >, + > { + self.customize_middleware().await + } ///

                        The name of the partner event source to deactivate.

                        pub fn name(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.name(input.into()); diff --git a/sdk/cloudwatchevents/src/operation/deauthorize_connection/builders.rs b/sdk/cloudwatchevents/src/operation/deauthorize_connection/builders.rs index 268af66bcdfa..3caa23e18cff 100644 --- a/sdk/cloudwatchevents/src/operation/deauthorize_connection/builders.rs +++ b/sdk/cloudwatchevents/src/operation/deauthorize_connection/builders.rs @@ -19,9 +19,9 @@ impl DeauthorizeConnectionFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl DeauthorizeConnectionFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::deauthorize_connection::DeauthorizeConnection, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::deauthorize_connection::DeauthorizeConnectionError, + >, + > { + self.customize_middleware().await + } ///

                        The name of the connection to remove authorization from.

                        pub fn name(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.name(input.into()); diff --git a/sdk/cloudwatchevents/src/operation/delete_api_destination/builders.rs b/sdk/cloudwatchevents/src/operation/delete_api_destination/builders.rs index 07fb433bae5a..a252029b9823 100644 --- a/sdk/cloudwatchevents/src/operation/delete_api_destination/builders.rs +++ b/sdk/cloudwatchevents/src/operation/delete_api_destination/builders.rs @@ -19,9 +19,9 @@ impl DeleteApiDestinationFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl DeleteApiDestinationFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::delete_api_destination::DeleteApiDestination, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::delete_api_destination::DeleteApiDestinationError, + >, + > { + self.customize_middleware().await + } ///

                        The name of the destination to delete.

                        pub fn name(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.name(input.into()); diff --git a/sdk/cloudwatchevents/src/operation/delete_archive/builders.rs b/sdk/cloudwatchevents/src/operation/delete_archive/builders.rs index 928878d99003..d928f7feccdb 100644 --- a/sdk/cloudwatchevents/src/operation/delete_archive/builders.rs +++ b/sdk/cloudwatchevents/src/operation/delete_archive/builders.rs @@ -19,9 +19,9 @@ impl DeleteArchiveFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl DeleteArchiveFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::delete_archive::DeleteArchive, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                        The name of the archive to delete.

                        pub fn archive_name(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.archive_name(input.into()); diff --git a/sdk/cloudwatchevents/src/operation/delete_connection/builders.rs b/sdk/cloudwatchevents/src/operation/delete_connection/builders.rs index 4acfefb30da4..f65b5b4a8574 100644 --- a/sdk/cloudwatchevents/src/operation/delete_connection/builders.rs +++ b/sdk/cloudwatchevents/src/operation/delete_connection/builders.rs @@ -19,9 +19,9 @@ impl DeleteConnectionFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl DeleteConnectionFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::delete_connection::DeleteConnection, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::delete_connection::DeleteConnectionError, + >, + > { + self.customize_middleware().await + } ///

                        The name of the connection to delete.

                        pub fn name(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.name(input.into()); diff --git a/sdk/cloudwatchevents/src/operation/delete_event_bus/builders.rs b/sdk/cloudwatchevents/src/operation/delete_event_bus/builders.rs index b4b8158990dd..4b78f6e8dfc2 100644 --- a/sdk/cloudwatchevents/src/operation/delete_event_bus/builders.rs +++ b/sdk/cloudwatchevents/src/operation/delete_event_bus/builders.rs @@ -19,9 +19,9 @@ impl DeleteEventBusFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl DeleteEventBusFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::delete_event_bus::DeleteEventBus, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::delete_event_bus::DeleteEventBusError, + >, + > { + self.customize_middleware().await + } ///

                        The name of the event bus to delete.

                        pub fn name(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.name(input.into()); diff --git a/sdk/cloudwatchevents/src/operation/delete_partner_event_source/builders.rs b/sdk/cloudwatchevents/src/operation/delete_partner_event_source/builders.rs index 9373b431eabe..3ed0fb6b47fb 100644 --- a/sdk/cloudwatchevents/src/operation/delete_partner_event_source/builders.rs +++ b/sdk/cloudwatchevents/src/operation/delete_partner_event_source/builders.rs @@ -21,9 +21,9 @@ impl DeletePartnerEventSourceFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -85,6 +85,22 @@ impl DeletePartnerEventSourceFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::delete_partner_event_source::DeletePartnerEventSource, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::delete_partner_event_source::DeletePartnerEventSourceError, + >, + > { + self.customize_middleware().await + } ///

                        The name of the event source to delete.

                        pub fn name(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.name(input.into()); diff --git a/sdk/cloudwatchevents/src/operation/delete_rule/builders.rs b/sdk/cloudwatchevents/src/operation/delete_rule/builders.rs index d1b2066894d8..34fb9c87e9c1 100644 --- a/sdk/cloudwatchevents/src/operation/delete_rule/builders.rs +++ b/sdk/cloudwatchevents/src/operation/delete_rule/builders.rs @@ -23,9 +23,9 @@ impl DeleteRuleFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -81,6 +81,20 @@ impl DeleteRuleFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::delete_rule::DeleteRule, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                        The name of the rule.

                        pub fn name(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.name(input.into()); diff --git a/sdk/cloudwatchevents/src/operation/describe_api_destination/builders.rs b/sdk/cloudwatchevents/src/operation/describe_api_destination/builders.rs index 052b3ea988a1..e978c3761213 100644 --- a/sdk/cloudwatchevents/src/operation/describe_api_destination/builders.rs +++ b/sdk/cloudwatchevents/src/operation/describe_api_destination/builders.rs @@ -19,9 +19,9 @@ impl DescribeApiDestinationFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl DescribeApiDestinationFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::describe_api_destination::DescribeApiDestination, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::describe_api_destination::DescribeApiDestinationError, + >, + > { + self.customize_middleware().await + } ///

                        The name of the API destination to retrieve.

                        pub fn name(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.name(input.into()); diff --git a/sdk/cloudwatchevents/src/operation/describe_archive/builders.rs b/sdk/cloudwatchevents/src/operation/describe_archive/builders.rs index 513f58d7b3b4..c39724bd81c3 100644 --- a/sdk/cloudwatchevents/src/operation/describe_archive/builders.rs +++ b/sdk/cloudwatchevents/src/operation/describe_archive/builders.rs @@ -19,9 +19,9 @@ impl DescribeArchiveFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl DescribeArchiveFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::describe_archive::DescribeArchive, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::describe_archive::DescribeArchiveError, + >, + > { + self.customize_middleware().await + } ///

                        The name of the archive to retrieve.

                        pub fn archive_name(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.archive_name(input.into()); diff --git a/sdk/cloudwatchevents/src/operation/describe_connection/builders.rs b/sdk/cloudwatchevents/src/operation/describe_connection/builders.rs index 1280c52ff135..6632ff07bd17 100644 --- a/sdk/cloudwatchevents/src/operation/describe_connection/builders.rs +++ b/sdk/cloudwatchevents/src/operation/describe_connection/builders.rs @@ -19,9 +19,9 @@ impl DescribeConnectionFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl DescribeConnectionFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::describe_connection::DescribeConnection, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::describe_connection::DescribeConnectionError, + >, + > { + self.customize_middleware().await + } ///

                        The name of the connection to retrieve.

                        pub fn name(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.name(input.into()); diff --git a/sdk/cloudwatchevents/src/operation/describe_event_bus/builders.rs b/sdk/cloudwatchevents/src/operation/describe_event_bus/builders.rs index 09582962d8c0..64e878fc4f05 100644 --- a/sdk/cloudwatchevents/src/operation/describe_event_bus/builders.rs +++ b/sdk/cloudwatchevents/src/operation/describe_event_bus/builders.rs @@ -21,9 +21,9 @@ impl DescribeEventBusFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -85,6 +85,22 @@ impl DescribeEventBusFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::describe_event_bus::DescribeEventBus, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::describe_event_bus::DescribeEventBusError, + >, + > { + self.customize_middleware().await + } ///

                        The name or ARN of the event bus to show details for. If you omit this, the default event bus is displayed.

                        pub fn name(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.name(input.into()); diff --git a/sdk/cloudwatchevents/src/operation/describe_event_source/builders.rs b/sdk/cloudwatchevents/src/operation/describe_event_source/builders.rs index eeba7934b797..1b2db1399408 100644 --- a/sdk/cloudwatchevents/src/operation/describe_event_source/builders.rs +++ b/sdk/cloudwatchevents/src/operation/describe_event_source/builders.rs @@ -19,9 +19,9 @@ impl DescribeEventSourceFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl DescribeEventSourceFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::describe_event_source::DescribeEventSource, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::describe_event_source::DescribeEventSourceError, + >, + > { + self.customize_middleware().await + } ///

                        The name of the partner event source to display the details of.

                        pub fn name(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.name(input.into()); diff --git a/sdk/cloudwatchevents/src/operation/describe_partner_event_source/builders.rs b/sdk/cloudwatchevents/src/operation/describe_partner_event_source/builders.rs index e6f1e4eab3c0..045d089284f8 100644 --- a/sdk/cloudwatchevents/src/operation/describe_partner_event_source/builders.rs +++ b/sdk/cloudwatchevents/src/operation/describe_partner_event_source/builders.rs @@ -19,9 +19,9 @@ impl DescribePartnerEventSourceFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl DescribePartnerEventSourceFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::describe_partner_event_source::DescribePartnerEventSource, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::describe_partner_event_source::DescribePartnerEventSourceError, + >, + > { + self.customize_middleware().await + } ///

                        The name of the event source to display.

                        pub fn name(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.name(input.into()); diff --git a/sdk/cloudwatchevents/src/operation/describe_replay/builders.rs b/sdk/cloudwatchevents/src/operation/describe_replay/builders.rs index 975ce3f3b781..310d3b2db0d8 100644 --- a/sdk/cloudwatchevents/src/operation/describe_replay/builders.rs +++ b/sdk/cloudwatchevents/src/operation/describe_replay/builders.rs @@ -19,9 +19,9 @@ impl DescribeReplayFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl DescribeReplayFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::describe_replay::DescribeReplay, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                        The name of the replay to retrieve.

                        pub fn replay_name(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.replay_name(input.into()); diff --git a/sdk/cloudwatchevents/src/operation/describe_rule/builders.rs b/sdk/cloudwatchevents/src/operation/describe_rule/builders.rs index 7eef922bca94..9798cddc002d 100644 --- a/sdk/cloudwatchevents/src/operation/describe_rule/builders.rs +++ b/sdk/cloudwatchevents/src/operation/describe_rule/builders.rs @@ -20,9 +20,9 @@ impl DescribeRuleFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -78,6 +78,20 @@ impl DescribeRuleFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::describe_rule::DescribeRule, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                        The name of the rule.

                        pub fn name(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.name(input.into()); diff --git a/sdk/cloudwatchevents/src/operation/disable_rule/builders.rs b/sdk/cloudwatchevents/src/operation/disable_rule/builders.rs index c687a52178fc..5d2680b9ce85 100644 --- a/sdk/cloudwatchevents/src/operation/disable_rule/builders.rs +++ b/sdk/cloudwatchevents/src/operation/disable_rule/builders.rs @@ -20,9 +20,9 @@ impl DisableRuleFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -78,6 +78,20 @@ impl DisableRuleFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::disable_rule::DisableRule, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                        The name of the rule.

                        pub fn name(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.name(input.into()); diff --git a/sdk/cloudwatchevents/src/operation/enable_rule/builders.rs b/sdk/cloudwatchevents/src/operation/enable_rule/builders.rs index c5c323842ff0..dfa430976399 100644 --- a/sdk/cloudwatchevents/src/operation/enable_rule/builders.rs +++ b/sdk/cloudwatchevents/src/operation/enable_rule/builders.rs @@ -20,9 +20,9 @@ impl EnableRuleFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -78,6 +78,20 @@ impl EnableRuleFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::enable_rule::EnableRule, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                        The name of the rule.

                        pub fn name(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.name(input.into()); diff --git a/sdk/cloudwatchevents/src/operation/list_api_destinations/builders.rs b/sdk/cloudwatchevents/src/operation/list_api_destinations/builders.rs index 6c2057b3552d..db3075257114 100644 --- a/sdk/cloudwatchevents/src/operation/list_api_destinations/builders.rs +++ b/sdk/cloudwatchevents/src/operation/list_api_destinations/builders.rs @@ -19,9 +19,9 @@ impl ListApiDestinationsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl ListApiDestinationsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_api_destinations::ListApiDestinations, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::list_api_destinations::ListApiDestinationsError, + >, + > { + self.customize_middleware().await + } ///

                        A name prefix to filter results returned. Only API destinations with a name that starts with the prefix are returned.

                        pub fn name_prefix(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.name_prefix(input.into()); diff --git a/sdk/cloudwatchevents/src/operation/list_archives/builders.rs b/sdk/cloudwatchevents/src/operation/list_archives/builders.rs index abe40822d294..c98676ab6828 100644 --- a/sdk/cloudwatchevents/src/operation/list_archives/builders.rs +++ b/sdk/cloudwatchevents/src/operation/list_archives/builders.rs @@ -19,9 +19,9 @@ impl ListArchivesFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl ListArchivesFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_archives::ListArchives, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                        A name prefix to filter the archives returned. Only archives with name that match the prefix are returned.

                        pub fn name_prefix(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.name_prefix(input.into()); diff --git a/sdk/cloudwatchevents/src/operation/list_connections/builders.rs b/sdk/cloudwatchevents/src/operation/list_connections/builders.rs index bc1095fa3b5e..217be66c5aee 100644 --- a/sdk/cloudwatchevents/src/operation/list_connections/builders.rs +++ b/sdk/cloudwatchevents/src/operation/list_connections/builders.rs @@ -19,9 +19,9 @@ impl ListConnectionsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl ListConnectionsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_connections::ListConnections, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::list_connections::ListConnectionsError, + >, + > { + self.customize_middleware().await + } ///

                        A name prefix to filter results returned. Only connections with a name that starts with the prefix are returned.

                        pub fn name_prefix(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.name_prefix(input.into()); diff --git a/sdk/cloudwatchevents/src/operation/list_event_buses/builders.rs b/sdk/cloudwatchevents/src/operation/list_event_buses/builders.rs index 0e56e7f30d7d..2193d7f15389 100644 --- a/sdk/cloudwatchevents/src/operation/list_event_buses/builders.rs +++ b/sdk/cloudwatchevents/src/operation/list_event_buses/builders.rs @@ -19,9 +19,9 @@ impl ListEventBusesFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl ListEventBusesFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_event_buses::ListEventBuses, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::list_event_buses::ListEventBusesError, + >, + > { + self.customize_middleware().await + } ///

                        Specifying this limits the results to only those event buses with names that start with the specified prefix.

                        pub fn name_prefix(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.name_prefix(input.into()); diff --git a/sdk/cloudwatchevents/src/operation/list_event_sources/builders.rs b/sdk/cloudwatchevents/src/operation/list_event_sources/builders.rs index 013ba944ba7b..30de75b2337d 100644 --- a/sdk/cloudwatchevents/src/operation/list_event_sources/builders.rs +++ b/sdk/cloudwatchevents/src/operation/list_event_sources/builders.rs @@ -19,9 +19,9 @@ impl ListEventSourcesFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl ListEventSourcesFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_event_sources::ListEventSources, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::list_event_sources::ListEventSourcesError, + >, + > { + self.customize_middleware().await + } ///

                        Specifying this limits the results to only those partner event sources with names that start with the specified prefix.

                        pub fn name_prefix(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.name_prefix(input.into()); diff --git a/sdk/cloudwatchevents/src/operation/list_partner_event_source_accounts/builders.rs b/sdk/cloudwatchevents/src/operation/list_partner_event_source_accounts/builders.rs index ba15c69df934..1cf9983f7d1e 100644 --- a/sdk/cloudwatchevents/src/operation/list_partner_event_source_accounts/builders.rs +++ b/sdk/cloudwatchevents/src/operation/list_partner_event_source_accounts/builders.rs @@ -19,9 +19,9 @@ impl ListPartnerEventSourceAccountsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize(self) -> ::std::result::Result< + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware(self) -> ::std::result::Result< crate::client::customize::CustomizableOperation, ::aws_smithy_http::result::SdkError >{ @@ -64,6 +64,15 @@ impl ListPartnerEventSourceAccountsFluentBuilder { { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize(self) -> ::std::result::Result< + crate::client::customize::CustomizableOperation, + ::aws_smithy_http::result::SdkError + >{ + self.customize_middleware().await + } ///

                        The name of the partner event source to display account information about.

                        pub fn event_source_name( mut self, diff --git a/sdk/cloudwatchevents/src/operation/list_partner_event_sources/builders.rs b/sdk/cloudwatchevents/src/operation/list_partner_event_sources/builders.rs index 516c5a064aec..c08f648b9342 100644 --- a/sdk/cloudwatchevents/src/operation/list_partner_event_sources/builders.rs +++ b/sdk/cloudwatchevents/src/operation/list_partner_event_sources/builders.rs @@ -20,9 +20,9 @@ impl ListPartnerEventSourcesFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -84,6 +84,22 @@ impl ListPartnerEventSourcesFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_partner_event_sources::ListPartnerEventSources, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::list_partner_event_sources::ListPartnerEventSourcesError, + >, + > { + self.customize_middleware().await + } ///

                        If you specify this, the results are limited to only those partner event sources that start with the string you specify.

                        pub fn name_prefix(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.name_prefix(input.into()); diff --git a/sdk/cloudwatchevents/src/operation/list_replays/builders.rs b/sdk/cloudwatchevents/src/operation/list_replays/builders.rs index 4b5d912fe5dc..9d1358975812 100644 --- a/sdk/cloudwatchevents/src/operation/list_replays/builders.rs +++ b/sdk/cloudwatchevents/src/operation/list_replays/builders.rs @@ -19,9 +19,9 @@ impl ListReplaysFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl ListReplaysFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_replays::ListReplays, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                        A name prefix to filter the replays returned. Only replays with name that match the prefix are returned.

                        pub fn name_prefix(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.name_prefix(input.into()); diff --git a/sdk/cloudwatchevents/src/operation/list_rule_names_by_target/builders.rs b/sdk/cloudwatchevents/src/operation/list_rule_names_by_target/builders.rs index 65b14bd9a1d0..e7cc7a8a3c8d 100644 --- a/sdk/cloudwatchevents/src/operation/list_rule_names_by_target/builders.rs +++ b/sdk/cloudwatchevents/src/operation/list_rule_names_by_target/builders.rs @@ -19,9 +19,9 @@ impl ListRuleNamesByTargetFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl ListRuleNamesByTargetFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_rule_names_by_target::ListRuleNamesByTarget, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::list_rule_names_by_target::ListRuleNamesByTargetError, + >, + > { + self.customize_middleware().await + } ///

                        The Amazon Resource Name (ARN) of the target resource.

                        pub fn target_arn(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.target_arn(input.into()); diff --git a/sdk/cloudwatchevents/src/operation/list_rules/builders.rs b/sdk/cloudwatchevents/src/operation/list_rules/builders.rs index 7052b2884346..fd9127badb81 100644 --- a/sdk/cloudwatchevents/src/operation/list_rules/builders.rs +++ b/sdk/cloudwatchevents/src/operation/list_rules/builders.rs @@ -20,9 +20,9 @@ impl ListRulesFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -78,6 +78,20 @@ impl ListRulesFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_rules::ListRules, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                        The prefix matching the rule name.

                        pub fn name_prefix(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.name_prefix(input.into()); diff --git a/sdk/cloudwatchevents/src/operation/list_tags_for_resource/builders.rs b/sdk/cloudwatchevents/src/operation/list_tags_for_resource/builders.rs index 6736d6ddb67c..2e0569f9c177 100644 --- a/sdk/cloudwatchevents/src/operation/list_tags_for_resource/builders.rs +++ b/sdk/cloudwatchevents/src/operation/list_tags_for_resource/builders.rs @@ -19,9 +19,9 @@ impl ListTagsForResourceFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl ListTagsForResourceFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_tags_for_resource::ListTagsForResource, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::list_tags_for_resource::ListTagsForResourceError, + >, + > { + self.customize_middleware().await + } ///

                        The ARN of the EventBridge resource for which you want to view tags.

                        pub fn resource_arn(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.resource_arn(input.into()); diff --git a/sdk/cloudwatchevents/src/operation/list_targets_by_rule/builders.rs b/sdk/cloudwatchevents/src/operation/list_targets_by_rule/builders.rs index 220d00f9938e..74fbe49e9f93 100644 --- a/sdk/cloudwatchevents/src/operation/list_targets_by_rule/builders.rs +++ b/sdk/cloudwatchevents/src/operation/list_targets_by_rule/builders.rs @@ -19,9 +19,9 @@ impl ListTargetsByRuleFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl ListTargetsByRuleFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_targets_by_rule::ListTargetsByRule, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::list_targets_by_rule::ListTargetsByRuleError, + >, + > { + self.customize_middleware().await + } ///

                        The name of the rule.

                        pub fn rule(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.rule(input.into()); diff --git a/sdk/cloudwatchevents/src/operation/put_events/builders.rs b/sdk/cloudwatchevents/src/operation/put_events/builders.rs index b3e94253d51c..bd4e94d89fcc 100644 --- a/sdk/cloudwatchevents/src/operation/put_events/builders.rs +++ b/sdk/cloudwatchevents/src/operation/put_events/builders.rs @@ -19,9 +19,9 @@ impl PutEventsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl PutEventsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::put_events::PutEvents, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } /// Appends an item to `Entries`. /// /// To override the contents of this collection use [`set_entries`](Self::set_entries). diff --git a/sdk/cloudwatchevents/src/operation/put_partner_events/builders.rs b/sdk/cloudwatchevents/src/operation/put_partner_events/builders.rs index 84dbc42ad4fa..30f9da442a8b 100644 --- a/sdk/cloudwatchevents/src/operation/put_partner_events/builders.rs +++ b/sdk/cloudwatchevents/src/operation/put_partner_events/builders.rs @@ -19,9 +19,9 @@ impl PutPartnerEventsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl PutPartnerEventsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::put_partner_events::PutPartnerEvents, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::put_partner_events::PutPartnerEventsError, + >, + > { + self.customize_middleware().await + } /// Appends an item to `Entries`. /// /// To override the contents of this collection use [`set_entries`](Self::set_entries). diff --git a/sdk/cloudwatchevents/src/operation/put_permission/builders.rs b/sdk/cloudwatchevents/src/operation/put_permission/builders.rs index bcaaf36c17c0..0a525b36f79d 100644 --- a/sdk/cloudwatchevents/src/operation/put_permission/builders.rs +++ b/sdk/cloudwatchevents/src/operation/put_permission/builders.rs @@ -23,9 +23,9 @@ impl PutPermissionFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -81,6 +81,20 @@ impl PutPermissionFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::put_permission::PutPermission, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                        The name of the event bus associated with the rule. If you omit this, the default event bus is used.

                        pub fn event_bus_name( mut self, diff --git a/sdk/cloudwatchevents/src/operation/put_rule/builders.rs b/sdk/cloudwatchevents/src/operation/put_rule/builders.rs index 8cc7e86d29df..94181177f07d 100644 --- a/sdk/cloudwatchevents/src/operation/put_rule/builders.rs +++ b/sdk/cloudwatchevents/src/operation/put_rule/builders.rs @@ -29,9 +29,9 @@ impl PutRuleFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -87,6 +87,20 @@ impl PutRuleFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::put_rule::PutRule, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                        The name of the rule that you are creating or updating.

                        pub fn name(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.name(input.into()); diff --git a/sdk/cloudwatchevents/src/operation/put_targets/builders.rs b/sdk/cloudwatchevents/src/operation/put_targets/builders.rs index ba3ffbc2a924..e247491a8565 100644 --- a/sdk/cloudwatchevents/src/operation/put_targets/builders.rs +++ b/sdk/cloudwatchevents/src/operation/put_targets/builders.rs @@ -65,9 +65,9 @@ impl PutTargetsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -123,6 +123,20 @@ impl PutTargetsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::put_targets::PutTargets, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                        The name of the rule.

                        pub fn rule(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.rule(input.into()); diff --git a/sdk/cloudwatchevents/src/operation/remove_permission/builders.rs b/sdk/cloudwatchevents/src/operation/remove_permission/builders.rs index 1550145198a5..5d8dea6b8d22 100644 --- a/sdk/cloudwatchevents/src/operation/remove_permission/builders.rs +++ b/sdk/cloudwatchevents/src/operation/remove_permission/builders.rs @@ -19,9 +19,9 @@ impl RemovePermissionFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl RemovePermissionFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::remove_permission::RemovePermission, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::remove_permission::RemovePermissionError, + >, + > { + self.customize_middleware().await + } ///

                        The statement ID corresponding to the account that is no longer allowed to put events to the default event bus.

                        pub fn statement_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.statement_id(input.into()); diff --git a/sdk/cloudwatchevents/src/operation/remove_targets/builders.rs b/sdk/cloudwatchevents/src/operation/remove_targets/builders.rs index d449ec8e42af..ddcc429f195b 100644 --- a/sdk/cloudwatchevents/src/operation/remove_targets/builders.rs +++ b/sdk/cloudwatchevents/src/operation/remove_targets/builders.rs @@ -21,9 +21,9 @@ impl RemoveTargetsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -79,6 +79,20 @@ impl RemoveTargetsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::remove_targets::RemoveTargets, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                        The name of the rule.

                        pub fn rule(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.rule(input.into()); diff --git a/sdk/cloudwatchevents/src/operation/start_replay/builders.rs b/sdk/cloudwatchevents/src/operation/start_replay/builders.rs index ad25a6955f5b..7587d9f9a1a2 100644 --- a/sdk/cloudwatchevents/src/operation/start_replay/builders.rs +++ b/sdk/cloudwatchevents/src/operation/start_replay/builders.rs @@ -19,9 +19,9 @@ impl StartReplayFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl StartReplayFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::start_replay::StartReplay, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                        The name of the replay to start.

                        pub fn replay_name(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.replay_name(input.into()); diff --git a/sdk/cloudwatchevents/src/operation/tag_resource/builders.rs b/sdk/cloudwatchevents/src/operation/tag_resource/builders.rs index 2022be9a59fe..a11cffa72f6d 100644 --- a/sdk/cloudwatchevents/src/operation/tag_resource/builders.rs +++ b/sdk/cloudwatchevents/src/operation/tag_resource/builders.rs @@ -22,9 +22,9 @@ impl TagResourceFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -80,6 +80,20 @@ impl TagResourceFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::tag_resource::TagResource, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                        The ARN of the EventBridge resource that you're adding tags to.

                        pub fn resource_arn(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.resource_arn(input.into()); diff --git a/sdk/cloudwatchevents/src/operation/test_event_pattern/builders.rs b/sdk/cloudwatchevents/src/operation/test_event_pattern/builders.rs index 6b38bf63825f..f551caf52aba 100644 --- a/sdk/cloudwatchevents/src/operation/test_event_pattern/builders.rs +++ b/sdk/cloudwatchevents/src/operation/test_event_pattern/builders.rs @@ -20,9 +20,9 @@ impl TestEventPatternFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -84,6 +84,22 @@ impl TestEventPatternFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::test_event_pattern::TestEventPattern, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::test_event_pattern::TestEventPatternError, + >, + > { + self.customize_middleware().await + } ///

                        The event pattern. For more information, see Events and Event Patterns in the Amazon EventBridge User Guide.

                        pub fn event_pattern( mut self, diff --git a/sdk/cloudwatchevents/src/operation/untag_resource/builders.rs b/sdk/cloudwatchevents/src/operation/untag_resource/builders.rs index 14884aa86fd7..fb289bf3b995 100644 --- a/sdk/cloudwatchevents/src/operation/untag_resource/builders.rs +++ b/sdk/cloudwatchevents/src/operation/untag_resource/builders.rs @@ -19,9 +19,9 @@ impl UntagResourceFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl UntagResourceFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::untag_resource::UntagResource, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                        The ARN of the EventBridge resource from which you are removing tags.

                        pub fn resource_arn(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.resource_arn(input.into()); diff --git a/sdk/cloudwatchevents/src/operation/update_api_destination/builders.rs b/sdk/cloudwatchevents/src/operation/update_api_destination/builders.rs index 0e1f4cb79a64..34078fa053e7 100644 --- a/sdk/cloudwatchevents/src/operation/update_api_destination/builders.rs +++ b/sdk/cloudwatchevents/src/operation/update_api_destination/builders.rs @@ -19,9 +19,9 @@ impl UpdateApiDestinationFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl UpdateApiDestinationFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::update_api_destination::UpdateApiDestination, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::update_api_destination::UpdateApiDestinationError, + >, + > { + self.customize_middleware().await + } ///

                        The name of the API destination to update.

                        pub fn name(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.name(input.into()); diff --git a/sdk/cloudwatchevents/src/operation/update_archive/builders.rs b/sdk/cloudwatchevents/src/operation/update_archive/builders.rs index bacc01b7aa94..7525f43b78b8 100644 --- a/sdk/cloudwatchevents/src/operation/update_archive/builders.rs +++ b/sdk/cloudwatchevents/src/operation/update_archive/builders.rs @@ -19,9 +19,9 @@ impl UpdateArchiveFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl UpdateArchiveFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::update_archive::UpdateArchive, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                        The name of the archive to update.

                        pub fn archive_name(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.archive_name(input.into()); diff --git a/sdk/cloudwatchevents/src/operation/update_connection/builders.rs b/sdk/cloudwatchevents/src/operation/update_connection/builders.rs index ba3052814721..70a219105853 100644 --- a/sdk/cloudwatchevents/src/operation/update_connection/builders.rs +++ b/sdk/cloudwatchevents/src/operation/update_connection/builders.rs @@ -19,9 +19,9 @@ impl UpdateConnectionFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl UpdateConnectionFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::update_connection::UpdateConnection, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::update_connection::UpdateConnectionError, + >, + > { + self.customize_middleware().await + } ///

                        The name of the connection to update.

                        pub fn name(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.name(input.into()); diff --git a/sdk/cloudwatchlogs/src/operation/associate_kms_key/builders.rs b/sdk/cloudwatchlogs/src/operation/associate_kms_key/builders.rs index ea2f1629b82c..0f4a99083254 100644 --- a/sdk/cloudwatchlogs/src/operation/associate_kms_key/builders.rs +++ b/sdk/cloudwatchlogs/src/operation/associate_kms_key/builders.rs @@ -24,9 +24,9 @@ impl AssociateKmsKeyFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -88,6 +88,22 @@ impl AssociateKmsKeyFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::associate_kms_key::AssociateKmsKey, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::associate_kms_key::AssociateKmsKeyError, + >, + > { + self.customize_middleware().await + } ///

                        The name of the log group.

                        pub fn log_group_name( mut self, diff --git a/sdk/cloudwatchlogs/src/operation/cancel_export_task/builders.rs b/sdk/cloudwatchlogs/src/operation/cancel_export_task/builders.rs index 28bcf9e67320..77c890ab9336 100644 --- a/sdk/cloudwatchlogs/src/operation/cancel_export_task/builders.rs +++ b/sdk/cloudwatchlogs/src/operation/cancel_export_task/builders.rs @@ -20,9 +20,9 @@ impl CancelExportTaskFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -84,6 +84,22 @@ impl CancelExportTaskFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::cancel_export_task::CancelExportTask, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::cancel_export_task::CancelExportTaskError, + >, + > { + self.customize_middleware().await + } ///

                        The ID of the export task.

                        pub fn task_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.task_id(input.into()); diff --git a/sdk/cloudwatchlogs/src/operation/create_export_task/builders.rs b/sdk/cloudwatchlogs/src/operation/create_export_task/builders.rs index 8f9b75968684..45b43ba15609 100644 --- a/sdk/cloudwatchlogs/src/operation/create_export_task/builders.rs +++ b/sdk/cloudwatchlogs/src/operation/create_export_task/builders.rs @@ -25,9 +25,9 @@ impl CreateExportTaskFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -89,6 +89,22 @@ impl CreateExportTaskFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::create_export_task::CreateExportTask, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::create_export_task::CreateExportTaskError, + >, + > { + self.customize_middleware().await + } ///

                        The name of the export task.

                        pub fn task_name(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.task_name(input.into()); diff --git a/sdk/cloudwatchlogs/src/operation/create_log_group/builders.rs b/sdk/cloudwatchlogs/src/operation/create_log_group/builders.rs index 787b299844db..28afe7eee414 100644 --- a/sdk/cloudwatchlogs/src/operation/create_log_group/builders.rs +++ b/sdk/cloudwatchlogs/src/operation/create_log_group/builders.rs @@ -30,9 +30,9 @@ impl CreateLogGroupFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -94,6 +94,22 @@ impl CreateLogGroupFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::create_log_group::CreateLogGroup, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::create_log_group::CreateLogGroupError, + >, + > { + self.customize_middleware().await + } ///

                        The name of the log group.

                        pub fn log_group_name( mut self, diff --git a/sdk/cloudwatchlogs/src/operation/create_log_stream/builders.rs b/sdk/cloudwatchlogs/src/operation/create_log_stream/builders.rs index 3ffa00122960..a3b5eb24cb1b 100644 --- a/sdk/cloudwatchlogs/src/operation/create_log_stream/builders.rs +++ b/sdk/cloudwatchlogs/src/operation/create_log_stream/builders.rs @@ -26,9 +26,9 @@ impl CreateLogStreamFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -90,6 +90,22 @@ impl CreateLogStreamFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::create_log_stream::CreateLogStream, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::create_log_stream::CreateLogStreamError, + >, + > { + self.customize_middleware().await + } ///

                        The name of the log group.

                        pub fn log_group_name( mut self, diff --git a/sdk/cloudwatchlogs/src/operation/delete_data_protection_policy/builders.rs b/sdk/cloudwatchlogs/src/operation/delete_data_protection_policy/builders.rs index dfc178e4f060..16a068404c32 100644 --- a/sdk/cloudwatchlogs/src/operation/delete_data_protection_policy/builders.rs +++ b/sdk/cloudwatchlogs/src/operation/delete_data_protection_policy/builders.rs @@ -20,9 +20,9 @@ impl DeleteDataProtectionPolicyFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -84,6 +84,22 @@ impl DeleteDataProtectionPolicyFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::delete_data_protection_policy::DeleteDataProtectionPolicy, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::delete_data_protection_policy::DeleteDataProtectionPolicyError, + >, + > { + self.customize_middleware().await + } ///

                        The name or ARN of the log group that you want to delete the data protection policy for.

                        pub fn log_group_identifier( mut self, diff --git a/sdk/cloudwatchlogs/src/operation/delete_destination/builders.rs b/sdk/cloudwatchlogs/src/operation/delete_destination/builders.rs index 38f2844cfc48..6a71497a67df 100644 --- a/sdk/cloudwatchlogs/src/operation/delete_destination/builders.rs +++ b/sdk/cloudwatchlogs/src/operation/delete_destination/builders.rs @@ -19,9 +19,9 @@ impl DeleteDestinationFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl DeleteDestinationFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::delete_destination::DeleteDestination, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::delete_destination::DeleteDestinationError, + >, + > { + self.customize_middleware().await + } ///

                        The name of the destination.

                        pub fn destination_name( mut self, diff --git a/sdk/cloudwatchlogs/src/operation/delete_log_group/builders.rs b/sdk/cloudwatchlogs/src/operation/delete_log_group/builders.rs index 06ad4f5ba501..1284b2a11864 100644 --- a/sdk/cloudwatchlogs/src/operation/delete_log_group/builders.rs +++ b/sdk/cloudwatchlogs/src/operation/delete_log_group/builders.rs @@ -19,9 +19,9 @@ impl DeleteLogGroupFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl DeleteLogGroupFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::delete_log_group::DeleteLogGroup, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::delete_log_group::DeleteLogGroupError, + >, + > { + self.customize_middleware().await + } ///

                        The name of the log group.

                        pub fn log_group_name( mut self, diff --git a/sdk/cloudwatchlogs/src/operation/delete_log_stream/builders.rs b/sdk/cloudwatchlogs/src/operation/delete_log_stream/builders.rs index c23b2699ec09..96210c753aa5 100644 --- a/sdk/cloudwatchlogs/src/operation/delete_log_stream/builders.rs +++ b/sdk/cloudwatchlogs/src/operation/delete_log_stream/builders.rs @@ -19,9 +19,9 @@ impl DeleteLogStreamFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl DeleteLogStreamFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::delete_log_stream::DeleteLogStream, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::delete_log_stream::DeleteLogStreamError, + >, + > { + self.customize_middleware().await + } ///

                        The name of the log group.

                        pub fn log_group_name( mut self, diff --git a/sdk/cloudwatchlogs/src/operation/delete_metric_filter/builders.rs b/sdk/cloudwatchlogs/src/operation/delete_metric_filter/builders.rs index 76873e80eb4e..02d2960f0407 100644 --- a/sdk/cloudwatchlogs/src/operation/delete_metric_filter/builders.rs +++ b/sdk/cloudwatchlogs/src/operation/delete_metric_filter/builders.rs @@ -19,9 +19,9 @@ impl DeleteMetricFilterFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl DeleteMetricFilterFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::delete_metric_filter::DeleteMetricFilter, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::delete_metric_filter::DeleteMetricFilterError, + >, + > { + self.customize_middleware().await + } ///

                        The name of the log group.

                        pub fn log_group_name( mut self, diff --git a/sdk/cloudwatchlogs/src/operation/delete_query_definition/builders.rs b/sdk/cloudwatchlogs/src/operation/delete_query_definition/builders.rs index 7cd5974794e2..b568d8fdf113 100644 --- a/sdk/cloudwatchlogs/src/operation/delete_query_definition/builders.rs +++ b/sdk/cloudwatchlogs/src/operation/delete_query_definition/builders.rs @@ -21,9 +21,9 @@ impl DeleteQueryDefinitionFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -85,6 +85,22 @@ impl DeleteQueryDefinitionFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::delete_query_definition::DeleteQueryDefinition, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::delete_query_definition::DeleteQueryDefinitionError, + >, + > { + self.customize_middleware().await + } ///

                        The ID of the query definition that you want to delete. You can use DescribeQueryDefinitions to retrieve the IDs of your saved query definitions.

                        pub fn query_definition_id( mut self, diff --git a/sdk/cloudwatchlogs/src/operation/delete_resource_policy/builders.rs b/sdk/cloudwatchlogs/src/operation/delete_resource_policy/builders.rs index 80a76fef182e..7d5fd922c8b3 100644 --- a/sdk/cloudwatchlogs/src/operation/delete_resource_policy/builders.rs +++ b/sdk/cloudwatchlogs/src/operation/delete_resource_policy/builders.rs @@ -19,9 +19,9 @@ impl DeleteResourcePolicyFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl DeleteResourcePolicyFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::delete_resource_policy::DeleteResourcePolicy, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::delete_resource_policy::DeleteResourcePolicyError, + >, + > { + self.customize_middleware().await + } ///

                        The name of the policy to be revoked. This parameter is required.

                        pub fn policy_name(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.policy_name(input.into()); diff --git a/sdk/cloudwatchlogs/src/operation/delete_retention_policy/builders.rs b/sdk/cloudwatchlogs/src/operation/delete_retention_policy/builders.rs index ed179eb0cca7..b86693ee49f5 100644 --- a/sdk/cloudwatchlogs/src/operation/delete_retention_policy/builders.rs +++ b/sdk/cloudwatchlogs/src/operation/delete_retention_policy/builders.rs @@ -20,9 +20,9 @@ impl DeleteRetentionPolicyFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -84,6 +84,22 @@ impl DeleteRetentionPolicyFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::delete_retention_policy::DeleteRetentionPolicy, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::delete_retention_policy::DeleteRetentionPolicyError, + >, + > { + self.customize_middleware().await + } ///

                        The name of the log group.

                        pub fn log_group_name( mut self, diff --git a/sdk/cloudwatchlogs/src/operation/delete_subscription_filter/builders.rs b/sdk/cloudwatchlogs/src/operation/delete_subscription_filter/builders.rs index c9b754d27dc0..e04ad67691e9 100644 --- a/sdk/cloudwatchlogs/src/operation/delete_subscription_filter/builders.rs +++ b/sdk/cloudwatchlogs/src/operation/delete_subscription_filter/builders.rs @@ -19,9 +19,9 @@ impl DeleteSubscriptionFilterFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl DeleteSubscriptionFilterFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::delete_subscription_filter::DeleteSubscriptionFilter, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::delete_subscription_filter::DeleteSubscriptionFilterError, + >, + > { + self.customize_middleware().await + } ///

                        The name of the log group.

                        pub fn log_group_name( mut self, diff --git a/sdk/cloudwatchlogs/src/operation/describe_destinations/builders.rs b/sdk/cloudwatchlogs/src/operation/describe_destinations/builders.rs index 21457307f468..c02a33b9289d 100644 --- a/sdk/cloudwatchlogs/src/operation/describe_destinations/builders.rs +++ b/sdk/cloudwatchlogs/src/operation/describe_destinations/builders.rs @@ -19,9 +19,9 @@ impl DescribeDestinationsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl DescribeDestinationsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::describe_destinations::DescribeDestinations, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::describe_destinations::DescribeDestinationsError, + >, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::describe_destinations::paginator::DescribeDestinationsPaginator::send) which returns a `Stream`. diff --git a/sdk/cloudwatchlogs/src/operation/describe_export_tasks/builders.rs b/sdk/cloudwatchlogs/src/operation/describe_export_tasks/builders.rs index 434d4e0b6dc3..121a9689b279 100644 --- a/sdk/cloudwatchlogs/src/operation/describe_export_tasks/builders.rs +++ b/sdk/cloudwatchlogs/src/operation/describe_export_tasks/builders.rs @@ -19,9 +19,9 @@ impl DescribeExportTasksFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl DescribeExportTasksFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::describe_export_tasks::DescribeExportTasks, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::describe_export_tasks::DescribeExportTasksError, + >, + > { + self.customize_middleware().await + } ///

                        The ID of the export task. Specifying a task ID filters the results to one or zero export tasks.

                        pub fn task_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.task_id(input.into()); diff --git a/sdk/cloudwatchlogs/src/operation/describe_log_groups/builders.rs b/sdk/cloudwatchlogs/src/operation/describe_log_groups/builders.rs index fc120a93d774..ac700e04d51d 100644 --- a/sdk/cloudwatchlogs/src/operation/describe_log_groups/builders.rs +++ b/sdk/cloudwatchlogs/src/operation/describe_log_groups/builders.rs @@ -21,9 +21,9 @@ impl DescribeLogGroupsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -85,6 +85,22 @@ impl DescribeLogGroupsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::describe_log_groups::DescribeLogGroups, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::describe_log_groups::DescribeLogGroupsError, + >, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::describe_log_groups::paginator::DescribeLogGroupsPaginator::send) which returns a `Stream`. diff --git a/sdk/cloudwatchlogs/src/operation/describe_log_streams/builders.rs b/sdk/cloudwatchlogs/src/operation/describe_log_streams/builders.rs index 64d35f1f92c1..bf8aab5003ce 100644 --- a/sdk/cloudwatchlogs/src/operation/describe_log_streams/builders.rs +++ b/sdk/cloudwatchlogs/src/operation/describe_log_streams/builders.rs @@ -22,9 +22,9 @@ impl DescribeLogStreamsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -86,6 +86,22 @@ impl DescribeLogStreamsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::describe_log_streams::DescribeLogStreams, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::describe_log_streams::DescribeLogStreamsError, + >, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::describe_log_streams::paginator::DescribeLogStreamsPaginator::send) which returns a `Stream`. diff --git a/sdk/cloudwatchlogs/src/operation/describe_metric_filters/builders.rs b/sdk/cloudwatchlogs/src/operation/describe_metric_filters/builders.rs index e2c9adf228d5..e8a6ef6b677f 100644 --- a/sdk/cloudwatchlogs/src/operation/describe_metric_filters/builders.rs +++ b/sdk/cloudwatchlogs/src/operation/describe_metric_filters/builders.rs @@ -19,9 +19,9 @@ impl DescribeMetricFiltersFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl DescribeMetricFiltersFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::describe_metric_filters::DescribeMetricFilters, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::describe_metric_filters::DescribeMetricFiltersError, + >, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::describe_metric_filters::paginator::DescribeMetricFiltersPaginator::send) which returns a `Stream`. diff --git a/sdk/cloudwatchlogs/src/operation/describe_queries/builders.rs b/sdk/cloudwatchlogs/src/operation/describe_queries/builders.rs index 4c2b0a324d49..1d0248a08368 100644 --- a/sdk/cloudwatchlogs/src/operation/describe_queries/builders.rs +++ b/sdk/cloudwatchlogs/src/operation/describe_queries/builders.rs @@ -19,9 +19,9 @@ impl DescribeQueriesFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl DescribeQueriesFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::describe_queries::DescribeQueries, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::describe_queries::DescribeQueriesError, + >, + > { + self.customize_middleware().await + } ///

                        Limits the returned queries to only those for the specified log group.

                        pub fn log_group_name( mut self, diff --git a/sdk/cloudwatchlogs/src/operation/describe_query_definitions/builders.rs b/sdk/cloudwatchlogs/src/operation/describe_query_definitions/builders.rs index ba568a04bade..6f3eae6619fc 100644 --- a/sdk/cloudwatchlogs/src/operation/describe_query_definitions/builders.rs +++ b/sdk/cloudwatchlogs/src/operation/describe_query_definitions/builders.rs @@ -20,9 +20,9 @@ impl DescribeQueryDefinitionsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -84,6 +84,22 @@ impl DescribeQueryDefinitionsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::describe_query_definitions::DescribeQueryDefinitions, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::describe_query_definitions::DescribeQueryDefinitionsError, + >, + > { + self.customize_middleware().await + } ///

                        Use this parameter to filter your results to only the query definitions that have names that start with the prefix you specify.

                        pub fn query_definition_name_prefix( mut self, diff --git a/sdk/cloudwatchlogs/src/operation/describe_resource_policies/builders.rs b/sdk/cloudwatchlogs/src/operation/describe_resource_policies/builders.rs index 90ce6da0884f..be0d8fa87bc2 100644 --- a/sdk/cloudwatchlogs/src/operation/describe_resource_policies/builders.rs +++ b/sdk/cloudwatchlogs/src/operation/describe_resource_policies/builders.rs @@ -19,9 +19,9 @@ impl DescribeResourcePoliciesFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl DescribeResourcePoliciesFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::describe_resource_policies::DescribeResourcePolicies, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::describe_resource_policies::DescribeResourcePoliciesError, + >, + > { + self.customize_middleware().await + } ///

                        The token for the next set of items to return. The token expires after 24 hours.

                        pub fn next_token(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.next_token(input.into()); diff --git a/sdk/cloudwatchlogs/src/operation/describe_subscription_filters/builders.rs b/sdk/cloudwatchlogs/src/operation/describe_subscription_filters/builders.rs index 9a0ba5a6f777..59a4820fe63d 100644 --- a/sdk/cloudwatchlogs/src/operation/describe_subscription_filters/builders.rs +++ b/sdk/cloudwatchlogs/src/operation/describe_subscription_filters/builders.rs @@ -19,9 +19,9 @@ impl DescribeSubscriptionFiltersFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl DescribeSubscriptionFiltersFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::describe_subscription_filters::DescribeSubscriptionFilters, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::describe_subscription_filters::DescribeSubscriptionFiltersError, + >, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::describe_subscription_filters::paginator::DescribeSubscriptionFiltersPaginator::send) which returns a `Stream`. diff --git a/sdk/cloudwatchlogs/src/operation/disassociate_kms_key/builders.rs b/sdk/cloudwatchlogs/src/operation/disassociate_kms_key/builders.rs index 6eec8d6d7702..bfad20e940ff 100644 --- a/sdk/cloudwatchlogs/src/operation/disassociate_kms_key/builders.rs +++ b/sdk/cloudwatchlogs/src/operation/disassociate_kms_key/builders.rs @@ -21,9 +21,9 @@ impl DisassociateKmsKeyFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -85,6 +85,22 @@ impl DisassociateKmsKeyFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::disassociate_kms_key::DisassociateKmsKey, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::disassociate_kms_key::DisassociateKmsKeyError, + >, + > { + self.customize_middleware().await + } ///

                        The name of the log group.

                        pub fn log_group_name( mut self, diff --git a/sdk/cloudwatchlogs/src/operation/filter_log_events/builders.rs b/sdk/cloudwatchlogs/src/operation/filter_log_events/builders.rs index 5783ad9c3135..e9dcbd633042 100644 --- a/sdk/cloudwatchlogs/src/operation/filter_log_events/builders.rs +++ b/sdk/cloudwatchlogs/src/operation/filter_log_events/builders.rs @@ -24,9 +24,9 @@ impl FilterLogEventsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -88,6 +88,22 @@ impl FilterLogEventsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::filter_log_events::FilterLogEvents, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::filter_log_events::FilterLogEventsError, + >, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::filter_log_events::paginator::FilterLogEventsPaginator::send) which returns a `Stream`. diff --git a/sdk/cloudwatchlogs/src/operation/get_data_protection_policy/builders.rs b/sdk/cloudwatchlogs/src/operation/get_data_protection_policy/builders.rs index e1e058f34366..ce48daf1c417 100644 --- a/sdk/cloudwatchlogs/src/operation/get_data_protection_policy/builders.rs +++ b/sdk/cloudwatchlogs/src/operation/get_data_protection_policy/builders.rs @@ -20,9 +20,9 @@ impl GetDataProtectionPolicyFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -84,6 +84,22 @@ impl GetDataProtectionPolicyFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::get_data_protection_policy::GetDataProtectionPolicy, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::get_data_protection_policy::GetDataProtectionPolicyError, + >, + > { + self.customize_middleware().await + } ///

                        The name or ARN of the log group that contains the data protection policy that you want to see.

                        pub fn log_group_identifier( mut self, diff --git a/sdk/cloudwatchlogs/src/operation/get_log_events/builders.rs b/sdk/cloudwatchlogs/src/operation/get_log_events/builders.rs index a72b273b5ad4..be1d877bc971 100644 --- a/sdk/cloudwatchlogs/src/operation/get_log_events/builders.rs +++ b/sdk/cloudwatchlogs/src/operation/get_log_events/builders.rs @@ -22,9 +22,9 @@ impl GetLogEventsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -80,6 +80,20 @@ impl GetLogEventsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::get_log_events::GetLogEvents, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::get_log_events::paginator::GetLogEventsPaginator::send) which returns a `Stream`. diff --git a/sdk/cloudwatchlogs/src/operation/get_log_group_fields/builders.rs b/sdk/cloudwatchlogs/src/operation/get_log_group_fields/builders.rs index 374f561e085f..8eb280e4876f 100644 --- a/sdk/cloudwatchlogs/src/operation/get_log_group_fields/builders.rs +++ b/sdk/cloudwatchlogs/src/operation/get_log_group_fields/builders.rs @@ -23,9 +23,9 @@ impl GetLogGroupFieldsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -87,6 +87,22 @@ impl GetLogGroupFieldsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::get_log_group_fields::GetLogGroupFields, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::get_log_group_fields::GetLogGroupFieldsError, + >, + > { + self.customize_middleware().await + } ///

                        The name of the log group to search.

                        ///

                        You must include either logGroupIdentifier or logGroupName, but not both.

                        ///
                        diff --git a/sdk/cloudwatchlogs/src/operation/get_log_record/builders.rs b/sdk/cloudwatchlogs/src/operation/get_log_record/builders.rs index ff25b1a10dee..e6c32926acd4 100644 --- a/sdk/cloudwatchlogs/src/operation/get_log_record/builders.rs +++ b/sdk/cloudwatchlogs/src/operation/get_log_record/builders.rs @@ -20,9 +20,9 @@ impl GetLogRecordFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -78,6 +78,20 @@ impl GetLogRecordFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::get_log_record::GetLogRecord, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                        The pointer corresponding to the log event record you want to retrieve. You get this from the response of a GetQueryResults operation. In that response, the value of the @ptr field for a log event is the value to use as logRecordPointer to retrieve that complete log event record.

                        pub fn log_record_pointer( mut self, diff --git a/sdk/cloudwatchlogs/src/operation/get_query_results/builders.rs b/sdk/cloudwatchlogs/src/operation/get_query_results/builders.rs index 3d274f354ad9..c0ad3731682b 100644 --- a/sdk/cloudwatchlogs/src/operation/get_query_results/builders.rs +++ b/sdk/cloudwatchlogs/src/operation/get_query_results/builders.rs @@ -23,9 +23,9 @@ impl GetQueryResultsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -87,6 +87,22 @@ impl GetQueryResultsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::get_query_results::GetQueryResults, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::get_query_results::GetQueryResultsError, + >, + > { + self.customize_middleware().await + } ///

                        The ID number of the query.

                        pub fn query_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.query_id(input.into()); diff --git a/sdk/cloudwatchlogs/src/operation/list_tags_for_resource/builders.rs b/sdk/cloudwatchlogs/src/operation/list_tags_for_resource/builders.rs index d78f4cfdc4e2..669590f8b4bc 100644 --- a/sdk/cloudwatchlogs/src/operation/list_tags_for_resource/builders.rs +++ b/sdk/cloudwatchlogs/src/operation/list_tags_for_resource/builders.rs @@ -19,9 +19,9 @@ impl ListTagsForResourceFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl ListTagsForResourceFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_tags_for_resource::ListTagsForResource, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::list_tags_for_resource::ListTagsForResourceError, + >, + > { + self.customize_middleware().await + } ///

                        The ARN of the resource that you want to view tags for.

                        ///

                        The ARN format of a log group is arn:aws:logs:Region:account-id:log-group:log-group-name

                        ///

                        The ARN format of a destination is arn:aws:logs:Region:account-id:destination:destination-name

                        diff --git a/sdk/cloudwatchlogs/src/operation/list_tags_log_group/builders.rs b/sdk/cloudwatchlogs/src/operation/list_tags_log_group/builders.rs index cee21d2e6ec8..96645f9a2a30 100644 --- a/sdk/cloudwatchlogs/src/operation/list_tags_log_group/builders.rs +++ b/sdk/cloudwatchlogs/src/operation/list_tags_log_group/builders.rs @@ -23,9 +23,9 @@ impl ListTagsLogGroupFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -87,6 +87,22 @@ impl ListTagsLogGroupFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_tags_log_group::ListTagsLogGroup, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::list_tags_log_group::ListTagsLogGroupError, + >, + > { + self.customize_middleware().await + } ///

                        The name of the log group.

                        pub fn log_group_name( mut self, diff --git a/sdk/cloudwatchlogs/src/operation/put_data_protection_policy/builders.rs b/sdk/cloudwatchlogs/src/operation/put_data_protection_policy/builders.rs index 41eb6709be3f..258cccf6b45a 100644 --- a/sdk/cloudwatchlogs/src/operation/put_data_protection_policy/builders.rs +++ b/sdk/cloudwatchlogs/src/operation/put_data_protection_policy/builders.rs @@ -24,9 +24,9 @@ impl PutDataProtectionPolicyFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -88,6 +88,22 @@ impl PutDataProtectionPolicyFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::put_data_protection_policy::PutDataProtectionPolicy, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::put_data_protection_policy::PutDataProtectionPolicyError, + >, + > { + self.customize_middleware().await + } ///

                        Specify either the log group name or log group ARN.

                        pub fn log_group_identifier( mut self, diff --git a/sdk/cloudwatchlogs/src/operation/put_destination/builders.rs b/sdk/cloudwatchlogs/src/operation/put_destination/builders.rs index 9860ac3268a9..cd8f0149582c 100644 --- a/sdk/cloudwatchlogs/src/operation/put_destination/builders.rs +++ b/sdk/cloudwatchlogs/src/operation/put_destination/builders.rs @@ -22,9 +22,9 @@ impl PutDestinationFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -80,6 +80,20 @@ impl PutDestinationFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::put_destination::PutDestination, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                        A name for the destination.

                        pub fn destination_name( mut self, diff --git a/sdk/cloudwatchlogs/src/operation/put_destination_policy/builders.rs b/sdk/cloudwatchlogs/src/operation/put_destination_policy/builders.rs index f89551a7b425..f8b0f2315d83 100644 --- a/sdk/cloudwatchlogs/src/operation/put_destination_policy/builders.rs +++ b/sdk/cloudwatchlogs/src/operation/put_destination_policy/builders.rs @@ -19,9 +19,9 @@ impl PutDestinationPolicyFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl PutDestinationPolicyFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::put_destination_policy::PutDestinationPolicy, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::put_destination_policy::PutDestinationPolicyError, + >, + > { + self.customize_middleware().await + } ///

                        A name for an existing destination.

                        pub fn destination_name( mut self, diff --git a/sdk/cloudwatchlogs/src/operation/put_log_events/builders.rs b/sdk/cloudwatchlogs/src/operation/put_log_events/builders.rs index 627fb8206b7f..fe8aa530977f 100644 --- a/sdk/cloudwatchlogs/src/operation/put_log_events/builders.rs +++ b/sdk/cloudwatchlogs/src/operation/put_log_events/builders.rs @@ -34,9 +34,9 @@ impl PutLogEventsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -92,6 +92,20 @@ impl PutLogEventsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::put_log_events::PutLogEvents, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                        The name of the log group.

                        pub fn log_group_name( mut self, diff --git a/sdk/cloudwatchlogs/src/operation/put_metric_filter/builders.rs b/sdk/cloudwatchlogs/src/operation/put_metric_filter/builders.rs index ea5bc163816d..32a2ea525bb5 100644 --- a/sdk/cloudwatchlogs/src/operation/put_metric_filter/builders.rs +++ b/sdk/cloudwatchlogs/src/operation/put_metric_filter/builders.rs @@ -25,9 +25,9 @@ impl PutMetricFilterFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -89,6 +89,22 @@ impl PutMetricFilterFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::put_metric_filter::PutMetricFilter, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::put_metric_filter::PutMetricFilterError, + >, + > { + self.customize_middleware().await + } ///

                        The name of the log group.

                        pub fn log_group_name( mut self, diff --git a/sdk/cloudwatchlogs/src/operation/put_query_definition/builders.rs b/sdk/cloudwatchlogs/src/operation/put_query_definition/builders.rs index aee11e0d078f..376d3fa8d827 100644 --- a/sdk/cloudwatchlogs/src/operation/put_query_definition/builders.rs +++ b/sdk/cloudwatchlogs/src/operation/put_query_definition/builders.rs @@ -21,9 +21,9 @@ impl PutQueryDefinitionFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -85,6 +85,22 @@ impl PutQueryDefinitionFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::put_query_definition::PutQueryDefinition, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::put_query_definition::PutQueryDefinitionError, + >, + > { + self.customize_middleware().await + } ///

                        A name for the query definition. If you are saving numerous query definitions, we recommend that you name them. This way, you can find the ones you want by using the first part of the name as a filter in the queryDefinitionNamePrefix parameter of DescribeQueryDefinitions.

                        pub fn name(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.name(input.into()); diff --git a/sdk/cloudwatchlogs/src/operation/put_resource_policy/builders.rs b/sdk/cloudwatchlogs/src/operation/put_resource_policy/builders.rs index 11a7f03571a5..7198569285e4 100644 --- a/sdk/cloudwatchlogs/src/operation/put_resource_policy/builders.rs +++ b/sdk/cloudwatchlogs/src/operation/put_resource_policy/builders.rs @@ -19,9 +19,9 @@ impl PutResourcePolicyFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl PutResourcePolicyFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::put_resource_policy::PutResourcePolicy, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::put_resource_policy::PutResourcePolicyError, + >, + > { + self.customize_middleware().await + } ///

                        Name of the new policy. This parameter is required.

                        pub fn policy_name(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.policy_name(input.into()); diff --git a/sdk/cloudwatchlogs/src/operation/put_retention_policy/builders.rs b/sdk/cloudwatchlogs/src/operation/put_retention_policy/builders.rs index 175b956a1cbb..7b2cd0ffe330 100644 --- a/sdk/cloudwatchlogs/src/operation/put_retention_policy/builders.rs +++ b/sdk/cloudwatchlogs/src/operation/put_retention_policy/builders.rs @@ -22,9 +22,9 @@ impl PutRetentionPolicyFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -86,6 +86,22 @@ impl PutRetentionPolicyFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::put_retention_policy::PutRetentionPolicy, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::put_retention_policy::PutRetentionPolicyError, + >, + > { + self.customize_middleware().await + } ///

                        The name of the log group.

                        pub fn log_group_name( mut self, diff --git a/sdk/cloudwatchlogs/src/operation/put_subscription_filter/builders.rs b/sdk/cloudwatchlogs/src/operation/put_subscription_filter/builders.rs index 0b9a1cacf037..2e0bf2fb8a13 100644 --- a/sdk/cloudwatchlogs/src/operation/put_subscription_filter/builders.rs +++ b/sdk/cloudwatchlogs/src/operation/put_subscription_filter/builders.rs @@ -28,9 +28,9 @@ impl PutSubscriptionFilterFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -92,6 +92,22 @@ impl PutSubscriptionFilterFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::put_subscription_filter::PutSubscriptionFilter, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::put_subscription_filter::PutSubscriptionFilterError, + >, + > { + self.customize_middleware().await + } ///

                        The name of the log group.

                        pub fn log_group_name( mut self, diff --git a/sdk/cloudwatchlogs/src/operation/start_query/builders.rs b/sdk/cloudwatchlogs/src/operation/start_query/builders.rs index fee80b51adaf..e022909e9cc3 100644 --- a/sdk/cloudwatchlogs/src/operation/start_query/builders.rs +++ b/sdk/cloudwatchlogs/src/operation/start_query/builders.rs @@ -23,9 +23,9 @@ impl StartQueryFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -81,6 +81,20 @@ impl StartQueryFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::start_query::StartQuery, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                        The log group on which to perform the query.

                        ///

                        A StartQuery operation must include exactly one of the following parameters: logGroupName, logGroupNames or logGroupIdentifiers.

                        ///
                        diff --git a/sdk/cloudwatchlogs/src/operation/stop_query/builders.rs b/sdk/cloudwatchlogs/src/operation/stop_query/builders.rs index f9737af1615b..25416b210baa 100644 --- a/sdk/cloudwatchlogs/src/operation/stop_query/builders.rs +++ b/sdk/cloudwatchlogs/src/operation/stop_query/builders.rs @@ -19,9 +19,9 @@ impl StopQueryFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl StopQueryFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::stop_query::StopQuery, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                        The ID number of the query to stop. To find this ID number, use DescribeQueries.

                        pub fn query_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.query_id(input.into()); diff --git a/sdk/cloudwatchlogs/src/operation/tag_log_group/builders.rs b/sdk/cloudwatchlogs/src/operation/tag_log_group/builders.rs index 2b5ee6cba73a..c45cc4bee79e 100644 --- a/sdk/cloudwatchlogs/src/operation/tag_log_group/builders.rs +++ b/sdk/cloudwatchlogs/src/operation/tag_log_group/builders.rs @@ -26,9 +26,9 @@ impl TagLogGroupFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -84,6 +84,20 @@ impl TagLogGroupFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::tag_log_group::TagLogGroup, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                        The name of the log group.

                        pub fn log_group_name( mut self, diff --git a/sdk/cloudwatchlogs/src/operation/tag_resource/builders.rs b/sdk/cloudwatchlogs/src/operation/tag_resource/builders.rs index f21a339af604..7b7ddd6b4711 100644 --- a/sdk/cloudwatchlogs/src/operation/tag_resource/builders.rs +++ b/sdk/cloudwatchlogs/src/operation/tag_resource/builders.rs @@ -23,9 +23,9 @@ impl TagResourceFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -81,6 +81,20 @@ impl TagResourceFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::tag_resource::TagResource, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                        The ARN of the resource that you're adding tags to.

                        ///

                        The ARN format of a log group is arn:aws:logs:Region:account-id:log-group:log-group-name

                        ///

                        The ARN format of a destination is arn:aws:logs:Region:account-id:destination:destination-name

                        diff --git a/sdk/cloudwatchlogs/src/operation/test_metric_filter/builders.rs b/sdk/cloudwatchlogs/src/operation/test_metric_filter/builders.rs index 171e270d6f76..bd006c2d68f9 100644 --- a/sdk/cloudwatchlogs/src/operation/test_metric_filter/builders.rs +++ b/sdk/cloudwatchlogs/src/operation/test_metric_filter/builders.rs @@ -19,9 +19,9 @@ impl TestMetricFilterFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl TestMetricFilterFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::test_metric_filter::TestMetricFilter, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::test_metric_filter::TestMetricFilterError, + >, + > { + self.customize_middleware().await + } ///

                        A symbolic description of how CloudWatch Logs should interpret the data in each log event. For example, a log event can contain timestamps, IP addresses, strings, and so on. You use the filter pattern to specify what to look for in the log event message.

                        pub fn filter_pattern( mut self, diff --git a/sdk/cloudwatchlogs/src/operation/untag_log_group/builders.rs b/sdk/cloudwatchlogs/src/operation/untag_log_group/builders.rs index 27c6c64c93df..9e74d6eac4fe 100644 --- a/sdk/cloudwatchlogs/src/operation/untag_log_group/builders.rs +++ b/sdk/cloudwatchlogs/src/operation/untag_log_group/builders.rs @@ -25,9 +25,9 @@ impl UntagLogGroupFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,20 @@ impl UntagLogGroupFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::untag_log_group::UntagLogGroup, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                        The name of the log group.

                        pub fn log_group_name( mut self, diff --git a/sdk/cloudwatchlogs/src/operation/untag_resource/builders.rs b/sdk/cloudwatchlogs/src/operation/untag_resource/builders.rs index 72ce475dd90f..2c71e81d28c2 100644 --- a/sdk/cloudwatchlogs/src/operation/untag_resource/builders.rs +++ b/sdk/cloudwatchlogs/src/operation/untag_resource/builders.rs @@ -19,9 +19,9 @@ impl UntagResourceFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl UntagResourceFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::untag_resource::UntagResource, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                        The ARN of the CloudWatch Logs resource that you're removing tags from.

                        ///

                        The ARN format of a log group is arn:aws:logs:Region:account-id:log-group:log-group-name

                        ///

                        The ARN format of a destination is arn:aws:logs:Region:account-id:destination:destination-name

                        diff --git a/sdk/codeartifact/src/operation/associate_external_connection/builders.rs b/sdk/codeartifact/src/operation/associate_external_connection/builders.rs index f71debd07e83..e06691d85ccc 100644 --- a/sdk/codeartifact/src/operation/associate_external_connection/builders.rs +++ b/sdk/codeartifact/src/operation/associate_external_connection/builders.rs @@ -21,9 +21,9 @@ impl AssociateExternalConnectionFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -85,6 +85,22 @@ impl AssociateExternalConnectionFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::associate_external_connection::AssociateExternalConnection, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::associate_external_connection::AssociateExternalConnectionError, + >, + > { + self.customize_middleware().await + } ///

                        The name of the domain that contains the repository.

                        pub fn domain(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.domain(input.into()); diff --git a/sdk/codeartifact/src/operation/copy_package_versions/builders.rs b/sdk/codeartifact/src/operation/copy_package_versions/builders.rs index 0fde2d4bbc4c..96efda7ffccf 100644 --- a/sdk/codeartifact/src/operation/copy_package_versions/builders.rs +++ b/sdk/codeartifact/src/operation/copy_package_versions/builders.rs @@ -21,9 +21,9 @@ impl CopyPackageVersionsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -85,6 +85,22 @@ impl CopyPackageVersionsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::copy_package_versions::CopyPackageVersions, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::copy_package_versions::CopyPackageVersionsError, + >, + > { + self.customize_middleware().await + } ///

                        The name of the domain that contains the source and destination repositories.

                        pub fn domain(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.domain(input.into()); diff --git a/sdk/codeartifact/src/operation/create_domain/builders.rs b/sdk/codeartifact/src/operation/create_domain/builders.rs index 38e357e8c31a..d2cf06c1b09a 100644 --- a/sdk/codeartifact/src/operation/create_domain/builders.rs +++ b/sdk/codeartifact/src/operation/create_domain/builders.rs @@ -20,9 +20,9 @@ impl CreateDomainFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -78,6 +78,20 @@ impl CreateDomainFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::create_domain::CreateDomain, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                        The name of the domain to create. All domain names in an Amazon Web Services Region that are in the same Amazon Web Services account must be unique. The domain name is used as the prefix in DNS hostnames. Do not use sensitive information in a domain name because it is publicly discoverable.

                        pub fn domain(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.domain(input.into()); diff --git a/sdk/codeartifact/src/operation/create_repository/builders.rs b/sdk/codeartifact/src/operation/create_repository/builders.rs index 17f8bc9eb637..ea233d924cca 100644 --- a/sdk/codeartifact/src/operation/create_repository/builders.rs +++ b/sdk/codeartifact/src/operation/create_repository/builders.rs @@ -19,9 +19,9 @@ impl CreateRepositoryFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl CreateRepositoryFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::create_repository::CreateRepository, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::create_repository::CreateRepositoryError, + >, + > { + self.customize_middleware().await + } ///

                        The name of the domain that contains the created repository.

                        pub fn domain(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.domain(input.into()); diff --git a/sdk/codeartifact/src/operation/delete_domain/builders.rs b/sdk/codeartifact/src/operation/delete_domain/builders.rs index e872e3156608..294ea938f8ce 100644 --- a/sdk/codeartifact/src/operation/delete_domain/builders.rs +++ b/sdk/codeartifact/src/operation/delete_domain/builders.rs @@ -19,9 +19,9 @@ impl DeleteDomainFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl DeleteDomainFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::delete_domain::DeleteDomain, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                        The name of the domain to delete.

                        pub fn domain(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.domain(input.into()); diff --git a/sdk/codeartifact/src/operation/delete_domain_permissions_policy/builders.rs b/sdk/codeartifact/src/operation/delete_domain_permissions_policy/builders.rs index bc73b8760622..ee855c9a18e8 100644 --- a/sdk/codeartifact/src/operation/delete_domain_permissions_policy/builders.rs +++ b/sdk/codeartifact/src/operation/delete_domain_permissions_policy/builders.rs @@ -19,9 +19,9 @@ impl DeleteDomainPermissionsPolicyFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl DeleteDomainPermissionsPolicyFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::delete_domain_permissions_policy::DeleteDomainPermissionsPolicy, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::delete_domain_permissions_policy::DeleteDomainPermissionsPolicyError, + >, + > { + self.customize_middleware().await + } ///

                        The name of the domain associated with the resource policy to be deleted.

                        pub fn domain(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.domain(input.into()); diff --git a/sdk/codeartifact/src/operation/delete_package/builders.rs b/sdk/codeartifact/src/operation/delete_package/builders.rs index cc910ff618ae..b0524cca300e 100644 --- a/sdk/codeartifact/src/operation/delete_package/builders.rs +++ b/sdk/codeartifact/src/operation/delete_package/builders.rs @@ -19,9 +19,9 @@ impl DeletePackageFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl DeletePackageFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::delete_package::DeletePackage, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                        The name of the domain that contains the package to delete.

                        pub fn domain(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.domain(input.into()); diff --git a/sdk/codeartifact/src/operation/delete_package_versions/builders.rs b/sdk/codeartifact/src/operation/delete_package_versions/builders.rs index 1128d46512b4..a28dc43b80dc 100644 --- a/sdk/codeartifact/src/operation/delete_package_versions/builders.rs +++ b/sdk/codeartifact/src/operation/delete_package_versions/builders.rs @@ -19,9 +19,9 @@ impl DeletePackageVersionsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl DeletePackageVersionsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::delete_package_versions::DeletePackageVersions, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::delete_package_versions::DeletePackageVersionsError, + >, + > { + self.customize_middleware().await + } ///

                        The name of the domain that contains the package to delete.

                        pub fn domain(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.domain(input.into()); diff --git a/sdk/codeartifact/src/operation/delete_repository/builders.rs b/sdk/codeartifact/src/operation/delete_repository/builders.rs index 7ef038545f15..8bfa28ae3909 100644 --- a/sdk/codeartifact/src/operation/delete_repository/builders.rs +++ b/sdk/codeartifact/src/operation/delete_repository/builders.rs @@ -19,9 +19,9 @@ impl DeleteRepositoryFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl DeleteRepositoryFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::delete_repository::DeleteRepository, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::delete_repository::DeleteRepositoryError, + >, + > { + self.customize_middleware().await + } ///

                        The name of the domain that contains the repository to delete.

                        pub fn domain(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.domain(input.into()); diff --git a/sdk/codeartifact/src/operation/delete_repository_permissions_policy/builders.rs b/sdk/codeartifact/src/operation/delete_repository_permissions_policy/builders.rs index d67ec5ae1de6..d633d40dc783 100644 --- a/sdk/codeartifact/src/operation/delete_repository_permissions_policy/builders.rs +++ b/sdk/codeartifact/src/operation/delete_repository_permissions_policy/builders.rs @@ -21,9 +21,9 @@ impl DeleteRepositoryPermissionsPolicyFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize(self) -> ::std::result::Result< + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware(self) -> ::std::result::Result< crate::client::customize::CustomizableOperation, ::aws_smithy_http::result::SdkError >{ @@ -66,6 +66,15 @@ impl DeleteRepositoryPermissionsPolicyFluentBuilder { { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize(self) -> ::std::result::Result< + crate::client::customize::CustomizableOperation, + ::aws_smithy_http::result::SdkError + >{ + self.customize_middleware().await + } ///

                        The name of the domain that contains the repository associated with the resource policy to be deleted.

                        pub fn domain(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.domain(input.into()); diff --git a/sdk/codeartifact/src/operation/describe_domain/builders.rs b/sdk/codeartifact/src/operation/describe_domain/builders.rs index 9af4ef434584..c43a2f11476d 100644 --- a/sdk/codeartifact/src/operation/describe_domain/builders.rs +++ b/sdk/codeartifact/src/operation/describe_domain/builders.rs @@ -19,9 +19,9 @@ impl DescribeDomainFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl DescribeDomainFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::describe_domain::DescribeDomain, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                        A string that specifies the name of the requested domain.

                        pub fn domain(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.domain(input.into()); diff --git a/sdk/codeartifact/src/operation/describe_package/builders.rs b/sdk/codeartifact/src/operation/describe_package/builders.rs index c73f30cc8f2b..a1be55da9c1d 100644 --- a/sdk/codeartifact/src/operation/describe_package/builders.rs +++ b/sdk/codeartifact/src/operation/describe_package/builders.rs @@ -19,9 +19,9 @@ impl DescribePackageFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl DescribePackageFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::describe_package::DescribePackage, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::describe_package::DescribePackageError, + >, + > { + self.customize_middleware().await + } ///

                        The name of the domain that contains the repository that contains the package.

                        pub fn domain(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.domain(input.into()); diff --git a/sdk/codeartifact/src/operation/describe_package_version/builders.rs b/sdk/codeartifact/src/operation/describe_package_version/builders.rs index df4ad29bf6a9..f91a8415ec64 100644 --- a/sdk/codeartifact/src/operation/describe_package_version/builders.rs +++ b/sdk/codeartifact/src/operation/describe_package_version/builders.rs @@ -19,9 +19,9 @@ impl DescribePackageVersionFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl DescribePackageVersionFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::describe_package_version::DescribePackageVersion, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::describe_package_version::DescribePackageVersionError, + >, + > { + self.customize_middleware().await + } ///

                        The name of the domain that contains the repository that contains the package version.

                        pub fn domain(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.domain(input.into()); diff --git a/sdk/codeartifact/src/operation/describe_repository/builders.rs b/sdk/codeartifact/src/operation/describe_repository/builders.rs index f151031ff3c4..d561831fa7d7 100644 --- a/sdk/codeartifact/src/operation/describe_repository/builders.rs +++ b/sdk/codeartifact/src/operation/describe_repository/builders.rs @@ -19,9 +19,9 @@ impl DescribeRepositoryFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl DescribeRepositoryFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::describe_repository::DescribeRepository, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::describe_repository::DescribeRepositoryError, + >, + > { + self.customize_middleware().await + } ///

                        The name of the domain that contains the repository to describe.

                        pub fn domain(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.domain(input.into()); diff --git a/sdk/codeartifact/src/operation/disassociate_external_connection/builders.rs b/sdk/codeartifact/src/operation/disassociate_external_connection/builders.rs index a384d242ce0e..bc1599083b06 100644 --- a/sdk/codeartifact/src/operation/disassociate_external_connection/builders.rs +++ b/sdk/codeartifact/src/operation/disassociate_external_connection/builders.rs @@ -19,9 +19,9 @@ impl DisassociateExternalConnectionFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl DisassociateExternalConnectionFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::disassociate_external_connection::DisassociateExternalConnection, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::disassociate_external_connection::DisassociateExternalConnectionError, + >, + > { + self.customize_middleware().await + } ///

                        The name of the domain that contains the repository from which to remove the external repository.

                        pub fn domain(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.domain(input.into()); diff --git a/sdk/codeartifact/src/operation/dispose_package_versions/builders.rs b/sdk/codeartifact/src/operation/dispose_package_versions/builders.rs index 0cebcc144f41..40b70304e260 100644 --- a/sdk/codeartifact/src/operation/dispose_package_versions/builders.rs +++ b/sdk/codeartifact/src/operation/dispose_package_versions/builders.rs @@ -21,9 +21,9 @@ impl DisposePackageVersionsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -85,6 +85,22 @@ impl DisposePackageVersionsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::dispose_package_versions::DisposePackageVersions, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::dispose_package_versions::DisposePackageVersionsError, + >, + > { + self.customize_middleware().await + } ///

                        The name of the domain that contains the repository you want to dispose.

                        pub fn domain(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.domain(input.into()); diff --git a/sdk/codeartifact/src/operation/get_authorization_token/builders.rs b/sdk/codeartifact/src/operation/get_authorization_token/builders.rs index 40c7a46295f7..fa988a9a9fcc 100644 --- a/sdk/codeartifact/src/operation/get_authorization_token/builders.rs +++ b/sdk/codeartifact/src/operation/get_authorization_token/builders.rs @@ -23,9 +23,9 @@ impl GetAuthorizationTokenFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -87,6 +87,22 @@ impl GetAuthorizationTokenFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::get_authorization_token::GetAuthorizationToken, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::get_authorization_token::GetAuthorizationTokenError, + >, + > { + self.customize_middleware().await + } ///

                        The name of the domain that is in scope for the generated authorization token.

                        pub fn domain(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.domain(input.into()); diff --git a/sdk/codeartifact/src/operation/get_domain_permissions_policy/builders.rs b/sdk/codeartifact/src/operation/get_domain_permissions_policy/builders.rs index e191ec1868e2..f7a8721ffb95 100644 --- a/sdk/codeartifact/src/operation/get_domain_permissions_policy/builders.rs +++ b/sdk/codeartifact/src/operation/get_domain_permissions_policy/builders.rs @@ -21,9 +21,9 @@ impl GetDomainPermissionsPolicyFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -85,6 +85,22 @@ impl GetDomainPermissionsPolicyFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::get_domain_permissions_policy::GetDomainPermissionsPolicy, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::get_domain_permissions_policy::GetDomainPermissionsPolicyError, + >, + > { + self.customize_middleware().await + } ///

                        The name of the domain to which the resource policy is attached.

                        pub fn domain(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.domain(input.into()); diff --git a/sdk/codeartifact/src/operation/get_package_version_asset/builders.rs b/sdk/codeartifact/src/operation/get_package_version_asset/builders.rs index 17734a414556..a92b61993669 100644 --- a/sdk/codeartifact/src/operation/get_package_version_asset/builders.rs +++ b/sdk/codeartifact/src/operation/get_package_version_asset/builders.rs @@ -20,9 +20,9 @@ impl GetPackageVersionAssetFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -84,6 +84,22 @@ impl GetPackageVersionAssetFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::get_package_version_asset::GetPackageVersionAsset, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::get_package_version_asset::GetPackageVersionAssetError, + >, + > { + self.customize_middleware().await + } ///

                        The name of the domain that contains the repository that contains the package version with the requested asset.

                        pub fn domain(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.domain(input.into()); diff --git a/sdk/codeartifact/src/operation/get_package_version_readme/builders.rs b/sdk/codeartifact/src/operation/get_package_version_readme/builders.rs index 0fc14e8f9852..0b9d9fa621eb 100644 --- a/sdk/codeartifact/src/operation/get_package_version_readme/builders.rs +++ b/sdk/codeartifact/src/operation/get_package_version_readme/builders.rs @@ -21,9 +21,9 @@ impl GetPackageVersionReadmeFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -85,6 +85,22 @@ impl GetPackageVersionReadmeFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::get_package_version_readme::GetPackageVersionReadme, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::get_package_version_readme::GetPackageVersionReadmeError, + >, + > { + self.customize_middleware().await + } ///

                        The name of the domain that contains the repository that contains the package version with the requested readme file.

                        pub fn domain(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.domain(input.into()); diff --git a/sdk/codeartifact/src/operation/get_repository_endpoint/builders.rs b/sdk/codeartifact/src/operation/get_repository_endpoint/builders.rs index d1027430a6c8..e570b6a877be 100644 --- a/sdk/codeartifact/src/operation/get_repository_endpoint/builders.rs +++ b/sdk/codeartifact/src/operation/get_repository_endpoint/builders.rs @@ -25,9 +25,9 @@ impl GetRepositoryEndpointFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -89,6 +89,22 @@ impl GetRepositoryEndpointFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::get_repository_endpoint::GetRepositoryEndpoint, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::get_repository_endpoint::GetRepositoryEndpointError, + >, + > { + self.customize_middleware().await + } ///

                        The name of the domain that contains the repository.

                        pub fn domain(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.domain(input.into()); diff --git a/sdk/codeartifact/src/operation/get_repository_permissions_policy/builders.rs b/sdk/codeartifact/src/operation/get_repository_permissions_policy/builders.rs index edbe3c287882..29579e58e6d8 100644 --- a/sdk/codeartifact/src/operation/get_repository_permissions_policy/builders.rs +++ b/sdk/codeartifact/src/operation/get_repository_permissions_policy/builders.rs @@ -19,9 +19,9 @@ impl GetRepositoryPermissionsPolicyFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize(self) -> ::std::result::Result< + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware(self) -> ::std::result::Result< crate::client::customize::CustomizableOperation, ::aws_smithy_http::result::SdkError >{ @@ -64,6 +64,15 @@ impl GetRepositoryPermissionsPolicyFluentBuilder { { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize(self) -> ::std::result::Result< + crate::client::customize::CustomizableOperation, + ::aws_smithy_http::result::SdkError + >{ + self.customize_middleware().await + } ///

                        The name of the domain containing the repository whose associated resource policy is to be retrieved.

                        pub fn domain(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.domain(input.into()); diff --git a/sdk/codeartifact/src/operation/list_domains/builders.rs b/sdk/codeartifact/src/operation/list_domains/builders.rs index ce9bc9009d5a..57c05c2c52be 100644 --- a/sdk/codeartifact/src/operation/list_domains/builders.rs +++ b/sdk/codeartifact/src/operation/list_domains/builders.rs @@ -19,9 +19,9 @@ impl ListDomainsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl ListDomainsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_domains::ListDomains, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::list_domains::paginator::ListDomainsPaginator::send) which returns a `Stream`. diff --git a/sdk/codeartifact/src/operation/list_package_version_assets/builders.rs b/sdk/codeartifact/src/operation/list_package_version_assets/builders.rs index 4c63f07c2796..ed1c9a04c8c6 100644 --- a/sdk/codeartifact/src/operation/list_package_version_assets/builders.rs +++ b/sdk/codeartifact/src/operation/list_package_version_assets/builders.rs @@ -19,9 +19,9 @@ impl ListPackageVersionAssetsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl ListPackageVersionAssetsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_package_version_assets::ListPackageVersionAssets, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::list_package_version_assets::ListPackageVersionAssetsError, + >, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::list_package_version_assets::paginator::ListPackageVersionAssetsPaginator::send) which returns a `Stream`. diff --git a/sdk/codeartifact/src/operation/list_package_version_dependencies/builders.rs b/sdk/codeartifact/src/operation/list_package_version_dependencies/builders.rs index b5492929e692..b990f99facc7 100644 --- a/sdk/codeartifact/src/operation/list_package_version_dependencies/builders.rs +++ b/sdk/codeartifact/src/operation/list_package_version_dependencies/builders.rs @@ -19,9 +19,9 @@ impl ListPackageVersionDependenciesFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize(self) -> ::std::result::Result< + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware(self) -> ::std::result::Result< crate::client::customize::CustomizableOperation, ::aws_smithy_http::result::SdkError >{ @@ -64,6 +64,15 @@ impl ListPackageVersionDependenciesFluentBuilder { { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize(self) -> ::std::result::Result< + crate::client::customize::CustomizableOperation, + ::aws_smithy_http::result::SdkError + >{ + self.customize_middleware().await + } ///

                        The name of the domain that contains the repository that contains the requested package version dependencies.

                        pub fn domain(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.domain(input.into()); diff --git a/sdk/codeartifact/src/operation/list_package_versions/builders.rs b/sdk/codeartifact/src/operation/list_package_versions/builders.rs index 907a23ed2e8c..35b0b84685da 100644 --- a/sdk/codeartifact/src/operation/list_package_versions/builders.rs +++ b/sdk/codeartifact/src/operation/list_package_versions/builders.rs @@ -19,9 +19,9 @@ impl ListPackageVersionsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl ListPackageVersionsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_package_versions::ListPackageVersions, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::list_package_versions::ListPackageVersionsError, + >, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::list_package_versions::paginator::ListPackageVersionsPaginator::send) which returns a `Stream`. diff --git a/sdk/codeartifact/src/operation/list_packages/builders.rs b/sdk/codeartifact/src/operation/list_packages/builders.rs index 95299b178115..feb2654e4209 100644 --- a/sdk/codeartifact/src/operation/list_packages/builders.rs +++ b/sdk/codeartifact/src/operation/list_packages/builders.rs @@ -19,9 +19,9 @@ impl ListPackagesFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl ListPackagesFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_packages::ListPackages, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::list_packages::paginator::ListPackagesPaginator::send) which returns a `Stream`. diff --git a/sdk/codeartifact/src/operation/list_repositories/builders.rs b/sdk/codeartifact/src/operation/list_repositories/builders.rs index ed7b733b19ce..50a373532d50 100644 --- a/sdk/codeartifact/src/operation/list_repositories/builders.rs +++ b/sdk/codeartifact/src/operation/list_repositories/builders.rs @@ -19,9 +19,9 @@ impl ListRepositoriesFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl ListRepositoriesFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_repositories::ListRepositories, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::list_repositories::ListRepositoriesError, + >, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::list_repositories::paginator::ListRepositoriesPaginator::send) which returns a `Stream`. diff --git a/sdk/codeartifact/src/operation/list_repositories_in_domain/builders.rs b/sdk/codeartifact/src/operation/list_repositories_in_domain/builders.rs index d6b77fca758f..2e0504877fb0 100644 --- a/sdk/codeartifact/src/operation/list_repositories_in_domain/builders.rs +++ b/sdk/codeartifact/src/operation/list_repositories_in_domain/builders.rs @@ -19,9 +19,9 @@ impl ListRepositoriesInDomainFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl ListRepositoriesInDomainFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_repositories_in_domain::ListRepositoriesInDomain, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::list_repositories_in_domain::ListRepositoriesInDomainError, + >, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::list_repositories_in_domain::paginator::ListRepositoriesInDomainPaginator::send) which returns a `Stream`. diff --git a/sdk/codeartifact/src/operation/list_tags_for_resource/builders.rs b/sdk/codeartifact/src/operation/list_tags_for_resource/builders.rs index 00a6fd93175c..9036bcd310e9 100644 --- a/sdk/codeartifact/src/operation/list_tags_for_resource/builders.rs +++ b/sdk/codeartifact/src/operation/list_tags_for_resource/builders.rs @@ -19,9 +19,9 @@ impl ListTagsForResourceFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl ListTagsForResourceFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_tags_for_resource::ListTagsForResource, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::list_tags_for_resource::ListTagsForResourceError, + >, + > { + self.customize_middleware().await + } ///

                        The Amazon Resource Name (ARN) of the resource to get tags for.

                        pub fn resource_arn(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.resource_arn(input.into()); diff --git a/sdk/codeartifact/src/operation/publish_package_version/builders.rs b/sdk/codeartifact/src/operation/publish_package_version/builders.rs index fc33d4c012f5..2fc8ad94522c 100644 --- a/sdk/codeartifact/src/operation/publish_package_version/builders.rs +++ b/sdk/codeartifact/src/operation/publish_package_version/builders.rs @@ -22,9 +22,9 @@ impl PublishPackageVersionFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -86,6 +86,22 @@ impl PublishPackageVersionFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::publish_package_version::PublishPackageVersion, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::publish_package_version::PublishPackageVersionError, + >, + > { + self.customize_middleware().await + } ///

                        The name of the domain that contains the repository that contains the package version to publish.

                        pub fn domain(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.domain(input.into()); diff --git a/sdk/codeartifact/src/operation/put_domain_permissions_policy/builders.rs b/sdk/codeartifact/src/operation/put_domain_permissions_policy/builders.rs index e21565b6aa03..1ee7916b6e6f 100644 --- a/sdk/codeartifact/src/operation/put_domain_permissions_policy/builders.rs +++ b/sdk/codeartifact/src/operation/put_domain_permissions_policy/builders.rs @@ -20,9 +20,9 @@ impl PutDomainPermissionsPolicyFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -84,6 +84,22 @@ impl PutDomainPermissionsPolicyFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::put_domain_permissions_policy::PutDomainPermissionsPolicy, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::put_domain_permissions_policy::PutDomainPermissionsPolicyError, + >, + > { + self.customize_middleware().await + } ///

                        The name of the domain on which to set the resource policy.

                        pub fn domain(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.domain(input.into()); diff --git a/sdk/codeartifact/src/operation/put_package_origin_configuration/builders.rs b/sdk/codeartifact/src/operation/put_package_origin_configuration/builders.rs index bb164ad9133e..3222fa135162 100644 --- a/sdk/codeartifact/src/operation/put_package_origin_configuration/builders.rs +++ b/sdk/codeartifact/src/operation/put_package_origin_configuration/builders.rs @@ -21,9 +21,9 @@ impl PutPackageOriginConfigurationFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -85,6 +85,22 @@ impl PutPackageOriginConfigurationFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::put_package_origin_configuration::PutPackageOriginConfiguration, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::put_package_origin_configuration::PutPackageOriginConfigurationError, + >, + > { + self.customize_middleware().await + } ///

                        The name of the domain that contains the repository that contains the package.

                        pub fn domain(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.domain(input.into()); diff --git a/sdk/codeartifact/src/operation/put_repository_permissions_policy/builders.rs b/sdk/codeartifact/src/operation/put_repository_permissions_policy/builders.rs index 187c61d64300..208c680d3452 100644 --- a/sdk/codeartifact/src/operation/put_repository_permissions_policy/builders.rs +++ b/sdk/codeartifact/src/operation/put_repository_permissions_policy/builders.rs @@ -20,9 +20,9 @@ impl PutRepositoryPermissionsPolicyFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize(self) -> ::std::result::Result< + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware(self) -> ::std::result::Result< crate::client::customize::CustomizableOperation, ::aws_smithy_http::result::SdkError >{ @@ -65,6 +65,15 @@ impl PutRepositoryPermissionsPolicyFluentBuilder { { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize(self) -> ::std::result::Result< + crate::client::customize::CustomizableOperation, + ::aws_smithy_http::result::SdkError + >{ + self.customize_middleware().await + } ///

                        The name of the domain containing the repository to set the resource policy on.

                        pub fn domain(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.domain(input.into()); diff --git a/sdk/codeartifact/src/operation/tag_resource/builders.rs b/sdk/codeartifact/src/operation/tag_resource/builders.rs index 8f9a393d1006..ee122ab7ad69 100644 --- a/sdk/codeartifact/src/operation/tag_resource/builders.rs +++ b/sdk/codeartifact/src/operation/tag_resource/builders.rs @@ -19,9 +19,9 @@ impl TagResourceFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl TagResourceFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::tag_resource::TagResource, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                        The Amazon Resource Name (ARN) of the resource that you want to add or update tags for.

                        pub fn resource_arn(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.resource_arn(input.into()); diff --git a/sdk/codeartifact/src/operation/untag_resource/builders.rs b/sdk/codeartifact/src/operation/untag_resource/builders.rs index 5dfc7a582421..f7003fbe463d 100644 --- a/sdk/codeartifact/src/operation/untag_resource/builders.rs +++ b/sdk/codeartifact/src/operation/untag_resource/builders.rs @@ -19,9 +19,9 @@ impl UntagResourceFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl UntagResourceFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::untag_resource::UntagResource, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                        The Amazon Resource Name (ARN) of the resource that you want to remove tags from.

                        pub fn resource_arn(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.resource_arn(input.into()); diff --git a/sdk/codeartifact/src/operation/update_package_versions_status/builders.rs b/sdk/codeartifact/src/operation/update_package_versions_status/builders.rs index 030a4a57240d..459c0d9891e0 100644 --- a/sdk/codeartifact/src/operation/update_package_versions_status/builders.rs +++ b/sdk/codeartifact/src/operation/update_package_versions_status/builders.rs @@ -19,9 +19,9 @@ impl UpdatePackageVersionsStatusFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl UpdatePackageVersionsStatusFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::update_package_versions_status::UpdatePackageVersionsStatus, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::update_package_versions_status::UpdatePackageVersionsStatusError, + >, + > { + self.customize_middleware().await + } ///

                        The name of the domain that contains the repository that contains the package versions with a status to be updated.

                        pub fn domain(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.domain(input.into()); diff --git a/sdk/codeartifact/src/operation/update_repository/builders.rs b/sdk/codeartifact/src/operation/update_repository/builders.rs index 99f78d022c44..ac573c81a66f 100644 --- a/sdk/codeartifact/src/operation/update_repository/builders.rs +++ b/sdk/codeartifact/src/operation/update_repository/builders.rs @@ -19,9 +19,9 @@ impl UpdateRepositoryFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl UpdateRepositoryFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::update_repository::UpdateRepository, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::update_repository::UpdateRepositoryError, + >, + > { + self.customize_middleware().await + } ///

                        The name of the domain associated with the repository to update.

                        pub fn domain(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.domain(input.into()); diff --git a/sdk/codebuild/src/operation/batch_delete_builds/builders.rs b/sdk/codebuild/src/operation/batch_delete_builds/builders.rs index d2a682cd156c..0d157de08529 100644 --- a/sdk/codebuild/src/operation/batch_delete_builds/builders.rs +++ b/sdk/codebuild/src/operation/batch_delete_builds/builders.rs @@ -19,9 +19,9 @@ impl BatchDeleteBuildsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl BatchDeleteBuildsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::batch_delete_builds::BatchDeleteBuilds, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::batch_delete_builds::BatchDeleteBuildsError, + >, + > { + self.customize_middleware().await + } /// Appends an item to `ids`. /// /// To override the contents of this collection use [`set_ids`](Self::set_ids). diff --git a/sdk/codebuild/src/operation/batch_get_build_batches/builders.rs b/sdk/codebuild/src/operation/batch_get_build_batches/builders.rs index f9d901bf1d0c..4ed2af7f1ada 100644 --- a/sdk/codebuild/src/operation/batch_get_build_batches/builders.rs +++ b/sdk/codebuild/src/operation/batch_get_build_batches/builders.rs @@ -19,9 +19,9 @@ impl BatchGetBuildBatchesFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl BatchGetBuildBatchesFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::batch_get_build_batches::BatchGetBuildBatches, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::batch_get_build_batches::BatchGetBuildBatchesError, + >, + > { + self.customize_middleware().await + } /// Appends an item to `ids`. /// /// To override the contents of this collection use [`set_ids`](Self::set_ids). diff --git a/sdk/codebuild/src/operation/batch_get_builds/builders.rs b/sdk/codebuild/src/operation/batch_get_builds/builders.rs index f76afb407b0e..d2b31879fc63 100644 --- a/sdk/codebuild/src/operation/batch_get_builds/builders.rs +++ b/sdk/codebuild/src/operation/batch_get_builds/builders.rs @@ -19,9 +19,9 @@ impl BatchGetBuildsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl BatchGetBuildsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::batch_get_builds::BatchGetBuilds, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::batch_get_builds::BatchGetBuildsError, + >, + > { + self.customize_middleware().await + } /// Appends an item to `ids`. /// /// To override the contents of this collection use [`set_ids`](Self::set_ids). diff --git a/sdk/codebuild/src/operation/batch_get_projects/builders.rs b/sdk/codebuild/src/operation/batch_get_projects/builders.rs index df1ed398c6fc..04a244390af6 100644 --- a/sdk/codebuild/src/operation/batch_get_projects/builders.rs +++ b/sdk/codebuild/src/operation/batch_get_projects/builders.rs @@ -19,9 +19,9 @@ impl BatchGetProjectsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl BatchGetProjectsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::batch_get_projects::BatchGetProjects, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::batch_get_projects::BatchGetProjectsError, + >, + > { + self.customize_middleware().await + } /// Appends an item to `names`. /// /// To override the contents of this collection use [`set_names`](Self::set_names). diff --git a/sdk/codebuild/src/operation/batch_get_report_groups/builders.rs b/sdk/codebuild/src/operation/batch_get_report_groups/builders.rs index f987e7e9c55a..feeaa61ca9e1 100644 --- a/sdk/codebuild/src/operation/batch_get_report_groups/builders.rs +++ b/sdk/codebuild/src/operation/batch_get_report_groups/builders.rs @@ -19,9 +19,9 @@ impl BatchGetReportGroupsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl BatchGetReportGroupsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::batch_get_report_groups::BatchGetReportGroups, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::batch_get_report_groups::BatchGetReportGroupsError, + >, + > { + self.customize_middleware().await + } /// Appends an item to `reportGroupArns`. /// /// To override the contents of this collection use [`set_report_group_arns`](Self::set_report_group_arns). diff --git a/sdk/codebuild/src/operation/batch_get_reports/builders.rs b/sdk/codebuild/src/operation/batch_get_reports/builders.rs index 0eb9eddd0cdf..3ead736708f7 100644 --- a/sdk/codebuild/src/operation/batch_get_reports/builders.rs +++ b/sdk/codebuild/src/operation/batch_get_reports/builders.rs @@ -19,9 +19,9 @@ impl BatchGetReportsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl BatchGetReportsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::batch_get_reports::BatchGetReports, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::batch_get_reports::BatchGetReportsError, + >, + > { + self.customize_middleware().await + } /// Appends an item to `reportArns`. /// /// To override the contents of this collection use [`set_report_arns`](Self::set_report_arns). diff --git a/sdk/codebuild/src/operation/create_project/builders.rs b/sdk/codebuild/src/operation/create_project/builders.rs index 59bc187a0e9e..68e15aa25bc4 100644 --- a/sdk/codebuild/src/operation/create_project/builders.rs +++ b/sdk/codebuild/src/operation/create_project/builders.rs @@ -19,9 +19,9 @@ impl CreateProjectFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl CreateProjectFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::create_project::CreateProject, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                        The name of the build project.

                        pub fn name(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.name(input.into()); diff --git a/sdk/codebuild/src/operation/create_report_group/builders.rs b/sdk/codebuild/src/operation/create_report_group/builders.rs index e1a7afe1a3ce..90fa49ad8aac 100644 --- a/sdk/codebuild/src/operation/create_report_group/builders.rs +++ b/sdk/codebuild/src/operation/create_report_group/builders.rs @@ -19,9 +19,9 @@ impl CreateReportGroupFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl CreateReportGroupFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::create_report_group::CreateReportGroup, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::create_report_group::CreateReportGroupError, + >, + > { + self.customize_middleware().await + } ///

                        The name of the report group.

                        pub fn name(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.name(input.into()); diff --git a/sdk/codebuild/src/operation/create_webhook/builders.rs b/sdk/codebuild/src/operation/create_webhook/builders.rs index d5aa2e78d808..10a98a879b66 100644 --- a/sdk/codebuild/src/operation/create_webhook/builders.rs +++ b/sdk/codebuild/src/operation/create_webhook/builders.rs @@ -21,9 +21,9 @@ impl CreateWebhookFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -79,6 +79,20 @@ impl CreateWebhookFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::create_webhook::CreateWebhook, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                        The name of the CodeBuild project.

                        pub fn project_name(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.project_name(input.into()); diff --git a/sdk/codebuild/src/operation/delete_build_batch/builders.rs b/sdk/codebuild/src/operation/delete_build_batch/builders.rs index c7fcf50e62be..c4ca612051a2 100644 --- a/sdk/codebuild/src/operation/delete_build_batch/builders.rs +++ b/sdk/codebuild/src/operation/delete_build_batch/builders.rs @@ -19,9 +19,9 @@ impl DeleteBuildBatchFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl DeleteBuildBatchFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::delete_build_batch::DeleteBuildBatch, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::delete_build_batch::DeleteBuildBatchError, + >, + > { + self.customize_middleware().await + } ///

                        The identifier of the batch build to delete.

                        pub fn id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.id(input.into()); diff --git a/sdk/codebuild/src/operation/delete_project/builders.rs b/sdk/codebuild/src/operation/delete_project/builders.rs index 4428cd0194a8..793e4aa29da0 100644 --- a/sdk/codebuild/src/operation/delete_project/builders.rs +++ b/sdk/codebuild/src/operation/delete_project/builders.rs @@ -19,9 +19,9 @@ impl DeleteProjectFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl DeleteProjectFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::delete_project::DeleteProject, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                        The name of the build project.

                        pub fn name(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.name(input.into()); diff --git a/sdk/codebuild/src/operation/delete_report/builders.rs b/sdk/codebuild/src/operation/delete_report/builders.rs index 56414c8b3527..365d6fd7cb1a 100644 --- a/sdk/codebuild/src/operation/delete_report/builders.rs +++ b/sdk/codebuild/src/operation/delete_report/builders.rs @@ -19,9 +19,9 @@ impl DeleteReportFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl DeleteReportFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::delete_report::DeleteReport, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                        The ARN of the report to delete.

                        pub fn arn(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.arn(input.into()); diff --git a/sdk/codebuild/src/operation/delete_report_group/builders.rs b/sdk/codebuild/src/operation/delete_report_group/builders.rs index 5104648e2289..16186e8496d3 100644 --- a/sdk/codebuild/src/operation/delete_report_group/builders.rs +++ b/sdk/codebuild/src/operation/delete_report_group/builders.rs @@ -19,9 +19,9 @@ impl DeleteReportGroupFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl DeleteReportGroupFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::delete_report_group::DeleteReportGroup, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::delete_report_group::DeleteReportGroupError, + >, + > { + self.customize_middleware().await + } ///

                        The ARN of the report group to delete.

                        pub fn arn(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.arn(input.into()); diff --git a/sdk/codebuild/src/operation/delete_resource_policy/builders.rs b/sdk/codebuild/src/operation/delete_resource_policy/builders.rs index cd81fff74fc6..66947cc7097e 100644 --- a/sdk/codebuild/src/operation/delete_resource_policy/builders.rs +++ b/sdk/codebuild/src/operation/delete_resource_policy/builders.rs @@ -19,9 +19,9 @@ impl DeleteResourcePolicyFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl DeleteResourcePolicyFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::delete_resource_policy::DeleteResourcePolicy, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::delete_resource_policy::DeleteResourcePolicyError, + >, + > { + self.customize_middleware().await + } ///

                        The ARN of the resource that is associated with the resource policy.

                        pub fn resource_arn(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.resource_arn(input.into()); diff --git a/sdk/codebuild/src/operation/delete_source_credentials/builders.rs b/sdk/codebuild/src/operation/delete_source_credentials/builders.rs index 0cfc30194f91..ed28905722d3 100644 --- a/sdk/codebuild/src/operation/delete_source_credentials/builders.rs +++ b/sdk/codebuild/src/operation/delete_source_credentials/builders.rs @@ -20,9 +20,9 @@ impl DeleteSourceCredentialsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -84,6 +84,22 @@ impl DeleteSourceCredentialsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::delete_source_credentials::DeleteSourceCredentials, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::delete_source_credentials::DeleteSourceCredentialsError, + >, + > { + self.customize_middleware().await + } ///

                        The Amazon Resource Name (ARN) of the token.

                        pub fn arn(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.arn(input.into()); diff --git a/sdk/codebuild/src/operation/delete_webhook/builders.rs b/sdk/codebuild/src/operation/delete_webhook/builders.rs index c5857c5c1a73..0f7262313424 100644 --- a/sdk/codebuild/src/operation/delete_webhook/builders.rs +++ b/sdk/codebuild/src/operation/delete_webhook/builders.rs @@ -19,9 +19,9 @@ impl DeleteWebhookFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl DeleteWebhookFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::delete_webhook::DeleteWebhook, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                        The name of the CodeBuild project.

                        pub fn project_name(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.project_name(input.into()); diff --git a/sdk/codebuild/src/operation/describe_code_coverages/builders.rs b/sdk/codebuild/src/operation/describe_code_coverages/builders.rs index f00f4d2874e0..376636828f3c 100644 --- a/sdk/codebuild/src/operation/describe_code_coverages/builders.rs +++ b/sdk/codebuild/src/operation/describe_code_coverages/builders.rs @@ -19,9 +19,9 @@ impl DescribeCodeCoveragesFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl DescribeCodeCoveragesFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::describe_code_coverages::DescribeCodeCoverages, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::describe_code_coverages::DescribeCodeCoveragesError, + >, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::describe_code_coverages::paginator::DescribeCodeCoveragesPaginator::send) which returns a `Stream`. diff --git a/sdk/codebuild/src/operation/describe_test_cases/builders.rs b/sdk/codebuild/src/operation/describe_test_cases/builders.rs index 21644e605f6d..529f3aece227 100644 --- a/sdk/codebuild/src/operation/describe_test_cases/builders.rs +++ b/sdk/codebuild/src/operation/describe_test_cases/builders.rs @@ -19,9 +19,9 @@ impl DescribeTestCasesFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl DescribeTestCasesFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::describe_test_cases::DescribeTestCases, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::describe_test_cases::DescribeTestCasesError, + >, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::describe_test_cases::paginator::DescribeTestCasesPaginator::send) which returns a `Stream`. diff --git a/sdk/codebuild/src/operation/get_report_group_trend/builders.rs b/sdk/codebuild/src/operation/get_report_group_trend/builders.rs index 72de2ca7b428..24d61e54d6b0 100644 --- a/sdk/codebuild/src/operation/get_report_group_trend/builders.rs +++ b/sdk/codebuild/src/operation/get_report_group_trend/builders.rs @@ -19,9 +19,9 @@ impl GetReportGroupTrendFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl GetReportGroupTrendFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::get_report_group_trend::GetReportGroupTrend, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::get_report_group_trend::GetReportGroupTrendError, + >, + > { + self.customize_middleware().await + } ///

                        The ARN of the report group that contains the reports to analyze.

                        pub fn report_group_arn( mut self, diff --git a/sdk/codebuild/src/operation/get_resource_policy/builders.rs b/sdk/codebuild/src/operation/get_resource_policy/builders.rs index 2db528d5ae95..1df10dd826e8 100644 --- a/sdk/codebuild/src/operation/get_resource_policy/builders.rs +++ b/sdk/codebuild/src/operation/get_resource_policy/builders.rs @@ -19,9 +19,9 @@ impl GetResourcePolicyFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl GetResourcePolicyFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::get_resource_policy::GetResourcePolicy, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::get_resource_policy::GetResourcePolicyError, + >, + > { + self.customize_middleware().await + } ///

                        The ARN of the resource that is associated with the resource policy.

                        pub fn resource_arn(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.resource_arn(input.into()); diff --git a/sdk/codebuild/src/operation/import_source_credentials/builders.rs b/sdk/codebuild/src/operation/import_source_credentials/builders.rs index 1c086a1c0e50..116dc2553b03 100644 --- a/sdk/codebuild/src/operation/import_source_credentials/builders.rs +++ b/sdk/codebuild/src/operation/import_source_credentials/builders.rs @@ -20,9 +20,9 @@ impl ImportSourceCredentialsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -84,6 +84,22 @@ impl ImportSourceCredentialsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::import_source_credentials::ImportSourceCredentials, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::import_source_credentials::ImportSourceCredentialsError, + >, + > { + self.customize_middleware().await + } ///

                        The Bitbucket username when the authType is BASIC_AUTH. This parameter is not valid for other types of source providers or connections.

                        pub fn username(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.username(input.into()); diff --git a/sdk/codebuild/src/operation/invalidate_project_cache/builders.rs b/sdk/codebuild/src/operation/invalidate_project_cache/builders.rs index f98ab16288ba..619961f3b8c7 100644 --- a/sdk/codebuild/src/operation/invalidate_project_cache/builders.rs +++ b/sdk/codebuild/src/operation/invalidate_project_cache/builders.rs @@ -19,9 +19,9 @@ impl InvalidateProjectCacheFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl InvalidateProjectCacheFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::invalidate_project_cache::InvalidateProjectCache, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::invalidate_project_cache::InvalidateProjectCacheError, + >, + > { + self.customize_middleware().await + } ///

                        The name of the CodeBuild build project that the cache is reset for.

                        pub fn project_name(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.project_name(input.into()); diff --git a/sdk/codebuild/src/operation/list_build_batches/builders.rs b/sdk/codebuild/src/operation/list_build_batches/builders.rs index 283f26466fe2..cc4f39a0e53a 100644 --- a/sdk/codebuild/src/operation/list_build_batches/builders.rs +++ b/sdk/codebuild/src/operation/list_build_batches/builders.rs @@ -19,9 +19,9 @@ impl ListBuildBatchesFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl ListBuildBatchesFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_build_batches::ListBuildBatches, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::list_build_batches::ListBuildBatchesError, + >, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::list_build_batches::paginator::ListBuildBatchesPaginator::send) which returns a `Stream`. diff --git a/sdk/codebuild/src/operation/list_build_batches_for_project/builders.rs b/sdk/codebuild/src/operation/list_build_batches_for_project/builders.rs index b9e2c5e32547..4e9f1d4cffe8 100644 --- a/sdk/codebuild/src/operation/list_build_batches_for_project/builders.rs +++ b/sdk/codebuild/src/operation/list_build_batches_for_project/builders.rs @@ -19,9 +19,9 @@ impl ListBuildBatchesForProjectFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl ListBuildBatchesForProjectFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_build_batches_for_project::ListBuildBatchesForProject, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::list_build_batches_for_project::ListBuildBatchesForProjectError, + >, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::list_build_batches_for_project::paginator::ListBuildBatchesForProjectPaginator::send) which returns a `Stream`. diff --git a/sdk/codebuild/src/operation/list_builds/builders.rs b/sdk/codebuild/src/operation/list_builds/builders.rs index 5034d39b25ac..514956ba868f 100644 --- a/sdk/codebuild/src/operation/list_builds/builders.rs +++ b/sdk/codebuild/src/operation/list_builds/builders.rs @@ -19,9 +19,9 @@ impl ListBuildsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl ListBuildsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_builds::ListBuilds, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::list_builds::paginator::ListBuildsPaginator::send) which returns a `Stream`. diff --git a/sdk/codebuild/src/operation/list_builds_for_project/builders.rs b/sdk/codebuild/src/operation/list_builds_for_project/builders.rs index a6d3f5838564..703c0d6bea98 100644 --- a/sdk/codebuild/src/operation/list_builds_for_project/builders.rs +++ b/sdk/codebuild/src/operation/list_builds_for_project/builders.rs @@ -19,9 +19,9 @@ impl ListBuildsForProjectFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl ListBuildsForProjectFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_builds_for_project::ListBuildsForProject, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::list_builds_for_project::ListBuildsForProjectError, + >, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::list_builds_for_project::paginator::ListBuildsForProjectPaginator::send) which returns a `Stream`. diff --git a/sdk/codebuild/src/operation/list_curated_environment_images/builders.rs b/sdk/codebuild/src/operation/list_curated_environment_images/builders.rs index 77eafd00d12f..3c94ff2e0231 100644 --- a/sdk/codebuild/src/operation/list_curated_environment_images/builders.rs +++ b/sdk/codebuild/src/operation/list_curated_environment_images/builders.rs @@ -19,9 +19,9 @@ impl ListCuratedEnvironmentImagesFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,4 +83,20 @@ impl ListCuratedEnvironmentImagesFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_curated_environment_images::ListCuratedEnvironmentImages, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::list_curated_environment_images::ListCuratedEnvironmentImagesError, + >, + > { + self.customize_middleware().await + } } diff --git a/sdk/codebuild/src/operation/list_projects/builders.rs b/sdk/codebuild/src/operation/list_projects/builders.rs index 2d846340d279..4665b07f7900 100644 --- a/sdk/codebuild/src/operation/list_projects/builders.rs +++ b/sdk/codebuild/src/operation/list_projects/builders.rs @@ -19,9 +19,9 @@ impl ListProjectsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl ListProjectsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_projects::ListProjects, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::list_projects::paginator::ListProjectsPaginator::send) which returns a `Stream`. diff --git a/sdk/codebuild/src/operation/list_report_groups/builders.rs b/sdk/codebuild/src/operation/list_report_groups/builders.rs index 89edb72d64cd..c337cb228287 100644 --- a/sdk/codebuild/src/operation/list_report_groups/builders.rs +++ b/sdk/codebuild/src/operation/list_report_groups/builders.rs @@ -19,9 +19,9 @@ impl ListReportGroupsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl ListReportGroupsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_report_groups::ListReportGroups, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::list_report_groups::ListReportGroupsError, + >, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::list_report_groups::paginator::ListReportGroupsPaginator::send) which returns a `Stream`. diff --git a/sdk/codebuild/src/operation/list_reports/builders.rs b/sdk/codebuild/src/operation/list_reports/builders.rs index ddfd10f75ba3..5dad593bc76a 100644 --- a/sdk/codebuild/src/operation/list_reports/builders.rs +++ b/sdk/codebuild/src/operation/list_reports/builders.rs @@ -19,9 +19,9 @@ impl ListReportsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl ListReportsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_reports::ListReports, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::list_reports::paginator::ListReportsPaginator::send) which returns a `Stream`. diff --git a/sdk/codebuild/src/operation/list_reports_for_report_group/builders.rs b/sdk/codebuild/src/operation/list_reports_for_report_group/builders.rs index b6fce0f1c658..ab66edc5d4c9 100644 --- a/sdk/codebuild/src/operation/list_reports_for_report_group/builders.rs +++ b/sdk/codebuild/src/operation/list_reports_for_report_group/builders.rs @@ -19,9 +19,9 @@ impl ListReportsForReportGroupFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl ListReportsForReportGroupFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_reports_for_report_group::ListReportsForReportGroup, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::list_reports_for_report_group::ListReportsForReportGroupError, + >, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::list_reports_for_report_group::paginator::ListReportsForReportGroupPaginator::send) which returns a `Stream`. diff --git a/sdk/codebuild/src/operation/list_shared_projects/builders.rs b/sdk/codebuild/src/operation/list_shared_projects/builders.rs index d4e4adaa8a03..df6bbc649fb2 100644 --- a/sdk/codebuild/src/operation/list_shared_projects/builders.rs +++ b/sdk/codebuild/src/operation/list_shared_projects/builders.rs @@ -19,9 +19,9 @@ impl ListSharedProjectsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl ListSharedProjectsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_shared_projects::ListSharedProjects, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::list_shared_projects::ListSharedProjectsError, + >, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::list_shared_projects::paginator::ListSharedProjectsPaginator::send) which returns a `Stream`. diff --git a/sdk/codebuild/src/operation/list_shared_report_groups/builders.rs b/sdk/codebuild/src/operation/list_shared_report_groups/builders.rs index 7aaa834f6c19..9a5905128555 100644 --- a/sdk/codebuild/src/operation/list_shared_report_groups/builders.rs +++ b/sdk/codebuild/src/operation/list_shared_report_groups/builders.rs @@ -20,9 +20,9 @@ impl ListSharedReportGroupsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -84,6 +84,22 @@ impl ListSharedReportGroupsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_shared_report_groups::ListSharedReportGroups, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::list_shared_report_groups::ListSharedReportGroupsError, + >, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::list_shared_report_groups::paginator::ListSharedReportGroupsPaginator::send) which returns a `Stream`. diff --git a/sdk/codebuild/src/operation/list_source_credentials/builders.rs b/sdk/codebuild/src/operation/list_source_credentials/builders.rs index d5bcdc7064f0..e75d78eecee6 100644 --- a/sdk/codebuild/src/operation/list_source_credentials/builders.rs +++ b/sdk/codebuild/src/operation/list_source_credentials/builders.rs @@ -19,9 +19,9 @@ impl ListSourceCredentialsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,4 +83,20 @@ impl ListSourceCredentialsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_source_credentials::ListSourceCredentials, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::list_source_credentials::ListSourceCredentialsError, + >, + > { + self.customize_middleware().await + } } diff --git a/sdk/codebuild/src/operation/put_resource_policy/builders.rs b/sdk/codebuild/src/operation/put_resource_policy/builders.rs index 2c61e6a43727..27ea7353a6e9 100644 --- a/sdk/codebuild/src/operation/put_resource_policy/builders.rs +++ b/sdk/codebuild/src/operation/put_resource_policy/builders.rs @@ -19,9 +19,9 @@ impl PutResourcePolicyFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl PutResourcePolicyFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::put_resource_policy::PutResourcePolicy, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::put_resource_policy::PutResourcePolicyError, + >, + > { + self.customize_middleware().await + } ///

                        A JSON-formatted resource policy. For more information, see Sharing a Project and Sharing a Report Group in the CodeBuild User Guide.

                        pub fn policy(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.policy(input.into()); diff --git a/sdk/codebuild/src/operation/retry_build/builders.rs b/sdk/codebuild/src/operation/retry_build/builders.rs index 6af97ad4767c..8e225a7d6393 100644 --- a/sdk/codebuild/src/operation/retry_build/builders.rs +++ b/sdk/codebuild/src/operation/retry_build/builders.rs @@ -19,9 +19,9 @@ impl RetryBuildFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl RetryBuildFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::retry_build::RetryBuild, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                        Specifies the identifier of the build to restart.

                        pub fn id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.id(input.into()); diff --git a/sdk/codebuild/src/operation/retry_build_batch/builders.rs b/sdk/codebuild/src/operation/retry_build_batch/builders.rs index 4bc1a0c49f23..7f5b51bfe2c3 100644 --- a/sdk/codebuild/src/operation/retry_build_batch/builders.rs +++ b/sdk/codebuild/src/operation/retry_build_batch/builders.rs @@ -19,9 +19,9 @@ impl RetryBuildBatchFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl RetryBuildBatchFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::retry_build_batch::RetryBuildBatch, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::retry_build_batch::RetryBuildBatchError, + >, + > { + self.customize_middleware().await + } ///

                        Specifies the identifier of the batch build to restart.

                        pub fn id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.id(input.into()); diff --git a/sdk/codebuild/src/operation/start_build/builders.rs b/sdk/codebuild/src/operation/start_build/builders.rs index 9da9ffe8ea39..b3baad85eab9 100644 --- a/sdk/codebuild/src/operation/start_build/builders.rs +++ b/sdk/codebuild/src/operation/start_build/builders.rs @@ -19,9 +19,9 @@ impl StartBuildFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl StartBuildFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::start_build::StartBuild, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                        The name of the CodeBuild build project to start running a build.

                        pub fn project_name(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.project_name(input.into()); diff --git a/sdk/codebuild/src/operation/start_build_batch/builders.rs b/sdk/codebuild/src/operation/start_build_batch/builders.rs index def31a052884..1f94306dec10 100644 --- a/sdk/codebuild/src/operation/start_build_batch/builders.rs +++ b/sdk/codebuild/src/operation/start_build_batch/builders.rs @@ -19,9 +19,9 @@ impl StartBuildBatchFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl StartBuildBatchFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::start_build_batch::StartBuildBatch, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::start_build_batch::StartBuildBatchError, + >, + > { + self.customize_middleware().await + } ///

                        The name of the project.

                        pub fn project_name(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.project_name(input.into()); diff --git a/sdk/codebuild/src/operation/stop_build/builders.rs b/sdk/codebuild/src/operation/stop_build/builders.rs index f36aeee320af..ed373a972a57 100644 --- a/sdk/codebuild/src/operation/stop_build/builders.rs +++ b/sdk/codebuild/src/operation/stop_build/builders.rs @@ -19,9 +19,9 @@ impl StopBuildFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl StopBuildFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::stop_build::StopBuild, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                        The ID of the build.

                        pub fn id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.id(input.into()); diff --git a/sdk/codebuild/src/operation/stop_build_batch/builders.rs b/sdk/codebuild/src/operation/stop_build_batch/builders.rs index 69262fdebf5c..a94ac88b5f8d 100644 --- a/sdk/codebuild/src/operation/stop_build_batch/builders.rs +++ b/sdk/codebuild/src/operation/stop_build_batch/builders.rs @@ -19,9 +19,9 @@ impl StopBuildBatchFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl StopBuildBatchFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::stop_build_batch::StopBuildBatch, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::stop_build_batch::StopBuildBatchError, + >, + > { + self.customize_middleware().await + } ///

                        The identifier of the batch build to stop.

                        pub fn id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.id(input.into()); diff --git a/sdk/codebuild/src/operation/update_project/builders.rs b/sdk/codebuild/src/operation/update_project/builders.rs index 160cc3a2e6d2..cfaf71ee7a8d 100644 --- a/sdk/codebuild/src/operation/update_project/builders.rs +++ b/sdk/codebuild/src/operation/update_project/builders.rs @@ -19,9 +19,9 @@ impl UpdateProjectFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl UpdateProjectFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::update_project::UpdateProject, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                        The name of the build project.

                        ///

                        You cannot change a build project's name.

                        ///
                        diff --git a/sdk/codebuild/src/operation/update_project_visibility/builders.rs b/sdk/codebuild/src/operation/update_project_visibility/builders.rs index 64544b55d2a7..74c8bd446da3 100644 --- a/sdk/codebuild/src/operation/update_project_visibility/builders.rs +++ b/sdk/codebuild/src/operation/update_project_visibility/builders.rs @@ -31,9 +31,9 @@ impl UpdateProjectVisibilityFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -95,6 +95,22 @@ impl UpdateProjectVisibilityFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::update_project_visibility::UpdateProjectVisibility, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::update_project_visibility::UpdateProjectVisibilityError, + >, + > { + self.customize_middleware().await + } ///

                        The Amazon Resource Name (ARN) of the build project.

                        pub fn project_arn(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.project_arn(input.into()); diff --git a/sdk/codebuild/src/operation/update_report_group/builders.rs b/sdk/codebuild/src/operation/update_report_group/builders.rs index e8bce739fcba..37aa6f474cfc 100644 --- a/sdk/codebuild/src/operation/update_report_group/builders.rs +++ b/sdk/codebuild/src/operation/update_report_group/builders.rs @@ -19,9 +19,9 @@ impl UpdateReportGroupFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl UpdateReportGroupFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::update_report_group::UpdateReportGroup, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::update_report_group::UpdateReportGroupError, + >, + > { + self.customize_middleware().await + } ///

                        The ARN of the report group to update.

                        pub fn arn(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.arn(input.into()); diff --git a/sdk/codebuild/src/operation/update_webhook/builders.rs b/sdk/codebuild/src/operation/update_webhook/builders.rs index 17ca44fe6abf..5766081dda66 100644 --- a/sdk/codebuild/src/operation/update_webhook/builders.rs +++ b/sdk/codebuild/src/operation/update_webhook/builders.rs @@ -21,9 +21,9 @@ impl UpdateWebhookFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -79,6 +79,20 @@ impl UpdateWebhookFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::update_webhook::UpdateWebhook, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                        The name of the CodeBuild project.

                        pub fn project_name(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.project_name(input.into()); diff --git a/sdk/codecatalyst/src/operation/create_access_token/builders.rs b/sdk/codecatalyst/src/operation/create_access_token/builders.rs index efaf1d52516a..d490cb8991c0 100644 --- a/sdk/codecatalyst/src/operation/create_access_token/builders.rs +++ b/sdk/codecatalyst/src/operation/create_access_token/builders.rs @@ -19,9 +19,9 @@ impl CreateAccessTokenFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl CreateAccessTokenFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::create_access_token::CreateAccessToken, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::create_access_token::CreateAccessTokenError, + >, + > { + self.customize_middleware().await + } ///

                        The friendly name of the personal access token.

                        pub fn name(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.name(input.into()); diff --git a/sdk/codecatalyst/src/operation/create_dev_environment/builders.rs b/sdk/codecatalyst/src/operation/create_dev_environment/builders.rs index e7d0ea005dcd..5592699e5999 100644 --- a/sdk/codecatalyst/src/operation/create_dev_environment/builders.rs +++ b/sdk/codecatalyst/src/operation/create_dev_environment/builders.rs @@ -21,9 +21,9 @@ impl CreateDevEnvironmentFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -85,6 +85,22 @@ impl CreateDevEnvironmentFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::create_dev_environment::CreateDevEnvironment, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::create_dev_environment::CreateDevEnvironmentError, + >, + > { + self.customize_middleware().await + } ///

                        The name of the space.

                        pub fn space_name(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.space_name(input.into()); diff --git a/sdk/codecatalyst/src/operation/create_project/builders.rs b/sdk/codecatalyst/src/operation/create_project/builders.rs index 089e372eec09..6467cbf7b002 100644 --- a/sdk/codecatalyst/src/operation/create_project/builders.rs +++ b/sdk/codecatalyst/src/operation/create_project/builders.rs @@ -19,9 +19,9 @@ impl CreateProjectFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl CreateProjectFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::create_project::CreateProject, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                        The name of the space.

                        pub fn space_name(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.space_name(input.into()); diff --git a/sdk/codecatalyst/src/operation/create_source_repository_branch/builders.rs b/sdk/codecatalyst/src/operation/create_source_repository_branch/builders.rs index d3b9a1a505d7..5b60c1958b1a 100644 --- a/sdk/codecatalyst/src/operation/create_source_repository_branch/builders.rs +++ b/sdk/codecatalyst/src/operation/create_source_repository_branch/builders.rs @@ -21,9 +21,9 @@ impl CreateSourceRepositoryBranchFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -85,6 +85,22 @@ impl CreateSourceRepositoryBranchFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::create_source_repository_branch::CreateSourceRepositoryBranch, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::create_source_repository_branch::CreateSourceRepositoryBranchError, + >, + > { + self.customize_middleware().await + } ///

                        The name of the space.

                        pub fn space_name(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.space_name(input.into()); diff --git a/sdk/codecatalyst/src/operation/delete_access_token/builders.rs b/sdk/codecatalyst/src/operation/delete_access_token/builders.rs index 70e865d8e660..d51a26eb9502 100644 --- a/sdk/codecatalyst/src/operation/delete_access_token/builders.rs +++ b/sdk/codecatalyst/src/operation/delete_access_token/builders.rs @@ -19,9 +19,9 @@ impl DeleteAccessTokenFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl DeleteAccessTokenFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::delete_access_token::DeleteAccessToken, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::delete_access_token::DeleteAccessTokenError, + >, + > { + self.customize_middleware().await + } ///

                        The ID of the personal access token to delete. You can find the IDs of all PATs associated with your Amazon Web Services Builder ID in a space by calling ListAccessTokens.

                        pub fn id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.id(input.into()); diff --git a/sdk/codecatalyst/src/operation/delete_dev_environment/builders.rs b/sdk/codecatalyst/src/operation/delete_dev_environment/builders.rs index 24b7c1580d36..32440794b6b7 100644 --- a/sdk/codecatalyst/src/operation/delete_dev_environment/builders.rs +++ b/sdk/codecatalyst/src/operation/delete_dev_environment/builders.rs @@ -19,9 +19,9 @@ impl DeleteDevEnvironmentFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl DeleteDevEnvironmentFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::delete_dev_environment::DeleteDevEnvironment, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::delete_dev_environment::DeleteDevEnvironmentError, + >, + > { + self.customize_middleware().await + } ///

                        The name of the space.

                        pub fn space_name(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.space_name(input.into()); diff --git a/sdk/codecatalyst/src/operation/get_dev_environment/builders.rs b/sdk/codecatalyst/src/operation/get_dev_environment/builders.rs index ec7541f6fc24..85f08b276473 100644 --- a/sdk/codecatalyst/src/operation/get_dev_environment/builders.rs +++ b/sdk/codecatalyst/src/operation/get_dev_environment/builders.rs @@ -19,9 +19,9 @@ impl GetDevEnvironmentFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl GetDevEnvironmentFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::get_dev_environment::GetDevEnvironment, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::get_dev_environment::GetDevEnvironmentError, + >, + > { + self.customize_middleware().await + } ///

                        The name of the space.

                        pub fn space_name(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.space_name(input.into()); diff --git a/sdk/codecatalyst/src/operation/get_project/builders.rs b/sdk/codecatalyst/src/operation/get_project/builders.rs index 32e657a6f618..7b302765e0e1 100644 --- a/sdk/codecatalyst/src/operation/get_project/builders.rs +++ b/sdk/codecatalyst/src/operation/get_project/builders.rs @@ -19,9 +19,9 @@ impl GetProjectFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl GetProjectFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::get_project::GetProject, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                        The name of the space.

                        pub fn space_name(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.space_name(input.into()); diff --git a/sdk/codecatalyst/src/operation/get_source_repository_clone_urls/builders.rs b/sdk/codecatalyst/src/operation/get_source_repository_clone_urls/builders.rs index fc51fee90c64..f4505a853f7c 100644 --- a/sdk/codecatalyst/src/operation/get_source_repository_clone_urls/builders.rs +++ b/sdk/codecatalyst/src/operation/get_source_repository_clone_urls/builders.rs @@ -19,9 +19,9 @@ impl GetSourceRepositoryCloneUrlsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl GetSourceRepositoryCloneUrlsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::get_source_repository_clone_urls::GetSourceRepositoryCloneUrls, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::get_source_repository_clone_urls::GetSourceRepositoryCloneUrlsError, + >, + > { + self.customize_middleware().await + } ///

                        The name of the space.

                        pub fn space_name(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.space_name(input.into()); diff --git a/sdk/codecatalyst/src/operation/get_space/builders.rs b/sdk/codecatalyst/src/operation/get_space/builders.rs index 25473ec2e553..ebc6e60636be 100644 --- a/sdk/codecatalyst/src/operation/get_space/builders.rs +++ b/sdk/codecatalyst/src/operation/get_space/builders.rs @@ -19,9 +19,9 @@ impl GetSpaceFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl GetSpaceFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::get_space::GetSpace, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                        The name of the space.

                        pub fn name(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.name(input.into()); diff --git a/sdk/codecatalyst/src/operation/get_subscription/builders.rs b/sdk/codecatalyst/src/operation/get_subscription/builders.rs index 0d9a96489129..e0e0a49817cd 100644 --- a/sdk/codecatalyst/src/operation/get_subscription/builders.rs +++ b/sdk/codecatalyst/src/operation/get_subscription/builders.rs @@ -19,9 +19,9 @@ impl GetSubscriptionFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl GetSubscriptionFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::get_subscription::GetSubscription, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::get_subscription::GetSubscriptionError, + >, + > { + self.customize_middleware().await + } ///

                        The name of the space.

                        pub fn space_name(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.space_name(input.into()); diff --git a/sdk/codecatalyst/src/operation/get_user_details/builders.rs b/sdk/codecatalyst/src/operation/get_user_details/builders.rs index 8977d82ff479..05b67b6efdb8 100644 --- a/sdk/codecatalyst/src/operation/get_user_details/builders.rs +++ b/sdk/codecatalyst/src/operation/get_user_details/builders.rs @@ -19,9 +19,9 @@ impl GetUserDetailsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl GetUserDetailsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::get_user_details::GetUserDetails, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::get_user_details::GetUserDetailsError, + >, + > { + self.customize_middleware().await + } ///

                        The system-generated unique ID of the user.

                        pub fn id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.id(input.into()); diff --git a/sdk/codecatalyst/src/operation/list_access_tokens/builders.rs b/sdk/codecatalyst/src/operation/list_access_tokens/builders.rs index d20d9753b7ed..8e97a365fead 100644 --- a/sdk/codecatalyst/src/operation/list_access_tokens/builders.rs +++ b/sdk/codecatalyst/src/operation/list_access_tokens/builders.rs @@ -19,9 +19,9 @@ impl ListAccessTokensFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl ListAccessTokensFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_access_tokens::ListAccessTokens, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::list_access_tokens::ListAccessTokensError, + >, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::list_access_tokens::paginator::ListAccessTokensPaginator::send) which returns a `Stream`. diff --git a/sdk/codecatalyst/src/operation/list_dev_environment_sessions/builders.rs b/sdk/codecatalyst/src/operation/list_dev_environment_sessions/builders.rs index d90b24df9a71..458cabd0fec5 100644 --- a/sdk/codecatalyst/src/operation/list_dev_environment_sessions/builders.rs +++ b/sdk/codecatalyst/src/operation/list_dev_environment_sessions/builders.rs @@ -19,9 +19,9 @@ impl ListDevEnvironmentSessionsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl ListDevEnvironmentSessionsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_dev_environment_sessions::ListDevEnvironmentSessions, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::list_dev_environment_sessions::ListDevEnvironmentSessionsError, + >, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::list_dev_environment_sessions::paginator::ListDevEnvironmentSessionsPaginator::send) which returns a `Stream`. diff --git a/sdk/codecatalyst/src/operation/list_dev_environments/builders.rs b/sdk/codecatalyst/src/operation/list_dev_environments/builders.rs index b962ce9e6d17..23616e224d6e 100644 --- a/sdk/codecatalyst/src/operation/list_dev_environments/builders.rs +++ b/sdk/codecatalyst/src/operation/list_dev_environments/builders.rs @@ -19,9 +19,9 @@ impl ListDevEnvironmentsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl ListDevEnvironmentsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_dev_environments::ListDevEnvironments, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::list_dev_environments::ListDevEnvironmentsError, + >, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::list_dev_environments::paginator::ListDevEnvironmentsPaginator::send) which returns a `Stream`. diff --git a/sdk/codecatalyst/src/operation/list_event_logs/builders.rs b/sdk/codecatalyst/src/operation/list_event_logs/builders.rs index be0fc49693e8..f116943a4aa3 100644 --- a/sdk/codecatalyst/src/operation/list_event_logs/builders.rs +++ b/sdk/codecatalyst/src/operation/list_event_logs/builders.rs @@ -19,9 +19,9 @@ impl ListEventLogsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl ListEventLogsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_event_logs::ListEventLogs, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::list_event_logs::paginator::ListEventLogsPaginator::send) which returns a `Stream`. diff --git a/sdk/codecatalyst/src/operation/list_projects/builders.rs b/sdk/codecatalyst/src/operation/list_projects/builders.rs index d6ce66b849df..0b0156fe0f07 100644 --- a/sdk/codecatalyst/src/operation/list_projects/builders.rs +++ b/sdk/codecatalyst/src/operation/list_projects/builders.rs @@ -19,9 +19,9 @@ impl ListProjectsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl ListProjectsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_projects::ListProjects, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::list_projects::paginator::ListProjectsPaginator::send) which returns a `Stream`. diff --git a/sdk/codecatalyst/src/operation/list_source_repositories/builders.rs b/sdk/codecatalyst/src/operation/list_source_repositories/builders.rs index 920585d45238..45565be6f16f 100644 --- a/sdk/codecatalyst/src/operation/list_source_repositories/builders.rs +++ b/sdk/codecatalyst/src/operation/list_source_repositories/builders.rs @@ -19,9 +19,9 @@ impl ListSourceRepositoriesFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl ListSourceRepositoriesFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_source_repositories::ListSourceRepositories, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::list_source_repositories::ListSourceRepositoriesError, + >, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::list_source_repositories::paginator::ListSourceRepositoriesPaginator::send) which returns a `Stream`. diff --git a/sdk/codecatalyst/src/operation/list_source_repository_branches/builders.rs b/sdk/codecatalyst/src/operation/list_source_repository_branches/builders.rs index d7ffe3f2c46f..e658a63de761 100644 --- a/sdk/codecatalyst/src/operation/list_source_repository_branches/builders.rs +++ b/sdk/codecatalyst/src/operation/list_source_repository_branches/builders.rs @@ -19,9 +19,9 @@ impl ListSourceRepositoryBranchesFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl ListSourceRepositoryBranchesFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_source_repository_branches::ListSourceRepositoryBranches, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::list_source_repository_branches::ListSourceRepositoryBranchesError, + >, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::list_source_repository_branches::paginator::ListSourceRepositoryBranchesPaginator::send) which returns a `Stream`. diff --git a/sdk/codecatalyst/src/operation/list_spaces/builders.rs b/sdk/codecatalyst/src/operation/list_spaces/builders.rs index 3745acd265fb..66443e94d649 100644 --- a/sdk/codecatalyst/src/operation/list_spaces/builders.rs +++ b/sdk/codecatalyst/src/operation/list_spaces/builders.rs @@ -19,9 +19,9 @@ impl ListSpacesFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl ListSpacesFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_spaces::ListSpaces, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::list_spaces::paginator::ListSpacesPaginator::send) which returns a `Stream`. diff --git a/sdk/codecatalyst/src/operation/start_dev_environment/builders.rs b/sdk/codecatalyst/src/operation/start_dev_environment/builders.rs index 45b70481b888..a83e963bbc92 100644 --- a/sdk/codecatalyst/src/operation/start_dev_environment/builders.rs +++ b/sdk/codecatalyst/src/operation/start_dev_environment/builders.rs @@ -19,9 +19,9 @@ impl StartDevEnvironmentFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl StartDevEnvironmentFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::start_dev_environment::StartDevEnvironment, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::start_dev_environment::StartDevEnvironmentError, + >, + > { + self.customize_middleware().await + } ///

                        The name of the space.

                        pub fn space_name(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.space_name(input.into()); diff --git a/sdk/codecatalyst/src/operation/start_dev_environment_session/builders.rs b/sdk/codecatalyst/src/operation/start_dev_environment_session/builders.rs index 4434ea972b47..e91e402c8fb1 100644 --- a/sdk/codecatalyst/src/operation/start_dev_environment_session/builders.rs +++ b/sdk/codecatalyst/src/operation/start_dev_environment_session/builders.rs @@ -19,9 +19,9 @@ impl StartDevEnvironmentSessionFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl StartDevEnvironmentSessionFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::start_dev_environment_session::StartDevEnvironmentSession, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::start_dev_environment_session::StartDevEnvironmentSessionError, + >, + > { + self.customize_middleware().await + } ///

                        The name of the space.

                        pub fn space_name(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.space_name(input.into()); diff --git a/sdk/codecatalyst/src/operation/stop_dev_environment/builders.rs b/sdk/codecatalyst/src/operation/stop_dev_environment/builders.rs index e6d7801a7fc8..bded0bd85f85 100644 --- a/sdk/codecatalyst/src/operation/stop_dev_environment/builders.rs +++ b/sdk/codecatalyst/src/operation/stop_dev_environment/builders.rs @@ -19,9 +19,9 @@ impl StopDevEnvironmentFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl StopDevEnvironmentFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::stop_dev_environment::StopDevEnvironment, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::stop_dev_environment::StopDevEnvironmentError, + >, + > { + self.customize_middleware().await + } ///

                        The name of the space.

                        pub fn space_name(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.space_name(input.into()); diff --git a/sdk/codecatalyst/src/operation/stop_dev_environment_session/builders.rs b/sdk/codecatalyst/src/operation/stop_dev_environment_session/builders.rs index 8785b27481ad..9a06a2fe5ce3 100644 --- a/sdk/codecatalyst/src/operation/stop_dev_environment_session/builders.rs +++ b/sdk/codecatalyst/src/operation/stop_dev_environment_session/builders.rs @@ -19,9 +19,9 @@ impl StopDevEnvironmentSessionFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl StopDevEnvironmentSessionFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::stop_dev_environment_session::StopDevEnvironmentSession, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::stop_dev_environment_session::StopDevEnvironmentSessionError, + >, + > { + self.customize_middleware().await + } ///

                        The name of the space.

                        pub fn space_name(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.space_name(input.into()); diff --git a/sdk/codecatalyst/src/operation/update_dev_environment/builders.rs b/sdk/codecatalyst/src/operation/update_dev_environment/builders.rs index eebcf6dec3d2..715548e8e02c 100644 --- a/sdk/codecatalyst/src/operation/update_dev_environment/builders.rs +++ b/sdk/codecatalyst/src/operation/update_dev_environment/builders.rs @@ -19,9 +19,9 @@ impl UpdateDevEnvironmentFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl UpdateDevEnvironmentFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::update_dev_environment::UpdateDevEnvironment, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::update_dev_environment::UpdateDevEnvironmentError, + >, + > { + self.customize_middleware().await + } ///

                        The name of the space.

                        pub fn space_name(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.space_name(input.into()); diff --git a/sdk/codecatalyst/src/operation/verify_session/builders.rs b/sdk/codecatalyst/src/operation/verify_session/builders.rs index f2a6d3b9f7cb..68aaf72c8a90 100644 --- a/sdk/codecatalyst/src/operation/verify_session/builders.rs +++ b/sdk/codecatalyst/src/operation/verify_session/builders.rs @@ -19,9 +19,9 @@ impl VerifySessionFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,4 +77,18 @@ impl VerifySessionFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::verify_session::VerifySession, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } } diff --git a/sdk/codecommit/src/operation/associate_approval_rule_template_with_repository/builders.rs b/sdk/codecommit/src/operation/associate_approval_rule_template_with_repository/builders.rs index dce709d49ca1..d58df822db20 100644 --- a/sdk/codecommit/src/operation/associate_approval_rule_template_with_repository/builders.rs +++ b/sdk/codecommit/src/operation/associate_approval_rule_template_with_repository/builders.rs @@ -19,9 +19,9 @@ impl AssociateApprovalRuleTemplateWithRepositoryFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize(self) -> ::std::result::Result< + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware(self) -> ::std::result::Result< crate::client::customize::CustomizableOperation, ::aws_smithy_http::result::SdkError >{ @@ -64,6 +64,15 @@ impl AssociateApprovalRuleTemplateWithRepositoryFluentBuilder { { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize(self) -> ::std::result::Result< + crate::client::customize::CustomizableOperation, + ::aws_smithy_http::result::SdkError + >{ + self.customize_middleware().await + } ///

                        The name for the approval rule template.

                        pub fn approval_rule_template_name( mut self, diff --git a/sdk/codecommit/src/operation/batch_associate_approval_rule_template_with_repositories/builders.rs b/sdk/codecommit/src/operation/batch_associate_approval_rule_template_with_repositories/builders.rs index 30b840dfffeb..6ace698ee914 100644 --- a/sdk/codecommit/src/operation/batch_associate_approval_rule_template_with_repositories/builders.rs +++ b/sdk/codecommit/src/operation/batch_associate_approval_rule_template_with_repositories/builders.rs @@ -19,9 +19,9 @@ impl BatchAssociateApprovalRuleTemplateWithRepositoriesFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize(self) -> ::std::result::Result< + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware(self) -> ::std::result::Result< crate::client::customize::CustomizableOperation, ::aws_smithy_http::result::SdkError >{ @@ -64,6 +64,15 @@ impl BatchAssociateApprovalRuleTemplateWithRepositoriesFluentBuilder { { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize(self) -> ::std::result::Result< + crate::client::customize::CustomizableOperation, + ::aws_smithy_http::result::SdkError + >{ + self.customize_middleware().await + } ///

                        The name of the template you want to associate with one or more repositories.

                        pub fn approval_rule_template_name( mut self, diff --git a/sdk/codecommit/src/operation/batch_describe_merge_conflicts/builders.rs b/sdk/codecommit/src/operation/batch_describe_merge_conflicts/builders.rs index cb707059ffe6..d5bf7b995122 100644 --- a/sdk/codecommit/src/operation/batch_describe_merge_conflicts/builders.rs +++ b/sdk/codecommit/src/operation/batch_describe_merge_conflicts/builders.rs @@ -19,9 +19,9 @@ impl BatchDescribeMergeConflictsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl BatchDescribeMergeConflictsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::batch_describe_merge_conflicts::BatchDescribeMergeConflicts, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::batch_describe_merge_conflicts::BatchDescribeMergeConflictsError, + >, + > { + self.customize_middleware().await + } ///

                        The name of the repository that contains the merge conflicts you want to review.

                        pub fn repository_name( mut self, diff --git a/sdk/codecommit/src/operation/batch_disassociate_approval_rule_template_from_repositories/builders.rs b/sdk/codecommit/src/operation/batch_disassociate_approval_rule_template_from_repositories/builders.rs index 4e7ddb095ea9..c1efda099a26 100644 --- a/sdk/codecommit/src/operation/batch_disassociate_approval_rule_template_from_repositories/builders.rs +++ b/sdk/codecommit/src/operation/batch_disassociate_approval_rule_template_from_repositories/builders.rs @@ -19,9 +19,9 @@ impl BatchDisassociateApprovalRuleTemplateFromRepositoriesFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize(self) -> ::std::result::Result< + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware(self) -> ::std::result::Result< crate::client::customize::CustomizableOperation, ::aws_smithy_http::result::SdkError >{ @@ -64,6 +64,15 @@ impl BatchDisassociateApprovalRuleTemplateFromRepositoriesFluentBuilder { { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize(self) -> ::std::result::Result< + crate::client::customize::CustomizableOperation, + ::aws_smithy_http::result::SdkError + >{ + self.customize_middleware().await + } ///

                        The name of the template that you want to disassociate from one or more repositories.

                        pub fn approval_rule_template_name( mut self, diff --git a/sdk/codecommit/src/operation/batch_get_commits/builders.rs b/sdk/codecommit/src/operation/batch_get_commits/builders.rs index 89e0df128098..80feaffe5688 100644 --- a/sdk/codecommit/src/operation/batch_get_commits/builders.rs +++ b/sdk/codecommit/src/operation/batch_get_commits/builders.rs @@ -19,9 +19,9 @@ impl BatchGetCommitsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl BatchGetCommitsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::batch_get_commits::BatchGetCommits, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::batch_get_commits::BatchGetCommitsError, + >, + > { + self.customize_middleware().await + } /// Appends an item to `commitIds`. /// /// To override the contents of this collection use [`set_commit_ids`](Self::set_commit_ids). diff --git a/sdk/codecommit/src/operation/batch_get_repositories/builders.rs b/sdk/codecommit/src/operation/batch_get_repositories/builders.rs index 2abdec3c4f4b..b78cb89243fd 100644 --- a/sdk/codecommit/src/operation/batch_get_repositories/builders.rs +++ b/sdk/codecommit/src/operation/batch_get_repositories/builders.rs @@ -21,9 +21,9 @@ impl BatchGetRepositoriesFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -85,6 +85,22 @@ impl BatchGetRepositoriesFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::batch_get_repositories::BatchGetRepositories, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::batch_get_repositories::BatchGetRepositoriesError, + >, + > { + self.customize_middleware().await + } /// Appends an item to `repositoryNames`. /// /// To override the contents of this collection use [`set_repository_names`](Self::set_repository_names). diff --git a/sdk/codecommit/src/operation/create_approval_rule_template/builders.rs b/sdk/codecommit/src/operation/create_approval_rule_template/builders.rs index 23c1b09dd99c..85b24e04da48 100644 --- a/sdk/codecommit/src/operation/create_approval_rule_template/builders.rs +++ b/sdk/codecommit/src/operation/create_approval_rule_template/builders.rs @@ -19,9 +19,9 @@ impl CreateApprovalRuleTemplateFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl CreateApprovalRuleTemplateFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::create_approval_rule_template::CreateApprovalRuleTemplate, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::create_approval_rule_template::CreateApprovalRuleTemplateError, + >, + > { + self.customize_middleware().await + } ///

                        The name of the approval rule template. Provide descriptive names, because this name is applied to the approval rules created automatically in associated repositories.

                        pub fn approval_rule_template_name( mut self, diff --git a/sdk/codecommit/src/operation/create_branch/builders.rs b/sdk/codecommit/src/operation/create_branch/builders.rs index d7a3ecadb84c..e92eb7b765c2 100644 --- a/sdk/codecommit/src/operation/create_branch/builders.rs +++ b/sdk/codecommit/src/operation/create_branch/builders.rs @@ -21,9 +21,9 @@ impl CreateBranchFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -79,6 +79,20 @@ impl CreateBranchFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::create_branch::CreateBranch, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                        The name of the repository in which you want to create the new branch.

                        pub fn repository_name( mut self, diff --git a/sdk/codecommit/src/operation/create_commit/builders.rs b/sdk/codecommit/src/operation/create_commit/builders.rs index 32f45c02db0f..0b092d738ddc 100644 --- a/sdk/codecommit/src/operation/create_commit/builders.rs +++ b/sdk/codecommit/src/operation/create_commit/builders.rs @@ -19,9 +19,9 @@ impl CreateCommitFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl CreateCommitFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::create_commit::CreateCommit, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                        The name of the repository where you create the commit.

                        pub fn repository_name( mut self, diff --git a/sdk/codecommit/src/operation/create_pull_request/builders.rs b/sdk/codecommit/src/operation/create_pull_request/builders.rs index 557700c64108..eb7d4a09bd76 100644 --- a/sdk/codecommit/src/operation/create_pull_request/builders.rs +++ b/sdk/codecommit/src/operation/create_pull_request/builders.rs @@ -19,9 +19,9 @@ impl CreatePullRequestFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl CreatePullRequestFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::create_pull_request::CreatePullRequest, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::create_pull_request::CreatePullRequestError, + >, + > { + self.customize_middleware().await + } ///

                        The title of the pull request. This title is used to identify the pull request to other users in the repository.

                        pub fn title(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.title(input.into()); diff --git a/sdk/codecommit/src/operation/create_pull_request_approval_rule/builders.rs b/sdk/codecommit/src/operation/create_pull_request_approval_rule/builders.rs index cbc94d9ea1d4..2ec7099e52fd 100644 --- a/sdk/codecommit/src/operation/create_pull_request_approval_rule/builders.rs +++ b/sdk/codecommit/src/operation/create_pull_request_approval_rule/builders.rs @@ -19,9 +19,9 @@ impl CreatePullRequestApprovalRuleFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl CreatePullRequestApprovalRuleFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::create_pull_request_approval_rule::CreatePullRequestApprovalRule, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::create_pull_request_approval_rule::CreatePullRequestApprovalRuleError, + >, + > { + self.customize_middleware().await + } ///

                        The system-generated ID of the pull request for which you want to create the approval rule.

                        pub fn pull_request_id( mut self, diff --git a/sdk/codecommit/src/operation/create_repository/builders.rs b/sdk/codecommit/src/operation/create_repository/builders.rs index 89088288f096..fcbf59fec2c0 100644 --- a/sdk/codecommit/src/operation/create_repository/builders.rs +++ b/sdk/codecommit/src/operation/create_repository/builders.rs @@ -19,9 +19,9 @@ impl CreateRepositoryFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl CreateRepositoryFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::create_repository::CreateRepository, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::create_repository::CreateRepositoryError, + >, + > { + self.customize_middleware().await + } ///

                        The name of the new repository to be created.

                        ///

                        The repository name must be unique across the calling AWS account. Repository names are limited to 100 alphanumeric, dash, and underscore characters, and cannot include certain characters. For more information about the limits on repository names, see Limits in the AWS CodeCommit User Guide. The suffix .git is prohibited.

                        ///
                        diff --git a/sdk/codecommit/src/operation/create_unreferenced_merge_commit/builders.rs b/sdk/codecommit/src/operation/create_unreferenced_merge_commit/builders.rs index d9d0c8032d8b..9fed9aff0185 100644 --- a/sdk/codecommit/src/operation/create_unreferenced_merge_commit/builders.rs +++ b/sdk/codecommit/src/operation/create_unreferenced_merge_commit/builders.rs @@ -21,9 +21,9 @@ impl CreateUnreferencedMergeCommitFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -85,6 +85,22 @@ impl CreateUnreferencedMergeCommitFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::create_unreferenced_merge_commit::CreateUnreferencedMergeCommit, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::create_unreferenced_merge_commit::CreateUnreferencedMergeCommitError, + >, + > { + self.customize_middleware().await + } ///

                        The name of the repository where you want to create the unreferenced merge commit.

                        pub fn repository_name( mut self, diff --git a/sdk/codecommit/src/operation/delete_approval_rule_template/builders.rs b/sdk/codecommit/src/operation/delete_approval_rule_template/builders.rs index b0be9dfee47e..2212221f4d03 100644 --- a/sdk/codecommit/src/operation/delete_approval_rule_template/builders.rs +++ b/sdk/codecommit/src/operation/delete_approval_rule_template/builders.rs @@ -19,9 +19,9 @@ impl DeleteApprovalRuleTemplateFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl DeleteApprovalRuleTemplateFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::delete_approval_rule_template::DeleteApprovalRuleTemplate, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::delete_approval_rule_template::DeleteApprovalRuleTemplateError, + >, + > { + self.customize_middleware().await + } ///

                        The name of the approval rule template to delete.

                        pub fn approval_rule_template_name( mut self, diff --git a/sdk/codecommit/src/operation/delete_branch/builders.rs b/sdk/codecommit/src/operation/delete_branch/builders.rs index 6cb961ddfefe..c174cf4da12a 100644 --- a/sdk/codecommit/src/operation/delete_branch/builders.rs +++ b/sdk/codecommit/src/operation/delete_branch/builders.rs @@ -19,9 +19,9 @@ impl DeleteBranchFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl DeleteBranchFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::delete_branch::DeleteBranch, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                        The name of the repository that contains the branch to be deleted.

                        pub fn repository_name( mut self, diff --git a/sdk/codecommit/src/operation/delete_comment_content/builders.rs b/sdk/codecommit/src/operation/delete_comment_content/builders.rs index af5768f666be..84f07fe5adde 100644 --- a/sdk/codecommit/src/operation/delete_comment_content/builders.rs +++ b/sdk/codecommit/src/operation/delete_comment_content/builders.rs @@ -19,9 +19,9 @@ impl DeleteCommentContentFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl DeleteCommentContentFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::delete_comment_content::DeleteCommentContent, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::delete_comment_content::DeleteCommentContentError, + >, + > { + self.customize_middleware().await + } ///

                        The unique, system-generated ID of the comment. To get this ID, use GetCommentsForComparedCommit or GetCommentsForPullRequest.

                        pub fn comment_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.comment_id(input.into()); diff --git a/sdk/codecommit/src/operation/delete_file/builders.rs b/sdk/codecommit/src/operation/delete_file/builders.rs index 003fc9351863..92efe43ac5c6 100644 --- a/sdk/codecommit/src/operation/delete_file/builders.rs +++ b/sdk/codecommit/src/operation/delete_file/builders.rs @@ -19,9 +19,9 @@ impl DeleteFileFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl DeleteFileFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::delete_file::DeleteFile, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                        The name of the repository that contains the file to delete.

                        pub fn repository_name( mut self, diff --git a/sdk/codecommit/src/operation/delete_pull_request_approval_rule/builders.rs b/sdk/codecommit/src/operation/delete_pull_request_approval_rule/builders.rs index 03102511a32c..79029f210def 100644 --- a/sdk/codecommit/src/operation/delete_pull_request_approval_rule/builders.rs +++ b/sdk/codecommit/src/operation/delete_pull_request_approval_rule/builders.rs @@ -19,9 +19,9 @@ impl DeletePullRequestApprovalRuleFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl DeletePullRequestApprovalRuleFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::delete_pull_request_approval_rule::DeletePullRequestApprovalRule, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::delete_pull_request_approval_rule::DeletePullRequestApprovalRuleError, + >, + > { + self.customize_middleware().await + } ///

                        The system-generated ID of the pull request that contains the approval rule you want to delete.

                        pub fn pull_request_id( mut self, diff --git a/sdk/codecommit/src/operation/delete_repository/builders.rs b/sdk/codecommit/src/operation/delete_repository/builders.rs index 4e6813dee22b..4498bffae3da 100644 --- a/sdk/codecommit/src/operation/delete_repository/builders.rs +++ b/sdk/codecommit/src/operation/delete_repository/builders.rs @@ -21,9 +21,9 @@ impl DeleteRepositoryFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -85,6 +85,22 @@ impl DeleteRepositoryFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::delete_repository::DeleteRepository, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::delete_repository::DeleteRepositoryError, + >, + > { + self.customize_middleware().await + } ///

                        The name of the repository to delete.

                        pub fn repository_name( mut self, diff --git a/sdk/codecommit/src/operation/describe_merge_conflicts/builders.rs b/sdk/codecommit/src/operation/describe_merge_conflicts/builders.rs index 046ee4260bba..20a564885121 100644 --- a/sdk/codecommit/src/operation/describe_merge_conflicts/builders.rs +++ b/sdk/codecommit/src/operation/describe_merge_conflicts/builders.rs @@ -19,9 +19,9 @@ impl DescribeMergeConflictsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl DescribeMergeConflictsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::describe_merge_conflicts::DescribeMergeConflicts, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::describe_merge_conflicts::DescribeMergeConflictsError, + >, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::describe_merge_conflicts::paginator::DescribeMergeConflictsPaginator::send) which returns a `Stream`. diff --git a/sdk/codecommit/src/operation/describe_pull_request_events/builders.rs b/sdk/codecommit/src/operation/describe_pull_request_events/builders.rs index 24b388a85ee8..6c4f81fa4bbb 100644 --- a/sdk/codecommit/src/operation/describe_pull_request_events/builders.rs +++ b/sdk/codecommit/src/operation/describe_pull_request_events/builders.rs @@ -19,9 +19,9 @@ impl DescribePullRequestEventsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl DescribePullRequestEventsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::describe_pull_request_events::DescribePullRequestEvents, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::describe_pull_request_events::DescribePullRequestEventsError, + >, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::describe_pull_request_events::paginator::DescribePullRequestEventsPaginator::send) which returns a `Stream`. diff --git a/sdk/codecommit/src/operation/disassociate_approval_rule_template_from_repository/builders.rs b/sdk/codecommit/src/operation/disassociate_approval_rule_template_from_repository/builders.rs index 6cea0dfbdaa7..971762edf606 100644 --- a/sdk/codecommit/src/operation/disassociate_approval_rule_template_from_repository/builders.rs +++ b/sdk/codecommit/src/operation/disassociate_approval_rule_template_from_repository/builders.rs @@ -19,9 +19,9 @@ impl DisassociateApprovalRuleTemplateFromRepositoryFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize(self) -> ::std::result::Result< + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware(self) -> ::std::result::Result< crate::client::customize::CustomizableOperation, ::aws_smithy_http::result::SdkError >{ @@ -64,6 +64,15 @@ impl DisassociateApprovalRuleTemplateFromRepositoryFluentBuilder { { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize(self) -> ::std::result::Result< + crate::client::customize::CustomizableOperation, + ::aws_smithy_http::result::SdkError + >{ + self.customize_middleware().await + } ///

                        The name of the approval rule template to disassociate from a specified repository.

                        pub fn approval_rule_template_name( mut self, diff --git a/sdk/codecommit/src/operation/evaluate_pull_request_approval_rules/builders.rs b/sdk/codecommit/src/operation/evaluate_pull_request_approval_rules/builders.rs index 81832ef87a6d..348a154efa24 100644 --- a/sdk/codecommit/src/operation/evaluate_pull_request_approval_rules/builders.rs +++ b/sdk/codecommit/src/operation/evaluate_pull_request_approval_rules/builders.rs @@ -19,9 +19,9 @@ impl EvaluatePullRequestApprovalRulesFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize(self) -> ::std::result::Result< + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware(self) -> ::std::result::Result< crate::client::customize::CustomizableOperation, ::aws_smithy_http::result::SdkError >{ @@ -64,6 +64,15 @@ impl EvaluatePullRequestApprovalRulesFluentBuilder { { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize(self) -> ::std::result::Result< + crate::client::customize::CustomizableOperation, + ::aws_smithy_http::result::SdkError + >{ + self.customize_middleware().await + } ///

                        The system-generated ID of the pull request you want to evaluate.

                        pub fn pull_request_id( mut self, diff --git a/sdk/codecommit/src/operation/get_approval_rule_template/builders.rs b/sdk/codecommit/src/operation/get_approval_rule_template/builders.rs index b86edcce5123..1383c541c0e3 100644 --- a/sdk/codecommit/src/operation/get_approval_rule_template/builders.rs +++ b/sdk/codecommit/src/operation/get_approval_rule_template/builders.rs @@ -20,9 +20,9 @@ impl GetApprovalRuleTemplateFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -84,6 +84,22 @@ impl GetApprovalRuleTemplateFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::get_approval_rule_template::GetApprovalRuleTemplate, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::get_approval_rule_template::GetApprovalRuleTemplateError, + >, + > { + self.customize_middleware().await + } ///

                        The name of the approval rule template for which you want to get information.

                        pub fn approval_rule_template_name( mut self, diff --git a/sdk/codecommit/src/operation/get_blob/builders.rs b/sdk/codecommit/src/operation/get_blob/builders.rs index e68b5796fa07..3bc630c327c5 100644 --- a/sdk/codecommit/src/operation/get_blob/builders.rs +++ b/sdk/codecommit/src/operation/get_blob/builders.rs @@ -19,9 +19,9 @@ impl GetBlobFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl GetBlobFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::get_blob::GetBlob, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                        The name of the repository that contains the blob.

                        pub fn repository_name( mut self, diff --git a/sdk/codecommit/src/operation/get_branch/builders.rs b/sdk/codecommit/src/operation/get_branch/builders.rs index e6065cc5f433..9a9dfec2de0c 100644 --- a/sdk/codecommit/src/operation/get_branch/builders.rs +++ b/sdk/codecommit/src/operation/get_branch/builders.rs @@ -19,9 +19,9 @@ impl GetBranchFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl GetBranchFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::get_branch::GetBranch, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                        The name of the repository that contains the branch for which you want to retrieve information.

                        pub fn repository_name( mut self, diff --git a/sdk/codecommit/src/operation/get_comment/builders.rs b/sdk/codecommit/src/operation/get_comment/builders.rs index 7db6764ec2b4..e300450a7d80 100644 --- a/sdk/codecommit/src/operation/get_comment/builders.rs +++ b/sdk/codecommit/src/operation/get_comment/builders.rs @@ -21,9 +21,9 @@ impl GetCommentFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -79,6 +79,20 @@ impl GetCommentFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::get_comment::GetComment, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                        The unique, system-generated ID of the comment. To get this ID, use GetCommentsForComparedCommit or GetCommentsForPullRequest.

                        pub fn comment_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.comment_id(input.into()); diff --git a/sdk/codecommit/src/operation/get_comment_reactions/builders.rs b/sdk/codecommit/src/operation/get_comment_reactions/builders.rs index d1f9cc5a5b5e..2c506541dcdc 100644 --- a/sdk/codecommit/src/operation/get_comment_reactions/builders.rs +++ b/sdk/codecommit/src/operation/get_comment_reactions/builders.rs @@ -19,9 +19,9 @@ impl GetCommentReactionsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl GetCommentReactionsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::get_comment_reactions::GetCommentReactions, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::get_comment_reactions::GetCommentReactionsError, + >, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::get_comment_reactions::paginator::GetCommentReactionsPaginator::send) which returns a `Stream`. diff --git a/sdk/codecommit/src/operation/get_comments_for_compared_commit/builders.rs b/sdk/codecommit/src/operation/get_comments_for_compared_commit/builders.rs index 58204abb47cc..cbbdb95894a0 100644 --- a/sdk/codecommit/src/operation/get_comments_for_compared_commit/builders.rs +++ b/sdk/codecommit/src/operation/get_comments_for_compared_commit/builders.rs @@ -21,9 +21,9 @@ impl GetCommentsForComparedCommitFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -85,6 +85,22 @@ impl GetCommentsForComparedCommitFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::get_comments_for_compared_commit::GetCommentsForComparedCommit, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::get_comments_for_compared_commit::GetCommentsForComparedCommitError, + >, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::get_comments_for_compared_commit::paginator::GetCommentsForComparedCommitPaginator::send) which returns a `Stream`. diff --git a/sdk/codecommit/src/operation/get_comments_for_pull_request/builders.rs b/sdk/codecommit/src/operation/get_comments_for_pull_request/builders.rs index b5766e0abda3..88ada520bd40 100644 --- a/sdk/codecommit/src/operation/get_comments_for_pull_request/builders.rs +++ b/sdk/codecommit/src/operation/get_comments_for_pull_request/builders.rs @@ -21,9 +21,9 @@ impl GetCommentsForPullRequestFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -85,6 +85,22 @@ impl GetCommentsForPullRequestFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::get_comments_for_pull_request::GetCommentsForPullRequest, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::get_comments_for_pull_request::GetCommentsForPullRequestError, + >, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::get_comments_for_pull_request::paginator::GetCommentsForPullRequestPaginator::send) which returns a `Stream`. diff --git a/sdk/codecommit/src/operation/get_commit/builders.rs b/sdk/codecommit/src/operation/get_commit/builders.rs index ca913acdbd24..ba723f1edde7 100644 --- a/sdk/codecommit/src/operation/get_commit/builders.rs +++ b/sdk/codecommit/src/operation/get_commit/builders.rs @@ -19,9 +19,9 @@ impl GetCommitFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl GetCommitFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::get_commit::GetCommit, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                        The name of the repository to which the commit was made.

                        pub fn repository_name( mut self, diff --git a/sdk/codecommit/src/operation/get_differences/builders.rs b/sdk/codecommit/src/operation/get_differences/builders.rs index b65702204258..e2fd93eff2a8 100644 --- a/sdk/codecommit/src/operation/get_differences/builders.rs +++ b/sdk/codecommit/src/operation/get_differences/builders.rs @@ -19,9 +19,9 @@ impl GetDifferencesFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl GetDifferencesFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::get_differences::GetDifferences, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::get_differences::paginator::GetDifferencesPaginator::send) which returns a `Stream`. diff --git a/sdk/codecommit/src/operation/get_file/builders.rs b/sdk/codecommit/src/operation/get_file/builders.rs index e06a127d4798..97ced5ba4d8b 100644 --- a/sdk/codecommit/src/operation/get_file/builders.rs +++ b/sdk/codecommit/src/operation/get_file/builders.rs @@ -19,9 +19,9 @@ impl GetFileFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl GetFileFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::get_file::GetFile, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                        The name of the repository that contains the file.

                        pub fn repository_name( mut self, diff --git a/sdk/codecommit/src/operation/get_folder/builders.rs b/sdk/codecommit/src/operation/get_folder/builders.rs index 92940f323788..fb9b8c445616 100644 --- a/sdk/codecommit/src/operation/get_folder/builders.rs +++ b/sdk/codecommit/src/operation/get_folder/builders.rs @@ -19,9 +19,9 @@ impl GetFolderFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl GetFolderFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::get_folder::GetFolder, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                        The name of the repository.

                        pub fn repository_name( mut self, diff --git a/sdk/codecommit/src/operation/get_merge_commit/builders.rs b/sdk/codecommit/src/operation/get_merge_commit/builders.rs index 74935cf02534..fab06b5c2f33 100644 --- a/sdk/codecommit/src/operation/get_merge_commit/builders.rs +++ b/sdk/codecommit/src/operation/get_merge_commit/builders.rs @@ -19,9 +19,9 @@ impl GetMergeCommitFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl GetMergeCommitFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::get_merge_commit::GetMergeCommit, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::get_merge_commit::GetMergeCommitError, + >, + > { + self.customize_middleware().await + } ///

                        The name of the repository that contains the merge commit about which you want to get information.

                        pub fn repository_name( mut self, diff --git a/sdk/codecommit/src/operation/get_merge_conflicts/builders.rs b/sdk/codecommit/src/operation/get_merge_conflicts/builders.rs index cae0d3f873d8..d3bc9b43f207 100644 --- a/sdk/codecommit/src/operation/get_merge_conflicts/builders.rs +++ b/sdk/codecommit/src/operation/get_merge_conflicts/builders.rs @@ -19,9 +19,9 @@ impl GetMergeConflictsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl GetMergeConflictsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::get_merge_conflicts::GetMergeConflicts, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::get_merge_conflicts::GetMergeConflictsError, + >, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::get_merge_conflicts::paginator::GetMergeConflictsPaginator::send) which returns a `Stream`. diff --git a/sdk/codecommit/src/operation/get_merge_options/builders.rs b/sdk/codecommit/src/operation/get_merge_options/builders.rs index d1d2c3695c6f..b4544a3b816c 100644 --- a/sdk/codecommit/src/operation/get_merge_options/builders.rs +++ b/sdk/codecommit/src/operation/get_merge_options/builders.rs @@ -19,9 +19,9 @@ impl GetMergeOptionsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl GetMergeOptionsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::get_merge_options::GetMergeOptions, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::get_merge_options::GetMergeOptionsError, + >, + > { + self.customize_middleware().await + } ///

                        The name of the repository that contains the commits about which you want to get merge options.

                        pub fn repository_name( mut self, diff --git a/sdk/codecommit/src/operation/get_pull_request/builders.rs b/sdk/codecommit/src/operation/get_pull_request/builders.rs index 7fe062490f2a..cefefff2dca5 100644 --- a/sdk/codecommit/src/operation/get_pull_request/builders.rs +++ b/sdk/codecommit/src/operation/get_pull_request/builders.rs @@ -19,9 +19,9 @@ impl GetPullRequestFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl GetPullRequestFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::get_pull_request::GetPullRequest, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::get_pull_request::GetPullRequestError, + >, + > { + self.customize_middleware().await + } ///

                        The system-generated ID of the pull request. To get this ID, use ListPullRequests.

                        pub fn pull_request_id( mut self, diff --git a/sdk/codecommit/src/operation/get_pull_request_approval_states/builders.rs b/sdk/codecommit/src/operation/get_pull_request_approval_states/builders.rs index ce41ef4da9d6..ddf77828da40 100644 --- a/sdk/codecommit/src/operation/get_pull_request_approval_states/builders.rs +++ b/sdk/codecommit/src/operation/get_pull_request_approval_states/builders.rs @@ -19,9 +19,9 @@ impl GetPullRequestApprovalStatesFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl GetPullRequestApprovalStatesFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::get_pull_request_approval_states::GetPullRequestApprovalStates, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::get_pull_request_approval_states::GetPullRequestApprovalStatesError, + >, + > { + self.customize_middleware().await + } ///

                        The system-generated ID for the pull request.

                        pub fn pull_request_id( mut self, diff --git a/sdk/codecommit/src/operation/get_pull_request_override_state/builders.rs b/sdk/codecommit/src/operation/get_pull_request_override_state/builders.rs index 4e5aa6280941..f8bfd868b56b 100644 --- a/sdk/codecommit/src/operation/get_pull_request_override_state/builders.rs +++ b/sdk/codecommit/src/operation/get_pull_request_override_state/builders.rs @@ -19,9 +19,9 @@ impl GetPullRequestOverrideStateFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl GetPullRequestOverrideStateFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::get_pull_request_override_state::GetPullRequestOverrideState, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::get_pull_request_override_state::GetPullRequestOverrideStateError, + >, + > { + self.customize_middleware().await + } ///

                        The ID of the pull request for which you want to get information about whether approval rules have been set aside (overridden).

                        pub fn pull_request_id( mut self, diff --git a/sdk/codecommit/src/operation/get_repository/builders.rs b/sdk/codecommit/src/operation/get_repository/builders.rs index ada9e3888b3e..9ebaa763328d 100644 --- a/sdk/codecommit/src/operation/get_repository/builders.rs +++ b/sdk/codecommit/src/operation/get_repository/builders.rs @@ -21,9 +21,9 @@ impl GetRepositoryFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -79,6 +79,20 @@ impl GetRepositoryFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::get_repository::GetRepository, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                        The name of the repository to get information about.

                        pub fn repository_name( mut self, diff --git a/sdk/codecommit/src/operation/get_repository_triggers/builders.rs b/sdk/codecommit/src/operation/get_repository_triggers/builders.rs index 8f6466d1128d..ad7b56597f75 100644 --- a/sdk/codecommit/src/operation/get_repository_triggers/builders.rs +++ b/sdk/codecommit/src/operation/get_repository_triggers/builders.rs @@ -19,9 +19,9 @@ impl GetRepositoryTriggersFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl GetRepositoryTriggersFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::get_repository_triggers::GetRepositoryTriggers, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::get_repository_triggers::GetRepositoryTriggersError, + >, + > { + self.customize_middleware().await + } ///

                        The name of the repository for which the trigger is configured.

                        pub fn repository_name( mut self, diff --git a/sdk/codecommit/src/operation/list_approval_rule_templates/builders.rs b/sdk/codecommit/src/operation/list_approval_rule_templates/builders.rs index fe0196df2510..d987b28fc2c4 100644 --- a/sdk/codecommit/src/operation/list_approval_rule_templates/builders.rs +++ b/sdk/codecommit/src/operation/list_approval_rule_templates/builders.rs @@ -19,9 +19,9 @@ impl ListApprovalRuleTemplatesFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl ListApprovalRuleTemplatesFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_approval_rule_templates::ListApprovalRuleTemplates, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::list_approval_rule_templates::ListApprovalRuleTemplatesError, + >, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::list_approval_rule_templates::paginator::ListApprovalRuleTemplatesPaginator::send) which returns a `Stream`. diff --git a/sdk/codecommit/src/operation/list_associated_approval_rule_templates_for_repository/builders.rs b/sdk/codecommit/src/operation/list_associated_approval_rule_templates_for_repository/builders.rs index 05c496789614..ee77e6b6e21e 100644 --- a/sdk/codecommit/src/operation/list_associated_approval_rule_templates_for_repository/builders.rs +++ b/sdk/codecommit/src/operation/list_associated_approval_rule_templates_for_repository/builders.rs @@ -19,9 +19,9 @@ impl ListAssociatedApprovalRuleTemplatesForRepositoryFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize(self) -> ::std::result::Result< + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware(self) -> ::std::result::Result< crate::client::customize::CustomizableOperation, ::aws_smithy_http::result::SdkError >{ @@ -64,6 +64,15 @@ impl ListAssociatedApprovalRuleTemplatesForRepositoryFluentBuilder { { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize(self) -> ::std::result::Result< + crate::client::customize::CustomizableOperation, + ::aws_smithy_http::result::SdkError + >{ + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::list_associated_approval_rule_templates_for_repository::paginator::ListAssociatedApprovalRuleTemplatesForRepositoryPaginator::send) which returns a `Stream`. diff --git a/sdk/codecommit/src/operation/list_branches/builders.rs b/sdk/codecommit/src/operation/list_branches/builders.rs index 82ca9fbfa18f..12ffa8c8d2a4 100644 --- a/sdk/codecommit/src/operation/list_branches/builders.rs +++ b/sdk/codecommit/src/operation/list_branches/builders.rs @@ -19,9 +19,9 @@ impl ListBranchesFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl ListBranchesFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_branches::ListBranches, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::list_branches::paginator::ListBranchesPaginator::send) which returns a `Stream`. diff --git a/sdk/codecommit/src/operation/list_pull_requests/builders.rs b/sdk/codecommit/src/operation/list_pull_requests/builders.rs index b195166ccf25..0da8accc72f6 100644 --- a/sdk/codecommit/src/operation/list_pull_requests/builders.rs +++ b/sdk/codecommit/src/operation/list_pull_requests/builders.rs @@ -19,9 +19,9 @@ impl ListPullRequestsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl ListPullRequestsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_pull_requests::ListPullRequests, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::list_pull_requests::ListPullRequestsError, + >, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::list_pull_requests::paginator::ListPullRequestsPaginator::send) which returns a `Stream`. diff --git a/sdk/codecommit/src/operation/list_repositories/builders.rs b/sdk/codecommit/src/operation/list_repositories/builders.rs index fbd202c53f11..66f81006c01e 100644 --- a/sdk/codecommit/src/operation/list_repositories/builders.rs +++ b/sdk/codecommit/src/operation/list_repositories/builders.rs @@ -19,9 +19,9 @@ impl ListRepositoriesFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl ListRepositoriesFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_repositories::ListRepositories, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::list_repositories::ListRepositoriesError, + >, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::list_repositories::paginator::ListRepositoriesPaginator::send) which returns a `Stream`. diff --git a/sdk/codecommit/src/operation/list_repositories_for_approval_rule_template/builders.rs b/sdk/codecommit/src/operation/list_repositories_for_approval_rule_template/builders.rs index c066b73fc6ed..b28d45ca31cd 100644 --- a/sdk/codecommit/src/operation/list_repositories_for_approval_rule_template/builders.rs +++ b/sdk/codecommit/src/operation/list_repositories_for_approval_rule_template/builders.rs @@ -19,9 +19,9 @@ impl ListRepositoriesForApprovalRuleTemplateFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize(self) -> ::std::result::Result< + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware(self) -> ::std::result::Result< crate::client::customize::CustomizableOperation, ::aws_smithy_http::result::SdkError >{ @@ -64,6 +64,15 @@ impl ListRepositoriesForApprovalRuleTemplateFluentBuilder { { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize(self) -> ::std::result::Result< + crate::client::customize::CustomizableOperation, + ::aws_smithy_http::result::SdkError + >{ + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::list_repositories_for_approval_rule_template::paginator::ListRepositoriesForApprovalRuleTemplatePaginator::send) which returns a `Stream`. diff --git a/sdk/codecommit/src/operation/list_tags_for_resource/builders.rs b/sdk/codecommit/src/operation/list_tags_for_resource/builders.rs index 1cafdc5fc144..bf584e799e9e 100644 --- a/sdk/codecommit/src/operation/list_tags_for_resource/builders.rs +++ b/sdk/codecommit/src/operation/list_tags_for_resource/builders.rs @@ -19,9 +19,9 @@ impl ListTagsForResourceFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl ListTagsForResourceFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_tags_for_resource::ListTagsForResource, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::list_tags_for_resource::ListTagsForResourceError, + >, + > { + self.customize_middleware().await + } ///

                        The Amazon Resource Name (ARN) of the resource for which you want to get information about tags, if any.

                        pub fn resource_arn(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.resource_arn(input.into()); diff --git a/sdk/codecommit/src/operation/merge_branches_by_fast_forward/builders.rs b/sdk/codecommit/src/operation/merge_branches_by_fast_forward/builders.rs index 3167b3fb323a..d8106dc3d67e 100644 --- a/sdk/codecommit/src/operation/merge_branches_by_fast_forward/builders.rs +++ b/sdk/codecommit/src/operation/merge_branches_by_fast_forward/builders.rs @@ -19,9 +19,9 @@ impl MergeBranchesByFastForwardFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl MergeBranchesByFastForwardFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::merge_branches_by_fast_forward::MergeBranchesByFastForward, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::merge_branches_by_fast_forward::MergeBranchesByFastForwardError, + >, + > { + self.customize_middleware().await + } ///

                        The name of the repository where you want to merge two branches.

                        pub fn repository_name( mut self, diff --git a/sdk/codecommit/src/operation/merge_branches_by_squash/builders.rs b/sdk/codecommit/src/operation/merge_branches_by_squash/builders.rs index 54f888b112da..6854170d5aab 100644 --- a/sdk/codecommit/src/operation/merge_branches_by_squash/builders.rs +++ b/sdk/codecommit/src/operation/merge_branches_by_squash/builders.rs @@ -19,9 +19,9 @@ impl MergeBranchesBySquashFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl MergeBranchesBySquashFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::merge_branches_by_squash::MergeBranchesBySquash, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::merge_branches_by_squash::MergeBranchesBySquashError, + >, + > { + self.customize_middleware().await + } ///

                        The name of the repository where you want to merge two branches.

                        pub fn repository_name( mut self, diff --git a/sdk/codecommit/src/operation/merge_branches_by_three_way/builders.rs b/sdk/codecommit/src/operation/merge_branches_by_three_way/builders.rs index 22a3e4b9a9ee..8e732743e25c 100644 --- a/sdk/codecommit/src/operation/merge_branches_by_three_way/builders.rs +++ b/sdk/codecommit/src/operation/merge_branches_by_three_way/builders.rs @@ -19,9 +19,9 @@ impl MergeBranchesByThreeWayFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl MergeBranchesByThreeWayFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::merge_branches_by_three_way::MergeBranchesByThreeWay, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::merge_branches_by_three_way::MergeBranchesByThreeWayError, + >, + > { + self.customize_middleware().await + } ///

                        The name of the repository where you want to merge two branches.

                        pub fn repository_name( mut self, diff --git a/sdk/codecommit/src/operation/merge_pull_request_by_fast_forward/builders.rs b/sdk/codecommit/src/operation/merge_pull_request_by_fast_forward/builders.rs index 3244d6180301..6c8f14c260ee 100644 --- a/sdk/codecommit/src/operation/merge_pull_request_by_fast_forward/builders.rs +++ b/sdk/codecommit/src/operation/merge_pull_request_by_fast_forward/builders.rs @@ -19,9 +19,9 @@ impl MergePullRequestByFastForwardFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize(self) -> ::std::result::Result< + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware(self) -> ::std::result::Result< crate::client::customize::CustomizableOperation, ::aws_smithy_http::result::SdkError >{ @@ -64,6 +64,15 @@ impl MergePullRequestByFastForwardFluentBuilder { { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize(self) -> ::std::result::Result< + crate::client::customize::CustomizableOperation, + ::aws_smithy_http::result::SdkError + >{ + self.customize_middleware().await + } ///

                        The system-generated ID of the pull request. To get this ID, use ListPullRequests.

                        pub fn pull_request_id( mut self, diff --git a/sdk/codecommit/src/operation/merge_pull_request_by_squash/builders.rs b/sdk/codecommit/src/operation/merge_pull_request_by_squash/builders.rs index 656156436ca7..ab7c8468ecb2 100644 --- a/sdk/codecommit/src/operation/merge_pull_request_by_squash/builders.rs +++ b/sdk/codecommit/src/operation/merge_pull_request_by_squash/builders.rs @@ -19,9 +19,9 @@ impl MergePullRequestBySquashFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl MergePullRequestBySquashFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::merge_pull_request_by_squash::MergePullRequestBySquash, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::merge_pull_request_by_squash::MergePullRequestBySquashError, + >, + > { + self.customize_middleware().await + } ///

                        The system-generated ID of the pull request. To get this ID, use ListPullRequests.

                        pub fn pull_request_id( mut self, diff --git a/sdk/codecommit/src/operation/merge_pull_request_by_three_way/builders.rs b/sdk/codecommit/src/operation/merge_pull_request_by_three_way/builders.rs index c568aeabcf6d..4060c0500cd5 100644 --- a/sdk/codecommit/src/operation/merge_pull_request_by_three_way/builders.rs +++ b/sdk/codecommit/src/operation/merge_pull_request_by_three_way/builders.rs @@ -19,9 +19,9 @@ impl MergePullRequestByThreeWayFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl MergePullRequestByThreeWayFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::merge_pull_request_by_three_way::MergePullRequestByThreeWay, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::merge_pull_request_by_three_way::MergePullRequestByThreeWayError, + >, + > { + self.customize_middleware().await + } ///

                        The system-generated ID of the pull request. To get this ID, use ListPullRequests.

                        pub fn pull_request_id( mut self, diff --git a/sdk/codecommit/src/operation/override_pull_request_approval_rules/builders.rs b/sdk/codecommit/src/operation/override_pull_request_approval_rules/builders.rs index a0a47ad1f7dd..3e371c02ed2a 100644 --- a/sdk/codecommit/src/operation/override_pull_request_approval_rules/builders.rs +++ b/sdk/codecommit/src/operation/override_pull_request_approval_rules/builders.rs @@ -19,9 +19,9 @@ impl OverridePullRequestApprovalRulesFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize(self) -> ::std::result::Result< + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware(self) -> ::std::result::Result< crate::client::customize::CustomizableOperation, ::aws_smithy_http::result::SdkError >{ @@ -64,6 +64,15 @@ impl OverridePullRequestApprovalRulesFluentBuilder { { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize(self) -> ::std::result::Result< + crate::client::customize::CustomizableOperation, + ::aws_smithy_http::result::SdkError + >{ + self.customize_middleware().await + } ///

                        The system-generated ID of the pull request for which you want to override all approval rule requirements. To get this information, use GetPullRequest.

                        pub fn pull_request_id( mut self, diff --git a/sdk/codecommit/src/operation/post_comment_for_compared_commit/builders.rs b/sdk/codecommit/src/operation/post_comment_for_compared_commit/builders.rs index de9973e53e6c..1f0bc43c0b88 100644 --- a/sdk/codecommit/src/operation/post_comment_for_compared_commit/builders.rs +++ b/sdk/codecommit/src/operation/post_comment_for_compared_commit/builders.rs @@ -19,9 +19,9 @@ impl PostCommentForComparedCommitFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl PostCommentForComparedCommitFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::post_comment_for_compared_commit::PostCommentForComparedCommit, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::post_comment_for_compared_commit::PostCommentForComparedCommitError, + >, + > { + self.customize_middleware().await + } ///

                        The name of the repository where you want to post a comment on the comparison between commits.

                        pub fn repository_name( mut self, diff --git a/sdk/codecommit/src/operation/post_comment_for_pull_request/builders.rs b/sdk/codecommit/src/operation/post_comment_for_pull_request/builders.rs index 2fe4fa138d7a..d1125559f7cc 100644 --- a/sdk/codecommit/src/operation/post_comment_for_pull_request/builders.rs +++ b/sdk/codecommit/src/operation/post_comment_for_pull_request/builders.rs @@ -19,9 +19,9 @@ impl PostCommentForPullRequestFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl PostCommentForPullRequestFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::post_comment_for_pull_request::PostCommentForPullRequest, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::post_comment_for_pull_request::PostCommentForPullRequestError, + >, + > { + self.customize_middleware().await + } ///

                        The system-generated ID of the pull request. To get this ID, use ListPullRequests.

                        pub fn pull_request_id( mut self, diff --git a/sdk/codecommit/src/operation/post_comment_reply/builders.rs b/sdk/codecommit/src/operation/post_comment_reply/builders.rs index 571026aac112..a22df0fb5bd5 100644 --- a/sdk/codecommit/src/operation/post_comment_reply/builders.rs +++ b/sdk/codecommit/src/operation/post_comment_reply/builders.rs @@ -19,9 +19,9 @@ impl PostCommentReplyFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl PostCommentReplyFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::post_comment_reply::PostCommentReply, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::post_comment_reply::PostCommentReplyError, + >, + > { + self.customize_middleware().await + } ///

                        The system-generated ID of the comment to which you want to reply. To get this ID, use GetCommentsForComparedCommit or GetCommentsForPullRequest.

                        pub fn in_reply_to(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.in_reply_to(input.into()); diff --git a/sdk/codecommit/src/operation/put_comment_reaction/builders.rs b/sdk/codecommit/src/operation/put_comment_reaction/builders.rs index ff0d6627b1d8..61a8ff94a9f9 100644 --- a/sdk/codecommit/src/operation/put_comment_reaction/builders.rs +++ b/sdk/codecommit/src/operation/put_comment_reaction/builders.rs @@ -19,9 +19,9 @@ impl PutCommentReactionFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl PutCommentReactionFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::put_comment_reaction::PutCommentReaction, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::put_comment_reaction::PutCommentReactionError, + >, + > { + self.customize_middleware().await + } ///

                        The ID of the comment to which you want to add or update a reaction.

                        pub fn comment_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.comment_id(input.into()); diff --git a/sdk/codecommit/src/operation/put_file/builders.rs b/sdk/codecommit/src/operation/put_file/builders.rs index 87d24e7ac54b..f8236ae04373 100644 --- a/sdk/codecommit/src/operation/put_file/builders.rs +++ b/sdk/codecommit/src/operation/put_file/builders.rs @@ -19,9 +19,9 @@ impl PutFileFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl PutFileFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::put_file::PutFile, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                        The name of the repository where you want to add or update the file.

                        pub fn repository_name( mut self, diff --git a/sdk/codecommit/src/operation/put_repository_triggers/builders.rs b/sdk/codecommit/src/operation/put_repository_triggers/builders.rs index 647159a95b92..d6c7897e619d 100644 --- a/sdk/codecommit/src/operation/put_repository_triggers/builders.rs +++ b/sdk/codecommit/src/operation/put_repository_triggers/builders.rs @@ -19,9 +19,9 @@ impl PutRepositoryTriggersFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl PutRepositoryTriggersFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::put_repository_triggers::PutRepositoryTriggers, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::put_repository_triggers::PutRepositoryTriggersError, + >, + > { + self.customize_middleware().await + } ///

                        The name of the repository where you want to create or update the trigger.

                        pub fn repository_name( mut self, diff --git a/sdk/codecommit/src/operation/tag_resource/builders.rs b/sdk/codecommit/src/operation/tag_resource/builders.rs index aa497d9caab4..1515e653e10f 100644 --- a/sdk/codecommit/src/operation/tag_resource/builders.rs +++ b/sdk/codecommit/src/operation/tag_resource/builders.rs @@ -19,9 +19,9 @@ impl TagResourceFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl TagResourceFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::tag_resource::TagResource, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                        The Amazon Resource Name (ARN) of the resource to which you want to add or update tags.

                        pub fn resource_arn(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.resource_arn(input.into()); diff --git a/sdk/codecommit/src/operation/test_repository_triggers/builders.rs b/sdk/codecommit/src/operation/test_repository_triggers/builders.rs index 51697270e3f9..5c34ce515ac4 100644 --- a/sdk/codecommit/src/operation/test_repository_triggers/builders.rs +++ b/sdk/codecommit/src/operation/test_repository_triggers/builders.rs @@ -19,9 +19,9 @@ impl TestRepositoryTriggersFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl TestRepositoryTriggersFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::test_repository_triggers::TestRepositoryTriggers, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::test_repository_triggers::TestRepositoryTriggersError, + >, + > { + self.customize_middleware().await + } ///

                        The name of the repository in which to test the triggers.

                        pub fn repository_name( mut self, diff --git a/sdk/codecommit/src/operation/untag_resource/builders.rs b/sdk/codecommit/src/operation/untag_resource/builders.rs index 9e03a43ed603..1d7d0004d23a 100644 --- a/sdk/codecommit/src/operation/untag_resource/builders.rs +++ b/sdk/codecommit/src/operation/untag_resource/builders.rs @@ -19,9 +19,9 @@ impl UntagResourceFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl UntagResourceFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::untag_resource::UntagResource, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                        The Amazon Resource Name (ARN) of the resource to which you want to remove tags.

                        pub fn resource_arn(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.resource_arn(input.into()); diff --git a/sdk/codecommit/src/operation/update_approval_rule_template_content/builders.rs b/sdk/codecommit/src/operation/update_approval_rule_template_content/builders.rs index 79b7c9254e0c..cdd6e9b5644e 100644 --- a/sdk/codecommit/src/operation/update_approval_rule_template_content/builders.rs +++ b/sdk/codecommit/src/operation/update_approval_rule_template_content/builders.rs @@ -19,9 +19,9 @@ impl UpdateApprovalRuleTemplateContentFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize(self) -> ::std::result::Result< + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware(self) -> ::std::result::Result< crate::client::customize::CustomizableOperation, ::aws_smithy_http::result::SdkError >{ @@ -64,6 +64,15 @@ impl UpdateApprovalRuleTemplateContentFluentBuilder { { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize(self) -> ::std::result::Result< + crate::client::customize::CustomizableOperation, + ::aws_smithy_http::result::SdkError + >{ + self.customize_middleware().await + } ///

                        The name of the approval rule template where you want to update the content of the rule.

                        pub fn approval_rule_template_name( mut self, diff --git a/sdk/codecommit/src/operation/update_approval_rule_template_description/builders.rs b/sdk/codecommit/src/operation/update_approval_rule_template_description/builders.rs index 9ef5c544d3b4..ca81060d30fd 100644 --- a/sdk/codecommit/src/operation/update_approval_rule_template_description/builders.rs +++ b/sdk/codecommit/src/operation/update_approval_rule_template_description/builders.rs @@ -19,9 +19,9 @@ impl UpdateApprovalRuleTemplateDescriptionFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize(self) -> ::std::result::Result< + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware(self) -> ::std::result::Result< crate::client::customize::CustomizableOperation, ::aws_smithy_http::result::SdkError >{ @@ -64,6 +64,15 @@ impl UpdateApprovalRuleTemplateDescriptionFluentBuilder { { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize(self) -> ::std::result::Result< + crate::client::customize::CustomizableOperation, + ::aws_smithy_http::result::SdkError + >{ + self.customize_middleware().await + } ///

                        The name of the template for which you want to update the description.

                        pub fn approval_rule_template_name( mut self, diff --git a/sdk/codecommit/src/operation/update_approval_rule_template_name/builders.rs b/sdk/codecommit/src/operation/update_approval_rule_template_name/builders.rs index 654023defa52..0eafd4f2ea20 100644 --- a/sdk/codecommit/src/operation/update_approval_rule_template_name/builders.rs +++ b/sdk/codecommit/src/operation/update_approval_rule_template_name/builders.rs @@ -19,9 +19,9 @@ impl UpdateApprovalRuleTemplateNameFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize(self) -> ::std::result::Result< + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware(self) -> ::std::result::Result< crate::client::customize::CustomizableOperation, ::aws_smithy_http::result::SdkError >{ @@ -64,6 +64,15 @@ impl UpdateApprovalRuleTemplateNameFluentBuilder { { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize(self) -> ::std::result::Result< + crate::client::customize::CustomizableOperation, + ::aws_smithy_http::result::SdkError + >{ + self.customize_middleware().await + } ///

                        The current name of the approval rule template.

                        pub fn old_approval_rule_template_name( mut self, diff --git a/sdk/codecommit/src/operation/update_comment/builders.rs b/sdk/codecommit/src/operation/update_comment/builders.rs index fd697e8de19f..1f88073d4267 100644 --- a/sdk/codecommit/src/operation/update_comment/builders.rs +++ b/sdk/codecommit/src/operation/update_comment/builders.rs @@ -19,9 +19,9 @@ impl UpdateCommentFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl UpdateCommentFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::update_comment::UpdateComment, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                        The system-generated ID of the comment you want to update. To get this ID, use GetCommentsForComparedCommit or GetCommentsForPullRequest.

                        pub fn comment_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.comment_id(input.into()); diff --git a/sdk/codecommit/src/operation/update_default_branch/builders.rs b/sdk/codecommit/src/operation/update_default_branch/builders.rs index 4329fcdd2abc..bd7d232e1f86 100644 --- a/sdk/codecommit/src/operation/update_default_branch/builders.rs +++ b/sdk/codecommit/src/operation/update_default_branch/builders.rs @@ -21,9 +21,9 @@ impl UpdateDefaultBranchFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -85,6 +85,22 @@ impl UpdateDefaultBranchFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::update_default_branch::UpdateDefaultBranch, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::update_default_branch::UpdateDefaultBranchError, + >, + > { + self.customize_middleware().await + } ///

                        The name of the repository to set or change the default branch for.

                        pub fn repository_name( mut self, diff --git a/sdk/codecommit/src/operation/update_pull_request_approval_rule_content/builders.rs b/sdk/codecommit/src/operation/update_pull_request_approval_rule_content/builders.rs index e6fc704b11da..d51208a70eb5 100644 --- a/sdk/codecommit/src/operation/update_pull_request_approval_rule_content/builders.rs +++ b/sdk/codecommit/src/operation/update_pull_request_approval_rule_content/builders.rs @@ -19,9 +19,9 @@ impl UpdatePullRequestApprovalRuleContentFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize(self) -> ::std::result::Result< + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware(self) -> ::std::result::Result< crate::client::customize::CustomizableOperation, ::aws_smithy_http::result::SdkError >{ @@ -64,6 +64,15 @@ impl UpdatePullRequestApprovalRuleContentFluentBuilder { { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize(self) -> ::std::result::Result< + crate::client::customize::CustomizableOperation, + ::aws_smithy_http::result::SdkError + >{ + self.customize_middleware().await + } ///

                        The system-generated ID of the pull request.

                        pub fn pull_request_id( mut self, diff --git a/sdk/codecommit/src/operation/update_pull_request_approval_state/builders.rs b/sdk/codecommit/src/operation/update_pull_request_approval_state/builders.rs index 3c85cad5ff7f..687470f395bc 100644 --- a/sdk/codecommit/src/operation/update_pull_request_approval_state/builders.rs +++ b/sdk/codecommit/src/operation/update_pull_request_approval_state/builders.rs @@ -19,9 +19,9 @@ impl UpdatePullRequestApprovalStateFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize(self) -> ::std::result::Result< + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware(self) -> ::std::result::Result< crate::client::customize::CustomizableOperation, ::aws_smithy_http::result::SdkError >{ @@ -64,6 +64,15 @@ impl UpdatePullRequestApprovalStateFluentBuilder { { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize(self) -> ::std::result::Result< + crate::client::customize::CustomizableOperation, + ::aws_smithy_http::result::SdkError + >{ + self.customize_middleware().await + } ///

                        The system-generated ID of the pull request.

                        pub fn pull_request_id( mut self, diff --git a/sdk/codecommit/src/operation/update_pull_request_description/builders.rs b/sdk/codecommit/src/operation/update_pull_request_description/builders.rs index 0935a703b3fd..3876d69276f9 100644 --- a/sdk/codecommit/src/operation/update_pull_request_description/builders.rs +++ b/sdk/codecommit/src/operation/update_pull_request_description/builders.rs @@ -19,9 +19,9 @@ impl UpdatePullRequestDescriptionFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl UpdatePullRequestDescriptionFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::update_pull_request_description::UpdatePullRequestDescription, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::update_pull_request_description::UpdatePullRequestDescriptionError, + >, + > { + self.customize_middleware().await + } ///

                        The system-generated ID of the pull request. To get this ID, use ListPullRequests.

                        pub fn pull_request_id( mut self, diff --git a/sdk/codecommit/src/operation/update_pull_request_status/builders.rs b/sdk/codecommit/src/operation/update_pull_request_status/builders.rs index 2e0ac3b73ce9..a3f93f1ca04a 100644 --- a/sdk/codecommit/src/operation/update_pull_request_status/builders.rs +++ b/sdk/codecommit/src/operation/update_pull_request_status/builders.rs @@ -20,9 +20,9 @@ impl UpdatePullRequestStatusFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -84,6 +84,22 @@ impl UpdatePullRequestStatusFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::update_pull_request_status::UpdatePullRequestStatus, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::update_pull_request_status::UpdatePullRequestStatusError, + >, + > { + self.customize_middleware().await + } ///

                        The system-generated ID of the pull request. To get this ID, use ListPullRequests.

                        pub fn pull_request_id( mut self, diff --git a/sdk/codecommit/src/operation/update_pull_request_title/builders.rs b/sdk/codecommit/src/operation/update_pull_request_title/builders.rs index 8ae2f7f32141..303371e69949 100644 --- a/sdk/codecommit/src/operation/update_pull_request_title/builders.rs +++ b/sdk/codecommit/src/operation/update_pull_request_title/builders.rs @@ -20,9 +20,9 @@ impl UpdatePullRequestTitleFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -84,6 +84,22 @@ impl UpdatePullRequestTitleFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::update_pull_request_title::UpdatePullRequestTitle, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::update_pull_request_title::UpdatePullRequestTitleError, + >, + > { + self.customize_middleware().await + } ///

                        The system-generated ID of the pull request. To get this ID, use ListPullRequests.

                        pub fn pull_request_id( mut self, diff --git a/sdk/codecommit/src/operation/update_repository_description/builders.rs b/sdk/codecommit/src/operation/update_repository_description/builders.rs index 0f4e767a520b..141804afe79d 100644 --- a/sdk/codecommit/src/operation/update_repository_description/builders.rs +++ b/sdk/codecommit/src/operation/update_repository_description/builders.rs @@ -21,9 +21,9 @@ impl UpdateRepositoryDescriptionFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -85,6 +85,22 @@ impl UpdateRepositoryDescriptionFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::update_repository_description::UpdateRepositoryDescription, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::update_repository_description::UpdateRepositoryDescriptionError, + >, + > { + self.customize_middleware().await + } ///

                        The name of the repository to set or change the comment or description for.

                        pub fn repository_name( mut self, diff --git a/sdk/codecommit/src/operation/update_repository_name/builders.rs b/sdk/codecommit/src/operation/update_repository_name/builders.rs index bd61ee0502f8..dacb8132bfb4 100644 --- a/sdk/codecommit/src/operation/update_repository_name/builders.rs +++ b/sdk/codecommit/src/operation/update_repository_name/builders.rs @@ -19,9 +19,9 @@ impl UpdateRepositoryNameFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl UpdateRepositoryNameFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::update_repository_name::UpdateRepositoryName, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::update_repository_name::UpdateRepositoryNameError, + >, + > { + self.customize_middleware().await + } ///

                        The current name of the repository.

                        pub fn old_name(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.old_name(input.into()); diff --git a/sdk/codedeploy/src/operation/add_tags_to_on_premises_instances/builders.rs b/sdk/codedeploy/src/operation/add_tags_to_on_premises_instances/builders.rs index ee76ab015c52..5879ef6a35e1 100644 --- a/sdk/codedeploy/src/operation/add_tags_to_on_premises_instances/builders.rs +++ b/sdk/codedeploy/src/operation/add_tags_to_on_premises_instances/builders.rs @@ -19,9 +19,9 @@ impl AddTagsToOnPremisesInstancesFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl AddTagsToOnPremisesInstancesFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::add_tags_to_on_premises_instances::AddTagsToOnPremisesInstances, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::add_tags_to_on_premises_instances::AddTagsToOnPremisesInstancesError, + >, + > { + self.customize_middleware().await + } /// Appends an item to `tags`. /// /// To override the contents of this collection use [`set_tags`](Self::set_tags). diff --git a/sdk/codedeploy/src/operation/batch_get_application_revisions/builders.rs b/sdk/codedeploy/src/operation/batch_get_application_revisions/builders.rs index ea0a8e86408d..f4d52e861089 100644 --- a/sdk/codedeploy/src/operation/batch_get_application_revisions/builders.rs +++ b/sdk/codedeploy/src/operation/batch_get_application_revisions/builders.rs @@ -19,9 +19,9 @@ impl BatchGetApplicationRevisionsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl BatchGetApplicationRevisionsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::batch_get_application_revisions::BatchGetApplicationRevisions, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::batch_get_application_revisions::BatchGetApplicationRevisionsError, + >, + > { + self.customize_middleware().await + } ///

                        The name of an CodeDeploy application about which to get revision information.

                        pub fn application_name( mut self, diff --git a/sdk/codedeploy/src/operation/batch_get_applications/builders.rs b/sdk/codedeploy/src/operation/batch_get_applications/builders.rs index 5d4726f5c2cb..6352d1ca997e 100644 --- a/sdk/codedeploy/src/operation/batch_get_applications/builders.rs +++ b/sdk/codedeploy/src/operation/batch_get_applications/builders.rs @@ -19,9 +19,9 @@ impl BatchGetApplicationsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl BatchGetApplicationsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::batch_get_applications::BatchGetApplications, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::batch_get_applications::BatchGetApplicationsError, + >, + > { + self.customize_middleware().await + } /// Appends an item to `applicationNames`. /// /// To override the contents of this collection use [`set_application_names`](Self::set_application_names). diff --git a/sdk/codedeploy/src/operation/batch_get_deployment_groups/builders.rs b/sdk/codedeploy/src/operation/batch_get_deployment_groups/builders.rs index 3756dfcdf883..a8e2bf9db79a 100644 --- a/sdk/codedeploy/src/operation/batch_get_deployment_groups/builders.rs +++ b/sdk/codedeploy/src/operation/batch_get_deployment_groups/builders.rs @@ -19,9 +19,9 @@ impl BatchGetDeploymentGroupsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl BatchGetDeploymentGroupsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::batch_get_deployment_groups::BatchGetDeploymentGroups, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::batch_get_deployment_groups::BatchGetDeploymentGroupsError, + >, + > { + self.customize_middleware().await + } ///

                        The name of an CodeDeploy application associated with the applicable IAM or Amazon Web Services account.

                        pub fn application_name( mut self, diff --git a/sdk/codedeploy/src/operation/batch_get_deployment_instances/builders.rs b/sdk/codedeploy/src/operation/batch_get_deployment_instances/builders.rs index 86757cfea6d5..dceacf6bd12a 100644 --- a/sdk/codedeploy/src/operation/batch_get_deployment_instances/builders.rs +++ b/sdk/codedeploy/src/operation/batch_get_deployment_instances/builders.rs @@ -23,9 +23,9 @@ impl BatchGetDeploymentInstancesFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -87,6 +87,22 @@ impl BatchGetDeploymentInstancesFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::batch_get_deployment_instances::BatchGetDeploymentInstances, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::batch_get_deployment_instances::BatchGetDeploymentInstancesError, + >, + > { + self.customize_middleware().await + } ///

                        The unique ID of a deployment.

                        pub fn deployment_id( mut self, diff --git a/sdk/codedeploy/src/operation/batch_get_deployment_targets/builders.rs b/sdk/codedeploy/src/operation/batch_get_deployment_targets/builders.rs index 1d7c4b321f83..45d26a59ff85 100644 --- a/sdk/codedeploy/src/operation/batch_get_deployment_targets/builders.rs +++ b/sdk/codedeploy/src/operation/batch_get_deployment_targets/builders.rs @@ -26,9 +26,9 @@ impl BatchGetDeploymentTargetsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -90,6 +90,22 @@ impl BatchGetDeploymentTargetsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::batch_get_deployment_targets::BatchGetDeploymentTargets, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::batch_get_deployment_targets::BatchGetDeploymentTargetsError, + >, + > { + self.customize_middleware().await + } ///

                        The unique ID of a deployment.

                        pub fn deployment_id( mut self, diff --git a/sdk/codedeploy/src/operation/batch_get_deployments/builders.rs b/sdk/codedeploy/src/operation/batch_get_deployments/builders.rs index ccf372bc9d25..5d1bd1a0f17e 100644 --- a/sdk/codedeploy/src/operation/batch_get_deployments/builders.rs +++ b/sdk/codedeploy/src/operation/batch_get_deployments/builders.rs @@ -19,9 +19,9 @@ impl BatchGetDeploymentsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl BatchGetDeploymentsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::batch_get_deployments::BatchGetDeployments, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::batch_get_deployments::BatchGetDeploymentsError, + >, + > { + self.customize_middleware().await + } /// Appends an item to `deploymentIds`. /// /// To override the contents of this collection use [`set_deployment_ids`](Self::set_deployment_ids). diff --git a/sdk/codedeploy/src/operation/batch_get_on_premises_instances/builders.rs b/sdk/codedeploy/src/operation/batch_get_on_premises_instances/builders.rs index b9e09ebd1d88..ae206d25db93 100644 --- a/sdk/codedeploy/src/operation/batch_get_on_premises_instances/builders.rs +++ b/sdk/codedeploy/src/operation/batch_get_on_premises_instances/builders.rs @@ -19,9 +19,9 @@ impl BatchGetOnPremisesInstancesFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl BatchGetOnPremisesInstancesFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::batch_get_on_premises_instances::BatchGetOnPremisesInstances, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::batch_get_on_premises_instances::BatchGetOnPremisesInstancesError, + >, + > { + self.customize_middleware().await + } /// Appends an item to `instanceNames`. /// /// To override the contents of this collection use [`set_instance_names`](Self::set_instance_names). diff --git a/sdk/codedeploy/src/operation/continue_deployment/builders.rs b/sdk/codedeploy/src/operation/continue_deployment/builders.rs index 6fbbe921fec6..a856b79d5d75 100644 --- a/sdk/codedeploy/src/operation/continue_deployment/builders.rs +++ b/sdk/codedeploy/src/operation/continue_deployment/builders.rs @@ -19,9 +19,9 @@ impl ContinueDeploymentFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl ContinueDeploymentFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::continue_deployment::ContinueDeployment, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::continue_deployment::ContinueDeploymentError, + >, + > { + self.customize_middleware().await + } ///

                        The unique ID of a blue/green deployment for which you want to start rerouting traffic to the replacement environment.

                        pub fn deployment_id( mut self, diff --git a/sdk/codedeploy/src/operation/create_application/builders.rs b/sdk/codedeploy/src/operation/create_application/builders.rs index 36366f97dcc4..02d3262d2c09 100644 --- a/sdk/codedeploy/src/operation/create_application/builders.rs +++ b/sdk/codedeploy/src/operation/create_application/builders.rs @@ -19,9 +19,9 @@ impl CreateApplicationFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl CreateApplicationFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::create_application::CreateApplication, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::create_application::CreateApplicationError, + >, + > { + self.customize_middleware().await + } ///

                        The name of the application. This name must be unique with the applicable IAM or Amazon Web Services account.

                        pub fn application_name( mut self, diff --git a/sdk/codedeploy/src/operation/create_deployment/builders.rs b/sdk/codedeploy/src/operation/create_deployment/builders.rs index a476496d8f08..f7a82834b70f 100644 --- a/sdk/codedeploy/src/operation/create_deployment/builders.rs +++ b/sdk/codedeploy/src/operation/create_deployment/builders.rs @@ -19,9 +19,9 @@ impl CreateDeploymentFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl CreateDeploymentFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::create_deployment::CreateDeployment, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::create_deployment::CreateDeploymentError, + >, + > { + self.customize_middleware().await + } ///

                        The name of an CodeDeploy application associated with the IAM user or Amazon Web Services account.

                        pub fn application_name( mut self, diff --git a/sdk/codedeploy/src/operation/create_deployment_config/builders.rs b/sdk/codedeploy/src/operation/create_deployment_config/builders.rs index fe33cc8c382f..6ac2f8e90f03 100644 --- a/sdk/codedeploy/src/operation/create_deployment_config/builders.rs +++ b/sdk/codedeploy/src/operation/create_deployment_config/builders.rs @@ -19,9 +19,9 @@ impl CreateDeploymentConfigFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl CreateDeploymentConfigFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::create_deployment_config::CreateDeploymentConfig, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::create_deployment_config::CreateDeploymentConfigError, + >, + > { + self.customize_middleware().await + } ///

                        The name of the deployment configuration to create.

                        pub fn deployment_config_name( mut self, diff --git a/sdk/codedeploy/src/operation/create_deployment_group/builders.rs b/sdk/codedeploy/src/operation/create_deployment_group/builders.rs index 309ceba50b31..70c7b8594cfc 100644 --- a/sdk/codedeploy/src/operation/create_deployment_group/builders.rs +++ b/sdk/codedeploy/src/operation/create_deployment_group/builders.rs @@ -19,9 +19,9 @@ impl CreateDeploymentGroupFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl CreateDeploymentGroupFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::create_deployment_group::CreateDeploymentGroup, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::create_deployment_group::CreateDeploymentGroupError, + >, + > { + self.customize_middleware().await + } ///

                        The name of an CodeDeploy application associated with the IAM user or Amazon Web Services account.

                        pub fn application_name( mut self, diff --git a/sdk/codedeploy/src/operation/delete_application/builders.rs b/sdk/codedeploy/src/operation/delete_application/builders.rs index 000de47dbc05..354e0a3eb969 100644 --- a/sdk/codedeploy/src/operation/delete_application/builders.rs +++ b/sdk/codedeploy/src/operation/delete_application/builders.rs @@ -19,9 +19,9 @@ impl DeleteApplicationFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl DeleteApplicationFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::delete_application::DeleteApplication, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::delete_application::DeleteApplicationError, + >, + > { + self.customize_middleware().await + } ///

                        The name of an CodeDeploy application associated with the IAM user or Amazon Web Services account.

                        pub fn application_name( mut self, diff --git a/sdk/codedeploy/src/operation/delete_deployment_config/builders.rs b/sdk/codedeploy/src/operation/delete_deployment_config/builders.rs index b00f985a7a0c..e1aa8e796729 100644 --- a/sdk/codedeploy/src/operation/delete_deployment_config/builders.rs +++ b/sdk/codedeploy/src/operation/delete_deployment_config/builders.rs @@ -21,9 +21,9 @@ impl DeleteDeploymentConfigFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -85,6 +85,22 @@ impl DeleteDeploymentConfigFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::delete_deployment_config::DeleteDeploymentConfig, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::delete_deployment_config::DeleteDeploymentConfigError, + >, + > { + self.customize_middleware().await + } ///

                        The name of a deployment configuration associated with the IAM user or Amazon Web Services account.

                        pub fn deployment_config_name( mut self, diff --git a/sdk/codedeploy/src/operation/delete_deployment_group/builders.rs b/sdk/codedeploy/src/operation/delete_deployment_group/builders.rs index c1961c21bd5a..9257e809b2d2 100644 --- a/sdk/codedeploy/src/operation/delete_deployment_group/builders.rs +++ b/sdk/codedeploy/src/operation/delete_deployment_group/builders.rs @@ -19,9 +19,9 @@ impl DeleteDeploymentGroupFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl DeleteDeploymentGroupFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::delete_deployment_group::DeleteDeploymentGroup, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::delete_deployment_group::DeleteDeploymentGroupError, + >, + > { + self.customize_middleware().await + } ///

                        The name of an CodeDeploy application associated with the IAM user or Amazon Web Services account.

                        pub fn application_name( mut self, diff --git a/sdk/codedeploy/src/operation/delete_git_hub_account_token/builders.rs b/sdk/codedeploy/src/operation/delete_git_hub_account_token/builders.rs index 365e9891a13e..43d3d0a140fd 100644 --- a/sdk/codedeploy/src/operation/delete_git_hub_account_token/builders.rs +++ b/sdk/codedeploy/src/operation/delete_git_hub_account_token/builders.rs @@ -19,9 +19,9 @@ impl DeleteGitHubAccountTokenFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl DeleteGitHubAccountTokenFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::delete_git_hub_account_token::DeleteGitHubAccountToken, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::delete_git_hub_account_token::DeleteGitHubAccountTokenError, + >, + > { + self.customize_middleware().await + } ///

                        The name of the GitHub account connection to delete.

                        pub fn token_name(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.token_name(input.into()); diff --git a/sdk/codedeploy/src/operation/delete_resources_by_external_id/builders.rs b/sdk/codedeploy/src/operation/delete_resources_by_external_id/builders.rs index 5d670fe8bc61..0665e0e689e9 100644 --- a/sdk/codedeploy/src/operation/delete_resources_by_external_id/builders.rs +++ b/sdk/codedeploy/src/operation/delete_resources_by_external_id/builders.rs @@ -19,9 +19,9 @@ impl DeleteResourcesByExternalIdFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl DeleteResourcesByExternalIdFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::delete_resources_by_external_id::DeleteResourcesByExternalId, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::delete_resources_by_external_id::DeleteResourcesByExternalIdError, + >, + > { + self.customize_middleware().await + } ///

                        The unique ID of an external resource (for example, a CloudFormation stack ID) that is linked to one or more CodeDeploy resources.

                        pub fn external_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.external_id(input.into()); diff --git a/sdk/codedeploy/src/operation/deregister_on_premises_instance/builders.rs b/sdk/codedeploy/src/operation/deregister_on_premises_instance/builders.rs index b81507716389..0c0d49f98a91 100644 --- a/sdk/codedeploy/src/operation/deregister_on_premises_instance/builders.rs +++ b/sdk/codedeploy/src/operation/deregister_on_premises_instance/builders.rs @@ -19,9 +19,9 @@ impl DeregisterOnPremisesInstanceFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl DeregisterOnPremisesInstanceFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::deregister_on_premises_instance::DeregisterOnPremisesInstance, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::deregister_on_premises_instance::DeregisterOnPremisesInstanceError, + >, + > { + self.customize_middleware().await + } ///

                        The name of the on-premises instance to deregister.

                        pub fn instance_name( mut self, diff --git a/sdk/codedeploy/src/operation/get_application/builders.rs b/sdk/codedeploy/src/operation/get_application/builders.rs index 16c8f88c4fe2..b817f043cc1f 100644 --- a/sdk/codedeploy/src/operation/get_application/builders.rs +++ b/sdk/codedeploy/src/operation/get_application/builders.rs @@ -19,9 +19,9 @@ impl GetApplicationFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl GetApplicationFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::get_application::GetApplication, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                        The name of an CodeDeploy application associated with the IAM user or Amazon Web Services account.

                        pub fn application_name( mut self, diff --git a/sdk/codedeploy/src/operation/get_application_revision/builders.rs b/sdk/codedeploy/src/operation/get_application_revision/builders.rs index 96a1d09c1ec2..9c9ce5eeb16d 100644 --- a/sdk/codedeploy/src/operation/get_application_revision/builders.rs +++ b/sdk/codedeploy/src/operation/get_application_revision/builders.rs @@ -19,9 +19,9 @@ impl GetApplicationRevisionFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl GetApplicationRevisionFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::get_application_revision::GetApplicationRevision, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::get_application_revision::GetApplicationRevisionError, + >, + > { + self.customize_middleware().await + } ///

                        The name of the application that corresponds to the revision.

                        pub fn application_name( mut self, diff --git a/sdk/codedeploy/src/operation/get_deployment/builders.rs b/sdk/codedeploy/src/operation/get_deployment/builders.rs index 16d7a5728315..92c325fc7129 100644 --- a/sdk/codedeploy/src/operation/get_deployment/builders.rs +++ b/sdk/codedeploy/src/operation/get_deployment/builders.rs @@ -21,9 +21,9 @@ impl GetDeploymentFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -79,6 +79,20 @@ impl GetDeploymentFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::get_deployment::GetDeployment, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                        The unique ID of a deployment associated with the IAM user or Amazon Web Services account.

                        pub fn deployment_id( mut self, diff --git a/sdk/codedeploy/src/operation/get_deployment_config/builders.rs b/sdk/codedeploy/src/operation/get_deployment_config/builders.rs index c966493b231c..fb69b8b6e508 100644 --- a/sdk/codedeploy/src/operation/get_deployment_config/builders.rs +++ b/sdk/codedeploy/src/operation/get_deployment_config/builders.rs @@ -19,9 +19,9 @@ impl GetDeploymentConfigFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl GetDeploymentConfigFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::get_deployment_config::GetDeploymentConfig, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::get_deployment_config::GetDeploymentConfigError, + >, + > { + self.customize_middleware().await + } ///

                        The name of a deployment configuration associated with the IAM user or Amazon Web Services account.

                        pub fn deployment_config_name( mut self, diff --git a/sdk/codedeploy/src/operation/get_deployment_group/builders.rs b/sdk/codedeploy/src/operation/get_deployment_group/builders.rs index 679ecae9c06b..262f769879ce 100644 --- a/sdk/codedeploy/src/operation/get_deployment_group/builders.rs +++ b/sdk/codedeploy/src/operation/get_deployment_group/builders.rs @@ -19,9 +19,9 @@ impl GetDeploymentGroupFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl GetDeploymentGroupFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::get_deployment_group::GetDeploymentGroup, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::get_deployment_group::GetDeploymentGroupError, + >, + > { + self.customize_middleware().await + } ///

                        The name of an CodeDeploy application associated with the IAM user or Amazon Web Services account.

                        pub fn application_name( mut self, diff --git a/sdk/codedeploy/src/operation/get_deployment_instance/builders.rs b/sdk/codedeploy/src/operation/get_deployment_instance/builders.rs index e0a0e83959bf..7c5ce85d5ace 100644 --- a/sdk/codedeploy/src/operation/get_deployment_instance/builders.rs +++ b/sdk/codedeploy/src/operation/get_deployment_instance/builders.rs @@ -20,9 +20,9 @@ impl GetDeploymentInstanceFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -84,6 +84,22 @@ impl GetDeploymentInstanceFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::get_deployment_instance::GetDeploymentInstance, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::get_deployment_instance::GetDeploymentInstanceError, + >, + > { + self.customize_middleware().await + } ///

                        The unique ID of a deployment.

                        pub fn deployment_id( mut self, diff --git a/sdk/codedeploy/src/operation/get_deployment_target/builders.rs b/sdk/codedeploy/src/operation/get_deployment_target/builders.rs index 06154b1a542f..ab3fc4644d18 100644 --- a/sdk/codedeploy/src/operation/get_deployment_target/builders.rs +++ b/sdk/codedeploy/src/operation/get_deployment_target/builders.rs @@ -19,9 +19,9 @@ impl GetDeploymentTargetFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl GetDeploymentTargetFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::get_deployment_target::GetDeploymentTarget, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::get_deployment_target::GetDeploymentTargetError, + >, + > { + self.customize_middleware().await + } ///

                        The unique ID of a deployment.

                        pub fn deployment_id( mut self, diff --git a/sdk/codedeploy/src/operation/get_on_premises_instance/builders.rs b/sdk/codedeploy/src/operation/get_on_premises_instance/builders.rs index 855858092192..cd4f7d82113e 100644 --- a/sdk/codedeploy/src/operation/get_on_premises_instance/builders.rs +++ b/sdk/codedeploy/src/operation/get_on_premises_instance/builders.rs @@ -19,9 +19,9 @@ impl GetOnPremisesInstanceFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl GetOnPremisesInstanceFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::get_on_premises_instance::GetOnPremisesInstance, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::get_on_premises_instance::GetOnPremisesInstanceError, + >, + > { + self.customize_middleware().await + } ///

                        The name of the on-premises instance about which to get information.

                        pub fn instance_name( mut self, diff --git a/sdk/codedeploy/src/operation/list_application_revisions/builders.rs b/sdk/codedeploy/src/operation/list_application_revisions/builders.rs index b082855786f2..8c7562ce543d 100644 --- a/sdk/codedeploy/src/operation/list_application_revisions/builders.rs +++ b/sdk/codedeploy/src/operation/list_application_revisions/builders.rs @@ -19,9 +19,9 @@ impl ListApplicationRevisionsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl ListApplicationRevisionsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_application_revisions::ListApplicationRevisions, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::list_application_revisions::ListApplicationRevisionsError, + >, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::list_application_revisions::paginator::ListApplicationRevisionsPaginator::send) which returns a `Stream`. diff --git a/sdk/codedeploy/src/operation/list_applications/builders.rs b/sdk/codedeploy/src/operation/list_applications/builders.rs index d92b3063b294..0efe6ae50080 100644 --- a/sdk/codedeploy/src/operation/list_applications/builders.rs +++ b/sdk/codedeploy/src/operation/list_applications/builders.rs @@ -19,9 +19,9 @@ impl ListApplicationsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl ListApplicationsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_applications::ListApplications, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::list_applications::ListApplicationsError, + >, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::list_applications::paginator::ListApplicationsPaginator::send) which returns a `Stream`. diff --git a/sdk/codedeploy/src/operation/list_deployment_configs/builders.rs b/sdk/codedeploy/src/operation/list_deployment_configs/builders.rs index 4d5339cc94fd..fc04368cbf1f 100644 --- a/sdk/codedeploy/src/operation/list_deployment_configs/builders.rs +++ b/sdk/codedeploy/src/operation/list_deployment_configs/builders.rs @@ -19,9 +19,9 @@ impl ListDeploymentConfigsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl ListDeploymentConfigsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_deployment_configs::ListDeploymentConfigs, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::list_deployment_configs::ListDeploymentConfigsError, + >, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::list_deployment_configs::paginator::ListDeploymentConfigsPaginator::send) which returns a `Stream`. diff --git a/sdk/codedeploy/src/operation/list_deployment_groups/builders.rs b/sdk/codedeploy/src/operation/list_deployment_groups/builders.rs index 1b58eb40129b..9ac396a1b17e 100644 --- a/sdk/codedeploy/src/operation/list_deployment_groups/builders.rs +++ b/sdk/codedeploy/src/operation/list_deployment_groups/builders.rs @@ -19,9 +19,9 @@ impl ListDeploymentGroupsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl ListDeploymentGroupsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_deployment_groups::ListDeploymentGroups, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::list_deployment_groups::ListDeploymentGroupsError, + >, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::list_deployment_groups::paginator::ListDeploymentGroupsPaginator::send) which returns a `Stream`. diff --git a/sdk/codedeploy/src/operation/list_deployment_instances/builders.rs b/sdk/codedeploy/src/operation/list_deployment_instances/builders.rs index 3ed1f777220d..c0ac6747f154 100644 --- a/sdk/codedeploy/src/operation/list_deployment_instances/builders.rs +++ b/sdk/codedeploy/src/operation/list_deployment_instances/builders.rs @@ -24,9 +24,9 @@ impl ListDeploymentInstancesFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -88,6 +88,22 @@ impl ListDeploymentInstancesFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_deployment_instances::ListDeploymentInstances, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::list_deployment_instances::ListDeploymentInstancesError, + >, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::list_deployment_instances::paginator::ListDeploymentInstancesPaginator::send) which returns a `Stream`. diff --git a/sdk/codedeploy/src/operation/list_deployment_targets/builders.rs b/sdk/codedeploy/src/operation/list_deployment_targets/builders.rs index 154962ac0950..3bbea9635e3a 100644 --- a/sdk/codedeploy/src/operation/list_deployment_targets/builders.rs +++ b/sdk/codedeploy/src/operation/list_deployment_targets/builders.rs @@ -19,9 +19,9 @@ impl ListDeploymentTargetsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl ListDeploymentTargetsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_deployment_targets::ListDeploymentTargets, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::list_deployment_targets::ListDeploymentTargetsError, + >, + > { + self.customize_middleware().await + } ///

                        The unique ID of a deployment.

                        pub fn deployment_id( mut self, diff --git a/sdk/codedeploy/src/operation/list_deployments/builders.rs b/sdk/codedeploy/src/operation/list_deployments/builders.rs index bf045f05367e..49610ec1e1de 100644 --- a/sdk/codedeploy/src/operation/list_deployments/builders.rs +++ b/sdk/codedeploy/src/operation/list_deployments/builders.rs @@ -19,9 +19,9 @@ impl ListDeploymentsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl ListDeploymentsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_deployments::ListDeployments, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::list_deployments::ListDeploymentsError, + >, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::list_deployments::paginator::ListDeploymentsPaginator::send) which returns a `Stream`. diff --git a/sdk/codedeploy/src/operation/list_git_hub_account_token_names/builders.rs b/sdk/codedeploy/src/operation/list_git_hub_account_token_names/builders.rs index 11bf560fff3c..1d982b322e6c 100644 --- a/sdk/codedeploy/src/operation/list_git_hub_account_token_names/builders.rs +++ b/sdk/codedeploy/src/operation/list_git_hub_account_token_names/builders.rs @@ -19,9 +19,9 @@ impl ListGitHubAccountTokenNamesFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl ListGitHubAccountTokenNamesFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_git_hub_account_token_names::ListGitHubAccountTokenNames, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::list_git_hub_account_token_names::ListGitHubAccountTokenNamesError, + >, + > { + self.customize_middleware().await + } ///

                        An identifier returned from the previous ListGitHubAccountTokenNames call. It can be used to return the next set of names in the list.

                        pub fn next_token(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.next_token(input.into()); diff --git a/sdk/codedeploy/src/operation/list_on_premises_instances/builders.rs b/sdk/codedeploy/src/operation/list_on_premises_instances/builders.rs index d4a5f85b46ac..1f933b45560a 100644 --- a/sdk/codedeploy/src/operation/list_on_premises_instances/builders.rs +++ b/sdk/codedeploy/src/operation/list_on_premises_instances/builders.rs @@ -21,9 +21,9 @@ impl ListOnPremisesInstancesFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -85,6 +85,22 @@ impl ListOnPremisesInstancesFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_on_premises_instances::ListOnPremisesInstances, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::list_on_premises_instances::ListOnPremisesInstancesError, + >, + > { + self.customize_middleware().await + } ///

                        The registration status of the on-premises instances:

                        ///
                          ///
                        • Deregistered: Include deregistered on-premises instances in the resulting list.

                        • diff --git a/sdk/codedeploy/src/operation/list_tags_for_resource/builders.rs b/sdk/codedeploy/src/operation/list_tags_for_resource/builders.rs index 325cf1b41f21..61290a151687 100644 --- a/sdk/codedeploy/src/operation/list_tags_for_resource/builders.rs +++ b/sdk/codedeploy/src/operation/list_tags_for_resource/builders.rs @@ -19,9 +19,9 @@ impl ListTagsForResourceFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl ListTagsForResourceFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_tags_for_resource::ListTagsForResource, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::list_tags_for_resource::ListTagsForResourceError, + >, + > { + self.customize_middleware().await + } ///

                          The ARN of a CodeDeploy resource. ListTagsForResource returns all the tags associated with the resource that is identified by the ResourceArn.

                          pub fn resource_arn(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.resource_arn(input.into()); diff --git a/sdk/codedeploy/src/operation/put_lifecycle_event_hook_execution_status/builders.rs b/sdk/codedeploy/src/operation/put_lifecycle_event_hook_execution_status/builders.rs index 0629c5b8df6f..e319153bcc16 100644 --- a/sdk/codedeploy/src/operation/put_lifecycle_event_hook_execution_status/builders.rs +++ b/sdk/codedeploy/src/operation/put_lifecycle_event_hook_execution_status/builders.rs @@ -19,9 +19,9 @@ impl PutLifecycleEventHookExecutionStatusFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize(self) -> ::std::result::Result< + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware(self) -> ::std::result::Result< crate::client::customize::CustomizableOperation, ::aws_smithy_http::result::SdkError >{ @@ -64,6 +64,15 @@ impl PutLifecycleEventHookExecutionStatusFluentBuilder { { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize(self) -> ::std::result::Result< + crate::client::customize::CustomizableOperation, + ::aws_smithy_http::result::SdkError + >{ + self.customize_middleware().await + } ///

                          The unique ID of a deployment. Pass this ID to a Lambda function that validates a deployment lifecycle event.

                          pub fn deployment_id( mut self, diff --git a/sdk/codedeploy/src/operation/register_application_revision/builders.rs b/sdk/codedeploy/src/operation/register_application_revision/builders.rs index 895708fe5a4d..6c3613208afe 100644 --- a/sdk/codedeploy/src/operation/register_application_revision/builders.rs +++ b/sdk/codedeploy/src/operation/register_application_revision/builders.rs @@ -19,9 +19,9 @@ impl RegisterApplicationRevisionFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl RegisterApplicationRevisionFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::register_application_revision::RegisterApplicationRevision, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::register_application_revision::RegisterApplicationRevisionError, + >, + > { + self.customize_middleware().await + } ///

                          The name of an CodeDeploy application associated with the IAM user or Amazon Web Services account.

                          pub fn application_name( mut self, diff --git a/sdk/codedeploy/src/operation/register_on_premises_instance/builders.rs b/sdk/codedeploy/src/operation/register_on_premises_instance/builders.rs index d6b53e015c5b..2fdcc7674452 100644 --- a/sdk/codedeploy/src/operation/register_on_premises_instance/builders.rs +++ b/sdk/codedeploy/src/operation/register_on_premises_instance/builders.rs @@ -21,9 +21,9 @@ impl RegisterOnPremisesInstanceFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -85,6 +85,22 @@ impl RegisterOnPremisesInstanceFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::register_on_premises_instance::RegisterOnPremisesInstance, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::register_on_premises_instance::RegisterOnPremisesInstanceError, + >, + > { + self.customize_middleware().await + } ///

                          The name of the on-premises instance to register.

                          pub fn instance_name( mut self, diff --git a/sdk/codedeploy/src/operation/remove_tags_from_on_premises_instances/builders.rs b/sdk/codedeploy/src/operation/remove_tags_from_on_premises_instances/builders.rs index e019dc5c35d7..f74c8b63f9db 100644 --- a/sdk/codedeploy/src/operation/remove_tags_from_on_premises_instances/builders.rs +++ b/sdk/codedeploy/src/operation/remove_tags_from_on_premises_instances/builders.rs @@ -19,9 +19,9 @@ impl RemoveTagsFromOnPremisesInstancesFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize(self) -> ::std::result::Result< + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware(self) -> ::std::result::Result< crate::client::customize::CustomizableOperation, ::aws_smithy_http::result::SdkError >{ @@ -64,6 +64,15 @@ impl RemoveTagsFromOnPremisesInstancesFluentBuilder { { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize(self) -> ::std::result::Result< + crate::client::customize::CustomizableOperation, + ::aws_smithy_http::result::SdkError + >{ + self.customize_middleware().await + } /// Appends an item to `tags`. /// /// To override the contents of this collection use [`set_tags`](Self::set_tags). diff --git a/sdk/codedeploy/src/operation/skip_wait_time_for_instance_termination/builders.rs b/sdk/codedeploy/src/operation/skip_wait_time_for_instance_termination/builders.rs index a04f7c786fc9..3cf1a0f26e29 100644 --- a/sdk/codedeploy/src/operation/skip_wait_time_for_instance_termination/builders.rs +++ b/sdk/codedeploy/src/operation/skip_wait_time_for_instance_termination/builders.rs @@ -22,9 +22,9 @@ impl SkipWaitTimeForInstanceTerminationFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize(self) -> ::std::result::Result< + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware(self) -> ::std::result::Result< crate::client::customize::CustomizableOperation, ::aws_smithy_http::result::SdkError >{ @@ -67,6 +67,15 @@ impl SkipWaitTimeForInstanceTerminationFluentBuilder { { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize(self) -> ::std::result::Result< + crate::client::customize::CustomizableOperation, + ::aws_smithy_http::result::SdkError + >{ + self.customize_middleware().await + } ///

                          The unique ID of a blue/green deployment for which you want to skip the instance termination wait time.

                          pub fn deployment_id( mut self, diff --git a/sdk/codedeploy/src/operation/stop_deployment/builders.rs b/sdk/codedeploy/src/operation/stop_deployment/builders.rs index b13efa042543..b526418c0a40 100644 --- a/sdk/codedeploy/src/operation/stop_deployment/builders.rs +++ b/sdk/codedeploy/src/operation/stop_deployment/builders.rs @@ -19,9 +19,9 @@ impl StopDeploymentFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl StopDeploymentFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::stop_deployment::StopDeployment, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                          The unique ID of a deployment.

                          pub fn deployment_id( mut self, diff --git a/sdk/codedeploy/src/operation/tag_resource/builders.rs b/sdk/codedeploy/src/operation/tag_resource/builders.rs index 133eef4638d4..9ceea60dd7de 100644 --- a/sdk/codedeploy/src/operation/tag_resource/builders.rs +++ b/sdk/codedeploy/src/operation/tag_resource/builders.rs @@ -19,9 +19,9 @@ impl TagResourceFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl TagResourceFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::tag_resource::TagResource, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                          The ARN of a resource, such as a CodeDeploy application or deployment group.

                          pub fn resource_arn(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.resource_arn(input.into()); diff --git a/sdk/codedeploy/src/operation/untag_resource/builders.rs b/sdk/codedeploy/src/operation/untag_resource/builders.rs index 01e1052c9b6d..ae7c043b9f2c 100644 --- a/sdk/codedeploy/src/operation/untag_resource/builders.rs +++ b/sdk/codedeploy/src/operation/untag_resource/builders.rs @@ -19,9 +19,9 @@ impl UntagResourceFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl UntagResourceFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::untag_resource::UntagResource, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                          The Amazon Resource Name (ARN) that specifies from which resource to disassociate the tags with the keys in the TagKeys input parameter.

                          pub fn resource_arn(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.resource_arn(input.into()); diff --git a/sdk/codedeploy/src/operation/update_application/builders.rs b/sdk/codedeploy/src/operation/update_application/builders.rs index 440ba37d2929..6aecddea4f2d 100644 --- a/sdk/codedeploy/src/operation/update_application/builders.rs +++ b/sdk/codedeploy/src/operation/update_application/builders.rs @@ -19,9 +19,9 @@ impl UpdateApplicationFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl UpdateApplicationFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::update_application::UpdateApplication, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::update_application::UpdateApplicationError, + >, + > { + self.customize_middleware().await + } ///

                          The current name of the application you want to change.

                          pub fn application_name( mut self, diff --git a/sdk/codedeploy/src/operation/update_deployment_group/builders.rs b/sdk/codedeploy/src/operation/update_deployment_group/builders.rs index c73dc2aa442b..c457278f587c 100644 --- a/sdk/codedeploy/src/operation/update_deployment_group/builders.rs +++ b/sdk/codedeploy/src/operation/update_deployment_group/builders.rs @@ -19,9 +19,9 @@ impl UpdateDeploymentGroupFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl UpdateDeploymentGroupFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::update_deployment_group::UpdateDeploymentGroup, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::update_deployment_group::UpdateDeploymentGroupError, + >, + > { + self.customize_middleware().await + } ///

                          The application name that corresponds to the deployment group to update.

                          pub fn application_name( mut self, diff --git a/sdk/codeguruprofiler/src/operation/add_notification_channels/builders.rs b/sdk/codeguruprofiler/src/operation/add_notification_channels/builders.rs index 32fae04958ac..af7eddbc533c 100644 --- a/sdk/codeguruprofiler/src/operation/add_notification_channels/builders.rs +++ b/sdk/codeguruprofiler/src/operation/add_notification_channels/builders.rs @@ -20,9 +20,9 @@ impl AddNotificationChannelsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -84,6 +84,22 @@ impl AddNotificationChannelsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::add_notification_channels::AddNotificationChannels, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::add_notification_channels::AddNotificationChannelsError, + >, + > { + self.customize_middleware().await + } ///

                          The name of the profiling group that we are setting up notifications for.

                          pub fn profiling_group_name( mut self, diff --git a/sdk/codeguruprofiler/src/operation/batch_get_frame_metric_data/builders.rs b/sdk/codeguruprofiler/src/operation/batch_get_frame_metric_data/builders.rs index 776fc24ce155..d507ea5aea0e 100644 --- a/sdk/codeguruprofiler/src/operation/batch_get_frame_metric_data/builders.rs +++ b/sdk/codeguruprofiler/src/operation/batch_get_frame_metric_data/builders.rs @@ -19,9 +19,9 @@ impl BatchGetFrameMetricDataFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl BatchGetFrameMetricDataFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::batch_get_frame_metric_data::BatchGetFrameMetricData, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::batch_get_frame_metric_data::BatchGetFrameMetricDataError, + >, + > { + self.customize_middleware().await + } ///

                          The name of the profiling group associated with the the frame metrics used to return the time series values.

                          pub fn profiling_group_name( mut self, diff --git a/sdk/codeguruprofiler/src/operation/configure_agent/builders.rs b/sdk/codeguruprofiler/src/operation/configure_agent/builders.rs index 8407dd0fe359..03c93b9baac8 100644 --- a/sdk/codeguruprofiler/src/operation/configure_agent/builders.rs +++ b/sdk/codeguruprofiler/src/operation/configure_agent/builders.rs @@ -19,9 +19,9 @@ impl ConfigureAgentFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl ConfigureAgentFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::configure_agent::ConfigureAgent, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                          The name of the profiling group for which the configured agent is collecting profiling data.

                          pub fn profiling_group_name( mut self, diff --git a/sdk/codeguruprofiler/src/operation/create_profiling_group/builders.rs b/sdk/codeguruprofiler/src/operation/create_profiling_group/builders.rs index 649dcba942d3..cec56cf8a137 100644 --- a/sdk/codeguruprofiler/src/operation/create_profiling_group/builders.rs +++ b/sdk/codeguruprofiler/src/operation/create_profiling_group/builders.rs @@ -19,9 +19,9 @@ impl CreateProfilingGroupFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl CreateProfilingGroupFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::create_profiling_group::CreateProfilingGroup, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::create_profiling_group::CreateProfilingGroupError, + >, + > { + self.customize_middleware().await + } ///

                          The name of the profiling group to create.

                          pub fn profiling_group_name( mut self, diff --git a/sdk/codeguruprofiler/src/operation/delete_profiling_group/builders.rs b/sdk/codeguruprofiler/src/operation/delete_profiling_group/builders.rs index ffd6edc33b41..7975e86245c5 100644 --- a/sdk/codeguruprofiler/src/operation/delete_profiling_group/builders.rs +++ b/sdk/codeguruprofiler/src/operation/delete_profiling_group/builders.rs @@ -19,9 +19,9 @@ impl DeleteProfilingGroupFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl DeleteProfilingGroupFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::delete_profiling_group::DeleteProfilingGroup, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::delete_profiling_group::DeleteProfilingGroupError, + >, + > { + self.customize_middleware().await + } ///

                          The name of the profiling group to delete.

                          pub fn profiling_group_name( mut self, diff --git a/sdk/codeguruprofiler/src/operation/describe_profiling_group/builders.rs b/sdk/codeguruprofiler/src/operation/describe_profiling_group/builders.rs index d7a65c4cd1f8..cc5cd793d209 100644 --- a/sdk/codeguruprofiler/src/operation/describe_profiling_group/builders.rs +++ b/sdk/codeguruprofiler/src/operation/describe_profiling_group/builders.rs @@ -19,9 +19,9 @@ impl DescribeProfilingGroupFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl DescribeProfilingGroupFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::describe_profiling_group::DescribeProfilingGroup, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::describe_profiling_group::DescribeProfilingGroupError, + >, + > { + self.customize_middleware().await + } ///

                          The name of the profiling group to get information about.

                          pub fn profiling_group_name( mut self, diff --git a/sdk/codeguruprofiler/src/operation/get_findings_report_account_summary/builders.rs b/sdk/codeguruprofiler/src/operation/get_findings_report_account_summary/builders.rs index 49deb36170de..478612fb0c89 100644 --- a/sdk/codeguruprofiler/src/operation/get_findings_report_account_summary/builders.rs +++ b/sdk/codeguruprofiler/src/operation/get_findings_report_account_summary/builders.rs @@ -19,9 +19,9 @@ impl GetFindingsReportAccountSummaryFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize(self) -> ::std::result::Result< + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware(self) -> ::std::result::Result< crate::client::customize::CustomizableOperation, ::aws_smithy_http::result::SdkError >{ @@ -64,6 +64,15 @@ impl GetFindingsReportAccountSummaryFluentBuilder { { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize(self) -> ::std::result::Result< + crate::client::customize::CustomizableOperation, + ::aws_smithy_http::result::SdkError + >{ + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::get_findings_report_account_summary::paginator::GetFindingsReportAccountSummaryPaginator::send) which returns a `Stream`. diff --git a/sdk/codeguruprofiler/src/operation/get_notification_configuration/builders.rs b/sdk/codeguruprofiler/src/operation/get_notification_configuration/builders.rs index 299fb4b7ed21..c8b27dbc2db2 100644 --- a/sdk/codeguruprofiler/src/operation/get_notification_configuration/builders.rs +++ b/sdk/codeguruprofiler/src/operation/get_notification_configuration/builders.rs @@ -19,9 +19,9 @@ impl GetNotificationConfigurationFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl GetNotificationConfigurationFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::get_notification_configuration::GetNotificationConfiguration, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::get_notification_configuration::GetNotificationConfigurationError, + >, + > { + self.customize_middleware().await + } ///

                          The name of the profiling group we want to get the notification configuration for.

                          pub fn profiling_group_name( mut self, diff --git a/sdk/codeguruprofiler/src/operation/get_policy/builders.rs b/sdk/codeguruprofiler/src/operation/get_policy/builders.rs index aaeab73fb998..1fcc05a3a35e 100644 --- a/sdk/codeguruprofiler/src/operation/get_policy/builders.rs +++ b/sdk/codeguruprofiler/src/operation/get_policy/builders.rs @@ -19,9 +19,9 @@ impl GetPolicyFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl GetPolicyFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::get_policy::GetPolicy, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                          The name of the profiling group.

                          pub fn profiling_group_name( mut self, diff --git a/sdk/codeguruprofiler/src/operation/get_profile/builders.rs b/sdk/codeguruprofiler/src/operation/get_profile/builders.rs index da1cdf5e70ed..563e550cbd45 100644 --- a/sdk/codeguruprofiler/src/operation/get_profile/builders.rs +++ b/sdk/codeguruprofiler/src/operation/get_profile/builders.rs @@ -33,9 +33,9 @@ impl GetProfileFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -91,6 +91,20 @@ impl GetProfileFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::get_profile::GetProfile, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                          The name of the profiling group to get.

                          pub fn profiling_group_name( mut self, diff --git a/sdk/codeguruprofiler/src/operation/get_recommendations/builders.rs b/sdk/codeguruprofiler/src/operation/get_recommendations/builders.rs index dda59c67c306..f1adc8c6decb 100644 --- a/sdk/codeguruprofiler/src/operation/get_recommendations/builders.rs +++ b/sdk/codeguruprofiler/src/operation/get_recommendations/builders.rs @@ -19,9 +19,9 @@ impl GetRecommendationsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl GetRecommendationsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::get_recommendations::GetRecommendations, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::get_recommendations::GetRecommendationsError, + >, + > { + self.customize_middleware().await + } ///

                          The name of the profiling group to get analysis data about.

                          pub fn profiling_group_name( mut self, diff --git a/sdk/codeguruprofiler/src/operation/list_findings_reports/builders.rs b/sdk/codeguruprofiler/src/operation/list_findings_reports/builders.rs index e5666b987f0d..9c9096a41de3 100644 --- a/sdk/codeguruprofiler/src/operation/list_findings_reports/builders.rs +++ b/sdk/codeguruprofiler/src/operation/list_findings_reports/builders.rs @@ -19,9 +19,9 @@ impl ListFindingsReportsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl ListFindingsReportsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_findings_reports::ListFindingsReports, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::list_findings_reports::ListFindingsReportsError, + >, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::list_findings_reports::paginator::ListFindingsReportsPaginator::send) which returns a `Stream`. diff --git a/sdk/codeguruprofiler/src/operation/list_profile_times/builders.rs b/sdk/codeguruprofiler/src/operation/list_profile_times/builders.rs index 64671ee54ff6..9f95577cbb38 100644 --- a/sdk/codeguruprofiler/src/operation/list_profile_times/builders.rs +++ b/sdk/codeguruprofiler/src/operation/list_profile_times/builders.rs @@ -19,9 +19,9 @@ impl ListProfileTimesFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl ListProfileTimesFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_profile_times::ListProfileTimes, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::list_profile_times::ListProfileTimesError, + >, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::list_profile_times::paginator::ListProfileTimesPaginator::send) which returns a `Stream`. diff --git a/sdk/codeguruprofiler/src/operation/list_profiling_groups/builders.rs b/sdk/codeguruprofiler/src/operation/list_profiling_groups/builders.rs index c2cbb90c8b4c..4ee345c8e12b 100644 --- a/sdk/codeguruprofiler/src/operation/list_profiling_groups/builders.rs +++ b/sdk/codeguruprofiler/src/operation/list_profiling_groups/builders.rs @@ -19,9 +19,9 @@ impl ListProfilingGroupsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl ListProfilingGroupsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_profiling_groups::ListProfilingGroups, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::list_profiling_groups::ListProfilingGroupsError, + >, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::list_profiling_groups::paginator::ListProfilingGroupsPaginator::send) which returns a `Stream`. diff --git a/sdk/codeguruprofiler/src/operation/list_tags_for_resource/builders.rs b/sdk/codeguruprofiler/src/operation/list_tags_for_resource/builders.rs index 5c0fe38a8eef..3725111d008b 100644 --- a/sdk/codeguruprofiler/src/operation/list_tags_for_resource/builders.rs +++ b/sdk/codeguruprofiler/src/operation/list_tags_for_resource/builders.rs @@ -19,9 +19,9 @@ impl ListTagsForResourceFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl ListTagsForResourceFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_tags_for_resource::ListTagsForResource, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::list_tags_for_resource::ListTagsForResourceError, + >, + > { + self.customize_middleware().await + } ///

                          The Amazon Resource Name (ARN) of the resource that contains the tags to return.

                          pub fn resource_arn(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.resource_arn(input.into()); diff --git a/sdk/codeguruprofiler/src/operation/post_agent_profile/builders.rs b/sdk/codeguruprofiler/src/operation/post_agent_profile/builders.rs index d91494bfc33a..be5ca0e219b2 100644 --- a/sdk/codeguruprofiler/src/operation/post_agent_profile/builders.rs +++ b/sdk/codeguruprofiler/src/operation/post_agent_profile/builders.rs @@ -19,9 +19,9 @@ impl PostAgentProfileFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl PostAgentProfileFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::post_agent_profile::PostAgentProfile, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::post_agent_profile::PostAgentProfileError, + >, + > { + self.customize_middleware().await + } ///

                          The name of the profiling group with the aggregated profile that receives the submitted profiling data.

                          pub fn profiling_group_name( mut self, diff --git a/sdk/codeguruprofiler/src/operation/put_permission/builders.rs b/sdk/codeguruprofiler/src/operation/put_permission/builders.rs index 3f3727dc5560..d5142c6c6a65 100644 --- a/sdk/codeguruprofiler/src/operation/put_permission/builders.rs +++ b/sdk/codeguruprofiler/src/operation/put_permission/builders.rs @@ -22,9 +22,9 @@ impl PutPermissionFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -80,6 +80,20 @@ impl PutPermissionFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::put_permission::PutPermission, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                          The name of the profiling group to grant access to.

                          pub fn profiling_group_name( mut self, diff --git a/sdk/codeguruprofiler/src/operation/remove_notification_channel/builders.rs b/sdk/codeguruprofiler/src/operation/remove_notification_channel/builders.rs index b1963d17dadf..815235720604 100644 --- a/sdk/codeguruprofiler/src/operation/remove_notification_channel/builders.rs +++ b/sdk/codeguruprofiler/src/operation/remove_notification_channel/builders.rs @@ -19,9 +19,9 @@ impl RemoveNotificationChannelFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl RemoveNotificationChannelFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::remove_notification_channel::RemoveNotificationChannel, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::remove_notification_channel::RemoveNotificationChannelError, + >, + > { + self.customize_middleware().await + } ///

                          The name of the profiling group we want to change notification configuration for.

                          pub fn profiling_group_name( mut self, diff --git a/sdk/codeguruprofiler/src/operation/remove_permission/builders.rs b/sdk/codeguruprofiler/src/operation/remove_permission/builders.rs index 21d6e517d75e..05ff56abb89a 100644 --- a/sdk/codeguruprofiler/src/operation/remove_permission/builders.rs +++ b/sdk/codeguruprofiler/src/operation/remove_permission/builders.rs @@ -19,9 +19,9 @@ impl RemovePermissionFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl RemovePermissionFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::remove_permission::RemovePermission, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::remove_permission::RemovePermissionError, + >, + > { + self.customize_middleware().await + } ///

                          The name of the profiling group.

                          pub fn profiling_group_name( mut self, diff --git a/sdk/codeguruprofiler/src/operation/submit_feedback/builders.rs b/sdk/codeguruprofiler/src/operation/submit_feedback/builders.rs index 77c120fe0c4e..03d850279fb9 100644 --- a/sdk/codeguruprofiler/src/operation/submit_feedback/builders.rs +++ b/sdk/codeguruprofiler/src/operation/submit_feedback/builders.rs @@ -19,9 +19,9 @@ impl SubmitFeedbackFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl SubmitFeedbackFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::submit_feedback::SubmitFeedback, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                          The name of the profiling group that is associated with the analysis data.

                          pub fn profiling_group_name( mut self, diff --git a/sdk/codeguruprofiler/src/operation/tag_resource/builders.rs b/sdk/codeguruprofiler/src/operation/tag_resource/builders.rs index 331623f3e07f..3834ffdd00dd 100644 --- a/sdk/codeguruprofiler/src/operation/tag_resource/builders.rs +++ b/sdk/codeguruprofiler/src/operation/tag_resource/builders.rs @@ -19,9 +19,9 @@ impl TagResourceFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl TagResourceFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::tag_resource::TagResource, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                          The Amazon Resource Name (ARN) of the resource that the tags are added to.

                          pub fn resource_arn(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.resource_arn(input.into()); diff --git a/sdk/codeguruprofiler/src/operation/untag_resource/builders.rs b/sdk/codeguruprofiler/src/operation/untag_resource/builders.rs index c56b80170e49..b18fbce84177 100644 --- a/sdk/codeguruprofiler/src/operation/untag_resource/builders.rs +++ b/sdk/codeguruprofiler/src/operation/untag_resource/builders.rs @@ -19,9 +19,9 @@ impl UntagResourceFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl UntagResourceFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::untag_resource::UntagResource, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                          The Amazon Resource Name (ARN) of the resource that contains the tags to remove.

                          pub fn resource_arn(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.resource_arn(input.into()); diff --git a/sdk/codeguruprofiler/src/operation/update_profiling_group/builders.rs b/sdk/codeguruprofiler/src/operation/update_profiling_group/builders.rs index ee7eddf64e33..ddaeb756a800 100644 --- a/sdk/codeguruprofiler/src/operation/update_profiling_group/builders.rs +++ b/sdk/codeguruprofiler/src/operation/update_profiling_group/builders.rs @@ -19,9 +19,9 @@ impl UpdateProfilingGroupFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl UpdateProfilingGroupFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::update_profiling_group::UpdateProfilingGroup, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::update_profiling_group::UpdateProfilingGroupError, + >, + > { + self.customize_middleware().await + } ///

                          The name of the profiling group to update.

                          pub fn profiling_group_name( mut self, diff --git a/sdk/codegurureviewer/src/operation/associate_repository/builders.rs b/sdk/codegurureviewer/src/operation/associate_repository/builders.rs index 85db68432f71..0fc8f3d0b9db 100644 --- a/sdk/codegurureviewer/src/operation/associate_repository/builders.rs +++ b/sdk/codegurureviewer/src/operation/associate_repository/builders.rs @@ -23,9 +23,9 @@ impl AssociateRepositoryFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -87,6 +87,22 @@ impl AssociateRepositoryFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::associate_repository::AssociateRepository, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::associate_repository::AssociateRepositoryError, + >, + > { + self.customize_middleware().await + } ///

                          The repository to associate.

                          pub fn repository(mut self, input: crate::types::Repository) -> Self { self.inner = self.inner.repository(input); diff --git a/sdk/codegurureviewer/src/operation/create_code_review/builders.rs b/sdk/codegurureviewer/src/operation/create_code_review/builders.rs index 89259c9cfa7a..2e7f587245c3 100644 --- a/sdk/codegurureviewer/src/operation/create_code_review/builders.rs +++ b/sdk/codegurureviewer/src/operation/create_code_review/builders.rs @@ -19,9 +19,9 @@ impl CreateCodeReviewFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl CreateCodeReviewFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::create_code_review::CreateCodeReview, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::create_code_review::CreateCodeReviewError, + >, + > { + self.customize_middleware().await + } ///

                          The name of the code review. The name of each code review in your Amazon Web Services account must be unique.

                          pub fn name(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.name(input.into()); diff --git a/sdk/codegurureviewer/src/operation/describe_code_review/builders.rs b/sdk/codegurureviewer/src/operation/describe_code_review/builders.rs index edd7bd26d4b3..848949bd5c09 100644 --- a/sdk/codegurureviewer/src/operation/describe_code_review/builders.rs +++ b/sdk/codegurureviewer/src/operation/describe_code_review/builders.rs @@ -19,9 +19,9 @@ impl DescribeCodeReviewFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl DescribeCodeReviewFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::describe_code_review::DescribeCodeReview, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::describe_code_review::DescribeCodeReviewError, + >, + > { + self.customize_middleware().await + } ///

                          The Amazon Resource Name (ARN) of the CodeReview object.

                          pub fn code_review_arn( mut self, diff --git a/sdk/codegurureviewer/src/operation/describe_recommendation_feedback/builders.rs b/sdk/codegurureviewer/src/operation/describe_recommendation_feedback/builders.rs index 1273d6e92a79..722c9c60cb9d 100644 --- a/sdk/codegurureviewer/src/operation/describe_recommendation_feedback/builders.rs +++ b/sdk/codegurureviewer/src/operation/describe_recommendation_feedback/builders.rs @@ -19,9 +19,9 @@ impl DescribeRecommendationFeedbackFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl DescribeRecommendationFeedbackFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::describe_recommendation_feedback::DescribeRecommendationFeedback, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::describe_recommendation_feedback::DescribeRecommendationFeedbackError, + >, + > { + self.customize_middleware().await + } ///

                          The Amazon Resource Name (ARN) of the CodeReview object.

                          pub fn code_review_arn( mut self, diff --git a/sdk/codegurureviewer/src/operation/describe_repository_association/builders.rs b/sdk/codegurureviewer/src/operation/describe_repository_association/builders.rs index 8c1943a4636f..dd8f67be6264 100644 --- a/sdk/codegurureviewer/src/operation/describe_repository_association/builders.rs +++ b/sdk/codegurureviewer/src/operation/describe_repository_association/builders.rs @@ -19,9 +19,9 @@ impl DescribeRepositoryAssociationFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl DescribeRepositoryAssociationFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::describe_repository_association::DescribeRepositoryAssociation, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::describe_repository_association::DescribeRepositoryAssociationError, + >, + > { + self.customize_middleware().await + } ///

                          The Amazon Resource Name (ARN) of the RepositoryAssociation object. You can retrieve this ARN by calling ListRepositoryAssociations.

                          pub fn association_arn( mut self, diff --git a/sdk/codegurureviewer/src/operation/disassociate_repository/builders.rs b/sdk/codegurureviewer/src/operation/disassociate_repository/builders.rs index d6a6361baec3..830a9b0839c8 100644 --- a/sdk/codegurureviewer/src/operation/disassociate_repository/builders.rs +++ b/sdk/codegurureviewer/src/operation/disassociate_repository/builders.rs @@ -19,9 +19,9 @@ impl DisassociateRepositoryFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl DisassociateRepositoryFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::disassociate_repository::DisassociateRepository, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::disassociate_repository::DisassociateRepositoryError, + >, + > { + self.customize_middleware().await + } ///

                          The Amazon Resource Name (ARN) of the RepositoryAssociation object. You can retrieve this ARN by calling ListRepositoryAssociations.

                          pub fn association_arn( mut self, diff --git a/sdk/codegurureviewer/src/operation/list_code_reviews/builders.rs b/sdk/codegurureviewer/src/operation/list_code_reviews/builders.rs index d914fb52936c..4a08f93f8372 100644 --- a/sdk/codegurureviewer/src/operation/list_code_reviews/builders.rs +++ b/sdk/codegurureviewer/src/operation/list_code_reviews/builders.rs @@ -19,9 +19,9 @@ impl ListCodeReviewsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl ListCodeReviewsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_code_reviews::ListCodeReviews, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::list_code_reviews::ListCodeReviewsError, + >, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::list_code_reviews::paginator::ListCodeReviewsPaginator::send) which returns a `Stream`. diff --git a/sdk/codegurureviewer/src/operation/list_recommendation_feedback/builders.rs b/sdk/codegurureviewer/src/operation/list_recommendation_feedback/builders.rs index 28b75d2bd854..626f7f807c52 100644 --- a/sdk/codegurureviewer/src/operation/list_recommendation_feedback/builders.rs +++ b/sdk/codegurureviewer/src/operation/list_recommendation_feedback/builders.rs @@ -19,9 +19,9 @@ impl ListRecommendationFeedbackFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl ListRecommendationFeedbackFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_recommendation_feedback::ListRecommendationFeedback, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::list_recommendation_feedback::ListRecommendationFeedbackError, + >, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::list_recommendation_feedback::paginator::ListRecommendationFeedbackPaginator::send) which returns a `Stream`. diff --git a/sdk/codegurureviewer/src/operation/list_recommendations/builders.rs b/sdk/codegurureviewer/src/operation/list_recommendations/builders.rs index b493bed95c91..46cb4dbcfeb4 100644 --- a/sdk/codegurureviewer/src/operation/list_recommendations/builders.rs +++ b/sdk/codegurureviewer/src/operation/list_recommendations/builders.rs @@ -19,9 +19,9 @@ impl ListRecommendationsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl ListRecommendationsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_recommendations::ListRecommendations, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::list_recommendations::ListRecommendationsError, + >, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::list_recommendations::paginator::ListRecommendationsPaginator::send) which returns a `Stream`. diff --git a/sdk/codegurureviewer/src/operation/list_repository_associations/builders.rs b/sdk/codegurureviewer/src/operation/list_repository_associations/builders.rs index 7177eb9f06e1..4176aa02772d 100644 --- a/sdk/codegurureviewer/src/operation/list_repository_associations/builders.rs +++ b/sdk/codegurureviewer/src/operation/list_repository_associations/builders.rs @@ -19,9 +19,9 @@ impl ListRepositoryAssociationsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl ListRepositoryAssociationsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_repository_associations::ListRepositoryAssociations, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::list_repository_associations::ListRepositoryAssociationsError, + >, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::list_repository_associations::paginator::ListRepositoryAssociationsPaginator::send) which returns a `Stream`. diff --git a/sdk/codegurureviewer/src/operation/list_tags_for_resource/builders.rs b/sdk/codegurureviewer/src/operation/list_tags_for_resource/builders.rs index 6ef6ca76079b..09ea41ef9ff6 100644 --- a/sdk/codegurureviewer/src/operation/list_tags_for_resource/builders.rs +++ b/sdk/codegurureviewer/src/operation/list_tags_for_resource/builders.rs @@ -19,9 +19,9 @@ impl ListTagsForResourceFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl ListTagsForResourceFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_tags_for_resource::ListTagsForResource, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::list_tags_for_resource::ListTagsForResourceError, + >, + > { + self.customize_middleware().await + } ///

                          The Amazon Resource Name (ARN) of the RepositoryAssociation object. You can retrieve this ARN by calling ListRepositoryAssociations.

                          pub fn resource_arn(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.resource_arn(input.into()); diff --git a/sdk/codegurureviewer/src/operation/put_recommendation_feedback/builders.rs b/sdk/codegurureviewer/src/operation/put_recommendation_feedback/builders.rs index ef8d2aa4f4e9..e2c044aedddc 100644 --- a/sdk/codegurureviewer/src/operation/put_recommendation_feedback/builders.rs +++ b/sdk/codegurureviewer/src/operation/put_recommendation_feedback/builders.rs @@ -19,9 +19,9 @@ impl PutRecommendationFeedbackFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl PutRecommendationFeedbackFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::put_recommendation_feedback::PutRecommendationFeedback, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::put_recommendation_feedback::PutRecommendationFeedbackError, + >, + > { + self.customize_middleware().await + } ///

                          The Amazon Resource Name (ARN) of the CodeReview object.

                          pub fn code_review_arn( mut self, diff --git a/sdk/codegurureviewer/src/operation/tag_resource/builders.rs b/sdk/codegurureviewer/src/operation/tag_resource/builders.rs index 2291515cef46..0a9bbfa3235c 100644 --- a/sdk/codegurureviewer/src/operation/tag_resource/builders.rs +++ b/sdk/codegurureviewer/src/operation/tag_resource/builders.rs @@ -19,9 +19,9 @@ impl TagResourceFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl TagResourceFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::tag_resource::TagResource, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                          The Amazon Resource Name (ARN) of the RepositoryAssociation object. You can retrieve this ARN by calling ListRepositoryAssociations.

                          pub fn resource_arn(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.resource_arn(input.into()); diff --git a/sdk/codegurureviewer/src/operation/untag_resource/builders.rs b/sdk/codegurureviewer/src/operation/untag_resource/builders.rs index c315464f82e0..8ff077a3471f 100644 --- a/sdk/codegurureviewer/src/operation/untag_resource/builders.rs +++ b/sdk/codegurureviewer/src/operation/untag_resource/builders.rs @@ -19,9 +19,9 @@ impl UntagResourceFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl UntagResourceFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::untag_resource::UntagResource, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                          The Amazon Resource Name (ARN) of the RepositoryAssociation object. You can retrieve this ARN by calling ListRepositoryAssociations.

                          pub fn resource_arn(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.resource_arn(input.into()); diff --git a/sdk/codepipeline/src/operation/acknowledge_job/builders.rs b/sdk/codepipeline/src/operation/acknowledge_job/builders.rs index 7fc0311063a6..e89246ab108e 100644 --- a/sdk/codepipeline/src/operation/acknowledge_job/builders.rs +++ b/sdk/codepipeline/src/operation/acknowledge_job/builders.rs @@ -19,9 +19,9 @@ impl AcknowledgeJobFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl AcknowledgeJobFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::acknowledge_job::AcknowledgeJob, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                          The unique system-generated ID of the job for which you want to confirm receipt.

                          pub fn job_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.job_id(input.into()); diff --git a/sdk/codepipeline/src/operation/acknowledge_third_party_job/builders.rs b/sdk/codepipeline/src/operation/acknowledge_third_party_job/builders.rs index 67759bfea8ad..4b02d78a9c65 100644 --- a/sdk/codepipeline/src/operation/acknowledge_third_party_job/builders.rs +++ b/sdk/codepipeline/src/operation/acknowledge_third_party_job/builders.rs @@ -19,9 +19,9 @@ impl AcknowledgeThirdPartyJobFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl AcknowledgeThirdPartyJobFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::acknowledge_third_party_job::AcknowledgeThirdPartyJob, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::acknowledge_third_party_job::AcknowledgeThirdPartyJobError, + >, + > { + self.customize_middleware().await + } ///

                          The unique system-generated ID of the job.

                          pub fn job_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.job_id(input.into()); diff --git a/sdk/codepipeline/src/operation/create_custom_action_type/builders.rs b/sdk/codepipeline/src/operation/create_custom_action_type/builders.rs index e93d32689638..b9fb0edcdcd9 100644 --- a/sdk/codepipeline/src/operation/create_custom_action_type/builders.rs +++ b/sdk/codepipeline/src/operation/create_custom_action_type/builders.rs @@ -20,9 +20,9 @@ impl CreateCustomActionTypeFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -84,6 +84,22 @@ impl CreateCustomActionTypeFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::create_custom_action_type::CreateCustomActionType, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::create_custom_action_type::CreateCustomActionTypeError, + >, + > { + self.customize_middleware().await + } ///

                          The category of the custom action, such as a build action or a test action.

                          pub fn category(mut self, input: crate::types::ActionCategory) -> Self { self.inner = self.inner.category(input); diff --git a/sdk/codepipeline/src/operation/create_pipeline/builders.rs b/sdk/codepipeline/src/operation/create_pipeline/builders.rs index 42706cda85be..450ce8d95c2d 100644 --- a/sdk/codepipeline/src/operation/create_pipeline/builders.rs +++ b/sdk/codepipeline/src/operation/create_pipeline/builders.rs @@ -21,9 +21,9 @@ impl CreatePipelineFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -79,6 +79,20 @@ impl CreatePipelineFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::create_pipeline::CreatePipeline, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                          Represents the structure of actions and stages to be performed in the pipeline.

                          pub fn pipeline(mut self, input: crate::types::PipelineDeclaration) -> Self { self.inner = self.inner.pipeline(input); diff --git a/sdk/codepipeline/src/operation/delete_custom_action_type/builders.rs b/sdk/codepipeline/src/operation/delete_custom_action_type/builders.rs index b56ebd0947d8..b31142139775 100644 --- a/sdk/codepipeline/src/operation/delete_custom_action_type/builders.rs +++ b/sdk/codepipeline/src/operation/delete_custom_action_type/builders.rs @@ -22,9 +22,9 @@ impl DeleteCustomActionTypeFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -86,6 +86,22 @@ impl DeleteCustomActionTypeFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::delete_custom_action_type::DeleteCustomActionType, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::delete_custom_action_type::DeleteCustomActionTypeError, + >, + > { + self.customize_middleware().await + } ///

                          The category of the custom action that you want to delete, such as source or deploy.

                          pub fn category(mut self, input: crate::types::ActionCategory) -> Self { self.inner = self.inner.category(input); diff --git a/sdk/codepipeline/src/operation/delete_pipeline/builders.rs b/sdk/codepipeline/src/operation/delete_pipeline/builders.rs index e22e580c16a8..743cfc3d5662 100644 --- a/sdk/codepipeline/src/operation/delete_pipeline/builders.rs +++ b/sdk/codepipeline/src/operation/delete_pipeline/builders.rs @@ -19,9 +19,9 @@ impl DeletePipelineFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl DeletePipelineFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::delete_pipeline::DeletePipeline, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                          The name of the pipeline to be deleted.

                          pub fn name(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.name(input.into()); diff --git a/sdk/codepipeline/src/operation/delete_webhook/builders.rs b/sdk/codepipeline/src/operation/delete_webhook/builders.rs index 8b8c1fb0b675..32aed522724d 100644 --- a/sdk/codepipeline/src/operation/delete_webhook/builders.rs +++ b/sdk/codepipeline/src/operation/delete_webhook/builders.rs @@ -19,9 +19,9 @@ impl DeleteWebhookFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl DeleteWebhookFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::delete_webhook::DeleteWebhook, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                          The name of the webhook you want to delete.

                          pub fn name(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.name(input.into()); diff --git a/sdk/codepipeline/src/operation/deregister_webhook_with_third_party/builders.rs b/sdk/codepipeline/src/operation/deregister_webhook_with_third_party/builders.rs index 2d06b9f989ed..0da1bba8bea8 100644 --- a/sdk/codepipeline/src/operation/deregister_webhook_with_third_party/builders.rs +++ b/sdk/codepipeline/src/operation/deregister_webhook_with_third_party/builders.rs @@ -19,9 +19,9 @@ impl DeregisterWebhookWithThirdPartyFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize(self) -> ::std::result::Result< + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware(self) -> ::std::result::Result< crate::client::customize::CustomizableOperation, ::aws_smithy_http::result::SdkError >{ @@ -64,6 +64,15 @@ impl DeregisterWebhookWithThirdPartyFluentBuilder { { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize(self) -> ::std::result::Result< + crate::client::customize::CustomizableOperation, + ::aws_smithy_http::result::SdkError + >{ + self.customize_middleware().await + } ///

                          The name of the webhook you want to deregister.

                          pub fn webhook_name(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.webhook_name(input.into()); diff --git a/sdk/codepipeline/src/operation/disable_stage_transition/builders.rs b/sdk/codepipeline/src/operation/disable_stage_transition/builders.rs index 3feb426ffdd9..29577f00191a 100644 --- a/sdk/codepipeline/src/operation/disable_stage_transition/builders.rs +++ b/sdk/codepipeline/src/operation/disable_stage_transition/builders.rs @@ -19,9 +19,9 @@ impl DisableStageTransitionFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl DisableStageTransitionFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::disable_stage_transition::DisableStageTransition, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::disable_stage_transition::DisableStageTransitionError, + >, + > { + self.customize_middleware().await + } ///

                          The name of the pipeline in which you want to disable the flow of artifacts from one stage to another.

                          pub fn pipeline_name( mut self, diff --git a/sdk/codepipeline/src/operation/enable_stage_transition/builders.rs b/sdk/codepipeline/src/operation/enable_stage_transition/builders.rs index 12e57289c89d..92c8000ba9a7 100644 --- a/sdk/codepipeline/src/operation/enable_stage_transition/builders.rs +++ b/sdk/codepipeline/src/operation/enable_stage_transition/builders.rs @@ -19,9 +19,9 @@ impl EnableStageTransitionFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl EnableStageTransitionFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::enable_stage_transition::EnableStageTransition, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::enable_stage_transition::EnableStageTransitionError, + >, + > { + self.customize_middleware().await + } ///

                          The name of the pipeline in which you want to enable the flow of artifacts from one stage to another.

                          pub fn pipeline_name( mut self, diff --git a/sdk/codepipeline/src/operation/get_action_type/builders.rs b/sdk/codepipeline/src/operation/get_action_type/builders.rs index 65671ce70603..b821216fb745 100644 --- a/sdk/codepipeline/src/operation/get_action_type/builders.rs +++ b/sdk/codepipeline/src/operation/get_action_type/builders.rs @@ -19,9 +19,9 @@ impl GetActionTypeFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl GetActionTypeFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::get_action_type::GetActionType, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                          Defines what kind of action can be taken in the stage. The following are the valid values:

                          ///
                            ///
                          • Source

                          • diff --git a/sdk/codepipeline/src/operation/get_job_details/builders.rs b/sdk/codepipeline/src/operation/get_job_details/builders.rs index abd53e1d58db..5802bbf7fe90 100644 --- a/sdk/codepipeline/src/operation/get_job_details/builders.rs +++ b/sdk/codepipeline/src/operation/get_job_details/builders.rs @@ -21,9 +21,9 @@ impl GetJobDetailsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -79,6 +79,20 @@ impl GetJobDetailsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::get_job_details::GetJobDetails, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                            The unique system-generated ID for the job.

                            pub fn job_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.job_id(input.into()); diff --git a/sdk/codepipeline/src/operation/get_pipeline/builders.rs b/sdk/codepipeline/src/operation/get_pipeline/builders.rs index bd6a829c8e5b..413f1eb60f69 100644 --- a/sdk/codepipeline/src/operation/get_pipeline/builders.rs +++ b/sdk/codepipeline/src/operation/get_pipeline/builders.rs @@ -19,9 +19,9 @@ impl GetPipelineFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl GetPipelineFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::get_pipeline::GetPipeline, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                            The name of the pipeline for which you want to get information. Pipeline names must be unique under an AWS user account.

                            pub fn name(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.name(input.into()); diff --git a/sdk/codepipeline/src/operation/get_pipeline_execution/builders.rs b/sdk/codepipeline/src/operation/get_pipeline_execution/builders.rs index e4e5a25e5151..bf833e2e6165 100644 --- a/sdk/codepipeline/src/operation/get_pipeline_execution/builders.rs +++ b/sdk/codepipeline/src/operation/get_pipeline_execution/builders.rs @@ -19,9 +19,9 @@ impl GetPipelineExecutionFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl GetPipelineExecutionFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::get_pipeline_execution::GetPipelineExecution, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::get_pipeline_execution::GetPipelineExecutionError, + >, + > { + self.customize_middleware().await + } ///

                            The name of the pipeline about which you want to get execution details.

                            pub fn pipeline_name( mut self, diff --git a/sdk/codepipeline/src/operation/get_pipeline_state/builders.rs b/sdk/codepipeline/src/operation/get_pipeline_state/builders.rs index 9a19f115c30f..0d199f9e7676 100644 --- a/sdk/codepipeline/src/operation/get_pipeline_state/builders.rs +++ b/sdk/codepipeline/src/operation/get_pipeline_state/builders.rs @@ -21,9 +21,9 @@ impl GetPipelineStateFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -85,6 +85,22 @@ impl GetPipelineStateFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::get_pipeline_state::GetPipelineState, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::get_pipeline_state::GetPipelineStateError, + >, + > { + self.customize_middleware().await + } ///

                            The name of the pipeline about which you want to get information.

                            pub fn name(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.name(input.into()); diff --git a/sdk/codepipeline/src/operation/get_third_party_job_details/builders.rs b/sdk/codepipeline/src/operation/get_third_party_job_details/builders.rs index d3adbf3d584d..cfce61ae0396 100644 --- a/sdk/codepipeline/src/operation/get_third_party_job_details/builders.rs +++ b/sdk/codepipeline/src/operation/get_third_party_job_details/builders.rs @@ -21,9 +21,9 @@ impl GetThirdPartyJobDetailsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -85,6 +85,22 @@ impl GetThirdPartyJobDetailsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::get_third_party_job_details::GetThirdPartyJobDetails, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::get_third_party_job_details::GetThirdPartyJobDetailsError, + >, + > { + self.customize_middleware().await + } ///

                            The unique system-generated ID used for identifying the job.

                            pub fn job_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.job_id(input.into()); diff --git a/sdk/codepipeline/src/operation/list_action_executions/builders.rs b/sdk/codepipeline/src/operation/list_action_executions/builders.rs index 0e6de0188a3c..b2511050350f 100644 --- a/sdk/codepipeline/src/operation/list_action_executions/builders.rs +++ b/sdk/codepipeline/src/operation/list_action_executions/builders.rs @@ -19,9 +19,9 @@ impl ListActionExecutionsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl ListActionExecutionsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_action_executions::ListActionExecutions, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::list_action_executions::ListActionExecutionsError, + >, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::list_action_executions::paginator::ListActionExecutionsPaginator::send) which returns a `Stream`. diff --git a/sdk/codepipeline/src/operation/list_action_types/builders.rs b/sdk/codepipeline/src/operation/list_action_types/builders.rs index 9050af0da7c3..ec550c9ef4f4 100644 --- a/sdk/codepipeline/src/operation/list_action_types/builders.rs +++ b/sdk/codepipeline/src/operation/list_action_types/builders.rs @@ -19,9 +19,9 @@ impl ListActionTypesFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl ListActionTypesFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_action_types::ListActionTypes, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::list_action_types::ListActionTypesError, + >, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::list_action_types::paginator::ListActionTypesPaginator::send) which returns a `Stream`. diff --git a/sdk/codepipeline/src/operation/list_pipeline_executions/builders.rs b/sdk/codepipeline/src/operation/list_pipeline_executions/builders.rs index 225d4e297f00..0c13a42c7907 100644 --- a/sdk/codepipeline/src/operation/list_pipeline_executions/builders.rs +++ b/sdk/codepipeline/src/operation/list_pipeline_executions/builders.rs @@ -19,9 +19,9 @@ impl ListPipelineExecutionsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl ListPipelineExecutionsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_pipeline_executions::ListPipelineExecutions, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::list_pipeline_executions::ListPipelineExecutionsError, + >, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::list_pipeline_executions::paginator::ListPipelineExecutionsPaginator::send) which returns a `Stream`. diff --git a/sdk/codepipeline/src/operation/list_pipelines/builders.rs b/sdk/codepipeline/src/operation/list_pipelines/builders.rs index 73b76d1e1017..1845a43db53f 100644 --- a/sdk/codepipeline/src/operation/list_pipelines/builders.rs +++ b/sdk/codepipeline/src/operation/list_pipelines/builders.rs @@ -19,9 +19,9 @@ impl ListPipelinesFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl ListPipelinesFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_pipelines::ListPipelines, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::list_pipelines::paginator::ListPipelinesPaginator::send) which returns a `Stream`. diff --git a/sdk/codepipeline/src/operation/list_tags_for_resource/builders.rs b/sdk/codepipeline/src/operation/list_tags_for_resource/builders.rs index 3b02402c74f8..af01a0e25591 100644 --- a/sdk/codepipeline/src/operation/list_tags_for_resource/builders.rs +++ b/sdk/codepipeline/src/operation/list_tags_for_resource/builders.rs @@ -19,9 +19,9 @@ impl ListTagsForResourceFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl ListTagsForResourceFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_tags_for_resource::ListTagsForResource, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::list_tags_for_resource::ListTagsForResourceError, + >, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::list_tags_for_resource::paginator::ListTagsForResourcePaginator::send) which returns a `Stream`. diff --git a/sdk/codepipeline/src/operation/list_webhooks/builders.rs b/sdk/codepipeline/src/operation/list_webhooks/builders.rs index 748c3f2c5ae8..f709c91c8b58 100644 --- a/sdk/codepipeline/src/operation/list_webhooks/builders.rs +++ b/sdk/codepipeline/src/operation/list_webhooks/builders.rs @@ -19,9 +19,9 @@ impl ListWebhooksFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl ListWebhooksFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_webhooks::ListWebhooks, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::list_webhooks::paginator::ListWebhooksPaginator::send) which returns a `Stream`. diff --git a/sdk/codepipeline/src/operation/poll_for_jobs/builders.rs b/sdk/codepipeline/src/operation/poll_for_jobs/builders.rs index 28cd5a90857c..30c3485c2708 100644 --- a/sdk/codepipeline/src/operation/poll_for_jobs/builders.rs +++ b/sdk/codepipeline/src/operation/poll_for_jobs/builders.rs @@ -21,9 +21,9 @@ impl PollForJobsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -79,6 +79,20 @@ impl PollForJobsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::poll_for_jobs::PollForJobs, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                            Represents information about an action type.

                            pub fn action_type_id(mut self, input: crate::types::ActionTypeId) -> Self { self.inner = self.inner.action_type_id(input); diff --git a/sdk/codepipeline/src/operation/poll_for_third_party_jobs/builders.rs b/sdk/codepipeline/src/operation/poll_for_third_party_jobs/builders.rs index 3f1310482e05..42022e4a15fa 100644 --- a/sdk/codepipeline/src/operation/poll_for_third_party_jobs/builders.rs +++ b/sdk/codepipeline/src/operation/poll_for_third_party_jobs/builders.rs @@ -21,9 +21,9 @@ impl PollForThirdPartyJobsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -85,6 +85,22 @@ impl PollForThirdPartyJobsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::poll_for_third_party_jobs::PollForThirdPartyJobs, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::poll_for_third_party_jobs::PollForThirdPartyJobsError, + >, + > { + self.customize_middleware().await + } ///

                            Represents information about an action type.

                            pub fn action_type_id(mut self, input: crate::types::ActionTypeId) -> Self { self.inner = self.inner.action_type_id(input); diff --git a/sdk/codepipeline/src/operation/put_action_revision/builders.rs b/sdk/codepipeline/src/operation/put_action_revision/builders.rs index bdb3f460a29f..88f935de73d5 100644 --- a/sdk/codepipeline/src/operation/put_action_revision/builders.rs +++ b/sdk/codepipeline/src/operation/put_action_revision/builders.rs @@ -19,9 +19,9 @@ impl PutActionRevisionFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl PutActionRevisionFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::put_action_revision::PutActionRevision, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::put_action_revision::PutActionRevisionError, + >, + > { + self.customize_middleware().await + } ///

                            The name of the pipeline that starts processing the revision to the source.

                            pub fn pipeline_name( mut self, diff --git a/sdk/codepipeline/src/operation/put_approval_result/builders.rs b/sdk/codepipeline/src/operation/put_approval_result/builders.rs index 33909455741e..e39663d7d133 100644 --- a/sdk/codepipeline/src/operation/put_approval_result/builders.rs +++ b/sdk/codepipeline/src/operation/put_approval_result/builders.rs @@ -19,9 +19,9 @@ impl PutApprovalResultFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl PutApprovalResultFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::put_approval_result::PutApprovalResult, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::put_approval_result::PutApprovalResultError, + >, + > { + self.customize_middleware().await + } ///

                            The name of the pipeline that contains the action.

                            pub fn pipeline_name( mut self, diff --git a/sdk/codepipeline/src/operation/put_job_failure_result/builders.rs b/sdk/codepipeline/src/operation/put_job_failure_result/builders.rs index 59eab294fd07..fd908733bca1 100644 --- a/sdk/codepipeline/src/operation/put_job_failure_result/builders.rs +++ b/sdk/codepipeline/src/operation/put_job_failure_result/builders.rs @@ -19,9 +19,9 @@ impl PutJobFailureResultFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl PutJobFailureResultFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::put_job_failure_result::PutJobFailureResult, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::put_job_failure_result::PutJobFailureResultError, + >, + > { + self.customize_middleware().await + } ///

                            The unique system-generated ID of the job that failed. This is the same ID returned from PollForJobs.

                            pub fn job_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.job_id(input.into()); diff --git a/sdk/codepipeline/src/operation/put_job_success_result/builders.rs b/sdk/codepipeline/src/operation/put_job_success_result/builders.rs index f1efd79bcb20..a7c98b5895c6 100644 --- a/sdk/codepipeline/src/operation/put_job_success_result/builders.rs +++ b/sdk/codepipeline/src/operation/put_job_success_result/builders.rs @@ -19,9 +19,9 @@ impl PutJobSuccessResultFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl PutJobSuccessResultFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::put_job_success_result::PutJobSuccessResult, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::put_job_success_result::PutJobSuccessResultError, + >, + > { + self.customize_middleware().await + } ///

                            The unique system-generated ID of the job that succeeded. This is the same ID returned from PollForJobs.

                            pub fn job_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.job_id(input.into()); diff --git a/sdk/codepipeline/src/operation/put_third_party_job_failure_result/builders.rs b/sdk/codepipeline/src/operation/put_third_party_job_failure_result/builders.rs index f15b9e12c5a4..e1a2587af8fe 100644 --- a/sdk/codepipeline/src/operation/put_third_party_job_failure_result/builders.rs +++ b/sdk/codepipeline/src/operation/put_third_party_job_failure_result/builders.rs @@ -19,9 +19,9 @@ impl PutThirdPartyJobFailureResultFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize(self) -> ::std::result::Result< + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware(self) -> ::std::result::Result< crate::client::customize::CustomizableOperation, ::aws_smithy_http::result::SdkError >{ @@ -64,6 +64,15 @@ impl PutThirdPartyJobFailureResultFluentBuilder { { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize(self) -> ::std::result::Result< + crate::client::customize::CustomizableOperation, + ::aws_smithy_http::result::SdkError + >{ + self.customize_middleware().await + } ///

                            The ID of the job that failed. This is the same ID returned from PollForThirdPartyJobs.

                            pub fn job_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.job_id(input.into()); diff --git a/sdk/codepipeline/src/operation/put_third_party_job_success_result/builders.rs b/sdk/codepipeline/src/operation/put_third_party_job_success_result/builders.rs index 0a77029632b5..e1a04e25d676 100644 --- a/sdk/codepipeline/src/operation/put_third_party_job_success_result/builders.rs +++ b/sdk/codepipeline/src/operation/put_third_party_job_success_result/builders.rs @@ -19,9 +19,9 @@ impl PutThirdPartyJobSuccessResultFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize(self) -> ::std::result::Result< + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware(self) -> ::std::result::Result< crate::client::customize::CustomizableOperation, ::aws_smithy_http::result::SdkError >{ @@ -64,6 +64,15 @@ impl PutThirdPartyJobSuccessResultFluentBuilder { { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize(self) -> ::std::result::Result< + crate::client::customize::CustomizableOperation, + ::aws_smithy_http::result::SdkError + >{ + self.customize_middleware().await + } ///

                            The ID of the job that successfully completed. This is the same ID returned from PollForThirdPartyJobs.

                            pub fn job_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.job_id(input.into()); diff --git a/sdk/codepipeline/src/operation/put_webhook/builders.rs b/sdk/codepipeline/src/operation/put_webhook/builders.rs index c9884d5f1cba..0ff1e386babf 100644 --- a/sdk/codepipeline/src/operation/put_webhook/builders.rs +++ b/sdk/codepipeline/src/operation/put_webhook/builders.rs @@ -19,9 +19,9 @@ impl PutWebhookFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl PutWebhookFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::put_webhook::PutWebhook, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                            The detail provided in an input file to create the webhook, such as the webhook name, the pipeline name, and the action name. Give the webhook a unique name that helps you identify it. You might name the webhook after the pipeline and action it targets so that you can easily recognize what it's used for later.

                            pub fn webhook(mut self, input: crate::types::WebhookDefinition) -> Self { self.inner = self.inner.webhook(input); diff --git a/sdk/codepipeline/src/operation/register_webhook_with_third_party/builders.rs b/sdk/codepipeline/src/operation/register_webhook_with_third_party/builders.rs index 7e3a712f2163..f152555e4b30 100644 --- a/sdk/codepipeline/src/operation/register_webhook_with_third_party/builders.rs +++ b/sdk/codepipeline/src/operation/register_webhook_with_third_party/builders.rs @@ -19,9 +19,9 @@ impl RegisterWebhookWithThirdPartyFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl RegisterWebhookWithThirdPartyFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::register_webhook_with_third_party::RegisterWebhookWithThirdParty, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::register_webhook_with_third_party::RegisterWebhookWithThirdPartyError, + >, + > { + self.customize_middleware().await + } ///

                            The name of an existing webhook created with PutWebhook to register with a supported third party.

                            pub fn webhook_name(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.webhook_name(input.into()); diff --git a/sdk/codepipeline/src/operation/retry_stage_execution/builders.rs b/sdk/codepipeline/src/operation/retry_stage_execution/builders.rs index 4559d848d237..0d91483ed89f 100644 --- a/sdk/codepipeline/src/operation/retry_stage_execution/builders.rs +++ b/sdk/codepipeline/src/operation/retry_stage_execution/builders.rs @@ -19,9 +19,9 @@ impl RetryStageExecutionFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl RetryStageExecutionFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::retry_stage_execution::RetryStageExecution, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::retry_stage_execution::RetryStageExecutionError, + >, + > { + self.customize_middleware().await + } ///

                            The name of the pipeline that contains the failed stage.

                            pub fn pipeline_name( mut self, diff --git a/sdk/codepipeline/src/operation/start_pipeline_execution/builders.rs b/sdk/codepipeline/src/operation/start_pipeline_execution/builders.rs index 7700c83e13fa..5d8645213360 100644 --- a/sdk/codepipeline/src/operation/start_pipeline_execution/builders.rs +++ b/sdk/codepipeline/src/operation/start_pipeline_execution/builders.rs @@ -19,9 +19,9 @@ impl StartPipelineExecutionFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl StartPipelineExecutionFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::start_pipeline_execution::StartPipelineExecution, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::start_pipeline_execution::StartPipelineExecutionError, + >, + > { + self.customize_middleware().await + } ///

                            The name of the pipeline to start.

                            pub fn name(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.name(input.into()); diff --git a/sdk/codepipeline/src/operation/stop_pipeline_execution/builders.rs b/sdk/codepipeline/src/operation/stop_pipeline_execution/builders.rs index 832e66797d0d..7abaacc16694 100644 --- a/sdk/codepipeline/src/operation/stop_pipeline_execution/builders.rs +++ b/sdk/codepipeline/src/operation/stop_pipeline_execution/builders.rs @@ -19,9 +19,9 @@ impl StopPipelineExecutionFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl StopPipelineExecutionFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::stop_pipeline_execution::StopPipelineExecution, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::stop_pipeline_execution::StopPipelineExecutionError, + >, + > { + self.customize_middleware().await + } ///

                            The name of the pipeline to stop.

                            pub fn pipeline_name( mut self, diff --git a/sdk/codepipeline/src/operation/tag_resource/builders.rs b/sdk/codepipeline/src/operation/tag_resource/builders.rs index 61c5f3288f12..d5c697bfa025 100644 --- a/sdk/codepipeline/src/operation/tag_resource/builders.rs +++ b/sdk/codepipeline/src/operation/tag_resource/builders.rs @@ -19,9 +19,9 @@ impl TagResourceFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl TagResourceFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::tag_resource::TagResource, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                            The Amazon Resource Name (ARN) of the resource you want to add tags to.

                            pub fn resource_arn(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.resource_arn(input.into()); diff --git a/sdk/codepipeline/src/operation/untag_resource/builders.rs b/sdk/codepipeline/src/operation/untag_resource/builders.rs index 2a0aa0f4b8c2..86cff37f9e61 100644 --- a/sdk/codepipeline/src/operation/untag_resource/builders.rs +++ b/sdk/codepipeline/src/operation/untag_resource/builders.rs @@ -19,9 +19,9 @@ impl UntagResourceFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl UntagResourceFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::untag_resource::UntagResource, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                            The Amazon Resource Name (ARN) of the resource to remove tags from.

                            pub fn resource_arn(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.resource_arn(input.into()); diff --git a/sdk/codepipeline/src/operation/update_action_type/builders.rs b/sdk/codepipeline/src/operation/update_action_type/builders.rs index e7e90583c005..3d3e66aef651 100644 --- a/sdk/codepipeline/src/operation/update_action_type/builders.rs +++ b/sdk/codepipeline/src/operation/update_action_type/builders.rs @@ -19,9 +19,9 @@ impl UpdateActionTypeFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl UpdateActionTypeFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::update_action_type::UpdateActionType, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::update_action_type::UpdateActionTypeError, + >, + > { + self.customize_middleware().await + } ///

                            The action type definition for the action type to be updated.

                            pub fn action_type(mut self, input: crate::types::ActionTypeDeclaration) -> Self { self.inner = self.inner.action_type(input); diff --git a/sdk/codepipeline/src/operation/update_pipeline/builders.rs b/sdk/codepipeline/src/operation/update_pipeline/builders.rs index 4aa70770283e..f2f1f0fa5458 100644 --- a/sdk/codepipeline/src/operation/update_pipeline/builders.rs +++ b/sdk/codepipeline/src/operation/update_pipeline/builders.rs @@ -19,9 +19,9 @@ impl UpdatePipelineFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl UpdatePipelineFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::update_pipeline::UpdatePipeline, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                            The name of the pipeline to be updated.

                            pub fn pipeline(mut self, input: crate::types::PipelineDeclaration) -> Self { self.inner = self.inner.pipeline(input); diff --git a/sdk/codestar/src/operation/associate_team_member/builders.rs b/sdk/codestar/src/operation/associate_team_member/builders.rs index 4207f7b4df70..e61f83246951 100644 --- a/sdk/codestar/src/operation/associate_team_member/builders.rs +++ b/sdk/codestar/src/operation/associate_team_member/builders.rs @@ -19,9 +19,9 @@ impl AssociateTeamMemberFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl AssociateTeamMemberFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::associate_team_member::AssociateTeamMember, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::associate_team_member::AssociateTeamMemberError, + >, + > { + self.customize_middleware().await + } ///

                            The ID of the project to which you will add the IAM user.

                            pub fn project_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.project_id(input.into()); diff --git a/sdk/codestar/src/operation/create_project/builders.rs b/sdk/codestar/src/operation/create_project/builders.rs index 65a4e9c5fac5..3b81c4220a18 100644 --- a/sdk/codestar/src/operation/create_project/builders.rs +++ b/sdk/codestar/src/operation/create_project/builders.rs @@ -19,9 +19,9 @@ impl CreateProjectFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl CreateProjectFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::create_project::CreateProject, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                            The display name for the project to be created in AWS CodeStar.

                            pub fn name(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.name(input.into()); diff --git a/sdk/codestar/src/operation/create_user_profile/builders.rs b/sdk/codestar/src/operation/create_user_profile/builders.rs index 55ad678501a9..218cba03233d 100644 --- a/sdk/codestar/src/operation/create_user_profile/builders.rs +++ b/sdk/codestar/src/operation/create_user_profile/builders.rs @@ -19,9 +19,9 @@ impl CreateUserProfileFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl CreateUserProfileFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::create_user_profile::CreateUserProfile, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::create_user_profile::CreateUserProfileError, + >, + > { + self.customize_middleware().await + } ///

                            The Amazon Resource Name (ARN) of the user in IAM.

                            pub fn user_arn(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.user_arn(input.into()); diff --git a/sdk/codestar/src/operation/delete_project/builders.rs b/sdk/codestar/src/operation/delete_project/builders.rs index f902b05eafea..010aacf04ea5 100644 --- a/sdk/codestar/src/operation/delete_project/builders.rs +++ b/sdk/codestar/src/operation/delete_project/builders.rs @@ -19,9 +19,9 @@ impl DeleteProjectFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl DeleteProjectFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::delete_project::DeleteProject, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                            The ID of the project to be deleted in AWS CodeStar.

                            pub fn id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.id(input.into()); diff --git a/sdk/codestar/src/operation/delete_user_profile/builders.rs b/sdk/codestar/src/operation/delete_user_profile/builders.rs index ffab321e477a..79a384f785df 100644 --- a/sdk/codestar/src/operation/delete_user_profile/builders.rs +++ b/sdk/codestar/src/operation/delete_user_profile/builders.rs @@ -19,9 +19,9 @@ impl DeleteUserProfileFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl DeleteUserProfileFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::delete_user_profile::DeleteUserProfile, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::delete_user_profile::DeleteUserProfileError, + >, + > { + self.customize_middleware().await + } ///

                            The Amazon Resource Name (ARN) of the user to delete from AWS CodeStar.

                            pub fn user_arn(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.user_arn(input.into()); diff --git a/sdk/codestar/src/operation/describe_project/builders.rs b/sdk/codestar/src/operation/describe_project/builders.rs index 8c53618f64ac..263ec198bcef 100644 --- a/sdk/codestar/src/operation/describe_project/builders.rs +++ b/sdk/codestar/src/operation/describe_project/builders.rs @@ -19,9 +19,9 @@ impl DescribeProjectFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl DescribeProjectFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::describe_project::DescribeProject, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::describe_project::DescribeProjectError, + >, + > { + self.customize_middleware().await + } ///

                            The ID of the project.

                            pub fn id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.id(input.into()); diff --git a/sdk/codestar/src/operation/describe_user_profile/builders.rs b/sdk/codestar/src/operation/describe_user_profile/builders.rs index 278cb9230247..4f7c52887d3b 100644 --- a/sdk/codestar/src/operation/describe_user_profile/builders.rs +++ b/sdk/codestar/src/operation/describe_user_profile/builders.rs @@ -19,9 +19,9 @@ impl DescribeUserProfileFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl DescribeUserProfileFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::describe_user_profile::DescribeUserProfile, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::describe_user_profile::DescribeUserProfileError, + >, + > { + self.customize_middleware().await + } ///

                            The Amazon Resource Name (ARN) of the user.

                            pub fn user_arn(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.user_arn(input.into()); diff --git a/sdk/codestar/src/operation/disassociate_team_member/builders.rs b/sdk/codestar/src/operation/disassociate_team_member/builders.rs index 4a17802d92ce..51321a44b7f4 100644 --- a/sdk/codestar/src/operation/disassociate_team_member/builders.rs +++ b/sdk/codestar/src/operation/disassociate_team_member/builders.rs @@ -19,9 +19,9 @@ impl DisassociateTeamMemberFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl DisassociateTeamMemberFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::disassociate_team_member::DisassociateTeamMember, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::disassociate_team_member::DisassociateTeamMemberError, + >, + > { + self.customize_middleware().await + } ///

                            The ID of the AWS CodeStar project from which you want to remove a team member.

                            pub fn project_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.project_id(input.into()); diff --git a/sdk/codestar/src/operation/list_projects/builders.rs b/sdk/codestar/src/operation/list_projects/builders.rs index 062dbf446e41..49a1a8a43fe8 100644 --- a/sdk/codestar/src/operation/list_projects/builders.rs +++ b/sdk/codestar/src/operation/list_projects/builders.rs @@ -19,9 +19,9 @@ impl ListProjectsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl ListProjectsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_projects::ListProjects, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                            The continuation token to be used to return the next set of results, if the results cannot be returned in one response.

                            pub fn next_token(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.next_token(input.into()); diff --git a/sdk/codestar/src/operation/list_resources/builders.rs b/sdk/codestar/src/operation/list_resources/builders.rs index 41bd809d3bc3..95d4c95be512 100644 --- a/sdk/codestar/src/operation/list_resources/builders.rs +++ b/sdk/codestar/src/operation/list_resources/builders.rs @@ -19,9 +19,9 @@ impl ListResourcesFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl ListResourcesFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_resources::ListResources, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                            The ID of the project.

                            pub fn project_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.project_id(input.into()); diff --git a/sdk/codestar/src/operation/list_tags_for_project/builders.rs b/sdk/codestar/src/operation/list_tags_for_project/builders.rs index b791b195d367..4a1a1c156aeb 100644 --- a/sdk/codestar/src/operation/list_tags_for_project/builders.rs +++ b/sdk/codestar/src/operation/list_tags_for_project/builders.rs @@ -19,9 +19,9 @@ impl ListTagsForProjectFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl ListTagsForProjectFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_tags_for_project::ListTagsForProject, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::list_tags_for_project::ListTagsForProjectError, + >, + > { + self.customize_middleware().await + } ///

                            The ID of the project to get tags for.

                            pub fn id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.id(input.into()); diff --git a/sdk/codestar/src/operation/list_team_members/builders.rs b/sdk/codestar/src/operation/list_team_members/builders.rs index 21d9be8eb160..e5cea7ec31e6 100644 --- a/sdk/codestar/src/operation/list_team_members/builders.rs +++ b/sdk/codestar/src/operation/list_team_members/builders.rs @@ -19,9 +19,9 @@ impl ListTeamMembersFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl ListTeamMembersFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_team_members::ListTeamMembers, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::list_team_members::ListTeamMembersError, + >, + > { + self.customize_middleware().await + } ///

                            The ID of the project for which you want to list team members.

                            pub fn project_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.project_id(input.into()); diff --git a/sdk/codestar/src/operation/list_user_profiles/builders.rs b/sdk/codestar/src/operation/list_user_profiles/builders.rs index d12e2eadfb65..2d4ca9543677 100644 --- a/sdk/codestar/src/operation/list_user_profiles/builders.rs +++ b/sdk/codestar/src/operation/list_user_profiles/builders.rs @@ -19,9 +19,9 @@ impl ListUserProfilesFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl ListUserProfilesFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_user_profiles::ListUserProfiles, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::list_user_profiles::ListUserProfilesError, + >, + > { + self.customize_middleware().await + } ///

                            The continuation token for the next set of results, if the results cannot be returned in one response.

                            pub fn next_token(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.next_token(input.into()); diff --git a/sdk/codestar/src/operation/tag_project/builders.rs b/sdk/codestar/src/operation/tag_project/builders.rs index 4110ad2f6387..388d51841f8d 100644 --- a/sdk/codestar/src/operation/tag_project/builders.rs +++ b/sdk/codestar/src/operation/tag_project/builders.rs @@ -19,9 +19,9 @@ impl TagProjectFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl TagProjectFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::tag_project::TagProject, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                            The ID of the project you want to add a tag to.

                            pub fn id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.id(input.into()); diff --git a/sdk/codestar/src/operation/untag_project/builders.rs b/sdk/codestar/src/operation/untag_project/builders.rs index 8c012b5f5d9b..a2432e0b67df 100644 --- a/sdk/codestar/src/operation/untag_project/builders.rs +++ b/sdk/codestar/src/operation/untag_project/builders.rs @@ -19,9 +19,9 @@ impl UntagProjectFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl UntagProjectFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::untag_project::UntagProject, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                            The ID of the project to remove tags from.

                            pub fn id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.id(input.into()); diff --git a/sdk/codestar/src/operation/update_project/builders.rs b/sdk/codestar/src/operation/update_project/builders.rs index 7056b9caf4f2..112b4fe8f4a2 100644 --- a/sdk/codestar/src/operation/update_project/builders.rs +++ b/sdk/codestar/src/operation/update_project/builders.rs @@ -19,9 +19,9 @@ impl UpdateProjectFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl UpdateProjectFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::update_project::UpdateProject, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                            The ID of the project you want to update.

                            pub fn id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.id(input.into()); diff --git a/sdk/codestar/src/operation/update_team_member/builders.rs b/sdk/codestar/src/operation/update_team_member/builders.rs index 3ef343be0246..2e0df5cb7e7c 100644 --- a/sdk/codestar/src/operation/update_team_member/builders.rs +++ b/sdk/codestar/src/operation/update_team_member/builders.rs @@ -19,9 +19,9 @@ impl UpdateTeamMemberFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl UpdateTeamMemberFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::update_team_member::UpdateTeamMember, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::update_team_member::UpdateTeamMemberError, + >, + > { + self.customize_middleware().await + } ///

                            The ID of the project.

                            pub fn project_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.project_id(input.into()); diff --git a/sdk/codestar/src/operation/update_user_profile/builders.rs b/sdk/codestar/src/operation/update_user_profile/builders.rs index db63e25c1611..2efbc7bc9a7c 100644 --- a/sdk/codestar/src/operation/update_user_profile/builders.rs +++ b/sdk/codestar/src/operation/update_user_profile/builders.rs @@ -19,9 +19,9 @@ impl UpdateUserProfileFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl UpdateUserProfileFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::update_user_profile::UpdateUserProfile, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::update_user_profile::UpdateUserProfileError, + >, + > { + self.customize_middleware().await + } ///

                            The name that will be displayed as the friendly name for the user in AWS CodeStar.

                            pub fn user_arn(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.user_arn(input.into()); diff --git a/sdk/codestarconnections/src/operation/create_connection/builders.rs b/sdk/codestarconnections/src/operation/create_connection/builders.rs index 8aa3bf515100..4656aa9a90d7 100644 --- a/sdk/codestarconnections/src/operation/create_connection/builders.rs +++ b/sdk/codestarconnections/src/operation/create_connection/builders.rs @@ -19,9 +19,9 @@ impl CreateConnectionFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl CreateConnectionFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::create_connection::CreateConnection, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::create_connection::CreateConnectionError, + >, + > { + self.customize_middleware().await + } ///

                            The name of the external provider where your third-party code repository is configured.

                            pub fn provider_type(mut self, input: crate::types::ProviderType) -> Self { self.inner = self.inner.provider_type(input); diff --git a/sdk/codestarconnections/src/operation/create_host/builders.rs b/sdk/codestarconnections/src/operation/create_host/builders.rs index c7fb17f9f698..6320cf12bf27 100644 --- a/sdk/codestarconnections/src/operation/create_host/builders.rs +++ b/sdk/codestarconnections/src/operation/create_host/builders.rs @@ -21,9 +21,9 @@ impl CreateHostFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -79,6 +79,20 @@ impl CreateHostFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::create_host::CreateHost, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                            The name of the host to be created. The name must be unique in the calling AWS account.

                            pub fn name(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.name(input.into()); diff --git a/sdk/codestarconnections/src/operation/delete_connection/builders.rs b/sdk/codestarconnections/src/operation/delete_connection/builders.rs index 5a68a8f759d7..8c0bb80ce929 100644 --- a/sdk/codestarconnections/src/operation/delete_connection/builders.rs +++ b/sdk/codestarconnections/src/operation/delete_connection/builders.rs @@ -19,9 +19,9 @@ impl DeleteConnectionFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl DeleteConnectionFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::delete_connection::DeleteConnection, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::delete_connection::DeleteConnectionError, + >, + > { + self.customize_middleware().await + } ///

                            The Amazon Resource Name (ARN) of the connection to be deleted.

                            ///

                            The ARN is never reused if the connection is deleted.

                            ///
                            diff --git a/sdk/codestarconnections/src/operation/delete_host/builders.rs b/sdk/codestarconnections/src/operation/delete_host/builders.rs index 6b734e9774a5..3e614de9e2b0 100644 --- a/sdk/codestarconnections/src/operation/delete_host/builders.rs +++ b/sdk/codestarconnections/src/operation/delete_host/builders.rs @@ -21,9 +21,9 @@ impl DeleteHostFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -79,6 +79,20 @@ impl DeleteHostFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::delete_host::DeleteHost, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                            The Amazon Resource Name (ARN) of the host to be deleted.

                            pub fn host_arn(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.host_arn(input.into()); diff --git a/sdk/codestarconnections/src/operation/get_connection/builders.rs b/sdk/codestarconnections/src/operation/get_connection/builders.rs index 691d49a9121e..e47602aaba02 100644 --- a/sdk/codestarconnections/src/operation/get_connection/builders.rs +++ b/sdk/codestarconnections/src/operation/get_connection/builders.rs @@ -19,9 +19,9 @@ impl GetConnectionFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl GetConnectionFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::get_connection::GetConnection, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                            The Amazon Resource Name (ARN) of a connection.

                            pub fn connection_arn( mut self, diff --git a/sdk/codestarconnections/src/operation/get_host/builders.rs b/sdk/codestarconnections/src/operation/get_host/builders.rs index f3417d8c7209..851c0bddeb7d 100644 --- a/sdk/codestarconnections/src/operation/get_host/builders.rs +++ b/sdk/codestarconnections/src/operation/get_host/builders.rs @@ -19,9 +19,9 @@ impl GetHostFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl GetHostFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::get_host::GetHost, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                            The Amazon Resource Name (ARN) of the requested host.

                            pub fn host_arn(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.host_arn(input.into()); diff --git a/sdk/codestarconnections/src/operation/list_connections/builders.rs b/sdk/codestarconnections/src/operation/list_connections/builders.rs index 142308e2f9be..f4e80515674c 100644 --- a/sdk/codestarconnections/src/operation/list_connections/builders.rs +++ b/sdk/codestarconnections/src/operation/list_connections/builders.rs @@ -19,9 +19,9 @@ impl ListConnectionsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl ListConnectionsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_connections::ListConnections, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::list_connections::ListConnectionsError, + >, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::list_connections::paginator::ListConnectionsPaginator::send) which returns a `Stream`. diff --git a/sdk/codestarconnections/src/operation/list_hosts/builders.rs b/sdk/codestarconnections/src/operation/list_hosts/builders.rs index a8aae88e6bd0..4c4f21427c23 100644 --- a/sdk/codestarconnections/src/operation/list_hosts/builders.rs +++ b/sdk/codestarconnections/src/operation/list_hosts/builders.rs @@ -19,9 +19,9 @@ impl ListHostsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl ListHostsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_hosts::ListHosts, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::list_hosts::paginator::ListHostsPaginator::send) which returns a `Stream`. diff --git a/sdk/codestarconnections/src/operation/list_tags_for_resource/builders.rs b/sdk/codestarconnections/src/operation/list_tags_for_resource/builders.rs index 28e62daf04d9..f1423051e01f 100644 --- a/sdk/codestarconnections/src/operation/list_tags_for_resource/builders.rs +++ b/sdk/codestarconnections/src/operation/list_tags_for_resource/builders.rs @@ -19,9 +19,9 @@ impl ListTagsForResourceFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl ListTagsForResourceFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_tags_for_resource::ListTagsForResource, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::list_tags_for_resource::ListTagsForResourceError, + >, + > { + self.customize_middleware().await + } ///

                            The Amazon Resource Name (ARN) of the resource for which you want to get information about tags, if any.

                            pub fn resource_arn(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.resource_arn(input.into()); diff --git a/sdk/codestarconnections/src/operation/tag_resource/builders.rs b/sdk/codestarconnections/src/operation/tag_resource/builders.rs index a1d2e126f4c7..49888d259bef 100644 --- a/sdk/codestarconnections/src/operation/tag_resource/builders.rs +++ b/sdk/codestarconnections/src/operation/tag_resource/builders.rs @@ -19,9 +19,9 @@ impl TagResourceFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl TagResourceFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::tag_resource::TagResource, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                            The Amazon Resource Name (ARN) of the resource to which you want to add or update tags.

                            pub fn resource_arn(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.resource_arn(input.into()); diff --git a/sdk/codestarconnections/src/operation/untag_resource/builders.rs b/sdk/codestarconnections/src/operation/untag_resource/builders.rs index 396fcbded9d0..54ce145d8287 100644 --- a/sdk/codestarconnections/src/operation/untag_resource/builders.rs +++ b/sdk/codestarconnections/src/operation/untag_resource/builders.rs @@ -19,9 +19,9 @@ impl UntagResourceFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl UntagResourceFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::untag_resource::UntagResource, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                            The Amazon Resource Name (ARN) of the resource to remove tags from.

                            pub fn resource_arn(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.resource_arn(input.into()); diff --git a/sdk/codestarconnections/src/operation/update_host/builders.rs b/sdk/codestarconnections/src/operation/update_host/builders.rs index 8309bb9f0a15..f42aa67935e2 100644 --- a/sdk/codestarconnections/src/operation/update_host/builders.rs +++ b/sdk/codestarconnections/src/operation/update_host/builders.rs @@ -19,9 +19,9 @@ impl UpdateHostFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl UpdateHostFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::update_host::UpdateHost, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                            The Amazon Resource Name (ARN) of the host to be updated.

                            pub fn host_arn(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.host_arn(input.into()); diff --git a/sdk/codestarnotifications/src/operation/create_notification_rule/builders.rs b/sdk/codestarnotifications/src/operation/create_notification_rule/builders.rs index 4c4c48bfead4..155164032f39 100644 --- a/sdk/codestarnotifications/src/operation/create_notification_rule/builders.rs +++ b/sdk/codestarnotifications/src/operation/create_notification_rule/builders.rs @@ -19,9 +19,9 @@ impl CreateNotificationRuleFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl CreateNotificationRuleFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::create_notification_rule::CreateNotificationRule, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::create_notification_rule::CreateNotificationRuleError, + >, + > { + self.customize_middleware().await + } ///

                            The name for the notification rule. Notification rule names must be unique in your Amazon Web Services account.

                            pub fn name(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.name(input.into()); diff --git a/sdk/codestarnotifications/src/operation/delete_notification_rule/builders.rs b/sdk/codestarnotifications/src/operation/delete_notification_rule/builders.rs index a4d80de18979..e8c46f3c013c 100644 --- a/sdk/codestarnotifications/src/operation/delete_notification_rule/builders.rs +++ b/sdk/codestarnotifications/src/operation/delete_notification_rule/builders.rs @@ -19,9 +19,9 @@ impl DeleteNotificationRuleFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl DeleteNotificationRuleFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::delete_notification_rule::DeleteNotificationRule, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::delete_notification_rule::DeleteNotificationRuleError, + >, + > { + self.customize_middleware().await + } ///

                            The Amazon Resource Name (ARN) of the notification rule you want to delete.

                            pub fn arn(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.arn(input.into()); diff --git a/sdk/codestarnotifications/src/operation/delete_target/builders.rs b/sdk/codestarnotifications/src/operation/delete_target/builders.rs index 2e45a27437db..075d8eacd018 100644 --- a/sdk/codestarnotifications/src/operation/delete_target/builders.rs +++ b/sdk/codestarnotifications/src/operation/delete_target/builders.rs @@ -19,9 +19,9 @@ impl DeleteTargetFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl DeleteTargetFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::delete_target::DeleteTarget, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                            The Amazon Resource Name (ARN) of the Chatbot topic or Chatbot client to delete.

                            pub fn target_address( mut self, diff --git a/sdk/codestarnotifications/src/operation/describe_notification_rule/builders.rs b/sdk/codestarnotifications/src/operation/describe_notification_rule/builders.rs index edee02648fc6..f1da18edebd6 100644 --- a/sdk/codestarnotifications/src/operation/describe_notification_rule/builders.rs +++ b/sdk/codestarnotifications/src/operation/describe_notification_rule/builders.rs @@ -19,9 +19,9 @@ impl DescribeNotificationRuleFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl DescribeNotificationRuleFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::describe_notification_rule::DescribeNotificationRule, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::describe_notification_rule::DescribeNotificationRuleError, + >, + > { + self.customize_middleware().await + } ///

                            The Amazon Resource Name (ARN) of the notification rule.

                            pub fn arn(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.arn(input.into()); diff --git a/sdk/codestarnotifications/src/operation/list_event_types/builders.rs b/sdk/codestarnotifications/src/operation/list_event_types/builders.rs index 7c6aab35d1f5..2deb8c187c35 100644 --- a/sdk/codestarnotifications/src/operation/list_event_types/builders.rs +++ b/sdk/codestarnotifications/src/operation/list_event_types/builders.rs @@ -19,9 +19,9 @@ impl ListEventTypesFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl ListEventTypesFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_event_types::ListEventTypes, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::list_event_types::ListEventTypesError, + >, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::list_event_types::paginator::ListEventTypesPaginator::send) which returns a `Stream`. diff --git a/sdk/codestarnotifications/src/operation/list_notification_rules/builders.rs b/sdk/codestarnotifications/src/operation/list_notification_rules/builders.rs index 046984d0b248..8e6d707ea375 100644 --- a/sdk/codestarnotifications/src/operation/list_notification_rules/builders.rs +++ b/sdk/codestarnotifications/src/operation/list_notification_rules/builders.rs @@ -19,9 +19,9 @@ impl ListNotificationRulesFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl ListNotificationRulesFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_notification_rules::ListNotificationRules, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::list_notification_rules::ListNotificationRulesError, + >, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::list_notification_rules::paginator::ListNotificationRulesPaginator::send) which returns a `Stream`. diff --git a/sdk/codestarnotifications/src/operation/list_tags_for_resource/builders.rs b/sdk/codestarnotifications/src/operation/list_tags_for_resource/builders.rs index 0dda3ae659ce..4ed10ce44eb2 100644 --- a/sdk/codestarnotifications/src/operation/list_tags_for_resource/builders.rs +++ b/sdk/codestarnotifications/src/operation/list_tags_for_resource/builders.rs @@ -19,9 +19,9 @@ impl ListTagsForResourceFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl ListTagsForResourceFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_tags_for_resource::ListTagsForResource, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::list_tags_for_resource::ListTagsForResourceError, + >, + > { + self.customize_middleware().await + } ///

                            The Amazon Resource Name (ARN) for the notification rule.

                            pub fn arn(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.arn(input.into()); diff --git a/sdk/codestarnotifications/src/operation/list_targets/builders.rs b/sdk/codestarnotifications/src/operation/list_targets/builders.rs index 4e765c49daf4..9cfa30293bf1 100644 --- a/sdk/codestarnotifications/src/operation/list_targets/builders.rs +++ b/sdk/codestarnotifications/src/operation/list_targets/builders.rs @@ -19,9 +19,9 @@ impl ListTargetsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl ListTargetsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_targets::ListTargets, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::list_targets::paginator::ListTargetsPaginator::send) which returns a `Stream`. diff --git a/sdk/codestarnotifications/src/operation/subscribe/builders.rs b/sdk/codestarnotifications/src/operation/subscribe/builders.rs index 367dffbda34c..86f36e89cb52 100644 --- a/sdk/codestarnotifications/src/operation/subscribe/builders.rs +++ b/sdk/codestarnotifications/src/operation/subscribe/builders.rs @@ -19,9 +19,9 @@ impl SubscribeFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl SubscribeFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::subscribe::Subscribe, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                            The Amazon Resource Name (ARN) of the notification rule for which you want to create the association.

                            pub fn arn(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.arn(input.into()); diff --git a/sdk/codestarnotifications/src/operation/tag_resource/builders.rs b/sdk/codestarnotifications/src/operation/tag_resource/builders.rs index 6d8854b62a6e..f3a05e005b53 100644 --- a/sdk/codestarnotifications/src/operation/tag_resource/builders.rs +++ b/sdk/codestarnotifications/src/operation/tag_resource/builders.rs @@ -19,9 +19,9 @@ impl TagResourceFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl TagResourceFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::tag_resource::TagResource, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                            The Amazon Resource Name (ARN) of the notification rule to tag.

                            pub fn arn(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.arn(input.into()); diff --git a/sdk/codestarnotifications/src/operation/unsubscribe/builders.rs b/sdk/codestarnotifications/src/operation/unsubscribe/builders.rs index 3492552be267..80fc11e15231 100644 --- a/sdk/codestarnotifications/src/operation/unsubscribe/builders.rs +++ b/sdk/codestarnotifications/src/operation/unsubscribe/builders.rs @@ -19,9 +19,9 @@ impl UnsubscribeFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl UnsubscribeFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::unsubscribe::Unsubscribe, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                            The Amazon Resource Name (ARN) of the notification rule.

                            pub fn arn(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.arn(input.into()); diff --git a/sdk/codestarnotifications/src/operation/untag_resource/builders.rs b/sdk/codestarnotifications/src/operation/untag_resource/builders.rs index 83c137c53aa3..7081146d335d 100644 --- a/sdk/codestarnotifications/src/operation/untag_resource/builders.rs +++ b/sdk/codestarnotifications/src/operation/untag_resource/builders.rs @@ -19,9 +19,9 @@ impl UntagResourceFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl UntagResourceFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::untag_resource::UntagResource, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                            The Amazon Resource Name (ARN) of the notification rule from which to remove the tags.

                            pub fn arn(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.arn(input.into()); diff --git a/sdk/codestarnotifications/src/operation/update_notification_rule/builders.rs b/sdk/codestarnotifications/src/operation/update_notification_rule/builders.rs index aa9d28982140..380f83079110 100644 --- a/sdk/codestarnotifications/src/operation/update_notification_rule/builders.rs +++ b/sdk/codestarnotifications/src/operation/update_notification_rule/builders.rs @@ -21,9 +21,9 @@ impl UpdateNotificationRuleFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -85,6 +85,22 @@ impl UpdateNotificationRuleFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::update_notification_rule::UpdateNotificationRule, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::update_notification_rule::UpdateNotificationRuleError, + >, + > { + self.customize_middleware().await + } ///

                            The Amazon Resource Name (ARN) of the notification rule.

                            pub fn arn(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.arn(input.into()); diff --git a/sdk/cognitoidentity/src/operation/create_identity_pool/builders.rs b/sdk/cognitoidentity/src/operation/create_identity_pool/builders.rs index c521e819f326..16516887be10 100644 --- a/sdk/cognitoidentity/src/operation/create_identity_pool/builders.rs +++ b/sdk/cognitoidentity/src/operation/create_identity_pool/builders.rs @@ -27,9 +27,9 @@ impl CreateIdentityPoolFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -91,6 +91,22 @@ impl CreateIdentityPoolFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::create_identity_pool::CreateIdentityPool, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::create_identity_pool::CreateIdentityPoolError, + >, + > { + self.customize_middleware().await + } ///

                            A string that you provide.

                            pub fn identity_pool_name( mut self, diff --git a/sdk/cognitoidentity/src/operation/delete_identities/builders.rs b/sdk/cognitoidentity/src/operation/delete_identities/builders.rs index fe0880d70cdc..a833fcadb665 100644 --- a/sdk/cognitoidentity/src/operation/delete_identities/builders.rs +++ b/sdk/cognitoidentity/src/operation/delete_identities/builders.rs @@ -20,9 +20,9 @@ impl DeleteIdentitiesFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -84,6 +84,22 @@ impl DeleteIdentitiesFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::delete_identities::DeleteIdentities, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::delete_identities::DeleteIdentitiesError, + >, + > { + self.customize_middleware().await + } /// Appends an item to `IdentityIdsToDelete`. /// /// To override the contents of this collection use [`set_identity_ids_to_delete`](Self::set_identity_ids_to_delete). diff --git a/sdk/cognitoidentity/src/operation/delete_identity_pool/builders.rs b/sdk/cognitoidentity/src/operation/delete_identity_pool/builders.rs index 6f9f3b2973d7..ac1cf9f5af5f 100644 --- a/sdk/cognitoidentity/src/operation/delete_identity_pool/builders.rs +++ b/sdk/cognitoidentity/src/operation/delete_identity_pool/builders.rs @@ -20,9 +20,9 @@ impl DeleteIdentityPoolFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -84,6 +84,22 @@ impl DeleteIdentityPoolFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::delete_identity_pool::DeleteIdentityPool, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::delete_identity_pool::DeleteIdentityPoolError, + >, + > { + self.customize_middleware().await + } ///

                            An identity pool ID in the format REGION:GUID.

                            pub fn identity_pool_id( mut self, diff --git a/sdk/cognitoidentity/src/operation/describe_identity/builders.rs b/sdk/cognitoidentity/src/operation/describe_identity/builders.rs index 4910a50b3d15..ff47c3e69355 100644 --- a/sdk/cognitoidentity/src/operation/describe_identity/builders.rs +++ b/sdk/cognitoidentity/src/operation/describe_identity/builders.rs @@ -20,9 +20,9 @@ impl DescribeIdentityFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -84,6 +84,22 @@ impl DescribeIdentityFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::describe_identity::DescribeIdentity, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::describe_identity::DescribeIdentityError, + >, + > { + self.customize_middleware().await + } ///

                            A unique identifier in the format REGION:GUID.

                            pub fn identity_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.identity_id(input.into()); diff --git a/sdk/cognitoidentity/src/operation/describe_identity_pool/builders.rs b/sdk/cognitoidentity/src/operation/describe_identity_pool/builders.rs index 64fcc7907f8b..0a3141958ef9 100644 --- a/sdk/cognitoidentity/src/operation/describe_identity_pool/builders.rs +++ b/sdk/cognitoidentity/src/operation/describe_identity_pool/builders.rs @@ -20,9 +20,9 @@ impl DescribeIdentityPoolFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -84,6 +84,22 @@ impl DescribeIdentityPoolFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::describe_identity_pool::DescribeIdentityPool, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::describe_identity_pool::DescribeIdentityPoolError, + >, + > { + self.customize_middleware().await + } ///

                            An identity pool ID in the format REGION:GUID.

                            pub fn identity_pool_id( mut self, diff --git a/sdk/cognitoidentity/src/operation/get_credentials_for_identity/builders.rs b/sdk/cognitoidentity/src/operation/get_credentials_for_identity/builders.rs index 262606fef134..f700eba2ce48 100644 --- a/sdk/cognitoidentity/src/operation/get_credentials_for_identity/builders.rs +++ b/sdk/cognitoidentity/src/operation/get_credentials_for_identity/builders.rs @@ -20,9 +20,9 @@ impl GetCredentialsForIdentityFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -84,6 +84,22 @@ impl GetCredentialsForIdentityFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::get_credentials_for_identity::GetCredentialsForIdentity, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::get_credentials_for_identity::GetCredentialsForIdentityError, + >, + > { + self.customize_middleware().await + } ///

                            A unique identifier in the format REGION:GUID.

                            pub fn identity_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.identity_id(input.into()); diff --git a/sdk/cognitoidentity/src/operation/get_id/builders.rs b/sdk/cognitoidentity/src/operation/get_id/builders.rs index 4ee733328a0d..3342b8fb11ad 100644 --- a/sdk/cognitoidentity/src/operation/get_id/builders.rs +++ b/sdk/cognitoidentity/src/operation/get_id/builders.rs @@ -20,9 +20,9 @@ impl GetIdFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -78,6 +78,20 @@ impl GetIdFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::get_id::GetId, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                            A standard AWS account ID (9+ digits).

                            pub fn account_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.account_id(input.into()); diff --git a/sdk/cognitoidentity/src/operation/get_identity_pool_roles/builders.rs b/sdk/cognitoidentity/src/operation/get_identity_pool_roles/builders.rs index 55682dbc42c3..a3d6573b87a0 100644 --- a/sdk/cognitoidentity/src/operation/get_identity_pool_roles/builders.rs +++ b/sdk/cognitoidentity/src/operation/get_identity_pool_roles/builders.rs @@ -20,9 +20,9 @@ impl GetIdentityPoolRolesFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -84,6 +84,22 @@ impl GetIdentityPoolRolesFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::get_identity_pool_roles::GetIdentityPoolRoles, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::get_identity_pool_roles::GetIdentityPoolRolesError, + >, + > { + self.customize_middleware().await + } ///

                            An identity pool ID in the format REGION:GUID.

                            pub fn identity_pool_id( mut self, diff --git a/sdk/cognitoidentity/src/operation/get_open_id_token/builders.rs b/sdk/cognitoidentity/src/operation/get_open_id_token/builders.rs index ce0ae0415d52..74ba5cfa4747 100644 --- a/sdk/cognitoidentity/src/operation/get_open_id_token/builders.rs +++ b/sdk/cognitoidentity/src/operation/get_open_id_token/builders.rs @@ -21,9 +21,9 @@ impl GetOpenIdTokenFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -85,6 +85,22 @@ impl GetOpenIdTokenFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::get_open_id_token::GetOpenIdToken, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::get_open_id_token::GetOpenIdTokenError, + >, + > { + self.customize_middleware().await + } ///

                            A unique identifier in the format REGION:GUID.

                            pub fn identity_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.identity_id(input.into()); diff --git a/sdk/cognitoidentity/src/operation/get_open_id_token_for_developer_identity/builders.rs b/sdk/cognitoidentity/src/operation/get_open_id_token_for_developer_identity/builders.rs index ad514d7ae860..0ecc6da160a2 100644 --- a/sdk/cognitoidentity/src/operation/get_open_id_token_for_developer_identity/builders.rs +++ b/sdk/cognitoidentity/src/operation/get_open_id_token_for_developer_identity/builders.rs @@ -21,9 +21,9 @@ impl GetOpenIdTokenForDeveloperIdentityFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize(self) -> ::std::result::Result< + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware(self) -> ::std::result::Result< crate::client::customize::CustomizableOperation, ::aws_smithy_http::result::SdkError >{ @@ -66,6 +66,15 @@ impl GetOpenIdTokenForDeveloperIdentityFluentBuilder { { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize(self) -> ::std::result::Result< + crate::client::customize::CustomizableOperation, + ::aws_smithy_http::result::SdkError + >{ + self.customize_middleware().await + } ///

                            An identity pool ID in the format REGION:GUID.

                            pub fn identity_pool_id( mut self, diff --git a/sdk/cognitoidentity/src/operation/get_principal_tag_attribute_map/builders.rs b/sdk/cognitoidentity/src/operation/get_principal_tag_attribute_map/builders.rs index dead0025635e..48d82ad8e0bd 100644 --- a/sdk/cognitoidentity/src/operation/get_principal_tag_attribute_map/builders.rs +++ b/sdk/cognitoidentity/src/operation/get_principal_tag_attribute_map/builders.rs @@ -19,9 +19,9 @@ impl GetPrincipalTagAttributeMapFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl GetPrincipalTagAttributeMapFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::get_principal_tag_attribute_map::GetPrincipalTagAttributeMap, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::get_principal_tag_attribute_map::GetPrincipalTagAttributeMapError, + >, + > { + self.customize_middleware().await + } ///

                            You can use this operation to get the ID of the Identity Pool you setup attribute mappings for.

                            pub fn identity_pool_id( mut self, diff --git a/sdk/cognitoidentity/src/operation/list_identities/builders.rs b/sdk/cognitoidentity/src/operation/list_identities/builders.rs index c0887a37e374..c039f8e68265 100644 --- a/sdk/cognitoidentity/src/operation/list_identities/builders.rs +++ b/sdk/cognitoidentity/src/operation/list_identities/builders.rs @@ -20,9 +20,9 @@ impl ListIdentitiesFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -78,6 +78,20 @@ impl ListIdentitiesFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_identities::ListIdentities, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                            An identity pool ID in the format REGION:GUID.

                            pub fn identity_pool_id( mut self, diff --git a/sdk/cognitoidentity/src/operation/list_identity_pools/builders.rs b/sdk/cognitoidentity/src/operation/list_identity_pools/builders.rs index eda436e20c36..b851d8dce84b 100644 --- a/sdk/cognitoidentity/src/operation/list_identity_pools/builders.rs +++ b/sdk/cognitoidentity/src/operation/list_identity_pools/builders.rs @@ -20,9 +20,9 @@ impl ListIdentityPoolsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -84,6 +84,22 @@ impl ListIdentityPoolsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_identity_pools::ListIdentityPools, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::list_identity_pools::ListIdentityPoolsError, + >, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::list_identity_pools::paginator::ListIdentityPoolsPaginator::send) which returns a `Stream`. diff --git a/sdk/cognitoidentity/src/operation/list_tags_for_resource/builders.rs b/sdk/cognitoidentity/src/operation/list_tags_for_resource/builders.rs index 0c4007e5c6ef..9ebb6e8e2b64 100644 --- a/sdk/cognitoidentity/src/operation/list_tags_for_resource/builders.rs +++ b/sdk/cognitoidentity/src/operation/list_tags_for_resource/builders.rs @@ -21,9 +21,9 @@ impl ListTagsForResourceFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -85,6 +85,22 @@ impl ListTagsForResourceFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_tags_for_resource::ListTagsForResource, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::list_tags_for_resource::ListTagsForResourceError, + >, + > { + self.customize_middleware().await + } ///

                            The Amazon Resource Name (ARN) of the identity pool that the tags are assigned to.

                            pub fn resource_arn(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.resource_arn(input.into()); diff --git a/sdk/cognitoidentity/src/operation/lookup_developer_identity/builders.rs b/sdk/cognitoidentity/src/operation/lookup_developer_identity/builders.rs index c8c11b8cba95..3e6ca23e6897 100644 --- a/sdk/cognitoidentity/src/operation/lookup_developer_identity/builders.rs +++ b/sdk/cognitoidentity/src/operation/lookup_developer_identity/builders.rs @@ -22,9 +22,9 @@ impl LookupDeveloperIdentityFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -86,6 +86,22 @@ impl LookupDeveloperIdentityFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::lookup_developer_identity::LookupDeveloperIdentity, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::lookup_developer_identity::LookupDeveloperIdentityError, + >, + > { + self.customize_middleware().await + } ///

                            An identity pool ID in the format REGION:GUID.

                            pub fn identity_pool_id( mut self, diff --git a/sdk/cognitoidentity/src/operation/merge_developer_identities/builders.rs b/sdk/cognitoidentity/src/operation/merge_developer_identities/builders.rs index 90430a1ea6b8..2f682366d5a7 100644 --- a/sdk/cognitoidentity/src/operation/merge_developer_identities/builders.rs +++ b/sdk/cognitoidentity/src/operation/merge_developer_identities/builders.rs @@ -21,9 +21,9 @@ impl MergeDeveloperIdentitiesFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -85,6 +85,22 @@ impl MergeDeveloperIdentitiesFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::merge_developer_identities::MergeDeveloperIdentities, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::merge_developer_identities::MergeDeveloperIdentitiesError, + >, + > { + self.customize_middleware().await + } ///

                            User identifier for the source user. The value should be a DeveloperUserIdentifier.

                            pub fn source_user_identifier( mut self, diff --git a/sdk/cognitoidentity/src/operation/set_identity_pool_roles/builders.rs b/sdk/cognitoidentity/src/operation/set_identity_pool_roles/builders.rs index cb36c075c4c5..f4e0994fda1f 100644 --- a/sdk/cognitoidentity/src/operation/set_identity_pool_roles/builders.rs +++ b/sdk/cognitoidentity/src/operation/set_identity_pool_roles/builders.rs @@ -20,9 +20,9 @@ impl SetIdentityPoolRolesFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -84,6 +84,22 @@ impl SetIdentityPoolRolesFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::set_identity_pool_roles::SetIdentityPoolRoles, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::set_identity_pool_roles::SetIdentityPoolRolesError, + >, + > { + self.customize_middleware().await + } ///

                            An identity pool ID in the format REGION:GUID.

                            pub fn identity_pool_id( mut self, diff --git a/sdk/cognitoidentity/src/operation/set_principal_tag_attribute_map/builders.rs b/sdk/cognitoidentity/src/operation/set_principal_tag_attribute_map/builders.rs index aebd034ac5cd..bdb37bb66bdf 100644 --- a/sdk/cognitoidentity/src/operation/set_principal_tag_attribute_map/builders.rs +++ b/sdk/cognitoidentity/src/operation/set_principal_tag_attribute_map/builders.rs @@ -19,9 +19,9 @@ impl SetPrincipalTagAttributeMapFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl SetPrincipalTagAttributeMapFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::set_principal_tag_attribute_map::SetPrincipalTagAttributeMap, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::set_principal_tag_attribute_map::SetPrincipalTagAttributeMapError, + >, + > { + self.customize_middleware().await + } ///

                            The ID of the Identity Pool you want to set attribute mappings for.

                            pub fn identity_pool_id( mut self, diff --git a/sdk/cognitoidentity/src/operation/tag_resource/builders.rs b/sdk/cognitoidentity/src/operation/tag_resource/builders.rs index 758795e84e29..5d5cd60f0af4 100644 --- a/sdk/cognitoidentity/src/operation/tag_resource/builders.rs +++ b/sdk/cognitoidentity/src/operation/tag_resource/builders.rs @@ -22,9 +22,9 @@ impl TagResourceFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -80,6 +80,20 @@ impl TagResourceFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::tag_resource::TagResource, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                            The Amazon Resource Name (ARN) of the identity pool.

                            pub fn resource_arn(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.resource_arn(input.into()); diff --git a/sdk/cognitoidentity/src/operation/unlink_developer_identity/builders.rs b/sdk/cognitoidentity/src/operation/unlink_developer_identity/builders.rs index a4fab7d9e835..42568035153d 100644 --- a/sdk/cognitoidentity/src/operation/unlink_developer_identity/builders.rs +++ b/sdk/cognitoidentity/src/operation/unlink_developer_identity/builders.rs @@ -21,9 +21,9 @@ impl UnlinkDeveloperIdentityFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -85,6 +85,22 @@ impl UnlinkDeveloperIdentityFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::unlink_developer_identity::UnlinkDeveloperIdentity, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::unlink_developer_identity::UnlinkDeveloperIdentityError, + >, + > { + self.customize_middleware().await + } ///

                            A unique identifier in the format REGION:GUID.

                            pub fn identity_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.identity_id(input.into()); diff --git a/sdk/cognitoidentity/src/operation/unlink_identity/builders.rs b/sdk/cognitoidentity/src/operation/unlink_identity/builders.rs index 8d190aff547e..e2cfd26459cd 100644 --- a/sdk/cognitoidentity/src/operation/unlink_identity/builders.rs +++ b/sdk/cognitoidentity/src/operation/unlink_identity/builders.rs @@ -20,9 +20,9 @@ impl UnlinkIdentityFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -78,6 +78,20 @@ impl UnlinkIdentityFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::unlink_identity::UnlinkIdentity, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                            A unique identifier in the format REGION:GUID.

                            pub fn identity_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.identity_id(input.into()); diff --git a/sdk/cognitoidentity/src/operation/untag_resource/builders.rs b/sdk/cognitoidentity/src/operation/untag_resource/builders.rs index 0985a588efa0..5dd67d452f5d 100644 --- a/sdk/cognitoidentity/src/operation/untag_resource/builders.rs +++ b/sdk/cognitoidentity/src/operation/untag_resource/builders.rs @@ -19,9 +19,9 @@ impl UntagResourceFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl UntagResourceFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::untag_resource::UntagResource, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                            The Amazon Resource Name (ARN) of the identity pool.

                            pub fn resource_arn(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.resource_arn(input.into()); diff --git a/sdk/cognitoidentity/src/operation/update_identity_pool/builders.rs b/sdk/cognitoidentity/src/operation/update_identity_pool/builders.rs index ff50a457ce65..96d52722aebe 100644 --- a/sdk/cognitoidentity/src/operation/update_identity_pool/builders.rs +++ b/sdk/cognitoidentity/src/operation/update_identity_pool/builders.rs @@ -20,9 +20,9 @@ impl UpdateIdentityPoolFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -84,6 +84,22 @@ impl UpdateIdentityPoolFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::update_identity_pool::UpdateIdentityPool, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::update_identity_pool::UpdateIdentityPoolError, + >, + > { + self.customize_middleware().await + } ///

                            An identity pool ID in the format REGION:GUID.

                            pub fn identity_pool_id( mut self, diff --git a/sdk/cognitoidentityprovider/src/operation/add_custom_attributes/builders.rs b/sdk/cognitoidentityprovider/src/operation/add_custom_attributes/builders.rs index eeb2a76c3ec7..898dba0a087b 100644 --- a/sdk/cognitoidentityprovider/src/operation/add_custom_attributes/builders.rs +++ b/sdk/cognitoidentityprovider/src/operation/add_custom_attributes/builders.rs @@ -19,9 +19,9 @@ impl AddCustomAttributesFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl AddCustomAttributesFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::add_custom_attributes::AddCustomAttributes, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::add_custom_attributes::AddCustomAttributesError, + >, + > { + self.customize_middleware().await + } ///

                            The user pool ID for the user pool where you want to add custom attributes.

                            pub fn user_pool_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.user_pool_id(input.into()); diff --git a/sdk/cognitoidentityprovider/src/operation/admin_add_user_to_group/builders.rs b/sdk/cognitoidentityprovider/src/operation/admin_add_user_to_group/builders.rs index c74f5f74acd7..d6f98663146c 100644 --- a/sdk/cognitoidentityprovider/src/operation/admin_add_user_to_group/builders.rs +++ b/sdk/cognitoidentityprovider/src/operation/admin_add_user_to_group/builders.rs @@ -20,9 +20,9 @@ impl AdminAddUserToGroupFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -84,6 +84,22 @@ impl AdminAddUserToGroupFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::admin_add_user_to_group::AdminAddUserToGroup, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::admin_add_user_to_group::AdminAddUserToGroupError, + >, + > { + self.customize_middleware().await + } ///

                            The user pool ID for the user pool.

                            pub fn user_pool_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.user_pool_id(input.into()); diff --git a/sdk/cognitoidentityprovider/src/operation/admin_confirm_sign_up/builders.rs b/sdk/cognitoidentityprovider/src/operation/admin_confirm_sign_up/builders.rs index 59bfe6b0e86e..c419a47b60d4 100644 --- a/sdk/cognitoidentityprovider/src/operation/admin_confirm_sign_up/builders.rs +++ b/sdk/cognitoidentityprovider/src/operation/admin_confirm_sign_up/builders.rs @@ -20,9 +20,9 @@ impl AdminConfirmSignUpFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -84,6 +84,22 @@ impl AdminConfirmSignUpFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::admin_confirm_sign_up::AdminConfirmSignUp, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::admin_confirm_sign_up::AdminConfirmSignUpError, + >, + > { + self.customize_middleware().await + } ///

                            The user pool ID for which you want to confirm user registration.

                            pub fn user_pool_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.user_pool_id(input.into()); diff --git a/sdk/cognitoidentityprovider/src/operation/admin_create_user/builders.rs b/sdk/cognitoidentityprovider/src/operation/admin_create_user/builders.rs index 50f270c0c54d..e24164acd28f 100644 --- a/sdk/cognitoidentityprovider/src/operation/admin_create_user/builders.rs +++ b/sdk/cognitoidentityprovider/src/operation/admin_create_user/builders.rs @@ -27,9 +27,9 @@ impl AdminCreateUserFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -91,6 +91,22 @@ impl AdminCreateUserFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::admin_create_user::AdminCreateUser, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::admin_create_user::AdminCreateUserError, + >, + > { + self.customize_middleware().await + } ///

                            The user pool ID for the user pool where the user will be created.

                            pub fn user_pool_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.user_pool_id(input.into()); diff --git a/sdk/cognitoidentityprovider/src/operation/admin_delete_user/builders.rs b/sdk/cognitoidentityprovider/src/operation/admin_delete_user/builders.rs index 6e010e17a8f8..a98ff4ac123e 100644 --- a/sdk/cognitoidentityprovider/src/operation/admin_delete_user/builders.rs +++ b/sdk/cognitoidentityprovider/src/operation/admin_delete_user/builders.rs @@ -20,9 +20,9 @@ impl AdminDeleteUserFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -84,6 +84,22 @@ impl AdminDeleteUserFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::admin_delete_user::AdminDeleteUser, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::admin_delete_user::AdminDeleteUserError, + >, + > { + self.customize_middleware().await + } ///

                            The user pool ID for the user pool where you want to delete the user.

                            pub fn user_pool_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.user_pool_id(input.into()); diff --git a/sdk/cognitoidentityprovider/src/operation/admin_delete_user_attributes/builders.rs b/sdk/cognitoidentityprovider/src/operation/admin_delete_user_attributes/builders.rs index 5835a91a4403..505fdf1d436b 100644 --- a/sdk/cognitoidentityprovider/src/operation/admin_delete_user_attributes/builders.rs +++ b/sdk/cognitoidentityprovider/src/operation/admin_delete_user_attributes/builders.rs @@ -20,9 +20,9 @@ impl AdminDeleteUserAttributesFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -84,6 +84,22 @@ impl AdminDeleteUserAttributesFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::admin_delete_user_attributes::AdminDeleteUserAttributes, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::admin_delete_user_attributes::AdminDeleteUserAttributesError, + >, + > { + self.customize_middleware().await + } ///

                            The user pool ID for the user pool where you want to delete user attributes.

                            pub fn user_pool_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.user_pool_id(input.into()); diff --git a/sdk/cognitoidentityprovider/src/operation/admin_disable_provider_for_user/builders.rs b/sdk/cognitoidentityprovider/src/operation/admin_disable_provider_for_user/builders.rs index 36304d4dcb36..5075e4ccf4e1 100644 --- a/sdk/cognitoidentityprovider/src/operation/admin_disable_provider_for_user/builders.rs +++ b/sdk/cognitoidentityprovider/src/operation/admin_disable_provider_for_user/builders.rs @@ -24,9 +24,9 @@ impl AdminDisableProviderForUserFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -88,6 +88,22 @@ impl AdminDisableProviderForUserFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::admin_disable_provider_for_user::AdminDisableProviderForUser, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::admin_disable_provider_for_user::AdminDisableProviderForUserError, + >, + > { + self.customize_middleware().await + } ///

                            The user pool ID for the user pool.

                            pub fn user_pool_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.user_pool_id(input.into()); diff --git a/sdk/cognitoidentityprovider/src/operation/admin_disable_user/builders.rs b/sdk/cognitoidentityprovider/src/operation/admin_disable_user/builders.rs index f31da48c3db2..88b388c4a755 100644 --- a/sdk/cognitoidentityprovider/src/operation/admin_disable_user/builders.rs +++ b/sdk/cognitoidentityprovider/src/operation/admin_disable_user/builders.rs @@ -20,9 +20,9 @@ impl AdminDisableUserFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -84,6 +84,22 @@ impl AdminDisableUserFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::admin_disable_user::AdminDisableUser, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::admin_disable_user::AdminDisableUserError, + >, + > { + self.customize_middleware().await + } ///

                            The user pool ID for the user pool where you want to disable the user.

                            pub fn user_pool_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.user_pool_id(input.into()); diff --git a/sdk/cognitoidentityprovider/src/operation/admin_enable_user/builders.rs b/sdk/cognitoidentityprovider/src/operation/admin_enable_user/builders.rs index d9e433c91dc7..2d5a0c61aa0c 100644 --- a/sdk/cognitoidentityprovider/src/operation/admin_enable_user/builders.rs +++ b/sdk/cognitoidentityprovider/src/operation/admin_enable_user/builders.rs @@ -20,9 +20,9 @@ impl AdminEnableUserFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -84,6 +84,22 @@ impl AdminEnableUserFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::admin_enable_user::AdminEnableUser, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::admin_enable_user::AdminEnableUserError, + >, + > { + self.customize_middleware().await + } ///

                            The user pool ID for the user pool where you want to enable the user.

                            pub fn user_pool_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.user_pool_id(input.into()); diff --git a/sdk/cognitoidentityprovider/src/operation/admin_forget_device/builders.rs b/sdk/cognitoidentityprovider/src/operation/admin_forget_device/builders.rs index 93f4e9f67722..e2b8bed67396 100644 --- a/sdk/cognitoidentityprovider/src/operation/admin_forget_device/builders.rs +++ b/sdk/cognitoidentityprovider/src/operation/admin_forget_device/builders.rs @@ -20,9 +20,9 @@ impl AdminForgetDeviceFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -84,6 +84,22 @@ impl AdminForgetDeviceFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::admin_forget_device::AdminForgetDevice, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::admin_forget_device::AdminForgetDeviceError, + >, + > { + self.customize_middleware().await + } ///

                            The user pool ID.

                            pub fn user_pool_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.user_pool_id(input.into()); diff --git a/sdk/cognitoidentityprovider/src/operation/admin_get_device/builders.rs b/sdk/cognitoidentityprovider/src/operation/admin_get_device/builders.rs index 87f104cd6feb..0f1a4ff514ba 100644 --- a/sdk/cognitoidentityprovider/src/operation/admin_get_device/builders.rs +++ b/sdk/cognitoidentityprovider/src/operation/admin_get_device/builders.rs @@ -20,9 +20,9 @@ impl AdminGetDeviceFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -84,6 +84,22 @@ impl AdminGetDeviceFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::admin_get_device::AdminGetDevice, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::admin_get_device::AdminGetDeviceError, + >, + > { + self.customize_middleware().await + } ///

                            The device key.

                            pub fn device_key(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.device_key(input.into()); diff --git a/sdk/cognitoidentityprovider/src/operation/admin_get_user/builders.rs b/sdk/cognitoidentityprovider/src/operation/admin_get_user/builders.rs index 24ab59996314..2149d2e06712 100644 --- a/sdk/cognitoidentityprovider/src/operation/admin_get_user/builders.rs +++ b/sdk/cognitoidentityprovider/src/operation/admin_get_user/builders.rs @@ -20,9 +20,9 @@ impl AdminGetUserFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -78,6 +78,20 @@ impl AdminGetUserFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::admin_get_user::AdminGetUser, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                            The user pool ID for the user pool where you want to get information about the user.

                            pub fn user_pool_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.user_pool_id(input.into()); diff --git a/sdk/cognitoidentityprovider/src/operation/admin_initiate_auth/builders.rs b/sdk/cognitoidentityprovider/src/operation/admin_initiate_auth/builders.rs index a438107e7904..15e3eefe0952 100644 --- a/sdk/cognitoidentityprovider/src/operation/admin_initiate_auth/builders.rs +++ b/sdk/cognitoidentityprovider/src/operation/admin_initiate_auth/builders.rs @@ -23,9 +23,9 @@ impl AdminInitiateAuthFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -87,6 +87,22 @@ impl AdminInitiateAuthFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::admin_initiate_auth::AdminInitiateAuth, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::admin_initiate_auth::AdminInitiateAuthError, + >, + > { + self.customize_middleware().await + } ///

                            The ID of the Amazon Cognito user pool.

                            pub fn user_pool_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.user_pool_id(input.into()); diff --git a/sdk/cognitoidentityprovider/src/operation/admin_link_provider_for_user/builders.rs b/sdk/cognitoidentityprovider/src/operation/admin_link_provider_for_user/builders.rs index d551f92c5260..e6b73d20f13a 100644 --- a/sdk/cognitoidentityprovider/src/operation/admin_link_provider_for_user/builders.rs +++ b/sdk/cognitoidentityprovider/src/operation/admin_link_provider_for_user/builders.rs @@ -25,9 +25,9 @@ impl AdminLinkProviderForUserFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -89,6 +89,22 @@ impl AdminLinkProviderForUserFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::admin_link_provider_for_user::AdminLinkProviderForUser, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::admin_link_provider_for_user::AdminLinkProviderForUserError, + >, + > { + self.customize_middleware().await + } ///

                            The user pool ID for the user pool.

                            pub fn user_pool_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.user_pool_id(input.into()); diff --git a/sdk/cognitoidentityprovider/src/operation/admin_list_devices/builders.rs b/sdk/cognitoidentityprovider/src/operation/admin_list_devices/builders.rs index f8f8398c295b..17656bfcbe68 100644 --- a/sdk/cognitoidentityprovider/src/operation/admin_list_devices/builders.rs +++ b/sdk/cognitoidentityprovider/src/operation/admin_list_devices/builders.rs @@ -20,9 +20,9 @@ impl AdminListDevicesFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -84,6 +84,22 @@ impl AdminListDevicesFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::admin_list_devices::AdminListDevices, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::admin_list_devices::AdminListDevicesError, + >, + > { + self.customize_middleware().await + } ///

                            The user pool ID.

                            pub fn user_pool_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.user_pool_id(input.into()); diff --git a/sdk/cognitoidentityprovider/src/operation/admin_list_groups_for_user/builders.rs b/sdk/cognitoidentityprovider/src/operation/admin_list_groups_for_user/builders.rs index 28c03a35ce27..5774c5aff3f2 100644 --- a/sdk/cognitoidentityprovider/src/operation/admin_list_groups_for_user/builders.rs +++ b/sdk/cognitoidentityprovider/src/operation/admin_list_groups_for_user/builders.rs @@ -21,9 +21,9 @@ impl AdminListGroupsForUserFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -85,6 +85,22 @@ impl AdminListGroupsForUserFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::admin_list_groups_for_user::AdminListGroupsForUser, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::admin_list_groups_for_user::AdminListGroupsForUserError, + >, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::admin_list_groups_for_user::paginator::AdminListGroupsForUserPaginator::send) which returns a `Stream`. diff --git a/sdk/cognitoidentityprovider/src/operation/admin_list_user_auth_events/builders.rs b/sdk/cognitoidentityprovider/src/operation/admin_list_user_auth_events/builders.rs index 37b6f24764ae..0b21d216a471 100644 --- a/sdk/cognitoidentityprovider/src/operation/admin_list_user_auth_events/builders.rs +++ b/sdk/cognitoidentityprovider/src/operation/admin_list_user_auth_events/builders.rs @@ -19,9 +19,9 @@ impl AdminListUserAuthEventsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl AdminListUserAuthEventsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::admin_list_user_auth_events::AdminListUserAuthEvents, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::admin_list_user_auth_events::AdminListUserAuthEventsError, + >, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::admin_list_user_auth_events::paginator::AdminListUserAuthEventsPaginator::send) which returns a `Stream`. diff --git a/sdk/cognitoidentityprovider/src/operation/admin_remove_user_from_group/builders.rs b/sdk/cognitoidentityprovider/src/operation/admin_remove_user_from_group/builders.rs index efa8f3539fc6..1f72545d2675 100644 --- a/sdk/cognitoidentityprovider/src/operation/admin_remove_user_from_group/builders.rs +++ b/sdk/cognitoidentityprovider/src/operation/admin_remove_user_from_group/builders.rs @@ -20,9 +20,9 @@ impl AdminRemoveUserFromGroupFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -84,6 +84,22 @@ impl AdminRemoveUserFromGroupFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::admin_remove_user_from_group::AdminRemoveUserFromGroup, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::admin_remove_user_from_group::AdminRemoveUserFromGroupError, + >, + > { + self.customize_middleware().await + } ///

                            The user pool ID for the user pool.

                            pub fn user_pool_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.user_pool_id(input.into()); diff --git a/sdk/cognitoidentityprovider/src/operation/admin_reset_user_password/builders.rs b/sdk/cognitoidentityprovider/src/operation/admin_reset_user_password/builders.rs index 36a9982e5432..4b089e08ebaa 100644 --- a/sdk/cognitoidentityprovider/src/operation/admin_reset_user_password/builders.rs +++ b/sdk/cognitoidentityprovider/src/operation/admin_reset_user_password/builders.rs @@ -25,9 +25,9 @@ impl AdminResetUserPasswordFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -89,6 +89,22 @@ impl AdminResetUserPasswordFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::admin_reset_user_password::AdminResetUserPassword, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::admin_reset_user_password::AdminResetUserPasswordError, + >, + > { + self.customize_middleware().await + } ///

                            The user pool ID for the user pool where you want to reset the user's password.

                            pub fn user_pool_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.user_pool_id(input.into()); diff --git a/sdk/cognitoidentityprovider/src/operation/admin_respond_to_auth_challenge/builders.rs b/sdk/cognitoidentityprovider/src/operation/admin_respond_to_auth_challenge/builders.rs index b4564eae51a2..6906c452eec6 100644 --- a/sdk/cognitoidentityprovider/src/operation/admin_respond_to_auth_challenge/builders.rs +++ b/sdk/cognitoidentityprovider/src/operation/admin_respond_to_auth_challenge/builders.rs @@ -23,9 +23,9 @@ impl AdminRespondToAuthChallengeFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -87,6 +87,22 @@ impl AdminRespondToAuthChallengeFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::admin_respond_to_auth_challenge::AdminRespondToAuthChallenge, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::admin_respond_to_auth_challenge::AdminRespondToAuthChallengeError, + >, + > { + self.customize_middleware().await + } ///

                            The ID of the Amazon Cognito user pool.

                            pub fn user_pool_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.user_pool_id(input.into()); diff --git a/sdk/cognitoidentityprovider/src/operation/admin_set_user_mfa_preference/builders.rs b/sdk/cognitoidentityprovider/src/operation/admin_set_user_mfa_preference/builders.rs index fba42a96b038..d34694b5508b 100644 --- a/sdk/cognitoidentityprovider/src/operation/admin_set_user_mfa_preference/builders.rs +++ b/sdk/cognitoidentityprovider/src/operation/admin_set_user_mfa_preference/builders.rs @@ -19,9 +19,9 @@ impl AdminSetUserMFAPreferenceFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl AdminSetUserMFAPreferenceFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::admin_set_user_mfa_preference::AdminSetUserMFAPreference, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::admin_set_user_mfa_preference::AdminSetUserMFAPreferenceError, + >, + > { + self.customize_middleware().await + } ///

                            The SMS text message MFA settings.

                            pub fn sms_mfa_settings(mut self, input: crate::types::SmsMfaSettingsType) -> Self { self.inner = self.inner.sms_mfa_settings(input); diff --git a/sdk/cognitoidentityprovider/src/operation/admin_set_user_password/builders.rs b/sdk/cognitoidentityprovider/src/operation/admin_set_user_password/builders.rs index 575537cbe8ce..2309ed0a8441 100644 --- a/sdk/cognitoidentityprovider/src/operation/admin_set_user_password/builders.rs +++ b/sdk/cognitoidentityprovider/src/operation/admin_set_user_password/builders.rs @@ -21,9 +21,9 @@ impl AdminSetUserPasswordFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -85,6 +85,22 @@ impl AdminSetUserPasswordFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::admin_set_user_password::AdminSetUserPassword, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::admin_set_user_password::AdminSetUserPasswordError, + >, + > { + self.customize_middleware().await + } ///

                            The user pool ID for the user pool where you want to set the user's password.

                            pub fn user_pool_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.user_pool_id(input.into()); diff --git a/sdk/cognitoidentityprovider/src/operation/admin_set_user_settings/builders.rs b/sdk/cognitoidentityprovider/src/operation/admin_set_user_settings/builders.rs index d3a8361ec6cd..b6ef368b3a17 100644 --- a/sdk/cognitoidentityprovider/src/operation/admin_set_user_settings/builders.rs +++ b/sdk/cognitoidentityprovider/src/operation/admin_set_user_settings/builders.rs @@ -19,9 +19,9 @@ impl AdminSetUserSettingsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl AdminSetUserSettingsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::admin_set_user_settings::AdminSetUserSettings, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::admin_set_user_settings::AdminSetUserSettingsError, + >, + > { + self.customize_middleware().await + } ///

                            The ID of the user pool that contains the user whose options you're setting.

                            pub fn user_pool_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.user_pool_id(input.into()); diff --git a/sdk/cognitoidentityprovider/src/operation/admin_update_auth_event_feedback/builders.rs b/sdk/cognitoidentityprovider/src/operation/admin_update_auth_event_feedback/builders.rs index 46f3c2b9153f..6f076e03f639 100644 --- a/sdk/cognitoidentityprovider/src/operation/admin_update_auth_event_feedback/builders.rs +++ b/sdk/cognitoidentityprovider/src/operation/admin_update_auth_event_feedback/builders.rs @@ -19,9 +19,9 @@ impl AdminUpdateAuthEventFeedbackFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl AdminUpdateAuthEventFeedbackFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::admin_update_auth_event_feedback::AdminUpdateAuthEventFeedback, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::admin_update_auth_event_feedback::AdminUpdateAuthEventFeedbackError, + >, + > { + self.customize_middleware().await + } ///

                            The user pool ID.

                            pub fn user_pool_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.user_pool_id(input.into()); diff --git a/sdk/cognitoidentityprovider/src/operation/admin_update_device_status/builders.rs b/sdk/cognitoidentityprovider/src/operation/admin_update_device_status/builders.rs index 3485f1e23029..48067005515f 100644 --- a/sdk/cognitoidentityprovider/src/operation/admin_update_device_status/builders.rs +++ b/sdk/cognitoidentityprovider/src/operation/admin_update_device_status/builders.rs @@ -21,9 +21,9 @@ impl AdminUpdateDeviceStatusFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -85,6 +85,22 @@ impl AdminUpdateDeviceStatusFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::admin_update_device_status::AdminUpdateDeviceStatus, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::admin_update_device_status::AdminUpdateDeviceStatusError, + >, + > { + self.customize_middleware().await + } ///

                            The user pool ID.

                            pub fn user_pool_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.user_pool_id(input.into()); diff --git a/sdk/cognitoidentityprovider/src/operation/admin_update_user_attributes/builders.rs b/sdk/cognitoidentityprovider/src/operation/admin_update_user_attributes/builders.rs index b2fd6b9ecb18..78a578b1f0b9 100644 --- a/sdk/cognitoidentityprovider/src/operation/admin_update_user_attributes/builders.rs +++ b/sdk/cognitoidentityprovider/src/operation/admin_update_user_attributes/builders.rs @@ -25,9 +25,9 @@ impl AdminUpdateUserAttributesFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -89,6 +89,22 @@ impl AdminUpdateUserAttributesFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::admin_update_user_attributes::AdminUpdateUserAttributes, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::admin_update_user_attributes::AdminUpdateUserAttributesError, + >, + > { + self.customize_middleware().await + } ///

                            The user pool ID for the user pool where you want to update user attributes.

                            pub fn user_pool_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.user_pool_id(input.into()); diff --git a/sdk/cognitoidentityprovider/src/operation/admin_user_global_sign_out/builders.rs b/sdk/cognitoidentityprovider/src/operation/admin_user_global_sign_out/builders.rs index fb2a42b91a95..588671ede0d1 100644 --- a/sdk/cognitoidentityprovider/src/operation/admin_user_global_sign_out/builders.rs +++ b/sdk/cognitoidentityprovider/src/operation/admin_user_global_sign_out/builders.rs @@ -21,9 +21,9 @@ impl AdminUserGlobalSignOutFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -85,6 +85,22 @@ impl AdminUserGlobalSignOutFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::admin_user_global_sign_out::AdminUserGlobalSignOut, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::admin_user_global_sign_out::AdminUserGlobalSignOutError, + >, + > { + self.customize_middleware().await + } ///

                            The user pool ID.

                            pub fn user_pool_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.user_pool_id(input.into()); diff --git a/sdk/cognitoidentityprovider/src/operation/associate_software_token/builders.rs b/sdk/cognitoidentityprovider/src/operation/associate_software_token/builders.rs index ef1c212d2b03..3d4cf8ca7742 100644 --- a/sdk/cognitoidentityprovider/src/operation/associate_software_token/builders.rs +++ b/sdk/cognitoidentityprovider/src/operation/associate_software_token/builders.rs @@ -22,9 +22,9 @@ impl AssociateSoftwareTokenFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -86,6 +86,22 @@ impl AssociateSoftwareTokenFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::associate_software_token::AssociateSoftwareToken, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::associate_software_token::AssociateSoftwareTokenError, + >, + > { + self.customize_middleware().await + } ///

                            A valid access token that Amazon Cognito issued to the user whose software token you want to generate.

                            pub fn access_token(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.access_token(input.into()); diff --git a/sdk/cognitoidentityprovider/src/operation/change_password/builders.rs b/sdk/cognitoidentityprovider/src/operation/change_password/builders.rs index 4609a5902ab3..7754f232f687 100644 --- a/sdk/cognitoidentityprovider/src/operation/change_password/builders.rs +++ b/sdk/cognitoidentityprovider/src/operation/change_password/builders.rs @@ -19,9 +19,9 @@ impl ChangePasswordFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl ChangePasswordFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::change_password::ChangePassword, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                            The old password.

                            pub fn previous_password( mut self, diff --git a/sdk/cognitoidentityprovider/src/operation/confirm_device/builders.rs b/sdk/cognitoidentityprovider/src/operation/confirm_device/builders.rs index 82361858afa2..2a638354eba5 100644 --- a/sdk/cognitoidentityprovider/src/operation/confirm_device/builders.rs +++ b/sdk/cognitoidentityprovider/src/operation/confirm_device/builders.rs @@ -19,9 +19,9 @@ impl ConfirmDeviceFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl ConfirmDeviceFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::confirm_device::ConfirmDevice, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                            A valid access token that Amazon Cognito issued to the user whose device you want to confirm.

                            pub fn access_token(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.access_token(input.into()); diff --git a/sdk/cognitoidentityprovider/src/operation/confirm_forgot_password/builders.rs b/sdk/cognitoidentityprovider/src/operation/confirm_forgot_password/builders.rs index 92459990ddcb..edf47063fa70 100644 --- a/sdk/cognitoidentityprovider/src/operation/confirm_forgot_password/builders.rs +++ b/sdk/cognitoidentityprovider/src/operation/confirm_forgot_password/builders.rs @@ -19,9 +19,9 @@ impl ConfirmForgotPasswordFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl ConfirmForgotPasswordFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::confirm_forgot_password::ConfirmForgotPassword, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::confirm_forgot_password::ConfirmForgotPasswordError, + >, + > { + self.customize_middleware().await + } ///

                            The app client ID of the app associated with the user pool.

                            pub fn client_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.client_id(input.into()); diff --git a/sdk/cognitoidentityprovider/src/operation/confirm_sign_up/builders.rs b/sdk/cognitoidentityprovider/src/operation/confirm_sign_up/builders.rs index b874d4f75a3b..6df67b7df7ef 100644 --- a/sdk/cognitoidentityprovider/src/operation/confirm_sign_up/builders.rs +++ b/sdk/cognitoidentityprovider/src/operation/confirm_sign_up/builders.rs @@ -19,9 +19,9 @@ impl ConfirmSignUpFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl ConfirmSignUpFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::confirm_sign_up::ConfirmSignUp, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                            The ID of the app client associated with the user pool.

                            pub fn client_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.client_id(input.into()); diff --git a/sdk/cognitoidentityprovider/src/operation/create_group/builders.rs b/sdk/cognitoidentityprovider/src/operation/create_group/builders.rs index d1fa9d2e5f6e..e57f8ff3044f 100644 --- a/sdk/cognitoidentityprovider/src/operation/create_group/builders.rs +++ b/sdk/cognitoidentityprovider/src/operation/create_group/builders.rs @@ -20,9 +20,9 @@ impl CreateGroupFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -78,6 +78,20 @@ impl CreateGroupFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::create_group::CreateGroup, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                            The name of the group. Must be unique.

                            pub fn group_name(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.group_name(input.into()); diff --git a/sdk/cognitoidentityprovider/src/operation/create_identity_provider/builders.rs b/sdk/cognitoidentityprovider/src/operation/create_identity_provider/builders.rs index e48710ae6df6..cb24942ee5e3 100644 --- a/sdk/cognitoidentityprovider/src/operation/create_identity_provider/builders.rs +++ b/sdk/cognitoidentityprovider/src/operation/create_identity_provider/builders.rs @@ -19,9 +19,9 @@ impl CreateIdentityProviderFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl CreateIdentityProviderFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::create_identity_provider::CreateIdentityProvider, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::create_identity_provider::CreateIdentityProviderError, + >, + > { + self.customize_middleware().await + } ///

                            The user pool ID.

                            pub fn user_pool_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.user_pool_id(input.into()); diff --git a/sdk/cognitoidentityprovider/src/operation/create_resource_server/builders.rs b/sdk/cognitoidentityprovider/src/operation/create_resource_server/builders.rs index 855947d8d8fb..9162f1330b9d 100644 --- a/sdk/cognitoidentityprovider/src/operation/create_resource_server/builders.rs +++ b/sdk/cognitoidentityprovider/src/operation/create_resource_server/builders.rs @@ -19,9 +19,9 @@ impl CreateResourceServerFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl CreateResourceServerFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::create_resource_server::CreateResourceServer, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::create_resource_server::CreateResourceServerError, + >, + > { + self.customize_middleware().await + } ///

                            The user pool ID for the user pool.

                            pub fn user_pool_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.user_pool_id(input.into()); diff --git a/sdk/cognitoidentityprovider/src/operation/create_user_import_job/builders.rs b/sdk/cognitoidentityprovider/src/operation/create_user_import_job/builders.rs index c7564cc01374..e07ccb70b0a1 100644 --- a/sdk/cognitoidentityprovider/src/operation/create_user_import_job/builders.rs +++ b/sdk/cognitoidentityprovider/src/operation/create_user_import_job/builders.rs @@ -19,9 +19,9 @@ impl CreateUserImportJobFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl CreateUserImportJobFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::create_user_import_job::CreateUserImportJob, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::create_user_import_job::CreateUserImportJobError, + >, + > { + self.customize_middleware().await + } ///

                            The job name for the user import job.

                            pub fn job_name(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.job_name(input.into()); diff --git a/sdk/cognitoidentityprovider/src/operation/create_user_pool/builders.rs b/sdk/cognitoidentityprovider/src/operation/create_user_pool/builders.rs index a98bf6c9ff28..2b116a807b6a 100644 --- a/sdk/cognitoidentityprovider/src/operation/create_user_pool/builders.rs +++ b/sdk/cognitoidentityprovider/src/operation/create_user_pool/builders.rs @@ -22,9 +22,9 @@ impl CreateUserPoolFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -86,6 +86,22 @@ impl CreateUserPoolFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::create_user_pool::CreateUserPool, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::create_user_pool::CreateUserPoolError, + >, + > { + self.customize_middleware().await + } ///

                            A string used to name the user pool.

                            pub fn pool_name(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.pool_name(input.into()); diff --git a/sdk/cognitoidentityprovider/src/operation/create_user_pool_client/builders.rs b/sdk/cognitoidentityprovider/src/operation/create_user_pool_client/builders.rs index e7f1bc8c8aa1..6767a8d11e07 100644 --- a/sdk/cognitoidentityprovider/src/operation/create_user_pool_client/builders.rs +++ b/sdk/cognitoidentityprovider/src/operation/create_user_pool_client/builders.rs @@ -20,9 +20,9 @@ impl CreateUserPoolClientFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -84,6 +84,22 @@ impl CreateUserPoolClientFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::create_user_pool_client::CreateUserPoolClient, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::create_user_pool_client::CreateUserPoolClientError, + >, + > { + self.customize_middleware().await + } ///

                            The user pool ID for the user pool where you want to create a user pool client.

                            pub fn user_pool_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.user_pool_id(input.into()); diff --git a/sdk/cognitoidentityprovider/src/operation/create_user_pool_domain/builders.rs b/sdk/cognitoidentityprovider/src/operation/create_user_pool_domain/builders.rs index ce6fb7fd0a55..d134e281d04e 100644 --- a/sdk/cognitoidentityprovider/src/operation/create_user_pool_domain/builders.rs +++ b/sdk/cognitoidentityprovider/src/operation/create_user_pool_domain/builders.rs @@ -19,9 +19,9 @@ impl CreateUserPoolDomainFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl CreateUserPoolDomainFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::create_user_pool_domain::CreateUserPoolDomain, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::create_user_pool_domain::CreateUserPoolDomainError, + >, + > { + self.customize_middleware().await + } ///

                            The domain string. For custom domains, this is the fully-qualified domain name, such as auth.example.com. For Amazon Cognito prefix domains, this is the prefix alone, such as auth.

                            pub fn domain(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.domain(input.into()); diff --git a/sdk/cognitoidentityprovider/src/operation/delete_group/builders.rs b/sdk/cognitoidentityprovider/src/operation/delete_group/builders.rs index 28842b0c5d57..247828257fcc 100644 --- a/sdk/cognitoidentityprovider/src/operation/delete_group/builders.rs +++ b/sdk/cognitoidentityprovider/src/operation/delete_group/builders.rs @@ -20,9 +20,9 @@ impl DeleteGroupFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -78,6 +78,20 @@ impl DeleteGroupFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::delete_group::DeleteGroup, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                            The name of the group.

                            pub fn group_name(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.group_name(input.into()); diff --git a/sdk/cognitoidentityprovider/src/operation/delete_identity_provider/builders.rs b/sdk/cognitoidentityprovider/src/operation/delete_identity_provider/builders.rs index 1f9240779d6f..7dfac25f7510 100644 --- a/sdk/cognitoidentityprovider/src/operation/delete_identity_provider/builders.rs +++ b/sdk/cognitoidentityprovider/src/operation/delete_identity_provider/builders.rs @@ -19,9 +19,9 @@ impl DeleteIdentityProviderFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl DeleteIdentityProviderFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::delete_identity_provider::DeleteIdentityProvider, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::delete_identity_provider::DeleteIdentityProviderError, + >, + > { + self.customize_middleware().await + } ///

                            The user pool ID.

                            pub fn user_pool_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.user_pool_id(input.into()); diff --git a/sdk/cognitoidentityprovider/src/operation/delete_resource_server/builders.rs b/sdk/cognitoidentityprovider/src/operation/delete_resource_server/builders.rs index 599ac9f8e849..3e6febad5fa9 100644 --- a/sdk/cognitoidentityprovider/src/operation/delete_resource_server/builders.rs +++ b/sdk/cognitoidentityprovider/src/operation/delete_resource_server/builders.rs @@ -19,9 +19,9 @@ impl DeleteResourceServerFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl DeleteResourceServerFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::delete_resource_server::DeleteResourceServer, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::delete_resource_server::DeleteResourceServerError, + >, + > { + self.customize_middleware().await + } ///

                            The user pool ID for the user pool that hosts the resource server.

                            pub fn user_pool_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.user_pool_id(input.into()); diff --git a/sdk/cognitoidentityprovider/src/operation/delete_user/builders.rs b/sdk/cognitoidentityprovider/src/operation/delete_user/builders.rs index 22a3d99d346a..7a5d680aedf1 100644 --- a/sdk/cognitoidentityprovider/src/operation/delete_user/builders.rs +++ b/sdk/cognitoidentityprovider/src/operation/delete_user/builders.rs @@ -19,9 +19,9 @@ impl DeleteUserFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl DeleteUserFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::delete_user::DeleteUser, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                            A valid access token that Amazon Cognito issued to the user whose user profile you want to delete.

                            pub fn access_token(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.access_token(input.into()); diff --git a/sdk/cognitoidentityprovider/src/operation/delete_user_attributes/builders.rs b/sdk/cognitoidentityprovider/src/operation/delete_user_attributes/builders.rs index c999dcf8bf97..6ac664b47c5f 100644 --- a/sdk/cognitoidentityprovider/src/operation/delete_user_attributes/builders.rs +++ b/sdk/cognitoidentityprovider/src/operation/delete_user_attributes/builders.rs @@ -19,9 +19,9 @@ impl DeleteUserAttributesFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl DeleteUserAttributesFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::delete_user_attributes::DeleteUserAttributes, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::delete_user_attributes::DeleteUserAttributesError, + >, + > { + self.customize_middleware().await + } /// Appends an item to `UserAttributeNames`. /// /// To override the contents of this collection use [`set_user_attribute_names`](Self::set_user_attribute_names). diff --git a/sdk/cognitoidentityprovider/src/operation/delete_user_pool/builders.rs b/sdk/cognitoidentityprovider/src/operation/delete_user_pool/builders.rs index c4fc23c6133b..494c3d7573d8 100644 --- a/sdk/cognitoidentityprovider/src/operation/delete_user_pool/builders.rs +++ b/sdk/cognitoidentityprovider/src/operation/delete_user_pool/builders.rs @@ -19,9 +19,9 @@ impl DeleteUserPoolFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl DeleteUserPoolFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::delete_user_pool::DeleteUserPool, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::delete_user_pool::DeleteUserPoolError, + >, + > { + self.customize_middleware().await + } ///

                            The user pool ID for the user pool you want to delete.

                            pub fn user_pool_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.user_pool_id(input.into()); diff --git a/sdk/cognitoidentityprovider/src/operation/delete_user_pool_client/builders.rs b/sdk/cognitoidentityprovider/src/operation/delete_user_pool_client/builders.rs index 34df7bf97dfe..115fc5fa9484 100644 --- a/sdk/cognitoidentityprovider/src/operation/delete_user_pool_client/builders.rs +++ b/sdk/cognitoidentityprovider/src/operation/delete_user_pool_client/builders.rs @@ -19,9 +19,9 @@ impl DeleteUserPoolClientFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl DeleteUserPoolClientFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::delete_user_pool_client::DeleteUserPoolClient, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::delete_user_pool_client::DeleteUserPoolClientError, + >, + > { + self.customize_middleware().await + } ///

                            The user pool ID for the user pool where you want to delete the client.

                            pub fn user_pool_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.user_pool_id(input.into()); diff --git a/sdk/cognitoidentityprovider/src/operation/delete_user_pool_domain/builders.rs b/sdk/cognitoidentityprovider/src/operation/delete_user_pool_domain/builders.rs index 690a5a5bd60d..3095d6e3cfec 100644 --- a/sdk/cognitoidentityprovider/src/operation/delete_user_pool_domain/builders.rs +++ b/sdk/cognitoidentityprovider/src/operation/delete_user_pool_domain/builders.rs @@ -19,9 +19,9 @@ impl DeleteUserPoolDomainFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl DeleteUserPoolDomainFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::delete_user_pool_domain::DeleteUserPoolDomain, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::delete_user_pool_domain::DeleteUserPoolDomainError, + >, + > { + self.customize_middleware().await + } ///

                            The domain string. For custom domains, this is the fully-qualified domain name, such as auth.example.com. For Amazon Cognito prefix domains, this is the prefix alone, such as auth.

                            pub fn domain(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.domain(input.into()); diff --git a/sdk/cognitoidentityprovider/src/operation/describe_identity_provider/builders.rs b/sdk/cognitoidentityprovider/src/operation/describe_identity_provider/builders.rs index 33ed5214abe2..c0ca2d902250 100644 --- a/sdk/cognitoidentityprovider/src/operation/describe_identity_provider/builders.rs +++ b/sdk/cognitoidentityprovider/src/operation/describe_identity_provider/builders.rs @@ -19,9 +19,9 @@ impl DescribeIdentityProviderFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl DescribeIdentityProviderFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::describe_identity_provider::DescribeIdentityProvider, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::describe_identity_provider::DescribeIdentityProviderError, + >, + > { + self.customize_middleware().await + } ///

                            The user pool ID.

                            pub fn user_pool_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.user_pool_id(input.into()); diff --git a/sdk/cognitoidentityprovider/src/operation/describe_resource_server/builders.rs b/sdk/cognitoidentityprovider/src/operation/describe_resource_server/builders.rs index 98a117d51fe8..1016fd43dfda 100644 --- a/sdk/cognitoidentityprovider/src/operation/describe_resource_server/builders.rs +++ b/sdk/cognitoidentityprovider/src/operation/describe_resource_server/builders.rs @@ -19,9 +19,9 @@ impl DescribeResourceServerFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl DescribeResourceServerFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::describe_resource_server::DescribeResourceServer, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::describe_resource_server::DescribeResourceServerError, + >, + > { + self.customize_middleware().await + } ///

                            The user pool ID for the user pool that hosts the resource server.

                            pub fn user_pool_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.user_pool_id(input.into()); diff --git a/sdk/cognitoidentityprovider/src/operation/describe_risk_configuration/builders.rs b/sdk/cognitoidentityprovider/src/operation/describe_risk_configuration/builders.rs index 9b1289889c99..b5a22788c2cd 100644 --- a/sdk/cognitoidentityprovider/src/operation/describe_risk_configuration/builders.rs +++ b/sdk/cognitoidentityprovider/src/operation/describe_risk_configuration/builders.rs @@ -19,9 +19,9 @@ impl DescribeRiskConfigurationFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl DescribeRiskConfigurationFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::describe_risk_configuration::DescribeRiskConfiguration, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::describe_risk_configuration::DescribeRiskConfigurationError, + >, + > { + self.customize_middleware().await + } ///

                            The user pool ID.

                            pub fn user_pool_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.user_pool_id(input.into()); diff --git a/sdk/cognitoidentityprovider/src/operation/describe_user_import_job/builders.rs b/sdk/cognitoidentityprovider/src/operation/describe_user_import_job/builders.rs index 7bf3bbab6c52..a0e9e11a0b7f 100644 --- a/sdk/cognitoidentityprovider/src/operation/describe_user_import_job/builders.rs +++ b/sdk/cognitoidentityprovider/src/operation/describe_user_import_job/builders.rs @@ -19,9 +19,9 @@ impl DescribeUserImportJobFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl DescribeUserImportJobFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::describe_user_import_job::DescribeUserImportJob, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::describe_user_import_job::DescribeUserImportJobError, + >, + > { + self.customize_middleware().await + } ///

                            The user pool ID for the user pool that the users are being imported into.

                            pub fn user_pool_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.user_pool_id(input.into()); diff --git a/sdk/cognitoidentityprovider/src/operation/describe_user_pool/builders.rs b/sdk/cognitoidentityprovider/src/operation/describe_user_pool/builders.rs index d05220265dbb..da53ad3400d0 100644 --- a/sdk/cognitoidentityprovider/src/operation/describe_user_pool/builders.rs +++ b/sdk/cognitoidentityprovider/src/operation/describe_user_pool/builders.rs @@ -19,9 +19,9 @@ impl DescribeUserPoolFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl DescribeUserPoolFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::describe_user_pool::DescribeUserPool, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::describe_user_pool::DescribeUserPoolError, + >, + > { + self.customize_middleware().await + } ///

                            The user pool ID for the user pool you want to describe.

                            pub fn user_pool_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.user_pool_id(input.into()); diff --git a/sdk/cognitoidentityprovider/src/operation/describe_user_pool_client/builders.rs b/sdk/cognitoidentityprovider/src/operation/describe_user_pool_client/builders.rs index 9cb5c2bae234..0de1478258af 100644 --- a/sdk/cognitoidentityprovider/src/operation/describe_user_pool_client/builders.rs +++ b/sdk/cognitoidentityprovider/src/operation/describe_user_pool_client/builders.rs @@ -20,9 +20,9 @@ impl DescribeUserPoolClientFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -84,6 +84,22 @@ impl DescribeUserPoolClientFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::describe_user_pool_client::DescribeUserPoolClient, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::describe_user_pool_client::DescribeUserPoolClientError, + >, + > { + self.customize_middleware().await + } ///

                            The user pool ID for the user pool you want to describe.

                            pub fn user_pool_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.user_pool_id(input.into()); diff --git a/sdk/cognitoidentityprovider/src/operation/describe_user_pool_domain/builders.rs b/sdk/cognitoidentityprovider/src/operation/describe_user_pool_domain/builders.rs index 1c87c07b7992..8ed0f54b499e 100644 --- a/sdk/cognitoidentityprovider/src/operation/describe_user_pool_domain/builders.rs +++ b/sdk/cognitoidentityprovider/src/operation/describe_user_pool_domain/builders.rs @@ -20,9 +20,9 @@ impl DescribeUserPoolDomainFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -84,6 +84,22 @@ impl DescribeUserPoolDomainFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::describe_user_pool_domain::DescribeUserPoolDomain, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::describe_user_pool_domain::DescribeUserPoolDomainError, + >, + > { + self.customize_middleware().await + } ///

                            The domain string. For custom domains, this is the fully-qualified domain name, such as auth.example.com. For Amazon Cognito prefix domains, this is the prefix alone, such as auth.

                            pub fn domain(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.domain(input.into()); diff --git a/sdk/cognitoidentityprovider/src/operation/forget_device/builders.rs b/sdk/cognitoidentityprovider/src/operation/forget_device/builders.rs index d2c1e17032fa..add3b2f59a30 100644 --- a/sdk/cognitoidentityprovider/src/operation/forget_device/builders.rs +++ b/sdk/cognitoidentityprovider/src/operation/forget_device/builders.rs @@ -19,9 +19,9 @@ impl ForgetDeviceFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl ForgetDeviceFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::forget_device::ForgetDevice, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                            A valid access token that Amazon Cognito issued to the user whose registered device you want to forget.

                            pub fn access_token(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.access_token(input.into()); diff --git a/sdk/cognitoidentityprovider/src/operation/forgot_password/builders.rs b/sdk/cognitoidentityprovider/src/operation/forgot_password/builders.rs index 627473341521..99c7f542096b 100644 --- a/sdk/cognitoidentityprovider/src/operation/forgot_password/builders.rs +++ b/sdk/cognitoidentityprovider/src/operation/forgot_password/builders.rs @@ -22,9 +22,9 @@ impl ForgotPasswordFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -80,6 +80,20 @@ impl ForgotPasswordFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::forgot_password::ForgotPassword, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                            The ID of the client associated with the user pool.

                            pub fn client_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.client_id(input.into()); diff --git a/sdk/cognitoidentityprovider/src/operation/get_csv_header/builders.rs b/sdk/cognitoidentityprovider/src/operation/get_csv_header/builders.rs index 1bee9ce0d2e9..0bb42f45b2d8 100644 --- a/sdk/cognitoidentityprovider/src/operation/get_csv_header/builders.rs +++ b/sdk/cognitoidentityprovider/src/operation/get_csv_header/builders.rs @@ -19,9 +19,9 @@ impl GetCSVHeaderFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl GetCSVHeaderFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::get_csv_header::GetCSVHeader, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                            The user pool ID for the user pool that the users are to be imported into.

                            pub fn user_pool_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.user_pool_id(input.into()); diff --git a/sdk/cognitoidentityprovider/src/operation/get_device/builders.rs b/sdk/cognitoidentityprovider/src/operation/get_device/builders.rs index 8cb7bdecf674..bebaff6c1293 100644 --- a/sdk/cognitoidentityprovider/src/operation/get_device/builders.rs +++ b/sdk/cognitoidentityprovider/src/operation/get_device/builders.rs @@ -19,9 +19,9 @@ impl GetDeviceFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl GetDeviceFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::get_device::GetDevice, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                            The device key.

                            pub fn device_key(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.device_key(input.into()); diff --git a/sdk/cognitoidentityprovider/src/operation/get_group/builders.rs b/sdk/cognitoidentityprovider/src/operation/get_group/builders.rs index 39a4a067324b..96558b8582c3 100644 --- a/sdk/cognitoidentityprovider/src/operation/get_group/builders.rs +++ b/sdk/cognitoidentityprovider/src/operation/get_group/builders.rs @@ -20,9 +20,9 @@ impl GetGroupFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -78,6 +78,20 @@ impl GetGroupFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::get_group::GetGroup, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                            The name of the group.

                            pub fn group_name(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.group_name(input.into()); diff --git a/sdk/cognitoidentityprovider/src/operation/get_identity_provider_by_identifier/builders.rs b/sdk/cognitoidentityprovider/src/operation/get_identity_provider_by_identifier/builders.rs index d18a956b91ea..27da999a2e3f 100644 --- a/sdk/cognitoidentityprovider/src/operation/get_identity_provider_by_identifier/builders.rs +++ b/sdk/cognitoidentityprovider/src/operation/get_identity_provider_by_identifier/builders.rs @@ -19,9 +19,9 @@ impl GetIdentityProviderByIdentifierFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize(self) -> ::std::result::Result< + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware(self) -> ::std::result::Result< crate::client::customize::CustomizableOperation, ::aws_smithy_http::result::SdkError >{ @@ -64,6 +64,15 @@ impl GetIdentityProviderByIdentifierFluentBuilder { { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize(self) -> ::std::result::Result< + crate::client::customize::CustomizableOperation, + ::aws_smithy_http::result::SdkError + >{ + self.customize_middleware().await + } ///

                            The user pool ID.

                            pub fn user_pool_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.user_pool_id(input.into()); diff --git a/sdk/cognitoidentityprovider/src/operation/get_signing_certificate/builders.rs b/sdk/cognitoidentityprovider/src/operation/get_signing_certificate/builders.rs index 1c1ea6f399de..3d00e23f1825 100644 --- a/sdk/cognitoidentityprovider/src/operation/get_signing_certificate/builders.rs +++ b/sdk/cognitoidentityprovider/src/operation/get_signing_certificate/builders.rs @@ -20,9 +20,9 @@ impl GetSigningCertificateFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -84,6 +84,22 @@ impl GetSigningCertificateFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::get_signing_certificate::GetSigningCertificate, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::get_signing_certificate::GetSigningCertificateError, + >, + > { + self.customize_middleware().await + } ///

                            The user pool ID.

                            pub fn user_pool_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.user_pool_id(input.into()); diff --git a/sdk/cognitoidentityprovider/src/operation/get_ui_customization/builders.rs b/sdk/cognitoidentityprovider/src/operation/get_ui_customization/builders.rs index a534dfd3cfe4..0796eb2967c7 100644 --- a/sdk/cognitoidentityprovider/src/operation/get_ui_customization/builders.rs +++ b/sdk/cognitoidentityprovider/src/operation/get_ui_customization/builders.rs @@ -19,9 +19,9 @@ impl GetUICustomizationFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl GetUICustomizationFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::get_ui_customization::GetUICustomization, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::get_ui_customization::GetUICustomizationError, + >, + > { + self.customize_middleware().await + } ///

                            The user pool ID for the user pool.

                            pub fn user_pool_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.user_pool_id(input.into()); diff --git a/sdk/cognitoidentityprovider/src/operation/get_user/builders.rs b/sdk/cognitoidentityprovider/src/operation/get_user/builders.rs index f7ffd15b7d84..377a1fd9f7dc 100644 --- a/sdk/cognitoidentityprovider/src/operation/get_user/builders.rs +++ b/sdk/cognitoidentityprovider/src/operation/get_user/builders.rs @@ -19,9 +19,9 @@ impl GetUserFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl GetUserFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::get_user::GetUser, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                            A non-expired access token for the user whose information you want to query.

                            pub fn access_token(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.access_token(input.into()); diff --git a/sdk/cognitoidentityprovider/src/operation/get_user_attribute_verification_code/builders.rs b/sdk/cognitoidentityprovider/src/operation/get_user_attribute_verification_code/builders.rs index 8b11778c0c6f..ffd24104c1a6 100644 --- a/sdk/cognitoidentityprovider/src/operation/get_user_attribute_verification_code/builders.rs +++ b/sdk/cognitoidentityprovider/src/operation/get_user_attribute_verification_code/builders.rs @@ -22,9 +22,9 @@ impl GetUserAttributeVerificationCodeFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize(self) -> ::std::result::Result< + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware(self) -> ::std::result::Result< crate::client::customize::CustomizableOperation, ::aws_smithy_http::result::SdkError >{ @@ -67,6 +67,15 @@ impl GetUserAttributeVerificationCodeFluentBuilder { { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize(self) -> ::std::result::Result< + crate::client::customize::CustomizableOperation, + ::aws_smithy_http::result::SdkError + >{ + self.customize_middleware().await + } ///

                            A non-expired access token for the user whose attribute verification code you want to generate.

                            pub fn access_token(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.access_token(input.into()); diff --git a/sdk/cognitoidentityprovider/src/operation/get_user_pool_mfa_config/builders.rs b/sdk/cognitoidentityprovider/src/operation/get_user_pool_mfa_config/builders.rs index 4f5ce3cd66fa..cf7824f94a39 100644 --- a/sdk/cognitoidentityprovider/src/operation/get_user_pool_mfa_config/builders.rs +++ b/sdk/cognitoidentityprovider/src/operation/get_user_pool_mfa_config/builders.rs @@ -19,9 +19,9 @@ impl GetUserPoolMfaConfigFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl GetUserPoolMfaConfigFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::get_user_pool_mfa_config::GetUserPoolMfaConfig, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::get_user_pool_mfa_config::GetUserPoolMfaConfigError, + >, + > { + self.customize_middleware().await + } ///

                            The user pool ID.

                            pub fn user_pool_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.user_pool_id(input.into()); diff --git a/sdk/cognitoidentityprovider/src/operation/global_sign_out/builders.rs b/sdk/cognitoidentityprovider/src/operation/global_sign_out/builders.rs index 282519e7b8d9..c1cb69237dd9 100644 --- a/sdk/cognitoidentityprovider/src/operation/global_sign_out/builders.rs +++ b/sdk/cognitoidentityprovider/src/operation/global_sign_out/builders.rs @@ -19,9 +19,9 @@ impl GlobalSignOutFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl GlobalSignOutFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::global_sign_out::GlobalSignOut, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                            A valid access token that Amazon Cognito issued to the user who you want to sign out.

                            pub fn access_token(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.access_token(input.into()); diff --git a/sdk/cognitoidentityprovider/src/operation/initiate_auth/builders.rs b/sdk/cognitoidentityprovider/src/operation/initiate_auth/builders.rs index 588b624a5848..284833e1b55c 100644 --- a/sdk/cognitoidentityprovider/src/operation/initiate_auth/builders.rs +++ b/sdk/cognitoidentityprovider/src/operation/initiate_auth/builders.rs @@ -22,9 +22,9 @@ impl InitiateAuthFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -80,6 +80,20 @@ impl InitiateAuthFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::initiate_auth::InitiateAuth, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                            The authentication flow for this call to run. The API action will depend on this value. For example:

                            ///
                              ///
                            • REFRESH_TOKEN_AUTH takes in a valid refresh token and returns new tokens.

                            • diff --git a/sdk/cognitoidentityprovider/src/operation/list_devices/builders.rs b/sdk/cognitoidentityprovider/src/operation/list_devices/builders.rs index 7991b6a63bed..4572749edc3f 100644 --- a/sdk/cognitoidentityprovider/src/operation/list_devices/builders.rs +++ b/sdk/cognitoidentityprovider/src/operation/list_devices/builders.rs @@ -19,9 +19,9 @@ impl ListDevicesFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl ListDevicesFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_devices::ListDevices, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                              A valid access token that Amazon Cognito issued to the user whose list of devices you want to view.

                              pub fn access_token(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.access_token(input.into()); diff --git a/sdk/cognitoidentityprovider/src/operation/list_groups/builders.rs b/sdk/cognitoidentityprovider/src/operation/list_groups/builders.rs index bb37a4ecf373..0a05e113410e 100644 --- a/sdk/cognitoidentityprovider/src/operation/list_groups/builders.rs +++ b/sdk/cognitoidentityprovider/src/operation/list_groups/builders.rs @@ -20,9 +20,9 @@ impl ListGroupsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -78,6 +78,20 @@ impl ListGroupsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_groups::ListGroups, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::list_groups::paginator::ListGroupsPaginator::send) which returns a `Stream`. diff --git a/sdk/cognitoidentityprovider/src/operation/list_identity_providers/builders.rs b/sdk/cognitoidentityprovider/src/operation/list_identity_providers/builders.rs index 2c38eacb5771..40cb935073a3 100644 --- a/sdk/cognitoidentityprovider/src/operation/list_identity_providers/builders.rs +++ b/sdk/cognitoidentityprovider/src/operation/list_identity_providers/builders.rs @@ -19,9 +19,9 @@ impl ListIdentityProvidersFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl ListIdentityProvidersFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_identity_providers::ListIdentityProviders, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::list_identity_providers::ListIdentityProvidersError, + >, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::list_identity_providers::paginator::ListIdentityProvidersPaginator::send) which returns a `Stream`. diff --git a/sdk/cognitoidentityprovider/src/operation/list_resource_servers/builders.rs b/sdk/cognitoidentityprovider/src/operation/list_resource_servers/builders.rs index 1d569f03905b..422ab7fa5c94 100644 --- a/sdk/cognitoidentityprovider/src/operation/list_resource_servers/builders.rs +++ b/sdk/cognitoidentityprovider/src/operation/list_resource_servers/builders.rs @@ -19,9 +19,9 @@ impl ListResourceServersFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl ListResourceServersFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_resource_servers::ListResourceServers, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::list_resource_servers::ListResourceServersError, + >, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::list_resource_servers::paginator::ListResourceServersPaginator::send) which returns a `Stream`. diff --git a/sdk/cognitoidentityprovider/src/operation/list_tags_for_resource/builders.rs b/sdk/cognitoidentityprovider/src/operation/list_tags_for_resource/builders.rs index a0284bd0662d..7e16a4b0a05b 100644 --- a/sdk/cognitoidentityprovider/src/operation/list_tags_for_resource/builders.rs +++ b/sdk/cognitoidentityprovider/src/operation/list_tags_for_resource/builders.rs @@ -21,9 +21,9 @@ impl ListTagsForResourceFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -85,6 +85,22 @@ impl ListTagsForResourceFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_tags_for_resource::ListTagsForResource, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::list_tags_for_resource::ListTagsForResourceError, + >, + > { + self.customize_middleware().await + } ///

                              The Amazon Resource Name (ARN) of the user pool that the tags are assigned to.

                              pub fn resource_arn(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.resource_arn(input.into()); diff --git a/sdk/cognitoidentityprovider/src/operation/list_user_import_jobs/builders.rs b/sdk/cognitoidentityprovider/src/operation/list_user_import_jobs/builders.rs index a378d527e796..1d0700f89fe7 100644 --- a/sdk/cognitoidentityprovider/src/operation/list_user_import_jobs/builders.rs +++ b/sdk/cognitoidentityprovider/src/operation/list_user_import_jobs/builders.rs @@ -19,9 +19,9 @@ impl ListUserImportJobsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl ListUserImportJobsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_user_import_jobs::ListUserImportJobs, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::list_user_import_jobs::ListUserImportJobsError, + >, + > { + self.customize_middleware().await + } ///

                              The user pool ID for the user pool that the users are being imported into.

                              pub fn user_pool_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.user_pool_id(input.into()); diff --git a/sdk/cognitoidentityprovider/src/operation/list_user_pool_clients/builders.rs b/sdk/cognitoidentityprovider/src/operation/list_user_pool_clients/builders.rs index b8fa52ab5d7d..be6223e6bd76 100644 --- a/sdk/cognitoidentityprovider/src/operation/list_user_pool_clients/builders.rs +++ b/sdk/cognitoidentityprovider/src/operation/list_user_pool_clients/builders.rs @@ -19,9 +19,9 @@ impl ListUserPoolClientsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl ListUserPoolClientsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_user_pool_clients::ListUserPoolClients, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::list_user_pool_clients::ListUserPoolClientsError, + >, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::list_user_pool_clients::paginator::ListUserPoolClientsPaginator::send) which returns a `Stream`. diff --git a/sdk/cognitoidentityprovider/src/operation/list_user_pools/builders.rs b/sdk/cognitoidentityprovider/src/operation/list_user_pools/builders.rs index 017a55f4e301..d9be286ad637 100644 --- a/sdk/cognitoidentityprovider/src/operation/list_user_pools/builders.rs +++ b/sdk/cognitoidentityprovider/src/operation/list_user_pools/builders.rs @@ -19,9 +19,9 @@ impl ListUserPoolsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl ListUserPoolsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_user_pools::ListUserPools, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::list_user_pools::paginator::ListUserPoolsPaginator::send) which returns a `Stream`. diff --git a/sdk/cognitoidentityprovider/src/operation/list_users/builders.rs b/sdk/cognitoidentityprovider/src/operation/list_users/builders.rs index 0159289287ab..f2fc57e9fab3 100644 --- a/sdk/cognitoidentityprovider/src/operation/list_users/builders.rs +++ b/sdk/cognitoidentityprovider/src/operation/list_users/builders.rs @@ -19,9 +19,9 @@ impl ListUsersFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl ListUsersFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_users::ListUsers, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::list_users::paginator::ListUsersPaginator::send) which returns a `Stream`. diff --git a/sdk/cognitoidentityprovider/src/operation/list_users_in_group/builders.rs b/sdk/cognitoidentityprovider/src/operation/list_users_in_group/builders.rs index e5e8f6582e34..b8ed9b0b02cb 100644 --- a/sdk/cognitoidentityprovider/src/operation/list_users_in_group/builders.rs +++ b/sdk/cognitoidentityprovider/src/operation/list_users_in_group/builders.rs @@ -20,9 +20,9 @@ impl ListUsersInGroupFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -84,6 +84,22 @@ impl ListUsersInGroupFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_users_in_group::ListUsersInGroup, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::list_users_in_group::ListUsersInGroupError, + >, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::list_users_in_group::paginator::ListUsersInGroupPaginator::send) which returns a `Stream`. diff --git a/sdk/cognitoidentityprovider/src/operation/resend_confirmation_code/builders.rs b/sdk/cognitoidentityprovider/src/operation/resend_confirmation_code/builders.rs index 3ff267c18fa0..5f2849fca0cc 100644 --- a/sdk/cognitoidentityprovider/src/operation/resend_confirmation_code/builders.rs +++ b/sdk/cognitoidentityprovider/src/operation/resend_confirmation_code/builders.rs @@ -22,9 +22,9 @@ impl ResendConfirmationCodeFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -86,6 +86,22 @@ impl ResendConfirmationCodeFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::resend_confirmation_code::ResendConfirmationCode, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::resend_confirmation_code::ResendConfirmationCodeError, + >, + > { + self.customize_middleware().await + } ///

                              The ID of the client associated with the user pool.

                              pub fn client_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.client_id(input.into()); diff --git a/sdk/cognitoidentityprovider/src/operation/respond_to_auth_challenge/builders.rs b/sdk/cognitoidentityprovider/src/operation/respond_to_auth_challenge/builders.rs index 04fc4e3592d9..f4fa4fcb2144 100644 --- a/sdk/cognitoidentityprovider/src/operation/respond_to_auth_challenge/builders.rs +++ b/sdk/cognitoidentityprovider/src/operation/respond_to_auth_challenge/builders.rs @@ -23,9 +23,9 @@ impl RespondToAuthChallengeFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -87,6 +87,22 @@ impl RespondToAuthChallengeFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::respond_to_auth_challenge::RespondToAuthChallenge, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::respond_to_auth_challenge::RespondToAuthChallengeError, + >, + > { + self.customize_middleware().await + } ///

                              The app client ID.

                              pub fn client_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.client_id(input.into()); diff --git a/sdk/cognitoidentityprovider/src/operation/revoke_token/builders.rs b/sdk/cognitoidentityprovider/src/operation/revoke_token/builders.rs index eecfa93a0dc9..f0be752d53e4 100644 --- a/sdk/cognitoidentityprovider/src/operation/revoke_token/builders.rs +++ b/sdk/cognitoidentityprovider/src/operation/revoke_token/builders.rs @@ -19,9 +19,9 @@ impl RevokeTokenFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl RevokeTokenFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::revoke_token::RevokeToken, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                              The refresh token that you want to revoke.

                              pub fn token(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.token(input.into()); diff --git a/sdk/cognitoidentityprovider/src/operation/set_risk_configuration/builders.rs b/sdk/cognitoidentityprovider/src/operation/set_risk_configuration/builders.rs index 8045357f5502..ebdfcff6c4b5 100644 --- a/sdk/cognitoidentityprovider/src/operation/set_risk_configuration/builders.rs +++ b/sdk/cognitoidentityprovider/src/operation/set_risk_configuration/builders.rs @@ -20,9 +20,9 @@ impl SetRiskConfigurationFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -84,6 +84,22 @@ impl SetRiskConfigurationFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::set_risk_configuration::SetRiskConfiguration, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::set_risk_configuration::SetRiskConfigurationError, + >, + > { + self.customize_middleware().await + } ///

                              The user pool ID.

                              pub fn user_pool_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.user_pool_id(input.into()); diff --git a/sdk/cognitoidentityprovider/src/operation/set_ui_customization/builders.rs b/sdk/cognitoidentityprovider/src/operation/set_ui_customization/builders.rs index 45501e99de94..d70782011cba 100644 --- a/sdk/cognitoidentityprovider/src/operation/set_ui_customization/builders.rs +++ b/sdk/cognitoidentityprovider/src/operation/set_ui_customization/builders.rs @@ -22,9 +22,9 @@ impl SetUICustomizationFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -86,6 +86,22 @@ impl SetUICustomizationFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::set_ui_customization::SetUICustomization, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::set_ui_customization::SetUICustomizationError, + >, + > { + self.customize_middleware().await + } ///

                              The user pool ID for the user pool.

                              pub fn user_pool_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.user_pool_id(input.into()); diff --git a/sdk/cognitoidentityprovider/src/operation/set_user_mfa_preference/builders.rs b/sdk/cognitoidentityprovider/src/operation/set_user_mfa_preference/builders.rs index afb73fff70f9..26e091b72b72 100644 --- a/sdk/cognitoidentityprovider/src/operation/set_user_mfa_preference/builders.rs +++ b/sdk/cognitoidentityprovider/src/operation/set_user_mfa_preference/builders.rs @@ -19,9 +19,9 @@ impl SetUserMFAPreferenceFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl SetUserMFAPreferenceFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::set_user_mfa_preference::SetUserMFAPreference, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::set_user_mfa_preference::SetUserMFAPreferenceError, + >, + > { + self.customize_middleware().await + } ///

                              The SMS text message multi-factor authentication (MFA) settings.

                              pub fn sms_mfa_settings(mut self, input: crate::types::SmsMfaSettingsType) -> Self { self.inner = self.inner.sms_mfa_settings(input); diff --git a/sdk/cognitoidentityprovider/src/operation/set_user_pool_mfa_config/builders.rs b/sdk/cognitoidentityprovider/src/operation/set_user_pool_mfa_config/builders.rs index b7644725e726..415be1a777b4 100644 --- a/sdk/cognitoidentityprovider/src/operation/set_user_pool_mfa_config/builders.rs +++ b/sdk/cognitoidentityprovider/src/operation/set_user_pool_mfa_config/builders.rs @@ -22,9 +22,9 @@ impl SetUserPoolMfaConfigFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -86,6 +86,22 @@ impl SetUserPoolMfaConfigFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::set_user_pool_mfa_config::SetUserPoolMfaConfig, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::set_user_pool_mfa_config::SetUserPoolMfaConfigError, + >, + > { + self.customize_middleware().await + } ///

                              The user pool ID.

                              pub fn user_pool_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.user_pool_id(input.into()); diff --git a/sdk/cognitoidentityprovider/src/operation/set_user_settings/builders.rs b/sdk/cognitoidentityprovider/src/operation/set_user_settings/builders.rs index 06af4086b4d9..d487e16bb2b5 100644 --- a/sdk/cognitoidentityprovider/src/operation/set_user_settings/builders.rs +++ b/sdk/cognitoidentityprovider/src/operation/set_user_settings/builders.rs @@ -19,9 +19,9 @@ impl SetUserSettingsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl SetUserSettingsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::set_user_settings::SetUserSettings, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::set_user_settings::SetUserSettingsError, + >, + > { + self.customize_middleware().await + } ///

                              A valid access token that Amazon Cognito issued to the user whose user settings you want to configure.

                              pub fn access_token(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.access_token(input.into()); diff --git a/sdk/cognitoidentityprovider/src/operation/sign_up/builders.rs b/sdk/cognitoidentityprovider/src/operation/sign_up/builders.rs index 831c24430819..30614eb6ecc5 100644 --- a/sdk/cognitoidentityprovider/src/operation/sign_up/builders.rs +++ b/sdk/cognitoidentityprovider/src/operation/sign_up/builders.rs @@ -22,9 +22,9 @@ impl SignUpFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -80,6 +80,20 @@ impl SignUpFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::sign_up::SignUp, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                              The ID of the client associated with the user pool.

                              pub fn client_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.client_id(input.into()); diff --git a/sdk/cognitoidentityprovider/src/operation/start_user_import_job/builders.rs b/sdk/cognitoidentityprovider/src/operation/start_user_import_job/builders.rs index db1664b9a1de..a55b5f3fd69e 100644 --- a/sdk/cognitoidentityprovider/src/operation/start_user_import_job/builders.rs +++ b/sdk/cognitoidentityprovider/src/operation/start_user_import_job/builders.rs @@ -19,9 +19,9 @@ impl StartUserImportJobFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl StartUserImportJobFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::start_user_import_job::StartUserImportJob, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::start_user_import_job::StartUserImportJobError, + >, + > { + self.customize_middleware().await + } ///

                              The user pool ID for the user pool that the users are being imported into.

                              pub fn user_pool_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.user_pool_id(input.into()); diff --git a/sdk/cognitoidentityprovider/src/operation/stop_user_import_job/builders.rs b/sdk/cognitoidentityprovider/src/operation/stop_user_import_job/builders.rs index 72f922d4f5b7..d46c02983f95 100644 --- a/sdk/cognitoidentityprovider/src/operation/stop_user_import_job/builders.rs +++ b/sdk/cognitoidentityprovider/src/operation/stop_user_import_job/builders.rs @@ -19,9 +19,9 @@ impl StopUserImportJobFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl StopUserImportJobFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::stop_user_import_job::StopUserImportJob, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::stop_user_import_job::StopUserImportJobError, + >, + > { + self.customize_middleware().await + } ///

                              The user pool ID for the user pool that the users are being imported into.

                              pub fn user_pool_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.user_pool_id(input.into()); diff --git a/sdk/cognitoidentityprovider/src/operation/tag_resource/builders.rs b/sdk/cognitoidentityprovider/src/operation/tag_resource/builders.rs index c03b11f101ed..b75d2c20a520 100644 --- a/sdk/cognitoidentityprovider/src/operation/tag_resource/builders.rs +++ b/sdk/cognitoidentityprovider/src/operation/tag_resource/builders.rs @@ -22,9 +22,9 @@ impl TagResourceFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -80,6 +80,20 @@ impl TagResourceFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::tag_resource::TagResource, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                              The Amazon Resource Name (ARN) of the user pool to assign the tags to.

                              pub fn resource_arn(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.resource_arn(input.into()); diff --git a/sdk/cognitoidentityprovider/src/operation/untag_resource/builders.rs b/sdk/cognitoidentityprovider/src/operation/untag_resource/builders.rs index dade7269fda6..88ab59eea15d 100644 --- a/sdk/cognitoidentityprovider/src/operation/untag_resource/builders.rs +++ b/sdk/cognitoidentityprovider/src/operation/untag_resource/builders.rs @@ -19,9 +19,9 @@ impl UntagResourceFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl UntagResourceFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::untag_resource::UntagResource, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                              The Amazon Resource Name (ARN) of the user pool that the tags are assigned to.

                              pub fn resource_arn(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.resource_arn(input.into()); diff --git a/sdk/cognitoidentityprovider/src/operation/update_auth_event_feedback/builders.rs b/sdk/cognitoidentityprovider/src/operation/update_auth_event_feedback/builders.rs index 1856705a6353..a4abfee38605 100644 --- a/sdk/cognitoidentityprovider/src/operation/update_auth_event_feedback/builders.rs +++ b/sdk/cognitoidentityprovider/src/operation/update_auth_event_feedback/builders.rs @@ -20,9 +20,9 @@ impl UpdateAuthEventFeedbackFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -84,6 +84,22 @@ impl UpdateAuthEventFeedbackFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::update_auth_event_feedback::UpdateAuthEventFeedback, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::update_auth_event_feedback::UpdateAuthEventFeedbackError, + >, + > { + self.customize_middleware().await + } ///

                              The user pool ID.

                              pub fn user_pool_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.user_pool_id(input.into()); diff --git a/sdk/cognitoidentityprovider/src/operation/update_device_status/builders.rs b/sdk/cognitoidentityprovider/src/operation/update_device_status/builders.rs index 1dd08bc0eebc..22ea2b507470 100644 --- a/sdk/cognitoidentityprovider/src/operation/update_device_status/builders.rs +++ b/sdk/cognitoidentityprovider/src/operation/update_device_status/builders.rs @@ -19,9 +19,9 @@ impl UpdateDeviceStatusFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl UpdateDeviceStatusFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::update_device_status::UpdateDeviceStatus, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::update_device_status::UpdateDeviceStatusError, + >, + > { + self.customize_middleware().await + } ///

                              A valid access token that Amazon Cognito issued to the user whose device status you want to update.

                              pub fn access_token(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.access_token(input.into()); diff --git a/sdk/cognitoidentityprovider/src/operation/update_group/builders.rs b/sdk/cognitoidentityprovider/src/operation/update_group/builders.rs index 02bfdf7bb0c8..73e422681a10 100644 --- a/sdk/cognitoidentityprovider/src/operation/update_group/builders.rs +++ b/sdk/cognitoidentityprovider/src/operation/update_group/builders.rs @@ -20,9 +20,9 @@ impl UpdateGroupFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -78,6 +78,20 @@ impl UpdateGroupFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::update_group::UpdateGroup, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                              The name of the group.

                              pub fn group_name(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.group_name(input.into()); diff --git a/sdk/cognitoidentityprovider/src/operation/update_identity_provider/builders.rs b/sdk/cognitoidentityprovider/src/operation/update_identity_provider/builders.rs index 2598c9d0a6a4..25e9eaed098e 100644 --- a/sdk/cognitoidentityprovider/src/operation/update_identity_provider/builders.rs +++ b/sdk/cognitoidentityprovider/src/operation/update_identity_provider/builders.rs @@ -19,9 +19,9 @@ impl UpdateIdentityProviderFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl UpdateIdentityProviderFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::update_identity_provider::UpdateIdentityProvider, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::update_identity_provider::UpdateIdentityProviderError, + >, + > { + self.customize_middleware().await + } ///

                              The user pool ID.

                              pub fn user_pool_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.user_pool_id(input.into()); diff --git a/sdk/cognitoidentityprovider/src/operation/update_resource_server/builders.rs b/sdk/cognitoidentityprovider/src/operation/update_resource_server/builders.rs index 8dae4cdb2955..5ed13c9fd544 100644 --- a/sdk/cognitoidentityprovider/src/operation/update_resource_server/builders.rs +++ b/sdk/cognitoidentityprovider/src/operation/update_resource_server/builders.rs @@ -21,9 +21,9 @@ impl UpdateResourceServerFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -85,6 +85,22 @@ impl UpdateResourceServerFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::update_resource_server::UpdateResourceServer, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::update_resource_server::UpdateResourceServerError, + >, + > { + self.customize_middleware().await + } ///

                              The user pool ID for the user pool.

                              pub fn user_pool_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.user_pool_id(input.into()); diff --git a/sdk/cognitoidentityprovider/src/operation/update_user_attributes/builders.rs b/sdk/cognitoidentityprovider/src/operation/update_user_attributes/builders.rs index 8a60236f8541..e7ebdf73d343 100644 --- a/sdk/cognitoidentityprovider/src/operation/update_user_attributes/builders.rs +++ b/sdk/cognitoidentityprovider/src/operation/update_user_attributes/builders.rs @@ -22,9 +22,9 @@ impl UpdateUserAttributesFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -86,6 +86,22 @@ impl UpdateUserAttributesFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::update_user_attributes::UpdateUserAttributes, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::update_user_attributes::UpdateUserAttributesError, + >, + > { + self.customize_middleware().await + } /// Appends an item to `UserAttributes`. /// /// To override the contents of this collection use [`set_user_attributes`](Self::set_user_attributes). diff --git a/sdk/cognitoidentityprovider/src/operation/update_user_pool/builders.rs b/sdk/cognitoidentityprovider/src/operation/update_user_pool/builders.rs index cf9c36761728..2b1714e78111 100644 --- a/sdk/cognitoidentityprovider/src/operation/update_user_pool/builders.rs +++ b/sdk/cognitoidentityprovider/src/operation/update_user_pool/builders.rs @@ -22,9 +22,9 @@ impl UpdateUserPoolFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -86,6 +86,22 @@ impl UpdateUserPoolFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::update_user_pool::UpdateUserPool, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::update_user_pool::UpdateUserPoolError, + >, + > { + self.customize_middleware().await + } ///

                              The user pool ID for the user pool you want to update.

                              pub fn user_pool_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.user_pool_id(input.into()); diff --git a/sdk/cognitoidentityprovider/src/operation/update_user_pool_client/builders.rs b/sdk/cognitoidentityprovider/src/operation/update_user_pool_client/builders.rs index e03aee8c1169..68b7c5982d53 100644 --- a/sdk/cognitoidentityprovider/src/operation/update_user_pool_client/builders.rs +++ b/sdk/cognitoidentityprovider/src/operation/update_user_pool_client/builders.rs @@ -22,9 +22,9 @@ impl UpdateUserPoolClientFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -86,6 +86,22 @@ impl UpdateUserPoolClientFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::update_user_pool_client::UpdateUserPoolClient, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::update_user_pool_client::UpdateUserPoolClientError, + >, + > { + self.customize_middleware().await + } ///

                              The user pool ID for the user pool where you want to update the user pool client.

                              pub fn user_pool_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.user_pool_id(input.into()); diff --git a/sdk/cognitoidentityprovider/src/operation/update_user_pool_domain/builders.rs b/sdk/cognitoidentityprovider/src/operation/update_user_pool_domain/builders.rs index 8bdcf54a824c..1c45492e01f3 100644 --- a/sdk/cognitoidentityprovider/src/operation/update_user_pool_domain/builders.rs +++ b/sdk/cognitoidentityprovider/src/operation/update_user_pool_domain/builders.rs @@ -26,9 +26,9 @@ impl UpdateUserPoolDomainFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -90,6 +90,22 @@ impl UpdateUserPoolDomainFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::update_user_pool_domain::UpdateUserPoolDomain, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::update_user_pool_domain::UpdateUserPoolDomainError, + >, + > { + self.customize_middleware().await + } ///

                              The domain name for the custom domain that hosts the sign-up and sign-in pages for your application. One example might be auth.example.com.

                              ///

                              This string can include only lowercase letters, numbers, and hyphens. Don't use a hyphen for the first or last character. Use periods to separate subdomain names.

                              pub fn domain(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { diff --git a/sdk/cognitoidentityprovider/src/operation/verify_software_token/builders.rs b/sdk/cognitoidentityprovider/src/operation/verify_software_token/builders.rs index b419fd8e9f8a..5f89092c35f4 100644 --- a/sdk/cognitoidentityprovider/src/operation/verify_software_token/builders.rs +++ b/sdk/cognitoidentityprovider/src/operation/verify_software_token/builders.rs @@ -19,9 +19,9 @@ impl VerifySoftwareTokenFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl VerifySoftwareTokenFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::verify_software_token::VerifySoftwareToken, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::verify_software_token::VerifySoftwareTokenError, + >, + > { + self.customize_middleware().await + } ///

                              A valid access token that Amazon Cognito issued to the user whose software token you want to verify.

                              pub fn access_token(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.access_token(input.into()); diff --git a/sdk/cognitoidentityprovider/src/operation/verify_user_attribute/builders.rs b/sdk/cognitoidentityprovider/src/operation/verify_user_attribute/builders.rs index 26b063f046ea..e4ff3bf3d43a 100644 --- a/sdk/cognitoidentityprovider/src/operation/verify_user_attribute/builders.rs +++ b/sdk/cognitoidentityprovider/src/operation/verify_user_attribute/builders.rs @@ -20,9 +20,9 @@ impl VerifyUserAttributeFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -84,6 +84,22 @@ impl VerifyUserAttributeFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::verify_user_attribute::VerifyUserAttribute, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::verify_user_attribute::VerifyUserAttributeError, + >, + > { + self.customize_middleware().await + } ///

                              A valid access token that Amazon Cognito issued to the user whose user attributes you want to verify.

                              pub fn access_token(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.access_token(input.into()); diff --git a/sdk/cognitosync/src/operation/bulk_publish/builders.rs b/sdk/cognitosync/src/operation/bulk_publish/builders.rs index 6dff1fda3dbf..ce6db290d04f 100644 --- a/sdk/cognitosync/src/operation/bulk_publish/builders.rs +++ b/sdk/cognitosync/src/operation/bulk_publish/builders.rs @@ -20,9 +20,9 @@ impl BulkPublishFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -78,6 +78,20 @@ impl BulkPublishFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::bulk_publish::BulkPublish, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } /// A name-spaced GUID (for example, us-east-1:23EC4050-6AEA-7089-A2DD-08002EXAMPLE) created by Amazon Cognito. GUID generation is unique within a region. pub fn identity_pool_id( mut self, diff --git a/sdk/cognitosync/src/operation/delete_dataset/builders.rs b/sdk/cognitosync/src/operation/delete_dataset/builders.rs index e043527cf483..7549b4901f82 100644 --- a/sdk/cognitosync/src/operation/delete_dataset/builders.rs +++ b/sdk/cognitosync/src/operation/delete_dataset/builders.rs @@ -20,9 +20,9 @@ impl DeleteDatasetFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -78,6 +78,20 @@ impl DeleteDatasetFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::delete_dataset::DeleteDataset, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } /// A name-spaced GUID (for example, us-east-1:23EC4050-6AEA-7089-A2DD-08002EXAMPLE) created by Amazon Cognito. GUID generation is unique within a region. pub fn identity_pool_id( mut self, diff --git a/sdk/cognitosync/src/operation/describe_dataset/builders.rs b/sdk/cognitosync/src/operation/describe_dataset/builders.rs index 4225a3dc6376..2cca516e7c94 100644 --- a/sdk/cognitosync/src/operation/describe_dataset/builders.rs +++ b/sdk/cognitosync/src/operation/describe_dataset/builders.rs @@ -20,9 +20,9 @@ impl DescribeDatasetFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -84,6 +84,22 @@ impl DescribeDatasetFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::describe_dataset::DescribeDataset, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::describe_dataset::DescribeDatasetError, + >, + > { + self.customize_middleware().await + } /// A name-spaced GUID (for example, us-east-1:23EC4050-6AEA-7089-A2DD-08002EXAMPLE) created by Amazon Cognito. GUID generation is unique within a region. pub fn identity_pool_id( mut self, diff --git a/sdk/cognitosync/src/operation/describe_identity_pool_usage/builders.rs b/sdk/cognitosync/src/operation/describe_identity_pool_usage/builders.rs index cb3597fd87ca..1a50146f336d 100644 --- a/sdk/cognitosync/src/operation/describe_identity_pool_usage/builders.rs +++ b/sdk/cognitosync/src/operation/describe_identity_pool_usage/builders.rs @@ -41,9 +41,9 @@ impl DescribeIdentityPoolUsageFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -105,6 +105,22 @@ impl DescribeIdentityPoolUsageFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::describe_identity_pool_usage::DescribeIdentityPoolUsage, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::describe_identity_pool_usage::DescribeIdentityPoolUsageError, + >, + > { + self.customize_middleware().await + } /// A name-spaced GUID (for example, us-east-1:23EC4050-6AEA-7089-A2DD-08002EXAMPLE) created by Amazon Cognito. GUID generation is unique within a region. pub fn identity_pool_id( mut self, diff --git a/sdk/cognitosync/src/operation/describe_identity_usage/builders.rs b/sdk/cognitosync/src/operation/describe_identity_usage/builders.rs index e33a27a51dd5..1e8a9423c34d 100644 --- a/sdk/cognitosync/src/operation/describe_identity_usage/builders.rs +++ b/sdk/cognitosync/src/operation/describe_identity_usage/builders.rs @@ -41,9 +41,9 @@ impl DescribeIdentityUsageFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -105,6 +105,22 @@ impl DescribeIdentityUsageFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::describe_identity_usage::DescribeIdentityUsage, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::describe_identity_usage::DescribeIdentityUsageError, + >, + > { + self.customize_middleware().await + } /// A name-spaced GUID (for example, us-east-1:23EC4050-6AEA-7089-A2DD-08002EXAMPLE) created by Amazon Cognito. GUID generation is unique within a region. pub fn identity_pool_id( mut self, diff --git a/sdk/cognitosync/src/operation/get_bulk_publish_details/builders.rs b/sdk/cognitosync/src/operation/get_bulk_publish_details/builders.rs index 210c520b30ad..60dbc4e59b7b 100644 --- a/sdk/cognitosync/src/operation/get_bulk_publish_details/builders.rs +++ b/sdk/cognitosync/src/operation/get_bulk_publish_details/builders.rs @@ -20,9 +20,9 @@ impl GetBulkPublishDetailsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -84,6 +84,22 @@ impl GetBulkPublishDetailsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::get_bulk_publish_details::GetBulkPublishDetails, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::get_bulk_publish_details::GetBulkPublishDetailsError, + >, + > { + self.customize_middleware().await + } /// A name-spaced GUID (for example, us-east-1:23EC4050-6AEA-7089-A2DD-08002EXAMPLE) created by Amazon Cognito. GUID generation is unique within a region. pub fn identity_pool_id( mut self, diff --git a/sdk/cognitosync/src/operation/get_cognito_events/builders.rs b/sdk/cognitosync/src/operation/get_cognito_events/builders.rs index 4ce50a4fe308..9ff9e00be238 100644 --- a/sdk/cognitosync/src/operation/get_cognito_events/builders.rs +++ b/sdk/cognitosync/src/operation/get_cognito_events/builders.rs @@ -20,9 +20,9 @@ impl GetCognitoEventsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -84,6 +84,22 @@ impl GetCognitoEventsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::get_cognito_events::GetCognitoEvents, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::get_cognito_events::GetCognitoEventsError, + >, + > { + self.customize_middleware().await + } ///

                              The Cognito Identity Pool ID for the request

                              pub fn identity_pool_id( mut self, diff --git a/sdk/cognitosync/src/operation/get_identity_pool_configuration/builders.rs b/sdk/cognitosync/src/operation/get_identity_pool_configuration/builders.rs index 2a35bab1d01c..dca83b75cf11 100644 --- a/sdk/cognitosync/src/operation/get_identity_pool_configuration/builders.rs +++ b/sdk/cognitosync/src/operation/get_identity_pool_configuration/builders.rs @@ -41,9 +41,9 @@ impl GetIdentityPoolConfigurationFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -105,6 +105,22 @@ impl GetIdentityPoolConfigurationFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::get_identity_pool_configuration::GetIdentityPoolConfiguration, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::get_identity_pool_configuration::GetIdentityPoolConfigurationError, + >, + > { + self.customize_middleware().await + } ///

                              A name-spaced GUID (for example, us-east-1:23EC4050-6AEA-7089-A2DD-08002EXAMPLE) created by Amazon Cognito. This is the ID of the pool for which to return a configuration.

                              pub fn identity_pool_id( mut self, diff --git a/sdk/cognitosync/src/operation/list_datasets/builders.rs b/sdk/cognitosync/src/operation/list_datasets/builders.rs index 6fa69c661bf2..f23756415e82 100644 --- a/sdk/cognitosync/src/operation/list_datasets/builders.rs +++ b/sdk/cognitosync/src/operation/list_datasets/builders.rs @@ -41,9 +41,9 @@ impl ListDatasetsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -99,6 +99,20 @@ impl ListDatasetsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_datasets::ListDatasets, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } /// A name-spaced GUID (for example, us-east-1:23EC4050-6AEA-7089-A2DD-08002EXAMPLE) created by Amazon Cognito. GUID generation is unique within a region. pub fn identity_pool_id( mut self, diff --git a/sdk/cognitosync/src/operation/list_identity_pool_usage/builders.rs b/sdk/cognitosync/src/operation/list_identity_pool_usage/builders.rs index f2c9a989dec6..7023d5af3fa0 100644 --- a/sdk/cognitosync/src/operation/list_identity_pool_usage/builders.rs +++ b/sdk/cognitosync/src/operation/list_identity_pool_usage/builders.rs @@ -41,9 +41,9 @@ impl ListIdentityPoolUsageFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -105,6 +105,22 @@ impl ListIdentityPoolUsageFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_identity_pool_usage::ListIdentityPoolUsage, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::list_identity_pool_usage::ListIdentityPoolUsageError, + >, + > { + self.customize_middleware().await + } /// A pagination token for obtaining the next page of results. pub fn next_token(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.next_token(input.into()); diff --git a/sdk/cognitosync/src/operation/list_records/builders.rs b/sdk/cognitosync/src/operation/list_records/builders.rs index 5e9befed75d1..2586365d9b92 100644 --- a/sdk/cognitosync/src/operation/list_records/builders.rs +++ b/sdk/cognitosync/src/operation/list_records/builders.rs @@ -41,9 +41,9 @@ impl ListRecordsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -99,6 +99,20 @@ impl ListRecordsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_records::ListRecords, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } /// A name-spaced GUID (for example, us-east-1:23EC4050-6AEA-7089-A2DD-08002EXAMPLE) created by Amazon Cognito. GUID generation is unique within a region. pub fn identity_pool_id( mut self, diff --git a/sdk/cognitosync/src/operation/register_device/builders.rs b/sdk/cognitosync/src/operation/register_device/builders.rs index c1812ab8296c..fae1445502bf 100644 --- a/sdk/cognitosync/src/operation/register_device/builders.rs +++ b/sdk/cognitosync/src/operation/register_device/builders.rs @@ -44,9 +44,9 @@ impl RegisterDeviceFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -102,6 +102,20 @@ impl RegisterDeviceFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::register_device::RegisterDevice, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                              A name-spaced GUID (for example, us-east-1:23EC4050-6AEA-7089-A2DD-08002EXAMPLE) created by Amazon Cognito. Here, the ID of the pool that the identity belongs to.

                              pub fn identity_pool_id( mut self, diff --git a/sdk/cognitosync/src/operation/set_cognito_events/builders.rs b/sdk/cognitosync/src/operation/set_cognito_events/builders.rs index 4f207de005d1..e081318b63af 100644 --- a/sdk/cognitosync/src/operation/set_cognito_events/builders.rs +++ b/sdk/cognitosync/src/operation/set_cognito_events/builders.rs @@ -20,9 +20,9 @@ impl SetCognitoEventsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -84,6 +84,22 @@ impl SetCognitoEventsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::set_cognito_events::SetCognitoEvents, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::set_cognito_events::SetCognitoEventsError, + >, + > { + self.customize_middleware().await + } ///

                              The Cognito Identity Pool to use when configuring Cognito Events

                              pub fn identity_pool_id( mut self, diff --git a/sdk/cognitosync/src/operation/set_identity_pool_configuration/builders.rs b/sdk/cognitosync/src/operation/set_identity_pool_configuration/builders.rs index 8ffedb440032..150c27158716 100644 --- a/sdk/cognitosync/src/operation/set_identity_pool_configuration/builders.rs +++ b/sdk/cognitosync/src/operation/set_identity_pool_configuration/builders.rs @@ -41,9 +41,9 @@ impl SetIdentityPoolConfigurationFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -105,6 +105,22 @@ impl SetIdentityPoolConfigurationFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::set_identity_pool_configuration::SetIdentityPoolConfiguration, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::set_identity_pool_configuration::SetIdentityPoolConfigurationError, + >, + > { + self.customize_middleware().await + } ///

                              A name-spaced GUID (for example, us-east-1:23EC4050-6AEA-7089-A2DD-08002EXAMPLE) created by Amazon Cognito. This is the ID of the pool to modify.

                              pub fn identity_pool_id( mut self, diff --git a/sdk/cognitosync/src/operation/subscribe_to_dataset/builders.rs b/sdk/cognitosync/src/operation/subscribe_to_dataset/builders.rs index cf0c60fecad4..5aaf869b0f93 100644 --- a/sdk/cognitosync/src/operation/subscribe_to_dataset/builders.rs +++ b/sdk/cognitosync/src/operation/subscribe_to_dataset/builders.rs @@ -44,9 +44,9 @@ impl SubscribeToDatasetFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -108,6 +108,22 @@ impl SubscribeToDatasetFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::subscribe_to_dataset::SubscribeToDataset, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::subscribe_to_dataset::SubscribeToDatasetError, + >, + > { + self.customize_middleware().await + } ///

                              A name-spaced GUID (for example, us-east-1:23EC4050-6AEA-7089-A2DD-08002EXAMPLE) created by Amazon Cognito. The ID of the pool to which the identity belongs.

                              pub fn identity_pool_id( mut self, diff --git a/sdk/cognitosync/src/operation/unsubscribe_from_dataset/builders.rs b/sdk/cognitosync/src/operation/unsubscribe_from_dataset/builders.rs index 2b2199070e14..bf4f58b682b0 100644 --- a/sdk/cognitosync/src/operation/unsubscribe_from_dataset/builders.rs +++ b/sdk/cognitosync/src/operation/unsubscribe_from_dataset/builders.rs @@ -44,9 +44,9 @@ impl UnsubscribeFromDatasetFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -108,6 +108,22 @@ impl UnsubscribeFromDatasetFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::unsubscribe_from_dataset::UnsubscribeFromDataset, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::unsubscribe_from_dataset::UnsubscribeFromDatasetError, + >, + > { + self.customize_middleware().await + } ///

                              A name-spaced GUID (for example, us-east-1:23EC4050-6AEA-7089-A2DD-08002EXAMPLE) created by Amazon Cognito. The ID of the pool to which this identity belongs.

                              pub fn identity_pool_id( mut self, diff --git a/sdk/cognitosync/src/operation/update_records/builders.rs b/sdk/cognitosync/src/operation/update_records/builders.rs index 6d9cdf30e5a5..1689c55b747a 100644 --- a/sdk/cognitosync/src/operation/update_records/builders.rs +++ b/sdk/cognitosync/src/operation/update_records/builders.rs @@ -22,9 +22,9 @@ impl UpdateRecordsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -80,6 +80,20 @@ impl UpdateRecordsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::update_records::UpdateRecords, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } /// A name-spaced GUID (for example, us-east-1:23EC4050-6AEA-7089-A2DD-08002EXAMPLE) created by Amazon Cognito. GUID generation is unique within a region. pub fn identity_pool_id( mut self, diff --git a/sdk/comprehend/src/operation/batch_detect_dominant_language/builders.rs b/sdk/comprehend/src/operation/batch_detect_dominant_language/builders.rs index e2dce8eb6fee..36daa21adf67 100644 --- a/sdk/comprehend/src/operation/batch_detect_dominant_language/builders.rs +++ b/sdk/comprehend/src/operation/batch_detect_dominant_language/builders.rs @@ -19,9 +19,9 @@ impl BatchDetectDominantLanguageFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl BatchDetectDominantLanguageFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::batch_detect_dominant_language::BatchDetectDominantLanguage, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::batch_detect_dominant_language::BatchDetectDominantLanguageError, + >, + > { + self.customize_middleware().await + } /// Appends an item to `TextList`. /// /// To override the contents of this collection use [`set_text_list`](Self::set_text_list). diff --git a/sdk/comprehend/src/operation/batch_detect_entities/builders.rs b/sdk/comprehend/src/operation/batch_detect_entities/builders.rs index 12b33aed1abf..26d8331e6f9c 100644 --- a/sdk/comprehend/src/operation/batch_detect_entities/builders.rs +++ b/sdk/comprehend/src/operation/batch_detect_entities/builders.rs @@ -19,9 +19,9 @@ impl BatchDetectEntitiesFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl BatchDetectEntitiesFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::batch_detect_entities::BatchDetectEntities, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::batch_detect_entities::BatchDetectEntitiesError, + >, + > { + self.customize_middleware().await + } /// Appends an item to `TextList`. /// /// To override the contents of this collection use [`set_text_list`](Self::set_text_list). diff --git a/sdk/comprehend/src/operation/batch_detect_key_phrases/builders.rs b/sdk/comprehend/src/operation/batch_detect_key_phrases/builders.rs index fe3b023ce1aa..37de57d76ad4 100644 --- a/sdk/comprehend/src/operation/batch_detect_key_phrases/builders.rs +++ b/sdk/comprehend/src/operation/batch_detect_key_phrases/builders.rs @@ -19,9 +19,9 @@ impl BatchDetectKeyPhrasesFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl BatchDetectKeyPhrasesFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::batch_detect_key_phrases::BatchDetectKeyPhrases, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::batch_detect_key_phrases::BatchDetectKeyPhrasesError, + >, + > { + self.customize_middleware().await + } /// Appends an item to `TextList`. /// /// To override the contents of this collection use [`set_text_list`](Self::set_text_list). diff --git a/sdk/comprehend/src/operation/batch_detect_sentiment/builders.rs b/sdk/comprehend/src/operation/batch_detect_sentiment/builders.rs index be73d41dfa7e..b3dc620b76a8 100644 --- a/sdk/comprehend/src/operation/batch_detect_sentiment/builders.rs +++ b/sdk/comprehend/src/operation/batch_detect_sentiment/builders.rs @@ -19,9 +19,9 @@ impl BatchDetectSentimentFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl BatchDetectSentimentFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::batch_detect_sentiment::BatchDetectSentiment, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::batch_detect_sentiment::BatchDetectSentimentError, + >, + > { + self.customize_middleware().await + } /// Appends an item to `TextList`. /// /// To override the contents of this collection use [`set_text_list`](Self::set_text_list). diff --git a/sdk/comprehend/src/operation/batch_detect_syntax/builders.rs b/sdk/comprehend/src/operation/batch_detect_syntax/builders.rs index 799b4225b112..20702923001e 100644 --- a/sdk/comprehend/src/operation/batch_detect_syntax/builders.rs +++ b/sdk/comprehend/src/operation/batch_detect_syntax/builders.rs @@ -19,9 +19,9 @@ impl BatchDetectSyntaxFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl BatchDetectSyntaxFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::batch_detect_syntax::BatchDetectSyntax, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::batch_detect_syntax::BatchDetectSyntaxError, + >, + > { + self.customize_middleware().await + } /// Appends an item to `TextList`. /// /// To override the contents of this collection use [`set_text_list`](Self::set_text_list). diff --git a/sdk/comprehend/src/operation/batch_detect_targeted_sentiment/builders.rs b/sdk/comprehend/src/operation/batch_detect_targeted_sentiment/builders.rs index ebf6aebaa652..4d74bac0f519 100644 --- a/sdk/comprehend/src/operation/batch_detect_targeted_sentiment/builders.rs +++ b/sdk/comprehend/src/operation/batch_detect_targeted_sentiment/builders.rs @@ -20,9 +20,9 @@ impl BatchDetectTargetedSentimentFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -84,6 +84,22 @@ impl BatchDetectTargetedSentimentFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::batch_detect_targeted_sentiment::BatchDetectTargetedSentiment, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::batch_detect_targeted_sentiment::BatchDetectTargetedSentimentError, + >, + > { + self.customize_middleware().await + } /// Appends an item to `TextList`. /// /// To override the contents of this collection use [`set_text_list`](Self::set_text_list). diff --git a/sdk/comprehend/src/operation/classify_document/builders.rs b/sdk/comprehend/src/operation/classify_document/builders.rs index b4c14e4e1d45..01e1146ae3f7 100644 --- a/sdk/comprehend/src/operation/classify_document/builders.rs +++ b/sdk/comprehend/src/operation/classify_document/builders.rs @@ -22,9 +22,9 @@ impl ClassifyDocumentFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -86,6 +86,22 @@ impl ClassifyDocumentFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::classify_document::ClassifyDocument, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::classify_document::ClassifyDocumentError, + >, + > { + self.customize_middleware().await + } ///

                              The document text to be analyzed. If you enter text using this parameter, do not use the Bytes parameter.

                              pub fn text(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.text(input.into()); diff --git a/sdk/comprehend/src/operation/contains_pii_entities/builders.rs b/sdk/comprehend/src/operation/contains_pii_entities/builders.rs index cd8866fc2f08..c34418fd9721 100644 --- a/sdk/comprehend/src/operation/contains_pii_entities/builders.rs +++ b/sdk/comprehend/src/operation/contains_pii_entities/builders.rs @@ -19,9 +19,9 @@ impl ContainsPiiEntitiesFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl ContainsPiiEntitiesFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::contains_pii_entities::ContainsPiiEntities, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::contains_pii_entities::ContainsPiiEntitiesError, + >, + > { + self.customize_middleware().await + } ///

                              A UTF-8 text string. The maximum string size is 100 KB.

                              pub fn text(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.text(input.into()); diff --git a/sdk/comprehend/src/operation/create_dataset/builders.rs b/sdk/comprehend/src/operation/create_dataset/builders.rs index 8ce2eb2e84fb..879d7d638d70 100644 --- a/sdk/comprehend/src/operation/create_dataset/builders.rs +++ b/sdk/comprehend/src/operation/create_dataset/builders.rs @@ -19,9 +19,9 @@ impl CreateDatasetFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl CreateDatasetFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::create_dataset::CreateDataset, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                              The Amazon Resource Number (ARN) of the flywheel of the flywheel to receive the data.

                              pub fn flywheel_arn(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.flywheel_arn(input.into()); diff --git a/sdk/comprehend/src/operation/create_document_classifier/builders.rs b/sdk/comprehend/src/operation/create_document_classifier/builders.rs index 62f863fca34b..8e1d8844a2c6 100644 --- a/sdk/comprehend/src/operation/create_document_classifier/builders.rs +++ b/sdk/comprehend/src/operation/create_document_classifier/builders.rs @@ -19,9 +19,9 @@ impl CreateDocumentClassifierFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl CreateDocumentClassifierFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::create_document_classifier::CreateDocumentClassifier, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::create_document_classifier::CreateDocumentClassifierError, + >, + > { + self.customize_middleware().await + } ///

                              The name of the document classifier.

                              pub fn document_classifier_name( mut self, diff --git a/sdk/comprehend/src/operation/create_endpoint/builders.rs b/sdk/comprehend/src/operation/create_endpoint/builders.rs index 218367a30317..1fa5567bba9a 100644 --- a/sdk/comprehend/src/operation/create_endpoint/builders.rs +++ b/sdk/comprehend/src/operation/create_endpoint/builders.rs @@ -19,9 +19,9 @@ impl CreateEndpointFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl CreateEndpointFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::create_endpoint::CreateEndpoint, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                              This is the descriptive suffix that becomes part of the EndpointArn used for all subsequent requests to this resource.

                              pub fn endpoint_name( mut self, diff --git a/sdk/comprehend/src/operation/create_entity_recognizer/builders.rs b/sdk/comprehend/src/operation/create_entity_recognizer/builders.rs index 862918284da7..d00537f518d1 100644 --- a/sdk/comprehend/src/operation/create_entity_recognizer/builders.rs +++ b/sdk/comprehend/src/operation/create_entity_recognizer/builders.rs @@ -19,9 +19,9 @@ impl CreateEntityRecognizerFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl CreateEntityRecognizerFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::create_entity_recognizer::CreateEntityRecognizer, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::create_entity_recognizer::CreateEntityRecognizerError, + >, + > { + self.customize_middleware().await + } ///

                              The name given to the newly created recognizer. Recognizer names can be a maximum of 256 characters. Alphanumeric characters, hyphens (-) and underscores (_) are allowed. The name must be unique in the account/Region.

                              pub fn recognizer_name( mut self, diff --git a/sdk/comprehend/src/operation/create_flywheel/builders.rs b/sdk/comprehend/src/operation/create_flywheel/builders.rs index dc9ffc7fee30..da7ecfcefefe 100644 --- a/sdk/comprehend/src/operation/create_flywheel/builders.rs +++ b/sdk/comprehend/src/operation/create_flywheel/builders.rs @@ -23,9 +23,9 @@ impl CreateFlywheelFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -81,6 +81,20 @@ impl CreateFlywheelFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::create_flywheel::CreateFlywheel, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                              Name for the flywheel.

                              pub fn flywheel_name( mut self, diff --git a/sdk/comprehend/src/operation/delete_document_classifier/builders.rs b/sdk/comprehend/src/operation/delete_document_classifier/builders.rs index 58971c0bdbfb..27b68cfe2758 100644 --- a/sdk/comprehend/src/operation/delete_document_classifier/builders.rs +++ b/sdk/comprehend/src/operation/delete_document_classifier/builders.rs @@ -21,9 +21,9 @@ impl DeleteDocumentClassifierFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -85,6 +85,22 @@ impl DeleteDocumentClassifierFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::delete_document_classifier::DeleteDocumentClassifier, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::delete_document_classifier::DeleteDocumentClassifierError, + >, + > { + self.customize_middleware().await + } ///

                              The Amazon Resource Name (ARN) that identifies the document classifier.

                              pub fn document_classifier_arn( mut self, diff --git a/sdk/comprehend/src/operation/delete_endpoint/builders.rs b/sdk/comprehend/src/operation/delete_endpoint/builders.rs index 25f957e2175a..a6320f0eafc3 100644 --- a/sdk/comprehend/src/operation/delete_endpoint/builders.rs +++ b/sdk/comprehend/src/operation/delete_endpoint/builders.rs @@ -19,9 +19,9 @@ impl DeleteEndpointFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl DeleteEndpointFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::delete_endpoint::DeleteEndpoint, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                              The Amazon Resource Number (ARN) of the endpoint being deleted.

                              pub fn endpoint_arn(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.endpoint_arn(input.into()); diff --git a/sdk/comprehend/src/operation/delete_entity_recognizer/builders.rs b/sdk/comprehend/src/operation/delete_entity_recognizer/builders.rs index b70f7fd7883f..cf8255e0696f 100644 --- a/sdk/comprehend/src/operation/delete_entity_recognizer/builders.rs +++ b/sdk/comprehend/src/operation/delete_entity_recognizer/builders.rs @@ -21,9 +21,9 @@ impl DeleteEntityRecognizerFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -85,6 +85,22 @@ impl DeleteEntityRecognizerFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::delete_entity_recognizer::DeleteEntityRecognizer, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::delete_entity_recognizer::DeleteEntityRecognizerError, + >, + > { + self.customize_middleware().await + } ///

                              The Amazon Resource Name (ARN) that identifies the entity recognizer.

                              pub fn entity_recognizer_arn( mut self, diff --git a/sdk/comprehend/src/operation/delete_flywheel/builders.rs b/sdk/comprehend/src/operation/delete_flywheel/builders.rs index 25304836b730..fb6e72daee2b 100644 --- a/sdk/comprehend/src/operation/delete_flywheel/builders.rs +++ b/sdk/comprehend/src/operation/delete_flywheel/builders.rs @@ -20,9 +20,9 @@ impl DeleteFlywheelFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -78,6 +78,20 @@ impl DeleteFlywheelFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::delete_flywheel::DeleteFlywheel, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                              The Amazon Resource Number (ARN) of the flywheel to delete.

                              pub fn flywheel_arn(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.flywheel_arn(input.into()); diff --git a/sdk/comprehend/src/operation/delete_resource_policy/builders.rs b/sdk/comprehend/src/operation/delete_resource_policy/builders.rs index 372a3e8e3569..c4b2c7256ddd 100644 --- a/sdk/comprehend/src/operation/delete_resource_policy/builders.rs +++ b/sdk/comprehend/src/operation/delete_resource_policy/builders.rs @@ -19,9 +19,9 @@ impl DeleteResourcePolicyFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl DeleteResourcePolicyFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::delete_resource_policy::DeleteResourcePolicy, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::delete_resource_policy::DeleteResourcePolicyError, + >, + > { + self.customize_middleware().await + } ///

                              The Amazon Resource Name (ARN) of the custom model version that has the policy to delete.

                              pub fn resource_arn(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.resource_arn(input.into()); diff --git a/sdk/comprehend/src/operation/describe_dataset/builders.rs b/sdk/comprehend/src/operation/describe_dataset/builders.rs index ac22a1378b77..e5bb3cda9c47 100644 --- a/sdk/comprehend/src/operation/describe_dataset/builders.rs +++ b/sdk/comprehend/src/operation/describe_dataset/builders.rs @@ -19,9 +19,9 @@ impl DescribeDatasetFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl DescribeDatasetFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::describe_dataset::DescribeDataset, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::describe_dataset::DescribeDatasetError, + >, + > { + self.customize_middleware().await + } ///

                              The ARN of the dataset.

                              pub fn dataset_arn(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.dataset_arn(input.into()); diff --git a/sdk/comprehend/src/operation/describe_document_classification_job/builders.rs b/sdk/comprehend/src/operation/describe_document_classification_job/builders.rs index 5dd17aa71a1d..2b5c2f053e6d 100644 --- a/sdk/comprehend/src/operation/describe_document_classification_job/builders.rs +++ b/sdk/comprehend/src/operation/describe_document_classification_job/builders.rs @@ -19,9 +19,9 @@ impl DescribeDocumentClassificationJobFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize(self) -> ::std::result::Result< + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware(self) -> ::std::result::Result< crate::client::customize::CustomizableOperation, ::aws_smithy_http::result::SdkError >{ @@ -64,6 +64,15 @@ impl DescribeDocumentClassificationJobFluentBuilder { { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize(self) -> ::std::result::Result< + crate::client::customize::CustomizableOperation, + ::aws_smithy_http::result::SdkError + >{ + self.customize_middleware().await + } ///

                              The identifier that Amazon Comprehend generated for the job. The StartDocumentClassificationJob operation returns this identifier in its response.

                              pub fn job_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.job_id(input.into()); diff --git a/sdk/comprehend/src/operation/describe_document_classifier/builders.rs b/sdk/comprehend/src/operation/describe_document_classifier/builders.rs index 35196baaab1e..129eacd309dc 100644 --- a/sdk/comprehend/src/operation/describe_document_classifier/builders.rs +++ b/sdk/comprehend/src/operation/describe_document_classifier/builders.rs @@ -19,9 +19,9 @@ impl DescribeDocumentClassifierFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl DescribeDocumentClassifierFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::describe_document_classifier::DescribeDocumentClassifier, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::describe_document_classifier::DescribeDocumentClassifierError, + >, + > { + self.customize_middleware().await + } ///

                              The Amazon Resource Name (ARN) that identifies the document classifier. The CreateDocumentClassifier operation returns this identifier in its response.

                              pub fn document_classifier_arn( mut self, diff --git a/sdk/comprehend/src/operation/describe_dominant_language_detection_job/builders.rs b/sdk/comprehend/src/operation/describe_dominant_language_detection_job/builders.rs index 4bd81c330450..0e41849287e0 100644 --- a/sdk/comprehend/src/operation/describe_dominant_language_detection_job/builders.rs +++ b/sdk/comprehend/src/operation/describe_dominant_language_detection_job/builders.rs @@ -19,9 +19,9 @@ impl DescribeDominantLanguageDetectionJobFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize(self) -> ::std::result::Result< + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware(self) -> ::std::result::Result< crate::client::customize::CustomizableOperation, ::aws_smithy_http::result::SdkError >{ @@ -64,6 +64,15 @@ impl DescribeDominantLanguageDetectionJobFluentBuilder { { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize(self) -> ::std::result::Result< + crate::client::customize::CustomizableOperation, + ::aws_smithy_http::result::SdkError + >{ + self.customize_middleware().await + } ///

                              The identifier that Amazon Comprehend generated for the job. The StartDominantLanguageDetectionJob operation returns this identifier in its response.

                              pub fn job_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.job_id(input.into()); diff --git a/sdk/comprehend/src/operation/describe_endpoint/builders.rs b/sdk/comprehend/src/operation/describe_endpoint/builders.rs index 966347428a29..af95d602d412 100644 --- a/sdk/comprehend/src/operation/describe_endpoint/builders.rs +++ b/sdk/comprehend/src/operation/describe_endpoint/builders.rs @@ -19,9 +19,9 @@ impl DescribeEndpointFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl DescribeEndpointFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::describe_endpoint::DescribeEndpoint, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::describe_endpoint::DescribeEndpointError, + >, + > { + self.customize_middleware().await + } ///

                              The Amazon Resource Number (ARN) of the endpoint being described.

                              pub fn endpoint_arn(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.endpoint_arn(input.into()); diff --git a/sdk/comprehend/src/operation/describe_entities_detection_job/builders.rs b/sdk/comprehend/src/operation/describe_entities_detection_job/builders.rs index ddef3b1d7208..41409fc6169a 100644 --- a/sdk/comprehend/src/operation/describe_entities_detection_job/builders.rs +++ b/sdk/comprehend/src/operation/describe_entities_detection_job/builders.rs @@ -19,9 +19,9 @@ impl DescribeEntitiesDetectionJobFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl DescribeEntitiesDetectionJobFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::describe_entities_detection_job::DescribeEntitiesDetectionJob, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::describe_entities_detection_job::DescribeEntitiesDetectionJobError, + >, + > { + self.customize_middleware().await + } ///

                              The identifier that Amazon Comprehend generated for the job. The StartEntitiesDetectionJob operation returns this identifier in its response.

                              pub fn job_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.job_id(input.into()); diff --git a/sdk/comprehend/src/operation/describe_entity_recognizer/builders.rs b/sdk/comprehend/src/operation/describe_entity_recognizer/builders.rs index d08d0a456250..2ce342f260ad 100644 --- a/sdk/comprehend/src/operation/describe_entity_recognizer/builders.rs +++ b/sdk/comprehend/src/operation/describe_entity_recognizer/builders.rs @@ -19,9 +19,9 @@ impl DescribeEntityRecognizerFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl DescribeEntityRecognizerFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::describe_entity_recognizer::DescribeEntityRecognizer, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::describe_entity_recognizer::DescribeEntityRecognizerError, + >, + > { + self.customize_middleware().await + } ///

                              The Amazon Resource Name (ARN) that identifies the entity recognizer.

                              pub fn entity_recognizer_arn( mut self, diff --git a/sdk/comprehend/src/operation/describe_events_detection_job/builders.rs b/sdk/comprehend/src/operation/describe_events_detection_job/builders.rs index d8271428e4fc..62701d4fb8b4 100644 --- a/sdk/comprehend/src/operation/describe_events_detection_job/builders.rs +++ b/sdk/comprehend/src/operation/describe_events_detection_job/builders.rs @@ -19,9 +19,9 @@ impl DescribeEventsDetectionJobFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl DescribeEventsDetectionJobFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::describe_events_detection_job::DescribeEventsDetectionJob, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::describe_events_detection_job::DescribeEventsDetectionJobError, + >, + > { + self.customize_middleware().await + } ///

                              The identifier of the events detection job.

                              pub fn job_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.job_id(input.into()); diff --git a/sdk/comprehend/src/operation/describe_flywheel/builders.rs b/sdk/comprehend/src/operation/describe_flywheel/builders.rs index 473c601e7a0e..ded2797b3bb1 100644 --- a/sdk/comprehend/src/operation/describe_flywheel/builders.rs +++ b/sdk/comprehend/src/operation/describe_flywheel/builders.rs @@ -19,9 +19,9 @@ impl DescribeFlywheelFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl DescribeFlywheelFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::describe_flywheel::DescribeFlywheel, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::describe_flywheel::DescribeFlywheelError, + >, + > { + self.customize_middleware().await + } ///

                              The Amazon Resource Number (ARN) of the flywheel.

                              pub fn flywheel_arn(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.flywheel_arn(input.into()); diff --git a/sdk/comprehend/src/operation/describe_flywheel_iteration/builders.rs b/sdk/comprehend/src/operation/describe_flywheel_iteration/builders.rs index 7c51973226ff..2147bb5070f4 100644 --- a/sdk/comprehend/src/operation/describe_flywheel_iteration/builders.rs +++ b/sdk/comprehend/src/operation/describe_flywheel_iteration/builders.rs @@ -19,9 +19,9 @@ impl DescribeFlywheelIterationFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl DescribeFlywheelIterationFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::describe_flywheel_iteration::DescribeFlywheelIteration, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::describe_flywheel_iteration::DescribeFlywheelIterationError, + >, + > { + self.customize_middleware().await + } ///

                              pub fn flywheel_arn(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.flywheel_arn(input.into()); diff --git a/sdk/comprehend/src/operation/describe_key_phrases_detection_job/builders.rs b/sdk/comprehend/src/operation/describe_key_phrases_detection_job/builders.rs index d00a1d0a3655..fb8cf3b9b85a 100644 --- a/sdk/comprehend/src/operation/describe_key_phrases_detection_job/builders.rs +++ b/sdk/comprehend/src/operation/describe_key_phrases_detection_job/builders.rs @@ -19,9 +19,9 @@ impl DescribeKeyPhrasesDetectionJobFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize(self) -> ::std::result::Result< + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware(self) -> ::std::result::Result< crate::client::customize::CustomizableOperation, ::aws_smithy_http::result::SdkError >{ @@ -64,6 +64,15 @@ impl DescribeKeyPhrasesDetectionJobFluentBuilder { { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize(self) -> ::std::result::Result< + crate::client::customize::CustomizableOperation, + ::aws_smithy_http::result::SdkError + >{ + self.customize_middleware().await + } ///

                              The identifier that Amazon Comprehend generated for the job. The StartKeyPhrasesDetectionJob operation returns this identifier in its response.

                              pub fn job_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.job_id(input.into()); diff --git a/sdk/comprehend/src/operation/describe_pii_entities_detection_job/builders.rs b/sdk/comprehend/src/operation/describe_pii_entities_detection_job/builders.rs index eef89115c7b1..e6b2a81b73bf 100644 --- a/sdk/comprehend/src/operation/describe_pii_entities_detection_job/builders.rs +++ b/sdk/comprehend/src/operation/describe_pii_entities_detection_job/builders.rs @@ -19,9 +19,9 @@ impl DescribePiiEntitiesDetectionJobFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize(self) -> ::std::result::Result< + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware(self) -> ::std::result::Result< crate::client::customize::CustomizableOperation, ::aws_smithy_http::result::SdkError >{ @@ -64,6 +64,15 @@ impl DescribePiiEntitiesDetectionJobFluentBuilder { { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize(self) -> ::std::result::Result< + crate::client::customize::CustomizableOperation, + ::aws_smithy_http::result::SdkError + >{ + self.customize_middleware().await + } ///

                              The identifier that Amazon Comprehend generated for the job. The operation returns this identifier in its response.

                              pub fn job_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.job_id(input.into()); diff --git a/sdk/comprehend/src/operation/describe_resource_policy/builders.rs b/sdk/comprehend/src/operation/describe_resource_policy/builders.rs index dae5871d94da..13a95d7f41b5 100644 --- a/sdk/comprehend/src/operation/describe_resource_policy/builders.rs +++ b/sdk/comprehend/src/operation/describe_resource_policy/builders.rs @@ -19,9 +19,9 @@ impl DescribeResourcePolicyFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl DescribeResourcePolicyFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::describe_resource_policy::DescribeResourcePolicy, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::describe_resource_policy::DescribeResourcePolicyError, + >, + > { + self.customize_middleware().await + } ///

                              The Amazon Resource Name (ARN) of the custom model version that has the resource policy.

                              pub fn resource_arn(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.resource_arn(input.into()); diff --git a/sdk/comprehend/src/operation/describe_sentiment_detection_job/builders.rs b/sdk/comprehend/src/operation/describe_sentiment_detection_job/builders.rs index 3cb1b64cfd7a..aa8e3cf5621c 100644 --- a/sdk/comprehend/src/operation/describe_sentiment_detection_job/builders.rs +++ b/sdk/comprehend/src/operation/describe_sentiment_detection_job/builders.rs @@ -19,9 +19,9 @@ impl DescribeSentimentDetectionJobFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl DescribeSentimentDetectionJobFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::describe_sentiment_detection_job::DescribeSentimentDetectionJob, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::describe_sentiment_detection_job::DescribeSentimentDetectionJobError, + >, + > { + self.customize_middleware().await + } ///

                              The identifier that Amazon Comprehend generated for the job. The operation returns this identifier in its response.

                              pub fn job_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.job_id(input.into()); diff --git a/sdk/comprehend/src/operation/describe_targeted_sentiment_detection_job/builders.rs b/sdk/comprehend/src/operation/describe_targeted_sentiment_detection_job/builders.rs index ddbbaffcde68..70316f6a9faf 100644 --- a/sdk/comprehend/src/operation/describe_targeted_sentiment_detection_job/builders.rs +++ b/sdk/comprehend/src/operation/describe_targeted_sentiment_detection_job/builders.rs @@ -19,9 +19,9 @@ impl DescribeTargetedSentimentDetectionJobFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize(self) -> ::std::result::Result< + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware(self) -> ::std::result::Result< crate::client::customize::CustomizableOperation, ::aws_smithy_http::result::SdkError >{ @@ -64,6 +64,15 @@ impl DescribeTargetedSentimentDetectionJobFluentBuilder { { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize(self) -> ::std::result::Result< + crate::client::customize::CustomizableOperation, + ::aws_smithy_http::result::SdkError + >{ + self.customize_middleware().await + } ///

                              The identifier that Amazon Comprehend generated for the job. The StartTargetedSentimentDetectionJob operation returns this identifier in its response.

                              pub fn job_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.job_id(input.into()); diff --git a/sdk/comprehend/src/operation/describe_topics_detection_job/builders.rs b/sdk/comprehend/src/operation/describe_topics_detection_job/builders.rs index 75ae8fb2f96c..07efd05e2f73 100644 --- a/sdk/comprehend/src/operation/describe_topics_detection_job/builders.rs +++ b/sdk/comprehend/src/operation/describe_topics_detection_job/builders.rs @@ -19,9 +19,9 @@ impl DescribeTopicsDetectionJobFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl DescribeTopicsDetectionJobFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::describe_topics_detection_job::DescribeTopicsDetectionJob, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::describe_topics_detection_job::DescribeTopicsDetectionJobError, + >, + > { + self.customize_middleware().await + } ///

                              The identifier assigned by the user to the detection job.

                              pub fn job_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.job_id(input.into()); diff --git a/sdk/comprehend/src/operation/detect_dominant_language/builders.rs b/sdk/comprehend/src/operation/detect_dominant_language/builders.rs index 6af01c9091dc..5b57e0f08626 100644 --- a/sdk/comprehend/src/operation/detect_dominant_language/builders.rs +++ b/sdk/comprehend/src/operation/detect_dominant_language/builders.rs @@ -19,9 +19,9 @@ impl DetectDominantLanguageFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl DetectDominantLanguageFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::detect_dominant_language::DetectDominantLanguage, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::detect_dominant_language::DetectDominantLanguageError, + >, + > { + self.customize_middleware().await + } ///

                              A UTF-8 text string. The string must contain at least 20 characters. The maximum string size is 100 KB.

                              pub fn text(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.text(input.into()); diff --git a/sdk/comprehend/src/operation/detect_entities/builders.rs b/sdk/comprehend/src/operation/detect_entities/builders.rs index 450a812c951c..29eb3807d6ec 100644 --- a/sdk/comprehend/src/operation/detect_entities/builders.rs +++ b/sdk/comprehend/src/operation/detect_entities/builders.rs @@ -23,9 +23,9 @@ impl DetectEntitiesFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -81,6 +81,20 @@ impl DetectEntitiesFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::detect_entities::DetectEntities, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                              A UTF-8 text string. The maximum string size is 100 KB. If you enter text using this parameter, do not use the Bytes parameter.

                              pub fn text(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.text(input.into()); diff --git a/sdk/comprehend/src/operation/detect_key_phrases/builders.rs b/sdk/comprehend/src/operation/detect_key_phrases/builders.rs index b5b9e56cadf2..d0bf4e059568 100644 --- a/sdk/comprehend/src/operation/detect_key_phrases/builders.rs +++ b/sdk/comprehend/src/operation/detect_key_phrases/builders.rs @@ -19,9 +19,9 @@ impl DetectKeyPhrasesFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl DetectKeyPhrasesFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::detect_key_phrases::DetectKeyPhrases, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::detect_key_phrases::DetectKeyPhrasesError, + >, + > { + self.customize_middleware().await + } ///

                              A UTF-8 text string. The string must contain less than 100 KB of UTF-8 encoded characters.

                              pub fn text(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.text(input.into()); diff --git a/sdk/comprehend/src/operation/detect_pii_entities/builders.rs b/sdk/comprehend/src/operation/detect_pii_entities/builders.rs index 0a2946560c07..fd673cfb48d1 100644 --- a/sdk/comprehend/src/operation/detect_pii_entities/builders.rs +++ b/sdk/comprehend/src/operation/detect_pii_entities/builders.rs @@ -19,9 +19,9 @@ impl DetectPiiEntitiesFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl DetectPiiEntitiesFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::detect_pii_entities::DetectPiiEntities, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::detect_pii_entities::DetectPiiEntitiesError, + >, + > { + self.customize_middleware().await + } ///

                              A UTF-8 text string. The maximum string size is 100 KB.

                              pub fn text(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.text(input.into()); diff --git a/sdk/comprehend/src/operation/detect_sentiment/builders.rs b/sdk/comprehend/src/operation/detect_sentiment/builders.rs index 583f0be5cfdd..e28838231d71 100644 --- a/sdk/comprehend/src/operation/detect_sentiment/builders.rs +++ b/sdk/comprehend/src/operation/detect_sentiment/builders.rs @@ -19,9 +19,9 @@ impl DetectSentimentFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl DetectSentimentFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::detect_sentiment::DetectSentiment, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::detect_sentiment::DetectSentimentError, + >, + > { + self.customize_middleware().await + } ///

                              A UTF-8 text string. The maximum string size is 5 KB.

                              pub fn text(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.text(input.into()); diff --git a/sdk/comprehend/src/operation/detect_syntax/builders.rs b/sdk/comprehend/src/operation/detect_syntax/builders.rs index 9f6d49041313..9aee41ea5f9d 100644 --- a/sdk/comprehend/src/operation/detect_syntax/builders.rs +++ b/sdk/comprehend/src/operation/detect_syntax/builders.rs @@ -19,9 +19,9 @@ impl DetectSyntaxFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl DetectSyntaxFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::detect_syntax::DetectSyntax, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                              A UTF-8 string. The maximum string size is 5 KB.

                              pub fn text(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.text(input.into()); diff --git a/sdk/comprehend/src/operation/detect_targeted_sentiment/builders.rs b/sdk/comprehend/src/operation/detect_targeted_sentiment/builders.rs index 2afba81cfe54..cfc8c018bcc1 100644 --- a/sdk/comprehend/src/operation/detect_targeted_sentiment/builders.rs +++ b/sdk/comprehend/src/operation/detect_targeted_sentiment/builders.rs @@ -21,9 +21,9 @@ impl DetectTargetedSentimentFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -85,6 +85,22 @@ impl DetectTargetedSentimentFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::detect_targeted_sentiment::DetectTargetedSentiment, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::detect_targeted_sentiment::DetectTargetedSentimentError, + >, + > { + self.customize_middleware().await + } ///

                              A UTF-8 text string. The maximum string length is 5 KB.

                              pub fn text(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.text(input.into()); diff --git a/sdk/comprehend/src/operation/import_model/builders.rs b/sdk/comprehend/src/operation/import_model/builders.rs index 69bc7e494227..a3cc1b343e07 100644 --- a/sdk/comprehend/src/operation/import_model/builders.rs +++ b/sdk/comprehend/src/operation/import_model/builders.rs @@ -21,9 +21,9 @@ impl ImportModelFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -79,6 +79,20 @@ impl ImportModelFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::import_model::ImportModel, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                              The Amazon Resource Name (ARN) of the custom model to import.

                              pub fn source_model_arn( mut self, diff --git a/sdk/comprehend/src/operation/list_datasets/builders.rs b/sdk/comprehend/src/operation/list_datasets/builders.rs index 3a7442a4fe0b..b0960a16f4a3 100644 --- a/sdk/comprehend/src/operation/list_datasets/builders.rs +++ b/sdk/comprehend/src/operation/list_datasets/builders.rs @@ -19,9 +19,9 @@ impl ListDatasetsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl ListDatasetsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_datasets::ListDatasets, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::list_datasets::paginator::ListDatasetsPaginator::send) which returns a `Stream`. diff --git a/sdk/comprehend/src/operation/list_document_classification_jobs/builders.rs b/sdk/comprehend/src/operation/list_document_classification_jobs/builders.rs index 91c23ea49671..7ed99338a097 100644 --- a/sdk/comprehend/src/operation/list_document_classification_jobs/builders.rs +++ b/sdk/comprehend/src/operation/list_document_classification_jobs/builders.rs @@ -19,9 +19,9 @@ impl ListDocumentClassificationJobsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize(self) -> ::std::result::Result< + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware(self) -> ::std::result::Result< crate::client::customize::CustomizableOperation, ::aws_smithy_http::result::SdkError >{ @@ -64,6 +64,15 @@ impl ListDocumentClassificationJobsFluentBuilder { { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize(self) -> ::std::result::Result< + crate::client::customize::CustomizableOperation, + ::aws_smithy_http::result::SdkError + >{ + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::list_document_classification_jobs::paginator::ListDocumentClassificationJobsPaginator::send) which returns a `Stream`. diff --git a/sdk/comprehend/src/operation/list_document_classifier_summaries/builders.rs b/sdk/comprehend/src/operation/list_document_classifier_summaries/builders.rs index 359c1e931a51..500fc404a5d1 100644 --- a/sdk/comprehend/src/operation/list_document_classifier_summaries/builders.rs +++ b/sdk/comprehend/src/operation/list_document_classifier_summaries/builders.rs @@ -19,9 +19,9 @@ impl ListDocumentClassifierSummariesFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize(self) -> ::std::result::Result< + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware(self) -> ::std::result::Result< crate::client::customize::CustomizableOperation, ::aws_smithy_http::result::SdkError >{ @@ -64,6 +64,15 @@ impl ListDocumentClassifierSummariesFluentBuilder { { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize(self) -> ::std::result::Result< + crate::client::customize::CustomizableOperation, + ::aws_smithy_http::result::SdkError + >{ + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::list_document_classifier_summaries::paginator::ListDocumentClassifierSummariesPaginator::send) which returns a `Stream`. diff --git a/sdk/comprehend/src/operation/list_document_classifiers/builders.rs b/sdk/comprehend/src/operation/list_document_classifiers/builders.rs index fc2dd23b9b81..a3548ab6b856 100644 --- a/sdk/comprehend/src/operation/list_document_classifiers/builders.rs +++ b/sdk/comprehend/src/operation/list_document_classifiers/builders.rs @@ -20,9 +20,9 @@ impl ListDocumentClassifiersFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -84,6 +84,22 @@ impl ListDocumentClassifiersFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_document_classifiers::ListDocumentClassifiers, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::list_document_classifiers::ListDocumentClassifiersError, + >, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::list_document_classifiers::paginator::ListDocumentClassifiersPaginator::send) which returns a `Stream`. diff --git a/sdk/comprehend/src/operation/list_dominant_language_detection_jobs/builders.rs b/sdk/comprehend/src/operation/list_dominant_language_detection_jobs/builders.rs index 84a1a5cd6f5f..992564bf8330 100644 --- a/sdk/comprehend/src/operation/list_dominant_language_detection_jobs/builders.rs +++ b/sdk/comprehend/src/operation/list_dominant_language_detection_jobs/builders.rs @@ -19,9 +19,9 @@ impl ListDominantLanguageDetectionJobsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize(self) -> ::std::result::Result< + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware(self) -> ::std::result::Result< crate::client::customize::CustomizableOperation, ::aws_smithy_http::result::SdkError >{ @@ -64,6 +64,15 @@ impl ListDominantLanguageDetectionJobsFluentBuilder { { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize(self) -> ::std::result::Result< + crate::client::customize::CustomizableOperation, + ::aws_smithy_http::result::SdkError + >{ + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::list_dominant_language_detection_jobs::paginator::ListDominantLanguageDetectionJobsPaginator::send) which returns a `Stream`. diff --git a/sdk/comprehend/src/operation/list_endpoints/builders.rs b/sdk/comprehend/src/operation/list_endpoints/builders.rs index 552d5bee3d2b..fc8c50051805 100644 --- a/sdk/comprehend/src/operation/list_endpoints/builders.rs +++ b/sdk/comprehend/src/operation/list_endpoints/builders.rs @@ -19,9 +19,9 @@ impl ListEndpointsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl ListEndpointsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_endpoints::ListEndpoints, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::list_endpoints::paginator::ListEndpointsPaginator::send) which returns a `Stream`. diff --git a/sdk/comprehend/src/operation/list_entities_detection_jobs/builders.rs b/sdk/comprehend/src/operation/list_entities_detection_jobs/builders.rs index b02d0d26512c..4d6dabd2eca9 100644 --- a/sdk/comprehend/src/operation/list_entities_detection_jobs/builders.rs +++ b/sdk/comprehend/src/operation/list_entities_detection_jobs/builders.rs @@ -19,9 +19,9 @@ impl ListEntitiesDetectionJobsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl ListEntitiesDetectionJobsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_entities_detection_jobs::ListEntitiesDetectionJobs, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::list_entities_detection_jobs::ListEntitiesDetectionJobsError, + >, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::list_entities_detection_jobs::paginator::ListEntitiesDetectionJobsPaginator::send) which returns a `Stream`. diff --git a/sdk/comprehend/src/operation/list_entity_recognizer_summaries/builders.rs b/sdk/comprehend/src/operation/list_entity_recognizer_summaries/builders.rs index 992941485c60..711341bb9510 100644 --- a/sdk/comprehend/src/operation/list_entity_recognizer_summaries/builders.rs +++ b/sdk/comprehend/src/operation/list_entity_recognizer_summaries/builders.rs @@ -19,9 +19,9 @@ impl ListEntityRecognizerSummariesFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl ListEntityRecognizerSummariesFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_entity_recognizer_summaries::ListEntityRecognizerSummaries, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::list_entity_recognizer_summaries::ListEntityRecognizerSummariesError, + >, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::list_entity_recognizer_summaries::paginator::ListEntityRecognizerSummariesPaginator::send) which returns a `Stream`. diff --git a/sdk/comprehend/src/operation/list_entity_recognizers/builders.rs b/sdk/comprehend/src/operation/list_entity_recognizers/builders.rs index f5e4b66d58f8..cec7a1648c68 100644 --- a/sdk/comprehend/src/operation/list_entity_recognizers/builders.rs +++ b/sdk/comprehend/src/operation/list_entity_recognizers/builders.rs @@ -20,9 +20,9 @@ impl ListEntityRecognizersFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -84,6 +84,22 @@ impl ListEntityRecognizersFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_entity_recognizers::ListEntityRecognizers, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::list_entity_recognizers::ListEntityRecognizersError, + >, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::list_entity_recognizers::paginator::ListEntityRecognizersPaginator::send) which returns a `Stream`. diff --git a/sdk/comprehend/src/operation/list_events_detection_jobs/builders.rs b/sdk/comprehend/src/operation/list_events_detection_jobs/builders.rs index 0c36d9d14cd0..49b779f42a0b 100644 --- a/sdk/comprehend/src/operation/list_events_detection_jobs/builders.rs +++ b/sdk/comprehend/src/operation/list_events_detection_jobs/builders.rs @@ -20,9 +20,9 @@ impl ListEventsDetectionJobsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -84,6 +84,22 @@ impl ListEventsDetectionJobsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_events_detection_jobs::ListEventsDetectionJobs, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::list_events_detection_jobs::ListEventsDetectionJobsError, + >, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::list_events_detection_jobs::paginator::ListEventsDetectionJobsPaginator::send) which returns a `Stream`. diff --git a/sdk/comprehend/src/operation/list_flywheel_iteration_history/builders.rs b/sdk/comprehend/src/operation/list_flywheel_iteration_history/builders.rs index 4fed6a4a4223..6c95576b417d 100644 --- a/sdk/comprehend/src/operation/list_flywheel_iteration_history/builders.rs +++ b/sdk/comprehend/src/operation/list_flywheel_iteration_history/builders.rs @@ -19,9 +19,9 @@ impl ListFlywheelIterationHistoryFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl ListFlywheelIterationHistoryFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_flywheel_iteration_history::ListFlywheelIterationHistory, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::list_flywheel_iteration_history::ListFlywheelIterationHistoryError, + >, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::list_flywheel_iteration_history::paginator::ListFlywheelIterationHistoryPaginator::send) which returns a `Stream`. diff --git a/sdk/comprehend/src/operation/list_flywheels/builders.rs b/sdk/comprehend/src/operation/list_flywheels/builders.rs index d4fa8e21adfe..34fee80d1a04 100644 --- a/sdk/comprehend/src/operation/list_flywheels/builders.rs +++ b/sdk/comprehend/src/operation/list_flywheels/builders.rs @@ -19,9 +19,9 @@ impl ListFlywheelsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl ListFlywheelsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_flywheels::ListFlywheels, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::list_flywheels::paginator::ListFlywheelsPaginator::send) which returns a `Stream`. diff --git a/sdk/comprehend/src/operation/list_key_phrases_detection_jobs/builders.rs b/sdk/comprehend/src/operation/list_key_phrases_detection_jobs/builders.rs index 5c013fcd0491..757af4b9232e 100644 --- a/sdk/comprehend/src/operation/list_key_phrases_detection_jobs/builders.rs +++ b/sdk/comprehend/src/operation/list_key_phrases_detection_jobs/builders.rs @@ -19,9 +19,9 @@ impl ListKeyPhrasesDetectionJobsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl ListKeyPhrasesDetectionJobsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_key_phrases_detection_jobs::ListKeyPhrasesDetectionJobs, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::list_key_phrases_detection_jobs::ListKeyPhrasesDetectionJobsError, + >, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::list_key_phrases_detection_jobs::paginator::ListKeyPhrasesDetectionJobsPaginator::send) which returns a `Stream`. diff --git a/sdk/comprehend/src/operation/list_pii_entities_detection_jobs/builders.rs b/sdk/comprehend/src/operation/list_pii_entities_detection_jobs/builders.rs index 9f2ada911560..df8992894ee5 100644 --- a/sdk/comprehend/src/operation/list_pii_entities_detection_jobs/builders.rs +++ b/sdk/comprehend/src/operation/list_pii_entities_detection_jobs/builders.rs @@ -19,9 +19,9 @@ impl ListPiiEntitiesDetectionJobsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl ListPiiEntitiesDetectionJobsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_pii_entities_detection_jobs::ListPiiEntitiesDetectionJobs, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::list_pii_entities_detection_jobs::ListPiiEntitiesDetectionJobsError, + >, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::list_pii_entities_detection_jobs::paginator::ListPiiEntitiesDetectionJobsPaginator::send) which returns a `Stream`. diff --git a/sdk/comprehend/src/operation/list_sentiment_detection_jobs/builders.rs b/sdk/comprehend/src/operation/list_sentiment_detection_jobs/builders.rs index ba0bbd447734..e5834773f8c3 100644 --- a/sdk/comprehend/src/operation/list_sentiment_detection_jobs/builders.rs +++ b/sdk/comprehend/src/operation/list_sentiment_detection_jobs/builders.rs @@ -19,9 +19,9 @@ impl ListSentimentDetectionJobsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl ListSentimentDetectionJobsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_sentiment_detection_jobs::ListSentimentDetectionJobs, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::list_sentiment_detection_jobs::ListSentimentDetectionJobsError, + >, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::list_sentiment_detection_jobs::paginator::ListSentimentDetectionJobsPaginator::send) which returns a `Stream`. diff --git a/sdk/comprehend/src/operation/list_tags_for_resource/builders.rs b/sdk/comprehend/src/operation/list_tags_for_resource/builders.rs index 59eb7a061fd8..5c885f94f536 100644 --- a/sdk/comprehend/src/operation/list_tags_for_resource/builders.rs +++ b/sdk/comprehend/src/operation/list_tags_for_resource/builders.rs @@ -19,9 +19,9 @@ impl ListTagsForResourceFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl ListTagsForResourceFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_tags_for_resource::ListTagsForResource, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::list_tags_for_resource::ListTagsForResourceError, + >, + > { + self.customize_middleware().await + } ///

                              The Amazon Resource Name (ARN) of the given Amazon Comprehend resource you are querying.

                              pub fn resource_arn(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.resource_arn(input.into()); diff --git a/sdk/comprehend/src/operation/list_targeted_sentiment_detection_jobs/builders.rs b/sdk/comprehend/src/operation/list_targeted_sentiment_detection_jobs/builders.rs index 7c16dd7cc739..0b7ec82b5b6e 100644 --- a/sdk/comprehend/src/operation/list_targeted_sentiment_detection_jobs/builders.rs +++ b/sdk/comprehend/src/operation/list_targeted_sentiment_detection_jobs/builders.rs @@ -19,9 +19,9 @@ impl ListTargetedSentimentDetectionJobsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize(self) -> ::std::result::Result< + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware(self) -> ::std::result::Result< crate::client::customize::CustomizableOperation, ::aws_smithy_http::result::SdkError >{ @@ -64,6 +64,15 @@ impl ListTargetedSentimentDetectionJobsFluentBuilder { { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize(self) -> ::std::result::Result< + crate::client::customize::CustomizableOperation, + ::aws_smithy_http::result::SdkError + >{ + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::list_targeted_sentiment_detection_jobs::paginator::ListTargetedSentimentDetectionJobsPaginator::send) which returns a `Stream`. diff --git a/sdk/comprehend/src/operation/list_topics_detection_jobs/builders.rs b/sdk/comprehend/src/operation/list_topics_detection_jobs/builders.rs index 5705611ffb59..f29812c7c866 100644 --- a/sdk/comprehend/src/operation/list_topics_detection_jobs/builders.rs +++ b/sdk/comprehend/src/operation/list_topics_detection_jobs/builders.rs @@ -20,9 +20,9 @@ impl ListTopicsDetectionJobsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -84,6 +84,22 @@ impl ListTopicsDetectionJobsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_topics_detection_jobs::ListTopicsDetectionJobs, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::list_topics_detection_jobs::ListTopicsDetectionJobsError, + >, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::list_topics_detection_jobs::paginator::ListTopicsDetectionJobsPaginator::send) which returns a `Stream`. diff --git a/sdk/comprehend/src/operation/put_resource_policy/builders.rs b/sdk/comprehend/src/operation/put_resource_policy/builders.rs index 366df579aa55..366b47c9cae3 100644 --- a/sdk/comprehend/src/operation/put_resource_policy/builders.rs +++ b/sdk/comprehend/src/operation/put_resource_policy/builders.rs @@ -19,9 +19,9 @@ impl PutResourcePolicyFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl PutResourcePolicyFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::put_resource_policy::PutResourcePolicy, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::put_resource_policy::PutResourcePolicyError, + >, + > { + self.customize_middleware().await + } ///

                              The Amazon Resource Name (ARN) of the custom model to attach the policy to.

                              pub fn resource_arn(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.resource_arn(input.into()); diff --git a/sdk/comprehend/src/operation/start_document_classification_job/builders.rs b/sdk/comprehend/src/operation/start_document_classification_job/builders.rs index 8f14055697f3..0a96dd3bac8e 100644 --- a/sdk/comprehend/src/operation/start_document_classification_job/builders.rs +++ b/sdk/comprehend/src/operation/start_document_classification_job/builders.rs @@ -19,9 +19,9 @@ impl StartDocumentClassificationJobFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize(self) -> ::std::result::Result< + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware(self) -> ::std::result::Result< crate::client::customize::CustomizableOperation, ::aws_smithy_http::result::SdkError >{ @@ -64,6 +64,15 @@ impl StartDocumentClassificationJobFluentBuilder { { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize(self) -> ::std::result::Result< + crate::client::customize::CustomizableOperation, + ::aws_smithy_http::result::SdkError + >{ + self.customize_middleware().await + } ///

                              The identifier of the job.

                              pub fn job_name(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.job_name(input.into()); diff --git a/sdk/comprehend/src/operation/start_dominant_language_detection_job/builders.rs b/sdk/comprehend/src/operation/start_dominant_language_detection_job/builders.rs index f2a6c405cee4..65fcbbac6424 100644 --- a/sdk/comprehend/src/operation/start_dominant_language_detection_job/builders.rs +++ b/sdk/comprehend/src/operation/start_dominant_language_detection_job/builders.rs @@ -19,9 +19,9 @@ impl StartDominantLanguageDetectionJobFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize(self) -> ::std::result::Result< + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware(self) -> ::std::result::Result< crate::client::customize::CustomizableOperation, ::aws_smithy_http::result::SdkError >{ @@ -64,6 +64,15 @@ impl StartDominantLanguageDetectionJobFluentBuilder { { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize(self) -> ::std::result::Result< + crate::client::customize::CustomizableOperation, + ::aws_smithy_http::result::SdkError + >{ + self.customize_middleware().await + } ///

                              Specifies the format and location of the input data for the job.

                              pub fn input_data_config(mut self, input: crate::types::InputDataConfig) -> Self { self.inner = self.inner.input_data_config(input); diff --git a/sdk/comprehend/src/operation/start_entities_detection_job/builders.rs b/sdk/comprehend/src/operation/start_entities_detection_job/builders.rs index 85aa68bf244b..8461bcfd87c0 100644 --- a/sdk/comprehend/src/operation/start_entities_detection_job/builders.rs +++ b/sdk/comprehend/src/operation/start_entities_detection_job/builders.rs @@ -20,9 +20,9 @@ impl StartEntitiesDetectionJobFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -84,6 +84,22 @@ impl StartEntitiesDetectionJobFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::start_entities_detection_job::StartEntitiesDetectionJob, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::start_entities_detection_job::StartEntitiesDetectionJobError, + >, + > { + self.customize_middleware().await + } ///

                              Specifies the format and location of the input data for the job.

                              pub fn input_data_config(mut self, input: crate::types::InputDataConfig) -> Self { self.inner = self.inner.input_data_config(input); diff --git a/sdk/comprehend/src/operation/start_events_detection_job/builders.rs b/sdk/comprehend/src/operation/start_events_detection_job/builders.rs index 8df5b0de95a5..64aecc3eee6a 100644 --- a/sdk/comprehend/src/operation/start_events_detection_job/builders.rs +++ b/sdk/comprehend/src/operation/start_events_detection_job/builders.rs @@ -20,9 +20,9 @@ impl StartEventsDetectionJobFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -84,6 +84,22 @@ impl StartEventsDetectionJobFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::start_events_detection_job::StartEventsDetectionJob, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::start_events_detection_job::StartEventsDetectionJobError, + >, + > { + self.customize_middleware().await + } ///

                              Specifies the format and location of the input data for the job.

                              pub fn input_data_config(mut self, input: crate::types::InputDataConfig) -> Self { self.inner = self.inner.input_data_config(input); diff --git a/sdk/comprehend/src/operation/start_flywheel_iteration/builders.rs b/sdk/comprehend/src/operation/start_flywheel_iteration/builders.rs index 3fe6d407f2f6..5f2ebd28ca46 100644 --- a/sdk/comprehend/src/operation/start_flywheel_iteration/builders.rs +++ b/sdk/comprehend/src/operation/start_flywheel_iteration/builders.rs @@ -19,9 +19,9 @@ impl StartFlywheelIterationFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl StartFlywheelIterationFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::start_flywheel_iteration::StartFlywheelIteration, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::start_flywheel_iteration::StartFlywheelIterationError, + >, + > { + self.customize_middleware().await + } ///

                              The ARN of the flywheel.

                              pub fn flywheel_arn(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.flywheel_arn(input.into()); diff --git a/sdk/comprehend/src/operation/start_key_phrases_detection_job/builders.rs b/sdk/comprehend/src/operation/start_key_phrases_detection_job/builders.rs index b5159b715eaa..43525f20cd0b 100644 --- a/sdk/comprehend/src/operation/start_key_phrases_detection_job/builders.rs +++ b/sdk/comprehend/src/operation/start_key_phrases_detection_job/builders.rs @@ -19,9 +19,9 @@ impl StartKeyPhrasesDetectionJobFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl StartKeyPhrasesDetectionJobFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::start_key_phrases_detection_job::StartKeyPhrasesDetectionJob, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::start_key_phrases_detection_job::StartKeyPhrasesDetectionJobError, + >, + > { + self.customize_middleware().await + } ///

                              Specifies the format and location of the input data for the job.

                              pub fn input_data_config(mut self, input: crate::types::InputDataConfig) -> Self { self.inner = self.inner.input_data_config(input); diff --git a/sdk/comprehend/src/operation/start_pii_entities_detection_job/builders.rs b/sdk/comprehend/src/operation/start_pii_entities_detection_job/builders.rs index 829c84ff0a65..e2dd123ea415 100644 --- a/sdk/comprehend/src/operation/start_pii_entities_detection_job/builders.rs +++ b/sdk/comprehend/src/operation/start_pii_entities_detection_job/builders.rs @@ -19,9 +19,9 @@ impl StartPiiEntitiesDetectionJobFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl StartPiiEntitiesDetectionJobFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::start_pii_entities_detection_job::StartPiiEntitiesDetectionJob, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::start_pii_entities_detection_job::StartPiiEntitiesDetectionJobError, + >, + > { + self.customize_middleware().await + } ///

                              The input properties for a PII entities detection job.

                              pub fn input_data_config(mut self, input: crate::types::InputDataConfig) -> Self { self.inner = self.inner.input_data_config(input); diff --git a/sdk/comprehend/src/operation/start_sentiment_detection_job/builders.rs b/sdk/comprehend/src/operation/start_sentiment_detection_job/builders.rs index 9bd1dc598957..298ae70d4e3e 100644 --- a/sdk/comprehend/src/operation/start_sentiment_detection_job/builders.rs +++ b/sdk/comprehend/src/operation/start_sentiment_detection_job/builders.rs @@ -19,9 +19,9 @@ impl StartSentimentDetectionJobFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl StartSentimentDetectionJobFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::start_sentiment_detection_job::StartSentimentDetectionJob, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::start_sentiment_detection_job::StartSentimentDetectionJobError, + >, + > { + self.customize_middleware().await + } ///

                              Specifies the format and location of the input data for the job.

                              pub fn input_data_config(mut self, input: crate::types::InputDataConfig) -> Self { self.inner = self.inner.input_data_config(input); diff --git a/sdk/comprehend/src/operation/start_targeted_sentiment_detection_job/builders.rs b/sdk/comprehend/src/operation/start_targeted_sentiment_detection_job/builders.rs index 0ba6b0cbc9ff..9f2e00bf7a78 100644 --- a/sdk/comprehend/src/operation/start_targeted_sentiment_detection_job/builders.rs +++ b/sdk/comprehend/src/operation/start_targeted_sentiment_detection_job/builders.rs @@ -19,9 +19,9 @@ impl StartTargetedSentimentDetectionJobFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize(self) -> ::std::result::Result< + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware(self) -> ::std::result::Result< crate::client::customize::CustomizableOperation, ::aws_smithy_http::result::SdkError >{ @@ -64,6 +64,15 @@ impl StartTargetedSentimentDetectionJobFluentBuilder { { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize(self) -> ::std::result::Result< + crate::client::customize::CustomizableOperation, + ::aws_smithy_http::result::SdkError + >{ + self.customize_middleware().await + } ///

                              The input properties for an inference job. The document reader config field applies only to non-text inputs for custom analysis.

                              pub fn input_data_config(mut self, input: crate::types::InputDataConfig) -> Self { self.inner = self.inner.input_data_config(input); diff --git a/sdk/comprehend/src/operation/start_topics_detection_job/builders.rs b/sdk/comprehend/src/operation/start_topics_detection_job/builders.rs index fd024eedf15d..c25c29928bcb 100644 --- a/sdk/comprehend/src/operation/start_topics_detection_job/builders.rs +++ b/sdk/comprehend/src/operation/start_topics_detection_job/builders.rs @@ -20,9 +20,9 @@ impl StartTopicsDetectionJobFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -84,6 +84,22 @@ impl StartTopicsDetectionJobFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::start_topics_detection_job::StartTopicsDetectionJob, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::start_topics_detection_job::StartTopicsDetectionJobError, + >, + > { + self.customize_middleware().await + } ///

                              Specifies the format and location of the input data for the job.

                              pub fn input_data_config(mut self, input: crate::types::InputDataConfig) -> Self { self.inner = self.inner.input_data_config(input); diff --git a/sdk/comprehend/src/operation/stop_dominant_language_detection_job/builders.rs b/sdk/comprehend/src/operation/stop_dominant_language_detection_job/builders.rs index f6618a4bb275..61669c5b6dc8 100644 --- a/sdk/comprehend/src/operation/stop_dominant_language_detection_job/builders.rs +++ b/sdk/comprehend/src/operation/stop_dominant_language_detection_job/builders.rs @@ -22,9 +22,9 @@ impl StopDominantLanguageDetectionJobFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize(self) -> ::std::result::Result< + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware(self) -> ::std::result::Result< crate::client::customize::CustomizableOperation, ::aws_smithy_http::result::SdkError >{ @@ -67,6 +67,15 @@ impl StopDominantLanguageDetectionJobFluentBuilder { { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize(self) -> ::std::result::Result< + crate::client::customize::CustomizableOperation, + ::aws_smithy_http::result::SdkError + >{ + self.customize_middleware().await + } ///

                              The identifier of the dominant language detection job to stop.

                              pub fn job_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.job_id(input.into()); diff --git a/sdk/comprehend/src/operation/stop_entities_detection_job/builders.rs b/sdk/comprehend/src/operation/stop_entities_detection_job/builders.rs index 22bb5fb5cf1b..33c0844da51a 100644 --- a/sdk/comprehend/src/operation/stop_entities_detection_job/builders.rs +++ b/sdk/comprehend/src/operation/stop_entities_detection_job/builders.rs @@ -22,9 +22,9 @@ impl StopEntitiesDetectionJobFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -86,6 +86,22 @@ impl StopEntitiesDetectionJobFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::stop_entities_detection_job::StopEntitiesDetectionJob, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::stop_entities_detection_job::StopEntitiesDetectionJobError, + >, + > { + self.customize_middleware().await + } ///

                              The identifier of the entities detection job to stop.

                              pub fn job_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.job_id(input.into()); diff --git a/sdk/comprehend/src/operation/stop_events_detection_job/builders.rs b/sdk/comprehend/src/operation/stop_events_detection_job/builders.rs index 6509aff9d922..853c3223692b 100644 --- a/sdk/comprehend/src/operation/stop_events_detection_job/builders.rs +++ b/sdk/comprehend/src/operation/stop_events_detection_job/builders.rs @@ -20,9 +20,9 @@ impl StopEventsDetectionJobFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -84,6 +84,22 @@ impl StopEventsDetectionJobFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::stop_events_detection_job::StopEventsDetectionJob, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::stop_events_detection_job::StopEventsDetectionJobError, + >, + > { + self.customize_middleware().await + } ///

                              The identifier of the events detection job to stop.

                              pub fn job_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.job_id(input.into()); diff --git a/sdk/comprehend/src/operation/stop_key_phrases_detection_job/builders.rs b/sdk/comprehend/src/operation/stop_key_phrases_detection_job/builders.rs index 8314f389bfff..4c29a7dd50cc 100644 --- a/sdk/comprehend/src/operation/stop_key_phrases_detection_job/builders.rs +++ b/sdk/comprehend/src/operation/stop_key_phrases_detection_job/builders.rs @@ -22,9 +22,9 @@ impl StopKeyPhrasesDetectionJobFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -86,6 +86,22 @@ impl StopKeyPhrasesDetectionJobFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::stop_key_phrases_detection_job::StopKeyPhrasesDetectionJob, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::stop_key_phrases_detection_job::StopKeyPhrasesDetectionJobError, + >, + > { + self.customize_middleware().await + } ///

                              The identifier of the key phrases detection job to stop.

                              pub fn job_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.job_id(input.into()); diff --git a/sdk/comprehend/src/operation/stop_pii_entities_detection_job/builders.rs b/sdk/comprehend/src/operation/stop_pii_entities_detection_job/builders.rs index 308fa0d9cdb7..72bd9465c6d9 100644 --- a/sdk/comprehend/src/operation/stop_pii_entities_detection_job/builders.rs +++ b/sdk/comprehend/src/operation/stop_pii_entities_detection_job/builders.rs @@ -19,9 +19,9 @@ impl StopPiiEntitiesDetectionJobFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl StopPiiEntitiesDetectionJobFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::stop_pii_entities_detection_job::StopPiiEntitiesDetectionJob, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::stop_pii_entities_detection_job::StopPiiEntitiesDetectionJobError, + >, + > { + self.customize_middleware().await + } ///

                              The identifier of the PII entities detection job to stop.

                              pub fn job_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.job_id(input.into()); diff --git a/sdk/comprehend/src/operation/stop_sentiment_detection_job/builders.rs b/sdk/comprehend/src/operation/stop_sentiment_detection_job/builders.rs index 38aa5104f317..ae5bcdc98ce6 100644 --- a/sdk/comprehend/src/operation/stop_sentiment_detection_job/builders.rs +++ b/sdk/comprehend/src/operation/stop_sentiment_detection_job/builders.rs @@ -22,9 +22,9 @@ impl StopSentimentDetectionJobFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -86,6 +86,22 @@ impl StopSentimentDetectionJobFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::stop_sentiment_detection_job::StopSentimentDetectionJob, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::stop_sentiment_detection_job::StopSentimentDetectionJobError, + >, + > { + self.customize_middleware().await + } ///

                              The identifier of the sentiment detection job to stop.

                              pub fn job_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.job_id(input.into()); diff --git a/sdk/comprehend/src/operation/stop_targeted_sentiment_detection_job/builders.rs b/sdk/comprehend/src/operation/stop_targeted_sentiment_detection_job/builders.rs index 16568504df5d..1ef510e581a6 100644 --- a/sdk/comprehend/src/operation/stop_targeted_sentiment_detection_job/builders.rs +++ b/sdk/comprehend/src/operation/stop_targeted_sentiment_detection_job/builders.rs @@ -22,9 +22,9 @@ impl StopTargetedSentimentDetectionJobFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize(self) -> ::std::result::Result< + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware(self) -> ::std::result::Result< crate::client::customize::CustomizableOperation, ::aws_smithy_http::result::SdkError >{ @@ -67,6 +67,15 @@ impl StopTargetedSentimentDetectionJobFluentBuilder { { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize(self) -> ::std::result::Result< + crate::client::customize::CustomizableOperation, + ::aws_smithy_http::result::SdkError + >{ + self.customize_middleware().await + } ///

                              The identifier of the targeted sentiment detection job to stop.

                              pub fn job_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.job_id(input.into()); diff --git a/sdk/comprehend/src/operation/stop_training_document_classifier/builders.rs b/sdk/comprehend/src/operation/stop_training_document_classifier/builders.rs index 0b1386d458cd..a72aec13ffaa 100644 --- a/sdk/comprehend/src/operation/stop_training_document_classifier/builders.rs +++ b/sdk/comprehend/src/operation/stop_training_document_classifier/builders.rs @@ -20,9 +20,9 @@ impl StopTrainingDocumentClassifierFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize(self) -> ::std::result::Result< + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware(self) -> ::std::result::Result< crate::client::customize::CustomizableOperation, ::aws_smithy_http::result::SdkError >{ @@ -65,6 +65,15 @@ impl StopTrainingDocumentClassifierFluentBuilder { { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize(self) -> ::std::result::Result< + crate::client::customize::CustomizableOperation, + ::aws_smithy_http::result::SdkError + >{ + self.customize_middleware().await + } ///

                              The Amazon Resource Name (ARN) that identifies the document classifier currently being trained.

                              pub fn document_classifier_arn( mut self, diff --git a/sdk/comprehend/src/operation/stop_training_entity_recognizer/builders.rs b/sdk/comprehend/src/operation/stop_training_entity_recognizer/builders.rs index f23d86e1ee6c..bc7b468f858e 100644 --- a/sdk/comprehend/src/operation/stop_training_entity_recognizer/builders.rs +++ b/sdk/comprehend/src/operation/stop_training_entity_recognizer/builders.rs @@ -20,9 +20,9 @@ impl StopTrainingEntityRecognizerFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -84,6 +84,22 @@ impl StopTrainingEntityRecognizerFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::stop_training_entity_recognizer::StopTrainingEntityRecognizer, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::stop_training_entity_recognizer::StopTrainingEntityRecognizerError, + >, + > { + self.customize_middleware().await + } ///

                              The Amazon Resource Name (ARN) that identifies the entity recognizer currently being trained.

                              pub fn entity_recognizer_arn( mut self, diff --git a/sdk/comprehend/src/operation/tag_resource/builders.rs b/sdk/comprehend/src/operation/tag_resource/builders.rs index 5b976711f4b6..f9069348505e 100644 --- a/sdk/comprehend/src/operation/tag_resource/builders.rs +++ b/sdk/comprehend/src/operation/tag_resource/builders.rs @@ -19,9 +19,9 @@ impl TagResourceFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl TagResourceFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::tag_resource::TagResource, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                              The Amazon Resource Name (ARN) of the given Amazon Comprehend resource to which you want to associate the tags.

                              pub fn resource_arn(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.resource_arn(input.into()); diff --git a/sdk/comprehend/src/operation/untag_resource/builders.rs b/sdk/comprehend/src/operation/untag_resource/builders.rs index f7319276ecb9..371875b977e3 100644 --- a/sdk/comprehend/src/operation/untag_resource/builders.rs +++ b/sdk/comprehend/src/operation/untag_resource/builders.rs @@ -19,9 +19,9 @@ impl UntagResourceFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl UntagResourceFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::untag_resource::UntagResource, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                              The Amazon Resource Name (ARN) of the given Amazon Comprehend resource from which you want to remove the tags.

                              pub fn resource_arn(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.resource_arn(input.into()); diff --git a/sdk/comprehend/src/operation/update_endpoint/builders.rs b/sdk/comprehend/src/operation/update_endpoint/builders.rs index 434f7af6f4fb..62d79a00c863 100644 --- a/sdk/comprehend/src/operation/update_endpoint/builders.rs +++ b/sdk/comprehend/src/operation/update_endpoint/builders.rs @@ -19,9 +19,9 @@ impl UpdateEndpointFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl UpdateEndpointFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::update_endpoint::UpdateEndpoint, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                              The Amazon Resource Number (ARN) of the endpoint being updated.

                              pub fn endpoint_arn(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.endpoint_arn(input.into()); diff --git a/sdk/comprehend/src/operation/update_flywheel/builders.rs b/sdk/comprehend/src/operation/update_flywheel/builders.rs index 0ddbcfb1467d..44fb8cedf0c8 100644 --- a/sdk/comprehend/src/operation/update_flywheel/builders.rs +++ b/sdk/comprehend/src/operation/update_flywheel/builders.rs @@ -19,9 +19,9 @@ impl UpdateFlywheelFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl UpdateFlywheelFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::update_flywheel::UpdateFlywheel, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                              The Amazon Resource Number (ARN) of the flywheel to update.

                              pub fn flywheel_arn(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.flywheel_arn(input.into()); diff --git a/sdk/comprehendmedical/src/operation/describe_entities_detection_v2_job/builders.rs b/sdk/comprehendmedical/src/operation/describe_entities_detection_v2_job/builders.rs index 5e0a1bb83a46..9f66f8fff4cb 100644 --- a/sdk/comprehendmedical/src/operation/describe_entities_detection_v2_job/builders.rs +++ b/sdk/comprehendmedical/src/operation/describe_entities_detection_v2_job/builders.rs @@ -19,9 +19,9 @@ impl DescribeEntitiesDetectionV2JobFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize(self) -> ::std::result::Result< + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware(self) -> ::std::result::Result< crate::client::customize::CustomizableOperation, ::aws_smithy_http::result::SdkError >{ @@ -64,6 +64,15 @@ impl DescribeEntitiesDetectionV2JobFluentBuilder { { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize(self) -> ::std::result::Result< + crate::client::customize::CustomizableOperation, + ::aws_smithy_http::result::SdkError + >{ + self.customize_middleware().await + } ///

                              The identifier that Comprehend Medical; generated for the job. The StartEntitiesDetectionV2Job operation returns this identifier in its response.

                              pub fn job_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.job_id(input.into()); diff --git a/sdk/comprehendmedical/src/operation/describe_icd10_cm_inference_job/builders.rs b/sdk/comprehendmedical/src/operation/describe_icd10_cm_inference_job/builders.rs index d4683a020e71..98eafe09dc64 100644 --- a/sdk/comprehendmedical/src/operation/describe_icd10_cm_inference_job/builders.rs +++ b/sdk/comprehendmedical/src/operation/describe_icd10_cm_inference_job/builders.rs @@ -19,9 +19,9 @@ impl DescribeICD10CMInferenceJobFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl DescribeICD10CMInferenceJobFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::describe_icd10_cm_inference_job::DescribeICD10CMInferenceJob, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::describe_icd10_cm_inference_job::DescribeICD10CMInferenceJobError, + >, + > { + self.customize_middleware().await + } ///

                              The identifier that Amazon Comprehend Medical generated for the job. The StartICD10CMInferenceJob operation returns this identifier in its response.

                              pub fn job_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.job_id(input.into()); diff --git a/sdk/comprehendmedical/src/operation/describe_phi_detection_job/builders.rs b/sdk/comprehendmedical/src/operation/describe_phi_detection_job/builders.rs index db335e5cded3..205b35b97534 100644 --- a/sdk/comprehendmedical/src/operation/describe_phi_detection_job/builders.rs +++ b/sdk/comprehendmedical/src/operation/describe_phi_detection_job/builders.rs @@ -20,9 +20,9 @@ impl DescribePHIDetectionJobFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -84,6 +84,22 @@ impl DescribePHIDetectionJobFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::describe_phi_detection_job::DescribePHIDetectionJob, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::describe_phi_detection_job::DescribePHIDetectionJobError, + >, + > { + self.customize_middleware().await + } ///

                              The identifier that Comprehend Medical; generated for the job. The StartPHIDetectionJob operation returns this identifier in its response.

                              pub fn job_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.job_id(input.into()); diff --git a/sdk/comprehendmedical/src/operation/describe_rx_norm_inference_job/builders.rs b/sdk/comprehendmedical/src/operation/describe_rx_norm_inference_job/builders.rs index 74bd65a6af27..680c0d685f7d 100644 --- a/sdk/comprehendmedical/src/operation/describe_rx_norm_inference_job/builders.rs +++ b/sdk/comprehendmedical/src/operation/describe_rx_norm_inference_job/builders.rs @@ -19,9 +19,9 @@ impl DescribeRxNormInferenceJobFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl DescribeRxNormInferenceJobFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::describe_rx_norm_inference_job::DescribeRxNormInferenceJob, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::describe_rx_norm_inference_job::DescribeRxNormInferenceJobError, + >, + > { + self.customize_middleware().await + } ///

                              The identifier that Amazon Comprehend Medical generated for the job. The StartRxNormInferenceJob operation returns this identifier in its response.

                              pub fn job_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.job_id(input.into()); diff --git a/sdk/comprehendmedical/src/operation/describe_snomedct_inference_job/builders.rs b/sdk/comprehendmedical/src/operation/describe_snomedct_inference_job/builders.rs index 9a5615bfea9f..9a9d13bd9c75 100644 --- a/sdk/comprehendmedical/src/operation/describe_snomedct_inference_job/builders.rs +++ b/sdk/comprehendmedical/src/operation/describe_snomedct_inference_job/builders.rs @@ -19,9 +19,9 @@ impl DescribeSNOMEDCTInferenceJobFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl DescribeSNOMEDCTInferenceJobFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::describe_snomedct_inference_job::DescribeSNOMEDCTInferenceJob, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::describe_snomedct_inference_job::DescribeSNOMEDCTInferenceJobError, + >, + > { + self.customize_middleware().await + } ///

                              The identifier that Amazon Comprehend Medical generated for the job. The StartSNOMEDCTInferenceJob operation returns this identifier in its response.

                              pub fn job_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.job_id(input.into()); diff --git a/sdk/comprehendmedical/src/operation/detect_entities/builders.rs b/sdk/comprehendmedical/src/operation/detect_entities/builders.rs index 98deb7c15edf..fe1e442a28d7 100644 --- a/sdk/comprehendmedical/src/operation/detect_entities/builders.rs +++ b/sdk/comprehendmedical/src/operation/detect_entities/builders.rs @@ -21,9 +21,9 @@ impl DetectEntitiesFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -79,6 +79,20 @@ impl DetectEntitiesFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::detect_entities::DetectEntities, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                              A UTF-8 text string containing the clinical content being examined for entities. Each string must contain fewer than 20,000 bytes of characters.

                              pub fn text(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.text(input.into()); diff --git a/sdk/comprehendmedical/src/operation/detect_entities_v2/builders.rs b/sdk/comprehendmedical/src/operation/detect_entities_v2/builders.rs index a2dd3ac9d473..ea2eee6b0ca8 100644 --- a/sdk/comprehendmedical/src/operation/detect_entities_v2/builders.rs +++ b/sdk/comprehendmedical/src/operation/detect_entities_v2/builders.rs @@ -21,9 +21,9 @@ impl DetectEntitiesV2FluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -85,6 +85,22 @@ impl DetectEntitiesV2FluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::detect_entities_v2::DetectEntitiesV2, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::detect_entities_v2::DetectEntitiesV2Error, + >, + > { + self.customize_middleware().await + } ///

                              A UTF-8 string containing the clinical content being examined for entities. Each string must contain fewer than 20,000 bytes of characters.

                              pub fn text(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.text(input.into()); diff --git a/sdk/comprehendmedical/src/operation/detect_phi/builders.rs b/sdk/comprehendmedical/src/operation/detect_phi/builders.rs index eb6785782aef..6fb822c9d5d6 100644 --- a/sdk/comprehendmedical/src/operation/detect_phi/builders.rs +++ b/sdk/comprehendmedical/src/operation/detect_phi/builders.rs @@ -19,9 +19,9 @@ impl DetectPHIFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl DetectPHIFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::detect_phi::DetectPHI, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                              A UTF-8 text string containing the clinical content being examined for PHI entities. Each string must contain fewer than 20,000 bytes of characters.

                              pub fn text(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.text(input.into()); diff --git a/sdk/comprehendmedical/src/operation/infer_icd10_cm/builders.rs b/sdk/comprehendmedical/src/operation/infer_icd10_cm/builders.rs index cfd91b68777d..d2c4a3047e71 100644 --- a/sdk/comprehendmedical/src/operation/infer_icd10_cm/builders.rs +++ b/sdk/comprehendmedical/src/operation/infer_icd10_cm/builders.rs @@ -19,9 +19,9 @@ impl InferICD10CMFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl InferICD10CMFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::infer_icd10_cm::InferICD10CM, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                              The input text used for analysis. The input for InferICD10CM is a string from 1 to 10000 characters.

                              pub fn text(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.text(input.into()); diff --git a/sdk/comprehendmedical/src/operation/infer_rx_norm/builders.rs b/sdk/comprehendmedical/src/operation/infer_rx_norm/builders.rs index 37431ea9fff9..713c5b064b8f 100644 --- a/sdk/comprehendmedical/src/operation/infer_rx_norm/builders.rs +++ b/sdk/comprehendmedical/src/operation/infer_rx_norm/builders.rs @@ -19,9 +19,9 @@ impl InferRxNormFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl InferRxNormFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::infer_rx_norm::InferRxNorm, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                              The input text used for analysis. The input for InferRxNorm is a string from 1 to 10000 characters.

                              pub fn text(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.text(input.into()); diff --git a/sdk/comprehendmedical/src/operation/infer_snomedct/builders.rs b/sdk/comprehendmedical/src/operation/infer_snomedct/builders.rs index b8be68e6238b..75684946619c 100644 --- a/sdk/comprehendmedical/src/operation/infer_snomedct/builders.rs +++ b/sdk/comprehendmedical/src/operation/infer_snomedct/builders.rs @@ -19,9 +19,9 @@ impl InferSNOMEDCTFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl InferSNOMEDCTFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::infer_snomedct::InferSNOMEDCT, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                              The input text to be analyzed using InferSNOMEDCT. The text should be a string with 1 to 10000 characters.

                              pub fn text(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.text(input.into()); diff --git a/sdk/comprehendmedical/src/operation/list_entities_detection_v2_jobs/builders.rs b/sdk/comprehendmedical/src/operation/list_entities_detection_v2_jobs/builders.rs index f8dfe6a290cd..3d1a59fdc352 100644 --- a/sdk/comprehendmedical/src/operation/list_entities_detection_v2_jobs/builders.rs +++ b/sdk/comprehendmedical/src/operation/list_entities_detection_v2_jobs/builders.rs @@ -19,9 +19,9 @@ impl ListEntitiesDetectionV2JobsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl ListEntitiesDetectionV2JobsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_entities_detection_v2_jobs::ListEntitiesDetectionV2Jobs, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::list_entities_detection_v2_jobs::ListEntitiesDetectionV2JobsError, + >, + > { + self.customize_middleware().await + } ///

                              Filters the jobs that are returned. You can filter jobs based on their names, status, or the date and time that they were submitted. You can only set one filter at a time.

                              pub fn filter(mut self, input: crate::types::ComprehendMedicalAsyncJobFilter) -> Self { self.inner = self.inner.filter(input); diff --git a/sdk/comprehendmedical/src/operation/list_icd10_cm_inference_jobs/builders.rs b/sdk/comprehendmedical/src/operation/list_icd10_cm_inference_jobs/builders.rs index 172466542948..a2c29f649edf 100644 --- a/sdk/comprehendmedical/src/operation/list_icd10_cm_inference_jobs/builders.rs +++ b/sdk/comprehendmedical/src/operation/list_icd10_cm_inference_jobs/builders.rs @@ -19,9 +19,9 @@ impl ListICD10CMInferenceJobsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl ListICD10CMInferenceJobsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_icd10_cm_inference_jobs::ListICD10CMInferenceJobs, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::list_icd10_cm_inference_jobs::ListICD10CMInferenceJobsError, + >, + > { + self.customize_middleware().await + } ///

                              Filters the jobs that are returned. You can filter jobs based on their names, status, or the date and time that they were submitted. You can only set one filter at a time.

                              pub fn filter(mut self, input: crate::types::ComprehendMedicalAsyncJobFilter) -> Self { self.inner = self.inner.filter(input); diff --git a/sdk/comprehendmedical/src/operation/list_phi_detection_jobs/builders.rs b/sdk/comprehendmedical/src/operation/list_phi_detection_jobs/builders.rs index b967b30466f1..dac89d5a37e5 100644 --- a/sdk/comprehendmedical/src/operation/list_phi_detection_jobs/builders.rs +++ b/sdk/comprehendmedical/src/operation/list_phi_detection_jobs/builders.rs @@ -19,9 +19,9 @@ impl ListPHIDetectionJobsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl ListPHIDetectionJobsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_phi_detection_jobs::ListPHIDetectionJobs, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::list_phi_detection_jobs::ListPHIDetectionJobsError, + >, + > { + self.customize_middleware().await + } ///

                              Filters the jobs that are returned. You can filter jobs based on their names, status, or the date and time that they were submitted. You can only set one filter at a time.

                              pub fn filter(mut self, input: crate::types::ComprehendMedicalAsyncJobFilter) -> Self { self.inner = self.inner.filter(input); diff --git a/sdk/comprehendmedical/src/operation/list_rx_norm_inference_jobs/builders.rs b/sdk/comprehendmedical/src/operation/list_rx_norm_inference_jobs/builders.rs index d5f549d6b786..db744738e78a 100644 --- a/sdk/comprehendmedical/src/operation/list_rx_norm_inference_jobs/builders.rs +++ b/sdk/comprehendmedical/src/operation/list_rx_norm_inference_jobs/builders.rs @@ -19,9 +19,9 @@ impl ListRxNormInferenceJobsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl ListRxNormInferenceJobsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_rx_norm_inference_jobs::ListRxNormInferenceJobs, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::list_rx_norm_inference_jobs::ListRxNormInferenceJobsError, + >, + > { + self.customize_middleware().await + } ///

                              Filters the jobs that are returned. You can filter jobs based on their names, status, or the date and time that they were submitted. You can only set one filter at a time.

                              pub fn filter(mut self, input: crate::types::ComprehendMedicalAsyncJobFilter) -> Self { self.inner = self.inner.filter(input); diff --git a/sdk/comprehendmedical/src/operation/list_snomedct_inference_jobs/builders.rs b/sdk/comprehendmedical/src/operation/list_snomedct_inference_jobs/builders.rs index 85d2af99bd10..896adda6f84c 100644 --- a/sdk/comprehendmedical/src/operation/list_snomedct_inference_jobs/builders.rs +++ b/sdk/comprehendmedical/src/operation/list_snomedct_inference_jobs/builders.rs @@ -19,9 +19,9 @@ impl ListSNOMEDCTInferenceJobsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl ListSNOMEDCTInferenceJobsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_snomedct_inference_jobs::ListSNOMEDCTInferenceJobs, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::list_snomedct_inference_jobs::ListSNOMEDCTInferenceJobsError, + >, + > { + self.customize_middleware().await + } ///

                              Provides information for filtering a list of detection jobs.

                              pub fn filter(mut self, input: crate::types::ComprehendMedicalAsyncJobFilter) -> Self { self.inner = self.inner.filter(input); diff --git a/sdk/comprehendmedical/src/operation/start_entities_detection_v2_job/builders.rs b/sdk/comprehendmedical/src/operation/start_entities_detection_v2_job/builders.rs index 95916522bffd..b51e8a7f3f6a 100644 --- a/sdk/comprehendmedical/src/operation/start_entities_detection_v2_job/builders.rs +++ b/sdk/comprehendmedical/src/operation/start_entities_detection_v2_job/builders.rs @@ -19,9 +19,9 @@ impl StartEntitiesDetectionV2JobFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl StartEntitiesDetectionV2JobFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::start_entities_detection_v2_job::StartEntitiesDetectionV2Job, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::start_entities_detection_v2_job::StartEntitiesDetectionV2JobError, + >, + > { + self.customize_middleware().await + } ///

                              The input configuration that specifies the format and location of the input data for the job.

                              pub fn input_data_config(mut self, input: crate::types::InputDataConfig) -> Self { self.inner = self.inner.input_data_config(input); diff --git a/sdk/comprehendmedical/src/operation/start_icd10_cm_inference_job/builders.rs b/sdk/comprehendmedical/src/operation/start_icd10_cm_inference_job/builders.rs index c7197ac95cea..146fc51b9360 100644 --- a/sdk/comprehendmedical/src/operation/start_icd10_cm_inference_job/builders.rs +++ b/sdk/comprehendmedical/src/operation/start_icd10_cm_inference_job/builders.rs @@ -19,9 +19,9 @@ impl StartICD10CMInferenceJobFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl StartICD10CMInferenceJobFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::start_icd10_cm_inference_job::StartICD10CMInferenceJob, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::start_icd10_cm_inference_job::StartICD10CMInferenceJobError, + >, + > { + self.customize_middleware().await + } ///

                              Specifies the format and location of the input data for the job.

                              pub fn input_data_config(mut self, input: crate::types::InputDataConfig) -> Self { self.inner = self.inner.input_data_config(input); diff --git a/sdk/comprehendmedical/src/operation/start_phi_detection_job/builders.rs b/sdk/comprehendmedical/src/operation/start_phi_detection_job/builders.rs index 8b2fcb7c47a0..8f37d12e7091 100644 --- a/sdk/comprehendmedical/src/operation/start_phi_detection_job/builders.rs +++ b/sdk/comprehendmedical/src/operation/start_phi_detection_job/builders.rs @@ -19,9 +19,9 @@ impl StartPHIDetectionJobFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl StartPHIDetectionJobFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::start_phi_detection_job::StartPHIDetectionJob, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::start_phi_detection_job::StartPHIDetectionJobError, + >, + > { + self.customize_middleware().await + } ///

                              Specifies the format and location of the input data for the job.

                              pub fn input_data_config(mut self, input: crate::types::InputDataConfig) -> Self { self.inner = self.inner.input_data_config(input); diff --git a/sdk/comprehendmedical/src/operation/start_rx_norm_inference_job/builders.rs b/sdk/comprehendmedical/src/operation/start_rx_norm_inference_job/builders.rs index 60883133177e..a69b0640ea13 100644 --- a/sdk/comprehendmedical/src/operation/start_rx_norm_inference_job/builders.rs +++ b/sdk/comprehendmedical/src/operation/start_rx_norm_inference_job/builders.rs @@ -19,9 +19,9 @@ impl StartRxNormInferenceJobFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl StartRxNormInferenceJobFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::start_rx_norm_inference_job::StartRxNormInferenceJob, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::start_rx_norm_inference_job::StartRxNormInferenceJobError, + >, + > { + self.customize_middleware().await + } ///

                              Specifies the format and location of the input data for the job.

                              pub fn input_data_config(mut self, input: crate::types::InputDataConfig) -> Self { self.inner = self.inner.input_data_config(input); diff --git a/sdk/comprehendmedical/src/operation/start_snomedct_inference_job/builders.rs b/sdk/comprehendmedical/src/operation/start_snomedct_inference_job/builders.rs index d5e6605efa73..2d2d7a41d532 100644 --- a/sdk/comprehendmedical/src/operation/start_snomedct_inference_job/builders.rs +++ b/sdk/comprehendmedical/src/operation/start_snomedct_inference_job/builders.rs @@ -19,9 +19,9 @@ impl StartSNOMEDCTInferenceJobFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl StartSNOMEDCTInferenceJobFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::start_snomedct_inference_job::StartSNOMEDCTInferenceJob, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::start_snomedct_inference_job::StartSNOMEDCTInferenceJobError, + >, + > { + self.customize_middleware().await + } ///

                              The input properties for an entities detection job. This includes the name of the S3 bucket and the path to the files to be analyzed.

                              pub fn input_data_config(mut self, input: crate::types::InputDataConfig) -> Self { self.inner = self.inner.input_data_config(input); diff --git a/sdk/comprehendmedical/src/operation/stop_entities_detection_v2_job/builders.rs b/sdk/comprehendmedical/src/operation/stop_entities_detection_v2_job/builders.rs index 9b6730fe8dd9..1c60a49ba2fc 100644 --- a/sdk/comprehendmedical/src/operation/stop_entities_detection_v2_job/builders.rs +++ b/sdk/comprehendmedical/src/operation/stop_entities_detection_v2_job/builders.rs @@ -19,9 +19,9 @@ impl StopEntitiesDetectionV2JobFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl StopEntitiesDetectionV2JobFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::stop_entities_detection_v2_job::StopEntitiesDetectionV2Job, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::stop_entities_detection_v2_job::StopEntitiesDetectionV2JobError, + >, + > { + self.customize_middleware().await + } ///

                              The identifier of the medical entities job to stop.

                              pub fn job_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.job_id(input.into()); diff --git a/sdk/comprehendmedical/src/operation/stop_icd10_cm_inference_job/builders.rs b/sdk/comprehendmedical/src/operation/stop_icd10_cm_inference_job/builders.rs index f7ff04622265..cf1791479747 100644 --- a/sdk/comprehendmedical/src/operation/stop_icd10_cm_inference_job/builders.rs +++ b/sdk/comprehendmedical/src/operation/stop_icd10_cm_inference_job/builders.rs @@ -19,9 +19,9 @@ impl StopICD10CMInferenceJobFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl StopICD10CMInferenceJobFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::stop_icd10_cm_inference_job::StopICD10CMInferenceJob, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::stop_icd10_cm_inference_job::StopICD10CMInferenceJobError, + >, + > { + self.customize_middleware().await + } ///

                              The identifier of the job.

                              pub fn job_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.job_id(input.into()); diff --git a/sdk/comprehendmedical/src/operation/stop_phi_detection_job/builders.rs b/sdk/comprehendmedical/src/operation/stop_phi_detection_job/builders.rs index f62a6d517da6..f9d24a23f66b 100644 --- a/sdk/comprehendmedical/src/operation/stop_phi_detection_job/builders.rs +++ b/sdk/comprehendmedical/src/operation/stop_phi_detection_job/builders.rs @@ -19,9 +19,9 @@ impl StopPHIDetectionJobFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl StopPHIDetectionJobFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::stop_phi_detection_job::StopPHIDetectionJob, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::stop_phi_detection_job::StopPHIDetectionJobError, + >, + > { + self.customize_middleware().await + } ///

                              The identifier of the PHI detection job to stop.

                              pub fn job_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.job_id(input.into()); diff --git a/sdk/comprehendmedical/src/operation/stop_rx_norm_inference_job/builders.rs b/sdk/comprehendmedical/src/operation/stop_rx_norm_inference_job/builders.rs index 74cc42720c2b..e5df264b4e33 100644 --- a/sdk/comprehendmedical/src/operation/stop_rx_norm_inference_job/builders.rs +++ b/sdk/comprehendmedical/src/operation/stop_rx_norm_inference_job/builders.rs @@ -20,9 +20,9 @@ impl StopRxNormInferenceJobFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -84,6 +84,22 @@ impl StopRxNormInferenceJobFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::stop_rx_norm_inference_job::StopRxNormInferenceJob, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::stop_rx_norm_inference_job::StopRxNormInferenceJobError, + >, + > { + self.customize_middleware().await + } ///

                              The identifier of the job.

                              pub fn job_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.job_id(input.into()); diff --git a/sdk/comprehendmedical/src/operation/stop_snomedct_inference_job/builders.rs b/sdk/comprehendmedical/src/operation/stop_snomedct_inference_job/builders.rs index 4a5974369ef0..56e566206c5a 100644 --- a/sdk/comprehendmedical/src/operation/stop_snomedct_inference_job/builders.rs +++ b/sdk/comprehendmedical/src/operation/stop_snomedct_inference_job/builders.rs @@ -19,9 +19,9 @@ impl StopSNOMEDCTInferenceJobFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl StopSNOMEDCTInferenceJobFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::stop_snomedct_inference_job::StopSNOMEDCTInferenceJob, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::stop_snomedct_inference_job::StopSNOMEDCTInferenceJobError, + >, + > { + self.customize_middleware().await + } ///

                              The job id of the asynchronous InferSNOMEDCT job to be stopped.

                              pub fn job_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.job_id(input.into()); diff --git a/sdk/computeoptimizer/src/operation/delete_recommendation_preferences/builders.rs b/sdk/computeoptimizer/src/operation/delete_recommendation_preferences/builders.rs index 29e24068d8aa..aa82199da039 100644 --- a/sdk/computeoptimizer/src/operation/delete_recommendation_preferences/builders.rs +++ b/sdk/computeoptimizer/src/operation/delete_recommendation_preferences/builders.rs @@ -20,9 +20,9 @@ impl DeleteRecommendationPreferencesFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize(self) -> ::std::result::Result< + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware(self) -> ::std::result::Result< crate::client::customize::CustomizableOperation, ::aws_smithy_http::result::SdkError >{ @@ -65,6 +65,15 @@ impl DeleteRecommendationPreferencesFluentBuilder { { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize(self) -> ::std::result::Result< + crate::client::customize::CustomizableOperation, + ::aws_smithy_http::result::SdkError + >{ + self.customize_middleware().await + } ///

                              The target resource type of the recommendation preference to delete.

                              ///

                              The Ec2Instance option encompasses standalone instances and instances that are part of Auto Scaling groups. The AutoScalingGroup option encompasses only instances that are part of an Auto Scaling group.

                              ///

                              The valid values for this parameter are Ec2Instance and AutoScalingGroup.

                              diff --git a/sdk/computeoptimizer/src/operation/describe_recommendation_export_jobs/builders.rs b/sdk/computeoptimizer/src/operation/describe_recommendation_export_jobs/builders.rs index a7bc703899b3..da22dac0ae93 100644 --- a/sdk/computeoptimizer/src/operation/describe_recommendation_export_jobs/builders.rs +++ b/sdk/computeoptimizer/src/operation/describe_recommendation_export_jobs/builders.rs @@ -20,9 +20,9 @@ impl DescribeRecommendationExportJobsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize(self) -> ::std::result::Result< + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware(self) -> ::std::result::Result< crate::client::customize::CustomizableOperation, ::aws_smithy_http::result::SdkError >{ @@ -65,6 +65,15 @@ impl DescribeRecommendationExportJobsFluentBuilder { { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize(self) -> ::std::result::Result< + crate::client::customize::CustomizableOperation, + ::aws_smithy_http::result::SdkError + >{ + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::describe_recommendation_export_jobs::paginator::DescribeRecommendationExportJobsPaginator::send) which returns a `Stream`. diff --git a/sdk/computeoptimizer/src/operation/export_auto_scaling_group_recommendations/builders.rs b/sdk/computeoptimizer/src/operation/export_auto_scaling_group_recommendations/builders.rs index a256d4f6daaf..41cc33b6e76c 100644 --- a/sdk/computeoptimizer/src/operation/export_auto_scaling_group_recommendations/builders.rs +++ b/sdk/computeoptimizer/src/operation/export_auto_scaling_group_recommendations/builders.rs @@ -21,9 +21,9 @@ impl ExportAutoScalingGroupRecommendationsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize(self) -> ::std::result::Result< + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware(self) -> ::std::result::Result< crate::client::customize::CustomizableOperation, ::aws_smithy_http::result::SdkError >{ @@ -66,6 +66,15 @@ impl ExportAutoScalingGroupRecommendationsFluentBuilder { { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize(self) -> ::std::result::Result< + crate::client::customize::CustomizableOperation, + ::aws_smithy_http::result::SdkError + >{ + self.customize_middleware().await + } /// Appends an item to `accountIds`. /// /// To override the contents of this collection use [`set_account_ids`](Self::set_account_ids). diff --git a/sdk/computeoptimizer/src/operation/export_ebs_volume_recommendations/builders.rs b/sdk/computeoptimizer/src/operation/export_ebs_volume_recommendations/builders.rs index 258fa327ee1e..b8855811a1c5 100644 --- a/sdk/computeoptimizer/src/operation/export_ebs_volume_recommendations/builders.rs +++ b/sdk/computeoptimizer/src/operation/export_ebs_volume_recommendations/builders.rs @@ -21,9 +21,9 @@ impl ExportEBSVolumeRecommendationsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize(self) -> ::std::result::Result< + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware(self) -> ::std::result::Result< crate::client::customize::CustomizableOperation, ::aws_smithy_http::result::SdkError >{ @@ -66,6 +66,15 @@ impl ExportEBSVolumeRecommendationsFluentBuilder { { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize(self) -> ::std::result::Result< + crate::client::customize::CustomizableOperation, + ::aws_smithy_http::result::SdkError + >{ + self.customize_middleware().await + } /// Appends an item to `accountIds`. /// /// To override the contents of this collection use [`set_account_ids`](Self::set_account_ids). diff --git a/sdk/computeoptimizer/src/operation/export_ec2_instance_recommendations/builders.rs b/sdk/computeoptimizer/src/operation/export_ec2_instance_recommendations/builders.rs index e9693a8daaec..a05d6cdae67c 100644 --- a/sdk/computeoptimizer/src/operation/export_ec2_instance_recommendations/builders.rs +++ b/sdk/computeoptimizer/src/operation/export_ec2_instance_recommendations/builders.rs @@ -21,9 +21,9 @@ impl ExportEC2InstanceRecommendationsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize(self) -> ::std::result::Result< + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware(self) -> ::std::result::Result< crate::client::customize::CustomizableOperation, ::aws_smithy_http::result::SdkError >{ @@ -66,6 +66,15 @@ impl ExportEC2InstanceRecommendationsFluentBuilder { { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize(self) -> ::std::result::Result< + crate::client::customize::CustomizableOperation, + ::aws_smithy_http::result::SdkError + >{ + self.customize_middleware().await + } /// Appends an item to `accountIds`. /// /// To override the contents of this collection use [`set_account_ids`](Self::set_account_ids). diff --git a/sdk/computeoptimizer/src/operation/export_ecs_service_recommendations/builders.rs b/sdk/computeoptimizer/src/operation/export_ecs_service_recommendations/builders.rs index 8fb488ff6bf5..cea7561868e4 100644 --- a/sdk/computeoptimizer/src/operation/export_ecs_service_recommendations/builders.rs +++ b/sdk/computeoptimizer/src/operation/export_ecs_service_recommendations/builders.rs @@ -21,9 +21,9 @@ impl ExportECSServiceRecommendationsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize(self) -> ::std::result::Result< + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware(self) -> ::std::result::Result< crate::client::customize::CustomizableOperation, ::aws_smithy_http::result::SdkError >{ @@ -66,6 +66,15 @@ impl ExportECSServiceRecommendationsFluentBuilder { { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize(self) -> ::std::result::Result< + crate::client::customize::CustomizableOperation, + ::aws_smithy_http::result::SdkError + >{ + self.customize_middleware().await + } /// Appends an item to `accountIds`. /// /// To override the contents of this collection use [`set_account_ids`](Self::set_account_ids). diff --git a/sdk/computeoptimizer/src/operation/export_lambda_function_recommendations/builders.rs b/sdk/computeoptimizer/src/operation/export_lambda_function_recommendations/builders.rs index 226369fd2aa3..b1514ce3307c 100644 --- a/sdk/computeoptimizer/src/operation/export_lambda_function_recommendations/builders.rs +++ b/sdk/computeoptimizer/src/operation/export_lambda_function_recommendations/builders.rs @@ -21,9 +21,9 @@ impl ExportLambdaFunctionRecommendationsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize(self) -> ::std::result::Result< + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware(self) -> ::std::result::Result< crate::client::customize::CustomizableOperation, ::aws_smithy_http::result::SdkError >{ @@ -66,6 +66,15 @@ impl ExportLambdaFunctionRecommendationsFluentBuilder { { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize(self) -> ::std::result::Result< + crate::client::customize::CustomizableOperation, + ::aws_smithy_http::result::SdkError + >{ + self.customize_middleware().await + } /// Appends an item to `accountIds`. /// /// To override the contents of this collection use [`set_account_ids`](Self::set_account_ids). diff --git a/sdk/computeoptimizer/src/operation/get_auto_scaling_group_recommendations/builders.rs b/sdk/computeoptimizer/src/operation/get_auto_scaling_group_recommendations/builders.rs index fdc15e3e959f..8fd256c3562f 100644 --- a/sdk/computeoptimizer/src/operation/get_auto_scaling_group_recommendations/builders.rs +++ b/sdk/computeoptimizer/src/operation/get_auto_scaling_group_recommendations/builders.rs @@ -20,9 +20,9 @@ impl GetAutoScalingGroupRecommendationsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize(self) -> ::std::result::Result< + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware(self) -> ::std::result::Result< crate::client::customize::CustomizableOperation, ::aws_smithy_http::result::SdkError >{ @@ -65,6 +65,15 @@ impl GetAutoScalingGroupRecommendationsFluentBuilder { { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize(self) -> ::std::result::Result< + crate::client::customize::CustomizableOperation, + ::aws_smithy_http::result::SdkError + >{ + self.customize_middleware().await + } /// Appends an item to `accountIds`. /// /// To override the contents of this collection use [`set_account_ids`](Self::set_account_ids). diff --git a/sdk/computeoptimizer/src/operation/get_ebs_volume_recommendations/builders.rs b/sdk/computeoptimizer/src/operation/get_ebs_volume_recommendations/builders.rs index a17ca4305d9d..3598f0b277ee 100644 --- a/sdk/computeoptimizer/src/operation/get_ebs_volume_recommendations/builders.rs +++ b/sdk/computeoptimizer/src/operation/get_ebs_volume_recommendations/builders.rs @@ -20,9 +20,9 @@ impl GetEBSVolumeRecommendationsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -84,6 +84,22 @@ impl GetEBSVolumeRecommendationsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::get_ebs_volume_recommendations::GetEBSVolumeRecommendations, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::get_ebs_volume_recommendations::GetEBSVolumeRecommendationsError, + >, + > { + self.customize_middleware().await + } /// Appends an item to `volumeArns`. /// /// To override the contents of this collection use [`set_volume_arns`](Self::set_volume_arns). diff --git a/sdk/computeoptimizer/src/operation/get_ec2_instance_recommendations/builders.rs b/sdk/computeoptimizer/src/operation/get_ec2_instance_recommendations/builders.rs index 03133983a484..2cbf96dd2580 100644 --- a/sdk/computeoptimizer/src/operation/get_ec2_instance_recommendations/builders.rs +++ b/sdk/computeoptimizer/src/operation/get_ec2_instance_recommendations/builders.rs @@ -20,9 +20,9 @@ impl GetEC2InstanceRecommendationsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -84,6 +84,22 @@ impl GetEC2InstanceRecommendationsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::get_ec2_instance_recommendations::GetEC2InstanceRecommendations, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::get_ec2_instance_recommendations::GetEC2InstanceRecommendationsError, + >, + > { + self.customize_middleware().await + } /// Appends an item to `instanceArns`. /// /// To override the contents of this collection use [`set_instance_arns`](Self::set_instance_arns). diff --git a/sdk/computeoptimizer/src/operation/get_ec2_recommendation_projected_metrics/builders.rs b/sdk/computeoptimizer/src/operation/get_ec2_recommendation_projected_metrics/builders.rs index 8c34f5a40aa2..13c361591ce6 100644 --- a/sdk/computeoptimizer/src/operation/get_ec2_recommendation_projected_metrics/builders.rs +++ b/sdk/computeoptimizer/src/operation/get_ec2_recommendation_projected_metrics/builders.rs @@ -21,9 +21,9 @@ impl GetEC2RecommendationProjectedMetricsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize(self) -> ::std::result::Result< + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware(self) -> ::std::result::Result< crate::client::customize::CustomizableOperation, ::aws_smithy_http::result::SdkError >{ @@ -66,6 +66,15 @@ impl GetEC2RecommendationProjectedMetricsFluentBuilder { { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize(self) -> ::std::result::Result< + crate::client::customize::CustomizableOperation, + ::aws_smithy_http::result::SdkError + >{ + self.customize_middleware().await + } ///

                              The Amazon Resource Name (ARN) of the instances for which to return recommendation projected metrics.

                              pub fn instance_arn(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.instance_arn(input.into()); diff --git a/sdk/computeoptimizer/src/operation/get_ecs_service_recommendation_projected_metrics/builders.rs b/sdk/computeoptimizer/src/operation/get_ecs_service_recommendation_projected_metrics/builders.rs index e30bbe211bf2..f2781aa89235 100644 --- a/sdk/computeoptimizer/src/operation/get_ecs_service_recommendation_projected_metrics/builders.rs +++ b/sdk/computeoptimizer/src/operation/get_ecs_service_recommendation_projected_metrics/builders.rs @@ -19,9 +19,9 @@ impl GetECSServiceRecommendationProjectedMetricsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize(self) -> ::std::result::Result< + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware(self) -> ::std::result::Result< crate::client::customize::CustomizableOperation, ::aws_smithy_http::result::SdkError >{ @@ -64,6 +64,15 @@ impl GetECSServiceRecommendationProjectedMetricsFluentBuilder { { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize(self) -> ::std::result::Result< + crate::client::customize::CustomizableOperation, + ::aws_smithy_http::result::SdkError + >{ + self.customize_middleware().await + } ///

                              The ARN that identifies the Amazon ECS service.

                              ///

                              The following is the format of the ARN:

                              ///

                              arn:aws:ecs:region:aws_account_id:service/cluster-name/service-name

                              diff --git a/sdk/computeoptimizer/src/operation/get_ecs_service_recommendations/builders.rs b/sdk/computeoptimizer/src/operation/get_ecs_service_recommendations/builders.rs index fd4fa8ab5b68..4aa0686692bd 100644 --- a/sdk/computeoptimizer/src/operation/get_ecs_service_recommendations/builders.rs +++ b/sdk/computeoptimizer/src/operation/get_ecs_service_recommendations/builders.rs @@ -20,9 +20,9 @@ impl GetECSServiceRecommendationsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -84,6 +84,22 @@ impl GetECSServiceRecommendationsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::get_ecs_service_recommendations::GetECSServiceRecommendations, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::get_ecs_service_recommendations::GetECSServiceRecommendationsError, + >, + > { + self.customize_middleware().await + } /// Appends an item to `serviceArns`. /// /// To override the contents of this collection use [`set_service_arns`](Self::set_service_arns). diff --git a/sdk/computeoptimizer/src/operation/get_effective_recommendation_preferences/builders.rs b/sdk/computeoptimizer/src/operation/get_effective_recommendation_preferences/builders.rs index 233cee7da704..644c9886e829 100644 --- a/sdk/computeoptimizer/src/operation/get_effective_recommendation_preferences/builders.rs +++ b/sdk/computeoptimizer/src/operation/get_effective_recommendation_preferences/builders.rs @@ -20,9 +20,9 @@ impl GetEffectiveRecommendationPreferencesFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize(self) -> ::std::result::Result< + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware(self) -> ::std::result::Result< crate::client::customize::CustomizableOperation, ::aws_smithy_http::result::SdkError >{ @@ -65,6 +65,15 @@ impl GetEffectiveRecommendationPreferencesFluentBuilder { { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize(self) -> ::std::result::Result< + crate::client::customize::CustomizableOperation, + ::aws_smithy_http::result::SdkError + >{ + self.customize_middleware().await + } ///

                              The Amazon Resource Name (ARN) of the resource for which to confirm effective recommendation preferences. Only EC2 instance and Auto Scaling group ARNs are currently supported.

                              pub fn resource_arn(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.resource_arn(input.into()); diff --git a/sdk/computeoptimizer/src/operation/get_enrollment_status/builders.rs b/sdk/computeoptimizer/src/operation/get_enrollment_status/builders.rs index 89217cdd13b5..1a9c1c302c13 100644 --- a/sdk/computeoptimizer/src/operation/get_enrollment_status/builders.rs +++ b/sdk/computeoptimizer/src/operation/get_enrollment_status/builders.rs @@ -20,9 +20,9 @@ impl GetEnrollmentStatusFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -84,4 +84,20 @@ impl GetEnrollmentStatusFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::get_enrollment_status::GetEnrollmentStatus, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::get_enrollment_status::GetEnrollmentStatusError, + >, + > { + self.customize_middleware().await + } } diff --git a/sdk/computeoptimizer/src/operation/get_enrollment_statuses_for_organization/builders.rs b/sdk/computeoptimizer/src/operation/get_enrollment_statuses_for_organization/builders.rs index aef7828486be..99b003bfb8ea 100644 --- a/sdk/computeoptimizer/src/operation/get_enrollment_statuses_for_organization/builders.rs +++ b/sdk/computeoptimizer/src/operation/get_enrollment_statuses_for_organization/builders.rs @@ -20,9 +20,9 @@ impl GetEnrollmentStatusesForOrganizationFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize(self) -> ::std::result::Result< + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware(self) -> ::std::result::Result< crate::client::customize::CustomizableOperation, ::aws_smithy_http::result::SdkError >{ @@ -65,6 +65,15 @@ impl GetEnrollmentStatusesForOrganizationFluentBuilder { { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize(self) -> ::std::result::Result< + crate::client::customize::CustomizableOperation, + ::aws_smithy_http::result::SdkError + >{ + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::get_enrollment_statuses_for_organization::paginator::GetEnrollmentStatusesForOrganizationPaginator::send) which returns a `Stream`. diff --git a/sdk/computeoptimizer/src/operation/get_lambda_function_recommendations/builders.rs b/sdk/computeoptimizer/src/operation/get_lambda_function_recommendations/builders.rs index 68debda70b7c..008f9749bade 100644 --- a/sdk/computeoptimizer/src/operation/get_lambda_function_recommendations/builders.rs +++ b/sdk/computeoptimizer/src/operation/get_lambda_function_recommendations/builders.rs @@ -20,9 +20,9 @@ impl GetLambdaFunctionRecommendationsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize(self) -> ::std::result::Result< + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware(self) -> ::std::result::Result< crate::client::customize::CustomizableOperation, ::aws_smithy_http::result::SdkError >{ @@ -65,6 +65,15 @@ impl GetLambdaFunctionRecommendationsFluentBuilder { { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize(self) -> ::std::result::Result< + crate::client::customize::CustomizableOperation, + ::aws_smithy_http::result::SdkError + >{ + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::get_lambda_function_recommendations::paginator::GetLambdaFunctionRecommendationsPaginator::send) which returns a `Stream`. diff --git a/sdk/computeoptimizer/src/operation/get_recommendation_preferences/builders.rs b/sdk/computeoptimizer/src/operation/get_recommendation_preferences/builders.rs index b89d61b9a810..4461e1b7d821 100644 --- a/sdk/computeoptimizer/src/operation/get_recommendation_preferences/builders.rs +++ b/sdk/computeoptimizer/src/operation/get_recommendation_preferences/builders.rs @@ -21,9 +21,9 @@ impl GetRecommendationPreferencesFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -85,6 +85,22 @@ impl GetRecommendationPreferencesFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::get_recommendation_preferences::GetRecommendationPreferences, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::get_recommendation_preferences::GetRecommendationPreferencesError, + >, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::get_recommendation_preferences::paginator::GetRecommendationPreferencesPaginator::send) which returns a `Stream`. diff --git a/sdk/computeoptimizer/src/operation/get_recommendation_summaries/builders.rs b/sdk/computeoptimizer/src/operation/get_recommendation_summaries/builders.rs index 4a6b76471276..407cf054efc5 100644 --- a/sdk/computeoptimizer/src/operation/get_recommendation_summaries/builders.rs +++ b/sdk/computeoptimizer/src/operation/get_recommendation_summaries/builders.rs @@ -27,9 +27,9 @@ impl GetRecommendationSummariesFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -91,6 +91,22 @@ impl GetRecommendationSummariesFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::get_recommendation_summaries::GetRecommendationSummaries, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::get_recommendation_summaries::GetRecommendationSummariesError, + >, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::get_recommendation_summaries::paginator::GetRecommendationSummariesPaginator::send) which returns a `Stream`. diff --git a/sdk/computeoptimizer/src/operation/put_recommendation_preferences/builders.rs b/sdk/computeoptimizer/src/operation/put_recommendation_preferences/builders.rs index 7e3b088dac26..544150be1850 100644 --- a/sdk/computeoptimizer/src/operation/put_recommendation_preferences/builders.rs +++ b/sdk/computeoptimizer/src/operation/put_recommendation_preferences/builders.rs @@ -20,9 +20,9 @@ impl PutRecommendationPreferencesFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -84,6 +84,22 @@ impl PutRecommendationPreferencesFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::put_recommendation_preferences::PutRecommendationPreferences, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::put_recommendation_preferences::PutRecommendationPreferencesError, + >, + > { + self.customize_middleware().await + } ///

                              The target resource type of the recommendation preference to create.

                              ///

                              The Ec2Instance option encompasses standalone instances and instances that are part of Auto Scaling groups. The AutoScalingGroup option encompasses only instances that are part of an Auto Scaling group.

                              ///

                              The valid values for this parameter are Ec2Instance and AutoScalingGroup.

                              diff --git a/sdk/computeoptimizer/src/operation/update_enrollment_status/builders.rs b/sdk/computeoptimizer/src/operation/update_enrollment_status/builders.rs index 484bc17fc165..12667c0aee65 100644 --- a/sdk/computeoptimizer/src/operation/update_enrollment_status/builders.rs +++ b/sdk/computeoptimizer/src/operation/update_enrollment_status/builders.rs @@ -22,9 +22,9 @@ impl UpdateEnrollmentStatusFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -86,6 +86,22 @@ impl UpdateEnrollmentStatusFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::update_enrollment_status::UpdateEnrollmentStatus, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::update_enrollment_status::UpdateEnrollmentStatusError, + >, + > { + self.customize_middleware().await + } ///

                              The new enrollment status of the account.

                              ///

                              The following status options are available:

                              ///
                                diff --git a/sdk/config/src/operation/batch_get_aggregate_resource_config/builders.rs b/sdk/config/src/operation/batch_get_aggregate_resource_config/builders.rs index 957962b5dba3..f21a5c3e4016 100644 --- a/sdk/config/src/operation/batch_get_aggregate_resource_config/builders.rs +++ b/sdk/config/src/operation/batch_get_aggregate_resource_config/builders.rs @@ -24,9 +24,9 @@ impl BatchGetAggregateResourceConfigFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize(self) -> ::std::result::Result< + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware(self) -> ::std::result::Result< crate::client::customize::CustomizableOperation, ::aws_smithy_http::result::SdkError >{ @@ -69,6 +69,15 @@ impl BatchGetAggregateResourceConfigFluentBuilder { { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize(self) -> ::std::result::Result< + crate::client::customize::CustomizableOperation, + ::aws_smithy_http::result::SdkError + >{ + self.customize_middleware().await + } ///

                                The name of the configuration aggregator.

                                pub fn configuration_aggregator_name( mut self, diff --git a/sdk/config/src/operation/batch_get_resource_config/builders.rs b/sdk/config/src/operation/batch_get_resource_config/builders.rs index 08c0a88304b8..cfc6c09627c5 100644 --- a/sdk/config/src/operation/batch_get_resource_config/builders.rs +++ b/sdk/config/src/operation/batch_get_resource_config/builders.rs @@ -25,9 +25,9 @@ impl BatchGetResourceConfigFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -89,6 +89,22 @@ impl BatchGetResourceConfigFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::batch_get_resource_config::BatchGetResourceConfig, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::batch_get_resource_config::BatchGetResourceConfigError, + >, + > { + self.customize_middleware().await + } /// Appends an item to `resourceKeys`. /// /// To override the contents of this collection use [`set_resource_keys`](Self::set_resource_keys). diff --git a/sdk/config/src/operation/delete_aggregation_authorization/builders.rs b/sdk/config/src/operation/delete_aggregation_authorization/builders.rs index 3b9f0804e769..3861ffa40b36 100644 --- a/sdk/config/src/operation/delete_aggregation_authorization/builders.rs +++ b/sdk/config/src/operation/delete_aggregation_authorization/builders.rs @@ -19,9 +19,9 @@ impl DeleteAggregationAuthorizationFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl DeleteAggregationAuthorizationFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::delete_aggregation_authorization::DeleteAggregationAuthorization, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::delete_aggregation_authorization::DeleteAggregationAuthorizationError, + >, + > { + self.customize_middleware().await + } ///

                                The 12-digit account ID of the account authorized to aggregate data.

                                pub fn authorized_account_id( mut self, diff --git a/sdk/config/src/operation/delete_config_rule/builders.rs b/sdk/config/src/operation/delete_config_rule/builders.rs index 39757ec9a795..d9e49c910f3f 100644 --- a/sdk/config/src/operation/delete_config_rule/builders.rs +++ b/sdk/config/src/operation/delete_config_rule/builders.rs @@ -21,9 +21,9 @@ impl DeleteConfigRuleFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -85,6 +85,22 @@ impl DeleteConfigRuleFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::delete_config_rule::DeleteConfigRule, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::delete_config_rule::DeleteConfigRuleError, + >, + > { + self.customize_middleware().await + } ///

                                The name of the Config rule that you want to delete.

                                pub fn config_rule_name( mut self, diff --git a/sdk/config/src/operation/delete_configuration_aggregator/builders.rs b/sdk/config/src/operation/delete_configuration_aggregator/builders.rs index 72ff29ec8bf9..7012722e4d12 100644 --- a/sdk/config/src/operation/delete_configuration_aggregator/builders.rs +++ b/sdk/config/src/operation/delete_configuration_aggregator/builders.rs @@ -19,9 +19,9 @@ impl DeleteConfigurationAggregatorFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl DeleteConfigurationAggregatorFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::delete_configuration_aggregator::DeleteConfigurationAggregator, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::delete_configuration_aggregator::DeleteConfigurationAggregatorError, + >, + > { + self.customize_middleware().await + } ///

                                The name of the configuration aggregator.

                                pub fn configuration_aggregator_name( mut self, diff --git a/sdk/config/src/operation/delete_configuration_recorder/builders.rs b/sdk/config/src/operation/delete_configuration_recorder/builders.rs index c3754dd43c6e..d0f01dc041ce 100644 --- a/sdk/config/src/operation/delete_configuration_recorder/builders.rs +++ b/sdk/config/src/operation/delete_configuration_recorder/builders.rs @@ -21,9 +21,9 @@ impl DeleteConfigurationRecorderFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -85,6 +85,22 @@ impl DeleteConfigurationRecorderFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::delete_configuration_recorder::DeleteConfigurationRecorder, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::delete_configuration_recorder::DeleteConfigurationRecorderError, + >, + > { + self.customize_middleware().await + } ///

                                The name of the configuration recorder to be deleted. You can retrieve the name of your configuration recorder by using the DescribeConfigurationRecorders action.

                                pub fn configuration_recorder_name( mut self, diff --git a/sdk/config/src/operation/delete_conformance_pack/builders.rs b/sdk/config/src/operation/delete_conformance_pack/builders.rs index dd1b9eeb7c72..fc67bfb8583f 100644 --- a/sdk/config/src/operation/delete_conformance_pack/builders.rs +++ b/sdk/config/src/operation/delete_conformance_pack/builders.rs @@ -20,9 +20,9 @@ impl DeleteConformancePackFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -84,6 +84,22 @@ impl DeleteConformancePackFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::delete_conformance_pack::DeleteConformancePack, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::delete_conformance_pack::DeleteConformancePackError, + >, + > { + self.customize_middleware().await + } ///

                                Name of the conformance pack you want to delete.

                                pub fn conformance_pack_name( mut self, diff --git a/sdk/config/src/operation/delete_delivery_channel/builders.rs b/sdk/config/src/operation/delete_delivery_channel/builders.rs index 2a66740e0d01..7083e2442c63 100644 --- a/sdk/config/src/operation/delete_delivery_channel/builders.rs +++ b/sdk/config/src/operation/delete_delivery_channel/builders.rs @@ -20,9 +20,9 @@ impl DeleteDeliveryChannelFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -84,6 +84,22 @@ impl DeleteDeliveryChannelFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::delete_delivery_channel::DeleteDeliveryChannel, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::delete_delivery_channel::DeleteDeliveryChannelError, + >, + > { + self.customize_middleware().await + } ///

                                The name of the delivery channel to delete.

                                pub fn delivery_channel_name( mut self, diff --git a/sdk/config/src/operation/delete_evaluation_results/builders.rs b/sdk/config/src/operation/delete_evaluation_results/builders.rs index 7a3071c45f92..908038b7e4fb 100644 --- a/sdk/config/src/operation/delete_evaluation_results/builders.rs +++ b/sdk/config/src/operation/delete_evaluation_results/builders.rs @@ -20,9 +20,9 @@ impl DeleteEvaluationResultsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -84,6 +84,22 @@ impl DeleteEvaluationResultsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::delete_evaluation_results::DeleteEvaluationResults, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::delete_evaluation_results::DeleteEvaluationResultsError, + >, + > { + self.customize_middleware().await + } ///

                                The name of the Config rule for which you want to delete the evaluation results.

                                pub fn config_rule_name( mut self, diff --git a/sdk/config/src/operation/delete_organization_config_rule/builders.rs b/sdk/config/src/operation/delete_organization_config_rule/builders.rs index 3919a85947ec..53c29923396b 100644 --- a/sdk/config/src/operation/delete_organization_config_rule/builders.rs +++ b/sdk/config/src/operation/delete_organization_config_rule/builders.rs @@ -21,9 +21,9 @@ impl DeleteOrganizationConfigRuleFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -85,6 +85,22 @@ impl DeleteOrganizationConfigRuleFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::delete_organization_config_rule::DeleteOrganizationConfigRule, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::delete_organization_config_rule::DeleteOrganizationConfigRuleError, + >, + > { + self.customize_middleware().await + } ///

                                The name of organization Config rule that you want to delete.

                                pub fn organization_config_rule_name( mut self, diff --git a/sdk/config/src/operation/delete_organization_conformance_pack/builders.rs b/sdk/config/src/operation/delete_organization_conformance_pack/builders.rs index 3313af4da321..393d94960b5a 100644 --- a/sdk/config/src/operation/delete_organization_conformance_pack/builders.rs +++ b/sdk/config/src/operation/delete_organization_conformance_pack/builders.rs @@ -21,9 +21,9 @@ impl DeleteOrganizationConformancePackFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize(self) -> ::std::result::Result< + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware(self) -> ::std::result::Result< crate::client::customize::CustomizableOperation, ::aws_smithy_http::result::SdkError >{ @@ -66,6 +66,15 @@ impl DeleteOrganizationConformancePackFluentBuilder { { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize(self) -> ::std::result::Result< + crate::client::customize::CustomizableOperation, + ::aws_smithy_http::result::SdkError + >{ + self.customize_middleware().await + } ///

                                The name of organization conformance pack that you want to delete.

                                pub fn organization_conformance_pack_name( mut self, diff --git a/sdk/config/src/operation/delete_pending_aggregation_request/builders.rs b/sdk/config/src/operation/delete_pending_aggregation_request/builders.rs index 684f8eb3297b..d6abcc56ef39 100644 --- a/sdk/config/src/operation/delete_pending_aggregation_request/builders.rs +++ b/sdk/config/src/operation/delete_pending_aggregation_request/builders.rs @@ -19,9 +19,9 @@ impl DeletePendingAggregationRequestFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize(self) -> ::std::result::Result< + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware(self) -> ::std::result::Result< crate::client::customize::CustomizableOperation, ::aws_smithy_http::result::SdkError >{ @@ -64,6 +64,15 @@ impl DeletePendingAggregationRequestFluentBuilder { { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize(self) -> ::std::result::Result< + crate::client::customize::CustomizableOperation, + ::aws_smithy_http::result::SdkError + >{ + self.customize_middleware().await + } ///

                                The 12-digit account ID of the account requesting to aggregate data.

                                pub fn requester_account_id( mut self, diff --git a/sdk/config/src/operation/delete_remediation_configuration/builders.rs b/sdk/config/src/operation/delete_remediation_configuration/builders.rs index 7e2eaa0d52e1..fe183ee9de9d 100644 --- a/sdk/config/src/operation/delete_remediation_configuration/builders.rs +++ b/sdk/config/src/operation/delete_remediation_configuration/builders.rs @@ -19,9 +19,9 @@ impl DeleteRemediationConfigurationFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl DeleteRemediationConfigurationFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::delete_remediation_configuration::DeleteRemediationConfiguration, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::delete_remediation_configuration::DeleteRemediationConfigurationError, + >, + > { + self.customize_middleware().await + } ///

                                The name of the Config rule for which you want to delete remediation configuration.

                                pub fn config_rule_name( mut self, diff --git a/sdk/config/src/operation/delete_remediation_exceptions/builders.rs b/sdk/config/src/operation/delete_remediation_exceptions/builders.rs index d19f63f553db..1ee592d40f7a 100644 --- a/sdk/config/src/operation/delete_remediation_exceptions/builders.rs +++ b/sdk/config/src/operation/delete_remediation_exceptions/builders.rs @@ -21,9 +21,9 @@ impl DeleteRemediationExceptionsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -85,6 +85,22 @@ impl DeleteRemediationExceptionsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::delete_remediation_exceptions::DeleteRemediationExceptions, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::delete_remediation_exceptions::DeleteRemediationExceptionsError, + >, + > { + self.customize_middleware().await + } ///

                                The name of the Config rule for which you want to delete remediation exception configuration.

                                pub fn config_rule_name( mut self, diff --git a/sdk/config/src/operation/delete_resource_config/builders.rs b/sdk/config/src/operation/delete_resource_config/builders.rs index 9c35a7fe975a..f6498315341b 100644 --- a/sdk/config/src/operation/delete_resource_config/builders.rs +++ b/sdk/config/src/operation/delete_resource_config/builders.rs @@ -19,9 +19,9 @@ impl DeleteResourceConfigFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl DeleteResourceConfigFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::delete_resource_config::DeleteResourceConfig, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::delete_resource_config::DeleteResourceConfigError, + >, + > { + self.customize_middleware().await + } ///

                                The type of the resource.

                                pub fn resource_type( mut self, diff --git a/sdk/config/src/operation/delete_retention_configuration/builders.rs b/sdk/config/src/operation/delete_retention_configuration/builders.rs index d2d01eba7533..973eb95224f1 100644 --- a/sdk/config/src/operation/delete_retention_configuration/builders.rs +++ b/sdk/config/src/operation/delete_retention_configuration/builders.rs @@ -19,9 +19,9 @@ impl DeleteRetentionConfigurationFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl DeleteRetentionConfigurationFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::delete_retention_configuration::DeleteRetentionConfiguration, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::delete_retention_configuration::DeleteRetentionConfigurationError, + >, + > { + self.customize_middleware().await + } ///

                                The name of the retention configuration to delete.

                                pub fn retention_configuration_name( mut self, diff --git a/sdk/config/src/operation/delete_stored_query/builders.rs b/sdk/config/src/operation/delete_stored_query/builders.rs index fb57be207feb..73affdf56d6e 100644 --- a/sdk/config/src/operation/delete_stored_query/builders.rs +++ b/sdk/config/src/operation/delete_stored_query/builders.rs @@ -19,9 +19,9 @@ impl DeleteStoredQueryFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl DeleteStoredQueryFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::delete_stored_query::DeleteStoredQuery, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::delete_stored_query::DeleteStoredQueryError, + >, + > { + self.customize_middleware().await + } ///

                                The name of the query that you want to delete.

                                pub fn query_name(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.query_name(input.into()); diff --git a/sdk/config/src/operation/deliver_config_snapshot/builders.rs b/sdk/config/src/operation/deliver_config_snapshot/builders.rs index d8b2506e54c5..44b287437565 100644 --- a/sdk/config/src/operation/deliver_config_snapshot/builders.rs +++ b/sdk/config/src/operation/deliver_config_snapshot/builders.rs @@ -24,9 +24,9 @@ impl DeliverConfigSnapshotFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -88,6 +88,22 @@ impl DeliverConfigSnapshotFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::deliver_config_snapshot::DeliverConfigSnapshot, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::deliver_config_snapshot::DeliverConfigSnapshotError, + >, + > { + self.customize_middleware().await + } ///

                                The name of the delivery channel through which the snapshot is delivered.

                                pub fn delivery_channel_name( mut self, diff --git a/sdk/config/src/operation/describe_aggregate_compliance_by_config_rules/builders.rs b/sdk/config/src/operation/describe_aggregate_compliance_by_config_rules/builders.rs index 7a9ce4f8e444..b2f0d8d5a99a 100644 --- a/sdk/config/src/operation/describe_aggregate_compliance_by_config_rules/builders.rs +++ b/sdk/config/src/operation/describe_aggregate_compliance_by_config_rules/builders.rs @@ -21,9 +21,9 @@ impl DescribeAggregateComplianceByConfigRulesFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize(self) -> ::std::result::Result< + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware(self) -> ::std::result::Result< crate::client::customize::CustomizableOperation, ::aws_smithy_http::result::SdkError >{ @@ -66,6 +66,15 @@ impl DescribeAggregateComplianceByConfigRulesFluentBuilder { { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize(self) -> ::std::result::Result< + crate::client::customize::CustomizableOperation, + ::aws_smithy_http::result::SdkError + >{ + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::describe_aggregate_compliance_by_config_rules::paginator::DescribeAggregateComplianceByConfigRulesPaginator::send) which returns a `Stream`. diff --git a/sdk/config/src/operation/describe_aggregate_compliance_by_conformance_packs/builders.rs b/sdk/config/src/operation/describe_aggregate_compliance_by_conformance_packs/builders.rs index b87cd6fe1912..585fef4ab72c 100644 --- a/sdk/config/src/operation/describe_aggregate_compliance_by_conformance_packs/builders.rs +++ b/sdk/config/src/operation/describe_aggregate_compliance_by_conformance_packs/builders.rs @@ -21,9 +21,9 @@ impl DescribeAggregateComplianceByConformancePacksFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize(self) -> ::std::result::Result< + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware(self) -> ::std::result::Result< crate::client::customize::CustomizableOperation, ::aws_smithy_http::result::SdkError >{ @@ -66,6 +66,15 @@ impl DescribeAggregateComplianceByConformancePacksFluentBuilder { { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize(self) -> ::std::result::Result< + crate::client::customize::CustomizableOperation, + ::aws_smithy_http::result::SdkError + >{ + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::describe_aggregate_compliance_by_conformance_packs::paginator::DescribeAggregateComplianceByConformancePacksPaginator::send) which returns a `Stream`. diff --git a/sdk/config/src/operation/describe_aggregation_authorizations/builders.rs b/sdk/config/src/operation/describe_aggregation_authorizations/builders.rs index 08b77995cf6f..47df07c7bfac 100644 --- a/sdk/config/src/operation/describe_aggregation_authorizations/builders.rs +++ b/sdk/config/src/operation/describe_aggregation_authorizations/builders.rs @@ -19,9 +19,9 @@ impl DescribeAggregationAuthorizationsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize(self) -> ::std::result::Result< + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware(self) -> ::std::result::Result< crate::client::customize::CustomizableOperation, ::aws_smithy_http::result::SdkError >{ @@ -64,6 +64,15 @@ impl DescribeAggregationAuthorizationsFluentBuilder { { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize(self) -> ::std::result::Result< + crate::client::customize::CustomizableOperation, + ::aws_smithy_http::result::SdkError + >{ + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::describe_aggregation_authorizations::paginator::DescribeAggregationAuthorizationsPaginator::send) which returns a `Stream`. diff --git a/sdk/config/src/operation/describe_compliance_by_config_rule/builders.rs b/sdk/config/src/operation/describe_compliance_by_config_rule/builders.rs index 6335e174d888..51eab95c4b46 100644 --- a/sdk/config/src/operation/describe_compliance_by_config_rule/builders.rs +++ b/sdk/config/src/operation/describe_compliance_by_config_rule/builders.rs @@ -26,9 +26,9 @@ impl DescribeComplianceByConfigRuleFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize(self) -> ::std::result::Result< + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware(self) -> ::std::result::Result< crate::client::customize::CustomizableOperation, ::aws_smithy_http::result::SdkError >{ @@ -71,6 +71,15 @@ impl DescribeComplianceByConfigRuleFluentBuilder { { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize(self) -> ::std::result::Result< + crate::client::customize::CustomizableOperation, + ::aws_smithy_http::result::SdkError + >{ + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::describe_compliance_by_config_rule::paginator::DescribeComplianceByConfigRulePaginator::send) which returns a `Stream`. diff --git a/sdk/config/src/operation/describe_compliance_by_resource/builders.rs b/sdk/config/src/operation/describe_compliance_by_resource/builders.rs index d45291475bd6..674cc88f1be9 100644 --- a/sdk/config/src/operation/describe_compliance_by_resource/builders.rs +++ b/sdk/config/src/operation/describe_compliance_by_resource/builders.rs @@ -26,9 +26,9 @@ impl DescribeComplianceByResourceFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -90,6 +90,22 @@ impl DescribeComplianceByResourceFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::describe_compliance_by_resource::DescribeComplianceByResource, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::describe_compliance_by_resource::DescribeComplianceByResourceError, + >, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::describe_compliance_by_resource::paginator::DescribeComplianceByResourcePaginator::send) which returns a `Stream`. diff --git a/sdk/config/src/operation/describe_config_rule_evaluation_status/builders.rs b/sdk/config/src/operation/describe_config_rule_evaluation_status/builders.rs index 4e1f7da9ae48..975106ba8310 100644 --- a/sdk/config/src/operation/describe_config_rule_evaluation_status/builders.rs +++ b/sdk/config/src/operation/describe_config_rule_evaluation_status/builders.rs @@ -19,9 +19,9 @@ impl DescribeConfigRuleEvaluationStatusFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize(self) -> ::std::result::Result< + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware(self) -> ::std::result::Result< crate::client::customize::CustomizableOperation, ::aws_smithy_http::result::SdkError >{ @@ -64,6 +64,15 @@ impl DescribeConfigRuleEvaluationStatusFluentBuilder { { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize(self) -> ::std::result::Result< + crate::client::customize::CustomizableOperation, + ::aws_smithy_http::result::SdkError + >{ + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::describe_config_rule_evaluation_status::paginator::DescribeConfigRuleEvaluationStatusPaginator::send) which returns a `Stream`. diff --git a/sdk/config/src/operation/describe_config_rules/builders.rs b/sdk/config/src/operation/describe_config_rules/builders.rs index 4f313ec4cc7d..0f374360c7db 100644 --- a/sdk/config/src/operation/describe_config_rules/builders.rs +++ b/sdk/config/src/operation/describe_config_rules/builders.rs @@ -19,9 +19,9 @@ impl DescribeConfigRulesFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl DescribeConfigRulesFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::describe_config_rules::DescribeConfigRules, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::describe_config_rules::DescribeConfigRulesError, + >, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::describe_config_rules::paginator::DescribeConfigRulesPaginator::send) which returns a `Stream`. diff --git a/sdk/config/src/operation/describe_configuration_aggregator_sources_status/builders.rs b/sdk/config/src/operation/describe_configuration_aggregator_sources_status/builders.rs index cd2bb8b728a4..23267fb36ff0 100644 --- a/sdk/config/src/operation/describe_configuration_aggregator_sources_status/builders.rs +++ b/sdk/config/src/operation/describe_configuration_aggregator_sources_status/builders.rs @@ -19,9 +19,9 @@ impl DescribeConfigurationAggregatorSourcesStatusFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize(self) -> ::std::result::Result< + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware(self) -> ::std::result::Result< crate::client::customize::CustomizableOperation, ::aws_smithy_http::result::SdkError >{ @@ -64,6 +64,15 @@ impl DescribeConfigurationAggregatorSourcesStatusFluentBuilder { { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize(self) -> ::std::result::Result< + crate::client::customize::CustomizableOperation, + ::aws_smithy_http::result::SdkError + >{ + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::describe_configuration_aggregator_sources_status::paginator::DescribeConfigurationAggregatorSourcesStatusPaginator::send) which returns a `Stream`. diff --git a/sdk/config/src/operation/describe_configuration_aggregators/builders.rs b/sdk/config/src/operation/describe_configuration_aggregators/builders.rs index 0aedeae7806b..80fea179f40b 100644 --- a/sdk/config/src/operation/describe_configuration_aggregators/builders.rs +++ b/sdk/config/src/operation/describe_configuration_aggregators/builders.rs @@ -19,9 +19,9 @@ impl DescribeConfigurationAggregatorsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize(self) -> ::std::result::Result< + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware(self) -> ::std::result::Result< crate::client::customize::CustomizableOperation, ::aws_smithy_http::result::SdkError >{ @@ -64,6 +64,15 @@ impl DescribeConfigurationAggregatorsFluentBuilder { { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize(self) -> ::std::result::Result< + crate::client::customize::CustomizableOperation, + ::aws_smithy_http::result::SdkError + >{ + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::describe_configuration_aggregators::paginator::DescribeConfigurationAggregatorsPaginator::send) which returns a `Stream`. diff --git a/sdk/config/src/operation/describe_configuration_recorder_status/builders.rs b/sdk/config/src/operation/describe_configuration_recorder_status/builders.rs index d1b696235848..c446472e5ce7 100644 --- a/sdk/config/src/operation/describe_configuration_recorder_status/builders.rs +++ b/sdk/config/src/operation/describe_configuration_recorder_status/builders.rs @@ -21,9 +21,9 @@ impl DescribeConfigurationRecorderStatusFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize(self) -> ::std::result::Result< + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware(self) -> ::std::result::Result< crate::client::customize::CustomizableOperation, ::aws_smithy_http::result::SdkError >{ @@ -66,6 +66,15 @@ impl DescribeConfigurationRecorderStatusFluentBuilder { { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize(self) -> ::std::result::Result< + crate::client::customize::CustomizableOperation, + ::aws_smithy_http::result::SdkError + >{ + self.customize_middleware().await + } /// Appends an item to `ConfigurationRecorderNames`. /// /// To override the contents of this collection use [`set_configuration_recorder_names`](Self::set_configuration_recorder_names). diff --git a/sdk/config/src/operation/describe_configuration_recorders/builders.rs b/sdk/config/src/operation/describe_configuration_recorders/builders.rs index dedda4e24c01..bc1f2a942093 100644 --- a/sdk/config/src/operation/describe_configuration_recorders/builders.rs +++ b/sdk/config/src/operation/describe_configuration_recorders/builders.rs @@ -21,9 +21,9 @@ impl DescribeConfigurationRecordersFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -85,6 +85,22 @@ impl DescribeConfigurationRecordersFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::describe_configuration_recorders::DescribeConfigurationRecorders, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::describe_configuration_recorders::DescribeConfigurationRecordersError, + >, + > { + self.customize_middleware().await + } /// Appends an item to `ConfigurationRecorderNames`. /// /// To override the contents of this collection use [`set_configuration_recorder_names`](Self::set_configuration_recorder_names). diff --git a/sdk/config/src/operation/describe_conformance_pack_compliance/builders.rs b/sdk/config/src/operation/describe_conformance_pack_compliance/builders.rs index 94a5cde0d94e..21ec114f7487 100644 --- a/sdk/config/src/operation/describe_conformance_pack_compliance/builders.rs +++ b/sdk/config/src/operation/describe_conformance_pack_compliance/builders.rs @@ -21,9 +21,9 @@ impl DescribeConformancePackComplianceFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize(self) -> ::std::result::Result< + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware(self) -> ::std::result::Result< crate::client::customize::CustomizableOperation, ::aws_smithy_http::result::SdkError >{ @@ -66,6 +66,15 @@ impl DescribeConformancePackComplianceFluentBuilder { { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize(self) -> ::std::result::Result< + crate::client::customize::CustomizableOperation, + ::aws_smithy_http::result::SdkError + >{ + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::describe_conformance_pack_compliance::paginator::DescribeConformancePackCompliancePaginator::send) which returns a `Stream`. diff --git a/sdk/config/src/operation/describe_conformance_pack_status/builders.rs b/sdk/config/src/operation/describe_conformance_pack_status/builders.rs index e2d666a38b0e..b0bf70bddb2a 100644 --- a/sdk/config/src/operation/describe_conformance_pack_status/builders.rs +++ b/sdk/config/src/operation/describe_conformance_pack_status/builders.rs @@ -21,9 +21,9 @@ impl DescribeConformancePackStatusFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -85,6 +85,22 @@ impl DescribeConformancePackStatusFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::describe_conformance_pack_status::DescribeConformancePackStatus, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::describe_conformance_pack_status::DescribeConformancePackStatusError, + >, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::describe_conformance_pack_status::paginator::DescribeConformancePackStatusPaginator::send) which returns a `Stream`. diff --git a/sdk/config/src/operation/describe_conformance_packs/builders.rs b/sdk/config/src/operation/describe_conformance_packs/builders.rs index 4ef57feec9ea..05c7d1ad7acd 100644 --- a/sdk/config/src/operation/describe_conformance_packs/builders.rs +++ b/sdk/config/src/operation/describe_conformance_packs/builders.rs @@ -19,9 +19,9 @@ impl DescribeConformancePacksFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl DescribeConformancePacksFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::describe_conformance_packs::DescribeConformancePacks, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::describe_conformance_packs::DescribeConformancePacksError, + >, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::describe_conformance_packs::paginator::DescribeConformancePacksPaginator::send) which returns a `Stream`. diff --git a/sdk/config/src/operation/describe_delivery_channel_status/builders.rs b/sdk/config/src/operation/describe_delivery_channel_status/builders.rs index e652d4dad1ee..b476f11c7569 100644 --- a/sdk/config/src/operation/describe_delivery_channel_status/builders.rs +++ b/sdk/config/src/operation/describe_delivery_channel_status/builders.rs @@ -21,9 +21,9 @@ impl DescribeDeliveryChannelStatusFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -85,6 +85,22 @@ impl DescribeDeliveryChannelStatusFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::describe_delivery_channel_status::DescribeDeliveryChannelStatus, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::describe_delivery_channel_status::DescribeDeliveryChannelStatusError, + >, + > { + self.customize_middleware().await + } /// Appends an item to `DeliveryChannelNames`. /// /// To override the contents of this collection use [`set_delivery_channel_names`](Self::set_delivery_channel_names). diff --git a/sdk/config/src/operation/describe_delivery_channels/builders.rs b/sdk/config/src/operation/describe_delivery_channels/builders.rs index b65d6a43fdda..f6adeb42f3c6 100644 --- a/sdk/config/src/operation/describe_delivery_channels/builders.rs +++ b/sdk/config/src/operation/describe_delivery_channels/builders.rs @@ -21,9 +21,9 @@ impl DescribeDeliveryChannelsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -85,6 +85,22 @@ impl DescribeDeliveryChannelsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::describe_delivery_channels::DescribeDeliveryChannels, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::describe_delivery_channels::DescribeDeliveryChannelsError, + >, + > { + self.customize_middleware().await + } /// Appends an item to `DeliveryChannelNames`. /// /// To override the contents of this collection use [`set_delivery_channel_names`](Self::set_delivery_channel_names). diff --git a/sdk/config/src/operation/describe_organization_config_rule_statuses/builders.rs b/sdk/config/src/operation/describe_organization_config_rule_statuses/builders.rs index cdc618308f60..aeb620b61b79 100644 --- a/sdk/config/src/operation/describe_organization_config_rule_statuses/builders.rs +++ b/sdk/config/src/operation/describe_organization_config_rule_statuses/builders.rs @@ -22,9 +22,9 @@ impl DescribeOrganizationConfigRuleStatusesFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize(self) -> ::std::result::Result< + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware(self) -> ::std::result::Result< crate::client::customize::CustomizableOperation, ::aws_smithy_http::result::SdkError >{ @@ -67,6 +67,15 @@ impl DescribeOrganizationConfigRuleStatusesFluentBuilder { { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize(self) -> ::std::result::Result< + crate::client::customize::CustomizableOperation, + ::aws_smithy_http::result::SdkError + >{ + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::describe_organization_config_rule_statuses::paginator::DescribeOrganizationConfigRuleStatusesPaginator::send) which returns a `Stream`. diff --git a/sdk/config/src/operation/describe_organization_config_rules/builders.rs b/sdk/config/src/operation/describe_organization_config_rules/builders.rs index 637b4f00d17b..87ae3e9c7e4e 100644 --- a/sdk/config/src/operation/describe_organization_config_rules/builders.rs +++ b/sdk/config/src/operation/describe_organization_config_rules/builders.rs @@ -24,9 +24,9 @@ impl DescribeOrganizationConfigRulesFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize(self) -> ::std::result::Result< + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware(self) -> ::std::result::Result< crate::client::customize::CustomizableOperation, ::aws_smithy_http::result::SdkError >{ @@ -69,6 +69,15 @@ impl DescribeOrganizationConfigRulesFluentBuilder { { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize(self) -> ::std::result::Result< + crate::client::customize::CustomizableOperation, + ::aws_smithy_http::result::SdkError + >{ + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::describe_organization_config_rules::paginator::DescribeOrganizationConfigRulesPaginator::send) which returns a `Stream`. diff --git a/sdk/config/src/operation/describe_organization_conformance_pack_statuses/builders.rs b/sdk/config/src/operation/describe_organization_conformance_pack_statuses/builders.rs index 19711ca1071d..c51c9226597b 100644 --- a/sdk/config/src/operation/describe_organization_conformance_pack_statuses/builders.rs +++ b/sdk/config/src/operation/describe_organization_conformance_pack_statuses/builders.rs @@ -22,9 +22,9 @@ impl DescribeOrganizationConformancePackStatusesFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize(self) -> ::std::result::Result< + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware(self) -> ::std::result::Result< crate::client::customize::CustomizableOperation, ::aws_smithy_http::result::SdkError >{ @@ -67,6 +67,15 @@ impl DescribeOrganizationConformancePackStatusesFluentBuilder { { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize(self) -> ::std::result::Result< + crate::client::customize::CustomizableOperation, + ::aws_smithy_http::result::SdkError + >{ + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::describe_organization_conformance_pack_statuses::paginator::DescribeOrganizationConformancePackStatusesPaginator::send) which returns a `Stream`. diff --git a/sdk/config/src/operation/describe_organization_conformance_packs/builders.rs b/sdk/config/src/operation/describe_organization_conformance_packs/builders.rs index 95174b8f05b6..8aa825d8a596 100644 --- a/sdk/config/src/operation/describe_organization_conformance_packs/builders.rs +++ b/sdk/config/src/operation/describe_organization_conformance_packs/builders.rs @@ -24,9 +24,9 @@ impl DescribeOrganizationConformancePacksFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize(self) -> ::std::result::Result< + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware(self) -> ::std::result::Result< crate::client::customize::CustomizableOperation, ::aws_smithy_http::result::SdkError >{ @@ -69,6 +69,15 @@ impl DescribeOrganizationConformancePacksFluentBuilder { { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize(self) -> ::std::result::Result< + crate::client::customize::CustomizableOperation, + ::aws_smithy_http::result::SdkError + >{ + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::describe_organization_conformance_packs::paginator::DescribeOrganizationConformancePacksPaginator::send) which returns a `Stream`. diff --git a/sdk/config/src/operation/describe_pending_aggregation_requests/builders.rs b/sdk/config/src/operation/describe_pending_aggregation_requests/builders.rs index 6184ebecdcb8..7f971c65184e 100644 --- a/sdk/config/src/operation/describe_pending_aggregation_requests/builders.rs +++ b/sdk/config/src/operation/describe_pending_aggregation_requests/builders.rs @@ -19,9 +19,9 @@ impl DescribePendingAggregationRequestsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize(self) -> ::std::result::Result< + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware(self) -> ::std::result::Result< crate::client::customize::CustomizableOperation, ::aws_smithy_http::result::SdkError >{ @@ -64,6 +64,15 @@ impl DescribePendingAggregationRequestsFluentBuilder { { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize(self) -> ::std::result::Result< + crate::client::customize::CustomizableOperation, + ::aws_smithy_http::result::SdkError + >{ + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::describe_pending_aggregation_requests::paginator::DescribePendingAggregationRequestsPaginator::send) which returns a `Stream`. diff --git a/sdk/config/src/operation/describe_remediation_configurations/builders.rs b/sdk/config/src/operation/describe_remediation_configurations/builders.rs index 3baeafa5258f..c5e4db5ec65f 100644 --- a/sdk/config/src/operation/describe_remediation_configurations/builders.rs +++ b/sdk/config/src/operation/describe_remediation_configurations/builders.rs @@ -19,9 +19,9 @@ impl DescribeRemediationConfigurationsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize(self) -> ::std::result::Result< + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware(self) -> ::std::result::Result< crate::client::customize::CustomizableOperation, ::aws_smithy_http::result::SdkError >{ @@ -64,6 +64,15 @@ impl DescribeRemediationConfigurationsFluentBuilder { { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize(self) -> ::std::result::Result< + crate::client::customize::CustomizableOperation, + ::aws_smithy_http::result::SdkError + >{ + self.customize_middleware().await + } /// Appends an item to `ConfigRuleNames`. /// /// To override the contents of this collection use [`set_config_rule_names`](Self::set_config_rule_names). diff --git a/sdk/config/src/operation/describe_remediation_exceptions/builders.rs b/sdk/config/src/operation/describe_remediation_exceptions/builders.rs index 1f8d0768784e..415f4ab84baa 100644 --- a/sdk/config/src/operation/describe_remediation_exceptions/builders.rs +++ b/sdk/config/src/operation/describe_remediation_exceptions/builders.rs @@ -23,9 +23,9 @@ impl DescribeRemediationExceptionsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -87,6 +87,22 @@ impl DescribeRemediationExceptionsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::describe_remediation_exceptions::DescribeRemediationExceptions, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::describe_remediation_exceptions::DescribeRemediationExceptionsError, + >, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::describe_remediation_exceptions::paginator::DescribeRemediationExceptionsPaginator::send) which returns a `Stream`. diff --git a/sdk/config/src/operation/describe_remediation_execution_status/builders.rs b/sdk/config/src/operation/describe_remediation_execution_status/builders.rs index c37c09d59f0b..6b85b46816eb 100644 --- a/sdk/config/src/operation/describe_remediation_execution_status/builders.rs +++ b/sdk/config/src/operation/describe_remediation_execution_status/builders.rs @@ -19,9 +19,9 @@ impl DescribeRemediationExecutionStatusFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize(self) -> ::std::result::Result< + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware(self) -> ::std::result::Result< crate::client::customize::CustomizableOperation, ::aws_smithy_http::result::SdkError >{ @@ -64,6 +64,15 @@ impl DescribeRemediationExecutionStatusFluentBuilder { { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize(self) -> ::std::result::Result< + crate::client::customize::CustomizableOperation, + ::aws_smithy_http::result::SdkError + >{ + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::describe_remediation_execution_status::paginator::DescribeRemediationExecutionStatusPaginator::send) which returns a `Stream`. diff --git a/sdk/config/src/operation/describe_retention_configurations/builders.rs b/sdk/config/src/operation/describe_retention_configurations/builders.rs index 0b8aec19857f..400a6c738296 100644 --- a/sdk/config/src/operation/describe_retention_configurations/builders.rs +++ b/sdk/config/src/operation/describe_retention_configurations/builders.rs @@ -21,9 +21,9 @@ impl DescribeRetentionConfigurationsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize(self) -> ::std::result::Result< + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware(self) -> ::std::result::Result< crate::client::customize::CustomizableOperation, ::aws_smithy_http::result::SdkError >{ @@ -66,6 +66,15 @@ impl DescribeRetentionConfigurationsFluentBuilder { { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize(self) -> ::std::result::Result< + crate::client::customize::CustomizableOperation, + ::aws_smithy_http::result::SdkError + >{ + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::describe_retention_configurations::paginator::DescribeRetentionConfigurationsPaginator::send) which returns a `Stream`. diff --git a/sdk/config/src/operation/get_aggregate_compliance_details_by_config_rule/builders.rs b/sdk/config/src/operation/get_aggregate_compliance_details_by_config_rule/builders.rs index 5cab30714ef6..7f8044e0477b 100644 --- a/sdk/config/src/operation/get_aggregate_compliance_details_by_config_rule/builders.rs +++ b/sdk/config/src/operation/get_aggregate_compliance_details_by_config_rule/builders.rs @@ -21,9 +21,9 @@ impl GetAggregateComplianceDetailsByConfigRuleFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize(self) -> ::std::result::Result< + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware(self) -> ::std::result::Result< crate::client::customize::CustomizableOperation, ::aws_smithy_http::result::SdkError >{ @@ -66,6 +66,15 @@ impl GetAggregateComplianceDetailsByConfigRuleFluentBuilder { { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize(self) -> ::std::result::Result< + crate::client::customize::CustomizableOperation, + ::aws_smithy_http::result::SdkError + >{ + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::get_aggregate_compliance_details_by_config_rule::paginator::GetAggregateComplianceDetailsByConfigRulePaginator::send) which returns a `Stream`. diff --git a/sdk/config/src/operation/get_aggregate_config_rule_compliance_summary/builders.rs b/sdk/config/src/operation/get_aggregate_config_rule_compliance_summary/builders.rs index 4698e3cd6ebe..13c90e8c5b80 100644 --- a/sdk/config/src/operation/get_aggregate_config_rule_compliance_summary/builders.rs +++ b/sdk/config/src/operation/get_aggregate_config_rule_compliance_summary/builders.rs @@ -21,9 +21,9 @@ impl GetAggregateConfigRuleComplianceSummaryFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize(self) -> ::std::result::Result< + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware(self) -> ::std::result::Result< crate::client::customize::CustomizableOperation, ::aws_smithy_http::result::SdkError >{ @@ -66,6 +66,15 @@ impl GetAggregateConfigRuleComplianceSummaryFluentBuilder { { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize(self) -> ::std::result::Result< + crate::client::customize::CustomizableOperation, + ::aws_smithy_http::result::SdkError + >{ + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::get_aggregate_config_rule_compliance_summary::paginator::GetAggregateConfigRuleComplianceSummaryPaginator::send) which returns a `Stream`. diff --git a/sdk/config/src/operation/get_aggregate_conformance_pack_compliance_summary/builders.rs b/sdk/config/src/operation/get_aggregate_conformance_pack_compliance_summary/builders.rs index 5dbfbbb57f52..08ec7c391330 100644 --- a/sdk/config/src/operation/get_aggregate_conformance_pack_compliance_summary/builders.rs +++ b/sdk/config/src/operation/get_aggregate_conformance_pack_compliance_summary/builders.rs @@ -21,9 +21,9 @@ impl GetAggregateConformancePackComplianceSummaryFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize(self) -> ::std::result::Result< + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware(self) -> ::std::result::Result< crate::client::customize::CustomizableOperation, ::aws_smithy_http::result::SdkError >{ @@ -66,6 +66,15 @@ impl GetAggregateConformancePackComplianceSummaryFluentBuilder { { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize(self) -> ::std::result::Result< + crate::client::customize::CustomizableOperation, + ::aws_smithy_http::result::SdkError + >{ + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::get_aggregate_conformance_pack_compliance_summary::paginator::GetAggregateConformancePackComplianceSummaryPaginator::send) which returns a `Stream`. diff --git a/sdk/config/src/operation/get_aggregate_discovered_resource_counts/builders.rs b/sdk/config/src/operation/get_aggregate_discovered_resource_counts/builders.rs index 914ef54432b4..a22c478b28fc 100644 --- a/sdk/config/src/operation/get_aggregate_discovered_resource_counts/builders.rs +++ b/sdk/config/src/operation/get_aggregate_discovered_resource_counts/builders.rs @@ -20,9 +20,9 @@ impl GetAggregateDiscoveredResourceCountsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize(self) -> ::std::result::Result< + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware(self) -> ::std::result::Result< crate::client::customize::CustomizableOperation, ::aws_smithy_http::result::SdkError >{ @@ -65,6 +65,15 @@ impl GetAggregateDiscoveredResourceCountsFluentBuilder { { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize(self) -> ::std::result::Result< + crate::client::customize::CustomizableOperation, + ::aws_smithy_http::result::SdkError + >{ + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::get_aggregate_discovered_resource_counts::paginator::GetAggregateDiscoveredResourceCountsPaginator::send) which returns a `Stream`. diff --git a/sdk/config/src/operation/get_aggregate_resource_config/builders.rs b/sdk/config/src/operation/get_aggregate_resource_config/builders.rs index 59f729d52d65..857ae5ae8afa 100644 --- a/sdk/config/src/operation/get_aggregate_resource_config/builders.rs +++ b/sdk/config/src/operation/get_aggregate_resource_config/builders.rs @@ -19,9 +19,9 @@ impl GetAggregateResourceConfigFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl GetAggregateResourceConfigFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::get_aggregate_resource_config::GetAggregateResourceConfig, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::get_aggregate_resource_config::GetAggregateResourceConfigError, + >, + > { + self.customize_middleware().await + } ///

                                The name of the configuration aggregator.

                                pub fn configuration_aggregator_name( mut self, diff --git a/sdk/config/src/operation/get_compliance_details_by_config_rule/builders.rs b/sdk/config/src/operation/get_compliance_details_by_config_rule/builders.rs index 4b68966c6cd4..b74be3e95d5d 100644 --- a/sdk/config/src/operation/get_compliance_details_by_config_rule/builders.rs +++ b/sdk/config/src/operation/get_compliance_details_by_config_rule/builders.rs @@ -19,9 +19,9 @@ impl GetComplianceDetailsByConfigRuleFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize(self) -> ::std::result::Result< + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware(self) -> ::std::result::Result< crate::client::customize::CustomizableOperation, ::aws_smithy_http::result::SdkError >{ @@ -64,6 +64,15 @@ impl GetComplianceDetailsByConfigRuleFluentBuilder { { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize(self) -> ::std::result::Result< + crate::client::customize::CustomizableOperation, + ::aws_smithy_http::result::SdkError + >{ + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::get_compliance_details_by_config_rule::paginator::GetComplianceDetailsByConfigRulePaginator::send) which returns a `Stream`. diff --git a/sdk/config/src/operation/get_compliance_details_by_resource/builders.rs b/sdk/config/src/operation/get_compliance_details_by_resource/builders.rs index 9e8d892088aa..594e6465d8bc 100644 --- a/sdk/config/src/operation/get_compliance_details_by_resource/builders.rs +++ b/sdk/config/src/operation/get_compliance_details_by_resource/builders.rs @@ -19,9 +19,9 @@ impl GetComplianceDetailsByResourceFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize(self) -> ::std::result::Result< + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware(self) -> ::std::result::Result< crate::client::customize::CustomizableOperation, ::aws_smithy_http::result::SdkError >{ @@ -64,6 +64,15 @@ impl GetComplianceDetailsByResourceFluentBuilder { { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize(self) -> ::std::result::Result< + crate::client::customize::CustomizableOperation, + ::aws_smithy_http::result::SdkError + >{ + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::get_compliance_details_by_resource::paginator::GetComplianceDetailsByResourcePaginator::send) which returns a `Stream`. diff --git a/sdk/config/src/operation/get_compliance_summary_by_config_rule/builders.rs b/sdk/config/src/operation/get_compliance_summary_by_config_rule/builders.rs index 0022e3c86d6a..b9af10eeef14 100644 --- a/sdk/config/src/operation/get_compliance_summary_by_config_rule/builders.rs +++ b/sdk/config/src/operation/get_compliance_summary_by_config_rule/builders.rs @@ -19,9 +19,9 @@ impl GetComplianceSummaryByConfigRuleFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize(self) -> ::std::result::Result< + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware(self) -> ::std::result::Result< crate::client::customize::CustomizableOperation, ::aws_smithy_http::result::SdkError >{ @@ -64,4 +64,13 @@ impl GetComplianceSummaryByConfigRuleFluentBuilder { { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize(self) -> ::std::result::Result< + crate::client::customize::CustomizableOperation, + ::aws_smithy_http::result::SdkError + >{ + self.customize_middleware().await + } } diff --git a/sdk/config/src/operation/get_compliance_summary_by_resource_type/builders.rs b/sdk/config/src/operation/get_compliance_summary_by_resource_type/builders.rs index 134bfd9e53ae..89194630a281 100644 --- a/sdk/config/src/operation/get_compliance_summary_by_resource_type/builders.rs +++ b/sdk/config/src/operation/get_compliance_summary_by_resource_type/builders.rs @@ -19,9 +19,9 @@ impl GetComplianceSummaryByResourceTypeFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize(self) -> ::std::result::Result< + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware(self) -> ::std::result::Result< crate::client::customize::CustomizableOperation, ::aws_smithy_http::result::SdkError >{ @@ -64,6 +64,15 @@ impl GetComplianceSummaryByResourceTypeFluentBuilder { { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize(self) -> ::std::result::Result< + crate::client::customize::CustomizableOperation, + ::aws_smithy_http::result::SdkError + >{ + self.customize_middleware().await + } /// Appends an item to `ResourceTypes`. /// /// To override the contents of this collection use [`set_resource_types`](Self::set_resource_types). diff --git a/sdk/config/src/operation/get_conformance_pack_compliance_details/builders.rs b/sdk/config/src/operation/get_conformance_pack_compliance_details/builders.rs index 916986f01bab..30298ad5a789 100644 --- a/sdk/config/src/operation/get_conformance_pack_compliance_details/builders.rs +++ b/sdk/config/src/operation/get_conformance_pack_compliance_details/builders.rs @@ -19,9 +19,9 @@ impl GetConformancePackComplianceDetailsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize(self) -> ::std::result::Result< + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware(self) -> ::std::result::Result< crate::client::customize::CustomizableOperation, ::aws_smithy_http::result::SdkError >{ @@ -64,6 +64,15 @@ impl GetConformancePackComplianceDetailsFluentBuilder { { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize(self) -> ::std::result::Result< + crate::client::customize::CustomizableOperation, + ::aws_smithy_http::result::SdkError + >{ + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::get_conformance_pack_compliance_details::paginator::GetConformancePackComplianceDetailsPaginator::send) which returns a `Stream`. diff --git a/sdk/config/src/operation/get_conformance_pack_compliance_summary/builders.rs b/sdk/config/src/operation/get_conformance_pack_compliance_summary/builders.rs index bad066dc924a..a759424a904e 100644 --- a/sdk/config/src/operation/get_conformance_pack_compliance_summary/builders.rs +++ b/sdk/config/src/operation/get_conformance_pack_compliance_summary/builders.rs @@ -19,9 +19,9 @@ impl GetConformancePackComplianceSummaryFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize(self) -> ::std::result::Result< + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware(self) -> ::std::result::Result< crate::client::customize::CustomizableOperation, ::aws_smithy_http::result::SdkError >{ @@ -64,6 +64,15 @@ impl GetConformancePackComplianceSummaryFluentBuilder { { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize(self) -> ::std::result::Result< + crate::client::customize::CustomizableOperation, + ::aws_smithy_http::result::SdkError + >{ + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::get_conformance_pack_compliance_summary::paginator::GetConformancePackComplianceSummaryPaginator::send) which returns a `Stream`. diff --git a/sdk/config/src/operation/get_custom_rule_policy/builders.rs b/sdk/config/src/operation/get_custom_rule_policy/builders.rs index 67c19e8b2bbf..8ba8aa9ed0dc 100644 --- a/sdk/config/src/operation/get_custom_rule_policy/builders.rs +++ b/sdk/config/src/operation/get_custom_rule_policy/builders.rs @@ -19,9 +19,9 @@ impl GetCustomRulePolicyFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl GetCustomRulePolicyFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::get_custom_rule_policy::GetCustomRulePolicy, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::get_custom_rule_policy::GetCustomRulePolicyError, + >, + > { + self.customize_middleware().await + } ///

                                The name of your Config Custom Policy rule.

                                pub fn config_rule_name( mut self, diff --git a/sdk/config/src/operation/get_discovered_resource_counts/builders.rs b/sdk/config/src/operation/get_discovered_resource_counts/builders.rs index 2550a63ac7b5..cad415d1f29e 100644 --- a/sdk/config/src/operation/get_discovered_resource_counts/builders.rs +++ b/sdk/config/src/operation/get_discovered_resource_counts/builders.rs @@ -38,9 +38,9 @@ impl GetDiscoveredResourceCountsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -102,6 +102,22 @@ impl GetDiscoveredResourceCountsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::get_discovered_resource_counts::GetDiscoveredResourceCounts, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::get_discovered_resource_counts::GetDiscoveredResourceCountsError, + >, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::get_discovered_resource_counts::paginator::GetDiscoveredResourceCountsPaginator::send) which returns a `Stream`. diff --git a/sdk/config/src/operation/get_organization_config_rule_detailed_status/builders.rs b/sdk/config/src/operation/get_organization_config_rule_detailed_status/builders.rs index 8d465797eb4d..68c39b3dd748 100644 --- a/sdk/config/src/operation/get_organization_config_rule_detailed_status/builders.rs +++ b/sdk/config/src/operation/get_organization_config_rule_detailed_status/builders.rs @@ -19,9 +19,9 @@ impl GetOrganizationConfigRuleDetailedStatusFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize(self) -> ::std::result::Result< + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware(self) -> ::std::result::Result< crate::client::customize::CustomizableOperation, ::aws_smithy_http::result::SdkError >{ @@ -64,6 +64,15 @@ impl GetOrganizationConfigRuleDetailedStatusFluentBuilder { { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize(self) -> ::std::result::Result< + crate::client::customize::CustomizableOperation, + ::aws_smithy_http::result::SdkError + >{ + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::get_organization_config_rule_detailed_status::paginator::GetOrganizationConfigRuleDetailedStatusPaginator::send) which returns a `Stream`. diff --git a/sdk/config/src/operation/get_organization_conformance_pack_detailed_status/builders.rs b/sdk/config/src/operation/get_organization_conformance_pack_detailed_status/builders.rs index 8ae49adc86ba..871e1c79e2b3 100644 --- a/sdk/config/src/operation/get_organization_conformance_pack_detailed_status/builders.rs +++ b/sdk/config/src/operation/get_organization_conformance_pack_detailed_status/builders.rs @@ -19,9 +19,9 @@ impl GetOrganizationConformancePackDetailedStatusFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize(self) -> ::std::result::Result< + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware(self) -> ::std::result::Result< crate::client::customize::CustomizableOperation, ::aws_smithy_http::result::SdkError >{ @@ -64,6 +64,15 @@ impl GetOrganizationConformancePackDetailedStatusFluentBuilder { { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize(self) -> ::std::result::Result< + crate::client::customize::CustomizableOperation, + ::aws_smithy_http::result::SdkError + >{ + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::get_organization_conformance_pack_detailed_status::paginator::GetOrganizationConformancePackDetailedStatusPaginator::send) which returns a `Stream`. diff --git a/sdk/config/src/operation/get_organization_custom_rule_policy/builders.rs b/sdk/config/src/operation/get_organization_custom_rule_policy/builders.rs index 852d688b3a6f..02a963515bec 100644 --- a/sdk/config/src/operation/get_organization_custom_rule_policy/builders.rs +++ b/sdk/config/src/operation/get_organization_custom_rule_policy/builders.rs @@ -19,9 +19,9 @@ impl GetOrganizationCustomRulePolicyFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize(self) -> ::std::result::Result< + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware(self) -> ::std::result::Result< crate::client::customize::CustomizableOperation, ::aws_smithy_http::result::SdkError >{ @@ -64,6 +64,15 @@ impl GetOrganizationCustomRulePolicyFluentBuilder { { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize(self) -> ::std::result::Result< + crate::client::customize::CustomizableOperation, + ::aws_smithy_http::result::SdkError + >{ + self.customize_middleware().await + } ///

                                The name of your organization Config Custom Policy rule.

                                pub fn organization_config_rule_name( mut self, diff --git a/sdk/config/src/operation/get_resource_config_history/builders.rs b/sdk/config/src/operation/get_resource_config_history/builders.rs index b4afa57029dd..28a032f88d09 100644 --- a/sdk/config/src/operation/get_resource_config_history/builders.rs +++ b/sdk/config/src/operation/get_resource_config_history/builders.rs @@ -22,9 +22,9 @@ impl GetResourceConfigHistoryFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -86,6 +86,22 @@ impl GetResourceConfigHistoryFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::get_resource_config_history::GetResourceConfigHistory, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::get_resource_config_history::GetResourceConfigHistoryError, + >, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::get_resource_config_history::paginator::GetResourceConfigHistoryPaginator::send) which returns a `Stream`. diff --git a/sdk/config/src/operation/get_resource_evaluation_summary/builders.rs b/sdk/config/src/operation/get_resource_evaluation_summary/builders.rs index 95536987e3aa..6be8e4497242 100644 --- a/sdk/config/src/operation/get_resource_evaluation_summary/builders.rs +++ b/sdk/config/src/operation/get_resource_evaluation_summary/builders.rs @@ -21,9 +21,9 @@ impl GetResourceEvaluationSummaryFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -85,6 +85,22 @@ impl GetResourceEvaluationSummaryFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::get_resource_evaluation_summary::GetResourceEvaluationSummary, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::get_resource_evaluation_summary::GetResourceEvaluationSummaryError, + >, + > { + self.customize_middleware().await + } ///

                                The unique ResourceEvaluationId of Amazon Web Services resource execution for which you want to retrieve the evaluation summary.

                                pub fn resource_evaluation_id( mut self, diff --git a/sdk/config/src/operation/get_stored_query/builders.rs b/sdk/config/src/operation/get_stored_query/builders.rs index c535379b86aa..a416a6b93532 100644 --- a/sdk/config/src/operation/get_stored_query/builders.rs +++ b/sdk/config/src/operation/get_stored_query/builders.rs @@ -19,9 +19,9 @@ impl GetStoredQueryFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl GetStoredQueryFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::get_stored_query::GetStoredQuery, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::get_stored_query::GetStoredQueryError, + >, + > { + self.customize_middleware().await + } ///

                                The name of the query.

                                pub fn query_name(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.query_name(input.into()); diff --git a/sdk/config/src/operation/list_aggregate_discovered_resources/builders.rs b/sdk/config/src/operation/list_aggregate_discovered_resources/builders.rs index b1acadaa86c6..587a30e97469 100644 --- a/sdk/config/src/operation/list_aggregate_discovered_resources/builders.rs +++ b/sdk/config/src/operation/list_aggregate_discovered_resources/builders.rs @@ -20,9 +20,9 @@ impl ListAggregateDiscoveredResourcesFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize(self) -> ::std::result::Result< + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware(self) -> ::std::result::Result< crate::client::customize::CustomizableOperation, ::aws_smithy_http::result::SdkError >{ @@ -65,6 +65,15 @@ impl ListAggregateDiscoveredResourcesFluentBuilder { { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize(self) -> ::std::result::Result< + crate::client::customize::CustomizableOperation, + ::aws_smithy_http::result::SdkError + >{ + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::list_aggregate_discovered_resources::paginator::ListAggregateDiscoveredResourcesPaginator::send) which returns a `Stream`. diff --git a/sdk/config/src/operation/list_conformance_pack_compliance_scores/builders.rs b/sdk/config/src/operation/list_conformance_pack_compliance_scores/builders.rs index 34e7b026fbb5..243fc4b1b269 100644 --- a/sdk/config/src/operation/list_conformance_pack_compliance_scores/builders.rs +++ b/sdk/config/src/operation/list_conformance_pack_compliance_scores/builders.rs @@ -21,9 +21,9 @@ impl ListConformancePackComplianceScoresFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize(self) -> ::std::result::Result< + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware(self) -> ::std::result::Result< crate::client::customize::CustomizableOperation, ::aws_smithy_http::result::SdkError >{ @@ -66,6 +66,15 @@ impl ListConformancePackComplianceScoresFluentBuilder { { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize(self) -> ::std::result::Result< + crate::client::customize::CustomizableOperation, + ::aws_smithy_http::result::SdkError + >{ + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::list_conformance_pack_compliance_scores::paginator::ListConformancePackComplianceScoresPaginator::send) which returns a `Stream`. diff --git a/sdk/config/src/operation/list_discovered_resources/builders.rs b/sdk/config/src/operation/list_discovered_resources/builders.rs index e8e4c8a9db31..652ff77869da 100644 --- a/sdk/config/src/operation/list_discovered_resources/builders.rs +++ b/sdk/config/src/operation/list_discovered_resources/builders.rs @@ -23,9 +23,9 @@ impl ListDiscoveredResourcesFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -87,6 +87,22 @@ impl ListDiscoveredResourcesFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_discovered_resources::ListDiscoveredResources, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::list_discovered_resources::ListDiscoveredResourcesError, + >, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::list_discovered_resources::paginator::ListDiscoveredResourcesPaginator::send) which returns a `Stream`. diff --git a/sdk/config/src/operation/list_resource_evaluations/builders.rs b/sdk/config/src/operation/list_resource_evaluations/builders.rs index 2f622ab6cc8e..0ba66998e27c 100644 --- a/sdk/config/src/operation/list_resource_evaluations/builders.rs +++ b/sdk/config/src/operation/list_resource_evaluations/builders.rs @@ -20,9 +20,9 @@ impl ListResourceEvaluationsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -84,6 +84,22 @@ impl ListResourceEvaluationsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_resource_evaluations::ListResourceEvaluations, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::list_resource_evaluations::ListResourceEvaluationsError, + >, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::list_resource_evaluations::paginator::ListResourceEvaluationsPaginator::send) which returns a `Stream`. diff --git a/sdk/config/src/operation/list_stored_queries/builders.rs b/sdk/config/src/operation/list_stored_queries/builders.rs index 61d14290ee87..4456587e209c 100644 --- a/sdk/config/src/operation/list_stored_queries/builders.rs +++ b/sdk/config/src/operation/list_stored_queries/builders.rs @@ -19,9 +19,9 @@ impl ListStoredQueriesFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl ListStoredQueriesFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_stored_queries::ListStoredQueries, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::list_stored_queries::ListStoredQueriesError, + >, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::list_stored_queries::paginator::ListStoredQueriesPaginator::send) which returns a `Stream`. diff --git a/sdk/config/src/operation/list_tags_for_resource/builders.rs b/sdk/config/src/operation/list_tags_for_resource/builders.rs index 8cadfbf058ce..acdd185e6ba9 100644 --- a/sdk/config/src/operation/list_tags_for_resource/builders.rs +++ b/sdk/config/src/operation/list_tags_for_resource/builders.rs @@ -19,9 +19,9 @@ impl ListTagsForResourceFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl ListTagsForResourceFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_tags_for_resource::ListTagsForResource, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::list_tags_for_resource::ListTagsForResourceError, + >, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::list_tags_for_resource::paginator::ListTagsForResourcePaginator::send) which returns a `Stream`. diff --git a/sdk/config/src/operation/put_aggregation_authorization/builders.rs b/sdk/config/src/operation/put_aggregation_authorization/builders.rs index 769d0b98d0d4..7b5b28e4c280 100644 --- a/sdk/config/src/operation/put_aggregation_authorization/builders.rs +++ b/sdk/config/src/operation/put_aggregation_authorization/builders.rs @@ -21,9 +21,9 @@ impl PutAggregationAuthorizationFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -85,6 +85,22 @@ impl PutAggregationAuthorizationFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::put_aggregation_authorization::PutAggregationAuthorization, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::put_aggregation_authorization::PutAggregationAuthorizationError, + >, + > { + self.customize_middleware().await + } ///

                                The 12-digit account ID of the account authorized to aggregate data.

                                pub fn authorized_account_id( mut self, diff --git a/sdk/config/src/operation/put_config_rule/builders.rs b/sdk/config/src/operation/put_config_rule/builders.rs index 3260ea068b40..04811d25b46d 100644 --- a/sdk/config/src/operation/put_config_rule/builders.rs +++ b/sdk/config/src/operation/put_config_rule/builders.rs @@ -28,9 +28,9 @@ impl PutConfigRuleFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -86,6 +86,20 @@ impl PutConfigRuleFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::put_config_rule::PutConfigRule, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                The rule that you want to add to your account.

                                pub fn config_rule(mut self, input: crate::types::ConfigRule) -> Self { self.inner = self.inner.config_rule(input); diff --git a/sdk/config/src/operation/put_configuration_aggregator/builders.rs b/sdk/config/src/operation/put_configuration_aggregator/builders.rs index 7a6280304dae..20acdd08eb74 100644 --- a/sdk/config/src/operation/put_configuration_aggregator/builders.rs +++ b/sdk/config/src/operation/put_configuration_aggregator/builders.rs @@ -26,9 +26,9 @@ impl PutConfigurationAggregatorFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -90,6 +90,22 @@ impl PutConfigurationAggregatorFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::put_configuration_aggregator::PutConfigurationAggregator, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::put_configuration_aggregator::PutConfigurationAggregatorError, + >, + > { + self.customize_middleware().await + } ///

                                The name of the configuration aggregator.

                                pub fn configuration_aggregator_name( mut self, diff --git a/sdk/config/src/operation/put_configuration_recorder/builders.rs b/sdk/config/src/operation/put_configuration_recorder/builders.rs index 47dd4ea492dd..b4ebb2479a0f 100644 --- a/sdk/config/src/operation/put_configuration_recorder/builders.rs +++ b/sdk/config/src/operation/put_configuration_recorder/builders.rs @@ -23,9 +23,9 @@ impl PutConfigurationRecorderFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -87,6 +87,22 @@ impl PutConfigurationRecorderFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::put_configuration_recorder::PutConfigurationRecorder, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::put_configuration_recorder::PutConfigurationRecorderError, + >, + > { + self.customize_middleware().await + } ///

                                The configuration recorder object that records each configuration change made to the resources.

                                pub fn configuration_recorder(mut self, input: crate::types::ConfigurationRecorder) -> Self { self.inner = self.inner.configuration_recorder(input); diff --git a/sdk/config/src/operation/put_conformance_pack/builders.rs b/sdk/config/src/operation/put_conformance_pack/builders.rs index 1a92ad9a6964..e55846eeabad 100644 --- a/sdk/config/src/operation/put_conformance_pack/builders.rs +++ b/sdk/config/src/operation/put_conformance_pack/builders.rs @@ -22,9 +22,9 @@ impl PutConformancePackFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -86,6 +86,22 @@ impl PutConformancePackFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::put_conformance_pack::PutConformancePack, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::put_conformance_pack::PutConformancePackError, + >, + > { + self.customize_middleware().await + } ///

                                The unique name of the conformance pack you want to deploy.

                                pub fn conformance_pack_name( mut self, diff --git a/sdk/config/src/operation/put_delivery_channel/builders.rs b/sdk/config/src/operation/put_delivery_channel/builders.rs index dfc42bec3bdf..720111a27b3f 100644 --- a/sdk/config/src/operation/put_delivery_channel/builders.rs +++ b/sdk/config/src/operation/put_delivery_channel/builders.rs @@ -23,9 +23,9 @@ impl PutDeliveryChannelFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -87,6 +87,22 @@ impl PutDeliveryChannelFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::put_delivery_channel::PutDeliveryChannel, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::put_delivery_channel::PutDeliveryChannelError, + >, + > { + self.customize_middleware().await + } ///

                                The configuration delivery channel object that delivers the configuration information to an Amazon S3 bucket and to an Amazon SNS topic.

                                pub fn delivery_channel(mut self, input: crate::types::DeliveryChannel) -> Self { self.inner = self.inner.delivery_channel(input); diff --git a/sdk/config/src/operation/put_evaluations/builders.rs b/sdk/config/src/operation/put_evaluations/builders.rs index 7d499095c47c..89aa0516a697 100644 --- a/sdk/config/src/operation/put_evaluations/builders.rs +++ b/sdk/config/src/operation/put_evaluations/builders.rs @@ -19,9 +19,9 @@ impl PutEvaluationsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl PutEvaluationsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::put_evaluations::PutEvaluations, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } /// Appends an item to `Evaluations`. /// /// To override the contents of this collection use [`set_evaluations`](Self::set_evaluations). diff --git a/sdk/config/src/operation/put_external_evaluation/builders.rs b/sdk/config/src/operation/put_external_evaluation/builders.rs index 1251ed0e15db..7cd1485aba62 100644 --- a/sdk/config/src/operation/put_external_evaluation/builders.rs +++ b/sdk/config/src/operation/put_external_evaluation/builders.rs @@ -19,9 +19,9 @@ impl PutExternalEvaluationFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl PutExternalEvaluationFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::put_external_evaluation::PutExternalEvaluation, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::put_external_evaluation::PutExternalEvaluationError, + >, + > { + self.customize_middleware().await + } ///

                                The name of the Config rule.

                                pub fn config_rule_name( mut self, diff --git a/sdk/config/src/operation/put_organization_config_rule/builders.rs b/sdk/config/src/operation/put_organization_config_rule/builders.rs index 80638892b24c..f2ac211784ae 100644 --- a/sdk/config/src/operation/put_organization_config_rule/builders.rs +++ b/sdk/config/src/operation/put_organization_config_rule/builders.rs @@ -29,9 +29,9 @@ impl PutOrganizationConfigRuleFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -93,6 +93,22 @@ impl PutOrganizationConfigRuleFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::put_organization_config_rule::PutOrganizationConfigRule, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::put_organization_config_rule::PutOrganizationConfigRuleError, + >, + > { + self.customize_middleware().await + } ///

                                The name that you assign to an organization Config rule.

                                pub fn organization_config_rule_name( mut self, diff --git a/sdk/config/src/operation/put_organization_conformance_pack/builders.rs b/sdk/config/src/operation/put_organization_conformance_pack/builders.rs index 215e895cb67a..6da41acb050d 100644 --- a/sdk/config/src/operation/put_organization_conformance_pack/builders.rs +++ b/sdk/config/src/operation/put_organization_conformance_pack/builders.rs @@ -25,9 +25,9 @@ impl PutOrganizationConformancePackFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize(self) -> ::std::result::Result< + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware(self) -> ::std::result::Result< crate::client::customize::CustomizableOperation, ::aws_smithy_http::result::SdkError >{ @@ -70,6 +70,15 @@ impl PutOrganizationConformancePackFluentBuilder { { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize(self) -> ::std::result::Result< + crate::client::customize::CustomizableOperation, + ::aws_smithy_http::result::SdkError + >{ + self.customize_middleware().await + } ///

                                Name of the organization conformance pack you want to create.

                                pub fn organization_conformance_pack_name( mut self, diff --git a/sdk/config/src/operation/put_remediation_configurations/builders.rs b/sdk/config/src/operation/put_remediation_configurations/builders.rs index 641e63e8f2f1..241b4f866065 100644 --- a/sdk/config/src/operation/put_remediation_configurations/builders.rs +++ b/sdk/config/src/operation/put_remediation_configurations/builders.rs @@ -25,9 +25,9 @@ impl PutRemediationConfigurationsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -89,6 +89,22 @@ impl PutRemediationConfigurationsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::put_remediation_configurations::PutRemediationConfigurations, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::put_remediation_configurations::PutRemediationConfigurationsError, + >, + > { + self.customize_middleware().await + } /// Appends an item to `RemediationConfigurations`. /// /// To override the contents of this collection use [`set_remediation_configurations`](Self::set_remediation_configurations). diff --git a/sdk/config/src/operation/put_remediation_exceptions/builders.rs b/sdk/config/src/operation/put_remediation_exceptions/builders.rs index 259d6dab9426..21e95db76e75 100644 --- a/sdk/config/src/operation/put_remediation_exceptions/builders.rs +++ b/sdk/config/src/operation/put_remediation_exceptions/builders.rs @@ -25,9 +25,9 @@ impl PutRemediationExceptionsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -89,6 +89,22 @@ impl PutRemediationExceptionsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::put_remediation_exceptions::PutRemediationExceptions, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::put_remediation_exceptions::PutRemediationExceptionsError, + >, + > { + self.customize_middleware().await + } ///

                                The name of the Config rule for which you want to create remediation exception.

                                pub fn config_rule_name( mut self, diff --git a/sdk/config/src/operation/put_resource_config/builders.rs b/sdk/config/src/operation/put_resource_config/builders.rs index b246bd82e93d..f00978db34c4 100644 --- a/sdk/config/src/operation/put_resource_config/builders.rs +++ b/sdk/config/src/operation/put_resource_config/builders.rs @@ -23,9 +23,9 @@ impl PutResourceConfigFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -87,6 +87,22 @@ impl PutResourceConfigFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::put_resource_config::PutResourceConfig, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::put_resource_config::PutResourceConfigError, + >, + > { + self.customize_middleware().await + } ///

                                The type of the resource. The custom resource type must be registered with CloudFormation.

                                ///

                                You cannot use the organization names “amzn”, “amazon”, “alexa”, “custom” with custom resource types. It is the first part of the ResourceType up to the first ::.

                                ///
                                diff --git a/sdk/config/src/operation/put_retention_configuration/builders.rs b/sdk/config/src/operation/put_retention_configuration/builders.rs index 4e34b9807870..f138e5e5f924 100644 --- a/sdk/config/src/operation/put_retention_configuration/builders.rs +++ b/sdk/config/src/operation/put_retention_configuration/builders.rs @@ -21,9 +21,9 @@ impl PutRetentionConfigurationFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -85,6 +85,22 @@ impl PutRetentionConfigurationFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::put_retention_configuration::PutRetentionConfiguration, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::put_retention_configuration::PutRetentionConfigurationError, + >, + > { + self.customize_middleware().await + } ///

                                Number of days Config stores your historical information.

                                ///

                                Currently, only applicable to the configuration item history.

                                ///
                                diff --git a/sdk/config/src/operation/put_stored_query/builders.rs b/sdk/config/src/operation/put_stored_query/builders.rs index a3fbfcc389a8..910462d36207 100644 --- a/sdk/config/src/operation/put_stored_query/builders.rs +++ b/sdk/config/src/operation/put_stored_query/builders.rs @@ -21,9 +21,9 @@ impl PutStoredQueryFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -85,6 +85,22 @@ impl PutStoredQueryFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::put_stored_query::PutStoredQuery, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::put_stored_query::PutStoredQueryError, + >, + > { + self.customize_middleware().await + } ///

                                A list of StoredQuery objects. The mandatory fields are QueryName and Expression.

                                ///

                                When you are creating a query, you must provide a query name and an expression. When you are updating a query, you must provide a query name but updating the description is optional.

                                ///
                                diff --git a/sdk/config/src/operation/select_aggregate_resource_config/builders.rs b/sdk/config/src/operation/select_aggregate_resource_config/builders.rs index dfb4865ec94a..76cca7b19b37 100644 --- a/sdk/config/src/operation/select_aggregate_resource_config/builders.rs +++ b/sdk/config/src/operation/select_aggregate_resource_config/builders.rs @@ -23,9 +23,9 @@ impl SelectAggregateResourceConfigFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -87,6 +87,22 @@ impl SelectAggregateResourceConfigFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::select_aggregate_resource_config::SelectAggregateResourceConfig, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::select_aggregate_resource_config::SelectAggregateResourceConfigError, + >, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::select_aggregate_resource_config::paginator::SelectAggregateResourceConfigPaginator::send) which returns a `Stream`. diff --git a/sdk/config/src/operation/select_resource_config/builders.rs b/sdk/config/src/operation/select_resource_config/builders.rs index b27e109941a8..91955680416c 100644 --- a/sdk/config/src/operation/select_resource_config/builders.rs +++ b/sdk/config/src/operation/select_resource_config/builders.rs @@ -20,9 +20,9 @@ impl SelectResourceConfigFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -84,6 +84,22 @@ impl SelectResourceConfigFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::select_resource_config::SelectResourceConfig, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::select_resource_config::SelectResourceConfigError, + >, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::select_resource_config::paginator::SelectResourceConfigPaginator::send) which returns a `Stream`. diff --git a/sdk/config/src/operation/start_config_rules_evaluation/builders.rs b/sdk/config/src/operation/start_config_rules_evaluation/builders.rs index 1b067707bc30..f277fc5c66b5 100644 --- a/sdk/config/src/operation/start_config_rules_evaluation/builders.rs +++ b/sdk/config/src/operation/start_config_rules_evaluation/builders.rs @@ -31,9 +31,9 @@ impl StartConfigRulesEvaluationFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -95,6 +95,22 @@ impl StartConfigRulesEvaluationFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::start_config_rules_evaluation::StartConfigRulesEvaluation, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::start_config_rules_evaluation::StartConfigRulesEvaluationError, + >, + > { + self.customize_middleware().await + } /// Appends an item to `ConfigRuleNames`. /// /// To override the contents of this collection use [`set_config_rule_names`](Self::set_config_rule_names). diff --git a/sdk/config/src/operation/start_configuration_recorder/builders.rs b/sdk/config/src/operation/start_configuration_recorder/builders.rs index f281221d031c..3dfec8f7398f 100644 --- a/sdk/config/src/operation/start_configuration_recorder/builders.rs +++ b/sdk/config/src/operation/start_configuration_recorder/builders.rs @@ -20,9 +20,9 @@ impl StartConfigurationRecorderFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -84,6 +84,22 @@ impl StartConfigurationRecorderFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::start_configuration_recorder::StartConfigurationRecorder, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::start_configuration_recorder::StartConfigurationRecorderError, + >, + > { + self.customize_middleware().await + } ///

                                The name of the recorder object that records each configuration change made to the resources.

                                pub fn configuration_recorder_name( mut self, diff --git a/sdk/config/src/operation/start_remediation_execution/builders.rs b/sdk/config/src/operation/start_remediation_execution/builders.rs index 8acc4cb82df6..fca09b766e86 100644 --- a/sdk/config/src/operation/start_remediation_execution/builders.rs +++ b/sdk/config/src/operation/start_remediation_execution/builders.rs @@ -20,9 +20,9 @@ impl StartRemediationExecutionFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -84,6 +84,22 @@ impl StartRemediationExecutionFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::start_remediation_execution::StartRemediationExecution, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::start_remediation_execution::StartRemediationExecutionError, + >, + > { + self.customize_middleware().await + } ///

                                The list of names of Config rules that you want to run remediation execution for.

                                pub fn config_rule_name( mut self, diff --git a/sdk/config/src/operation/start_resource_evaluation/builders.rs b/sdk/config/src/operation/start_resource_evaluation/builders.rs index c731e8b5e9dd..36d99d8adefd 100644 --- a/sdk/config/src/operation/start_resource_evaluation/builders.rs +++ b/sdk/config/src/operation/start_resource_evaluation/builders.rs @@ -24,9 +24,9 @@ impl StartResourceEvaluationFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -88,6 +88,22 @@ impl StartResourceEvaluationFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::start_resource_evaluation::StartResourceEvaluation, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::start_resource_evaluation::StartResourceEvaluationError, + >, + > { + self.customize_middleware().await + } ///

                                Returns a ResourceDetails object.

                                pub fn resource_details(mut self, input: crate::types::ResourceDetails) -> Self { self.inner = self.inner.resource_details(input); diff --git a/sdk/config/src/operation/stop_configuration_recorder/builders.rs b/sdk/config/src/operation/stop_configuration_recorder/builders.rs index edac19d25205..e6c47d4a3a38 100644 --- a/sdk/config/src/operation/stop_configuration_recorder/builders.rs +++ b/sdk/config/src/operation/stop_configuration_recorder/builders.rs @@ -19,9 +19,9 @@ impl StopConfigurationRecorderFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl StopConfigurationRecorderFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::stop_configuration_recorder::StopConfigurationRecorder, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::stop_configuration_recorder::StopConfigurationRecorderError, + >, + > { + self.customize_middleware().await + } ///

                                The name of the recorder object that records each configuration change made to the resources.

                                pub fn configuration_recorder_name( mut self, diff --git a/sdk/config/src/operation/tag_resource/builders.rs b/sdk/config/src/operation/tag_resource/builders.rs index 970ce6aa3592..ae0bc26241ed 100644 --- a/sdk/config/src/operation/tag_resource/builders.rs +++ b/sdk/config/src/operation/tag_resource/builders.rs @@ -19,9 +19,9 @@ impl TagResourceFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl TagResourceFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::tag_resource::TagResource, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                The Amazon Resource Name (ARN) that identifies the resource for which to list the tags. Currently, the supported resources are ConfigRule, ConfigurationAggregator and AggregatorAuthorization.

                                pub fn resource_arn(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.resource_arn(input.into()); diff --git a/sdk/config/src/operation/untag_resource/builders.rs b/sdk/config/src/operation/untag_resource/builders.rs index e0568f3777c4..022c547bed93 100644 --- a/sdk/config/src/operation/untag_resource/builders.rs +++ b/sdk/config/src/operation/untag_resource/builders.rs @@ -19,9 +19,9 @@ impl UntagResourceFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl UntagResourceFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::untag_resource::UntagResource, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                The Amazon Resource Name (ARN) that identifies the resource for which to list the tags. Currently, the supported resources are ConfigRule, ConfigurationAggregator and AggregatorAuthorization.

                                pub fn resource_arn(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.resource_arn(input.into()); diff --git a/sdk/connect/src/operation/activate_evaluation_form/builders.rs b/sdk/connect/src/operation/activate_evaluation_form/builders.rs index 91f7dbd17874..b128e058b225 100644 --- a/sdk/connect/src/operation/activate_evaluation_form/builders.rs +++ b/sdk/connect/src/operation/activate_evaluation_form/builders.rs @@ -19,9 +19,9 @@ impl ActivateEvaluationFormFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl ActivateEvaluationFormFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::activate_evaluation_form::ActivateEvaluationForm, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::activate_evaluation_form::ActivateEvaluationFormError, + >, + > { + self.customize_middleware().await + } ///

                                The identifier of the Amazon Connect instance. You can find the instance ID in the Amazon Resource Name (ARN) of the instance.

                                pub fn instance_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.instance_id(input.into()); diff --git a/sdk/connect/src/operation/associate_approved_origin/builders.rs b/sdk/connect/src/operation/associate_approved_origin/builders.rs index d6bb796c7b84..2308e5ffbaeb 100644 --- a/sdk/connect/src/operation/associate_approved_origin/builders.rs +++ b/sdk/connect/src/operation/associate_approved_origin/builders.rs @@ -21,9 +21,9 @@ impl AssociateApprovedOriginFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -85,6 +85,22 @@ impl AssociateApprovedOriginFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::associate_approved_origin::AssociateApprovedOrigin, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::associate_approved_origin::AssociateApprovedOriginError, + >, + > { + self.customize_middleware().await + } ///

                                The identifier of the Amazon Connect instance. You can find the instance ID in the Amazon Resource Name (ARN) of the instance.

                                pub fn instance_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.instance_id(input.into()); diff --git a/sdk/connect/src/operation/associate_bot/builders.rs b/sdk/connect/src/operation/associate_bot/builders.rs index 4fba6d49a11c..e2f77ecb53c2 100644 --- a/sdk/connect/src/operation/associate_bot/builders.rs +++ b/sdk/connect/src/operation/associate_bot/builders.rs @@ -20,9 +20,9 @@ impl AssociateBotFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -78,6 +78,20 @@ impl AssociateBotFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::associate_bot::AssociateBot, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                The identifier of the Amazon Connect instance. You can find the instance ID in the Amazon Resource Name (ARN) of the instance.

                                pub fn instance_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.instance_id(input.into()); diff --git a/sdk/connect/src/operation/associate_default_vocabulary/builders.rs b/sdk/connect/src/operation/associate_default_vocabulary/builders.rs index b657e0c8c85c..6f203a2d7a5c 100644 --- a/sdk/connect/src/operation/associate_default_vocabulary/builders.rs +++ b/sdk/connect/src/operation/associate_default_vocabulary/builders.rs @@ -19,9 +19,9 @@ impl AssociateDefaultVocabularyFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl AssociateDefaultVocabularyFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::associate_default_vocabulary::AssociateDefaultVocabulary, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::associate_default_vocabulary::AssociateDefaultVocabularyError, + >, + > { + self.customize_middleware().await + } ///

                                The identifier of the Amazon Connect instance. You can find the instance ID in the Amazon Resource Name (ARN) of the instance.

                                pub fn instance_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.instance_id(input.into()); diff --git a/sdk/connect/src/operation/associate_instance_storage_config/builders.rs b/sdk/connect/src/operation/associate_instance_storage_config/builders.rs index 77d171b24055..63b274a59e0e 100644 --- a/sdk/connect/src/operation/associate_instance_storage_config/builders.rs +++ b/sdk/connect/src/operation/associate_instance_storage_config/builders.rs @@ -21,9 +21,9 @@ impl AssociateInstanceStorageConfigFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize(self) -> ::std::result::Result< + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware(self) -> ::std::result::Result< crate::client::customize::CustomizableOperation, ::aws_smithy_http::result::SdkError >{ @@ -66,6 +66,15 @@ impl AssociateInstanceStorageConfigFluentBuilder { { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize(self) -> ::std::result::Result< + crate::client::customize::CustomizableOperation, + ::aws_smithy_http::result::SdkError + >{ + self.customize_middleware().await + } ///

                                The identifier of the Amazon Connect instance. You can find the instance ID in the Amazon Resource Name (ARN) of the instance.

                                pub fn instance_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.instance_id(input.into()); diff --git a/sdk/connect/src/operation/associate_lambda_function/builders.rs b/sdk/connect/src/operation/associate_lambda_function/builders.rs index 05fbe177635a..5fda9eb38d6e 100644 --- a/sdk/connect/src/operation/associate_lambda_function/builders.rs +++ b/sdk/connect/src/operation/associate_lambda_function/builders.rs @@ -21,9 +21,9 @@ impl AssociateLambdaFunctionFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -85,6 +85,22 @@ impl AssociateLambdaFunctionFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::associate_lambda_function::AssociateLambdaFunction, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::associate_lambda_function::AssociateLambdaFunctionError, + >, + > { + self.customize_middleware().await + } ///

                                The identifier of the Amazon Connect instance. You can find the instance ID in the Amazon Resource Name (ARN) of the instance.

                                pub fn instance_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.instance_id(input.into()); diff --git a/sdk/connect/src/operation/associate_lex_bot/builders.rs b/sdk/connect/src/operation/associate_lex_bot/builders.rs index b7425c912a98..3163c074f5c2 100644 --- a/sdk/connect/src/operation/associate_lex_bot/builders.rs +++ b/sdk/connect/src/operation/associate_lex_bot/builders.rs @@ -20,9 +20,9 @@ impl AssociateLexBotFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -84,6 +84,22 @@ impl AssociateLexBotFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::associate_lex_bot::AssociateLexBot, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::associate_lex_bot::AssociateLexBotError, + >, + > { + self.customize_middleware().await + } ///

                                The identifier of the Amazon Connect instance. You can find the instance ID in the Amazon Resource Name (ARN) of the instance.

                                pub fn instance_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.instance_id(input.into()); diff --git a/sdk/connect/src/operation/associate_phone_number_contact_flow/builders.rs b/sdk/connect/src/operation/associate_phone_number_contact_flow/builders.rs index 92c5b5dffcc7..28ca0dbcdb10 100644 --- a/sdk/connect/src/operation/associate_phone_number_contact_flow/builders.rs +++ b/sdk/connect/src/operation/associate_phone_number_contact_flow/builders.rs @@ -21,9 +21,9 @@ impl AssociatePhoneNumberContactFlowFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize(self) -> ::std::result::Result< + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware(self) -> ::std::result::Result< crate::client::customize::CustomizableOperation, ::aws_smithy_http::result::SdkError >{ @@ -66,6 +66,15 @@ impl AssociatePhoneNumberContactFlowFluentBuilder { { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize(self) -> ::std::result::Result< + crate::client::customize::CustomizableOperation, + ::aws_smithy_http::result::SdkError + >{ + self.customize_middleware().await + } ///

                                A unique identifier for the phone number.

                                pub fn phone_number_id( mut self, diff --git a/sdk/connect/src/operation/associate_queue_quick_connects/builders.rs b/sdk/connect/src/operation/associate_queue_quick_connects/builders.rs index 17d11e90909e..4b6edbf25197 100644 --- a/sdk/connect/src/operation/associate_queue_quick_connects/builders.rs +++ b/sdk/connect/src/operation/associate_queue_quick_connects/builders.rs @@ -20,9 +20,9 @@ impl AssociateQueueQuickConnectsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -84,6 +84,22 @@ impl AssociateQueueQuickConnectsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::associate_queue_quick_connects::AssociateQueueQuickConnects, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::associate_queue_quick_connects::AssociateQueueQuickConnectsError, + >, + > { + self.customize_middleware().await + } ///

                                The identifier of the Amazon Connect instance. You can find the instance ID in the Amazon Resource Name (ARN) of the instance.

                                pub fn instance_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.instance_id(input.into()); diff --git a/sdk/connect/src/operation/associate_routing_profile_queues/builders.rs b/sdk/connect/src/operation/associate_routing_profile_queues/builders.rs index 4f7eea71491a..01c03298a1c1 100644 --- a/sdk/connect/src/operation/associate_routing_profile_queues/builders.rs +++ b/sdk/connect/src/operation/associate_routing_profile_queues/builders.rs @@ -19,9 +19,9 @@ impl AssociateRoutingProfileQueuesFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl AssociateRoutingProfileQueuesFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::associate_routing_profile_queues::AssociateRoutingProfileQueues, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::associate_routing_profile_queues::AssociateRoutingProfileQueuesError, + >, + > { + self.customize_middleware().await + } ///

                                The identifier of the Amazon Connect instance. You can find the instance ID in the Amazon Resource Name (ARN) of the instance.

                                pub fn instance_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.instance_id(input.into()); diff --git a/sdk/connect/src/operation/associate_security_key/builders.rs b/sdk/connect/src/operation/associate_security_key/builders.rs index 31bc55c551c2..ca6140fdfa61 100644 --- a/sdk/connect/src/operation/associate_security_key/builders.rs +++ b/sdk/connect/src/operation/associate_security_key/builders.rs @@ -20,9 +20,9 @@ impl AssociateSecurityKeyFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -84,6 +84,22 @@ impl AssociateSecurityKeyFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::associate_security_key::AssociateSecurityKey, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::associate_security_key::AssociateSecurityKeyError, + >, + > { + self.customize_middleware().await + } ///

                                The identifier of the Amazon Connect instance. You can find the instance ID in the Amazon Resource Name (ARN) of the instance.

                                pub fn instance_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.instance_id(input.into()); diff --git a/sdk/connect/src/operation/claim_phone_number/builders.rs b/sdk/connect/src/operation/claim_phone_number/builders.rs index 60617d94e071..bdd4f6b9e50f 100644 --- a/sdk/connect/src/operation/claim_phone_number/builders.rs +++ b/sdk/connect/src/operation/claim_phone_number/builders.rs @@ -22,9 +22,9 @@ impl ClaimPhoneNumberFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -86,6 +86,22 @@ impl ClaimPhoneNumberFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::claim_phone_number::ClaimPhoneNumber, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::claim_phone_number::ClaimPhoneNumberError, + >, + > { + self.customize_middleware().await + } ///

                                The Amazon Resource Name (ARN) for Amazon Connect instances or traffic distribution groups that phone numbers are claimed to.

                                pub fn target_arn(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.target_arn(input.into()); diff --git a/sdk/connect/src/operation/create_agent_status/builders.rs b/sdk/connect/src/operation/create_agent_status/builders.rs index d6836b909852..dd2efcc618ac 100644 --- a/sdk/connect/src/operation/create_agent_status/builders.rs +++ b/sdk/connect/src/operation/create_agent_status/builders.rs @@ -20,9 +20,9 @@ impl CreateAgentStatusFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -84,6 +84,22 @@ impl CreateAgentStatusFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::create_agent_status::CreateAgentStatus, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::create_agent_status::CreateAgentStatusError, + >, + > { + self.customize_middleware().await + } ///

                                The identifier of the Amazon Connect instance. You can find the instance ID in the Amazon Resource Name (ARN) of the instance.

                                pub fn instance_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.instance_id(input.into()); diff --git a/sdk/connect/src/operation/create_contact_flow/builders.rs b/sdk/connect/src/operation/create_contact_flow/builders.rs index dffd37f4ce4c..f91b68e13fbd 100644 --- a/sdk/connect/src/operation/create_contact_flow/builders.rs +++ b/sdk/connect/src/operation/create_contact_flow/builders.rs @@ -20,9 +20,9 @@ impl CreateContactFlowFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -84,6 +84,22 @@ impl CreateContactFlowFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::create_contact_flow::CreateContactFlow, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::create_contact_flow::CreateContactFlowError, + >, + > { + self.customize_middleware().await + } ///

                                The identifier of the Amazon Connect instance.

                                pub fn instance_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.instance_id(input.into()); diff --git a/sdk/connect/src/operation/create_contact_flow_module/builders.rs b/sdk/connect/src/operation/create_contact_flow_module/builders.rs index a8b79e1a6876..e4acfdbb99d2 100644 --- a/sdk/connect/src/operation/create_contact_flow_module/builders.rs +++ b/sdk/connect/src/operation/create_contact_flow_module/builders.rs @@ -20,9 +20,9 @@ impl CreateContactFlowModuleFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -84,6 +84,22 @@ impl CreateContactFlowModuleFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::create_contact_flow_module::CreateContactFlowModule, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::create_contact_flow_module::CreateContactFlowModuleError, + >, + > { + self.customize_middleware().await + } ///

                                The identifier of the Amazon Connect instance. You can find the instance ID in the Amazon Resource Name (ARN) of the instance.

                                pub fn instance_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.instance_id(input.into()); diff --git a/sdk/connect/src/operation/create_evaluation_form/builders.rs b/sdk/connect/src/operation/create_evaluation_form/builders.rs index 1b940481db8f..42dea35bf059 100644 --- a/sdk/connect/src/operation/create_evaluation_form/builders.rs +++ b/sdk/connect/src/operation/create_evaluation_form/builders.rs @@ -19,9 +19,9 @@ impl CreateEvaluationFormFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl CreateEvaluationFormFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::create_evaluation_form::CreateEvaluationForm, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::create_evaluation_form::CreateEvaluationFormError, + >, + > { + self.customize_middleware().await + } ///

                                The identifier of the Amazon Connect instance. You can find the instance ID in the Amazon Resource Name (ARN) of the instance.

                                pub fn instance_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.instance_id(input.into()); diff --git a/sdk/connect/src/operation/create_hours_of_operation/builders.rs b/sdk/connect/src/operation/create_hours_of_operation/builders.rs index 4436971a98b7..a3862fc12990 100644 --- a/sdk/connect/src/operation/create_hours_of_operation/builders.rs +++ b/sdk/connect/src/operation/create_hours_of_operation/builders.rs @@ -21,9 +21,9 @@ impl CreateHoursOfOperationFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -85,6 +85,22 @@ impl CreateHoursOfOperationFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::create_hours_of_operation::CreateHoursOfOperation, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::create_hours_of_operation::CreateHoursOfOperationError, + >, + > { + self.customize_middleware().await + } ///

                                The identifier of the Amazon Connect instance. You can find the instance ID in the Amazon Resource Name (ARN) of the instance.

                                pub fn instance_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.instance_id(input.into()); diff --git a/sdk/connect/src/operation/create_instance/builders.rs b/sdk/connect/src/operation/create_instance/builders.rs index 24c35da57058..69020462ffd1 100644 --- a/sdk/connect/src/operation/create_instance/builders.rs +++ b/sdk/connect/src/operation/create_instance/builders.rs @@ -21,9 +21,9 @@ impl CreateInstanceFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -79,6 +79,20 @@ impl CreateInstanceFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::create_instance::CreateInstance, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                The idempotency token.

                                pub fn client_token(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.client_token(input.into()); diff --git a/sdk/connect/src/operation/create_integration_association/builders.rs b/sdk/connect/src/operation/create_integration_association/builders.rs index c9f2b8763fbc..7a76d4844737 100644 --- a/sdk/connect/src/operation/create_integration_association/builders.rs +++ b/sdk/connect/src/operation/create_integration_association/builders.rs @@ -19,9 +19,9 @@ impl CreateIntegrationAssociationFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl CreateIntegrationAssociationFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::create_integration_association::CreateIntegrationAssociation, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::create_integration_association::CreateIntegrationAssociationError, + >, + > { + self.customize_middleware().await + } ///

                                The identifier of the Amazon Connect instance. You can find the instance ID in the Amazon Resource Name (ARN) of the instance.

                                pub fn instance_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.instance_id(input.into()); diff --git a/sdk/connect/src/operation/create_participant/builders.rs b/sdk/connect/src/operation/create_participant/builders.rs index b40eaa2eca32..feea64c87681 100644 --- a/sdk/connect/src/operation/create_participant/builders.rs +++ b/sdk/connect/src/operation/create_participant/builders.rs @@ -19,9 +19,9 @@ impl CreateParticipantFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl CreateParticipantFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::create_participant::CreateParticipant, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::create_participant::CreateParticipantError, + >, + > { + self.customize_middleware().await + } ///

                                The identifier of the Amazon Connect instance. You can find the instance ID in the Amazon Resource Name (ARN) of the instance.

                                pub fn instance_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.instance_id(input.into()); diff --git a/sdk/connect/src/operation/create_prompt/builders.rs b/sdk/connect/src/operation/create_prompt/builders.rs index 3e5eb06c8075..31ac94c3f006 100644 --- a/sdk/connect/src/operation/create_prompt/builders.rs +++ b/sdk/connect/src/operation/create_prompt/builders.rs @@ -19,9 +19,9 @@ impl CreatePromptFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl CreatePromptFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::create_prompt::CreatePrompt, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                The identifier of the Amazon Connect instance. You can find the instance ID in the Amazon Resource Name (ARN) of the instance.

                                pub fn instance_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.instance_id(input.into()); diff --git a/sdk/connect/src/operation/create_queue/builders.rs b/sdk/connect/src/operation/create_queue/builders.rs index 87e51ebd12c4..0898479fa7c2 100644 --- a/sdk/connect/src/operation/create_queue/builders.rs +++ b/sdk/connect/src/operation/create_queue/builders.rs @@ -22,9 +22,9 @@ impl CreateQueueFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -80,6 +80,20 @@ impl CreateQueueFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::create_queue::CreateQueue, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                The identifier of the Amazon Connect instance. You can find the instance ID in the Amazon Resource Name (ARN) of the instance.

                                pub fn instance_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.instance_id(input.into()); diff --git a/sdk/connect/src/operation/create_quick_connect/builders.rs b/sdk/connect/src/operation/create_quick_connect/builders.rs index 0b0b5feb4b9b..df7bffadcdc6 100644 --- a/sdk/connect/src/operation/create_quick_connect/builders.rs +++ b/sdk/connect/src/operation/create_quick_connect/builders.rs @@ -19,9 +19,9 @@ impl CreateQuickConnectFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl CreateQuickConnectFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::create_quick_connect::CreateQuickConnect, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::create_quick_connect::CreateQuickConnectError, + >, + > { + self.customize_middleware().await + } ///

                                The identifier of the Amazon Connect instance. You can find the instance ID in the Amazon Resource Name (ARN) of the instance.

                                pub fn instance_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.instance_id(input.into()); diff --git a/sdk/connect/src/operation/create_routing_profile/builders.rs b/sdk/connect/src/operation/create_routing_profile/builders.rs index c7a535fefc78..7a4094f1aec8 100644 --- a/sdk/connect/src/operation/create_routing_profile/builders.rs +++ b/sdk/connect/src/operation/create_routing_profile/builders.rs @@ -19,9 +19,9 @@ impl CreateRoutingProfileFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl CreateRoutingProfileFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::create_routing_profile::CreateRoutingProfile, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::create_routing_profile::CreateRoutingProfileError, + >, + > { + self.customize_middleware().await + } ///

                                The identifier of the Amazon Connect instance. You can find the instance ID in the Amazon Resource Name (ARN) of the instance.

                                pub fn instance_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.instance_id(input.into()); diff --git a/sdk/connect/src/operation/create_rule/builders.rs b/sdk/connect/src/operation/create_rule/builders.rs index 1155ec4f9e4f..3b55b1bf1f3b 100644 --- a/sdk/connect/src/operation/create_rule/builders.rs +++ b/sdk/connect/src/operation/create_rule/builders.rs @@ -20,9 +20,9 @@ impl CreateRuleFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -78,6 +78,20 @@ impl CreateRuleFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::create_rule::CreateRule, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                The identifier of the Amazon Connect instance. You can find the instance ID in the Amazon Resource Name (ARN) of the instance.

                                pub fn instance_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.instance_id(input.into()); diff --git a/sdk/connect/src/operation/create_security_profile/builders.rs b/sdk/connect/src/operation/create_security_profile/builders.rs index 5274aaa6ce70..757f00d020b7 100644 --- a/sdk/connect/src/operation/create_security_profile/builders.rs +++ b/sdk/connect/src/operation/create_security_profile/builders.rs @@ -20,9 +20,9 @@ impl CreateSecurityProfileFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -84,6 +84,22 @@ impl CreateSecurityProfileFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::create_security_profile::CreateSecurityProfile, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::create_security_profile::CreateSecurityProfileError, + >, + > { + self.customize_middleware().await + } ///

                                The name of the security profile.

                                pub fn security_profile_name( mut self, diff --git a/sdk/connect/src/operation/create_task_template/builders.rs b/sdk/connect/src/operation/create_task_template/builders.rs index 6c79a1a18150..8cb502c48e9c 100644 --- a/sdk/connect/src/operation/create_task_template/builders.rs +++ b/sdk/connect/src/operation/create_task_template/builders.rs @@ -19,9 +19,9 @@ impl CreateTaskTemplateFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl CreateTaskTemplateFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::create_task_template::CreateTaskTemplate, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::create_task_template::CreateTaskTemplateError, + >, + > { + self.customize_middleware().await + } ///

                                The identifier of the Amazon Connect instance. You can find the instance ID in the Amazon Resource Name (ARN) of the instance.

                                pub fn instance_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.instance_id(input.into()); diff --git a/sdk/connect/src/operation/create_traffic_distribution_group/builders.rs b/sdk/connect/src/operation/create_traffic_distribution_group/builders.rs index 364a9ea50297..83a68acedff1 100644 --- a/sdk/connect/src/operation/create_traffic_distribution_group/builders.rs +++ b/sdk/connect/src/operation/create_traffic_distribution_group/builders.rs @@ -20,9 +20,9 @@ impl CreateTrafficDistributionGroupFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize(self) -> ::std::result::Result< + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware(self) -> ::std::result::Result< crate::client::customize::CustomizableOperation, ::aws_smithy_http::result::SdkError >{ @@ -65,6 +65,15 @@ impl CreateTrafficDistributionGroupFluentBuilder { { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize(self) -> ::std::result::Result< + crate::client::customize::CustomizableOperation, + ::aws_smithy_http::result::SdkError + >{ + self.customize_middleware().await + } ///

                                The name for the traffic distribution group.

                                pub fn name(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.name(input.into()); diff --git a/sdk/connect/src/operation/create_use_case/builders.rs b/sdk/connect/src/operation/create_use_case/builders.rs index 8e797b9551d3..0ac24c734ed2 100644 --- a/sdk/connect/src/operation/create_use_case/builders.rs +++ b/sdk/connect/src/operation/create_use_case/builders.rs @@ -19,9 +19,9 @@ impl CreateUseCaseFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl CreateUseCaseFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::create_use_case::CreateUseCase, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                The identifier of the Amazon Connect instance. You can find the instance ID in the Amazon Resource Name (ARN) of the instance.

                                pub fn instance_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.instance_id(input.into()); diff --git a/sdk/connect/src/operation/create_user/builders.rs b/sdk/connect/src/operation/create_user/builders.rs index ff9dd5e4cd48..2df0e896d123 100644 --- a/sdk/connect/src/operation/create_user/builders.rs +++ b/sdk/connect/src/operation/create_user/builders.rs @@ -20,9 +20,9 @@ impl CreateUserFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -78,6 +78,20 @@ impl CreateUserFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::create_user::CreateUser, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                The user name for the account. For instances not using SAML for identity management, the user name can include up to 20 characters. If you are using SAML for identity management, the user name can include up to 64 characters from [a-zA-Z0-9_-.\@]+.

                                pub fn username(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.username(input.into()); diff --git a/sdk/connect/src/operation/create_user_hierarchy_group/builders.rs b/sdk/connect/src/operation/create_user_hierarchy_group/builders.rs index 6e2207455e51..a087eae23e22 100644 --- a/sdk/connect/src/operation/create_user_hierarchy_group/builders.rs +++ b/sdk/connect/src/operation/create_user_hierarchy_group/builders.rs @@ -19,9 +19,9 @@ impl CreateUserHierarchyGroupFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl CreateUserHierarchyGroupFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::create_user_hierarchy_group::CreateUserHierarchyGroup, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::create_user_hierarchy_group::CreateUserHierarchyGroupError, + >, + > { + self.customize_middleware().await + } ///

                                The name of the user hierarchy group. Must not be more than 100 characters.

                                pub fn name(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.name(input.into()); diff --git a/sdk/connect/src/operation/create_vocabulary/builders.rs b/sdk/connect/src/operation/create_vocabulary/builders.rs index ed7e4be47008..de144140d7ae 100644 --- a/sdk/connect/src/operation/create_vocabulary/builders.rs +++ b/sdk/connect/src/operation/create_vocabulary/builders.rs @@ -19,9 +19,9 @@ impl CreateVocabularyFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl CreateVocabularyFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::create_vocabulary::CreateVocabulary, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::create_vocabulary::CreateVocabularyError, + >, + > { + self.customize_middleware().await + } ///

                                A unique, case-sensitive identifier that you provide to ensure the idempotency of the request. If not provided, the Amazon Web Services SDK populates this field. For more information about idempotency, see Making retries safe with idempotent APIs. If a create request is received more than once with same client token, subsequent requests return the previous response without creating a vocabulary again.

                                pub fn client_token(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.client_token(input.into()); diff --git a/sdk/connect/src/operation/deactivate_evaluation_form/builders.rs b/sdk/connect/src/operation/deactivate_evaluation_form/builders.rs index fff75cb2fb59..ce30e9285797 100644 --- a/sdk/connect/src/operation/deactivate_evaluation_form/builders.rs +++ b/sdk/connect/src/operation/deactivate_evaluation_form/builders.rs @@ -19,9 +19,9 @@ impl DeactivateEvaluationFormFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl DeactivateEvaluationFormFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::deactivate_evaluation_form::DeactivateEvaluationForm, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::deactivate_evaluation_form::DeactivateEvaluationFormError, + >, + > { + self.customize_middleware().await + } ///

                                The identifier of the Amazon Connect instance. You can find the instance ID in the Amazon Resource Name (ARN) of the instance.

                                pub fn instance_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.instance_id(input.into()); diff --git a/sdk/connect/src/operation/delete_contact_evaluation/builders.rs b/sdk/connect/src/operation/delete_contact_evaluation/builders.rs index 093892a07347..8dfc78aac7d2 100644 --- a/sdk/connect/src/operation/delete_contact_evaluation/builders.rs +++ b/sdk/connect/src/operation/delete_contact_evaluation/builders.rs @@ -20,9 +20,9 @@ impl DeleteContactEvaluationFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -84,6 +84,22 @@ impl DeleteContactEvaluationFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::delete_contact_evaluation::DeleteContactEvaluation, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::delete_contact_evaluation::DeleteContactEvaluationError, + >, + > { + self.customize_middleware().await + } ///

                                The identifier of the Amazon Connect instance. You can find the instance ID in the Amazon Resource Name (ARN) of the instance.

                                pub fn instance_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.instance_id(input.into()); diff --git a/sdk/connect/src/operation/delete_contact_flow/builders.rs b/sdk/connect/src/operation/delete_contact_flow/builders.rs index edfe2b83eb08..ab7863439e94 100644 --- a/sdk/connect/src/operation/delete_contact_flow/builders.rs +++ b/sdk/connect/src/operation/delete_contact_flow/builders.rs @@ -19,9 +19,9 @@ impl DeleteContactFlowFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl DeleteContactFlowFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::delete_contact_flow::DeleteContactFlow, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::delete_contact_flow::DeleteContactFlowError, + >, + > { + self.customize_middleware().await + } ///

                                The identifier of the Amazon Connect instance. You can find the instance ID in the Amazon Resource Name (ARN) of the instance.

                                pub fn instance_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.instance_id(input.into()); diff --git a/sdk/connect/src/operation/delete_contact_flow_module/builders.rs b/sdk/connect/src/operation/delete_contact_flow_module/builders.rs index 536a930dd7f8..7513f86a3b9f 100644 --- a/sdk/connect/src/operation/delete_contact_flow_module/builders.rs +++ b/sdk/connect/src/operation/delete_contact_flow_module/builders.rs @@ -20,9 +20,9 @@ impl DeleteContactFlowModuleFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -84,6 +84,22 @@ impl DeleteContactFlowModuleFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::delete_contact_flow_module::DeleteContactFlowModule, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::delete_contact_flow_module::DeleteContactFlowModuleError, + >, + > { + self.customize_middleware().await + } ///

                                The identifier of the Amazon Connect instance. You can find the instance ID in the Amazon Resource Name (ARN) of the instance.

                                pub fn instance_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.instance_id(input.into()); diff --git a/sdk/connect/src/operation/delete_evaluation_form/builders.rs b/sdk/connect/src/operation/delete_evaluation_form/builders.rs index 81d6a5fd0231..21f340abc16d 100644 --- a/sdk/connect/src/operation/delete_evaluation_form/builders.rs +++ b/sdk/connect/src/operation/delete_evaluation_form/builders.rs @@ -23,9 +23,9 @@ impl DeleteEvaluationFormFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -87,6 +87,22 @@ impl DeleteEvaluationFormFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::delete_evaluation_form::DeleteEvaluationForm, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::delete_evaluation_form::DeleteEvaluationFormError, + >, + > { + self.customize_middleware().await + } ///

                                The identifier of the Amazon Connect instance. You can find the instance ID in the Amazon Resource Name (ARN) of the instance.

                                pub fn instance_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.instance_id(input.into()); diff --git a/sdk/connect/src/operation/delete_hours_of_operation/builders.rs b/sdk/connect/src/operation/delete_hours_of_operation/builders.rs index 792f6976df68..e0d07805a604 100644 --- a/sdk/connect/src/operation/delete_hours_of_operation/builders.rs +++ b/sdk/connect/src/operation/delete_hours_of_operation/builders.rs @@ -21,9 +21,9 @@ impl DeleteHoursOfOperationFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -85,6 +85,22 @@ impl DeleteHoursOfOperationFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::delete_hours_of_operation::DeleteHoursOfOperation, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::delete_hours_of_operation::DeleteHoursOfOperationError, + >, + > { + self.customize_middleware().await + } ///

                                The identifier of the Amazon Connect instance. You can find the instance ID in the Amazon Resource Name (ARN) of the instance.

                                pub fn instance_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.instance_id(input.into()); diff --git a/sdk/connect/src/operation/delete_instance/builders.rs b/sdk/connect/src/operation/delete_instance/builders.rs index d4971c52b90f..1f684990d617 100644 --- a/sdk/connect/src/operation/delete_instance/builders.rs +++ b/sdk/connect/src/operation/delete_instance/builders.rs @@ -21,9 +21,9 @@ impl DeleteInstanceFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -79,6 +79,20 @@ impl DeleteInstanceFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::delete_instance::DeleteInstance, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                The identifier of the Amazon Connect instance. You can find the instance ID in the Amazon Resource Name (ARN) of the instance.

                                pub fn instance_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.instance_id(input.into()); diff --git a/sdk/connect/src/operation/delete_integration_association/builders.rs b/sdk/connect/src/operation/delete_integration_association/builders.rs index 3e0ff83fdb33..bf2c004bbb69 100644 --- a/sdk/connect/src/operation/delete_integration_association/builders.rs +++ b/sdk/connect/src/operation/delete_integration_association/builders.rs @@ -19,9 +19,9 @@ impl DeleteIntegrationAssociationFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl DeleteIntegrationAssociationFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::delete_integration_association::DeleteIntegrationAssociation, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::delete_integration_association::DeleteIntegrationAssociationError, + >, + > { + self.customize_middleware().await + } ///

                                The identifier of the Amazon Connect instance. You can find the instance ID in the Amazon Resource Name (ARN) of the instance.

                                pub fn instance_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.instance_id(input.into()); diff --git a/sdk/connect/src/operation/delete_prompt/builders.rs b/sdk/connect/src/operation/delete_prompt/builders.rs index 0c304f52cab0..7e9485c7da07 100644 --- a/sdk/connect/src/operation/delete_prompt/builders.rs +++ b/sdk/connect/src/operation/delete_prompt/builders.rs @@ -19,9 +19,9 @@ impl DeletePromptFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl DeletePromptFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::delete_prompt::DeletePrompt, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                The identifier of the Amazon Connect instance. You can find the instance ID in the Amazon Resource Name (ARN) of the instance.

                                pub fn instance_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.instance_id(input.into()); diff --git a/sdk/connect/src/operation/delete_quick_connect/builders.rs b/sdk/connect/src/operation/delete_quick_connect/builders.rs index efc68b4233ed..5e55b82e5501 100644 --- a/sdk/connect/src/operation/delete_quick_connect/builders.rs +++ b/sdk/connect/src/operation/delete_quick_connect/builders.rs @@ -19,9 +19,9 @@ impl DeleteQuickConnectFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl DeleteQuickConnectFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::delete_quick_connect::DeleteQuickConnect, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::delete_quick_connect::DeleteQuickConnectError, + >, + > { + self.customize_middleware().await + } ///

                                The identifier of the Amazon Connect instance. You can find the instance ID in the Amazon Resource Name (ARN) of the instance.

                                pub fn instance_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.instance_id(input.into()); diff --git a/sdk/connect/src/operation/delete_rule/builders.rs b/sdk/connect/src/operation/delete_rule/builders.rs index 7628907037b0..7bc29ae88048 100644 --- a/sdk/connect/src/operation/delete_rule/builders.rs +++ b/sdk/connect/src/operation/delete_rule/builders.rs @@ -19,9 +19,9 @@ impl DeleteRuleFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl DeleteRuleFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::delete_rule::DeleteRule, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                The identifier of the Amazon Connect instance. You can find the instance ID in the Amazon Resource Name (ARN) of the instance.

                                pub fn instance_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.instance_id(input.into()); diff --git a/sdk/connect/src/operation/delete_security_profile/builders.rs b/sdk/connect/src/operation/delete_security_profile/builders.rs index 027aa72990f2..74ed044dcd52 100644 --- a/sdk/connect/src/operation/delete_security_profile/builders.rs +++ b/sdk/connect/src/operation/delete_security_profile/builders.rs @@ -20,9 +20,9 @@ impl DeleteSecurityProfileFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -84,6 +84,22 @@ impl DeleteSecurityProfileFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::delete_security_profile::DeleteSecurityProfile, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::delete_security_profile::DeleteSecurityProfileError, + >, + > { + self.customize_middleware().await + } ///

                                The identifier of the Amazon Connect instance. You can find the instance ID in the Amazon Resource Name (ARN) of the instance.

                                pub fn instance_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.instance_id(input.into()); diff --git a/sdk/connect/src/operation/delete_task_template/builders.rs b/sdk/connect/src/operation/delete_task_template/builders.rs index 72e0163a0fbb..e9aba1e8a9c7 100644 --- a/sdk/connect/src/operation/delete_task_template/builders.rs +++ b/sdk/connect/src/operation/delete_task_template/builders.rs @@ -19,9 +19,9 @@ impl DeleteTaskTemplateFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl DeleteTaskTemplateFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::delete_task_template::DeleteTaskTemplate, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::delete_task_template::DeleteTaskTemplateError, + >, + > { + self.customize_middleware().await + } ///

                                The identifier of the Amazon Connect instance. You can find the instance ID in the Amazon Resource Name (ARN) of the instance.

                                pub fn instance_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.instance_id(input.into()); diff --git a/sdk/connect/src/operation/delete_traffic_distribution_group/builders.rs b/sdk/connect/src/operation/delete_traffic_distribution_group/builders.rs index 7efed8e7a897..78ed0b1565f3 100644 --- a/sdk/connect/src/operation/delete_traffic_distribution_group/builders.rs +++ b/sdk/connect/src/operation/delete_traffic_distribution_group/builders.rs @@ -20,9 +20,9 @@ impl DeleteTrafficDistributionGroupFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize(self) -> ::std::result::Result< + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware(self) -> ::std::result::Result< crate::client::customize::CustomizableOperation, ::aws_smithy_http::result::SdkError >{ @@ -65,6 +65,15 @@ impl DeleteTrafficDistributionGroupFluentBuilder { { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize(self) -> ::std::result::Result< + crate::client::customize::CustomizableOperation, + ::aws_smithy_http::result::SdkError + >{ + self.customize_middleware().await + } ///

                                The identifier of the traffic distribution group. This can be the ID or the ARN if the API is being called in the Region where the traffic distribution group was created. The ARN must be provided if the call is from the replicated Region.

                                pub fn traffic_distribution_group_id( mut self, diff --git a/sdk/connect/src/operation/delete_use_case/builders.rs b/sdk/connect/src/operation/delete_use_case/builders.rs index 08b021647be2..f709deedb8f9 100644 --- a/sdk/connect/src/operation/delete_use_case/builders.rs +++ b/sdk/connect/src/operation/delete_use_case/builders.rs @@ -19,9 +19,9 @@ impl DeleteUseCaseFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl DeleteUseCaseFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::delete_use_case::DeleteUseCase, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                The identifier of the Amazon Connect instance. You can find the instance ID in the Amazon Resource Name (ARN) of the instance.

                                pub fn instance_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.instance_id(input.into()); diff --git a/sdk/connect/src/operation/delete_user/builders.rs b/sdk/connect/src/operation/delete_user/builders.rs index 303af61ce77d..6f1f71e659df 100644 --- a/sdk/connect/src/operation/delete_user/builders.rs +++ b/sdk/connect/src/operation/delete_user/builders.rs @@ -20,9 +20,9 @@ impl DeleteUserFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -78,6 +78,20 @@ impl DeleteUserFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::delete_user::DeleteUser, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                The identifier of the Amazon Connect instance. You can find the instance ID in the Amazon Resource Name (ARN) of the instance.

                                pub fn instance_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.instance_id(input.into()); diff --git a/sdk/connect/src/operation/delete_user_hierarchy_group/builders.rs b/sdk/connect/src/operation/delete_user_hierarchy_group/builders.rs index af27b515bf93..7c2a34456a4f 100644 --- a/sdk/connect/src/operation/delete_user_hierarchy_group/builders.rs +++ b/sdk/connect/src/operation/delete_user_hierarchy_group/builders.rs @@ -19,9 +19,9 @@ impl DeleteUserHierarchyGroupFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl DeleteUserHierarchyGroupFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::delete_user_hierarchy_group::DeleteUserHierarchyGroup, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::delete_user_hierarchy_group::DeleteUserHierarchyGroupError, + >, + > { + self.customize_middleware().await + } ///

                                The identifier of the hierarchy group.

                                pub fn hierarchy_group_id( mut self, diff --git a/sdk/connect/src/operation/delete_vocabulary/builders.rs b/sdk/connect/src/operation/delete_vocabulary/builders.rs index e25717dc4033..15c6fa05ae91 100644 --- a/sdk/connect/src/operation/delete_vocabulary/builders.rs +++ b/sdk/connect/src/operation/delete_vocabulary/builders.rs @@ -19,9 +19,9 @@ impl DeleteVocabularyFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl DeleteVocabularyFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::delete_vocabulary::DeleteVocabulary, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::delete_vocabulary::DeleteVocabularyError, + >, + > { + self.customize_middleware().await + } ///

                                The identifier of the Amazon Connect instance. You can find the instance ID in the Amazon Resource Name (ARN) of the instance.

                                pub fn instance_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.instance_id(input.into()); diff --git a/sdk/connect/src/operation/describe_agent_status/builders.rs b/sdk/connect/src/operation/describe_agent_status/builders.rs index 76bba43de358..01a82443dfe6 100644 --- a/sdk/connect/src/operation/describe_agent_status/builders.rs +++ b/sdk/connect/src/operation/describe_agent_status/builders.rs @@ -20,9 +20,9 @@ impl DescribeAgentStatusFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -84,6 +84,22 @@ impl DescribeAgentStatusFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::describe_agent_status::DescribeAgentStatus, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::describe_agent_status::DescribeAgentStatusError, + >, + > { + self.customize_middleware().await + } ///

                                The identifier of the Amazon Connect instance. You can find the instance ID in the Amazon Resource Name (ARN) of the instance.

                                pub fn instance_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.instance_id(input.into()); diff --git a/sdk/connect/src/operation/describe_contact/builders.rs b/sdk/connect/src/operation/describe_contact/builders.rs index 7c071f0cf191..4e4ef9dfe46f 100644 --- a/sdk/connect/src/operation/describe_contact/builders.rs +++ b/sdk/connect/src/operation/describe_contact/builders.rs @@ -23,9 +23,9 @@ impl DescribeContactFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -87,6 +87,22 @@ impl DescribeContactFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::describe_contact::DescribeContact, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::describe_contact::DescribeContactError, + >, + > { + self.customize_middleware().await + } ///

                                The identifier of the Amazon Connect instance. You can find the instance ID in the Amazon Resource Name (ARN) of the instance.

                                pub fn instance_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.instance_id(input.into()); diff --git a/sdk/connect/src/operation/describe_contact_evaluation/builders.rs b/sdk/connect/src/operation/describe_contact_evaluation/builders.rs index fa7f38007aa3..ac695d47efef 100644 --- a/sdk/connect/src/operation/describe_contact_evaluation/builders.rs +++ b/sdk/connect/src/operation/describe_contact_evaluation/builders.rs @@ -19,9 +19,9 @@ impl DescribeContactEvaluationFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl DescribeContactEvaluationFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::describe_contact_evaluation::DescribeContactEvaluation, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::describe_contact_evaluation::DescribeContactEvaluationError, + >, + > { + self.customize_middleware().await + } ///

                                The identifier of the Amazon Connect instance. You can find the instance ID in the Amazon Resource Name (ARN) of the instance.

                                pub fn instance_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.instance_id(input.into()); diff --git a/sdk/connect/src/operation/describe_contact_flow/builders.rs b/sdk/connect/src/operation/describe_contact_flow/builders.rs index 5dd3efb7e842..765779ea6004 100644 --- a/sdk/connect/src/operation/describe_contact_flow/builders.rs +++ b/sdk/connect/src/operation/describe_contact_flow/builders.rs @@ -20,9 +20,9 @@ impl DescribeContactFlowFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -84,6 +84,22 @@ impl DescribeContactFlowFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::describe_contact_flow::DescribeContactFlow, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::describe_contact_flow::DescribeContactFlowError, + >, + > { + self.customize_middleware().await + } ///

                                The identifier of the Amazon Connect instance.

                                pub fn instance_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.instance_id(input.into()); diff --git a/sdk/connect/src/operation/describe_contact_flow_module/builders.rs b/sdk/connect/src/operation/describe_contact_flow_module/builders.rs index 1ee2b2273c61..18726819d3c8 100644 --- a/sdk/connect/src/operation/describe_contact_flow_module/builders.rs +++ b/sdk/connect/src/operation/describe_contact_flow_module/builders.rs @@ -19,9 +19,9 @@ impl DescribeContactFlowModuleFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl DescribeContactFlowModuleFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::describe_contact_flow_module::DescribeContactFlowModule, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::describe_contact_flow_module::DescribeContactFlowModuleError, + >, + > { + self.customize_middleware().await + } ///

                                The identifier of the Amazon Connect instance. You can find the instance ID in the Amazon Resource Name (ARN) of the instance.

                                pub fn instance_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.instance_id(input.into()); diff --git a/sdk/connect/src/operation/describe_evaluation_form/builders.rs b/sdk/connect/src/operation/describe_evaluation_form/builders.rs index a3d314e48607..d947bdbe9826 100644 --- a/sdk/connect/src/operation/describe_evaluation_form/builders.rs +++ b/sdk/connect/src/operation/describe_evaluation_form/builders.rs @@ -19,9 +19,9 @@ impl DescribeEvaluationFormFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl DescribeEvaluationFormFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::describe_evaluation_form::DescribeEvaluationForm, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::describe_evaluation_form::DescribeEvaluationFormError, + >, + > { + self.customize_middleware().await + } ///

                                The identifier of the Amazon Connect instance. You can find the instance ID in the Amazon Resource Name (ARN) of the instance.

                                pub fn instance_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.instance_id(input.into()); diff --git a/sdk/connect/src/operation/describe_hours_of_operation/builders.rs b/sdk/connect/src/operation/describe_hours_of_operation/builders.rs index 6a23e1e3adac..e9d6f6aa727b 100644 --- a/sdk/connect/src/operation/describe_hours_of_operation/builders.rs +++ b/sdk/connect/src/operation/describe_hours_of_operation/builders.rs @@ -20,9 +20,9 @@ impl DescribeHoursOfOperationFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -84,6 +84,22 @@ impl DescribeHoursOfOperationFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::describe_hours_of_operation::DescribeHoursOfOperation, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::describe_hours_of_operation::DescribeHoursOfOperationError, + >, + > { + self.customize_middleware().await + } ///

                                The identifier of the Amazon Connect instance. You can find the instance ID in the Amazon Resource Name (ARN) of the instance.

                                pub fn instance_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.instance_id(input.into()); diff --git a/sdk/connect/src/operation/describe_instance/builders.rs b/sdk/connect/src/operation/describe_instance/builders.rs index 1ef0a8781d72..e1643bec5698 100644 --- a/sdk/connect/src/operation/describe_instance/builders.rs +++ b/sdk/connect/src/operation/describe_instance/builders.rs @@ -21,9 +21,9 @@ impl DescribeInstanceFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -85,6 +85,22 @@ impl DescribeInstanceFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::describe_instance::DescribeInstance, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::describe_instance::DescribeInstanceError, + >, + > { + self.customize_middleware().await + } ///

                                The identifier of the Amazon Connect instance. You can find the instance ID in the Amazon Resource Name (ARN) of the instance.

                                pub fn instance_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.instance_id(input.into()); diff --git a/sdk/connect/src/operation/describe_instance_attribute/builders.rs b/sdk/connect/src/operation/describe_instance_attribute/builders.rs index a2582dc0a3a5..5ea36ca68c58 100644 --- a/sdk/connect/src/operation/describe_instance_attribute/builders.rs +++ b/sdk/connect/src/operation/describe_instance_attribute/builders.rs @@ -20,9 +20,9 @@ impl DescribeInstanceAttributeFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -84,6 +84,22 @@ impl DescribeInstanceAttributeFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::describe_instance_attribute::DescribeInstanceAttribute, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::describe_instance_attribute::DescribeInstanceAttributeError, + >, + > { + self.customize_middleware().await + } ///

                                The identifier of the Amazon Connect instance. You can find the instance ID in the Amazon Resource Name (ARN) of the instance.

                                pub fn instance_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.instance_id(input.into()); diff --git a/sdk/connect/src/operation/describe_instance_storage_config/builders.rs b/sdk/connect/src/operation/describe_instance_storage_config/builders.rs index cd775498ca2d..247a2cc557bb 100644 --- a/sdk/connect/src/operation/describe_instance_storage_config/builders.rs +++ b/sdk/connect/src/operation/describe_instance_storage_config/builders.rs @@ -20,9 +20,9 @@ impl DescribeInstanceStorageConfigFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -84,6 +84,22 @@ impl DescribeInstanceStorageConfigFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::describe_instance_storage_config::DescribeInstanceStorageConfig, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::describe_instance_storage_config::DescribeInstanceStorageConfigError, + >, + > { + self.customize_middleware().await + } ///

                                The identifier of the Amazon Connect instance. You can find the instance ID in the Amazon Resource Name (ARN) of the instance.

                                pub fn instance_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.instance_id(input.into()); diff --git a/sdk/connect/src/operation/describe_phone_number/builders.rs b/sdk/connect/src/operation/describe_phone_number/builders.rs index d91ed64f496a..d00d4fd952cf 100644 --- a/sdk/connect/src/operation/describe_phone_number/builders.rs +++ b/sdk/connect/src/operation/describe_phone_number/builders.rs @@ -21,9 +21,9 @@ impl DescribePhoneNumberFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -85,6 +85,22 @@ impl DescribePhoneNumberFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::describe_phone_number::DescribePhoneNumber, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::describe_phone_number::DescribePhoneNumberError, + >, + > { + self.customize_middleware().await + } ///

                                A unique identifier for the phone number.

                                pub fn phone_number_id( mut self, diff --git a/sdk/connect/src/operation/describe_prompt/builders.rs b/sdk/connect/src/operation/describe_prompt/builders.rs index 8cdcd547b9d9..4333bd54cfa3 100644 --- a/sdk/connect/src/operation/describe_prompt/builders.rs +++ b/sdk/connect/src/operation/describe_prompt/builders.rs @@ -19,9 +19,9 @@ impl DescribePromptFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl DescribePromptFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::describe_prompt::DescribePrompt, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                The identifier of the Amazon Connect instance. You can find the instance ID in the Amazon Resource Name (ARN) of the instance.

                                pub fn instance_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.instance_id(input.into()); diff --git a/sdk/connect/src/operation/describe_queue/builders.rs b/sdk/connect/src/operation/describe_queue/builders.rs index b6207272277d..594810155db2 100644 --- a/sdk/connect/src/operation/describe_queue/builders.rs +++ b/sdk/connect/src/operation/describe_queue/builders.rs @@ -20,9 +20,9 @@ impl DescribeQueueFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -78,6 +78,20 @@ impl DescribeQueueFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::describe_queue::DescribeQueue, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                The identifier of the Amazon Connect instance. You can find the instance ID in the Amazon Resource Name (ARN) of the instance.

                                pub fn instance_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.instance_id(input.into()); diff --git a/sdk/connect/src/operation/describe_quick_connect/builders.rs b/sdk/connect/src/operation/describe_quick_connect/builders.rs index 7b4a29fec55e..46f7ee411d84 100644 --- a/sdk/connect/src/operation/describe_quick_connect/builders.rs +++ b/sdk/connect/src/operation/describe_quick_connect/builders.rs @@ -19,9 +19,9 @@ impl DescribeQuickConnectFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl DescribeQuickConnectFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::describe_quick_connect::DescribeQuickConnect, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::describe_quick_connect::DescribeQuickConnectError, + >, + > { + self.customize_middleware().await + } ///

                                The identifier of the Amazon Connect instance. You can find the instance ID in the Amazon Resource Name (ARN) of the instance.

                                pub fn instance_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.instance_id(input.into()); diff --git a/sdk/connect/src/operation/describe_routing_profile/builders.rs b/sdk/connect/src/operation/describe_routing_profile/builders.rs index 7a28e4ac6af5..ca0715beb0e7 100644 --- a/sdk/connect/src/operation/describe_routing_profile/builders.rs +++ b/sdk/connect/src/operation/describe_routing_profile/builders.rs @@ -19,9 +19,9 @@ impl DescribeRoutingProfileFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl DescribeRoutingProfileFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::describe_routing_profile::DescribeRoutingProfile, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::describe_routing_profile::DescribeRoutingProfileError, + >, + > { + self.customize_middleware().await + } ///

                                The identifier of the Amazon Connect instance. You can find the instance ID in the Amazon Resource Name (ARN) of the instance.

                                pub fn instance_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.instance_id(input.into()); diff --git a/sdk/connect/src/operation/describe_rule/builders.rs b/sdk/connect/src/operation/describe_rule/builders.rs index bd3d10455676..fb9d89b90b99 100644 --- a/sdk/connect/src/operation/describe_rule/builders.rs +++ b/sdk/connect/src/operation/describe_rule/builders.rs @@ -19,9 +19,9 @@ impl DescribeRuleFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl DescribeRuleFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::describe_rule::DescribeRule, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                The identifier of the Amazon Connect instance. You can find the instance ID in the Amazon Resource Name (ARN) of the instance.

                                pub fn instance_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.instance_id(input.into()); diff --git a/sdk/connect/src/operation/describe_security_profile/builders.rs b/sdk/connect/src/operation/describe_security_profile/builders.rs index 5fb1b165dbf7..f5905ceda46d 100644 --- a/sdk/connect/src/operation/describe_security_profile/builders.rs +++ b/sdk/connect/src/operation/describe_security_profile/builders.rs @@ -21,9 +21,9 @@ impl DescribeSecurityProfileFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -85,6 +85,22 @@ impl DescribeSecurityProfileFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::describe_security_profile::DescribeSecurityProfile, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::describe_security_profile::DescribeSecurityProfileError, + >, + > { + self.customize_middleware().await + } ///

                                The identifier for the security profle.

                                pub fn security_profile_id( mut self, diff --git a/sdk/connect/src/operation/describe_traffic_distribution_group/builders.rs b/sdk/connect/src/operation/describe_traffic_distribution_group/builders.rs index 63b6611c6097..92cc0c131768 100644 --- a/sdk/connect/src/operation/describe_traffic_distribution_group/builders.rs +++ b/sdk/connect/src/operation/describe_traffic_distribution_group/builders.rs @@ -19,9 +19,9 @@ impl DescribeTrafficDistributionGroupFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize(self) -> ::std::result::Result< + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware(self) -> ::std::result::Result< crate::client::customize::CustomizableOperation, ::aws_smithy_http::result::SdkError >{ @@ -64,6 +64,15 @@ impl DescribeTrafficDistributionGroupFluentBuilder { { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize(self) -> ::std::result::Result< + crate::client::customize::CustomizableOperation, + ::aws_smithy_http::result::SdkError + >{ + self.customize_middleware().await + } ///

                                The identifier of the traffic distribution group. This can be the ID or the ARN if the API is being called in the Region where the traffic distribution group was created. The ARN must be provided if the call is from the replicated Region.

                                pub fn traffic_distribution_group_id( mut self, diff --git a/sdk/connect/src/operation/describe_user/builders.rs b/sdk/connect/src/operation/describe_user/builders.rs index 73f1584d58fa..b747c70b62bb 100644 --- a/sdk/connect/src/operation/describe_user/builders.rs +++ b/sdk/connect/src/operation/describe_user/builders.rs @@ -19,9 +19,9 @@ impl DescribeUserFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl DescribeUserFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::describe_user::DescribeUser, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                The identifier of the user account.

                                pub fn user_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.user_id(input.into()); diff --git a/sdk/connect/src/operation/describe_user_hierarchy_group/builders.rs b/sdk/connect/src/operation/describe_user_hierarchy_group/builders.rs index 58c77032974f..6c0eab1e54cd 100644 --- a/sdk/connect/src/operation/describe_user_hierarchy_group/builders.rs +++ b/sdk/connect/src/operation/describe_user_hierarchy_group/builders.rs @@ -19,9 +19,9 @@ impl DescribeUserHierarchyGroupFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl DescribeUserHierarchyGroupFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::describe_user_hierarchy_group::DescribeUserHierarchyGroup, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::describe_user_hierarchy_group::DescribeUserHierarchyGroupError, + >, + > { + self.customize_middleware().await + } ///

                                The identifier of the hierarchy group.

                                pub fn hierarchy_group_id( mut self, diff --git a/sdk/connect/src/operation/describe_user_hierarchy_structure/builders.rs b/sdk/connect/src/operation/describe_user_hierarchy_structure/builders.rs index 1297b90997df..736b672b8c89 100644 --- a/sdk/connect/src/operation/describe_user_hierarchy_structure/builders.rs +++ b/sdk/connect/src/operation/describe_user_hierarchy_structure/builders.rs @@ -19,9 +19,9 @@ impl DescribeUserHierarchyStructureFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize(self) -> ::std::result::Result< + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware(self) -> ::std::result::Result< crate::client::customize::CustomizableOperation, ::aws_smithy_http::result::SdkError >{ @@ -64,6 +64,15 @@ impl DescribeUserHierarchyStructureFluentBuilder { { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize(self) -> ::std::result::Result< + crate::client::customize::CustomizableOperation, + ::aws_smithy_http::result::SdkError + >{ + self.customize_middleware().await + } ///

                                The identifier of the Amazon Connect instance. You can find the instance ID in the Amazon Resource Name (ARN) of the instance.

                                pub fn instance_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.instance_id(input.into()); diff --git a/sdk/connect/src/operation/describe_vocabulary/builders.rs b/sdk/connect/src/operation/describe_vocabulary/builders.rs index f0e1d045f731..34179f2e087a 100644 --- a/sdk/connect/src/operation/describe_vocabulary/builders.rs +++ b/sdk/connect/src/operation/describe_vocabulary/builders.rs @@ -19,9 +19,9 @@ impl DescribeVocabularyFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl DescribeVocabularyFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::describe_vocabulary::DescribeVocabulary, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::describe_vocabulary::DescribeVocabularyError, + >, + > { + self.customize_middleware().await + } ///

                                The identifier of the Amazon Connect instance. You can find the instance ID in the Amazon Resource Name (ARN) of the instance.

                                pub fn instance_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.instance_id(input.into()); diff --git a/sdk/connect/src/operation/disassociate_approved_origin/builders.rs b/sdk/connect/src/operation/disassociate_approved_origin/builders.rs index f435bfa9d3cb..541369e4e9eb 100644 --- a/sdk/connect/src/operation/disassociate_approved_origin/builders.rs +++ b/sdk/connect/src/operation/disassociate_approved_origin/builders.rs @@ -20,9 +20,9 @@ impl DisassociateApprovedOriginFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -84,6 +84,22 @@ impl DisassociateApprovedOriginFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::disassociate_approved_origin::DisassociateApprovedOrigin, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::disassociate_approved_origin::DisassociateApprovedOriginError, + >, + > { + self.customize_middleware().await + } ///

                                The identifier of the Amazon Connect instance. You can find the instance ID in the Amazon Resource Name (ARN) of the instance.

                                pub fn instance_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.instance_id(input.into()); diff --git a/sdk/connect/src/operation/disassociate_bot/builders.rs b/sdk/connect/src/operation/disassociate_bot/builders.rs index 9411b4abab94..17df52bfc96d 100644 --- a/sdk/connect/src/operation/disassociate_bot/builders.rs +++ b/sdk/connect/src/operation/disassociate_bot/builders.rs @@ -20,9 +20,9 @@ impl DisassociateBotFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -84,6 +84,22 @@ impl DisassociateBotFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::disassociate_bot::DisassociateBot, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::disassociate_bot::DisassociateBotError, + >, + > { + self.customize_middleware().await + } ///

                                The identifier of the Amazon Connect instance. You can find the instance ID in the Amazon Resource Name (ARN) of the instance.

                                pub fn instance_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.instance_id(input.into()); diff --git a/sdk/connect/src/operation/disassociate_instance_storage_config/builders.rs b/sdk/connect/src/operation/disassociate_instance_storage_config/builders.rs index cf56d3fa8d20..7ca7d15bd3ef 100644 --- a/sdk/connect/src/operation/disassociate_instance_storage_config/builders.rs +++ b/sdk/connect/src/operation/disassociate_instance_storage_config/builders.rs @@ -20,9 +20,9 @@ impl DisassociateInstanceStorageConfigFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize(self) -> ::std::result::Result< + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware(self) -> ::std::result::Result< crate::client::customize::CustomizableOperation, ::aws_smithy_http::result::SdkError >{ @@ -65,6 +65,15 @@ impl DisassociateInstanceStorageConfigFluentBuilder { { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize(self) -> ::std::result::Result< + crate::client::customize::CustomizableOperation, + ::aws_smithy_http::result::SdkError + >{ + self.customize_middleware().await + } ///

                                The identifier of the Amazon Connect instance. You can find the instance ID in the Amazon Resource Name (ARN) of the instance.

                                pub fn instance_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.instance_id(input.into()); diff --git a/sdk/connect/src/operation/disassociate_lambda_function/builders.rs b/sdk/connect/src/operation/disassociate_lambda_function/builders.rs index 60d2be9ea515..fb0e2d7dd8cf 100644 --- a/sdk/connect/src/operation/disassociate_lambda_function/builders.rs +++ b/sdk/connect/src/operation/disassociate_lambda_function/builders.rs @@ -20,9 +20,9 @@ impl DisassociateLambdaFunctionFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -84,6 +84,22 @@ impl DisassociateLambdaFunctionFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::disassociate_lambda_function::DisassociateLambdaFunction, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::disassociate_lambda_function::DisassociateLambdaFunctionError, + >, + > { + self.customize_middleware().await + } ///

                                The identifier of the Amazon Connect instance. You can find the instance ID in the Amazon Resource Name (ARN) of the instance..

                                pub fn instance_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.instance_id(input.into()); diff --git a/sdk/connect/src/operation/disassociate_lex_bot/builders.rs b/sdk/connect/src/operation/disassociate_lex_bot/builders.rs index c5521e665f65..f89c32971f55 100644 --- a/sdk/connect/src/operation/disassociate_lex_bot/builders.rs +++ b/sdk/connect/src/operation/disassociate_lex_bot/builders.rs @@ -20,9 +20,9 @@ impl DisassociateLexBotFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -84,6 +84,22 @@ impl DisassociateLexBotFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::disassociate_lex_bot::DisassociateLexBot, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::disassociate_lex_bot::DisassociateLexBotError, + >, + > { + self.customize_middleware().await + } ///

                                The identifier of the Amazon Connect instance. You can find the instance ID in the Amazon Resource Name (ARN) of the instance.

                                pub fn instance_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.instance_id(input.into()); diff --git a/sdk/connect/src/operation/disassociate_phone_number_contact_flow/builders.rs b/sdk/connect/src/operation/disassociate_phone_number_contact_flow/builders.rs index 326f3ab2d756..0e0c4b2f0b34 100644 --- a/sdk/connect/src/operation/disassociate_phone_number_contact_flow/builders.rs +++ b/sdk/connect/src/operation/disassociate_phone_number_contact_flow/builders.rs @@ -21,9 +21,9 @@ impl DisassociatePhoneNumberContactFlowFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize(self) -> ::std::result::Result< + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware(self) -> ::std::result::Result< crate::client::customize::CustomizableOperation, ::aws_smithy_http::result::SdkError >{ @@ -66,6 +66,15 @@ impl DisassociatePhoneNumberContactFlowFluentBuilder { { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize(self) -> ::std::result::Result< + crate::client::customize::CustomizableOperation, + ::aws_smithy_http::result::SdkError + >{ + self.customize_middleware().await + } ///

                                A unique identifier for the phone number.

                                pub fn phone_number_id( mut self, diff --git a/sdk/connect/src/operation/disassociate_queue_quick_connects/builders.rs b/sdk/connect/src/operation/disassociate_queue_quick_connects/builders.rs index 06f2d2faa28f..aac059540c9b 100644 --- a/sdk/connect/src/operation/disassociate_queue_quick_connects/builders.rs +++ b/sdk/connect/src/operation/disassociate_queue_quick_connects/builders.rs @@ -20,9 +20,9 @@ impl DisassociateQueueQuickConnectsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize(self) -> ::std::result::Result< + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware(self) -> ::std::result::Result< crate::client::customize::CustomizableOperation, ::aws_smithy_http::result::SdkError >{ @@ -65,6 +65,15 @@ impl DisassociateQueueQuickConnectsFluentBuilder { { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize(self) -> ::std::result::Result< + crate::client::customize::CustomizableOperation, + ::aws_smithy_http::result::SdkError + >{ + self.customize_middleware().await + } ///

                                The identifier of the Amazon Connect instance. You can find the instance ID in the Amazon Resource Name (ARN) of the instance.

                                pub fn instance_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.instance_id(input.into()); diff --git a/sdk/connect/src/operation/disassociate_routing_profile_queues/builders.rs b/sdk/connect/src/operation/disassociate_routing_profile_queues/builders.rs index 3fd4aca6b2a7..aec1563c6c9b 100644 --- a/sdk/connect/src/operation/disassociate_routing_profile_queues/builders.rs +++ b/sdk/connect/src/operation/disassociate_routing_profile_queues/builders.rs @@ -19,9 +19,9 @@ impl DisassociateRoutingProfileQueuesFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize(self) -> ::std::result::Result< + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware(self) -> ::std::result::Result< crate::client::customize::CustomizableOperation, ::aws_smithy_http::result::SdkError >{ @@ -64,6 +64,15 @@ impl DisassociateRoutingProfileQueuesFluentBuilder { { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize(self) -> ::std::result::Result< + crate::client::customize::CustomizableOperation, + ::aws_smithy_http::result::SdkError + >{ + self.customize_middleware().await + } ///

                                The identifier of the Amazon Connect instance. You can find the instance ID in the Amazon Resource Name (ARN) of the instance.

                                pub fn instance_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.instance_id(input.into()); diff --git a/sdk/connect/src/operation/disassociate_security_key/builders.rs b/sdk/connect/src/operation/disassociate_security_key/builders.rs index 55a9f4a1eada..47f5a41bb049 100644 --- a/sdk/connect/src/operation/disassociate_security_key/builders.rs +++ b/sdk/connect/src/operation/disassociate_security_key/builders.rs @@ -21,9 +21,9 @@ impl DisassociateSecurityKeyFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -85,6 +85,22 @@ impl DisassociateSecurityKeyFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::disassociate_security_key::DisassociateSecurityKey, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::disassociate_security_key::DisassociateSecurityKeyError, + >, + > { + self.customize_middleware().await + } ///

                                The identifier of the Amazon Connect instance. You can find the instance ID in the Amazon Resource Name (ARN) of the instance.

                                pub fn instance_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.instance_id(input.into()); diff --git a/sdk/connect/src/operation/dismiss_user_contact/builders.rs b/sdk/connect/src/operation/dismiss_user_contact/builders.rs index 15eac9dcdb60..cd63d902a0d0 100644 --- a/sdk/connect/src/operation/dismiss_user_contact/builders.rs +++ b/sdk/connect/src/operation/dismiss_user_contact/builders.rs @@ -19,9 +19,9 @@ impl DismissUserContactFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl DismissUserContactFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::dismiss_user_contact::DismissUserContact, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::dismiss_user_contact::DismissUserContactError, + >, + > { + self.customize_middleware().await + } ///

                                The identifier of the user account.

                                pub fn user_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.user_id(input.into()); diff --git a/sdk/connect/src/operation/get_contact_attributes/builders.rs b/sdk/connect/src/operation/get_contact_attributes/builders.rs index 0122fad38165..a5f8e79e760d 100644 --- a/sdk/connect/src/operation/get_contact_attributes/builders.rs +++ b/sdk/connect/src/operation/get_contact_attributes/builders.rs @@ -19,9 +19,9 @@ impl GetContactAttributesFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl GetContactAttributesFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::get_contact_attributes::GetContactAttributes, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::get_contact_attributes::GetContactAttributesError, + >, + > { + self.customize_middleware().await + } ///

                                The identifier of the Amazon Connect instance.

                                pub fn instance_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.instance_id(input.into()); diff --git a/sdk/connect/src/operation/get_current_metric_data/builders.rs b/sdk/connect/src/operation/get_current_metric_data/builders.rs index 2ea27ac5ef52..ffa8d4ddee4d 100644 --- a/sdk/connect/src/operation/get_current_metric_data/builders.rs +++ b/sdk/connect/src/operation/get_current_metric_data/builders.rs @@ -20,9 +20,9 @@ impl GetCurrentMetricDataFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -84,6 +84,22 @@ impl GetCurrentMetricDataFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::get_current_metric_data::GetCurrentMetricData, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::get_current_metric_data::GetCurrentMetricDataError, + >, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::get_current_metric_data::paginator::GetCurrentMetricDataPaginator::send) which returns a `Stream`. diff --git a/sdk/connect/src/operation/get_current_user_data/builders.rs b/sdk/connect/src/operation/get_current_user_data/builders.rs index 5991049b0d42..72d3837105d7 100644 --- a/sdk/connect/src/operation/get_current_user_data/builders.rs +++ b/sdk/connect/src/operation/get_current_user_data/builders.rs @@ -19,9 +19,9 @@ impl GetCurrentUserDataFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl GetCurrentUserDataFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::get_current_user_data::GetCurrentUserData, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::get_current_user_data::GetCurrentUserDataError, + >, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::get_current_user_data::paginator::GetCurrentUserDataPaginator::send) which returns a `Stream`. diff --git a/sdk/connect/src/operation/get_federation_token/builders.rs b/sdk/connect/src/operation/get_federation_token/builders.rs index 193db82204b8..d925d8db3180 100644 --- a/sdk/connect/src/operation/get_federation_token/builders.rs +++ b/sdk/connect/src/operation/get_federation_token/builders.rs @@ -22,9 +22,9 @@ impl GetFederationTokenFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -86,6 +86,22 @@ impl GetFederationTokenFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::get_federation_token::GetFederationToken, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::get_federation_token::GetFederationTokenError, + >, + > { + self.customize_middleware().await + } ///

                                The identifier of the Amazon Connect instance. You can find the instance ID in the Amazon Resource Name (ARN) of the instance.

                                pub fn instance_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.instance_id(input.into()); diff --git a/sdk/connect/src/operation/get_metric_data/builders.rs b/sdk/connect/src/operation/get_metric_data/builders.rs index 78f8619727b7..f795aac31e6c 100644 --- a/sdk/connect/src/operation/get_metric_data/builders.rs +++ b/sdk/connect/src/operation/get_metric_data/builders.rs @@ -20,9 +20,9 @@ impl GetMetricDataFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -78,6 +78,20 @@ impl GetMetricDataFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::get_metric_data::GetMetricData, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::get_metric_data::paginator::GetMetricDataPaginator::send) which returns a `Stream`. diff --git a/sdk/connect/src/operation/get_metric_data_v2/builders.rs b/sdk/connect/src/operation/get_metric_data_v2/builders.rs index 02b1d670e5c4..a1e9356bfcbc 100644 --- a/sdk/connect/src/operation/get_metric_data_v2/builders.rs +++ b/sdk/connect/src/operation/get_metric_data_v2/builders.rs @@ -22,9 +22,9 @@ impl GetMetricDataV2FluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -86,6 +86,22 @@ impl GetMetricDataV2FluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::get_metric_data_v2::GetMetricDataV2, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::get_metric_data_v2::GetMetricDataV2Error, + >, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::get_metric_data_v2::paginator::GetMetricDataV2Paginator::send) which returns a `Stream`. diff --git a/sdk/connect/src/operation/get_prompt_file/builders.rs b/sdk/connect/src/operation/get_prompt_file/builders.rs index d1125203b892..ef41803cc22c 100644 --- a/sdk/connect/src/operation/get_prompt_file/builders.rs +++ b/sdk/connect/src/operation/get_prompt_file/builders.rs @@ -19,9 +19,9 @@ impl GetPromptFileFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl GetPromptFileFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::get_prompt_file::GetPromptFile, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                The identifier of the Amazon Connect instance. You can find the instance ID in the Amazon Resource Name (ARN) of the instance.

                                pub fn instance_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.instance_id(input.into()); diff --git a/sdk/connect/src/operation/get_task_template/builders.rs b/sdk/connect/src/operation/get_task_template/builders.rs index a1e766be45fb..bf1b75ca762b 100644 --- a/sdk/connect/src/operation/get_task_template/builders.rs +++ b/sdk/connect/src/operation/get_task_template/builders.rs @@ -19,9 +19,9 @@ impl GetTaskTemplateFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl GetTaskTemplateFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::get_task_template::GetTaskTemplate, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::get_task_template::GetTaskTemplateError, + >, + > { + self.customize_middleware().await + } ///

                                The identifier of the Amazon Connect instance. You can find the instance ID in the Amazon Resource Name (ARN) of the instance.

                                pub fn instance_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.instance_id(input.into()); diff --git a/sdk/connect/src/operation/get_traffic_distribution/builders.rs b/sdk/connect/src/operation/get_traffic_distribution/builders.rs index b6b19efdb4c9..76b04ae51ffa 100644 --- a/sdk/connect/src/operation/get_traffic_distribution/builders.rs +++ b/sdk/connect/src/operation/get_traffic_distribution/builders.rs @@ -19,9 +19,9 @@ impl GetTrafficDistributionFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl GetTrafficDistributionFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::get_traffic_distribution::GetTrafficDistribution, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::get_traffic_distribution::GetTrafficDistributionError, + >, + > { + self.customize_middleware().await + } ///

                                The identifier of the traffic distribution group.

                                pub fn id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.id(input.into()); diff --git a/sdk/connect/src/operation/list_agent_statuses/builders.rs b/sdk/connect/src/operation/list_agent_statuses/builders.rs index 51949cb06b10..569555cf2a66 100644 --- a/sdk/connect/src/operation/list_agent_statuses/builders.rs +++ b/sdk/connect/src/operation/list_agent_statuses/builders.rs @@ -20,9 +20,9 @@ impl ListAgentStatusesFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -84,6 +84,22 @@ impl ListAgentStatusesFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_agent_statuses::ListAgentStatuses, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::list_agent_statuses::ListAgentStatusesError, + >, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::list_agent_statuses::paginator::ListAgentStatusesPaginator::send) which returns a `Stream`. diff --git a/sdk/connect/src/operation/list_approved_origins/builders.rs b/sdk/connect/src/operation/list_approved_origins/builders.rs index bfb478909294..89bff90f5adb 100644 --- a/sdk/connect/src/operation/list_approved_origins/builders.rs +++ b/sdk/connect/src/operation/list_approved_origins/builders.rs @@ -20,9 +20,9 @@ impl ListApprovedOriginsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -84,6 +84,22 @@ impl ListApprovedOriginsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_approved_origins::ListApprovedOrigins, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::list_approved_origins::ListApprovedOriginsError, + >, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::list_approved_origins::paginator::ListApprovedOriginsPaginator::send) which returns a `Stream`. diff --git a/sdk/connect/src/operation/list_bots/builders.rs b/sdk/connect/src/operation/list_bots/builders.rs index a6fa149c7f80..0de159d6a5fa 100644 --- a/sdk/connect/src/operation/list_bots/builders.rs +++ b/sdk/connect/src/operation/list_bots/builders.rs @@ -20,9 +20,9 @@ impl ListBotsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -78,6 +78,20 @@ impl ListBotsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_bots::ListBots, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::list_bots::paginator::ListBotsPaginator::send) which returns a `Stream`. diff --git a/sdk/connect/src/operation/list_contact_evaluations/builders.rs b/sdk/connect/src/operation/list_contact_evaluations/builders.rs index 1fc23816bcf0..a9a49ad40036 100644 --- a/sdk/connect/src/operation/list_contact_evaluations/builders.rs +++ b/sdk/connect/src/operation/list_contact_evaluations/builders.rs @@ -19,9 +19,9 @@ impl ListContactEvaluationsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl ListContactEvaluationsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_contact_evaluations::ListContactEvaluations, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::list_contact_evaluations::ListContactEvaluationsError, + >, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::list_contact_evaluations::paginator::ListContactEvaluationsPaginator::send) which returns a `Stream`. diff --git a/sdk/connect/src/operation/list_contact_flow_modules/builders.rs b/sdk/connect/src/operation/list_contact_flow_modules/builders.rs index 3d526f930f28..484d76e0201d 100644 --- a/sdk/connect/src/operation/list_contact_flow_modules/builders.rs +++ b/sdk/connect/src/operation/list_contact_flow_modules/builders.rs @@ -20,9 +20,9 @@ impl ListContactFlowModulesFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -84,6 +84,22 @@ impl ListContactFlowModulesFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_contact_flow_modules::ListContactFlowModules, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::list_contact_flow_modules::ListContactFlowModulesError, + >, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::list_contact_flow_modules::paginator::ListContactFlowModulesPaginator::send) which returns a `Stream`. diff --git a/sdk/connect/src/operation/list_contact_flows/builders.rs b/sdk/connect/src/operation/list_contact_flows/builders.rs index db3952beb29a..7eae11b6b9bd 100644 --- a/sdk/connect/src/operation/list_contact_flows/builders.rs +++ b/sdk/connect/src/operation/list_contact_flows/builders.rs @@ -21,9 +21,9 @@ impl ListContactFlowsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -85,6 +85,22 @@ impl ListContactFlowsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_contact_flows::ListContactFlows, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::list_contact_flows::ListContactFlowsError, + >, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::list_contact_flows::paginator::ListContactFlowsPaginator::send) which returns a `Stream`. diff --git a/sdk/connect/src/operation/list_contact_references/builders.rs b/sdk/connect/src/operation/list_contact_references/builders.rs index 810b7546e221..efefa0b1b3f0 100644 --- a/sdk/connect/src/operation/list_contact_references/builders.rs +++ b/sdk/connect/src/operation/list_contact_references/builders.rs @@ -20,9 +20,9 @@ impl ListContactReferencesFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -84,6 +84,22 @@ impl ListContactReferencesFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_contact_references::ListContactReferences, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::list_contact_references::ListContactReferencesError, + >, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::list_contact_references::paginator::ListContactReferencesPaginator::send) which returns a `Stream`. diff --git a/sdk/connect/src/operation/list_default_vocabularies/builders.rs b/sdk/connect/src/operation/list_default_vocabularies/builders.rs index 4ff7387703b9..0efa0efdbcf9 100644 --- a/sdk/connect/src/operation/list_default_vocabularies/builders.rs +++ b/sdk/connect/src/operation/list_default_vocabularies/builders.rs @@ -20,9 +20,9 @@ impl ListDefaultVocabulariesFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -84,6 +84,22 @@ impl ListDefaultVocabulariesFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_default_vocabularies::ListDefaultVocabularies, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::list_default_vocabularies::ListDefaultVocabulariesError, + >, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::list_default_vocabularies::paginator::ListDefaultVocabulariesPaginator::send) which returns a `Stream`. diff --git a/sdk/connect/src/operation/list_evaluation_form_versions/builders.rs b/sdk/connect/src/operation/list_evaluation_form_versions/builders.rs index 974b940eed9a..0bd58578586c 100644 --- a/sdk/connect/src/operation/list_evaluation_form_versions/builders.rs +++ b/sdk/connect/src/operation/list_evaluation_form_versions/builders.rs @@ -19,9 +19,9 @@ impl ListEvaluationFormVersionsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl ListEvaluationFormVersionsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_evaluation_form_versions::ListEvaluationFormVersions, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::list_evaluation_form_versions::ListEvaluationFormVersionsError, + >, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::list_evaluation_form_versions::paginator::ListEvaluationFormVersionsPaginator::send) which returns a `Stream`. diff --git a/sdk/connect/src/operation/list_evaluation_forms/builders.rs b/sdk/connect/src/operation/list_evaluation_forms/builders.rs index 94ec5b0c92d5..6d0904c4d285 100644 --- a/sdk/connect/src/operation/list_evaluation_forms/builders.rs +++ b/sdk/connect/src/operation/list_evaluation_forms/builders.rs @@ -19,9 +19,9 @@ impl ListEvaluationFormsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl ListEvaluationFormsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_evaluation_forms::ListEvaluationForms, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::list_evaluation_forms::ListEvaluationFormsError, + >, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::list_evaluation_forms::paginator::ListEvaluationFormsPaginator::send) which returns a `Stream`. diff --git a/sdk/connect/src/operation/list_hours_of_operations/builders.rs b/sdk/connect/src/operation/list_hours_of_operations/builders.rs index f30664f7b0bd..09c8888e2174 100644 --- a/sdk/connect/src/operation/list_hours_of_operations/builders.rs +++ b/sdk/connect/src/operation/list_hours_of_operations/builders.rs @@ -20,9 +20,9 @@ impl ListHoursOfOperationsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -84,6 +84,22 @@ impl ListHoursOfOperationsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_hours_of_operations::ListHoursOfOperations, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::list_hours_of_operations::ListHoursOfOperationsError, + >, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::list_hours_of_operations::paginator::ListHoursOfOperationsPaginator::send) which returns a `Stream`. diff --git a/sdk/connect/src/operation/list_instance_attributes/builders.rs b/sdk/connect/src/operation/list_instance_attributes/builders.rs index 33eb30f093fd..9edefa670d79 100644 --- a/sdk/connect/src/operation/list_instance_attributes/builders.rs +++ b/sdk/connect/src/operation/list_instance_attributes/builders.rs @@ -20,9 +20,9 @@ impl ListInstanceAttributesFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -84,6 +84,22 @@ impl ListInstanceAttributesFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_instance_attributes::ListInstanceAttributes, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::list_instance_attributes::ListInstanceAttributesError, + >, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::list_instance_attributes::paginator::ListInstanceAttributesPaginator::send) which returns a `Stream`. diff --git a/sdk/connect/src/operation/list_instance_storage_configs/builders.rs b/sdk/connect/src/operation/list_instance_storage_configs/builders.rs index a9d205c2fe10..919231e13b75 100644 --- a/sdk/connect/src/operation/list_instance_storage_configs/builders.rs +++ b/sdk/connect/src/operation/list_instance_storage_configs/builders.rs @@ -20,9 +20,9 @@ impl ListInstanceStorageConfigsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -84,6 +84,22 @@ impl ListInstanceStorageConfigsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_instance_storage_configs::ListInstanceStorageConfigs, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::list_instance_storage_configs::ListInstanceStorageConfigsError, + >, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::list_instance_storage_configs::paginator::ListInstanceStorageConfigsPaginator::send) which returns a `Stream`. diff --git a/sdk/connect/src/operation/list_instances/builders.rs b/sdk/connect/src/operation/list_instances/builders.rs index 025adf49e678..abb5a591861a 100644 --- a/sdk/connect/src/operation/list_instances/builders.rs +++ b/sdk/connect/src/operation/list_instances/builders.rs @@ -20,9 +20,9 @@ impl ListInstancesFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -78,6 +78,20 @@ impl ListInstancesFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_instances::ListInstances, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::list_instances::paginator::ListInstancesPaginator::send) which returns a `Stream`. diff --git a/sdk/connect/src/operation/list_integration_associations/builders.rs b/sdk/connect/src/operation/list_integration_associations/builders.rs index 2b005839e3ea..3f615c326bc4 100644 --- a/sdk/connect/src/operation/list_integration_associations/builders.rs +++ b/sdk/connect/src/operation/list_integration_associations/builders.rs @@ -19,9 +19,9 @@ impl ListIntegrationAssociationsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl ListIntegrationAssociationsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_integration_associations::ListIntegrationAssociations, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::list_integration_associations::ListIntegrationAssociationsError, + >, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::list_integration_associations::paginator::ListIntegrationAssociationsPaginator::send) which returns a `Stream`. diff --git a/sdk/connect/src/operation/list_lambda_functions/builders.rs b/sdk/connect/src/operation/list_lambda_functions/builders.rs index 77fa76e434f6..5880ef8073df 100644 --- a/sdk/connect/src/operation/list_lambda_functions/builders.rs +++ b/sdk/connect/src/operation/list_lambda_functions/builders.rs @@ -20,9 +20,9 @@ impl ListLambdaFunctionsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -84,6 +84,22 @@ impl ListLambdaFunctionsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_lambda_functions::ListLambdaFunctions, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::list_lambda_functions::ListLambdaFunctionsError, + >, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::list_lambda_functions::paginator::ListLambdaFunctionsPaginator::send) which returns a `Stream`. diff --git a/sdk/connect/src/operation/list_lex_bots/builders.rs b/sdk/connect/src/operation/list_lex_bots/builders.rs index d76839104874..90323171814c 100644 --- a/sdk/connect/src/operation/list_lex_bots/builders.rs +++ b/sdk/connect/src/operation/list_lex_bots/builders.rs @@ -20,9 +20,9 @@ impl ListLexBotsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -78,6 +78,20 @@ impl ListLexBotsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_lex_bots::ListLexBots, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::list_lex_bots::paginator::ListLexBotsPaginator::send) which returns a `Stream`. diff --git a/sdk/connect/src/operation/list_phone_numbers/builders.rs b/sdk/connect/src/operation/list_phone_numbers/builders.rs index 22af8e08d03b..a60c0cb649b2 100644 --- a/sdk/connect/src/operation/list_phone_numbers/builders.rs +++ b/sdk/connect/src/operation/list_phone_numbers/builders.rs @@ -22,9 +22,9 @@ impl ListPhoneNumbersFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -86,6 +86,22 @@ impl ListPhoneNumbersFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_phone_numbers::ListPhoneNumbers, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::list_phone_numbers::ListPhoneNumbersError, + >, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::list_phone_numbers::paginator::ListPhoneNumbersPaginator::send) which returns a `Stream`. diff --git a/sdk/connect/src/operation/list_phone_numbers_v2/builders.rs b/sdk/connect/src/operation/list_phone_numbers_v2/builders.rs index 94e628d4999f..fdbfb6f6b1b3 100644 --- a/sdk/connect/src/operation/list_phone_numbers_v2/builders.rs +++ b/sdk/connect/src/operation/list_phone_numbers_v2/builders.rs @@ -20,9 +20,9 @@ impl ListPhoneNumbersV2FluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -84,6 +84,22 @@ impl ListPhoneNumbersV2FluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_phone_numbers_v2::ListPhoneNumbersV2, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::list_phone_numbers_v2::ListPhoneNumbersV2Error, + >, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::list_phone_numbers_v2::paginator::ListPhoneNumbersV2Paginator::send) which returns a `Stream`. diff --git a/sdk/connect/src/operation/list_prompts/builders.rs b/sdk/connect/src/operation/list_prompts/builders.rs index b14dc49aa30c..cc718ef856e3 100644 --- a/sdk/connect/src/operation/list_prompts/builders.rs +++ b/sdk/connect/src/operation/list_prompts/builders.rs @@ -19,9 +19,9 @@ impl ListPromptsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl ListPromptsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_prompts::ListPrompts, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::list_prompts::paginator::ListPromptsPaginator::send) which returns a `Stream`. diff --git a/sdk/connect/src/operation/list_queue_quick_connects/builders.rs b/sdk/connect/src/operation/list_queue_quick_connects/builders.rs index f2daaed3c4a1..b8ce1b1eeb67 100644 --- a/sdk/connect/src/operation/list_queue_quick_connects/builders.rs +++ b/sdk/connect/src/operation/list_queue_quick_connects/builders.rs @@ -21,9 +21,9 @@ impl ListQueueQuickConnectsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -85,6 +85,22 @@ impl ListQueueQuickConnectsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_queue_quick_connects::ListQueueQuickConnects, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::list_queue_quick_connects::ListQueueQuickConnectsError, + >, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::list_queue_quick_connects::paginator::ListQueueQuickConnectsPaginator::send) which returns a `Stream`. diff --git a/sdk/connect/src/operation/list_queues/builders.rs b/sdk/connect/src/operation/list_queues/builders.rs index a4e9faa96f8a..9fe3990408f1 100644 --- a/sdk/connect/src/operation/list_queues/builders.rs +++ b/sdk/connect/src/operation/list_queues/builders.rs @@ -21,9 +21,9 @@ impl ListQueuesFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -79,6 +79,20 @@ impl ListQueuesFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_queues::ListQueues, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::list_queues::paginator::ListQueuesPaginator::send) which returns a `Stream`. diff --git a/sdk/connect/src/operation/list_quick_connects/builders.rs b/sdk/connect/src/operation/list_quick_connects/builders.rs index 235184bad468..c3a2246d4cac 100644 --- a/sdk/connect/src/operation/list_quick_connects/builders.rs +++ b/sdk/connect/src/operation/list_quick_connects/builders.rs @@ -19,9 +19,9 @@ impl ListQuickConnectsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl ListQuickConnectsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_quick_connects::ListQuickConnects, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::list_quick_connects::ListQuickConnectsError, + >, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::list_quick_connects::paginator::ListQuickConnectsPaginator::send) which returns a `Stream`. diff --git a/sdk/connect/src/operation/list_routing_profile_queues/builders.rs b/sdk/connect/src/operation/list_routing_profile_queues/builders.rs index f508e5a5bca7..0fc2ad1c8357 100644 --- a/sdk/connect/src/operation/list_routing_profile_queues/builders.rs +++ b/sdk/connect/src/operation/list_routing_profile_queues/builders.rs @@ -19,9 +19,9 @@ impl ListRoutingProfileQueuesFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl ListRoutingProfileQueuesFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_routing_profile_queues::ListRoutingProfileQueues, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::list_routing_profile_queues::ListRoutingProfileQueuesError, + >, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::list_routing_profile_queues::paginator::ListRoutingProfileQueuesPaginator::send) which returns a `Stream`. diff --git a/sdk/connect/src/operation/list_routing_profiles/builders.rs b/sdk/connect/src/operation/list_routing_profiles/builders.rs index 3ed0fbb63410..e86515db18dd 100644 --- a/sdk/connect/src/operation/list_routing_profiles/builders.rs +++ b/sdk/connect/src/operation/list_routing_profiles/builders.rs @@ -20,9 +20,9 @@ impl ListRoutingProfilesFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -84,6 +84,22 @@ impl ListRoutingProfilesFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_routing_profiles::ListRoutingProfiles, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::list_routing_profiles::ListRoutingProfilesError, + >, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::list_routing_profiles::paginator::ListRoutingProfilesPaginator::send) which returns a `Stream`. diff --git a/sdk/connect/src/operation/list_rules/builders.rs b/sdk/connect/src/operation/list_rules/builders.rs index 8c6b06b8a63e..8c0b9cfb0552 100644 --- a/sdk/connect/src/operation/list_rules/builders.rs +++ b/sdk/connect/src/operation/list_rules/builders.rs @@ -19,9 +19,9 @@ impl ListRulesFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl ListRulesFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_rules::ListRules, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::list_rules::paginator::ListRulesPaginator::send) which returns a `Stream`. diff --git a/sdk/connect/src/operation/list_security_keys/builders.rs b/sdk/connect/src/operation/list_security_keys/builders.rs index 807ab835d368..7c62fc0b2984 100644 --- a/sdk/connect/src/operation/list_security_keys/builders.rs +++ b/sdk/connect/src/operation/list_security_keys/builders.rs @@ -20,9 +20,9 @@ impl ListSecurityKeysFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -84,6 +84,22 @@ impl ListSecurityKeysFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_security_keys::ListSecurityKeys, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::list_security_keys::ListSecurityKeysError, + >, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::list_security_keys::paginator::ListSecurityKeysPaginator::send) which returns a `Stream`. diff --git a/sdk/connect/src/operation/list_security_profile_permissions/builders.rs b/sdk/connect/src/operation/list_security_profile_permissions/builders.rs index 29bb33912818..014337b7105b 100644 --- a/sdk/connect/src/operation/list_security_profile_permissions/builders.rs +++ b/sdk/connect/src/operation/list_security_profile_permissions/builders.rs @@ -20,9 +20,9 @@ impl ListSecurityProfilePermissionsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize(self) -> ::std::result::Result< + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware(self) -> ::std::result::Result< crate::client::customize::CustomizableOperation, ::aws_smithy_http::result::SdkError >{ @@ -65,6 +65,15 @@ impl ListSecurityProfilePermissionsFluentBuilder { { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize(self) -> ::std::result::Result< + crate::client::customize::CustomizableOperation, + ::aws_smithy_http::result::SdkError + >{ + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::list_security_profile_permissions::paginator::ListSecurityProfilePermissionsPaginator::send) which returns a `Stream`. diff --git a/sdk/connect/src/operation/list_security_profiles/builders.rs b/sdk/connect/src/operation/list_security_profiles/builders.rs index 2ccccc2133d1..c572554a13bc 100644 --- a/sdk/connect/src/operation/list_security_profiles/builders.rs +++ b/sdk/connect/src/operation/list_security_profiles/builders.rs @@ -20,9 +20,9 @@ impl ListSecurityProfilesFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -84,6 +84,22 @@ impl ListSecurityProfilesFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_security_profiles::ListSecurityProfiles, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::list_security_profiles::ListSecurityProfilesError, + >, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::list_security_profiles::paginator::ListSecurityProfilesPaginator::send) which returns a `Stream`. diff --git a/sdk/connect/src/operation/list_tags_for_resource/builders.rs b/sdk/connect/src/operation/list_tags_for_resource/builders.rs index c7d8f7bfb711..815742958bb1 100644 --- a/sdk/connect/src/operation/list_tags_for_resource/builders.rs +++ b/sdk/connect/src/operation/list_tags_for_resource/builders.rs @@ -20,9 +20,9 @@ impl ListTagsForResourceFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -84,6 +84,22 @@ impl ListTagsForResourceFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_tags_for_resource::ListTagsForResource, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::list_tags_for_resource::ListTagsForResourceError, + >, + > { + self.customize_middleware().await + } ///

                                The Amazon Resource Name (ARN) of the resource. All Amazon Connect resources (instances, queues, flows, routing profiles, etc) have an ARN. To locate the ARN for an instance, for example, see Find your Amazon Connect instance ID/ARN.

                                pub fn resource_arn(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.resource_arn(input.into()); diff --git a/sdk/connect/src/operation/list_task_templates/builders.rs b/sdk/connect/src/operation/list_task_templates/builders.rs index a928a644d219..79e486601bad 100644 --- a/sdk/connect/src/operation/list_task_templates/builders.rs +++ b/sdk/connect/src/operation/list_task_templates/builders.rs @@ -19,9 +19,9 @@ impl ListTaskTemplatesFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl ListTaskTemplatesFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_task_templates::ListTaskTemplates, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::list_task_templates::ListTaskTemplatesError, + >, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::list_task_templates::paginator::ListTaskTemplatesPaginator::send) which returns a `Stream`. diff --git a/sdk/connect/src/operation/list_traffic_distribution_groups/builders.rs b/sdk/connect/src/operation/list_traffic_distribution_groups/builders.rs index 9280f2b3e032..a78d4a4bb482 100644 --- a/sdk/connect/src/operation/list_traffic_distribution_groups/builders.rs +++ b/sdk/connect/src/operation/list_traffic_distribution_groups/builders.rs @@ -19,9 +19,9 @@ impl ListTrafficDistributionGroupsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl ListTrafficDistributionGroupsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_traffic_distribution_groups::ListTrafficDistributionGroups, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::list_traffic_distribution_groups::ListTrafficDistributionGroupsError, + >, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::list_traffic_distribution_groups::paginator::ListTrafficDistributionGroupsPaginator::send) which returns a `Stream`. diff --git a/sdk/connect/src/operation/list_use_cases/builders.rs b/sdk/connect/src/operation/list_use_cases/builders.rs index be1e26f3056c..880d547ad3c7 100644 --- a/sdk/connect/src/operation/list_use_cases/builders.rs +++ b/sdk/connect/src/operation/list_use_cases/builders.rs @@ -19,9 +19,9 @@ impl ListUseCasesFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl ListUseCasesFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_use_cases::ListUseCases, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::list_use_cases::paginator::ListUseCasesPaginator::send) which returns a `Stream`. diff --git a/sdk/connect/src/operation/list_user_hierarchy_groups/builders.rs b/sdk/connect/src/operation/list_user_hierarchy_groups/builders.rs index 7c6395d241ec..123bba5ae71a 100644 --- a/sdk/connect/src/operation/list_user_hierarchy_groups/builders.rs +++ b/sdk/connect/src/operation/list_user_hierarchy_groups/builders.rs @@ -21,9 +21,9 @@ impl ListUserHierarchyGroupsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -85,6 +85,22 @@ impl ListUserHierarchyGroupsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_user_hierarchy_groups::ListUserHierarchyGroups, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::list_user_hierarchy_groups::ListUserHierarchyGroupsError, + >, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::list_user_hierarchy_groups::paginator::ListUserHierarchyGroupsPaginator::send) which returns a `Stream`. diff --git a/sdk/connect/src/operation/list_users/builders.rs b/sdk/connect/src/operation/list_users/builders.rs index 56c0ef8bf466..a09972476833 100644 --- a/sdk/connect/src/operation/list_users/builders.rs +++ b/sdk/connect/src/operation/list_users/builders.rs @@ -19,9 +19,9 @@ impl ListUsersFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl ListUsersFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_users::ListUsers, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::list_users::paginator::ListUsersPaginator::send) which returns a `Stream`. diff --git a/sdk/connect/src/operation/monitor_contact/builders.rs b/sdk/connect/src/operation/monitor_contact/builders.rs index 11ba4722f05c..3c1fcf6cf79d 100644 --- a/sdk/connect/src/operation/monitor_contact/builders.rs +++ b/sdk/connect/src/operation/monitor_contact/builders.rs @@ -19,9 +19,9 @@ impl MonitorContactFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl MonitorContactFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::monitor_contact::MonitorContact, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                The identifier of the Amazon Connect instance. You can find the instanceId in the ARN of the instance.

                                pub fn instance_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.instance_id(input.into()); diff --git a/sdk/connect/src/operation/put_user_status/builders.rs b/sdk/connect/src/operation/put_user_status/builders.rs index 8ab75fb91612..4404da250bb5 100644 --- a/sdk/connect/src/operation/put_user_status/builders.rs +++ b/sdk/connect/src/operation/put_user_status/builders.rs @@ -20,9 +20,9 @@ impl PutUserStatusFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -78,6 +78,20 @@ impl PutUserStatusFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::put_user_status::PutUserStatus, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                The identifier of the user.

                                pub fn user_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.user_id(input.into()); diff --git a/sdk/connect/src/operation/release_phone_number/builders.rs b/sdk/connect/src/operation/release_phone_number/builders.rs index d443dbc04b53..b232c1195d9a 100644 --- a/sdk/connect/src/operation/release_phone_number/builders.rs +++ b/sdk/connect/src/operation/release_phone_number/builders.rs @@ -22,9 +22,9 @@ impl ReleasePhoneNumberFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -86,6 +86,22 @@ impl ReleasePhoneNumberFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::release_phone_number::ReleasePhoneNumber, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::release_phone_number::ReleasePhoneNumberError, + >, + > { + self.customize_middleware().await + } ///

                                A unique identifier for the phone number.

                                pub fn phone_number_id( mut self, diff --git a/sdk/connect/src/operation/replicate_instance/builders.rs b/sdk/connect/src/operation/replicate_instance/builders.rs index 4a2ba67d77fd..83bbeed85e9f 100644 --- a/sdk/connect/src/operation/replicate_instance/builders.rs +++ b/sdk/connect/src/operation/replicate_instance/builders.rs @@ -20,9 +20,9 @@ impl ReplicateInstanceFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -84,6 +84,22 @@ impl ReplicateInstanceFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::replicate_instance::ReplicateInstance, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::replicate_instance::ReplicateInstanceError, + >, + > { + self.customize_middleware().await + } ///

                                The identifier of the Amazon Connect instance. You can find the instance ID in the Amazon Resource Name (ARN) of the instance. You can provide the InstanceId, or the entire ARN.

                                pub fn instance_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.instance_id(input.into()); diff --git a/sdk/connect/src/operation/resume_contact_recording/builders.rs b/sdk/connect/src/operation/resume_contact_recording/builders.rs index 6a6593998367..3be2ca4489c5 100644 --- a/sdk/connect/src/operation/resume_contact_recording/builders.rs +++ b/sdk/connect/src/operation/resume_contact_recording/builders.rs @@ -20,9 +20,9 @@ impl ResumeContactRecordingFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -84,6 +84,22 @@ impl ResumeContactRecordingFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::resume_contact_recording::ResumeContactRecording, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::resume_contact_recording::ResumeContactRecordingError, + >, + > { + self.customize_middleware().await + } ///

                                The identifier of the Amazon Connect instance. You can find the instance ID in the Amazon Resource Name (ARN) of the instance.

                                pub fn instance_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.instance_id(input.into()); diff --git a/sdk/connect/src/operation/search_available_phone_numbers/builders.rs b/sdk/connect/src/operation/search_available_phone_numbers/builders.rs index 3917e9a8f450..12563280f542 100644 --- a/sdk/connect/src/operation/search_available_phone_numbers/builders.rs +++ b/sdk/connect/src/operation/search_available_phone_numbers/builders.rs @@ -19,9 +19,9 @@ impl SearchAvailablePhoneNumbersFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl SearchAvailablePhoneNumbersFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::search_available_phone_numbers::SearchAvailablePhoneNumbers, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::search_available_phone_numbers::SearchAvailablePhoneNumbersError, + >, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::search_available_phone_numbers::paginator::SearchAvailablePhoneNumbersPaginator::send) which returns a `Stream`. diff --git a/sdk/connect/src/operation/search_queues/builders.rs b/sdk/connect/src/operation/search_queues/builders.rs index 8838ccb941e7..04d7d2865065 100644 --- a/sdk/connect/src/operation/search_queues/builders.rs +++ b/sdk/connect/src/operation/search_queues/builders.rs @@ -20,9 +20,9 @@ impl SearchQueuesFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -78,6 +78,20 @@ impl SearchQueuesFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::search_queues::SearchQueues, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::search_queues::paginator::SearchQueuesPaginator::send) which returns a `Stream`. diff --git a/sdk/connect/src/operation/search_routing_profiles/builders.rs b/sdk/connect/src/operation/search_routing_profiles/builders.rs index 3f6ce3ca00ee..d15f9be96a49 100644 --- a/sdk/connect/src/operation/search_routing_profiles/builders.rs +++ b/sdk/connect/src/operation/search_routing_profiles/builders.rs @@ -20,9 +20,9 @@ impl SearchRoutingProfilesFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -84,6 +84,22 @@ impl SearchRoutingProfilesFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::search_routing_profiles::SearchRoutingProfiles, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::search_routing_profiles::SearchRoutingProfilesError, + >, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::search_routing_profiles::paginator::SearchRoutingProfilesPaginator::send) which returns a `Stream`. diff --git a/sdk/connect/src/operation/search_security_profiles/builders.rs b/sdk/connect/src/operation/search_security_profiles/builders.rs index 70dc9eb08646..66885d6fe32f 100644 --- a/sdk/connect/src/operation/search_security_profiles/builders.rs +++ b/sdk/connect/src/operation/search_security_profiles/builders.rs @@ -20,9 +20,9 @@ impl SearchSecurityProfilesFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -84,6 +84,22 @@ impl SearchSecurityProfilesFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::search_security_profiles::SearchSecurityProfiles, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::search_security_profiles::SearchSecurityProfilesError, + >, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::search_security_profiles::paginator::SearchSecurityProfilesPaginator::send) which returns a `Stream`. diff --git a/sdk/connect/src/operation/search_users/builders.rs b/sdk/connect/src/operation/search_users/builders.rs index 35e1c6e2719d..a3d4f01e7de2 100644 --- a/sdk/connect/src/operation/search_users/builders.rs +++ b/sdk/connect/src/operation/search_users/builders.rs @@ -21,9 +21,9 @@ impl SearchUsersFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -79,6 +79,20 @@ impl SearchUsersFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::search_users::SearchUsers, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::search_users::paginator::SearchUsersPaginator::send) which returns a `Stream`. diff --git a/sdk/connect/src/operation/search_vocabularies/builders.rs b/sdk/connect/src/operation/search_vocabularies/builders.rs index efbc0f239e8f..70b12ec94e82 100644 --- a/sdk/connect/src/operation/search_vocabularies/builders.rs +++ b/sdk/connect/src/operation/search_vocabularies/builders.rs @@ -19,9 +19,9 @@ impl SearchVocabulariesFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl SearchVocabulariesFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::search_vocabularies::SearchVocabularies, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::search_vocabularies::SearchVocabulariesError, + >, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::search_vocabularies::paginator::SearchVocabulariesPaginator::send) which returns a `Stream`. diff --git a/sdk/connect/src/operation/start_chat_contact/builders.rs b/sdk/connect/src/operation/start_chat_contact/builders.rs index 8b20d849e277..1114113da5b7 100644 --- a/sdk/connect/src/operation/start_chat_contact/builders.rs +++ b/sdk/connect/src/operation/start_chat_contact/builders.rs @@ -27,9 +27,9 @@ impl StartChatContactFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -91,6 +91,22 @@ impl StartChatContactFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::start_chat_contact::StartChatContact, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::start_chat_contact::StartChatContactError, + >, + > { + self.customize_middleware().await + } ///

                                The identifier of the Amazon Connect instance. You can find the instance ID in the Amazon Resource Name (ARN) of the instance.

                                pub fn instance_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.instance_id(input.into()); diff --git a/sdk/connect/src/operation/start_contact_evaluation/builders.rs b/sdk/connect/src/operation/start_contact_evaluation/builders.rs index f7b37c31e06e..cb0ceab21304 100644 --- a/sdk/connect/src/operation/start_contact_evaluation/builders.rs +++ b/sdk/connect/src/operation/start_contact_evaluation/builders.rs @@ -21,9 +21,9 @@ impl StartContactEvaluationFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -85,6 +85,22 @@ impl StartContactEvaluationFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::start_contact_evaluation::StartContactEvaluation, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::start_contact_evaluation::StartContactEvaluationError, + >, + > { + self.customize_middleware().await + } ///

                                The identifier of the Amazon Connect instance. You can find the instance ID in the Amazon Resource Name (ARN) of the instance.

                                pub fn instance_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.instance_id(input.into()); diff --git a/sdk/connect/src/operation/start_contact_recording/builders.rs b/sdk/connect/src/operation/start_contact_recording/builders.rs index 1aca7be9fae2..0ea9d72284f8 100644 --- a/sdk/connect/src/operation/start_contact_recording/builders.rs +++ b/sdk/connect/src/operation/start_contact_recording/builders.rs @@ -26,9 +26,9 @@ impl StartContactRecordingFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -90,6 +90,22 @@ impl StartContactRecordingFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::start_contact_recording::StartContactRecording, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::start_contact_recording::StartContactRecordingError, + >, + > { + self.customize_middleware().await + } ///

                                The identifier of the Amazon Connect instance. You can find the instance ID in the Amazon Resource Name (ARN) of the instance.

                                pub fn instance_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.instance_id(input.into()); diff --git a/sdk/connect/src/operation/start_contact_streaming/builders.rs b/sdk/connect/src/operation/start_contact_streaming/builders.rs index f3928c59199c..9ecc3a956017 100644 --- a/sdk/connect/src/operation/start_contact_streaming/builders.rs +++ b/sdk/connect/src/operation/start_contact_streaming/builders.rs @@ -20,9 +20,9 @@ impl StartContactStreamingFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -84,6 +84,22 @@ impl StartContactStreamingFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::start_contact_streaming::StartContactStreaming, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::start_contact_streaming::StartContactStreamingError, + >, + > { + self.customize_middleware().await + } ///

                                The identifier of the Amazon Connect instance. You can find the instance ID in the Amazon Resource Name (ARN) of the instance.

                                pub fn instance_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.instance_id(input.into()); diff --git a/sdk/connect/src/operation/start_outbound_voice_contact/builders.rs b/sdk/connect/src/operation/start_outbound_voice_contact/builders.rs index a56f9b670766..c2fdfd29932c 100644 --- a/sdk/connect/src/operation/start_outbound_voice_contact/builders.rs +++ b/sdk/connect/src/operation/start_outbound_voice_contact/builders.rs @@ -25,9 +25,9 @@ impl StartOutboundVoiceContactFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -89,6 +89,22 @@ impl StartOutboundVoiceContactFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::start_outbound_voice_contact::StartOutboundVoiceContact, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::start_outbound_voice_contact::StartOutboundVoiceContactError, + >, + > { + self.customize_middleware().await + } ///

                                The phone number of the customer, in E.164 format.

                                pub fn destination_phone_number( mut self, diff --git a/sdk/connect/src/operation/start_task_contact/builders.rs b/sdk/connect/src/operation/start_task_contact/builders.rs index 52c33b1a18c8..030cdef1e5ef 100644 --- a/sdk/connect/src/operation/start_task_contact/builders.rs +++ b/sdk/connect/src/operation/start_task_contact/builders.rs @@ -19,9 +19,9 @@ impl StartTaskContactFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl StartTaskContactFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::start_task_contact::StartTaskContact, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::start_task_contact::StartTaskContactError, + >, + > { + self.customize_middleware().await + } ///

                                The identifier of the Amazon Connect instance. You can find the instance ID in the Amazon Resource Name (ARN) of the instance.

                                pub fn instance_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.instance_id(input.into()); diff --git a/sdk/connect/src/operation/stop_contact/builders.rs b/sdk/connect/src/operation/stop_contact/builders.rs index 78f23318c2ff..7217940dcdaa 100644 --- a/sdk/connect/src/operation/stop_contact/builders.rs +++ b/sdk/connect/src/operation/stop_contact/builders.rs @@ -24,9 +24,9 @@ impl StopContactFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -82,6 +82,20 @@ impl StopContactFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::stop_contact::StopContact, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                The ID of the contact.

                                pub fn contact_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.contact_id(input.into()); diff --git a/sdk/connect/src/operation/stop_contact_recording/builders.rs b/sdk/connect/src/operation/stop_contact_recording/builders.rs index 4228932e3eec..0d4dbba12f6a 100644 --- a/sdk/connect/src/operation/stop_contact_recording/builders.rs +++ b/sdk/connect/src/operation/stop_contact_recording/builders.rs @@ -20,9 +20,9 @@ impl StopContactRecordingFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -84,6 +84,22 @@ impl StopContactRecordingFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::stop_contact_recording::StopContactRecording, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::stop_contact_recording::StopContactRecordingError, + >, + > { + self.customize_middleware().await + } ///

                                The identifier of the Amazon Connect instance. You can find the instance ID in the Amazon Resource Name (ARN) of the instance.

                                pub fn instance_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.instance_id(input.into()); diff --git a/sdk/connect/src/operation/stop_contact_streaming/builders.rs b/sdk/connect/src/operation/stop_contact_streaming/builders.rs index 7d977ac92357..a6d918ae164d 100644 --- a/sdk/connect/src/operation/stop_contact_streaming/builders.rs +++ b/sdk/connect/src/operation/stop_contact_streaming/builders.rs @@ -19,9 +19,9 @@ impl StopContactStreamingFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl StopContactStreamingFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::stop_contact_streaming::StopContactStreaming, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::stop_contact_streaming::StopContactStreamingError, + >, + > { + self.customize_middleware().await + } ///

                                The identifier of the Amazon Connect instance. You can find the instance ID in the Amazon Resource Name (ARN) of the instance.

                                pub fn instance_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.instance_id(input.into()); diff --git a/sdk/connect/src/operation/submit_contact_evaluation/builders.rs b/sdk/connect/src/operation/submit_contact_evaluation/builders.rs index 45aae2bdc97d..bac5b2991010 100644 --- a/sdk/connect/src/operation/submit_contact_evaluation/builders.rs +++ b/sdk/connect/src/operation/submit_contact_evaluation/builders.rs @@ -21,9 +21,9 @@ impl SubmitContactEvaluationFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -85,6 +85,22 @@ impl SubmitContactEvaluationFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::submit_contact_evaluation::SubmitContactEvaluation, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::submit_contact_evaluation::SubmitContactEvaluationError, + >, + > { + self.customize_middleware().await + } ///

                                The identifier of the Amazon Connect instance. You can find the instance ID in the Amazon Resource Name (ARN) of the instance.

                                pub fn instance_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.instance_id(input.into()); diff --git a/sdk/connect/src/operation/suspend_contact_recording/builders.rs b/sdk/connect/src/operation/suspend_contact_recording/builders.rs index 65dcb05f2491..93eb08b5cb40 100644 --- a/sdk/connect/src/operation/suspend_contact_recording/builders.rs +++ b/sdk/connect/src/operation/suspend_contact_recording/builders.rs @@ -22,9 +22,9 @@ impl SuspendContactRecordingFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -86,6 +86,22 @@ impl SuspendContactRecordingFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::suspend_contact_recording::SuspendContactRecording, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::suspend_contact_recording::SuspendContactRecordingError, + >, + > { + self.customize_middleware().await + } ///

                                The identifier of the Amazon Connect instance. You can find the instance ID in the Amazon Resource Name (ARN) of the instance.

                                pub fn instance_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.instance_id(input.into()); diff --git a/sdk/connect/src/operation/tag_resource/builders.rs b/sdk/connect/src/operation/tag_resource/builders.rs index 7cd6396a8350..810311703c04 100644 --- a/sdk/connect/src/operation/tag_resource/builders.rs +++ b/sdk/connect/src/operation/tag_resource/builders.rs @@ -21,9 +21,9 @@ impl TagResourceFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -79,6 +79,20 @@ impl TagResourceFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::tag_resource::TagResource, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                The Amazon Resource Name (ARN) of the resource.

                                pub fn resource_arn(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.resource_arn(input.into()); diff --git a/sdk/connect/src/operation/transfer_contact/builders.rs b/sdk/connect/src/operation/transfer_contact/builders.rs index c09b5a6f0d9f..ab360754245a 100644 --- a/sdk/connect/src/operation/transfer_contact/builders.rs +++ b/sdk/connect/src/operation/transfer_contact/builders.rs @@ -27,9 +27,9 @@ impl TransferContactFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -91,6 +91,22 @@ impl TransferContactFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::transfer_contact::TransferContact, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::transfer_contact::TransferContactError, + >, + > { + self.customize_middleware().await + } ///

                                The identifier of the Amazon Connect instance. You can find the instance ID in the Amazon Resource Name (ARN) of the instance.

                                pub fn instance_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.instance_id(input.into()); diff --git a/sdk/connect/src/operation/untag_resource/builders.rs b/sdk/connect/src/operation/untag_resource/builders.rs index ccdddb2bd6da..0ef2fec2ca7d 100644 --- a/sdk/connect/src/operation/untag_resource/builders.rs +++ b/sdk/connect/src/operation/untag_resource/builders.rs @@ -19,9 +19,9 @@ impl UntagResourceFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl UntagResourceFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::untag_resource::UntagResource, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                The Amazon Resource Name (ARN) of the resource.

                                pub fn resource_arn(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.resource_arn(input.into()); diff --git a/sdk/connect/src/operation/update_agent_status/builders.rs b/sdk/connect/src/operation/update_agent_status/builders.rs index a82f13278160..8465b304071e 100644 --- a/sdk/connect/src/operation/update_agent_status/builders.rs +++ b/sdk/connect/src/operation/update_agent_status/builders.rs @@ -20,9 +20,9 @@ impl UpdateAgentStatusFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -84,6 +84,22 @@ impl UpdateAgentStatusFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::update_agent_status::UpdateAgentStatus, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::update_agent_status::UpdateAgentStatusError, + >, + > { + self.customize_middleware().await + } ///

                                The identifier of the Amazon Connect instance. You can find the instance ID in the Amazon Resource Name (ARN) of the instance.

                                pub fn instance_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.instance_id(input.into()); diff --git a/sdk/connect/src/operation/update_contact/builders.rs b/sdk/connect/src/operation/update_contact/builders.rs index c4a5d8830d34..aaf3f8c45b9d 100644 --- a/sdk/connect/src/operation/update_contact/builders.rs +++ b/sdk/connect/src/operation/update_contact/builders.rs @@ -22,9 +22,9 @@ impl UpdateContactFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -80,6 +80,20 @@ impl UpdateContactFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::update_contact::UpdateContact, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                The identifier of the Amazon Connect instance. You can find the instance ID in the Amazon Resource Name (ARN) of the instance.

                                pub fn instance_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.instance_id(input.into()); diff --git a/sdk/connect/src/operation/update_contact_attributes/builders.rs b/sdk/connect/src/operation/update_contact_attributes/builders.rs index 57be690e525f..067cb3484a57 100644 --- a/sdk/connect/src/operation/update_contact_attributes/builders.rs +++ b/sdk/connect/src/operation/update_contact_attributes/builders.rs @@ -22,9 +22,9 @@ impl UpdateContactAttributesFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -86,6 +86,22 @@ impl UpdateContactAttributesFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::update_contact_attributes::UpdateContactAttributes, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::update_contact_attributes::UpdateContactAttributesError, + >, + > { + self.customize_middleware().await + } ///

                                The identifier of the contact. This is the identifier of the contact associated with the first interaction with the contact center.

                                pub fn initial_contact_id( mut self, diff --git a/sdk/connect/src/operation/update_contact_evaluation/builders.rs b/sdk/connect/src/operation/update_contact_evaluation/builders.rs index 7a8035f15cab..e8ea205e5d32 100644 --- a/sdk/connect/src/operation/update_contact_evaluation/builders.rs +++ b/sdk/connect/src/operation/update_contact_evaluation/builders.rs @@ -20,9 +20,9 @@ impl UpdateContactEvaluationFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -84,6 +84,22 @@ impl UpdateContactEvaluationFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::update_contact_evaluation::UpdateContactEvaluation, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::update_contact_evaluation::UpdateContactEvaluationError, + >, + > { + self.customize_middleware().await + } ///

                                The identifier of the Amazon Connect instance. You can find the instance ID in the Amazon Resource Name (ARN) of the instance.

                                pub fn instance_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.instance_id(input.into()); diff --git a/sdk/connect/src/operation/update_contact_flow_content/builders.rs b/sdk/connect/src/operation/update_contact_flow_content/builders.rs index eede742cc16e..79176d609991 100644 --- a/sdk/connect/src/operation/update_contact_flow_content/builders.rs +++ b/sdk/connect/src/operation/update_contact_flow_content/builders.rs @@ -20,9 +20,9 @@ impl UpdateContactFlowContentFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -84,6 +84,22 @@ impl UpdateContactFlowContentFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::update_contact_flow_content::UpdateContactFlowContent, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::update_contact_flow_content::UpdateContactFlowContentError, + >, + > { + self.customize_middleware().await + } ///

                                The identifier of the Amazon Connect instance.

                                pub fn instance_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.instance_id(input.into()); diff --git a/sdk/connect/src/operation/update_contact_flow_metadata/builders.rs b/sdk/connect/src/operation/update_contact_flow_metadata/builders.rs index 9ad2abab2b0c..99d9d8530584 100644 --- a/sdk/connect/src/operation/update_contact_flow_metadata/builders.rs +++ b/sdk/connect/src/operation/update_contact_flow_metadata/builders.rs @@ -19,9 +19,9 @@ impl UpdateContactFlowMetadataFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl UpdateContactFlowMetadataFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::update_contact_flow_metadata::UpdateContactFlowMetadata, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::update_contact_flow_metadata::UpdateContactFlowMetadataError, + >, + > { + self.customize_middleware().await + } ///

                                The identifier of the Amazon Connect instance. You can find the instance ID in the Amazon Resource Name (ARN) of the instance.

                                pub fn instance_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.instance_id(input.into()); diff --git a/sdk/connect/src/operation/update_contact_flow_module_content/builders.rs b/sdk/connect/src/operation/update_contact_flow_module_content/builders.rs index cd2b42a516f2..b0463bd33a3e 100644 --- a/sdk/connect/src/operation/update_contact_flow_module_content/builders.rs +++ b/sdk/connect/src/operation/update_contact_flow_module_content/builders.rs @@ -19,9 +19,9 @@ impl UpdateContactFlowModuleContentFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize(self) -> ::std::result::Result< + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware(self) -> ::std::result::Result< crate::client::customize::CustomizableOperation, ::aws_smithy_http::result::SdkError >{ @@ -64,6 +64,15 @@ impl UpdateContactFlowModuleContentFluentBuilder { { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize(self) -> ::std::result::Result< + crate::client::customize::CustomizableOperation, + ::aws_smithy_http::result::SdkError + >{ + self.customize_middleware().await + } ///

                                The identifier of the Amazon Connect instance. You can find the instance ID in the Amazon Resource Name (ARN) of the instance.

                                pub fn instance_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.instance_id(input.into()); diff --git a/sdk/connect/src/operation/update_contact_flow_module_metadata/builders.rs b/sdk/connect/src/operation/update_contact_flow_module_metadata/builders.rs index 2b28559061da..91b48bb4936c 100644 --- a/sdk/connect/src/operation/update_contact_flow_module_metadata/builders.rs +++ b/sdk/connect/src/operation/update_contact_flow_module_metadata/builders.rs @@ -19,9 +19,9 @@ impl UpdateContactFlowModuleMetadataFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize(self) -> ::std::result::Result< + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware(self) -> ::std::result::Result< crate::client::customize::CustomizableOperation, ::aws_smithy_http::result::SdkError >{ @@ -64,6 +64,15 @@ impl UpdateContactFlowModuleMetadataFluentBuilder { { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize(self) -> ::std::result::Result< + crate::client::customize::CustomizableOperation, + ::aws_smithy_http::result::SdkError + >{ + self.customize_middleware().await + } ///

                                The identifier of the Amazon Connect instance. You can find the instance ID in the Amazon Resource Name (ARN) of the instance.

                                pub fn instance_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.instance_id(input.into()); diff --git a/sdk/connect/src/operation/update_contact_flow_name/builders.rs b/sdk/connect/src/operation/update_contact_flow_name/builders.rs index 6681d96de837..c42ffda6eb8c 100644 --- a/sdk/connect/src/operation/update_contact_flow_name/builders.rs +++ b/sdk/connect/src/operation/update_contact_flow_name/builders.rs @@ -20,9 +20,9 @@ impl UpdateContactFlowNameFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -84,6 +84,22 @@ impl UpdateContactFlowNameFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::update_contact_flow_name::UpdateContactFlowName, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::update_contact_flow_name::UpdateContactFlowNameError, + >, + > { + self.customize_middleware().await + } ///

                                The identifier of the Amazon Connect instance.

                                pub fn instance_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.instance_id(input.into()); diff --git a/sdk/connect/src/operation/update_contact_schedule/builders.rs b/sdk/connect/src/operation/update_contact_schedule/builders.rs index cd73e2f52749..c7fbe83b7fce 100644 --- a/sdk/connect/src/operation/update_contact_schedule/builders.rs +++ b/sdk/connect/src/operation/update_contact_schedule/builders.rs @@ -19,9 +19,9 @@ impl UpdateContactScheduleFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl UpdateContactScheduleFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::update_contact_schedule::UpdateContactSchedule, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::update_contact_schedule::UpdateContactScheduleError, + >, + > { + self.customize_middleware().await + } ///

                                The identifier of the Amazon Connect instance. You can find the instance ID in the Amazon Resource Name (ARN) of the instance.

                                pub fn instance_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.instance_id(input.into()); diff --git a/sdk/connect/src/operation/update_evaluation_form/builders.rs b/sdk/connect/src/operation/update_evaluation_form/builders.rs index e33867823dbd..44e0114b9d45 100644 --- a/sdk/connect/src/operation/update_evaluation_form/builders.rs +++ b/sdk/connect/src/operation/update_evaluation_form/builders.rs @@ -20,9 +20,9 @@ impl UpdateEvaluationFormFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -84,6 +84,22 @@ impl UpdateEvaluationFormFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::update_evaluation_form::UpdateEvaluationForm, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::update_evaluation_form::UpdateEvaluationFormError, + >, + > { + self.customize_middleware().await + } ///

                                The identifier of the Amazon Connect instance. You can find the instance ID in the Amazon Resource Name (ARN) of the instance.

                                pub fn instance_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.instance_id(input.into()); diff --git a/sdk/connect/src/operation/update_hours_of_operation/builders.rs b/sdk/connect/src/operation/update_hours_of_operation/builders.rs index 218ca77b4d75..f6fcf5d571fa 100644 --- a/sdk/connect/src/operation/update_hours_of_operation/builders.rs +++ b/sdk/connect/src/operation/update_hours_of_operation/builders.rs @@ -21,9 +21,9 @@ impl UpdateHoursOfOperationFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -85,6 +85,22 @@ impl UpdateHoursOfOperationFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::update_hours_of_operation::UpdateHoursOfOperation, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::update_hours_of_operation::UpdateHoursOfOperationError, + >, + > { + self.customize_middleware().await + } ///

                                The identifier of the Amazon Connect instance. You can find the instance ID in the Amazon Resource Name (ARN) of the instance.

                                pub fn instance_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.instance_id(input.into()); diff --git a/sdk/connect/src/operation/update_instance_attribute/builders.rs b/sdk/connect/src/operation/update_instance_attribute/builders.rs index 31a377b94f0a..1b7f4b1fa5f9 100644 --- a/sdk/connect/src/operation/update_instance_attribute/builders.rs +++ b/sdk/connect/src/operation/update_instance_attribute/builders.rs @@ -21,9 +21,9 @@ impl UpdateInstanceAttributeFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -85,6 +85,22 @@ impl UpdateInstanceAttributeFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::update_instance_attribute::UpdateInstanceAttribute, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::update_instance_attribute::UpdateInstanceAttributeError, + >, + > { + self.customize_middleware().await + } ///

                                The identifier of the Amazon Connect instance. You can find the instance ID in the Amazon Resource Name (ARN) of the instance.

                                pub fn instance_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.instance_id(input.into()); diff --git a/sdk/connect/src/operation/update_instance_storage_config/builders.rs b/sdk/connect/src/operation/update_instance_storage_config/builders.rs index 3225450aeabd..88850e0e450d 100644 --- a/sdk/connect/src/operation/update_instance_storage_config/builders.rs +++ b/sdk/connect/src/operation/update_instance_storage_config/builders.rs @@ -20,9 +20,9 @@ impl UpdateInstanceStorageConfigFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -84,6 +84,22 @@ impl UpdateInstanceStorageConfigFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::update_instance_storage_config::UpdateInstanceStorageConfig, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::update_instance_storage_config::UpdateInstanceStorageConfigError, + >, + > { + self.customize_middleware().await + } ///

                                The identifier of the Amazon Connect instance. You can find the instance ID in the Amazon Resource Name (ARN) of the instance.

                                pub fn instance_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.instance_id(input.into()); diff --git a/sdk/connect/src/operation/update_participant_role_config/builders.rs b/sdk/connect/src/operation/update_participant_role_config/builders.rs index a5e1d6145819..772b5de3cf48 100644 --- a/sdk/connect/src/operation/update_participant_role_config/builders.rs +++ b/sdk/connect/src/operation/update_participant_role_config/builders.rs @@ -26,9 +26,9 @@ impl UpdateParticipantRoleConfigFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -90,6 +90,22 @@ impl UpdateParticipantRoleConfigFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::update_participant_role_config::UpdateParticipantRoleConfig, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::update_participant_role_config::UpdateParticipantRoleConfigError, + >, + > { + self.customize_middleware().await + } ///

                                The identifier of the Amazon Connect instance. You can find the instance ID in the Amazon Resource Name (ARN) of the instance.

                                pub fn instance_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.instance_id(input.into()); diff --git a/sdk/connect/src/operation/update_phone_number/builders.rs b/sdk/connect/src/operation/update_phone_number/builders.rs index 7d55fd8ad0b5..d2c9d4d832d8 100644 --- a/sdk/connect/src/operation/update_phone_number/builders.rs +++ b/sdk/connect/src/operation/update_phone_number/builders.rs @@ -22,9 +22,9 @@ impl UpdatePhoneNumberFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -86,6 +86,22 @@ impl UpdatePhoneNumberFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::update_phone_number::UpdatePhoneNumber, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::update_phone_number::UpdatePhoneNumberError, + >, + > { + self.customize_middleware().await + } ///

                                A unique identifier for the phone number.

                                pub fn phone_number_id( mut self, diff --git a/sdk/connect/src/operation/update_prompt/builders.rs b/sdk/connect/src/operation/update_prompt/builders.rs index 25de3d375960..39e560aa3bcf 100644 --- a/sdk/connect/src/operation/update_prompt/builders.rs +++ b/sdk/connect/src/operation/update_prompt/builders.rs @@ -19,9 +19,9 @@ impl UpdatePromptFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl UpdatePromptFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::update_prompt::UpdatePrompt, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                The identifier of the Amazon Connect instance. You can find the instance ID in the Amazon Resource Name (ARN) of the instance.

                                pub fn instance_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.instance_id(input.into()); diff --git a/sdk/connect/src/operation/update_queue_hours_of_operation/builders.rs b/sdk/connect/src/operation/update_queue_hours_of_operation/builders.rs index 30899998ea06..9f0879e57264 100644 --- a/sdk/connect/src/operation/update_queue_hours_of_operation/builders.rs +++ b/sdk/connect/src/operation/update_queue_hours_of_operation/builders.rs @@ -20,9 +20,9 @@ impl UpdateQueueHoursOfOperationFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -84,6 +84,22 @@ impl UpdateQueueHoursOfOperationFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::update_queue_hours_of_operation::UpdateQueueHoursOfOperation, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::update_queue_hours_of_operation::UpdateQueueHoursOfOperationError, + >, + > { + self.customize_middleware().await + } ///

                                The identifier of the Amazon Connect instance. You can find the instance ID in the Amazon Resource Name (ARN) of the instance.

                                pub fn instance_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.instance_id(input.into()); diff --git a/sdk/connect/src/operation/update_queue_max_contacts/builders.rs b/sdk/connect/src/operation/update_queue_max_contacts/builders.rs index 3dd8073220e7..480c35f4886e 100644 --- a/sdk/connect/src/operation/update_queue_max_contacts/builders.rs +++ b/sdk/connect/src/operation/update_queue_max_contacts/builders.rs @@ -21,9 +21,9 @@ impl UpdateQueueMaxContactsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -85,6 +85,22 @@ impl UpdateQueueMaxContactsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::update_queue_max_contacts::UpdateQueueMaxContacts, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::update_queue_max_contacts::UpdateQueueMaxContactsError, + >, + > { + self.customize_middleware().await + } ///

                                The identifier of the Amazon Connect instance. You can find the instance ID in the Amazon Resource Name (ARN) of the instance.

                                pub fn instance_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.instance_id(input.into()); diff --git a/sdk/connect/src/operation/update_queue_name/builders.rs b/sdk/connect/src/operation/update_queue_name/builders.rs index 85c56c967635..f4dbfc60c536 100644 --- a/sdk/connect/src/operation/update_queue_name/builders.rs +++ b/sdk/connect/src/operation/update_queue_name/builders.rs @@ -20,9 +20,9 @@ impl UpdateQueueNameFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -84,6 +84,22 @@ impl UpdateQueueNameFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::update_queue_name::UpdateQueueName, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::update_queue_name::UpdateQueueNameError, + >, + > { + self.customize_middleware().await + } ///

                                The identifier of the Amazon Connect instance. You can find the instance ID in the Amazon Resource Name (ARN) of the instance.

                                pub fn instance_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.instance_id(input.into()); diff --git a/sdk/connect/src/operation/update_queue_outbound_caller_config/builders.rs b/sdk/connect/src/operation/update_queue_outbound_caller_config/builders.rs index ad6e077edec2..05a8c4e9728d 100644 --- a/sdk/connect/src/operation/update_queue_outbound_caller_config/builders.rs +++ b/sdk/connect/src/operation/update_queue_outbound_caller_config/builders.rs @@ -22,9 +22,9 @@ impl UpdateQueueOutboundCallerConfigFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize(self) -> ::std::result::Result< + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware(self) -> ::std::result::Result< crate::client::customize::CustomizableOperation, ::aws_smithy_http::result::SdkError >{ @@ -67,6 +67,15 @@ impl UpdateQueueOutboundCallerConfigFluentBuilder { { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize(self) -> ::std::result::Result< + crate::client::customize::CustomizableOperation, + ::aws_smithy_http::result::SdkError + >{ + self.customize_middleware().await + } ///

                                The identifier of the Amazon Connect instance. You can find the instance ID in the Amazon Resource Name (ARN) of the instance.

                                pub fn instance_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.instance_id(input.into()); diff --git a/sdk/connect/src/operation/update_queue_status/builders.rs b/sdk/connect/src/operation/update_queue_status/builders.rs index d94496ad4720..2d4098f9f0dd 100644 --- a/sdk/connect/src/operation/update_queue_status/builders.rs +++ b/sdk/connect/src/operation/update_queue_status/builders.rs @@ -20,9 +20,9 @@ impl UpdateQueueStatusFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -84,6 +84,22 @@ impl UpdateQueueStatusFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::update_queue_status::UpdateQueueStatus, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::update_queue_status::UpdateQueueStatusError, + >, + > { + self.customize_middleware().await + } ///

                                The identifier of the Amazon Connect instance. You can find the instance ID in the Amazon Resource Name (ARN) of the instance.

                                pub fn instance_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.instance_id(input.into()); diff --git a/sdk/connect/src/operation/update_quick_connect_config/builders.rs b/sdk/connect/src/operation/update_quick_connect_config/builders.rs index 9b47dea77812..f34fb40bc390 100644 --- a/sdk/connect/src/operation/update_quick_connect_config/builders.rs +++ b/sdk/connect/src/operation/update_quick_connect_config/builders.rs @@ -19,9 +19,9 @@ impl UpdateQuickConnectConfigFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl UpdateQuickConnectConfigFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::update_quick_connect_config::UpdateQuickConnectConfig, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::update_quick_connect_config::UpdateQuickConnectConfigError, + >, + > { + self.customize_middleware().await + } ///

                                The identifier of the Amazon Connect instance. You can find the instance ID in the Amazon Resource Name (ARN) of the instance.

                                pub fn instance_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.instance_id(input.into()); diff --git a/sdk/connect/src/operation/update_quick_connect_name/builders.rs b/sdk/connect/src/operation/update_quick_connect_name/builders.rs index 93e3f2ae7448..cf3aee4dd646 100644 --- a/sdk/connect/src/operation/update_quick_connect_name/builders.rs +++ b/sdk/connect/src/operation/update_quick_connect_name/builders.rs @@ -20,9 +20,9 @@ impl UpdateQuickConnectNameFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -84,6 +84,22 @@ impl UpdateQuickConnectNameFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::update_quick_connect_name::UpdateQuickConnectName, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::update_quick_connect_name::UpdateQuickConnectNameError, + >, + > { + self.customize_middleware().await + } ///

                                The identifier of the Amazon Connect instance. You can find the instance ID in the Amazon Resource Name (ARN) of the instance.

                                pub fn instance_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.instance_id(input.into()); diff --git a/sdk/connect/src/operation/update_routing_profile_concurrency/builders.rs b/sdk/connect/src/operation/update_routing_profile_concurrency/builders.rs index 6ef5127c693f..a1ff00c1b2ff 100644 --- a/sdk/connect/src/operation/update_routing_profile_concurrency/builders.rs +++ b/sdk/connect/src/operation/update_routing_profile_concurrency/builders.rs @@ -19,9 +19,9 @@ impl UpdateRoutingProfileConcurrencyFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize(self) -> ::std::result::Result< + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware(self) -> ::std::result::Result< crate::client::customize::CustomizableOperation, ::aws_smithy_http::result::SdkError >{ @@ -64,6 +64,15 @@ impl UpdateRoutingProfileConcurrencyFluentBuilder { { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize(self) -> ::std::result::Result< + crate::client::customize::CustomizableOperation, + ::aws_smithy_http::result::SdkError + >{ + self.customize_middleware().await + } ///

                                The identifier of the Amazon Connect instance. You can find the instance ID in the Amazon Resource Name (ARN) of the instance.

                                pub fn instance_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.instance_id(input.into()); diff --git a/sdk/connect/src/operation/update_routing_profile_default_outbound_queue/builders.rs b/sdk/connect/src/operation/update_routing_profile_default_outbound_queue/builders.rs index 95a5bd24d1cb..ccd9954a8d7f 100644 --- a/sdk/connect/src/operation/update_routing_profile_default_outbound_queue/builders.rs +++ b/sdk/connect/src/operation/update_routing_profile_default_outbound_queue/builders.rs @@ -19,9 +19,9 @@ impl UpdateRoutingProfileDefaultOutboundQueueFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize(self) -> ::std::result::Result< + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware(self) -> ::std::result::Result< crate::client::customize::CustomizableOperation, ::aws_smithy_http::result::SdkError >{ @@ -64,6 +64,15 @@ impl UpdateRoutingProfileDefaultOutboundQueueFluentBuilder { { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize(self) -> ::std::result::Result< + crate::client::customize::CustomizableOperation, + ::aws_smithy_http::result::SdkError + >{ + self.customize_middleware().await + } ///

                                The identifier of the Amazon Connect instance. You can find the instance ID in the Amazon Resource Name (ARN) of the instance.

                                pub fn instance_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.instance_id(input.into()); diff --git a/sdk/connect/src/operation/update_routing_profile_name/builders.rs b/sdk/connect/src/operation/update_routing_profile_name/builders.rs index f4768200e4da..14a9de798eb0 100644 --- a/sdk/connect/src/operation/update_routing_profile_name/builders.rs +++ b/sdk/connect/src/operation/update_routing_profile_name/builders.rs @@ -19,9 +19,9 @@ impl UpdateRoutingProfileNameFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl UpdateRoutingProfileNameFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::update_routing_profile_name::UpdateRoutingProfileName, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::update_routing_profile_name::UpdateRoutingProfileNameError, + >, + > { + self.customize_middleware().await + } ///

                                The identifier of the Amazon Connect instance. You can find the instance ID in the Amazon Resource Name (ARN) of the instance.

                                pub fn instance_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.instance_id(input.into()); diff --git a/sdk/connect/src/operation/update_routing_profile_queues/builders.rs b/sdk/connect/src/operation/update_routing_profile_queues/builders.rs index 7b6abfc98926..9de9840b94e7 100644 --- a/sdk/connect/src/operation/update_routing_profile_queues/builders.rs +++ b/sdk/connect/src/operation/update_routing_profile_queues/builders.rs @@ -19,9 +19,9 @@ impl UpdateRoutingProfileQueuesFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl UpdateRoutingProfileQueuesFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::update_routing_profile_queues::UpdateRoutingProfileQueues, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::update_routing_profile_queues::UpdateRoutingProfileQueuesError, + >, + > { + self.customize_middleware().await + } ///

                                The identifier of the Amazon Connect instance. You can find the instance ID in the Amazon Resource Name (ARN) of the instance.

                                pub fn instance_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.instance_id(input.into()); diff --git a/sdk/connect/src/operation/update_rule/builders.rs b/sdk/connect/src/operation/update_rule/builders.rs index d864e891c69a..62e36a1f9c5f 100644 --- a/sdk/connect/src/operation/update_rule/builders.rs +++ b/sdk/connect/src/operation/update_rule/builders.rs @@ -20,9 +20,9 @@ impl UpdateRuleFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -78,6 +78,20 @@ impl UpdateRuleFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::update_rule::UpdateRule, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                A unique identifier for the rule.

                                pub fn rule_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.rule_id(input.into()); diff --git a/sdk/connect/src/operation/update_security_profile/builders.rs b/sdk/connect/src/operation/update_security_profile/builders.rs index 7082c8e94e9b..80f818c5e8d0 100644 --- a/sdk/connect/src/operation/update_security_profile/builders.rs +++ b/sdk/connect/src/operation/update_security_profile/builders.rs @@ -20,9 +20,9 @@ impl UpdateSecurityProfileFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -84,6 +84,22 @@ impl UpdateSecurityProfileFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::update_security_profile::UpdateSecurityProfile, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::update_security_profile::UpdateSecurityProfileError, + >, + > { + self.customize_middleware().await + } ///

                                The description of the security profile.

                                pub fn description(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.description(input.into()); diff --git a/sdk/connect/src/operation/update_task_template/builders.rs b/sdk/connect/src/operation/update_task_template/builders.rs index d081b64712e0..f4b9f68f60ec 100644 --- a/sdk/connect/src/operation/update_task_template/builders.rs +++ b/sdk/connect/src/operation/update_task_template/builders.rs @@ -19,9 +19,9 @@ impl UpdateTaskTemplateFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl UpdateTaskTemplateFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::update_task_template::UpdateTaskTemplate, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::update_task_template::UpdateTaskTemplateError, + >, + > { + self.customize_middleware().await + } ///

                                A unique identifier for the task template.

                                pub fn task_template_id( mut self, diff --git a/sdk/connect/src/operation/update_traffic_distribution/builders.rs b/sdk/connect/src/operation/update_traffic_distribution/builders.rs index d2da0fc6f0b4..fbe1b75d56e1 100644 --- a/sdk/connect/src/operation/update_traffic_distribution/builders.rs +++ b/sdk/connect/src/operation/update_traffic_distribution/builders.rs @@ -20,9 +20,9 @@ impl UpdateTrafficDistributionFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -84,6 +84,22 @@ impl UpdateTrafficDistributionFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::update_traffic_distribution::UpdateTrafficDistribution, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::update_traffic_distribution::UpdateTrafficDistributionError, + >, + > { + self.customize_middleware().await + } ///

                                The identifier of the traffic distribution group. This can be the ID or the ARN if the API is being called in the Region where the traffic distribution group was created. The ARN must be provided if the call is from the replicated Region.

                                pub fn id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.id(input.into()); diff --git a/sdk/connect/src/operation/update_user_hierarchy/builders.rs b/sdk/connect/src/operation/update_user_hierarchy/builders.rs index 61fc29ad7ad3..25419228c3db 100644 --- a/sdk/connect/src/operation/update_user_hierarchy/builders.rs +++ b/sdk/connect/src/operation/update_user_hierarchy/builders.rs @@ -19,9 +19,9 @@ impl UpdateUserHierarchyFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl UpdateUserHierarchyFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::update_user_hierarchy::UpdateUserHierarchy, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::update_user_hierarchy::UpdateUserHierarchyError, + >, + > { + self.customize_middleware().await + } ///

                                The identifier of the hierarchy group.

                                pub fn hierarchy_group_id( mut self, diff --git a/sdk/connect/src/operation/update_user_hierarchy_group_name/builders.rs b/sdk/connect/src/operation/update_user_hierarchy_group_name/builders.rs index e0de446557d4..ea44e09600c1 100644 --- a/sdk/connect/src/operation/update_user_hierarchy_group_name/builders.rs +++ b/sdk/connect/src/operation/update_user_hierarchy_group_name/builders.rs @@ -19,9 +19,9 @@ impl UpdateUserHierarchyGroupNameFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl UpdateUserHierarchyGroupNameFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::update_user_hierarchy_group_name::UpdateUserHierarchyGroupName, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::update_user_hierarchy_group_name::UpdateUserHierarchyGroupNameError, + >, + > { + self.customize_middleware().await + } ///

                                The name of the hierarchy group. Must not be more than 100 characters.

                                pub fn name(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.name(input.into()); diff --git a/sdk/connect/src/operation/update_user_hierarchy_structure/builders.rs b/sdk/connect/src/operation/update_user_hierarchy_structure/builders.rs index 0e3a25df6b8e..8113e564abed 100644 --- a/sdk/connect/src/operation/update_user_hierarchy_structure/builders.rs +++ b/sdk/connect/src/operation/update_user_hierarchy_structure/builders.rs @@ -19,9 +19,9 @@ impl UpdateUserHierarchyStructureFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl UpdateUserHierarchyStructureFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::update_user_hierarchy_structure::UpdateUserHierarchyStructure, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::update_user_hierarchy_structure::UpdateUserHierarchyStructureError, + >, + > { + self.customize_middleware().await + } ///

                                The hierarchy levels to update.

                                pub fn hierarchy_structure(mut self, input: crate::types::HierarchyStructureUpdate) -> Self { self.inner = self.inner.hierarchy_structure(input); diff --git a/sdk/connect/src/operation/update_user_identity_info/builders.rs b/sdk/connect/src/operation/update_user_identity_info/builders.rs index b6ad3bf52e54..bd0d2af12ef4 100644 --- a/sdk/connect/src/operation/update_user_identity_info/builders.rs +++ b/sdk/connect/src/operation/update_user_identity_info/builders.rs @@ -22,9 +22,9 @@ impl UpdateUserIdentityInfoFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -86,6 +86,22 @@ impl UpdateUserIdentityInfoFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::update_user_identity_info::UpdateUserIdentityInfo, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::update_user_identity_info::UpdateUserIdentityInfoError, + >, + > { + self.customize_middleware().await + } ///

                                The identity information for the user.

                                pub fn identity_info(mut self, input: crate::types::UserIdentityInfo) -> Self { self.inner = self.inner.identity_info(input); diff --git a/sdk/connect/src/operation/update_user_phone_config/builders.rs b/sdk/connect/src/operation/update_user_phone_config/builders.rs index 9cffd8ee9b97..29b5e20484f9 100644 --- a/sdk/connect/src/operation/update_user_phone_config/builders.rs +++ b/sdk/connect/src/operation/update_user_phone_config/builders.rs @@ -19,9 +19,9 @@ impl UpdateUserPhoneConfigFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl UpdateUserPhoneConfigFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::update_user_phone_config::UpdateUserPhoneConfig, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::update_user_phone_config::UpdateUserPhoneConfigError, + >, + > { + self.customize_middleware().await + } ///

                                Information about phone configuration settings for the user.

                                pub fn phone_config(mut self, input: crate::types::UserPhoneConfig) -> Self { self.inner = self.inner.phone_config(input); diff --git a/sdk/connect/src/operation/update_user_routing_profile/builders.rs b/sdk/connect/src/operation/update_user_routing_profile/builders.rs index 8e91a67daa5d..c6e53ad67a8f 100644 --- a/sdk/connect/src/operation/update_user_routing_profile/builders.rs +++ b/sdk/connect/src/operation/update_user_routing_profile/builders.rs @@ -19,9 +19,9 @@ impl UpdateUserRoutingProfileFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl UpdateUserRoutingProfileFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::update_user_routing_profile::UpdateUserRoutingProfile, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::update_user_routing_profile::UpdateUserRoutingProfileError, + >, + > { + self.customize_middleware().await + } ///

                                The identifier of the routing profile for the user.

                                pub fn routing_profile_id( mut self, diff --git a/sdk/connect/src/operation/update_user_security_profiles/builders.rs b/sdk/connect/src/operation/update_user_security_profiles/builders.rs index 0a9f8ff839a4..5d0677d624f6 100644 --- a/sdk/connect/src/operation/update_user_security_profiles/builders.rs +++ b/sdk/connect/src/operation/update_user_security_profiles/builders.rs @@ -19,9 +19,9 @@ impl UpdateUserSecurityProfilesFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl UpdateUserSecurityProfilesFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::update_user_security_profiles::UpdateUserSecurityProfiles, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::update_user_security_profiles::UpdateUserSecurityProfilesError, + >, + > { + self.customize_middleware().await + } /// Appends an item to `SecurityProfileIds`. /// /// To override the contents of this collection use [`set_security_profile_ids`](Self::set_security_profile_ids). diff --git a/sdk/connectcampaigns/src/operation/create_campaign/builders.rs b/sdk/connectcampaigns/src/operation/create_campaign/builders.rs index 86ee7126cbee..69a59515edc9 100644 --- a/sdk/connectcampaigns/src/operation/create_campaign/builders.rs +++ b/sdk/connectcampaigns/src/operation/create_campaign/builders.rs @@ -19,9 +19,9 @@ impl CreateCampaignFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl CreateCampaignFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::create_campaign::CreateCampaign, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } /// The name of an Amazon Connect Campaign name. pub fn name(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.name(input.into()); diff --git a/sdk/connectcampaigns/src/operation/delete_campaign/builders.rs b/sdk/connectcampaigns/src/operation/delete_campaign/builders.rs index 2294433447b9..27eb82424b96 100644 --- a/sdk/connectcampaigns/src/operation/delete_campaign/builders.rs +++ b/sdk/connectcampaigns/src/operation/delete_campaign/builders.rs @@ -19,9 +19,9 @@ impl DeleteCampaignFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl DeleteCampaignFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::delete_campaign::DeleteCampaign, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } /// Identifier representing a Campaign pub fn id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.id(input.into()); diff --git a/sdk/connectcampaigns/src/operation/delete_connect_instance_config/builders.rs b/sdk/connectcampaigns/src/operation/delete_connect_instance_config/builders.rs index f23c652eb281..35b1daaf920b 100644 --- a/sdk/connectcampaigns/src/operation/delete_connect_instance_config/builders.rs +++ b/sdk/connectcampaigns/src/operation/delete_connect_instance_config/builders.rs @@ -19,9 +19,9 @@ impl DeleteConnectInstanceConfigFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl DeleteConnectInstanceConfigFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::delete_connect_instance_config::DeleteConnectInstanceConfig, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::delete_connect_instance_config::DeleteConnectInstanceConfigError, + >, + > { + self.customize_middleware().await + } /// Amazon Connect Instance Id pub fn connect_instance_id( mut self, diff --git a/sdk/connectcampaigns/src/operation/delete_instance_onboarding_job/builders.rs b/sdk/connectcampaigns/src/operation/delete_instance_onboarding_job/builders.rs index 333524c6afea..a797017e1cfb 100644 --- a/sdk/connectcampaigns/src/operation/delete_instance_onboarding_job/builders.rs +++ b/sdk/connectcampaigns/src/operation/delete_instance_onboarding_job/builders.rs @@ -19,9 +19,9 @@ impl DeleteInstanceOnboardingJobFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl DeleteInstanceOnboardingJobFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::delete_instance_onboarding_job::DeleteInstanceOnboardingJob, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::delete_instance_onboarding_job::DeleteInstanceOnboardingJobError, + >, + > { + self.customize_middleware().await + } /// Amazon Connect Instance Id pub fn connect_instance_id( mut self, diff --git a/sdk/connectcampaigns/src/operation/describe_campaign/builders.rs b/sdk/connectcampaigns/src/operation/describe_campaign/builders.rs index abf1806efcca..d01f7171c565 100644 --- a/sdk/connectcampaigns/src/operation/describe_campaign/builders.rs +++ b/sdk/connectcampaigns/src/operation/describe_campaign/builders.rs @@ -19,9 +19,9 @@ impl DescribeCampaignFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl DescribeCampaignFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::describe_campaign::DescribeCampaign, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::describe_campaign::DescribeCampaignError, + >, + > { + self.customize_middleware().await + } /// Identifier representing a Campaign pub fn id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.id(input.into()); diff --git a/sdk/connectcampaigns/src/operation/get_campaign_state/builders.rs b/sdk/connectcampaigns/src/operation/get_campaign_state/builders.rs index 8d3c59e7ef08..f0232c95b384 100644 --- a/sdk/connectcampaigns/src/operation/get_campaign_state/builders.rs +++ b/sdk/connectcampaigns/src/operation/get_campaign_state/builders.rs @@ -19,9 +19,9 @@ impl GetCampaignStateFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl GetCampaignStateFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::get_campaign_state::GetCampaignState, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::get_campaign_state::GetCampaignStateError, + >, + > { + self.customize_middleware().await + } /// Identifier representing a Campaign pub fn id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.id(input.into()); diff --git a/sdk/connectcampaigns/src/operation/get_campaign_state_batch/builders.rs b/sdk/connectcampaigns/src/operation/get_campaign_state_batch/builders.rs index f7124f990fbf..7894385ec1c1 100644 --- a/sdk/connectcampaigns/src/operation/get_campaign_state_batch/builders.rs +++ b/sdk/connectcampaigns/src/operation/get_campaign_state_batch/builders.rs @@ -19,9 +19,9 @@ impl GetCampaignStateBatchFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl GetCampaignStateBatchFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::get_campaign_state_batch::GetCampaignStateBatch, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::get_campaign_state_batch::GetCampaignStateBatchError, + >, + > { + self.customize_middleware().await + } /// Appends an item to `campaignIds`. /// /// To override the contents of this collection use [`set_campaign_ids`](Self::set_campaign_ids). diff --git a/sdk/connectcampaigns/src/operation/get_connect_instance_config/builders.rs b/sdk/connectcampaigns/src/operation/get_connect_instance_config/builders.rs index b92b28e3d5e8..f20cfb4adfec 100644 --- a/sdk/connectcampaigns/src/operation/get_connect_instance_config/builders.rs +++ b/sdk/connectcampaigns/src/operation/get_connect_instance_config/builders.rs @@ -19,9 +19,9 @@ impl GetConnectInstanceConfigFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl GetConnectInstanceConfigFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::get_connect_instance_config::GetConnectInstanceConfig, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::get_connect_instance_config::GetConnectInstanceConfigError, + >, + > { + self.customize_middleware().await + } /// Amazon Connect Instance Id pub fn connect_instance_id( mut self, diff --git a/sdk/connectcampaigns/src/operation/get_instance_onboarding_job_status/builders.rs b/sdk/connectcampaigns/src/operation/get_instance_onboarding_job_status/builders.rs index 2d8ff99c542a..1f683edfa2e9 100644 --- a/sdk/connectcampaigns/src/operation/get_instance_onboarding_job_status/builders.rs +++ b/sdk/connectcampaigns/src/operation/get_instance_onboarding_job_status/builders.rs @@ -19,9 +19,9 @@ impl GetInstanceOnboardingJobStatusFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize(self) -> ::std::result::Result< + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware(self) -> ::std::result::Result< crate::client::customize::CustomizableOperation, ::aws_smithy_http::result::SdkError >{ @@ -64,6 +64,15 @@ impl GetInstanceOnboardingJobStatusFluentBuilder { { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize(self) -> ::std::result::Result< + crate::client::customize::CustomizableOperation, + ::aws_smithy_http::result::SdkError + >{ + self.customize_middleware().await + } /// Amazon Connect Instance Id pub fn connect_instance_id( mut self, diff --git a/sdk/connectcampaigns/src/operation/list_campaigns/builders.rs b/sdk/connectcampaigns/src/operation/list_campaigns/builders.rs index d17c71592829..d0452790dbb6 100644 --- a/sdk/connectcampaigns/src/operation/list_campaigns/builders.rs +++ b/sdk/connectcampaigns/src/operation/list_campaigns/builders.rs @@ -19,9 +19,9 @@ impl ListCampaignsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl ListCampaignsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_campaigns::ListCampaigns, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::list_campaigns::paginator::ListCampaignsPaginator::send) which returns a `Stream`. diff --git a/sdk/connectcampaigns/src/operation/list_tags_for_resource/builders.rs b/sdk/connectcampaigns/src/operation/list_tags_for_resource/builders.rs index 84690eabeb95..629e679bb4eb 100644 --- a/sdk/connectcampaigns/src/operation/list_tags_for_resource/builders.rs +++ b/sdk/connectcampaigns/src/operation/list_tags_for_resource/builders.rs @@ -19,9 +19,9 @@ impl ListTagsForResourceFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl ListTagsForResourceFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_tags_for_resource::ListTagsForResource, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::list_tags_for_resource::ListTagsForResourceError, + >, + > { + self.customize_middleware().await + } /// Arn pub fn arn(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.arn(input.into()); diff --git a/sdk/connectcampaigns/src/operation/pause_campaign/builders.rs b/sdk/connectcampaigns/src/operation/pause_campaign/builders.rs index 8cba749ae637..1530d9c411d0 100644 --- a/sdk/connectcampaigns/src/operation/pause_campaign/builders.rs +++ b/sdk/connectcampaigns/src/operation/pause_campaign/builders.rs @@ -19,9 +19,9 @@ impl PauseCampaignFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl PauseCampaignFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::pause_campaign::PauseCampaign, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } /// Identifier representing a Campaign pub fn id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.id(input.into()); diff --git a/sdk/connectcampaigns/src/operation/put_dial_request_batch/builders.rs b/sdk/connectcampaigns/src/operation/put_dial_request_batch/builders.rs index 5f9b5ad7abc5..e763c8f02539 100644 --- a/sdk/connectcampaigns/src/operation/put_dial_request_batch/builders.rs +++ b/sdk/connectcampaigns/src/operation/put_dial_request_batch/builders.rs @@ -19,9 +19,9 @@ impl PutDialRequestBatchFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl PutDialRequestBatchFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::put_dial_request_batch::PutDialRequestBatch, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::put_dial_request_batch::PutDialRequestBatchError, + >, + > { + self.customize_middleware().await + } /// Identifier representing a Campaign pub fn id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.id(input.into()); diff --git a/sdk/connectcampaigns/src/operation/resume_campaign/builders.rs b/sdk/connectcampaigns/src/operation/resume_campaign/builders.rs index c31bb8fe15f7..9029ad21c1db 100644 --- a/sdk/connectcampaigns/src/operation/resume_campaign/builders.rs +++ b/sdk/connectcampaigns/src/operation/resume_campaign/builders.rs @@ -19,9 +19,9 @@ impl ResumeCampaignFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl ResumeCampaignFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::resume_campaign::ResumeCampaign, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } /// Identifier representing a Campaign pub fn id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.id(input.into()); diff --git a/sdk/connectcampaigns/src/operation/start_campaign/builders.rs b/sdk/connectcampaigns/src/operation/start_campaign/builders.rs index 9d0b63a236c9..b79ebcbd4c71 100644 --- a/sdk/connectcampaigns/src/operation/start_campaign/builders.rs +++ b/sdk/connectcampaigns/src/operation/start_campaign/builders.rs @@ -19,9 +19,9 @@ impl StartCampaignFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl StartCampaignFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::start_campaign::StartCampaign, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } /// Identifier representing a Campaign pub fn id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.id(input.into()); diff --git a/sdk/connectcampaigns/src/operation/start_instance_onboarding_job/builders.rs b/sdk/connectcampaigns/src/operation/start_instance_onboarding_job/builders.rs index 9f4ac5906d23..5fd124530f52 100644 --- a/sdk/connectcampaigns/src/operation/start_instance_onboarding_job/builders.rs +++ b/sdk/connectcampaigns/src/operation/start_instance_onboarding_job/builders.rs @@ -19,9 +19,9 @@ impl StartInstanceOnboardingJobFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl StartInstanceOnboardingJobFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::start_instance_onboarding_job::StartInstanceOnboardingJob, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::start_instance_onboarding_job::StartInstanceOnboardingJobError, + >, + > { + self.customize_middleware().await + } /// Amazon Connect Instance Id pub fn connect_instance_id( mut self, diff --git a/sdk/connectcampaigns/src/operation/stop_campaign/builders.rs b/sdk/connectcampaigns/src/operation/stop_campaign/builders.rs index 7d2e3126367a..8f0f5ea8d5ed 100644 --- a/sdk/connectcampaigns/src/operation/stop_campaign/builders.rs +++ b/sdk/connectcampaigns/src/operation/stop_campaign/builders.rs @@ -19,9 +19,9 @@ impl StopCampaignFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl StopCampaignFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::stop_campaign::StopCampaign, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } /// Identifier representing a Campaign pub fn id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.id(input.into()); diff --git a/sdk/connectcampaigns/src/operation/tag_resource/builders.rs b/sdk/connectcampaigns/src/operation/tag_resource/builders.rs index 2171aef4ba23..559ecc09bf98 100644 --- a/sdk/connectcampaigns/src/operation/tag_resource/builders.rs +++ b/sdk/connectcampaigns/src/operation/tag_resource/builders.rs @@ -19,9 +19,9 @@ impl TagResourceFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl TagResourceFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::tag_resource::TagResource, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } /// Arn pub fn arn(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.arn(input.into()); diff --git a/sdk/connectcampaigns/src/operation/untag_resource/builders.rs b/sdk/connectcampaigns/src/operation/untag_resource/builders.rs index af76f809b984..3e0ae51caed6 100644 --- a/sdk/connectcampaigns/src/operation/untag_resource/builders.rs +++ b/sdk/connectcampaigns/src/operation/untag_resource/builders.rs @@ -19,9 +19,9 @@ impl UntagResourceFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl UntagResourceFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::untag_resource::UntagResource, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } /// Arn pub fn arn(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.arn(input.into()); diff --git a/sdk/connectcampaigns/src/operation/update_campaign_dialer_config/builders.rs b/sdk/connectcampaigns/src/operation/update_campaign_dialer_config/builders.rs index c578c670eec8..445452e63aa2 100644 --- a/sdk/connectcampaigns/src/operation/update_campaign_dialer_config/builders.rs +++ b/sdk/connectcampaigns/src/operation/update_campaign_dialer_config/builders.rs @@ -19,9 +19,9 @@ impl UpdateCampaignDialerConfigFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl UpdateCampaignDialerConfigFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::update_campaign_dialer_config::UpdateCampaignDialerConfig, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::update_campaign_dialer_config::UpdateCampaignDialerConfigError, + >, + > { + self.customize_middleware().await + } /// Identifier representing a Campaign pub fn id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.id(input.into()); diff --git a/sdk/connectcampaigns/src/operation/update_campaign_name/builders.rs b/sdk/connectcampaigns/src/operation/update_campaign_name/builders.rs index 282d0340d0f6..37bdad6f04be 100644 --- a/sdk/connectcampaigns/src/operation/update_campaign_name/builders.rs +++ b/sdk/connectcampaigns/src/operation/update_campaign_name/builders.rs @@ -19,9 +19,9 @@ impl UpdateCampaignNameFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl UpdateCampaignNameFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::update_campaign_name::UpdateCampaignName, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::update_campaign_name::UpdateCampaignNameError, + >, + > { + self.customize_middleware().await + } /// Identifier representing a Campaign pub fn id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.id(input.into()); diff --git a/sdk/connectcampaigns/src/operation/update_campaign_outbound_call_config/builders.rs b/sdk/connectcampaigns/src/operation/update_campaign_outbound_call_config/builders.rs index 5fa0ebfe496b..3931a5aabeba 100644 --- a/sdk/connectcampaigns/src/operation/update_campaign_outbound_call_config/builders.rs +++ b/sdk/connectcampaigns/src/operation/update_campaign_outbound_call_config/builders.rs @@ -19,9 +19,9 @@ impl UpdateCampaignOutboundCallConfigFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize(self) -> ::std::result::Result< + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware(self) -> ::std::result::Result< crate::client::customize::CustomizableOperation, ::aws_smithy_http::result::SdkError >{ @@ -64,6 +64,15 @@ impl UpdateCampaignOutboundCallConfigFluentBuilder { { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize(self) -> ::std::result::Result< + crate::client::customize::CustomizableOperation, + ::aws_smithy_http::result::SdkError + >{ + self.customize_middleware().await + } /// Identifier representing a Campaign pub fn id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.id(input.into()); diff --git a/sdk/connectcases/src/operation/batch_get_field/builders.rs b/sdk/connectcases/src/operation/batch_get_field/builders.rs index 8e19f1a369ab..518243252a8e 100644 --- a/sdk/connectcases/src/operation/batch_get_field/builders.rs +++ b/sdk/connectcases/src/operation/batch_get_field/builders.rs @@ -19,9 +19,9 @@ impl BatchGetFieldFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl BatchGetFieldFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::batch_get_field::BatchGetField, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                The unique identifier of the Cases domain.

                                pub fn domain_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.domain_id(input.into()); diff --git a/sdk/connectcases/src/operation/batch_put_field_options/builders.rs b/sdk/connectcases/src/operation/batch_put_field_options/builders.rs index 6df4fcb9b075..f2b709f697d9 100644 --- a/sdk/connectcases/src/operation/batch_put_field_options/builders.rs +++ b/sdk/connectcases/src/operation/batch_put_field_options/builders.rs @@ -19,9 +19,9 @@ impl BatchPutFieldOptionsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl BatchPutFieldOptionsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::batch_put_field_options::BatchPutFieldOptions, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::batch_put_field_options::BatchPutFieldOptionsError, + >, + > { + self.customize_middleware().await + } ///

                                The unique identifier of the Cases domain.

                                pub fn domain_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.domain_id(input.into()); diff --git a/sdk/connectcases/src/operation/create_case/builders.rs b/sdk/connectcases/src/operation/create_case/builders.rs index 2f0d2ad369c8..6b063c32e00c 100644 --- a/sdk/connectcases/src/operation/create_case/builders.rs +++ b/sdk/connectcases/src/operation/create_case/builders.rs @@ -25,9 +25,9 @@ impl CreateCaseFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,20 @@ impl CreateCaseFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::create_case::CreateCase, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                The unique identifier of the Cases domain.

                                pub fn domain_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.domain_id(input.into()); diff --git a/sdk/connectcases/src/operation/create_domain/builders.rs b/sdk/connectcases/src/operation/create_domain/builders.rs index 6c29ffd8091f..0d690471fe7b 100644 --- a/sdk/connectcases/src/operation/create_domain/builders.rs +++ b/sdk/connectcases/src/operation/create_domain/builders.rs @@ -21,9 +21,9 @@ impl CreateDomainFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -79,6 +79,20 @@ impl CreateDomainFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::create_domain::CreateDomain, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                The name for your Cases domain. It must be unique for your Amazon Web Services account.

                                pub fn name(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.name(input.into()); diff --git a/sdk/connectcases/src/operation/create_field/builders.rs b/sdk/connectcases/src/operation/create_field/builders.rs index 6e3c398a0665..72a35d8d0fc5 100644 --- a/sdk/connectcases/src/operation/create_field/builders.rs +++ b/sdk/connectcases/src/operation/create_field/builders.rs @@ -19,9 +19,9 @@ impl CreateFieldFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl CreateFieldFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::create_field::CreateField, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                The unique identifier of the Cases domain.

                                pub fn domain_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.domain_id(input.into()); diff --git a/sdk/connectcases/src/operation/create_layout/builders.rs b/sdk/connectcases/src/operation/create_layout/builders.rs index 9ab29a5b03af..0a142b0933ce 100644 --- a/sdk/connectcases/src/operation/create_layout/builders.rs +++ b/sdk/connectcases/src/operation/create_layout/builders.rs @@ -25,9 +25,9 @@ impl CreateLayoutFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,20 @@ impl CreateLayoutFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::create_layout::CreateLayout, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                The unique identifier of the Cases domain.

                                pub fn domain_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.domain_id(input.into()); diff --git a/sdk/connectcases/src/operation/create_related_item/builders.rs b/sdk/connectcases/src/operation/create_related_item/builders.rs index 26b34a1086f1..f80a2633dc81 100644 --- a/sdk/connectcases/src/operation/create_related_item/builders.rs +++ b/sdk/connectcases/src/operation/create_related_item/builders.rs @@ -21,9 +21,9 @@ impl CreateRelatedItemFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -85,6 +85,22 @@ impl CreateRelatedItemFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::create_related_item::CreateRelatedItem, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::create_related_item::CreateRelatedItemError, + >, + > { + self.customize_middleware().await + } ///

                                The unique identifier of the Cases domain.

                                pub fn domain_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.domain_id(input.into()); diff --git a/sdk/connectcases/src/operation/create_template/builders.rs b/sdk/connectcases/src/operation/create_template/builders.rs index 4b7420e99042..3bc5f630ea44 100644 --- a/sdk/connectcases/src/operation/create_template/builders.rs +++ b/sdk/connectcases/src/operation/create_template/builders.rs @@ -19,9 +19,9 @@ impl CreateTemplateFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl CreateTemplateFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::create_template::CreateTemplate, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                The unique identifier of the Cases domain.

                                pub fn domain_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.domain_id(input.into()); diff --git a/sdk/connectcases/src/operation/delete_domain/builders.rs b/sdk/connectcases/src/operation/delete_domain/builders.rs index 12600a1f6813..76f6878ad281 100644 --- a/sdk/connectcases/src/operation/delete_domain/builders.rs +++ b/sdk/connectcases/src/operation/delete_domain/builders.rs @@ -19,9 +19,9 @@ impl DeleteDomainFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl DeleteDomainFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::delete_domain::DeleteDomain, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                The unique identifier of the Cases domain.

                                pub fn domain_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.domain_id(input.into()); diff --git a/sdk/connectcases/src/operation/get_case/builders.rs b/sdk/connectcases/src/operation/get_case/builders.rs index c3b33eab55b2..09711f9c8e02 100644 --- a/sdk/connectcases/src/operation/get_case/builders.rs +++ b/sdk/connectcases/src/operation/get_case/builders.rs @@ -19,9 +19,9 @@ impl GetCaseFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl GetCaseFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::get_case::GetCase, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::get_case::paginator::GetCasePaginator::send) which returns a `Stream`. diff --git a/sdk/connectcases/src/operation/get_case_event_configuration/builders.rs b/sdk/connectcases/src/operation/get_case_event_configuration/builders.rs index 02b755bd8569..62bfed77c416 100644 --- a/sdk/connectcases/src/operation/get_case_event_configuration/builders.rs +++ b/sdk/connectcases/src/operation/get_case_event_configuration/builders.rs @@ -19,9 +19,9 @@ impl GetCaseEventConfigurationFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl GetCaseEventConfigurationFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::get_case_event_configuration::GetCaseEventConfiguration, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::get_case_event_configuration::GetCaseEventConfigurationError, + >, + > { + self.customize_middleware().await + } ///

                                The unique identifier of the Cases domain.

                                pub fn domain_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.domain_id(input.into()); diff --git a/sdk/connectcases/src/operation/get_domain/builders.rs b/sdk/connectcases/src/operation/get_domain/builders.rs index 2605729c225a..94a3d9a235dc 100644 --- a/sdk/connectcases/src/operation/get_domain/builders.rs +++ b/sdk/connectcases/src/operation/get_domain/builders.rs @@ -19,9 +19,9 @@ impl GetDomainFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl GetDomainFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::get_domain::GetDomain, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                The unique identifier of the Cases domain.

                                pub fn domain_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.domain_id(input.into()); diff --git a/sdk/connectcases/src/operation/get_layout/builders.rs b/sdk/connectcases/src/operation/get_layout/builders.rs index 528d68bcb205..709a8cb2ead9 100644 --- a/sdk/connectcases/src/operation/get_layout/builders.rs +++ b/sdk/connectcases/src/operation/get_layout/builders.rs @@ -19,9 +19,9 @@ impl GetLayoutFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl GetLayoutFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::get_layout::GetLayout, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                The unique identifier of the Cases domain.

                                pub fn domain_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.domain_id(input.into()); diff --git a/sdk/connectcases/src/operation/get_template/builders.rs b/sdk/connectcases/src/operation/get_template/builders.rs index 5fd07e73bde5..9c991b9c9d32 100644 --- a/sdk/connectcases/src/operation/get_template/builders.rs +++ b/sdk/connectcases/src/operation/get_template/builders.rs @@ -19,9 +19,9 @@ impl GetTemplateFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl GetTemplateFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::get_template::GetTemplate, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                The unique identifier of the Cases domain.

                                pub fn domain_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.domain_id(input.into()); diff --git a/sdk/connectcases/src/operation/list_cases_for_contact/builders.rs b/sdk/connectcases/src/operation/list_cases_for_contact/builders.rs index a952f1182457..c47d9165c43b 100644 --- a/sdk/connectcases/src/operation/list_cases_for_contact/builders.rs +++ b/sdk/connectcases/src/operation/list_cases_for_contact/builders.rs @@ -19,9 +19,9 @@ impl ListCasesForContactFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl ListCasesForContactFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_cases_for_contact::ListCasesForContact, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::list_cases_for_contact::ListCasesForContactError, + >, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::list_cases_for_contact::paginator::ListCasesForContactPaginator::send) which returns a `Stream`. diff --git a/sdk/connectcases/src/operation/list_domains/builders.rs b/sdk/connectcases/src/operation/list_domains/builders.rs index 1b9ce0d607f9..7af7bdea4f89 100644 --- a/sdk/connectcases/src/operation/list_domains/builders.rs +++ b/sdk/connectcases/src/operation/list_domains/builders.rs @@ -19,9 +19,9 @@ impl ListDomainsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl ListDomainsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_domains::ListDomains, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::list_domains::paginator::ListDomainsPaginator::send) which returns a `Stream`. diff --git a/sdk/connectcases/src/operation/list_field_options/builders.rs b/sdk/connectcases/src/operation/list_field_options/builders.rs index d619580da9aa..7108a6527f56 100644 --- a/sdk/connectcases/src/operation/list_field_options/builders.rs +++ b/sdk/connectcases/src/operation/list_field_options/builders.rs @@ -19,9 +19,9 @@ impl ListFieldOptionsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl ListFieldOptionsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_field_options::ListFieldOptions, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::list_field_options::ListFieldOptionsError, + >, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::list_field_options::paginator::ListFieldOptionsPaginator::send) which returns a `Stream`. diff --git a/sdk/connectcases/src/operation/list_fields/builders.rs b/sdk/connectcases/src/operation/list_fields/builders.rs index 1de8ba12779b..d2943cf9e4dc 100644 --- a/sdk/connectcases/src/operation/list_fields/builders.rs +++ b/sdk/connectcases/src/operation/list_fields/builders.rs @@ -19,9 +19,9 @@ impl ListFieldsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl ListFieldsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_fields::ListFields, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::list_fields::paginator::ListFieldsPaginator::send) which returns a `Stream`. diff --git a/sdk/connectcases/src/operation/list_layouts/builders.rs b/sdk/connectcases/src/operation/list_layouts/builders.rs index b764ce600f08..ae385468528a 100644 --- a/sdk/connectcases/src/operation/list_layouts/builders.rs +++ b/sdk/connectcases/src/operation/list_layouts/builders.rs @@ -19,9 +19,9 @@ impl ListLayoutsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl ListLayoutsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_layouts::ListLayouts, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::list_layouts::paginator::ListLayoutsPaginator::send) which returns a `Stream`. diff --git a/sdk/connectcases/src/operation/list_tags_for_resource/builders.rs b/sdk/connectcases/src/operation/list_tags_for_resource/builders.rs index 992a552844ab..24c8590f1d03 100644 --- a/sdk/connectcases/src/operation/list_tags_for_resource/builders.rs +++ b/sdk/connectcases/src/operation/list_tags_for_resource/builders.rs @@ -19,9 +19,9 @@ impl ListTagsForResourceFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl ListTagsForResourceFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_tags_for_resource::ListTagsForResource, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::list_tags_for_resource::ListTagsForResourceError, + >, + > { + self.customize_middleware().await + } ///

                                The Amazon Resource Name (ARN)

                                pub fn arn(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.arn(input.into()); diff --git a/sdk/connectcases/src/operation/list_templates/builders.rs b/sdk/connectcases/src/operation/list_templates/builders.rs index 9ee3a5825b22..1fa9de6975cc 100644 --- a/sdk/connectcases/src/operation/list_templates/builders.rs +++ b/sdk/connectcases/src/operation/list_templates/builders.rs @@ -19,9 +19,9 @@ impl ListTemplatesFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl ListTemplatesFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_templates::ListTemplates, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::list_templates::paginator::ListTemplatesPaginator::send) which returns a `Stream`. diff --git a/sdk/connectcases/src/operation/put_case_event_configuration/builders.rs b/sdk/connectcases/src/operation/put_case_event_configuration/builders.rs index 069770db502a..1b32e1641ffa 100644 --- a/sdk/connectcases/src/operation/put_case_event_configuration/builders.rs +++ b/sdk/connectcases/src/operation/put_case_event_configuration/builders.rs @@ -19,9 +19,9 @@ impl PutCaseEventConfigurationFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl PutCaseEventConfigurationFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::put_case_event_configuration::PutCaseEventConfiguration, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::put_case_event_configuration::PutCaseEventConfigurationError, + >, + > { + self.customize_middleware().await + } ///

                                The unique identifier of the Cases domain.

                                pub fn domain_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.domain_id(input.into()); diff --git a/sdk/connectcases/src/operation/search_cases/builders.rs b/sdk/connectcases/src/operation/search_cases/builders.rs index 12c5b63fd180..1b9bde2e6267 100644 --- a/sdk/connectcases/src/operation/search_cases/builders.rs +++ b/sdk/connectcases/src/operation/search_cases/builders.rs @@ -21,9 +21,9 @@ impl SearchCasesFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -79,6 +79,20 @@ impl SearchCasesFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::search_cases::SearchCases, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::search_cases::paginator::SearchCasesPaginator::send) which returns a `Stream`. diff --git a/sdk/connectcases/src/operation/search_related_items/builders.rs b/sdk/connectcases/src/operation/search_related_items/builders.rs index 5cd87181f057..86256545c404 100644 --- a/sdk/connectcases/src/operation/search_related_items/builders.rs +++ b/sdk/connectcases/src/operation/search_related_items/builders.rs @@ -21,9 +21,9 @@ impl SearchRelatedItemsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -85,6 +85,22 @@ impl SearchRelatedItemsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::search_related_items::SearchRelatedItems, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::search_related_items::SearchRelatedItemsError, + >, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::search_related_items::paginator::SearchRelatedItemsPaginator::send) which returns a `Stream`. diff --git a/sdk/connectcases/src/operation/tag_resource/builders.rs b/sdk/connectcases/src/operation/tag_resource/builders.rs index b095329b98b1..440e3eebd042 100644 --- a/sdk/connectcases/src/operation/tag_resource/builders.rs +++ b/sdk/connectcases/src/operation/tag_resource/builders.rs @@ -19,9 +19,9 @@ impl TagResourceFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl TagResourceFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::tag_resource::TagResource, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                The Amazon Resource Name (ARN)

                                pub fn arn(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.arn(input.into()); diff --git a/sdk/connectcases/src/operation/untag_resource/builders.rs b/sdk/connectcases/src/operation/untag_resource/builders.rs index 579429110266..513dcb290268 100644 --- a/sdk/connectcases/src/operation/untag_resource/builders.rs +++ b/sdk/connectcases/src/operation/untag_resource/builders.rs @@ -19,9 +19,9 @@ impl UntagResourceFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl UntagResourceFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::untag_resource::UntagResource, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                The Amazon Resource Name (ARN)

                                pub fn arn(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.arn(input.into()); diff --git a/sdk/connectcases/src/operation/update_case/builders.rs b/sdk/connectcases/src/operation/update_case/builders.rs index 68e38a8c2f02..14bb6fa43db2 100644 --- a/sdk/connectcases/src/operation/update_case/builders.rs +++ b/sdk/connectcases/src/operation/update_case/builders.rs @@ -20,9 +20,9 @@ impl UpdateCaseFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -78,6 +78,20 @@ impl UpdateCaseFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::update_case::UpdateCase, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                The unique identifier of the Cases domain.

                                pub fn domain_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.domain_id(input.into()); diff --git a/sdk/connectcases/src/operation/update_field/builders.rs b/sdk/connectcases/src/operation/update_field/builders.rs index 5cbb07237910..92c83faf2617 100644 --- a/sdk/connectcases/src/operation/update_field/builders.rs +++ b/sdk/connectcases/src/operation/update_field/builders.rs @@ -19,9 +19,9 @@ impl UpdateFieldFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl UpdateFieldFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::update_field::UpdateField, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                The unique identifier of the Cases domain.

                                pub fn domain_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.domain_id(input.into()); diff --git a/sdk/connectcases/src/operation/update_layout/builders.rs b/sdk/connectcases/src/operation/update_layout/builders.rs index 6a783d2f01aa..7582c8f3f8db 100644 --- a/sdk/connectcases/src/operation/update_layout/builders.rs +++ b/sdk/connectcases/src/operation/update_layout/builders.rs @@ -23,9 +23,9 @@ impl UpdateLayoutFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -81,6 +81,20 @@ impl UpdateLayoutFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::update_layout::UpdateLayout, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                The unique identifier of the Cases domain.

                                pub fn domain_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.domain_id(input.into()); diff --git a/sdk/connectcases/src/operation/update_template/builders.rs b/sdk/connectcases/src/operation/update_template/builders.rs index 5bbe5f1f6cba..b247cdd314e5 100644 --- a/sdk/connectcases/src/operation/update_template/builders.rs +++ b/sdk/connectcases/src/operation/update_template/builders.rs @@ -19,9 +19,9 @@ impl UpdateTemplateFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl UpdateTemplateFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::update_template::UpdateTemplate, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                The unique identifier of the Cases domain.

                                pub fn domain_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.domain_id(input.into()); diff --git a/sdk/connectcontactlens/src/operation/list_realtime_contact_analysis_segments/builders.rs b/sdk/connectcontactlens/src/operation/list_realtime_contact_analysis_segments/builders.rs index ab9227ec54dd..53b66f2d6a61 100644 --- a/sdk/connectcontactlens/src/operation/list_realtime_contact_analysis_segments/builders.rs +++ b/sdk/connectcontactlens/src/operation/list_realtime_contact_analysis_segments/builders.rs @@ -19,9 +19,9 @@ impl ListRealtimeContactAnalysisSegmentsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize(self) -> ::std::result::Result< + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware(self) -> ::std::result::Result< crate::client::customize::CustomizableOperation, ::aws_smithy_http::result::SdkError >{ @@ -64,6 +64,15 @@ impl ListRealtimeContactAnalysisSegmentsFluentBuilder { { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize(self) -> ::std::result::Result< + crate::client::customize::CustomizableOperation, + ::aws_smithy_http::result::SdkError + >{ + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::list_realtime_contact_analysis_segments::paginator::ListRealtimeContactAnalysisSegmentsPaginator::send) which returns a `Stream`. diff --git a/sdk/connectparticipant/src/operation/complete_attachment_upload/builders.rs b/sdk/connectparticipant/src/operation/complete_attachment_upload/builders.rs index 66e115c7683f..1ed073f58e4d 100644 --- a/sdk/connectparticipant/src/operation/complete_attachment_upload/builders.rs +++ b/sdk/connectparticipant/src/operation/complete_attachment_upload/builders.rs @@ -22,9 +22,9 @@ impl CompleteAttachmentUploadFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -86,6 +86,22 @@ impl CompleteAttachmentUploadFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::complete_attachment_upload::CompleteAttachmentUpload, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::complete_attachment_upload::CompleteAttachmentUploadError, + >, + > { + self.customize_middleware().await + } /// Appends an item to `AttachmentIds`. /// /// To override the contents of this collection use [`set_attachment_ids`](Self::set_attachment_ids). diff --git a/sdk/connectparticipant/src/operation/create_participant_connection/builders.rs b/sdk/connectparticipant/src/operation/create_participant_connection/builders.rs index 956c24287ea6..063f232524d7 100644 --- a/sdk/connectparticipant/src/operation/create_participant_connection/builders.rs +++ b/sdk/connectparticipant/src/operation/create_participant_connection/builders.rs @@ -30,9 +30,9 @@ impl CreateParticipantConnectionFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -94,6 +94,22 @@ impl CreateParticipantConnectionFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::create_participant_connection::CreateParticipantConnection, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::create_participant_connection::CreateParticipantConnectionError, + >, + > { + self.customize_middleware().await + } /// Appends an item to `Type`. /// /// To override the contents of this collection use [`set_type`](Self::set_type). diff --git a/sdk/connectparticipant/src/operation/disconnect_participant/builders.rs b/sdk/connectparticipant/src/operation/disconnect_participant/builders.rs index 0caf34400afe..9b6d32f9db18 100644 --- a/sdk/connectparticipant/src/operation/disconnect_participant/builders.rs +++ b/sdk/connectparticipant/src/operation/disconnect_participant/builders.rs @@ -22,9 +22,9 @@ impl DisconnectParticipantFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -86,6 +86,22 @@ impl DisconnectParticipantFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::disconnect_participant::DisconnectParticipant, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::disconnect_participant::DisconnectParticipantError, + >, + > { + self.customize_middleware().await + } ///

                                A unique, case-sensitive identifier that you provide to ensure the idempotency of the request. If not provided, the Amazon Web Services SDK populates this field. For more information about idempotency, see Making retries safe with idempotent APIs.

                                pub fn client_token(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.client_token(input.into()); diff --git a/sdk/connectparticipant/src/operation/get_attachment/builders.rs b/sdk/connectparticipant/src/operation/get_attachment/builders.rs index 42445e0a8520..e12f4d10521d 100644 --- a/sdk/connectparticipant/src/operation/get_attachment/builders.rs +++ b/sdk/connectparticipant/src/operation/get_attachment/builders.rs @@ -22,9 +22,9 @@ impl GetAttachmentFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -80,6 +80,20 @@ impl GetAttachmentFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::get_attachment::GetAttachment, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                A unique identifier for the attachment.

                                pub fn attachment_id( mut self, diff --git a/sdk/connectparticipant/src/operation/get_transcript/builders.rs b/sdk/connectparticipant/src/operation/get_transcript/builders.rs index 2baae1e9d4a0..50eb79a72ea3 100644 --- a/sdk/connectparticipant/src/operation/get_transcript/builders.rs +++ b/sdk/connectparticipant/src/operation/get_transcript/builders.rs @@ -22,9 +22,9 @@ impl GetTranscriptFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -80,6 +80,20 @@ impl GetTranscriptFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::get_transcript::GetTranscript, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::get_transcript::paginator::GetTranscriptPaginator::send) which returns a `Stream`. diff --git a/sdk/connectparticipant/src/operation/send_event/builders.rs b/sdk/connectparticipant/src/operation/send_event/builders.rs index b0fad4467176..dfa51207505f 100644 --- a/sdk/connectparticipant/src/operation/send_event/builders.rs +++ b/sdk/connectparticipant/src/operation/send_event/builders.rs @@ -22,9 +22,9 @@ impl SendEventFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -80,6 +80,20 @@ impl SendEventFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::send_event::SendEvent, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                The content type of the request. Supported types are:

                                ///
                                  ///
                                • application/vnd.amazonaws.connect.event.typing

                                • diff --git a/sdk/connectparticipant/src/operation/send_message/builders.rs b/sdk/connectparticipant/src/operation/send_message/builders.rs index 8814fcb66295..5f722eb8e69b 100644 --- a/sdk/connectparticipant/src/operation/send_message/builders.rs +++ b/sdk/connectparticipant/src/operation/send_message/builders.rs @@ -22,9 +22,9 @@ impl SendMessageFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -80,6 +80,20 @@ impl SendMessageFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::send_message::SendMessage, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                  The type of the content. Supported types are text/plain, text/markdown, application/json, and application/vnd.amazonaws.connect.message.interactive.response.

                                  pub fn content_type(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.content_type(input.into()); diff --git a/sdk/connectparticipant/src/operation/start_attachment_upload/builders.rs b/sdk/connectparticipant/src/operation/start_attachment_upload/builders.rs index a60d27126b6d..d2b437b273d7 100644 --- a/sdk/connectparticipant/src/operation/start_attachment_upload/builders.rs +++ b/sdk/connectparticipant/src/operation/start_attachment_upload/builders.rs @@ -22,9 +22,9 @@ impl StartAttachmentUploadFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -86,6 +86,22 @@ impl StartAttachmentUploadFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::start_attachment_upload::StartAttachmentUpload, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::start_attachment_upload::StartAttachmentUploadError, + >, + > { + self.customize_middleware().await + } ///

                                  Describes the MIME file type of the attachment. For a list of supported file types, see Feature specifications in the Amazon Connect Administrator Guide.

                                  pub fn content_type(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.content_type(input.into()); diff --git a/sdk/controltower/src/operation/disable_control/builders.rs b/sdk/controltower/src/operation/disable_control/builders.rs index 29fbf3f3a5ca..4ed4eac77d86 100644 --- a/sdk/controltower/src/operation/disable_control/builders.rs +++ b/sdk/controltower/src/operation/disable_control/builders.rs @@ -19,9 +19,9 @@ impl DisableControlFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl DisableControlFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::disable_control::DisableControl, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                  The ARN of the control. Only Strongly recommended and Elective controls are permitted, with the exception of the Region deny guardrail.

                                  pub fn control_identifier( mut self, diff --git a/sdk/controltower/src/operation/enable_control/builders.rs b/sdk/controltower/src/operation/enable_control/builders.rs index afd41fd36e34..aca79e1bb06e 100644 --- a/sdk/controltower/src/operation/enable_control/builders.rs +++ b/sdk/controltower/src/operation/enable_control/builders.rs @@ -19,9 +19,9 @@ impl EnableControlFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl EnableControlFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::enable_control::EnableControl, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                  The ARN of the control. Only Strongly recommended and Elective controls are permitted, with the exception of the Region deny guardrail.

                                  pub fn control_identifier( mut self, diff --git a/sdk/controltower/src/operation/get_control_operation/builders.rs b/sdk/controltower/src/operation/get_control_operation/builders.rs index a12a0b5e575a..f07035a2c620 100644 --- a/sdk/controltower/src/operation/get_control_operation/builders.rs +++ b/sdk/controltower/src/operation/get_control_operation/builders.rs @@ -19,9 +19,9 @@ impl GetControlOperationFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl GetControlOperationFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::get_control_operation::GetControlOperation, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::get_control_operation::GetControlOperationError, + >, + > { + self.customize_middleware().await + } ///

                                  The ID of the asynchronous operation, which is used to track status. The operation is available for 90 days.

                                  pub fn operation_identifier( mut self, diff --git a/sdk/controltower/src/operation/list_enabled_controls/builders.rs b/sdk/controltower/src/operation/list_enabled_controls/builders.rs index 483e5f8450a1..e2e284ba89ee 100644 --- a/sdk/controltower/src/operation/list_enabled_controls/builders.rs +++ b/sdk/controltower/src/operation/list_enabled_controls/builders.rs @@ -19,9 +19,9 @@ impl ListEnabledControlsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl ListEnabledControlsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_enabled_controls::ListEnabledControls, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::list_enabled_controls::ListEnabledControlsError, + >, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::list_enabled_controls::paginator::ListEnabledControlsPaginator::send) which returns a `Stream`. diff --git a/sdk/costandusagereport/src/operation/delete_report_definition/builders.rs b/sdk/costandusagereport/src/operation/delete_report_definition/builders.rs index fd66975a8450..bafd2ad37ecf 100644 --- a/sdk/costandusagereport/src/operation/delete_report_definition/builders.rs +++ b/sdk/costandusagereport/src/operation/delete_report_definition/builders.rs @@ -19,9 +19,9 @@ impl DeleteReportDefinitionFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl DeleteReportDefinitionFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::delete_report_definition::DeleteReportDefinition, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::delete_report_definition::DeleteReportDefinitionError, + >, + > { + self.customize_middleware().await + } ///

                                  The name of the report that you want to delete. The name must be unique, is case sensitive, and can't include spaces.

                                  pub fn report_name(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.report_name(input.into()); diff --git a/sdk/costandusagereport/src/operation/describe_report_definitions/builders.rs b/sdk/costandusagereport/src/operation/describe_report_definitions/builders.rs index eb9f139863ab..00518297ed5f 100644 --- a/sdk/costandusagereport/src/operation/describe_report_definitions/builders.rs +++ b/sdk/costandusagereport/src/operation/describe_report_definitions/builders.rs @@ -19,9 +19,9 @@ impl DescribeReportDefinitionsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl DescribeReportDefinitionsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::describe_report_definitions::DescribeReportDefinitions, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::describe_report_definitions::DescribeReportDefinitionsError, + >, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::describe_report_definitions::paginator::DescribeReportDefinitionsPaginator::send) which returns a `Stream`. diff --git a/sdk/costandusagereport/src/operation/modify_report_definition/builders.rs b/sdk/costandusagereport/src/operation/modify_report_definition/builders.rs index 43a5ade57092..8faa5dc34e64 100644 --- a/sdk/costandusagereport/src/operation/modify_report_definition/builders.rs +++ b/sdk/costandusagereport/src/operation/modify_report_definition/builders.rs @@ -19,9 +19,9 @@ impl ModifyReportDefinitionFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl ModifyReportDefinitionFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::modify_report_definition::ModifyReportDefinition, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::modify_report_definition::ModifyReportDefinitionError, + >, + > { + self.customize_middleware().await + } ///

                                  The name of the report that you want to create. The name must be unique, is case sensitive, and can't include spaces.

                                  pub fn report_name(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.report_name(input.into()); diff --git a/sdk/costandusagereport/src/operation/put_report_definition/builders.rs b/sdk/costandusagereport/src/operation/put_report_definition/builders.rs index 5fbbd5668530..a202d3f7f1db 100644 --- a/sdk/costandusagereport/src/operation/put_report_definition/builders.rs +++ b/sdk/costandusagereport/src/operation/put_report_definition/builders.rs @@ -19,9 +19,9 @@ impl PutReportDefinitionFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl PutReportDefinitionFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::put_report_definition::PutReportDefinition, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::put_report_definition::PutReportDefinitionError, + >, + > { + self.customize_middleware().await + } ///

                                  Represents the output of the PutReportDefinition operation. The content consists of the detailed metadata and data file information.

                                  pub fn report_definition(mut self, input: crate::types::ReportDefinition) -> Self { self.inner = self.inner.report_definition(input); diff --git a/sdk/costexplorer/src/operation/create_anomaly_monitor/builders.rs b/sdk/costexplorer/src/operation/create_anomaly_monitor/builders.rs index 1fd95587c376..06fa56e99fa7 100644 --- a/sdk/costexplorer/src/operation/create_anomaly_monitor/builders.rs +++ b/sdk/costexplorer/src/operation/create_anomaly_monitor/builders.rs @@ -19,9 +19,9 @@ impl CreateAnomalyMonitorFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl CreateAnomalyMonitorFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::create_anomaly_monitor::CreateAnomalyMonitor, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::create_anomaly_monitor::CreateAnomalyMonitorError, + >, + > { + self.customize_middleware().await + } ///

                                  The cost anomaly detection monitor object that you want to create.

                                  pub fn anomaly_monitor(mut self, input: crate::types::AnomalyMonitor) -> Self { self.inner = self.inner.anomaly_monitor(input); diff --git a/sdk/costexplorer/src/operation/create_anomaly_subscription/builders.rs b/sdk/costexplorer/src/operation/create_anomaly_subscription/builders.rs index 8f6183c10c7c..87ba96cd3784 100644 --- a/sdk/costexplorer/src/operation/create_anomaly_subscription/builders.rs +++ b/sdk/costexplorer/src/operation/create_anomaly_subscription/builders.rs @@ -19,9 +19,9 @@ impl CreateAnomalySubscriptionFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl CreateAnomalySubscriptionFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::create_anomaly_subscription::CreateAnomalySubscription, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::create_anomaly_subscription::CreateAnomalySubscriptionError, + >, + > { + self.customize_middleware().await + } ///

                                  The cost anomaly subscription object that you want to create.

                                  pub fn anomaly_subscription(mut self, input: crate::types::AnomalySubscription) -> Self { self.inner = self.inner.anomaly_subscription(input); diff --git a/sdk/costexplorer/src/operation/create_cost_category_definition/builders.rs b/sdk/costexplorer/src/operation/create_cost_category_definition/builders.rs index 9a0067d2d2ed..7d1c9cffe23a 100644 --- a/sdk/costexplorer/src/operation/create_cost_category_definition/builders.rs +++ b/sdk/costexplorer/src/operation/create_cost_category_definition/builders.rs @@ -19,9 +19,9 @@ impl CreateCostCategoryDefinitionFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl CreateCostCategoryDefinitionFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::create_cost_category_definition::CreateCostCategoryDefinition, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::create_cost_category_definition::CreateCostCategoryDefinitionError, + >, + > { + self.customize_middleware().await + } ///

                                  The unique name of the Cost Category.

                                  pub fn name(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.name(input.into()); diff --git a/sdk/costexplorer/src/operation/delete_anomaly_monitor/builders.rs b/sdk/costexplorer/src/operation/delete_anomaly_monitor/builders.rs index 7300e68aae30..041c95cf2382 100644 --- a/sdk/costexplorer/src/operation/delete_anomaly_monitor/builders.rs +++ b/sdk/costexplorer/src/operation/delete_anomaly_monitor/builders.rs @@ -19,9 +19,9 @@ impl DeleteAnomalyMonitorFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl DeleteAnomalyMonitorFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::delete_anomaly_monitor::DeleteAnomalyMonitor, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::delete_anomaly_monitor::DeleteAnomalyMonitorError, + >, + > { + self.customize_middleware().await + } ///

                                  The unique identifier of the cost anomaly monitor that you want to delete.

                                  pub fn monitor_arn(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.monitor_arn(input.into()); diff --git a/sdk/costexplorer/src/operation/delete_anomaly_subscription/builders.rs b/sdk/costexplorer/src/operation/delete_anomaly_subscription/builders.rs index d33f419c1ef6..df1b1a120e3f 100644 --- a/sdk/costexplorer/src/operation/delete_anomaly_subscription/builders.rs +++ b/sdk/costexplorer/src/operation/delete_anomaly_subscription/builders.rs @@ -19,9 +19,9 @@ impl DeleteAnomalySubscriptionFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl DeleteAnomalySubscriptionFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::delete_anomaly_subscription::DeleteAnomalySubscription, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::delete_anomaly_subscription::DeleteAnomalySubscriptionError, + >, + > { + self.customize_middleware().await + } ///

                                  The unique identifier of the cost anomaly subscription that you want to delete.

                                  pub fn subscription_arn( mut self, diff --git a/sdk/costexplorer/src/operation/delete_cost_category_definition/builders.rs b/sdk/costexplorer/src/operation/delete_cost_category_definition/builders.rs index 2675a12c2f2e..522db37ac35c 100644 --- a/sdk/costexplorer/src/operation/delete_cost_category_definition/builders.rs +++ b/sdk/costexplorer/src/operation/delete_cost_category_definition/builders.rs @@ -19,9 +19,9 @@ impl DeleteCostCategoryDefinitionFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl DeleteCostCategoryDefinitionFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::delete_cost_category_definition::DeleteCostCategoryDefinition, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::delete_cost_category_definition::DeleteCostCategoryDefinitionError, + >, + > { + self.customize_middleware().await + } ///

                                  The unique identifier for your Cost Category.

                                  pub fn cost_category_arn( mut self, diff --git a/sdk/costexplorer/src/operation/describe_cost_category_definition/builders.rs b/sdk/costexplorer/src/operation/describe_cost_category_definition/builders.rs index 461d9b584acd..8b099baf5c44 100644 --- a/sdk/costexplorer/src/operation/describe_cost_category_definition/builders.rs +++ b/sdk/costexplorer/src/operation/describe_cost_category_definition/builders.rs @@ -20,9 +20,9 @@ impl DescribeCostCategoryDefinitionFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize(self) -> ::std::result::Result< + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware(self) -> ::std::result::Result< crate::client::customize::CustomizableOperation, ::aws_smithy_http::result::SdkError >{ @@ -65,6 +65,15 @@ impl DescribeCostCategoryDefinitionFluentBuilder { { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize(self) -> ::std::result::Result< + crate::client::customize::CustomizableOperation, + ::aws_smithy_http::result::SdkError + >{ + self.customize_middleware().await + } ///

                                  The unique identifier for your Cost Category.

                                  pub fn cost_category_arn( mut self, diff --git a/sdk/costexplorer/src/operation/get_anomalies/builders.rs b/sdk/costexplorer/src/operation/get_anomalies/builders.rs index 8546c41eae2c..d444ad3cb6c7 100644 --- a/sdk/costexplorer/src/operation/get_anomalies/builders.rs +++ b/sdk/costexplorer/src/operation/get_anomalies/builders.rs @@ -19,9 +19,9 @@ impl GetAnomaliesFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl GetAnomaliesFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::get_anomalies::GetAnomalies, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                  Retrieves all of the cost anomalies detected for a specific cost anomaly monitor Amazon Resource Name (ARN).

                                  pub fn monitor_arn(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.monitor_arn(input.into()); diff --git a/sdk/costexplorer/src/operation/get_anomaly_monitors/builders.rs b/sdk/costexplorer/src/operation/get_anomaly_monitors/builders.rs index 0b7e8f62cb11..9eb2e537989e 100644 --- a/sdk/costexplorer/src/operation/get_anomaly_monitors/builders.rs +++ b/sdk/costexplorer/src/operation/get_anomaly_monitors/builders.rs @@ -19,9 +19,9 @@ impl GetAnomalyMonitorsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl GetAnomalyMonitorsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::get_anomaly_monitors::GetAnomalyMonitors, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::get_anomaly_monitors::GetAnomalyMonitorsError, + >, + > { + self.customize_middleware().await + } /// Appends an item to `MonitorArnList`. /// /// To override the contents of this collection use [`set_monitor_arn_list`](Self::set_monitor_arn_list). diff --git a/sdk/costexplorer/src/operation/get_anomaly_subscriptions/builders.rs b/sdk/costexplorer/src/operation/get_anomaly_subscriptions/builders.rs index 2a022d937f6b..0b90c55d37e3 100644 --- a/sdk/costexplorer/src/operation/get_anomaly_subscriptions/builders.rs +++ b/sdk/costexplorer/src/operation/get_anomaly_subscriptions/builders.rs @@ -20,9 +20,9 @@ impl GetAnomalySubscriptionsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -84,6 +84,22 @@ impl GetAnomalySubscriptionsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::get_anomaly_subscriptions::GetAnomalySubscriptions, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::get_anomaly_subscriptions::GetAnomalySubscriptionsError, + >, + > { + self.customize_middleware().await + } /// Appends an item to `SubscriptionArnList`. /// /// To override the contents of this collection use [`set_subscription_arn_list`](Self::set_subscription_arn_list). diff --git a/sdk/costexplorer/src/operation/get_cost_and_usage/builders.rs b/sdk/costexplorer/src/operation/get_cost_and_usage/builders.rs index 561b1682c7ab..7a5dbe76e836 100644 --- a/sdk/costexplorer/src/operation/get_cost_and_usage/builders.rs +++ b/sdk/costexplorer/src/operation/get_cost_and_usage/builders.rs @@ -20,9 +20,9 @@ impl GetCostAndUsageFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -84,6 +84,22 @@ impl GetCostAndUsageFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::get_cost_and_usage::GetCostAndUsage, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::get_cost_and_usage::GetCostAndUsageError, + >, + > { + self.customize_middleware().await + } ///

                                  Sets the start date and end date for retrieving Amazon Web Services costs. The start date is inclusive, but the end date is exclusive. For example, if start is 2017-01-01 and end is 2017-05-01, then the cost and usage data is retrieved from 2017-01-01 up to and including 2017-04-30 but not including 2017-05-01.

                                  pub fn time_period(mut self, input: crate::types::DateInterval) -> Self { self.inner = self.inner.time_period(input); diff --git a/sdk/costexplorer/src/operation/get_cost_and_usage_with_resources/builders.rs b/sdk/costexplorer/src/operation/get_cost_and_usage_with_resources/builders.rs index 493677cc2dca..5f9794865de6 100644 --- a/sdk/costexplorer/src/operation/get_cost_and_usage_with_resources/builders.rs +++ b/sdk/costexplorer/src/operation/get_cost_and_usage_with_resources/builders.rs @@ -21,9 +21,9 @@ impl GetCostAndUsageWithResourcesFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -85,6 +85,22 @@ impl GetCostAndUsageWithResourcesFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::get_cost_and_usage_with_resources::GetCostAndUsageWithResources, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::get_cost_and_usage_with_resources::GetCostAndUsageWithResourcesError, + >, + > { + self.customize_middleware().await + } ///

                                  Sets the start and end dates for retrieving Amazon Web Services costs. The range must be within the last 14 days (the start date cannot be earlier than 14 days ago). The start date is inclusive, but the end date is exclusive. For example, if start is 2017-01-01 and end is 2017-05-01, then the cost and usage data is retrieved from 2017-01-01 up to and including 2017-04-30 but not including 2017-05-01.

                                  pub fn time_period(mut self, input: crate::types::DateInterval) -> Self { self.inner = self.inner.time_period(input); diff --git a/sdk/costexplorer/src/operation/get_cost_categories/builders.rs b/sdk/costexplorer/src/operation/get_cost_categories/builders.rs index 03b04e6a49c8..d68df64fb1cd 100644 --- a/sdk/costexplorer/src/operation/get_cost_categories/builders.rs +++ b/sdk/costexplorer/src/operation/get_cost_categories/builders.rs @@ -21,9 +21,9 @@ impl GetCostCategoriesFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -85,6 +85,22 @@ impl GetCostCategoriesFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::get_cost_categories::GetCostCategories, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::get_cost_categories::GetCostCategoriesError, + >, + > { + self.customize_middleware().await + } ///

                                  The value that you want to search the filter values for.

                                  ///

                                  If you don't specify a CostCategoryName, SearchString is used to filter Cost Category names that match the SearchString pattern. If you specify a CostCategoryName, SearchString is used to filter Cost Category values that match the SearchString pattern.

                                  pub fn search_string( diff --git a/sdk/costexplorer/src/operation/get_cost_forecast/builders.rs b/sdk/costexplorer/src/operation/get_cost_forecast/builders.rs index 515f4f9684e4..1e89f8eee49e 100644 --- a/sdk/costexplorer/src/operation/get_cost_forecast/builders.rs +++ b/sdk/costexplorer/src/operation/get_cost_forecast/builders.rs @@ -19,9 +19,9 @@ impl GetCostForecastFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl GetCostForecastFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::get_cost_forecast::GetCostForecast, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::get_cost_forecast::GetCostForecastError, + >, + > { + self.customize_middleware().await + } ///

                                  The period of time that you want the forecast to cover. The start date must be equal to or no later than the current date to avoid a validation error.

                                  pub fn time_period(mut self, input: crate::types::DateInterval) -> Self { self.inner = self.inner.time_period(input); diff --git a/sdk/costexplorer/src/operation/get_dimension_values/builders.rs b/sdk/costexplorer/src/operation/get_dimension_values/builders.rs index da72b4c8a580..d9c43cfb1298 100644 --- a/sdk/costexplorer/src/operation/get_dimension_values/builders.rs +++ b/sdk/costexplorer/src/operation/get_dimension_values/builders.rs @@ -19,9 +19,9 @@ impl GetDimensionValuesFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl GetDimensionValuesFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::get_dimension_values::GetDimensionValues, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::get_dimension_values::GetDimensionValuesError, + >, + > { + self.customize_middleware().await + } ///

                                  The value that you want to search the filter values for.

                                  pub fn search_string( mut self, diff --git a/sdk/costexplorer/src/operation/get_reservation_coverage/builders.rs b/sdk/costexplorer/src/operation/get_reservation_coverage/builders.rs index e3509ad9c1ed..fd2f706db440 100644 --- a/sdk/costexplorer/src/operation/get_reservation_coverage/builders.rs +++ b/sdk/costexplorer/src/operation/get_reservation_coverage/builders.rs @@ -34,9 +34,9 @@ impl GetReservationCoverageFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -98,6 +98,22 @@ impl GetReservationCoverageFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::get_reservation_coverage::GetReservationCoverage, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::get_reservation_coverage::GetReservationCoverageError, + >, + > { + self.customize_middleware().await + } ///

                                  The start and end dates of the period that you want to retrieve data about reservation coverage for. You can retrieve data for a maximum of 13 months: the last 12 months and the current month. The start date is inclusive, but the end date is exclusive. For example, if start is 2017-01-01 and end is 2017-05-01, then the cost and usage data is retrieved from 2017-01-01 up to and including 2017-04-30 but not including 2017-05-01.

                                  pub fn time_period(mut self, input: crate::types::DateInterval) -> Self { self.inner = self.inner.time_period(input); diff --git a/sdk/costexplorer/src/operation/get_reservation_purchase_recommendation/builders.rs b/sdk/costexplorer/src/operation/get_reservation_purchase_recommendation/builders.rs index 15e19e93d305..f4e1ca715748 100644 --- a/sdk/costexplorer/src/operation/get_reservation_purchase_recommendation/builders.rs +++ b/sdk/costexplorer/src/operation/get_reservation_purchase_recommendation/builders.rs @@ -21,9 +21,9 @@ impl GetReservationPurchaseRecommendationFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize(self) -> ::std::result::Result< + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware(self) -> ::std::result::Result< crate::client::customize::CustomizableOperation, ::aws_smithy_http::result::SdkError >{ @@ -66,6 +66,15 @@ impl GetReservationPurchaseRecommendationFluentBuilder { { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize(self) -> ::std::result::Result< + crate::client::customize::CustomizableOperation, + ::aws_smithy_http::result::SdkError + >{ + self.customize_middleware().await + } ///

                                  The account ID that's associated with the recommendation.

                                  pub fn account_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.account_id(input.into()); diff --git a/sdk/costexplorer/src/operation/get_reservation_utilization/builders.rs b/sdk/costexplorer/src/operation/get_reservation_utilization/builders.rs index cc7b6d8d054f..fff2c2808aed 100644 --- a/sdk/costexplorer/src/operation/get_reservation_utilization/builders.rs +++ b/sdk/costexplorer/src/operation/get_reservation_utilization/builders.rs @@ -19,9 +19,9 @@ impl GetReservationUtilizationFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl GetReservationUtilizationFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::get_reservation_utilization::GetReservationUtilization, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::get_reservation_utilization::GetReservationUtilizationError, + >, + > { + self.customize_middleware().await + } ///

                                  Sets the start and end dates for retrieving Reserved Instance (RI) utilization. The start date is inclusive, but the end date is exclusive. For example, if start is 2017-01-01 and end is 2017-05-01, then the cost and usage data is retrieved from 2017-01-01 up to and including 2017-04-30 but not including 2017-05-01.

                                  pub fn time_period(mut self, input: crate::types::DateInterval) -> Self { self.inner = self.inner.time_period(input); diff --git a/sdk/costexplorer/src/operation/get_rightsizing_recommendation/builders.rs b/sdk/costexplorer/src/operation/get_rightsizing_recommendation/builders.rs index 5b188fe48e6b..82bc3a75dfb7 100644 --- a/sdk/costexplorer/src/operation/get_rightsizing_recommendation/builders.rs +++ b/sdk/costexplorer/src/operation/get_rightsizing_recommendation/builders.rs @@ -20,9 +20,9 @@ impl GetRightsizingRecommendationFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -84,6 +84,22 @@ impl GetRightsizingRecommendationFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::get_rightsizing_recommendation::GetRightsizingRecommendation, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::get_rightsizing_recommendation::GetRightsizingRecommendationError, + >, + > { + self.customize_middleware().await + } ///

                                  Use Expression to filter in various Cost Explorer APIs.

                                  ///

                                  Not all Expression types are supported in each API. Refer to the documentation for each specific API to see what is supported.

                                  ///

                                  There are two patterns:

                                  diff --git a/sdk/costexplorer/src/operation/get_savings_plans_coverage/builders.rs b/sdk/costexplorer/src/operation/get_savings_plans_coverage/builders.rs index 97e0cc7ed652..10cad1596444 100644 --- a/sdk/costexplorer/src/operation/get_savings_plans_coverage/builders.rs +++ b/sdk/costexplorer/src/operation/get_savings_plans_coverage/builders.rs @@ -27,9 +27,9 @@ impl GetSavingsPlansCoverageFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -91,6 +91,22 @@ impl GetSavingsPlansCoverageFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::get_savings_plans_coverage::GetSavingsPlansCoverage, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::get_savings_plans_coverage::GetSavingsPlansCoverageError, + >, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::get_savings_plans_coverage::paginator::GetSavingsPlansCoveragePaginator::send) which returns a `Stream`. diff --git a/sdk/costexplorer/src/operation/get_savings_plans_purchase_recommendation/builders.rs b/sdk/costexplorer/src/operation/get_savings_plans_purchase_recommendation/builders.rs index 4503b8d4ee56..275773e94adb 100644 --- a/sdk/costexplorer/src/operation/get_savings_plans_purchase_recommendation/builders.rs +++ b/sdk/costexplorer/src/operation/get_savings_plans_purchase_recommendation/builders.rs @@ -19,9 +19,9 @@ impl GetSavingsPlansPurchaseRecommendationFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize(self) -> ::std::result::Result< + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware(self) -> ::std::result::Result< crate::client::customize::CustomizableOperation, ::aws_smithy_http::result::SdkError >{ @@ -64,6 +64,15 @@ impl GetSavingsPlansPurchaseRecommendationFluentBuilder { { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize(self) -> ::std::result::Result< + crate::client::customize::CustomizableOperation, + ::aws_smithy_http::result::SdkError + >{ + self.customize_middleware().await + } ///

                                  The Savings Plans recommendation type that's requested.

                                  pub fn savings_plans_type(mut self, input: crate::types::SupportedSavingsPlansType) -> Self { self.inner = self.inner.savings_plans_type(input); diff --git a/sdk/costexplorer/src/operation/get_savings_plans_utilization/builders.rs b/sdk/costexplorer/src/operation/get_savings_plans_utilization/builders.rs index 3a278f589f1a..e0924594ff0f 100644 --- a/sdk/costexplorer/src/operation/get_savings_plans_utilization/builders.rs +++ b/sdk/costexplorer/src/operation/get_savings_plans_utilization/builders.rs @@ -21,9 +21,9 @@ impl GetSavingsPlansUtilizationFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -85,6 +85,22 @@ impl GetSavingsPlansUtilizationFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::get_savings_plans_utilization::GetSavingsPlansUtilization, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::get_savings_plans_utilization::GetSavingsPlansUtilizationError, + >, + > { + self.customize_middleware().await + } ///

                                  The time period that you want the usage and costs for. The Start date must be within 13 months. The End date must be after the Start date, and before the current date. Future dates can't be used as an End date.

                                  pub fn time_period(mut self, input: crate::types::DateInterval) -> Self { self.inner = self.inner.time_period(input); diff --git a/sdk/costexplorer/src/operation/get_savings_plans_utilization_details/builders.rs b/sdk/costexplorer/src/operation/get_savings_plans_utilization_details/builders.rs index 96b36909dee5..5e79b81737d4 100644 --- a/sdk/costexplorer/src/operation/get_savings_plans_utilization_details/builders.rs +++ b/sdk/costexplorer/src/operation/get_savings_plans_utilization_details/builders.rs @@ -21,9 +21,9 @@ impl GetSavingsPlansUtilizationDetailsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize(self) -> ::std::result::Result< + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware(self) -> ::std::result::Result< crate::client::customize::CustomizableOperation, ::aws_smithy_http::result::SdkError >{ @@ -66,6 +66,15 @@ impl GetSavingsPlansUtilizationDetailsFluentBuilder { { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize(self) -> ::std::result::Result< + crate::client::customize::CustomizableOperation, + ::aws_smithy_http::result::SdkError + >{ + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::get_savings_plans_utilization_details::paginator::GetSavingsPlansUtilizationDetailsPaginator::send) which returns a `Stream`. diff --git a/sdk/costexplorer/src/operation/get_tags/builders.rs b/sdk/costexplorer/src/operation/get_tags/builders.rs index 7955b0d74f81..af41fa889dba 100644 --- a/sdk/costexplorer/src/operation/get_tags/builders.rs +++ b/sdk/costexplorer/src/operation/get_tags/builders.rs @@ -19,9 +19,9 @@ impl GetTagsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl GetTagsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::get_tags::GetTags, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                  The value that you want to search for.

                                  pub fn search_string( mut self, diff --git a/sdk/costexplorer/src/operation/get_usage_forecast/builders.rs b/sdk/costexplorer/src/operation/get_usage_forecast/builders.rs index 629be50ef31b..9c943a38ddfb 100644 --- a/sdk/costexplorer/src/operation/get_usage_forecast/builders.rs +++ b/sdk/costexplorer/src/operation/get_usage_forecast/builders.rs @@ -19,9 +19,9 @@ impl GetUsageForecastFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl GetUsageForecastFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::get_usage_forecast::GetUsageForecast, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::get_usage_forecast::GetUsageForecastError, + >, + > { + self.customize_middleware().await + } ///

                                  The start and end dates of the period that you want to retrieve usage forecast for. The start date is included in the period, but the end date isn't included in the period. For example, if start is 2017-01-01 and end is 2017-05-01, then the cost and usage data is retrieved from 2017-01-01 up to and including 2017-04-30 but not including 2017-05-01. The start date must be equal to or later than the current date to avoid a validation error.

                                  pub fn time_period(mut self, input: crate::types::DateInterval) -> Self { self.inner = self.inner.time_period(input); diff --git a/sdk/costexplorer/src/operation/list_cost_allocation_tags/builders.rs b/sdk/costexplorer/src/operation/list_cost_allocation_tags/builders.rs index 6a635a4f723c..2ad259fd19a9 100644 --- a/sdk/costexplorer/src/operation/list_cost_allocation_tags/builders.rs +++ b/sdk/costexplorer/src/operation/list_cost_allocation_tags/builders.rs @@ -20,9 +20,9 @@ impl ListCostAllocationTagsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -84,6 +84,22 @@ impl ListCostAllocationTagsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_cost_allocation_tags::ListCostAllocationTags, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::list_cost_allocation_tags::ListCostAllocationTagsError, + >, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::list_cost_allocation_tags::paginator::ListCostAllocationTagsPaginator::send) which returns a `Stream`. diff --git a/sdk/costexplorer/src/operation/list_cost_category_definitions/builders.rs b/sdk/costexplorer/src/operation/list_cost_category_definitions/builders.rs index 8b35fb045dc8..4c9d6288edee 100644 --- a/sdk/costexplorer/src/operation/list_cost_category_definitions/builders.rs +++ b/sdk/costexplorer/src/operation/list_cost_category_definitions/builders.rs @@ -19,9 +19,9 @@ impl ListCostCategoryDefinitionsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl ListCostCategoryDefinitionsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_cost_category_definitions::ListCostCategoryDefinitions, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::list_cost_category_definitions::ListCostCategoryDefinitionsError, + >, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::list_cost_category_definitions::paginator::ListCostCategoryDefinitionsPaginator::send) which returns a `Stream`. diff --git a/sdk/costexplorer/src/operation/list_savings_plans_purchase_recommendation_generation/builders.rs b/sdk/costexplorer/src/operation/list_savings_plans_purchase_recommendation_generation/builders.rs index cad68465461c..d49fcdcb173f 100644 --- a/sdk/costexplorer/src/operation/list_savings_plans_purchase_recommendation_generation/builders.rs +++ b/sdk/costexplorer/src/operation/list_savings_plans_purchase_recommendation_generation/builders.rs @@ -19,9 +19,9 @@ impl ListSavingsPlansPurchaseRecommendationGenerationFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize(self) -> ::std::result::Result< + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware(self) -> ::std::result::Result< crate::client::customize::CustomizableOperation, ::aws_smithy_http::result::SdkError >{ @@ -64,6 +64,15 @@ impl ListSavingsPlansPurchaseRecommendationGenerationFluentBuilder { { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize(self) -> ::std::result::Result< + crate::client::customize::CustomizableOperation, + ::aws_smithy_http::result::SdkError + >{ + self.customize_middleware().await + } ///

                                  The status of the recommendation generation.

                                  pub fn generation_status(mut self, input: crate::types::GenerationStatus) -> Self { self.inner = self.inner.generation_status(input); diff --git a/sdk/costexplorer/src/operation/list_tags_for_resource/builders.rs b/sdk/costexplorer/src/operation/list_tags_for_resource/builders.rs index 40b10e543ca8..78ae73ffba23 100644 --- a/sdk/costexplorer/src/operation/list_tags_for_resource/builders.rs +++ b/sdk/costexplorer/src/operation/list_tags_for_resource/builders.rs @@ -19,9 +19,9 @@ impl ListTagsForResourceFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl ListTagsForResourceFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_tags_for_resource::ListTagsForResource, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::list_tags_for_resource::ListTagsForResourceError, + >, + > { + self.customize_middleware().await + } ///

                                  The Amazon Resource Name (ARN) of the resource. For a list of supported resources, see ResourceTag.

                                  pub fn resource_arn(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.resource_arn(input.into()); diff --git a/sdk/costexplorer/src/operation/provide_anomaly_feedback/builders.rs b/sdk/costexplorer/src/operation/provide_anomaly_feedback/builders.rs index 5c475f8d9e50..0bc2576c5fa2 100644 --- a/sdk/costexplorer/src/operation/provide_anomaly_feedback/builders.rs +++ b/sdk/costexplorer/src/operation/provide_anomaly_feedback/builders.rs @@ -19,9 +19,9 @@ impl ProvideAnomalyFeedbackFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl ProvideAnomalyFeedbackFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::provide_anomaly_feedback::ProvideAnomalyFeedback, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::provide_anomaly_feedback::ProvideAnomalyFeedbackError, + >, + > { + self.customize_middleware().await + } ///

                                  A cost anomaly ID.

                                  pub fn anomaly_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.anomaly_id(input.into()); diff --git a/sdk/costexplorer/src/operation/start_savings_plans_purchase_recommendation_generation/builders.rs b/sdk/costexplorer/src/operation/start_savings_plans_purchase_recommendation_generation/builders.rs index f4aa9bec5afd..cd8cc29bdaef 100644 --- a/sdk/costexplorer/src/operation/start_savings_plans_purchase_recommendation_generation/builders.rs +++ b/sdk/costexplorer/src/operation/start_savings_plans_purchase_recommendation_generation/builders.rs @@ -21,9 +21,9 @@ impl StartSavingsPlansPurchaseRecommendationGenerationFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize(self) -> ::std::result::Result< + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware(self) -> ::std::result::Result< crate::client::customize::CustomizableOperation, ::aws_smithy_http::result::SdkError >{ @@ -66,4 +66,13 @@ impl StartSavingsPlansPurchaseRecommendationGenerationFluentBuilder { { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize(self) -> ::std::result::Result< + crate::client::customize::CustomizableOperation, + ::aws_smithy_http::result::SdkError + >{ + self.customize_middleware().await + } } diff --git a/sdk/costexplorer/src/operation/tag_resource/builders.rs b/sdk/costexplorer/src/operation/tag_resource/builders.rs index b6b68acb3d21..bc9a17f78dce 100644 --- a/sdk/costexplorer/src/operation/tag_resource/builders.rs +++ b/sdk/costexplorer/src/operation/tag_resource/builders.rs @@ -21,9 +21,9 @@ impl TagResourceFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -79,6 +79,20 @@ impl TagResourceFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::tag_resource::TagResource, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                  The Amazon Resource Name (ARN) of the resource. For a list of supported resources, see ResourceTag.

                                  pub fn resource_arn(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.resource_arn(input.into()); diff --git a/sdk/costexplorer/src/operation/untag_resource/builders.rs b/sdk/costexplorer/src/operation/untag_resource/builders.rs index d90deb523202..77c38d2b6943 100644 --- a/sdk/costexplorer/src/operation/untag_resource/builders.rs +++ b/sdk/costexplorer/src/operation/untag_resource/builders.rs @@ -19,9 +19,9 @@ impl UntagResourceFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl UntagResourceFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::untag_resource::UntagResource, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                  The Amazon Resource Name (ARN) of the resource. For a list of supported resources, see ResourceTag.

                                  pub fn resource_arn(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.resource_arn(input.into()); diff --git a/sdk/costexplorer/src/operation/update_anomaly_monitor/builders.rs b/sdk/costexplorer/src/operation/update_anomaly_monitor/builders.rs index 583a2c615c1a..fb5126c8523b 100644 --- a/sdk/costexplorer/src/operation/update_anomaly_monitor/builders.rs +++ b/sdk/costexplorer/src/operation/update_anomaly_monitor/builders.rs @@ -19,9 +19,9 @@ impl UpdateAnomalyMonitorFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl UpdateAnomalyMonitorFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::update_anomaly_monitor::UpdateAnomalyMonitor, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::update_anomaly_monitor::UpdateAnomalyMonitorError, + >, + > { + self.customize_middleware().await + } ///

                                  Cost anomaly monitor Amazon Resource Names (ARNs).

                                  pub fn monitor_arn(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.monitor_arn(input.into()); diff --git a/sdk/costexplorer/src/operation/update_anomaly_subscription/builders.rs b/sdk/costexplorer/src/operation/update_anomaly_subscription/builders.rs index 3b0cd89adf30..8b2dab2c90c7 100644 --- a/sdk/costexplorer/src/operation/update_anomaly_subscription/builders.rs +++ b/sdk/costexplorer/src/operation/update_anomaly_subscription/builders.rs @@ -19,9 +19,9 @@ impl UpdateAnomalySubscriptionFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl UpdateAnomalySubscriptionFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::update_anomaly_subscription::UpdateAnomalySubscription, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::update_anomaly_subscription::UpdateAnomalySubscriptionError, + >, + > { + self.customize_middleware().await + } ///

                                  A cost anomaly subscription Amazon Resource Name (ARN).

                                  pub fn subscription_arn( mut self, diff --git a/sdk/costexplorer/src/operation/update_cost_allocation_tags_status/builders.rs b/sdk/costexplorer/src/operation/update_cost_allocation_tags_status/builders.rs index 8ecdb5eefa87..79c32b4e911e 100644 --- a/sdk/costexplorer/src/operation/update_cost_allocation_tags_status/builders.rs +++ b/sdk/costexplorer/src/operation/update_cost_allocation_tags_status/builders.rs @@ -19,9 +19,9 @@ impl UpdateCostAllocationTagsStatusFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize(self) -> ::std::result::Result< + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware(self) -> ::std::result::Result< crate::client::customize::CustomizableOperation, ::aws_smithy_http::result::SdkError >{ @@ -64,6 +64,15 @@ impl UpdateCostAllocationTagsStatusFluentBuilder { { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize(self) -> ::std::result::Result< + crate::client::customize::CustomizableOperation, + ::aws_smithy_http::result::SdkError + >{ + self.customize_middleware().await + } /// Appends an item to `CostAllocationTagsStatus`. /// /// To override the contents of this collection use [`set_cost_allocation_tags_status`](Self::set_cost_allocation_tags_status). diff --git a/sdk/costexplorer/src/operation/update_cost_category_definition/builders.rs b/sdk/costexplorer/src/operation/update_cost_category_definition/builders.rs index 3e433f67627c..9a379ca16ebc 100644 --- a/sdk/costexplorer/src/operation/update_cost_category_definition/builders.rs +++ b/sdk/costexplorer/src/operation/update_cost_category_definition/builders.rs @@ -19,9 +19,9 @@ impl UpdateCostCategoryDefinitionFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl UpdateCostCategoryDefinitionFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::update_cost_category_definition::UpdateCostCategoryDefinition, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::update_cost_category_definition::UpdateCostCategoryDefinitionError, + >, + > { + self.customize_middleware().await + } ///

                                  The unique identifier for your Cost Category.

                                  pub fn cost_category_arn( mut self, diff --git a/sdk/customerprofiles/src/operation/add_profile_key/builders.rs b/sdk/customerprofiles/src/operation/add_profile_key/builders.rs index 3eee40dc4df8..0a7ff872465d 100644 --- a/sdk/customerprofiles/src/operation/add_profile_key/builders.rs +++ b/sdk/customerprofiles/src/operation/add_profile_key/builders.rs @@ -20,9 +20,9 @@ impl AddProfileKeyFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -78,6 +78,20 @@ impl AddProfileKeyFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::add_profile_key::AddProfileKey, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                  The unique identifier of a customer profile.

                                  pub fn profile_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.profile_id(input.into()); diff --git a/sdk/customerprofiles/src/operation/create_domain/builders.rs b/sdk/customerprofiles/src/operation/create_domain/builders.rs index 0763d521d624..e4ba15de9309 100644 --- a/sdk/customerprofiles/src/operation/create_domain/builders.rs +++ b/sdk/customerprofiles/src/operation/create_domain/builders.rs @@ -22,9 +22,9 @@ impl CreateDomainFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -80,6 +80,20 @@ impl CreateDomainFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::create_domain::CreateDomain, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                  The unique name of the domain.

                                  pub fn domain_name(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.domain_name(input.into()); diff --git a/sdk/customerprofiles/src/operation/create_integration_workflow/builders.rs b/sdk/customerprofiles/src/operation/create_integration_workflow/builders.rs index 6e768ceb6162..a1f6ee77e0ec 100644 --- a/sdk/customerprofiles/src/operation/create_integration_workflow/builders.rs +++ b/sdk/customerprofiles/src/operation/create_integration_workflow/builders.rs @@ -19,9 +19,9 @@ impl CreateIntegrationWorkflowFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl CreateIntegrationWorkflowFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::create_integration_workflow::CreateIntegrationWorkflow, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::create_integration_workflow::CreateIntegrationWorkflowError, + >, + > { + self.customize_middleware().await + } ///

                                  The unique name of the domain.

                                  pub fn domain_name(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.domain_name(input.into()); diff --git a/sdk/customerprofiles/src/operation/create_profile/builders.rs b/sdk/customerprofiles/src/operation/create_profile/builders.rs index 65a1e7b537fe..384bb1a0a864 100644 --- a/sdk/customerprofiles/src/operation/create_profile/builders.rs +++ b/sdk/customerprofiles/src/operation/create_profile/builders.rs @@ -20,9 +20,9 @@ impl CreateProfileFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -78,6 +78,20 @@ impl CreateProfileFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::create_profile::CreateProfile, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                  The unique name of the domain.

                                  pub fn domain_name(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.domain_name(input.into()); diff --git a/sdk/customerprofiles/src/operation/delete_domain/builders.rs b/sdk/customerprofiles/src/operation/delete_domain/builders.rs index cbbd36cbd187..0b8d5eeaf3e0 100644 --- a/sdk/customerprofiles/src/operation/delete_domain/builders.rs +++ b/sdk/customerprofiles/src/operation/delete_domain/builders.rs @@ -19,9 +19,9 @@ impl DeleteDomainFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl DeleteDomainFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::delete_domain::DeleteDomain, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                  The unique name of the domain.

                                  pub fn domain_name(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.domain_name(input.into()); diff --git a/sdk/customerprofiles/src/operation/delete_integration/builders.rs b/sdk/customerprofiles/src/operation/delete_integration/builders.rs index 6bfb2fc222a1..cdb0280b54f3 100644 --- a/sdk/customerprofiles/src/operation/delete_integration/builders.rs +++ b/sdk/customerprofiles/src/operation/delete_integration/builders.rs @@ -19,9 +19,9 @@ impl DeleteIntegrationFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl DeleteIntegrationFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::delete_integration::DeleteIntegration, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::delete_integration::DeleteIntegrationError, + >, + > { + self.customize_middleware().await + } ///

                                  The unique name of the domain.

                                  pub fn domain_name(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.domain_name(input.into()); diff --git a/sdk/customerprofiles/src/operation/delete_profile/builders.rs b/sdk/customerprofiles/src/operation/delete_profile/builders.rs index 9bea7c5e9713..1cd387755ba4 100644 --- a/sdk/customerprofiles/src/operation/delete_profile/builders.rs +++ b/sdk/customerprofiles/src/operation/delete_profile/builders.rs @@ -19,9 +19,9 @@ impl DeleteProfileFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl DeleteProfileFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::delete_profile::DeleteProfile, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                  The unique identifier of a customer profile.

                                  pub fn profile_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.profile_id(input.into()); diff --git a/sdk/customerprofiles/src/operation/delete_profile_key/builders.rs b/sdk/customerprofiles/src/operation/delete_profile_key/builders.rs index aab09bb2b355..c5d4228cf0ec 100644 --- a/sdk/customerprofiles/src/operation/delete_profile_key/builders.rs +++ b/sdk/customerprofiles/src/operation/delete_profile_key/builders.rs @@ -19,9 +19,9 @@ impl DeleteProfileKeyFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl DeleteProfileKeyFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::delete_profile_key::DeleteProfileKey, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::delete_profile_key::DeleteProfileKeyError, + >, + > { + self.customize_middleware().await + } ///

                                  The unique identifier of a customer profile.

                                  pub fn profile_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.profile_id(input.into()); diff --git a/sdk/customerprofiles/src/operation/delete_profile_object/builders.rs b/sdk/customerprofiles/src/operation/delete_profile_object/builders.rs index 860c6c2b8c73..072fc1cae0ce 100644 --- a/sdk/customerprofiles/src/operation/delete_profile_object/builders.rs +++ b/sdk/customerprofiles/src/operation/delete_profile_object/builders.rs @@ -19,9 +19,9 @@ impl DeleteProfileObjectFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl DeleteProfileObjectFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::delete_profile_object::DeleteProfileObject, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::delete_profile_object::DeleteProfileObjectError, + >, + > { + self.customize_middleware().await + } ///

                                  The unique identifier of a customer profile.

                                  pub fn profile_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.profile_id(input.into()); diff --git a/sdk/customerprofiles/src/operation/delete_profile_object_type/builders.rs b/sdk/customerprofiles/src/operation/delete_profile_object_type/builders.rs index d28199d6adaa..cebb9d661d14 100644 --- a/sdk/customerprofiles/src/operation/delete_profile_object_type/builders.rs +++ b/sdk/customerprofiles/src/operation/delete_profile_object_type/builders.rs @@ -20,9 +20,9 @@ impl DeleteProfileObjectTypeFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -84,6 +84,22 @@ impl DeleteProfileObjectTypeFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::delete_profile_object_type::DeleteProfileObjectType, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::delete_profile_object_type::DeleteProfileObjectTypeError, + >, + > { + self.customize_middleware().await + } ///

                                  The unique name of the domain.

                                  pub fn domain_name(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.domain_name(input.into()); diff --git a/sdk/customerprofiles/src/operation/delete_workflow/builders.rs b/sdk/customerprofiles/src/operation/delete_workflow/builders.rs index 71a631104ada..cdd0954ca9f3 100644 --- a/sdk/customerprofiles/src/operation/delete_workflow/builders.rs +++ b/sdk/customerprofiles/src/operation/delete_workflow/builders.rs @@ -19,9 +19,9 @@ impl DeleteWorkflowFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl DeleteWorkflowFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::delete_workflow::DeleteWorkflow, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                  The unique name of the domain.

                                  pub fn domain_name(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.domain_name(input.into()); diff --git a/sdk/customerprofiles/src/operation/get_auto_merging_preview/builders.rs b/sdk/customerprofiles/src/operation/get_auto_merging_preview/builders.rs index ec29d567ae20..357dfab52838 100644 --- a/sdk/customerprofiles/src/operation/get_auto_merging_preview/builders.rs +++ b/sdk/customerprofiles/src/operation/get_auto_merging_preview/builders.rs @@ -22,9 +22,9 @@ impl GetAutoMergingPreviewFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -86,6 +86,22 @@ impl GetAutoMergingPreviewFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::get_auto_merging_preview::GetAutoMergingPreview, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::get_auto_merging_preview::GetAutoMergingPreviewError, + >, + > { + self.customize_middleware().await + } ///

                                  The unique name of the domain.

                                  pub fn domain_name(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.domain_name(input.into()); diff --git a/sdk/customerprofiles/src/operation/get_domain/builders.rs b/sdk/customerprofiles/src/operation/get_domain/builders.rs index 954c0a64c8e7..651ce95db1d3 100644 --- a/sdk/customerprofiles/src/operation/get_domain/builders.rs +++ b/sdk/customerprofiles/src/operation/get_domain/builders.rs @@ -19,9 +19,9 @@ impl GetDomainFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl GetDomainFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::get_domain::GetDomain, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                  The unique name of the domain.

                                  pub fn domain_name(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.domain_name(input.into()); diff --git a/sdk/customerprofiles/src/operation/get_identity_resolution_job/builders.rs b/sdk/customerprofiles/src/operation/get_identity_resolution_job/builders.rs index 333d3070b72e..e9f4f53d2e1f 100644 --- a/sdk/customerprofiles/src/operation/get_identity_resolution_job/builders.rs +++ b/sdk/customerprofiles/src/operation/get_identity_resolution_job/builders.rs @@ -20,9 +20,9 @@ impl GetIdentityResolutionJobFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -84,6 +84,22 @@ impl GetIdentityResolutionJobFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::get_identity_resolution_job::GetIdentityResolutionJob, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::get_identity_resolution_job::GetIdentityResolutionJobError, + >, + > { + self.customize_middleware().await + } ///

                                  The unique name of the domain.

                                  pub fn domain_name(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.domain_name(input.into()); diff --git a/sdk/customerprofiles/src/operation/get_integration/builders.rs b/sdk/customerprofiles/src/operation/get_integration/builders.rs index a3e64e0c349c..ffa3c9525ed9 100644 --- a/sdk/customerprofiles/src/operation/get_integration/builders.rs +++ b/sdk/customerprofiles/src/operation/get_integration/builders.rs @@ -19,9 +19,9 @@ impl GetIntegrationFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl GetIntegrationFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::get_integration::GetIntegration, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                  The unique name of the domain.

                                  pub fn domain_name(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.domain_name(input.into()); diff --git a/sdk/customerprofiles/src/operation/get_matches/builders.rs b/sdk/customerprofiles/src/operation/get_matches/builders.rs index dc8f26b3119b..f812ed1c5a39 100644 --- a/sdk/customerprofiles/src/operation/get_matches/builders.rs +++ b/sdk/customerprofiles/src/operation/get_matches/builders.rs @@ -35,9 +35,9 @@ impl GetMatchesFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -93,6 +93,20 @@ impl GetMatchesFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::get_matches::GetMatches, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                  The token for the next set of results. Use the value returned in the previous response in the next request to retrieve the next set of results.

                                  pub fn next_token(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.next_token(input.into()); diff --git a/sdk/customerprofiles/src/operation/get_profile_object_type/builders.rs b/sdk/customerprofiles/src/operation/get_profile_object_type/builders.rs index cdab5fc0e812..d5acc393b877 100644 --- a/sdk/customerprofiles/src/operation/get_profile_object_type/builders.rs +++ b/sdk/customerprofiles/src/operation/get_profile_object_type/builders.rs @@ -19,9 +19,9 @@ impl GetProfileObjectTypeFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl GetProfileObjectTypeFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::get_profile_object_type::GetProfileObjectType, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::get_profile_object_type::GetProfileObjectTypeError, + >, + > { + self.customize_middleware().await + } ///

                                  The unique name of the domain.

                                  pub fn domain_name(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.domain_name(input.into()); diff --git a/sdk/customerprofiles/src/operation/get_profile_object_type_template/builders.rs b/sdk/customerprofiles/src/operation/get_profile_object_type_template/builders.rs index 3c924a95c3e5..c9a518eb73be 100644 --- a/sdk/customerprofiles/src/operation/get_profile_object_type_template/builders.rs +++ b/sdk/customerprofiles/src/operation/get_profile_object_type_template/builders.rs @@ -20,9 +20,9 @@ impl GetProfileObjectTypeTemplateFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -84,6 +84,22 @@ impl GetProfileObjectTypeTemplateFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::get_profile_object_type_template::GetProfileObjectTypeTemplate, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::get_profile_object_type_template::GetProfileObjectTypeTemplateError, + >, + > { + self.customize_middleware().await + } ///

                                  A unique identifier for the object template.

                                  pub fn template_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.template_id(input.into()); diff --git a/sdk/customerprofiles/src/operation/get_workflow/builders.rs b/sdk/customerprofiles/src/operation/get_workflow/builders.rs index 41172506f371..9b35a5f62c4f 100644 --- a/sdk/customerprofiles/src/operation/get_workflow/builders.rs +++ b/sdk/customerprofiles/src/operation/get_workflow/builders.rs @@ -19,9 +19,9 @@ impl GetWorkflowFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl GetWorkflowFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::get_workflow::GetWorkflow, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                  The unique name of the domain.

                                  pub fn domain_name(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.domain_name(input.into()); diff --git a/sdk/customerprofiles/src/operation/get_workflow_steps/builders.rs b/sdk/customerprofiles/src/operation/get_workflow_steps/builders.rs index 6b075301d91b..26359df8ea2b 100644 --- a/sdk/customerprofiles/src/operation/get_workflow_steps/builders.rs +++ b/sdk/customerprofiles/src/operation/get_workflow_steps/builders.rs @@ -19,9 +19,9 @@ impl GetWorkflowStepsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl GetWorkflowStepsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::get_workflow_steps::GetWorkflowSteps, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::get_workflow_steps::GetWorkflowStepsError, + >, + > { + self.customize_middleware().await + } ///

                                  The unique name of the domain.

                                  pub fn domain_name(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.domain_name(input.into()); diff --git a/sdk/customerprofiles/src/operation/list_account_integrations/builders.rs b/sdk/customerprofiles/src/operation/list_account_integrations/builders.rs index ce6ed3f202ad..b02ab5a74c37 100644 --- a/sdk/customerprofiles/src/operation/list_account_integrations/builders.rs +++ b/sdk/customerprofiles/src/operation/list_account_integrations/builders.rs @@ -20,9 +20,9 @@ impl ListAccountIntegrationsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -84,6 +84,22 @@ impl ListAccountIntegrationsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_account_integrations::ListAccountIntegrations, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::list_account_integrations::ListAccountIntegrationsError, + >, + > { + self.customize_middleware().await + } ///

                                  The URI of the S3 bucket or any other type of data source.

                                  pub fn uri(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.uri(input.into()); diff --git a/sdk/customerprofiles/src/operation/list_domains/builders.rs b/sdk/customerprofiles/src/operation/list_domains/builders.rs index 26b3b6351905..600d9f04da89 100644 --- a/sdk/customerprofiles/src/operation/list_domains/builders.rs +++ b/sdk/customerprofiles/src/operation/list_domains/builders.rs @@ -19,9 +19,9 @@ impl ListDomainsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl ListDomainsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_domains::ListDomains, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                  The pagination token from the previous ListDomain API call.

                                  pub fn next_token(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.next_token(input.into()); diff --git a/sdk/customerprofiles/src/operation/list_identity_resolution_jobs/builders.rs b/sdk/customerprofiles/src/operation/list_identity_resolution_jobs/builders.rs index f75924c1c0b1..2d59569154c8 100644 --- a/sdk/customerprofiles/src/operation/list_identity_resolution_jobs/builders.rs +++ b/sdk/customerprofiles/src/operation/list_identity_resolution_jobs/builders.rs @@ -19,9 +19,9 @@ impl ListIdentityResolutionJobsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl ListIdentityResolutionJobsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_identity_resolution_jobs::ListIdentityResolutionJobs, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::list_identity_resolution_jobs::ListIdentityResolutionJobsError, + >, + > { + self.customize_middleware().await + } ///

                                  The unique name of the domain.

                                  pub fn domain_name(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.domain_name(input.into()); diff --git a/sdk/customerprofiles/src/operation/list_integrations/builders.rs b/sdk/customerprofiles/src/operation/list_integrations/builders.rs index 78c7ffc8f96c..ef840da32432 100644 --- a/sdk/customerprofiles/src/operation/list_integrations/builders.rs +++ b/sdk/customerprofiles/src/operation/list_integrations/builders.rs @@ -19,9 +19,9 @@ impl ListIntegrationsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl ListIntegrationsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_integrations::ListIntegrations, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::list_integrations::ListIntegrationsError, + >, + > { + self.customize_middleware().await + } ///

                                  The unique name of the domain.

                                  pub fn domain_name(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.domain_name(input.into()); diff --git a/sdk/customerprofiles/src/operation/list_profile_object_type_templates/builders.rs b/sdk/customerprofiles/src/operation/list_profile_object_type_templates/builders.rs index f495194b88b4..fd233dc69888 100644 --- a/sdk/customerprofiles/src/operation/list_profile_object_type_templates/builders.rs +++ b/sdk/customerprofiles/src/operation/list_profile_object_type_templates/builders.rs @@ -19,9 +19,9 @@ impl ListProfileObjectTypeTemplatesFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize(self) -> ::std::result::Result< + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware(self) -> ::std::result::Result< crate::client::customize::CustomizableOperation, ::aws_smithy_http::result::SdkError >{ @@ -64,6 +64,15 @@ impl ListProfileObjectTypeTemplatesFluentBuilder { { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize(self) -> ::std::result::Result< + crate::client::customize::CustomizableOperation, + ::aws_smithy_http::result::SdkError + >{ + self.customize_middleware().await + } ///

                                  The pagination token from the previous ListObjectTypeTemplates API call.

                                  pub fn next_token(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.next_token(input.into()); diff --git a/sdk/customerprofiles/src/operation/list_profile_object_types/builders.rs b/sdk/customerprofiles/src/operation/list_profile_object_types/builders.rs index 328453a6b786..7c22b3a2c31a 100644 --- a/sdk/customerprofiles/src/operation/list_profile_object_types/builders.rs +++ b/sdk/customerprofiles/src/operation/list_profile_object_types/builders.rs @@ -20,9 +20,9 @@ impl ListProfileObjectTypesFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -84,6 +84,22 @@ impl ListProfileObjectTypesFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_profile_object_types::ListProfileObjectTypes, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::list_profile_object_types::ListProfileObjectTypesError, + >, + > { + self.customize_middleware().await + } ///

                                  The unique name of the domain.

                                  pub fn domain_name(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.domain_name(input.into()); diff --git a/sdk/customerprofiles/src/operation/list_profile_objects/builders.rs b/sdk/customerprofiles/src/operation/list_profile_objects/builders.rs index e26f136c966c..2606cdc3f9ee 100644 --- a/sdk/customerprofiles/src/operation/list_profile_objects/builders.rs +++ b/sdk/customerprofiles/src/operation/list_profile_objects/builders.rs @@ -19,9 +19,9 @@ impl ListProfileObjectsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl ListProfileObjectsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_profile_objects::ListProfileObjects, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::list_profile_objects::ListProfileObjectsError, + >, + > { + self.customize_middleware().await + } ///

                                  The pagination token from the previous call to ListProfileObjects.

                                  pub fn next_token(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.next_token(input.into()); diff --git a/sdk/customerprofiles/src/operation/list_tags_for_resource/builders.rs b/sdk/customerprofiles/src/operation/list_tags_for_resource/builders.rs index 927d0248e5cb..92e5add57ff0 100644 --- a/sdk/customerprofiles/src/operation/list_tags_for_resource/builders.rs +++ b/sdk/customerprofiles/src/operation/list_tags_for_resource/builders.rs @@ -19,9 +19,9 @@ impl ListTagsForResourceFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl ListTagsForResourceFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_tags_for_resource::ListTagsForResource, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::list_tags_for_resource::ListTagsForResourceError, + >, + > { + self.customize_middleware().await + } ///

                                  The ARN of the resource for which you want to view tags.

                                  pub fn resource_arn(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.resource_arn(input.into()); diff --git a/sdk/customerprofiles/src/operation/list_workflows/builders.rs b/sdk/customerprofiles/src/operation/list_workflows/builders.rs index 03085d39dfaf..723c96be67a4 100644 --- a/sdk/customerprofiles/src/operation/list_workflows/builders.rs +++ b/sdk/customerprofiles/src/operation/list_workflows/builders.rs @@ -19,9 +19,9 @@ impl ListWorkflowsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl ListWorkflowsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_workflows::ListWorkflows, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                  The unique name of the domain.

                                  pub fn domain_name(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.domain_name(input.into()); diff --git a/sdk/customerprofiles/src/operation/merge_profiles/builders.rs b/sdk/customerprofiles/src/operation/merge_profiles/builders.rs index c29625df9d94..87e9fd4e59d0 100644 --- a/sdk/customerprofiles/src/operation/merge_profiles/builders.rs +++ b/sdk/customerprofiles/src/operation/merge_profiles/builders.rs @@ -35,9 +35,9 @@ impl MergeProfilesFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -93,6 +93,20 @@ impl MergeProfilesFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::merge_profiles::MergeProfiles, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                  The unique name of the domain.

                                  pub fn domain_name(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.domain_name(input.into()); diff --git a/sdk/customerprofiles/src/operation/put_integration/builders.rs b/sdk/customerprofiles/src/operation/put_integration/builders.rs index 8543d79a6aa0..d7d93f93f889 100644 --- a/sdk/customerprofiles/src/operation/put_integration/builders.rs +++ b/sdk/customerprofiles/src/operation/put_integration/builders.rs @@ -21,9 +21,9 @@ impl PutIntegrationFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -79,6 +79,20 @@ impl PutIntegrationFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::put_integration::PutIntegration, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                  The unique name of the domain.

                                  pub fn domain_name(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.domain_name(input.into()); diff --git a/sdk/customerprofiles/src/operation/put_profile_object/builders.rs b/sdk/customerprofiles/src/operation/put_profile_object/builders.rs index 47db7aabeba1..37fddb9c0671 100644 --- a/sdk/customerprofiles/src/operation/put_profile_object/builders.rs +++ b/sdk/customerprofiles/src/operation/put_profile_object/builders.rs @@ -22,9 +22,9 @@ impl PutProfileObjectFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -86,6 +86,22 @@ impl PutProfileObjectFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::put_profile_object::PutProfileObject, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::put_profile_object::PutProfileObjectError, + >, + > { + self.customize_middleware().await + } ///

                                  The name of the profile object type.

                                  pub fn object_type_name( mut self, diff --git a/sdk/customerprofiles/src/operation/put_profile_object_type/builders.rs b/sdk/customerprofiles/src/operation/put_profile_object_type/builders.rs index c719863efac5..70a8e7dd1b6b 100644 --- a/sdk/customerprofiles/src/operation/put_profile_object_type/builders.rs +++ b/sdk/customerprofiles/src/operation/put_profile_object_type/builders.rs @@ -20,9 +20,9 @@ impl PutProfileObjectTypeFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -84,6 +84,22 @@ impl PutProfileObjectTypeFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::put_profile_object_type::PutProfileObjectType, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::put_profile_object_type::PutProfileObjectTypeError, + >, + > { + self.customize_middleware().await + } ///

                                  The unique name of the domain.

                                  pub fn domain_name(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.domain_name(input.into()); diff --git a/sdk/customerprofiles/src/operation/search_profiles/builders.rs b/sdk/customerprofiles/src/operation/search_profiles/builders.rs index 88335cb850ae..813757e7600d 100644 --- a/sdk/customerprofiles/src/operation/search_profiles/builders.rs +++ b/sdk/customerprofiles/src/operation/search_profiles/builders.rs @@ -20,9 +20,9 @@ impl SearchProfilesFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -78,6 +78,20 @@ impl SearchProfilesFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::search_profiles::SearchProfiles, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                  The pagination token from the previous SearchProfiles API call.

                                  pub fn next_token(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.next_token(input.into()); diff --git a/sdk/customerprofiles/src/operation/tag_resource/builders.rs b/sdk/customerprofiles/src/operation/tag_resource/builders.rs index 3032a11953db..33853e164da7 100644 --- a/sdk/customerprofiles/src/operation/tag_resource/builders.rs +++ b/sdk/customerprofiles/src/operation/tag_resource/builders.rs @@ -22,9 +22,9 @@ impl TagResourceFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -80,6 +80,20 @@ impl TagResourceFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::tag_resource::TagResource, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                  The ARN of the resource that you're adding tags to.

                                  pub fn resource_arn(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.resource_arn(input.into()); diff --git a/sdk/customerprofiles/src/operation/untag_resource/builders.rs b/sdk/customerprofiles/src/operation/untag_resource/builders.rs index a68ce0c7be9e..f1b76bd63a4a 100644 --- a/sdk/customerprofiles/src/operation/untag_resource/builders.rs +++ b/sdk/customerprofiles/src/operation/untag_resource/builders.rs @@ -19,9 +19,9 @@ impl UntagResourceFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl UntagResourceFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::untag_resource::UntagResource, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                  The ARN of the resource from which you are removing tags.

                                  pub fn resource_arn(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.resource_arn(input.into()); diff --git a/sdk/customerprofiles/src/operation/update_domain/builders.rs b/sdk/customerprofiles/src/operation/update_domain/builders.rs index 3b1a5ed59ea4..670c036bcf44 100644 --- a/sdk/customerprofiles/src/operation/update_domain/builders.rs +++ b/sdk/customerprofiles/src/operation/update_domain/builders.rs @@ -23,9 +23,9 @@ impl UpdateDomainFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -81,6 +81,20 @@ impl UpdateDomainFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::update_domain::UpdateDomain, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                  The unique name of the domain.

                                  pub fn domain_name(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.domain_name(input.into()); diff --git a/sdk/customerprofiles/src/operation/update_profile/builders.rs b/sdk/customerprofiles/src/operation/update_profile/builders.rs index 87680bf7a43a..c8f822b6c61d 100644 --- a/sdk/customerprofiles/src/operation/update_profile/builders.rs +++ b/sdk/customerprofiles/src/operation/update_profile/builders.rs @@ -20,9 +20,9 @@ impl UpdateProfileFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -78,6 +78,20 @@ impl UpdateProfileFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::update_profile::UpdateProfile, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                  The unique name of the domain.

                                  pub fn domain_name(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.domain_name(input.into()); diff --git a/sdk/databasemigration/src/operation/add_tags_to_resource/builders.rs b/sdk/databasemigration/src/operation/add_tags_to_resource/builders.rs index 375fa72f75ba..42a35520770c 100644 --- a/sdk/databasemigration/src/operation/add_tags_to_resource/builders.rs +++ b/sdk/databasemigration/src/operation/add_tags_to_resource/builders.rs @@ -19,9 +19,9 @@ impl AddTagsToResourceFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl AddTagsToResourceFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::add_tags_to_resource::AddTagsToResource, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::add_tags_to_resource::AddTagsToResourceError, + >, + > { + self.customize_middleware().await + } ///

                                  Identifies the DMS resource to which tags should be added. The value for this parameter is an Amazon Resource Name (ARN).

                                  ///

                                  For DMS, you can tag a replication instance, an endpoint, or a replication task.

                                  pub fn resource_arn(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { diff --git a/sdk/databasemigration/src/operation/apply_pending_maintenance_action/builders.rs b/sdk/databasemigration/src/operation/apply_pending_maintenance_action/builders.rs index bd7ee9c45337..e67490c5ec51 100644 --- a/sdk/databasemigration/src/operation/apply_pending_maintenance_action/builders.rs +++ b/sdk/databasemigration/src/operation/apply_pending_maintenance_action/builders.rs @@ -19,9 +19,9 @@ impl ApplyPendingMaintenanceActionFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl ApplyPendingMaintenanceActionFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::apply_pending_maintenance_action::ApplyPendingMaintenanceAction, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::apply_pending_maintenance_action::ApplyPendingMaintenanceActionError, + >, + > { + self.customize_middleware().await + } ///

                                  The Amazon Resource Name (ARN) of the DMS resource that the pending maintenance action applies to.

                                  pub fn replication_instance_arn( mut self, diff --git a/sdk/databasemigration/src/operation/batch_start_recommendations/builders.rs b/sdk/databasemigration/src/operation/batch_start_recommendations/builders.rs index 277f75dcd097..150065c29b86 100644 --- a/sdk/databasemigration/src/operation/batch_start_recommendations/builders.rs +++ b/sdk/databasemigration/src/operation/batch_start_recommendations/builders.rs @@ -20,9 +20,9 @@ impl BatchStartRecommendationsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -84,6 +84,22 @@ impl BatchStartRecommendationsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::batch_start_recommendations::BatchStartRecommendations, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::batch_start_recommendations::BatchStartRecommendationsError, + >, + > { + self.customize_middleware().await + } /// Appends an item to `Data`. /// /// To override the contents of this collection use [`set_data`](Self::set_data). diff --git a/sdk/databasemigration/src/operation/cancel_replication_task_assessment_run/builders.rs b/sdk/databasemigration/src/operation/cancel_replication_task_assessment_run/builders.rs index 67aa38c01405..af11c8e4577c 100644 --- a/sdk/databasemigration/src/operation/cancel_replication_task_assessment_run/builders.rs +++ b/sdk/databasemigration/src/operation/cancel_replication_task_assessment_run/builders.rs @@ -20,9 +20,9 @@ impl CancelReplicationTaskAssessmentRunFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize(self) -> ::std::result::Result< + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware(self) -> ::std::result::Result< crate::client::customize::CustomizableOperation, ::aws_smithy_http::result::SdkError >{ @@ -65,6 +65,15 @@ impl CancelReplicationTaskAssessmentRunFluentBuilder { { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize(self) -> ::std::result::Result< + crate::client::customize::CustomizableOperation, + ::aws_smithy_http::result::SdkError + >{ + self.customize_middleware().await + } ///

                                  Amazon Resource Name (ARN) of the premigration assessment run to be canceled.

                                  pub fn replication_task_assessment_run_arn( mut self, diff --git a/sdk/databasemigration/src/operation/create_endpoint/builders.rs b/sdk/databasemigration/src/operation/create_endpoint/builders.rs index 4d4c83b2bd5e..5694222a8b39 100644 --- a/sdk/databasemigration/src/operation/create_endpoint/builders.rs +++ b/sdk/databasemigration/src/operation/create_endpoint/builders.rs @@ -21,9 +21,9 @@ impl CreateEndpointFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -79,6 +79,20 @@ impl CreateEndpointFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::create_endpoint::CreateEndpoint, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                  The database endpoint identifier. Identifiers must begin with a letter and must contain only ASCII letters, digits, and hyphens. They can't end with a hyphen, or contain two consecutive hyphens.

                                  pub fn endpoint_identifier( mut self, diff --git a/sdk/databasemigration/src/operation/create_event_subscription/builders.rs b/sdk/databasemigration/src/operation/create_event_subscription/builders.rs index 865c5f140701..5170514cb33c 100644 --- a/sdk/databasemigration/src/operation/create_event_subscription/builders.rs +++ b/sdk/databasemigration/src/operation/create_event_subscription/builders.rs @@ -22,9 +22,9 @@ impl CreateEventSubscriptionFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -86,6 +86,22 @@ impl CreateEventSubscriptionFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::create_event_subscription::CreateEventSubscription, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::create_event_subscription::CreateEventSubscriptionError, + >, + > { + self.customize_middleware().await + } ///

                                  The name of the DMS event notification subscription. This name must be less than 255 characters.

                                  pub fn subscription_name( mut self, diff --git a/sdk/databasemigration/src/operation/create_fleet_advisor_collector/builders.rs b/sdk/databasemigration/src/operation/create_fleet_advisor_collector/builders.rs index 3d97eb9ee6d5..5a5d6ef441a3 100644 --- a/sdk/databasemigration/src/operation/create_fleet_advisor_collector/builders.rs +++ b/sdk/databasemigration/src/operation/create_fleet_advisor_collector/builders.rs @@ -19,9 +19,9 @@ impl CreateFleetAdvisorCollectorFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl CreateFleetAdvisorCollectorFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::create_fleet_advisor_collector::CreateFleetAdvisorCollector, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::create_fleet_advisor_collector::CreateFleetAdvisorCollectorError, + >, + > { + self.customize_middleware().await + } ///

                                  The name of your Fleet Advisor collector (for example, sample-collector).

                                  pub fn collector_name( mut self, diff --git a/sdk/databasemigration/src/operation/create_replication_instance/builders.rs b/sdk/databasemigration/src/operation/create_replication_instance/builders.rs index c6a27b0e111a..d99db1373f03 100644 --- a/sdk/databasemigration/src/operation/create_replication_instance/builders.rs +++ b/sdk/databasemigration/src/operation/create_replication_instance/builders.rs @@ -20,9 +20,9 @@ impl CreateReplicationInstanceFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -84,6 +84,22 @@ impl CreateReplicationInstanceFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::create_replication_instance::CreateReplicationInstance, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::create_replication_instance::CreateReplicationInstanceError, + >, + > { + self.customize_middleware().await + } ///

                                  The replication instance identifier. This parameter is stored as a lowercase string.

                                  ///

                                  Constraints:

                                  ///
                                    diff --git a/sdk/databasemigration/src/operation/create_replication_subnet_group/builders.rs b/sdk/databasemigration/src/operation/create_replication_subnet_group/builders.rs index e87519c4923f..cf73cb68e071 100644 --- a/sdk/databasemigration/src/operation/create_replication_subnet_group/builders.rs +++ b/sdk/databasemigration/src/operation/create_replication_subnet_group/builders.rs @@ -20,9 +20,9 @@ impl CreateReplicationSubnetGroupFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -84,6 +84,22 @@ impl CreateReplicationSubnetGroupFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::create_replication_subnet_group::CreateReplicationSubnetGroup, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::create_replication_subnet_group::CreateReplicationSubnetGroupError, + >, + > { + self.customize_middleware().await + } ///

                                    The name for the replication subnet group. This value is stored as a lowercase string.

                                    ///

                                    Constraints: Must contain no more than 255 alphanumeric characters, periods, spaces, underscores, or hyphens. Must not be "default".

                                    ///

                                    Example: mySubnetgroup

                                    diff --git a/sdk/databasemigration/src/operation/create_replication_task/builders.rs b/sdk/databasemigration/src/operation/create_replication_task/builders.rs index 5822d0b9d640..a3eb5f05bd88 100644 --- a/sdk/databasemigration/src/operation/create_replication_task/builders.rs +++ b/sdk/databasemigration/src/operation/create_replication_task/builders.rs @@ -19,9 +19,9 @@ impl CreateReplicationTaskFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl CreateReplicationTaskFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::create_replication_task::CreateReplicationTask, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::create_replication_task::CreateReplicationTaskError, + >, + > { + self.customize_middleware().await + } ///

                                    An identifier for the replication task.

                                    ///

                                    Constraints:

                                    ///
                                      diff --git a/sdk/databasemigration/src/operation/delete_certificate/builders.rs b/sdk/databasemigration/src/operation/delete_certificate/builders.rs index b71b2658d425..25d7cf0f5620 100644 --- a/sdk/databasemigration/src/operation/delete_certificate/builders.rs +++ b/sdk/databasemigration/src/operation/delete_certificate/builders.rs @@ -19,9 +19,9 @@ impl DeleteCertificateFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl DeleteCertificateFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::delete_certificate::DeleteCertificate, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::delete_certificate::DeleteCertificateError, + >, + > { + self.customize_middleware().await + } ///

                                      The Amazon Resource Name (ARN) of the certificate.

                                      pub fn certificate_arn( mut self, diff --git a/sdk/databasemigration/src/operation/delete_connection/builders.rs b/sdk/databasemigration/src/operation/delete_connection/builders.rs index ceb074cbeb4c..45467c3fa687 100644 --- a/sdk/databasemigration/src/operation/delete_connection/builders.rs +++ b/sdk/databasemigration/src/operation/delete_connection/builders.rs @@ -19,9 +19,9 @@ impl DeleteConnectionFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl DeleteConnectionFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::delete_connection::DeleteConnection, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::delete_connection::DeleteConnectionError, + >, + > { + self.customize_middleware().await + } ///

                                      The Amazon Resource Name (ARN) string that uniquely identifies the endpoint.

                                      pub fn endpoint_arn(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.endpoint_arn(input.into()); diff --git a/sdk/databasemigration/src/operation/delete_endpoint/builders.rs b/sdk/databasemigration/src/operation/delete_endpoint/builders.rs index 862a557bda02..1c03ec03d4b4 100644 --- a/sdk/databasemigration/src/operation/delete_endpoint/builders.rs +++ b/sdk/databasemigration/src/operation/delete_endpoint/builders.rs @@ -22,9 +22,9 @@ impl DeleteEndpointFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -80,6 +80,20 @@ impl DeleteEndpointFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::delete_endpoint::DeleteEndpoint, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                      The Amazon Resource Name (ARN) string that uniquely identifies the endpoint.

                                      pub fn endpoint_arn(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.endpoint_arn(input.into()); diff --git a/sdk/databasemigration/src/operation/delete_event_subscription/builders.rs b/sdk/databasemigration/src/operation/delete_event_subscription/builders.rs index 768b1b02f2f6..439a79bf9b5b 100644 --- a/sdk/databasemigration/src/operation/delete_event_subscription/builders.rs +++ b/sdk/databasemigration/src/operation/delete_event_subscription/builders.rs @@ -20,9 +20,9 @@ impl DeleteEventSubscriptionFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -84,6 +84,22 @@ impl DeleteEventSubscriptionFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::delete_event_subscription::DeleteEventSubscription, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::delete_event_subscription::DeleteEventSubscriptionError, + >, + > { + self.customize_middleware().await + } ///

                                      The name of the DMS event notification subscription to be deleted.

                                      pub fn subscription_name( mut self, diff --git a/sdk/databasemigration/src/operation/delete_fleet_advisor_collector/builders.rs b/sdk/databasemigration/src/operation/delete_fleet_advisor_collector/builders.rs index c581b95b69e3..579d4e7cbf23 100644 --- a/sdk/databasemigration/src/operation/delete_fleet_advisor_collector/builders.rs +++ b/sdk/databasemigration/src/operation/delete_fleet_advisor_collector/builders.rs @@ -19,9 +19,9 @@ impl DeleteFleetAdvisorCollectorFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl DeleteFleetAdvisorCollectorFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::delete_fleet_advisor_collector::DeleteFleetAdvisorCollector, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::delete_fleet_advisor_collector::DeleteFleetAdvisorCollectorError, + >, + > { + self.customize_middleware().await + } ///

                                      The reference ID of the Fleet Advisor collector to delete.

                                      pub fn collector_referenced_id( mut self, diff --git a/sdk/databasemigration/src/operation/delete_fleet_advisor_databases/builders.rs b/sdk/databasemigration/src/operation/delete_fleet_advisor_databases/builders.rs index dffa3c0bf96f..2572033d5ea5 100644 --- a/sdk/databasemigration/src/operation/delete_fleet_advisor_databases/builders.rs +++ b/sdk/databasemigration/src/operation/delete_fleet_advisor_databases/builders.rs @@ -19,9 +19,9 @@ impl DeleteFleetAdvisorDatabasesFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl DeleteFleetAdvisorDatabasesFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::delete_fleet_advisor_databases::DeleteFleetAdvisorDatabases, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::delete_fleet_advisor_databases::DeleteFleetAdvisorDatabasesError, + >, + > { + self.customize_middleware().await + } /// Appends an item to `DatabaseIds`. /// /// To override the contents of this collection use [`set_database_ids`](Self::set_database_ids). diff --git a/sdk/databasemigration/src/operation/delete_replication_instance/builders.rs b/sdk/databasemigration/src/operation/delete_replication_instance/builders.rs index c38c0c7bd717..ba1f6361d723 100644 --- a/sdk/databasemigration/src/operation/delete_replication_instance/builders.rs +++ b/sdk/databasemigration/src/operation/delete_replication_instance/builders.rs @@ -22,9 +22,9 @@ impl DeleteReplicationInstanceFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -86,6 +86,22 @@ impl DeleteReplicationInstanceFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::delete_replication_instance::DeleteReplicationInstance, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::delete_replication_instance::DeleteReplicationInstanceError, + >, + > { + self.customize_middleware().await + } ///

                                      The Amazon Resource Name (ARN) of the replication instance to be deleted.

                                      pub fn replication_instance_arn( mut self, diff --git a/sdk/databasemigration/src/operation/delete_replication_subnet_group/builders.rs b/sdk/databasemigration/src/operation/delete_replication_subnet_group/builders.rs index df0376fd0888..03a2ad675f20 100644 --- a/sdk/databasemigration/src/operation/delete_replication_subnet_group/builders.rs +++ b/sdk/databasemigration/src/operation/delete_replication_subnet_group/builders.rs @@ -19,9 +19,9 @@ impl DeleteReplicationSubnetGroupFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl DeleteReplicationSubnetGroupFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::delete_replication_subnet_group::DeleteReplicationSubnetGroup, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::delete_replication_subnet_group::DeleteReplicationSubnetGroupError, + >, + > { + self.customize_middleware().await + } ///

                                      The subnet group name of the replication instance.

                                      pub fn replication_subnet_group_identifier( mut self, diff --git a/sdk/databasemigration/src/operation/delete_replication_task/builders.rs b/sdk/databasemigration/src/operation/delete_replication_task/builders.rs index e13398f18082..9e82d2e157f2 100644 --- a/sdk/databasemigration/src/operation/delete_replication_task/builders.rs +++ b/sdk/databasemigration/src/operation/delete_replication_task/builders.rs @@ -19,9 +19,9 @@ impl DeleteReplicationTaskFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl DeleteReplicationTaskFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::delete_replication_task::DeleteReplicationTask, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::delete_replication_task::DeleteReplicationTaskError, + >, + > { + self.customize_middleware().await + } ///

                                      The Amazon Resource Name (ARN) of the replication task to be deleted.

                                      pub fn replication_task_arn( mut self, diff --git a/sdk/databasemigration/src/operation/delete_replication_task_assessment_run/builders.rs b/sdk/databasemigration/src/operation/delete_replication_task_assessment_run/builders.rs index b2dcc3029770..1c659c298fe2 100644 --- a/sdk/databasemigration/src/operation/delete_replication_task_assessment_run/builders.rs +++ b/sdk/databasemigration/src/operation/delete_replication_task_assessment_run/builders.rs @@ -20,9 +20,9 @@ impl DeleteReplicationTaskAssessmentRunFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize(self) -> ::std::result::Result< + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware(self) -> ::std::result::Result< crate::client::customize::CustomizableOperation, ::aws_smithy_http::result::SdkError >{ @@ -65,6 +65,15 @@ impl DeleteReplicationTaskAssessmentRunFluentBuilder { { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize(self) -> ::std::result::Result< + crate::client::customize::CustomizableOperation, + ::aws_smithy_http::result::SdkError + >{ + self.customize_middleware().await + } ///

                                      Amazon Resource Name (ARN) of the premigration assessment run to be deleted.

                                      pub fn replication_task_assessment_run_arn( mut self, diff --git a/sdk/databasemigration/src/operation/describe_account_attributes/builders.rs b/sdk/databasemigration/src/operation/describe_account_attributes/builders.rs index 8d42fa850a96..a83f7988c75f 100644 --- a/sdk/databasemigration/src/operation/describe_account_attributes/builders.rs +++ b/sdk/databasemigration/src/operation/describe_account_attributes/builders.rs @@ -20,9 +20,9 @@ impl DescribeAccountAttributesFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -84,4 +84,20 @@ impl DescribeAccountAttributesFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::describe_account_attributes::DescribeAccountAttributes, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::describe_account_attributes::DescribeAccountAttributesError, + >, + > { + self.customize_middleware().await + } } diff --git a/sdk/databasemigration/src/operation/describe_applicable_individual_assessments/builders.rs b/sdk/databasemigration/src/operation/describe_applicable_individual_assessments/builders.rs index 34d501d0ecd4..d5d4d32649a1 100644 --- a/sdk/databasemigration/src/operation/describe_applicable_individual_assessments/builders.rs +++ b/sdk/databasemigration/src/operation/describe_applicable_individual_assessments/builders.rs @@ -22,9 +22,9 @@ impl DescribeApplicableIndividualAssessmentsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize(self) -> ::std::result::Result< + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware(self) -> ::std::result::Result< crate::client::customize::CustomizableOperation, ::aws_smithy_http::result::SdkError >{ @@ -67,6 +67,15 @@ impl DescribeApplicableIndividualAssessmentsFluentBuilder { { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize(self) -> ::std::result::Result< + crate::client::customize::CustomizableOperation, + ::aws_smithy_http::result::SdkError + >{ + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::describe_applicable_individual_assessments::paginator::DescribeApplicableIndividualAssessmentsPaginator::send) which returns a `Stream`. diff --git a/sdk/databasemigration/src/operation/describe_certificates/builders.rs b/sdk/databasemigration/src/operation/describe_certificates/builders.rs index 4e96a2dac575..5de53917e5b1 100644 --- a/sdk/databasemigration/src/operation/describe_certificates/builders.rs +++ b/sdk/databasemigration/src/operation/describe_certificates/builders.rs @@ -19,9 +19,9 @@ impl DescribeCertificatesFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl DescribeCertificatesFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::describe_certificates::DescribeCertificates, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::describe_certificates::DescribeCertificatesError, + >, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::describe_certificates::paginator::DescribeCertificatesPaginator::send) which returns a `Stream`. diff --git a/sdk/databasemigration/src/operation/describe_connections/builders.rs b/sdk/databasemigration/src/operation/describe_connections/builders.rs index 606fcd4752e2..937e88854fd7 100644 --- a/sdk/databasemigration/src/operation/describe_connections/builders.rs +++ b/sdk/databasemigration/src/operation/describe_connections/builders.rs @@ -19,9 +19,9 @@ impl DescribeConnectionsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl DescribeConnectionsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::describe_connections::DescribeConnections, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::describe_connections::DescribeConnectionsError, + >, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::describe_connections::paginator::DescribeConnectionsPaginator::send) which returns a `Stream`. diff --git a/sdk/databasemigration/src/operation/describe_endpoint_settings/builders.rs b/sdk/databasemigration/src/operation/describe_endpoint_settings/builders.rs index 4afd4aa1e05e..ddb1b518b7bc 100644 --- a/sdk/databasemigration/src/operation/describe_endpoint_settings/builders.rs +++ b/sdk/databasemigration/src/operation/describe_endpoint_settings/builders.rs @@ -19,9 +19,9 @@ impl DescribeEndpointSettingsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl DescribeEndpointSettingsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::describe_endpoint_settings::DescribeEndpointSettings, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::describe_endpoint_settings::DescribeEndpointSettingsError, + >, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::describe_endpoint_settings::paginator::DescribeEndpointSettingsPaginator::send) which returns a `Stream`. diff --git a/sdk/databasemigration/src/operation/describe_endpoint_types/builders.rs b/sdk/databasemigration/src/operation/describe_endpoint_types/builders.rs index 50051f0e7754..772172ba4041 100644 --- a/sdk/databasemigration/src/operation/describe_endpoint_types/builders.rs +++ b/sdk/databasemigration/src/operation/describe_endpoint_types/builders.rs @@ -19,9 +19,9 @@ impl DescribeEndpointTypesFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl DescribeEndpointTypesFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::describe_endpoint_types::DescribeEndpointTypes, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::describe_endpoint_types::DescribeEndpointTypesError, + >, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::describe_endpoint_types::paginator::DescribeEndpointTypesPaginator::send) which returns a `Stream`. diff --git a/sdk/databasemigration/src/operation/describe_endpoints/builders.rs b/sdk/databasemigration/src/operation/describe_endpoints/builders.rs index e336323fbe1b..140d92234dfd 100644 --- a/sdk/databasemigration/src/operation/describe_endpoints/builders.rs +++ b/sdk/databasemigration/src/operation/describe_endpoints/builders.rs @@ -19,9 +19,9 @@ impl DescribeEndpointsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl DescribeEndpointsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::describe_endpoints::DescribeEndpoints, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::describe_endpoints::DescribeEndpointsError, + >, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::describe_endpoints::paginator::DescribeEndpointsPaginator::send) which returns a `Stream`. diff --git a/sdk/databasemigration/src/operation/describe_event_categories/builders.rs b/sdk/databasemigration/src/operation/describe_event_categories/builders.rs index 9e215df2990e..56ef5bc7883f 100644 --- a/sdk/databasemigration/src/operation/describe_event_categories/builders.rs +++ b/sdk/databasemigration/src/operation/describe_event_categories/builders.rs @@ -20,9 +20,9 @@ impl DescribeEventCategoriesFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -84,6 +84,22 @@ impl DescribeEventCategoriesFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::describe_event_categories::DescribeEventCategories, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::describe_event_categories::DescribeEventCategoriesError, + >, + > { + self.customize_middleware().await + } ///

                                      The type of DMS resource that generates events.

                                      ///

                                      Valid values: replication-instance | replication-task

                                      pub fn source_type(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { diff --git a/sdk/databasemigration/src/operation/describe_event_subscriptions/builders.rs b/sdk/databasemigration/src/operation/describe_event_subscriptions/builders.rs index 8db3b12b7e24..38c801d85e37 100644 --- a/sdk/databasemigration/src/operation/describe_event_subscriptions/builders.rs +++ b/sdk/databasemigration/src/operation/describe_event_subscriptions/builders.rs @@ -20,9 +20,9 @@ impl DescribeEventSubscriptionsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -84,6 +84,22 @@ impl DescribeEventSubscriptionsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::describe_event_subscriptions::DescribeEventSubscriptions, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::describe_event_subscriptions::DescribeEventSubscriptionsError, + >, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::describe_event_subscriptions::paginator::DescribeEventSubscriptionsPaginator::send) which returns a `Stream`. diff --git a/sdk/databasemigration/src/operation/describe_events/builders.rs b/sdk/databasemigration/src/operation/describe_events/builders.rs index ce6e33bcb2b5..d7dcc4bc3a49 100644 --- a/sdk/databasemigration/src/operation/describe_events/builders.rs +++ b/sdk/databasemigration/src/operation/describe_events/builders.rs @@ -19,9 +19,9 @@ impl DescribeEventsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl DescribeEventsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::describe_events::DescribeEvents, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::describe_events::paginator::DescribeEventsPaginator::send) which returns a `Stream`. diff --git a/sdk/databasemigration/src/operation/describe_fleet_advisor_collectors/builders.rs b/sdk/databasemigration/src/operation/describe_fleet_advisor_collectors/builders.rs index 7f5f01c9ffd6..5b4827af84db 100644 --- a/sdk/databasemigration/src/operation/describe_fleet_advisor_collectors/builders.rs +++ b/sdk/databasemigration/src/operation/describe_fleet_advisor_collectors/builders.rs @@ -19,9 +19,9 @@ impl DescribeFleetAdvisorCollectorsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize(self) -> ::std::result::Result< + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware(self) -> ::std::result::Result< crate::client::customize::CustomizableOperation, ::aws_smithy_http::result::SdkError >{ @@ -64,6 +64,15 @@ impl DescribeFleetAdvisorCollectorsFluentBuilder { { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize(self) -> ::std::result::Result< + crate::client::customize::CustomizableOperation, + ::aws_smithy_http::result::SdkError + >{ + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::describe_fleet_advisor_collectors::paginator::DescribeFleetAdvisorCollectorsPaginator::send) which returns a `Stream`. diff --git a/sdk/databasemigration/src/operation/describe_fleet_advisor_databases/builders.rs b/sdk/databasemigration/src/operation/describe_fleet_advisor_databases/builders.rs index 33c3faa8c686..b399346d85cf 100644 --- a/sdk/databasemigration/src/operation/describe_fleet_advisor_databases/builders.rs +++ b/sdk/databasemigration/src/operation/describe_fleet_advisor_databases/builders.rs @@ -19,9 +19,9 @@ impl DescribeFleetAdvisorDatabasesFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl DescribeFleetAdvisorDatabasesFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::describe_fleet_advisor_databases::DescribeFleetAdvisorDatabases, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::describe_fleet_advisor_databases::DescribeFleetAdvisorDatabasesError, + >, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::describe_fleet_advisor_databases::paginator::DescribeFleetAdvisorDatabasesPaginator::send) which returns a `Stream`. diff --git a/sdk/databasemigration/src/operation/describe_fleet_advisor_lsa_analysis/builders.rs b/sdk/databasemigration/src/operation/describe_fleet_advisor_lsa_analysis/builders.rs index 5afd5f5d2d4c..2639a6f8b9d9 100644 --- a/sdk/databasemigration/src/operation/describe_fleet_advisor_lsa_analysis/builders.rs +++ b/sdk/databasemigration/src/operation/describe_fleet_advisor_lsa_analysis/builders.rs @@ -19,9 +19,9 @@ impl DescribeFleetAdvisorLsaAnalysisFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize(self) -> ::std::result::Result< + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware(self) -> ::std::result::Result< crate::client::customize::CustomizableOperation, ::aws_smithy_http::result::SdkError >{ @@ -64,6 +64,15 @@ impl DescribeFleetAdvisorLsaAnalysisFluentBuilder { { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize(self) -> ::std::result::Result< + crate::client::customize::CustomizableOperation, + ::aws_smithy_http::result::SdkError + >{ + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::describe_fleet_advisor_lsa_analysis::paginator::DescribeFleetAdvisorLsaAnalysisPaginator::send) which returns a `Stream`. diff --git a/sdk/databasemigration/src/operation/describe_fleet_advisor_schema_object_summary/builders.rs b/sdk/databasemigration/src/operation/describe_fleet_advisor_schema_object_summary/builders.rs index 161e1a6c340e..9c92381571ff 100644 --- a/sdk/databasemigration/src/operation/describe_fleet_advisor_schema_object_summary/builders.rs +++ b/sdk/databasemigration/src/operation/describe_fleet_advisor_schema_object_summary/builders.rs @@ -19,9 +19,9 @@ impl DescribeFleetAdvisorSchemaObjectSummaryFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize(self) -> ::std::result::Result< + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware(self) -> ::std::result::Result< crate::client::customize::CustomizableOperation, ::aws_smithy_http::result::SdkError >{ @@ -64,6 +64,15 @@ impl DescribeFleetAdvisorSchemaObjectSummaryFluentBuilder { { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize(self) -> ::std::result::Result< + crate::client::customize::CustomizableOperation, + ::aws_smithy_http::result::SdkError + >{ + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::describe_fleet_advisor_schema_object_summary::paginator::DescribeFleetAdvisorSchemaObjectSummaryPaginator::send) which returns a `Stream`. diff --git a/sdk/databasemigration/src/operation/describe_fleet_advisor_schemas/builders.rs b/sdk/databasemigration/src/operation/describe_fleet_advisor_schemas/builders.rs index 76860248094c..8d1eb0f6f43e 100644 --- a/sdk/databasemigration/src/operation/describe_fleet_advisor_schemas/builders.rs +++ b/sdk/databasemigration/src/operation/describe_fleet_advisor_schemas/builders.rs @@ -19,9 +19,9 @@ impl DescribeFleetAdvisorSchemasFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl DescribeFleetAdvisorSchemasFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::describe_fleet_advisor_schemas::DescribeFleetAdvisorSchemas, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::describe_fleet_advisor_schemas::DescribeFleetAdvisorSchemasError, + >, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::describe_fleet_advisor_schemas::paginator::DescribeFleetAdvisorSchemasPaginator::send) which returns a `Stream`. diff --git a/sdk/databasemigration/src/operation/describe_orderable_replication_instances/builders.rs b/sdk/databasemigration/src/operation/describe_orderable_replication_instances/builders.rs index 83464470b914..4afde1859a93 100644 --- a/sdk/databasemigration/src/operation/describe_orderable_replication_instances/builders.rs +++ b/sdk/databasemigration/src/operation/describe_orderable_replication_instances/builders.rs @@ -19,9 +19,9 @@ impl DescribeOrderableReplicationInstancesFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize(self) -> ::std::result::Result< + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware(self) -> ::std::result::Result< crate::client::customize::CustomizableOperation, ::aws_smithy_http::result::SdkError >{ @@ -64,6 +64,15 @@ impl DescribeOrderableReplicationInstancesFluentBuilder { { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize(self) -> ::std::result::Result< + crate::client::customize::CustomizableOperation, + ::aws_smithy_http::result::SdkError + >{ + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::describe_orderable_replication_instances::paginator::DescribeOrderableReplicationInstancesPaginator::send) which returns a `Stream`. diff --git a/sdk/databasemigration/src/operation/describe_pending_maintenance_actions/builders.rs b/sdk/databasemigration/src/operation/describe_pending_maintenance_actions/builders.rs index a5fd0afa0645..674641af7764 100644 --- a/sdk/databasemigration/src/operation/describe_pending_maintenance_actions/builders.rs +++ b/sdk/databasemigration/src/operation/describe_pending_maintenance_actions/builders.rs @@ -19,9 +19,9 @@ impl DescribePendingMaintenanceActionsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize(self) -> ::std::result::Result< + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware(self) -> ::std::result::Result< crate::client::customize::CustomizableOperation, ::aws_smithy_http::result::SdkError >{ @@ -64,6 +64,15 @@ impl DescribePendingMaintenanceActionsFluentBuilder { { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize(self) -> ::std::result::Result< + crate::client::customize::CustomizableOperation, + ::aws_smithy_http::result::SdkError + >{ + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::describe_pending_maintenance_actions::paginator::DescribePendingMaintenanceActionsPaginator::send) which returns a `Stream`. diff --git a/sdk/databasemigration/src/operation/describe_recommendation_limitations/builders.rs b/sdk/databasemigration/src/operation/describe_recommendation_limitations/builders.rs index 5ef0ef43a2cc..6ae5bc019d3c 100644 --- a/sdk/databasemigration/src/operation/describe_recommendation_limitations/builders.rs +++ b/sdk/databasemigration/src/operation/describe_recommendation_limitations/builders.rs @@ -19,9 +19,9 @@ impl DescribeRecommendationLimitationsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize(self) -> ::std::result::Result< + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware(self) -> ::std::result::Result< crate::client::customize::CustomizableOperation, ::aws_smithy_http::result::SdkError >{ @@ -64,6 +64,15 @@ impl DescribeRecommendationLimitationsFluentBuilder { { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize(self) -> ::std::result::Result< + crate::client::customize::CustomizableOperation, + ::aws_smithy_http::result::SdkError + >{ + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::describe_recommendation_limitations::paginator::DescribeRecommendationLimitationsPaginator::send) which returns a `Stream`. diff --git a/sdk/databasemigration/src/operation/describe_recommendations/builders.rs b/sdk/databasemigration/src/operation/describe_recommendations/builders.rs index af2b504d36b8..ac30972c6035 100644 --- a/sdk/databasemigration/src/operation/describe_recommendations/builders.rs +++ b/sdk/databasemigration/src/operation/describe_recommendations/builders.rs @@ -20,9 +20,9 @@ impl DescribeRecommendationsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -84,6 +84,22 @@ impl DescribeRecommendationsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::describe_recommendations::DescribeRecommendations, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::describe_recommendations::DescribeRecommendationsError, + >, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::describe_recommendations::paginator::DescribeRecommendationsPaginator::send) which returns a `Stream`. diff --git a/sdk/databasemigration/src/operation/describe_refresh_schemas_status/builders.rs b/sdk/databasemigration/src/operation/describe_refresh_schemas_status/builders.rs index 6ff258c06c74..ce83675f2965 100644 --- a/sdk/databasemigration/src/operation/describe_refresh_schemas_status/builders.rs +++ b/sdk/databasemigration/src/operation/describe_refresh_schemas_status/builders.rs @@ -19,9 +19,9 @@ impl DescribeRefreshSchemasStatusFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl DescribeRefreshSchemasStatusFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::describe_refresh_schemas_status::DescribeRefreshSchemasStatus, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::describe_refresh_schemas_status::DescribeRefreshSchemasStatusError, + >, + > { + self.customize_middleware().await + } ///

                                      The Amazon Resource Name (ARN) string that uniquely identifies the endpoint.

                                      pub fn endpoint_arn(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.endpoint_arn(input.into()); diff --git a/sdk/databasemigration/src/operation/describe_replication_instance_task_logs/builders.rs b/sdk/databasemigration/src/operation/describe_replication_instance_task_logs/builders.rs index d94e3e8b3830..e24b2e7bda77 100644 --- a/sdk/databasemigration/src/operation/describe_replication_instance_task_logs/builders.rs +++ b/sdk/databasemigration/src/operation/describe_replication_instance_task_logs/builders.rs @@ -19,9 +19,9 @@ impl DescribeReplicationInstanceTaskLogsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize(self) -> ::std::result::Result< + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware(self) -> ::std::result::Result< crate::client::customize::CustomizableOperation, ::aws_smithy_http::result::SdkError >{ @@ -64,6 +64,15 @@ impl DescribeReplicationInstanceTaskLogsFluentBuilder { { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize(self) -> ::std::result::Result< + crate::client::customize::CustomizableOperation, + ::aws_smithy_http::result::SdkError + >{ + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::describe_replication_instance_task_logs::paginator::DescribeReplicationInstanceTaskLogsPaginator::send) which returns a `Stream`. diff --git a/sdk/databasemigration/src/operation/describe_replication_instances/builders.rs b/sdk/databasemigration/src/operation/describe_replication_instances/builders.rs index 2b9cbf5f803f..772121ee1e92 100644 --- a/sdk/databasemigration/src/operation/describe_replication_instances/builders.rs +++ b/sdk/databasemigration/src/operation/describe_replication_instances/builders.rs @@ -19,9 +19,9 @@ impl DescribeReplicationInstancesFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl DescribeReplicationInstancesFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::describe_replication_instances::DescribeReplicationInstances, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::describe_replication_instances::DescribeReplicationInstancesError, + >, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::describe_replication_instances::paginator::DescribeReplicationInstancesPaginator::send) which returns a `Stream`. diff --git a/sdk/databasemigration/src/operation/describe_replication_subnet_groups/builders.rs b/sdk/databasemigration/src/operation/describe_replication_subnet_groups/builders.rs index 4a92c009e908..9fd6c98f032f 100644 --- a/sdk/databasemigration/src/operation/describe_replication_subnet_groups/builders.rs +++ b/sdk/databasemigration/src/operation/describe_replication_subnet_groups/builders.rs @@ -19,9 +19,9 @@ impl DescribeReplicationSubnetGroupsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize(self) -> ::std::result::Result< + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware(self) -> ::std::result::Result< crate::client::customize::CustomizableOperation, ::aws_smithy_http::result::SdkError >{ @@ -64,6 +64,15 @@ impl DescribeReplicationSubnetGroupsFluentBuilder { { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize(self) -> ::std::result::Result< + crate::client::customize::CustomizableOperation, + ::aws_smithy_http::result::SdkError + >{ + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::describe_replication_subnet_groups::paginator::DescribeReplicationSubnetGroupsPaginator::send) which returns a `Stream`. diff --git a/sdk/databasemigration/src/operation/describe_replication_task_assessment_results/builders.rs b/sdk/databasemigration/src/operation/describe_replication_task_assessment_results/builders.rs index ba443619319a..5b663c00d91f 100644 --- a/sdk/databasemigration/src/operation/describe_replication_task_assessment_results/builders.rs +++ b/sdk/databasemigration/src/operation/describe_replication_task_assessment_results/builders.rs @@ -20,9 +20,9 @@ impl DescribeReplicationTaskAssessmentResultsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize(self) -> ::std::result::Result< + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware(self) -> ::std::result::Result< crate::client::customize::CustomizableOperation, ::aws_smithy_http::result::SdkError >{ @@ -65,6 +65,15 @@ impl DescribeReplicationTaskAssessmentResultsFluentBuilder { { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize(self) -> ::std::result::Result< + crate::client::customize::CustomizableOperation, + ::aws_smithy_http::result::SdkError + >{ + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::describe_replication_task_assessment_results::paginator::DescribeReplicationTaskAssessmentResultsPaginator::send) which returns a `Stream`. diff --git a/sdk/databasemigration/src/operation/describe_replication_task_assessment_runs/builders.rs b/sdk/databasemigration/src/operation/describe_replication_task_assessment_runs/builders.rs index 535f3ffc9f6e..afff03b5db22 100644 --- a/sdk/databasemigration/src/operation/describe_replication_task_assessment_runs/builders.rs +++ b/sdk/databasemigration/src/operation/describe_replication_task_assessment_runs/builders.rs @@ -22,9 +22,9 @@ impl DescribeReplicationTaskAssessmentRunsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize(self) -> ::std::result::Result< + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware(self) -> ::std::result::Result< crate::client::customize::CustomizableOperation, ::aws_smithy_http::result::SdkError >{ @@ -67,6 +67,15 @@ impl DescribeReplicationTaskAssessmentRunsFluentBuilder { { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize(self) -> ::std::result::Result< + crate::client::customize::CustomizableOperation, + ::aws_smithy_http::result::SdkError + >{ + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::describe_replication_task_assessment_runs::paginator::DescribeReplicationTaskAssessmentRunsPaginator::send) which returns a `Stream`. diff --git a/sdk/databasemigration/src/operation/describe_replication_task_individual_assessments/builders.rs b/sdk/databasemigration/src/operation/describe_replication_task_individual_assessments/builders.rs index 9150ed7db2d0..a8e175f91b70 100644 --- a/sdk/databasemigration/src/operation/describe_replication_task_individual_assessments/builders.rs +++ b/sdk/databasemigration/src/operation/describe_replication_task_individual_assessments/builders.rs @@ -20,9 +20,9 @@ impl DescribeReplicationTaskIndividualAssessmentsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize(self) -> ::std::result::Result< + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware(self) -> ::std::result::Result< crate::client::customize::CustomizableOperation, ::aws_smithy_http::result::SdkError >{ @@ -65,6 +65,15 @@ impl DescribeReplicationTaskIndividualAssessmentsFluentBuilder { { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize(self) -> ::std::result::Result< + crate::client::customize::CustomizableOperation, + ::aws_smithy_http::result::SdkError + >{ + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::describe_replication_task_individual_assessments::paginator::DescribeReplicationTaskIndividualAssessmentsPaginator::send) which returns a `Stream`. diff --git a/sdk/databasemigration/src/operation/describe_replication_tasks/builders.rs b/sdk/databasemigration/src/operation/describe_replication_tasks/builders.rs index 00f801cdc84d..be5c00f87125 100644 --- a/sdk/databasemigration/src/operation/describe_replication_tasks/builders.rs +++ b/sdk/databasemigration/src/operation/describe_replication_tasks/builders.rs @@ -19,9 +19,9 @@ impl DescribeReplicationTasksFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl DescribeReplicationTasksFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::describe_replication_tasks::DescribeReplicationTasks, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::describe_replication_tasks::DescribeReplicationTasksError, + >, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::describe_replication_tasks::paginator::DescribeReplicationTasksPaginator::send) which returns a `Stream`. diff --git a/sdk/databasemigration/src/operation/describe_schemas/builders.rs b/sdk/databasemigration/src/operation/describe_schemas/builders.rs index b62205340dda..b7f26993d135 100644 --- a/sdk/databasemigration/src/operation/describe_schemas/builders.rs +++ b/sdk/databasemigration/src/operation/describe_schemas/builders.rs @@ -20,9 +20,9 @@ impl DescribeSchemasFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -84,6 +84,22 @@ impl DescribeSchemasFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::describe_schemas::DescribeSchemas, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::describe_schemas::DescribeSchemasError, + >, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::describe_schemas::paginator::DescribeSchemasPaginator::send) which returns a `Stream`. diff --git a/sdk/databasemigration/src/operation/describe_table_statistics/builders.rs b/sdk/databasemigration/src/operation/describe_table_statistics/builders.rs index af5d24c03117..5ff990a927d3 100644 --- a/sdk/databasemigration/src/operation/describe_table_statistics/builders.rs +++ b/sdk/databasemigration/src/operation/describe_table_statistics/builders.rs @@ -21,9 +21,9 @@ impl DescribeTableStatisticsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -85,6 +85,22 @@ impl DescribeTableStatisticsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::describe_table_statistics::DescribeTableStatistics, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::describe_table_statistics::DescribeTableStatisticsError, + >, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::describe_table_statistics::paginator::DescribeTableStatisticsPaginator::send) which returns a `Stream`. diff --git a/sdk/databasemigration/src/operation/import_certificate/builders.rs b/sdk/databasemigration/src/operation/import_certificate/builders.rs index e3c34721f005..57dc8e934f2c 100644 --- a/sdk/databasemigration/src/operation/import_certificate/builders.rs +++ b/sdk/databasemigration/src/operation/import_certificate/builders.rs @@ -19,9 +19,9 @@ impl ImportCertificateFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl ImportCertificateFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::import_certificate::ImportCertificate, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::import_certificate::ImportCertificateError, + >, + > { + self.customize_middleware().await + } ///

                                      A customer-assigned name for the certificate. Identifiers must begin with a letter and must contain only ASCII letters, digits, and hyphens. They can't end with a hyphen or contain two consecutive hyphens.

                                      pub fn certificate_identifier( mut self, diff --git a/sdk/databasemigration/src/operation/list_tags_for_resource/builders.rs b/sdk/databasemigration/src/operation/list_tags_for_resource/builders.rs index 74c8c08a313e..0cb1ed88fd06 100644 --- a/sdk/databasemigration/src/operation/list_tags_for_resource/builders.rs +++ b/sdk/databasemigration/src/operation/list_tags_for_resource/builders.rs @@ -19,9 +19,9 @@ impl ListTagsForResourceFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl ListTagsForResourceFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_tags_for_resource::ListTagsForResource, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::list_tags_for_resource::ListTagsForResourceError, + >, + > { + self.customize_middleware().await + } ///

                                      The Amazon Resource Name (ARN) string that uniquely identifies the DMS resource to list tags for. This returns a list of keys (names of tags) created for the resource and their associated tag values.

                                      pub fn resource_arn(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.resource_arn(input.into()); diff --git a/sdk/databasemigration/src/operation/modify_endpoint/builders.rs b/sdk/databasemigration/src/operation/modify_endpoint/builders.rs index 14bdaf9db37f..f107de11fa6c 100644 --- a/sdk/databasemigration/src/operation/modify_endpoint/builders.rs +++ b/sdk/databasemigration/src/operation/modify_endpoint/builders.rs @@ -21,9 +21,9 @@ impl ModifyEndpointFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -79,6 +79,20 @@ impl ModifyEndpointFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::modify_endpoint::ModifyEndpoint, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                      The Amazon Resource Name (ARN) string that uniquely identifies the endpoint.

                                      pub fn endpoint_arn(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.endpoint_arn(input.into()); diff --git a/sdk/databasemigration/src/operation/modify_event_subscription/builders.rs b/sdk/databasemigration/src/operation/modify_event_subscription/builders.rs index 80c071011331..b85febe7d75e 100644 --- a/sdk/databasemigration/src/operation/modify_event_subscription/builders.rs +++ b/sdk/databasemigration/src/operation/modify_event_subscription/builders.rs @@ -20,9 +20,9 @@ impl ModifyEventSubscriptionFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -84,6 +84,22 @@ impl ModifyEventSubscriptionFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::modify_event_subscription::ModifyEventSubscription, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::modify_event_subscription::ModifyEventSubscriptionError, + >, + > { + self.customize_middleware().await + } ///

                                      The name of the DMS event notification subscription to be modified.

                                      pub fn subscription_name( mut self, diff --git a/sdk/databasemigration/src/operation/modify_replication_instance/builders.rs b/sdk/databasemigration/src/operation/modify_replication_instance/builders.rs index c39052c3ea42..fe9f3d13dbc7 100644 --- a/sdk/databasemigration/src/operation/modify_replication_instance/builders.rs +++ b/sdk/databasemigration/src/operation/modify_replication_instance/builders.rs @@ -21,9 +21,9 @@ impl ModifyReplicationInstanceFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -85,6 +85,22 @@ impl ModifyReplicationInstanceFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::modify_replication_instance::ModifyReplicationInstance, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::modify_replication_instance::ModifyReplicationInstanceError, + >, + > { + self.customize_middleware().await + } ///

                                      The Amazon Resource Name (ARN) of the replication instance.

                                      pub fn replication_instance_arn( mut self, diff --git a/sdk/databasemigration/src/operation/modify_replication_subnet_group/builders.rs b/sdk/databasemigration/src/operation/modify_replication_subnet_group/builders.rs index 5c345fff1aed..a3ae41cc940d 100644 --- a/sdk/databasemigration/src/operation/modify_replication_subnet_group/builders.rs +++ b/sdk/databasemigration/src/operation/modify_replication_subnet_group/builders.rs @@ -19,9 +19,9 @@ impl ModifyReplicationSubnetGroupFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl ModifyReplicationSubnetGroupFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::modify_replication_subnet_group::ModifyReplicationSubnetGroup, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::modify_replication_subnet_group::ModifyReplicationSubnetGroupError, + >, + > { + self.customize_middleware().await + } ///

                                      The name of the replication instance subnet group.

                                      pub fn replication_subnet_group_identifier( mut self, diff --git a/sdk/databasemigration/src/operation/modify_replication_task/builders.rs b/sdk/databasemigration/src/operation/modify_replication_task/builders.rs index 9fc97957cbdb..9c78dd534c57 100644 --- a/sdk/databasemigration/src/operation/modify_replication_task/builders.rs +++ b/sdk/databasemigration/src/operation/modify_replication_task/builders.rs @@ -21,9 +21,9 @@ impl ModifyReplicationTaskFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -85,6 +85,22 @@ impl ModifyReplicationTaskFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::modify_replication_task::ModifyReplicationTask, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::modify_replication_task::ModifyReplicationTaskError, + >, + > { + self.customize_middleware().await + } ///

                                      The Amazon Resource Name (ARN) of the replication task.

                                      pub fn replication_task_arn( mut self, diff --git a/sdk/databasemigration/src/operation/move_replication_task/builders.rs b/sdk/databasemigration/src/operation/move_replication_task/builders.rs index 70a4642f5530..0c20cd268197 100644 --- a/sdk/databasemigration/src/operation/move_replication_task/builders.rs +++ b/sdk/databasemigration/src/operation/move_replication_task/builders.rs @@ -19,9 +19,9 @@ impl MoveReplicationTaskFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl MoveReplicationTaskFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::move_replication_task::MoveReplicationTask, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::move_replication_task::MoveReplicationTaskError, + >, + > { + self.customize_middleware().await + } ///

                                      The Amazon Resource Name (ARN) of the task that you want to move.

                                      pub fn replication_task_arn( mut self, diff --git a/sdk/databasemigration/src/operation/reboot_replication_instance/builders.rs b/sdk/databasemigration/src/operation/reboot_replication_instance/builders.rs index e76f23cf249c..c0969728e876 100644 --- a/sdk/databasemigration/src/operation/reboot_replication_instance/builders.rs +++ b/sdk/databasemigration/src/operation/reboot_replication_instance/builders.rs @@ -19,9 +19,9 @@ impl RebootReplicationInstanceFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl RebootReplicationInstanceFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::reboot_replication_instance::RebootReplicationInstance, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::reboot_replication_instance::RebootReplicationInstanceError, + >, + > { + self.customize_middleware().await + } ///

                                      The Amazon Resource Name (ARN) of the replication instance.

                                      pub fn replication_instance_arn( mut self, diff --git a/sdk/databasemigration/src/operation/refresh_schemas/builders.rs b/sdk/databasemigration/src/operation/refresh_schemas/builders.rs index 87a7e8d6b62e..69873398fe48 100644 --- a/sdk/databasemigration/src/operation/refresh_schemas/builders.rs +++ b/sdk/databasemigration/src/operation/refresh_schemas/builders.rs @@ -19,9 +19,9 @@ impl RefreshSchemasFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl RefreshSchemasFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::refresh_schemas::RefreshSchemas, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                      The Amazon Resource Name (ARN) string that uniquely identifies the endpoint.

                                      pub fn endpoint_arn(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.endpoint_arn(input.into()); diff --git a/sdk/databasemigration/src/operation/reload_tables/builders.rs b/sdk/databasemigration/src/operation/reload_tables/builders.rs index b3a47ce1075f..9d6a83e7ec55 100644 --- a/sdk/databasemigration/src/operation/reload_tables/builders.rs +++ b/sdk/databasemigration/src/operation/reload_tables/builders.rs @@ -20,9 +20,9 @@ impl ReloadTablesFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -78,6 +78,20 @@ impl ReloadTablesFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::reload_tables::ReloadTables, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                      The Amazon Resource Name (ARN) of the replication task.

                                      pub fn replication_task_arn( mut self, diff --git a/sdk/databasemigration/src/operation/remove_tags_from_resource/builders.rs b/sdk/databasemigration/src/operation/remove_tags_from_resource/builders.rs index 8ab09ca90221..172ef98d8aeb 100644 --- a/sdk/databasemigration/src/operation/remove_tags_from_resource/builders.rs +++ b/sdk/databasemigration/src/operation/remove_tags_from_resource/builders.rs @@ -20,9 +20,9 @@ impl RemoveTagsFromResourceFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -84,6 +84,22 @@ impl RemoveTagsFromResourceFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::remove_tags_from_resource::RemoveTagsFromResource, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::remove_tags_from_resource::RemoveTagsFromResourceError, + >, + > { + self.customize_middleware().await + } ///

                                      An DMS resource from which you want to remove tag(s). The value for this parameter is an Amazon Resource Name (ARN).

                                      pub fn resource_arn(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.resource_arn(input.into()); diff --git a/sdk/databasemigration/src/operation/run_fleet_advisor_lsa_analysis/builders.rs b/sdk/databasemigration/src/operation/run_fleet_advisor_lsa_analysis/builders.rs index c568ed5e21be..61eb1402ef04 100644 --- a/sdk/databasemigration/src/operation/run_fleet_advisor_lsa_analysis/builders.rs +++ b/sdk/databasemigration/src/operation/run_fleet_advisor_lsa_analysis/builders.rs @@ -19,9 +19,9 @@ impl RunFleetAdvisorLsaAnalysisFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,4 +83,20 @@ impl RunFleetAdvisorLsaAnalysisFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::run_fleet_advisor_lsa_analysis::RunFleetAdvisorLsaAnalysis, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::run_fleet_advisor_lsa_analysis::RunFleetAdvisorLsaAnalysisError, + >, + > { + self.customize_middleware().await + } } diff --git a/sdk/databasemigration/src/operation/start_recommendations/builders.rs b/sdk/databasemigration/src/operation/start_recommendations/builders.rs index 4c150d9a6ee2..48d29d1b4dbe 100644 --- a/sdk/databasemigration/src/operation/start_recommendations/builders.rs +++ b/sdk/databasemigration/src/operation/start_recommendations/builders.rs @@ -20,9 +20,9 @@ impl StartRecommendationsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -84,6 +84,22 @@ impl StartRecommendationsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::start_recommendations::StartRecommendations, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::start_recommendations::StartRecommendationsError, + >, + > { + self.customize_middleware().await + } ///

                                      The identifier of the source database to analyze and provide recommendations for.

                                      pub fn database_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.database_id(input.into()); diff --git a/sdk/databasemigration/src/operation/start_replication_task/builders.rs b/sdk/databasemigration/src/operation/start_replication_task/builders.rs index db1c4997f3f2..4c877960668d 100644 --- a/sdk/databasemigration/src/operation/start_replication_task/builders.rs +++ b/sdk/databasemigration/src/operation/start_replication_task/builders.rs @@ -20,9 +20,9 @@ impl StartReplicationTaskFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -84,6 +84,22 @@ impl StartReplicationTaskFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::start_replication_task::StartReplicationTask, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::start_replication_task::StartReplicationTaskError, + >, + > { + self.customize_middleware().await + } ///

                                      The Amazon Resource Name (ARN) of the replication task to be started.

                                      pub fn replication_task_arn( mut self, diff --git a/sdk/databasemigration/src/operation/start_replication_task_assessment/builders.rs b/sdk/databasemigration/src/operation/start_replication_task_assessment/builders.rs index b4797e87e00c..582181d3c557 100644 --- a/sdk/databasemigration/src/operation/start_replication_task_assessment/builders.rs +++ b/sdk/databasemigration/src/operation/start_replication_task_assessment/builders.rs @@ -26,9 +26,9 @@ impl StartReplicationTaskAssessmentFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize(self) -> ::std::result::Result< + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware(self) -> ::std::result::Result< crate::client::customize::CustomizableOperation, ::aws_smithy_http::result::SdkError >{ @@ -71,6 +71,15 @@ impl StartReplicationTaskAssessmentFluentBuilder { { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize(self) -> ::std::result::Result< + crate::client::customize::CustomizableOperation, + ::aws_smithy_http::result::SdkError + >{ + self.customize_middleware().await + } ///

                                      The Amazon Resource Name (ARN) of the replication task.

                                      pub fn replication_task_arn( mut self, diff --git a/sdk/databasemigration/src/operation/start_replication_task_assessment_run/builders.rs b/sdk/databasemigration/src/operation/start_replication_task_assessment_run/builders.rs index 39688275a998..c16d5b2700ad 100644 --- a/sdk/databasemigration/src/operation/start_replication_task_assessment_run/builders.rs +++ b/sdk/databasemigration/src/operation/start_replication_task_assessment_run/builders.rs @@ -20,9 +20,9 @@ impl StartReplicationTaskAssessmentRunFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize(self) -> ::std::result::Result< + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware(self) -> ::std::result::Result< crate::client::customize::CustomizableOperation, ::aws_smithy_http::result::SdkError >{ @@ -65,6 +65,15 @@ impl StartReplicationTaskAssessmentRunFluentBuilder { { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize(self) -> ::std::result::Result< + crate::client::customize::CustomizableOperation, + ::aws_smithy_http::result::SdkError + >{ + self.customize_middleware().await + } ///

                                      Amazon Resource Name (ARN) of the migration task associated with the premigration assessment run that you want to start.

                                      pub fn replication_task_arn( mut self, diff --git a/sdk/databasemigration/src/operation/stop_replication_task/builders.rs b/sdk/databasemigration/src/operation/stop_replication_task/builders.rs index 87451a605eec..cebff551032c 100644 --- a/sdk/databasemigration/src/operation/stop_replication_task/builders.rs +++ b/sdk/databasemigration/src/operation/stop_replication_task/builders.rs @@ -19,9 +19,9 @@ impl StopReplicationTaskFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl StopReplicationTaskFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::stop_replication_task::StopReplicationTask, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::stop_replication_task::StopReplicationTaskError, + >, + > { + self.customize_middleware().await + } ///

                                      The Amazon Resource Name(ARN) of the replication task to be stopped.

                                      pub fn replication_task_arn( mut self, diff --git a/sdk/databasemigration/src/operation/test_connection/builders.rs b/sdk/databasemigration/src/operation/test_connection/builders.rs index 863782e4511f..6987224e2eaf 100644 --- a/sdk/databasemigration/src/operation/test_connection/builders.rs +++ b/sdk/databasemigration/src/operation/test_connection/builders.rs @@ -19,9 +19,9 @@ impl TestConnectionFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl TestConnectionFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::test_connection::TestConnection, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                      The Amazon Resource Name (ARN) of the replication instance.

                                      pub fn replication_instance_arn( mut self, diff --git a/sdk/databasemigration/src/operation/update_subscriptions_to_event_bridge/builders.rs b/sdk/databasemigration/src/operation/update_subscriptions_to_event_bridge/builders.rs index 92f97b9007bf..a2fb7339fba3 100644 --- a/sdk/databasemigration/src/operation/update_subscriptions_to_event_bridge/builders.rs +++ b/sdk/databasemigration/src/operation/update_subscriptions_to_event_bridge/builders.rs @@ -20,9 +20,9 @@ impl UpdateSubscriptionsToEventBridgeFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize(self) -> ::std::result::Result< + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware(self) -> ::std::result::Result< crate::client::customize::CustomizableOperation, ::aws_smithy_http::result::SdkError >{ @@ -65,6 +65,15 @@ impl UpdateSubscriptionsToEventBridgeFluentBuilder { { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize(self) -> ::std::result::Result< + crate::client::customize::CustomizableOperation, + ::aws_smithy_http::result::SdkError + >{ + self.customize_middleware().await + } ///

                                      When set to true, this operation migrates DMS subscriptions for Amazon SNS notifications no matter what your replication instance version is. If not set or set to false, this operation runs only when all your replication instances are from DMS version 3.4.6 or higher.

                                      pub fn force_move(mut self, input: bool) -> Self { self.inner = self.inner.force_move(input); diff --git a/sdk/databrew/src/operation/batch_delete_recipe_version/builders.rs b/sdk/databrew/src/operation/batch_delete_recipe_version/builders.rs index f4114bc68e25..d5a818be2029 100644 --- a/sdk/databrew/src/operation/batch_delete_recipe_version/builders.rs +++ b/sdk/databrew/src/operation/batch_delete_recipe_version/builders.rs @@ -35,9 +35,9 @@ impl BatchDeleteRecipeVersionFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -99,6 +99,22 @@ impl BatchDeleteRecipeVersionFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::batch_delete_recipe_version::BatchDeleteRecipeVersion, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::batch_delete_recipe_version::BatchDeleteRecipeVersionError, + >, + > { + self.customize_middleware().await + } ///

                                      The name of the recipe whose versions are to be deleted.

                                      pub fn name(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.name(input.into()); diff --git a/sdk/databrew/src/operation/create_dataset/builders.rs b/sdk/databrew/src/operation/create_dataset/builders.rs index 90b397df6a8b..af3aa80fc6d3 100644 --- a/sdk/databrew/src/operation/create_dataset/builders.rs +++ b/sdk/databrew/src/operation/create_dataset/builders.rs @@ -19,9 +19,9 @@ impl CreateDatasetFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl CreateDatasetFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::create_dataset::CreateDataset, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                      The name of the dataset to be created. Valid characters are alphanumeric (A-Z, a-z, 0-9), hyphen (-), period (.), and space.

                                      pub fn name(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.name(input.into()); diff --git a/sdk/databrew/src/operation/create_profile_job/builders.rs b/sdk/databrew/src/operation/create_profile_job/builders.rs index 257c6333e799..089b867e6670 100644 --- a/sdk/databrew/src/operation/create_profile_job/builders.rs +++ b/sdk/databrew/src/operation/create_profile_job/builders.rs @@ -19,9 +19,9 @@ impl CreateProfileJobFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl CreateProfileJobFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::create_profile_job::CreateProfileJob, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::create_profile_job::CreateProfileJobError, + >, + > { + self.customize_middleware().await + } ///

                                      The name of the dataset that this job is to act upon.

                                      pub fn dataset_name(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.dataset_name(input.into()); diff --git a/sdk/databrew/src/operation/create_project/builders.rs b/sdk/databrew/src/operation/create_project/builders.rs index 86042789492e..3939fd1e30c9 100644 --- a/sdk/databrew/src/operation/create_project/builders.rs +++ b/sdk/databrew/src/operation/create_project/builders.rs @@ -19,9 +19,9 @@ impl CreateProjectFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl CreateProjectFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::create_project::CreateProject, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                      The name of an existing dataset to associate this project with.

                                      pub fn dataset_name(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.dataset_name(input.into()); diff --git a/sdk/databrew/src/operation/create_recipe/builders.rs b/sdk/databrew/src/operation/create_recipe/builders.rs index f3bf7379f156..8d23ea0eb434 100644 --- a/sdk/databrew/src/operation/create_recipe/builders.rs +++ b/sdk/databrew/src/operation/create_recipe/builders.rs @@ -19,9 +19,9 @@ impl CreateRecipeFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl CreateRecipeFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::create_recipe::CreateRecipe, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                      A description for the recipe.

                                      pub fn description(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.description(input.into()); diff --git a/sdk/databrew/src/operation/create_recipe_job/builders.rs b/sdk/databrew/src/operation/create_recipe_job/builders.rs index 0128a5ea8f25..dc73731c27ed 100644 --- a/sdk/databrew/src/operation/create_recipe_job/builders.rs +++ b/sdk/databrew/src/operation/create_recipe_job/builders.rs @@ -19,9 +19,9 @@ impl CreateRecipeJobFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl CreateRecipeJobFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::create_recipe_job::CreateRecipeJob, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::create_recipe_job::CreateRecipeJobError, + >, + > { + self.customize_middleware().await + } ///

                                      The name of the dataset that this job processes.

                                      pub fn dataset_name(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.dataset_name(input.into()); diff --git a/sdk/databrew/src/operation/create_ruleset/builders.rs b/sdk/databrew/src/operation/create_ruleset/builders.rs index d96ceba1a7ae..bd671bec2d48 100644 --- a/sdk/databrew/src/operation/create_ruleset/builders.rs +++ b/sdk/databrew/src/operation/create_ruleset/builders.rs @@ -19,9 +19,9 @@ impl CreateRulesetFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl CreateRulesetFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::create_ruleset::CreateRuleset, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                      The name of the ruleset to be created. Valid characters are alphanumeric (A-Z, a-z, 0-9), hyphen (-), period (.), and space.

                                      pub fn name(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.name(input.into()); diff --git a/sdk/databrew/src/operation/create_schedule/builders.rs b/sdk/databrew/src/operation/create_schedule/builders.rs index 123aa94f8406..27cb76806d34 100644 --- a/sdk/databrew/src/operation/create_schedule/builders.rs +++ b/sdk/databrew/src/operation/create_schedule/builders.rs @@ -19,9 +19,9 @@ impl CreateScheduleFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl CreateScheduleFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::create_schedule::CreateSchedule, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } /// Appends an item to `JobNames`. /// /// To override the contents of this collection use [`set_job_names`](Self::set_job_names). diff --git a/sdk/databrew/src/operation/delete_dataset/builders.rs b/sdk/databrew/src/operation/delete_dataset/builders.rs index 784092a548d8..c8420f0380f3 100644 --- a/sdk/databrew/src/operation/delete_dataset/builders.rs +++ b/sdk/databrew/src/operation/delete_dataset/builders.rs @@ -19,9 +19,9 @@ impl DeleteDatasetFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl DeleteDatasetFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::delete_dataset::DeleteDataset, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                      The name of the dataset to be deleted.

                                      pub fn name(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.name(input.into()); diff --git a/sdk/databrew/src/operation/delete_job/builders.rs b/sdk/databrew/src/operation/delete_job/builders.rs index 6bf95f9863a6..388a260aba5a 100644 --- a/sdk/databrew/src/operation/delete_job/builders.rs +++ b/sdk/databrew/src/operation/delete_job/builders.rs @@ -19,9 +19,9 @@ impl DeleteJobFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl DeleteJobFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::delete_job::DeleteJob, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                      The name of the job to be deleted.

                                      pub fn name(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.name(input.into()); diff --git a/sdk/databrew/src/operation/delete_project/builders.rs b/sdk/databrew/src/operation/delete_project/builders.rs index c089d215350f..ea30e703079c 100644 --- a/sdk/databrew/src/operation/delete_project/builders.rs +++ b/sdk/databrew/src/operation/delete_project/builders.rs @@ -19,9 +19,9 @@ impl DeleteProjectFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl DeleteProjectFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::delete_project::DeleteProject, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                      The name of the project to be deleted.

                                      pub fn name(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.name(input.into()); diff --git a/sdk/databrew/src/operation/delete_recipe_version/builders.rs b/sdk/databrew/src/operation/delete_recipe_version/builders.rs index bd7d3c1beb2c..19fbe87d2925 100644 --- a/sdk/databrew/src/operation/delete_recipe_version/builders.rs +++ b/sdk/databrew/src/operation/delete_recipe_version/builders.rs @@ -19,9 +19,9 @@ impl DeleteRecipeVersionFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl DeleteRecipeVersionFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::delete_recipe_version::DeleteRecipeVersion, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::delete_recipe_version::DeleteRecipeVersionError, + >, + > { + self.customize_middleware().await + } ///

                                      The name of the recipe.

                                      pub fn name(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.name(input.into()); diff --git a/sdk/databrew/src/operation/delete_ruleset/builders.rs b/sdk/databrew/src/operation/delete_ruleset/builders.rs index 3b44e2d46f5e..d974ac6fc064 100644 --- a/sdk/databrew/src/operation/delete_ruleset/builders.rs +++ b/sdk/databrew/src/operation/delete_ruleset/builders.rs @@ -19,9 +19,9 @@ impl DeleteRulesetFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl DeleteRulesetFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::delete_ruleset::DeleteRuleset, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                      The name of the ruleset to be deleted.

                                      pub fn name(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.name(input.into()); diff --git a/sdk/databrew/src/operation/delete_schedule/builders.rs b/sdk/databrew/src/operation/delete_schedule/builders.rs index 98bde08c237c..883ea521387d 100644 --- a/sdk/databrew/src/operation/delete_schedule/builders.rs +++ b/sdk/databrew/src/operation/delete_schedule/builders.rs @@ -19,9 +19,9 @@ impl DeleteScheduleFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl DeleteScheduleFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::delete_schedule::DeleteSchedule, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                      The name of the schedule to be deleted.

                                      pub fn name(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.name(input.into()); diff --git a/sdk/databrew/src/operation/describe_dataset/builders.rs b/sdk/databrew/src/operation/describe_dataset/builders.rs index 1b9b4687cd6f..79c49a3100f7 100644 --- a/sdk/databrew/src/operation/describe_dataset/builders.rs +++ b/sdk/databrew/src/operation/describe_dataset/builders.rs @@ -19,9 +19,9 @@ impl DescribeDatasetFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl DescribeDatasetFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::describe_dataset::DescribeDataset, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::describe_dataset::DescribeDatasetError, + >, + > { + self.customize_middleware().await + } ///

                                      The name of the dataset to be described.

                                      pub fn name(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.name(input.into()); diff --git a/sdk/databrew/src/operation/describe_job/builders.rs b/sdk/databrew/src/operation/describe_job/builders.rs index 95b53143bba0..746e1c550a4c 100644 --- a/sdk/databrew/src/operation/describe_job/builders.rs +++ b/sdk/databrew/src/operation/describe_job/builders.rs @@ -19,9 +19,9 @@ impl DescribeJobFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl DescribeJobFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::describe_job::DescribeJob, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                      The name of the job to be described.

                                      pub fn name(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.name(input.into()); diff --git a/sdk/databrew/src/operation/describe_job_run/builders.rs b/sdk/databrew/src/operation/describe_job_run/builders.rs index e9f221a81bdc..8252f6a3129a 100644 --- a/sdk/databrew/src/operation/describe_job_run/builders.rs +++ b/sdk/databrew/src/operation/describe_job_run/builders.rs @@ -19,9 +19,9 @@ impl DescribeJobRunFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl DescribeJobRunFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::describe_job_run::DescribeJobRun, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::describe_job_run::DescribeJobRunError, + >, + > { + self.customize_middleware().await + } ///

                                      The name of the job being processed during this run.

                                      pub fn name(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.name(input.into()); diff --git a/sdk/databrew/src/operation/describe_project/builders.rs b/sdk/databrew/src/operation/describe_project/builders.rs index 2f33d2adebf3..91d824b603d8 100644 --- a/sdk/databrew/src/operation/describe_project/builders.rs +++ b/sdk/databrew/src/operation/describe_project/builders.rs @@ -19,9 +19,9 @@ impl DescribeProjectFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl DescribeProjectFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::describe_project::DescribeProject, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::describe_project::DescribeProjectError, + >, + > { + self.customize_middleware().await + } ///

                                      The name of the project to be described.

                                      pub fn name(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.name(input.into()); diff --git a/sdk/databrew/src/operation/describe_recipe/builders.rs b/sdk/databrew/src/operation/describe_recipe/builders.rs index 96da754e4c5a..53c48a0b16ba 100644 --- a/sdk/databrew/src/operation/describe_recipe/builders.rs +++ b/sdk/databrew/src/operation/describe_recipe/builders.rs @@ -19,9 +19,9 @@ impl DescribeRecipeFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl DescribeRecipeFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::describe_recipe::DescribeRecipe, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                      The name of the recipe to be described.

                                      pub fn name(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.name(input.into()); diff --git a/sdk/databrew/src/operation/describe_ruleset/builders.rs b/sdk/databrew/src/operation/describe_ruleset/builders.rs index 08358b9506af..1c71a14f08e6 100644 --- a/sdk/databrew/src/operation/describe_ruleset/builders.rs +++ b/sdk/databrew/src/operation/describe_ruleset/builders.rs @@ -19,9 +19,9 @@ impl DescribeRulesetFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl DescribeRulesetFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::describe_ruleset::DescribeRuleset, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::describe_ruleset::DescribeRulesetError, + >, + > { + self.customize_middleware().await + } ///

                                      The name of the ruleset to be described.

                                      pub fn name(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.name(input.into()); diff --git a/sdk/databrew/src/operation/describe_schedule/builders.rs b/sdk/databrew/src/operation/describe_schedule/builders.rs index 930434c62be6..6763ffc43061 100644 --- a/sdk/databrew/src/operation/describe_schedule/builders.rs +++ b/sdk/databrew/src/operation/describe_schedule/builders.rs @@ -19,9 +19,9 @@ impl DescribeScheduleFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl DescribeScheduleFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::describe_schedule::DescribeSchedule, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::describe_schedule::DescribeScheduleError, + >, + > { + self.customize_middleware().await + } ///

                                      The name of the schedule to be described.

                                      pub fn name(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.name(input.into()); diff --git a/sdk/databrew/src/operation/list_datasets/builders.rs b/sdk/databrew/src/operation/list_datasets/builders.rs index 7c2d103a1c9b..6f027a830120 100644 --- a/sdk/databrew/src/operation/list_datasets/builders.rs +++ b/sdk/databrew/src/operation/list_datasets/builders.rs @@ -19,9 +19,9 @@ impl ListDatasetsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl ListDatasetsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_datasets::ListDatasets, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::list_datasets::paginator::ListDatasetsPaginator::send) which returns a `Stream`. diff --git a/sdk/databrew/src/operation/list_job_runs/builders.rs b/sdk/databrew/src/operation/list_job_runs/builders.rs index e0bd9f8d3ffb..4383cf5cac34 100644 --- a/sdk/databrew/src/operation/list_job_runs/builders.rs +++ b/sdk/databrew/src/operation/list_job_runs/builders.rs @@ -19,9 +19,9 @@ impl ListJobRunsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl ListJobRunsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_job_runs::ListJobRuns, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::list_job_runs::paginator::ListJobRunsPaginator::send) which returns a `Stream`. diff --git a/sdk/databrew/src/operation/list_jobs/builders.rs b/sdk/databrew/src/operation/list_jobs/builders.rs index 429e2da1b201..c59e12d02fdc 100644 --- a/sdk/databrew/src/operation/list_jobs/builders.rs +++ b/sdk/databrew/src/operation/list_jobs/builders.rs @@ -19,9 +19,9 @@ impl ListJobsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl ListJobsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_jobs::ListJobs, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::list_jobs::paginator::ListJobsPaginator::send) which returns a `Stream`. diff --git a/sdk/databrew/src/operation/list_projects/builders.rs b/sdk/databrew/src/operation/list_projects/builders.rs index 38374b346660..fd812584d38a 100644 --- a/sdk/databrew/src/operation/list_projects/builders.rs +++ b/sdk/databrew/src/operation/list_projects/builders.rs @@ -19,9 +19,9 @@ impl ListProjectsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl ListProjectsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_projects::ListProjects, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::list_projects::paginator::ListProjectsPaginator::send) which returns a `Stream`. diff --git a/sdk/databrew/src/operation/list_recipe_versions/builders.rs b/sdk/databrew/src/operation/list_recipe_versions/builders.rs index 5be0c6964019..7f9b772735bb 100644 --- a/sdk/databrew/src/operation/list_recipe_versions/builders.rs +++ b/sdk/databrew/src/operation/list_recipe_versions/builders.rs @@ -19,9 +19,9 @@ impl ListRecipeVersionsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl ListRecipeVersionsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_recipe_versions::ListRecipeVersions, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::list_recipe_versions::ListRecipeVersionsError, + >, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::list_recipe_versions::paginator::ListRecipeVersionsPaginator::send) which returns a `Stream`. diff --git a/sdk/databrew/src/operation/list_recipes/builders.rs b/sdk/databrew/src/operation/list_recipes/builders.rs index 8c141a53fe5d..c6991287dea1 100644 --- a/sdk/databrew/src/operation/list_recipes/builders.rs +++ b/sdk/databrew/src/operation/list_recipes/builders.rs @@ -19,9 +19,9 @@ impl ListRecipesFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl ListRecipesFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_recipes::ListRecipes, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::list_recipes::paginator::ListRecipesPaginator::send) which returns a `Stream`. diff --git a/sdk/databrew/src/operation/list_rulesets/builders.rs b/sdk/databrew/src/operation/list_rulesets/builders.rs index 42a639a2365b..fb8a7576f60b 100644 --- a/sdk/databrew/src/operation/list_rulesets/builders.rs +++ b/sdk/databrew/src/operation/list_rulesets/builders.rs @@ -19,9 +19,9 @@ impl ListRulesetsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl ListRulesetsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_rulesets::ListRulesets, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::list_rulesets::paginator::ListRulesetsPaginator::send) which returns a `Stream`. diff --git a/sdk/databrew/src/operation/list_schedules/builders.rs b/sdk/databrew/src/operation/list_schedules/builders.rs index 6c2ce5370f0b..5e0fb6a7fb2c 100644 --- a/sdk/databrew/src/operation/list_schedules/builders.rs +++ b/sdk/databrew/src/operation/list_schedules/builders.rs @@ -19,9 +19,9 @@ impl ListSchedulesFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl ListSchedulesFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_schedules::ListSchedules, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::list_schedules::paginator::ListSchedulesPaginator::send) which returns a `Stream`. diff --git a/sdk/databrew/src/operation/list_tags_for_resource/builders.rs b/sdk/databrew/src/operation/list_tags_for_resource/builders.rs index 179f78285d4b..ef2ff517043c 100644 --- a/sdk/databrew/src/operation/list_tags_for_resource/builders.rs +++ b/sdk/databrew/src/operation/list_tags_for_resource/builders.rs @@ -19,9 +19,9 @@ impl ListTagsForResourceFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl ListTagsForResourceFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_tags_for_resource::ListTagsForResource, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::list_tags_for_resource::ListTagsForResourceError, + >, + > { + self.customize_middleware().await + } ///

                                      The Amazon Resource Name (ARN) string that uniquely identifies the DataBrew resource.

                                      pub fn resource_arn(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.resource_arn(input.into()); diff --git a/sdk/databrew/src/operation/publish_recipe/builders.rs b/sdk/databrew/src/operation/publish_recipe/builders.rs index b950c02ea245..7e5f89b973a5 100644 --- a/sdk/databrew/src/operation/publish_recipe/builders.rs +++ b/sdk/databrew/src/operation/publish_recipe/builders.rs @@ -19,9 +19,9 @@ impl PublishRecipeFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl PublishRecipeFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::publish_recipe::PublishRecipe, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                      A description of the recipe to be published, for this version of the recipe.

                                      pub fn description(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.description(input.into()); diff --git a/sdk/databrew/src/operation/send_project_session_action/builders.rs b/sdk/databrew/src/operation/send_project_session_action/builders.rs index 49d1c7fc4879..670d57226e00 100644 --- a/sdk/databrew/src/operation/send_project_session_action/builders.rs +++ b/sdk/databrew/src/operation/send_project_session_action/builders.rs @@ -19,9 +19,9 @@ impl SendProjectSessionActionFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl SendProjectSessionActionFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::send_project_session_action::SendProjectSessionAction, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::send_project_session_action::SendProjectSessionActionError, + >, + > { + self.customize_middleware().await + } ///

                                      If true, the result of the recipe step will be returned, but not applied.

                                      pub fn preview(mut self, input: bool) -> Self { self.inner = self.inner.preview(input); diff --git a/sdk/databrew/src/operation/start_job_run/builders.rs b/sdk/databrew/src/operation/start_job_run/builders.rs index 9657e1ce1a8a..1f90f65fde5d 100644 --- a/sdk/databrew/src/operation/start_job_run/builders.rs +++ b/sdk/databrew/src/operation/start_job_run/builders.rs @@ -19,9 +19,9 @@ impl StartJobRunFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl StartJobRunFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::start_job_run::StartJobRun, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                      The name of the job to be run.

                                      pub fn name(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.name(input.into()); diff --git a/sdk/databrew/src/operation/start_project_session/builders.rs b/sdk/databrew/src/operation/start_project_session/builders.rs index beb8cf253b56..76093dea5411 100644 --- a/sdk/databrew/src/operation/start_project_session/builders.rs +++ b/sdk/databrew/src/operation/start_project_session/builders.rs @@ -19,9 +19,9 @@ impl StartProjectSessionFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl StartProjectSessionFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::start_project_session::StartProjectSession, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::start_project_session::StartProjectSessionError, + >, + > { + self.customize_middleware().await + } ///

                                      The name of the project to act upon.

                                      pub fn name(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.name(input.into()); diff --git a/sdk/databrew/src/operation/stop_job_run/builders.rs b/sdk/databrew/src/operation/stop_job_run/builders.rs index 4e19bdffdb79..e7d963bb111d 100644 --- a/sdk/databrew/src/operation/stop_job_run/builders.rs +++ b/sdk/databrew/src/operation/stop_job_run/builders.rs @@ -19,9 +19,9 @@ impl StopJobRunFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl StopJobRunFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::stop_job_run::StopJobRun, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                      The name of the job to be stopped.

                                      pub fn name(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.name(input.into()); diff --git a/sdk/databrew/src/operation/tag_resource/builders.rs b/sdk/databrew/src/operation/tag_resource/builders.rs index 249a10692161..d722b4fe634e 100644 --- a/sdk/databrew/src/operation/tag_resource/builders.rs +++ b/sdk/databrew/src/operation/tag_resource/builders.rs @@ -19,9 +19,9 @@ impl TagResourceFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl TagResourceFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::tag_resource::TagResource, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                      The DataBrew resource to which tags should be added. The value for this parameter is an Amazon Resource Name (ARN). For DataBrew, you can tag a dataset, a job, a project, or a recipe.

                                      pub fn resource_arn(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.resource_arn(input.into()); diff --git a/sdk/databrew/src/operation/untag_resource/builders.rs b/sdk/databrew/src/operation/untag_resource/builders.rs index 504a95d9f397..fec25f572405 100644 --- a/sdk/databrew/src/operation/untag_resource/builders.rs +++ b/sdk/databrew/src/operation/untag_resource/builders.rs @@ -19,9 +19,9 @@ impl UntagResourceFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl UntagResourceFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::untag_resource::UntagResource, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                      A DataBrew resource from which you want to remove a tag or tags. The value for this parameter is an Amazon Resource Name (ARN).

                                      pub fn resource_arn(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.resource_arn(input.into()); diff --git a/sdk/databrew/src/operation/update_dataset/builders.rs b/sdk/databrew/src/operation/update_dataset/builders.rs index 4aac570288a4..ae4f60fd125b 100644 --- a/sdk/databrew/src/operation/update_dataset/builders.rs +++ b/sdk/databrew/src/operation/update_dataset/builders.rs @@ -19,9 +19,9 @@ impl UpdateDatasetFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl UpdateDatasetFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::update_dataset::UpdateDataset, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                      The name of the dataset to be updated.

                                      pub fn name(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.name(input.into()); diff --git a/sdk/databrew/src/operation/update_profile_job/builders.rs b/sdk/databrew/src/operation/update_profile_job/builders.rs index 7dca173cddab..80f63ed244cb 100644 --- a/sdk/databrew/src/operation/update_profile_job/builders.rs +++ b/sdk/databrew/src/operation/update_profile_job/builders.rs @@ -19,9 +19,9 @@ impl UpdateProfileJobFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl UpdateProfileJobFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::update_profile_job::UpdateProfileJob, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::update_profile_job::UpdateProfileJobError, + >, + > { + self.customize_middleware().await + } ///

                                      Configuration for profile jobs. Used to select columns, do evaluations, and override default parameters of evaluations. When configuration is null, the profile job will run with default settings.

                                      pub fn configuration(mut self, input: crate::types::ProfileConfiguration) -> Self { self.inner = self.inner.configuration(input); diff --git a/sdk/databrew/src/operation/update_project/builders.rs b/sdk/databrew/src/operation/update_project/builders.rs index 76d90e12125b..7c25f929f83f 100644 --- a/sdk/databrew/src/operation/update_project/builders.rs +++ b/sdk/databrew/src/operation/update_project/builders.rs @@ -19,9 +19,9 @@ impl UpdateProjectFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl UpdateProjectFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::update_project::UpdateProject, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                      Represents the sample size and sampling type for DataBrew to use for interactive data analysis.

                                      pub fn sample(mut self, input: crate::types::Sample) -> Self { self.inner = self.inner.sample(input); diff --git a/sdk/databrew/src/operation/update_recipe/builders.rs b/sdk/databrew/src/operation/update_recipe/builders.rs index 7011a6791e46..58fe47b22444 100644 --- a/sdk/databrew/src/operation/update_recipe/builders.rs +++ b/sdk/databrew/src/operation/update_recipe/builders.rs @@ -19,9 +19,9 @@ impl UpdateRecipeFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl UpdateRecipeFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::update_recipe::UpdateRecipe, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                      A description of the recipe.

                                      pub fn description(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.description(input.into()); diff --git a/sdk/databrew/src/operation/update_recipe_job/builders.rs b/sdk/databrew/src/operation/update_recipe_job/builders.rs index a5f961c541d1..974594e7e09a 100644 --- a/sdk/databrew/src/operation/update_recipe_job/builders.rs +++ b/sdk/databrew/src/operation/update_recipe_job/builders.rs @@ -19,9 +19,9 @@ impl UpdateRecipeJobFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl UpdateRecipeJobFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::update_recipe_job::UpdateRecipeJob, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::update_recipe_job::UpdateRecipeJobError, + >, + > { + self.customize_middleware().await + } ///

                                      The Amazon Resource Name (ARN) of an encryption key that is used to protect the job.

                                      pub fn encryption_key_arn( mut self, diff --git a/sdk/databrew/src/operation/update_ruleset/builders.rs b/sdk/databrew/src/operation/update_ruleset/builders.rs index e6f3a1c2aa90..3e8196268574 100644 --- a/sdk/databrew/src/operation/update_ruleset/builders.rs +++ b/sdk/databrew/src/operation/update_ruleset/builders.rs @@ -19,9 +19,9 @@ impl UpdateRulesetFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl UpdateRulesetFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::update_ruleset::UpdateRuleset, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                      The name of the ruleset to be updated.

                                      pub fn name(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.name(input.into()); diff --git a/sdk/databrew/src/operation/update_schedule/builders.rs b/sdk/databrew/src/operation/update_schedule/builders.rs index ccd1c5b1c47b..b1cc7830107d 100644 --- a/sdk/databrew/src/operation/update_schedule/builders.rs +++ b/sdk/databrew/src/operation/update_schedule/builders.rs @@ -19,9 +19,9 @@ impl UpdateScheduleFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl UpdateScheduleFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::update_schedule::UpdateSchedule, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } /// Appends an item to `JobNames`. /// /// To override the contents of this collection use [`set_job_names`](Self::set_job_names). diff --git a/sdk/dataexchange/src/operation/cancel_job/builders.rs b/sdk/dataexchange/src/operation/cancel_job/builders.rs index d8838e042495..9c5bef1a7d7d 100644 --- a/sdk/dataexchange/src/operation/cancel_job/builders.rs +++ b/sdk/dataexchange/src/operation/cancel_job/builders.rs @@ -19,9 +19,9 @@ impl CancelJobFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl CancelJobFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::cancel_job::CancelJob, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                      The unique identifier for a job.

                                      pub fn job_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.job_id(input.into()); diff --git a/sdk/dataexchange/src/operation/create_data_set/builders.rs b/sdk/dataexchange/src/operation/create_data_set/builders.rs index cdd74c403448..3b7ceb2f941e 100644 --- a/sdk/dataexchange/src/operation/create_data_set/builders.rs +++ b/sdk/dataexchange/src/operation/create_data_set/builders.rs @@ -19,9 +19,9 @@ impl CreateDataSetFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl CreateDataSetFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::create_data_set::CreateDataSet, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                      The type of asset that is added to a data set.

                                      pub fn asset_type(mut self, input: crate::types::AssetType) -> Self { self.inner = self.inner.asset_type(input); diff --git a/sdk/dataexchange/src/operation/create_event_action/builders.rs b/sdk/dataexchange/src/operation/create_event_action/builders.rs index 7365b0ea3496..72f308a8d0fb 100644 --- a/sdk/dataexchange/src/operation/create_event_action/builders.rs +++ b/sdk/dataexchange/src/operation/create_event_action/builders.rs @@ -19,9 +19,9 @@ impl CreateEventActionFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl CreateEventActionFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::create_event_action::CreateEventAction, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::create_event_action::CreateEventActionError, + >, + > { + self.customize_middleware().await + } ///

                                      What occurs after a certain event.

                                      pub fn action(mut self, input: crate::types::Action) -> Self { self.inner = self.inner.action(input); diff --git a/sdk/dataexchange/src/operation/create_job/builders.rs b/sdk/dataexchange/src/operation/create_job/builders.rs index c6bb1e9d612a..3e52af0b2d07 100644 --- a/sdk/dataexchange/src/operation/create_job/builders.rs +++ b/sdk/dataexchange/src/operation/create_job/builders.rs @@ -19,9 +19,9 @@ impl CreateJobFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl CreateJobFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::create_job::CreateJob, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                      The details for the CreateJob request.

                                      pub fn details(mut self, input: crate::types::RequestDetails) -> Self { self.inner = self.inner.details(input); diff --git a/sdk/dataexchange/src/operation/create_revision/builders.rs b/sdk/dataexchange/src/operation/create_revision/builders.rs index 264f3538f85c..3c7eb7b2f716 100644 --- a/sdk/dataexchange/src/operation/create_revision/builders.rs +++ b/sdk/dataexchange/src/operation/create_revision/builders.rs @@ -19,9 +19,9 @@ impl CreateRevisionFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl CreateRevisionFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::create_revision::CreateRevision, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                      An optional comment about the revision.

                                      pub fn comment(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.comment(input.into()); diff --git a/sdk/dataexchange/src/operation/delete_asset/builders.rs b/sdk/dataexchange/src/operation/delete_asset/builders.rs index a448bc20d0bb..02c880416838 100644 --- a/sdk/dataexchange/src/operation/delete_asset/builders.rs +++ b/sdk/dataexchange/src/operation/delete_asset/builders.rs @@ -19,9 +19,9 @@ impl DeleteAssetFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl DeleteAssetFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::delete_asset::DeleteAsset, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                      The unique identifier for an asset.

                                      pub fn asset_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.asset_id(input.into()); diff --git a/sdk/dataexchange/src/operation/delete_data_set/builders.rs b/sdk/dataexchange/src/operation/delete_data_set/builders.rs index 81593b816dcd..62a11dcebf42 100644 --- a/sdk/dataexchange/src/operation/delete_data_set/builders.rs +++ b/sdk/dataexchange/src/operation/delete_data_set/builders.rs @@ -19,9 +19,9 @@ impl DeleteDataSetFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl DeleteDataSetFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::delete_data_set::DeleteDataSet, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                      The unique identifier for a data set.

                                      pub fn data_set_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.data_set_id(input.into()); diff --git a/sdk/dataexchange/src/operation/delete_event_action/builders.rs b/sdk/dataexchange/src/operation/delete_event_action/builders.rs index 3cf0627dcdf7..b3fa0b7fdd82 100644 --- a/sdk/dataexchange/src/operation/delete_event_action/builders.rs +++ b/sdk/dataexchange/src/operation/delete_event_action/builders.rs @@ -19,9 +19,9 @@ impl DeleteEventActionFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl DeleteEventActionFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::delete_event_action::DeleteEventAction, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::delete_event_action::DeleteEventActionError, + >, + > { + self.customize_middleware().await + } ///

                                      The unique identifier for the event action.

                                      pub fn event_action_id( mut self, diff --git a/sdk/dataexchange/src/operation/delete_revision/builders.rs b/sdk/dataexchange/src/operation/delete_revision/builders.rs index c81a0456d596..b3a62ce9ef33 100644 --- a/sdk/dataexchange/src/operation/delete_revision/builders.rs +++ b/sdk/dataexchange/src/operation/delete_revision/builders.rs @@ -19,9 +19,9 @@ impl DeleteRevisionFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl DeleteRevisionFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::delete_revision::DeleteRevision, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                      The unique identifier for a data set.

                                      pub fn data_set_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.data_set_id(input.into()); diff --git a/sdk/dataexchange/src/operation/get_asset/builders.rs b/sdk/dataexchange/src/operation/get_asset/builders.rs index 77dde147c62a..f261b48fce05 100644 --- a/sdk/dataexchange/src/operation/get_asset/builders.rs +++ b/sdk/dataexchange/src/operation/get_asset/builders.rs @@ -19,9 +19,9 @@ impl GetAssetFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl GetAssetFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::get_asset::GetAsset, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                      The unique identifier for an asset.

                                      pub fn asset_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.asset_id(input.into()); diff --git a/sdk/dataexchange/src/operation/get_data_set/builders.rs b/sdk/dataexchange/src/operation/get_data_set/builders.rs index 5a2db700d12e..95403680ba0f 100644 --- a/sdk/dataexchange/src/operation/get_data_set/builders.rs +++ b/sdk/dataexchange/src/operation/get_data_set/builders.rs @@ -19,9 +19,9 @@ impl GetDataSetFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl GetDataSetFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::get_data_set::GetDataSet, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                      The unique identifier for a data set.

                                      pub fn data_set_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.data_set_id(input.into()); diff --git a/sdk/dataexchange/src/operation/get_event_action/builders.rs b/sdk/dataexchange/src/operation/get_event_action/builders.rs index df2a416b4b74..486949e0d389 100644 --- a/sdk/dataexchange/src/operation/get_event_action/builders.rs +++ b/sdk/dataexchange/src/operation/get_event_action/builders.rs @@ -19,9 +19,9 @@ impl GetEventActionFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl GetEventActionFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::get_event_action::GetEventAction, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::get_event_action::GetEventActionError, + >, + > { + self.customize_middleware().await + } ///

                                      The unique identifier for the event action.

                                      pub fn event_action_id( mut self, diff --git a/sdk/dataexchange/src/operation/get_job/builders.rs b/sdk/dataexchange/src/operation/get_job/builders.rs index bbc6b4fc08b8..cd210a25d308 100644 --- a/sdk/dataexchange/src/operation/get_job/builders.rs +++ b/sdk/dataexchange/src/operation/get_job/builders.rs @@ -19,9 +19,9 @@ impl GetJobFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl GetJobFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::get_job::GetJob, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                      The unique identifier for a job.

                                      pub fn job_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.job_id(input.into()); diff --git a/sdk/dataexchange/src/operation/get_revision/builders.rs b/sdk/dataexchange/src/operation/get_revision/builders.rs index 6c22e0a9bf6d..7c0809c112fd 100644 --- a/sdk/dataexchange/src/operation/get_revision/builders.rs +++ b/sdk/dataexchange/src/operation/get_revision/builders.rs @@ -19,9 +19,9 @@ impl GetRevisionFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl GetRevisionFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::get_revision::GetRevision, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                      The unique identifier for a data set.

                                      pub fn data_set_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.data_set_id(input.into()); diff --git a/sdk/dataexchange/src/operation/list_data_set_revisions/builders.rs b/sdk/dataexchange/src/operation/list_data_set_revisions/builders.rs index 6557612cf183..61fba7772708 100644 --- a/sdk/dataexchange/src/operation/list_data_set_revisions/builders.rs +++ b/sdk/dataexchange/src/operation/list_data_set_revisions/builders.rs @@ -19,9 +19,9 @@ impl ListDataSetRevisionsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl ListDataSetRevisionsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_data_set_revisions::ListDataSetRevisions, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::list_data_set_revisions::ListDataSetRevisionsError, + >, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::list_data_set_revisions::paginator::ListDataSetRevisionsPaginator::send) which returns a `Stream`. diff --git a/sdk/dataexchange/src/operation/list_data_sets/builders.rs b/sdk/dataexchange/src/operation/list_data_sets/builders.rs index b1039254ae4b..6e3b85a1b53c 100644 --- a/sdk/dataexchange/src/operation/list_data_sets/builders.rs +++ b/sdk/dataexchange/src/operation/list_data_sets/builders.rs @@ -19,9 +19,9 @@ impl ListDataSetsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl ListDataSetsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_data_sets::ListDataSets, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::list_data_sets::paginator::ListDataSetsPaginator::send) which returns a `Stream`. diff --git a/sdk/dataexchange/src/operation/list_event_actions/builders.rs b/sdk/dataexchange/src/operation/list_event_actions/builders.rs index 07a7b242431f..e21863435636 100644 --- a/sdk/dataexchange/src/operation/list_event_actions/builders.rs +++ b/sdk/dataexchange/src/operation/list_event_actions/builders.rs @@ -19,9 +19,9 @@ impl ListEventActionsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl ListEventActionsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_event_actions::ListEventActions, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::list_event_actions::ListEventActionsError, + >, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::list_event_actions::paginator::ListEventActionsPaginator::send) which returns a `Stream`. diff --git a/sdk/dataexchange/src/operation/list_jobs/builders.rs b/sdk/dataexchange/src/operation/list_jobs/builders.rs index 36bf378d3033..0f88dea9163b 100644 --- a/sdk/dataexchange/src/operation/list_jobs/builders.rs +++ b/sdk/dataexchange/src/operation/list_jobs/builders.rs @@ -19,9 +19,9 @@ impl ListJobsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl ListJobsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_jobs::ListJobs, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::list_jobs::paginator::ListJobsPaginator::send) which returns a `Stream`. diff --git a/sdk/dataexchange/src/operation/list_revision_assets/builders.rs b/sdk/dataexchange/src/operation/list_revision_assets/builders.rs index 361e8605dfcb..279705357903 100644 --- a/sdk/dataexchange/src/operation/list_revision_assets/builders.rs +++ b/sdk/dataexchange/src/operation/list_revision_assets/builders.rs @@ -19,9 +19,9 @@ impl ListRevisionAssetsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl ListRevisionAssetsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_revision_assets::ListRevisionAssets, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::list_revision_assets::ListRevisionAssetsError, + >, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::list_revision_assets::paginator::ListRevisionAssetsPaginator::send) which returns a `Stream`. diff --git a/sdk/dataexchange/src/operation/list_tags_for_resource/builders.rs b/sdk/dataexchange/src/operation/list_tags_for_resource/builders.rs index 05c6495d73e6..f34b75608335 100644 --- a/sdk/dataexchange/src/operation/list_tags_for_resource/builders.rs +++ b/sdk/dataexchange/src/operation/list_tags_for_resource/builders.rs @@ -19,9 +19,9 @@ impl ListTagsForResourceFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl ListTagsForResourceFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_tags_for_resource::ListTagsForResource, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::list_tags_for_resource::ListTagsForResourceError, + >, + > { + self.customize_middleware().await + } ///

                                      An Amazon Resource Name (ARN) that uniquely identifies an AWS resource.

                                      pub fn resource_arn(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.resource_arn(input.into()); diff --git a/sdk/dataexchange/src/operation/revoke_revision/builders.rs b/sdk/dataexchange/src/operation/revoke_revision/builders.rs index 62bc3e04a385..2dd1437d4eef 100644 --- a/sdk/dataexchange/src/operation/revoke_revision/builders.rs +++ b/sdk/dataexchange/src/operation/revoke_revision/builders.rs @@ -19,9 +19,9 @@ impl RevokeRevisionFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl RevokeRevisionFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::revoke_revision::RevokeRevision, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                      The unique identifier for a data set.

                                      pub fn data_set_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.data_set_id(input.into()); diff --git a/sdk/dataexchange/src/operation/send_api_asset/builders.rs b/sdk/dataexchange/src/operation/send_api_asset/builders.rs index a2b501d752c9..fc258b74cbe5 100644 --- a/sdk/dataexchange/src/operation/send_api_asset/builders.rs +++ b/sdk/dataexchange/src/operation/send_api_asset/builders.rs @@ -19,9 +19,9 @@ impl SendApiAssetFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl SendApiAssetFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::send_api_asset::SendApiAsset, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                      The request body.

                                      pub fn body(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.body(input.into()); diff --git a/sdk/dataexchange/src/operation/start_job/builders.rs b/sdk/dataexchange/src/operation/start_job/builders.rs index ac973108a41e..e7a47a83185c 100644 --- a/sdk/dataexchange/src/operation/start_job/builders.rs +++ b/sdk/dataexchange/src/operation/start_job/builders.rs @@ -19,9 +19,9 @@ impl StartJobFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl StartJobFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::start_job::StartJob, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                      The unique identifier for a job.

                                      pub fn job_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.job_id(input.into()); diff --git a/sdk/dataexchange/src/operation/tag_resource/builders.rs b/sdk/dataexchange/src/operation/tag_resource/builders.rs index 4ed7b142f03e..e2fd1e5c523c 100644 --- a/sdk/dataexchange/src/operation/tag_resource/builders.rs +++ b/sdk/dataexchange/src/operation/tag_resource/builders.rs @@ -19,9 +19,9 @@ impl TagResourceFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl TagResourceFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::tag_resource::TagResource, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                      An Amazon Resource Name (ARN) that uniquely identifies an AWS resource.

                                      pub fn resource_arn(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.resource_arn(input.into()); diff --git a/sdk/dataexchange/src/operation/untag_resource/builders.rs b/sdk/dataexchange/src/operation/untag_resource/builders.rs index 5ad06bd6d462..de2f46dad7a7 100644 --- a/sdk/dataexchange/src/operation/untag_resource/builders.rs +++ b/sdk/dataexchange/src/operation/untag_resource/builders.rs @@ -19,9 +19,9 @@ impl UntagResourceFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl UntagResourceFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::untag_resource::UntagResource, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                      An Amazon Resource Name (ARN) that uniquely identifies an AWS resource.

                                      pub fn resource_arn(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.resource_arn(input.into()); diff --git a/sdk/dataexchange/src/operation/update_asset/builders.rs b/sdk/dataexchange/src/operation/update_asset/builders.rs index 42639898e19c..1b78d6c7bfe4 100644 --- a/sdk/dataexchange/src/operation/update_asset/builders.rs +++ b/sdk/dataexchange/src/operation/update_asset/builders.rs @@ -19,9 +19,9 @@ impl UpdateAssetFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl UpdateAssetFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::update_asset::UpdateAsset, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                      The unique identifier for an asset.

                                      pub fn asset_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.asset_id(input.into()); diff --git a/sdk/dataexchange/src/operation/update_data_set/builders.rs b/sdk/dataexchange/src/operation/update_data_set/builders.rs index 3e57972f1a21..a2e054602f91 100644 --- a/sdk/dataexchange/src/operation/update_data_set/builders.rs +++ b/sdk/dataexchange/src/operation/update_data_set/builders.rs @@ -19,9 +19,9 @@ impl UpdateDataSetFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl UpdateDataSetFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::update_data_set::UpdateDataSet, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                      The unique identifier for a data set.

                                      pub fn data_set_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.data_set_id(input.into()); diff --git a/sdk/dataexchange/src/operation/update_event_action/builders.rs b/sdk/dataexchange/src/operation/update_event_action/builders.rs index 343e210a980a..3a567e43a108 100644 --- a/sdk/dataexchange/src/operation/update_event_action/builders.rs +++ b/sdk/dataexchange/src/operation/update_event_action/builders.rs @@ -19,9 +19,9 @@ impl UpdateEventActionFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl UpdateEventActionFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::update_event_action::UpdateEventAction, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::update_event_action::UpdateEventActionError, + >, + > { + self.customize_middleware().await + } ///

                                      What occurs after a certain event.

                                      pub fn action(mut self, input: crate::types::Action) -> Self { self.inner = self.inner.action(input); diff --git a/sdk/dataexchange/src/operation/update_revision/builders.rs b/sdk/dataexchange/src/operation/update_revision/builders.rs index 5bf38052c03a..4d0168ecf227 100644 --- a/sdk/dataexchange/src/operation/update_revision/builders.rs +++ b/sdk/dataexchange/src/operation/update_revision/builders.rs @@ -19,9 +19,9 @@ impl UpdateRevisionFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl UpdateRevisionFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::update_revision::UpdateRevision, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                      An optional comment about the revision.

                                      pub fn comment(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.comment(input.into()); diff --git a/sdk/datapipeline/src/operation/activate_pipeline/builders.rs b/sdk/datapipeline/src/operation/activate_pipeline/builders.rs index 80736cf3717c..6314f2b424ab 100644 --- a/sdk/datapipeline/src/operation/activate_pipeline/builders.rs +++ b/sdk/datapipeline/src/operation/activate_pipeline/builders.rs @@ -28,9 +28,9 @@ impl ActivatePipelineFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -92,6 +92,22 @@ impl ActivatePipelineFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::activate_pipeline::ActivatePipeline, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::activate_pipeline::ActivatePipelineError, + >, + > { + self.customize_middleware().await + } ///

                                      The ID of the pipeline.

                                      pub fn pipeline_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.pipeline_id(input.into()); diff --git a/sdk/datapipeline/src/operation/add_tags/builders.rs b/sdk/datapipeline/src/operation/add_tags/builders.rs index 50be9ea4b344..acc0dc624c40 100644 --- a/sdk/datapipeline/src/operation/add_tags/builders.rs +++ b/sdk/datapipeline/src/operation/add_tags/builders.rs @@ -19,9 +19,9 @@ impl AddTagsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl AddTagsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::add_tags::AddTags, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                      The ID of the pipeline.

                                      pub fn pipeline_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.pipeline_id(input.into()); diff --git a/sdk/datapipeline/src/operation/create_pipeline/builders.rs b/sdk/datapipeline/src/operation/create_pipeline/builders.rs index 4384cec128bf..1a43502a842d 100644 --- a/sdk/datapipeline/src/operation/create_pipeline/builders.rs +++ b/sdk/datapipeline/src/operation/create_pipeline/builders.rs @@ -26,9 +26,9 @@ impl CreatePipelineFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -84,6 +84,20 @@ impl CreatePipelineFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::create_pipeline::CreatePipeline, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                      The name for the pipeline. You can use the same name for multiple pipelines associated with your AWS account, because AWS Data Pipeline assigns each pipeline a unique pipeline identifier.

                                      pub fn name(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.name(input.into()); diff --git a/sdk/datapipeline/src/operation/deactivate_pipeline/builders.rs b/sdk/datapipeline/src/operation/deactivate_pipeline/builders.rs index 3cf46338d951..ce8128376ced 100644 --- a/sdk/datapipeline/src/operation/deactivate_pipeline/builders.rs +++ b/sdk/datapipeline/src/operation/deactivate_pipeline/builders.rs @@ -20,9 +20,9 @@ impl DeactivatePipelineFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -84,6 +84,22 @@ impl DeactivatePipelineFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::deactivate_pipeline::DeactivatePipeline, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::deactivate_pipeline::DeactivatePipelineError, + >, + > { + self.customize_middleware().await + } ///

                                      The ID of the pipeline.

                                      pub fn pipeline_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.pipeline_id(input.into()); diff --git a/sdk/datapipeline/src/operation/delete_pipeline/builders.rs b/sdk/datapipeline/src/operation/delete_pipeline/builders.rs index 38c8cf43941c..6fb93cbdb530 100644 --- a/sdk/datapipeline/src/operation/delete_pipeline/builders.rs +++ b/sdk/datapipeline/src/operation/delete_pipeline/builders.rs @@ -27,9 +27,9 @@ impl DeletePipelineFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -85,6 +85,20 @@ impl DeletePipelineFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::delete_pipeline::DeletePipeline, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                      The ID of the pipeline.

                                      pub fn pipeline_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.pipeline_id(input.into()); diff --git a/sdk/datapipeline/src/operation/describe_objects/builders.rs b/sdk/datapipeline/src/operation/describe_objects/builders.rs index d4890df9da14..1452a46f3cdb 100644 --- a/sdk/datapipeline/src/operation/describe_objects/builders.rs +++ b/sdk/datapipeline/src/operation/describe_objects/builders.rs @@ -26,9 +26,9 @@ impl DescribeObjectsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -90,6 +90,22 @@ impl DescribeObjectsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::describe_objects::DescribeObjects, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::describe_objects::DescribeObjectsError, + >, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::describe_objects::paginator::DescribeObjectsPaginator::send) which returns a `Stream`. diff --git a/sdk/datapipeline/src/operation/describe_pipelines/builders.rs b/sdk/datapipeline/src/operation/describe_pipelines/builders.rs index 2956928031de..e6a7f9aeebeb 100644 --- a/sdk/datapipeline/src/operation/describe_pipelines/builders.rs +++ b/sdk/datapipeline/src/operation/describe_pipelines/builders.rs @@ -27,9 +27,9 @@ impl DescribePipelinesFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -91,6 +91,22 @@ impl DescribePipelinesFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::describe_pipelines::DescribePipelines, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::describe_pipelines::DescribePipelinesError, + >, + > { + self.customize_middleware().await + } /// Appends an item to `pipelineIds`. /// /// To override the contents of this collection use [`set_pipeline_ids`](Self::set_pipeline_ids). diff --git a/sdk/datapipeline/src/operation/evaluate_expression/builders.rs b/sdk/datapipeline/src/operation/evaluate_expression/builders.rs index 4d42fd9d9ccb..88b385fe59e6 100644 --- a/sdk/datapipeline/src/operation/evaluate_expression/builders.rs +++ b/sdk/datapipeline/src/operation/evaluate_expression/builders.rs @@ -26,9 +26,9 @@ impl EvaluateExpressionFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -90,6 +90,22 @@ impl EvaluateExpressionFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::evaluate_expression::EvaluateExpression, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::evaluate_expression::EvaluateExpressionError, + >, + > { + self.customize_middleware().await + } ///

                                      The ID of the pipeline.

                                      pub fn pipeline_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.pipeline_id(input.into()); diff --git a/sdk/datapipeline/src/operation/get_pipeline_definition/builders.rs b/sdk/datapipeline/src/operation/get_pipeline_definition/builders.rs index 7e95f0ce6952..dc5657415424 100644 --- a/sdk/datapipeline/src/operation/get_pipeline_definition/builders.rs +++ b/sdk/datapipeline/src/operation/get_pipeline_definition/builders.rs @@ -26,9 +26,9 @@ impl GetPipelineDefinitionFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -90,6 +90,22 @@ impl GetPipelineDefinitionFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::get_pipeline_definition::GetPipelineDefinition, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::get_pipeline_definition::GetPipelineDefinitionError, + >, + > { + self.customize_middleware().await + } ///

                                      The ID of the pipeline.

                                      pub fn pipeline_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.pipeline_id(input.into()); diff --git a/sdk/datapipeline/src/operation/list_pipelines/builders.rs b/sdk/datapipeline/src/operation/list_pipelines/builders.rs index f4021382ce87..1282f6e0bb0f 100644 --- a/sdk/datapipeline/src/operation/list_pipelines/builders.rs +++ b/sdk/datapipeline/src/operation/list_pipelines/builders.rs @@ -26,9 +26,9 @@ impl ListPipelinesFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -84,6 +84,20 @@ impl ListPipelinesFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_pipelines::ListPipelines, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::list_pipelines::paginator::ListPipelinesPaginator::send) which returns a `Stream`. diff --git a/sdk/datapipeline/src/operation/poll_for_task/builders.rs b/sdk/datapipeline/src/operation/poll_for_task/builders.rs index 22959236ead6..c13c6c832533 100644 --- a/sdk/datapipeline/src/operation/poll_for_task/builders.rs +++ b/sdk/datapipeline/src/operation/poll_for_task/builders.rs @@ -27,9 +27,9 @@ impl PollForTaskFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -85,6 +85,20 @@ impl PollForTaskFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::poll_for_task::PollForTask, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                      The type of task the task runner is configured to accept and process. The worker group is set as a field on objects in the pipeline when they are created. You can only specify a single value for workerGroup in the call to PollForTask. There are no wildcard values permitted in workerGroup; the string must be an exact, case-sensitive, match.

                                      pub fn worker_group(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.worker_group(input.into()); diff --git a/sdk/datapipeline/src/operation/put_pipeline_definition/builders.rs b/sdk/datapipeline/src/operation/put_pipeline_definition/builders.rs index c24569ae95ac..0aff090192d5 100644 --- a/sdk/datapipeline/src/operation/put_pipeline_definition/builders.rs +++ b/sdk/datapipeline/src/operation/put_pipeline_definition/builders.rs @@ -57,9 +57,9 @@ impl PutPipelineDefinitionFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -121,6 +121,22 @@ impl PutPipelineDefinitionFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::put_pipeline_definition::PutPipelineDefinition, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::put_pipeline_definition::PutPipelineDefinitionError, + >, + > { + self.customize_middleware().await + } ///

                                      The ID of the pipeline.

                                      pub fn pipeline_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.pipeline_id(input.into()); diff --git a/sdk/datapipeline/src/operation/query_objects/builders.rs b/sdk/datapipeline/src/operation/query_objects/builders.rs index 272638de672e..11f22d8af9b8 100644 --- a/sdk/datapipeline/src/operation/query_objects/builders.rs +++ b/sdk/datapipeline/src/operation/query_objects/builders.rs @@ -26,9 +26,9 @@ impl QueryObjectsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -84,6 +84,20 @@ impl QueryObjectsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::query_objects::QueryObjects, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::query_objects::paginator::QueryObjectsPaginator::send) which returns a `Stream`. diff --git a/sdk/datapipeline/src/operation/remove_tags/builders.rs b/sdk/datapipeline/src/operation/remove_tags/builders.rs index d62a7e5c9cf1..b2121f23a13e 100644 --- a/sdk/datapipeline/src/operation/remove_tags/builders.rs +++ b/sdk/datapipeline/src/operation/remove_tags/builders.rs @@ -19,9 +19,9 @@ impl RemoveTagsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl RemoveTagsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::remove_tags::RemoveTags, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                      The ID of the pipeline.

                                      pub fn pipeline_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.pipeline_id(input.into()); diff --git a/sdk/datapipeline/src/operation/report_task_progress/builders.rs b/sdk/datapipeline/src/operation/report_task_progress/builders.rs index 5b874ad6e26c..6b2ce21e18c2 100644 --- a/sdk/datapipeline/src/operation/report_task_progress/builders.rs +++ b/sdk/datapipeline/src/operation/report_task_progress/builders.rs @@ -27,9 +27,9 @@ impl ReportTaskProgressFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -91,6 +91,22 @@ impl ReportTaskProgressFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::report_task_progress::ReportTaskProgress, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::report_task_progress::ReportTaskProgressError, + >, + > { + self.customize_middleware().await + } ///

                                      The ID of the task assigned to the task runner. This value is provided in the response for PollForTask.

                                      pub fn task_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.task_id(input.into()); diff --git a/sdk/datapipeline/src/operation/report_task_runner_heartbeat/builders.rs b/sdk/datapipeline/src/operation/report_task_runner_heartbeat/builders.rs index 8c61edabc3d3..9ac90a9d4e0c 100644 --- a/sdk/datapipeline/src/operation/report_task_runner_heartbeat/builders.rs +++ b/sdk/datapipeline/src/operation/report_task_runner_heartbeat/builders.rs @@ -26,9 +26,9 @@ impl ReportTaskRunnerHeartbeatFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -90,6 +90,22 @@ impl ReportTaskRunnerHeartbeatFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::report_task_runner_heartbeat::ReportTaskRunnerHeartbeat, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::report_task_runner_heartbeat::ReportTaskRunnerHeartbeatError, + >, + > { + self.customize_middleware().await + } ///

                                      The ID of the task runner. This value should be unique across your AWS account. In the case of AWS Data Pipeline Task Runner launched on a resource managed by AWS Data Pipeline, the web service provides a unique identifier when it launches the application. If you have written a custom task runner, you should assign a unique identifier for the task runner.

                                      pub fn taskrunner_id( mut self, diff --git a/sdk/datapipeline/src/operation/set_status/builders.rs b/sdk/datapipeline/src/operation/set_status/builders.rs index 4c7737f2d758..a3d0c38f99ca 100644 --- a/sdk/datapipeline/src/operation/set_status/builders.rs +++ b/sdk/datapipeline/src/operation/set_status/builders.rs @@ -26,9 +26,9 @@ impl SetStatusFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -84,6 +84,20 @@ impl SetStatusFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::set_status::SetStatus, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                      The ID of the pipeline that contains the objects.

                                      pub fn pipeline_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.pipeline_id(input.into()); diff --git a/sdk/datapipeline/src/operation/set_task_status/builders.rs b/sdk/datapipeline/src/operation/set_task_status/builders.rs index e7f47b6d66bb..dd0cfe0fdb73 100644 --- a/sdk/datapipeline/src/operation/set_task_status/builders.rs +++ b/sdk/datapipeline/src/operation/set_task_status/builders.rs @@ -26,9 +26,9 @@ impl SetTaskStatusFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -84,6 +84,20 @@ impl SetTaskStatusFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::set_task_status::SetTaskStatus, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                      The ID of the task assigned to the task runner. This value is provided in the response for PollForTask.

                                      pub fn task_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.task_id(input.into()); diff --git a/sdk/datapipeline/src/operation/validate_pipeline_definition/builders.rs b/sdk/datapipeline/src/operation/validate_pipeline_definition/builders.rs index 6f018d74ecf9..4ece2b7fab5c 100644 --- a/sdk/datapipeline/src/operation/validate_pipeline_definition/builders.rs +++ b/sdk/datapipeline/src/operation/validate_pipeline_definition/builders.rs @@ -48,9 +48,9 @@ impl ValidatePipelineDefinitionFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -112,6 +112,22 @@ impl ValidatePipelineDefinitionFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::validate_pipeline_definition::ValidatePipelineDefinition, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::validate_pipeline_definition::ValidatePipelineDefinitionError, + >, + > { + self.customize_middleware().await + } ///

                                      The ID of the pipeline.

                                      pub fn pipeline_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.pipeline_id(input.into()); diff --git a/sdk/datasync/src/operation/add_storage_system/builders.rs b/sdk/datasync/src/operation/add_storage_system/builders.rs index 60075d4cc4c1..5c771fa703b4 100644 --- a/sdk/datasync/src/operation/add_storage_system/builders.rs +++ b/sdk/datasync/src/operation/add_storage_system/builders.rs @@ -19,9 +19,9 @@ impl AddStorageSystemFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl AddStorageSystemFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::add_storage_system::AddStorageSystem, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::add_storage_system::AddStorageSystemError, + >, + > { + self.customize_middleware().await + } ///

                                      Specifies the server name and network port required to connect with the management interface of your on-premises storage system.

                                      pub fn server_configuration( mut self, diff --git a/sdk/datasync/src/operation/cancel_task_execution/builders.rs b/sdk/datasync/src/operation/cancel_task_execution/builders.rs index e120181b9765..3593776213b4 100644 --- a/sdk/datasync/src/operation/cancel_task_execution/builders.rs +++ b/sdk/datasync/src/operation/cancel_task_execution/builders.rs @@ -20,9 +20,9 @@ impl CancelTaskExecutionFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -84,6 +84,22 @@ impl CancelTaskExecutionFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::cancel_task_execution::CancelTaskExecution, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::cancel_task_execution::CancelTaskExecutionError, + >, + > { + self.customize_middleware().await + } ///

                                      The Amazon Resource Name (ARN) of the task execution to stop.

                                      pub fn task_execution_arn( mut self, diff --git a/sdk/datasync/src/operation/create_agent/builders.rs b/sdk/datasync/src/operation/create_agent/builders.rs index 069567beb13d..16d1ea16ea03 100644 --- a/sdk/datasync/src/operation/create_agent/builders.rs +++ b/sdk/datasync/src/operation/create_agent/builders.rs @@ -22,9 +22,9 @@ impl CreateAgentFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -80,6 +80,20 @@ impl CreateAgentFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::create_agent::CreateAgent, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                      Your agent activation key. You can get the activation key either by sending an HTTP GET request with redirects that enable you to get the agent IP address (port 80). Alternatively, you can get it from the DataSync console.

                                      ///

                                      The redirect URL returned in the response provides you the activation key for your agent in the query string parameter activationKey. It might also include other activation-related parameters; however, these are merely defaults. The arguments you pass to this API call determine the actual configuration of your agent.

                                      ///

                                      For more information, see Activating an Agent in the DataSync User Guide.

                                      diff --git a/sdk/datasync/src/operation/create_location_efs/builders.rs b/sdk/datasync/src/operation/create_location_efs/builders.rs index cca80ee63faf..2458e20fe052 100644 --- a/sdk/datasync/src/operation/create_location_efs/builders.rs +++ b/sdk/datasync/src/operation/create_location_efs/builders.rs @@ -19,9 +19,9 @@ impl CreateLocationEfsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl CreateLocationEfsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::create_location_efs::CreateLocationEfs, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::create_location_efs::CreateLocationEfsError, + >, + > { + self.customize_middleware().await + } ///

                                      Specifies a mount path for your Amazon EFS file system. This is where DataSync reads or writes data (depending on if this is a source or destination location). By default, DataSync uses the root directory, but you can also include subdirectories.

                                      ///

                                      You must specify a value with forward slashes (for example, /path/to/folder).

                                      ///
                                      diff --git a/sdk/datasync/src/operation/create_location_fsx_lustre/builders.rs b/sdk/datasync/src/operation/create_location_fsx_lustre/builders.rs index e2ec86b228e0..190b9481a7ab 100644 --- a/sdk/datasync/src/operation/create_location_fsx_lustre/builders.rs +++ b/sdk/datasync/src/operation/create_location_fsx_lustre/builders.rs @@ -20,9 +20,9 @@ impl CreateLocationFsxLustreFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -84,6 +84,22 @@ impl CreateLocationFsxLustreFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::create_location_fsx_lustre::CreateLocationFsxLustre, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::create_location_fsx_lustre::CreateLocationFsxLustreError, + >, + > { + self.customize_middleware().await + } ///

                                      The Amazon Resource Name (ARN) for the FSx for Lustre file system.

                                      pub fn fsx_filesystem_arn( mut self, diff --git a/sdk/datasync/src/operation/create_location_fsx_ontap/builders.rs b/sdk/datasync/src/operation/create_location_fsx_ontap/builders.rs index cba927e31e71..ef6a8a76e70f 100644 --- a/sdk/datasync/src/operation/create_location_fsx_ontap/builders.rs +++ b/sdk/datasync/src/operation/create_location_fsx_ontap/builders.rs @@ -20,9 +20,9 @@ impl CreateLocationFsxOntapFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -84,6 +84,22 @@ impl CreateLocationFsxOntapFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::create_location_fsx_ontap::CreateLocationFsxOntap, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::create_location_fsx_ontap::CreateLocationFsxOntapError, + >, + > { + self.customize_middleware().await + } ///

                                      Specifies the data transfer protocol that DataSync uses to access your Amazon FSx file system.

                                      pub fn protocol(mut self, input: crate::types::FsxProtocol) -> Self { self.inner = self.inner.protocol(input); diff --git a/sdk/datasync/src/operation/create_location_fsx_open_zfs/builders.rs b/sdk/datasync/src/operation/create_location_fsx_open_zfs/builders.rs index 4b9bc8e69963..8b30c8f8d7c1 100644 --- a/sdk/datasync/src/operation/create_location_fsx_open_zfs/builders.rs +++ b/sdk/datasync/src/operation/create_location_fsx_open_zfs/builders.rs @@ -21,9 +21,9 @@ impl CreateLocationFsxOpenZfsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -85,6 +85,22 @@ impl CreateLocationFsxOpenZfsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::create_location_fsx_open_zfs::CreateLocationFsxOpenZfs, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::create_location_fsx_open_zfs::CreateLocationFsxOpenZfsError, + >, + > { + self.customize_middleware().await + } ///

                                      The Amazon Resource Name (ARN) of the FSx for OpenZFS file system.

                                      pub fn fsx_filesystem_arn( mut self, diff --git a/sdk/datasync/src/operation/create_location_fsx_windows/builders.rs b/sdk/datasync/src/operation/create_location_fsx_windows/builders.rs index c8337d868072..42e67cc9d9c9 100644 --- a/sdk/datasync/src/operation/create_location_fsx_windows/builders.rs +++ b/sdk/datasync/src/operation/create_location_fsx_windows/builders.rs @@ -19,9 +19,9 @@ impl CreateLocationFsxWindowsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl CreateLocationFsxWindowsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::create_location_fsx_windows::CreateLocationFsxWindows, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::create_location_fsx_windows::CreateLocationFsxWindowsError, + >, + > { + self.customize_middleware().await + } ///

                                      Specifies a mount path for your file system using forward slashes. This is where DataSync reads or writes data (depending on if this is a source or destination location).

                                      pub fn subdirectory(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.subdirectory(input.into()); diff --git a/sdk/datasync/src/operation/create_location_hdfs/builders.rs b/sdk/datasync/src/operation/create_location_hdfs/builders.rs index d1653ca99ff0..91d957094b54 100644 --- a/sdk/datasync/src/operation/create_location_hdfs/builders.rs +++ b/sdk/datasync/src/operation/create_location_hdfs/builders.rs @@ -19,9 +19,9 @@ impl CreateLocationHdfsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl CreateLocationHdfsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::create_location_hdfs::CreateLocationHdfs, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::create_location_hdfs::CreateLocationHdfsError, + >, + > { + self.customize_middleware().await + } ///

                                      A subdirectory in the HDFS cluster. This subdirectory is used to read data from or write data to the HDFS cluster. If the subdirectory isn't specified, it will default to /.

                                      pub fn subdirectory(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.subdirectory(input.into()); diff --git a/sdk/datasync/src/operation/create_location_nfs/builders.rs b/sdk/datasync/src/operation/create_location_nfs/builders.rs index 8151c452cdd1..0f0377b6be13 100644 --- a/sdk/datasync/src/operation/create_location_nfs/builders.rs +++ b/sdk/datasync/src/operation/create_location_nfs/builders.rs @@ -19,9 +19,9 @@ impl CreateLocationNfsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl CreateLocationNfsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::create_location_nfs::CreateLocationNfs, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::create_location_nfs::CreateLocationNfsError, + >, + > { + self.customize_middleware().await + } ///

                                      The subdirectory in the NFS file system that is used to read data from the NFS source location or write data to the NFS destination. The NFS path should be a path that's exported by the NFS server, or a subdirectory of that path. The path should be such that it can be mounted by other NFS clients in your network.

                                      ///

                                      To see all the paths exported by your NFS server, run "showmount -e nfs-server-name" from an NFS client that has access to your server. You can specify any directory that appears in the results, and any subdirectory of that directory. Ensure that the NFS export is accessible without Kerberos authentication.

                                      ///

                                      To transfer all the data in the folder you specified, DataSync needs to have permissions to read all the data. To ensure this, either configure the NFS export with no_root_squash, or ensure that the permissions for all of the files that you want DataSync allow read access for all users. Doing either enables the agent to read the files. For the agent to access directories, you must additionally enable all execute access.

                                      diff --git a/sdk/datasync/src/operation/create_location_object_storage/builders.rs b/sdk/datasync/src/operation/create_location_object_storage/builders.rs index 7090595fbc0a..e71d4c623979 100644 --- a/sdk/datasync/src/operation/create_location_object_storage/builders.rs +++ b/sdk/datasync/src/operation/create_location_object_storage/builders.rs @@ -19,9 +19,9 @@ impl CreateLocationObjectStorageFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl CreateLocationObjectStorageFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::create_location_object_storage::CreateLocationObjectStorage, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::create_location_object_storage::CreateLocationObjectStorageError, + >, + > { + self.customize_middleware().await + } ///

                                      Specifies the domain name or IP address of the object storage server. A DataSync agent uses this hostname to mount the object storage server in a network.

                                      pub fn server_hostname( mut self, diff --git a/sdk/datasync/src/operation/create_location_s3/builders.rs b/sdk/datasync/src/operation/create_location_s3/builders.rs index 7e39c0d8fed6..1cfbdb378b38 100644 --- a/sdk/datasync/src/operation/create_location_s3/builders.rs +++ b/sdk/datasync/src/operation/create_location_s3/builders.rs @@ -26,9 +26,9 @@ impl CreateLocationS3FluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -90,6 +90,22 @@ impl CreateLocationS3FluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::create_location_s3::CreateLocationS3, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::create_location_s3::CreateLocationS3Error, + >, + > { + self.customize_middleware().await + } ///

                                      A subdirectory in the Amazon S3 bucket. This subdirectory in Amazon S3 is used to read data from the S3 source location or write data to the S3 destination.

                                      pub fn subdirectory(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.subdirectory(input.into()); diff --git a/sdk/datasync/src/operation/create_location_smb/builders.rs b/sdk/datasync/src/operation/create_location_smb/builders.rs index aa524b71b351..a1933d1b86d9 100644 --- a/sdk/datasync/src/operation/create_location_smb/builders.rs +++ b/sdk/datasync/src/operation/create_location_smb/builders.rs @@ -19,9 +19,9 @@ impl CreateLocationSmbFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl CreateLocationSmbFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::create_location_smb::CreateLocationSmb, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::create_location_smb::CreateLocationSmbError, + >, + > { + self.customize_middleware().await + } ///

                                      Specifies the name of the share exported by your SMB file server where DataSync will read or write data. You can include a subdirectory in the share path (for example, /path/to/subdirectory). Make sure that other SMB clients in your network can also mount this path.

                                      ///

                                      To copy all data in the specified subdirectory, DataSync must be able to mount the SMB share and access all of its data. For more information, see required permissions for SMB locations.

                                      pub fn subdirectory(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { diff --git a/sdk/datasync/src/operation/create_task/builders.rs b/sdk/datasync/src/operation/create_task/builders.rs index 70bf88160f86..47ebd4c6b4e8 100644 --- a/sdk/datasync/src/operation/create_task/builders.rs +++ b/sdk/datasync/src/operation/create_task/builders.rs @@ -22,9 +22,9 @@ impl CreateTaskFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -80,6 +80,20 @@ impl CreateTaskFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::create_task::CreateTask, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                      The Amazon Resource Name (ARN) of the source location for the task.

                                      pub fn source_location_arn( mut self, diff --git a/sdk/datasync/src/operation/delete_agent/builders.rs b/sdk/datasync/src/operation/delete_agent/builders.rs index 25f2cac3d1c2..88bc6836437b 100644 --- a/sdk/datasync/src/operation/delete_agent/builders.rs +++ b/sdk/datasync/src/operation/delete_agent/builders.rs @@ -19,9 +19,9 @@ impl DeleteAgentFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl DeleteAgentFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::delete_agent::DeleteAgent, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                      The Amazon Resource Name (ARN) of the agent to delete. Use the ListAgents operation to return a list of agents for your account and Amazon Web Services Region.

                                      pub fn agent_arn(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.agent_arn(input.into()); diff --git a/sdk/datasync/src/operation/delete_location/builders.rs b/sdk/datasync/src/operation/delete_location/builders.rs index 38472e3cecb1..d143e6897018 100644 --- a/sdk/datasync/src/operation/delete_location/builders.rs +++ b/sdk/datasync/src/operation/delete_location/builders.rs @@ -19,9 +19,9 @@ impl DeleteLocationFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl DeleteLocationFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::delete_location::DeleteLocation, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                      The Amazon Resource Name (ARN) of the location to delete.

                                      pub fn location_arn(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.location_arn(input.into()); diff --git a/sdk/datasync/src/operation/delete_task/builders.rs b/sdk/datasync/src/operation/delete_task/builders.rs index 373877ef9fa2..b6010ed766d8 100644 --- a/sdk/datasync/src/operation/delete_task/builders.rs +++ b/sdk/datasync/src/operation/delete_task/builders.rs @@ -19,9 +19,9 @@ impl DeleteTaskFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl DeleteTaskFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::delete_task::DeleteTask, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                      Specifies the Amazon Resource Name (ARN) of the task that you want to delete.

                                      pub fn task_arn(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.task_arn(input.into()); diff --git a/sdk/datasync/src/operation/describe_agent/builders.rs b/sdk/datasync/src/operation/describe_agent/builders.rs index ac5da6e8fe96..c9fe75459944 100644 --- a/sdk/datasync/src/operation/describe_agent/builders.rs +++ b/sdk/datasync/src/operation/describe_agent/builders.rs @@ -19,9 +19,9 @@ impl DescribeAgentFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl DescribeAgentFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::describe_agent::DescribeAgent, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                      Specifies the Amazon Resource Name (ARN) of the DataSync agent to describe.

                                      pub fn agent_arn(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.agent_arn(input.into()); diff --git a/sdk/datasync/src/operation/describe_discovery_job/builders.rs b/sdk/datasync/src/operation/describe_discovery_job/builders.rs index 95585cdddfe7..e7b885b21045 100644 --- a/sdk/datasync/src/operation/describe_discovery_job/builders.rs +++ b/sdk/datasync/src/operation/describe_discovery_job/builders.rs @@ -19,9 +19,9 @@ impl DescribeDiscoveryJobFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl DescribeDiscoveryJobFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::describe_discovery_job::DescribeDiscoveryJob, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::describe_discovery_job::DescribeDiscoveryJobError, + >, + > { + self.customize_middleware().await + } ///

                                      Specifies the Amazon Resource Name (ARN) of the discovery job that you want information about.

                                      pub fn discovery_job_arn( mut self, diff --git a/sdk/datasync/src/operation/describe_location_efs/builders.rs b/sdk/datasync/src/operation/describe_location_efs/builders.rs index 042022f38b28..9b73899af7bb 100644 --- a/sdk/datasync/src/operation/describe_location_efs/builders.rs +++ b/sdk/datasync/src/operation/describe_location_efs/builders.rs @@ -19,9 +19,9 @@ impl DescribeLocationEfsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl DescribeLocationEfsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::describe_location_efs::DescribeLocationEfs, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::describe_location_efs::DescribeLocationEfsError, + >, + > { + self.customize_middleware().await + } ///

                                      The Amazon Resource Name (ARN) of the Amazon EFS file system location that you want information about.

                                      pub fn location_arn(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.location_arn(input.into()); diff --git a/sdk/datasync/src/operation/describe_location_fsx_lustre/builders.rs b/sdk/datasync/src/operation/describe_location_fsx_lustre/builders.rs index 155c034cdf85..29500151ace8 100644 --- a/sdk/datasync/src/operation/describe_location_fsx_lustre/builders.rs +++ b/sdk/datasync/src/operation/describe_location_fsx_lustre/builders.rs @@ -19,9 +19,9 @@ impl DescribeLocationFsxLustreFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl DescribeLocationFsxLustreFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::describe_location_fsx_lustre::DescribeLocationFsxLustre, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::describe_location_fsx_lustre::DescribeLocationFsxLustreError, + >, + > { + self.customize_middleware().await + } ///

                                      The Amazon Resource Name (ARN) of the FSx for Lustre location to describe.

                                      pub fn location_arn(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.location_arn(input.into()); diff --git a/sdk/datasync/src/operation/describe_location_fsx_ontap/builders.rs b/sdk/datasync/src/operation/describe_location_fsx_ontap/builders.rs index 35d147f69095..81c47b5446ab 100644 --- a/sdk/datasync/src/operation/describe_location_fsx_ontap/builders.rs +++ b/sdk/datasync/src/operation/describe_location_fsx_ontap/builders.rs @@ -21,9 +21,9 @@ impl DescribeLocationFsxOntapFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -85,6 +85,22 @@ impl DescribeLocationFsxOntapFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::describe_location_fsx_ontap::DescribeLocationFsxOntap, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::describe_location_fsx_ontap::DescribeLocationFsxOntapError, + >, + > { + self.customize_middleware().await + } ///

                                      Specifies the Amazon Resource Name (ARN) of the FSx for ONTAP file system location that you want information about.

                                      pub fn location_arn(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.location_arn(input.into()); diff --git a/sdk/datasync/src/operation/describe_location_fsx_open_zfs/builders.rs b/sdk/datasync/src/operation/describe_location_fsx_open_zfs/builders.rs index 485535787f26..b1bc60aa0d11 100644 --- a/sdk/datasync/src/operation/describe_location_fsx_open_zfs/builders.rs +++ b/sdk/datasync/src/operation/describe_location_fsx_open_zfs/builders.rs @@ -21,9 +21,9 @@ impl DescribeLocationFsxOpenZfsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -85,6 +85,22 @@ impl DescribeLocationFsxOpenZfsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::describe_location_fsx_open_zfs::DescribeLocationFsxOpenZfs, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::describe_location_fsx_open_zfs::DescribeLocationFsxOpenZfsError, + >, + > { + self.customize_middleware().await + } ///

                                      The Amazon Resource Name (ARN) of the FSx for OpenZFS location to describe.

                                      pub fn location_arn(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.location_arn(input.into()); diff --git a/sdk/datasync/src/operation/describe_location_fsx_windows/builders.rs b/sdk/datasync/src/operation/describe_location_fsx_windows/builders.rs index a8a1ec618f5e..29b147358b8b 100644 --- a/sdk/datasync/src/operation/describe_location_fsx_windows/builders.rs +++ b/sdk/datasync/src/operation/describe_location_fsx_windows/builders.rs @@ -19,9 +19,9 @@ impl DescribeLocationFsxWindowsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl DescribeLocationFsxWindowsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::describe_location_fsx_windows::DescribeLocationFsxWindows, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::describe_location_fsx_windows::DescribeLocationFsxWindowsError, + >, + > { + self.customize_middleware().await + } ///

                                      The Amazon Resource Name (ARN) of the FSx for Windows File Server location to describe.

                                      pub fn location_arn(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.location_arn(input.into()); diff --git a/sdk/datasync/src/operation/describe_location_hdfs/builders.rs b/sdk/datasync/src/operation/describe_location_hdfs/builders.rs index 48beb28d183a..dde57990b01c 100644 --- a/sdk/datasync/src/operation/describe_location_hdfs/builders.rs +++ b/sdk/datasync/src/operation/describe_location_hdfs/builders.rs @@ -19,9 +19,9 @@ impl DescribeLocationHdfsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl DescribeLocationHdfsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::describe_location_hdfs::DescribeLocationHdfs, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::describe_location_hdfs::DescribeLocationHdfsError, + >, + > { + self.customize_middleware().await + } ///

                                      The Amazon Resource Name (ARN) of the HDFS cluster location to describe.

                                      pub fn location_arn(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.location_arn(input.into()); diff --git a/sdk/datasync/src/operation/describe_location_nfs/builders.rs b/sdk/datasync/src/operation/describe_location_nfs/builders.rs index da0af897b77d..d550c4774dfb 100644 --- a/sdk/datasync/src/operation/describe_location_nfs/builders.rs +++ b/sdk/datasync/src/operation/describe_location_nfs/builders.rs @@ -19,9 +19,9 @@ impl DescribeLocationNfsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl DescribeLocationNfsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::describe_location_nfs::DescribeLocationNfs, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::describe_location_nfs::DescribeLocationNfsError, + >, + > { + self.customize_middleware().await + } ///

                                      The Amazon Resource Name (ARN) of the NFS location to describe.

                                      pub fn location_arn(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.location_arn(input.into()); diff --git a/sdk/datasync/src/operation/describe_location_object_storage/builders.rs b/sdk/datasync/src/operation/describe_location_object_storage/builders.rs index 77689a41f0dd..86c7f646065b 100644 --- a/sdk/datasync/src/operation/describe_location_object_storage/builders.rs +++ b/sdk/datasync/src/operation/describe_location_object_storage/builders.rs @@ -19,9 +19,9 @@ impl DescribeLocationObjectStorageFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl DescribeLocationObjectStorageFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::describe_location_object_storage::DescribeLocationObjectStorage, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::describe_location_object_storage::DescribeLocationObjectStorageError, + >, + > { + self.customize_middleware().await + } ///

                                      The Amazon Resource Name (ARN) of the object storage system location that you want information about.

                                      pub fn location_arn(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.location_arn(input.into()); diff --git a/sdk/datasync/src/operation/describe_location_s3/builders.rs b/sdk/datasync/src/operation/describe_location_s3/builders.rs index 5b2a145a033d..6c63ec89be89 100644 --- a/sdk/datasync/src/operation/describe_location_s3/builders.rs +++ b/sdk/datasync/src/operation/describe_location_s3/builders.rs @@ -19,9 +19,9 @@ impl DescribeLocationS3FluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl DescribeLocationS3FluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::describe_location_s3::DescribeLocationS3, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::describe_location_s3::DescribeLocationS3Error, + >, + > { + self.customize_middleware().await + } ///

                                      The Amazon Resource Name (ARN) of the Amazon S3 bucket location to describe.

                                      pub fn location_arn(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.location_arn(input.into()); diff --git a/sdk/datasync/src/operation/describe_location_smb/builders.rs b/sdk/datasync/src/operation/describe_location_smb/builders.rs index 3ded0f63fd38..4d870ddfc9b3 100644 --- a/sdk/datasync/src/operation/describe_location_smb/builders.rs +++ b/sdk/datasync/src/operation/describe_location_smb/builders.rs @@ -19,9 +19,9 @@ impl DescribeLocationSmbFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl DescribeLocationSmbFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::describe_location_smb::DescribeLocationSmb, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::describe_location_smb::DescribeLocationSmbError, + >, + > { + self.customize_middleware().await + } ///

                                      The Amazon Resource Name (ARN) of the SMB location to describe.

                                      pub fn location_arn(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.location_arn(input.into()); diff --git a/sdk/datasync/src/operation/describe_storage_system/builders.rs b/sdk/datasync/src/operation/describe_storage_system/builders.rs index fbde44e8b9f9..260d17f74061 100644 --- a/sdk/datasync/src/operation/describe_storage_system/builders.rs +++ b/sdk/datasync/src/operation/describe_storage_system/builders.rs @@ -19,9 +19,9 @@ impl DescribeStorageSystemFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl DescribeStorageSystemFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::describe_storage_system::DescribeStorageSystem, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::describe_storage_system::DescribeStorageSystemError, + >, + > { + self.customize_middleware().await + } ///

                                      Specifies the Amazon Resource Name (ARN) of an on-premises storage system that you're using with DataSync Discovery.

                                      pub fn storage_system_arn( mut self, diff --git a/sdk/datasync/src/operation/describe_storage_system_resource_metrics/builders.rs b/sdk/datasync/src/operation/describe_storage_system_resource_metrics/builders.rs index 9716adaf1096..530db14c093a 100644 --- a/sdk/datasync/src/operation/describe_storage_system_resource_metrics/builders.rs +++ b/sdk/datasync/src/operation/describe_storage_system_resource_metrics/builders.rs @@ -19,9 +19,9 @@ impl DescribeStorageSystemResourceMetricsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize(self) -> ::std::result::Result< + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware(self) -> ::std::result::Result< crate::client::customize::CustomizableOperation, ::aws_smithy_http::result::SdkError >{ @@ -64,6 +64,15 @@ impl DescribeStorageSystemResourceMetricsFluentBuilder { { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize(self) -> ::std::result::Result< + crate::client::customize::CustomizableOperation, + ::aws_smithy_http::result::SdkError + >{ + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::describe_storage_system_resource_metrics::paginator::DescribeStorageSystemResourceMetricsPaginator::send) which returns a `Stream`. diff --git a/sdk/datasync/src/operation/describe_storage_system_resources/builders.rs b/sdk/datasync/src/operation/describe_storage_system_resources/builders.rs index da6a4e757316..6b210ddb0aa7 100644 --- a/sdk/datasync/src/operation/describe_storage_system_resources/builders.rs +++ b/sdk/datasync/src/operation/describe_storage_system_resources/builders.rs @@ -19,9 +19,9 @@ impl DescribeStorageSystemResourcesFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize(self) -> ::std::result::Result< + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware(self) -> ::std::result::Result< crate::client::customize::CustomizableOperation, ::aws_smithy_http::result::SdkError >{ @@ -64,6 +64,15 @@ impl DescribeStorageSystemResourcesFluentBuilder { { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize(self) -> ::std::result::Result< + crate::client::customize::CustomizableOperation, + ::aws_smithy_http::result::SdkError + >{ + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::describe_storage_system_resources::paginator::DescribeStorageSystemResourcesPaginator::send) which returns a `Stream`. diff --git a/sdk/datasync/src/operation/describe_task/builders.rs b/sdk/datasync/src/operation/describe_task/builders.rs index d94ca5368134..2b29fe5ea3be 100644 --- a/sdk/datasync/src/operation/describe_task/builders.rs +++ b/sdk/datasync/src/operation/describe_task/builders.rs @@ -19,9 +19,9 @@ impl DescribeTaskFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl DescribeTaskFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::describe_task::DescribeTask, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                      The Amazon Resource Name (ARN) of the task to describe.

                                      pub fn task_arn(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.task_arn(input.into()); diff --git a/sdk/datasync/src/operation/describe_task_execution/builders.rs b/sdk/datasync/src/operation/describe_task_execution/builders.rs index 861034bad69c..4bf5fd058861 100644 --- a/sdk/datasync/src/operation/describe_task_execution/builders.rs +++ b/sdk/datasync/src/operation/describe_task_execution/builders.rs @@ -19,9 +19,9 @@ impl DescribeTaskExecutionFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl DescribeTaskExecutionFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::describe_task_execution::DescribeTaskExecution, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::describe_task_execution::DescribeTaskExecutionError, + >, + > { + self.customize_middleware().await + } ///

                                      The Amazon Resource Name (ARN) of the task that is being executed.

                                      pub fn task_execution_arn( mut self, diff --git a/sdk/datasync/src/operation/generate_recommendations/builders.rs b/sdk/datasync/src/operation/generate_recommendations/builders.rs index aa3c20997b18..3e2c6e259fa7 100644 --- a/sdk/datasync/src/operation/generate_recommendations/builders.rs +++ b/sdk/datasync/src/operation/generate_recommendations/builders.rs @@ -23,9 +23,9 @@ impl GenerateRecommendationsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -87,6 +87,22 @@ impl GenerateRecommendationsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::generate_recommendations::GenerateRecommendations, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::generate_recommendations::GenerateRecommendationsError, + >, + > { + self.customize_middleware().await + } ///

                                      Specifies the Amazon Resource Name (ARN) of the discovery job that collects information about your on-premises storage system.

                                      pub fn discovery_job_arn( mut self, diff --git a/sdk/datasync/src/operation/list_agents/builders.rs b/sdk/datasync/src/operation/list_agents/builders.rs index e706b8398ba8..36f927830d92 100644 --- a/sdk/datasync/src/operation/list_agents/builders.rs +++ b/sdk/datasync/src/operation/list_agents/builders.rs @@ -21,9 +21,9 @@ impl ListAgentsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -79,6 +79,20 @@ impl ListAgentsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_agents::ListAgents, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::list_agents::paginator::ListAgentsPaginator::send) which returns a `Stream`. diff --git a/sdk/datasync/src/operation/list_discovery_jobs/builders.rs b/sdk/datasync/src/operation/list_discovery_jobs/builders.rs index 73627f3a7c02..710507d07e1a 100644 --- a/sdk/datasync/src/operation/list_discovery_jobs/builders.rs +++ b/sdk/datasync/src/operation/list_discovery_jobs/builders.rs @@ -19,9 +19,9 @@ impl ListDiscoveryJobsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl ListDiscoveryJobsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_discovery_jobs::ListDiscoveryJobs, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::list_discovery_jobs::ListDiscoveryJobsError, + >, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::list_discovery_jobs::paginator::ListDiscoveryJobsPaginator::send) which returns a `Stream`. diff --git a/sdk/datasync/src/operation/list_locations/builders.rs b/sdk/datasync/src/operation/list_locations/builders.rs index 30db109cc6fb..f4e5ed846ab3 100644 --- a/sdk/datasync/src/operation/list_locations/builders.rs +++ b/sdk/datasync/src/operation/list_locations/builders.rs @@ -20,9 +20,9 @@ impl ListLocationsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -78,6 +78,20 @@ impl ListLocationsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_locations::ListLocations, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::list_locations::paginator::ListLocationsPaginator::send) which returns a `Stream`. diff --git a/sdk/datasync/src/operation/list_storage_systems/builders.rs b/sdk/datasync/src/operation/list_storage_systems/builders.rs index 1a6361a8558e..c1b6e164894c 100644 --- a/sdk/datasync/src/operation/list_storage_systems/builders.rs +++ b/sdk/datasync/src/operation/list_storage_systems/builders.rs @@ -19,9 +19,9 @@ impl ListStorageSystemsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl ListStorageSystemsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_storage_systems::ListStorageSystems, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::list_storage_systems::ListStorageSystemsError, + >, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::list_storage_systems::paginator::ListStorageSystemsPaginator::send) which returns a `Stream`. diff --git a/sdk/datasync/src/operation/list_tags_for_resource/builders.rs b/sdk/datasync/src/operation/list_tags_for_resource/builders.rs index 8fce21198305..ae507a30a031 100644 --- a/sdk/datasync/src/operation/list_tags_for_resource/builders.rs +++ b/sdk/datasync/src/operation/list_tags_for_resource/builders.rs @@ -19,9 +19,9 @@ impl ListTagsForResourceFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl ListTagsForResourceFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_tags_for_resource::ListTagsForResource, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::list_tags_for_resource::ListTagsForResourceError, + >, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::list_tags_for_resource::paginator::ListTagsForResourcePaginator::send) which returns a `Stream`. diff --git a/sdk/datasync/src/operation/list_task_executions/builders.rs b/sdk/datasync/src/operation/list_task_executions/builders.rs index 373badd1b288..520efbe4b866 100644 --- a/sdk/datasync/src/operation/list_task_executions/builders.rs +++ b/sdk/datasync/src/operation/list_task_executions/builders.rs @@ -19,9 +19,9 @@ impl ListTaskExecutionsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl ListTaskExecutionsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_task_executions::ListTaskExecutions, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::list_task_executions::ListTaskExecutionsError, + >, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::list_task_executions::paginator::ListTaskExecutionsPaginator::send) which returns a `Stream`. diff --git a/sdk/datasync/src/operation/list_tasks/builders.rs b/sdk/datasync/src/operation/list_tasks/builders.rs index b22b82ce469c..83d480023a80 100644 --- a/sdk/datasync/src/operation/list_tasks/builders.rs +++ b/sdk/datasync/src/operation/list_tasks/builders.rs @@ -19,9 +19,9 @@ impl ListTasksFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl ListTasksFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_tasks::ListTasks, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::list_tasks::paginator::ListTasksPaginator::send) which returns a `Stream`. diff --git a/sdk/datasync/src/operation/remove_storage_system/builders.rs b/sdk/datasync/src/operation/remove_storage_system/builders.rs index df4054a81772..4b9f919b0430 100644 --- a/sdk/datasync/src/operation/remove_storage_system/builders.rs +++ b/sdk/datasync/src/operation/remove_storage_system/builders.rs @@ -19,9 +19,9 @@ impl RemoveStorageSystemFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl RemoveStorageSystemFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::remove_storage_system::RemoveStorageSystem, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::remove_storage_system::RemoveStorageSystemError, + >, + > { + self.customize_middleware().await + } ///

                                      Specifies the Amazon Resource Name (ARN) of the storage system that you want to permanently remove from DataSync Discovery.

                                      pub fn storage_system_arn( mut self, diff --git a/sdk/datasync/src/operation/start_discovery_job/builders.rs b/sdk/datasync/src/operation/start_discovery_job/builders.rs index fdbb10caad7b..b3660d46d88d 100644 --- a/sdk/datasync/src/operation/start_discovery_job/builders.rs +++ b/sdk/datasync/src/operation/start_discovery_job/builders.rs @@ -19,9 +19,9 @@ impl StartDiscoveryJobFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl StartDiscoveryJobFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::start_discovery_job::StartDiscoveryJob, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::start_discovery_job::StartDiscoveryJobError, + >, + > { + self.customize_middleware().await + } ///

                                      Specifies the Amazon Resource Name (ARN) of the on-premises storage system that you want to run the discovery job on.

                                      pub fn storage_system_arn( mut self, diff --git a/sdk/datasync/src/operation/start_task_execution/builders.rs b/sdk/datasync/src/operation/start_task_execution/builders.rs index 8d1cb71457d7..032d72b96223 100644 --- a/sdk/datasync/src/operation/start_task_execution/builders.rs +++ b/sdk/datasync/src/operation/start_task_execution/builders.rs @@ -22,9 +22,9 @@ impl StartTaskExecutionFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -86,6 +86,22 @@ impl StartTaskExecutionFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::start_task_execution::StartTaskExecution, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::start_task_execution::StartTaskExecutionError, + >, + > { + self.customize_middleware().await + } ///

                                      Specifies the Amazon Resource Name (ARN) of the task that you want to start.

                                      pub fn task_arn(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.task_arn(input.into()); diff --git a/sdk/datasync/src/operation/stop_discovery_job/builders.rs b/sdk/datasync/src/operation/stop_discovery_job/builders.rs index 954538a03285..74e7f8f657ea 100644 --- a/sdk/datasync/src/operation/stop_discovery_job/builders.rs +++ b/sdk/datasync/src/operation/stop_discovery_job/builders.rs @@ -20,9 +20,9 @@ impl StopDiscoveryJobFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -84,6 +84,22 @@ impl StopDiscoveryJobFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::stop_discovery_job::StopDiscoveryJob, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::stop_discovery_job::StopDiscoveryJobError, + >, + > { + self.customize_middleware().await + } ///

                                      Specifies the Amazon Resource Name (ARN) of the discovery job that you want to stop.

                                      pub fn discovery_job_arn( mut self, diff --git a/sdk/datasync/src/operation/tag_resource/builders.rs b/sdk/datasync/src/operation/tag_resource/builders.rs index 8fbbac3860f0..653667c0fb8b 100644 --- a/sdk/datasync/src/operation/tag_resource/builders.rs +++ b/sdk/datasync/src/operation/tag_resource/builders.rs @@ -20,9 +20,9 @@ impl TagResourceFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -78,6 +78,20 @@ impl TagResourceFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::tag_resource::TagResource, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                      Specifies the Amazon Resource Name (ARN) of the resource to apply the tag to.

                                      pub fn resource_arn(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.resource_arn(input.into()); diff --git a/sdk/datasync/src/operation/untag_resource/builders.rs b/sdk/datasync/src/operation/untag_resource/builders.rs index 0a9967098f0e..0db5e25d6cec 100644 --- a/sdk/datasync/src/operation/untag_resource/builders.rs +++ b/sdk/datasync/src/operation/untag_resource/builders.rs @@ -19,9 +19,9 @@ impl UntagResourceFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl UntagResourceFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::untag_resource::UntagResource, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                      Specifies the Amazon Resource Name (ARN) of the resource to remove the tags from.

                                      pub fn resource_arn(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.resource_arn(input.into()); diff --git a/sdk/datasync/src/operation/update_agent/builders.rs b/sdk/datasync/src/operation/update_agent/builders.rs index d3429e44ab12..0d68c9c6e7e2 100644 --- a/sdk/datasync/src/operation/update_agent/builders.rs +++ b/sdk/datasync/src/operation/update_agent/builders.rs @@ -19,9 +19,9 @@ impl UpdateAgentFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl UpdateAgentFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::update_agent::UpdateAgent, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                      The Amazon Resource Name (ARN) of the agent to update.

                                      pub fn agent_arn(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.agent_arn(input.into()); diff --git a/sdk/datasync/src/operation/update_discovery_job/builders.rs b/sdk/datasync/src/operation/update_discovery_job/builders.rs index 60f2ea729627..96f941858d80 100644 --- a/sdk/datasync/src/operation/update_discovery_job/builders.rs +++ b/sdk/datasync/src/operation/update_discovery_job/builders.rs @@ -19,9 +19,9 @@ impl UpdateDiscoveryJobFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl UpdateDiscoveryJobFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::update_discovery_job::UpdateDiscoveryJob, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::update_discovery_job::UpdateDiscoveryJobError, + >, + > { + self.customize_middleware().await + } ///

                                      Specifies the Amazon Resource Name (ARN) of the discovery job that you want to update.

                                      pub fn discovery_job_arn( mut self, diff --git a/sdk/datasync/src/operation/update_location_hdfs/builders.rs b/sdk/datasync/src/operation/update_location_hdfs/builders.rs index 72faa81de6e6..3919d0f35a40 100644 --- a/sdk/datasync/src/operation/update_location_hdfs/builders.rs +++ b/sdk/datasync/src/operation/update_location_hdfs/builders.rs @@ -19,9 +19,9 @@ impl UpdateLocationHdfsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl UpdateLocationHdfsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::update_location_hdfs::UpdateLocationHdfs, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::update_location_hdfs::UpdateLocationHdfsError, + >, + > { + self.customize_middleware().await + } ///

                                      The Amazon Resource Name (ARN) of the source HDFS cluster location.

                                      pub fn location_arn(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.location_arn(input.into()); diff --git a/sdk/datasync/src/operation/update_location_nfs/builders.rs b/sdk/datasync/src/operation/update_location_nfs/builders.rs index 9be546a76e2c..e577881ccf11 100644 --- a/sdk/datasync/src/operation/update_location_nfs/builders.rs +++ b/sdk/datasync/src/operation/update_location_nfs/builders.rs @@ -19,9 +19,9 @@ impl UpdateLocationNfsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl UpdateLocationNfsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::update_location_nfs::UpdateLocationNfs, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::update_location_nfs::UpdateLocationNfsError, + >, + > { + self.customize_middleware().await + } ///

                                      The Amazon Resource Name (ARN) of the NFS location to update.

                                      pub fn location_arn(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.location_arn(input.into()); diff --git a/sdk/datasync/src/operation/update_location_object_storage/builders.rs b/sdk/datasync/src/operation/update_location_object_storage/builders.rs index 74b93d482ac5..0d486d125fb4 100644 --- a/sdk/datasync/src/operation/update_location_object_storage/builders.rs +++ b/sdk/datasync/src/operation/update_location_object_storage/builders.rs @@ -19,9 +19,9 @@ impl UpdateLocationObjectStorageFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl UpdateLocationObjectStorageFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::update_location_object_storage::UpdateLocationObjectStorage, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::update_location_object_storage::UpdateLocationObjectStorageError, + >, + > { + self.customize_middleware().await + } ///

                                      Specifies the ARN of the object storage system location that you're updating.

                                      pub fn location_arn(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.location_arn(input.into()); diff --git a/sdk/datasync/src/operation/update_location_smb/builders.rs b/sdk/datasync/src/operation/update_location_smb/builders.rs index 38fd84355a6f..db72b5a01de0 100644 --- a/sdk/datasync/src/operation/update_location_smb/builders.rs +++ b/sdk/datasync/src/operation/update_location_smb/builders.rs @@ -19,9 +19,9 @@ impl UpdateLocationSmbFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl UpdateLocationSmbFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::update_location_smb::UpdateLocationSmb, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::update_location_smb::UpdateLocationSmbError, + >, + > { + self.customize_middleware().await + } ///

                                      The Amazon Resource Name (ARN) of the SMB location to update.

                                      pub fn location_arn(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.location_arn(input.into()); diff --git a/sdk/datasync/src/operation/update_storage_system/builders.rs b/sdk/datasync/src/operation/update_storage_system/builders.rs index d4ae61bbf6a3..354df32e5654 100644 --- a/sdk/datasync/src/operation/update_storage_system/builders.rs +++ b/sdk/datasync/src/operation/update_storage_system/builders.rs @@ -19,9 +19,9 @@ impl UpdateStorageSystemFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl UpdateStorageSystemFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::update_storage_system::UpdateStorageSystem, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::update_storage_system::UpdateStorageSystemError, + >, + > { + self.customize_middleware().await + } ///

                                      Specifies the ARN of the on-premises storage system that you want reconfigure.

                                      pub fn storage_system_arn( mut self, diff --git a/sdk/datasync/src/operation/update_task/builders.rs b/sdk/datasync/src/operation/update_task/builders.rs index 24917880f9ab..cdeca7f8ba90 100644 --- a/sdk/datasync/src/operation/update_task/builders.rs +++ b/sdk/datasync/src/operation/update_task/builders.rs @@ -19,9 +19,9 @@ impl UpdateTaskFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl UpdateTaskFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::update_task::UpdateTask, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                      The Amazon Resource Name (ARN) of the resource name of the task to update.

                                      pub fn task_arn(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.task_arn(input.into()); diff --git a/sdk/datasync/src/operation/update_task_execution/builders.rs b/sdk/datasync/src/operation/update_task_execution/builders.rs index af7ca6cfee02..ce0317fb495b 100644 --- a/sdk/datasync/src/operation/update_task_execution/builders.rs +++ b/sdk/datasync/src/operation/update_task_execution/builders.rs @@ -21,9 +21,9 @@ impl UpdateTaskExecutionFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -85,6 +85,22 @@ impl UpdateTaskExecutionFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::update_task_execution::UpdateTaskExecution, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::update_task_execution::UpdateTaskExecutionError, + >, + > { + self.customize_middleware().await + } ///

                                      Specifies the Amazon Resource Name (ARN) of the task execution that you're updating.

                                      pub fn task_execution_arn( mut self, diff --git a/sdk/dax/src/operation/create_cluster/builders.rs b/sdk/dax/src/operation/create_cluster/builders.rs index 9964dd9e6935..04b9e378e05c 100644 --- a/sdk/dax/src/operation/create_cluster/builders.rs +++ b/sdk/dax/src/operation/create_cluster/builders.rs @@ -19,9 +19,9 @@ impl CreateClusterFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl CreateClusterFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::create_cluster::CreateCluster, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                      The cluster identifier. This parameter is stored as a lowercase string.

                                      ///

                                      Constraints:

                                      ///
                                        diff --git a/sdk/dax/src/operation/create_parameter_group/builders.rs b/sdk/dax/src/operation/create_parameter_group/builders.rs index d077db2b2fe2..6b9e3cdef2e5 100644 --- a/sdk/dax/src/operation/create_parameter_group/builders.rs +++ b/sdk/dax/src/operation/create_parameter_group/builders.rs @@ -19,9 +19,9 @@ impl CreateParameterGroupFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl CreateParameterGroupFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::create_parameter_group::CreateParameterGroup, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::create_parameter_group::CreateParameterGroupError, + >, + > { + self.customize_middleware().await + } ///

                                        The name of the parameter group to apply to all of the clusters in this replication group.

                                        pub fn parameter_group_name( mut self, diff --git a/sdk/dax/src/operation/create_subnet_group/builders.rs b/sdk/dax/src/operation/create_subnet_group/builders.rs index 5ed330be86aa..f73f9984ba82 100644 --- a/sdk/dax/src/operation/create_subnet_group/builders.rs +++ b/sdk/dax/src/operation/create_subnet_group/builders.rs @@ -19,9 +19,9 @@ impl CreateSubnetGroupFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl CreateSubnetGroupFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::create_subnet_group::CreateSubnetGroup, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::create_subnet_group::CreateSubnetGroupError, + >, + > { + self.customize_middleware().await + } ///

                                        A name for the subnet group. This value is stored as a lowercase string.

                                        pub fn subnet_group_name( mut self, diff --git a/sdk/dax/src/operation/decrease_replication_factor/builders.rs b/sdk/dax/src/operation/decrease_replication_factor/builders.rs index 6216b22ce9be..112ce3c4b709 100644 --- a/sdk/dax/src/operation/decrease_replication_factor/builders.rs +++ b/sdk/dax/src/operation/decrease_replication_factor/builders.rs @@ -21,9 +21,9 @@ impl DecreaseReplicationFactorFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -85,6 +85,22 @@ impl DecreaseReplicationFactorFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::decrease_replication_factor::DecreaseReplicationFactor, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::decrease_replication_factor::DecreaseReplicationFactorError, + >, + > { + self.customize_middleware().await + } ///

                                        The name of the DAX cluster from which you want to remove nodes.

                                        pub fn cluster_name(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.cluster_name(input.into()); diff --git a/sdk/dax/src/operation/delete_cluster/builders.rs b/sdk/dax/src/operation/delete_cluster/builders.rs index 0fc14beb16da..7885d018ab6c 100644 --- a/sdk/dax/src/operation/delete_cluster/builders.rs +++ b/sdk/dax/src/operation/delete_cluster/builders.rs @@ -19,9 +19,9 @@ impl DeleteClusterFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl DeleteClusterFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::delete_cluster::DeleteCluster, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                        The name of the cluster to be deleted.

                                        pub fn cluster_name(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.cluster_name(input.into()); diff --git a/sdk/dax/src/operation/delete_parameter_group/builders.rs b/sdk/dax/src/operation/delete_parameter_group/builders.rs index 9e482e96fd32..3be28660e03f 100644 --- a/sdk/dax/src/operation/delete_parameter_group/builders.rs +++ b/sdk/dax/src/operation/delete_parameter_group/builders.rs @@ -19,9 +19,9 @@ impl DeleteParameterGroupFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl DeleteParameterGroupFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::delete_parameter_group::DeleteParameterGroup, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::delete_parameter_group::DeleteParameterGroupError, + >, + > { + self.customize_middleware().await + } ///

                                        The name of the parameter group to delete.

                                        pub fn parameter_group_name( mut self, diff --git a/sdk/dax/src/operation/delete_subnet_group/builders.rs b/sdk/dax/src/operation/delete_subnet_group/builders.rs index ba8f46915ee9..bc95fe21b080 100644 --- a/sdk/dax/src/operation/delete_subnet_group/builders.rs +++ b/sdk/dax/src/operation/delete_subnet_group/builders.rs @@ -21,9 +21,9 @@ impl DeleteSubnetGroupFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -85,6 +85,22 @@ impl DeleteSubnetGroupFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::delete_subnet_group::DeleteSubnetGroup, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::delete_subnet_group::DeleteSubnetGroupError, + >, + > { + self.customize_middleware().await + } ///

                                        The name of the subnet group to delete.

                                        pub fn subnet_group_name( mut self, diff --git a/sdk/dax/src/operation/describe_clusters/builders.rs b/sdk/dax/src/operation/describe_clusters/builders.rs index f8990f9ff167..666603097c69 100644 --- a/sdk/dax/src/operation/describe_clusters/builders.rs +++ b/sdk/dax/src/operation/describe_clusters/builders.rs @@ -23,9 +23,9 @@ impl DescribeClustersFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -87,6 +87,22 @@ impl DescribeClustersFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::describe_clusters::DescribeClusters, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::describe_clusters::DescribeClustersError, + >, + > { + self.customize_middleware().await + } /// Appends an item to `ClusterNames`. /// /// To override the contents of this collection use [`set_cluster_names`](Self::set_cluster_names). diff --git a/sdk/dax/src/operation/describe_default_parameters/builders.rs b/sdk/dax/src/operation/describe_default_parameters/builders.rs index f932ee2d1464..b87917d2b155 100644 --- a/sdk/dax/src/operation/describe_default_parameters/builders.rs +++ b/sdk/dax/src/operation/describe_default_parameters/builders.rs @@ -19,9 +19,9 @@ impl DescribeDefaultParametersFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl DescribeDefaultParametersFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::describe_default_parameters::DescribeDefaultParameters, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::describe_default_parameters::DescribeDefaultParametersError, + >, + > { + self.customize_middleware().await + } ///

                                        The maximum number of results to include in the response. If more results exist than the specified MaxResults value, a token is included in the response so that the remaining results can be retrieved.

                                        ///

                                        The value for MaxResults must be between 20 and 100.

                                        pub fn max_results(mut self, input: i32) -> Self { diff --git a/sdk/dax/src/operation/describe_events/builders.rs b/sdk/dax/src/operation/describe_events/builders.rs index fea12968cae7..9fa569669906 100644 --- a/sdk/dax/src/operation/describe_events/builders.rs +++ b/sdk/dax/src/operation/describe_events/builders.rs @@ -20,9 +20,9 @@ impl DescribeEventsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -78,6 +78,20 @@ impl DescribeEventsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::describe_events::DescribeEvents, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                        The identifier of the event source for which events will be returned. If not specified, then all sources are included in the response.

                                        pub fn source_name(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.source_name(input.into()); diff --git a/sdk/dax/src/operation/describe_parameter_groups/builders.rs b/sdk/dax/src/operation/describe_parameter_groups/builders.rs index 116a20ac3634..b3ce63b8d0b9 100644 --- a/sdk/dax/src/operation/describe_parameter_groups/builders.rs +++ b/sdk/dax/src/operation/describe_parameter_groups/builders.rs @@ -20,9 +20,9 @@ impl DescribeParameterGroupsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -84,6 +84,22 @@ impl DescribeParameterGroupsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::describe_parameter_groups::DescribeParameterGroups, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::describe_parameter_groups::DescribeParameterGroupsError, + >, + > { + self.customize_middleware().await + } /// Appends an item to `ParameterGroupNames`. /// /// To override the contents of this collection use [`set_parameter_group_names`](Self::set_parameter_group_names). diff --git a/sdk/dax/src/operation/describe_parameters/builders.rs b/sdk/dax/src/operation/describe_parameters/builders.rs index 7cfa50584909..207a1c8c3463 100644 --- a/sdk/dax/src/operation/describe_parameters/builders.rs +++ b/sdk/dax/src/operation/describe_parameters/builders.rs @@ -19,9 +19,9 @@ impl DescribeParametersFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl DescribeParametersFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::describe_parameters::DescribeParameters, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::describe_parameters::DescribeParametersError, + >, + > { + self.customize_middleware().await + } ///

                                        The name of the parameter group.

                                        pub fn parameter_group_name( mut self, diff --git a/sdk/dax/src/operation/describe_subnet_groups/builders.rs b/sdk/dax/src/operation/describe_subnet_groups/builders.rs index 4eeaf9e01f30..259843da380f 100644 --- a/sdk/dax/src/operation/describe_subnet_groups/builders.rs +++ b/sdk/dax/src/operation/describe_subnet_groups/builders.rs @@ -19,9 +19,9 @@ impl DescribeSubnetGroupsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl DescribeSubnetGroupsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::describe_subnet_groups::DescribeSubnetGroups, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::describe_subnet_groups::DescribeSubnetGroupsError, + >, + > { + self.customize_middleware().await + } /// Appends an item to `SubnetGroupNames`. /// /// To override the contents of this collection use [`set_subnet_group_names`](Self::set_subnet_group_names). diff --git a/sdk/dax/src/operation/increase_replication_factor/builders.rs b/sdk/dax/src/operation/increase_replication_factor/builders.rs index ff5f2597001e..ef324e7957c0 100644 --- a/sdk/dax/src/operation/increase_replication_factor/builders.rs +++ b/sdk/dax/src/operation/increase_replication_factor/builders.rs @@ -19,9 +19,9 @@ impl IncreaseReplicationFactorFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl IncreaseReplicationFactorFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::increase_replication_factor::IncreaseReplicationFactor, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::increase_replication_factor::IncreaseReplicationFactorError, + >, + > { + self.customize_middleware().await + } ///

                                        The name of the DAX cluster that will receive additional nodes.

                                        pub fn cluster_name(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.cluster_name(input.into()); diff --git a/sdk/dax/src/operation/list_tags/builders.rs b/sdk/dax/src/operation/list_tags/builders.rs index c23de29ef257..36c3b3fd7b22 100644 --- a/sdk/dax/src/operation/list_tags/builders.rs +++ b/sdk/dax/src/operation/list_tags/builders.rs @@ -19,9 +19,9 @@ impl ListTagsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl ListTagsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_tags::ListTags, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                        The name of the DAX resource to which the tags belong.

                                        pub fn resource_name( mut self, diff --git a/sdk/dax/src/operation/reboot_node/builders.rs b/sdk/dax/src/operation/reboot_node/builders.rs index 4435bee634ea..612ab992b7ac 100644 --- a/sdk/dax/src/operation/reboot_node/builders.rs +++ b/sdk/dax/src/operation/reboot_node/builders.rs @@ -21,9 +21,9 @@ impl RebootNodeFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -79,6 +79,20 @@ impl RebootNodeFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::reboot_node::RebootNode, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                        The name of the DAX cluster containing the node to be rebooted.

                                        pub fn cluster_name(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.cluster_name(input.into()); diff --git a/sdk/dax/src/operation/tag_resource/builders.rs b/sdk/dax/src/operation/tag_resource/builders.rs index 002a2e0d6cb7..5c176be70458 100644 --- a/sdk/dax/src/operation/tag_resource/builders.rs +++ b/sdk/dax/src/operation/tag_resource/builders.rs @@ -19,9 +19,9 @@ impl TagResourceFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl TagResourceFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::tag_resource::TagResource, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                        The name of the DAX resource to which tags should be added.

                                        pub fn resource_name( mut self, diff --git a/sdk/dax/src/operation/untag_resource/builders.rs b/sdk/dax/src/operation/untag_resource/builders.rs index bf071fb997bc..63b69e3fbd64 100644 --- a/sdk/dax/src/operation/untag_resource/builders.rs +++ b/sdk/dax/src/operation/untag_resource/builders.rs @@ -19,9 +19,9 @@ impl UntagResourceFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl UntagResourceFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::untag_resource::UntagResource, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                        The name of the DAX resource from which the tags should be removed.

                                        pub fn resource_name( mut self, diff --git a/sdk/dax/src/operation/update_cluster/builders.rs b/sdk/dax/src/operation/update_cluster/builders.rs index 6961e066977b..7a368273e15d 100644 --- a/sdk/dax/src/operation/update_cluster/builders.rs +++ b/sdk/dax/src/operation/update_cluster/builders.rs @@ -19,9 +19,9 @@ impl UpdateClusterFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl UpdateClusterFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::update_cluster::UpdateCluster, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                        The name of the DAX cluster to be modified.

                                        pub fn cluster_name(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.cluster_name(input.into()); diff --git a/sdk/dax/src/operation/update_parameter_group/builders.rs b/sdk/dax/src/operation/update_parameter_group/builders.rs index 901b82e37218..53b49cbddefe 100644 --- a/sdk/dax/src/operation/update_parameter_group/builders.rs +++ b/sdk/dax/src/operation/update_parameter_group/builders.rs @@ -19,9 +19,9 @@ impl UpdateParameterGroupFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl UpdateParameterGroupFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::update_parameter_group::UpdateParameterGroup, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::update_parameter_group::UpdateParameterGroupError, + >, + > { + self.customize_middleware().await + } ///

                                        The name of the parameter group.

                                        pub fn parameter_group_name( mut self, diff --git a/sdk/dax/src/operation/update_subnet_group/builders.rs b/sdk/dax/src/operation/update_subnet_group/builders.rs index ca03cb0690f3..29a92b224557 100644 --- a/sdk/dax/src/operation/update_subnet_group/builders.rs +++ b/sdk/dax/src/operation/update_subnet_group/builders.rs @@ -19,9 +19,9 @@ impl UpdateSubnetGroupFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl UpdateSubnetGroupFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::update_subnet_group::UpdateSubnetGroup, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::update_subnet_group::UpdateSubnetGroupError, + >, + > { + self.customize_middleware().await + } ///

                                        The name of the subnet group.

                                        pub fn subnet_group_name( mut self, diff --git a/sdk/detective/src/operation/accept_invitation/builders.rs b/sdk/detective/src/operation/accept_invitation/builders.rs index ee586ced58fe..ebde579c3563 100644 --- a/sdk/detective/src/operation/accept_invitation/builders.rs +++ b/sdk/detective/src/operation/accept_invitation/builders.rs @@ -21,9 +21,9 @@ impl AcceptInvitationFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -85,6 +85,22 @@ impl AcceptInvitationFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::accept_invitation::AcceptInvitation, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::accept_invitation::AcceptInvitationError, + >, + > { + self.customize_middleware().await + } ///

                                        The ARN of the behavior graph that the member account is accepting the invitation for.

                                        ///

                                        The member account status in the behavior graph must be INVITED.

                                        pub fn graph_arn(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { diff --git a/sdk/detective/src/operation/batch_get_graph_member_datasources/builders.rs b/sdk/detective/src/operation/batch_get_graph_member_datasources/builders.rs index b299bbac3a24..16e297901a23 100644 --- a/sdk/detective/src/operation/batch_get_graph_member_datasources/builders.rs +++ b/sdk/detective/src/operation/batch_get_graph_member_datasources/builders.rs @@ -19,9 +19,9 @@ impl BatchGetGraphMemberDatasourcesFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize(self) -> ::std::result::Result< + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware(self) -> ::std::result::Result< crate::client::customize::CustomizableOperation, ::aws_smithy_http::result::SdkError >{ @@ -64,6 +64,15 @@ impl BatchGetGraphMemberDatasourcesFluentBuilder { { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize(self) -> ::std::result::Result< + crate::client::customize::CustomizableOperation, + ::aws_smithy_http::result::SdkError + >{ + self.customize_middleware().await + } ///

                                        The ARN of the behavior graph.

                                        pub fn graph_arn(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.graph_arn(input.into()); diff --git a/sdk/detective/src/operation/batch_get_membership_datasources/builders.rs b/sdk/detective/src/operation/batch_get_membership_datasources/builders.rs index 8f692fc45b1d..c25ff5166415 100644 --- a/sdk/detective/src/operation/batch_get_membership_datasources/builders.rs +++ b/sdk/detective/src/operation/batch_get_membership_datasources/builders.rs @@ -19,9 +19,9 @@ impl BatchGetMembershipDatasourcesFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl BatchGetMembershipDatasourcesFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::batch_get_membership_datasources::BatchGetMembershipDatasources, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::batch_get_membership_datasources::BatchGetMembershipDatasourcesError, + >, + > { + self.customize_middleware().await + } /// Appends an item to `GraphArns`. /// /// To override the contents of this collection use [`set_graph_arns`](Self::set_graph_arns). diff --git a/sdk/detective/src/operation/create_graph/builders.rs b/sdk/detective/src/operation/create_graph/builders.rs index ab309b7ace61..c097f292e987 100644 --- a/sdk/detective/src/operation/create_graph/builders.rs +++ b/sdk/detective/src/operation/create_graph/builders.rs @@ -23,9 +23,9 @@ impl CreateGraphFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -81,6 +81,20 @@ impl CreateGraphFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::create_graph::CreateGraph, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } /// Adds a key-value pair to `Tags`. /// /// To override the contents of this collection use [`set_tags`](Self::set_tags). diff --git a/sdk/detective/src/operation/create_members/builders.rs b/sdk/detective/src/operation/create_members/builders.rs index 2e11d68a51ae..bd703cf1294e 100644 --- a/sdk/detective/src/operation/create_members/builders.rs +++ b/sdk/detective/src/operation/create_members/builders.rs @@ -28,9 +28,9 @@ impl CreateMembersFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -86,6 +86,20 @@ impl CreateMembersFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::create_members::CreateMembers, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                        The ARN of the behavior graph.

                                        pub fn graph_arn(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.graph_arn(input.into()); diff --git a/sdk/detective/src/operation/delete_graph/builders.rs b/sdk/detective/src/operation/delete_graph/builders.rs index 82df76da6a8d..14f86b72f470 100644 --- a/sdk/detective/src/operation/delete_graph/builders.rs +++ b/sdk/detective/src/operation/delete_graph/builders.rs @@ -20,9 +20,9 @@ impl DeleteGraphFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -78,6 +78,20 @@ impl DeleteGraphFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::delete_graph::DeleteGraph, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                        The ARN of the behavior graph to disable.

                                        pub fn graph_arn(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.graph_arn(input.into()); diff --git a/sdk/detective/src/operation/delete_members/builders.rs b/sdk/detective/src/operation/delete_members/builders.rs index 734aac898e1d..0a26955187dc 100644 --- a/sdk/detective/src/operation/delete_members/builders.rs +++ b/sdk/detective/src/operation/delete_members/builders.rs @@ -22,9 +22,9 @@ impl DeleteMembersFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -80,6 +80,20 @@ impl DeleteMembersFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::delete_members::DeleteMembers, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                        The ARN of the behavior graph to remove members from.

                                        pub fn graph_arn(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.graph_arn(input.into()); diff --git a/sdk/detective/src/operation/describe_organization_configuration/builders.rs b/sdk/detective/src/operation/describe_organization_configuration/builders.rs index 4e2c7d98b79e..a0fa9ad0f5a9 100644 --- a/sdk/detective/src/operation/describe_organization_configuration/builders.rs +++ b/sdk/detective/src/operation/describe_organization_configuration/builders.rs @@ -20,9 +20,9 @@ impl DescribeOrganizationConfigurationFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize(self) -> ::std::result::Result< + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware(self) -> ::std::result::Result< crate::client::customize::CustomizableOperation, ::aws_smithy_http::result::SdkError >{ @@ -65,6 +65,15 @@ impl DescribeOrganizationConfigurationFluentBuilder { { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize(self) -> ::std::result::Result< + crate::client::customize::CustomizableOperation, + ::aws_smithy_http::result::SdkError + >{ + self.customize_middleware().await + } ///

                                        The ARN of the organization behavior graph.

                                        pub fn graph_arn(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.graph_arn(input.into()); diff --git a/sdk/detective/src/operation/disable_organization_admin_account/builders.rs b/sdk/detective/src/operation/disable_organization_admin_account/builders.rs index c510f250b908..6d13b2b6fe30 100644 --- a/sdk/detective/src/operation/disable_organization_admin_account/builders.rs +++ b/sdk/detective/src/operation/disable_organization_admin_account/builders.rs @@ -22,9 +22,9 @@ impl DisableOrganizationAdminAccountFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize(self) -> ::std::result::Result< + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware(self) -> ::std::result::Result< crate::client::customize::CustomizableOperation, ::aws_smithy_http::result::SdkError >{ @@ -67,4 +67,13 @@ impl DisableOrganizationAdminAccountFluentBuilder { { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize(self) -> ::std::result::Result< + crate::client::customize::CustomizableOperation, + ::aws_smithy_http::result::SdkError + >{ + self.customize_middleware().await + } } diff --git a/sdk/detective/src/operation/disassociate_membership/builders.rs b/sdk/detective/src/operation/disassociate_membership/builders.rs index d1a0e28f18c3..780eb397c30d 100644 --- a/sdk/detective/src/operation/disassociate_membership/builders.rs +++ b/sdk/detective/src/operation/disassociate_membership/builders.rs @@ -20,9 +20,9 @@ impl DisassociateMembershipFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -84,6 +84,22 @@ impl DisassociateMembershipFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::disassociate_membership::DisassociateMembership, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::disassociate_membership::DisassociateMembershipError, + >, + > { + self.customize_middleware().await + } ///

                                        The ARN of the behavior graph to remove the member account from.

                                        ///

                                        The member account's member status in the behavior graph must be ENABLED.

                                        pub fn graph_arn(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { diff --git a/sdk/detective/src/operation/enable_organization_admin_account/builders.rs b/sdk/detective/src/operation/enable_organization_admin_account/builders.rs index c9341db38b50..4fb6aae023b4 100644 --- a/sdk/detective/src/operation/enable_organization_admin_account/builders.rs +++ b/sdk/detective/src/operation/enable_organization_admin_account/builders.rs @@ -23,9 +23,9 @@ impl EnableOrganizationAdminAccountFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize(self) -> ::std::result::Result< + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware(self) -> ::std::result::Result< crate::client::customize::CustomizableOperation, ::aws_smithy_http::result::SdkError >{ @@ -68,6 +68,15 @@ impl EnableOrganizationAdminAccountFluentBuilder { { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize(self) -> ::std::result::Result< + crate::client::customize::CustomizableOperation, + ::aws_smithy_http::result::SdkError + >{ + self.customize_middleware().await + } ///

                                        The Amazon Web Services account identifier of the account to designate as the Detective administrator account for the organization.

                                        pub fn account_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.account_id(input.into()); diff --git a/sdk/detective/src/operation/get_members/builders.rs b/sdk/detective/src/operation/get_members/builders.rs index 090393c778f4..7402c5e470d8 100644 --- a/sdk/detective/src/operation/get_members/builders.rs +++ b/sdk/detective/src/operation/get_members/builders.rs @@ -19,9 +19,9 @@ impl GetMembersFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl GetMembersFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::get_members::GetMembers, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                        The ARN of the behavior graph for which to request the member details.

                                        pub fn graph_arn(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.graph_arn(input.into()); diff --git a/sdk/detective/src/operation/list_datasource_packages/builders.rs b/sdk/detective/src/operation/list_datasource_packages/builders.rs index 0361f2982d66..3faedf72aef8 100644 --- a/sdk/detective/src/operation/list_datasource_packages/builders.rs +++ b/sdk/detective/src/operation/list_datasource_packages/builders.rs @@ -19,9 +19,9 @@ impl ListDatasourcePackagesFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl ListDatasourcePackagesFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_datasource_packages::ListDatasourcePackages, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::list_datasource_packages::ListDatasourcePackagesError, + >, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::list_datasource_packages::paginator::ListDatasourcePackagesPaginator::send) which returns a `Stream`. diff --git a/sdk/detective/src/operation/list_graphs/builders.rs b/sdk/detective/src/operation/list_graphs/builders.rs index bc3061b1c583..3b65b6c8d7af 100644 --- a/sdk/detective/src/operation/list_graphs/builders.rs +++ b/sdk/detective/src/operation/list_graphs/builders.rs @@ -20,9 +20,9 @@ impl ListGraphsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -78,6 +78,20 @@ impl ListGraphsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_graphs::ListGraphs, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::list_graphs::paginator::ListGraphsPaginator::send) which returns a `Stream`. diff --git a/sdk/detective/src/operation/list_invitations/builders.rs b/sdk/detective/src/operation/list_invitations/builders.rs index d26b49a1d03b..35dbad92a330 100644 --- a/sdk/detective/src/operation/list_invitations/builders.rs +++ b/sdk/detective/src/operation/list_invitations/builders.rs @@ -21,9 +21,9 @@ impl ListInvitationsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -85,6 +85,22 @@ impl ListInvitationsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_invitations::ListInvitations, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::list_invitations::ListInvitationsError, + >, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::list_invitations::paginator::ListInvitationsPaginator::send) which returns a `Stream`. diff --git a/sdk/detective/src/operation/list_members/builders.rs b/sdk/detective/src/operation/list_members/builders.rs index 16eb9bfc48a9..e3a45877dd78 100644 --- a/sdk/detective/src/operation/list_members/builders.rs +++ b/sdk/detective/src/operation/list_members/builders.rs @@ -21,9 +21,9 @@ impl ListMembersFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -79,6 +79,20 @@ impl ListMembersFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_members::ListMembers, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::list_members::paginator::ListMembersPaginator::send) which returns a `Stream`. diff --git a/sdk/detective/src/operation/list_organization_admin_accounts/builders.rs b/sdk/detective/src/operation/list_organization_admin_accounts/builders.rs index c6bda0091ab3..29d6d1448edb 100644 --- a/sdk/detective/src/operation/list_organization_admin_accounts/builders.rs +++ b/sdk/detective/src/operation/list_organization_admin_accounts/builders.rs @@ -19,9 +19,9 @@ impl ListOrganizationAdminAccountsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl ListOrganizationAdminAccountsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_organization_admin_accounts::ListOrganizationAdminAccounts, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::list_organization_admin_accounts::ListOrganizationAdminAccountsError, + >, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::list_organization_admin_accounts::paginator::ListOrganizationAdminAccountsPaginator::send) which returns a `Stream`. diff --git a/sdk/detective/src/operation/list_tags_for_resource/builders.rs b/sdk/detective/src/operation/list_tags_for_resource/builders.rs index b0e4a520c12f..79c22b131364 100644 --- a/sdk/detective/src/operation/list_tags_for_resource/builders.rs +++ b/sdk/detective/src/operation/list_tags_for_resource/builders.rs @@ -19,9 +19,9 @@ impl ListTagsForResourceFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl ListTagsForResourceFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_tags_for_resource::ListTagsForResource, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::list_tags_for_resource::ListTagsForResourceError, + >, + > { + self.customize_middleware().await + } ///

                                        The ARN of the behavior graph for which to retrieve the tag values.

                                        pub fn resource_arn(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.resource_arn(input.into()); diff --git a/sdk/detective/src/operation/reject_invitation/builders.rs b/sdk/detective/src/operation/reject_invitation/builders.rs index aee606c1edb8..a71cd2cd3463 100644 --- a/sdk/detective/src/operation/reject_invitation/builders.rs +++ b/sdk/detective/src/operation/reject_invitation/builders.rs @@ -20,9 +20,9 @@ impl RejectInvitationFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -84,6 +84,22 @@ impl RejectInvitationFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::reject_invitation::RejectInvitation, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::reject_invitation::RejectInvitationError, + >, + > { + self.customize_middleware().await + } ///

                                        The ARN of the behavior graph to reject the invitation to.

                                        ///

                                        The member account's current member status in the behavior graph must be INVITED.

                                        pub fn graph_arn(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { diff --git a/sdk/detective/src/operation/start_monitoring_member/builders.rs b/sdk/detective/src/operation/start_monitoring_member/builders.rs index 1acd31b57a8f..809f7e055918 100644 --- a/sdk/detective/src/operation/start_monitoring_member/builders.rs +++ b/sdk/detective/src/operation/start_monitoring_member/builders.rs @@ -24,9 +24,9 @@ impl StartMonitoringMemberFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -88,6 +88,22 @@ impl StartMonitoringMemberFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::start_monitoring_member::StartMonitoringMember, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::start_monitoring_member::StartMonitoringMemberError, + >, + > { + self.customize_middleware().await + } ///

                                        The ARN of the behavior graph.

                                        pub fn graph_arn(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.graph_arn(input.into()); diff --git a/sdk/detective/src/operation/tag_resource/builders.rs b/sdk/detective/src/operation/tag_resource/builders.rs index 7f838493dc94..d7fd7e171f1f 100644 --- a/sdk/detective/src/operation/tag_resource/builders.rs +++ b/sdk/detective/src/operation/tag_resource/builders.rs @@ -19,9 +19,9 @@ impl TagResourceFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl TagResourceFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::tag_resource::TagResource, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                        The ARN of the behavior graph to assign the tags to.

                                        pub fn resource_arn(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.resource_arn(input.into()); diff --git a/sdk/detective/src/operation/untag_resource/builders.rs b/sdk/detective/src/operation/untag_resource/builders.rs index 15d8a5b66bb3..b8e772d3e4eb 100644 --- a/sdk/detective/src/operation/untag_resource/builders.rs +++ b/sdk/detective/src/operation/untag_resource/builders.rs @@ -19,9 +19,9 @@ impl UntagResourceFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl UntagResourceFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::untag_resource::UntagResource, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                        The ARN of the behavior graph to remove the tags from.

                                        pub fn resource_arn(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.resource_arn(input.into()); diff --git a/sdk/detective/src/operation/update_datasource_packages/builders.rs b/sdk/detective/src/operation/update_datasource_packages/builders.rs index 49ce989dec33..ee7f4ff3f618 100644 --- a/sdk/detective/src/operation/update_datasource_packages/builders.rs +++ b/sdk/detective/src/operation/update_datasource_packages/builders.rs @@ -19,9 +19,9 @@ impl UpdateDatasourcePackagesFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl UpdateDatasourcePackagesFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::update_datasource_packages::UpdateDatasourcePackages, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::update_datasource_packages::UpdateDatasourcePackagesError, + >, + > { + self.customize_middleware().await + } ///

                                        The ARN of the behavior graph.

                                        pub fn graph_arn(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.graph_arn(input.into()); diff --git a/sdk/detective/src/operation/update_organization_configuration/builders.rs b/sdk/detective/src/operation/update_organization_configuration/builders.rs index c59b524767bd..33aff0249d30 100644 --- a/sdk/detective/src/operation/update_organization_configuration/builders.rs +++ b/sdk/detective/src/operation/update_organization_configuration/builders.rs @@ -19,9 +19,9 @@ impl UpdateOrganizationConfigurationFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize(self) -> ::std::result::Result< + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware(self) -> ::std::result::Result< crate::client::customize::CustomizableOperation, ::aws_smithy_http::result::SdkError >{ @@ -64,6 +64,15 @@ impl UpdateOrganizationConfigurationFluentBuilder { { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize(self) -> ::std::result::Result< + crate::client::customize::CustomizableOperation, + ::aws_smithy_http::result::SdkError + >{ + self.customize_middleware().await + } ///

                                        The ARN of the organization behavior graph.

                                        pub fn graph_arn(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.graph_arn(input.into()); diff --git a/sdk/devicefarm/src/operation/create_device_pool/builders.rs b/sdk/devicefarm/src/operation/create_device_pool/builders.rs index c1016a1332f4..c36b28d18961 100644 --- a/sdk/devicefarm/src/operation/create_device_pool/builders.rs +++ b/sdk/devicefarm/src/operation/create_device_pool/builders.rs @@ -19,9 +19,9 @@ impl CreateDevicePoolFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl CreateDevicePoolFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::create_device_pool::CreateDevicePool, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::create_device_pool::CreateDevicePoolError, + >, + > { + self.customize_middleware().await + } ///

                                        The ARN of the project for the device pool.

                                        pub fn project_arn(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.project_arn(input.into()); diff --git a/sdk/devicefarm/src/operation/create_instance_profile/builders.rs b/sdk/devicefarm/src/operation/create_instance_profile/builders.rs index d63f86e61898..70745a8d52d8 100644 --- a/sdk/devicefarm/src/operation/create_instance_profile/builders.rs +++ b/sdk/devicefarm/src/operation/create_instance_profile/builders.rs @@ -19,9 +19,9 @@ impl CreateInstanceProfileFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl CreateInstanceProfileFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::create_instance_profile::CreateInstanceProfile, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::create_instance_profile::CreateInstanceProfileError, + >, + > { + self.customize_middleware().await + } ///

                                        The name of your instance profile.

                                        pub fn name(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.name(input.into()); diff --git a/sdk/devicefarm/src/operation/create_network_profile/builders.rs b/sdk/devicefarm/src/operation/create_network_profile/builders.rs index cab8669db8cf..73f00f625b3c 100644 --- a/sdk/devicefarm/src/operation/create_network_profile/builders.rs +++ b/sdk/devicefarm/src/operation/create_network_profile/builders.rs @@ -19,9 +19,9 @@ impl CreateNetworkProfileFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl CreateNetworkProfileFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::create_network_profile::CreateNetworkProfile, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::create_network_profile::CreateNetworkProfileError, + >, + > { + self.customize_middleware().await + } ///

                                        The Amazon Resource Name (ARN) of the project for which you want to create a network profile.

                                        pub fn project_arn(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.project_arn(input.into()); diff --git a/sdk/devicefarm/src/operation/create_project/builders.rs b/sdk/devicefarm/src/operation/create_project/builders.rs index 179e47101c3a..acd7dc1284dc 100644 --- a/sdk/devicefarm/src/operation/create_project/builders.rs +++ b/sdk/devicefarm/src/operation/create_project/builders.rs @@ -19,9 +19,9 @@ impl CreateProjectFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl CreateProjectFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::create_project::CreateProject, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                        The project's name.

                                        pub fn name(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.name(input.into()); diff --git a/sdk/devicefarm/src/operation/create_remote_access_session/builders.rs b/sdk/devicefarm/src/operation/create_remote_access_session/builders.rs index ca3dfb32b115..7224201918ee 100644 --- a/sdk/devicefarm/src/operation/create_remote_access_session/builders.rs +++ b/sdk/devicefarm/src/operation/create_remote_access_session/builders.rs @@ -19,9 +19,9 @@ impl CreateRemoteAccessSessionFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl CreateRemoteAccessSessionFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::create_remote_access_session::CreateRemoteAccessSession, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::create_remote_access_session::CreateRemoteAccessSessionError, + >, + > { + self.customize_middleware().await + } ///

                                        The Amazon Resource Name (ARN) of the project for which you want to create a remote access session.

                                        pub fn project_arn(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.project_arn(input.into()); diff --git a/sdk/devicefarm/src/operation/create_test_grid_project/builders.rs b/sdk/devicefarm/src/operation/create_test_grid_project/builders.rs index 946ee78c5222..f51a7da646d2 100644 --- a/sdk/devicefarm/src/operation/create_test_grid_project/builders.rs +++ b/sdk/devicefarm/src/operation/create_test_grid_project/builders.rs @@ -19,9 +19,9 @@ impl CreateTestGridProjectFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl CreateTestGridProjectFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::create_test_grid_project::CreateTestGridProject, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::create_test_grid_project::CreateTestGridProjectError, + >, + > { + self.customize_middleware().await + } ///

                                        Human-readable name of the Selenium testing project.

                                        pub fn name(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.name(input.into()); diff --git a/sdk/devicefarm/src/operation/create_test_grid_url/builders.rs b/sdk/devicefarm/src/operation/create_test_grid_url/builders.rs index 95f93446fb40..3a5f64eb6e18 100644 --- a/sdk/devicefarm/src/operation/create_test_grid_url/builders.rs +++ b/sdk/devicefarm/src/operation/create_test_grid_url/builders.rs @@ -19,9 +19,9 @@ impl CreateTestGridUrlFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl CreateTestGridUrlFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::create_test_grid_url::CreateTestGridUrl, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::create_test_grid_url::CreateTestGridUrlError, + >, + > { + self.customize_middleware().await + } ///

                                        ARN (from CreateTestGridProject or ListTestGridProjects) to associate with the short-term URL.

                                        pub fn project_arn(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.project_arn(input.into()); diff --git a/sdk/devicefarm/src/operation/create_upload/builders.rs b/sdk/devicefarm/src/operation/create_upload/builders.rs index 8bd39ee2ea77..041fd5d586d6 100644 --- a/sdk/devicefarm/src/operation/create_upload/builders.rs +++ b/sdk/devicefarm/src/operation/create_upload/builders.rs @@ -19,9 +19,9 @@ impl CreateUploadFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl CreateUploadFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::create_upload::CreateUpload, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                        The ARN of the project for the upload.

                                        pub fn project_arn(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.project_arn(input.into()); diff --git a/sdk/devicefarm/src/operation/create_vpce_configuration/builders.rs b/sdk/devicefarm/src/operation/create_vpce_configuration/builders.rs index f371cf8bebf4..58f913dc4b80 100644 --- a/sdk/devicefarm/src/operation/create_vpce_configuration/builders.rs +++ b/sdk/devicefarm/src/operation/create_vpce_configuration/builders.rs @@ -20,9 +20,9 @@ impl CreateVPCEConfigurationFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -84,6 +84,22 @@ impl CreateVPCEConfigurationFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::create_vpce_configuration::CreateVPCEConfiguration, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::create_vpce_configuration::CreateVPCEConfigurationError, + >, + > { + self.customize_middleware().await + } ///

                                        The friendly name you give to your VPC endpoint configuration, to manage your configurations more easily.

                                        pub fn vpce_configuration_name( mut self, diff --git a/sdk/devicefarm/src/operation/delete_device_pool/builders.rs b/sdk/devicefarm/src/operation/delete_device_pool/builders.rs index 8772f2cd42a2..c29845057e28 100644 --- a/sdk/devicefarm/src/operation/delete_device_pool/builders.rs +++ b/sdk/devicefarm/src/operation/delete_device_pool/builders.rs @@ -19,9 +19,9 @@ impl DeleteDevicePoolFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl DeleteDevicePoolFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::delete_device_pool::DeleteDevicePool, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::delete_device_pool::DeleteDevicePoolError, + >, + > { + self.customize_middleware().await + } ///

                                        Represents the Amazon Resource Name (ARN) of the Device Farm device pool to delete.

                                        pub fn arn(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.arn(input.into()); diff --git a/sdk/devicefarm/src/operation/delete_instance_profile/builders.rs b/sdk/devicefarm/src/operation/delete_instance_profile/builders.rs index 04a9993e0821..96158e362574 100644 --- a/sdk/devicefarm/src/operation/delete_instance_profile/builders.rs +++ b/sdk/devicefarm/src/operation/delete_instance_profile/builders.rs @@ -19,9 +19,9 @@ impl DeleteInstanceProfileFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl DeleteInstanceProfileFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::delete_instance_profile::DeleteInstanceProfile, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::delete_instance_profile::DeleteInstanceProfileError, + >, + > { + self.customize_middleware().await + } ///

                                        The Amazon Resource Name (ARN) of the instance profile you are requesting to delete.

                                        pub fn arn(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.arn(input.into()); diff --git a/sdk/devicefarm/src/operation/delete_network_profile/builders.rs b/sdk/devicefarm/src/operation/delete_network_profile/builders.rs index 960f4a3c5afd..979fa7ff6fe5 100644 --- a/sdk/devicefarm/src/operation/delete_network_profile/builders.rs +++ b/sdk/devicefarm/src/operation/delete_network_profile/builders.rs @@ -19,9 +19,9 @@ impl DeleteNetworkProfileFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl DeleteNetworkProfileFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::delete_network_profile::DeleteNetworkProfile, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::delete_network_profile::DeleteNetworkProfileError, + >, + > { + self.customize_middleware().await + } ///

                                        The ARN of the network profile to delete.

                                        pub fn arn(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.arn(input.into()); diff --git a/sdk/devicefarm/src/operation/delete_project/builders.rs b/sdk/devicefarm/src/operation/delete_project/builders.rs index fe9c15353eb0..112654fabc5f 100644 --- a/sdk/devicefarm/src/operation/delete_project/builders.rs +++ b/sdk/devicefarm/src/operation/delete_project/builders.rs @@ -20,9 +20,9 @@ impl DeleteProjectFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -78,6 +78,20 @@ impl DeleteProjectFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::delete_project::DeleteProject, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                        Represents the Amazon Resource Name (ARN) of the Device Farm project to delete.

                                        pub fn arn(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.arn(input.into()); diff --git a/sdk/devicefarm/src/operation/delete_remote_access_session/builders.rs b/sdk/devicefarm/src/operation/delete_remote_access_session/builders.rs index 72931bd7defa..51698f58e735 100644 --- a/sdk/devicefarm/src/operation/delete_remote_access_session/builders.rs +++ b/sdk/devicefarm/src/operation/delete_remote_access_session/builders.rs @@ -19,9 +19,9 @@ impl DeleteRemoteAccessSessionFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl DeleteRemoteAccessSessionFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::delete_remote_access_session::DeleteRemoteAccessSession, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::delete_remote_access_session::DeleteRemoteAccessSessionError, + >, + > { + self.customize_middleware().await + } ///

                                        The Amazon Resource Name (ARN) of the session for which you want to delete remote access.

                                        pub fn arn(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.arn(input.into()); diff --git a/sdk/devicefarm/src/operation/delete_run/builders.rs b/sdk/devicefarm/src/operation/delete_run/builders.rs index a761452cf52a..f8f5ad381beb 100644 --- a/sdk/devicefarm/src/operation/delete_run/builders.rs +++ b/sdk/devicefarm/src/operation/delete_run/builders.rs @@ -20,9 +20,9 @@ impl DeleteRunFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -78,6 +78,20 @@ impl DeleteRunFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::delete_run::DeleteRun, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                        The Amazon Resource Name (ARN) for the run to delete.

                                        pub fn arn(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.arn(input.into()); diff --git a/sdk/devicefarm/src/operation/delete_test_grid_project/builders.rs b/sdk/devicefarm/src/operation/delete_test_grid_project/builders.rs index f1735a5a4036..0a3ec857aad4 100644 --- a/sdk/devicefarm/src/operation/delete_test_grid_project/builders.rs +++ b/sdk/devicefarm/src/operation/delete_test_grid_project/builders.rs @@ -23,9 +23,9 @@ impl DeleteTestGridProjectFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -87,6 +87,22 @@ impl DeleteTestGridProjectFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::delete_test_grid_project::DeleteTestGridProject, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::delete_test_grid_project::DeleteTestGridProjectError, + >, + > { + self.customize_middleware().await + } ///

                                        The ARN of the project to delete, from CreateTestGridProject or ListTestGridProjects.

                                        pub fn project_arn(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.project_arn(input.into()); diff --git a/sdk/devicefarm/src/operation/delete_upload/builders.rs b/sdk/devicefarm/src/operation/delete_upload/builders.rs index ded5cc10b52c..c98fb09b4ad0 100644 --- a/sdk/devicefarm/src/operation/delete_upload/builders.rs +++ b/sdk/devicefarm/src/operation/delete_upload/builders.rs @@ -19,9 +19,9 @@ impl DeleteUploadFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl DeleteUploadFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::delete_upload::DeleteUpload, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                        Represents the Amazon Resource Name (ARN) of the Device Farm upload to delete.

                                        pub fn arn(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.arn(input.into()); diff --git a/sdk/devicefarm/src/operation/delete_vpce_configuration/builders.rs b/sdk/devicefarm/src/operation/delete_vpce_configuration/builders.rs index 3d48e24284d0..0f59cc4c68ad 100644 --- a/sdk/devicefarm/src/operation/delete_vpce_configuration/builders.rs +++ b/sdk/devicefarm/src/operation/delete_vpce_configuration/builders.rs @@ -20,9 +20,9 @@ impl DeleteVPCEConfigurationFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -84,6 +84,22 @@ impl DeleteVPCEConfigurationFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::delete_vpce_configuration::DeleteVPCEConfiguration, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::delete_vpce_configuration::DeleteVPCEConfigurationError, + >, + > { + self.customize_middleware().await + } ///

                                        The Amazon Resource Name (ARN) of the VPC endpoint configuration you want to delete.

                                        pub fn arn(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.arn(input.into()); diff --git a/sdk/devicefarm/src/operation/get_account_settings/builders.rs b/sdk/devicefarm/src/operation/get_account_settings/builders.rs index 38ebb3f891a3..7ccc244f50de 100644 --- a/sdk/devicefarm/src/operation/get_account_settings/builders.rs +++ b/sdk/devicefarm/src/operation/get_account_settings/builders.rs @@ -19,9 +19,9 @@ impl GetAccountSettingsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,4 +83,20 @@ impl GetAccountSettingsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::get_account_settings::GetAccountSettings, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::get_account_settings::GetAccountSettingsError, + >, + > { + self.customize_middleware().await + } } diff --git a/sdk/devicefarm/src/operation/get_device/builders.rs b/sdk/devicefarm/src/operation/get_device/builders.rs index dbe921167af3..3e64a471fb98 100644 --- a/sdk/devicefarm/src/operation/get_device/builders.rs +++ b/sdk/devicefarm/src/operation/get_device/builders.rs @@ -19,9 +19,9 @@ impl GetDeviceFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl GetDeviceFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::get_device::GetDevice, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                        The device type's ARN.

                                        pub fn arn(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.arn(input.into()); diff --git a/sdk/devicefarm/src/operation/get_device_instance/builders.rs b/sdk/devicefarm/src/operation/get_device_instance/builders.rs index b3fa4a811e15..9d9309f7d469 100644 --- a/sdk/devicefarm/src/operation/get_device_instance/builders.rs +++ b/sdk/devicefarm/src/operation/get_device_instance/builders.rs @@ -19,9 +19,9 @@ impl GetDeviceInstanceFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl GetDeviceInstanceFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::get_device_instance::GetDeviceInstance, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::get_device_instance::GetDeviceInstanceError, + >, + > { + self.customize_middleware().await + } ///

                                        The Amazon Resource Name (ARN) of the instance you're requesting information about.

                                        pub fn arn(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.arn(input.into()); diff --git a/sdk/devicefarm/src/operation/get_device_pool/builders.rs b/sdk/devicefarm/src/operation/get_device_pool/builders.rs index b7899b28da27..4dca0098edeb 100644 --- a/sdk/devicefarm/src/operation/get_device_pool/builders.rs +++ b/sdk/devicefarm/src/operation/get_device_pool/builders.rs @@ -19,9 +19,9 @@ impl GetDevicePoolFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl GetDevicePoolFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::get_device_pool::GetDevicePool, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                        The device pool's ARN.

                                        pub fn arn(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.arn(input.into()); diff --git a/sdk/devicefarm/src/operation/get_device_pool_compatibility/builders.rs b/sdk/devicefarm/src/operation/get_device_pool_compatibility/builders.rs index bd458c7bd6aa..b5c7b57453a1 100644 --- a/sdk/devicefarm/src/operation/get_device_pool_compatibility/builders.rs +++ b/sdk/devicefarm/src/operation/get_device_pool_compatibility/builders.rs @@ -19,9 +19,9 @@ impl GetDevicePoolCompatibilityFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl GetDevicePoolCompatibilityFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::get_device_pool_compatibility::GetDevicePoolCompatibility, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::get_device_pool_compatibility::GetDevicePoolCompatibilityError, + >, + > { + self.customize_middleware().await + } ///

                                        The device pool's ARN.

                                        pub fn device_pool_arn( mut self, diff --git a/sdk/devicefarm/src/operation/get_instance_profile/builders.rs b/sdk/devicefarm/src/operation/get_instance_profile/builders.rs index 58fdf9f25b0c..f0c3e43eefca 100644 --- a/sdk/devicefarm/src/operation/get_instance_profile/builders.rs +++ b/sdk/devicefarm/src/operation/get_instance_profile/builders.rs @@ -19,9 +19,9 @@ impl GetInstanceProfileFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl GetInstanceProfileFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::get_instance_profile::GetInstanceProfile, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::get_instance_profile::GetInstanceProfileError, + >, + > { + self.customize_middleware().await + } ///

                                        The Amazon Resource Name (ARN) of an instance profile.

                                        pub fn arn(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.arn(input.into()); diff --git a/sdk/devicefarm/src/operation/get_job/builders.rs b/sdk/devicefarm/src/operation/get_job/builders.rs index ceeb3d87b9ba..89c641269800 100644 --- a/sdk/devicefarm/src/operation/get_job/builders.rs +++ b/sdk/devicefarm/src/operation/get_job/builders.rs @@ -19,9 +19,9 @@ impl GetJobFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl GetJobFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::get_job::GetJob, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                        The job's ARN.

                                        pub fn arn(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.arn(input.into()); diff --git a/sdk/devicefarm/src/operation/get_network_profile/builders.rs b/sdk/devicefarm/src/operation/get_network_profile/builders.rs index 464bbe5d6511..50c2cd6d261b 100644 --- a/sdk/devicefarm/src/operation/get_network_profile/builders.rs +++ b/sdk/devicefarm/src/operation/get_network_profile/builders.rs @@ -19,9 +19,9 @@ impl GetNetworkProfileFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl GetNetworkProfileFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::get_network_profile::GetNetworkProfile, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::get_network_profile::GetNetworkProfileError, + >, + > { + self.customize_middleware().await + } ///

                                        The ARN of the network profile to return information about.

                                        pub fn arn(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.arn(input.into()); diff --git a/sdk/devicefarm/src/operation/get_offering_status/builders.rs b/sdk/devicefarm/src/operation/get_offering_status/builders.rs index 5fcb8a644cbe..7b3dde8da3cb 100644 --- a/sdk/devicefarm/src/operation/get_offering_status/builders.rs +++ b/sdk/devicefarm/src/operation/get_offering_status/builders.rs @@ -19,9 +19,9 @@ impl GetOfferingStatusFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl GetOfferingStatusFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::get_offering_status::GetOfferingStatus, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::get_offering_status::GetOfferingStatusError, + >, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::get_offering_status::paginator::GetOfferingStatusPaginator::send) which returns a `Stream`. diff --git a/sdk/devicefarm/src/operation/get_project/builders.rs b/sdk/devicefarm/src/operation/get_project/builders.rs index efdb0b881b97..52609188520b 100644 --- a/sdk/devicefarm/src/operation/get_project/builders.rs +++ b/sdk/devicefarm/src/operation/get_project/builders.rs @@ -19,9 +19,9 @@ impl GetProjectFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl GetProjectFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::get_project::GetProject, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                        The project's ARN.

                                        pub fn arn(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.arn(input.into()); diff --git a/sdk/devicefarm/src/operation/get_remote_access_session/builders.rs b/sdk/devicefarm/src/operation/get_remote_access_session/builders.rs index 831d94bf17cb..c256aeee49b2 100644 --- a/sdk/devicefarm/src/operation/get_remote_access_session/builders.rs +++ b/sdk/devicefarm/src/operation/get_remote_access_session/builders.rs @@ -20,9 +20,9 @@ impl GetRemoteAccessSessionFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -84,6 +84,22 @@ impl GetRemoteAccessSessionFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::get_remote_access_session::GetRemoteAccessSession, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::get_remote_access_session::GetRemoteAccessSessionError, + >, + > { + self.customize_middleware().await + } ///

                                        The Amazon Resource Name (ARN) of the remote access session about which you want to get session information.

                                        pub fn arn(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.arn(input.into()); diff --git a/sdk/devicefarm/src/operation/get_run/builders.rs b/sdk/devicefarm/src/operation/get_run/builders.rs index 28f9aa3bd133..dec9a4fbe3ed 100644 --- a/sdk/devicefarm/src/operation/get_run/builders.rs +++ b/sdk/devicefarm/src/operation/get_run/builders.rs @@ -19,9 +19,9 @@ impl GetRunFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl GetRunFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::get_run::GetRun, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                        The run's ARN.

                                        pub fn arn(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.arn(input.into()); diff --git a/sdk/devicefarm/src/operation/get_suite/builders.rs b/sdk/devicefarm/src/operation/get_suite/builders.rs index 15fcff922bb1..afbfa3d9c59e 100644 --- a/sdk/devicefarm/src/operation/get_suite/builders.rs +++ b/sdk/devicefarm/src/operation/get_suite/builders.rs @@ -19,9 +19,9 @@ impl GetSuiteFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl GetSuiteFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::get_suite::GetSuite, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                        The suite's ARN.

                                        pub fn arn(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.arn(input.into()); diff --git a/sdk/devicefarm/src/operation/get_test/builders.rs b/sdk/devicefarm/src/operation/get_test/builders.rs index 6f406f3b5236..61b1a6ee7ac0 100644 --- a/sdk/devicefarm/src/operation/get_test/builders.rs +++ b/sdk/devicefarm/src/operation/get_test/builders.rs @@ -19,9 +19,9 @@ impl GetTestFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl GetTestFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::get_test::GetTest, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                        The test's ARN.

                                        pub fn arn(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.arn(input.into()); diff --git a/sdk/devicefarm/src/operation/get_test_grid_project/builders.rs b/sdk/devicefarm/src/operation/get_test_grid_project/builders.rs index 4179d7ea9d7a..5c414891e438 100644 --- a/sdk/devicefarm/src/operation/get_test_grid_project/builders.rs +++ b/sdk/devicefarm/src/operation/get_test_grid_project/builders.rs @@ -19,9 +19,9 @@ impl GetTestGridProjectFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl GetTestGridProjectFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::get_test_grid_project::GetTestGridProject, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::get_test_grid_project::GetTestGridProjectError, + >, + > { + self.customize_middleware().await + } ///

                                        The ARN of the Selenium testing project, from either CreateTestGridProject or ListTestGridProjects.

                                        pub fn project_arn(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.project_arn(input.into()); diff --git a/sdk/devicefarm/src/operation/get_test_grid_session/builders.rs b/sdk/devicefarm/src/operation/get_test_grid_session/builders.rs index 7a58a8deb2d6..f8f78df6b7cf 100644 --- a/sdk/devicefarm/src/operation/get_test_grid_session/builders.rs +++ b/sdk/devicefarm/src/operation/get_test_grid_session/builders.rs @@ -24,9 +24,9 @@ impl GetTestGridSessionFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -88,6 +88,22 @@ impl GetTestGridSessionFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::get_test_grid_session::GetTestGridSession, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::get_test_grid_session::GetTestGridSessionError, + >, + > { + self.customize_middleware().await + } ///

                                        The ARN for the project that this session belongs to. See CreateTestGridProject and ListTestGridProjects.

                                        pub fn project_arn(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.project_arn(input.into()); diff --git a/sdk/devicefarm/src/operation/get_upload/builders.rs b/sdk/devicefarm/src/operation/get_upload/builders.rs index 3f1bb57e38c9..2aa1d846fb99 100644 --- a/sdk/devicefarm/src/operation/get_upload/builders.rs +++ b/sdk/devicefarm/src/operation/get_upload/builders.rs @@ -19,9 +19,9 @@ impl GetUploadFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl GetUploadFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::get_upload::GetUpload, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                        The upload's ARN.

                                        pub fn arn(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.arn(input.into()); diff --git a/sdk/devicefarm/src/operation/get_vpce_configuration/builders.rs b/sdk/devicefarm/src/operation/get_vpce_configuration/builders.rs index 99fc89580c34..664156d7daff 100644 --- a/sdk/devicefarm/src/operation/get_vpce_configuration/builders.rs +++ b/sdk/devicefarm/src/operation/get_vpce_configuration/builders.rs @@ -19,9 +19,9 @@ impl GetVPCEConfigurationFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl GetVPCEConfigurationFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::get_vpce_configuration::GetVPCEConfiguration, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::get_vpce_configuration::GetVPCEConfigurationError, + >, + > { + self.customize_middleware().await + } ///

                                        The Amazon Resource Name (ARN) of the VPC endpoint configuration you want to describe.

                                        pub fn arn(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.arn(input.into()); diff --git a/sdk/devicefarm/src/operation/install_to_remote_access_session/builders.rs b/sdk/devicefarm/src/operation/install_to_remote_access_session/builders.rs index 629873086dec..78a725c9c16a 100644 --- a/sdk/devicefarm/src/operation/install_to_remote_access_session/builders.rs +++ b/sdk/devicefarm/src/operation/install_to_remote_access_session/builders.rs @@ -19,9 +19,9 @@ impl InstallToRemoteAccessSessionFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl InstallToRemoteAccessSessionFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::install_to_remote_access_session::InstallToRemoteAccessSession, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::install_to_remote_access_session::InstallToRemoteAccessSessionError, + >, + > { + self.customize_middleware().await + } ///

                                        The Amazon Resource Name (ARN) of the remote access session about which you are requesting information.

                                        pub fn remote_access_session_arn( mut self, diff --git a/sdk/devicefarm/src/operation/list_artifacts/builders.rs b/sdk/devicefarm/src/operation/list_artifacts/builders.rs index 84ba1fa556c8..df65d6895565 100644 --- a/sdk/devicefarm/src/operation/list_artifacts/builders.rs +++ b/sdk/devicefarm/src/operation/list_artifacts/builders.rs @@ -19,9 +19,9 @@ impl ListArtifactsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl ListArtifactsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_artifacts::ListArtifacts, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::list_artifacts::paginator::ListArtifactsPaginator::send) which returns a `Stream`. diff --git a/sdk/devicefarm/src/operation/list_device_instances/builders.rs b/sdk/devicefarm/src/operation/list_device_instances/builders.rs index 989347462687..fb89e2091571 100644 --- a/sdk/devicefarm/src/operation/list_device_instances/builders.rs +++ b/sdk/devicefarm/src/operation/list_device_instances/builders.rs @@ -19,9 +19,9 @@ impl ListDeviceInstancesFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl ListDeviceInstancesFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_device_instances::ListDeviceInstances, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::list_device_instances::ListDeviceInstancesError, + >, + > { + self.customize_middleware().await + } ///

                                        An integer that specifies the maximum number of items you want to return in the API response.

                                        pub fn max_results(mut self, input: i32) -> Self { self.inner = self.inner.max_results(input); diff --git a/sdk/devicefarm/src/operation/list_device_pools/builders.rs b/sdk/devicefarm/src/operation/list_device_pools/builders.rs index ca93826d5c1d..ab778455b88f 100644 --- a/sdk/devicefarm/src/operation/list_device_pools/builders.rs +++ b/sdk/devicefarm/src/operation/list_device_pools/builders.rs @@ -19,9 +19,9 @@ impl ListDevicePoolsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl ListDevicePoolsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_device_pools::ListDevicePools, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::list_device_pools::ListDevicePoolsError, + >, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::list_device_pools::paginator::ListDevicePoolsPaginator::send) which returns a `Stream`. diff --git a/sdk/devicefarm/src/operation/list_devices/builders.rs b/sdk/devicefarm/src/operation/list_devices/builders.rs index c65a77bb690c..54c02c51e018 100644 --- a/sdk/devicefarm/src/operation/list_devices/builders.rs +++ b/sdk/devicefarm/src/operation/list_devices/builders.rs @@ -19,9 +19,9 @@ impl ListDevicesFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl ListDevicesFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_devices::ListDevices, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::list_devices::paginator::ListDevicesPaginator::send) which returns a `Stream`. diff --git a/sdk/devicefarm/src/operation/list_instance_profiles/builders.rs b/sdk/devicefarm/src/operation/list_instance_profiles/builders.rs index 959bdddba6ac..e3d8830ae29f 100644 --- a/sdk/devicefarm/src/operation/list_instance_profiles/builders.rs +++ b/sdk/devicefarm/src/operation/list_instance_profiles/builders.rs @@ -19,9 +19,9 @@ impl ListInstanceProfilesFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl ListInstanceProfilesFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_instance_profiles::ListInstanceProfiles, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::list_instance_profiles::ListInstanceProfilesError, + >, + > { + self.customize_middleware().await + } ///

                                        An integer that specifies the maximum number of items you want to return in the API response.

                                        pub fn max_results(mut self, input: i32) -> Self { self.inner = self.inner.max_results(input); diff --git a/sdk/devicefarm/src/operation/list_jobs/builders.rs b/sdk/devicefarm/src/operation/list_jobs/builders.rs index 71f1cca7048d..36f1954a6b88 100644 --- a/sdk/devicefarm/src/operation/list_jobs/builders.rs +++ b/sdk/devicefarm/src/operation/list_jobs/builders.rs @@ -19,9 +19,9 @@ impl ListJobsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl ListJobsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_jobs::ListJobs, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::list_jobs::paginator::ListJobsPaginator::send) which returns a `Stream`. diff --git a/sdk/devicefarm/src/operation/list_network_profiles/builders.rs b/sdk/devicefarm/src/operation/list_network_profiles/builders.rs index 719077fe5020..1f85a87df2e3 100644 --- a/sdk/devicefarm/src/operation/list_network_profiles/builders.rs +++ b/sdk/devicefarm/src/operation/list_network_profiles/builders.rs @@ -19,9 +19,9 @@ impl ListNetworkProfilesFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl ListNetworkProfilesFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_network_profiles::ListNetworkProfiles, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::list_network_profiles::ListNetworkProfilesError, + >, + > { + self.customize_middleware().await + } ///

                                        The Amazon Resource Name (ARN) of the project for which you want to list network profiles.

                                        pub fn arn(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.arn(input.into()); diff --git a/sdk/devicefarm/src/operation/list_offering_promotions/builders.rs b/sdk/devicefarm/src/operation/list_offering_promotions/builders.rs index ccda95bd5d0d..a3beff87d36c 100644 --- a/sdk/devicefarm/src/operation/list_offering_promotions/builders.rs +++ b/sdk/devicefarm/src/operation/list_offering_promotions/builders.rs @@ -19,9 +19,9 @@ impl ListOfferingPromotionsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl ListOfferingPromotionsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_offering_promotions::ListOfferingPromotions, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::list_offering_promotions::ListOfferingPromotionsError, + >, + > { + self.customize_middleware().await + } ///

                                        An identifier that was returned from the previous call to this operation, which can be used to return the next set of items in the list.

                                        pub fn next_token(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.next_token(input.into()); diff --git a/sdk/devicefarm/src/operation/list_offering_transactions/builders.rs b/sdk/devicefarm/src/operation/list_offering_transactions/builders.rs index 5f2527643cf0..ba2aee1d1abf 100644 --- a/sdk/devicefarm/src/operation/list_offering_transactions/builders.rs +++ b/sdk/devicefarm/src/operation/list_offering_transactions/builders.rs @@ -19,9 +19,9 @@ impl ListOfferingTransactionsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl ListOfferingTransactionsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_offering_transactions::ListOfferingTransactions, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::list_offering_transactions::ListOfferingTransactionsError, + >, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::list_offering_transactions::paginator::ListOfferingTransactionsPaginator::send) which returns a `Stream`. diff --git a/sdk/devicefarm/src/operation/list_offerings/builders.rs b/sdk/devicefarm/src/operation/list_offerings/builders.rs index f6c136d76f2e..a6d3def8dfba 100644 --- a/sdk/devicefarm/src/operation/list_offerings/builders.rs +++ b/sdk/devicefarm/src/operation/list_offerings/builders.rs @@ -19,9 +19,9 @@ impl ListOfferingsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl ListOfferingsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_offerings::ListOfferings, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::list_offerings::paginator::ListOfferingsPaginator::send) which returns a `Stream`. diff --git a/sdk/devicefarm/src/operation/list_projects/builders.rs b/sdk/devicefarm/src/operation/list_projects/builders.rs index 795e84a6a109..c2b5f208d33f 100644 --- a/sdk/devicefarm/src/operation/list_projects/builders.rs +++ b/sdk/devicefarm/src/operation/list_projects/builders.rs @@ -19,9 +19,9 @@ impl ListProjectsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl ListProjectsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_projects::ListProjects, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::list_projects::paginator::ListProjectsPaginator::send) which returns a `Stream`. diff --git a/sdk/devicefarm/src/operation/list_remote_access_sessions/builders.rs b/sdk/devicefarm/src/operation/list_remote_access_sessions/builders.rs index d68fc3bda18f..885cb7d6681d 100644 --- a/sdk/devicefarm/src/operation/list_remote_access_sessions/builders.rs +++ b/sdk/devicefarm/src/operation/list_remote_access_sessions/builders.rs @@ -19,9 +19,9 @@ impl ListRemoteAccessSessionsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl ListRemoteAccessSessionsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_remote_access_sessions::ListRemoteAccessSessions, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::list_remote_access_sessions::ListRemoteAccessSessionsError, + >, + > { + self.customize_middleware().await + } ///

                                        The Amazon Resource Name (ARN) of the project about which you are requesting information.

                                        pub fn arn(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.arn(input.into()); diff --git a/sdk/devicefarm/src/operation/list_runs/builders.rs b/sdk/devicefarm/src/operation/list_runs/builders.rs index cfc6bd3a0d1a..f0f269ad8b1b 100644 --- a/sdk/devicefarm/src/operation/list_runs/builders.rs +++ b/sdk/devicefarm/src/operation/list_runs/builders.rs @@ -19,9 +19,9 @@ impl ListRunsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl ListRunsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_runs::ListRuns, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::list_runs::paginator::ListRunsPaginator::send) which returns a `Stream`. diff --git a/sdk/devicefarm/src/operation/list_samples/builders.rs b/sdk/devicefarm/src/operation/list_samples/builders.rs index 0f2155aebb69..c53da65cbd03 100644 --- a/sdk/devicefarm/src/operation/list_samples/builders.rs +++ b/sdk/devicefarm/src/operation/list_samples/builders.rs @@ -19,9 +19,9 @@ impl ListSamplesFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl ListSamplesFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_samples::ListSamples, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::list_samples::paginator::ListSamplesPaginator::send) which returns a `Stream`. diff --git a/sdk/devicefarm/src/operation/list_suites/builders.rs b/sdk/devicefarm/src/operation/list_suites/builders.rs index dca1bec6363a..fa2907edc35a 100644 --- a/sdk/devicefarm/src/operation/list_suites/builders.rs +++ b/sdk/devicefarm/src/operation/list_suites/builders.rs @@ -19,9 +19,9 @@ impl ListSuitesFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl ListSuitesFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_suites::ListSuites, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::list_suites::paginator::ListSuitesPaginator::send) which returns a `Stream`. diff --git a/sdk/devicefarm/src/operation/list_tags_for_resource/builders.rs b/sdk/devicefarm/src/operation/list_tags_for_resource/builders.rs index 77cb9d37f168..a0b5574a1fe0 100644 --- a/sdk/devicefarm/src/operation/list_tags_for_resource/builders.rs +++ b/sdk/devicefarm/src/operation/list_tags_for_resource/builders.rs @@ -19,9 +19,9 @@ impl ListTagsForResourceFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl ListTagsForResourceFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_tags_for_resource::ListTagsForResource, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::list_tags_for_resource::ListTagsForResourceError, + >, + > { + self.customize_middleware().await + } ///

                                        The Amazon Resource Name (ARN) of the resource or resources for which to list tags. You can associate tags with the following Device Farm resources: PROJECT, RUN, NETWORK_PROFILE, INSTANCE_PROFILE, DEVICE_INSTANCE, SESSION, DEVICE_POOL, DEVICE, and VPCE_CONFIGURATION.

                                        pub fn resource_arn(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.resource_arn(input.into()); diff --git a/sdk/devicefarm/src/operation/list_test_grid_projects/builders.rs b/sdk/devicefarm/src/operation/list_test_grid_projects/builders.rs index 50c949a7423e..d452ab3625d0 100644 --- a/sdk/devicefarm/src/operation/list_test_grid_projects/builders.rs +++ b/sdk/devicefarm/src/operation/list_test_grid_projects/builders.rs @@ -19,9 +19,9 @@ impl ListTestGridProjectsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl ListTestGridProjectsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_test_grid_projects::ListTestGridProjects, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::list_test_grid_projects::ListTestGridProjectsError, + >, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::list_test_grid_projects::paginator::ListTestGridProjectsPaginator::send) which returns a `Stream`. diff --git a/sdk/devicefarm/src/operation/list_test_grid_session_actions/builders.rs b/sdk/devicefarm/src/operation/list_test_grid_session_actions/builders.rs index deb337c4d469..fe3c8465bd29 100644 --- a/sdk/devicefarm/src/operation/list_test_grid_session_actions/builders.rs +++ b/sdk/devicefarm/src/operation/list_test_grid_session_actions/builders.rs @@ -19,9 +19,9 @@ impl ListTestGridSessionActionsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl ListTestGridSessionActionsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_test_grid_session_actions::ListTestGridSessionActions, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::list_test_grid_session_actions::ListTestGridSessionActionsError, + >, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::list_test_grid_session_actions::paginator::ListTestGridSessionActionsPaginator::send) which returns a `Stream`. diff --git a/sdk/devicefarm/src/operation/list_test_grid_session_artifacts/builders.rs b/sdk/devicefarm/src/operation/list_test_grid_session_artifacts/builders.rs index 477f0d7379ac..0d0312642781 100644 --- a/sdk/devicefarm/src/operation/list_test_grid_session_artifacts/builders.rs +++ b/sdk/devicefarm/src/operation/list_test_grid_session_artifacts/builders.rs @@ -19,9 +19,9 @@ impl ListTestGridSessionArtifactsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl ListTestGridSessionArtifactsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_test_grid_session_artifacts::ListTestGridSessionArtifacts, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::list_test_grid_session_artifacts::ListTestGridSessionArtifactsError, + >, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::list_test_grid_session_artifacts::paginator::ListTestGridSessionArtifactsPaginator::send) which returns a `Stream`. diff --git a/sdk/devicefarm/src/operation/list_test_grid_sessions/builders.rs b/sdk/devicefarm/src/operation/list_test_grid_sessions/builders.rs index 77efd0eb8d8f..222818d026f8 100644 --- a/sdk/devicefarm/src/operation/list_test_grid_sessions/builders.rs +++ b/sdk/devicefarm/src/operation/list_test_grid_sessions/builders.rs @@ -19,9 +19,9 @@ impl ListTestGridSessionsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl ListTestGridSessionsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_test_grid_sessions::ListTestGridSessions, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::list_test_grid_sessions::ListTestGridSessionsError, + >, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::list_test_grid_sessions::paginator::ListTestGridSessionsPaginator::send) which returns a `Stream`. diff --git a/sdk/devicefarm/src/operation/list_tests/builders.rs b/sdk/devicefarm/src/operation/list_tests/builders.rs index 5f2e7fcad0e4..1db4aad3f2bf 100644 --- a/sdk/devicefarm/src/operation/list_tests/builders.rs +++ b/sdk/devicefarm/src/operation/list_tests/builders.rs @@ -19,9 +19,9 @@ impl ListTestsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl ListTestsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_tests::ListTests, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::list_tests::paginator::ListTestsPaginator::send) which returns a `Stream`. diff --git a/sdk/devicefarm/src/operation/list_unique_problems/builders.rs b/sdk/devicefarm/src/operation/list_unique_problems/builders.rs index 60ccdd86b941..53853d3fcb4d 100644 --- a/sdk/devicefarm/src/operation/list_unique_problems/builders.rs +++ b/sdk/devicefarm/src/operation/list_unique_problems/builders.rs @@ -20,9 +20,9 @@ impl ListUniqueProblemsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -84,6 +84,22 @@ impl ListUniqueProblemsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_unique_problems::ListUniqueProblems, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::list_unique_problems::ListUniqueProblemsError, + >, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::list_unique_problems::paginator::ListUniqueProblemsPaginator::send) which returns a `Stream`. diff --git a/sdk/devicefarm/src/operation/list_uploads/builders.rs b/sdk/devicefarm/src/operation/list_uploads/builders.rs index b3018e48813a..21383b989f86 100644 --- a/sdk/devicefarm/src/operation/list_uploads/builders.rs +++ b/sdk/devicefarm/src/operation/list_uploads/builders.rs @@ -19,9 +19,9 @@ impl ListUploadsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl ListUploadsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_uploads::ListUploads, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::list_uploads::paginator::ListUploadsPaginator::send) which returns a `Stream`. diff --git a/sdk/devicefarm/src/operation/list_vpce_configurations/builders.rs b/sdk/devicefarm/src/operation/list_vpce_configurations/builders.rs index d0e9e29fdd4d..c0ab61003cbe 100644 --- a/sdk/devicefarm/src/operation/list_vpce_configurations/builders.rs +++ b/sdk/devicefarm/src/operation/list_vpce_configurations/builders.rs @@ -19,9 +19,9 @@ impl ListVPCEConfigurationsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl ListVPCEConfigurationsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_vpce_configurations::ListVPCEConfigurations, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::list_vpce_configurations::ListVPCEConfigurationsError, + >, + > { + self.customize_middleware().await + } ///

                                        An integer that specifies the maximum number of items you want to return in the API response.

                                        pub fn max_results(mut self, input: i32) -> Self { self.inner = self.inner.max_results(input); diff --git a/sdk/devicefarm/src/operation/purchase_offering/builders.rs b/sdk/devicefarm/src/operation/purchase_offering/builders.rs index a53bb5261df0..106ca27d0acc 100644 --- a/sdk/devicefarm/src/operation/purchase_offering/builders.rs +++ b/sdk/devicefarm/src/operation/purchase_offering/builders.rs @@ -19,9 +19,9 @@ impl PurchaseOfferingFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl PurchaseOfferingFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::purchase_offering::PurchaseOffering, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::purchase_offering::PurchaseOfferingError, + >, + > { + self.customize_middleware().await + } ///

                                        The ID of the offering.

                                        pub fn offering_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.offering_id(input.into()); diff --git a/sdk/devicefarm/src/operation/renew_offering/builders.rs b/sdk/devicefarm/src/operation/renew_offering/builders.rs index c949fa164e66..6da6312e9a76 100644 --- a/sdk/devicefarm/src/operation/renew_offering/builders.rs +++ b/sdk/devicefarm/src/operation/renew_offering/builders.rs @@ -19,9 +19,9 @@ impl RenewOfferingFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl RenewOfferingFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::renew_offering::RenewOffering, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                        The ID of a request to renew an offering.

                                        pub fn offering_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.offering_id(input.into()); diff --git a/sdk/devicefarm/src/operation/schedule_run/builders.rs b/sdk/devicefarm/src/operation/schedule_run/builders.rs index d7a414b9a0ec..302ebe5d31ac 100644 --- a/sdk/devicefarm/src/operation/schedule_run/builders.rs +++ b/sdk/devicefarm/src/operation/schedule_run/builders.rs @@ -19,9 +19,9 @@ impl ScheduleRunFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl ScheduleRunFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::schedule_run::ScheduleRun, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                        The ARN of the project for the run to be scheduled.

                                        pub fn project_arn(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.project_arn(input.into()); diff --git a/sdk/devicefarm/src/operation/stop_job/builders.rs b/sdk/devicefarm/src/operation/stop_job/builders.rs index c5ec6936ed5a..03709996713f 100644 --- a/sdk/devicefarm/src/operation/stop_job/builders.rs +++ b/sdk/devicefarm/src/operation/stop_job/builders.rs @@ -19,9 +19,9 @@ impl StopJobFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl StopJobFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::stop_job::StopJob, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                        Represents the Amazon Resource Name (ARN) of the Device Farm job to stop.

                                        pub fn arn(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.arn(input.into()); diff --git a/sdk/devicefarm/src/operation/stop_remote_access_session/builders.rs b/sdk/devicefarm/src/operation/stop_remote_access_session/builders.rs index 9739ab6fed8a..cb1f93a47652 100644 --- a/sdk/devicefarm/src/operation/stop_remote_access_session/builders.rs +++ b/sdk/devicefarm/src/operation/stop_remote_access_session/builders.rs @@ -20,9 +20,9 @@ impl StopRemoteAccessSessionFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -84,6 +84,22 @@ impl StopRemoteAccessSessionFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::stop_remote_access_session::StopRemoteAccessSession, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::stop_remote_access_session::StopRemoteAccessSessionError, + >, + > { + self.customize_middleware().await + } ///

                                        The Amazon Resource Name (ARN) of the remote access session to stop.

                                        pub fn arn(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.arn(input.into()); diff --git a/sdk/devicefarm/src/operation/stop_run/builders.rs b/sdk/devicefarm/src/operation/stop_run/builders.rs index 83bb8b2a340b..b025c64b3d91 100644 --- a/sdk/devicefarm/src/operation/stop_run/builders.rs +++ b/sdk/devicefarm/src/operation/stop_run/builders.rs @@ -19,9 +19,9 @@ impl StopRunFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl StopRunFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::stop_run::StopRun, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                        Represents the Amazon Resource Name (ARN) of the Device Farm run to stop.

                                        pub fn arn(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.arn(input.into()); diff --git a/sdk/devicefarm/src/operation/tag_resource/builders.rs b/sdk/devicefarm/src/operation/tag_resource/builders.rs index ef9db69b18e5..9bca960194f9 100644 --- a/sdk/devicefarm/src/operation/tag_resource/builders.rs +++ b/sdk/devicefarm/src/operation/tag_resource/builders.rs @@ -19,9 +19,9 @@ impl TagResourceFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl TagResourceFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::tag_resource::TagResource, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                        The Amazon Resource Name (ARN) of the resource or resources to which to add tags. You can associate tags with the following Device Farm resources: PROJECT, RUN, NETWORK_PROFILE, INSTANCE_PROFILE, DEVICE_INSTANCE, SESSION, DEVICE_POOL, DEVICE, and VPCE_CONFIGURATION.

                                        pub fn resource_arn(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.resource_arn(input.into()); diff --git a/sdk/devicefarm/src/operation/untag_resource/builders.rs b/sdk/devicefarm/src/operation/untag_resource/builders.rs index 502c36293469..e33111738dde 100644 --- a/sdk/devicefarm/src/operation/untag_resource/builders.rs +++ b/sdk/devicefarm/src/operation/untag_resource/builders.rs @@ -19,9 +19,9 @@ impl UntagResourceFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl UntagResourceFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::untag_resource::UntagResource, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                        The Amazon Resource Name (ARN) of the resource or resources from which to delete tags. You can associate tags with the following Device Farm resources: PROJECT, RUN, NETWORK_PROFILE, INSTANCE_PROFILE, DEVICE_INSTANCE, SESSION, DEVICE_POOL, DEVICE, and VPCE_CONFIGURATION.

                                        pub fn resource_arn(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.resource_arn(input.into()); diff --git a/sdk/devicefarm/src/operation/update_device_instance/builders.rs b/sdk/devicefarm/src/operation/update_device_instance/builders.rs index c3d6db254090..ddae1c53eea8 100644 --- a/sdk/devicefarm/src/operation/update_device_instance/builders.rs +++ b/sdk/devicefarm/src/operation/update_device_instance/builders.rs @@ -19,9 +19,9 @@ impl UpdateDeviceInstanceFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl UpdateDeviceInstanceFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::update_device_instance::UpdateDeviceInstance, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::update_device_instance::UpdateDeviceInstanceError, + >, + > { + self.customize_middleware().await + } ///

                                        The Amazon Resource Name (ARN) of the device instance.

                                        pub fn arn(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.arn(input.into()); diff --git a/sdk/devicefarm/src/operation/update_device_pool/builders.rs b/sdk/devicefarm/src/operation/update_device_pool/builders.rs index 8ec61ab04770..45ceef9af568 100644 --- a/sdk/devicefarm/src/operation/update_device_pool/builders.rs +++ b/sdk/devicefarm/src/operation/update_device_pool/builders.rs @@ -19,9 +19,9 @@ impl UpdateDevicePoolFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl UpdateDevicePoolFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::update_device_pool::UpdateDevicePool, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::update_device_pool::UpdateDevicePoolError, + >, + > { + self.customize_middleware().await + } ///

                                        The Amazon Resource Name (ARN) of the Device Farm device pool to update.

                                        pub fn arn(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.arn(input.into()); diff --git a/sdk/devicefarm/src/operation/update_instance_profile/builders.rs b/sdk/devicefarm/src/operation/update_instance_profile/builders.rs index 021b20946cac..fb3cea3db2bf 100644 --- a/sdk/devicefarm/src/operation/update_instance_profile/builders.rs +++ b/sdk/devicefarm/src/operation/update_instance_profile/builders.rs @@ -19,9 +19,9 @@ impl UpdateInstanceProfileFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl UpdateInstanceProfileFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::update_instance_profile::UpdateInstanceProfile, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::update_instance_profile::UpdateInstanceProfileError, + >, + > { + self.customize_middleware().await + } ///

                                        The Amazon Resource Name (ARN) of the instance profile.

                                        pub fn arn(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.arn(input.into()); diff --git a/sdk/devicefarm/src/operation/update_network_profile/builders.rs b/sdk/devicefarm/src/operation/update_network_profile/builders.rs index c2717543961c..4d9602b6b34a 100644 --- a/sdk/devicefarm/src/operation/update_network_profile/builders.rs +++ b/sdk/devicefarm/src/operation/update_network_profile/builders.rs @@ -19,9 +19,9 @@ impl UpdateNetworkProfileFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl UpdateNetworkProfileFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::update_network_profile::UpdateNetworkProfile, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::update_network_profile::UpdateNetworkProfileError, + >, + > { + self.customize_middleware().await + } ///

                                        The Amazon Resource Name (ARN) of the project for which you want to update network profile settings.

                                        pub fn arn(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.arn(input.into()); diff --git a/sdk/devicefarm/src/operation/update_project/builders.rs b/sdk/devicefarm/src/operation/update_project/builders.rs index bbfff99552ae..f2bea8670dc8 100644 --- a/sdk/devicefarm/src/operation/update_project/builders.rs +++ b/sdk/devicefarm/src/operation/update_project/builders.rs @@ -19,9 +19,9 @@ impl UpdateProjectFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl UpdateProjectFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::update_project::UpdateProject, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                        The Amazon Resource Name (ARN) of the project whose name to update.

                                        pub fn arn(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.arn(input.into()); diff --git a/sdk/devicefarm/src/operation/update_test_grid_project/builders.rs b/sdk/devicefarm/src/operation/update_test_grid_project/builders.rs index 606a365b077d..2e6cb145746f 100644 --- a/sdk/devicefarm/src/operation/update_test_grid_project/builders.rs +++ b/sdk/devicefarm/src/operation/update_test_grid_project/builders.rs @@ -19,9 +19,9 @@ impl UpdateTestGridProjectFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl UpdateTestGridProjectFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::update_test_grid_project::UpdateTestGridProject, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::update_test_grid_project::UpdateTestGridProjectError, + >, + > { + self.customize_middleware().await + } ///

                                        ARN of the project to update.

                                        pub fn project_arn(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.project_arn(input.into()); diff --git a/sdk/devicefarm/src/operation/update_upload/builders.rs b/sdk/devicefarm/src/operation/update_upload/builders.rs index 0e9813e88c5a..c9c3aa6024d9 100644 --- a/sdk/devicefarm/src/operation/update_upload/builders.rs +++ b/sdk/devicefarm/src/operation/update_upload/builders.rs @@ -19,9 +19,9 @@ impl UpdateUploadFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl UpdateUploadFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::update_upload::UpdateUpload, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                        The Amazon Resource Name (ARN) of the uploaded test spec.

                                        pub fn arn(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.arn(input.into()); diff --git a/sdk/devicefarm/src/operation/update_vpce_configuration/builders.rs b/sdk/devicefarm/src/operation/update_vpce_configuration/builders.rs index 956bd6457ff2..5689c8ce7551 100644 --- a/sdk/devicefarm/src/operation/update_vpce_configuration/builders.rs +++ b/sdk/devicefarm/src/operation/update_vpce_configuration/builders.rs @@ -20,9 +20,9 @@ impl UpdateVPCEConfigurationFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -84,6 +84,22 @@ impl UpdateVPCEConfigurationFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::update_vpce_configuration::UpdateVPCEConfiguration, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::update_vpce_configuration::UpdateVPCEConfigurationError, + >, + > { + self.customize_middleware().await + } ///

                                        The Amazon Resource Name (ARN) of the VPC endpoint configuration you want to update.

                                        pub fn arn(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.arn(input.into()); diff --git a/sdk/devopsguru/src/operation/add_notification_channel/builders.rs b/sdk/devopsguru/src/operation/add_notification_channel/builders.rs index f5f70c03bf25..aaa81a4cc3a2 100644 --- a/sdk/devopsguru/src/operation/add_notification_channel/builders.rs +++ b/sdk/devopsguru/src/operation/add_notification_channel/builders.rs @@ -22,9 +22,9 @@ impl AddNotificationChannelFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -86,6 +86,22 @@ impl AddNotificationChannelFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::add_notification_channel::AddNotificationChannel, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::add_notification_channel::AddNotificationChannelError, + >, + > { + self.customize_middleware().await + } ///

                                        A NotificationChannelConfig object that specifies what type of notification channel to add. The one supported notification channel is Amazon Simple Notification Service (Amazon SNS).

                                        pub fn config(mut self, input: crate::types::NotificationChannelConfig) -> Self { self.inner = self.inner.config(input); diff --git a/sdk/devopsguru/src/operation/delete_insight/builders.rs b/sdk/devopsguru/src/operation/delete_insight/builders.rs index 378e1be1033a..d6179aa6031e 100644 --- a/sdk/devopsguru/src/operation/delete_insight/builders.rs +++ b/sdk/devopsguru/src/operation/delete_insight/builders.rs @@ -19,9 +19,9 @@ impl DeleteInsightFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl DeleteInsightFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::delete_insight::DeleteInsight, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                        The ID of the insight.

                                        pub fn id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.id(input.into()); diff --git a/sdk/devopsguru/src/operation/describe_account_health/builders.rs b/sdk/devopsguru/src/operation/describe_account_health/builders.rs index a56691c11630..20999e5dfe8a 100644 --- a/sdk/devopsguru/src/operation/describe_account_health/builders.rs +++ b/sdk/devopsguru/src/operation/describe_account_health/builders.rs @@ -19,9 +19,9 @@ impl DescribeAccountHealthFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,4 +83,20 @@ impl DescribeAccountHealthFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::describe_account_health::DescribeAccountHealth, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::describe_account_health::DescribeAccountHealthError, + >, + > { + self.customize_middleware().await + } } diff --git a/sdk/devopsguru/src/operation/describe_account_overview/builders.rs b/sdk/devopsguru/src/operation/describe_account_overview/builders.rs index b34f2d3f8b41..944540900d54 100644 --- a/sdk/devopsguru/src/operation/describe_account_overview/builders.rs +++ b/sdk/devopsguru/src/operation/describe_account_overview/builders.rs @@ -20,9 +20,9 @@ impl DescribeAccountOverviewFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -84,6 +84,22 @@ impl DescribeAccountOverviewFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::describe_account_overview::DescribeAccountOverview, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::describe_account_overview::DescribeAccountOverviewError, + >, + > { + self.customize_middleware().await + } ///

                                        The start of the time range passed in. The start time granularity is at the day level. The floor of the start time is used. Returned information occurred after this day.

                                        pub fn from_time(mut self, input: ::aws_smithy_types::DateTime) -> Self { self.inner = self.inner.from_time(input); diff --git a/sdk/devopsguru/src/operation/describe_anomaly/builders.rs b/sdk/devopsguru/src/operation/describe_anomaly/builders.rs index 7bf75e10df3c..f28af7da0dad 100644 --- a/sdk/devopsguru/src/operation/describe_anomaly/builders.rs +++ b/sdk/devopsguru/src/operation/describe_anomaly/builders.rs @@ -19,9 +19,9 @@ impl DescribeAnomalyFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl DescribeAnomalyFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::describe_anomaly::DescribeAnomaly, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::describe_anomaly::DescribeAnomalyError, + >, + > { + self.customize_middleware().await + } ///

                                        The ID of the anomaly.

                                        pub fn id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.id(input.into()); diff --git a/sdk/devopsguru/src/operation/describe_event_sources_config/builders.rs b/sdk/devopsguru/src/operation/describe_event_sources_config/builders.rs index 420ebb30e5ad..9991c47d6b35 100644 --- a/sdk/devopsguru/src/operation/describe_event_sources_config/builders.rs +++ b/sdk/devopsguru/src/operation/describe_event_sources_config/builders.rs @@ -19,9 +19,9 @@ impl DescribeEventSourcesConfigFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,4 +83,20 @@ impl DescribeEventSourcesConfigFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::describe_event_sources_config::DescribeEventSourcesConfig, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::describe_event_sources_config::DescribeEventSourcesConfigError, + >, + > { + self.customize_middleware().await + } } diff --git a/sdk/devopsguru/src/operation/describe_feedback/builders.rs b/sdk/devopsguru/src/operation/describe_feedback/builders.rs index ed24d2fb690f..d266c8016e3a 100644 --- a/sdk/devopsguru/src/operation/describe_feedback/builders.rs +++ b/sdk/devopsguru/src/operation/describe_feedback/builders.rs @@ -19,9 +19,9 @@ impl DescribeFeedbackFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl DescribeFeedbackFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::describe_feedback::DescribeFeedback, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::describe_feedback::DescribeFeedbackError, + >, + > { + self.customize_middleware().await + } ///

                                        The ID of the insight for which the feedback was provided.

                                        pub fn insight_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.insight_id(input.into()); diff --git a/sdk/devopsguru/src/operation/describe_insight/builders.rs b/sdk/devopsguru/src/operation/describe_insight/builders.rs index cba0859df771..c17785f7c8d7 100644 --- a/sdk/devopsguru/src/operation/describe_insight/builders.rs +++ b/sdk/devopsguru/src/operation/describe_insight/builders.rs @@ -19,9 +19,9 @@ impl DescribeInsightFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl DescribeInsightFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::describe_insight::DescribeInsight, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::describe_insight::DescribeInsightError, + >, + > { + self.customize_middleware().await + } ///

                                        The ID of the insight.

                                        pub fn id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.id(input.into()); diff --git a/sdk/devopsguru/src/operation/describe_organization_health/builders.rs b/sdk/devopsguru/src/operation/describe_organization_health/builders.rs index b06916f3e4bf..b69d72c889a4 100644 --- a/sdk/devopsguru/src/operation/describe_organization_health/builders.rs +++ b/sdk/devopsguru/src/operation/describe_organization_health/builders.rs @@ -19,9 +19,9 @@ impl DescribeOrganizationHealthFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl DescribeOrganizationHealthFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::describe_organization_health::DescribeOrganizationHealth, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::describe_organization_health::DescribeOrganizationHealthError, + >, + > { + self.customize_middleware().await + } /// Appends an item to `AccountIds`. /// /// To override the contents of this collection use [`set_account_ids`](Self::set_account_ids). diff --git a/sdk/devopsguru/src/operation/describe_organization_overview/builders.rs b/sdk/devopsguru/src/operation/describe_organization_overview/builders.rs index 327d4fc69efd..b60b7687e130 100644 --- a/sdk/devopsguru/src/operation/describe_organization_overview/builders.rs +++ b/sdk/devopsguru/src/operation/describe_organization_overview/builders.rs @@ -19,9 +19,9 @@ impl DescribeOrganizationOverviewFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl DescribeOrganizationOverviewFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::describe_organization_overview::DescribeOrganizationOverview, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::describe_organization_overview::DescribeOrganizationOverviewError, + >, + > { + self.customize_middleware().await + } ///

                                        The start of the time range passed in. The start time granularity is at the day level. The floor of the start time is used. Returned information occurred after this day.

                                        pub fn from_time(mut self, input: ::aws_smithy_types::DateTime) -> Self { self.inner = self.inner.from_time(input); diff --git a/sdk/devopsguru/src/operation/describe_organization_resource_collection_health/builders.rs b/sdk/devopsguru/src/operation/describe_organization_resource_collection_health/builders.rs index 89405aabf129..d13d5c749174 100644 --- a/sdk/devopsguru/src/operation/describe_organization_resource_collection_health/builders.rs +++ b/sdk/devopsguru/src/operation/describe_organization_resource_collection_health/builders.rs @@ -19,9 +19,9 @@ impl DescribeOrganizationResourceCollectionHealthFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize(self) -> ::std::result::Result< + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware(self) -> ::std::result::Result< crate::client::customize::CustomizableOperation, ::aws_smithy_http::result::SdkError >{ @@ -64,6 +64,15 @@ impl DescribeOrganizationResourceCollectionHealthFluentBuilder { { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize(self) -> ::std::result::Result< + crate::client::customize::CustomizableOperation, + ::aws_smithy_http::result::SdkError + >{ + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::describe_organization_resource_collection_health::paginator::DescribeOrganizationResourceCollectionHealthPaginator::send) which returns a `Stream`. diff --git a/sdk/devopsguru/src/operation/describe_resource_collection_health/builders.rs b/sdk/devopsguru/src/operation/describe_resource_collection_health/builders.rs index 337a7415a432..d127aa54010e 100644 --- a/sdk/devopsguru/src/operation/describe_resource_collection_health/builders.rs +++ b/sdk/devopsguru/src/operation/describe_resource_collection_health/builders.rs @@ -19,9 +19,9 @@ impl DescribeResourceCollectionHealthFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize(self) -> ::std::result::Result< + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware(self) -> ::std::result::Result< crate::client::customize::CustomizableOperation, ::aws_smithy_http::result::SdkError >{ @@ -64,6 +64,15 @@ impl DescribeResourceCollectionHealthFluentBuilder { { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize(self) -> ::std::result::Result< + crate::client::customize::CustomizableOperation, + ::aws_smithy_http::result::SdkError + >{ + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::describe_resource_collection_health::paginator::DescribeResourceCollectionHealthPaginator::send) which returns a `Stream`. diff --git a/sdk/devopsguru/src/operation/describe_service_integration/builders.rs b/sdk/devopsguru/src/operation/describe_service_integration/builders.rs index a721bbc6ad0b..95e301b4e966 100644 --- a/sdk/devopsguru/src/operation/describe_service_integration/builders.rs +++ b/sdk/devopsguru/src/operation/describe_service_integration/builders.rs @@ -19,9 +19,9 @@ impl DescribeServiceIntegrationFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,4 +83,20 @@ impl DescribeServiceIntegrationFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::describe_service_integration::DescribeServiceIntegration, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::describe_service_integration::DescribeServiceIntegrationError, + >, + > { + self.customize_middleware().await + } } diff --git a/sdk/devopsguru/src/operation/get_cost_estimation/builders.rs b/sdk/devopsguru/src/operation/get_cost_estimation/builders.rs index 47e86222c474..c6627c0bbb16 100644 --- a/sdk/devopsguru/src/operation/get_cost_estimation/builders.rs +++ b/sdk/devopsguru/src/operation/get_cost_estimation/builders.rs @@ -19,9 +19,9 @@ impl GetCostEstimationFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl GetCostEstimationFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::get_cost_estimation::GetCostEstimation, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::get_cost_estimation::GetCostEstimationError, + >, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::get_cost_estimation::paginator::GetCostEstimationPaginator::send) which returns a `Stream`. diff --git a/sdk/devopsguru/src/operation/get_resource_collection/builders.rs b/sdk/devopsguru/src/operation/get_resource_collection/builders.rs index 458243ed02d9..7c19b64e820f 100644 --- a/sdk/devopsguru/src/operation/get_resource_collection/builders.rs +++ b/sdk/devopsguru/src/operation/get_resource_collection/builders.rs @@ -19,9 +19,9 @@ impl GetResourceCollectionFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl GetResourceCollectionFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::get_resource_collection::GetResourceCollection, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::get_resource_collection::GetResourceCollectionError, + >, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::get_resource_collection::paginator::GetResourceCollectionPaginator::send) which returns a `Stream`. diff --git a/sdk/devopsguru/src/operation/list_anomalies_for_insight/builders.rs b/sdk/devopsguru/src/operation/list_anomalies_for_insight/builders.rs index 8e1d15579aaa..d845df8989d5 100644 --- a/sdk/devopsguru/src/operation/list_anomalies_for_insight/builders.rs +++ b/sdk/devopsguru/src/operation/list_anomalies_for_insight/builders.rs @@ -20,9 +20,9 @@ impl ListAnomaliesForInsightFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -84,6 +84,22 @@ impl ListAnomaliesForInsightFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_anomalies_for_insight::ListAnomaliesForInsight, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::list_anomalies_for_insight::ListAnomaliesForInsightError, + >, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::list_anomalies_for_insight::paginator::ListAnomaliesForInsightPaginator::send) which returns a `Stream`. diff --git a/sdk/devopsguru/src/operation/list_anomalous_log_groups/builders.rs b/sdk/devopsguru/src/operation/list_anomalous_log_groups/builders.rs index d4da057b8c79..5cd1d2f5f5b9 100644 --- a/sdk/devopsguru/src/operation/list_anomalous_log_groups/builders.rs +++ b/sdk/devopsguru/src/operation/list_anomalous_log_groups/builders.rs @@ -20,9 +20,9 @@ impl ListAnomalousLogGroupsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -84,6 +84,22 @@ impl ListAnomalousLogGroupsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_anomalous_log_groups::ListAnomalousLogGroups, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::list_anomalous_log_groups::ListAnomalousLogGroupsError, + >, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::list_anomalous_log_groups::paginator::ListAnomalousLogGroupsPaginator::send) which returns a `Stream`. diff --git a/sdk/devopsguru/src/operation/list_events/builders.rs b/sdk/devopsguru/src/operation/list_events/builders.rs index 949a6eb5eb69..77f4006ae1b4 100644 --- a/sdk/devopsguru/src/operation/list_events/builders.rs +++ b/sdk/devopsguru/src/operation/list_events/builders.rs @@ -19,9 +19,9 @@ impl ListEventsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl ListEventsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_events::ListEvents, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::list_events::paginator::ListEventsPaginator::send) which returns a `Stream`. diff --git a/sdk/devopsguru/src/operation/list_insights/builders.rs b/sdk/devopsguru/src/operation/list_insights/builders.rs index 85094deb46fd..e88bba4eaed3 100644 --- a/sdk/devopsguru/src/operation/list_insights/builders.rs +++ b/sdk/devopsguru/src/operation/list_insights/builders.rs @@ -19,9 +19,9 @@ impl ListInsightsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl ListInsightsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_insights::ListInsights, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::list_insights::paginator::ListInsightsPaginator::send) which returns a `Stream`. diff --git a/sdk/devopsguru/src/operation/list_monitored_resources/builders.rs b/sdk/devopsguru/src/operation/list_monitored_resources/builders.rs index fa5ba182f603..bdace4f08cdb 100644 --- a/sdk/devopsguru/src/operation/list_monitored_resources/builders.rs +++ b/sdk/devopsguru/src/operation/list_monitored_resources/builders.rs @@ -19,9 +19,9 @@ impl ListMonitoredResourcesFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl ListMonitoredResourcesFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_monitored_resources::ListMonitoredResources, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::list_monitored_resources::ListMonitoredResourcesError, + >, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::list_monitored_resources::paginator::ListMonitoredResourcesPaginator::send) which returns a `Stream`. diff --git a/sdk/devopsguru/src/operation/list_notification_channels/builders.rs b/sdk/devopsguru/src/operation/list_notification_channels/builders.rs index 12d0408d48af..97800c902d26 100644 --- a/sdk/devopsguru/src/operation/list_notification_channels/builders.rs +++ b/sdk/devopsguru/src/operation/list_notification_channels/builders.rs @@ -19,9 +19,9 @@ impl ListNotificationChannelsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl ListNotificationChannelsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_notification_channels::ListNotificationChannels, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::list_notification_channels::ListNotificationChannelsError, + >, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::list_notification_channels::paginator::ListNotificationChannelsPaginator::send) which returns a `Stream`. diff --git a/sdk/devopsguru/src/operation/list_organization_insights/builders.rs b/sdk/devopsguru/src/operation/list_organization_insights/builders.rs index d048bf0a9c86..9704109192dc 100644 --- a/sdk/devopsguru/src/operation/list_organization_insights/builders.rs +++ b/sdk/devopsguru/src/operation/list_organization_insights/builders.rs @@ -19,9 +19,9 @@ impl ListOrganizationInsightsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl ListOrganizationInsightsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_organization_insights::ListOrganizationInsights, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::list_organization_insights::ListOrganizationInsightsError, + >, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::list_organization_insights::paginator::ListOrganizationInsightsPaginator::send) which returns a `Stream`. diff --git a/sdk/devopsguru/src/operation/list_recommendations/builders.rs b/sdk/devopsguru/src/operation/list_recommendations/builders.rs index 840fa86b52da..d7432a0134e4 100644 --- a/sdk/devopsguru/src/operation/list_recommendations/builders.rs +++ b/sdk/devopsguru/src/operation/list_recommendations/builders.rs @@ -19,9 +19,9 @@ impl ListRecommendationsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl ListRecommendationsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_recommendations::ListRecommendations, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::list_recommendations::ListRecommendationsError, + >, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::list_recommendations::paginator::ListRecommendationsPaginator::send) which returns a `Stream`. diff --git a/sdk/devopsguru/src/operation/put_feedback/builders.rs b/sdk/devopsguru/src/operation/put_feedback/builders.rs index 903ec9c13489..ea75bb7d3352 100644 --- a/sdk/devopsguru/src/operation/put_feedback/builders.rs +++ b/sdk/devopsguru/src/operation/put_feedback/builders.rs @@ -19,9 +19,9 @@ impl PutFeedbackFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl PutFeedbackFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::put_feedback::PutFeedback, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                        The feedback from customers is about the recommendations in this insight.

                                        pub fn insight_feedback(mut self, input: crate::types::InsightFeedback) -> Self { self.inner = self.inner.insight_feedback(input); diff --git a/sdk/devopsguru/src/operation/remove_notification_channel/builders.rs b/sdk/devopsguru/src/operation/remove_notification_channel/builders.rs index 80d52a1557ea..f52a8a595231 100644 --- a/sdk/devopsguru/src/operation/remove_notification_channel/builders.rs +++ b/sdk/devopsguru/src/operation/remove_notification_channel/builders.rs @@ -19,9 +19,9 @@ impl RemoveNotificationChannelFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl RemoveNotificationChannelFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::remove_notification_channel::RemoveNotificationChannel, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::remove_notification_channel::RemoveNotificationChannelError, + >, + > { + self.customize_middleware().await + } ///

                                        The ID of the notification channel to be removed.

                                        pub fn id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.id(input.into()); diff --git a/sdk/devopsguru/src/operation/search_insights/builders.rs b/sdk/devopsguru/src/operation/search_insights/builders.rs index aa095779c8a7..dd4f312ea78c 100644 --- a/sdk/devopsguru/src/operation/search_insights/builders.rs +++ b/sdk/devopsguru/src/operation/search_insights/builders.rs @@ -20,9 +20,9 @@ impl SearchInsightsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -78,6 +78,20 @@ impl SearchInsightsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::search_insights::SearchInsights, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::search_insights::paginator::SearchInsightsPaginator::send) which returns a `Stream`. diff --git a/sdk/devopsguru/src/operation/search_organization_insights/builders.rs b/sdk/devopsguru/src/operation/search_organization_insights/builders.rs index 8a823e2cb46a..660b3d588e99 100644 --- a/sdk/devopsguru/src/operation/search_organization_insights/builders.rs +++ b/sdk/devopsguru/src/operation/search_organization_insights/builders.rs @@ -20,9 +20,9 @@ impl SearchOrganizationInsightsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -84,6 +84,22 @@ impl SearchOrganizationInsightsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::search_organization_insights::SearchOrganizationInsights, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::search_organization_insights::SearchOrganizationInsightsError, + >, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::search_organization_insights::paginator::SearchOrganizationInsightsPaginator::send) which returns a `Stream`. diff --git a/sdk/devopsguru/src/operation/start_cost_estimation/builders.rs b/sdk/devopsguru/src/operation/start_cost_estimation/builders.rs index 2f45152c5341..2f4b5ef25f46 100644 --- a/sdk/devopsguru/src/operation/start_cost_estimation/builders.rs +++ b/sdk/devopsguru/src/operation/start_cost_estimation/builders.rs @@ -19,9 +19,9 @@ impl StartCostEstimationFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl StartCostEstimationFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::start_cost_estimation::StartCostEstimation, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::start_cost_estimation::StartCostEstimationError, + >, + > { + self.customize_middleware().await + } ///

                                        The collection of Amazon Web Services resources used to create a monthly DevOps Guru cost estimate.

                                        pub fn resource_collection( mut self, diff --git a/sdk/devopsguru/src/operation/update_event_sources_config/builders.rs b/sdk/devopsguru/src/operation/update_event_sources_config/builders.rs index 722e6904c5b4..378252423ed5 100644 --- a/sdk/devopsguru/src/operation/update_event_sources_config/builders.rs +++ b/sdk/devopsguru/src/operation/update_event_sources_config/builders.rs @@ -19,9 +19,9 @@ impl UpdateEventSourcesConfigFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl UpdateEventSourcesConfigFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::update_event_sources_config::UpdateEventSourcesConfig, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::update_event_sources_config::UpdateEventSourcesConfigError, + >, + > { + self.customize_middleware().await + } ///

                                        Configuration information about the integration of DevOps Guru as the Consumer via EventBridge with another AWS Service.

                                        pub fn event_sources(mut self, input: crate::types::EventSourcesConfig) -> Self { self.inner = self.inner.event_sources(input); diff --git a/sdk/devopsguru/src/operation/update_resource_collection/builders.rs b/sdk/devopsguru/src/operation/update_resource_collection/builders.rs index 5317f4229060..debe39fb71a2 100644 --- a/sdk/devopsguru/src/operation/update_resource_collection/builders.rs +++ b/sdk/devopsguru/src/operation/update_resource_collection/builders.rs @@ -19,9 +19,9 @@ impl UpdateResourceCollectionFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl UpdateResourceCollectionFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::update_resource_collection::UpdateResourceCollection, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::update_resource_collection::UpdateResourceCollectionError, + >, + > { + self.customize_middleware().await + } ///

                                        Specifies if the resource collection in the request is added or deleted to the resource collection.

                                        pub fn action(mut self, input: crate::types::UpdateResourceCollectionAction) -> Self { self.inner = self.inner.action(input); diff --git a/sdk/devopsguru/src/operation/update_service_integration/builders.rs b/sdk/devopsguru/src/operation/update_service_integration/builders.rs index c310365b31a8..68ffbcad0832 100644 --- a/sdk/devopsguru/src/operation/update_service_integration/builders.rs +++ b/sdk/devopsguru/src/operation/update_service_integration/builders.rs @@ -19,9 +19,9 @@ impl UpdateServiceIntegrationFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl UpdateServiceIntegrationFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::update_service_integration::UpdateServiceIntegration, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::update_service_integration::UpdateServiceIntegrationError, + >, + > { + self.customize_middleware().await + } ///

                                        An IntegratedServiceConfig object used to specify the integrated service you want to update, and whether you want to update it to enabled or disabled.

                                        pub fn service_integration( mut self, diff --git a/sdk/directconnect/src/operation/accept_direct_connect_gateway_association_proposal/builders.rs b/sdk/directconnect/src/operation/accept_direct_connect_gateway_association_proposal/builders.rs index 402704dac040..a424c71084c8 100644 --- a/sdk/directconnect/src/operation/accept_direct_connect_gateway_association_proposal/builders.rs +++ b/sdk/directconnect/src/operation/accept_direct_connect_gateway_association_proposal/builders.rs @@ -19,9 +19,9 @@ impl AcceptDirectConnectGatewayAssociationProposalFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize(self) -> ::std::result::Result< + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware(self) -> ::std::result::Result< crate::client::customize::CustomizableOperation, ::aws_smithy_http::result::SdkError >{ @@ -64,6 +64,15 @@ impl AcceptDirectConnectGatewayAssociationProposalFluentBuilder { { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize(self) -> ::std::result::Result< + crate::client::customize::CustomizableOperation, + ::aws_smithy_http::result::SdkError + >{ + self.customize_middleware().await + } ///

                                        The ID of the Direct Connect gateway.

                                        pub fn direct_connect_gateway_id( mut self, diff --git a/sdk/directconnect/src/operation/allocate_connection_on_interconnect/builders.rs b/sdk/directconnect/src/operation/allocate_connection_on_interconnect/builders.rs index 68821c0ed20a..a10d587bf0a8 100644 --- a/sdk/directconnect/src/operation/allocate_connection_on_interconnect/builders.rs +++ b/sdk/directconnect/src/operation/allocate_connection_on_interconnect/builders.rs @@ -24,9 +24,9 @@ impl AllocateConnectionOnInterconnectFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize(self) -> ::std::result::Result< + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware(self) -> ::std::result::Result< crate::client::customize::CustomizableOperation, ::aws_smithy_http::result::SdkError >{ @@ -69,6 +69,15 @@ impl AllocateConnectionOnInterconnectFluentBuilder { { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize(self) -> ::std::result::Result< + crate::client::customize::CustomizableOperation, + ::aws_smithy_http::result::SdkError + >{ + self.customize_middleware().await + } ///

                                        The bandwidth of the connection. The possible values are 50Mbps, 100Mbps, 200Mbps, 300Mbps, 400Mbps, 500Mbps, 1Gbps, 2Gbps, 5Gbps, and 10Gbps. Note that only those Direct Connect Partners who have met specific requirements are allowed to create a 1Gbps, 2Gbps, 5Gbps or 10Gbps hosted connection.

                                        pub fn bandwidth(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.bandwidth(input.into()); diff --git a/sdk/directconnect/src/operation/allocate_hosted_connection/builders.rs b/sdk/directconnect/src/operation/allocate_hosted_connection/builders.rs index 66413e47b306..80f901c90405 100644 --- a/sdk/directconnect/src/operation/allocate_hosted_connection/builders.rs +++ b/sdk/directconnect/src/operation/allocate_hosted_connection/builders.rs @@ -22,9 +22,9 @@ impl AllocateHostedConnectionFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -86,6 +86,22 @@ impl AllocateHostedConnectionFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::allocate_hosted_connection::AllocateHostedConnection, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::allocate_hosted_connection::AllocateHostedConnectionError, + >, + > { + self.customize_middleware().await + } ///

                                        The ID of the interconnect or LAG.

                                        pub fn connection_id( mut self, diff --git a/sdk/directconnect/src/operation/allocate_private_virtual_interface/builders.rs b/sdk/directconnect/src/operation/allocate_private_virtual_interface/builders.rs index 471c190c6754..8bad3a600c82 100644 --- a/sdk/directconnect/src/operation/allocate_private_virtual_interface/builders.rs +++ b/sdk/directconnect/src/operation/allocate_private_virtual_interface/builders.rs @@ -20,9 +20,9 @@ impl AllocatePrivateVirtualInterfaceFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize(self) -> ::std::result::Result< + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware(self) -> ::std::result::Result< crate::client::customize::CustomizableOperation, ::aws_smithy_http::result::SdkError >{ @@ -65,6 +65,15 @@ impl AllocatePrivateVirtualInterfaceFluentBuilder { { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize(self) -> ::std::result::Result< + crate::client::customize::CustomizableOperation, + ::aws_smithy_http::result::SdkError + >{ + self.customize_middleware().await + } ///

                                        The ID of the connection on which the private virtual interface is provisioned.

                                        pub fn connection_id( mut self, diff --git a/sdk/directconnect/src/operation/allocate_public_virtual_interface/builders.rs b/sdk/directconnect/src/operation/allocate_public_virtual_interface/builders.rs index 4d35b5a92d65..23178019e091 100644 --- a/sdk/directconnect/src/operation/allocate_public_virtual_interface/builders.rs +++ b/sdk/directconnect/src/operation/allocate_public_virtual_interface/builders.rs @@ -22,9 +22,9 @@ impl AllocatePublicVirtualInterfaceFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize(self) -> ::std::result::Result< + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware(self) -> ::std::result::Result< crate::client::customize::CustomizableOperation, ::aws_smithy_http::result::SdkError >{ @@ -67,6 +67,15 @@ impl AllocatePublicVirtualInterfaceFluentBuilder { { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize(self) -> ::std::result::Result< + crate::client::customize::CustomizableOperation, + ::aws_smithy_http::result::SdkError + >{ + self.customize_middleware().await + } ///

                                        The ID of the connection on which the public virtual interface is provisioned.

                                        pub fn connection_id( mut self, diff --git a/sdk/directconnect/src/operation/allocate_transit_virtual_interface/builders.rs b/sdk/directconnect/src/operation/allocate_transit_virtual_interface/builders.rs index 5398c741a394..0c057a77dfec 100644 --- a/sdk/directconnect/src/operation/allocate_transit_virtual_interface/builders.rs +++ b/sdk/directconnect/src/operation/allocate_transit_virtual_interface/builders.rs @@ -21,9 +21,9 @@ impl AllocateTransitVirtualInterfaceFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize(self) -> ::std::result::Result< + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware(self) -> ::std::result::Result< crate::client::customize::CustomizableOperation, ::aws_smithy_http::result::SdkError >{ @@ -66,6 +66,15 @@ impl AllocateTransitVirtualInterfaceFluentBuilder { { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize(self) -> ::std::result::Result< + crate::client::customize::CustomizableOperation, + ::aws_smithy_http::result::SdkError + >{ + self.customize_middleware().await + } ///

                                        The ID of the connection on which the transit virtual interface is provisioned.

                                        pub fn connection_id( mut self, diff --git a/sdk/directconnect/src/operation/associate_connection_with_lag/builders.rs b/sdk/directconnect/src/operation/associate_connection_with_lag/builders.rs index 62e47c372299..2d87481a7eb2 100644 --- a/sdk/directconnect/src/operation/associate_connection_with_lag/builders.rs +++ b/sdk/directconnect/src/operation/associate_connection_with_lag/builders.rs @@ -21,9 +21,9 @@ impl AssociateConnectionWithLagFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -85,6 +85,22 @@ impl AssociateConnectionWithLagFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::associate_connection_with_lag::AssociateConnectionWithLag, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::associate_connection_with_lag::AssociateConnectionWithLagError, + >, + > { + self.customize_middleware().await + } ///

                                        The ID of the connection.

                                        pub fn connection_id( mut self, diff --git a/sdk/directconnect/src/operation/associate_hosted_connection/builders.rs b/sdk/directconnect/src/operation/associate_hosted_connection/builders.rs index 86f585bd864e..1660e57aa17b 100644 --- a/sdk/directconnect/src/operation/associate_hosted_connection/builders.rs +++ b/sdk/directconnect/src/operation/associate_hosted_connection/builders.rs @@ -21,9 +21,9 @@ impl AssociateHostedConnectionFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -85,6 +85,22 @@ impl AssociateHostedConnectionFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::associate_hosted_connection::AssociateHostedConnection, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::associate_hosted_connection::AssociateHostedConnectionError, + >, + > { + self.customize_middleware().await + } ///

                                        The ID of the hosted connection.

                                        pub fn connection_id( mut self, diff --git a/sdk/directconnect/src/operation/associate_mac_sec_key/builders.rs b/sdk/directconnect/src/operation/associate_mac_sec_key/builders.rs index d30f63d40390..5a1e94794038 100644 --- a/sdk/directconnect/src/operation/associate_mac_sec_key/builders.rs +++ b/sdk/directconnect/src/operation/associate_mac_sec_key/builders.rs @@ -21,9 +21,9 @@ impl AssociateMacSecKeyFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -85,6 +85,22 @@ impl AssociateMacSecKeyFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::associate_mac_sec_key::AssociateMacSecKey, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::associate_mac_sec_key::AssociateMacSecKeyError, + >, + > { + self.customize_middleware().await + } ///

                                        The ID of the dedicated connection (dxcon-xxxx), or the ID of the LAG (dxlag-xxxx).

                                        ///

                                        You can use DescribeConnections or DescribeLags to retrieve connection ID.

                                        pub fn connection_id( diff --git a/sdk/directconnect/src/operation/associate_virtual_interface/builders.rs b/sdk/directconnect/src/operation/associate_virtual_interface/builders.rs index a31d6d8324d7..0a5c6ea8e52b 100644 --- a/sdk/directconnect/src/operation/associate_virtual_interface/builders.rs +++ b/sdk/directconnect/src/operation/associate_virtual_interface/builders.rs @@ -21,9 +21,9 @@ impl AssociateVirtualInterfaceFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -85,6 +85,22 @@ impl AssociateVirtualInterfaceFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::associate_virtual_interface::AssociateVirtualInterface, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::associate_virtual_interface::AssociateVirtualInterfaceError, + >, + > { + self.customize_middleware().await + } ///

                                        The ID of the virtual interface.

                                        pub fn virtual_interface_id( mut self, diff --git a/sdk/directconnect/src/operation/confirm_connection/builders.rs b/sdk/directconnect/src/operation/confirm_connection/builders.rs index e3db6015b173..475223e55642 100644 --- a/sdk/directconnect/src/operation/confirm_connection/builders.rs +++ b/sdk/directconnect/src/operation/confirm_connection/builders.rs @@ -20,9 +20,9 @@ impl ConfirmConnectionFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -84,6 +84,22 @@ impl ConfirmConnectionFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::confirm_connection::ConfirmConnection, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::confirm_connection::ConfirmConnectionError, + >, + > { + self.customize_middleware().await + } ///

                                        The ID of the hosted connection.

                                        pub fn connection_id( mut self, diff --git a/sdk/directconnect/src/operation/confirm_customer_agreement/builders.rs b/sdk/directconnect/src/operation/confirm_customer_agreement/builders.rs index 495f67c90585..f82ede117115 100644 --- a/sdk/directconnect/src/operation/confirm_customer_agreement/builders.rs +++ b/sdk/directconnect/src/operation/confirm_customer_agreement/builders.rs @@ -19,9 +19,9 @@ impl ConfirmCustomerAgreementFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl ConfirmCustomerAgreementFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::confirm_customer_agreement::ConfirmCustomerAgreement, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::confirm_customer_agreement::ConfirmCustomerAgreementError, + >, + > { + self.customize_middleware().await + } ///

                                        The name of the customer agreement.

                                        pub fn agreement_name( mut self, diff --git a/sdk/directconnect/src/operation/confirm_private_virtual_interface/builders.rs b/sdk/directconnect/src/operation/confirm_private_virtual_interface/builders.rs index 46582d52f2a8..d1745846923f 100644 --- a/sdk/directconnect/src/operation/confirm_private_virtual_interface/builders.rs +++ b/sdk/directconnect/src/operation/confirm_private_virtual_interface/builders.rs @@ -20,9 +20,9 @@ impl ConfirmPrivateVirtualInterfaceFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize(self) -> ::std::result::Result< + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware(self) -> ::std::result::Result< crate::client::customize::CustomizableOperation, ::aws_smithy_http::result::SdkError >{ @@ -65,6 +65,15 @@ impl ConfirmPrivateVirtualInterfaceFluentBuilder { { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize(self) -> ::std::result::Result< + crate::client::customize::CustomizableOperation, + ::aws_smithy_http::result::SdkError + >{ + self.customize_middleware().await + } ///

                                        The ID of the virtual interface.

                                        pub fn virtual_interface_id( mut self, diff --git a/sdk/directconnect/src/operation/confirm_public_virtual_interface/builders.rs b/sdk/directconnect/src/operation/confirm_public_virtual_interface/builders.rs index d398eb5b7fd3..706dabc106ba 100644 --- a/sdk/directconnect/src/operation/confirm_public_virtual_interface/builders.rs +++ b/sdk/directconnect/src/operation/confirm_public_virtual_interface/builders.rs @@ -20,9 +20,9 @@ impl ConfirmPublicVirtualInterfaceFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -84,6 +84,22 @@ impl ConfirmPublicVirtualInterfaceFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::confirm_public_virtual_interface::ConfirmPublicVirtualInterface, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::confirm_public_virtual_interface::ConfirmPublicVirtualInterfaceError, + >, + > { + self.customize_middleware().await + } ///

                                        The ID of the virtual interface.

                                        pub fn virtual_interface_id( mut self, diff --git a/sdk/directconnect/src/operation/confirm_transit_virtual_interface/builders.rs b/sdk/directconnect/src/operation/confirm_transit_virtual_interface/builders.rs index 976f10fd315b..6a22583939ff 100644 --- a/sdk/directconnect/src/operation/confirm_transit_virtual_interface/builders.rs +++ b/sdk/directconnect/src/operation/confirm_transit_virtual_interface/builders.rs @@ -20,9 +20,9 @@ impl ConfirmTransitVirtualInterfaceFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize(self) -> ::std::result::Result< + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware(self) -> ::std::result::Result< crate::client::customize::CustomizableOperation, ::aws_smithy_http::result::SdkError >{ @@ -65,6 +65,15 @@ impl ConfirmTransitVirtualInterfaceFluentBuilder { { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize(self) -> ::std::result::Result< + crate::client::customize::CustomizableOperation, + ::aws_smithy_http::result::SdkError + >{ + self.customize_middleware().await + } ///

                                        The ID of the virtual interface.

                                        pub fn virtual_interface_id( mut self, diff --git a/sdk/directconnect/src/operation/create_bgp_peer/builders.rs b/sdk/directconnect/src/operation/create_bgp_peer/builders.rs index 747c0f4980ca..d1cd79ec2d1b 100644 --- a/sdk/directconnect/src/operation/create_bgp_peer/builders.rs +++ b/sdk/directconnect/src/operation/create_bgp_peer/builders.rs @@ -25,9 +25,9 @@ impl CreateBGPPeerFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,20 @@ impl CreateBGPPeerFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::create_bgp_peer::CreateBGPPeer, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                        The ID of the virtual interface.

                                        pub fn virtual_interface_id( mut self, diff --git a/sdk/directconnect/src/operation/create_connection/builders.rs b/sdk/directconnect/src/operation/create_connection/builders.rs index 23f050c8fa48..39ba1c245f53 100644 --- a/sdk/directconnect/src/operation/create_connection/builders.rs +++ b/sdk/directconnect/src/operation/create_connection/builders.rs @@ -22,9 +22,9 @@ impl CreateConnectionFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -86,6 +86,22 @@ impl CreateConnectionFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::create_connection::CreateConnection, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::create_connection::CreateConnectionError, + >, + > { + self.customize_middleware().await + } ///

                                        The location of the connection.

                                        pub fn location(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.location(input.into()); diff --git a/sdk/directconnect/src/operation/create_direct_connect_gateway/builders.rs b/sdk/directconnect/src/operation/create_direct_connect_gateway/builders.rs index 1e3a77fc195c..c5bea43c9164 100644 --- a/sdk/directconnect/src/operation/create_direct_connect_gateway/builders.rs +++ b/sdk/directconnect/src/operation/create_direct_connect_gateway/builders.rs @@ -19,9 +19,9 @@ impl CreateDirectConnectGatewayFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl CreateDirectConnectGatewayFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::create_direct_connect_gateway::CreateDirectConnectGateway, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::create_direct_connect_gateway::CreateDirectConnectGatewayError, + >, + > { + self.customize_middleware().await + } ///

                                        The name of the Direct Connect gateway.

                                        pub fn direct_connect_gateway_name( mut self, diff --git a/sdk/directconnect/src/operation/create_direct_connect_gateway_association/builders.rs b/sdk/directconnect/src/operation/create_direct_connect_gateway_association/builders.rs index 25a98f90560d..0538db6035c9 100644 --- a/sdk/directconnect/src/operation/create_direct_connect_gateway_association/builders.rs +++ b/sdk/directconnect/src/operation/create_direct_connect_gateway_association/builders.rs @@ -19,9 +19,9 @@ impl CreateDirectConnectGatewayAssociationFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize(self) -> ::std::result::Result< + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware(self) -> ::std::result::Result< crate::client::customize::CustomizableOperation, ::aws_smithy_http::result::SdkError >{ @@ -64,6 +64,15 @@ impl CreateDirectConnectGatewayAssociationFluentBuilder { { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize(self) -> ::std::result::Result< + crate::client::customize::CustomizableOperation, + ::aws_smithy_http::result::SdkError + >{ + self.customize_middleware().await + } ///

                                        The ID of the Direct Connect gateway.

                                        pub fn direct_connect_gateway_id( mut self, diff --git a/sdk/directconnect/src/operation/create_direct_connect_gateway_association_proposal/builders.rs b/sdk/directconnect/src/operation/create_direct_connect_gateway_association_proposal/builders.rs index e6d93780ae11..ab54542d4503 100644 --- a/sdk/directconnect/src/operation/create_direct_connect_gateway_association_proposal/builders.rs +++ b/sdk/directconnect/src/operation/create_direct_connect_gateway_association_proposal/builders.rs @@ -20,9 +20,9 @@ impl CreateDirectConnectGatewayAssociationProposalFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize(self) -> ::std::result::Result< + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware(self) -> ::std::result::Result< crate::client::customize::CustomizableOperation, ::aws_smithy_http::result::SdkError >{ @@ -65,6 +65,15 @@ impl CreateDirectConnectGatewayAssociationProposalFluentBuilder { { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize(self) -> ::std::result::Result< + crate::client::customize::CustomizableOperation, + ::aws_smithy_http::result::SdkError + >{ + self.customize_middleware().await + } ///

                                        The ID of the Direct Connect gateway.

                                        pub fn direct_connect_gateway_id( mut self, diff --git a/sdk/directconnect/src/operation/create_interconnect/builders.rs b/sdk/directconnect/src/operation/create_interconnect/builders.rs index 1453e81379fd..36866e0a95d4 100644 --- a/sdk/directconnect/src/operation/create_interconnect/builders.rs +++ b/sdk/directconnect/src/operation/create_interconnect/builders.rs @@ -24,9 +24,9 @@ impl CreateInterconnectFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -88,6 +88,22 @@ impl CreateInterconnectFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::create_interconnect::CreateInterconnect, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::create_interconnect::CreateInterconnectError, + >, + > { + self.customize_middleware().await + } ///

                                        The name of the interconnect.

                                        pub fn interconnect_name( mut self, diff --git a/sdk/directconnect/src/operation/create_lag/builders.rs b/sdk/directconnect/src/operation/create_lag/builders.rs index 5d7be45f6712..753f937c2e39 100644 --- a/sdk/directconnect/src/operation/create_lag/builders.rs +++ b/sdk/directconnect/src/operation/create_lag/builders.rs @@ -23,9 +23,9 @@ impl CreateLagFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -81,6 +81,20 @@ impl CreateLagFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::create_lag::CreateLag, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                        The number of physical dedicated connections initially provisioned and bundled by the LAG. You can have a maximum of four connections when the port speed is 1G or 10G, or two when the port speed is 100G.

                                        pub fn number_of_connections(mut self, input: i32) -> Self { self.inner = self.inner.number_of_connections(input); diff --git a/sdk/directconnect/src/operation/create_private_virtual_interface/builders.rs b/sdk/directconnect/src/operation/create_private_virtual_interface/builders.rs index b07f10370d9c..0c470cb65dba 100644 --- a/sdk/directconnect/src/operation/create_private_virtual_interface/builders.rs +++ b/sdk/directconnect/src/operation/create_private_virtual_interface/builders.rs @@ -20,9 +20,9 @@ impl CreatePrivateVirtualInterfaceFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -84,6 +84,22 @@ impl CreatePrivateVirtualInterfaceFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::create_private_virtual_interface::CreatePrivateVirtualInterface, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::create_private_virtual_interface::CreatePrivateVirtualInterfaceError, + >, + > { + self.customize_middleware().await + } ///

                                        The ID of the connection.

                                        pub fn connection_id( mut self, diff --git a/sdk/directconnect/src/operation/create_public_virtual_interface/builders.rs b/sdk/directconnect/src/operation/create_public_virtual_interface/builders.rs index 5fbb33c251fb..1bada6a826a1 100644 --- a/sdk/directconnect/src/operation/create_public_virtual_interface/builders.rs +++ b/sdk/directconnect/src/operation/create_public_virtual_interface/builders.rs @@ -20,9 +20,9 @@ impl CreatePublicVirtualInterfaceFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -84,6 +84,22 @@ impl CreatePublicVirtualInterfaceFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::create_public_virtual_interface::CreatePublicVirtualInterface, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::create_public_virtual_interface::CreatePublicVirtualInterfaceError, + >, + > { + self.customize_middleware().await + } ///

                                        The ID of the connection.

                                        pub fn connection_id( mut self, diff --git a/sdk/directconnect/src/operation/create_transit_virtual_interface/builders.rs b/sdk/directconnect/src/operation/create_transit_virtual_interface/builders.rs index 63cb0ad14c62..e7d42d9d8651 100644 --- a/sdk/directconnect/src/operation/create_transit_virtual_interface/builders.rs +++ b/sdk/directconnect/src/operation/create_transit_virtual_interface/builders.rs @@ -22,9 +22,9 @@ impl CreateTransitVirtualInterfaceFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -86,6 +86,22 @@ impl CreateTransitVirtualInterfaceFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::create_transit_virtual_interface::CreateTransitVirtualInterface, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::create_transit_virtual_interface::CreateTransitVirtualInterfaceError, + >, + > { + self.customize_middleware().await + } ///

                                        The ID of the connection.

                                        pub fn connection_id( mut self, diff --git a/sdk/directconnect/src/operation/delete_bgp_peer/builders.rs b/sdk/directconnect/src/operation/delete_bgp_peer/builders.rs index 9b61acf2e621..f941af5d175c 100644 --- a/sdk/directconnect/src/operation/delete_bgp_peer/builders.rs +++ b/sdk/directconnect/src/operation/delete_bgp_peer/builders.rs @@ -20,9 +20,9 @@ impl DeleteBGPPeerFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -78,6 +78,20 @@ impl DeleteBGPPeerFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::delete_bgp_peer::DeleteBGPPeer, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                        The ID of the virtual interface.

                                        pub fn virtual_interface_id( mut self, diff --git a/sdk/directconnect/src/operation/delete_connection/builders.rs b/sdk/directconnect/src/operation/delete_connection/builders.rs index f07a2291a374..b554e46eb9bc 100644 --- a/sdk/directconnect/src/operation/delete_connection/builders.rs +++ b/sdk/directconnect/src/operation/delete_connection/builders.rs @@ -20,9 +20,9 @@ impl DeleteConnectionFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -84,6 +84,22 @@ impl DeleteConnectionFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::delete_connection::DeleteConnection, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::delete_connection::DeleteConnectionError, + >, + > { + self.customize_middleware().await + } ///

                                        The ID of the connection.

                                        pub fn connection_id( mut self, diff --git a/sdk/directconnect/src/operation/delete_direct_connect_gateway/builders.rs b/sdk/directconnect/src/operation/delete_direct_connect_gateway/builders.rs index 954849e72a4b..3f3eca69628f 100644 --- a/sdk/directconnect/src/operation/delete_direct_connect_gateway/builders.rs +++ b/sdk/directconnect/src/operation/delete_direct_connect_gateway/builders.rs @@ -19,9 +19,9 @@ impl DeleteDirectConnectGatewayFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl DeleteDirectConnectGatewayFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::delete_direct_connect_gateway::DeleteDirectConnectGateway, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::delete_direct_connect_gateway::DeleteDirectConnectGatewayError, + >, + > { + self.customize_middleware().await + } ///

                                        The ID of the Direct Connect gateway.

                                        pub fn direct_connect_gateway_id( mut self, diff --git a/sdk/directconnect/src/operation/delete_direct_connect_gateway_association/builders.rs b/sdk/directconnect/src/operation/delete_direct_connect_gateway_association/builders.rs index b73f9002f58e..65adf404829c 100644 --- a/sdk/directconnect/src/operation/delete_direct_connect_gateway_association/builders.rs +++ b/sdk/directconnect/src/operation/delete_direct_connect_gateway_association/builders.rs @@ -20,9 +20,9 @@ impl DeleteDirectConnectGatewayAssociationFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize(self) -> ::std::result::Result< + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware(self) -> ::std::result::Result< crate::client::customize::CustomizableOperation, ::aws_smithy_http::result::SdkError >{ @@ -65,6 +65,15 @@ impl DeleteDirectConnectGatewayAssociationFluentBuilder { { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize(self) -> ::std::result::Result< + crate::client::customize::CustomizableOperation, + ::aws_smithy_http::result::SdkError + >{ + self.customize_middleware().await + } ///

                                        The ID of the Direct Connect gateway association.

                                        pub fn association_id( mut self, diff --git a/sdk/directconnect/src/operation/delete_direct_connect_gateway_association_proposal/builders.rs b/sdk/directconnect/src/operation/delete_direct_connect_gateway_association_proposal/builders.rs index 395b9464a0ae..fd5c8587656d 100644 --- a/sdk/directconnect/src/operation/delete_direct_connect_gateway_association_proposal/builders.rs +++ b/sdk/directconnect/src/operation/delete_direct_connect_gateway_association_proposal/builders.rs @@ -19,9 +19,9 @@ impl DeleteDirectConnectGatewayAssociationProposalFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize(self) -> ::std::result::Result< + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware(self) -> ::std::result::Result< crate::client::customize::CustomizableOperation, ::aws_smithy_http::result::SdkError >{ @@ -64,6 +64,15 @@ impl DeleteDirectConnectGatewayAssociationProposalFluentBuilder { { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize(self) -> ::std::result::Result< + crate::client::customize::CustomizableOperation, + ::aws_smithy_http::result::SdkError + >{ + self.customize_middleware().await + } ///

                                        The ID of the proposal.

                                        pub fn proposal_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.proposal_id(input.into()); diff --git a/sdk/directconnect/src/operation/delete_interconnect/builders.rs b/sdk/directconnect/src/operation/delete_interconnect/builders.rs index 101dde49db8e..11cd295b968f 100644 --- a/sdk/directconnect/src/operation/delete_interconnect/builders.rs +++ b/sdk/directconnect/src/operation/delete_interconnect/builders.rs @@ -21,9 +21,9 @@ impl DeleteInterconnectFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -85,6 +85,22 @@ impl DeleteInterconnectFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::delete_interconnect::DeleteInterconnect, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::delete_interconnect::DeleteInterconnectError, + >, + > { + self.customize_middleware().await + } ///

                                        The ID of the interconnect.

                                        pub fn interconnect_id( mut self, diff --git a/sdk/directconnect/src/operation/delete_lag/builders.rs b/sdk/directconnect/src/operation/delete_lag/builders.rs index 2a43805e1f55..99b74cd44f91 100644 --- a/sdk/directconnect/src/operation/delete_lag/builders.rs +++ b/sdk/directconnect/src/operation/delete_lag/builders.rs @@ -19,9 +19,9 @@ impl DeleteLagFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl DeleteLagFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::delete_lag::DeleteLag, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                        The ID of the LAG.

                                        pub fn lag_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.lag_id(input.into()); diff --git a/sdk/directconnect/src/operation/delete_virtual_interface/builders.rs b/sdk/directconnect/src/operation/delete_virtual_interface/builders.rs index 7ec2beba1520..28d3b0188dba 100644 --- a/sdk/directconnect/src/operation/delete_virtual_interface/builders.rs +++ b/sdk/directconnect/src/operation/delete_virtual_interface/builders.rs @@ -19,9 +19,9 @@ impl DeleteVirtualInterfaceFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl DeleteVirtualInterfaceFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::delete_virtual_interface::DeleteVirtualInterface, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::delete_virtual_interface::DeleteVirtualInterfaceError, + >, + > { + self.customize_middleware().await + } ///

                                        The ID of the virtual interface.

                                        pub fn virtual_interface_id( mut self, diff --git a/sdk/directconnect/src/operation/describe_connection_loa/builders.rs b/sdk/directconnect/src/operation/describe_connection_loa/builders.rs index a68025336c92..30553f015fb8 100644 --- a/sdk/directconnect/src/operation/describe_connection_loa/builders.rs +++ b/sdk/directconnect/src/operation/describe_connection_loa/builders.rs @@ -22,9 +22,9 @@ impl DescribeConnectionLoaFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -86,6 +86,22 @@ impl DescribeConnectionLoaFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::describe_connection_loa::DescribeConnectionLoa, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::describe_connection_loa::DescribeConnectionLoaError, + >, + > { + self.customize_middleware().await + } ///

                                        The ID of the connection.

                                        pub fn connection_id( mut self, diff --git a/sdk/directconnect/src/operation/describe_connections/builders.rs b/sdk/directconnect/src/operation/describe_connections/builders.rs index c9eb954c0c04..04ea6da0aad1 100644 --- a/sdk/directconnect/src/operation/describe_connections/builders.rs +++ b/sdk/directconnect/src/operation/describe_connections/builders.rs @@ -19,9 +19,9 @@ impl DescribeConnectionsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl DescribeConnectionsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::describe_connections::DescribeConnections, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::describe_connections::DescribeConnectionsError, + >, + > { + self.customize_middleware().await + } ///

                                        The ID of the connection.

                                        pub fn connection_id( mut self, diff --git a/sdk/directconnect/src/operation/describe_connections_on_interconnect/builders.rs b/sdk/directconnect/src/operation/describe_connections_on_interconnect/builders.rs index 347aaa4a4e2a..00526e9a1ab4 100644 --- a/sdk/directconnect/src/operation/describe_connections_on_interconnect/builders.rs +++ b/sdk/directconnect/src/operation/describe_connections_on_interconnect/builders.rs @@ -23,9 +23,9 @@ impl DescribeConnectionsOnInterconnectFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize(self) -> ::std::result::Result< + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware(self) -> ::std::result::Result< crate::client::customize::CustomizableOperation, ::aws_smithy_http::result::SdkError >{ @@ -68,6 +68,15 @@ impl DescribeConnectionsOnInterconnectFluentBuilder { { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize(self) -> ::std::result::Result< + crate::client::customize::CustomizableOperation, + ::aws_smithy_http::result::SdkError + >{ + self.customize_middleware().await + } ///

                                        The ID of the interconnect.

                                        pub fn interconnect_id( mut self, diff --git a/sdk/directconnect/src/operation/describe_customer_metadata/builders.rs b/sdk/directconnect/src/operation/describe_customer_metadata/builders.rs index 79ae29fa8229..d405fbe7de69 100644 --- a/sdk/directconnect/src/operation/describe_customer_metadata/builders.rs +++ b/sdk/directconnect/src/operation/describe_customer_metadata/builders.rs @@ -19,9 +19,9 @@ impl DescribeCustomerMetadataFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,4 +83,20 @@ impl DescribeCustomerMetadataFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::describe_customer_metadata::DescribeCustomerMetadata, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::describe_customer_metadata::DescribeCustomerMetadataError, + >, + > { + self.customize_middleware().await + } } diff --git a/sdk/directconnect/src/operation/describe_direct_connect_gateway_association_proposals/builders.rs b/sdk/directconnect/src/operation/describe_direct_connect_gateway_association_proposals/builders.rs index 99056603c533..440fd5480c48 100644 --- a/sdk/directconnect/src/operation/describe_direct_connect_gateway_association_proposals/builders.rs +++ b/sdk/directconnect/src/operation/describe_direct_connect_gateway_association_proposals/builders.rs @@ -19,9 +19,9 @@ impl DescribeDirectConnectGatewayAssociationProposalsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize(self) -> ::std::result::Result< + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware(self) -> ::std::result::Result< crate::client::customize::CustomizableOperation, ::aws_smithy_http::result::SdkError >{ @@ -64,6 +64,15 @@ impl DescribeDirectConnectGatewayAssociationProposalsFluentBuilder { { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize(self) -> ::std::result::Result< + crate::client::customize::CustomizableOperation, + ::aws_smithy_http::result::SdkError + >{ + self.customize_middleware().await + } ///

                                        The ID of the Direct Connect gateway.

                                        pub fn direct_connect_gateway_id( mut self, diff --git a/sdk/directconnect/src/operation/describe_direct_connect_gateway_associations/builders.rs b/sdk/directconnect/src/operation/describe_direct_connect_gateway_associations/builders.rs index 4a6a48d67e5c..319b8be50cdf 100644 --- a/sdk/directconnect/src/operation/describe_direct_connect_gateway_associations/builders.rs +++ b/sdk/directconnect/src/operation/describe_direct_connect_gateway_associations/builders.rs @@ -26,9 +26,9 @@ impl DescribeDirectConnectGatewayAssociationsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize(self) -> ::std::result::Result< + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware(self) -> ::std::result::Result< crate::client::customize::CustomizableOperation, ::aws_smithy_http::result::SdkError >{ @@ -71,6 +71,15 @@ impl DescribeDirectConnectGatewayAssociationsFluentBuilder { { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize(self) -> ::std::result::Result< + crate::client::customize::CustomizableOperation, + ::aws_smithy_http::result::SdkError + >{ + self.customize_middleware().await + } ///

                                        The ID of the Direct Connect gateway association.

                                        pub fn association_id( mut self, diff --git a/sdk/directconnect/src/operation/describe_direct_connect_gateway_attachments/builders.rs b/sdk/directconnect/src/operation/describe_direct_connect_gateway_attachments/builders.rs index 06d0d2b147ca..b5dd9831b873 100644 --- a/sdk/directconnect/src/operation/describe_direct_connect_gateway_attachments/builders.rs +++ b/sdk/directconnect/src/operation/describe_direct_connect_gateway_attachments/builders.rs @@ -19,9 +19,9 @@ impl DescribeDirectConnectGatewayAttachmentsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize(self) -> ::std::result::Result< + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware(self) -> ::std::result::Result< crate::client::customize::CustomizableOperation, ::aws_smithy_http::result::SdkError >{ @@ -64,6 +64,15 @@ impl DescribeDirectConnectGatewayAttachmentsFluentBuilder { { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize(self) -> ::std::result::Result< + crate::client::customize::CustomizableOperation, + ::aws_smithy_http::result::SdkError + >{ + self.customize_middleware().await + } ///

                                        The ID of the Direct Connect gateway.

                                        pub fn direct_connect_gateway_id( mut self, diff --git a/sdk/directconnect/src/operation/describe_direct_connect_gateways/builders.rs b/sdk/directconnect/src/operation/describe_direct_connect_gateways/builders.rs index 7319b2dabed2..d2525cd47b15 100644 --- a/sdk/directconnect/src/operation/describe_direct_connect_gateways/builders.rs +++ b/sdk/directconnect/src/operation/describe_direct_connect_gateways/builders.rs @@ -19,9 +19,9 @@ impl DescribeDirectConnectGatewaysFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl DescribeDirectConnectGatewaysFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::describe_direct_connect_gateways::DescribeDirectConnectGateways, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::describe_direct_connect_gateways::DescribeDirectConnectGatewaysError, + >, + > { + self.customize_middleware().await + } ///

                                        The ID of the Direct Connect gateway.

                                        pub fn direct_connect_gateway_id( mut self, diff --git a/sdk/directconnect/src/operation/describe_hosted_connections/builders.rs b/sdk/directconnect/src/operation/describe_hosted_connections/builders.rs index 98daad8c4295..43f0ced105bb 100644 --- a/sdk/directconnect/src/operation/describe_hosted_connections/builders.rs +++ b/sdk/directconnect/src/operation/describe_hosted_connections/builders.rs @@ -21,9 +21,9 @@ impl DescribeHostedConnectionsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -85,6 +85,22 @@ impl DescribeHostedConnectionsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::describe_hosted_connections::DescribeHostedConnections, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::describe_hosted_connections::DescribeHostedConnectionsError, + >, + > { + self.customize_middleware().await + } ///

                                        The ID of the interconnect or LAG.

                                        pub fn connection_id( mut self, diff --git a/sdk/directconnect/src/operation/describe_interconnect_loa/builders.rs b/sdk/directconnect/src/operation/describe_interconnect_loa/builders.rs index 848b7438f2d8..efb83eed9b39 100644 --- a/sdk/directconnect/src/operation/describe_interconnect_loa/builders.rs +++ b/sdk/directconnect/src/operation/describe_interconnect_loa/builders.rs @@ -23,9 +23,9 @@ impl DescribeInterconnectLoaFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -87,6 +87,22 @@ impl DescribeInterconnectLoaFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::describe_interconnect_loa::DescribeInterconnectLoa, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::describe_interconnect_loa::DescribeInterconnectLoaError, + >, + > { + self.customize_middleware().await + } ///

                                        The ID of the interconnect.

                                        pub fn interconnect_id( mut self, diff --git a/sdk/directconnect/src/operation/describe_interconnects/builders.rs b/sdk/directconnect/src/operation/describe_interconnects/builders.rs index e5f68808dc25..af865fe9fcd7 100644 --- a/sdk/directconnect/src/operation/describe_interconnects/builders.rs +++ b/sdk/directconnect/src/operation/describe_interconnects/builders.rs @@ -19,9 +19,9 @@ impl DescribeInterconnectsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl DescribeInterconnectsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::describe_interconnects::DescribeInterconnects, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::describe_interconnects::DescribeInterconnectsError, + >, + > { + self.customize_middleware().await + } ///

                                        The ID of the interconnect.

                                        pub fn interconnect_id( mut self, diff --git a/sdk/directconnect/src/operation/describe_lags/builders.rs b/sdk/directconnect/src/operation/describe_lags/builders.rs index 1f729cc26041..7750f3cfbc7f 100644 --- a/sdk/directconnect/src/operation/describe_lags/builders.rs +++ b/sdk/directconnect/src/operation/describe_lags/builders.rs @@ -19,9 +19,9 @@ impl DescribeLagsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl DescribeLagsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::describe_lags::DescribeLags, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                        The ID of the LAG.

                                        pub fn lag_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.lag_id(input.into()); diff --git a/sdk/directconnect/src/operation/describe_loa/builders.rs b/sdk/directconnect/src/operation/describe_loa/builders.rs index 21be26c29a7f..b0ea1611e7bb 100644 --- a/sdk/directconnect/src/operation/describe_loa/builders.rs +++ b/sdk/directconnect/src/operation/describe_loa/builders.rs @@ -20,9 +20,9 @@ impl DescribeLoaFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -78,6 +78,20 @@ impl DescribeLoaFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::describe_loa::DescribeLoa, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                        The ID of a connection, LAG, or interconnect.

                                        pub fn connection_id( mut self, diff --git a/sdk/directconnect/src/operation/describe_locations/builders.rs b/sdk/directconnect/src/operation/describe_locations/builders.rs index 62b9ed010869..5bb5424f8cc7 100644 --- a/sdk/directconnect/src/operation/describe_locations/builders.rs +++ b/sdk/directconnect/src/operation/describe_locations/builders.rs @@ -19,9 +19,9 @@ impl DescribeLocationsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,4 +83,20 @@ impl DescribeLocationsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::describe_locations::DescribeLocations, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::describe_locations::DescribeLocationsError, + >, + > { + self.customize_middleware().await + } } diff --git a/sdk/directconnect/src/operation/describe_router_configuration/builders.rs b/sdk/directconnect/src/operation/describe_router_configuration/builders.rs index 1be14a3b49e3..df743dbdc006 100644 --- a/sdk/directconnect/src/operation/describe_router_configuration/builders.rs +++ b/sdk/directconnect/src/operation/describe_router_configuration/builders.rs @@ -19,9 +19,9 @@ impl DescribeRouterConfigurationFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl DescribeRouterConfigurationFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::describe_router_configuration::DescribeRouterConfiguration, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::describe_router_configuration::DescribeRouterConfigurationError, + >, + > { + self.customize_middleware().await + } ///

                                        The ID of the virtual interface.

                                        pub fn virtual_interface_id( mut self, diff --git a/sdk/directconnect/src/operation/describe_tags/builders.rs b/sdk/directconnect/src/operation/describe_tags/builders.rs index a5da5e3198f8..23b0aaece3b9 100644 --- a/sdk/directconnect/src/operation/describe_tags/builders.rs +++ b/sdk/directconnect/src/operation/describe_tags/builders.rs @@ -19,9 +19,9 @@ impl DescribeTagsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl DescribeTagsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::describe_tags::DescribeTags, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } /// Appends an item to `resourceArns`. /// /// To override the contents of this collection use [`set_resource_arns`](Self::set_resource_arns). diff --git a/sdk/directconnect/src/operation/describe_virtual_gateways/builders.rs b/sdk/directconnect/src/operation/describe_virtual_gateways/builders.rs index 9d3e5ae0a067..52dd74545a17 100644 --- a/sdk/directconnect/src/operation/describe_virtual_gateways/builders.rs +++ b/sdk/directconnect/src/operation/describe_virtual_gateways/builders.rs @@ -21,9 +21,9 @@ impl DescribeVirtualGatewaysFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -85,4 +85,20 @@ impl DescribeVirtualGatewaysFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::describe_virtual_gateways::DescribeVirtualGateways, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::describe_virtual_gateways::DescribeVirtualGatewaysError, + >, + > { + self.customize_middleware().await + } } diff --git a/sdk/directconnect/src/operation/describe_virtual_interfaces/builders.rs b/sdk/directconnect/src/operation/describe_virtual_interfaces/builders.rs index 5670b4fb61ae..a70e56c3556d 100644 --- a/sdk/directconnect/src/operation/describe_virtual_interfaces/builders.rs +++ b/sdk/directconnect/src/operation/describe_virtual_interfaces/builders.rs @@ -20,9 +20,9 @@ impl DescribeVirtualInterfacesFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -84,6 +84,22 @@ impl DescribeVirtualInterfacesFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::describe_virtual_interfaces::DescribeVirtualInterfaces, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::describe_virtual_interfaces::DescribeVirtualInterfacesError, + >, + > { + self.customize_middleware().await + } ///

                                        The ID of the connection.

                                        pub fn connection_id( mut self, diff --git a/sdk/directconnect/src/operation/disassociate_connection_from_lag/builders.rs b/sdk/directconnect/src/operation/disassociate_connection_from_lag/builders.rs index 79ae8e2e69ea..4d10f60f1fe6 100644 --- a/sdk/directconnect/src/operation/disassociate_connection_from_lag/builders.rs +++ b/sdk/directconnect/src/operation/disassociate_connection_from_lag/builders.rs @@ -20,9 +20,9 @@ impl DisassociateConnectionFromLagFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -84,6 +84,22 @@ impl DisassociateConnectionFromLagFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::disassociate_connection_from_lag::DisassociateConnectionFromLag, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::disassociate_connection_from_lag::DisassociateConnectionFromLagError, + >, + > { + self.customize_middleware().await + } ///

                                        The ID of the connection.

                                        pub fn connection_id( mut self, diff --git a/sdk/directconnect/src/operation/disassociate_mac_sec_key/builders.rs b/sdk/directconnect/src/operation/disassociate_mac_sec_key/builders.rs index b5502a4d167d..97f55e6ef471 100644 --- a/sdk/directconnect/src/operation/disassociate_mac_sec_key/builders.rs +++ b/sdk/directconnect/src/operation/disassociate_mac_sec_key/builders.rs @@ -19,9 +19,9 @@ impl DisassociateMacSecKeyFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl DisassociateMacSecKeyFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::disassociate_mac_sec_key::DisassociateMacSecKey, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::disassociate_mac_sec_key::DisassociateMacSecKeyError, + >, + > { + self.customize_middleware().await + } ///

                                        The ID of the dedicated connection (dxcon-xxxx), or the ID of the LAG (dxlag-xxxx).

                                        ///

                                        You can use DescribeConnections or DescribeLags to retrieve connection ID.

                                        pub fn connection_id( diff --git a/sdk/directconnect/src/operation/list_virtual_interface_test_history/builders.rs b/sdk/directconnect/src/operation/list_virtual_interface_test_history/builders.rs index 510c4d237050..d5053e8cdc09 100644 --- a/sdk/directconnect/src/operation/list_virtual_interface_test_history/builders.rs +++ b/sdk/directconnect/src/operation/list_virtual_interface_test_history/builders.rs @@ -19,9 +19,9 @@ impl ListVirtualInterfaceTestHistoryFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize(self) -> ::std::result::Result< + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware(self) -> ::std::result::Result< crate::client::customize::CustomizableOperation, ::aws_smithy_http::result::SdkError >{ @@ -64,6 +64,15 @@ impl ListVirtualInterfaceTestHistoryFluentBuilder { { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize(self) -> ::std::result::Result< + crate::client::customize::CustomizableOperation, + ::aws_smithy_http::result::SdkError + >{ + self.customize_middleware().await + } ///

                                        The ID of the virtual interface failover test.

                                        pub fn test_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.test_id(input.into()); diff --git a/sdk/directconnect/src/operation/start_bgp_failover_test/builders.rs b/sdk/directconnect/src/operation/start_bgp_failover_test/builders.rs index 9d5649957d67..ae8d7715cb48 100644 --- a/sdk/directconnect/src/operation/start_bgp_failover_test/builders.rs +++ b/sdk/directconnect/src/operation/start_bgp_failover_test/builders.rs @@ -22,9 +22,9 @@ impl StartBgpFailoverTestFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -86,6 +86,22 @@ impl StartBgpFailoverTestFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::start_bgp_failover_test::StartBgpFailoverTest, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::start_bgp_failover_test::StartBgpFailoverTestError, + >, + > { + self.customize_middleware().await + } ///

                                        The ID of the virtual interface you want to test.

                                        pub fn virtual_interface_id( mut self, diff --git a/sdk/directconnect/src/operation/stop_bgp_failover_test/builders.rs b/sdk/directconnect/src/operation/stop_bgp_failover_test/builders.rs index 0bb1eb03c31f..fd166d8e60a1 100644 --- a/sdk/directconnect/src/operation/stop_bgp_failover_test/builders.rs +++ b/sdk/directconnect/src/operation/stop_bgp_failover_test/builders.rs @@ -19,9 +19,9 @@ impl StopBgpFailoverTestFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl StopBgpFailoverTestFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::stop_bgp_failover_test::StopBgpFailoverTest, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::stop_bgp_failover_test::StopBgpFailoverTestError, + >, + > { + self.customize_middleware().await + } ///

                                        The ID of the virtual interface you no longer want to test.

                                        pub fn virtual_interface_id( mut self, diff --git a/sdk/directconnect/src/operation/tag_resource/builders.rs b/sdk/directconnect/src/operation/tag_resource/builders.rs index e0a92fbd5e8a..8288a819453e 100644 --- a/sdk/directconnect/src/operation/tag_resource/builders.rs +++ b/sdk/directconnect/src/operation/tag_resource/builders.rs @@ -20,9 +20,9 @@ impl TagResourceFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -78,6 +78,20 @@ impl TagResourceFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::tag_resource::TagResource, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                        The Amazon Resource Name (ARN) of the resource.

                                        pub fn resource_arn(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.resource_arn(input.into()); diff --git a/sdk/directconnect/src/operation/untag_resource/builders.rs b/sdk/directconnect/src/operation/untag_resource/builders.rs index 774ccd58a036..78a906e8a287 100644 --- a/sdk/directconnect/src/operation/untag_resource/builders.rs +++ b/sdk/directconnect/src/operation/untag_resource/builders.rs @@ -19,9 +19,9 @@ impl UntagResourceFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl UntagResourceFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::untag_resource::UntagResource, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                        The Amazon Resource Name (ARN) of the resource.

                                        pub fn resource_arn(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.resource_arn(input.into()); diff --git a/sdk/directconnect/src/operation/update_connection/builders.rs b/sdk/directconnect/src/operation/update_connection/builders.rs index e692f6842026..31e45befdd67 100644 --- a/sdk/directconnect/src/operation/update_connection/builders.rs +++ b/sdk/directconnect/src/operation/update_connection/builders.rs @@ -24,9 +24,9 @@ impl UpdateConnectionFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -88,6 +88,22 @@ impl UpdateConnectionFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::update_connection::UpdateConnection, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::update_connection::UpdateConnectionError, + >, + > { + self.customize_middleware().await + } ///

                                        The ID of the dedicated connection.

                                        ///

                                        You can use DescribeConnections to retrieve the connection ID.

                                        pub fn connection_id( diff --git a/sdk/directconnect/src/operation/update_direct_connect_gateway/builders.rs b/sdk/directconnect/src/operation/update_direct_connect_gateway/builders.rs index c13101236160..a6ed7be3cf8f 100644 --- a/sdk/directconnect/src/operation/update_direct_connect_gateway/builders.rs +++ b/sdk/directconnect/src/operation/update_direct_connect_gateway/builders.rs @@ -19,9 +19,9 @@ impl UpdateDirectConnectGatewayFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl UpdateDirectConnectGatewayFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::update_direct_connect_gateway::UpdateDirectConnectGateway, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::update_direct_connect_gateway::UpdateDirectConnectGatewayError, + >, + > { + self.customize_middleware().await + } ///

                                        The ID of the Direct Connect gateway to update.

                                        pub fn direct_connect_gateway_id( mut self, diff --git a/sdk/directconnect/src/operation/update_direct_connect_gateway_association/builders.rs b/sdk/directconnect/src/operation/update_direct_connect_gateway_association/builders.rs index 17c02d941063..77db1bfd6778 100644 --- a/sdk/directconnect/src/operation/update_direct_connect_gateway_association/builders.rs +++ b/sdk/directconnect/src/operation/update_direct_connect_gateway_association/builders.rs @@ -20,9 +20,9 @@ impl UpdateDirectConnectGatewayAssociationFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize(self) -> ::std::result::Result< + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware(self) -> ::std::result::Result< crate::client::customize::CustomizableOperation, ::aws_smithy_http::result::SdkError >{ @@ -65,6 +65,15 @@ impl UpdateDirectConnectGatewayAssociationFluentBuilder { { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize(self) -> ::std::result::Result< + crate::client::customize::CustomizableOperation, + ::aws_smithy_http::result::SdkError + >{ + self.customize_middleware().await + } ///

                                        The ID of the Direct Connect gateway association.

                                        pub fn association_id( mut self, diff --git a/sdk/directconnect/src/operation/update_lag/builders.rs b/sdk/directconnect/src/operation/update_lag/builders.rs index 17ffc8d574f4..65be1d2a9050 100644 --- a/sdk/directconnect/src/operation/update_lag/builders.rs +++ b/sdk/directconnect/src/operation/update_lag/builders.rs @@ -28,9 +28,9 @@ impl UpdateLagFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -86,6 +86,20 @@ impl UpdateLagFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::update_lag::UpdateLag, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                        The ID of the LAG.

                                        pub fn lag_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.lag_id(input.into()); diff --git a/sdk/directconnect/src/operation/update_virtual_interface_attributes/builders.rs b/sdk/directconnect/src/operation/update_virtual_interface_attributes/builders.rs index 755de686f7b6..467bc8d6d398 100644 --- a/sdk/directconnect/src/operation/update_virtual_interface_attributes/builders.rs +++ b/sdk/directconnect/src/operation/update_virtual_interface_attributes/builders.rs @@ -20,9 +20,9 @@ impl UpdateVirtualInterfaceAttributesFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize(self) -> ::std::result::Result< + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware(self) -> ::std::result::Result< crate::client::customize::CustomizableOperation, ::aws_smithy_http::result::SdkError >{ @@ -65,6 +65,15 @@ impl UpdateVirtualInterfaceAttributesFluentBuilder { { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize(self) -> ::std::result::Result< + crate::client::customize::CustomizableOperation, + ::aws_smithy_http::result::SdkError + >{ + self.customize_middleware().await + } ///

                                        The ID of the virtual private interface.

                                        pub fn virtual_interface_id( mut self, diff --git a/sdk/directory/src/operation/accept_shared_directory/builders.rs b/sdk/directory/src/operation/accept_shared_directory/builders.rs index c95ec2d4b848..5e7327cb189e 100644 --- a/sdk/directory/src/operation/accept_shared_directory/builders.rs +++ b/sdk/directory/src/operation/accept_shared_directory/builders.rs @@ -19,9 +19,9 @@ impl AcceptSharedDirectoryFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl AcceptSharedDirectoryFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::accept_shared_directory::AcceptSharedDirectory, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::accept_shared_directory::AcceptSharedDirectoryError, + >, + > { + self.customize_middleware().await + } ///

                                        Identifier of the shared directory in the directory consumer account. This identifier is different for each directory owner account.

                                        pub fn shared_directory_id( mut self, diff --git a/sdk/directory/src/operation/add_ip_routes/builders.rs b/sdk/directory/src/operation/add_ip_routes/builders.rs index 281b8bf8b65e..c53ae4114aa8 100644 --- a/sdk/directory/src/operation/add_ip_routes/builders.rs +++ b/sdk/directory/src/operation/add_ip_routes/builders.rs @@ -20,9 +20,9 @@ impl AddIpRoutesFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -78,6 +78,20 @@ impl AddIpRoutesFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::add_ip_routes::AddIpRoutes, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                        Identifier (ID) of the directory to which to add the address block.

                                        pub fn directory_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.directory_id(input.into()); diff --git a/sdk/directory/src/operation/add_region/builders.rs b/sdk/directory/src/operation/add_region/builders.rs index 9efd2a19308e..330520ea2eea 100644 --- a/sdk/directory/src/operation/add_region/builders.rs +++ b/sdk/directory/src/operation/add_region/builders.rs @@ -19,9 +19,9 @@ impl AddRegionFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl AddRegionFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::add_region::AddRegion, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                        The identifier of the directory to which you want to add Region replication.

                                        pub fn directory_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.directory_id(input.into()); diff --git a/sdk/directory/src/operation/add_tags_to_resource/builders.rs b/sdk/directory/src/operation/add_tags_to_resource/builders.rs index e42927014ad9..ea579cce0cdd 100644 --- a/sdk/directory/src/operation/add_tags_to_resource/builders.rs +++ b/sdk/directory/src/operation/add_tags_to_resource/builders.rs @@ -19,9 +19,9 @@ impl AddTagsToResourceFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl AddTagsToResourceFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::add_tags_to_resource::AddTagsToResource, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::add_tags_to_resource::AddTagsToResourceError, + >, + > { + self.customize_middleware().await + } ///

                                        Identifier (ID) for the directory to which to add the tag.

                                        pub fn resource_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.resource_id(input.into()); diff --git a/sdk/directory/src/operation/cancel_schema_extension/builders.rs b/sdk/directory/src/operation/cancel_schema_extension/builders.rs index 48c6944739a0..7bdf7da7d4a9 100644 --- a/sdk/directory/src/operation/cancel_schema_extension/builders.rs +++ b/sdk/directory/src/operation/cancel_schema_extension/builders.rs @@ -19,9 +19,9 @@ impl CancelSchemaExtensionFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl CancelSchemaExtensionFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::cancel_schema_extension::CancelSchemaExtension, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::cancel_schema_extension::CancelSchemaExtensionError, + >, + > { + self.customize_middleware().await + } ///

                                        The identifier of the directory whose schema extension will be canceled.

                                        pub fn directory_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.directory_id(input.into()); diff --git a/sdk/directory/src/operation/connect_directory/builders.rs b/sdk/directory/src/operation/connect_directory/builders.rs index 2d75ff1f8a24..53574851f69e 100644 --- a/sdk/directory/src/operation/connect_directory/builders.rs +++ b/sdk/directory/src/operation/connect_directory/builders.rs @@ -20,9 +20,9 @@ impl ConnectDirectoryFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -84,6 +84,22 @@ impl ConnectDirectoryFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::connect_directory::ConnectDirectory, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::connect_directory::ConnectDirectoryError, + >, + > { + self.customize_middleware().await + } ///

                                        The fully qualified name of your self-managed directory, such as corp.example.com.

                                        pub fn name(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.name(input.into()); diff --git a/sdk/directory/src/operation/create_alias/builders.rs b/sdk/directory/src/operation/create_alias/builders.rs index 26fefe0921b5..cdef9b20a322 100644 --- a/sdk/directory/src/operation/create_alias/builders.rs +++ b/sdk/directory/src/operation/create_alias/builders.rs @@ -24,9 +24,9 @@ impl CreateAliasFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -82,6 +82,20 @@ impl CreateAliasFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::create_alias::CreateAlias, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                        The identifier of the directory for which to create the alias.

                                        pub fn directory_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.directory_id(input.into()); diff --git a/sdk/directory/src/operation/create_computer/builders.rs b/sdk/directory/src/operation/create_computer/builders.rs index 227b5ed41ea1..69616a49095e 100644 --- a/sdk/directory/src/operation/create_computer/builders.rs +++ b/sdk/directory/src/operation/create_computer/builders.rs @@ -19,9 +19,9 @@ impl CreateComputerFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl CreateComputerFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::create_computer::CreateComputer, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                        The identifier of the directory in which to create the computer account.

                                        pub fn directory_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.directory_id(input.into()); diff --git a/sdk/directory/src/operation/create_conditional_forwarder/builders.rs b/sdk/directory/src/operation/create_conditional_forwarder/builders.rs index 180e4c1ab8c8..a5ce0504dd0e 100644 --- a/sdk/directory/src/operation/create_conditional_forwarder/builders.rs +++ b/sdk/directory/src/operation/create_conditional_forwarder/builders.rs @@ -19,9 +19,9 @@ impl CreateConditionalForwarderFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl CreateConditionalForwarderFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::create_conditional_forwarder::CreateConditionalForwarder, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::create_conditional_forwarder::CreateConditionalForwarderError, + >, + > { + self.customize_middleware().await + } ///

                                        The directory ID of the Amazon Web Services directory for which you are creating the conditional forwarder.

                                        pub fn directory_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.directory_id(input.into()); diff --git a/sdk/directory/src/operation/create_directory/builders.rs b/sdk/directory/src/operation/create_directory/builders.rs index b2d1418ebd59..b2e96aa55f49 100644 --- a/sdk/directory/src/operation/create_directory/builders.rs +++ b/sdk/directory/src/operation/create_directory/builders.rs @@ -20,9 +20,9 @@ impl CreateDirectoryFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -84,6 +84,22 @@ impl CreateDirectoryFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::create_directory::CreateDirectory, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::create_directory::CreateDirectoryError, + >, + > { + self.customize_middleware().await + } ///

                                        The fully qualified name for the directory, such as corp.example.com.

                                        pub fn name(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.name(input.into()); diff --git a/sdk/directory/src/operation/create_log_subscription/builders.rs b/sdk/directory/src/operation/create_log_subscription/builders.rs index 0af0e191f1d5..0c063e29d851 100644 --- a/sdk/directory/src/operation/create_log_subscription/builders.rs +++ b/sdk/directory/src/operation/create_log_subscription/builders.rs @@ -19,9 +19,9 @@ impl CreateLogSubscriptionFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl CreateLogSubscriptionFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::create_log_subscription::CreateLogSubscription, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::create_log_subscription::CreateLogSubscriptionError, + >, + > { + self.customize_middleware().await + } ///

                                        Identifier of the directory to which you want to subscribe and receive real-time logs to your specified CloudWatch log group.

                                        pub fn directory_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.directory_id(input.into()); diff --git a/sdk/directory/src/operation/create_microsoft_ad/builders.rs b/sdk/directory/src/operation/create_microsoft_ad/builders.rs index 4b40368cbf6d..5b72da8f89d0 100644 --- a/sdk/directory/src/operation/create_microsoft_ad/builders.rs +++ b/sdk/directory/src/operation/create_microsoft_ad/builders.rs @@ -20,9 +20,9 @@ impl CreateMicrosoftADFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -84,6 +84,22 @@ impl CreateMicrosoftADFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::create_microsoft_ad::CreateMicrosoftAD, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::create_microsoft_ad::CreateMicrosoftADError, + >, + > { + self.customize_middleware().await + } ///

                                        The fully qualified domain name for the Managed Microsoft AD directory, such as corp.example.com. This name will resolve inside your VPC only. It does not need to be publicly resolvable.

                                        pub fn name(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.name(input.into()); diff --git a/sdk/directory/src/operation/create_snapshot/builders.rs b/sdk/directory/src/operation/create_snapshot/builders.rs index 08dadd05354f..e8f4f408aa35 100644 --- a/sdk/directory/src/operation/create_snapshot/builders.rs +++ b/sdk/directory/src/operation/create_snapshot/builders.rs @@ -21,9 +21,9 @@ impl CreateSnapshotFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -79,6 +79,20 @@ impl CreateSnapshotFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::create_snapshot::CreateSnapshot, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                        The identifier of the directory of which to take a snapshot.

                                        pub fn directory_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.directory_id(input.into()); diff --git a/sdk/directory/src/operation/create_trust/builders.rs b/sdk/directory/src/operation/create_trust/builders.rs index 147aaea63dba..46b441091868 100644 --- a/sdk/directory/src/operation/create_trust/builders.rs +++ b/sdk/directory/src/operation/create_trust/builders.rs @@ -20,9 +20,9 @@ impl CreateTrustFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -78,6 +78,20 @@ impl CreateTrustFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::create_trust::CreateTrust, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                        The Directory ID of the Managed Microsoft AD directory for which to establish the trust relationship.

                                        pub fn directory_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.directory_id(input.into()); diff --git a/sdk/directory/src/operation/delete_conditional_forwarder/builders.rs b/sdk/directory/src/operation/delete_conditional_forwarder/builders.rs index 1fcb412549a2..9efcac0ed713 100644 --- a/sdk/directory/src/operation/delete_conditional_forwarder/builders.rs +++ b/sdk/directory/src/operation/delete_conditional_forwarder/builders.rs @@ -19,9 +19,9 @@ impl DeleteConditionalForwarderFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl DeleteConditionalForwarderFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::delete_conditional_forwarder::DeleteConditionalForwarder, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::delete_conditional_forwarder::DeleteConditionalForwarderError, + >, + > { + self.customize_middleware().await + } ///

                                        The directory ID for which you are deleting the conditional forwarder.

                                        pub fn directory_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.directory_id(input.into()); diff --git a/sdk/directory/src/operation/delete_directory/builders.rs b/sdk/directory/src/operation/delete_directory/builders.rs index 75b8454a11d0..53973bbcc38b 100644 --- a/sdk/directory/src/operation/delete_directory/builders.rs +++ b/sdk/directory/src/operation/delete_directory/builders.rs @@ -20,9 +20,9 @@ impl DeleteDirectoryFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -84,6 +84,22 @@ impl DeleteDirectoryFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::delete_directory::DeleteDirectory, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::delete_directory::DeleteDirectoryError, + >, + > { + self.customize_middleware().await + } ///

                                        The identifier of the directory to delete.

                                        pub fn directory_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.directory_id(input.into()); diff --git a/sdk/directory/src/operation/delete_log_subscription/builders.rs b/sdk/directory/src/operation/delete_log_subscription/builders.rs index 8fba13a40aeb..94ed503f2d91 100644 --- a/sdk/directory/src/operation/delete_log_subscription/builders.rs +++ b/sdk/directory/src/operation/delete_log_subscription/builders.rs @@ -19,9 +19,9 @@ impl DeleteLogSubscriptionFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl DeleteLogSubscriptionFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::delete_log_subscription::DeleteLogSubscription, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::delete_log_subscription::DeleteLogSubscriptionError, + >, + > { + self.customize_middleware().await + } ///

                                        Identifier of the directory whose log subscription you want to delete.

                                        pub fn directory_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.directory_id(input.into()); diff --git a/sdk/directory/src/operation/delete_snapshot/builders.rs b/sdk/directory/src/operation/delete_snapshot/builders.rs index 7f5436809173..5d60a73073a5 100644 --- a/sdk/directory/src/operation/delete_snapshot/builders.rs +++ b/sdk/directory/src/operation/delete_snapshot/builders.rs @@ -19,9 +19,9 @@ impl DeleteSnapshotFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl DeleteSnapshotFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::delete_snapshot::DeleteSnapshot, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                        The identifier of the directory snapshot to be deleted.

                                        pub fn snapshot_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.snapshot_id(input.into()); diff --git a/sdk/directory/src/operation/delete_trust/builders.rs b/sdk/directory/src/operation/delete_trust/builders.rs index 89bc7964ef23..04456a8c8342 100644 --- a/sdk/directory/src/operation/delete_trust/builders.rs +++ b/sdk/directory/src/operation/delete_trust/builders.rs @@ -19,9 +19,9 @@ impl DeleteTrustFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl DeleteTrustFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::delete_trust::DeleteTrust, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                        The Trust ID of the trust relationship to be deleted.

                                        pub fn trust_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.trust_id(input.into()); diff --git a/sdk/directory/src/operation/deregister_certificate/builders.rs b/sdk/directory/src/operation/deregister_certificate/builders.rs index 98216a6fd0ed..f164de4cd68a 100644 --- a/sdk/directory/src/operation/deregister_certificate/builders.rs +++ b/sdk/directory/src/operation/deregister_certificate/builders.rs @@ -19,9 +19,9 @@ impl DeregisterCertificateFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl DeregisterCertificateFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::deregister_certificate::DeregisterCertificate, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::deregister_certificate::DeregisterCertificateError, + >, + > { + self.customize_middleware().await + } ///

                                        The identifier of the directory.

                                        pub fn directory_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.directory_id(input.into()); diff --git a/sdk/directory/src/operation/deregister_event_topic/builders.rs b/sdk/directory/src/operation/deregister_event_topic/builders.rs index 6d8262add265..f19958ca676a 100644 --- a/sdk/directory/src/operation/deregister_event_topic/builders.rs +++ b/sdk/directory/src/operation/deregister_event_topic/builders.rs @@ -19,9 +19,9 @@ impl DeregisterEventTopicFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl DeregisterEventTopicFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::deregister_event_topic::DeregisterEventTopic, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::deregister_event_topic::DeregisterEventTopicError, + >, + > { + self.customize_middleware().await + } ///

                                        The Directory ID to remove as a publisher. This directory will no longer send messages to the specified Amazon SNS topic.

                                        pub fn directory_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.directory_id(input.into()); diff --git a/sdk/directory/src/operation/describe_certificate/builders.rs b/sdk/directory/src/operation/describe_certificate/builders.rs index 7bc58a994f6c..06b2c288eb39 100644 --- a/sdk/directory/src/operation/describe_certificate/builders.rs +++ b/sdk/directory/src/operation/describe_certificate/builders.rs @@ -19,9 +19,9 @@ impl DescribeCertificateFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl DescribeCertificateFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::describe_certificate::DescribeCertificate, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::describe_certificate::DescribeCertificateError, + >, + > { + self.customize_middleware().await + } ///

                                        The identifier of the directory.

                                        pub fn directory_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.directory_id(input.into()); diff --git a/sdk/directory/src/operation/describe_client_authentication_settings/builders.rs b/sdk/directory/src/operation/describe_client_authentication_settings/builders.rs index a9391c04bd69..d2c81d75d0c0 100644 --- a/sdk/directory/src/operation/describe_client_authentication_settings/builders.rs +++ b/sdk/directory/src/operation/describe_client_authentication_settings/builders.rs @@ -19,9 +19,9 @@ impl DescribeClientAuthenticationSettingsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize(self) -> ::std::result::Result< + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware(self) -> ::std::result::Result< crate::client::customize::CustomizableOperation, ::aws_smithy_http::result::SdkError >{ @@ -64,6 +64,15 @@ impl DescribeClientAuthenticationSettingsFluentBuilder { { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize(self) -> ::std::result::Result< + crate::client::customize::CustomizableOperation, + ::aws_smithy_http::result::SdkError + >{ + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::describe_client_authentication_settings::paginator::DescribeClientAuthenticationSettingsPaginator::send) which returns a `Stream`. diff --git a/sdk/directory/src/operation/describe_conditional_forwarders/builders.rs b/sdk/directory/src/operation/describe_conditional_forwarders/builders.rs index 724f0f5c2417..fec73167c51c 100644 --- a/sdk/directory/src/operation/describe_conditional_forwarders/builders.rs +++ b/sdk/directory/src/operation/describe_conditional_forwarders/builders.rs @@ -20,9 +20,9 @@ impl DescribeConditionalForwardersFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -84,6 +84,22 @@ impl DescribeConditionalForwardersFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::describe_conditional_forwarders::DescribeConditionalForwarders, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::describe_conditional_forwarders::DescribeConditionalForwardersError, + >, + > { + self.customize_middleware().await + } ///

                                        The directory ID for which to get the list of associated conditional forwarders.

                                        pub fn directory_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.directory_id(input.into()); diff --git a/sdk/directory/src/operation/describe_directories/builders.rs b/sdk/directory/src/operation/describe_directories/builders.rs index fc6af2f9f772..f33b67fb2281 100644 --- a/sdk/directory/src/operation/describe_directories/builders.rs +++ b/sdk/directory/src/operation/describe_directories/builders.rs @@ -22,9 +22,9 @@ impl DescribeDirectoriesFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -86,6 +86,22 @@ impl DescribeDirectoriesFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::describe_directories::DescribeDirectories, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::describe_directories::DescribeDirectoriesError, + >, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::describe_directories::paginator::DescribeDirectoriesPaginator::send) which returns a `Stream`. diff --git a/sdk/directory/src/operation/describe_domain_controllers/builders.rs b/sdk/directory/src/operation/describe_domain_controllers/builders.rs index 9abc70d54996..66c348e05c66 100644 --- a/sdk/directory/src/operation/describe_domain_controllers/builders.rs +++ b/sdk/directory/src/operation/describe_domain_controllers/builders.rs @@ -19,9 +19,9 @@ impl DescribeDomainControllersFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl DescribeDomainControllersFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::describe_domain_controllers::DescribeDomainControllers, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::describe_domain_controllers::DescribeDomainControllersError, + >, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::describe_domain_controllers::paginator::DescribeDomainControllersPaginator::send) which returns a `Stream`. diff --git a/sdk/directory/src/operation/describe_event_topics/builders.rs b/sdk/directory/src/operation/describe_event_topics/builders.rs index e394e02417fc..4fa713d399a4 100644 --- a/sdk/directory/src/operation/describe_event_topics/builders.rs +++ b/sdk/directory/src/operation/describe_event_topics/builders.rs @@ -20,9 +20,9 @@ impl DescribeEventTopicsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -84,6 +84,22 @@ impl DescribeEventTopicsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::describe_event_topics::DescribeEventTopics, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::describe_event_topics::DescribeEventTopicsError, + >, + > { + self.customize_middleware().await + } ///

                                        The Directory ID for which to get the list of associated Amazon SNS topics. If this member is null, associations for all Directory IDs are returned.

                                        pub fn directory_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.directory_id(input.into()); diff --git a/sdk/directory/src/operation/describe_ldaps_settings/builders.rs b/sdk/directory/src/operation/describe_ldaps_settings/builders.rs index a0ad8188d84c..f0d630e1a3b0 100644 --- a/sdk/directory/src/operation/describe_ldaps_settings/builders.rs +++ b/sdk/directory/src/operation/describe_ldaps_settings/builders.rs @@ -19,9 +19,9 @@ impl DescribeLDAPSSettingsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl DescribeLDAPSSettingsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::describe_ldaps_settings::DescribeLDAPSSettings, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::describe_ldaps_settings::DescribeLDAPSSettingsError, + >, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::describe_ldaps_settings::paginator::DescribeLdapsSettingsPaginator::send) which returns a `Stream`. diff --git a/sdk/directory/src/operation/describe_regions/builders.rs b/sdk/directory/src/operation/describe_regions/builders.rs index 662221efa58e..2f9c803ba35e 100644 --- a/sdk/directory/src/operation/describe_regions/builders.rs +++ b/sdk/directory/src/operation/describe_regions/builders.rs @@ -19,9 +19,9 @@ impl DescribeRegionsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl DescribeRegionsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::describe_regions::DescribeRegions, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::describe_regions::DescribeRegionsError, + >, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::describe_regions::paginator::DescribeRegionsPaginator::send) which returns a `Stream`. diff --git a/sdk/directory/src/operation/describe_settings/builders.rs b/sdk/directory/src/operation/describe_settings/builders.rs index 530a31935adb..292c8eeb383d 100644 --- a/sdk/directory/src/operation/describe_settings/builders.rs +++ b/sdk/directory/src/operation/describe_settings/builders.rs @@ -19,9 +19,9 @@ impl DescribeSettingsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl DescribeSettingsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::describe_settings::DescribeSettings, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::describe_settings::DescribeSettingsError, + >, + > { + self.customize_middleware().await + } ///

                                        The identifier of the directory for which to retrieve information.

                                        pub fn directory_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.directory_id(input.into()); diff --git a/sdk/directory/src/operation/describe_shared_directories/builders.rs b/sdk/directory/src/operation/describe_shared_directories/builders.rs index 7075abeff73c..3577446df419 100644 --- a/sdk/directory/src/operation/describe_shared_directories/builders.rs +++ b/sdk/directory/src/operation/describe_shared_directories/builders.rs @@ -19,9 +19,9 @@ impl DescribeSharedDirectoriesFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl DescribeSharedDirectoriesFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::describe_shared_directories::DescribeSharedDirectories, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::describe_shared_directories::DescribeSharedDirectoriesError, + >, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::describe_shared_directories::paginator::DescribeSharedDirectoriesPaginator::send) which returns a `Stream`. diff --git a/sdk/directory/src/operation/describe_snapshots/builders.rs b/sdk/directory/src/operation/describe_snapshots/builders.rs index 5cff0459ab1b..d7935748e65a 100644 --- a/sdk/directory/src/operation/describe_snapshots/builders.rs +++ b/sdk/directory/src/operation/describe_snapshots/builders.rs @@ -21,9 +21,9 @@ impl DescribeSnapshotsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -85,6 +85,22 @@ impl DescribeSnapshotsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::describe_snapshots::DescribeSnapshots, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::describe_snapshots::DescribeSnapshotsError, + >, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::describe_snapshots::paginator::DescribeSnapshotsPaginator::send) which returns a `Stream`. diff --git a/sdk/directory/src/operation/describe_trusts/builders.rs b/sdk/directory/src/operation/describe_trusts/builders.rs index 3254e290a2e7..8d0cb3a703b3 100644 --- a/sdk/directory/src/operation/describe_trusts/builders.rs +++ b/sdk/directory/src/operation/describe_trusts/builders.rs @@ -20,9 +20,9 @@ impl DescribeTrustsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -78,6 +78,20 @@ impl DescribeTrustsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::describe_trusts::DescribeTrusts, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::describe_trusts::paginator::DescribeTrustsPaginator::send) which returns a `Stream`. diff --git a/sdk/directory/src/operation/describe_update_directory/builders.rs b/sdk/directory/src/operation/describe_update_directory/builders.rs index 48e0a1491933..d940e47d97c9 100644 --- a/sdk/directory/src/operation/describe_update_directory/builders.rs +++ b/sdk/directory/src/operation/describe_update_directory/builders.rs @@ -20,9 +20,9 @@ impl DescribeUpdateDirectoryFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -84,6 +84,22 @@ impl DescribeUpdateDirectoryFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::describe_update_directory::DescribeUpdateDirectory, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::describe_update_directory::DescribeUpdateDirectoryError, + >, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::describe_update_directory::paginator::DescribeUpdateDirectoryPaginator::send) which returns a `Stream`. diff --git a/sdk/directory/src/operation/disable_client_authentication/builders.rs b/sdk/directory/src/operation/disable_client_authentication/builders.rs index db6f80f02efd..37566378808e 100644 --- a/sdk/directory/src/operation/disable_client_authentication/builders.rs +++ b/sdk/directory/src/operation/disable_client_authentication/builders.rs @@ -19,9 +19,9 @@ impl DisableClientAuthenticationFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl DisableClientAuthenticationFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::disable_client_authentication::DisableClientAuthentication, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::disable_client_authentication::DisableClientAuthenticationError, + >, + > { + self.customize_middleware().await + } ///

                                        The identifier of the directory

                                        pub fn directory_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.directory_id(input.into()); diff --git a/sdk/directory/src/operation/disable_ldaps/builders.rs b/sdk/directory/src/operation/disable_ldaps/builders.rs index fd31dd9edd2e..c5617a3d9b71 100644 --- a/sdk/directory/src/operation/disable_ldaps/builders.rs +++ b/sdk/directory/src/operation/disable_ldaps/builders.rs @@ -19,9 +19,9 @@ impl DisableLDAPSFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl DisableLDAPSFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::disable_ldaps::DisableLDAPS, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                        The identifier of the directory.

                                        pub fn directory_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.directory_id(input.into()); diff --git a/sdk/directory/src/operation/disable_radius/builders.rs b/sdk/directory/src/operation/disable_radius/builders.rs index ece4620e5e5b..725ba931cd48 100644 --- a/sdk/directory/src/operation/disable_radius/builders.rs +++ b/sdk/directory/src/operation/disable_radius/builders.rs @@ -19,9 +19,9 @@ impl DisableRadiusFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl DisableRadiusFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::disable_radius::DisableRadius, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                        The identifier of the directory for which to disable MFA.

                                        pub fn directory_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.directory_id(input.into()); diff --git a/sdk/directory/src/operation/disable_sso/builders.rs b/sdk/directory/src/operation/disable_sso/builders.rs index 8cdf16afe902..cc2ecce6967a 100644 --- a/sdk/directory/src/operation/disable_sso/builders.rs +++ b/sdk/directory/src/operation/disable_sso/builders.rs @@ -19,9 +19,9 @@ impl DisableSsoFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl DisableSsoFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::disable_sso::DisableSso, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                        The identifier of the directory for which to disable single-sign on.

                                        pub fn directory_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.directory_id(input.into()); diff --git a/sdk/directory/src/operation/enable_client_authentication/builders.rs b/sdk/directory/src/operation/enable_client_authentication/builders.rs index 6b74f51d976d..1c23a4e697c4 100644 --- a/sdk/directory/src/operation/enable_client_authentication/builders.rs +++ b/sdk/directory/src/operation/enable_client_authentication/builders.rs @@ -19,9 +19,9 @@ impl EnableClientAuthenticationFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl EnableClientAuthenticationFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::enable_client_authentication::EnableClientAuthentication, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::enable_client_authentication::EnableClientAuthenticationError, + >, + > { + self.customize_middleware().await + } ///

                                        The identifier of the specified directory.

                                        pub fn directory_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.directory_id(input.into()); diff --git a/sdk/directory/src/operation/enable_ldaps/builders.rs b/sdk/directory/src/operation/enable_ldaps/builders.rs index 74929d5e4d71..7bee04174dcf 100644 --- a/sdk/directory/src/operation/enable_ldaps/builders.rs +++ b/sdk/directory/src/operation/enable_ldaps/builders.rs @@ -19,9 +19,9 @@ impl EnableLDAPSFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl EnableLDAPSFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::enable_ldaps::EnableLDAPS, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                        The identifier of the directory.

                                        pub fn directory_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.directory_id(input.into()); diff --git a/sdk/directory/src/operation/enable_radius/builders.rs b/sdk/directory/src/operation/enable_radius/builders.rs index 42a9d5f3c03c..17183e2f2109 100644 --- a/sdk/directory/src/operation/enable_radius/builders.rs +++ b/sdk/directory/src/operation/enable_radius/builders.rs @@ -19,9 +19,9 @@ impl EnableRadiusFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl EnableRadiusFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::enable_radius::EnableRadius, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                        The identifier of the directory for which to enable MFA.

                                        pub fn directory_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.directory_id(input.into()); diff --git a/sdk/directory/src/operation/enable_sso/builders.rs b/sdk/directory/src/operation/enable_sso/builders.rs index 3a1fcb8134c9..70e42a61a198 100644 --- a/sdk/directory/src/operation/enable_sso/builders.rs +++ b/sdk/directory/src/operation/enable_sso/builders.rs @@ -19,9 +19,9 @@ impl EnableSsoFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl EnableSsoFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::enable_sso::EnableSso, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                        The identifier of the directory for which to enable single-sign on.

                                        pub fn directory_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.directory_id(input.into()); diff --git a/sdk/directory/src/operation/get_directory_limits/builders.rs b/sdk/directory/src/operation/get_directory_limits/builders.rs index cad5cc1ac660..5f91157fe895 100644 --- a/sdk/directory/src/operation/get_directory_limits/builders.rs +++ b/sdk/directory/src/operation/get_directory_limits/builders.rs @@ -19,9 +19,9 @@ impl GetDirectoryLimitsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,4 +83,20 @@ impl GetDirectoryLimitsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::get_directory_limits::GetDirectoryLimits, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::get_directory_limits::GetDirectoryLimitsError, + >, + > { + self.customize_middleware().await + } } diff --git a/sdk/directory/src/operation/get_snapshot_limits/builders.rs b/sdk/directory/src/operation/get_snapshot_limits/builders.rs index 50cb40073275..c066d8cc87dc 100644 --- a/sdk/directory/src/operation/get_snapshot_limits/builders.rs +++ b/sdk/directory/src/operation/get_snapshot_limits/builders.rs @@ -19,9 +19,9 @@ impl GetSnapshotLimitsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl GetSnapshotLimitsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::get_snapshot_limits::GetSnapshotLimits, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::get_snapshot_limits::GetSnapshotLimitsError, + >, + > { + self.customize_middleware().await + } ///

                                        Contains the identifier of the directory to obtain the limits for.

                                        pub fn directory_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.directory_id(input.into()); diff --git a/sdk/directory/src/operation/list_certificates/builders.rs b/sdk/directory/src/operation/list_certificates/builders.rs index 2225dbbec8b1..e6e912f292c2 100644 --- a/sdk/directory/src/operation/list_certificates/builders.rs +++ b/sdk/directory/src/operation/list_certificates/builders.rs @@ -19,9 +19,9 @@ impl ListCertificatesFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl ListCertificatesFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_certificates::ListCertificates, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::list_certificates::ListCertificatesError, + >, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::list_certificates::paginator::ListCertificatesPaginator::send) which returns a `Stream`. diff --git a/sdk/directory/src/operation/list_ip_routes/builders.rs b/sdk/directory/src/operation/list_ip_routes/builders.rs index 666885ef8499..059755f83281 100644 --- a/sdk/directory/src/operation/list_ip_routes/builders.rs +++ b/sdk/directory/src/operation/list_ip_routes/builders.rs @@ -19,9 +19,9 @@ impl ListIpRoutesFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl ListIpRoutesFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_ip_routes::ListIpRoutes, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::list_ip_routes::paginator::ListIpRoutesPaginator::send) which returns a `Stream`. diff --git a/sdk/directory/src/operation/list_log_subscriptions/builders.rs b/sdk/directory/src/operation/list_log_subscriptions/builders.rs index 6f5a005dd8c8..3a7e6be72498 100644 --- a/sdk/directory/src/operation/list_log_subscriptions/builders.rs +++ b/sdk/directory/src/operation/list_log_subscriptions/builders.rs @@ -19,9 +19,9 @@ impl ListLogSubscriptionsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl ListLogSubscriptionsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_log_subscriptions::ListLogSubscriptions, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::list_log_subscriptions::ListLogSubscriptionsError, + >, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::list_log_subscriptions::paginator::ListLogSubscriptionsPaginator::send) which returns a `Stream`. diff --git a/sdk/directory/src/operation/list_schema_extensions/builders.rs b/sdk/directory/src/operation/list_schema_extensions/builders.rs index 7745507f02b9..74d98779f9fa 100644 --- a/sdk/directory/src/operation/list_schema_extensions/builders.rs +++ b/sdk/directory/src/operation/list_schema_extensions/builders.rs @@ -19,9 +19,9 @@ impl ListSchemaExtensionsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl ListSchemaExtensionsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_schema_extensions::ListSchemaExtensions, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::list_schema_extensions::ListSchemaExtensionsError, + >, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::list_schema_extensions::paginator::ListSchemaExtensionsPaginator::send) which returns a `Stream`. diff --git a/sdk/directory/src/operation/list_tags_for_resource/builders.rs b/sdk/directory/src/operation/list_tags_for_resource/builders.rs index 33e98b38a1fc..d58f0630f1af 100644 --- a/sdk/directory/src/operation/list_tags_for_resource/builders.rs +++ b/sdk/directory/src/operation/list_tags_for_resource/builders.rs @@ -19,9 +19,9 @@ impl ListTagsForResourceFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl ListTagsForResourceFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_tags_for_resource::ListTagsForResource, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::list_tags_for_resource::ListTagsForResourceError, + >, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::list_tags_for_resource::paginator::ListTagsForResourcePaginator::send) which returns a `Stream`. diff --git a/sdk/directory/src/operation/register_certificate/builders.rs b/sdk/directory/src/operation/register_certificate/builders.rs index ff84e2a0dfe3..cc7e2e7d80e9 100644 --- a/sdk/directory/src/operation/register_certificate/builders.rs +++ b/sdk/directory/src/operation/register_certificate/builders.rs @@ -19,9 +19,9 @@ impl RegisterCertificateFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl RegisterCertificateFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::register_certificate::RegisterCertificate, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::register_certificate::RegisterCertificateError, + >, + > { + self.customize_middleware().await + } ///

                                        The identifier of the directory.

                                        pub fn directory_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.directory_id(input.into()); diff --git a/sdk/directory/src/operation/register_event_topic/builders.rs b/sdk/directory/src/operation/register_event_topic/builders.rs index 1ec2ba8cc74f..f99c7a9041bd 100644 --- a/sdk/directory/src/operation/register_event_topic/builders.rs +++ b/sdk/directory/src/operation/register_event_topic/builders.rs @@ -19,9 +19,9 @@ impl RegisterEventTopicFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl RegisterEventTopicFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::register_event_topic::RegisterEventTopic, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::register_event_topic::RegisterEventTopicError, + >, + > { + self.customize_middleware().await + } ///

                                        The Directory ID that will publish status messages to the Amazon SNS topic.

                                        pub fn directory_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.directory_id(input.into()); diff --git a/sdk/directory/src/operation/reject_shared_directory/builders.rs b/sdk/directory/src/operation/reject_shared_directory/builders.rs index e27b9d540eb9..0f1b555c4d35 100644 --- a/sdk/directory/src/operation/reject_shared_directory/builders.rs +++ b/sdk/directory/src/operation/reject_shared_directory/builders.rs @@ -19,9 +19,9 @@ impl RejectSharedDirectoryFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl RejectSharedDirectoryFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::reject_shared_directory::RejectSharedDirectory, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::reject_shared_directory::RejectSharedDirectoryError, + >, + > { + self.customize_middleware().await + } ///

                                        Identifier of the shared directory in the directory consumer account. This identifier is different for each directory owner account.

                                        pub fn shared_directory_id( mut self, diff --git a/sdk/directory/src/operation/remove_ip_routes/builders.rs b/sdk/directory/src/operation/remove_ip_routes/builders.rs index 419ea16c4496..4388197c6375 100644 --- a/sdk/directory/src/operation/remove_ip_routes/builders.rs +++ b/sdk/directory/src/operation/remove_ip_routes/builders.rs @@ -19,9 +19,9 @@ impl RemoveIpRoutesFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl RemoveIpRoutesFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::remove_ip_routes::RemoveIpRoutes, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::remove_ip_routes::RemoveIpRoutesError, + >, + > { + self.customize_middleware().await + } ///

                                        Identifier (ID) of the directory from which you want to remove the IP addresses.

                                        pub fn directory_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.directory_id(input.into()); diff --git a/sdk/directory/src/operation/remove_region/builders.rs b/sdk/directory/src/operation/remove_region/builders.rs index 29c1c68fcc30..30c1c047556c 100644 --- a/sdk/directory/src/operation/remove_region/builders.rs +++ b/sdk/directory/src/operation/remove_region/builders.rs @@ -19,9 +19,9 @@ impl RemoveRegionFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl RemoveRegionFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::remove_region::RemoveRegion, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                        The identifier of the directory for which you want to remove Region replication.

                                        pub fn directory_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.directory_id(input.into()); diff --git a/sdk/directory/src/operation/remove_tags_from_resource/builders.rs b/sdk/directory/src/operation/remove_tags_from_resource/builders.rs index c26ec9a34a3b..aa5eebb2a2ac 100644 --- a/sdk/directory/src/operation/remove_tags_from_resource/builders.rs +++ b/sdk/directory/src/operation/remove_tags_from_resource/builders.rs @@ -20,9 +20,9 @@ impl RemoveTagsFromResourceFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -84,6 +84,22 @@ impl RemoveTagsFromResourceFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::remove_tags_from_resource::RemoveTagsFromResource, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::remove_tags_from_resource::RemoveTagsFromResourceError, + >, + > { + self.customize_middleware().await + } ///

                                        Identifier (ID) of the directory from which to remove the tag.

                                        pub fn resource_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.resource_id(input.into()); diff --git a/sdk/directory/src/operation/reset_user_password/builders.rs b/sdk/directory/src/operation/reset_user_password/builders.rs index 49a28c7d792e..c592c9c1f3b8 100644 --- a/sdk/directory/src/operation/reset_user_password/builders.rs +++ b/sdk/directory/src/operation/reset_user_password/builders.rs @@ -24,9 +24,9 @@ impl ResetUserPasswordFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -88,6 +88,22 @@ impl ResetUserPasswordFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::reset_user_password::ResetUserPassword, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::reset_user_password::ResetUserPasswordError, + >, + > { + self.customize_middleware().await + } ///

                                        Identifier of the Managed Microsoft AD or Simple AD directory in which the user resides.

                                        pub fn directory_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.directory_id(input.into()); diff --git a/sdk/directory/src/operation/restore_from_snapshot/builders.rs b/sdk/directory/src/operation/restore_from_snapshot/builders.rs index 519e38c4fd38..7e2408e6b67c 100644 --- a/sdk/directory/src/operation/restore_from_snapshot/builders.rs +++ b/sdk/directory/src/operation/restore_from_snapshot/builders.rs @@ -21,9 +21,9 @@ impl RestoreFromSnapshotFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -85,6 +85,22 @@ impl RestoreFromSnapshotFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::restore_from_snapshot::RestoreFromSnapshot, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::restore_from_snapshot::RestoreFromSnapshotError, + >, + > { + self.customize_middleware().await + } ///

                                        The identifier of the snapshot to restore from.

                                        pub fn snapshot_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.snapshot_id(input.into()); diff --git a/sdk/directory/src/operation/share_directory/builders.rs b/sdk/directory/src/operation/share_directory/builders.rs index b546ae83a986..091296a85f52 100644 --- a/sdk/directory/src/operation/share_directory/builders.rs +++ b/sdk/directory/src/operation/share_directory/builders.rs @@ -22,9 +22,9 @@ impl ShareDirectoryFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -80,6 +80,20 @@ impl ShareDirectoryFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::share_directory::ShareDirectory, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                        Identifier of the Managed Microsoft AD directory that you want to share with other Amazon Web Services accounts.

                                        pub fn directory_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.directory_id(input.into()); diff --git a/sdk/directory/src/operation/start_schema_extension/builders.rs b/sdk/directory/src/operation/start_schema_extension/builders.rs index b24befd33522..627e7e3199bf 100644 --- a/sdk/directory/src/operation/start_schema_extension/builders.rs +++ b/sdk/directory/src/operation/start_schema_extension/builders.rs @@ -19,9 +19,9 @@ impl StartSchemaExtensionFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl StartSchemaExtensionFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::start_schema_extension::StartSchemaExtension, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::start_schema_extension::StartSchemaExtensionError, + >, + > { + self.customize_middleware().await + } ///

                                        The identifier of the directory for which the schema extension will be applied to.

                                        pub fn directory_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.directory_id(input.into()); diff --git a/sdk/directory/src/operation/unshare_directory/builders.rs b/sdk/directory/src/operation/unshare_directory/builders.rs index ea19f178f52e..9e705d8cf37b 100644 --- a/sdk/directory/src/operation/unshare_directory/builders.rs +++ b/sdk/directory/src/operation/unshare_directory/builders.rs @@ -19,9 +19,9 @@ impl UnshareDirectoryFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl UnshareDirectoryFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::unshare_directory::UnshareDirectory, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::unshare_directory::UnshareDirectoryError, + >, + > { + self.customize_middleware().await + } ///

                                        The identifier of the Managed Microsoft AD directory that you want to stop sharing.

                                        pub fn directory_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.directory_id(input.into()); diff --git a/sdk/directory/src/operation/update_conditional_forwarder/builders.rs b/sdk/directory/src/operation/update_conditional_forwarder/builders.rs index d49d9d7454f0..7d367af718ce 100644 --- a/sdk/directory/src/operation/update_conditional_forwarder/builders.rs +++ b/sdk/directory/src/operation/update_conditional_forwarder/builders.rs @@ -19,9 +19,9 @@ impl UpdateConditionalForwarderFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl UpdateConditionalForwarderFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::update_conditional_forwarder::UpdateConditionalForwarder, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::update_conditional_forwarder::UpdateConditionalForwarderError, + >, + > { + self.customize_middleware().await + } ///

                                        The directory ID of the Amazon Web Services directory for which to update the conditional forwarder.

                                        pub fn directory_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.directory_id(input.into()); diff --git a/sdk/directory/src/operation/update_directory_setup/builders.rs b/sdk/directory/src/operation/update_directory_setup/builders.rs index 3428eed7961f..8cd77cf90c19 100644 --- a/sdk/directory/src/operation/update_directory_setup/builders.rs +++ b/sdk/directory/src/operation/update_directory_setup/builders.rs @@ -19,9 +19,9 @@ impl UpdateDirectorySetupFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl UpdateDirectorySetupFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::update_directory_setup::UpdateDirectorySetup, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::update_directory_setup::UpdateDirectorySetupError, + >, + > { + self.customize_middleware().await + } ///

                                        The identifier of the directory on which you want to perform the update.

                                        pub fn directory_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.directory_id(input.into()); diff --git a/sdk/directory/src/operation/update_number_of_domain_controllers/builders.rs b/sdk/directory/src/operation/update_number_of_domain_controllers/builders.rs index 180575ba5291..e6cd5f7959f1 100644 --- a/sdk/directory/src/operation/update_number_of_domain_controllers/builders.rs +++ b/sdk/directory/src/operation/update_number_of_domain_controllers/builders.rs @@ -19,9 +19,9 @@ impl UpdateNumberOfDomainControllersFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize(self) -> ::std::result::Result< + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware(self) -> ::std::result::Result< crate::client::customize::CustomizableOperation, ::aws_smithy_http::result::SdkError >{ @@ -64,6 +64,15 @@ impl UpdateNumberOfDomainControllersFluentBuilder { { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize(self) -> ::std::result::Result< + crate::client::customize::CustomizableOperation, + ::aws_smithy_http::result::SdkError + >{ + self.customize_middleware().await + } ///

                                        Identifier of the directory to which the domain controllers will be added or removed.

                                        pub fn directory_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.directory_id(input.into()); diff --git a/sdk/directory/src/operation/update_radius/builders.rs b/sdk/directory/src/operation/update_radius/builders.rs index b68321fc0abe..324c9f70806a 100644 --- a/sdk/directory/src/operation/update_radius/builders.rs +++ b/sdk/directory/src/operation/update_radius/builders.rs @@ -19,9 +19,9 @@ impl UpdateRadiusFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl UpdateRadiusFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::update_radius::UpdateRadius, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                        The identifier of the directory for which to update the RADIUS server information.

                                        pub fn directory_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.directory_id(input.into()); diff --git a/sdk/directory/src/operation/update_settings/builders.rs b/sdk/directory/src/operation/update_settings/builders.rs index ed7305ec751b..165f787d9cef 100644 --- a/sdk/directory/src/operation/update_settings/builders.rs +++ b/sdk/directory/src/operation/update_settings/builders.rs @@ -19,9 +19,9 @@ impl UpdateSettingsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl UpdateSettingsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::update_settings::UpdateSettings, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                        The identifier of the directory for which to update settings.

                                        pub fn directory_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.directory_id(input.into()); diff --git a/sdk/directory/src/operation/update_trust/builders.rs b/sdk/directory/src/operation/update_trust/builders.rs index 90d2dfe192bc..2a64e2183911 100644 --- a/sdk/directory/src/operation/update_trust/builders.rs +++ b/sdk/directory/src/operation/update_trust/builders.rs @@ -19,9 +19,9 @@ impl UpdateTrustFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl UpdateTrustFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::update_trust::UpdateTrust, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                        Identifier of the trust relationship.

                                        pub fn trust_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.trust_id(input.into()); diff --git a/sdk/directory/src/operation/verify_trust/builders.rs b/sdk/directory/src/operation/verify_trust/builders.rs index d4b70628eccf..d6f2ad3bdc50 100644 --- a/sdk/directory/src/operation/verify_trust/builders.rs +++ b/sdk/directory/src/operation/verify_trust/builders.rs @@ -20,9 +20,9 @@ impl VerifyTrustFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -78,6 +78,20 @@ impl VerifyTrustFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::verify_trust::VerifyTrust, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                        The unique Trust ID of the trust relationship to verify.

                                        pub fn trust_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.trust_id(input.into()); diff --git a/sdk/dlm/src/operation/create_lifecycle_policy/builders.rs b/sdk/dlm/src/operation/create_lifecycle_policy/builders.rs index 3d2c86305328..1c24b97c1c28 100644 --- a/sdk/dlm/src/operation/create_lifecycle_policy/builders.rs +++ b/sdk/dlm/src/operation/create_lifecycle_policy/builders.rs @@ -19,9 +19,9 @@ impl CreateLifecyclePolicyFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl CreateLifecyclePolicyFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::create_lifecycle_policy::CreateLifecyclePolicy, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::create_lifecycle_policy::CreateLifecyclePolicyError, + >, + > { + self.customize_middleware().await + } ///

                                        The Amazon Resource Name (ARN) of the IAM role used to run the operations specified by the lifecycle policy.

                                        pub fn execution_role_arn( mut self, diff --git a/sdk/dlm/src/operation/delete_lifecycle_policy/builders.rs b/sdk/dlm/src/operation/delete_lifecycle_policy/builders.rs index 258389bb5167..ea9c38a9bcf9 100644 --- a/sdk/dlm/src/operation/delete_lifecycle_policy/builders.rs +++ b/sdk/dlm/src/operation/delete_lifecycle_policy/builders.rs @@ -20,9 +20,9 @@ impl DeleteLifecyclePolicyFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -84,6 +84,22 @@ impl DeleteLifecyclePolicyFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::delete_lifecycle_policy::DeleteLifecyclePolicy, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::delete_lifecycle_policy::DeleteLifecyclePolicyError, + >, + > { + self.customize_middleware().await + } ///

                                        The identifier of the lifecycle policy.

                                        pub fn policy_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.policy_id(input.into()); diff --git a/sdk/dlm/src/operation/get_lifecycle_policies/builders.rs b/sdk/dlm/src/operation/get_lifecycle_policies/builders.rs index 2a4375d59b5d..0e48a178aecb 100644 --- a/sdk/dlm/src/operation/get_lifecycle_policies/builders.rs +++ b/sdk/dlm/src/operation/get_lifecycle_policies/builders.rs @@ -20,9 +20,9 @@ impl GetLifecyclePoliciesFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -84,6 +84,22 @@ impl GetLifecyclePoliciesFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::get_lifecycle_policies::GetLifecyclePolicies, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::get_lifecycle_policies::GetLifecyclePoliciesError, + >, + > { + self.customize_middleware().await + } /// Appends an item to `PolicyIds`. /// /// To override the contents of this collection use [`set_policy_ids`](Self::set_policy_ids). diff --git a/sdk/dlm/src/operation/get_lifecycle_policy/builders.rs b/sdk/dlm/src/operation/get_lifecycle_policy/builders.rs index c86950c78fd4..60d753d2b307 100644 --- a/sdk/dlm/src/operation/get_lifecycle_policy/builders.rs +++ b/sdk/dlm/src/operation/get_lifecycle_policy/builders.rs @@ -19,9 +19,9 @@ impl GetLifecyclePolicyFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl GetLifecyclePolicyFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::get_lifecycle_policy::GetLifecyclePolicy, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::get_lifecycle_policy::GetLifecyclePolicyError, + >, + > { + self.customize_middleware().await + } ///

                                        The identifier of the lifecycle policy.

                                        pub fn policy_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.policy_id(input.into()); diff --git a/sdk/dlm/src/operation/list_tags_for_resource/builders.rs b/sdk/dlm/src/operation/list_tags_for_resource/builders.rs index c47c190d83b2..0a70d0c44010 100644 --- a/sdk/dlm/src/operation/list_tags_for_resource/builders.rs +++ b/sdk/dlm/src/operation/list_tags_for_resource/builders.rs @@ -19,9 +19,9 @@ impl ListTagsForResourceFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl ListTagsForResourceFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_tags_for_resource::ListTagsForResource, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::list_tags_for_resource::ListTagsForResourceError, + >, + > { + self.customize_middleware().await + } ///

                                        The Amazon Resource Name (ARN) of the resource.

                                        pub fn resource_arn(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.resource_arn(input.into()); diff --git a/sdk/dlm/src/operation/tag_resource/builders.rs b/sdk/dlm/src/operation/tag_resource/builders.rs index 6f72efca6154..a11b6dd74ad0 100644 --- a/sdk/dlm/src/operation/tag_resource/builders.rs +++ b/sdk/dlm/src/operation/tag_resource/builders.rs @@ -19,9 +19,9 @@ impl TagResourceFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl TagResourceFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::tag_resource::TagResource, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                        The Amazon Resource Name (ARN) of the resource.

                                        pub fn resource_arn(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.resource_arn(input.into()); diff --git a/sdk/dlm/src/operation/untag_resource/builders.rs b/sdk/dlm/src/operation/untag_resource/builders.rs index 9dc32ab40247..24a1848cfd2d 100644 --- a/sdk/dlm/src/operation/untag_resource/builders.rs +++ b/sdk/dlm/src/operation/untag_resource/builders.rs @@ -19,9 +19,9 @@ impl UntagResourceFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl UntagResourceFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::untag_resource::UntagResource, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                        The Amazon Resource Name (ARN) of the resource.

                                        pub fn resource_arn(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.resource_arn(input.into()); diff --git a/sdk/dlm/src/operation/update_lifecycle_policy/builders.rs b/sdk/dlm/src/operation/update_lifecycle_policy/builders.rs index 12cfd1567942..65423f816d26 100644 --- a/sdk/dlm/src/operation/update_lifecycle_policy/builders.rs +++ b/sdk/dlm/src/operation/update_lifecycle_policy/builders.rs @@ -20,9 +20,9 @@ impl UpdateLifecyclePolicyFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -84,6 +84,22 @@ impl UpdateLifecyclePolicyFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::update_lifecycle_policy::UpdateLifecyclePolicy, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::update_lifecycle_policy::UpdateLifecyclePolicyError, + >, + > { + self.customize_middleware().await + } ///

                                        The identifier of the lifecycle policy.

                                        pub fn policy_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.policy_id(input.into()); diff --git a/sdk/docdb/src/operation/add_source_identifier_to_subscription/builders.rs b/sdk/docdb/src/operation/add_source_identifier_to_subscription/builders.rs index 20e7457deaf3..a29b89307f5f 100644 --- a/sdk/docdb/src/operation/add_source_identifier_to_subscription/builders.rs +++ b/sdk/docdb/src/operation/add_source_identifier_to_subscription/builders.rs @@ -19,9 +19,9 @@ impl AddSourceIdentifierToSubscriptionFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize(self) -> ::std::result::Result< + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware(self) -> ::std::result::Result< crate::client::customize::CustomizableOperation, ::aws_smithy_http::result::SdkError >{ @@ -64,6 +64,15 @@ impl AddSourceIdentifierToSubscriptionFluentBuilder { { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize(self) -> ::std::result::Result< + crate::client::customize::CustomizableOperation, + ::aws_smithy_http::result::SdkError + >{ + self.customize_middleware().await + } ///

                                        The name of the Amazon DocumentDB event notification subscription that you want to add a source identifier to.

                                        pub fn subscription_name( mut self, diff --git a/sdk/docdb/src/operation/add_tags_to_resource/builders.rs b/sdk/docdb/src/operation/add_tags_to_resource/builders.rs index 49e5d63718b0..708aa7df9f8e 100644 --- a/sdk/docdb/src/operation/add_tags_to_resource/builders.rs +++ b/sdk/docdb/src/operation/add_tags_to_resource/builders.rs @@ -19,9 +19,9 @@ impl AddTagsToResourceFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl AddTagsToResourceFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::add_tags_to_resource::AddTagsToResource, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::add_tags_to_resource::AddTagsToResourceError, + >, + > { + self.customize_middleware().await + } ///

                                        The Amazon DocumentDB resource that the tags are added to. This value is an Amazon Resource Name .

                                        pub fn resource_name( mut self, diff --git a/sdk/docdb/src/operation/apply_pending_maintenance_action/builders.rs b/sdk/docdb/src/operation/apply_pending_maintenance_action/builders.rs index 3dadf7fac460..ae90b74baa16 100644 --- a/sdk/docdb/src/operation/apply_pending_maintenance_action/builders.rs +++ b/sdk/docdb/src/operation/apply_pending_maintenance_action/builders.rs @@ -19,9 +19,9 @@ impl ApplyPendingMaintenanceActionFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl ApplyPendingMaintenanceActionFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::apply_pending_maintenance_action::ApplyPendingMaintenanceAction, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::apply_pending_maintenance_action::ApplyPendingMaintenanceActionError, + >, + > { + self.customize_middleware().await + } ///

                                        The Amazon Resource Name (ARN) of the resource that the pending maintenance action applies to.

                                        pub fn resource_identifier( mut self, diff --git a/sdk/docdb/src/operation/copy_db_cluster_parameter_group/builders.rs b/sdk/docdb/src/operation/copy_db_cluster_parameter_group/builders.rs index 500398311ad0..e0d4c45e8914 100644 --- a/sdk/docdb/src/operation/copy_db_cluster_parameter_group/builders.rs +++ b/sdk/docdb/src/operation/copy_db_cluster_parameter_group/builders.rs @@ -19,9 +19,9 @@ impl CopyDBClusterParameterGroupFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl CopyDBClusterParameterGroupFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::copy_db_cluster_parameter_group::CopyDBClusterParameterGroup, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::copy_db_cluster_parameter_group::CopyDBClusterParameterGroupError, + >, + > { + self.customize_middleware().await + } ///

                                        The identifier or Amazon Resource Name (ARN) for the source cluster parameter group.

                                        ///

                                        Constraints:

                                        ///
                                          diff --git a/sdk/docdb/src/operation/copy_db_cluster_snapshot/builders.rs b/sdk/docdb/src/operation/copy_db_cluster_snapshot/builders.rs index e8c453891caa..48f83428c438 100644 --- a/sdk/docdb/src/operation/copy_db_cluster_snapshot/builders.rs +++ b/sdk/docdb/src/operation/copy_db_cluster_snapshot/builders.rs @@ -21,9 +21,9 @@ impl CopyDBClusterSnapshotFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -85,6 +85,22 @@ impl CopyDBClusterSnapshotFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::copy_db_cluster_snapshot::CopyDBClusterSnapshot, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::copy_db_cluster_snapshot::CopyDBClusterSnapshotError, + >, + > { + self.customize_middleware().await + } ///

                                          The identifier of the cluster snapshot to copy. This parameter is not case sensitive.

                                          ///

                                          Constraints:

                                          ///
                                            diff --git a/sdk/docdb/src/operation/create_db_cluster/builders.rs b/sdk/docdb/src/operation/create_db_cluster/builders.rs index 3efc4249da5f..3591e8680d0e 100644 --- a/sdk/docdb/src/operation/create_db_cluster/builders.rs +++ b/sdk/docdb/src/operation/create_db_cluster/builders.rs @@ -19,9 +19,9 @@ impl CreateDBClusterFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl CreateDBClusterFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::create_db_cluster::CreateDBCluster, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::create_db_cluster::CreateDBClusterError, + >, + > { + self.customize_middleware().await + } /// Appends an item to `AvailabilityZones`. /// /// To override the contents of this collection use [`set_availability_zones`](Self::set_availability_zones). diff --git a/sdk/docdb/src/operation/create_db_cluster_parameter_group/builders.rs b/sdk/docdb/src/operation/create_db_cluster_parameter_group/builders.rs index f37d20cab6e0..c09077ed407c 100644 --- a/sdk/docdb/src/operation/create_db_cluster_parameter_group/builders.rs +++ b/sdk/docdb/src/operation/create_db_cluster_parameter_group/builders.rs @@ -21,9 +21,9 @@ impl CreateDBClusterParameterGroupFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -85,6 +85,22 @@ impl CreateDBClusterParameterGroupFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::create_db_cluster_parameter_group::CreateDBClusterParameterGroup, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::create_db_cluster_parameter_group::CreateDBClusterParameterGroupError, + >, + > { + self.customize_middleware().await + } ///

                                            The name of the cluster parameter group.

                                            ///

                                            Constraints:

                                            ///
                                              diff --git a/sdk/docdb/src/operation/create_db_cluster_snapshot/builders.rs b/sdk/docdb/src/operation/create_db_cluster_snapshot/builders.rs index b323193f9124..e75fea9130bc 100644 --- a/sdk/docdb/src/operation/create_db_cluster_snapshot/builders.rs +++ b/sdk/docdb/src/operation/create_db_cluster_snapshot/builders.rs @@ -20,9 +20,9 @@ impl CreateDBClusterSnapshotFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -84,6 +84,22 @@ impl CreateDBClusterSnapshotFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::create_db_cluster_snapshot::CreateDBClusterSnapshot, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::create_db_cluster_snapshot::CreateDBClusterSnapshotError, + >, + > { + self.customize_middleware().await + } ///

                                              The identifier of the cluster snapshot. This parameter is stored as a lowercase string.

                                              ///

                                              Constraints:

                                              ///
                                                diff --git a/sdk/docdb/src/operation/create_db_instance/builders.rs b/sdk/docdb/src/operation/create_db_instance/builders.rs index 19b99746a2a5..412bbe2daf8a 100644 --- a/sdk/docdb/src/operation/create_db_instance/builders.rs +++ b/sdk/docdb/src/operation/create_db_instance/builders.rs @@ -19,9 +19,9 @@ impl CreateDBInstanceFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl CreateDBInstanceFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::create_db_instance::CreateDBInstance, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::create_db_instance::CreateDBInstanceError, + >, + > { + self.customize_middleware().await + } ///

                                                The instance identifier. This parameter is stored as a lowercase string.

                                                ///

                                                Constraints:

                                                ///
                                                  diff --git a/sdk/docdb/src/operation/create_db_subnet_group/builders.rs b/sdk/docdb/src/operation/create_db_subnet_group/builders.rs index 37e31e90a683..c51f1f44d7e9 100644 --- a/sdk/docdb/src/operation/create_db_subnet_group/builders.rs +++ b/sdk/docdb/src/operation/create_db_subnet_group/builders.rs @@ -19,9 +19,9 @@ impl CreateDBSubnetGroupFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl CreateDBSubnetGroupFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::create_db_subnet_group::CreateDBSubnetGroup, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::create_db_subnet_group::CreateDBSubnetGroupError, + >, + > { + self.customize_middleware().await + } ///

                                                  The name for the subnet group. This value is stored as a lowercase string.

                                                  ///

                                                  Constraints: Must contain no more than 255 letters, numbers, periods, underscores, spaces, or hyphens. Must not be default.

                                                  ///

                                                  Example: mySubnetgroup

                                                  diff --git a/sdk/docdb/src/operation/create_event_subscription/builders.rs b/sdk/docdb/src/operation/create_event_subscription/builders.rs index 2c5ecc89705f..88014430f7f0 100644 --- a/sdk/docdb/src/operation/create_event_subscription/builders.rs +++ b/sdk/docdb/src/operation/create_event_subscription/builders.rs @@ -22,9 +22,9 @@ impl CreateEventSubscriptionFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -86,6 +86,22 @@ impl CreateEventSubscriptionFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::create_event_subscription::CreateEventSubscription, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::create_event_subscription::CreateEventSubscriptionError, + >, + > { + self.customize_middleware().await + } ///

                                                  The name of the subscription.

                                                  ///

                                                  Constraints: The name must be fewer than 255 characters.

                                                  pub fn subscription_name( diff --git a/sdk/docdb/src/operation/create_global_cluster/builders.rs b/sdk/docdb/src/operation/create_global_cluster/builders.rs index 038d41ac7c61..78de0aca2913 100644 --- a/sdk/docdb/src/operation/create_global_cluster/builders.rs +++ b/sdk/docdb/src/operation/create_global_cluster/builders.rs @@ -23,9 +23,9 @@ impl CreateGlobalClusterFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -87,6 +87,22 @@ impl CreateGlobalClusterFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::create_global_cluster::CreateGlobalCluster, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::create_global_cluster::CreateGlobalClusterError, + >, + > { + self.customize_middleware().await + } ///

                                                  The cluster identifier of the new global cluster.

                                                  pub fn global_cluster_identifier( mut self, diff --git a/sdk/docdb/src/operation/delete_db_cluster/builders.rs b/sdk/docdb/src/operation/delete_db_cluster/builders.rs index 80595d604d8a..64c78f09d8c9 100644 --- a/sdk/docdb/src/operation/delete_db_cluster/builders.rs +++ b/sdk/docdb/src/operation/delete_db_cluster/builders.rs @@ -20,9 +20,9 @@ impl DeleteDBClusterFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -84,6 +84,22 @@ impl DeleteDBClusterFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::delete_db_cluster::DeleteDBCluster, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::delete_db_cluster::DeleteDBClusterError, + >, + > { + self.customize_middleware().await + } ///

                                                  The cluster identifier for the cluster to be deleted. This parameter isn't case sensitive.

                                                  ///

                                                  Constraints:

                                                  ///
                                                    diff --git a/sdk/docdb/src/operation/delete_db_cluster_parameter_group/builders.rs b/sdk/docdb/src/operation/delete_db_cluster_parameter_group/builders.rs index 23f89d2b5453..bef8c898e1d5 100644 --- a/sdk/docdb/src/operation/delete_db_cluster_parameter_group/builders.rs +++ b/sdk/docdb/src/operation/delete_db_cluster_parameter_group/builders.rs @@ -19,9 +19,9 @@ impl DeleteDBClusterParameterGroupFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl DeleteDBClusterParameterGroupFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::delete_db_cluster_parameter_group::DeleteDBClusterParameterGroup, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::delete_db_cluster_parameter_group::DeleteDBClusterParameterGroupError, + >, + > { + self.customize_middleware().await + } ///

                                                    The name of the cluster parameter group.

                                                    ///

                                                    Constraints:

                                                    ///
                                                      diff --git a/sdk/docdb/src/operation/delete_db_cluster_snapshot/builders.rs b/sdk/docdb/src/operation/delete_db_cluster_snapshot/builders.rs index 5937ff89048e..ab2e5bd319a4 100644 --- a/sdk/docdb/src/operation/delete_db_cluster_snapshot/builders.rs +++ b/sdk/docdb/src/operation/delete_db_cluster_snapshot/builders.rs @@ -22,9 +22,9 @@ impl DeleteDBClusterSnapshotFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -86,6 +86,22 @@ impl DeleteDBClusterSnapshotFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::delete_db_cluster_snapshot::DeleteDBClusterSnapshot, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::delete_db_cluster_snapshot::DeleteDBClusterSnapshotError, + >, + > { + self.customize_middleware().await + } ///

                                                      The identifier of the cluster snapshot to delete.

                                                      ///

                                                      Constraints: Must be the name of an existing cluster snapshot in the available state.

                                                      pub fn db_cluster_snapshot_identifier( diff --git a/sdk/docdb/src/operation/delete_db_instance/builders.rs b/sdk/docdb/src/operation/delete_db_instance/builders.rs index 16d6ba6b9d47..83412414d510 100644 --- a/sdk/docdb/src/operation/delete_db_instance/builders.rs +++ b/sdk/docdb/src/operation/delete_db_instance/builders.rs @@ -19,9 +19,9 @@ impl DeleteDBInstanceFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl DeleteDBInstanceFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::delete_db_instance::DeleteDBInstance, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::delete_db_instance::DeleteDBInstanceError, + >, + > { + self.customize_middleware().await + } ///

                                                      The instance identifier for the instance to be deleted. This parameter isn't case sensitive.

                                                      ///

                                                      Constraints:

                                                      ///
                                                        diff --git a/sdk/docdb/src/operation/delete_db_subnet_group/builders.rs b/sdk/docdb/src/operation/delete_db_subnet_group/builders.rs index cfe50f69a2de..1c5af4c6f366 100644 --- a/sdk/docdb/src/operation/delete_db_subnet_group/builders.rs +++ b/sdk/docdb/src/operation/delete_db_subnet_group/builders.rs @@ -21,9 +21,9 @@ impl DeleteDBSubnetGroupFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -85,6 +85,22 @@ impl DeleteDBSubnetGroupFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::delete_db_subnet_group::DeleteDBSubnetGroup, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::delete_db_subnet_group::DeleteDBSubnetGroupError, + >, + > { + self.customize_middleware().await + } ///

                                                        The name of the database subnet group to delete.

                                                        ///

                                                        You can't delete the default subnet group.

                                                        ///
                                                        diff --git a/sdk/docdb/src/operation/delete_event_subscription/builders.rs b/sdk/docdb/src/operation/delete_event_subscription/builders.rs index 882c8d1d75cd..e5b92ffb866d 100644 --- a/sdk/docdb/src/operation/delete_event_subscription/builders.rs +++ b/sdk/docdb/src/operation/delete_event_subscription/builders.rs @@ -20,9 +20,9 @@ impl DeleteEventSubscriptionFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -84,6 +84,22 @@ impl DeleteEventSubscriptionFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::delete_event_subscription::DeleteEventSubscription, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::delete_event_subscription::DeleteEventSubscriptionError, + >, + > { + self.customize_middleware().await + } ///

                                                        The name of the Amazon DocumentDB event notification subscription that you want to delete.

                                                        pub fn subscription_name( mut self, diff --git a/sdk/docdb/src/operation/delete_global_cluster/builders.rs b/sdk/docdb/src/operation/delete_global_cluster/builders.rs index ea48724e746c..d9cc844771a4 100644 --- a/sdk/docdb/src/operation/delete_global_cluster/builders.rs +++ b/sdk/docdb/src/operation/delete_global_cluster/builders.rs @@ -21,9 +21,9 @@ impl DeleteGlobalClusterFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -85,6 +85,22 @@ impl DeleteGlobalClusterFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::delete_global_cluster::DeleteGlobalCluster, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::delete_global_cluster::DeleteGlobalClusterError, + >, + > { + self.customize_middleware().await + } ///

                                                        The cluster identifier of the global cluster being deleted.

                                                        pub fn global_cluster_identifier( mut self, diff --git a/sdk/docdb/src/operation/describe_certificates/builders.rs b/sdk/docdb/src/operation/describe_certificates/builders.rs index 17e6592d60df..ce33fe39530b 100644 --- a/sdk/docdb/src/operation/describe_certificates/builders.rs +++ b/sdk/docdb/src/operation/describe_certificates/builders.rs @@ -19,9 +19,9 @@ impl DescribeCertificatesFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl DescribeCertificatesFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::describe_certificates::DescribeCertificates, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::describe_certificates::DescribeCertificatesError, + >, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::describe_certificates::paginator::DescribeCertificatesPaginator::send) which returns a `Stream`. diff --git a/sdk/docdb/src/operation/describe_db_cluster_parameter_groups/builders.rs b/sdk/docdb/src/operation/describe_db_cluster_parameter_groups/builders.rs index ffb069f2bd8f..b500fceeaece 100644 --- a/sdk/docdb/src/operation/describe_db_cluster_parameter_groups/builders.rs +++ b/sdk/docdb/src/operation/describe_db_cluster_parameter_groups/builders.rs @@ -19,9 +19,9 @@ impl DescribeDBClusterParameterGroupsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize(self) -> ::std::result::Result< + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware(self) -> ::std::result::Result< crate::client::customize::CustomizableOperation, ::aws_smithy_http::result::SdkError >{ @@ -64,6 +64,15 @@ impl DescribeDBClusterParameterGroupsFluentBuilder { { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize(self) -> ::std::result::Result< + crate::client::customize::CustomizableOperation, + ::aws_smithy_http::result::SdkError + >{ + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::describe_db_cluster_parameter_groups::paginator::DescribeDbClusterParameterGroupsPaginator::send) which returns a `Stream`. diff --git a/sdk/docdb/src/operation/describe_db_cluster_parameters/builders.rs b/sdk/docdb/src/operation/describe_db_cluster_parameters/builders.rs index cf5b744bcaa5..abe0e8d002c4 100644 --- a/sdk/docdb/src/operation/describe_db_cluster_parameters/builders.rs +++ b/sdk/docdb/src/operation/describe_db_cluster_parameters/builders.rs @@ -19,9 +19,9 @@ impl DescribeDBClusterParametersFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl DescribeDBClusterParametersFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::describe_db_cluster_parameters::DescribeDBClusterParameters, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::describe_db_cluster_parameters::DescribeDBClusterParametersError, + >, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::describe_db_cluster_parameters::paginator::DescribeDbClusterParametersPaginator::send) which returns a `Stream`. diff --git a/sdk/docdb/src/operation/describe_db_cluster_snapshot_attributes/builders.rs b/sdk/docdb/src/operation/describe_db_cluster_snapshot_attributes/builders.rs index b37f40e14b38..f3fd949c2749 100644 --- a/sdk/docdb/src/operation/describe_db_cluster_snapshot_attributes/builders.rs +++ b/sdk/docdb/src/operation/describe_db_cluster_snapshot_attributes/builders.rs @@ -20,9 +20,9 @@ impl DescribeDBClusterSnapshotAttributesFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize(self) -> ::std::result::Result< + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware(self) -> ::std::result::Result< crate::client::customize::CustomizableOperation, ::aws_smithy_http::result::SdkError >{ @@ -65,6 +65,15 @@ impl DescribeDBClusterSnapshotAttributesFluentBuilder { { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize(self) -> ::std::result::Result< + crate::client::customize::CustomizableOperation, + ::aws_smithy_http::result::SdkError + >{ + self.customize_middleware().await + } ///

                                                        The identifier for the cluster snapshot to describe the attributes for.

                                                        pub fn db_cluster_snapshot_identifier( mut self, diff --git a/sdk/docdb/src/operation/describe_db_cluster_snapshots/builders.rs b/sdk/docdb/src/operation/describe_db_cluster_snapshots/builders.rs index 87409b7bd128..1db7c03e2427 100644 --- a/sdk/docdb/src/operation/describe_db_cluster_snapshots/builders.rs +++ b/sdk/docdb/src/operation/describe_db_cluster_snapshots/builders.rs @@ -19,9 +19,9 @@ impl DescribeDBClusterSnapshotsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl DescribeDBClusterSnapshotsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::describe_db_cluster_snapshots::DescribeDBClusterSnapshots, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::describe_db_cluster_snapshots::DescribeDBClusterSnapshotsError, + >, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::describe_db_cluster_snapshots::paginator::DescribeDbClusterSnapshotsPaginator::send) which returns a `Stream`. diff --git a/sdk/docdb/src/operation/describe_db_clusters/builders.rs b/sdk/docdb/src/operation/describe_db_clusters/builders.rs index 5205fdcba942..07c9c2925e61 100644 --- a/sdk/docdb/src/operation/describe_db_clusters/builders.rs +++ b/sdk/docdb/src/operation/describe_db_clusters/builders.rs @@ -19,9 +19,9 @@ impl DescribeDBClustersFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl DescribeDBClustersFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::describe_db_clusters::DescribeDBClusters, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::describe_db_clusters::DescribeDBClustersError, + >, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::describe_db_clusters::paginator::DescribeDbClustersPaginator::send) which returns a `Stream`. diff --git a/sdk/docdb/src/operation/describe_db_engine_versions/builders.rs b/sdk/docdb/src/operation/describe_db_engine_versions/builders.rs index 90b14570c0ea..6d75d98c6a02 100644 --- a/sdk/docdb/src/operation/describe_db_engine_versions/builders.rs +++ b/sdk/docdb/src/operation/describe_db_engine_versions/builders.rs @@ -19,9 +19,9 @@ impl DescribeDBEngineVersionsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl DescribeDBEngineVersionsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::describe_db_engine_versions::DescribeDBEngineVersions, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::describe_db_engine_versions::DescribeDBEngineVersionsError, + >, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::describe_db_engine_versions::paginator::DescribeDbEngineVersionsPaginator::send) which returns a `Stream`. diff --git a/sdk/docdb/src/operation/describe_db_instances/builders.rs b/sdk/docdb/src/operation/describe_db_instances/builders.rs index ae53669ae607..98f6ec329db7 100644 --- a/sdk/docdb/src/operation/describe_db_instances/builders.rs +++ b/sdk/docdb/src/operation/describe_db_instances/builders.rs @@ -19,9 +19,9 @@ impl DescribeDBInstancesFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl DescribeDBInstancesFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::describe_db_instances::DescribeDBInstances, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::describe_db_instances::DescribeDBInstancesError, + >, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::describe_db_instances::paginator::DescribeDbInstancesPaginator::send) which returns a `Stream`. diff --git a/sdk/docdb/src/operation/describe_db_subnet_groups/builders.rs b/sdk/docdb/src/operation/describe_db_subnet_groups/builders.rs index 51c3faf038e1..4203ad5730ca 100644 --- a/sdk/docdb/src/operation/describe_db_subnet_groups/builders.rs +++ b/sdk/docdb/src/operation/describe_db_subnet_groups/builders.rs @@ -20,9 +20,9 @@ impl DescribeDBSubnetGroupsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -84,6 +84,22 @@ impl DescribeDBSubnetGroupsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::describe_db_subnet_groups::DescribeDBSubnetGroups, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::describe_db_subnet_groups::DescribeDBSubnetGroupsError, + >, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::describe_db_subnet_groups::paginator::DescribeDbSubnetGroupsPaginator::send) which returns a `Stream`. diff --git a/sdk/docdb/src/operation/describe_engine_default_cluster_parameters/builders.rs b/sdk/docdb/src/operation/describe_engine_default_cluster_parameters/builders.rs index d8fb72730d1d..bd668243b8ed 100644 --- a/sdk/docdb/src/operation/describe_engine_default_cluster_parameters/builders.rs +++ b/sdk/docdb/src/operation/describe_engine_default_cluster_parameters/builders.rs @@ -19,9 +19,9 @@ impl DescribeEngineDefaultClusterParametersFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize(self) -> ::std::result::Result< + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware(self) -> ::std::result::Result< crate::client::customize::CustomizableOperation, ::aws_smithy_http::result::SdkError >{ @@ -64,6 +64,15 @@ impl DescribeEngineDefaultClusterParametersFluentBuilder { { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize(self) -> ::std::result::Result< + crate::client::customize::CustomizableOperation, + ::aws_smithy_http::result::SdkError + >{ + self.customize_middleware().await + } ///

                                                        The name of the cluster parameter group family to return the engine parameter information for.

                                                        pub fn db_parameter_group_family( mut self, diff --git a/sdk/docdb/src/operation/describe_event_categories/builders.rs b/sdk/docdb/src/operation/describe_event_categories/builders.rs index b4c54dc29a76..c2b85064d45c 100644 --- a/sdk/docdb/src/operation/describe_event_categories/builders.rs +++ b/sdk/docdb/src/operation/describe_event_categories/builders.rs @@ -20,9 +20,9 @@ impl DescribeEventCategoriesFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -84,6 +84,22 @@ impl DescribeEventCategoriesFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::describe_event_categories::DescribeEventCategories, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::describe_event_categories::DescribeEventCategoriesError, + >, + > { + self.customize_middleware().await + } ///

                                                        The type of source that is generating the events.

                                                        ///

                                                        Valid values: db-instance, db-parameter-group, db-security-group

                                                        pub fn source_type(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { diff --git a/sdk/docdb/src/operation/describe_event_subscriptions/builders.rs b/sdk/docdb/src/operation/describe_event_subscriptions/builders.rs index 401ebcb1a2ea..f9ad354e085d 100644 --- a/sdk/docdb/src/operation/describe_event_subscriptions/builders.rs +++ b/sdk/docdb/src/operation/describe_event_subscriptions/builders.rs @@ -20,9 +20,9 @@ impl DescribeEventSubscriptionsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -84,6 +84,22 @@ impl DescribeEventSubscriptionsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::describe_event_subscriptions::DescribeEventSubscriptions, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::describe_event_subscriptions::DescribeEventSubscriptionsError, + >, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::describe_event_subscriptions::paginator::DescribeEventSubscriptionsPaginator::send) which returns a `Stream`. diff --git a/sdk/docdb/src/operation/describe_events/builders.rs b/sdk/docdb/src/operation/describe_events/builders.rs index 1832f8c2b797..c718e680a19c 100644 --- a/sdk/docdb/src/operation/describe_events/builders.rs +++ b/sdk/docdb/src/operation/describe_events/builders.rs @@ -19,9 +19,9 @@ impl DescribeEventsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl DescribeEventsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::describe_events::DescribeEvents, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::describe_events::paginator::DescribeEventsPaginator::send) which returns a `Stream`. diff --git a/sdk/docdb/src/operation/describe_global_clusters/builders.rs b/sdk/docdb/src/operation/describe_global_clusters/builders.rs index c2c6d3e60c3f..396d41bb78ec 100644 --- a/sdk/docdb/src/operation/describe_global_clusters/builders.rs +++ b/sdk/docdb/src/operation/describe_global_clusters/builders.rs @@ -21,9 +21,9 @@ impl DescribeGlobalClustersFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -85,6 +85,22 @@ impl DescribeGlobalClustersFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::describe_global_clusters::DescribeGlobalClusters, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::describe_global_clusters::DescribeGlobalClustersError, + >, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::describe_global_clusters::paginator::DescribeGlobalClustersPaginator::send) which returns a `Stream`. diff --git a/sdk/docdb/src/operation/describe_orderable_db_instance_options/builders.rs b/sdk/docdb/src/operation/describe_orderable_db_instance_options/builders.rs index ec080b311a74..4aaba6edadab 100644 --- a/sdk/docdb/src/operation/describe_orderable_db_instance_options/builders.rs +++ b/sdk/docdb/src/operation/describe_orderable_db_instance_options/builders.rs @@ -19,9 +19,9 @@ impl DescribeOrderableDBInstanceOptionsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize(self) -> ::std::result::Result< + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware(self) -> ::std::result::Result< crate::client::customize::CustomizableOperation, ::aws_smithy_http::result::SdkError >{ @@ -64,6 +64,15 @@ impl DescribeOrderableDBInstanceOptionsFluentBuilder { { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize(self) -> ::std::result::Result< + crate::client::customize::CustomizableOperation, + ::aws_smithy_http::result::SdkError + >{ + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::describe_orderable_db_instance_options::paginator::DescribeOrderableDbInstanceOptionsPaginator::send) which returns a `Stream`. diff --git a/sdk/docdb/src/operation/describe_pending_maintenance_actions/builders.rs b/sdk/docdb/src/operation/describe_pending_maintenance_actions/builders.rs index 0a9f604df373..a96bc986179d 100644 --- a/sdk/docdb/src/operation/describe_pending_maintenance_actions/builders.rs +++ b/sdk/docdb/src/operation/describe_pending_maintenance_actions/builders.rs @@ -19,9 +19,9 @@ impl DescribePendingMaintenanceActionsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize(self) -> ::std::result::Result< + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware(self) -> ::std::result::Result< crate::client::customize::CustomizableOperation, ::aws_smithy_http::result::SdkError >{ @@ -64,6 +64,15 @@ impl DescribePendingMaintenanceActionsFluentBuilder { { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize(self) -> ::std::result::Result< + crate::client::customize::CustomizableOperation, + ::aws_smithy_http::result::SdkError + >{ + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::describe_pending_maintenance_actions::paginator::DescribePendingMaintenanceActionsPaginator::send) which returns a `Stream`. diff --git a/sdk/docdb/src/operation/failover_db_cluster/builders.rs b/sdk/docdb/src/operation/failover_db_cluster/builders.rs index 5548cafd2388..eb49d6b1ce0c 100644 --- a/sdk/docdb/src/operation/failover_db_cluster/builders.rs +++ b/sdk/docdb/src/operation/failover_db_cluster/builders.rs @@ -21,9 +21,9 @@ impl FailoverDBClusterFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -85,6 +85,22 @@ impl FailoverDBClusterFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::failover_db_cluster::FailoverDBCluster, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::failover_db_cluster::FailoverDBClusterError, + >, + > { + self.customize_middleware().await + } ///

                                                        A cluster identifier to force a failover for. This parameter is not case sensitive.

                                                        ///

                                                        Constraints:

                                                        ///
                                                          diff --git a/sdk/docdb/src/operation/list_tags_for_resource/builders.rs b/sdk/docdb/src/operation/list_tags_for_resource/builders.rs index 9f4f52961ce2..fb23c4b3ceaf 100644 --- a/sdk/docdb/src/operation/list_tags_for_resource/builders.rs +++ b/sdk/docdb/src/operation/list_tags_for_resource/builders.rs @@ -19,9 +19,9 @@ impl ListTagsForResourceFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl ListTagsForResourceFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_tags_for_resource::ListTagsForResource, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::list_tags_for_resource::ListTagsForResourceError, + >, + > { + self.customize_middleware().await + } ///

                                                          The Amazon DocumentDB resource with tags to be listed. This value is an Amazon Resource Name (ARN).

                                                          pub fn resource_name( mut self, diff --git a/sdk/docdb/src/operation/modify_db_cluster/builders.rs b/sdk/docdb/src/operation/modify_db_cluster/builders.rs index 2b1615d3a36b..8cbc35f779a1 100644 --- a/sdk/docdb/src/operation/modify_db_cluster/builders.rs +++ b/sdk/docdb/src/operation/modify_db_cluster/builders.rs @@ -19,9 +19,9 @@ impl ModifyDBClusterFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl ModifyDBClusterFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::modify_db_cluster::ModifyDBCluster, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::modify_db_cluster::ModifyDBClusterError, + >, + > { + self.customize_middleware().await + } ///

                                                          The cluster identifier for the cluster that is being modified. This parameter is not case sensitive.

                                                          ///

                                                          Constraints:

                                                          ///
                                                            diff --git a/sdk/docdb/src/operation/modify_db_cluster_parameter_group/builders.rs b/sdk/docdb/src/operation/modify_db_cluster_parameter_group/builders.rs index 1c88ae59f18c..009a17de7fac 100644 --- a/sdk/docdb/src/operation/modify_db_cluster_parameter_group/builders.rs +++ b/sdk/docdb/src/operation/modify_db_cluster_parameter_group/builders.rs @@ -23,9 +23,9 @@ impl ModifyDBClusterParameterGroupFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -87,6 +87,22 @@ impl ModifyDBClusterParameterGroupFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::modify_db_cluster_parameter_group::ModifyDBClusterParameterGroup, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::modify_db_cluster_parameter_group::ModifyDBClusterParameterGroupError, + >, + > { + self.customize_middleware().await + } ///

                                                            The name of the cluster parameter group to modify.

                                                            pub fn db_cluster_parameter_group_name( mut self, diff --git a/sdk/docdb/src/operation/modify_db_cluster_snapshot_attribute/builders.rs b/sdk/docdb/src/operation/modify_db_cluster_snapshot_attribute/builders.rs index f35acd32c4aa..330e1275f1fa 100644 --- a/sdk/docdb/src/operation/modify_db_cluster_snapshot_attribute/builders.rs +++ b/sdk/docdb/src/operation/modify_db_cluster_snapshot_attribute/builders.rs @@ -20,9 +20,9 @@ impl ModifyDBClusterSnapshotAttributeFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize(self) -> ::std::result::Result< + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware(self) -> ::std::result::Result< crate::client::customize::CustomizableOperation, ::aws_smithy_http::result::SdkError >{ @@ -65,6 +65,15 @@ impl ModifyDBClusterSnapshotAttributeFluentBuilder { { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize(self) -> ::std::result::Result< + crate::client::customize::CustomizableOperation, + ::aws_smithy_http::result::SdkError + >{ + self.customize_middleware().await + } ///

                                                            The identifier for the cluster snapshot to modify the attributes for.

                                                            pub fn db_cluster_snapshot_identifier( mut self, diff --git a/sdk/docdb/src/operation/modify_db_instance/builders.rs b/sdk/docdb/src/operation/modify_db_instance/builders.rs index 5c5d075a0127..3104d8b66030 100644 --- a/sdk/docdb/src/operation/modify_db_instance/builders.rs +++ b/sdk/docdb/src/operation/modify_db_instance/builders.rs @@ -19,9 +19,9 @@ impl ModifyDBInstanceFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl ModifyDBInstanceFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::modify_db_instance::ModifyDBInstance, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::modify_db_instance::ModifyDBInstanceError, + >, + > { + self.customize_middleware().await + } ///

                                                            The instance identifier. This value is stored as a lowercase string.

                                                            ///

                                                            Constraints:

                                                            ///
                                                              diff --git a/sdk/docdb/src/operation/modify_db_subnet_group/builders.rs b/sdk/docdb/src/operation/modify_db_subnet_group/builders.rs index 6d7c28b4dcb5..532bc20b1ece 100644 --- a/sdk/docdb/src/operation/modify_db_subnet_group/builders.rs +++ b/sdk/docdb/src/operation/modify_db_subnet_group/builders.rs @@ -19,9 +19,9 @@ impl ModifyDBSubnetGroupFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl ModifyDBSubnetGroupFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::modify_db_subnet_group::ModifyDBSubnetGroup, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::modify_db_subnet_group::ModifyDBSubnetGroupError, + >, + > { + self.customize_middleware().await + } ///

                                                              The name for the subnet group. This value is stored as a lowercase string. You can't modify the default subnet group.

                                                              ///

                                                              Constraints: Must match the name of an existing DBSubnetGroup. Must not be default.

                                                              ///

                                                              Example: mySubnetgroup

                                                              diff --git a/sdk/docdb/src/operation/modify_event_subscription/builders.rs b/sdk/docdb/src/operation/modify_event_subscription/builders.rs index 85912aba6850..42784c2ddf4f 100644 --- a/sdk/docdb/src/operation/modify_event_subscription/builders.rs +++ b/sdk/docdb/src/operation/modify_event_subscription/builders.rs @@ -20,9 +20,9 @@ impl ModifyEventSubscriptionFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -84,6 +84,22 @@ impl ModifyEventSubscriptionFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::modify_event_subscription::ModifyEventSubscription, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::modify_event_subscription::ModifyEventSubscriptionError, + >, + > { + self.customize_middleware().await + } ///

                                                              The name of the Amazon DocumentDB event notification subscription.

                                                              pub fn subscription_name( mut self, diff --git a/sdk/docdb/src/operation/modify_global_cluster/builders.rs b/sdk/docdb/src/operation/modify_global_cluster/builders.rs index 50c6942a25a3..e3b7c1eb0a79 100644 --- a/sdk/docdb/src/operation/modify_global_cluster/builders.rs +++ b/sdk/docdb/src/operation/modify_global_cluster/builders.rs @@ -21,9 +21,9 @@ impl ModifyGlobalClusterFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -85,6 +85,22 @@ impl ModifyGlobalClusterFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::modify_global_cluster::ModifyGlobalCluster, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::modify_global_cluster::ModifyGlobalClusterError, + >, + > { + self.customize_middleware().await + } ///

                                                              The identifier for the global cluster being modified. This parameter isn't case-sensitive.

                                                              ///

                                                              Constraints:

                                                              ///
                                                                diff --git a/sdk/docdb/src/operation/reboot_db_instance/builders.rs b/sdk/docdb/src/operation/reboot_db_instance/builders.rs index e19c8c7479ce..f33f3a7185b2 100644 --- a/sdk/docdb/src/operation/reboot_db_instance/builders.rs +++ b/sdk/docdb/src/operation/reboot_db_instance/builders.rs @@ -20,9 +20,9 @@ impl RebootDBInstanceFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -84,6 +84,22 @@ impl RebootDBInstanceFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::reboot_db_instance::RebootDBInstance, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::reboot_db_instance::RebootDBInstanceError, + >, + > { + self.customize_middleware().await + } ///

                                                                The instance identifier. This parameter is stored as a lowercase string.

                                                                ///

                                                                Constraints:

                                                                ///
                                                                  diff --git a/sdk/docdb/src/operation/remove_from_global_cluster/builders.rs b/sdk/docdb/src/operation/remove_from_global_cluster/builders.rs index ac462118a6de..ef850e009b83 100644 --- a/sdk/docdb/src/operation/remove_from_global_cluster/builders.rs +++ b/sdk/docdb/src/operation/remove_from_global_cluster/builders.rs @@ -22,9 +22,9 @@ impl RemoveFromGlobalClusterFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -86,6 +86,22 @@ impl RemoveFromGlobalClusterFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::remove_from_global_cluster::RemoveFromGlobalCluster, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::remove_from_global_cluster::RemoveFromGlobalClusterError, + >, + > { + self.customize_middleware().await + } ///

                                                                  The cluster identifier to detach from the Amazon DocumentDB global cluster.

                                                                  pub fn global_cluster_identifier( mut self, diff --git a/sdk/docdb/src/operation/remove_source_identifier_from_subscription/builders.rs b/sdk/docdb/src/operation/remove_source_identifier_from_subscription/builders.rs index b8f77d5e4332..0ab48da37110 100644 --- a/sdk/docdb/src/operation/remove_source_identifier_from_subscription/builders.rs +++ b/sdk/docdb/src/operation/remove_source_identifier_from_subscription/builders.rs @@ -19,9 +19,9 @@ impl RemoveSourceIdentifierFromSubscriptionFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize(self) -> ::std::result::Result< + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware(self) -> ::std::result::Result< crate::client::customize::CustomizableOperation, ::aws_smithy_http::result::SdkError >{ @@ -64,6 +64,15 @@ impl RemoveSourceIdentifierFromSubscriptionFluentBuilder { { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize(self) -> ::std::result::Result< + crate::client::customize::CustomizableOperation, + ::aws_smithy_http::result::SdkError + >{ + self.customize_middleware().await + } ///

                                                                  The name of the Amazon DocumentDB event notification subscription that you want to remove a source identifier from.

                                                                  pub fn subscription_name( mut self, diff --git a/sdk/docdb/src/operation/remove_tags_from_resource/builders.rs b/sdk/docdb/src/operation/remove_tags_from_resource/builders.rs index cb3c4cf57142..25bae1a04f5f 100644 --- a/sdk/docdb/src/operation/remove_tags_from_resource/builders.rs +++ b/sdk/docdb/src/operation/remove_tags_from_resource/builders.rs @@ -20,9 +20,9 @@ impl RemoveTagsFromResourceFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -84,6 +84,22 @@ impl RemoveTagsFromResourceFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::remove_tags_from_resource::RemoveTagsFromResource, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::remove_tags_from_resource::RemoveTagsFromResourceError, + >, + > { + self.customize_middleware().await + } ///

                                                                  The Amazon DocumentDB resource that the tags are removed from. This value is an Amazon Resource Name (ARN).

                                                                  pub fn resource_name( mut self, diff --git a/sdk/docdb/src/operation/reset_db_cluster_parameter_group/builders.rs b/sdk/docdb/src/operation/reset_db_cluster_parameter_group/builders.rs index d9e6e96a3442..4452825afe25 100644 --- a/sdk/docdb/src/operation/reset_db_cluster_parameter_group/builders.rs +++ b/sdk/docdb/src/operation/reset_db_cluster_parameter_group/builders.rs @@ -20,9 +20,9 @@ impl ResetDBClusterParameterGroupFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -84,6 +84,22 @@ impl ResetDBClusterParameterGroupFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::reset_db_cluster_parameter_group::ResetDBClusterParameterGroup, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::reset_db_cluster_parameter_group::ResetDBClusterParameterGroupError, + >, + > { + self.customize_middleware().await + } ///

                                                                  The name of the cluster parameter group to reset.

                                                                  pub fn db_cluster_parameter_group_name( mut self, diff --git a/sdk/docdb/src/operation/restore_db_cluster_from_snapshot/builders.rs b/sdk/docdb/src/operation/restore_db_cluster_from_snapshot/builders.rs index 6f489e32e987..fd53ae85b93d 100644 --- a/sdk/docdb/src/operation/restore_db_cluster_from_snapshot/builders.rs +++ b/sdk/docdb/src/operation/restore_db_cluster_from_snapshot/builders.rs @@ -21,9 +21,9 @@ impl RestoreDBClusterFromSnapshotFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -85,6 +85,22 @@ impl RestoreDBClusterFromSnapshotFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::restore_db_cluster_from_snapshot::RestoreDBClusterFromSnapshot, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::restore_db_cluster_from_snapshot::RestoreDBClusterFromSnapshotError, + >, + > { + self.customize_middleware().await + } /// Appends an item to `AvailabilityZones`. /// /// To override the contents of this collection use [`set_availability_zones`](Self::set_availability_zones). diff --git a/sdk/docdb/src/operation/restore_db_cluster_to_point_in_time/builders.rs b/sdk/docdb/src/operation/restore_db_cluster_to_point_in_time/builders.rs index 35ded9ffb66e..25b44eb3a489 100644 --- a/sdk/docdb/src/operation/restore_db_cluster_to_point_in_time/builders.rs +++ b/sdk/docdb/src/operation/restore_db_cluster_to_point_in_time/builders.rs @@ -19,9 +19,9 @@ impl RestoreDBClusterToPointInTimeFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize(self) -> ::std::result::Result< + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware(self) -> ::std::result::Result< crate::client::customize::CustomizableOperation, ::aws_smithy_http::result::SdkError >{ @@ -64,6 +64,15 @@ impl RestoreDBClusterToPointInTimeFluentBuilder { { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize(self) -> ::std::result::Result< + crate::client::customize::CustomizableOperation, + ::aws_smithy_http::result::SdkError + >{ + self.customize_middleware().await + } ///

                                                                  The name of the new cluster to be created.

                                                                  ///

                                                                  Constraints:

                                                                  ///
                                                                    diff --git a/sdk/docdb/src/operation/start_db_cluster/builders.rs b/sdk/docdb/src/operation/start_db_cluster/builders.rs index 8d88aa6a71b7..fa12452faf50 100644 --- a/sdk/docdb/src/operation/start_db_cluster/builders.rs +++ b/sdk/docdb/src/operation/start_db_cluster/builders.rs @@ -19,9 +19,9 @@ impl StartDBClusterFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl StartDBClusterFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::start_db_cluster::StartDBCluster, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::start_db_cluster::StartDBClusterError, + >, + > { + self.customize_middleware().await + } ///

                                                                    The identifier of the cluster to restart. Example: docdb-2019-05-28-15-24-52

                                                                    pub fn db_cluster_identifier( mut self, diff --git a/sdk/docdb/src/operation/stop_db_cluster/builders.rs b/sdk/docdb/src/operation/stop_db_cluster/builders.rs index 75a8a22520b4..5c4bc4014921 100644 --- a/sdk/docdb/src/operation/stop_db_cluster/builders.rs +++ b/sdk/docdb/src/operation/stop_db_cluster/builders.rs @@ -19,9 +19,9 @@ impl StopDBClusterFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl StopDBClusterFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::stop_db_cluster::StopDBCluster, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                    The identifier of the cluster to stop. Example: docdb-2019-05-28-15-24-52

                                                                    pub fn db_cluster_identifier( mut self, diff --git a/sdk/docdbelastic/src/operation/create_cluster/builders.rs b/sdk/docdbelastic/src/operation/create_cluster/builders.rs index 89d015df29b1..af2ac70b551a 100644 --- a/sdk/docdbelastic/src/operation/create_cluster/builders.rs +++ b/sdk/docdbelastic/src/operation/create_cluster/builders.rs @@ -19,9 +19,9 @@ impl CreateClusterFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl CreateClusterFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::create_cluster::CreateCluster, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                    The name of the new Elastic DocumentDB cluster. This parameter is stored as a lowercase string.

                                                                    ///

                                                                    Constraints:

                                                                    ///
                                                                      diff --git a/sdk/docdbelastic/src/operation/create_cluster_snapshot/builders.rs b/sdk/docdbelastic/src/operation/create_cluster_snapshot/builders.rs index 3f4fd18919f5..9c45d8e7e57f 100644 --- a/sdk/docdbelastic/src/operation/create_cluster_snapshot/builders.rs +++ b/sdk/docdbelastic/src/operation/create_cluster_snapshot/builders.rs @@ -19,9 +19,9 @@ impl CreateClusterSnapshotFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl CreateClusterSnapshotFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::create_cluster_snapshot::CreateClusterSnapshot, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::create_cluster_snapshot::CreateClusterSnapshotError, + >, + > { + self.customize_middleware().await + } ///

                                                                      The arn of the Elastic DocumentDB cluster that the snapshot will be taken from.

                                                                      pub fn cluster_arn(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.cluster_arn(input.into()); diff --git a/sdk/docdbelastic/src/operation/delete_cluster/builders.rs b/sdk/docdbelastic/src/operation/delete_cluster/builders.rs index 100a2ea1a745..11e680209a70 100644 --- a/sdk/docdbelastic/src/operation/delete_cluster/builders.rs +++ b/sdk/docdbelastic/src/operation/delete_cluster/builders.rs @@ -19,9 +19,9 @@ impl DeleteClusterFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl DeleteClusterFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::delete_cluster::DeleteCluster, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                      The arn of the Elastic DocumentDB cluster that is to be deleted.

                                                                      pub fn cluster_arn(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.cluster_arn(input.into()); diff --git a/sdk/docdbelastic/src/operation/delete_cluster_snapshot/builders.rs b/sdk/docdbelastic/src/operation/delete_cluster_snapshot/builders.rs index b0aadf5287e3..9cae15bf06f0 100644 --- a/sdk/docdbelastic/src/operation/delete_cluster_snapshot/builders.rs +++ b/sdk/docdbelastic/src/operation/delete_cluster_snapshot/builders.rs @@ -19,9 +19,9 @@ impl DeleteClusterSnapshotFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl DeleteClusterSnapshotFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::delete_cluster_snapshot::DeleteClusterSnapshot, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::delete_cluster_snapshot::DeleteClusterSnapshotError, + >, + > { + self.customize_middleware().await + } ///

                                                                      The arn of the Elastic DocumentDB snapshot that is to be deleted.

                                                                      pub fn snapshot_arn(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.snapshot_arn(input.into()); diff --git a/sdk/docdbelastic/src/operation/get_cluster/builders.rs b/sdk/docdbelastic/src/operation/get_cluster/builders.rs index 88abc748854a..af2f7bdda218 100644 --- a/sdk/docdbelastic/src/operation/get_cluster/builders.rs +++ b/sdk/docdbelastic/src/operation/get_cluster/builders.rs @@ -19,9 +19,9 @@ impl GetClusterFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl GetClusterFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::get_cluster::GetCluster, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                      The arn of the Elastic DocumentDB cluster.

                                                                      pub fn cluster_arn(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.cluster_arn(input.into()); diff --git a/sdk/docdbelastic/src/operation/get_cluster_snapshot/builders.rs b/sdk/docdbelastic/src/operation/get_cluster_snapshot/builders.rs index 6543b2fa6356..f14915fca557 100644 --- a/sdk/docdbelastic/src/operation/get_cluster_snapshot/builders.rs +++ b/sdk/docdbelastic/src/operation/get_cluster_snapshot/builders.rs @@ -19,9 +19,9 @@ impl GetClusterSnapshotFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl GetClusterSnapshotFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::get_cluster_snapshot::GetClusterSnapshot, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::get_cluster_snapshot::GetClusterSnapshotError, + >, + > { + self.customize_middleware().await + } ///

                                                                      The arn of the Elastic DocumentDB snapshot.

                                                                      pub fn snapshot_arn(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.snapshot_arn(input.into()); diff --git a/sdk/docdbelastic/src/operation/list_cluster_snapshots/builders.rs b/sdk/docdbelastic/src/operation/list_cluster_snapshots/builders.rs index 6b1b399a1d39..e724adf30c74 100644 --- a/sdk/docdbelastic/src/operation/list_cluster_snapshots/builders.rs +++ b/sdk/docdbelastic/src/operation/list_cluster_snapshots/builders.rs @@ -19,9 +19,9 @@ impl ListClusterSnapshotsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl ListClusterSnapshotsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_cluster_snapshots::ListClusterSnapshots, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::list_cluster_snapshots::ListClusterSnapshotsError, + >, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::list_cluster_snapshots::paginator::ListClusterSnapshotsPaginator::send) which returns a `Stream`. diff --git a/sdk/docdbelastic/src/operation/list_clusters/builders.rs b/sdk/docdbelastic/src/operation/list_clusters/builders.rs index 88f59a4aa3f9..73901f040b45 100644 --- a/sdk/docdbelastic/src/operation/list_clusters/builders.rs +++ b/sdk/docdbelastic/src/operation/list_clusters/builders.rs @@ -19,9 +19,9 @@ impl ListClustersFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl ListClustersFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_clusters::ListClusters, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::list_clusters::paginator::ListClustersPaginator::send) which returns a `Stream`. diff --git a/sdk/docdbelastic/src/operation/list_tags_for_resource/builders.rs b/sdk/docdbelastic/src/operation/list_tags_for_resource/builders.rs index 9501e287c145..e58225325da5 100644 --- a/sdk/docdbelastic/src/operation/list_tags_for_resource/builders.rs +++ b/sdk/docdbelastic/src/operation/list_tags_for_resource/builders.rs @@ -19,9 +19,9 @@ impl ListTagsForResourceFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl ListTagsForResourceFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_tags_for_resource::ListTagsForResource, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::list_tags_for_resource::ListTagsForResourceError, + >, + > { + self.customize_middleware().await + } ///

                                                                      The arn of the Elastic DocumentDB resource.

                                                                      pub fn resource_arn(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.resource_arn(input.into()); diff --git a/sdk/docdbelastic/src/operation/restore_cluster_from_snapshot/builders.rs b/sdk/docdbelastic/src/operation/restore_cluster_from_snapshot/builders.rs index 1d7a7ff33636..e0c2b9173c3d 100644 --- a/sdk/docdbelastic/src/operation/restore_cluster_from_snapshot/builders.rs +++ b/sdk/docdbelastic/src/operation/restore_cluster_from_snapshot/builders.rs @@ -19,9 +19,9 @@ impl RestoreClusterFromSnapshotFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl RestoreClusterFromSnapshotFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::restore_cluster_from_snapshot::RestoreClusterFromSnapshot, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::restore_cluster_from_snapshot::RestoreClusterFromSnapshotError, + >, + > { + self.customize_middleware().await + } ///

                                                                      The name of the Elastic DocumentDB cluster.

                                                                      pub fn cluster_name(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.cluster_name(input.into()); diff --git a/sdk/docdbelastic/src/operation/tag_resource/builders.rs b/sdk/docdbelastic/src/operation/tag_resource/builders.rs index ec0ff3497efc..e96710f9c07a 100644 --- a/sdk/docdbelastic/src/operation/tag_resource/builders.rs +++ b/sdk/docdbelastic/src/operation/tag_resource/builders.rs @@ -19,9 +19,9 @@ impl TagResourceFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl TagResourceFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::tag_resource::TagResource, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                      The arn of the Elastic DocumentDB resource.

                                                                      pub fn resource_arn(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.resource_arn(input.into()); diff --git a/sdk/docdbelastic/src/operation/untag_resource/builders.rs b/sdk/docdbelastic/src/operation/untag_resource/builders.rs index a33a22f3d88a..822710dc5a58 100644 --- a/sdk/docdbelastic/src/operation/untag_resource/builders.rs +++ b/sdk/docdbelastic/src/operation/untag_resource/builders.rs @@ -19,9 +19,9 @@ impl UntagResourceFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl UntagResourceFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::untag_resource::UntagResource, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                      The arn of the Elastic DocumentDB resource.

                                                                      pub fn resource_arn(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.resource_arn(input.into()); diff --git a/sdk/docdbelastic/src/operation/update_cluster/builders.rs b/sdk/docdbelastic/src/operation/update_cluster/builders.rs index e7981a73dee8..9a925a7ea5b7 100644 --- a/sdk/docdbelastic/src/operation/update_cluster/builders.rs +++ b/sdk/docdbelastic/src/operation/update_cluster/builders.rs @@ -19,9 +19,9 @@ impl UpdateClusterFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl UpdateClusterFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::update_cluster::UpdateCluster, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                      The arn of the Elastic DocumentDB cluster.

                                                                      pub fn cluster_arn(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.cluster_arn(input.into()); diff --git a/sdk/drs/src/operation/create_extended_source_server/builders.rs b/sdk/drs/src/operation/create_extended_source_server/builders.rs index 528e04006bde..1d434951137f 100644 --- a/sdk/drs/src/operation/create_extended_source_server/builders.rs +++ b/sdk/drs/src/operation/create_extended_source_server/builders.rs @@ -19,9 +19,9 @@ impl CreateExtendedSourceServerFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl CreateExtendedSourceServerFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::create_extended_source_server::CreateExtendedSourceServer, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::create_extended_source_server::CreateExtendedSourceServerError, + >, + > { + self.customize_middleware().await + } ///

                                                                      This defines the ARN of the source server in staging Account based on which you want to create an extended source server.

                                                                      pub fn source_server_arn( mut self, diff --git a/sdk/drs/src/operation/create_launch_configuration_template/builders.rs b/sdk/drs/src/operation/create_launch_configuration_template/builders.rs index 1cdf9f85a7b8..2bab28d0edd9 100644 --- a/sdk/drs/src/operation/create_launch_configuration_template/builders.rs +++ b/sdk/drs/src/operation/create_launch_configuration_template/builders.rs @@ -19,9 +19,9 @@ impl CreateLaunchConfigurationTemplateFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize(self) -> ::std::result::Result< + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware(self) -> ::std::result::Result< crate::client::customize::CustomizableOperation, ::aws_smithy_http::result::SdkError >{ @@ -64,6 +64,15 @@ impl CreateLaunchConfigurationTemplateFluentBuilder { { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize(self) -> ::std::result::Result< + crate::client::customize::CustomizableOperation, + ::aws_smithy_http::result::SdkError + >{ + self.customize_middleware().await + } /// Adds a key-value pair to `tags`. /// /// To override the contents of this collection use [`set_tags`](Self::set_tags). diff --git a/sdk/drs/src/operation/create_replication_configuration_template/builders.rs b/sdk/drs/src/operation/create_replication_configuration_template/builders.rs index f3ad1205a635..2c025a061864 100644 --- a/sdk/drs/src/operation/create_replication_configuration_template/builders.rs +++ b/sdk/drs/src/operation/create_replication_configuration_template/builders.rs @@ -19,9 +19,9 @@ impl CreateReplicationConfigurationTemplateFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize(self) -> ::std::result::Result< + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware(self) -> ::std::result::Result< crate::client::customize::CustomizableOperation, ::aws_smithy_http::result::SdkError >{ @@ -64,6 +64,15 @@ impl CreateReplicationConfigurationTemplateFluentBuilder { { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize(self) -> ::std::result::Result< + crate::client::customize::CustomizableOperation, + ::aws_smithy_http::result::SdkError + >{ + self.customize_middleware().await + } ///

                                                                      The subnet to be used by the replication staging area.

                                                                      pub fn staging_area_subnet_id( mut self, diff --git a/sdk/drs/src/operation/delete_job/builders.rs b/sdk/drs/src/operation/delete_job/builders.rs index eadd7ec17d8c..3be82b291732 100644 --- a/sdk/drs/src/operation/delete_job/builders.rs +++ b/sdk/drs/src/operation/delete_job/builders.rs @@ -19,9 +19,9 @@ impl DeleteJobFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl DeleteJobFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::delete_job::DeleteJob, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                      The ID of the Job to be deleted.

                                                                      pub fn job_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.job_id(input.into()); diff --git a/sdk/drs/src/operation/delete_launch_configuration_template/builders.rs b/sdk/drs/src/operation/delete_launch_configuration_template/builders.rs index 7af3cfdde756..4026b3df4259 100644 --- a/sdk/drs/src/operation/delete_launch_configuration_template/builders.rs +++ b/sdk/drs/src/operation/delete_launch_configuration_template/builders.rs @@ -19,9 +19,9 @@ impl DeleteLaunchConfigurationTemplateFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize(self) -> ::std::result::Result< + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware(self) -> ::std::result::Result< crate::client::customize::CustomizableOperation, ::aws_smithy_http::result::SdkError >{ @@ -64,6 +64,15 @@ impl DeleteLaunchConfigurationTemplateFluentBuilder { { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize(self) -> ::std::result::Result< + crate::client::customize::CustomizableOperation, + ::aws_smithy_http::result::SdkError + >{ + self.customize_middleware().await + } ///

                                                                      The ID of the Launch Configuration Template to be deleted.

                                                                      pub fn launch_configuration_template_id( mut self, diff --git a/sdk/drs/src/operation/delete_recovery_instance/builders.rs b/sdk/drs/src/operation/delete_recovery_instance/builders.rs index 034cba19355d..3224be6b2d70 100644 --- a/sdk/drs/src/operation/delete_recovery_instance/builders.rs +++ b/sdk/drs/src/operation/delete_recovery_instance/builders.rs @@ -19,9 +19,9 @@ impl DeleteRecoveryInstanceFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl DeleteRecoveryInstanceFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::delete_recovery_instance::DeleteRecoveryInstance, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::delete_recovery_instance::DeleteRecoveryInstanceError, + >, + > { + self.customize_middleware().await + } ///

                                                                      The ID of the Recovery Instance to be deleted.

                                                                      pub fn recovery_instance_id( mut self, diff --git a/sdk/drs/src/operation/delete_replication_configuration_template/builders.rs b/sdk/drs/src/operation/delete_replication_configuration_template/builders.rs index 0153ac7e76e3..0f58685fdacf 100644 --- a/sdk/drs/src/operation/delete_replication_configuration_template/builders.rs +++ b/sdk/drs/src/operation/delete_replication_configuration_template/builders.rs @@ -19,9 +19,9 @@ impl DeleteReplicationConfigurationTemplateFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize(self) -> ::std::result::Result< + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware(self) -> ::std::result::Result< crate::client::customize::CustomizableOperation, ::aws_smithy_http::result::SdkError >{ @@ -64,6 +64,15 @@ impl DeleteReplicationConfigurationTemplateFluentBuilder { { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize(self) -> ::std::result::Result< + crate::client::customize::CustomizableOperation, + ::aws_smithy_http::result::SdkError + >{ + self.customize_middleware().await + } ///

                                                                      The ID of the Replication Configuration Template to be deleted.

                                                                      pub fn replication_configuration_template_id( mut self, diff --git a/sdk/drs/src/operation/delete_source_server/builders.rs b/sdk/drs/src/operation/delete_source_server/builders.rs index 13e2760af937..3a3550401738 100644 --- a/sdk/drs/src/operation/delete_source_server/builders.rs +++ b/sdk/drs/src/operation/delete_source_server/builders.rs @@ -19,9 +19,9 @@ impl DeleteSourceServerFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl DeleteSourceServerFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::delete_source_server::DeleteSourceServer, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::delete_source_server::DeleteSourceServerError, + >, + > { + self.customize_middleware().await + } ///

                                                                      The ID of the Source Server to be deleted.

                                                                      pub fn source_server_id( mut self, diff --git a/sdk/drs/src/operation/describe_job_log_items/builders.rs b/sdk/drs/src/operation/describe_job_log_items/builders.rs index 2564495b81e5..72a9dcb610a3 100644 --- a/sdk/drs/src/operation/describe_job_log_items/builders.rs +++ b/sdk/drs/src/operation/describe_job_log_items/builders.rs @@ -19,9 +19,9 @@ impl DescribeJobLogItemsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl DescribeJobLogItemsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::describe_job_log_items::DescribeJobLogItems, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::describe_job_log_items::DescribeJobLogItemsError, + >, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::describe_job_log_items::paginator::DescribeJobLogItemsPaginator::send) which returns a `Stream`. diff --git a/sdk/drs/src/operation/describe_jobs/builders.rs b/sdk/drs/src/operation/describe_jobs/builders.rs index 008a053bbdaa..88be2e0cade2 100644 --- a/sdk/drs/src/operation/describe_jobs/builders.rs +++ b/sdk/drs/src/operation/describe_jobs/builders.rs @@ -19,9 +19,9 @@ impl DescribeJobsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl DescribeJobsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::describe_jobs::DescribeJobs, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::describe_jobs::paginator::DescribeJobsPaginator::send) which returns a `Stream`. diff --git a/sdk/drs/src/operation/describe_launch_configuration_templates/builders.rs b/sdk/drs/src/operation/describe_launch_configuration_templates/builders.rs index 15c08a9856d2..ff13cb95c0e9 100644 --- a/sdk/drs/src/operation/describe_launch_configuration_templates/builders.rs +++ b/sdk/drs/src/operation/describe_launch_configuration_templates/builders.rs @@ -19,9 +19,9 @@ impl DescribeLaunchConfigurationTemplatesFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize(self) -> ::std::result::Result< + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware(self) -> ::std::result::Result< crate::client::customize::CustomizableOperation, ::aws_smithy_http::result::SdkError >{ @@ -64,6 +64,15 @@ impl DescribeLaunchConfigurationTemplatesFluentBuilder { { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize(self) -> ::std::result::Result< + crate::client::customize::CustomizableOperation, + ::aws_smithy_http::result::SdkError + >{ + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::describe_launch_configuration_templates::paginator::DescribeLaunchConfigurationTemplatesPaginator::send) which returns a `Stream`. diff --git a/sdk/drs/src/operation/describe_recovery_instances/builders.rs b/sdk/drs/src/operation/describe_recovery_instances/builders.rs index 56b286c3a836..61cda6ee573d 100644 --- a/sdk/drs/src/operation/describe_recovery_instances/builders.rs +++ b/sdk/drs/src/operation/describe_recovery_instances/builders.rs @@ -19,9 +19,9 @@ impl DescribeRecoveryInstancesFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl DescribeRecoveryInstancesFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::describe_recovery_instances::DescribeRecoveryInstances, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::describe_recovery_instances::DescribeRecoveryInstancesError, + >, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::describe_recovery_instances::paginator::DescribeRecoveryInstancesPaginator::send) which returns a `Stream`. diff --git a/sdk/drs/src/operation/describe_recovery_snapshots/builders.rs b/sdk/drs/src/operation/describe_recovery_snapshots/builders.rs index ebb905fec0a9..b39c672d2133 100644 --- a/sdk/drs/src/operation/describe_recovery_snapshots/builders.rs +++ b/sdk/drs/src/operation/describe_recovery_snapshots/builders.rs @@ -19,9 +19,9 @@ impl DescribeRecoverySnapshotsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl DescribeRecoverySnapshotsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::describe_recovery_snapshots::DescribeRecoverySnapshots, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::describe_recovery_snapshots::DescribeRecoverySnapshotsError, + >, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::describe_recovery_snapshots::paginator::DescribeRecoverySnapshotsPaginator::send) which returns a `Stream`. diff --git a/sdk/drs/src/operation/describe_replication_configuration_templates/builders.rs b/sdk/drs/src/operation/describe_replication_configuration_templates/builders.rs index f18de7ba366e..c4ef83ed8e35 100644 --- a/sdk/drs/src/operation/describe_replication_configuration_templates/builders.rs +++ b/sdk/drs/src/operation/describe_replication_configuration_templates/builders.rs @@ -19,9 +19,9 @@ impl DescribeReplicationConfigurationTemplatesFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize(self) -> ::std::result::Result< + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware(self) -> ::std::result::Result< crate::client::customize::CustomizableOperation, ::aws_smithy_http::result::SdkError >{ @@ -64,6 +64,15 @@ impl DescribeReplicationConfigurationTemplatesFluentBuilder { { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize(self) -> ::std::result::Result< + crate::client::customize::CustomizableOperation, + ::aws_smithy_http::result::SdkError + >{ + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::describe_replication_configuration_templates::paginator::DescribeReplicationConfigurationTemplatesPaginator::send) which returns a `Stream`. diff --git a/sdk/drs/src/operation/describe_source_servers/builders.rs b/sdk/drs/src/operation/describe_source_servers/builders.rs index 21836807245b..b92cb63b6ea3 100644 --- a/sdk/drs/src/operation/describe_source_servers/builders.rs +++ b/sdk/drs/src/operation/describe_source_servers/builders.rs @@ -19,9 +19,9 @@ impl DescribeSourceServersFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl DescribeSourceServersFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::describe_source_servers::DescribeSourceServers, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::describe_source_servers::DescribeSourceServersError, + >, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::describe_source_servers::paginator::DescribeSourceServersPaginator::send) which returns a `Stream`. diff --git a/sdk/drs/src/operation/disconnect_recovery_instance/builders.rs b/sdk/drs/src/operation/disconnect_recovery_instance/builders.rs index 7c0bf09b00dc..e3d1a05a411c 100644 --- a/sdk/drs/src/operation/disconnect_recovery_instance/builders.rs +++ b/sdk/drs/src/operation/disconnect_recovery_instance/builders.rs @@ -19,9 +19,9 @@ impl DisconnectRecoveryInstanceFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl DisconnectRecoveryInstanceFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::disconnect_recovery_instance::DisconnectRecoveryInstance, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::disconnect_recovery_instance::DisconnectRecoveryInstanceError, + >, + > { + self.customize_middleware().await + } ///

                                                                      The ID of the Recovery Instance to disconnect.

                                                                      pub fn recovery_instance_id( mut self, diff --git a/sdk/drs/src/operation/disconnect_source_server/builders.rs b/sdk/drs/src/operation/disconnect_source_server/builders.rs index 9c475cb22b0e..d1a7d379da56 100644 --- a/sdk/drs/src/operation/disconnect_source_server/builders.rs +++ b/sdk/drs/src/operation/disconnect_source_server/builders.rs @@ -19,9 +19,9 @@ impl DisconnectSourceServerFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl DisconnectSourceServerFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::disconnect_source_server::DisconnectSourceServer, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::disconnect_source_server::DisconnectSourceServerError, + >, + > { + self.customize_middleware().await + } ///

                                                                      The ID of the Source Server to disconnect.

                                                                      pub fn source_server_id( mut self, diff --git a/sdk/drs/src/operation/get_failback_replication_configuration/builders.rs b/sdk/drs/src/operation/get_failback_replication_configuration/builders.rs index 324757910c40..7f57d9cbe284 100644 --- a/sdk/drs/src/operation/get_failback_replication_configuration/builders.rs +++ b/sdk/drs/src/operation/get_failback_replication_configuration/builders.rs @@ -19,9 +19,9 @@ impl GetFailbackReplicationConfigurationFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize(self) -> ::std::result::Result< + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware(self) -> ::std::result::Result< crate::client::customize::CustomizableOperation, ::aws_smithy_http::result::SdkError >{ @@ -64,6 +64,15 @@ impl GetFailbackReplicationConfigurationFluentBuilder { { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize(self) -> ::std::result::Result< + crate::client::customize::CustomizableOperation, + ::aws_smithy_http::result::SdkError + >{ + self.customize_middleware().await + } ///

                                                                      The ID of the Recovery Instance whose failback replication configuration should be returned.

                                                                      pub fn recovery_instance_id( mut self, diff --git a/sdk/drs/src/operation/get_launch_configuration/builders.rs b/sdk/drs/src/operation/get_launch_configuration/builders.rs index 373c11abf7e6..29817d03d32e 100644 --- a/sdk/drs/src/operation/get_launch_configuration/builders.rs +++ b/sdk/drs/src/operation/get_launch_configuration/builders.rs @@ -19,9 +19,9 @@ impl GetLaunchConfigurationFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl GetLaunchConfigurationFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::get_launch_configuration::GetLaunchConfiguration, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::get_launch_configuration::GetLaunchConfigurationError, + >, + > { + self.customize_middleware().await + } ///

                                                                      The ID of the Source Server that we want to retrieve a Launch Configuration for.

                                                                      pub fn source_server_id( mut self, diff --git a/sdk/drs/src/operation/get_replication_configuration/builders.rs b/sdk/drs/src/operation/get_replication_configuration/builders.rs index cf2085dd71b4..97e82ca0f32f 100644 --- a/sdk/drs/src/operation/get_replication_configuration/builders.rs +++ b/sdk/drs/src/operation/get_replication_configuration/builders.rs @@ -19,9 +19,9 @@ impl GetReplicationConfigurationFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl GetReplicationConfigurationFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::get_replication_configuration::GetReplicationConfiguration, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::get_replication_configuration::GetReplicationConfigurationError, + >, + > { + self.customize_middleware().await + } ///

                                                                      The ID of the Source Serve for this Replication Configuration.r

                                                                      pub fn source_server_id( mut self, diff --git a/sdk/drs/src/operation/initialize_service/builders.rs b/sdk/drs/src/operation/initialize_service/builders.rs index ec66bde3d771..0adc2d7ee2f1 100644 --- a/sdk/drs/src/operation/initialize_service/builders.rs +++ b/sdk/drs/src/operation/initialize_service/builders.rs @@ -19,9 +19,9 @@ impl InitializeServiceFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,4 +83,20 @@ impl InitializeServiceFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::initialize_service::InitializeService, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::initialize_service::InitializeServiceError, + >, + > { + self.customize_middleware().await + } } diff --git a/sdk/drs/src/operation/list_extensible_source_servers/builders.rs b/sdk/drs/src/operation/list_extensible_source_servers/builders.rs index b7185292d6e5..67c9e6940ba3 100644 --- a/sdk/drs/src/operation/list_extensible_source_servers/builders.rs +++ b/sdk/drs/src/operation/list_extensible_source_servers/builders.rs @@ -19,9 +19,9 @@ impl ListExtensibleSourceServersFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl ListExtensibleSourceServersFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_extensible_source_servers::ListExtensibleSourceServers, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::list_extensible_source_servers::ListExtensibleSourceServersError, + >, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::list_extensible_source_servers::paginator::ListExtensibleSourceServersPaginator::send) which returns a `Stream`. diff --git a/sdk/drs/src/operation/list_staging_accounts/builders.rs b/sdk/drs/src/operation/list_staging_accounts/builders.rs index 586b28b5882a..d4747f5b1ac8 100644 --- a/sdk/drs/src/operation/list_staging_accounts/builders.rs +++ b/sdk/drs/src/operation/list_staging_accounts/builders.rs @@ -19,9 +19,9 @@ impl ListStagingAccountsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl ListStagingAccountsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_staging_accounts::ListStagingAccounts, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::list_staging_accounts::ListStagingAccountsError, + >, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::list_staging_accounts::paginator::ListStagingAccountsPaginator::send) which returns a `Stream`. diff --git a/sdk/drs/src/operation/list_tags_for_resource/builders.rs b/sdk/drs/src/operation/list_tags_for_resource/builders.rs index d6f599cc7cf5..5499ec6ac367 100644 --- a/sdk/drs/src/operation/list_tags_for_resource/builders.rs +++ b/sdk/drs/src/operation/list_tags_for_resource/builders.rs @@ -19,9 +19,9 @@ impl ListTagsForResourceFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl ListTagsForResourceFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_tags_for_resource::ListTagsForResource, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::list_tags_for_resource::ListTagsForResourceError, + >, + > { + self.customize_middleware().await + } ///

                                                                      The ARN of the resource whose tags should be returned.

                                                                      pub fn resource_arn(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.resource_arn(input.into()); diff --git a/sdk/drs/src/operation/retry_data_replication/builders.rs b/sdk/drs/src/operation/retry_data_replication/builders.rs index 8e0a4c4c0559..c2b97b1837c2 100644 --- a/sdk/drs/src/operation/retry_data_replication/builders.rs +++ b/sdk/drs/src/operation/retry_data_replication/builders.rs @@ -20,9 +20,9 @@ impl RetryDataReplicationFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -84,6 +84,22 @@ impl RetryDataReplicationFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::retry_data_replication::RetryDataReplication, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::retry_data_replication::RetryDataReplicationError, + >, + > { + self.customize_middleware().await + } ///

                                                                      The ID of the Source Server whose data replication should be retried.

                                                                      pub fn source_server_id( mut self, diff --git a/sdk/drs/src/operation/reverse_replication/builders.rs b/sdk/drs/src/operation/reverse_replication/builders.rs index 00194edc31bf..fead229eb799 100644 --- a/sdk/drs/src/operation/reverse_replication/builders.rs +++ b/sdk/drs/src/operation/reverse_replication/builders.rs @@ -19,9 +19,9 @@ impl ReverseReplicationFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl ReverseReplicationFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::reverse_replication::ReverseReplication, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::reverse_replication::ReverseReplicationError, + >, + > { + self.customize_middleware().await + } ///

                                                                      The ID of the Recovery Instance that we want to reverse the replication for.

                                                                      pub fn recovery_instance_id( mut self, diff --git a/sdk/drs/src/operation/start_failback_launch/builders.rs b/sdk/drs/src/operation/start_failback_launch/builders.rs index 45bee23c9bc7..975df36f07d8 100644 --- a/sdk/drs/src/operation/start_failback_launch/builders.rs +++ b/sdk/drs/src/operation/start_failback_launch/builders.rs @@ -19,9 +19,9 @@ impl StartFailbackLaunchFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl StartFailbackLaunchFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::start_failback_launch::StartFailbackLaunch, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::start_failback_launch::StartFailbackLaunchError, + >, + > { + self.customize_middleware().await + } /// Appends an item to `recoveryInstanceIDs`. /// /// To override the contents of this collection use [`set_recovery_instance_i_ds`](Self::set_recovery_instance_i_ds). diff --git a/sdk/drs/src/operation/start_recovery/builders.rs b/sdk/drs/src/operation/start_recovery/builders.rs index fd47c8f53e50..d80f2aa0c55a 100644 --- a/sdk/drs/src/operation/start_recovery/builders.rs +++ b/sdk/drs/src/operation/start_recovery/builders.rs @@ -19,9 +19,9 @@ impl StartRecoveryFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl StartRecoveryFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::start_recovery::StartRecovery, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } /// Appends an item to `sourceServers`. /// /// To override the contents of this collection use [`set_source_servers`](Self::set_source_servers). diff --git a/sdk/drs/src/operation/start_replication/builders.rs b/sdk/drs/src/operation/start_replication/builders.rs index 8e3f345dceb0..b6a0415e653a 100644 --- a/sdk/drs/src/operation/start_replication/builders.rs +++ b/sdk/drs/src/operation/start_replication/builders.rs @@ -19,9 +19,9 @@ impl StartReplicationFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl StartReplicationFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::start_replication::StartReplication, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::start_replication::StartReplicationError, + >, + > { + self.customize_middleware().await + } ///

                                                                      The ID of the Source Server to start replication for.

                                                                      pub fn source_server_id( mut self, diff --git a/sdk/drs/src/operation/stop_failback/builders.rs b/sdk/drs/src/operation/stop_failback/builders.rs index 579644e3ea51..70f28cad607c 100644 --- a/sdk/drs/src/operation/stop_failback/builders.rs +++ b/sdk/drs/src/operation/stop_failback/builders.rs @@ -19,9 +19,9 @@ impl StopFailbackFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl StopFailbackFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::stop_failback::StopFailback, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                      The ID of the Recovery Instance we want to stop failback for.

                                                                      pub fn recovery_instance_id( mut self, diff --git a/sdk/drs/src/operation/stop_replication/builders.rs b/sdk/drs/src/operation/stop_replication/builders.rs index 36de7b23f3df..dea79e255712 100644 --- a/sdk/drs/src/operation/stop_replication/builders.rs +++ b/sdk/drs/src/operation/stop_replication/builders.rs @@ -19,9 +19,9 @@ impl StopReplicationFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl StopReplicationFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::stop_replication::StopReplication, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::stop_replication::StopReplicationError, + >, + > { + self.customize_middleware().await + } ///

                                                                      The ID of the Source Server to stop replication for.

                                                                      pub fn source_server_id( mut self, diff --git a/sdk/drs/src/operation/tag_resource/builders.rs b/sdk/drs/src/operation/tag_resource/builders.rs index 9d0cda72831e..3805b406483e 100644 --- a/sdk/drs/src/operation/tag_resource/builders.rs +++ b/sdk/drs/src/operation/tag_resource/builders.rs @@ -19,9 +19,9 @@ impl TagResourceFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl TagResourceFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::tag_resource::TagResource, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                      ARN of the resource for which tags are to be added or updated.

                                                                      pub fn resource_arn(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.resource_arn(input.into()); diff --git a/sdk/drs/src/operation/terminate_recovery_instances/builders.rs b/sdk/drs/src/operation/terminate_recovery_instances/builders.rs index 32f80c22733e..80f54ea1bf6b 100644 --- a/sdk/drs/src/operation/terminate_recovery_instances/builders.rs +++ b/sdk/drs/src/operation/terminate_recovery_instances/builders.rs @@ -19,9 +19,9 @@ impl TerminateRecoveryInstancesFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl TerminateRecoveryInstancesFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::terminate_recovery_instances::TerminateRecoveryInstances, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::terminate_recovery_instances::TerminateRecoveryInstancesError, + >, + > { + self.customize_middleware().await + } /// Appends an item to `recoveryInstanceIDs`. /// /// To override the contents of this collection use [`set_recovery_instance_i_ds`](Self::set_recovery_instance_i_ds). diff --git a/sdk/drs/src/operation/untag_resource/builders.rs b/sdk/drs/src/operation/untag_resource/builders.rs index d17a080101bb..2e2210b2a8fc 100644 --- a/sdk/drs/src/operation/untag_resource/builders.rs +++ b/sdk/drs/src/operation/untag_resource/builders.rs @@ -19,9 +19,9 @@ impl UntagResourceFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl UntagResourceFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::untag_resource::UntagResource, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                      ARN of the resource for which tags are to be removed.

                                                                      pub fn resource_arn(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.resource_arn(input.into()); diff --git a/sdk/drs/src/operation/update_failback_replication_configuration/builders.rs b/sdk/drs/src/operation/update_failback_replication_configuration/builders.rs index ee8534f6207a..3ee1febc302e 100644 --- a/sdk/drs/src/operation/update_failback_replication_configuration/builders.rs +++ b/sdk/drs/src/operation/update_failback_replication_configuration/builders.rs @@ -19,9 +19,9 @@ impl UpdateFailbackReplicationConfigurationFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize(self) -> ::std::result::Result< + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware(self) -> ::std::result::Result< crate::client::customize::CustomizableOperation, ::aws_smithy_http::result::SdkError >{ @@ -64,6 +64,15 @@ impl UpdateFailbackReplicationConfigurationFluentBuilder { { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize(self) -> ::std::result::Result< + crate::client::customize::CustomizableOperation, + ::aws_smithy_http::result::SdkError + >{ + self.customize_middleware().await + } ///

                                                                      The ID of the Recovery Instance.

                                                                      pub fn recovery_instance_id( mut self, diff --git a/sdk/drs/src/operation/update_launch_configuration/builders.rs b/sdk/drs/src/operation/update_launch_configuration/builders.rs index 8d6899154292..417fb1122edf 100644 --- a/sdk/drs/src/operation/update_launch_configuration/builders.rs +++ b/sdk/drs/src/operation/update_launch_configuration/builders.rs @@ -19,9 +19,9 @@ impl UpdateLaunchConfigurationFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl UpdateLaunchConfigurationFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::update_launch_configuration::UpdateLaunchConfiguration, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::update_launch_configuration::UpdateLaunchConfigurationError, + >, + > { + self.customize_middleware().await + } ///

                                                                      The ID of the Source Server that we want to retrieve a Launch Configuration for.

                                                                      pub fn source_server_id( mut self, diff --git a/sdk/drs/src/operation/update_launch_configuration_template/builders.rs b/sdk/drs/src/operation/update_launch_configuration_template/builders.rs index ba6b46811a35..5359ec556dbb 100644 --- a/sdk/drs/src/operation/update_launch_configuration_template/builders.rs +++ b/sdk/drs/src/operation/update_launch_configuration_template/builders.rs @@ -19,9 +19,9 @@ impl UpdateLaunchConfigurationTemplateFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize(self) -> ::std::result::Result< + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware(self) -> ::std::result::Result< crate::client::customize::CustomizableOperation, ::aws_smithy_http::result::SdkError >{ @@ -64,6 +64,15 @@ impl UpdateLaunchConfigurationTemplateFluentBuilder { { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize(self) -> ::std::result::Result< + crate::client::customize::CustomizableOperation, + ::aws_smithy_http::result::SdkError + >{ + self.customize_middleware().await + } ///

                                                                      Launch Configuration Template ID.

                                                                      pub fn launch_configuration_template_id( mut self, diff --git a/sdk/drs/src/operation/update_replication_configuration/builders.rs b/sdk/drs/src/operation/update_replication_configuration/builders.rs index c0bcb5f1d15c..e4da2dbadf62 100644 --- a/sdk/drs/src/operation/update_replication_configuration/builders.rs +++ b/sdk/drs/src/operation/update_replication_configuration/builders.rs @@ -19,9 +19,9 @@ impl UpdateReplicationConfigurationFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl UpdateReplicationConfigurationFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::update_replication_configuration::UpdateReplicationConfiguration, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::update_replication_configuration::UpdateReplicationConfigurationError, + >, + > { + self.customize_middleware().await + } ///

                                                                      The ID of the Source Server for this Replication Configuration.

                                                                      pub fn source_server_id( mut self, diff --git a/sdk/drs/src/operation/update_replication_configuration_template/builders.rs b/sdk/drs/src/operation/update_replication_configuration_template/builders.rs index 805d687de400..f380edd98f75 100644 --- a/sdk/drs/src/operation/update_replication_configuration_template/builders.rs +++ b/sdk/drs/src/operation/update_replication_configuration_template/builders.rs @@ -19,9 +19,9 @@ impl UpdateReplicationConfigurationTemplateFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize(self) -> ::std::result::Result< + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware(self) -> ::std::result::Result< crate::client::customize::CustomizableOperation, ::aws_smithy_http::result::SdkError >{ @@ -64,6 +64,15 @@ impl UpdateReplicationConfigurationTemplateFluentBuilder { { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize(self) -> ::std::result::Result< + crate::client::customize::CustomizableOperation, + ::aws_smithy_http::result::SdkError + >{ + self.customize_middleware().await + } ///

                                                                      The Replication Configuration Template ID.

                                                                      pub fn replication_configuration_template_id( mut self, diff --git a/sdk/dynamodb/src/operation/batch_execute_statement/builders.rs b/sdk/dynamodb/src/operation/batch_execute_statement/builders.rs index 5a123fbdea68..dcbca01494d9 100644 --- a/sdk/dynamodb/src/operation/batch_execute_statement/builders.rs +++ b/sdk/dynamodb/src/operation/batch_execute_statement/builders.rs @@ -23,9 +23,9 @@ impl BatchExecuteStatementFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -87,6 +87,22 @@ impl BatchExecuteStatementFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::batch_execute_statement::BatchExecuteStatement, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::batch_execute_statement::BatchExecuteStatementError, + >, + > { + self.customize_middleware().await + } /// Appends an item to `Statements`. /// /// To override the contents of this collection use [`set_statements`](Self::set_statements). diff --git a/sdk/dynamodb/src/operation/batch_get_item/builders.rs b/sdk/dynamodb/src/operation/batch_get_item/builders.rs index 97e297fa17b4..8253d5d32f50 100644 --- a/sdk/dynamodb/src/operation/batch_get_item/builders.rs +++ b/sdk/dynamodb/src/operation/batch_get_item/builders.rs @@ -31,9 +31,9 @@ impl BatchGetItemFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -89,6 +89,20 @@ impl BatchGetItemFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::batch_get_item::BatchGetItem, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } /// Adds a key-value pair to `RequestItems`. /// /// To override the contents of this collection use [`set_request_items`](Self::set_request_items). diff --git a/sdk/dynamodb/src/operation/batch_write_item/builders.rs b/sdk/dynamodb/src/operation/batch_write_item/builders.rs index ba6321dec70e..8051373f497d 100644 --- a/sdk/dynamodb/src/operation/batch_write_item/builders.rs +++ b/sdk/dynamodb/src/operation/batch_write_item/builders.rs @@ -39,9 +39,9 @@ impl BatchWriteItemFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -103,6 +103,22 @@ impl BatchWriteItemFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::batch_write_item::BatchWriteItem, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::batch_write_item::BatchWriteItemError, + >, + > { + self.customize_middleware().await + } /// Adds a key-value pair to `RequestItems`. /// /// To override the contents of this collection use [`set_request_items`](Self::set_request_items). diff --git a/sdk/dynamodb/src/operation/create_backup/builders.rs b/sdk/dynamodb/src/operation/create_backup/builders.rs index 1d91a0c37ef0..c37618babf4c 100644 --- a/sdk/dynamodb/src/operation/create_backup/builders.rs +++ b/sdk/dynamodb/src/operation/create_backup/builders.rs @@ -31,9 +31,9 @@ impl CreateBackupFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -89,6 +89,20 @@ impl CreateBackupFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::create_backup::CreateBackup, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                      The name of the table.

                                                                      pub fn table_name(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.table_name(input.into()); diff --git a/sdk/dynamodb/src/operation/create_global_table/builders.rs b/sdk/dynamodb/src/operation/create_global_table/builders.rs index a44c49d815f5..db4744f01a00 100644 --- a/sdk/dynamodb/src/operation/create_global_table/builders.rs +++ b/sdk/dynamodb/src/operation/create_global_table/builders.rs @@ -41,9 +41,9 @@ impl CreateGlobalTableFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -105,6 +105,22 @@ impl CreateGlobalTableFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::create_global_table::CreateGlobalTable, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::create_global_table::CreateGlobalTableError, + >, + > { + self.customize_middleware().await + } ///

                                                                      The global table name.

                                                                      pub fn global_table_name( mut self, diff --git a/sdk/dynamodb/src/operation/create_table/builders.rs b/sdk/dynamodb/src/operation/create_table/builders.rs index 8ad287709789..4298b36287fb 100644 --- a/sdk/dynamodb/src/operation/create_table/builders.rs +++ b/sdk/dynamodb/src/operation/create_table/builders.rs @@ -22,9 +22,9 @@ impl CreateTableFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -80,6 +80,20 @@ impl CreateTableFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::create_table::CreateTable, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } /// Appends an item to `AttributeDefinitions`. /// /// To override the contents of this collection use [`set_attribute_definitions`](Self::set_attribute_definitions). diff --git a/sdk/dynamodb/src/operation/delete_backup/builders.rs b/sdk/dynamodb/src/operation/delete_backup/builders.rs index 4bf11525a26f..87afd117ed50 100644 --- a/sdk/dynamodb/src/operation/delete_backup/builders.rs +++ b/sdk/dynamodb/src/operation/delete_backup/builders.rs @@ -20,9 +20,9 @@ impl DeleteBackupFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -78,6 +78,20 @@ impl DeleteBackupFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::delete_backup::DeleteBackup, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                      The ARN associated with the backup.

                                                                      pub fn backup_arn(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.backup_arn(input.into()); diff --git a/sdk/dynamodb/src/operation/delete_item/builders.rs b/sdk/dynamodb/src/operation/delete_item/builders.rs index fa278c2819fc..8442b2e35f76 100644 --- a/sdk/dynamodb/src/operation/delete_item/builders.rs +++ b/sdk/dynamodb/src/operation/delete_item/builders.rs @@ -22,9 +22,9 @@ impl DeleteItemFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -80,6 +80,20 @@ impl DeleteItemFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::delete_item::DeleteItem, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                      The name of the table from which to delete the item.

                                                                      pub fn table_name(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.table_name(input.into()); diff --git a/sdk/dynamodb/src/operation/delete_table/builders.rs b/sdk/dynamodb/src/operation/delete_table/builders.rs index 1813a80a7a69..c1d378158a7b 100644 --- a/sdk/dynamodb/src/operation/delete_table/builders.rs +++ b/sdk/dynamodb/src/operation/delete_table/builders.rs @@ -26,9 +26,9 @@ impl DeleteTableFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -84,6 +84,20 @@ impl DeleteTableFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::delete_table::DeleteTable, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                      The name of the table to delete.

                                                                      pub fn table_name(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.table_name(input.into()); diff --git a/sdk/dynamodb/src/operation/describe_backup/builders.rs b/sdk/dynamodb/src/operation/describe_backup/builders.rs index fe9376ce1dfa..fe0076a921dc 100644 --- a/sdk/dynamodb/src/operation/describe_backup/builders.rs +++ b/sdk/dynamodb/src/operation/describe_backup/builders.rs @@ -20,9 +20,9 @@ impl DescribeBackupFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -78,6 +78,20 @@ impl DescribeBackupFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::describe_backup::DescribeBackup, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                      The Amazon Resource Name (ARN) associated with the backup.

                                                                      pub fn backup_arn(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.backup_arn(input.into()); diff --git a/sdk/dynamodb/src/operation/describe_continuous_backups/builders.rs b/sdk/dynamodb/src/operation/describe_continuous_backups/builders.rs index bd942cce9371..8011428a91b9 100644 --- a/sdk/dynamodb/src/operation/describe_continuous_backups/builders.rs +++ b/sdk/dynamodb/src/operation/describe_continuous_backups/builders.rs @@ -22,9 +22,9 @@ impl DescribeContinuousBackupsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -86,6 +86,22 @@ impl DescribeContinuousBackupsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::describe_continuous_backups::DescribeContinuousBackups, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::describe_continuous_backups::DescribeContinuousBackupsError, + >, + > { + self.customize_middleware().await + } ///

                                                                      Name of the table for which the customer wants to check the continuous backups and point in time recovery settings.

                                                                      pub fn table_name(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.table_name(input.into()); diff --git a/sdk/dynamodb/src/operation/describe_contributor_insights/builders.rs b/sdk/dynamodb/src/operation/describe_contributor_insights/builders.rs index edee9f8ff2bd..d59fc6c38113 100644 --- a/sdk/dynamodb/src/operation/describe_contributor_insights/builders.rs +++ b/sdk/dynamodb/src/operation/describe_contributor_insights/builders.rs @@ -19,9 +19,9 @@ impl DescribeContributorInsightsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl DescribeContributorInsightsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::describe_contributor_insights::DescribeContributorInsights, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::describe_contributor_insights::DescribeContributorInsightsError, + >, + > { + self.customize_middleware().await + } ///

                                                                      The name of the table to describe.

                                                                      pub fn table_name(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.table_name(input.into()); diff --git a/sdk/dynamodb/src/operation/describe_endpoints/builders.rs b/sdk/dynamodb/src/operation/describe_endpoints/builders.rs index 2206a1b6159b..1793775729ff 100644 --- a/sdk/dynamodb/src/operation/describe_endpoints/builders.rs +++ b/sdk/dynamodb/src/operation/describe_endpoints/builders.rs @@ -19,9 +19,9 @@ impl DescribeEndpointsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,4 +83,20 @@ impl DescribeEndpointsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::describe_endpoints::DescribeEndpoints, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::describe_endpoints::DescribeEndpointsError, + >, + > { + self.customize_middleware().await + } } diff --git a/sdk/dynamodb/src/operation/describe_export/builders.rs b/sdk/dynamodb/src/operation/describe_export/builders.rs index 02ff3d812fb3..d9b179fa2b95 100644 --- a/sdk/dynamodb/src/operation/describe_export/builders.rs +++ b/sdk/dynamodb/src/operation/describe_export/builders.rs @@ -19,9 +19,9 @@ impl DescribeExportFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl DescribeExportFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::describe_export::DescribeExport, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                      The Amazon Resource Name (ARN) associated with the export.

                                                                      pub fn export_arn(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.export_arn(input.into()); diff --git a/sdk/dynamodb/src/operation/describe_global_table/builders.rs b/sdk/dynamodb/src/operation/describe_global_table/builders.rs index ed95ff29bdfa..6d6d02282e21 100644 --- a/sdk/dynamodb/src/operation/describe_global_table/builders.rs +++ b/sdk/dynamodb/src/operation/describe_global_table/builders.rs @@ -21,9 +21,9 @@ impl DescribeGlobalTableFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -85,6 +85,22 @@ impl DescribeGlobalTableFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::describe_global_table::DescribeGlobalTable, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::describe_global_table::DescribeGlobalTableError, + >, + > { + self.customize_middleware().await + } ///

                                                                      The name of the global table.

                                                                      pub fn global_table_name( mut self, diff --git a/sdk/dynamodb/src/operation/describe_global_table_settings/builders.rs b/sdk/dynamodb/src/operation/describe_global_table_settings/builders.rs index df4c322b2e92..7c30346c1beb 100644 --- a/sdk/dynamodb/src/operation/describe_global_table_settings/builders.rs +++ b/sdk/dynamodb/src/operation/describe_global_table_settings/builders.rs @@ -21,9 +21,9 @@ impl DescribeGlobalTableSettingsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -85,6 +85,22 @@ impl DescribeGlobalTableSettingsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::describe_global_table_settings::DescribeGlobalTableSettings, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::describe_global_table_settings::DescribeGlobalTableSettingsError, + >, + > { + self.customize_middleware().await + } ///

                                                                      The name of the global table to describe.

                                                                      pub fn global_table_name( mut self, diff --git a/sdk/dynamodb/src/operation/describe_import/builders.rs b/sdk/dynamodb/src/operation/describe_import/builders.rs index e78cce98ec29..06d9f0c0b524 100644 --- a/sdk/dynamodb/src/operation/describe_import/builders.rs +++ b/sdk/dynamodb/src/operation/describe_import/builders.rs @@ -19,9 +19,9 @@ impl DescribeImportFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl DescribeImportFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::describe_import::DescribeImport, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                      The Amazon Resource Name (ARN) associated with the table you're importing to.

                                                                      pub fn import_arn(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.import_arn(input.into()); diff --git a/sdk/dynamodb/src/operation/describe_kinesis_streaming_destination/builders.rs b/sdk/dynamodb/src/operation/describe_kinesis_streaming_destination/builders.rs index e2f4e9960772..c53785f78bae 100644 --- a/sdk/dynamodb/src/operation/describe_kinesis_streaming_destination/builders.rs +++ b/sdk/dynamodb/src/operation/describe_kinesis_streaming_destination/builders.rs @@ -19,9 +19,9 @@ impl DescribeKinesisStreamingDestinationFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize(self) -> ::std::result::Result< + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware(self) -> ::std::result::Result< crate::client::customize::CustomizableOperation, ::aws_smithy_http::result::SdkError >{ @@ -64,6 +64,15 @@ impl DescribeKinesisStreamingDestinationFluentBuilder { { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize(self) -> ::std::result::Result< + crate::client::customize::CustomizableOperation, + ::aws_smithy_http::result::SdkError + >{ + self.customize_middleware().await + } ///

                                                                      The name of the table being described.

                                                                      pub fn table_name(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.table_name(input.into()); diff --git a/sdk/dynamodb/src/operation/describe_limits/builders.rs b/sdk/dynamodb/src/operation/describe_limits/builders.rs index 03d38abb7d61..294762d088d1 100644 --- a/sdk/dynamodb/src/operation/describe_limits/builders.rs +++ b/sdk/dynamodb/src/operation/describe_limits/builders.rs @@ -40,9 +40,9 @@ impl DescribeLimitsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -98,4 +98,18 @@ impl DescribeLimitsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::describe_limits::DescribeLimits, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } } diff --git a/sdk/dynamodb/src/operation/describe_table/builders.rs b/sdk/dynamodb/src/operation/describe_table/builders.rs index d12ad103ebb6..64e67f858d68 100644 --- a/sdk/dynamodb/src/operation/describe_table/builders.rs +++ b/sdk/dynamodb/src/operation/describe_table/builders.rs @@ -23,9 +23,9 @@ impl DescribeTableFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -81,6 +81,20 @@ impl DescribeTableFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::describe_table::DescribeTable, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                      The name of the table to describe.

                                                                      pub fn table_name(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.table_name(input.into()); diff --git a/sdk/dynamodb/src/operation/describe_table_replica_auto_scaling/builders.rs b/sdk/dynamodb/src/operation/describe_table_replica_auto_scaling/builders.rs index 51edf922581d..f9800d141f01 100644 --- a/sdk/dynamodb/src/operation/describe_table_replica_auto_scaling/builders.rs +++ b/sdk/dynamodb/src/operation/describe_table_replica_auto_scaling/builders.rs @@ -21,9 +21,9 @@ impl DescribeTableReplicaAutoScalingFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize(self) -> ::std::result::Result< + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware(self) -> ::std::result::Result< crate::client::customize::CustomizableOperation, ::aws_smithy_http::result::SdkError >{ @@ -66,6 +66,15 @@ impl DescribeTableReplicaAutoScalingFluentBuilder { { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize(self) -> ::std::result::Result< + crate::client::customize::CustomizableOperation, + ::aws_smithy_http::result::SdkError + >{ + self.customize_middleware().await + } ///

                                                                      The name of the table.

                                                                      pub fn table_name(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.table_name(input.into()); diff --git a/sdk/dynamodb/src/operation/describe_time_to_live/builders.rs b/sdk/dynamodb/src/operation/describe_time_to_live/builders.rs index b3dfd2abf3e3..be3b179b2c7e 100644 --- a/sdk/dynamodb/src/operation/describe_time_to_live/builders.rs +++ b/sdk/dynamodb/src/operation/describe_time_to_live/builders.rs @@ -19,9 +19,9 @@ impl DescribeTimeToLiveFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl DescribeTimeToLiveFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::describe_time_to_live::DescribeTimeToLive, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::describe_time_to_live::DescribeTimeToLiveError, + >, + > { + self.customize_middleware().await + } ///

                                                                      The name of the table to be described.

                                                                      pub fn table_name(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.table_name(input.into()); diff --git a/sdk/dynamodb/src/operation/disable_kinesis_streaming_destination/builders.rs b/sdk/dynamodb/src/operation/disable_kinesis_streaming_destination/builders.rs index 5dcdab966f14..0a4fa57a58c3 100644 --- a/sdk/dynamodb/src/operation/disable_kinesis_streaming_destination/builders.rs +++ b/sdk/dynamodb/src/operation/disable_kinesis_streaming_destination/builders.rs @@ -19,9 +19,9 @@ impl DisableKinesisStreamingDestinationFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize(self) -> ::std::result::Result< + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware(self) -> ::std::result::Result< crate::client::customize::CustomizableOperation, ::aws_smithy_http::result::SdkError >{ @@ -64,6 +64,15 @@ impl DisableKinesisStreamingDestinationFluentBuilder { { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize(self) -> ::std::result::Result< + crate::client::customize::CustomizableOperation, + ::aws_smithy_http::result::SdkError + >{ + self.customize_middleware().await + } ///

                                                                      The name of the DynamoDB table.

                                                                      pub fn table_name(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.table_name(input.into()); diff --git a/sdk/dynamodb/src/operation/enable_kinesis_streaming_destination/builders.rs b/sdk/dynamodb/src/operation/enable_kinesis_streaming_destination/builders.rs index b3968e554f89..49e9947c9989 100644 --- a/sdk/dynamodb/src/operation/enable_kinesis_streaming_destination/builders.rs +++ b/sdk/dynamodb/src/operation/enable_kinesis_streaming_destination/builders.rs @@ -19,9 +19,9 @@ impl EnableKinesisStreamingDestinationFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize(self) -> ::std::result::Result< + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware(self) -> ::std::result::Result< crate::client::customize::CustomizableOperation, ::aws_smithy_http::result::SdkError >{ @@ -64,6 +64,15 @@ impl EnableKinesisStreamingDestinationFluentBuilder { { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize(self) -> ::std::result::Result< + crate::client::customize::CustomizableOperation, + ::aws_smithy_http::result::SdkError + >{ + self.customize_middleware().await + } ///

                                                                      The name of the DynamoDB table.

                                                                      pub fn table_name(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.table_name(input.into()); diff --git a/sdk/dynamodb/src/operation/execute_statement/builders.rs b/sdk/dynamodb/src/operation/execute_statement/builders.rs index ee8de2b3854f..39ca86def63b 100644 --- a/sdk/dynamodb/src/operation/execute_statement/builders.rs +++ b/sdk/dynamodb/src/operation/execute_statement/builders.rs @@ -21,9 +21,9 @@ impl ExecuteStatementFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -85,6 +85,22 @@ impl ExecuteStatementFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::execute_statement::ExecuteStatement, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::execute_statement::ExecuteStatementError, + >, + > { + self.customize_middleware().await + } ///

                                                                      The PartiQL statement representing the operation to run.

                                                                      pub fn statement(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.statement(input.into()); diff --git a/sdk/dynamodb/src/operation/execute_transaction/builders.rs b/sdk/dynamodb/src/operation/execute_transaction/builders.rs index 0f7507bb8706..c3043ada8881 100644 --- a/sdk/dynamodb/src/operation/execute_transaction/builders.rs +++ b/sdk/dynamodb/src/operation/execute_transaction/builders.rs @@ -21,9 +21,9 @@ impl ExecuteTransactionFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -85,6 +85,22 @@ impl ExecuteTransactionFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::execute_transaction::ExecuteTransaction, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::execute_transaction::ExecuteTransactionError, + >, + > { + self.customize_middleware().await + } /// Appends an item to `TransactStatements`. /// /// To override the contents of this collection use [`set_transact_statements`](Self::set_transact_statements). diff --git a/sdk/dynamodb/src/operation/export_table_to_point_in_time/builders.rs b/sdk/dynamodb/src/operation/export_table_to_point_in_time/builders.rs index 67aef52728a9..0ef76f6d1c2c 100644 --- a/sdk/dynamodb/src/operation/export_table_to_point_in_time/builders.rs +++ b/sdk/dynamodb/src/operation/export_table_to_point_in_time/builders.rs @@ -19,9 +19,9 @@ impl ExportTableToPointInTimeFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl ExportTableToPointInTimeFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::export_table_to_point_in_time::ExportTableToPointInTime, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::export_table_to_point_in_time::ExportTableToPointInTimeError, + >, + > { + self.customize_middleware().await + } ///

                                                                      The Amazon Resource Name (ARN) associated with the table to export.

                                                                      pub fn table_arn(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.table_arn(input.into()); diff --git a/sdk/dynamodb/src/operation/get_item/builders.rs b/sdk/dynamodb/src/operation/get_item/builders.rs index 0be218313a57..bb908ffe96cb 100644 --- a/sdk/dynamodb/src/operation/get_item/builders.rs +++ b/sdk/dynamodb/src/operation/get_item/builders.rs @@ -20,9 +20,9 @@ impl GetItemFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -78,6 +78,20 @@ impl GetItemFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::get_item::GetItem, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                      The name of the table containing the requested item.

                                                                      pub fn table_name(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.table_name(input.into()); diff --git a/sdk/dynamodb/src/operation/import_table/builders.rs b/sdk/dynamodb/src/operation/import_table/builders.rs index 744011eadc03..27293d746c92 100644 --- a/sdk/dynamodb/src/operation/import_table/builders.rs +++ b/sdk/dynamodb/src/operation/import_table/builders.rs @@ -19,9 +19,9 @@ impl ImportTableFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl ImportTableFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::import_table::ImportTable, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                      Providing a ClientToken makes the call to ImportTableInput idempotent, meaning that multiple identical calls have the same effect as one single call.

                                                                      ///

                                                                      A client token is valid for 8 hours after the first request that uses it is completed. After 8 hours, any request with the same client token is treated as a new request. Do not resubmit the same request with the same client token for more than 8 hours, or the result might not be idempotent.

                                                                      ///

                                                                      If you submit a request with the same client token but a change in other parameters within the 8-hour idempotency window, DynamoDB returns an IdempotentParameterMismatch exception.

                                                                      diff --git a/sdk/dynamodb/src/operation/list_backups/builders.rs b/sdk/dynamodb/src/operation/list_backups/builders.rs index dcf97982c717..19bbf276769e 100644 --- a/sdk/dynamodb/src/operation/list_backups/builders.rs +++ b/sdk/dynamodb/src/operation/list_backups/builders.rs @@ -21,9 +21,9 @@ impl ListBackupsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -79,6 +79,20 @@ impl ListBackupsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_backups::ListBackups, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                      The backups from the table specified by TableName are listed.

                                                                      pub fn table_name(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.table_name(input.into()); diff --git a/sdk/dynamodb/src/operation/list_contributor_insights/builders.rs b/sdk/dynamodb/src/operation/list_contributor_insights/builders.rs index 2c42da133f13..2f4ffc8b32b4 100644 --- a/sdk/dynamodb/src/operation/list_contributor_insights/builders.rs +++ b/sdk/dynamodb/src/operation/list_contributor_insights/builders.rs @@ -20,9 +20,9 @@ impl ListContributorInsightsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -84,6 +84,22 @@ impl ListContributorInsightsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_contributor_insights::ListContributorInsights, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::list_contributor_insights::ListContributorInsightsError, + >, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::list_contributor_insights::paginator::ListContributorInsightsPaginator::send) which returns a `Stream`. diff --git a/sdk/dynamodb/src/operation/list_exports/builders.rs b/sdk/dynamodb/src/operation/list_exports/builders.rs index d33bd7bfb000..4d324e80630f 100644 --- a/sdk/dynamodb/src/operation/list_exports/builders.rs +++ b/sdk/dynamodb/src/operation/list_exports/builders.rs @@ -19,9 +19,9 @@ impl ListExportsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl ListExportsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_exports::ListExports, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::list_exports::paginator::ListExportsPaginator::send) which returns a `Stream`. diff --git a/sdk/dynamodb/src/operation/list_global_tables/builders.rs b/sdk/dynamodb/src/operation/list_global_tables/builders.rs index 7804827f254b..77109dcca559 100644 --- a/sdk/dynamodb/src/operation/list_global_tables/builders.rs +++ b/sdk/dynamodb/src/operation/list_global_tables/builders.rs @@ -21,9 +21,9 @@ impl ListGlobalTablesFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -85,6 +85,22 @@ impl ListGlobalTablesFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_global_tables::ListGlobalTables, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::list_global_tables::ListGlobalTablesError, + >, + > { + self.customize_middleware().await + } ///

                                                                      The first global table name that this operation will evaluate.

                                                                      pub fn exclusive_start_global_table_name( mut self, diff --git a/sdk/dynamodb/src/operation/list_imports/builders.rs b/sdk/dynamodb/src/operation/list_imports/builders.rs index 9df6f56ca900..eda1b787477f 100644 --- a/sdk/dynamodb/src/operation/list_imports/builders.rs +++ b/sdk/dynamodb/src/operation/list_imports/builders.rs @@ -19,9 +19,9 @@ impl ListImportsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl ListImportsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_imports::ListImports, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::list_imports::paginator::ListImportsPaginator::send) which returns a `Stream`. diff --git a/sdk/dynamodb/src/operation/list_tables/builders.rs b/sdk/dynamodb/src/operation/list_tables/builders.rs index 440396afb503..50e3754cb9fc 100644 --- a/sdk/dynamodb/src/operation/list_tables/builders.rs +++ b/sdk/dynamodb/src/operation/list_tables/builders.rs @@ -19,9 +19,9 @@ impl ListTablesFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl ListTablesFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_tables::ListTables, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::list_tables::paginator::ListTablesPaginator::send) which returns a `Stream`. diff --git a/sdk/dynamodb/src/operation/list_tags_of_resource/builders.rs b/sdk/dynamodb/src/operation/list_tags_of_resource/builders.rs index 93dfc3e00670..77046f1b6469 100644 --- a/sdk/dynamodb/src/operation/list_tags_of_resource/builders.rs +++ b/sdk/dynamodb/src/operation/list_tags_of_resource/builders.rs @@ -20,9 +20,9 @@ impl ListTagsOfResourceFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -84,6 +84,22 @@ impl ListTagsOfResourceFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_tags_of_resource::ListTagsOfResource, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::list_tags_of_resource::ListTagsOfResourceError, + >, + > { + self.customize_middleware().await + } ///

                                                                      The Amazon DynamoDB resource with tags to be listed. This value is an Amazon Resource Name (ARN).

                                                                      pub fn resource_arn(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.resource_arn(input.into()); diff --git a/sdk/dynamodb/src/operation/put_item/builders.rs b/sdk/dynamodb/src/operation/put_item/builders.rs index 75f64f01caed..f8538a56c1ea 100644 --- a/sdk/dynamodb/src/operation/put_item/builders.rs +++ b/sdk/dynamodb/src/operation/put_item/builders.rs @@ -25,9 +25,9 @@ impl PutItemFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,20 @@ impl PutItemFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::put_item::PutItem, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                      The name of the table to contain the item.

                                                                      pub fn table_name(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.table_name(input.into()); diff --git a/sdk/dynamodb/src/operation/query/builders.rs b/sdk/dynamodb/src/operation/query/builders.rs index e837528e6e1d..ec108a75a7ae 100644 --- a/sdk/dynamodb/src/operation/query/builders.rs +++ b/sdk/dynamodb/src/operation/query/builders.rs @@ -29,9 +29,9 @@ impl QueryFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -87,6 +87,20 @@ impl QueryFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::query::Query, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::query::paginator::QueryPaginator::send) which returns a `Stream`. diff --git a/sdk/dynamodb/src/operation/restore_table_from_backup/builders.rs b/sdk/dynamodb/src/operation/restore_table_from_backup/builders.rs index c008783e44b9..d9c742c119cc 100644 --- a/sdk/dynamodb/src/operation/restore_table_from_backup/builders.rs +++ b/sdk/dynamodb/src/operation/restore_table_from_backup/builders.rs @@ -30,9 +30,9 @@ impl RestoreTableFromBackupFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -94,6 +94,22 @@ impl RestoreTableFromBackupFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::restore_table_from_backup::RestoreTableFromBackup, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::restore_table_from_backup::RestoreTableFromBackupError, + >, + > { + self.customize_middleware().await + } ///

                                                                      The name of the new table to which the backup must be restored.

                                                                      pub fn target_table_name( mut self, diff --git a/sdk/dynamodb/src/operation/restore_table_to_point_in_time/builders.rs b/sdk/dynamodb/src/operation/restore_table_to_point_in_time/builders.rs index bacfab0a0c14..548d681f6319 100644 --- a/sdk/dynamodb/src/operation/restore_table_to_point_in_time/builders.rs +++ b/sdk/dynamodb/src/operation/restore_table_to_point_in_time/builders.rs @@ -39,9 +39,9 @@ impl RestoreTableToPointInTimeFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -103,6 +103,22 @@ impl RestoreTableToPointInTimeFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::restore_table_to_point_in_time::RestoreTableToPointInTime, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::restore_table_to_point_in_time::RestoreTableToPointInTimeError, + >, + > { + self.customize_middleware().await + } ///

                                                                      The DynamoDB table that will be restored. This value is an Amazon Resource Name (ARN).

                                                                      pub fn source_table_arn( mut self, diff --git a/sdk/dynamodb/src/operation/scan/builders.rs b/sdk/dynamodb/src/operation/scan/builders.rs index 1de3fa752271..b7ed0d1c3b0a 100644 --- a/sdk/dynamodb/src/operation/scan/builders.rs +++ b/sdk/dynamodb/src/operation/scan/builders.rs @@ -23,9 +23,9 @@ impl ScanFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -81,6 +81,20 @@ impl ScanFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::scan::Scan, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::scan::paginator::ScanPaginator::send) which returns a `Stream`. diff --git a/sdk/dynamodb/src/operation/tag_resource/builders.rs b/sdk/dynamodb/src/operation/tag_resource/builders.rs index 457751810967..c3448b442f9d 100644 --- a/sdk/dynamodb/src/operation/tag_resource/builders.rs +++ b/sdk/dynamodb/src/operation/tag_resource/builders.rs @@ -20,9 +20,9 @@ impl TagResourceFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -78,6 +78,20 @@ impl TagResourceFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::tag_resource::TagResource, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                      Identifies the Amazon DynamoDB resource to which tags should be added. This value is an Amazon Resource Name (ARN).

                                                                      pub fn resource_arn(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.resource_arn(input.into()); diff --git a/sdk/dynamodb/src/operation/transact_get_items/builders.rs b/sdk/dynamodb/src/operation/transact_get_items/builders.rs index e79a76b0094a..2f8b9d8af04b 100644 --- a/sdk/dynamodb/src/operation/transact_get_items/builders.rs +++ b/sdk/dynamodb/src/operation/transact_get_items/builders.rs @@ -26,9 +26,9 @@ impl TransactGetItemsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -90,6 +90,22 @@ impl TransactGetItemsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::transact_get_items::TransactGetItems, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::transact_get_items::TransactGetItemsError, + >, + > { + self.customize_middleware().await + } /// Appends an item to `TransactItems`. /// /// To override the contents of this collection use [`set_transact_items`](Self::set_transact_items). diff --git a/sdk/dynamodb/src/operation/transact_write_items/builders.rs b/sdk/dynamodb/src/operation/transact_write_items/builders.rs index d77f192bef76..f5bdc5740c1e 100644 --- a/sdk/dynamodb/src/operation/transact_write_items/builders.rs +++ b/sdk/dynamodb/src/operation/transact_write_items/builders.rs @@ -35,9 +35,9 @@ impl TransactWriteItemsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -99,6 +99,22 @@ impl TransactWriteItemsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::transact_write_items::TransactWriteItems, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::transact_write_items::TransactWriteItemsError, + >, + > { + self.customize_middleware().await + } /// Appends an item to `TransactItems`. /// /// To override the contents of this collection use [`set_transact_items`](Self::set_transact_items). diff --git a/sdk/dynamodb/src/operation/untag_resource/builders.rs b/sdk/dynamodb/src/operation/untag_resource/builders.rs index 48cbb09dd0b0..9def41026061 100644 --- a/sdk/dynamodb/src/operation/untag_resource/builders.rs +++ b/sdk/dynamodb/src/operation/untag_resource/builders.rs @@ -20,9 +20,9 @@ impl UntagResourceFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -78,6 +78,20 @@ impl UntagResourceFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::untag_resource::UntagResource, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                      The DynamoDB resource that the tags will be removed from. This value is an Amazon Resource Name (ARN).

                                                                      pub fn resource_arn(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.resource_arn(input.into()); diff --git a/sdk/dynamodb/src/operation/update_continuous_backups/builders.rs b/sdk/dynamodb/src/operation/update_continuous_backups/builders.rs index 4b6e4bc77d6c..973f7789f136 100644 --- a/sdk/dynamodb/src/operation/update_continuous_backups/builders.rs +++ b/sdk/dynamodb/src/operation/update_continuous_backups/builders.rs @@ -22,9 +22,9 @@ impl UpdateContinuousBackupsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -86,6 +86,22 @@ impl UpdateContinuousBackupsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::update_continuous_backups::UpdateContinuousBackups, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::update_continuous_backups::UpdateContinuousBackupsError, + >, + > { + self.customize_middleware().await + } ///

                                                                      The name of the table.

                                                                      pub fn table_name(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.table_name(input.into()); diff --git a/sdk/dynamodb/src/operation/update_contributor_insights/builders.rs b/sdk/dynamodb/src/operation/update_contributor_insights/builders.rs index 1084bb6897bb..d1cc47cdeddc 100644 --- a/sdk/dynamodb/src/operation/update_contributor_insights/builders.rs +++ b/sdk/dynamodb/src/operation/update_contributor_insights/builders.rs @@ -19,9 +19,9 @@ impl UpdateContributorInsightsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl UpdateContributorInsightsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::update_contributor_insights::UpdateContributorInsights, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::update_contributor_insights::UpdateContributorInsightsError, + >, + > { + self.customize_middleware().await + } ///

                                                                      The name of the table.

                                                                      pub fn table_name(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.table_name(input.into()); diff --git a/sdk/dynamodb/src/operation/update_global_table/builders.rs b/sdk/dynamodb/src/operation/update_global_table/builders.rs index 9ec7908c2d82..0122dba7df05 100644 --- a/sdk/dynamodb/src/operation/update_global_table/builders.rs +++ b/sdk/dynamodb/src/operation/update_global_table/builders.rs @@ -30,9 +30,9 @@ impl UpdateGlobalTableFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -94,6 +94,22 @@ impl UpdateGlobalTableFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::update_global_table::UpdateGlobalTable, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::update_global_table::UpdateGlobalTableError, + >, + > { + self.customize_middleware().await + } ///

                                                                      The global table name.

                                                                      pub fn global_table_name( mut self, diff --git a/sdk/dynamodb/src/operation/update_global_table_settings/builders.rs b/sdk/dynamodb/src/operation/update_global_table_settings/builders.rs index 1fe98322db80..2403bca4580c 100644 --- a/sdk/dynamodb/src/operation/update_global_table_settings/builders.rs +++ b/sdk/dynamodb/src/operation/update_global_table_settings/builders.rs @@ -21,9 +21,9 @@ impl UpdateGlobalTableSettingsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -85,6 +85,22 @@ impl UpdateGlobalTableSettingsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::update_global_table_settings::UpdateGlobalTableSettings, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::update_global_table_settings::UpdateGlobalTableSettingsError, + >, + > { + self.customize_middleware().await + } ///

                                                                      The name of the global table

                                                                      pub fn global_table_name( mut self, diff --git a/sdk/dynamodb/src/operation/update_item/builders.rs b/sdk/dynamodb/src/operation/update_item/builders.rs index 7db4bed290aa..dee44f99d00f 100644 --- a/sdk/dynamodb/src/operation/update_item/builders.rs +++ b/sdk/dynamodb/src/operation/update_item/builders.rs @@ -20,9 +20,9 @@ impl UpdateItemFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -78,6 +78,20 @@ impl UpdateItemFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::update_item::UpdateItem, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                      The name of the table containing the item to update.

                                                                      pub fn table_name(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.table_name(input.into()); diff --git a/sdk/dynamodb/src/operation/update_table/builders.rs b/sdk/dynamodb/src/operation/update_table/builders.rs index fbf3218fd8ea..bbbe59d66ccb 100644 --- a/sdk/dynamodb/src/operation/update_table/builders.rs +++ b/sdk/dynamodb/src/operation/update_table/builders.rs @@ -28,9 +28,9 @@ impl UpdateTableFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -86,6 +86,20 @@ impl UpdateTableFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::update_table::UpdateTable, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } /// Appends an item to `AttributeDefinitions`. /// /// To override the contents of this collection use [`set_attribute_definitions`](Self::set_attribute_definitions). diff --git a/sdk/dynamodb/src/operation/update_table_replica_auto_scaling/builders.rs b/sdk/dynamodb/src/operation/update_table_replica_auto_scaling/builders.rs index 973455454d18..c707fdec3ea3 100644 --- a/sdk/dynamodb/src/operation/update_table_replica_auto_scaling/builders.rs +++ b/sdk/dynamodb/src/operation/update_table_replica_auto_scaling/builders.rs @@ -21,9 +21,9 @@ impl UpdateTableReplicaAutoScalingFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -85,6 +85,22 @@ impl UpdateTableReplicaAutoScalingFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::update_table_replica_auto_scaling::UpdateTableReplicaAutoScaling, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::update_table_replica_auto_scaling::UpdateTableReplicaAutoScalingError, + >, + > { + self.customize_middleware().await + } /// Appends an item to `GlobalSecondaryIndexUpdates`. /// /// To override the contents of this collection use [`set_global_secondary_index_updates`](Self::set_global_secondary_index_updates). diff --git a/sdk/dynamodb/src/operation/update_time_to_live/builders.rs b/sdk/dynamodb/src/operation/update_time_to_live/builders.rs index 0b381b18ce59..270f7286206b 100644 --- a/sdk/dynamodb/src/operation/update_time_to_live/builders.rs +++ b/sdk/dynamodb/src/operation/update_time_to_live/builders.rs @@ -27,9 +27,9 @@ impl UpdateTimeToLiveFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -91,6 +91,22 @@ impl UpdateTimeToLiveFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::update_time_to_live::UpdateTimeToLive, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::update_time_to_live::UpdateTimeToLiveError, + >, + > { + self.customize_middleware().await + } ///

                                                                      The name of the table to be configured.

                                                                      pub fn table_name(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.table_name(input.into()); diff --git a/sdk/dynamodbstreams/src/operation/describe_stream/builders.rs b/sdk/dynamodbstreams/src/operation/describe_stream/builders.rs index 819fd1727558..33f4584131e9 100644 --- a/sdk/dynamodbstreams/src/operation/describe_stream/builders.rs +++ b/sdk/dynamodbstreams/src/operation/describe_stream/builders.rs @@ -22,9 +22,9 @@ impl DescribeStreamFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -80,6 +80,20 @@ impl DescribeStreamFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::describe_stream::DescribeStream, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                      The Amazon Resource Name (ARN) for the stream.

                                                                      pub fn stream_arn(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.stream_arn(input.into()); diff --git a/sdk/dynamodbstreams/src/operation/get_records/builders.rs b/sdk/dynamodbstreams/src/operation/get_records/builders.rs index be9f208a425d..4d6a242e6a55 100644 --- a/sdk/dynamodbstreams/src/operation/get_records/builders.rs +++ b/sdk/dynamodbstreams/src/operation/get_records/builders.rs @@ -22,9 +22,9 @@ impl GetRecordsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -80,6 +80,20 @@ impl GetRecordsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::get_records::GetRecords, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                      A shard iterator that was retrieved from a previous GetShardIterator operation. This iterator can be used to access the stream records in this shard.

                                                                      pub fn shard_iterator( mut self, diff --git a/sdk/dynamodbstreams/src/operation/get_shard_iterator/builders.rs b/sdk/dynamodbstreams/src/operation/get_shard_iterator/builders.rs index 8261699754fd..742b689b8598 100644 --- a/sdk/dynamodbstreams/src/operation/get_shard_iterator/builders.rs +++ b/sdk/dynamodbstreams/src/operation/get_shard_iterator/builders.rs @@ -21,9 +21,9 @@ impl GetShardIteratorFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -85,6 +85,22 @@ impl GetShardIteratorFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::get_shard_iterator::GetShardIterator, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::get_shard_iterator::GetShardIteratorError, + >, + > { + self.customize_middleware().await + } ///

                                                                      The Amazon Resource Name (ARN) for the stream.

                                                                      pub fn stream_arn(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.stream_arn(input.into()); diff --git a/sdk/dynamodbstreams/src/operation/list_streams/builders.rs b/sdk/dynamodbstreams/src/operation/list_streams/builders.rs index 711bc3e974ed..ea3ac15b0a84 100644 --- a/sdk/dynamodbstreams/src/operation/list_streams/builders.rs +++ b/sdk/dynamodbstreams/src/operation/list_streams/builders.rs @@ -21,9 +21,9 @@ impl ListStreamsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -79,6 +79,20 @@ impl ListStreamsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_streams::ListStreams, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                      If this parameter is provided, then only the streams associated with this table name are returned.

                                                                      pub fn table_name(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.table_name(input.into()); diff --git a/sdk/ebs/src/operation/complete_snapshot/builders.rs b/sdk/ebs/src/operation/complete_snapshot/builders.rs index 4633f4d1d8e7..f2687c1f9e1e 100644 --- a/sdk/ebs/src/operation/complete_snapshot/builders.rs +++ b/sdk/ebs/src/operation/complete_snapshot/builders.rs @@ -19,9 +19,9 @@ impl CompleteSnapshotFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl CompleteSnapshotFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::complete_snapshot::CompleteSnapshot, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::complete_snapshot::CompleteSnapshotError, + >, + > { + self.customize_middleware().await + } ///

                                                                      The ID of the snapshot.

                                                                      pub fn snapshot_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.snapshot_id(input.into()); diff --git a/sdk/ebs/src/operation/get_snapshot_block/builders.rs b/sdk/ebs/src/operation/get_snapshot_block/builders.rs index 04a4eb34a78b..848b2fc65d85 100644 --- a/sdk/ebs/src/operation/get_snapshot_block/builders.rs +++ b/sdk/ebs/src/operation/get_snapshot_block/builders.rs @@ -19,9 +19,9 @@ impl GetSnapshotBlockFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl GetSnapshotBlockFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::get_snapshot_block::GetSnapshotBlock, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::get_snapshot_block::GetSnapshotBlockError, + >, + > { + self.customize_middleware().await + } ///

                                                                      The ID of the snapshot containing the block from which to get data.

                                                                      ///

                                                                      If the specified snapshot is encrypted, you must have permission to use the KMS key that was used to encrypt the snapshot. For more information, see Using encryption in the Amazon Elastic Compute Cloud User Guide.

                                                                      ///
                                                                      diff --git a/sdk/ebs/src/operation/list_changed_blocks/builders.rs b/sdk/ebs/src/operation/list_changed_blocks/builders.rs index 468e723fa7df..cc5855b828f6 100644 --- a/sdk/ebs/src/operation/list_changed_blocks/builders.rs +++ b/sdk/ebs/src/operation/list_changed_blocks/builders.rs @@ -19,9 +19,9 @@ impl ListChangedBlocksFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl ListChangedBlocksFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_changed_blocks::ListChangedBlocks, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::list_changed_blocks::ListChangedBlocksError, + >, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::list_changed_blocks::paginator::ListChangedBlocksPaginator::send) which returns a `Stream`. diff --git a/sdk/ebs/src/operation/list_snapshot_blocks/builders.rs b/sdk/ebs/src/operation/list_snapshot_blocks/builders.rs index 270c4c4252a8..f67c460def9c 100644 --- a/sdk/ebs/src/operation/list_snapshot_blocks/builders.rs +++ b/sdk/ebs/src/operation/list_snapshot_blocks/builders.rs @@ -19,9 +19,9 @@ impl ListSnapshotBlocksFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl ListSnapshotBlocksFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_snapshot_blocks::ListSnapshotBlocks, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::list_snapshot_blocks::ListSnapshotBlocksError, + >, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::list_snapshot_blocks::paginator::ListSnapshotBlocksPaginator::send) which returns a `Stream`. diff --git a/sdk/ebs/src/operation/put_snapshot_block/builders.rs b/sdk/ebs/src/operation/put_snapshot_block/builders.rs index 178a310461b0..030166cfe85d 100644 --- a/sdk/ebs/src/operation/put_snapshot_block/builders.rs +++ b/sdk/ebs/src/operation/put_snapshot_block/builders.rs @@ -20,9 +20,9 @@ impl PutSnapshotBlockFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -84,6 +84,22 @@ impl PutSnapshotBlockFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::put_snapshot_block::PutSnapshotBlock, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::put_snapshot_block::PutSnapshotBlockError, + >, + > { + self.customize_middleware().await + } ///

                                                                      The ID of the snapshot.

                                                                      ///

                                                                      If the specified snapshot is encrypted, you must have permission to use the KMS key that was used to encrypt the snapshot. For more information, see Using encryption in the Amazon Elastic Compute Cloud User Guide..

                                                                      ///
                                                                      diff --git a/sdk/ebs/src/operation/start_snapshot/builders.rs b/sdk/ebs/src/operation/start_snapshot/builders.rs index a76ef210b4c8..4489e5c5d459 100644 --- a/sdk/ebs/src/operation/start_snapshot/builders.rs +++ b/sdk/ebs/src/operation/start_snapshot/builders.rs @@ -20,9 +20,9 @@ impl StartSnapshotFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -78,6 +78,20 @@ impl StartSnapshotFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::start_snapshot::StartSnapshot, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                      The size of the volume, in GiB. The maximum size is 65536 GiB (64 TiB).

                                                                      pub fn volume_size(mut self, input: i64) -> Self { self.inner = self.inner.volume_size(input); diff --git a/sdk/ec2/src/operation/accept_address_transfer/builders.rs b/sdk/ec2/src/operation/accept_address_transfer/builders.rs index e9376acb9434..7bc6ed3f58cd 100644 --- a/sdk/ec2/src/operation/accept_address_transfer/builders.rs +++ b/sdk/ec2/src/operation/accept_address_transfer/builders.rs @@ -19,9 +19,9 @@ impl AcceptAddressTransferFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl AcceptAddressTransferFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::accept_address_transfer::AcceptAddressTransfer, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::accept_address_transfer::AcceptAddressTransferError, + >, + > { + self.customize_middleware().await + } ///

                                                                      The Elastic IP address you are accepting for transfer.

                                                                      pub fn address(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.address(input.into()); diff --git a/sdk/ec2/src/operation/accept_reserved_instances_exchange_quote/builders.rs b/sdk/ec2/src/operation/accept_reserved_instances_exchange_quote/builders.rs index 00dac5e9da5e..46f735e30f74 100644 --- a/sdk/ec2/src/operation/accept_reserved_instances_exchange_quote/builders.rs +++ b/sdk/ec2/src/operation/accept_reserved_instances_exchange_quote/builders.rs @@ -19,9 +19,9 @@ impl AcceptReservedInstancesExchangeQuoteFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize(self) -> ::std::result::Result< + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware(self) -> ::std::result::Result< crate::client::customize::CustomizableOperation, ::aws_smithy_http::result::SdkError >{ @@ -64,6 +64,15 @@ impl AcceptReservedInstancesExchangeQuoteFluentBuilder { { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize(self) -> ::std::result::Result< + crate::client::customize::CustomizableOperation, + ::aws_smithy_http::result::SdkError + >{ + self.customize_middleware().await + } ///

                                                                      Checks whether you have the required permissions for the action, without actually making the request, and provides an error response. If you have the required permissions, the error response is DryRunOperation. Otherwise, it is UnauthorizedOperation.

                                                                      pub fn dry_run(mut self, input: bool) -> Self { self.inner = self.inner.dry_run(input); diff --git a/sdk/ec2/src/operation/accept_transit_gateway_multicast_domain_associations/builders.rs b/sdk/ec2/src/operation/accept_transit_gateway_multicast_domain_associations/builders.rs index f19af5aa57bd..99ed66157afc 100644 --- a/sdk/ec2/src/operation/accept_transit_gateway_multicast_domain_associations/builders.rs +++ b/sdk/ec2/src/operation/accept_transit_gateway_multicast_domain_associations/builders.rs @@ -19,9 +19,9 @@ impl AcceptTransitGatewayMulticastDomainAssociationsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize(self) -> ::std::result::Result< + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware(self) -> ::std::result::Result< crate::client::customize::CustomizableOperation, ::aws_smithy_http::result::SdkError >{ @@ -64,6 +64,15 @@ impl AcceptTransitGatewayMulticastDomainAssociationsFluentBuilder { { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize(self) -> ::std::result::Result< + crate::client::customize::CustomizableOperation, + ::aws_smithy_http::result::SdkError + >{ + self.customize_middleware().await + } ///

                                                                      The ID of the transit gateway multicast domain.

                                                                      pub fn transit_gateway_multicast_domain_id( mut self, diff --git a/sdk/ec2/src/operation/accept_transit_gateway_peering_attachment/builders.rs b/sdk/ec2/src/operation/accept_transit_gateway_peering_attachment/builders.rs index c3e4937cc96b..e69e7cbf4b4d 100644 --- a/sdk/ec2/src/operation/accept_transit_gateway_peering_attachment/builders.rs +++ b/sdk/ec2/src/operation/accept_transit_gateway_peering_attachment/builders.rs @@ -19,9 +19,9 @@ impl AcceptTransitGatewayPeeringAttachmentFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize(self) -> ::std::result::Result< + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware(self) -> ::std::result::Result< crate::client::customize::CustomizableOperation, ::aws_smithy_http::result::SdkError >{ @@ -64,6 +64,15 @@ impl AcceptTransitGatewayPeeringAttachmentFluentBuilder { { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize(self) -> ::std::result::Result< + crate::client::customize::CustomizableOperation, + ::aws_smithy_http::result::SdkError + >{ + self.customize_middleware().await + } ///

                                                                      The ID of the transit gateway attachment.

                                                                      pub fn transit_gateway_attachment_id( mut self, diff --git a/sdk/ec2/src/operation/accept_transit_gateway_vpc_attachment/builders.rs b/sdk/ec2/src/operation/accept_transit_gateway_vpc_attachment/builders.rs index 04c2ff0a062d..01b114ba9596 100644 --- a/sdk/ec2/src/operation/accept_transit_gateway_vpc_attachment/builders.rs +++ b/sdk/ec2/src/operation/accept_transit_gateway_vpc_attachment/builders.rs @@ -20,9 +20,9 @@ impl AcceptTransitGatewayVpcAttachmentFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize(self) -> ::std::result::Result< + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware(self) -> ::std::result::Result< crate::client::customize::CustomizableOperation, ::aws_smithy_http::result::SdkError >{ @@ -65,6 +65,15 @@ impl AcceptTransitGatewayVpcAttachmentFluentBuilder { { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize(self) -> ::std::result::Result< + crate::client::customize::CustomizableOperation, + ::aws_smithy_http::result::SdkError + >{ + self.customize_middleware().await + } ///

                                                                      The ID of the attachment.

                                                                      pub fn transit_gateway_attachment_id( mut self, diff --git a/sdk/ec2/src/operation/accept_vpc_endpoint_connections/builders.rs b/sdk/ec2/src/operation/accept_vpc_endpoint_connections/builders.rs index bb0735bcd5a2..2ccac7e30ecd 100644 --- a/sdk/ec2/src/operation/accept_vpc_endpoint_connections/builders.rs +++ b/sdk/ec2/src/operation/accept_vpc_endpoint_connections/builders.rs @@ -19,9 +19,9 @@ impl AcceptVpcEndpointConnectionsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl AcceptVpcEndpointConnectionsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::accept_vpc_endpoint_connections::AcceptVpcEndpointConnections, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::accept_vpc_endpoint_connections::AcceptVpcEndpointConnectionsError, + >, + > { + self.customize_middleware().await + } ///

                                                                      Checks whether you have the required permissions for the action, without actually making the request, and provides an error response. If you have the required permissions, the error response is DryRunOperation. Otherwise, it is UnauthorizedOperation.

                                                                      pub fn dry_run(mut self, input: bool) -> Self { self.inner = self.inner.dry_run(input); diff --git a/sdk/ec2/src/operation/accept_vpc_peering_connection/builders.rs b/sdk/ec2/src/operation/accept_vpc_peering_connection/builders.rs index ac5781a0257e..f85c30c39dfa 100644 --- a/sdk/ec2/src/operation/accept_vpc_peering_connection/builders.rs +++ b/sdk/ec2/src/operation/accept_vpc_peering_connection/builders.rs @@ -20,9 +20,9 @@ impl AcceptVpcPeeringConnectionFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -84,6 +84,22 @@ impl AcceptVpcPeeringConnectionFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::accept_vpc_peering_connection::AcceptVpcPeeringConnection, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::accept_vpc_peering_connection::AcceptVpcPeeringConnectionError, + >, + > { + self.customize_middleware().await + } ///

                                                                      Checks whether you have the required permissions for the action, without actually making the request, and provides an error response. If you have the required permissions, the error response is DryRunOperation. Otherwise, it is UnauthorizedOperation.

                                                                      pub fn dry_run(mut self, input: bool) -> Self { self.inner = self.inner.dry_run(input); diff --git a/sdk/ec2/src/operation/advertise_byoip_cidr/builders.rs b/sdk/ec2/src/operation/advertise_byoip_cidr/builders.rs index a5ab3f09c1c8..a068d529d0a0 100644 --- a/sdk/ec2/src/operation/advertise_byoip_cidr/builders.rs +++ b/sdk/ec2/src/operation/advertise_byoip_cidr/builders.rs @@ -23,9 +23,9 @@ impl AdvertiseByoipCidrFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -87,6 +87,22 @@ impl AdvertiseByoipCidrFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::advertise_byoip_cidr::AdvertiseByoipCidr, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::advertise_byoip_cidr::AdvertiseByoipCidrError, + >, + > { + self.customize_middleware().await + } ///

                                                                      The address range, in CIDR notation. This must be the exact range that you provisioned. You can't advertise only a portion of the provisioned range.

                                                                      pub fn cidr(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.cidr(input.into()); diff --git a/sdk/ec2/src/operation/allocate_address/builders.rs b/sdk/ec2/src/operation/allocate_address/builders.rs index a4afa4431bca..616bf3aa1d15 100644 --- a/sdk/ec2/src/operation/allocate_address/builders.rs +++ b/sdk/ec2/src/operation/allocate_address/builders.rs @@ -26,9 +26,9 @@ impl AllocateAddressFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -90,6 +90,22 @@ impl AllocateAddressFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::allocate_address::AllocateAddress, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::allocate_address::AllocateAddressError, + >, + > { + self.customize_middleware().await + } ///

                                                                      Indicates whether the Elastic IP address is for use with instances in a VPC or instances in EC2-Classic.

                                                                      ///

                                                                      Default: If the Region supports EC2-Classic, the default is standard. Otherwise, the default is vpc.

                                                                      pub fn domain(mut self, input: crate::types::DomainType) -> Self { diff --git a/sdk/ec2/src/operation/allocate_hosts/builders.rs b/sdk/ec2/src/operation/allocate_hosts/builders.rs index 5a3e0e61b60e..0c54e4e5c855 100644 --- a/sdk/ec2/src/operation/allocate_hosts/builders.rs +++ b/sdk/ec2/src/operation/allocate_hosts/builders.rs @@ -19,9 +19,9 @@ impl AllocateHostsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl AllocateHostsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::allocate_hosts::AllocateHosts, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                      Indicates whether the host accepts any untargeted instance launches that match its instance type configuration, or if it only accepts Host tenancy instance launches that specify its unique host ID. For more information, see Understanding auto-placement and affinity in the Amazon EC2 User Guide.

                                                                      ///

                                                                      Default: on

                                                                      pub fn auto_placement(mut self, input: crate::types::AutoPlacement) -> Self { diff --git a/sdk/ec2/src/operation/allocate_ipam_pool_cidr/builders.rs b/sdk/ec2/src/operation/allocate_ipam_pool_cidr/builders.rs index 73324765c568..559a4b97d874 100644 --- a/sdk/ec2/src/operation/allocate_ipam_pool_cidr/builders.rs +++ b/sdk/ec2/src/operation/allocate_ipam_pool_cidr/builders.rs @@ -21,9 +21,9 @@ impl AllocateIpamPoolCidrFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -85,6 +85,22 @@ impl AllocateIpamPoolCidrFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::allocate_ipam_pool_cidr::AllocateIpamPoolCidr, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::allocate_ipam_pool_cidr::AllocateIpamPoolCidrError, + >, + > { + self.customize_middleware().await + } ///

                                                                      A check for whether you have the required permissions for the action without actually making the request and provides an error response. If you have the required permissions, the error response is DryRunOperation. Otherwise, it is UnauthorizedOperation.

                                                                      pub fn dry_run(mut self, input: bool) -> Self { self.inner = self.inner.dry_run(input); diff --git a/sdk/ec2/src/operation/apply_security_groups_to_client_vpn_target_network/builders.rs b/sdk/ec2/src/operation/apply_security_groups_to_client_vpn_target_network/builders.rs index f0f7fcfe3d7e..f34c2d5ff6f2 100644 --- a/sdk/ec2/src/operation/apply_security_groups_to_client_vpn_target_network/builders.rs +++ b/sdk/ec2/src/operation/apply_security_groups_to_client_vpn_target_network/builders.rs @@ -19,9 +19,9 @@ impl ApplySecurityGroupsToClientVpnTargetNetworkFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize(self) -> ::std::result::Result< + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware(self) -> ::std::result::Result< crate::client::customize::CustomizableOperation, ::aws_smithy_http::result::SdkError >{ @@ -64,6 +64,15 @@ impl ApplySecurityGroupsToClientVpnTargetNetworkFluentBuilder { { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize(self) -> ::std::result::Result< + crate::client::customize::CustomizableOperation, + ::aws_smithy_http::result::SdkError + >{ + self.customize_middleware().await + } ///

                                                                      The ID of the Client VPN endpoint.

                                                                      pub fn client_vpn_endpoint_id( mut self, diff --git a/sdk/ec2/src/operation/assign_ipv6_addresses/builders.rs b/sdk/ec2/src/operation/assign_ipv6_addresses/builders.rs index c6ef021dafaf..1bdeba81fe32 100644 --- a/sdk/ec2/src/operation/assign_ipv6_addresses/builders.rs +++ b/sdk/ec2/src/operation/assign_ipv6_addresses/builders.rs @@ -21,9 +21,9 @@ impl AssignIpv6AddressesFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -85,6 +85,22 @@ impl AssignIpv6AddressesFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::assign_ipv6_addresses::AssignIpv6Addresses, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::assign_ipv6_addresses::AssignIpv6AddressesError, + >, + > { + self.customize_middleware().await + } ///

                                                                      The number of additional IPv6 addresses to assign to the network interface. The specified number of IPv6 addresses are assigned in addition to the existing IPv6 addresses that are already assigned to the network interface. Amazon EC2 automatically selects the IPv6 addresses from the subnet range. You can't use this option if specifying specific IPv6 addresses.

                                                                      pub fn ipv6_address_count(mut self, input: i32) -> Self { self.inner = self.inner.ipv6_address_count(input); diff --git a/sdk/ec2/src/operation/assign_private_ip_addresses/builders.rs b/sdk/ec2/src/operation/assign_private_ip_addresses/builders.rs index bb0f409deeae..f537b9373ebb 100644 --- a/sdk/ec2/src/operation/assign_private_ip_addresses/builders.rs +++ b/sdk/ec2/src/operation/assign_private_ip_addresses/builders.rs @@ -24,9 +24,9 @@ impl AssignPrivateIpAddressesFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -88,6 +88,22 @@ impl AssignPrivateIpAddressesFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::assign_private_ip_addresses::AssignPrivateIpAddresses, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::assign_private_ip_addresses::AssignPrivateIpAddressesError, + >, + > { + self.customize_middleware().await + } ///

                                                                      Indicates whether to allow an IP address that is already assigned to another network interface or instance to be reassigned to the specified network interface.

                                                                      pub fn allow_reassignment(mut self, input: bool) -> Self { self.inner = self.inner.allow_reassignment(input); diff --git a/sdk/ec2/src/operation/assign_private_nat_gateway_address/builders.rs b/sdk/ec2/src/operation/assign_private_nat_gateway_address/builders.rs index 1c4650a38a7c..8c277efb2927 100644 --- a/sdk/ec2/src/operation/assign_private_nat_gateway_address/builders.rs +++ b/sdk/ec2/src/operation/assign_private_nat_gateway_address/builders.rs @@ -19,9 +19,9 @@ impl AssignPrivateNatGatewayAddressFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize(self) -> ::std::result::Result< + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware(self) -> ::std::result::Result< crate::client::customize::CustomizableOperation, ::aws_smithy_http::result::SdkError >{ @@ -64,6 +64,15 @@ impl AssignPrivateNatGatewayAddressFluentBuilder { { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize(self) -> ::std::result::Result< + crate::client::customize::CustomizableOperation, + ::aws_smithy_http::result::SdkError + >{ + self.customize_middleware().await + } ///

                                                                      The NAT gateway ID.

                                                                      pub fn nat_gateway_id( mut self, diff --git a/sdk/ec2/src/operation/associate_address/builders.rs b/sdk/ec2/src/operation/associate_address/builders.rs index 731e91ee442a..c1a27d2467cb 100644 --- a/sdk/ec2/src/operation/associate_address/builders.rs +++ b/sdk/ec2/src/operation/associate_address/builders.rs @@ -28,9 +28,9 @@ impl AssociateAddressFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -92,6 +92,22 @@ impl AssociateAddressFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::associate_address::AssociateAddress, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::associate_address::AssociateAddressError, + >, + > { + self.customize_middleware().await + } ///

                                                                      [EC2-VPC] The allocation ID. This is required for EC2-VPC.

                                                                      pub fn allocation_id( mut self, diff --git a/sdk/ec2/src/operation/associate_client_vpn_target_network/builders.rs b/sdk/ec2/src/operation/associate_client_vpn_target_network/builders.rs index 8e7d820c4498..143eb2e2ccf7 100644 --- a/sdk/ec2/src/operation/associate_client_vpn_target_network/builders.rs +++ b/sdk/ec2/src/operation/associate_client_vpn_target_network/builders.rs @@ -20,9 +20,9 @@ impl AssociateClientVpnTargetNetworkFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize(self) -> ::std::result::Result< + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware(self) -> ::std::result::Result< crate::client::customize::CustomizableOperation, ::aws_smithy_http::result::SdkError >{ @@ -65,6 +65,15 @@ impl AssociateClientVpnTargetNetworkFluentBuilder { { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize(self) -> ::std::result::Result< + crate::client::customize::CustomizableOperation, + ::aws_smithy_http::result::SdkError + >{ + self.customize_middleware().await + } ///

                                                                      The ID of the Client VPN endpoint.

                                                                      pub fn client_vpn_endpoint_id( mut self, diff --git a/sdk/ec2/src/operation/associate_dhcp_options/builders.rs b/sdk/ec2/src/operation/associate_dhcp_options/builders.rs index 27c300cf7d2f..c39a312c986d 100644 --- a/sdk/ec2/src/operation/associate_dhcp_options/builders.rs +++ b/sdk/ec2/src/operation/associate_dhcp_options/builders.rs @@ -21,9 +21,9 @@ impl AssociateDhcpOptionsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -85,6 +85,22 @@ impl AssociateDhcpOptionsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::associate_dhcp_options::AssociateDhcpOptions, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::associate_dhcp_options::AssociateDhcpOptionsError, + >, + > { + self.customize_middleware().await + } ///

                                                                      The ID of the DHCP options set, or default to associate no DHCP options with the VPC.

                                                                      pub fn dhcp_options_id( mut self, diff --git a/sdk/ec2/src/operation/associate_enclave_certificate_iam_role/builders.rs b/sdk/ec2/src/operation/associate_enclave_certificate_iam_role/builders.rs index 3c0768731543..7931f54caf3f 100644 --- a/sdk/ec2/src/operation/associate_enclave_certificate_iam_role/builders.rs +++ b/sdk/ec2/src/operation/associate_enclave_certificate_iam_role/builders.rs @@ -21,9 +21,9 @@ impl AssociateEnclaveCertificateIamRoleFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize(self) -> ::std::result::Result< + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware(self) -> ::std::result::Result< crate::client::customize::CustomizableOperation, ::aws_smithy_http::result::SdkError >{ @@ -66,6 +66,15 @@ impl AssociateEnclaveCertificateIamRoleFluentBuilder { { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize(self) -> ::std::result::Result< + crate::client::customize::CustomizableOperation, + ::aws_smithy_http::result::SdkError + >{ + self.customize_middleware().await + } ///

                                                                      The ARN of the ACM certificate with which to associate the IAM role.

                                                                      pub fn certificate_arn( mut self, diff --git a/sdk/ec2/src/operation/associate_iam_instance_profile/builders.rs b/sdk/ec2/src/operation/associate_iam_instance_profile/builders.rs index b6f2fb34bfc3..baa9e39f5c3b 100644 --- a/sdk/ec2/src/operation/associate_iam_instance_profile/builders.rs +++ b/sdk/ec2/src/operation/associate_iam_instance_profile/builders.rs @@ -19,9 +19,9 @@ impl AssociateIamInstanceProfileFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl AssociateIamInstanceProfileFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::associate_iam_instance_profile::AssociateIamInstanceProfile, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::associate_iam_instance_profile::AssociateIamInstanceProfileError, + >, + > { + self.customize_middleware().await + } ///

                                                                      The IAM instance profile.

                                                                      pub fn iam_instance_profile( mut self, diff --git a/sdk/ec2/src/operation/associate_instance_event_window/builders.rs b/sdk/ec2/src/operation/associate_instance_event_window/builders.rs index 71ea64f23302..0e24c75aa73d 100644 --- a/sdk/ec2/src/operation/associate_instance_event_window/builders.rs +++ b/sdk/ec2/src/operation/associate_instance_event_window/builders.rs @@ -20,9 +20,9 @@ impl AssociateInstanceEventWindowFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -84,6 +84,22 @@ impl AssociateInstanceEventWindowFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::associate_instance_event_window::AssociateInstanceEventWindow, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::associate_instance_event_window::AssociateInstanceEventWindowError, + >, + > { + self.customize_middleware().await + } ///

                                                                      Checks whether you have the required permissions for the action, without actually making the request, and provides an error response. If you have the required permissions, the error response is DryRunOperation. Otherwise, it is UnauthorizedOperation.

                                                                      pub fn dry_run(mut self, input: bool) -> Self { self.inner = self.inner.dry_run(input); diff --git a/sdk/ec2/src/operation/associate_ipam_resource_discovery/builders.rs b/sdk/ec2/src/operation/associate_ipam_resource_discovery/builders.rs index 49351bd48b15..02c1974dde1e 100644 --- a/sdk/ec2/src/operation/associate_ipam_resource_discovery/builders.rs +++ b/sdk/ec2/src/operation/associate_ipam_resource_discovery/builders.rs @@ -19,9 +19,9 @@ impl AssociateIpamResourceDiscoveryFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize(self) -> ::std::result::Result< + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware(self) -> ::std::result::Result< crate::client::customize::CustomizableOperation, ::aws_smithy_http::result::SdkError >{ @@ -64,6 +64,15 @@ impl AssociateIpamResourceDiscoveryFluentBuilder { { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize(self) -> ::std::result::Result< + crate::client::customize::CustomizableOperation, + ::aws_smithy_http::result::SdkError + >{ + self.customize_middleware().await + } ///

                                                                      A check for whether you have the required permissions for the action without actually making the request and provides an error response. If you have the required permissions, the error response is DryRunOperation. Otherwise, it is UnauthorizedOperation.

                                                                      pub fn dry_run(mut self, input: bool) -> Self { self.inner = self.inner.dry_run(input); diff --git a/sdk/ec2/src/operation/associate_nat_gateway_address/builders.rs b/sdk/ec2/src/operation/associate_nat_gateway_address/builders.rs index c1457d89cfdc..310d0639c67d 100644 --- a/sdk/ec2/src/operation/associate_nat_gateway_address/builders.rs +++ b/sdk/ec2/src/operation/associate_nat_gateway_address/builders.rs @@ -20,9 +20,9 @@ impl AssociateNatGatewayAddressFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -84,6 +84,22 @@ impl AssociateNatGatewayAddressFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::associate_nat_gateway_address::AssociateNatGatewayAddress, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::associate_nat_gateway_address::AssociateNatGatewayAddressError, + >, + > { + self.customize_middleware().await + } ///

                                                                      The NAT gateway ID.

                                                                      pub fn nat_gateway_id( mut self, diff --git a/sdk/ec2/src/operation/associate_route_table/builders.rs b/sdk/ec2/src/operation/associate_route_table/builders.rs index 530d7ac8d405..5c8645a47e92 100644 --- a/sdk/ec2/src/operation/associate_route_table/builders.rs +++ b/sdk/ec2/src/operation/associate_route_table/builders.rs @@ -20,9 +20,9 @@ impl AssociateRouteTableFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -84,6 +84,22 @@ impl AssociateRouteTableFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::associate_route_table::AssociateRouteTable, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::associate_route_table::AssociateRouteTableError, + >, + > { + self.customize_middleware().await + } ///

                                                                      Checks whether you have the required permissions for the action, without actually making the request, and provides an error response. If you have the required permissions, the error response is DryRunOperation. Otherwise, it is UnauthorizedOperation.

                                                                      pub fn dry_run(mut self, input: bool) -> Self { self.inner = self.inner.dry_run(input); diff --git a/sdk/ec2/src/operation/associate_subnet_cidr_block/builders.rs b/sdk/ec2/src/operation/associate_subnet_cidr_block/builders.rs index 9b3451a9fbec..5e98466f411f 100644 --- a/sdk/ec2/src/operation/associate_subnet_cidr_block/builders.rs +++ b/sdk/ec2/src/operation/associate_subnet_cidr_block/builders.rs @@ -19,9 +19,9 @@ impl AssociateSubnetCidrBlockFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl AssociateSubnetCidrBlockFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::associate_subnet_cidr_block::AssociateSubnetCidrBlock, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::associate_subnet_cidr_block::AssociateSubnetCidrBlockError, + >, + > { + self.customize_middleware().await + } ///

                                                                      The IPv6 CIDR block for your subnet. The subnet must have a /64 prefix length.

                                                                      pub fn ipv6_cidr_block( mut self, diff --git a/sdk/ec2/src/operation/associate_transit_gateway_multicast_domain/builders.rs b/sdk/ec2/src/operation/associate_transit_gateway_multicast_domain/builders.rs index da43d5f8ebe3..edf524b3b86e 100644 --- a/sdk/ec2/src/operation/associate_transit_gateway_multicast_domain/builders.rs +++ b/sdk/ec2/src/operation/associate_transit_gateway_multicast_domain/builders.rs @@ -20,9 +20,9 @@ impl AssociateTransitGatewayMulticastDomainFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize(self) -> ::std::result::Result< + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware(self) -> ::std::result::Result< crate::client::customize::CustomizableOperation, ::aws_smithy_http::result::SdkError >{ @@ -65,6 +65,15 @@ impl AssociateTransitGatewayMulticastDomainFluentBuilder { { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize(self) -> ::std::result::Result< + crate::client::customize::CustomizableOperation, + ::aws_smithy_http::result::SdkError + >{ + self.customize_middleware().await + } ///

                                                                      The ID of the transit gateway multicast domain.

                                                                      pub fn transit_gateway_multicast_domain_id( mut self, diff --git a/sdk/ec2/src/operation/associate_transit_gateway_policy_table/builders.rs b/sdk/ec2/src/operation/associate_transit_gateway_policy_table/builders.rs index abeaf3d611d3..3677412fa461 100644 --- a/sdk/ec2/src/operation/associate_transit_gateway_policy_table/builders.rs +++ b/sdk/ec2/src/operation/associate_transit_gateway_policy_table/builders.rs @@ -19,9 +19,9 @@ impl AssociateTransitGatewayPolicyTableFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize(self) -> ::std::result::Result< + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware(self) -> ::std::result::Result< crate::client::customize::CustomizableOperation, ::aws_smithy_http::result::SdkError >{ @@ -64,6 +64,15 @@ impl AssociateTransitGatewayPolicyTableFluentBuilder { { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize(self) -> ::std::result::Result< + crate::client::customize::CustomizableOperation, + ::aws_smithy_http::result::SdkError + >{ + self.customize_middleware().await + } ///

                                                                      The ID of the transit gateway policy table to associate with the transit gateway attachment.

                                                                      pub fn transit_gateway_policy_table_id( mut self, diff --git a/sdk/ec2/src/operation/associate_transit_gateway_route_table/builders.rs b/sdk/ec2/src/operation/associate_transit_gateway_route_table/builders.rs index 66b005b8b083..656244590e07 100644 --- a/sdk/ec2/src/operation/associate_transit_gateway_route_table/builders.rs +++ b/sdk/ec2/src/operation/associate_transit_gateway_route_table/builders.rs @@ -19,9 +19,9 @@ impl AssociateTransitGatewayRouteTableFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize(self) -> ::std::result::Result< + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware(self) -> ::std::result::Result< crate::client::customize::CustomizableOperation, ::aws_smithy_http::result::SdkError >{ @@ -64,6 +64,15 @@ impl AssociateTransitGatewayRouteTableFluentBuilder { { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize(self) -> ::std::result::Result< + crate::client::customize::CustomizableOperation, + ::aws_smithy_http::result::SdkError + >{ + self.customize_middleware().await + } ///

                                                                      The ID of the transit gateway route table.

                                                                      pub fn transit_gateway_route_table_id( mut self, diff --git a/sdk/ec2/src/operation/associate_trunk_interface/builders.rs b/sdk/ec2/src/operation/associate_trunk_interface/builders.rs index 850521b11297..9993eb9bd4ab 100644 --- a/sdk/ec2/src/operation/associate_trunk_interface/builders.rs +++ b/sdk/ec2/src/operation/associate_trunk_interface/builders.rs @@ -24,9 +24,9 @@ impl AssociateTrunkInterfaceFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -88,6 +88,22 @@ impl AssociateTrunkInterfaceFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::associate_trunk_interface::AssociateTrunkInterface, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::associate_trunk_interface::AssociateTrunkInterfaceError, + >, + > { + self.customize_middleware().await + } ///

                                                                      The ID of the branch network interface.

                                                                      pub fn branch_interface_id( mut self, diff --git a/sdk/ec2/src/operation/associate_vpc_cidr_block/builders.rs b/sdk/ec2/src/operation/associate_vpc_cidr_block/builders.rs index 8289a0b32180..760bb7fccf47 100644 --- a/sdk/ec2/src/operation/associate_vpc_cidr_block/builders.rs +++ b/sdk/ec2/src/operation/associate_vpc_cidr_block/builders.rs @@ -21,9 +21,9 @@ impl AssociateVpcCidrBlockFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -85,6 +85,22 @@ impl AssociateVpcCidrBlockFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::associate_vpc_cidr_block::AssociateVpcCidrBlock, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::associate_vpc_cidr_block::AssociateVpcCidrBlockError, + >, + > { + self.customize_middleware().await + } ///

                                                                      Requests an Amazon-provided IPv6 CIDR block with a /56 prefix length for the VPC. You cannot specify the range of IPv6 addresses, or the size of the CIDR block.

                                                                      pub fn amazon_provided_ipv6_cidr_block(mut self, input: bool) -> Self { self.inner = self.inner.amazon_provided_ipv6_cidr_block(input); diff --git a/sdk/ec2/src/operation/attach_classic_link_vpc/builders.rs b/sdk/ec2/src/operation/attach_classic_link_vpc/builders.rs index 539bc2db8832..a3c864e95301 100644 --- a/sdk/ec2/src/operation/attach_classic_link_vpc/builders.rs +++ b/sdk/ec2/src/operation/attach_classic_link_vpc/builders.rs @@ -24,9 +24,9 @@ impl AttachClassicLinkVpcFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -88,6 +88,22 @@ impl AttachClassicLinkVpcFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::attach_classic_link_vpc::AttachClassicLinkVpc, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::attach_classic_link_vpc::AttachClassicLinkVpcError, + >, + > { + self.customize_middleware().await + } ///

                                                                      Checks whether you have the required permissions for the action, without actually making the request, and provides an error response. If you have the required permissions, the error response is DryRunOperation. Otherwise, it is UnauthorizedOperation.

                                                                      pub fn dry_run(mut self, input: bool) -> Self { self.inner = self.inner.dry_run(input); diff --git a/sdk/ec2/src/operation/attach_internet_gateway/builders.rs b/sdk/ec2/src/operation/attach_internet_gateway/builders.rs index 09ae4fa46806..0e2cb2ee04dc 100644 --- a/sdk/ec2/src/operation/attach_internet_gateway/builders.rs +++ b/sdk/ec2/src/operation/attach_internet_gateway/builders.rs @@ -19,9 +19,9 @@ impl AttachInternetGatewayFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl AttachInternetGatewayFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::attach_internet_gateway::AttachInternetGateway, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::attach_internet_gateway::AttachInternetGatewayError, + >, + > { + self.customize_middleware().await + } ///

                                                                      Checks whether you have the required permissions for the action, without actually making the request, and provides an error response. If you have the required permissions, the error response is DryRunOperation. Otherwise, it is UnauthorizedOperation.

                                                                      pub fn dry_run(mut self, input: bool) -> Self { self.inner = self.inner.dry_run(input); diff --git a/sdk/ec2/src/operation/attach_network_interface/builders.rs b/sdk/ec2/src/operation/attach_network_interface/builders.rs index 7bbaa46eb0f9..ad3721138001 100644 --- a/sdk/ec2/src/operation/attach_network_interface/builders.rs +++ b/sdk/ec2/src/operation/attach_network_interface/builders.rs @@ -19,9 +19,9 @@ impl AttachNetworkInterfaceFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl AttachNetworkInterfaceFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::attach_network_interface::AttachNetworkInterface, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::attach_network_interface::AttachNetworkInterfaceError, + >, + > { + self.customize_middleware().await + } ///

                                                                      The index of the device for the network interface attachment.

                                                                      pub fn device_index(mut self, input: i32) -> Self { self.inner = self.inner.device_index(input); diff --git a/sdk/ec2/src/operation/attach_verified_access_trust_provider/builders.rs b/sdk/ec2/src/operation/attach_verified_access_trust_provider/builders.rs index 2e9a7077b9a7..2bb3d47f6349 100644 --- a/sdk/ec2/src/operation/attach_verified_access_trust_provider/builders.rs +++ b/sdk/ec2/src/operation/attach_verified_access_trust_provider/builders.rs @@ -19,9 +19,9 @@ impl AttachVerifiedAccessTrustProviderFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize(self) -> ::std::result::Result< + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware(self) -> ::std::result::Result< crate::client::customize::CustomizableOperation, ::aws_smithy_http::result::SdkError >{ @@ -64,6 +64,15 @@ impl AttachVerifiedAccessTrustProviderFluentBuilder { { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize(self) -> ::std::result::Result< + crate::client::customize::CustomizableOperation, + ::aws_smithy_http::result::SdkError + >{ + self.customize_middleware().await + } ///

                                                                      The ID of the Verified Access instance.

                                                                      pub fn verified_access_instance_id( mut self, diff --git a/sdk/ec2/src/operation/attach_volume/builders.rs b/sdk/ec2/src/operation/attach_volume/builders.rs index 69ff81b585ff..85848b60e39e 100644 --- a/sdk/ec2/src/operation/attach_volume/builders.rs +++ b/sdk/ec2/src/operation/attach_volume/builders.rs @@ -29,9 +29,9 @@ impl AttachVolumeFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -87,6 +87,20 @@ impl AttachVolumeFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::attach_volume::AttachVolume, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                      The device name (for example, /dev/sdh or xvdh).

                                                                      pub fn device(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.device(input.into()); diff --git a/sdk/ec2/src/operation/attach_vpn_gateway/builders.rs b/sdk/ec2/src/operation/attach_vpn_gateway/builders.rs index d331abe2e930..d66971dfd188 100644 --- a/sdk/ec2/src/operation/attach_vpn_gateway/builders.rs +++ b/sdk/ec2/src/operation/attach_vpn_gateway/builders.rs @@ -20,9 +20,9 @@ impl AttachVpnGatewayFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -84,6 +84,22 @@ impl AttachVpnGatewayFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::attach_vpn_gateway::AttachVpnGateway, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::attach_vpn_gateway::AttachVpnGatewayError, + >, + > { + self.customize_middleware().await + } ///

                                                                      The ID of the VPC.

                                                                      pub fn vpc_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.vpc_id(input.into()); diff --git a/sdk/ec2/src/operation/authorize_client_vpn_ingress/builders.rs b/sdk/ec2/src/operation/authorize_client_vpn_ingress/builders.rs index 56a4d1116fd3..0e2321aacbdf 100644 --- a/sdk/ec2/src/operation/authorize_client_vpn_ingress/builders.rs +++ b/sdk/ec2/src/operation/authorize_client_vpn_ingress/builders.rs @@ -19,9 +19,9 @@ impl AuthorizeClientVpnIngressFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl AuthorizeClientVpnIngressFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::authorize_client_vpn_ingress::AuthorizeClientVpnIngress, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::authorize_client_vpn_ingress::AuthorizeClientVpnIngressError, + >, + > { + self.customize_middleware().await + } ///

                                                                      The ID of the Client VPN endpoint.

                                                                      pub fn client_vpn_endpoint_id( mut self, diff --git a/sdk/ec2/src/operation/authorize_security_group_egress/builders.rs b/sdk/ec2/src/operation/authorize_security_group_egress/builders.rs index e96514421b8b..eba49d028c4c 100644 --- a/sdk/ec2/src/operation/authorize_security_group_egress/builders.rs +++ b/sdk/ec2/src/operation/authorize_security_group_egress/builders.rs @@ -23,9 +23,9 @@ impl AuthorizeSecurityGroupEgressFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -87,6 +87,22 @@ impl AuthorizeSecurityGroupEgressFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::authorize_security_group_egress::AuthorizeSecurityGroupEgress, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::authorize_security_group_egress::AuthorizeSecurityGroupEgressError, + >, + > { + self.customize_middleware().await + } ///

                                                                      Checks whether you have the required permissions for the action, without actually making the request, and provides an error response. If you have the required permissions, the error response is DryRunOperation. Otherwise, it is UnauthorizedOperation.

                                                                      pub fn dry_run(mut self, input: bool) -> Self { self.inner = self.inner.dry_run(input); diff --git a/sdk/ec2/src/operation/authorize_security_group_ingress/builders.rs b/sdk/ec2/src/operation/authorize_security_group_ingress/builders.rs index d35ddc451f94..266529b0ae72 100644 --- a/sdk/ec2/src/operation/authorize_security_group_ingress/builders.rs +++ b/sdk/ec2/src/operation/authorize_security_group_ingress/builders.rs @@ -25,9 +25,9 @@ impl AuthorizeSecurityGroupIngressFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -89,6 +89,22 @@ impl AuthorizeSecurityGroupIngressFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::authorize_security_group_ingress::AuthorizeSecurityGroupIngress, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::authorize_security_group_ingress::AuthorizeSecurityGroupIngressError, + >, + > { + self.customize_middleware().await + } ///

                                                                      The IPv4 address range, in CIDR format. You can't specify this parameter when specifying a source security group. To specify an IPv6 address range, use a set of IP permissions.

                                                                      ///

                                                                      Alternatively, use a set of IP permissions to specify multiple rules and a description for the rule.

                                                                      pub fn cidr_ip(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { diff --git a/sdk/ec2/src/operation/bundle_instance/builders.rs b/sdk/ec2/src/operation/bundle_instance/builders.rs index 16c76178defc..bb2e9f93b2a2 100644 --- a/sdk/ec2/src/operation/bundle_instance/builders.rs +++ b/sdk/ec2/src/operation/bundle_instance/builders.rs @@ -22,9 +22,9 @@ impl BundleInstanceFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -80,6 +80,20 @@ impl BundleInstanceFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::bundle_instance::BundleInstance, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                      The ID of the instance to bundle.

                                                                      ///

                                                                      Type: String

                                                                      ///

                                                                      Default: None

                                                                      diff --git a/sdk/ec2/src/operation/cancel_bundle_task/builders.rs b/sdk/ec2/src/operation/cancel_bundle_task/builders.rs index 797b891e3159..1ec1c4e40360 100644 --- a/sdk/ec2/src/operation/cancel_bundle_task/builders.rs +++ b/sdk/ec2/src/operation/cancel_bundle_task/builders.rs @@ -19,9 +19,9 @@ impl CancelBundleTaskFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl CancelBundleTaskFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::cancel_bundle_task::CancelBundleTask, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::cancel_bundle_task::CancelBundleTaskError, + >, + > { + self.customize_middleware().await + } ///

                                                                      The ID of the bundle task.

                                                                      pub fn bundle_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.bundle_id(input.into()); diff --git a/sdk/ec2/src/operation/cancel_capacity_reservation/builders.rs b/sdk/ec2/src/operation/cancel_capacity_reservation/builders.rs index 8871b8c79956..799b39d4b027 100644 --- a/sdk/ec2/src/operation/cancel_capacity_reservation/builders.rs +++ b/sdk/ec2/src/operation/cancel_capacity_reservation/builders.rs @@ -20,9 +20,9 @@ impl CancelCapacityReservationFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -84,6 +84,22 @@ impl CancelCapacityReservationFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::cancel_capacity_reservation::CancelCapacityReservation, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::cancel_capacity_reservation::CancelCapacityReservationError, + >, + > { + self.customize_middleware().await + } ///

                                                                      The ID of the Capacity Reservation to be cancelled.

                                                                      pub fn capacity_reservation_id( mut self, diff --git a/sdk/ec2/src/operation/cancel_capacity_reservation_fleets/builders.rs b/sdk/ec2/src/operation/cancel_capacity_reservation_fleets/builders.rs index ad8efd42f501..9acd43bde009 100644 --- a/sdk/ec2/src/operation/cancel_capacity_reservation_fleets/builders.rs +++ b/sdk/ec2/src/operation/cancel_capacity_reservation_fleets/builders.rs @@ -24,9 +24,9 @@ impl CancelCapacityReservationFleetsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize(self) -> ::std::result::Result< + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware(self) -> ::std::result::Result< crate::client::customize::CustomizableOperation, ::aws_smithy_http::result::SdkError >{ @@ -69,6 +69,15 @@ impl CancelCapacityReservationFleetsFluentBuilder { { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize(self) -> ::std::result::Result< + crate::client::customize::CustomizableOperation, + ::aws_smithy_http::result::SdkError + >{ + self.customize_middleware().await + } ///

                                                                      Checks whether you have the required permissions for the action, without actually making the request, and provides an error response. If you have the required permissions, the error response is DryRunOperation. Otherwise, it is UnauthorizedOperation.

                                                                      pub fn dry_run(mut self, input: bool) -> Self { self.inner = self.inner.dry_run(input); diff --git a/sdk/ec2/src/operation/cancel_conversion_task/builders.rs b/sdk/ec2/src/operation/cancel_conversion_task/builders.rs index 3d89edacb44d..4c3218e875ba 100644 --- a/sdk/ec2/src/operation/cancel_conversion_task/builders.rs +++ b/sdk/ec2/src/operation/cancel_conversion_task/builders.rs @@ -20,9 +20,9 @@ impl CancelConversionTaskFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -84,6 +84,22 @@ impl CancelConversionTaskFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::cancel_conversion_task::CancelConversionTask, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::cancel_conversion_task::CancelConversionTaskError, + >, + > { + self.customize_middleware().await + } ///

                                                                      The ID of the conversion task.

                                                                      pub fn conversion_task_id( mut self, diff --git a/sdk/ec2/src/operation/cancel_export_task/builders.rs b/sdk/ec2/src/operation/cancel_export_task/builders.rs index 24fb7cd27e4d..d975d39ab9b3 100644 --- a/sdk/ec2/src/operation/cancel_export_task/builders.rs +++ b/sdk/ec2/src/operation/cancel_export_task/builders.rs @@ -19,9 +19,9 @@ impl CancelExportTaskFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl CancelExportTaskFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::cancel_export_task::CancelExportTask, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::cancel_export_task::CancelExportTaskError, + >, + > { + self.customize_middleware().await + } ///

                                                                      The ID of the export task. This is the ID returned by CreateInstanceExportTask.

                                                                      pub fn export_task_id( mut self, diff --git a/sdk/ec2/src/operation/cancel_image_launch_permission/builders.rs b/sdk/ec2/src/operation/cancel_image_launch_permission/builders.rs index 0ba3efe3c81a..e94965dc5ed6 100644 --- a/sdk/ec2/src/operation/cancel_image_launch_permission/builders.rs +++ b/sdk/ec2/src/operation/cancel_image_launch_permission/builders.rs @@ -19,9 +19,9 @@ impl CancelImageLaunchPermissionFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl CancelImageLaunchPermissionFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::cancel_image_launch_permission::CancelImageLaunchPermission, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::cancel_image_launch_permission::CancelImageLaunchPermissionError, + >, + > { + self.customize_middleware().await + } ///

                                                                      The ID of the AMI that was shared with your Amazon Web Services account.

                                                                      pub fn image_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.image_id(input.into()); diff --git a/sdk/ec2/src/operation/cancel_import_task/builders.rs b/sdk/ec2/src/operation/cancel_import_task/builders.rs index d033740e1c2b..ed11c8d9b26d 100644 --- a/sdk/ec2/src/operation/cancel_import_task/builders.rs +++ b/sdk/ec2/src/operation/cancel_import_task/builders.rs @@ -19,9 +19,9 @@ impl CancelImportTaskFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl CancelImportTaskFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::cancel_import_task::CancelImportTask, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::cancel_import_task::CancelImportTaskError, + >, + > { + self.customize_middleware().await + } ///

                                                                      The reason for canceling the task.

                                                                      pub fn cancel_reason( mut self, diff --git a/sdk/ec2/src/operation/cancel_reserved_instances_listing/builders.rs b/sdk/ec2/src/operation/cancel_reserved_instances_listing/builders.rs index 09e3a11da32c..b0f309d5ce45 100644 --- a/sdk/ec2/src/operation/cancel_reserved_instances_listing/builders.rs +++ b/sdk/ec2/src/operation/cancel_reserved_instances_listing/builders.rs @@ -20,9 +20,9 @@ impl CancelReservedInstancesListingFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize(self) -> ::std::result::Result< + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware(self) -> ::std::result::Result< crate::client::customize::CustomizableOperation, ::aws_smithy_http::result::SdkError >{ @@ -65,6 +65,15 @@ impl CancelReservedInstancesListingFluentBuilder { { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize(self) -> ::std::result::Result< + crate::client::customize::CustomizableOperation, + ::aws_smithy_http::result::SdkError + >{ + self.customize_middleware().await + } ///

                                                                      The ID of the Reserved Instance listing.

                                                                      pub fn reserved_instances_listing_id( mut self, diff --git a/sdk/ec2/src/operation/cancel_spot_fleet_requests/builders.rs b/sdk/ec2/src/operation/cancel_spot_fleet_requests/builders.rs index 59219bc1e614..3922a3ffe86e 100644 --- a/sdk/ec2/src/operation/cancel_spot_fleet_requests/builders.rs +++ b/sdk/ec2/src/operation/cancel_spot_fleet_requests/builders.rs @@ -22,9 +22,9 @@ impl CancelSpotFleetRequestsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -86,6 +86,22 @@ impl CancelSpotFleetRequestsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::cancel_spot_fleet_requests::CancelSpotFleetRequests, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::cancel_spot_fleet_requests::CancelSpotFleetRequestsError, + >, + > { + self.customize_middleware().await + } ///

                                                                      Checks whether you have the required permissions for the action, without actually making the request, and provides an error response. If you have the required permissions, the error response is DryRunOperation. Otherwise, it is UnauthorizedOperation.

                                                                      pub fn dry_run(mut self, input: bool) -> Self { self.inner = self.inner.dry_run(input); diff --git a/sdk/ec2/src/operation/cancel_spot_instance_requests/builders.rs b/sdk/ec2/src/operation/cancel_spot_instance_requests/builders.rs index fdb565b504ea..efc713edc1f5 100644 --- a/sdk/ec2/src/operation/cancel_spot_instance_requests/builders.rs +++ b/sdk/ec2/src/operation/cancel_spot_instance_requests/builders.rs @@ -21,9 +21,9 @@ impl CancelSpotInstanceRequestsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -85,6 +85,22 @@ impl CancelSpotInstanceRequestsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::cancel_spot_instance_requests::CancelSpotInstanceRequests, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::cancel_spot_instance_requests::CancelSpotInstanceRequestsError, + >, + > { + self.customize_middleware().await + } ///

                                                                      Checks whether you have the required permissions for the action, without actually making the request, and provides an error response. If you have the required permissions, the error response is DryRunOperation. Otherwise, it is UnauthorizedOperation.

                                                                      pub fn dry_run(mut self, input: bool) -> Self { self.inner = self.inner.dry_run(input); diff --git a/sdk/ec2/src/operation/confirm_product_instance/builders.rs b/sdk/ec2/src/operation/confirm_product_instance/builders.rs index 30e15975935d..2e16aec90177 100644 --- a/sdk/ec2/src/operation/confirm_product_instance/builders.rs +++ b/sdk/ec2/src/operation/confirm_product_instance/builders.rs @@ -19,9 +19,9 @@ impl ConfirmProductInstanceFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl ConfirmProductInstanceFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::confirm_product_instance::ConfirmProductInstance, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::confirm_product_instance::ConfirmProductInstanceError, + >, + > { + self.customize_middleware().await + } ///

                                                                      The ID of the instance.

                                                                      pub fn instance_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.instance_id(input.into()); diff --git a/sdk/ec2/src/operation/copy_fpga_image/builders.rs b/sdk/ec2/src/operation/copy_fpga_image/builders.rs index 8f7c1580ce84..54f1f1f8d5b4 100644 --- a/sdk/ec2/src/operation/copy_fpga_image/builders.rs +++ b/sdk/ec2/src/operation/copy_fpga_image/builders.rs @@ -19,9 +19,9 @@ impl CopyFpgaImageFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl CopyFpgaImageFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::copy_fpga_image::CopyFpgaImage, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                      Checks whether you have the required permissions for the action, without actually making the request, and provides an error response. If you have the required permissions, the error response is DryRunOperation. Otherwise, it is UnauthorizedOperation.

                                                                      pub fn dry_run(mut self, input: bool) -> Self { self.inner = self.inner.dry_run(input); diff --git a/sdk/ec2/src/operation/copy_image/builders.rs b/sdk/ec2/src/operation/copy_image/builders.rs index 88796b40975b..ecfc0c0f92e3 100644 --- a/sdk/ec2/src/operation/copy_image/builders.rs +++ b/sdk/ec2/src/operation/copy_image/builders.rs @@ -22,9 +22,9 @@ impl CopyImageFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -80,6 +80,20 @@ impl CopyImageFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::copy_image::CopyImage, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                      Unique, case-sensitive identifier you provide to ensure idempotency of the request. For more information, see Ensuring idempotency in the Amazon EC2 API Reference.

                                                                      pub fn client_token(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.client_token(input.into()); diff --git a/sdk/ec2/src/operation/copy_snapshot/builders.rs b/sdk/ec2/src/operation/copy_snapshot/builders.rs index d159eeefe940..f16948fdb260 100644 --- a/sdk/ec2/src/operation/copy_snapshot/builders.rs +++ b/sdk/ec2/src/operation/copy_snapshot/builders.rs @@ -24,9 +24,9 @@ impl CopySnapshotFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -82,6 +82,20 @@ impl CopySnapshotFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::copy_snapshot::CopySnapshot, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                      A description for the EBS snapshot.

                                                                      pub fn description(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.description(input.into()); diff --git a/sdk/ec2/src/operation/create_capacity_reservation/builders.rs b/sdk/ec2/src/operation/create_capacity_reservation/builders.rs index 5748e94110ef..54a695724047 100644 --- a/sdk/ec2/src/operation/create_capacity_reservation/builders.rs +++ b/sdk/ec2/src/operation/create_capacity_reservation/builders.rs @@ -22,9 +22,9 @@ impl CreateCapacityReservationFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -86,6 +86,22 @@ impl CreateCapacityReservationFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::create_capacity_reservation::CreateCapacityReservation, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::create_capacity_reservation::CreateCapacityReservationError, + >, + > { + self.customize_middleware().await + } ///

                                                                      Unique, case-sensitive identifier that you provide to ensure the idempotency of the request. For more information, see Ensure Idempotency.

                                                                      pub fn client_token(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.client_token(input.into()); diff --git a/sdk/ec2/src/operation/create_capacity_reservation_fleet/builders.rs b/sdk/ec2/src/operation/create_capacity_reservation_fleet/builders.rs index cbe567b249e8..5479f6e69730 100644 --- a/sdk/ec2/src/operation/create_capacity_reservation_fleet/builders.rs +++ b/sdk/ec2/src/operation/create_capacity_reservation_fleet/builders.rs @@ -19,9 +19,9 @@ impl CreateCapacityReservationFleetFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize(self) -> ::std::result::Result< + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware(self) -> ::std::result::Result< crate::client::customize::CustomizableOperation, ::aws_smithy_http::result::SdkError >{ @@ -64,6 +64,15 @@ impl CreateCapacityReservationFleetFluentBuilder { { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize(self) -> ::std::result::Result< + crate::client::customize::CustomizableOperation, + ::aws_smithy_http::result::SdkError + >{ + self.customize_middleware().await + } ///

                                                                      The strategy used by the Capacity Reservation Fleet to determine which of the specified instance types to use. Currently, only the prioritized allocation strategy is supported. For more information, see Allocation strategy in the Amazon EC2 User Guide.

                                                                      ///

                                                                      Valid values: prioritized

                                                                      pub fn allocation_strategy( diff --git a/sdk/ec2/src/operation/create_carrier_gateway/builders.rs b/sdk/ec2/src/operation/create_carrier_gateway/builders.rs index 3076b4fab894..ecfa23ed5b05 100644 --- a/sdk/ec2/src/operation/create_carrier_gateway/builders.rs +++ b/sdk/ec2/src/operation/create_carrier_gateway/builders.rs @@ -19,9 +19,9 @@ impl CreateCarrierGatewayFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl CreateCarrierGatewayFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::create_carrier_gateway::CreateCarrierGateway, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::create_carrier_gateway::CreateCarrierGatewayError, + >, + > { + self.customize_middleware().await + } ///

                                                                      The ID of the VPC to associate with the carrier gateway.

                                                                      pub fn vpc_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.vpc_id(input.into()); diff --git a/sdk/ec2/src/operation/create_client_vpn_endpoint/builders.rs b/sdk/ec2/src/operation/create_client_vpn_endpoint/builders.rs index 161c1a033043..66df48738bad 100644 --- a/sdk/ec2/src/operation/create_client_vpn_endpoint/builders.rs +++ b/sdk/ec2/src/operation/create_client_vpn_endpoint/builders.rs @@ -20,9 +20,9 @@ impl CreateClientVpnEndpointFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -84,6 +84,22 @@ impl CreateClientVpnEndpointFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::create_client_vpn_endpoint::CreateClientVpnEndpoint, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::create_client_vpn_endpoint::CreateClientVpnEndpointError, + >, + > { + self.customize_middleware().await + } ///

                                                                      The IPv4 address range, in CIDR notation, from which to assign client IP addresses. The address range cannot overlap with the local CIDR of the VPC in which the associated subnet is located, or the routes that you add manually. The address range cannot be changed after the Client VPN endpoint has been created. Client CIDR range must have a size of at least /22 and must not be greater than /12.

                                                                      pub fn client_cidr_block( mut self, diff --git a/sdk/ec2/src/operation/create_client_vpn_route/builders.rs b/sdk/ec2/src/operation/create_client_vpn_route/builders.rs index f18b02b8bd1a..30e4deed6355 100644 --- a/sdk/ec2/src/operation/create_client_vpn_route/builders.rs +++ b/sdk/ec2/src/operation/create_client_vpn_route/builders.rs @@ -19,9 +19,9 @@ impl CreateClientVpnRouteFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl CreateClientVpnRouteFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::create_client_vpn_route::CreateClientVpnRoute, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::create_client_vpn_route::CreateClientVpnRouteError, + >, + > { + self.customize_middleware().await + } ///

                                                                      The ID of the Client VPN endpoint to which to add the route.

                                                                      pub fn client_vpn_endpoint_id( mut self, diff --git a/sdk/ec2/src/operation/create_coip_cidr/builders.rs b/sdk/ec2/src/operation/create_coip_cidr/builders.rs index df576c90e601..ec8ef9587dab 100644 --- a/sdk/ec2/src/operation/create_coip_cidr/builders.rs +++ b/sdk/ec2/src/operation/create_coip_cidr/builders.rs @@ -19,9 +19,9 @@ impl CreateCoipCidrFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl CreateCoipCidrFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::create_coip_cidr::CreateCoipCidr, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::create_coip_cidr::CreateCoipCidrError, + >, + > { + self.customize_middleware().await + } ///

                                                                      A customer-owned IP address range to create.

                                                                      pub fn cidr(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.cidr(input.into()); diff --git a/sdk/ec2/src/operation/create_coip_pool/builders.rs b/sdk/ec2/src/operation/create_coip_pool/builders.rs index 28699ecae84f..f74670bf1821 100644 --- a/sdk/ec2/src/operation/create_coip_pool/builders.rs +++ b/sdk/ec2/src/operation/create_coip_pool/builders.rs @@ -19,9 +19,9 @@ impl CreateCoipPoolFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl CreateCoipPoolFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::create_coip_pool::CreateCoipPool, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::create_coip_pool::CreateCoipPoolError, + >, + > { + self.customize_middleware().await + } ///

                                                                      The ID of the local gateway route table.

                                                                      pub fn local_gateway_route_table_id( mut self, diff --git a/sdk/ec2/src/operation/create_customer_gateway/builders.rs b/sdk/ec2/src/operation/create_customer_gateway/builders.rs index 2d581497a43d..75bbbeb236f7 100644 --- a/sdk/ec2/src/operation/create_customer_gateway/builders.rs +++ b/sdk/ec2/src/operation/create_customer_gateway/builders.rs @@ -21,9 +21,9 @@ impl CreateCustomerGatewayFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -85,6 +85,22 @@ impl CreateCustomerGatewayFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::create_customer_gateway::CreateCustomerGateway, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::create_customer_gateway::CreateCustomerGatewayError, + >, + > { + self.customize_middleware().await + } ///

                                                                      For devices that support BGP, the customer gateway's BGP ASN.

                                                                      ///

                                                                      Default: 65000

                                                                      pub fn bgp_asn(mut self, input: i32) -> Self { diff --git a/sdk/ec2/src/operation/create_default_subnet/builders.rs b/sdk/ec2/src/operation/create_default_subnet/builders.rs index 9ee5ae2eed58..b46978534593 100644 --- a/sdk/ec2/src/operation/create_default_subnet/builders.rs +++ b/sdk/ec2/src/operation/create_default_subnet/builders.rs @@ -19,9 +19,9 @@ impl CreateDefaultSubnetFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl CreateDefaultSubnetFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::create_default_subnet::CreateDefaultSubnet, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::create_default_subnet::CreateDefaultSubnetError, + >, + > { + self.customize_middleware().await + } ///

                                                                      The Availability Zone in which to create the default subnet.

                                                                      pub fn availability_zone( mut self, diff --git a/sdk/ec2/src/operation/create_default_vpc/builders.rs b/sdk/ec2/src/operation/create_default_vpc/builders.rs index e70e939d57ff..64b91cf5dbf7 100644 --- a/sdk/ec2/src/operation/create_default_vpc/builders.rs +++ b/sdk/ec2/src/operation/create_default_vpc/builders.rs @@ -23,9 +23,9 @@ impl CreateDefaultVpcFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -87,6 +87,22 @@ impl CreateDefaultVpcFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::create_default_vpc::CreateDefaultVpc, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::create_default_vpc::CreateDefaultVpcError, + >, + > { + self.customize_middleware().await + } ///

                                                                      Checks whether you have the required permissions for the action, without actually making the request, and provides an error response. If you have the required permissions, the error response is DryRunOperation. Otherwise, it is UnauthorizedOperation.

                                                                      pub fn dry_run(mut self, input: bool) -> Self { self.inner = self.inner.dry_run(input); diff --git a/sdk/ec2/src/operation/create_dhcp_options/builders.rs b/sdk/ec2/src/operation/create_dhcp_options/builders.rs index 81701a0ee748..6491aea275ac 100644 --- a/sdk/ec2/src/operation/create_dhcp_options/builders.rs +++ b/sdk/ec2/src/operation/create_dhcp_options/builders.rs @@ -27,9 +27,9 @@ impl CreateDhcpOptionsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -91,6 +91,22 @@ impl CreateDhcpOptionsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::create_dhcp_options::CreateDhcpOptions, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::create_dhcp_options::CreateDhcpOptionsError, + >, + > { + self.customize_middleware().await + } /// Appends an item to `DhcpConfigurations`. /// /// To override the contents of this collection use [`set_dhcp_configurations`](Self::set_dhcp_configurations). diff --git a/sdk/ec2/src/operation/create_egress_only_internet_gateway/builders.rs b/sdk/ec2/src/operation/create_egress_only_internet_gateway/builders.rs index c6ec17041586..0f5ff7631aa9 100644 --- a/sdk/ec2/src/operation/create_egress_only_internet_gateway/builders.rs +++ b/sdk/ec2/src/operation/create_egress_only_internet_gateway/builders.rs @@ -19,9 +19,9 @@ impl CreateEgressOnlyInternetGatewayFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize(self) -> ::std::result::Result< + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware(self) -> ::std::result::Result< crate::client::customize::CustomizableOperation, ::aws_smithy_http::result::SdkError >{ @@ -64,6 +64,15 @@ impl CreateEgressOnlyInternetGatewayFluentBuilder { { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize(self) -> ::std::result::Result< + crate::client::customize::CustomizableOperation, + ::aws_smithy_http::result::SdkError + >{ + self.customize_middleware().await + } ///

                                                                      Unique, case-sensitive identifier that you provide to ensure the idempotency of the request. For more information, see How to ensure idempotency.

                                                                      pub fn client_token(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.client_token(input.into()); diff --git a/sdk/ec2/src/operation/create_fleet/builders.rs b/sdk/ec2/src/operation/create_fleet/builders.rs index e1d4e1976ca9..675717060b76 100644 --- a/sdk/ec2/src/operation/create_fleet/builders.rs +++ b/sdk/ec2/src/operation/create_fleet/builders.rs @@ -21,9 +21,9 @@ impl CreateFleetFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -79,6 +79,20 @@ impl CreateFleetFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::create_fleet::CreateFleet, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                      Checks whether you have the required permissions for the action, without actually making the request, and provides an error response. If you have the required permissions, the error response is DryRunOperation. Otherwise, it is UnauthorizedOperation.

                                                                      pub fn dry_run(mut self, input: bool) -> Self { self.inner = self.inner.dry_run(input); diff --git a/sdk/ec2/src/operation/create_flow_logs/builders.rs b/sdk/ec2/src/operation/create_flow_logs/builders.rs index 71774eb62729..38cda0d4e583 100644 --- a/sdk/ec2/src/operation/create_flow_logs/builders.rs +++ b/sdk/ec2/src/operation/create_flow_logs/builders.rs @@ -22,9 +22,9 @@ impl CreateFlowLogsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -86,6 +86,22 @@ impl CreateFlowLogsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::create_flow_logs::CreateFlowLogs, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::create_flow_logs::CreateFlowLogsError, + >, + > { + self.customize_middleware().await + } ///

                                                                      Checks whether you have the required permissions for the action, without actually making the request, and provides an error response. If you have the required permissions, the error response is DryRunOperation. Otherwise, it is UnauthorizedOperation.

                                                                      pub fn dry_run(mut self, input: bool) -> Self { self.inner = self.inner.dry_run(input); diff --git a/sdk/ec2/src/operation/create_fpga_image/builders.rs b/sdk/ec2/src/operation/create_fpga_image/builders.rs index 6c8d915ef035..ad6869574922 100644 --- a/sdk/ec2/src/operation/create_fpga_image/builders.rs +++ b/sdk/ec2/src/operation/create_fpga_image/builders.rs @@ -21,9 +21,9 @@ impl CreateFpgaImageFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -85,6 +85,22 @@ impl CreateFpgaImageFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::create_fpga_image::CreateFpgaImage, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::create_fpga_image::CreateFpgaImageError, + >, + > { + self.customize_middleware().await + } ///

                                                                      Checks whether you have the required permissions for the action, without actually making the request, and provides an error response. If you have the required permissions, the error response is DryRunOperation. Otherwise, it is UnauthorizedOperation.

                                                                      pub fn dry_run(mut self, input: bool) -> Self { self.inner = self.inner.dry_run(input); diff --git a/sdk/ec2/src/operation/create_image/builders.rs b/sdk/ec2/src/operation/create_image/builders.rs index a70674696147..3b7acc52d704 100644 --- a/sdk/ec2/src/operation/create_image/builders.rs +++ b/sdk/ec2/src/operation/create_image/builders.rs @@ -24,9 +24,9 @@ impl CreateImageFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -82,6 +82,20 @@ impl CreateImageFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::create_image::CreateImage, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } /// Appends an item to `BlockDeviceMappings`. /// /// To override the contents of this collection use [`set_block_device_mappings`](Self::set_block_device_mappings). diff --git a/sdk/ec2/src/operation/create_instance_event_window/builders.rs b/sdk/ec2/src/operation/create_instance_event_window/builders.rs index 4b36791476d1..439599392915 100644 --- a/sdk/ec2/src/operation/create_instance_event_window/builders.rs +++ b/sdk/ec2/src/operation/create_instance_event_window/builders.rs @@ -30,9 +30,9 @@ impl CreateInstanceEventWindowFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -94,6 +94,22 @@ impl CreateInstanceEventWindowFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::create_instance_event_window::CreateInstanceEventWindow, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::create_instance_event_window::CreateInstanceEventWindowError, + >, + > { + self.customize_middleware().await + } ///

                                                                      Checks whether you have the required permissions for the action, without actually making the request, and provides an error response. If you have the required permissions, the error response is DryRunOperation. Otherwise, it is UnauthorizedOperation.

                                                                      pub fn dry_run(mut self, input: bool) -> Self { self.inner = self.inner.dry_run(input); diff --git a/sdk/ec2/src/operation/create_instance_export_task/builders.rs b/sdk/ec2/src/operation/create_instance_export_task/builders.rs index 2130d009f8c8..ae6bff6ecec3 100644 --- a/sdk/ec2/src/operation/create_instance_export_task/builders.rs +++ b/sdk/ec2/src/operation/create_instance_export_task/builders.rs @@ -20,9 +20,9 @@ impl CreateInstanceExportTaskFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -84,6 +84,22 @@ impl CreateInstanceExportTaskFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::create_instance_export_task::CreateInstanceExportTask, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::create_instance_export_task::CreateInstanceExportTaskError, + >, + > { + self.customize_middleware().await + } ///

                                                                      A description for the conversion task or the resource being exported. The maximum length is 255 characters.

                                                                      pub fn description(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.description(input.into()); diff --git a/sdk/ec2/src/operation/create_internet_gateway/builders.rs b/sdk/ec2/src/operation/create_internet_gateway/builders.rs index 435b3e369785..ee9e2c460625 100644 --- a/sdk/ec2/src/operation/create_internet_gateway/builders.rs +++ b/sdk/ec2/src/operation/create_internet_gateway/builders.rs @@ -20,9 +20,9 @@ impl CreateInternetGatewayFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -84,6 +84,22 @@ impl CreateInternetGatewayFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::create_internet_gateway::CreateInternetGateway, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::create_internet_gateway::CreateInternetGatewayError, + >, + > { + self.customize_middleware().await + } /// Appends an item to `TagSpecifications`. /// /// To override the contents of this collection use [`set_tag_specifications`](Self::set_tag_specifications). diff --git a/sdk/ec2/src/operation/create_ipam/builders.rs b/sdk/ec2/src/operation/create_ipam/builders.rs index e1474fc7c1a7..a4e68a20bc62 100644 --- a/sdk/ec2/src/operation/create_ipam/builders.rs +++ b/sdk/ec2/src/operation/create_ipam/builders.rs @@ -20,9 +20,9 @@ impl CreateIpamFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -78,6 +78,20 @@ impl CreateIpamFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::create_ipam::CreateIpam, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                      A check for whether you have the required permissions for the action without actually making the request and provides an error response. If you have the required permissions, the error response is DryRunOperation. Otherwise, it is UnauthorizedOperation.

                                                                      pub fn dry_run(mut self, input: bool) -> Self { self.inner = self.inner.dry_run(input); diff --git a/sdk/ec2/src/operation/create_ipam_pool/builders.rs b/sdk/ec2/src/operation/create_ipam_pool/builders.rs index 94954d074646..87f61c9484de 100644 --- a/sdk/ec2/src/operation/create_ipam_pool/builders.rs +++ b/sdk/ec2/src/operation/create_ipam_pool/builders.rs @@ -20,9 +20,9 @@ impl CreateIpamPoolFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -84,6 +84,22 @@ impl CreateIpamPoolFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::create_ipam_pool::CreateIpamPool, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::create_ipam_pool::CreateIpamPoolError, + >, + > { + self.customize_middleware().await + } ///

                                                                      A check for whether you have the required permissions for the action without actually making the request and provides an error response. If you have the required permissions, the error response is DryRunOperation. Otherwise, it is UnauthorizedOperation.

                                                                      pub fn dry_run(mut self, input: bool) -> Self { self.inner = self.inner.dry_run(input); diff --git a/sdk/ec2/src/operation/create_ipam_resource_discovery/builders.rs b/sdk/ec2/src/operation/create_ipam_resource_discovery/builders.rs index 4d6aba67a254..07cac4253dca 100644 --- a/sdk/ec2/src/operation/create_ipam_resource_discovery/builders.rs +++ b/sdk/ec2/src/operation/create_ipam_resource_discovery/builders.rs @@ -19,9 +19,9 @@ impl CreateIpamResourceDiscoveryFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl CreateIpamResourceDiscoveryFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::create_ipam_resource_discovery::CreateIpamResourceDiscovery, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::create_ipam_resource_discovery::CreateIpamResourceDiscoveryError, + >, + > { + self.customize_middleware().await + } ///

                                                                      A check for whether you have the required permissions for the action without actually making the request and provides an error response. If you have the required permissions, the error response is DryRunOperation. Otherwise, it is UnauthorizedOperation.

                                                                      pub fn dry_run(mut self, input: bool) -> Self { self.inner = self.inner.dry_run(input); diff --git a/sdk/ec2/src/operation/create_ipam_scope/builders.rs b/sdk/ec2/src/operation/create_ipam_scope/builders.rs index de94a4659b95..8589299c475c 100644 --- a/sdk/ec2/src/operation/create_ipam_scope/builders.rs +++ b/sdk/ec2/src/operation/create_ipam_scope/builders.rs @@ -20,9 +20,9 @@ impl CreateIpamScopeFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -84,6 +84,22 @@ impl CreateIpamScopeFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::create_ipam_scope::CreateIpamScope, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::create_ipam_scope::CreateIpamScopeError, + >, + > { + self.customize_middleware().await + } ///

                                                                      A check for whether you have the required permissions for the action without actually making the request and provides an error response. If you have the required permissions, the error response is DryRunOperation. Otherwise, it is UnauthorizedOperation.

                                                                      pub fn dry_run(mut self, input: bool) -> Self { self.inner = self.inner.dry_run(input); diff --git a/sdk/ec2/src/operation/create_key_pair/builders.rs b/sdk/ec2/src/operation/create_key_pair/builders.rs index a12f5fa2f1f8..89b74e7328e7 100644 --- a/sdk/ec2/src/operation/create_key_pair/builders.rs +++ b/sdk/ec2/src/operation/create_key_pair/builders.rs @@ -22,9 +22,9 @@ impl CreateKeyPairFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -80,6 +80,20 @@ impl CreateKeyPairFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::create_key_pair::CreateKeyPair, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                      A unique name for the key pair.

                                                                      ///

                                                                      Constraints: Up to 255 ASCII characters

                                                                      pub fn key_name(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { diff --git a/sdk/ec2/src/operation/create_launch_template/builders.rs b/sdk/ec2/src/operation/create_launch_template/builders.rs index 7a8fbbcae519..06cbaa091f58 100644 --- a/sdk/ec2/src/operation/create_launch_template/builders.rs +++ b/sdk/ec2/src/operation/create_launch_template/builders.rs @@ -21,9 +21,9 @@ impl CreateLaunchTemplateFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -85,6 +85,22 @@ impl CreateLaunchTemplateFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::create_launch_template::CreateLaunchTemplate, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::create_launch_template::CreateLaunchTemplateError, + >, + > { + self.customize_middleware().await + } ///

                                                                      Checks whether you have the required permissions for the action, without actually making the request, and provides an error response. If you have the required permissions, the error response is DryRunOperation. Otherwise, it is UnauthorizedOperation.

                                                                      pub fn dry_run(mut self, input: bool) -> Self { self.inner = self.inner.dry_run(input); diff --git a/sdk/ec2/src/operation/create_launch_template_version/builders.rs b/sdk/ec2/src/operation/create_launch_template_version/builders.rs index f00bf7a0e066..4684521e33c2 100644 --- a/sdk/ec2/src/operation/create_launch_template_version/builders.rs +++ b/sdk/ec2/src/operation/create_launch_template_version/builders.rs @@ -22,9 +22,9 @@ impl CreateLaunchTemplateVersionFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -86,6 +86,22 @@ impl CreateLaunchTemplateVersionFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::create_launch_template_version::CreateLaunchTemplateVersion, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::create_launch_template_version::CreateLaunchTemplateVersionError, + >, + > { + self.customize_middleware().await + } ///

                                                                      Checks whether you have the required permissions for the action, without actually making the request, and provides an error response. If you have the required permissions, the error response is DryRunOperation. Otherwise, it is UnauthorizedOperation.

                                                                      pub fn dry_run(mut self, input: bool) -> Self { self.inner = self.inner.dry_run(input); diff --git a/sdk/ec2/src/operation/create_local_gateway_route/builders.rs b/sdk/ec2/src/operation/create_local_gateway_route/builders.rs index 3ec7b978b073..486dde60a789 100644 --- a/sdk/ec2/src/operation/create_local_gateway_route/builders.rs +++ b/sdk/ec2/src/operation/create_local_gateway_route/builders.rs @@ -24,9 +24,9 @@ impl CreateLocalGatewayRouteFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -88,6 +88,22 @@ impl CreateLocalGatewayRouteFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::create_local_gateway_route::CreateLocalGatewayRoute, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::create_local_gateway_route::CreateLocalGatewayRouteError, + >, + > { + self.customize_middleware().await + } ///

                                                                      The CIDR range used for destination matches. Routing decisions are based on the most specific match.

                                                                      pub fn destination_cidr_block( mut self, diff --git a/sdk/ec2/src/operation/create_local_gateway_route_table/builders.rs b/sdk/ec2/src/operation/create_local_gateway_route_table/builders.rs index 972eeb8619cf..3e1d561d09c5 100644 --- a/sdk/ec2/src/operation/create_local_gateway_route_table/builders.rs +++ b/sdk/ec2/src/operation/create_local_gateway_route_table/builders.rs @@ -19,9 +19,9 @@ impl CreateLocalGatewayRouteTableFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl CreateLocalGatewayRouteTableFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::create_local_gateway_route_table::CreateLocalGatewayRouteTable, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::create_local_gateway_route_table::CreateLocalGatewayRouteTableError, + >, + > { + self.customize_middleware().await + } ///

                                                                      The ID of the local gateway.

                                                                      pub fn local_gateway_id( mut self, diff --git a/sdk/ec2/src/operation/create_local_gateway_route_table_virtual_interface_group_association/builders.rs b/sdk/ec2/src/operation/create_local_gateway_route_table_virtual_interface_group_association/builders.rs index 0ab676b6681b..a4ddb05070c3 100644 --- a/sdk/ec2/src/operation/create_local_gateway_route_table_virtual_interface_group_association/builders.rs +++ b/sdk/ec2/src/operation/create_local_gateway_route_table_virtual_interface_group_association/builders.rs @@ -19,9 +19,9 @@ impl CreateLocalGatewayRouteTableVirtualInterfaceGroupAssociationFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize(self) -> ::std::result::Result< + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware(self) -> ::std::result::Result< crate::client::customize::CustomizableOperation, ::aws_smithy_http::result::SdkError >{ @@ -64,6 +64,15 @@ impl CreateLocalGatewayRouteTableVirtualInterfaceGroupAssociationFluentBuilder { { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize(self) -> ::std::result::Result< + crate::client::customize::CustomizableOperation, + ::aws_smithy_http::result::SdkError + >{ + self.customize_middleware().await + } ///

                                                                      The ID of the local gateway route table.

                                                                      pub fn local_gateway_route_table_id( mut self, diff --git a/sdk/ec2/src/operation/create_local_gateway_route_table_vpc_association/builders.rs b/sdk/ec2/src/operation/create_local_gateway_route_table_vpc_association/builders.rs index f76a27aafd59..4373b22dac99 100644 --- a/sdk/ec2/src/operation/create_local_gateway_route_table_vpc_association/builders.rs +++ b/sdk/ec2/src/operation/create_local_gateway_route_table_vpc_association/builders.rs @@ -19,9 +19,9 @@ impl CreateLocalGatewayRouteTableVpcAssociationFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize(self) -> ::std::result::Result< + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware(self) -> ::std::result::Result< crate::client::customize::CustomizableOperation, ::aws_smithy_http::result::SdkError >{ @@ -64,6 +64,15 @@ impl CreateLocalGatewayRouteTableVpcAssociationFluentBuilder { { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize(self) -> ::std::result::Result< + crate::client::customize::CustomizableOperation, + ::aws_smithy_http::result::SdkError + >{ + self.customize_middleware().await + } ///

                                                                      The ID of the local gateway route table.

                                                                      pub fn local_gateway_route_table_id( mut self, diff --git a/sdk/ec2/src/operation/create_managed_prefix_list/builders.rs b/sdk/ec2/src/operation/create_managed_prefix_list/builders.rs index 3fddbe8f7468..2ce198f96228 100644 --- a/sdk/ec2/src/operation/create_managed_prefix_list/builders.rs +++ b/sdk/ec2/src/operation/create_managed_prefix_list/builders.rs @@ -20,9 +20,9 @@ impl CreateManagedPrefixListFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -84,6 +84,22 @@ impl CreateManagedPrefixListFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::create_managed_prefix_list::CreateManagedPrefixList, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::create_managed_prefix_list::CreateManagedPrefixListError, + >, + > { + self.customize_middleware().await + } ///

                                                                      Checks whether you have the required permissions for the action, without actually making the request, and provides an error response. If you have the required permissions, the error response is DryRunOperation. Otherwise, it is UnauthorizedOperation.

                                                                      pub fn dry_run(mut self, input: bool) -> Self { self.inner = self.inner.dry_run(input); diff --git a/sdk/ec2/src/operation/create_nat_gateway/builders.rs b/sdk/ec2/src/operation/create_nat_gateway/builders.rs index f42517e3c32b..0400e4ab7373 100644 --- a/sdk/ec2/src/operation/create_nat_gateway/builders.rs +++ b/sdk/ec2/src/operation/create_nat_gateway/builders.rs @@ -22,9 +22,9 @@ impl CreateNatGatewayFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -86,6 +86,22 @@ impl CreateNatGatewayFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::create_nat_gateway::CreateNatGateway, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::create_nat_gateway::CreateNatGatewayError, + >, + > { + self.customize_middleware().await + } ///

                                                                      [Public NAT gateways only] The allocation ID of an Elastic IP address to associate with the NAT gateway. You cannot specify an Elastic IP address with a private NAT gateway. If the Elastic IP address is associated with another resource, you must first disassociate it.

                                                                      pub fn allocation_id( mut self, diff --git a/sdk/ec2/src/operation/create_network_acl/builders.rs b/sdk/ec2/src/operation/create_network_acl/builders.rs index 7b44b466aa3a..aba7efd3a7fd 100644 --- a/sdk/ec2/src/operation/create_network_acl/builders.rs +++ b/sdk/ec2/src/operation/create_network_acl/builders.rs @@ -20,9 +20,9 @@ impl CreateNetworkAclFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -84,6 +84,22 @@ impl CreateNetworkAclFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::create_network_acl::CreateNetworkAcl, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::create_network_acl::CreateNetworkAclError, + >, + > { + self.customize_middleware().await + } ///

                                                                      Checks whether you have the required permissions for the action, without actually making the request, and provides an error response. If you have the required permissions, the error response is DryRunOperation. Otherwise, it is UnauthorizedOperation.

                                                                      pub fn dry_run(mut self, input: bool) -> Self { self.inner = self.inner.dry_run(input); diff --git a/sdk/ec2/src/operation/create_network_acl_entry/builders.rs b/sdk/ec2/src/operation/create_network_acl_entry/builders.rs index 44e3692941ae..5bcf3fdb3f47 100644 --- a/sdk/ec2/src/operation/create_network_acl_entry/builders.rs +++ b/sdk/ec2/src/operation/create_network_acl_entry/builders.rs @@ -22,9 +22,9 @@ impl CreateNetworkAclEntryFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -86,6 +86,22 @@ impl CreateNetworkAclEntryFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::create_network_acl_entry::CreateNetworkAclEntry, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::create_network_acl_entry::CreateNetworkAclEntryError, + >, + > { + self.customize_middleware().await + } ///

                                                                      The IPv4 network range to allow or deny, in CIDR notation (for example 172.16.0.0/24). We modify the specified CIDR block to its canonical form; for example, if you specify 100.68.0.18/18, we modify it to 100.68.0.0/18.

                                                                      pub fn cidr_block(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.cidr_block(input.into()); diff --git a/sdk/ec2/src/operation/create_network_insights_access_scope/builders.rs b/sdk/ec2/src/operation/create_network_insights_access_scope/builders.rs index b2698b7528bc..9fb116fb3df7 100644 --- a/sdk/ec2/src/operation/create_network_insights_access_scope/builders.rs +++ b/sdk/ec2/src/operation/create_network_insights_access_scope/builders.rs @@ -20,9 +20,9 @@ impl CreateNetworkInsightsAccessScopeFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize(self) -> ::std::result::Result< + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware(self) -> ::std::result::Result< crate::client::customize::CustomizableOperation, ::aws_smithy_http::result::SdkError >{ @@ -65,6 +65,15 @@ impl CreateNetworkInsightsAccessScopeFluentBuilder { { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize(self) -> ::std::result::Result< + crate::client::customize::CustomizableOperation, + ::aws_smithy_http::result::SdkError + >{ + self.customize_middleware().await + } /// Appends an item to `MatchPaths`. /// /// To override the contents of this collection use [`set_match_paths`](Self::set_match_paths). diff --git a/sdk/ec2/src/operation/create_network_insights_path/builders.rs b/sdk/ec2/src/operation/create_network_insights_path/builders.rs index 6e55e680ef08..8a2ebbf1f971 100644 --- a/sdk/ec2/src/operation/create_network_insights_path/builders.rs +++ b/sdk/ec2/src/operation/create_network_insights_path/builders.rs @@ -20,9 +20,9 @@ impl CreateNetworkInsightsPathFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -84,6 +84,22 @@ impl CreateNetworkInsightsPathFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::create_network_insights_path::CreateNetworkInsightsPath, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::create_network_insights_path::CreateNetworkInsightsPathError, + >, + > { + self.customize_middleware().await + } ///

                                                                      The IP address of the source.

                                                                      pub fn source_ip(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.source_ip(input.into()); diff --git a/sdk/ec2/src/operation/create_network_interface/builders.rs b/sdk/ec2/src/operation/create_network_interface/builders.rs index cdc5b21d130f..ecaf07bd520c 100644 --- a/sdk/ec2/src/operation/create_network_interface/builders.rs +++ b/sdk/ec2/src/operation/create_network_interface/builders.rs @@ -21,9 +21,9 @@ impl CreateNetworkInterfaceFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -85,6 +85,22 @@ impl CreateNetworkInterfaceFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::create_network_interface::CreateNetworkInterface, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::create_network_interface::CreateNetworkInterfaceError, + >, + > { + self.customize_middleware().await + } ///

                                                                      A description for the network interface.

                                                                      pub fn description(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.description(input.into()); diff --git a/sdk/ec2/src/operation/create_network_interface_permission/builders.rs b/sdk/ec2/src/operation/create_network_interface_permission/builders.rs index ed32dc3942c8..93b53fff97ae 100644 --- a/sdk/ec2/src/operation/create_network_interface_permission/builders.rs +++ b/sdk/ec2/src/operation/create_network_interface_permission/builders.rs @@ -20,9 +20,9 @@ impl CreateNetworkInterfacePermissionFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize(self) -> ::std::result::Result< + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware(self) -> ::std::result::Result< crate::client::customize::CustomizableOperation, ::aws_smithy_http::result::SdkError >{ @@ -65,6 +65,15 @@ impl CreateNetworkInterfacePermissionFluentBuilder { { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize(self) -> ::std::result::Result< + crate::client::customize::CustomizableOperation, + ::aws_smithy_http::result::SdkError + >{ + self.customize_middleware().await + } ///

                                                                      The ID of the network interface.

                                                                      pub fn network_interface_id( mut self, diff --git a/sdk/ec2/src/operation/create_placement_group/builders.rs b/sdk/ec2/src/operation/create_placement_group/builders.rs index bd59ec0ab24a..0002c982ae1e 100644 --- a/sdk/ec2/src/operation/create_placement_group/builders.rs +++ b/sdk/ec2/src/operation/create_placement_group/builders.rs @@ -21,9 +21,9 @@ impl CreatePlacementGroupFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -85,6 +85,22 @@ impl CreatePlacementGroupFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::create_placement_group::CreatePlacementGroup, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::create_placement_group::CreatePlacementGroupError, + >, + > { + self.customize_middleware().await + } ///

                                                                      Checks whether you have the required permissions for the action, without actually making the request, and provides an error response. If you have the required permissions, the error response is DryRunOperation. Otherwise, it is UnauthorizedOperation.

                                                                      pub fn dry_run(mut self, input: bool) -> Self { self.inner = self.inner.dry_run(input); diff --git a/sdk/ec2/src/operation/create_public_ipv4_pool/builders.rs b/sdk/ec2/src/operation/create_public_ipv4_pool/builders.rs index 2eec8078fe4d..648ca8f8a1b8 100644 --- a/sdk/ec2/src/operation/create_public_ipv4_pool/builders.rs +++ b/sdk/ec2/src/operation/create_public_ipv4_pool/builders.rs @@ -19,9 +19,9 @@ impl CreatePublicIpv4PoolFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl CreatePublicIpv4PoolFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::create_public_ipv4_pool::CreatePublicIpv4Pool, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::create_public_ipv4_pool::CreatePublicIpv4PoolError, + >, + > { + self.customize_middleware().await + } ///

                                                                      A check for whether you have the required permissions for the action without actually making the request and provides an error response. If you have the required permissions, the error response is DryRunOperation. Otherwise, it is UnauthorizedOperation.

                                                                      pub fn dry_run(mut self, input: bool) -> Self { self.inner = self.inner.dry_run(input); diff --git a/sdk/ec2/src/operation/create_replace_root_volume_task/builders.rs b/sdk/ec2/src/operation/create_replace_root_volume_task/builders.rs index fa166815304e..b8ba2b40e9d6 100644 --- a/sdk/ec2/src/operation/create_replace_root_volume_task/builders.rs +++ b/sdk/ec2/src/operation/create_replace_root_volume_task/builders.rs @@ -20,9 +20,9 @@ impl CreateReplaceRootVolumeTaskFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -84,6 +84,22 @@ impl CreateReplaceRootVolumeTaskFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::create_replace_root_volume_task::CreateReplaceRootVolumeTask, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::create_replace_root_volume_task::CreateReplaceRootVolumeTaskError, + >, + > { + self.customize_middleware().await + } ///

                                                                      The ID of the instance for which to replace the root volume.

                                                                      pub fn instance_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.instance_id(input.into()); diff --git a/sdk/ec2/src/operation/create_reserved_instances_listing/builders.rs b/sdk/ec2/src/operation/create_reserved_instances_listing/builders.rs index 81bc54723a22..6b1bcbcc7ef4 100644 --- a/sdk/ec2/src/operation/create_reserved_instances_listing/builders.rs +++ b/sdk/ec2/src/operation/create_reserved_instances_listing/builders.rs @@ -24,9 +24,9 @@ impl CreateReservedInstancesListingFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize(self) -> ::std::result::Result< + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware(self) -> ::std::result::Result< crate::client::customize::CustomizableOperation, ::aws_smithy_http::result::SdkError >{ @@ -69,6 +69,15 @@ impl CreateReservedInstancesListingFluentBuilder { { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize(self) -> ::std::result::Result< + crate::client::customize::CustomizableOperation, + ::aws_smithy_http::result::SdkError + >{ + self.customize_middleware().await + } ///

                                                                      Unique, case-sensitive identifier you provide to ensure idempotency of your listings. This helps avoid duplicate listings. For more information, see Ensuring Idempotency.

                                                                      pub fn client_token(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.client_token(input.into()); diff --git a/sdk/ec2/src/operation/create_restore_image_task/builders.rs b/sdk/ec2/src/operation/create_restore_image_task/builders.rs index d441fe503201..038edf13de01 100644 --- a/sdk/ec2/src/operation/create_restore_image_task/builders.rs +++ b/sdk/ec2/src/operation/create_restore_image_task/builders.rs @@ -22,9 +22,9 @@ impl CreateRestoreImageTaskFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -86,6 +86,22 @@ impl CreateRestoreImageTaskFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::create_restore_image_task::CreateRestoreImageTask, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::create_restore_image_task::CreateRestoreImageTaskError, + >, + > { + self.customize_middleware().await + } ///

                                                                      The name of the Amazon S3 bucket that contains the stored AMI object.

                                                                      pub fn bucket(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.bucket(input.into()); diff --git a/sdk/ec2/src/operation/create_route/builders.rs b/sdk/ec2/src/operation/create_route/builders.rs index f043dbe4568e..7442c22fd3f8 100644 --- a/sdk/ec2/src/operation/create_route/builders.rs +++ b/sdk/ec2/src/operation/create_route/builders.rs @@ -27,9 +27,9 @@ impl CreateRouteFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -85,6 +85,20 @@ impl CreateRouteFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::create_route::CreateRoute, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                      The IPv4 CIDR address block used for the destination match. Routing decisions are based on the most specific match. We modify the specified CIDR block to its canonical form; for example, if you specify 100.68.0.18/18, we modify it to 100.68.0.0/18.

                                                                      pub fn destination_cidr_block( mut self, diff --git a/sdk/ec2/src/operation/create_route_table/builders.rs b/sdk/ec2/src/operation/create_route_table/builders.rs index 116cdf859934..1a12fc047a17 100644 --- a/sdk/ec2/src/operation/create_route_table/builders.rs +++ b/sdk/ec2/src/operation/create_route_table/builders.rs @@ -20,9 +20,9 @@ impl CreateRouteTableFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -84,6 +84,22 @@ impl CreateRouteTableFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::create_route_table::CreateRouteTable, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::create_route_table::CreateRouteTableError, + >, + > { + self.customize_middleware().await + } ///

                                                                      Checks whether you have the required permissions for the action, without actually making the request, and provides an error response. If you have the required permissions, the error response is DryRunOperation. Otherwise, it is UnauthorizedOperation.

                                                                      pub fn dry_run(mut self, input: bool) -> Self { self.inner = self.inner.dry_run(input); diff --git a/sdk/ec2/src/operation/create_security_group/builders.rs b/sdk/ec2/src/operation/create_security_group/builders.rs index 6a3b71cce87f..42371a9351ee 100644 --- a/sdk/ec2/src/operation/create_security_group/builders.rs +++ b/sdk/ec2/src/operation/create_security_group/builders.rs @@ -26,9 +26,9 @@ impl CreateSecurityGroupFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -90,6 +90,22 @@ impl CreateSecurityGroupFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::create_security_group::CreateSecurityGroup, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::create_security_group::CreateSecurityGroupError, + >, + > { + self.customize_middleware().await + } ///

                                                                      A description for the security group.

                                                                      ///

                                                                      Constraints: Up to 255 characters in length

                                                                      ///

                                                                      Constraints for EC2-Classic: ASCII characters

                                                                      diff --git a/sdk/ec2/src/operation/create_snapshot/builders.rs b/sdk/ec2/src/operation/create_snapshot/builders.rs index 28c37cdb92cb..88671c27f913 100644 --- a/sdk/ec2/src/operation/create_snapshot/builders.rs +++ b/sdk/ec2/src/operation/create_snapshot/builders.rs @@ -26,9 +26,9 @@ impl CreateSnapshotFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -84,6 +84,20 @@ impl CreateSnapshotFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::create_snapshot::CreateSnapshot, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                      A description for the snapshot.

                                                                      pub fn description(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.description(input.into()); diff --git a/sdk/ec2/src/operation/create_snapshots/builders.rs b/sdk/ec2/src/operation/create_snapshots/builders.rs index 1055c0dfc06d..1637be24f342 100644 --- a/sdk/ec2/src/operation/create_snapshots/builders.rs +++ b/sdk/ec2/src/operation/create_snapshots/builders.rs @@ -21,9 +21,9 @@ impl CreateSnapshotsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -85,6 +85,22 @@ impl CreateSnapshotsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::create_snapshots::CreateSnapshots, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::create_snapshots::CreateSnapshotsError, + >, + > { + self.customize_middleware().await + } ///

                                                                      A description propagated to every snapshot specified by the instance.

                                                                      pub fn description(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.description(input.into()); diff --git a/sdk/ec2/src/operation/create_spot_datafeed_subscription/builders.rs b/sdk/ec2/src/operation/create_spot_datafeed_subscription/builders.rs index d9beedfde908..8d2a0c2524fd 100644 --- a/sdk/ec2/src/operation/create_spot_datafeed_subscription/builders.rs +++ b/sdk/ec2/src/operation/create_spot_datafeed_subscription/builders.rs @@ -19,9 +19,9 @@ impl CreateSpotDatafeedSubscriptionFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize(self) -> ::std::result::Result< + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware(self) -> ::std::result::Result< crate::client::customize::CustomizableOperation, ::aws_smithy_http::result::SdkError >{ @@ -64,6 +64,15 @@ impl CreateSpotDatafeedSubscriptionFluentBuilder { { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize(self) -> ::std::result::Result< + crate::client::customize::CustomizableOperation, + ::aws_smithy_http::result::SdkError + >{ + self.customize_middleware().await + } ///

                                                                      The name of the Amazon S3 bucket in which to store the Spot Instance data feed. For more information about bucket names, see Rules for bucket naming in the Amazon S3 Developer Guide.

                                                                      pub fn bucket(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.bucket(input.into()); diff --git a/sdk/ec2/src/operation/create_store_image_task/builders.rs b/sdk/ec2/src/operation/create_store_image_task/builders.rs index 81d2c623dba9..064f9528018b 100644 --- a/sdk/ec2/src/operation/create_store_image_task/builders.rs +++ b/sdk/ec2/src/operation/create_store_image_task/builders.rs @@ -21,9 +21,9 @@ impl CreateStoreImageTaskFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -85,6 +85,22 @@ impl CreateStoreImageTaskFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::create_store_image_task::CreateStoreImageTask, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::create_store_image_task::CreateStoreImageTaskError, + >, + > { + self.customize_middleware().await + } ///

                                                                      The ID of the AMI.

                                                                      pub fn image_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.image_id(input.into()); diff --git a/sdk/ec2/src/operation/create_subnet/builders.rs b/sdk/ec2/src/operation/create_subnet/builders.rs index d69793d821b3..44389f221844 100644 --- a/sdk/ec2/src/operation/create_subnet/builders.rs +++ b/sdk/ec2/src/operation/create_subnet/builders.rs @@ -25,9 +25,9 @@ impl CreateSubnetFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,20 @@ impl CreateSubnetFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::create_subnet::CreateSubnet, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } /// Appends an item to `TagSpecifications`. /// /// To override the contents of this collection use [`set_tag_specifications`](Self::set_tag_specifications). diff --git a/sdk/ec2/src/operation/create_subnet_cidr_reservation/builders.rs b/sdk/ec2/src/operation/create_subnet_cidr_reservation/builders.rs index 4cb52954ad01..f44e95fa40b4 100644 --- a/sdk/ec2/src/operation/create_subnet_cidr_reservation/builders.rs +++ b/sdk/ec2/src/operation/create_subnet_cidr_reservation/builders.rs @@ -19,9 +19,9 @@ impl CreateSubnetCidrReservationFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl CreateSubnetCidrReservationFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::create_subnet_cidr_reservation::CreateSubnetCidrReservation, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::create_subnet_cidr_reservation::CreateSubnetCidrReservationError, + >, + > { + self.customize_middleware().await + } ///

                                                                      The ID of the subnet.

                                                                      pub fn subnet_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.subnet_id(input.into()); diff --git a/sdk/ec2/src/operation/create_tags/builders.rs b/sdk/ec2/src/operation/create_tags/builders.rs index 02eca1472014..03a41c22f66a 100644 --- a/sdk/ec2/src/operation/create_tags/builders.rs +++ b/sdk/ec2/src/operation/create_tags/builders.rs @@ -20,9 +20,9 @@ impl CreateTagsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -78,6 +78,20 @@ impl CreateTagsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::create_tags::CreateTags, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                      Checks whether you have the required permissions for the action, without actually making the request, and provides an error response. If you have the required permissions, the error response is DryRunOperation. Otherwise, it is UnauthorizedOperation.

                                                                      pub fn dry_run(mut self, input: bool) -> Self { self.inner = self.inner.dry_run(input); diff --git a/sdk/ec2/src/operation/create_traffic_mirror_filter/builders.rs b/sdk/ec2/src/operation/create_traffic_mirror_filter/builders.rs index 9da5e99e94df..83f9569b8219 100644 --- a/sdk/ec2/src/operation/create_traffic_mirror_filter/builders.rs +++ b/sdk/ec2/src/operation/create_traffic_mirror_filter/builders.rs @@ -21,9 +21,9 @@ impl CreateTrafficMirrorFilterFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -85,6 +85,22 @@ impl CreateTrafficMirrorFilterFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::create_traffic_mirror_filter::CreateTrafficMirrorFilter, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::create_traffic_mirror_filter::CreateTrafficMirrorFilterError, + >, + > { + self.customize_middleware().await + } ///

                                                                      The description of the Traffic Mirror filter.

                                                                      pub fn description(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.description(input.into()); diff --git a/sdk/ec2/src/operation/create_traffic_mirror_filter_rule/builders.rs b/sdk/ec2/src/operation/create_traffic_mirror_filter_rule/builders.rs index 35ca8bc43490..4327342fd19d 100644 --- a/sdk/ec2/src/operation/create_traffic_mirror_filter_rule/builders.rs +++ b/sdk/ec2/src/operation/create_traffic_mirror_filter_rule/builders.rs @@ -21,9 +21,9 @@ impl CreateTrafficMirrorFilterRuleFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -85,6 +85,22 @@ impl CreateTrafficMirrorFilterRuleFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::create_traffic_mirror_filter_rule::CreateTrafficMirrorFilterRule, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::create_traffic_mirror_filter_rule::CreateTrafficMirrorFilterRuleError, + >, + > { + self.customize_middleware().await + } ///

                                                                      The ID of the filter that this rule is associated with.

                                                                      pub fn traffic_mirror_filter_id( mut self, diff --git a/sdk/ec2/src/operation/create_traffic_mirror_session/builders.rs b/sdk/ec2/src/operation/create_traffic_mirror_session/builders.rs index c988c4a32c90..f7de6ce5778f 100644 --- a/sdk/ec2/src/operation/create_traffic_mirror_session/builders.rs +++ b/sdk/ec2/src/operation/create_traffic_mirror_session/builders.rs @@ -22,9 +22,9 @@ impl CreateTrafficMirrorSessionFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -86,6 +86,22 @@ impl CreateTrafficMirrorSessionFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::create_traffic_mirror_session::CreateTrafficMirrorSession, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::create_traffic_mirror_session::CreateTrafficMirrorSessionError, + >, + > { + self.customize_middleware().await + } ///

                                                                      The ID of the source network interface.

                                                                      pub fn network_interface_id( mut self, diff --git a/sdk/ec2/src/operation/create_traffic_mirror_target/builders.rs b/sdk/ec2/src/operation/create_traffic_mirror_target/builders.rs index 5eb967c6dd01..d558c0dded82 100644 --- a/sdk/ec2/src/operation/create_traffic_mirror_target/builders.rs +++ b/sdk/ec2/src/operation/create_traffic_mirror_target/builders.rs @@ -22,9 +22,9 @@ impl CreateTrafficMirrorTargetFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -86,6 +86,22 @@ impl CreateTrafficMirrorTargetFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::create_traffic_mirror_target::CreateTrafficMirrorTarget, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::create_traffic_mirror_target::CreateTrafficMirrorTargetError, + >, + > { + self.customize_middleware().await + } ///

                                                                      The network interface ID that is associated with the target.

                                                                      pub fn network_interface_id( mut self, diff --git a/sdk/ec2/src/operation/create_transit_gateway/builders.rs b/sdk/ec2/src/operation/create_transit_gateway/builders.rs index c1af5168de29..25e08da84c47 100644 --- a/sdk/ec2/src/operation/create_transit_gateway/builders.rs +++ b/sdk/ec2/src/operation/create_transit_gateway/builders.rs @@ -23,9 +23,9 @@ impl CreateTransitGatewayFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -87,6 +87,22 @@ impl CreateTransitGatewayFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::create_transit_gateway::CreateTransitGateway, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::create_transit_gateway::CreateTransitGatewayError, + >, + > { + self.customize_middleware().await + } ///

                                                                      A description of the transit gateway.

                                                                      pub fn description(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.description(input.into()); diff --git a/sdk/ec2/src/operation/create_transit_gateway_connect/builders.rs b/sdk/ec2/src/operation/create_transit_gateway_connect/builders.rs index d8f7f3314a6c..38b687a25598 100644 --- a/sdk/ec2/src/operation/create_transit_gateway_connect/builders.rs +++ b/sdk/ec2/src/operation/create_transit_gateway_connect/builders.rs @@ -20,9 +20,9 @@ impl CreateTransitGatewayConnectFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -84,6 +84,22 @@ impl CreateTransitGatewayConnectFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::create_transit_gateway_connect::CreateTransitGatewayConnect, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::create_transit_gateway_connect::CreateTransitGatewayConnectError, + >, + > { + self.customize_middleware().await + } ///

                                                                      The ID of the transit gateway attachment. You can specify a VPC attachment or Amazon Web Services Direct Connect attachment.

                                                                      pub fn transport_transit_gateway_attachment_id( mut self, diff --git a/sdk/ec2/src/operation/create_transit_gateway_connect_peer/builders.rs b/sdk/ec2/src/operation/create_transit_gateway_connect_peer/builders.rs index 695c35250a2f..0e6441e8b918 100644 --- a/sdk/ec2/src/operation/create_transit_gateway_connect_peer/builders.rs +++ b/sdk/ec2/src/operation/create_transit_gateway_connect_peer/builders.rs @@ -21,9 +21,9 @@ impl CreateTransitGatewayConnectPeerFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize(self) -> ::std::result::Result< + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware(self) -> ::std::result::Result< crate::client::customize::CustomizableOperation, ::aws_smithy_http::result::SdkError >{ @@ -66,6 +66,15 @@ impl CreateTransitGatewayConnectPeerFluentBuilder { { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize(self) -> ::std::result::Result< + crate::client::customize::CustomizableOperation, + ::aws_smithy_http::result::SdkError + >{ + self.customize_middleware().await + } ///

                                                                      The ID of the Connect attachment.

                                                                      pub fn transit_gateway_attachment_id( mut self, diff --git a/sdk/ec2/src/operation/create_transit_gateway_multicast_domain/builders.rs b/sdk/ec2/src/operation/create_transit_gateway_multicast_domain/builders.rs index aa4046f9eb67..2d60bb7d5492 100644 --- a/sdk/ec2/src/operation/create_transit_gateway_multicast_domain/builders.rs +++ b/sdk/ec2/src/operation/create_transit_gateway_multicast_domain/builders.rs @@ -20,9 +20,9 @@ impl CreateTransitGatewayMulticastDomainFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize(self) -> ::std::result::Result< + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware(self) -> ::std::result::Result< crate::client::customize::CustomizableOperation, ::aws_smithy_http::result::SdkError >{ @@ -65,6 +65,15 @@ impl CreateTransitGatewayMulticastDomainFluentBuilder { { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize(self) -> ::std::result::Result< + crate::client::customize::CustomizableOperation, + ::aws_smithy_http::result::SdkError + >{ + self.customize_middleware().await + } ///

                                                                      The ID of the transit gateway.

                                                                      pub fn transit_gateway_id( mut self, diff --git a/sdk/ec2/src/operation/create_transit_gateway_peering_attachment/builders.rs b/sdk/ec2/src/operation/create_transit_gateway_peering_attachment/builders.rs index dd7f825b065a..ce9c1e0f4189 100644 --- a/sdk/ec2/src/operation/create_transit_gateway_peering_attachment/builders.rs +++ b/sdk/ec2/src/operation/create_transit_gateway_peering_attachment/builders.rs @@ -20,9 +20,9 @@ impl CreateTransitGatewayPeeringAttachmentFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize(self) -> ::std::result::Result< + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware(self) -> ::std::result::Result< crate::client::customize::CustomizableOperation, ::aws_smithy_http::result::SdkError >{ @@ -65,6 +65,15 @@ impl CreateTransitGatewayPeeringAttachmentFluentBuilder { { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize(self) -> ::std::result::Result< + crate::client::customize::CustomizableOperation, + ::aws_smithy_http::result::SdkError + >{ + self.customize_middleware().await + } ///

                                                                      The ID of the transit gateway.

                                                                      pub fn transit_gateway_id( mut self, diff --git a/sdk/ec2/src/operation/create_transit_gateway_policy_table/builders.rs b/sdk/ec2/src/operation/create_transit_gateway_policy_table/builders.rs index fee40b460b9c..97446bcc24f4 100644 --- a/sdk/ec2/src/operation/create_transit_gateway_policy_table/builders.rs +++ b/sdk/ec2/src/operation/create_transit_gateway_policy_table/builders.rs @@ -19,9 +19,9 @@ impl CreateTransitGatewayPolicyTableFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize(self) -> ::std::result::Result< + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware(self) -> ::std::result::Result< crate::client::customize::CustomizableOperation, ::aws_smithy_http::result::SdkError >{ @@ -64,6 +64,15 @@ impl CreateTransitGatewayPolicyTableFluentBuilder { { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize(self) -> ::std::result::Result< + crate::client::customize::CustomizableOperation, + ::aws_smithy_http::result::SdkError + >{ + self.customize_middleware().await + } ///

                                                                      The ID of the transit gateway used for the policy table.

                                                                      pub fn transit_gateway_id( mut self, diff --git a/sdk/ec2/src/operation/create_transit_gateway_prefix_list_reference/builders.rs b/sdk/ec2/src/operation/create_transit_gateway_prefix_list_reference/builders.rs index 4d7d4d4adc3b..34c369133d22 100644 --- a/sdk/ec2/src/operation/create_transit_gateway_prefix_list_reference/builders.rs +++ b/sdk/ec2/src/operation/create_transit_gateway_prefix_list_reference/builders.rs @@ -19,9 +19,9 @@ impl CreateTransitGatewayPrefixListReferenceFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize(self) -> ::std::result::Result< + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware(self) -> ::std::result::Result< crate::client::customize::CustomizableOperation, ::aws_smithy_http::result::SdkError >{ @@ -64,6 +64,15 @@ impl CreateTransitGatewayPrefixListReferenceFluentBuilder { { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize(self) -> ::std::result::Result< + crate::client::customize::CustomizableOperation, + ::aws_smithy_http::result::SdkError + >{ + self.customize_middleware().await + } ///

                                                                      The ID of the transit gateway route table.

                                                                      pub fn transit_gateway_route_table_id( mut self, diff --git a/sdk/ec2/src/operation/create_transit_gateway_route/builders.rs b/sdk/ec2/src/operation/create_transit_gateway_route/builders.rs index f80e3609da02..0c05849e6b96 100644 --- a/sdk/ec2/src/operation/create_transit_gateway_route/builders.rs +++ b/sdk/ec2/src/operation/create_transit_gateway_route/builders.rs @@ -19,9 +19,9 @@ impl CreateTransitGatewayRouteFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl CreateTransitGatewayRouteFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::create_transit_gateway_route::CreateTransitGatewayRoute, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::create_transit_gateway_route::CreateTransitGatewayRouteError, + >, + > { + self.customize_middleware().await + } ///

                                                                      The CIDR range used for destination matches. Routing decisions are based on the most specific match.

                                                                      pub fn destination_cidr_block( mut self, diff --git a/sdk/ec2/src/operation/create_transit_gateway_route_table/builders.rs b/sdk/ec2/src/operation/create_transit_gateway_route_table/builders.rs index 2f684ca4f61d..c6ce245149bb 100644 --- a/sdk/ec2/src/operation/create_transit_gateway_route_table/builders.rs +++ b/sdk/ec2/src/operation/create_transit_gateway_route_table/builders.rs @@ -19,9 +19,9 @@ impl CreateTransitGatewayRouteTableFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize(self) -> ::std::result::Result< + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware(self) -> ::std::result::Result< crate::client::customize::CustomizableOperation, ::aws_smithy_http::result::SdkError >{ @@ -64,6 +64,15 @@ impl CreateTransitGatewayRouteTableFluentBuilder { { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize(self) -> ::std::result::Result< + crate::client::customize::CustomizableOperation, + ::aws_smithy_http::result::SdkError + >{ + self.customize_middleware().await + } ///

                                                                      The ID of the transit gateway.

                                                                      pub fn transit_gateway_id( mut self, diff --git a/sdk/ec2/src/operation/create_transit_gateway_route_table_announcement/builders.rs b/sdk/ec2/src/operation/create_transit_gateway_route_table_announcement/builders.rs index 52d4e3d30e41..69fba43d7c1f 100644 --- a/sdk/ec2/src/operation/create_transit_gateway_route_table_announcement/builders.rs +++ b/sdk/ec2/src/operation/create_transit_gateway_route_table_announcement/builders.rs @@ -19,9 +19,9 @@ impl CreateTransitGatewayRouteTableAnnouncementFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize(self) -> ::std::result::Result< + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware(self) -> ::std::result::Result< crate::client::customize::CustomizableOperation, ::aws_smithy_http::result::SdkError >{ @@ -64,6 +64,15 @@ impl CreateTransitGatewayRouteTableAnnouncementFluentBuilder { { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize(self) -> ::std::result::Result< + crate::client::customize::CustomizableOperation, + ::aws_smithy_http::result::SdkError + >{ + self.customize_middleware().await + } ///

                                                                      The ID of the transit gateway route table.

                                                                      pub fn transit_gateway_route_table_id( mut self, diff --git a/sdk/ec2/src/operation/create_transit_gateway_vpc_attachment/builders.rs b/sdk/ec2/src/operation/create_transit_gateway_vpc_attachment/builders.rs index f8d72ded01d6..dfa28d7699bb 100644 --- a/sdk/ec2/src/operation/create_transit_gateway_vpc_attachment/builders.rs +++ b/sdk/ec2/src/operation/create_transit_gateway_vpc_attachment/builders.rs @@ -21,9 +21,9 @@ impl CreateTransitGatewayVpcAttachmentFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize(self) -> ::std::result::Result< + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware(self) -> ::std::result::Result< crate::client::customize::CustomizableOperation, ::aws_smithy_http::result::SdkError >{ @@ -66,6 +66,15 @@ impl CreateTransitGatewayVpcAttachmentFluentBuilder { { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize(self) -> ::std::result::Result< + crate::client::customize::CustomizableOperation, + ::aws_smithy_http::result::SdkError + >{ + self.customize_middleware().await + } ///

                                                                      The ID of the transit gateway.

                                                                      pub fn transit_gateway_id( mut self, diff --git a/sdk/ec2/src/operation/create_verified_access_endpoint/builders.rs b/sdk/ec2/src/operation/create_verified_access_endpoint/builders.rs index a78b086d2098..1225c936467e 100644 --- a/sdk/ec2/src/operation/create_verified_access_endpoint/builders.rs +++ b/sdk/ec2/src/operation/create_verified_access_endpoint/builders.rs @@ -19,9 +19,9 @@ impl CreateVerifiedAccessEndpointFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl CreateVerifiedAccessEndpointFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::create_verified_access_endpoint::CreateVerifiedAccessEndpoint, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::create_verified_access_endpoint::CreateVerifiedAccessEndpointError, + >, + > { + self.customize_middleware().await + } ///

                                                                      The ID of the Verified Access group to associate the endpoint with.

                                                                      pub fn verified_access_group_id( mut self, diff --git a/sdk/ec2/src/operation/create_verified_access_group/builders.rs b/sdk/ec2/src/operation/create_verified_access_group/builders.rs index 75a803718123..5b9e41fc01fe 100644 --- a/sdk/ec2/src/operation/create_verified_access_group/builders.rs +++ b/sdk/ec2/src/operation/create_verified_access_group/builders.rs @@ -19,9 +19,9 @@ impl CreateVerifiedAccessGroupFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl CreateVerifiedAccessGroupFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::create_verified_access_group::CreateVerifiedAccessGroup, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::create_verified_access_group::CreateVerifiedAccessGroupError, + >, + > { + self.customize_middleware().await + } ///

                                                                      The ID of the Verified Access instance.

                                                                      pub fn verified_access_instance_id( mut self, diff --git a/sdk/ec2/src/operation/create_verified_access_instance/builders.rs b/sdk/ec2/src/operation/create_verified_access_instance/builders.rs index af86515dc0c7..8d7b42264611 100644 --- a/sdk/ec2/src/operation/create_verified_access_instance/builders.rs +++ b/sdk/ec2/src/operation/create_verified_access_instance/builders.rs @@ -19,9 +19,9 @@ impl CreateVerifiedAccessInstanceFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl CreateVerifiedAccessInstanceFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::create_verified_access_instance::CreateVerifiedAccessInstance, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::create_verified_access_instance::CreateVerifiedAccessInstanceError, + >, + > { + self.customize_middleware().await + } ///

                                                                      A description for the Verified Access instance.

                                                                      pub fn description(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.description(input.into()); diff --git a/sdk/ec2/src/operation/create_verified_access_trust_provider/builders.rs b/sdk/ec2/src/operation/create_verified_access_trust_provider/builders.rs index e61c60edb8f8..df3e8582fa3a 100644 --- a/sdk/ec2/src/operation/create_verified_access_trust_provider/builders.rs +++ b/sdk/ec2/src/operation/create_verified_access_trust_provider/builders.rs @@ -19,9 +19,9 @@ impl CreateVerifiedAccessTrustProviderFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize(self) -> ::std::result::Result< + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware(self) -> ::std::result::Result< crate::client::customize::CustomizableOperation, ::aws_smithy_http::result::SdkError >{ @@ -64,6 +64,15 @@ impl CreateVerifiedAccessTrustProviderFluentBuilder { { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize(self) -> ::std::result::Result< + crate::client::customize::CustomizableOperation, + ::aws_smithy_http::result::SdkError + >{ + self.customize_middleware().await + } ///

                                                                      The type of trust provider.

                                                                      pub fn trust_provider_type(mut self, input: crate::types::TrustProviderType) -> Self { self.inner = self.inner.trust_provider_type(input); diff --git a/sdk/ec2/src/operation/create_volume/builders.rs b/sdk/ec2/src/operation/create_volume/builders.rs index 45b8101dce6d..cf5ff9f784a5 100644 --- a/sdk/ec2/src/operation/create_volume/builders.rs +++ b/sdk/ec2/src/operation/create_volume/builders.rs @@ -23,9 +23,9 @@ impl CreateVolumeFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -81,6 +81,20 @@ impl CreateVolumeFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::create_volume::CreateVolume, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                      The Availability Zone in which to create the volume.

                                                                      pub fn availability_zone( mut self, diff --git a/sdk/ec2/src/operation/create_vpc/builders.rs b/sdk/ec2/src/operation/create_vpc/builders.rs index 56f0c80bef93..191aaad175cb 100644 --- a/sdk/ec2/src/operation/create_vpc/builders.rs +++ b/sdk/ec2/src/operation/create_vpc/builders.rs @@ -22,9 +22,9 @@ impl CreateVpcFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -80,6 +80,20 @@ impl CreateVpcFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::create_vpc::CreateVpc, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                      The IPv4 network range for the VPC, in CIDR notation. For example, 10.0.0.0/16. We modify the specified CIDR block to its canonical form; for example, if you specify 100.68.0.18/18, we modify it to 100.68.0.0/18.

                                                                      pub fn cidr_block(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.cidr_block(input.into()); diff --git a/sdk/ec2/src/operation/create_vpc_endpoint/builders.rs b/sdk/ec2/src/operation/create_vpc_endpoint/builders.rs index 42d516a34e60..93189ebf33b9 100644 --- a/sdk/ec2/src/operation/create_vpc_endpoint/builders.rs +++ b/sdk/ec2/src/operation/create_vpc_endpoint/builders.rs @@ -19,9 +19,9 @@ impl CreateVpcEndpointFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl CreateVpcEndpointFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::create_vpc_endpoint::CreateVpcEndpoint, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::create_vpc_endpoint::CreateVpcEndpointError, + >, + > { + self.customize_middleware().await + } ///

                                                                      Checks whether you have the required permissions for the action, without actually making the request, and provides an error response. If you have the required permissions, the error response is DryRunOperation. Otherwise, it is UnauthorizedOperation.

                                                                      pub fn dry_run(mut self, input: bool) -> Self { self.inner = self.inner.dry_run(input); diff --git a/sdk/ec2/src/operation/create_vpc_endpoint_connection_notification/builders.rs b/sdk/ec2/src/operation/create_vpc_endpoint_connection_notification/builders.rs index e3b1ae6d546f..59911e100e30 100644 --- a/sdk/ec2/src/operation/create_vpc_endpoint_connection_notification/builders.rs +++ b/sdk/ec2/src/operation/create_vpc_endpoint_connection_notification/builders.rs @@ -20,9 +20,9 @@ impl CreateVpcEndpointConnectionNotificationFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize(self) -> ::std::result::Result< + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware(self) -> ::std::result::Result< crate::client::customize::CustomizableOperation, ::aws_smithy_http::result::SdkError >{ @@ -65,6 +65,15 @@ impl CreateVpcEndpointConnectionNotificationFluentBuilder { { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize(self) -> ::std::result::Result< + crate::client::customize::CustomizableOperation, + ::aws_smithy_http::result::SdkError + >{ + self.customize_middleware().await + } ///

                                                                      Checks whether you have the required permissions for the action, without actually making the request, and provides an error response. If you have the required permissions, the error response is DryRunOperation. Otherwise, it is UnauthorizedOperation.

                                                                      pub fn dry_run(mut self, input: bool) -> Self { self.inner = self.inner.dry_run(input); diff --git a/sdk/ec2/src/operation/create_vpc_endpoint_service_configuration/builders.rs b/sdk/ec2/src/operation/create_vpc_endpoint_service_configuration/builders.rs index 0b4405226af9..e870806ab465 100644 --- a/sdk/ec2/src/operation/create_vpc_endpoint_service_configuration/builders.rs +++ b/sdk/ec2/src/operation/create_vpc_endpoint_service_configuration/builders.rs @@ -26,9 +26,9 @@ impl CreateVpcEndpointServiceConfigurationFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize(self) -> ::std::result::Result< + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware(self) -> ::std::result::Result< crate::client::customize::CustomizableOperation, ::aws_smithy_http::result::SdkError >{ @@ -71,6 +71,15 @@ impl CreateVpcEndpointServiceConfigurationFluentBuilder { { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize(self) -> ::std::result::Result< + crate::client::customize::CustomizableOperation, + ::aws_smithy_http::result::SdkError + >{ + self.customize_middleware().await + } ///

                                                                      Checks whether you have the required permissions for the action, without actually making the request, and provides an error response. If you have the required permissions, the error response is DryRunOperation. Otherwise, it is UnauthorizedOperation.

                                                                      pub fn dry_run(mut self, input: bool) -> Self { self.inner = self.inner.dry_run(input); diff --git a/sdk/ec2/src/operation/create_vpc_peering_connection/builders.rs b/sdk/ec2/src/operation/create_vpc_peering_connection/builders.rs index 6e95421ef357..76edb79e031f 100644 --- a/sdk/ec2/src/operation/create_vpc_peering_connection/builders.rs +++ b/sdk/ec2/src/operation/create_vpc_peering_connection/builders.rs @@ -23,9 +23,9 @@ impl CreateVpcPeeringConnectionFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -87,6 +87,22 @@ impl CreateVpcPeeringConnectionFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::create_vpc_peering_connection::CreateVpcPeeringConnection, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::create_vpc_peering_connection::CreateVpcPeeringConnectionError, + >, + > { + self.customize_middleware().await + } ///

                                                                      Checks whether you have the required permissions for the action, without actually making the request, and provides an error response. If you have the required permissions, the error response is DryRunOperation. Otherwise, it is UnauthorizedOperation.

                                                                      pub fn dry_run(mut self, input: bool) -> Self { self.inner = self.inner.dry_run(input); diff --git a/sdk/ec2/src/operation/create_vpn_connection/builders.rs b/sdk/ec2/src/operation/create_vpn_connection/builders.rs index dd9f2fcdea41..fff7fcaba6e1 100644 --- a/sdk/ec2/src/operation/create_vpn_connection/builders.rs +++ b/sdk/ec2/src/operation/create_vpn_connection/builders.rs @@ -25,9 +25,9 @@ impl CreateVpnConnectionFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -89,6 +89,22 @@ impl CreateVpnConnectionFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::create_vpn_connection::CreateVpnConnection, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::create_vpn_connection::CreateVpnConnectionError, + >, + > { + self.customize_middleware().await + } ///

                                                                      The ID of the customer gateway.

                                                                      pub fn customer_gateway_id( mut self, diff --git a/sdk/ec2/src/operation/create_vpn_connection_route/builders.rs b/sdk/ec2/src/operation/create_vpn_connection_route/builders.rs index 179549c78bd8..a40e9ca6c290 100644 --- a/sdk/ec2/src/operation/create_vpn_connection_route/builders.rs +++ b/sdk/ec2/src/operation/create_vpn_connection_route/builders.rs @@ -20,9 +20,9 @@ impl CreateVpnConnectionRouteFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -84,6 +84,22 @@ impl CreateVpnConnectionRouteFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::create_vpn_connection_route::CreateVpnConnectionRoute, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::create_vpn_connection_route::CreateVpnConnectionRouteError, + >, + > { + self.customize_middleware().await + } ///

                                                                      The CIDR block associated with the local subnet of the customer network.

                                                                      pub fn destination_cidr_block( mut self, diff --git a/sdk/ec2/src/operation/create_vpn_gateway/builders.rs b/sdk/ec2/src/operation/create_vpn_gateway/builders.rs index 999992d154af..2f4a27183d96 100644 --- a/sdk/ec2/src/operation/create_vpn_gateway/builders.rs +++ b/sdk/ec2/src/operation/create_vpn_gateway/builders.rs @@ -20,9 +20,9 @@ impl CreateVpnGatewayFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -84,6 +84,22 @@ impl CreateVpnGatewayFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::create_vpn_gateway::CreateVpnGateway, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::create_vpn_gateway::CreateVpnGatewayError, + >, + > { + self.customize_middleware().await + } ///

                                                                      The Availability Zone for the virtual private gateway.

                                                                      pub fn availability_zone( mut self, diff --git a/sdk/ec2/src/operation/delete_carrier_gateway/builders.rs b/sdk/ec2/src/operation/delete_carrier_gateway/builders.rs index a89bb804ef28..3624785e48e5 100644 --- a/sdk/ec2/src/operation/delete_carrier_gateway/builders.rs +++ b/sdk/ec2/src/operation/delete_carrier_gateway/builders.rs @@ -21,9 +21,9 @@ impl DeleteCarrierGatewayFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -85,6 +85,22 @@ impl DeleteCarrierGatewayFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::delete_carrier_gateway::DeleteCarrierGateway, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::delete_carrier_gateway::DeleteCarrierGatewayError, + >, + > { + self.customize_middleware().await + } ///

                                                                      The ID of the carrier gateway.

                                                                      pub fn carrier_gateway_id( mut self, diff --git a/sdk/ec2/src/operation/delete_client_vpn_endpoint/builders.rs b/sdk/ec2/src/operation/delete_client_vpn_endpoint/builders.rs index bc17f03d876f..7c51a3252012 100644 --- a/sdk/ec2/src/operation/delete_client_vpn_endpoint/builders.rs +++ b/sdk/ec2/src/operation/delete_client_vpn_endpoint/builders.rs @@ -20,9 +20,9 @@ impl DeleteClientVpnEndpointFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -84,6 +84,22 @@ impl DeleteClientVpnEndpointFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::delete_client_vpn_endpoint::DeleteClientVpnEndpoint, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::delete_client_vpn_endpoint::DeleteClientVpnEndpointError, + >, + > { + self.customize_middleware().await + } ///

                                                                      The ID of the Client VPN to be deleted.

                                                                      pub fn client_vpn_endpoint_id( mut self, diff --git a/sdk/ec2/src/operation/delete_client_vpn_route/builders.rs b/sdk/ec2/src/operation/delete_client_vpn_route/builders.rs index 83a854b4383a..0c436cfffaed 100644 --- a/sdk/ec2/src/operation/delete_client_vpn_route/builders.rs +++ b/sdk/ec2/src/operation/delete_client_vpn_route/builders.rs @@ -19,9 +19,9 @@ impl DeleteClientVpnRouteFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl DeleteClientVpnRouteFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::delete_client_vpn_route::DeleteClientVpnRoute, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::delete_client_vpn_route::DeleteClientVpnRouteError, + >, + > { + self.customize_middleware().await + } ///

                                                                      The ID of the Client VPN endpoint from which the route is to be deleted.

                                                                      pub fn client_vpn_endpoint_id( mut self, diff --git a/sdk/ec2/src/operation/delete_coip_cidr/builders.rs b/sdk/ec2/src/operation/delete_coip_cidr/builders.rs index 02da5078fbe6..da961582b073 100644 --- a/sdk/ec2/src/operation/delete_coip_cidr/builders.rs +++ b/sdk/ec2/src/operation/delete_coip_cidr/builders.rs @@ -19,9 +19,9 @@ impl DeleteCoipCidrFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl DeleteCoipCidrFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::delete_coip_cidr::DeleteCoipCidr, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::delete_coip_cidr::DeleteCoipCidrError, + >, + > { + self.customize_middleware().await + } ///

                                                                      A customer-owned IP address range that you want to delete.

                                                                      pub fn cidr(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.cidr(input.into()); diff --git a/sdk/ec2/src/operation/delete_coip_pool/builders.rs b/sdk/ec2/src/operation/delete_coip_pool/builders.rs index b6f46afeee2d..2f8affb31701 100644 --- a/sdk/ec2/src/operation/delete_coip_pool/builders.rs +++ b/sdk/ec2/src/operation/delete_coip_pool/builders.rs @@ -19,9 +19,9 @@ impl DeleteCoipPoolFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl DeleteCoipPoolFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::delete_coip_pool::DeleteCoipPool, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::delete_coip_pool::DeleteCoipPoolError, + >, + > { + self.customize_middleware().await + } ///

                                                                      The ID of the CoIP pool that you want to delete.

                                                                      pub fn coip_pool_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.coip_pool_id(input.into()); diff --git a/sdk/ec2/src/operation/delete_customer_gateway/builders.rs b/sdk/ec2/src/operation/delete_customer_gateway/builders.rs index 98c1e33df547..d1acc9700f69 100644 --- a/sdk/ec2/src/operation/delete_customer_gateway/builders.rs +++ b/sdk/ec2/src/operation/delete_customer_gateway/builders.rs @@ -19,9 +19,9 @@ impl DeleteCustomerGatewayFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl DeleteCustomerGatewayFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::delete_customer_gateway::DeleteCustomerGateway, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::delete_customer_gateway::DeleteCustomerGatewayError, + >, + > { + self.customize_middleware().await + } ///

                                                                      The ID of the customer gateway.

                                                                      pub fn customer_gateway_id( mut self, diff --git a/sdk/ec2/src/operation/delete_dhcp_options/builders.rs b/sdk/ec2/src/operation/delete_dhcp_options/builders.rs index 39c368910b8b..8780ea36e07f 100644 --- a/sdk/ec2/src/operation/delete_dhcp_options/builders.rs +++ b/sdk/ec2/src/operation/delete_dhcp_options/builders.rs @@ -19,9 +19,9 @@ impl DeleteDhcpOptionsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl DeleteDhcpOptionsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::delete_dhcp_options::DeleteDhcpOptions, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::delete_dhcp_options::DeleteDhcpOptionsError, + >, + > { + self.customize_middleware().await + } ///

                                                                      The ID of the DHCP options set.

                                                                      pub fn dhcp_options_id( mut self, diff --git a/sdk/ec2/src/operation/delete_egress_only_internet_gateway/builders.rs b/sdk/ec2/src/operation/delete_egress_only_internet_gateway/builders.rs index cd1993304d91..6976b81e6063 100644 --- a/sdk/ec2/src/operation/delete_egress_only_internet_gateway/builders.rs +++ b/sdk/ec2/src/operation/delete_egress_only_internet_gateway/builders.rs @@ -19,9 +19,9 @@ impl DeleteEgressOnlyInternetGatewayFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize(self) -> ::std::result::Result< + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware(self) -> ::std::result::Result< crate::client::customize::CustomizableOperation, ::aws_smithy_http::result::SdkError >{ @@ -64,6 +64,15 @@ impl DeleteEgressOnlyInternetGatewayFluentBuilder { { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize(self) -> ::std::result::Result< + crate::client::customize::CustomizableOperation, + ::aws_smithy_http::result::SdkError + >{ + self.customize_middleware().await + } ///

                                                                      Checks whether you have the required permissions for the action, without actually making the request, and provides an error response. If you have the required permissions, the error response is DryRunOperation. Otherwise, it is UnauthorizedOperation.

                                                                      pub fn dry_run(mut self, input: bool) -> Self { self.inner = self.inner.dry_run(input); diff --git a/sdk/ec2/src/operation/delete_fleets/builders.rs b/sdk/ec2/src/operation/delete_fleets/builders.rs index d02b6556ea53..a20aa1d78c01 100644 --- a/sdk/ec2/src/operation/delete_fleets/builders.rs +++ b/sdk/ec2/src/operation/delete_fleets/builders.rs @@ -28,9 +28,9 @@ impl DeleteFleetsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -86,6 +86,20 @@ impl DeleteFleetsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::delete_fleets::DeleteFleets, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                      Checks whether you have the required permissions for the action, without actually making the request, and provides an error response. If you have the required permissions, the error response is DryRunOperation. Otherwise, it is UnauthorizedOperation.

                                                                      pub fn dry_run(mut self, input: bool) -> Self { self.inner = self.inner.dry_run(input); diff --git a/sdk/ec2/src/operation/delete_flow_logs/builders.rs b/sdk/ec2/src/operation/delete_flow_logs/builders.rs index 14f85e5d1248..84a8be627e3f 100644 --- a/sdk/ec2/src/operation/delete_flow_logs/builders.rs +++ b/sdk/ec2/src/operation/delete_flow_logs/builders.rs @@ -19,9 +19,9 @@ impl DeleteFlowLogsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl DeleteFlowLogsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::delete_flow_logs::DeleteFlowLogs, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::delete_flow_logs::DeleteFlowLogsError, + >, + > { + self.customize_middleware().await + } ///

                                                                      Checks whether you have the required permissions for the action, without actually making the request, and provides an error response. If you have the required permissions, the error response is DryRunOperation. Otherwise, it is UnauthorizedOperation.

                                                                      pub fn dry_run(mut self, input: bool) -> Self { self.inner = self.inner.dry_run(input); diff --git a/sdk/ec2/src/operation/delete_fpga_image/builders.rs b/sdk/ec2/src/operation/delete_fpga_image/builders.rs index 12daa3e0a363..f1964f390662 100644 --- a/sdk/ec2/src/operation/delete_fpga_image/builders.rs +++ b/sdk/ec2/src/operation/delete_fpga_image/builders.rs @@ -19,9 +19,9 @@ impl DeleteFpgaImageFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl DeleteFpgaImageFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::delete_fpga_image::DeleteFpgaImage, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::delete_fpga_image::DeleteFpgaImageError, + >, + > { + self.customize_middleware().await + } ///

                                                                      Checks whether you have the required permissions for the action, without actually making the request, and provides an error response. If you have the required permissions, the error response is DryRunOperation. Otherwise, it is UnauthorizedOperation.

                                                                      pub fn dry_run(mut self, input: bool) -> Self { self.inner = self.inner.dry_run(input); diff --git a/sdk/ec2/src/operation/delete_instance_event_window/builders.rs b/sdk/ec2/src/operation/delete_instance_event_window/builders.rs index 5e9cb580ae9b..99ee8f160db6 100644 --- a/sdk/ec2/src/operation/delete_instance_event_window/builders.rs +++ b/sdk/ec2/src/operation/delete_instance_event_window/builders.rs @@ -20,9 +20,9 @@ impl DeleteInstanceEventWindowFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -84,6 +84,22 @@ impl DeleteInstanceEventWindowFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::delete_instance_event_window::DeleteInstanceEventWindow, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::delete_instance_event_window::DeleteInstanceEventWindowError, + >, + > { + self.customize_middleware().await + } ///

                                                                      Checks whether you have the required permissions for the action, without actually making the request, and provides an error response. If you have the required permissions, the error response is DryRunOperation. Otherwise, it is UnauthorizedOperation.

                                                                      pub fn dry_run(mut self, input: bool) -> Self { self.inner = self.inner.dry_run(input); diff --git a/sdk/ec2/src/operation/delete_internet_gateway/builders.rs b/sdk/ec2/src/operation/delete_internet_gateway/builders.rs index cf0db5ff434c..28427d2e84e1 100644 --- a/sdk/ec2/src/operation/delete_internet_gateway/builders.rs +++ b/sdk/ec2/src/operation/delete_internet_gateway/builders.rs @@ -19,9 +19,9 @@ impl DeleteInternetGatewayFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl DeleteInternetGatewayFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::delete_internet_gateway::DeleteInternetGateway, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::delete_internet_gateway::DeleteInternetGatewayError, + >, + > { + self.customize_middleware().await + } ///

                                                                      Checks whether you have the required permissions for the action, without actually making the request, and provides an error response. If you have the required permissions, the error response is DryRunOperation. Otherwise, it is UnauthorizedOperation.

                                                                      pub fn dry_run(mut self, input: bool) -> Self { self.inner = self.inner.dry_run(input); diff --git a/sdk/ec2/src/operation/delete_ipam/builders.rs b/sdk/ec2/src/operation/delete_ipam/builders.rs index 8f499668aaf5..b4311bfa4017 100644 --- a/sdk/ec2/src/operation/delete_ipam/builders.rs +++ b/sdk/ec2/src/operation/delete_ipam/builders.rs @@ -20,9 +20,9 @@ impl DeleteIpamFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -78,6 +78,20 @@ impl DeleteIpamFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::delete_ipam::DeleteIpam, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                      A check for whether you have the required permissions for the action without actually making the request and provides an error response. If you have the required permissions, the error response is DryRunOperation. Otherwise, it is UnauthorizedOperation.

                                                                      pub fn dry_run(mut self, input: bool) -> Self { self.inner = self.inner.dry_run(input); diff --git a/sdk/ec2/src/operation/delete_ipam_pool/builders.rs b/sdk/ec2/src/operation/delete_ipam_pool/builders.rs index e83c92212c28..b2973da160a1 100644 --- a/sdk/ec2/src/operation/delete_ipam_pool/builders.rs +++ b/sdk/ec2/src/operation/delete_ipam_pool/builders.rs @@ -22,9 +22,9 @@ impl DeleteIpamPoolFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -86,6 +86,22 @@ impl DeleteIpamPoolFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::delete_ipam_pool::DeleteIpamPool, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::delete_ipam_pool::DeleteIpamPoolError, + >, + > { + self.customize_middleware().await + } ///

                                                                      A check for whether you have the required permissions for the action without actually making the request and provides an error response. If you have the required permissions, the error response is DryRunOperation. Otherwise, it is UnauthorizedOperation.

                                                                      pub fn dry_run(mut self, input: bool) -> Self { self.inner = self.inner.dry_run(input); diff --git a/sdk/ec2/src/operation/delete_ipam_resource_discovery/builders.rs b/sdk/ec2/src/operation/delete_ipam_resource_discovery/builders.rs index 8e6cacd30d01..4a537d6f921c 100644 --- a/sdk/ec2/src/operation/delete_ipam_resource_discovery/builders.rs +++ b/sdk/ec2/src/operation/delete_ipam_resource_discovery/builders.rs @@ -19,9 +19,9 @@ impl DeleteIpamResourceDiscoveryFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl DeleteIpamResourceDiscoveryFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::delete_ipam_resource_discovery::DeleteIpamResourceDiscovery, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::delete_ipam_resource_discovery::DeleteIpamResourceDiscoveryError, + >, + > { + self.customize_middleware().await + } ///

                                                                      A check for whether you have the required permissions for the action without actually making the request and provides an error response. If you have the required permissions, the error response is DryRunOperation. Otherwise, it is UnauthorizedOperation.

                                                                      pub fn dry_run(mut self, input: bool) -> Self { self.inner = self.inner.dry_run(input); diff --git a/sdk/ec2/src/operation/delete_ipam_scope/builders.rs b/sdk/ec2/src/operation/delete_ipam_scope/builders.rs index f6e349a53c49..6ed0e3a6cfcc 100644 --- a/sdk/ec2/src/operation/delete_ipam_scope/builders.rs +++ b/sdk/ec2/src/operation/delete_ipam_scope/builders.rs @@ -20,9 +20,9 @@ impl DeleteIpamScopeFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -84,6 +84,22 @@ impl DeleteIpamScopeFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::delete_ipam_scope::DeleteIpamScope, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::delete_ipam_scope::DeleteIpamScopeError, + >, + > { + self.customize_middleware().await + } ///

                                                                      A check for whether you have the required permissions for the action without actually making the request and provides an error response. If you have the required permissions, the error response is DryRunOperation. Otherwise, it is UnauthorizedOperation.

                                                                      pub fn dry_run(mut self, input: bool) -> Self { self.inner = self.inner.dry_run(input); diff --git a/sdk/ec2/src/operation/delete_key_pair/builders.rs b/sdk/ec2/src/operation/delete_key_pair/builders.rs index 71659966a790..645c1700e87d 100644 --- a/sdk/ec2/src/operation/delete_key_pair/builders.rs +++ b/sdk/ec2/src/operation/delete_key_pair/builders.rs @@ -19,9 +19,9 @@ impl DeleteKeyPairFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl DeleteKeyPairFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::delete_key_pair::DeleteKeyPair, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                      The name of the key pair.

                                                                      pub fn key_name(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.key_name(input.into()); diff --git a/sdk/ec2/src/operation/delete_launch_template/builders.rs b/sdk/ec2/src/operation/delete_launch_template/builders.rs index 09d2ad9fb495..0fb1c5010526 100644 --- a/sdk/ec2/src/operation/delete_launch_template/builders.rs +++ b/sdk/ec2/src/operation/delete_launch_template/builders.rs @@ -19,9 +19,9 @@ impl DeleteLaunchTemplateFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl DeleteLaunchTemplateFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::delete_launch_template::DeleteLaunchTemplate, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::delete_launch_template::DeleteLaunchTemplateError, + >, + > { + self.customize_middleware().await + } ///

                                                                      Checks whether you have the required permissions for the action, without actually making the request, and provides an error response. If you have the required permissions, the error response is DryRunOperation. Otherwise, it is UnauthorizedOperation.

                                                                      pub fn dry_run(mut self, input: bool) -> Self { self.inner = self.inner.dry_run(input); diff --git a/sdk/ec2/src/operation/delete_launch_template_versions/builders.rs b/sdk/ec2/src/operation/delete_launch_template_versions/builders.rs index a6d28297374e..7fc0db4cff92 100644 --- a/sdk/ec2/src/operation/delete_launch_template_versions/builders.rs +++ b/sdk/ec2/src/operation/delete_launch_template_versions/builders.rs @@ -19,9 +19,9 @@ impl DeleteLaunchTemplateVersionsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl DeleteLaunchTemplateVersionsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::delete_launch_template_versions::DeleteLaunchTemplateVersions, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::delete_launch_template_versions::DeleteLaunchTemplateVersionsError, + >, + > { + self.customize_middleware().await + } ///

                                                                      Checks whether you have the required permissions for the action, without actually making the request, and provides an error response. If you have the required permissions, the error response is DryRunOperation. Otherwise, it is UnauthorizedOperation.

                                                                      pub fn dry_run(mut self, input: bool) -> Self { self.inner = self.inner.dry_run(input); diff --git a/sdk/ec2/src/operation/delete_local_gateway_route/builders.rs b/sdk/ec2/src/operation/delete_local_gateway_route/builders.rs index 6a20722401f3..2a255e5ba7a9 100644 --- a/sdk/ec2/src/operation/delete_local_gateway_route/builders.rs +++ b/sdk/ec2/src/operation/delete_local_gateway_route/builders.rs @@ -20,9 +20,9 @@ impl DeleteLocalGatewayRouteFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -84,6 +84,22 @@ impl DeleteLocalGatewayRouteFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::delete_local_gateway_route::DeleteLocalGatewayRoute, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::delete_local_gateway_route::DeleteLocalGatewayRouteError, + >, + > { + self.customize_middleware().await + } ///

                                                                      The CIDR range for the route. This must match the CIDR for the route exactly.

                                                                      pub fn destination_cidr_block( mut self, diff --git a/sdk/ec2/src/operation/delete_local_gateway_route_table/builders.rs b/sdk/ec2/src/operation/delete_local_gateway_route_table/builders.rs index dfa3df9db04e..a5108acba07b 100644 --- a/sdk/ec2/src/operation/delete_local_gateway_route_table/builders.rs +++ b/sdk/ec2/src/operation/delete_local_gateway_route_table/builders.rs @@ -19,9 +19,9 @@ impl DeleteLocalGatewayRouteTableFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl DeleteLocalGatewayRouteTableFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::delete_local_gateway_route_table::DeleteLocalGatewayRouteTable, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::delete_local_gateway_route_table::DeleteLocalGatewayRouteTableError, + >, + > { + self.customize_middleware().await + } ///

                                                                      The ID of the local gateway route table.

                                                                      pub fn local_gateway_route_table_id( mut self, diff --git a/sdk/ec2/src/operation/delete_local_gateway_route_table_virtual_interface_group_association/builders.rs b/sdk/ec2/src/operation/delete_local_gateway_route_table_virtual_interface_group_association/builders.rs index 921eeeba9c4a..7f5fd8e4c541 100644 --- a/sdk/ec2/src/operation/delete_local_gateway_route_table_virtual_interface_group_association/builders.rs +++ b/sdk/ec2/src/operation/delete_local_gateway_route_table_virtual_interface_group_association/builders.rs @@ -19,9 +19,9 @@ impl DeleteLocalGatewayRouteTableVirtualInterfaceGroupAssociationFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize(self) -> ::std::result::Result< + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware(self) -> ::std::result::Result< crate::client::customize::CustomizableOperation, ::aws_smithy_http::result::SdkError >{ @@ -64,6 +64,15 @@ impl DeleteLocalGatewayRouteTableVirtualInterfaceGroupAssociationFluentBuilder { { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize(self) -> ::std::result::Result< + crate::client::customize::CustomizableOperation, + ::aws_smithy_http::result::SdkError + >{ + self.customize_middleware().await + } ///

                                                                      The ID of the local gateway route table virtual interface group association.

                                                                      pub fn local_gateway_route_table_virtual_interface_group_association_id( mut self, diff --git a/sdk/ec2/src/operation/delete_local_gateway_route_table_vpc_association/builders.rs b/sdk/ec2/src/operation/delete_local_gateway_route_table_vpc_association/builders.rs index f3f781f01d69..9cfb0dd8c96e 100644 --- a/sdk/ec2/src/operation/delete_local_gateway_route_table_vpc_association/builders.rs +++ b/sdk/ec2/src/operation/delete_local_gateway_route_table_vpc_association/builders.rs @@ -19,9 +19,9 @@ impl DeleteLocalGatewayRouteTableVpcAssociationFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize(self) -> ::std::result::Result< + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware(self) -> ::std::result::Result< crate::client::customize::CustomizableOperation, ::aws_smithy_http::result::SdkError >{ @@ -64,6 +64,15 @@ impl DeleteLocalGatewayRouteTableVpcAssociationFluentBuilder { { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize(self) -> ::std::result::Result< + crate::client::customize::CustomizableOperation, + ::aws_smithy_http::result::SdkError + >{ + self.customize_middleware().await + } ///

                                                                      The ID of the association.

                                                                      pub fn local_gateway_route_table_vpc_association_id( mut self, diff --git a/sdk/ec2/src/operation/delete_managed_prefix_list/builders.rs b/sdk/ec2/src/operation/delete_managed_prefix_list/builders.rs index 73bae8769cc4..ce5c31b7f6f2 100644 --- a/sdk/ec2/src/operation/delete_managed_prefix_list/builders.rs +++ b/sdk/ec2/src/operation/delete_managed_prefix_list/builders.rs @@ -20,9 +20,9 @@ impl DeleteManagedPrefixListFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -84,6 +84,22 @@ impl DeleteManagedPrefixListFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::delete_managed_prefix_list::DeleteManagedPrefixList, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::delete_managed_prefix_list::DeleteManagedPrefixListError, + >, + > { + self.customize_middleware().await + } ///

                                                                      Checks whether you have the required permissions for the action, without actually making the request, and provides an error response. If you have the required permissions, the error response is DryRunOperation. Otherwise, it is UnauthorizedOperation.

                                                                      pub fn dry_run(mut self, input: bool) -> Self { self.inner = self.inner.dry_run(input); diff --git a/sdk/ec2/src/operation/delete_nat_gateway/builders.rs b/sdk/ec2/src/operation/delete_nat_gateway/builders.rs index f0a395b543a6..224808bc8263 100644 --- a/sdk/ec2/src/operation/delete_nat_gateway/builders.rs +++ b/sdk/ec2/src/operation/delete_nat_gateway/builders.rs @@ -19,9 +19,9 @@ impl DeleteNatGatewayFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl DeleteNatGatewayFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::delete_nat_gateway::DeleteNatGateway, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::delete_nat_gateway::DeleteNatGatewayError, + >, + > { + self.customize_middleware().await + } ///

                                                                      Checks whether you have the required permissions for the action, without actually making the request, and provides an error response. If you have the required permissions, the error response is DryRunOperation. Otherwise, it is UnauthorizedOperation.

                                                                      pub fn dry_run(mut self, input: bool) -> Self { self.inner = self.inner.dry_run(input); diff --git a/sdk/ec2/src/operation/delete_network_acl/builders.rs b/sdk/ec2/src/operation/delete_network_acl/builders.rs index 9c8b757bcbf8..06780c9ed157 100644 --- a/sdk/ec2/src/operation/delete_network_acl/builders.rs +++ b/sdk/ec2/src/operation/delete_network_acl/builders.rs @@ -19,9 +19,9 @@ impl DeleteNetworkAclFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl DeleteNetworkAclFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::delete_network_acl::DeleteNetworkAcl, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::delete_network_acl::DeleteNetworkAclError, + >, + > { + self.customize_middleware().await + } ///

                                                                      Checks whether you have the required permissions for the action, without actually making the request, and provides an error response. If you have the required permissions, the error response is DryRunOperation. Otherwise, it is UnauthorizedOperation.

                                                                      pub fn dry_run(mut self, input: bool) -> Self { self.inner = self.inner.dry_run(input); diff --git a/sdk/ec2/src/operation/delete_network_acl_entry/builders.rs b/sdk/ec2/src/operation/delete_network_acl_entry/builders.rs index d5713d9a0615..4fb2bfd7c495 100644 --- a/sdk/ec2/src/operation/delete_network_acl_entry/builders.rs +++ b/sdk/ec2/src/operation/delete_network_acl_entry/builders.rs @@ -19,9 +19,9 @@ impl DeleteNetworkAclEntryFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl DeleteNetworkAclEntryFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::delete_network_acl_entry::DeleteNetworkAclEntry, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::delete_network_acl_entry::DeleteNetworkAclEntryError, + >, + > { + self.customize_middleware().await + } ///

                                                                      Checks whether you have the required permissions for the action, without actually making the request, and provides an error response. If you have the required permissions, the error response is DryRunOperation. Otherwise, it is UnauthorizedOperation.

                                                                      pub fn dry_run(mut self, input: bool) -> Self { self.inner = self.inner.dry_run(input); diff --git a/sdk/ec2/src/operation/delete_network_insights_access_scope/builders.rs b/sdk/ec2/src/operation/delete_network_insights_access_scope/builders.rs index 855691a4979e..9521a468ce6d 100644 --- a/sdk/ec2/src/operation/delete_network_insights_access_scope/builders.rs +++ b/sdk/ec2/src/operation/delete_network_insights_access_scope/builders.rs @@ -19,9 +19,9 @@ impl DeleteNetworkInsightsAccessScopeFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize(self) -> ::std::result::Result< + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware(self) -> ::std::result::Result< crate::client::customize::CustomizableOperation, ::aws_smithy_http::result::SdkError >{ @@ -64,6 +64,15 @@ impl DeleteNetworkInsightsAccessScopeFluentBuilder { { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize(self) -> ::std::result::Result< + crate::client::customize::CustomizableOperation, + ::aws_smithy_http::result::SdkError + >{ + self.customize_middleware().await + } ///

                                                                      Checks whether you have the required permissions for the action, without actually making the request, and provides an error response. If you have the required permissions, the error response is DryRunOperation. Otherwise, it is UnauthorizedOperation.

                                                                      pub fn dry_run(mut self, input: bool) -> Self { self.inner = self.inner.dry_run(input); diff --git a/sdk/ec2/src/operation/delete_network_insights_access_scope_analysis/builders.rs b/sdk/ec2/src/operation/delete_network_insights_access_scope_analysis/builders.rs index 33f32616b817..6ecc402f5bd4 100644 --- a/sdk/ec2/src/operation/delete_network_insights_access_scope_analysis/builders.rs +++ b/sdk/ec2/src/operation/delete_network_insights_access_scope_analysis/builders.rs @@ -19,9 +19,9 @@ impl DeleteNetworkInsightsAccessScopeAnalysisFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize(self) -> ::std::result::Result< + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware(self) -> ::std::result::Result< crate::client::customize::CustomizableOperation, ::aws_smithy_http::result::SdkError >{ @@ -64,6 +64,15 @@ impl DeleteNetworkInsightsAccessScopeAnalysisFluentBuilder { { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize(self) -> ::std::result::Result< + crate::client::customize::CustomizableOperation, + ::aws_smithy_http::result::SdkError + >{ + self.customize_middleware().await + } ///

                                                                      The ID of the Network Access Scope analysis.

                                                                      pub fn network_insights_access_scope_analysis_id( mut self, diff --git a/sdk/ec2/src/operation/delete_network_insights_analysis/builders.rs b/sdk/ec2/src/operation/delete_network_insights_analysis/builders.rs index 4fb34ddba0ae..2c06e4d658d5 100644 --- a/sdk/ec2/src/operation/delete_network_insights_analysis/builders.rs +++ b/sdk/ec2/src/operation/delete_network_insights_analysis/builders.rs @@ -19,9 +19,9 @@ impl DeleteNetworkInsightsAnalysisFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl DeleteNetworkInsightsAnalysisFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::delete_network_insights_analysis::DeleteNetworkInsightsAnalysis, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::delete_network_insights_analysis::DeleteNetworkInsightsAnalysisError, + >, + > { + self.customize_middleware().await + } ///

                                                                      Checks whether you have the required permissions for the action, without actually making the request, and provides an error response. If you have the required permissions, the error response is DryRunOperation. Otherwise, it is UnauthorizedOperation.

                                                                      pub fn dry_run(mut self, input: bool) -> Self { self.inner = self.inner.dry_run(input); diff --git a/sdk/ec2/src/operation/delete_network_insights_path/builders.rs b/sdk/ec2/src/operation/delete_network_insights_path/builders.rs index 9133aafbee4d..bcd2f3d80c98 100644 --- a/sdk/ec2/src/operation/delete_network_insights_path/builders.rs +++ b/sdk/ec2/src/operation/delete_network_insights_path/builders.rs @@ -19,9 +19,9 @@ impl DeleteNetworkInsightsPathFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl DeleteNetworkInsightsPathFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::delete_network_insights_path::DeleteNetworkInsightsPath, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::delete_network_insights_path::DeleteNetworkInsightsPathError, + >, + > { + self.customize_middleware().await + } ///

                                                                      Checks whether you have the required permissions for the action, without actually making the request, and provides an error response. If you have the required permissions, the error response is DryRunOperation. Otherwise, it is UnauthorizedOperation.

                                                                      pub fn dry_run(mut self, input: bool) -> Self { self.inner = self.inner.dry_run(input); diff --git a/sdk/ec2/src/operation/delete_network_interface/builders.rs b/sdk/ec2/src/operation/delete_network_interface/builders.rs index 4b01acd717c6..ddc24ec0e993 100644 --- a/sdk/ec2/src/operation/delete_network_interface/builders.rs +++ b/sdk/ec2/src/operation/delete_network_interface/builders.rs @@ -19,9 +19,9 @@ impl DeleteNetworkInterfaceFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl DeleteNetworkInterfaceFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::delete_network_interface::DeleteNetworkInterface, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::delete_network_interface::DeleteNetworkInterfaceError, + >, + > { + self.customize_middleware().await + } ///

                                                                      Checks whether you have the required permissions for the action, without actually making the request, and provides an error response. If you have the required permissions, the error response is DryRunOperation. Otherwise, it is UnauthorizedOperation.

                                                                      pub fn dry_run(mut self, input: bool) -> Self { self.inner = self.inner.dry_run(input); diff --git a/sdk/ec2/src/operation/delete_network_interface_permission/builders.rs b/sdk/ec2/src/operation/delete_network_interface_permission/builders.rs index a18ef930aaf9..90dbc3ba216a 100644 --- a/sdk/ec2/src/operation/delete_network_interface_permission/builders.rs +++ b/sdk/ec2/src/operation/delete_network_interface_permission/builders.rs @@ -19,9 +19,9 @@ impl DeleteNetworkInterfacePermissionFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize(self) -> ::std::result::Result< + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware(self) -> ::std::result::Result< crate::client::customize::CustomizableOperation, ::aws_smithy_http::result::SdkError >{ @@ -64,6 +64,15 @@ impl DeleteNetworkInterfacePermissionFluentBuilder { { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize(self) -> ::std::result::Result< + crate::client::customize::CustomizableOperation, + ::aws_smithy_http::result::SdkError + >{ + self.customize_middleware().await + } ///

                                                                      The ID of the network interface permission.

                                                                      pub fn network_interface_permission_id( mut self, diff --git a/sdk/ec2/src/operation/delete_placement_group/builders.rs b/sdk/ec2/src/operation/delete_placement_group/builders.rs index 4d8f47a04faf..91274da9aa63 100644 --- a/sdk/ec2/src/operation/delete_placement_group/builders.rs +++ b/sdk/ec2/src/operation/delete_placement_group/builders.rs @@ -19,9 +19,9 @@ impl DeletePlacementGroupFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl DeletePlacementGroupFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::delete_placement_group::DeletePlacementGroup, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::delete_placement_group::DeletePlacementGroupError, + >, + > { + self.customize_middleware().await + } ///

                                                                      Checks whether you have the required permissions for the action, without actually making the request, and provides an error response. If you have the required permissions, the error response is DryRunOperation. Otherwise, it is UnauthorizedOperation.

                                                                      pub fn dry_run(mut self, input: bool) -> Self { self.inner = self.inner.dry_run(input); diff --git a/sdk/ec2/src/operation/delete_public_ipv4_pool/builders.rs b/sdk/ec2/src/operation/delete_public_ipv4_pool/builders.rs index 6a46540b230c..9b8eb6c48530 100644 --- a/sdk/ec2/src/operation/delete_public_ipv4_pool/builders.rs +++ b/sdk/ec2/src/operation/delete_public_ipv4_pool/builders.rs @@ -19,9 +19,9 @@ impl DeletePublicIpv4PoolFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl DeletePublicIpv4PoolFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::delete_public_ipv4_pool::DeletePublicIpv4Pool, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::delete_public_ipv4_pool::DeletePublicIpv4PoolError, + >, + > { + self.customize_middleware().await + } ///

                                                                      A check for whether you have the required permissions for the action without actually making the request and provides an error response. If you have the required permissions, the error response is DryRunOperation. Otherwise, it is UnauthorizedOperation.

                                                                      pub fn dry_run(mut self, input: bool) -> Self { self.inner = self.inner.dry_run(input); diff --git a/sdk/ec2/src/operation/delete_queued_reserved_instances/builders.rs b/sdk/ec2/src/operation/delete_queued_reserved_instances/builders.rs index 3651a58167cc..0ae48696a5e2 100644 --- a/sdk/ec2/src/operation/delete_queued_reserved_instances/builders.rs +++ b/sdk/ec2/src/operation/delete_queued_reserved_instances/builders.rs @@ -19,9 +19,9 @@ impl DeleteQueuedReservedInstancesFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl DeleteQueuedReservedInstancesFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::delete_queued_reserved_instances::DeleteQueuedReservedInstances, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::delete_queued_reserved_instances::DeleteQueuedReservedInstancesError, + >, + > { + self.customize_middleware().await + } ///

                                                                      Checks whether you have the required permissions for the action, without actually making the request, and provides an error response. If you have the required permissions, the error response is DryRunOperation. Otherwise, it is UnauthorizedOperation.

                                                                      pub fn dry_run(mut self, input: bool) -> Self { self.inner = self.inner.dry_run(input); diff --git a/sdk/ec2/src/operation/delete_route/builders.rs b/sdk/ec2/src/operation/delete_route/builders.rs index 16dbb0156a71..6df3a5498511 100644 --- a/sdk/ec2/src/operation/delete_route/builders.rs +++ b/sdk/ec2/src/operation/delete_route/builders.rs @@ -19,9 +19,9 @@ impl DeleteRouteFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl DeleteRouteFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::delete_route::DeleteRoute, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                      The IPv4 CIDR range for the route. The value you specify must match the CIDR for the route exactly.

                                                                      pub fn destination_cidr_block( mut self, diff --git a/sdk/ec2/src/operation/delete_route_table/builders.rs b/sdk/ec2/src/operation/delete_route_table/builders.rs index 739a850e4fd3..1ebaaaa6562f 100644 --- a/sdk/ec2/src/operation/delete_route_table/builders.rs +++ b/sdk/ec2/src/operation/delete_route_table/builders.rs @@ -19,9 +19,9 @@ impl DeleteRouteTableFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl DeleteRouteTableFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::delete_route_table::DeleteRouteTable, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::delete_route_table::DeleteRouteTableError, + >, + > { + self.customize_middleware().await + } ///

                                                                      Checks whether you have the required permissions for the action, without actually making the request, and provides an error response. If you have the required permissions, the error response is DryRunOperation. Otherwise, it is UnauthorizedOperation.

                                                                      pub fn dry_run(mut self, input: bool) -> Self { self.inner = self.inner.dry_run(input); diff --git a/sdk/ec2/src/operation/delete_security_group/builders.rs b/sdk/ec2/src/operation/delete_security_group/builders.rs index 5ac25640032a..725fbb23677e 100644 --- a/sdk/ec2/src/operation/delete_security_group/builders.rs +++ b/sdk/ec2/src/operation/delete_security_group/builders.rs @@ -22,9 +22,9 @@ impl DeleteSecurityGroupFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -86,6 +86,22 @@ impl DeleteSecurityGroupFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::delete_security_group::DeleteSecurityGroup, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::delete_security_group::DeleteSecurityGroupError, + >, + > { + self.customize_middleware().await + } ///

                                                                      The ID of the security group. Required for a nondefault VPC.

                                                                      pub fn group_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.group_id(input.into()); diff --git a/sdk/ec2/src/operation/delete_snapshot/builders.rs b/sdk/ec2/src/operation/delete_snapshot/builders.rs index 14c0e206b20a..3e450918bb35 100644 --- a/sdk/ec2/src/operation/delete_snapshot/builders.rs +++ b/sdk/ec2/src/operation/delete_snapshot/builders.rs @@ -22,9 +22,9 @@ impl DeleteSnapshotFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -80,6 +80,20 @@ impl DeleteSnapshotFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::delete_snapshot::DeleteSnapshot, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                      The ID of the EBS snapshot.

                                                                      pub fn snapshot_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.snapshot_id(input.into()); diff --git a/sdk/ec2/src/operation/delete_spot_datafeed_subscription/builders.rs b/sdk/ec2/src/operation/delete_spot_datafeed_subscription/builders.rs index a1f6322324e5..6403c9a699d7 100644 --- a/sdk/ec2/src/operation/delete_spot_datafeed_subscription/builders.rs +++ b/sdk/ec2/src/operation/delete_spot_datafeed_subscription/builders.rs @@ -19,9 +19,9 @@ impl DeleteSpotDatafeedSubscriptionFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize(self) -> ::std::result::Result< + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware(self) -> ::std::result::Result< crate::client::customize::CustomizableOperation, ::aws_smithy_http::result::SdkError >{ @@ -64,6 +64,15 @@ impl DeleteSpotDatafeedSubscriptionFluentBuilder { { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize(self) -> ::std::result::Result< + crate::client::customize::CustomizableOperation, + ::aws_smithy_http::result::SdkError + >{ + self.customize_middleware().await + } ///

                                                                      Checks whether you have the required permissions for the action, without actually making the request, and provides an error response. If you have the required permissions, the error response is DryRunOperation. Otherwise, it is UnauthorizedOperation.

                                                                      pub fn dry_run(mut self, input: bool) -> Self { self.inner = self.inner.dry_run(input); diff --git a/sdk/ec2/src/operation/delete_subnet/builders.rs b/sdk/ec2/src/operation/delete_subnet/builders.rs index 6ae5d9866dfc..415a118cce78 100644 --- a/sdk/ec2/src/operation/delete_subnet/builders.rs +++ b/sdk/ec2/src/operation/delete_subnet/builders.rs @@ -19,9 +19,9 @@ impl DeleteSubnetFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl DeleteSubnetFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::delete_subnet::DeleteSubnet, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                      The ID of the subnet.

                                                                      pub fn subnet_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.subnet_id(input.into()); diff --git a/sdk/ec2/src/operation/delete_subnet_cidr_reservation/builders.rs b/sdk/ec2/src/operation/delete_subnet_cidr_reservation/builders.rs index 30e8d9a849c1..25dd7357a896 100644 --- a/sdk/ec2/src/operation/delete_subnet_cidr_reservation/builders.rs +++ b/sdk/ec2/src/operation/delete_subnet_cidr_reservation/builders.rs @@ -19,9 +19,9 @@ impl DeleteSubnetCidrReservationFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl DeleteSubnetCidrReservationFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::delete_subnet_cidr_reservation::DeleteSubnetCidrReservation, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::delete_subnet_cidr_reservation::DeleteSubnetCidrReservationError, + >, + > { + self.customize_middleware().await + } ///

                                                                      The ID of the subnet CIDR reservation.

                                                                      pub fn subnet_cidr_reservation_id( mut self, diff --git a/sdk/ec2/src/operation/delete_tags/builders.rs b/sdk/ec2/src/operation/delete_tags/builders.rs index c3dc44fcdaf4..58d87cca0551 100644 --- a/sdk/ec2/src/operation/delete_tags/builders.rs +++ b/sdk/ec2/src/operation/delete_tags/builders.rs @@ -20,9 +20,9 @@ impl DeleteTagsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -78,6 +78,20 @@ impl DeleteTagsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::delete_tags::DeleteTags, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                      Checks whether you have the required permissions for the action, without actually making the request, and provides an error response. If you have the required permissions, the error response is DryRunOperation. Otherwise, it is UnauthorizedOperation.

                                                                      pub fn dry_run(mut self, input: bool) -> Self { self.inner = self.inner.dry_run(input); diff --git a/sdk/ec2/src/operation/delete_traffic_mirror_filter/builders.rs b/sdk/ec2/src/operation/delete_traffic_mirror_filter/builders.rs index 65e79a2dc4d7..de4abc329e6c 100644 --- a/sdk/ec2/src/operation/delete_traffic_mirror_filter/builders.rs +++ b/sdk/ec2/src/operation/delete_traffic_mirror_filter/builders.rs @@ -20,9 +20,9 @@ impl DeleteTrafficMirrorFilterFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -84,6 +84,22 @@ impl DeleteTrafficMirrorFilterFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::delete_traffic_mirror_filter::DeleteTrafficMirrorFilter, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::delete_traffic_mirror_filter::DeleteTrafficMirrorFilterError, + >, + > { + self.customize_middleware().await + } ///

                                                                      The ID of the Traffic Mirror filter.

                                                                      pub fn traffic_mirror_filter_id( mut self, diff --git a/sdk/ec2/src/operation/delete_traffic_mirror_filter_rule/builders.rs b/sdk/ec2/src/operation/delete_traffic_mirror_filter_rule/builders.rs index 302f8624e44a..fa5e8d9e1ce6 100644 --- a/sdk/ec2/src/operation/delete_traffic_mirror_filter_rule/builders.rs +++ b/sdk/ec2/src/operation/delete_traffic_mirror_filter_rule/builders.rs @@ -19,9 +19,9 @@ impl DeleteTrafficMirrorFilterRuleFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl DeleteTrafficMirrorFilterRuleFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::delete_traffic_mirror_filter_rule::DeleteTrafficMirrorFilterRule, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::delete_traffic_mirror_filter_rule::DeleteTrafficMirrorFilterRuleError, + >, + > { + self.customize_middleware().await + } ///

                                                                      The ID of the Traffic Mirror rule.

                                                                      pub fn traffic_mirror_filter_rule_id( mut self, diff --git a/sdk/ec2/src/operation/delete_traffic_mirror_session/builders.rs b/sdk/ec2/src/operation/delete_traffic_mirror_session/builders.rs index 57b97df534af..346f0da39008 100644 --- a/sdk/ec2/src/operation/delete_traffic_mirror_session/builders.rs +++ b/sdk/ec2/src/operation/delete_traffic_mirror_session/builders.rs @@ -19,9 +19,9 @@ impl DeleteTrafficMirrorSessionFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl DeleteTrafficMirrorSessionFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::delete_traffic_mirror_session::DeleteTrafficMirrorSession, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::delete_traffic_mirror_session::DeleteTrafficMirrorSessionError, + >, + > { + self.customize_middleware().await + } ///

                                                                      The ID of the Traffic Mirror session.

                                                                      pub fn traffic_mirror_session_id( mut self, diff --git a/sdk/ec2/src/operation/delete_traffic_mirror_target/builders.rs b/sdk/ec2/src/operation/delete_traffic_mirror_target/builders.rs index 80c316ec578a..0c281a18e3e0 100644 --- a/sdk/ec2/src/operation/delete_traffic_mirror_target/builders.rs +++ b/sdk/ec2/src/operation/delete_traffic_mirror_target/builders.rs @@ -20,9 +20,9 @@ impl DeleteTrafficMirrorTargetFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -84,6 +84,22 @@ impl DeleteTrafficMirrorTargetFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::delete_traffic_mirror_target::DeleteTrafficMirrorTarget, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::delete_traffic_mirror_target::DeleteTrafficMirrorTargetError, + >, + > { + self.customize_middleware().await + } ///

                                                                      The ID of the Traffic Mirror target.

                                                                      pub fn traffic_mirror_target_id( mut self, diff --git a/sdk/ec2/src/operation/delete_transit_gateway/builders.rs b/sdk/ec2/src/operation/delete_transit_gateway/builders.rs index 72dd3af679bc..d47cd314686e 100644 --- a/sdk/ec2/src/operation/delete_transit_gateway/builders.rs +++ b/sdk/ec2/src/operation/delete_transit_gateway/builders.rs @@ -19,9 +19,9 @@ impl DeleteTransitGatewayFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl DeleteTransitGatewayFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::delete_transit_gateway::DeleteTransitGateway, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::delete_transit_gateway::DeleteTransitGatewayError, + >, + > { + self.customize_middleware().await + } ///

                                                                      The ID of the transit gateway.

                                                                      pub fn transit_gateway_id( mut self, diff --git a/sdk/ec2/src/operation/delete_transit_gateway_connect/builders.rs b/sdk/ec2/src/operation/delete_transit_gateway_connect/builders.rs index 687e7674ad21..1da3893a185e 100644 --- a/sdk/ec2/src/operation/delete_transit_gateway_connect/builders.rs +++ b/sdk/ec2/src/operation/delete_transit_gateway_connect/builders.rs @@ -19,9 +19,9 @@ impl DeleteTransitGatewayConnectFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl DeleteTransitGatewayConnectFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::delete_transit_gateway_connect::DeleteTransitGatewayConnect, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::delete_transit_gateway_connect::DeleteTransitGatewayConnectError, + >, + > { + self.customize_middleware().await + } ///

                                                                      The ID of the Connect attachment.

                                                                      pub fn transit_gateway_attachment_id( mut self, diff --git a/sdk/ec2/src/operation/delete_transit_gateway_connect_peer/builders.rs b/sdk/ec2/src/operation/delete_transit_gateway_connect_peer/builders.rs index 624f79932c63..acde47c0f5f2 100644 --- a/sdk/ec2/src/operation/delete_transit_gateway_connect_peer/builders.rs +++ b/sdk/ec2/src/operation/delete_transit_gateway_connect_peer/builders.rs @@ -19,9 +19,9 @@ impl DeleteTransitGatewayConnectPeerFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize(self) -> ::std::result::Result< + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware(self) -> ::std::result::Result< crate::client::customize::CustomizableOperation, ::aws_smithy_http::result::SdkError >{ @@ -64,6 +64,15 @@ impl DeleteTransitGatewayConnectPeerFluentBuilder { { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize(self) -> ::std::result::Result< + crate::client::customize::CustomizableOperation, + ::aws_smithy_http::result::SdkError + >{ + self.customize_middleware().await + } ///

                                                                      The ID of the Connect peer.

                                                                      pub fn transit_gateway_connect_peer_id( mut self, diff --git a/sdk/ec2/src/operation/delete_transit_gateway_multicast_domain/builders.rs b/sdk/ec2/src/operation/delete_transit_gateway_multicast_domain/builders.rs index 4f6b78e65685..7e75f213a011 100644 --- a/sdk/ec2/src/operation/delete_transit_gateway_multicast_domain/builders.rs +++ b/sdk/ec2/src/operation/delete_transit_gateway_multicast_domain/builders.rs @@ -19,9 +19,9 @@ impl DeleteTransitGatewayMulticastDomainFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize(self) -> ::std::result::Result< + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware(self) -> ::std::result::Result< crate::client::customize::CustomizableOperation, ::aws_smithy_http::result::SdkError >{ @@ -64,6 +64,15 @@ impl DeleteTransitGatewayMulticastDomainFluentBuilder { { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize(self) -> ::std::result::Result< + crate::client::customize::CustomizableOperation, + ::aws_smithy_http::result::SdkError + >{ + self.customize_middleware().await + } ///

                                                                      The ID of the transit gateway multicast domain.

                                                                      pub fn transit_gateway_multicast_domain_id( mut self, diff --git a/sdk/ec2/src/operation/delete_transit_gateway_peering_attachment/builders.rs b/sdk/ec2/src/operation/delete_transit_gateway_peering_attachment/builders.rs index c29debf0a14f..07f117d01f91 100644 --- a/sdk/ec2/src/operation/delete_transit_gateway_peering_attachment/builders.rs +++ b/sdk/ec2/src/operation/delete_transit_gateway_peering_attachment/builders.rs @@ -19,9 +19,9 @@ impl DeleteTransitGatewayPeeringAttachmentFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize(self) -> ::std::result::Result< + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware(self) -> ::std::result::Result< crate::client::customize::CustomizableOperation, ::aws_smithy_http::result::SdkError >{ @@ -64,6 +64,15 @@ impl DeleteTransitGatewayPeeringAttachmentFluentBuilder { { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize(self) -> ::std::result::Result< + crate::client::customize::CustomizableOperation, + ::aws_smithy_http::result::SdkError + >{ + self.customize_middleware().await + } ///

                                                                      The ID of the transit gateway peering attachment.

                                                                      pub fn transit_gateway_attachment_id( mut self, diff --git a/sdk/ec2/src/operation/delete_transit_gateway_policy_table/builders.rs b/sdk/ec2/src/operation/delete_transit_gateway_policy_table/builders.rs index ce32c86387f7..d9013daba783 100644 --- a/sdk/ec2/src/operation/delete_transit_gateway_policy_table/builders.rs +++ b/sdk/ec2/src/operation/delete_transit_gateway_policy_table/builders.rs @@ -19,9 +19,9 @@ impl DeleteTransitGatewayPolicyTableFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize(self) -> ::std::result::Result< + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware(self) -> ::std::result::Result< crate::client::customize::CustomizableOperation, ::aws_smithy_http::result::SdkError >{ @@ -64,6 +64,15 @@ impl DeleteTransitGatewayPolicyTableFluentBuilder { { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize(self) -> ::std::result::Result< + crate::client::customize::CustomizableOperation, + ::aws_smithy_http::result::SdkError + >{ + self.customize_middleware().await + } ///

                                                                      The transit gateway policy table to delete.

                                                                      pub fn transit_gateway_policy_table_id( mut self, diff --git a/sdk/ec2/src/operation/delete_transit_gateway_prefix_list_reference/builders.rs b/sdk/ec2/src/operation/delete_transit_gateway_prefix_list_reference/builders.rs index 09db169b5b0d..4a4f2737e129 100644 --- a/sdk/ec2/src/operation/delete_transit_gateway_prefix_list_reference/builders.rs +++ b/sdk/ec2/src/operation/delete_transit_gateway_prefix_list_reference/builders.rs @@ -19,9 +19,9 @@ impl DeleteTransitGatewayPrefixListReferenceFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize(self) -> ::std::result::Result< + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware(self) -> ::std::result::Result< crate::client::customize::CustomizableOperation, ::aws_smithy_http::result::SdkError >{ @@ -64,6 +64,15 @@ impl DeleteTransitGatewayPrefixListReferenceFluentBuilder { { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize(self) -> ::std::result::Result< + crate::client::customize::CustomizableOperation, + ::aws_smithy_http::result::SdkError + >{ + self.customize_middleware().await + } ///

                                                                      The ID of the route table.

                                                                      pub fn transit_gateway_route_table_id( mut self, diff --git a/sdk/ec2/src/operation/delete_transit_gateway_route/builders.rs b/sdk/ec2/src/operation/delete_transit_gateway_route/builders.rs index 804fb41f0b0f..ce7b8f488d22 100644 --- a/sdk/ec2/src/operation/delete_transit_gateway_route/builders.rs +++ b/sdk/ec2/src/operation/delete_transit_gateway_route/builders.rs @@ -19,9 +19,9 @@ impl DeleteTransitGatewayRouteFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl DeleteTransitGatewayRouteFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::delete_transit_gateway_route::DeleteTransitGatewayRoute, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::delete_transit_gateway_route::DeleteTransitGatewayRouteError, + >, + > { + self.customize_middleware().await + } ///

                                                                      The ID of the transit gateway route table.

                                                                      pub fn transit_gateway_route_table_id( mut self, diff --git a/sdk/ec2/src/operation/delete_transit_gateway_route_table/builders.rs b/sdk/ec2/src/operation/delete_transit_gateway_route_table/builders.rs index 3a369fa7aa56..359835388114 100644 --- a/sdk/ec2/src/operation/delete_transit_gateway_route_table/builders.rs +++ b/sdk/ec2/src/operation/delete_transit_gateway_route_table/builders.rs @@ -19,9 +19,9 @@ impl DeleteTransitGatewayRouteTableFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize(self) -> ::std::result::Result< + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware(self) -> ::std::result::Result< crate::client::customize::CustomizableOperation, ::aws_smithy_http::result::SdkError >{ @@ -64,6 +64,15 @@ impl DeleteTransitGatewayRouteTableFluentBuilder { { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize(self) -> ::std::result::Result< + crate::client::customize::CustomizableOperation, + ::aws_smithy_http::result::SdkError + >{ + self.customize_middleware().await + } ///

                                                                      The ID of the transit gateway route table.

                                                                      pub fn transit_gateway_route_table_id( mut self, diff --git a/sdk/ec2/src/operation/delete_transit_gateway_route_table_announcement/builders.rs b/sdk/ec2/src/operation/delete_transit_gateway_route_table_announcement/builders.rs index 3a60ae95eb02..b92dda9c3407 100644 --- a/sdk/ec2/src/operation/delete_transit_gateway_route_table_announcement/builders.rs +++ b/sdk/ec2/src/operation/delete_transit_gateway_route_table_announcement/builders.rs @@ -19,9 +19,9 @@ impl DeleteTransitGatewayRouteTableAnnouncementFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize(self) -> ::std::result::Result< + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware(self) -> ::std::result::Result< crate::client::customize::CustomizableOperation, ::aws_smithy_http::result::SdkError >{ @@ -64,6 +64,15 @@ impl DeleteTransitGatewayRouteTableAnnouncementFluentBuilder { { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize(self) -> ::std::result::Result< + crate::client::customize::CustomizableOperation, + ::aws_smithy_http::result::SdkError + >{ + self.customize_middleware().await + } ///

                                                                      The transit gateway route table ID that's being deleted.

                                                                      pub fn transit_gateway_route_table_announcement_id( mut self, diff --git a/sdk/ec2/src/operation/delete_transit_gateway_vpc_attachment/builders.rs b/sdk/ec2/src/operation/delete_transit_gateway_vpc_attachment/builders.rs index 3fad4791e55b..ad4fdc25a725 100644 --- a/sdk/ec2/src/operation/delete_transit_gateway_vpc_attachment/builders.rs +++ b/sdk/ec2/src/operation/delete_transit_gateway_vpc_attachment/builders.rs @@ -19,9 +19,9 @@ impl DeleteTransitGatewayVpcAttachmentFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize(self) -> ::std::result::Result< + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware(self) -> ::std::result::Result< crate::client::customize::CustomizableOperation, ::aws_smithy_http::result::SdkError >{ @@ -64,6 +64,15 @@ impl DeleteTransitGatewayVpcAttachmentFluentBuilder { { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize(self) -> ::std::result::Result< + crate::client::customize::CustomizableOperation, + ::aws_smithy_http::result::SdkError + >{ + self.customize_middleware().await + } ///

                                                                      The ID of the attachment.

                                                                      pub fn transit_gateway_attachment_id( mut self, diff --git a/sdk/ec2/src/operation/delete_verified_access_endpoint/builders.rs b/sdk/ec2/src/operation/delete_verified_access_endpoint/builders.rs index 6923a34331c3..785133add2bf 100644 --- a/sdk/ec2/src/operation/delete_verified_access_endpoint/builders.rs +++ b/sdk/ec2/src/operation/delete_verified_access_endpoint/builders.rs @@ -19,9 +19,9 @@ impl DeleteVerifiedAccessEndpointFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl DeleteVerifiedAccessEndpointFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::delete_verified_access_endpoint::DeleteVerifiedAccessEndpoint, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::delete_verified_access_endpoint::DeleteVerifiedAccessEndpointError, + >, + > { + self.customize_middleware().await + } ///

                                                                      The ID of the Verified Access endpoint.

                                                                      pub fn verified_access_endpoint_id( mut self, diff --git a/sdk/ec2/src/operation/delete_verified_access_group/builders.rs b/sdk/ec2/src/operation/delete_verified_access_group/builders.rs index 83542410575d..55cbdfbd7439 100644 --- a/sdk/ec2/src/operation/delete_verified_access_group/builders.rs +++ b/sdk/ec2/src/operation/delete_verified_access_group/builders.rs @@ -19,9 +19,9 @@ impl DeleteVerifiedAccessGroupFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl DeleteVerifiedAccessGroupFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::delete_verified_access_group::DeleteVerifiedAccessGroup, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::delete_verified_access_group::DeleteVerifiedAccessGroupError, + >, + > { + self.customize_middleware().await + } ///

                                                                      The ID of the Verified Access group.

                                                                      pub fn verified_access_group_id( mut self, diff --git a/sdk/ec2/src/operation/delete_verified_access_instance/builders.rs b/sdk/ec2/src/operation/delete_verified_access_instance/builders.rs index db5f2d7ebae1..34f6d52bff5c 100644 --- a/sdk/ec2/src/operation/delete_verified_access_instance/builders.rs +++ b/sdk/ec2/src/operation/delete_verified_access_instance/builders.rs @@ -19,9 +19,9 @@ impl DeleteVerifiedAccessInstanceFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl DeleteVerifiedAccessInstanceFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::delete_verified_access_instance::DeleteVerifiedAccessInstance, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::delete_verified_access_instance::DeleteVerifiedAccessInstanceError, + >, + > { + self.customize_middleware().await + } ///

                                                                      The ID of the Verified Access instance.

                                                                      pub fn verified_access_instance_id( mut self, diff --git a/sdk/ec2/src/operation/delete_verified_access_trust_provider/builders.rs b/sdk/ec2/src/operation/delete_verified_access_trust_provider/builders.rs index 3ff6b6c033f2..7d6f916aa7d1 100644 --- a/sdk/ec2/src/operation/delete_verified_access_trust_provider/builders.rs +++ b/sdk/ec2/src/operation/delete_verified_access_trust_provider/builders.rs @@ -19,9 +19,9 @@ impl DeleteVerifiedAccessTrustProviderFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize(self) -> ::std::result::Result< + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware(self) -> ::std::result::Result< crate::client::customize::CustomizableOperation, ::aws_smithy_http::result::SdkError >{ @@ -64,6 +64,15 @@ impl DeleteVerifiedAccessTrustProviderFluentBuilder { { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize(self) -> ::std::result::Result< + crate::client::customize::CustomizableOperation, + ::aws_smithy_http::result::SdkError + >{ + self.customize_middleware().await + } ///

                                                                      The ID of the Verified Access trust provider.

                                                                      pub fn verified_access_trust_provider_id( mut self, diff --git a/sdk/ec2/src/operation/delete_volume/builders.rs b/sdk/ec2/src/operation/delete_volume/builders.rs index 3663c25617e7..018bd739d008 100644 --- a/sdk/ec2/src/operation/delete_volume/builders.rs +++ b/sdk/ec2/src/operation/delete_volume/builders.rs @@ -21,9 +21,9 @@ impl DeleteVolumeFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -79,6 +79,20 @@ impl DeleteVolumeFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::delete_volume::DeleteVolume, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                      The ID of the volume.

                                                                      pub fn volume_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.volume_id(input.into()); diff --git a/sdk/ec2/src/operation/delete_vpc/builders.rs b/sdk/ec2/src/operation/delete_vpc/builders.rs index e6d7649e58d8..078ed415ae0d 100644 --- a/sdk/ec2/src/operation/delete_vpc/builders.rs +++ b/sdk/ec2/src/operation/delete_vpc/builders.rs @@ -19,9 +19,9 @@ impl DeleteVpcFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl DeleteVpcFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::delete_vpc::DeleteVpc, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                      The ID of the VPC.

                                                                      pub fn vpc_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.vpc_id(input.into()); diff --git a/sdk/ec2/src/operation/delete_vpc_endpoint_connection_notifications/builders.rs b/sdk/ec2/src/operation/delete_vpc_endpoint_connection_notifications/builders.rs index 3fd452a7c15a..0fb5eae83b73 100644 --- a/sdk/ec2/src/operation/delete_vpc_endpoint_connection_notifications/builders.rs +++ b/sdk/ec2/src/operation/delete_vpc_endpoint_connection_notifications/builders.rs @@ -19,9 +19,9 @@ impl DeleteVpcEndpointConnectionNotificationsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize(self) -> ::std::result::Result< + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware(self) -> ::std::result::Result< crate::client::customize::CustomizableOperation, ::aws_smithy_http::result::SdkError >{ @@ -64,6 +64,15 @@ impl DeleteVpcEndpointConnectionNotificationsFluentBuilder { { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize(self) -> ::std::result::Result< + crate::client::customize::CustomizableOperation, + ::aws_smithy_http::result::SdkError + >{ + self.customize_middleware().await + } ///

                                                                      Checks whether you have the required permissions for the action, without actually making the request, and provides an error response. If you have the required permissions, the error response is DryRunOperation. Otherwise, it is UnauthorizedOperation.

                                                                      pub fn dry_run(mut self, input: bool) -> Self { self.inner = self.inner.dry_run(input); diff --git a/sdk/ec2/src/operation/delete_vpc_endpoint_service_configurations/builders.rs b/sdk/ec2/src/operation/delete_vpc_endpoint_service_configurations/builders.rs index ee0122e89cc2..7148c003b085 100644 --- a/sdk/ec2/src/operation/delete_vpc_endpoint_service_configurations/builders.rs +++ b/sdk/ec2/src/operation/delete_vpc_endpoint_service_configurations/builders.rs @@ -19,9 +19,9 @@ impl DeleteVpcEndpointServiceConfigurationsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize(self) -> ::std::result::Result< + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware(self) -> ::std::result::Result< crate::client::customize::CustomizableOperation, ::aws_smithy_http::result::SdkError >{ @@ -64,6 +64,15 @@ impl DeleteVpcEndpointServiceConfigurationsFluentBuilder { { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize(self) -> ::std::result::Result< + crate::client::customize::CustomizableOperation, + ::aws_smithy_http::result::SdkError + >{ + self.customize_middleware().await + } ///

                                                                      Checks whether you have the required permissions for the action, without actually making the request, and provides an error response. If you have the required permissions, the error response is DryRunOperation. Otherwise, it is UnauthorizedOperation.

                                                                      pub fn dry_run(mut self, input: bool) -> Self { self.inner = self.inner.dry_run(input); diff --git a/sdk/ec2/src/operation/delete_vpc_endpoints/builders.rs b/sdk/ec2/src/operation/delete_vpc_endpoints/builders.rs index 46dd988f0c8d..5e10fd27ece2 100644 --- a/sdk/ec2/src/operation/delete_vpc_endpoints/builders.rs +++ b/sdk/ec2/src/operation/delete_vpc_endpoints/builders.rs @@ -22,9 +22,9 @@ impl DeleteVpcEndpointsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -86,6 +86,22 @@ impl DeleteVpcEndpointsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::delete_vpc_endpoints::DeleteVpcEndpoints, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::delete_vpc_endpoints::DeleteVpcEndpointsError, + >, + > { + self.customize_middleware().await + } ///

                                                                      Checks whether you have the required permissions for the action, without actually making the request, and provides an error response. If you have the required permissions, the error response is DryRunOperation. Otherwise, it is UnauthorizedOperation.

                                                                      pub fn dry_run(mut self, input: bool) -> Self { self.inner = self.inner.dry_run(input); diff --git a/sdk/ec2/src/operation/delete_vpc_peering_connection/builders.rs b/sdk/ec2/src/operation/delete_vpc_peering_connection/builders.rs index 35b780224c9d..0e35cbdf5fa9 100644 --- a/sdk/ec2/src/operation/delete_vpc_peering_connection/builders.rs +++ b/sdk/ec2/src/operation/delete_vpc_peering_connection/builders.rs @@ -19,9 +19,9 @@ impl DeleteVpcPeeringConnectionFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl DeleteVpcPeeringConnectionFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::delete_vpc_peering_connection::DeleteVpcPeeringConnection, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::delete_vpc_peering_connection::DeleteVpcPeeringConnectionError, + >, + > { + self.customize_middleware().await + } ///

                                                                      Checks whether you have the required permissions for the action, without actually making the request, and provides an error response. If you have the required permissions, the error response is DryRunOperation. Otherwise, it is UnauthorizedOperation.

                                                                      pub fn dry_run(mut self, input: bool) -> Self { self.inner = self.inner.dry_run(input); diff --git a/sdk/ec2/src/operation/delete_vpn_connection/builders.rs b/sdk/ec2/src/operation/delete_vpn_connection/builders.rs index 6823209d082c..47709221e9ae 100644 --- a/sdk/ec2/src/operation/delete_vpn_connection/builders.rs +++ b/sdk/ec2/src/operation/delete_vpn_connection/builders.rs @@ -21,9 +21,9 @@ impl DeleteVpnConnectionFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -85,6 +85,22 @@ impl DeleteVpnConnectionFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::delete_vpn_connection::DeleteVpnConnection, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::delete_vpn_connection::DeleteVpnConnectionError, + >, + > { + self.customize_middleware().await + } ///

                                                                      The ID of the VPN connection.

                                                                      pub fn vpn_connection_id( mut self, diff --git a/sdk/ec2/src/operation/delete_vpn_connection_route/builders.rs b/sdk/ec2/src/operation/delete_vpn_connection_route/builders.rs index 6461a87ca35f..79dd91cba880 100644 --- a/sdk/ec2/src/operation/delete_vpn_connection_route/builders.rs +++ b/sdk/ec2/src/operation/delete_vpn_connection_route/builders.rs @@ -19,9 +19,9 @@ impl DeleteVpnConnectionRouteFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl DeleteVpnConnectionRouteFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::delete_vpn_connection_route::DeleteVpnConnectionRoute, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::delete_vpn_connection_route::DeleteVpnConnectionRouteError, + >, + > { + self.customize_middleware().await + } ///

                                                                      The CIDR block associated with the local subnet of the customer network.

                                                                      pub fn destination_cidr_block( mut self, diff --git a/sdk/ec2/src/operation/delete_vpn_gateway/builders.rs b/sdk/ec2/src/operation/delete_vpn_gateway/builders.rs index 5319ca30a670..da943e2c52b6 100644 --- a/sdk/ec2/src/operation/delete_vpn_gateway/builders.rs +++ b/sdk/ec2/src/operation/delete_vpn_gateway/builders.rs @@ -19,9 +19,9 @@ impl DeleteVpnGatewayFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl DeleteVpnGatewayFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::delete_vpn_gateway::DeleteVpnGateway, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::delete_vpn_gateway::DeleteVpnGatewayError, + >, + > { + self.customize_middleware().await + } ///

                                                                      The ID of the virtual private gateway.

                                                                      pub fn vpn_gateway_id( mut self, diff --git a/sdk/ec2/src/operation/deprovision_byoip_cidr/builders.rs b/sdk/ec2/src/operation/deprovision_byoip_cidr/builders.rs index 03d2112bbe9f..de50a217f922 100644 --- a/sdk/ec2/src/operation/deprovision_byoip_cidr/builders.rs +++ b/sdk/ec2/src/operation/deprovision_byoip_cidr/builders.rs @@ -20,9 +20,9 @@ impl DeprovisionByoipCidrFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -84,6 +84,22 @@ impl DeprovisionByoipCidrFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::deprovision_byoip_cidr::DeprovisionByoipCidr, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::deprovision_byoip_cidr::DeprovisionByoipCidrError, + >, + > { + self.customize_middleware().await + } ///

                                                                      The address range, in CIDR notation. The prefix must be the same prefix that you specified when you provisioned the address range.

                                                                      pub fn cidr(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.cidr(input.into()); diff --git a/sdk/ec2/src/operation/deprovision_ipam_pool_cidr/builders.rs b/sdk/ec2/src/operation/deprovision_ipam_pool_cidr/builders.rs index d6ad1047e4af..dabe419dd4ae 100644 --- a/sdk/ec2/src/operation/deprovision_ipam_pool_cidr/builders.rs +++ b/sdk/ec2/src/operation/deprovision_ipam_pool_cidr/builders.rs @@ -20,9 +20,9 @@ impl DeprovisionIpamPoolCidrFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -84,6 +84,22 @@ impl DeprovisionIpamPoolCidrFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::deprovision_ipam_pool_cidr::DeprovisionIpamPoolCidr, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::deprovision_ipam_pool_cidr::DeprovisionIpamPoolCidrError, + >, + > { + self.customize_middleware().await + } ///

                                                                      A check for whether you have the required permissions for the action without actually making the request and provides an error response. If you have the required permissions, the error response is DryRunOperation. Otherwise, it is UnauthorizedOperation.

                                                                      pub fn dry_run(mut self, input: bool) -> Self { self.inner = self.inner.dry_run(input); diff --git a/sdk/ec2/src/operation/deprovision_public_ipv4_pool_cidr/builders.rs b/sdk/ec2/src/operation/deprovision_public_ipv4_pool_cidr/builders.rs index 2fc86a0d5cbf..4aceca829220 100644 --- a/sdk/ec2/src/operation/deprovision_public_ipv4_pool_cidr/builders.rs +++ b/sdk/ec2/src/operation/deprovision_public_ipv4_pool_cidr/builders.rs @@ -19,9 +19,9 @@ impl DeprovisionPublicIpv4PoolCidrFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl DeprovisionPublicIpv4PoolCidrFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::deprovision_public_ipv4_pool_cidr::DeprovisionPublicIpv4PoolCidr, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::deprovision_public_ipv4_pool_cidr::DeprovisionPublicIpv4PoolCidrError, + >, + > { + self.customize_middleware().await + } ///

                                                                      A check for whether you have the required permissions for the action without actually making the request and provides an error response. If you have the required permissions, the error response is DryRunOperation. Otherwise, it is UnauthorizedOperation.

                                                                      pub fn dry_run(mut self, input: bool) -> Self { self.inner = self.inner.dry_run(input); diff --git a/sdk/ec2/src/operation/deregister_image/builders.rs b/sdk/ec2/src/operation/deregister_image/builders.rs index e065f9610e4d..7d2c12a51d7d 100644 --- a/sdk/ec2/src/operation/deregister_image/builders.rs +++ b/sdk/ec2/src/operation/deregister_image/builders.rs @@ -22,9 +22,9 @@ impl DeregisterImageFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -86,6 +86,22 @@ impl DeregisterImageFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::deregister_image::DeregisterImage, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::deregister_image::DeregisterImageError, + >, + > { + self.customize_middleware().await + } ///

                                                                      The ID of the AMI.

                                                                      pub fn image_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.image_id(input.into()); diff --git a/sdk/ec2/src/operation/deregister_instance_event_notification_attributes/builders.rs b/sdk/ec2/src/operation/deregister_instance_event_notification_attributes/builders.rs index 953c87ea915b..544f7bb05e5d 100644 --- a/sdk/ec2/src/operation/deregister_instance_event_notification_attributes/builders.rs +++ b/sdk/ec2/src/operation/deregister_instance_event_notification_attributes/builders.rs @@ -19,9 +19,9 @@ impl DeregisterInstanceEventNotificationAttributesFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize(self) -> ::std::result::Result< + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware(self) -> ::std::result::Result< crate::client::customize::CustomizableOperation, ::aws_smithy_http::result::SdkError >{ @@ -64,6 +64,15 @@ impl DeregisterInstanceEventNotificationAttributesFluentBuilder { { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize(self) -> ::std::result::Result< + crate::client::customize::CustomizableOperation, + ::aws_smithy_http::result::SdkError + >{ + self.customize_middleware().await + } ///

                                                                      Checks whether you have the required permissions for the action, without actually making the request, and provides an error response. If you have the required permissions, the error response is DryRunOperation. Otherwise, it is UnauthorizedOperation.

                                                                      pub fn dry_run(mut self, input: bool) -> Self { self.inner = self.inner.dry_run(input); diff --git a/sdk/ec2/src/operation/deregister_transit_gateway_multicast_group_members/builders.rs b/sdk/ec2/src/operation/deregister_transit_gateway_multicast_group_members/builders.rs index 9d4f69d54eee..a2d02a50da82 100644 --- a/sdk/ec2/src/operation/deregister_transit_gateway_multicast_group_members/builders.rs +++ b/sdk/ec2/src/operation/deregister_transit_gateway_multicast_group_members/builders.rs @@ -19,9 +19,9 @@ impl DeregisterTransitGatewayMulticastGroupMembersFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize(self) -> ::std::result::Result< + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware(self) -> ::std::result::Result< crate::client::customize::CustomizableOperation, ::aws_smithy_http::result::SdkError >{ @@ -64,6 +64,15 @@ impl DeregisterTransitGatewayMulticastGroupMembersFluentBuilder { { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize(self) -> ::std::result::Result< + crate::client::customize::CustomizableOperation, + ::aws_smithy_http::result::SdkError + >{ + self.customize_middleware().await + } ///

                                                                      The ID of the transit gateway multicast domain.

                                                                      pub fn transit_gateway_multicast_domain_id( mut self, diff --git a/sdk/ec2/src/operation/deregister_transit_gateway_multicast_group_sources/builders.rs b/sdk/ec2/src/operation/deregister_transit_gateway_multicast_group_sources/builders.rs index 202d8a77fd8c..b9744f546a5c 100644 --- a/sdk/ec2/src/operation/deregister_transit_gateway_multicast_group_sources/builders.rs +++ b/sdk/ec2/src/operation/deregister_transit_gateway_multicast_group_sources/builders.rs @@ -19,9 +19,9 @@ impl DeregisterTransitGatewayMulticastGroupSourcesFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize(self) -> ::std::result::Result< + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware(self) -> ::std::result::Result< crate::client::customize::CustomizableOperation, ::aws_smithy_http::result::SdkError >{ @@ -64,6 +64,15 @@ impl DeregisterTransitGatewayMulticastGroupSourcesFluentBuilder { { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize(self) -> ::std::result::Result< + crate::client::customize::CustomizableOperation, + ::aws_smithy_http::result::SdkError + >{ + self.customize_middleware().await + } ///

                                                                      The ID of the transit gateway multicast domain.

                                                                      pub fn transit_gateway_multicast_domain_id( mut self, diff --git a/sdk/ec2/src/operation/describe_account_attributes/builders.rs b/sdk/ec2/src/operation/describe_account_attributes/builders.rs index e1c7ded3de6b..e50ad6497a42 100644 --- a/sdk/ec2/src/operation/describe_account_attributes/builders.rs +++ b/sdk/ec2/src/operation/describe_account_attributes/builders.rs @@ -29,9 +29,9 @@ impl DescribeAccountAttributesFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -93,6 +93,22 @@ impl DescribeAccountAttributesFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::describe_account_attributes::DescribeAccountAttributes, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::describe_account_attributes::DescribeAccountAttributesError, + >, + > { + self.customize_middleware().await + } /// Appends an item to `AttributeNames`. /// /// To override the contents of this collection use [`set_attribute_names`](Self::set_attribute_names). diff --git a/sdk/ec2/src/operation/describe_address_transfers/builders.rs b/sdk/ec2/src/operation/describe_address_transfers/builders.rs index fa6fae05e1c9..1860dc2ecf04 100644 --- a/sdk/ec2/src/operation/describe_address_transfers/builders.rs +++ b/sdk/ec2/src/operation/describe_address_transfers/builders.rs @@ -19,9 +19,9 @@ impl DescribeAddressTransfersFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl DescribeAddressTransfersFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::describe_address_transfers::DescribeAddressTransfers, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::describe_address_transfers::DescribeAddressTransfersError, + >, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::describe_address_transfers::paginator::DescribeAddressTransfersPaginator::send) which returns a `Stream`. diff --git a/sdk/ec2/src/operation/describe_addresses/builders.rs b/sdk/ec2/src/operation/describe_addresses/builders.rs index caa5f50154c0..a219e7105ec1 100644 --- a/sdk/ec2/src/operation/describe_addresses/builders.rs +++ b/sdk/ec2/src/operation/describe_addresses/builders.rs @@ -22,9 +22,9 @@ impl DescribeAddressesFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -86,6 +86,22 @@ impl DescribeAddressesFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::describe_addresses::DescribeAddresses, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::describe_addresses::DescribeAddressesError, + >, + > { + self.customize_middleware().await + } /// Appends an item to `Filters`. /// /// To override the contents of this collection use [`set_filters`](Self::set_filters). diff --git a/sdk/ec2/src/operation/describe_addresses_attribute/builders.rs b/sdk/ec2/src/operation/describe_addresses_attribute/builders.rs index 0d946da298e8..d3ef448558ea 100644 --- a/sdk/ec2/src/operation/describe_addresses_attribute/builders.rs +++ b/sdk/ec2/src/operation/describe_addresses_attribute/builders.rs @@ -19,9 +19,9 @@ impl DescribeAddressesAttributeFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl DescribeAddressesAttributeFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::describe_addresses_attribute::DescribeAddressesAttribute, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::describe_addresses_attribute::DescribeAddressesAttributeError, + >, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::describe_addresses_attribute::paginator::DescribeAddressesAttributePaginator::send) which returns a `Stream`. diff --git a/sdk/ec2/src/operation/describe_aggregate_id_format/builders.rs b/sdk/ec2/src/operation/describe_aggregate_id_format/builders.rs index 79cbeefab16b..0fdd54a1a3c6 100644 --- a/sdk/ec2/src/operation/describe_aggregate_id_format/builders.rs +++ b/sdk/ec2/src/operation/describe_aggregate_id_format/builders.rs @@ -21,9 +21,9 @@ impl DescribeAggregateIdFormatFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -85,6 +85,22 @@ impl DescribeAggregateIdFormatFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::describe_aggregate_id_format::DescribeAggregateIdFormat, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::describe_aggregate_id_format::DescribeAggregateIdFormatError, + >, + > { + self.customize_middleware().await + } ///

                                                                      Checks whether you have the required permissions for the action, without actually making the request, and provides an error response. If you have the required permissions, the error response is DryRunOperation. Otherwise, it is UnauthorizedOperation.

                                                                      pub fn dry_run(mut self, input: bool) -> Self { self.inner = self.inner.dry_run(input); diff --git a/sdk/ec2/src/operation/describe_availability_zones/builders.rs b/sdk/ec2/src/operation/describe_availability_zones/builders.rs index 776df4a9492c..c579fa07c115 100644 --- a/sdk/ec2/src/operation/describe_availability_zones/builders.rs +++ b/sdk/ec2/src/operation/describe_availability_zones/builders.rs @@ -20,9 +20,9 @@ impl DescribeAvailabilityZonesFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -84,6 +84,22 @@ impl DescribeAvailabilityZonesFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::describe_availability_zones::DescribeAvailabilityZones, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::describe_availability_zones::DescribeAvailabilityZonesError, + >, + > { + self.customize_middleware().await + } /// Appends an item to `Filters`. /// /// To override the contents of this collection use [`set_filters`](Self::set_filters). diff --git a/sdk/ec2/src/operation/describe_aws_network_performance_metric_subscriptions/builders.rs b/sdk/ec2/src/operation/describe_aws_network_performance_metric_subscriptions/builders.rs index aade9eb88e3e..eb360bbcc409 100644 --- a/sdk/ec2/src/operation/describe_aws_network_performance_metric_subscriptions/builders.rs +++ b/sdk/ec2/src/operation/describe_aws_network_performance_metric_subscriptions/builders.rs @@ -19,9 +19,9 @@ impl DescribeAwsNetworkPerformanceMetricSubscriptionsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize(self) -> ::std::result::Result< + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware(self) -> ::std::result::Result< crate::client::customize::CustomizableOperation, ::aws_smithy_http::result::SdkError >{ @@ -64,6 +64,15 @@ impl DescribeAwsNetworkPerformanceMetricSubscriptionsFluentBuilder { { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize(self) -> ::std::result::Result< + crate::client::customize::CustomizableOperation, + ::aws_smithy_http::result::SdkError + >{ + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::describe_aws_network_performance_metric_subscriptions::paginator::DescribeAwsNetworkPerformanceMetricSubscriptionsPaginator::send) which returns a `Stream`. diff --git a/sdk/ec2/src/operation/describe_bundle_tasks/builders.rs b/sdk/ec2/src/operation/describe_bundle_tasks/builders.rs index 39a2dcce82b6..1e05a534b5a4 100644 --- a/sdk/ec2/src/operation/describe_bundle_tasks/builders.rs +++ b/sdk/ec2/src/operation/describe_bundle_tasks/builders.rs @@ -21,9 +21,9 @@ impl DescribeBundleTasksFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -85,6 +85,22 @@ impl DescribeBundleTasksFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::describe_bundle_tasks::DescribeBundleTasks, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::describe_bundle_tasks::DescribeBundleTasksError, + >, + > { + self.customize_middleware().await + } /// Appends an item to `BundleIds`. /// /// To override the contents of this collection use [`set_bundle_ids`](Self::set_bundle_ids). diff --git a/sdk/ec2/src/operation/describe_byoip_cidrs/builders.rs b/sdk/ec2/src/operation/describe_byoip_cidrs/builders.rs index 21539e02d852..37db7e38cb5b 100644 --- a/sdk/ec2/src/operation/describe_byoip_cidrs/builders.rs +++ b/sdk/ec2/src/operation/describe_byoip_cidrs/builders.rs @@ -20,9 +20,9 @@ impl DescribeByoipCidrsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -84,6 +84,22 @@ impl DescribeByoipCidrsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::describe_byoip_cidrs::DescribeByoipCidrs, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::describe_byoip_cidrs::DescribeByoipCidrsError, + >, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::describe_byoip_cidrs::paginator::DescribeByoipCidrsPaginator::send) which returns a `Stream`. diff --git a/sdk/ec2/src/operation/describe_capacity_reservation_fleets/builders.rs b/sdk/ec2/src/operation/describe_capacity_reservation_fleets/builders.rs index f79e10f4506b..8d7b0dccaed7 100644 --- a/sdk/ec2/src/operation/describe_capacity_reservation_fleets/builders.rs +++ b/sdk/ec2/src/operation/describe_capacity_reservation_fleets/builders.rs @@ -19,9 +19,9 @@ impl DescribeCapacityReservationFleetsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize(self) -> ::std::result::Result< + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware(self) -> ::std::result::Result< crate::client::customize::CustomizableOperation, ::aws_smithy_http::result::SdkError >{ @@ -64,6 +64,15 @@ impl DescribeCapacityReservationFleetsFluentBuilder { { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize(self) -> ::std::result::Result< + crate::client::customize::CustomizableOperation, + ::aws_smithy_http::result::SdkError + >{ + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::describe_capacity_reservation_fleets::paginator::DescribeCapacityReservationFleetsPaginator::send) which returns a `Stream`. diff --git a/sdk/ec2/src/operation/describe_capacity_reservations/builders.rs b/sdk/ec2/src/operation/describe_capacity_reservations/builders.rs index 505292e3743e..c923348b4dc1 100644 --- a/sdk/ec2/src/operation/describe_capacity_reservations/builders.rs +++ b/sdk/ec2/src/operation/describe_capacity_reservations/builders.rs @@ -19,9 +19,9 @@ impl DescribeCapacityReservationsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl DescribeCapacityReservationsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::describe_capacity_reservations::DescribeCapacityReservations, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::describe_capacity_reservations::DescribeCapacityReservationsError, + >, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::describe_capacity_reservations::paginator::DescribeCapacityReservationsPaginator::send) which returns a `Stream`. diff --git a/sdk/ec2/src/operation/describe_carrier_gateways/builders.rs b/sdk/ec2/src/operation/describe_carrier_gateways/builders.rs index fe71b4353510..143036de666f 100644 --- a/sdk/ec2/src/operation/describe_carrier_gateways/builders.rs +++ b/sdk/ec2/src/operation/describe_carrier_gateways/builders.rs @@ -20,9 +20,9 @@ impl DescribeCarrierGatewaysFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -84,6 +84,22 @@ impl DescribeCarrierGatewaysFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::describe_carrier_gateways::DescribeCarrierGateways, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::describe_carrier_gateways::DescribeCarrierGatewaysError, + >, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::describe_carrier_gateways::paginator::DescribeCarrierGatewaysPaginator::send) which returns a `Stream`. diff --git a/sdk/ec2/src/operation/describe_classic_link_instances/builders.rs b/sdk/ec2/src/operation/describe_classic_link_instances/builders.rs index 0fd8af8e961c..22e8e96d1a3d 100644 --- a/sdk/ec2/src/operation/describe_classic_link_instances/builders.rs +++ b/sdk/ec2/src/operation/describe_classic_link_instances/builders.rs @@ -21,9 +21,9 @@ impl DescribeClassicLinkInstancesFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -85,6 +85,22 @@ impl DescribeClassicLinkInstancesFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::describe_classic_link_instances::DescribeClassicLinkInstances, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::describe_classic_link_instances::DescribeClassicLinkInstancesError, + >, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::describe_classic_link_instances::paginator::DescribeClassicLinkInstancesPaginator::send) which returns a `Stream`. diff --git a/sdk/ec2/src/operation/describe_client_vpn_authorization_rules/builders.rs b/sdk/ec2/src/operation/describe_client_vpn_authorization_rules/builders.rs index e762c80ed95a..dda34d8139ff 100644 --- a/sdk/ec2/src/operation/describe_client_vpn_authorization_rules/builders.rs +++ b/sdk/ec2/src/operation/describe_client_vpn_authorization_rules/builders.rs @@ -19,9 +19,9 @@ impl DescribeClientVpnAuthorizationRulesFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize(self) -> ::std::result::Result< + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware(self) -> ::std::result::Result< crate::client::customize::CustomizableOperation, ::aws_smithy_http::result::SdkError >{ @@ -64,6 +64,15 @@ impl DescribeClientVpnAuthorizationRulesFluentBuilder { { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize(self) -> ::std::result::Result< + crate::client::customize::CustomizableOperation, + ::aws_smithy_http::result::SdkError + >{ + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::describe_client_vpn_authorization_rules::paginator::DescribeClientVpnAuthorizationRulesPaginator::send) which returns a `Stream`. diff --git a/sdk/ec2/src/operation/describe_client_vpn_connections/builders.rs b/sdk/ec2/src/operation/describe_client_vpn_connections/builders.rs index aca7efa50d12..0a5c34e18759 100644 --- a/sdk/ec2/src/operation/describe_client_vpn_connections/builders.rs +++ b/sdk/ec2/src/operation/describe_client_vpn_connections/builders.rs @@ -19,9 +19,9 @@ impl DescribeClientVpnConnectionsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl DescribeClientVpnConnectionsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::describe_client_vpn_connections::DescribeClientVpnConnections, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::describe_client_vpn_connections::DescribeClientVpnConnectionsError, + >, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::describe_client_vpn_connections::paginator::DescribeClientVpnConnectionsPaginator::send) which returns a `Stream`. diff --git a/sdk/ec2/src/operation/describe_client_vpn_endpoints/builders.rs b/sdk/ec2/src/operation/describe_client_vpn_endpoints/builders.rs index 718c269de937..5f1c24d251aa 100644 --- a/sdk/ec2/src/operation/describe_client_vpn_endpoints/builders.rs +++ b/sdk/ec2/src/operation/describe_client_vpn_endpoints/builders.rs @@ -19,9 +19,9 @@ impl DescribeClientVpnEndpointsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl DescribeClientVpnEndpointsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::describe_client_vpn_endpoints::DescribeClientVpnEndpoints, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::describe_client_vpn_endpoints::DescribeClientVpnEndpointsError, + >, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::describe_client_vpn_endpoints::paginator::DescribeClientVpnEndpointsPaginator::send) which returns a `Stream`. diff --git a/sdk/ec2/src/operation/describe_client_vpn_routes/builders.rs b/sdk/ec2/src/operation/describe_client_vpn_routes/builders.rs index 2c0e36e129d1..e10826164697 100644 --- a/sdk/ec2/src/operation/describe_client_vpn_routes/builders.rs +++ b/sdk/ec2/src/operation/describe_client_vpn_routes/builders.rs @@ -20,9 +20,9 @@ impl DescribeClientVpnRoutesFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -84,6 +84,22 @@ impl DescribeClientVpnRoutesFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::describe_client_vpn_routes::DescribeClientVpnRoutes, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::describe_client_vpn_routes::DescribeClientVpnRoutesError, + >, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::describe_client_vpn_routes::paginator::DescribeClientVpnRoutesPaginator::send) which returns a `Stream`. diff --git a/sdk/ec2/src/operation/describe_client_vpn_target_networks/builders.rs b/sdk/ec2/src/operation/describe_client_vpn_target_networks/builders.rs index 1bda2c7ad726..59b78efbfd9b 100644 --- a/sdk/ec2/src/operation/describe_client_vpn_target_networks/builders.rs +++ b/sdk/ec2/src/operation/describe_client_vpn_target_networks/builders.rs @@ -19,9 +19,9 @@ impl DescribeClientVpnTargetNetworksFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize(self) -> ::std::result::Result< + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware(self) -> ::std::result::Result< crate::client::customize::CustomizableOperation, ::aws_smithy_http::result::SdkError >{ @@ -64,6 +64,15 @@ impl DescribeClientVpnTargetNetworksFluentBuilder { { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize(self) -> ::std::result::Result< + crate::client::customize::CustomizableOperation, + ::aws_smithy_http::result::SdkError + >{ + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::describe_client_vpn_target_networks::paginator::DescribeClientVpnTargetNetworksPaginator::send) which returns a `Stream`. diff --git a/sdk/ec2/src/operation/describe_coip_pools/builders.rs b/sdk/ec2/src/operation/describe_coip_pools/builders.rs index 839decaca337..4896666f1814 100644 --- a/sdk/ec2/src/operation/describe_coip_pools/builders.rs +++ b/sdk/ec2/src/operation/describe_coip_pools/builders.rs @@ -19,9 +19,9 @@ impl DescribeCoipPoolsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl DescribeCoipPoolsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::describe_coip_pools::DescribeCoipPools, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::describe_coip_pools::DescribeCoipPoolsError, + >, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::describe_coip_pools::paginator::DescribeCoipPoolsPaginator::send) which returns a `Stream`. diff --git a/sdk/ec2/src/operation/describe_conversion_tasks/builders.rs b/sdk/ec2/src/operation/describe_conversion_tasks/builders.rs index 58a7ea9d6eb5..35ca624dd478 100644 --- a/sdk/ec2/src/operation/describe_conversion_tasks/builders.rs +++ b/sdk/ec2/src/operation/describe_conversion_tasks/builders.rs @@ -21,9 +21,9 @@ impl DescribeConversionTasksFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -85,6 +85,22 @@ impl DescribeConversionTasksFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::describe_conversion_tasks::DescribeConversionTasks, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::describe_conversion_tasks::DescribeConversionTasksError, + >, + > { + self.customize_middleware().await + } /// Appends an item to `ConversionTaskIds`. /// /// To override the contents of this collection use [`set_conversion_task_ids`](Self::set_conversion_task_ids). diff --git a/sdk/ec2/src/operation/describe_customer_gateways/builders.rs b/sdk/ec2/src/operation/describe_customer_gateways/builders.rs index ef4276c5801f..5742b393f6eb 100644 --- a/sdk/ec2/src/operation/describe_customer_gateways/builders.rs +++ b/sdk/ec2/src/operation/describe_customer_gateways/builders.rs @@ -20,9 +20,9 @@ impl DescribeCustomerGatewaysFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -84,6 +84,22 @@ impl DescribeCustomerGatewaysFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::describe_customer_gateways::DescribeCustomerGateways, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::describe_customer_gateways::DescribeCustomerGatewaysError, + >, + > { + self.customize_middleware().await + } /// Appends an item to `CustomerGatewayIds`. /// /// To override the contents of this collection use [`set_customer_gateway_ids`](Self::set_customer_gateway_ids). diff --git a/sdk/ec2/src/operation/describe_dhcp_options/builders.rs b/sdk/ec2/src/operation/describe_dhcp_options/builders.rs index 699360eeccc0..e519d7135aea 100644 --- a/sdk/ec2/src/operation/describe_dhcp_options/builders.rs +++ b/sdk/ec2/src/operation/describe_dhcp_options/builders.rs @@ -20,9 +20,9 @@ impl DescribeDhcpOptionsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -84,6 +84,22 @@ impl DescribeDhcpOptionsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::describe_dhcp_options::DescribeDhcpOptions, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::describe_dhcp_options::DescribeDhcpOptionsError, + >, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::describe_dhcp_options::paginator::DescribeDhcpOptionsPaginator::send) which returns a `Stream`. diff --git a/sdk/ec2/src/operation/describe_egress_only_internet_gateways/builders.rs b/sdk/ec2/src/operation/describe_egress_only_internet_gateways/builders.rs index 936263e3f23f..f2b0a1e6c0ce 100644 --- a/sdk/ec2/src/operation/describe_egress_only_internet_gateways/builders.rs +++ b/sdk/ec2/src/operation/describe_egress_only_internet_gateways/builders.rs @@ -19,9 +19,9 @@ impl DescribeEgressOnlyInternetGatewaysFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize(self) -> ::std::result::Result< + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware(self) -> ::std::result::Result< crate::client::customize::CustomizableOperation, ::aws_smithy_http::result::SdkError >{ @@ -64,6 +64,15 @@ impl DescribeEgressOnlyInternetGatewaysFluentBuilder { { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize(self) -> ::std::result::Result< + crate::client::customize::CustomizableOperation, + ::aws_smithy_http::result::SdkError + >{ + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::describe_egress_only_internet_gateways::paginator::DescribeEgressOnlyInternetGatewaysPaginator::send) which returns a `Stream`. diff --git a/sdk/ec2/src/operation/describe_elastic_gpus/builders.rs b/sdk/ec2/src/operation/describe_elastic_gpus/builders.rs index 62fbec84e756..462e65a667cf 100644 --- a/sdk/ec2/src/operation/describe_elastic_gpus/builders.rs +++ b/sdk/ec2/src/operation/describe_elastic_gpus/builders.rs @@ -19,9 +19,9 @@ impl DescribeElasticGpusFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl DescribeElasticGpusFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::describe_elastic_gpus::DescribeElasticGpus, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::describe_elastic_gpus::DescribeElasticGpusError, + >, + > { + self.customize_middleware().await + } /// Appends an item to `ElasticGpuIds`. /// /// To override the contents of this collection use [`set_elastic_gpu_ids`](Self::set_elastic_gpu_ids). diff --git a/sdk/ec2/src/operation/describe_export_image_tasks/builders.rs b/sdk/ec2/src/operation/describe_export_image_tasks/builders.rs index 5889cb295832..15dffbc4ec95 100644 --- a/sdk/ec2/src/operation/describe_export_image_tasks/builders.rs +++ b/sdk/ec2/src/operation/describe_export_image_tasks/builders.rs @@ -19,9 +19,9 @@ impl DescribeExportImageTasksFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl DescribeExportImageTasksFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::describe_export_image_tasks::DescribeExportImageTasks, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::describe_export_image_tasks::DescribeExportImageTasksError, + >, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::describe_export_image_tasks::paginator::DescribeExportImageTasksPaginator::send) which returns a `Stream`. diff --git a/sdk/ec2/src/operation/describe_export_tasks/builders.rs b/sdk/ec2/src/operation/describe_export_tasks/builders.rs index a81949bb8efe..a68970e85f15 100644 --- a/sdk/ec2/src/operation/describe_export_tasks/builders.rs +++ b/sdk/ec2/src/operation/describe_export_tasks/builders.rs @@ -19,9 +19,9 @@ impl DescribeExportTasksFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl DescribeExportTasksFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::describe_export_tasks::DescribeExportTasks, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::describe_export_tasks::DescribeExportTasksError, + >, + > { + self.customize_middleware().await + } /// Appends an item to `ExportTaskIds`. /// /// To override the contents of this collection use [`set_export_task_ids`](Self::set_export_task_ids). diff --git a/sdk/ec2/src/operation/describe_fast_launch_images/builders.rs b/sdk/ec2/src/operation/describe_fast_launch_images/builders.rs index 649b5930d3dc..04d0025b4e41 100644 --- a/sdk/ec2/src/operation/describe_fast_launch_images/builders.rs +++ b/sdk/ec2/src/operation/describe_fast_launch_images/builders.rs @@ -19,9 +19,9 @@ impl DescribeFastLaunchImagesFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl DescribeFastLaunchImagesFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::describe_fast_launch_images::DescribeFastLaunchImages, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::describe_fast_launch_images::DescribeFastLaunchImagesError, + >, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::describe_fast_launch_images::paginator::DescribeFastLaunchImagesPaginator::send) which returns a `Stream`. diff --git a/sdk/ec2/src/operation/describe_fast_snapshot_restores/builders.rs b/sdk/ec2/src/operation/describe_fast_snapshot_restores/builders.rs index d5830c4a1a6e..e43bf3502fc6 100644 --- a/sdk/ec2/src/operation/describe_fast_snapshot_restores/builders.rs +++ b/sdk/ec2/src/operation/describe_fast_snapshot_restores/builders.rs @@ -19,9 +19,9 @@ impl DescribeFastSnapshotRestoresFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl DescribeFastSnapshotRestoresFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::describe_fast_snapshot_restores::DescribeFastSnapshotRestores, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::describe_fast_snapshot_restores::DescribeFastSnapshotRestoresError, + >, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::describe_fast_snapshot_restores::paginator::DescribeFastSnapshotRestoresPaginator::send) which returns a `Stream`. diff --git a/sdk/ec2/src/operation/describe_fleet_history/builders.rs b/sdk/ec2/src/operation/describe_fleet_history/builders.rs index e7e4e538d67e..1e5c1c862440 100644 --- a/sdk/ec2/src/operation/describe_fleet_history/builders.rs +++ b/sdk/ec2/src/operation/describe_fleet_history/builders.rs @@ -21,9 +21,9 @@ impl DescribeFleetHistoryFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -85,6 +85,22 @@ impl DescribeFleetHistoryFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::describe_fleet_history::DescribeFleetHistory, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::describe_fleet_history::DescribeFleetHistoryError, + >, + > { + self.customize_middleware().await + } ///

                                                                      Checks whether you have the required permissions for the action, without actually making the request, and provides an error response. If you have the required permissions, the error response is DryRunOperation. Otherwise, it is UnauthorizedOperation.

                                                                      pub fn dry_run(mut self, input: bool) -> Self { self.inner = self.inner.dry_run(input); diff --git a/sdk/ec2/src/operation/describe_fleet_instances/builders.rs b/sdk/ec2/src/operation/describe_fleet_instances/builders.rs index dd29b17c9e21..7e3b2f0b6838 100644 --- a/sdk/ec2/src/operation/describe_fleet_instances/builders.rs +++ b/sdk/ec2/src/operation/describe_fleet_instances/builders.rs @@ -20,9 +20,9 @@ impl DescribeFleetInstancesFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -84,6 +84,22 @@ impl DescribeFleetInstancesFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::describe_fleet_instances::DescribeFleetInstances, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::describe_fleet_instances::DescribeFleetInstancesError, + >, + > { + self.customize_middleware().await + } ///

                                                                      Checks whether you have the required permissions for the action, without actually making the request, and provides an error response. If you have the required permissions, the error response is DryRunOperation. Otherwise, it is UnauthorizedOperation.

                                                                      pub fn dry_run(mut self, input: bool) -> Self { self.inner = self.inner.dry_run(input); diff --git a/sdk/ec2/src/operation/describe_fleets/builders.rs b/sdk/ec2/src/operation/describe_fleets/builders.rs index ea9178a29ce9..b4424f31ee91 100644 --- a/sdk/ec2/src/operation/describe_fleets/builders.rs +++ b/sdk/ec2/src/operation/describe_fleets/builders.rs @@ -20,9 +20,9 @@ impl DescribeFleetsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -78,6 +78,20 @@ impl DescribeFleetsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::describe_fleets::DescribeFleets, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::describe_fleets::paginator::DescribeFleetsPaginator::send) which returns a `Stream`. diff --git a/sdk/ec2/src/operation/describe_flow_logs/builders.rs b/sdk/ec2/src/operation/describe_flow_logs/builders.rs index fa91c90eedd3..3926ba95092f 100644 --- a/sdk/ec2/src/operation/describe_flow_logs/builders.rs +++ b/sdk/ec2/src/operation/describe_flow_logs/builders.rs @@ -20,9 +20,9 @@ impl DescribeFlowLogsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -84,6 +84,22 @@ impl DescribeFlowLogsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::describe_flow_logs::DescribeFlowLogs, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::describe_flow_logs::DescribeFlowLogsError, + >, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::describe_flow_logs::paginator::DescribeFlowLogsPaginator::send) which returns a `Stream`. diff --git a/sdk/ec2/src/operation/describe_fpga_image_attribute/builders.rs b/sdk/ec2/src/operation/describe_fpga_image_attribute/builders.rs index 5392d27d032a..bc934d06b6fa 100644 --- a/sdk/ec2/src/operation/describe_fpga_image_attribute/builders.rs +++ b/sdk/ec2/src/operation/describe_fpga_image_attribute/builders.rs @@ -19,9 +19,9 @@ impl DescribeFpgaImageAttributeFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl DescribeFpgaImageAttributeFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::describe_fpga_image_attribute::DescribeFpgaImageAttribute, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::describe_fpga_image_attribute::DescribeFpgaImageAttributeError, + >, + > { + self.customize_middleware().await + } ///

                                                                      Checks whether you have the required permissions for the action, without actually making the request, and provides an error response. If you have the required permissions, the error response is DryRunOperation. Otherwise, it is UnauthorizedOperation.

                                                                      pub fn dry_run(mut self, input: bool) -> Self { self.inner = self.inner.dry_run(input); diff --git a/sdk/ec2/src/operation/describe_fpga_images/builders.rs b/sdk/ec2/src/operation/describe_fpga_images/builders.rs index 9e81bfac3c20..aad39a947495 100644 --- a/sdk/ec2/src/operation/describe_fpga_images/builders.rs +++ b/sdk/ec2/src/operation/describe_fpga_images/builders.rs @@ -19,9 +19,9 @@ impl DescribeFpgaImagesFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl DescribeFpgaImagesFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::describe_fpga_images::DescribeFpgaImages, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::describe_fpga_images::DescribeFpgaImagesError, + >, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::describe_fpga_images::paginator::DescribeFpgaImagesPaginator::send) which returns a `Stream`. diff --git a/sdk/ec2/src/operation/describe_host_reservation_offerings/builders.rs b/sdk/ec2/src/operation/describe_host_reservation_offerings/builders.rs index 3fe8dd216c8b..6d0e92bc8aad 100644 --- a/sdk/ec2/src/operation/describe_host_reservation_offerings/builders.rs +++ b/sdk/ec2/src/operation/describe_host_reservation_offerings/builders.rs @@ -20,9 +20,9 @@ impl DescribeHostReservationOfferingsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize(self) -> ::std::result::Result< + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware(self) -> ::std::result::Result< crate::client::customize::CustomizableOperation, ::aws_smithy_http::result::SdkError >{ @@ -65,6 +65,15 @@ impl DescribeHostReservationOfferingsFluentBuilder { { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize(self) -> ::std::result::Result< + crate::client::customize::CustomizableOperation, + ::aws_smithy_http::result::SdkError + >{ + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::describe_host_reservation_offerings::paginator::DescribeHostReservationOfferingsPaginator::send) which returns a `Stream`. diff --git a/sdk/ec2/src/operation/describe_host_reservations/builders.rs b/sdk/ec2/src/operation/describe_host_reservations/builders.rs index a2de8c990aef..5b48b937f115 100644 --- a/sdk/ec2/src/operation/describe_host_reservations/builders.rs +++ b/sdk/ec2/src/operation/describe_host_reservations/builders.rs @@ -19,9 +19,9 @@ impl DescribeHostReservationsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl DescribeHostReservationsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::describe_host_reservations::DescribeHostReservations, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::describe_host_reservations::DescribeHostReservationsError, + >, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::describe_host_reservations::paginator::DescribeHostReservationsPaginator::send) which returns a `Stream`. diff --git a/sdk/ec2/src/operation/describe_hosts/builders.rs b/sdk/ec2/src/operation/describe_hosts/builders.rs index 101c7f306d30..bd2118b1a819 100644 --- a/sdk/ec2/src/operation/describe_hosts/builders.rs +++ b/sdk/ec2/src/operation/describe_hosts/builders.rs @@ -20,9 +20,9 @@ impl DescribeHostsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -78,6 +78,20 @@ impl DescribeHostsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::describe_hosts::DescribeHosts, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::describe_hosts::paginator::DescribeHostsPaginator::send) which returns a `Stream`. diff --git a/sdk/ec2/src/operation/describe_iam_instance_profile_associations/builders.rs b/sdk/ec2/src/operation/describe_iam_instance_profile_associations/builders.rs index e51614ce27dc..d7f04bfc697a 100644 --- a/sdk/ec2/src/operation/describe_iam_instance_profile_associations/builders.rs +++ b/sdk/ec2/src/operation/describe_iam_instance_profile_associations/builders.rs @@ -19,9 +19,9 @@ impl DescribeIamInstanceProfileAssociationsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize(self) -> ::std::result::Result< + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware(self) -> ::std::result::Result< crate::client::customize::CustomizableOperation, ::aws_smithy_http::result::SdkError >{ @@ -64,6 +64,15 @@ impl DescribeIamInstanceProfileAssociationsFluentBuilder { { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize(self) -> ::std::result::Result< + crate::client::customize::CustomizableOperation, + ::aws_smithy_http::result::SdkError + >{ + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::describe_iam_instance_profile_associations::paginator::DescribeIamInstanceProfileAssociationsPaginator::send) which returns a `Stream`. diff --git a/sdk/ec2/src/operation/describe_id_format/builders.rs b/sdk/ec2/src/operation/describe_id_format/builders.rs index 2e498569d158..3252078a9634 100644 --- a/sdk/ec2/src/operation/describe_id_format/builders.rs +++ b/sdk/ec2/src/operation/describe_id_format/builders.rs @@ -21,9 +21,9 @@ impl DescribeIdFormatFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -85,6 +85,22 @@ impl DescribeIdFormatFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::describe_id_format::DescribeIdFormat, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::describe_id_format::DescribeIdFormatError, + >, + > { + self.customize_middleware().await + } ///

                                                                      The type of resource: bundle | conversion-task | customer-gateway | dhcp-options | elastic-ip-allocation | elastic-ip-association | export-task | flow-log | image | import-task | instance | internet-gateway | network-acl | network-acl-association | network-interface | network-interface-attachment | prefix-list | reservation | route-table | route-table-association | security-group | snapshot | subnet | subnet-cidr-block-association | volume | vpc | vpc-cidr-block-association | vpc-endpoint | vpc-peering-connection | vpn-connection | vpn-gateway

                                                                      pub fn resource(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.resource(input.into()); diff --git a/sdk/ec2/src/operation/describe_identity_id_format/builders.rs b/sdk/ec2/src/operation/describe_identity_id_format/builders.rs index 5dcb846c4363..a06501c31c8c 100644 --- a/sdk/ec2/src/operation/describe_identity_id_format/builders.rs +++ b/sdk/ec2/src/operation/describe_identity_id_format/builders.rs @@ -21,9 +21,9 @@ impl DescribeIdentityIdFormatFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -85,6 +85,22 @@ impl DescribeIdentityIdFormatFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::describe_identity_id_format::DescribeIdentityIdFormat, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::describe_identity_id_format::DescribeIdentityIdFormatError, + >, + > { + self.customize_middleware().await + } ///

                                                                      The ARN of the principal, which can be an IAM role, IAM user, or the root user.

                                                                      pub fn principal_arn( mut self, diff --git a/sdk/ec2/src/operation/describe_image_attribute/builders.rs b/sdk/ec2/src/operation/describe_image_attribute/builders.rs index bffbd404ed63..2cb1bccc3c53 100644 --- a/sdk/ec2/src/operation/describe_image_attribute/builders.rs +++ b/sdk/ec2/src/operation/describe_image_attribute/builders.rs @@ -19,9 +19,9 @@ impl DescribeImageAttributeFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl DescribeImageAttributeFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::describe_image_attribute::DescribeImageAttribute, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::describe_image_attribute::DescribeImageAttributeError, + >, + > { + self.customize_middleware().await + } ///

                                                                      The AMI attribute.

                                                                      ///

                                                                      Note: The blockDeviceMapping attribute is deprecated. Using this attribute returns the Client.AuthFailure error. To get information about the block device mappings for an AMI, use the DescribeImages action.

                                                                      pub fn attribute(mut self, input: crate::types::ImageAttributeName) -> Self { diff --git a/sdk/ec2/src/operation/describe_images/builders.rs b/sdk/ec2/src/operation/describe_images/builders.rs index ee105a49edc0..fafcefe33ddb 100644 --- a/sdk/ec2/src/operation/describe_images/builders.rs +++ b/sdk/ec2/src/operation/describe_images/builders.rs @@ -21,9 +21,9 @@ impl DescribeImagesFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -79,6 +79,20 @@ impl DescribeImagesFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::describe_images::DescribeImages, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::describe_images::paginator::DescribeImagesPaginator::send) which returns a `Stream`. diff --git a/sdk/ec2/src/operation/describe_import_image_tasks/builders.rs b/sdk/ec2/src/operation/describe_import_image_tasks/builders.rs index 56f068195c25..53e95493e90a 100644 --- a/sdk/ec2/src/operation/describe_import_image_tasks/builders.rs +++ b/sdk/ec2/src/operation/describe_import_image_tasks/builders.rs @@ -19,9 +19,9 @@ impl DescribeImportImageTasksFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl DescribeImportImageTasksFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::describe_import_image_tasks::DescribeImportImageTasks, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::describe_import_image_tasks::DescribeImportImageTasksError, + >, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::describe_import_image_tasks::paginator::DescribeImportImageTasksPaginator::send) which returns a `Stream`. diff --git a/sdk/ec2/src/operation/describe_import_snapshot_tasks/builders.rs b/sdk/ec2/src/operation/describe_import_snapshot_tasks/builders.rs index 09d4ce91378c..890b6dfdf2e9 100644 --- a/sdk/ec2/src/operation/describe_import_snapshot_tasks/builders.rs +++ b/sdk/ec2/src/operation/describe_import_snapshot_tasks/builders.rs @@ -19,9 +19,9 @@ impl DescribeImportSnapshotTasksFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl DescribeImportSnapshotTasksFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::describe_import_snapshot_tasks::DescribeImportSnapshotTasks, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::describe_import_snapshot_tasks::DescribeImportSnapshotTasksError, + >, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::describe_import_snapshot_tasks::paginator::DescribeImportSnapshotTasksPaginator::send) which returns a `Stream`. diff --git a/sdk/ec2/src/operation/describe_instance_attribute/builders.rs b/sdk/ec2/src/operation/describe_instance_attribute/builders.rs index a0804b1d1ab1..8a9500137719 100644 --- a/sdk/ec2/src/operation/describe_instance_attribute/builders.rs +++ b/sdk/ec2/src/operation/describe_instance_attribute/builders.rs @@ -19,9 +19,9 @@ impl DescribeInstanceAttributeFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl DescribeInstanceAttributeFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::describe_instance_attribute::DescribeInstanceAttribute, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::describe_instance_attribute::DescribeInstanceAttributeError, + >, + > { + self.customize_middleware().await + } ///

                                                                      The instance attribute.

                                                                      ///

                                                                      Note: The enaSupport attribute is not supported at this time.

                                                                      pub fn attribute(mut self, input: crate::types::InstanceAttributeName) -> Self { diff --git a/sdk/ec2/src/operation/describe_instance_credit_specifications/builders.rs b/sdk/ec2/src/operation/describe_instance_credit_specifications/builders.rs index 4112127043a4..bcd86a9e23d6 100644 --- a/sdk/ec2/src/operation/describe_instance_credit_specifications/builders.rs +++ b/sdk/ec2/src/operation/describe_instance_credit_specifications/builders.rs @@ -24,9 +24,9 @@ impl DescribeInstanceCreditSpecificationsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize(self) -> ::std::result::Result< + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware(self) -> ::std::result::Result< crate::client::customize::CustomizableOperation, ::aws_smithy_http::result::SdkError >{ @@ -69,6 +69,15 @@ impl DescribeInstanceCreditSpecificationsFluentBuilder { { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize(self) -> ::std::result::Result< + crate::client::customize::CustomizableOperation, + ::aws_smithy_http::result::SdkError + >{ + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::describe_instance_credit_specifications::paginator::DescribeInstanceCreditSpecificationsPaginator::send) which returns a `Stream`. diff --git a/sdk/ec2/src/operation/describe_instance_event_notification_attributes/builders.rs b/sdk/ec2/src/operation/describe_instance_event_notification_attributes/builders.rs index 6d402d9035d3..c545a4440f24 100644 --- a/sdk/ec2/src/operation/describe_instance_event_notification_attributes/builders.rs +++ b/sdk/ec2/src/operation/describe_instance_event_notification_attributes/builders.rs @@ -19,9 +19,9 @@ impl DescribeInstanceEventNotificationAttributesFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize(self) -> ::std::result::Result< + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware(self) -> ::std::result::Result< crate::client::customize::CustomizableOperation, ::aws_smithy_http::result::SdkError >{ @@ -64,6 +64,15 @@ impl DescribeInstanceEventNotificationAttributesFluentBuilder { { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize(self) -> ::std::result::Result< + crate::client::customize::CustomizableOperation, + ::aws_smithy_http::result::SdkError + >{ + self.customize_middleware().await + } ///

                                                                      Checks whether you have the required permissions for the action, without actually making the request, and provides an error response. If you have the required permissions, the error response is DryRunOperation. Otherwise, it is UnauthorizedOperation.

                                                                      pub fn dry_run(mut self, input: bool) -> Self { self.inner = self.inner.dry_run(input); diff --git a/sdk/ec2/src/operation/describe_instance_event_windows/builders.rs b/sdk/ec2/src/operation/describe_instance_event_windows/builders.rs index 14822f4c0733..833b482a2379 100644 --- a/sdk/ec2/src/operation/describe_instance_event_windows/builders.rs +++ b/sdk/ec2/src/operation/describe_instance_event_windows/builders.rs @@ -21,9 +21,9 @@ impl DescribeInstanceEventWindowsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -85,6 +85,22 @@ impl DescribeInstanceEventWindowsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::describe_instance_event_windows::DescribeInstanceEventWindows, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::describe_instance_event_windows::DescribeInstanceEventWindowsError, + >, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::describe_instance_event_windows::paginator::DescribeInstanceEventWindowsPaginator::send) which returns a `Stream`. diff --git a/sdk/ec2/src/operation/describe_instance_status/builders.rs b/sdk/ec2/src/operation/describe_instance_status/builders.rs index bcdfd8939363..8d97c8f16b63 100644 --- a/sdk/ec2/src/operation/describe_instance_status/builders.rs +++ b/sdk/ec2/src/operation/describe_instance_status/builders.rs @@ -25,9 +25,9 @@ impl DescribeInstanceStatusFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -89,6 +89,22 @@ impl DescribeInstanceStatusFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::describe_instance_status::DescribeInstanceStatus, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::describe_instance_status::DescribeInstanceStatusError, + >, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::describe_instance_status::paginator::DescribeInstanceStatusPaginator::send) which returns a `Stream`. diff --git a/sdk/ec2/src/operation/describe_instance_type_offerings/builders.rs b/sdk/ec2/src/operation/describe_instance_type_offerings/builders.rs index 55e7f264331f..557d9b11bf63 100644 --- a/sdk/ec2/src/operation/describe_instance_type_offerings/builders.rs +++ b/sdk/ec2/src/operation/describe_instance_type_offerings/builders.rs @@ -19,9 +19,9 @@ impl DescribeInstanceTypeOfferingsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl DescribeInstanceTypeOfferingsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::describe_instance_type_offerings::DescribeInstanceTypeOfferings, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::describe_instance_type_offerings::DescribeInstanceTypeOfferingsError, + >, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::describe_instance_type_offerings::paginator::DescribeInstanceTypeOfferingsPaginator::send) which returns a `Stream`. diff --git a/sdk/ec2/src/operation/describe_instance_types/builders.rs b/sdk/ec2/src/operation/describe_instance_types/builders.rs index ef81ee4b15c3..bb22c3d6f9c0 100644 --- a/sdk/ec2/src/operation/describe_instance_types/builders.rs +++ b/sdk/ec2/src/operation/describe_instance_types/builders.rs @@ -19,9 +19,9 @@ impl DescribeInstanceTypesFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl DescribeInstanceTypesFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::describe_instance_types::DescribeInstanceTypes, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::describe_instance_types::DescribeInstanceTypesError, + >, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::describe_instance_types::paginator::DescribeInstanceTypesPaginator::send) which returns a `Stream`. diff --git a/sdk/ec2/src/operation/describe_instances/builders.rs b/sdk/ec2/src/operation/describe_instances/builders.rs index 6dd690be0fff..9e49c28639c4 100644 --- a/sdk/ec2/src/operation/describe_instances/builders.rs +++ b/sdk/ec2/src/operation/describe_instances/builders.rs @@ -23,9 +23,9 @@ impl DescribeInstancesFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -87,6 +87,22 @@ impl DescribeInstancesFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::describe_instances::DescribeInstances, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::describe_instances::DescribeInstancesError, + >, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::describe_instances::paginator::DescribeInstancesPaginator::send) which returns a `Stream`. diff --git a/sdk/ec2/src/operation/describe_internet_gateways/builders.rs b/sdk/ec2/src/operation/describe_internet_gateways/builders.rs index ba79f770a788..8f8077298409 100644 --- a/sdk/ec2/src/operation/describe_internet_gateways/builders.rs +++ b/sdk/ec2/src/operation/describe_internet_gateways/builders.rs @@ -19,9 +19,9 @@ impl DescribeInternetGatewaysFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl DescribeInternetGatewaysFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::describe_internet_gateways::DescribeInternetGateways, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::describe_internet_gateways::DescribeInternetGatewaysError, + >, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::describe_internet_gateways::paginator::DescribeInternetGatewaysPaginator::send) which returns a `Stream`. diff --git a/sdk/ec2/src/operation/describe_ipam_pools/builders.rs b/sdk/ec2/src/operation/describe_ipam_pools/builders.rs index 22c9260f1fe5..5e3e8004cb87 100644 --- a/sdk/ec2/src/operation/describe_ipam_pools/builders.rs +++ b/sdk/ec2/src/operation/describe_ipam_pools/builders.rs @@ -19,9 +19,9 @@ impl DescribeIpamPoolsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl DescribeIpamPoolsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::describe_ipam_pools::DescribeIpamPools, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::describe_ipam_pools::DescribeIpamPoolsError, + >, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::describe_ipam_pools::paginator::DescribeIpamPoolsPaginator::send) which returns a `Stream`. diff --git a/sdk/ec2/src/operation/describe_ipam_resource_discoveries/builders.rs b/sdk/ec2/src/operation/describe_ipam_resource_discoveries/builders.rs index 743c878b7244..ab302fc41078 100644 --- a/sdk/ec2/src/operation/describe_ipam_resource_discoveries/builders.rs +++ b/sdk/ec2/src/operation/describe_ipam_resource_discoveries/builders.rs @@ -19,9 +19,9 @@ impl DescribeIpamResourceDiscoveriesFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize(self) -> ::std::result::Result< + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware(self) -> ::std::result::Result< crate::client::customize::CustomizableOperation, ::aws_smithy_http::result::SdkError >{ @@ -64,6 +64,15 @@ impl DescribeIpamResourceDiscoveriesFluentBuilder { { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize(self) -> ::std::result::Result< + crate::client::customize::CustomizableOperation, + ::aws_smithy_http::result::SdkError + >{ + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::describe_ipam_resource_discoveries::paginator::DescribeIpamResourceDiscoveriesPaginator::send) which returns a `Stream`. diff --git a/sdk/ec2/src/operation/describe_ipam_resource_discovery_associations/builders.rs b/sdk/ec2/src/operation/describe_ipam_resource_discovery_associations/builders.rs index 0cd457f75f57..a3d99fa217a8 100644 --- a/sdk/ec2/src/operation/describe_ipam_resource_discovery_associations/builders.rs +++ b/sdk/ec2/src/operation/describe_ipam_resource_discovery_associations/builders.rs @@ -19,9 +19,9 @@ impl DescribeIpamResourceDiscoveryAssociationsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize(self) -> ::std::result::Result< + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware(self) -> ::std::result::Result< crate::client::customize::CustomizableOperation, ::aws_smithy_http::result::SdkError >{ @@ -64,6 +64,15 @@ impl DescribeIpamResourceDiscoveryAssociationsFluentBuilder { { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize(self) -> ::std::result::Result< + crate::client::customize::CustomizableOperation, + ::aws_smithy_http::result::SdkError + >{ + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::describe_ipam_resource_discovery_associations::paginator::DescribeIpamResourceDiscoveryAssociationsPaginator::send) which returns a `Stream`. diff --git a/sdk/ec2/src/operation/describe_ipam_scopes/builders.rs b/sdk/ec2/src/operation/describe_ipam_scopes/builders.rs index 7d8cf0c5998b..e238f1e95631 100644 --- a/sdk/ec2/src/operation/describe_ipam_scopes/builders.rs +++ b/sdk/ec2/src/operation/describe_ipam_scopes/builders.rs @@ -19,9 +19,9 @@ impl DescribeIpamScopesFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl DescribeIpamScopesFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::describe_ipam_scopes::DescribeIpamScopes, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::describe_ipam_scopes::DescribeIpamScopesError, + >, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::describe_ipam_scopes::paginator::DescribeIpamScopesPaginator::send) which returns a `Stream`. diff --git a/sdk/ec2/src/operation/describe_ipams/builders.rs b/sdk/ec2/src/operation/describe_ipams/builders.rs index 211653d7acff..d122dd04c19c 100644 --- a/sdk/ec2/src/operation/describe_ipams/builders.rs +++ b/sdk/ec2/src/operation/describe_ipams/builders.rs @@ -20,9 +20,9 @@ impl DescribeIpamsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -78,6 +78,20 @@ impl DescribeIpamsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::describe_ipams::DescribeIpams, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::describe_ipams::paginator::DescribeIpamsPaginator::send) which returns a `Stream`. diff --git a/sdk/ec2/src/operation/describe_ipv6_pools/builders.rs b/sdk/ec2/src/operation/describe_ipv6_pools/builders.rs index 3d2804e2ec5f..5096716b4df0 100644 --- a/sdk/ec2/src/operation/describe_ipv6_pools/builders.rs +++ b/sdk/ec2/src/operation/describe_ipv6_pools/builders.rs @@ -19,9 +19,9 @@ impl DescribeIpv6PoolsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl DescribeIpv6PoolsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::describe_ipv6_pools::DescribeIpv6Pools, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::describe_ipv6_pools::DescribeIpv6PoolsError, + >, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::describe_ipv6_pools::paginator::DescribeIpv6PoolsPaginator::send) which returns a `Stream`. diff --git a/sdk/ec2/src/operation/describe_key_pairs/builders.rs b/sdk/ec2/src/operation/describe_key_pairs/builders.rs index c82135b7a5ee..4a23dedfaef4 100644 --- a/sdk/ec2/src/operation/describe_key_pairs/builders.rs +++ b/sdk/ec2/src/operation/describe_key_pairs/builders.rs @@ -20,9 +20,9 @@ impl DescribeKeyPairsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -84,6 +84,22 @@ impl DescribeKeyPairsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::describe_key_pairs::DescribeKeyPairs, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::describe_key_pairs::DescribeKeyPairsError, + >, + > { + self.customize_middleware().await + } /// Appends an item to `Filters`. /// /// To override the contents of this collection use [`set_filters`](Self::set_filters). diff --git a/sdk/ec2/src/operation/describe_launch_template_versions/builders.rs b/sdk/ec2/src/operation/describe_launch_template_versions/builders.rs index d31cc5a7a6ab..891fa12b1f7b 100644 --- a/sdk/ec2/src/operation/describe_launch_template_versions/builders.rs +++ b/sdk/ec2/src/operation/describe_launch_template_versions/builders.rs @@ -19,9 +19,9 @@ impl DescribeLaunchTemplateVersionsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize(self) -> ::std::result::Result< + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware(self) -> ::std::result::Result< crate::client::customize::CustomizableOperation, ::aws_smithy_http::result::SdkError >{ @@ -64,6 +64,15 @@ impl DescribeLaunchTemplateVersionsFluentBuilder { { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize(self) -> ::std::result::Result< + crate::client::customize::CustomizableOperation, + ::aws_smithy_http::result::SdkError + >{ + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::describe_launch_template_versions::paginator::DescribeLaunchTemplateVersionsPaginator::send) which returns a `Stream`. diff --git a/sdk/ec2/src/operation/describe_launch_templates/builders.rs b/sdk/ec2/src/operation/describe_launch_templates/builders.rs index d74d6488865d..0f1fecc26034 100644 --- a/sdk/ec2/src/operation/describe_launch_templates/builders.rs +++ b/sdk/ec2/src/operation/describe_launch_templates/builders.rs @@ -20,9 +20,9 @@ impl DescribeLaunchTemplatesFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -84,6 +84,22 @@ impl DescribeLaunchTemplatesFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::describe_launch_templates::DescribeLaunchTemplates, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::describe_launch_templates::DescribeLaunchTemplatesError, + >, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::describe_launch_templates::paginator::DescribeLaunchTemplatesPaginator::send) which returns a `Stream`. diff --git a/sdk/ec2/src/operation/describe_local_gateway_route_table_virtual_interface_group_associations/builders.rs b/sdk/ec2/src/operation/describe_local_gateway_route_table_virtual_interface_group_associations/builders.rs index 8f345179180f..b525117a33c0 100644 --- a/sdk/ec2/src/operation/describe_local_gateway_route_table_virtual_interface_group_associations/builders.rs +++ b/sdk/ec2/src/operation/describe_local_gateway_route_table_virtual_interface_group_associations/builders.rs @@ -19,9 +19,9 @@ impl DescribeLocalGatewayRouteTableVirtualInterfaceGroupAssociationsFluentBuilde inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize(self) -> ::std::result::Result< + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware(self) -> ::std::result::Result< crate::client::customize::CustomizableOperation, ::aws_smithy_http::result::SdkError >{ @@ -64,6 +64,15 @@ impl DescribeLocalGatewayRouteTableVirtualInterfaceGroupAssociationsFluentBuilde { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize(self) -> ::std::result::Result< + crate::client::customize::CustomizableOperation, + ::aws_smithy_http::result::SdkError + >{ + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::describe_local_gateway_route_table_virtual_interface_group_associations::paginator::DescribeLocalGatewayRouteTableVirtualInterfaceGroupAssociationsPaginator::send) which returns a `Stream`. diff --git a/sdk/ec2/src/operation/describe_local_gateway_route_table_vpc_associations/builders.rs b/sdk/ec2/src/operation/describe_local_gateway_route_table_vpc_associations/builders.rs index 560108f3e8f1..39a0520ccb38 100644 --- a/sdk/ec2/src/operation/describe_local_gateway_route_table_vpc_associations/builders.rs +++ b/sdk/ec2/src/operation/describe_local_gateway_route_table_vpc_associations/builders.rs @@ -19,9 +19,9 @@ impl DescribeLocalGatewayRouteTableVpcAssociationsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize(self) -> ::std::result::Result< + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware(self) -> ::std::result::Result< crate::client::customize::CustomizableOperation, ::aws_smithy_http::result::SdkError >{ @@ -64,6 +64,15 @@ impl DescribeLocalGatewayRouteTableVpcAssociationsFluentBuilder { { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize(self) -> ::std::result::Result< + crate::client::customize::CustomizableOperation, + ::aws_smithy_http::result::SdkError + >{ + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::describe_local_gateway_route_table_vpc_associations::paginator::DescribeLocalGatewayRouteTableVpcAssociationsPaginator::send) which returns a `Stream`. diff --git a/sdk/ec2/src/operation/describe_local_gateway_route_tables/builders.rs b/sdk/ec2/src/operation/describe_local_gateway_route_tables/builders.rs index f38d0566e176..57014eeb1137 100644 --- a/sdk/ec2/src/operation/describe_local_gateway_route_tables/builders.rs +++ b/sdk/ec2/src/operation/describe_local_gateway_route_tables/builders.rs @@ -19,9 +19,9 @@ impl DescribeLocalGatewayRouteTablesFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize(self) -> ::std::result::Result< + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware(self) -> ::std::result::Result< crate::client::customize::CustomizableOperation, ::aws_smithy_http::result::SdkError >{ @@ -64,6 +64,15 @@ impl DescribeLocalGatewayRouteTablesFluentBuilder { { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize(self) -> ::std::result::Result< + crate::client::customize::CustomizableOperation, + ::aws_smithy_http::result::SdkError + >{ + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::describe_local_gateway_route_tables::paginator::DescribeLocalGatewayRouteTablesPaginator::send) which returns a `Stream`. diff --git a/sdk/ec2/src/operation/describe_local_gateway_virtual_interface_groups/builders.rs b/sdk/ec2/src/operation/describe_local_gateway_virtual_interface_groups/builders.rs index f5620f803bb6..8eb6694a45af 100644 --- a/sdk/ec2/src/operation/describe_local_gateway_virtual_interface_groups/builders.rs +++ b/sdk/ec2/src/operation/describe_local_gateway_virtual_interface_groups/builders.rs @@ -19,9 +19,9 @@ impl DescribeLocalGatewayVirtualInterfaceGroupsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize(self) -> ::std::result::Result< + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware(self) -> ::std::result::Result< crate::client::customize::CustomizableOperation, ::aws_smithy_http::result::SdkError >{ @@ -64,6 +64,15 @@ impl DescribeLocalGatewayVirtualInterfaceGroupsFluentBuilder { { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize(self) -> ::std::result::Result< + crate::client::customize::CustomizableOperation, + ::aws_smithy_http::result::SdkError + >{ + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::describe_local_gateway_virtual_interface_groups::paginator::DescribeLocalGatewayVirtualInterfaceGroupsPaginator::send) which returns a `Stream`. diff --git a/sdk/ec2/src/operation/describe_local_gateway_virtual_interfaces/builders.rs b/sdk/ec2/src/operation/describe_local_gateway_virtual_interfaces/builders.rs index b8c3a5ebd711..cfcd188e43e6 100644 --- a/sdk/ec2/src/operation/describe_local_gateway_virtual_interfaces/builders.rs +++ b/sdk/ec2/src/operation/describe_local_gateway_virtual_interfaces/builders.rs @@ -19,9 +19,9 @@ impl DescribeLocalGatewayVirtualInterfacesFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize(self) -> ::std::result::Result< + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware(self) -> ::std::result::Result< crate::client::customize::CustomizableOperation, ::aws_smithy_http::result::SdkError >{ @@ -64,6 +64,15 @@ impl DescribeLocalGatewayVirtualInterfacesFluentBuilder { { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize(self) -> ::std::result::Result< + crate::client::customize::CustomizableOperation, + ::aws_smithy_http::result::SdkError + >{ + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::describe_local_gateway_virtual_interfaces::paginator::DescribeLocalGatewayVirtualInterfacesPaginator::send) which returns a `Stream`. diff --git a/sdk/ec2/src/operation/describe_local_gateways/builders.rs b/sdk/ec2/src/operation/describe_local_gateways/builders.rs index f8ba1410997f..495c14de0530 100644 --- a/sdk/ec2/src/operation/describe_local_gateways/builders.rs +++ b/sdk/ec2/src/operation/describe_local_gateways/builders.rs @@ -19,9 +19,9 @@ impl DescribeLocalGatewaysFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl DescribeLocalGatewaysFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::describe_local_gateways::DescribeLocalGateways, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::describe_local_gateways::DescribeLocalGatewaysError, + >, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::describe_local_gateways::paginator::DescribeLocalGatewaysPaginator::send) which returns a `Stream`. diff --git a/sdk/ec2/src/operation/describe_managed_prefix_lists/builders.rs b/sdk/ec2/src/operation/describe_managed_prefix_lists/builders.rs index bae074fc577b..2300d6d829fb 100644 --- a/sdk/ec2/src/operation/describe_managed_prefix_lists/builders.rs +++ b/sdk/ec2/src/operation/describe_managed_prefix_lists/builders.rs @@ -20,9 +20,9 @@ impl DescribeManagedPrefixListsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -84,6 +84,22 @@ impl DescribeManagedPrefixListsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::describe_managed_prefix_lists::DescribeManagedPrefixLists, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::describe_managed_prefix_lists::DescribeManagedPrefixListsError, + >, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::describe_managed_prefix_lists::paginator::DescribeManagedPrefixListsPaginator::send) which returns a `Stream`. diff --git a/sdk/ec2/src/operation/describe_moving_addresses/builders.rs b/sdk/ec2/src/operation/describe_moving_addresses/builders.rs index 2257563d3d49..eea03cd51a12 100644 --- a/sdk/ec2/src/operation/describe_moving_addresses/builders.rs +++ b/sdk/ec2/src/operation/describe_moving_addresses/builders.rs @@ -20,9 +20,9 @@ impl DescribeMovingAddressesFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -84,6 +84,22 @@ impl DescribeMovingAddressesFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::describe_moving_addresses::DescribeMovingAddresses, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::describe_moving_addresses::DescribeMovingAddressesError, + >, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::describe_moving_addresses::paginator::DescribeMovingAddressesPaginator::send) which returns a `Stream`. diff --git a/sdk/ec2/src/operation/describe_nat_gateways/builders.rs b/sdk/ec2/src/operation/describe_nat_gateways/builders.rs index 06b5b2dbb65e..69a670c0a572 100644 --- a/sdk/ec2/src/operation/describe_nat_gateways/builders.rs +++ b/sdk/ec2/src/operation/describe_nat_gateways/builders.rs @@ -19,9 +19,9 @@ impl DescribeNatGatewaysFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl DescribeNatGatewaysFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::describe_nat_gateways::DescribeNatGateways, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::describe_nat_gateways::DescribeNatGatewaysError, + >, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::describe_nat_gateways::paginator::DescribeNatGatewaysPaginator::send) which returns a `Stream`. diff --git a/sdk/ec2/src/operation/describe_network_acls/builders.rs b/sdk/ec2/src/operation/describe_network_acls/builders.rs index 88be26241652..26c3d0b31ee9 100644 --- a/sdk/ec2/src/operation/describe_network_acls/builders.rs +++ b/sdk/ec2/src/operation/describe_network_acls/builders.rs @@ -20,9 +20,9 @@ impl DescribeNetworkAclsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -84,6 +84,22 @@ impl DescribeNetworkAclsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::describe_network_acls::DescribeNetworkAcls, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::describe_network_acls::DescribeNetworkAclsError, + >, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::describe_network_acls::paginator::DescribeNetworkAclsPaginator::send) which returns a `Stream`. diff --git a/sdk/ec2/src/operation/describe_network_insights_access_scope_analyses/builders.rs b/sdk/ec2/src/operation/describe_network_insights_access_scope_analyses/builders.rs index ad94c834407c..63b4b662ed41 100644 --- a/sdk/ec2/src/operation/describe_network_insights_access_scope_analyses/builders.rs +++ b/sdk/ec2/src/operation/describe_network_insights_access_scope_analyses/builders.rs @@ -19,9 +19,9 @@ impl DescribeNetworkInsightsAccessScopeAnalysesFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize(self) -> ::std::result::Result< + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware(self) -> ::std::result::Result< crate::client::customize::CustomizableOperation, ::aws_smithy_http::result::SdkError >{ @@ -64,6 +64,15 @@ impl DescribeNetworkInsightsAccessScopeAnalysesFluentBuilder { { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize(self) -> ::std::result::Result< + crate::client::customize::CustomizableOperation, + ::aws_smithy_http::result::SdkError + >{ + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::describe_network_insights_access_scope_analyses::paginator::DescribeNetworkInsightsAccessScopeAnalysesPaginator::send) which returns a `Stream`. diff --git a/sdk/ec2/src/operation/describe_network_insights_access_scopes/builders.rs b/sdk/ec2/src/operation/describe_network_insights_access_scopes/builders.rs index bb0bc1484f09..37ddf028a5f4 100644 --- a/sdk/ec2/src/operation/describe_network_insights_access_scopes/builders.rs +++ b/sdk/ec2/src/operation/describe_network_insights_access_scopes/builders.rs @@ -19,9 +19,9 @@ impl DescribeNetworkInsightsAccessScopesFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize(self) -> ::std::result::Result< + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware(self) -> ::std::result::Result< crate::client::customize::CustomizableOperation, ::aws_smithy_http::result::SdkError >{ @@ -64,6 +64,15 @@ impl DescribeNetworkInsightsAccessScopesFluentBuilder { { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize(self) -> ::std::result::Result< + crate::client::customize::CustomizableOperation, + ::aws_smithy_http::result::SdkError + >{ + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::describe_network_insights_access_scopes::paginator::DescribeNetworkInsightsAccessScopesPaginator::send) which returns a `Stream`. diff --git a/sdk/ec2/src/operation/describe_network_insights_analyses/builders.rs b/sdk/ec2/src/operation/describe_network_insights_analyses/builders.rs index 5a931e27f6d8..899f427d41df 100644 --- a/sdk/ec2/src/operation/describe_network_insights_analyses/builders.rs +++ b/sdk/ec2/src/operation/describe_network_insights_analyses/builders.rs @@ -19,9 +19,9 @@ impl DescribeNetworkInsightsAnalysesFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize(self) -> ::std::result::Result< + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware(self) -> ::std::result::Result< crate::client::customize::CustomizableOperation, ::aws_smithy_http::result::SdkError >{ @@ -64,6 +64,15 @@ impl DescribeNetworkInsightsAnalysesFluentBuilder { { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize(self) -> ::std::result::Result< + crate::client::customize::CustomizableOperation, + ::aws_smithy_http::result::SdkError + >{ + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::describe_network_insights_analyses::paginator::DescribeNetworkInsightsAnalysesPaginator::send) which returns a `Stream`. diff --git a/sdk/ec2/src/operation/describe_network_insights_paths/builders.rs b/sdk/ec2/src/operation/describe_network_insights_paths/builders.rs index 6ffc2e020754..9dea99daa830 100644 --- a/sdk/ec2/src/operation/describe_network_insights_paths/builders.rs +++ b/sdk/ec2/src/operation/describe_network_insights_paths/builders.rs @@ -19,9 +19,9 @@ impl DescribeNetworkInsightsPathsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl DescribeNetworkInsightsPathsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::describe_network_insights_paths::DescribeNetworkInsightsPaths, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::describe_network_insights_paths::DescribeNetworkInsightsPathsError, + >, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::describe_network_insights_paths::paginator::DescribeNetworkInsightsPathsPaginator::send) which returns a `Stream`. diff --git a/sdk/ec2/src/operation/describe_network_interface_attribute/builders.rs b/sdk/ec2/src/operation/describe_network_interface_attribute/builders.rs index 7ef63ab842dc..5ee9bfffa5ce 100644 --- a/sdk/ec2/src/operation/describe_network_interface_attribute/builders.rs +++ b/sdk/ec2/src/operation/describe_network_interface_attribute/builders.rs @@ -19,9 +19,9 @@ impl DescribeNetworkInterfaceAttributeFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize(self) -> ::std::result::Result< + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware(self) -> ::std::result::Result< crate::client::customize::CustomizableOperation, ::aws_smithy_http::result::SdkError >{ @@ -64,6 +64,15 @@ impl DescribeNetworkInterfaceAttributeFluentBuilder { { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize(self) -> ::std::result::Result< + crate::client::customize::CustomizableOperation, + ::aws_smithy_http::result::SdkError + >{ + self.customize_middleware().await + } ///

                                                                      The attribute of the network interface. This parameter is required.

                                                                      pub fn attribute(mut self, input: crate::types::NetworkInterfaceAttribute) -> Self { self.inner = self.inner.attribute(input); diff --git a/sdk/ec2/src/operation/describe_network_interface_permissions/builders.rs b/sdk/ec2/src/operation/describe_network_interface_permissions/builders.rs index e2c82fba2a59..da20e98e86d5 100644 --- a/sdk/ec2/src/operation/describe_network_interface_permissions/builders.rs +++ b/sdk/ec2/src/operation/describe_network_interface_permissions/builders.rs @@ -19,9 +19,9 @@ impl DescribeNetworkInterfacePermissionsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize(self) -> ::std::result::Result< + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware(self) -> ::std::result::Result< crate::client::customize::CustomizableOperation, ::aws_smithy_http::result::SdkError >{ @@ -64,6 +64,15 @@ impl DescribeNetworkInterfacePermissionsFluentBuilder { { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize(self) -> ::std::result::Result< + crate::client::customize::CustomizableOperation, + ::aws_smithy_http::result::SdkError + >{ + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::describe_network_interface_permissions::paginator::DescribeNetworkInterfacePermissionsPaginator::send) which returns a `Stream`. diff --git a/sdk/ec2/src/operation/describe_network_interfaces/builders.rs b/sdk/ec2/src/operation/describe_network_interfaces/builders.rs index 92d867f94df6..5d8540877041 100644 --- a/sdk/ec2/src/operation/describe_network_interfaces/builders.rs +++ b/sdk/ec2/src/operation/describe_network_interfaces/builders.rs @@ -19,9 +19,9 @@ impl DescribeNetworkInterfacesFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl DescribeNetworkInterfacesFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::describe_network_interfaces::DescribeNetworkInterfaces, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::describe_network_interfaces::DescribeNetworkInterfacesError, + >, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::describe_network_interfaces::paginator::DescribeNetworkInterfacesPaginator::send) which returns a `Stream`. diff --git a/sdk/ec2/src/operation/describe_placement_groups/builders.rs b/sdk/ec2/src/operation/describe_placement_groups/builders.rs index 4869a243d322..b420461625eb 100644 --- a/sdk/ec2/src/operation/describe_placement_groups/builders.rs +++ b/sdk/ec2/src/operation/describe_placement_groups/builders.rs @@ -20,9 +20,9 @@ impl DescribePlacementGroupsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -84,6 +84,22 @@ impl DescribePlacementGroupsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::describe_placement_groups::DescribePlacementGroups, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::describe_placement_groups::DescribePlacementGroupsError, + >, + > { + self.customize_middleware().await + } /// Appends an item to `Filters`. /// /// To override the contents of this collection use [`set_filters`](Self::set_filters). diff --git a/sdk/ec2/src/operation/describe_prefix_lists/builders.rs b/sdk/ec2/src/operation/describe_prefix_lists/builders.rs index 4e15fd7a6488..d4e8dae541fe 100644 --- a/sdk/ec2/src/operation/describe_prefix_lists/builders.rs +++ b/sdk/ec2/src/operation/describe_prefix_lists/builders.rs @@ -20,9 +20,9 @@ impl DescribePrefixListsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -84,6 +84,22 @@ impl DescribePrefixListsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::describe_prefix_lists::DescribePrefixLists, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::describe_prefix_lists::DescribePrefixListsError, + >, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::describe_prefix_lists::paginator::DescribePrefixListsPaginator::send) which returns a `Stream`. diff --git a/sdk/ec2/src/operation/describe_principal_id_format/builders.rs b/sdk/ec2/src/operation/describe_principal_id_format/builders.rs index d06d0a91fbf2..b3113ffbf8ad 100644 --- a/sdk/ec2/src/operation/describe_principal_id_format/builders.rs +++ b/sdk/ec2/src/operation/describe_principal_id_format/builders.rs @@ -21,9 +21,9 @@ impl DescribePrincipalIdFormatFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -85,6 +85,22 @@ impl DescribePrincipalIdFormatFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::describe_principal_id_format::DescribePrincipalIdFormat, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::describe_principal_id_format::DescribePrincipalIdFormatError, + >, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::describe_principal_id_format::paginator::DescribePrincipalIdFormatPaginator::send) which returns a `Stream`. diff --git a/sdk/ec2/src/operation/describe_public_ipv4_pools/builders.rs b/sdk/ec2/src/operation/describe_public_ipv4_pools/builders.rs index 06687613c32c..e101507c6243 100644 --- a/sdk/ec2/src/operation/describe_public_ipv4_pools/builders.rs +++ b/sdk/ec2/src/operation/describe_public_ipv4_pools/builders.rs @@ -20,9 +20,9 @@ impl DescribePublicIpv4PoolsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -84,6 +84,22 @@ impl DescribePublicIpv4PoolsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::describe_public_ipv4_pools::DescribePublicIpv4Pools, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::describe_public_ipv4_pools::DescribePublicIpv4PoolsError, + >, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::describe_public_ipv4_pools::paginator::DescribePublicIpv4PoolsPaginator::send) which returns a `Stream`. diff --git a/sdk/ec2/src/operation/describe_regions/builders.rs b/sdk/ec2/src/operation/describe_regions/builders.rs index 7dea42babb8f..4aa0bd1c24ac 100644 --- a/sdk/ec2/src/operation/describe_regions/builders.rs +++ b/sdk/ec2/src/operation/describe_regions/builders.rs @@ -21,9 +21,9 @@ impl DescribeRegionsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -85,6 +85,22 @@ impl DescribeRegionsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::describe_regions::DescribeRegions, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::describe_regions::DescribeRegionsError, + >, + > { + self.customize_middleware().await + } /// Appends an item to `Filters`. /// /// To override the contents of this collection use [`set_filters`](Self::set_filters). diff --git a/sdk/ec2/src/operation/describe_replace_root_volume_tasks/builders.rs b/sdk/ec2/src/operation/describe_replace_root_volume_tasks/builders.rs index 2fc6e036a4a4..706f5d249f9b 100644 --- a/sdk/ec2/src/operation/describe_replace_root_volume_tasks/builders.rs +++ b/sdk/ec2/src/operation/describe_replace_root_volume_tasks/builders.rs @@ -19,9 +19,9 @@ impl DescribeReplaceRootVolumeTasksFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize(self) -> ::std::result::Result< + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware(self) -> ::std::result::Result< crate::client::customize::CustomizableOperation, ::aws_smithy_http::result::SdkError >{ @@ -64,6 +64,15 @@ impl DescribeReplaceRootVolumeTasksFluentBuilder { { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize(self) -> ::std::result::Result< + crate::client::customize::CustomizableOperation, + ::aws_smithy_http::result::SdkError + >{ + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::describe_replace_root_volume_tasks::paginator::DescribeReplaceRootVolumeTasksPaginator::send) which returns a `Stream`. diff --git a/sdk/ec2/src/operation/describe_reserved_instances/builders.rs b/sdk/ec2/src/operation/describe_reserved_instances/builders.rs index 1798d706d3a1..86139333350f 100644 --- a/sdk/ec2/src/operation/describe_reserved_instances/builders.rs +++ b/sdk/ec2/src/operation/describe_reserved_instances/builders.rs @@ -20,9 +20,9 @@ impl DescribeReservedInstancesFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -84,6 +84,22 @@ impl DescribeReservedInstancesFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::describe_reserved_instances::DescribeReservedInstances, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::describe_reserved_instances::DescribeReservedInstancesError, + >, + > { + self.customize_middleware().await + } /// Appends an item to `Filters`. /// /// To override the contents of this collection use [`set_filters`](Self::set_filters). diff --git a/sdk/ec2/src/operation/describe_reserved_instances_listings/builders.rs b/sdk/ec2/src/operation/describe_reserved_instances_listings/builders.rs index 69baa937154e..808618329c8c 100644 --- a/sdk/ec2/src/operation/describe_reserved_instances_listings/builders.rs +++ b/sdk/ec2/src/operation/describe_reserved_instances_listings/builders.rs @@ -23,9 +23,9 @@ impl DescribeReservedInstancesListingsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize(self) -> ::std::result::Result< + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware(self) -> ::std::result::Result< crate::client::customize::CustomizableOperation, ::aws_smithy_http::result::SdkError >{ @@ -68,6 +68,15 @@ impl DescribeReservedInstancesListingsFluentBuilder { { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize(self) -> ::std::result::Result< + crate::client::customize::CustomizableOperation, + ::aws_smithy_http::result::SdkError + >{ + self.customize_middleware().await + } /// Appends an item to `Filters`. /// /// To override the contents of this collection use [`set_filters`](Self::set_filters). diff --git a/sdk/ec2/src/operation/describe_reserved_instances_modifications/builders.rs b/sdk/ec2/src/operation/describe_reserved_instances_modifications/builders.rs index 0eac6af29ad9..e44708136a79 100644 --- a/sdk/ec2/src/operation/describe_reserved_instances_modifications/builders.rs +++ b/sdk/ec2/src/operation/describe_reserved_instances_modifications/builders.rs @@ -20,9 +20,9 @@ impl DescribeReservedInstancesModificationsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize(self) -> ::std::result::Result< + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware(self) -> ::std::result::Result< crate::client::customize::CustomizableOperation, ::aws_smithy_http::result::SdkError >{ @@ -65,6 +65,15 @@ impl DescribeReservedInstancesModificationsFluentBuilder { { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize(self) -> ::std::result::Result< + crate::client::customize::CustomizableOperation, + ::aws_smithy_http::result::SdkError + >{ + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::describe_reserved_instances_modifications::paginator::DescribeReservedInstancesModificationsPaginator::send) which returns a `Stream`. diff --git a/sdk/ec2/src/operation/describe_reserved_instances_offerings/builders.rs b/sdk/ec2/src/operation/describe_reserved_instances_offerings/builders.rs index dcc4abf38c1d..c1d3d717a3fc 100644 --- a/sdk/ec2/src/operation/describe_reserved_instances_offerings/builders.rs +++ b/sdk/ec2/src/operation/describe_reserved_instances_offerings/builders.rs @@ -21,9 +21,9 @@ impl DescribeReservedInstancesOfferingsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize(self) -> ::std::result::Result< + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware(self) -> ::std::result::Result< crate::client::customize::CustomizableOperation, ::aws_smithy_http::result::SdkError >{ @@ -66,6 +66,15 @@ impl DescribeReservedInstancesOfferingsFluentBuilder { { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize(self) -> ::std::result::Result< + crate::client::customize::CustomizableOperation, + ::aws_smithy_http::result::SdkError + >{ + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::describe_reserved_instances_offerings::paginator::DescribeReservedInstancesOfferingsPaginator::send) which returns a `Stream`. diff --git a/sdk/ec2/src/operation/describe_route_tables/builders.rs b/sdk/ec2/src/operation/describe_route_tables/builders.rs index 513ef654b47f..6ff99bc655c7 100644 --- a/sdk/ec2/src/operation/describe_route_tables/builders.rs +++ b/sdk/ec2/src/operation/describe_route_tables/builders.rs @@ -21,9 +21,9 @@ impl DescribeRouteTablesFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -85,6 +85,22 @@ impl DescribeRouteTablesFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::describe_route_tables::DescribeRouteTables, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::describe_route_tables::DescribeRouteTablesError, + >, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::describe_route_tables::paginator::DescribeRouteTablesPaginator::send) which returns a `Stream`. diff --git a/sdk/ec2/src/operation/describe_scheduled_instance_availability/builders.rs b/sdk/ec2/src/operation/describe_scheduled_instance_availability/builders.rs index 8adf201e76a1..ad858578df46 100644 --- a/sdk/ec2/src/operation/describe_scheduled_instance_availability/builders.rs +++ b/sdk/ec2/src/operation/describe_scheduled_instance_availability/builders.rs @@ -21,9 +21,9 @@ impl DescribeScheduledInstanceAvailabilityFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize(self) -> ::std::result::Result< + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware(self) -> ::std::result::Result< crate::client::customize::CustomizableOperation, ::aws_smithy_http::result::SdkError >{ @@ -66,6 +66,15 @@ impl DescribeScheduledInstanceAvailabilityFluentBuilder { { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize(self) -> ::std::result::Result< + crate::client::customize::CustomizableOperation, + ::aws_smithy_http::result::SdkError + >{ + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::describe_scheduled_instance_availability::paginator::DescribeScheduledInstanceAvailabilityPaginator::send) which returns a `Stream`. diff --git a/sdk/ec2/src/operation/describe_scheduled_instances/builders.rs b/sdk/ec2/src/operation/describe_scheduled_instances/builders.rs index e567b6021334..448adc7b4585 100644 --- a/sdk/ec2/src/operation/describe_scheduled_instances/builders.rs +++ b/sdk/ec2/src/operation/describe_scheduled_instances/builders.rs @@ -19,9 +19,9 @@ impl DescribeScheduledInstancesFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl DescribeScheduledInstancesFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::describe_scheduled_instances::DescribeScheduledInstances, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::describe_scheduled_instances::DescribeScheduledInstancesError, + >, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::describe_scheduled_instances::paginator::DescribeScheduledInstancesPaginator::send) which returns a `Stream`. diff --git a/sdk/ec2/src/operation/describe_security_group_references/builders.rs b/sdk/ec2/src/operation/describe_security_group_references/builders.rs index a43017d93a1f..11b088d7bf1e 100644 --- a/sdk/ec2/src/operation/describe_security_group_references/builders.rs +++ b/sdk/ec2/src/operation/describe_security_group_references/builders.rs @@ -19,9 +19,9 @@ impl DescribeSecurityGroupReferencesFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize(self) -> ::std::result::Result< + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware(self) -> ::std::result::Result< crate::client::customize::CustomizableOperation, ::aws_smithy_http::result::SdkError >{ @@ -64,6 +64,15 @@ impl DescribeSecurityGroupReferencesFluentBuilder { { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize(self) -> ::std::result::Result< + crate::client::customize::CustomizableOperation, + ::aws_smithy_http::result::SdkError + >{ + self.customize_middleware().await + } ///

                                                                      Checks whether you have the required permissions for the action, without actually making the request, and provides an error response. If you have the required permissions, the error response is DryRunOperation. Otherwise, it is UnauthorizedOperation.

                                                                      pub fn dry_run(mut self, input: bool) -> Self { self.inner = self.inner.dry_run(input); diff --git a/sdk/ec2/src/operation/describe_security_group_rules/builders.rs b/sdk/ec2/src/operation/describe_security_group_rules/builders.rs index 7d03c2f5f551..55b52179cb26 100644 --- a/sdk/ec2/src/operation/describe_security_group_rules/builders.rs +++ b/sdk/ec2/src/operation/describe_security_group_rules/builders.rs @@ -19,9 +19,9 @@ impl DescribeSecurityGroupRulesFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl DescribeSecurityGroupRulesFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::describe_security_group_rules::DescribeSecurityGroupRules, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::describe_security_group_rules::DescribeSecurityGroupRulesError, + >, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::describe_security_group_rules::paginator::DescribeSecurityGroupRulesPaginator::send) which returns a `Stream`. diff --git a/sdk/ec2/src/operation/describe_security_groups/builders.rs b/sdk/ec2/src/operation/describe_security_groups/builders.rs index 70e14f7504f4..82d919568a18 100644 --- a/sdk/ec2/src/operation/describe_security_groups/builders.rs +++ b/sdk/ec2/src/operation/describe_security_groups/builders.rs @@ -22,9 +22,9 @@ impl DescribeSecurityGroupsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -86,6 +86,22 @@ impl DescribeSecurityGroupsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::describe_security_groups::DescribeSecurityGroups, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::describe_security_groups::DescribeSecurityGroupsError, + >, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::describe_security_groups::paginator::DescribeSecurityGroupsPaginator::send) which returns a `Stream`. diff --git a/sdk/ec2/src/operation/describe_snapshot_attribute/builders.rs b/sdk/ec2/src/operation/describe_snapshot_attribute/builders.rs index 5a9149d7cf46..5009f88a71d4 100644 --- a/sdk/ec2/src/operation/describe_snapshot_attribute/builders.rs +++ b/sdk/ec2/src/operation/describe_snapshot_attribute/builders.rs @@ -20,9 +20,9 @@ impl DescribeSnapshotAttributeFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -84,6 +84,22 @@ impl DescribeSnapshotAttributeFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::describe_snapshot_attribute::DescribeSnapshotAttribute, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::describe_snapshot_attribute::DescribeSnapshotAttributeError, + >, + > { + self.customize_middleware().await + } ///

                                                                      The snapshot attribute you would like to view.

                                                                      pub fn attribute(mut self, input: crate::types::SnapshotAttributeName) -> Self { self.inner = self.inner.attribute(input); diff --git a/sdk/ec2/src/operation/describe_snapshot_tier_status/builders.rs b/sdk/ec2/src/operation/describe_snapshot_tier_status/builders.rs index b52ab4645815..b1a826dcfc20 100644 --- a/sdk/ec2/src/operation/describe_snapshot_tier_status/builders.rs +++ b/sdk/ec2/src/operation/describe_snapshot_tier_status/builders.rs @@ -19,9 +19,9 @@ impl DescribeSnapshotTierStatusFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl DescribeSnapshotTierStatusFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::describe_snapshot_tier_status::DescribeSnapshotTierStatus, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::describe_snapshot_tier_status::DescribeSnapshotTierStatusError, + >, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::describe_snapshot_tier_status::paginator::DescribeSnapshotTierStatusPaginator::send) which returns a `Stream`. diff --git a/sdk/ec2/src/operation/describe_snapshots/builders.rs b/sdk/ec2/src/operation/describe_snapshots/builders.rs index 126e66d2c40d..268d4162c7d5 100644 --- a/sdk/ec2/src/operation/describe_snapshots/builders.rs +++ b/sdk/ec2/src/operation/describe_snapshots/builders.rs @@ -33,9 +33,9 @@ impl DescribeSnapshotsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -97,6 +97,22 @@ impl DescribeSnapshotsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::describe_snapshots::DescribeSnapshots, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::describe_snapshots::DescribeSnapshotsError, + >, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::describe_snapshots::paginator::DescribeSnapshotsPaginator::send) which returns a `Stream`. diff --git a/sdk/ec2/src/operation/describe_spot_datafeed_subscription/builders.rs b/sdk/ec2/src/operation/describe_spot_datafeed_subscription/builders.rs index 95d70b055a72..79585e2ccac3 100644 --- a/sdk/ec2/src/operation/describe_spot_datafeed_subscription/builders.rs +++ b/sdk/ec2/src/operation/describe_spot_datafeed_subscription/builders.rs @@ -19,9 +19,9 @@ impl DescribeSpotDatafeedSubscriptionFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize(self) -> ::std::result::Result< + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware(self) -> ::std::result::Result< crate::client::customize::CustomizableOperation, ::aws_smithy_http::result::SdkError >{ @@ -64,6 +64,15 @@ impl DescribeSpotDatafeedSubscriptionFluentBuilder { { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize(self) -> ::std::result::Result< + crate::client::customize::CustomizableOperation, + ::aws_smithy_http::result::SdkError + >{ + self.customize_middleware().await + } ///

                                                                      Checks whether you have the required permissions for the action, without actually making the request, and provides an error response. If you have the required permissions, the error response is DryRunOperation. Otherwise, it is UnauthorizedOperation.

                                                                      pub fn dry_run(mut self, input: bool) -> Self { self.inner = self.inner.dry_run(input); diff --git a/sdk/ec2/src/operation/describe_spot_fleet_instances/builders.rs b/sdk/ec2/src/operation/describe_spot_fleet_instances/builders.rs index 79310d5cbee3..cdf790879983 100644 --- a/sdk/ec2/src/operation/describe_spot_fleet_instances/builders.rs +++ b/sdk/ec2/src/operation/describe_spot_fleet_instances/builders.rs @@ -19,9 +19,9 @@ impl DescribeSpotFleetInstancesFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl DescribeSpotFleetInstancesFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::describe_spot_fleet_instances::DescribeSpotFleetInstances, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::describe_spot_fleet_instances::DescribeSpotFleetInstancesError, + >, + > { + self.customize_middleware().await + } ///

                                                                      Checks whether you have the required permissions for the action, without actually making the request, and provides an error response. If you have the required permissions, the error response is DryRunOperation. Otherwise, it is UnauthorizedOperation.

                                                                      pub fn dry_run(mut self, input: bool) -> Self { self.inner = self.inner.dry_run(input); diff --git a/sdk/ec2/src/operation/describe_spot_fleet_request_history/builders.rs b/sdk/ec2/src/operation/describe_spot_fleet_request_history/builders.rs index 27393e6703c2..ba5f6497e3fe 100644 --- a/sdk/ec2/src/operation/describe_spot_fleet_request_history/builders.rs +++ b/sdk/ec2/src/operation/describe_spot_fleet_request_history/builders.rs @@ -21,9 +21,9 @@ impl DescribeSpotFleetRequestHistoryFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize(self) -> ::std::result::Result< + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware(self) -> ::std::result::Result< crate::client::customize::CustomizableOperation, ::aws_smithy_http::result::SdkError >{ @@ -66,6 +66,15 @@ impl DescribeSpotFleetRequestHistoryFluentBuilder { { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize(self) -> ::std::result::Result< + crate::client::customize::CustomizableOperation, + ::aws_smithy_http::result::SdkError + >{ + self.customize_middleware().await + } ///

                                                                      Checks whether you have the required permissions for the action, without actually making the request, and provides an error response. If you have the required permissions, the error response is DryRunOperation. Otherwise, it is UnauthorizedOperation.

                                                                      pub fn dry_run(mut self, input: bool) -> Self { self.inner = self.inner.dry_run(input); diff --git a/sdk/ec2/src/operation/describe_spot_fleet_requests/builders.rs b/sdk/ec2/src/operation/describe_spot_fleet_requests/builders.rs index a8e4a8801390..3c37c0210f5c 100644 --- a/sdk/ec2/src/operation/describe_spot_fleet_requests/builders.rs +++ b/sdk/ec2/src/operation/describe_spot_fleet_requests/builders.rs @@ -20,9 +20,9 @@ impl DescribeSpotFleetRequestsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -84,6 +84,22 @@ impl DescribeSpotFleetRequestsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::describe_spot_fleet_requests::DescribeSpotFleetRequests, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::describe_spot_fleet_requests::DescribeSpotFleetRequestsError, + >, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::describe_spot_fleet_requests::paginator::DescribeSpotFleetRequestsPaginator::send) which returns a `Stream`. diff --git a/sdk/ec2/src/operation/describe_spot_instance_requests/builders.rs b/sdk/ec2/src/operation/describe_spot_instance_requests/builders.rs index 9e9efbf84019..eed29e0a2a1a 100644 --- a/sdk/ec2/src/operation/describe_spot_instance_requests/builders.rs +++ b/sdk/ec2/src/operation/describe_spot_instance_requests/builders.rs @@ -22,9 +22,9 @@ impl DescribeSpotInstanceRequestsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -86,6 +86,22 @@ impl DescribeSpotInstanceRequestsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::describe_spot_instance_requests::DescribeSpotInstanceRequests, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::describe_spot_instance_requests::DescribeSpotInstanceRequestsError, + >, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::describe_spot_instance_requests::paginator::DescribeSpotInstanceRequestsPaginator::send) which returns a `Stream`. diff --git a/sdk/ec2/src/operation/describe_spot_price_history/builders.rs b/sdk/ec2/src/operation/describe_spot_price_history/builders.rs index a8d44ef6b4e1..f360d65a5b1a 100644 --- a/sdk/ec2/src/operation/describe_spot_price_history/builders.rs +++ b/sdk/ec2/src/operation/describe_spot_price_history/builders.rs @@ -20,9 +20,9 @@ impl DescribeSpotPriceHistoryFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -84,6 +84,22 @@ impl DescribeSpotPriceHistoryFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::describe_spot_price_history::DescribeSpotPriceHistory, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::describe_spot_price_history::DescribeSpotPriceHistoryError, + >, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::describe_spot_price_history::paginator::DescribeSpotPriceHistoryPaginator::send) which returns a `Stream`. diff --git a/sdk/ec2/src/operation/describe_stale_security_groups/builders.rs b/sdk/ec2/src/operation/describe_stale_security_groups/builders.rs index 936954d3f82f..a511a46ef8b3 100644 --- a/sdk/ec2/src/operation/describe_stale_security_groups/builders.rs +++ b/sdk/ec2/src/operation/describe_stale_security_groups/builders.rs @@ -19,9 +19,9 @@ impl DescribeStaleSecurityGroupsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl DescribeStaleSecurityGroupsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::describe_stale_security_groups::DescribeStaleSecurityGroups, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::describe_stale_security_groups::DescribeStaleSecurityGroupsError, + >, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::describe_stale_security_groups::paginator::DescribeStaleSecurityGroupsPaginator::send) which returns a `Stream`. diff --git a/sdk/ec2/src/operation/describe_store_image_tasks/builders.rs b/sdk/ec2/src/operation/describe_store_image_tasks/builders.rs index f5eec849995a..f7d501862413 100644 --- a/sdk/ec2/src/operation/describe_store_image_tasks/builders.rs +++ b/sdk/ec2/src/operation/describe_store_image_tasks/builders.rs @@ -24,9 +24,9 @@ impl DescribeStoreImageTasksFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -88,6 +88,22 @@ impl DescribeStoreImageTasksFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::describe_store_image_tasks::DescribeStoreImageTasks, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::describe_store_image_tasks::DescribeStoreImageTasksError, + >, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::describe_store_image_tasks::paginator::DescribeStoreImageTasksPaginator::send) which returns a `Stream`. diff --git a/sdk/ec2/src/operation/describe_subnets/builders.rs b/sdk/ec2/src/operation/describe_subnets/builders.rs index 957d26c1f7dc..05dd02702191 100644 --- a/sdk/ec2/src/operation/describe_subnets/builders.rs +++ b/sdk/ec2/src/operation/describe_subnets/builders.rs @@ -20,9 +20,9 @@ impl DescribeSubnetsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -84,6 +84,22 @@ impl DescribeSubnetsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::describe_subnets::DescribeSubnets, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::describe_subnets::DescribeSubnetsError, + >, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::describe_subnets::paginator::DescribeSubnetsPaginator::send) which returns a `Stream`. diff --git a/sdk/ec2/src/operation/describe_tags/builders.rs b/sdk/ec2/src/operation/describe_tags/builders.rs index 5c6f92936bed..3811f3537926 100644 --- a/sdk/ec2/src/operation/describe_tags/builders.rs +++ b/sdk/ec2/src/operation/describe_tags/builders.rs @@ -20,9 +20,9 @@ impl DescribeTagsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -78,6 +78,20 @@ impl DescribeTagsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::describe_tags::DescribeTags, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::describe_tags::paginator::DescribeTagsPaginator::send) which returns a `Stream`. diff --git a/sdk/ec2/src/operation/describe_traffic_mirror_filters/builders.rs b/sdk/ec2/src/operation/describe_traffic_mirror_filters/builders.rs index 5a890b8d9a08..f630f4593eda 100644 --- a/sdk/ec2/src/operation/describe_traffic_mirror_filters/builders.rs +++ b/sdk/ec2/src/operation/describe_traffic_mirror_filters/builders.rs @@ -19,9 +19,9 @@ impl DescribeTrafficMirrorFiltersFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl DescribeTrafficMirrorFiltersFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::describe_traffic_mirror_filters::DescribeTrafficMirrorFilters, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::describe_traffic_mirror_filters::DescribeTrafficMirrorFiltersError, + >, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::describe_traffic_mirror_filters::paginator::DescribeTrafficMirrorFiltersPaginator::send) which returns a `Stream`. diff --git a/sdk/ec2/src/operation/describe_traffic_mirror_sessions/builders.rs b/sdk/ec2/src/operation/describe_traffic_mirror_sessions/builders.rs index 269ddd6bad8b..ca9460e6a2e3 100644 --- a/sdk/ec2/src/operation/describe_traffic_mirror_sessions/builders.rs +++ b/sdk/ec2/src/operation/describe_traffic_mirror_sessions/builders.rs @@ -19,9 +19,9 @@ impl DescribeTrafficMirrorSessionsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl DescribeTrafficMirrorSessionsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::describe_traffic_mirror_sessions::DescribeTrafficMirrorSessions, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::describe_traffic_mirror_sessions::DescribeTrafficMirrorSessionsError, + >, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::describe_traffic_mirror_sessions::paginator::DescribeTrafficMirrorSessionsPaginator::send) which returns a `Stream`. diff --git a/sdk/ec2/src/operation/describe_traffic_mirror_targets/builders.rs b/sdk/ec2/src/operation/describe_traffic_mirror_targets/builders.rs index 705ebc941319..46af8dd5f248 100644 --- a/sdk/ec2/src/operation/describe_traffic_mirror_targets/builders.rs +++ b/sdk/ec2/src/operation/describe_traffic_mirror_targets/builders.rs @@ -19,9 +19,9 @@ impl DescribeTrafficMirrorTargetsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl DescribeTrafficMirrorTargetsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::describe_traffic_mirror_targets::DescribeTrafficMirrorTargets, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::describe_traffic_mirror_targets::DescribeTrafficMirrorTargetsError, + >, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::describe_traffic_mirror_targets::paginator::DescribeTrafficMirrorTargetsPaginator::send) which returns a `Stream`. diff --git a/sdk/ec2/src/operation/describe_transit_gateway_attachments/builders.rs b/sdk/ec2/src/operation/describe_transit_gateway_attachments/builders.rs index 5a94b65056ee..38a2f8380894 100644 --- a/sdk/ec2/src/operation/describe_transit_gateway_attachments/builders.rs +++ b/sdk/ec2/src/operation/describe_transit_gateway_attachments/builders.rs @@ -19,9 +19,9 @@ impl DescribeTransitGatewayAttachmentsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize(self) -> ::std::result::Result< + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware(self) -> ::std::result::Result< crate::client::customize::CustomizableOperation, ::aws_smithy_http::result::SdkError >{ @@ -64,6 +64,15 @@ impl DescribeTransitGatewayAttachmentsFluentBuilder { { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize(self) -> ::std::result::Result< + crate::client::customize::CustomizableOperation, + ::aws_smithy_http::result::SdkError + >{ + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::describe_transit_gateway_attachments::paginator::DescribeTransitGatewayAttachmentsPaginator::send) which returns a `Stream`. diff --git a/sdk/ec2/src/operation/describe_transit_gateway_connect_peers/builders.rs b/sdk/ec2/src/operation/describe_transit_gateway_connect_peers/builders.rs index 2ef950898123..4c6cd2f8d9b1 100644 --- a/sdk/ec2/src/operation/describe_transit_gateway_connect_peers/builders.rs +++ b/sdk/ec2/src/operation/describe_transit_gateway_connect_peers/builders.rs @@ -19,9 +19,9 @@ impl DescribeTransitGatewayConnectPeersFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize(self) -> ::std::result::Result< + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware(self) -> ::std::result::Result< crate::client::customize::CustomizableOperation, ::aws_smithy_http::result::SdkError >{ @@ -64,6 +64,15 @@ impl DescribeTransitGatewayConnectPeersFluentBuilder { { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize(self) -> ::std::result::Result< + crate::client::customize::CustomizableOperation, + ::aws_smithy_http::result::SdkError + >{ + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::describe_transit_gateway_connect_peers::paginator::DescribeTransitGatewayConnectPeersPaginator::send) which returns a `Stream`. diff --git a/sdk/ec2/src/operation/describe_transit_gateway_connects/builders.rs b/sdk/ec2/src/operation/describe_transit_gateway_connects/builders.rs index 352b5de1de20..3866ac9e58e4 100644 --- a/sdk/ec2/src/operation/describe_transit_gateway_connects/builders.rs +++ b/sdk/ec2/src/operation/describe_transit_gateway_connects/builders.rs @@ -19,9 +19,9 @@ impl DescribeTransitGatewayConnectsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize(self) -> ::std::result::Result< + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware(self) -> ::std::result::Result< crate::client::customize::CustomizableOperation, ::aws_smithy_http::result::SdkError >{ @@ -64,6 +64,15 @@ impl DescribeTransitGatewayConnectsFluentBuilder { { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize(self) -> ::std::result::Result< + crate::client::customize::CustomizableOperation, + ::aws_smithy_http::result::SdkError + >{ + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::describe_transit_gateway_connects::paginator::DescribeTransitGatewayConnectsPaginator::send) which returns a `Stream`. diff --git a/sdk/ec2/src/operation/describe_transit_gateway_multicast_domains/builders.rs b/sdk/ec2/src/operation/describe_transit_gateway_multicast_domains/builders.rs index 3ed13cdc8d99..ee1f6613f225 100644 --- a/sdk/ec2/src/operation/describe_transit_gateway_multicast_domains/builders.rs +++ b/sdk/ec2/src/operation/describe_transit_gateway_multicast_domains/builders.rs @@ -19,9 +19,9 @@ impl DescribeTransitGatewayMulticastDomainsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize(self) -> ::std::result::Result< + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware(self) -> ::std::result::Result< crate::client::customize::CustomizableOperation, ::aws_smithy_http::result::SdkError >{ @@ -64,6 +64,15 @@ impl DescribeTransitGatewayMulticastDomainsFluentBuilder { { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize(self) -> ::std::result::Result< + crate::client::customize::CustomizableOperation, + ::aws_smithy_http::result::SdkError + >{ + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::describe_transit_gateway_multicast_domains::paginator::DescribeTransitGatewayMulticastDomainsPaginator::send) which returns a `Stream`. diff --git a/sdk/ec2/src/operation/describe_transit_gateway_peering_attachments/builders.rs b/sdk/ec2/src/operation/describe_transit_gateway_peering_attachments/builders.rs index 9069b622ae51..f3e44397d7f4 100644 --- a/sdk/ec2/src/operation/describe_transit_gateway_peering_attachments/builders.rs +++ b/sdk/ec2/src/operation/describe_transit_gateway_peering_attachments/builders.rs @@ -19,9 +19,9 @@ impl DescribeTransitGatewayPeeringAttachmentsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize(self) -> ::std::result::Result< + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware(self) -> ::std::result::Result< crate::client::customize::CustomizableOperation, ::aws_smithy_http::result::SdkError >{ @@ -64,6 +64,15 @@ impl DescribeTransitGatewayPeeringAttachmentsFluentBuilder { { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize(self) -> ::std::result::Result< + crate::client::customize::CustomizableOperation, + ::aws_smithy_http::result::SdkError + >{ + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::describe_transit_gateway_peering_attachments::paginator::DescribeTransitGatewayPeeringAttachmentsPaginator::send) which returns a `Stream`. diff --git a/sdk/ec2/src/operation/describe_transit_gateway_policy_tables/builders.rs b/sdk/ec2/src/operation/describe_transit_gateway_policy_tables/builders.rs index 633ac2a699e8..335ad6d5a422 100644 --- a/sdk/ec2/src/operation/describe_transit_gateway_policy_tables/builders.rs +++ b/sdk/ec2/src/operation/describe_transit_gateway_policy_tables/builders.rs @@ -19,9 +19,9 @@ impl DescribeTransitGatewayPolicyTablesFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize(self) -> ::std::result::Result< + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware(self) -> ::std::result::Result< crate::client::customize::CustomizableOperation, ::aws_smithy_http::result::SdkError >{ @@ -64,6 +64,15 @@ impl DescribeTransitGatewayPolicyTablesFluentBuilder { { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize(self) -> ::std::result::Result< + crate::client::customize::CustomizableOperation, + ::aws_smithy_http::result::SdkError + >{ + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::describe_transit_gateway_policy_tables::paginator::DescribeTransitGatewayPolicyTablesPaginator::send) which returns a `Stream`. diff --git a/sdk/ec2/src/operation/describe_transit_gateway_route_table_announcements/builders.rs b/sdk/ec2/src/operation/describe_transit_gateway_route_table_announcements/builders.rs index 8e539696f197..c675a09470ba 100644 --- a/sdk/ec2/src/operation/describe_transit_gateway_route_table_announcements/builders.rs +++ b/sdk/ec2/src/operation/describe_transit_gateway_route_table_announcements/builders.rs @@ -19,9 +19,9 @@ impl DescribeTransitGatewayRouteTableAnnouncementsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize(self) -> ::std::result::Result< + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware(self) -> ::std::result::Result< crate::client::customize::CustomizableOperation, ::aws_smithy_http::result::SdkError >{ @@ -64,6 +64,15 @@ impl DescribeTransitGatewayRouteTableAnnouncementsFluentBuilder { { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize(self) -> ::std::result::Result< + crate::client::customize::CustomizableOperation, + ::aws_smithy_http::result::SdkError + >{ + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::describe_transit_gateway_route_table_announcements::paginator::DescribeTransitGatewayRouteTableAnnouncementsPaginator::send) which returns a `Stream`. diff --git a/sdk/ec2/src/operation/describe_transit_gateway_route_tables/builders.rs b/sdk/ec2/src/operation/describe_transit_gateway_route_tables/builders.rs index 11aded58df85..fd923ffc6fbb 100644 --- a/sdk/ec2/src/operation/describe_transit_gateway_route_tables/builders.rs +++ b/sdk/ec2/src/operation/describe_transit_gateway_route_tables/builders.rs @@ -19,9 +19,9 @@ impl DescribeTransitGatewayRouteTablesFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize(self) -> ::std::result::Result< + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware(self) -> ::std::result::Result< crate::client::customize::CustomizableOperation, ::aws_smithy_http::result::SdkError >{ @@ -64,6 +64,15 @@ impl DescribeTransitGatewayRouteTablesFluentBuilder { { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize(self) -> ::std::result::Result< + crate::client::customize::CustomizableOperation, + ::aws_smithy_http::result::SdkError + >{ + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::describe_transit_gateway_route_tables::paginator::DescribeTransitGatewayRouteTablesPaginator::send) which returns a `Stream`. diff --git a/sdk/ec2/src/operation/describe_transit_gateway_vpc_attachments/builders.rs b/sdk/ec2/src/operation/describe_transit_gateway_vpc_attachments/builders.rs index cb986522e38a..9a9727a3f29a 100644 --- a/sdk/ec2/src/operation/describe_transit_gateway_vpc_attachments/builders.rs +++ b/sdk/ec2/src/operation/describe_transit_gateway_vpc_attachments/builders.rs @@ -19,9 +19,9 @@ impl DescribeTransitGatewayVpcAttachmentsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize(self) -> ::std::result::Result< + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware(self) -> ::std::result::Result< crate::client::customize::CustomizableOperation, ::aws_smithy_http::result::SdkError >{ @@ -64,6 +64,15 @@ impl DescribeTransitGatewayVpcAttachmentsFluentBuilder { { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize(self) -> ::std::result::Result< + crate::client::customize::CustomizableOperation, + ::aws_smithy_http::result::SdkError + >{ + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::describe_transit_gateway_vpc_attachments::paginator::DescribeTransitGatewayVpcAttachmentsPaginator::send) which returns a `Stream`. diff --git a/sdk/ec2/src/operation/describe_transit_gateways/builders.rs b/sdk/ec2/src/operation/describe_transit_gateways/builders.rs index ae168b6ccbfd..9aa441aec4e0 100644 --- a/sdk/ec2/src/operation/describe_transit_gateways/builders.rs +++ b/sdk/ec2/src/operation/describe_transit_gateways/builders.rs @@ -20,9 +20,9 @@ impl DescribeTransitGatewaysFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -84,6 +84,22 @@ impl DescribeTransitGatewaysFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::describe_transit_gateways::DescribeTransitGateways, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::describe_transit_gateways::DescribeTransitGatewaysError, + >, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::describe_transit_gateways::paginator::DescribeTransitGatewaysPaginator::send) which returns a `Stream`. diff --git a/sdk/ec2/src/operation/describe_trunk_interface_associations/builders.rs b/sdk/ec2/src/operation/describe_trunk_interface_associations/builders.rs index 4088558446ec..b3246fa33da0 100644 --- a/sdk/ec2/src/operation/describe_trunk_interface_associations/builders.rs +++ b/sdk/ec2/src/operation/describe_trunk_interface_associations/builders.rs @@ -22,9 +22,9 @@ impl DescribeTrunkInterfaceAssociationsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize(self) -> ::std::result::Result< + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware(self) -> ::std::result::Result< crate::client::customize::CustomizableOperation, ::aws_smithy_http::result::SdkError >{ @@ -67,6 +67,15 @@ impl DescribeTrunkInterfaceAssociationsFluentBuilder { { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize(self) -> ::std::result::Result< + crate::client::customize::CustomizableOperation, + ::aws_smithy_http::result::SdkError + >{ + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::describe_trunk_interface_associations::paginator::DescribeTrunkInterfaceAssociationsPaginator::send) which returns a `Stream`. diff --git a/sdk/ec2/src/operation/describe_verified_access_endpoints/builders.rs b/sdk/ec2/src/operation/describe_verified_access_endpoints/builders.rs index 907efdad1621..d2761400e60f 100644 --- a/sdk/ec2/src/operation/describe_verified_access_endpoints/builders.rs +++ b/sdk/ec2/src/operation/describe_verified_access_endpoints/builders.rs @@ -19,9 +19,9 @@ impl DescribeVerifiedAccessEndpointsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize(self) -> ::std::result::Result< + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware(self) -> ::std::result::Result< crate::client::customize::CustomizableOperation, ::aws_smithy_http::result::SdkError >{ @@ -64,6 +64,15 @@ impl DescribeVerifiedAccessEndpointsFluentBuilder { { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize(self) -> ::std::result::Result< + crate::client::customize::CustomizableOperation, + ::aws_smithy_http::result::SdkError + >{ + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::describe_verified_access_endpoints::paginator::DescribeVerifiedAccessEndpointsPaginator::send) which returns a `Stream`. diff --git a/sdk/ec2/src/operation/describe_verified_access_groups/builders.rs b/sdk/ec2/src/operation/describe_verified_access_groups/builders.rs index f70fdacb9295..ffa00bc4dd30 100644 --- a/sdk/ec2/src/operation/describe_verified_access_groups/builders.rs +++ b/sdk/ec2/src/operation/describe_verified_access_groups/builders.rs @@ -19,9 +19,9 @@ impl DescribeVerifiedAccessGroupsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl DescribeVerifiedAccessGroupsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::describe_verified_access_groups::DescribeVerifiedAccessGroups, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::describe_verified_access_groups::DescribeVerifiedAccessGroupsError, + >, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::describe_verified_access_groups::paginator::DescribeVerifiedAccessGroupsPaginator::send) which returns a `Stream`. diff --git a/sdk/ec2/src/operation/describe_verified_access_instance_logging_configurations/builders.rs b/sdk/ec2/src/operation/describe_verified_access_instance_logging_configurations/builders.rs index b32e3d208036..3936734e43cb 100644 --- a/sdk/ec2/src/operation/describe_verified_access_instance_logging_configurations/builders.rs +++ b/sdk/ec2/src/operation/describe_verified_access_instance_logging_configurations/builders.rs @@ -19,9 +19,9 @@ impl DescribeVerifiedAccessInstanceLoggingConfigurationsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize(self) -> ::std::result::Result< + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware(self) -> ::std::result::Result< crate::client::customize::CustomizableOperation, ::aws_smithy_http::result::SdkError >{ @@ -64,6 +64,15 @@ impl DescribeVerifiedAccessInstanceLoggingConfigurationsFluentBuilder { { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize(self) -> ::std::result::Result< + crate::client::customize::CustomizableOperation, + ::aws_smithy_http::result::SdkError + >{ + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::describe_verified_access_instance_logging_configurations::paginator::DescribeVerifiedAccessInstanceLoggingConfigurationsPaginator::send) which returns a `Stream`. diff --git a/sdk/ec2/src/operation/describe_verified_access_instances/builders.rs b/sdk/ec2/src/operation/describe_verified_access_instances/builders.rs index 65d58a5f0370..067d086fae59 100644 --- a/sdk/ec2/src/operation/describe_verified_access_instances/builders.rs +++ b/sdk/ec2/src/operation/describe_verified_access_instances/builders.rs @@ -19,9 +19,9 @@ impl DescribeVerifiedAccessInstancesFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize(self) -> ::std::result::Result< + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware(self) -> ::std::result::Result< crate::client::customize::CustomizableOperation, ::aws_smithy_http::result::SdkError >{ @@ -64,6 +64,15 @@ impl DescribeVerifiedAccessInstancesFluentBuilder { { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize(self) -> ::std::result::Result< + crate::client::customize::CustomizableOperation, + ::aws_smithy_http::result::SdkError + >{ + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::describe_verified_access_instances::paginator::DescribeVerifiedAccessInstancesPaginator::send) which returns a `Stream`. diff --git a/sdk/ec2/src/operation/describe_verified_access_trust_providers/builders.rs b/sdk/ec2/src/operation/describe_verified_access_trust_providers/builders.rs index 994d846e2457..2df234eeeae2 100644 --- a/sdk/ec2/src/operation/describe_verified_access_trust_providers/builders.rs +++ b/sdk/ec2/src/operation/describe_verified_access_trust_providers/builders.rs @@ -19,9 +19,9 @@ impl DescribeVerifiedAccessTrustProvidersFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize(self) -> ::std::result::Result< + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware(self) -> ::std::result::Result< crate::client::customize::CustomizableOperation, ::aws_smithy_http::result::SdkError >{ @@ -64,6 +64,15 @@ impl DescribeVerifiedAccessTrustProvidersFluentBuilder { { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize(self) -> ::std::result::Result< + crate::client::customize::CustomizableOperation, + ::aws_smithy_http::result::SdkError + >{ + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::describe_verified_access_trust_providers::paginator::DescribeVerifiedAccessTrustProvidersPaginator::send) which returns a `Stream`. diff --git a/sdk/ec2/src/operation/describe_volume_attribute/builders.rs b/sdk/ec2/src/operation/describe_volume_attribute/builders.rs index 11a3460ea6d8..b55a28a2617a 100644 --- a/sdk/ec2/src/operation/describe_volume_attribute/builders.rs +++ b/sdk/ec2/src/operation/describe_volume_attribute/builders.rs @@ -21,9 +21,9 @@ impl DescribeVolumeAttributeFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -85,6 +85,22 @@ impl DescribeVolumeAttributeFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::describe_volume_attribute::DescribeVolumeAttribute, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::describe_volume_attribute::DescribeVolumeAttributeError, + >, + > { + self.customize_middleware().await + } ///

                                                                      The attribute of the volume. This parameter is required.

                                                                      pub fn attribute(mut self, input: crate::types::VolumeAttributeName) -> Self { self.inner = self.inner.attribute(input); diff --git a/sdk/ec2/src/operation/describe_volume_status/builders.rs b/sdk/ec2/src/operation/describe_volume_status/builders.rs index f050551f5139..278aed77bf9d 100644 --- a/sdk/ec2/src/operation/describe_volume_status/builders.rs +++ b/sdk/ec2/src/operation/describe_volume_status/builders.rs @@ -24,9 +24,9 @@ impl DescribeVolumeStatusFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -88,6 +88,22 @@ impl DescribeVolumeStatusFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::describe_volume_status::DescribeVolumeStatus, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::describe_volume_status::DescribeVolumeStatusError, + >, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::describe_volume_status::paginator::DescribeVolumeStatusPaginator::send) which returns a `Stream`. diff --git a/sdk/ec2/src/operation/describe_volumes/builders.rs b/sdk/ec2/src/operation/describe_volumes/builders.rs index 658dd4e104f3..cb6d986f76d9 100644 --- a/sdk/ec2/src/operation/describe_volumes/builders.rs +++ b/sdk/ec2/src/operation/describe_volumes/builders.rs @@ -21,9 +21,9 @@ impl DescribeVolumesFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -85,6 +85,22 @@ impl DescribeVolumesFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::describe_volumes::DescribeVolumes, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::describe_volumes::DescribeVolumesError, + >, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::describe_volumes::paginator::DescribeVolumesPaginator::send) which returns a `Stream`. diff --git a/sdk/ec2/src/operation/describe_volumes_modifications/builders.rs b/sdk/ec2/src/operation/describe_volumes_modifications/builders.rs index ce5c1d4df434..967d87bc9a79 100644 --- a/sdk/ec2/src/operation/describe_volumes_modifications/builders.rs +++ b/sdk/ec2/src/operation/describe_volumes_modifications/builders.rs @@ -21,9 +21,9 @@ impl DescribeVolumesModificationsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -85,6 +85,22 @@ impl DescribeVolumesModificationsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::describe_volumes_modifications::DescribeVolumesModifications, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::describe_volumes_modifications::DescribeVolumesModificationsError, + >, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::describe_volumes_modifications::paginator::DescribeVolumesModificationsPaginator::send) which returns a `Stream`. diff --git a/sdk/ec2/src/operation/describe_vpc_attribute/builders.rs b/sdk/ec2/src/operation/describe_vpc_attribute/builders.rs index ada22e737083..94e568683543 100644 --- a/sdk/ec2/src/operation/describe_vpc_attribute/builders.rs +++ b/sdk/ec2/src/operation/describe_vpc_attribute/builders.rs @@ -19,9 +19,9 @@ impl DescribeVpcAttributeFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl DescribeVpcAttributeFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::describe_vpc_attribute::DescribeVpcAttribute, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::describe_vpc_attribute::DescribeVpcAttributeError, + >, + > { + self.customize_middleware().await + } ///

                                                                      The VPC attribute.

                                                                      pub fn attribute(mut self, input: crate::types::VpcAttributeName) -> Self { self.inner = self.inner.attribute(input); diff --git a/sdk/ec2/src/operation/describe_vpc_classic_link/builders.rs b/sdk/ec2/src/operation/describe_vpc_classic_link/builders.rs index 1623d4900305..12eb8c4e2eb2 100644 --- a/sdk/ec2/src/operation/describe_vpc_classic_link/builders.rs +++ b/sdk/ec2/src/operation/describe_vpc_classic_link/builders.rs @@ -22,9 +22,9 @@ impl DescribeVpcClassicLinkFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -86,6 +86,22 @@ impl DescribeVpcClassicLinkFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::describe_vpc_classic_link::DescribeVpcClassicLink, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::describe_vpc_classic_link::DescribeVpcClassicLinkError, + >, + > { + self.customize_middleware().await + } /// Appends an item to `Filters`. /// /// To override the contents of this collection use [`set_filters`](Self::set_filters). diff --git a/sdk/ec2/src/operation/describe_vpc_classic_link_dns_support/builders.rs b/sdk/ec2/src/operation/describe_vpc_classic_link_dns_support/builders.rs index fbec0e176d9a..e6773bf77abc 100644 --- a/sdk/ec2/src/operation/describe_vpc_classic_link_dns_support/builders.rs +++ b/sdk/ec2/src/operation/describe_vpc_classic_link_dns_support/builders.rs @@ -22,9 +22,9 @@ impl DescribeVpcClassicLinkDnsSupportFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize(self) -> ::std::result::Result< + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware(self) -> ::std::result::Result< crate::client::customize::CustomizableOperation, ::aws_smithy_http::result::SdkError >{ @@ -67,6 +67,15 @@ impl DescribeVpcClassicLinkDnsSupportFluentBuilder { { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize(self) -> ::std::result::Result< + crate::client::customize::CustomizableOperation, + ::aws_smithy_http::result::SdkError + >{ + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::describe_vpc_classic_link_dns_support::paginator::DescribeVpcClassicLinkDnsSupportPaginator::send) which returns a `Stream`. diff --git a/sdk/ec2/src/operation/describe_vpc_endpoint_connection_notifications/builders.rs b/sdk/ec2/src/operation/describe_vpc_endpoint_connection_notifications/builders.rs index f9108b5ed32d..85523374ee64 100644 --- a/sdk/ec2/src/operation/describe_vpc_endpoint_connection_notifications/builders.rs +++ b/sdk/ec2/src/operation/describe_vpc_endpoint_connection_notifications/builders.rs @@ -19,9 +19,9 @@ impl DescribeVpcEndpointConnectionNotificationsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize(self) -> ::std::result::Result< + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware(self) -> ::std::result::Result< crate::client::customize::CustomizableOperation, ::aws_smithy_http::result::SdkError >{ @@ -64,6 +64,15 @@ impl DescribeVpcEndpointConnectionNotificationsFluentBuilder { { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize(self) -> ::std::result::Result< + crate::client::customize::CustomizableOperation, + ::aws_smithy_http::result::SdkError + >{ + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::describe_vpc_endpoint_connection_notifications::paginator::DescribeVpcEndpointConnectionNotificationsPaginator::send) which returns a `Stream`. diff --git a/sdk/ec2/src/operation/describe_vpc_endpoint_connections/builders.rs b/sdk/ec2/src/operation/describe_vpc_endpoint_connections/builders.rs index 640fa7665df8..820370e41f1a 100644 --- a/sdk/ec2/src/operation/describe_vpc_endpoint_connections/builders.rs +++ b/sdk/ec2/src/operation/describe_vpc_endpoint_connections/builders.rs @@ -19,9 +19,9 @@ impl DescribeVpcEndpointConnectionsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize(self) -> ::std::result::Result< + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware(self) -> ::std::result::Result< crate::client::customize::CustomizableOperation, ::aws_smithy_http::result::SdkError >{ @@ -64,6 +64,15 @@ impl DescribeVpcEndpointConnectionsFluentBuilder { { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize(self) -> ::std::result::Result< + crate::client::customize::CustomizableOperation, + ::aws_smithy_http::result::SdkError + >{ + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::describe_vpc_endpoint_connections::paginator::DescribeVpcEndpointConnectionsPaginator::send) which returns a `Stream`. diff --git a/sdk/ec2/src/operation/describe_vpc_endpoint_service_configurations/builders.rs b/sdk/ec2/src/operation/describe_vpc_endpoint_service_configurations/builders.rs index 8c93ca56a383..597080fac0c1 100644 --- a/sdk/ec2/src/operation/describe_vpc_endpoint_service_configurations/builders.rs +++ b/sdk/ec2/src/operation/describe_vpc_endpoint_service_configurations/builders.rs @@ -19,9 +19,9 @@ impl DescribeVpcEndpointServiceConfigurationsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize(self) -> ::std::result::Result< + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware(self) -> ::std::result::Result< crate::client::customize::CustomizableOperation, ::aws_smithy_http::result::SdkError >{ @@ -64,6 +64,15 @@ impl DescribeVpcEndpointServiceConfigurationsFluentBuilder { { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize(self) -> ::std::result::Result< + crate::client::customize::CustomizableOperation, + ::aws_smithy_http::result::SdkError + >{ + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::describe_vpc_endpoint_service_configurations::paginator::DescribeVpcEndpointServiceConfigurationsPaginator::send) which returns a `Stream`. diff --git a/sdk/ec2/src/operation/describe_vpc_endpoint_service_permissions/builders.rs b/sdk/ec2/src/operation/describe_vpc_endpoint_service_permissions/builders.rs index 7e8ab63a5900..30635d980da6 100644 --- a/sdk/ec2/src/operation/describe_vpc_endpoint_service_permissions/builders.rs +++ b/sdk/ec2/src/operation/describe_vpc_endpoint_service_permissions/builders.rs @@ -19,9 +19,9 @@ impl DescribeVpcEndpointServicePermissionsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize(self) -> ::std::result::Result< + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware(self) -> ::std::result::Result< crate::client::customize::CustomizableOperation, ::aws_smithy_http::result::SdkError >{ @@ -64,6 +64,15 @@ impl DescribeVpcEndpointServicePermissionsFluentBuilder { { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize(self) -> ::std::result::Result< + crate::client::customize::CustomizableOperation, + ::aws_smithy_http::result::SdkError + >{ + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::describe_vpc_endpoint_service_permissions::paginator::DescribeVpcEndpointServicePermissionsPaginator::send) which returns a `Stream`. diff --git a/sdk/ec2/src/operation/describe_vpc_endpoint_services/builders.rs b/sdk/ec2/src/operation/describe_vpc_endpoint_services/builders.rs index ed3ed47c0300..ccc545530bf4 100644 --- a/sdk/ec2/src/operation/describe_vpc_endpoint_services/builders.rs +++ b/sdk/ec2/src/operation/describe_vpc_endpoint_services/builders.rs @@ -20,9 +20,9 @@ impl DescribeVpcEndpointServicesFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -84,6 +84,22 @@ impl DescribeVpcEndpointServicesFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::describe_vpc_endpoint_services::DescribeVpcEndpointServices, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::describe_vpc_endpoint_services::DescribeVpcEndpointServicesError, + >, + > { + self.customize_middleware().await + } ///

                                                                      Checks whether you have the required permissions for the action, without actually making the request, and provides an error response. If you have the required permissions, the error response is DryRunOperation. Otherwise, it is UnauthorizedOperation.

                                                                      pub fn dry_run(mut self, input: bool) -> Self { self.inner = self.inner.dry_run(input); diff --git a/sdk/ec2/src/operation/describe_vpc_endpoints/builders.rs b/sdk/ec2/src/operation/describe_vpc_endpoints/builders.rs index 6bc9fd3ac4e8..e7cffc53eda9 100644 --- a/sdk/ec2/src/operation/describe_vpc_endpoints/builders.rs +++ b/sdk/ec2/src/operation/describe_vpc_endpoints/builders.rs @@ -19,9 +19,9 @@ impl DescribeVpcEndpointsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl DescribeVpcEndpointsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::describe_vpc_endpoints::DescribeVpcEndpoints, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::describe_vpc_endpoints::DescribeVpcEndpointsError, + >, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::describe_vpc_endpoints::paginator::DescribeVpcEndpointsPaginator::send) which returns a `Stream`. diff --git a/sdk/ec2/src/operation/describe_vpc_peering_connections/builders.rs b/sdk/ec2/src/operation/describe_vpc_peering_connections/builders.rs index 081e623738cc..b1c25f73d672 100644 --- a/sdk/ec2/src/operation/describe_vpc_peering_connections/builders.rs +++ b/sdk/ec2/src/operation/describe_vpc_peering_connections/builders.rs @@ -19,9 +19,9 @@ impl DescribeVpcPeeringConnectionsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl DescribeVpcPeeringConnectionsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::describe_vpc_peering_connections::DescribeVpcPeeringConnections, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::describe_vpc_peering_connections::DescribeVpcPeeringConnectionsError, + >, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::describe_vpc_peering_connections::paginator::DescribeVpcPeeringConnectionsPaginator::send) which returns a `Stream`. diff --git a/sdk/ec2/src/operation/describe_vpcs/builders.rs b/sdk/ec2/src/operation/describe_vpcs/builders.rs index 56a3e34e6fcc..4e85b92a2258 100644 --- a/sdk/ec2/src/operation/describe_vpcs/builders.rs +++ b/sdk/ec2/src/operation/describe_vpcs/builders.rs @@ -19,9 +19,9 @@ impl DescribeVpcsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl DescribeVpcsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::describe_vpcs::DescribeVpcs, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::describe_vpcs::paginator::DescribeVpcsPaginator::send) which returns a `Stream`. diff --git a/sdk/ec2/src/operation/describe_vpn_connections/builders.rs b/sdk/ec2/src/operation/describe_vpn_connections/builders.rs index 6454669456ee..f917b0e62e7e 100644 --- a/sdk/ec2/src/operation/describe_vpn_connections/builders.rs +++ b/sdk/ec2/src/operation/describe_vpn_connections/builders.rs @@ -20,9 +20,9 @@ impl DescribeVpnConnectionsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -84,6 +84,22 @@ impl DescribeVpnConnectionsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::describe_vpn_connections::DescribeVpnConnections, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::describe_vpn_connections::DescribeVpnConnectionsError, + >, + > { + self.customize_middleware().await + } /// Appends an item to `Filters`. /// /// To override the contents of this collection use [`set_filters`](Self::set_filters). diff --git a/sdk/ec2/src/operation/describe_vpn_gateways/builders.rs b/sdk/ec2/src/operation/describe_vpn_gateways/builders.rs index 0d782003dd7c..e51002761cbe 100644 --- a/sdk/ec2/src/operation/describe_vpn_gateways/builders.rs +++ b/sdk/ec2/src/operation/describe_vpn_gateways/builders.rs @@ -20,9 +20,9 @@ impl DescribeVpnGatewaysFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -84,6 +84,22 @@ impl DescribeVpnGatewaysFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::describe_vpn_gateways::DescribeVpnGateways, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::describe_vpn_gateways::DescribeVpnGatewaysError, + >, + > { + self.customize_middleware().await + } /// Appends an item to `Filters`. /// /// To override the contents of this collection use [`set_filters`](Self::set_filters). diff --git a/sdk/ec2/src/operation/detach_classic_link_vpc/builders.rs b/sdk/ec2/src/operation/detach_classic_link_vpc/builders.rs index 84001d53c51b..2a27f328fd19 100644 --- a/sdk/ec2/src/operation/detach_classic_link_vpc/builders.rs +++ b/sdk/ec2/src/operation/detach_classic_link_vpc/builders.rs @@ -22,9 +22,9 @@ impl DetachClassicLinkVpcFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -86,6 +86,22 @@ impl DetachClassicLinkVpcFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::detach_classic_link_vpc::DetachClassicLinkVpc, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::detach_classic_link_vpc::DetachClassicLinkVpcError, + >, + > { + self.customize_middleware().await + } ///

                                                                      Checks whether you have the required permissions for the action, without actually making the request, and provides an error response. If you have the required permissions, the error response is DryRunOperation. Otherwise, it is UnauthorizedOperation.

                                                                      pub fn dry_run(mut self, input: bool) -> Self { self.inner = self.inner.dry_run(input); diff --git a/sdk/ec2/src/operation/detach_internet_gateway/builders.rs b/sdk/ec2/src/operation/detach_internet_gateway/builders.rs index 3edfe0a59d5b..d722768cdfe7 100644 --- a/sdk/ec2/src/operation/detach_internet_gateway/builders.rs +++ b/sdk/ec2/src/operation/detach_internet_gateway/builders.rs @@ -19,9 +19,9 @@ impl DetachInternetGatewayFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl DetachInternetGatewayFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::detach_internet_gateway::DetachInternetGateway, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::detach_internet_gateway::DetachInternetGatewayError, + >, + > { + self.customize_middleware().await + } ///

                                                                      Checks whether you have the required permissions for the action, without actually making the request, and provides an error response. If you have the required permissions, the error response is DryRunOperation. Otherwise, it is UnauthorizedOperation.

                                                                      pub fn dry_run(mut self, input: bool) -> Self { self.inner = self.inner.dry_run(input); diff --git a/sdk/ec2/src/operation/detach_network_interface/builders.rs b/sdk/ec2/src/operation/detach_network_interface/builders.rs index 419d14f619b7..f527e460264a 100644 --- a/sdk/ec2/src/operation/detach_network_interface/builders.rs +++ b/sdk/ec2/src/operation/detach_network_interface/builders.rs @@ -19,9 +19,9 @@ impl DetachNetworkInterfaceFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl DetachNetworkInterfaceFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::detach_network_interface::DetachNetworkInterface, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::detach_network_interface::DetachNetworkInterfaceError, + >, + > { + self.customize_middleware().await + } ///

                                                                      The ID of the attachment.

                                                                      pub fn attachment_id( mut self, diff --git a/sdk/ec2/src/operation/detach_verified_access_trust_provider/builders.rs b/sdk/ec2/src/operation/detach_verified_access_trust_provider/builders.rs index 87dfaf0845c5..5022dcb91cf7 100644 --- a/sdk/ec2/src/operation/detach_verified_access_trust_provider/builders.rs +++ b/sdk/ec2/src/operation/detach_verified_access_trust_provider/builders.rs @@ -19,9 +19,9 @@ impl DetachVerifiedAccessTrustProviderFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize(self) -> ::std::result::Result< + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware(self) -> ::std::result::Result< crate::client::customize::CustomizableOperation, ::aws_smithy_http::result::SdkError >{ @@ -64,6 +64,15 @@ impl DetachVerifiedAccessTrustProviderFluentBuilder { { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize(self) -> ::std::result::Result< + crate::client::customize::CustomizableOperation, + ::aws_smithy_http::result::SdkError + >{ + self.customize_middleware().await + } ///

                                                                      The ID of the Verified Access instance.

                                                                      pub fn verified_access_instance_id( mut self, diff --git a/sdk/ec2/src/operation/detach_volume/builders.rs b/sdk/ec2/src/operation/detach_volume/builders.rs index 76b11aaaadb5..65f46c4ed562 100644 --- a/sdk/ec2/src/operation/detach_volume/builders.rs +++ b/sdk/ec2/src/operation/detach_volume/builders.rs @@ -21,9 +21,9 @@ impl DetachVolumeFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -79,6 +79,20 @@ impl DetachVolumeFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::detach_volume::DetachVolume, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                      The device name.

                                                                      pub fn device(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.device(input.into()); diff --git a/sdk/ec2/src/operation/detach_vpn_gateway/builders.rs b/sdk/ec2/src/operation/detach_vpn_gateway/builders.rs index ffb20625c124..1a5db7386be1 100644 --- a/sdk/ec2/src/operation/detach_vpn_gateway/builders.rs +++ b/sdk/ec2/src/operation/detach_vpn_gateway/builders.rs @@ -20,9 +20,9 @@ impl DetachVpnGatewayFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -84,6 +84,22 @@ impl DetachVpnGatewayFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::detach_vpn_gateway::DetachVpnGateway, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::detach_vpn_gateway::DetachVpnGatewayError, + >, + > { + self.customize_middleware().await + } ///

                                                                      The ID of the VPC.

                                                                      pub fn vpc_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.vpc_id(input.into()); diff --git a/sdk/ec2/src/operation/disable_address_transfer/builders.rs b/sdk/ec2/src/operation/disable_address_transfer/builders.rs index 8e01ea71a13a..fdd9ac34af39 100644 --- a/sdk/ec2/src/operation/disable_address_transfer/builders.rs +++ b/sdk/ec2/src/operation/disable_address_transfer/builders.rs @@ -19,9 +19,9 @@ impl DisableAddressTransferFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl DisableAddressTransferFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::disable_address_transfer::DisableAddressTransfer, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::disable_address_transfer::DisableAddressTransferError, + >, + > { + self.customize_middleware().await + } ///

                                                                      The allocation ID of an Elastic IP address.

                                                                      pub fn allocation_id( mut self, diff --git a/sdk/ec2/src/operation/disable_aws_network_performance_metric_subscription/builders.rs b/sdk/ec2/src/operation/disable_aws_network_performance_metric_subscription/builders.rs index cbb994f3d079..d1b50eb355ac 100644 --- a/sdk/ec2/src/operation/disable_aws_network_performance_metric_subscription/builders.rs +++ b/sdk/ec2/src/operation/disable_aws_network_performance_metric_subscription/builders.rs @@ -19,9 +19,9 @@ impl DisableAwsNetworkPerformanceMetricSubscriptionFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize(self) -> ::std::result::Result< + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware(self) -> ::std::result::Result< crate::client::customize::CustomizableOperation, ::aws_smithy_http::result::SdkError >{ @@ -64,6 +64,15 @@ impl DisableAwsNetworkPerformanceMetricSubscriptionFluentBuilder { { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize(self) -> ::std::result::Result< + crate::client::customize::CustomizableOperation, + ::aws_smithy_http::result::SdkError + >{ + self.customize_middleware().await + } ///

                                                                      The source Region or Availability Zone that the metric subscription is disabled for. For example, us-east-1.

                                                                      pub fn source(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.source(input.into()); diff --git a/sdk/ec2/src/operation/disable_ebs_encryption_by_default/builders.rs b/sdk/ec2/src/operation/disable_ebs_encryption_by_default/builders.rs index c5a2a9926e3d..dad13de42ade 100644 --- a/sdk/ec2/src/operation/disable_ebs_encryption_by_default/builders.rs +++ b/sdk/ec2/src/operation/disable_ebs_encryption_by_default/builders.rs @@ -22,9 +22,9 @@ impl DisableEbsEncryptionByDefaultFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -86,6 +86,22 @@ impl DisableEbsEncryptionByDefaultFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::disable_ebs_encryption_by_default::DisableEbsEncryptionByDefault, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::disable_ebs_encryption_by_default::DisableEbsEncryptionByDefaultError, + >, + > { + self.customize_middleware().await + } ///

                                                                      Checks whether you have the required permissions for the action, without actually making the request, and provides an error response. If you have the required permissions, the error response is DryRunOperation. Otherwise, it is UnauthorizedOperation.

                                                                      pub fn dry_run(mut self, input: bool) -> Self { self.inner = self.inner.dry_run(input); diff --git a/sdk/ec2/src/operation/disable_fast_launch/builders.rs b/sdk/ec2/src/operation/disable_fast_launch/builders.rs index 09610809e614..1e27edcf6986 100644 --- a/sdk/ec2/src/operation/disable_fast_launch/builders.rs +++ b/sdk/ec2/src/operation/disable_fast_launch/builders.rs @@ -21,9 +21,9 @@ impl DisableFastLaunchFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -85,6 +85,22 @@ impl DisableFastLaunchFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::disable_fast_launch::DisableFastLaunch, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::disable_fast_launch::DisableFastLaunchError, + >, + > { + self.customize_middleware().await + } ///

                                                                      The ID of the image for which you’re turning off faster launching, and removing pre-provisioned snapshots.

                                                                      pub fn image_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.image_id(input.into()); diff --git a/sdk/ec2/src/operation/disable_fast_snapshot_restores/builders.rs b/sdk/ec2/src/operation/disable_fast_snapshot_restores/builders.rs index f82a6d586b0f..96ae01f7874e 100644 --- a/sdk/ec2/src/operation/disable_fast_snapshot_restores/builders.rs +++ b/sdk/ec2/src/operation/disable_fast_snapshot_restores/builders.rs @@ -19,9 +19,9 @@ impl DisableFastSnapshotRestoresFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl DisableFastSnapshotRestoresFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::disable_fast_snapshot_restores::DisableFastSnapshotRestores, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::disable_fast_snapshot_restores::DisableFastSnapshotRestoresError, + >, + > { + self.customize_middleware().await + } /// Appends an item to `AvailabilityZones`. /// /// To override the contents of this collection use [`set_availability_zones`](Self::set_availability_zones). diff --git a/sdk/ec2/src/operation/disable_image_deprecation/builders.rs b/sdk/ec2/src/operation/disable_image_deprecation/builders.rs index ef70336870ca..c58064feb5f9 100644 --- a/sdk/ec2/src/operation/disable_image_deprecation/builders.rs +++ b/sdk/ec2/src/operation/disable_image_deprecation/builders.rs @@ -21,9 +21,9 @@ impl DisableImageDeprecationFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -85,6 +85,22 @@ impl DisableImageDeprecationFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::disable_image_deprecation::DisableImageDeprecation, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::disable_image_deprecation::DisableImageDeprecationError, + >, + > { + self.customize_middleware().await + } ///

                                                                      The ID of the AMI.

                                                                      pub fn image_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.image_id(input.into()); diff --git a/sdk/ec2/src/operation/disable_ipam_organization_admin_account/builders.rs b/sdk/ec2/src/operation/disable_ipam_organization_admin_account/builders.rs index 0bb909270b32..83f49502215a 100644 --- a/sdk/ec2/src/operation/disable_ipam_organization_admin_account/builders.rs +++ b/sdk/ec2/src/operation/disable_ipam_organization_admin_account/builders.rs @@ -19,9 +19,9 @@ impl DisableIpamOrganizationAdminAccountFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize(self) -> ::std::result::Result< + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware(self) -> ::std::result::Result< crate::client::customize::CustomizableOperation, ::aws_smithy_http::result::SdkError >{ @@ -64,6 +64,15 @@ impl DisableIpamOrganizationAdminAccountFluentBuilder { { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize(self) -> ::std::result::Result< + crate::client::customize::CustomizableOperation, + ::aws_smithy_http::result::SdkError + >{ + self.customize_middleware().await + } ///

                                                                      A check for whether you have the required permissions for the action without actually making the request and provides an error response. If you have the required permissions, the error response is DryRunOperation. Otherwise, it is UnauthorizedOperation.

                                                                      pub fn dry_run(mut self, input: bool) -> Self { self.inner = self.inner.dry_run(input); diff --git a/sdk/ec2/src/operation/disable_serial_console_access/builders.rs b/sdk/ec2/src/operation/disable_serial_console_access/builders.rs index 5b60a3924ad0..3c8181b11047 100644 --- a/sdk/ec2/src/operation/disable_serial_console_access/builders.rs +++ b/sdk/ec2/src/operation/disable_serial_console_access/builders.rs @@ -19,9 +19,9 @@ impl DisableSerialConsoleAccessFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl DisableSerialConsoleAccessFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::disable_serial_console_access::DisableSerialConsoleAccess, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::disable_serial_console_access::DisableSerialConsoleAccessError, + >, + > { + self.customize_middleware().await + } ///

                                                                      Checks whether you have the required permissions for the action, without actually making the request, and provides an error response. If you have the required permissions, the error response is DryRunOperation. Otherwise, it is UnauthorizedOperation.

                                                                      pub fn dry_run(mut self, input: bool) -> Self { self.inner = self.inner.dry_run(input); diff --git a/sdk/ec2/src/operation/disable_transit_gateway_route_table_propagation/builders.rs b/sdk/ec2/src/operation/disable_transit_gateway_route_table_propagation/builders.rs index 102a1358e3b2..984956985b2d 100644 --- a/sdk/ec2/src/operation/disable_transit_gateway_route_table_propagation/builders.rs +++ b/sdk/ec2/src/operation/disable_transit_gateway_route_table_propagation/builders.rs @@ -19,9 +19,9 @@ impl DisableTransitGatewayRouteTablePropagationFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize(self) -> ::std::result::Result< + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware(self) -> ::std::result::Result< crate::client::customize::CustomizableOperation, ::aws_smithy_http::result::SdkError >{ @@ -64,6 +64,15 @@ impl DisableTransitGatewayRouteTablePropagationFluentBuilder { { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize(self) -> ::std::result::Result< + crate::client::customize::CustomizableOperation, + ::aws_smithy_http::result::SdkError + >{ + self.customize_middleware().await + } ///

                                                                      The ID of the propagation route table.

                                                                      pub fn transit_gateway_route_table_id( mut self, diff --git a/sdk/ec2/src/operation/disable_vgw_route_propagation/builders.rs b/sdk/ec2/src/operation/disable_vgw_route_propagation/builders.rs index 05c5221a0647..40a910c315b5 100644 --- a/sdk/ec2/src/operation/disable_vgw_route_propagation/builders.rs +++ b/sdk/ec2/src/operation/disable_vgw_route_propagation/builders.rs @@ -19,9 +19,9 @@ impl DisableVgwRoutePropagationFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl DisableVgwRoutePropagationFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::disable_vgw_route_propagation::DisableVgwRoutePropagation, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::disable_vgw_route_propagation::DisableVgwRoutePropagationError, + >, + > { + self.customize_middleware().await + } ///

                                                                      The ID of the virtual private gateway.

                                                                      pub fn gateway_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.gateway_id(input.into()); diff --git a/sdk/ec2/src/operation/disable_vpc_classic_link/builders.rs b/sdk/ec2/src/operation/disable_vpc_classic_link/builders.rs index 5beadb2d69b1..e541512641d9 100644 --- a/sdk/ec2/src/operation/disable_vpc_classic_link/builders.rs +++ b/sdk/ec2/src/operation/disable_vpc_classic_link/builders.rs @@ -21,9 +21,9 @@ impl DisableVpcClassicLinkFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -85,6 +85,22 @@ impl DisableVpcClassicLinkFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::disable_vpc_classic_link::DisableVpcClassicLink, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::disable_vpc_classic_link::DisableVpcClassicLinkError, + >, + > { + self.customize_middleware().await + } ///

                                                                      Checks whether you have the required permissions for the action, without actually making the request, and provides an error response. If you have the required permissions, the error response is DryRunOperation. Otherwise, it is UnauthorizedOperation.

                                                                      pub fn dry_run(mut self, input: bool) -> Self { self.inner = self.inner.dry_run(input); diff --git a/sdk/ec2/src/operation/disable_vpc_classic_link_dns_support/builders.rs b/sdk/ec2/src/operation/disable_vpc_classic_link_dns_support/builders.rs index 0488411a7c24..c30a9342b621 100644 --- a/sdk/ec2/src/operation/disable_vpc_classic_link_dns_support/builders.rs +++ b/sdk/ec2/src/operation/disable_vpc_classic_link_dns_support/builders.rs @@ -22,9 +22,9 @@ impl DisableVpcClassicLinkDnsSupportFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize(self) -> ::std::result::Result< + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware(self) -> ::std::result::Result< crate::client::customize::CustomizableOperation, ::aws_smithy_http::result::SdkError >{ @@ -67,6 +67,15 @@ impl DisableVpcClassicLinkDnsSupportFluentBuilder { { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize(self) -> ::std::result::Result< + crate::client::customize::CustomizableOperation, + ::aws_smithy_http::result::SdkError + >{ + self.customize_middleware().await + } ///

                                                                      The ID of the VPC.

                                                                      pub fn vpc_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.vpc_id(input.into()); diff --git a/sdk/ec2/src/operation/disassociate_address/builders.rs b/sdk/ec2/src/operation/disassociate_address/builders.rs index b6f3536cbf19..4bbdb07928d9 100644 --- a/sdk/ec2/src/operation/disassociate_address/builders.rs +++ b/sdk/ec2/src/operation/disassociate_address/builders.rs @@ -23,9 +23,9 @@ impl DisassociateAddressFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -87,6 +87,22 @@ impl DisassociateAddressFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::disassociate_address::DisassociateAddress, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::disassociate_address::DisassociateAddressError, + >, + > { + self.customize_middleware().await + } ///

                                                                      [EC2-VPC] The association ID. Required for EC2-VPC.

                                                                      pub fn association_id( mut self, diff --git a/sdk/ec2/src/operation/disassociate_client_vpn_target_network/builders.rs b/sdk/ec2/src/operation/disassociate_client_vpn_target_network/builders.rs index f517d05a4b2a..33899d4ed27f 100644 --- a/sdk/ec2/src/operation/disassociate_client_vpn_target_network/builders.rs +++ b/sdk/ec2/src/operation/disassociate_client_vpn_target_network/builders.rs @@ -25,9 +25,9 @@ impl DisassociateClientVpnTargetNetworkFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize(self) -> ::std::result::Result< + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware(self) -> ::std::result::Result< crate::client::customize::CustomizableOperation, ::aws_smithy_http::result::SdkError >{ @@ -70,6 +70,15 @@ impl DisassociateClientVpnTargetNetworkFluentBuilder { { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize(self) -> ::std::result::Result< + crate::client::customize::CustomizableOperation, + ::aws_smithy_http::result::SdkError + >{ + self.customize_middleware().await + } ///

                                                                      The ID of the Client VPN endpoint from which to disassociate the target network.

                                                                      pub fn client_vpn_endpoint_id( mut self, diff --git a/sdk/ec2/src/operation/disassociate_enclave_certificate_iam_role/builders.rs b/sdk/ec2/src/operation/disassociate_enclave_certificate_iam_role/builders.rs index 979bf8e60ffc..3095ed5ec0c4 100644 --- a/sdk/ec2/src/operation/disassociate_enclave_certificate_iam_role/builders.rs +++ b/sdk/ec2/src/operation/disassociate_enclave_certificate_iam_role/builders.rs @@ -19,9 +19,9 @@ impl DisassociateEnclaveCertificateIamRoleFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize(self) -> ::std::result::Result< + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware(self) -> ::std::result::Result< crate::client::customize::CustomizableOperation, ::aws_smithy_http::result::SdkError >{ @@ -64,6 +64,15 @@ impl DisassociateEnclaveCertificateIamRoleFluentBuilder { { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize(self) -> ::std::result::Result< + crate::client::customize::CustomizableOperation, + ::aws_smithy_http::result::SdkError + >{ + self.customize_middleware().await + } ///

                                                                      The ARN of the ACM certificate from which to disassociate the IAM role.

                                                                      pub fn certificate_arn( mut self, diff --git a/sdk/ec2/src/operation/disassociate_iam_instance_profile/builders.rs b/sdk/ec2/src/operation/disassociate_iam_instance_profile/builders.rs index 0f76e1c8ece2..cd58fd297461 100644 --- a/sdk/ec2/src/operation/disassociate_iam_instance_profile/builders.rs +++ b/sdk/ec2/src/operation/disassociate_iam_instance_profile/builders.rs @@ -20,9 +20,9 @@ impl DisassociateIamInstanceProfileFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize(self) -> ::std::result::Result< + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware(self) -> ::std::result::Result< crate::client::customize::CustomizableOperation, ::aws_smithy_http::result::SdkError >{ @@ -65,6 +65,15 @@ impl DisassociateIamInstanceProfileFluentBuilder { { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize(self) -> ::std::result::Result< + crate::client::customize::CustomizableOperation, + ::aws_smithy_http::result::SdkError + >{ + self.customize_middleware().await + } ///

                                                                      The ID of the IAM instance profile association.

                                                                      pub fn association_id( mut self, diff --git a/sdk/ec2/src/operation/disassociate_instance_event_window/builders.rs b/sdk/ec2/src/operation/disassociate_instance_event_window/builders.rs index 4720d79a20e7..31e846d4563e 100644 --- a/sdk/ec2/src/operation/disassociate_instance_event_window/builders.rs +++ b/sdk/ec2/src/operation/disassociate_instance_event_window/builders.rs @@ -20,9 +20,9 @@ impl DisassociateInstanceEventWindowFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize(self) -> ::std::result::Result< + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware(self) -> ::std::result::Result< crate::client::customize::CustomizableOperation, ::aws_smithy_http::result::SdkError >{ @@ -65,6 +65,15 @@ impl DisassociateInstanceEventWindowFluentBuilder { { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize(self) -> ::std::result::Result< + crate::client::customize::CustomizableOperation, + ::aws_smithy_http::result::SdkError + >{ + self.customize_middleware().await + } ///

                                                                      Checks whether you have the required permissions for the action, without actually making the request, and provides an error response. If you have the required permissions, the error response is DryRunOperation. Otherwise, it is UnauthorizedOperation.

                                                                      pub fn dry_run(mut self, input: bool) -> Self { self.inner = self.inner.dry_run(input); diff --git a/sdk/ec2/src/operation/disassociate_ipam_resource_discovery/builders.rs b/sdk/ec2/src/operation/disassociate_ipam_resource_discovery/builders.rs index bf9865ea1a61..da319906238e 100644 --- a/sdk/ec2/src/operation/disassociate_ipam_resource_discovery/builders.rs +++ b/sdk/ec2/src/operation/disassociate_ipam_resource_discovery/builders.rs @@ -19,9 +19,9 @@ impl DisassociateIpamResourceDiscoveryFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize(self) -> ::std::result::Result< + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware(self) -> ::std::result::Result< crate::client::customize::CustomizableOperation, ::aws_smithy_http::result::SdkError >{ @@ -64,6 +64,15 @@ impl DisassociateIpamResourceDiscoveryFluentBuilder { { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize(self) -> ::std::result::Result< + crate::client::customize::CustomizableOperation, + ::aws_smithy_http::result::SdkError + >{ + self.customize_middleware().await + } ///

                                                                      A check for whether you have the required permissions for the action without actually making the request and provides an error response. If you have the required permissions, the error response is DryRunOperation. Otherwise, it is UnauthorizedOperation.

                                                                      pub fn dry_run(mut self, input: bool) -> Self { self.inner = self.inner.dry_run(input); diff --git a/sdk/ec2/src/operation/disassociate_nat_gateway_address/builders.rs b/sdk/ec2/src/operation/disassociate_nat_gateway_address/builders.rs index 5a85ef35d20b..c070548de210 100644 --- a/sdk/ec2/src/operation/disassociate_nat_gateway_address/builders.rs +++ b/sdk/ec2/src/operation/disassociate_nat_gateway_address/builders.rs @@ -21,9 +21,9 @@ impl DisassociateNatGatewayAddressFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -85,6 +85,22 @@ impl DisassociateNatGatewayAddressFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::disassociate_nat_gateway_address::DisassociateNatGatewayAddress, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::disassociate_nat_gateway_address::DisassociateNatGatewayAddressError, + >, + > { + self.customize_middleware().await + } ///

                                                                      The NAT gateway ID.

                                                                      pub fn nat_gateway_id( mut self, diff --git a/sdk/ec2/src/operation/disassociate_route_table/builders.rs b/sdk/ec2/src/operation/disassociate_route_table/builders.rs index aecd11cecf62..709a4f3ac2b7 100644 --- a/sdk/ec2/src/operation/disassociate_route_table/builders.rs +++ b/sdk/ec2/src/operation/disassociate_route_table/builders.rs @@ -20,9 +20,9 @@ impl DisassociateRouteTableFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -84,6 +84,22 @@ impl DisassociateRouteTableFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::disassociate_route_table::DisassociateRouteTable, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::disassociate_route_table::DisassociateRouteTableError, + >, + > { + self.customize_middleware().await + } ///

                                                                      The association ID representing the current association between the route table and subnet or gateway.

                                                                      pub fn association_id( mut self, diff --git a/sdk/ec2/src/operation/disassociate_subnet_cidr_block/builders.rs b/sdk/ec2/src/operation/disassociate_subnet_cidr_block/builders.rs index fec5e0e3a82f..188b7fb79f42 100644 --- a/sdk/ec2/src/operation/disassociate_subnet_cidr_block/builders.rs +++ b/sdk/ec2/src/operation/disassociate_subnet_cidr_block/builders.rs @@ -19,9 +19,9 @@ impl DisassociateSubnetCidrBlockFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl DisassociateSubnetCidrBlockFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::disassociate_subnet_cidr_block::DisassociateSubnetCidrBlock, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::disassociate_subnet_cidr_block::DisassociateSubnetCidrBlockError, + >, + > { + self.customize_middleware().await + } ///

                                                                      The association ID for the CIDR block.

                                                                      pub fn association_id( mut self, diff --git a/sdk/ec2/src/operation/disassociate_transit_gateway_multicast_domain/builders.rs b/sdk/ec2/src/operation/disassociate_transit_gateway_multicast_domain/builders.rs index 6541f7041427..6d56f79c5bf6 100644 --- a/sdk/ec2/src/operation/disassociate_transit_gateway_multicast_domain/builders.rs +++ b/sdk/ec2/src/operation/disassociate_transit_gateway_multicast_domain/builders.rs @@ -19,9 +19,9 @@ impl DisassociateTransitGatewayMulticastDomainFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize(self) -> ::std::result::Result< + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware(self) -> ::std::result::Result< crate::client::customize::CustomizableOperation, ::aws_smithy_http::result::SdkError >{ @@ -64,6 +64,15 @@ impl DisassociateTransitGatewayMulticastDomainFluentBuilder { { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize(self) -> ::std::result::Result< + crate::client::customize::CustomizableOperation, + ::aws_smithy_http::result::SdkError + >{ + self.customize_middleware().await + } ///

                                                                      The ID of the transit gateway multicast domain.

                                                                      pub fn transit_gateway_multicast_domain_id( mut self, diff --git a/sdk/ec2/src/operation/disassociate_transit_gateway_policy_table/builders.rs b/sdk/ec2/src/operation/disassociate_transit_gateway_policy_table/builders.rs index 3af4766dbdd8..d7ebb22ac014 100644 --- a/sdk/ec2/src/operation/disassociate_transit_gateway_policy_table/builders.rs +++ b/sdk/ec2/src/operation/disassociate_transit_gateway_policy_table/builders.rs @@ -19,9 +19,9 @@ impl DisassociateTransitGatewayPolicyTableFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize(self) -> ::std::result::Result< + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware(self) -> ::std::result::Result< crate::client::customize::CustomizableOperation, ::aws_smithy_http::result::SdkError >{ @@ -64,6 +64,15 @@ impl DisassociateTransitGatewayPolicyTableFluentBuilder { { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize(self) -> ::std::result::Result< + crate::client::customize::CustomizableOperation, + ::aws_smithy_http::result::SdkError + >{ + self.customize_middleware().await + } ///

                                                                      The ID of the disassociated policy table.

                                                                      pub fn transit_gateway_policy_table_id( mut self, diff --git a/sdk/ec2/src/operation/disassociate_transit_gateway_route_table/builders.rs b/sdk/ec2/src/operation/disassociate_transit_gateway_route_table/builders.rs index 15f40f0aed23..913aadb4d855 100644 --- a/sdk/ec2/src/operation/disassociate_transit_gateway_route_table/builders.rs +++ b/sdk/ec2/src/operation/disassociate_transit_gateway_route_table/builders.rs @@ -19,9 +19,9 @@ impl DisassociateTransitGatewayRouteTableFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize(self) -> ::std::result::Result< + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware(self) -> ::std::result::Result< crate::client::customize::CustomizableOperation, ::aws_smithy_http::result::SdkError >{ @@ -64,6 +64,15 @@ impl DisassociateTransitGatewayRouteTableFluentBuilder { { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize(self) -> ::std::result::Result< + crate::client::customize::CustomizableOperation, + ::aws_smithy_http::result::SdkError + >{ + self.customize_middleware().await + } ///

                                                                      The ID of the transit gateway route table.

                                                                      pub fn transit_gateway_route_table_id( mut self, diff --git a/sdk/ec2/src/operation/disassociate_trunk_interface/builders.rs b/sdk/ec2/src/operation/disassociate_trunk_interface/builders.rs index a8839ec2158c..86dd22cc4a20 100644 --- a/sdk/ec2/src/operation/disassociate_trunk_interface/builders.rs +++ b/sdk/ec2/src/operation/disassociate_trunk_interface/builders.rs @@ -22,9 +22,9 @@ impl DisassociateTrunkInterfaceFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -86,6 +86,22 @@ impl DisassociateTrunkInterfaceFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::disassociate_trunk_interface::DisassociateTrunkInterface, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::disassociate_trunk_interface::DisassociateTrunkInterfaceError, + >, + > { + self.customize_middleware().await + } ///

                                                                      The ID of the association

                                                                      pub fn association_id( mut self, diff --git a/sdk/ec2/src/operation/disassociate_vpc_cidr_block/builders.rs b/sdk/ec2/src/operation/disassociate_vpc_cidr_block/builders.rs index d06827e02891..cba97db663e6 100644 --- a/sdk/ec2/src/operation/disassociate_vpc_cidr_block/builders.rs +++ b/sdk/ec2/src/operation/disassociate_vpc_cidr_block/builders.rs @@ -20,9 +20,9 @@ impl DisassociateVpcCidrBlockFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -84,6 +84,22 @@ impl DisassociateVpcCidrBlockFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::disassociate_vpc_cidr_block::DisassociateVpcCidrBlock, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::disassociate_vpc_cidr_block::DisassociateVpcCidrBlockError, + >, + > { + self.customize_middleware().await + } ///

                                                                      The association ID for the CIDR block.

                                                                      pub fn association_id( mut self, diff --git a/sdk/ec2/src/operation/enable_address_transfer/builders.rs b/sdk/ec2/src/operation/enable_address_transfer/builders.rs index cf6654653fce..077c7bb85bc3 100644 --- a/sdk/ec2/src/operation/enable_address_transfer/builders.rs +++ b/sdk/ec2/src/operation/enable_address_transfer/builders.rs @@ -19,9 +19,9 @@ impl EnableAddressTransferFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl EnableAddressTransferFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::enable_address_transfer::EnableAddressTransfer, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::enable_address_transfer::EnableAddressTransferError, + >, + > { + self.customize_middleware().await + } ///

                                                                      The allocation ID of an Elastic IP address.

                                                                      pub fn allocation_id( mut self, diff --git a/sdk/ec2/src/operation/enable_aws_network_performance_metric_subscription/builders.rs b/sdk/ec2/src/operation/enable_aws_network_performance_metric_subscription/builders.rs index 4988fab4ab9f..6037d84e49d6 100644 --- a/sdk/ec2/src/operation/enable_aws_network_performance_metric_subscription/builders.rs +++ b/sdk/ec2/src/operation/enable_aws_network_performance_metric_subscription/builders.rs @@ -19,9 +19,9 @@ impl EnableAwsNetworkPerformanceMetricSubscriptionFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize(self) -> ::std::result::Result< + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware(self) -> ::std::result::Result< crate::client::customize::CustomizableOperation, ::aws_smithy_http::result::SdkError >{ @@ -64,6 +64,15 @@ impl EnableAwsNetworkPerformanceMetricSubscriptionFluentBuilder { { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize(self) -> ::std::result::Result< + crate::client::customize::CustomizableOperation, + ::aws_smithy_http::result::SdkError + >{ + self.customize_middleware().await + } ///

                                                                      The source Region or Availability Zone that the metric subscription is enabled for. For example, us-east-1.

                                                                      pub fn source(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.source(input.into()); diff --git a/sdk/ec2/src/operation/enable_ebs_encryption_by_default/builders.rs b/sdk/ec2/src/operation/enable_ebs_encryption_by_default/builders.rs index 561d0c9d4fb1..849582102985 100644 --- a/sdk/ec2/src/operation/enable_ebs_encryption_by_default/builders.rs +++ b/sdk/ec2/src/operation/enable_ebs_encryption_by_default/builders.rs @@ -23,9 +23,9 @@ impl EnableEbsEncryptionByDefaultFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -87,6 +87,22 @@ impl EnableEbsEncryptionByDefaultFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::enable_ebs_encryption_by_default::EnableEbsEncryptionByDefault, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::enable_ebs_encryption_by_default::EnableEbsEncryptionByDefaultError, + >, + > { + self.customize_middleware().await + } ///

                                                                      Checks whether you have the required permissions for the action, without actually making the request, and provides an error response. If you have the required permissions, the error response is DryRunOperation. Otherwise, it is UnauthorizedOperation.

                                                                      pub fn dry_run(mut self, input: bool) -> Self { self.inner = self.inner.dry_run(input); diff --git a/sdk/ec2/src/operation/enable_fast_launch/builders.rs b/sdk/ec2/src/operation/enable_fast_launch/builders.rs index 62fc7ca98d6c..9267b00c568e 100644 --- a/sdk/ec2/src/operation/enable_fast_launch/builders.rs +++ b/sdk/ec2/src/operation/enable_fast_launch/builders.rs @@ -21,9 +21,9 @@ impl EnableFastLaunchFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -85,6 +85,22 @@ impl EnableFastLaunchFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::enable_fast_launch::EnableFastLaunch, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::enable_fast_launch::EnableFastLaunchError, + >, + > { + self.customize_middleware().await + } ///

                                                                      The ID of the image for which you’re enabling faster launching.

                                                                      pub fn image_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.image_id(input.into()); diff --git a/sdk/ec2/src/operation/enable_fast_snapshot_restores/builders.rs b/sdk/ec2/src/operation/enable_fast_snapshot_restores/builders.rs index 92f16b212211..8427852d97bc 100644 --- a/sdk/ec2/src/operation/enable_fast_snapshot_restores/builders.rs +++ b/sdk/ec2/src/operation/enable_fast_snapshot_restores/builders.rs @@ -21,9 +21,9 @@ impl EnableFastSnapshotRestoresFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -85,6 +85,22 @@ impl EnableFastSnapshotRestoresFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::enable_fast_snapshot_restores::EnableFastSnapshotRestores, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::enable_fast_snapshot_restores::EnableFastSnapshotRestoresError, + >, + > { + self.customize_middleware().await + } /// Appends an item to `AvailabilityZones`. /// /// To override the contents of this collection use [`set_availability_zones`](Self::set_availability_zones). diff --git a/sdk/ec2/src/operation/enable_image_deprecation/builders.rs b/sdk/ec2/src/operation/enable_image_deprecation/builders.rs index 025fca1ec851..61fa9cbb20ca 100644 --- a/sdk/ec2/src/operation/enable_image_deprecation/builders.rs +++ b/sdk/ec2/src/operation/enable_image_deprecation/builders.rs @@ -20,9 +20,9 @@ impl EnableImageDeprecationFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -84,6 +84,22 @@ impl EnableImageDeprecationFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::enable_image_deprecation::EnableImageDeprecation, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::enable_image_deprecation::EnableImageDeprecationError, + >, + > { + self.customize_middleware().await + } ///

                                                                      The ID of the AMI.

                                                                      pub fn image_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.image_id(input.into()); diff --git a/sdk/ec2/src/operation/enable_ipam_organization_admin_account/builders.rs b/sdk/ec2/src/operation/enable_ipam_organization_admin_account/builders.rs index 62829e391f49..be67c09042e8 100644 --- a/sdk/ec2/src/operation/enable_ipam_organization_admin_account/builders.rs +++ b/sdk/ec2/src/operation/enable_ipam_organization_admin_account/builders.rs @@ -19,9 +19,9 @@ impl EnableIpamOrganizationAdminAccountFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize(self) -> ::std::result::Result< + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware(self) -> ::std::result::Result< crate::client::customize::CustomizableOperation, ::aws_smithy_http::result::SdkError >{ @@ -64,6 +64,15 @@ impl EnableIpamOrganizationAdminAccountFluentBuilder { { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize(self) -> ::std::result::Result< + crate::client::customize::CustomizableOperation, + ::aws_smithy_http::result::SdkError + >{ + self.customize_middleware().await + } ///

                                                                      A check for whether you have the required permissions for the action without actually making the request and provides an error response. If you have the required permissions, the error response is DryRunOperation. Otherwise, it is UnauthorizedOperation.

                                                                      pub fn dry_run(mut self, input: bool) -> Self { self.inner = self.inner.dry_run(input); diff --git a/sdk/ec2/src/operation/enable_reachability_analyzer_organization_sharing/builders.rs b/sdk/ec2/src/operation/enable_reachability_analyzer_organization_sharing/builders.rs index b246bf88aff1..276dc99fc3ab 100644 --- a/sdk/ec2/src/operation/enable_reachability_analyzer_organization_sharing/builders.rs +++ b/sdk/ec2/src/operation/enable_reachability_analyzer_organization_sharing/builders.rs @@ -20,9 +20,9 @@ impl EnableReachabilityAnalyzerOrganizationSharingFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize(self) -> ::std::result::Result< + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware(self) -> ::std::result::Result< crate::client::customize::CustomizableOperation, ::aws_smithy_http::result::SdkError >{ @@ -65,6 +65,15 @@ impl EnableReachabilityAnalyzerOrganizationSharingFluentBuilder { { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize(self) -> ::std::result::Result< + crate::client::customize::CustomizableOperation, + ::aws_smithy_http::result::SdkError + >{ + self.customize_middleware().await + } ///

                                                                      Checks whether you have the required permissions for the action, without actually making the request, and provides an error response. If you have the required permissions, the error response is DryRunOperation. Otherwise, it is UnauthorizedOperation.

                                                                      pub fn dry_run(mut self, input: bool) -> Self { self.inner = self.inner.dry_run(input); diff --git a/sdk/ec2/src/operation/enable_serial_console_access/builders.rs b/sdk/ec2/src/operation/enable_serial_console_access/builders.rs index 678b51c4d579..fcd19e90b2f2 100644 --- a/sdk/ec2/src/operation/enable_serial_console_access/builders.rs +++ b/sdk/ec2/src/operation/enable_serial_console_access/builders.rs @@ -19,9 +19,9 @@ impl EnableSerialConsoleAccessFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl EnableSerialConsoleAccessFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::enable_serial_console_access::EnableSerialConsoleAccess, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::enable_serial_console_access::EnableSerialConsoleAccessError, + >, + > { + self.customize_middleware().await + } ///

                                                                      Checks whether you have the required permissions for the action, without actually making the request, and provides an error response. If you have the required permissions, the error response is DryRunOperation. Otherwise, it is UnauthorizedOperation.

                                                                      pub fn dry_run(mut self, input: bool) -> Self { self.inner = self.inner.dry_run(input); diff --git a/sdk/ec2/src/operation/enable_transit_gateway_route_table_propagation/builders.rs b/sdk/ec2/src/operation/enable_transit_gateway_route_table_propagation/builders.rs index 7889758af5aa..37d44077faad 100644 --- a/sdk/ec2/src/operation/enable_transit_gateway_route_table_propagation/builders.rs +++ b/sdk/ec2/src/operation/enable_transit_gateway_route_table_propagation/builders.rs @@ -19,9 +19,9 @@ impl EnableTransitGatewayRouteTablePropagationFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize(self) -> ::std::result::Result< + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware(self) -> ::std::result::Result< crate::client::customize::CustomizableOperation, ::aws_smithy_http::result::SdkError >{ @@ -64,6 +64,15 @@ impl EnableTransitGatewayRouteTablePropagationFluentBuilder { { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize(self) -> ::std::result::Result< + crate::client::customize::CustomizableOperation, + ::aws_smithy_http::result::SdkError + >{ + self.customize_middleware().await + } ///

                                                                      The ID of the propagation route table.

                                                                      pub fn transit_gateway_route_table_id( mut self, diff --git a/sdk/ec2/src/operation/enable_vgw_route_propagation/builders.rs b/sdk/ec2/src/operation/enable_vgw_route_propagation/builders.rs index f257073dedf6..cbd66c66dbd2 100644 --- a/sdk/ec2/src/operation/enable_vgw_route_propagation/builders.rs +++ b/sdk/ec2/src/operation/enable_vgw_route_propagation/builders.rs @@ -19,9 +19,9 @@ impl EnableVgwRoutePropagationFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl EnableVgwRoutePropagationFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::enable_vgw_route_propagation::EnableVgwRoutePropagation, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::enable_vgw_route_propagation::EnableVgwRoutePropagationError, + >, + > { + self.customize_middleware().await + } ///

                                                                      The ID of the virtual private gateway that is attached to a VPC. The virtual private gateway must be attached to the same VPC that the routing tables are associated with.

                                                                      pub fn gateway_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.gateway_id(input.into()); diff --git a/sdk/ec2/src/operation/enable_volume_io/builders.rs b/sdk/ec2/src/operation/enable_volume_io/builders.rs index 2480385f4616..afd9a747f934 100644 --- a/sdk/ec2/src/operation/enable_volume_io/builders.rs +++ b/sdk/ec2/src/operation/enable_volume_io/builders.rs @@ -19,9 +19,9 @@ impl EnableVolumeIOFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl EnableVolumeIOFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::enable_volume_io::EnableVolumeIO, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::enable_volume_io::EnableVolumeIOError, + >, + > { + self.customize_middleware().await + } ///

                                                                      Checks whether you have the required permissions for the action, without actually making the request, and provides an error response. If you have the required permissions, the error response is DryRunOperation. Otherwise, it is UnauthorizedOperation.

                                                                      pub fn dry_run(mut self, input: bool) -> Self { self.inner = self.inner.dry_run(input); diff --git a/sdk/ec2/src/operation/enable_vpc_classic_link/builders.rs b/sdk/ec2/src/operation/enable_vpc_classic_link/builders.rs index 22379ec45a35..e12d6068a920 100644 --- a/sdk/ec2/src/operation/enable_vpc_classic_link/builders.rs +++ b/sdk/ec2/src/operation/enable_vpc_classic_link/builders.rs @@ -22,9 +22,9 @@ impl EnableVpcClassicLinkFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -86,6 +86,22 @@ impl EnableVpcClassicLinkFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::enable_vpc_classic_link::EnableVpcClassicLink, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::enable_vpc_classic_link::EnableVpcClassicLinkError, + >, + > { + self.customize_middleware().await + } ///

                                                                      Checks whether you have the required permissions for the action, without actually making the request, and provides an error response. If you have the required permissions, the error response is DryRunOperation. Otherwise, it is UnauthorizedOperation.

                                                                      pub fn dry_run(mut self, input: bool) -> Self { self.inner = self.inner.dry_run(input); diff --git a/sdk/ec2/src/operation/enable_vpc_classic_link_dns_support/builders.rs b/sdk/ec2/src/operation/enable_vpc_classic_link_dns_support/builders.rs index 903e50b34c58..cebdfc3d9647 100644 --- a/sdk/ec2/src/operation/enable_vpc_classic_link_dns_support/builders.rs +++ b/sdk/ec2/src/operation/enable_vpc_classic_link_dns_support/builders.rs @@ -23,9 +23,9 @@ impl EnableVpcClassicLinkDnsSupportFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize(self) -> ::std::result::Result< + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware(self) -> ::std::result::Result< crate::client::customize::CustomizableOperation, ::aws_smithy_http::result::SdkError >{ @@ -68,6 +68,15 @@ impl EnableVpcClassicLinkDnsSupportFluentBuilder { { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize(self) -> ::std::result::Result< + crate::client::customize::CustomizableOperation, + ::aws_smithy_http::result::SdkError + >{ + self.customize_middleware().await + } ///

                                                                      The ID of the VPC.

                                                                      pub fn vpc_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.vpc_id(input.into()); diff --git a/sdk/ec2/src/operation/export_client_vpn_client_certificate_revocation_list/builders.rs b/sdk/ec2/src/operation/export_client_vpn_client_certificate_revocation_list/builders.rs index 6e40a0fe7a6d..9bb3acebe889 100644 --- a/sdk/ec2/src/operation/export_client_vpn_client_certificate_revocation_list/builders.rs +++ b/sdk/ec2/src/operation/export_client_vpn_client_certificate_revocation_list/builders.rs @@ -19,9 +19,9 @@ impl ExportClientVpnClientCertificateRevocationListFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize(self) -> ::std::result::Result< + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware(self) -> ::std::result::Result< crate::client::customize::CustomizableOperation, ::aws_smithy_http::result::SdkError >{ @@ -64,6 +64,15 @@ impl ExportClientVpnClientCertificateRevocationListFluentBuilder { { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize(self) -> ::std::result::Result< + crate::client::customize::CustomizableOperation, + ::aws_smithy_http::result::SdkError + >{ + self.customize_middleware().await + } ///

                                                                      The ID of the Client VPN endpoint.

                                                                      pub fn client_vpn_endpoint_id( mut self, diff --git a/sdk/ec2/src/operation/export_client_vpn_client_configuration/builders.rs b/sdk/ec2/src/operation/export_client_vpn_client_configuration/builders.rs index 833d170da689..2edd51bf52c7 100644 --- a/sdk/ec2/src/operation/export_client_vpn_client_configuration/builders.rs +++ b/sdk/ec2/src/operation/export_client_vpn_client_configuration/builders.rs @@ -19,9 +19,9 @@ impl ExportClientVpnClientConfigurationFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize(self) -> ::std::result::Result< + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware(self) -> ::std::result::Result< crate::client::customize::CustomizableOperation, ::aws_smithy_http::result::SdkError >{ @@ -64,6 +64,15 @@ impl ExportClientVpnClientConfigurationFluentBuilder { { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize(self) -> ::std::result::Result< + crate::client::customize::CustomizableOperation, + ::aws_smithy_http::result::SdkError + >{ + self.customize_middleware().await + } ///

                                                                      The ID of the Client VPN endpoint.

                                                                      pub fn client_vpn_endpoint_id( mut self, diff --git a/sdk/ec2/src/operation/export_image/builders.rs b/sdk/ec2/src/operation/export_image/builders.rs index 894430df8010..df09fc7c8aad 100644 --- a/sdk/ec2/src/operation/export_image/builders.rs +++ b/sdk/ec2/src/operation/export_image/builders.rs @@ -19,9 +19,9 @@ impl ExportImageFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl ExportImageFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::export_image::ExportImage, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                      Token to enable idempotency for export image requests.

                                                                      pub fn client_token(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.client_token(input.into()); diff --git a/sdk/ec2/src/operation/export_transit_gateway_routes/builders.rs b/sdk/ec2/src/operation/export_transit_gateway_routes/builders.rs index dd2afae65506..60784f60aa90 100644 --- a/sdk/ec2/src/operation/export_transit_gateway_routes/builders.rs +++ b/sdk/ec2/src/operation/export_transit_gateway_routes/builders.rs @@ -20,9 +20,9 @@ impl ExportTransitGatewayRoutesFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -84,6 +84,22 @@ impl ExportTransitGatewayRoutesFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::export_transit_gateway_routes::ExportTransitGatewayRoutes, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::export_transit_gateway_routes::ExportTransitGatewayRoutesError, + >, + > { + self.customize_middleware().await + } ///

                                                                      The ID of the route table.

                                                                      pub fn transit_gateway_route_table_id( mut self, diff --git a/sdk/ec2/src/operation/get_associated_enclave_certificate_iam_roles/builders.rs b/sdk/ec2/src/operation/get_associated_enclave_certificate_iam_roles/builders.rs index 0555b3e320e0..71e691658775 100644 --- a/sdk/ec2/src/operation/get_associated_enclave_certificate_iam_roles/builders.rs +++ b/sdk/ec2/src/operation/get_associated_enclave_certificate_iam_roles/builders.rs @@ -19,9 +19,9 @@ impl GetAssociatedEnclaveCertificateIamRolesFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize(self) -> ::std::result::Result< + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware(self) -> ::std::result::Result< crate::client::customize::CustomizableOperation, ::aws_smithy_http::result::SdkError >{ @@ -64,6 +64,15 @@ impl GetAssociatedEnclaveCertificateIamRolesFluentBuilder { { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize(self) -> ::std::result::Result< + crate::client::customize::CustomizableOperation, + ::aws_smithy_http::result::SdkError + >{ + self.customize_middleware().await + } ///

                                                                      The ARN of the ACM certificate for which to view the associated IAM roles, encryption keys, and Amazon S3 object information.

                                                                      pub fn certificate_arn( mut self, diff --git a/sdk/ec2/src/operation/get_associated_ipv6_pool_cidrs/builders.rs b/sdk/ec2/src/operation/get_associated_ipv6_pool_cidrs/builders.rs index 85db62173013..d80f168465de 100644 --- a/sdk/ec2/src/operation/get_associated_ipv6_pool_cidrs/builders.rs +++ b/sdk/ec2/src/operation/get_associated_ipv6_pool_cidrs/builders.rs @@ -19,9 +19,9 @@ impl GetAssociatedIpv6PoolCidrsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl GetAssociatedIpv6PoolCidrsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::get_associated_ipv6_pool_cidrs::GetAssociatedIpv6PoolCidrs, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::get_associated_ipv6_pool_cidrs::GetAssociatedIpv6PoolCidrsError, + >, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::get_associated_ipv6_pool_cidrs::paginator::GetAssociatedIpv6PoolCidrsPaginator::send) which returns a `Stream`. diff --git a/sdk/ec2/src/operation/get_aws_network_performance_data/builders.rs b/sdk/ec2/src/operation/get_aws_network_performance_data/builders.rs index ebfb79caa2cf..bad508b26f63 100644 --- a/sdk/ec2/src/operation/get_aws_network_performance_data/builders.rs +++ b/sdk/ec2/src/operation/get_aws_network_performance_data/builders.rs @@ -19,9 +19,9 @@ impl GetAwsNetworkPerformanceDataFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl GetAwsNetworkPerformanceDataFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::get_aws_network_performance_data::GetAwsNetworkPerformanceData, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::get_aws_network_performance_data::GetAwsNetworkPerformanceDataError, + >, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::get_aws_network_performance_data::paginator::GetAwsNetworkPerformanceDataPaginator::send) which returns a `Stream`. diff --git a/sdk/ec2/src/operation/get_capacity_reservation_usage/builders.rs b/sdk/ec2/src/operation/get_capacity_reservation_usage/builders.rs index 135e10ccbfee..97f799129b8d 100644 --- a/sdk/ec2/src/operation/get_capacity_reservation_usage/builders.rs +++ b/sdk/ec2/src/operation/get_capacity_reservation_usage/builders.rs @@ -19,9 +19,9 @@ impl GetCapacityReservationUsageFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl GetCapacityReservationUsageFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::get_capacity_reservation_usage::GetCapacityReservationUsage, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::get_capacity_reservation_usage::GetCapacityReservationUsageError, + >, + > { + self.customize_middleware().await + } ///

                                                                      The ID of the Capacity Reservation.

                                                                      pub fn capacity_reservation_id( mut self, diff --git a/sdk/ec2/src/operation/get_coip_pool_usage/builders.rs b/sdk/ec2/src/operation/get_coip_pool_usage/builders.rs index ff9d7c231a44..3c6eec7fbd10 100644 --- a/sdk/ec2/src/operation/get_coip_pool_usage/builders.rs +++ b/sdk/ec2/src/operation/get_coip_pool_usage/builders.rs @@ -19,9 +19,9 @@ impl GetCoipPoolUsageFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl GetCoipPoolUsageFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::get_coip_pool_usage::GetCoipPoolUsage, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::get_coip_pool_usage::GetCoipPoolUsageError, + >, + > { + self.customize_middleware().await + } ///

                                                                      The ID of the address pool.

                                                                      pub fn pool_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.pool_id(input.into()); diff --git a/sdk/ec2/src/operation/get_console_output/builders.rs b/sdk/ec2/src/operation/get_console_output/builders.rs index 221e86565828..04caff9fb05a 100644 --- a/sdk/ec2/src/operation/get_console_output/builders.rs +++ b/sdk/ec2/src/operation/get_console_output/builders.rs @@ -22,9 +22,9 @@ impl GetConsoleOutputFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -86,6 +86,22 @@ impl GetConsoleOutputFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::get_console_output::GetConsoleOutput, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::get_console_output::GetConsoleOutputError, + >, + > { + self.customize_middleware().await + } ///

                                                                      The ID of the instance.

                                                                      pub fn instance_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.instance_id(input.into()); diff --git a/sdk/ec2/src/operation/get_console_screenshot/builders.rs b/sdk/ec2/src/operation/get_console_screenshot/builders.rs index 534c2028eb56..a68ae183a67c 100644 --- a/sdk/ec2/src/operation/get_console_screenshot/builders.rs +++ b/sdk/ec2/src/operation/get_console_screenshot/builders.rs @@ -20,9 +20,9 @@ impl GetConsoleScreenshotFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -84,6 +84,22 @@ impl GetConsoleScreenshotFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::get_console_screenshot::GetConsoleScreenshot, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::get_console_screenshot::GetConsoleScreenshotError, + >, + > { + self.customize_middleware().await + } ///

                                                                      Checks whether you have the required permissions for the action, without actually making the request, and provides an error response. If you have the required permissions, the error response is DryRunOperation. Otherwise, it is UnauthorizedOperation.

                                                                      pub fn dry_run(mut self, input: bool) -> Self { self.inner = self.inner.dry_run(input); diff --git a/sdk/ec2/src/operation/get_default_credit_specification/builders.rs b/sdk/ec2/src/operation/get_default_credit_specification/builders.rs index 198a0614412c..0e3cd389e1f2 100644 --- a/sdk/ec2/src/operation/get_default_credit_specification/builders.rs +++ b/sdk/ec2/src/operation/get_default_credit_specification/builders.rs @@ -20,9 +20,9 @@ impl GetDefaultCreditSpecificationFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -84,6 +84,22 @@ impl GetDefaultCreditSpecificationFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::get_default_credit_specification::GetDefaultCreditSpecification, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::get_default_credit_specification::GetDefaultCreditSpecificationError, + >, + > { + self.customize_middleware().await + } ///

                                                                      Checks whether you have the required permissions for the action, without actually making the request, and provides an error response. If you have the required permissions, the error response is DryRunOperation. Otherwise, it is UnauthorizedOperation.

                                                                      pub fn dry_run(mut self, input: bool) -> Self { self.inner = self.inner.dry_run(input); diff --git a/sdk/ec2/src/operation/get_ebs_default_kms_key_id/builders.rs b/sdk/ec2/src/operation/get_ebs_default_kms_key_id/builders.rs index 592dde93fecc..e689acede9b3 100644 --- a/sdk/ec2/src/operation/get_ebs_default_kms_key_id/builders.rs +++ b/sdk/ec2/src/operation/get_ebs_default_kms_key_id/builders.rs @@ -21,9 +21,9 @@ impl GetEbsDefaultKmsKeyIdFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -85,6 +85,22 @@ impl GetEbsDefaultKmsKeyIdFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::get_ebs_default_kms_key_id::GetEbsDefaultKmsKeyId, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::get_ebs_default_kms_key_id::GetEbsDefaultKmsKeyIdError, + >, + > { + self.customize_middleware().await + } ///

                                                                      Checks whether you have the required permissions for the action, without actually making the request, and provides an error response. If you have the required permissions, the error response is DryRunOperation. Otherwise, it is UnauthorizedOperation.

                                                                      pub fn dry_run(mut self, input: bool) -> Self { self.inner = self.inner.dry_run(input); diff --git a/sdk/ec2/src/operation/get_ebs_encryption_by_default/builders.rs b/sdk/ec2/src/operation/get_ebs_encryption_by_default/builders.rs index 061cd3f0f87e..4c39de735588 100644 --- a/sdk/ec2/src/operation/get_ebs_encryption_by_default/builders.rs +++ b/sdk/ec2/src/operation/get_ebs_encryption_by_default/builders.rs @@ -20,9 +20,9 @@ impl GetEbsEncryptionByDefaultFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -84,6 +84,22 @@ impl GetEbsEncryptionByDefaultFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::get_ebs_encryption_by_default::GetEbsEncryptionByDefault, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::get_ebs_encryption_by_default::GetEbsEncryptionByDefaultError, + >, + > { + self.customize_middleware().await + } ///

                                                                      Checks whether you have the required permissions for the action, without actually making the request, and provides an error response. If you have the required permissions, the error response is DryRunOperation. Otherwise, it is UnauthorizedOperation.

                                                                      pub fn dry_run(mut self, input: bool) -> Self { self.inner = self.inner.dry_run(input); diff --git a/sdk/ec2/src/operation/get_flow_logs_integration_template/builders.rs b/sdk/ec2/src/operation/get_flow_logs_integration_template/builders.rs index 46219bd6350d..1d56e9fd787c 100644 --- a/sdk/ec2/src/operation/get_flow_logs_integration_template/builders.rs +++ b/sdk/ec2/src/operation/get_flow_logs_integration_template/builders.rs @@ -25,9 +25,9 @@ impl GetFlowLogsIntegrationTemplateFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize(self) -> ::std::result::Result< + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware(self) -> ::std::result::Result< crate::client::customize::CustomizableOperation, ::aws_smithy_http::result::SdkError >{ @@ -70,6 +70,15 @@ impl GetFlowLogsIntegrationTemplateFluentBuilder { { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize(self) -> ::std::result::Result< + crate::client::customize::CustomizableOperation, + ::aws_smithy_http::result::SdkError + >{ + self.customize_middleware().await + } ///

                                                                      Checks whether you have the required permissions for the action, without actually making the request, and provides an error response. If you have the required permissions, the error response is DryRunOperation. Otherwise, it is UnauthorizedOperation.

                                                                      pub fn dry_run(mut self, input: bool) -> Self { self.inner = self.inner.dry_run(input); diff --git a/sdk/ec2/src/operation/get_groups_for_capacity_reservation/builders.rs b/sdk/ec2/src/operation/get_groups_for_capacity_reservation/builders.rs index 4e6c95481acc..2b336d6566c8 100644 --- a/sdk/ec2/src/operation/get_groups_for_capacity_reservation/builders.rs +++ b/sdk/ec2/src/operation/get_groups_for_capacity_reservation/builders.rs @@ -19,9 +19,9 @@ impl GetGroupsForCapacityReservationFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize(self) -> ::std::result::Result< + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware(self) -> ::std::result::Result< crate::client::customize::CustomizableOperation, ::aws_smithy_http::result::SdkError >{ @@ -64,6 +64,15 @@ impl GetGroupsForCapacityReservationFluentBuilder { { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize(self) -> ::std::result::Result< + crate::client::customize::CustomizableOperation, + ::aws_smithy_http::result::SdkError + >{ + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::get_groups_for_capacity_reservation::paginator::GetGroupsForCapacityReservationPaginator::send) which returns a `Stream`. diff --git a/sdk/ec2/src/operation/get_host_reservation_purchase_preview/builders.rs b/sdk/ec2/src/operation/get_host_reservation_purchase_preview/builders.rs index b8d3f55e2f91..644564907689 100644 --- a/sdk/ec2/src/operation/get_host_reservation_purchase_preview/builders.rs +++ b/sdk/ec2/src/operation/get_host_reservation_purchase_preview/builders.rs @@ -20,9 +20,9 @@ impl GetHostReservationPurchasePreviewFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize(self) -> ::std::result::Result< + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware(self) -> ::std::result::Result< crate::client::customize::CustomizableOperation, ::aws_smithy_http::result::SdkError >{ @@ -65,6 +65,15 @@ impl GetHostReservationPurchasePreviewFluentBuilder { { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize(self) -> ::std::result::Result< + crate::client::customize::CustomizableOperation, + ::aws_smithy_http::result::SdkError + >{ + self.customize_middleware().await + } /// Appends an item to `HostIdSet`. /// /// To override the contents of this collection use [`set_host_id_set`](Self::set_host_id_set). diff --git a/sdk/ec2/src/operation/get_instance_types_from_instance_requirements/builders.rs b/sdk/ec2/src/operation/get_instance_types_from_instance_requirements/builders.rs index 6947edae98f6..d9187dc8a746 100644 --- a/sdk/ec2/src/operation/get_instance_types_from_instance_requirements/builders.rs +++ b/sdk/ec2/src/operation/get_instance_types_from_instance_requirements/builders.rs @@ -21,9 +21,9 @@ impl GetInstanceTypesFromInstanceRequirementsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize(self) -> ::std::result::Result< + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware(self) -> ::std::result::Result< crate::client::customize::CustomizableOperation, ::aws_smithy_http::result::SdkError >{ @@ -66,6 +66,15 @@ impl GetInstanceTypesFromInstanceRequirementsFluentBuilder { { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize(self) -> ::std::result::Result< + crate::client::customize::CustomizableOperation, + ::aws_smithy_http::result::SdkError + >{ + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::get_instance_types_from_instance_requirements::paginator::GetInstanceTypesFromInstanceRequirementsPaginator::send) which returns a `Stream`. diff --git a/sdk/ec2/src/operation/get_instance_uefi_data/builders.rs b/sdk/ec2/src/operation/get_instance_uefi_data/builders.rs index ea47e537c823..738ea2d675e2 100644 --- a/sdk/ec2/src/operation/get_instance_uefi_data/builders.rs +++ b/sdk/ec2/src/operation/get_instance_uefi_data/builders.rs @@ -21,9 +21,9 @@ impl GetInstanceUefiDataFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -85,6 +85,22 @@ impl GetInstanceUefiDataFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::get_instance_uefi_data::GetInstanceUefiData, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::get_instance_uefi_data::GetInstanceUefiDataError, + >, + > { + self.customize_middleware().await + } ///

                                                                      The ID of the instance from which to retrieve the UEFI data.

                                                                      pub fn instance_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.instance_id(input.into()); diff --git a/sdk/ec2/src/operation/get_ipam_address_history/builders.rs b/sdk/ec2/src/operation/get_ipam_address_history/builders.rs index b8ad52843b91..867dd5be3417 100644 --- a/sdk/ec2/src/operation/get_ipam_address_history/builders.rs +++ b/sdk/ec2/src/operation/get_ipam_address_history/builders.rs @@ -19,9 +19,9 @@ impl GetIpamAddressHistoryFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl GetIpamAddressHistoryFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::get_ipam_address_history::GetIpamAddressHistory, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::get_ipam_address_history::GetIpamAddressHistoryError, + >, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::get_ipam_address_history::paginator::GetIpamAddressHistoryPaginator::send) which returns a `Stream`. diff --git a/sdk/ec2/src/operation/get_ipam_discovered_accounts/builders.rs b/sdk/ec2/src/operation/get_ipam_discovered_accounts/builders.rs index 7a0015d148c1..445cc1e859a5 100644 --- a/sdk/ec2/src/operation/get_ipam_discovered_accounts/builders.rs +++ b/sdk/ec2/src/operation/get_ipam_discovered_accounts/builders.rs @@ -19,9 +19,9 @@ impl GetIpamDiscoveredAccountsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl GetIpamDiscoveredAccountsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::get_ipam_discovered_accounts::GetIpamDiscoveredAccounts, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::get_ipam_discovered_accounts::GetIpamDiscoveredAccountsError, + >, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::get_ipam_discovered_accounts::paginator::GetIpamDiscoveredAccountsPaginator::send) which returns a `Stream`. diff --git a/sdk/ec2/src/operation/get_ipam_discovered_resource_cidrs/builders.rs b/sdk/ec2/src/operation/get_ipam_discovered_resource_cidrs/builders.rs index 042715a3258c..f30a8f730700 100644 --- a/sdk/ec2/src/operation/get_ipam_discovered_resource_cidrs/builders.rs +++ b/sdk/ec2/src/operation/get_ipam_discovered_resource_cidrs/builders.rs @@ -19,9 +19,9 @@ impl GetIpamDiscoveredResourceCidrsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize(self) -> ::std::result::Result< + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware(self) -> ::std::result::Result< crate::client::customize::CustomizableOperation, ::aws_smithy_http::result::SdkError >{ @@ -64,6 +64,15 @@ impl GetIpamDiscoveredResourceCidrsFluentBuilder { { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize(self) -> ::std::result::Result< + crate::client::customize::CustomizableOperation, + ::aws_smithy_http::result::SdkError + >{ + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::get_ipam_discovered_resource_cidrs::paginator::GetIpamDiscoveredResourceCidrsPaginator::send) which returns a `Stream`. diff --git a/sdk/ec2/src/operation/get_ipam_pool_allocations/builders.rs b/sdk/ec2/src/operation/get_ipam_pool_allocations/builders.rs index 2425a18a56fd..97049d4d049b 100644 --- a/sdk/ec2/src/operation/get_ipam_pool_allocations/builders.rs +++ b/sdk/ec2/src/operation/get_ipam_pool_allocations/builders.rs @@ -22,9 +22,9 @@ impl GetIpamPoolAllocationsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -86,6 +86,22 @@ impl GetIpamPoolAllocationsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::get_ipam_pool_allocations::GetIpamPoolAllocations, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::get_ipam_pool_allocations::GetIpamPoolAllocationsError, + >, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::get_ipam_pool_allocations::paginator::GetIpamPoolAllocationsPaginator::send) which returns a `Stream`. diff --git a/sdk/ec2/src/operation/get_ipam_pool_cidrs/builders.rs b/sdk/ec2/src/operation/get_ipam_pool_cidrs/builders.rs index 4ec4efe22b46..788434fff2d3 100644 --- a/sdk/ec2/src/operation/get_ipam_pool_cidrs/builders.rs +++ b/sdk/ec2/src/operation/get_ipam_pool_cidrs/builders.rs @@ -19,9 +19,9 @@ impl GetIpamPoolCidrsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl GetIpamPoolCidrsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::get_ipam_pool_cidrs::GetIpamPoolCidrs, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::get_ipam_pool_cidrs::GetIpamPoolCidrsError, + >, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::get_ipam_pool_cidrs::paginator::GetIpamPoolCidrsPaginator::send) which returns a `Stream`. diff --git a/sdk/ec2/src/operation/get_ipam_resource_cidrs/builders.rs b/sdk/ec2/src/operation/get_ipam_resource_cidrs/builders.rs index 801988c955fd..9ec595c77b24 100644 --- a/sdk/ec2/src/operation/get_ipam_resource_cidrs/builders.rs +++ b/sdk/ec2/src/operation/get_ipam_resource_cidrs/builders.rs @@ -19,9 +19,9 @@ impl GetIpamResourceCidrsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl GetIpamResourceCidrsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::get_ipam_resource_cidrs::GetIpamResourceCidrs, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::get_ipam_resource_cidrs::GetIpamResourceCidrsError, + >, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::get_ipam_resource_cidrs::paginator::GetIpamResourceCidrsPaginator::send) which returns a `Stream`. diff --git a/sdk/ec2/src/operation/get_launch_template_data/builders.rs b/sdk/ec2/src/operation/get_launch_template_data/builders.rs index 7559e60d5b68..d5d5dbd1be98 100644 --- a/sdk/ec2/src/operation/get_launch_template_data/builders.rs +++ b/sdk/ec2/src/operation/get_launch_template_data/builders.rs @@ -20,9 +20,9 @@ impl GetLaunchTemplateDataFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -84,6 +84,22 @@ impl GetLaunchTemplateDataFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::get_launch_template_data::GetLaunchTemplateData, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::get_launch_template_data::GetLaunchTemplateDataError, + >, + > { + self.customize_middleware().await + } ///

                                                                      Checks whether you have the required permissions for the action, without actually making the request, and provides an error response. If you have the required permissions, the error response is DryRunOperation. Otherwise, it is UnauthorizedOperation.

                                                                      pub fn dry_run(mut self, input: bool) -> Self { self.inner = self.inner.dry_run(input); diff --git a/sdk/ec2/src/operation/get_managed_prefix_list_associations/builders.rs b/sdk/ec2/src/operation/get_managed_prefix_list_associations/builders.rs index b02a235216dc..f2692cfada62 100644 --- a/sdk/ec2/src/operation/get_managed_prefix_list_associations/builders.rs +++ b/sdk/ec2/src/operation/get_managed_prefix_list_associations/builders.rs @@ -19,9 +19,9 @@ impl GetManagedPrefixListAssociationsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize(self) -> ::std::result::Result< + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware(self) -> ::std::result::Result< crate::client::customize::CustomizableOperation, ::aws_smithy_http::result::SdkError >{ @@ -64,6 +64,15 @@ impl GetManagedPrefixListAssociationsFluentBuilder { { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize(self) -> ::std::result::Result< + crate::client::customize::CustomizableOperation, + ::aws_smithy_http::result::SdkError + >{ + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::get_managed_prefix_list_associations::paginator::GetManagedPrefixListAssociationsPaginator::send) which returns a `Stream`. diff --git a/sdk/ec2/src/operation/get_managed_prefix_list_entries/builders.rs b/sdk/ec2/src/operation/get_managed_prefix_list_entries/builders.rs index e7f96d3d474d..16a2bd421757 100644 --- a/sdk/ec2/src/operation/get_managed_prefix_list_entries/builders.rs +++ b/sdk/ec2/src/operation/get_managed_prefix_list_entries/builders.rs @@ -19,9 +19,9 @@ impl GetManagedPrefixListEntriesFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl GetManagedPrefixListEntriesFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::get_managed_prefix_list_entries::GetManagedPrefixListEntries, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::get_managed_prefix_list_entries::GetManagedPrefixListEntriesError, + >, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::get_managed_prefix_list_entries::paginator::GetManagedPrefixListEntriesPaginator::send) which returns a `Stream`. diff --git a/sdk/ec2/src/operation/get_network_insights_access_scope_analysis_findings/builders.rs b/sdk/ec2/src/operation/get_network_insights_access_scope_analysis_findings/builders.rs index f38df97362d7..ad82147c2644 100644 --- a/sdk/ec2/src/operation/get_network_insights_access_scope_analysis_findings/builders.rs +++ b/sdk/ec2/src/operation/get_network_insights_access_scope_analysis_findings/builders.rs @@ -19,9 +19,9 @@ impl GetNetworkInsightsAccessScopeAnalysisFindingsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize(self) -> ::std::result::Result< + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware(self) -> ::std::result::Result< crate::client::customize::CustomizableOperation, ::aws_smithy_http::result::SdkError >{ @@ -64,6 +64,15 @@ impl GetNetworkInsightsAccessScopeAnalysisFindingsFluentBuilder { { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize(self) -> ::std::result::Result< + crate::client::customize::CustomizableOperation, + ::aws_smithy_http::result::SdkError + >{ + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::get_network_insights_access_scope_analysis_findings::paginator::GetNetworkInsightsAccessScopeAnalysisFindingsPaginator::send) which returns a `Stream`. diff --git a/sdk/ec2/src/operation/get_network_insights_access_scope_content/builders.rs b/sdk/ec2/src/operation/get_network_insights_access_scope_content/builders.rs index 2e9e3a9458b3..ec5d2070921a 100644 --- a/sdk/ec2/src/operation/get_network_insights_access_scope_content/builders.rs +++ b/sdk/ec2/src/operation/get_network_insights_access_scope_content/builders.rs @@ -19,9 +19,9 @@ impl GetNetworkInsightsAccessScopeContentFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize(self) -> ::std::result::Result< + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware(self) -> ::std::result::Result< crate::client::customize::CustomizableOperation, ::aws_smithy_http::result::SdkError >{ @@ -64,6 +64,15 @@ impl GetNetworkInsightsAccessScopeContentFluentBuilder { { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize(self) -> ::std::result::Result< + crate::client::customize::CustomizableOperation, + ::aws_smithy_http::result::SdkError + >{ + self.customize_middleware().await + } ///

                                                                      The ID of the Network Access Scope.

                                                                      pub fn network_insights_access_scope_id( mut self, diff --git a/sdk/ec2/src/operation/get_password_data/builders.rs b/sdk/ec2/src/operation/get_password_data/builders.rs index 73c7bfd25bba..05eebfd27e41 100644 --- a/sdk/ec2/src/operation/get_password_data/builders.rs +++ b/sdk/ec2/src/operation/get_password_data/builders.rs @@ -23,9 +23,9 @@ impl GetPasswordDataFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -87,6 +87,22 @@ impl GetPasswordDataFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::get_password_data::GetPasswordData, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::get_password_data::GetPasswordDataError, + >, + > { + self.customize_middleware().await + } ///

                                                                      The ID of the Windows instance.

                                                                      pub fn instance_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.instance_id(input.into()); diff --git a/sdk/ec2/src/operation/get_reserved_instances_exchange_quote/builders.rs b/sdk/ec2/src/operation/get_reserved_instances_exchange_quote/builders.rs index 88ea6529c050..0da7fad62150 100644 --- a/sdk/ec2/src/operation/get_reserved_instances_exchange_quote/builders.rs +++ b/sdk/ec2/src/operation/get_reserved_instances_exchange_quote/builders.rs @@ -19,9 +19,9 @@ impl GetReservedInstancesExchangeQuoteFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize(self) -> ::std::result::Result< + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware(self) -> ::std::result::Result< crate::client::customize::CustomizableOperation, ::aws_smithy_http::result::SdkError >{ @@ -64,6 +64,15 @@ impl GetReservedInstancesExchangeQuoteFluentBuilder { { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize(self) -> ::std::result::Result< + crate::client::customize::CustomizableOperation, + ::aws_smithy_http::result::SdkError + >{ + self.customize_middleware().await + } ///

                                                                      Checks whether you have the required permissions for the action, without actually making the request, and provides an error response. If you have the required permissions, the error response is DryRunOperation. Otherwise, it is UnauthorizedOperation.

                                                                      pub fn dry_run(mut self, input: bool) -> Self { self.inner = self.inner.dry_run(input); diff --git a/sdk/ec2/src/operation/get_serial_console_access_status/builders.rs b/sdk/ec2/src/operation/get_serial_console_access_status/builders.rs index 7873f044f9d4..39f2fac111c8 100644 --- a/sdk/ec2/src/operation/get_serial_console_access_status/builders.rs +++ b/sdk/ec2/src/operation/get_serial_console_access_status/builders.rs @@ -19,9 +19,9 @@ impl GetSerialConsoleAccessStatusFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl GetSerialConsoleAccessStatusFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::get_serial_console_access_status::GetSerialConsoleAccessStatus, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::get_serial_console_access_status::GetSerialConsoleAccessStatusError, + >, + > { + self.customize_middleware().await + } ///

                                                                      Checks whether you have the required permissions for the action, without actually making the request, and provides an error response. If you have the required permissions, the error response is DryRunOperation. Otherwise, it is UnauthorizedOperation.

                                                                      pub fn dry_run(mut self, input: bool) -> Self { self.inner = self.inner.dry_run(input); diff --git a/sdk/ec2/src/operation/get_spot_placement_scores/builders.rs b/sdk/ec2/src/operation/get_spot_placement_scores/builders.rs index 9350dff5fd6e..5434bbb5738c 100644 --- a/sdk/ec2/src/operation/get_spot_placement_scores/builders.rs +++ b/sdk/ec2/src/operation/get_spot_placement_scores/builders.rs @@ -22,9 +22,9 @@ impl GetSpotPlacementScoresFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -86,6 +86,22 @@ impl GetSpotPlacementScoresFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::get_spot_placement_scores::GetSpotPlacementScores, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::get_spot_placement_scores::GetSpotPlacementScoresError, + >, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::get_spot_placement_scores::paginator::GetSpotPlacementScoresPaginator::send) which returns a `Stream`. diff --git a/sdk/ec2/src/operation/get_subnet_cidr_reservations/builders.rs b/sdk/ec2/src/operation/get_subnet_cidr_reservations/builders.rs index 7bb22622109d..8d182b0b28c3 100644 --- a/sdk/ec2/src/operation/get_subnet_cidr_reservations/builders.rs +++ b/sdk/ec2/src/operation/get_subnet_cidr_reservations/builders.rs @@ -19,9 +19,9 @@ impl GetSubnetCidrReservationsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl GetSubnetCidrReservationsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::get_subnet_cidr_reservations::GetSubnetCidrReservations, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::get_subnet_cidr_reservations::GetSubnetCidrReservationsError, + >, + > { + self.customize_middleware().await + } /// Appends an item to `Filters`. /// /// To override the contents of this collection use [`set_filters`](Self::set_filters). diff --git a/sdk/ec2/src/operation/get_transit_gateway_attachment_propagations/builders.rs b/sdk/ec2/src/operation/get_transit_gateway_attachment_propagations/builders.rs index 6a931f36da56..e9a46f97e0e0 100644 --- a/sdk/ec2/src/operation/get_transit_gateway_attachment_propagations/builders.rs +++ b/sdk/ec2/src/operation/get_transit_gateway_attachment_propagations/builders.rs @@ -19,9 +19,9 @@ impl GetTransitGatewayAttachmentPropagationsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize(self) -> ::std::result::Result< + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware(self) -> ::std::result::Result< crate::client::customize::CustomizableOperation, ::aws_smithy_http::result::SdkError >{ @@ -64,6 +64,15 @@ impl GetTransitGatewayAttachmentPropagationsFluentBuilder { { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize(self) -> ::std::result::Result< + crate::client::customize::CustomizableOperation, + ::aws_smithy_http::result::SdkError + >{ + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::get_transit_gateway_attachment_propagations::paginator::GetTransitGatewayAttachmentPropagationsPaginator::send) which returns a `Stream`. diff --git a/sdk/ec2/src/operation/get_transit_gateway_multicast_domain_associations/builders.rs b/sdk/ec2/src/operation/get_transit_gateway_multicast_domain_associations/builders.rs index 3e9e9de3dfd7..9a7fce952d8d 100644 --- a/sdk/ec2/src/operation/get_transit_gateway_multicast_domain_associations/builders.rs +++ b/sdk/ec2/src/operation/get_transit_gateway_multicast_domain_associations/builders.rs @@ -19,9 +19,9 @@ impl GetTransitGatewayMulticastDomainAssociationsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize(self) -> ::std::result::Result< + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware(self) -> ::std::result::Result< crate::client::customize::CustomizableOperation, ::aws_smithy_http::result::SdkError >{ @@ -64,6 +64,15 @@ impl GetTransitGatewayMulticastDomainAssociationsFluentBuilder { { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize(self) -> ::std::result::Result< + crate::client::customize::CustomizableOperation, + ::aws_smithy_http::result::SdkError + >{ + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::get_transit_gateway_multicast_domain_associations::paginator::GetTransitGatewayMulticastDomainAssociationsPaginator::send) which returns a `Stream`. diff --git a/sdk/ec2/src/operation/get_transit_gateway_policy_table_associations/builders.rs b/sdk/ec2/src/operation/get_transit_gateway_policy_table_associations/builders.rs index 8a52b0894ac3..db45628dd7a7 100644 --- a/sdk/ec2/src/operation/get_transit_gateway_policy_table_associations/builders.rs +++ b/sdk/ec2/src/operation/get_transit_gateway_policy_table_associations/builders.rs @@ -19,9 +19,9 @@ impl GetTransitGatewayPolicyTableAssociationsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize(self) -> ::std::result::Result< + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware(self) -> ::std::result::Result< crate::client::customize::CustomizableOperation, ::aws_smithy_http::result::SdkError >{ @@ -64,6 +64,15 @@ impl GetTransitGatewayPolicyTableAssociationsFluentBuilder { { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize(self) -> ::std::result::Result< + crate::client::customize::CustomizableOperation, + ::aws_smithy_http::result::SdkError + >{ + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::get_transit_gateway_policy_table_associations::paginator::GetTransitGatewayPolicyTableAssociationsPaginator::send) which returns a `Stream`. diff --git a/sdk/ec2/src/operation/get_transit_gateway_policy_table_entries/builders.rs b/sdk/ec2/src/operation/get_transit_gateway_policy_table_entries/builders.rs index 1d55ed248801..a80875498cae 100644 --- a/sdk/ec2/src/operation/get_transit_gateway_policy_table_entries/builders.rs +++ b/sdk/ec2/src/operation/get_transit_gateway_policy_table_entries/builders.rs @@ -19,9 +19,9 @@ impl GetTransitGatewayPolicyTableEntriesFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize(self) -> ::std::result::Result< + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware(self) -> ::std::result::Result< crate::client::customize::CustomizableOperation, ::aws_smithy_http::result::SdkError >{ @@ -64,6 +64,15 @@ impl GetTransitGatewayPolicyTableEntriesFluentBuilder { { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize(self) -> ::std::result::Result< + crate::client::customize::CustomizableOperation, + ::aws_smithy_http::result::SdkError + >{ + self.customize_middleware().await + } ///

                                                                      The ID of the transit gateway policy table.

                                                                      pub fn transit_gateway_policy_table_id( mut self, diff --git a/sdk/ec2/src/operation/get_transit_gateway_prefix_list_references/builders.rs b/sdk/ec2/src/operation/get_transit_gateway_prefix_list_references/builders.rs index 1ee2700a787c..ecd17a185521 100644 --- a/sdk/ec2/src/operation/get_transit_gateway_prefix_list_references/builders.rs +++ b/sdk/ec2/src/operation/get_transit_gateway_prefix_list_references/builders.rs @@ -19,9 +19,9 @@ impl GetTransitGatewayPrefixListReferencesFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize(self) -> ::std::result::Result< + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware(self) -> ::std::result::Result< crate::client::customize::CustomizableOperation, ::aws_smithy_http::result::SdkError >{ @@ -64,6 +64,15 @@ impl GetTransitGatewayPrefixListReferencesFluentBuilder { { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize(self) -> ::std::result::Result< + crate::client::customize::CustomizableOperation, + ::aws_smithy_http::result::SdkError + >{ + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::get_transit_gateway_prefix_list_references::paginator::GetTransitGatewayPrefixListReferencesPaginator::send) which returns a `Stream`. diff --git a/sdk/ec2/src/operation/get_transit_gateway_route_table_associations/builders.rs b/sdk/ec2/src/operation/get_transit_gateway_route_table_associations/builders.rs index 1bd9232f7455..c1600755f1d9 100644 --- a/sdk/ec2/src/operation/get_transit_gateway_route_table_associations/builders.rs +++ b/sdk/ec2/src/operation/get_transit_gateway_route_table_associations/builders.rs @@ -19,9 +19,9 @@ impl GetTransitGatewayRouteTableAssociationsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize(self) -> ::std::result::Result< + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware(self) -> ::std::result::Result< crate::client::customize::CustomizableOperation, ::aws_smithy_http::result::SdkError >{ @@ -64,6 +64,15 @@ impl GetTransitGatewayRouteTableAssociationsFluentBuilder { { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize(self) -> ::std::result::Result< + crate::client::customize::CustomizableOperation, + ::aws_smithy_http::result::SdkError + >{ + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::get_transit_gateway_route_table_associations::paginator::GetTransitGatewayRouteTableAssociationsPaginator::send) which returns a `Stream`. diff --git a/sdk/ec2/src/operation/get_transit_gateway_route_table_propagations/builders.rs b/sdk/ec2/src/operation/get_transit_gateway_route_table_propagations/builders.rs index 285ff55d0af7..49d489a48bad 100644 --- a/sdk/ec2/src/operation/get_transit_gateway_route_table_propagations/builders.rs +++ b/sdk/ec2/src/operation/get_transit_gateway_route_table_propagations/builders.rs @@ -19,9 +19,9 @@ impl GetTransitGatewayRouteTablePropagationsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize(self) -> ::std::result::Result< + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware(self) -> ::std::result::Result< crate::client::customize::CustomizableOperation, ::aws_smithy_http::result::SdkError >{ @@ -64,6 +64,15 @@ impl GetTransitGatewayRouteTablePropagationsFluentBuilder { { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize(self) -> ::std::result::Result< + crate::client::customize::CustomizableOperation, + ::aws_smithy_http::result::SdkError + >{ + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::get_transit_gateway_route_table_propagations::paginator::GetTransitGatewayRouteTablePropagationsPaginator::send) which returns a `Stream`. diff --git a/sdk/ec2/src/operation/get_verified_access_endpoint_policy/builders.rs b/sdk/ec2/src/operation/get_verified_access_endpoint_policy/builders.rs index 2b248c56ef48..8ba4359e9fc2 100644 --- a/sdk/ec2/src/operation/get_verified_access_endpoint_policy/builders.rs +++ b/sdk/ec2/src/operation/get_verified_access_endpoint_policy/builders.rs @@ -19,9 +19,9 @@ impl GetVerifiedAccessEndpointPolicyFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize(self) -> ::std::result::Result< + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware(self) -> ::std::result::Result< crate::client::customize::CustomizableOperation, ::aws_smithy_http::result::SdkError >{ @@ -64,6 +64,15 @@ impl GetVerifiedAccessEndpointPolicyFluentBuilder { { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize(self) -> ::std::result::Result< + crate::client::customize::CustomizableOperation, + ::aws_smithy_http::result::SdkError + >{ + self.customize_middleware().await + } ///

                                                                      The ID of the Verified Access endpoint.

                                                                      pub fn verified_access_endpoint_id( mut self, diff --git a/sdk/ec2/src/operation/get_verified_access_group_policy/builders.rs b/sdk/ec2/src/operation/get_verified_access_group_policy/builders.rs index 36d375ea46d8..67900b0931b9 100644 --- a/sdk/ec2/src/operation/get_verified_access_group_policy/builders.rs +++ b/sdk/ec2/src/operation/get_verified_access_group_policy/builders.rs @@ -19,9 +19,9 @@ impl GetVerifiedAccessGroupPolicyFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl GetVerifiedAccessGroupPolicyFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::get_verified_access_group_policy::GetVerifiedAccessGroupPolicy, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::get_verified_access_group_policy::GetVerifiedAccessGroupPolicyError, + >, + > { + self.customize_middleware().await + } ///

                                                                      The ID of the Verified Access group.

                                                                      pub fn verified_access_group_id( mut self, diff --git a/sdk/ec2/src/operation/get_vpn_connection_device_sample_configuration/builders.rs b/sdk/ec2/src/operation/get_vpn_connection_device_sample_configuration/builders.rs index 6e28a093a40a..37fdbc2e7ae8 100644 --- a/sdk/ec2/src/operation/get_vpn_connection_device_sample_configuration/builders.rs +++ b/sdk/ec2/src/operation/get_vpn_connection_device_sample_configuration/builders.rs @@ -19,9 +19,9 @@ impl GetVpnConnectionDeviceSampleConfigurationFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize(self) -> ::std::result::Result< + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware(self) -> ::std::result::Result< crate::client::customize::CustomizableOperation, ::aws_smithy_http::result::SdkError >{ @@ -64,6 +64,15 @@ impl GetVpnConnectionDeviceSampleConfigurationFluentBuilder { { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize(self) -> ::std::result::Result< + crate::client::customize::CustomizableOperation, + ::aws_smithy_http::result::SdkError + >{ + self.customize_middleware().await + } ///

                                                                      The VpnConnectionId specifies the Site-to-Site VPN connection used for the sample configuration.

                                                                      pub fn vpn_connection_id( mut self, diff --git a/sdk/ec2/src/operation/get_vpn_connection_device_types/builders.rs b/sdk/ec2/src/operation/get_vpn_connection_device_types/builders.rs index 81f0e4f5a262..c6aac9a96f08 100644 --- a/sdk/ec2/src/operation/get_vpn_connection_device_types/builders.rs +++ b/sdk/ec2/src/operation/get_vpn_connection_device_types/builders.rs @@ -19,9 +19,9 @@ impl GetVpnConnectionDeviceTypesFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl GetVpnConnectionDeviceTypesFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::get_vpn_connection_device_types::GetVpnConnectionDeviceTypes, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::get_vpn_connection_device_types::GetVpnConnectionDeviceTypesError, + >, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::get_vpn_connection_device_types::paginator::GetVpnConnectionDeviceTypesPaginator::send) which returns a `Stream`. diff --git a/sdk/ec2/src/operation/get_vpn_tunnel_replacement_status/builders.rs b/sdk/ec2/src/operation/get_vpn_tunnel_replacement_status/builders.rs index 8a0ad9490fab..8a9fe921bcd7 100644 --- a/sdk/ec2/src/operation/get_vpn_tunnel_replacement_status/builders.rs +++ b/sdk/ec2/src/operation/get_vpn_tunnel_replacement_status/builders.rs @@ -19,9 +19,9 @@ impl GetVpnTunnelReplacementStatusFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl GetVpnTunnelReplacementStatusFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::get_vpn_tunnel_replacement_status::GetVpnTunnelReplacementStatus, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::get_vpn_tunnel_replacement_status::GetVpnTunnelReplacementStatusError, + >, + > { + self.customize_middleware().await + } ///

                                                                      The ID of the Site-to-Site VPN connection.

                                                                      pub fn vpn_connection_id( mut self, diff --git a/sdk/ec2/src/operation/import_client_vpn_client_certificate_revocation_list/builders.rs b/sdk/ec2/src/operation/import_client_vpn_client_certificate_revocation_list/builders.rs index 9fbe7139eac8..19a53587ea5a 100644 --- a/sdk/ec2/src/operation/import_client_vpn_client_certificate_revocation_list/builders.rs +++ b/sdk/ec2/src/operation/import_client_vpn_client_certificate_revocation_list/builders.rs @@ -20,9 +20,9 @@ impl ImportClientVpnClientCertificateRevocationListFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize(self) -> ::std::result::Result< + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware(self) -> ::std::result::Result< crate::client::customize::CustomizableOperation, ::aws_smithy_http::result::SdkError >{ @@ -65,6 +65,15 @@ impl ImportClientVpnClientCertificateRevocationListFluentBuilder { { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize(self) -> ::std::result::Result< + crate::client::customize::CustomizableOperation, + ::aws_smithy_http::result::SdkError + >{ + self.customize_middleware().await + } ///

                                                                      The ID of the Client VPN endpoint to which the client certificate revocation list applies.

                                                                      pub fn client_vpn_endpoint_id( mut self, diff --git a/sdk/ec2/src/operation/import_image/builders.rs b/sdk/ec2/src/operation/import_image/builders.rs index 1c2f9fc3f792..129139002975 100644 --- a/sdk/ec2/src/operation/import_image/builders.rs +++ b/sdk/ec2/src/operation/import_image/builders.rs @@ -25,9 +25,9 @@ impl ImportImageFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,20 @@ impl ImportImageFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::import_image::ImportImage, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                      The architecture of the virtual machine.

                                                                      ///

                                                                      Valid values: i386 | x86_64

                                                                      pub fn architecture(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { diff --git a/sdk/ec2/src/operation/import_instance/builders.rs b/sdk/ec2/src/operation/import_instance/builders.rs index 7b5bce2857ad..0fb84d329ce0 100644 --- a/sdk/ec2/src/operation/import_instance/builders.rs +++ b/sdk/ec2/src/operation/import_instance/builders.rs @@ -22,9 +22,9 @@ impl ImportInstanceFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -80,6 +80,20 @@ impl ImportInstanceFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::import_instance::ImportInstance, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                      A description for the instance being imported.

                                                                      pub fn description(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.description(input.into()); diff --git a/sdk/ec2/src/operation/import_key_pair/builders.rs b/sdk/ec2/src/operation/import_key_pair/builders.rs index 212932b7a47c..c11f0dda80a1 100644 --- a/sdk/ec2/src/operation/import_key_pair/builders.rs +++ b/sdk/ec2/src/operation/import_key_pair/builders.rs @@ -20,9 +20,9 @@ impl ImportKeyPairFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -78,6 +78,20 @@ impl ImportKeyPairFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::import_key_pair::ImportKeyPair, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                      Checks whether you have the required permissions for the action, without actually making the request, and provides an error response. If you have the required permissions, the error response is DryRunOperation. Otherwise, it is UnauthorizedOperation.

                                                                      pub fn dry_run(mut self, input: bool) -> Self { self.inner = self.inner.dry_run(input); diff --git a/sdk/ec2/src/operation/import_snapshot/builders.rs b/sdk/ec2/src/operation/import_snapshot/builders.rs index ddfa30ca6eb5..05b9e735e1a4 100644 --- a/sdk/ec2/src/operation/import_snapshot/builders.rs +++ b/sdk/ec2/src/operation/import_snapshot/builders.rs @@ -20,9 +20,9 @@ impl ImportSnapshotFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -78,6 +78,20 @@ impl ImportSnapshotFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::import_snapshot::ImportSnapshot, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                      The client-specific data.

                                                                      pub fn client_data(mut self, input: crate::types::ClientData) -> Self { self.inner = self.inner.client_data(input); diff --git a/sdk/ec2/src/operation/import_volume/builders.rs b/sdk/ec2/src/operation/import_volume/builders.rs index 88b72009f21e..9283eb8390f5 100644 --- a/sdk/ec2/src/operation/import_volume/builders.rs +++ b/sdk/ec2/src/operation/import_volume/builders.rs @@ -22,9 +22,9 @@ impl ImportVolumeFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -80,6 +80,20 @@ impl ImportVolumeFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::import_volume::ImportVolume, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                      The Availability Zone for the resulting EBS volume.

                                                                      pub fn availability_zone( mut self, diff --git a/sdk/ec2/src/operation/list_images_in_recycle_bin/builders.rs b/sdk/ec2/src/operation/list_images_in_recycle_bin/builders.rs index 5f1ef1d8616f..d4a83b5b6094 100644 --- a/sdk/ec2/src/operation/list_images_in_recycle_bin/builders.rs +++ b/sdk/ec2/src/operation/list_images_in_recycle_bin/builders.rs @@ -20,9 +20,9 @@ impl ListImagesInRecycleBinFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -84,6 +84,22 @@ impl ListImagesInRecycleBinFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_images_in_recycle_bin::ListImagesInRecycleBin, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::list_images_in_recycle_bin::ListImagesInRecycleBinError, + >, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::list_images_in_recycle_bin::paginator::ListImagesInRecycleBinPaginator::send) which returns a `Stream`. diff --git a/sdk/ec2/src/operation/list_snapshots_in_recycle_bin/builders.rs b/sdk/ec2/src/operation/list_snapshots_in_recycle_bin/builders.rs index 6078b59952d8..c48b4eb84bd4 100644 --- a/sdk/ec2/src/operation/list_snapshots_in_recycle_bin/builders.rs +++ b/sdk/ec2/src/operation/list_snapshots_in_recycle_bin/builders.rs @@ -19,9 +19,9 @@ impl ListSnapshotsInRecycleBinFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl ListSnapshotsInRecycleBinFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_snapshots_in_recycle_bin::ListSnapshotsInRecycleBin, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::list_snapshots_in_recycle_bin::ListSnapshotsInRecycleBinError, + >, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::list_snapshots_in_recycle_bin::paginator::ListSnapshotsInRecycleBinPaginator::send) which returns a `Stream`. diff --git a/sdk/ec2/src/operation/modify_address_attribute/builders.rs b/sdk/ec2/src/operation/modify_address_attribute/builders.rs index c0746ec9650a..25f9bda6f97c 100644 --- a/sdk/ec2/src/operation/modify_address_attribute/builders.rs +++ b/sdk/ec2/src/operation/modify_address_attribute/builders.rs @@ -19,9 +19,9 @@ impl ModifyAddressAttributeFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl ModifyAddressAttributeFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::modify_address_attribute::ModifyAddressAttribute, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::modify_address_attribute::ModifyAddressAttributeError, + >, + > { + self.customize_middleware().await + } ///

                                                                      [EC2-VPC] The allocation ID.

                                                                      pub fn allocation_id( mut self, diff --git a/sdk/ec2/src/operation/modify_availability_zone_group/builders.rs b/sdk/ec2/src/operation/modify_availability_zone_group/builders.rs index 2c779ef900cd..be8f7293cc7a 100644 --- a/sdk/ec2/src/operation/modify_availability_zone_group/builders.rs +++ b/sdk/ec2/src/operation/modify_availability_zone_group/builders.rs @@ -20,9 +20,9 @@ impl ModifyAvailabilityZoneGroupFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -84,6 +84,22 @@ impl ModifyAvailabilityZoneGroupFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::modify_availability_zone_group::ModifyAvailabilityZoneGroup, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::modify_availability_zone_group::ModifyAvailabilityZoneGroupError, + >, + > { + self.customize_middleware().await + } ///

                                                                      The name of the Availability Zone group, Local Zone group, or Wavelength Zone group.

                                                                      pub fn group_name(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.group_name(input.into()); diff --git a/sdk/ec2/src/operation/modify_capacity_reservation/builders.rs b/sdk/ec2/src/operation/modify_capacity_reservation/builders.rs index c7ce718ac41b..3cd403bf8f14 100644 --- a/sdk/ec2/src/operation/modify_capacity_reservation/builders.rs +++ b/sdk/ec2/src/operation/modify_capacity_reservation/builders.rs @@ -19,9 +19,9 @@ impl ModifyCapacityReservationFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl ModifyCapacityReservationFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::modify_capacity_reservation::ModifyCapacityReservation, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::modify_capacity_reservation::ModifyCapacityReservationError, + >, + > { + self.customize_middleware().await + } ///

                                                                      The ID of the Capacity Reservation.

                                                                      pub fn capacity_reservation_id( mut self, diff --git a/sdk/ec2/src/operation/modify_capacity_reservation_fleet/builders.rs b/sdk/ec2/src/operation/modify_capacity_reservation_fleet/builders.rs index 85fd37752ae3..29a07b3b4085 100644 --- a/sdk/ec2/src/operation/modify_capacity_reservation_fleet/builders.rs +++ b/sdk/ec2/src/operation/modify_capacity_reservation_fleet/builders.rs @@ -20,9 +20,9 @@ impl ModifyCapacityReservationFleetFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize(self) -> ::std::result::Result< + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware(self) -> ::std::result::Result< crate::client::customize::CustomizableOperation, ::aws_smithy_http::result::SdkError >{ @@ -65,6 +65,15 @@ impl ModifyCapacityReservationFleetFluentBuilder { { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize(self) -> ::std::result::Result< + crate::client::customize::CustomizableOperation, + ::aws_smithy_http::result::SdkError + >{ + self.customize_middleware().await + } ///

                                                                      The ID of the Capacity Reservation Fleet to modify.

                                                                      pub fn capacity_reservation_fleet_id( mut self, diff --git a/sdk/ec2/src/operation/modify_client_vpn_endpoint/builders.rs b/sdk/ec2/src/operation/modify_client_vpn_endpoint/builders.rs index 133e21c2e69c..d202117a96a2 100644 --- a/sdk/ec2/src/operation/modify_client_vpn_endpoint/builders.rs +++ b/sdk/ec2/src/operation/modify_client_vpn_endpoint/builders.rs @@ -20,9 +20,9 @@ impl ModifyClientVpnEndpointFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -84,6 +84,22 @@ impl ModifyClientVpnEndpointFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::modify_client_vpn_endpoint::ModifyClientVpnEndpoint, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::modify_client_vpn_endpoint::ModifyClientVpnEndpointError, + >, + > { + self.customize_middleware().await + } ///

                                                                      The ID of the Client VPN endpoint to modify.

                                                                      pub fn client_vpn_endpoint_id( mut self, diff --git a/sdk/ec2/src/operation/modify_default_credit_specification/builders.rs b/sdk/ec2/src/operation/modify_default_credit_specification/builders.rs index afd97c716fa4..fdde1074fbaf 100644 --- a/sdk/ec2/src/operation/modify_default_credit_specification/builders.rs +++ b/sdk/ec2/src/operation/modify_default_credit_specification/builders.rs @@ -21,9 +21,9 @@ impl ModifyDefaultCreditSpecificationFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize(self) -> ::std::result::Result< + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware(self) -> ::std::result::Result< crate::client::customize::CustomizableOperation, ::aws_smithy_http::result::SdkError >{ @@ -66,6 +66,15 @@ impl ModifyDefaultCreditSpecificationFluentBuilder { { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize(self) -> ::std::result::Result< + crate::client::customize::CustomizableOperation, + ::aws_smithy_http::result::SdkError + >{ + self.customize_middleware().await + } ///

                                                                      Checks whether you have the required permissions for the action, without actually making the request, and provides an error response. If you have the required permissions, the error response is DryRunOperation. Otherwise, it is UnauthorizedOperation.

                                                                      pub fn dry_run(mut self, input: bool) -> Self { self.inner = self.inner.dry_run(input); diff --git a/sdk/ec2/src/operation/modify_ebs_default_kms_key_id/builders.rs b/sdk/ec2/src/operation/modify_ebs_default_kms_key_id/builders.rs index a6789c270471..bbf9144124fe 100644 --- a/sdk/ec2/src/operation/modify_ebs_default_kms_key_id/builders.rs +++ b/sdk/ec2/src/operation/modify_ebs_default_kms_key_id/builders.rs @@ -22,9 +22,9 @@ impl ModifyEbsDefaultKmsKeyIdFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -86,6 +86,22 @@ impl ModifyEbsDefaultKmsKeyIdFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::modify_ebs_default_kms_key_id::ModifyEbsDefaultKmsKeyId, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::modify_ebs_default_kms_key_id::ModifyEbsDefaultKmsKeyIdError, + >, + > { + self.customize_middleware().await + } ///

                                                                      The identifier of the Key Management Service (KMS) KMS key to use for Amazon EBS encryption. If this parameter is not specified, your KMS key for Amazon EBS is used. If KmsKeyId is specified, the encrypted state must be true.

                                                                      ///

                                                                      You can specify the KMS key using any of the following:

                                                                      ///
                                                                        diff --git a/sdk/ec2/src/operation/modify_fleet/builders.rs b/sdk/ec2/src/operation/modify_fleet/builders.rs index 1499a141ce88..19b6f5ca5231 100644 --- a/sdk/ec2/src/operation/modify_fleet/builders.rs +++ b/sdk/ec2/src/operation/modify_fleet/builders.rs @@ -24,9 +24,9 @@ impl ModifyFleetFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -82,6 +82,20 @@ impl ModifyFleetFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::modify_fleet::ModifyFleet, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                        Checks whether you have the required permissions for the action, without actually making the request, and provides an error response. If you have the required permissions, the error response is DryRunOperation. Otherwise, it is UnauthorizedOperation.

                                                                        pub fn dry_run(mut self, input: bool) -> Self { self.inner = self.inner.dry_run(input); diff --git a/sdk/ec2/src/operation/modify_fpga_image_attribute/builders.rs b/sdk/ec2/src/operation/modify_fpga_image_attribute/builders.rs index f8f0ff79313a..a6e7f8f7f8c6 100644 --- a/sdk/ec2/src/operation/modify_fpga_image_attribute/builders.rs +++ b/sdk/ec2/src/operation/modify_fpga_image_attribute/builders.rs @@ -19,9 +19,9 @@ impl ModifyFpgaImageAttributeFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl ModifyFpgaImageAttributeFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::modify_fpga_image_attribute::ModifyFpgaImageAttribute, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::modify_fpga_image_attribute::ModifyFpgaImageAttributeError, + >, + > { + self.customize_middleware().await + } ///

                                                                        Checks whether you have the required permissions for the action, without actually making the request, and provides an error response. If you have the required permissions, the error response is DryRunOperation. Otherwise, it is UnauthorizedOperation.

                                                                        pub fn dry_run(mut self, input: bool) -> Self { self.inner = self.inner.dry_run(input); diff --git a/sdk/ec2/src/operation/modify_hosts/builders.rs b/sdk/ec2/src/operation/modify_hosts/builders.rs index ba947bedc670..00f6a7ad4e57 100644 --- a/sdk/ec2/src/operation/modify_hosts/builders.rs +++ b/sdk/ec2/src/operation/modify_hosts/builders.rs @@ -20,9 +20,9 @@ impl ModifyHostsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -78,6 +78,20 @@ impl ModifyHostsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::modify_hosts::ModifyHosts, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                        Specify whether to enable or disable auto-placement.

                                                                        pub fn auto_placement(mut self, input: crate::types::AutoPlacement) -> Self { self.inner = self.inner.auto_placement(input); diff --git a/sdk/ec2/src/operation/modify_id_format/builders.rs b/sdk/ec2/src/operation/modify_id_format/builders.rs index 92ea9aa94e77..2233893e66d7 100644 --- a/sdk/ec2/src/operation/modify_id_format/builders.rs +++ b/sdk/ec2/src/operation/modify_id_format/builders.rs @@ -22,9 +22,9 @@ impl ModifyIdFormatFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -86,6 +86,22 @@ impl ModifyIdFormatFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::modify_id_format::ModifyIdFormat, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::modify_id_format::ModifyIdFormatError, + >, + > { + self.customize_middleware().await + } ///

                                                                        The type of resource: bundle | conversion-task | customer-gateway | dhcp-options | elastic-ip-allocation | elastic-ip-association | export-task | flow-log | image | import-task | internet-gateway | network-acl | network-acl-association | network-interface | network-interface-attachment | prefix-list | route-table | route-table-association | security-group | subnet | subnet-cidr-block-association | vpc | vpc-cidr-block-association | vpc-endpoint | vpc-peering-connection | vpn-connection | vpn-gateway.

                                                                        ///

                                                                        Alternatively, use the all-current option to include all resource types that are currently within their opt-in period for longer IDs.

                                                                        pub fn resource(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { diff --git a/sdk/ec2/src/operation/modify_identity_id_format/builders.rs b/sdk/ec2/src/operation/modify_identity_id_format/builders.rs index 75b6705a8db0..1abc90ff842f 100644 --- a/sdk/ec2/src/operation/modify_identity_id_format/builders.rs +++ b/sdk/ec2/src/operation/modify_identity_id_format/builders.rs @@ -24,9 +24,9 @@ impl ModifyIdentityIdFormatFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -88,6 +88,22 @@ impl ModifyIdentityIdFormatFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::modify_identity_id_format::ModifyIdentityIdFormat, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::modify_identity_id_format::ModifyIdentityIdFormatError, + >, + > { + self.customize_middleware().await + } ///

                                                                        The ARN of the principal, which can be an IAM user, IAM role, or the root user. Specify all to modify the ID format for all IAM users, IAM roles, and the root user of the account.

                                                                        pub fn principal_arn( mut self, diff --git a/sdk/ec2/src/operation/modify_image_attribute/builders.rs b/sdk/ec2/src/operation/modify_image_attribute/builders.rs index 8cfcb5ac6456..e0b2fbfd779f 100644 --- a/sdk/ec2/src/operation/modify_image_attribute/builders.rs +++ b/sdk/ec2/src/operation/modify_image_attribute/builders.rs @@ -22,9 +22,9 @@ impl ModifyImageAttributeFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -86,6 +86,22 @@ impl ModifyImageAttributeFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::modify_image_attribute::ModifyImageAttribute, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::modify_image_attribute::ModifyImageAttributeError, + >, + > { + self.customize_middleware().await + } ///

                                                                        The name of the attribute to modify.

                                                                        ///

                                                                        Valid values: description | imdsSupport | launchPermission

                                                                        pub fn attribute(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { diff --git a/sdk/ec2/src/operation/modify_instance_attribute/builders.rs b/sdk/ec2/src/operation/modify_instance_attribute/builders.rs index 2a794757f878..90c1787b1ff7 100644 --- a/sdk/ec2/src/operation/modify_instance_attribute/builders.rs +++ b/sdk/ec2/src/operation/modify_instance_attribute/builders.rs @@ -22,9 +22,9 @@ impl ModifyInstanceAttributeFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -86,6 +86,22 @@ impl ModifyInstanceAttributeFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::modify_instance_attribute::ModifyInstanceAttribute, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::modify_instance_attribute::ModifyInstanceAttributeError, + >, + > { + self.customize_middleware().await + } ///

                                                                        Enable or disable source/destination checks, which ensure that the instance is either the source or the destination of any traffic that it receives. If the value is true, source/destination checks are enabled; otherwise, they are disabled. The default value is true. You must disable source/destination checks if the instance runs services such as network address translation, routing, or firewalls.

                                                                        pub fn source_dest_check(mut self, input: crate::types::AttributeBooleanValue) -> Self { self.inner = self.inner.source_dest_check(input); diff --git a/sdk/ec2/src/operation/modify_instance_capacity_reservation_attributes/builders.rs b/sdk/ec2/src/operation/modify_instance_capacity_reservation_attributes/builders.rs index 5f2485dd48c3..fd9d763f87fd 100644 --- a/sdk/ec2/src/operation/modify_instance_capacity_reservation_attributes/builders.rs +++ b/sdk/ec2/src/operation/modify_instance_capacity_reservation_attributes/builders.rs @@ -19,9 +19,9 @@ impl ModifyInstanceCapacityReservationAttributesFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize(self) -> ::std::result::Result< + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware(self) -> ::std::result::Result< crate::client::customize::CustomizableOperation, ::aws_smithy_http::result::SdkError >{ @@ -64,6 +64,15 @@ impl ModifyInstanceCapacityReservationAttributesFluentBuilder { { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize(self) -> ::std::result::Result< + crate::client::customize::CustomizableOperation, + ::aws_smithy_http::result::SdkError + >{ + self.customize_middleware().await + } ///

                                                                        The ID of the instance to be modified.

                                                                        pub fn instance_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.instance_id(input.into()); diff --git a/sdk/ec2/src/operation/modify_instance_credit_specification/builders.rs b/sdk/ec2/src/operation/modify_instance_credit_specification/builders.rs index a29cb86c0d7d..1afacd139d49 100644 --- a/sdk/ec2/src/operation/modify_instance_credit_specification/builders.rs +++ b/sdk/ec2/src/operation/modify_instance_credit_specification/builders.rs @@ -20,9 +20,9 @@ impl ModifyInstanceCreditSpecificationFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize(self) -> ::std::result::Result< + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware(self) -> ::std::result::Result< crate::client::customize::CustomizableOperation, ::aws_smithy_http::result::SdkError >{ @@ -65,6 +65,15 @@ impl ModifyInstanceCreditSpecificationFluentBuilder { { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize(self) -> ::std::result::Result< + crate::client::customize::CustomizableOperation, + ::aws_smithy_http::result::SdkError + >{ + self.customize_middleware().await + } ///

                                                                        Checks whether you have the required permissions for the action, without actually making the request, and provides an error response. If you have the required permissions, the error response is DryRunOperation. Otherwise, it is UnauthorizedOperation.

                                                                        pub fn dry_run(mut self, input: bool) -> Self { self.inner = self.inner.dry_run(input); diff --git a/sdk/ec2/src/operation/modify_instance_event_start_time/builders.rs b/sdk/ec2/src/operation/modify_instance_event_start_time/builders.rs index 5156881575ba..9fea43a3a242 100644 --- a/sdk/ec2/src/operation/modify_instance_event_start_time/builders.rs +++ b/sdk/ec2/src/operation/modify_instance_event_start_time/builders.rs @@ -19,9 +19,9 @@ impl ModifyInstanceEventStartTimeFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl ModifyInstanceEventStartTimeFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::modify_instance_event_start_time::ModifyInstanceEventStartTime, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::modify_instance_event_start_time::ModifyInstanceEventStartTimeError, + >, + > { + self.customize_middleware().await + } ///

                                                                        Checks whether you have the required permissions for the action, without actually making the request, and provides an error response. If you have the required permissions, the error response is DryRunOperation. Otherwise, it is UnauthorizedOperation.

                                                                        pub fn dry_run(mut self, input: bool) -> Self { self.inner = self.inner.dry_run(input); diff --git a/sdk/ec2/src/operation/modify_instance_event_window/builders.rs b/sdk/ec2/src/operation/modify_instance_event_window/builders.rs index 138d8d731d68..137d6ba3f474 100644 --- a/sdk/ec2/src/operation/modify_instance_event_window/builders.rs +++ b/sdk/ec2/src/operation/modify_instance_event_window/builders.rs @@ -23,9 +23,9 @@ impl ModifyInstanceEventWindowFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -87,6 +87,22 @@ impl ModifyInstanceEventWindowFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::modify_instance_event_window::ModifyInstanceEventWindow, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::modify_instance_event_window::ModifyInstanceEventWindowError, + >, + > { + self.customize_middleware().await + } ///

                                                                        Checks whether you have the required permissions for the action, without actually making the request, and provides an error response. If you have the required permissions, the error response is DryRunOperation. Otherwise, it is UnauthorizedOperation.

                                                                        pub fn dry_run(mut self, input: bool) -> Self { self.inner = self.inner.dry_run(input); diff --git a/sdk/ec2/src/operation/modify_instance_maintenance_options/builders.rs b/sdk/ec2/src/operation/modify_instance_maintenance_options/builders.rs index fa23ccf02683..a123f35a9843 100644 --- a/sdk/ec2/src/operation/modify_instance_maintenance_options/builders.rs +++ b/sdk/ec2/src/operation/modify_instance_maintenance_options/builders.rs @@ -19,9 +19,9 @@ impl ModifyInstanceMaintenanceOptionsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize(self) -> ::std::result::Result< + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware(self) -> ::std::result::Result< crate::client::customize::CustomizableOperation, ::aws_smithy_http::result::SdkError >{ @@ -64,6 +64,15 @@ impl ModifyInstanceMaintenanceOptionsFluentBuilder { { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize(self) -> ::std::result::Result< + crate::client::customize::CustomizableOperation, + ::aws_smithy_http::result::SdkError + >{ + self.customize_middleware().await + } ///

                                                                        The ID of the instance.

                                                                        pub fn instance_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.instance_id(input.into()); diff --git a/sdk/ec2/src/operation/modify_instance_metadata_options/builders.rs b/sdk/ec2/src/operation/modify_instance_metadata_options/builders.rs index f2fca5dae8d7..0e34020e9253 100644 --- a/sdk/ec2/src/operation/modify_instance_metadata_options/builders.rs +++ b/sdk/ec2/src/operation/modify_instance_metadata_options/builders.rs @@ -19,9 +19,9 @@ impl ModifyInstanceMetadataOptionsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl ModifyInstanceMetadataOptionsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::modify_instance_metadata_options::ModifyInstanceMetadataOptions, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::modify_instance_metadata_options::ModifyInstanceMetadataOptionsError, + >, + > { + self.customize_middleware().await + } ///

                                                                        The ID of the instance.

                                                                        pub fn instance_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.instance_id(input.into()); diff --git a/sdk/ec2/src/operation/modify_instance_placement/builders.rs b/sdk/ec2/src/operation/modify_instance_placement/builders.rs index 54c72e0749f8..afde8594d9ad 100644 --- a/sdk/ec2/src/operation/modify_instance_placement/builders.rs +++ b/sdk/ec2/src/operation/modify_instance_placement/builders.rs @@ -28,9 +28,9 @@ impl ModifyInstancePlacementFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -92,6 +92,22 @@ impl ModifyInstancePlacementFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::modify_instance_placement::ModifyInstancePlacement, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::modify_instance_placement::ModifyInstancePlacementError, + >, + > { + self.customize_middleware().await + } ///

                                                                        The affinity setting for the instance.

                                                                        pub fn affinity(mut self, input: crate::types::Affinity) -> Self { self.inner = self.inner.affinity(input); diff --git a/sdk/ec2/src/operation/modify_ipam/builders.rs b/sdk/ec2/src/operation/modify_ipam/builders.rs index 539a780156cb..9aa327358c8a 100644 --- a/sdk/ec2/src/operation/modify_ipam/builders.rs +++ b/sdk/ec2/src/operation/modify_ipam/builders.rs @@ -19,9 +19,9 @@ impl ModifyIpamFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl ModifyIpamFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::modify_ipam::ModifyIpam, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                        A check for whether you have the required permissions for the action without actually making the request and provides an error response. If you have the required permissions, the error response is DryRunOperation. Otherwise, it is UnauthorizedOperation.

                                                                        pub fn dry_run(mut self, input: bool) -> Self { self.inner = self.inner.dry_run(input); diff --git a/sdk/ec2/src/operation/modify_ipam_pool/builders.rs b/sdk/ec2/src/operation/modify_ipam_pool/builders.rs index a9a440fad24d..ab76ed4eaf72 100644 --- a/sdk/ec2/src/operation/modify_ipam_pool/builders.rs +++ b/sdk/ec2/src/operation/modify_ipam_pool/builders.rs @@ -20,9 +20,9 @@ impl ModifyIpamPoolFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -84,6 +84,22 @@ impl ModifyIpamPoolFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::modify_ipam_pool::ModifyIpamPool, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::modify_ipam_pool::ModifyIpamPoolError, + >, + > { + self.customize_middleware().await + } ///

                                                                        A check for whether you have the required permissions for the action without actually making the request and provides an error response. If you have the required permissions, the error response is DryRunOperation. Otherwise, it is UnauthorizedOperation.

                                                                        pub fn dry_run(mut self, input: bool) -> Self { self.inner = self.inner.dry_run(input); diff --git a/sdk/ec2/src/operation/modify_ipam_resource_cidr/builders.rs b/sdk/ec2/src/operation/modify_ipam_resource_cidr/builders.rs index 0084f7f60643..305b0faed13d 100644 --- a/sdk/ec2/src/operation/modify_ipam_resource_cidr/builders.rs +++ b/sdk/ec2/src/operation/modify_ipam_resource_cidr/builders.rs @@ -21,9 +21,9 @@ impl ModifyIpamResourceCidrFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -85,6 +85,22 @@ impl ModifyIpamResourceCidrFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::modify_ipam_resource_cidr::ModifyIpamResourceCidr, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::modify_ipam_resource_cidr::ModifyIpamResourceCidrError, + >, + > { + self.customize_middleware().await + } ///

                                                                        A check for whether you have the required permissions for the action without actually making the request and provides an error response. If you have the required permissions, the error response is DryRunOperation. Otherwise, it is UnauthorizedOperation.

                                                                        pub fn dry_run(mut self, input: bool) -> Self { self.inner = self.inner.dry_run(input); diff --git a/sdk/ec2/src/operation/modify_ipam_resource_discovery/builders.rs b/sdk/ec2/src/operation/modify_ipam_resource_discovery/builders.rs index 47a9fe2ad7c8..4679dcfe80a5 100644 --- a/sdk/ec2/src/operation/modify_ipam_resource_discovery/builders.rs +++ b/sdk/ec2/src/operation/modify_ipam_resource_discovery/builders.rs @@ -19,9 +19,9 @@ impl ModifyIpamResourceDiscoveryFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl ModifyIpamResourceDiscoveryFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::modify_ipam_resource_discovery::ModifyIpamResourceDiscovery, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::modify_ipam_resource_discovery::ModifyIpamResourceDiscoveryError, + >, + > { + self.customize_middleware().await + } ///

                                                                        A check for whether you have the required permissions for the action without actually making the request and provides an error response. If you have the required permissions, the error response is DryRunOperation. Otherwise, it is UnauthorizedOperation.

                                                                        pub fn dry_run(mut self, input: bool) -> Self { self.inner = self.inner.dry_run(input); diff --git a/sdk/ec2/src/operation/modify_ipam_scope/builders.rs b/sdk/ec2/src/operation/modify_ipam_scope/builders.rs index 4ca9aaf57cba..a65beb7e7b65 100644 --- a/sdk/ec2/src/operation/modify_ipam_scope/builders.rs +++ b/sdk/ec2/src/operation/modify_ipam_scope/builders.rs @@ -19,9 +19,9 @@ impl ModifyIpamScopeFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl ModifyIpamScopeFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::modify_ipam_scope::ModifyIpamScope, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::modify_ipam_scope::ModifyIpamScopeError, + >, + > { + self.customize_middleware().await + } ///

                                                                        A check for whether you have the required permissions for the action without actually making the request and provides an error response. If you have the required permissions, the error response is DryRunOperation. Otherwise, it is UnauthorizedOperation.

                                                                        pub fn dry_run(mut self, input: bool) -> Self { self.inner = self.inner.dry_run(input); diff --git a/sdk/ec2/src/operation/modify_launch_template/builders.rs b/sdk/ec2/src/operation/modify_launch_template/builders.rs index f458527cb1ac..e39de2722f67 100644 --- a/sdk/ec2/src/operation/modify_launch_template/builders.rs +++ b/sdk/ec2/src/operation/modify_launch_template/builders.rs @@ -19,9 +19,9 @@ impl ModifyLaunchTemplateFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl ModifyLaunchTemplateFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::modify_launch_template::ModifyLaunchTemplate, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::modify_launch_template::ModifyLaunchTemplateError, + >, + > { + self.customize_middleware().await + } ///

                                                                        Checks whether you have the required permissions for the action, without actually making the request, and provides an error response. If you have the required permissions, the error response is DryRunOperation. Otherwise, it is UnauthorizedOperation.

                                                                        pub fn dry_run(mut self, input: bool) -> Self { self.inner = self.inner.dry_run(input); diff --git a/sdk/ec2/src/operation/modify_local_gateway_route/builders.rs b/sdk/ec2/src/operation/modify_local_gateway_route/builders.rs index 02b06214d976..c662824f001e 100644 --- a/sdk/ec2/src/operation/modify_local_gateway_route/builders.rs +++ b/sdk/ec2/src/operation/modify_local_gateway_route/builders.rs @@ -20,9 +20,9 @@ impl ModifyLocalGatewayRouteFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -84,6 +84,22 @@ impl ModifyLocalGatewayRouteFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::modify_local_gateway_route::ModifyLocalGatewayRoute, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::modify_local_gateway_route::ModifyLocalGatewayRouteError, + >, + > { + self.customize_middleware().await + } ///

                                                                        The CIDR block used for destination matches. The value that you provide must match the CIDR of an existing route in the table.

                                                                        pub fn destination_cidr_block( mut self, diff --git a/sdk/ec2/src/operation/modify_managed_prefix_list/builders.rs b/sdk/ec2/src/operation/modify_managed_prefix_list/builders.rs index 437a35606819..b08ac7f8151f 100644 --- a/sdk/ec2/src/operation/modify_managed_prefix_list/builders.rs +++ b/sdk/ec2/src/operation/modify_managed_prefix_list/builders.rs @@ -22,9 +22,9 @@ impl ModifyManagedPrefixListFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -86,6 +86,22 @@ impl ModifyManagedPrefixListFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::modify_managed_prefix_list::ModifyManagedPrefixList, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::modify_managed_prefix_list::ModifyManagedPrefixListError, + >, + > { + self.customize_middleware().await + } ///

                                                                        Checks whether you have the required permissions for the action, without actually making the request, and provides an error response. If you have the required permissions, the error response is DryRunOperation. Otherwise, it is UnauthorizedOperation.

                                                                        pub fn dry_run(mut self, input: bool) -> Self { self.inner = self.inner.dry_run(input); diff --git a/sdk/ec2/src/operation/modify_network_interface_attribute/builders.rs b/sdk/ec2/src/operation/modify_network_interface_attribute/builders.rs index 20c4d2e765f9..7b5fe57cdbef 100644 --- a/sdk/ec2/src/operation/modify_network_interface_attribute/builders.rs +++ b/sdk/ec2/src/operation/modify_network_interface_attribute/builders.rs @@ -19,9 +19,9 @@ impl ModifyNetworkInterfaceAttributeFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize(self) -> ::std::result::Result< + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware(self) -> ::std::result::Result< crate::client::customize::CustomizableOperation, ::aws_smithy_http::result::SdkError >{ @@ -64,6 +64,15 @@ impl ModifyNetworkInterfaceAttributeFluentBuilder { { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize(self) -> ::std::result::Result< + crate::client::customize::CustomizableOperation, + ::aws_smithy_http::result::SdkError + >{ + self.customize_middleware().await + } ///

                                                                        Information about the interface attachment. If modifying the delete on termination attribute, you must specify the ID of the interface attachment.

                                                                        pub fn attachment(mut self, input: crate::types::NetworkInterfaceAttachmentChanges) -> Self { self.inner = self.inner.attachment(input); diff --git a/sdk/ec2/src/operation/modify_private_dns_name_options/builders.rs b/sdk/ec2/src/operation/modify_private_dns_name_options/builders.rs index c3720a9d912b..75b56b42c0ea 100644 --- a/sdk/ec2/src/operation/modify_private_dns_name_options/builders.rs +++ b/sdk/ec2/src/operation/modify_private_dns_name_options/builders.rs @@ -19,9 +19,9 @@ impl ModifyPrivateDnsNameOptionsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl ModifyPrivateDnsNameOptionsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::modify_private_dns_name_options::ModifyPrivateDnsNameOptions, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::modify_private_dns_name_options::ModifyPrivateDnsNameOptionsError, + >, + > { + self.customize_middleware().await + } ///

                                                                        Checks whether you have the required permissions for the action, without actually making the request, and provides an error response. If you have the required permissions, the error response is DryRunOperation. Otherwise, it is UnauthorizedOperation.

                                                                        pub fn dry_run(mut self, input: bool) -> Self { self.inner = self.inner.dry_run(input); diff --git a/sdk/ec2/src/operation/modify_reserved_instances/builders.rs b/sdk/ec2/src/operation/modify_reserved_instances/builders.rs index 0c5e97eb88c2..b4504e1a1bca 100644 --- a/sdk/ec2/src/operation/modify_reserved_instances/builders.rs +++ b/sdk/ec2/src/operation/modify_reserved_instances/builders.rs @@ -21,9 +21,9 @@ impl ModifyReservedInstancesFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -85,6 +85,22 @@ impl ModifyReservedInstancesFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::modify_reserved_instances::ModifyReservedInstances, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::modify_reserved_instances::ModifyReservedInstancesError, + >, + > { + self.customize_middleware().await + } /// Appends an item to `ReservedInstancesIds`. /// /// To override the contents of this collection use [`set_reserved_instances_ids`](Self::set_reserved_instances_ids). diff --git a/sdk/ec2/src/operation/modify_security_group_rules/builders.rs b/sdk/ec2/src/operation/modify_security_group_rules/builders.rs index cec1debce68d..f2376902eb5c 100644 --- a/sdk/ec2/src/operation/modify_security_group_rules/builders.rs +++ b/sdk/ec2/src/operation/modify_security_group_rules/builders.rs @@ -19,9 +19,9 @@ impl ModifySecurityGroupRulesFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl ModifySecurityGroupRulesFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::modify_security_group_rules::ModifySecurityGroupRules, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::modify_security_group_rules::ModifySecurityGroupRulesError, + >, + > { + self.customize_middleware().await + } ///

                                                                        The ID of the security group.

                                                                        pub fn group_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.group_id(input.into()); diff --git a/sdk/ec2/src/operation/modify_snapshot_attribute/builders.rs b/sdk/ec2/src/operation/modify_snapshot_attribute/builders.rs index 6d0f46181723..c0aa5c1ee283 100644 --- a/sdk/ec2/src/operation/modify_snapshot_attribute/builders.rs +++ b/sdk/ec2/src/operation/modify_snapshot_attribute/builders.rs @@ -22,9 +22,9 @@ impl ModifySnapshotAttributeFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -86,6 +86,22 @@ impl ModifySnapshotAttributeFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::modify_snapshot_attribute::ModifySnapshotAttribute, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::modify_snapshot_attribute::ModifySnapshotAttributeError, + >, + > { + self.customize_middleware().await + } ///

                                                                        The snapshot attribute to modify. Only volume creation permissions can be modified.

                                                                        pub fn attribute(mut self, input: crate::types::SnapshotAttributeName) -> Self { self.inner = self.inner.attribute(input); diff --git a/sdk/ec2/src/operation/modify_snapshot_tier/builders.rs b/sdk/ec2/src/operation/modify_snapshot_tier/builders.rs index 1e3c6af6f210..a9e95aa5b2ec 100644 --- a/sdk/ec2/src/operation/modify_snapshot_tier/builders.rs +++ b/sdk/ec2/src/operation/modify_snapshot_tier/builders.rs @@ -19,9 +19,9 @@ impl ModifySnapshotTierFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl ModifySnapshotTierFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::modify_snapshot_tier::ModifySnapshotTier, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::modify_snapshot_tier::ModifySnapshotTierError, + >, + > { + self.customize_middleware().await + } ///

                                                                        The ID of the snapshot.

                                                                        pub fn snapshot_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.snapshot_id(input.into()); diff --git a/sdk/ec2/src/operation/modify_spot_fleet_request/builders.rs b/sdk/ec2/src/operation/modify_spot_fleet_request/builders.rs index 7ded53af2a34..d70eae8bfa69 100644 --- a/sdk/ec2/src/operation/modify_spot_fleet_request/builders.rs +++ b/sdk/ec2/src/operation/modify_spot_fleet_request/builders.rs @@ -25,9 +25,9 @@ impl ModifySpotFleetRequestFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -89,6 +89,22 @@ impl ModifySpotFleetRequestFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::modify_spot_fleet_request::ModifySpotFleetRequest, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::modify_spot_fleet_request::ModifySpotFleetRequestError, + >, + > { + self.customize_middleware().await + } ///

                                                                        Indicates whether running instances should be terminated if the target capacity of the Spot Fleet request is decreased below the current size of the Spot Fleet.

                                                                        ///

                                                                        Supported only for fleets of type maintain.

                                                                        pub fn excess_capacity_termination_policy( diff --git a/sdk/ec2/src/operation/modify_subnet_attribute/builders.rs b/sdk/ec2/src/operation/modify_subnet_attribute/builders.rs index f4d618775827..21b9447a0bc3 100644 --- a/sdk/ec2/src/operation/modify_subnet_attribute/builders.rs +++ b/sdk/ec2/src/operation/modify_subnet_attribute/builders.rs @@ -29,9 +29,9 @@ impl ModifySubnetAttributeFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -93,6 +93,22 @@ impl ModifySubnetAttributeFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::modify_subnet_attribute::ModifySubnetAttribute, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::modify_subnet_attribute::ModifySubnetAttributeError, + >, + > { + self.customize_middleware().await + } ///

                                                                        Specify true to indicate that network interfaces created in the specified subnet should be assigned an IPv6 address. This includes a network interface that's created when launching an instance into the subnet (the instance therefore receives an IPv6 address).

                                                                        ///

                                                                        If you enable the IPv6 addressing feature for your subnet, your network interface or instance only receives an IPv6 address if it's created using version 2016-11-15 or later of the Amazon EC2 API.

                                                                        pub fn assign_ipv6_address_on_creation( diff --git a/sdk/ec2/src/operation/modify_traffic_mirror_filter_network_services/builders.rs b/sdk/ec2/src/operation/modify_traffic_mirror_filter_network_services/builders.rs index 777dd53833ea..c9dc2de6d000 100644 --- a/sdk/ec2/src/operation/modify_traffic_mirror_filter_network_services/builders.rs +++ b/sdk/ec2/src/operation/modify_traffic_mirror_filter_network_services/builders.rs @@ -20,9 +20,9 @@ impl ModifyTrafficMirrorFilterNetworkServicesFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize(self) -> ::std::result::Result< + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware(self) -> ::std::result::Result< crate::client::customize::CustomizableOperation, ::aws_smithy_http::result::SdkError >{ @@ -65,6 +65,15 @@ impl ModifyTrafficMirrorFilterNetworkServicesFluentBuilder { { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize(self) -> ::std::result::Result< + crate::client::customize::CustomizableOperation, + ::aws_smithy_http::result::SdkError + >{ + self.customize_middleware().await + } ///

                                                                        The ID of the Traffic Mirror filter.

                                                                        pub fn traffic_mirror_filter_id( mut self, diff --git a/sdk/ec2/src/operation/modify_traffic_mirror_filter_rule/builders.rs b/sdk/ec2/src/operation/modify_traffic_mirror_filter_rule/builders.rs index 7e21252c1753..d769651d955a 100644 --- a/sdk/ec2/src/operation/modify_traffic_mirror_filter_rule/builders.rs +++ b/sdk/ec2/src/operation/modify_traffic_mirror_filter_rule/builders.rs @@ -20,9 +20,9 @@ impl ModifyTrafficMirrorFilterRuleFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -84,6 +84,22 @@ impl ModifyTrafficMirrorFilterRuleFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::modify_traffic_mirror_filter_rule::ModifyTrafficMirrorFilterRule, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::modify_traffic_mirror_filter_rule::ModifyTrafficMirrorFilterRuleError, + >, + > { + self.customize_middleware().await + } ///

                                                                        The ID of the Traffic Mirror rule.

                                                                        pub fn traffic_mirror_filter_rule_id( mut self, diff --git a/sdk/ec2/src/operation/modify_traffic_mirror_session/builders.rs b/sdk/ec2/src/operation/modify_traffic_mirror_session/builders.rs index 87b891cf92de..3fe83e6be07e 100644 --- a/sdk/ec2/src/operation/modify_traffic_mirror_session/builders.rs +++ b/sdk/ec2/src/operation/modify_traffic_mirror_session/builders.rs @@ -19,9 +19,9 @@ impl ModifyTrafficMirrorSessionFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl ModifyTrafficMirrorSessionFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::modify_traffic_mirror_session::ModifyTrafficMirrorSession, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::modify_traffic_mirror_session::ModifyTrafficMirrorSessionError, + >, + > { + self.customize_middleware().await + } ///

                                                                        The ID of the Traffic Mirror session.

                                                                        pub fn traffic_mirror_session_id( mut self, diff --git a/sdk/ec2/src/operation/modify_transit_gateway/builders.rs b/sdk/ec2/src/operation/modify_transit_gateway/builders.rs index 1f35c0b20e05..6fa6adaf9ae8 100644 --- a/sdk/ec2/src/operation/modify_transit_gateway/builders.rs +++ b/sdk/ec2/src/operation/modify_transit_gateway/builders.rs @@ -19,9 +19,9 @@ impl ModifyTransitGatewayFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl ModifyTransitGatewayFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::modify_transit_gateway::ModifyTransitGateway, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::modify_transit_gateway::ModifyTransitGatewayError, + >, + > { + self.customize_middleware().await + } ///

                                                                        The ID of the transit gateway.

                                                                        pub fn transit_gateway_id( mut self, diff --git a/sdk/ec2/src/operation/modify_transit_gateway_prefix_list_reference/builders.rs b/sdk/ec2/src/operation/modify_transit_gateway_prefix_list_reference/builders.rs index 40ce4ebdbaf0..354fdf09ceb6 100644 --- a/sdk/ec2/src/operation/modify_transit_gateway_prefix_list_reference/builders.rs +++ b/sdk/ec2/src/operation/modify_transit_gateway_prefix_list_reference/builders.rs @@ -19,9 +19,9 @@ impl ModifyTransitGatewayPrefixListReferenceFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize(self) -> ::std::result::Result< + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware(self) -> ::std::result::Result< crate::client::customize::CustomizableOperation, ::aws_smithy_http::result::SdkError >{ @@ -64,6 +64,15 @@ impl ModifyTransitGatewayPrefixListReferenceFluentBuilder { { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize(self) -> ::std::result::Result< + crate::client::customize::CustomizableOperation, + ::aws_smithy_http::result::SdkError + >{ + self.customize_middleware().await + } ///

                                                                        The ID of the transit gateway route table.

                                                                        pub fn transit_gateway_route_table_id( mut self, diff --git a/sdk/ec2/src/operation/modify_transit_gateway_vpc_attachment/builders.rs b/sdk/ec2/src/operation/modify_transit_gateway_vpc_attachment/builders.rs index a4bcdafaceca..a34a98ffed92 100644 --- a/sdk/ec2/src/operation/modify_transit_gateway_vpc_attachment/builders.rs +++ b/sdk/ec2/src/operation/modify_transit_gateway_vpc_attachment/builders.rs @@ -19,9 +19,9 @@ impl ModifyTransitGatewayVpcAttachmentFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize(self) -> ::std::result::Result< + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware(self) -> ::std::result::Result< crate::client::customize::CustomizableOperation, ::aws_smithy_http::result::SdkError >{ @@ -64,6 +64,15 @@ impl ModifyTransitGatewayVpcAttachmentFluentBuilder { { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize(self) -> ::std::result::Result< + crate::client::customize::CustomizableOperation, + ::aws_smithy_http::result::SdkError + >{ + self.customize_middleware().await + } ///

                                                                        The ID of the attachment.

                                                                        pub fn transit_gateway_attachment_id( mut self, diff --git a/sdk/ec2/src/operation/modify_verified_access_endpoint/builders.rs b/sdk/ec2/src/operation/modify_verified_access_endpoint/builders.rs index 95de0e31dd54..d20de6c4264b 100644 --- a/sdk/ec2/src/operation/modify_verified_access_endpoint/builders.rs +++ b/sdk/ec2/src/operation/modify_verified_access_endpoint/builders.rs @@ -19,9 +19,9 @@ impl ModifyVerifiedAccessEndpointFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl ModifyVerifiedAccessEndpointFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::modify_verified_access_endpoint::ModifyVerifiedAccessEndpoint, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::modify_verified_access_endpoint::ModifyVerifiedAccessEndpointError, + >, + > { + self.customize_middleware().await + } ///

                                                                        The ID of the Verified Access endpoint.

                                                                        pub fn verified_access_endpoint_id( mut self, diff --git a/sdk/ec2/src/operation/modify_verified_access_endpoint_policy/builders.rs b/sdk/ec2/src/operation/modify_verified_access_endpoint_policy/builders.rs index aaee50f0ee88..a7d210856f88 100644 --- a/sdk/ec2/src/operation/modify_verified_access_endpoint_policy/builders.rs +++ b/sdk/ec2/src/operation/modify_verified_access_endpoint_policy/builders.rs @@ -19,9 +19,9 @@ impl ModifyVerifiedAccessEndpointPolicyFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize(self) -> ::std::result::Result< + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware(self) -> ::std::result::Result< crate::client::customize::CustomizableOperation, ::aws_smithy_http::result::SdkError >{ @@ -64,6 +64,15 @@ impl ModifyVerifiedAccessEndpointPolicyFluentBuilder { { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize(self) -> ::std::result::Result< + crate::client::customize::CustomizableOperation, + ::aws_smithy_http::result::SdkError + >{ + self.customize_middleware().await + } ///

                                                                        The ID of the Verified Access endpoint.

                                                                        pub fn verified_access_endpoint_id( mut self, diff --git a/sdk/ec2/src/operation/modify_verified_access_group/builders.rs b/sdk/ec2/src/operation/modify_verified_access_group/builders.rs index 0104e09072d5..26bcfbc1c4f8 100644 --- a/sdk/ec2/src/operation/modify_verified_access_group/builders.rs +++ b/sdk/ec2/src/operation/modify_verified_access_group/builders.rs @@ -19,9 +19,9 @@ impl ModifyVerifiedAccessGroupFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl ModifyVerifiedAccessGroupFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::modify_verified_access_group::ModifyVerifiedAccessGroup, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::modify_verified_access_group::ModifyVerifiedAccessGroupError, + >, + > { + self.customize_middleware().await + } ///

                                                                        The ID of the Verified Access group.

                                                                        pub fn verified_access_group_id( mut self, diff --git a/sdk/ec2/src/operation/modify_verified_access_group_policy/builders.rs b/sdk/ec2/src/operation/modify_verified_access_group_policy/builders.rs index 6fbb4a0f232a..b2312662f51c 100644 --- a/sdk/ec2/src/operation/modify_verified_access_group_policy/builders.rs +++ b/sdk/ec2/src/operation/modify_verified_access_group_policy/builders.rs @@ -19,9 +19,9 @@ impl ModifyVerifiedAccessGroupPolicyFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize(self) -> ::std::result::Result< + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware(self) -> ::std::result::Result< crate::client::customize::CustomizableOperation, ::aws_smithy_http::result::SdkError >{ @@ -64,6 +64,15 @@ impl ModifyVerifiedAccessGroupPolicyFluentBuilder { { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize(self) -> ::std::result::Result< + crate::client::customize::CustomizableOperation, + ::aws_smithy_http::result::SdkError + >{ + self.customize_middleware().await + } ///

                                                                        The ID of the Verified Access group.

                                                                        pub fn verified_access_group_id( mut self, diff --git a/sdk/ec2/src/operation/modify_verified_access_instance/builders.rs b/sdk/ec2/src/operation/modify_verified_access_instance/builders.rs index 37642d64c7b8..a7473029c5f9 100644 --- a/sdk/ec2/src/operation/modify_verified_access_instance/builders.rs +++ b/sdk/ec2/src/operation/modify_verified_access_instance/builders.rs @@ -19,9 +19,9 @@ impl ModifyVerifiedAccessInstanceFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl ModifyVerifiedAccessInstanceFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::modify_verified_access_instance::ModifyVerifiedAccessInstance, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::modify_verified_access_instance::ModifyVerifiedAccessInstanceError, + >, + > { + self.customize_middleware().await + } ///

                                                                        The ID of the Verified Access instance.

                                                                        pub fn verified_access_instance_id( mut self, diff --git a/sdk/ec2/src/operation/modify_verified_access_instance_logging_configuration/builders.rs b/sdk/ec2/src/operation/modify_verified_access_instance_logging_configuration/builders.rs index 26d496c7f049..95e462ee5c31 100644 --- a/sdk/ec2/src/operation/modify_verified_access_instance_logging_configuration/builders.rs +++ b/sdk/ec2/src/operation/modify_verified_access_instance_logging_configuration/builders.rs @@ -19,9 +19,9 @@ impl ModifyVerifiedAccessInstanceLoggingConfigurationFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize(self) -> ::std::result::Result< + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware(self) -> ::std::result::Result< crate::client::customize::CustomizableOperation, ::aws_smithy_http::result::SdkError >{ @@ -64,6 +64,15 @@ impl ModifyVerifiedAccessInstanceLoggingConfigurationFluentBuilder { { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize(self) -> ::std::result::Result< + crate::client::customize::CustomizableOperation, + ::aws_smithy_http::result::SdkError + >{ + self.customize_middleware().await + } ///

                                                                        The ID of the Verified Access instance.

                                                                        pub fn verified_access_instance_id( mut self, diff --git a/sdk/ec2/src/operation/modify_verified_access_trust_provider/builders.rs b/sdk/ec2/src/operation/modify_verified_access_trust_provider/builders.rs index 6f1c7535e633..ec8c10e48592 100644 --- a/sdk/ec2/src/operation/modify_verified_access_trust_provider/builders.rs +++ b/sdk/ec2/src/operation/modify_verified_access_trust_provider/builders.rs @@ -19,9 +19,9 @@ impl ModifyVerifiedAccessTrustProviderFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize(self) -> ::std::result::Result< + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware(self) -> ::std::result::Result< crate::client::customize::CustomizableOperation, ::aws_smithy_http::result::SdkError >{ @@ -64,6 +64,15 @@ impl ModifyVerifiedAccessTrustProviderFluentBuilder { { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize(self) -> ::std::result::Result< + crate::client::customize::CustomizableOperation, + ::aws_smithy_http::result::SdkError + >{ + self.customize_middleware().await + } ///

                                                                        The ID of the Verified Access trust provider.

                                                                        pub fn verified_access_trust_provider_id( mut self, diff --git a/sdk/ec2/src/operation/modify_volume/builders.rs b/sdk/ec2/src/operation/modify_volume/builders.rs index 91f0afe6fef2..4d3bce7335de 100644 --- a/sdk/ec2/src/operation/modify_volume/builders.rs +++ b/sdk/ec2/src/operation/modify_volume/builders.rs @@ -23,9 +23,9 @@ impl ModifyVolumeFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -81,6 +81,20 @@ impl ModifyVolumeFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::modify_volume::ModifyVolume, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                        Checks whether you have the required permissions for the action, without actually making the request, and provides an error response. If you have the required permissions, the error response is DryRunOperation. Otherwise, it is UnauthorizedOperation.

                                                                        pub fn dry_run(mut self, input: bool) -> Self { self.inner = self.inner.dry_run(input); diff --git a/sdk/ec2/src/operation/modify_volume_attribute/builders.rs b/sdk/ec2/src/operation/modify_volume_attribute/builders.rs index e9e48ad0bfc2..f699cfb65f10 100644 --- a/sdk/ec2/src/operation/modify_volume_attribute/builders.rs +++ b/sdk/ec2/src/operation/modify_volume_attribute/builders.rs @@ -21,9 +21,9 @@ impl ModifyVolumeAttributeFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -85,6 +85,22 @@ impl ModifyVolumeAttributeFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::modify_volume_attribute::ModifyVolumeAttribute, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::modify_volume_attribute::ModifyVolumeAttributeError, + >, + > { + self.customize_middleware().await + } ///

                                                                        Indicates whether the volume should be auto-enabled for I/O operations.

                                                                        pub fn auto_enable_io(mut self, input: crate::types::AttributeBooleanValue) -> Self { self.inner = self.inner.auto_enable_io(input); diff --git a/sdk/ec2/src/operation/modify_vpc_attribute/builders.rs b/sdk/ec2/src/operation/modify_vpc_attribute/builders.rs index ac31c27b9b42..45cbd4286d50 100644 --- a/sdk/ec2/src/operation/modify_vpc_attribute/builders.rs +++ b/sdk/ec2/src/operation/modify_vpc_attribute/builders.rs @@ -19,9 +19,9 @@ impl ModifyVpcAttributeFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl ModifyVpcAttributeFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::modify_vpc_attribute::ModifyVpcAttribute, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::modify_vpc_attribute::ModifyVpcAttributeError, + >, + > { + self.customize_middleware().await + } ///

                                                                        Indicates whether the instances launched in the VPC get DNS hostnames. If enabled, instances in the VPC get DNS hostnames; otherwise, they do not.

                                                                        ///

                                                                        You cannot modify the DNS resolution and DNS hostnames attributes in the same request. Use separate requests for each attribute. You can only enable DNS hostnames if you've enabled DNS support.

                                                                        pub fn enable_dns_hostnames(mut self, input: crate::types::AttributeBooleanValue) -> Self { diff --git a/sdk/ec2/src/operation/modify_vpc_endpoint/builders.rs b/sdk/ec2/src/operation/modify_vpc_endpoint/builders.rs index c9944f18fed5..944d1a928791 100644 --- a/sdk/ec2/src/operation/modify_vpc_endpoint/builders.rs +++ b/sdk/ec2/src/operation/modify_vpc_endpoint/builders.rs @@ -19,9 +19,9 @@ impl ModifyVpcEndpointFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl ModifyVpcEndpointFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::modify_vpc_endpoint::ModifyVpcEndpoint, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::modify_vpc_endpoint::ModifyVpcEndpointError, + >, + > { + self.customize_middleware().await + } ///

                                                                        Checks whether you have the required permissions for the action, without actually making the request, and provides an error response. If you have the required permissions, the error response is DryRunOperation. Otherwise, it is UnauthorizedOperation.

                                                                        pub fn dry_run(mut self, input: bool) -> Self { self.inner = self.inner.dry_run(input); diff --git a/sdk/ec2/src/operation/modify_vpc_endpoint_connection_notification/builders.rs b/sdk/ec2/src/operation/modify_vpc_endpoint_connection_notification/builders.rs index 7bb27bdedc94..528697e1fde5 100644 --- a/sdk/ec2/src/operation/modify_vpc_endpoint_connection_notification/builders.rs +++ b/sdk/ec2/src/operation/modify_vpc_endpoint_connection_notification/builders.rs @@ -19,9 +19,9 @@ impl ModifyVpcEndpointConnectionNotificationFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize(self) -> ::std::result::Result< + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware(self) -> ::std::result::Result< crate::client::customize::CustomizableOperation, ::aws_smithy_http::result::SdkError >{ @@ -64,6 +64,15 @@ impl ModifyVpcEndpointConnectionNotificationFluentBuilder { { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize(self) -> ::std::result::Result< + crate::client::customize::CustomizableOperation, + ::aws_smithy_http::result::SdkError + >{ + self.customize_middleware().await + } ///

                                                                        Checks whether you have the required permissions for the action, without actually making the request, and provides an error response. If you have the required permissions, the error response is DryRunOperation. Otherwise, it is UnauthorizedOperation.

                                                                        pub fn dry_run(mut self, input: bool) -> Self { self.inner = self.inner.dry_run(input); diff --git a/sdk/ec2/src/operation/modify_vpc_endpoint_service_configuration/builders.rs b/sdk/ec2/src/operation/modify_vpc_endpoint_service_configuration/builders.rs index fed0fb55ea09..81fd81f6892c 100644 --- a/sdk/ec2/src/operation/modify_vpc_endpoint_service_configuration/builders.rs +++ b/sdk/ec2/src/operation/modify_vpc_endpoint_service_configuration/builders.rs @@ -20,9 +20,9 @@ impl ModifyVpcEndpointServiceConfigurationFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize(self) -> ::std::result::Result< + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware(self) -> ::std::result::Result< crate::client::customize::CustomizableOperation, ::aws_smithy_http::result::SdkError >{ @@ -65,6 +65,15 @@ impl ModifyVpcEndpointServiceConfigurationFluentBuilder { { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize(self) -> ::std::result::Result< + crate::client::customize::CustomizableOperation, + ::aws_smithy_http::result::SdkError + >{ + self.customize_middleware().await + } ///

                                                                        Checks whether you have the required permissions for the action, without actually making the request, and provides an error response. If you have the required permissions, the error response is DryRunOperation. Otherwise, it is UnauthorizedOperation.

                                                                        pub fn dry_run(mut self, input: bool) -> Self { self.inner = self.inner.dry_run(input); diff --git a/sdk/ec2/src/operation/modify_vpc_endpoint_service_payer_responsibility/builders.rs b/sdk/ec2/src/operation/modify_vpc_endpoint_service_payer_responsibility/builders.rs index 1def2267344b..502a0df36d7b 100644 --- a/sdk/ec2/src/operation/modify_vpc_endpoint_service_payer_responsibility/builders.rs +++ b/sdk/ec2/src/operation/modify_vpc_endpoint_service_payer_responsibility/builders.rs @@ -19,9 +19,9 @@ impl ModifyVpcEndpointServicePayerResponsibilityFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize(self) -> ::std::result::Result< + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware(self) -> ::std::result::Result< crate::client::customize::CustomizableOperation, ::aws_smithy_http::result::SdkError >{ @@ -64,6 +64,15 @@ impl ModifyVpcEndpointServicePayerResponsibilityFluentBuilder { { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize(self) -> ::std::result::Result< + crate::client::customize::CustomizableOperation, + ::aws_smithy_http::result::SdkError + >{ + self.customize_middleware().await + } ///

                                                                        Checks whether you have the required permissions for the action, without actually making the request, and provides an error response. If you have the required permissions, the error response is DryRunOperation. Otherwise, it is UnauthorizedOperation.

                                                                        pub fn dry_run(mut self, input: bool) -> Self { self.inner = self.inner.dry_run(input); diff --git a/sdk/ec2/src/operation/modify_vpc_endpoint_service_permissions/builders.rs b/sdk/ec2/src/operation/modify_vpc_endpoint_service_permissions/builders.rs index 21a41914ff18..159f4f8aa3e6 100644 --- a/sdk/ec2/src/operation/modify_vpc_endpoint_service_permissions/builders.rs +++ b/sdk/ec2/src/operation/modify_vpc_endpoint_service_permissions/builders.rs @@ -20,9 +20,9 @@ impl ModifyVpcEndpointServicePermissionsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize(self) -> ::std::result::Result< + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware(self) -> ::std::result::Result< crate::client::customize::CustomizableOperation, ::aws_smithy_http::result::SdkError >{ @@ -65,6 +65,15 @@ impl ModifyVpcEndpointServicePermissionsFluentBuilder { { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize(self) -> ::std::result::Result< + crate::client::customize::CustomizableOperation, + ::aws_smithy_http::result::SdkError + >{ + self.customize_middleware().await + } ///

                                                                        Checks whether you have the required permissions for the action, without actually making the request, and provides an error response. If you have the required permissions, the error response is DryRunOperation. Otherwise, it is UnauthorizedOperation.

                                                                        pub fn dry_run(mut self, input: bool) -> Self { self.inner = self.inner.dry_run(input); diff --git a/sdk/ec2/src/operation/modify_vpc_peering_connection_options/builders.rs b/sdk/ec2/src/operation/modify_vpc_peering_connection_options/builders.rs index 5269029dd257..8ba411644157 100644 --- a/sdk/ec2/src/operation/modify_vpc_peering_connection_options/builders.rs +++ b/sdk/ec2/src/operation/modify_vpc_peering_connection_options/builders.rs @@ -28,9 +28,9 @@ impl ModifyVpcPeeringConnectionOptionsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize(self) -> ::std::result::Result< + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware(self) -> ::std::result::Result< crate::client::customize::CustomizableOperation, ::aws_smithy_http::result::SdkError >{ @@ -73,6 +73,15 @@ impl ModifyVpcPeeringConnectionOptionsFluentBuilder { { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize(self) -> ::std::result::Result< + crate::client::customize::CustomizableOperation, + ::aws_smithy_http::result::SdkError + >{ + self.customize_middleware().await + } ///

                                                                        The VPC peering connection options for the accepter VPC.

                                                                        pub fn accepter_peering_connection_options( mut self, diff --git a/sdk/ec2/src/operation/modify_vpc_tenancy/builders.rs b/sdk/ec2/src/operation/modify_vpc_tenancy/builders.rs index a7503a93e53b..ccc8bdb42d0c 100644 --- a/sdk/ec2/src/operation/modify_vpc_tenancy/builders.rs +++ b/sdk/ec2/src/operation/modify_vpc_tenancy/builders.rs @@ -21,9 +21,9 @@ impl ModifyVpcTenancyFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -85,6 +85,22 @@ impl ModifyVpcTenancyFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::modify_vpc_tenancy::ModifyVpcTenancy, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::modify_vpc_tenancy::ModifyVpcTenancyError, + >, + > { + self.customize_middleware().await + } ///

                                                                        The ID of the VPC.

                                                                        pub fn vpc_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.vpc_id(input.into()); diff --git a/sdk/ec2/src/operation/modify_vpn_connection/builders.rs b/sdk/ec2/src/operation/modify_vpn_connection/builders.rs index 7f06840401ad..485409ec752a 100644 --- a/sdk/ec2/src/operation/modify_vpn_connection/builders.rs +++ b/sdk/ec2/src/operation/modify_vpn_connection/builders.rs @@ -33,9 +33,9 @@ impl ModifyVpnConnectionFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -97,6 +97,22 @@ impl ModifyVpnConnectionFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::modify_vpn_connection::ModifyVpnConnection, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::modify_vpn_connection::ModifyVpnConnectionError, + >, + > { + self.customize_middleware().await + } ///

                                                                        The ID of the VPN connection.

                                                                        pub fn vpn_connection_id( mut self, diff --git a/sdk/ec2/src/operation/modify_vpn_connection_options/builders.rs b/sdk/ec2/src/operation/modify_vpn_connection_options/builders.rs index 9fe9a3da6798..6cc0dc11ec99 100644 --- a/sdk/ec2/src/operation/modify_vpn_connection_options/builders.rs +++ b/sdk/ec2/src/operation/modify_vpn_connection_options/builders.rs @@ -20,9 +20,9 @@ impl ModifyVpnConnectionOptionsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -84,6 +84,22 @@ impl ModifyVpnConnectionOptionsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::modify_vpn_connection_options::ModifyVpnConnectionOptions, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::modify_vpn_connection_options::ModifyVpnConnectionOptionsError, + >, + > { + self.customize_middleware().await + } ///

                                                                        The ID of the Site-to-Site VPN connection.

                                                                        pub fn vpn_connection_id( mut self, diff --git a/sdk/ec2/src/operation/modify_vpn_tunnel_certificate/builders.rs b/sdk/ec2/src/operation/modify_vpn_tunnel_certificate/builders.rs index 556ca3dd3ade..a69d80043faf 100644 --- a/sdk/ec2/src/operation/modify_vpn_tunnel_certificate/builders.rs +++ b/sdk/ec2/src/operation/modify_vpn_tunnel_certificate/builders.rs @@ -19,9 +19,9 @@ impl ModifyVpnTunnelCertificateFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl ModifyVpnTunnelCertificateFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::modify_vpn_tunnel_certificate::ModifyVpnTunnelCertificate, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::modify_vpn_tunnel_certificate::ModifyVpnTunnelCertificateError, + >, + > { + self.customize_middleware().await + } ///

                                                                        The ID of the Amazon Web Services Site-to-Site VPN connection.

                                                                        pub fn vpn_connection_id( mut self, diff --git a/sdk/ec2/src/operation/modify_vpn_tunnel_options/builders.rs b/sdk/ec2/src/operation/modify_vpn_tunnel_options/builders.rs index 3c5ce187f32d..3a126c1993a1 100644 --- a/sdk/ec2/src/operation/modify_vpn_tunnel_options/builders.rs +++ b/sdk/ec2/src/operation/modify_vpn_tunnel_options/builders.rs @@ -20,9 +20,9 @@ impl ModifyVpnTunnelOptionsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -84,6 +84,22 @@ impl ModifyVpnTunnelOptionsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::modify_vpn_tunnel_options::ModifyVpnTunnelOptions, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::modify_vpn_tunnel_options::ModifyVpnTunnelOptionsError, + >, + > { + self.customize_middleware().await + } ///

                                                                        The ID of the Amazon Web Services Site-to-Site VPN connection.

                                                                        pub fn vpn_connection_id( mut self, diff --git a/sdk/ec2/src/operation/monitor_instances/builders.rs b/sdk/ec2/src/operation/monitor_instances/builders.rs index 0518fe65b62f..886cf8499f80 100644 --- a/sdk/ec2/src/operation/monitor_instances/builders.rs +++ b/sdk/ec2/src/operation/monitor_instances/builders.rs @@ -20,9 +20,9 @@ impl MonitorInstancesFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -84,6 +84,22 @@ impl MonitorInstancesFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::monitor_instances::MonitorInstances, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::monitor_instances::MonitorInstancesError, + >, + > { + self.customize_middleware().await + } /// Appends an item to `InstanceIds`. /// /// To override the contents of this collection use [`set_instance_ids`](Self::set_instance_ids). diff --git a/sdk/ec2/src/operation/move_address_to_vpc/builders.rs b/sdk/ec2/src/operation/move_address_to_vpc/builders.rs index fe7c7c39ed95..9038ebe792df 100644 --- a/sdk/ec2/src/operation/move_address_to_vpc/builders.rs +++ b/sdk/ec2/src/operation/move_address_to_vpc/builders.rs @@ -21,9 +21,9 @@ impl MoveAddressToVpcFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -85,6 +85,22 @@ impl MoveAddressToVpcFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::move_address_to_vpc::MoveAddressToVpc, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::move_address_to_vpc::MoveAddressToVpcError, + >, + > { + self.customize_middleware().await + } ///

                                                                        Checks whether you have the required permissions for the action, without actually making the request, and provides an error response. If you have the required permissions, the error response is DryRunOperation. Otherwise, it is UnauthorizedOperation.

                                                                        pub fn dry_run(mut self, input: bool) -> Self { self.inner = self.inner.dry_run(input); diff --git a/sdk/ec2/src/operation/move_byoip_cidr_to_ipam/builders.rs b/sdk/ec2/src/operation/move_byoip_cidr_to_ipam/builders.rs index dca049ffe108..7f342b058a17 100644 --- a/sdk/ec2/src/operation/move_byoip_cidr_to_ipam/builders.rs +++ b/sdk/ec2/src/operation/move_byoip_cidr_to_ipam/builders.rs @@ -20,9 +20,9 @@ impl MoveByoipCidrToIpamFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -84,6 +84,22 @@ impl MoveByoipCidrToIpamFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::move_byoip_cidr_to_ipam::MoveByoipCidrToIpam, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::move_byoip_cidr_to_ipam::MoveByoipCidrToIpamError, + >, + > { + self.customize_middleware().await + } ///

                                                                        A check for whether you have the required permissions for the action without actually making the request and provides an error response. If you have the required permissions, the error response is DryRunOperation. Otherwise, it is UnauthorizedOperation.

                                                                        pub fn dry_run(mut self, input: bool) -> Self { self.inner = self.inner.dry_run(input); diff --git a/sdk/ec2/src/operation/provision_byoip_cidr/builders.rs b/sdk/ec2/src/operation/provision_byoip_cidr/builders.rs index 1b1b4bd249bf..19a918d3bbaf 100644 --- a/sdk/ec2/src/operation/provision_byoip_cidr/builders.rs +++ b/sdk/ec2/src/operation/provision_byoip_cidr/builders.rs @@ -21,9 +21,9 @@ impl ProvisionByoipCidrFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -85,6 +85,22 @@ impl ProvisionByoipCidrFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::provision_byoip_cidr::ProvisionByoipCidr, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::provision_byoip_cidr::ProvisionByoipCidrError, + >, + > { + self.customize_middleware().await + } ///

                                                                        The public IPv4 or IPv6 address range, in CIDR notation. The most specific IPv4 prefix that you can specify is /24. The most specific IPv6 prefix you can specify is /56. The address range cannot overlap with another address range that you've brought to this or another Region.

                                                                        pub fn cidr(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.cidr(input.into()); diff --git a/sdk/ec2/src/operation/provision_ipam_pool_cidr/builders.rs b/sdk/ec2/src/operation/provision_ipam_pool_cidr/builders.rs index 71322daa6c68..e1692481c2c8 100644 --- a/sdk/ec2/src/operation/provision_ipam_pool_cidr/builders.rs +++ b/sdk/ec2/src/operation/provision_ipam_pool_cidr/builders.rs @@ -20,9 +20,9 @@ impl ProvisionIpamPoolCidrFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -84,6 +84,22 @@ impl ProvisionIpamPoolCidrFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::provision_ipam_pool_cidr::ProvisionIpamPoolCidr, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::provision_ipam_pool_cidr::ProvisionIpamPoolCidrError, + >, + > { + self.customize_middleware().await + } ///

                                                                        A check for whether you have the required permissions for the action without actually making the request and provides an error response. If you have the required permissions, the error response is DryRunOperation. Otherwise, it is UnauthorizedOperation.

                                                                        pub fn dry_run(mut self, input: bool) -> Self { self.inner = self.inner.dry_run(input); diff --git a/sdk/ec2/src/operation/provision_public_ipv4_pool_cidr/builders.rs b/sdk/ec2/src/operation/provision_public_ipv4_pool_cidr/builders.rs index 0ac33977e548..8fd112cfb150 100644 --- a/sdk/ec2/src/operation/provision_public_ipv4_pool_cidr/builders.rs +++ b/sdk/ec2/src/operation/provision_public_ipv4_pool_cidr/builders.rs @@ -20,9 +20,9 @@ impl ProvisionPublicIpv4PoolCidrFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -84,6 +84,22 @@ impl ProvisionPublicIpv4PoolCidrFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::provision_public_ipv4_pool_cidr::ProvisionPublicIpv4PoolCidr, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::provision_public_ipv4_pool_cidr::ProvisionPublicIpv4PoolCidrError, + >, + > { + self.customize_middleware().await + } ///

                                                                        A check for whether you have the required permissions for the action without actually making the request and provides an error response. If you have the required permissions, the error response is DryRunOperation. Otherwise, it is UnauthorizedOperation.

                                                                        pub fn dry_run(mut self, input: bool) -> Self { self.inner = self.inner.dry_run(input); diff --git a/sdk/ec2/src/operation/purchase_host_reservation/builders.rs b/sdk/ec2/src/operation/purchase_host_reservation/builders.rs index 32a0333ffb92..2429091e42ed 100644 --- a/sdk/ec2/src/operation/purchase_host_reservation/builders.rs +++ b/sdk/ec2/src/operation/purchase_host_reservation/builders.rs @@ -20,9 +20,9 @@ impl PurchaseHostReservationFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -84,6 +84,22 @@ impl PurchaseHostReservationFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::purchase_host_reservation::PurchaseHostReservation, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::purchase_host_reservation::PurchaseHostReservationError, + >, + > { + self.customize_middleware().await + } ///

                                                                        Unique, case-sensitive identifier that you provide to ensure the idempotency of the request. For more information, see Ensuring Idempotency.

                                                                        pub fn client_token(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.client_token(input.into()); diff --git a/sdk/ec2/src/operation/purchase_reserved_instances_offering/builders.rs b/sdk/ec2/src/operation/purchase_reserved_instances_offering/builders.rs index ed0fad59fd1b..b89154cbcd5f 100644 --- a/sdk/ec2/src/operation/purchase_reserved_instances_offering/builders.rs +++ b/sdk/ec2/src/operation/purchase_reserved_instances_offering/builders.rs @@ -22,9 +22,9 @@ impl PurchaseReservedInstancesOfferingFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize(self) -> ::std::result::Result< + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware(self) -> ::std::result::Result< crate::client::customize::CustomizableOperation, ::aws_smithy_http::result::SdkError >{ @@ -67,6 +67,15 @@ impl PurchaseReservedInstancesOfferingFluentBuilder { { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize(self) -> ::std::result::Result< + crate::client::customize::CustomizableOperation, + ::aws_smithy_http::result::SdkError + >{ + self.customize_middleware().await + } ///

                                                                        The number of Reserved Instances to purchase.

                                                                        pub fn instance_count(mut self, input: i32) -> Self { self.inner = self.inner.instance_count(input); diff --git a/sdk/ec2/src/operation/purchase_scheduled_instances/builders.rs b/sdk/ec2/src/operation/purchase_scheduled_instances/builders.rs index a60bcc654a79..63875db11ae2 100644 --- a/sdk/ec2/src/operation/purchase_scheduled_instances/builders.rs +++ b/sdk/ec2/src/operation/purchase_scheduled_instances/builders.rs @@ -24,9 +24,9 @@ impl PurchaseScheduledInstancesFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -88,6 +88,22 @@ impl PurchaseScheduledInstancesFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::purchase_scheduled_instances::PurchaseScheduledInstances, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::purchase_scheduled_instances::PurchaseScheduledInstancesError, + >, + > { + self.customize_middleware().await + } ///

                                                                        Unique, case-sensitive identifier that ensures the idempotency of the request. For more information, see Ensuring Idempotency.

                                                                        pub fn client_token(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.client_token(input.into()); diff --git a/sdk/ec2/src/operation/reboot_instances/builders.rs b/sdk/ec2/src/operation/reboot_instances/builders.rs index fd349dfbef44..0c3507cfd459 100644 --- a/sdk/ec2/src/operation/reboot_instances/builders.rs +++ b/sdk/ec2/src/operation/reboot_instances/builders.rs @@ -21,9 +21,9 @@ impl RebootInstancesFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -85,6 +85,22 @@ impl RebootInstancesFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::reboot_instances::RebootInstances, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::reboot_instances::RebootInstancesError, + >, + > { + self.customize_middleware().await + } /// Appends an item to `InstanceIds`. /// /// To override the contents of this collection use [`set_instance_ids`](Self::set_instance_ids). diff --git a/sdk/ec2/src/operation/register_image/builders.rs b/sdk/ec2/src/operation/register_image/builders.rs index 544c5b3ae841..179d63c6d039 100644 --- a/sdk/ec2/src/operation/register_image/builders.rs +++ b/sdk/ec2/src/operation/register_image/builders.rs @@ -34,9 +34,9 @@ impl RegisterImageFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -92,6 +92,20 @@ impl RegisterImageFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::register_image::RegisterImage, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                        The full path to your AMI manifest in Amazon S3 storage. The specified bucket must have the aws-exec-read canned access control list (ACL) to ensure that it can be accessed by Amazon EC2. For more information, see Canned ACLs in the Amazon S3 Service Developer Guide.

                                                                        pub fn image_location( mut self, diff --git a/sdk/ec2/src/operation/register_instance_event_notification_attributes/builders.rs b/sdk/ec2/src/operation/register_instance_event_notification_attributes/builders.rs index 1de944fa6277..899115bfce5c 100644 --- a/sdk/ec2/src/operation/register_instance_event_notification_attributes/builders.rs +++ b/sdk/ec2/src/operation/register_instance_event_notification_attributes/builders.rs @@ -20,9 +20,9 @@ impl RegisterInstanceEventNotificationAttributesFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize(self) -> ::std::result::Result< + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware(self) -> ::std::result::Result< crate::client::customize::CustomizableOperation, ::aws_smithy_http::result::SdkError >{ @@ -65,6 +65,15 @@ impl RegisterInstanceEventNotificationAttributesFluentBuilder { { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize(self) -> ::std::result::Result< + crate::client::customize::CustomizableOperation, + ::aws_smithy_http::result::SdkError + >{ + self.customize_middleware().await + } ///

                                                                        Checks whether you have the required permissions for the action, without actually making the request, and provides an error response. If you have the required permissions, the error response is DryRunOperation. Otherwise, it is UnauthorizedOperation.

                                                                        pub fn dry_run(mut self, input: bool) -> Self { self.inner = self.inner.dry_run(input); diff --git a/sdk/ec2/src/operation/register_transit_gateway_multicast_group_members/builders.rs b/sdk/ec2/src/operation/register_transit_gateway_multicast_group_members/builders.rs index 489538771be9..567c5ec71a80 100644 --- a/sdk/ec2/src/operation/register_transit_gateway_multicast_group_members/builders.rs +++ b/sdk/ec2/src/operation/register_transit_gateway_multicast_group_members/builders.rs @@ -20,9 +20,9 @@ impl RegisterTransitGatewayMulticastGroupMembersFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize(self) -> ::std::result::Result< + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware(self) -> ::std::result::Result< crate::client::customize::CustomizableOperation, ::aws_smithy_http::result::SdkError >{ @@ -65,6 +65,15 @@ impl RegisterTransitGatewayMulticastGroupMembersFluentBuilder { { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize(self) -> ::std::result::Result< + crate::client::customize::CustomizableOperation, + ::aws_smithy_http::result::SdkError + >{ + self.customize_middleware().await + } ///

                                                                        The ID of the transit gateway multicast domain.

                                                                        pub fn transit_gateway_multicast_domain_id( mut self, diff --git a/sdk/ec2/src/operation/register_transit_gateway_multicast_group_sources/builders.rs b/sdk/ec2/src/operation/register_transit_gateway_multicast_group_sources/builders.rs index 61fcdbd35582..7a33d5a2fc66 100644 --- a/sdk/ec2/src/operation/register_transit_gateway_multicast_group_sources/builders.rs +++ b/sdk/ec2/src/operation/register_transit_gateway_multicast_group_sources/builders.rs @@ -21,9 +21,9 @@ impl RegisterTransitGatewayMulticastGroupSourcesFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize(self) -> ::std::result::Result< + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware(self) -> ::std::result::Result< crate::client::customize::CustomizableOperation, ::aws_smithy_http::result::SdkError >{ @@ -66,6 +66,15 @@ impl RegisterTransitGatewayMulticastGroupSourcesFluentBuilder { { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize(self) -> ::std::result::Result< + crate::client::customize::CustomizableOperation, + ::aws_smithy_http::result::SdkError + >{ + self.customize_middleware().await + } ///

                                                                        The ID of the transit gateway multicast domain.

                                                                        pub fn transit_gateway_multicast_domain_id( mut self, diff --git a/sdk/ec2/src/operation/reject_transit_gateway_multicast_domain_associations/builders.rs b/sdk/ec2/src/operation/reject_transit_gateway_multicast_domain_associations/builders.rs index e47a902f4f97..2af35e8e0f6a 100644 --- a/sdk/ec2/src/operation/reject_transit_gateway_multicast_domain_associations/builders.rs +++ b/sdk/ec2/src/operation/reject_transit_gateway_multicast_domain_associations/builders.rs @@ -19,9 +19,9 @@ impl RejectTransitGatewayMulticastDomainAssociationsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize(self) -> ::std::result::Result< + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware(self) -> ::std::result::Result< crate::client::customize::CustomizableOperation, ::aws_smithy_http::result::SdkError >{ @@ -64,6 +64,15 @@ impl RejectTransitGatewayMulticastDomainAssociationsFluentBuilder { { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize(self) -> ::std::result::Result< + crate::client::customize::CustomizableOperation, + ::aws_smithy_http::result::SdkError + >{ + self.customize_middleware().await + } ///

                                                                        The ID of the transit gateway multicast domain.

                                                                        pub fn transit_gateway_multicast_domain_id( mut self, diff --git a/sdk/ec2/src/operation/reject_transit_gateway_peering_attachment/builders.rs b/sdk/ec2/src/operation/reject_transit_gateway_peering_attachment/builders.rs index 4e1f8728d7cc..10893656f343 100644 --- a/sdk/ec2/src/operation/reject_transit_gateway_peering_attachment/builders.rs +++ b/sdk/ec2/src/operation/reject_transit_gateway_peering_attachment/builders.rs @@ -19,9 +19,9 @@ impl RejectTransitGatewayPeeringAttachmentFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize(self) -> ::std::result::Result< + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware(self) -> ::std::result::Result< crate::client::customize::CustomizableOperation, ::aws_smithy_http::result::SdkError >{ @@ -64,6 +64,15 @@ impl RejectTransitGatewayPeeringAttachmentFluentBuilder { { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize(self) -> ::std::result::Result< + crate::client::customize::CustomizableOperation, + ::aws_smithy_http::result::SdkError + >{ + self.customize_middleware().await + } ///

                                                                        The ID of the transit gateway peering attachment.

                                                                        pub fn transit_gateway_attachment_id( mut self, diff --git a/sdk/ec2/src/operation/reject_transit_gateway_vpc_attachment/builders.rs b/sdk/ec2/src/operation/reject_transit_gateway_vpc_attachment/builders.rs index 64383f430d77..7f183e3c23b3 100644 --- a/sdk/ec2/src/operation/reject_transit_gateway_vpc_attachment/builders.rs +++ b/sdk/ec2/src/operation/reject_transit_gateway_vpc_attachment/builders.rs @@ -20,9 +20,9 @@ impl RejectTransitGatewayVpcAttachmentFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize(self) -> ::std::result::Result< + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware(self) -> ::std::result::Result< crate::client::customize::CustomizableOperation, ::aws_smithy_http::result::SdkError >{ @@ -65,6 +65,15 @@ impl RejectTransitGatewayVpcAttachmentFluentBuilder { { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize(self) -> ::std::result::Result< + crate::client::customize::CustomizableOperation, + ::aws_smithy_http::result::SdkError + >{ + self.customize_middleware().await + } ///

                                                                        The ID of the attachment.

                                                                        pub fn transit_gateway_attachment_id( mut self, diff --git a/sdk/ec2/src/operation/reject_vpc_endpoint_connections/builders.rs b/sdk/ec2/src/operation/reject_vpc_endpoint_connections/builders.rs index 5db4711a7554..ee948034dd76 100644 --- a/sdk/ec2/src/operation/reject_vpc_endpoint_connections/builders.rs +++ b/sdk/ec2/src/operation/reject_vpc_endpoint_connections/builders.rs @@ -19,9 +19,9 @@ impl RejectVpcEndpointConnectionsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl RejectVpcEndpointConnectionsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::reject_vpc_endpoint_connections::RejectVpcEndpointConnections, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::reject_vpc_endpoint_connections::RejectVpcEndpointConnectionsError, + >, + > { + self.customize_middleware().await + } ///

                                                                        Checks whether you have the required permissions for the action, without actually making the request, and provides an error response. If you have the required permissions, the error response is DryRunOperation. Otherwise, it is UnauthorizedOperation.

                                                                        pub fn dry_run(mut self, input: bool) -> Self { self.inner = self.inner.dry_run(input); diff --git a/sdk/ec2/src/operation/reject_vpc_peering_connection/builders.rs b/sdk/ec2/src/operation/reject_vpc_peering_connection/builders.rs index 97b815479a5d..0f4e2fc92ed7 100644 --- a/sdk/ec2/src/operation/reject_vpc_peering_connection/builders.rs +++ b/sdk/ec2/src/operation/reject_vpc_peering_connection/builders.rs @@ -19,9 +19,9 @@ impl RejectVpcPeeringConnectionFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl RejectVpcPeeringConnectionFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::reject_vpc_peering_connection::RejectVpcPeeringConnection, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::reject_vpc_peering_connection::RejectVpcPeeringConnectionError, + >, + > { + self.customize_middleware().await + } ///

                                                                        Checks whether you have the required permissions for the action, without actually making the request, and provides an error response. If you have the required permissions, the error response is DryRunOperation. Otherwise, it is UnauthorizedOperation.

                                                                        pub fn dry_run(mut self, input: bool) -> Self { self.inner = self.inner.dry_run(input); diff --git a/sdk/ec2/src/operation/release_address/builders.rs b/sdk/ec2/src/operation/release_address/builders.rs index 3cc378da5060..608a630746d7 100644 --- a/sdk/ec2/src/operation/release_address/builders.rs +++ b/sdk/ec2/src/operation/release_address/builders.rs @@ -26,9 +26,9 @@ impl ReleaseAddressFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -84,6 +84,20 @@ impl ReleaseAddressFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::release_address::ReleaseAddress, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                        [EC2-VPC] The allocation ID. Required for EC2-VPC.

                                                                        pub fn allocation_id( mut self, diff --git a/sdk/ec2/src/operation/release_hosts/builders.rs b/sdk/ec2/src/operation/release_hosts/builders.rs index e8ee049199c7..3d15e3aed00d 100644 --- a/sdk/ec2/src/operation/release_hosts/builders.rs +++ b/sdk/ec2/src/operation/release_hosts/builders.rs @@ -21,9 +21,9 @@ impl ReleaseHostsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -79,6 +79,20 @@ impl ReleaseHostsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::release_hosts::ReleaseHosts, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } /// Appends an item to `HostIds`. /// /// To override the contents of this collection use [`set_host_ids`](Self::set_host_ids). diff --git a/sdk/ec2/src/operation/release_ipam_pool_allocation/builders.rs b/sdk/ec2/src/operation/release_ipam_pool_allocation/builders.rs index b4bf1721d40b..2ab2b2b08ccb 100644 --- a/sdk/ec2/src/operation/release_ipam_pool_allocation/builders.rs +++ b/sdk/ec2/src/operation/release_ipam_pool_allocation/builders.rs @@ -21,9 +21,9 @@ impl ReleaseIpamPoolAllocationFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -85,6 +85,22 @@ impl ReleaseIpamPoolAllocationFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::release_ipam_pool_allocation::ReleaseIpamPoolAllocation, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::release_ipam_pool_allocation::ReleaseIpamPoolAllocationError, + >, + > { + self.customize_middleware().await + } ///

                                                                        A check for whether you have the required permissions for the action without actually making the request and provides an error response. If you have the required permissions, the error response is DryRunOperation. Otherwise, it is UnauthorizedOperation.

                                                                        pub fn dry_run(mut self, input: bool) -> Self { self.inner = self.inner.dry_run(input); diff --git a/sdk/ec2/src/operation/replace_iam_instance_profile_association/builders.rs b/sdk/ec2/src/operation/replace_iam_instance_profile_association/builders.rs index 6c4b8c43fa2d..b72fb5167fd3 100644 --- a/sdk/ec2/src/operation/replace_iam_instance_profile_association/builders.rs +++ b/sdk/ec2/src/operation/replace_iam_instance_profile_association/builders.rs @@ -20,9 +20,9 @@ impl ReplaceIamInstanceProfileAssociationFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize(self) -> ::std::result::Result< + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware(self) -> ::std::result::Result< crate::client::customize::CustomizableOperation, ::aws_smithy_http::result::SdkError >{ @@ -65,6 +65,15 @@ impl ReplaceIamInstanceProfileAssociationFluentBuilder { { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize(self) -> ::std::result::Result< + crate::client::customize::CustomizableOperation, + ::aws_smithy_http::result::SdkError + >{ + self.customize_middleware().await + } ///

                                                                        The IAM instance profile.

                                                                        pub fn iam_instance_profile( mut self, diff --git a/sdk/ec2/src/operation/replace_network_acl_association/builders.rs b/sdk/ec2/src/operation/replace_network_acl_association/builders.rs index 04d298a4a6bd..cbc85fd9c038 100644 --- a/sdk/ec2/src/operation/replace_network_acl_association/builders.rs +++ b/sdk/ec2/src/operation/replace_network_acl_association/builders.rs @@ -20,9 +20,9 @@ impl ReplaceNetworkAclAssociationFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -84,6 +84,22 @@ impl ReplaceNetworkAclAssociationFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::replace_network_acl_association::ReplaceNetworkAclAssociation, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::replace_network_acl_association::ReplaceNetworkAclAssociationError, + >, + > { + self.customize_middleware().await + } ///

                                                                        The ID of the current association between the original network ACL and the subnet.

                                                                        pub fn association_id( mut self, diff --git a/sdk/ec2/src/operation/replace_network_acl_entry/builders.rs b/sdk/ec2/src/operation/replace_network_acl_entry/builders.rs index dda46f4205bb..103f82b8cacd 100644 --- a/sdk/ec2/src/operation/replace_network_acl_entry/builders.rs +++ b/sdk/ec2/src/operation/replace_network_acl_entry/builders.rs @@ -20,9 +20,9 @@ impl ReplaceNetworkAclEntryFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -84,6 +84,22 @@ impl ReplaceNetworkAclEntryFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::replace_network_acl_entry::ReplaceNetworkAclEntry, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::replace_network_acl_entry::ReplaceNetworkAclEntryError, + >, + > { + self.customize_middleware().await + } ///

                                                                        The IPv4 network range to allow or deny, in CIDR notation (for example 172.16.0.0/24).

                                                                        pub fn cidr_block(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.cidr_block(input.into()); diff --git a/sdk/ec2/src/operation/replace_route/builders.rs b/sdk/ec2/src/operation/replace_route/builders.rs index 04a544dc8cc9..9b9bcd1bde27 100644 --- a/sdk/ec2/src/operation/replace_route/builders.rs +++ b/sdk/ec2/src/operation/replace_route/builders.rs @@ -21,9 +21,9 @@ impl ReplaceRouteFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -79,6 +79,20 @@ impl ReplaceRouteFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::replace_route::ReplaceRoute, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                        The IPv4 CIDR address block used for the destination match. The value that you provide must match the CIDR of an existing route in the table.

                                                                        pub fn destination_cidr_block( mut self, diff --git a/sdk/ec2/src/operation/replace_route_table_association/builders.rs b/sdk/ec2/src/operation/replace_route_table_association/builders.rs index c79c37db256b..1303baf1436e 100644 --- a/sdk/ec2/src/operation/replace_route_table_association/builders.rs +++ b/sdk/ec2/src/operation/replace_route_table_association/builders.rs @@ -20,9 +20,9 @@ impl ReplaceRouteTableAssociationFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -84,6 +84,22 @@ impl ReplaceRouteTableAssociationFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::replace_route_table_association::ReplaceRouteTableAssociation, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::replace_route_table_association::ReplaceRouteTableAssociationError, + >, + > { + self.customize_middleware().await + } ///

                                                                        The association ID.

                                                                        pub fn association_id( mut self, diff --git a/sdk/ec2/src/operation/replace_transit_gateway_route/builders.rs b/sdk/ec2/src/operation/replace_transit_gateway_route/builders.rs index 38f83aed39d5..27eda522b724 100644 --- a/sdk/ec2/src/operation/replace_transit_gateway_route/builders.rs +++ b/sdk/ec2/src/operation/replace_transit_gateway_route/builders.rs @@ -19,9 +19,9 @@ impl ReplaceTransitGatewayRouteFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl ReplaceTransitGatewayRouteFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::replace_transit_gateway_route::ReplaceTransitGatewayRoute, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::replace_transit_gateway_route::ReplaceTransitGatewayRouteError, + >, + > { + self.customize_middleware().await + } ///

                                                                        The CIDR range used for the destination match. Routing decisions are based on the most specific match.

                                                                        pub fn destination_cidr_block( mut self, diff --git a/sdk/ec2/src/operation/replace_vpn_tunnel/builders.rs b/sdk/ec2/src/operation/replace_vpn_tunnel/builders.rs index 991066075f36..4aaa168e9b63 100644 --- a/sdk/ec2/src/operation/replace_vpn_tunnel/builders.rs +++ b/sdk/ec2/src/operation/replace_vpn_tunnel/builders.rs @@ -19,9 +19,9 @@ impl ReplaceVpnTunnelFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl ReplaceVpnTunnelFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::replace_vpn_tunnel::ReplaceVpnTunnel, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::replace_vpn_tunnel::ReplaceVpnTunnelError, + >, + > { + self.customize_middleware().await + } ///

                                                                        The ID of the Site-to-Site VPN connection.

                                                                        pub fn vpn_connection_id( mut self, diff --git a/sdk/ec2/src/operation/report_instance_status/builders.rs b/sdk/ec2/src/operation/report_instance_status/builders.rs index fe19f0cf7150..d9b087eae5cb 100644 --- a/sdk/ec2/src/operation/report_instance_status/builders.rs +++ b/sdk/ec2/src/operation/report_instance_status/builders.rs @@ -20,9 +20,9 @@ impl ReportInstanceStatusFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -84,6 +84,22 @@ impl ReportInstanceStatusFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::report_instance_status::ReportInstanceStatus, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::report_instance_status::ReportInstanceStatusError, + >, + > { + self.customize_middleware().await + } ///

                                                                        Descriptive text about the health state of your instance.

                                                                        pub fn description(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.description(input.into()); diff --git a/sdk/ec2/src/operation/request_spot_fleet/builders.rs b/sdk/ec2/src/operation/request_spot_fleet/builders.rs index 850ced2e8154..99c4629402ae 100644 --- a/sdk/ec2/src/operation/request_spot_fleet/builders.rs +++ b/sdk/ec2/src/operation/request_spot_fleet/builders.rs @@ -27,9 +27,9 @@ impl RequestSpotFleetFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -91,6 +91,22 @@ impl RequestSpotFleetFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::request_spot_fleet::RequestSpotFleet, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::request_spot_fleet::RequestSpotFleetError, + >, + > { + self.customize_middleware().await + } ///

                                                                        Checks whether you have the required permissions for the action, without actually making the request, and provides an error response. If you have the required permissions, the error response is DryRunOperation. Otherwise, it is UnauthorizedOperation.

                                                                        pub fn dry_run(mut self, input: bool) -> Self { self.inner = self.inner.dry_run(input); diff --git a/sdk/ec2/src/operation/request_spot_instances/builders.rs b/sdk/ec2/src/operation/request_spot_instances/builders.rs index 906d896ce97a..03779b5f7a15 100644 --- a/sdk/ec2/src/operation/request_spot_instances/builders.rs +++ b/sdk/ec2/src/operation/request_spot_instances/builders.rs @@ -22,9 +22,9 @@ impl RequestSpotInstancesFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -86,6 +86,22 @@ impl RequestSpotInstancesFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::request_spot_instances::RequestSpotInstances, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::request_spot_instances::RequestSpotInstancesError, + >, + > { + self.customize_middleware().await + } ///

                                                                        The user-specified name for a logical grouping of requests.

                                                                        ///

                                                                        When you specify an Availability Zone group in a Spot Instance request, all Spot Instances in the request are launched in the same Availability Zone. Instance proximity is maintained with this parameter, but the choice of Availability Zone is not. The group applies only to requests for Spot Instances of the same instance type. Any additional Spot Instance requests that are specified with the same Availability Zone group name are launched in that same Availability Zone, as long as at least one instance from the group is still active.

                                                                        ///

                                                                        If there is no active instance running in the Availability Zone group that you specify for a new Spot Instance request (all instances are terminated, the request is expired, or the maximum price you specified falls below current Spot price), then Amazon EC2 launches the instance in any Availability Zone where the constraint can be met. Consequently, the subsequent set of Spot Instances could be placed in a different zone from the original request, even if you specified the same Availability Zone group.

                                                                        diff --git a/sdk/ec2/src/operation/reset_address_attribute/builders.rs b/sdk/ec2/src/operation/reset_address_attribute/builders.rs index 30550846334d..91f46b517481 100644 --- a/sdk/ec2/src/operation/reset_address_attribute/builders.rs +++ b/sdk/ec2/src/operation/reset_address_attribute/builders.rs @@ -19,9 +19,9 @@ impl ResetAddressAttributeFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl ResetAddressAttributeFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::reset_address_attribute::ResetAddressAttribute, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::reset_address_attribute::ResetAddressAttributeError, + >, + > { + self.customize_middleware().await + } ///

                                                                        [EC2-VPC] The allocation ID.

                                                                        pub fn allocation_id( mut self, diff --git a/sdk/ec2/src/operation/reset_ebs_default_kms_key_id/builders.rs b/sdk/ec2/src/operation/reset_ebs_default_kms_key_id/builders.rs index f172c07bf94b..6a1c2254f709 100644 --- a/sdk/ec2/src/operation/reset_ebs_default_kms_key_id/builders.rs +++ b/sdk/ec2/src/operation/reset_ebs_default_kms_key_id/builders.rs @@ -20,9 +20,9 @@ impl ResetEbsDefaultKmsKeyIdFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -84,6 +84,22 @@ impl ResetEbsDefaultKmsKeyIdFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::reset_ebs_default_kms_key_id::ResetEbsDefaultKmsKeyId, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::reset_ebs_default_kms_key_id::ResetEbsDefaultKmsKeyIdError, + >, + > { + self.customize_middleware().await + } ///

                                                                        Checks whether you have the required permissions for the action, without actually making the request, and provides an error response. If you have the required permissions, the error response is DryRunOperation. Otherwise, it is UnauthorizedOperation.

                                                                        pub fn dry_run(mut self, input: bool) -> Self { self.inner = self.inner.dry_run(input); diff --git a/sdk/ec2/src/operation/reset_fpga_image_attribute/builders.rs b/sdk/ec2/src/operation/reset_fpga_image_attribute/builders.rs index 5f758d86ca80..4cd5fe9c7c3e 100644 --- a/sdk/ec2/src/operation/reset_fpga_image_attribute/builders.rs +++ b/sdk/ec2/src/operation/reset_fpga_image_attribute/builders.rs @@ -20,9 +20,9 @@ impl ResetFpgaImageAttributeFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -84,6 +84,22 @@ impl ResetFpgaImageAttributeFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::reset_fpga_image_attribute::ResetFpgaImageAttribute, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::reset_fpga_image_attribute::ResetFpgaImageAttributeError, + >, + > { + self.customize_middleware().await + } ///

                                                                        Checks whether you have the required permissions for the action, without actually making the request, and provides an error response. If you have the required permissions, the error response is DryRunOperation. Otherwise, it is UnauthorizedOperation.

                                                                        pub fn dry_run(mut self, input: bool) -> Self { self.inner = self.inner.dry_run(input); diff --git a/sdk/ec2/src/operation/reset_image_attribute/builders.rs b/sdk/ec2/src/operation/reset_image_attribute/builders.rs index f80000508b09..1b55f4754952 100644 --- a/sdk/ec2/src/operation/reset_image_attribute/builders.rs +++ b/sdk/ec2/src/operation/reset_image_attribute/builders.rs @@ -19,9 +19,9 @@ impl ResetImageAttributeFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl ResetImageAttributeFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::reset_image_attribute::ResetImageAttribute, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::reset_image_attribute::ResetImageAttributeError, + >, + > { + self.customize_middleware().await + } ///

                                                                        The attribute to reset (currently you can only reset the launch permission attribute).

                                                                        pub fn attribute(mut self, input: crate::types::ResetImageAttributeName) -> Self { self.inner = self.inner.attribute(input); diff --git a/sdk/ec2/src/operation/reset_instance_attribute/builders.rs b/sdk/ec2/src/operation/reset_instance_attribute/builders.rs index 9b1d22bc89cb..511fe884c8bd 100644 --- a/sdk/ec2/src/operation/reset_instance_attribute/builders.rs +++ b/sdk/ec2/src/operation/reset_instance_attribute/builders.rs @@ -20,9 +20,9 @@ impl ResetInstanceAttributeFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -84,6 +84,22 @@ impl ResetInstanceAttributeFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::reset_instance_attribute::ResetInstanceAttribute, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::reset_instance_attribute::ResetInstanceAttributeError, + >, + > { + self.customize_middleware().await + } ///

                                                                        The attribute to reset.

                                                                        ///

                                                                        You can only reset the following attributes: kernel | ramdisk | sourceDestCheck.

                                                                        ///
                                                                        diff --git a/sdk/ec2/src/operation/reset_network_interface_attribute/builders.rs b/sdk/ec2/src/operation/reset_network_interface_attribute/builders.rs index 066e958ea3a4..3c55d6e75fcb 100644 --- a/sdk/ec2/src/operation/reset_network_interface_attribute/builders.rs +++ b/sdk/ec2/src/operation/reset_network_interface_attribute/builders.rs @@ -19,9 +19,9 @@ impl ResetNetworkInterfaceAttributeFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize(self) -> ::std::result::Result< + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware(self) -> ::std::result::Result< crate::client::customize::CustomizableOperation, ::aws_smithy_http::result::SdkError >{ @@ -64,6 +64,15 @@ impl ResetNetworkInterfaceAttributeFluentBuilder { { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize(self) -> ::std::result::Result< + crate::client::customize::CustomizableOperation, + ::aws_smithy_http::result::SdkError + >{ + self.customize_middleware().await + } ///

                                                                        Checks whether you have the required permissions for the action, without actually making the request, and provides an error response. If you have the required permissions, the error response is DryRunOperation. Otherwise, it is UnauthorizedOperation.

                                                                        pub fn dry_run(mut self, input: bool) -> Self { self.inner = self.inner.dry_run(input); diff --git a/sdk/ec2/src/operation/reset_snapshot_attribute/builders.rs b/sdk/ec2/src/operation/reset_snapshot_attribute/builders.rs index c62e8593b4f1..f92411d8a75d 100644 --- a/sdk/ec2/src/operation/reset_snapshot_attribute/builders.rs +++ b/sdk/ec2/src/operation/reset_snapshot_attribute/builders.rs @@ -20,9 +20,9 @@ impl ResetSnapshotAttributeFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -84,6 +84,22 @@ impl ResetSnapshotAttributeFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::reset_snapshot_attribute::ResetSnapshotAttribute, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::reset_snapshot_attribute::ResetSnapshotAttributeError, + >, + > { + self.customize_middleware().await + } ///

                                                                        The attribute to reset. Currently, only the attribute for permission to create volumes can be reset.

                                                                        pub fn attribute(mut self, input: crate::types::SnapshotAttributeName) -> Self { self.inner = self.inner.attribute(input); diff --git a/sdk/ec2/src/operation/restore_address_to_classic/builders.rs b/sdk/ec2/src/operation/restore_address_to_classic/builders.rs index d4c1c94f505a..875f594bbc3c 100644 --- a/sdk/ec2/src/operation/restore_address_to_classic/builders.rs +++ b/sdk/ec2/src/operation/restore_address_to_classic/builders.rs @@ -22,9 +22,9 @@ impl RestoreAddressToClassicFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -86,6 +86,22 @@ impl RestoreAddressToClassicFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::restore_address_to_classic::RestoreAddressToClassic, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::restore_address_to_classic::RestoreAddressToClassicError, + >, + > { + self.customize_middleware().await + } ///

                                                                        Checks whether you have the required permissions for the action, without actually making the request, and provides an error response. If you have the required permissions, the error response is DryRunOperation. Otherwise, it is UnauthorizedOperation.

                                                                        pub fn dry_run(mut self, input: bool) -> Self { self.inner = self.inner.dry_run(input); diff --git a/sdk/ec2/src/operation/restore_image_from_recycle_bin/builders.rs b/sdk/ec2/src/operation/restore_image_from_recycle_bin/builders.rs index 94375946fd1d..5e32a18b7009 100644 --- a/sdk/ec2/src/operation/restore_image_from_recycle_bin/builders.rs +++ b/sdk/ec2/src/operation/restore_image_from_recycle_bin/builders.rs @@ -19,9 +19,9 @@ impl RestoreImageFromRecycleBinFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl RestoreImageFromRecycleBinFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::restore_image_from_recycle_bin::RestoreImageFromRecycleBin, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::restore_image_from_recycle_bin::RestoreImageFromRecycleBinError, + >, + > { + self.customize_middleware().await + } ///

                                                                        The ID of the AMI to restore.

                                                                        pub fn image_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.image_id(input.into()); diff --git a/sdk/ec2/src/operation/restore_managed_prefix_list_version/builders.rs b/sdk/ec2/src/operation/restore_managed_prefix_list_version/builders.rs index ab205ab1569e..f2f48d5d613e 100644 --- a/sdk/ec2/src/operation/restore_managed_prefix_list_version/builders.rs +++ b/sdk/ec2/src/operation/restore_managed_prefix_list_version/builders.rs @@ -19,9 +19,9 @@ impl RestoreManagedPrefixListVersionFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize(self) -> ::std::result::Result< + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware(self) -> ::std::result::Result< crate::client::customize::CustomizableOperation, ::aws_smithy_http::result::SdkError >{ @@ -64,6 +64,15 @@ impl RestoreManagedPrefixListVersionFluentBuilder { { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize(self) -> ::std::result::Result< + crate::client::customize::CustomizableOperation, + ::aws_smithy_http::result::SdkError + >{ + self.customize_middleware().await + } ///

                                                                        Checks whether you have the required permissions for the action, without actually making the request, and provides an error response. If you have the required permissions, the error response is DryRunOperation. Otherwise, it is UnauthorizedOperation.

                                                                        pub fn dry_run(mut self, input: bool) -> Self { self.inner = self.inner.dry_run(input); diff --git a/sdk/ec2/src/operation/restore_snapshot_from_recycle_bin/builders.rs b/sdk/ec2/src/operation/restore_snapshot_from_recycle_bin/builders.rs index 4e3b412daf59..b10120360cff 100644 --- a/sdk/ec2/src/operation/restore_snapshot_from_recycle_bin/builders.rs +++ b/sdk/ec2/src/operation/restore_snapshot_from_recycle_bin/builders.rs @@ -19,9 +19,9 @@ impl RestoreSnapshotFromRecycleBinFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl RestoreSnapshotFromRecycleBinFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::restore_snapshot_from_recycle_bin::RestoreSnapshotFromRecycleBin, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::restore_snapshot_from_recycle_bin::RestoreSnapshotFromRecycleBinError, + >, + > { + self.customize_middleware().await + } ///

                                                                        The ID of the snapshot to restore.

                                                                        pub fn snapshot_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.snapshot_id(input.into()); diff --git a/sdk/ec2/src/operation/restore_snapshot_tier/builders.rs b/sdk/ec2/src/operation/restore_snapshot_tier/builders.rs index 74b7e750fc3d..41e2b574778c 100644 --- a/sdk/ec2/src/operation/restore_snapshot_tier/builders.rs +++ b/sdk/ec2/src/operation/restore_snapshot_tier/builders.rs @@ -20,9 +20,9 @@ impl RestoreSnapshotTierFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -84,6 +84,22 @@ impl RestoreSnapshotTierFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::restore_snapshot_tier::RestoreSnapshotTier, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::restore_snapshot_tier::RestoreSnapshotTierError, + >, + > { + self.customize_middleware().await + } ///

                                                                        The ID of the snapshot to restore.

                                                                        pub fn snapshot_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.snapshot_id(input.into()); diff --git a/sdk/ec2/src/operation/revoke_client_vpn_ingress/builders.rs b/sdk/ec2/src/operation/revoke_client_vpn_ingress/builders.rs index 4852210c0255..db19f038541f 100644 --- a/sdk/ec2/src/operation/revoke_client_vpn_ingress/builders.rs +++ b/sdk/ec2/src/operation/revoke_client_vpn_ingress/builders.rs @@ -20,9 +20,9 @@ impl RevokeClientVpnIngressFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -84,6 +84,22 @@ impl RevokeClientVpnIngressFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::revoke_client_vpn_ingress::RevokeClientVpnIngress, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::revoke_client_vpn_ingress::RevokeClientVpnIngressError, + >, + > { + self.customize_middleware().await + } ///

                                                                        The ID of the Client VPN endpoint with which the authorization rule is associated.

                                                                        pub fn client_vpn_endpoint_id( mut self, diff --git a/sdk/ec2/src/operation/revoke_security_group_egress/builders.rs b/sdk/ec2/src/operation/revoke_security_group_egress/builders.rs index 1cbbfcf58b8d..8b492631908a 100644 --- a/sdk/ec2/src/operation/revoke_security_group_egress/builders.rs +++ b/sdk/ec2/src/operation/revoke_security_group_egress/builders.rs @@ -23,9 +23,9 @@ impl RevokeSecurityGroupEgressFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -87,6 +87,22 @@ impl RevokeSecurityGroupEgressFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::revoke_security_group_egress::RevokeSecurityGroupEgress, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::revoke_security_group_egress::RevokeSecurityGroupEgressError, + >, + > { + self.customize_middleware().await + } ///

                                                                        Checks whether you have the required permissions for the action, without actually making the request, and provides an error response. If you have the required permissions, the error response is DryRunOperation. Otherwise, it is UnauthorizedOperation.

                                                                        pub fn dry_run(mut self, input: bool) -> Self { self.inner = self.inner.dry_run(input); diff --git a/sdk/ec2/src/operation/revoke_security_group_ingress/builders.rs b/sdk/ec2/src/operation/revoke_security_group_ingress/builders.rs index 6219b194469e..53b38b52d804 100644 --- a/sdk/ec2/src/operation/revoke_security_group_ingress/builders.rs +++ b/sdk/ec2/src/operation/revoke_security_group_ingress/builders.rs @@ -25,9 +25,9 @@ impl RevokeSecurityGroupIngressFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -89,6 +89,22 @@ impl RevokeSecurityGroupIngressFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::revoke_security_group_ingress::RevokeSecurityGroupIngress, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::revoke_security_group_ingress::RevokeSecurityGroupIngressError, + >, + > { + self.customize_middleware().await + } ///

                                                                        The CIDR IP address range. You can't specify this parameter when specifying a source security group.

                                                                        pub fn cidr_ip(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.cidr_ip(input.into()); diff --git a/sdk/ec2/src/operation/run_instances/builders.rs b/sdk/ec2/src/operation/run_instances/builders.rs index 83afad91f25a..a66666c26625 100644 --- a/sdk/ec2/src/operation/run_instances/builders.rs +++ b/sdk/ec2/src/operation/run_instances/builders.rs @@ -32,9 +32,9 @@ impl RunInstancesFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -90,6 +90,20 @@ impl RunInstancesFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::run_instances::RunInstances, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } /// Appends an item to `BlockDeviceMappings`. /// /// To override the contents of this collection use [`set_block_device_mappings`](Self::set_block_device_mappings). diff --git a/sdk/ec2/src/operation/run_scheduled_instances/builders.rs b/sdk/ec2/src/operation/run_scheduled_instances/builders.rs index e87033507426..4b6940e1e18a 100644 --- a/sdk/ec2/src/operation/run_scheduled_instances/builders.rs +++ b/sdk/ec2/src/operation/run_scheduled_instances/builders.rs @@ -21,9 +21,9 @@ impl RunScheduledInstancesFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -85,6 +85,22 @@ impl RunScheduledInstancesFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::run_scheduled_instances::RunScheduledInstances, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::run_scheduled_instances::RunScheduledInstancesError, + >, + > { + self.customize_middleware().await + } ///

                                                                        Unique, case-sensitive identifier that ensures the idempotency of the request. For more information, see Ensuring Idempotency.

                                                                        pub fn client_token(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.client_token(input.into()); diff --git a/sdk/ec2/src/operation/search_local_gateway_routes/builders.rs b/sdk/ec2/src/operation/search_local_gateway_routes/builders.rs index e2309bf4ac78..680db9d68e6d 100644 --- a/sdk/ec2/src/operation/search_local_gateway_routes/builders.rs +++ b/sdk/ec2/src/operation/search_local_gateway_routes/builders.rs @@ -19,9 +19,9 @@ impl SearchLocalGatewayRoutesFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl SearchLocalGatewayRoutesFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::search_local_gateway_routes::SearchLocalGatewayRoutes, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::search_local_gateway_routes::SearchLocalGatewayRoutesError, + >, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::search_local_gateway_routes::paginator::SearchLocalGatewayRoutesPaginator::send) which returns a `Stream`. diff --git a/sdk/ec2/src/operation/search_transit_gateway_multicast_groups/builders.rs b/sdk/ec2/src/operation/search_transit_gateway_multicast_groups/builders.rs index 583ab3798552..4bd11be87782 100644 --- a/sdk/ec2/src/operation/search_transit_gateway_multicast_groups/builders.rs +++ b/sdk/ec2/src/operation/search_transit_gateway_multicast_groups/builders.rs @@ -19,9 +19,9 @@ impl SearchTransitGatewayMulticastGroupsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize(self) -> ::std::result::Result< + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware(self) -> ::std::result::Result< crate::client::customize::CustomizableOperation, ::aws_smithy_http::result::SdkError >{ @@ -64,6 +64,15 @@ impl SearchTransitGatewayMulticastGroupsFluentBuilder { { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize(self) -> ::std::result::Result< + crate::client::customize::CustomizableOperation, + ::aws_smithy_http::result::SdkError + >{ + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::search_transit_gateway_multicast_groups::paginator::SearchTransitGatewayMulticastGroupsPaginator::send) which returns a `Stream`. diff --git a/sdk/ec2/src/operation/search_transit_gateway_routes/builders.rs b/sdk/ec2/src/operation/search_transit_gateway_routes/builders.rs index b0e4a1c12b02..db16f14cfcbc 100644 --- a/sdk/ec2/src/operation/search_transit_gateway_routes/builders.rs +++ b/sdk/ec2/src/operation/search_transit_gateway_routes/builders.rs @@ -19,9 +19,9 @@ impl SearchTransitGatewayRoutesFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl SearchTransitGatewayRoutesFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::search_transit_gateway_routes::SearchTransitGatewayRoutes, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::search_transit_gateway_routes::SearchTransitGatewayRoutesError, + >, + > { + self.customize_middleware().await + } ///

                                                                        The ID of the transit gateway route table.

                                                                        pub fn transit_gateway_route_table_id( mut self, diff --git a/sdk/ec2/src/operation/send_diagnostic_interrupt/builders.rs b/sdk/ec2/src/operation/send_diagnostic_interrupt/builders.rs index 403af63c9422..f4bf17f42344 100644 --- a/sdk/ec2/src/operation/send_diagnostic_interrupt/builders.rs +++ b/sdk/ec2/src/operation/send_diagnostic_interrupt/builders.rs @@ -23,9 +23,9 @@ impl SendDiagnosticInterruptFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -87,6 +87,22 @@ impl SendDiagnosticInterruptFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::send_diagnostic_interrupt::SendDiagnosticInterrupt, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::send_diagnostic_interrupt::SendDiagnosticInterruptError, + >, + > { + self.customize_middleware().await + } ///

                                                                        The ID of the instance.

                                                                        pub fn instance_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.instance_id(input.into()); diff --git a/sdk/ec2/src/operation/start_instances/builders.rs b/sdk/ec2/src/operation/start_instances/builders.rs index 8ca2ce3fa955..9f0edb5dcb24 100644 --- a/sdk/ec2/src/operation/start_instances/builders.rs +++ b/sdk/ec2/src/operation/start_instances/builders.rs @@ -24,9 +24,9 @@ impl StartInstancesFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -82,6 +82,20 @@ impl StartInstancesFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::start_instances::StartInstances, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } /// Appends an item to `InstanceIds`. /// /// To override the contents of this collection use [`set_instance_ids`](Self::set_instance_ids). diff --git a/sdk/ec2/src/operation/start_network_insights_access_scope_analysis/builders.rs b/sdk/ec2/src/operation/start_network_insights_access_scope_analysis/builders.rs index 632437c0ff75..11e3d3a296a2 100644 --- a/sdk/ec2/src/operation/start_network_insights_access_scope_analysis/builders.rs +++ b/sdk/ec2/src/operation/start_network_insights_access_scope_analysis/builders.rs @@ -19,9 +19,9 @@ impl StartNetworkInsightsAccessScopeAnalysisFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize(self) -> ::std::result::Result< + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware(self) -> ::std::result::Result< crate::client::customize::CustomizableOperation, ::aws_smithy_http::result::SdkError >{ @@ -64,6 +64,15 @@ impl StartNetworkInsightsAccessScopeAnalysisFluentBuilder { { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize(self) -> ::std::result::Result< + crate::client::customize::CustomizableOperation, + ::aws_smithy_http::result::SdkError + >{ + self.customize_middleware().await + } ///

                                                                        The ID of the Network Access Scope.

                                                                        pub fn network_insights_access_scope_id( mut self, diff --git a/sdk/ec2/src/operation/start_network_insights_analysis/builders.rs b/sdk/ec2/src/operation/start_network_insights_analysis/builders.rs index b6489eaacf58..a3792de4d3ac 100644 --- a/sdk/ec2/src/operation/start_network_insights_analysis/builders.rs +++ b/sdk/ec2/src/operation/start_network_insights_analysis/builders.rs @@ -19,9 +19,9 @@ impl StartNetworkInsightsAnalysisFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl StartNetworkInsightsAnalysisFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::start_network_insights_analysis::StartNetworkInsightsAnalysis, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::start_network_insights_analysis::StartNetworkInsightsAnalysisError, + >, + > { + self.customize_middleware().await + } ///

                                                                        The ID of the path.

                                                                        pub fn network_insights_path_id( mut self, diff --git a/sdk/ec2/src/operation/start_vpc_endpoint_service_private_dns_verification/builders.rs b/sdk/ec2/src/operation/start_vpc_endpoint_service_private_dns_verification/builders.rs index 9112bf8e39e8..b00172b0e7d1 100644 --- a/sdk/ec2/src/operation/start_vpc_endpoint_service_private_dns_verification/builders.rs +++ b/sdk/ec2/src/operation/start_vpc_endpoint_service_private_dns_verification/builders.rs @@ -21,9 +21,9 @@ impl StartVpcEndpointServicePrivateDnsVerificationFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize(self) -> ::std::result::Result< + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware(self) -> ::std::result::Result< crate::client::customize::CustomizableOperation, ::aws_smithy_http::result::SdkError >{ @@ -66,6 +66,15 @@ impl StartVpcEndpointServicePrivateDnsVerificationFluentBuilder { { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize(self) -> ::std::result::Result< + crate::client::customize::CustomizableOperation, + ::aws_smithy_http::result::SdkError + >{ + self.customize_middleware().await + } ///

                                                                        Checks whether you have the required permissions for the action, without actually making the request, and provides an error response. If you have the required permissions, the error response is DryRunOperation. Otherwise, it is UnauthorizedOperation.

                                                                        pub fn dry_run(mut self, input: bool) -> Self { self.inner = self.inner.dry_run(input); diff --git a/sdk/ec2/src/operation/stop_instances/builders.rs b/sdk/ec2/src/operation/stop_instances/builders.rs index c5b58d8673d1..bb07cd1908e6 100644 --- a/sdk/ec2/src/operation/stop_instances/builders.rs +++ b/sdk/ec2/src/operation/stop_instances/builders.rs @@ -25,9 +25,9 @@ impl StopInstancesFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,20 @@ impl StopInstancesFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::stop_instances::StopInstances, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } /// Appends an item to `InstanceIds`. /// /// To override the contents of this collection use [`set_instance_ids`](Self::set_instance_ids). diff --git a/sdk/ec2/src/operation/terminate_client_vpn_connections/builders.rs b/sdk/ec2/src/operation/terminate_client_vpn_connections/builders.rs index 9b013ca5068d..9f03b67d8c6d 100644 --- a/sdk/ec2/src/operation/terminate_client_vpn_connections/builders.rs +++ b/sdk/ec2/src/operation/terminate_client_vpn_connections/builders.rs @@ -19,9 +19,9 @@ impl TerminateClientVpnConnectionsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl TerminateClientVpnConnectionsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::terminate_client_vpn_connections::TerminateClientVpnConnections, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::terminate_client_vpn_connections::TerminateClientVpnConnectionsError, + >, + > { + self.customize_middleware().await + } ///

                                                                        The ID of the Client VPN endpoint to which the client is connected.

                                                                        pub fn client_vpn_endpoint_id( mut self, diff --git a/sdk/ec2/src/operation/terminate_instances/builders.rs b/sdk/ec2/src/operation/terminate_instances/builders.rs index 0f2a1552aeb3..ac9af9d4d506 100644 --- a/sdk/ec2/src/operation/terminate_instances/builders.rs +++ b/sdk/ec2/src/operation/terminate_instances/builders.rs @@ -41,9 +41,9 @@ impl TerminateInstancesFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -105,6 +105,22 @@ impl TerminateInstancesFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::terminate_instances::TerminateInstances, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::terminate_instances::TerminateInstancesError, + >, + > { + self.customize_middleware().await + } /// Appends an item to `InstanceIds`. /// /// To override the contents of this collection use [`set_instance_ids`](Self::set_instance_ids). diff --git a/sdk/ec2/src/operation/unassign_ipv6_addresses/builders.rs b/sdk/ec2/src/operation/unassign_ipv6_addresses/builders.rs index 590f7702bd00..5c2cf6078079 100644 --- a/sdk/ec2/src/operation/unassign_ipv6_addresses/builders.rs +++ b/sdk/ec2/src/operation/unassign_ipv6_addresses/builders.rs @@ -19,9 +19,9 @@ impl UnassignIpv6AddressesFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl UnassignIpv6AddressesFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::unassign_ipv6_addresses::UnassignIpv6Addresses, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::unassign_ipv6_addresses::UnassignIpv6AddressesError, + >, + > { + self.customize_middleware().await + } /// Appends an item to `Ipv6Addresses`. /// /// To override the contents of this collection use [`set_ipv6_addresses`](Self::set_ipv6_addresses). diff --git a/sdk/ec2/src/operation/unassign_private_ip_addresses/builders.rs b/sdk/ec2/src/operation/unassign_private_ip_addresses/builders.rs index 05e198f5b277..22b15d3e798c 100644 --- a/sdk/ec2/src/operation/unassign_private_ip_addresses/builders.rs +++ b/sdk/ec2/src/operation/unassign_private_ip_addresses/builders.rs @@ -19,9 +19,9 @@ impl UnassignPrivateIpAddressesFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl UnassignPrivateIpAddressesFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::unassign_private_ip_addresses::UnassignPrivateIpAddresses, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::unassign_private_ip_addresses::UnassignPrivateIpAddressesError, + >, + > { + self.customize_middleware().await + } ///

                                                                        The ID of the network interface.

                                                                        pub fn network_interface_id( mut self, diff --git a/sdk/ec2/src/operation/unassign_private_nat_gateway_address/builders.rs b/sdk/ec2/src/operation/unassign_private_nat_gateway_address/builders.rs index a68c2756155e..5ee6e04151ab 100644 --- a/sdk/ec2/src/operation/unassign_private_nat_gateway_address/builders.rs +++ b/sdk/ec2/src/operation/unassign_private_nat_gateway_address/builders.rs @@ -23,9 +23,9 @@ impl UnassignPrivateNatGatewayAddressFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize(self) -> ::std::result::Result< + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware(self) -> ::std::result::Result< crate::client::customize::CustomizableOperation, ::aws_smithy_http::result::SdkError >{ @@ -68,6 +68,15 @@ impl UnassignPrivateNatGatewayAddressFluentBuilder { { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize(self) -> ::std::result::Result< + crate::client::customize::CustomizableOperation, + ::aws_smithy_http::result::SdkError + >{ + self.customize_middleware().await + } ///

                                                                        The NAT gateway ID.

                                                                        pub fn nat_gateway_id( mut self, diff --git a/sdk/ec2/src/operation/unmonitor_instances/builders.rs b/sdk/ec2/src/operation/unmonitor_instances/builders.rs index 8d52161abc7e..5941b0c17a4e 100644 --- a/sdk/ec2/src/operation/unmonitor_instances/builders.rs +++ b/sdk/ec2/src/operation/unmonitor_instances/builders.rs @@ -19,9 +19,9 @@ impl UnmonitorInstancesFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl UnmonitorInstancesFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::unmonitor_instances::UnmonitorInstances, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::unmonitor_instances::UnmonitorInstancesError, + >, + > { + self.customize_middleware().await + } /// Appends an item to `InstanceIds`. /// /// To override the contents of this collection use [`set_instance_ids`](Self::set_instance_ids). diff --git a/sdk/ec2/src/operation/update_security_group_rule_descriptions_egress/builders.rs b/sdk/ec2/src/operation/update_security_group_rule_descriptions_egress/builders.rs index 003aaa32bd17..f060679a1988 100644 --- a/sdk/ec2/src/operation/update_security_group_rule_descriptions_egress/builders.rs +++ b/sdk/ec2/src/operation/update_security_group_rule_descriptions_egress/builders.rs @@ -19,9 +19,9 @@ impl UpdateSecurityGroupRuleDescriptionsEgressFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize(self) -> ::std::result::Result< + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware(self) -> ::std::result::Result< crate::client::customize::CustomizableOperation, ::aws_smithy_http::result::SdkError >{ @@ -64,6 +64,15 @@ impl UpdateSecurityGroupRuleDescriptionsEgressFluentBuilder { { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize(self) -> ::std::result::Result< + crate::client::customize::CustomizableOperation, + ::aws_smithy_http::result::SdkError + >{ + self.customize_middleware().await + } ///

                                                                        Checks whether you have the required permissions for the action, without actually making the request, and provides an error response. If you have the required permissions, the error response is DryRunOperation. Otherwise, it is UnauthorizedOperation.

                                                                        pub fn dry_run(mut self, input: bool) -> Self { self.inner = self.inner.dry_run(input); diff --git a/sdk/ec2/src/operation/update_security_group_rule_descriptions_ingress/builders.rs b/sdk/ec2/src/operation/update_security_group_rule_descriptions_ingress/builders.rs index 9624d994686c..0f857eba2081 100644 --- a/sdk/ec2/src/operation/update_security_group_rule_descriptions_ingress/builders.rs +++ b/sdk/ec2/src/operation/update_security_group_rule_descriptions_ingress/builders.rs @@ -19,9 +19,9 @@ impl UpdateSecurityGroupRuleDescriptionsIngressFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize(self) -> ::std::result::Result< + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware(self) -> ::std::result::Result< crate::client::customize::CustomizableOperation, ::aws_smithy_http::result::SdkError >{ @@ -64,6 +64,15 @@ impl UpdateSecurityGroupRuleDescriptionsIngressFluentBuilder { { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize(self) -> ::std::result::Result< + crate::client::customize::CustomizableOperation, + ::aws_smithy_http::result::SdkError + >{ + self.customize_middleware().await + } ///

                                                                        Checks whether you have the required permissions for the action, without actually making the request, and provides an error response. If you have the required permissions, the error response is DryRunOperation. Otherwise, it is UnauthorizedOperation.

                                                                        pub fn dry_run(mut self, input: bool) -> Self { self.inner = self.inner.dry_run(input); diff --git a/sdk/ec2/src/operation/withdraw_byoip_cidr/builders.rs b/sdk/ec2/src/operation/withdraw_byoip_cidr/builders.rs index cd9b50f14537..9eab1f40e2f5 100644 --- a/sdk/ec2/src/operation/withdraw_byoip_cidr/builders.rs +++ b/sdk/ec2/src/operation/withdraw_byoip_cidr/builders.rs @@ -21,9 +21,9 @@ impl WithdrawByoipCidrFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -85,6 +85,22 @@ impl WithdrawByoipCidrFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::withdraw_byoip_cidr::WithdrawByoipCidr, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::withdraw_byoip_cidr::WithdrawByoipCidrError, + >, + > { + self.customize_middleware().await + } ///

                                                                        The address range, in CIDR notation.

                                                                        pub fn cidr(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.cidr(input.into()); diff --git a/sdk/ec2instanceconnect/src/operation/send_serial_console_ssh_public_key/builders.rs b/sdk/ec2instanceconnect/src/operation/send_serial_console_ssh_public_key/builders.rs index 1a4edfafbceb..8f8fb86ec5a4 100644 --- a/sdk/ec2instanceconnect/src/operation/send_serial_console_ssh_public_key/builders.rs +++ b/sdk/ec2instanceconnect/src/operation/send_serial_console_ssh_public_key/builders.rs @@ -19,9 +19,9 @@ impl SendSerialConsoleSSHPublicKeyFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize(self) -> ::std::result::Result< + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware(self) -> ::std::result::Result< crate::client::customize::CustomizableOperation, ::aws_smithy_http::result::SdkError >{ @@ -64,6 +64,15 @@ impl SendSerialConsoleSSHPublicKeyFluentBuilder { { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize(self) -> ::std::result::Result< + crate::client::customize::CustomizableOperation, + ::aws_smithy_http::result::SdkError + >{ + self.customize_middleware().await + } ///

                                                                        The ID of the EC2 instance.

                                                                        pub fn instance_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.instance_id(input.into()); diff --git a/sdk/ec2instanceconnect/src/operation/send_ssh_public_key/builders.rs b/sdk/ec2instanceconnect/src/operation/send_ssh_public_key/builders.rs index 647a5097ca4c..44c69c74ca24 100644 --- a/sdk/ec2instanceconnect/src/operation/send_ssh_public_key/builders.rs +++ b/sdk/ec2instanceconnect/src/operation/send_ssh_public_key/builders.rs @@ -19,9 +19,9 @@ impl SendSSHPublicKeyFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl SendSSHPublicKeyFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::send_ssh_public_key::SendSSHPublicKey, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::send_ssh_public_key::SendSSHPublicKeyError, + >, + > { + self.customize_middleware().await + } ///

                                                                        The ID of the EC2 instance.

                                                                        pub fn instance_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.instance_id(input.into()); diff --git a/sdk/ecr/src/operation/batch_check_layer_availability/builders.rs b/sdk/ecr/src/operation/batch_check_layer_availability/builders.rs index 6f45d9b71c31..2fe02e73cfbf 100644 --- a/sdk/ecr/src/operation/batch_check_layer_availability/builders.rs +++ b/sdk/ecr/src/operation/batch_check_layer_availability/builders.rs @@ -22,9 +22,9 @@ impl BatchCheckLayerAvailabilityFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -86,6 +86,22 @@ impl BatchCheckLayerAvailabilityFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::batch_check_layer_availability::BatchCheckLayerAvailability, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::batch_check_layer_availability::BatchCheckLayerAvailabilityError, + >, + > { + self.customize_middleware().await + } ///

                                                                        The Amazon Web Services account ID associated with the registry that contains the image layers to check. If you do not specify a registry, the default registry is assumed.

                                                                        pub fn registry_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.registry_id(input.into()); diff --git a/sdk/ecr/src/operation/batch_delete_image/builders.rs b/sdk/ecr/src/operation/batch_delete_image/builders.rs index dfec76e04813..ba80b5f53b89 100644 --- a/sdk/ecr/src/operation/batch_delete_image/builders.rs +++ b/sdk/ecr/src/operation/batch_delete_image/builders.rs @@ -21,9 +21,9 @@ impl BatchDeleteImageFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -85,6 +85,22 @@ impl BatchDeleteImageFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::batch_delete_image::BatchDeleteImage, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::batch_delete_image::BatchDeleteImageError, + >, + > { + self.customize_middleware().await + } ///

                                                                        The Amazon Web Services account ID associated with the registry that contains the image to delete. If you do not specify a registry, the default registry is assumed.

                                                                        pub fn registry_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.registry_id(input.into()); diff --git a/sdk/ecr/src/operation/batch_get_image/builders.rs b/sdk/ecr/src/operation/batch_get_image/builders.rs index 2d5f5ea958b7..fd2027341854 100644 --- a/sdk/ecr/src/operation/batch_get_image/builders.rs +++ b/sdk/ecr/src/operation/batch_get_image/builders.rs @@ -20,9 +20,9 @@ impl BatchGetImageFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -78,6 +78,20 @@ impl BatchGetImageFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::batch_get_image::BatchGetImage, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                        The Amazon Web Services account ID associated with the registry that contains the images to describe. If you do not specify a registry, the default registry is assumed.

                                                                        pub fn registry_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.registry_id(input.into()); diff --git a/sdk/ecr/src/operation/batch_get_repository_scanning_configuration/builders.rs b/sdk/ecr/src/operation/batch_get_repository_scanning_configuration/builders.rs index 6306d10fca29..a1fb0dd9101c 100644 --- a/sdk/ecr/src/operation/batch_get_repository_scanning_configuration/builders.rs +++ b/sdk/ecr/src/operation/batch_get_repository_scanning_configuration/builders.rs @@ -19,9 +19,9 @@ impl BatchGetRepositoryScanningConfigurationFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize(self) -> ::std::result::Result< + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware(self) -> ::std::result::Result< crate::client::customize::CustomizableOperation, ::aws_smithy_http::result::SdkError >{ @@ -64,6 +64,15 @@ impl BatchGetRepositoryScanningConfigurationFluentBuilder { { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize(self) -> ::std::result::Result< + crate::client::customize::CustomizableOperation, + ::aws_smithy_http::result::SdkError + >{ + self.customize_middleware().await + } /// Appends an item to `repositoryNames`. /// /// To override the contents of this collection use [`set_repository_names`](Self::set_repository_names). diff --git a/sdk/ecr/src/operation/complete_layer_upload/builders.rs b/sdk/ecr/src/operation/complete_layer_upload/builders.rs index 13fb5ef7c259..93941189aff5 100644 --- a/sdk/ecr/src/operation/complete_layer_upload/builders.rs +++ b/sdk/ecr/src/operation/complete_layer_upload/builders.rs @@ -22,9 +22,9 @@ impl CompleteLayerUploadFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -86,6 +86,22 @@ impl CompleteLayerUploadFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::complete_layer_upload::CompleteLayerUpload, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::complete_layer_upload::CompleteLayerUploadError, + >, + > { + self.customize_middleware().await + } ///

                                                                        The Amazon Web Services account ID associated with the registry to which to upload layers. If you do not specify a registry, the default registry is assumed.

                                                                        pub fn registry_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.registry_id(input.into()); diff --git a/sdk/ecr/src/operation/create_pull_through_cache_rule/builders.rs b/sdk/ecr/src/operation/create_pull_through_cache_rule/builders.rs index 2aa515cd21a8..65d559ae12b3 100644 --- a/sdk/ecr/src/operation/create_pull_through_cache_rule/builders.rs +++ b/sdk/ecr/src/operation/create_pull_through_cache_rule/builders.rs @@ -19,9 +19,9 @@ impl CreatePullThroughCacheRuleFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl CreatePullThroughCacheRuleFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::create_pull_through_cache_rule::CreatePullThroughCacheRule, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::create_pull_through_cache_rule::CreatePullThroughCacheRuleError, + >, + > { + self.customize_middleware().await + } ///

                                                                        The repository name prefix to use when caching images from the source registry.

                                                                        pub fn ecr_repository_prefix( mut self, diff --git a/sdk/ecr/src/operation/create_repository/builders.rs b/sdk/ecr/src/operation/create_repository/builders.rs index c4210b47c6b4..944267dd289a 100644 --- a/sdk/ecr/src/operation/create_repository/builders.rs +++ b/sdk/ecr/src/operation/create_repository/builders.rs @@ -19,9 +19,9 @@ impl CreateRepositoryFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl CreateRepositoryFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::create_repository::CreateRepository, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::create_repository::CreateRepositoryError, + >, + > { + self.customize_middleware().await + } ///

                                                                        The Amazon Web Services account ID associated with the registry to create the repository. If you do not specify a registry, the default registry is assumed.

                                                                        pub fn registry_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.registry_id(input.into()); diff --git a/sdk/ecr/src/operation/delete_lifecycle_policy/builders.rs b/sdk/ecr/src/operation/delete_lifecycle_policy/builders.rs index 940de621b9ca..62a541059ddc 100644 --- a/sdk/ecr/src/operation/delete_lifecycle_policy/builders.rs +++ b/sdk/ecr/src/operation/delete_lifecycle_policy/builders.rs @@ -19,9 +19,9 @@ impl DeleteLifecyclePolicyFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl DeleteLifecyclePolicyFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::delete_lifecycle_policy::DeleteLifecyclePolicy, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::delete_lifecycle_policy::DeleteLifecyclePolicyError, + >, + > { + self.customize_middleware().await + } ///

                                                                        The Amazon Web Services account ID associated with the registry that contains the repository. If you do not specify a registry, the default registry is assumed.

                                                                        pub fn registry_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.registry_id(input.into()); diff --git a/sdk/ecr/src/operation/delete_pull_through_cache_rule/builders.rs b/sdk/ecr/src/operation/delete_pull_through_cache_rule/builders.rs index 0fe42786aa2c..fdae539020d6 100644 --- a/sdk/ecr/src/operation/delete_pull_through_cache_rule/builders.rs +++ b/sdk/ecr/src/operation/delete_pull_through_cache_rule/builders.rs @@ -19,9 +19,9 @@ impl DeletePullThroughCacheRuleFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl DeletePullThroughCacheRuleFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::delete_pull_through_cache_rule::DeletePullThroughCacheRule, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::delete_pull_through_cache_rule::DeletePullThroughCacheRuleError, + >, + > { + self.customize_middleware().await + } ///

                                                                        The Amazon ECR repository prefix associated with the pull through cache rule to delete.

                                                                        pub fn ecr_repository_prefix( mut self, diff --git a/sdk/ecr/src/operation/delete_registry_policy/builders.rs b/sdk/ecr/src/operation/delete_registry_policy/builders.rs index f86dc5aa4c44..ad2e1a20dcf5 100644 --- a/sdk/ecr/src/operation/delete_registry_policy/builders.rs +++ b/sdk/ecr/src/operation/delete_registry_policy/builders.rs @@ -19,9 +19,9 @@ impl DeleteRegistryPolicyFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,4 +83,20 @@ impl DeleteRegistryPolicyFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::delete_registry_policy::DeleteRegistryPolicy, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::delete_registry_policy::DeleteRegistryPolicyError, + >, + > { + self.customize_middleware().await + } } diff --git a/sdk/ecr/src/operation/delete_repository/builders.rs b/sdk/ecr/src/operation/delete_repository/builders.rs index 2066a002ad78..46d8f785844c 100644 --- a/sdk/ecr/src/operation/delete_repository/builders.rs +++ b/sdk/ecr/src/operation/delete_repository/builders.rs @@ -19,9 +19,9 @@ impl DeleteRepositoryFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl DeleteRepositoryFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::delete_repository::DeleteRepository, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::delete_repository::DeleteRepositoryError, + >, + > { + self.customize_middleware().await + } ///

                                                                        The Amazon Web Services account ID associated with the registry that contains the repository to delete. If you do not specify a registry, the default registry is assumed.

                                                                        pub fn registry_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.registry_id(input.into()); diff --git a/sdk/ecr/src/operation/delete_repository_policy/builders.rs b/sdk/ecr/src/operation/delete_repository_policy/builders.rs index 811c19fc0aff..fa91243e915d 100644 --- a/sdk/ecr/src/operation/delete_repository_policy/builders.rs +++ b/sdk/ecr/src/operation/delete_repository_policy/builders.rs @@ -19,9 +19,9 @@ impl DeleteRepositoryPolicyFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl DeleteRepositoryPolicyFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::delete_repository_policy::DeleteRepositoryPolicy, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::delete_repository_policy::DeleteRepositoryPolicyError, + >, + > { + self.customize_middleware().await + } ///

                                                                        The Amazon Web Services account ID associated with the registry that contains the repository policy to delete. If you do not specify a registry, the default registry is assumed.

                                                                        pub fn registry_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.registry_id(input.into()); diff --git a/sdk/ecr/src/operation/describe_image_replication_status/builders.rs b/sdk/ecr/src/operation/describe_image_replication_status/builders.rs index 31a64732c0c1..9ea1633226ba 100644 --- a/sdk/ecr/src/operation/describe_image_replication_status/builders.rs +++ b/sdk/ecr/src/operation/describe_image_replication_status/builders.rs @@ -19,9 +19,9 @@ impl DescribeImageReplicationStatusFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize(self) -> ::std::result::Result< + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware(self) -> ::std::result::Result< crate::client::customize::CustomizableOperation, ::aws_smithy_http::result::SdkError >{ @@ -64,6 +64,15 @@ impl DescribeImageReplicationStatusFluentBuilder { { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize(self) -> ::std::result::Result< + crate::client::customize::CustomizableOperation, + ::aws_smithy_http::result::SdkError + >{ + self.customize_middleware().await + } ///

                                                                        The name of the repository that the image is in.

                                                                        pub fn repository_name( mut self, diff --git a/sdk/ecr/src/operation/describe_image_scan_findings/builders.rs b/sdk/ecr/src/operation/describe_image_scan_findings/builders.rs index 54706c78b452..4162ef99c5dd 100644 --- a/sdk/ecr/src/operation/describe_image_scan_findings/builders.rs +++ b/sdk/ecr/src/operation/describe_image_scan_findings/builders.rs @@ -19,9 +19,9 @@ impl DescribeImageScanFindingsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl DescribeImageScanFindingsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::describe_image_scan_findings::DescribeImageScanFindings, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::describe_image_scan_findings::DescribeImageScanFindingsError, + >, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::describe_image_scan_findings::paginator::DescribeImageScanFindingsPaginator::send) which returns a `Stream`. diff --git a/sdk/ecr/src/operation/describe_images/builders.rs b/sdk/ecr/src/operation/describe_images/builders.rs index e810fbfc2eda..d9e88ca76128 100644 --- a/sdk/ecr/src/operation/describe_images/builders.rs +++ b/sdk/ecr/src/operation/describe_images/builders.rs @@ -21,9 +21,9 @@ impl DescribeImagesFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -79,6 +79,20 @@ impl DescribeImagesFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::describe_images::DescribeImages, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::describe_images::paginator::DescribeImagesPaginator::send) which returns a `Stream`. diff --git a/sdk/ecr/src/operation/describe_pull_through_cache_rules/builders.rs b/sdk/ecr/src/operation/describe_pull_through_cache_rules/builders.rs index 604278d0b5cb..4b6fa461194e 100644 --- a/sdk/ecr/src/operation/describe_pull_through_cache_rules/builders.rs +++ b/sdk/ecr/src/operation/describe_pull_through_cache_rules/builders.rs @@ -19,9 +19,9 @@ impl DescribePullThroughCacheRulesFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl DescribePullThroughCacheRulesFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::describe_pull_through_cache_rules::DescribePullThroughCacheRules, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::describe_pull_through_cache_rules::DescribePullThroughCacheRulesError, + >, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::describe_pull_through_cache_rules::paginator::DescribePullThroughCacheRulesPaginator::send) which returns a `Stream`. diff --git a/sdk/ecr/src/operation/describe_registry/builders.rs b/sdk/ecr/src/operation/describe_registry/builders.rs index 6ecf958b3e8d..6e387484e28e 100644 --- a/sdk/ecr/src/operation/describe_registry/builders.rs +++ b/sdk/ecr/src/operation/describe_registry/builders.rs @@ -19,9 +19,9 @@ impl DescribeRegistryFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,4 +83,20 @@ impl DescribeRegistryFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::describe_registry::DescribeRegistry, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::describe_registry::DescribeRegistryError, + >, + > { + self.customize_middleware().await + } } diff --git a/sdk/ecr/src/operation/describe_repositories/builders.rs b/sdk/ecr/src/operation/describe_repositories/builders.rs index fd2c4fc6d44f..cf7b178c8d01 100644 --- a/sdk/ecr/src/operation/describe_repositories/builders.rs +++ b/sdk/ecr/src/operation/describe_repositories/builders.rs @@ -19,9 +19,9 @@ impl DescribeRepositoriesFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl DescribeRepositoriesFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::describe_repositories::DescribeRepositories, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::describe_repositories::DescribeRepositoriesError, + >, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::describe_repositories::paginator::DescribeRepositoriesPaginator::send) which returns a `Stream`. diff --git a/sdk/ecr/src/operation/get_authorization_token/builders.rs b/sdk/ecr/src/operation/get_authorization_token/builders.rs index f860549cd2d4..f9f8fec62522 100644 --- a/sdk/ecr/src/operation/get_authorization_token/builders.rs +++ b/sdk/ecr/src/operation/get_authorization_token/builders.rs @@ -20,9 +20,9 @@ impl GetAuthorizationTokenFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -84,6 +84,22 @@ impl GetAuthorizationTokenFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::get_authorization_token::GetAuthorizationToken, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::get_authorization_token::GetAuthorizationTokenError, + >, + > { + self.customize_middleware().await + } /// Appends an item to `registryIds`. /// /// To override the contents of this collection use [`set_registry_ids`](Self::set_registry_ids). diff --git a/sdk/ecr/src/operation/get_download_url_for_layer/builders.rs b/sdk/ecr/src/operation/get_download_url_for_layer/builders.rs index 514b2b6b208c..4a05bebcfddd 100644 --- a/sdk/ecr/src/operation/get_download_url_for_layer/builders.rs +++ b/sdk/ecr/src/operation/get_download_url_for_layer/builders.rs @@ -23,9 +23,9 @@ impl GetDownloadUrlForLayerFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -87,6 +87,22 @@ impl GetDownloadUrlForLayerFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::get_download_url_for_layer::GetDownloadUrlForLayer, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::get_download_url_for_layer::GetDownloadUrlForLayerError, + >, + > { + self.customize_middleware().await + } ///

                                                                        The Amazon Web Services account ID associated with the registry that contains the image layer to download. If you do not specify a registry, the default registry is assumed.

                                                                        pub fn registry_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.registry_id(input.into()); diff --git a/sdk/ecr/src/operation/get_lifecycle_policy/builders.rs b/sdk/ecr/src/operation/get_lifecycle_policy/builders.rs index 69da3a65302b..995eafed5caa 100644 --- a/sdk/ecr/src/operation/get_lifecycle_policy/builders.rs +++ b/sdk/ecr/src/operation/get_lifecycle_policy/builders.rs @@ -19,9 +19,9 @@ impl GetLifecyclePolicyFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl GetLifecyclePolicyFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::get_lifecycle_policy::GetLifecyclePolicy, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::get_lifecycle_policy::GetLifecyclePolicyError, + >, + > { + self.customize_middleware().await + } ///

                                                                        The Amazon Web Services account ID associated with the registry that contains the repository. If you do not specify a registry, the default registry is assumed.

                                                                        pub fn registry_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.registry_id(input.into()); diff --git a/sdk/ecr/src/operation/get_lifecycle_policy_preview/builders.rs b/sdk/ecr/src/operation/get_lifecycle_policy_preview/builders.rs index 1b1525d12c64..e740cbeae591 100644 --- a/sdk/ecr/src/operation/get_lifecycle_policy_preview/builders.rs +++ b/sdk/ecr/src/operation/get_lifecycle_policy_preview/builders.rs @@ -19,9 +19,9 @@ impl GetLifecyclePolicyPreviewFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl GetLifecyclePolicyPreviewFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::get_lifecycle_policy_preview::GetLifecyclePolicyPreview, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::get_lifecycle_policy_preview::GetLifecyclePolicyPreviewError, + >, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::get_lifecycle_policy_preview::paginator::GetLifecyclePolicyPreviewPaginator::send) which returns a `Stream`. diff --git a/sdk/ecr/src/operation/get_registry_policy/builders.rs b/sdk/ecr/src/operation/get_registry_policy/builders.rs index 62c3460652f4..a4b9f34d5733 100644 --- a/sdk/ecr/src/operation/get_registry_policy/builders.rs +++ b/sdk/ecr/src/operation/get_registry_policy/builders.rs @@ -19,9 +19,9 @@ impl GetRegistryPolicyFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,4 +83,20 @@ impl GetRegistryPolicyFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::get_registry_policy::GetRegistryPolicy, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::get_registry_policy::GetRegistryPolicyError, + >, + > { + self.customize_middleware().await + } } diff --git a/sdk/ecr/src/operation/get_registry_scanning_configuration/builders.rs b/sdk/ecr/src/operation/get_registry_scanning_configuration/builders.rs index d2afc6f21cc2..0233cfae2c90 100644 --- a/sdk/ecr/src/operation/get_registry_scanning_configuration/builders.rs +++ b/sdk/ecr/src/operation/get_registry_scanning_configuration/builders.rs @@ -19,9 +19,9 @@ impl GetRegistryScanningConfigurationFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize(self) -> ::std::result::Result< + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware(self) -> ::std::result::Result< crate::client::customize::CustomizableOperation, ::aws_smithy_http::result::SdkError >{ @@ -64,4 +64,13 @@ impl GetRegistryScanningConfigurationFluentBuilder { { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize(self) -> ::std::result::Result< + crate::client::customize::CustomizableOperation, + ::aws_smithy_http::result::SdkError + >{ + self.customize_middleware().await + } } diff --git a/sdk/ecr/src/operation/get_repository_policy/builders.rs b/sdk/ecr/src/operation/get_repository_policy/builders.rs index 745bbec0b009..4f20968edfeb 100644 --- a/sdk/ecr/src/operation/get_repository_policy/builders.rs +++ b/sdk/ecr/src/operation/get_repository_policy/builders.rs @@ -19,9 +19,9 @@ impl GetRepositoryPolicyFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl GetRepositoryPolicyFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::get_repository_policy::GetRepositoryPolicy, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::get_repository_policy::GetRepositoryPolicyError, + >, + > { + self.customize_middleware().await + } ///

                                                                        The Amazon Web Services account ID associated with the registry that contains the repository. If you do not specify a registry, the default registry is assumed.

                                                                        pub fn registry_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.registry_id(input.into()); diff --git a/sdk/ecr/src/operation/initiate_layer_upload/builders.rs b/sdk/ecr/src/operation/initiate_layer_upload/builders.rs index 17183e7302d4..6ae3468a68f0 100644 --- a/sdk/ecr/src/operation/initiate_layer_upload/builders.rs +++ b/sdk/ecr/src/operation/initiate_layer_upload/builders.rs @@ -22,9 +22,9 @@ impl InitiateLayerUploadFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -86,6 +86,22 @@ impl InitiateLayerUploadFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::initiate_layer_upload::InitiateLayerUpload, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::initiate_layer_upload::InitiateLayerUploadError, + >, + > { + self.customize_middleware().await + } ///

                                                                        The Amazon Web Services account ID associated with the registry to which you intend to upload layers. If you do not specify a registry, the default registry is assumed.

                                                                        pub fn registry_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.registry_id(input.into()); diff --git a/sdk/ecr/src/operation/list_images/builders.rs b/sdk/ecr/src/operation/list_images/builders.rs index 077dcfc112e0..df86aa4cd112 100644 --- a/sdk/ecr/src/operation/list_images/builders.rs +++ b/sdk/ecr/src/operation/list_images/builders.rs @@ -20,9 +20,9 @@ impl ListImagesFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -78,6 +78,20 @@ impl ListImagesFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_images::ListImages, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::list_images::paginator::ListImagesPaginator::send) which returns a `Stream`. diff --git a/sdk/ecr/src/operation/list_tags_for_resource/builders.rs b/sdk/ecr/src/operation/list_tags_for_resource/builders.rs index 72a527afc977..9d91f31de4ce 100644 --- a/sdk/ecr/src/operation/list_tags_for_resource/builders.rs +++ b/sdk/ecr/src/operation/list_tags_for_resource/builders.rs @@ -19,9 +19,9 @@ impl ListTagsForResourceFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl ListTagsForResourceFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_tags_for_resource::ListTagsForResource, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::list_tags_for_resource::ListTagsForResourceError, + >, + > { + self.customize_middleware().await + } ///

                                                                        The Amazon Resource Name (ARN) that identifies the resource for which to list the tags. Currently, the only supported resource is an Amazon ECR repository.

                                                                        pub fn resource_arn(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.resource_arn(input.into()); diff --git a/sdk/ecr/src/operation/put_image/builders.rs b/sdk/ecr/src/operation/put_image/builders.rs index b960c77a1da1..c9bd8f93abf4 100644 --- a/sdk/ecr/src/operation/put_image/builders.rs +++ b/sdk/ecr/src/operation/put_image/builders.rs @@ -22,9 +22,9 @@ impl PutImageFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -80,6 +80,20 @@ impl PutImageFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::put_image::PutImage, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                        The Amazon Web Services account ID associated with the registry that contains the repository in which to put the image. If you do not specify a registry, the default registry is assumed.

                                                                        pub fn registry_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.registry_id(input.into()); diff --git a/sdk/ecr/src/operation/put_image_scanning_configuration/builders.rs b/sdk/ecr/src/operation/put_image_scanning_configuration/builders.rs index bad167fd336d..63babc326cbf 100644 --- a/sdk/ecr/src/operation/put_image_scanning_configuration/builders.rs +++ b/sdk/ecr/src/operation/put_image_scanning_configuration/builders.rs @@ -22,9 +22,9 @@ impl PutImageScanningConfigurationFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -86,6 +86,22 @@ impl PutImageScanningConfigurationFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::put_image_scanning_configuration::PutImageScanningConfiguration, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::put_image_scanning_configuration::PutImageScanningConfigurationError, + >, + > { + self.customize_middleware().await + } ///

                                                                        The Amazon Web Services account ID associated with the registry that contains the repository in which to update the image scanning configuration setting. If you do not specify a registry, the default registry is assumed.

                                                                        pub fn registry_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.registry_id(input.into()); diff --git a/sdk/ecr/src/operation/put_image_tag_mutability/builders.rs b/sdk/ecr/src/operation/put_image_tag_mutability/builders.rs index 059caba50f36..4e6d11bfa213 100644 --- a/sdk/ecr/src/operation/put_image_tag_mutability/builders.rs +++ b/sdk/ecr/src/operation/put_image_tag_mutability/builders.rs @@ -19,9 +19,9 @@ impl PutImageTagMutabilityFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl PutImageTagMutabilityFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::put_image_tag_mutability::PutImageTagMutability, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::put_image_tag_mutability::PutImageTagMutabilityError, + >, + > { + self.customize_middleware().await + } ///

                                                                        The Amazon Web Services account ID associated with the registry that contains the repository in which to update the image tag mutability settings. If you do not specify a registry, the default registry is assumed.

                                                                        pub fn registry_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.registry_id(input.into()); diff --git a/sdk/ecr/src/operation/put_lifecycle_policy/builders.rs b/sdk/ecr/src/operation/put_lifecycle_policy/builders.rs index db75c019e020..c31f6e4d88b4 100644 --- a/sdk/ecr/src/operation/put_lifecycle_policy/builders.rs +++ b/sdk/ecr/src/operation/put_lifecycle_policy/builders.rs @@ -19,9 +19,9 @@ impl PutLifecyclePolicyFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl PutLifecyclePolicyFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::put_lifecycle_policy::PutLifecyclePolicy, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::put_lifecycle_policy::PutLifecyclePolicyError, + >, + > { + self.customize_middleware().await + } ///

                                                                        The Amazon Web Services account ID associated with the registry that contains the repository. If you do
 not specify a registry, the default registry is assumed.

                                                                        pub fn registry_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.registry_id(input.into()); diff --git a/sdk/ecr/src/operation/put_registry_policy/builders.rs b/sdk/ecr/src/operation/put_registry_policy/builders.rs index 5f1551866410..a8110dd9518e 100644 --- a/sdk/ecr/src/operation/put_registry_policy/builders.rs +++ b/sdk/ecr/src/operation/put_registry_policy/builders.rs @@ -20,9 +20,9 @@ impl PutRegistryPolicyFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -84,6 +84,22 @@ impl PutRegistryPolicyFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::put_registry_policy::PutRegistryPolicy, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::put_registry_policy::PutRegistryPolicyError, + >, + > { + self.customize_middleware().await + } ///

                                                                        The JSON policy text to apply to your registry. The policy text follows the same format as IAM policy text. For more information, see Registry permissions in the Amazon Elastic Container Registry User Guide.

                                                                        pub fn policy_text(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.policy_text(input.into()); diff --git a/sdk/ecr/src/operation/put_registry_scanning_configuration/builders.rs b/sdk/ecr/src/operation/put_registry_scanning_configuration/builders.rs index 9c590c71767e..82a9d9cd3d26 100644 --- a/sdk/ecr/src/operation/put_registry_scanning_configuration/builders.rs +++ b/sdk/ecr/src/operation/put_registry_scanning_configuration/builders.rs @@ -19,9 +19,9 @@ impl PutRegistryScanningConfigurationFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize(self) -> ::std::result::Result< + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware(self) -> ::std::result::Result< crate::client::customize::CustomizableOperation, ::aws_smithy_http::result::SdkError >{ @@ -64,6 +64,15 @@ impl PutRegistryScanningConfigurationFluentBuilder { { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize(self) -> ::std::result::Result< + crate::client::customize::CustomizableOperation, + ::aws_smithy_http::result::SdkError + >{ + self.customize_middleware().await + } ///

                                                                        The scanning type to set for the registry.

                                                                        ///

                                                                        When a registry scanning configuration is not defined, by default the BASIC scan type is used. When basic scanning is used, you may specify filters to determine which individual repositories, or all repositories, are scanned when new images are pushed to those repositories. Alternatively, you can do manual scans of images with basic scanning.

                                                                        ///

                                                                        When the ENHANCED scan type is set, Amazon Inspector provides automated vulnerability scanning. You may choose between continuous scanning or scan on push and you may specify filters to determine which individual repositories, or all repositories, are scanned.

                                                                        diff --git a/sdk/ecr/src/operation/put_replication_configuration/builders.rs b/sdk/ecr/src/operation/put_replication_configuration/builders.rs index 984c43f6dbd9..d31d9c5279f0 100644 --- a/sdk/ecr/src/operation/put_replication_configuration/builders.rs +++ b/sdk/ecr/src/operation/put_replication_configuration/builders.rs @@ -21,9 +21,9 @@ impl PutReplicationConfigurationFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -85,6 +85,22 @@ impl PutReplicationConfigurationFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::put_replication_configuration::PutReplicationConfiguration, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::put_replication_configuration::PutReplicationConfigurationError, + >, + > { + self.customize_middleware().await + } ///

                                                                        An object representing the replication configuration for a registry.

                                                                        pub fn replication_configuration( mut self, diff --git a/sdk/ecr/src/operation/set_repository_policy/builders.rs b/sdk/ecr/src/operation/set_repository_policy/builders.rs index bb5af88fae54..2ca9160c46cb 100644 --- a/sdk/ecr/src/operation/set_repository_policy/builders.rs +++ b/sdk/ecr/src/operation/set_repository_policy/builders.rs @@ -19,9 +19,9 @@ impl SetRepositoryPolicyFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl SetRepositoryPolicyFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::set_repository_policy::SetRepositoryPolicy, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::set_repository_policy::SetRepositoryPolicyError, + >, + > { + self.customize_middleware().await + } ///

                                                                        The Amazon Web Services account ID associated with the registry that contains the repository. If you do not specify a registry, the default registry is assumed.

                                                                        pub fn registry_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.registry_id(input.into()); diff --git a/sdk/ecr/src/operation/start_image_scan/builders.rs b/sdk/ecr/src/operation/start_image_scan/builders.rs index 8619d2b3ecde..b9f7f872e78e 100644 --- a/sdk/ecr/src/operation/start_image_scan/builders.rs +++ b/sdk/ecr/src/operation/start_image_scan/builders.rs @@ -19,9 +19,9 @@ impl StartImageScanFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl StartImageScanFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::start_image_scan::StartImageScan, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::start_image_scan::StartImageScanError, + >, + > { + self.customize_middleware().await + } ///

                                                                        The Amazon Web Services account ID associated with the registry that contains the repository in which to start an image scan request. If you do not specify a registry, the default registry is assumed.

                                                                        pub fn registry_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.registry_id(input.into()); diff --git a/sdk/ecr/src/operation/start_lifecycle_policy_preview/builders.rs b/sdk/ecr/src/operation/start_lifecycle_policy_preview/builders.rs index 6b4fe3fc00af..ecd400c03217 100644 --- a/sdk/ecr/src/operation/start_lifecycle_policy_preview/builders.rs +++ b/sdk/ecr/src/operation/start_lifecycle_policy_preview/builders.rs @@ -19,9 +19,9 @@ impl StartLifecyclePolicyPreviewFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl StartLifecyclePolicyPreviewFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::start_lifecycle_policy_preview::StartLifecyclePolicyPreview, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::start_lifecycle_policy_preview::StartLifecyclePolicyPreviewError, + >, + > { + self.customize_middleware().await + } ///

                                                                        The Amazon Web Services account ID associated with the registry that contains the repository. If you do not specify a registry, the default registry is assumed.

                                                                        pub fn registry_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.registry_id(input.into()); diff --git a/sdk/ecr/src/operation/tag_resource/builders.rs b/sdk/ecr/src/operation/tag_resource/builders.rs index 112ae5c713d5..4e00e6a7f52d 100644 --- a/sdk/ecr/src/operation/tag_resource/builders.rs +++ b/sdk/ecr/src/operation/tag_resource/builders.rs @@ -19,9 +19,9 @@ impl TagResourceFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl TagResourceFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::tag_resource::TagResource, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                        The Amazon Resource Name (ARN) of the the resource to which to add tags. Currently, the only supported resource is an Amazon ECR repository.

                                                                        pub fn resource_arn(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.resource_arn(input.into()); diff --git a/sdk/ecr/src/operation/untag_resource/builders.rs b/sdk/ecr/src/operation/untag_resource/builders.rs index dc6d304e4b06..68adcf3061c2 100644 --- a/sdk/ecr/src/operation/untag_resource/builders.rs +++ b/sdk/ecr/src/operation/untag_resource/builders.rs @@ -19,9 +19,9 @@ impl UntagResourceFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl UntagResourceFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::untag_resource::UntagResource, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                        The Amazon Resource Name (ARN) of the resource from which to remove tags. Currently, the only supported resource is an Amazon ECR repository.

                                                                        pub fn resource_arn(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.resource_arn(input.into()); diff --git a/sdk/ecr/src/operation/upload_layer_part/builders.rs b/sdk/ecr/src/operation/upload_layer_part/builders.rs index d98a0cac1e13..26de5942ab8d 100644 --- a/sdk/ecr/src/operation/upload_layer_part/builders.rs +++ b/sdk/ecr/src/operation/upload_layer_part/builders.rs @@ -22,9 +22,9 @@ impl UploadLayerPartFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -86,6 +86,22 @@ impl UploadLayerPartFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::upload_layer_part::UploadLayerPart, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::upload_layer_part::UploadLayerPartError, + >, + > { + self.customize_middleware().await + } ///

                                                                        The Amazon Web Services account ID associated with the registry to which you are uploading layer parts. If you do not specify a registry, the default registry is assumed.

                                                                        pub fn registry_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.registry_id(input.into()); diff --git a/sdk/ecrpublic/src/operation/batch_check_layer_availability/builders.rs b/sdk/ecrpublic/src/operation/batch_check_layer_availability/builders.rs index 5dfe00c0408c..9d8c2679e154 100644 --- a/sdk/ecrpublic/src/operation/batch_check_layer_availability/builders.rs +++ b/sdk/ecrpublic/src/operation/batch_check_layer_availability/builders.rs @@ -21,9 +21,9 @@ impl BatchCheckLayerAvailabilityFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -85,6 +85,22 @@ impl BatchCheckLayerAvailabilityFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::batch_check_layer_availability::BatchCheckLayerAvailability, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::batch_check_layer_availability::BatchCheckLayerAvailabilityError, + >, + > { + self.customize_middleware().await + } ///

                                                                        The Amazon Web Services account ID, or registry alias, associated with the public registry that contains the image layers to check. If you do not specify a registry, the default public registry is assumed.

                                                                        pub fn registry_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.registry_id(input.into()); diff --git a/sdk/ecrpublic/src/operation/batch_delete_image/builders.rs b/sdk/ecrpublic/src/operation/batch_delete_image/builders.rs index 8edcd1c8a933..c4dff1258c9d 100644 --- a/sdk/ecrpublic/src/operation/batch_delete_image/builders.rs +++ b/sdk/ecrpublic/src/operation/batch_delete_image/builders.rs @@ -21,9 +21,9 @@ impl BatchDeleteImageFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -85,6 +85,22 @@ impl BatchDeleteImageFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::batch_delete_image::BatchDeleteImage, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::batch_delete_image::BatchDeleteImageError, + >, + > { + self.customize_middleware().await + } ///

                                                                        The Amazon Web Services account ID, or registry alias, that's associated with the registry that contains the image to delete. If you do not specify a registry, the default public registry is assumed.

                                                                        pub fn registry_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.registry_id(input.into()); diff --git a/sdk/ecrpublic/src/operation/complete_layer_upload/builders.rs b/sdk/ecrpublic/src/operation/complete_layer_upload/builders.rs index 342102b03be1..60ded6b740ce 100644 --- a/sdk/ecrpublic/src/operation/complete_layer_upload/builders.rs +++ b/sdk/ecrpublic/src/operation/complete_layer_upload/builders.rs @@ -22,9 +22,9 @@ impl CompleteLayerUploadFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -86,6 +86,22 @@ impl CompleteLayerUploadFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::complete_layer_upload::CompleteLayerUpload, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::complete_layer_upload::CompleteLayerUploadError, + >, + > { + self.customize_middleware().await + } ///

                                                                        The Amazon Web Services account ID, or registry alias, associated with the registry where layers are uploaded. If you do not specify a registry, the default public registry is assumed.

                                                                        pub fn registry_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.registry_id(input.into()); diff --git a/sdk/ecrpublic/src/operation/create_repository/builders.rs b/sdk/ecrpublic/src/operation/create_repository/builders.rs index 684a039d4895..16419b426564 100644 --- a/sdk/ecrpublic/src/operation/create_repository/builders.rs +++ b/sdk/ecrpublic/src/operation/create_repository/builders.rs @@ -19,9 +19,9 @@ impl CreateRepositoryFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl CreateRepositoryFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::create_repository::CreateRepository, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::create_repository::CreateRepositoryError, + >, + > { + self.customize_middleware().await + } ///

                                                                        The name to use for the repository. This appears publicly in the Amazon ECR Public Gallery. The repository name can be specified on its own (for example nginx-web-app) or prepended with a namespace to group the repository into a category (for example project-a/nginx-web-app).

                                                                        pub fn repository_name( mut self, diff --git a/sdk/ecrpublic/src/operation/delete_repository/builders.rs b/sdk/ecrpublic/src/operation/delete_repository/builders.rs index 6db052d7fc7c..acd36dc4bc6d 100644 --- a/sdk/ecrpublic/src/operation/delete_repository/builders.rs +++ b/sdk/ecrpublic/src/operation/delete_repository/builders.rs @@ -19,9 +19,9 @@ impl DeleteRepositoryFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl DeleteRepositoryFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::delete_repository::DeleteRepository, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::delete_repository::DeleteRepositoryError, + >, + > { + self.customize_middleware().await + } ///

                                                                        The Amazon Web Services account ID that's associated with the public registry that contains the repository to delete. If you do not specify a registry, the default public registry is assumed.

                                                                        pub fn registry_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.registry_id(input.into()); diff --git a/sdk/ecrpublic/src/operation/delete_repository_policy/builders.rs b/sdk/ecrpublic/src/operation/delete_repository_policy/builders.rs index a7a774e6fb91..e5cb55d9d2ed 100644 --- a/sdk/ecrpublic/src/operation/delete_repository_policy/builders.rs +++ b/sdk/ecrpublic/src/operation/delete_repository_policy/builders.rs @@ -19,9 +19,9 @@ impl DeleteRepositoryPolicyFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl DeleteRepositoryPolicyFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::delete_repository_policy::DeleteRepositoryPolicy, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::delete_repository_policy::DeleteRepositoryPolicyError, + >, + > { + self.customize_middleware().await + } ///

                                                                        The Amazon Web Services account ID that's associated with the public registry that contains the repository policy to delete. If you do not specify a registry, the default public registry is assumed.

                                                                        pub fn registry_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.registry_id(input.into()); diff --git a/sdk/ecrpublic/src/operation/describe_image_tags/builders.rs b/sdk/ecrpublic/src/operation/describe_image_tags/builders.rs index d577f9c6cf19..92b865ac76d4 100644 --- a/sdk/ecrpublic/src/operation/describe_image_tags/builders.rs +++ b/sdk/ecrpublic/src/operation/describe_image_tags/builders.rs @@ -19,9 +19,9 @@ impl DescribeImageTagsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl DescribeImageTagsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::describe_image_tags::DescribeImageTags, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::describe_image_tags::DescribeImageTagsError, + >, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::describe_image_tags::paginator::DescribeImageTagsPaginator::send) which returns a `Stream`. diff --git a/sdk/ecrpublic/src/operation/describe_images/builders.rs b/sdk/ecrpublic/src/operation/describe_images/builders.rs index 0e3b0c779fec..6319b96d0395 100644 --- a/sdk/ecrpublic/src/operation/describe_images/builders.rs +++ b/sdk/ecrpublic/src/operation/describe_images/builders.rs @@ -21,9 +21,9 @@ impl DescribeImagesFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -79,6 +79,20 @@ impl DescribeImagesFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::describe_images::DescribeImages, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::describe_images::paginator::DescribeImagesPaginator::send) which returns a `Stream`. diff --git a/sdk/ecrpublic/src/operation/describe_registries/builders.rs b/sdk/ecrpublic/src/operation/describe_registries/builders.rs index 44359728869d..f5bfc99eaf15 100644 --- a/sdk/ecrpublic/src/operation/describe_registries/builders.rs +++ b/sdk/ecrpublic/src/operation/describe_registries/builders.rs @@ -19,9 +19,9 @@ impl DescribeRegistriesFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl DescribeRegistriesFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::describe_registries::DescribeRegistries, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::describe_registries::DescribeRegistriesError, + >, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::describe_registries::paginator::DescribeRegistriesPaginator::send) which returns a `Stream`. diff --git a/sdk/ecrpublic/src/operation/describe_repositories/builders.rs b/sdk/ecrpublic/src/operation/describe_repositories/builders.rs index a9c8572ac693..cc8b6e64102a 100644 --- a/sdk/ecrpublic/src/operation/describe_repositories/builders.rs +++ b/sdk/ecrpublic/src/operation/describe_repositories/builders.rs @@ -19,9 +19,9 @@ impl DescribeRepositoriesFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl DescribeRepositoriesFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::describe_repositories::DescribeRepositories, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::describe_repositories::DescribeRepositoriesError, + >, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::describe_repositories::paginator::DescribeRepositoriesPaginator::send) which returns a `Stream`. diff --git a/sdk/ecrpublic/src/operation/get_authorization_token/builders.rs b/sdk/ecrpublic/src/operation/get_authorization_token/builders.rs index 5fd9b2b048b3..feede8bd915e 100644 --- a/sdk/ecrpublic/src/operation/get_authorization_token/builders.rs +++ b/sdk/ecrpublic/src/operation/get_authorization_token/builders.rs @@ -19,9 +19,9 @@ impl GetAuthorizationTokenFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,4 +83,20 @@ impl GetAuthorizationTokenFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::get_authorization_token::GetAuthorizationToken, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::get_authorization_token::GetAuthorizationTokenError, + >, + > { + self.customize_middleware().await + } } diff --git a/sdk/ecrpublic/src/operation/get_registry_catalog_data/builders.rs b/sdk/ecrpublic/src/operation/get_registry_catalog_data/builders.rs index 4436d7402083..ae41430c14a0 100644 --- a/sdk/ecrpublic/src/operation/get_registry_catalog_data/builders.rs +++ b/sdk/ecrpublic/src/operation/get_registry_catalog_data/builders.rs @@ -20,9 +20,9 @@ impl GetRegistryCatalogDataFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -84,4 +84,20 @@ impl GetRegistryCatalogDataFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::get_registry_catalog_data::GetRegistryCatalogData, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::get_registry_catalog_data::GetRegistryCatalogDataError, + >, + > { + self.customize_middleware().await + } } diff --git a/sdk/ecrpublic/src/operation/get_repository_catalog_data/builders.rs b/sdk/ecrpublic/src/operation/get_repository_catalog_data/builders.rs index b5297381d148..ccce630dda47 100644 --- a/sdk/ecrpublic/src/operation/get_repository_catalog_data/builders.rs +++ b/sdk/ecrpublic/src/operation/get_repository_catalog_data/builders.rs @@ -19,9 +19,9 @@ impl GetRepositoryCatalogDataFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl GetRepositoryCatalogDataFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::get_repository_catalog_data::GetRepositoryCatalogData, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::get_repository_catalog_data::GetRepositoryCatalogDataError, + >, + > { + self.customize_middleware().await + } ///

                                                                        The Amazon Web Services account ID that's associated with the registry that contains the repositories to be described. If you do not specify a registry, the default public registry is assumed.

                                                                        pub fn registry_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.registry_id(input.into()); diff --git a/sdk/ecrpublic/src/operation/get_repository_policy/builders.rs b/sdk/ecrpublic/src/operation/get_repository_policy/builders.rs index 03a9b6fecf7b..7101550c088f 100644 --- a/sdk/ecrpublic/src/operation/get_repository_policy/builders.rs +++ b/sdk/ecrpublic/src/operation/get_repository_policy/builders.rs @@ -19,9 +19,9 @@ impl GetRepositoryPolicyFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl GetRepositoryPolicyFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::get_repository_policy::GetRepositoryPolicy, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::get_repository_policy::GetRepositoryPolicyError, + >, + > { + self.customize_middleware().await + } ///

                                                                        The Amazon Web Services account ID that's associated with the public registry that contains the repository. If you do not specify a registry, the default public registry is assumed.

                                                                        pub fn registry_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.registry_id(input.into()); diff --git a/sdk/ecrpublic/src/operation/initiate_layer_upload/builders.rs b/sdk/ecrpublic/src/operation/initiate_layer_upload/builders.rs index 203167d17a14..3d847ebdb260 100644 --- a/sdk/ecrpublic/src/operation/initiate_layer_upload/builders.rs +++ b/sdk/ecrpublic/src/operation/initiate_layer_upload/builders.rs @@ -22,9 +22,9 @@ impl InitiateLayerUploadFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -86,6 +86,22 @@ impl InitiateLayerUploadFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::initiate_layer_upload::InitiateLayerUpload, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::initiate_layer_upload::InitiateLayerUploadError, + >, + > { + self.customize_middleware().await + } ///

                                                                        The Amazon Web Services account ID, or registry alias, that's associated with the registry to which you intend to upload layers. If you do not specify a registry, the default public registry is assumed.

                                                                        pub fn registry_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.registry_id(input.into()); diff --git a/sdk/ecrpublic/src/operation/list_tags_for_resource/builders.rs b/sdk/ecrpublic/src/operation/list_tags_for_resource/builders.rs index 2b0baaa378ab..a6b9686a1ef3 100644 --- a/sdk/ecrpublic/src/operation/list_tags_for_resource/builders.rs +++ b/sdk/ecrpublic/src/operation/list_tags_for_resource/builders.rs @@ -19,9 +19,9 @@ impl ListTagsForResourceFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl ListTagsForResourceFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_tags_for_resource::ListTagsForResource, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::list_tags_for_resource::ListTagsForResourceError, + >, + > { + self.customize_middleware().await + } ///

                                                                        The Amazon Resource Name (ARN) that identifies the resource to list the tags for. Currently, the supported resource is an Amazon ECR Public repository.

                                                                        pub fn resource_arn(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.resource_arn(input.into()); diff --git a/sdk/ecrpublic/src/operation/put_image/builders.rs b/sdk/ecrpublic/src/operation/put_image/builders.rs index 87fd99bcce12..9baa0fc47f81 100644 --- a/sdk/ecrpublic/src/operation/put_image/builders.rs +++ b/sdk/ecrpublic/src/operation/put_image/builders.rs @@ -22,9 +22,9 @@ impl PutImageFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -80,6 +80,20 @@ impl PutImageFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::put_image::PutImage, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                        The Amazon Web Services account ID, or registry alias, that's associated with the public registry that contains the repository where the image is put. If you do not specify a registry, the default public registry is assumed.

                                                                        pub fn registry_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.registry_id(input.into()); diff --git a/sdk/ecrpublic/src/operation/put_registry_catalog_data/builders.rs b/sdk/ecrpublic/src/operation/put_registry_catalog_data/builders.rs index b7f5ded9de9a..222ddcc3ddd1 100644 --- a/sdk/ecrpublic/src/operation/put_registry_catalog_data/builders.rs +++ b/sdk/ecrpublic/src/operation/put_registry_catalog_data/builders.rs @@ -20,9 +20,9 @@ impl PutRegistryCatalogDataFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -84,6 +84,22 @@ impl PutRegistryCatalogDataFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::put_registry_catalog_data::PutRegistryCatalogData, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::put_registry_catalog_data::PutRegistryCatalogDataError, + >, + > { + self.customize_middleware().await + } ///

                                                                        The display name for a public registry. The display name is shown as the repository author in the Amazon ECR Public Gallery.

                                                                        ///

                                                                        The registry display name is only publicly visible in the Amazon ECR Public Gallery for verified accounts.

                                                                        ///
                                                                        diff --git a/sdk/ecrpublic/src/operation/put_repository_catalog_data/builders.rs b/sdk/ecrpublic/src/operation/put_repository_catalog_data/builders.rs index 4659612c9588..85cf4c788261 100644 --- a/sdk/ecrpublic/src/operation/put_repository_catalog_data/builders.rs +++ b/sdk/ecrpublic/src/operation/put_repository_catalog_data/builders.rs @@ -19,9 +19,9 @@ impl PutRepositoryCatalogDataFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl PutRepositoryCatalogDataFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::put_repository_catalog_data::PutRepositoryCatalogData, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::put_repository_catalog_data::PutRepositoryCatalogDataError, + >, + > { + self.customize_middleware().await + } ///

                                                                        The Amazon Web Services account ID that's associated with the public registry the repository is in. If you do not specify a registry, the default public registry is assumed.

                                                                        pub fn registry_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.registry_id(input.into()); diff --git a/sdk/ecrpublic/src/operation/set_repository_policy/builders.rs b/sdk/ecrpublic/src/operation/set_repository_policy/builders.rs index f0ca852440de..5ee1f787b2fd 100644 --- a/sdk/ecrpublic/src/operation/set_repository_policy/builders.rs +++ b/sdk/ecrpublic/src/operation/set_repository_policy/builders.rs @@ -19,9 +19,9 @@ impl SetRepositoryPolicyFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl SetRepositoryPolicyFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::set_repository_policy::SetRepositoryPolicy, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::set_repository_policy::SetRepositoryPolicyError, + >, + > { + self.customize_middleware().await + } ///

                                                                        The Amazon Web Services account ID that's associated with the registry that contains the repository. If you do not specify a registry, the default public registry is assumed.

                                                                        pub fn registry_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.registry_id(input.into()); diff --git a/sdk/ecrpublic/src/operation/tag_resource/builders.rs b/sdk/ecrpublic/src/operation/tag_resource/builders.rs index 935c2ae6b586..6ba83a5f2884 100644 --- a/sdk/ecrpublic/src/operation/tag_resource/builders.rs +++ b/sdk/ecrpublic/src/operation/tag_resource/builders.rs @@ -19,9 +19,9 @@ impl TagResourceFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl TagResourceFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::tag_resource::TagResource, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                        The Amazon Resource Name (ARN) of the resource to add tags to. Currently, the supported resource is an Amazon ECR Public repository.

                                                                        pub fn resource_arn(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.resource_arn(input.into()); diff --git a/sdk/ecrpublic/src/operation/untag_resource/builders.rs b/sdk/ecrpublic/src/operation/untag_resource/builders.rs index 66214ea79600..25ee5184cc78 100644 --- a/sdk/ecrpublic/src/operation/untag_resource/builders.rs +++ b/sdk/ecrpublic/src/operation/untag_resource/builders.rs @@ -19,9 +19,9 @@ impl UntagResourceFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl UntagResourceFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::untag_resource::UntagResource, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                        The Amazon Resource Name (ARN) of the resource to delete tags from. Currently, the supported resource is an Amazon ECR Public repository.

                                                                        pub fn resource_arn(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.resource_arn(input.into()); diff --git a/sdk/ecrpublic/src/operation/upload_layer_part/builders.rs b/sdk/ecrpublic/src/operation/upload_layer_part/builders.rs index d806d3b2fca6..3ce697544e12 100644 --- a/sdk/ecrpublic/src/operation/upload_layer_part/builders.rs +++ b/sdk/ecrpublic/src/operation/upload_layer_part/builders.rs @@ -22,9 +22,9 @@ impl UploadLayerPartFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -86,6 +86,22 @@ impl UploadLayerPartFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::upload_layer_part::UploadLayerPart, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::upload_layer_part::UploadLayerPartError, + >, + > { + self.customize_middleware().await + } ///

                                                                        The Amazon Web Services account ID, or registry alias, that's associated with the registry that you're uploading layer parts to. If you do not specify a registry, the default public registry is assumed.

                                                                        pub fn registry_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.registry_id(input.into()); diff --git a/sdk/ecs/src/operation/create_capacity_provider/builders.rs b/sdk/ecs/src/operation/create_capacity_provider/builders.rs index 2910bf480c3b..881ddd07e44a 100644 --- a/sdk/ecs/src/operation/create_capacity_provider/builders.rs +++ b/sdk/ecs/src/operation/create_capacity_provider/builders.rs @@ -20,9 +20,9 @@ impl CreateCapacityProviderFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -84,6 +84,22 @@ impl CreateCapacityProviderFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::create_capacity_provider::CreateCapacityProvider, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::create_capacity_provider::CreateCapacityProviderError, + >, + > { + self.customize_middleware().await + } ///

                                                                        The name of the capacity provider. Up to 255 characters are allowed. They include letters (both upper and lowercase letters), numbers, underscores (_), and hyphens (-). The name can't be prefixed with "aws", "ecs", or "fargate".

                                                                        pub fn name(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.name(input.into()); diff --git a/sdk/ecs/src/operation/create_cluster/builders.rs b/sdk/ecs/src/operation/create_cluster/builders.rs index 3f9685b2e1a8..2f9c76c2f493 100644 --- a/sdk/ecs/src/operation/create_cluster/builders.rs +++ b/sdk/ecs/src/operation/create_cluster/builders.rs @@ -21,9 +21,9 @@ impl CreateClusterFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -79,6 +79,20 @@ impl CreateClusterFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::create_cluster::CreateCluster, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                        The name of your cluster. If you don't specify a name for your cluster, you create a cluster that's named default. Up to 255 letters (uppercase and lowercase), numbers, underscores, and hyphens are allowed.

                                                                        pub fn cluster_name(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.cluster_name(input.into()); diff --git a/sdk/ecs/src/operation/create_service/builders.rs b/sdk/ecs/src/operation/create_service/builders.rs index 4c9d90f39322..eabdde6d2a93 100644 --- a/sdk/ecs/src/operation/create_service/builders.rs +++ b/sdk/ecs/src/operation/create_service/builders.rs @@ -34,9 +34,9 @@ impl CreateServiceFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -92,6 +92,20 @@ impl CreateServiceFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::create_service::CreateService, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                        The short name or full Amazon Resource Name (ARN) of the cluster that you run your service on. If you do not specify a cluster, the default cluster is assumed.

                                                                        pub fn cluster(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.cluster(input.into()); diff --git a/sdk/ecs/src/operation/create_task_set/builders.rs b/sdk/ecs/src/operation/create_task_set/builders.rs index 44023f081dc0..b6629affb8cf 100644 --- a/sdk/ecs/src/operation/create_task_set/builders.rs +++ b/sdk/ecs/src/operation/create_task_set/builders.rs @@ -19,9 +19,9 @@ impl CreateTaskSetFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl CreateTaskSetFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::create_task_set::CreateTaskSet, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                        The short name or full Amazon Resource Name (ARN) of the service to create the task set in.

                                                                        pub fn service(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.service(input.into()); diff --git a/sdk/ecs/src/operation/delete_account_setting/builders.rs b/sdk/ecs/src/operation/delete_account_setting/builders.rs index a2c07c3928f0..7a41d6f107c0 100644 --- a/sdk/ecs/src/operation/delete_account_setting/builders.rs +++ b/sdk/ecs/src/operation/delete_account_setting/builders.rs @@ -19,9 +19,9 @@ impl DeleteAccountSettingFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl DeleteAccountSettingFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::delete_account_setting::DeleteAccountSetting, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::delete_account_setting::DeleteAccountSettingError, + >, + > { + self.customize_middleware().await + } ///

                                                                        The resource name to disable the account setting for. If serviceLongArnFormat is specified, the ARN for your Amazon ECS services is affected. If taskLongArnFormat is specified, the ARN and resource ID for your Amazon ECS tasks is affected. If containerInstanceLongArnFormat is specified, the ARN and resource ID for your Amazon ECS container instances is affected. If awsvpcTrunking is specified, the ENI limit for your Amazon ECS container instances is affected.

                                                                        pub fn name(mut self, input: crate::types::SettingName) -> Self { self.inner = self.inner.name(input); diff --git a/sdk/ecs/src/operation/delete_attributes/builders.rs b/sdk/ecs/src/operation/delete_attributes/builders.rs index 8855705abf19..461f9f79931c 100644 --- a/sdk/ecs/src/operation/delete_attributes/builders.rs +++ b/sdk/ecs/src/operation/delete_attributes/builders.rs @@ -19,9 +19,9 @@ impl DeleteAttributesFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl DeleteAttributesFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::delete_attributes::DeleteAttributes, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::delete_attributes::DeleteAttributesError, + >, + > { + self.customize_middleware().await + } ///

                                                                        The short name or full Amazon Resource Name (ARN) of the cluster that contains the resource to delete attributes. If you do not specify a cluster, the default cluster is assumed.

                                                                        pub fn cluster(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.cluster(input.into()); diff --git a/sdk/ecs/src/operation/delete_capacity_provider/builders.rs b/sdk/ecs/src/operation/delete_capacity_provider/builders.rs index 9ada2e29ddbd..1cb657de68c8 100644 --- a/sdk/ecs/src/operation/delete_capacity_provider/builders.rs +++ b/sdk/ecs/src/operation/delete_capacity_provider/builders.rs @@ -22,9 +22,9 @@ impl DeleteCapacityProviderFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -86,6 +86,22 @@ impl DeleteCapacityProviderFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::delete_capacity_provider::DeleteCapacityProvider, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::delete_capacity_provider::DeleteCapacityProviderError, + >, + > { + self.customize_middleware().await + } ///

                                                                        The short name or full Amazon Resource Name (ARN) of the capacity provider to delete.

                                                                        pub fn capacity_provider( mut self, diff --git a/sdk/ecs/src/operation/delete_cluster/builders.rs b/sdk/ecs/src/operation/delete_cluster/builders.rs index eb70c2029afb..1716453e6a5f 100644 --- a/sdk/ecs/src/operation/delete_cluster/builders.rs +++ b/sdk/ecs/src/operation/delete_cluster/builders.rs @@ -20,9 +20,9 @@ impl DeleteClusterFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -78,6 +78,20 @@ impl DeleteClusterFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::delete_cluster::DeleteCluster, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                        The short name or full Amazon Resource Name (ARN) of the cluster to delete.

                                                                        pub fn cluster(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.cluster(input.into()); diff --git a/sdk/ecs/src/operation/delete_service/builders.rs b/sdk/ecs/src/operation/delete_service/builders.rs index 6328a12c4706..703a758ccf7f 100644 --- a/sdk/ecs/src/operation/delete_service/builders.rs +++ b/sdk/ecs/src/operation/delete_service/builders.rs @@ -23,9 +23,9 @@ impl DeleteServiceFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -81,6 +81,20 @@ impl DeleteServiceFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::delete_service::DeleteService, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                        The short name or full Amazon Resource Name (ARN) of the cluster that hosts the service to delete. If you do not specify a cluster, the default cluster is assumed.

                                                                        pub fn cluster(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.cluster(input.into()); diff --git a/sdk/ecs/src/operation/delete_task_definitions/builders.rs b/sdk/ecs/src/operation/delete_task_definitions/builders.rs index a2086196ba84..2e6650d1ef4a 100644 --- a/sdk/ecs/src/operation/delete_task_definitions/builders.rs +++ b/sdk/ecs/src/operation/delete_task_definitions/builders.rs @@ -23,9 +23,9 @@ impl DeleteTaskDefinitionsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -87,6 +87,22 @@ impl DeleteTaskDefinitionsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::delete_task_definitions::DeleteTaskDefinitions, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::delete_task_definitions::DeleteTaskDefinitionsError, + >, + > { + self.customize_middleware().await + } /// Appends an item to `taskDefinitions`. /// /// To override the contents of this collection use [`set_task_definitions`](Self::set_task_definitions). diff --git a/sdk/ecs/src/operation/delete_task_set/builders.rs b/sdk/ecs/src/operation/delete_task_set/builders.rs index 097f28111073..5195e5aa95c4 100644 --- a/sdk/ecs/src/operation/delete_task_set/builders.rs +++ b/sdk/ecs/src/operation/delete_task_set/builders.rs @@ -19,9 +19,9 @@ impl DeleteTaskSetFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl DeleteTaskSetFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::delete_task_set::DeleteTaskSet, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                        The short name or full Amazon Resource Name (ARN) of the cluster that hosts the service that the task set found in to delete.

                                                                        pub fn cluster(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.cluster(input.into()); diff --git a/sdk/ecs/src/operation/deregister_container_instance/builders.rs b/sdk/ecs/src/operation/deregister_container_instance/builders.rs index 03f0881677ed..c319a6b1dccf 100644 --- a/sdk/ecs/src/operation/deregister_container_instance/builders.rs +++ b/sdk/ecs/src/operation/deregister_container_instance/builders.rs @@ -23,9 +23,9 @@ impl DeregisterContainerInstanceFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -87,6 +87,22 @@ impl DeregisterContainerInstanceFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::deregister_container_instance::DeregisterContainerInstance, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::deregister_container_instance::DeregisterContainerInstanceError, + >, + > { + self.customize_middleware().await + } ///

                                                                        The short name or full Amazon Resource Name (ARN) of the cluster that hosts the container instance to deregister. If you do not specify a cluster, the default cluster is assumed.

                                                                        pub fn cluster(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.cluster(input.into()); diff --git a/sdk/ecs/src/operation/deregister_task_definition/builders.rs b/sdk/ecs/src/operation/deregister_task_definition/builders.rs index 8cf39529d884..ff3be9be6631 100644 --- a/sdk/ecs/src/operation/deregister_task_definition/builders.rs +++ b/sdk/ecs/src/operation/deregister_task_definition/builders.rs @@ -23,9 +23,9 @@ impl DeregisterTaskDefinitionFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -87,6 +87,22 @@ impl DeregisterTaskDefinitionFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::deregister_task_definition::DeregisterTaskDefinition, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::deregister_task_definition::DeregisterTaskDefinitionError, + >, + > { + self.customize_middleware().await + } ///

                                                                        The family and revision (family:revision) or full Amazon Resource Name (ARN) of the task definition to deregister. You must specify a revision.

                                                                        pub fn task_definition( mut self, diff --git a/sdk/ecs/src/operation/describe_capacity_providers/builders.rs b/sdk/ecs/src/operation/describe_capacity_providers/builders.rs index 13df8e098697..8a9cc0442b55 100644 --- a/sdk/ecs/src/operation/describe_capacity_providers/builders.rs +++ b/sdk/ecs/src/operation/describe_capacity_providers/builders.rs @@ -19,9 +19,9 @@ impl DescribeCapacityProvidersFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl DescribeCapacityProvidersFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::describe_capacity_providers::DescribeCapacityProviders, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::describe_capacity_providers::DescribeCapacityProvidersError, + >, + > { + self.customize_middleware().await + } /// Appends an item to `capacityProviders`. /// /// To override the contents of this collection use [`set_capacity_providers`](Self::set_capacity_providers). diff --git a/sdk/ecs/src/operation/describe_clusters/builders.rs b/sdk/ecs/src/operation/describe_clusters/builders.rs index c613ef754310..03914a8119e3 100644 --- a/sdk/ecs/src/operation/describe_clusters/builders.rs +++ b/sdk/ecs/src/operation/describe_clusters/builders.rs @@ -19,9 +19,9 @@ impl DescribeClustersFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl DescribeClustersFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::describe_clusters::DescribeClusters, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::describe_clusters::DescribeClustersError, + >, + > { + self.customize_middleware().await + } /// Appends an item to `clusters`. /// /// To override the contents of this collection use [`set_clusters`](Self::set_clusters). diff --git a/sdk/ecs/src/operation/describe_container_instances/builders.rs b/sdk/ecs/src/operation/describe_container_instances/builders.rs index 49549dbb3d60..3b74714c43b9 100644 --- a/sdk/ecs/src/operation/describe_container_instances/builders.rs +++ b/sdk/ecs/src/operation/describe_container_instances/builders.rs @@ -19,9 +19,9 @@ impl DescribeContainerInstancesFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl DescribeContainerInstancesFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::describe_container_instances::DescribeContainerInstances, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::describe_container_instances::DescribeContainerInstancesError, + >, + > { + self.customize_middleware().await + } ///

                                                                        The short name or full Amazon Resource Name (ARN) of the cluster that hosts the container instances to describe. If you do not specify a cluster, the default cluster is assumed. This parameter is required if the container instance or container instances you are describing were launched in any cluster other than the default cluster.

                                                                        pub fn cluster(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.cluster(input.into()); diff --git a/sdk/ecs/src/operation/describe_services/builders.rs b/sdk/ecs/src/operation/describe_services/builders.rs index b3dbd105b168..a2ec767e21ec 100644 --- a/sdk/ecs/src/operation/describe_services/builders.rs +++ b/sdk/ecs/src/operation/describe_services/builders.rs @@ -19,9 +19,9 @@ impl DescribeServicesFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl DescribeServicesFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::describe_services::DescribeServices, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::describe_services::DescribeServicesError, + >, + > { + self.customize_middleware().await + } ///

                                                                        The short name or full Amazon Resource Name (ARN)the cluster that hosts the service to describe. If you do not specify a cluster, the default cluster is assumed. This parameter is required if the service or services you are describing were launched in any cluster other than the default cluster.

                                                                        pub fn cluster(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.cluster(input.into()); diff --git a/sdk/ecs/src/operation/describe_task_definition/builders.rs b/sdk/ecs/src/operation/describe_task_definition/builders.rs index 1a53d66bd173..51acec1f21b6 100644 --- a/sdk/ecs/src/operation/describe_task_definition/builders.rs +++ b/sdk/ecs/src/operation/describe_task_definition/builders.rs @@ -21,9 +21,9 @@ impl DescribeTaskDefinitionFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -85,6 +85,22 @@ impl DescribeTaskDefinitionFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::describe_task_definition::DescribeTaskDefinition, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::describe_task_definition::DescribeTaskDefinitionError, + >, + > { + self.customize_middleware().await + } ///

                                                                        The family for the latest ACTIVE revision, family and revision (family:revision) for a specific revision in the family, or full Amazon Resource Name (ARN) of the task definition to describe.

                                                                        pub fn task_definition( mut self, diff --git a/sdk/ecs/src/operation/describe_task_sets/builders.rs b/sdk/ecs/src/operation/describe_task_sets/builders.rs index defd51f46f03..28d5de2d71ac 100644 --- a/sdk/ecs/src/operation/describe_task_sets/builders.rs +++ b/sdk/ecs/src/operation/describe_task_sets/builders.rs @@ -19,9 +19,9 @@ impl DescribeTaskSetsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl DescribeTaskSetsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::describe_task_sets::DescribeTaskSets, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::describe_task_sets::DescribeTaskSetsError, + >, + > { + self.customize_middleware().await + } ///

                                                                        The short name or full Amazon Resource Name (ARN) of the cluster that hosts the service that the task sets exist in.

                                                                        pub fn cluster(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.cluster(input.into()); diff --git a/sdk/ecs/src/operation/describe_tasks/builders.rs b/sdk/ecs/src/operation/describe_tasks/builders.rs index 12d7d3f97526..13ca1d454fe2 100644 --- a/sdk/ecs/src/operation/describe_tasks/builders.rs +++ b/sdk/ecs/src/operation/describe_tasks/builders.rs @@ -20,9 +20,9 @@ impl DescribeTasksFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -78,6 +78,20 @@ impl DescribeTasksFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::describe_tasks::DescribeTasks, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                        The short name or full Amazon Resource Name (ARN) of the cluster that hosts the task or tasks to describe. If you do not specify a cluster, the default cluster is assumed. This parameter is required if the task or tasks you are describing were launched in any cluster other than the default cluster.

                                                                        pub fn cluster(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.cluster(input.into()); diff --git a/sdk/ecs/src/operation/discover_poll_endpoint/builders.rs b/sdk/ecs/src/operation/discover_poll_endpoint/builders.rs index a2fce56384a1..ccbc7da39507 100644 --- a/sdk/ecs/src/operation/discover_poll_endpoint/builders.rs +++ b/sdk/ecs/src/operation/discover_poll_endpoint/builders.rs @@ -22,9 +22,9 @@ impl DiscoverPollEndpointFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -86,6 +86,22 @@ impl DiscoverPollEndpointFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::discover_poll_endpoint::DiscoverPollEndpoint, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::discover_poll_endpoint::DiscoverPollEndpointError, + >, + > { + self.customize_middleware().await + } ///

                                                                        The container instance ID or full ARN of the container instance. For more information about the ARN format, see Amazon Resource Name (ARN) in the Amazon ECS Developer Guide.

                                                                        pub fn container_instance( mut self, diff --git a/sdk/ecs/src/operation/execute_command/builders.rs b/sdk/ecs/src/operation/execute_command/builders.rs index c3f257050c62..e90f5e10b7ab 100644 --- a/sdk/ecs/src/operation/execute_command/builders.rs +++ b/sdk/ecs/src/operation/execute_command/builders.rs @@ -21,9 +21,9 @@ impl ExecuteCommandFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -79,6 +79,20 @@ impl ExecuteCommandFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::execute_command::ExecuteCommand, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                        The Amazon Resource Name (ARN) or short name of the cluster the task is running in. If you do not specify a cluster, the default cluster is assumed.

                                                                        pub fn cluster(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.cluster(input.into()); diff --git a/sdk/ecs/src/operation/get_task_protection/builders.rs b/sdk/ecs/src/operation/get_task_protection/builders.rs index 53c0990ec6d6..f2e1ecd0a84e 100644 --- a/sdk/ecs/src/operation/get_task_protection/builders.rs +++ b/sdk/ecs/src/operation/get_task_protection/builders.rs @@ -19,9 +19,9 @@ impl GetTaskProtectionFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl GetTaskProtectionFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::get_task_protection::GetTaskProtection, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::get_task_protection::GetTaskProtectionError, + >, + > { + self.customize_middleware().await + } ///

                                                                        The short name or full Amazon Resource Name (ARN) of the cluster that hosts the service that the task sets exist in.

                                                                        pub fn cluster(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.cluster(input.into()); diff --git a/sdk/ecs/src/operation/list_account_settings/builders.rs b/sdk/ecs/src/operation/list_account_settings/builders.rs index 5513244c5285..abd4f11892f5 100644 --- a/sdk/ecs/src/operation/list_account_settings/builders.rs +++ b/sdk/ecs/src/operation/list_account_settings/builders.rs @@ -19,9 +19,9 @@ impl ListAccountSettingsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl ListAccountSettingsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_account_settings::ListAccountSettings, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::list_account_settings::ListAccountSettingsError, + >, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::list_account_settings::paginator::ListAccountSettingsPaginator::send) which returns a `Stream`. diff --git a/sdk/ecs/src/operation/list_attributes/builders.rs b/sdk/ecs/src/operation/list_attributes/builders.rs index f3ec4ee21500..3a98e20a58bd 100644 --- a/sdk/ecs/src/operation/list_attributes/builders.rs +++ b/sdk/ecs/src/operation/list_attributes/builders.rs @@ -19,9 +19,9 @@ impl ListAttributesFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl ListAttributesFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_attributes::ListAttributes, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::list_attributes::paginator::ListAttributesPaginator::send) which returns a `Stream`. diff --git a/sdk/ecs/src/operation/list_clusters/builders.rs b/sdk/ecs/src/operation/list_clusters/builders.rs index 2360fa4a25c2..0fe75a70c848 100644 --- a/sdk/ecs/src/operation/list_clusters/builders.rs +++ b/sdk/ecs/src/operation/list_clusters/builders.rs @@ -19,9 +19,9 @@ impl ListClustersFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl ListClustersFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_clusters::ListClusters, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::list_clusters::paginator::ListClustersPaginator::send) which returns a `Stream`. diff --git a/sdk/ecs/src/operation/list_container_instances/builders.rs b/sdk/ecs/src/operation/list_container_instances/builders.rs index 0de17ffd9846..8383ef414e84 100644 --- a/sdk/ecs/src/operation/list_container_instances/builders.rs +++ b/sdk/ecs/src/operation/list_container_instances/builders.rs @@ -19,9 +19,9 @@ impl ListContainerInstancesFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl ListContainerInstancesFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_container_instances::ListContainerInstances, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::list_container_instances::ListContainerInstancesError, + >, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::list_container_instances::paginator::ListContainerInstancesPaginator::send) which returns a `Stream`. diff --git a/sdk/ecs/src/operation/list_services/builders.rs b/sdk/ecs/src/operation/list_services/builders.rs index 494c503cffcb..8b9abefd3caf 100644 --- a/sdk/ecs/src/operation/list_services/builders.rs +++ b/sdk/ecs/src/operation/list_services/builders.rs @@ -19,9 +19,9 @@ impl ListServicesFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl ListServicesFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_services::ListServices, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::list_services::paginator::ListServicesPaginator::send) which returns a `Stream`. diff --git a/sdk/ecs/src/operation/list_services_by_namespace/builders.rs b/sdk/ecs/src/operation/list_services_by_namespace/builders.rs index 88ea9ee40991..1eb154434673 100644 --- a/sdk/ecs/src/operation/list_services_by_namespace/builders.rs +++ b/sdk/ecs/src/operation/list_services_by_namespace/builders.rs @@ -20,9 +20,9 @@ impl ListServicesByNamespaceFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -84,6 +84,22 @@ impl ListServicesByNamespaceFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_services_by_namespace::ListServicesByNamespace, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::list_services_by_namespace::ListServicesByNamespaceError, + >, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::list_services_by_namespace::paginator::ListServicesByNamespacePaginator::send) which returns a `Stream`. diff --git a/sdk/ecs/src/operation/list_tags_for_resource/builders.rs b/sdk/ecs/src/operation/list_tags_for_resource/builders.rs index 69e8c30ffe21..4e63becb0a75 100644 --- a/sdk/ecs/src/operation/list_tags_for_resource/builders.rs +++ b/sdk/ecs/src/operation/list_tags_for_resource/builders.rs @@ -19,9 +19,9 @@ impl ListTagsForResourceFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl ListTagsForResourceFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_tags_for_resource::ListTagsForResource, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::list_tags_for_resource::ListTagsForResourceError, + >, + > { + self.customize_middleware().await + } ///

                                                                        The Amazon Resource Name (ARN) that identifies the resource to list the tags for. Currently, the supported resources are Amazon ECS tasks, services, task definitions, clusters, and container instances.

                                                                        pub fn resource_arn(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.resource_arn(input.into()); diff --git a/sdk/ecs/src/operation/list_task_definition_families/builders.rs b/sdk/ecs/src/operation/list_task_definition_families/builders.rs index 0571acf3f735..c333d9df86b8 100644 --- a/sdk/ecs/src/operation/list_task_definition_families/builders.rs +++ b/sdk/ecs/src/operation/list_task_definition_families/builders.rs @@ -20,9 +20,9 @@ impl ListTaskDefinitionFamiliesFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -84,6 +84,22 @@ impl ListTaskDefinitionFamiliesFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_task_definition_families::ListTaskDefinitionFamilies, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::list_task_definition_families::ListTaskDefinitionFamiliesError, + >, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::list_task_definition_families::paginator::ListTaskDefinitionFamiliesPaginator::send) which returns a `Stream`. diff --git a/sdk/ecs/src/operation/list_task_definitions/builders.rs b/sdk/ecs/src/operation/list_task_definitions/builders.rs index fc17b101325f..0da6b1a398eb 100644 --- a/sdk/ecs/src/operation/list_task_definitions/builders.rs +++ b/sdk/ecs/src/operation/list_task_definitions/builders.rs @@ -19,9 +19,9 @@ impl ListTaskDefinitionsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl ListTaskDefinitionsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_task_definitions::ListTaskDefinitions, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::list_task_definitions::ListTaskDefinitionsError, + >, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::list_task_definitions::paginator::ListTaskDefinitionsPaginator::send) which returns a `Stream`. diff --git a/sdk/ecs/src/operation/list_tasks/builders.rs b/sdk/ecs/src/operation/list_tasks/builders.rs index 8ed7151cf2df..ca66d05259ef 100644 --- a/sdk/ecs/src/operation/list_tasks/builders.rs +++ b/sdk/ecs/src/operation/list_tasks/builders.rs @@ -20,9 +20,9 @@ impl ListTasksFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -78,6 +78,20 @@ impl ListTasksFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_tasks::ListTasks, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::list_tasks::paginator::ListTasksPaginator::send) which returns a `Stream`. diff --git a/sdk/ecs/src/operation/put_account_setting/builders.rs b/sdk/ecs/src/operation/put_account_setting/builders.rs index 8621f5bd5606..aa01ca3b4fb2 100644 --- a/sdk/ecs/src/operation/put_account_setting/builders.rs +++ b/sdk/ecs/src/operation/put_account_setting/builders.rs @@ -24,9 +24,9 @@ impl PutAccountSettingFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -88,6 +88,22 @@ impl PutAccountSettingFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::put_account_setting::PutAccountSetting, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::put_account_setting::PutAccountSettingError, + >, + > { + self.customize_middleware().await + } ///

                                                                        The Amazon ECS resource name for which to modify the account setting. If serviceLongArnFormat is specified, the ARN for your Amazon ECS services is affected. If taskLongArnFormat is specified, the ARN and resource ID for your Amazon ECS tasks is affected. If containerInstanceLongArnFormat is specified, the ARN and resource ID for your Amazon ECS container instances is affected. If awsvpcTrunking is specified, the elastic network interface (ENI) limit for your Amazon ECS container instances is affected. If containerInsights is specified, the default setting for Amazon Web Services CloudWatch Container Insights for your clusters is affected. If fargateFIPSMode is specified, Fargate FIPS 140 compliance is affected. If tagResourceAuthorization is specified, the opt-in option for tagging resources on creation is affected. For information about the opt-in timeline, see Tagging authorization timeline in the Amazon ECS Developer Guide.

                                                                        pub fn name(mut self, input: crate::types::SettingName) -> Self { self.inner = self.inner.name(input); diff --git a/sdk/ecs/src/operation/put_account_setting_default/builders.rs b/sdk/ecs/src/operation/put_account_setting_default/builders.rs index c5517a83a900..11834113d129 100644 --- a/sdk/ecs/src/operation/put_account_setting_default/builders.rs +++ b/sdk/ecs/src/operation/put_account_setting_default/builders.rs @@ -19,9 +19,9 @@ impl PutAccountSettingDefaultFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl PutAccountSettingDefaultFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::put_account_setting_default::PutAccountSettingDefault, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::put_account_setting_default::PutAccountSettingDefaultError, + >, + > { + self.customize_middleware().await + } ///

                                                                        The resource name for which to modify the account setting. If serviceLongArnFormat is specified, the ARN for your Amazon ECS services is affected. If taskLongArnFormat is specified, the ARN and resource ID for your Amazon ECS tasks is affected. If containerInstanceLongArnFormat is specified, the ARN and resource ID for your Amazon ECS container instances is affected. If awsvpcTrunking is specified, the ENI limit for your Amazon ECS container instances is affected. If containerInsights is specified, the default setting for Amazon Web Services CloudWatch Container Insights for your clusters is affected. If tagResourceAuthorization is specified, the opt-in option for tagging resources on creation is affected. For information about the opt-in timeline, see Tagging authorization timeline in the Amazon ECS Developer Guide.

                                                                        ///

                                                                        When you specify fargateFIPSMode for the name and enabled for the value, Fargate uses FIPS-140 compliant cryptographic algorithms on your tasks. For more information about FIPS-140 compliance with Fargate, see Amazon Web Services Fargate Federal Information Processing Standard (FIPS) 140-2 compliance in the Amazon Elastic Container Service Developer Guide.

                                                                        pub fn name(mut self, input: crate::types::SettingName) -> Self { diff --git a/sdk/ecs/src/operation/put_attributes/builders.rs b/sdk/ecs/src/operation/put_attributes/builders.rs index fc661acf1caa..18bda521021a 100644 --- a/sdk/ecs/src/operation/put_attributes/builders.rs +++ b/sdk/ecs/src/operation/put_attributes/builders.rs @@ -19,9 +19,9 @@ impl PutAttributesFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl PutAttributesFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::put_attributes::PutAttributes, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                        The short name or full Amazon Resource Name (ARN) of the cluster that contains the resource to apply attributes. If you do not specify a cluster, the default cluster is assumed.

                                                                        pub fn cluster(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.cluster(input.into()); diff --git a/sdk/ecs/src/operation/put_cluster_capacity_providers/builders.rs b/sdk/ecs/src/operation/put_cluster_capacity_providers/builders.rs index 46a12a447c06..fac70a219909 100644 --- a/sdk/ecs/src/operation/put_cluster_capacity_providers/builders.rs +++ b/sdk/ecs/src/operation/put_cluster_capacity_providers/builders.rs @@ -21,9 +21,9 @@ impl PutClusterCapacityProvidersFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -85,6 +85,22 @@ impl PutClusterCapacityProvidersFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::put_cluster_capacity_providers::PutClusterCapacityProviders, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::put_cluster_capacity_providers::PutClusterCapacityProvidersError, + >, + > { + self.customize_middleware().await + } ///

                                                                        The short name or full Amazon Resource Name (ARN) of the cluster to modify the capacity provider settings for. If you don't specify a cluster, the default cluster is assumed.

                                                                        pub fn cluster(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.cluster(input.into()); diff --git a/sdk/ecs/src/operation/register_container_instance/builders.rs b/sdk/ecs/src/operation/register_container_instance/builders.rs index abd625f35fbe..cc3a3e4eddd8 100644 --- a/sdk/ecs/src/operation/register_container_instance/builders.rs +++ b/sdk/ecs/src/operation/register_container_instance/builders.rs @@ -22,9 +22,9 @@ impl RegisterContainerInstanceFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -86,6 +86,22 @@ impl RegisterContainerInstanceFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::register_container_instance::RegisterContainerInstance, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::register_container_instance::RegisterContainerInstanceError, + >, + > { + self.customize_middleware().await + } ///

                                                                        The short name or full Amazon Resource Name (ARN) of the cluster to register your container instance with. If you do not specify a cluster, the default cluster is assumed.

                                                                        pub fn cluster(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.cluster(input.into()); diff --git a/sdk/ecs/src/operation/register_task_definition/builders.rs b/sdk/ecs/src/operation/register_task_definition/builders.rs index f41cb37779f0..ef7c0b7ef22a 100644 --- a/sdk/ecs/src/operation/register_task_definition/builders.rs +++ b/sdk/ecs/src/operation/register_task_definition/builders.rs @@ -21,9 +21,9 @@ impl RegisterTaskDefinitionFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -85,6 +85,22 @@ impl RegisterTaskDefinitionFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::register_task_definition::RegisterTaskDefinition, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::register_task_definition::RegisterTaskDefinitionError, + >, + > { + self.customize_middleware().await + } ///

                                                                        You must specify a family for a task definition. You can use it track multiple versions of the same task definition. The family is used as a name for your task definition. Up to 255 letters (uppercase and lowercase), numbers, underscores, and hyphens are allowed.

                                                                        pub fn family(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.family(input.into()); diff --git a/sdk/ecs/src/operation/run_task/builders.rs b/sdk/ecs/src/operation/run_task/builders.rs index b0c1c1fde272..bad404f34be1 100644 --- a/sdk/ecs/src/operation/run_task/builders.rs +++ b/sdk/ecs/src/operation/run_task/builders.rs @@ -29,9 +29,9 @@ impl RunTaskFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -87,6 +87,20 @@ impl RunTaskFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::run_task::RunTask, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } /// Appends an item to `capacityProviderStrategy`. /// /// To override the contents of this collection use [`set_capacity_provider_strategy`](Self::set_capacity_provider_strategy). diff --git a/sdk/ecs/src/operation/start_task/builders.rs b/sdk/ecs/src/operation/start_task/builders.rs index 02f24f2ab9dc..4be20fae50e5 100644 --- a/sdk/ecs/src/operation/start_task/builders.rs +++ b/sdk/ecs/src/operation/start_task/builders.rs @@ -22,9 +22,9 @@ impl StartTaskFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -80,6 +80,20 @@ impl StartTaskFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::start_task::StartTask, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                        The short name or full Amazon Resource Name (ARN) of the cluster where to start your task. If you do not specify a cluster, the default cluster is assumed.

                                                                        pub fn cluster(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.cluster(input.into()); diff --git a/sdk/ecs/src/operation/stop_task/builders.rs b/sdk/ecs/src/operation/stop_task/builders.rs index 078bfb3b5e6e..b05bae9fc3c3 100644 --- a/sdk/ecs/src/operation/stop_task/builders.rs +++ b/sdk/ecs/src/operation/stop_task/builders.rs @@ -22,9 +22,9 @@ impl StopTaskFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -80,6 +80,20 @@ impl StopTaskFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::stop_task::StopTask, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                        The short name or full Amazon Resource Name (ARN) of the cluster that hosts the task to stop. If you do not specify a cluster, the default cluster is assumed.

                                                                        pub fn cluster(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.cluster(input.into()); diff --git a/sdk/ecs/src/operation/submit_attachment_state_changes/builders.rs b/sdk/ecs/src/operation/submit_attachment_state_changes/builders.rs index dae1561b86af..176ec9aa2c4c 100644 --- a/sdk/ecs/src/operation/submit_attachment_state_changes/builders.rs +++ b/sdk/ecs/src/operation/submit_attachment_state_changes/builders.rs @@ -22,9 +22,9 @@ impl SubmitAttachmentStateChangesFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -86,6 +86,22 @@ impl SubmitAttachmentStateChangesFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::submit_attachment_state_changes::SubmitAttachmentStateChanges, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::submit_attachment_state_changes::SubmitAttachmentStateChangesError, + >, + > { + self.customize_middleware().await + } ///

                                                                        The short name or full ARN of the cluster that hosts the container instance the attachment belongs to.

                                                                        pub fn cluster(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.cluster(input.into()); diff --git a/sdk/ecs/src/operation/submit_container_state_change/builders.rs b/sdk/ecs/src/operation/submit_container_state_change/builders.rs index 5d1e26634860..14c7cef312e6 100644 --- a/sdk/ecs/src/operation/submit_container_state_change/builders.rs +++ b/sdk/ecs/src/operation/submit_container_state_change/builders.rs @@ -22,9 +22,9 @@ impl SubmitContainerStateChangeFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -86,6 +86,22 @@ impl SubmitContainerStateChangeFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::submit_container_state_change::SubmitContainerStateChange, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::submit_container_state_change::SubmitContainerStateChangeError, + >, + > { + self.customize_middleware().await + } ///

                                                                        The short name or full ARN of the cluster that hosts the container.

                                                                        pub fn cluster(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.cluster(input.into()); diff --git a/sdk/ecs/src/operation/submit_task_state_change/builders.rs b/sdk/ecs/src/operation/submit_task_state_change/builders.rs index d35ad16c7d75..5e1540590241 100644 --- a/sdk/ecs/src/operation/submit_task_state_change/builders.rs +++ b/sdk/ecs/src/operation/submit_task_state_change/builders.rs @@ -22,9 +22,9 @@ impl SubmitTaskStateChangeFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -86,6 +86,22 @@ impl SubmitTaskStateChangeFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::submit_task_state_change::SubmitTaskStateChange, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::submit_task_state_change::SubmitTaskStateChangeError, + >, + > { + self.customize_middleware().await + } ///

                                                                        The short name or full Amazon Resource Name (ARN) of the cluster that hosts the task.

                                                                        pub fn cluster(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.cluster(input.into()); diff --git a/sdk/ecs/src/operation/tag_resource/builders.rs b/sdk/ecs/src/operation/tag_resource/builders.rs index cbe11359556a..73e47a98b747 100644 --- a/sdk/ecs/src/operation/tag_resource/builders.rs +++ b/sdk/ecs/src/operation/tag_resource/builders.rs @@ -19,9 +19,9 @@ impl TagResourceFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl TagResourceFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::tag_resource::TagResource, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                        The Amazon Resource Name (ARN) of the resource to add tags to. Currently, the supported resources are Amazon ECS capacity providers, tasks, services, task definitions, clusters, and container instances.

                                                                        pub fn resource_arn(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.resource_arn(input.into()); diff --git a/sdk/ecs/src/operation/untag_resource/builders.rs b/sdk/ecs/src/operation/untag_resource/builders.rs index c44caa9662e0..ada3f068ea60 100644 --- a/sdk/ecs/src/operation/untag_resource/builders.rs +++ b/sdk/ecs/src/operation/untag_resource/builders.rs @@ -19,9 +19,9 @@ impl UntagResourceFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl UntagResourceFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::untag_resource::UntagResource, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                        The Amazon Resource Name (ARN) of the resource to delete tags from. Currently, the supported resources are Amazon ECS capacity providers, tasks, services, task definitions, clusters, and container instances.

                                                                        pub fn resource_arn(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.resource_arn(input.into()); diff --git a/sdk/ecs/src/operation/update_capacity_provider/builders.rs b/sdk/ecs/src/operation/update_capacity_provider/builders.rs index 22b4b4b660da..9d26d9138ace 100644 --- a/sdk/ecs/src/operation/update_capacity_provider/builders.rs +++ b/sdk/ecs/src/operation/update_capacity_provider/builders.rs @@ -19,9 +19,9 @@ impl UpdateCapacityProviderFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl UpdateCapacityProviderFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::update_capacity_provider::UpdateCapacityProvider, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::update_capacity_provider::UpdateCapacityProviderError, + >, + > { + self.customize_middleware().await + } ///

                                                                        The name of the capacity provider to update.

                                                                        pub fn name(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.name(input.into()); diff --git a/sdk/ecs/src/operation/update_cluster/builders.rs b/sdk/ecs/src/operation/update_cluster/builders.rs index 83ac95b44c02..a220fd6d82ef 100644 --- a/sdk/ecs/src/operation/update_cluster/builders.rs +++ b/sdk/ecs/src/operation/update_cluster/builders.rs @@ -19,9 +19,9 @@ impl UpdateClusterFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl UpdateClusterFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::update_cluster::UpdateCluster, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                        The name of the cluster to modify the settings for.

                                                                        pub fn cluster(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.cluster(input.into()); diff --git a/sdk/ecs/src/operation/update_cluster_settings/builders.rs b/sdk/ecs/src/operation/update_cluster_settings/builders.rs index 5e980f5cf9df..d9774558ca4a 100644 --- a/sdk/ecs/src/operation/update_cluster_settings/builders.rs +++ b/sdk/ecs/src/operation/update_cluster_settings/builders.rs @@ -19,9 +19,9 @@ impl UpdateClusterSettingsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl UpdateClusterSettingsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::update_cluster_settings::UpdateClusterSettings, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::update_cluster_settings::UpdateClusterSettingsError, + >, + > { + self.customize_middleware().await + } ///

                                                                        The name of the cluster to modify the settings for.

                                                                        pub fn cluster(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.cluster(input.into()); diff --git a/sdk/ecs/src/operation/update_container_agent/builders.rs b/sdk/ecs/src/operation/update_container_agent/builders.rs index 1aa4092654f1..eebabd4ef32e 100644 --- a/sdk/ecs/src/operation/update_container_agent/builders.rs +++ b/sdk/ecs/src/operation/update_container_agent/builders.rs @@ -24,9 +24,9 @@ impl UpdateContainerAgentFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -88,6 +88,22 @@ impl UpdateContainerAgentFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::update_container_agent::UpdateContainerAgent, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::update_container_agent::UpdateContainerAgentError, + >, + > { + self.customize_middleware().await + } ///

                                                                        The short name or full Amazon Resource Name (ARN) of the cluster that your container instance is running on. If you do not specify a cluster, the default cluster is assumed.

                                                                        pub fn cluster(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.cluster(input.into()); diff --git a/sdk/ecs/src/operation/update_container_instances_state/builders.rs b/sdk/ecs/src/operation/update_container_instances_state/builders.rs index 53177c286325..8580d3e28b1b 100644 --- a/sdk/ecs/src/operation/update_container_instances_state/builders.rs +++ b/sdk/ecs/src/operation/update_container_instances_state/builders.rs @@ -31,9 +31,9 @@ impl UpdateContainerInstancesStateFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -95,6 +95,22 @@ impl UpdateContainerInstancesStateFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::update_container_instances_state::UpdateContainerInstancesState, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::update_container_instances_state::UpdateContainerInstancesStateError, + >, + > { + self.customize_middleware().await + } ///

                                                                        The short name or full Amazon Resource Name (ARN) of the cluster that hosts the container instance to update. If you do not specify a cluster, the default cluster is assumed.

                                                                        pub fn cluster(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.cluster(input.into()); diff --git a/sdk/ecs/src/operation/update_service/builders.rs b/sdk/ecs/src/operation/update_service/builders.rs index 334a309355b4..591294f48e61 100644 --- a/sdk/ecs/src/operation/update_service/builders.rs +++ b/sdk/ecs/src/operation/update_service/builders.rs @@ -52,9 +52,9 @@ impl UpdateServiceFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -110,6 +110,20 @@ impl UpdateServiceFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::update_service::UpdateService, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                        The short name or full Amazon Resource Name (ARN) of the cluster that your service runs on. If you do not specify a cluster, the default cluster is assumed.

                                                                        pub fn cluster(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.cluster(input.into()); diff --git a/sdk/ecs/src/operation/update_service_primary_task_set/builders.rs b/sdk/ecs/src/operation/update_service_primary_task_set/builders.rs index 7dc3bf190b39..18d53ae90280 100644 --- a/sdk/ecs/src/operation/update_service_primary_task_set/builders.rs +++ b/sdk/ecs/src/operation/update_service_primary_task_set/builders.rs @@ -19,9 +19,9 @@ impl UpdateServicePrimaryTaskSetFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl UpdateServicePrimaryTaskSetFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::update_service_primary_task_set::UpdateServicePrimaryTaskSet, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::update_service_primary_task_set::UpdateServicePrimaryTaskSetError, + >, + > { + self.customize_middleware().await + } ///

                                                                        The short name or full Amazon Resource Name (ARN) of the cluster that hosts the service that the task set exists in.

                                                                        pub fn cluster(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.cluster(input.into()); diff --git a/sdk/ecs/src/operation/update_task_protection/builders.rs b/sdk/ecs/src/operation/update_task_protection/builders.rs index 43717bb3bc99..b575fce2e8bf 100644 --- a/sdk/ecs/src/operation/update_task_protection/builders.rs +++ b/sdk/ecs/src/operation/update_task_protection/builders.rs @@ -26,9 +26,9 @@ impl UpdateTaskProtectionFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -90,6 +90,22 @@ impl UpdateTaskProtectionFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::update_task_protection::UpdateTaskProtection, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::update_task_protection::UpdateTaskProtectionError, + >, + > { + self.customize_middleware().await + } ///

                                                                        The short name or full Amazon Resource Name (ARN) of the cluster that hosts the service that the task sets exist in.

                                                                        pub fn cluster(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.cluster(input.into()); diff --git a/sdk/ecs/src/operation/update_task_set/builders.rs b/sdk/ecs/src/operation/update_task_set/builders.rs index dfa25e855f46..75aaa081c1a4 100644 --- a/sdk/ecs/src/operation/update_task_set/builders.rs +++ b/sdk/ecs/src/operation/update_task_set/builders.rs @@ -19,9 +19,9 @@ impl UpdateTaskSetFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl UpdateTaskSetFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::update_task_set::UpdateTaskSet, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                        The short name or full Amazon Resource Name (ARN) of the cluster that hosts the service that the task set is found in.

                                                                        pub fn cluster(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.cluster(input.into()); diff --git a/sdk/efs/src/operation/create_access_point/builders.rs b/sdk/efs/src/operation/create_access_point/builders.rs index 3f0ff843c454..4fdf6676dcf1 100644 --- a/sdk/efs/src/operation/create_access_point/builders.rs +++ b/sdk/efs/src/operation/create_access_point/builders.rs @@ -22,9 +22,9 @@ impl CreateAccessPointFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -86,6 +86,22 @@ impl CreateAccessPointFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::create_access_point::CreateAccessPoint, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::create_access_point::CreateAccessPointError, + >, + > { + self.customize_middleware().await + } ///

                                                                        A string of up to 64 ASCII characters that Amazon EFS uses to ensure idempotent creation.

                                                                        pub fn client_token(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.client_token(input.into()); diff --git a/sdk/efs/src/operation/create_file_system/builders.rs b/sdk/efs/src/operation/create_file_system/builders.rs index 9e761979fdb4..7314976d6d96 100644 --- a/sdk/efs/src/operation/create_file_system/builders.rs +++ b/sdk/efs/src/operation/create_file_system/builders.rs @@ -34,9 +34,9 @@ impl CreateFileSystemFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -98,6 +98,22 @@ impl CreateFileSystemFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::create_file_system::CreateFileSystem, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::create_file_system::CreateFileSystemError, + >, + > { + self.customize_middleware().await + } ///

                                                                        A string of up to 64 ASCII characters. Amazon EFS uses this to ensure idempotent creation.

                                                                        pub fn creation_token( mut self, diff --git a/sdk/efs/src/operation/create_mount_target/builders.rs b/sdk/efs/src/operation/create_mount_target/builders.rs index 226b458ee448..2ce2f11add50 100644 --- a/sdk/efs/src/operation/create_mount_target/builders.rs +++ b/sdk/efs/src/operation/create_mount_target/builders.rs @@ -63,9 +63,9 @@ impl CreateMountTargetFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -127,6 +127,22 @@ impl CreateMountTargetFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::create_mount_target::CreateMountTarget, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::create_mount_target::CreateMountTargetError, + >, + > { + self.customize_middleware().await + } ///

                                                                        The ID of the file system for which to create the mount target.

                                                                        pub fn file_system_id( mut self, diff --git a/sdk/efs/src/operation/create_replication_configuration/builders.rs b/sdk/efs/src/operation/create_replication_configuration/builders.rs index 448186f723b1..e09459b5faca 100644 --- a/sdk/efs/src/operation/create_replication_configuration/builders.rs +++ b/sdk/efs/src/operation/create_replication_configuration/builders.rs @@ -41,9 +41,9 @@ impl CreateReplicationConfigurationFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -105,6 +105,22 @@ impl CreateReplicationConfigurationFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::create_replication_configuration::CreateReplicationConfiguration, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::create_replication_configuration::CreateReplicationConfigurationError, + >, + > { + self.customize_middleware().await + } ///

                                                                        Specifies the Amazon EFS file system that you want to replicate. This file system cannot already be a source or destination file system in another replication configuration.

                                                                        pub fn source_file_system_id( mut self, diff --git a/sdk/efs/src/operation/create_tags/builders.rs b/sdk/efs/src/operation/create_tags/builders.rs index 66f7120d2a5c..21be748c50ea 100644 --- a/sdk/efs/src/operation/create_tags/builders.rs +++ b/sdk/efs/src/operation/create_tags/builders.rs @@ -24,9 +24,9 @@ impl CreateTagsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -82,6 +82,20 @@ impl CreateTagsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::create_tags::CreateTags, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                        The ID of the file system whose tags you want to modify (String). This operation modifies the tags only, not the file system.

                                                                        pub fn file_system_id( mut self, diff --git a/sdk/efs/src/operation/delete_access_point/builders.rs b/sdk/efs/src/operation/delete_access_point/builders.rs index a9cb1e37cce7..c16b73116d1d 100644 --- a/sdk/efs/src/operation/delete_access_point/builders.rs +++ b/sdk/efs/src/operation/delete_access_point/builders.rs @@ -20,9 +20,9 @@ impl DeleteAccessPointFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -84,6 +84,22 @@ impl DeleteAccessPointFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::delete_access_point::DeleteAccessPoint, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::delete_access_point::DeleteAccessPointError, + >, + > { + self.customize_middleware().await + } ///

                                                                        The ID of the access point that you want to delete.

                                                                        pub fn access_point_id( mut self, diff --git a/sdk/efs/src/operation/delete_file_system/builders.rs b/sdk/efs/src/operation/delete_file_system/builders.rs index dbe0bb3d40fa..deac77998167 100644 --- a/sdk/efs/src/operation/delete_file_system/builders.rs +++ b/sdk/efs/src/operation/delete_file_system/builders.rs @@ -26,9 +26,9 @@ impl DeleteFileSystemFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -90,6 +90,22 @@ impl DeleteFileSystemFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::delete_file_system::DeleteFileSystem, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::delete_file_system::DeleteFileSystemError, + >, + > { + self.customize_middleware().await + } ///

                                                                        The ID of the file system you want to delete.

                                                                        pub fn file_system_id( mut self, diff --git a/sdk/efs/src/operation/delete_file_system_policy/builders.rs b/sdk/efs/src/operation/delete_file_system_policy/builders.rs index 5e2ee4e46d2c..58864dff1a17 100644 --- a/sdk/efs/src/operation/delete_file_system_policy/builders.rs +++ b/sdk/efs/src/operation/delete_file_system_policy/builders.rs @@ -21,9 +21,9 @@ impl DeleteFileSystemPolicyFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -85,6 +85,22 @@ impl DeleteFileSystemPolicyFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::delete_file_system_policy::DeleteFileSystemPolicy, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::delete_file_system_policy::DeleteFileSystemPolicyError, + >, + > { + self.customize_middleware().await + } ///

                                                                        Specifies the EFS file system for which to delete the FileSystemPolicy.

                                                                        pub fn file_system_id( mut self, diff --git a/sdk/efs/src/operation/delete_mount_target/builders.rs b/sdk/efs/src/operation/delete_mount_target/builders.rs index 722a9438aba0..8984aa071607 100644 --- a/sdk/efs/src/operation/delete_mount_target/builders.rs +++ b/sdk/efs/src/operation/delete_mount_target/builders.rs @@ -30,9 +30,9 @@ impl DeleteMountTargetFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -94,6 +94,22 @@ impl DeleteMountTargetFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::delete_mount_target::DeleteMountTarget, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::delete_mount_target::DeleteMountTargetError, + >, + > { + self.customize_middleware().await + } ///

                                                                        The ID of the mount target to delete (String).

                                                                        pub fn mount_target_id( mut self, diff --git a/sdk/efs/src/operation/delete_replication_configuration/builders.rs b/sdk/efs/src/operation/delete_replication_configuration/builders.rs index a863406f5791..540ef1a8545f 100644 --- a/sdk/efs/src/operation/delete_replication_configuration/builders.rs +++ b/sdk/efs/src/operation/delete_replication_configuration/builders.rs @@ -19,9 +19,9 @@ impl DeleteReplicationConfigurationFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl DeleteReplicationConfigurationFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::delete_replication_configuration::DeleteReplicationConfiguration, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::delete_replication_configuration::DeleteReplicationConfigurationError, + >, + > { + self.customize_middleware().await + } ///

                                                                        The ID of the source file system in the replication configuration.

                                                                        pub fn source_file_system_id( mut self, diff --git a/sdk/efs/src/operation/delete_tags/builders.rs b/sdk/efs/src/operation/delete_tags/builders.rs index ebbd7ace472b..5e63d678be38 100644 --- a/sdk/efs/src/operation/delete_tags/builders.rs +++ b/sdk/efs/src/operation/delete_tags/builders.rs @@ -24,9 +24,9 @@ impl DeleteTagsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -82,6 +82,20 @@ impl DeleteTagsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::delete_tags::DeleteTags, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                        The ID of the file system whose tags you want to delete (String).

                                                                        pub fn file_system_id( mut self, diff --git a/sdk/efs/src/operation/describe_access_points/builders.rs b/sdk/efs/src/operation/describe_access_points/builders.rs index ec41e01ba986..6b5223b5aa63 100644 --- a/sdk/efs/src/operation/describe_access_points/builders.rs +++ b/sdk/efs/src/operation/describe_access_points/builders.rs @@ -20,9 +20,9 @@ impl DescribeAccessPointsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -84,6 +84,22 @@ impl DescribeAccessPointsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::describe_access_points::DescribeAccessPoints, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::describe_access_points::DescribeAccessPointsError, + >, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::describe_access_points::paginator::DescribeAccessPointsPaginator::send) which returns a `Stream`. diff --git a/sdk/efs/src/operation/describe_account_preferences/builders.rs b/sdk/efs/src/operation/describe_account_preferences/builders.rs index daca73d300e4..e94daf29383b 100644 --- a/sdk/efs/src/operation/describe_account_preferences/builders.rs +++ b/sdk/efs/src/operation/describe_account_preferences/builders.rs @@ -19,9 +19,9 @@ impl DescribeAccountPreferencesFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl DescribeAccountPreferencesFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::describe_account_preferences::DescribeAccountPreferences, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::describe_account_preferences::DescribeAccountPreferencesError, + >, + > { + self.customize_middleware().await + } ///

                                                                        (Optional) You can use NextToken in a subsequent request to fetch the next page of Amazon Web Services account preferences if the response payload was paginated.

                                                                        pub fn next_token(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.next_token(input.into()); diff --git a/sdk/efs/src/operation/describe_backup_policy/builders.rs b/sdk/efs/src/operation/describe_backup_policy/builders.rs index 110ce7cc7319..3ba00d40eb7a 100644 --- a/sdk/efs/src/operation/describe_backup_policy/builders.rs +++ b/sdk/efs/src/operation/describe_backup_policy/builders.rs @@ -19,9 +19,9 @@ impl DescribeBackupPolicyFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl DescribeBackupPolicyFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::describe_backup_policy::DescribeBackupPolicy, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::describe_backup_policy::DescribeBackupPolicyError, + >, + > { + self.customize_middleware().await + } ///

                                                                        Specifies which EFS file system to retrieve the BackupPolicy for.

                                                                        pub fn file_system_id( mut self, diff --git a/sdk/efs/src/operation/describe_file_system_policy/builders.rs b/sdk/efs/src/operation/describe_file_system_policy/builders.rs index 59c258247a50..42f76135e287 100644 --- a/sdk/efs/src/operation/describe_file_system_policy/builders.rs +++ b/sdk/efs/src/operation/describe_file_system_policy/builders.rs @@ -20,9 +20,9 @@ impl DescribeFileSystemPolicyFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -84,6 +84,22 @@ impl DescribeFileSystemPolicyFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::describe_file_system_policy::DescribeFileSystemPolicy, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::describe_file_system_policy::DescribeFileSystemPolicyError, + >, + > { + self.customize_middleware().await + } ///

                                                                        Specifies which EFS file system to retrieve the FileSystemPolicy for.

                                                                        pub fn file_system_id( mut self, diff --git a/sdk/efs/src/operation/describe_file_systems/builders.rs b/sdk/efs/src/operation/describe_file_systems/builders.rs index 5126c4a12194..59a327e4b878 100644 --- a/sdk/efs/src/operation/describe_file_systems/builders.rs +++ b/sdk/efs/src/operation/describe_file_systems/builders.rs @@ -23,9 +23,9 @@ impl DescribeFileSystemsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -87,6 +87,22 @@ impl DescribeFileSystemsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::describe_file_systems::DescribeFileSystems, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::describe_file_systems::DescribeFileSystemsError, + >, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::describe_file_systems::paginator::DescribeFileSystemsPaginator::send) which returns a `Stream`. diff --git a/sdk/efs/src/operation/describe_lifecycle_configuration/builders.rs b/sdk/efs/src/operation/describe_lifecycle_configuration/builders.rs index 9000e4617227..4b92c70aeb6f 100644 --- a/sdk/efs/src/operation/describe_lifecycle_configuration/builders.rs +++ b/sdk/efs/src/operation/describe_lifecycle_configuration/builders.rs @@ -21,9 +21,9 @@ impl DescribeLifecycleConfigurationFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -85,6 +85,22 @@ impl DescribeLifecycleConfigurationFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::describe_lifecycle_configuration::DescribeLifecycleConfiguration, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::describe_lifecycle_configuration::DescribeLifecycleConfigurationError, + >, + > { + self.customize_middleware().await + } ///

                                                                        The ID of the file system whose LifecycleConfiguration object you want to retrieve (String).

                                                                        pub fn file_system_id( mut self, diff --git a/sdk/efs/src/operation/describe_mount_target_security_groups/builders.rs b/sdk/efs/src/operation/describe_mount_target_security_groups/builders.rs index dd5424b66094..525f1734c946 100644 --- a/sdk/efs/src/operation/describe_mount_target_security_groups/builders.rs +++ b/sdk/efs/src/operation/describe_mount_target_security_groups/builders.rs @@ -24,9 +24,9 @@ impl DescribeMountTargetSecurityGroupsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize(self) -> ::std::result::Result< + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware(self) -> ::std::result::Result< crate::client::customize::CustomizableOperation, ::aws_smithy_http::result::SdkError >{ @@ -69,6 +69,15 @@ impl DescribeMountTargetSecurityGroupsFluentBuilder { { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize(self) -> ::std::result::Result< + crate::client::customize::CustomizableOperation, + ::aws_smithy_http::result::SdkError + >{ + self.customize_middleware().await + } ///

                                                                        The ID of the mount target whose security groups you want to retrieve.

                                                                        pub fn mount_target_id( mut self, diff --git a/sdk/efs/src/operation/describe_mount_targets/builders.rs b/sdk/efs/src/operation/describe_mount_targets/builders.rs index e6a17ba39237..63af16f8630b 100644 --- a/sdk/efs/src/operation/describe_mount_targets/builders.rs +++ b/sdk/efs/src/operation/describe_mount_targets/builders.rs @@ -20,9 +20,9 @@ impl DescribeMountTargetsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -84,6 +84,22 @@ impl DescribeMountTargetsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::describe_mount_targets::DescribeMountTargets, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::describe_mount_targets::DescribeMountTargetsError, + >, + > { + self.customize_middleware().await + } ///

                                                                        (Optional) Maximum number of mount targets to return in the response. Currently, this number is automatically set to 10, and other values are ignored. The response is paginated at 100 per page if you have more than 100 mount targets.

                                                                        pub fn max_items(mut self, input: i32) -> Self { self.inner = self.inner.max_items(input); diff --git a/sdk/efs/src/operation/describe_replication_configurations/builders.rs b/sdk/efs/src/operation/describe_replication_configurations/builders.rs index cd29f6abacb4..ccb7982d7a04 100644 --- a/sdk/efs/src/operation/describe_replication_configurations/builders.rs +++ b/sdk/efs/src/operation/describe_replication_configurations/builders.rs @@ -19,9 +19,9 @@ impl DescribeReplicationConfigurationsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize(self) -> ::std::result::Result< + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware(self) -> ::std::result::Result< crate::client::customize::CustomizableOperation, ::aws_smithy_http::result::SdkError >{ @@ -64,6 +64,15 @@ impl DescribeReplicationConfigurationsFluentBuilder { { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize(self) -> ::std::result::Result< + crate::client::customize::CustomizableOperation, + ::aws_smithy_http::result::SdkError + >{ + self.customize_middleware().await + } ///

                                                                        You can retrieve the replication configuration for a specific file system by providing its file system ID.

                                                                        pub fn file_system_id( mut self, diff --git a/sdk/efs/src/operation/describe_tags/builders.rs b/sdk/efs/src/operation/describe_tags/builders.rs index 9994860032b1..93072aa5bf4c 100644 --- a/sdk/efs/src/operation/describe_tags/builders.rs +++ b/sdk/efs/src/operation/describe_tags/builders.rs @@ -24,9 +24,9 @@ impl DescribeTagsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -82,6 +82,20 @@ impl DescribeTagsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::describe_tags::DescribeTags, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::describe_tags::paginator::DescribeTagsPaginator::send) which returns a `Stream`. diff --git a/sdk/efs/src/operation/list_tags_for_resource/builders.rs b/sdk/efs/src/operation/list_tags_for_resource/builders.rs index 9447bef3a1ac..e60a45f6d4a3 100644 --- a/sdk/efs/src/operation/list_tags_for_resource/builders.rs +++ b/sdk/efs/src/operation/list_tags_for_resource/builders.rs @@ -20,9 +20,9 @@ impl ListTagsForResourceFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -84,6 +84,22 @@ impl ListTagsForResourceFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_tags_for_resource::ListTagsForResource, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::list_tags_for_resource::ListTagsForResourceError, + >, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::list_tags_for_resource::paginator::ListTagsForResourcePaginator::send) which returns a `Stream`. diff --git a/sdk/efs/src/operation/modify_mount_target_security_groups/builders.rs b/sdk/efs/src/operation/modify_mount_target_security_groups/builders.rs index 02c6b9f3c133..6cf85027792e 100644 --- a/sdk/efs/src/operation/modify_mount_target_security_groups/builders.rs +++ b/sdk/efs/src/operation/modify_mount_target_security_groups/builders.rs @@ -25,9 +25,9 @@ impl ModifyMountTargetSecurityGroupsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize(self) -> ::std::result::Result< + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware(self) -> ::std::result::Result< crate::client::customize::CustomizableOperation, ::aws_smithy_http::result::SdkError >{ @@ -70,6 +70,15 @@ impl ModifyMountTargetSecurityGroupsFluentBuilder { { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize(self) -> ::std::result::Result< + crate::client::customize::CustomizableOperation, + ::aws_smithy_http::result::SdkError + >{ + self.customize_middleware().await + } ///

                                                                        The ID of the mount target whose security groups you want to modify.

                                                                        pub fn mount_target_id( mut self, diff --git a/sdk/efs/src/operation/put_account_preferences/builders.rs b/sdk/efs/src/operation/put_account_preferences/builders.rs index d1e5313f6273..7c245b06032f 100644 --- a/sdk/efs/src/operation/put_account_preferences/builders.rs +++ b/sdk/efs/src/operation/put_account_preferences/builders.rs @@ -21,9 +21,9 @@ impl PutAccountPreferencesFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -85,6 +85,22 @@ impl PutAccountPreferencesFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::put_account_preferences::PutAccountPreferences, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::put_account_preferences::PutAccountPreferencesError, + >, + > { + self.customize_middleware().await + } ///

                                                                        Specifies the EFS resource ID preference to set for the user's Amazon Web Services account, in the current Amazon Web Services Region, either LONG_ID (17 characters), or SHORT_ID (8 characters).

                                                                        ///

                                                                        Starting in October, 2021, you will receive an error when setting the account preference to SHORT_ID. Contact Amazon Web Services support if you receive an error and must use short IDs for file system and mount target resources.

                                                                        ///
                                                                        diff --git a/sdk/efs/src/operation/put_backup_policy/builders.rs b/sdk/efs/src/operation/put_backup_policy/builders.rs index 179d09903caa..1fa09959bc41 100644 --- a/sdk/efs/src/operation/put_backup_policy/builders.rs +++ b/sdk/efs/src/operation/put_backup_policy/builders.rs @@ -19,9 +19,9 @@ impl PutBackupPolicyFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl PutBackupPolicyFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::put_backup_policy::PutBackupPolicy, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::put_backup_policy::PutBackupPolicyError, + >, + > { + self.customize_middleware().await + } ///

                                                                        Specifies which EFS file system to update the backup policy for.

                                                                        pub fn file_system_id( mut self, diff --git a/sdk/efs/src/operation/put_file_system_policy/builders.rs b/sdk/efs/src/operation/put_file_system_policy/builders.rs index b6163baff7dd..e460715334e9 100644 --- a/sdk/efs/src/operation/put_file_system_policy/builders.rs +++ b/sdk/efs/src/operation/put_file_system_policy/builders.rs @@ -22,9 +22,9 @@ impl PutFileSystemPolicyFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -86,6 +86,22 @@ impl PutFileSystemPolicyFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::put_file_system_policy::PutFileSystemPolicy, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::put_file_system_policy::PutFileSystemPolicyError, + >, + > { + self.customize_middleware().await + } ///

                                                                        The ID of the EFS file system that you want to create or update the FileSystemPolicy for.

                                                                        pub fn file_system_id( mut self, diff --git a/sdk/efs/src/operation/put_lifecycle_configuration/builders.rs b/sdk/efs/src/operation/put_lifecycle_configuration/builders.rs index 788580e1814c..508eed148b38 100644 --- a/sdk/efs/src/operation/put_lifecycle_configuration/builders.rs +++ b/sdk/efs/src/operation/put_lifecycle_configuration/builders.rs @@ -34,9 +34,9 @@ impl PutLifecycleConfigurationFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -98,6 +98,22 @@ impl PutLifecycleConfigurationFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::put_lifecycle_configuration::PutLifecycleConfiguration, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::put_lifecycle_configuration::PutLifecycleConfigurationError, + >, + > { + self.customize_middleware().await + } ///

                                                                        The ID of the file system for which you are creating the LifecycleConfiguration object (String).

                                                                        pub fn file_system_id( mut self, diff --git a/sdk/efs/src/operation/tag_resource/builders.rs b/sdk/efs/src/operation/tag_resource/builders.rs index 221d1ac5a07d..74147c72f273 100644 --- a/sdk/efs/src/operation/tag_resource/builders.rs +++ b/sdk/efs/src/operation/tag_resource/builders.rs @@ -20,9 +20,9 @@ impl TagResourceFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -78,6 +78,20 @@ impl TagResourceFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::tag_resource::TagResource, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                        The ID specifying the EFS resource that you want to create a tag for.

                                                                        pub fn resource_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.resource_id(input.into()); diff --git a/sdk/efs/src/operation/untag_resource/builders.rs b/sdk/efs/src/operation/untag_resource/builders.rs index 42341c033005..95e9c2766bcd 100644 --- a/sdk/efs/src/operation/untag_resource/builders.rs +++ b/sdk/efs/src/operation/untag_resource/builders.rs @@ -20,9 +20,9 @@ impl UntagResourceFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -78,6 +78,20 @@ impl UntagResourceFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::untag_resource::UntagResource, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                        Specifies the EFS resource that you want to remove tags from.

                                                                        pub fn resource_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.resource_id(input.into()); diff --git a/sdk/efs/src/operation/update_file_system/builders.rs b/sdk/efs/src/operation/update_file_system/builders.rs index 9e977c461634..b12623d288e4 100644 --- a/sdk/efs/src/operation/update_file_system/builders.rs +++ b/sdk/efs/src/operation/update_file_system/builders.rs @@ -19,9 +19,9 @@ impl UpdateFileSystemFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl UpdateFileSystemFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::update_file_system::UpdateFileSystem, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::update_file_system::UpdateFileSystemError, + >, + > { + self.customize_middleware().await + } ///

                                                                        The ID of the file system that you want to update.

                                                                        pub fn file_system_id( mut self, diff --git a/sdk/eks/src/operation/associate_encryption_config/builders.rs b/sdk/eks/src/operation/associate_encryption_config/builders.rs index 9a992203544f..787c859a761b 100644 --- a/sdk/eks/src/operation/associate_encryption_config/builders.rs +++ b/sdk/eks/src/operation/associate_encryption_config/builders.rs @@ -20,9 +20,9 @@ impl AssociateEncryptionConfigFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -84,6 +84,22 @@ impl AssociateEncryptionConfigFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::associate_encryption_config::AssociateEncryptionConfig, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::associate_encryption_config::AssociateEncryptionConfigError, + >, + > { + self.customize_middleware().await + } ///

                                                                        The name of the cluster that you are associating with encryption configuration.

                                                                        pub fn cluster_name(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.cluster_name(input.into()); diff --git a/sdk/eks/src/operation/associate_identity_provider_config/builders.rs b/sdk/eks/src/operation/associate_identity_provider_config/builders.rs index 431e2deed9e5..bf09929d12ee 100644 --- a/sdk/eks/src/operation/associate_identity_provider_config/builders.rs +++ b/sdk/eks/src/operation/associate_identity_provider_config/builders.rs @@ -20,9 +20,9 @@ impl AssociateIdentityProviderConfigFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize(self) -> ::std::result::Result< + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware(self) -> ::std::result::Result< crate::client::customize::CustomizableOperation, ::aws_smithy_http::result::SdkError >{ @@ -65,6 +65,15 @@ impl AssociateIdentityProviderConfigFluentBuilder { { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize(self) -> ::std::result::Result< + crate::client::customize::CustomizableOperation, + ::aws_smithy_http::result::SdkError + >{ + self.customize_middleware().await + } ///

                                                                        The name of the cluster to associate the configuration to.

                                                                        pub fn cluster_name(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.cluster_name(input.into()); diff --git a/sdk/eks/src/operation/create_addon/builders.rs b/sdk/eks/src/operation/create_addon/builders.rs index e84104aa5642..eacb0fb03bad 100644 --- a/sdk/eks/src/operation/create_addon/builders.rs +++ b/sdk/eks/src/operation/create_addon/builders.rs @@ -20,9 +20,9 @@ impl CreateAddonFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -78,6 +78,20 @@ impl CreateAddonFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::create_addon::CreateAddon, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                        The name of the cluster to create the add-on for.

                                                                        pub fn cluster_name(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.cluster_name(input.into()); diff --git a/sdk/eks/src/operation/create_cluster/builders.rs b/sdk/eks/src/operation/create_cluster/builders.rs index 191737f7bc64..a1c6dfa577a3 100644 --- a/sdk/eks/src/operation/create_cluster/builders.rs +++ b/sdk/eks/src/operation/create_cluster/builders.rs @@ -23,9 +23,9 @@ impl CreateClusterFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -81,6 +81,20 @@ impl CreateClusterFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::create_cluster::CreateCluster, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                        The unique name to give to your cluster.

                                                                        pub fn name(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.name(input.into()); diff --git a/sdk/eks/src/operation/create_fargate_profile/builders.rs b/sdk/eks/src/operation/create_fargate_profile/builders.rs index 90f9b26f270b..d1746fe522bc 100644 --- a/sdk/eks/src/operation/create_fargate_profile/builders.rs +++ b/sdk/eks/src/operation/create_fargate_profile/builders.rs @@ -24,9 +24,9 @@ impl CreateFargateProfileFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -88,6 +88,22 @@ impl CreateFargateProfileFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::create_fargate_profile::CreateFargateProfile, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::create_fargate_profile::CreateFargateProfileError, + >, + > { + self.customize_middleware().await + } ///

                                                                        The name of the Fargate profile.

                                                                        pub fn fargate_profile_name( mut self, diff --git a/sdk/eks/src/operation/create_nodegroup/builders.rs b/sdk/eks/src/operation/create_nodegroup/builders.rs index 7930f962357c..2c44f0041ec4 100644 --- a/sdk/eks/src/operation/create_nodegroup/builders.rs +++ b/sdk/eks/src/operation/create_nodegroup/builders.rs @@ -22,9 +22,9 @@ impl CreateNodegroupFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -86,6 +86,22 @@ impl CreateNodegroupFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::create_nodegroup::CreateNodegroup, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::create_nodegroup::CreateNodegroupError, + >, + > { + self.customize_middleware().await + } ///

                                                                        The name of the cluster to create the node group in.

                                                                        pub fn cluster_name(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.cluster_name(input.into()); diff --git a/sdk/eks/src/operation/delete_addon/builders.rs b/sdk/eks/src/operation/delete_addon/builders.rs index 19fb03f49940..3f132d230ae6 100644 --- a/sdk/eks/src/operation/delete_addon/builders.rs +++ b/sdk/eks/src/operation/delete_addon/builders.rs @@ -20,9 +20,9 @@ impl DeleteAddonFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -78,6 +78,20 @@ impl DeleteAddonFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::delete_addon::DeleteAddon, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                        The name of the cluster to delete the add-on from.

                                                                        pub fn cluster_name(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.cluster_name(input.into()); diff --git a/sdk/eks/src/operation/delete_cluster/builders.rs b/sdk/eks/src/operation/delete_cluster/builders.rs index cc264d238db8..8d219fc7413b 100644 --- a/sdk/eks/src/operation/delete_cluster/builders.rs +++ b/sdk/eks/src/operation/delete_cluster/builders.rs @@ -21,9 +21,9 @@ impl DeleteClusterFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -79,6 +79,20 @@ impl DeleteClusterFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::delete_cluster::DeleteCluster, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                        The name of the cluster to delete.

                                                                        pub fn name(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.name(input.into()); diff --git a/sdk/eks/src/operation/delete_fargate_profile/builders.rs b/sdk/eks/src/operation/delete_fargate_profile/builders.rs index 7be29cc99567..dfc8113d8e13 100644 --- a/sdk/eks/src/operation/delete_fargate_profile/builders.rs +++ b/sdk/eks/src/operation/delete_fargate_profile/builders.rs @@ -21,9 +21,9 @@ impl DeleteFargateProfileFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -85,6 +85,22 @@ impl DeleteFargateProfileFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::delete_fargate_profile::DeleteFargateProfile, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::delete_fargate_profile::DeleteFargateProfileError, + >, + > { + self.customize_middleware().await + } ///

                                                                        The name of the Amazon EKS cluster associated with the Fargate profile to delete.

                                                                        pub fn cluster_name(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.cluster_name(input.into()); diff --git a/sdk/eks/src/operation/delete_nodegroup/builders.rs b/sdk/eks/src/operation/delete_nodegroup/builders.rs index 6b6d8bdb93eb..6fa3a6114f30 100644 --- a/sdk/eks/src/operation/delete_nodegroup/builders.rs +++ b/sdk/eks/src/operation/delete_nodegroup/builders.rs @@ -19,9 +19,9 @@ impl DeleteNodegroupFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl DeleteNodegroupFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::delete_nodegroup::DeleteNodegroup, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::delete_nodegroup::DeleteNodegroupError, + >, + > { + self.customize_middleware().await + } ///

                                                                        The name of the Amazon EKS cluster that is associated with your node group.

                                                                        pub fn cluster_name(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.cluster_name(input.into()); diff --git a/sdk/eks/src/operation/deregister_cluster/builders.rs b/sdk/eks/src/operation/deregister_cluster/builders.rs index 36e3706dbcd2..eb25dfb60784 100644 --- a/sdk/eks/src/operation/deregister_cluster/builders.rs +++ b/sdk/eks/src/operation/deregister_cluster/builders.rs @@ -19,9 +19,9 @@ impl DeregisterClusterFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl DeregisterClusterFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::deregister_cluster::DeregisterCluster, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::deregister_cluster::DeregisterClusterError, + >, + > { + self.customize_middleware().await + } ///

                                                                        The name of the connected cluster to deregister.

                                                                        pub fn name(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.name(input.into()); diff --git a/sdk/eks/src/operation/describe_addon/builders.rs b/sdk/eks/src/operation/describe_addon/builders.rs index cdb303c2646e..da60663e726b 100644 --- a/sdk/eks/src/operation/describe_addon/builders.rs +++ b/sdk/eks/src/operation/describe_addon/builders.rs @@ -19,9 +19,9 @@ impl DescribeAddonFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl DescribeAddonFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::describe_addon::DescribeAddon, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                        The name of the cluster.

                                                                        pub fn cluster_name(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.cluster_name(input.into()); diff --git a/sdk/eks/src/operation/describe_addon_configuration/builders.rs b/sdk/eks/src/operation/describe_addon_configuration/builders.rs index cc3338164e94..cb6f3ddc9598 100644 --- a/sdk/eks/src/operation/describe_addon_configuration/builders.rs +++ b/sdk/eks/src/operation/describe_addon_configuration/builders.rs @@ -19,9 +19,9 @@ impl DescribeAddonConfigurationFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl DescribeAddonConfigurationFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::describe_addon_configuration::DescribeAddonConfiguration, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::describe_addon_configuration::DescribeAddonConfigurationError, + >, + > { + self.customize_middleware().await + } ///

                                                                        The name of the add-on. The name must match one of the names that DescribeAddonVersions returns.

                                                                        pub fn addon_name(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.addon_name(input.into()); diff --git a/sdk/eks/src/operation/describe_addon_versions/builders.rs b/sdk/eks/src/operation/describe_addon_versions/builders.rs index 97ae7e6abba0..1fe9dc869de3 100644 --- a/sdk/eks/src/operation/describe_addon_versions/builders.rs +++ b/sdk/eks/src/operation/describe_addon_versions/builders.rs @@ -19,9 +19,9 @@ impl DescribeAddonVersionsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl DescribeAddonVersionsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::describe_addon_versions::DescribeAddonVersions, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::describe_addon_versions::DescribeAddonVersionsError, + >, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::describe_addon_versions::paginator::DescribeAddonVersionsPaginator::send) which returns a `Stream`. diff --git a/sdk/eks/src/operation/describe_cluster/builders.rs b/sdk/eks/src/operation/describe_cluster/builders.rs index 3c45d2cb25be..3555aea361bb 100644 --- a/sdk/eks/src/operation/describe_cluster/builders.rs +++ b/sdk/eks/src/operation/describe_cluster/builders.rs @@ -22,9 +22,9 @@ impl DescribeClusterFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -86,6 +86,22 @@ impl DescribeClusterFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::describe_cluster::DescribeCluster, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::describe_cluster::DescribeClusterError, + >, + > { + self.customize_middleware().await + } ///

                                                                        The name of the cluster to describe.

                                                                        pub fn name(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.name(input.into()); diff --git a/sdk/eks/src/operation/describe_fargate_profile/builders.rs b/sdk/eks/src/operation/describe_fargate_profile/builders.rs index feb5f71cf6d3..06f74e784116 100644 --- a/sdk/eks/src/operation/describe_fargate_profile/builders.rs +++ b/sdk/eks/src/operation/describe_fargate_profile/builders.rs @@ -19,9 +19,9 @@ impl DescribeFargateProfileFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl DescribeFargateProfileFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::describe_fargate_profile::DescribeFargateProfile, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::describe_fargate_profile::DescribeFargateProfileError, + >, + > { + self.customize_middleware().await + } ///

                                                                        The name of the Amazon EKS cluster associated with the Fargate profile.

                                                                        pub fn cluster_name(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.cluster_name(input.into()); diff --git a/sdk/eks/src/operation/describe_identity_provider_config/builders.rs b/sdk/eks/src/operation/describe_identity_provider_config/builders.rs index 7054c84bee09..09c3065a09f2 100644 --- a/sdk/eks/src/operation/describe_identity_provider_config/builders.rs +++ b/sdk/eks/src/operation/describe_identity_provider_config/builders.rs @@ -19,9 +19,9 @@ impl DescribeIdentityProviderConfigFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize(self) -> ::std::result::Result< + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware(self) -> ::std::result::Result< crate::client::customize::CustomizableOperation, ::aws_smithy_http::result::SdkError >{ @@ -64,6 +64,15 @@ impl DescribeIdentityProviderConfigFluentBuilder { { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize(self) -> ::std::result::Result< + crate::client::customize::CustomizableOperation, + ::aws_smithy_http::result::SdkError + >{ + self.customize_middleware().await + } ///

                                                                        The cluster name that the identity provider configuration is associated to.

                                                                        pub fn cluster_name(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.cluster_name(input.into()); diff --git a/sdk/eks/src/operation/describe_nodegroup/builders.rs b/sdk/eks/src/operation/describe_nodegroup/builders.rs index b56845659c70..5de9dda51506 100644 --- a/sdk/eks/src/operation/describe_nodegroup/builders.rs +++ b/sdk/eks/src/operation/describe_nodegroup/builders.rs @@ -19,9 +19,9 @@ impl DescribeNodegroupFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl DescribeNodegroupFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::describe_nodegroup::DescribeNodegroup, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::describe_nodegroup::DescribeNodegroupError, + >, + > { + self.customize_middleware().await + } ///

                                                                        The name of the Amazon EKS cluster associated with the node group.

                                                                        pub fn cluster_name(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.cluster_name(input.into()); diff --git a/sdk/eks/src/operation/describe_update/builders.rs b/sdk/eks/src/operation/describe_update/builders.rs index 703b94937531..b183a2dc9c0e 100644 --- a/sdk/eks/src/operation/describe_update/builders.rs +++ b/sdk/eks/src/operation/describe_update/builders.rs @@ -20,9 +20,9 @@ impl DescribeUpdateFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -78,6 +78,20 @@ impl DescribeUpdateFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::describe_update::DescribeUpdate, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                        The name of the Amazon EKS cluster associated with the update.

                                                                        pub fn name(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.name(input.into()); diff --git a/sdk/eks/src/operation/disassociate_identity_provider_config/builders.rs b/sdk/eks/src/operation/disassociate_identity_provider_config/builders.rs index 8237616ddf1c..10b7712401fc 100644 --- a/sdk/eks/src/operation/disassociate_identity_provider_config/builders.rs +++ b/sdk/eks/src/operation/disassociate_identity_provider_config/builders.rs @@ -19,9 +19,9 @@ impl DisassociateIdentityProviderConfigFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize(self) -> ::std::result::Result< + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware(self) -> ::std::result::Result< crate::client::customize::CustomizableOperation, ::aws_smithy_http::result::SdkError >{ @@ -64,6 +64,15 @@ impl DisassociateIdentityProviderConfigFluentBuilder { { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize(self) -> ::std::result::Result< + crate::client::customize::CustomizableOperation, + ::aws_smithy_http::result::SdkError + >{ + self.customize_middleware().await + } ///

                                                                        The name of the cluster to disassociate an identity provider from.

                                                                        pub fn cluster_name(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.cluster_name(input.into()); diff --git a/sdk/eks/src/operation/list_addons/builders.rs b/sdk/eks/src/operation/list_addons/builders.rs index 5463f1121fb5..093a656609f4 100644 --- a/sdk/eks/src/operation/list_addons/builders.rs +++ b/sdk/eks/src/operation/list_addons/builders.rs @@ -19,9 +19,9 @@ impl ListAddonsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl ListAddonsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_addons::ListAddons, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::list_addons::paginator::ListAddonsPaginator::send) which returns a `Stream`. diff --git a/sdk/eks/src/operation/list_clusters/builders.rs b/sdk/eks/src/operation/list_clusters/builders.rs index 836a0955bbe5..9222bcaf0971 100644 --- a/sdk/eks/src/operation/list_clusters/builders.rs +++ b/sdk/eks/src/operation/list_clusters/builders.rs @@ -19,9 +19,9 @@ impl ListClustersFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl ListClustersFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_clusters::ListClusters, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::list_clusters::paginator::ListClustersPaginator::send) which returns a `Stream`. diff --git a/sdk/eks/src/operation/list_fargate_profiles/builders.rs b/sdk/eks/src/operation/list_fargate_profiles/builders.rs index ff9f41ae0db7..0c58c08d11f6 100644 --- a/sdk/eks/src/operation/list_fargate_profiles/builders.rs +++ b/sdk/eks/src/operation/list_fargate_profiles/builders.rs @@ -19,9 +19,9 @@ impl ListFargateProfilesFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl ListFargateProfilesFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_fargate_profiles::ListFargateProfiles, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::list_fargate_profiles::ListFargateProfilesError, + >, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::list_fargate_profiles::paginator::ListFargateProfilesPaginator::send) which returns a `Stream`. diff --git a/sdk/eks/src/operation/list_identity_provider_configs/builders.rs b/sdk/eks/src/operation/list_identity_provider_configs/builders.rs index 5cf87934d4e2..729c9de77c27 100644 --- a/sdk/eks/src/operation/list_identity_provider_configs/builders.rs +++ b/sdk/eks/src/operation/list_identity_provider_configs/builders.rs @@ -19,9 +19,9 @@ impl ListIdentityProviderConfigsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl ListIdentityProviderConfigsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_identity_provider_configs::ListIdentityProviderConfigs, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::list_identity_provider_configs::ListIdentityProviderConfigsError, + >, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::list_identity_provider_configs::paginator::ListIdentityProviderConfigsPaginator::send) which returns a `Stream`. diff --git a/sdk/eks/src/operation/list_nodegroups/builders.rs b/sdk/eks/src/operation/list_nodegroups/builders.rs index f22dc3e10973..c90a30d51009 100644 --- a/sdk/eks/src/operation/list_nodegroups/builders.rs +++ b/sdk/eks/src/operation/list_nodegroups/builders.rs @@ -19,9 +19,9 @@ impl ListNodegroupsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl ListNodegroupsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_nodegroups::ListNodegroups, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::list_nodegroups::paginator::ListNodegroupsPaginator::send) which returns a `Stream`. diff --git a/sdk/eks/src/operation/list_tags_for_resource/builders.rs b/sdk/eks/src/operation/list_tags_for_resource/builders.rs index d15910084ff3..0c816d1e698b 100644 --- a/sdk/eks/src/operation/list_tags_for_resource/builders.rs +++ b/sdk/eks/src/operation/list_tags_for_resource/builders.rs @@ -19,9 +19,9 @@ impl ListTagsForResourceFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl ListTagsForResourceFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_tags_for_resource::ListTagsForResource, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::list_tags_for_resource::ListTagsForResourceError, + >, + > { + self.customize_middleware().await + } ///

                                                                        The Amazon Resource Name (ARN) that identifies the resource for which to list the tags. Currently, the supported resources are Amazon EKS clusters and managed node groups.

                                                                        pub fn resource_arn(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.resource_arn(input.into()); diff --git a/sdk/eks/src/operation/list_updates/builders.rs b/sdk/eks/src/operation/list_updates/builders.rs index 039da41f8cb3..9a6de41ca221 100644 --- a/sdk/eks/src/operation/list_updates/builders.rs +++ b/sdk/eks/src/operation/list_updates/builders.rs @@ -19,9 +19,9 @@ impl ListUpdatesFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl ListUpdatesFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_updates::ListUpdates, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::list_updates::paginator::ListUpdatesPaginator::send) which returns a `Stream`. diff --git a/sdk/eks/src/operation/register_cluster/builders.rs b/sdk/eks/src/operation/register_cluster/builders.rs index cfa7d1b37507..3bc56d2e8816 100644 --- a/sdk/eks/src/operation/register_cluster/builders.rs +++ b/sdk/eks/src/operation/register_cluster/builders.rs @@ -23,9 +23,9 @@ impl RegisterClusterFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -87,6 +87,22 @@ impl RegisterClusterFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::register_cluster::RegisterCluster, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::register_cluster::RegisterClusterError, + >, + > { + self.customize_middleware().await + } ///

                                                                        Define a unique name for this cluster for your Region.

                                                                        pub fn name(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.name(input.into()); diff --git a/sdk/eks/src/operation/tag_resource/builders.rs b/sdk/eks/src/operation/tag_resource/builders.rs index 8b4ec9b92845..df4ab275623f 100644 --- a/sdk/eks/src/operation/tag_resource/builders.rs +++ b/sdk/eks/src/operation/tag_resource/builders.rs @@ -19,9 +19,9 @@ impl TagResourceFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl TagResourceFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::tag_resource::TagResource, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                        The Amazon Resource Name (ARN) of the resource to which to add tags. Currently, the supported resources are Amazon EKS clusters and managed node groups.

                                                                        pub fn resource_arn(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.resource_arn(input.into()); diff --git a/sdk/eks/src/operation/untag_resource/builders.rs b/sdk/eks/src/operation/untag_resource/builders.rs index 213cd465d29f..840a62e0470d 100644 --- a/sdk/eks/src/operation/untag_resource/builders.rs +++ b/sdk/eks/src/operation/untag_resource/builders.rs @@ -19,9 +19,9 @@ impl UntagResourceFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl UntagResourceFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::untag_resource::UntagResource, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                        The Amazon Resource Name (ARN) of the resource from which to delete tags. Currently, the supported resources are Amazon EKS clusters and managed node groups.

                                                                        pub fn resource_arn(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.resource_arn(input.into()); diff --git a/sdk/eks/src/operation/update_addon/builders.rs b/sdk/eks/src/operation/update_addon/builders.rs index b43eeeb917f6..f68e27ec27d0 100644 --- a/sdk/eks/src/operation/update_addon/builders.rs +++ b/sdk/eks/src/operation/update_addon/builders.rs @@ -19,9 +19,9 @@ impl UpdateAddonFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl UpdateAddonFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::update_addon::UpdateAddon, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                        The name of the cluster.

                                                                        pub fn cluster_name(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.cluster_name(input.into()); diff --git a/sdk/eks/src/operation/update_cluster_config/builders.rs b/sdk/eks/src/operation/update_cluster_config/builders.rs index 7402a35f8901..4b675a904e02 100644 --- a/sdk/eks/src/operation/update_cluster_config/builders.rs +++ b/sdk/eks/src/operation/update_cluster_config/builders.rs @@ -26,9 +26,9 @@ impl UpdateClusterConfigFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -90,6 +90,22 @@ impl UpdateClusterConfigFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::update_cluster_config::UpdateClusterConfig, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::update_cluster_config::UpdateClusterConfigError, + >, + > { + self.customize_middleware().await + } ///

                                                                        The name of the Amazon EKS cluster to update.

                                                                        pub fn name(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.name(input.into()); diff --git a/sdk/eks/src/operation/update_cluster_version/builders.rs b/sdk/eks/src/operation/update_cluster_version/builders.rs index 70abc5d0b631..4bcfd0c8852f 100644 --- a/sdk/eks/src/operation/update_cluster_version/builders.rs +++ b/sdk/eks/src/operation/update_cluster_version/builders.rs @@ -21,9 +21,9 @@ impl UpdateClusterVersionFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -85,6 +85,22 @@ impl UpdateClusterVersionFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::update_cluster_version::UpdateClusterVersion, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::update_cluster_version::UpdateClusterVersionError, + >, + > { + self.customize_middleware().await + } ///

                                                                        The name of the Amazon EKS cluster to update.

                                                                        pub fn name(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.name(input.into()); diff --git a/sdk/eks/src/operation/update_nodegroup_config/builders.rs b/sdk/eks/src/operation/update_nodegroup_config/builders.rs index fc23447df19a..e0ee4f35560e 100644 --- a/sdk/eks/src/operation/update_nodegroup_config/builders.rs +++ b/sdk/eks/src/operation/update_nodegroup_config/builders.rs @@ -19,9 +19,9 @@ impl UpdateNodegroupConfigFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl UpdateNodegroupConfigFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::update_nodegroup_config::UpdateNodegroupConfig, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::update_nodegroup_config::UpdateNodegroupConfigError, + >, + > { + self.customize_middleware().await + } ///

                                                                        The name of the Amazon EKS cluster that the managed node group resides in.

                                                                        pub fn cluster_name(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.cluster_name(input.into()); diff --git a/sdk/eks/src/operation/update_nodegroup_version/builders.rs b/sdk/eks/src/operation/update_nodegroup_version/builders.rs index 52b47f823c5f..72154ea9b888 100644 --- a/sdk/eks/src/operation/update_nodegroup_version/builders.rs +++ b/sdk/eks/src/operation/update_nodegroup_version/builders.rs @@ -23,9 +23,9 @@ impl UpdateNodegroupVersionFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -87,6 +87,22 @@ impl UpdateNodegroupVersionFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::update_nodegroup_version::UpdateNodegroupVersion, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::update_nodegroup_version::UpdateNodegroupVersionError, + >, + > { + self.customize_middleware().await + } ///

                                                                        The name of the Amazon EKS cluster that is associated with the managed node group to update.

                                                                        pub fn cluster_name(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.cluster_name(input.into()); diff --git a/sdk/elasticache/src/operation/add_tags_to_resource/builders.rs b/sdk/elasticache/src/operation/add_tags_to_resource/builders.rs index 8a318a085167..169985af9a25 100644 --- a/sdk/elasticache/src/operation/add_tags_to_resource/builders.rs +++ b/sdk/elasticache/src/operation/add_tags_to_resource/builders.rs @@ -21,9 +21,9 @@ impl AddTagsToResourceFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -85,6 +85,22 @@ impl AddTagsToResourceFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::add_tags_to_resource::AddTagsToResource, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::add_tags_to_resource::AddTagsToResourceError, + >, + > { + self.customize_middleware().await + } ///

                                                                        The Amazon Resource Name (ARN) of the resource to which the tags are to be added, for example arn:aws:elasticache:us-west-2:0123456789:cluster:myCluster or arn:aws:elasticache:us-west-2:0123456789:snapshot:mySnapshot. ElastiCache resources are cluster and snapshot.

                                                                        ///

                                                                        For more information about ARNs, see Amazon Resource Names (ARNs) and Amazon Service Namespaces.

                                                                        pub fn resource_name( diff --git a/sdk/elasticache/src/operation/authorize_cache_security_group_ingress/builders.rs b/sdk/elasticache/src/operation/authorize_cache_security_group_ingress/builders.rs index c9ad42b01b75..9029b928aeb7 100644 --- a/sdk/elasticache/src/operation/authorize_cache_security_group_ingress/builders.rs +++ b/sdk/elasticache/src/operation/authorize_cache_security_group_ingress/builders.rs @@ -21,9 +21,9 @@ impl AuthorizeCacheSecurityGroupIngressFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize(self) -> ::std::result::Result< + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware(self) -> ::std::result::Result< crate::client::customize::CustomizableOperation, ::aws_smithy_http::result::SdkError >{ @@ -66,6 +66,15 @@ impl AuthorizeCacheSecurityGroupIngressFluentBuilder { { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize(self) -> ::std::result::Result< + crate::client::customize::CustomizableOperation, + ::aws_smithy_http::result::SdkError + >{ + self.customize_middleware().await + } ///

                                                                        The cache security group that allows network ingress.

                                                                        pub fn cache_security_group_name( mut self, diff --git a/sdk/elasticache/src/operation/batch_apply_update_action/builders.rs b/sdk/elasticache/src/operation/batch_apply_update_action/builders.rs index 2886262e7e39..e9e448d7e168 100644 --- a/sdk/elasticache/src/operation/batch_apply_update_action/builders.rs +++ b/sdk/elasticache/src/operation/batch_apply_update_action/builders.rs @@ -20,9 +20,9 @@ impl BatchApplyUpdateActionFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -84,6 +84,22 @@ impl BatchApplyUpdateActionFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::batch_apply_update_action::BatchApplyUpdateAction, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::batch_apply_update_action::BatchApplyUpdateActionError, + >, + > { + self.customize_middleware().await + } /// Appends an item to `ReplicationGroupIds`. /// /// To override the contents of this collection use [`set_replication_group_ids`](Self::set_replication_group_ids). diff --git a/sdk/elasticache/src/operation/batch_stop_update_action/builders.rs b/sdk/elasticache/src/operation/batch_stop_update_action/builders.rs index 96c2be111bb7..a9f3732f925f 100644 --- a/sdk/elasticache/src/operation/batch_stop_update_action/builders.rs +++ b/sdk/elasticache/src/operation/batch_stop_update_action/builders.rs @@ -19,9 +19,9 @@ impl BatchStopUpdateActionFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl BatchStopUpdateActionFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::batch_stop_update_action::BatchStopUpdateAction, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::batch_stop_update_action::BatchStopUpdateActionError, + >, + > { + self.customize_middleware().await + } /// Appends an item to `ReplicationGroupIds`. /// /// To override the contents of this collection use [`set_replication_group_ids`](Self::set_replication_group_ids). diff --git a/sdk/elasticache/src/operation/complete_migration/builders.rs b/sdk/elasticache/src/operation/complete_migration/builders.rs index c5bfa3d68910..bb74180b0b9e 100644 --- a/sdk/elasticache/src/operation/complete_migration/builders.rs +++ b/sdk/elasticache/src/operation/complete_migration/builders.rs @@ -19,9 +19,9 @@ impl CompleteMigrationFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl CompleteMigrationFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::complete_migration::CompleteMigration, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::complete_migration::CompleteMigrationError, + >, + > { + self.customize_middleware().await + } ///

                                                                        The ID of the replication group to which data is being migrated.

                                                                        pub fn replication_group_id( mut self, diff --git a/sdk/elasticache/src/operation/copy_snapshot/builders.rs b/sdk/elasticache/src/operation/copy_snapshot/builders.rs index 8aa7b6b326a0..180bc625f852 100644 --- a/sdk/elasticache/src/operation/copy_snapshot/builders.rs +++ b/sdk/elasticache/src/operation/copy_snapshot/builders.rs @@ -35,9 +35,9 @@ impl CopySnapshotFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -93,6 +93,20 @@ impl CopySnapshotFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::copy_snapshot::CopySnapshot, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                        The name of an existing snapshot from which to make a copy.

                                                                        pub fn source_snapshot_name( mut self, diff --git a/sdk/elasticache/src/operation/create_cache_cluster/builders.rs b/sdk/elasticache/src/operation/create_cache_cluster/builders.rs index 0854bc65fe44..eb121dd1fcb9 100644 --- a/sdk/elasticache/src/operation/create_cache_cluster/builders.rs +++ b/sdk/elasticache/src/operation/create_cache_cluster/builders.rs @@ -20,9 +20,9 @@ impl CreateCacheClusterFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -84,6 +84,22 @@ impl CreateCacheClusterFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::create_cache_cluster::CreateCacheCluster, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::create_cache_cluster::CreateCacheClusterError, + >, + > { + self.customize_middleware().await + } ///

                                                                        The node group (shard) identifier. This parameter is stored as a lowercase string.

                                                                        ///

                                                                        Constraints:

                                                                        ///
                                                                          diff --git a/sdk/elasticache/src/operation/create_cache_parameter_group/builders.rs b/sdk/elasticache/src/operation/create_cache_parameter_group/builders.rs index dcdd2feaa962..aa0860f006ad 100644 --- a/sdk/elasticache/src/operation/create_cache_parameter_group/builders.rs +++ b/sdk/elasticache/src/operation/create_cache_parameter_group/builders.rs @@ -24,9 +24,9 @@ impl CreateCacheParameterGroupFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -88,6 +88,22 @@ impl CreateCacheParameterGroupFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::create_cache_parameter_group::CreateCacheParameterGroup, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::create_cache_parameter_group::CreateCacheParameterGroupError, + >, + > { + self.customize_middleware().await + } ///

                                                                          A user-specified name for the cache parameter group.

                                                                          pub fn cache_parameter_group_name( mut self, diff --git a/sdk/elasticache/src/operation/create_cache_security_group/builders.rs b/sdk/elasticache/src/operation/create_cache_security_group/builders.rs index b63086c50c6a..7a8273b6ee85 100644 --- a/sdk/elasticache/src/operation/create_cache_security_group/builders.rs +++ b/sdk/elasticache/src/operation/create_cache_security_group/builders.rs @@ -20,9 +20,9 @@ impl CreateCacheSecurityGroupFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -84,6 +84,22 @@ impl CreateCacheSecurityGroupFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::create_cache_security_group::CreateCacheSecurityGroup, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::create_cache_security_group::CreateCacheSecurityGroupError, + >, + > { + self.customize_middleware().await + } ///

                                                                          A name for the cache security group. This value is stored as a lowercase string.

                                                                          ///

                                                                          Constraints: Must contain no more than 255 alphanumeric characters. Cannot be the word "Default".

                                                                          ///

                                                                          Example: mysecuritygroup

                                                                          diff --git a/sdk/elasticache/src/operation/create_cache_subnet_group/builders.rs b/sdk/elasticache/src/operation/create_cache_subnet_group/builders.rs index 0f490a183976..1f5a46f262c5 100644 --- a/sdk/elasticache/src/operation/create_cache_subnet_group/builders.rs +++ b/sdk/elasticache/src/operation/create_cache_subnet_group/builders.rs @@ -21,9 +21,9 @@ impl CreateCacheSubnetGroupFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -85,6 +85,22 @@ impl CreateCacheSubnetGroupFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::create_cache_subnet_group::CreateCacheSubnetGroup, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::create_cache_subnet_group::CreateCacheSubnetGroupError, + >, + > { + self.customize_middleware().await + } ///

                                                                          A name for the cache subnet group. This value is stored as a lowercase string.

                                                                          ///

                                                                          Constraints: Must contain no more than 255 alphanumeric characters or hyphens.

                                                                          ///

                                                                          Example: mysubnetgroup

                                                                          diff --git a/sdk/elasticache/src/operation/create_global_replication_group/builders.rs b/sdk/elasticache/src/operation/create_global_replication_group/builders.rs index adc0282b134a..f3dca2802624 100644 --- a/sdk/elasticache/src/operation/create_global_replication_group/builders.rs +++ b/sdk/elasticache/src/operation/create_global_replication_group/builders.rs @@ -23,9 +23,9 @@ impl CreateGlobalReplicationGroupFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -87,6 +87,22 @@ impl CreateGlobalReplicationGroupFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::create_global_replication_group::CreateGlobalReplicationGroup, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::create_global_replication_group::CreateGlobalReplicationGroupError, + >, + > { + self.customize_middleware().await + } ///

                                                                          The suffix name of a Global datastore. Amazon ElastiCache automatically applies a prefix to the Global datastore ID when it is created. Each Amazon Region has its own prefix. For instance, a Global datastore ID created in the US-West-1 region will begin with "dsdfu" along with the suffix name you provide. The suffix, combined with the auto-generated prefix, guarantees uniqueness of the Global datastore name across multiple regions.

                                                                          ///

                                                                          For a full list of Amazon Regions and their respective Global datastore iD prefixes, see Using the Amazon CLI with Global datastores .

                                                                          pub fn global_replication_group_id_suffix( diff --git a/sdk/elasticache/src/operation/create_replication_group/builders.rs b/sdk/elasticache/src/operation/create_replication_group/builders.rs index 183399a84367..cf17ed05cf7c 100644 --- a/sdk/elasticache/src/operation/create_replication_group/builders.rs +++ b/sdk/elasticache/src/operation/create_replication_group/builders.rs @@ -27,9 +27,9 @@ impl CreateReplicationGroupFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -91,6 +91,22 @@ impl CreateReplicationGroupFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::create_replication_group::CreateReplicationGroup, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::create_replication_group::CreateReplicationGroupError, + >, + > { + self.customize_middleware().await + } ///

                                                                          The replication group identifier. This parameter is stored as a lowercase string.

                                                                          ///

                                                                          Constraints:

                                                                          ///
                                                                            diff --git a/sdk/elasticache/src/operation/create_snapshot/builders.rs b/sdk/elasticache/src/operation/create_snapshot/builders.rs index 0631325b7447..2f8be4adb31a 100644 --- a/sdk/elasticache/src/operation/create_snapshot/builders.rs +++ b/sdk/elasticache/src/operation/create_snapshot/builders.rs @@ -21,9 +21,9 @@ impl CreateSnapshotFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -79,6 +79,20 @@ impl CreateSnapshotFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::create_snapshot::CreateSnapshot, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                            The identifier of an existing replication group. The snapshot is created from this replication group.

                                                                            pub fn replication_group_id( mut self, diff --git a/sdk/elasticache/src/operation/create_user/builders.rs b/sdk/elasticache/src/operation/create_user/builders.rs index 057d03ff4f36..a32bc1c69bb9 100644 --- a/sdk/elasticache/src/operation/create_user/builders.rs +++ b/sdk/elasticache/src/operation/create_user/builders.rs @@ -19,9 +19,9 @@ impl CreateUserFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl CreateUserFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::create_user::CreateUser, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                            The ID of the user.

                                                                            pub fn user_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.user_id(input.into()); diff --git a/sdk/elasticache/src/operation/create_user_group/builders.rs b/sdk/elasticache/src/operation/create_user_group/builders.rs index 056f8a83dcb9..a5208346927b 100644 --- a/sdk/elasticache/src/operation/create_user_group/builders.rs +++ b/sdk/elasticache/src/operation/create_user_group/builders.rs @@ -19,9 +19,9 @@ impl CreateUserGroupFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl CreateUserGroupFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::create_user_group::CreateUserGroup, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::create_user_group::CreateUserGroupError, + >, + > { + self.customize_middleware().await + } ///

                                                                            The ID of the user group.

                                                                            pub fn user_group_id( mut self, diff --git a/sdk/elasticache/src/operation/decrease_node_groups_in_global_replication_group/builders.rs b/sdk/elasticache/src/operation/decrease_node_groups_in_global_replication_group/builders.rs index 76ef8510783d..6af366de0c2b 100644 --- a/sdk/elasticache/src/operation/decrease_node_groups_in_global_replication_group/builders.rs +++ b/sdk/elasticache/src/operation/decrease_node_groups_in_global_replication_group/builders.rs @@ -19,9 +19,9 @@ impl DecreaseNodeGroupsInGlobalReplicationGroupFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize(self) -> ::std::result::Result< + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware(self) -> ::std::result::Result< crate::client::customize::CustomizableOperation, ::aws_smithy_http::result::SdkError >{ @@ -64,6 +64,15 @@ impl DecreaseNodeGroupsInGlobalReplicationGroupFluentBuilder { { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize(self) -> ::std::result::Result< + crate::client::customize::CustomizableOperation, + ::aws_smithy_http::result::SdkError + >{ + self.customize_middleware().await + } ///

                                                                            The name of the Global datastore

                                                                            pub fn global_replication_group_id( mut self, diff --git a/sdk/elasticache/src/operation/decrease_replica_count/builders.rs b/sdk/elasticache/src/operation/decrease_replica_count/builders.rs index 38acd1edb956..0bc7ec2d7547 100644 --- a/sdk/elasticache/src/operation/decrease_replica_count/builders.rs +++ b/sdk/elasticache/src/operation/decrease_replica_count/builders.rs @@ -19,9 +19,9 @@ impl DecreaseReplicaCountFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl DecreaseReplicaCountFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::decrease_replica_count::DecreaseReplicaCount, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::decrease_replica_count::DecreaseReplicaCountError, + >, + > { + self.customize_middleware().await + } ///

                                                                            The id of the replication group from which you want to remove replica nodes.

                                                                            pub fn replication_group_id( mut self, diff --git a/sdk/elasticache/src/operation/delete_cache_cluster/builders.rs b/sdk/elasticache/src/operation/delete_cache_cluster/builders.rs index 7f86ed3aa6e3..319cfd733597 100644 --- a/sdk/elasticache/src/operation/delete_cache_cluster/builders.rs +++ b/sdk/elasticache/src/operation/delete_cache_cluster/builders.rs @@ -29,9 +29,9 @@ impl DeleteCacheClusterFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -93,6 +93,22 @@ impl DeleteCacheClusterFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::delete_cache_cluster::DeleteCacheCluster, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::delete_cache_cluster::DeleteCacheClusterError, + >, + > { + self.customize_middleware().await + } ///

                                                                            The cluster identifier for the cluster to be deleted. This parameter is not case sensitive.

                                                                            pub fn cache_cluster_id( mut self, diff --git a/sdk/elasticache/src/operation/delete_cache_parameter_group/builders.rs b/sdk/elasticache/src/operation/delete_cache_parameter_group/builders.rs index 6d7f8513cca1..af25fb9de2a3 100644 --- a/sdk/elasticache/src/operation/delete_cache_parameter_group/builders.rs +++ b/sdk/elasticache/src/operation/delete_cache_parameter_group/builders.rs @@ -19,9 +19,9 @@ impl DeleteCacheParameterGroupFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl DeleteCacheParameterGroupFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::delete_cache_parameter_group::DeleteCacheParameterGroup, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::delete_cache_parameter_group::DeleteCacheParameterGroupError, + >, + > { + self.customize_middleware().await + } ///

                                                                            The name of the cache parameter group to delete.

                                                                            ///

                                                                            The specified cache security group must not be associated with any clusters.

                                                                            ///
                                                                            diff --git a/sdk/elasticache/src/operation/delete_cache_security_group/builders.rs b/sdk/elasticache/src/operation/delete_cache_security_group/builders.rs index 75a7a6bdd015..83b908583afb 100644 --- a/sdk/elasticache/src/operation/delete_cache_security_group/builders.rs +++ b/sdk/elasticache/src/operation/delete_cache_security_group/builders.rs @@ -21,9 +21,9 @@ impl DeleteCacheSecurityGroupFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -85,6 +85,22 @@ impl DeleteCacheSecurityGroupFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::delete_cache_security_group::DeleteCacheSecurityGroup, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::delete_cache_security_group::DeleteCacheSecurityGroupError, + >, + > { + self.customize_middleware().await + } ///

                                                                            The name of the cache security group to delete.

                                                                            ///

                                                                            You cannot delete the default security group.

                                                                            ///
                                                                            diff --git a/sdk/elasticache/src/operation/delete_cache_subnet_group/builders.rs b/sdk/elasticache/src/operation/delete_cache_subnet_group/builders.rs index ac88fcfef74c..285d19f6c450 100644 --- a/sdk/elasticache/src/operation/delete_cache_subnet_group/builders.rs +++ b/sdk/elasticache/src/operation/delete_cache_subnet_group/builders.rs @@ -22,9 +22,9 @@ impl DeleteCacheSubnetGroupFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -86,6 +86,22 @@ impl DeleteCacheSubnetGroupFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::delete_cache_subnet_group::DeleteCacheSubnetGroup, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::delete_cache_subnet_group::DeleteCacheSubnetGroupError, + >, + > { + self.customize_middleware().await + } ///

                                                                            The name of the cache subnet group to delete.

                                                                            ///

                                                                            Constraints: Must contain no more than 255 alphanumeric characters or hyphens.

                                                                            pub fn cache_subnet_group_name( diff --git a/sdk/elasticache/src/operation/delete_global_replication_group/builders.rs b/sdk/elasticache/src/operation/delete_global_replication_group/builders.rs index 92da6e801fa2..e61f8de76cbf 100644 --- a/sdk/elasticache/src/operation/delete_global_replication_group/builders.rs +++ b/sdk/elasticache/src/operation/delete_global_replication_group/builders.rs @@ -25,9 +25,9 @@ impl DeleteGlobalReplicationGroupFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -89,6 +89,22 @@ impl DeleteGlobalReplicationGroupFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::delete_global_replication_group::DeleteGlobalReplicationGroup, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::delete_global_replication_group::DeleteGlobalReplicationGroupError, + >, + > { + self.customize_middleware().await + } ///

                                                                            The name of the Global datastore

                                                                            pub fn global_replication_group_id( mut self, diff --git a/sdk/elasticache/src/operation/delete_replication_group/builders.rs b/sdk/elasticache/src/operation/delete_replication_group/builders.rs index c5dbdfc9fef7..f5f15910d174 100644 --- a/sdk/elasticache/src/operation/delete_replication_group/builders.rs +++ b/sdk/elasticache/src/operation/delete_replication_group/builders.rs @@ -22,9 +22,9 @@ impl DeleteReplicationGroupFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -86,6 +86,22 @@ impl DeleteReplicationGroupFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::delete_replication_group::DeleteReplicationGroup, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::delete_replication_group::DeleteReplicationGroupError, + >, + > { + self.customize_middleware().await + } ///

                                                                            The identifier for the cluster to be deleted. This parameter is not case sensitive.

                                                                            pub fn replication_group_id( mut self, diff --git a/sdk/elasticache/src/operation/delete_snapshot/builders.rs b/sdk/elasticache/src/operation/delete_snapshot/builders.rs index b4ee36fe05e0..6758b5ed5a02 100644 --- a/sdk/elasticache/src/operation/delete_snapshot/builders.rs +++ b/sdk/elasticache/src/operation/delete_snapshot/builders.rs @@ -21,9 +21,9 @@ impl DeleteSnapshotFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -79,6 +79,20 @@ impl DeleteSnapshotFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::delete_snapshot::DeleteSnapshot, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                            The name of the snapshot to be deleted.

                                                                            pub fn snapshot_name( mut self, diff --git a/sdk/elasticache/src/operation/delete_user/builders.rs b/sdk/elasticache/src/operation/delete_user/builders.rs index 84e2b3e6249d..92c796c94391 100644 --- a/sdk/elasticache/src/operation/delete_user/builders.rs +++ b/sdk/elasticache/src/operation/delete_user/builders.rs @@ -19,9 +19,9 @@ impl DeleteUserFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl DeleteUserFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::delete_user::DeleteUser, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                            The ID of the user.

                                                                            pub fn user_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.user_id(input.into()); diff --git a/sdk/elasticache/src/operation/delete_user_group/builders.rs b/sdk/elasticache/src/operation/delete_user_group/builders.rs index 94959b2f8f84..9597025c2e46 100644 --- a/sdk/elasticache/src/operation/delete_user_group/builders.rs +++ b/sdk/elasticache/src/operation/delete_user_group/builders.rs @@ -19,9 +19,9 @@ impl DeleteUserGroupFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl DeleteUserGroupFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::delete_user_group::DeleteUserGroup, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::delete_user_group::DeleteUserGroupError, + >, + > { + self.customize_middleware().await + } ///

                                                                            The ID of the user group.

                                                                            pub fn user_group_id( mut self, diff --git a/sdk/elasticache/src/operation/describe_cache_clusters/builders.rs b/sdk/elasticache/src/operation/describe_cache_clusters/builders.rs index 0c90e515ebac..ebe2a9e664a4 100644 --- a/sdk/elasticache/src/operation/describe_cache_clusters/builders.rs +++ b/sdk/elasticache/src/operation/describe_cache_clusters/builders.rs @@ -24,9 +24,9 @@ impl DescribeCacheClustersFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -88,6 +88,22 @@ impl DescribeCacheClustersFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::describe_cache_clusters::DescribeCacheClusters, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::describe_cache_clusters::DescribeCacheClustersError, + >, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::describe_cache_clusters::paginator::DescribeCacheClustersPaginator::send) which returns a `Stream`. diff --git a/sdk/elasticache/src/operation/describe_cache_engine_versions/builders.rs b/sdk/elasticache/src/operation/describe_cache_engine_versions/builders.rs index f035298ad4e4..289ed01f9294 100644 --- a/sdk/elasticache/src/operation/describe_cache_engine_versions/builders.rs +++ b/sdk/elasticache/src/operation/describe_cache_engine_versions/builders.rs @@ -19,9 +19,9 @@ impl DescribeCacheEngineVersionsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl DescribeCacheEngineVersionsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::describe_cache_engine_versions::DescribeCacheEngineVersions, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::describe_cache_engine_versions::DescribeCacheEngineVersionsError, + >, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::describe_cache_engine_versions::paginator::DescribeCacheEngineVersionsPaginator::send) which returns a `Stream`. diff --git a/sdk/elasticache/src/operation/describe_cache_parameter_groups/builders.rs b/sdk/elasticache/src/operation/describe_cache_parameter_groups/builders.rs index 61ed8b06dedb..710dc5a5ed93 100644 --- a/sdk/elasticache/src/operation/describe_cache_parameter_groups/builders.rs +++ b/sdk/elasticache/src/operation/describe_cache_parameter_groups/builders.rs @@ -19,9 +19,9 @@ impl DescribeCacheParameterGroupsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl DescribeCacheParameterGroupsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::describe_cache_parameter_groups::DescribeCacheParameterGroups, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::describe_cache_parameter_groups::DescribeCacheParameterGroupsError, + >, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::describe_cache_parameter_groups::paginator::DescribeCacheParameterGroupsPaginator::send) which returns a `Stream`. diff --git a/sdk/elasticache/src/operation/describe_cache_parameters/builders.rs b/sdk/elasticache/src/operation/describe_cache_parameters/builders.rs index 384792a4ae64..9055bcb95440 100644 --- a/sdk/elasticache/src/operation/describe_cache_parameters/builders.rs +++ b/sdk/elasticache/src/operation/describe_cache_parameters/builders.rs @@ -20,9 +20,9 @@ impl DescribeCacheParametersFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -84,6 +84,22 @@ impl DescribeCacheParametersFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::describe_cache_parameters::DescribeCacheParameters, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::describe_cache_parameters::DescribeCacheParametersError, + >, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::describe_cache_parameters::paginator::DescribeCacheParametersPaginator::send) which returns a `Stream`. diff --git a/sdk/elasticache/src/operation/describe_cache_security_groups/builders.rs b/sdk/elasticache/src/operation/describe_cache_security_groups/builders.rs index 2133a8c16e25..9dd2a1833cd5 100644 --- a/sdk/elasticache/src/operation/describe_cache_security_groups/builders.rs +++ b/sdk/elasticache/src/operation/describe_cache_security_groups/builders.rs @@ -19,9 +19,9 @@ impl DescribeCacheSecurityGroupsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl DescribeCacheSecurityGroupsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::describe_cache_security_groups::DescribeCacheSecurityGroups, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::describe_cache_security_groups::DescribeCacheSecurityGroupsError, + >, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::describe_cache_security_groups::paginator::DescribeCacheSecurityGroupsPaginator::send) which returns a `Stream`. diff --git a/sdk/elasticache/src/operation/describe_cache_subnet_groups/builders.rs b/sdk/elasticache/src/operation/describe_cache_subnet_groups/builders.rs index cd8ab76b9708..6d74602f54cb 100644 --- a/sdk/elasticache/src/operation/describe_cache_subnet_groups/builders.rs +++ b/sdk/elasticache/src/operation/describe_cache_subnet_groups/builders.rs @@ -19,9 +19,9 @@ impl DescribeCacheSubnetGroupsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl DescribeCacheSubnetGroupsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::describe_cache_subnet_groups::DescribeCacheSubnetGroups, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::describe_cache_subnet_groups::DescribeCacheSubnetGroupsError, + >, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::describe_cache_subnet_groups::paginator::DescribeCacheSubnetGroupsPaginator::send) which returns a `Stream`. diff --git a/sdk/elasticache/src/operation/describe_engine_default_parameters/builders.rs b/sdk/elasticache/src/operation/describe_engine_default_parameters/builders.rs index 2b4c161bf5dd..744016bd7105 100644 --- a/sdk/elasticache/src/operation/describe_engine_default_parameters/builders.rs +++ b/sdk/elasticache/src/operation/describe_engine_default_parameters/builders.rs @@ -19,9 +19,9 @@ impl DescribeEngineDefaultParametersFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize(self) -> ::std::result::Result< + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware(self) -> ::std::result::Result< crate::client::customize::CustomizableOperation, ::aws_smithy_http::result::SdkError >{ @@ -64,6 +64,15 @@ impl DescribeEngineDefaultParametersFluentBuilder { { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize(self) -> ::std::result::Result< + crate::client::customize::CustomizableOperation, + ::aws_smithy_http::result::SdkError + >{ + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::describe_engine_default_parameters::paginator::DescribeEngineDefaultParametersPaginator::send) which returns a `Stream`. diff --git a/sdk/elasticache/src/operation/describe_events/builders.rs b/sdk/elasticache/src/operation/describe_events/builders.rs index 17bb9dc4e911..1987a33a7048 100644 --- a/sdk/elasticache/src/operation/describe_events/builders.rs +++ b/sdk/elasticache/src/operation/describe_events/builders.rs @@ -20,9 +20,9 @@ impl DescribeEventsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -78,6 +78,20 @@ impl DescribeEventsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::describe_events::DescribeEvents, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::describe_events::paginator::DescribeEventsPaginator::send) which returns a `Stream`. diff --git a/sdk/elasticache/src/operation/describe_global_replication_groups/builders.rs b/sdk/elasticache/src/operation/describe_global_replication_groups/builders.rs index 8f48e2e0f7e5..d6770bcf5330 100644 --- a/sdk/elasticache/src/operation/describe_global_replication_groups/builders.rs +++ b/sdk/elasticache/src/operation/describe_global_replication_groups/builders.rs @@ -19,9 +19,9 @@ impl DescribeGlobalReplicationGroupsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize(self) -> ::std::result::Result< + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware(self) -> ::std::result::Result< crate::client::customize::CustomizableOperation, ::aws_smithy_http::result::SdkError >{ @@ -64,6 +64,15 @@ impl DescribeGlobalReplicationGroupsFluentBuilder { { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize(self) -> ::std::result::Result< + crate::client::customize::CustomizableOperation, + ::aws_smithy_http::result::SdkError + >{ + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::describe_global_replication_groups::paginator::DescribeGlobalReplicationGroupsPaginator::send) which returns a `Stream`. diff --git a/sdk/elasticache/src/operation/describe_replication_groups/builders.rs b/sdk/elasticache/src/operation/describe_replication_groups/builders.rs index 00bf215e1595..c5c3f234d243 100644 --- a/sdk/elasticache/src/operation/describe_replication_groups/builders.rs +++ b/sdk/elasticache/src/operation/describe_replication_groups/builders.rs @@ -21,9 +21,9 @@ impl DescribeReplicationGroupsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -85,6 +85,22 @@ impl DescribeReplicationGroupsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::describe_replication_groups::DescribeReplicationGroups, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::describe_replication_groups::DescribeReplicationGroupsError, + >, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::describe_replication_groups::paginator::DescribeReplicationGroupsPaginator::send) which returns a `Stream`. diff --git a/sdk/elasticache/src/operation/describe_reserved_cache_nodes/builders.rs b/sdk/elasticache/src/operation/describe_reserved_cache_nodes/builders.rs index 780a84d23a6b..b059bdcada59 100644 --- a/sdk/elasticache/src/operation/describe_reserved_cache_nodes/builders.rs +++ b/sdk/elasticache/src/operation/describe_reserved_cache_nodes/builders.rs @@ -19,9 +19,9 @@ impl DescribeReservedCacheNodesFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl DescribeReservedCacheNodesFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::describe_reserved_cache_nodes::DescribeReservedCacheNodes, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::describe_reserved_cache_nodes::DescribeReservedCacheNodesError, + >, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::describe_reserved_cache_nodes::paginator::DescribeReservedCacheNodesPaginator::send) which returns a `Stream`. diff --git a/sdk/elasticache/src/operation/describe_reserved_cache_nodes_offerings/builders.rs b/sdk/elasticache/src/operation/describe_reserved_cache_nodes_offerings/builders.rs index ebd3086e6cb0..0982ac2909ee 100644 --- a/sdk/elasticache/src/operation/describe_reserved_cache_nodes_offerings/builders.rs +++ b/sdk/elasticache/src/operation/describe_reserved_cache_nodes_offerings/builders.rs @@ -19,9 +19,9 @@ impl DescribeReservedCacheNodesOfferingsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize(self) -> ::std::result::Result< + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware(self) -> ::std::result::Result< crate::client::customize::CustomizableOperation, ::aws_smithy_http::result::SdkError >{ @@ -64,6 +64,15 @@ impl DescribeReservedCacheNodesOfferingsFluentBuilder { { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize(self) -> ::std::result::Result< + crate::client::customize::CustomizableOperation, + ::aws_smithy_http::result::SdkError + >{ + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::describe_reserved_cache_nodes_offerings::paginator::DescribeReservedCacheNodesOfferingsPaginator::send) which returns a `Stream`. diff --git a/sdk/elasticache/src/operation/describe_service_updates/builders.rs b/sdk/elasticache/src/operation/describe_service_updates/builders.rs index 63cbeed2e83c..2f68b96fc392 100644 --- a/sdk/elasticache/src/operation/describe_service_updates/builders.rs +++ b/sdk/elasticache/src/operation/describe_service_updates/builders.rs @@ -19,9 +19,9 @@ impl DescribeServiceUpdatesFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl DescribeServiceUpdatesFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::describe_service_updates::DescribeServiceUpdates, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::describe_service_updates::DescribeServiceUpdatesError, + >, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::describe_service_updates::paginator::DescribeServiceUpdatesPaginator::send) which returns a `Stream`. diff --git a/sdk/elasticache/src/operation/describe_snapshots/builders.rs b/sdk/elasticache/src/operation/describe_snapshots/builders.rs index d34792d8babc..271a2f7f92e0 100644 --- a/sdk/elasticache/src/operation/describe_snapshots/builders.rs +++ b/sdk/elasticache/src/operation/describe_snapshots/builders.rs @@ -21,9 +21,9 @@ impl DescribeSnapshotsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -85,6 +85,22 @@ impl DescribeSnapshotsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::describe_snapshots::DescribeSnapshots, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::describe_snapshots::DescribeSnapshotsError, + >, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::describe_snapshots::paginator::DescribeSnapshotsPaginator::send) which returns a `Stream`. diff --git a/sdk/elasticache/src/operation/describe_update_actions/builders.rs b/sdk/elasticache/src/operation/describe_update_actions/builders.rs index 3a49fa792c1e..e4fa82e8ed30 100644 --- a/sdk/elasticache/src/operation/describe_update_actions/builders.rs +++ b/sdk/elasticache/src/operation/describe_update_actions/builders.rs @@ -19,9 +19,9 @@ impl DescribeUpdateActionsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl DescribeUpdateActionsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::describe_update_actions::DescribeUpdateActions, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::describe_update_actions::DescribeUpdateActionsError, + >, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::describe_update_actions::paginator::DescribeUpdateActionsPaginator::send) which returns a `Stream`. diff --git a/sdk/elasticache/src/operation/describe_user_groups/builders.rs b/sdk/elasticache/src/operation/describe_user_groups/builders.rs index 5bdb852db905..e8dafaef985a 100644 --- a/sdk/elasticache/src/operation/describe_user_groups/builders.rs +++ b/sdk/elasticache/src/operation/describe_user_groups/builders.rs @@ -19,9 +19,9 @@ impl DescribeUserGroupsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl DescribeUserGroupsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::describe_user_groups::DescribeUserGroups, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::describe_user_groups::DescribeUserGroupsError, + >, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::describe_user_groups::paginator::DescribeUserGroupsPaginator::send) which returns a `Stream`. diff --git a/sdk/elasticache/src/operation/describe_users/builders.rs b/sdk/elasticache/src/operation/describe_users/builders.rs index 7c3a43cc557d..95f6b82bb899 100644 --- a/sdk/elasticache/src/operation/describe_users/builders.rs +++ b/sdk/elasticache/src/operation/describe_users/builders.rs @@ -19,9 +19,9 @@ impl DescribeUsersFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl DescribeUsersFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::describe_users::DescribeUsers, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::describe_users::paginator::DescribeUsersPaginator::send) which returns a `Stream`. diff --git a/sdk/elasticache/src/operation/disassociate_global_replication_group/builders.rs b/sdk/elasticache/src/operation/disassociate_global_replication_group/builders.rs index f8d630f80073..44f7a34479df 100644 --- a/sdk/elasticache/src/operation/disassociate_global_replication_group/builders.rs +++ b/sdk/elasticache/src/operation/disassociate_global_replication_group/builders.rs @@ -19,9 +19,9 @@ impl DisassociateGlobalReplicationGroupFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize(self) -> ::std::result::Result< + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware(self) -> ::std::result::Result< crate::client::customize::CustomizableOperation, ::aws_smithy_http::result::SdkError >{ @@ -64,6 +64,15 @@ impl DisassociateGlobalReplicationGroupFluentBuilder { { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize(self) -> ::std::result::Result< + crate::client::customize::CustomizableOperation, + ::aws_smithy_http::result::SdkError + >{ + self.customize_middleware().await + } ///

                                                                            The name of the Global datastore

                                                                            pub fn global_replication_group_id( mut self, diff --git a/sdk/elasticache/src/operation/failover_global_replication_group/builders.rs b/sdk/elasticache/src/operation/failover_global_replication_group/builders.rs index 90c863a64e34..88bf65a4c11a 100644 --- a/sdk/elasticache/src/operation/failover_global_replication_group/builders.rs +++ b/sdk/elasticache/src/operation/failover_global_replication_group/builders.rs @@ -19,9 +19,9 @@ impl FailoverGlobalReplicationGroupFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize(self) -> ::std::result::Result< + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware(self) -> ::std::result::Result< crate::client::customize::CustomizableOperation, ::aws_smithy_http::result::SdkError >{ @@ -64,6 +64,15 @@ impl FailoverGlobalReplicationGroupFluentBuilder { { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize(self) -> ::std::result::Result< + crate::client::customize::CustomizableOperation, + ::aws_smithy_http::result::SdkError + >{ + self.customize_middleware().await + } ///

                                                                            The name of the Global datastore

                                                                            pub fn global_replication_group_id( mut self, diff --git a/sdk/elasticache/src/operation/increase_node_groups_in_global_replication_group/builders.rs b/sdk/elasticache/src/operation/increase_node_groups_in_global_replication_group/builders.rs index 34277eb052c4..7ac09b1d3344 100644 --- a/sdk/elasticache/src/operation/increase_node_groups_in_global_replication_group/builders.rs +++ b/sdk/elasticache/src/operation/increase_node_groups_in_global_replication_group/builders.rs @@ -19,9 +19,9 @@ impl IncreaseNodeGroupsInGlobalReplicationGroupFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize(self) -> ::std::result::Result< + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware(self) -> ::std::result::Result< crate::client::customize::CustomizableOperation, ::aws_smithy_http::result::SdkError >{ @@ -64,6 +64,15 @@ impl IncreaseNodeGroupsInGlobalReplicationGroupFluentBuilder { { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize(self) -> ::std::result::Result< + crate::client::customize::CustomizableOperation, + ::aws_smithy_http::result::SdkError + >{ + self.customize_middleware().await + } ///

                                                                            The name of the Global datastore

                                                                            pub fn global_replication_group_id( mut self, diff --git a/sdk/elasticache/src/operation/increase_replica_count/builders.rs b/sdk/elasticache/src/operation/increase_replica_count/builders.rs index 74da8e4a2b4f..73207ddaf46b 100644 --- a/sdk/elasticache/src/operation/increase_replica_count/builders.rs +++ b/sdk/elasticache/src/operation/increase_replica_count/builders.rs @@ -19,9 +19,9 @@ impl IncreaseReplicaCountFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl IncreaseReplicaCountFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::increase_replica_count::IncreaseReplicaCount, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::increase_replica_count::IncreaseReplicaCountError, + >, + > { + self.customize_middleware().await + } ///

                                                                            The id of the replication group to which you want to add replica nodes.

                                                                            pub fn replication_group_id( mut self, diff --git a/sdk/elasticache/src/operation/list_allowed_node_type_modifications/builders.rs b/sdk/elasticache/src/operation/list_allowed_node_type_modifications/builders.rs index c5fdb798f4cc..65ff5d9fa772 100644 --- a/sdk/elasticache/src/operation/list_allowed_node_type_modifications/builders.rs +++ b/sdk/elasticache/src/operation/list_allowed_node_type_modifications/builders.rs @@ -20,9 +20,9 @@ impl ListAllowedNodeTypeModificationsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize(self) -> ::std::result::Result< + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware(self) -> ::std::result::Result< crate::client::customize::CustomizableOperation, ::aws_smithy_http::result::SdkError >{ @@ -65,6 +65,15 @@ impl ListAllowedNodeTypeModificationsFluentBuilder { { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize(self) -> ::std::result::Result< + crate::client::customize::CustomizableOperation, + ::aws_smithy_http::result::SdkError + >{ + self.customize_middleware().await + } ///

                                                                            The name of the cluster you want to scale up to a larger node instanced type. ElastiCache uses the cluster id to identify the current node type of this cluster and from that to create a list of node types you can scale up to.

                                                                            ///

                                                                            You must provide a value for either the CacheClusterId or the ReplicationGroupId.

                                                                            ///
                                                                            diff --git a/sdk/elasticache/src/operation/list_tags_for_resource/builders.rs b/sdk/elasticache/src/operation/list_tags_for_resource/builders.rs index dd51cc679cae..d38317bcc3d3 100644 --- a/sdk/elasticache/src/operation/list_tags_for_resource/builders.rs +++ b/sdk/elasticache/src/operation/list_tags_for_resource/builders.rs @@ -21,9 +21,9 @@ impl ListTagsForResourceFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -85,6 +85,22 @@ impl ListTagsForResourceFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_tags_for_resource::ListTagsForResource, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::list_tags_for_resource::ListTagsForResourceError, + >, + > { + self.customize_middleware().await + } ///

                                                                            The Amazon Resource Name (ARN) of the resource for which you want the list of tags, for example arn:aws:elasticache:us-west-2:0123456789:cluster:myCluster or arn:aws:elasticache:us-west-2:0123456789:snapshot:mySnapshot.

                                                                            ///

                                                                            For more information about ARNs, see Amazon Resource Names (ARNs) and Amazon Web Services Service Namespaces.

                                                                            pub fn resource_name( diff --git a/sdk/elasticache/src/operation/modify_cache_cluster/builders.rs b/sdk/elasticache/src/operation/modify_cache_cluster/builders.rs index 6368e4f24d5e..40986037fd28 100644 --- a/sdk/elasticache/src/operation/modify_cache_cluster/builders.rs +++ b/sdk/elasticache/src/operation/modify_cache_cluster/builders.rs @@ -19,9 +19,9 @@ impl ModifyCacheClusterFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl ModifyCacheClusterFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::modify_cache_cluster::ModifyCacheCluster, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::modify_cache_cluster::ModifyCacheClusterError, + >, + > { + self.customize_middleware().await + } ///

                                                                            The cluster identifier. This value is stored as a lowercase string.

                                                                            pub fn cache_cluster_id( mut self, diff --git a/sdk/elasticache/src/operation/modify_cache_parameter_group/builders.rs b/sdk/elasticache/src/operation/modify_cache_parameter_group/builders.rs index f04d712fd4ff..aa89536433c1 100644 --- a/sdk/elasticache/src/operation/modify_cache_parameter_group/builders.rs +++ b/sdk/elasticache/src/operation/modify_cache_parameter_group/builders.rs @@ -19,9 +19,9 @@ impl ModifyCacheParameterGroupFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl ModifyCacheParameterGroupFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::modify_cache_parameter_group::ModifyCacheParameterGroup, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::modify_cache_parameter_group::ModifyCacheParameterGroupError, + >, + > { + self.customize_middleware().await + } ///

                                                                            The name of the cache parameter group to modify.

                                                                            pub fn cache_parameter_group_name( mut self, diff --git a/sdk/elasticache/src/operation/modify_cache_subnet_group/builders.rs b/sdk/elasticache/src/operation/modify_cache_subnet_group/builders.rs index 9ad063833b59..bb85d26936c0 100644 --- a/sdk/elasticache/src/operation/modify_cache_subnet_group/builders.rs +++ b/sdk/elasticache/src/operation/modify_cache_subnet_group/builders.rs @@ -20,9 +20,9 @@ impl ModifyCacheSubnetGroupFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -84,6 +84,22 @@ impl ModifyCacheSubnetGroupFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::modify_cache_subnet_group::ModifyCacheSubnetGroup, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::modify_cache_subnet_group::ModifyCacheSubnetGroupError, + >, + > { + self.customize_middleware().await + } ///

                                                                            The name for the cache subnet group. This value is stored as a lowercase string.

                                                                            ///

                                                                            Constraints: Must contain no more than 255 alphanumeric characters or hyphens.

                                                                            ///

                                                                            Example: mysubnetgroup

                                                                            diff --git a/sdk/elasticache/src/operation/modify_global_replication_group/builders.rs b/sdk/elasticache/src/operation/modify_global_replication_group/builders.rs index b109ea82d73f..85e4c2859314 100644 --- a/sdk/elasticache/src/operation/modify_global_replication_group/builders.rs +++ b/sdk/elasticache/src/operation/modify_global_replication_group/builders.rs @@ -19,9 +19,9 @@ impl ModifyGlobalReplicationGroupFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl ModifyGlobalReplicationGroupFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::modify_global_replication_group::ModifyGlobalReplicationGroup, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::modify_global_replication_group::ModifyGlobalReplicationGroupError, + >, + > { + self.customize_middleware().await + } ///

                                                                            The name of the Global datastore

                                                                            pub fn global_replication_group_id( mut self, diff --git a/sdk/elasticache/src/operation/modify_replication_group/builders.rs b/sdk/elasticache/src/operation/modify_replication_group/builders.rs index 8ccc49c2a143..e703ef2a21b3 100644 --- a/sdk/elasticache/src/operation/modify_replication_group/builders.rs +++ b/sdk/elasticache/src/operation/modify_replication_group/builders.rs @@ -25,9 +25,9 @@ impl ModifyReplicationGroupFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -89,6 +89,22 @@ impl ModifyReplicationGroupFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::modify_replication_group::ModifyReplicationGroup, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::modify_replication_group::ModifyReplicationGroupError, + >, + > { + self.customize_middleware().await + } ///

                                                                            The identifier of the replication group to modify.

                                                                            pub fn replication_group_id( mut self, diff --git a/sdk/elasticache/src/operation/modify_replication_group_shard_configuration/builders.rs b/sdk/elasticache/src/operation/modify_replication_group_shard_configuration/builders.rs index e709d088e4f9..4f47f253bc98 100644 --- a/sdk/elasticache/src/operation/modify_replication_group_shard_configuration/builders.rs +++ b/sdk/elasticache/src/operation/modify_replication_group_shard_configuration/builders.rs @@ -19,9 +19,9 @@ impl ModifyReplicationGroupShardConfigurationFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize(self) -> ::std::result::Result< + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware(self) -> ::std::result::Result< crate::client::customize::CustomizableOperation, ::aws_smithy_http::result::SdkError >{ @@ -64,6 +64,15 @@ impl ModifyReplicationGroupShardConfigurationFluentBuilder { { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize(self) -> ::std::result::Result< + crate::client::customize::CustomizableOperation, + ::aws_smithy_http::result::SdkError + >{ + self.customize_middleware().await + } ///

                                                                            The name of the Redis (cluster mode enabled) cluster (replication group) on which the shards are to be configured.

                                                                            pub fn replication_group_id( mut self, diff --git a/sdk/elasticache/src/operation/modify_user/builders.rs b/sdk/elasticache/src/operation/modify_user/builders.rs index e96bdee72623..e0daa66b88f6 100644 --- a/sdk/elasticache/src/operation/modify_user/builders.rs +++ b/sdk/elasticache/src/operation/modify_user/builders.rs @@ -19,9 +19,9 @@ impl ModifyUserFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl ModifyUserFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::modify_user::ModifyUser, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                            The ID of the user.

                                                                            pub fn user_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.user_id(input.into()); diff --git a/sdk/elasticache/src/operation/modify_user_group/builders.rs b/sdk/elasticache/src/operation/modify_user_group/builders.rs index 0495eb0993f2..8df49c4fc5e2 100644 --- a/sdk/elasticache/src/operation/modify_user_group/builders.rs +++ b/sdk/elasticache/src/operation/modify_user_group/builders.rs @@ -19,9 +19,9 @@ impl ModifyUserGroupFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl ModifyUserGroupFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::modify_user_group::ModifyUserGroup, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::modify_user_group::ModifyUserGroupError, + >, + > { + self.customize_middleware().await + } ///

                                                                            The ID of the user group.

                                                                            pub fn user_group_id( mut self, diff --git a/sdk/elasticache/src/operation/purchase_reserved_cache_nodes_offering/builders.rs b/sdk/elasticache/src/operation/purchase_reserved_cache_nodes_offering/builders.rs index 4b82f7d3d687..e963617c1737 100644 --- a/sdk/elasticache/src/operation/purchase_reserved_cache_nodes_offering/builders.rs +++ b/sdk/elasticache/src/operation/purchase_reserved_cache_nodes_offering/builders.rs @@ -19,9 +19,9 @@ impl PurchaseReservedCacheNodesOfferingFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize(self) -> ::std::result::Result< + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware(self) -> ::std::result::Result< crate::client::customize::CustomizableOperation, ::aws_smithy_http::result::SdkError >{ @@ -64,6 +64,15 @@ impl PurchaseReservedCacheNodesOfferingFluentBuilder { { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize(self) -> ::std::result::Result< + crate::client::customize::CustomizableOperation, + ::aws_smithy_http::result::SdkError + >{ + self.customize_middleware().await + } ///

                                                                            The ID of the reserved cache node offering to purchase.

                                                                            ///

                                                                            Example: 438012d3-4052-4cc7-b2e3-8d3372e0e706

                                                                            pub fn reserved_cache_nodes_offering_id( diff --git a/sdk/elasticache/src/operation/rebalance_slots_in_global_replication_group/builders.rs b/sdk/elasticache/src/operation/rebalance_slots_in_global_replication_group/builders.rs index 8212229aba92..ae44db231dc2 100644 --- a/sdk/elasticache/src/operation/rebalance_slots_in_global_replication_group/builders.rs +++ b/sdk/elasticache/src/operation/rebalance_slots_in_global_replication_group/builders.rs @@ -19,9 +19,9 @@ impl RebalanceSlotsInGlobalReplicationGroupFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize(self) -> ::std::result::Result< + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware(self) -> ::std::result::Result< crate::client::customize::CustomizableOperation, ::aws_smithy_http::result::SdkError >{ @@ -64,6 +64,15 @@ impl RebalanceSlotsInGlobalReplicationGroupFluentBuilder { { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize(self) -> ::std::result::Result< + crate::client::customize::CustomizableOperation, + ::aws_smithy_http::result::SdkError + >{ + self.customize_middleware().await + } ///

                                                                            The name of the Global datastore

                                                                            pub fn global_replication_group_id( mut self, diff --git a/sdk/elasticache/src/operation/reboot_cache_cluster/builders.rs b/sdk/elasticache/src/operation/reboot_cache_cluster/builders.rs index 462a576689e3..a02722a7367a 100644 --- a/sdk/elasticache/src/operation/reboot_cache_cluster/builders.rs +++ b/sdk/elasticache/src/operation/reboot_cache_cluster/builders.rs @@ -23,9 +23,9 @@ impl RebootCacheClusterFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -87,6 +87,22 @@ impl RebootCacheClusterFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::reboot_cache_cluster::RebootCacheCluster, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::reboot_cache_cluster::RebootCacheClusterError, + >, + > { + self.customize_middleware().await + } ///

                                                                            The cluster identifier. This parameter is stored as a lowercase string.

                                                                            pub fn cache_cluster_id( mut self, diff --git a/sdk/elasticache/src/operation/remove_tags_from_resource/builders.rs b/sdk/elasticache/src/operation/remove_tags_from_resource/builders.rs index 95169a20fdc6..c4046767469c 100644 --- a/sdk/elasticache/src/operation/remove_tags_from_resource/builders.rs +++ b/sdk/elasticache/src/operation/remove_tags_from_resource/builders.rs @@ -20,9 +20,9 @@ impl RemoveTagsFromResourceFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -84,6 +84,22 @@ impl RemoveTagsFromResourceFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::remove_tags_from_resource::RemoveTagsFromResource, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::remove_tags_from_resource::RemoveTagsFromResourceError, + >, + > { + self.customize_middleware().await + } ///

                                                                            The Amazon Resource Name (ARN) of the resource from which you want the tags removed, for example arn:aws:elasticache:us-west-2:0123456789:cluster:myCluster or arn:aws:elasticache:us-west-2:0123456789:snapshot:mySnapshot.

                                                                            ///

                                                                            For more information about ARNs, see Amazon Resource Names (ARNs) and Amazon Service Namespaces.

                                                                            pub fn resource_name( diff --git a/sdk/elasticache/src/operation/reset_cache_parameter_group/builders.rs b/sdk/elasticache/src/operation/reset_cache_parameter_group/builders.rs index f58cf0512fb8..8d1dd115be0b 100644 --- a/sdk/elasticache/src/operation/reset_cache_parameter_group/builders.rs +++ b/sdk/elasticache/src/operation/reset_cache_parameter_group/builders.rs @@ -19,9 +19,9 @@ impl ResetCacheParameterGroupFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl ResetCacheParameterGroupFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::reset_cache_parameter_group::ResetCacheParameterGroup, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::reset_cache_parameter_group::ResetCacheParameterGroupError, + >, + > { + self.customize_middleware().await + } ///

                                                                            The name of the cache parameter group to reset.

                                                                            pub fn cache_parameter_group_name( mut self, diff --git a/sdk/elasticache/src/operation/revoke_cache_security_group_ingress/builders.rs b/sdk/elasticache/src/operation/revoke_cache_security_group_ingress/builders.rs index e25afb367265..18ea65b2e334 100644 --- a/sdk/elasticache/src/operation/revoke_cache_security_group_ingress/builders.rs +++ b/sdk/elasticache/src/operation/revoke_cache_security_group_ingress/builders.rs @@ -19,9 +19,9 @@ impl RevokeCacheSecurityGroupIngressFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize(self) -> ::std::result::Result< + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware(self) -> ::std::result::Result< crate::client::customize::CustomizableOperation, ::aws_smithy_http::result::SdkError >{ @@ -64,6 +64,15 @@ impl RevokeCacheSecurityGroupIngressFluentBuilder { { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize(self) -> ::std::result::Result< + crate::client::customize::CustomizableOperation, + ::aws_smithy_http::result::SdkError + >{ + self.customize_middleware().await + } ///

                                                                            The name of the cache security group to revoke ingress from.

                                                                            pub fn cache_security_group_name( mut self, diff --git a/sdk/elasticache/src/operation/start_migration/builders.rs b/sdk/elasticache/src/operation/start_migration/builders.rs index acecf685a11d..4b2899c1d452 100644 --- a/sdk/elasticache/src/operation/start_migration/builders.rs +++ b/sdk/elasticache/src/operation/start_migration/builders.rs @@ -19,9 +19,9 @@ impl StartMigrationFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl StartMigrationFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::start_migration::StartMigration, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                            The ID of the replication group to which data should be migrated.

                                                                            pub fn replication_group_id( mut self, diff --git a/sdk/elasticache/src/operation/test_failover/builders.rs b/sdk/elasticache/src/operation/test_failover/builders.rs index 74d2f1fa6146..b407fd85124c 100644 --- a/sdk/elasticache/src/operation/test_failover/builders.rs +++ b/sdk/elasticache/src/operation/test_failover/builders.rs @@ -54,9 +54,9 @@ impl TestFailoverFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -112,6 +112,20 @@ impl TestFailoverFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::test_failover::TestFailover, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                            The name of the replication group (console: cluster) whose automatic failover is being tested by this operation.

                                                                            pub fn replication_group_id( mut self, diff --git a/sdk/elasticbeanstalk/src/operation/abort_environment_update/builders.rs b/sdk/elasticbeanstalk/src/operation/abort_environment_update/builders.rs index 627215a02c8d..c126517229ed 100644 --- a/sdk/elasticbeanstalk/src/operation/abort_environment_update/builders.rs +++ b/sdk/elasticbeanstalk/src/operation/abort_environment_update/builders.rs @@ -19,9 +19,9 @@ impl AbortEnvironmentUpdateFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl AbortEnvironmentUpdateFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::abort_environment_update::AbortEnvironmentUpdate, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::abort_environment_update::AbortEnvironmentUpdateError, + >, + > { + self.customize_middleware().await + } ///

                                                                            This specifies the ID of the environment with the in-progress update that you want to cancel.

                                                                            pub fn environment_id( mut self, diff --git a/sdk/elasticbeanstalk/src/operation/apply_environment_managed_action/builders.rs b/sdk/elasticbeanstalk/src/operation/apply_environment_managed_action/builders.rs index 15f10e85c6d0..c8605ada50fd 100644 --- a/sdk/elasticbeanstalk/src/operation/apply_environment_managed_action/builders.rs +++ b/sdk/elasticbeanstalk/src/operation/apply_environment_managed_action/builders.rs @@ -19,9 +19,9 @@ impl ApplyEnvironmentManagedActionFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl ApplyEnvironmentManagedActionFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::apply_environment_managed_action::ApplyEnvironmentManagedAction, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::apply_environment_managed_action::ApplyEnvironmentManagedActionError, + >, + > { + self.customize_middleware().await + } ///

                                                                            The name of the target environment.

                                                                            pub fn environment_name( mut self, diff --git a/sdk/elasticbeanstalk/src/operation/associate_environment_operations_role/builders.rs b/sdk/elasticbeanstalk/src/operation/associate_environment_operations_role/builders.rs index 40c1a146ec4d..73c72f6ee371 100644 --- a/sdk/elasticbeanstalk/src/operation/associate_environment_operations_role/builders.rs +++ b/sdk/elasticbeanstalk/src/operation/associate_environment_operations_role/builders.rs @@ -19,9 +19,9 @@ impl AssociateEnvironmentOperationsRoleFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize(self) -> ::std::result::Result< + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware(self) -> ::std::result::Result< crate::client::customize::CustomizableOperation, ::aws_smithy_http::result::SdkError >{ @@ -64,6 +64,15 @@ impl AssociateEnvironmentOperationsRoleFluentBuilder { { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize(self) -> ::std::result::Result< + crate::client::customize::CustomizableOperation, + ::aws_smithy_http::result::SdkError + >{ + self.customize_middleware().await + } ///

                                                                            The name of the environment to which to set the operations role.

                                                                            pub fn environment_name( mut self, diff --git a/sdk/elasticbeanstalk/src/operation/check_dns_availability/builders.rs b/sdk/elasticbeanstalk/src/operation/check_dns_availability/builders.rs index 6f274cabe48b..ef786260633f 100644 --- a/sdk/elasticbeanstalk/src/operation/check_dns_availability/builders.rs +++ b/sdk/elasticbeanstalk/src/operation/check_dns_availability/builders.rs @@ -19,9 +19,9 @@ impl CheckDNSAvailabilityFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl CheckDNSAvailabilityFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::check_dns_availability::CheckDNSAvailability, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::check_dns_availability::CheckDNSAvailabilityError, + >, + > { + self.customize_middleware().await + } ///

                                                                            The prefix used when this CNAME is reserved.

                                                                            pub fn cname_prefix(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.cname_prefix(input.into()); diff --git a/sdk/elasticbeanstalk/src/operation/compose_environments/builders.rs b/sdk/elasticbeanstalk/src/operation/compose_environments/builders.rs index 6eb98ffacfa6..324ddf1f5e7a 100644 --- a/sdk/elasticbeanstalk/src/operation/compose_environments/builders.rs +++ b/sdk/elasticbeanstalk/src/operation/compose_environments/builders.rs @@ -19,9 +19,9 @@ impl ComposeEnvironmentsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl ComposeEnvironmentsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::compose_environments::ComposeEnvironments, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::compose_environments::ComposeEnvironmentsError, + >, + > { + self.customize_middleware().await + } ///

                                                                            The name of the application to which the specified source bundles belong.

                                                                            pub fn application_name( mut self, diff --git a/sdk/elasticbeanstalk/src/operation/create_application/builders.rs b/sdk/elasticbeanstalk/src/operation/create_application/builders.rs index 95ae8a1cbde4..c8b80642e839 100644 --- a/sdk/elasticbeanstalk/src/operation/create_application/builders.rs +++ b/sdk/elasticbeanstalk/src/operation/create_application/builders.rs @@ -19,9 +19,9 @@ impl CreateApplicationFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl CreateApplicationFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::create_application::CreateApplication, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::create_application::CreateApplicationError, + >, + > { + self.customize_middleware().await + } ///

                                                                            The name of the application. Must be unique within your account.

                                                                            pub fn application_name( mut self, diff --git a/sdk/elasticbeanstalk/src/operation/create_application_version/builders.rs b/sdk/elasticbeanstalk/src/operation/create_application_version/builders.rs index bad8dbeb3674..756f6d1d97e7 100644 --- a/sdk/elasticbeanstalk/src/operation/create_application_version/builders.rs +++ b/sdk/elasticbeanstalk/src/operation/create_application_version/builders.rs @@ -25,9 +25,9 @@ impl CreateApplicationVersionFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -89,6 +89,22 @@ impl CreateApplicationVersionFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::create_application_version::CreateApplicationVersion, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::create_application_version::CreateApplicationVersionError, + >, + > { + self.customize_middleware().await + } ///

                                                                            The name of the application. If no application is found with this name, and AutoCreateApplication is false, returns an InvalidParameterValue error.

                                                                            pub fn application_name( mut self, diff --git a/sdk/elasticbeanstalk/src/operation/create_configuration_template/builders.rs b/sdk/elasticbeanstalk/src/operation/create_configuration_template/builders.rs index 23c7bce9ab48..d900dfbdadde 100644 --- a/sdk/elasticbeanstalk/src/operation/create_configuration_template/builders.rs +++ b/sdk/elasticbeanstalk/src/operation/create_configuration_template/builders.rs @@ -26,9 +26,9 @@ impl CreateConfigurationTemplateFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -90,6 +90,22 @@ impl CreateConfigurationTemplateFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::create_configuration_template::CreateConfigurationTemplate, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::create_configuration_template::CreateConfigurationTemplateError, + >, + > { + self.customize_middleware().await + } ///

                                                                            The name of the Elastic Beanstalk application to associate with this configuration template.

                                                                            pub fn application_name( mut self, diff --git a/sdk/elasticbeanstalk/src/operation/create_environment/builders.rs b/sdk/elasticbeanstalk/src/operation/create_environment/builders.rs index 177519ab1a9b..0d7f53286995 100644 --- a/sdk/elasticbeanstalk/src/operation/create_environment/builders.rs +++ b/sdk/elasticbeanstalk/src/operation/create_environment/builders.rs @@ -19,9 +19,9 @@ impl CreateEnvironmentFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl CreateEnvironmentFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::create_environment::CreateEnvironment, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::create_environment::CreateEnvironmentError, + >, + > { + self.customize_middleware().await + } ///

                                                                            The name of the application that is associated with this environment.

                                                                            pub fn application_name( mut self, diff --git a/sdk/elasticbeanstalk/src/operation/create_platform_version/builders.rs b/sdk/elasticbeanstalk/src/operation/create_platform_version/builders.rs index 34b730b17d07..6f52fbb661ca 100644 --- a/sdk/elasticbeanstalk/src/operation/create_platform_version/builders.rs +++ b/sdk/elasticbeanstalk/src/operation/create_platform_version/builders.rs @@ -19,9 +19,9 @@ impl CreatePlatformVersionFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl CreatePlatformVersionFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::create_platform_version::CreatePlatformVersion, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::create_platform_version::CreatePlatformVersionError, + >, + > { + self.customize_middleware().await + } ///

                                                                            The name of your custom platform.

                                                                            pub fn platform_name( mut self, diff --git a/sdk/elasticbeanstalk/src/operation/create_storage_location/builders.rs b/sdk/elasticbeanstalk/src/operation/create_storage_location/builders.rs index 655f5956a0ac..a1a0fe01fd0f 100644 --- a/sdk/elasticbeanstalk/src/operation/create_storage_location/builders.rs +++ b/sdk/elasticbeanstalk/src/operation/create_storage_location/builders.rs @@ -19,9 +19,9 @@ impl CreateStorageLocationFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,4 +83,20 @@ impl CreateStorageLocationFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::create_storage_location::CreateStorageLocation, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::create_storage_location::CreateStorageLocationError, + >, + > { + self.customize_middleware().await + } } diff --git a/sdk/elasticbeanstalk/src/operation/delete_application/builders.rs b/sdk/elasticbeanstalk/src/operation/delete_application/builders.rs index c4d20aaa28f4..0044bd6700be 100644 --- a/sdk/elasticbeanstalk/src/operation/delete_application/builders.rs +++ b/sdk/elasticbeanstalk/src/operation/delete_application/builders.rs @@ -21,9 +21,9 @@ impl DeleteApplicationFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -85,6 +85,22 @@ impl DeleteApplicationFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::delete_application::DeleteApplication, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::delete_application::DeleteApplicationError, + >, + > { + self.customize_middleware().await + } ///

                                                                            The name of the application to delete.

                                                                            pub fn application_name( mut self, diff --git a/sdk/elasticbeanstalk/src/operation/delete_application_version/builders.rs b/sdk/elasticbeanstalk/src/operation/delete_application_version/builders.rs index 1ce4c3bc6bbd..c023893f5a34 100644 --- a/sdk/elasticbeanstalk/src/operation/delete_application_version/builders.rs +++ b/sdk/elasticbeanstalk/src/operation/delete_application_version/builders.rs @@ -21,9 +21,9 @@ impl DeleteApplicationVersionFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -85,6 +85,22 @@ impl DeleteApplicationVersionFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::delete_application_version::DeleteApplicationVersion, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::delete_application_version::DeleteApplicationVersionError, + >, + > { + self.customize_middleware().await + } ///

                                                                            The name of the application to which the version belongs.

                                                                            pub fn application_name( mut self, diff --git a/sdk/elasticbeanstalk/src/operation/delete_configuration_template/builders.rs b/sdk/elasticbeanstalk/src/operation/delete_configuration_template/builders.rs index 6e80b2082b41..ab6989e6ca63 100644 --- a/sdk/elasticbeanstalk/src/operation/delete_configuration_template/builders.rs +++ b/sdk/elasticbeanstalk/src/operation/delete_configuration_template/builders.rs @@ -21,9 +21,9 @@ impl DeleteConfigurationTemplateFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -85,6 +85,22 @@ impl DeleteConfigurationTemplateFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::delete_configuration_template::DeleteConfigurationTemplate, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::delete_configuration_template::DeleteConfigurationTemplateError, + >, + > { + self.customize_middleware().await + } ///

                                                                            The name of the application to delete the configuration template from.

                                                                            pub fn application_name( mut self, diff --git a/sdk/elasticbeanstalk/src/operation/delete_environment_configuration/builders.rs b/sdk/elasticbeanstalk/src/operation/delete_environment_configuration/builders.rs index a1ab66bc28df..a6ea416f6083 100644 --- a/sdk/elasticbeanstalk/src/operation/delete_environment_configuration/builders.rs +++ b/sdk/elasticbeanstalk/src/operation/delete_environment_configuration/builders.rs @@ -20,9 +20,9 @@ impl DeleteEnvironmentConfigurationFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -84,6 +84,22 @@ impl DeleteEnvironmentConfigurationFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::delete_environment_configuration::DeleteEnvironmentConfiguration, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::delete_environment_configuration::DeleteEnvironmentConfigurationError, + >, + > { + self.customize_middleware().await + } ///

                                                                            The name of the application the environment is associated with.

                                                                            pub fn application_name( mut self, diff --git a/sdk/elasticbeanstalk/src/operation/delete_platform_version/builders.rs b/sdk/elasticbeanstalk/src/operation/delete_platform_version/builders.rs index 3ba1702efdbe..93e74266b9f1 100644 --- a/sdk/elasticbeanstalk/src/operation/delete_platform_version/builders.rs +++ b/sdk/elasticbeanstalk/src/operation/delete_platform_version/builders.rs @@ -19,9 +19,9 @@ impl DeletePlatformVersionFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl DeletePlatformVersionFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::delete_platform_version::DeletePlatformVersion, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::delete_platform_version::DeletePlatformVersionError, + >, + > { + self.customize_middleware().await + } ///

                                                                            The ARN of the version of the custom platform.

                                                                            pub fn platform_arn(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.platform_arn(input.into()); diff --git a/sdk/elasticbeanstalk/src/operation/describe_account_attributes/builders.rs b/sdk/elasticbeanstalk/src/operation/describe_account_attributes/builders.rs index 9210055eae5c..4617af40479d 100644 --- a/sdk/elasticbeanstalk/src/operation/describe_account_attributes/builders.rs +++ b/sdk/elasticbeanstalk/src/operation/describe_account_attributes/builders.rs @@ -20,9 +20,9 @@ impl DescribeAccountAttributesFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -84,4 +84,20 @@ impl DescribeAccountAttributesFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::describe_account_attributes::DescribeAccountAttributes, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::describe_account_attributes::DescribeAccountAttributesError, + >, + > { + self.customize_middleware().await + } } diff --git a/sdk/elasticbeanstalk/src/operation/describe_application_versions/builders.rs b/sdk/elasticbeanstalk/src/operation/describe_application_versions/builders.rs index df43286f765d..045008a86df9 100644 --- a/sdk/elasticbeanstalk/src/operation/describe_application_versions/builders.rs +++ b/sdk/elasticbeanstalk/src/operation/describe_application_versions/builders.rs @@ -19,9 +19,9 @@ impl DescribeApplicationVersionsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl DescribeApplicationVersionsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::describe_application_versions::DescribeApplicationVersions, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::describe_application_versions::DescribeApplicationVersionsError, + >, + > { + self.customize_middleware().await + } ///

                                                                            Specify an application name to show only application versions for that application.

                                                                            pub fn application_name( mut self, diff --git a/sdk/elasticbeanstalk/src/operation/describe_applications/builders.rs b/sdk/elasticbeanstalk/src/operation/describe_applications/builders.rs index 213ca5a62515..d3fc0802d27d 100644 --- a/sdk/elasticbeanstalk/src/operation/describe_applications/builders.rs +++ b/sdk/elasticbeanstalk/src/operation/describe_applications/builders.rs @@ -19,9 +19,9 @@ impl DescribeApplicationsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl DescribeApplicationsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::describe_applications::DescribeApplications, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::describe_applications::DescribeApplicationsError, + >, + > { + self.customize_middleware().await + } /// Appends an item to `ApplicationNames`. /// /// To override the contents of this collection use [`set_application_names`](Self::set_application_names). diff --git a/sdk/elasticbeanstalk/src/operation/describe_configuration_options/builders.rs b/sdk/elasticbeanstalk/src/operation/describe_configuration_options/builders.rs index 07ec6ac65134..8e1ed648d989 100644 --- a/sdk/elasticbeanstalk/src/operation/describe_configuration_options/builders.rs +++ b/sdk/elasticbeanstalk/src/operation/describe_configuration_options/builders.rs @@ -19,9 +19,9 @@ impl DescribeConfigurationOptionsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl DescribeConfigurationOptionsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::describe_configuration_options::DescribeConfigurationOptions, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::describe_configuration_options::DescribeConfigurationOptionsError, + >, + > { + self.customize_middleware().await + } ///

                                                                            The name of the application associated with the configuration template or environment. Only needed if you want to describe the configuration options associated with either the configuration template or environment.

                                                                            pub fn application_name( mut self, diff --git a/sdk/elasticbeanstalk/src/operation/describe_configuration_settings/builders.rs b/sdk/elasticbeanstalk/src/operation/describe_configuration_settings/builders.rs index d8a0ed4bfd96..9a40a2349240 100644 --- a/sdk/elasticbeanstalk/src/operation/describe_configuration_settings/builders.rs +++ b/sdk/elasticbeanstalk/src/operation/describe_configuration_settings/builders.rs @@ -24,9 +24,9 @@ impl DescribeConfigurationSettingsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -88,6 +88,22 @@ impl DescribeConfigurationSettingsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::describe_configuration_settings::DescribeConfigurationSettings, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::describe_configuration_settings::DescribeConfigurationSettingsError, + >, + > { + self.customize_middleware().await + } ///

                                                                            The application for the environment or configuration template.

                                                                            pub fn application_name( mut self, diff --git a/sdk/elasticbeanstalk/src/operation/describe_environment_health/builders.rs b/sdk/elasticbeanstalk/src/operation/describe_environment_health/builders.rs index 6e111dfc7000..771a350ea5cf 100644 --- a/sdk/elasticbeanstalk/src/operation/describe_environment_health/builders.rs +++ b/sdk/elasticbeanstalk/src/operation/describe_environment_health/builders.rs @@ -19,9 +19,9 @@ impl DescribeEnvironmentHealthFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl DescribeEnvironmentHealthFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::describe_environment_health::DescribeEnvironmentHealth, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::describe_environment_health::DescribeEnvironmentHealthError, + >, + > { + self.customize_middleware().await + } ///

                                                                            Specify the environment by name.

                                                                            ///

                                                                            You must specify either this or an EnvironmentName, or both.

                                                                            pub fn environment_name( diff --git a/sdk/elasticbeanstalk/src/operation/describe_environment_managed_action_history/builders.rs b/sdk/elasticbeanstalk/src/operation/describe_environment_managed_action_history/builders.rs index 5e4a31e32165..6b82c6598aaf 100644 --- a/sdk/elasticbeanstalk/src/operation/describe_environment_managed_action_history/builders.rs +++ b/sdk/elasticbeanstalk/src/operation/describe_environment_managed_action_history/builders.rs @@ -19,9 +19,9 @@ impl DescribeEnvironmentManagedActionHistoryFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize(self) -> ::std::result::Result< + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware(self) -> ::std::result::Result< crate::client::customize::CustomizableOperation, ::aws_smithy_http::result::SdkError >{ @@ -64,6 +64,15 @@ impl DescribeEnvironmentManagedActionHistoryFluentBuilder { { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize(self) -> ::std::result::Result< + crate::client::customize::CustomizableOperation, + ::aws_smithy_http::result::SdkError + >{ + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::describe_environment_managed_action_history::paginator::DescribeEnvironmentManagedActionHistoryPaginator::send) which returns a `Stream`. diff --git a/sdk/elasticbeanstalk/src/operation/describe_environment_managed_actions/builders.rs b/sdk/elasticbeanstalk/src/operation/describe_environment_managed_actions/builders.rs index f415dfba6f9e..17746f33c9ce 100644 --- a/sdk/elasticbeanstalk/src/operation/describe_environment_managed_actions/builders.rs +++ b/sdk/elasticbeanstalk/src/operation/describe_environment_managed_actions/builders.rs @@ -19,9 +19,9 @@ impl DescribeEnvironmentManagedActionsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize(self) -> ::std::result::Result< + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware(self) -> ::std::result::Result< crate::client::customize::CustomizableOperation, ::aws_smithy_http::result::SdkError >{ @@ -64,6 +64,15 @@ impl DescribeEnvironmentManagedActionsFluentBuilder { { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize(self) -> ::std::result::Result< + crate::client::customize::CustomizableOperation, + ::aws_smithy_http::result::SdkError + >{ + self.customize_middleware().await + } ///

                                                                            The name of the target environment.

                                                                            pub fn environment_name( mut self, diff --git a/sdk/elasticbeanstalk/src/operation/describe_environment_resources/builders.rs b/sdk/elasticbeanstalk/src/operation/describe_environment_resources/builders.rs index 17368980b5c6..cfbea2700fa8 100644 --- a/sdk/elasticbeanstalk/src/operation/describe_environment_resources/builders.rs +++ b/sdk/elasticbeanstalk/src/operation/describe_environment_resources/builders.rs @@ -19,9 +19,9 @@ impl DescribeEnvironmentResourcesFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl DescribeEnvironmentResourcesFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::describe_environment_resources::DescribeEnvironmentResources, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::describe_environment_resources::DescribeEnvironmentResourcesError, + >, + > { + self.customize_middleware().await + } ///

                                                                            The ID of the environment to retrieve AWS resource usage data.

                                                                            ///

                                                                            Condition: You must specify either this or an EnvironmentName, or both. If you do not specify either, AWS Elastic Beanstalk returns MissingRequiredParameter error.

                                                                            pub fn environment_id( diff --git a/sdk/elasticbeanstalk/src/operation/describe_environments/builders.rs b/sdk/elasticbeanstalk/src/operation/describe_environments/builders.rs index 9a222cf50e72..3182bac16adb 100644 --- a/sdk/elasticbeanstalk/src/operation/describe_environments/builders.rs +++ b/sdk/elasticbeanstalk/src/operation/describe_environments/builders.rs @@ -19,9 +19,9 @@ impl DescribeEnvironmentsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl DescribeEnvironmentsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::describe_environments::DescribeEnvironments, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::describe_environments::DescribeEnvironmentsError, + >, + > { + self.customize_middleware().await + } ///

                                                                            If specified, AWS Elastic Beanstalk restricts the returned descriptions to include only those that are associated with this application.

                                                                            pub fn application_name( mut self, diff --git a/sdk/elasticbeanstalk/src/operation/describe_events/builders.rs b/sdk/elasticbeanstalk/src/operation/describe_events/builders.rs index fbc7198530c8..3df1e4ca9a74 100644 --- a/sdk/elasticbeanstalk/src/operation/describe_events/builders.rs +++ b/sdk/elasticbeanstalk/src/operation/describe_events/builders.rs @@ -21,9 +21,9 @@ impl DescribeEventsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -79,6 +79,20 @@ impl DescribeEventsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::describe_events::DescribeEvents, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::describe_events::paginator::DescribeEventsPaginator::send) which returns a `Stream`. diff --git a/sdk/elasticbeanstalk/src/operation/describe_instances_health/builders.rs b/sdk/elasticbeanstalk/src/operation/describe_instances_health/builders.rs index 4dd9ca456dd5..5952c209ae8b 100644 --- a/sdk/elasticbeanstalk/src/operation/describe_instances_health/builders.rs +++ b/sdk/elasticbeanstalk/src/operation/describe_instances_health/builders.rs @@ -20,9 +20,9 @@ impl DescribeInstancesHealthFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -84,6 +84,22 @@ impl DescribeInstancesHealthFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::describe_instances_health::DescribeInstancesHealth, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::describe_instances_health::DescribeInstancesHealthError, + >, + > { + self.customize_middleware().await + } ///

                                                                            Specify the AWS Elastic Beanstalk environment by name.

                                                                            pub fn environment_name( mut self, diff --git a/sdk/elasticbeanstalk/src/operation/describe_platform_version/builders.rs b/sdk/elasticbeanstalk/src/operation/describe_platform_version/builders.rs index 390b58e6267b..6d71fe9a20ac 100644 --- a/sdk/elasticbeanstalk/src/operation/describe_platform_version/builders.rs +++ b/sdk/elasticbeanstalk/src/operation/describe_platform_version/builders.rs @@ -21,9 +21,9 @@ impl DescribePlatformVersionFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -85,6 +85,22 @@ impl DescribePlatformVersionFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::describe_platform_version::DescribePlatformVersion, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::describe_platform_version::DescribePlatformVersionError, + >, + > { + self.customize_middleware().await + } ///

                                                                            The ARN of the platform version.

                                                                            pub fn platform_arn(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.platform_arn(input.into()); diff --git a/sdk/elasticbeanstalk/src/operation/disassociate_environment_operations_role/builders.rs b/sdk/elasticbeanstalk/src/operation/disassociate_environment_operations_role/builders.rs index d0a803f9eb44..03df5ad7cab7 100644 --- a/sdk/elasticbeanstalk/src/operation/disassociate_environment_operations_role/builders.rs +++ b/sdk/elasticbeanstalk/src/operation/disassociate_environment_operations_role/builders.rs @@ -19,9 +19,9 @@ impl DisassociateEnvironmentOperationsRoleFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize(self) -> ::std::result::Result< + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware(self) -> ::std::result::Result< crate::client::customize::CustomizableOperation, ::aws_smithy_http::result::SdkError >{ @@ -64,6 +64,15 @@ impl DisassociateEnvironmentOperationsRoleFluentBuilder { { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize(self) -> ::std::result::Result< + crate::client::customize::CustomizableOperation, + ::aws_smithy_http::result::SdkError + >{ + self.customize_middleware().await + } ///

                                                                            The name of the environment from which to disassociate the operations role.

                                                                            pub fn environment_name( mut self, diff --git a/sdk/elasticbeanstalk/src/operation/list_available_solution_stacks/builders.rs b/sdk/elasticbeanstalk/src/operation/list_available_solution_stacks/builders.rs index 8a42362c616a..c9f10fafb97d 100644 --- a/sdk/elasticbeanstalk/src/operation/list_available_solution_stacks/builders.rs +++ b/sdk/elasticbeanstalk/src/operation/list_available_solution_stacks/builders.rs @@ -19,9 +19,9 @@ impl ListAvailableSolutionStacksFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,4 +83,20 @@ impl ListAvailableSolutionStacksFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_available_solution_stacks::ListAvailableSolutionStacks, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::list_available_solution_stacks::ListAvailableSolutionStacksError, + >, + > { + self.customize_middleware().await + } } diff --git a/sdk/elasticbeanstalk/src/operation/list_platform_branches/builders.rs b/sdk/elasticbeanstalk/src/operation/list_platform_branches/builders.rs index 95d1c7b986e8..79167eafff9c 100644 --- a/sdk/elasticbeanstalk/src/operation/list_platform_branches/builders.rs +++ b/sdk/elasticbeanstalk/src/operation/list_platform_branches/builders.rs @@ -20,9 +20,9 @@ impl ListPlatformBranchesFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -84,6 +84,22 @@ impl ListPlatformBranchesFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_platform_branches::ListPlatformBranches, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::list_platform_branches::ListPlatformBranchesError, + >, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::list_platform_branches::paginator::ListPlatformBranchesPaginator::send) which returns a `Stream`. diff --git a/sdk/elasticbeanstalk/src/operation/list_platform_versions/builders.rs b/sdk/elasticbeanstalk/src/operation/list_platform_versions/builders.rs index 4e3103a841b9..5c72b15adc8d 100644 --- a/sdk/elasticbeanstalk/src/operation/list_platform_versions/builders.rs +++ b/sdk/elasticbeanstalk/src/operation/list_platform_versions/builders.rs @@ -20,9 +20,9 @@ impl ListPlatformVersionsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -84,6 +84,22 @@ impl ListPlatformVersionsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_platform_versions::ListPlatformVersions, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::list_platform_versions::ListPlatformVersionsError, + >, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::list_platform_versions::paginator::ListPlatformVersionsPaginator::send) which returns a `Stream`. diff --git a/sdk/elasticbeanstalk/src/operation/list_tags_for_resource/builders.rs b/sdk/elasticbeanstalk/src/operation/list_tags_for_resource/builders.rs index 6bcbb717cb5c..359ff7f50701 100644 --- a/sdk/elasticbeanstalk/src/operation/list_tags_for_resource/builders.rs +++ b/sdk/elasticbeanstalk/src/operation/list_tags_for_resource/builders.rs @@ -20,9 +20,9 @@ impl ListTagsForResourceFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -84,6 +84,22 @@ impl ListTagsForResourceFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_tags_for_resource::ListTagsForResource, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::list_tags_for_resource::ListTagsForResourceError, + >, + > { + self.customize_middleware().await + } ///

                                                                            The Amazon Resource Name (ARN) of the resouce for which a tag list is requested.

                                                                            ///

                                                                            Must be the ARN of an Elastic Beanstalk resource.

                                                                            pub fn resource_arn(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { diff --git a/sdk/elasticbeanstalk/src/operation/rebuild_environment/builders.rs b/sdk/elasticbeanstalk/src/operation/rebuild_environment/builders.rs index 161494c53917..24186c384549 100644 --- a/sdk/elasticbeanstalk/src/operation/rebuild_environment/builders.rs +++ b/sdk/elasticbeanstalk/src/operation/rebuild_environment/builders.rs @@ -19,9 +19,9 @@ impl RebuildEnvironmentFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl RebuildEnvironmentFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::rebuild_environment::RebuildEnvironment, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::rebuild_environment::RebuildEnvironmentError, + >, + > { + self.customize_middleware().await + } ///

                                                                            The ID of the environment to rebuild.

                                                                            ///

                                                                            Condition: You must specify either this or an EnvironmentName, or both. If you do not specify either, AWS Elastic Beanstalk returns MissingRequiredParameter error.

                                                                            pub fn environment_id( diff --git a/sdk/elasticbeanstalk/src/operation/request_environment_info/builders.rs b/sdk/elasticbeanstalk/src/operation/request_environment_info/builders.rs index 2260246ba299..7e718cfb65b9 100644 --- a/sdk/elasticbeanstalk/src/operation/request_environment_info/builders.rs +++ b/sdk/elasticbeanstalk/src/operation/request_environment_info/builders.rs @@ -26,9 +26,9 @@ impl RequestEnvironmentInfoFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -90,6 +90,22 @@ impl RequestEnvironmentInfoFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::request_environment_info::RequestEnvironmentInfo, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::request_environment_info::RequestEnvironmentInfoError, + >, + > { + self.customize_middleware().await + } ///

                                                                            The ID of the environment of the requested data.

                                                                            ///

                                                                            If no such environment is found, RequestEnvironmentInfo returns an InvalidParameterValue error.

                                                                            ///

                                                                            Condition: You must specify either this or an EnvironmentName, or both. If you do not specify either, AWS Elastic Beanstalk returns MissingRequiredParameter error.

                                                                            diff --git a/sdk/elasticbeanstalk/src/operation/restart_app_server/builders.rs b/sdk/elasticbeanstalk/src/operation/restart_app_server/builders.rs index 8e7bdaa3b3b7..8fc77f74268c 100644 --- a/sdk/elasticbeanstalk/src/operation/restart_app_server/builders.rs +++ b/sdk/elasticbeanstalk/src/operation/restart_app_server/builders.rs @@ -19,9 +19,9 @@ impl RestartAppServerFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl RestartAppServerFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::restart_app_server::RestartAppServer, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::restart_app_server::RestartAppServerError, + >, + > { + self.customize_middleware().await + } ///

                                                                            The ID of the environment to restart the server for.

                                                                            ///

                                                                            Condition: You must specify either this or an EnvironmentName, or both. If you do not specify either, AWS Elastic Beanstalk returns MissingRequiredParameter error.

                                                                            pub fn environment_id( diff --git a/sdk/elasticbeanstalk/src/operation/retrieve_environment_info/builders.rs b/sdk/elasticbeanstalk/src/operation/retrieve_environment_info/builders.rs index 45ac14f6c3b2..37d082e32da5 100644 --- a/sdk/elasticbeanstalk/src/operation/retrieve_environment_info/builders.rs +++ b/sdk/elasticbeanstalk/src/operation/retrieve_environment_info/builders.rs @@ -24,9 +24,9 @@ impl RetrieveEnvironmentInfoFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -88,6 +88,22 @@ impl RetrieveEnvironmentInfoFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::retrieve_environment_info::RetrieveEnvironmentInfo, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::retrieve_environment_info::RetrieveEnvironmentInfoError, + >, + > { + self.customize_middleware().await + } ///

                                                                            The ID of the data's environment.

                                                                            ///

                                                                            If no such environment is found, returns an InvalidParameterValue error.

                                                                            ///

                                                                            Condition: You must specify either this or an EnvironmentName, or both. If you do not specify either, AWS Elastic Beanstalk returns MissingRequiredParameter error.

                                                                            diff --git a/sdk/elasticbeanstalk/src/operation/swap_environment_cnam_es/builders.rs b/sdk/elasticbeanstalk/src/operation/swap_environment_cnam_es/builders.rs index c0a7ef582840..e16af63e3fcf 100644 --- a/sdk/elasticbeanstalk/src/operation/swap_environment_cnam_es/builders.rs +++ b/sdk/elasticbeanstalk/src/operation/swap_environment_cnam_es/builders.rs @@ -19,9 +19,9 @@ impl SwapEnvironmentCNAMEsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl SwapEnvironmentCNAMEsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::swap_environment_cnam_es::SwapEnvironmentCNAMEs, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::swap_environment_cnam_es::SwapEnvironmentCNAMEsError, + >, + > { + self.customize_middleware().await + } ///

                                                                            The ID of the source environment.

                                                                            ///

                                                                            Condition: You must specify at least the SourceEnvironmentID or the SourceEnvironmentName. You may also specify both. If you specify the SourceEnvironmentId, you must specify the DestinationEnvironmentId.

                                                                            pub fn source_environment_id( diff --git a/sdk/elasticbeanstalk/src/operation/terminate_environment/builders.rs b/sdk/elasticbeanstalk/src/operation/terminate_environment/builders.rs index 352ebf338716..1b3948673e66 100644 --- a/sdk/elasticbeanstalk/src/operation/terminate_environment/builders.rs +++ b/sdk/elasticbeanstalk/src/operation/terminate_environment/builders.rs @@ -19,9 +19,9 @@ impl TerminateEnvironmentFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl TerminateEnvironmentFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::terminate_environment::TerminateEnvironment, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::terminate_environment::TerminateEnvironmentError, + >, + > { + self.customize_middleware().await + } ///

                                                                            The ID of the environment to terminate.

                                                                            ///

                                                                            Condition: You must specify either this or an EnvironmentName, or both. If you do not specify either, AWS Elastic Beanstalk returns MissingRequiredParameter error.

                                                                            pub fn environment_id( diff --git a/sdk/elasticbeanstalk/src/operation/update_application/builders.rs b/sdk/elasticbeanstalk/src/operation/update_application/builders.rs index eec67f4a44b4..9994fd703fdd 100644 --- a/sdk/elasticbeanstalk/src/operation/update_application/builders.rs +++ b/sdk/elasticbeanstalk/src/operation/update_application/builders.rs @@ -21,9 +21,9 @@ impl UpdateApplicationFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -85,6 +85,22 @@ impl UpdateApplicationFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::update_application::UpdateApplication, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::update_application::UpdateApplicationError, + >, + > { + self.customize_middleware().await + } ///

                                                                            The name of the application to update. If no such application is found, UpdateApplication returns an InvalidParameterValue error.

                                                                            pub fn application_name( mut self, diff --git a/sdk/elasticbeanstalk/src/operation/update_application_resource_lifecycle/builders.rs b/sdk/elasticbeanstalk/src/operation/update_application_resource_lifecycle/builders.rs index 19f15512804f..1a584a0f0a0c 100644 --- a/sdk/elasticbeanstalk/src/operation/update_application_resource_lifecycle/builders.rs +++ b/sdk/elasticbeanstalk/src/operation/update_application_resource_lifecycle/builders.rs @@ -19,9 +19,9 @@ impl UpdateApplicationResourceLifecycleFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize(self) -> ::std::result::Result< + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware(self) -> ::std::result::Result< crate::client::customize::CustomizableOperation, ::aws_smithy_http::result::SdkError >{ @@ -64,6 +64,15 @@ impl UpdateApplicationResourceLifecycleFluentBuilder { { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize(self) -> ::std::result::Result< + crate::client::customize::CustomizableOperation, + ::aws_smithy_http::result::SdkError + >{ + self.customize_middleware().await + } ///

                                                                            The name of the application.

                                                                            pub fn application_name( mut self, diff --git a/sdk/elasticbeanstalk/src/operation/update_application_version/builders.rs b/sdk/elasticbeanstalk/src/operation/update_application_version/builders.rs index 1c620a8d327c..3a551d80a760 100644 --- a/sdk/elasticbeanstalk/src/operation/update_application_version/builders.rs +++ b/sdk/elasticbeanstalk/src/operation/update_application_version/builders.rs @@ -21,9 +21,9 @@ impl UpdateApplicationVersionFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -85,6 +85,22 @@ impl UpdateApplicationVersionFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::update_application_version::UpdateApplicationVersion, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::update_application_version::UpdateApplicationVersionError, + >, + > { + self.customize_middleware().await + } ///

                                                                            The name of the application associated with this version.

                                                                            ///

                                                                            If no application is found with this name, UpdateApplication returns an InvalidParameterValue error.

                                                                            pub fn application_name( diff --git a/sdk/elasticbeanstalk/src/operation/update_configuration_template/builders.rs b/sdk/elasticbeanstalk/src/operation/update_configuration_template/builders.rs index 46704bb2672f..5caec4760ed1 100644 --- a/sdk/elasticbeanstalk/src/operation/update_configuration_template/builders.rs +++ b/sdk/elasticbeanstalk/src/operation/update_configuration_template/builders.rs @@ -25,9 +25,9 @@ impl UpdateConfigurationTemplateFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -89,6 +89,22 @@ impl UpdateConfigurationTemplateFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::update_configuration_template::UpdateConfigurationTemplate, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::update_configuration_template::UpdateConfigurationTemplateError, + >, + > { + self.customize_middleware().await + } ///

                                                                            The name of the application associated with the configuration template to update.

                                                                            ///

                                                                            If no application is found with this name, UpdateConfigurationTemplate returns an InvalidParameterValue error.

                                                                            pub fn application_name( diff --git a/sdk/elasticbeanstalk/src/operation/update_environment/builders.rs b/sdk/elasticbeanstalk/src/operation/update_environment/builders.rs index f8ab36f9a3ce..1c52b3e418df 100644 --- a/sdk/elasticbeanstalk/src/operation/update_environment/builders.rs +++ b/sdk/elasticbeanstalk/src/operation/update_environment/builders.rs @@ -21,9 +21,9 @@ impl UpdateEnvironmentFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -85,6 +85,22 @@ impl UpdateEnvironmentFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::update_environment::UpdateEnvironment, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::update_environment::UpdateEnvironmentError, + >, + > { + self.customize_middleware().await + } ///

                                                                            The name of the application with which the environment is associated.

                                                                            pub fn application_name( mut self, diff --git a/sdk/elasticbeanstalk/src/operation/update_tags_for_resource/builders.rs b/sdk/elasticbeanstalk/src/operation/update_tags_for_resource/builders.rs index 4effac3c195c..0fc00648430c 100644 --- a/sdk/elasticbeanstalk/src/operation/update_tags_for_resource/builders.rs +++ b/sdk/elasticbeanstalk/src/operation/update_tags_for_resource/builders.rs @@ -36,9 +36,9 @@ impl UpdateTagsForResourceFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -100,6 +100,22 @@ impl UpdateTagsForResourceFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::update_tags_for_resource::UpdateTagsForResource, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::update_tags_for_resource::UpdateTagsForResourceError, + >, + > { + self.customize_middleware().await + } ///

                                                                            The Amazon Resource Name (ARN) of the resouce to be updated.

                                                                            ///

                                                                            Must be the ARN of an Elastic Beanstalk resource.

                                                                            pub fn resource_arn(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { diff --git a/sdk/elasticbeanstalk/src/operation/validate_configuration_settings/builders.rs b/sdk/elasticbeanstalk/src/operation/validate_configuration_settings/builders.rs index 4bb6ae6656ab..20a67cb0fb01 100644 --- a/sdk/elasticbeanstalk/src/operation/validate_configuration_settings/builders.rs +++ b/sdk/elasticbeanstalk/src/operation/validate_configuration_settings/builders.rs @@ -20,9 +20,9 @@ impl ValidateConfigurationSettingsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -84,6 +84,22 @@ impl ValidateConfigurationSettingsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::validate_configuration_settings::ValidateConfigurationSettings, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::validate_configuration_settings::ValidateConfigurationSettingsError, + >, + > { + self.customize_middleware().await + } ///

                                                                            The name of the application that the configuration template or environment belongs to.

                                                                            pub fn application_name( mut self, diff --git a/sdk/elasticinference/src/operation/describe_accelerator_offerings/builders.rs b/sdk/elasticinference/src/operation/describe_accelerator_offerings/builders.rs index e07ec1ad93f0..d40b4f61dcd7 100644 --- a/sdk/elasticinference/src/operation/describe_accelerator_offerings/builders.rs +++ b/sdk/elasticinference/src/operation/describe_accelerator_offerings/builders.rs @@ -20,9 +20,9 @@ impl DescribeAcceleratorOfferingsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -84,6 +84,22 @@ impl DescribeAcceleratorOfferingsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::describe_accelerator_offerings::DescribeAcceleratorOfferings, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::describe_accelerator_offerings::DescribeAcceleratorOfferingsError, + >, + > { + self.customize_middleware().await + } ///

                                                                            The location type that you want to describe accelerator type offerings for. It can assume the following values: region: will return the accelerator type offering at the regional level. availability-zone: will return the accelerator type offering at the availability zone level. availability-zone-id: will return the accelerator type offering at the availability zone level returning the availability zone id.

                                                                            pub fn location_type(mut self, input: crate::types::LocationType) -> Self { self.inner = self.inner.location_type(input); diff --git a/sdk/elasticinference/src/operation/describe_accelerator_types/builders.rs b/sdk/elasticinference/src/operation/describe_accelerator_types/builders.rs index 189a504e3ed2..0af7afd30798 100644 --- a/sdk/elasticinference/src/operation/describe_accelerator_types/builders.rs +++ b/sdk/elasticinference/src/operation/describe_accelerator_types/builders.rs @@ -20,9 +20,9 @@ impl DescribeAcceleratorTypesFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -84,4 +84,20 @@ impl DescribeAcceleratorTypesFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::describe_accelerator_types::DescribeAcceleratorTypes, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::describe_accelerator_types::DescribeAcceleratorTypesError, + >, + > { + self.customize_middleware().await + } } diff --git a/sdk/elasticinference/src/operation/describe_accelerators/builders.rs b/sdk/elasticinference/src/operation/describe_accelerators/builders.rs index 1955054f53c8..80ffc7e42942 100644 --- a/sdk/elasticinference/src/operation/describe_accelerators/builders.rs +++ b/sdk/elasticinference/src/operation/describe_accelerators/builders.rs @@ -20,9 +20,9 @@ impl DescribeAcceleratorsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -84,6 +84,22 @@ impl DescribeAcceleratorsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::describe_accelerators::DescribeAccelerators, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::describe_accelerators::DescribeAcceleratorsError, + >, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::describe_accelerators::paginator::DescribeAcceleratorsPaginator::send) which returns a `Stream`. diff --git a/sdk/elasticinference/src/operation/list_tags_for_resource/builders.rs b/sdk/elasticinference/src/operation/list_tags_for_resource/builders.rs index b6574687468a..f03ad915b3db 100644 --- a/sdk/elasticinference/src/operation/list_tags_for_resource/builders.rs +++ b/sdk/elasticinference/src/operation/list_tags_for_resource/builders.rs @@ -20,9 +20,9 @@ impl ListTagsForResourceFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -84,6 +84,22 @@ impl ListTagsForResourceFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_tags_for_resource::ListTagsForResource, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::list_tags_for_resource::ListTagsForResourceError, + >, + > { + self.customize_middleware().await + } ///

                                                                            The ARN of the Elastic Inference Accelerator to list the tags for.

                                                                            pub fn resource_arn(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.resource_arn(input.into()); diff --git a/sdk/elasticinference/src/operation/tag_resource/builders.rs b/sdk/elasticinference/src/operation/tag_resource/builders.rs index c184f4363209..f840f0904cd7 100644 --- a/sdk/elasticinference/src/operation/tag_resource/builders.rs +++ b/sdk/elasticinference/src/operation/tag_resource/builders.rs @@ -20,9 +20,9 @@ impl TagResourceFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -78,6 +78,20 @@ impl TagResourceFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::tag_resource::TagResource, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                            The ARN of the Elastic Inference Accelerator to tag.

                                                                            pub fn resource_arn(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.resource_arn(input.into()); diff --git a/sdk/elasticinference/src/operation/untag_resource/builders.rs b/sdk/elasticinference/src/operation/untag_resource/builders.rs index f68fd8e1c72f..c2a541daf1f3 100644 --- a/sdk/elasticinference/src/operation/untag_resource/builders.rs +++ b/sdk/elasticinference/src/operation/untag_resource/builders.rs @@ -20,9 +20,9 @@ impl UntagResourceFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -78,6 +78,20 @@ impl UntagResourceFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::untag_resource::UntagResource, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                            The ARN of the Elastic Inference Accelerator to untag.

                                                                            pub fn resource_arn(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.resource_arn(input.into()); diff --git a/sdk/elasticloadbalancing/src/operation/add_tags/builders.rs b/sdk/elasticloadbalancing/src/operation/add_tags/builders.rs index 0cb9c3e8ff38..e60b3a852527 100644 --- a/sdk/elasticloadbalancing/src/operation/add_tags/builders.rs +++ b/sdk/elasticloadbalancing/src/operation/add_tags/builders.rs @@ -21,9 +21,9 @@ impl AddTagsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -79,6 +79,20 @@ impl AddTagsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::add_tags::AddTags, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } /// Appends an item to `LoadBalancerNames`. /// /// To override the contents of this collection use [`set_load_balancer_names`](Self::set_load_balancer_names). diff --git a/sdk/elasticloadbalancing/src/operation/apply_security_groups_to_load_balancer/builders.rs b/sdk/elasticloadbalancing/src/operation/apply_security_groups_to_load_balancer/builders.rs index 9391855f1f31..92044241d7a6 100644 --- a/sdk/elasticloadbalancing/src/operation/apply_security_groups_to_load_balancer/builders.rs +++ b/sdk/elasticloadbalancing/src/operation/apply_security_groups_to_load_balancer/builders.rs @@ -20,9 +20,9 @@ impl ApplySecurityGroupsToLoadBalancerFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize(self) -> ::std::result::Result< + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware(self) -> ::std::result::Result< crate::client::customize::CustomizableOperation, ::aws_smithy_http::result::SdkError >{ @@ -65,6 +65,15 @@ impl ApplySecurityGroupsToLoadBalancerFluentBuilder { { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize(self) -> ::std::result::Result< + crate::client::customize::CustomizableOperation, + ::aws_smithy_http::result::SdkError + >{ + self.customize_middleware().await + } ///

                                                                            The name of the load balancer.

                                                                            pub fn load_balancer_name( mut self, diff --git a/sdk/elasticloadbalancing/src/operation/attach_load_balancer_to_subnets/builders.rs b/sdk/elasticloadbalancing/src/operation/attach_load_balancer_to_subnets/builders.rs index cf6f0f5cae53..06733f8abf45 100644 --- a/sdk/elasticloadbalancing/src/operation/attach_load_balancer_to_subnets/builders.rs +++ b/sdk/elasticloadbalancing/src/operation/attach_load_balancer_to_subnets/builders.rs @@ -20,9 +20,9 @@ impl AttachLoadBalancerToSubnetsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -84,6 +84,22 @@ impl AttachLoadBalancerToSubnetsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::attach_load_balancer_to_subnets::AttachLoadBalancerToSubnets, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::attach_load_balancer_to_subnets::AttachLoadBalancerToSubnetsError, + >, + > { + self.customize_middleware().await + } ///

                                                                            The name of the load balancer.

                                                                            pub fn load_balancer_name( mut self, diff --git a/sdk/elasticloadbalancing/src/operation/configure_health_check/builders.rs b/sdk/elasticloadbalancing/src/operation/configure_health_check/builders.rs index 15f364f66d02..13ea94a5e2d1 100644 --- a/sdk/elasticloadbalancing/src/operation/configure_health_check/builders.rs +++ b/sdk/elasticloadbalancing/src/operation/configure_health_check/builders.rs @@ -20,9 +20,9 @@ impl ConfigureHealthCheckFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -84,6 +84,22 @@ impl ConfigureHealthCheckFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::configure_health_check::ConfigureHealthCheck, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::configure_health_check::ConfigureHealthCheckError, + >, + > { + self.customize_middleware().await + } ///

                                                                            The name of the load balancer.

                                                                            pub fn load_balancer_name( mut self, diff --git a/sdk/elasticloadbalancing/src/operation/create_app_cookie_stickiness_policy/builders.rs b/sdk/elasticloadbalancing/src/operation/create_app_cookie_stickiness_policy/builders.rs index 5d4064148738..1e848ede1b02 100644 --- a/sdk/elasticloadbalancing/src/operation/create_app_cookie_stickiness_policy/builders.rs +++ b/sdk/elasticloadbalancing/src/operation/create_app_cookie_stickiness_policy/builders.rs @@ -22,9 +22,9 @@ impl CreateAppCookieStickinessPolicyFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize(self) -> ::std::result::Result< + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware(self) -> ::std::result::Result< crate::client::customize::CustomizableOperation, ::aws_smithy_http::result::SdkError >{ @@ -67,6 +67,15 @@ impl CreateAppCookieStickinessPolicyFluentBuilder { { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize(self) -> ::std::result::Result< + crate::client::customize::CustomizableOperation, + ::aws_smithy_http::result::SdkError + >{ + self.customize_middleware().await + } ///

                                                                            The name of the load balancer.

                                                                            pub fn load_balancer_name( mut self, diff --git a/sdk/elasticloadbalancing/src/operation/create_lb_cookie_stickiness_policy/builders.rs b/sdk/elasticloadbalancing/src/operation/create_lb_cookie_stickiness_policy/builders.rs index 411b395c25a8..c0f2eab157f0 100644 --- a/sdk/elasticloadbalancing/src/operation/create_lb_cookie_stickiness_policy/builders.rs +++ b/sdk/elasticloadbalancing/src/operation/create_lb_cookie_stickiness_policy/builders.rs @@ -22,9 +22,9 @@ impl CreateLBCookieStickinessPolicyFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize(self) -> ::std::result::Result< + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware(self) -> ::std::result::Result< crate::client::customize::CustomizableOperation, ::aws_smithy_http::result::SdkError >{ @@ -67,6 +67,15 @@ impl CreateLBCookieStickinessPolicyFluentBuilder { { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize(self) -> ::std::result::Result< + crate::client::customize::CustomizableOperation, + ::aws_smithy_http::result::SdkError + >{ + self.customize_middleware().await + } ///

                                                                            The name of the load balancer.

                                                                            pub fn load_balancer_name( mut self, diff --git a/sdk/elasticloadbalancing/src/operation/create_load_balancer/builders.rs b/sdk/elasticloadbalancing/src/operation/create_load_balancer/builders.rs index e53c4af84795..be174c575a8b 100644 --- a/sdk/elasticloadbalancing/src/operation/create_load_balancer/builders.rs +++ b/sdk/elasticloadbalancing/src/operation/create_load_balancer/builders.rs @@ -22,9 +22,9 @@ impl CreateLoadBalancerFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -86,6 +86,22 @@ impl CreateLoadBalancerFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::create_load_balancer::CreateLoadBalancer, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::create_load_balancer::CreateLoadBalancerError, + >, + > { + self.customize_middleware().await + } ///

                                                                            The name of the load balancer.

                                                                            ///

                                                                            This name must be unique within your set of load balancers for the region, must have a maximum of 32 characters, must contain only alphanumeric characters or hyphens, and cannot begin or end with a hyphen.

                                                                            pub fn load_balancer_name( diff --git a/sdk/elasticloadbalancing/src/operation/create_load_balancer_listeners/builders.rs b/sdk/elasticloadbalancing/src/operation/create_load_balancer_listeners/builders.rs index 161626731351..cc3f421af949 100644 --- a/sdk/elasticloadbalancing/src/operation/create_load_balancer_listeners/builders.rs +++ b/sdk/elasticloadbalancing/src/operation/create_load_balancer_listeners/builders.rs @@ -20,9 +20,9 @@ impl CreateLoadBalancerListenersFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -84,6 +84,22 @@ impl CreateLoadBalancerListenersFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::create_load_balancer_listeners::CreateLoadBalancerListeners, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::create_load_balancer_listeners::CreateLoadBalancerListenersError, + >, + > { + self.customize_middleware().await + } ///

                                                                            The name of the load balancer.

                                                                            pub fn load_balancer_name( mut self, diff --git a/sdk/elasticloadbalancing/src/operation/create_load_balancer_policy/builders.rs b/sdk/elasticloadbalancing/src/operation/create_load_balancer_policy/builders.rs index 57a49412ff7e..0ec2da9324da 100644 --- a/sdk/elasticloadbalancing/src/operation/create_load_balancer_policy/builders.rs +++ b/sdk/elasticloadbalancing/src/operation/create_load_balancer_policy/builders.rs @@ -20,9 +20,9 @@ impl CreateLoadBalancerPolicyFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -84,6 +84,22 @@ impl CreateLoadBalancerPolicyFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::create_load_balancer_policy::CreateLoadBalancerPolicy, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::create_load_balancer_policy::CreateLoadBalancerPolicyError, + >, + > { + self.customize_middleware().await + } ///

                                                                            The name of the load balancer.

                                                                            pub fn load_balancer_name( mut self, diff --git a/sdk/elasticloadbalancing/src/operation/delete_load_balancer/builders.rs b/sdk/elasticloadbalancing/src/operation/delete_load_balancer/builders.rs index a0db571f964d..2fa5232cd1e2 100644 --- a/sdk/elasticloadbalancing/src/operation/delete_load_balancer/builders.rs +++ b/sdk/elasticloadbalancing/src/operation/delete_load_balancer/builders.rs @@ -21,9 +21,9 @@ impl DeleteLoadBalancerFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -85,6 +85,22 @@ impl DeleteLoadBalancerFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::delete_load_balancer::DeleteLoadBalancer, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::delete_load_balancer::DeleteLoadBalancerError, + >, + > { + self.customize_middleware().await + } ///

                                                                            The name of the load balancer.

                                                                            pub fn load_balancer_name( mut self, diff --git a/sdk/elasticloadbalancing/src/operation/delete_load_balancer_listeners/builders.rs b/sdk/elasticloadbalancing/src/operation/delete_load_balancer_listeners/builders.rs index 513cdf265013..6ade3c491058 100644 --- a/sdk/elasticloadbalancing/src/operation/delete_load_balancer_listeners/builders.rs +++ b/sdk/elasticloadbalancing/src/operation/delete_load_balancer_listeners/builders.rs @@ -19,9 +19,9 @@ impl DeleteLoadBalancerListenersFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl DeleteLoadBalancerListenersFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::delete_load_balancer_listeners::DeleteLoadBalancerListeners, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::delete_load_balancer_listeners::DeleteLoadBalancerListenersError, + >, + > { + self.customize_middleware().await + } ///

                                                                            The name of the load balancer.

                                                                            pub fn load_balancer_name( mut self, diff --git a/sdk/elasticloadbalancing/src/operation/delete_load_balancer_policy/builders.rs b/sdk/elasticloadbalancing/src/operation/delete_load_balancer_policy/builders.rs index 04941f739fd9..68b082afe505 100644 --- a/sdk/elasticloadbalancing/src/operation/delete_load_balancer_policy/builders.rs +++ b/sdk/elasticloadbalancing/src/operation/delete_load_balancer_policy/builders.rs @@ -19,9 +19,9 @@ impl DeleteLoadBalancerPolicyFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl DeleteLoadBalancerPolicyFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::delete_load_balancer_policy::DeleteLoadBalancerPolicy, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::delete_load_balancer_policy::DeleteLoadBalancerPolicyError, + >, + > { + self.customize_middleware().await + } ///

                                                                            The name of the load balancer.

                                                                            pub fn load_balancer_name( mut self, diff --git a/sdk/elasticloadbalancing/src/operation/deregister_instances_from_load_balancer/builders.rs b/sdk/elasticloadbalancing/src/operation/deregister_instances_from_load_balancer/builders.rs index 779bbccacaa0..fd5cbb6ab401 100644 --- a/sdk/elasticloadbalancing/src/operation/deregister_instances_from_load_balancer/builders.rs +++ b/sdk/elasticloadbalancing/src/operation/deregister_instances_from_load_balancer/builders.rs @@ -21,9 +21,9 @@ impl DeregisterInstancesFromLoadBalancerFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize(self) -> ::std::result::Result< + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware(self) -> ::std::result::Result< crate::client::customize::CustomizableOperation, ::aws_smithy_http::result::SdkError >{ @@ -66,6 +66,15 @@ impl DeregisterInstancesFromLoadBalancerFluentBuilder { { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize(self) -> ::std::result::Result< + crate::client::customize::CustomizableOperation, + ::aws_smithy_http::result::SdkError + >{ + self.customize_middleware().await + } ///

                                                                            The name of the load balancer.

                                                                            pub fn load_balancer_name( mut self, diff --git a/sdk/elasticloadbalancing/src/operation/describe_account_limits/builders.rs b/sdk/elasticloadbalancing/src/operation/describe_account_limits/builders.rs index 1f4d04eee3b8..1884397f214a 100644 --- a/sdk/elasticloadbalancing/src/operation/describe_account_limits/builders.rs +++ b/sdk/elasticloadbalancing/src/operation/describe_account_limits/builders.rs @@ -20,9 +20,9 @@ impl DescribeAccountLimitsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -84,6 +84,22 @@ impl DescribeAccountLimitsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::describe_account_limits::DescribeAccountLimits, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::describe_account_limits::DescribeAccountLimitsError, + >, + > { + self.customize_middleware().await + } ///

                                                                            The marker for the next set of results. (You received this marker from a previous call.)

                                                                            pub fn marker(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.marker(input.into()); diff --git a/sdk/elasticloadbalancing/src/operation/describe_instance_health/builders.rs b/sdk/elasticloadbalancing/src/operation/describe_instance_health/builders.rs index 261bf7a62385..d074ae4fec7d 100644 --- a/sdk/elasticloadbalancing/src/operation/describe_instance_health/builders.rs +++ b/sdk/elasticloadbalancing/src/operation/describe_instance_health/builders.rs @@ -19,9 +19,9 @@ impl DescribeInstanceHealthFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl DescribeInstanceHealthFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::describe_instance_health::DescribeInstanceHealth, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::describe_instance_health::DescribeInstanceHealthError, + >, + > { + self.customize_middleware().await + } ///

                                                                            The name of the load balancer.

                                                                            pub fn load_balancer_name( mut self, diff --git a/sdk/elasticloadbalancing/src/operation/describe_load_balancer_attributes/builders.rs b/sdk/elasticloadbalancing/src/operation/describe_load_balancer_attributes/builders.rs index fe6700a966d3..d7bbc460ff87 100644 --- a/sdk/elasticloadbalancing/src/operation/describe_load_balancer_attributes/builders.rs +++ b/sdk/elasticloadbalancing/src/operation/describe_load_balancer_attributes/builders.rs @@ -19,9 +19,9 @@ impl DescribeLoadBalancerAttributesFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize(self) -> ::std::result::Result< + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware(self) -> ::std::result::Result< crate::client::customize::CustomizableOperation, ::aws_smithy_http::result::SdkError >{ @@ -64,6 +64,15 @@ impl DescribeLoadBalancerAttributesFluentBuilder { { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize(self) -> ::std::result::Result< + crate::client::customize::CustomizableOperation, + ::aws_smithy_http::result::SdkError + >{ + self.customize_middleware().await + } ///

                                                                            The name of the load balancer.

                                                                            pub fn load_balancer_name( mut self, diff --git a/sdk/elasticloadbalancing/src/operation/describe_load_balancer_policies/builders.rs b/sdk/elasticloadbalancing/src/operation/describe_load_balancer_policies/builders.rs index b01ca7719c59..78a28997d24f 100644 --- a/sdk/elasticloadbalancing/src/operation/describe_load_balancer_policies/builders.rs +++ b/sdk/elasticloadbalancing/src/operation/describe_load_balancer_policies/builders.rs @@ -20,9 +20,9 @@ impl DescribeLoadBalancerPoliciesFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -84,6 +84,22 @@ impl DescribeLoadBalancerPoliciesFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::describe_load_balancer_policies::DescribeLoadBalancerPolicies, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::describe_load_balancer_policies::DescribeLoadBalancerPoliciesError, + >, + > { + self.customize_middleware().await + } ///

                                                                            The name of the load balancer.

                                                                            pub fn load_balancer_name( mut self, diff --git a/sdk/elasticloadbalancing/src/operation/describe_load_balancer_policy_types/builders.rs b/sdk/elasticloadbalancing/src/operation/describe_load_balancer_policy_types/builders.rs index 93d470765931..1d88979cd911 100644 --- a/sdk/elasticloadbalancing/src/operation/describe_load_balancer_policy_types/builders.rs +++ b/sdk/elasticloadbalancing/src/operation/describe_load_balancer_policy_types/builders.rs @@ -21,9 +21,9 @@ impl DescribeLoadBalancerPolicyTypesFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize(self) -> ::std::result::Result< + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware(self) -> ::std::result::Result< crate::client::customize::CustomizableOperation, ::aws_smithy_http::result::SdkError >{ @@ -66,6 +66,15 @@ impl DescribeLoadBalancerPolicyTypesFluentBuilder { { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize(self) -> ::std::result::Result< + crate::client::customize::CustomizableOperation, + ::aws_smithy_http::result::SdkError + >{ + self.customize_middleware().await + } /// Appends an item to `PolicyTypeNames`. /// /// To override the contents of this collection use [`set_policy_type_names`](Self::set_policy_type_names). diff --git a/sdk/elasticloadbalancing/src/operation/describe_load_balancers/builders.rs b/sdk/elasticloadbalancing/src/operation/describe_load_balancers/builders.rs index 1f51b28f531d..de278518629f 100644 --- a/sdk/elasticloadbalancing/src/operation/describe_load_balancers/builders.rs +++ b/sdk/elasticloadbalancing/src/operation/describe_load_balancers/builders.rs @@ -19,9 +19,9 @@ impl DescribeLoadBalancersFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl DescribeLoadBalancersFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::describe_load_balancers::DescribeLoadBalancers, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::describe_load_balancers::DescribeLoadBalancersError, + >, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::describe_load_balancers::paginator::DescribeLoadBalancersPaginator::send) which returns a `Stream`. diff --git a/sdk/elasticloadbalancing/src/operation/describe_tags/builders.rs b/sdk/elasticloadbalancing/src/operation/describe_tags/builders.rs index 9140de7d1dd6..762af66903b4 100644 --- a/sdk/elasticloadbalancing/src/operation/describe_tags/builders.rs +++ b/sdk/elasticloadbalancing/src/operation/describe_tags/builders.rs @@ -19,9 +19,9 @@ impl DescribeTagsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl DescribeTagsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::describe_tags::DescribeTags, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } /// Appends an item to `LoadBalancerNames`. /// /// To override the contents of this collection use [`set_load_balancer_names`](Self::set_load_balancer_names). diff --git a/sdk/elasticloadbalancing/src/operation/detach_load_balancer_from_subnets/builders.rs b/sdk/elasticloadbalancing/src/operation/detach_load_balancer_from_subnets/builders.rs index 91013c03748c..11c4acc568c0 100644 --- a/sdk/elasticloadbalancing/src/operation/detach_load_balancer_from_subnets/builders.rs +++ b/sdk/elasticloadbalancing/src/operation/detach_load_balancer_from_subnets/builders.rs @@ -20,9 +20,9 @@ impl DetachLoadBalancerFromSubnetsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -84,6 +84,22 @@ impl DetachLoadBalancerFromSubnetsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::detach_load_balancer_from_subnets::DetachLoadBalancerFromSubnets, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::detach_load_balancer_from_subnets::DetachLoadBalancerFromSubnetsError, + >, + > { + self.customize_middleware().await + } ///

                                                                            The name of the load balancer.

                                                                            pub fn load_balancer_name( mut self, diff --git a/sdk/elasticloadbalancing/src/operation/disable_availability_zones_for_load_balancer/builders.rs b/sdk/elasticloadbalancing/src/operation/disable_availability_zones_for_load_balancer/builders.rs index f5bab28c00b2..baa9de8de98e 100644 --- a/sdk/elasticloadbalancing/src/operation/disable_availability_zones_for_load_balancer/builders.rs +++ b/sdk/elasticloadbalancing/src/operation/disable_availability_zones_for_load_balancer/builders.rs @@ -22,9 +22,9 @@ impl DisableAvailabilityZonesForLoadBalancerFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize(self) -> ::std::result::Result< + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware(self) -> ::std::result::Result< crate::client::customize::CustomizableOperation, ::aws_smithy_http::result::SdkError >{ @@ -67,6 +67,15 @@ impl DisableAvailabilityZonesForLoadBalancerFluentBuilder { { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize(self) -> ::std::result::Result< + crate::client::customize::CustomizableOperation, + ::aws_smithy_http::result::SdkError + >{ + self.customize_middleware().await + } ///

                                                                            The name of the load balancer.

                                                                            pub fn load_balancer_name( mut self, diff --git a/sdk/elasticloadbalancing/src/operation/enable_availability_zones_for_load_balancer/builders.rs b/sdk/elasticloadbalancing/src/operation/enable_availability_zones_for_load_balancer/builders.rs index 2e0d88cbea9b..7b139a8146ab 100644 --- a/sdk/elasticloadbalancing/src/operation/enable_availability_zones_for_load_balancer/builders.rs +++ b/sdk/elasticloadbalancing/src/operation/enable_availability_zones_for_load_balancer/builders.rs @@ -21,9 +21,9 @@ impl EnableAvailabilityZonesForLoadBalancerFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize(self) -> ::std::result::Result< + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware(self) -> ::std::result::Result< crate::client::customize::CustomizableOperation, ::aws_smithy_http::result::SdkError >{ @@ -66,6 +66,15 @@ impl EnableAvailabilityZonesForLoadBalancerFluentBuilder { { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize(self) -> ::std::result::Result< + crate::client::customize::CustomizableOperation, + ::aws_smithy_http::result::SdkError + >{ + self.customize_middleware().await + } ///

                                                                            The name of the load balancer.

                                                                            pub fn load_balancer_name( mut self, diff --git a/sdk/elasticloadbalancing/src/operation/modify_load_balancer_attributes/builders.rs b/sdk/elasticloadbalancing/src/operation/modify_load_balancer_attributes/builders.rs index a29b300c5bdb..a8cd8f6c01cf 100644 --- a/sdk/elasticloadbalancing/src/operation/modify_load_balancer_attributes/builders.rs +++ b/sdk/elasticloadbalancing/src/operation/modify_load_balancer_attributes/builders.rs @@ -27,9 +27,9 @@ impl ModifyLoadBalancerAttributesFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -91,6 +91,22 @@ impl ModifyLoadBalancerAttributesFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::modify_load_balancer_attributes::ModifyLoadBalancerAttributes, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::modify_load_balancer_attributes::ModifyLoadBalancerAttributesError, + >, + > { + self.customize_middleware().await + } ///

                                                                            The name of the load balancer.

                                                                            pub fn load_balancer_name( mut self, diff --git a/sdk/elasticloadbalancing/src/operation/register_instances_with_load_balancer/builders.rs b/sdk/elasticloadbalancing/src/operation/register_instances_with_load_balancer/builders.rs index 55a1591d2454..e58f5739fde0 100644 --- a/sdk/elasticloadbalancing/src/operation/register_instances_with_load_balancer/builders.rs +++ b/sdk/elasticloadbalancing/src/operation/register_instances_with_load_balancer/builders.rs @@ -24,9 +24,9 @@ impl RegisterInstancesWithLoadBalancerFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize(self) -> ::std::result::Result< + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware(self) -> ::std::result::Result< crate::client::customize::CustomizableOperation, ::aws_smithy_http::result::SdkError >{ @@ -69,6 +69,15 @@ impl RegisterInstancesWithLoadBalancerFluentBuilder { { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize(self) -> ::std::result::Result< + crate::client::customize::CustomizableOperation, + ::aws_smithy_http::result::SdkError + >{ + self.customize_middleware().await + } ///

                                                                            The name of the load balancer.

                                                                            pub fn load_balancer_name( mut self, diff --git a/sdk/elasticloadbalancing/src/operation/remove_tags/builders.rs b/sdk/elasticloadbalancing/src/operation/remove_tags/builders.rs index 1c79e899cc1a..bdee4a063801 100644 --- a/sdk/elasticloadbalancing/src/operation/remove_tags/builders.rs +++ b/sdk/elasticloadbalancing/src/operation/remove_tags/builders.rs @@ -19,9 +19,9 @@ impl RemoveTagsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl RemoveTagsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::remove_tags::RemoveTags, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } /// Appends an item to `LoadBalancerNames`. /// /// To override the contents of this collection use [`set_load_balancer_names`](Self::set_load_balancer_names). diff --git a/sdk/elasticloadbalancing/src/operation/set_load_balancer_listener_ssl_certificate/builders.rs b/sdk/elasticloadbalancing/src/operation/set_load_balancer_listener_ssl_certificate/builders.rs index d549bf8dae9f..88dbcf67fdec 100644 --- a/sdk/elasticloadbalancing/src/operation/set_load_balancer_listener_ssl_certificate/builders.rs +++ b/sdk/elasticloadbalancing/src/operation/set_load_balancer_listener_ssl_certificate/builders.rs @@ -20,9 +20,9 @@ impl SetLoadBalancerListenerSSLCertificateFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize(self) -> ::std::result::Result< + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware(self) -> ::std::result::Result< crate::client::customize::CustomizableOperation, ::aws_smithy_http::result::SdkError >{ @@ -65,6 +65,15 @@ impl SetLoadBalancerListenerSSLCertificateFluentBuilder { { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize(self) -> ::std::result::Result< + crate::client::customize::CustomizableOperation, + ::aws_smithy_http::result::SdkError + >{ + self.customize_middleware().await + } ///

                                                                            The name of the load balancer.

                                                                            pub fn load_balancer_name( mut self, diff --git a/sdk/elasticloadbalancing/src/operation/set_load_balancer_policies_for_backend_server/builders.rs b/sdk/elasticloadbalancing/src/operation/set_load_balancer_policies_for_backend_server/builders.rs index 9502fca2cf6b..4c6740d51a0f 100644 --- a/sdk/elasticloadbalancing/src/operation/set_load_balancer_policies_for_backend_server/builders.rs +++ b/sdk/elasticloadbalancing/src/operation/set_load_balancer_policies_for_backend_server/builders.rs @@ -22,9 +22,9 @@ impl SetLoadBalancerPoliciesForBackendServerFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize(self) -> ::std::result::Result< + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware(self) -> ::std::result::Result< crate::client::customize::CustomizableOperation, ::aws_smithy_http::result::SdkError >{ @@ -67,6 +67,15 @@ impl SetLoadBalancerPoliciesForBackendServerFluentBuilder { { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize(self) -> ::std::result::Result< + crate::client::customize::CustomizableOperation, + ::aws_smithy_http::result::SdkError + >{ + self.customize_middleware().await + } ///

                                                                            The name of the load balancer.

                                                                            pub fn load_balancer_name( mut self, diff --git a/sdk/elasticloadbalancing/src/operation/set_load_balancer_policies_of_listener/builders.rs b/sdk/elasticloadbalancing/src/operation/set_load_balancer_policies_of_listener/builders.rs index 16312170ac8b..b56766407a69 100644 --- a/sdk/elasticloadbalancing/src/operation/set_load_balancer_policies_of_listener/builders.rs +++ b/sdk/elasticloadbalancing/src/operation/set_load_balancer_policies_of_listener/builders.rs @@ -21,9 +21,9 @@ impl SetLoadBalancerPoliciesOfListenerFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize(self) -> ::std::result::Result< + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware(self) -> ::std::result::Result< crate::client::customize::CustomizableOperation, ::aws_smithy_http::result::SdkError >{ @@ -66,6 +66,15 @@ impl SetLoadBalancerPoliciesOfListenerFluentBuilder { { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize(self) -> ::std::result::Result< + crate::client::customize::CustomizableOperation, + ::aws_smithy_http::result::SdkError + >{ + self.customize_middleware().await + } ///

                                                                            The name of the load balancer.

                                                                            pub fn load_balancer_name( mut self, diff --git a/sdk/elasticloadbalancingv2/src/operation/add_listener_certificates/builders.rs b/sdk/elasticloadbalancingv2/src/operation/add_listener_certificates/builders.rs index 634b787bd1c5..36205db0ac67 100644 --- a/sdk/elasticloadbalancingv2/src/operation/add_listener_certificates/builders.rs +++ b/sdk/elasticloadbalancingv2/src/operation/add_listener_certificates/builders.rs @@ -22,9 +22,9 @@ impl AddListenerCertificatesFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -86,6 +86,22 @@ impl AddListenerCertificatesFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::add_listener_certificates::AddListenerCertificates, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::add_listener_certificates::AddListenerCertificatesError, + >, + > { + self.customize_middleware().await + } ///

                                                                            The Amazon Resource Name (ARN) of the listener.

                                                                            pub fn listener_arn(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.listener_arn(input.into()); diff --git a/sdk/elasticloadbalancingv2/src/operation/add_tags/builders.rs b/sdk/elasticloadbalancingv2/src/operation/add_tags/builders.rs index 7acde2cf62bf..09e208238a19 100644 --- a/sdk/elasticloadbalancingv2/src/operation/add_tags/builders.rs +++ b/sdk/elasticloadbalancingv2/src/operation/add_tags/builders.rs @@ -20,9 +20,9 @@ impl AddTagsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -78,6 +78,20 @@ impl AddTagsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::add_tags::AddTags, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } /// Appends an item to `ResourceArns`. /// /// To override the contents of this collection use [`set_resource_arns`](Self::set_resource_arns). diff --git a/sdk/elasticloadbalancingv2/src/operation/create_listener/builders.rs b/sdk/elasticloadbalancingv2/src/operation/create_listener/builders.rs index 6b353d7792d8..a16d84cb5b4a 100644 --- a/sdk/elasticloadbalancingv2/src/operation/create_listener/builders.rs +++ b/sdk/elasticloadbalancingv2/src/operation/create_listener/builders.rs @@ -26,9 +26,9 @@ impl CreateListenerFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -84,6 +84,20 @@ impl CreateListenerFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::create_listener::CreateListener, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                            The Amazon Resource Name (ARN) of the load balancer.

                                                                            pub fn load_balancer_arn( mut self, diff --git a/sdk/elasticloadbalancingv2/src/operation/create_load_balancer/builders.rs b/sdk/elasticloadbalancingv2/src/operation/create_load_balancer/builders.rs index 7f243f05cef2..01445749bb8f 100644 --- a/sdk/elasticloadbalancingv2/src/operation/create_load_balancer/builders.rs +++ b/sdk/elasticloadbalancingv2/src/operation/create_load_balancer/builders.rs @@ -26,9 +26,9 @@ impl CreateLoadBalancerFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -90,6 +90,22 @@ impl CreateLoadBalancerFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::create_load_balancer::CreateLoadBalancer, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::create_load_balancer::CreateLoadBalancerError, + >, + > { + self.customize_middleware().await + } ///

                                                                            The name of the load balancer.

                                                                            ///

                                                                            This name must be unique per region per account, can have a maximum of 32 characters, must contain only alphanumeric characters or hyphens, must not begin or end with a hyphen, and must not begin with "internal-".

                                                                            pub fn name(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { diff --git a/sdk/elasticloadbalancingv2/src/operation/create_rule/builders.rs b/sdk/elasticloadbalancingv2/src/operation/create_rule/builders.rs index af28e3336261..3d07e0e42056 100644 --- a/sdk/elasticloadbalancingv2/src/operation/create_rule/builders.rs +++ b/sdk/elasticloadbalancingv2/src/operation/create_rule/builders.rs @@ -20,9 +20,9 @@ impl CreateRuleFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -78,6 +78,20 @@ impl CreateRuleFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::create_rule::CreateRule, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                            The Amazon Resource Name (ARN) of the listener.

                                                                            pub fn listener_arn(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.listener_arn(input.into()); diff --git a/sdk/elasticloadbalancingv2/src/operation/create_target_group/builders.rs b/sdk/elasticloadbalancingv2/src/operation/create_target_group/builders.rs index 842f26c113d8..2721ff7f0e4d 100644 --- a/sdk/elasticloadbalancingv2/src/operation/create_target_group/builders.rs +++ b/sdk/elasticloadbalancingv2/src/operation/create_target_group/builders.rs @@ -26,9 +26,9 @@ impl CreateTargetGroupFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -90,6 +90,22 @@ impl CreateTargetGroupFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::create_target_group::CreateTargetGroup, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::create_target_group::CreateTargetGroupError, + >, + > { + self.customize_middleware().await + } ///

                                                                            The name of the target group.

                                                                            ///

                                                                            This name must be unique per region per account, can have a maximum of 32 characters, must contain only alphanumeric characters or hyphens, and must not begin or end with a hyphen.

                                                                            pub fn name(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { diff --git a/sdk/elasticloadbalancingv2/src/operation/delete_listener/builders.rs b/sdk/elasticloadbalancingv2/src/operation/delete_listener/builders.rs index e9ecf2bdf345..81036e7c92bb 100644 --- a/sdk/elasticloadbalancingv2/src/operation/delete_listener/builders.rs +++ b/sdk/elasticloadbalancingv2/src/operation/delete_listener/builders.rs @@ -20,9 +20,9 @@ impl DeleteListenerFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -78,6 +78,20 @@ impl DeleteListenerFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::delete_listener::DeleteListener, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                            The Amazon Resource Name (ARN) of the listener.

                                                                            pub fn listener_arn(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.listener_arn(input.into()); diff --git a/sdk/elasticloadbalancingv2/src/operation/delete_load_balancer/builders.rs b/sdk/elasticloadbalancingv2/src/operation/delete_load_balancer/builders.rs index a55b0aed48ce..cda114f2a747 100644 --- a/sdk/elasticloadbalancingv2/src/operation/delete_load_balancer/builders.rs +++ b/sdk/elasticloadbalancingv2/src/operation/delete_load_balancer/builders.rs @@ -21,9 +21,9 @@ impl DeleteLoadBalancerFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -85,6 +85,22 @@ impl DeleteLoadBalancerFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::delete_load_balancer::DeleteLoadBalancer, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::delete_load_balancer::DeleteLoadBalancerError, + >, + > { + self.customize_middleware().await + } ///

                                                                            The Amazon Resource Name (ARN) of the load balancer.

                                                                            pub fn load_balancer_arn( mut self, diff --git a/sdk/elasticloadbalancingv2/src/operation/delete_rule/builders.rs b/sdk/elasticloadbalancingv2/src/operation/delete_rule/builders.rs index ca88415d0383..d7e1584aa9ee 100644 --- a/sdk/elasticloadbalancingv2/src/operation/delete_rule/builders.rs +++ b/sdk/elasticloadbalancingv2/src/operation/delete_rule/builders.rs @@ -20,9 +20,9 @@ impl DeleteRuleFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -78,6 +78,20 @@ impl DeleteRuleFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::delete_rule::DeleteRule, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                            The Amazon Resource Name (ARN) of the rule.

                                                                            pub fn rule_arn(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.rule_arn(input.into()); diff --git a/sdk/elasticloadbalancingv2/src/operation/delete_target_group/builders.rs b/sdk/elasticloadbalancingv2/src/operation/delete_target_group/builders.rs index 494712ecf6f9..c4850f60147c 100644 --- a/sdk/elasticloadbalancingv2/src/operation/delete_target_group/builders.rs +++ b/sdk/elasticloadbalancingv2/src/operation/delete_target_group/builders.rs @@ -20,9 +20,9 @@ impl DeleteTargetGroupFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -84,6 +84,22 @@ impl DeleteTargetGroupFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::delete_target_group::DeleteTargetGroup, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::delete_target_group::DeleteTargetGroupError, + >, + > { + self.customize_middleware().await + } ///

                                                                            The Amazon Resource Name (ARN) of the target group.

                                                                            pub fn target_group_arn( mut self, diff --git a/sdk/elasticloadbalancingv2/src/operation/deregister_targets/builders.rs b/sdk/elasticloadbalancingv2/src/operation/deregister_targets/builders.rs index b86f90ac3378..7f71c093d3b7 100644 --- a/sdk/elasticloadbalancingv2/src/operation/deregister_targets/builders.rs +++ b/sdk/elasticloadbalancingv2/src/operation/deregister_targets/builders.rs @@ -19,9 +19,9 @@ impl DeregisterTargetsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl DeregisterTargetsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::deregister_targets::DeregisterTargets, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::deregister_targets::DeregisterTargetsError, + >, + > { + self.customize_middleware().await + } ///

                                                                            The Amazon Resource Name (ARN) of the target group.

                                                                            pub fn target_group_arn( mut self, diff --git a/sdk/elasticloadbalancingv2/src/operation/describe_account_limits/builders.rs b/sdk/elasticloadbalancingv2/src/operation/describe_account_limits/builders.rs index 443a192740b4..f5375f3fd5d1 100644 --- a/sdk/elasticloadbalancingv2/src/operation/describe_account_limits/builders.rs +++ b/sdk/elasticloadbalancingv2/src/operation/describe_account_limits/builders.rs @@ -25,9 +25,9 @@ impl DescribeAccountLimitsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -89,6 +89,22 @@ impl DescribeAccountLimitsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::describe_account_limits::DescribeAccountLimits, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::describe_account_limits::DescribeAccountLimitsError, + >, + > { + self.customize_middleware().await + } ///

                                                                            The marker for the next set of results. (You received this marker from a previous call.)

                                                                            pub fn marker(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.marker(input.into()); diff --git a/sdk/elasticloadbalancingv2/src/operation/describe_listener_certificates/builders.rs b/sdk/elasticloadbalancingv2/src/operation/describe_listener_certificates/builders.rs index 26d2b0909041..91432ccf8cac 100644 --- a/sdk/elasticloadbalancingv2/src/operation/describe_listener_certificates/builders.rs +++ b/sdk/elasticloadbalancingv2/src/operation/describe_listener_certificates/builders.rs @@ -21,9 +21,9 @@ impl DescribeListenerCertificatesFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -85,6 +85,22 @@ impl DescribeListenerCertificatesFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::describe_listener_certificates::DescribeListenerCertificates, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::describe_listener_certificates::DescribeListenerCertificatesError, + >, + > { + self.customize_middleware().await + } ///

                                                                            The Amazon Resource Names (ARN) of the listener.

                                                                            pub fn listener_arn(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.listener_arn(input.into()); diff --git a/sdk/elasticloadbalancingv2/src/operation/describe_listeners/builders.rs b/sdk/elasticloadbalancingv2/src/operation/describe_listeners/builders.rs index 4b4b45ee43e6..5a0351d718e3 100644 --- a/sdk/elasticloadbalancingv2/src/operation/describe_listeners/builders.rs +++ b/sdk/elasticloadbalancingv2/src/operation/describe_listeners/builders.rs @@ -19,9 +19,9 @@ impl DescribeListenersFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl DescribeListenersFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::describe_listeners::DescribeListeners, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::describe_listeners::DescribeListenersError, + >, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::describe_listeners::paginator::DescribeListenersPaginator::send) which returns a `Stream`. diff --git a/sdk/elasticloadbalancingv2/src/operation/describe_load_balancer_attributes/builders.rs b/sdk/elasticloadbalancingv2/src/operation/describe_load_balancer_attributes/builders.rs index a346dd7b435b..fa4b12bcdce7 100644 --- a/sdk/elasticloadbalancingv2/src/operation/describe_load_balancer_attributes/builders.rs +++ b/sdk/elasticloadbalancingv2/src/operation/describe_load_balancer_attributes/builders.rs @@ -25,9 +25,9 @@ impl DescribeLoadBalancerAttributesFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize(self) -> ::std::result::Result< + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware(self) -> ::std::result::Result< crate::client::customize::CustomizableOperation, ::aws_smithy_http::result::SdkError >{ @@ -70,6 +70,15 @@ impl DescribeLoadBalancerAttributesFluentBuilder { { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize(self) -> ::std::result::Result< + crate::client::customize::CustomizableOperation, + ::aws_smithy_http::result::SdkError + >{ + self.customize_middleware().await + } ///

                                                                            The Amazon Resource Name (ARN) of the load balancer.

                                                                            pub fn load_balancer_arn( mut self, diff --git a/sdk/elasticloadbalancingv2/src/operation/describe_load_balancers/builders.rs b/sdk/elasticloadbalancingv2/src/operation/describe_load_balancers/builders.rs index 453c0eb4185c..e785f2fcd610 100644 --- a/sdk/elasticloadbalancingv2/src/operation/describe_load_balancers/builders.rs +++ b/sdk/elasticloadbalancingv2/src/operation/describe_load_balancers/builders.rs @@ -19,9 +19,9 @@ impl DescribeLoadBalancersFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl DescribeLoadBalancersFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::describe_load_balancers::DescribeLoadBalancers, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::describe_load_balancers::DescribeLoadBalancersError, + >, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::describe_load_balancers::paginator::DescribeLoadBalancersPaginator::send) which returns a `Stream`. diff --git a/sdk/elasticloadbalancingv2/src/operation/describe_rules/builders.rs b/sdk/elasticloadbalancingv2/src/operation/describe_rules/builders.rs index 49633dae7c93..d61ae69ba115 100644 --- a/sdk/elasticloadbalancingv2/src/operation/describe_rules/builders.rs +++ b/sdk/elasticloadbalancingv2/src/operation/describe_rules/builders.rs @@ -19,9 +19,9 @@ impl DescribeRulesFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl DescribeRulesFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::describe_rules::DescribeRules, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                            The Amazon Resource Name (ARN) of the listener.

                                                                            pub fn listener_arn(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.listener_arn(input.into()); diff --git a/sdk/elasticloadbalancingv2/src/operation/describe_ssl_policies/builders.rs b/sdk/elasticloadbalancingv2/src/operation/describe_ssl_policies/builders.rs index 49762031393a..e9a07af2a8b8 100644 --- a/sdk/elasticloadbalancingv2/src/operation/describe_ssl_policies/builders.rs +++ b/sdk/elasticloadbalancingv2/src/operation/describe_ssl_policies/builders.rs @@ -20,9 +20,9 @@ impl DescribeSSLPoliciesFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -84,6 +84,22 @@ impl DescribeSSLPoliciesFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::describe_ssl_policies::DescribeSSLPolicies, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::describe_ssl_policies::DescribeSSLPoliciesError, + >, + > { + self.customize_middleware().await + } /// Appends an item to `Names`. /// /// To override the contents of this collection use [`set_names`](Self::set_names). diff --git a/sdk/elasticloadbalancingv2/src/operation/describe_tags/builders.rs b/sdk/elasticloadbalancingv2/src/operation/describe_tags/builders.rs index e2eb1d8e325f..4197c339b421 100644 --- a/sdk/elasticloadbalancingv2/src/operation/describe_tags/builders.rs +++ b/sdk/elasticloadbalancingv2/src/operation/describe_tags/builders.rs @@ -19,9 +19,9 @@ impl DescribeTagsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl DescribeTagsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::describe_tags::DescribeTags, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } /// Appends an item to `ResourceArns`. /// /// To override the contents of this collection use [`set_resource_arns`](Self::set_resource_arns). diff --git a/sdk/elasticloadbalancingv2/src/operation/describe_target_group_attributes/builders.rs b/sdk/elasticloadbalancingv2/src/operation/describe_target_group_attributes/builders.rs index efeb18ec08dd..5fa3c8c2c7af 100644 --- a/sdk/elasticloadbalancingv2/src/operation/describe_target_group_attributes/builders.rs +++ b/sdk/elasticloadbalancingv2/src/operation/describe_target_group_attributes/builders.rs @@ -25,9 +25,9 @@ impl DescribeTargetGroupAttributesFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -89,6 +89,22 @@ impl DescribeTargetGroupAttributesFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::describe_target_group_attributes::DescribeTargetGroupAttributes, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::describe_target_group_attributes::DescribeTargetGroupAttributesError, + >, + > { + self.customize_middleware().await + } ///

                                                                            The Amazon Resource Name (ARN) of the target group.

                                                                            pub fn target_group_arn( mut self, diff --git a/sdk/elasticloadbalancingv2/src/operation/describe_target_groups/builders.rs b/sdk/elasticloadbalancingv2/src/operation/describe_target_groups/builders.rs index b97b0012df6b..d5717411d3bf 100644 --- a/sdk/elasticloadbalancingv2/src/operation/describe_target_groups/builders.rs +++ b/sdk/elasticloadbalancingv2/src/operation/describe_target_groups/builders.rs @@ -19,9 +19,9 @@ impl DescribeTargetGroupsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl DescribeTargetGroupsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::describe_target_groups::DescribeTargetGroups, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::describe_target_groups::DescribeTargetGroupsError, + >, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::describe_target_groups::paginator::DescribeTargetGroupsPaginator::send) which returns a `Stream`. diff --git a/sdk/elasticloadbalancingv2/src/operation/describe_target_health/builders.rs b/sdk/elasticloadbalancingv2/src/operation/describe_target_health/builders.rs index facd6cbbb921..ce6da96b0677 100644 --- a/sdk/elasticloadbalancingv2/src/operation/describe_target_health/builders.rs +++ b/sdk/elasticloadbalancingv2/src/operation/describe_target_health/builders.rs @@ -19,9 +19,9 @@ impl DescribeTargetHealthFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl DescribeTargetHealthFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::describe_target_health::DescribeTargetHealth, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::describe_target_health::DescribeTargetHealthError, + >, + > { + self.customize_middleware().await + } ///

                                                                            The Amazon Resource Name (ARN) of the target group.

                                                                            pub fn target_group_arn( mut self, diff --git a/sdk/elasticloadbalancingv2/src/operation/modify_listener/builders.rs b/sdk/elasticloadbalancingv2/src/operation/modify_listener/builders.rs index ac632fb8cffd..fead40a99bfa 100644 --- a/sdk/elasticloadbalancingv2/src/operation/modify_listener/builders.rs +++ b/sdk/elasticloadbalancingv2/src/operation/modify_listener/builders.rs @@ -21,9 +21,9 @@ impl ModifyListenerFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -79,6 +79,20 @@ impl ModifyListenerFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::modify_listener::ModifyListener, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                            The Amazon Resource Name (ARN) of the listener.

                                                                            pub fn listener_arn(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.listener_arn(input.into()); diff --git a/sdk/elasticloadbalancingv2/src/operation/modify_load_balancer_attributes/builders.rs b/sdk/elasticloadbalancingv2/src/operation/modify_load_balancer_attributes/builders.rs index 3e8ce04b92b5..eda1e3c531bb 100644 --- a/sdk/elasticloadbalancingv2/src/operation/modify_load_balancer_attributes/builders.rs +++ b/sdk/elasticloadbalancingv2/src/operation/modify_load_balancer_attributes/builders.rs @@ -20,9 +20,9 @@ impl ModifyLoadBalancerAttributesFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -84,6 +84,22 @@ impl ModifyLoadBalancerAttributesFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::modify_load_balancer_attributes::ModifyLoadBalancerAttributes, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::modify_load_balancer_attributes::ModifyLoadBalancerAttributesError, + >, + > { + self.customize_middleware().await + } ///

                                                                            The Amazon Resource Name (ARN) of the load balancer.

                                                                            pub fn load_balancer_arn( mut self, diff --git a/sdk/elasticloadbalancingv2/src/operation/modify_rule/builders.rs b/sdk/elasticloadbalancingv2/src/operation/modify_rule/builders.rs index 6e7b1feaa7bf..bddbae824b1e 100644 --- a/sdk/elasticloadbalancingv2/src/operation/modify_rule/builders.rs +++ b/sdk/elasticloadbalancingv2/src/operation/modify_rule/builders.rs @@ -20,9 +20,9 @@ impl ModifyRuleFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -78,6 +78,20 @@ impl ModifyRuleFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::modify_rule::ModifyRule, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                            The Amazon Resource Name (ARN) of the rule.

                                                                            pub fn rule_arn(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.rule_arn(input.into()); diff --git a/sdk/elasticloadbalancingv2/src/operation/modify_target_group/builders.rs b/sdk/elasticloadbalancingv2/src/operation/modify_target_group/builders.rs index 35539f102aa7..f9e72be479d8 100644 --- a/sdk/elasticloadbalancingv2/src/operation/modify_target_group/builders.rs +++ b/sdk/elasticloadbalancingv2/src/operation/modify_target_group/builders.rs @@ -19,9 +19,9 @@ impl ModifyTargetGroupFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl ModifyTargetGroupFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::modify_target_group::ModifyTargetGroup, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::modify_target_group::ModifyTargetGroupError, + >, + > { + self.customize_middleware().await + } ///

                                                                            The Amazon Resource Name (ARN) of the target group.

                                                                            pub fn target_group_arn( mut self, diff --git a/sdk/elasticloadbalancingv2/src/operation/modify_target_group_attributes/builders.rs b/sdk/elasticloadbalancingv2/src/operation/modify_target_group_attributes/builders.rs index d7beade570e1..d9cb8ff215e6 100644 --- a/sdk/elasticloadbalancingv2/src/operation/modify_target_group_attributes/builders.rs +++ b/sdk/elasticloadbalancingv2/src/operation/modify_target_group_attributes/builders.rs @@ -19,9 +19,9 @@ impl ModifyTargetGroupAttributesFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl ModifyTargetGroupAttributesFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::modify_target_group_attributes::ModifyTargetGroupAttributes, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::modify_target_group_attributes::ModifyTargetGroupAttributesError, + >, + > { + self.customize_middleware().await + } ///

                                                                            The Amazon Resource Name (ARN) of the target group.

                                                                            pub fn target_group_arn( mut self, diff --git a/sdk/elasticloadbalancingv2/src/operation/register_targets/builders.rs b/sdk/elasticloadbalancingv2/src/operation/register_targets/builders.rs index 2d9c50aa2aef..7073bbb9dc84 100644 --- a/sdk/elasticloadbalancingv2/src/operation/register_targets/builders.rs +++ b/sdk/elasticloadbalancingv2/src/operation/register_targets/builders.rs @@ -22,9 +22,9 @@ impl RegisterTargetsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -86,6 +86,22 @@ impl RegisterTargetsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::register_targets::RegisterTargets, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::register_targets::RegisterTargetsError, + >, + > { + self.customize_middleware().await + } ///

                                                                            The Amazon Resource Name (ARN) of the target group.

                                                                            pub fn target_group_arn( mut self, diff --git a/sdk/elasticloadbalancingv2/src/operation/remove_listener_certificates/builders.rs b/sdk/elasticloadbalancingv2/src/operation/remove_listener_certificates/builders.rs index 6ee4f2ac4469..34dc2d8c1027 100644 --- a/sdk/elasticloadbalancingv2/src/operation/remove_listener_certificates/builders.rs +++ b/sdk/elasticloadbalancingv2/src/operation/remove_listener_certificates/builders.rs @@ -19,9 +19,9 @@ impl RemoveListenerCertificatesFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl RemoveListenerCertificatesFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::remove_listener_certificates::RemoveListenerCertificates, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::remove_listener_certificates::RemoveListenerCertificatesError, + >, + > { + self.customize_middleware().await + } ///

                                                                            The Amazon Resource Name (ARN) of the listener.

                                                                            pub fn listener_arn(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.listener_arn(input.into()); diff --git a/sdk/elasticloadbalancingv2/src/operation/remove_tags/builders.rs b/sdk/elasticloadbalancingv2/src/operation/remove_tags/builders.rs index 2ec6ccf4d947..dc32edd70334 100644 --- a/sdk/elasticloadbalancingv2/src/operation/remove_tags/builders.rs +++ b/sdk/elasticloadbalancingv2/src/operation/remove_tags/builders.rs @@ -19,9 +19,9 @@ impl RemoveTagsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl RemoveTagsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::remove_tags::RemoveTags, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } /// Appends an item to `ResourceArns`. /// /// To override the contents of this collection use [`set_resource_arns`](Self::set_resource_arns). diff --git a/sdk/elasticloadbalancingv2/src/operation/set_ip_address_type/builders.rs b/sdk/elasticloadbalancingv2/src/operation/set_ip_address_type/builders.rs index 1648726d1bab..9b4004224290 100644 --- a/sdk/elasticloadbalancingv2/src/operation/set_ip_address_type/builders.rs +++ b/sdk/elasticloadbalancingv2/src/operation/set_ip_address_type/builders.rs @@ -19,9 +19,9 @@ impl SetIpAddressTypeFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl SetIpAddressTypeFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::set_ip_address_type::SetIpAddressType, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::set_ip_address_type::SetIpAddressTypeError, + >, + > { + self.customize_middleware().await + } ///

                                                                            The Amazon Resource Name (ARN) of the load balancer.

                                                                            pub fn load_balancer_arn( mut self, diff --git a/sdk/elasticloadbalancingv2/src/operation/set_rule_priorities/builders.rs b/sdk/elasticloadbalancingv2/src/operation/set_rule_priorities/builders.rs index d2734afa6b72..0120fdfc1963 100644 --- a/sdk/elasticloadbalancingv2/src/operation/set_rule_priorities/builders.rs +++ b/sdk/elasticloadbalancingv2/src/operation/set_rule_priorities/builders.rs @@ -20,9 +20,9 @@ impl SetRulePrioritiesFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -84,6 +84,22 @@ impl SetRulePrioritiesFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::set_rule_priorities::SetRulePriorities, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::set_rule_priorities::SetRulePrioritiesError, + >, + > { + self.customize_middleware().await + } /// Appends an item to `RulePriorities`. /// /// To override the contents of this collection use [`set_rule_priorities`](Self::set_rule_priorities). diff --git a/sdk/elasticloadbalancingv2/src/operation/set_security_groups/builders.rs b/sdk/elasticloadbalancingv2/src/operation/set_security_groups/builders.rs index bd127ed08296..b2442180daec 100644 --- a/sdk/elasticloadbalancingv2/src/operation/set_security_groups/builders.rs +++ b/sdk/elasticloadbalancingv2/src/operation/set_security_groups/builders.rs @@ -20,9 +20,9 @@ impl SetSecurityGroupsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -84,6 +84,22 @@ impl SetSecurityGroupsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::set_security_groups::SetSecurityGroups, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::set_security_groups::SetSecurityGroupsError, + >, + > { + self.customize_middleware().await + } ///

                                                                            The Amazon Resource Name (ARN) of the load balancer.

                                                                            pub fn load_balancer_arn( mut self, diff --git a/sdk/elasticloadbalancingv2/src/operation/set_subnets/builders.rs b/sdk/elasticloadbalancingv2/src/operation/set_subnets/builders.rs index 430fdb47522d..f2069c24d65c 100644 --- a/sdk/elasticloadbalancingv2/src/operation/set_subnets/builders.rs +++ b/sdk/elasticloadbalancingv2/src/operation/set_subnets/builders.rs @@ -20,9 +20,9 @@ impl SetSubnetsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -78,6 +78,20 @@ impl SetSubnetsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::set_subnets::SetSubnets, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                            The Amazon Resource Name (ARN) of the load balancer.

                                                                            pub fn load_balancer_arn( mut self, diff --git a/sdk/elasticsearch/src/operation/accept_inbound_cross_cluster_search_connection/builders.rs b/sdk/elasticsearch/src/operation/accept_inbound_cross_cluster_search_connection/builders.rs index 941b88f4d86e..9e52e8e929dc 100644 --- a/sdk/elasticsearch/src/operation/accept_inbound_cross_cluster_search_connection/builders.rs +++ b/sdk/elasticsearch/src/operation/accept_inbound_cross_cluster_search_connection/builders.rs @@ -19,9 +19,9 @@ impl AcceptInboundCrossClusterSearchConnectionFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize(self) -> ::std::result::Result< + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware(self) -> ::std::result::Result< crate::client::customize::CustomizableOperation, ::aws_smithy_http::result::SdkError >{ @@ -64,6 +64,15 @@ impl AcceptInboundCrossClusterSearchConnectionFluentBuilder { { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize(self) -> ::std::result::Result< + crate::client::customize::CustomizableOperation, + ::aws_smithy_http::result::SdkError + >{ + self.customize_middleware().await + } ///

                                                                            The id of the inbound connection that you want to accept.

                                                                            pub fn cross_cluster_search_connection_id( mut self, diff --git a/sdk/elasticsearch/src/operation/add_tags/builders.rs b/sdk/elasticsearch/src/operation/add_tags/builders.rs index 3849a0909e96..8c7e09250afa 100644 --- a/sdk/elasticsearch/src/operation/add_tags/builders.rs +++ b/sdk/elasticsearch/src/operation/add_tags/builders.rs @@ -19,9 +19,9 @@ impl AddTagsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl AddTagsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::add_tags::AddTags, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                            Specify the ARN for which you want to add the tags.

                                                                            pub fn arn(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.arn(input.into()); diff --git a/sdk/elasticsearch/src/operation/associate_package/builders.rs b/sdk/elasticsearch/src/operation/associate_package/builders.rs index 0c177b069e05..61f8841cc106 100644 --- a/sdk/elasticsearch/src/operation/associate_package/builders.rs +++ b/sdk/elasticsearch/src/operation/associate_package/builders.rs @@ -19,9 +19,9 @@ impl AssociatePackageFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl AssociatePackageFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::associate_package::AssociatePackage, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::associate_package::AssociatePackageError, + >, + > { + self.customize_middleware().await + } ///

                                                                            Internal ID of the package that you want to associate with a domain. Use DescribePackages to find this value.

                                                                            pub fn package_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.package_id(input.into()); diff --git a/sdk/elasticsearch/src/operation/authorize_vpc_endpoint_access/builders.rs b/sdk/elasticsearch/src/operation/authorize_vpc_endpoint_access/builders.rs index 5b21c5f6eb01..c68e7236ec49 100644 --- a/sdk/elasticsearch/src/operation/authorize_vpc_endpoint_access/builders.rs +++ b/sdk/elasticsearch/src/operation/authorize_vpc_endpoint_access/builders.rs @@ -19,9 +19,9 @@ impl AuthorizeVpcEndpointAccessFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl AuthorizeVpcEndpointAccessFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::authorize_vpc_endpoint_access::AuthorizeVpcEndpointAccess, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::authorize_vpc_endpoint_access::AuthorizeVpcEndpointAccessError, + >, + > { + self.customize_middleware().await + } ///

                                                                            The name of the OpenSearch Service domain to provide access to.

                                                                            pub fn domain_name(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.domain_name(input.into()); diff --git a/sdk/elasticsearch/src/operation/cancel_elasticsearch_service_software_update/builders.rs b/sdk/elasticsearch/src/operation/cancel_elasticsearch_service_software_update/builders.rs index a74141deba1d..0c0a907291f7 100644 --- a/sdk/elasticsearch/src/operation/cancel_elasticsearch_service_software_update/builders.rs +++ b/sdk/elasticsearch/src/operation/cancel_elasticsearch_service_software_update/builders.rs @@ -19,9 +19,9 @@ impl CancelElasticsearchServiceSoftwareUpdateFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize(self) -> ::std::result::Result< + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware(self) -> ::std::result::Result< crate::client::customize::CustomizableOperation, ::aws_smithy_http::result::SdkError >{ @@ -64,6 +64,15 @@ impl CancelElasticsearchServiceSoftwareUpdateFluentBuilder { { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize(self) -> ::std::result::Result< + crate::client::customize::CustomizableOperation, + ::aws_smithy_http::result::SdkError + >{ + self.customize_middleware().await + } ///

                                                                            The name of the domain that you want to stop the latest service software update on.

                                                                            pub fn domain_name(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.domain_name(input.into()); diff --git a/sdk/elasticsearch/src/operation/create_elasticsearch_domain/builders.rs b/sdk/elasticsearch/src/operation/create_elasticsearch_domain/builders.rs index 4c270d0a5860..4aa4ba4d9d28 100644 --- a/sdk/elasticsearch/src/operation/create_elasticsearch_domain/builders.rs +++ b/sdk/elasticsearch/src/operation/create_elasticsearch_domain/builders.rs @@ -19,9 +19,9 @@ impl CreateElasticsearchDomainFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl CreateElasticsearchDomainFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::create_elasticsearch_domain::CreateElasticsearchDomain, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::create_elasticsearch_domain::CreateElasticsearchDomainError, + >, + > { + self.customize_middleware().await + } ///

                                                                            The name of the Elasticsearch domain that you are creating. Domain names are unique across the domains owned by an account within an AWS region. Domain names must start with a lowercase letter and can contain the following characters: a-z (lowercase), 0-9, and - (hyphen).

                                                                            pub fn domain_name(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.domain_name(input.into()); diff --git a/sdk/elasticsearch/src/operation/create_outbound_cross_cluster_search_connection/builders.rs b/sdk/elasticsearch/src/operation/create_outbound_cross_cluster_search_connection/builders.rs index 5a2141a074a6..292e228e6ec6 100644 --- a/sdk/elasticsearch/src/operation/create_outbound_cross_cluster_search_connection/builders.rs +++ b/sdk/elasticsearch/src/operation/create_outbound_cross_cluster_search_connection/builders.rs @@ -19,9 +19,9 @@ impl CreateOutboundCrossClusterSearchConnectionFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize(self) -> ::std::result::Result< + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware(self) -> ::std::result::Result< crate::client::customize::CustomizableOperation, ::aws_smithy_http::result::SdkError >{ @@ -64,6 +64,15 @@ impl CreateOutboundCrossClusterSearchConnectionFluentBuilder { { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize(self) -> ::std::result::Result< + crate::client::customize::CustomizableOperation, + ::aws_smithy_http::result::SdkError + >{ + self.customize_middleware().await + } ///

                                                                            Specifies the DomainInformation for the source Elasticsearch domain.

                                                                            pub fn source_domain_info(mut self, input: crate::types::DomainInformation) -> Self { self.inner = self.inner.source_domain_info(input); diff --git a/sdk/elasticsearch/src/operation/create_package/builders.rs b/sdk/elasticsearch/src/operation/create_package/builders.rs index 06725d4a88fc..f4598d4fc5d3 100644 --- a/sdk/elasticsearch/src/operation/create_package/builders.rs +++ b/sdk/elasticsearch/src/operation/create_package/builders.rs @@ -19,9 +19,9 @@ impl CreatePackageFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl CreatePackageFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::create_package::CreatePackage, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                            Unique identifier for the package.

                                                                            pub fn package_name(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.package_name(input.into()); diff --git a/sdk/elasticsearch/src/operation/create_vpc_endpoint/builders.rs b/sdk/elasticsearch/src/operation/create_vpc_endpoint/builders.rs index 8367039ee6ff..62a2d5a5e9f3 100644 --- a/sdk/elasticsearch/src/operation/create_vpc_endpoint/builders.rs +++ b/sdk/elasticsearch/src/operation/create_vpc_endpoint/builders.rs @@ -19,9 +19,9 @@ impl CreateVpcEndpointFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl CreateVpcEndpointFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::create_vpc_endpoint::CreateVpcEndpoint, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::create_vpc_endpoint::CreateVpcEndpointError, + >, + > { + self.customize_middleware().await + } ///

                                                                            The Amazon Resource Name (ARN) of the domain to grant access to.

                                                                            pub fn domain_arn(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.domain_arn(input.into()); diff --git a/sdk/elasticsearch/src/operation/delete_elasticsearch_domain/builders.rs b/sdk/elasticsearch/src/operation/delete_elasticsearch_domain/builders.rs index dbc90986261d..b1e356b603da 100644 --- a/sdk/elasticsearch/src/operation/delete_elasticsearch_domain/builders.rs +++ b/sdk/elasticsearch/src/operation/delete_elasticsearch_domain/builders.rs @@ -19,9 +19,9 @@ impl DeleteElasticsearchDomainFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl DeleteElasticsearchDomainFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::delete_elasticsearch_domain::DeleteElasticsearchDomain, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::delete_elasticsearch_domain::DeleteElasticsearchDomainError, + >, + > { + self.customize_middleware().await + } ///

                                                                            The name of the Elasticsearch domain that you want to permanently delete.

                                                                            pub fn domain_name(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.domain_name(input.into()); diff --git a/sdk/elasticsearch/src/operation/delete_elasticsearch_service_role/builders.rs b/sdk/elasticsearch/src/operation/delete_elasticsearch_service_role/builders.rs index 21bbbcc1eec6..2f7af1edbe33 100644 --- a/sdk/elasticsearch/src/operation/delete_elasticsearch_service_role/builders.rs +++ b/sdk/elasticsearch/src/operation/delete_elasticsearch_service_role/builders.rs @@ -19,9 +19,9 @@ impl DeleteElasticsearchServiceRoleFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize(self) -> ::std::result::Result< + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware(self) -> ::std::result::Result< crate::client::customize::CustomizableOperation, ::aws_smithy_http::result::SdkError >{ @@ -64,4 +64,13 @@ impl DeleteElasticsearchServiceRoleFluentBuilder { { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize(self) -> ::std::result::Result< + crate::client::customize::CustomizableOperation, + ::aws_smithy_http::result::SdkError + >{ + self.customize_middleware().await + } } diff --git a/sdk/elasticsearch/src/operation/delete_inbound_cross_cluster_search_connection/builders.rs b/sdk/elasticsearch/src/operation/delete_inbound_cross_cluster_search_connection/builders.rs index 78ad0800a775..a4ee4b76eba0 100644 --- a/sdk/elasticsearch/src/operation/delete_inbound_cross_cluster_search_connection/builders.rs +++ b/sdk/elasticsearch/src/operation/delete_inbound_cross_cluster_search_connection/builders.rs @@ -19,9 +19,9 @@ impl DeleteInboundCrossClusterSearchConnectionFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize(self) -> ::std::result::Result< + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware(self) -> ::std::result::Result< crate::client::customize::CustomizableOperation, ::aws_smithy_http::result::SdkError >{ @@ -64,6 +64,15 @@ impl DeleteInboundCrossClusterSearchConnectionFluentBuilder { { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize(self) -> ::std::result::Result< + crate::client::customize::CustomizableOperation, + ::aws_smithy_http::result::SdkError + >{ + self.customize_middleware().await + } ///

                                                                            The id of the inbound connection that you want to permanently delete.

                                                                            pub fn cross_cluster_search_connection_id( mut self, diff --git a/sdk/elasticsearch/src/operation/delete_outbound_cross_cluster_search_connection/builders.rs b/sdk/elasticsearch/src/operation/delete_outbound_cross_cluster_search_connection/builders.rs index 98acc01d7f78..5371d49a3fa5 100644 --- a/sdk/elasticsearch/src/operation/delete_outbound_cross_cluster_search_connection/builders.rs +++ b/sdk/elasticsearch/src/operation/delete_outbound_cross_cluster_search_connection/builders.rs @@ -19,9 +19,9 @@ impl DeleteOutboundCrossClusterSearchConnectionFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize(self) -> ::std::result::Result< + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware(self) -> ::std::result::Result< crate::client::customize::CustomizableOperation, ::aws_smithy_http::result::SdkError >{ @@ -64,6 +64,15 @@ impl DeleteOutboundCrossClusterSearchConnectionFluentBuilder { { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize(self) -> ::std::result::Result< + crate::client::customize::CustomizableOperation, + ::aws_smithy_http::result::SdkError + >{ + self.customize_middleware().await + } ///

                                                                            The id of the outbound connection that you want to permanently delete.

                                                                            pub fn cross_cluster_search_connection_id( mut self, diff --git a/sdk/elasticsearch/src/operation/delete_package/builders.rs b/sdk/elasticsearch/src/operation/delete_package/builders.rs index d6b25c2d93d1..06405f8e897a 100644 --- a/sdk/elasticsearch/src/operation/delete_package/builders.rs +++ b/sdk/elasticsearch/src/operation/delete_package/builders.rs @@ -19,9 +19,9 @@ impl DeletePackageFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl DeletePackageFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::delete_package::DeletePackage, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                            Internal ID of the package that you want to delete. Use DescribePackages to find this value.

                                                                            pub fn package_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.package_id(input.into()); diff --git a/sdk/elasticsearch/src/operation/delete_vpc_endpoint/builders.rs b/sdk/elasticsearch/src/operation/delete_vpc_endpoint/builders.rs index b9d8ff0b144d..651610625ee4 100644 --- a/sdk/elasticsearch/src/operation/delete_vpc_endpoint/builders.rs +++ b/sdk/elasticsearch/src/operation/delete_vpc_endpoint/builders.rs @@ -19,9 +19,9 @@ impl DeleteVpcEndpointFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl DeleteVpcEndpointFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::delete_vpc_endpoint::DeleteVpcEndpoint, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::delete_vpc_endpoint::DeleteVpcEndpointError, + >, + > { + self.customize_middleware().await + } ///

                                                                            The unique identifier of the endpoint to be deleted.

                                                                            pub fn vpc_endpoint_id( mut self, diff --git a/sdk/elasticsearch/src/operation/describe_domain_auto_tunes/builders.rs b/sdk/elasticsearch/src/operation/describe_domain_auto_tunes/builders.rs index 390a4aecc7b7..249e5ada9907 100644 --- a/sdk/elasticsearch/src/operation/describe_domain_auto_tunes/builders.rs +++ b/sdk/elasticsearch/src/operation/describe_domain_auto_tunes/builders.rs @@ -20,9 +20,9 @@ impl DescribeDomainAutoTunesFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -84,6 +84,22 @@ impl DescribeDomainAutoTunesFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::describe_domain_auto_tunes::DescribeDomainAutoTunes, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::describe_domain_auto_tunes::DescribeDomainAutoTunesError, + >, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::describe_domain_auto_tunes::paginator::DescribeDomainAutoTunesPaginator::send) which returns a `Stream`. diff --git a/sdk/elasticsearch/src/operation/describe_domain_change_progress/builders.rs b/sdk/elasticsearch/src/operation/describe_domain_change_progress/builders.rs index 2c8243568554..88f0e1e2b1b1 100644 --- a/sdk/elasticsearch/src/operation/describe_domain_change_progress/builders.rs +++ b/sdk/elasticsearch/src/operation/describe_domain_change_progress/builders.rs @@ -19,9 +19,9 @@ impl DescribeDomainChangeProgressFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl DescribeDomainChangeProgressFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::describe_domain_change_progress::DescribeDomainChangeProgress, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::describe_domain_change_progress::DescribeDomainChangeProgressError, + >, + > { + self.customize_middleware().await + } ///

                                                                            The domain you want to get the progress information about.

                                                                            pub fn domain_name(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.domain_name(input.into()); diff --git a/sdk/elasticsearch/src/operation/describe_elasticsearch_domain/builders.rs b/sdk/elasticsearch/src/operation/describe_elasticsearch_domain/builders.rs index e07f682fece8..0520c2f63fd4 100644 --- a/sdk/elasticsearch/src/operation/describe_elasticsearch_domain/builders.rs +++ b/sdk/elasticsearch/src/operation/describe_elasticsearch_domain/builders.rs @@ -19,9 +19,9 @@ impl DescribeElasticsearchDomainFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl DescribeElasticsearchDomainFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::describe_elasticsearch_domain::DescribeElasticsearchDomain, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::describe_elasticsearch_domain::DescribeElasticsearchDomainError, + >, + > { + self.customize_middleware().await + } ///

                                                                            The name of the Elasticsearch domain for which you want information.

                                                                            pub fn domain_name(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.domain_name(input.into()); diff --git a/sdk/elasticsearch/src/operation/describe_elasticsearch_domain_config/builders.rs b/sdk/elasticsearch/src/operation/describe_elasticsearch_domain_config/builders.rs index 8506e83ea64d..6b689a7eddb4 100644 --- a/sdk/elasticsearch/src/operation/describe_elasticsearch_domain_config/builders.rs +++ b/sdk/elasticsearch/src/operation/describe_elasticsearch_domain_config/builders.rs @@ -19,9 +19,9 @@ impl DescribeElasticsearchDomainConfigFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize(self) -> ::std::result::Result< + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware(self) -> ::std::result::Result< crate::client::customize::CustomizableOperation, ::aws_smithy_http::result::SdkError >{ @@ -64,6 +64,15 @@ impl DescribeElasticsearchDomainConfigFluentBuilder { { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize(self) -> ::std::result::Result< + crate::client::customize::CustomizableOperation, + ::aws_smithy_http::result::SdkError + >{ + self.customize_middleware().await + } ///

                                                                            The Elasticsearch domain that you want to get information about.

                                                                            pub fn domain_name(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.domain_name(input.into()); diff --git a/sdk/elasticsearch/src/operation/describe_elasticsearch_domains/builders.rs b/sdk/elasticsearch/src/operation/describe_elasticsearch_domains/builders.rs index 84551b8f2d21..50c0e3ee1cc5 100644 --- a/sdk/elasticsearch/src/operation/describe_elasticsearch_domains/builders.rs +++ b/sdk/elasticsearch/src/operation/describe_elasticsearch_domains/builders.rs @@ -19,9 +19,9 @@ impl DescribeElasticsearchDomainsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl DescribeElasticsearchDomainsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::describe_elasticsearch_domains::DescribeElasticsearchDomains, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::describe_elasticsearch_domains::DescribeElasticsearchDomainsError, + >, + > { + self.customize_middleware().await + } /// Appends an item to `DomainNames`. /// /// To override the contents of this collection use [`set_domain_names`](Self::set_domain_names). diff --git a/sdk/elasticsearch/src/operation/describe_elasticsearch_instance_type_limits/builders.rs b/sdk/elasticsearch/src/operation/describe_elasticsearch_instance_type_limits/builders.rs index e44f06020582..2d6f323446ef 100644 --- a/sdk/elasticsearch/src/operation/describe_elasticsearch_instance_type_limits/builders.rs +++ b/sdk/elasticsearch/src/operation/describe_elasticsearch_instance_type_limits/builders.rs @@ -19,9 +19,9 @@ impl DescribeElasticsearchInstanceTypeLimitsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize(self) -> ::std::result::Result< + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware(self) -> ::std::result::Result< crate::client::customize::CustomizableOperation, ::aws_smithy_http::result::SdkError >{ @@ -64,6 +64,15 @@ impl DescribeElasticsearchInstanceTypeLimitsFluentBuilder { { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize(self) -> ::std::result::Result< + crate::client::customize::CustomizableOperation, + ::aws_smithy_http::result::SdkError + >{ + self.customize_middleware().await + } ///

                                                                            DomainName represents the name of the Domain that we are trying to modify. This should be present only if we are querying for Elasticsearch Limits for existing domain.

                                                                            pub fn domain_name(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.domain_name(input.into()); diff --git a/sdk/elasticsearch/src/operation/describe_inbound_cross_cluster_search_connections/builders.rs b/sdk/elasticsearch/src/operation/describe_inbound_cross_cluster_search_connections/builders.rs index 005512db9233..226bc3458f1b 100644 --- a/sdk/elasticsearch/src/operation/describe_inbound_cross_cluster_search_connections/builders.rs +++ b/sdk/elasticsearch/src/operation/describe_inbound_cross_cluster_search_connections/builders.rs @@ -19,9 +19,9 @@ impl DescribeInboundCrossClusterSearchConnectionsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize(self) -> ::std::result::Result< + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware(self) -> ::std::result::Result< crate::client::customize::CustomizableOperation, ::aws_smithy_http::result::SdkError >{ @@ -64,6 +64,15 @@ impl DescribeInboundCrossClusterSearchConnectionsFluentBuilder { { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize(self) -> ::std::result::Result< + crate::client::customize::CustomizableOperation, + ::aws_smithy_http::result::SdkError + >{ + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::describe_inbound_cross_cluster_search_connections::paginator::DescribeInboundCrossClusterSearchConnectionsPaginator::send) which returns a `Stream`. diff --git a/sdk/elasticsearch/src/operation/describe_outbound_cross_cluster_search_connections/builders.rs b/sdk/elasticsearch/src/operation/describe_outbound_cross_cluster_search_connections/builders.rs index 500f0763179d..7e579067da82 100644 --- a/sdk/elasticsearch/src/operation/describe_outbound_cross_cluster_search_connections/builders.rs +++ b/sdk/elasticsearch/src/operation/describe_outbound_cross_cluster_search_connections/builders.rs @@ -19,9 +19,9 @@ impl DescribeOutboundCrossClusterSearchConnectionsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize(self) -> ::std::result::Result< + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware(self) -> ::std::result::Result< crate::client::customize::CustomizableOperation, ::aws_smithy_http::result::SdkError >{ @@ -64,6 +64,15 @@ impl DescribeOutboundCrossClusterSearchConnectionsFluentBuilder { { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize(self) -> ::std::result::Result< + crate::client::customize::CustomizableOperation, + ::aws_smithy_http::result::SdkError + >{ + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::describe_outbound_cross_cluster_search_connections::paginator::DescribeOutboundCrossClusterSearchConnectionsPaginator::send) which returns a `Stream`. diff --git a/sdk/elasticsearch/src/operation/describe_packages/builders.rs b/sdk/elasticsearch/src/operation/describe_packages/builders.rs index 430f1668bd10..81223b51bf52 100644 --- a/sdk/elasticsearch/src/operation/describe_packages/builders.rs +++ b/sdk/elasticsearch/src/operation/describe_packages/builders.rs @@ -19,9 +19,9 @@ impl DescribePackagesFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl DescribePackagesFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::describe_packages::DescribePackages, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::describe_packages::DescribePackagesError, + >, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::describe_packages::paginator::DescribePackagesPaginator::send) which returns a `Stream`. diff --git a/sdk/elasticsearch/src/operation/describe_reserved_elasticsearch_instance_offerings/builders.rs b/sdk/elasticsearch/src/operation/describe_reserved_elasticsearch_instance_offerings/builders.rs index 97e2fb95bb5d..748c1512d380 100644 --- a/sdk/elasticsearch/src/operation/describe_reserved_elasticsearch_instance_offerings/builders.rs +++ b/sdk/elasticsearch/src/operation/describe_reserved_elasticsearch_instance_offerings/builders.rs @@ -19,9 +19,9 @@ impl DescribeReservedElasticsearchInstanceOfferingsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize(self) -> ::std::result::Result< + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware(self) -> ::std::result::Result< crate::client::customize::CustomizableOperation, ::aws_smithy_http::result::SdkError >{ @@ -64,6 +64,15 @@ impl DescribeReservedElasticsearchInstanceOfferingsFluentBuilder { { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize(self) -> ::std::result::Result< + crate::client::customize::CustomizableOperation, + ::aws_smithy_http::result::SdkError + >{ + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::describe_reserved_elasticsearch_instance_offerings::paginator::DescribeReservedElasticsearchInstanceOfferingsPaginator::send) which returns a `Stream`. diff --git a/sdk/elasticsearch/src/operation/describe_reserved_elasticsearch_instances/builders.rs b/sdk/elasticsearch/src/operation/describe_reserved_elasticsearch_instances/builders.rs index 0d684bf19fe2..1b0d96526a52 100644 --- a/sdk/elasticsearch/src/operation/describe_reserved_elasticsearch_instances/builders.rs +++ b/sdk/elasticsearch/src/operation/describe_reserved_elasticsearch_instances/builders.rs @@ -19,9 +19,9 @@ impl DescribeReservedElasticsearchInstancesFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize(self) -> ::std::result::Result< + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware(self) -> ::std::result::Result< crate::client::customize::CustomizableOperation, ::aws_smithy_http::result::SdkError >{ @@ -64,6 +64,15 @@ impl DescribeReservedElasticsearchInstancesFluentBuilder { { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize(self) -> ::std::result::Result< + crate::client::customize::CustomizableOperation, + ::aws_smithy_http::result::SdkError + >{ + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::describe_reserved_elasticsearch_instances::paginator::DescribeReservedElasticsearchInstancesPaginator::send) which returns a `Stream`. diff --git a/sdk/elasticsearch/src/operation/describe_vpc_endpoints/builders.rs b/sdk/elasticsearch/src/operation/describe_vpc_endpoints/builders.rs index 19cb09b9171b..2dfa1c4a5946 100644 --- a/sdk/elasticsearch/src/operation/describe_vpc_endpoints/builders.rs +++ b/sdk/elasticsearch/src/operation/describe_vpc_endpoints/builders.rs @@ -19,9 +19,9 @@ impl DescribeVpcEndpointsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl DescribeVpcEndpointsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::describe_vpc_endpoints::DescribeVpcEndpoints, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::describe_vpc_endpoints::DescribeVpcEndpointsError, + >, + > { + self.customize_middleware().await + } /// Appends an item to `VpcEndpointIds`. /// /// To override the contents of this collection use [`set_vpc_endpoint_ids`](Self::set_vpc_endpoint_ids). diff --git a/sdk/elasticsearch/src/operation/dissociate_package/builders.rs b/sdk/elasticsearch/src/operation/dissociate_package/builders.rs index e4617300d5c3..f28ffa0bd3ee 100644 --- a/sdk/elasticsearch/src/operation/dissociate_package/builders.rs +++ b/sdk/elasticsearch/src/operation/dissociate_package/builders.rs @@ -19,9 +19,9 @@ impl DissociatePackageFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl DissociatePackageFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::dissociate_package::DissociatePackage, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::dissociate_package::DissociatePackageError, + >, + > { + self.customize_middleware().await + } ///

                                                                            Internal ID of the package that you want to associate with a domain. Use DescribePackages to find this value.

                                                                            pub fn package_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.package_id(input.into()); diff --git a/sdk/elasticsearch/src/operation/get_compatible_elasticsearch_versions/builders.rs b/sdk/elasticsearch/src/operation/get_compatible_elasticsearch_versions/builders.rs index 364b57a8454a..720a3cd288dc 100644 --- a/sdk/elasticsearch/src/operation/get_compatible_elasticsearch_versions/builders.rs +++ b/sdk/elasticsearch/src/operation/get_compatible_elasticsearch_versions/builders.rs @@ -19,9 +19,9 @@ impl GetCompatibleElasticsearchVersionsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize(self) -> ::std::result::Result< + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware(self) -> ::std::result::Result< crate::client::customize::CustomizableOperation, ::aws_smithy_http::result::SdkError >{ @@ -64,6 +64,15 @@ impl GetCompatibleElasticsearchVersionsFluentBuilder { { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize(self) -> ::std::result::Result< + crate::client::customize::CustomizableOperation, + ::aws_smithy_http::result::SdkError + >{ + self.customize_middleware().await + } ///

                                                                            The name of an Elasticsearch domain. Domain names are unique across the domains owned by an account within an AWS region. Domain names start with a letter or number and can contain the following characters: a-z (lowercase), 0-9, and - (hyphen).

                                                                            pub fn domain_name(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.domain_name(input.into()); diff --git a/sdk/elasticsearch/src/operation/get_package_version_history/builders.rs b/sdk/elasticsearch/src/operation/get_package_version_history/builders.rs index 61f69e5db468..442770f4ca68 100644 --- a/sdk/elasticsearch/src/operation/get_package_version_history/builders.rs +++ b/sdk/elasticsearch/src/operation/get_package_version_history/builders.rs @@ -19,9 +19,9 @@ impl GetPackageVersionHistoryFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl GetPackageVersionHistoryFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::get_package_version_history::GetPackageVersionHistory, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::get_package_version_history::GetPackageVersionHistoryError, + >, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::get_package_version_history::paginator::GetPackageVersionHistoryPaginator::send) which returns a `Stream`. diff --git a/sdk/elasticsearch/src/operation/get_upgrade_history/builders.rs b/sdk/elasticsearch/src/operation/get_upgrade_history/builders.rs index ed00754585fa..3f2c669a2493 100644 --- a/sdk/elasticsearch/src/operation/get_upgrade_history/builders.rs +++ b/sdk/elasticsearch/src/operation/get_upgrade_history/builders.rs @@ -19,9 +19,9 @@ impl GetUpgradeHistoryFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl GetUpgradeHistoryFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::get_upgrade_history::GetUpgradeHistory, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::get_upgrade_history::GetUpgradeHistoryError, + >, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::get_upgrade_history::paginator::GetUpgradeHistoryPaginator::send) which returns a `Stream`. diff --git a/sdk/elasticsearch/src/operation/get_upgrade_status/builders.rs b/sdk/elasticsearch/src/operation/get_upgrade_status/builders.rs index f0c270f8501b..8b8e003bd23d 100644 --- a/sdk/elasticsearch/src/operation/get_upgrade_status/builders.rs +++ b/sdk/elasticsearch/src/operation/get_upgrade_status/builders.rs @@ -19,9 +19,9 @@ impl GetUpgradeStatusFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl GetUpgradeStatusFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::get_upgrade_status::GetUpgradeStatus, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::get_upgrade_status::GetUpgradeStatusError, + >, + > { + self.customize_middleware().await + } ///

                                                                            The name of an Elasticsearch domain. Domain names are unique across the domains owned by an account within an AWS region. Domain names start with a letter or number and can contain the following characters: a-z (lowercase), 0-9, and - (hyphen).

                                                                            pub fn domain_name(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.domain_name(input.into()); diff --git a/sdk/elasticsearch/src/operation/list_domain_names/builders.rs b/sdk/elasticsearch/src/operation/list_domain_names/builders.rs index 29b49fdd635b..4002396c94f4 100644 --- a/sdk/elasticsearch/src/operation/list_domain_names/builders.rs +++ b/sdk/elasticsearch/src/operation/list_domain_names/builders.rs @@ -19,9 +19,9 @@ impl ListDomainNamesFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl ListDomainNamesFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_domain_names::ListDomainNames, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::list_domain_names::ListDomainNamesError, + >, + > { + self.customize_middleware().await + } ///

                                                                            Optional parameter to filter the output by domain engine type. Acceptable values are 'Elasticsearch' and 'OpenSearch'.

                                                                            pub fn engine_type(mut self, input: crate::types::EngineType) -> Self { self.inner = self.inner.engine_type(input); diff --git a/sdk/elasticsearch/src/operation/list_domains_for_package/builders.rs b/sdk/elasticsearch/src/operation/list_domains_for_package/builders.rs index 8635eac4685f..8c859c1546d7 100644 --- a/sdk/elasticsearch/src/operation/list_domains_for_package/builders.rs +++ b/sdk/elasticsearch/src/operation/list_domains_for_package/builders.rs @@ -19,9 +19,9 @@ impl ListDomainsForPackageFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl ListDomainsForPackageFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_domains_for_package::ListDomainsForPackage, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::list_domains_for_package::ListDomainsForPackageError, + >, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::list_domains_for_package::paginator::ListDomainsForPackagePaginator::send) which returns a `Stream`. diff --git a/sdk/elasticsearch/src/operation/list_elasticsearch_instance_types/builders.rs b/sdk/elasticsearch/src/operation/list_elasticsearch_instance_types/builders.rs index fdeb0997c1a8..a7f9c3771670 100644 --- a/sdk/elasticsearch/src/operation/list_elasticsearch_instance_types/builders.rs +++ b/sdk/elasticsearch/src/operation/list_elasticsearch_instance_types/builders.rs @@ -19,9 +19,9 @@ impl ListElasticsearchInstanceTypesFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize(self) -> ::std::result::Result< + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware(self) -> ::std::result::Result< crate::client::customize::CustomizableOperation, ::aws_smithy_http::result::SdkError >{ @@ -64,6 +64,15 @@ impl ListElasticsearchInstanceTypesFluentBuilder { { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize(self) -> ::std::result::Result< + crate::client::customize::CustomizableOperation, + ::aws_smithy_http::result::SdkError + >{ + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::list_elasticsearch_instance_types::paginator::ListElasticsearchInstanceTypesPaginator::send) which returns a `Stream`. diff --git a/sdk/elasticsearch/src/operation/list_elasticsearch_versions/builders.rs b/sdk/elasticsearch/src/operation/list_elasticsearch_versions/builders.rs index 493c09591e01..7b8c41d510a6 100644 --- a/sdk/elasticsearch/src/operation/list_elasticsearch_versions/builders.rs +++ b/sdk/elasticsearch/src/operation/list_elasticsearch_versions/builders.rs @@ -19,9 +19,9 @@ impl ListElasticsearchVersionsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl ListElasticsearchVersionsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_elasticsearch_versions::ListElasticsearchVersions, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::list_elasticsearch_versions::ListElasticsearchVersionsError, + >, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::list_elasticsearch_versions::paginator::ListElasticsearchVersionsPaginator::send) which returns a `Stream`. diff --git a/sdk/elasticsearch/src/operation/list_packages_for_domain/builders.rs b/sdk/elasticsearch/src/operation/list_packages_for_domain/builders.rs index bb6eee40e4b1..bd5acda5c2a8 100644 --- a/sdk/elasticsearch/src/operation/list_packages_for_domain/builders.rs +++ b/sdk/elasticsearch/src/operation/list_packages_for_domain/builders.rs @@ -19,9 +19,9 @@ impl ListPackagesForDomainFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl ListPackagesForDomainFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_packages_for_domain::ListPackagesForDomain, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::list_packages_for_domain::ListPackagesForDomainError, + >, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::list_packages_for_domain::paginator::ListPackagesForDomainPaginator::send) which returns a `Stream`. diff --git a/sdk/elasticsearch/src/operation/list_tags/builders.rs b/sdk/elasticsearch/src/operation/list_tags/builders.rs index 0918a7a48ef0..b96256f8b414 100644 --- a/sdk/elasticsearch/src/operation/list_tags/builders.rs +++ b/sdk/elasticsearch/src/operation/list_tags/builders.rs @@ -19,9 +19,9 @@ impl ListTagsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl ListTagsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_tags::ListTags, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                            Specify the ARN for the Elasticsearch domain to which the tags are attached that you want to view.

                                                                            pub fn arn(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.arn(input.into()); diff --git a/sdk/elasticsearch/src/operation/list_vpc_endpoint_access/builders.rs b/sdk/elasticsearch/src/operation/list_vpc_endpoint_access/builders.rs index b401d71c1455..ceb5ee3de5f0 100644 --- a/sdk/elasticsearch/src/operation/list_vpc_endpoint_access/builders.rs +++ b/sdk/elasticsearch/src/operation/list_vpc_endpoint_access/builders.rs @@ -19,9 +19,9 @@ impl ListVpcEndpointAccessFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl ListVpcEndpointAccessFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_vpc_endpoint_access::ListVpcEndpointAccess, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::list_vpc_endpoint_access::ListVpcEndpointAccessError, + >, + > { + self.customize_middleware().await + } ///

                                                                            The name of the OpenSearch Service domain to retrieve access information for.

                                                                            pub fn domain_name(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.domain_name(input.into()); diff --git a/sdk/elasticsearch/src/operation/list_vpc_endpoints/builders.rs b/sdk/elasticsearch/src/operation/list_vpc_endpoints/builders.rs index e102cb251e2f..50451c459d97 100644 --- a/sdk/elasticsearch/src/operation/list_vpc_endpoints/builders.rs +++ b/sdk/elasticsearch/src/operation/list_vpc_endpoints/builders.rs @@ -19,9 +19,9 @@ impl ListVpcEndpointsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl ListVpcEndpointsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_vpc_endpoints::ListVpcEndpoints, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::list_vpc_endpoints::ListVpcEndpointsError, + >, + > { + self.customize_middleware().await + } ///

                                                                            Identifier to allow retrieval of paginated results.

                                                                            pub fn next_token(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.next_token(input.into()); diff --git a/sdk/elasticsearch/src/operation/list_vpc_endpoints_for_domain/builders.rs b/sdk/elasticsearch/src/operation/list_vpc_endpoints_for_domain/builders.rs index 393c652233bd..4e25e0391388 100644 --- a/sdk/elasticsearch/src/operation/list_vpc_endpoints_for_domain/builders.rs +++ b/sdk/elasticsearch/src/operation/list_vpc_endpoints_for_domain/builders.rs @@ -19,9 +19,9 @@ impl ListVpcEndpointsForDomainFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl ListVpcEndpointsForDomainFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_vpc_endpoints_for_domain::ListVpcEndpointsForDomain, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::list_vpc_endpoints_for_domain::ListVpcEndpointsForDomainError, + >, + > { + self.customize_middleware().await + } ///

                                                                            Name of the ElasticSearch domain whose VPC endpoints are to be listed.

                                                                            pub fn domain_name(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.domain_name(input.into()); diff --git a/sdk/elasticsearch/src/operation/purchase_reserved_elasticsearch_instance_offering/builders.rs b/sdk/elasticsearch/src/operation/purchase_reserved_elasticsearch_instance_offering/builders.rs index b51728b1d464..052213fc7e28 100644 --- a/sdk/elasticsearch/src/operation/purchase_reserved_elasticsearch_instance_offering/builders.rs +++ b/sdk/elasticsearch/src/operation/purchase_reserved_elasticsearch_instance_offering/builders.rs @@ -19,9 +19,9 @@ impl PurchaseReservedElasticsearchInstanceOfferingFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize(self) -> ::std::result::Result< + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware(self) -> ::std::result::Result< crate::client::customize::CustomizableOperation, ::aws_smithy_http::result::SdkError >{ @@ -64,6 +64,15 @@ impl PurchaseReservedElasticsearchInstanceOfferingFluentBuilder { { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize(self) -> ::std::result::Result< + crate::client::customize::CustomizableOperation, + ::aws_smithy_http::result::SdkError + >{ + self.customize_middleware().await + } ///

                                                                            The ID of the reserved Elasticsearch instance offering to purchase.

                                                                            pub fn reserved_elasticsearch_instance_offering_id( mut self, diff --git a/sdk/elasticsearch/src/operation/reject_inbound_cross_cluster_search_connection/builders.rs b/sdk/elasticsearch/src/operation/reject_inbound_cross_cluster_search_connection/builders.rs index 0e1438f8a2a7..1224679f4b9c 100644 --- a/sdk/elasticsearch/src/operation/reject_inbound_cross_cluster_search_connection/builders.rs +++ b/sdk/elasticsearch/src/operation/reject_inbound_cross_cluster_search_connection/builders.rs @@ -19,9 +19,9 @@ impl RejectInboundCrossClusterSearchConnectionFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize(self) -> ::std::result::Result< + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware(self) -> ::std::result::Result< crate::client::customize::CustomizableOperation, ::aws_smithy_http::result::SdkError >{ @@ -64,6 +64,15 @@ impl RejectInboundCrossClusterSearchConnectionFluentBuilder { { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize(self) -> ::std::result::Result< + crate::client::customize::CustomizableOperation, + ::aws_smithy_http::result::SdkError + >{ + self.customize_middleware().await + } ///

                                                                            The id of the inbound connection that you want to reject.

                                                                            pub fn cross_cluster_search_connection_id( mut self, diff --git a/sdk/elasticsearch/src/operation/remove_tags/builders.rs b/sdk/elasticsearch/src/operation/remove_tags/builders.rs index b0c14cf13b7b..90b6af518c59 100644 --- a/sdk/elasticsearch/src/operation/remove_tags/builders.rs +++ b/sdk/elasticsearch/src/operation/remove_tags/builders.rs @@ -19,9 +19,9 @@ impl RemoveTagsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl RemoveTagsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::remove_tags::RemoveTags, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                            Specifies the ARN for the Elasticsearch domain from which you want to delete the specified tags.

                                                                            pub fn arn(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.arn(input.into()); diff --git a/sdk/elasticsearch/src/operation/revoke_vpc_endpoint_access/builders.rs b/sdk/elasticsearch/src/operation/revoke_vpc_endpoint_access/builders.rs index c88b8d9386ec..0b1ddb0a383a 100644 --- a/sdk/elasticsearch/src/operation/revoke_vpc_endpoint_access/builders.rs +++ b/sdk/elasticsearch/src/operation/revoke_vpc_endpoint_access/builders.rs @@ -20,9 +20,9 @@ impl RevokeVpcEndpointAccessFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -84,6 +84,22 @@ impl RevokeVpcEndpointAccessFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::revoke_vpc_endpoint_access::RevokeVpcEndpointAccess, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::revoke_vpc_endpoint_access::RevokeVpcEndpointAccessError, + >, + > { + self.customize_middleware().await + } ///

                                                                            The name of the OpenSearch Service domain.

                                                                            pub fn domain_name(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.domain_name(input.into()); diff --git a/sdk/elasticsearch/src/operation/start_elasticsearch_service_software_update/builders.rs b/sdk/elasticsearch/src/operation/start_elasticsearch_service_software_update/builders.rs index 9ee595cc105a..ceecb4e8f221 100644 --- a/sdk/elasticsearch/src/operation/start_elasticsearch_service_software_update/builders.rs +++ b/sdk/elasticsearch/src/operation/start_elasticsearch_service_software_update/builders.rs @@ -19,9 +19,9 @@ impl StartElasticsearchServiceSoftwareUpdateFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize(self) -> ::std::result::Result< + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware(self) -> ::std::result::Result< crate::client::customize::CustomizableOperation, ::aws_smithy_http::result::SdkError >{ @@ -64,6 +64,15 @@ impl StartElasticsearchServiceSoftwareUpdateFluentBuilder { { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize(self) -> ::std::result::Result< + crate::client::customize::CustomizableOperation, + ::aws_smithy_http::result::SdkError + >{ + self.customize_middleware().await + } ///

                                                                            The name of the domain that you want to update to the latest service software.

                                                                            pub fn domain_name(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.domain_name(input.into()); diff --git a/sdk/elasticsearch/src/operation/update_elasticsearch_domain_config/builders.rs b/sdk/elasticsearch/src/operation/update_elasticsearch_domain_config/builders.rs index 3cc084d6e688..e37a9fe95249 100644 --- a/sdk/elasticsearch/src/operation/update_elasticsearch_domain_config/builders.rs +++ b/sdk/elasticsearch/src/operation/update_elasticsearch_domain_config/builders.rs @@ -19,9 +19,9 @@ impl UpdateElasticsearchDomainConfigFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize(self) -> ::std::result::Result< + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware(self) -> ::std::result::Result< crate::client::customize::CustomizableOperation, ::aws_smithy_http::result::SdkError >{ @@ -64,6 +64,15 @@ impl UpdateElasticsearchDomainConfigFluentBuilder { { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize(self) -> ::std::result::Result< + crate::client::customize::CustomizableOperation, + ::aws_smithy_http::result::SdkError + >{ + self.customize_middleware().await + } ///

                                                                            The name of the Elasticsearch domain that you are updating.

                                                                            pub fn domain_name(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.domain_name(input.into()); diff --git a/sdk/elasticsearch/src/operation/update_package/builders.rs b/sdk/elasticsearch/src/operation/update_package/builders.rs index 81279353da58..1d7c28512e25 100644 --- a/sdk/elasticsearch/src/operation/update_package/builders.rs +++ b/sdk/elasticsearch/src/operation/update_package/builders.rs @@ -19,9 +19,9 @@ impl UpdatePackageFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl UpdatePackageFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::update_package::UpdatePackage, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                            Unique identifier for the package.

                                                                            pub fn package_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.package_id(input.into()); diff --git a/sdk/elasticsearch/src/operation/update_vpc_endpoint/builders.rs b/sdk/elasticsearch/src/operation/update_vpc_endpoint/builders.rs index ec3e6dcb8498..143aa6413d97 100644 --- a/sdk/elasticsearch/src/operation/update_vpc_endpoint/builders.rs +++ b/sdk/elasticsearch/src/operation/update_vpc_endpoint/builders.rs @@ -19,9 +19,9 @@ impl UpdateVpcEndpointFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl UpdateVpcEndpointFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::update_vpc_endpoint::UpdateVpcEndpoint, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::update_vpc_endpoint::UpdateVpcEndpointError, + >, + > { + self.customize_middleware().await + } ///

                                                                            Unique identifier of the VPC endpoint to be updated.

                                                                            pub fn vpc_endpoint_id( mut self, diff --git a/sdk/elasticsearch/src/operation/upgrade_elasticsearch_domain/builders.rs b/sdk/elasticsearch/src/operation/upgrade_elasticsearch_domain/builders.rs index ad72fd4a7003..3b7b7240b267 100644 --- a/sdk/elasticsearch/src/operation/upgrade_elasticsearch_domain/builders.rs +++ b/sdk/elasticsearch/src/operation/upgrade_elasticsearch_domain/builders.rs @@ -19,9 +19,9 @@ impl UpgradeElasticsearchDomainFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl UpgradeElasticsearchDomainFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::upgrade_elasticsearch_domain::UpgradeElasticsearchDomain, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::upgrade_elasticsearch_domain::UpgradeElasticsearchDomainError, + >, + > { + self.customize_middleware().await + } ///

                                                                            The name of an Elasticsearch domain. Domain names are unique across the domains owned by an account within an AWS region. Domain names start with a letter or number and can contain the following characters: a-z (lowercase), 0-9, and - (hyphen).

                                                                            pub fn domain_name(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.domain_name(input.into()); diff --git a/sdk/elastictranscoder/src/operation/cancel_job/builders.rs b/sdk/elastictranscoder/src/operation/cancel_job/builders.rs index a468d4084c5c..02f81f8686d3 100644 --- a/sdk/elastictranscoder/src/operation/cancel_job/builders.rs +++ b/sdk/elastictranscoder/src/operation/cancel_job/builders.rs @@ -21,9 +21,9 @@ impl CancelJobFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -79,6 +79,20 @@ impl CancelJobFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::cancel_job::CancelJob, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                            The identifier of the job that you want to cancel.

                                                                            ///

                                                                            To get a list of the jobs (including their jobId) that have a status of Submitted, use the ListJobsByStatus API action.

                                                                            pub fn id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { diff --git a/sdk/elastictranscoder/src/operation/create_job/builders.rs b/sdk/elastictranscoder/src/operation/create_job/builders.rs index 3dde4357a143..262eec3ff836 100644 --- a/sdk/elastictranscoder/src/operation/create_job/builders.rs +++ b/sdk/elastictranscoder/src/operation/create_job/builders.rs @@ -20,9 +20,9 @@ impl CreateJobFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -78,6 +78,20 @@ impl CreateJobFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::create_job::CreateJob, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                            The Id of the pipeline that you want Elastic Transcoder to use for transcoding. The pipeline determines several settings, including the Amazon S3 bucket from which Elastic Transcoder gets the files to transcode and the bucket into which Elastic Transcoder puts the transcoded files.

                                                                            pub fn pipeline_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.pipeline_id(input.into()); diff --git a/sdk/elastictranscoder/src/operation/create_pipeline/builders.rs b/sdk/elastictranscoder/src/operation/create_pipeline/builders.rs index 5d26d181d9ff..cdfdbfcae7f8 100644 --- a/sdk/elastictranscoder/src/operation/create_pipeline/builders.rs +++ b/sdk/elastictranscoder/src/operation/create_pipeline/builders.rs @@ -19,9 +19,9 @@ impl CreatePipelineFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl CreatePipelineFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::create_pipeline::CreatePipeline, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                            The name of the pipeline. We recommend that the name be unique within the AWS account, but uniqueness is not enforced.

                                                                            ///

                                                                            Constraints: Maximum 40 characters.

                                                                            pub fn name(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { diff --git a/sdk/elastictranscoder/src/operation/create_preset/builders.rs b/sdk/elastictranscoder/src/operation/create_preset/builders.rs index 94fa3793b8b5..1da787e80ecd 100644 --- a/sdk/elastictranscoder/src/operation/create_preset/builders.rs +++ b/sdk/elastictranscoder/src/operation/create_preset/builders.rs @@ -22,9 +22,9 @@ impl CreatePresetFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -80,6 +80,20 @@ impl CreatePresetFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::create_preset::CreatePreset, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                            The name of the preset. We recommend that the name be unique within the AWS account, but uniqueness is not enforced.

                                                                            pub fn name(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.name(input.into()); diff --git a/sdk/elastictranscoder/src/operation/delete_pipeline/builders.rs b/sdk/elastictranscoder/src/operation/delete_pipeline/builders.rs index 536075068ec9..9c6b16576b30 100644 --- a/sdk/elastictranscoder/src/operation/delete_pipeline/builders.rs +++ b/sdk/elastictranscoder/src/operation/delete_pipeline/builders.rs @@ -20,9 +20,9 @@ impl DeletePipelineFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -78,6 +78,20 @@ impl DeletePipelineFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::delete_pipeline::DeletePipeline, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                            The identifier of the pipeline that you want to delete.

                                                                            pub fn id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.id(input.into()); diff --git a/sdk/elastictranscoder/src/operation/delete_preset/builders.rs b/sdk/elastictranscoder/src/operation/delete_preset/builders.rs index 6fa0b1795d5b..d664e17eefa5 100644 --- a/sdk/elastictranscoder/src/operation/delete_preset/builders.rs +++ b/sdk/elastictranscoder/src/operation/delete_preset/builders.rs @@ -21,9 +21,9 @@ impl DeletePresetFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -79,6 +79,20 @@ impl DeletePresetFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::delete_preset::DeletePreset, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                            The identifier of the preset for which you want to get detailed information.

                                                                            pub fn id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.id(input.into()); diff --git a/sdk/elastictranscoder/src/operation/list_jobs_by_pipeline/builders.rs b/sdk/elastictranscoder/src/operation/list_jobs_by_pipeline/builders.rs index 4fdcefc73431..49f22116ad64 100644 --- a/sdk/elastictranscoder/src/operation/list_jobs_by_pipeline/builders.rs +++ b/sdk/elastictranscoder/src/operation/list_jobs_by_pipeline/builders.rs @@ -20,9 +20,9 @@ impl ListJobsByPipelineFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -84,6 +84,22 @@ impl ListJobsByPipelineFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_jobs_by_pipeline::ListJobsByPipeline, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::list_jobs_by_pipeline::ListJobsByPipelineError, + >, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::list_jobs_by_pipeline::paginator::ListJobsByPipelinePaginator::send) which returns a `Stream`. diff --git a/sdk/elastictranscoder/src/operation/list_jobs_by_status/builders.rs b/sdk/elastictranscoder/src/operation/list_jobs_by_status/builders.rs index 00323f93131d..990301e072c1 100644 --- a/sdk/elastictranscoder/src/operation/list_jobs_by_status/builders.rs +++ b/sdk/elastictranscoder/src/operation/list_jobs_by_status/builders.rs @@ -19,9 +19,9 @@ impl ListJobsByStatusFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl ListJobsByStatusFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_jobs_by_status::ListJobsByStatus, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::list_jobs_by_status::ListJobsByStatusError, + >, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::list_jobs_by_status::paginator::ListJobsByStatusPaginator::send) which returns a `Stream`. diff --git a/sdk/elastictranscoder/src/operation/list_pipelines/builders.rs b/sdk/elastictranscoder/src/operation/list_pipelines/builders.rs index 4010259fa03f..da52c9564f0b 100644 --- a/sdk/elastictranscoder/src/operation/list_pipelines/builders.rs +++ b/sdk/elastictranscoder/src/operation/list_pipelines/builders.rs @@ -19,9 +19,9 @@ impl ListPipelinesFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl ListPipelinesFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_pipelines::ListPipelines, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::list_pipelines::paginator::ListPipelinesPaginator::send) which returns a `Stream`. diff --git a/sdk/elastictranscoder/src/operation/list_presets/builders.rs b/sdk/elastictranscoder/src/operation/list_presets/builders.rs index c18e83ac2990..5344f5811a36 100644 --- a/sdk/elastictranscoder/src/operation/list_presets/builders.rs +++ b/sdk/elastictranscoder/src/operation/list_presets/builders.rs @@ -19,9 +19,9 @@ impl ListPresetsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl ListPresetsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_presets::ListPresets, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::list_presets::paginator::ListPresetsPaginator::send) which returns a `Stream`. diff --git a/sdk/elastictranscoder/src/operation/read_job/builders.rs b/sdk/elastictranscoder/src/operation/read_job/builders.rs index 310c89da3b8a..c76141c0cbe3 100644 --- a/sdk/elastictranscoder/src/operation/read_job/builders.rs +++ b/sdk/elastictranscoder/src/operation/read_job/builders.rs @@ -19,9 +19,9 @@ impl ReadJobFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl ReadJobFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::read_job::ReadJob, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                            The identifier of the job for which you want to get detailed information.

                                                                            pub fn id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.id(input.into()); diff --git a/sdk/elastictranscoder/src/operation/read_pipeline/builders.rs b/sdk/elastictranscoder/src/operation/read_pipeline/builders.rs index e76b88d21432..dec22d5dc122 100644 --- a/sdk/elastictranscoder/src/operation/read_pipeline/builders.rs +++ b/sdk/elastictranscoder/src/operation/read_pipeline/builders.rs @@ -19,9 +19,9 @@ impl ReadPipelineFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl ReadPipelineFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::read_pipeline::ReadPipeline, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                            The identifier of the pipeline to read.

                                                                            pub fn id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.id(input.into()); diff --git a/sdk/elastictranscoder/src/operation/read_preset/builders.rs b/sdk/elastictranscoder/src/operation/read_preset/builders.rs index d7b55a7658e8..d23de63c4400 100644 --- a/sdk/elastictranscoder/src/operation/read_preset/builders.rs +++ b/sdk/elastictranscoder/src/operation/read_preset/builders.rs @@ -19,9 +19,9 @@ impl ReadPresetFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl ReadPresetFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::read_preset::ReadPreset, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                            The identifier of the preset for which you want to get detailed information.

                                                                            pub fn id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.id(input.into()); diff --git a/sdk/elastictranscoder/src/operation/test_role/builders.rs b/sdk/elastictranscoder/src/operation/test_role/builders.rs index 702cbecbedea..d6da51ae37e8 100644 --- a/sdk/elastictranscoder/src/operation/test_role/builders.rs +++ b/sdk/elastictranscoder/src/operation/test_role/builders.rs @@ -21,9 +21,9 @@ impl TestRoleFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -79,6 +79,20 @@ impl TestRoleFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::test_role::TestRole, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                            The IAM Amazon Resource Name (ARN) for the role that you want Elastic Transcoder to test.

                                                                            pub fn role(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.role(input.into()); diff --git a/sdk/elastictranscoder/src/operation/update_pipeline/builders.rs b/sdk/elastictranscoder/src/operation/update_pipeline/builders.rs index 1657c5dbfd75..eb5c31f68caa 100644 --- a/sdk/elastictranscoder/src/operation/update_pipeline/builders.rs +++ b/sdk/elastictranscoder/src/operation/update_pipeline/builders.rs @@ -21,9 +21,9 @@ impl UpdatePipelineFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -79,6 +79,20 @@ impl UpdatePipelineFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::update_pipeline::UpdatePipeline, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                            The ID of the pipeline that you want to update.

                                                                            pub fn id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.id(input.into()); diff --git a/sdk/elastictranscoder/src/operation/update_pipeline_notifications/builders.rs b/sdk/elastictranscoder/src/operation/update_pipeline_notifications/builders.rs index 7ee5ee112fce..f7353ec6ccc0 100644 --- a/sdk/elastictranscoder/src/operation/update_pipeline_notifications/builders.rs +++ b/sdk/elastictranscoder/src/operation/update_pipeline_notifications/builders.rs @@ -20,9 +20,9 @@ impl UpdatePipelineNotificationsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -84,6 +84,22 @@ impl UpdatePipelineNotificationsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::update_pipeline_notifications::UpdatePipelineNotifications, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::update_pipeline_notifications::UpdatePipelineNotificationsError, + >, + > { + self.customize_middleware().await + } ///

                                                                            The identifier of the pipeline for which you want to change notification settings.

                                                                            pub fn id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.id(input.into()); diff --git a/sdk/elastictranscoder/src/operation/update_pipeline_status/builders.rs b/sdk/elastictranscoder/src/operation/update_pipeline_status/builders.rs index 97744f5864de..dce2962c62ba 100644 --- a/sdk/elastictranscoder/src/operation/update_pipeline_status/builders.rs +++ b/sdk/elastictranscoder/src/operation/update_pipeline_status/builders.rs @@ -20,9 +20,9 @@ impl UpdatePipelineStatusFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -84,6 +84,22 @@ impl UpdatePipelineStatusFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::update_pipeline_status::UpdatePipelineStatus, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::update_pipeline_status::UpdatePipelineStatusError, + >, + > { + self.customize_middleware().await + } ///

                                                                            The identifier of the pipeline to update.

                                                                            pub fn id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.id(input.into()); diff --git a/sdk/emr/src/operation/add_instance_fleet/builders.rs b/sdk/emr/src/operation/add_instance_fleet/builders.rs index dd86197573d4..aac70c7f4f84 100644 --- a/sdk/emr/src/operation/add_instance_fleet/builders.rs +++ b/sdk/emr/src/operation/add_instance_fleet/builders.rs @@ -21,9 +21,9 @@ impl AddInstanceFleetFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -85,6 +85,22 @@ impl AddInstanceFleetFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::add_instance_fleet::AddInstanceFleet, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::add_instance_fleet::AddInstanceFleetError, + >, + > { + self.customize_middleware().await + } ///

                                                                            The unique identifier of the cluster.

                                                                            pub fn cluster_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.cluster_id(input.into()); diff --git a/sdk/emr/src/operation/add_instance_groups/builders.rs b/sdk/emr/src/operation/add_instance_groups/builders.rs index 1d6e939a8059..11835d087553 100644 --- a/sdk/emr/src/operation/add_instance_groups/builders.rs +++ b/sdk/emr/src/operation/add_instance_groups/builders.rs @@ -19,9 +19,9 @@ impl AddInstanceGroupsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl AddInstanceGroupsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::add_instance_groups::AddInstanceGroups, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::add_instance_groups::AddInstanceGroupsError, + >, + > { + self.customize_middleware().await + } /// Appends an item to `InstanceGroups`. /// /// To override the contents of this collection use [`set_instance_groups`](Self::set_instance_groups). diff --git a/sdk/emr/src/operation/add_job_flow_steps/builders.rs b/sdk/emr/src/operation/add_job_flow_steps/builders.rs index 546600de31ba..644e3d2215cf 100644 --- a/sdk/emr/src/operation/add_job_flow_steps/builders.rs +++ b/sdk/emr/src/operation/add_job_flow_steps/builders.rs @@ -25,9 +25,9 @@ impl AddJobFlowStepsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -89,6 +89,22 @@ impl AddJobFlowStepsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::add_job_flow_steps::AddJobFlowSteps, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::add_job_flow_steps::AddJobFlowStepsError, + >, + > { + self.customize_middleware().await + } ///

                                                                            A string that uniquely identifies the job flow. This identifier is returned by RunJobFlow and can also be obtained from ListClusters.

                                                                            pub fn job_flow_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.job_flow_id(input.into()); diff --git a/sdk/emr/src/operation/add_tags/builders.rs b/sdk/emr/src/operation/add_tags/builders.rs index ee3a6ca72297..521c758aa1ab 100644 --- a/sdk/emr/src/operation/add_tags/builders.rs +++ b/sdk/emr/src/operation/add_tags/builders.rs @@ -19,9 +19,9 @@ impl AddTagsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl AddTagsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::add_tags::AddTags, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                            The Amazon EMR resource identifier to which tags will be added. For example, a cluster identifier or an Amazon EMR Studio ID.

                                                                            pub fn resource_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.resource_id(input.into()); diff --git a/sdk/emr/src/operation/cancel_steps/builders.rs b/sdk/emr/src/operation/cancel_steps/builders.rs index 342365a3f472..312197bac2a2 100644 --- a/sdk/emr/src/operation/cancel_steps/builders.rs +++ b/sdk/emr/src/operation/cancel_steps/builders.rs @@ -19,9 +19,9 @@ impl CancelStepsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl CancelStepsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::cancel_steps::CancelSteps, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                            The ClusterID for the specified steps that will be canceled. Use RunJobFlow and ListClusters to get ClusterIDs.

                                                                            pub fn cluster_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.cluster_id(input.into()); diff --git a/sdk/emr/src/operation/create_security_configuration/builders.rs b/sdk/emr/src/operation/create_security_configuration/builders.rs index 770bbddb1587..4906b41c9a37 100644 --- a/sdk/emr/src/operation/create_security_configuration/builders.rs +++ b/sdk/emr/src/operation/create_security_configuration/builders.rs @@ -19,9 +19,9 @@ impl CreateSecurityConfigurationFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl CreateSecurityConfigurationFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::create_security_configuration::CreateSecurityConfiguration, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::create_security_configuration::CreateSecurityConfigurationError, + >, + > { + self.customize_middleware().await + } ///

                                                                            The name of the security configuration.

                                                                            pub fn name(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.name(input.into()); diff --git a/sdk/emr/src/operation/create_studio/builders.rs b/sdk/emr/src/operation/create_studio/builders.rs index 803eb0ac1306..b6344373b15d 100644 --- a/sdk/emr/src/operation/create_studio/builders.rs +++ b/sdk/emr/src/operation/create_studio/builders.rs @@ -19,9 +19,9 @@ impl CreateStudioFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl CreateStudioFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::create_studio::CreateStudio, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                            A descriptive name for the Amazon EMR Studio.

                                                                            pub fn name(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.name(input.into()); diff --git a/sdk/emr/src/operation/create_studio_session_mapping/builders.rs b/sdk/emr/src/operation/create_studio_session_mapping/builders.rs index b25d455aa288..44cda897b754 100644 --- a/sdk/emr/src/operation/create_studio_session_mapping/builders.rs +++ b/sdk/emr/src/operation/create_studio_session_mapping/builders.rs @@ -19,9 +19,9 @@ impl CreateStudioSessionMappingFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl CreateStudioSessionMappingFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::create_studio_session_mapping::CreateStudioSessionMapping, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::create_studio_session_mapping::CreateStudioSessionMappingError, + >, + > { + self.customize_middleware().await + } ///

                                                                            The ID of the Amazon EMR Studio to which the user or group will be mapped.

                                                                            pub fn studio_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.studio_id(input.into()); diff --git a/sdk/emr/src/operation/delete_security_configuration/builders.rs b/sdk/emr/src/operation/delete_security_configuration/builders.rs index 077a78068d76..81e419262f42 100644 --- a/sdk/emr/src/operation/delete_security_configuration/builders.rs +++ b/sdk/emr/src/operation/delete_security_configuration/builders.rs @@ -19,9 +19,9 @@ impl DeleteSecurityConfigurationFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl DeleteSecurityConfigurationFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::delete_security_configuration::DeleteSecurityConfiguration, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::delete_security_configuration::DeleteSecurityConfigurationError, + >, + > { + self.customize_middleware().await + } ///

                                                                            The name of the security configuration.

                                                                            pub fn name(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.name(input.into()); diff --git a/sdk/emr/src/operation/delete_studio/builders.rs b/sdk/emr/src/operation/delete_studio/builders.rs index e9ca87e5ed7d..0bc58c090dae 100644 --- a/sdk/emr/src/operation/delete_studio/builders.rs +++ b/sdk/emr/src/operation/delete_studio/builders.rs @@ -19,9 +19,9 @@ impl DeleteStudioFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl DeleteStudioFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::delete_studio::DeleteStudio, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                            The ID of the Amazon EMR Studio.

                                                                            pub fn studio_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.studio_id(input.into()); diff --git a/sdk/emr/src/operation/delete_studio_session_mapping/builders.rs b/sdk/emr/src/operation/delete_studio_session_mapping/builders.rs index 1a4fc1f98b5c..d1e7cf60cbb8 100644 --- a/sdk/emr/src/operation/delete_studio_session_mapping/builders.rs +++ b/sdk/emr/src/operation/delete_studio_session_mapping/builders.rs @@ -19,9 +19,9 @@ impl DeleteStudioSessionMappingFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl DeleteStudioSessionMappingFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::delete_studio_session_mapping::DeleteStudioSessionMapping, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::delete_studio_session_mapping::DeleteStudioSessionMappingError, + >, + > { + self.customize_middleware().await + } ///

                                                                            The ID of the Amazon EMR Studio.

                                                                            pub fn studio_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.studio_id(input.into()); diff --git a/sdk/emr/src/operation/describe_cluster/builders.rs b/sdk/emr/src/operation/describe_cluster/builders.rs index df02fd548403..016d199f78ff 100644 --- a/sdk/emr/src/operation/describe_cluster/builders.rs +++ b/sdk/emr/src/operation/describe_cluster/builders.rs @@ -19,9 +19,9 @@ impl DescribeClusterFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl DescribeClusterFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::describe_cluster::DescribeCluster, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::describe_cluster::DescribeClusterError, + >, + > { + self.customize_middleware().await + } ///

                                                                            The identifier of the cluster to describe.

                                                                            pub fn cluster_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.cluster_id(input.into()); diff --git a/sdk/emr/src/operation/describe_job_flows/builders.rs b/sdk/emr/src/operation/describe_job_flows/builders.rs index 8ade19eca74a..aa66af00b3e5 100644 --- a/sdk/emr/src/operation/describe_job_flows/builders.rs +++ b/sdk/emr/src/operation/describe_job_flows/builders.rs @@ -28,9 +28,9 @@ impl DescribeJobFlowsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -92,6 +92,22 @@ impl DescribeJobFlowsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::describe_job_flows::DescribeJobFlows, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::describe_job_flows::DescribeJobFlowsError, + >, + > { + self.customize_middleware().await + } ///

                                                                            Return only job flows created after this date and time.

                                                                            pub fn created_after(mut self, input: ::aws_smithy_types::DateTime) -> Self { self.inner = self.inner.created_after(input); diff --git a/sdk/emr/src/operation/describe_notebook_execution/builders.rs b/sdk/emr/src/operation/describe_notebook_execution/builders.rs index 53a74be1431b..e739cf1a7b31 100644 --- a/sdk/emr/src/operation/describe_notebook_execution/builders.rs +++ b/sdk/emr/src/operation/describe_notebook_execution/builders.rs @@ -19,9 +19,9 @@ impl DescribeNotebookExecutionFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl DescribeNotebookExecutionFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::describe_notebook_execution::DescribeNotebookExecution, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::describe_notebook_execution::DescribeNotebookExecutionError, + >, + > { + self.customize_middleware().await + } ///

                                                                            The unique identifier of the notebook execution.

                                                                            pub fn notebook_execution_id( mut self, diff --git a/sdk/emr/src/operation/describe_release_label/builders.rs b/sdk/emr/src/operation/describe_release_label/builders.rs index 08e115ef9cc7..848df278c0ee 100644 --- a/sdk/emr/src/operation/describe_release_label/builders.rs +++ b/sdk/emr/src/operation/describe_release_label/builders.rs @@ -19,9 +19,9 @@ impl DescribeReleaseLabelFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl DescribeReleaseLabelFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::describe_release_label::DescribeReleaseLabel, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::describe_release_label::DescribeReleaseLabelError, + >, + > { + self.customize_middleware().await + } ///

                                                                            The target release label to be described.

                                                                            pub fn release_label( mut self, diff --git a/sdk/emr/src/operation/describe_security_configuration/builders.rs b/sdk/emr/src/operation/describe_security_configuration/builders.rs index c69371f2729c..bc0be10fe0b0 100644 --- a/sdk/emr/src/operation/describe_security_configuration/builders.rs +++ b/sdk/emr/src/operation/describe_security_configuration/builders.rs @@ -19,9 +19,9 @@ impl DescribeSecurityConfigurationFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl DescribeSecurityConfigurationFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::describe_security_configuration::DescribeSecurityConfiguration, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::describe_security_configuration::DescribeSecurityConfigurationError, + >, + > { + self.customize_middleware().await + } ///

                                                                            The name of the security configuration.

                                                                            pub fn name(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.name(input.into()); diff --git a/sdk/emr/src/operation/describe_step/builders.rs b/sdk/emr/src/operation/describe_step/builders.rs index 8f190b0f0eb7..9ad48803f7b0 100644 --- a/sdk/emr/src/operation/describe_step/builders.rs +++ b/sdk/emr/src/operation/describe_step/builders.rs @@ -19,9 +19,9 @@ impl DescribeStepFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl DescribeStepFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::describe_step::DescribeStep, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                            The identifier of the cluster with steps to describe.

                                                                            pub fn cluster_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.cluster_id(input.into()); diff --git a/sdk/emr/src/operation/describe_studio/builders.rs b/sdk/emr/src/operation/describe_studio/builders.rs index 50d4f7f1f4c6..a959556edc10 100644 --- a/sdk/emr/src/operation/describe_studio/builders.rs +++ b/sdk/emr/src/operation/describe_studio/builders.rs @@ -19,9 +19,9 @@ impl DescribeStudioFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl DescribeStudioFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::describe_studio::DescribeStudio, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                            The Amazon EMR Studio ID.

                                                                            pub fn studio_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.studio_id(input.into()); diff --git a/sdk/emr/src/operation/get_auto_termination_policy/builders.rs b/sdk/emr/src/operation/get_auto_termination_policy/builders.rs index 4ccf875a6873..5d8c76570fa8 100644 --- a/sdk/emr/src/operation/get_auto_termination_policy/builders.rs +++ b/sdk/emr/src/operation/get_auto_termination_policy/builders.rs @@ -19,9 +19,9 @@ impl GetAutoTerminationPolicyFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl GetAutoTerminationPolicyFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::get_auto_termination_policy::GetAutoTerminationPolicy, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::get_auto_termination_policy::GetAutoTerminationPolicyError, + >, + > { + self.customize_middleware().await + } ///

                                                                            Specifies the ID of the Amazon EMR cluster for which the auto-termination policy will be fetched.

                                                                            pub fn cluster_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.cluster_id(input.into()); diff --git a/sdk/emr/src/operation/get_block_public_access_configuration/builders.rs b/sdk/emr/src/operation/get_block_public_access_configuration/builders.rs index 95827200ec2a..26471c9c16c7 100644 --- a/sdk/emr/src/operation/get_block_public_access_configuration/builders.rs +++ b/sdk/emr/src/operation/get_block_public_access_configuration/builders.rs @@ -19,9 +19,9 @@ impl GetBlockPublicAccessConfigurationFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize(self) -> ::std::result::Result< + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware(self) -> ::std::result::Result< crate::client::customize::CustomizableOperation, ::aws_smithy_http::result::SdkError >{ @@ -64,4 +64,13 @@ impl GetBlockPublicAccessConfigurationFluentBuilder { { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize(self) -> ::std::result::Result< + crate::client::customize::CustomizableOperation, + ::aws_smithy_http::result::SdkError + >{ + self.customize_middleware().await + } } diff --git a/sdk/emr/src/operation/get_cluster_session_credentials/builders.rs b/sdk/emr/src/operation/get_cluster_session_credentials/builders.rs index 17c302c8b2c5..86cce906460e 100644 --- a/sdk/emr/src/operation/get_cluster_session_credentials/builders.rs +++ b/sdk/emr/src/operation/get_cluster_session_credentials/builders.rs @@ -19,9 +19,9 @@ impl GetClusterSessionCredentialsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl GetClusterSessionCredentialsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::get_cluster_session_credentials::GetClusterSessionCredentials, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::get_cluster_session_credentials::GetClusterSessionCredentialsError, + >, + > { + self.customize_middleware().await + } ///

                                                                            The unique identifier of the cluster.

                                                                            pub fn cluster_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.cluster_id(input.into()); diff --git a/sdk/emr/src/operation/get_managed_scaling_policy/builders.rs b/sdk/emr/src/operation/get_managed_scaling_policy/builders.rs index 21c25480c533..09be646e5305 100644 --- a/sdk/emr/src/operation/get_managed_scaling_policy/builders.rs +++ b/sdk/emr/src/operation/get_managed_scaling_policy/builders.rs @@ -20,9 +20,9 @@ impl GetManagedScalingPolicyFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -84,6 +84,22 @@ impl GetManagedScalingPolicyFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::get_managed_scaling_policy::GetManagedScalingPolicy, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::get_managed_scaling_policy::GetManagedScalingPolicyError, + >, + > { + self.customize_middleware().await + } ///

                                                                            Specifies the ID of the cluster for which the managed scaling policy will be fetched.

                                                                            pub fn cluster_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.cluster_id(input.into()); diff --git a/sdk/emr/src/operation/get_studio_session_mapping/builders.rs b/sdk/emr/src/operation/get_studio_session_mapping/builders.rs index 2e70b40f7e6f..446a76ea1ec0 100644 --- a/sdk/emr/src/operation/get_studio_session_mapping/builders.rs +++ b/sdk/emr/src/operation/get_studio_session_mapping/builders.rs @@ -20,9 +20,9 @@ impl GetStudioSessionMappingFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -84,6 +84,22 @@ impl GetStudioSessionMappingFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::get_studio_session_mapping::GetStudioSessionMapping, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::get_studio_session_mapping::GetStudioSessionMappingError, + >, + > { + self.customize_middleware().await + } ///

                                                                            The ID of the Amazon EMR Studio.

                                                                            pub fn studio_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.studio_id(input.into()); diff --git a/sdk/emr/src/operation/list_bootstrap_actions/builders.rs b/sdk/emr/src/operation/list_bootstrap_actions/builders.rs index d970de8e5c9c..d79ccf74535d 100644 --- a/sdk/emr/src/operation/list_bootstrap_actions/builders.rs +++ b/sdk/emr/src/operation/list_bootstrap_actions/builders.rs @@ -19,9 +19,9 @@ impl ListBootstrapActionsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl ListBootstrapActionsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_bootstrap_actions::ListBootstrapActions, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::list_bootstrap_actions::ListBootstrapActionsError, + >, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::list_bootstrap_actions::paginator::ListBootstrapActionsPaginator::send) which returns a `Stream`. diff --git a/sdk/emr/src/operation/list_clusters/builders.rs b/sdk/emr/src/operation/list_clusters/builders.rs index c4ad7c8585aa..f12c73bc87e7 100644 --- a/sdk/emr/src/operation/list_clusters/builders.rs +++ b/sdk/emr/src/operation/list_clusters/builders.rs @@ -19,9 +19,9 @@ impl ListClustersFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl ListClustersFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_clusters::ListClusters, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::list_clusters::paginator::ListClustersPaginator::send) which returns a `Stream`. diff --git a/sdk/emr/src/operation/list_instance_fleets/builders.rs b/sdk/emr/src/operation/list_instance_fleets/builders.rs index 3c256281be9a..ec89931059a4 100644 --- a/sdk/emr/src/operation/list_instance_fleets/builders.rs +++ b/sdk/emr/src/operation/list_instance_fleets/builders.rs @@ -21,9 +21,9 @@ impl ListInstanceFleetsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -85,6 +85,22 @@ impl ListInstanceFleetsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_instance_fleets::ListInstanceFleets, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::list_instance_fleets::ListInstanceFleetsError, + >, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::list_instance_fleets::paginator::ListInstanceFleetsPaginator::send) which returns a `Stream`. diff --git a/sdk/emr/src/operation/list_instance_groups/builders.rs b/sdk/emr/src/operation/list_instance_groups/builders.rs index 286630724d71..32bd446aaf5d 100644 --- a/sdk/emr/src/operation/list_instance_groups/builders.rs +++ b/sdk/emr/src/operation/list_instance_groups/builders.rs @@ -19,9 +19,9 @@ impl ListInstanceGroupsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl ListInstanceGroupsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_instance_groups::ListInstanceGroups, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::list_instance_groups::ListInstanceGroupsError, + >, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::list_instance_groups::paginator::ListInstanceGroupsPaginator::send) which returns a `Stream`. diff --git a/sdk/emr/src/operation/list_instances/builders.rs b/sdk/emr/src/operation/list_instances/builders.rs index 9f967e04029e..1b8b30e4ba7c 100644 --- a/sdk/emr/src/operation/list_instances/builders.rs +++ b/sdk/emr/src/operation/list_instances/builders.rs @@ -19,9 +19,9 @@ impl ListInstancesFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl ListInstancesFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_instances::ListInstances, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::list_instances::paginator::ListInstancesPaginator::send) which returns a `Stream`. diff --git a/sdk/emr/src/operation/list_notebook_executions/builders.rs b/sdk/emr/src/operation/list_notebook_executions/builders.rs index 5fe952b9f64d..bba54ac76a4a 100644 --- a/sdk/emr/src/operation/list_notebook_executions/builders.rs +++ b/sdk/emr/src/operation/list_notebook_executions/builders.rs @@ -19,9 +19,9 @@ impl ListNotebookExecutionsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl ListNotebookExecutionsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_notebook_executions::ListNotebookExecutions, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::list_notebook_executions::ListNotebookExecutionsError, + >, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::list_notebook_executions::paginator::ListNotebookExecutionsPaginator::send) which returns a `Stream`. diff --git a/sdk/emr/src/operation/list_release_labels/builders.rs b/sdk/emr/src/operation/list_release_labels/builders.rs index 44a6f44f0601..f192ff296813 100644 --- a/sdk/emr/src/operation/list_release_labels/builders.rs +++ b/sdk/emr/src/operation/list_release_labels/builders.rs @@ -19,9 +19,9 @@ impl ListReleaseLabelsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl ListReleaseLabelsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_release_labels::ListReleaseLabels, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::list_release_labels::ListReleaseLabelsError, + >, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::list_release_labels::paginator::ListReleaseLabelsPaginator::send) which returns a `Stream`. diff --git a/sdk/emr/src/operation/list_security_configurations/builders.rs b/sdk/emr/src/operation/list_security_configurations/builders.rs index 5e5b1d36d9c8..db775e513672 100644 --- a/sdk/emr/src/operation/list_security_configurations/builders.rs +++ b/sdk/emr/src/operation/list_security_configurations/builders.rs @@ -19,9 +19,9 @@ impl ListSecurityConfigurationsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl ListSecurityConfigurationsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_security_configurations::ListSecurityConfigurations, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::list_security_configurations::ListSecurityConfigurationsError, + >, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::list_security_configurations::paginator::ListSecurityConfigurationsPaginator::send) which returns a `Stream`. diff --git a/sdk/emr/src/operation/list_steps/builders.rs b/sdk/emr/src/operation/list_steps/builders.rs index 6a8a4ffc897d..75c9418d5852 100644 --- a/sdk/emr/src/operation/list_steps/builders.rs +++ b/sdk/emr/src/operation/list_steps/builders.rs @@ -19,9 +19,9 @@ impl ListStepsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl ListStepsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_steps::ListSteps, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::list_steps::paginator::ListStepsPaginator::send) which returns a `Stream`. diff --git a/sdk/emr/src/operation/list_studio_session_mappings/builders.rs b/sdk/emr/src/operation/list_studio_session_mappings/builders.rs index 6f1f043a54dc..9339847a7d35 100644 --- a/sdk/emr/src/operation/list_studio_session_mappings/builders.rs +++ b/sdk/emr/src/operation/list_studio_session_mappings/builders.rs @@ -19,9 +19,9 @@ impl ListStudioSessionMappingsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl ListStudioSessionMappingsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_studio_session_mappings::ListStudioSessionMappings, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::list_studio_session_mappings::ListStudioSessionMappingsError, + >, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::list_studio_session_mappings::paginator::ListStudioSessionMappingsPaginator::send) which returns a `Stream`. diff --git a/sdk/emr/src/operation/list_studios/builders.rs b/sdk/emr/src/operation/list_studios/builders.rs index 9c3fce63ce74..0bb5b0177a80 100644 --- a/sdk/emr/src/operation/list_studios/builders.rs +++ b/sdk/emr/src/operation/list_studios/builders.rs @@ -19,9 +19,9 @@ impl ListStudiosFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl ListStudiosFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_studios::ListStudios, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::list_studios::paginator::ListStudiosPaginator::send) which returns a `Stream`. diff --git a/sdk/emr/src/operation/modify_cluster/builders.rs b/sdk/emr/src/operation/modify_cluster/builders.rs index 924023f5eff2..77616f008c87 100644 --- a/sdk/emr/src/operation/modify_cluster/builders.rs +++ b/sdk/emr/src/operation/modify_cluster/builders.rs @@ -19,9 +19,9 @@ impl ModifyClusterFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl ModifyClusterFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::modify_cluster::ModifyCluster, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                            The unique identifier of the cluster.

                                                                            pub fn cluster_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.cluster_id(input.into()); diff --git a/sdk/emr/src/operation/modify_instance_fleet/builders.rs b/sdk/emr/src/operation/modify_instance_fleet/builders.rs index 7f7a56c89590..4cc2adc10d1c 100644 --- a/sdk/emr/src/operation/modify_instance_fleet/builders.rs +++ b/sdk/emr/src/operation/modify_instance_fleet/builders.rs @@ -21,9 +21,9 @@ impl ModifyInstanceFleetFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -85,6 +85,22 @@ impl ModifyInstanceFleetFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::modify_instance_fleet::ModifyInstanceFleet, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::modify_instance_fleet::ModifyInstanceFleetError, + >, + > { + self.customize_middleware().await + } ///

                                                                            The unique identifier of the cluster.

                                                                            pub fn cluster_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.cluster_id(input.into()); diff --git a/sdk/emr/src/operation/modify_instance_groups/builders.rs b/sdk/emr/src/operation/modify_instance_groups/builders.rs index c884e421f702..bcbf908b0316 100644 --- a/sdk/emr/src/operation/modify_instance_groups/builders.rs +++ b/sdk/emr/src/operation/modify_instance_groups/builders.rs @@ -19,9 +19,9 @@ impl ModifyInstanceGroupsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl ModifyInstanceGroupsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::modify_instance_groups::ModifyInstanceGroups, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::modify_instance_groups::ModifyInstanceGroupsError, + >, + > { + self.customize_middleware().await + } ///

                                                                            The ID of the cluster to which the instance group belongs.

                                                                            pub fn cluster_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.cluster_id(input.into()); diff --git a/sdk/emr/src/operation/put_auto_scaling_policy/builders.rs b/sdk/emr/src/operation/put_auto_scaling_policy/builders.rs index d508ecb8b55a..2676f2b81a7b 100644 --- a/sdk/emr/src/operation/put_auto_scaling_policy/builders.rs +++ b/sdk/emr/src/operation/put_auto_scaling_policy/builders.rs @@ -19,9 +19,9 @@ impl PutAutoScalingPolicyFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl PutAutoScalingPolicyFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::put_auto_scaling_policy::PutAutoScalingPolicy, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::put_auto_scaling_policy::PutAutoScalingPolicyError, + >, + > { + self.customize_middleware().await + } ///

                                                                            Specifies the ID of a cluster. The instance group to which the automatic scaling policy is applied is within this cluster.

                                                                            pub fn cluster_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.cluster_id(input.into()); diff --git a/sdk/emr/src/operation/put_auto_termination_policy/builders.rs b/sdk/emr/src/operation/put_auto_termination_policy/builders.rs index 1e3ed6f738f5..8f350971c4a3 100644 --- a/sdk/emr/src/operation/put_auto_termination_policy/builders.rs +++ b/sdk/emr/src/operation/put_auto_termination_policy/builders.rs @@ -22,9 +22,9 @@ impl PutAutoTerminationPolicyFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -86,6 +86,22 @@ impl PutAutoTerminationPolicyFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::put_auto_termination_policy::PutAutoTerminationPolicy, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::put_auto_termination_policy::PutAutoTerminationPolicyError, + >, + > { + self.customize_middleware().await + } ///

                                                                            Specifies the ID of the Amazon EMR cluster to which the auto-termination policy will be attached.

                                                                            pub fn cluster_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.cluster_id(input.into()); diff --git a/sdk/emr/src/operation/put_block_public_access_configuration/builders.rs b/sdk/emr/src/operation/put_block_public_access_configuration/builders.rs index 51561d2112be..56d2ebcbcd02 100644 --- a/sdk/emr/src/operation/put_block_public_access_configuration/builders.rs +++ b/sdk/emr/src/operation/put_block_public_access_configuration/builders.rs @@ -19,9 +19,9 @@ impl PutBlockPublicAccessConfigurationFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize(self) -> ::std::result::Result< + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware(self) -> ::std::result::Result< crate::client::customize::CustomizableOperation, ::aws_smithy_http::result::SdkError >{ @@ -64,6 +64,15 @@ impl PutBlockPublicAccessConfigurationFluentBuilder { { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize(self) -> ::std::result::Result< + crate::client::customize::CustomizableOperation, + ::aws_smithy_http::result::SdkError + >{ + self.customize_middleware().await + } ///

                                                                            A configuration for Amazon EMR block public access. The configuration applies to all clusters created in your account for the current Region. The configuration specifies whether block public access is enabled. If block public access is enabled, security groups associated with the cluster cannot have rules that allow inbound traffic from 0.0.0.0/0 or ::/0 on a port, unless the port is specified as an exception using PermittedPublicSecurityGroupRuleRanges in the BlockPublicAccessConfiguration. By default, Port 22 (SSH) is an exception, and public access is allowed on this port. You can change this by updating BlockPublicSecurityGroupRules to remove the exception.

                                                                            ///

                                                                            For accounts that created clusters in a Region before November 25, 2019, block public access is disabled by default in that Region. To use this feature, you must manually enable and configure it. For accounts that did not create an Amazon EMR cluster in a Region before this date, block public access is enabled by default in that Region.

                                                                            ///
                                                                            diff --git a/sdk/emr/src/operation/put_managed_scaling_policy/builders.rs b/sdk/emr/src/operation/put_managed_scaling_policy/builders.rs index ce489eb97462..fcca742d3af1 100644 --- a/sdk/emr/src/operation/put_managed_scaling_policy/builders.rs +++ b/sdk/emr/src/operation/put_managed_scaling_policy/builders.rs @@ -20,9 +20,9 @@ impl PutManagedScalingPolicyFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -84,6 +84,22 @@ impl PutManagedScalingPolicyFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::put_managed_scaling_policy::PutManagedScalingPolicy, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::put_managed_scaling_policy::PutManagedScalingPolicyError, + >, + > { + self.customize_middleware().await + } ///

                                                                            Specifies the ID of an Amazon EMR cluster where the managed scaling policy is attached.

                                                                            pub fn cluster_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.cluster_id(input.into()); diff --git a/sdk/emr/src/operation/remove_auto_scaling_policy/builders.rs b/sdk/emr/src/operation/remove_auto_scaling_policy/builders.rs index acf78a766c7b..83a4c54c920b 100644 --- a/sdk/emr/src/operation/remove_auto_scaling_policy/builders.rs +++ b/sdk/emr/src/operation/remove_auto_scaling_policy/builders.rs @@ -20,9 +20,9 @@ impl RemoveAutoScalingPolicyFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -84,6 +84,22 @@ impl RemoveAutoScalingPolicyFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::remove_auto_scaling_policy::RemoveAutoScalingPolicy, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::remove_auto_scaling_policy::RemoveAutoScalingPolicyError, + >, + > { + self.customize_middleware().await + } ///

                                                                            Specifies the ID of a cluster. The instance group to which the automatic scaling policy is applied is within this cluster.

                                                                            pub fn cluster_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.cluster_id(input.into()); diff --git a/sdk/emr/src/operation/remove_auto_termination_policy/builders.rs b/sdk/emr/src/operation/remove_auto_termination_policy/builders.rs index d4cb659beb9f..3f618803b5e6 100644 --- a/sdk/emr/src/operation/remove_auto_termination_policy/builders.rs +++ b/sdk/emr/src/operation/remove_auto_termination_policy/builders.rs @@ -19,9 +19,9 @@ impl RemoveAutoTerminationPolicyFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl RemoveAutoTerminationPolicyFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::remove_auto_termination_policy::RemoveAutoTerminationPolicy, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::remove_auto_termination_policy::RemoveAutoTerminationPolicyError, + >, + > { + self.customize_middleware().await + } ///

                                                                            Specifies the ID of the Amazon EMR cluster from which the auto-termination policy will be removed.

                                                                            pub fn cluster_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.cluster_id(input.into()); diff --git a/sdk/emr/src/operation/remove_managed_scaling_policy/builders.rs b/sdk/emr/src/operation/remove_managed_scaling_policy/builders.rs index 3b4da5a5b53d..00c9a1ca48b6 100644 --- a/sdk/emr/src/operation/remove_managed_scaling_policy/builders.rs +++ b/sdk/emr/src/operation/remove_managed_scaling_policy/builders.rs @@ -19,9 +19,9 @@ impl RemoveManagedScalingPolicyFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl RemoveManagedScalingPolicyFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::remove_managed_scaling_policy::RemoveManagedScalingPolicy, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::remove_managed_scaling_policy::RemoveManagedScalingPolicyError, + >, + > { + self.customize_middleware().await + } ///

                                                                            Specifies the ID of the cluster from which the managed scaling policy will be removed.

                                                                            pub fn cluster_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.cluster_id(input.into()); diff --git a/sdk/emr/src/operation/remove_tags/builders.rs b/sdk/emr/src/operation/remove_tags/builders.rs index 9243b5793bea..6b0ad69240ea 100644 --- a/sdk/emr/src/operation/remove_tags/builders.rs +++ b/sdk/emr/src/operation/remove_tags/builders.rs @@ -20,9 +20,9 @@ impl RemoveTagsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -78,6 +78,20 @@ impl RemoveTagsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::remove_tags::RemoveTags, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                            The Amazon EMR resource identifier from which tags will be removed. For example, a cluster identifier or an Amazon EMR Studio ID.

                                                                            pub fn resource_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.resource_id(input.into()); diff --git a/sdk/emr/src/operation/run_job_flow/builders.rs b/sdk/emr/src/operation/run_job_flow/builders.rs index 086ab42ab368..661b104ba4dd 100644 --- a/sdk/emr/src/operation/run_job_flow/builders.rs +++ b/sdk/emr/src/operation/run_job_flow/builders.rs @@ -25,9 +25,9 @@ impl RunJobFlowFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,20 @@ impl RunJobFlowFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::run_job_flow::RunJobFlow, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                            The name of the job flow.

                                                                            pub fn name(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.name(input.into()); diff --git a/sdk/emr/src/operation/set_termination_protection/builders.rs b/sdk/emr/src/operation/set_termination_protection/builders.rs index bc260bf7ec74..72fd402873f7 100644 --- a/sdk/emr/src/operation/set_termination_protection/builders.rs +++ b/sdk/emr/src/operation/set_termination_protection/builders.rs @@ -22,9 +22,9 @@ impl SetTerminationProtectionFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -86,6 +86,22 @@ impl SetTerminationProtectionFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::set_termination_protection::SetTerminationProtection, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::set_termination_protection::SetTerminationProtectionError, + >, + > { + self.customize_middleware().await + } /// Appends an item to `JobFlowIds`. /// /// To override the contents of this collection use [`set_job_flow_ids`](Self::set_job_flow_ids). diff --git a/sdk/emr/src/operation/set_visible_to_all_users/builders.rs b/sdk/emr/src/operation/set_visible_to_all_users/builders.rs index 56f2783f40bc..ea5ac97e9a0c 100644 --- a/sdk/emr/src/operation/set_visible_to_all_users/builders.rs +++ b/sdk/emr/src/operation/set_visible_to_all_users/builders.rs @@ -24,9 +24,9 @@ impl SetVisibleToAllUsersFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -88,6 +88,22 @@ impl SetVisibleToAllUsersFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::set_visible_to_all_users::SetVisibleToAllUsers, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::set_visible_to_all_users::SetVisibleToAllUsersError, + >, + > { + self.customize_middleware().await + } /// Appends an item to `JobFlowIds`. /// /// To override the contents of this collection use [`set_job_flow_ids`](Self::set_job_flow_ids). diff --git a/sdk/emr/src/operation/start_notebook_execution/builders.rs b/sdk/emr/src/operation/start_notebook_execution/builders.rs index a68c8c8861fc..7130892d67d7 100644 --- a/sdk/emr/src/operation/start_notebook_execution/builders.rs +++ b/sdk/emr/src/operation/start_notebook_execution/builders.rs @@ -19,9 +19,9 @@ impl StartNotebookExecutionFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl StartNotebookExecutionFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::start_notebook_execution::StartNotebookExecution, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::start_notebook_execution::StartNotebookExecutionError, + >, + > { + self.customize_middleware().await + } ///

                                                                            The unique identifier of the Amazon EMR Notebook to use for notebook execution.

                                                                            pub fn editor_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.editor_id(input.into()); diff --git a/sdk/emr/src/operation/stop_notebook_execution/builders.rs b/sdk/emr/src/operation/stop_notebook_execution/builders.rs index 168b545b5289..69a332421ab1 100644 --- a/sdk/emr/src/operation/stop_notebook_execution/builders.rs +++ b/sdk/emr/src/operation/stop_notebook_execution/builders.rs @@ -19,9 +19,9 @@ impl StopNotebookExecutionFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl StopNotebookExecutionFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::stop_notebook_execution::StopNotebookExecution, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::stop_notebook_execution::StopNotebookExecutionError, + >, + > { + self.customize_middleware().await + } ///

                                                                            The unique identifier of the notebook execution.

                                                                            pub fn notebook_execution_id( mut self, diff --git a/sdk/emr/src/operation/terminate_job_flows/builders.rs b/sdk/emr/src/operation/terminate_job_flows/builders.rs index efaeefcdd8c4..6ec3a4ada2ac 100644 --- a/sdk/emr/src/operation/terminate_job_flows/builders.rs +++ b/sdk/emr/src/operation/terminate_job_flows/builders.rs @@ -20,9 +20,9 @@ impl TerminateJobFlowsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -84,6 +84,22 @@ impl TerminateJobFlowsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::terminate_job_flows::TerminateJobFlows, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::terminate_job_flows::TerminateJobFlowsError, + >, + > { + self.customize_middleware().await + } /// Appends an item to `JobFlowIds`. /// /// To override the contents of this collection use [`set_job_flow_ids`](Self::set_job_flow_ids). diff --git a/sdk/emr/src/operation/update_studio/builders.rs b/sdk/emr/src/operation/update_studio/builders.rs index 4c82af898cdc..c47391ffd723 100644 --- a/sdk/emr/src/operation/update_studio/builders.rs +++ b/sdk/emr/src/operation/update_studio/builders.rs @@ -19,9 +19,9 @@ impl UpdateStudioFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl UpdateStudioFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::update_studio::UpdateStudio, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                            The ID of the Amazon EMR Studio to update.

                                                                            pub fn studio_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.studio_id(input.into()); diff --git a/sdk/emr/src/operation/update_studio_session_mapping/builders.rs b/sdk/emr/src/operation/update_studio_session_mapping/builders.rs index b2e20f76f289..c0f84553a9bb 100644 --- a/sdk/emr/src/operation/update_studio_session_mapping/builders.rs +++ b/sdk/emr/src/operation/update_studio_session_mapping/builders.rs @@ -19,9 +19,9 @@ impl UpdateStudioSessionMappingFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl UpdateStudioSessionMappingFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::update_studio_session_mapping::UpdateStudioSessionMapping, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::update_studio_session_mapping::UpdateStudioSessionMappingError, + >, + > { + self.customize_middleware().await + } ///

                                                                            The ID of the Amazon EMR Studio.

                                                                            pub fn studio_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.studio_id(input.into()); diff --git a/sdk/emrcontainers/src/operation/cancel_job_run/builders.rs b/sdk/emrcontainers/src/operation/cancel_job_run/builders.rs index 570f39fd9f13..908080f6374c 100644 --- a/sdk/emrcontainers/src/operation/cancel_job_run/builders.rs +++ b/sdk/emrcontainers/src/operation/cancel_job_run/builders.rs @@ -19,9 +19,9 @@ impl CancelJobRunFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl CancelJobRunFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::cancel_job_run::CancelJobRun, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                            The ID of the job run to cancel.

                                                                            pub fn id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.id(input.into()); diff --git a/sdk/emrcontainers/src/operation/create_job_template/builders.rs b/sdk/emrcontainers/src/operation/create_job_template/builders.rs index e1274c4fa548..b28e42950489 100644 --- a/sdk/emrcontainers/src/operation/create_job_template/builders.rs +++ b/sdk/emrcontainers/src/operation/create_job_template/builders.rs @@ -19,9 +19,9 @@ impl CreateJobTemplateFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl CreateJobTemplateFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::create_job_template::CreateJobTemplate, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::create_job_template::CreateJobTemplateError, + >, + > { + self.customize_middleware().await + } ///

                                                                            The specified name of the job template.

                                                                            pub fn name(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.name(input.into()); diff --git a/sdk/emrcontainers/src/operation/create_managed_endpoint/builders.rs b/sdk/emrcontainers/src/operation/create_managed_endpoint/builders.rs index edd8a578a1d0..f6543d56d298 100644 --- a/sdk/emrcontainers/src/operation/create_managed_endpoint/builders.rs +++ b/sdk/emrcontainers/src/operation/create_managed_endpoint/builders.rs @@ -19,9 +19,9 @@ impl CreateManagedEndpointFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl CreateManagedEndpointFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::create_managed_endpoint::CreateManagedEndpoint, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::create_managed_endpoint::CreateManagedEndpointError, + >, + > { + self.customize_middleware().await + } ///

                                                                            The name of the managed endpoint.

                                                                            pub fn name(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.name(input.into()); diff --git a/sdk/emrcontainers/src/operation/create_virtual_cluster/builders.rs b/sdk/emrcontainers/src/operation/create_virtual_cluster/builders.rs index 9f967ab8391e..507ddaf96c5c 100644 --- a/sdk/emrcontainers/src/operation/create_virtual_cluster/builders.rs +++ b/sdk/emrcontainers/src/operation/create_virtual_cluster/builders.rs @@ -19,9 +19,9 @@ impl CreateVirtualClusterFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl CreateVirtualClusterFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::create_virtual_cluster::CreateVirtualCluster, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::create_virtual_cluster::CreateVirtualClusterError, + >, + > { + self.customize_middleware().await + } ///

                                                                            The specified name of the virtual cluster.

                                                                            pub fn name(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.name(input.into()); diff --git a/sdk/emrcontainers/src/operation/delete_job_template/builders.rs b/sdk/emrcontainers/src/operation/delete_job_template/builders.rs index 7002c34d89c8..b23fe075b88c 100644 --- a/sdk/emrcontainers/src/operation/delete_job_template/builders.rs +++ b/sdk/emrcontainers/src/operation/delete_job_template/builders.rs @@ -19,9 +19,9 @@ impl DeleteJobTemplateFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl DeleteJobTemplateFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::delete_job_template::DeleteJobTemplate, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::delete_job_template::DeleteJobTemplateError, + >, + > { + self.customize_middleware().await + } ///

                                                                            The ID of the job template that will be deleted.

                                                                            pub fn id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.id(input.into()); diff --git a/sdk/emrcontainers/src/operation/delete_managed_endpoint/builders.rs b/sdk/emrcontainers/src/operation/delete_managed_endpoint/builders.rs index 10e5e3471052..8b857d55e016 100644 --- a/sdk/emrcontainers/src/operation/delete_managed_endpoint/builders.rs +++ b/sdk/emrcontainers/src/operation/delete_managed_endpoint/builders.rs @@ -19,9 +19,9 @@ impl DeleteManagedEndpointFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl DeleteManagedEndpointFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::delete_managed_endpoint::DeleteManagedEndpoint, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::delete_managed_endpoint::DeleteManagedEndpointError, + >, + > { + self.customize_middleware().await + } ///

                                                                            The ID of the managed endpoint.

                                                                            pub fn id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.id(input.into()); diff --git a/sdk/emrcontainers/src/operation/delete_virtual_cluster/builders.rs b/sdk/emrcontainers/src/operation/delete_virtual_cluster/builders.rs index 05b8d2057196..a6db1ce5daf5 100644 --- a/sdk/emrcontainers/src/operation/delete_virtual_cluster/builders.rs +++ b/sdk/emrcontainers/src/operation/delete_virtual_cluster/builders.rs @@ -19,9 +19,9 @@ impl DeleteVirtualClusterFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl DeleteVirtualClusterFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::delete_virtual_cluster::DeleteVirtualCluster, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::delete_virtual_cluster::DeleteVirtualClusterError, + >, + > { + self.customize_middleware().await + } ///

                                                                            The ID of the virtual cluster that will be deleted.

                                                                            pub fn id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.id(input.into()); diff --git a/sdk/emrcontainers/src/operation/describe_job_run/builders.rs b/sdk/emrcontainers/src/operation/describe_job_run/builders.rs index 1e28398a745a..663e3ec03154 100644 --- a/sdk/emrcontainers/src/operation/describe_job_run/builders.rs +++ b/sdk/emrcontainers/src/operation/describe_job_run/builders.rs @@ -19,9 +19,9 @@ impl DescribeJobRunFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl DescribeJobRunFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::describe_job_run::DescribeJobRun, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::describe_job_run::DescribeJobRunError, + >, + > { + self.customize_middleware().await + } ///

                                                                            The ID of the job run request.

                                                                            pub fn id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.id(input.into()); diff --git a/sdk/emrcontainers/src/operation/describe_job_template/builders.rs b/sdk/emrcontainers/src/operation/describe_job_template/builders.rs index 33ecec322474..0d5d1fb6d542 100644 --- a/sdk/emrcontainers/src/operation/describe_job_template/builders.rs +++ b/sdk/emrcontainers/src/operation/describe_job_template/builders.rs @@ -19,9 +19,9 @@ impl DescribeJobTemplateFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl DescribeJobTemplateFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::describe_job_template::DescribeJobTemplate, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::describe_job_template::DescribeJobTemplateError, + >, + > { + self.customize_middleware().await + } ///

                                                                            The ID of the job template that will be described.

                                                                            pub fn id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.id(input.into()); diff --git a/sdk/emrcontainers/src/operation/describe_managed_endpoint/builders.rs b/sdk/emrcontainers/src/operation/describe_managed_endpoint/builders.rs index 474143cda765..2bb4811135dc 100644 --- a/sdk/emrcontainers/src/operation/describe_managed_endpoint/builders.rs +++ b/sdk/emrcontainers/src/operation/describe_managed_endpoint/builders.rs @@ -20,9 +20,9 @@ impl DescribeManagedEndpointFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -84,6 +84,22 @@ impl DescribeManagedEndpointFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::describe_managed_endpoint::DescribeManagedEndpoint, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::describe_managed_endpoint::DescribeManagedEndpointError, + >, + > { + self.customize_middleware().await + } ///

                                                                            This output displays ID of the managed endpoint.

                                                                            pub fn id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.id(input.into()); diff --git a/sdk/emrcontainers/src/operation/describe_virtual_cluster/builders.rs b/sdk/emrcontainers/src/operation/describe_virtual_cluster/builders.rs index d085a9e911ea..1ca9050974ed 100644 --- a/sdk/emrcontainers/src/operation/describe_virtual_cluster/builders.rs +++ b/sdk/emrcontainers/src/operation/describe_virtual_cluster/builders.rs @@ -19,9 +19,9 @@ impl DescribeVirtualClusterFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl DescribeVirtualClusterFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::describe_virtual_cluster::DescribeVirtualCluster, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::describe_virtual_cluster::DescribeVirtualClusterError, + >, + > { + self.customize_middleware().await + } ///

                                                                            The ID of the virtual cluster that will be described.

                                                                            pub fn id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.id(input.into()); diff --git a/sdk/emrcontainers/src/operation/get_managed_endpoint_session_credentials/builders.rs b/sdk/emrcontainers/src/operation/get_managed_endpoint_session_credentials/builders.rs index 9ec2795b61cb..11415664a28e 100644 --- a/sdk/emrcontainers/src/operation/get_managed_endpoint_session_credentials/builders.rs +++ b/sdk/emrcontainers/src/operation/get_managed_endpoint_session_credentials/builders.rs @@ -19,9 +19,9 @@ impl GetManagedEndpointSessionCredentialsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize(self) -> ::std::result::Result< + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware(self) -> ::std::result::Result< crate::client::customize::CustomizableOperation, ::aws_smithy_http::result::SdkError >{ @@ -64,6 +64,15 @@ impl GetManagedEndpointSessionCredentialsFluentBuilder { { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize(self) -> ::std::result::Result< + crate::client::customize::CustomizableOperation, + ::aws_smithy_http::result::SdkError + >{ + self.customize_middleware().await + } ///

                                                                            The ARN of the managed endpoint for which the request is submitted.

                                                                            pub fn endpoint_identifier( mut self, diff --git a/sdk/emrcontainers/src/operation/list_job_runs/builders.rs b/sdk/emrcontainers/src/operation/list_job_runs/builders.rs index ed8ee5d89547..74e94f902915 100644 --- a/sdk/emrcontainers/src/operation/list_job_runs/builders.rs +++ b/sdk/emrcontainers/src/operation/list_job_runs/builders.rs @@ -19,9 +19,9 @@ impl ListJobRunsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl ListJobRunsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_job_runs::ListJobRuns, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::list_job_runs::paginator::ListJobRunsPaginator::send) which returns a `Stream`. diff --git a/sdk/emrcontainers/src/operation/list_job_templates/builders.rs b/sdk/emrcontainers/src/operation/list_job_templates/builders.rs index 28316fab4f27..dbdb331e727f 100644 --- a/sdk/emrcontainers/src/operation/list_job_templates/builders.rs +++ b/sdk/emrcontainers/src/operation/list_job_templates/builders.rs @@ -19,9 +19,9 @@ impl ListJobTemplatesFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl ListJobTemplatesFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_job_templates::ListJobTemplates, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::list_job_templates::ListJobTemplatesError, + >, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::list_job_templates::paginator::ListJobTemplatesPaginator::send) which returns a `Stream`. diff --git a/sdk/emrcontainers/src/operation/list_managed_endpoints/builders.rs b/sdk/emrcontainers/src/operation/list_managed_endpoints/builders.rs index 348e1a978fc3..32c8e61ee27f 100644 --- a/sdk/emrcontainers/src/operation/list_managed_endpoints/builders.rs +++ b/sdk/emrcontainers/src/operation/list_managed_endpoints/builders.rs @@ -19,9 +19,9 @@ impl ListManagedEndpointsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl ListManagedEndpointsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_managed_endpoints::ListManagedEndpoints, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::list_managed_endpoints::ListManagedEndpointsError, + >, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::list_managed_endpoints::paginator::ListManagedEndpointsPaginator::send) which returns a `Stream`. diff --git a/sdk/emrcontainers/src/operation/list_tags_for_resource/builders.rs b/sdk/emrcontainers/src/operation/list_tags_for_resource/builders.rs index 1cd174fa9e35..8d96dee09683 100644 --- a/sdk/emrcontainers/src/operation/list_tags_for_resource/builders.rs +++ b/sdk/emrcontainers/src/operation/list_tags_for_resource/builders.rs @@ -19,9 +19,9 @@ impl ListTagsForResourceFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl ListTagsForResourceFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_tags_for_resource::ListTagsForResource, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::list_tags_for_resource::ListTagsForResourceError, + >, + > { + self.customize_middleware().await + } ///

                                                                            The ARN of tagged resources.

                                                                            pub fn resource_arn(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.resource_arn(input.into()); diff --git a/sdk/emrcontainers/src/operation/list_virtual_clusters/builders.rs b/sdk/emrcontainers/src/operation/list_virtual_clusters/builders.rs index 990a788e729d..6068b7d990f9 100644 --- a/sdk/emrcontainers/src/operation/list_virtual_clusters/builders.rs +++ b/sdk/emrcontainers/src/operation/list_virtual_clusters/builders.rs @@ -19,9 +19,9 @@ impl ListVirtualClustersFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl ListVirtualClustersFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_virtual_clusters::ListVirtualClusters, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::list_virtual_clusters::ListVirtualClustersError, + >, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::list_virtual_clusters::paginator::ListVirtualClustersPaginator::send) which returns a `Stream`. diff --git a/sdk/emrcontainers/src/operation/start_job_run/builders.rs b/sdk/emrcontainers/src/operation/start_job_run/builders.rs index 255615f18eb4..49535478e7ec 100644 --- a/sdk/emrcontainers/src/operation/start_job_run/builders.rs +++ b/sdk/emrcontainers/src/operation/start_job_run/builders.rs @@ -19,9 +19,9 @@ impl StartJobRunFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl StartJobRunFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::start_job_run::StartJobRun, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                            The name of the job run.

                                                                            pub fn name(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.name(input.into()); diff --git a/sdk/emrcontainers/src/operation/tag_resource/builders.rs b/sdk/emrcontainers/src/operation/tag_resource/builders.rs index aa09d73a1c33..76cf2429db97 100644 --- a/sdk/emrcontainers/src/operation/tag_resource/builders.rs +++ b/sdk/emrcontainers/src/operation/tag_resource/builders.rs @@ -19,9 +19,9 @@ impl TagResourceFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl TagResourceFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::tag_resource::TagResource, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                            The ARN of resources.

                                                                            pub fn resource_arn(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.resource_arn(input.into()); diff --git a/sdk/emrcontainers/src/operation/untag_resource/builders.rs b/sdk/emrcontainers/src/operation/untag_resource/builders.rs index e151480270db..3973358ec188 100644 --- a/sdk/emrcontainers/src/operation/untag_resource/builders.rs +++ b/sdk/emrcontainers/src/operation/untag_resource/builders.rs @@ -19,9 +19,9 @@ impl UntagResourceFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl UntagResourceFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::untag_resource::UntagResource, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                            The ARN of resources.

                                                                            pub fn resource_arn(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.resource_arn(input.into()); diff --git a/sdk/emrserverless/src/operation/cancel_job_run/builders.rs b/sdk/emrserverless/src/operation/cancel_job_run/builders.rs index d542a6c9bff5..fea59a39d51b 100644 --- a/sdk/emrserverless/src/operation/cancel_job_run/builders.rs +++ b/sdk/emrserverless/src/operation/cancel_job_run/builders.rs @@ -19,9 +19,9 @@ impl CancelJobRunFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl CancelJobRunFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::cancel_job_run::CancelJobRun, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                            The ID of the application on which the job run will be canceled.

                                                                            pub fn application_id( mut self, diff --git a/sdk/emrserverless/src/operation/create_application/builders.rs b/sdk/emrserverless/src/operation/create_application/builders.rs index 8417a841cde6..4e4a32364294 100644 --- a/sdk/emrserverless/src/operation/create_application/builders.rs +++ b/sdk/emrserverless/src/operation/create_application/builders.rs @@ -19,9 +19,9 @@ impl CreateApplicationFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl CreateApplicationFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::create_application::CreateApplication, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::create_application::CreateApplicationError, + >, + > { + self.customize_middleware().await + } ///

                                                                            The name of the application.

                                                                            pub fn name(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.name(input.into()); diff --git a/sdk/emrserverless/src/operation/delete_application/builders.rs b/sdk/emrserverless/src/operation/delete_application/builders.rs index 2fce5329f4bd..5be9ccedb713 100644 --- a/sdk/emrserverless/src/operation/delete_application/builders.rs +++ b/sdk/emrserverless/src/operation/delete_application/builders.rs @@ -19,9 +19,9 @@ impl DeleteApplicationFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl DeleteApplicationFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::delete_application::DeleteApplication, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::delete_application::DeleteApplicationError, + >, + > { + self.customize_middleware().await + } ///

                                                                            The ID of the application that will be deleted.

                                                                            pub fn application_id( mut self, diff --git a/sdk/emrserverless/src/operation/get_application/builders.rs b/sdk/emrserverless/src/operation/get_application/builders.rs index 455e009e41f7..c04bcf074e56 100644 --- a/sdk/emrserverless/src/operation/get_application/builders.rs +++ b/sdk/emrserverless/src/operation/get_application/builders.rs @@ -19,9 +19,9 @@ impl GetApplicationFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl GetApplicationFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::get_application::GetApplication, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                            The ID of the application that will be described.

                                                                            pub fn application_id( mut self, diff --git a/sdk/emrserverless/src/operation/get_dashboard_for_job_run/builders.rs b/sdk/emrserverless/src/operation/get_dashboard_for_job_run/builders.rs index e404fd11cd97..0eb1640a4261 100644 --- a/sdk/emrserverless/src/operation/get_dashboard_for_job_run/builders.rs +++ b/sdk/emrserverless/src/operation/get_dashboard_for_job_run/builders.rs @@ -19,9 +19,9 @@ impl GetDashboardForJobRunFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl GetDashboardForJobRunFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::get_dashboard_for_job_run::GetDashboardForJobRun, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::get_dashboard_for_job_run::GetDashboardForJobRunError, + >, + > { + self.customize_middleware().await + } ///

                                                                            The ID of the application.

                                                                            pub fn application_id( mut self, diff --git a/sdk/emrserverless/src/operation/get_job_run/builders.rs b/sdk/emrserverless/src/operation/get_job_run/builders.rs index 4a1c8d771822..3d4c824261fe 100644 --- a/sdk/emrserverless/src/operation/get_job_run/builders.rs +++ b/sdk/emrserverless/src/operation/get_job_run/builders.rs @@ -19,9 +19,9 @@ impl GetJobRunFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl GetJobRunFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::get_job_run::GetJobRun, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                            The ID of the application on which the job run is submitted.

                                                                            pub fn application_id( mut self, diff --git a/sdk/emrserverless/src/operation/list_applications/builders.rs b/sdk/emrserverless/src/operation/list_applications/builders.rs index e86c6c30917b..2f2ac5ca1af4 100644 --- a/sdk/emrserverless/src/operation/list_applications/builders.rs +++ b/sdk/emrserverless/src/operation/list_applications/builders.rs @@ -19,9 +19,9 @@ impl ListApplicationsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl ListApplicationsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_applications::ListApplications, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::list_applications::ListApplicationsError, + >, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::list_applications::paginator::ListApplicationsPaginator::send) which returns a `Stream`. diff --git a/sdk/emrserverless/src/operation/list_job_runs/builders.rs b/sdk/emrserverless/src/operation/list_job_runs/builders.rs index 88a7fc7abc9f..c276dda354ed 100644 --- a/sdk/emrserverless/src/operation/list_job_runs/builders.rs +++ b/sdk/emrserverless/src/operation/list_job_runs/builders.rs @@ -19,9 +19,9 @@ impl ListJobRunsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl ListJobRunsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_job_runs::ListJobRuns, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::list_job_runs::paginator::ListJobRunsPaginator::send) which returns a `Stream`. diff --git a/sdk/emrserverless/src/operation/list_tags_for_resource/builders.rs b/sdk/emrserverless/src/operation/list_tags_for_resource/builders.rs index eb49afbe8939..916cdc93ebf0 100644 --- a/sdk/emrserverless/src/operation/list_tags_for_resource/builders.rs +++ b/sdk/emrserverless/src/operation/list_tags_for_resource/builders.rs @@ -19,9 +19,9 @@ impl ListTagsForResourceFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl ListTagsForResourceFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_tags_for_resource::ListTagsForResource, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::list_tags_for_resource::ListTagsForResourceError, + >, + > { + self.customize_middleware().await + } ///

                                                                            The Amazon Resource Name (ARN) that identifies the resource to list the tags for. Currently, the supported resources are Amazon EMR Serverless applications and job runs.

                                                                            pub fn resource_arn(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.resource_arn(input.into()); diff --git a/sdk/emrserverless/src/operation/start_application/builders.rs b/sdk/emrserverless/src/operation/start_application/builders.rs index cb409899c3f9..975a668a81ea 100644 --- a/sdk/emrserverless/src/operation/start_application/builders.rs +++ b/sdk/emrserverless/src/operation/start_application/builders.rs @@ -19,9 +19,9 @@ impl StartApplicationFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl StartApplicationFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::start_application::StartApplication, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::start_application::StartApplicationError, + >, + > { + self.customize_middleware().await + } ///

                                                                            The ID of the application to start.

                                                                            pub fn application_id( mut self, diff --git a/sdk/emrserverless/src/operation/start_job_run/builders.rs b/sdk/emrserverless/src/operation/start_job_run/builders.rs index 94aa9b156ee6..a13ceb611b56 100644 --- a/sdk/emrserverless/src/operation/start_job_run/builders.rs +++ b/sdk/emrserverless/src/operation/start_job_run/builders.rs @@ -19,9 +19,9 @@ impl StartJobRunFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl StartJobRunFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::start_job_run::StartJobRun, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                            The ID of the application on which to run the job.

                                                                            pub fn application_id( mut self, diff --git a/sdk/emrserverless/src/operation/stop_application/builders.rs b/sdk/emrserverless/src/operation/stop_application/builders.rs index 4bac2d73f4eb..d3aa4495e193 100644 --- a/sdk/emrserverless/src/operation/stop_application/builders.rs +++ b/sdk/emrserverless/src/operation/stop_application/builders.rs @@ -19,9 +19,9 @@ impl StopApplicationFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl StopApplicationFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::stop_application::StopApplication, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::stop_application::StopApplicationError, + >, + > { + self.customize_middleware().await + } ///

                                                                            The ID of the application to stop.

                                                                            pub fn application_id( mut self, diff --git a/sdk/emrserverless/src/operation/tag_resource/builders.rs b/sdk/emrserverless/src/operation/tag_resource/builders.rs index b5932eac317d..eed0a71a23c7 100644 --- a/sdk/emrserverless/src/operation/tag_resource/builders.rs +++ b/sdk/emrserverless/src/operation/tag_resource/builders.rs @@ -19,9 +19,9 @@ impl TagResourceFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl TagResourceFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::tag_resource::TagResource, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                            The Amazon Resource Name (ARN) that identifies the resource to list the tags for. Currently, the supported resources are Amazon EMR Serverless applications and job runs.

                                                                            pub fn resource_arn(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.resource_arn(input.into()); diff --git a/sdk/emrserverless/src/operation/untag_resource/builders.rs b/sdk/emrserverless/src/operation/untag_resource/builders.rs index 13b6dac71504..a32a9d3fa102 100644 --- a/sdk/emrserverless/src/operation/untag_resource/builders.rs +++ b/sdk/emrserverless/src/operation/untag_resource/builders.rs @@ -19,9 +19,9 @@ impl UntagResourceFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl UntagResourceFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::untag_resource::UntagResource, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                            The Amazon Resource Name (ARN) that identifies the resource to list the tags for. Currently, the supported resources are Amazon EMR Serverless applications and job runs.

                                                                            pub fn resource_arn(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.resource_arn(input.into()); diff --git a/sdk/emrserverless/src/operation/update_application/builders.rs b/sdk/emrserverless/src/operation/update_application/builders.rs index 6d186ab0c5f6..dfd2c7f284f3 100644 --- a/sdk/emrserverless/src/operation/update_application/builders.rs +++ b/sdk/emrserverless/src/operation/update_application/builders.rs @@ -19,9 +19,9 @@ impl UpdateApplicationFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl UpdateApplicationFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::update_application::UpdateApplication, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::update_application::UpdateApplicationError, + >, + > { + self.customize_middleware().await + } ///

                                                                            The ID of the application to update.

                                                                            pub fn application_id( mut self, diff --git a/sdk/eventbridge/src/operation/activate_event_source/builders.rs b/sdk/eventbridge/src/operation/activate_event_source/builders.rs index b99fb829957d..df84a5f8445c 100644 --- a/sdk/eventbridge/src/operation/activate_event_source/builders.rs +++ b/sdk/eventbridge/src/operation/activate_event_source/builders.rs @@ -19,9 +19,9 @@ impl ActivateEventSourceFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl ActivateEventSourceFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::activate_event_source::ActivateEventSource, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::activate_event_source::ActivateEventSourceError, + >, + > { + self.customize_middleware().await + } ///

                                                                            The name of the partner event source to activate.

                                                                            pub fn name(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.name(input.into()); diff --git a/sdk/eventbridge/src/operation/cancel_replay/builders.rs b/sdk/eventbridge/src/operation/cancel_replay/builders.rs index c310c3a044b3..0c2338f1ab53 100644 --- a/sdk/eventbridge/src/operation/cancel_replay/builders.rs +++ b/sdk/eventbridge/src/operation/cancel_replay/builders.rs @@ -19,9 +19,9 @@ impl CancelReplayFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl CancelReplayFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::cancel_replay::CancelReplay, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                            The name of the replay to cancel.

                                                                            pub fn replay_name(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.replay_name(input.into()); diff --git a/sdk/eventbridge/src/operation/create_api_destination/builders.rs b/sdk/eventbridge/src/operation/create_api_destination/builders.rs index 87b0420b467f..c01b254b8c36 100644 --- a/sdk/eventbridge/src/operation/create_api_destination/builders.rs +++ b/sdk/eventbridge/src/operation/create_api_destination/builders.rs @@ -19,9 +19,9 @@ impl CreateApiDestinationFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl CreateApiDestinationFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::create_api_destination::CreateApiDestination, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::create_api_destination::CreateApiDestinationError, + >, + > { + self.customize_middleware().await + } ///

                                                                            The name for the API destination to create.

                                                                            pub fn name(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.name(input.into()); diff --git a/sdk/eventbridge/src/operation/create_archive/builders.rs b/sdk/eventbridge/src/operation/create_archive/builders.rs index 670995e2722a..a19a38a1d3db 100644 --- a/sdk/eventbridge/src/operation/create_archive/builders.rs +++ b/sdk/eventbridge/src/operation/create_archive/builders.rs @@ -19,9 +19,9 @@ impl CreateArchiveFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl CreateArchiveFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::create_archive::CreateArchive, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                            The name for the archive to create.

                                                                            pub fn archive_name(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.archive_name(input.into()); diff --git a/sdk/eventbridge/src/operation/create_connection/builders.rs b/sdk/eventbridge/src/operation/create_connection/builders.rs index 0480506d15e7..a5d7e2ac1b82 100644 --- a/sdk/eventbridge/src/operation/create_connection/builders.rs +++ b/sdk/eventbridge/src/operation/create_connection/builders.rs @@ -19,9 +19,9 @@ impl CreateConnectionFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl CreateConnectionFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::create_connection::CreateConnection, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::create_connection::CreateConnectionError, + >, + > { + self.customize_middleware().await + } ///

                                                                            The name for the connection to create.

                                                                            pub fn name(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.name(input.into()); diff --git a/sdk/eventbridge/src/operation/create_endpoint/builders.rs b/sdk/eventbridge/src/operation/create_endpoint/builders.rs index 544cfdb31ff7..47682fb07780 100644 --- a/sdk/eventbridge/src/operation/create_endpoint/builders.rs +++ b/sdk/eventbridge/src/operation/create_endpoint/builders.rs @@ -19,9 +19,9 @@ impl CreateEndpointFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl CreateEndpointFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::create_endpoint::CreateEndpoint, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                            The name of the global endpoint. For example, "Name":"us-east-2-custom_bus_A-endpoint".

                                                                            pub fn name(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.name(input.into()); diff --git a/sdk/eventbridge/src/operation/create_event_bus/builders.rs b/sdk/eventbridge/src/operation/create_event_bus/builders.rs index 201369175dcd..58f6f5e28c5f 100644 --- a/sdk/eventbridge/src/operation/create_event_bus/builders.rs +++ b/sdk/eventbridge/src/operation/create_event_bus/builders.rs @@ -19,9 +19,9 @@ impl CreateEventBusFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl CreateEventBusFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::create_event_bus::CreateEventBus, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::create_event_bus::CreateEventBusError, + >, + > { + self.customize_middleware().await + } ///

                                                                            The name of the new event bus.

                                                                            ///

                                                                            Custom event bus names can't contain the / character, but you can use the / character in partner event bus names. In addition, for partner event buses, the name must exactly match the name of the partner event source that this event bus is matched to.

                                                                            ///

                                                                            You can't use the name default for a custom event bus, as this name is already used for your account's default event bus.

                                                                            diff --git a/sdk/eventbridge/src/operation/create_partner_event_source/builders.rs b/sdk/eventbridge/src/operation/create_partner_event_source/builders.rs index 79c0c5440aa1..4630b74769b6 100644 --- a/sdk/eventbridge/src/operation/create_partner_event_source/builders.rs +++ b/sdk/eventbridge/src/operation/create_partner_event_source/builders.rs @@ -25,9 +25,9 @@ impl CreatePartnerEventSourceFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -89,6 +89,22 @@ impl CreatePartnerEventSourceFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::create_partner_event_source::CreatePartnerEventSource, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::create_partner_event_source::CreatePartnerEventSourceError, + >, + > { + self.customize_middleware().await + } ///

                                                                            The name of the partner event source. This name must be unique and must be in the format partner_name/event_namespace/event_name . The Amazon Web Services account that wants to use this partner event source must create a partner event bus with a name that matches the name of the partner event source.

                                                                            pub fn name(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.name(input.into()); diff --git a/sdk/eventbridge/src/operation/deactivate_event_source/builders.rs b/sdk/eventbridge/src/operation/deactivate_event_source/builders.rs index ae14de5f760e..3e78ca9a4677 100644 --- a/sdk/eventbridge/src/operation/deactivate_event_source/builders.rs +++ b/sdk/eventbridge/src/operation/deactivate_event_source/builders.rs @@ -21,9 +21,9 @@ impl DeactivateEventSourceFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -85,6 +85,22 @@ impl DeactivateEventSourceFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::deactivate_event_source::DeactivateEventSource, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::deactivate_event_source::DeactivateEventSourceError, + >, + > { + self.customize_middleware().await + } ///

                                                                            The name of the partner event source to deactivate.

                                                                            pub fn name(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.name(input.into()); diff --git a/sdk/eventbridge/src/operation/deauthorize_connection/builders.rs b/sdk/eventbridge/src/operation/deauthorize_connection/builders.rs index 268af66bcdfa..3caa23e18cff 100644 --- a/sdk/eventbridge/src/operation/deauthorize_connection/builders.rs +++ b/sdk/eventbridge/src/operation/deauthorize_connection/builders.rs @@ -19,9 +19,9 @@ impl DeauthorizeConnectionFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl DeauthorizeConnectionFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::deauthorize_connection::DeauthorizeConnection, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::deauthorize_connection::DeauthorizeConnectionError, + >, + > { + self.customize_middleware().await + } ///

                                                                            The name of the connection to remove authorization from.

                                                                            pub fn name(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.name(input.into()); diff --git a/sdk/eventbridge/src/operation/delete_api_destination/builders.rs b/sdk/eventbridge/src/operation/delete_api_destination/builders.rs index 07fb433bae5a..a252029b9823 100644 --- a/sdk/eventbridge/src/operation/delete_api_destination/builders.rs +++ b/sdk/eventbridge/src/operation/delete_api_destination/builders.rs @@ -19,9 +19,9 @@ impl DeleteApiDestinationFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl DeleteApiDestinationFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::delete_api_destination::DeleteApiDestination, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::delete_api_destination::DeleteApiDestinationError, + >, + > { + self.customize_middleware().await + } ///

                                                                            The name of the destination to delete.

                                                                            pub fn name(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.name(input.into()); diff --git a/sdk/eventbridge/src/operation/delete_archive/builders.rs b/sdk/eventbridge/src/operation/delete_archive/builders.rs index 928878d99003..d928f7feccdb 100644 --- a/sdk/eventbridge/src/operation/delete_archive/builders.rs +++ b/sdk/eventbridge/src/operation/delete_archive/builders.rs @@ -19,9 +19,9 @@ impl DeleteArchiveFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl DeleteArchiveFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::delete_archive::DeleteArchive, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                            The name of the archive to delete.

                                                                            pub fn archive_name(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.archive_name(input.into()); diff --git a/sdk/eventbridge/src/operation/delete_connection/builders.rs b/sdk/eventbridge/src/operation/delete_connection/builders.rs index 4acfefb30da4..f65b5b4a8574 100644 --- a/sdk/eventbridge/src/operation/delete_connection/builders.rs +++ b/sdk/eventbridge/src/operation/delete_connection/builders.rs @@ -19,9 +19,9 @@ impl DeleteConnectionFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl DeleteConnectionFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::delete_connection::DeleteConnection, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::delete_connection::DeleteConnectionError, + >, + > { + self.customize_middleware().await + } ///

                                                                            The name of the connection to delete.

                                                                            pub fn name(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.name(input.into()); diff --git a/sdk/eventbridge/src/operation/delete_endpoint/builders.rs b/sdk/eventbridge/src/operation/delete_endpoint/builders.rs index f9ebb38542d8..85cac4cc57f5 100644 --- a/sdk/eventbridge/src/operation/delete_endpoint/builders.rs +++ b/sdk/eventbridge/src/operation/delete_endpoint/builders.rs @@ -19,9 +19,9 @@ impl DeleteEndpointFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl DeleteEndpointFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::delete_endpoint::DeleteEndpoint, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                            The name of the endpoint you want to delete. For example, "Name":"us-east-2-custom_bus_A-endpoint"..

                                                                            pub fn name(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.name(input.into()); diff --git a/sdk/eventbridge/src/operation/delete_event_bus/builders.rs b/sdk/eventbridge/src/operation/delete_event_bus/builders.rs index b4b8158990dd..4b78f6e8dfc2 100644 --- a/sdk/eventbridge/src/operation/delete_event_bus/builders.rs +++ b/sdk/eventbridge/src/operation/delete_event_bus/builders.rs @@ -19,9 +19,9 @@ impl DeleteEventBusFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl DeleteEventBusFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::delete_event_bus::DeleteEventBus, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::delete_event_bus::DeleteEventBusError, + >, + > { + self.customize_middleware().await + } ///

                                                                            The name of the event bus to delete.

                                                                            pub fn name(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.name(input.into()); diff --git a/sdk/eventbridge/src/operation/delete_partner_event_source/builders.rs b/sdk/eventbridge/src/operation/delete_partner_event_source/builders.rs index 9373b431eabe..3ed0fb6b47fb 100644 --- a/sdk/eventbridge/src/operation/delete_partner_event_source/builders.rs +++ b/sdk/eventbridge/src/operation/delete_partner_event_source/builders.rs @@ -21,9 +21,9 @@ impl DeletePartnerEventSourceFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -85,6 +85,22 @@ impl DeletePartnerEventSourceFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::delete_partner_event_source::DeletePartnerEventSource, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::delete_partner_event_source::DeletePartnerEventSourceError, + >, + > { + self.customize_middleware().await + } ///

                                                                            The name of the event source to delete.

                                                                            pub fn name(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.name(input.into()); diff --git a/sdk/eventbridge/src/operation/delete_rule/builders.rs b/sdk/eventbridge/src/operation/delete_rule/builders.rs index d1b2066894d8..34fb9c87e9c1 100644 --- a/sdk/eventbridge/src/operation/delete_rule/builders.rs +++ b/sdk/eventbridge/src/operation/delete_rule/builders.rs @@ -23,9 +23,9 @@ impl DeleteRuleFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -81,6 +81,20 @@ impl DeleteRuleFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::delete_rule::DeleteRule, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                            The name of the rule.

                                                                            pub fn name(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.name(input.into()); diff --git a/sdk/eventbridge/src/operation/describe_api_destination/builders.rs b/sdk/eventbridge/src/operation/describe_api_destination/builders.rs index 052b3ea988a1..e978c3761213 100644 --- a/sdk/eventbridge/src/operation/describe_api_destination/builders.rs +++ b/sdk/eventbridge/src/operation/describe_api_destination/builders.rs @@ -19,9 +19,9 @@ impl DescribeApiDestinationFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl DescribeApiDestinationFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::describe_api_destination::DescribeApiDestination, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::describe_api_destination::DescribeApiDestinationError, + >, + > { + self.customize_middleware().await + } ///

                                                                            The name of the API destination to retrieve.

                                                                            pub fn name(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.name(input.into()); diff --git a/sdk/eventbridge/src/operation/describe_archive/builders.rs b/sdk/eventbridge/src/operation/describe_archive/builders.rs index 513f58d7b3b4..c39724bd81c3 100644 --- a/sdk/eventbridge/src/operation/describe_archive/builders.rs +++ b/sdk/eventbridge/src/operation/describe_archive/builders.rs @@ -19,9 +19,9 @@ impl DescribeArchiveFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl DescribeArchiveFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::describe_archive::DescribeArchive, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::describe_archive::DescribeArchiveError, + >, + > { + self.customize_middleware().await + } ///

                                                                            The name of the archive to retrieve.

                                                                            pub fn archive_name(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.archive_name(input.into()); diff --git a/sdk/eventbridge/src/operation/describe_connection/builders.rs b/sdk/eventbridge/src/operation/describe_connection/builders.rs index 1280c52ff135..6632ff07bd17 100644 --- a/sdk/eventbridge/src/operation/describe_connection/builders.rs +++ b/sdk/eventbridge/src/operation/describe_connection/builders.rs @@ -19,9 +19,9 @@ impl DescribeConnectionFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl DescribeConnectionFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::describe_connection::DescribeConnection, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::describe_connection::DescribeConnectionError, + >, + > { + self.customize_middleware().await + } ///

                                                                            The name of the connection to retrieve.

                                                                            pub fn name(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.name(input.into()); diff --git a/sdk/eventbridge/src/operation/describe_endpoint/builders.rs b/sdk/eventbridge/src/operation/describe_endpoint/builders.rs index f9293d525676..7314c3818975 100644 --- a/sdk/eventbridge/src/operation/describe_endpoint/builders.rs +++ b/sdk/eventbridge/src/operation/describe_endpoint/builders.rs @@ -19,9 +19,9 @@ impl DescribeEndpointFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl DescribeEndpointFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::describe_endpoint::DescribeEndpoint, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::describe_endpoint::DescribeEndpointError, + >, + > { + self.customize_middleware().await + } ///

                                                                            The name of the endpoint you want to get information about. For example, "Name":"us-east-2-custom_bus_A-endpoint".

                                                                            pub fn name(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.name(input.into()); diff --git a/sdk/eventbridge/src/operation/describe_event_bus/builders.rs b/sdk/eventbridge/src/operation/describe_event_bus/builders.rs index 09582962d8c0..64e878fc4f05 100644 --- a/sdk/eventbridge/src/operation/describe_event_bus/builders.rs +++ b/sdk/eventbridge/src/operation/describe_event_bus/builders.rs @@ -21,9 +21,9 @@ impl DescribeEventBusFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -85,6 +85,22 @@ impl DescribeEventBusFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::describe_event_bus::DescribeEventBus, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::describe_event_bus::DescribeEventBusError, + >, + > { + self.customize_middleware().await + } ///

                                                                            The name or ARN of the event bus to show details for. If you omit this, the default event bus is displayed.

                                                                            pub fn name(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.name(input.into()); diff --git a/sdk/eventbridge/src/operation/describe_event_source/builders.rs b/sdk/eventbridge/src/operation/describe_event_source/builders.rs index eeba7934b797..1b2db1399408 100644 --- a/sdk/eventbridge/src/operation/describe_event_source/builders.rs +++ b/sdk/eventbridge/src/operation/describe_event_source/builders.rs @@ -19,9 +19,9 @@ impl DescribeEventSourceFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl DescribeEventSourceFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::describe_event_source::DescribeEventSource, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::describe_event_source::DescribeEventSourceError, + >, + > { + self.customize_middleware().await + } ///

                                                                            The name of the partner event source to display the details of.

                                                                            pub fn name(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.name(input.into()); diff --git a/sdk/eventbridge/src/operation/describe_partner_event_source/builders.rs b/sdk/eventbridge/src/operation/describe_partner_event_source/builders.rs index e6f1e4eab3c0..045d089284f8 100644 --- a/sdk/eventbridge/src/operation/describe_partner_event_source/builders.rs +++ b/sdk/eventbridge/src/operation/describe_partner_event_source/builders.rs @@ -19,9 +19,9 @@ impl DescribePartnerEventSourceFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl DescribePartnerEventSourceFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::describe_partner_event_source::DescribePartnerEventSource, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::describe_partner_event_source::DescribePartnerEventSourceError, + >, + > { + self.customize_middleware().await + } ///

                                                                            The name of the event source to display.

                                                                            pub fn name(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.name(input.into()); diff --git a/sdk/eventbridge/src/operation/describe_replay/builders.rs b/sdk/eventbridge/src/operation/describe_replay/builders.rs index 975ce3f3b781..310d3b2db0d8 100644 --- a/sdk/eventbridge/src/operation/describe_replay/builders.rs +++ b/sdk/eventbridge/src/operation/describe_replay/builders.rs @@ -19,9 +19,9 @@ impl DescribeReplayFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl DescribeReplayFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::describe_replay::DescribeReplay, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                            The name of the replay to retrieve.

                                                                            pub fn replay_name(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.replay_name(input.into()); diff --git a/sdk/eventbridge/src/operation/describe_rule/builders.rs b/sdk/eventbridge/src/operation/describe_rule/builders.rs index 7eef922bca94..9798cddc002d 100644 --- a/sdk/eventbridge/src/operation/describe_rule/builders.rs +++ b/sdk/eventbridge/src/operation/describe_rule/builders.rs @@ -20,9 +20,9 @@ impl DescribeRuleFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -78,6 +78,20 @@ impl DescribeRuleFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::describe_rule::DescribeRule, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                            The name of the rule.

                                                                            pub fn name(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.name(input.into()); diff --git a/sdk/eventbridge/src/operation/disable_rule/builders.rs b/sdk/eventbridge/src/operation/disable_rule/builders.rs index c687a52178fc..5d2680b9ce85 100644 --- a/sdk/eventbridge/src/operation/disable_rule/builders.rs +++ b/sdk/eventbridge/src/operation/disable_rule/builders.rs @@ -20,9 +20,9 @@ impl DisableRuleFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -78,6 +78,20 @@ impl DisableRuleFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::disable_rule::DisableRule, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                            The name of the rule.

                                                                            pub fn name(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.name(input.into()); diff --git a/sdk/eventbridge/src/operation/enable_rule/builders.rs b/sdk/eventbridge/src/operation/enable_rule/builders.rs index c5c323842ff0..dfa430976399 100644 --- a/sdk/eventbridge/src/operation/enable_rule/builders.rs +++ b/sdk/eventbridge/src/operation/enable_rule/builders.rs @@ -20,9 +20,9 @@ impl EnableRuleFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -78,6 +78,20 @@ impl EnableRuleFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::enable_rule::EnableRule, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                            The name of the rule.

                                                                            pub fn name(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.name(input.into()); diff --git a/sdk/eventbridge/src/operation/list_api_destinations/builders.rs b/sdk/eventbridge/src/operation/list_api_destinations/builders.rs index 6c2057b3552d..db3075257114 100644 --- a/sdk/eventbridge/src/operation/list_api_destinations/builders.rs +++ b/sdk/eventbridge/src/operation/list_api_destinations/builders.rs @@ -19,9 +19,9 @@ impl ListApiDestinationsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl ListApiDestinationsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_api_destinations::ListApiDestinations, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::list_api_destinations::ListApiDestinationsError, + >, + > { + self.customize_middleware().await + } ///

                                                                            A name prefix to filter results returned. Only API destinations with a name that starts with the prefix are returned.

                                                                            pub fn name_prefix(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.name_prefix(input.into()); diff --git a/sdk/eventbridge/src/operation/list_archives/builders.rs b/sdk/eventbridge/src/operation/list_archives/builders.rs index abe40822d294..c98676ab6828 100644 --- a/sdk/eventbridge/src/operation/list_archives/builders.rs +++ b/sdk/eventbridge/src/operation/list_archives/builders.rs @@ -19,9 +19,9 @@ impl ListArchivesFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl ListArchivesFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_archives::ListArchives, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                            A name prefix to filter the archives returned. Only archives with name that match the prefix are returned.

                                                                            pub fn name_prefix(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.name_prefix(input.into()); diff --git a/sdk/eventbridge/src/operation/list_connections/builders.rs b/sdk/eventbridge/src/operation/list_connections/builders.rs index bc1095fa3b5e..217be66c5aee 100644 --- a/sdk/eventbridge/src/operation/list_connections/builders.rs +++ b/sdk/eventbridge/src/operation/list_connections/builders.rs @@ -19,9 +19,9 @@ impl ListConnectionsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl ListConnectionsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_connections::ListConnections, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::list_connections::ListConnectionsError, + >, + > { + self.customize_middleware().await + } ///

                                                                            A name prefix to filter results returned. Only connections with a name that starts with the prefix are returned.

                                                                            pub fn name_prefix(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.name_prefix(input.into()); diff --git a/sdk/eventbridge/src/operation/list_endpoints/builders.rs b/sdk/eventbridge/src/operation/list_endpoints/builders.rs index fecbf0ad11d3..5d59ba1cae71 100644 --- a/sdk/eventbridge/src/operation/list_endpoints/builders.rs +++ b/sdk/eventbridge/src/operation/list_endpoints/builders.rs @@ -19,9 +19,9 @@ impl ListEndpointsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl ListEndpointsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_endpoints::ListEndpoints, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                            A value that will return a subset of the endpoints associated with this account. For example, "NamePrefix": "ABC" will return all endpoints with "ABC" in the name.

                                                                            pub fn name_prefix(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.name_prefix(input.into()); diff --git a/sdk/eventbridge/src/operation/list_event_buses/builders.rs b/sdk/eventbridge/src/operation/list_event_buses/builders.rs index 0e56e7f30d7d..2193d7f15389 100644 --- a/sdk/eventbridge/src/operation/list_event_buses/builders.rs +++ b/sdk/eventbridge/src/operation/list_event_buses/builders.rs @@ -19,9 +19,9 @@ impl ListEventBusesFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl ListEventBusesFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_event_buses::ListEventBuses, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::list_event_buses::ListEventBusesError, + >, + > { + self.customize_middleware().await + } ///

                                                                            Specifying this limits the results to only those event buses with names that start with the specified prefix.

                                                                            pub fn name_prefix(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.name_prefix(input.into()); diff --git a/sdk/eventbridge/src/operation/list_event_sources/builders.rs b/sdk/eventbridge/src/operation/list_event_sources/builders.rs index 013ba944ba7b..30de75b2337d 100644 --- a/sdk/eventbridge/src/operation/list_event_sources/builders.rs +++ b/sdk/eventbridge/src/operation/list_event_sources/builders.rs @@ -19,9 +19,9 @@ impl ListEventSourcesFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl ListEventSourcesFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_event_sources::ListEventSources, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::list_event_sources::ListEventSourcesError, + >, + > { + self.customize_middleware().await + } ///

                                                                            Specifying this limits the results to only those partner event sources with names that start with the specified prefix.

                                                                            pub fn name_prefix(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.name_prefix(input.into()); diff --git a/sdk/eventbridge/src/operation/list_partner_event_source_accounts/builders.rs b/sdk/eventbridge/src/operation/list_partner_event_source_accounts/builders.rs index ba15c69df934..1cf9983f7d1e 100644 --- a/sdk/eventbridge/src/operation/list_partner_event_source_accounts/builders.rs +++ b/sdk/eventbridge/src/operation/list_partner_event_source_accounts/builders.rs @@ -19,9 +19,9 @@ impl ListPartnerEventSourceAccountsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize(self) -> ::std::result::Result< + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware(self) -> ::std::result::Result< crate::client::customize::CustomizableOperation, ::aws_smithy_http::result::SdkError >{ @@ -64,6 +64,15 @@ impl ListPartnerEventSourceAccountsFluentBuilder { { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize(self) -> ::std::result::Result< + crate::client::customize::CustomizableOperation, + ::aws_smithy_http::result::SdkError + >{ + self.customize_middleware().await + } ///

                                                                            The name of the partner event source to display account information about.

                                                                            pub fn event_source_name( mut self, diff --git a/sdk/eventbridge/src/operation/list_partner_event_sources/builders.rs b/sdk/eventbridge/src/operation/list_partner_event_sources/builders.rs index 516c5a064aec..c08f648b9342 100644 --- a/sdk/eventbridge/src/operation/list_partner_event_sources/builders.rs +++ b/sdk/eventbridge/src/operation/list_partner_event_sources/builders.rs @@ -20,9 +20,9 @@ impl ListPartnerEventSourcesFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -84,6 +84,22 @@ impl ListPartnerEventSourcesFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_partner_event_sources::ListPartnerEventSources, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::list_partner_event_sources::ListPartnerEventSourcesError, + >, + > { + self.customize_middleware().await + } ///

                                                                            If you specify this, the results are limited to only those partner event sources that start with the string you specify.

                                                                            pub fn name_prefix(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.name_prefix(input.into()); diff --git a/sdk/eventbridge/src/operation/list_replays/builders.rs b/sdk/eventbridge/src/operation/list_replays/builders.rs index 4b5d912fe5dc..9d1358975812 100644 --- a/sdk/eventbridge/src/operation/list_replays/builders.rs +++ b/sdk/eventbridge/src/operation/list_replays/builders.rs @@ -19,9 +19,9 @@ impl ListReplaysFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl ListReplaysFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_replays::ListReplays, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                            A name prefix to filter the replays returned. Only replays with name that match the prefix are returned.

                                                                            pub fn name_prefix(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.name_prefix(input.into()); diff --git a/sdk/eventbridge/src/operation/list_rule_names_by_target/builders.rs b/sdk/eventbridge/src/operation/list_rule_names_by_target/builders.rs index 65b14bd9a1d0..e7cc7a8a3c8d 100644 --- a/sdk/eventbridge/src/operation/list_rule_names_by_target/builders.rs +++ b/sdk/eventbridge/src/operation/list_rule_names_by_target/builders.rs @@ -19,9 +19,9 @@ impl ListRuleNamesByTargetFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl ListRuleNamesByTargetFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_rule_names_by_target::ListRuleNamesByTarget, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::list_rule_names_by_target::ListRuleNamesByTargetError, + >, + > { + self.customize_middleware().await + } ///

                                                                            The Amazon Resource Name (ARN) of the target resource.

                                                                            pub fn target_arn(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.target_arn(input.into()); diff --git a/sdk/eventbridge/src/operation/list_rules/builders.rs b/sdk/eventbridge/src/operation/list_rules/builders.rs index 7052b2884346..fd9127badb81 100644 --- a/sdk/eventbridge/src/operation/list_rules/builders.rs +++ b/sdk/eventbridge/src/operation/list_rules/builders.rs @@ -20,9 +20,9 @@ impl ListRulesFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -78,6 +78,20 @@ impl ListRulesFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_rules::ListRules, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                            The prefix matching the rule name.

                                                                            pub fn name_prefix(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.name_prefix(input.into()); diff --git a/sdk/eventbridge/src/operation/list_tags_for_resource/builders.rs b/sdk/eventbridge/src/operation/list_tags_for_resource/builders.rs index 6736d6ddb67c..2e0569f9c177 100644 --- a/sdk/eventbridge/src/operation/list_tags_for_resource/builders.rs +++ b/sdk/eventbridge/src/operation/list_tags_for_resource/builders.rs @@ -19,9 +19,9 @@ impl ListTagsForResourceFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl ListTagsForResourceFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_tags_for_resource::ListTagsForResource, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::list_tags_for_resource::ListTagsForResourceError, + >, + > { + self.customize_middleware().await + } ///

                                                                            The ARN of the EventBridge resource for which you want to view tags.

                                                                            pub fn resource_arn(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.resource_arn(input.into()); diff --git a/sdk/eventbridge/src/operation/list_targets_by_rule/builders.rs b/sdk/eventbridge/src/operation/list_targets_by_rule/builders.rs index 220d00f9938e..74fbe49e9f93 100644 --- a/sdk/eventbridge/src/operation/list_targets_by_rule/builders.rs +++ b/sdk/eventbridge/src/operation/list_targets_by_rule/builders.rs @@ -19,9 +19,9 @@ impl ListTargetsByRuleFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl ListTargetsByRuleFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_targets_by_rule::ListTargetsByRule, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::list_targets_by_rule::ListTargetsByRuleError, + >, + > { + self.customize_middleware().await + } ///

                                                                            The name of the rule.

                                                                            pub fn rule(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.rule(input.into()); diff --git a/sdk/eventbridge/src/operation/put_events/builders.rs b/sdk/eventbridge/src/operation/put_events/builders.rs index 07e68259b66e..866366130876 100644 --- a/sdk/eventbridge/src/operation/put_events/builders.rs +++ b/sdk/eventbridge/src/operation/put_events/builders.rs @@ -21,9 +21,9 @@ impl PutEventsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -79,6 +79,20 @@ impl PutEventsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::put_events::PutEvents, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } /// Appends an item to `Entries`. /// /// To override the contents of this collection use [`set_entries`](Self::set_entries). diff --git a/sdk/eventbridge/src/operation/put_partner_events/builders.rs b/sdk/eventbridge/src/operation/put_partner_events/builders.rs index 84dbc42ad4fa..30f9da442a8b 100644 --- a/sdk/eventbridge/src/operation/put_partner_events/builders.rs +++ b/sdk/eventbridge/src/operation/put_partner_events/builders.rs @@ -19,9 +19,9 @@ impl PutPartnerEventsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl PutPartnerEventsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::put_partner_events::PutPartnerEvents, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::put_partner_events::PutPartnerEventsError, + >, + > { + self.customize_middleware().await + } /// Appends an item to `Entries`. /// /// To override the contents of this collection use [`set_entries`](Self::set_entries). diff --git a/sdk/eventbridge/src/operation/put_permission/builders.rs b/sdk/eventbridge/src/operation/put_permission/builders.rs index a6d6c6d28c96..7034c2511e8f 100644 --- a/sdk/eventbridge/src/operation/put_permission/builders.rs +++ b/sdk/eventbridge/src/operation/put_permission/builders.rs @@ -23,9 +23,9 @@ impl PutPermissionFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -81,6 +81,20 @@ impl PutPermissionFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::put_permission::PutPermission, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                            The name of the event bus associated with the rule. If you omit this, the default event bus is used.

                                                                            pub fn event_bus_name( mut self, diff --git a/sdk/eventbridge/src/operation/put_rule/builders.rs b/sdk/eventbridge/src/operation/put_rule/builders.rs index d2573e5591e6..1a0ec9e8a872 100644 --- a/sdk/eventbridge/src/operation/put_rule/builders.rs +++ b/sdk/eventbridge/src/operation/put_rule/builders.rs @@ -29,9 +29,9 @@ impl PutRuleFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -87,6 +87,20 @@ impl PutRuleFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::put_rule::PutRule, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                            The name of the rule that you are creating or updating.

                                                                            pub fn name(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.name(input.into()); diff --git a/sdk/eventbridge/src/operation/put_targets/builders.rs b/sdk/eventbridge/src/operation/put_targets/builders.rs index 462639f10c29..72b04ac719d3 100644 --- a/sdk/eventbridge/src/operation/put_targets/builders.rs +++ b/sdk/eventbridge/src/operation/put_targets/builders.rs @@ -72,9 +72,9 @@ impl PutTargetsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -130,6 +130,20 @@ impl PutTargetsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::put_targets::PutTargets, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                            The name of the rule.

                                                                            pub fn rule(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.rule(input.into()); diff --git a/sdk/eventbridge/src/operation/remove_permission/builders.rs b/sdk/eventbridge/src/operation/remove_permission/builders.rs index 1550145198a5..5d8dea6b8d22 100644 --- a/sdk/eventbridge/src/operation/remove_permission/builders.rs +++ b/sdk/eventbridge/src/operation/remove_permission/builders.rs @@ -19,9 +19,9 @@ impl RemovePermissionFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl RemovePermissionFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::remove_permission::RemovePermission, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::remove_permission::RemovePermissionError, + >, + > { + self.customize_middleware().await + } ///

                                                                            The statement ID corresponding to the account that is no longer allowed to put events to the default event bus.

                                                                            pub fn statement_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.statement_id(input.into()); diff --git a/sdk/eventbridge/src/operation/remove_targets/builders.rs b/sdk/eventbridge/src/operation/remove_targets/builders.rs index 3d7951fca6ab..c0bfdca9fe62 100644 --- a/sdk/eventbridge/src/operation/remove_targets/builders.rs +++ b/sdk/eventbridge/src/operation/remove_targets/builders.rs @@ -23,9 +23,9 @@ impl RemoveTargetsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -81,6 +81,20 @@ impl RemoveTargetsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::remove_targets::RemoveTargets, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                            The name of the rule.

                                                                            pub fn rule(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.rule(input.into()); diff --git a/sdk/eventbridge/src/operation/start_replay/builders.rs b/sdk/eventbridge/src/operation/start_replay/builders.rs index ad25a6955f5b..7587d9f9a1a2 100644 --- a/sdk/eventbridge/src/operation/start_replay/builders.rs +++ b/sdk/eventbridge/src/operation/start_replay/builders.rs @@ -19,9 +19,9 @@ impl StartReplayFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl StartReplayFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::start_replay::StartReplay, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                            The name of the replay to start.

                                                                            pub fn replay_name(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.replay_name(input.into()); diff --git a/sdk/eventbridge/src/operation/tag_resource/builders.rs b/sdk/eventbridge/src/operation/tag_resource/builders.rs index 2022be9a59fe..a11cffa72f6d 100644 --- a/sdk/eventbridge/src/operation/tag_resource/builders.rs +++ b/sdk/eventbridge/src/operation/tag_resource/builders.rs @@ -22,9 +22,9 @@ impl TagResourceFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -80,6 +80,20 @@ impl TagResourceFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::tag_resource::TagResource, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                            The ARN of the EventBridge resource that you're adding tags to.

                                                                            pub fn resource_arn(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.resource_arn(input.into()); diff --git a/sdk/eventbridge/src/operation/test_event_pattern/builders.rs b/sdk/eventbridge/src/operation/test_event_pattern/builders.rs index 6b38bf63825f..f551caf52aba 100644 --- a/sdk/eventbridge/src/operation/test_event_pattern/builders.rs +++ b/sdk/eventbridge/src/operation/test_event_pattern/builders.rs @@ -20,9 +20,9 @@ impl TestEventPatternFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -84,6 +84,22 @@ impl TestEventPatternFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::test_event_pattern::TestEventPattern, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::test_event_pattern::TestEventPatternError, + >, + > { + self.customize_middleware().await + } ///

                                                                            The event pattern. For more information, see Events and Event Patterns in the Amazon EventBridge User Guide.

                                                                            pub fn event_pattern( mut self, diff --git a/sdk/eventbridge/src/operation/untag_resource/builders.rs b/sdk/eventbridge/src/operation/untag_resource/builders.rs index 14884aa86fd7..fb289bf3b995 100644 --- a/sdk/eventbridge/src/operation/untag_resource/builders.rs +++ b/sdk/eventbridge/src/operation/untag_resource/builders.rs @@ -19,9 +19,9 @@ impl UntagResourceFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl UntagResourceFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::untag_resource::UntagResource, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                            The ARN of the EventBridge resource from which you are removing tags.

                                                                            pub fn resource_arn(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.resource_arn(input.into()); diff --git a/sdk/eventbridge/src/operation/update_api_destination/builders.rs b/sdk/eventbridge/src/operation/update_api_destination/builders.rs index 0e1f4cb79a64..34078fa053e7 100644 --- a/sdk/eventbridge/src/operation/update_api_destination/builders.rs +++ b/sdk/eventbridge/src/operation/update_api_destination/builders.rs @@ -19,9 +19,9 @@ impl UpdateApiDestinationFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl UpdateApiDestinationFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::update_api_destination::UpdateApiDestination, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::update_api_destination::UpdateApiDestinationError, + >, + > { + self.customize_middleware().await + } ///

                                                                            The name of the API destination to update.

                                                                            pub fn name(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.name(input.into()); diff --git a/sdk/eventbridge/src/operation/update_archive/builders.rs b/sdk/eventbridge/src/operation/update_archive/builders.rs index bacc01b7aa94..7525f43b78b8 100644 --- a/sdk/eventbridge/src/operation/update_archive/builders.rs +++ b/sdk/eventbridge/src/operation/update_archive/builders.rs @@ -19,9 +19,9 @@ impl UpdateArchiveFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl UpdateArchiveFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::update_archive::UpdateArchive, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                            The name of the archive to update.

                                                                            pub fn archive_name(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.archive_name(input.into()); diff --git a/sdk/eventbridge/src/operation/update_connection/builders.rs b/sdk/eventbridge/src/operation/update_connection/builders.rs index ba3052814721..70a219105853 100644 --- a/sdk/eventbridge/src/operation/update_connection/builders.rs +++ b/sdk/eventbridge/src/operation/update_connection/builders.rs @@ -19,9 +19,9 @@ impl UpdateConnectionFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl UpdateConnectionFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::update_connection::UpdateConnection, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::update_connection::UpdateConnectionError, + >, + > { + self.customize_middleware().await + } ///

                                                                            The name of the connection to update.

                                                                            pub fn name(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.name(input.into()); diff --git a/sdk/eventbridge/src/operation/update_endpoint/builders.rs b/sdk/eventbridge/src/operation/update_endpoint/builders.rs index 10a9bfba7ea1..526df9543d25 100644 --- a/sdk/eventbridge/src/operation/update_endpoint/builders.rs +++ b/sdk/eventbridge/src/operation/update_endpoint/builders.rs @@ -19,9 +19,9 @@ impl UpdateEndpointFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl UpdateEndpointFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::update_endpoint::UpdateEndpoint, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                            The name of the endpoint you want to update.

                                                                            pub fn name(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.name(input.into()); diff --git a/sdk/evidently/src/operation/batch_evaluate_feature/builders.rs b/sdk/evidently/src/operation/batch_evaluate_feature/builders.rs index 06fd4e8c6f5f..66b0c0013176 100644 --- a/sdk/evidently/src/operation/batch_evaluate_feature/builders.rs +++ b/sdk/evidently/src/operation/batch_evaluate_feature/builders.rs @@ -23,9 +23,9 @@ impl BatchEvaluateFeatureFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -87,6 +87,22 @@ impl BatchEvaluateFeatureFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::batch_evaluate_feature::BatchEvaluateFeature, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::batch_evaluate_feature::BatchEvaluateFeatureError, + >, + > { + self.customize_middleware().await + } ///

                                                                            The name or ARN of the project that contains the feature being evaluated.

                                                                            pub fn project(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.project(input.into()); diff --git a/sdk/evidently/src/operation/create_experiment/builders.rs b/sdk/evidently/src/operation/create_experiment/builders.rs index 78d53d674b11..d8bb02cd1c3e 100644 --- a/sdk/evidently/src/operation/create_experiment/builders.rs +++ b/sdk/evidently/src/operation/create_experiment/builders.rs @@ -22,9 +22,9 @@ impl CreateExperimentFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -86,6 +86,22 @@ impl CreateExperimentFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::create_experiment::CreateExperiment, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::create_experiment::CreateExperimentError, + >, + > { + self.customize_middleware().await + } ///

                                                                            The name or ARN of the project that you want to create the new experiment in.

                                                                            pub fn project(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.project(input.into()); diff --git a/sdk/evidently/src/operation/create_feature/builders.rs b/sdk/evidently/src/operation/create_feature/builders.rs index d8731b233d47..affdb70fffa9 100644 --- a/sdk/evidently/src/operation/create_feature/builders.rs +++ b/sdk/evidently/src/operation/create_feature/builders.rs @@ -20,9 +20,9 @@ impl CreateFeatureFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -78,6 +78,20 @@ impl CreateFeatureFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::create_feature::CreateFeature, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                            The name or ARN of the project that is to contain the new feature.

                                                                            pub fn project(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.project(input.into()); diff --git a/sdk/evidently/src/operation/create_launch/builders.rs b/sdk/evidently/src/operation/create_launch/builders.rs index d62bae41a4c5..0c0909080446 100644 --- a/sdk/evidently/src/operation/create_launch/builders.rs +++ b/sdk/evidently/src/operation/create_launch/builders.rs @@ -21,9 +21,9 @@ impl CreateLaunchFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -79,6 +79,20 @@ impl CreateLaunchFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::create_launch::CreateLaunch, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                            The name or ARN of the project that you want to create the launch in.

                                                                            pub fn project(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.project(input.into()); diff --git a/sdk/evidently/src/operation/create_project/builders.rs b/sdk/evidently/src/operation/create_project/builders.rs index 3b83631f1b08..f206b9e9efab 100644 --- a/sdk/evidently/src/operation/create_project/builders.rs +++ b/sdk/evidently/src/operation/create_project/builders.rs @@ -20,9 +20,9 @@ impl CreateProjectFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -78,6 +78,20 @@ impl CreateProjectFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::create_project::CreateProject, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                            The name for the project.

                                                                            pub fn name(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.name(input.into()); diff --git a/sdk/evidently/src/operation/create_segment/builders.rs b/sdk/evidently/src/operation/create_segment/builders.rs index 5883748be05c..6a5462cba748 100644 --- a/sdk/evidently/src/operation/create_segment/builders.rs +++ b/sdk/evidently/src/operation/create_segment/builders.rs @@ -22,9 +22,9 @@ impl CreateSegmentFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -80,6 +80,20 @@ impl CreateSegmentFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::create_segment::CreateSegment, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                            A name for the segment.

                                                                            pub fn name(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.name(input.into()); diff --git a/sdk/evidently/src/operation/delete_experiment/builders.rs b/sdk/evidently/src/operation/delete_experiment/builders.rs index da1c61d8e0ed..33f0dc796010 100644 --- a/sdk/evidently/src/operation/delete_experiment/builders.rs +++ b/sdk/evidently/src/operation/delete_experiment/builders.rs @@ -20,9 +20,9 @@ impl DeleteExperimentFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -84,6 +84,22 @@ impl DeleteExperimentFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::delete_experiment::DeleteExperiment, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::delete_experiment::DeleteExperimentError, + >, + > { + self.customize_middleware().await + } ///

                                                                            The name or ARN of the project that contains the experiment to delete.

                                                                            pub fn project(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.project(input.into()); diff --git a/sdk/evidently/src/operation/delete_feature/builders.rs b/sdk/evidently/src/operation/delete_feature/builders.rs index e1fc766417af..c0e3a82561ea 100644 --- a/sdk/evidently/src/operation/delete_feature/builders.rs +++ b/sdk/evidently/src/operation/delete_feature/builders.rs @@ -19,9 +19,9 @@ impl DeleteFeatureFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl DeleteFeatureFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::delete_feature::DeleteFeature, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                            The name or ARN of the project that contains the feature to delete.

                                                                            pub fn project(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.project(input.into()); diff --git a/sdk/evidently/src/operation/delete_launch/builders.rs b/sdk/evidently/src/operation/delete_launch/builders.rs index 63fb973e7bff..a9445c65b398 100644 --- a/sdk/evidently/src/operation/delete_launch/builders.rs +++ b/sdk/evidently/src/operation/delete_launch/builders.rs @@ -20,9 +20,9 @@ impl DeleteLaunchFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -78,6 +78,20 @@ impl DeleteLaunchFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::delete_launch::DeleteLaunch, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                            The name or ARN of the project that contains the launch to delete.

                                                                            pub fn project(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.project(input.into()); diff --git a/sdk/evidently/src/operation/delete_project/builders.rs b/sdk/evidently/src/operation/delete_project/builders.rs index 16fe9ea84062..ea16a7a1c38b 100644 --- a/sdk/evidently/src/operation/delete_project/builders.rs +++ b/sdk/evidently/src/operation/delete_project/builders.rs @@ -19,9 +19,9 @@ impl DeleteProjectFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl DeleteProjectFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::delete_project::DeleteProject, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                            The name or ARN of the project to delete.

                                                                            pub fn project(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.project(input.into()); diff --git a/sdk/evidently/src/operation/delete_segment/builders.rs b/sdk/evidently/src/operation/delete_segment/builders.rs index 2ceb592b3de8..999db6635e4e 100644 --- a/sdk/evidently/src/operation/delete_segment/builders.rs +++ b/sdk/evidently/src/operation/delete_segment/builders.rs @@ -19,9 +19,9 @@ impl DeleteSegmentFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl DeleteSegmentFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::delete_segment::DeleteSegment, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                            Specifies the segment to delete.

                                                                            pub fn segment(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.segment(input.into()); diff --git a/sdk/evidently/src/operation/evaluate_feature/builders.rs b/sdk/evidently/src/operation/evaluate_feature/builders.rs index d25d2e8c7efa..70fec9529d28 100644 --- a/sdk/evidently/src/operation/evaluate_feature/builders.rs +++ b/sdk/evidently/src/operation/evaluate_feature/builders.rs @@ -26,9 +26,9 @@ impl EvaluateFeatureFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -90,6 +90,22 @@ impl EvaluateFeatureFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::evaluate_feature::EvaluateFeature, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::evaluate_feature::EvaluateFeatureError, + >, + > { + self.customize_middleware().await + } ///

                                                                            The name or ARN of the project that contains this feature.

                                                                            pub fn project(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.project(input.into()); diff --git a/sdk/evidently/src/operation/get_experiment/builders.rs b/sdk/evidently/src/operation/get_experiment/builders.rs index 9dbdf6b0091b..27ef47fe6c9c 100644 --- a/sdk/evidently/src/operation/get_experiment/builders.rs +++ b/sdk/evidently/src/operation/get_experiment/builders.rs @@ -19,9 +19,9 @@ impl GetExperimentFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl GetExperimentFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::get_experiment::GetExperiment, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                            The name or ARN of the project that contains the experiment.

                                                                            pub fn project(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.project(input.into()); diff --git a/sdk/evidently/src/operation/get_experiment_results/builders.rs b/sdk/evidently/src/operation/get_experiment_results/builders.rs index cf4d6094f71b..0f7b90a79c4b 100644 --- a/sdk/evidently/src/operation/get_experiment_results/builders.rs +++ b/sdk/evidently/src/operation/get_experiment_results/builders.rs @@ -20,9 +20,9 @@ impl GetExperimentResultsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -84,6 +84,22 @@ impl GetExperimentResultsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::get_experiment_results::GetExperimentResults, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::get_experiment_results::GetExperimentResultsError, + >, + > { + self.customize_middleware().await + } ///

                                                                            The name or ARN of the project that contains the experiment that you want to see the results of.

                                                                            pub fn project(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.project(input.into()); diff --git a/sdk/evidently/src/operation/get_feature/builders.rs b/sdk/evidently/src/operation/get_feature/builders.rs index 514eed4ae835..b3200d9c7ea6 100644 --- a/sdk/evidently/src/operation/get_feature/builders.rs +++ b/sdk/evidently/src/operation/get_feature/builders.rs @@ -19,9 +19,9 @@ impl GetFeatureFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl GetFeatureFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::get_feature::GetFeature, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                            The name or ARN of the project that contains the feature.

                                                                            pub fn project(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.project(input.into()); diff --git a/sdk/evidently/src/operation/get_launch/builders.rs b/sdk/evidently/src/operation/get_launch/builders.rs index f0bd108786ae..372bdfde949c 100644 --- a/sdk/evidently/src/operation/get_launch/builders.rs +++ b/sdk/evidently/src/operation/get_launch/builders.rs @@ -19,9 +19,9 @@ impl GetLaunchFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl GetLaunchFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::get_launch::GetLaunch, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                            The name or ARN of the project that contains the launch.

                                                                            pub fn project(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.project(input.into()); diff --git a/sdk/evidently/src/operation/get_project/builders.rs b/sdk/evidently/src/operation/get_project/builders.rs index a487bf163849..099730537935 100644 --- a/sdk/evidently/src/operation/get_project/builders.rs +++ b/sdk/evidently/src/operation/get_project/builders.rs @@ -19,9 +19,9 @@ impl GetProjectFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl GetProjectFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::get_project::GetProject, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                            The name or ARN of the project that you want to see the details of.

                                                                            pub fn project(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.project(input.into()); diff --git a/sdk/evidently/src/operation/get_segment/builders.rs b/sdk/evidently/src/operation/get_segment/builders.rs index b2d1b2e91576..5dc05cbfaa05 100644 --- a/sdk/evidently/src/operation/get_segment/builders.rs +++ b/sdk/evidently/src/operation/get_segment/builders.rs @@ -19,9 +19,9 @@ impl GetSegmentFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl GetSegmentFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::get_segment::GetSegment, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                            The ARN of the segment to return information for.

                                                                            pub fn segment(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.segment(input.into()); diff --git a/sdk/evidently/src/operation/list_experiments/builders.rs b/sdk/evidently/src/operation/list_experiments/builders.rs index d81e7f05d42c..cdbb8604804f 100644 --- a/sdk/evidently/src/operation/list_experiments/builders.rs +++ b/sdk/evidently/src/operation/list_experiments/builders.rs @@ -19,9 +19,9 @@ impl ListExperimentsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl ListExperimentsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_experiments::ListExperiments, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::list_experiments::ListExperimentsError, + >, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::list_experiments::paginator::ListExperimentsPaginator::send) which returns a `Stream`. diff --git a/sdk/evidently/src/operation/list_features/builders.rs b/sdk/evidently/src/operation/list_features/builders.rs index adec91790412..d346f318ddf4 100644 --- a/sdk/evidently/src/operation/list_features/builders.rs +++ b/sdk/evidently/src/operation/list_features/builders.rs @@ -19,9 +19,9 @@ impl ListFeaturesFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl ListFeaturesFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_features::ListFeatures, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::list_features::paginator::ListFeaturesPaginator::send) which returns a `Stream`. diff --git a/sdk/evidently/src/operation/list_launches/builders.rs b/sdk/evidently/src/operation/list_launches/builders.rs index 3eab544e6d76..bf8268067378 100644 --- a/sdk/evidently/src/operation/list_launches/builders.rs +++ b/sdk/evidently/src/operation/list_launches/builders.rs @@ -19,9 +19,9 @@ impl ListLaunchesFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl ListLaunchesFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_launches::ListLaunches, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::list_launches::paginator::ListLaunchesPaginator::send) which returns a `Stream`. diff --git a/sdk/evidently/src/operation/list_projects/builders.rs b/sdk/evidently/src/operation/list_projects/builders.rs index 353c5d80a575..ef045a8351ed 100644 --- a/sdk/evidently/src/operation/list_projects/builders.rs +++ b/sdk/evidently/src/operation/list_projects/builders.rs @@ -19,9 +19,9 @@ impl ListProjectsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl ListProjectsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_projects::ListProjects, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::list_projects::paginator::ListProjectsPaginator::send) which returns a `Stream`. diff --git a/sdk/evidently/src/operation/list_segment_references/builders.rs b/sdk/evidently/src/operation/list_segment_references/builders.rs index b24e15102ac2..f02f614579e6 100644 --- a/sdk/evidently/src/operation/list_segment_references/builders.rs +++ b/sdk/evidently/src/operation/list_segment_references/builders.rs @@ -19,9 +19,9 @@ impl ListSegmentReferencesFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl ListSegmentReferencesFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_segment_references::ListSegmentReferences, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::list_segment_references::ListSegmentReferencesError, + >, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::list_segment_references::paginator::ListSegmentReferencesPaginator::send) which returns a `Stream`. diff --git a/sdk/evidently/src/operation/list_segments/builders.rs b/sdk/evidently/src/operation/list_segments/builders.rs index 19d621bec37e..bad5e6f759de 100644 --- a/sdk/evidently/src/operation/list_segments/builders.rs +++ b/sdk/evidently/src/operation/list_segments/builders.rs @@ -19,9 +19,9 @@ impl ListSegmentsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl ListSegmentsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_segments::ListSegments, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::list_segments::paginator::ListSegmentsPaginator::send) which returns a `Stream`. diff --git a/sdk/evidently/src/operation/list_tags_for_resource/builders.rs b/sdk/evidently/src/operation/list_tags_for_resource/builders.rs index f5133c7f5c6d..e6e39594eca4 100644 --- a/sdk/evidently/src/operation/list_tags_for_resource/builders.rs +++ b/sdk/evidently/src/operation/list_tags_for_resource/builders.rs @@ -19,9 +19,9 @@ impl ListTagsForResourceFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl ListTagsForResourceFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_tags_for_resource::ListTagsForResource, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::list_tags_for_resource::ListTagsForResourceError, + >, + > { + self.customize_middleware().await + } ///

                                                                            The ARN of the resource that you want to see the tags of.

                                                                            pub fn resource_arn(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.resource_arn(input.into()); diff --git a/sdk/evidently/src/operation/put_project_events/builders.rs b/sdk/evidently/src/operation/put_project_events/builders.rs index 9a425cb40574..2e7649e57d58 100644 --- a/sdk/evidently/src/operation/put_project_events/builders.rs +++ b/sdk/evidently/src/operation/put_project_events/builders.rs @@ -19,9 +19,9 @@ impl PutProjectEventsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl PutProjectEventsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::put_project_events::PutProjectEvents, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::put_project_events::PutProjectEventsError, + >, + > { + self.customize_middleware().await + } ///

                                                                            The name or ARN of the project to write the events to.

                                                                            pub fn project(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.project(input.into()); diff --git a/sdk/evidently/src/operation/start_experiment/builders.rs b/sdk/evidently/src/operation/start_experiment/builders.rs index bcb497ec4f6e..f5954c053f16 100644 --- a/sdk/evidently/src/operation/start_experiment/builders.rs +++ b/sdk/evidently/src/operation/start_experiment/builders.rs @@ -19,9 +19,9 @@ impl StartExperimentFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl StartExperimentFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::start_experiment::StartExperiment, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::start_experiment::StartExperimentError, + >, + > { + self.customize_middleware().await + } ///

                                                                            The name or ARN of the project that contains the experiment to start.

                                                                            pub fn project(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.project(input.into()); diff --git a/sdk/evidently/src/operation/start_launch/builders.rs b/sdk/evidently/src/operation/start_launch/builders.rs index 24826d645c9e..987b03d77da0 100644 --- a/sdk/evidently/src/operation/start_launch/builders.rs +++ b/sdk/evidently/src/operation/start_launch/builders.rs @@ -19,9 +19,9 @@ impl StartLaunchFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl StartLaunchFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::start_launch::StartLaunch, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                            The name or ARN of the project that contains the launch to start.

                                                                            pub fn project(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.project(input.into()); diff --git a/sdk/evidently/src/operation/stop_experiment/builders.rs b/sdk/evidently/src/operation/stop_experiment/builders.rs index 68bd4f0c7ad6..bb6105904d9d 100644 --- a/sdk/evidently/src/operation/stop_experiment/builders.rs +++ b/sdk/evidently/src/operation/stop_experiment/builders.rs @@ -19,9 +19,9 @@ impl StopExperimentFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl StopExperimentFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::stop_experiment::StopExperiment, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                            The name or ARN of the project that contains the experiment to stop.

                                                                            pub fn project(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.project(input.into()); diff --git a/sdk/evidently/src/operation/stop_launch/builders.rs b/sdk/evidently/src/operation/stop_launch/builders.rs index f4ec859ad81b..4bb15f4250b7 100644 --- a/sdk/evidently/src/operation/stop_launch/builders.rs +++ b/sdk/evidently/src/operation/stop_launch/builders.rs @@ -19,9 +19,9 @@ impl StopLaunchFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl StopLaunchFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::stop_launch::StopLaunch, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                            The name or ARN of the project that contains the launch that you want to stop.

                                                                            pub fn project(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.project(input.into()); diff --git a/sdk/evidently/src/operation/tag_resource/builders.rs b/sdk/evidently/src/operation/tag_resource/builders.rs index b50c038ba239..648c703bec02 100644 --- a/sdk/evidently/src/operation/tag_resource/builders.rs +++ b/sdk/evidently/src/operation/tag_resource/builders.rs @@ -24,9 +24,9 @@ impl TagResourceFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -82,6 +82,20 @@ impl TagResourceFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::tag_resource::TagResource, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                            The ARN of the CloudWatch Evidently resource that you're adding tags to.

                                                                            pub fn resource_arn(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.resource_arn(input.into()); diff --git a/sdk/evidently/src/operation/test_segment_pattern/builders.rs b/sdk/evidently/src/operation/test_segment_pattern/builders.rs index c81023c12c38..4382e75f3050 100644 --- a/sdk/evidently/src/operation/test_segment_pattern/builders.rs +++ b/sdk/evidently/src/operation/test_segment_pattern/builders.rs @@ -19,9 +19,9 @@ impl TestSegmentPatternFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl TestSegmentPatternFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::test_segment_pattern::TestSegmentPattern, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::test_segment_pattern::TestSegmentPatternError, + >, + > { + self.customize_middleware().await + } ///

                                                                            The pattern to test.

                                                                            pub fn pattern(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.pattern(input.into()); diff --git a/sdk/evidently/src/operation/untag_resource/builders.rs b/sdk/evidently/src/operation/untag_resource/builders.rs index 84fb2afc0aa3..16ed7388894a 100644 --- a/sdk/evidently/src/operation/untag_resource/builders.rs +++ b/sdk/evidently/src/operation/untag_resource/builders.rs @@ -19,9 +19,9 @@ impl UntagResourceFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl UntagResourceFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::untag_resource::UntagResource, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                            The ARN of the CloudWatch Evidently resource that you're removing tags from.

                                                                            pub fn resource_arn(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.resource_arn(input.into()); diff --git a/sdk/evidently/src/operation/update_experiment/builders.rs b/sdk/evidently/src/operation/update_experiment/builders.rs index 2d9dafad72f1..af02bee446e0 100644 --- a/sdk/evidently/src/operation/update_experiment/builders.rs +++ b/sdk/evidently/src/operation/update_experiment/builders.rs @@ -20,9 +20,9 @@ impl UpdateExperimentFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -84,6 +84,22 @@ impl UpdateExperimentFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::update_experiment::UpdateExperiment, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::update_experiment::UpdateExperimentError, + >, + > { + self.customize_middleware().await + } ///

                                                                            The name or ARN of the project that contains the experiment that you want to update.

                                                                            pub fn project(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.project(input.into()); diff --git a/sdk/evidently/src/operation/update_feature/builders.rs b/sdk/evidently/src/operation/update_feature/builders.rs index a623d58f6000..1e28c29ef37e 100644 --- a/sdk/evidently/src/operation/update_feature/builders.rs +++ b/sdk/evidently/src/operation/update_feature/builders.rs @@ -20,9 +20,9 @@ impl UpdateFeatureFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -78,6 +78,20 @@ impl UpdateFeatureFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::update_feature::UpdateFeature, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                            The name or ARN of the project that contains the feature to be updated.

                                                                            pub fn project(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.project(input.into()); diff --git a/sdk/evidently/src/operation/update_launch/builders.rs b/sdk/evidently/src/operation/update_launch/builders.rs index 796890a3cf0c..e9b52e177b0c 100644 --- a/sdk/evidently/src/operation/update_launch/builders.rs +++ b/sdk/evidently/src/operation/update_launch/builders.rs @@ -20,9 +20,9 @@ impl UpdateLaunchFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -78,6 +78,20 @@ impl UpdateLaunchFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::update_launch::UpdateLaunch, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                            The name or ARN of the project that contains the launch that you want to update.

                                                                            pub fn project(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.project(input.into()); diff --git a/sdk/evidently/src/operation/update_project/builders.rs b/sdk/evidently/src/operation/update_project/builders.rs index a71fb26dce77..adcbc3fd8bca 100644 --- a/sdk/evidently/src/operation/update_project/builders.rs +++ b/sdk/evidently/src/operation/update_project/builders.rs @@ -22,9 +22,9 @@ impl UpdateProjectFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -80,6 +80,20 @@ impl UpdateProjectFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::update_project::UpdateProject, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                            The name or ARN of the project to update.

                                                                            pub fn project(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.project(input.into()); diff --git a/sdk/evidently/src/operation/update_project_data_delivery/builders.rs b/sdk/evidently/src/operation/update_project_data_delivery/builders.rs index 9a88ebaedaff..cd172e926777 100644 --- a/sdk/evidently/src/operation/update_project_data_delivery/builders.rs +++ b/sdk/evidently/src/operation/update_project_data_delivery/builders.rs @@ -20,9 +20,9 @@ impl UpdateProjectDataDeliveryFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -84,6 +84,22 @@ impl UpdateProjectDataDeliveryFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::update_project_data_delivery::UpdateProjectDataDelivery, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::update_project_data_delivery::UpdateProjectDataDeliveryError, + >, + > { + self.customize_middleware().await + } ///

                                                                            The name or ARN of the project that you want to modify the data storage options for.

                                                                            pub fn project(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.project(input.into()); diff --git a/sdk/finspace/src/operation/create_environment/builders.rs b/sdk/finspace/src/operation/create_environment/builders.rs index 5347a095bbd4..0abb54b1daf6 100644 --- a/sdk/finspace/src/operation/create_environment/builders.rs +++ b/sdk/finspace/src/operation/create_environment/builders.rs @@ -19,9 +19,9 @@ impl CreateEnvironmentFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl CreateEnvironmentFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::create_environment::CreateEnvironment, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::create_environment::CreateEnvironmentError, + >, + > { + self.customize_middleware().await + } ///

                                                                            The name of the FinSpace environment to be created.

                                                                            pub fn name(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.name(input.into()); diff --git a/sdk/finspace/src/operation/delete_environment/builders.rs b/sdk/finspace/src/operation/delete_environment/builders.rs index 626594768791..dfa4a929a3ff 100644 --- a/sdk/finspace/src/operation/delete_environment/builders.rs +++ b/sdk/finspace/src/operation/delete_environment/builders.rs @@ -19,9 +19,9 @@ impl DeleteEnvironmentFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl DeleteEnvironmentFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::delete_environment::DeleteEnvironment, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::delete_environment::DeleteEnvironmentError, + >, + > { + self.customize_middleware().await + } ///

                                                                            The identifier for the FinSpace environment.

                                                                            pub fn environment_id( mut self, diff --git a/sdk/finspace/src/operation/get_environment/builders.rs b/sdk/finspace/src/operation/get_environment/builders.rs index b833bef87da4..bf8a673ed8bb 100644 --- a/sdk/finspace/src/operation/get_environment/builders.rs +++ b/sdk/finspace/src/operation/get_environment/builders.rs @@ -19,9 +19,9 @@ impl GetEnvironmentFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl GetEnvironmentFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::get_environment::GetEnvironment, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                            The identifier of the FinSpace environment.

                                                                            pub fn environment_id( mut self, diff --git a/sdk/finspace/src/operation/list_environments/builders.rs b/sdk/finspace/src/operation/list_environments/builders.rs index e47f470c7773..91661365e1ed 100644 --- a/sdk/finspace/src/operation/list_environments/builders.rs +++ b/sdk/finspace/src/operation/list_environments/builders.rs @@ -19,9 +19,9 @@ impl ListEnvironmentsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl ListEnvironmentsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_environments::ListEnvironments, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::list_environments::ListEnvironmentsError, + >, + > { + self.customize_middleware().await + } ///

                                                                            A token generated by FinSpace that specifies where to continue pagination if a previous request was truncated. To get the next set of pages, pass in the nextToken value from the response object of the previous page call.

                                                                            pub fn next_token(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.next_token(input.into()); diff --git a/sdk/finspace/src/operation/list_tags_for_resource/builders.rs b/sdk/finspace/src/operation/list_tags_for_resource/builders.rs index f275abd0abf5..ea5bed04d4a7 100644 --- a/sdk/finspace/src/operation/list_tags_for_resource/builders.rs +++ b/sdk/finspace/src/operation/list_tags_for_resource/builders.rs @@ -19,9 +19,9 @@ impl ListTagsForResourceFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl ListTagsForResourceFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_tags_for_resource::ListTagsForResource, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::list_tags_for_resource::ListTagsForResourceError, + >, + > { + self.customize_middleware().await + } ///

                                                                            The Amazon Resource Name of the resource.

                                                                            pub fn resource_arn(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.resource_arn(input.into()); diff --git a/sdk/finspace/src/operation/tag_resource/builders.rs b/sdk/finspace/src/operation/tag_resource/builders.rs index 0e000f63abbb..25b1ca261964 100644 --- a/sdk/finspace/src/operation/tag_resource/builders.rs +++ b/sdk/finspace/src/operation/tag_resource/builders.rs @@ -19,9 +19,9 @@ impl TagResourceFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl TagResourceFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::tag_resource::TagResource, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                            The Amazon Resource Name (ARN) for the resource.

                                                                            pub fn resource_arn(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.resource_arn(input.into()); diff --git a/sdk/finspace/src/operation/untag_resource/builders.rs b/sdk/finspace/src/operation/untag_resource/builders.rs index b607495aaf87..34924f0cb4f4 100644 --- a/sdk/finspace/src/operation/untag_resource/builders.rs +++ b/sdk/finspace/src/operation/untag_resource/builders.rs @@ -19,9 +19,9 @@ impl UntagResourceFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl UntagResourceFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::untag_resource::UntagResource, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                            A FinSpace resource from which you want to remove a tag or tags. The value for this parameter is an Amazon Resource Name (ARN).

                                                                            pub fn resource_arn(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.resource_arn(input.into()); diff --git a/sdk/finspace/src/operation/update_environment/builders.rs b/sdk/finspace/src/operation/update_environment/builders.rs index 6dd10a3fd99b..9e6db2646283 100644 --- a/sdk/finspace/src/operation/update_environment/builders.rs +++ b/sdk/finspace/src/operation/update_environment/builders.rs @@ -19,9 +19,9 @@ impl UpdateEnvironmentFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl UpdateEnvironmentFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::update_environment::UpdateEnvironment, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::update_environment::UpdateEnvironmentError, + >, + > { + self.customize_middleware().await + } ///

                                                                            The identifier of the FinSpace environment.

                                                                            pub fn environment_id( mut self, diff --git a/sdk/finspacedata/src/operation/associate_user_to_permission_group/builders.rs b/sdk/finspacedata/src/operation/associate_user_to_permission_group/builders.rs index 81c4eb5186ea..e5a7e345802c 100644 --- a/sdk/finspacedata/src/operation/associate_user_to_permission_group/builders.rs +++ b/sdk/finspacedata/src/operation/associate_user_to_permission_group/builders.rs @@ -19,9 +19,9 @@ impl AssociateUserToPermissionGroupFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize(self) -> ::std::result::Result< + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware(self) -> ::std::result::Result< crate::client::customize::CustomizableOperation, ::aws_smithy_http::result::SdkError >{ @@ -64,6 +64,15 @@ impl AssociateUserToPermissionGroupFluentBuilder { { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize(self) -> ::std::result::Result< + crate::client::customize::CustomizableOperation, + ::aws_smithy_http::result::SdkError + >{ + self.customize_middleware().await + } ///

                                                                            The unique identifier for the permission group.

                                                                            pub fn permission_group_id( mut self, diff --git a/sdk/finspacedata/src/operation/create_changeset/builders.rs b/sdk/finspacedata/src/operation/create_changeset/builders.rs index 89493e83cf78..9cfe2c1b1ccd 100644 --- a/sdk/finspacedata/src/operation/create_changeset/builders.rs +++ b/sdk/finspacedata/src/operation/create_changeset/builders.rs @@ -19,9 +19,9 @@ impl CreateChangesetFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl CreateChangesetFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::create_changeset::CreateChangeset, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::create_changeset::CreateChangesetError, + >, + > { + self.customize_middleware().await + } ///

                                                                            A token that ensures idempotency. This token expires in 10 minutes.

                                                                            pub fn client_token(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.client_token(input.into()); diff --git a/sdk/finspacedata/src/operation/create_data_view/builders.rs b/sdk/finspacedata/src/operation/create_data_view/builders.rs index 781e51f3f140..3264a6d342b4 100644 --- a/sdk/finspacedata/src/operation/create_data_view/builders.rs +++ b/sdk/finspacedata/src/operation/create_data_view/builders.rs @@ -19,9 +19,9 @@ impl CreateDataViewFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl CreateDataViewFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::create_data_view::CreateDataView, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::create_data_view::CreateDataViewError, + >, + > { + self.customize_middleware().await + } ///

                                                                            A token that ensures idempotency. This token expires in 10 minutes.

                                                                            pub fn client_token(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.client_token(input.into()); diff --git a/sdk/finspacedata/src/operation/create_dataset/builders.rs b/sdk/finspacedata/src/operation/create_dataset/builders.rs index b6b23ada0034..cace382ae60c 100644 --- a/sdk/finspacedata/src/operation/create_dataset/builders.rs +++ b/sdk/finspacedata/src/operation/create_dataset/builders.rs @@ -19,9 +19,9 @@ impl CreateDatasetFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl CreateDatasetFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::create_dataset::CreateDataset, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                            A token that ensures idempotency. This token expires in 10 minutes.

                                                                            pub fn client_token(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.client_token(input.into()); diff --git a/sdk/finspacedata/src/operation/create_permission_group/builders.rs b/sdk/finspacedata/src/operation/create_permission_group/builders.rs index 00f32c2e7fe7..c198cb51a687 100644 --- a/sdk/finspacedata/src/operation/create_permission_group/builders.rs +++ b/sdk/finspacedata/src/operation/create_permission_group/builders.rs @@ -19,9 +19,9 @@ impl CreatePermissionGroupFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl CreatePermissionGroupFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::create_permission_group::CreatePermissionGroup, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::create_permission_group::CreatePermissionGroupError, + >, + > { + self.customize_middleware().await + } ///

                                                                            The name of the permission group.

                                                                            pub fn name(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.name(input.into()); diff --git a/sdk/finspacedata/src/operation/create_user/builders.rs b/sdk/finspacedata/src/operation/create_user/builders.rs index 09fd67a61274..90120e97f90e 100644 --- a/sdk/finspacedata/src/operation/create_user/builders.rs +++ b/sdk/finspacedata/src/operation/create_user/builders.rs @@ -19,9 +19,9 @@ impl CreateUserFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl CreateUserFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::create_user::CreateUser, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                            The email address of the user that you want to register. The email address serves as a uniquer identifier for each user and cannot be changed after it's created.

                                                                            pub fn email_address( mut self, diff --git a/sdk/finspacedata/src/operation/delete_dataset/builders.rs b/sdk/finspacedata/src/operation/delete_dataset/builders.rs index cbef0e7f8808..3ef606f91f2c 100644 --- a/sdk/finspacedata/src/operation/delete_dataset/builders.rs +++ b/sdk/finspacedata/src/operation/delete_dataset/builders.rs @@ -19,9 +19,9 @@ impl DeleteDatasetFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl DeleteDatasetFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::delete_dataset::DeleteDataset, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                            A token that ensures idempotency. This token expires in 10 minutes.

                                                                            pub fn client_token(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.client_token(input.into()); diff --git a/sdk/finspacedata/src/operation/delete_permission_group/builders.rs b/sdk/finspacedata/src/operation/delete_permission_group/builders.rs index b1bf34c9d959..f29d4596da04 100644 --- a/sdk/finspacedata/src/operation/delete_permission_group/builders.rs +++ b/sdk/finspacedata/src/operation/delete_permission_group/builders.rs @@ -19,9 +19,9 @@ impl DeletePermissionGroupFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl DeletePermissionGroupFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::delete_permission_group::DeletePermissionGroup, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::delete_permission_group::DeletePermissionGroupError, + >, + > { + self.customize_middleware().await + } ///

                                                                            The unique identifier for the permission group that you want to delete.

                                                                            pub fn permission_group_id( mut self, diff --git a/sdk/finspacedata/src/operation/disable_user/builders.rs b/sdk/finspacedata/src/operation/disable_user/builders.rs index dcdb38a4eb8f..0985d31257e5 100644 --- a/sdk/finspacedata/src/operation/disable_user/builders.rs +++ b/sdk/finspacedata/src/operation/disable_user/builders.rs @@ -19,9 +19,9 @@ impl DisableUserFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl DisableUserFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::disable_user::DisableUser, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                            The unique identifier for the user account that you want to disable.

                                                                            pub fn user_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.user_id(input.into()); diff --git a/sdk/finspacedata/src/operation/disassociate_user_from_permission_group/builders.rs b/sdk/finspacedata/src/operation/disassociate_user_from_permission_group/builders.rs index 8fd2ab4c99e7..3690de05858c 100644 --- a/sdk/finspacedata/src/operation/disassociate_user_from_permission_group/builders.rs +++ b/sdk/finspacedata/src/operation/disassociate_user_from_permission_group/builders.rs @@ -19,9 +19,9 @@ impl DisassociateUserFromPermissionGroupFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize(self) -> ::std::result::Result< + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware(self) -> ::std::result::Result< crate::client::customize::CustomizableOperation, ::aws_smithy_http::result::SdkError >{ @@ -64,6 +64,15 @@ impl DisassociateUserFromPermissionGroupFluentBuilder { { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize(self) -> ::std::result::Result< + crate::client::customize::CustomizableOperation, + ::aws_smithy_http::result::SdkError + >{ + self.customize_middleware().await + } ///

                                                                            The unique identifier for the permission group.

                                                                            pub fn permission_group_id( mut self, diff --git a/sdk/finspacedata/src/operation/enable_user/builders.rs b/sdk/finspacedata/src/operation/enable_user/builders.rs index 62e34b66d247..2b2653d5f92a 100644 --- a/sdk/finspacedata/src/operation/enable_user/builders.rs +++ b/sdk/finspacedata/src/operation/enable_user/builders.rs @@ -19,9 +19,9 @@ impl EnableUserFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl EnableUserFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::enable_user::EnableUser, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                            The unique identifier for the user account that you want to enable.

                                                                            pub fn user_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.user_id(input.into()); diff --git a/sdk/finspacedata/src/operation/get_changeset/builders.rs b/sdk/finspacedata/src/operation/get_changeset/builders.rs index 5106a9c92f13..153aedc28404 100644 --- a/sdk/finspacedata/src/operation/get_changeset/builders.rs +++ b/sdk/finspacedata/src/operation/get_changeset/builders.rs @@ -19,9 +19,9 @@ impl GetChangesetFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl GetChangesetFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::get_changeset::GetChangeset, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                            The unique identifier for the FinSpace Dataset where the Changeset is created.

                                                                            pub fn dataset_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.dataset_id(input.into()); diff --git a/sdk/finspacedata/src/operation/get_data_view/builders.rs b/sdk/finspacedata/src/operation/get_data_view/builders.rs index 02c67eba1aef..594dd170132a 100644 --- a/sdk/finspacedata/src/operation/get_data_view/builders.rs +++ b/sdk/finspacedata/src/operation/get_data_view/builders.rs @@ -19,9 +19,9 @@ impl GetDataViewFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl GetDataViewFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::get_data_view::GetDataView, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                            The unique identifier for the Dataview.

                                                                            pub fn data_view_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.data_view_id(input.into()); diff --git a/sdk/finspacedata/src/operation/get_dataset/builders.rs b/sdk/finspacedata/src/operation/get_dataset/builders.rs index 55120ff3eb5a..59de19b0442a 100644 --- a/sdk/finspacedata/src/operation/get_dataset/builders.rs +++ b/sdk/finspacedata/src/operation/get_dataset/builders.rs @@ -19,9 +19,9 @@ impl GetDatasetFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl GetDatasetFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::get_dataset::GetDataset, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                            The unique identifier for a Dataset.

                                                                            pub fn dataset_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.dataset_id(input.into()); diff --git a/sdk/finspacedata/src/operation/get_external_data_view_access_details/builders.rs b/sdk/finspacedata/src/operation/get_external_data_view_access_details/builders.rs index 849bd058cbff..8f9aa596a361 100644 --- a/sdk/finspacedata/src/operation/get_external_data_view_access_details/builders.rs +++ b/sdk/finspacedata/src/operation/get_external_data_view_access_details/builders.rs @@ -23,9 +23,9 @@ impl GetExternalDataViewAccessDetailsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize(self) -> ::std::result::Result< + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware(self) -> ::std::result::Result< crate::client::customize::CustomizableOperation, ::aws_smithy_http::result::SdkError >{ @@ -68,6 +68,15 @@ impl GetExternalDataViewAccessDetailsFluentBuilder { { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize(self) -> ::std::result::Result< + crate::client::customize::CustomizableOperation, + ::aws_smithy_http::result::SdkError + >{ + self.customize_middleware().await + } ///

                                                                            The unique identifier for the Dataview that you want to access.

                                                                            pub fn data_view_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.data_view_id(input.into()); diff --git a/sdk/finspacedata/src/operation/get_permission_group/builders.rs b/sdk/finspacedata/src/operation/get_permission_group/builders.rs index 0f13ae9a0bd5..70835e53bef6 100644 --- a/sdk/finspacedata/src/operation/get_permission_group/builders.rs +++ b/sdk/finspacedata/src/operation/get_permission_group/builders.rs @@ -19,9 +19,9 @@ impl GetPermissionGroupFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl GetPermissionGroupFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::get_permission_group::GetPermissionGroup, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::get_permission_group::GetPermissionGroupError, + >, + > { + self.customize_middleware().await + } ///

                                                                            The unique identifier for the permission group.

                                                                            pub fn permission_group_id( mut self, diff --git a/sdk/finspacedata/src/operation/get_programmatic_access_credentials/builders.rs b/sdk/finspacedata/src/operation/get_programmatic_access_credentials/builders.rs index 0e6a01cc9ce6..68876dc6c69e 100644 --- a/sdk/finspacedata/src/operation/get_programmatic_access_credentials/builders.rs +++ b/sdk/finspacedata/src/operation/get_programmatic_access_credentials/builders.rs @@ -19,9 +19,9 @@ impl GetProgrammaticAccessCredentialsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize(self) -> ::std::result::Result< + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware(self) -> ::std::result::Result< crate::client::customize::CustomizableOperation, ::aws_smithy_http::result::SdkError >{ @@ -64,6 +64,15 @@ impl GetProgrammaticAccessCredentialsFluentBuilder { { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize(self) -> ::std::result::Result< + crate::client::customize::CustomizableOperation, + ::aws_smithy_http::result::SdkError + >{ + self.customize_middleware().await + } ///

                                                                            The time duration in which the credentials remain valid.

                                                                            pub fn duration_in_minutes(mut self, input: i64) -> Self { self.inner = self.inner.duration_in_minutes(input); diff --git a/sdk/finspacedata/src/operation/get_user/builders.rs b/sdk/finspacedata/src/operation/get_user/builders.rs index 9f8a790ff6ab..1126cecd8f7b 100644 --- a/sdk/finspacedata/src/operation/get_user/builders.rs +++ b/sdk/finspacedata/src/operation/get_user/builders.rs @@ -19,9 +19,9 @@ impl GetUserFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl GetUserFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::get_user::GetUser, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                            The unique identifier of the user to get data for.

                                                                            pub fn user_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.user_id(input.into()); diff --git a/sdk/finspacedata/src/operation/get_working_location/builders.rs b/sdk/finspacedata/src/operation/get_working_location/builders.rs index 46778df3eb46..8478c466cdf5 100644 --- a/sdk/finspacedata/src/operation/get_working_location/builders.rs +++ b/sdk/finspacedata/src/operation/get_working_location/builders.rs @@ -19,9 +19,9 @@ impl GetWorkingLocationFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl GetWorkingLocationFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::get_working_location::GetWorkingLocation, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::get_working_location::GetWorkingLocationError, + >, + > { + self.customize_middleware().await + } ///

                                                                            Specify the type of the working location.

                                                                            ///
                                                                              ///
                                                                            • SAGEMAKER – Use the Amazon S3 location as a temporary location to store data content when working with FinSpace Notebooks that run on SageMaker studio.

                                                                            • diff --git a/sdk/finspacedata/src/operation/list_changesets/builders.rs b/sdk/finspacedata/src/operation/list_changesets/builders.rs index 07d6e5192922..d8171df718bf 100644 --- a/sdk/finspacedata/src/operation/list_changesets/builders.rs +++ b/sdk/finspacedata/src/operation/list_changesets/builders.rs @@ -19,9 +19,9 @@ impl ListChangesetsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl ListChangesetsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_changesets::ListChangesets, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::list_changesets::paginator::ListChangesetsPaginator::send) which returns a `Stream`. diff --git a/sdk/finspacedata/src/operation/list_data_views/builders.rs b/sdk/finspacedata/src/operation/list_data_views/builders.rs index 1b03dc3153f9..f108d0a3599f 100644 --- a/sdk/finspacedata/src/operation/list_data_views/builders.rs +++ b/sdk/finspacedata/src/operation/list_data_views/builders.rs @@ -19,9 +19,9 @@ impl ListDataViewsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl ListDataViewsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_data_views::ListDataViews, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::list_data_views::paginator::ListDataViewsPaginator::send) which returns a `Stream`. diff --git a/sdk/finspacedata/src/operation/list_datasets/builders.rs b/sdk/finspacedata/src/operation/list_datasets/builders.rs index edb5d9525df3..c5fb1908ff82 100644 --- a/sdk/finspacedata/src/operation/list_datasets/builders.rs +++ b/sdk/finspacedata/src/operation/list_datasets/builders.rs @@ -19,9 +19,9 @@ impl ListDatasetsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl ListDatasetsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_datasets::ListDatasets, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::list_datasets::paginator::ListDatasetsPaginator::send) which returns a `Stream`. diff --git a/sdk/finspacedata/src/operation/list_permission_groups/builders.rs b/sdk/finspacedata/src/operation/list_permission_groups/builders.rs index 96357c0c6ea6..a3164634f1c9 100644 --- a/sdk/finspacedata/src/operation/list_permission_groups/builders.rs +++ b/sdk/finspacedata/src/operation/list_permission_groups/builders.rs @@ -19,9 +19,9 @@ impl ListPermissionGroupsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl ListPermissionGroupsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_permission_groups::ListPermissionGroups, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::list_permission_groups::ListPermissionGroupsError, + >, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::list_permission_groups::paginator::ListPermissionGroupsPaginator::send) which returns a `Stream`. diff --git a/sdk/finspacedata/src/operation/list_permission_groups_by_user/builders.rs b/sdk/finspacedata/src/operation/list_permission_groups_by_user/builders.rs index 6b46e459dcbb..6551665eac08 100644 --- a/sdk/finspacedata/src/operation/list_permission_groups_by_user/builders.rs +++ b/sdk/finspacedata/src/operation/list_permission_groups_by_user/builders.rs @@ -19,9 +19,9 @@ impl ListPermissionGroupsByUserFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl ListPermissionGroupsByUserFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_permission_groups_by_user::ListPermissionGroupsByUser, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::list_permission_groups_by_user::ListPermissionGroupsByUserError, + >, + > { + self.customize_middleware().await + } ///

                                                                              The unique identifier for the user.

                                                                              pub fn user_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.user_id(input.into()); diff --git a/sdk/finspacedata/src/operation/list_users/builders.rs b/sdk/finspacedata/src/operation/list_users/builders.rs index 8735f2af8b35..c3a72b2e7f11 100644 --- a/sdk/finspacedata/src/operation/list_users/builders.rs +++ b/sdk/finspacedata/src/operation/list_users/builders.rs @@ -19,9 +19,9 @@ impl ListUsersFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl ListUsersFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_users::ListUsers, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::list_users::paginator::ListUsersPaginator::send) which returns a `Stream`. diff --git a/sdk/finspacedata/src/operation/list_users_by_permission_group/builders.rs b/sdk/finspacedata/src/operation/list_users_by_permission_group/builders.rs index 42537dbb0add..82f037f5008f 100644 --- a/sdk/finspacedata/src/operation/list_users_by_permission_group/builders.rs +++ b/sdk/finspacedata/src/operation/list_users_by_permission_group/builders.rs @@ -19,9 +19,9 @@ impl ListUsersByPermissionGroupFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl ListUsersByPermissionGroupFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_users_by_permission_group::ListUsersByPermissionGroup, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::list_users_by_permission_group::ListUsersByPermissionGroupError, + >, + > { + self.customize_middleware().await + } ///

                                                                              The unique identifier for the permission group.

                                                                              pub fn permission_group_id( mut self, diff --git a/sdk/finspacedata/src/operation/reset_user_password/builders.rs b/sdk/finspacedata/src/operation/reset_user_password/builders.rs index 0ab2ce21837d..56d613af8917 100644 --- a/sdk/finspacedata/src/operation/reset_user_password/builders.rs +++ b/sdk/finspacedata/src/operation/reset_user_password/builders.rs @@ -19,9 +19,9 @@ impl ResetUserPasswordFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl ResetUserPasswordFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::reset_user_password::ResetUserPassword, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::reset_user_password::ResetUserPasswordError, + >, + > { + self.customize_middleware().await + } ///

                                                                              The unique identifier of the user that a temporary password is requested for.

                                                                              pub fn user_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.user_id(input.into()); diff --git a/sdk/finspacedata/src/operation/update_changeset/builders.rs b/sdk/finspacedata/src/operation/update_changeset/builders.rs index b88dc99cf404..b4a864a1aca6 100644 --- a/sdk/finspacedata/src/operation/update_changeset/builders.rs +++ b/sdk/finspacedata/src/operation/update_changeset/builders.rs @@ -19,9 +19,9 @@ impl UpdateChangesetFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl UpdateChangesetFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::update_changeset::UpdateChangeset, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::update_changeset::UpdateChangesetError, + >, + > { + self.customize_middleware().await + } ///

                                                                              A token that ensures idempotency. This token expires in 10 minutes.

                                                                              pub fn client_token(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.client_token(input.into()); diff --git a/sdk/finspacedata/src/operation/update_dataset/builders.rs b/sdk/finspacedata/src/operation/update_dataset/builders.rs index ffb97d0a0b12..3b1b06649a6c 100644 --- a/sdk/finspacedata/src/operation/update_dataset/builders.rs +++ b/sdk/finspacedata/src/operation/update_dataset/builders.rs @@ -19,9 +19,9 @@ impl UpdateDatasetFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl UpdateDatasetFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::update_dataset::UpdateDataset, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                              A token that ensures idempotency. This token expires in 10 minutes.

                                                                              pub fn client_token(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.client_token(input.into()); diff --git a/sdk/finspacedata/src/operation/update_permission_group/builders.rs b/sdk/finspacedata/src/operation/update_permission_group/builders.rs index 311f5d7a6341..9177ce47e4ac 100644 --- a/sdk/finspacedata/src/operation/update_permission_group/builders.rs +++ b/sdk/finspacedata/src/operation/update_permission_group/builders.rs @@ -19,9 +19,9 @@ impl UpdatePermissionGroupFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl UpdatePermissionGroupFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::update_permission_group::UpdatePermissionGroup, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::update_permission_group::UpdatePermissionGroupError, + >, + > { + self.customize_middleware().await + } ///

                                                                              The unique identifier for the permission group to update.

                                                                              pub fn permission_group_id( mut self, diff --git a/sdk/finspacedata/src/operation/update_user/builders.rs b/sdk/finspacedata/src/operation/update_user/builders.rs index 855336934778..c93d766fb53e 100644 --- a/sdk/finspacedata/src/operation/update_user/builders.rs +++ b/sdk/finspacedata/src/operation/update_user/builders.rs @@ -19,9 +19,9 @@ impl UpdateUserFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl UpdateUserFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::update_user::UpdateUser, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                              The unique identifier for the user account to update.

                                                                              pub fn user_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.user_id(input.into()); diff --git a/sdk/firehose/src/operation/create_delivery_stream/builders.rs b/sdk/firehose/src/operation/create_delivery_stream/builders.rs index 9be6fadceaf2..5139bd88b8c5 100644 --- a/sdk/firehose/src/operation/create_delivery_stream/builders.rs +++ b/sdk/firehose/src/operation/create_delivery_stream/builders.rs @@ -33,9 +33,9 @@ impl CreateDeliveryStreamFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -97,6 +97,22 @@ impl CreateDeliveryStreamFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::create_delivery_stream::CreateDeliveryStream, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::create_delivery_stream::CreateDeliveryStreamError, + >, + > { + self.customize_middleware().await + } ///

                                                                              The name of the delivery stream. This name must be unique per Amazon Web Services account in the same Amazon Web Services Region. If the delivery streams are in different accounts or different Regions, you can have multiple delivery streams with the same name.

                                                                              pub fn delivery_stream_name( mut self, diff --git a/sdk/firehose/src/operation/delete_delivery_stream/builders.rs b/sdk/firehose/src/operation/delete_delivery_stream/builders.rs index a6041d0191ab..44bb3089e726 100644 --- a/sdk/firehose/src/operation/delete_delivery_stream/builders.rs +++ b/sdk/firehose/src/operation/delete_delivery_stream/builders.rs @@ -21,9 +21,9 @@ impl DeleteDeliveryStreamFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -85,6 +85,22 @@ impl DeleteDeliveryStreamFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::delete_delivery_stream::DeleteDeliveryStream, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::delete_delivery_stream::DeleteDeliveryStreamError, + >, + > { + self.customize_middleware().await + } ///

                                                                              The name of the delivery stream.

                                                                              pub fn delivery_stream_name( mut self, diff --git a/sdk/firehose/src/operation/describe_delivery_stream/builders.rs b/sdk/firehose/src/operation/describe_delivery_stream/builders.rs index 6a4cca887fa5..f1fb7f93a936 100644 --- a/sdk/firehose/src/operation/describe_delivery_stream/builders.rs +++ b/sdk/firehose/src/operation/describe_delivery_stream/builders.rs @@ -20,9 +20,9 @@ impl DescribeDeliveryStreamFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -84,6 +84,22 @@ impl DescribeDeliveryStreamFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::describe_delivery_stream::DescribeDeliveryStream, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::describe_delivery_stream::DescribeDeliveryStreamError, + >, + > { + self.customize_middleware().await + } ///

                                                                              The name of the delivery stream.

                                                                              pub fn delivery_stream_name( mut self, diff --git a/sdk/firehose/src/operation/list_delivery_streams/builders.rs b/sdk/firehose/src/operation/list_delivery_streams/builders.rs index 54b5a2659469..16ec5203f840 100644 --- a/sdk/firehose/src/operation/list_delivery_streams/builders.rs +++ b/sdk/firehose/src/operation/list_delivery_streams/builders.rs @@ -20,9 +20,9 @@ impl ListDeliveryStreamsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -84,6 +84,22 @@ impl ListDeliveryStreamsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_delivery_streams::ListDeliveryStreams, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::list_delivery_streams::ListDeliveryStreamsError, + >, + > { + self.customize_middleware().await + } ///

                                                                              The maximum number of delivery streams to list. The default value is 10.

                                                                              pub fn limit(mut self, input: i32) -> Self { self.inner = self.inner.limit(input); diff --git a/sdk/firehose/src/operation/list_tags_for_delivery_stream/builders.rs b/sdk/firehose/src/operation/list_tags_for_delivery_stream/builders.rs index 0b8888eed904..c52359d69a27 100644 --- a/sdk/firehose/src/operation/list_tags_for_delivery_stream/builders.rs +++ b/sdk/firehose/src/operation/list_tags_for_delivery_stream/builders.rs @@ -19,9 +19,9 @@ impl ListTagsForDeliveryStreamFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl ListTagsForDeliveryStreamFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_tags_for_delivery_stream::ListTagsForDeliveryStream, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::list_tags_for_delivery_stream::ListTagsForDeliveryStreamError, + >, + > { + self.customize_middleware().await + } ///

                                                                              The name of the delivery stream whose tags you want to list.

                                                                              pub fn delivery_stream_name( mut self, diff --git a/sdk/firehose/src/operation/put_record/builders.rs b/sdk/firehose/src/operation/put_record/builders.rs index 38a96b1561a0..afc5d4ee8556 100644 --- a/sdk/firehose/src/operation/put_record/builders.rs +++ b/sdk/firehose/src/operation/put_record/builders.rs @@ -27,9 +27,9 @@ impl PutRecordFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -85,6 +85,20 @@ impl PutRecordFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::put_record::PutRecord, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                              The name of the delivery stream.

                                                                              pub fn delivery_stream_name( mut self, diff --git a/sdk/firehose/src/operation/put_record_batch/builders.rs b/sdk/firehose/src/operation/put_record_batch/builders.rs index b18adbeff242..66bb2135b5f3 100644 --- a/sdk/firehose/src/operation/put_record_batch/builders.rs +++ b/sdk/firehose/src/operation/put_record_batch/builders.rs @@ -30,9 +30,9 @@ impl PutRecordBatchFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -94,6 +94,22 @@ impl PutRecordBatchFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::put_record_batch::PutRecordBatch, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::put_record_batch::PutRecordBatchError, + >, + > { + self.customize_middleware().await + } ///

                                                                              The name of the delivery stream.

                                                                              pub fn delivery_stream_name( mut self, diff --git a/sdk/firehose/src/operation/start_delivery_stream_encryption/builders.rs b/sdk/firehose/src/operation/start_delivery_stream_encryption/builders.rs index 841e5cc51037..72d7145cd87a 100644 --- a/sdk/firehose/src/operation/start_delivery_stream_encryption/builders.rs +++ b/sdk/firehose/src/operation/start_delivery_stream_encryption/builders.rs @@ -26,9 +26,9 @@ impl StartDeliveryStreamEncryptionFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -90,6 +90,22 @@ impl StartDeliveryStreamEncryptionFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::start_delivery_stream_encryption::StartDeliveryStreamEncryption, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::start_delivery_stream_encryption::StartDeliveryStreamEncryptionError, + >, + > { + self.customize_middleware().await + } ///

                                                                              The name of the delivery stream for which you want to enable server-side encryption (SSE).

                                                                              pub fn delivery_stream_name( mut self, diff --git a/sdk/firehose/src/operation/stop_delivery_stream_encryption/builders.rs b/sdk/firehose/src/operation/stop_delivery_stream_encryption/builders.rs index dd49f548a3e8..195cd62f883b 100644 --- a/sdk/firehose/src/operation/stop_delivery_stream_encryption/builders.rs +++ b/sdk/firehose/src/operation/stop_delivery_stream_encryption/builders.rs @@ -23,9 +23,9 @@ impl StopDeliveryStreamEncryptionFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -87,6 +87,22 @@ impl StopDeliveryStreamEncryptionFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::stop_delivery_stream_encryption::StopDeliveryStreamEncryption, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::stop_delivery_stream_encryption::StopDeliveryStreamEncryptionError, + >, + > { + self.customize_middleware().await + } ///

                                                                              The name of the delivery stream for which you want to disable server-side encryption (SSE).

                                                                              pub fn delivery_stream_name( mut self, diff --git a/sdk/firehose/src/operation/tag_delivery_stream/builders.rs b/sdk/firehose/src/operation/tag_delivery_stream/builders.rs index 2dc3c921f15c..ddb42c116d29 100644 --- a/sdk/firehose/src/operation/tag_delivery_stream/builders.rs +++ b/sdk/firehose/src/operation/tag_delivery_stream/builders.rs @@ -21,9 +21,9 @@ impl TagDeliveryStreamFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -85,6 +85,22 @@ impl TagDeliveryStreamFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::tag_delivery_stream::TagDeliveryStream, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::tag_delivery_stream::TagDeliveryStreamError, + >, + > { + self.customize_middleware().await + } ///

                                                                              The name of the delivery stream to which you want to add the tags.

                                                                              pub fn delivery_stream_name( mut self, diff --git a/sdk/firehose/src/operation/untag_delivery_stream/builders.rs b/sdk/firehose/src/operation/untag_delivery_stream/builders.rs index dc574c6b4485..426daa7673b7 100644 --- a/sdk/firehose/src/operation/untag_delivery_stream/builders.rs +++ b/sdk/firehose/src/operation/untag_delivery_stream/builders.rs @@ -21,9 +21,9 @@ impl UntagDeliveryStreamFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -85,6 +85,22 @@ impl UntagDeliveryStreamFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::untag_delivery_stream::UntagDeliveryStream, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::untag_delivery_stream::UntagDeliveryStreamError, + >, + > { + self.customize_middleware().await + } ///

                                                                              The name of the delivery stream.

                                                                              pub fn delivery_stream_name( mut self, diff --git a/sdk/firehose/src/operation/update_destination/builders.rs b/sdk/firehose/src/operation/update_destination/builders.rs index 9af40056669c..cca73f7d1bf4 100644 --- a/sdk/firehose/src/operation/update_destination/builders.rs +++ b/sdk/firehose/src/operation/update_destination/builders.rs @@ -24,9 +24,9 @@ impl UpdateDestinationFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -88,6 +88,22 @@ impl UpdateDestinationFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::update_destination::UpdateDestination, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::update_destination::UpdateDestinationError, + >, + > { + self.customize_middleware().await + } ///

                                                                              The name of the delivery stream.

                                                                              pub fn delivery_stream_name( mut self, diff --git a/sdk/fis/src/operation/create_experiment_template/builders.rs b/sdk/fis/src/operation/create_experiment_template/builders.rs index 7a68846f1e65..31757e7f33da 100644 --- a/sdk/fis/src/operation/create_experiment_template/builders.rs +++ b/sdk/fis/src/operation/create_experiment_template/builders.rs @@ -26,9 +26,9 @@ impl CreateExperimentTemplateFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -90,6 +90,22 @@ impl CreateExperimentTemplateFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::create_experiment_template::CreateExperimentTemplate, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::create_experiment_template::CreateExperimentTemplateError, + >, + > { + self.customize_middleware().await + } ///

                                                                              Unique, case-sensitive identifier that you provide to ensure the idempotency of the request.

                                                                              pub fn client_token(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.client_token(input.into()); diff --git a/sdk/fis/src/operation/delete_experiment_template/builders.rs b/sdk/fis/src/operation/delete_experiment_template/builders.rs index ff882a276ba0..acb849ec2f40 100644 --- a/sdk/fis/src/operation/delete_experiment_template/builders.rs +++ b/sdk/fis/src/operation/delete_experiment_template/builders.rs @@ -19,9 +19,9 @@ impl DeleteExperimentTemplateFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl DeleteExperimentTemplateFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::delete_experiment_template::DeleteExperimentTemplate, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::delete_experiment_template::DeleteExperimentTemplateError, + >, + > { + self.customize_middleware().await + } ///

                                                                              The ID of the experiment template.

                                                                              pub fn id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.id(input.into()); diff --git a/sdk/fis/src/operation/get_action/builders.rs b/sdk/fis/src/operation/get_action/builders.rs index d88b278aff7c..3005e4482352 100644 --- a/sdk/fis/src/operation/get_action/builders.rs +++ b/sdk/fis/src/operation/get_action/builders.rs @@ -19,9 +19,9 @@ impl GetActionFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl GetActionFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::get_action::GetAction, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                              The ID of the action.

                                                                              pub fn id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.id(input.into()); diff --git a/sdk/fis/src/operation/get_experiment/builders.rs b/sdk/fis/src/operation/get_experiment/builders.rs index 2398f448f6f2..774edbdcbc5a 100644 --- a/sdk/fis/src/operation/get_experiment/builders.rs +++ b/sdk/fis/src/operation/get_experiment/builders.rs @@ -19,9 +19,9 @@ impl GetExperimentFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl GetExperimentFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::get_experiment::GetExperiment, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                              The ID of the experiment.

                                                                              pub fn id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.id(input.into()); diff --git a/sdk/fis/src/operation/get_experiment_template/builders.rs b/sdk/fis/src/operation/get_experiment_template/builders.rs index f4bb8d5c1e02..92aeb8a7efd7 100644 --- a/sdk/fis/src/operation/get_experiment_template/builders.rs +++ b/sdk/fis/src/operation/get_experiment_template/builders.rs @@ -19,9 +19,9 @@ impl GetExperimentTemplateFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl GetExperimentTemplateFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::get_experiment_template::GetExperimentTemplate, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::get_experiment_template::GetExperimentTemplateError, + >, + > { + self.customize_middleware().await + } ///

                                                                              The ID of the experiment template.

                                                                              pub fn id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.id(input.into()); diff --git a/sdk/fis/src/operation/get_target_resource_type/builders.rs b/sdk/fis/src/operation/get_target_resource_type/builders.rs index 40104cf659f3..7ddaaec5aadc 100644 --- a/sdk/fis/src/operation/get_target_resource_type/builders.rs +++ b/sdk/fis/src/operation/get_target_resource_type/builders.rs @@ -19,9 +19,9 @@ impl GetTargetResourceTypeFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl GetTargetResourceTypeFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::get_target_resource_type::GetTargetResourceType, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::get_target_resource_type::GetTargetResourceTypeError, + >, + > { + self.customize_middleware().await + } ///

                                                                              The resource type.

                                                                              pub fn resource_type( mut self, diff --git a/sdk/fis/src/operation/list_actions/builders.rs b/sdk/fis/src/operation/list_actions/builders.rs index 99326ae59a42..35d188e4217a 100644 --- a/sdk/fis/src/operation/list_actions/builders.rs +++ b/sdk/fis/src/operation/list_actions/builders.rs @@ -19,9 +19,9 @@ impl ListActionsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl ListActionsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_actions::ListActions, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::list_actions::paginator::ListActionsPaginator::send) which returns a `Stream`. diff --git a/sdk/fis/src/operation/list_experiment_templates/builders.rs b/sdk/fis/src/operation/list_experiment_templates/builders.rs index 34451f735eea..480fcf050240 100644 --- a/sdk/fis/src/operation/list_experiment_templates/builders.rs +++ b/sdk/fis/src/operation/list_experiment_templates/builders.rs @@ -20,9 +20,9 @@ impl ListExperimentTemplatesFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -84,6 +84,22 @@ impl ListExperimentTemplatesFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_experiment_templates::ListExperimentTemplates, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::list_experiment_templates::ListExperimentTemplatesError, + >, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::list_experiment_templates::paginator::ListExperimentTemplatesPaginator::send) which returns a `Stream`. diff --git a/sdk/fis/src/operation/list_experiments/builders.rs b/sdk/fis/src/operation/list_experiments/builders.rs index 68b5b76f5e3c..675445c59e47 100644 --- a/sdk/fis/src/operation/list_experiments/builders.rs +++ b/sdk/fis/src/operation/list_experiments/builders.rs @@ -19,9 +19,9 @@ impl ListExperimentsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl ListExperimentsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_experiments::ListExperiments, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::list_experiments::ListExperimentsError, + >, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::list_experiments::paginator::ListExperimentsPaginator::send) which returns a `Stream`. diff --git a/sdk/fis/src/operation/list_tags_for_resource/builders.rs b/sdk/fis/src/operation/list_tags_for_resource/builders.rs index c47c190d83b2..0a70d0c44010 100644 --- a/sdk/fis/src/operation/list_tags_for_resource/builders.rs +++ b/sdk/fis/src/operation/list_tags_for_resource/builders.rs @@ -19,9 +19,9 @@ impl ListTagsForResourceFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl ListTagsForResourceFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_tags_for_resource::ListTagsForResource, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::list_tags_for_resource::ListTagsForResourceError, + >, + > { + self.customize_middleware().await + } ///

                                                                              The Amazon Resource Name (ARN) of the resource.

                                                                              pub fn resource_arn(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.resource_arn(input.into()); diff --git a/sdk/fis/src/operation/list_target_resource_types/builders.rs b/sdk/fis/src/operation/list_target_resource_types/builders.rs index a49bdf536f2b..1188d62d10e7 100644 --- a/sdk/fis/src/operation/list_target_resource_types/builders.rs +++ b/sdk/fis/src/operation/list_target_resource_types/builders.rs @@ -20,9 +20,9 @@ impl ListTargetResourceTypesFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -84,6 +84,22 @@ impl ListTargetResourceTypesFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_target_resource_types::ListTargetResourceTypes, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::list_target_resource_types::ListTargetResourceTypesError, + >, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::list_target_resource_types::paginator::ListTargetResourceTypesPaginator::send) which returns a `Stream`. diff --git a/sdk/fis/src/operation/start_experiment/builders.rs b/sdk/fis/src/operation/start_experiment/builders.rs index 69a3121eb040..dbef9cdb0dff 100644 --- a/sdk/fis/src/operation/start_experiment/builders.rs +++ b/sdk/fis/src/operation/start_experiment/builders.rs @@ -19,9 +19,9 @@ impl StartExperimentFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl StartExperimentFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::start_experiment::StartExperiment, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::start_experiment::StartExperimentError, + >, + > { + self.customize_middleware().await + } ///

                                                                              Unique, case-sensitive identifier that you provide to ensure the idempotency of the request.

                                                                              pub fn client_token(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.client_token(input.into()); diff --git a/sdk/fis/src/operation/stop_experiment/builders.rs b/sdk/fis/src/operation/stop_experiment/builders.rs index 9d0cabbaa70d..432089621cbf 100644 --- a/sdk/fis/src/operation/stop_experiment/builders.rs +++ b/sdk/fis/src/operation/stop_experiment/builders.rs @@ -19,9 +19,9 @@ impl StopExperimentFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl StopExperimentFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::stop_experiment::StopExperiment, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                              The ID of the experiment.

                                                                              pub fn id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.id(input.into()); diff --git a/sdk/fis/src/operation/tag_resource/builders.rs b/sdk/fis/src/operation/tag_resource/builders.rs index 508db3363894..e90b54c4169d 100644 --- a/sdk/fis/src/operation/tag_resource/builders.rs +++ b/sdk/fis/src/operation/tag_resource/builders.rs @@ -19,9 +19,9 @@ impl TagResourceFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl TagResourceFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::tag_resource::TagResource, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                              The Amazon Resource Name (ARN) of the resource.

                                                                              pub fn resource_arn(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.resource_arn(input.into()); diff --git a/sdk/fis/src/operation/untag_resource/builders.rs b/sdk/fis/src/operation/untag_resource/builders.rs index af45ba888246..24d6cf1e46f1 100644 --- a/sdk/fis/src/operation/untag_resource/builders.rs +++ b/sdk/fis/src/operation/untag_resource/builders.rs @@ -19,9 +19,9 @@ impl UntagResourceFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl UntagResourceFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::untag_resource::UntagResource, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                              The Amazon Resource Name (ARN) of the resource.

                                                                              pub fn resource_arn(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.resource_arn(input.into()); diff --git a/sdk/fis/src/operation/update_experiment_template/builders.rs b/sdk/fis/src/operation/update_experiment_template/builders.rs index 15e6a4920d09..0ffc805585d2 100644 --- a/sdk/fis/src/operation/update_experiment_template/builders.rs +++ b/sdk/fis/src/operation/update_experiment_template/builders.rs @@ -19,9 +19,9 @@ impl UpdateExperimentTemplateFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl UpdateExperimentTemplateFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::update_experiment_template::UpdateExperimentTemplate, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::update_experiment_template::UpdateExperimentTemplateError, + >, + > { + self.customize_middleware().await + } ///

                                                                              The ID of the experiment template.

                                                                              pub fn id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.id(input.into()); diff --git a/sdk/fms/src/operation/associate_admin_account/builders.rs b/sdk/fms/src/operation/associate_admin_account/builders.rs index 9f3ddb436b76..006272f1d7e2 100644 --- a/sdk/fms/src/operation/associate_admin_account/builders.rs +++ b/sdk/fms/src/operation/associate_admin_account/builders.rs @@ -20,9 +20,9 @@ impl AssociateAdminAccountFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -84,6 +84,22 @@ impl AssociateAdminAccountFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::associate_admin_account::AssociateAdminAccount, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::associate_admin_account::AssociateAdminAccountError, + >, + > { + self.customize_middleware().await + } ///

                                                                              The Amazon Web Services account ID to associate with Firewall Manager as the Firewall Manager default administrator account. This account must be a member account of the organization in Organizations whose resources you want to protect. For more information about Organizations, see Managing the Amazon Web Services Accounts in Your Organization.

                                                                              pub fn admin_account( mut self, diff --git a/sdk/fms/src/operation/associate_third_party_firewall/builders.rs b/sdk/fms/src/operation/associate_third_party_firewall/builders.rs index ea301d04820d..da9e0ea25373 100644 --- a/sdk/fms/src/operation/associate_third_party_firewall/builders.rs +++ b/sdk/fms/src/operation/associate_third_party_firewall/builders.rs @@ -19,9 +19,9 @@ impl AssociateThirdPartyFirewallFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl AssociateThirdPartyFirewallFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::associate_third_party_firewall::AssociateThirdPartyFirewall, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::associate_third_party_firewall::AssociateThirdPartyFirewallError, + >, + > { + self.customize_middleware().await + } ///

                                                                              The name of the third-party firewall vendor.

                                                                              pub fn third_party_firewall(mut self, input: crate::types::ThirdPartyFirewall) -> Self { self.inner = self.inner.third_party_firewall(input); diff --git a/sdk/fms/src/operation/batch_associate_resource/builders.rs b/sdk/fms/src/operation/batch_associate_resource/builders.rs index aa8092ef2369..57beb107bf39 100644 --- a/sdk/fms/src/operation/batch_associate_resource/builders.rs +++ b/sdk/fms/src/operation/batch_associate_resource/builders.rs @@ -19,9 +19,9 @@ impl BatchAssociateResourceFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl BatchAssociateResourceFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::batch_associate_resource::BatchAssociateResource, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::batch_associate_resource::BatchAssociateResourceError, + >, + > { + self.customize_middleware().await + } ///

                                                                              A unique identifier for the resource set, used in a request to refer to the resource set.

                                                                              pub fn resource_set_identifier( mut self, diff --git a/sdk/fms/src/operation/batch_disassociate_resource/builders.rs b/sdk/fms/src/operation/batch_disassociate_resource/builders.rs index c1719d284781..2f85c0219c49 100644 --- a/sdk/fms/src/operation/batch_disassociate_resource/builders.rs +++ b/sdk/fms/src/operation/batch_disassociate_resource/builders.rs @@ -19,9 +19,9 @@ impl BatchDisassociateResourceFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl BatchDisassociateResourceFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::batch_disassociate_resource::BatchDisassociateResource, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::batch_disassociate_resource::BatchDisassociateResourceError, + >, + > { + self.customize_middleware().await + } ///

                                                                              A unique identifier for the resource set, used in a request to refer to the resource set.

                                                                              pub fn resource_set_identifier( mut self, diff --git a/sdk/fms/src/operation/delete_apps_list/builders.rs b/sdk/fms/src/operation/delete_apps_list/builders.rs index 367e79cfd5dc..b9e37e28a813 100644 --- a/sdk/fms/src/operation/delete_apps_list/builders.rs +++ b/sdk/fms/src/operation/delete_apps_list/builders.rs @@ -19,9 +19,9 @@ impl DeleteAppsListFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl DeleteAppsListFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::delete_apps_list::DeleteAppsList, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::delete_apps_list::DeleteAppsListError, + >, + > { + self.customize_middleware().await + } ///

                                                                              The ID of the applications list that you want to delete. You can retrieve this ID from PutAppsList, ListAppsLists, and GetAppsList.

                                                                              pub fn list_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.list_id(input.into()); diff --git a/sdk/fms/src/operation/delete_notification_channel/builders.rs b/sdk/fms/src/operation/delete_notification_channel/builders.rs index cae414188d0c..00b97d2fbd91 100644 --- a/sdk/fms/src/operation/delete_notification_channel/builders.rs +++ b/sdk/fms/src/operation/delete_notification_channel/builders.rs @@ -19,9 +19,9 @@ impl DeleteNotificationChannelFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,4 +83,20 @@ impl DeleteNotificationChannelFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::delete_notification_channel::DeleteNotificationChannel, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::delete_notification_channel::DeleteNotificationChannelError, + >, + > { + self.customize_middleware().await + } } diff --git a/sdk/fms/src/operation/delete_policy/builders.rs b/sdk/fms/src/operation/delete_policy/builders.rs index f9748613107c..556ea3a7e78c 100644 --- a/sdk/fms/src/operation/delete_policy/builders.rs +++ b/sdk/fms/src/operation/delete_policy/builders.rs @@ -19,9 +19,9 @@ impl DeletePolicyFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl DeletePolicyFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::delete_policy::DeletePolicy, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                              The ID of the policy that you want to delete. You can retrieve this ID from PutPolicy and ListPolicies.

                                                                              pub fn policy_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.policy_id(input.into()); diff --git a/sdk/fms/src/operation/delete_protocols_list/builders.rs b/sdk/fms/src/operation/delete_protocols_list/builders.rs index f9f39181d40f..4808a26f094a 100644 --- a/sdk/fms/src/operation/delete_protocols_list/builders.rs +++ b/sdk/fms/src/operation/delete_protocols_list/builders.rs @@ -19,9 +19,9 @@ impl DeleteProtocolsListFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl DeleteProtocolsListFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::delete_protocols_list::DeleteProtocolsList, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::delete_protocols_list::DeleteProtocolsListError, + >, + > { + self.customize_middleware().await + } ///

                                                                              The ID of the protocols list that you want to delete. You can retrieve this ID from PutProtocolsList, ListProtocolsLists, and GetProtocolsLost.

                                                                              pub fn list_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.list_id(input.into()); diff --git a/sdk/fms/src/operation/delete_resource_set/builders.rs b/sdk/fms/src/operation/delete_resource_set/builders.rs index 3f9f8722c4bb..edac1fb0e0d7 100644 --- a/sdk/fms/src/operation/delete_resource_set/builders.rs +++ b/sdk/fms/src/operation/delete_resource_set/builders.rs @@ -19,9 +19,9 @@ impl DeleteResourceSetFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl DeleteResourceSetFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::delete_resource_set::DeleteResourceSet, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::delete_resource_set::DeleteResourceSetError, + >, + > { + self.customize_middleware().await + } ///

                                                                              A unique identifier for the resource set, used in a request to refer to the resource set.

                                                                              pub fn identifier(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.identifier(input.into()); diff --git a/sdk/fms/src/operation/disassociate_admin_account/builders.rs b/sdk/fms/src/operation/disassociate_admin_account/builders.rs index c202a149e986..a32a3a448dad 100644 --- a/sdk/fms/src/operation/disassociate_admin_account/builders.rs +++ b/sdk/fms/src/operation/disassociate_admin_account/builders.rs @@ -20,9 +20,9 @@ impl DisassociateAdminAccountFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -84,4 +84,20 @@ impl DisassociateAdminAccountFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::disassociate_admin_account::DisassociateAdminAccount, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::disassociate_admin_account::DisassociateAdminAccountError, + >, + > { + self.customize_middleware().await + } } diff --git a/sdk/fms/src/operation/disassociate_third_party_firewall/builders.rs b/sdk/fms/src/operation/disassociate_third_party_firewall/builders.rs index 0c8eb188f515..feecc93dda48 100644 --- a/sdk/fms/src/operation/disassociate_third_party_firewall/builders.rs +++ b/sdk/fms/src/operation/disassociate_third_party_firewall/builders.rs @@ -19,9 +19,9 @@ impl DisassociateThirdPartyFirewallFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize(self) -> ::std::result::Result< + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware(self) -> ::std::result::Result< crate::client::customize::CustomizableOperation, ::aws_smithy_http::result::SdkError >{ @@ -64,6 +64,15 @@ impl DisassociateThirdPartyFirewallFluentBuilder { { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize(self) -> ::std::result::Result< + crate::client::customize::CustomizableOperation, + ::aws_smithy_http::result::SdkError + >{ + self.customize_middleware().await + } ///

                                                                              The name of the third-party firewall vendor.

                                                                              pub fn third_party_firewall(mut self, input: crate::types::ThirdPartyFirewall) -> Self { self.inner = self.inner.third_party_firewall(input); diff --git a/sdk/fms/src/operation/get_admin_account/builders.rs b/sdk/fms/src/operation/get_admin_account/builders.rs index 5b2484a18da1..d4c7c6ce5b1a 100644 --- a/sdk/fms/src/operation/get_admin_account/builders.rs +++ b/sdk/fms/src/operation/get_admin_account/builders.rs @@ -19,9 +19,9 @@ impl GetAdminAccountFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,4 +83,20 @@ impl GetAdminAccountFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::get_admin_account::GetAdminAccount, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::get_admin_account::GetAdminAccountError, + >, + > { + self.customize_middleware().await + } } diff --git a/sdk/fms/src/operation/get_admin_scope/builders.rs b/sdk/fms/src/operation/get_admin_scope/builders.rs index bebbfaae3409..63a7a5b8ba8e 100644 --- a/sdk/fms/src/operation/get_admin_scope/builders.rs +++ b/sdk/fms/src/operation/get_admin_scope/builders.rs @@ -19,9 +19,9 @@ impl GetAdminScopeFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl GetAdminScopeFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::get_admin_scope::GetAdminScope, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                              The administator account that you want to get the details for.

                                                                              pub fn admin_account( mut self, diff --git a/sdk/fms/src/operation/get_apps_list/builders.rs b/sdk/fms/src/operation/get_apps_list/builders.rs index 7de72410cef2..59b9495f1f4e 100644 --- a/sdk/fms/src/operation/get_apps_list/builders.rs +++ b/sdk/fms/src/operation/get_apps_list/builders.rs @@ -19,9 +19,9 @@ impl GetAppsListFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl GetAppsListFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::get_apps_list::GetAppsList, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                              The ID of the Firewall Manager applications list that you want the details for.

                                                                              pub fn list_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.list_id(input.into()); diff --git a/sdk/fms/src/operation/get_compliance_detail/builders.rs b/sdk/fms/src/operation/get_compliance_detail/builders.rs index 654cd69a3000..b68f078bc164 100644 --- a/sdk/fms/src/operation/get_compliance_detail/builders.rs +++ b/sdk/fms/src/operation/get_compliance_detail/builders.rs @@ -25,9 +25,9 @@ impl GetComplianceDetailFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -89,6 +89,22 @@ impl GetComplianceDetailFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::get_compliance_detail::GetComplianceDetail, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::get_compliance_detail::GetComplianceDetailError, + >, + > { + self.customize_middleware().await + } ///

                                                                              The ID of the policy that you want to get the details for. PolicyId is returned by PutPolicy and by ListPolicies.

                                                                              pub fn policy_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.policy_id(input.into()); diff --git a/sdk/fms/src/operation/get_notification_channel/builders.rs b/sdk/fms/src/operation/get_notification_channel/builders.rs index 4546215edd9d..eaac24ee16eb 100644 --- a/sdk/fms/src/operation/get_notification_channel/builders.rs +++ b/sdk/fms/src/operation/get_notification_channel/builders.rs @@ -19,9 +19,9 @@ impl GetNotificationChannelFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,4 +83,20 @@ impl GetNotificationChannelFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::get_notification_channel::GetNotificationChannel, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::get_notification_channel::GetNotificationChannelError, + >, + > { + self.customize_middleware().await + } } diff --git a/sdk/fms/src/operation/get_policy/builders.rs b/sdk/fms/src/operation/get_policy/builders.rs index 5cc2721c9f62..b5d22008895a 100644 --- a/sdk/fms/src/operation/get_policy/builders.rs +++ b/sdk/fms/src/operation/get_policy/builders.rs @@ -19,9 +19,9 @@ impl GetPolicyFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl GetPolicyFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::get_policy::GetPolicy, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                              The ID of the Firewall Manager policy that you want the details for.

                                                                              pub fn policy_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.policy_id(input.into()); diff --git a/sdk/fms/src/operation/get_protection_status/builders.rs b/sdk/fms/src/operation/get_protection_status/builders.rs index c3125b977e13..a70af631d7a7 100644 --- a/sdk/fms/src/operation/get_protection_status/builders.rs +++ b/sdk/fms/src/operation/get_protection_status/builders.rs @@ -19,9 +19,9 @@ impl GetProtectionStatusFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl GetProtectionStatusFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::get_protection_status::GetProtectionStatus, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::get_protection_status::GetProtectionStatusError, + >, + > { + self.customize_middleware().await + } ///

                                                                              The ID of the policy for which you want to get the attack information.

                                                                              pub fn policy_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.policy_id(input.into()); diff --git a/sdk/fms/src/operation/get_protocols_list/builders.rs b/sdk/fms/src/operation/get_protocols_list/builders.rs index 97e4d9ce24d1..304faa2fa55b 100644 --- a/sdk/fms/src/operation/get_protocols_list/builders.rs +++ b/sdk/fms/src/operation/get_protocols_list/builders.rs @@ -19,9 +19,9 @@ impl GetProtocolsListFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl GetProtocolsListFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::get_protocols_list::GetProtocolsList, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::get_protocols_list::GetProtocolsListError, + >, + > { + self.customize_middleware().await + } ///

                                                                              The ID of the Firewall Manager protocols list that you want the details for.

                                                                              pub fn list_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.list_id(input.into()); diff --git a/sdk/fms/src/operation/get_resource_set/builders.rs b/sdk/fms/src/operation/get_resource_set/builders.rs index be7b244089a2..a28175ee47ea 100644 --- a/sdk/fms/src/operation/get_resource_set/builders.rs +++ b/sdk/fms/src/operation/get_resource_set/builders.rs @@ -19,9 +19,9 @@ impl GetResourceSetFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl GetResourceSetFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::get_resource_set::GetResourceSet, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::get_resource_set::GetResourceSetError, + >, + > { + self.customize_middleware().await + } ///

                                                                              A unique identifier for the resource set, used in a request to refer to the resource set.

                                                                              pub fn identifier(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.identifier(input.into()); diff --git a/sdk/fms/src/operation/get_third_party_firewall_association_status/builders.rs b/sdk/fms/src/operation/get_third_party_firewall_association_status/builders.rs index 158ca3019e28..1130f59dd9ae 100644 --- a/sdk/fms/src/operation/get_third_party_firewall_association_status/builders.rs +++ b/sdk/fms/src/operation/get_third_party_firewall_association_status/builders.rs @@ -19,9 +19,9 @@ impl GetThirdPartyFirewallAssociationStatusFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize(self) -> ::std::result::Result< + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware(self) -> ::std::result::Result< crate::client::customize::CustomizableOperation, ::aws_smithy_http::result::SdkError >{ @@ -64,6 +64,15 @@ impl GetThirdPartyFirewallAssociationStatusFluentBuilder { { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize(self) -> ::std::result::Result< + crate::client::customize::CustomizableOperation, + ::aws_smithy_http::result::SdkError + >{ + self.customize_middleware().await + } ///

                                                                              The name of the third-party firewall vendor.

                                                                              pub fn third_party_firewall(mut self, input: crate::types::ThirdPartyFirewall) -> Self { self.inner = self.inner.third_party_firewall(input); diff --git a/sdk/fms/src/operation/get_violation_details/builders.rs b/sdk/fms/src/operation/get_violation_details/builders.rs index c4ea1c57b9cd..38327df4e06d 100644 --- a/sdk/fms/src/operation/get_violation_details/builders.rs +++ b/sdk/fms/src/operation/get_violation_details/builders.rs @@ -19,9 +19,9 @@ impl GetViolationDetailsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl GetViolationDetailsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::get_violation_details::GetViolationDetails, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::get_violation_details::GetViolationDetailsError, + >, + > { + self.customize_middleware().await + } ///

                                                                              The ID of the Firewall Manager policy that you want the details for. This currently only supports security group content audit policies.

                                                                              pub fn policy_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.policy_id(input.into()); diff --git a/sdk/fms/src/operation/list_admin_accounts_for_organization/builders.rs b/sdk/fms/src/operation/list_admin_accounts_for_organization/builders.rs index 4c1cc21e8e5f..370ef50cf06b 100644 --- a/sdk/fms/src/operation/list_admin_accounts_for_organization/builders.rs +++ b/sdk/fms/src/operation/list_admin_accounts_for_organization/builders.rs @@ -20,9 +20,9 @@ impl ListAdminAccountsForOrganizationFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize(self) -> ::std::result::Result< + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware(self) -> ::std::result::Result< crate::client::customize::CustomizableOperation, ::aws_smithy_http::result::SdkError >{ @@ -65,6 +65,15 @@ impl ListAdminAccountsForOrganizationFluentBuilder { { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize(self) -> ::std::result::Result< + crate::client::customize::CustomizableOperation, + ::aws_smithy_http::result::SdkError + >{ + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::list_admin_accounts_for_organization::paginator::ListAdminAccountsForOrganizationPaginator::send) which returns a `Stream`. diff --git a/sdk/fms/src/operation/list_admins_managing_account/builders.rs b/sdk/fms/src/operation/list_admins_managing_account/builders.rs index 96a9491e2658..5aa0d5462af1 100644 --- a/sdk/fms/src/operation/list_admins_managing_account/builders.rs +++ b/sdk/fms/src/operation/list_admins_managing_account/builders.rs @@ -19,9 +19,9 @@ impl ListAdminsManagingAccountFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl ListAdminsManagingAccountFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_admins_managing_account::ListAdminsManagingAccount, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::list_admins_managing_account::ListAdminsManagingAccountError, + >, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::list_admins_managing_account::paginator::ListAdminsManagingAccountPaginator::send) which returns a `Stream`. diff --git a/sdk/fms/src/operation/list_apps_lists/builders.rs b/sdk/fms/src/operation/list_apps_lists/builders.rs index 793651a41a44..7d1e374d7fbe 100644 --- a/sdk/fms/src/operation/list_apps_lists/builders.rs +++ b/sdk/fms/src/operation/list_apps_lists/builders.rs @@ -19,9 +19,9 @@ impl ListAppsListsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl ListAppsListsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_apps_lists::ListAppsLists, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::list_apps_lists::paginator::ListAppsListsPaginator::send) which returns a `Stream`. diff --git a/sdk/fms/src/operation/list_compliance_status/builders.rs b/sdk/fms/src/operation/list_compliance_status/builders.rs index e6c59e3a10ed..64231bbd8d70 100644 --- a/sdk/fms/src/operation/list_compliance_status/builders.rs +++ b/sdk/fms/src/operation/list_compliance_status/builders.rs @@ -19,9 +19,9 @@ impl ListComplianceStatusFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl ListComplianceStatusFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_compliance_status::ListComplianceStatus, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::list_compliance_status::ListComplianceStatusError, + >, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::list_compliance_status::paginator::ListComplianceStatusPaginator::send) which returns a `Stream`. diff --git a/sdk/fms/src/operation/list_discovered_resources/builders.rs b/sdk/fms/src/operation/list_discovered_resources/builders.rs index 902fdd651936..501cc9e52d87 100644 --- a/sdk/fms/src/operation/list_discovered_resources/builders.rs +++ b/sdk/fms/src/operation/list_discovered_resources/builders.rs @@ -20,9 +20,9 @@ impl ListDiscoveredResourcesFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -84,6 +84,22 @@ impl ListDiscoveredResourcesFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_discovered_resources::ListDiscoveredResources, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::list_discovered_resources::ListDiscoveredResourcesError, + >, + > { + self.customize_middleware().await + } /// Appends an item to `MemberAccountIds`. /// /// To override the contents of this collection use [`set_member_account_ids`](Self::set_member_account_ids). diff --git a/sdk/fms/src/operation/list_member_accounts/builders.rs b/sdk/fms/src/operation/list_member_accounts/builders.rs index 26686d762f9a..7c462cce7498 100644 --- a/sdk/fms/src/operation/list_member_accounts/builders.rs +++ b/sdk/fms/src/operation/list_member_accounts/builders.rs @@ -20,9 +20,9 @@ impl ListMemberAccountsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -84,6 +84,22 @@ impl ListMemberAccountsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_member_accounts::ListMemberAccounts, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::list_member_accounts::ListMemberAccountsError, + >, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::list_member_accounts::paginator::ListMemberAccountsPaginator::send) which returns a `Stream`. diff --git a/sdk/fms/src/operation/list_policies/builders.rs b/sdk/fms/src/operation/list_policies/builders.rs index 1a191a3b67e3..414052eced02 100644 --- a/sdk/fms/src/operation/list_policies/builders.rs +++ b/sdk/fms/src/operation/list_policies/builders.rs @@ -19,9 +19,9 @@ impl ListPoliciesFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl ListPoliciesFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_policies::ListPolicies, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::list_policies::paginator::ListPoliciesPaginator::send) which returns a `Stream`. diff --git a/sdk/fms/src/operation/list_protocols_lists/builders.rs b/sdk/fms/src/operation/list_protocols_lists/builders.rs index aba68a3a1970..d55bb044abea 100644 --- a/sdk/fms/src/operation/list_protocols_lists/builders.rs +++ b/sdk/fms/src/operation/list_protocols_lists/builders.rs @@ -19,9 +19,9 @@ impl ListProtocolsListsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl ListProtocolsListsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_protocols_lists::ListProtocolsLists, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::list_protocols_lists::ListProtocolsListsError, + >, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::list_protocols_lists::paginator::ListProtocolsListsPaginator::send) which returns a `Stream`. diff --git a/sdk/fms/src/operation/list_resource_set_resources/builders.rs b/sdk/fms/src/operation/list_resource_set_resources/builders.rs index 6842392fc393..cb0e4a60ff85 100644 --- a/sdk/fms/src/operation/list_resource_set_resources/builders.rs +++ b/sdk/fms/src/operation/list_resource_set_resources/builders.rs @@ -19,9 +19,9 @@ impl ListResourceSetResourcesFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl ListResourceSetResourcesFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_resource_set_resources::ListResourceSetResources, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::list_resource_set_resources::ListResourceSetResourcesError, + >, + > { + self.customize_middleware().await + } ///

                                                                              A unique identifier for the resource set, used in a request to refer to the resource set.

                                                                              pub fn identifier(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.identifier(input.into()); diff --git a/sdk/fms/src/operation/list_resource_sets/builders.rs b/sdk/fms/src/operation/list_resource_sets/builders.rs index 4c6c404ebb35..e63b97e9c20e 100644 --- a/sdk/fms/src/operation/list_resource_sets/builders.rs +++ b/sdk/fms/src/operation/list_resource_sets/builders.rs @@ -19,9 +19,9 @@ impl ListResourceSetsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl ListResourceSetsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_resource_sets::ListResourceSets, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::list_resource_sets::ListResourceSetsError, + >, + > { + self.customize_middleware().await + } ///

                                                                              When you request a list of objects with a MaxResults setting, if the number of objects that are still available for retrieval exceeds the maximum you requested, Firewall Manager returns a NextToken value in the response. To retrieve the next batch of objects, use the token returned from the prior request in your next request.

                                                                              pub fn next_token(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.next_token(input.into()); diff --git a/sdk/fms/src/operation/list_tags_for_resource/builders.rs b/sdk/fms/src/operation/list_tags_for_resource/builders.rs index 04e3b7622343..7fe79b2aa272 100644 --- a/sdk/fms/src/operation/list_tags_for_resource/builders.rs +++ b/sdk/fms/src/operation/list_tags_for_resource/builders.rs @@ -19,9 +19,9 @@ impl ListTagsForResourceFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl ListTagsForResourceFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_tags_for_resource::ListTagsForResource, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::list_tags_for_resource::ListTagsForResourceError, + >, + > { + self.customize_middleware().await + } ///

                                                                              The Amazon Resource Name (ARN) of the resource to return tags for. The Firewall Manager resources that support tagging are policies, applications lists, and protocols lists.

                                                                              pub fn resource_arn(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.resource_arn(input.into()); diff --git a/sdk/fms/src/operation/list_third_party_firewall_firewall_policies/builders.rs b/sdk/fms/src/operation/list_third_party_firewall_firewall_policies/builders.rs index 274edee0346a..127efcf1f189 100644 --- a/sdk/fms/src/operation/list_third_party_firewall_firewall_policies/builders.rs +++ b/sdk/fms/src/operation/list_third_party_firewall_firewall_policies/builders.rs @@ -19,9 +19,9 @@ impl ListThirdPartyFirewallFirewallPoliciesFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize(self) -> ::std::result::Result< + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware(self) -> ::std::result::Result< crate::client::customize::CustomizableOperation, ::aws_smithy_http::result::SdkError >{ @@ -64,6 +64,15 @@ impl ListThirdPartyFirewallFirewallPoliciesFluentBuilder { { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize(self) -> ::std::result::Result< + crate::client::customize::CustomizableOperation, + ::aws_smithy_http::result::SdkError + >{ + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::list_third_party_firewall_firewall_policies::paginator::ListThirdPartyFirewallFirewallPoliciesPaginator::send) which returns a `Stream`. diff --git a/sdk/fms/src/operation/put_admin_account/builders.rs b/sdk/fms/src/operation/put_admin_account/builders.rs index c1e754fe0087..47552dfb511d 100644 --- a/sdk/fms/src/operation/put_admin_account/builders.rs +++ b/sdk/fms/src/operation/put_admin_account/builders.rs @@ -19,9 +19,9 @@ impl PutAdminAccountFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl PutAdminAccountFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::put_admin_account::PutAdminAccount, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::put_admin_account::PutAdminAccountError, + >, + > { + self.customize_middleware().await + } ///

                                                                              The Amazon Web Services account ID to add as an Firewall Manager administrator account. The account must be a member of the organization that was onboarded to Firewall Manager by AssociateAdminAccount. For more information about Organizations, see Managing the Amazon Web Services Accounts in Your Organization.

                                                                              pub fn admin_account( mut self, diff --git a/sdk/fms/src/operation/put_apps_list/builders.rs b/sdk/fms/src/operation/put_apps_list/builders.rs index dbcbedd24365..7a691ad06ff7 100644 --- a/sdk/fms/src/operation/put_apps_list/builders.rs +++ b/sdk/fms/src/operation/put_apps_list/builders.rs @@ -19,9 +19,9 @@ impl PutAppsListFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl PutAppsListFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::put_apps_list::PutAppsList, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                              The details of the Firewall Manager applications list to be created.

                                                                              pub fn apps_list(mut self, input: crate::types::AppsListData) -> Self { self.inner = self.inner.apps_list(input); diff --git a/sdk/fms/src/operation/put_notification_channel/builders.rs b/sdk/fms/src/operation/put_notification_channel/builders.rs index 6bc2a9de6455..61ea347f3920 100644 --- a/sdk/fms/src/operation/put_notification_channel/builders.rs +++ b/sdk/fms/src/operation/put_notification_channel/builders.rs @@ -20,9 +20,9 @@ impl PutNotificationChannelFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -84,6 +84,22 @@ impl PutNotificationChannelFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::put_notification_channel::PutNotificationChannel, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::put_notification_channel::PutNotificationChannelError, + >, + > { + self.customize_middleware().await + } ///

                                                                              The Amazon Resource Name (ARN) of the SNS topic that collects notifications from Firewall Manager.

                                                                              pub fn sns_topic_arn( mut self, diff --git a/sdk/fms/src/operation/put_policy/builders.rs b/sdk/fms/src/operation/put_policy/builders.rs index aeec5472e6bb..4b512d9b58aa 100644 --- a/sdk/fms/src/operation/put_policy/builders.rs +++ b/sdk/fms/src/operation/put_policy/builders.rs @@ -30,9 +30,9 @@ impl PutPolicyFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -88,6 +88,20 @@ impl PutPolicyFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::put_policy::PutPolicy, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                              The details of the Firewall Manager policy to be created.

                                                                              pub fn policy(mut self, input: crate::types::Policy) -> Self { self.inner = self.inner.policy(input); diff --git a/sdk/fms/src/operation/put_protocols_list/builders.rs b/sdk/fms/src/operation/put_protocols_list/builders.rs index 9f369910865a..983d5826c828 100644 --- a/sdk/fms/src/operation/put_protocols_list/builders.rs +++ b/sdk/fms/src/operation/put_protocols_list/builders.rs @@ -19,9 +19,9 @@ impl PutProtocolsListFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl PutProtocolsListFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::put_protocols_list::PutProtocolsList, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::put_protocols_list::PutProtocolsListError, + >, + > { + self.customize_middleware().await + } ///

                                                                              The details of the Firewall Manager protocols list to be created.

                                                                              pub fn protocols_list(mut self, input: crate::types::ProtocolsListData) -> Self { self.inner = self.inner.protocols_list(input); diff --git a/sdk/fms/src/operation/put_resource_set/builders.rs b/sdk/fms/src/operation/put_resource_set/builders.rs index 64616a6c8e4e..1cc9c932c0d4 100644 --- a/sdk/fms/src/operation/put_resource_set/builders.rs +++ b/sdk/fms/src/operation/put_resource_set/builders.rs @@ -20,9 +20,9 @@ impl PutResourceSetFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -84,6 +84,22 @@ impl PutResourceSetFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::put_resource_set::PutResourceSet, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::put_resource_set::PutResourceSetError, + >, + > { + self.customize_middleware().await + } ///

                                                                              Details about the resource set to be created or updated.>

                                                                              pub fn resource_set(mut self, input: crate::types::ResourceSet) -> Self { self.inner = self.inner.resource_set(input); diff --git a/sdk/fms/src/operation/tag_resource/builders.rs b/sdk/fms/src/operation/tag_resource/builders.rs index 32ee28974de3..574897e0e80c 100644 --- a/sdk/fms/src/operation/tag_resource/builders.rs +++ b/sdk/fms/src/operation/tag_resource/builders.rs @@ -19,9 +19,9 @@ impl TagResourceFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl TagResourceFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::tag_resource::TagResource, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                              The Amazon Resource Name (ARN) of the resource to return tags for. The Firewall Manager resources that support tagging are policies, applications lists, and protocols lists.

                                                                              pub fn resource_arn(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.resource_arn(input.into()); diff --git a/sdk/fms/src/operation/untag_resource/builders.rs b/sdk/fms/src/operation/untag_resource/builders.rs index 1dd4bc0fadf8..7c34958caf1f 100644 --- a/sdk/fms/src/operation/untag_resource/builders.rs +++ b/sdk/fms/src/operation/untag_resource/builders.rs @@ -19,9 +19,9 @@ impl UntagResourceFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl UntagResourceFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::untag_resource::UntagResource, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                              The Amazon Resource Name (ARN) of the resource to return tags for. The Firewall Manager resources that support tagging are policies, applications lists, and protocols lists.

                                                                              pub fn resource_arn(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.resource_arn(input.into()); diff --git a/sdk/forecast/src/operation/create_auto_predictor/builders.rs b/sdk/forecast/src/operation/create_auto_predictor/builders.rs index 2ac008928642..f9b23eaa7250 100644 --- a/sdk/forecast/src/operation/create_auto_predictor/builders.rs +++ b/sdk/forecast/src/operation/create_auto_predictor/builders.rs @@ -36,9 +36,9 @@ impl CreateAutoPredictorFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -100,6 +100,22 @@ impl CreateAutoPredictorFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::create_auto_predictor::CreateAutoPredictor, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::create_auto_predictor::CreateAutoPredictorError, + >, + > { + self.customize_middleware().await + } ///

                                                                              A unique name for the predictor

                                                                              pub fn predictor_name( mut self, diff --git a/sdk/forecast/src/operation/create_dataset/builders.rs b/sdk/forecast/src/operation/create_dataset/builders.rs index fd9ddf6d6ba0..5f2a32bc775c 100644 --- a/sdk/forecast/src/operation/create_dataset/builders.rs +++ b/sdk/forecast/src/operation/create_dataset/builders.rs @@ -29,9 +29,9 @@ impl CreateDatasetFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -87,6 +87,20 @@ impl CreateDatasetFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::create_dataset::CreateDataset, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                              A name for the dataset.

                                                                              pub fn dataset_name(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.dataset_name(input.into()); diff --git a/sdk/forecast/src/operation/create_dataset_group/builders.rs b/sdk/forecast/src/operation/create_dataset_group/builders.rs index c5e383029706..d3ae05d4b991 100644 --- a/sdk/forecast/src/operation/create_dataset_group/builders.rs +++ b/sdk/forecast/src/operation/create_dataset_group/builders.rs @@ -23,9 +23,9 @@ impl CreateDatasetGroupFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -87,6 +87,22 @@ impl CreateDatasetGroupFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::create_dataset_group::CreateDatasetGroup, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::create_dataset_group::CreateDatasetGroupError, + >, + > { + self.customize_middleware().await + } ///

                                                                              A name for the dataset group.

                                                                              pub fn dataset_group_name( mut self, diff --git a/sdk/forecast/src/operation/create_dataset_import_job/builders.rs b/sdk/forecast/src/operation/create_dataset_import_job/builders.rs index 305d35c26187..c24e65d5055b 100644 --- a/sdk/forecast/src/operation/create_dataset_import_job/builders.rs +++ b/sdk/forecast/src/operation/create_dataset_import_job/builders.rs @@ -25,9 +25,9 @@ impl CreateDatasetImportJobFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -89,6 +89,22 @@ impl CreateDatasetImportJobFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::create_dataset_import_job::CreateDatasetImportJob, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::create_dataset_import_job::CreateDatasetImportJobError, + >, + > { + self.customize_middleware().await + } ///

                                                                              The name for the dataset import job. We recommend including the current timestamp in the name, for example, 20190721DatasetImport. This can help you avoid getting a ResourceAlreadyExistsException exception.

                                                                              pub fn dataset_import_job_name( mut self, diff --git a/sdk/forecast/src/operation/create_explainability/builders.rs b/sdk/forecast/src/operation/create_explainability/builders.rs index dbf61beb9d65..6fbf5113d27a 100644 --- a/sdk/forecast/src/operation/create_explainability/builders.rs +++ b/sdk/forecast/src/operation/create_explainability/builders.rs @@ -62,9 +62,9 @@ impl CreateExplainabilityFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -126,6 +126,22 @@ impl CreateExplainabilityFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::create_explainability::CreateExplainability, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::create_explainability::CreateExplainabilityError, + >, + > { + self.customize_middleware().await + } ///

                                                                              A unique name for the Explainability.

                                                                              pub fn explainability_name( mut self, diff --git a/sdk/forecast/src/operation/create_explainability_export/builders.rs b/sdk/forecast/src/operation/create_explainability_export/builders.rs index f3e5e08f1aca..75c089b8951f 100644 --- a/sdk/forecast/src/operation/create_explainability_export/builders.rs +++ b/sdk/forecast/src/operation/create_explainability_export/builders.rs @@ -22,9 +22,9 @@ impl CreateExplainabilityExportFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -86,6 +86,22 @@ impl CreateExplainabilityExportFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::create_explainability_export::CreateExplainabilityExport, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::create_explainability_export::CreateExplainabilityExportError, + >, + > { + self.customize_middleware().await + } ///

                                                                              A unique name for the Explainability export.

                                                                              pub fn explainability_export_name( mut self, diff --git a/sdk/forecast/src/operation/create_forecast/builders.rs b/sdk/forecast/src/operation/create_forecast/builders.rs index e48503380dd2..295b6f7d9020 100644 --- a/sdk/forecast/src/operation/create_forecast/builders.rs +++ b/sdk/forecast/src/operation/create_forecast/builders.rs @@ -27,9 +27,9 @@ impl CreateForecastFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -85,6 +85,20 @@ impl CreateForecastFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::create_forecast::CreateForecast, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                              A name for the forecast.

                                                                              pub fn forecast_name( mut self, diff --git a/sdk/forecast/src/operation/create_forecast_export_job/builders.rs b/sdk/forecast/src/operation/create_forecast_export_job/builders.rs index 30741fbf04f7..cd1b89ffc97e 100644 --- a/sdk/forecast/src/operation/create_forecast_export_job/builders.rs +++ b/sdk/forecast/src/operation/create_forecast_export_job/builders.rs @@ -36,9 +36,9 @@ impl CreateForecastExportJobFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -100,6 +100,22 @@ impl CreateForecastExportJobFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::create_forecast_export_job::CreateForecastExportJob, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::create_forecast_export_job::CreateForecastExportJobError, + >, + > { + self.customize_middleware().await + } ///

                                                                              The name for the forecast export job.

                                                                              pub fn forecast_export_job_name( mut self, diff --git a/sdk/forecast/src/operation/create_monitor/builders.rs b/sdk/forecast/src/operation/create_monitor/builders.rs index 756502ee4618..fe863c29cdc5 100644 --- a/sdk/forecast/src/operation/create_monitor/builders.rs +++ b/sdk/forecast/src/operation/create_monitor/builders.rs @@ -19,9 +19,9 @@ impl CreateMonitorFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl CreateMonitorFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::create_monitor::CreateMonitor, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                              The name of the monitor resource.

                                                                              pub fn monitor_name(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.monitor_name(input.into()); diff --git a/sdk/forecast/src/operation/create_predictor/builders.rs b/sdk/forecast/src/operation/create_predictor/builders.rs index 7e571278ac28..e1f2f7dc2f73 100644 --- a/sdk/forecast/src/operation/create_predictor/builders.rs +++ b/sdk/forecast/src/operation/create_predictor/builders.rs @@ -40,9 +40,9 @@ impl CreatePredictorFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -104,6 +104,22 @@ impl CreatePredictorFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::create_predictor::CreatePredictor, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::create_predictor::CreatePredictorError, + >, + > { + self.customize_middleware().await + } ///

                                                                              A name for the predictor.

                                                                              pub fn predictor_name( mut self, diff --git a/sdk/forecast/src/operation/create_predictor_backtest_export_job/builders.rs b/sdk/forecast/src/operation/create_predictor_backtest_export_job/builders.rs index 0fa695ac8675..3d2ad3286182 100644 --- a/sdk/forecast/src/operation/create_predictor_backtest_export_job/builders.rs +++ b/sdk/forecast/src/operation/create_predictor_backtest_export_job/builders.rs @@ -36,9 +36,9 @@ impl CreatePredictorBacktestExportJobFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize(self) -> ::std::result::Result< + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware(self) -> ::std::result::Result< crate::client::customize::CustomizableOperation, ::aws_smithy_http::result::SdkError >{ @@ -81,6 +81,15 @@ impl CreatePredictorBacktestExportJobFluentBuilder { { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize(self) -> ::std::result::Result< + crate::client::customize::CustomizableOperation, + ::aws_smithy_http::result::SdkError + >{ + self.customize_middleware().await + } ///

                                                                              The name for the backtest export job.

                                                                              pub fn predictor_backtest_export_job_name( mut self, diff --git a/sdk/forecast/src/operation/create_what_if_analysis/builders.rs b/sdk/forecast/src/operation/create_what_if_analysis/builders.rs index 308239df08eb..75c71b195673 100644 --- a/sdk/forecast/src/operation/create_what_if_analysis/builders.rs +++ b/sdk/forecast/src/operation/create_what_if_analysis/builders.rs @@ -23,9 +23,9 @@ impl CreateWhatIfAnalysisFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -87,6 +87,22 @@ impl CreateWhatIfAnalysisFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::create_what_if_analysis::CreateWhatIfAnalysis, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::create_what_if_analysis::CreateWhatIfAnalysisError, + >, + > { + self.customize_middleware().await + } ///

                                                                              The name of the what-if analysis. Each name must be unique.

                                                                              pub fn what_if_analysis_name( mut self, diff --git a/sdk/forecast/src/operation/create_what_if_forecast/builders.rs b/sdk/forecast/src/operation/create_what_if_forecast/builders.rs index b64cc45f5146..58c905cfd6e6 100644 --- a/sdk/forecast/src/operation/create_what_if_forecast/builders.rs +++ b/sdk/forecast/src/operation/create_what_if_forecast/builders.rs @@ -19,9 +19,9 @@ impl CreateWhatIfForecastFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl CreateWhatIfForecastFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::create_what_if_forecast::CreateWhatIfForecast, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::create_what_if_forecast::CreateWhatIfForecastError, + >, + > { + self.customize_middleware().await + } ///

                                                                              The name of the what-if forecast. Names must be unique within each what-if analysis.

                                                                              pub fn what_if_forecast_name( mut self, diff --git a/sdk/forecast/src/operation/create_what_if_forecast_export/builders.rs b/sdk/forecast/src/operation/create_what_if_forecast_export/builders.rs index f0039a6f53b6..940cfded425c 100644 --- a/sdk/forecast/src/operation/create_what_if_forecast_export/builders.rs +++ b/sdk/forecast/src/operation/create_what_if_forecast_export/builders.rs @@ -35,9 +35,9 @@ impl CreateWhatIfForecastExportFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -99,6 +99,22 @@ impl CreateWhatIfForecastExportFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::create_what_if_forecast_export::CreateWhatIfForecastExport, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::create_what_if_forecast_export::CreateWhatIfForecastExportError, + >, + > { + self.customize_middleware().await + } ///

                                                                              The name of the what-if forecast to export.

                                                                              pub fn what_if_forecast_export_name( mut self, diff --git a/sdk/forecast/src/operation/delete_dataset/builders.rs b/sdk/forecast/src/operation/delete_dataset/builders.rs index a95533db04c2..3a0f31a6c3e4 100644 --- a/sdk/forecast/src/operation/delete_dataset/builders.rs +++ b/sdk/forecast/src/operation/delete_dataset/builders.rs @@ -21,9 +21,9 @@ impl DeleteDatasetFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -79,6 +79,20 @@ impl DeleteDatasetFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::delete_dataset::DeleteDataset, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                              The Amazon Resource Name (ARN) of the dataset to delete.

                                                                              pub fn dataset_arn(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.dataset_arn(input.into()); diff --git a/sdk/forecast/src/operation/delete_dataset_group/builders.rs b/sdk/forecast/src/operation/delete_dataset_group/builders.rs index a2832f2dfe87..160cb0dc632b 100644 --- a/sdk/forecast/src/operation/delete_dataset_group/builders.rs +++ b/sdk/forecast/src/operation/delete_dataset_group/builders.rs @@ -20,9 +20,9 @@ impl DeleteDatasetGroupFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -84,6 +84,22 @@ impl DeleteDatasetGroupFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::delete_dataset_group::DeleteDatasetGroup, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::delete_dataset_group::DeleteDatasetGroupError, + >, + > { + self.customize_middleware().await + } ///

                                                                              The Amazon Resource Name (ARN) of the dataset group to delete.

                                                                              pub fn dataset_group_arn( mut self, diff --git a/sdk/forecast/src/operation/delete_dataset_import_job/builders.rs b/sdk/forecast/src/operation/delete_dataset_import_job/builders.rs index dcbb6aff72cc..f00b2ffb0fb0 100644 --- a/sdk/forecast/src/operation/delete_dataset_import_job/builders.rs +++ b/sdk/forecast/src/operation/delete_dataset_import_job/builders.rs @@ -20,9 +20,9 @@ impl DeleteDatasetImportJobFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -84,6 +84,22 @@ impl DeleteDatasetImportJobFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::delete_dataset_import_job::DeleteDatasetImportJob, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::delete_dataset_import_job::DeleteDatasetImportJobError, + >, + > { + self.customize_middleware().await + } ///

                                                                              The Amazon Resource Name (ARN) of the dataset import job to delete.

                                                                              pub fn dataset_import_job_arn( mut self, diff --git a/sdk/forecast/src/operation/delete_explainability/builders.rs b/sdk/forecast/src/operation/delete_explainability/builders.rs index bb8e29c6a1d9..e7067f1c33b3 100644 --- a/sdk/forecast/src/operation/delete_explainability/builders.rs +++ b/sdk/forecast/src/operation/delete_explainability/builders.rs @@ -20,9 +20,9 @@ impl DeleteExplainabilityFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -84,6 +84,22 @@ impl DeleteExplainabilityFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::delete_explainability::DeleteExplainability, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::delete_explainability::DeleteExplainabilityError, + >, + > { + self.customize_middleware().await + } ///

                                                                              The Amazon Resource Name (ARN) of the Explainability resource to delete.

                                                                              pub fn explainability_arn( mut self, diff --git a/sdk/forecast/src/operation/delete_explainability_export/builders.rs b/sdk/forecast/src/operation/delete_explainability_export/builders.rs index a7fe1441ccd6..e57df62d5db3 100644 --- a/sdk/forecast/src/operation/delete_explainability_export/builders.rs +++ b/sdk/forecast/src/operation/delete_explainability_export/builders.rs @@ -19,9 +19,9 @@ impl DeleteExplainabilityExportFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl DeleteExplainabilityExportFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::delete_explainability_export::DeleteExplainabilityExport, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::delete_explainability_export::DeleteExplainabilityExportError, + >, + > { + self.customize_middleware().await + } ///

                                                                              The Amazon Resource Name (ARN) of the Explainability export to delete.

                                                                              pub fn explainability_export_arn( mut self, diff --git a/sdk/forecast/src/operation/delete_forecast/builders.rs b/sdk/forecast/src/operation/delete_forecast/builders.rs index 5833ad0f1847..5cb11622615f 100644 --- a/sdk/forecast/src/operation/delete_forecast/builders.rs +++ b/sdk/forecast/src/operation/delete_forecast/builders.rs @@ -20,9 +20,9 @@ impl DeleteForecastFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -78,6 +78,20 @@ impl DeleteForecastFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::delete_forecast::DeleteForecast, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                              The Amazon Resource Name (ARN) of the forecast to delete.

                                                                              pub fn forecast_arn(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.forecast_arn(input.into()); diff --git a/sdk/forecast/src/operation/delete_forecast_export_job/builders.rs b/sdk/forecast/src/operation/delete_forecast_export_job/builders.rs index 8766a5f2e9d3..2c7a00c1a761 100644 --- a/sdk/forecast/src/operation/delete_forecast_export_job/builders.rs +++ b/sdk/forecast/src/operation/delete_forecast_export_job/builders.rs @@ -20,9 +20,9 @@ impl DeleteForecastExportJobFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -84,6 +84,22 @@ impl DeleteForecastExportJobFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::delete_forecast_export_job::DeleteForecastExportJob, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::delete_forecast_export_job::DeleteForecastExportJobError, + >, + > { + self.customize_middleware().await + } ///

                                                                              The Amazon Resource Name (ARN) of the forecast export job to delete.

                                                                              pub fn forecast_export_job_arn( mut self, diff --git a/sdk/forecast/src/operation/delete_monitor/builders.rs b/sdk/forecast/src/operation/delete_monitor/builders.rs index 6d9cbf38acf7..e3cd44ab8fce 100644 --- a/sdk/forecast/src/operation/delete_monitor/builders.rs +++ b/sdk/forecast/src/operation/delete_monitor/builders.rs @@ -19,9 +19,9 @@ impl DeleteMonitorFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl DeleteMonitorFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::delete_monitor::DeleteMonitor, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                              The Amazon Resource Name (ARN) of the monitor resource to delete.

                                                                              pub fn monitor_arn(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.monitor_arn(input.into()); diff --git a/sdk/forecast/src/operation/delete_predictor/builders.rs b/sdk/forecast/src/operation/delete_predictor/builders.rs index cf380b390b9e..cb7663d54269 100644 --- a/sdk/forecast/src/operation/delete_predictor/builders.rs +++ b/sdk/forecast/src/operation/delete_predictor/builders.rs @@ -19,9 +19,9 @@ impl DeletePredictorFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl DeletePredictorFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::delete_predictor::DeletePredictor, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::delete_predictor::DeletePredictorError, + >, + > { + self.customize_middleware().await + } ///

                                                                              The Amazon Resource Name (ARN) of the predictor to delete.

                                                                              pub fn predictor_arn( mut self, diff --git a/sdk/forecast/src/operation/delete_predictor_backtest_export_job/builders.rs b/sdk/forecast/src/operation/delete_predictor_backtest_export_job/builders.rs index 180b6fdd9651..6246f654024f 100644 --- a/sdk/forecast/src/operation/delete_predictor_backtest_export_job/builders.rs +++ b/sdk/forecast/src/operation/delete_predictor_backtest_export_job/builders.rs @@ -19,9 +19,9 @@ impl DeletePredictorBacktestExportJobFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize(self) -> ::std::result::Result< + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware(self) -> ::std::result::Result< crate::client::customize::CustomizableOperation, ::aws_smithy_http::result::SdkError >{ @@ -64,6 +64,15 @@ impl DeletePredictorBacktestExportJobFluentBuilder { { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize(self) -> ::std::result::Result< + crate::client::customize::CustomizableOperation, + ::aws_smithy_http::result::SdkError + >{ + self.customize_middleware().await + } ///

                                                                              The Amazon Resource Name (ARN) of the predictor backtest export job to delete.

                                                                              pub fn predictor_backtest_export_job_arn( mut self, diff --git a/sdk/forecast/src/operation/delete_resource_tree/builders.rs b/sdk/forecast/src/operation/delete_resource_tree/builders.rs index 125c92740c8a..f7b0540fd704 100644 --- a/sdk/forecast/src/operation/delete_resource_tree/builders.rs +++ b/sdk/forecast/src/operation/delete_resource_tree/builders.rs @@ -29,9 +29,9 @@ impl DeleteResourceTreeFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -93,6 +93,22 @@ impl DeleteResourceTreeFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::delete_resource_tree::DeleteResourceTree, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::delete_resource_tree::DeleteResourceTreeError, + >, + > { + self.customize_middleware().await + } ///

                                                                              The Amazon Resource Name (ARN) of the parent resource to delete. All child resources of the parent resource will also be deleted.

                                                                              pub fn resource_arn(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.resource_arn(input.into()); diff --git a/sdk/forecast/src/operation/delete_what_if_analysis/builders.rs b/sdk/forecast/src/operation/delete_what_if_analysis/builders.rs index 8dd3a799b311..6c9a1897f39c 100644 --- a/sdk/forecast/src/operation/delete_what_if_analysis/builders.rs +++ b/sdk/forecast/src/operation/delete_what_if_analysis/builders.rs @@ -20,9 +20,9 @@ impl DeleteWhatIfAnalysisFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -84,6 +84,22 @@ impl DeleteWhatIfAnalysisFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::delete_what_if_analysis::DeleteWhatIfAnalysis, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::delete_what_if_analysis::DeleteWhatIfAnalysisError, + >, + > { + self.customize_middleware().await + } ///

                                                                              The Amazon Resource Name (ARN) of the what-if analysis that you want to delete.

                                                                              pub fn what_if_analysis_arn( mut self, diff --git a/sdk/forecast/src/operation/delete_what_if_forecast/builders.rs b/sdk/forecast/src/operation/delete_what_if_forecast/builders.rs index 47faae65244e..a6ab69b34954 100644 --- a/sdk/forecast/src/operation/delete_what_if_forecast/builders.rs +++ b/sdk/forecast/src/operation/delete_what_if_forecast/builders.rs @@ -20,9 +20,9 @@ impl DeleteWhatIfForecastFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -84,6 +84,22 @@ impl DeleteWhatIfForecastFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::delete_what_if_forecast::DeleteWhatIfForecast, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::delete_what_if_forecast::DeleteWhatIfForecastError, + >, + > { + self.customize_middleware().await + } ///

                                                                              The Amazon Resource Name (ARN) of the what-if forecast that you want to delete.

                                                                              pub fn what_if_forecast_arn( mut self, diff --git a/sdk/forecast/src/operation/delete_what_if_forecast_export/builders.rs b/sdk/forecast/src/operation/delete_what_if_forecast_export/builders.rs index 1bb5548d5f8c..5f047be686a1 100644 --- a/sdk/forecast/src/operation/delete_what_if_forecast_export/builders.rs +++ b/sdk/forecast/src/operation/delete_what_if_forecast_export/builders.rs @@ -19,9 +19,9 @@ impl DeleteWhatIfForecastExportFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl DeleteWhatIfForecastExportFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::delete_what_if_forecast_export::DeleteWhatIfForecastExport, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::delete_what_if_forecast_export::DeleteWhatIfForecastExportError, + >, + > { + self.customize_middleware().await + } ///

                                                                              The Amazon Resource Name (ARN) of the what-if forecast export that you want to delete.

                                                                              pub fn what_if_forecast_export_arn( mut self, diff --git a/sdk/forecast/src/operation/describe_auto_predictor/builders.rs b/sdk/forecast/src/operation/describe_auto_predictor/builders.rs index 52954a521666..2b6e20b07276 100644 --- a/sdk/forecast/src/operation/describe_auto_predictor/builders.rs +++ b/sdk/forecast/src/operation/describe_auto_predictor/builders.rs @@ -19,9 +19,9 @@ impl DescribeAutoPredictorFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl DescribeAutoPredictorFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::describe_auto_predictor::DescribeAutoPredictor, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::describe_auto_predictor::DescribeAutoPredictorError, + >, + > { + self.customize_middleware().await + } ///

                                                                              The Amazon Resource Name (ARN) of the predictor.

                                                                              pub fn predictor_arn( mut self, diff --git a/sdk/forecast/src/operation/describe_dataset/builders.rs b/sdk/forecast/src/operation/describe_dataset/builders.rs index 03d98b7386d9..070dd570a06d 100644 --- a/sdk/forecast/src/operation/describe_dataset/builders.rs +++ b/sdk/forecast/src/operation/describe_dataset/builders.rs @@ -25,9 +25,9 @@ impl DescribeDatasetFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -89,6 +89,22 @@ impl DescribeDatasetFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::describe_dataset::DescribeDataset, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::describe_dataset::DescribeDatasetError, + >, + > { + self.customize_middleware().await + } ///

                                                                              The Amazon Resource Name (ARN) of the dataset.

                                                                              pub fn dataset_arn(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.dataset_arn(input.into()); diff --git a/sdk/forecast/src/operation/describe_dataset_group/builders.rs b/sdk/forecast/src/operation/describe_dataset_group/builders.rs index 0ad106b64892..5ed0ba616cc4 100644 --- a/sdk/forecast/src/operation/describe_dataset_group/builders.rs +++ b/sdk/forecast/src/operation/describe_dataset_group/builders.rs @@ -26,9 +26,9 @@ impl DescribeDatasetGroupFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -90,6 +90,22 @@ impl DescribeDatasetGroupFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::describe_dataset_group::DescribeDatasetGroup, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::describe_dataset_group::DescribeDatasetGroupError, + >, + > { + self.customize_middleware().await + } ///

                                                                              The Amazon Resource Name (ARN) of the dataset group.

                                                                              pub fn dataset_group_arn( mut self, diff --git a/sdk/forecast/src/operation/describe_dataset_import_job/builders.rs b/sdk/forecast/src/operation/describe_dataset_import_job/builders.rs index cc076b79c69a..f103a5c5d67d 100644 --- a/sdk/forecast/src/operation/describe_dataset_import_job/builders.rs +++ b/sdk/forecast/src/operation/describe_dataset_import_job/builders.rs @@ -28,9 +28,9 @@ impl DescribeDatasetImportJobFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -92,6 +92,22 @@ impl DescribeDatasetImportJobFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::describe_dataset_import_job::DescribeDatasetImportJob, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::describe_dataset_import_job::DescribeDatasetImportJobError, + >, + > { + self.customize_middleware().await + } ///

                                                                              The Amazon Resource Name (ARN) of the dataset import job.

                                                                              pub fn dataset_import_job_arn( mut self, diff --git a/sdk/forecast/src/operation/describe_explainability/builders.rs b/sdk/forecast/src/operation/describe_explainability/builders.rs index dda369146b8c..768225896362 100644 --- a/sdk/forecast/src/operation/describe_explainability/builders.rs +++ b/sdk/forecast/src/operation/describe_explainability/builders.rs @@ -19,9 +19,9 @@ impl DescribeExplainabilityFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl DescribeExplainabilityFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::describe_explainability::DescribeExplainability, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::describe_explainability::DescribeExplainabilityError, + >, + > { + self.customize_middleware().await + } ///

                                                                              The Amazon Resource Name (ARN) of the Explaianability to describe.

                                                                              pub fn explainability_arn( mut self, diff --git a/sdk/forecast/src/operation/describe_explainability_export/builders.rs b/sdk/forecast/src/operation/describe_explainability_export/builders.rs index 725f25dc4c0d..ea0ec18f1dfc 100644 --- a/sdk/forecast/src/operation/describe_explainability_export/builders.rs +++ b/sdk/forecast/src/operation/describe_explainability_export/builders.rs @@ -19,9 +19,9 @@ impl DescribeExplainabilityExportFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl DescribeExplainabilityExportFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::describe_explainability_export::DescribeExplainabilityExport, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::describe_explainability_export::DescribeExplainabilityExportError, + >, + > { + self.customize_middleware().await + } ///

                                                                              The Amazon Resource Name (ARN) of the Explainability export.

                                                                              pub fn explainability_export_arn( mut self, diff --git a/sdk/forecast/src/operation/describe_forecast/builders.rs b/sdk/forecast/src/operation/describe_forecast/builders.rs index e67d6be5171e..0634809e8428 100644 --- a/sdk/forecast/src/operation/describe_forecast/builders.rs +++ b/sdk/forecast/src/operation/describe_forecast/builders.rs @@ -27,9 +27,9 @@ impl DescribeForecastFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -91,6 +91,22 @@ impl DescribeForecastFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::describe_forecast::DescribeForecast, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::describe_forecast::DescribeForecastError, + >, + > { + self.customize_middleware().await + } ///

                                                                              The Amazon Resource Name (ARN) of the forecast.

                                                                              pub fn forecast_arn(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.forecast_arn(input.into()); diff --git a/sdk/forecast/src/operation/describe_forecast_export_job/builders.rs b/sdk/forecast/src/operation/describe_forecast_export_job/builders.rs index 7e823302db57..8b0fd6c9bbba 100644 --- a/sdk/forecast/src/operation/describe_forecast_export_job/builders.rs +++ b/sdk/forecast/src/operation/describe_forecast_export_job/builders.rs @@ -26,9 +26,9 @@ impl DescribeForecastExportJobFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -90,6 +90,22 @@ impl DescribeForecastExportJobFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::describe_forecast_export_job::DescribeForecastExportJob, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::describe_forecast_export_job::DescribeForecastExportJobError, + >, + > { + self.customize_middleware().await + } ///

                                                                              The Amazon Resource Name (ARN) of the forecast export job.

                                                                              pub fn forecast_export_job_arn( mut self, diff --git a/sdk/forecast/src/operation/describe_monitor/builders.rs b/sdk/forecast/src/operation/describe_monitor/builders.rs index 27beea122e92..d0814b012d47 100644 --- a/sdk/forecast/src/operation/describe_monitor/builders.rs +++ b/sdk/forecast/src/operation/describe_monitor/builders.rs @@ -28,9 +28,9 @@ impl DescribeMonitorFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -92,6 +92,22 @@ impl DescribeMonitorFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::describe_monitor::DescribeMonitor, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::describe_monitor::DescribeMonitorError, + >, + > { + self.customize_middleware().await + } ///

                                                                              The Amazon Resource Name (ARN) of the monitor resource to describe.

                                                                              pub fn monitor_arn(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.monitor_arn(input.into()); diff --git a/sdk/forecast/src/operation/describe_predictor/builders.rs b/sdk/forecast/src/operation/describe_predictor/builders.rs index 351a9bdc75fa..06563f561f49 100644 --- a/sdk/forecast/src/operation/describe_predictor/builders.rs +++ b/sdk/forecast/src/operation/describe_predictor/builders.rs @@ -31,9 +31,9 @@ impl DescribePredictorFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -95,6 +95,22 @@ impl DescribePredictorFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::describe_predictor::DescribePredictor, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::describe_predictor::DescribePredictorError, + >, + > { + self.customize_middleware().await + } ///

                                                                              The Amazon Resource Name (ARN) of the predictor that you want information about.

                                                                              pub fn predictor_arn( mut self, diff --git a/sdk/forecast/src/operation/describe_predictor_backtest_export_job/builders.rs b/sdk/forecast/src/operation/describe_predictor_backtest_export_job/builders.rs index 9317edc7c36c..7ec70017f6e5 100644 --- a/sdk/forecast/src/operation/describe_predictor_backtest_export_job/builders.rs +++ b/sdk/forecast/src/operation/describe_predictor_backtest_export_job/builders.rs @@ -26,9 +26,9 @@ impl DescribePredictorBacktestExportJobFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize(self) -> ::std::result::Result< + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware(self) -> ::std::result::Result< crate::client::customize::CustomizableOperation, ::aws_smithy_http::result::SdkError >{ @@ -71,6 +71,15 @@ impl DescribePredictorBacktestExportJobFluentBuilder { { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize(self) -> ::std::result::Result< + crate::client::customize::CustomizableOperation, + ::aws_smithy_http::result::SdkError + >{ + self.customize_middleware().await + } ///

                                                                              The Amazon Resource Name (ARN) of the predictor backtest export job.

                                                                              pub fn predictor_backtest_export_job_arn( mut self, diff --git a/sdk/forecast/src/operation/describe_what_if_analysis/builders.rs b/sdk/forecast/src/operation/describe_what_if_analysis/builders.rs index 7a0e4f947635..d92294ab3d07 100644 --- a/sdk/forecast/src/operation/describe_what_if_analysis/builders.rs +++ b/sdk/forecast/src/operation/describe_what_if_analysis/builders.rs @@ -27,9 +27,9 @@ impl DescribeWhatIfAnalysisFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -91,6 +91,22 @@ impl DescribeWhatIfAnalysisFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::describe_what_if_analysis::DescribeWhatIfAnalysis, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::describe_what_if_analysis::DescribeWhatIfAnalysisError, + >, + > { + self.customize_middleware().await + } ///

                                                                              The Amazon Resource Name (ARN) of the what-if analysis that you are interested in.

                                                                              pub fn what_if_analysis_arn( mut self, diff --git a/sdk/forecast/src/operation/describe_what_if_forecast/builders.rs b/sdk/forecast/src/operation/describe_what_if_forecast/builders.rs index bb4ca7404628..67200003df4a 100644 --- a/sdk/forecast/src/operation/describe_what_if_forecast/builders.rs +++ b/sdk/forecast/src/operation/describe_what_if_forecast/builders.rs @@ -27,9 +27,9 @@ impl DescribeWhatIfForecastFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -91,6 +91,22 @@ impl DescribeWhatIfForecastFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::describe_what_if_forecast::DescribeWhatIfForecast, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::describe_what_if_forecast::DescribeWhatIfForecastError, + >, + > { + self.customize_middleware().await + } ///

                                                                              The Amazon Resource Name (ARN) of the what-if forecast that you are interested in.

                                                                              pub fn what_if_forecast_arn( mut self, diff --git a/sdk/forecast/src/operation/describe_what_if_forecast_export/builders.rs b/sdk/forecast/src/operation/describe_what_if_forecast_export/builders.rs index 2e9d5d9310d5..bed4043d6ab3 100644 --- a/sdk/forecast/src/operation/describe_what_if_forecast_export/builders.rs +++ b/sdk/forecast/src/operation/describe_what_if_forecast_export/builders.rs @@ -26,9 +26,9 @@ impl DescribeWhatIfForecastExportFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -90,6 +90,22 @@ impl DescribeWhatIfForecastExportFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::describe_what_if_forecast_export::DescribeWhatIfForecastExport, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::describe_what_if_forecast_export::DescribeWhatIfForecastExportError, + >, + > { + self.customize_middleware().await + } ///

                                                                              The Amazon Resource Name (ARN) of the what-if forecast export that you are interested in.

                                                                              pub fn what_if_forecast_export_arn( mut self, diff --git a/sdk/forecast/src/operation/get_accuracy_metrics/builders.rs b/sdk/forecast/src/operation/get_accuracy_metrics/builders.rs index 30ff7f662ba1..572dc888e2f3 100644 --- a/sdk/forecast/src/operation/get_accuracy_metrics/builders.rs +++ b/sdk/forecast/src/operation/get_accuracy_metrics/builders.rs @@ -23,9 +23,9 @@ impl GetAccuracyMetricsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -87,6 +87,22 @@ impl GetAccuracyMetricsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::get_accuracy_metrics::GetAccuracyMetrics, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::get_accuracy_metrics::GetAccuracyMetricsError, + >, + > { + self.customize_middleware().await + } ///

                                                                              The Amazon Resource Name (ARN) of the predictor to get metrics for.

                                                                              pub fn predictor_arn( mut self, diff --git a/sdk/forecast/src/operation/list_dataset_groups/builders.rs b/sdk/forecast/src/operation/list_dataset_groups/builders.rs index 427df9431677..6242fe0dff8d 100644 --- a/sdk/forecast/src/operation/list_dataset_groups/builders.rs +++ b/sdk/forecast/src/operation/list_dataset_groups/builders.rs @@ -19,9 +19,9 @@ impl ListDatasetGroupsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl ListDatasetGroupsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_dataset_groups::ListDatasetGroups, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::list_dataset_groups::ListDatasetGroupsError, + >, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::list_dataset_groups::paginator::ListDatasetGroupsPaginator::send) which returns a `Stream`. diff --git a/sdk/forecast/src/operation/list_dataset_import_jobs/builders.rs b/sdk/forecast/src/operation/list_dataset_import_jobs/builders.rs index d59d30149ad8..2246a8305316 100644 --- a/sdk/forecast/src/operation/list_dataset_import_jobs/builders.rs +++ b/sdk/forecast/src/operation/list_dataset_import_jobs/builders.rs @@ -19,9 +19,9 @@ impl ListDatasetImportJobsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl ListDatasetImportJobsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_dataset_import_jobs::ListDatasetImportJobs, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::list_dataset_import_jobs::ListDatasetImportJobsError, + >, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::list_dataset_import_jobs::paginator::ListDatasetImportJobsPaginator::send) which returns a `Stream`. diff --git a/sdk/forecast/src/operation/list_datasets/builders.rs b/sdk/forecast/src/operation/list_datasets/builders.rs index 1a6b826b85b5..67400187d89f 100644 --- a/sdk/forecast/src/operation/list_datasets/builders.rs +++ b/sdk/forecast/src/operation/list_datasets/builders.rs @@ -19,9 +19,9 @@ impl ListDatasetsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl ListDatasetsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_datasets::ListDatasets, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::list_datasets::paginator::ListDatasetsPaginator::send) which returns a `Stream`. diff --git a/sdk/forecast/src/operation/list_explainabilities/builders.rs b/sdk/forecast/src/operation/list_explainabilities/builders.rs index 05d49f35e9e5..aa0c67d0c13f 100644 --- a/sdk/forecast/src/operation/list_explainabilities/builders.rs +++ b/sdk/forecast/src/operation/list_explainabilities/builders.rs @@ -20,9 +20,9 @@ impl ListExplainabilitiesFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -84,6 +84,22 @@ impl ListExplainabilitiesFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_explainabilities::ListExplainabilities, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::list_explainabilities::ListExplainabilitiesError, + >, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::list_explainabilities::paginator::ListExplainabilitiesPaginator::send) which returns a `Stream`. diff --git a/sdk/forecast/src/operation/list_explainability_exports/builders.rs b/sdk/forecast/src/operation/list_explainability_exports/builders.rs index 54d673f86d07..fbeb20f19a62 100644 --- a/sdk/forecast/src/operation/list_explainability_exports/builders.rs +++ b/sdk/forecast/src/operation/list_explainability_exports/builders.rs @@ -20,9 +20,9 @@ impl ListExplainabilityExportsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -84,6 +84,22 @@ impl ListExplainabilityExportsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_explainability_exports::ListExplainabilityExports, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::list_explainability_exports::ListExplainabilityExportsError, + >, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::list_explainability_exports::paginator::ListExplainabilityExportsPaginator::send) which returns a `Stream`. diff --git a/sdk/forecast/src/operation/list_forecast_export_jobs/builders.rs b/sdk/forecast/src/operation/list_forecast_export_jobs/builders.rs index 30e2efd6b998..c260caa0a2da 100644 --- a/sdk/forecast/src/operation/list_forecast_export_jobs/builders.rs +++ b/sdk/forecast/src/operation/list_forecast_export_jobs/builders.rs @@ -20,9 +20,9 @@ impl ListForecastExportJobsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -84,6 +84,22 @@ impl ListForecastExportJobsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_forecast_export_jobs::ListForecastExportJobs, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::list_forecast_export_jobs::ListForecastExportJobsError, + >, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::list_forecast_export_jobs::paginator::ListForecastExportJobsPaginator::send) which returns a `Stream`. diff --git a/sdk/forecast/src/operation/list_forecasts/builders.rs b/sdk/forecast/src/operation/list_forecasts/builders.rs index f48df2d05266..c04af4f1b9e5 100644 --- a/sdk/forecast/src/operation/list_forecasts/builders.rs +++ b/sdk/forecast/src/operation/list_forecasts/builders.rs @@ -19,9 +19,9 @@ impl ListForecastsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl ListForecastsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_forecasts::ListForecasts, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::list_forecasts::paginator::ListForecastsPaginator::send) which returns a `Stream`. diff --git a/sdk/forecast/src/operation/list_monitor_evaluations/builders.rs b/sdk/forecast/src/operation/list_monitor_evaluations/builders.rs index d14d95ae7033..6d75dc970c00 100644 --- a/sdk/forecast/src/operation/list_monitor_evaluations/builders.rs +++ b/sdk/forecast/src/operation/list_monitor_evaluations/builders.rs @@ -20,9 +20,9 @@ impl ListMonitorEvaluationsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -84,6 +84,22 @@ impl ListMonitorEvaluationsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_monitor_evaluations::ListMonitorEvaluations, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::list_monitor_evaluations::ListMonitorEvaluationsError, + >, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::list_monitor_evaluations::paginator::ListMonitorEvaluationsPaginator::send) which returns a `Stream`. diff --git a/sdk/forecast/src/operation/list_monitors/builders.rs b/sdk/forecast/src/operation/list_monitors/builders.rs index 5deb0666ce4c..60b47cf47066 100644 --- a/sdk/forecast/src/operation/list_monitors/builders.rs +++ b/sdk/forecast/src/operation/list_monitors/builders.rs @@ -19,9 +19,9 @@ impl ListMonitorsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl ListMonitorsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_monitors::ListMonitors, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::list_monitors::paginator::ListMonitorsPaginator::send) which returns a `Stream`. diff --git a/sdk/forecast/src/operation/list_predictor_backtest_export_jobs/builders.rs b/sdk/forecast/src/operation/list_predictor_backtest_export_jobs/builders.rs index 53bba57ce407..4e980ccc971c 100644 --- a/sdk/forecast/src/operation/list_predictor_backtest_export_jobs/builders.rs +++ b/sdk/forecast/src/operation/list_predictor_backtest_export_jobs/builders.rs @@ -20,9 +20,9 @@ impl ListPredictorBacktestExportJobsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize(self) -> ::std::result::Result< + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware(self) -> ::std::result::Result< crate::client::customize::CustomizableOperation, ::aws_smithy_http::result::SdkError >{ @@ -65,6 +65,15 @@ impl ListPredictorBacktestExportJobsFluentBuilder { { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize(self) -> ::std::result::Result< + crate::client::customize::CustomizableOperation, + ::aws_smithy_http::result::SdkError + >{ + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::list_predictor_backtest_export_jobs::paginator::ListPredictorBacktestExportJobsPaginator::send) which returns a `Stream`. diff --git a/sdk/forecast/src/operation/list_predictors/builders.rs b/sdk/forecast/src/operation/list_predictors/builders.rs index 02de77fb3f48..1fd49cf09bd3 100644 --- a/sdk/forecast/src/operation/list_predictors/builders.rs +++ b/sdk/forecast/src/operation/list_predictors/builders.rs @@ -20,9 +20,9 @@ impl ListPredictorsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -78,6 +78,20 @@ impl ListPredictorsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_predictors::ListPredictors, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::list_predictors::paginator::ListPredictorsPaginator::send) which returns a `Stream`. diff --git a/sdk/forecast/src/operation/list_tags_for_resource/builders.rs b/sdk/forecast/src/operation/list_tags_for_resource/builders.rs index e42bf87f2b05..feeb8bf84018 100644 --- a/sdk/forecast/src/operation/list_tags_for_resource/builders.rs +++ b/sdk/forecast/src/operation/list_tags_for_resource/builders.rs @@ -19,9 +19,9 @@ impl ListTagsForResourceFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl ListTagsForResourceFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_tags_for_resource::ListTagsForResource, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::list_tags_for_resource::ListTagsForResourceError, + >, + > { + self.customize_middleware().await + } ///

                                                                              The Amazon Resource Name (ARN) that identifies the resource for which to list the tags.

                                                                              pub fn resource_arn(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.resource_arn(input.into()); diff --git a/sdk/forecast/src/operation/list_what_if_analyses/builders.rs b/sdk/forecast/src/operation/list_what_if_analyses/builders.rs index 7fb13ebd9a86..e17bba2522e3 100644 --- a/sdk/forecast/src/operation/list_what_if_analyses/builders.rs +++ b/sdk/forecast/src/operation/list_what_if_analyses/builders.rs @@ -19,9 +19,9 @@ impl ListWhatIfAnalysesFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl ListWhatIfAnalysesFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_what_if_analyses::ListWhatIfAnalyses, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::list_what_if_analyses::ListWhatIfAnalysesError, + >, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::list_what_if_analyses::paginator::ListWhatIfAnalysesPaginator::send) which returns a `Stream`. diff --git a/sdk/forecast/src/operation/list_what_if_forecast_exports/builders.rs b/sdk/forecast/src/operation/list_what_if_forecast_exports/builders.rs index 180a972f8e6f..96cdcda93c8a 100644 --- a/sdk/forecast/src/operation/list_what_if_forecast_exports/builders.rs +++ b/sdk/forecast/src/operation/list_what_if_forecast_exports/builders.rs @@ -19,9 +19,9 @@ impl ListWhatIfForecastExportsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl ListWhatIfForecastExportsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_what_if_forecast_exports::ListWhatIfForecastExports, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::list_what_if_forecast_exports::ListWhatIfForecastExportsError, + >, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::list_what_if_forecast_exports::paginator::ListWhatIfForecastExportsPaginator::send) which returns a `Stream`. diff --git a/sdk/forecast/src/operation/list_what_if_forecasts/builders.rs b/sdk/forecast/src/operation/list_what_if_forecasts/builders.rs index 8a40cbb5678d..ba5361e9f451 100644 --- a/sdk/forecast/src/operation/list_what_if_forecasts/builders.rs +++ b/sdk/forecast/src/operation/list_what_if_forecasts/builders.rs @@ -19,9 +19,9 @@ impl ListWhatIfForecastsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl ListWhatIfForecastsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_what_if_forecasts::ListWhatIfForecasts, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::list_what_if_forecasts::ListWhatIfForecastsError, + >, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::list_what_if_forecasts::paginator::ListWhatIfForecastsPaginator::send) which returns a `Stream`. diff --git a/sdk/forecast/src/operation/resume_resource/builders.rs b/sdk/forecast/src/operation/resume_resource/builders.rs index f5a2558c489f..0c27260b37ab 100644 --- a/sdk/forecast/src/operation/resume_resource/builders.rs +++ b/sdk/forecast/src/operation/resume_resource/builders.rs @@ -19,9 +19,9 @@ impl ResumeResourceFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl ResumeResourceFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::resume_resource::ResumeResource, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                              The Amazon Resource Name (ARN) of the monitor resource to resume.

                                                                              pub fn resource_arn(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.resource_arn(input.into()); diff --git a/sdk/forecast/src/operation/stop_resource/builders.rs b/sdk/forecast/src/operation/stop_resource/builders.rs index 2e198045aa65..f7fad15197d8 100644 --- a/sdk/forecast/src/operation/stop_resource/builders.rs +++ b/sdk/forecast/src/operation/stop_resource/builders.rs @@ -30,9 +30,9 @@ impl StopResourceFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -88,6 +88,20 @@ impl StopResourceFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::stop_resource::StopResource, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                              The Amazon Resource Name (ARN) that identifies the resource to stop. The supported ARNs are DatasetImportJobArn, PredictorArn, PredictorBacktestExportJobArn, ForecastArn, ForecastExportJobArn, ExplainabilityArn, and ExplainabilityExportArn.

                                                                              pub fn resource_arn(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.resource_arn(input.into()); diff --git a/sdk/forecast/src/operation/tag_resource/builders.rs b/sdk/forecast/src/operation/tag_resource/builders.rs index e23b71b6ccaf..36d5e1595433 100644 --- a/sdk/forecast/src/operation/tag_resource/builders.rs +++ b/sdk/forecast/src/operation/tag_resource/builders.rs @@ -19,9 +19,9 @@ impl TagResourceFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl TagResourceFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::tag_resource::TagResource, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                              The Amazon Resource Name (ARN) that identifies the resource for which to list the tags.

                                                                              pub fn resource_arn(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.resource_arn(input.into()); diff --git a/sdk/forecast/src/operation/untag_resource/builders.rs b/sdk/forecast/src/operation/untag_resource/builders.rs index b59fc734757d..59aa0c74a052 100644 --- a/sdk/forecast/src/operation/untag_resource/builders.rs +++ b/sdk/forecast/src/operation/untag_resource/builders.rs @@ -19,9 +19,9 @@ impl UntagResourceFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl UntagResourceFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::untag_resource::UntagResource, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                              The Amazon Resource Name (ARN) that identifies the resource for which to list the tags.

                                                                              pub fn resource_arn(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.resource_arn(input.into()); diff --git a/sdk/forecast/src/operation/update_dataset_group/builders.rs b/sdk/forecast/src/operation/update_dataset_group/builders.rs index 3668f378664f..d2a3654944ff 100644 --- a/sdk/forecast/src/operation/update_dataset_group/builders.rs +++ b/sdk/forecast/src/operation/update_dataset_group/builders.rs @@ -21,9 +21,9 @@ impl UpdateDatasetGroupFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -85,6 +85,22 @@ impl UpdateDatasetGroupFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::update_dataset_group::UpdateDatasetGroup, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::update_dataset_group::UpdateDatasetGroupError, + >, + > { + self.customize_middleware().await + } ///

                                                                              The ARN of the dataset group.

                                                                              pub fn dataset_group_arn( mut self, diff --git a/sdk/forecastquery/src/operation/query_forecast/builders.rs b/sdk/forecastquery/src/operation/query_forecast/builders.rs index 57e5b22a4982..4aa56608b466 100644 --- a/sdk/forecastquery/src/operation/query_forecast/builders.rs +++ b/sdk/forecastquery/src/operation/query_forecast/builders.rs @@ -24,9 +24,9 @@ impl QueryForecastFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -82,6 +82,20 @@ impl QueryForecastFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::query_forecast::QueryForecast, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                              The Amazon Resource Name (ARN) of the forecast to query.

                                                                              pub fn forecast_arn(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.forecast_arn(input.into()); diff --git a/sdk/forecastquery/src/operation/query_what_if_forecast/builders.rs b/sdk/forecastquery/src/operation/query_what_if_forecast/builders.rs index c395a255f5e6..21151c964a7a 100644 --- a/sdk/forecastquery/src/operation/query_what_if_forecast/builders.rs +++ b/sdk/forecastquery/src/operation/query_what_if_forecast/builders.rs @@ -19,9 +19,9 @@ impl QueryWhatIfForecastFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl QueryWhatIfForecastFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::query_what_if_forecast::QueryWhatIfForecast, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::query_what_if_forecast::QueryWhatIfForecastError, + >, + > { + self.customize_middleware().await + } ///

                                                                              The Amazon Resource Name (ARN) of the what-if forecast to query.

                                                                              pub fn what_if_forecast_arn( mut self, diff --git a/sdk/frauddetector/src/operation/batch_create_variable/builders.rs b/sdk/frauddetector/src/operation/batch_create_variable/builders.rs index cba238bd63db..f89a0e83a586 100644 --- a/sdk/frauddetector/src/operation/batch_create_variable/builders.rs +++ b/sdk/frauddetector/src/operation/batch_create_variable/builders.rs @@ -19,9 +19,9 @@ impl BatchCreateVariableFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl BatchCreateVariableFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::batch_create_variable::BatchCreateVariable, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::batch_create_variable::BatchCreateVariableError, + >, + > { + self.customize_middleware().await + } /// Appends an item to `variableEntries`. /// /// To override the contents of this collection use [`set_variable_entries`](Self::set_variable_entries). diff --git a/sdk/frauddetector/src/operation/batch_get_variable/builders.rs b/sdk/frauddetector/src/operation/batch_get_variable/builders.rs index 4aa1c34769de..1694648e0798 100644 --- a/sdk/frauddetector/src/operation/batch_get_variable/builders.rs +++ b/sdk/frauddetector/src/operation/batch_get_variable/builders.rs @@ -19,9 +19,9 @@ impl BatchGetVariableFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl BatchGetVariableFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::batch_get_variable::BatchGetVariable, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::batch_get_variable::BatchGetVariableError, + >, + > { + self.customize_middleware().await + } /// Appends an item to `names`. /// /// To override the contents of this collection use [`set_names`](Self::set_names). diff --git a/sdk/frauddetector/src/operation/cancel_batch_import_job/builders.rs b/sdk/frauddetector/src/operation/cancel_batch_import_job/builders.rs index 38f3785e2f87..edb2507b988b 100644 --- a/sdk/frauddetector/src/operation/cancel_batch_import_job/builders.rs +++ b/sdk/frauddetector/src/operation/cancel_batch_import_job/builders.rs @@ -19,9 +19,9 @@ impl CancelBatchImportJobFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl CancelBatchImportJobFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::cancel_batch_import_job::CancelBatchImportJob, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::cancel_batch_import_job::CancelBatchImportJobError, + >, + > { + self.customize_middleware().await + } ///

                                                                              The ID of an in-progress batch import job to cancel.

                                                                              ///

                                                                              Amazon Fraud Detector will throw an error if the batch import job is in FAILED, CANCELED, or COMPLETED state.

                                                                              pub fn job_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { diff --git a/sdk/frauddetector/src/operation/cancel_batch_prediction_job/builders.rs b/sdk/frauddetector/src/operation/cancel_batch_prediction_job/builders.rs index 768bbd49e1c6..fe8cd1938c66 100644 --- a/sdk/frauddetector/src/operation/cancel_batch_prediction_job/builders.rs +++ b/sdk/frauddetector/src/operation/cancel_batch_prediction_job/builders.rs @@ -19,9 +19,9 @@ impl CancelBatchPredictionJobFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl CancelBatchPredictionJobFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::cancel_batch_prediction_job::CancelBatchPredictionJob, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::cancel_batch_prediction_job::CancelBatchPredictionJobError, + >, + > { + self.customize_middleware().await + } ///

                                                                              The ID of the batch prediction job to cancel.

                                                                              pub fn job_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.job_id(input.into()); diff --git a/sdk/frauddetector/src/operation/create_batch_import_job/builders.rs b/sdk/frauddetector/src/operation/create_batch_import_job/builders.rs index 0a08e1493e4c..bca0fe884132 100644 --- a/sdk/frauddetector/src/operation/create_batch_import_job/builders.rs +++ b/sdk/frauddetector/src/operation/create_batch_import_job/builders.rs @@ -19,9 +19,9 @@ impl CreateBatchImportJobFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl CreateBatchImportJobFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::create_batch_import_job::CreateBatchImportJob, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::create_batch_import_job::CreateBatchImportJobError, + >, + > { + self.customize_middleware().await + } ///

                                                                              The ID of the batch import job. The ID cannot be of a past job, unless the job exists in CREATE_FAILED state.

                                                                              pub fn job_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.job_id(input.into()); diff --git a/sdk/frauddetector/src/operation/create_batch_prediction_job/builders.rs b/sdk/frauddetector/src/operation/create_batch_prediction_job/builders.rs index cb396589cbc7..a331b50c7d91 100644 --- a/sdk/frauddetector/src/operation/create_batch_prediction_job/builders.rs +++ b/sdk/frauddetector/src/operation/create_batch_prediction_job/builders.rs @@ -19,9 +19,9 @@ impl CreateBatchPredictionJobFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl CreateBatchPredictionJobFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::create_batch_prediction_job::CreateBatchPredictionJob, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::create_batch_prediction_job::CreateBatchPredictionJobError, + >, + > { + self.customize_middleware().await + } ///

                                                                              The ID of the batch prediction job.

                                                                              pub fn job_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.job_id(input.into()); diff --git a/sdk/frauddetector/src/operation/create_detector_version/builders.rs b/sdk/frauddetector/src/operation/create_detector_version/builders.rs index 79b409e4cbf3..fb68a12a814c 100644 --- a/sdk/frauddetector/src/operation/create_detector_version/builders.rs +++ b/sdk/frauddetector/src/operation/create_detector_version/builders.rs @@ -19,9 +19,9 @@ impl CreateDetectorVersionFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl CreateDetectorVersionFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::create_detector_version::CreateDetectorVersion, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::create_detector_version::CreateDetectorVersionError, + >, + > { + self.customize_middleware().await + } ///

                                                                              The ID of the detector under which you want to create a new version.

                                                                              pub fn detector_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.detector_id(input.into()); diff --git a/sdk/frauddetector/src/operation/create_list/builders.rs b/sdk/frauddetector/src/operation/create_list/builders.rs index 9049ab987358..4cf8da4abfb5 100644 --- a/sdk/frauddetector/src/operation/create_list/builders.rs +++ b/sdk/frauddetector/src/operation/create_list/builders.rs @@ -20,9 +20,9 @@ impl CreateListFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -78,6 +78,20 @@ impl CreateListFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::create_list::CreateList, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                              The name of the list.

                                                                              pub fn name(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.name(input.into()); diff --git a/sdk/frauddetector/src/operation/create_model/builders.rs b/sdk/frauddetector/src/operation/create_model/builders.rs index 0279dad553d5..21d9f8aa9c66 100644 --- a/sdk/frauddetector/src/operation/create_model/builders.rs +++ b/sdk/frauddetector/src/operation/create_model/builders.rs @@ -19,9 +19,9 @@ impl CreateModelFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl CreateModelFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::create_model::CreateModel, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                              The model ID.

                                                                              pub fn model_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.model_id(input.into()); diff --git a/sdk/frauddetector/src/operation/create_model_version/builders.rs b/sdk/frauddetector/src/operation/create_model_version/builders.rs index 6618796213cf..378788f63dac 100644 --- a/sdk/frauddetector/src/operation/create_model_version/builders.rs +++ b/sdk/frauddetector/src/operation/create_model_version/builders.rs @@ -19,9 +19,9 @@ impl CreateModelVersionFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl CreateModelVersionFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::create_model_version::CreateModelVersion, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::create_model_version::CreateModelVersionError, + >, + > { + self.customize_middleware().await + } ///

                                                                              The model ID.

                                                                              pub fn model_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.model_id(input.into()); diff --git a/sdk/frauddetector/src/operation/create_rule/builders.rs b/sdk/frauddetector/src/operation/create_rule/builders.rs index e40724670172..75c9396c6175 100644 --- a/sdk/frauddetector/src/operation/create_rule/builders.rs +++ b/sdk/frauddetector/src/operation/create_rule/builders.rs @@ -19,9 +19,9 @@ impl CreateRuleFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl CreateRuleFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::create_rule::CreateRule, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                              The rule ID.

                                                                              pub fn rule_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.rule_id(input.into()); diff --git a/sdk/frauddetector/src/operation/create_variable/builders.rs b/sdk/frauddetector/src/operation/create_variable/builders.rs index 3b204687e48f..182be1b8bdcc 100644 --- a/sdk/frauddetector/src/operation/create_variable/builders.rs +++ b/sdk/frauddetector/src/operation/create_variable/builders.rs @@ -19,9 +19,9 @@ impl CreateVariableFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl CreateVariableFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::create_variable::CreateVariable, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                              The name of the variable.

                                                                              pub fn name(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.name(input.into()); diff --git a/sdk/frauddetector/src/operation/delete_batch_import_job/builders.rs b/sdk/frauddetector/src/operation/delete_batch_import_job/builders.rs index acdab0cef4d6..ebff7c469fe7 100644 --- a/sdk/frauddetector/src/operation/delete_batch_import_job/builders.rs +++ b/sdk/frauddetector/src/operation/delete_batch_import_job/builders.rs @@ -19,9 +19,9 @@ impl DeleteBatchImportJobFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl DeleteBatchImportJobFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::delete_batch_import_job::DeleteBatchImportJob, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::delete_batch_import_job::DeleteBatchImportJobError, + >, + > { + self.customize_middleware().await + } ///

                                                                              The ID of the batch import job to delete.

                                                                              pub fn job_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.job_id(input.into()); diff --git a/sdk/frauddetector/src/operation/delete_batch_prediction_job/builders.rs b/sdk/frauddetector/src/operation/delete_batch_prediction_job/builders.rs index 35185f255832..2d55e7542892 100644 --- a/sdk/frauddetector/src/operation/delete_batch_prediction_job/builders.rs +++ b/sdk/frauddetector/src/operation/delete_batch_prediction_job/builders.rs @@ -19,9 +19,9 @@ impl DeleteBatchPredictionJobFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl DeleteBatchPredictionJobFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::delete_batch_prediction_job::DeleteBatchPredictionJob, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::delete_batch_prediction_job::DeleteBatchPredictionJobError, + >, + > { + self.customize_middleware().await + } ///

                                                                              The ID of the batch prediction job to delete.

                                                                              pub fn job_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.job_id(input.into()); diff --git a/sdk/frauddetector/src/operation/delete_detector/builders.rs b/sdk/frauddetector/src/operation/delete_detector/builders.rs index 0095fbb2b358..e306f0edf6f2 100644 --- a/sdk/frauddetector/src/operation/delete_detector/builders.rs +++ b/sdk/frauddetector/src/operation/delete_detector/builders.rs @@ -20,9 +20,9 @@ impl DeleteDetectorFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -78,6 +78,20 @@ impl DeleteDetectorFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::delete_detector::DeleteDetector, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                              The ID of the detector to delete.

                                                                              pub fn detector_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.detector_id(input.into()); diff --git a/sdk/frauddetector/src/operation/delete_detector_version/builders.rs b/sdk/frauddetector/src/operation/delete_detector_version/builders.rs index 6c2056b87aa3..82145541bb4a 100644 --- a/sdk/frauddetector/src/operation/delete_detector_version/builders.rs +++ b/sdk/frauddetector/src/operation/delete_detector_version/builders.rs @@ -20,9 +20,9 @@ impl DeleteDetectorVersionFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -84,6 +84,22 @@ impl DeleteDetectorVersionFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::delete_detector_version::DeleteDetectorVersion, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::delete_detector_version::DeleteDetectorVersionError, + >, + > { + self.customize_middleware().await + } ///

                                                                              The ID of the parent detector for the detector version to delete.

                                                                              pub fn detector_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.detector_id(input.into()); diff --git a/sdk/frauddetector/src/operation/delete_entity_type/builders.rs b/sdk/frauddetector/src/operation/delete_entity_type/builders.rs index c7be434e4a50..9e89b83fb85d 100644 --- a/sdk/frauddetector/src/operation/delete_entity_type/builders.rs +++ b/sdk/frauddetector/src/operation/delete_entity_type/builders.rs @@ -21,9 +21,9 @@ impl DeleteEntityTypeFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -85,6 +85,22 @@ impl DeleteEntityTypeFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::delete_entity_type::DeleteEntityType, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::delete_entity_type::DeleteEntityTypeError, + >, + > { + self.customize_middleware().await + } ///

                                                                              The name of the entity type to delete.

                                                                              pub fn name(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.name(input.into()); diff --git a/sdk/frauddetector/src/operation/delete_event/builders.rs b/sdk/frauddetector/src/operation/delete_event/builders.rs index 042c6e119d5c..e78cdbd609f2 100644 --- a/sdk/frauddetector/src/operation/delete_event/builders.rs +++ b/sdk/frauddetector/src/operation/delete_event/builders.rs @@ -20,9 +20,9 @@ impl DeleteEventFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -78,6 +78,20 @@ impl DeleteEventFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::delete_event::DeleteEvent, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                              The ID of the event to delete.

                                                                              pub fn event_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.event_id(input.into()); diff --git a/sdk/frauddetector/src/operation/delete_event_type/builders.rs b/sdk/frauddetector/src/operation/delete_event_type/builders.rs index 44586ea86852..a87cdfbdb3f2 100644 --- a/sdk/frauddetector/src/operation/delete_event_type/builders.rs +++ b/sdk/frauddetector/src/operation/delete_event_type/builders.rs @@ -21,9 +21,9 @@ impl DeleteEventTypeFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -85,6 +85,22 @@ impl DeleteEventTypeFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::delete_event_type::DeleteEventType, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::delete_event_type::DeleteEventTypeError, + >, + > { + self.customize_middleware().await + } ///

                                                                              The name of the event type to delete.

                                                                              pub fn name(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.name(input.into()); diff --git a/sdk/frauddetector/src/operation/delete_events_by_event_type/builders.rs b/sdk/frauddetector/src/operation/delete_events_by_event_type/builders.rs index ff39ad56c8e6..a37e99166a8c 100644 --- a/sdk/frauddetector/src/operation/delete_events_by_event_type/builders.rs +++ b/sdk/frauddetector/src/operation/delete_events_by_event_type/builders.rs @@ -19,9 +19,9 @@ impl DeleteEventsByEventTypeFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl DeleteEventsByEventTypeFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::delete_events_by_event_type::DeleteEventsByEventType, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::delete_events_by_event_type::DeleteEventsByEventTypeError, + >, + > { + self.customize_middleware().await + } ///

                                                                              The name of the event type.

                                                                              pub fn event_type_name( mut self, diff --git a/sdk/frauddetector/src/operation/delete_external_model/builders.rs b/sdk/frauddetector/src/operation/delete_external_model/builders.rs index 94d400bc861b..0dbbf4de3c5f 100644 --- a/sdk/frauddetector/src/operation/delete_external_model/builders.rs +++ b/sdk/frauddetector/src/operation/delete_external_model/builders.rs @@ -20,9 +20,9 @@ impl DeleteExternalModelFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -84,6 +84,22 @@ impl DeleteExternalModelFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::delete_external_model::DeleteExternalModel, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::delete_external_model::DeleteExternalModelError, + >, + > { + self.customize_middleware().await + } ///

                                                                              The endpoint of the Amazon Sagemaker model to delete.

                                                                              pub fn model_endpoint( mut self, diff --git a/sdk/frauddetector/src/operation/delete_label/builders.rs b/sdk/frauddetector/src/operation/delete_label/builders.rs index 806631f989e5..36d04482fafd 100644 --- a/sdk/frauddetector/src/operation/delete_label/builders.rs +++ b/sdk/frauddetector/src/operation/delete_label/builders.rs @@ -22,9 +22,9 @@ impl DeleteLabelFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -80,6 +80,20 @@ impl DeleteLabelFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::delete_label::DeleteLabel, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                              The name of the label to delete.

                                                                              pub fn name(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.name(input.into()); diff --git a/sdk/frauddetector/src/operation/delete_list/builders.rs b/sdk/frauddetector/src/operation/delete_list/builders.rs index 74d8a268bd7e..4f9dc6b04516 100644 --- a/sdk/frauddetector/src/operation/delete_list/builders.rs +++ b/sdk/frauddetector/src/operation/delete_list/builders.rs @@ -20,9 +20,9 @@ impl DeleteListFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -78,6 +78,20 @@ impl DeleteListFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::delete_list::DeleteList, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                              The name of the list to delete.

                                                                              pub fn name(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.name(input.into()); diff --git a/sdk/frauddetector/src/operation/delete_model/builders.rs b/sdk/frauddetector/src/operation/delete_model/builders.rs index 2b5b50a2b562..17b5dbef0a88 100644 --- a/sdk/frauddetector/src/operation/delete_model/builders.rs +++ b/sdk/frauddetector/src/operation/delete_model/builders.rs @@ -21,9 +21,9 @@ impl DeleteModelFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -79,6 +79,20 @@ impl DeleteModelFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::delete_model::DeleteModel, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                              The model ID of the model to delete.

                                                                              pub fn model_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.model_id(input.into()); diff --git a/sdk/frauddetector/src/operation/delete_model_version/builders.rs b/sdk/frauddetector/src/operation/delete_model_version/builders.rs index 90b72b00a830..471c1945550c 100644 --- a/sdk/frauddetector/src/operation/delete_model_version/builders.rs +++ b/sdk/frauddetector/src/operation/delete_model_version/builders.rs @@ -21,9 +21,9 @@ impl DeleteModelVersionFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -85,6 +85,22 @@ impl DeleteModelVersionFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::delete_model_version::DeleteModelVersion, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::delete_model_version::DeleteModelVersionError, + >, + > { + self.customize_middleware().await + } ///

                                                                              The model ID of the model version to delete.

                                                                              pub fn model_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.model_id(input.into()); diff --git a/sdk/frauddetector/src/operation/delete_outcome/builders.rs b/sdk/frauddetector/src/operation/delete_outcome/builders.rs index 728d8083db3a..979bf638e505 100644 --- a/sdk/frauddetector/src/operation/delete_outcome/builders.rs +++ b/sdk/frauddetector/src/operation/delete_outcome/builders.rs @@ -21,9 +21,9 @@ impl DeleteOutcomeFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -79,6 +79,20 @@ impl DeleteOutcomeFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::delete_outcome::DeleteOutcome, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                              The name of the outcome to delete.

                                                                              pub fn name(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.name(input.into()); diff --git a/sdk/frauddetector/src/operation/delete_rule/builders.rs b/sdk/frauddetector/src/operation/delete_rule/builders.rs index 2be7739bf6ba..f364934fee18 100644 --- a/sdk/frauddetector/src/operation/delete_rule/builders.rs +++ b/sdk/frauddetector/src/operation/delete_rule/builders.rs @@ -20,9 +20,9 @@ impl DeleteRuleFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -78,6 +78,20 @@ impl DeleteRuleFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::delete_rule::DeleteRule, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                              A rule.

                                                                              pub fn rule(mut self, input: crate::types::Rule) -> Self { self.inner = self.inner.rule(input); diff --git a/sdk/frauddetector/src/operation/delete_variable/builders.rs b/sdk/frauddetector/src/operation/delete_variable/builders.rs index ecd74d7feb05..a37eb6745497 100644 --- a/sdk/frauddetector/src/operation/delete_variable/builders.rs +++ b/sdk/frauddetector/src/operation/delete_variable/builders.rs @@ -22,9 +22,9 @@ impl DeleteVariableFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -80,6 +80,20 @@ impl DeleteVariableFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::delete_variable::DeleteVariable, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                              The name of the variable to delete.

                                                                              pub fn name(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.name(input.into()); diff --git a/sdk/frauddetector/src/operation/describe_detector/builders.rs b/sdk/frauddetector/src/operation/describe_detector/builders.rs index 1eccf781b48c..2c9ee24ce8f3 100644 --- a/sdk/frauddetector/src/operation/describe_detector/builders.rs +++ b/sdk/frauddetector/src/operation/describe_detector/builders.rs @@ -19,9 +19,9 @@ impl DescribeDetectorFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl DescribeDetectorFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::describe_detector::DescribeDetector, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::describe_detector::DescribeDetectorError, + >, + > { + self.customize_middleware().await + } ///

                                                                              The detector ID.

                                                                              pub fn detector_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.detector_id(input.into()); diff --git a/sdk/frauddetector/src/operation/describe_model_versions/builders.rs b/sdk/frauddetector/src/operation/describe_model_versions/builders.rs index fec9e4f6da7a..1fa7abbb8f11 100644 --- a/sdk/frauddetector/src/operation/describe_model_versions/builders.rs +++ b/sdk/frauddetector/src/operation/describe_model_versions/builders.rs @@ -19,9 +19,9 @@ impl DescribeModelVersionsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl DescribeModelVersionsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::describe_model_versions::DescribeModelVersions, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::describe_model_versions::DescribeModelVersionsError, + >, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::describe_model_versions::paginator::DescribeModelVersionsPaginator::send) which returns a `Stream`. diff --git a/sdk/frauddetector/src/operation/get_batch_import_jobs/builders.rs b/sdk/frauddetector/src/operation/get_batch_import_jobs/builders.rs index 5690237c793e..552081a0e1e0 100644 --- a/sdk/frauddetector/src/operation/get_batch_import_jobs/builders.rs +++ b/sdk/frauddetector/src/operation/get_batch_import_jobs/builders.rs @@ -19,9 +19,9 @@ impl GetBatchImportJobsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl GetBatchImportJobsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::get_batch_import_jobs::GetBatchImportJobs, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::get_batch_import_jobs::GetBatchImportJobsError, + >, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::get_batch_import_jobs::paginator::GetBatchImportJobsPaginator::send) which returns a `Stream`. diff --git a/sdk/frauddetector/src/operation/get_batch_prediction_jobs/builders.rs b/sdk/frauddetector/src/operation/get_batch_prediction_jobs/builders.rs index bbca6b824285..29e8356eb59b 100644 --- a/sdk/frauddetector/src/operation/get_batch_prediction_jobs/builders.rs +++ b/sdk/frauddetector/src/operation/get_batch_prediction_jobs/builders.rs @@ -20,9 +20,9 @@ impl GetBatchPredictionJobsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -84,6 +84,22 @@ impl GetBatchPredictionJobsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::get_batch_prediction_jobs::GetBatchPredictionJobs, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::get_batch_prediction_jobs::GetBatchPredictionJobsError, + >, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::get_batch_prediction_jobs::paginator::GetBatchPredictionJobsPaginator::send) which returns a `Stream`. diff --git a/sdk/frauddetector/src/operation/get_delete_events_by_event_type_status/builders.rs b/sdk/frauddetector/src/operation/get_delete_events_by_event_type_status/builders.rs index 19455fc6efed..a2ae7c8e26fe 100644 --- a/sdk/frauddetector/src/operation/get_delete_events_by_event_type_status/builders.rs +++ b/sdk/frauddetector/src/operation/get_delete_events_by_event_type_status/builders.rs @@ -19,9 +19,9 @@ impl GetDeleteEventsByEventTypeStatusFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize(self) -> ::std::result::Result< + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware(self) -> ::std::result::Result< crate::client::customize::CustomizableOperation, ::aws_smithy_http::result::SdkError >{ @@ -64,6 +64,15 @@ impl GetDeleteEventsByEventTypeStatusFluentBuilder { { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize(self) -> ::std::result::Result< + crate::client::customize::CustomizableOperation, + ::aws_smithy_http::result::SdkError + >{ + self.customize_middleware().await + } ///

                                                                              Name of event type for which to get the deletion status.

                                                                              pub fn event_type_name( mut self, diff --git a/sdk/frauddetector/src/operation/get_detector_version/builders.rs b/sdk/frauddetector/src/operation/get_detector_version/builders.rs index a6d9eea3ccc5..1a651634eff5 100644 --- a/sdk/frauddetector/src/operation/get_detector_version/builders.rs +++ b/sdk/frauddetector/src/operation/get_detector_version/builders.rs @@ -19,9 +19,9 @@ impl GetDetectorVersionFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl GetDetectorVersionFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::get_detector_version::GetDetectorVersion, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::get_detector_version::GetDetectorVersionError, + >, + > { + self.customize_middleware().await + } ///

                                                                              The detector ID.

                                                                              pub fn detector_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.detector_id(input.into()); diff --git a/sdk/frauddetector/src/operation/get_detectors/builders.rs b/sdk/frauddetector/src/operation/get_detectors/builders.rs index 5a064169340e..24f41087721d 100644 --- a/sdk/frauddetector/src/operation/get_detectors/builders.rs +++ b/sdk/frauddetector/src/operation/get_detectors/builders.rs @@ -19,9 +19,9 @@ impl GetDetectorsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl GetDetectorsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::get_detectors::GetDetectors, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::get_detectors::paginator::GetDetectorsPaginator::send) which returns a `Stream`. diff --git a/sdk/frauddetector/src/operation/get_entity_types/builders.rs b/sdk/frauddetector/src/operation/get_entity_types/builders.rs index b95ff01ff816..d10427d11416 100644 --- a/sdk/frauddetector/src/operation/get_entity_types/builders.rs +++ b/sdk/frauddetector/src/operation/get_entity_types/builders.rs @@ -19,9 +19,9 @@ impl GetEntityTypesFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl GetEntityTypesFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::get_entity_types::GetEntityTypes, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::get_entity_types::GetEntityTypesError, + >, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::get_entity_types::paginator::GetEntityTypesPaginator::send) which returns a `Stream`. diff --git a/sdk/frauddetector/src/operation/get_event/builders.rs b/sdk/frauddetector/src/operation/get_event/builders.rs index a9c21c7bfdfe..0dd1f2475e0d 100644 --- a/sdk/frauddetector/src/operation/get_event/builders.rs +++ b/sdk/frauddetector/src/operation/get_event/builders.rs @@ -19,9 +19,9 @@ impl GetEventFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl GetEventFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::get_event::GetEvent, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                              The ID of the event to retrieve.

                                                                              pub fn event_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.event_id(input.into()); diff --git a/sdk/frauddetector/src/operation/get_event_prediction/builders.rs b/sdk/frauddetector/src/operation/get_event_prediction/builders.rs index 90a4d7a06995..2f010169cd15 100644 --- a/sdk/frauddetector/src/operation/get_event_prediction/builders.rs +++ b/sdk/frauddetector/src/operation/get_event_prediction/builders.rs @@ -19,9 +19,9 @@ impl GetEventPredictionFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl GetEventPredictionFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::get_event_prediction::GetEventPrediction, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::get_event_prediction::GetEventPredictionError, + >, + > { + self.customize_middleware().await + } ///

                                                                              The detector ID.

                                                                              pub fn detector_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.detector_id(input.into()); diff --git a/sdk/frauddetector/src/operation/get_event_prediction_metadata/builders.rs b/sdk/frauddetector/src/operation/get_event_prediction_metadata/builders.rs index ba0395505aa9..facacf0b47d2 100644 --- a/sdk/frauddetector/src/operation/get_event_prediction_metadata/builders.rs +++ b/sdk/frauddetector/src/operation/get_event_prediction_metadata/builders.rs @@ -19,9 +19,9 @@ impl GetEventPredictionMetadataFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl GetEventPredictionMetadataFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::get_event_prediction_metadata::GetEventPredictionMetadata, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::get_event_prediction_metadata::GetEventPredictionMetadataError, + >, + > { + self.customize_middleware().await + } ///

                                                                              The event ID.

                                                                              pub fn event_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.event_id(input.into()); diff --git a/sdk/frauddetector/src/operation/get_event_types/builders.rs b/sdk/frauddetector/src/operation/get_event_types/builders.rs index f9a5fc3b8358..e8265b046d1f 100644 --- a/sdk/frauddetector/src/operation/get_event_types/builders.rs +++ b/sdk/frauddetector/src/operation/get_event_types/builders.rs @@ -19,9 +19,9 @@ impl GetEventTypesFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl GetEventTypesFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::get_event_types::GetEventTypes, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::get_event_types::paginator::GetEventTypesPaginator::send) which returns a `Stream`. diff --git a/sdk/frauddetector/src/operation/get_external_models/builders.rs b/sdk/frauddetector/src/operation/get_external_models/builders.rs index f5903b0610f8..627a11d3bbb4 100644 --- a/sdk/frauddetector/src/operation/get_external_models/builders.rs +++ b/sdk/frauddetector/src/operation/get_external_models/builders.rs @@ -19,9 +19,9 @@ impl GetExternalModelsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl GetExternalModelsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::get_external_models::GetExternalModels, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::get_external_models::GetExternalModelsError, + >, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::get_external_models::paginator::GetExternalModelsPaginator::send) which returns a `Stream`. diff --git a/sdk/frauddetector/src/operation/get_kms_encryption_key/builders.rs b/sdk/frauddetector/src/operation/get_kms_encryption_key/builders.rs index a1e9f4fd95e6..d03ff0f269b9 100644 --- a/sdk/frauddetector/src/operation/get_kms_encryption_key/builders.rs +++ b/sdk/frauddetector/src/operation/get_kms_encryption_key/builders.rs @@ -19,9 +19,9 @@ impl GetKMSEncryptionKeyFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,4 +83,20 @@ impl GetKMSEncryptionKeyFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::get_kms_encryption_key::GetKMSEncryptionKey, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::get_kms_encryption_key::GetKMSEncryptionKeyError, + >, + > { + self.customize_middleware().await + } } diff --git a/sdk/frauddetector/src/operation/get_labels/builders.rs b/sdk/frauddetector/src/operation/get_labels/builders.rs index e9507c02eea9..4cbe1acd4dcb 100644 --- a/sdk/frauddetector/src/operation/get_labels/builders.rs +++ b/sdk/frauddetector/src/operation/get_labels/builders.rs @@ -19,9 +19,9 @@ impl GetLabelsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl GetLabelsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::get_labels::GetLabels, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::get_labels::paginator::GetLabelsPaginator::send) which returns a `Stream`. diff --git a/sdk/frauddetector/src/operation/get_list_elements/builders.rs b/sdk/frauddetector/src/operation/get_list_elements/builders.rs index 99c9193f33c0..23014c91a495 100644 --- a/sdk/frauddetector/src/operation/get_list_elements/builders.rs +++ b/sdk/frauddetector/src/operation/get_list_elements/builders.rs @@ -19,9 +19,9 @@ impl GetListElementsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl GetListElementsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::get_list_elements::GetListElements, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::get_list_elements::GetListElementsError, + >, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::get_list_elements::paginator::GetListElementsPaginator::send) which returns a `Stream`. diff --git a/sdk/frauddetector/src/operation/get_lists_metadata/builders.rs b/sdk/frauddetector/src/operation/get_lists_metadata/builders.rs index 3d20e16e7b71..710351b9f20f 100644 --- a/sdk/frauddetector/src/operation/get_lists_metadata/builders.rs +++ b/sdk/frauddetector/src/operation/get_lists_metadata/builders.rs @@ -19,9 +19,9 @@ impl GetListsMetadataFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl GetListsMetadataFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::get_lists_metadata::GetListsMetadata, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::get_lists_metadata::GetListsMetadataError, + >, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::get_lists_metadata::paginator::GetListsMetadataPaginator::send) which returns a `Stream`. diff --git a/sdk/frauddetector/src/operation/get_model_version/builders.rs b/sdk/frauddetector/src/operation/get_model_version/builders.rs index ac32cc7c584e..9dd592e6daab 100644 --- a/sdk/frauddetector/src/operation/get_model_version/builders.rs +++ b/sdk/frauddetector/src/operation/get_model_version/builders.rs @@ -19,9 +19,9 @@ impl GetModelVersionFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl GetModelVersionFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::get_model_version::GetModelVersion, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::get_model_version::GetModelVersionError, + >, + > { + self.customize_middleware().await + } ///

                                                                              The model ID.

                                                                              pub fn model_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.model_id(input.into()); diff --git a/sdk/frauddetector/src/operation/get_models/builders.rs b/sdk/frauddetector/src/operation/get_models/builders.rs index 7be344172094..963cdddb16a9 100644 --- a/sdk/frauddetector/src/operation/get_models/builders.rs +++ b/sdk/frauddetector/src/operation/get_models/builders.rs @@ -20,9 +20,9 @@ impl GetModelsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -78,6 +78,20 @@ impl GetModelsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::get_models::GetModels, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::get_models::paginator::GetModelsPaginator::send) which returns a `Stream`. diff --git a/sdk/frauddetector/src/operation/get_outcomes/builders.rs b/sdk/frauddetector/src/operation/get_outcomes/builders.rs index 5eb6e4902de9..944bcc041a87 100644 --- a/sdk/frauddetector/src/operation/get_outcomes/builders.rs +++ b/sdk/frauddetector/src/operation/get_outcomes/builders.rs @@ -19,9 +19,9 @@ impl GetOutcomesFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl GetOutcomesFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::get_outcomes::GetOutcomes, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::get_outcomes::paginator::GetOutcomesPaginator::send) which returns a `Stream`. diff --git a/sdk/frauddetector/src/operation/get_rules/builders.rs b/sdk/frauddetector/src/operation/get_rules/builders.rs index 1f24f0093d5c..368f5c4eb752 100644 --- a/sdk/frauddetector/src/operation/get_rules/builders.rs +++ b/sdk/frauddetector/src/operation/get_rules/builders.rs @@ -20,9 +20,9 @@ impl GetRulesFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -78,6 +78,20 @@ impl GetRulesFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::get_rules::GetRules, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::get_rules::paginator::GetRulesPaginator::send) which returns a `Stream`. diff --git a/sdk/frauddetector/src/operation/get_variables/builders.rs b/sdk/frauddetector/src/operation/get_variables/builders.rs index 022811fe75d7..b1184f27f35b 100644 --- a/sdk/frauddetector/src/operation/get_variables/builders.rs +++ b/sdk/frauddetector/src/operation/get_variables/builders.rs @@ -19,9 +19,9 @@ impl GetVariablesFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl GetVariablesFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::get_variables::GetVariables, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::get_variables::paginator::GetVariablesPaginator::send) which returns a `Stream`. diff --git a/sdk/frauddetector/src/operation/list_event_predictions/builders.rs b/sdk/frauddetector/src/operation/list_event_predictions/builders.rs index fa5d8e8abb69..bedefaf752fa 100644 --- a/sdk/frauddetector/src/operation/list_event_predictions/builders.rs +++ b/sdk/frauddetector/src/operation/list_event_predictions/builders.rs @@ -21,9 +21,9 @@ impl ListEventPredictionsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -85,6 +85,22 @@ impl ListEventPredictionsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_event_predictions::ListEventPredictions, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::list_event_predictions::ListEventPredictionsError, + >, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::list_event_predictions::paginator::ListEventPredictionsPaginator::send) which returns a `Stream`. diff --git a/sdk/frauddetector/src/operation/list_tags_for_resource/builders.rs b/sdk/frauddetector/src/operation/list_tags_for_resource/builders.rs index 225f17a36888..b9cfa8720887 100644 --- a/sdk/frauddetector/src/operation/list_tags_for_resource/builders.rs +++ b/sdk/frauddetector/src/operation/list_tags_for_resource/builders.rs @@ -19,9 +19,9 @@ impl ListTagsForResourceFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl ListTagsForResourceFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_tags_for_resource::ListTagsForResource, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::list_tags_for_resource::ListTagsForResourceError, + >, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::list_tags_for_resource::paginator::ListTagsForResourcePaginator::send) which returns a `Stream`. diff --git a/sdk/frauddetector/src/operation/put_detector/builders.rs b/sdk/frauddetector/src/operation/put_detector/builders.rs index e7cb0a6035f6..3dd285c7610d 100644 --- a/sdk/frauddetector/src/operation/put_detector/builders.rs +++ b/sdk/frauddetector/src/operation/put_detector/builders.rs @@ -19,9 +19,9 @@ impl PutDetectorFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl PutDetectorFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::put_detector::PutDetector, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                              The detector ID.

                                                                              pub fn detector_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.detector_id(input.into()); diff --git a/sdk/frauddetector/src/operation/put_entity_type/builders.rs b/sdk/frauddetector/src/operation/put_entity_type/builders.rs index 695c40f87965..623078beeb95 100644 --- a/sdk/frauddetector/src/operation/put_entity_type/builders.rs +++ b/sdk/frauddetector/src/operation/put_entity_type/builders.rs @@ -19,9 +19,9 @@ impl PutEntityTypeFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl PutEntityTypeFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::put_entity_type::PutEntityType, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                              The name of the entity type.

                                                                              pub fn name(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.name(input.into()); diff --git a/sdk/frauddetector/src/operation/put_event_type/builders.rs b/sdk/frauddetector/src/operation/put_event_type/builders.rs index 68f2d7a42654..06ecd059d221 100644 --- a/sdk/frauddetector/src/operation/put_event_type/builders.rs +++ b/sdk/frauddetector/src/operation/put_event_type/builders.rs @@ -19,9 +19,9 @@ impl PutEventTypeFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl PutEventTypeFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::put_event_type::PutEventType, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                              The name.

                                                                              pub fn name(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.name(input.into()); diff --git a/sdk/frauddetector/src/operation/put_external_model/builders.rs b/sdk/frauddetector/src/operation/put_external_model/builders.rs index c6ca58a061ed..c74a98cc2a3f 100644 --- a/sdk/frauddetector/src/operation/put_external_model/builders.rs +++ b/sdk/frauddetector/src/operation/put_external_model/builders.rs @@ -19,9 +19,9 @@ impl PutExternalModelFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl PutExternalModelFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::put_external_model::PutExternalModel, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::put_external_model::PutExternalModelError, + >, + > { + self.customize_middleware().await + } ///

                                                                              The model endpoints name.

                                                                              pub fn model_endpoint( mut self, diff --git a/sdk/frauddetector/src/operation/put_kms_encryption_key/builders.rs b/sdk/frauddetector/src/operation/put_kms_encryption_key/builders.rs index c6860255a196..a06985fedffd 100644 --- a/sdk/frauddetector/src/operation/put_kms_encryption_key/builders.rs +++ b/sdk/frauddetector/src/operation/put_kms_encryption_key/builders.rs @@ -19,9 +19,9 @@ impl PutKMSEncryptionKeyFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl PutKMSEncryptionKeyFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::put_kms_encryption_key::PutKMSEncryptionKey, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::put_kms_encryption_key::PutKMSEncryptionKeyError, + >, + > { + self.customize_middleware().await + } ///

                                                                              The KMS encryption key ARN.

                                                                              ///

                                                                              The KMS key must be single-Region key. Amazon Fraud Detector does not support multi-Region KMS key.

                                                                              pub fn kms_encryption_key_arn( diff --git a/sdk/frauddetector/src/operation/put_label/builders.rs b/sdk/frauddetector/src/operation/put_label/builders.rs index 55412b24e741..e5846c272f71 100644 --- a/sdk/frauddetector/src/operation/put_label/builders.rs +++ b/sdk/frauddetector/src/operation/put_label/builders.rs @@ -19,9 +19,9 @@ impl PutLabelFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl PutLabelFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::put_label::PutLabel, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                              The label name.

                                                                              pub fn name(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.name(input.into()); diff --git a/sdk/frauddetector/src/operation/put_outcome/builders.rs b/sdk/frauddetector/src/operation/put_outcome/builders.rs index 425caf7fd5be..e8fd673f2351 100644 --- a/sdk/frauddetector/src/operation/put_outcome/builders.rs +++ b/sdk/frauddetector/src/operation/put_outcome/builders.rs @@ -19,9 +19,9 @@ impl PutOutcomeFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl PutOutcomeFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::put_outcome::PutOutcome, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                              The name of the outcome.

                                                                              pub fn name(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.name(input.into()); diff --git a/sdk/frauddetector/src/operation/send_event/builders.rs b/sdk/frauddetector/src/operation/send_event/builders.rs index d866e85a64c4..630ce91d93bf 100644 --- a/sdk/frauddetector/src/operation/send_event/builders.rs +++ b/sdk/frauddetector/src/operation/send_event/builders.rs @@ -19,9 +19,9 @@ impl SendEventFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl SendEventFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::send_event::SendEvent, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                              The event ID to upload.

                                                                              pub fn event_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.event_id(input.into()); diff --git a/sdk/frauddetector/src/operation/tag_resource/builders.rs b/sdk/frauddetector/src/operation/tag_resource/builders.rs index 139014d1ffa4..12e7999d3478 100644 --- a/sdk/frauddetector/src/operation/tag_resource/builders.rs +++ b/sdk/frauddetector/src/operation/tag_resource/builders.rs @@ -19,9 +19,9 @@ impl TagResourceFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl TagResourceFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::tag_resource::TagResource, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                              The resource ARN.

                                                                              pub fn resource_arn(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.resource_arn(input.into()); diff --git a/sdk/frauddetector/src/operation/untag_resource/builders.rs b/sdk/frauddetector/src/operation/untag_resource/builders.rs index bb8aea8eaeb4..ac6e93537067 100644 --- a/sdk/frauddetector/src/operation/untag_resource/builders.rs +++ b/sdk/frauddetector/src/operation/untag_resource/builders.rs @@ -19,9 +19,9 @@ impl UntagResourceFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl UntagResourceFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::untag_resource::UntagResource, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                              The ARN of the resource from which to remove the tag.

                                                                              pub fn resource_arn(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.resource_arn(input.into()); diff --git a/sdk/frauddetector/src/operation/update_detector_version/builders.rs b/sdk/frauddetector/src/operation/update_detector_version/builders.rs index 0d92e8773992..0c996ebbb018 100644 --- a/sdk/frauddetector/src/operation/update_detector_version/builders.rs +++ b/sdk/frauddetector/src/operation/update_detector_version/builders.rs @@ -19,9 +19,9 @@ impl UpdateDetectorVersionFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl UpdateDetectorVersionFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::update_detector_version::UpdateDetectorVersion, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::update_detector_version::UpdateDetectorVersionError, + >, + > { + self.customize_middleware().await + } ///

                                                                              The parent detector ID for the detector version you want to update.

                                                                              pub fn detector_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.detector_id(input.into()); diff --git a/sdk/frauddetector/src/operation/update_detector_version_metadata/builders.rs b/sdk/frauddetector/src/operation/update_detector_version_metadata/builders.rs index a53632246ce9..247c9937b05d 100644 --- a/sdk/frauddetector/src/operation/update_detector_version_metadata/builders.rs +++ b/sdk/frauddetector/src/operation/update_detector_version_metadata/builders.rs @@ -19,9 +19,9 @@ impl UpdateDetectorVersionMetadataFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl UpdateDetectorVersionMetadataFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::update_detector_version_metadata::UpdateDetectorVersionMetadata, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::update_detector_version_metadata::UpdateDetectorVersionMetadataError, + >, + > { + self.customize_middleware().await + } ///

                                                                              The detector ID.

                                                                              pub fn detector_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.detector_id(input.into()); diff --git a/sdk/frauddetector/src/operation/update_detector_version_status/builders.rs b/sdk/frauddetector/src/operation/update_detector_version_status/builders.rs index 6b154f106659..e3a3381c6225 100644 --- a/sdk/frauddetector/src/operation/update_detector_version_status/builders.rs +++ b/sdk/frauddetector/src/operation/update_detector_version_status/builders.rs @@ -19,9 +19,9 @@ impl UpdateDetectorVersionStatusFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl UpdateDetectorVersionStatusFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::update_detector_version_status::UpdateDetectorVersionStatus, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::update_detector_version_status::UpdateDetectorVersionStatusError, + >, + > { + self.customize_middleware().await + } ///

                                                                              The detector ID.

                                                                              pub fn detector_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.detector_id(input.into()); diff --git a/sdk/frauddetector/src/operation/update_event_label/builders.rs b/sdk/frauddetector/src/operation/update_event_label/builders.rs index b0fb508bcbe9..892bebe765ba 100644 --- a/sdk/frauddetector/src/operation/update_event_label/builders.rs +++ b/sdk/frauddetector/src/operation/update_event_label/builders.rs @@ -19,9 +19,9 @@ impl UpdateEventLabelFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl UpdateEventLabelFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::update_event_label::UpdateEventLabel, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::update_event_label::UpdateEventLabelError, + >, + > { + self.customize_middleware().await + } ///

                                                                              The ID of the event associated with the label to update.

                                                                              pub fn event_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.event_id(input.into()); diff --git a/sdk/frauddetector/src/operation/update_list/builders.rs b/sdk/frauddetector/src/operation/update_list/builders.rs index 84a9b73c4427..47c1e8731b5c 100644 --- a/sdk/frauddetector/src/operation/update_list/builders.rs +++ b/sdk/frauddetector/src/operation/update_list/builders.rs @@ -19,9 +19,9 @@ impl UpdateListFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl UpdateListFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::update_list::UpdateList, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                              The name of the list to update.

                                                                              pub fn name(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.name(input.into()); diff --git a/sdk/frauddetector/src/operation/update_model/builders.rs b/sdk/frauddetector/src/operation/update_model/builders.rs index 7e4c4593897b..614c6415cc07 100644 --- a/sdk/frauddetector/src/operation/update_model/builders.rs +++ b/sdk/frauddetector/src/operation/update_model/builders.rs @@ -19,9 +19,9 @@ impl UpdateModelFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl UpdateModelFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::update_model::UpdateModel, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                              The model ID.

                                                                              pub fn model_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.model_id(input.into()); diff --git a/sdk/frauddetector/src/operation/update_model_version/builders.rs b/sdk/frauddetector/src/operation/update_model_version/builders.rs index 8978b29eb9d9..e2a313485d9c 100644 --- a/sdk/frauddetector/src/operation/update_model_version/builders.rs +++ b/sdk/frauddetector/src/operation/update_model_version/builders.rs @@ -19,9 +19,9 @@ impl UpdateModelVersionFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl UpdateModelVersionFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::update_model_version::UpdateModelVersion, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::update_model_version::UpdateModelVersionError, + >, + > { + self.customize_middleware().await + } ///

                                                                              The model ID.

                                                                              pub fn model_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.model_id(input.into()); diff --git a/sdk/frauddetector/src/operation/update_model_version_status/builders.rs b/sdk/frauddetector/src/operation/update_model_version_status/builders.rs index 98f291e82eac..ef5aa0cfecfd 100644 --- a/sdk/frauddetector/src/operation/update_model_version_status/builders.rs +++ b/sdk/frauddetector/src/operation/update_model_version_status/builders.rs @@ -25,9 +25,9 @@ impl UpdateModelVersionStatusFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -89,6 +89,22 @@ impl UpdateModelVersionStatusFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::update_model_version_status::UpdateModelVersionStatus, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::update_model_version_status::UpdateModelVersionStatusError, + >, + > { + self.customize_middleware().await + } ///

                                                                              The model ID of the model version to update.

                                                                              pub fn model_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.model_id(input.into()); diff --git a/sdk/frauddetector/src/operation/update_rule_metadata/builders.rs b/sdk/frauddetector/src/operation/update_rule_metadata/builders.rs index a2c56169fba2..7c847e4c2773 100644 --- a/sdk/frauddetector/src/operation/update_rule_metadata/builders.rs +++ b/sdk/frauddetector/src/operation/update_rule_metadata/builders.rs @@ -19,9 +19,9 @@ impl UpdateRuleMetadataFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl UpdateRuleMetadataFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::update_rule_metadata::UpdateRuleMetadata, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::update_rule_metadata::UpdateRuleMetadataError, + >, + > { + self.customize_middleware().await + } ///

                                                                              The rule to update.

                                                                              pub fn rule(mut self, input: crate::types::Rule) -> Self { self.inner = self.inner.rule(input); diff --git a/sdk/frauddetector/src/operation/update_rule_version/builders.rs b/sdk/frauddetector/src/operation/update_rule_version/builders.rs index bd9ecff38953..7bfe822977c6 100644 --- a/sdk/frauddetector/src/operation/update_rule_version/builders.rs +++ b/sdk/frauddetector/src/operation/update_rule_version/builders.rs @@ -19,9 +19,9 @@ impl UpdateRuleVersionFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl UpdateRuleVersionFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::update_rule_version::UpdateRuleVersion, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::update_rule_version::UpdateRuleVersionError, + >, + > { + self.customize_middleware().await + } ///

                                                                              The rule to update.

                                                                              pub fn rule(mut self, input: crate::types::Rule) -> Self { self.inner = self.inner.rule(input); diff --git a/sdk/frauddetector/src/operation/update_variable/builders.rs b/sdk/frauddetector/src/operation/update_variable/builders.rs index 87e30821912a..f1797affdecc 100644 --- a/sdk/frauddetector/src/operation/update_variable/builders.rs +++ b/sdk/frauddetector/src/operation/update_variable/builders.rs @@ -19,9 +19,9 @@ impl UpdateVariableFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl UpdateVariableFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::update_variable::UpdateVariable, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                              The name of the variable.

                                                                              pub fn name(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.name(input.into()); diff --git a/sdk/fsx/src/operation/associate_file_system_aliases/builders.rs b/sdk/fsx/src/operation/associate_file_system_aliases/builders.rs index fad172d33c1f..d71b90973789 100644 --- a/sdk/fsx/src/operation/associate_file_system_aliases/builders.rs +++ b/sdk/fsx/src/operation/associate_file_system_aliases/builders.rs @@ -20,9 +20,9 @@ impl AssociateFileSystemAliasesFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -84,6 +84,22 @@ impl AssociateFileSystemAliasesFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::associate_file_system_aliases::AssociateFileSystemAliases, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::associate_file_system_aliases::AssociateFileSystemAliasesError, + >, + > { + self.customize_middleware().await + } ///

                                                                              (Optional) An idempotency token for resource creation, in a string of up to 63 ASCII characters. This token is automatically filled on your behalf when you use the Command Line Interface (CLI) or an Amazon Web Services SDK.

                                                                              pub fn client_request_token( mut self, diff --git a/sdk/fsx/src/operation/cancel_data_repository_task/builders.rs b/sdk/fsx/src/operation/cancel_data_repository_task/builders.rs index 41c5171cb34f..ece88197995b 100644 --- a/sdk/fsx/src/operation/cancel_data_repository_task/builders.rs +++ b/sdk/fsx/src/operation/cancel_data_repository_task/builders.rs @@ -24,9 +24,9 @@ impl CancelDataRepositoryTaskFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -88,6 +88,22 @@ impl CancelDataRepositoryTaskFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::cancel_data_repository_task::CancelDataRepositoryTask, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::cancel_data_repository_task::CancelDataRepositoryTaskError, + >, + > { + self.customize_middleware().await + } ///

                                                                              Specifies the data repository task to cancel.

                                                                              pub fn task_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.task_id(input.into()); diff --git a/sdk/fsx/src/operation/copy_backup/builders.rs b/sdk/fsx/src/operation/copy_backup/builders.rs index 69957cb9b73c..1ffbe4ddfcc4 100644 --- a/sdk/fsx/src/operation/copy_backup/builders.rs +++ b/sdk/fsx/src/operation/copy_backup/builders.rs @@ -23,9 +23,9 @@ impl CopyBackupFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -81,6 +81,20 @@ impl CopyBackupFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::copy_backup::CopyBackup, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                              (Optional) An idempotency token for resource creation, in a string of up to 63 ASCII characters. This token is automatically filled on your behalf when you use the Command Line Interface (CLI) or an Amazon Web Services SDK.

                                                                              pub fn client_request_token( mut self, diff --git a/sdk/fsx/src/operation/create_backup/builders.rs b/sdk/fsx/src/operation/create_backup/builders.rs index ca13052326c4..651c4989774c 100644 --- a/sdk/fsx/src/operation/create_backup/builders.rs +++ b/sdk/fsx/src/operation/create_backup/builders.rs @@ -38,9 +38,9 @@ impl CreateBackupFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -96,6 +96,20 @@ impl CreateBackupFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::create_backup::CreateBackup, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                              The ID of the file system to back up.

                                                                              pub fn file_system_id( mut self, diff --git a/sdk/fsx/src/operation/create_data_repository_association/builders.rs b/sdk/fsx/src/operation/create_data_repository_association/builders.rs index c027f0a2594f..7d2d2e4d3de3 100644 --- a/sdk/fsx/src/operation/create_data_repository_association/builders.rs +++ b/sdk/fsx/src/operation/create_data_repository_association/builders.rs @@ -22,9 +22,9 @@ impl CreateDataRepositoryAssociationFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize(self) -> ::std::result::Result< + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware(self) -> ::std::result::Result< crate::client::customize::CustomizableOperation, ::aws_smithy_http::result::SdkError >{ @@ -67,6 +67,15 @@ impl CreateDataRepositoryAssociationFluentBuilder { { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize(self) -> ::std::result::Result< + crate::client::customize::CustomizableOperation, + ::aws_smithy_http::result::SdkError + >{ + self.customize_middleware().await + } ///

                                                                              The globally unique ID of the file system, assigned by Amazon FSx.

                                                                              pub fn file_system_id( mut self, diff --git a/sdk/fsx/src/operation/create_data_repository_task/builders.rs b/sdk/fsx/src/operation/create_data_repository_task/builders.rs index 70b4d1adf101..9d1e37bf2a71 100644 --- a/sdk/fsx/src/operation/create_data_repository_task/builders.rs +++ b/sdk/fsx/src/operation/create_data_repository_task/builders.rs @@ -19,9 +19,9 @@ impl CreateDataRepositoryTaskFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl CreateDataRepositoryTaskFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::create_data_repository_task::CreateDataRepositoryTask, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::create_data_repository_task::CreateDataRepositoryTaskError, + >, + > { + self.customize_middleware().await + } ///

                                                                              Specifies the type of data repository task to create.

                                                                              pub fn r#type(mut self, input: crate::types::DataRepositoryTaskType) -> Self { self.inner = self.inner.r#type(input); diff --git a/sdk/fsx/src/operation/create_file_cache/builders.rs b/sdk/fsx/src/operation/create_file_cache/builders.rs index e9be1cf3bdcc..6bce8ac828cf 100644 --- a/sdk/fsx/src/operation/create_file_cache/builders.rs +++ b/sdk/fsx/src/operation/create_file_cache/builders.rs @@ -26,9 +26,9 @@ impl CreateFileCacheFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -90,6 +90,22 @@ impl CreateFileCacheFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::create_file_cache::CreateFileCache, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::create_file_cache::CreateFileCacheError, + >, + > { + self.customize_middleware().await + } ///

                                                                              An idempotency token for resource creation, in a string of up to 63 ASCII characters. This token is automatically filled on your behalf when you use the Command Line Interface (CLI) or an Amazon Web Services SDK.

                                                                              ///

                                                                              By using the idempotent operation, you can retry a CreateFileCache operation without the risk of creating an extra cache. This approach can be useful when an initial call fails in a way that makes it unclear whether a cache was created. Examples are if a transport level timeout occurred, or your connection was reset. If you use the same client request token and the initial call created a cache, the client receives success as long as the parameters are the same.

                                                                              pub fn client_request_token( diff --git a/sdk/fsx/src/operation/create_file_system/builders.rs b/sdk/fsx/src/operation/create_file_system/builders.rs index f33ca90dce53..f077909c0093 100644 --- a/sdk/fsx/src/operation/create_file_system/builders.rs +++ b/sdk/fsx/src/operation/create_file_system/builders.rs @@ -33,9 +33,9 @@ impl CreateFileSystemFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -97,6 +97,22 @@ impl CreateFileSystemFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::create_file_system::CreateFileSystem, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::create_file_system::CreateFileSystemError, + >, + > { + self.customize_middleware().await + } ///

                                                                              A string of up to 63 ASCII characters that Amazon FSx uses to ensure idempotent creation. This string is automatically filled on your behalf when you use the Command Line Interface (CLI) or an Amazon Web Services SDK.

                                                                              pub fn client_request_token( mut self, diff --git a/sdk/fsx/src/operation/create_file_system_from_backup/builders.rs b/sdk/fsx/src/operation/create_file_system_from_backup/builders.rs index 51d33f048f8d..d9de0b80e57b 100644 --- a/sdk/fsx/src/operation/create_file_system_from_backup/builders.rs +++ b/sdk/fsx/src/operation/create_file_system_from_backup/builders.rs @@ -28,9 +28,9 @@ impl CreateFileSystemFromBackupFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -92,6 +92,22 @@ impl CreateFileSystemFromBackupFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::create_file_system_from_backup::CreateFileSystemFromBackup, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::create_file_system_from_backup::CreateFileSystemFromBackupError, + >, + > { + self.customize_middleware().await + } ///

                                                                              The ID of the source backup. Specifies the backup that you are copying.

                                                                              pub fn backup_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.backup_id(input.into()); diff --git a/sdk/fsx/src/operation/create_snapshot/builders.rs b/sdk/fsx/src/operation/create_snapshot/builders.rs index cdb12ca97929..2667902dfbb4 100644 --- a/sdk/fsx/src/operation/create_snapshot/builders.rs +++ b/sdk/fsx/src/operation/create_snapshot/builders.rs @@ -26,9 +26,9 @@ impl CreateSnapshotFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -84,6 +84,20 @@ impl CreateSnapshotFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::create_snapshot::CreateSnapshot, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                              (Optional) An idempotency token for resource creation, in a string of up to 63 ASCII characters. This token is automatically filled on your behalf when you use the Command Line Interface (CLI) or an Amazon Web Services SDK.

                                                                              pub fn client_request_token( mut self, diff --git a/sdk/fsx/src/operation/create_storage_virtual_machine/builders.rs b/sdk/fsx/src/operation/create_storage_virtual_machine/builders.rs index 7dec610e20ee..5fd7d1857f4b 100644 --- a/sdk/fsx/src/operation/create_storage_virtual_machine/builders.rs +++ b/sdk/fsx/src/operation/create_storage_virtual_machine/builders.rs @@ -19,9 +19,9 @@ impl CreateStorageVirtualMachineFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl CreateStorageVirtualMachineFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::create_storage_virtual_machine::CreateStorageVirtualMachine, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::create_storage_virtual_machine::CreateStorageVirtualMachineError, + >, + > { + self.customize_middleware().await + } ///

                                                                              Describes the self-managed Microsoft Active Directory to which you want to join the SVM. Joining an Active Directory provides user authentication and access control for SMB clients, including Microsoft Windows and macOS client accessing the file system.

                                                                              pub fn active_directory_configuration( mut self, diff --git a/sdk/fsx/src/operation/create_volume/builders.rs b/sdk/fsx/src/operation/create_volume/builders.rs index 6c250ceb4f0d..12181c1efd38 100644 --- a/sdk/fsx/src/operation/create_volume/builders.rs +++ b/sdk/fsx/src/operation/create_volume/builders.rs @@ -19,9 +19,9 @@ impl CreateVolumeFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl CreateVolumeFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::create_volume::CreateVolume, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                              (Optional) An idempotency token for resource creation, in a string of up to 63 ASCII characters. This token is automatically filled on your behalf when you use the Command Line Interface (CLI) or an Amazon Web Services SDK.

                                                                              pub fn client_request_token( mut self, diff --git a/sdk/fsx/src/operation/create_volume_from_backup/builders.rs b/sdk/fsx/src/operation/create_volume_from_backup/builders.rs index f18fea3a70d0..3a2382df1d93 100644 --- a/sdk/fsx/src/operation/create_volume_from_backup/builders.rs +++ b/sdk/fsx/src/operation/create_volume_from_backup/builders.rs @@ -20,9 +20,9 @@ impl CreateVolumeFromBackupFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -84,6 +84,22 @@ impl CreateVolumeFromBackupFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::create_volume_from_backup::CreateVolumeFromBackup, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::create_volume_from_backup::CreateVolumeFromBackupError, + >, + > { + self.customize_middleware().await + } ///

                                                                              The ID of the source backup. Specifies the backup that you are copying.

                                                                              pub fn backup_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.backup_id(input.into()); diff --git a/sdk/fsx/src/operation/delete_backup/builders.rs b/sdk/fsx/src/operation/delete_backup/builders.rs index 11f4573b6d8f..c14c38242027 100644 --- a/sdk/fsx/src/operation/delete_backup/builders.rs +++ b/sdk/fsx/src/operation/delete_backup/builders.rs @@ -22,9 +22,9 @@ impl DeleteBackupFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -80,6 +80,20 @@ impl DeleteBackupFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::delete_backup::DeleteBackup, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                              The ID of the backup that you want to delete.

                                                                              pub fn backup_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.backup_id(input.into()); diff --git a/sdk/fsx/src/operation/delete_data_repository_association/builders.rs b/sdk/fsx/src/operation/delete_data_repository_association/builders.rs index 58815d9042de..26f2848d98dd 100644 --- a/sdk/fsx/src/operation/delete_data_repository_association/builders.rs +++ b/sdk/fsx/src/operation/delete_data_repository_association/builders.rs @@ -19,9 +19,9 @@ impl DeleteDataRepositoryAssociationFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize(self) -> ::std::result::Result< + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware(self) -> ::std::result::Result< crate::client::customize::CustomizableOperation, ::aws_smithy_http::result::SdkError >{ @@ -64,6 +64,15 @@ impl DeleteDataRepositoryAssociationFluentBuilder { { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize(self) -> ::std::result::Result< + crate::client::customize::CustomizableOperation, + ::aws_smithy_http::result::SdkError + >{ + self.customize_middleware().await + } ///

                                                                              The ID of the data repository association that you want to delete.

                                                                              pub fn association_id( mut self, diff --git a/sdk/fsx/src/operation/delete_file_cache/builders.rs b/sdk/fsx/src/operation/delete_file_cache/builders.rs index 7e18ca47b567..154e8a2d8d7e 100644 --- a/sdk/fsx/src/operation/delete_file_cache/builders.rs +++ b/sdk/fsx/src/operation/delete_file_cache/builders.rs @@ -22,9 +22,9 @@ impl DeleteFileCacheFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -86,6 +86,22 @@ impl DeleteFileCacheFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::delete_file_cache::DeleteFileCache, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::delete_file_cache::DeleteFileCacheError, + >, + > { + self.customize_middleware().await + } ///

                                                                              The ID of the cache that's being deleted.

                                                                              pub fn file_cache_id( mut self, diff --git a/sdk/fsx/src/operation/delete_file_system/builders.rs b/sdk/fsx/src/operation/delete_file_system/builders.rs index 5db9e1740e49..af3992ea1954 100644 --- a/sdk/fsx/src/operation/delete_file_system/builders.rs +++ b/sdk/fsx/src/operation/delete_file_system/builders.rs @@ -26,9 +26,9 @@ impl DeleteFileSystemFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -90,6 +90,22 @@ impl DeleteFileSystemFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::delete_file_system::DeleteFileSystem, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::delete_file_system::DeleteFileSystemError, + >, + > { + self.customize_middleware().await + } ///

                                                                              The ID of the file system that you want to delete.

                                                                              pub fn file_system_id( mut self, diff --git a/sdk/fsx/src/operation/delete_snapshot/builders.rs b/sdk/fsx/src/operation/delete_snapshot/builders.rs index 3b9a2cd6e461..5d2da0fe1f79 100644 --- a/sdk/fsx/src/operation/delete_snapshot/builders.rs +++ b/sdk/fsx/src/operation/delete_snapshot/builders.rs @@ -20,9 +20,9 @@ impl DeleteSnapshotFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -78,6 +78,20 @@ impl DeleteSnapshotFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::delete_snapshot::DeleteSnapshot, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                              (Optional) An idempotency token for resource creation, in a string of up to 63 ASCII characters. This token is automatically filled on your behalf when you use the Command Line Interface (CLI) or an Amazon Web Services SDK.

                                                                              pub fn client_request_token( mut self, diff --git a/sdk/fsx/src/operation/delete_storage_virtual_machine/builders.rs b/sdk/fsx/src/operation/delete_storage_virtual_machine/builders.rs index c1fd6681fed8..a2a689bfdc95 100644 --- a/sdk/fsx/src/operation/delete_storage_virtual_machine/builders.rs +++ b/sdk/fsx/src/operation/delete_storage_virtual_machine/builders.rs @@ -19,9 +19,9 @@ impl DeleteStorageVirtualMachineFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl DeleteStorageVirtualMachineFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::delete_storage_virtual_machine::DeleteStorageVirtualMachine, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::delete_storage_virtual_machine::DeleteStorageVirtualMachineError, + >, + > { + self.customize_middleware().await + } ///

                                                                              (Optional) An idempotency token for resource creation, in a string of up to 63 ASCII characters. This token is automatically filled on your behalf when you use the Command Line Interface (CLI) or an Amazon Web Services SDK.

                                                                              pub fn client_request_token( mut self, diff --git a/sdk/fsx/src/operation/delete_volume/builders.rs b/sdk/fsx/src/operation/delete_volume/builders.rs index aae73f0d69a4..eaafa32ca4f5 100644 --- a/sdk/fsx/src/operation/delete_volume/builders.rs +++ b/sdk/fsx/src/operation/delete_volume/builders.rs @@ -19,9 +19,9 @@ impl DeleteVolumeFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl DeleteVolumeFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::delete_volume::DeleteVolume, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                              (Optional) An idempotency token for resource creation, in a string of up to 63 ASCII characters. This token is automatically filled on your behalf when you use the Command Line Interface (CLI) or an Amazon Web Services SDK.

                                                                              pub fn client_request_token( mut self, diff --git a/sdk/fsx/src/operation/describe_backups/builders.rs b/sdk/fsx/src/operation/describe_backups/builders.rs index 71a5622cc3c5..f5927f566d73 100644 --- a/sdk/fsx/src/operation/describe_backups/builders.rs +++ b/sdk/fsx/src/operation/describe_backups/builders.rs @@ -26,9 +26,9 @@ impl DescribeBackupsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -90,6 +90,22 @@ impl DescribeBackupsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::describe_backups::DescribeBackups, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::describe_backups::DescribeBackupsError, + >, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::describe_backups::paginator::DescribeBackupsPaginator::send) which returns a `Stream`. diff --git a/sdk/fsx/src/operation/describe_data_repository_associations/builders.rs b/sdk/fsx/src/operation/describe_data_repository_associations/builders.rs index 28443e2d5f3e..c4563e1b7b46 100644 --- a/sdk/fsx/src/operation/describe_data_repository_associations/builders.rs +++ b/sdk/fsx/src/operation/describe_data_repository_associations/builders.rs @@ -21,9 +21,9 @@ impl DescribeDataRepositoryAssociationsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize(self) -> ::std::result::Result< + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware(self) -> ::std::result::Result< crate::client::customize::CustomizableOperation, ::aws_smithy_http::result::SdkError >{ @@ -66,6 +66,15 @@ impl DescribeDataRepositoryAssociationsFluentBuilder { { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize(self) -> ::std::result::Result< + crate::client::customize::CustomizableOperation, + ::aws_smithy_http::result::SdkError + >{ + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::describe_data_repository_associations::paginator::DescribeDataRepositoryAssociationsPaginator::send) which returns a `Stream`. diff --git a/sdk/fsx/src/operation/describe_data_repository_tasks/builders.rs b/sdk/fsx/src/operation/describe_data_repository_tasks/builders.rs index b4b3ef8226f4..c578f144891d 100644 --- a/sdk/fsx/src/operation/describe_data_repository_tasks/builders.rs +++ b/sdk/fsx/src/operation/describe_data_repository_tasks/builders.rs @@ -20,9 +20,9 @@ impl DescribeDataRepositoryTasksFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -84,6 +84,22 @@ impl DescribeDataRepositoryTasksFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::describe_data_repository_tasks::DescribeDataRepositoryTasks, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::describe_data_repository_tasks::DescribeDataRepositoryTasksError, + >, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::describe_data_repository_tasks::paginator::DescribeDataRepositoryTasksPaginator::send) which returns a `Stream`. diff --git a/sdk/fsx/src/operation/describe_file_caches/builders.rs b/sdk/fsx/src/operation/describe_file_caches/builders.rs index b690339c01a0..0c028fb0ad69 100644 --- a/sdk/fsx/src/operation/describe_file_caches/builders.rs +++ b/sdk/fsx/src/operation/describe_file_caches/builders.rs @@ -26,9 +26,9 @@ impl DescribeFileCachesFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -90,6 +90,22 @@ impl DescribeFileCachesFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::describe_file_caches::DescribeFileCaches, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::describe_file_caches::DescribeFileCachesError, + >, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::describe_file_caches::paginator::DescribeFileCachesPaginator::send) which returns a `Stream`. diff --git a/sdk/fsx/src/operation/describe_file_system_aliases/builders.rs b/sdk/fsx/src/operation/describe_file_system_aliases/builders.rs index f3a016ed6aa3..bdfffaaf9199 100644 --- a/sdk/fsx/src/operation/describe_file_system_aliases/builders.rs +++ b/sdk/fsx/src/operation/describe_file_system_aliases/builders.rs @@ -19,9 +19,9 @@ impl DescribeFileSystemAliasesFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl DescribeFileSystemAliasesFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::describe_file_system_aliases::DescribeFileSystemAliases, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::describe_file_system_aliases::DescribeFileSystemAliasesError, + >, + > { + self.customize_middleware().await + } ///

                                                                              (Optional) An idempotency token for resource creation, in a string of up to 63 ASCII characters. This token is automatically filled on your behalf when you use the Command Line Interface (CLI) or an Amazon Web Services SDK.

                                                                              pub fn client_request_token( mut self, diff --git a/sdk/fsx/src/operation/describe_file_systems/builders.rs b/sdk/fsx/src/operation/describe_file_systems/builders.rs index 9e7d8050c726..5947851b41d7 100644 --- a/sdk/fsx/src/operation/describe_file_systems/builders.rs +++ b/sdk/fsx/src/operation/describe_file_systems/builders.rs @@ -26,9 +26,9 @@ impl DescribeFileSystemsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -90,6 +90,22 @@ impl DescribeFileSystemsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::describe_file_systems::DescribeFileSystems, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::describe_file_systems::DescribeFileSystemsError, + >, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::describe_file_systems::paginator::DescribeFileSystemsPaginator::send) which returns a `Stream`. diff --git a/sdk/fsx/src/operation/describe_snapshots/builders.rs b/sdk/fsx/src/operation/describe_snapshots/builders.rs index 830b6f2abbfa..b82df59a950c 100644 --- a/sdk/fsx/src/operation/describe_snapshots/builders.rs +++ b/sdk/fsx/src/operation/describe_snapshots/builders.rs @@ -26,9 +26,9 @@ impl DescribeSnapshotsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -90,6 +90,22 @@ impl DescribeSnapshotsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::describe_snapshots::DescribeSnapshots, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::describe_snapshots::DescribeSnapshotsError, + >, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::describe_snapshots::paginator::DescribeSnapshotsPaginator::send) which returns a `Stream`. diff --git a/sdk/fsx/src/operation/describe_storage_virtual_machines/builders.rs b/sdk/fsx/src/operation/describe_storage_virtual_machines/builders.rs index 3f81669a2c9f..5caed9b86c8e 100644 --- a/sdk/fsx/src/operation/describe_storage_virtual_machines/builders.rs +++ b/sdk/fsx/src/operation/describe_storage_virtual_machines/builders.rs @@ -19,9 +19,9 @@ impl DescribeStorageVirtualMachinesFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize(self) -> ::std::result::Result< + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware(self) -> ::std::result::Result< crate::client::customize::CustomizableOperation, ::aws_smithy_http::result::SdkError >{ @@ -64,6 +64,15 @@ impl DescribeStorageVirtualMachinesFluentBuilder { { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize(self) -> ::std::result::Result< + crate::client::customize::CustomizableOperation, + ::aws_smithy_http::result::SdkError + >{ + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::describe_storage_virtual_machines::paginator::DescribeStorageVirtualMachinesPaginator::send) which returns a `Stream`. diff --git a/sdk/fsx/src/operation/describe_volumes/builders.rs b/sdk/fsx/src/operation/describe_volumes/builders.rs index ecddeb7995c0..53f1820e14a6 100644 --- a/sdk/fsx/src/operation/describe_volumes/builders.rs +++ b/sdk/fsx/src/operation/describe_volumes/builders.rs @@ -19,9 +19,9 @@ impl DescribeVolumesFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl DescribeVolumesFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::describe_volumes::DescribeVolumes, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::describe_volumes::DescribeVolumesError, + >, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::describe_volumes::paginator::DescribeVolumesPaginator::send) which returns a `Stream`. diff --git a/sdk/fsx/src/operation/disassociate_file_system_aliases/builders.rs b/sdk/fsx/src/operation/disassociate_file_system_aliases/builders.rs index 1be5524e4d4d..11bb810659c4 100644 --- a/sdk/fsx/src/operation/disassociate_file_system_aliases/builders.rs +++ b/sdk/fsx/src/operation/disassociate_file_system_aliases/builders.rs @@ -20,9 +20,9 @@ impl DisassociateFileSystemAliasesFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -84,6 +84,22 @@ impl DisassociateFileSystemAliasesFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::disassociate_file_system_aliases::DisassociateFileSystemAliases, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::disassociate_file_system_aliases::DisassociateFileSystemAliasesError, + >, + > { + self.customize_middleware().await + } ///

                                                                              (Optional) An idempotency token for resource creation, in a string of up to 63 ASCII characters. This token is automatically filled on your behalf when you use the Command Line Interface (CLI) or an Amazon Web Services SDK.

                                                                              pub fn client_request_token( mut self, diff --git a/sdk/fsx/src/operation/list_tags_for_resource/builders.rs b/sdk/fsx/src/operation/list_tags_for_resource/builders.rs index 632933c4bbd1..061729652c90 100644 --- a/sdk/fsx/src/operation/list_tags_for_resource/builders.rs +++ b/sdk/fsx/src/operation/list_tags_for_resource/builders.rs @@ -26,9 +26,9 @@ impl ListTagsForResourceFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -90,6 +90,22 @@ impl ListTagsForResourceFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_tags_for_resource::ListTagsForResource, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::list_tags_for_resource::ListTagsForResourceError, + >, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::list_tags_for_resource::paginator::ListTagsForResourcePaginator::send) which returns a `Stream`. diff --git a/sdk/fsx/src/operation/release_file_system_nfs_v3_locks/builders.rs b/sdk/fsx/src/operation/release_file_system_nfs_v3_locks/builders.rs index 28e30166fde2..b0489615d481 100644 --- a/sdk/fsx/src/operation/release_file_system_nfs_v3_locks/builders.rs +++ b/sdk/fsx/src/operation/release_file_system_nfs_v3_locks/builders.rs @@ -19,9 +19,9 @@ impl ReleaseFileSystemNfsV3LocksFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl ReleaseFileSystemNfsV3LocksFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::release_file_system_nfs_v3_locks::ReleaseFileSystemNfsV3Locks, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::release_file_system_nfs_v3_locks::ReleaseFileSystemNfsV3LocksError, + >, + > { + self.customize_middleware().await + } ///

                                                                              The globally unique ID of the file system, assigned by Amazon FSx.

                                                                              pub fn file_system_id( mut self, diff --git a/sdk/fsx/src/operation/restore_volume_from_snapshot/builders.rs b/sdk/fsx/src/operation/restore_volume_from_snapshot/builders.rs index 9f01f310e61f..e20f05a34ded 100644 --- a/sdk/fsx/src/operation/restore_volume_from_snapshot/builders.rs +++ b/sdk/fsx/src/operation/restore_volume_from_snapshot/builders.rs @@ -19,9 +19,9 @@ impl RestoreVolumeFromSnapshotFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl RestoreVolumeFromSnapshotFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::restore_volume_from_snapshot::RestoreVolumeFromSnapshot, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::restore_volume_from_snapshot::RestoreVolumeFromSnapshotError, + >, + > { + self.customize_middleware().await + } ///

                                                                              (Optional) An idempotency token for resource creation, in a string of up to 63 ASCII characters. This token is automatically filled on your behalf when you use the Command Line Interface (CLI) or an Amazon Web Services SDK.

                                                                              pub fn client_request_token( mut self, diff --git a/sdk/fsx/src/operation/tag_resource/builders.rs b/sdk/fsx/src/operation/tag_resource/builders.rs index cbe64cff9b98..9c424e204ff1 100644 --- a/sdk/fsx/src/operation/tag_resource/builders.rs +++ b/sdk/fsx/src/operation/tag_resource/builders.rs @@ -19,9 +19,9 @@ impl TagResourceFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl TagResourceFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::tag_resource::TagResource, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                              The Amazon Resource Name (ARN) of the Amazon FSx resource that you want to tag.

                                                                              pub fn resource_arn(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.resource_arn(input.into()); diff --git a/sdk/fsx/src/operation/untag_resource/builders.rs b/sdk/fsx/src/operation/untag_resource/builders.rs index f703b0ef9629..82e6bafe1897 100644 --- a/sdk/fsx/src/operation/untag_resource/builders.rs +++ b/sdk/fsx/src/operation/untag_resource/builders.rs @@ -19,9 +19,9 @@ impl UntagResourceFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl UntagResourceFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::untag_resource::UntagResource, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                              The ARN of the Amazon FSx resource to untag.

                                                                              pub fn resource_arn(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.resource_arn(input.into()); diff --git a/sdk/fsx/src/operation/update_data_repository_association/builders.rs b/sdk/fsx/src/operation/update_data_repository_association/builders.rs index 0bf3db9f8148..44d187b9e287 100644 --- a/sdk/fsx/src/operation/update_data_repository_association/builders.rs +++ b/sdk/fsx/src/operation/update_data_repository_association/builders.rs @@ -19,9 +19,9 @@ impl UpdateDataRepositoryAssociationFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize(self) -> ::std::result::Result< + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware(self) -> ::std::result::Result< crate::client::customize::CustomizableOperation, ::aws_smithy_http::result::SdkError >{ @@ -64,6 +64,15 @@ impl UpdateDataRepositoryAssociationFluentBuilder { { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize(self) -> ::std::result::Result< + crate::client::customize::CustomizableOperation, + ::aws_smithy_http::result::SdkError + >{ + self.customize_middleware().await + } ///

                                                                              The ID of the data repository association that you are updating.

                                                                              pub fn association_id( mut self, diff --git a/sdk/fsx/src/operation/update_file_cache/builders.rs b/sdk/fsx/src/operation/update_file_cache/builders.rs index c628276fe78e..dd0891a392ff 100644 --- a/sdk/fsx/src/operation/update_file_cache/builders.rs +++ b/sdk/fsx/src/operation/update_file_cache/builders.rs @@ -19,9 +19,9 @@ impl UpdateFileCacheFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl UpdateFileCacheFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::update_file_cache::UpdateFileCache, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::update_file_cache::UpdateFileCacheError, + >, + > { + self.customize_middleware().await + } ///

                                                                              The ID of the cache that you are updating.

                                                                              pub fn file_cache_id( mut self, diff --git a/sdk/fsx/src/operation/update_file_system/builders.rs b/sdk/fsx/src/operation/update_file_system/builders.rs index addb1ec427cd..0e475abc5476 100644 --- a/sdk/fsx/src/operation/update_file_system/builders.rs +++ b/sdk/fsx/src/operation/update_file_system/builders.rs @@ -62,9 +62,9 @@ impl UpdateFileSystemFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -126,6 +126,22 @@ impl UpdateFileSystemFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::update_file_system::UpdateFileSystem, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::update_file_system::UpdateFileSystemError, + >, + > { + self.customize_middleware().await + } ///

                                                                              The ID of the file system that you are updating.

                                                                              pub fn file_system_id( mut self, diff --git a/sdk/fsx/src/operation/update_snapshot/builders.rs b/sdk/fsx/src/operation/update_snapshot/builders.rs index 334aaeb5f723..bf3ccdc23c05 100644 --- a/sdk/fsx/src/operation/update_snapshot/builders.rs +++ b/sdk/fsx/src/operation/update_snapshot/builders.rs @@ -19,9 +19,9 @@ impl UpdateSnapshotFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl UpdateSnapshotFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::update_snapshot::UpdateSnapshot, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                              (Optional) An idempotency token for resource creation, in a string of up to 63 ASCII characters. This token is automatically filled on your behalf when you use the Command Line Interface (CLI) or an Amazon Web Services SDK.

                                                                              pub fn client_request_token( mut self, diff --git a/sdk/fsx/src/operation/update_storage_virtual_machine/builders.rs b/sdk/fsx/src/operation/update_storage_virtual_machine/builders.rs index 0aa381ae6b4e..8ad16c2aee72 100644 --- a/sdk/fsx/src/operation/update_storage_virtual_machine/builders.rs +++ b/sdk/fsx/src/operation/update_storage_virtual_machine/builders.rs @@ -19,9 +19,9 @@ impl UpdateStorageVirtualMachineFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl UpdateStorageVirtualMachineFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::update_storage_virtual_machine::UpdateStorageVirtualMachine, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::update_storage_virtual_machine::UpdateStorageVirtualMachineError, + >, + > { + self.customize_middleware().await + } ///

                                                                              Updates the Microsoft Active Directory (AD) configuration for an SVM that is joined to an AD.

                                                                              pub fn active_directory_configuration( mut self, diff --git a/sdk/fsx/src/operation/update_volume/builders.rs b/sdk/fsx/src/operation/update_volume/builders.rs index af90f6f3b678..4edf3f5c4308 100644 --- a/sdk/fsx/src/operation/update_volume/builders.rs +++ b/sdk/fsx/src/operation/update_volume/builders.rs @@ -19,9 +19,9 @@ impl UpdateVolumeFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl UpdateVolumeFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::update_volume::UpdateVolume, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                              (Optional) An idempotency token for resource creation, in a string of up to 63 ASCII characters. This token is automatically filled on your behalf when you use the Command Line Interface (CLI) or an Amazon Web Services SDK.

                                                                              pub fn client_request_token( mut self, diff --git a/sdk/gamelift/src/operation/accept_match/builders.rs b/sdk/gamelift/src/operation/accept_match/builders.rs index fe8c8f66fb16..f4466bcd02ca 100644 --- a/sdk/gamelift/src/operation/accept_match/builders.rs +++ b/sdk/gamelift/src/operation/accept_match/builders.rs @@ -25,9 +25,9 @@ impl AcceptMatchFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,20 @@ impl AcceptMatchFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::accept_match::AcceptMatch, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                              A unique identifier for a matchmaking ticket. The ticket must be in status REQUIRES_ACCEPTANCE; otherwise this request will fail.

                                                                              pub fn ticket_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.ticket_id(input.into()); diff --git a/sdk/gamelift/src/operation/claim_game_server/builders.rs b/sdk/gamelift/src/operation/claim_game_server/builders.rs index 3ad884bd0e12..1fd4d84c1031 100644 --- a/sdk/gamelift/src/operation/claim_game_server/builders.rs +++ b/sdk/gamelift/src/operation/claim_game_server/builders.rs @@ -31,9 +31,9 @@ impl ClaimGameServerFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -95,6 +95,22 @@ impl ClaimGameServerFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::claim_game_server::ClaimGameServer, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::claim_game_server::ClaimGameServerError, + >, + > { + self.customize_middleware().await + } ///

                                                                              A unique identifier for the game server group where the game server is running. If you are not specifying a game server to claim, this value identifies where you want Amazon GameLift FleetIQ to look for an available game server to claim.

                                                                              pub fn game_server_group_name( mut self, diff --git a/sdk/gamelift/src/operation/create_alias/builders.rs b/sdk/gamelift/src/operation/create_alias/builders.rs index 52759907a6ad..5d98d4cffb6a 100644 --- a/sdk/gamelift/src/operation/create_alias/builders.rs +++ b/sdk/gamelift/src/operation/create_alias/builders.rs @@ -23,9 +23,9 @@ impl CreateAliasFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -81,6 +81,20 @@ impl CreateAliasFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::create_alias::CreateAlias, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                              A descriptive label that is associated with an alias. Alias names do not need to be unique.

                                                                              pub fn name(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.name(input.into()); diff --git a/sdk/gamelift/src/operation/create_build/builders.rs b/sdk/gamelift/src/operation/create_build/builders.rs index 76bc8d4f81b1..de611151fa7a 100644 --- a/sdk/gamelift/src/operation/create_build/builders.rs +++ b/sdk/gamelift/src/operation/create_build/builders.rs @@ -31,9 +31,9 @@ impl CreateBuildFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -89,6 +89,20 @@ impl CreateBuildFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::create_build::CreateBuild, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                              A descriptive label associated with a build. Build names don't need to be unique. You can change this value later.

                                                                              pub fn name(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.name(input.into()); diff --git a/sdk/gamelift/src/operation/create_fleet/builders.rs b/sdk/gamelift/src/operation/create_fleet/builders.rs index ef9c5898e66d..e2c89362b3cd 100644 --- a/sdk/gamelift/src/operation/create_fleet/builders.rs +++ b/sdk/gamelift/src/operation/create_fleet/builders.rs @@ -27,9 +27,9 @@ impl CreateFleetFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -85,6 +85,20 @@ impl CreateFleetFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::create_fleet::CreateFleet, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                              A descriptive label that is associated with a fleet. Fleet names do not need to be unique.

                                                                              pub fn name(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.name(input.into()); diff --git a/sdk/gamelift/src/operation/create_fleet_locations/builders.rs b/sdk/gamelift/src/operation/create_fleet_locations/builders.rs index edf0e5fc1e57..906df2deb4e6 100644 --- a/sdk/gamelift/src/operation/create_fleet_locations/builders.rs +++ b/sdk/gamelift/src/operation/create_fleet_locations/builders.rs @@ -26,9 +26,9 @@ impl CreateFleetLocationsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -90,6 +90,22 @@ impl CreateFleetLocationsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::create_fleet_locations::CreateFleetLocations, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::create_fleet_locations::CreateFleetLocationsError, + >, + > { + self.customize_middleware().await + } ///

                                                                              A unique identifier for the fleet to add locations to. You can use either the fleet ID or ARN value.

                                                                              pub fn fleet_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.fleet_id(input.into()); diff --git a/sdk/gamelift/src/operation/create_game_server_group/builders.rs b/sdk/gamelift/src/operation/create_game_server_group/builders.rs index 9324ac3dfdee..d611e715dc6d 100644 --- a/sdk/gamelift/src/operation/create_game_server_group/builders.rs +++ b/sdk/gamelift/src/operation/create_game_server_group/builders.rs @@ -29,9 +29,9 @@ impl CreateGameServerGroupFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -93,6 +93,22 @@ impl CreateGameServerGroupFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::create_game_server_group::CreateGameServerGroup, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::create_game_server_group::CreateGameServerGroupError, + >, + > { + self.customize_middleware().await + } ///

                                                                              An identifier for the new game server group. This value is used to generate unique ARN identifiers for the Amazon EC2 Auto Scaling group and the Amazon GameLift FleetIQ game server group. The name must be unique per Region per Amazon Web Services account.

                                                                              pub fn game_server_group_name( mut self, diff --git a/sdk/gamelift/src/operation/create_game_session/builders.rs b/sdk/gamelift/src/operation/create_game_session/builders.rs index abb6eaa1e927..10838197bcf8 100644 --- a/sdk/gamelift/src/operation/create_game_session/builders.rs +++ b/sdk/gamelift/src/operation/create_game_session/builders.rs @@ -31,9 +31,9 @@ impl CreateGameSessionFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -95,6 +95,22 @@ impl CreateGameSessionFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::create_game_session::CreateGameSession, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::create_game_session::CreateGameSessionError, + >, + > { + self.customize_middleware().await + } ///

                                                                              A unique identifier for the fleet to create a game session in. You can use either the fleet ID or ARN value. Each request must reference either a fleet ID or alias ID, but not both.

                                                                              pub fn fleet_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.fleet_id(input.into()); diff --git a/sdk/gamelift/src/operation/create_game_session_queue/builders.rs b/sdk/gamelift/src/operation/create_game_session_queue/builders.rs index ec737463d2ad..574359f69fe4 100644 --- a/sdk/gamelift/src/operation/create_game_session_queue/builders.rs +++ b/sdk/gamelift/src/operation/create_game_session_queue/builders.rs @@ -29,9 +29,9 @@ impl CreateGameSessionQueueFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -93,6 +93,22 @@ impl CreateGameSessionQueueFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::create_game_session_queue::CreateGameSessionQueue, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::create_game_session_queue::CreateGameSessionQueueError, + >, + > { + self.customize_middleware().await + } ///

                                                                              A descriptive label that is associated with game session queue. Queue names must be unique within each Region.

                                                                              pub fn name(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.name(input.into()); diff --git a/sdk/gamelift/src/operation/create_location/builders.rs b/sdk/gamelift/src/operation/create_location/builders.rs index 9ee9937b18a0..f3658b6741da 100644 --- a/sdk/gamelift/src/operation/create_location/builders.rs +++ b/sdk/gamelift/src/operation/create_location/builders.rs @@ -19,9 +19,9 @@ impl CreateLocationFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl CreateLocationFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::create_location::CreateLocation, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                              A descriptive name for the custom location.

                                                                              pub fn location_name( mut self, diff --git a/sdk/gamelift/src/operation/create_matchmaking_configuration/builders.rs b/sdk/gamelift/src/operation/create_matchmaking_configuration/builders.rs index 28422db19cdb..48a9232d13c9 100644 --- a/sdk/gamelift/src/operation/create_matchmaking_configuration/builders.rs +++ b/sdk/gamelift/src/operation/create_matchmaking_configuration/builders.rs @@ -24,9 +24,9 @@ impl CreateMatchmakingConfigurationFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -88,6 +88,22 @@ impl CreateMatchmakingConfigurationFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::create_matchmaking_configuration::CreateMatchmakingConfiguration, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::create_matchmaking_configuration::CreateMatchmakingConfigurationError, + >, + > { + self.customize_middleware().await + } ///

                                                                              A unique identifier for the matchmaking configuration. This name is used to identify the configuration associated with a matchmaking request or ticket.

                                                                              pub fn name(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.name(input.into()); diff --git a/sdk/gamelift/src/operation/create_matchmaking_rule_set/builders.rs b/sdk/gamelift/src/operation/create_matchmaking_rule_set/builders.rs index 2f6fca758583..b0e000cfaeaf 100644 --- a/sdk/gamelift/src/operation/create_matchmaking_rule_set/builders.rs +++ b/sdk/gamelift/src/operation/create_matchmaking_rule_set/builders.rs @@ -27,9 +27,9 @@ impl CreateMatchmakingRuleSetFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -91,6 +91,22 @@ impl CreateMatchmakingRuleSetFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::create_matchmaking_rule_set::CreateMatchmakingRuleSet, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::create_matchmaking_rule_set::CreateMatchmakingRuleSetError, + >, + > { + self.customize_middleware().await + } ///

                                                                              A unique identifier for the matchmaking rule set. A matchmaking configuration identifies the rule set it uses by this name value. Note that the rule set name is different from the optional name field in the rule set body.

                                                                              pub fn name(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.name(input.into()); diff --git a/sdk/gamelift/src/operation/create_player_session/builders.rs b/sdk/gamelift/src/operation/create_player_session/builders.rs index a86380653821..7e30540300ed 100644 --- a/sdk/gamelift/src/operation/create_player_session/builders.rs +++ b/sdk/gamelift/src/operation/create_player_session/builders.rs @@ -24,9 +24,9 @@ impl CreatePlayerSessionFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -88,6 +88,22 @@ impl CreatePlayerSessionFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::create_player_session::CreatePlayerSession, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::create_player_session::CreatePlayerSessionError, + >, + > { + self.customize_middleware().await + } ///

                                                                              A unique identifier for the game session to add a player to.

                                                                              pub fn game_session_id( mut self, diff --git a/sdk/gamelift/src/operation/create_player_sessions/builders.rs b/sdk/gamelift/src/operation/create_player_sessions/builders.rs index d7ba9786840a..823775440a04 100644 --- a/sdk/gamelift/src/operation/create_player_sessions/builders.rs +++ b/sdk/gamelift/src/operation/create_player_sessions/builders.rs @@ -24,9 +24,9 @@ impl CreatePlayerSessionsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -88,6 +88,22 @@ impl CreatePlayerSessionsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::create_player_sessions::CreatePlayerSessions, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::create_player_sessions::CreatePlayerSessionsError, + >, + > { + self.customize_middleware().await + } ///

                                                                              A unique identifier for the game session to add players to.

                                                                              pub fn game_session_id( mut self, diff --git a/sdk/gamelift/src/operation/create_script/builders.rs b/sdk/gamelift/src/operation/create_script/builders.rs index 4ae8dd6b59f0..237062848908 100644 --- a/sdk/gamelift/src/operation/create_script/builders.rs +++ b/sdk/gamelift/src/operation/create_script/builders.rs @@ -30,9 +30,9 @@ impl CreateScriptFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -88,6 +88,20 @@ impl CreateScriptFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::create_script::CreateScript, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                              A descriptive label that is associated with a script. Script names don't need to be unique. You can use UpdateScript to change this value later.

                                                                              pub fn name(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.name(input.into()); diff --git a/sdk/gamelift/src/operation/create_vpc_peering_authorization/builders.rs b/sdk/gamelift/src/operation/create_vpc_peering_authorization/builders.rs index d86e1be9a166..53e91b88f586 100644 --- a/sdk/gamelift/src/operation/create_vpc_peering_authorization/builders.rs +++ b/sdk/gamelift/src/operation/create_vpc_peering_authorization/builders.rs @@ -25,9 +25,9 @@ impl CreateVpcPeeringAuthorizationFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -89,6 +89,22 @@ impl CreateVpcPeeringAuthorizationFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::create_vpc_peering_authorization::CreateVpcPeeringAuthorization, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::create_vpc_peering_authorization::CreateVpcPeeringAuthorizationError, + >, + > { + self.customize_middleware().await + } ///

                                                                              A unique identifier for the Amazon Web Services account that you use to manage your Amazon GameLift fleet. You can find your Account ID in the Amazon Web Services Management Console under account settings.

                                                                              pub fn game_lift_aws_account_id( mut self, diff --git a/sdk/gamelift/src/operation/create_vpc_peering_connection/builders.rs b/sdk/gamelift/src/operation/create_vpc_peering_connection/builders.rs index 867ad6fcb2ca..afdb16f573d6 100644 --- a/sdk/gamelift/src/operation/create_vpc_peering_connection/builders.rs +++ b/sdk/gamelift/src/operation/create_vpc_peering_connection/builders.rs @@ -23,9 +23,9 @@ impl CreateVpcPeeringConnectionFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -87,6 +87,22 @@ impl CreateVpcPeeringConnectionFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::create_vpc_peering_connection::CreateVpcPeeringConnection, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::create_vpc_peering_connection::CreateVpcPeeringConnectionError, + >, + > { + self.customize_middleware().await + } ///

                                                                              A unique identifier for the fleet. You can use either the fleet ID or ARN value. This tells Amazon GameLift which GameLift VPC to peer with.

                                                                              pub fn fleet_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.fleet_id(input.into()); diff --git a/sdk/gamelift/src/operation/delete_alias/builders.rs b/sdk/gamelift/src/operation/delete_alias/builders.rs index 63e69c14b790..18e2fd23a1ca 100644 --- a/sdk/gamelift/src/operation/delete_alias/builders.rs +++ b/sdk/gamelift/src/operation/delete_alias/builders.rs @@ -21,9 +21,9 @@ impl DeleteAliasFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -79,6 +79,20 @@ impl DeleteAliasFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::delete_alias::DeleteAlias, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                              A unique identifier of the alias that you want to delete. You can use either the alias ID or ARN value.

                                                                              pub fn alias_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.alias_id(input.into()); diff --git a/sdk/gamelift/src/operation/delete_build/builders.rs b/sdk/gamelift/src/operation/delete_build/builders.rs index 5e2281148842..914a89039826 100644 --- a/sdk/gamelift/src/operation/delete_build/builders.rs +++ b/sdk/gamelift/src/operation/delete_build/builders.rs @@ -23,9 +23,9 @@ impl DeleteBuildFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -81,6 +81,20 @@ impl DeleteBuildFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::delete_build::DeleteBuild, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                              A unique identifier for the build to delete. You can use either the build ID or ARN value.

                                                                              pub fn build_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.build_id(input.into()); diff --git a/sdk/gamelift/src/operation/delete_fleet/builders.rs b/sdk/gamelift/src/operation/delete_fleet/builders.rs index b585bd848337..48e294ef51f5 100644 --- a/sdk/gamelift/src/operation/delete_fleet/builders.rs +++ b/sdk/gamelift/src/operation/delete_fleet/builders.rs @@ -24,9 +24,9 @@ impl DeleteFleetFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -82,6 +82,20 @@ impl DeleteFleetFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::delete_fleet::DeleteFleet, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                              A unique identifier for the fleet to be deleted. You can use either the fleet ID or ARN value.

                                                                              pub fn fleet_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.fleet_id(input.into()); diff --git a/sdk/gamelift/src/operation/delete_fleet_locations/builders.rs b/sdk/gamelift/src/operation/delete_fleet_locations/builders.rs index f6f616d0672d..bd274a643b0b 100644 --- a/sdk/gamelift/src/operation/delete_fleet_locations/builders.rs +++ b/sdk/gamelift/src/operation/delete_fleet_locations/builders.rs @@ -23,9 +23,9 @@ impl DeleteFleetLocationsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -87,6 +87,22 @@ impl DeleteFleetLocationsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::delete_fleet_locations::DeleteFleetLocations, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::delete_fleet_locations::DeleteFleetLocationsError, + >, + > { + self.customize_middleware().await + } ///

                                                                              A unique identifier for the fleet to delete locations for. You can use either the fleet ID or ARN value.

                                                                              pub fn fleet_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.fleet_id(input.into()); diff --git a/sdk/gamelift/src/operation/delete_game_server_group/builders.rs b/sdk/gamelift/src/operation/delete_game_server_group/builders.rs index 481367a90139..26d682e169d5 100644 --- a/sdk/gamelift/src/operation/delete_game_server_group/builders.rs +++ b/sdk/gamelift/src/operation/delete_game_server_group/builders.rs @@ -30,9 +30,9 @@ impl DeleteGameServerGroupFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -94,6 +94,22 @@ impl DeleteGameServerGroupFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::delete_game_server_group::DeleteGameServerGroup, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::delete_game_server_group::DeleteGameServerGroupError, + >, + > { + self.customize_middleware().await + } ///

                                                                              A unique identifier for the game server group. Use either the name or ARN value.

                                                                              pub fn game_server_group_name( mut self, diff --git a/sdk/gamelift/src/operation/delete_game_session_queue/builders.rs b/sdk/gamelift/src/operation/delete_game_session_queue/builders.rs index 7212f80fba0a..060db180fdd2 100644 --- a/sdk/gamelift/src/operation/delete_game_session_queue/builders.rs +++ b/sdk/gamelift/src/operation/delete_game_session_queue/builders.rs @@ -20,9 +20,9 @@ impl DeleteGameSessionQueueFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -84,6 +84,22 @@ impl DeleteGameSessionQueueFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::delete_game_session_queue::DeleteGameSessionQueue, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::delete_game_session_queue::DeleteGameSessionQueueError, + >, + > { + self.customize_middleware().await + } ///

                                                                              A descriptive label that is associated with game session queue. Queue names must be unique within each Region. You can use either the queue ID or ARN value.

                                                                              pub fn name(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.name(input.into()); diff --git a/sdk/gamelift/src/operation/delete_location/builders.rs b/sdk/gamelift/src/operation/delete_location/builders.rs index aa0bb2c0e2a4..7669b980131b 100644 --- a/sdk/gamelift/src/operation/delete_location/builders.rs +++ b/sdk/gamelift/src/operation/delete_location/builders.rs @@ -20,9 +20,9 @@ impl DeleteLocationFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -78,6 +78,20 @@ impl DeleteLocationFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::delete_location::DeleteLocation, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                              The location name of the custom location to be deleted.

                                                                              pub fn location_name( mut self, diff --git a/sdk/gamelift/src/operation/delete_matchmaking_configuration/builders.rs b/sdk/gamelift/src/operation/delete_matchmaking_configuration/builders.rs index 972cd169aea7..7873972fd85d 100644 --- a/sdk/gamelift/src/operation/delete_matchmaking_configuration/builders.rs +++ b/sdk/gamelift/src/operation/delete_matchmaking_configuration/builders.rs @@ -19,9 +19,9 @@ impl DeleteMatchmakingConfigurationFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl DeleteMatchmakingConfigurationFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::delete_matchmaking_configuration::DeleteMatchmakingConfiguration, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::delete_matchmaking_configuration::DeleteMatchmakingConfigurationError, + >, + > { + self.customize_middleware().await + } ///

                                                                              A unique identifier for the matchmaking configuration. You can use either the configuration name or ARN value.

                                                                              pub fn name(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.name(input.into()); diff --git a/sdk/gamelift/src/operation/delete_matchmaking_rule_set/builders.rs b/sdk/gamelift/src/operation/delete_matchmaking_rule_set/builders.rs index 4f68df21c92c..970872232e64 100644 --- a/sdk/gamelift/src/operation/delete_matchmaking_rule_set/builders.rs +++ b/sdk/gamelift/src/operation/delete_matchmaking_rule_set/builders.rs @@ -23,9 +23,9 @@ impl DeleteMatchmakingRuleSetFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -87,6 +87,22 @@ impl DeleteMatchmakingRuleSetFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::delete_matchmaking_rule_set::DeleteMatchmakingRuleSet, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::delete_matchmaking_rule_set::DeleteMatchmakingRuleSetError, + >, + > { + self.customize_middleware().await + } ///

                                                                              A unique identifier for the matchmaking rule set to be deleted. (Note: The rule set name is different from the optional "name" field in the rule set body.) You can use either the rule set name or ARN value.

                                                                              pub fn name(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.name(input.into()); diff --git a/sdk/gamelift/src/operation/delete_scaling_policy/builders.rs b/sdk/gamelift/src/operation/delete_scaling_policy/builders.rs index a565836e48af..bfc23d3cef45 100644 --- a/sdk/gamelift/src/operation/delete_scaling_policy/builders.rs +++ b/sdk/gamelift/src/operation/delete_scaling_policy/builders.rs @@ -20,9 +20,9 @@ impl DeleteScalingPolicyFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -84,6 +84,22 @@ impl DeleteScalingPolicyFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::delete_scaling_policy::DeleteScalingPolicy, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::delete_scaling_policy::DeleteScalingPolicyError, + >, + > { + self.customize_middleware().await + } ///

                                                                              A descriptive label that is associated with a fleet's scaling policy. Policy names do not need to be unique.

                                                                              pub fn name(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.name(input.into()); diff --git a/sdk/gamelift/src/operation/delete_script/builders.rs b/sdk/gamelift/src/operation/delete_script/builders.rs index ce77441527db..7cc9be242ae3 100644 --- a/sdk/gamelift/src/operation/delete_script/builders.rs +++ b/sdk/gamelift/src/operation/delete_script/builders.rs @@ -24,9 +24,9 @@ impl DeleteScriptFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -82,6 +82,20 @@ impl DeleteScriptFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::delete_script::DeleteScript, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                              A unique identifier for the Realtime script to delete. You can use either the script ID or ARN value.

                                                                              pub fn script_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.script_id(input.into()); diff --git a/sdk/gamelift/src/operation/delete_vpc_peering_authorization/builders.rs b/sdk/gamelift/src/operation/delete_vpc_peering_authorization/builders.rs index aa58ed6d7cec..9ea130d6f936 100644 --- a/sdk/gamelift/src/operation/delete_vpc_peering_authorization/builders.rs +++ b/sdk/gamelift/src/operation/delete_vpc_peering_authorization/builders.rs @@ -21,9 +21,9 @@ impl DeleteVpcPeeringAuthorizationFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -85,6 +85,22 @@ impl DeleteVpcPeeringAuthorizationFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::delete_vpc_peering_authorization::DeleteVpcPeeringAuthorization, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::delete_vpc_peering_authorization::DeleteVpcPeeringAuthorizationError, + >, + > { + self.customize_middleware().await + } ///

                                                                              A unique identifier for the Amazon Web Services account that you use to manage your Amazon GameLift fleet. You can find your Account ID in the Amazon Web Services Management Console under account settings.

                                                                              pub fn game_lift_aws_account_id( mut self, diff --git a/sdk/gamelift/src/operation/delete_vpc_peering_connection/builders.rs b/sdk/gamelift/src/operation/delete_vpc_peering_connection/builders.rs index c3a1bb5f018d..3e9e75280f3e 100644 --- a/sdk/gamelift/src/operation/delete_vpc_peering_connection/builders.rs +++ b/sdk/gamelift/src/operation/delete_vpc_peering_connection/builders.rs @@ -22,9 +22,9 @@ impl DeleteVpcPeeringConnectionFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -86,6 +86,22 @@ impl DeleteVpcPeeringConnectionFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::delete_vpc_peering_connection::DeleteVpcPeeringConnection, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::delete_vpc_peering_connection::DeleteVpcPeeringConnectionError, + >, + > { + self.customize_middleware().await + } ///

                                                                              A unique identifier for the fleet. This fleet specified must match the fleet referenced in the VPC peering connection record. You can use either the fleet ID or ARN value.

                                                                              pub fn fleet_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.fleet_id(input.into()); diff --git a/sdk/gamelift/src/operation/deregister_compute/builders.rs b/sdk/gamelift/src/operation/deregister_compute/builders.rs index b513f488d5c8..ed2e25ce5a40 100644 --- a/sdk/gamelift/src/operation/deregister_compute/builders.rs +++ b/sdk/gamelift/src/operation/deregister_compute/builders.rs @@ -19,9 +19,9 @@ impl DeregisterComputeFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl DeregisterComputeFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::deregister_compute::DeregisterCompute, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::deregister_compute::DeregisterComputeError, + >, + > { + self.customize_middleware().await + } ///

                                                                              >A unique identifier for the fleet the compute resource is registered to.

                                                                              pub fn fleet_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.fleet_id(input.into()); diff --git a/sdk/gamelift/src/operation/deregister_game_server/builders.rs b/sdk/gamelift/src/operation/deregister_game_server/builders.rs index 7fd8939b2068..196e5f9f3459 100644 --- a/sdk/gamelift/src/operation/deregister_game_server/builders.rs +++ b/sdk/gamelift/src/operation/deregister_game_server/builders.rs @@ -23,9 +23,9 @@ impl DeregisterGameServerFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -87,6 +87,22 @@ impl DeregisterGameServerFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::deregister_game_server::DeregisterGameServer, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::deregister_game_server::DeregisterGameServerError, + >, + > { + self.customize_middleware().await + } ///

                                                                              A unique identifier for the game server group where the game server is running.

                                                                              pub fn game_server_group_name( mut self, diff --git a/sdk/gamelift/src/operation/describe_alias/builders.rs b/sdk/gamelift/src/operation/describe_alias/builders.rs index 40223196bcba..9999953ef289 100644 --- a/sdk/gamelift/src/operation/describe_alias/builders.rs +++ b/sdk/gamelift/src/operation/describe_alias/builders.rs @@ -22,9 +22,9 @@ impl DescribeAliasFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -80,6 +80,20 @@ impl DescribeAliasFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::describe_alias::DescribeAlias, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                              The unique identifier for the fleet alias that you want to retrieve. You can use either the alias ID or ARN value.

                                                                              pub fn alias_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.alias_id(input.into()); diff --git a/sdk/gamelift/src/operation/describe_build/builders.rs b/sdk/gamelift/src/operation/describe_build/builders.rs index 992366274a31..337fe7e704b7 100644 --- a/sdk/gamelift/src/operation/describe_build/builders.rs +++ b/sdk/gamelift/src/operation/describe_build/builders.rs @@ -22,9 +22,9 @@ impl DescribeBuildFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -80,6 +80,20 @@ impl DescribeBuildFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::describe_build::DescribeBuild, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                              A unique identifier for the build to retrieve properties for. You can use either the build ID or ARN value.

                                                                              pub fn build_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.build_id(input.into()); diff --git a/sdk/gamelift/src/operation/describe_compute/builders.rs b/sdk/gamelift/src/operation/describe_compute/builders.rs index c6edcba026d2..daeb4a2a1a45 100644 --- a/sdk/gamelift/src/operation/describe_compute/builders.rs +++ b/sdk/gamelift/src/operation/describe_compute/builders.rs @@ -19,9 +19,9 @@ impl DescribeComputeFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl DescribeComputeFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::describe_compute::DescribeCompute, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::describe_compute::DescribeComputeError, + >, + > { + self.customize_middleware().await + } ///

                                                                              A unique identifier for the fleet the compute is registered to.

                                                                              pub fn fleet_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.fleet_id(input.into()); diff --git a/sdk/gamelift/src/operation/describe_ec2_instance_limits/builders.rs b/sdk/gamelift/src/operation/describe_ec2_instance_limits/builders.rs index c66a40729b41..8715c6d72b24 100644 --- a/sdk/gamelift/src/operation/describe_ec2_instance_limits/builders.rs +++ b/sdk/gamelift/src/operation/describe_ec2_instance_limits/builders.rs @@ -33,9 +33,9 @@ impl DescribeEC2InstanceLimitsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -97,6 +97,22 @@ impl DescribeEC2InstanceLimitsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::describe_ec2_instance_limits::DescribeEC2InstanceLimits, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::describe_ec2_instance_limits::DescribeEC2InstanceLimitsError, + >, + > { + self.customize_middleware().await + } ///

                                                                              Name of an Amazon EC2 instance type that is supported in Amazon GameLift. A fleet instance type determines the computing resources of each instance in the fleet, including CPU, memory, storage, and networking capacity. Do not specify a value for this parameter to retrieve limits for all instance types.

                                                                              pub fn ec2_instance_type(mut self, input: crate::types::Ec2InstanceType) -> Self { self.inner = self.inner.ec2_instance_type(input); diff --git a/sdk/gamelift/src/operation/describe_fleet_attributes/builders.rs b/sdk/gamelift/src/operation/describe_fleet_attributes/builders.rs index 2477c48d5c1b..7044522de18a 100644 --- a/sdk/gamelift/src/operation/describe_fleet_attributes/builders.rs +++ b/sdk/gamelift/src/operation/describe_fleet_attributes/builders.rs @@ -31,9 +31,9 @@ impl DescribeFleetAttributesFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -95,6 +95,22 @@ impl DescribeFleetAttributesFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::describe_fleet_attributes::DescribeFleetAttributes, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::describe_fleet_attributes::DescribeFleetAttributesError, + >, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::describe_fleet_attributes::paginator::DescribeFleetAttributesPaginator::send) which returns a `Stream`. diff --git a/sdk/gamelift/src/operation/describe_fleet_capacity/builders.rs b/sdk/gamelift/src/operation/describe_fleet_capacity/builders.rs index 6388ae76053a..0d957fe8c286 100644 --- a/sdk/gamelift/src/operation/describe_fleet_capacity/builders.rs +++ b/sdk/gamelift/src/operation/describe_fleet_capacity/builders.rs @@ -31,9 +31,9 @@ impl DescribeFleetCapacityFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -95,6 +95,22 @@ impl DescribeFleetCapacityFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::describe_fleet_capacity::DescribeFleetCapacity, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::describe_fleet_capacity::DescribeFleetCapacityError, + >, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::describe_fleet_capacity::paginator::DescribeFleetCapacityPaginator::send) which returns a `Stream`. diff --git a/sdk/gamelift/src/operation/describe_fleet_events/builders.rs b/sdk/gamelift/src/operation/describe_fleet_events/builders.rs index 52ef38ce8861..5b2682195526 100644 --- a/sdk/gamelift/src/operation/describe_fleet_events/builders.rs +++ b/sdk/gamelift/src/operation/describe_fleet_events/builders.rs @@ -23,9 +23,9 @@ impl DescribeFleetEventsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -87,6 +87,22 @@ impl DescribeFleetEventsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::describe_fleet_events::DescribeFleetEvents, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::describe_fleet_events::DescribeFleetEventsError, + >, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::describe_fleet_events::paginator::DescribeFleetEventsPaginator::send) which returns a `Stream`. diff --git a/sdk/gamelift/src/operation/describe_fleet_location_attributes/builders.rs b/sdk/gamelift/src/operation/describe_fleet_location_attributes/builders.rs index 69fcc5f25be2..3004f8c98fb6 100644 --- a/sdk/gamelift/src/operation/describe_fleet_location_attributes/builders.rs +++ b/sdk/gamelift/src/operation/describe_fleet_location_attributes/builders.rs @@ -28,9 +28,9 @@ impl DescribeFleetLocationAttributesFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize(self) -> ::std::result::Result< + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware(self) -> ::std::result::Result< crate::client::customize::CustomizableOperation, ::aws_smithy_http::result::SdkError >{ @@ -73,6 +73,15 @@ impl DescribeFleetLocationAttributesFluentBuilder { { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize(self) -> ::std::result::Result< + crate::client::customize::CustomizableOperation, + ::aws_smithy_http::result::SdkError + >{ + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::describe_fleet_location_attributes::paginator::DescribeFleetLocationAttributesPaginator::send) which returns a `Stream`. diff --git a/sdk/gamelift/src/operation/describe_fleet_location_capacity/builders.rs b/sdk/gamelift/src/operation/describe_fleet_location_capacity/builders.rs index 1fd554d59b11..6b78fbbce224 100644 --- a/sdk/gamelift/src/operation/describe_fleet_location_capacity/builders.rs +++ b/sdk/gamelift/src/operation/describe_fleet_location_capacity/builders.rs @@ -24,9 +24,9 @@ impl DescribeFleetLocationCapacityFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -88,6 +88,22 @@ impl DescribeFleetLocationCapacityFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::describe_fleet_location_capacity::DescribeFleetLocationCapacity, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::describe_fleet_location_capacity::DescribeFleetLocationCapacityError, + >, + > { + self.customize_middleware().await + } ///

                                                                              A unique identifier for the fleet to request location capacity for. You can use either the fleet ID or ARN value.

                                                                              pub fn fleet_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.fleet_id(input.into()); diff --git a/sdk/gamelift/src/operation/describe_fleet_location_utilization/builders.rs b/sdk/gamelift/src/operation/describe_fleet_location_utilization/builders.rs index bc8ccea777b2..4b1cfef90c32 100644 --- a/sdk/gamelift/src/operation/describe_fleet_location_utilization/builders.rs +++ b/sdk/gamelift/src/operation/describe_fleet_location_utilization/builders.rs @@ -24,9 +24,9 @@ impl DescribeFleetLocationUtilizationFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize(self) -> ::std::result::Result< + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware(self) -> ::std::result::Result< crate::client::customize::CustomizableOperation, ::aws_smithy_http::result::SdkError >{ @@ -69,6 +69,15 @@ impl DescribeFleetLocationUtilizationFluentBuilder { { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize(self) -> ::std::result::Result< + crate::client::customize::CustomizableOperation, + ::aws_smithy_http::result::SdkError + >{ + self.customize_middleware().await + } ///

                                                                              A unique identifier for the fleet to request location utilization for. You can use either the fleet ID or ARN value.

                                                                              pub fn fleet_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.fleet_id(input.into()); diff --git a/sdk/gamelift/src/operation/describe_fleet_port_settings/builders.rs b/sdk/gamelift/src/operation/describe_fleet_port_settings/builders.rs index dfd24b09a917..7ff65ec8e81c 100644 --- a/sdk/gamelift/src/operation/describe_fleet_port_settings/builders.rs +++ b/sdk/gamelift/src/operation/describe_fleet_port_settings/builders.rs @@ -27,9 +27,9 @@ impl DescribeFleetPortSettingsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -91,6 +91,22 @@ impl DescribeFleetPortSettingsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::describe_fleet_port_settings::DescribeFleetPortSettings, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::describe_fleet_port_settings::DescribeFleetPortSettingsError, + >, + > { + self.customize_middleware().await + } ///

                                                                              A unique identifier for the fleet to retrieve port settings for. You can use either the fleet ID or ARN value.

                                                                              pub fn fleet_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.fleet_id(input.into()); diff --git a/sdk/gamelift/src/operation/describe_fleet_utilization/builders.rs b/sdk/gamelift/src/operation/describe_fleet_utilization/builders.rs index 2127b492e12e..5b9e112845b0 100644 --- a/sdk/gamelift/src/operation/describe_fleet_utilization/builders.rs +++ b/sdk/gamelift/src/operation/describe_fleet_utilization/builders.rs @@ -31,9 +31,9 @@ impl DescribeFleetUtilizationFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -95,6 +95,22 @@ impl DescribeFleetUtilizationFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::describe_fleet_utilization::DescribeFleetUtilization, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::describe_fleet_utilization::DescribeFleetUtilizationError, + >, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::describe_fleet_utilization::paginator::DescribeFleetUtilizationPaginator::send) which returns a `Stream`. diff --git a/sdk/gamelift/src/operation/describe_game_server/builders.rs b/sdk/gamelift/src/operation/describe_game_server/builders.rs index 435c13c5b406..cab8f2074dbb 100644 --- a/sdk/gamelift/src/operation/describe_game_server/builders.rs +++ b/sdk/gamelift/src/operation/describe_game_server/builders.rs @@ -23,9 +23,9 @@ impl DescribeGameServerFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -87,6 +87,22 @@ impl DescribeGameServerFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::describe_game_server::DescribeGameServer, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::describe_game_server::DescribeGameServerError, + >, + > { + self.customize_middleware().await + } ///

                                                                              A unique identifier for the game server group where the game server is running.

                                                                              pub fn game_server_group_name( mut self, diff --git a/sdk/gamelift/src/operation/describe_game_server_group/builders.rs b/sdk/gamelift/src/operation/describe_game_server_group/builders.rs index 51bfaa8bf557..3032a9daf711 100644 --- a/sdk/gamelift/src/operation/describe_game_server_group/builders.rs +++ b/sdk/gamelift/src/operation/describe_game_server_group/builders.rs @@ -24,9 +24,9 @@ impl DescribeGameServerGroupFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -88,6 +88,22 @@ impl DescribeGameServerGroupFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::describe_game_server_group::DescribeGameServerGroup, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::describe_game_server_group::DescribeGameServerGroupError, + >, + > { + self.customize_middleware().await + } ///

                                                                              A unique identifier for the game server group. Use either the name or ARN value.

                                                                              pub fn game_server_group_name( mut self, diff --git a/sdk/gamelift/src/operation/describe_game_server_instances/builders.rs b/sdk/gamelift/src/operation/describe_game_server_instances/builders.rs index 0620cd4872b1..6f799e2e20ea 100644 --- a/sdk/gamelift/src/operation/describe_game_server_instances/builders.rs +++ b/sdk/gamelift/src/operation/describe_game_server_instances/builders.rs @@ -24,9 +24,9 @@ impl DescribeGameServerInstancesFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -88,6 +88,22 @@ impl DescribeGameServerInstancesFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::describe_game_server_instances::DescribeGameServerInstances, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::describe_game_server_instances::DescribeGameServerInstancesError, + >, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::describe_game_server_instances::paginator::DescribeGameServerInstancesPaginator::send) which returns a `Stream`. diff --git a/sdk/gamelift/src/operation/describe_game_session_details/builders.rs b/sdk/gamelift/src/operation/describe_game_session_details/builders.rs index 381f1f943da6..c6caede1e0f9 100644 --- a/sdk/gamelift/src/operation/describe_game_session_details/builders.rs +++ b/sdk/gamelift/src/operation/describe_game_session_details/builders.rs @@ -30,9 +30,9 @@ impl DescribeGameSessionDetailsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -94,6 +94,22 @@ impl DescribeGameSessionDetailsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::describe_game_session_details::DescribeGameSessionDetails, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::describe_game_session_details::DescribeGameSessionDetailsError, + >, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::describe_game_session_details::paginator::DescribeGameSessionDetailsPaginator::send) which returns a `Stream`. diff --git a/sdk/gamelift/src/operation/describe_game_session_placement/builders.rs b/sdk/gamelift/src/operation/describe_game_session_placement/builders.rs index 96af5bce583f..3bc86fa2f6e6 100644 --- a/sdk/gamelift/src/operation/describe_game_session_placement/builders.rs +++ b/sdk/gamelift/src/operation/describe_game_session_placement/builders.rs @@ -21,9 +21,9 @@ impl DescribeGameSessionPlacementFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -85,6 +85,22 @@ impl DescribeGameSessionPlacementFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::describe_game_session_placement::DescribeGameSessionPlacement, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::describe_game_session_placement::DescribeGameSessionPlacementError, + >, + > { + self.customize_middleware().await + } ///

                                                                              A unique identifier for a game session placement to retrieve.

                                                                              pub fn placement_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.placement_id(input.into()); diff --git a/sdk/gamelift/src/operation/describe_game_session_queues/builders.rs b/sdk/gamelift/src/operation/describe_game_session_queues/builders.rs index a70ce1ae472d..03a78debe414 100644 --- a/sdk/gamelift/src/operation/describe_game_session_queues/builders.rs +++ b/sdk/gamelift/src/operation/describe_game_session_queues/builders.rs @@ -21,9 +21,9 @@ impl DescribeGameSessionQueuesFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -85,6 +85,22 @@ impl DescribeGameSessionQueuesFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::describe_game_session_queues::DescribeGameSessionQueues, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::describe_game_session_queues::DescribeGameSessionQueuesError, + >, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::describe_game_session_queues::paginator::DescribeGameSessionQueuesPaginator::send) which returns a `Stream`. diff --git a/sdk/gamelift/src/operation/describe_game_sessions/builders.rs b/sdk/gamelift/src/operation/describe_game_sessions/builders.rs index 6f1798781945..cd255b6a9026 100644 --- a/sdk/gamelift/src/operation/describe_game_sessions/builders.rs +++ b/sdk/gamelift/src/operation/describe_game_sessions/builders.rs @@ -32,9 +32,9 @@ impl DescribeGameSessionsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -96,6 +96,22 @@ impl DescribeGameSessionsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::describe_game_sessions::DescribeGameSessions, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::describe_game_sessions::DescribeGameSessionsError, + >, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::describe_game_sessions::paginator::DescribeGameSessionsPaginator::send) which returns a `Stream`. diff --git a/sdk/gamelift/src/operation/describe_instances/builders.rs b/sdk/gamelift/src/operation/describe_instances/builders.rs index 6600989537de..ca0da5d21db7 100644 --- a/sdk/gamelift/src/operation/describe_instances/builders.rs +++ b/sdk/gamelift/src/operation/describe_instances/builders.rs @@ -32,9 +32,9 @@ impl DescribeInstancesFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -96,6 +96,22 @@ impl DescribeInstancesFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::describe_instances::DescribeInstances, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::describe_instances::DescribeInstancesError, + >, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::describe_instances::paginator::DescribeInstancesPaginator::send) which returns a `Stream`. diff --git a/sdk/gamelift/src/operation/describe_matchmaking/builders.rs b/sdk/gamelift/src/operation/describe_matchmaking/builders.rs index fc17dc308d92..b31cff509f09 100644 --- a/sdk/gamelift/src/operation/describe_matchmaking/builders.rs +++ b/sdk/gamelift/src/operation/describe_matchmaking/builders.rs @@ -25,9 +25,9 @@ impl DescribeMatchmakingFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -89,6 +89,22 @@ impl DescribeMatchmakingFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::describe_matchmaking::DescribeMatchmaking, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::describe_matchmaking::DescribeMatchmakingError, + >, + > { + self.customize_middleware().await + } /// Appends an item to `TicketIds`. /// /// To override the contents of this collection use [`set_ticket_ids`](Self::set_ticket_ids). diff --git a/sdk/gamelift/src/operation/describe_matchmaking_configurations/builders.rs b/sdk/gamelift/src/operation/describe_matchmaking_configurations/builders.rs index d90375f42abc..855a19c04dc6 100644 --- a/sdk/gamelift/src/operation/describe_matchmaking_configurations/builders.rs +++ b/sdk/gamelift/src/operation/describe_matchmaking_configurations/builders.rs @@ -23,9 +23,9 @@ impl DescribeMatchmakingConfigurationsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize(self) -> ::std::result::Result< + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware(self) -> ::std::result::Result< crate::client::customize::CustomizableOperation, ::aws_smithy_http::result::SdkError >{ @@ -68,6 +68,15 @@ impl DescribeMatchmakingConfigurationsFluentBuilder { { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize(self) -> ::std::result::Result< + crate::client::customize::CustomizableOperation, + ::aws_smithy_http::result::SdkError + >{ + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::describe_matchmaking_configurations::paginator::DescribeMatchmakingConfigurationsPaginator::send) which returns a `Stream`. diff --git a/sdk/gamelift/src/operation/describe_matchmaking_rule_sets/builders.rs b/sdk/gamelift/src/operation/describe_matchmaking_rule_sets/builders.rs index 842ac2f4c3e0..991289ac52eb 100644 --- a/sdk/gamelift/src/operation/describe_matchmaking_rule_sets/builders.rs +++ b/sdk/gamelift/src/operation/describe_matchmaking_rule_sets/builders.rs @@ -23,9 +23,9 @@ impl DescribeMatchmakingRuleSetsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -87,6 +87,22 @@ impl DescribeMatchmakingRuleSetsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::describe_matchmaking_rule_sets::DescribeMatchmakingRuleSets, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::describe_matchmaking_rule_sets::DescribeMatchmakingRuleSetsError, + >, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::describe_matchmaking_rule_sets::paginator::DescribeMatchmakingRuleSetsPaginator::send) which returns a `Stream`. diff --git a/sdk/gamelift/src/operation/describe_player_sessions/builders.rs b/sdk/gamelift/src/operation/describe_player_sessions/builders.rs index ea268564b154..97564115e42d 100644 --- a/sdk/gamelift/src/operation/describe_player_sessions/builders.rs +++ b/sdk/gamelift/src/operation/describe_player_sessions/builders.rs @@ -29,9 +29,9 @@ impl DescribePlayerSessionsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -93,6 +93,22 @@ impl DescribePlayerSessionsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::describe_player_sessions::DescribePlayerSessions, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::describe_player_sessions::DescribePlayerSessionsError, + >, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::describe_player_sessions::paginator::DescribePlayerSessionsPaginator::send) which returns a `Stream`. diff --git a/sdk/gamelift/src/operation/describe_runtime_configuration/builders.rs b/sdk/gamelift/src/operation/describe_runtime_configuration/builders.rs index 78dc760835ff..69e4855dd3a0 100644 --- a/sdk/gamelift/src/operation/describe_runtime_configuration/builders.rs +++ b/sdk/gamelift/src/operation/describe_runtime_configuration/builders.rs @@ -24,9 +24,9 @@ impl DescribeRuntimeConfigurationFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -88,6 +88,22 @@ impl DescribeRuntimeConfigurationFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::describe_runtime_configuration::DescribeRuntimeConfiguration, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::describe_runtime_configuration::DescribeRuntimeConfigurationError, + >, + > { + self.customize_middleware().await + } ///

                                                                              A unique identifier for the fleet to get the runtime configuration for. You can use either the fleet ID or ARN value.

                                                                              pub fn fleet_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.fleet_id(input.into()); diff --git a/sdk/gamelift/src/operation/describe_scaling_policies/builders.rs b/sdk/gamelift/src/operation/describe_scaling_policies/builders.rs index d9705e38aff4..1a24b5dd4c41 100644 --- a/sdk/gamelift/src/operation/describe_scaling_policies/builders.rs +++ b/sdk/gamelift/src/operation/describe_scaling_policies/builders.rs @@ -22,9 +22,9 @@ impl DescribeScalingPoliciesFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -86,6 +86,22 @@ impl DescribeScalingPoliciesFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::describe_scaling_policies::DescribeScalingPolicies, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::describe_scaling_policies::DescribeScalingPoliciesError, + >, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::describe_scaling_policies::paginator::DescribeScalingPoliciesPaginator::send) which returns a `Stream`. diff --git a/sdk/gamelift/src/operation/describe_script/builders.rs b/sdk/gamelift/src/operation/describe_script/builders.rs index e19c9568946f..4ef8d036a710 100644 --- a/sdk/gamelift/src/operation/describe_script/builders.rs +++ b/sdk/gamelift/src/operation/describe_script/builders.rs @@ -24,9 +24,9 @@ impl DescribeScriptFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -82,6 +82,20 @@ impl DescribeScriptFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::describe_script::DescribeScript, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                              A unique identifier for the Realtime script to retrieve properties for. You can use either the script ID or ARN value.

                                                                              pub fn script_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.script_id(input.into()); diff --git a/sdk/gamelift/src/operation/describe_vpc_peering_authorizations/builders.rs b/sdk/gamelift/src/operation/describe_vpc_peering_authorizations/builders.rs index ba2bd11aaf06..96119189b4ea 100644 --- a/sdk/gamelift/src/operation/describe_vpc_peering_authorizations/builders.rs +++ b/sdk/gamelift/src/operation/describe_vpc_peering_authorizations/builders.rs @@ -21,9 +21,9 @@ impl DescribeVpcPeeringAuthorizationsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize(self) -> ::std::result::Result< + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware(self) -> ::std::result::Result< crate::client::customize::CustomizableOperation, ::aws_smithy_http::result::SdkError >{ @@ -66,4 +66,13 @@ impl DescribeVpcPeeringAuthorizationsFluentBuilder { { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize(self) -> ::std::result::Result< + crate::client::customize::CustomizableOperation, + ::aws_smithy_http::result::SdkError + >{ + self.customize_middleware().await + } } diff --git a/sdk/gamelift/src/operation/describe_vpc_peering_connections/builders.rs b/sdk/gamelift/src/operation/describe_vpc_peering_connections/builders.rs index 77d34b8fb1bc..94c52c1dc78e 100644 --- a/sdk/gamelift/src/operation/describe_vpc_peering_connections/builders.rs +++ b/sdk/gamelift/src/operation/describe_vpc_peering_connections/builders.rs @@ -22,9 +22,9 @@ impl DescribeVpcPeeringConnectionsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -86,6 +86,22 @@ impl DescribeVpcPeeringConnectionsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::describe_vpc_peering_connections::DescribeVpcPeeringConnections, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::describe_vpc_peering_connections::DescribeVpcPeeringConnectionsError, + >, + > { + self.customize_middleware().await + } ///

                                                                              A unique identifier for the fleet. You can use either the fleet ID or ARN value.

                                                                              pub fn fleet_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.fleet_id(input.into()); diff --git a/sdk/gamelift/src/operation/get_compute_access/builders.rs b/sdk/gamelift/src/operation/get_compute_access/builders.rs index a4221f3e8805..4debb946a65e 100644 --- a/sdk/gamelift/src/operation/get_compute_access/builders.rs +++ b/sdk/gamelift/src/operation/get_compute_access/builders.rs @@ -24,9 +24,9 @@ impl GetComputeAccessFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -88,6 +88,22 @@ impl GetComputeAccessFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::get_compute_access::GetComputeAccess, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::get_compute_access::GetComputeAccessError, + >, + > { + self.customize_middleware().await + } ///

                                                                              A unique identifier for the fleet that the compute resource is registered to.

                                                                              pub fn fleet_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.fleet_id(input.into()); diff --git a/sdk/gamelift/src/operation/get_compute_auth_token/builders.rs b/sdk/gamelift/src/operation/get_compute_auth_token/builders.rs index ac503677f895..1e45a860e835 100644 --- a/sdk/gamelift/src/operation/get_compute_auth_token/builders.rs +++ b/sdk/gamelift/src/operation/get_compute_auth_token/builders.rs @@ -19,9 +19,9 @@ impl GetComputeAuthTokenFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl GetComputeAuthTokenFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::get_compute_auth_token::GetComputeAuthToken, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::get_compute_auth_token::GetComputeAuthTokenError, + >, + > { + self.customize_middleware().await + } ///

                                                                              A unique identifier for the fleet that the compute is registered to.

                                                                              pub fn fleet_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.fleet_id(input.into()); diff --git a/sdk/gamelift/src/operation/get_game_session_log_url/builders.rs b/sdk/gamelift/src/operation/get_game_session_log_url/builders.rs index cee22bb51dbe..dc030ca66674 100644 --- a/sdk/gamelift/src/operation/get_game_session_log_url/builders.rs +++ b/sdk/gamelift/src/operation/get_game_session_log_url/builders.rs @@ -22,9 +22,9 @@ impl GetGameSessionLogUrlFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -86,6 +86,22 @@ impl GetGameSessionLogUrlFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::get_game_session_log_url::GetGameSessionLogUrl, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::get_game_session_log_url::GetGameSessionLogUrlError, + >, + > { + self.customize_middleware().await + } ///

                                                                              A unique identifier for the game session to get logs for.

                                                                              pub fn game_session_id( mut self, diff --git a/sdk/gamelift/src/operation/get_instance_access/builders.rs b/sdk/gamelift/src/operation/get_instance_access/builders.rs index 0c7af12ac435..c41e0980b0da 100644 --- a/sdk/gamelift/src/operation/get_instance_access/builders.rs +++ b/sdk/gamelift/src/operation/get_instance_access/builders.rs @@ -26,9 +26,9 @@ impl GetInstanceAccessFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -90,6 +90,22 @@ impl GetInstanceAccessFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::get_instance_access::GetInstanceAccess, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::get_instance_access::GetInstanceAccessError, + >, + > { + self.customize_middleware().await + } ///

                                                                              A unique identifier for the fleet that contains the instance you want access to. You can use either the fleet ID or ARN value. The fleet can be in any of the following statuses: ACTIVATING, ACTIVE, or ERROR. Fleets with an ERROR status may be accessible for a short time before they are deleted.

                                                                              pub fn fleet_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.fleet_id(input.into()); diff --git a/sdk/gamelift/src/operation/list_aliases/builders.rs b/sdk/gamelift/src/operation/list_aliases/builders.rs index 6934cd139532..7ac945f7e8e1 100644 --- a/sdk/gamelift/src/operation/list_aliases/builders.rs +++ b/sdk/gamelift/src/operation/list_aliases/builders.rs @@ -23,9 +23,9 @@ impl ListAliasesFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -81,6 +81,20 @@ impl ListAliasesFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_aliases::ListAliases, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::list_aliases::paginator::ListAliasesPaginator::send) which returns a `Stream`. diff --git a/sdk/gamelift/src/operation/list_builds/builders.rs b/sdk/gamelift/src/operation/list_builds/builders.rs index bec9e003798e..f2674e2c8a9e 100644 --- a/sdk/gamelift/src/operation/list_builds/builders.rs +++ b/sdk/gamelift/src/operation/list_builds/builders.rs @@ -24,9 +24,9 @@ impl ListBuildsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -82,6 +82,20 @@ impl ListBuildsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_builds::ListBuilds, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::list_builds::paginator::ListBuildsPaginator::send) which returns a `Stream`. diff --git a/sdk/gamelift/src/operation/list_compute/builders.rs b/sdk/gamelift/src/operation/list_compute/builders.rs index fe0ddea9a05a..b404ef2a01e0 100644 --- a/sdk/gamelift/src/operation/list_compute/builders.rs +++ b/sdk/gamelift/src/operation/list_compute/builders.rs @@ -19,9 +19,9 @@ impl ListComputeFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl ListComputeFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_compute::ListCompute, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::list_compute::paginator::ListComputePaginator::send) which returns a `Stream`. diff --git a/sdk/gamelift/src/operation/list_fleets/builders.rs b/sdk/gamelift/src/operation/list_fleets/builders.rs index 0263ecf92f8b..4bdcaa93583c 100644 --- a/sdk/gamelift/src/operation/list_fleets/builders.rs +++ b/sdk/gamelift/src/operation/list_fleets/builders.rs @@ -31,9 +31,9 @@ impl ListFleetsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -89,6 +89,20 @@ impl ListFleetsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_fleets::ListFleets, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::list_fleets::paginator::ListFleetsPaginator::send) which returns a `Stream`. diff --git a/sdk/gamelift/src/operation/list_game_server_groups/builders.rs b/sdk/gamelift/src/operation/list_game_server_groups/builders.rs index 72868988c671..619d65e2bffe 100644 --- a/sdk/gamelift/src/operation/list_game_server_groups/builders.rs +++ b/sdk/gamelift/src/operation/list_game_server_groups/builders.rs @@ -19,9 +19,9 @@ impl ListGameServerGroupsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl ListGameServerGroupsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_game_server_groups::ListGameServerGroups, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::list_game_server_groups::ListGameServerGroupsError, + >, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::list_game_server_groups::paginator::ListGameServerGroupsPaginator::send) which returns a `Stream`. diff --git a/sdk/gamelift/src/operation/list_game_servers/builders.rs b/sdk/gamelift/src/operation/list_game_servers/builders.rs index 6f1c4d68a553..d780326a0172 100644 --- a/sdk/gamelift/src/operation/list_game_servers/builders.rs +++ b/sdk/gamelift/src/operation/list_game_servers/builders.rs @@ -22,9 +22,9 @@ impl ListGameServersFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -86,6 +86,22 @@ impl ListGameServersFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_game_servers::ListGameServers, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::list_game_servers::ListGameServersError, + >, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::list_game_servers::paginator::ListGameServersPaginator::send) which returns a `Stream`. diff --git a/sdk/gamelift/src/operation/list_locations/builders.rs b/sdk/gamelift/src/operation/list_locations/builders.rs index 9d98c12cf6fc..4ca4c4be7f44 100644 --- a/sdk/gamelift/src/operation/list_locations/builders.rs +++ b/sdk/gamelift/src/operation/list_locations/builders.rs @@ -19,9 +19,9 @@ impl ListLocationsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl ListLocationsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_locations::ListLocations, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::list_locations::paginator::ListLocationsPaginator::send) which returns a `Stream`. diff --git a/sdk/gamelift/src/operation/list_scripts/builders.rs b/sdk/gamelift/src/operation/list_scripts/builders.rs index ec8390c21bc4..804b81d56635 100644 --- a/sdk/gamelift/src/operation/list_scripts/builders.rs +++ b/sdk/gamelift/src/operation/list_scripts/builders.rs @@ -23,9 +23,9 @@ impl ListScriptsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -81,6 +81,20 @@ impl ListScriptsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_scripts::ListScripts, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::list_scripts::paginator::ListScriptsPaginator::send) which returns a `Stream`. diff --git a/sdk/gamelift/src/operation/list_tags_for_resource/builders.rs b/sdk/gamelift/src/operation/list_tags_for_resource/builders.rs index b1727552e75c..a9217032c6ae 100644 --- a/sdk/gamelift/src/operation/list_tags_for_resource/builders.rs +++ b/sdk/gamelift/src/operation/list_tags_for_resource/builders.rs @@ -25,9 +25,9 @@ impl ListTagsForResourceFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -89,6 +89,22 @@ impl ListTagsForResourceFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_tags_for_resource::ListTagsForResource, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::list_tags_for_resource::ListTagsForResourceError, + >, + > { + self.customize_middleware().await + } ///

                                                                              The Amazon Resource Name (ARN) that uniquely identifies the Amazon GameLift resource that you want to retrieve tags for. Amazon GameLift includes resource ARNs in the data object for the resource. You can retrieve the ARN by calling a List or Describe operation for the resource type.

                                                                              pub fn resource_arn(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.resource_arn(input.into()); diff --git a/sdk/gamelift/src/operation/put_scaling_policy/builders.rs b/sdk/gamelift/src/operation/put_scaling_policy/builders.rs index 1f2ee6f6806d..b44286a90fca 100644 --- a/sdk/gamelift/src/operation/put_scaling_policy/builders.rs +++ b/sdk/gamelift/src/operation/put_scaling_policy/builders.rs @@ -33,9 +33,9 @@ impl PutScalingPolicyFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -97,6 +97,22 @@ impl PutScalingPolicyFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::put_scaling_policy::PutScalingPolicy, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::put_scaling_policy::PutScalingPolicyError, + >, + > { + self.customize_middleware().await + } ///

                                                                              A descriptive label that is associated with a fleet's scaling policy. Policy names do not need to be unique. A fleet can have only one scaling policy with the same name.

                                                                              pub fn name(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.name(input.into()); diff --git a/sdk/gamelift/src/operation/register_compute/builders.rs b/sdk/gamelift/src/operation/register_compute/builders.rs index 68ebe5c21a0e..d7ad121800f4 100644 --- a/sdk/gamelift/src/operation/register_compute/builders.rs +++ b/sdk/gamelift/src/operation/register_compute/builders.rs @@ -24,9 +24,9 @@ impl RegisterComputeFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -88,6 +88,22 @@ impl RegisterComputeFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::register_compute::RegisterCompute, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::register_compute::RegisterComputeError, + >, + > { + self.customize_middleware().await + } ///

                                                                              A unique identifier for the fleet to register the compute to. You can use either the fleet ID or ARN value.

                                                                              pub fn fleet_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.fleet_id(input.into()); diff --git a/sdk/gamelift/src/operation/register_game_server/builders.rs b/sdk/gamelift/src/operation/register_game_server/builders.rs index aa88635acff2..dfbbce992742 100644 --- a/sdk/gamelift/src/operation/register_game_server/builders.rs +++ b/sdk/gamelift/src/operation/register_game_server/builders.rs @@ -24,9 +24,9 @@ impl RegisterGameServerFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -88,6 +88,22 @@ impl RegisterGameServerFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::register_game_server::RegisterGameServer, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::register_game_server::RegisterGameServerError, + >, + > { + self.customize_middleware().await + } ///

                                                                              A unique identifier for the game server group where the game server is running.

                                                                              pub fn game_server_group_name( mut self, diff --git a/sdk/gamelift/src/operation/request_upload_credentials/builders.rs b/sdk/gamelift/src/operation/request_upload_credentials/builders.rs index c39ca655bfd6..ae3bfad05e27 100644 --- a/sdk/gamelift/src/operation/request_upload_credentials/builders.rs +++ b/sdk/gamelift/src/operation/request_upload_credentials/builders.rs @@ -23,9 +23,9 @@ impl RequestUploadCredentialsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -87,6 +87,22 @@ impl RequestUploadCredentialsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::request_upload_credentials::RequestUploadCredentials, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::request_upload_credentials::RequestUploadCredentialsError, + >, + > { + self.customize_middleware().await + } ///

                                                                              A unique identifier for the build to get credentials for. You can use either the build ID or ARN value.

                                                                              pub fn build_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.build_id(input.into()); diff --git a/sdk/gamelift/src/operation/resolve_alias/builders.rs b/sdk/gamelift/src/operation/resolve_alias/builders.rs index bcceaeda9ffd..b12339c6e1bd 100644 --- a/sdk/gamelift/src/operation/resolve_alias/builders.rs +++ b/sdk/gamelift/src/operation/resolve_alias/builders.rs @@ -21,9 +21,9 @@ impl ResolveAliasFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -79,6 +79,20 @@ impl ResolveAliasFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::resolve_alias::ResolveAlias, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                              The unique identifier of the alias that you want to retrieve a fleet ID for. You can use either the alias ID or ARN value.

                                                                              pub fn alias_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.alias_id(input.into()); diff --git a/sdk/gamelift/src/operation/resume_game_server_group/builders.rs b/sdk/gamelift/src/operation/resume_game_server_group/builders.rs index 2a578fc44292..c19ab2fa876b 100644 --- a/sdk/gamelift/src/operation/resume_game_server_group/builders.rs +++ b/sdk/gamelift/src/operation/resume_game_server_group/builders.rs @@ -23,9 +23,9 @@ impl ResumeGameServerGroupFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -87,6 +87,22 @@ impl ResumeGameServerGroupFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::resume_game_server_group::ResumeGameServerGroup, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::resume_game_server_group::ResumeGameServerGroupError, + >, + > { + self.customize_middleware().await + } ///

                                                                              A unique identifier for the game server group. Use either the name or ARN value.

                                                                              pub fn game_server_group_name( mut self, diff --git a/sdk/gamelift/src/operation/search_game_sessions/builders.rs b/sdk/gamelift/src/operation/search_game_sessions/builders.rs index df25986650b1..8451f1d3c868 100644 --- a/sdk/gamelift/src/operation/search_game_sessions/builders.rs +++ b/sdk/gamelift/src/operation/search_game_sessions/builders.rs @@ -41,9 +41,9 @@ impl SearchGameSessionsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -105,6 +105,22 @@ impl SearchGameSessionsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::search_game_sessions::SearchGameSessions, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::search_game_sessions::SearchGameSessionsError, + >, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::search_game_sessions::paginator::SearchGameSessionsPaginator::send) which returns a `Stream`. diff --git a/sdk/gamelift/src/operation/start_fleet_actions/builders.rs b/sdk/gamelift/src/operation/start_fleet_actions/builders.rs index 7b0b05d368e3..54124993a554 100644 --- a/sdk/gamelift/src/operation/start_fleet_actions/builders.rs +++ b/sdk/gamelift/src/operation/start_fleet_actions/builders.rs @@ -27,9 +27,9 @@ impl StartFleetActionsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -91,6 +91,22 @@ impl StartFleetActionsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::start_fleet_actions::StartFleetActions, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::start_fleet_actions::StartFleetActionsError, + >, + > { + self.customize_middleware().await + } ///

                                                                              A unique identifier for the fleet to restart actions on. You can use either the fleet ID or ARN value.

                                                                              pub fn fleet_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.fleet_id(input.into()); diff --git a/sdk/gamelift/src/operation/start_game_session_placement/builders.rs b/sdk/gamelift/src/operation/start_game_session_placement/builders.rs index 74b7cd1d1adb..723b564817aa 100644 --- a/sdk/gamelift/src/operation/start_game_session_placement/builders.rs +++ b/sdk/gamelift/src/operation/start_game_session_placement/builders.rs @@ -31,9 +31,9 @@ impl StartGameSessionPlacementFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -95,6 +95,22 @@ impl StartGameSessionPlacementFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::start_game_session_placement::StartGameSessionPlacement, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::start_game_session_placement::StartGameSessionPlacementError, + >, + > { + self.customize_middleware().await + } ///

                                                                              A unique identifier to assign to the new game session placement. This value is developer-defined. The value must be unique across all Regions and cannot be reused.

                                                                              pub fn placement_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.placement_id(input.into()); diff --git a/sdk/gamelift/src/operation/start_match_backfill/builders.rs b/sdk/gamelift/src/operation/start_match_backfill/builders.rs index 1d0b6e7e55bf..958903dd926a 100644 --- a/sdk/gamelift/src/operation/start_match_backfill/builders.rs +++ b/sdk/gamelift/src/operation/start_match_backfill/builders.rs @@ -27,9 +27,9 @@ impl StartMatchBackfillFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -91,6 +91,22 @@ impl StartMatchBackfillFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::start_match_backfill::StartMatchBackfill, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::start_match_backfill::StartMatchBackfillError, + >, + > { + self.customize_middleware().await + } ///

                                                                              A unique identifier for a matchmaking ticket. If no ticket ID is specified here, Amazon GameLift will generate one in the form of a UUID. Use this identifier to track the match backfill ticket status and retrieve match results.

                                                                              pub fn ticket_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.ticket_id(input.into()); diff --git a/sdk/gamelift/src/operation/start_matchmaking/builders.rs b/sdk/gamelift/src/operation/start_matchmaking/builders.rs index 9201c42e6fc5..1148825bf5df 100644 --- a/sdk/gamelift/src/operation/start_matchmaking/builders.rs +++ b/sdk/gamelift/src/operation/start_matchmaking/builders.rs @@ -25,9 +25,9 @@ impl StartMatchmakingFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -89,6 +89,22 @@ impl StartMatchmakingFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::start_matchmaking::StartMatchmaking, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::start_matchmaking::StartMatchmakingError, + >, + > { + self.customize_middleware().await + } ///

                                                                              A unique identifier for a matchmaking ticket. If no ticket ID is specified here, Amazon GameLift will generate one in the form of a UUID. Use this identifier to track the matchmaking ticket status and retrieve match results.

                                                                              pub fn ticket_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.ticket_id(input.into()); diff --git a/sdk/gamelift/src/operation/stop_fleet_actions/builders.rs b/sdk/gamelift/src/operation/stop_fleet_actions/builders.rs index c9b3bf492259..c0995a8b051a 100644 --- a/sdk/gamelift/src/operation/stop_fleet_actions/builders.rs +++ b/sdk/gamelift/src/operation/stop_fleet_actions/builders.rs @@ -28,9 +28,9 @@ impl StopFleetActionsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -92,6 +92,22 @@ impl StopFleetActionsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::stop_fleet_actions::StopFleetActions, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::stop_fleet_actions::StopFleetActionsError, + >, + > { + self.customize_middleware().await + } ///

                                                                              A unique identifier for the fleet to stop actions on. You can use either the fleet ID or ARN value.

                                                                              pub fn fleet_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.fleet_id(input.into()); diff --git a/sdk/gamelift/src/operation/stop_game_session_placement/builders.rs b/sdk/gamelift/src/operation/stop_game_session_placement/builders.rs index 583464d0d065..988537f59752 100644 --- a/sdk/gamelift/src/operation/stop_game_session_placement/builders.rs +++ b/sdk/gamelift/src/operation/stop_game_session_placement/builders.rs @@ -19,9 +19,9 @@ impl StopGameSessionPlacementFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl StopGameSessionPlacementFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::stop_game_session_placement::StopGameSessionPlacement, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::stop_game_session_placement::StopGameSessionPlacementError, + >, + > { + self.customize_middleware().await + } ///

                                                                              A unique identifier for a game session placement to stop.

                                                                              pub fn placement_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.placement_id(input.into()); diff --git a/sdk/gamelift/src/operation/stop_matchmaking/builders.rs b/sdk/gamelift/src/operation/stop_matchmaking/builders.rs index bb56f041d623..c20e4fcec935 100644 --- a/sdk/gamelift/src/operation/stop_matchmaking/builders.rs +++ b/sdk/gamelift/src/operation/stop_matchmaking/builders.rs @@ -24,9 +24,9 @@ impl StopMatchmakingFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -88,6 +88,22 @@ impl StopMatchmakingFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::stop_matchmaking::StopMatchmaking, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::stop_matchmaking::StopMatchmakingError, + >, + > { + self.customize_middleware().await + } ///

                                                                              A unique identifier for a matchmaking ticket.

                                                                              pub fn ticket_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.ticket_id(input.into()); diff --git a/sdk/gamelift/src/operation/suspend_game_server_group/builders.rs b/sdk/gamelift/src/operation/suspend_game_server_group/builders.rs index b24423ed029e..950b18ff1fa1 100644 --- a/sdk/gamelift/src/operation/suspend_game_server_group/builders.rs +++ b/sdk/gamelift/src/operation/suspend_game_server_group/builders.rs @@ -27,9 +27,9 @@ impl SuspendGameServerGroupFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -91,6 +91,22 @@ impl SuspendGameServerGroupFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::suspend_game_server_group::SuspendGameServerGroup, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::suspend_game_server_group::SuspendGameServerGroupError, + >, + > { + self.customize_middleware().await + } ///

                                                                              A unique identifier for the game server group. Use either the name or ARN value.

                                                                              pub fn game_server_group_name( mut self, diff --git a/sdk/gamelift/src/operation/tag_resource/builders.rs b/sdk/gamelift/src/operation/tag_resource/builders.rs index 21eda6d52a0b..31d2fc61a6ee 100644 --- a/sdk/gamelift/src/operation/tag_resource/builders.rs +++ b/sdk/gamelift/src/operation/tag_resource/builders.rs @@ -25,9 +25,9 @@ impl TagResourceFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,20 @@ impl TagResourceFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::tag_resource::TagResource, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                              The Amazon Resource Name (ARN) that uniquely identifies the Amazon GameLift resource that you want to assign tags to. Amazon GameLift includes resource ARNs in the data object for the resource. You can retrieve the ARN by calling a List or Describe operation for the resource type.

                                                                              pub fn resource_arn(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.resource_arn(input.into()); diff --git a/sdk/gamelift/src/operation/untag_resource/builders.rs b/sdk/gamelift/src/operation/untag_resource/builders.rs index 99747e3cd992..48632f1ba705 100644 --- a/sdk/gamelift/src/operation/untag_resource/builders.rs +++ b/sdk/gamelift/src/operation/untag_resource/builders.rs @@ -25,9 +25,9 @@ impl UntagResourceFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,20 @@ impl UntagResourceFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::untag_resource::UntagResource, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                              The Amazon Resource Name (ARN) that uniquely identifies the Amazon GameLift resource that you want to remove tags from. Amazon GameLift includes resource ARNs in the data object for the resource. You can retrieve the ARN by calling a List or Describe operation for the resource type.

                                                                              pub fn resource_arn(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.resource_arn(input.into()); diff --git a/sdk/gamelift/src/operation/update_alias/builders.rs b/sdk/gamelift/src/operation/update_alias/builders.rs index 0a73cb0a8622..bc4232306c4a 100644 --- a/sdk/gamelift/src/operation/update_alias/builders.rs +++ b/sdk/gamelift/src/operation/update_alias/builders.rs @@ -21,9 +21,9 @@ impl UpdateAliasFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -79,6 +79,20 @@ impl UpdateAliasFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::update_alias::UpdateAlias, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                              A unique identifier for the alias that you want to update. You can use either the alias ID or ARN value.

                                                                              pub fn alias_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.alias_id(input.into()); diff --git a/sdk/gamelift/src/operation/update_build/builders.rs b/sdk/gamelift/src/operation/update_build/builders.rs index 59b4a31e2734..531d7a7b2ab6 100644 --- a/sdk/gamelift/src/operation/update_build/builders.rs +++ b/sdk/gamelift/src/operation/update_build/builders.rs @@ -22,9 +22,9 @@ impl UpdateBuildFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -80,6 +80,20 @@ impl UpdateBuildFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::update_build::UpdateBuild, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                              A unique identifier for the build to update. You can use either the build ID or ARN value.

                                                                              pub fn build_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.build_id(input.into()); diff --git a/sdk/gamelift/src/operation/update_fleet_attributes/builders.rs b/sdk/gamelift/src/operation/update_fleet_attributes/builders.rs index 3f179ecab019..7d8f840aefbb 100644 --- a/sdk/gamelift/src/operation/update_fleet_attributes/builders.rs +++ b/sdk/gamelift/src/operation/update_fleet_attributes/builders.rs @@ -23,9 +23,9 @@ impl UpdateFleetAttributesFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -87,6 +87,22 @@ impl UpdateFleetAttributesFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::update_fleet_attributes::UpdateFleetAttributes, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::update_fleet_attributes::UpdateFleetAttributesError, + >, + > { + self.customize_middleware().await + } ///

                                                                              A unique identifier for the fleet to update attribute metadata for. You can use either the fleet ID or ARN value.

                                                                              pub fn fleet_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.fleet_id(input.into()); diff --git a/sdk/gamelift/src/operation/update_fleet_capacity/builders.rs b/sdk/gamelift/src/operation/update_fleet_capacity/builders.rs index a923ce26b68f..e56f9b267a6d 100644 --- a/sdk/gamelift/src/operation/update_fleet_capacity/builders.rs +++ b/sdk/gamelift/src/operation/update_fleet_capacity/builders.rs @@ -31,9 +31,9 @@ impl UpdateFleetCapacityFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -95,6 +95,22 @@ impl UpdateFleetCapacityFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::update_fleet_capacity::UpdateFleetCapacity, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::update_fleet_capacity::UpdateFleetCapacityError, + >, + > { + self.customize_middleware().await + } ///

                                                                              A unique identifier for the fleet to update capacity settings for. You can use either the fleet ID or ARN value.

                                                                              pub fn fleet_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.fleet_id(input.into()); diff --git a/sdk/gamelift/src/operation/update_fleet_port_settings/builders.rs b/sdk/gamelift/src/operation/update_fleet_port_settings/builders.rs index 139b2946336f..88c0bda47767 100644 --- a/sdk/gamelift/src/operation/update_fleet_port_settings/builders.rs +++ b/sdk/gamelift/src/operation/update_fleet_port_settings/builders.rs @@ -24,9 +24,9 @@ impl UpdateFleetPortSettingsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -88,6 +88,22 @@ impl UpdateFleetPortSettingsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::update_fleet_port_settings::UpdateFleetPortSettings, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::update_fleet_port_settings::UpdateFleetPortSettingsError, + >, + > { + self.customize_middleware().await + } ///

                                                                              A unique identifier for the fleet to update port settings for. You can use either the fleet ID or ARN value.

                                                                              pub fn fleet_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.fleet_id(input.into()); diff --git a/sdk/gamelift/src/operation/update_game_server/builders.rs b/sdk/gamelift/src/operation/update_game_server/builders.rs index 10a467b39a9b..42dfc6e75eee 100644 --- a/sdk/gamelift/src/operation/update_game_server/builders.rs +++ b/sdk/gamelift/src/operation/update_game_server/builders.rs @@ -29,9 +29,9 @@ impl UpdateGameServerFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -93,6 +93,22 @@ impl UpdateGameServerFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::update_game_server::UpdateGameServer, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::update_game_server::UpdateGameServerError, + >, + > { + self.customize_middleware().await + } ///

                                                                              A unique identifier for the game server group where the game server is running.

                                                                              pub fn game_server_group_name( mut self, diff --git a/sdk/gamelift/src/operation/update_game_server_group/builders.rs b/sdk/gamelift/src/operation/update_game_server_group/builders.rs index 2d3f4f13edd3..e7a3b38ae55d 100644 --- a/sdk/gamelift/src/operation/update_game_server_group/builders.rs +++ b/sdk/gamelift/src/operation/update_game_server_group/builders.rs @@ -23,9 +23,9 @@ impl UpdateGameServerGroupFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -87,6 +87,22 @@ impl UpdateGameServerGroupFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::update_game_server_group::UpdateGameServerGroup, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::update_game_server_group::UpdateGameServerGroupError, + >, + > { + self.customize_middleware().await + } ///

                                                                              A unique identifier for the game server group. Use either the name or ARN value.

                                                                              pub fn game_server_group_name( mut self, diff --git a/sdk/gamelift/src/operation/update_game_session/builders.rs b/sdk/gamelift/src/operation/update_game_session/builders.rs index c09e0f0d4556..fcf7716b0ad0 100644 --- a/sdk/gamelift/src/operation/update_game_session/builders.rs +++ b/sdk/gamelift/src/operation/update_game_session/builders.rs @@ -22,9 +22,9 @@ impl UpdateGameSessionFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -86,6 +86,22 @@ impl UpdateGameSessionFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::update_game_session::UpdateGameSession, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::update_game_session::UpdateGameSessionError, + >, + > { + self.customize_middleware().await + } ///

                                                                              A unique identifier for the game session to update.

                                                                              pub fn game_session_id( mut self, diff --git a/sdk/gamelift/src/operation/update_game_session_queue/builders.rs b/sdk/gamelift/src/operation/update_game_session_queue/builders.rs index 36d9aebb5c64..89f7ed51414d 100644 --- a/sdk/gamelift/src/operation/update_game_session_queue/builders.rs +++ b/sdk/gamelift/src/operation/update_game_session_queue/builders.rs @@ -22,9 +22,9 @@ impl UpdateGameSessionQueueFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -86,6 +86,22 @@ impl UpdateGameSessionQueueFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::update_game_session_queue::UpdateGameSessionQueue, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::update_game_session_queue::UpdateGameSessionQueueError, + >, + > { + self.customize_middleware().await + } ///

                                                                              A descriptive label that is associated with game session queue. Queue names must be unique within each Region. You can use either the queue ID or ARN value.

                                                                              pub fn name(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.name(input.into()); diff --git a/sdk/gamelift/src/operation/update_matchmaking_configuration/builders.rs b/sdk/gamelift/src/operation/update_matchmaking_configuration/builders.rs index 8e7a0adca890..ed3de7e9e50a 100644 --- a/sdk/gamelift/src/operation/update_matchmaking_configuration/builders.rs +++ b/sdk/gamelift/src/operation/update_matchmaking_configuration/builders.rs @@ -21,9 +21,9 @@ impl UpdateMatchmakingConfigurationFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -85,6 +85,22 @@ impl UpdateMatchmakingConfigurationFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::update_matchmaking_configuration::UpdateMatchmakingConfiguration, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::update_matchmaking_configuration::UpdateMatchmakingConfigurationError, + >, + > { + self.customize_middleware().await + } ///

                                                                              A unique identifier for the matchmaking configuration to update. You can use either the configuration name or ARN value.

                                                                              pub fn name(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.name(input.into()); diff --git a/sdk/gamelift/src/operation/update_runtime_configuration/builders.rs b/sdk/gamelift/src/operation/update_runtime_configuration/builders.rs index ede7dd6d6aad..3be2a5016b83 100644 --- a/sdk/gamelift/src/operation/update_runtime_configuration/builders.rs +++ b/sdk/gamelift/src/operation/update_runtime_configuration/builders.rs @@ -23,9 +23,9 @@ impl UpdateRuntimeConfigurationFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -87,6 +87,22 @@ impl UpdateRuntimeConfigurationFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::update_runtime_configuration::UpdateRuntimeConfiguration, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::update_runtime_configuration::UpdateRuntimeConfigurationError, + >, + > { + self.customize_middleware().await + } ///

                                                                              A unique identifier for the fleet to update runtime configuration for. You can use either the fleet ID or ARN value.

                                                                              pub fn fleet_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.fleet_id(input.into()); diff --git a/sdk/gamelift/src/operation/update_script/builders.rs b/sdk/gamelift/src/operation/update_script/builders.rs index e591ef5f9da9..b539114be5d8 100644 --- a/sdk/gamelift/src/operation/update_script/builders.rs +++ b/sdk/gamelift/src/operation/update_script/builders.rs @@ -26,9 +26,9 @@ impl UpdateScriptFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -84,6 +84,20 @@ impl UpdateScriptFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::update_script::UpdateScript, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                              A unique identifier for the Realtime script to update. You can use either the script ID or ARN value.

                                                                              pub fn script_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.script_id(input.into()); diff --git a/sdk/gamelift/src/operation/validate_matchmaking_rule_set/builders.rs b/sdk/gamelift/src/operation/validate_matchmaking_rule_set/builders.rs index f2c84347a940..1cc540ed2cfe 100644 --- a/sdk/gamelift/src/operation/validate_matchmaking_rule_set/builders.rs +++ b/sdk/gamelift/src/operation/validate_matchmaking_rule_set/builders.rs @@ -23,9 +23,9 @@ impl ValidateMatchmakingRuleSetFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -87,6 +87,22 @@ impl ValidateMatchmakingRuleSetFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::validate_matchmaking_rule_set::ValidateMatchmakingRuleSet, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::validate_matchmaking_rule_set::ValidateMatchmakingRuleSetError, + >, + > { + self.customize_middleware().await + } ///

                                                                              A collection of matchmaking rules to validate, formatted as a JSON string.

                                                                              pub fn rule_set_body( mut self, diff --git a/sdk/gamesparks/src/operation/create_game/builders.rs b/sdk/gamesparks/src/operation/create_game/builders.rs index 5301cd92132f..709e6e5f656c 100644 --- a/sdk/gamesparks/src/operation/create_game/builders.rs +++ b/sdk/gamesparks/src/operation/create_game/builders.rs @@ -19,9 +19,9 @@ impl CreateGameFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl CreateGameFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::create_game::CreateGame, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                              The name of the game.

                                                                              pub fn game_name(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.game_name(input.into()); diff --git a/sdk/gamesparks/src/operation/create_snapshot/builders.rs b/sdk/gamesparks/src/operation/create_snapshot/builders.rs index 501cdee43be4..e192585f1a43 100644 --- a/sdk/gamesparks/src/operation/create_snapshot/builders.rs +++ b/sdk/gamesparks/src/operation/create_snapshot/builders.rs @@ -19,9 +19,9 @@ impl CreateSnapshotFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl CreateSnapshotFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::create_snapshot::CreateSnapshot, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                              The name of the game.

                                                                              pub fn game_name(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.game_name(input.into()); diff --git a/sdk/gamesparks/src/operation/create_stage/builders.rs b/sdk/gamesparks/src/operation/create_stage/builders.rs index 94e50f25b47d..a9de2cb52690 100644 --- a/sdk/gamesparks/src/operation/create_stage/builders.rs +++ b/sdk/gamesparks/src/operation/create_stage/builders.rs @@ -19,9 +19,9 @@ impl CreateStageFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl CreateStageFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::create_stage::CreateStage, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                              The name of the game.

                                                                              pub fn game_name(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.game_name(input.into()); diff --git a/sdk/gamesparks/src/operation/delete_game/builders.rs b/sdk/gamesparks/src/operation/delete_game/builders.rs index ae3e884d33e9..5901c854b31c 100644 --- a/sdk/gamesparks/src/operation/delete_game/builders.rs +++ b/sdk/gamesparks/src/operation/delete_game/builders.rs @@ -19,9 +19,9 @@ impl DeleteGameFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl DeleteGameFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::delete_game::DeleteGame, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                              The name of the game to delete.

                                                                              pub fn game_name(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.game_name(input.into()); diff --git a/sdk/gamesparks/src/operation/delete_stage/builders.rs b/sdk/gamesparks/src/operation/delete_stage/builders.rs index ea3a2cc95876..69e4964b4664 100644 --- a/sdk/gamesparks/src/operation/delete_stage/builders.rs +++ b/sdk/gamesparks/src/operation/delete_stage/builders.rs @@ -19,9 +19,9 @@ impl DeleteStageFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl DeleteStageFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::delete_stage::DeleteStage, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                              The name of the game.

                                                                              pub fn game_name(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.game_name(input.into()); diff --git a/sdk/gamesparks/src/operation/disconnect_player/builders.rs b/sdk/gamesparks/src/operation/disconnect_player/builders.rs index cb41be97e26f..a7c624e8d3d7 100644 --- a/sdk/gamesparks/src/operation/disconnect_player/builders.rs +++ b/sdk/gamesparks/src/operation/disconnect_player/builders.rs @@ -20,9 +20,9 @@ impl DisconnectPlayerFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -84,6 +84,22 @@ impl DisconnectPlayerFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::disconnect_player::DisconnectPlayer, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::disconnect_player::DisconnectPlayerError, + >, + > { + self.customize_middleware().await + } ///

                                                                              The unique identifier representing a player.

                                                                              pub fn player_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.player_id(input.into()); diff --git a/sdk/gamesparks/src/operation/export_snapshot/builders.rs b/sdk/gamesparks/src/operation/export_snapshot/builders.rs index aeb5984c3bd3..cba91c78ed68 100644 --- a/sdk/gamesparks/src/operation/export_snapshot/builders.rs +++ b/sdk/gamesparks/src/operation/export_snapshot/builders.rs @@ -19,9 +19,9 @@ impl ExportSnapshotFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl ExportSnapshotFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::export_snapshot::ExportSnapshot, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                              The name of the game.

                                                                              pub fn game_name(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.game_name(input.into()); diff --git a/sdk/gamesparks/src/operation/get_extension/builders.rs b/sdk/gamesparks/src/operation/get_extension/builders.rs index 97f50e505f00..2020e514302f 100644 --- a/sdk/gamesparks/src/operation/get_extension/builders.rs +++ b/sdk/gamesparks/src/operation/get_extension/builders.rs @@ -19,9 +19,9 @@ impl GetExtensionFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl GetExtensionFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::get_extension::GetExtension, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                              The namespace (qualifier) of the extension.

                                                                              pub fn namespace(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.namespace(input.into()); diff --git a/sdk/gamesparks/src/operation/get_extension_version/builders.rs b/sdk/gamesparks/src/operation/get_extension_version/builders.rs index 75b805ff712e..e4c7d5288d78 100644 --- a/sdk/gamesparks/src/operation/get_extension_version/builders.rs +++ b/sdk/gamesparks/src/operation/get_extension_version/builders.rs @@ -19,9 +19,9 @@ impl GetExtensionVersionFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl GetExtensionVersionFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::get_extension_version::GetExtensionVersion, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::get_extension_version::GetExtensionVersionError, + >, + > { + self.customize_middleware().await + } ///

                                                                              The namespace (qualifier) of the extension.

                                                                              pub fn namespace(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.namespace(input.into()); diff --git a/sdk/gamesparks/src/operation/get_game/builders.rs b/sdk/gamesparks/src/operation/get_game/builders.rs index c40e16c7f48e..ad9090718eac 100644 --- a/sdk/gamesparks/src/operation/get_game/builders.rs +++ b/sdk/gamesparks/src/operation/get_game/builders.rs @@ -19,9 +19,9 @@ impl GetGameFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl GetGameFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::get_game::GetGame, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                              The name of the game.

                                                                              pub fn game_name(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.game_name(input.into()); diff --git a/sdk/gamesparks/src/operation/get_game_configuration/builders.rs b/sdk/gamesparks/src/operation/get_game_configuration/builders.rs index fdf6814c61f2..a778e90016e6 100644 --- a/sdk/gamesparks/src/operation/get_game_configuration/builders.rs +++ b/sdk/gamesparks/src/operation/get_game_configuration/builders.rs @@ -19,9 +19,9 @@ impl GetGameConfigurationFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl GetGameConfigurationFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::get_game_configuration::GetGameConfiguration, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::get_game_configuration::GetGameConfigurationError, + >, + > { + self.customize_middleware().await + } ///

                                                                              The name of the game.

                                                                              pub fn game_name(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.game_name(input.into()); diff --git a/sdk/gamesparks/src/operation/get_generated_code_job/builders.rs b/sdk/gamesparks/src/operation/get_generated_code_job/builders.rs index a040394e5db3..0b14f6c51756 100644 --- a/sdk/gamesparks/src/operation/get_generated_code_job/builders.rs +++ b/sdk/gamesparks/src/operation/get_generated_code_job/builders.rs @@ -19,9 +19,9 @@ impl GetGeneratedCodeJobFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl GetGeneratedCodeJobFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::get_generated_code_job::GetGeneratedCodeJob, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::get_generated_code_job::GetGeneratedCodeJobError, + >, + > { + self.customize_middleware().await + } ///

                                                                              The name of the game.

                                                                              pub fn game_name(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.game_name(input.into()); diff --git a/sdk/gamesparks/src/operation/get_player_connection_status/builders.rs b/sdk/gamesparks/src/operation/get_player_connection_status/builders.rs index e6ebece093ea..9b2fbdd8eeb5 100644 --- a/sdk/gamesparks/src/operation/get_player_connection_status/builders.rs +++ b/sdk/gamesparks/src/operation/get_player_connection_status/builders.rs @@ -20,9 +20,9 @@ impl GetPlayerConnectionStatusFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -84,6 +84,22 @@ impl GetPlayerConnectionStatusFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::get_player_connection_status::GetPlayerConnectionStatus, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::get_player_connection_status::GetPlayerConnectionStatusError, + >, + > { + self.customize_middleware().await + } ///

                                                                              The unique identifier representing a player.

                                                                              pub fn player_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.player_id(input.into()); diff --git a/sdk/gamesparks/src/operation/get_snapshot/builders.rs b/sdk/gamesparks/src/operation/get_snapshot/builders.rs index a0d7e70e5533..122cda8f2280 100644 --- a/sdk/gamesparks/src/operation/get_snapshot/builders.rs +++ b/sdk/gamesparks/src/operation/get_snapshot/builders.rs @@ -19,9 +19,9 @@ impl GetSnapshotFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl GetSnapshotFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::get_snapshot::GetSnapshot, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                              The name of the game.

                                                                              pub fn game_name(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.game_name(input.into()); diff --git a/sdk/gamesparks/src/operation/get_stage/builders.rs b/sdk/gamesparks/src/operation/get_stage/builders.rs index ab3880bc0745..5e5d84dd761c 100644 --- a/sdk/gamesparks/src/operation/get_stage/builders.rs +++ b/sdk/gamesparks/src/operation/get_stage/builders.rs @@ -19,9 +19,9 @@ impl GetStageFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl GetStageFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::get_stage::GetStage, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                              The name of the game.

                                                                              pub fn game_name(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.game_name(input.into()); diff --git a/sdk/gamesparks/src/operation/get_stage_deployment/builders.rs b/sdk/gamesparks/src/operation/get_stage_deployment/builders.rs index edc77358e173..838fff5f4d80 100644 --- a/sdk/gamesparks/src/operation/get_stage_deployment/builders.rs +++ b/sdk/gamesparks/src/operation/get_stage_deployment/builders.rs @@ -19,9 +19,9 @@ impl GetStageDeploymentFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl GetStageDeploymentFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::get_stage_deployment::GetStageDeployment, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::get_stage_deployment::GetStageDeploymentError, + >, + > { + self.customize_middleware().await + } ///

                                                                              The name of the game.

                                                                              pub fn game_name(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.game_name(input.into()); diff --git a/sdk/gamesparks/src/operation/import_game_configuration/builders.rs b/sdk/gamesparks/src/operation/import_game_configuration/builders.rs index f69412f0993d..5726c096bdb3 100644 --- a/sdk/gamesparks/src/operation/import_game_configuration/builders.rs +++ b/sdk/gamesparks/src/operation/import_game_configuration/builders.rs @@ -21,9 +21,9 @@ impl ImportGameConfigurationFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -85,6 +85,22 @@ impl ImportGameConfigurationFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::import_game_configuration::ImportGameConfiguration, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::import_game_configuration::ImportGameConfigurationError, + >, + > { + self.customize_middleware().await + } ///

                                                                              The name of the game.

                                                                              pub fn game_name(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.game_name(input.into()); diff --git a/sdk/gamesparks/src/operation/list_extension_versions/builders.rs b/sdk/gamesparks/src/operation/list_extension_versions/builders.rs index 4394772e4117..67cb82f13efa 100644 --- a/sdk/gamesparks/src/operation/list_extension_versions/builders.rs +++ b/sdk/gamesparks/src/operation/list_extension_versions/builders.rs @@ -20,9 +20,9 @@ impl ListExtensionVersionsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -84,6 +84,22 @@ impl ListExtensionVersionsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_extension_versions::ListExtensionVersions, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::list_extension_versions::ListExtensionVersionsError, + >, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::list_extension_versions::paginator::ListExtensionVersionsPaginator::send) which returns a `Stream`. diff --git a/sdk/gamesparks/src/operation/list_extensions/builders.rs b/sdk/gamesparks/src/operation/list_extensions/builders.rs index 23b3b050c767..1338d5dc258a 100644 --- a/sdk/gamesparks/src/operation/list_extensions/builders.rs +++ b/sdk/gamesparks/src/operation/list_extensions/builders.rs @@ -20,9 +20,9 @@ impl ListExtensionsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -78,6 +78,20 @@ impl ListExtensionsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_extensions::ListExtensions, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::list_extensions::paginator::ListExtensionsPaginator::send) which returns a `Stream`. diff --git a/sdk/gamesparks/src/operation/list_games/builders.rs b/sdk/gamesparks/src/operation/list_games/builders.rs index 6a95afc0f667..110d2de555b8 100644 --- a/sdk/gamesparks/src/operation/list_games/builders.rs +++ b/sdk/gamesparks/src/operation/list_games/builders.rs @@ -19,9 +19,9 @@ impl ListGamesFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl ListGamesFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_games::ListGames, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::list_games::paginator::ListGamesPaginator::send) which returns a `Stream`. diff --git a/sdk/gamesparks/src/operation/list_generated_code_jobs/builders.rs b/sdk/gamesparks/src/operation/list_generated_code_jobs/builders.rs index c04afc3f5ca0..077b061b64e1 100644 --- a/sdk/gamesparks/src/operation/list_generated_code_jobs/builders.rs +++ b/sdk/gamesparks/src/operation/list_generated_code_jobs/builders.rs @@ -19,9 +19,9 @@ impl ListGeneratedCodeJobsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl ListGeneratedCodeJobsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_generated_code_jobs::ListGeneratedCodeJobs, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::list_generated_code_jobs::ListGeneratedCodeJobsError, + >, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::list_generated_code_jobs::paginator::ListGeneratedCodeJobsPaginator::send) which returns a `Stream`. diff --git a/sdk/gamesparks/src/operation/list_snapshots/builders.rs b/sdk/gamesparks/src/operation/list_snapshots/builders.rs index b8187f9bb2bf..77ebabbb8628 100644 --- a/sdk/gamesparks/src/operation/list_snapshots/builders.rs +++ b/sdk/gamesparks/src/operation/list_snapshots/builders.rs @@ -19,9 +19,9 @@ impl ListSnapshotsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl ListSnapshotsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_snapshots::ListSnapshots, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::list_snapshots::paginator::ListSnapshotsPaginator::send) which returns a `Stream`. diff --git a/sdk/gamesparks/src/operation/list_stage_deployments/builders.rs b/sdk/gamesparks/src/operation/list_stage_deployments/builders.rs index 77e835c4b85a..7c4845bc4bdb 100644 --- a/sdk/gamesparks/src/operation/list_stage_deployments/builders.rs +++ b/sdk/gamesparks/src/operation/list_stage_deployments/builders.rs @@ -19,9 +19,9 @@ impl ListStageDeploymentsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl ListStageDeploymentsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_stage_deployments::ListStageDeployments, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::list_stage_deployments::ListStageDeploymentsError, + >, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::list_stage_deployments::paginator::ListStageDeploymentsPaginator::send) which returns a `Stream`. diff --git a/sdk/gamesparks/src/operation/list_stages/builders.rs b/sdk/gamesparks/src/operation/list_stages/builders.rs index d8a7b9ef6809..c7b5f5dc7c48 100644 --- a/sdk/gamesparks/src/operation/list_stages/builders.rs +++ b/sdk/gamesparks/src/operation/list_stages/builders.rs @@ -19,9 +19,9 @@ impl ListStagesFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl ListStagesFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_stages::ListStages, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::list_stages::paginator::ListStagesPaginator::send) which returns a `Stream`. diff --git a/sdk/gamesparks/src/operation/list_tags_for_resource/builders.rs b/sdk/gamesparks/src/operation/list_tags_for_resource/builders.rs index 1b8b4f7f2f87..584a670a14d1 100644 --- a/sdk/gamesparks/src/operation/list_tags_for_resource/builders.rs +++ b/sdk/gamesparks/src/operation/list_tags_for_resource/builders.rs @@ -19,9 +19,9 @@ impl ListTagsForResourceFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl ListTagsForResourceFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_tags_for_resource::ListTagsForResource, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::list_tags_for_resource::ListTagsForResourceError, + >, + > { + self.customize_middleware().await + } ///

                                                                              The Amazon Resource Name (ARN) of the GameSparks resource.

                                                                              pub fn resource_arn(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.resource_arn(input.into()); diff --git a/sdk/gamesparks/src/operation/start_generated_code_job/builders.rs b/sdk/gamesparks/src/operation/start_generated_code_job/builders.rs index 439645af34d5..1795f60f2c01 100644 --- a/sdk/gamesparks/src/operation/start_generated_code_job/builders.rs +++ b/sdk/gamesparks/src/operation/start_generated_code_job/builders.rs @@ -19,9 +19,9 @@ impl StartGeneratedCodeJobFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl StartGeneratedCodeJobFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::start_generated_code_job::StartGeneratedCodeJob, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::start_generated_code_job::StartGeneratedCodeJobError, + >, + > { + self.customize_middleware().await + } ///

                                                                              The name of the game.

                                                                              pub fn game_name(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.game_name(input.into()); diff --git a/sdk/gamesparks/src/operation/start_stage_deployment/builders.rs b/sdk/gamesparks/src/operation/start_stage_deployment/builders.rs index 241a345716d6..930349c61684 100644 --- a/sdk/gamesparks/src/operation/start_stage_deployment/builders.rs +++ b/sdk/gamesparks/src/operation/start_stage_deployment/builders.rs @@ -21,9 +21,9 @@ impl StartStageDeploymentFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -85,6 +85,22 @@ impl StartStageDeploymentFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::start_stage_deployment::StartStageDeployment, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::start_stage_deployment::StartStageDeploymentError, + >, + > { + self.customize_middleware().await + } ///

                                                                              The name of the game.

                                                                              pub fn game_name(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.game_name(input.into()); diff --git a/sdk/gamesparks/src/operation/tag_resource/builders.rs b/sdk/gamesparks/src/operation/tag_resource/builders.rs index 02c3c08d0388..bfc64e9f052b 100644 --- a/sdk/gamesparks/src/operation/tag_resource/builders.rs +++ b/sdk/gamesparks/src/operation/tag_resource/builders.rs @@ -19,9 +19,9 @@ impl TagResourceFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl TagResourceFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::tag_resource::TagResource, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                              The Amazon Resource Name (ARN) of the resource to add the tags to.

                                                                              pub fn resource_arn(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.resource_arn(input.into()); diff --git a/sdk/gamesparks/src/operation/untag_resource/builders.rs b/sdk/gamesparks/src/operation/untag_resource/builders.rs index 272a24de0d59..bc94bd5f3e8d 100644 --- a/sdk/gamesparks/src/operation/untag_resource/builders.rs +++ b/sdk/gamesparks/src/operation/untag_resource/builders.rs @@ -19,9 +19,9 @@ impl UntagResourceFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl UntagResourceFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::untag_resource::UntagResource, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                              The Amazon Resource Name (ARN) of the resource to remove the tags from.

                                                                              pub fn resource_arn(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.resource_arn(input.into()); diff --git a/sdk/gamesparks/src/operation/update_game/builders.rs b/sdk/gamesparks/src/operation/update_game/builders.rs index dccb2a372534..a0743c9864da 100644 --- a/sdk/gamesparks/src/operation/update_game/builders.rs +++ b/sdk/gamesparks/src/operation/update_game/builders.rs @@ -19,9 +19,9 @@ impl UpdateGameFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl UpdateGameFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::update_game::UpdateGame, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                              The name of the game.

                                                                              pub fn game_name(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.game_name(input.into()); diff --git a/sdk/gamesparks/src/operation/update_game_configuration/builders.rs b/sdk/gamesparks/src/operation/update_game_configuration/builders.rs index d993c023e16c..0d7e361716df 100644 --- a/sdk/gamesparks/src/operation/update_game_configuration/builders.rs +++ b/sdk/gamesparks/src/operation/update_game_configuration/builders.rs @@ -20,9 +20,9 @@ impl UpdateGameConfigurationFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -84,6 +84,22 @@ impl UpdateGameConfigurationFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::update_game_configuration::UpdateGameConfiguration, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::update_game_configuration::UpdateGameConfigurationError, + >, + > { + self.customize_middleware().await + } ///

                                                                              The name of the game.

                                                                              pub fn game_name(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.game_name(input.into()); diff --git a/sdk/gamesparks/src/operation/update_snapshot/builders.rs b/sdk/gamesparks/src/operation/update_snapshot/builders.rs index dd65de80d738..3c000132bb5c 100644 --- a/sdk/gamesparks/src/operation/update_snapshot/builders.rs +++ b/sdk/gamesparks/src/operation/update_snapshot/builders.rs @@ -19,9 +19,9 @@ impl UpdateSnapshotFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl UpdateSnapshotFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::update_snapshot::UpdateSnapshot, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                              The name of the game.

                                                                              pub fn game_name(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.game_name(input.into()); diff --git a/sdk/gamesparks/src/operation/update_stage/builders.rs b/sdk/gamesparks/src/operation/update_stage/builders.rs index 36fcf0a3a094..487496c9110e 100644 --- a/sdk/gamesparks/src/operation/update_stage/builders.rs +++ b/sdk/gamesparks/src/operation/update_stage/builders.rs @@ -19,9 +19,9 @@ impl UpdateStageFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl UpdateStageFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::update_stage::UpdateStage, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                              The name of the game.

                                                                              pub fn game_name(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.game_name(input.into()); diff --git a/sdk/glacier/src/operation/abort_multipart_upload/builders.rs b/sdk/glacier/src/operation/abort_multipart_upload/builders.rs index 8cb6dda42cc2..0fadf0af39f8 100644 --- a/sdk/glacier/src/operation/abort_multipart_upload/builders.rs +++ b/sdk/glacier/src/operation/abort_multipart_upload/builders.rs @@ -23,9 +23,9 @@ impl AbortMultipartUploadFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -87,6 +87,22 @@ impl AbortMultipartUploadFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::abort_multipart_upload::AbortMultipartUpload, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::abort_multipart_upload::AbortMultipartUploadError, + >, + > { + self.customize_middleware().await + } ///

                                                                              The AccountId value is the AWS account ID of the account that owns the vault. You can either specify an AWS account ID or optionally a single '-' (hyphen), in which case Amazon S3 Glacier uses the AWS account ID associated with the credentials used to sign the request. If you use an account ID, do not include any hyphens ('-') in the ID.

                                                                              pub fn account_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.account_id(input.into()); diff --git a/sdk/glacier/src/operation/abort_vault_lock/builders.rs b/sdk/glacier/src/operation/abort_vault_lock/builders.rs index f94af1ecc94d..fb5dce37efb5 100644 --- a/sdk/glacier/src/operation/abort_vault_lock/builders.rs +++ b/sdk/glacier/src/operation/abort_vault_lock/builders.rs @@ -21,9 +21,9 @@ impl AbortVaultLockFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -85,6 +85,22 @@ impl AbortVaultLockFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::abort_vault_lock::AbortVaultLock, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::abort_vault_lock::AbortVaultLockError, + >, + > { + self.customize_middleware().await + } ///

                                                                              The AccountId value is the AWS account ID. This value must match the AWS account ID associated with the credentials used to sign the request. You can either specify an AWS account ID or optionally a single '-' (hyphen), in which case Amazon Glacier uses the AWS account ID associated with the credentials used to sign the request. If you specify your account ID, do not include any hyphens ('-') in the ID.

                                                                              pub fn account_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.account_id(input.into()); diff --git a/sdk/glacier/src/operation/add_tags_to_vault/builders.rs b/sdk/glacier/src/operation/add_tags_to_vault/builders.rs index 25d698b24226..df7a7afbd05a 100644 --- a/sdk/glacier/src/operation/add_tags_to_vault/builders.rs +++ b/sdk/glacier/src/operation/add_tags_to_vault/builders.rs @@ -19,9 +19,9 @@ impl AddTagsToVaultFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl AddTagsToVaultFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::add_tags_to_vault::AddTagsToVault, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::add_tags_to_vault::AddTagsToVaultError, + >, + > { + self.customize_middleware().await + } ///

                                                                              The AccountId value is the AWS account ID of the account that owns the vault. You can either specify an AWS account ID or optionally a single '-' (hyphen), in which case Amazon S3 Glacier uses the AWS account ID associated with the credentials used to sign the request. If you use an account ID, do not include any hyphens ('-') in the ID.

                                                                              pub fn account_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.account_id(input.into()); diff --git a/sdk/glacier/src/operation/complete_multipart_upload/builders.rs b/sdk/glacier/src/operation/complete_multipart_upload/builders.rs index ad9c22677acb..b0e6e4f1f2ab 100644 --- a/sdk/glacier/src/operation/complete_multipart_upload/builders.rs +++ b/sdk/glacier/src/operation/complete_multipart_upload/builders.rs @@ -25,9 +25,9 @@ impl CompleteMultipartUploadFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -89,6 +89,22 @@ impl CompleteMultipartUploadFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::complete_multipart_upload::CompleteMultipartUpload, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::complete_multipart_upload::CompleteMultipartUploadError, + >, + > { + self.customize_middleware().await + } ///

                                                                              The AccountId value is the AWS account ID of the account that owns the vault. You can either specify an AWS account ID or optionally a single '-' (hyphen), in which case Amazon S3 Glacier uses the AWS account ID associated with the credentials used to sign the request. If you use an account ID, do not include any hyphens ('-') in the ID.

                                                                              pub fn account_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.account_id(input.into()); diff --git a/sdk/glacier/src/operation/complete_vault_lock/builders.rs b/sdk/glacier/src/operation/complete_vault_lock/builders.rs index ece1aae1d209..0b45864ba6a4 100644 --- a/sdk/glacier/src/operation/complete_vault_lock/builders.rs +++ b/sdk/glacier/src/operation/complete_vault_lock/builders.rs @@ -21,9 +21,9 @@ impl CompleteVaultLockFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -85,6 +85,22 @@ impl CompleteVaultLockFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::complete_vault_lock::CompleteVaultLock, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::complete_vault_lock::CompleteVaultLockError, + >, + > { + self.customize_middleware().await + } ///

                                                                              The AccountId value is the AWS account ID. This value must match the AWS account ID associated with the credentials used to sign the request. You can either specify an AWS account ID or optionally a single '-' (hyphen), in which case Amazon Glacier uses the AWS account ID associated with the credentials used to sign the request. If you specify your account ID, do not include any hyphens ('-') in the ID.

                                                                              pub fn account_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.account_id(input.into()); diff --git a/sdk/glacier/src/operation/create_vault/builders.rs b/sdk/glacier/src/operation/create_vault/builders.rs index 02ff96bcf6c4..583630939940 100644 --- a/sdk/glacier/src/operation/create_vault/builders.rs +++ b/sdk/glacier/src/operation/create_vault/builders.rs @@ -27,9 +27,9 @@ impl CreateVaultFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -85,6 +85,20 @@ impl CreateVaultFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::create_vault::CreateVault, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                              The AccountId value is the AWS account ID. This value must match the AWS account ID associated with the credentials used to sign the request. You can either specify an AWS account ID or optionally a single '-' (hyphen), in which case Amazon S3 Glacier uses the AWS account ID associated with the credentials used to sign the request. If you specify your account ID, do not include any hyphens ('-') in the ID.

                                                                              pub fn account_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.account_id(input.into()); diff --git a/sdk/glacier/src/operation/delete_archive/builders.rs b/sdk/glacier/src/operation/delete_archive/builders.rs index 85aa4671c5d1..12c11f07ea28 100644 --- a/sdk/glacier/src/operation/delete_archive/builders.rs +++ b/sdk/glacier/src/operation/delete_archive/builders.rs @@ -26,9 +26,9 @@ impl DeleteArchiveFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -84,6 +84,20 @@ impl DeleteArchiveFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::delete_archive::DeleteArchive, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                              The AccountId value is the AWS account ID of the account that owns the vault. You can either specify an AWS account ID or optionally a single '-' (hyphen), in which case Amazon S3 Glacier uses the AWS account ID associated with the credentials used to sign the request. If you use an account ID, do not include any hyphens ('-') in the ID.

                                                                              pub fn account_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.account_id(input.into()); diff --git a/sdk/glacier/src/operation/delete_vault/builders.rs b/sdk/glacier/src/operation/delete_vault/builders.rs index eae4bfe9b01a..963ed1d3078c 100644 --- a/sdk/glacier/src/operation/delete_vault/builders.rs +++ b/sdk/glacier/src/operation/delete_vault/builders.rs @@ -22,9 +22,9 @@ impl DeleteVaultFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -80,6 +80,20 @@ impl DeleteVaultFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::delete_vault::DeleteVault, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                              The AccountId value is the AWS account ID of the account that owns the vault. You can either specify an AWS account ID or optionally a single '-' (hyphen), in which case Amazon S3 Glacier uses the AWS account ID associated with the credentials used to sign the request. If you use an account ID, do not include any hyphens ('-') in the ID.

                                                                              pub fn account_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.account_id(input.into()); diff --git a/sdk/glacier/src/operation/delete_vault_access_policy/builders.rs b/sdk/glacier/src/operation/delete_vault_access_policy/builders.rs index a1e6e30f9fcf..724ca7c83200 100644 --- a/sdk/glacier/src/operation/delete_vault_access_policy/builders.rs +++ b/sdk/glacier/src/operation/delete_vault_access_policy/builders.rs @@ -21,9 +21,9 @@ impl DeleteVaultAccessPolicyFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -85,6 +85,22 @@ impl DeleteVaultAccessPolicyFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::delete_vault_access_policy::DeleteVaultAccessPolicy, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::delete_vault_access_policy::DeleteVaultAccessPolicyError, + >, + > { + self.customize_middleware().await + } ///

                                                                              The AccountId value is the AWS account ID of the account that owns the vault. You can either specify an AWS account ID or optionally a single '-' (hyphen), in which case Amazon S3 Glacier uses the AWS account ID associated with the credentials used to sign the request. If you use an account ID, do not include any hyphens ('-') in the ID.

                                                                              pub fn account_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.account_id(input.into()); diff --git a/sdk/glacier/src/operation/delete_vault_notifications/builders.rs b/sdk/glacier/src/operation/delete_vault_notifications/builders.rs index bc6959839648..cd530cd9ad49 100644 --- a/sdk/glacier/src/operation/delete_vault_notifications/builders.rs +++ b/sdk/glacier/src/operation/delete_vault_notifications/builders.rs @@ -21,9 +21,9 @@ impl DeleteVaultNotificationsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -85,6 +85,22 @@ impl DeleteVaultNotificationsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::delete_vault_notifications::DeleteVaultNotifications, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::delete_vault_notifications::DeleteVaultNotificationsError, + >, + > { + self.customize_middleware().await + } ///

                                                                              The AccountId value is the AWS account ID of the account that owns the vault. You can either specify an AWS account ID or optionally a single '-' (hyphen), in which case Amazon S3 Glacier uses the AWS account ID associated with the credentials used to sign the request. If you use an account ID, do not include any hyphens ('-') in the ID.

                                                                              pub fn account_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.account_id(input.into()); diff --git a/sdk/glacier/src/operation/describe_job/builders.rs b/sdk/glacier/src/operation/describe_job/builders.rs index f76a488fda77..c23829c87eab 100644 --- a/sdk/glacier/src/operation/describe_job/builders.rs +++ b/sdk/glacier/src/operation/describe_job/builders.rs @@ -24,9 +24,9 @@ impl DescribeJobFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -82,6 +82,20 @@ impl DescribeJobFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::describe_job::DescribeJob, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                              The AccountId value is the AWS account ID of the account that owns the vault. You can either specify an AWS account ID or optionally a single '-' (hyphen), in which case Amazon S3 Glacier uses the AWS account ID associated with the credentials used to sign the request. If you use an account ID, do not include any hyphens ('-') in the ID.

                                                                              pub fn account_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.account_id(input.into()); diff --git a/sdk/glacier/src/operation/describe_vault/builders.rs b/sdk/glacier/src/operation/describe_vault/builders.rs index 4bb6733e7891..fcd0f865173d 100644 --- a/sdk/glacier/src/operation/describe_vault/builders.rs +++ b/sdk/glacier/src/operation/describe_vault/builders.rs @@ -21,9 +21,9 @@ impl DescribeVaultFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -79,6 +79,20 @@ impl DescribeVaultFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::describe_vault::DescribeVault, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                              The AccountId value is the AWS account ID of the account that owns the vault. You can either specify an AWS account ID or optionally a single '-' (hyphen), in which case Amazon S3 Glacier uses the AWS account ID associated with the credentials used to sign the request. If you use an account ID, do not include any hyphens ('-') in the ID.

                                                                              pub fn account_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.account_id(input.into()); diff --git a/sdk/glacier/src/operation/get_data_retrieval_policy/builders.rs b/sdk/glacier/src/operation/get_data_retrieval_policy/builders.rs index a30304004b21..f78e0d84b856 100644 --- a/sdk/glacier/src/operation/get_data_retrieval_policy/builders.rs +++ b/sdk/glacier/src/operation/get_data_retrieval_policy/builders.rs @@ -20,9 +20,9 @@ impl GetDataRetrievalPolicyFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -84,6 +84,22 @@ impl GetDataRetrievalPolicyFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::get_data_retrieval_policy::GetDataRetrievalPolicy, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::get_data_retrieval_policy::GetDataRetrievalPolicyError, + >, + > { + self.customize_middleware().await + } ///

                                                                              The AccountId value is the AWS account ID. This value must match the AWS account ID associated with the credentials used to sign the request. You can either specify an AWS account ID or optionally a single '-' (hyphen), in which case Amazon Glacier uses the AWS account ID associated with the credentials used to sign the request. If you specify your account ID, do not include any hyphens ('-') in the ID.

                                                                              pub fn account_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.account_id(input.into()); diff --git a/sdk/glacier/src/operation/get_job_output/builders.rs b/sdk/glacier/src/operation/get_job_output/builders.rs index 8679c65ea1df..be65655ec307 100644 --- a/sdk/glacier/src/operation/get_job_output/builders.rs +++ b/sdk/glacier/src/operation/get_job_output/builders.rs @@ -26,9 +26,9 @@ impl GetJobOutputFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -84,6 +84,20 @@ impl GetJobOutputFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::get_job_output::GetJobOutput, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                              The AccountId value is the AWS account ID of the account that owns the vault. You can either specify an AWS account ID or optionally a single '-' (hyphen), in which case Amazon S3 Glacier uses the AWS account ID associated with the credentials used to sign the request. If you use an account ID, do not include any hyphens ('-') in the ID.

                                                                              pub fn account_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.account_id(input.into()); diff --git a/sdk/glacier/src/operation/get_vault_access_policy/builders.rs b/sdk/glacier/src/operation/get_vault_access_policy/builders.rs index 0239e19bf36f..2e217b5c35af 100644 --- a/sdk/glacier/src/operation/get_vault_access_policy/builders.rs +++ b/sdk/glacier/src/operation/get_vault_access_policy/builders.rs @@ -19,9 +19,9 @@ impl GetVaultAccessPolicyFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl GetVaultAccessPolicyFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::get_vault_access_policy::GetVaultAccessPolicy, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::get_vault_access_policy::GetVaultAccessPolicyError, + >, + > { + self.customize_middleware().await + } ///

                                                                              The AccountId value is the AWS account ID of the account that owns the vault. You can either specify an AWS account ID or optionally a single '-' (hyphen), in which case Amazon S3 Glacier uses the AWS account ID associated with the credentials used to sign the request. If you use an account ID, do not include any hyphens ('-') in the ID.

                                                                              pub fn account_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.account_id(input.into()); diff --git a/sdk/glacier/src/operation/get_vault_lock/builders.rs b/sdk/glacier/src/operation/get_vault_lock/builders.rs index 08efd1f6e275..0b8a28678384 100644 --- a/sdk/glacier/src/operation/get_vault_lock/builders.rs +++ b/sdk/glacier/src/operation/get_vault_lock/builders.rs @@ -27,9 +27,9 @@ impl GetVaultLockFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -85,6 +85,20 @@ impl GetVaultLockFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::get_vault_lock::GetVaultLock, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                              The AccountId value is the AWS account ID of the account that owns the vault. You can either specify an AWS account ID or optionally a single '-' (hyphen), in which case Amazon S3 Glacier uses the AWS account ID associated with the credentials used to sign the request. If you use an account ID, do not include any hyphens ('-') in the ID.

                                                                              pub fn account_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.account_id(input.into()); diff --git a/sdk/glacier/src/operation/get_vault_notifications/builders.rs b/sdk/glacier/src/operation/get_vault_notifications/builders.rs index 0d36c8caafbf..d755a3f4e3c1 100644 --- a/sdk/glacier/src/operation/get_vault_notifications/builders.rs +++ b/sdk/glacier/src/operation/get_vault_notifications/builders.rs @@ -22,9 +22,9 @@ impl GetVaultNotificationsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -86,6 +86,22 @@ impl GetVaultNotificationsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::get_vault_notifications::GetVaultNotifications, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::get_vault_notifications::GetVaultNotificationsError, + >, + > { + self.customize_middleware().await + } ///

                                                                              The AccountId value is the AWS account ID of the account that owns the vault. You can either specify an AWS account ID or optionally a single '-' (hyphen), in which case Amazon S3 Glacier uses the AWS account ID associated with the credentials used to sign the request. If you use an account ID, do not include any hyphens ('-') in the ID.

                                                                              pub fn account_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.account_id(input.into()); diff --git a/sdk/glacier/src/operation/initiate_job/builders.rs b/sdk/glacier/src/operation/initiate_job/builders.rs index 8baee1a931f0..aff344355128 100644 --- a/sdk/glacier/src/operation/initiate_job/builders.rs +++ b/sdk/glacier/src/operation/initiate_job/builders.rs @@ -19,9 +19,9 @@ impl InitiateJobFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl InitiateJobFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::initiate_job::InitiateJob, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                              The AccountId value is the AWS account ID of the account that owns the vault. You can either specify an AWS account ID or optionally a single '-' (hyphen), in which case Amazon S3 Glacier uses the AWS account ID associated with the credentials used to sign the request. If you use an account ID, do not include any hyphens ('-') in the ID.

                                                                              pub fn account_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.account_id(input.into()); diff --git a/sdk/glacier/src/operation/initiate_multipart_upload/builders.rs b/sdk/glacier/src/operation/initiate_multipart_upload/builders.rs index 9bfd79a5383d..b49ce42f1ccf 100644 --- a/sdk/glacier/src/operation/initiate_multipart_upload/builders.rs +++ b/sdk/glacier/src/operation/initiate_multipart_upload/builders.rs @@ -27,9 +27,9 @@ impl InitiateMultipartUploadFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -91,6 +91,22 @@ impl InitiateMultipartUploadFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::initiate_multipart_upload::InitiateMultipartUpload, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::initiate_multipart_upload::InitiateMultipartUploadError, + >, + > { + self.customize_middleware().await + } ///

                                                                              The AccountId value is the AWS account ID of the account that owns the vault. You can either specify an AWS account ID or optionally a single '-' (hyphen), in which case Amazon S3 Glacier uses the AWS account ID associated with the credentials used to sign the request. If you use an account ID, do not include any hyphens ('-') in the ID.

                                                                              pub fn account_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.account_id(input.into()); diff --git a/sdk/glacier/src/operation/initiate_vault_lock/builders.rs b/sdk/glacier/src/operation/initiate_vault_lock/builders.rs index 1ff28d7d7bbe..58657facab24 100644 --- a/sdk/glacier/src/operation/initiate_vault_lock/builders.rs +++ b/sdk/glacier/src/operation/initiate_vault_lock/builders.rs @@ -29,9 +29,9 @@ impl InitiateVaultLockFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -93,6 +93,22 @@ impl InitiateVaultLockFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::initiate_vault_lock::InitiateVaultLock, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::initiate_vault_lock::InitiateVaultLockError, + >, + > { + self.customize_middleware().await + } ///

                                                                              The AccountId value is the AWS account ID. This value must match the AWS account ID associated with the credentials used to sign the request. You can either specify an AWS account ID or optionally a single '-' (hyphen), in which case Amazon Glacier uses the AWS account ID associated with the credentials used to sign the request. If you specify your account ID, do not include any hyphens ('-') in the ID.

                                                                              pub fn account_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.account_id(input.into()); diff --git a/sdk/glacier/src/operation/list_jobs/builders.rs b/sdk/glacier/src/operation/list_jobs/builders.rs index 5ad28adc623a..da3279362578 100644 --- a/sdk/glacier/src/operation/list_jobs/builders.rs +++ b/sdk/glacier/src/operation/list_jobs/builders.rs @@ -25,9 +25,9 @@ impl ListJobsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,20 @@ impl ListJobsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_jobs::ListJobs, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::list_jobs::paginator::ListJobsPaginator::send) which returns a `Stream`. diff --git a/sdk/glacier/src/operation/list_multipart_uploads/builders.rs b/sdk/glacier/src/operation/list_multipart_uploads/builders.rs index eb8fde4adf26..3f628bc51253 100644 --- a/sdk/glacier/src/operation/list_multipart_uploads/builders.rs +++ b/sdk/glacier/src/operation/list_multipart_uploads/builders.rs @@ -23,9 +23,9 @@ impl ListMultipartUploadsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -87,6 +87,22 @@ impl ListMultipartUploadsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_multipart_uploads::ListMultipartUploads, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::list_multipart_uploads::ListMultipartUploadsError, + >, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::list_multipart_uploads::paginator::ListMultipartUploadsPaginator::send) which returns a `Stream`. diff --git a/sdk/glacier/src/operation/list_parts/builders.rs b/sdk/glacier/src/operation/list_parts/builders.rs index 9fa29d6deed9..13d67b67db47 100644 --- a/sdk/glacier/src/operation/list_parts/builders.rs +++ b/sdk/glacier/src/operation/list_parts/builders.rs @@ -22,9 +22,9 @@ impl ListPartsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -80,6 +80,20 @@ impl ListPartsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_parts::ListParts, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::list_parts::paginator::ListPartsPaginator::send) which returns a `Stream`. diff --git a/sdk/glacier/src/operation/list_provisioned_capacity/builders.rs b/sdk/glacier/src/operation/list_provisioned_capacity/builders.rs index 799b4a68c75c..9fd99f0426b8 100644 --- a/sdk/glacier/src/operation/list_provisioned_capacity/builders.rs +++ b/sdk/glacier/src/operation/list_provisioned_capacity/builders.rs @@ -20,9 +20,9 @@ impl ListProvisionedCapacityFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -84,6 +84,22 @@ impl ListProvisionedCapacityFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_provisioned_capacity::ListProvisionedCapacity, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::list_provisioned_capacity::ListProvisionedCapacityError, + >, + > { + self.customize_middleware().await + } ///

                                                                              The AWS account ID of the account that owns the vault. You can either specify an AWS account ID or optionally a single '-' (hyphen), in which case Amazon S3 Glacier uses the AWS account ID associated with the credentials used to sign the request. If you use an account ID, don't include any hyphens ('-') in the ID.

                                                                              pub fn account_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.account_id(input.into()); diff --git a/sdk/glacier/src/operation/list_tags_for_vault/builders.rs b/sdk/glacier/src/operation/list_tags_for_vault/builders.rs index 1b962f46d0a7..a62073fc7eb2 100644 --- a/sdk/glacier/src/operation/list_tags_for_vault/builders.rs +++ b/sdk/glacier/src/operation/list_tags_for_vault/builders.rs @@ -19,9 +19,9 @@ impl ListTagsForVaultFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl ListTagsForVaultFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_tags_for_vault::ListTagsForVault, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::list_tags_for_vault::ListTagsForVaultError, + >, + > { + self.customize_middleware().await + } ///

                                                                              The AccountId value is the AWS account ID of the account that owns the vault. You can either specify an AWS account ID or optionally a single '-' (hyphen), in which case Amazon S3 Glacier uses the AWS account ID associated with the credentials used to sign the request. If you use an account ID, do not include any hyphens ('-') in the ID.

                                                                              pub fn account_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.account_id(input.into()); diff --git a/sdk/glacier/src/operation/list_vaults/builders.rs b/sdk/glacier/src/operation/list_vaults/builders.rs index 0225272af950..9af88b9b7d6c 100644 --- a/sdk/glacier/src/operation/list_vaults/builders.rs +++ b/sdk/glacier/src/operation/list_vaults/builders.rs @@ -22,9 +22,9 @@ impl ListVaultsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -80,6 +80,20 @@ impl ListVaultsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_vaults::ListVaults, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::list_vaults::paginator::ListVaultsPaginator::send) which returns a `Stream`. diff --git a/sdk/glacier/src/operation/purchase_provisioned_capacity/builders.rs b/sdk/glacier/src/operation/purchase_provisioned_capacity/builders.rs index 5121ca967f23..d075bc19d56b 100644 --- a/sdk/glacier/src/operation/purchase_provisioned_capacity/builders.rs +++ b/sdk/glacier/src/operation/purchase_provisioned_capacity/builders.rs @@ -19,9 +19,9 @@ impl PurchaseProvisionedCapacityFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl PurchaseProvisionedCapacityFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::purchase_provisioned_capacity::PurchaseProvisionedCapacity, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::purchase_provisioned_capacity::PurchaseProvisionedCapacityError, + >, + > { + self.customize_middleware().await + } ///

                                                                              The AWS account ID of the account that owns the vault. You can either specify an AWS account ID or optionally a single '-' (hyphen), in which case Amazon S3 Glacier uses the AWS account ID associated with the credentials used to sign the request. If you use an account ID, don't include any hyphens ('-') in the ID.

                                                                              pub fn account_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.account_id(input.into()); diff --git a/sdk/glacier/src/operation/remove_tags_from_vault/builders.rs b/sdk/glacier/src/operation/remove_tags_from_vault/builders.rs index 7a28379dbef8..7f00cee2b862 100644 --- a/sdk/glacier/src/operation/remove_tags_from_vault/builders.rs +++ b/sdk/glacier/src/operation/remove_tags_from_vault/builders.rs @@ -19,9 +19,9 @@ impl RemoveTagsFromVaultFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl RemoveTagsFromVaultFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::remove_tags_from_vault::RemoveTagsFromVault, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::remove_tags_from_vault::RemoveTagsFromVaultError, + >, + > { + self.customize_middleware().await + } ///

                                                                              The AccountId value is the AWS account ID of the account that owns the vault. You can either specify an AWS account ID or optionally a single '-' (hyphen), in which case Amazon S3 Glacier uses the AWS account ID associated with the credentials used to sign the request. If you use an account ID, do not include any hyphens ('-') in the ID.

                                                                              pub fn account_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.account_id(input.into()); diff --git a/sdk/glacier/src/operation/set_data_retrieval_policy/builders.rs b/sdk/glacier/src/operation/set_data_retrieval_policy/builders.rs index f79e9be0dfde..32b58c2fc131 100644 --- a/sdk/glacier/src/operation/set_data_retrieval_policy/builders.rs +++ b/sdk/glacier/src/operation/set_data_retrieval_policy/builders.rs @@ -21,9 +21,9 @@ impl SetDataRetrievalPolicyFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -85,6 +85,22 @@ impl SetDataRetrievalPolicyFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::set_data_retrieval_policy::SetDataRetrievalPolicy, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::set_data_retrieval_policy::SetDataRetrievalPolicyError, + >, + > { + self.customize_middleware().await + } ///

                                                                              The AccountId value is the AWS account ID. This value must match the AWS account ID associated with the credentials used to sign the request. You can either specify an AWS account ID or optionally a single '-' (hyphen), in which case Amazon Glacier uses the AWS account ID associated with the credentials used to sign the request. If you specify your account ID, do not include any hyphens ('-') in the ID.

                                                                              pub fn account_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.account_id(input.into()); diff --git a/sdk/glacier/src/operation/set_vault_access_policy/builders.rs b/sdk/glacier/src/operation/set_vault_access_policy/builders.rs index 92ec1c47a1dd..dd3593c07c92 100644 --- a/sdk/glacier/src/operation/set_vault_access_policy/builders.rs +++ b/sdk/glacier/src/operation/set_vault_access_policy/builders.rs @@ -19,9 +19,9 @@ impl SetVaultAccessPolicyFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl SetVaultAccessPolicyFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::set_vault_access_policy::SetVaultAccessPolicy, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::set_vault_access_policy::SetVaultAccessPolicyError, + >, + > { + self.customize_middleware().await + } ///

                                                                              The AccountId value is the AWS account ID of the account that owns the vault. You can either specify an AWS account ID or optionally a single '-' (hyphen), in which case Amazon S3 Glacier uses the AWS account ID associated with the credentials used to sign the request. If you use an account ID, do not include any hyphens ('-') in the ID.

                                                                              pub fn account_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.account_id(input.into()); diff --git a/sdk/glacier/src/operation/set_vault_notifications/builders.rs b/sdk/glacier/src/operation/set_vault_notifications/builders.rs index b8064a6b33b3..dac4e8b18fbb 100644 --- a/sdk/glacier/src/operation/set_vault_notifications/builders.rs +++ b/sdk/glacier/src/operation/set_vault_notifications/builders.rs @@ -27,9 +27,9 @@ impl SetVaultNotificationsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -91,6 +91,22 @@ impl SetVaultNotificationsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::set_vault_notifications::SetVaultNotifications, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::set_vault_notifications::SetVaultNotificationsError, + >, + > { + self.customize_middleware().await + } ///

                                                                              The AccountId value is the AWS account ID of the account that owns the vault. You can either specify an AWS account ID or optionally a single '-' (hyphen), in which case Amazon S3 Glacier uses the AWS account ID associated with the credentials used to sign the request. If you use an account ID, do not include any hyphens ('-') in the ID.

                                                                              pub fn account_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.account_id(input.into()); diff --git a/sdk/glacier/src/operation/upload_archive/builders.rs b/sdk/glacier/src/operation/upload_archive/builders.rs index ad60ab775262..642e17c31773 100644 --- a/sdk/glacier/src/operation/upload_archive/builders.rs +++ b/sdk/glacier/src/operation/upload_archive/builders.rs @@ -25,9 +25,9 @@ impl UploadArchiveFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,20 @@ impl UploadArchiveFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::upload_archive::UploadArchive, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                              The name of the vault.

                                                                              pub fn vault_name(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.vault_name(input.into()); diff --git a/sdk/glacier/src/operation/upload_multipart_part/builders.rs b/sdk/glacier/src/operation/upload_multipart_part/builders.rs index b396aaa01339..c9c0fef5e2dd 100644 --- a/sdk/glacier/src/operation/upload_multipart_part/builders.rs +++ b/sdk/glacier/src/operation/upload_multipart_part/builders.rs @@ -30,9 +30,9 @@ impl UploadMultipartPartFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -94,6 +94,22 @@ impl UploadMultipartPartFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::upload_multipart_part::UploadMultipartPart, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::upload_multipart_part::UploadMultipartPartError, + >, + > { + self.customize_middleware().await + } ///

                                                                              The AccountId value is the AWS account ID of the account that owns the vault. You can either specify an AWS account ID or optionally a single '-' (hyphen), in which case Amazon S3 Glacier uses the AWS account ID associated with the credentials used to sign the request. If you use an account ID, do not include any hyphens ('-') in the ID.

                                                                              pub fn account_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.account_id(input.into()); diff --git a/sdk/globalaccelerator/src/operation/add_custom_routing_endpoints/builders.rs b/sdk/globalaccelerator/src/operation/add_custom_routing_endpoints/builders.rs index 0225a4321e3e..81c0d719d9e7 100644 --- a/sdk/globalaccelerator/src/operation/add_custom_routing_endpoints/builders.rs +++ b/sdk/globalaccelerator/src/operation/add_custom_routing_endpoints/builders.rs @@ -22,9 +22,9 @@ impl AddCustomRoutingEndpointsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -86,6 +86,22 @@ impl AddCustomRoutingEndpointsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::add_custom_routing_endpoints::AddCustomRoutingEndpoints, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::add_custom_routing_endpoints::AddCustomRoutingEndpointsError, + >, + > { + self.customize_middleware().await + } /// Appends an item to `EndpointConfigurations`. /// /// To override the contents of this collection use [`set_endpoint_configurations`](Self::set_endpoint_configurations). diff --git a/sdk/globalaccelerator/src/operation/add_endpoints/builders.rs b/sdk/globalaccelerator/src/operation/add_endpoints/builders.rs index 756481bc0c43..c7b3fbdee645 100644 --- a/sdk/globalaccelerator/src/operation/add_endpoints/builders.rs +++ b/sdk/globalaccelerator/src/operation/add_endpoints/builders.rs @@ -24,9 +24,9 @@ impl AddEndpointsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -82,6 +82,20 @@ impl AddEndpointsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::add_endpoints::AddEndpoints, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } /// Appends an item to `EndpointConfigurations`. /// /// To override the contents of this collection use [`set_endpoint_configurations`](Self::set_endpoint_configurations). diff --git a/sdk/globalaccelerator/src/operation/advertise_byoip_cidr/builders.rs b/sdk/globalaccelerator/src/operation/advertise_byoip_cidr/builders.rs index 6b1be460a619..2837f2a9f613 100644 --- a/sdk/globalaccelerator/src/operation/advertise_byoip_cidr/builders.rs +++ b/sdk/globalaccelerator/src/operation/advertise_byoip_cidr/builders.rs @@ -21,9 +21,9 @@ impl AdvertiseByoipCidrFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -85,6 +85,22 @@ impl AdvertiseByoipCidrFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::advertise_byoip_cidr::AdvertiseByoipCidr, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::advertise_byoip_cidr::AdvertiseByoipCidrError, + >, + > { + self.customize_middleware().await + } ///

                                                                              The address range, in CIDR notation. This must be the exact range that you provisioned. You can't advertise only a portion of the provisioned range.

                                                                              pub fn cidr(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.cidr(input.into()); diff --git a/sdk/globalaccelerator/src/operation/allow_custom_routing_traffic/builders.rs b/sdk/globalaccelerator/src/operation/allow_custom_routing_traffic/builders.rs index 903163804a9f..c7f51ecc00de 100644 --- a/sdk/globalaccelerator/src/operation/allow_custom_routing_traffic/builders.rs +++ b/sdk/globalaccelerator/src/operation/allow_custom_routing_traffic/builders.rs @@ -20,9 +20,9 @@ impl AllowCustomRoutingTrafficFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -84,6 +84,22 @@ impl AllowCustomRoutingTrafficFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::allow_custom_routing_traffic::AllowCustomRoutingTraffic, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::allow_custom_routing_traffic::AllowCustomRoutingTrafficError, + >, + > { + self.customize_middleware().await + } ///

                                                                              The Amazon Resource Name (ARN) of the endpoint group.

                                                                              pub fn endpoint_group_arn( mut self, diff --git a/sdk/globalaccelerator/src/operation/create_accelerator/builders.rs b/sdk/globalaccelerator/src/operation/create_accelerator/builders.rs index ce5207a39753..09acee4d1c6d 100644 --- a/sdk/globalaccelerator/src/operation/create_accelerator/builders.rs +++ b/sdk/globalaccelerator/src/operation/create_accelerator/builders.rs @@ -21,9 +21,9 @@ impl CreateAcceleratorFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -85,6 +85,22 @@ impl CreateAcceleratorFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::create_accelerator::CreateAccelerator, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::create_accelerator::CreateAcceleratorError, + >, + > { + self.customize_middleware().await + } ///

                                                                              The name of the accelerator. The name can have a maximum of 64 characters, must contain only alphanumeric characters, periods (.), or hyphens (-), and must not begin or end with a hyphen or period.

                                                                              pub fn name(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.name(input.into()); diff --git a/sdk/globalaccelerator/src/operation/create_custom_routing_accelerator/builders.rs b/sdk/globalaccelerator/src/operation/create_custom_routing_accelerator/builders.rs index 897b424f1993..bcabf323af0e 100644 --- a/sdk/globalaccelerator/src/operation/create_custom_routing_accelerator/builders.rs +++ b/sdk/globalaccelerator/src/operation/create_custom_routing_accelerator/builders.rs @@ -22,9 +22,9 @@ impl CreateCustomRoutingAcceleratorFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize(self) -> ::std::result::Result< + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware(self) -> ::std::result::Result< crate::client::customize::CustomizableOperation, ::aws_smithy_http::result::SdkError >{ @@ -67,6 +67,15 @@ impl CreateCustomRoutingAcceleratorFluentBuilder { { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize(self) -> ::std::result::Result< + crate::client::customize::CustomizableOperation, + ::aws_smithy_http::result::SdkError + >{ + self.customize_middleware().await + } ///

                                                                              The name of a custom routing accelerator. The name can have a maximum of 64 characters, must contain only alphanumeric characters or hyphens (-), and must not begin or end with a hyphen.

                                                                              pub fn name(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.name(input.into()); diff --git a/sdk/globalaccelerator/src/operation/create_custom_routing_endpoint_group/builders.rs b/sdk/globalaccelerator/src/operation/create_custom_routing_endpoint_group/builders.rs index 46cccf46bef5..1f3ce5a3fd65 100644 --- a/sdk/globalaccelerator/src/operation/create_custom_routing_endpoint_group/builders.rs +++ b/sdk/globalaccelerator/src/operation/create_custom_routing_endpoint_group/builders.rs @@ -19,9 +19,9 @@ impl CreateCustomRoutingEndpointGroupFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize(self) -> ::std::result::Result< + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware(self) -> ::std::result::Result< crate::client::customize::CustomizableOperation, ::aws_smithy_http::result::SdkError >{ @@ -64,6 +64,15 @@ impl CreateCustomRoutingEndpointGroupFluentBuilder { { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize(self) -> ::std::result::Result< + crate::client::customize::CustomizableOperation, + ::aws_smithy_http::result::SdkError + >{ + self.customize_middleware().await + } ///

                                                                              The Amazon Resource Name (ARN) of the listener for a custom routing endpoint.

                                                                              pub fn listener_arn(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.listener_arn(input.into()); diff --git a/sdk/globalaccelerator/src/operation/create_custom_routing_listener/builders.rs b/sdk/globalaccelerator/src/operation/create_custom_routing_listener/builders.rs index b193d1da2836..2869d2469a63 100644 --- a/sdk/globalaccelerator/src/operation/create_custom_routing_listener/builders.rs +++ b/sdk/globalaccelerator/src/operation/create_custom_routing_listener/builders.rs @@ -19,9 +19,9 @@ impl CreateCustomRoutingListenerFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl CreateCustomRoutingListenerFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::create_custom_routing_listener::CreateCustomRoutingListener, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::create_custom_routing_listener::CreateCustomRoutingListenerError, + >, + > { + self.customize_middleware().await + } ///

                                                                              The Amazon Resource Name (ARN) of the accelerator for a custom routing listener.

                                                                              pub fn accelerator_arn( mut self, diff --git a/sdk/globalaccelerator/src/operation/create_endpoint_group/builders.rs b/sdk/globalaccelerator/src/operation/create_endpoint_group/builders.rs index 714a8912d689..aa28c39d88c0 100644 --- a/sdk/globalaccelerator/src/operation/create_endpoint_group/builders.rs +++ b/sdk/globalaccelerator/src/operation/create_endpoint_group/builders.rs @@ -19,9 +19,9 @@ impl CreateEndpointGroupFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl CreateEndpointGroupFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::create_endpoint_group::CreateEndpointGroup, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::create_endpoint_group::CreateEndpointGroupError, + >, + > { + self.customize_middleware().await + } ///

                                                                              The Amazon Resource Name (ARN) of the listener.

                                                                              pub fn listener_arn(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.listener_arn(input.into()); diff --git a/sdk/globalaccelerator/src/operation/create_listener/builders.rs b/sdk/globalaccelerator/src/operation/create_listener/builders.rs index 9ffd5adfc59a..d469129c9fe1 100644 --- a/sdk/globalaccelerator/src/operation/create_listener/builders.rs +++ b/sdk/globalaccelerator/src/operation/create_listener/builders.rs @@ -19,9 +19,9 @@ impl CreateListenerFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl CreateListenerFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::create_listener::CreateListener, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                              The Amazon Resource Name (ARN) of your accelerator.

                                                                              pub fn accelerator_arn( mut self, diff --git a/sdk/globalaccelerator/src/operation/delete_accelerator/builders.rs b/sdk/globalaccelerator/src/operation/delete_accelerator/builders.rs index 4c45e148c0ca..00e3f1936d5d 100644 --- a/sdk/globalaccelerator/src/operation/delete_accelerator/builders.rs +++ b/sdk/globalaccelerator/src/operation/delete_accelerator/builders.rs @@ -22,9 +22,9 @@ impl DeleteAcceleratorFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -86,6 +86,22 @@ impl DeleteAcceleratorFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::delete_accelerator::DeleteAccelerator, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::delete_accelerator::DeleteAcceleratorError, + >, + > { + self.customize_middleware().await + } ///

                                                                              The Amazon Resource Name (ARN) of an accelerator.

                                                                              pub fn accelerator_arn( mut self, diff --git a/sdk/globalaccelerator/src/operation/delete_custom_routing_accelerator/builders.rs b/sdk/globalaccelerator/src/operation/delete_custom_routing_accelerator/builders.rs index df926b598ee6..32400e64aad4 100644 --- a/sdk/globalaccelerator/src/operation/delete_custom_routing_accelerator/builders.rs +++ b/sdk/globalaccelerator/src/operation/delete_custom_routing_accelerator/builders.rs @@ -22,9 +22,9 @@ impl DeleteCustomRoutingAcceleratorFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize(self) -> ::std::result::Result< + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware(self) -> ::std::result::Result< crate::client::customize::CustomizableOperation, ::aws_smithy_http::result::SdkError >{ @@ -67,6 +67,15 @@ impl DeleteCustomRoutingAcceleratorFluentBuilder { { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize(self) -> ::std::result::Result< + crate::client::customize::CustomizableOperation, + ::aws_smithy_http::result::SdkError + >{ + self.customize_middleware().await + } ///

                                                                              The Amazon Resource Name (ARN) of the custom routing accelerator to delete.

                                                                              pub fn accelerator_arn( mut self, diff --git a/sdk/globalaccelerator/src/operation/delete_custom_routing_endpoint_group/builders.rs b/sdk/globalaccelerator/src/operation/delete_custom_routing_endpoint_group/builders.rs index fe38a0c2d0d8..6c209d9ffddb 100644 --- a/sdk/globalaccelerator/src/operation/delete_custom_routing_endpoint_group/builders.rs +++ b/sdk/globalaccelerator/src/operation/delete_custom_routing_endpoint_group/builders.rs @@ -19,9 +19,9 @@ impl DeleteCustomRoutingEndpointGroupFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize(self) -> ::std::result::Result< + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware(self) -> ::std::result::Result< crate::client::customize::CustomizableOperation, ::aws_smithy_http::result::SdkError >{ @@ -64,6 +64,15 @@ impl DeleteCustomRoutingEndpointGroupFluentBuilder { { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize(self) -> ::std::result::Result< + crate::client::customize::CustomizableOperation, + ::aws_smithy_http::result::SdkError + >{ + self.customize_middleware().await + } ///

                                                                              The Amazon Resource Name (ARN) of the endpoint group to delete.

                                                                              pub fn endpoint_group_arn( mut self, diff --git a/sdk/globalaccelerator/src/operation/delete_custom_routing_listener/builders.rs b/sdk/globalaccelerator/src/operation/delete_custom_routing_listener/builders.rs index 78f87bc83d40..7b9c1f7cda9b 100644 --- a/sdk/globalaccelerator/src/operation/delete_custom_routing_listener/builders.rs +++ b/sdk/globalaccelerator/src/operation/delete_custom_routing_listener/builders.rs @@ -19,9 +19,9 @@ impl DeleteCustomRoutingListenerFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl DeleteCustomRoutingListenerFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::delete_custom_routing_listener::DeleteCustomRoutingListener, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::delete_custom_routing_listener::DeleteCustomRoutingListenerError, + >, + > { + self.customize_middleware().await + } ///

                                                                              The Amazon Resource Name (ARN) of the listener to delete.

                                                                              pub fn listener_arn(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.listener_arn(input.into()); diff --git a/sdk/globalaccelerator/src/operation/delete_endpoint_group/builders.rs b/sdk/globalaccelerator/src/operation/delete_endpoint_group/builders.rs index b84839eb5480..f68d3fbc37ee 100644 --- a/sdk/globalaccelerator/src/operation/delete_endpoint_group/builders.rs +++ b/sdk/globalaccelerator/src/operation/delete_endpoint_group/builders.rs @@ -19,9 +19,9 @@ impl DeleteEndpointGroupFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl DeleteEndpointGroupFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::delete_endpoint_group::DeleteEndpointGroup, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::delete_endpoint_group::DeleteEndpointGroupError, + >, + > { + self.customize_middleware().await + } ///

                                                                              The Amazon Resource Name (ARN) of the endpoint group to delete.

                                                                              pub fn endpoint_group_arn( mut self, diff --git a/sdk/globalaccelerator/src/operation/delete_listener/builders.rs b/sdk/globalaccelerator/src/operation/delete_listener/builders.rs index b20e56043230..8358a3baad64 100644 --- a/sdk/globalaccelerator/src/operation/delete_listener/builders.rs +++ b/sdk/globalaccelerator/src/operation/delete_listener/builders.rs @@ -19,9 +19,9 @@ impl DeleteListenerFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl DeleteListenerFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::delete_listener::DeleteListener, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                              The Amazon Resource Name (ARN) of the listener.

                                                                              pub fn listener_arn(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.listener_arn(input.into()); diff --git a/sdk/globalaccelerator/src/operation/deny_custom_routing_traffic/builders.rs b/sdk/globalaccelerator/src/operation/deny_custom_routing_traffic/builders.rs index c0155dac646e..ff3ab90ce562 100644 --- a/sdk/globalaccelerator/src/operation/deny_custom_routing_traffic/builders.rs +++ b/sdk/globalaccelerator/src/operation/deny_custom_routing_traffic/builders.rs @@ -20,9 +20,9 @@ impl DenyCustomRoutingTrafficFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -84,6 +84,22 @@ impl DenyCustomRoutingTrafficFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::deny_custom_routing_traffic::DenyCustomRoutingTraffic, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::deny_custom_routing_traffic::DenyCustomRoutingTrafficError, + >, + > { + self.customize_middleware().await + } ///

                                                                              The Amazon Resource Name (ARN) of the endpoint group.

                                                                              pub fn endpoint_group_arn( mut self, diff --git a/sdk/globalaccelerator/src/operation/deprovision_byoip_cidr/builders.rs b/sdk/globalaccelerator/src/operation/deprovision_byoip_cidr/builders.rs index 03486952682c..83a30ce255b2 100644 --- a/sdk/globalaccelerator/src/operation/deprovision_byoip_cidr/builders.rs +++ b/sdk/globalaccelerator/src/operation/deprovision_byoip_cidr/builders.rs @@ -21,9 +21,9 @@ impl DeprovisionByoipCidrFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -85,6 +85,22 @@ impl DeprovisionByoipCidrFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::deprovision_byoip_cidr::DeprovisionByoipCidr, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::deprovision_byoip_cidr::DeprovisionByoipCidrError, + >, + > { + self.customize_middleware().await + } ///

                                                                              The address range, in CIDR notation. The prefix must be the same prefix that you specified when you provisioned the address range.

                                                                              pub fn cidr(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.cidr(input.into()); diff --git a/sdk/globalaccelerator/src/operation/describe_accelerator/builders.rs b/sdk/globalaccelerator/src/operation/describe_accelerator/builders.rs index 7fab72133616..c3854c1cdb76 100644 --- a/sdk/globalaccelerator/src/operation/describe_accelerator/builders.rs +++ b/sdk/globalaccelerator/src/operation/describe_accelerator/builders.rs @@ -19,9 +19,9 @@ impl DescribeAcceleratorFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl DescribeAcceleratorFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::describe_accelerator::DescribeAccelerator, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::describe_accelerator::DescribeAcceleratorError, + >, + > { + self.customize_middleware().await + } ///

                                                                              The Amazon Resource Name (ARN) of the accelerator to describe.

                                                                              pub fn accelerator_arn( mut self, diff --git a/sdk/globalaccelerator/src/operation/describe_accelerator_attributes/builders.rs b/sdk/globalaccelerator/src/operation/describe_accelerator_attributes/builders.rs index b1b1778e90fd..f79b5f2d5c89 100644 --- a/sdk/globalaccelerator/src/operation/describe_accelerator_attributes/builders.rs +++ b/sdk/globalaccelerator/src/operation/describe_accelerator_attributes/builders.rs @@ -19,9 +19,9 @@ impl DescribeAcceleratorAttributesFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl DescribeAcceleratorAttributesFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::describe_accelerator_attributes::DescribeAcceleratorAttributes, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::describe_accelerator_attributes::DescribeAcceleratorAttributesError, + >, + > { + self.customize_middleware().await + } ///

                                                                              The Amazon Resource Name (ARN) of the accelerator with the attributes that you want to describe.

                                                                              pub fn accelerator_arn( mut self, diff --git a/sdk/globalaccelerator/src/operation/describe_custom_routing_accelerator/builders.rs b/sdk/globalaccelerator/src/operation/describe_custom_routing_accelerator/builders.rs index a7a8cb66f367..11561cbd34bf 100644 --- a/sdk/globalaccelerator/src/operation/describe_custom_routing_accelerator/builders.rs +++ b/sdk/globalaccelerator/src/operation/describe_custom_routing_accelerator/builders.rs @@ -19,9 +19,9 @@ impl DescribeCustomRoutingAcceleratorFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize(self) -> ::std::result::Result< + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware(self) -> ::std::result::Result< crate::client::customize::CustomizableOperation, ::aws_smithy_http::result::SdkError >{ @@ -64,6 +64,15 @@ impl DescribeCustomRoutingAcceleratorFluentBuilder { { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize(self) -> ::std::result::Result< + crate::client::customize::CustomizableOperation, + ::aws_smithy_http::result::SdkError + >{ + self.customize_middleware().await + } ///

                                                                              The Amazon Resource Name (ARN) of the accelerator to describe.

                                                                              pub fn accelerator_arn( mut self, diff --git a/sdk/globalaccelerator/src/operation/describe_custom_routing_accelerator_attributes/builders.rs b/sdk/globalaccelerator/src/operation/describe_custom_routing_accelerator_attributes/builders.rs index 839e4789c4f7..48c8ed06495c 100644 --- a/sdk/globalaccelerator/src/operation/describe_custom_routing_accelerator_attributes/builders.rs +++ b/sdk/globalaccelerator/src/operation/describe_custom_routing_accelerator_attributes/builders.rs @@ -19,9 +19,9 @@ impl DescribeCustomRoutingAcceleratorAttributesFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize(self) -> ::std::result::Result< + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware(self) -> ::std::result::Result< crate::client::customize::CustomizableOperation, ::aws_smithy_http::result::SdkError >{ @@ -64,6 +64,15 @@ impl DescribeCustomRoutingAcceleratorAttributesFluentBuilder { { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize(self) -> ::std::result::Result< + crate::client::customize::CustomizableOperation, + ::aws_smithy_http::result::SdkError + >{ + self.customize_middleware().await + } ///

                                                                              The Amazon Resource Name (ARN) of the custom routing accelerator to describe the attributes for.

                                                                              pub fn accelerator_arn( mut self, diff --git a/sdk/globalaccelerator/src/operation/describe_custom_routing_endpoint_group/builders.rs b/sdk/globalaccelerator/src/operation/describe_custom_routing_endpoint_group/builders.rs index 1555c56477ca..d4196a0437eb 100644 --- a/sdk/globalaccelerator/src/operation/describe_custom_routing_endpoint_group/builders.rs +++ b/sdk/globalaccelerator/src/operation/describe_custom_routing_endpoint_group/builders.rs @@ -19,9 +19,9 @@ impl DescribeCustomRoutingEndpointGroupFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize(self) -> ::std::result::Result< + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware(self) -> ::std::result::Result< crate::client::customize::CustomizableOperation, ::aws_smithy_http::result::SdkError >{ @@ -64,6 +64,15 @@ impl DescribeCustomRoutingEndpointGroupFluentBuilder { { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize(self) -> ::std::result::Result< + crate::client::customize::CustomizableOperation, + ::aws_smithy_http::result::SdkError + >{ + self.customize_middleware().await + } ///

                                                                              The Amazon Resource Name (ARN) of the endpoint group to describe.

                                                                              pub fn endpoint_group_arn( mut self, diff --git a/sdk/globalaccelerator/src/operation/describe_custom_routing_listener/builders.rs b/sdk/globalaccelerator/src/operation/describe_custom_routing_listener/builders.rs index 9519f94d8925..7bdd7956c247 100644 --- a/sdk/globalaccelerator/src/operation/describe_custom_routing_listener/builders.rs +++ b/sdk/globalaccelerator/src/operation/describe_custom_routing_listener/builders.rs @@ -19,9 +19,9 @@ impl DescribeCustomRoutingListenerFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl DescribeCustomRoutingListenerFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::describe_custom_routing_listener::DescribeCustomRoutingListener, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::describe_custom_routing_listener::DescribeCustomRoutingListenerError, + >, + > { + self.customize_middleware().await + } ///

                                                                              The Amazon Resource Name (ARN) of the listener to describe.

                                                                              pub fn listener_arn(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.listener_arn(input.into()); diff --git a/sdk/globalaccelerator/src/operation/describe_endpoint_group/builders.rs b/sdk/globalaccelerator/src/operation/describe_endpoint_group/builders.rs index 2ef044538076..8448df55d6d8 100644 --- a/sdk/globalaccelerator/src/operation/describe_endpoint_group/builders.rs +++ b/sdk/globalaccelerator/src/operation/describe_endpoint_group/builders.rs @@ -19,9 +19,9 @@ impl DescribeEndpointGroupFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl DescribeEndpointGroupFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::describe_endpoint_group::DescribeEndpointGroup, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::describe_endpoint_group::DescribeEndpointGroupError, + >, + > { + self.customize_middleware().await + } ///

                                                                              The Amazon Resource Name (ARN) of the endpoint group to describe.

                                                                              pub fn endpoint_group_arn( mut self, diff --git a/sdk/globalaccelerator/src/operation/describe_listener/builders.rs b/sdk/globalaccelerator/src/operation/describe_listener/builders.rs index b59143b5ff51..0f5859d1a4b0 100644 --- a/sdk/globalaccelerator/src/operation/describe_listener/builders.rs +++ b/sdk/globalaccelerator/src/operation/describe_listener/builders.rs @@ -19,9 +19,9 @@ impl DescribeListenerFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl DescribeListenerFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::describe_listener::DescribeListener, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::describe_listener::DescribeListenerError, + >, + > { + self.customize_middleware().await + } ///

                                                                              The Amazon Resource Name (ARN) of the listener to describe.

                                                                              pub fn listener_arn(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.listener_arn(input.into()); diff --git a/sdk/globalaccelerator/src/operation/list_accelerators/builders.rs b/sdk/globalaccelerator/src/operation/list_accelerators/builders.rs index ab5314fb2397..a9596ba61280 100644 --- a/sdk/globalaccelerator/src/operation/list_accelerators/builders.rs +++ b/sdk/globalaccelerator/src/operation/list_accelerators/builders.rs @@ -19,9 +19,9 @@ impl ListAcceleratorsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl ListAcceleratorsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_accelerators::ListAccelerators, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::list_accelerators::ListAcceleratorsError, + >, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::list_accelerators::paginator::ListAcceleratorsPaginator::send) which returns a `Stream`. diff --git a/sdk/globalaccelerator/src/operation/list_byoip_cidrs/builders.rs b/sdk/globalaccelerator/src/operation/list_byoip_cidrs/builders.rs index 9db9a6586c68..4857a0c54ae9 100644 --- a/sdk/globalaccelerator/src/operation/list_byoip_cidrs/builders.rs +++ b/sdk/globalaccelerator/src/operation/list_byoip_cidrs/builders.rs @@ -19,9 +19,9 @@ impl ListByoipCidrsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl ListByoipCidrsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_byoip_cidrs::ListByoipCidrs, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::list_byoip_cidrs::ListByoipCidrsError, + >, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::list_byoip_cidrs::paginator::ListByoipCidrsPaginator::send) which returns a `Stream`. diff --git a/sdk/globalaccelerator/src/operation/list_custom_routing_accelerators/builders.rs b/sdk/globalaccelerator/src/operation/list_custom_routing_accelerators/builders.rs index 6f8d1c6a59df..5525d9efbd78 100644 --- a/sdk/globalaccelerator/src/operation/list_custom_routing_accelerators/builders.rs +++ b/sdk/globalaccelerator/src/operation/list_custom_routing_accelerators/builders.rs @@ -19,9 +19,9 @@ impl ListCustomRoutingAcceleratorsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl ListCustomRoutingAcceleratorsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_custom_routing_accelerators::ListCustomRoutingAccelerators, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::list_custom_routing_accelerators::ListCustomRoutingAcceleratorsError, + >, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::list_custom_routing_accelerators::paginator::ListCustomRoutingAcceleratorsPaginator::send) which returns a `Stream`. diff --git a/sdk/globalaccelerator/src/operation/list_custom_routing_endpoint_groups/builders.rs b/sdk/globalaccelerator/src/operation/list_custom_routing_endpoint_groups/builders.rs index adf1c7886df2..29e34cc53168 100644 --- a/sdk/globalaccelerator/src/operation/list_custom_routing_endpoint_groups/builders.rs +++ b/sdk/globalaccelerator/src/operation/list_custom_routing_endpoint_groups/builders.rs @@ -19,9 +19,9 @@ impl ListCustomRoutingEndpointGroupsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize(self) -> ::std::result::Result< + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware(self) -> ::std::result::Result< crate::client::customize::CustomizableOperation, ::aws_smithy_http::result::SdkError >{ @@ -64,6 +64,15 @@ impl ListCustomRoutingEndpointGroupsFluentBuilder { { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize(self) -> ::std::result::Result< + crate::client::customize::CustomizableOperation, + ::aws_smithy_http::result::SdkError + >{ + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::list_custom_routing_endpoint_groups::paginator::ListCustomRoutingEndpointGroupsPaginator::send) which returns a `Stream`. diff --git a/sdk/globalaccelerator/src/operation/list_custom_routing_listeners/builders.rs b/sdk/globalaccelerator/src/operation/list_custom_routing_listeners/builders.rs index 16de73ed3545..937a8d30de45 100644 --- a/sdk/globalaccelerator/src/operation/list_custom_routing_listeners/builders.rs +++ b/sdk/globalaccelerator/src/operation/list_custom_routing_listeners/builders.rs @@ -19,9 +19,9 @@ impl ListCustomRoutingListenersFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl ListCustomRoutingListenersFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_custom_routing_listeners::ListCustomRoutingListeners, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::list_custom_routing_listeners::ListCustomRoutingListenersError, + >, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::list_custom_routing_listeners::paginator::ListCustomRoutingListenersPaginator::send) which returns a `Stream`. diff --git a/sdk/globalaccelerator/src/operation/list_custom_routing_port_mappings/builders.rs b/sdk/globalaccelerator/src/operation/list_custom_routing_port_mappings/builders.rs index 47b8d47bc1c9..e08ed8b997c3 100644 --- a/sdk/globalaccelerator/src/operation/list_custom_routing_port_mappings/builders.rs +++ b/sdk/globalaccelerator/src/operation/list_custom_routing_port_mappings/builders.rs @@ -21,9 +21,9 @@ impl ListCustomRoutingPortMappingsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -85,6 +85,22 @@ impl ListCustomRoutingPortMappingsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_custom_routing_port_mappings::ListCustomRoutingPortMappings, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::list_custom_routing_port_mappings::ListCustomRoutingPortMappingsError, + >, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::list_custom_routing_port_mappings::paginator::ListCustomRoutingPortMappingsPaginator::send) which returns a `Stream`. diff --git a/sdk/globalaccelerator/src/operation/list_custom_routing_port_mappings_by_destination/builders.rs b/sdk/globalaccelerator/src/operation/list_custom_routing_port_mappings_by_destination/builders.rs index 0a328005183f..012bbe2085cf 100644 --- a/sdk/globalaccelerator/src/operation/list_custom_routing_port_mappings_by_destination/builders.rs +++ b/sdk/globalaccelerator/src/operation/list_custom_routing_port_mappings_by_destination/builders.rs @@ -19,9 +19,9 @@ impl ListCustomRoutingPortMappingsByDestinationFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize(self) -> ::std::result::Result< + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware(self) -> ::std::result::Result< crate::client::customize::CustomizableOperation, ::aws_smithy_http::result::SdkError >{ @@ -64,6 +64,15 @@ impl ListCustomRoutingPortMappingsByDestinationFluentBuilder { { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize(self) -> ::std::result::Result< + crate::client::customize::CustomizableOperation, + ::aws_smithy_http::result::SdkError + >{ + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::list_custom_routing_port_mappings_by_destination::paginator::ListCustomRoutingPortMappingsByDestinationPaginator::send) which returns a `Stream`. diff --git a/sdk/globalaccelerator/src/operation/list_endpoint_groups/builders.rs b/sdk/globalaccelerator/src/operation/list_endpoint_groups/builders.rs index 21f9ae5bc29a..fd14ce4afec3 100644 --- a/sdk/globalaccelerator/src/operation/list_endpoint_groups/builders.rs +++ b/sdk/globalaccelerator/src/operation/list_endpoint_groups/builders.rs @@ -19,9 +19,9 @@ impl ListEndpointGroupsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl ListEndpointGroupsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_endpoint_groups::ListEndpointGroups, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::list_endpoint_groups::ListEndpointGroupsError, + >, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::list_endpoint_groups::paginator::ListEndpointGroupsPaginator::send) which returns a `Stream`. diff --git a/sdk/globalaccelerator/src/operation/list_listeners/builders.rs b/sdk/globalaccelerator/src/operation/list_listeners/builders.rs index 42ee9e3eac8d..b5a36418ac4c 100644 --- a/sdk/globalaccelerator/src/operation/list_listeners/builders.rs +++ b/sdk/globalaccelerator/src/operation/list_listeners/builders.rs @@ -19,9 +19,9 @@ impl ListListenersFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl ListListenersFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_listeners::ListListeners, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::list_listeners::paginator::ListListenersPaginator::send) which returns a `Stream`. diff --git a/sdk/globalaccelerator/src/operation/list_tags_for_resource/builders.rs b/sdk/globalaccelerator/src/operation/list_tags_for_resource/builders.rs index e8be0304c30f..3d51f4b95dd2 100644 --- a/sdk/globalaccelerator/src/operation/list_tags_for_resource/builders.rs +++ b/sdk/globalaccelerator/src/operation/list_tags_for_resource/builders.rs @@ -20,9 +20,9 @@ impl ListTagsForResourceFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -84,6 +84,22 @@ impl ListTagsForResourceFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_tags_for_resource::ListTagsForResource, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::list_tags_for_resource::ListTagsForResourceError, + >, + > { + self.customize_middleware().await + } ///

                                                                              The Amazon Resource Name (ARN) of the accelerator to list tags for. An ARN uniquely identifies an accelerator.

                                                                              pub fn resource_arn(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.resource_arn(input.into()); diff --git a/sdk/globalaccelerator/src/operation/provision_byoip_cidr/builders.rs b/sdk/globalaccelerator/src/operation/provision_byoip_cidr/builders.rs index 7a30751f58e5..8e221ebfea0e 100644 --- a/sdk/globalaccelerator/src/operation/provision_byoip_cidr/builders.rs +++ b/sdk/globalaccelerator/src/operation/provision_byoip_cidr/builders.rs @@ -20,9 +20,9 @@ impl ProvisionByoipCidrFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -84,6 +84,22 @@ impl ProvisionByoipCidrFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::provision_byoip_cidr::ProvisionByoipCidr, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::provision_byoip_cidr::ProvisionByoipCidrError, + >, + > { + self.customize_middleware().await + } ///

                                                                              The public IPv4 address range, in CIDR notation. The most specific IP prefix that you can specify is /24. The address range cannot overlap with another address range that you've brought to this or another Region.

                                                                              pub fn cidr(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.cidr(input.into()); diff --git a/sdk/globalaccelerator/src/operation/remove_custom_routing_endpoints/builders.rs b/sdk/globalaccelerator/src/operation/remove_custom_routing_endpoints/builders.rs index 4c8e176e655e..96a43e9e35e9 100644 --- a/sdk/globalaccelerator/src/operation/remove_custom_routing_endpoints/builders.rs +++ b/sdk/globalaccelerator/src/operation/remove_custom_routing_endpoints/builders.rs @@ -19,9 +19,9 @@ impl RemoveCustomRoutingEndpointsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl RemoveCustomRoutingEndpointsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::remove_custom_routing_endpoints::RemoveCustomRoutingEndpoints, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::remove_custom_routing_endpoints::RemoveCustomRoutingEndpointsError, + >, + > { + self.customize_middleware().await + } /// Appends an item to `EndpointIds`. /// /// To override the contents of this collection use [`set_endpoint_ids`](Self::set_endpoint_ids). diff --git a/sdk/globalaccelerator/src/operation/remove_endpoints/builders.rs b/sdk/globalaccelerator/src/operation/remove_endpoints/builders.rs index 9e2e691eb307..d3da011122d4 100644 --- a/sdk/globalaccelerator/src/operation/remove_endpoints/builders.rs +++ b/sdk/globalaccelerator/src/operation/remove_endpoints/builders.rs @@ -24,9 +24,9 @@ impl RemoveEndpointsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -88,6 +88,22 @@ impl RemoveEndpointsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::remove_endpoints::RemoveEndpoints, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::remove_endpoints::RemoveEndpointsError, + >, + > { + self.customize_middleware().await + } /// Appends an item to `EndpointIdentifiers`. /// /// To override the contents of this collection use [`set_endpoint_identifiers`](Self::set_endpoint_identifiers). diff --git a/sdk/globalaccelerator/src/operation/tag_resource/builders.rs b/sdk/globalaccelerator/src/operation/tag_resource/builders.rs index de9f77e7af57..3a57f01a4fe0 100644 --- a/sdk/globalaccelerator/src/operation/tag_resource/builders.rs +++ b/sdk/globalaccelerator/src/operation/tag_resource/builders.rs @@ -20,9 +20,9 @@ impl TagResourceFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -78,6 +78,20 @@ impl TagResourceFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::tag_resource::TagResource, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                              The Amazon Resource Name (ARN) of the Global Accelerator resource to add tags to. An ARN uniquely identifies a resource.

                                                                              pub fn resource_arn(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.resource_arn(input.into()); diff --git a/sdk/globalaccelerator/src/operation/untag_resource/builders.rs b/sdk/globalaccelerator/src/operation/untag_resource/builders.rs index 40cd77a1efa0..b4f2f5216fd9 100644 --- a/sdk/globalaccelerator/src/operation/untag_resource/builders.rs +++ b/sdk/globalaccelerator/src/operation/untag_resource/builders.rs @@ -20,9 +20,9 @@ impl UntagResourceFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -78,6 +78,20 @@ impl UntagResourceFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::untag_resource::UntagResource, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                              The Amazon Resource Name (ARN) of the Global Accelerator resource to remove tags from. An ARN uniquely identifies a resource.

                                                                              pub fn resource_arn(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.resource_arn(input.into()); diff --git a/sdk/globalaccelerator/src/operation/update_accelerator/builders.rs b/sdk/globalaccelerator/src/operation/update_accelerator/builders.rs index f68088f426a3..b033d944bca6 100644 --- a/sdk/globalaccelerator/src/operation/update_accelerator/builders.rs +++ b/sdk/globalaccelerator/src/operation/update_accelerator/builders.rs @@ -21,9 +21,9 @@ impl UpdateAcceleratorFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -85,6 +85,22 @@ impl UpdateAcceleratorFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::update_accelerator::UpdateAccelerator, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::update_accelerator::UpdateAcceleratorError, + >, + > { + self.customize_middleware().await + } ///

                                                                              The Amazon Resource Name (ARN) of the accelerator to update.

                                                                              pub fn accelerator_arn( mut self, diff --git a/sdk/globalaccelerator/src/operation/update_accelerator_attributes/builders.rs b/sdk/globalaccelerator/src/operation/update_accelerator_attributes/builders.rs index 0585f9900b68..f14261ea5e15 100644 --- a/sdk/globalaccelerator/src/operation/update_accelerator_attributes/builders.rs +++ b/sdk/globalaccelerator/src/operation/update_accelerator_attributes/builders.rs @@ -19,9 +19,9 @@ impl UpdateAcceleratorAttributesFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl UpdateAcceleratorAttributesFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::update_accelerator_attributes::UpdateAcceleratorAttributes, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::update_accelerator_attributes::UpdateAcceleratorAttributesError, + >, + > { + self.customize_middleware().await + } ///

                                                                              The Amazon Resource Name (ARN) of the accelerator that you want to update.

                                                                              pub fn accelerator_arn( mut self, diff --git a/sdk/globalaccelerator/src/operation/update_custom_routing_accelerator/builders.rs b/sdk/globalaccelerator/src/operation/update_custom_routing_accelerator/builders.rs index 41d879be8d95..b50aabd24cef 100644 --- a/sdk/globalaccelerator/src/operation/update_custom_routing_accelerator/builders.rs +++ b/sdk/globalaccelerator/src/operation/update_custom_routing_accelerator/builders.rs @@ -19,9 +19,9 @@ impl UpdateCustomRoutingAcceleratorFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize(self) -> ::std::result::Result< + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware(self) -> ::std::result::Result< crate::client::customize::CustomizableOperation, ::aws_smithy_http::result::SdkError >{ @@ -64,6 +64,15 @@ impl UpdateCustomRoutingAcceleratorFluentBuilder { { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize(self) -> ::std::result::Result< + crate::client::customize::CustomizableOperation, + ::aws_smithy_http::result::SdkError + >{ + self.customize_middleware().await + } ///

                                                                              The Amazon Resource Name (ARN) of the accelerator to update.

                                                                              pub fn accelerator_arn( mut self, diff --git a/sdk/globalaccelerator/src/operation/update_custom_routing_accelerator_attributes/builders.rs b/sdk/globalaccelerator/src/operation/update_custom_routing_accelerator_attributes/builders.rs index 73e50f5853cd..18066dc5e8b3 100644 --- a/sdk/globalaccelerator/src/operation/update_custom_routing_accelerator_attributes/builders.rs +++ b/sdk/globalaccelerator/src/operation/update_custom_routing_accelerator_attributes/builders.rs @@ -19,9 +19,9 @@ impl UpdateCustomRoutingAcceleratorAttributesFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize(self) -> ::std::result::Result< + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware(self) -> ::std::result::Result< crate::client::customize::CustomizableOperation, ::aws_smithy_http::result::SdkError >{ @@ -64,6 +64,15 @@ impl UpdateCustomRoutingAcceleratorAttributesFluentBuilder { { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize(self) -> ::std::result::Result< + crate::client::customize::CustomizableOperation, + ::aws_smithy_http::result::SdkError + >{ + self.customize_middleware().await + } ///

                                                                              The Amazon Resource Name (ARN) of the custom routing accelerator to update attributes for.

                                                                              pub fn accelerator_arn( mut self, diff --git a/sdk/globalaccelerator/src/operation/update_custom_routing_listener/builders.rs b/sdk/globalaccelerator/src/operation/update_custom_routing_listener/builders.rs index 1312c8f277ba..d6cdfd0b2db0 100644 --- a/sdk/globalaccelerator/src/operation/update_custom_routing_listener/builders.rs +++ b/sdk/globalaccelerator/src/operation/update_custom_routing_listener/builders.rs @@ -19,9 +19,9 @@ impl UpdateCustomRoutingListenerFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl UpdateCustomRoutingListenerFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::update_custom_routing_listener::UpdateCustomRoutingListener, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::update_custom_routing_listener::UpdateCustomRoutingListenerError, + >, + > { + self.customize_middleware().await + } ///

                                                                              The Amazon Resource Name (ARN) of the listener to update.

                                                                              pub fn listener_arn(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.listener_arn(input.into()); diff --git a/sdk/globalaccelerator/src/operation/update_endpoint_group/builders.rs b/sdk/globalaccelerator/src/operation/update_endpoint_group/builders.rs index 65faf9eaa6f7..7e0448f53d59 100644 --- a/sdk/globalaccelerator/src/operation/update_endpoint_group/builders.rs +++ b/sdk/globalaccelerator/src/operation/update_endpoint_group/builders.rs @@ -19,9 +19,9 @@ impl UpdateEndpointGroupFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl UpdateEndpointGroupFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::update_endpoint_group::UpdateEndpointGroup, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::update_endpoint_group::UpdateEndpointGroupError, + >, + > { + self.customize_middleware().await + } ///

                                                                              The Amazon Resource Name (ARN) of the endpoint group.

                                                                              pub fn endpoint_group_arn( mut self, diff --git a/sdk/globalaccelerator/src/operation/update_listener/builders.rs b/sdk/globalaccelerator/src/operation/update_listener/builders.rs index 97c645f85435..7c64dccafe6f 100644 --- a/sdk/globalaccelerator/src/operation/update_listener/builders.rs +++ b/sdk/globalaccelerator/src/operation/update_listener/builders.rs @@ -19,9 +19,9 @@ impl UpdateListenerFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl UpdateListenerFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::update_listener::UpdateListener, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                              The Amazon Resource Name (ARN) of the listener to update.

                                                                              pub fn listener_arn(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.listener_arn(input.into()); diff --git a/sdk/globalaccelerator/src/operation/withdraw_byoip_cidr/builders.rs b/sdk/globalaccelerator/src/operation/withdraw_byoip_cidr/builders.rs index de4dfd289461..1870b59ae51c 100644 --- a/sdk/globalaccelerator/src/operation/withdraw_byoip_cidr/builders.rs +++ b/sdk/globalaccelerator/src/operation/withdraw_byoip_cidr/builders.rs @@ -21,9 +21,9 @@ impl WithdrawByoipCidrFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -85,6 +85,22 @@ impl WithdrawByoipCidrFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::withdraw_byoip_cidr::WithdrawByoipCidr, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::withdraw_byoip_cidr::WithdrawByoipCidrError, + >, + > { + self.customize_middleware().await + } ///

                                                                              The address range, in CIDR notation.

                                                                              pub fn cidr(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.cidr(input.into()); diff --git a/sdk/glue/src/operation/batch_create_partition/builders.rs b/sdk/glue/src/operation/batch_create_partition/builders.rs index 0fc39c4f592c..66d85bfc8e14 100644 --- a/sdk/glue/src/operation/batch_create_partition/builders.rs +++ b/sdk/glue/src/operation/batch_create_partition/builders.rs @@ -19,9 +19,9 @@ impl BatchCreatePartitionFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl BatchCreatePartitionFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::batch_create_partition::BatchCreatePartition, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::batch_create_partition::BatchCreatePartitionError, + >, + > { + self.customize_middleware().await + } ///

                                                                              The ID of the catalog in which the partition is to be created. Currently, this should be the Amazon Web Services account ID.

                                                                              pub fn catalog_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.catalog_id(input.into()); diff --git a/sdk/glue/src/operation/batch_delete_connection/builders.rs b/sdk/glue/src/operation/batch_delete_connection/builders.rs index 652b9b84e339..108b398206b0 100644 --- a/sdk/glue/src/operation/batch_delete_connection/builders.rs +++ b/sdk/glue/src/operation/batch_delete_connection/builders.rs @@ -19,9 +19,9 @@ impl BatchDeleteConnectionFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl BatchDeleteConnectionFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::batch_delete_connection::BatchDeleteConnection, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::batch_delete_connection::BatchDeleteConnectionError, + >, + > { + self.customize_middleware().await + } ///

                                                                              The ID of the Data Catalog in which the connections reside. If none is provided, the Amazon Web Services account ID is used by default.

                                                                              pub fn catalog_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.catalog_id(input.into()); diff --git a/sdk/glue/src/operation/batch_delete_partition/builders.rs b/sdk/glue/src/operation/batch_delete_partition/builders.rs index 97a12ea0c57e..8aff2a5412b8 100644 --- a/sdk/glue/src/operation/batch_delete_partition/builders.rs +++ b/sdk/glue/src/operation/batch_delete_partition/builders.rs @@ -19,9 +19,9 @@ impl BatchDeletePartitionFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl BatchDeletePartitionFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::batch_delete_partition::BatchDeletePartition, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::batch_delete_partition::BatchDeletePartitionError, + >, + > { + self.customize_middleware().await + } ///

                                                                              The ID of the Data Catalog where the partition to be deleted resides. If none is provided, the Amazon Web Services account ID is used by default.

                                                                              pub fn catalog_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.catalog_id(input.into()); diff --git a/sdk/glue/src/operation/batch_delete_table/builders.rs b/sdk/glue/src/operation/batch_delete_table/builders.rs index d645f2ffe613..088fd091e583 100644 --- a/sdk/glue/src/operation/batch_delete_table/builders.rs +++ b/sdk/glue/src/operation/batch_delete_table/builders.rs @@ -22,9 +22,9 @@ impl BatchDeleteTableFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -86,6 +86,22 @@ impl BatchDeleteTableFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::batch_delete_table::BatchDeleteTable, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::batch_delete_table::BatchDeleteTableError, + >, + > { + self.customize_middleware().await + } ///

                                                                              The ID of the Data Catalog where the table resides. If none is provided, the Amazon Web Services account ID is used by default.

                                                                              pub fn catalog_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.catalog_id(input.into()); diff --git a/sdk/glue/src/operation/batch_delete_table_version/builders.rs b/sdk/glue/src/operation/batch_delete_table_version/builders.rs index 8239e829732a..4dcb38b57755 100644 --- a/sdk/glue/src/operation/batch_delete_table_version/builders.rs +++ b/sdk/glue/src/operation/batch_delete_table_version/builders.rs @@ -20,9 +20,9 @@ impl BatchDeleteTableVersionFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -84,6 +84,22 @@ impl BatchDeleteTableVersionFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::batch_delete_table_version::BatchDeleteTableVersion, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::batch_delete_table_version::BatchDeleteTableVersionError, + >, + > { + self.customize_middleware().await + } ///

                                                                              The ID of the Data Catalog where the tables reside. If none is provided, the Amazon Web Services account ID is used by default.

                                                                              pub fn catalog_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.catalog_id(input.into()); diff --git a/sdk/glue/src/operation/batch_get_blueprints/builders.rs b/sdk/glue/src/operation/batch_get_blueprints/builders.rs index 5aa1f80854df..1f398d35dcf8 100644 --- a/sdk/glue/src/operation/batch_get_blueprints/builders.rs +++ b/sdk/glue/src/operation/batch_get_blueprints/builders.rs @@ -19,9 +19,9 @@ impl BatchGetBlueprintsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl BatchGetBlueprintsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::batch_get_blueprints::BatchGetBlueprints, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::batch_get_blueprints::BatchGetBlueprintsError, + >, + > { + self.customize_middleware().await + } /// Appends an item to `Names`. /// /// To override the contents of this collection use [`set_names`](Self::set_names). diff --git a/sdk/glue/src/operation/batch_get_crawlers/builders.rs b/sdk/glue/src/operation/batch_get_crawlers/builders.rs index 371605097ba7..e94370ed4eaf 100644 --- a/sdk/glue/src/operation/batch_get_crawlers/builders.rs +++ b/sdk/glue/src/operation/batch_get_crawlers/builders.rs @@ -19,9 +19,9 @@ impl BatchGetCrawlersFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl BatchGetCrawlersFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::batch_get_crawlers::BatchGetCrawlers, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::batch_get_crawlers::BatchGetCrawlersError, + >, + > { + self.customize_middleware().await + } /// Appends an item to `CrawlerNames`. /// /// To override the contents of this collection use [`set_crawler_names`](Self::set_crawler_names). diff --git a/sdk/glue/src/operation/batch_get_custom_entity_types/builders.rs b/sdk/glue/src/operation/batch_get_custom_entity_types/builders.rs index 108b9309a816..eef598e695a0 100644 --- a/sdk/glue/src/operation/batch_get_custom_entity_types/builders.rs +++ b/sdk/glue/src/operation/batch_get_custom_entity_types/builders.rs @@ -19,9 +19,9 @@ impl BatchGetCustomEntityTypesFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl BatchGetCustomEntityTypesFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::batch_get_custom_entity_types::BatchGetCustomEntityTypes, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::batch_get_custom_entity_types::BatchGetCustomEntityTypesError, + >, + > { + self.customize_middleware().await + } /// Appends an item to `Names`. /// /// To override the contents of this collection use [`set_names`](Self::set_names). diff --git a/sdk/glue/src/operation/batch_get_data_quality_result/builders.rs b/sdk/glue/src/operation/batch_get_data_quality_result/builders.rs index b3bd482c5b63..c3fccf5e1af0 100644 --- a/sdk/glue/src/operation/batch_get_data_quality_result/builders.rs +++ b/sdk/glue/src/operation/batch_get_data_quality_result/builders.rs @@ -19,9 +19,9 @@ impl BatchGetDataQualityResultFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl BatchGetDataQualityResultFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::batch_get_data_quality_result::BatchGetDataQualityResult, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::batch_get_data_quality_result::BatchGetDataQualityResultError, + >, + > { + self.customize_middleware().await + } /// Appends an item to `ResultIds`. /// /// To override the contents of this collection use [`set_result_ids`](Self::set_result_ids). diff --git a/sdk/glue/src/operation/batch_get_dev_endpoints/builders.rs b/sdk/glue/src/operation/batch_get_dev_endpoints/builders.rs index 017b90d009ce..67b6dd98f03f 100644 --- a/sdk/glue/src/operation/batch_get_dev_endpoints/builders.rs +++ b/sdk/glue/src/operation/batch_get_dev_endpoints/builders.rs @@ -19,9 +19,9 @@ impl BatchGetDevEndpointsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl BatchGetDevEndpointsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::batch_get_dev_endpoints::BatchGetDevEndpoints, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::batch_get_dev_endpoints::BatchGetDevEndpointsError, + >, + > { + self.customize_middleware().await + } /// Appends an item to `DevEndpointNames`. /// /// To override the contents of this collection use [`set_dev_endpoint_names`](Self::set_dev_endpoint_names). diff --git a/sdk/glue/src/operation/batch_get_jobs/builders.rs b/sdk/glue/src/operation/batch_get_jobs/builders.rs index 45f18914995f..b953cb6875c7 100644 --- a/sdk/glue/src/operation/batch_get_jobs/builders.rs +++ b/sdk/glue/src/operation/batch_get_jobs/builders.rs @@ -19,9 +19,9 @@ impl BatchGetJobsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl BatchGetJobsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::batch_get_jobs::BatchGetJobs, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } /// Appends an item to `JobNames`. /// /// To override the contents of this collection use [`set_job_names`](Self::set_job_names). diff --git a/sdk/glue/src/operation/batch_get_partition/builders.rs b/sdk/glue/src/operation/batch_get_partition/builders.rs index 2e1e2626f49d..f2c45bab95cc 100644 --- a/sdk/glue/src/operation/batch_get_partition/builders.rs +++ b/sdk/glue/src/operation/batch_get_partition/builders.rs @@ -19,9 +19,9 @@ impl BatchGetPartitionFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl BatchGetPartitionFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::batch_get_partition::BatchGetPartition, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::batch_get_partition::BatchGetPartitionError, + >, + > { + self.customize_middleware().await + } ///

                                                                              The ID of the Data Catalog where the partitions in question reside. If none is supplied, the Amazon Web Services account ID is used by default.

                                                                              pub fn catalog_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.catalog_id(input.into()); diff --git a/sdk/glue/src/operation/batch_get_triggers/builders.rs b/sdk/glue/src/operation/batch_get_triggers/builders.rs index bbaf6fe3f4f6..fb8f2aa4fe81 100644 --- a/sdk/glue/src/operation/batch_get_triggers/builders.rs +++ b/sdk/glue/src/operation/batch_get_triggers/builders.rs @@ -19,9 +19,9 @@ impl BatchGetTriggersFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl BatchGetTriggersFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::batch_get_triggers::BatchGetTriggers, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::batch_get_triggers::BatchGetTriggersError, + >, + > { + self.customize_middleware().await + } /// Appends an item to `TriggerNames`. /// /// To override the contents of this collection use [`set_trigger_names`](Self::set_trigger_names). diff --git a/sdk/glue/src/operation/batch_get_workflows/builders.rs b/sdk/glue/src/operation/batch_get_workflows/builders.rs index 6bedb76de8e6..09d5d88bde98 100644 --- a/sdk/glue/src/operation/batch_get_workflows/builders.rs +++ b/sdk/glue/src/operation/batch_get_workflows/builders.rs @@ -19,9 +19,9 @@ impl BatchGetWorkflowsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl BatchGetWorkflowsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::batch_get_workflows::BatchGetWorkflows, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::batch_get_workflows::BatchGetWorkflowsError, + >, + > { + self.customize_middleware().await + } /// Appends an item to `Names`. /// /// To override the contents of this collection use [`set_names`](Self::set_names). diff --git a/sdk/glue/src/operation/batch_stop_job_run/builders.rs b/sdk/glue/src/operation/batch_stop_job_run/builders.rs index dee28a230a9b..d3b8b04d9f2a 100644 --- a/sdk/glue/src/operation/batch_stop_job_run/builders.rs +++ b/sdk/glue/src/operation/batch_stop_job_run/builders.rs @@ -19,9 +19,9 @@ impl BatchStopJobRunFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl BatchStopJobRunFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::batch_stop_job_run::BatchStopJobRun, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::batch_stop_job_run::BatchStopJobRunError, + >, + > { + self.customize_middleware().await + } ///

                                                                              The name of the job definition for which to stop job runs.

                                                                              pub fn job_name(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.job_name(input.into()); diff --git a/sdk/glue/src/operation/batch_update_partition/builders.rs b/sdk/glue/src/operation/batch_update_partition/builders.rs index 417d2a2c9310..97ccc91e80c9 100644 --- a/sdk/glue/src/operation/batch_update_partition/builders.rs +++ b/sdk/glue/src/operation/batch_update_partition/builders.rs @@ -19,9 +19,9 @@ impl BatchUpdatePartitionFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl BatchUpdatePartitionFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::batch_update_partition::BatchUpdatePartition, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::batch_update_partition::BatchUpdatePartitionError, + >, + > { + self.customize_middleware().await + } ///

                                                                              The ID of the catalog in which the partition is to be updated. Currently, this should be the Amazon Web Services account ID.

                                                                              pub fn catalog_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.catalog_id(input.into()); diff --git a/sdk/glue/src/operation/cancel_data_quality_rule_recommendation_run/builders.rs b/sdk/glue/src/operation/cancel_data_quality_rule_recommendation_run/builders.rs index bda0358bc529..2ad138016382 100644 --- a/sdk/glue/src/operation/cancel_data_quality_rule_recommendation_run/builders.rs +++ b/sdk/glue/src/operation/cancel_data_quality_rule_recommendation_run/builders.rs @@ -19,9 +19,9 @@ impl CancelDataQualityRuleRecommendationRunFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize(self) -> ::std::result::Result< + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware(self) -> ::std::result::Result< crate::client::customize::CustomizableOperation, ::aws_smithy_http::result::SdkError >{ @@ -64,6 +64,15 @@ impl CancelDataQualityRuleRecommendationRunFluentBuilder { { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize(self) -> ::std::result::Result< + crate::client::customize::CustomizableOperation, + ::aws_smithy_http::result::SdkError + >{ + self.customize_middleware().await + } ///

                                                                              The unique run identifier associated with this run.

                                                                              pub fn run_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.run_id(input.into()); diff --git a/sdk/glue/src/operation/cancel_data_quality_ruleset_evaluation_run/builders.rs b/sdk/glue/src/operation/cancel_data_quality_ruleset_evaluation_run/builders.rs index a4e6043fd7ed..6418b10d388a 100644 --- a/sdk/glue/src/operation/cancel_data_quality_ruleset_evaluation_run/builders.rs +++ b/sdk/glue/src/operation/cancel_data_quality_ruleset_evaluation_run/builders.rs @@ -19,9 +19,9 @@ impl CancelDataQualityRulesetEvaluationRunFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize(self) -> ::std::result::Result< + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware(self) -> ::std::result::Result< crate::client::customize::CustomizableOperation, ::aws_smithy_http::result::SdkError >{ @@ -64,6 +64,15 @@ impl CancelDataQualityRulesetEvaluationRunFluentBuilder { { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize(self) -> ::std::result::Result< + crate::client::customize::CustomizableOperation, + ::aws_smithy_http::result::SdkError + >{ + self.customize_middleware().await + } ///

                                                                              The unique run identifier associated with this run.

                                                                              pub fn run_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.run_id(input.into()); diff --git a/sdk/glue/src/operation/cancel_ml_task_run/builders.rs b/sdk/glue/src/operation/cancel_ml_task_run/builders.rs index f33ae22c5a8c..2a02954f7075 100644 --- a/sdk/glue/src/operation/cancel_ml_task_run/builders.rs +++ b/sdk/glue/src/operation/cancel_ml_task_run/builders.rs @@ -19,9 +19,9 @@ impl CancelMLTaskRunFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl CancelMLTaskRunFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::cancel_ml_task_run::CancelMLTaskRun, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::cancel_ml_task_run::CancelMLTaskRunError, + >, + > { + self.customize_middleware().await + } ///

                                                                              The unique identifier of the machine learning transform.

                                                                              pub fn transform_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.transform_id(input.into()); diff --git a/sdk/glue/src/operation/cancel_statement/builders.rs b/sdk/glue/src/operation/cancel_statement/builders.rs index 22df6939870b..5ccef40b953b 100644 --- a/sdk/glue/src/operation/cancel_statement/builders.rs +++ b/sdk/glue/src/operation/cancel_statement/builders.rs @@ -19,9 +19,9 @@ impl CancelStatementFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl CancelStatementFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::cancel_statement::CancelStatement, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::cancel_statement::CancelStatementError, + >, + > { + self.customize_middleware().await + } ///

                                                                              The Session ID of the statement to be cancelled.

                                                                              pub fn session_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.session_id(input.into()); diff --git a/sdk/glue/src/operation/check_schema_version_validity/builders.rs b/sdk/glue/src/operation/check_schema_version_validity/builders.rs index dfc7c211cc38..9aa431fed608 100644 --- a/sdk/glue/src/operation/check_schema_version_validity/builders.rs +++ b/sdk/glue/src/operation/check_schema_version_validity/builders.rs @@ -19,9 +19,9 @@ impl CheckSchemaVersionValidityFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl CheckSchemaVersionValidityFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::check_schema_version_validity::CheckSchemaVersionValidity, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::check_schema_version_validity::CheckSchemaVersionValidityError, + >, + > { + self.customize_middleware().await + } ///

                                                                              The data format of the schema definition. Currently AVRO, JSON and PROTOBUF are supported.

                                                                              pub fn data_format(mut self, input: crate::types::DataFormat) -> Self { self.inner = self.inner.data_format(input); diff --git a/sdk/glue/src/operation/create_blueprint/builders.rs b/sdk/glue/src/operation/create_blueprint/builders.rs index 7d81bf87fc0d..39d505fcba77 100644 --- a/sdk/glue/src/operation/create_blueprint/builders.rs +++ b/sdk/glue/src/operation/create_blueprint/builders.rs @@ -19,9 +19,9 @@ impl CreateBlueprintFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl CreateBlueprintFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::create_blueprint::CreateBlueprint, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::create_blueprint::CreateBlueprintError, + >, + > { + self.customize_middleware().await + } ///

                                                                              The name of the blueprint.

                                                                              pub fn name(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.name(input.into()); diff --git a/sdk/glue/src/operation/create_classifier/builders.rs b/sdk/glue/src/operation/create_classifier/builders.rs index c3fed13794d6..c607b9bae625 100644 --- a/sdk/glue/src/operation/create_classifier/builders.rs +++ b/sdk/glue/src/operation/create_classifier/builders.rs @@ -19,9 +19,9 @@ impl CreateClassifierFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl CreateClassifierFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::create_classifier::CreateClassifier, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::create_classifier::CreateClassifierError, + >, + > { + self.customize_middleware().await + } ///

                                                                              A GrokClassifier object specifying the classifier to create.

                                                                              pub fn grok_classifier(mut self, input: crate::types::CreateGrokClassifierRequest) -> Self { self.inner = self.inner.grok_classifier(input); diff --git a/sdk/glue/src/operation/create_connection/builders.rs b/sdk/glue/src/operation/create_connection/builders.rs index c17edb70ac15..4aaf479bf220 100644 --- a/sdk/glue/src/operation/create_connection/builders.rs +++ b/sdk/glue/src/operation/create_connection/builders.rs @@ -19,9 +19,9 @@ impl CreateConnectionFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl CreateConnectionFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::create_connection::CreateConnection, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::create_connection::CreateConnectionError, + >, + > { + self.customize_middleware().await + } ///

                                                                              The ID of the Data Catalog in which to create the connection. If none is provided, the Amazon Web Services account ID is used by default.

                                                                              pub fn catalog_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.catalog_id(input.into()); diff --git a/sdk/glue/src/operation/create_crawler/builders.rs b/sdk/glue/src/operation/create_crawler/builders.rs index ea3357918448..00bcc6068080 100644 --- a/sdk/glue/src/operation/create_crawler/builders.rs +++ b/sdk/glue/src/operation/create_crawler/builders.rs @@ -19,9 +19,9 @@ impl CreateCrawlerFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl CreateCrawlerFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::create_crawler::CreateCrawler, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                              Name of the new crawler.

                                                                              pub fn name(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.name(input.into()); diff --git a/sdk/glue/src/operation/create_custom_entity_type/builders.rs b/sdk/glue/src/operation/create_custom_entity_type/builders.rs index c0f0ca65b750..d890216c0e7f 100644 --- a/sdk/glue/src/operation/create_custom_entity_type/builders.rs +++ b/sdk/glue/src/operation/create_custom_entity_type/builders.rs @@ -21,9 +21,9 @@ impl CreateCustomEntityTypeFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -85,6 +85,22 @@ impl CreateCustomEntityTypeFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::create_custom_entity_type::CreateCustomEntityType, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::create_custom_entity_type::CreateCustomEntityTypeError, + >, + > { + self.customize_middleware().await + } ///

                                                                              A name for the custom pattern that allows it to be retrieved or deleted later. This name must be unique per Amazon Web Services account.

                                                                              pub fn name(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.name(input.into()); diff --git a/sdk/glue/src/operation/create_data_quality_ruleset/builders.rs b/sdk/glue/src/operation/create_data_quality_ruleset/builders.rs index 24b931d4cfa0..f849a31644f9 100644 --- a/sdk/glue/src/operation/create_data_quality_ruleset/builders.rs +++ b/sdk/glue/src/operation/create_data_quality_ruleset/builders.rs @@ -20,9 +20,9 @@ impl CreateDataQualityRulesetFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -84,6 +84,22 @@ impl CreateDataQualityRulesetFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::create_data_quality_ruleset::CreateDataQualityRuleset, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::create_data_quality_ruleset::CreateDataQualityRulesetError, + >, + > { + self.customize_middleware().await + } ///

                                                                              A unique name for the data quality ruleset.

                                                                              pub fn name(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.name(input.into()); diff --git a/sdk/glue/src/operation/create_database/builders.rs b/sdk/glue/src/operation/create_database/builders.rs index e37d23daac87..2274b20906bb 100644 --- a/sdk/glue/src/operation/create_database/builders.rs +++ b/sdk/glue/src/operation/create_database/builders.rs @@ -19,9 +19,9 @@ impl CreateDatabaseFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl CreateDatabaseFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::create_database::CreateDatabase, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                              The ID of the Data Catalog in which to create the database. If none is provided, the Amazon Web Services account ID is used by default.

                                                                              pub fn catalog_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.catalog_id(input.into()); diff --git a/sdk/glue/src/operation/create_dev_endpoint/builders.rs b/sdk/glue/src/operation/create_dev_endpoint/builders.rs index b0b99b316d79..61a9c8d389cb 100644 --- a/sdk/glue/src/operation/create_dev_endpoint/builders.rs +++ b/sdk/glue/src/operation/create_dev_endpoint/builders.rs @@ -19,9 +19,9 @@ impl CreateDevEndpointFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl CreateDevEndpointFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::create_dev_endpoint::CreateDevEndpoint, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::create_dev_endpoint::CreateDevEndpointError, + >, + > { + self.customize_middleware().await + } ///

                                                                              The name to be assigned to the new DevEndpoint.

                                                                              pub fn endpoint_name( mut self, diff --git a/sdk/glue/src/operation/create_job/builders.rs b/sdk/glue/src/operation/create_job/builders.rs index d27a3b694833..cb9355c4a5e3 100644 --- a/sdk/glue/src/operation/create_job/builders.rs +++ b/sdk/glue/src/operation/create_job/builders.rs @@ -19,9 +19,9 @@ impl CreateJobFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl CreateJobFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::create_job::CreateJob, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                              The name you assign to this job definition. It must be unique in your account.

                                                                              pub fn name(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.name(input.into()); diff --git a/sdk/glue/src/operation/create_ml_transform/builders.rs b/sdk/glue/src/operation/create_ml_transform/builders.rs index 7725896e2174..fd67147cf829 100644 --- a/sdk/glue/src/operation/create_ml_transform/builders.rs +++ b/sdk/glue/src/operation/create_ml_transform/builders.rs @@ -21,9 +21,9 @@ impl CreateMLTransformFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -85,6 +85,22 @@ impl CreateMLTransformFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::create_ml_transform::CreateMLTransform, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::create_ml_transform::CreateMLTransformError, + >, + > { + self.customize_middleware().await + } ///

                                                                              The unique name that you give the transform when you create it.

                                                                              pub fn name(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.name(input.into()); diff --git a/sdk/glue/src/operation/create_partition/builders.rs b/sdk/glue/src/operation/create_partition/builders.rs index 8b6031a66511..4bd00ae37310 100644 --- a/sdk/glue/src/operation/create_partition/builders.rs +++ b/sdk/glue/src/operation/create_partition/builders.rs @@ -19,9 +19,9 @@ impl CreatePartitionFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl CreatePartitionFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::create_partition::CreatePartition, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::create_partition::CreatePartitionError, + >, + > { + self.customize_middleware().await + } ///

                                                                              The Amazon Web Services account ID of the catalog in which the partition is to be created.

                                                                              pub fn catalog_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.catalog_id(input.into()); diff --git a/sdk/glue/src/operation/create_partition_index/builders.rs b/sdk/glue/src/operation/create_partition_index/builders.rs index f72d0d8ce59f..a8f3ffecbe56 100644 --- a/sdk/glue/src/operation/create_partition_index/builders.rs +++ b/sdk/glue/src/operation/create_partition_index/builders.rs @@ -19,9 +19,9 @@ impl CreatePartitionIndexFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl CreatePartitionIndexFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::create_partition_index::CreatePartitionIndex, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::create_partition_index::CreatePartitionIndexError, + >, + > { + self.customize_middleware().await + } ///

                                                                              The catalog ID where the table resides.

                                                                              pub fn catalog_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.catalog_id(input.into()); diff --git a/sdk/glue/src/operation/create_registry/builders.rs b/sdk/glue/src/operation/create_registry/builders.rs index 03acaf313856..8c42c9d37861 100644 --- a/sdk/glue/src/operation/create_registry/builders.rs +++ b/sdk/glue/src/operation/create_registry/builders.rs @@ -19,9 +19,9 @@ impl CreateRegistryFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl CreateRegistryFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::create_registry::CreateRegistry, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                              Name of the registry to be created of max length of 255, and may only contain letters, numbers, hyphen, underscore, dollar sign, or hash mark. No whitespace.

                                                                              pub fn registry_name( mut self, diff --git a/sdk/glue/src/operation/create_schema/builders.rs b/sdk/glue/src/operation/create_schema/builders.rs index a16caad685ac..f8066f8f1a72 100644 --- a/sdk/glue/src/operation/create_schema/builders.rs +++ b/sdk/glue/src/operation/create_schema/builders.rs @@ -21,9 +21,9 @@ impl CreateSchemaFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -79,6 +79,20 @@ impl CreateSchemaFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::create_schema::CreateSchema, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                              This is a wrapper shape to contain the registry identity fields. If this is not provided, the default registry will be used. The ARN format for the same will be: arn:aws:glue:us-east-2: /// /// :registry/default-registry:random-5-letter-id diff --git a/sdk/glue/src/operation/create_script/builders.rs b/sdk/glue/src/operation/create_script/builders.rs index 92463c80e0be..4bb2482bec8d 100644 --- a/sdk/glue/src/operation/create_script/builders.rs +++ b/sdk/glue/src/operation/create_script/builders.rs @@ -19,9 +19,9 @@ impl CreateScriptFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl CreateScriptFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::create_script::CreateScript, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } /// Appends an item to `DagNodes`. /// /// To override the contents of this collection use [`set_dag_nodes`](Self::set_dag_nodes). diff --git a/sdk/glue/src/operation/create_security_configuration/builders.rs b/sdk/glue/src/operation/create_security_configuration/builders.rs index 0171d7945fd8..2e9bcbbbc2ac 100644 --- a/sdk/glue/src/operation/create_security_configuration/builders.rs +++ b/sdk/glue/src/operation/create_security_configuration/builders.rs @@ -19,9 +19,9 @@ impl CreateSecurityConfigurationFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl CreateSecurityConfigurationFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::create_security_configuration::CreateSecurityConfiguration, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::create_security_configuration::CreateSecurityConfigurationError, + >, + > { + self.customize_middleware().await + } ///

                                                                              The name for the new security configuration.

                                                                              pub fn name(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.name(input.into()); diff --git a/sdk/glue/src/operation/create_session/builders.rs b/sdk/glue/src/operation/create_session/builders.rs index 1190e0184d8b..727212aab456 100644 --- a/sdk/glue/src/operation/create_session/builders.rs +++ b/sdk/glue/src/operation/create_session/builders.rs @@ -19,9 +19,9 @@ impl CreateSessionFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl CreateSessionFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::create_session::CreateSession, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                              The ID of the session request.

                                                                              pub fn id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.id(input.into()); diff --git a/sdk/glue/src/operation/create_table/builders.rs b/sdk/glue/src/operation/create_table/builders.rs index 042948b56459..820b2f47f1d3 100644 --- a/sdk/glue/src/operation/create_table/builders.rs +++ b/sdk/glue/src/operation/create_table/builders.rs @@ -19,9 +19,9 @@ impl CreateTableFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl CreateTableFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::create_table::CreateTable, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                              The ID of the Data Catalog in which to create the Table. If none is supplied, the Amazon Web Services account ID is used by default.

                                                                              pub fn catalog_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.catalog_id(input.into()); diff --git a/sdk/glue/src/operation/create_trigger/builders.rs b/sdk/glue/src/operation/create_trigger/builders.rs index 38d3e4922d8f..966197978868 100644 --- a/sdk/glue/src/operation/create_trigger/builders.rs +++ b/sdk/glue/src/operation/create_trigger/builders.rs @@ -19,9 +19,9 @@ impl CreateTriggerFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl CreateTriggerFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::create_trigger::CreateTrigger, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                              The name of the trigger.

                                                                              pub fn name(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.name(input.into()); diff --git a/sdk/glue/src/operation/create_user_defined_function/builders.rs b/sdk/glue/src/operation/create_user_defined_function/builders.rs index 512bcec35ca7..ec2bef1cd857 100644 --- a/sdk/glue/src/operation/create_user_defined_function/builders.rs +++ b/sdk/glue/src/operation/create_user_defined_function/builders.rs @@ -19,9 +19,9 @@ impl CreateUserDefinedFunctionFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl CreateUserDefinedFunctionFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::create_user_defined_function::CreateUserDefinedFunction, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::create_user_defined_function::CreateUserDefinedFunctionError, + >, + > { + self.customize_middleware().await + } ///

                                                                              The ID of the Data Catalog in which to create the function. If none is provided, the Amazon Web Services account ID is used by default.

                                                                              pub fn catalog_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.catalog_id(input.into()); diff --git a/sdk/glue/src/operation/create_workflow/builders.rs b/sdk/glue/src/operation/create_workflow/builders.rs index 9dbe17e188f5..dbbc23ef2f25 100644 --- a/sdk/glue/src/operation/create_workflow/builders.rs +++ b/sdk/glue/src/operation/create_workflow/builders.rs @@ -19,9 +19,9 @@ impl CreateWorkflowFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl CreateWorkflowFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::create_workflow::CreateWorkflow, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                              The name to be assigned to the workflow. It should be unique within your account.

                                                                              pub fn name(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.name(input.into()); diff --git a/sdk/glue/src/operation/delete_blueprint/builders.rs b/sdk/glue/src/operation/delete_blueprint/builders.rs index 2bd199a5cb29..1379b7927d55 100644 --- a/sdk/glue/src/operation/delete_blueprint/builders.rs +++ b/sdk/glue/src/operation/delete_blueprint/builders.rs @@ -19,9 +19,9 @@ impl DeleteBlueprintFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl DeleteBlueprintFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::delete_blueprint::DeleteBlueprint, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::delete_blueprint::DeleteBlueprintError, + >, + > { + self.customize_middleware().await + } ///

                                                                              The name of the blueprint to delete.

                                                                              pub fn name(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.name(input.into()); diff --git a/sdk/glue/src/operation/delete_classifier/builders.rs b/sdk/glue/src/operation/delete_classifier/builders.rs index 3c5e53f311aa..51b4c2ce3076 100644 --- a/sdk/glue/src/operation/delete_classifier/builders.rs +++ b/sdk/glue/src/operation/delete_classifier/builders.rs @@ -19,9 +19,9 @@ impl DeleteClassifierFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl DeleteClassifierFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::delete_classifier::DeleteClassifier, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::delete_classifier::DeleteClassifierError, + >, + > { + self.customize_middleware().await + } ///

                                                                              Name of the classifier to remove.

                                                                              pub fn name(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.name(input.into()); diff --git a/sdk/glue/src/operation/delete_column_statistics_for_partition/builders.rs b/sdk/glue/src/operation/delete_column_statistics_for_partition/builders.rs index afb325bcfdea..ceb6facc629f 100644 --- a/sdk/glue/src/operation/delete_column_statistics_for_partition/builders.rs +++ b/sdk/glue/src/operation/delete_column_statistics_for_partition/builders.rs @@ -20,9 +20,9 @@ impl DeleteColumnStatisticsForPartitionFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize(self) -> ::std::result::Result< + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware(self) -> ::std::result::Result< crate::client::customize::CustomizableOperation, ::aws_smithy_http::result::SdkError >{ @@ -65,6 +65,15 @@ impl DeleteColumnStatisticsForPartitionFluentBuilder { { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize(self) -> ::std::result::Result< + crate::client::customize::CustomizableOperation, + ::aws_smithy_http::result::SdkError + >{ + self.customize_middleware().await + } ///

                                                                              The ID of the Data Catalog where the partitions in question reside. If none is supplied, the Amazon Web Services account ID is used by default.

                                                                              pub fn catalog_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.catalog_id(input.into()); diff --git a/sdk/glue/src/operation/delete_column_statistics_for_table/builders.rs b/sdk/glue/src/operation/delete_column_statistics_for_table/builders.rs index 66aee960787d..b2cbf5a57a35 100644 --- a/sdk/glue/src/operation/delete_column_statistics_for_table/builders.rs +++ b/sdk/glue/src/operation/delete_column_statistics_for_table/builders.rs @@ -20,9 +20,9 @@ impl DeleteColumnStatisticsForTableFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize(self) -> ::std::result::Result< + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware(self) -> ::std::result::Result< crate::client::customize::CustomizableOperation, ::aws_smithy_http::result::SdkError >{ @@ -65,6 +65,15 @@ impl DeleteColumnStatisticsForTableFluentBuilder { { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize(self) -> ::std::result::Result< + crate::client::customize::CustomizableOperation, + ::aws_smithy_http::result::SdkError + >{ + self.customize_middleware().await + } ///

                                                                              The ID of the Data Catalog where the partitions in question reside. If none is supplied, the Amazon Web Services account ID is used by default.

                                                                              pub fn catalog_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.catalog_id(input.into()); diff --git a/sdk/glue/src/operation/delete_connection/builders.rs b/sdk/glue/src/operation/delete_connection/builders.rs index 3f0889d4f550..feebc01dacc8 100644 --- a/sdk/glue/src/operation/delete_connection/builders.rs +++ b/sdk/glue/src/operation/delete_connection/builders.rs @@ -19,9 +19,9 @@ impl DeleteConnectionFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl DeleteConnectionFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::delete_connection::DeleteConnection, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::delete_connection::DeleteConnectionError, + >, + > { + self.customize_middleware().await + } ///

                                                                              The ID of the Data Catalog in which the connection resides. If none is provided, the Amazon Web Services account ID is used by default.

                                                                              pub fn catalog_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.catalog_id(input.into()); diff --git a/sdk/glue/src/operation/delete_crawler/builders.rs b/sdk/glue/src/operation/delete_crawler/builders.rs index b5b2194f00f4..95ca4325b9d6 100644 --- a/sdk/glue/src/operation/delete_crawler/builders.rs +++ b/sdk/glue/src/operation/delete_crawler/builders.rs @@ -19,9 +19,9 @@ impl DeleteCrawlerFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl DeleteCrawlerFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::delete_crawler::DeleteCrawler, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                              The name of the crawler to remove.

                                                                              pub fn name(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.name(input.into()); diff --git a/sdk/glue/src/operation/delete_custom_entity_type/builders.rs b/sdk/glue/src/operation/delete_custom_entity_type/builders.rs index 667b18c2fff0..fc4e836a22a6 100644 --- a/sdk/glue/src/operation/delete_custom_entity_type/builders.rs +++ b/sdk/glue/src/operation/delete_custom_entity_type/builders.rs @@ -20,9 +20,9 @@ impl DeleteCustomEntityTypeFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -84,6 +84,22 @@ impl DeleteCustomEntityTypeFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::delete_custom_entity_type::DeleteCustomEntityType, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::delete_custom_entity_type::DeleteCustomEntityTypeError, + >, + > { + self.customize_middleware().await + } ///

                                                                              The name of the custom pattern that you want to delete.

                                                                              pub fn name(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.name(input.into()); diff --git a/sdk/glue/src/operation/delete_data_quality_ruleset/builders.rs b/sdk/glue/src/operation/delete_data_quality_ruleset/builders.rs index af7057537e8d..1539dceb2f45 100644 --- a/sdk/glue/src/operation/delete_data_quality_ruleset/builders.rs +++ b/sdk/glue/src/operation/delete_data_quality_ruleset/builders.rs @@ -19,9 +19,9 @@ impl DeleteDataQualityRulesetFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl DeleteDataQualityRulesetFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::delete_data_quality_ruleset::DeleteDataQualityRuleset, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::delete_data_quality_ruleset::DeleteDataQualityRulesetError, + >, + > { + self.customize_middleware().await + } ///

                                                                              A name for the data quality ruleset.

                                                                              pub fn name(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.name(input.into()); diff --git a/sdk/glue/src/operation/delete_database/builders.rs b/sdk/glue/src/operation/delete_database/builders.rs index 0b012b18a7c3..4ef036217495 100644 --- a/sdk/glue/src/operation/delete_database/builders.rs +++ b/sdk/glue/src/operation/delete_database/builders.rs @@ -22,9 +22,9 @@ impl DeleteDatabaseFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -80,6 +80,20 @@ impl DeleteDatabaseFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::delete_database::DeleteDatabase, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                              The ID of the Data Catalog in which the database resides. If none is provided, the Amazon Web Services account ID is used by default.

                                                                              pub fn catalog_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.catalog_id(input.into()); diff --git a/sdk/glue/src/operation/delete_dev_endpoint/builders.rs b/sdk/glue/src/operation/delete_dev_endpoint/builders.rs index cf62c9e4a3ac..1ffb3516596a 100644 --- a/sdk/glue/src/operation/delete_dev_endpoint/builders.rs +++ b/sdk/glue/src/operation/delete_dev_endpoint/builders.rs @@ -19,9 +19,9 @@ impl DeleteDevEndpointFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl DeleteDevEndpointFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::delete_dev_endpoint::DeleteDevEndpoint, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::delete_dev_endpoint::DeleteDevEndpointError, + >, + > { + self.customize_middleware().await + } ///

                                                                              The name of the DevEndpoint.

                                                                              pub fn endpoint_name( mut self, diff --git a/sdk/glue/src/operation/delete_job/builders.rs b/sdk/glue/src/operation/delete_job/builders.rs index d75034518cf1..85cca47837d2 100644 --- a/sdk/glue/src/operation/delete_job/builders.rs +++ b/sdk/glue/src/operation/delete_job/builders.rs @@ -19,9 +19,9 @@ impl DeleteJobFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl DeleteJobFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::delete_job::DeleteJob, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                              The name of the job definition to delete.

                                                                              pub fn job_name(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.job_name(input.into()); diff --git a/sdk/glue/src/operation/delete_ml_transform/builders.rs b/sdk/glue/src/operation/delete_ml_transform/builders.rs index 65756a0c0b72..728385a396e8 100644 --- a/sdk/glue/src/operation/delete_ml_transform/builders.rs +++ b/sdk/glue/src/operation/delete_ml_transform/builders.rs @@ -19,9 +19,9 @@ impl DeleteMLTransformFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl DeleteMLTransformFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::delete_ml_transform::DeleteMLTransform, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::delete_ml_transform::DeleteMLTransformError, + >, + > { + self.customize_middleware().await + } ///

                                                                              The unique identifier of the transform to delete.

                                                                              pub fn transform_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.transform_id(input.into()); diff --git a/sdk/glue/src/operation/delete_partition/builders.rs b/sdk/glue/src/operation/delete_partition/builders.rs index 6923b3eb6d7b..55b0a69f183d 100644 --- a/sdk/glue/src/operation/delete_partition/builders.rs +++ b/sdk/glue/src/operation/delete_partition/builders.rs @@ -19,9 +19,9 @@ impl DeletePartitionFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl DeletePartitionFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::delete_partition::DeletePartition, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::delete_partition::DeletePartitionError, + >, + > { + self.customize_middleware().await + } ///

                                                                              The ID of the Data Catalog where the partition to be deleted resides. If none is provided, the Amazon Web Services account ID is used by default.

                                                                              pub fn catalog_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.catalog_id(input.into()); diff --git a/sdk/glue/src/operation/delete_partition_index/builders.rs b/sdk/glue/src/operation/delete_partition_index/builders.rs index c6392ad9c2e4..755a0c37cd41 100644 --- a/sdk/glue/src/operation/delete_partition_index/builders.rs +++ b/sdk/glue/src/operation/delete_partition_index/builders.rs @@ -19,9 +19,9 @@ impl DeletePartitionIndexFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl DeletePartitionIndexFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::delete_partition_index::DeletePartitionIndex, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::delete_partition_index::DeletePartitionIndexError, + >, + > { + self.customize_middleware().await + } ///

                                                                              The catalog ID where the table resides.

                                                                              pub fn catalog_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.catalog_id(input.into()); diff --git a/sdk/glue/src/operation/delete_registry/builders.rs b/sdk/glue/src/operation/delete_registry/builders.rs index 2490500fafb4..c1d08deed9e6 100644 --- a/sdk/glue/src/operation/delete_registry/builders.rs +++ b/sdk/glue/src/operation/delete_registry/builders.rs @@ -19,9 +19,9 @@ impl DeleteRegistryFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl DeleteRegistryFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::delete_registry::DeleteRegistry, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                              This is a wrapper structure that may contain the registry name and Amazon Resource Name (ARN).

                                                                              pub fn registry_id(mut self, input: crate::types::RegistryId) -> Self { self.inner = self.inner.registry_id(input); diff --git a/sdk/glue/src/operation/delete_resource_policy/builders.rs b/sdk/glue/src/operation/delete_resource_policy/builders.rs index c26e34ff4495..13cfa50d98b6 100644 --- a/sdk/glue/src/operation/delete_resource_policy/builders.rs +++ b/sdk/glue/src/operation/delete_resource_policy/builders.rs @@ -19,9 +19,9 @@ impl DeleteResourcePolicyFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl DeleteResourcePolicyFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::delete_resource_policy::DeleteResourcePolicy, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::delete_resource_policy::DeleteResourcePolicyError, + >, + > { + self.customize_middleware().await + } ///

                                                                              The hash value returned when this policy was set.

                                                                              pub fn policy_hash_condition( mut self, diff --git a/sdk/glue/src/operation/delete_schema/builders.rs b/sdk/glue/src/operation/delete_schema/builders.rs index bcf373d5a056..5b47520a8a27 100644 --- a/sdk/glue/src/operation/delete_schema/builders.rs +++ b/sdk/glue/src/operation/delete_schema/builders.rs @@ -19,9 +19,9 @@ impl DeleteSchemaFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl DeleteSchemaFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::delete_schema::DeleteSchema, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                              This is a wrapper structure that may contain the schema name and Amazon Resource Name (ARN).

                                                                              pub fn schema_id(mut self, input: crate::types::SchemaId) -> Self { self.inner = self.inner.schema_id(input); diff --git a/sdk/glue/src/operation/delete_schema_versions/builders.rs b/sdk/glue/src/operation/delete_schema_versions/builders.rs index 5552dc26598c..68ab79cb4d9b 100644 --- a/sdk/glue/src/operation/delete_schema_versions/builders.rs +++ b/sdk/glue/src/operation/delete_schema_versions/builders.rs @@ -22,9 +22,9 @@ impl DeleteSchemaVersionsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -86,6 +86,22 @@ impl DeleteSchemaVersionsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::delete_schema_versions::DeleteSchemaVersions, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::delete_schema_versions::DeleteSchemaVersionsError, + >, + > { + self.customize_middleware().await + } ///

                                                                              This is a wrapper structure that may contain the schema name and Amazon Resource Name (ARN).

                                                                              pub fn schema_id(mut self, input: crate::types::SchemaId) -> Self { self.inner = self.inner.schema_id(input); diff --git a/sdk/glue/src/operation/delete_security_configuration/builders.rs b/sdk/glue/src/operation/delete_security_configuration/builders.rs index 61c8fe6f487a..fc8adb1acc47 100644 --- a/sdk/glue/src/operation/delete_security_configuration/builders.rs +++ b/sdk/glue/src/operation/delete_security_configuration/builders.rs @@ -19,9 +19,9 @@ impl DeleteSecurityConfigurationFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl DeleteSecurityConfigurationFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::delete_security_configuration::DeleteSecurityConfiguration, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::delete_security_configuration::DeleteSecurityConfigurationError, + >, + > { + self.customize_middleware().await + } ///

                                                                              The name of the security configuration to delete.

                                                                              pub fn name(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.name(input.into()); diff --git a/sdk/glue/src/operation/delete_session/builders.rs b/sdk/glue/src/operation/delete_session/builders.rs index eac39a9b20fb..f8b381e9c2f7 100644 --- a/sdk/glue/src/operation/delete_session/builders.rs +++ b/sdk/glue/src/operation/delete_session/builders.rs @@ -19,9 +19,9 @@ impl DeleteSessionFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl DeleteSessionFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::delete_session::DeleteSession, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                              The ID of the session to be deleted.

                                                                              pub fn id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.id(input.into()); diff --git a/sdk/glue/src/operation/delete_table/builders.rs b/sdk/glue/src/operation/delete_table/builders.rs index 7699068742ef..cf3dcf8ad056 100644 --- a/sdk/glue/src/operation/delete_table/builders.rs +++ b/sdk/glue/src/operation/delete_table/builders.rs @@ -22,9 +22,9 @@ impl DeleteTableFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -80,6 +80,20 @@ impl DeleteTableFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::delete_table::DeleteTable, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                              The ID of the Data Catalog where the table resides. If none is provided, the Amazon Web Services account ID is used by default.

                                                                              pub fn catalog_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.catalog_id(input.into()); diff --git a/sdk/glue/src/operation/delete_table_version/builders.rs b/sdk/glue/src/operation/delete_table_version/builders.rs index 862eacaa7138..5382a1c810f7 100644 --- a/sdk/glue/src/operation/delete_table_version/builders.rs +++ b/sdk/glue/src/operation/delete_table_version/builders.rs @@ -19,9 +19,9 @@ impl DeleteTableVersionFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl DeleteTableVersionFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::delete_table_version::DeleteTableVersion, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::delete_table_version::DeleteTableVersionError, + >, + > { + self.customize_middleware().await + } ///

                                                                              The ID of the Data Catalog where the tables reside. If none is provided, the Amazon Web Services account ID is used by default.

                                                                              pub fn catalog_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.catalog_id(input.into()); diff --git a/sdk/glue/src/operation/delete_trigger/builders.rs b/sdk/glue/src/operation/delete_trigger/builders.rs index ec8b50d56bcb..9259f3967b96 100644 --- a/sdk/glue/src/operation/delete_trigger/builders.rs +++ b/sdk/glue/src/operation/delete_trigger/builders.rs @@ -19,9 +19,9 @@ impl DeleteTriggerFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl DeleteTriggerFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::delete_trigger::DeleteTrigger, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                              The name of the trigger to delete.

                                                                              pub fn name(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.name(input.into()); diff --git a/sdk/glue/src/operation/delete_user_defined_function/builders.rs b/sdk/glue/src/operation/delete_user_defined_function/builders.rs index 4486e81f6550..c7bb20269d9c 100644 --- a/sdk/glue/src/operation/delete_user_defined_function/builders.rs +++ b/sdk/glue/src/operation/delete_user_defined_function/builders.rs @@ -19,9 +19,9 @@ impl DeleteUserDefinedFunctionFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl DeleteUserDefinedFunctionFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::delete_user_defined_function::DeleteUserDefinedFunction, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::delete_user_defined_function::DeleteUserDefinedFunctionError, + >, + > { + self.customize_middleware().await + } ///

                                                                              The ID of the Data Catalog where the function to be deleted is located. If none is supplied, the Amazon Web Services account ID is used by default.

                                                                              pub fn catalog_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.catalog_id(input.into()); diff --git a/sdk/glue/src/operation/delete_workflow/builders.rs b/sdk/glue/src/operation/delete_workflow/builders.rs index f0722dd9645c..5cae22c74d0c 100644 --- a/sdk/glue/src/operation/delete_workflow/builders.rs +++ b/sdk/glue/src/operation/delete_workflow/builders.rs @@ -19,9 +19,9 @@ impl DeleteWorkflowFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl DeleteWorkflowFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::delete_workflow::DeleteWorkflow, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                              Name of the workflow to be deleted.

                                                                              pub fn name(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.name(input.into()); diff --git a/sdk/glue/src/operation/get_blueprint/builders.rs b/sdk/glue/src/operation/get_blueprint/builders.rs index c6854386d9d9..7a7d400b9538 100644 --- a/sdk/glue/src/operation/get_blueprint/builders.rs +++ b/sdk/glue/src/operation/get_blueprint/builders.rs @@ -19,9 +19,9 @@ impl GetBlueprintFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl GetBlueprintFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::get_blueprint::GetBlueprint, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                              The name of the blueprint.

                                                                              pub fn name(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.name(input.into()); diff --git a/sdk/glue/src/operation/get_blueprint_run/builders.rs b/sdk/glue/src/operation/get_blueprint_run/builders.rs index 360ec4445e6f..13a60e973c63 100644 --- a/sdk/glue/src/operation/get_blueprint_run/builders.rs +++ b/sdk/glue/src/operation/get_blueprint_run/builders.rs @@ -19,9 +19,9 @@ impl GetBlueprintRunFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl GetBlueprintRunFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::get_blueprint_run::GetBlueprintRun, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::get_blueprint_run::GetBlueprintRunError, + >, + > { + self.customize_middleware().await + } ///

                                                                              The name of the blueprint.

                                                                              pub fn blueprint_name( mut self, diff --git a/sdk/glue/src/operation/get_blueprint_runs/builders.rs b/sdk/glue/src/operation/get_blueprint_runs/builders.rs index 51bbfb378d31..4a56763e9ef8 100644 --- a/sdk/glue/src/operation/get_blueprint_runs/builders.rs +++ b/sdk/glue/src/operation/get_blueprint_runs/builders.rs @@ -19,9 +19,9 @@ impl GetBlueprintRunsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl GetBlueprintRunsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::get_blueprint_runs::GetBlueprintRuns, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::get_blueprint_runs::GetBlueprintRunsError, + >, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::get_blueprint_runs::paginator::GetBlueprintRunsPaginator::send) which returns a `Stream`. diff --git a/sdk/glue/src/operation/get_catalog_import_status/builders.rs b/sdk/glue/src/operation/get_catalog_import_status/builders.rs index eaae7a7f41b4..51f0d70b1371 100644 --- a/sdk/glue/src/operation/get_catalog_import_status/builders.rs +++ b/sdk/glue/src/operation/get_catalog_import_status/builders.rs @@ -20,9 +20,9 @@ impl GetCatalogImportStatusFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -84,6 +84,22 @@ impl GetCatalogImportStatusFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::get_catalog_import_status::GetCatalogImportStatus, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::get_catalog_import_status::GetCatalogImportStatusError, + >, + > { + self.customize_middleware().await + } ///

                                                                              The ID of the catalog to migrate. Currently, this should be the Amazon Web Services account ID.

                                                                              pub fn catalog_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.catalog_id(input.into()); diff --git a/sdk/glue/src/operation/get_classifier/builders.rs b/sdk/glue/src/operation/get_classifier/builders.rs index c3a5b46a20b7..e6eb05fd2aa7 100644 --- a/sdk/glue/src/operation/get_classifier/builders.rs +++ b/sdk/glue/src/operation/get_classifier/builders.rs @@ -19,9 +19,9 @@ impl GetClassifierFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl GetClassifierFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::get_classifier::GetClassifier, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                              Name of the classifier to retrieve.

                                                                              pub fn name(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.name(input.into()); diff --git a/sdk/glue/src/operation/get_classifiers/builders.rs b/sdk/glue/src/operation/get_classifiers/builders.rs index 5dfaf775a710..6fac70f67698 100644 --- a/sdk/glue/src/operation/get_classifiers/builders.rs +++ b/sdk/glue/src/operation/get_classifiers/builders.rs @@ -19,9 +19,9 @@ impl GetClassifiersFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl GetClassifiersFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::get_classifiers::GetClassifiers, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::get_classifiers::paginator::GetClassifiersPaginator::send) which returns a `Stream`. diff --git a/sdk/glue/src/operation/get_column_statistics_for_partition/builders.rs b/sdk/glue/src/operation/get_column_statistics_for_partition/builders.rs index b7a7fedbd344..96567f6455be 100644 --- a/sdk/glue/src/operation/get_column_statistics_for_partition/builders.rs +++ b/sdk/glue/src/operation/get_column_statistics_for_partition/builders.rs @@ -20,9 +20,9 @@ impl GetColumnStatisticsForPartitionFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize(self) -> ::std::result::Result< + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware(self) -> ::std::result::Result< crate::client::customize::CustomizableOperation, ::aws_smithy_http::result::SdkError >{ @@ -65,6 +65,15 @@ impl GetColumnStatisticsForPartitionFluentBuilder { { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize(self) -> ::std::result::Result< + crate::client::customize::CustomizableOperation, + ::aws_smithy_http::result::SdkError + >{ + self.customize_middleware().await + } ///

                                                                              The ID of the Data Catalog where the partitions in question reside. If none is supplied, the Amazon Web Services account ID is used by default.

                                                                              pub fn catalog_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.catalog_id(input.into()); diff --git a/sdk/glue/src/operation/get_column_statistics_for_table/builders.rs b/sdk/glue/src/operation/get_column_statistics_for_table/builders.rs index 15cc9e97e841..afe9b6e43a5f 100644 --- a/sdk/glue/src/operation/get_column_statistics_for_table/builders.rs +++ b/sdk/glue/src/operation/get_column_statistics_for_table/builders.rs @@ -20,9 +20,9 @@ impl GetColumnStatisticsForTableFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -84,6 +84,22 @@ impl GetColumnStatisticsForTableFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::get_column_statistics_for_table::GetColumnStatisticsForTable, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::get_column_statistics_for_table::GetColumnStatisticsForTableError, + >, + > { + self.customize_middleware().await + } ///

                                                                              The ID of the Data Catalog where the partitions in question reside. If none is supplied, the Amazon Web Services account ID is used by default.

                                                                              pub fn catalog_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.catalog_id(input.into()); diff --git a/sdk/glue/src/operation/get_connection/builders.rs b/sdk/glue/src/operation/get_connection/builders.rs index f313bf4ee43e..5d2184b37270 100644 --- a/sdk/glue/src/operation/get_connection/builders.rs +++ b/sdk/glue/src/operation/get_connection/builders.rs @@ -19,9 +19,9 @@ impl GetConnectionFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl GetConnectionFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::get_connection::GetConnection, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                              The ID of the Data Catalog in which the connection resides. If none is provided, the Amazon Web Services account ID is used by default.

                                                                              pub fn catalog_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.catalog_id(input.into()); diff --git a/sdk/glue/src/operation/get_connections/builders.rs b/sdk/glue/src/operation/get_connections/builders.rs index 1568db287875..7d95e1e0298b 100644 --- a/sdk/glue/src/operation/get_connections/builders.rs +++ b/sdk/glue/src/operation/get_connections/builders.rs @@ -19,9 +19,9 @@ impl GetConnectionsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl GetConnectionsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::get_connections::GetConnections, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::get_connections::paginator::GetConnectionsPaginator::send) which returns a `Stream`. diff --git a/sdk/glue/src/operation/get_crawler/builders.rs b/sdk/glue/src/operation/get_crawler/builders.rs index 410dc0817d4b..943182d9340a 100644 --- a/sdk/glue/src/operation/get_crawler/builders.rs +++ b/sdk/glue/src/operation/get_crawler/builders.rs @@ -19,9 +19,9 @@ impl GetCrawlerFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl GetCrawlerFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::get_crawler::GetCrawler, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                              The name of the crawler to retrieve metadata for.

                                                                              pub fn name(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.name(input.into()); diff --git a/sdk/glue/src/operation/get_crawler_metrics/builders.rs b/sdk/glue/src/operation/get_crawler_metrics/builders.rs index 1d4e78f62821..351266e4acbb 100644 --- a/sdk/glue/src/operation/get_crawler_metrics/builders.rs +++ b/sdk/glue/src/operation/get_crawler_metrics/builders.rs @@ -19,9 +19,9 @@ impl GetCrawlerMetricsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl GetCrawlerMetricsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::get_crawler_metrics::GetCrawlerMetrics, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::get_crawler_metrics::GetCrawlerMetricsError, + >, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::get_crawler_metrics::paginator::GetCrawlerMetricsPaginator::send) which returns a `Stream`. diff --git a/sdk/glue/src/operation/get_crawlers/builders.rs b/sdk/glue/src/operation/get_crawlers/builders.rs index 6712d7623b13..1935e213480e 100644 --- a/sdk/glue/src/operation/get_crawlers/builders.rs +++ b/sdk/glue/src/operation/get_crawlers/builders.rs @@ -19,9 +19,9 @@ impl GetCrawlersFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl GetCrawlersFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::get_crawlers::GetCrawlers, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::get_crawlers::paginator::GetCrawlersPaginator::send) which returns a `Stream`. diff --git a/sdk/glue/src/operation/get_custom_entity_type/builders.rs b/sdk/glue/src/operation/get_custom_entity_type/builders.rs index 1f9734674e09..0ba5cd23fa29 100644 --- a/sdk/glue/src/operation/get_custom_entity_type/builders.rs +++ b/sdk/glue/src/operation/get_custom_entity_type/builders.rs @@ -19,9 +19,9 @@ impl GetCustomEntityTypeFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl GetCustomEntityTypeFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::get_custom_entity_type::GetCustomEntityType, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::get_custom_entity_type::GetCustomEntityTypeError, + >, + > { + self.customize_middleware().await + } ///

                                                                              The name of the custom pattern that you want to retrieve.

                                                                              pub fn name(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.name(input.into()); diff --git a/sdk/glue/src/operation/get_data_catalog_encryption_settings/builders.rs b/sdk/glue/src/operation/get_data_catalog_encryption_settings/builders.rs index 5c7933ab8f26..83567859d82a 100644 --- a/sdk/glue/src/operation/get_data_catalog_encryption_settings/builders.rs +++ b/sdk/glue/src/operation/get_data_catalog_encryption_settings/builders.rs @@ -19,9 +19,9 @@ impl GetDataCatalogEncryptionSettingsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize(self) -> ::std::result::Result< + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware(self) -> ::std::result::Result< crate::client::customize::CustomizableOperation, ::aws_smithy_http::result::SdkError >{ @@ -64,6 +64,15 @@ impl GetDataCatalogEncryptionSettingsFluentBuilder { { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize(self) -> ::std::result::Result< + crate::client::customize::CustomizableOperation, + ::aws_smithy_http::result::SdkError + >{ + self.customize_middleware().await + } ///

                                                                              The ID of the Data Catalog to retrieve the security configuration for. If none is provided, the Amazon Web Services account ID is used by default.

                                                                              pub fn catalog_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.catalog_id(input.into()); diff --git a/sdk/glue/src/operation/get_data_quality_result/builders.rs b/sdk/glue/src/operation/get_data_quality_result/builders.rs index f6c9a8cccf35..b3c932f369d5 100644 --- a/sdk/glue/src/operation/get_data_quality_result/builders.rs +++ b/sdk/glue/src/operation/get_data_quality_result/builders.rs @@ -19,9 +19,9 @@ impl GetDataQualityResultFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl GetDataQualityResultFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::get_data_quality_result::GetDataQualityResult, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::get_data_quality_result::GetDataQualityResultError, + >, + > { + self.customize_middleware().await + } ///

                                                                              A unique result ID for the data quality result.

                                                                              pub fn result_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.result_id(input.into()); diff --git a/sdk/glue/src/operation/get_data_quality_rule_recommendation_run/builders.rs b/sdk/glue/src/operation/get_data_quality_rule_recommendation_run/builders.rs index e7b0a71227e0..2dd79a7f60bd 100644 --- a/sdk/glue/src/operation/get_data_quality_rule_recommendation_run/builders.rs +++ b/sdk/glue/src/operation/get_data_quality_rule_recommendation_run/builders.rs @@ -19,9 +19,9 @@ impl GetDataQualityRuleRecommendationRunFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize(self) -> ::std::result::Result< + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware(self) -> ::std::result::Result< crate::client::customize::CustomizableOperation, ::aws_smithy_http::result::SdkError >{ @@ -64,6 +64,15 @@ impl GetDataQualityRuleRecommendationRunFluentBuilder { { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize(self) -> ::std::result::Result< + crate::client::customize::CustomizableOperation, + ::aws_smithy_http::result::SdkError + >{ + self.customize_middleware().await + } ///

                                                                              The unique run identifier associated with this run.

                                                                              pub fn run_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.run_id(input.into()); diff --git a/sdk/glue/src/operation/get_data_quality_ruleset/builders.rs b/sdk/glue/src/operation/get_data_quality_ruleset/builders.rs index 3867b69e07fb..dc711f07c297 100644 --- a/sdk/glue/src/operation/get_data_quality_ruleset/builders.rs +++ b/sdk/glue/src/operation/get_data_quality_ruleset/builders.rs @@ -19,9 +19,9 @@ impl GetDataQualityRulesetFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl GetDataQualityRulesetFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::get_data_quality_ruleset::GetDataQualityRuleset, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::get_data_quality_ruleset::GetDataQualityRulesetError, + >, + > { + self.customize_middleware().await + } ///

                                                                              The name of the ruleset.

                                                                              pub fn name(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.name(input.into()); diff --git a/sdk/glue/src/operation/get_data_quality_ruleset_evaluation_run/builders.rs b/sdk/glue/src/operation/get_data_quality_ruleset_evaluation_run/builders.rs index 6bfd96feff51..fa6ef376d64b 100644 --- a/sdk/glue/src/operation/get_data_quality_ruleset_evaluation_run/builders.rs +++ b/sdk/glue/src/operation/get_data_quality_ruleset_evaluation_run/builders.rs @@ -19,9 +19,9 @@ impl GetDataQualityRulesetEvaluationRunFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize(self) -> ::std::result::Result< + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware(self) -> ::std::result::Result< crate::client::customize::CustomizableOperation, ::aws_smithy_http::result::SdkError >{ @@ -64,6 +64,15 @@ impl GetDataQualityRulesetEvaluationRunFluentBuilder { { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize(self) -> ::std::result::Result< + crate::client::customize::CustomizableOperation, + ::aws_smithy_http::result::SdkError + >{ + self.customize_middleware().await + } ///

                                                                              The unique run identifier associated with this run.

                                                                              pub fn run_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.run_id(input.into()); diff --git a/sdk/glue/src/operation/get_database/builders.rs b/sdk/glue/src/operation/get_database/builders.rs index a799cd0eeab2..2f8030e02a70 100644 --- a/sdk/glue/src/operation/get_database/builders.rs +++ b/sdk/glue/src/operation/get_database/builders.rs @@ -19,9 +19,9 @@ impl GetDatabaseFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl GetDatabaseFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::get_database::GetDatabase, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                              The ID of the Data Catalog in which the database resides. If none is provided, the Amazon Web Services account ID is used by default.

                                                                              pub fn catalog_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.catalog_id(input.into()); diff --git a/sdk/glue/src/operation/get_databases/builders.rs b/sdk/glue/src/operation/get_databases/builders.rs index 49b3d294b4d9..86d258e62fd8 100644 --- a/sdk/glue/src/operation/get_databases/builders.rs +++ b/sdk/glue/src/operation/get_databases/builders.rs @@ -19,9 +19,9 @@ impl GetDatabasesFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl GetDatabasesFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::get_databases::GetDatabases, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::get_databases::paginator::GetDatabasesPaginator::send) which returns a `Stream`. diff --git a/sdk/glue/src/operation/get_dataflow_graph/builders.rs b/sdk/glue/src/operation/get_dataflow_graph/builders.rs index 6dbc8b173299..1f37c08e8a81 100644 --- a/sdk/glue/src/operation/get_dataflow_graph/builders.rs +++ b/sdk/glue/src/operation/get_dataflow_graph/builders.rs @@ -19,9 +19,9 @@ impl GetDataflowGraphFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl GetDataflowGraphFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::get_dataflow_graph::GetDataflowGraph, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::get_dataflow_graph::GetDataflowGraphError, + >, + > { + self.customize_middleware().await + } ///

                                                                              The Python script to transform.

                                                                              pub fn python_script( mut self, diff --git a/sdk/glue/src/operation/get_dev_endpoint/builders.rs b/sdk/glue/src/operation/get_dev_endpoint/builders.rs index 5ee82d37b37c..db6023dee534 100644 --- a/sdk/glue/src/operation/get_dev_endpoint/builders.rs +++ b/sdk/glue/src/operation/get_dev_endpoint/builders.rs @@ -21,9 +21,9 @@ impl GetDevEndpointFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -85,6 +85,22 @@ impl GetDevEndpointFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::get_dev_endpoint::GetDevEndpoint, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::get_dev_endpoint::GetDevEndpointError, + >, + > { + self.customize_middleware().await + } ///

                                                                              Name of the DevEndpoint to retrieve information for.

                                                                              pub fn endpoint_name( mut self, diff --git a/sdk/glue/src/operation/get_dev_endpoints/builders.rs b/sdk/glue/src/operation/get_dev_endpoints/builders.rs index fdb03b5d4f6a..71b78f962223 100644 --- a/sdk/glue/src/operation/get_dev_endpoints/builders.rs +++ b/sdk/glue/src/operation/get_dev_endpoints/builders.rs @@ -21,9 +21,9 @@ impl GetDevEndpointsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -85,6 +85,22 @@ impl GetDevEndpointsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::get_dev_endpoints::GetDevEndpoints, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::get_dev_endpoints::GetDevEndpointsError, + >, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::get_dev_endpoints::paginator::GetDevEndpointsPaginator::send) which returns a `Stream`. diff --git a/sdk/glue/src/operation/get_job/builders.rs b/sdk/glue/src/operation/get_job/builders.rs index a36ebad394f2..691e641e31d3 100644 --- a/sdk/glue/src/operation/get_job/builders.rs +++ b/sdk/glue/src/operation/get_job/builders.rs @@ -19,9 +19,9 @@ impl GetJobFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl GetJobFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::get_job::GetJob, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                              The name of the job definition to retrieve.

                                                                              pub fn job_name(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.job_name(input.into()); diff --git a/sdk/glue/src/operation/get_job_bookmark/builders.rs b/sdk/glue/src/operation/get_job_bookmark/builders.rs index 22d4cdb2ef85..21f5dd14942b 100644 --- a/sdk/glue/src/operation/get_job_bookmark/builders.rs +++ b/sdk/glue/src/operation/get_job_bookmark/builders.rs @@ -25,9 +25,9 @@ impl GetJobBookmarkFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -89,6 +89,22 @@ impl GetJobBookmarkFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::get_job_bookmark::GetJobBookmark, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::get_job_bookmark::GetJobBookmarkError, + >, + > { + self.customize_middleware().await + } ///

                                                                              The name of the job in question.

                                                                              pub fn job_name(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.job_name(input.into()); diff --git a/sdk/glue/src/operation/get_job_run/builders.rs b/sdk/glue/src/operation/get_job_run/builders.rs index 2c3bad02cc55..14deb2c9456d 100644 --- a/sdk/glue/src/operation/get_job_run/builders.rs +++ b/sdk/glue/src/operation/get_job_run/builders.rs @@ -19,9 +19,9 @@ impl GetJobRunFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl GetJobRunFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::get_job_run::GetJobRun, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                              Name of the job definition being run.

                                                                              pub fn job_name(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.job_name(input.into()); diff --git a/sdk/glue/src/operation/get_job_runs/builders.rs b/sdk/glue/src/operation/get_job_runs/builders.rs index b2fb514f0405..3d2caa7ea264 100644 --- a/sdk/glue/src/operation/get_job_runs/builders.rs +++ b/sdk/glue/src/operation/get_job_runs/builders.rs @@ -19,9 +19,9 @@ impl GetJobRunsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl GetJobRunsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::get_job_runs::GetJobRuns, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::get_job_runs::paginator::GetJobRunsPaginator::send) which returns a `Stream`. diff --git a/sdk/glue/src/operation/get_jobs/builders.rs b/sdk/glue/src/operation/get_jobs/builders.rs index e3bcfb5f1dd0..29786d55407a 100644 --- a/sdk/glue/src/operation/get_jobs/builders.rs +++ b/sdk/glue/src/operation/get_jobs/builders.rs @@ -19,9 +19,9 @@ impl GetJobsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl GetJobsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::get_jobs::GetJobs, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::get_jobs::paginator::GetJobsPaginator::send) which returns a `Stream`. diff --git a/sdk/glue/src/operation/get_mapping/builders.rs b/sdk/glue/src/operation/get_mapping/builders.rs index 575f81ac2446..6720e1e34cad 100644 --- a/sdk/glue/src/operation/get_mapping/builders.rs +++ b/sdk/glue/src/operation/get_mapping/builders.rs @@ -19,9 +19,9 @@ impl GetMappingFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl GetMappingFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::get_mapping::GetMapping, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                              Specifies the source table.

                                                                              pub fn source(mut self, input: crate::types::CatalogEntry) -> Self { self.inner = self.inner.source(input); diff --git a/sdk/glue/src/operation/get_ml_task_run/builders.rs b/sdk/glue/src/operation/get_ml_task_run/builders.rs index a269f7b4e5d6..056295bf4f7b 100644 --- a/sdk/glue/src/operation/get_ml_task_run/builders.rs +++ b/sdk/glue/src/operation/get_ml_task_run/builders.rs @@ -19,9 +19,9 @@ impl GetMLTaskRunFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl GetMLTaskRunFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::get_ml_task_run::GetMLTaskRun, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                              The unique identifier of the machine learning transform.

                                                                              pub fn transform_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.transform_id(input.into()); diff --git a/sdk/glue/src/operation/get_ml_task_runs/builders.rs b/sdk/glue/src/operation/get_ml_task_runs/builders.rs index 20dba9cfb676..1fdd91e2956c 100644 --- a/sdk/glue/src/operation/get_ml_task_runs/builders.rs +++ b/sdk/glue/src/operation/get_ml_task_runs/builders.rs @@ -20,9 +20,9 @@ impl GetMLTaskRunsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -78,6 +78,20 @@ impl GetMLTaskRunsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::get_ml_task_runs::GetMLTaskRuns, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::get_ml_task_runs::paginator::GetMlTaskRunsPaginator::send) which returns a `Stream`. diff --git a/sdk/glue/src/operation/get_ml_transform/builders.rs b/sdk/glue/src/operation/get_ml_transform/builders.rs index 8d09f2943508..3f330e5ff056 100644 --- a/sdk/glue/src/operation/get_ml_transform/builders.rs +++ b/sdk/glue/src/operation/get_ml_transform/builders.rs @@ -19,9 +19,9 @@ impl GetMLTransformFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl GetMLTransformFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::get_ml_transform::GetMLTransform, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::get_ml_transform::GetMLTransformError, + >, + > { + self.customize_middleware().await + } ///

                                                                              The unique identifier of the transform, generated at the time that the transform was created.

                                                                              pub fn transform_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.transform_id(input.into()); diff --git a/sdk/glue/src/operation/get_ml_transforms/builders.rs b/sdk/glue/src/operation/get_ml_transforms/builders.rs index 7248e07bf4ec..7158cf0312ba 100644 --- a/sdk/glue/src/operation/get_ml_transforms/builders.rs +++ b/sdk/glue/src/operation/get_ml_transforms/builders.rs @@ -19,9 +19,9 @@ impl GetMLTransformsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl GetMLTransformsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::get_ml_transforms::GetMLTransforms, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::get_ml_transforms::GetMLTransformsError, + >, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::get_ml_transforms::paginator::GetMlTransformsPaginator::send) which returns a `Stream`. diff --git a/sdk/glue/src/operation/get_partition/builders.rs b/sdk/glue/src/operation/get_partition/builders.rs index d63a96fb16d7..5113bf049293 100644 --- a/sdk/glue/src/operation/get_partition/builders.rs +++ b/sdk/glue/src/operation/get_partition/builders.rs @@ -19,9 +19,9 @@ impl GetPartitionFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl GetPartitionFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::get_partition::GetPartition, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                              The ID of the Data Catalog where the partition in question resides. If none is provided, the Amazon Web Services account ID is used by default.

                                                                              pub fn catalog_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.catalog_id(input.into()); diff --git a/sdk/glue/src/operation/get_partition_indexes/builders.rs b/sdk/glue/src/operation/get_partition_indexes/builders.rs index b52a9735c5f0..ecbe3c4ac6b4 100644 --- a/sdk/glue/src/operation/get_partition_indexes/builders.rs +++ b/sdk/glue/src/operation/get_partition_indexes/builders.rs @@ -19,9 +19,9 @@ impl GetPartitionIndexesFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl GetPartitionIndexesFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::get_partition_indexes::GetPartitionIndexes, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::get_partition_indexes::GetPartitionIndexesError, + >, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::get_partition_indexes::paginator::GetPartitionIndexesPaginator::send) which returns a `Stream`. diff --git a/sdk/glue/src/operation/get_partitions/builders.rs b/sdk/glue/src/operation/get_partitions/builders.rs index 89ff4d4e9565..63bdc237f4cf 100644 --- a/sdk/glue/src/operation/get_partitions/builders.rs +++ b/sdk/glue/src/operation/get_partitions/builders.rs @@ -19,9 +19,9 @@ impl GetPartitionsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl GetPartitionsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::get_partitions::GetPartitions, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::get_partitions::paginator::GetPartitionsPaginator::send) which returns a `Stream`. diff --git a/sdk/glue/src/operation/get_plan/builders.rs b/sdk/glue/src/operation/get_plan/builders.rs index 46e211afc4bb..5bea29775076 100644 --- a/sdk/glue/src/operation/get_plan/builders.rs +++ b/sdk/glue/src/operation/get_plan/builders.rs @@ -19,9 +19,9 @@ impl GetPlanFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl GetPlanFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::get_plan::GetPlan, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } /// Appends an item to `Mapping`. /// /// To override the contents of this collection use [`set_mapping`](Self::set_mapping). diff --git a/sdk/glue/src/operation/get_registry/builders.rs b/sdk/glue/src/operation/get_registry/builders.rs index b0da3dbfbb4d..07687b38057a 100644 --- a/sdk/glue/src/operation/get_registry/builders.rs +++ b/sdk/glue/src/operation/get_registry/builders.rs @@ -19,9 +19,9 @@ impl GetRegistryFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl GetRegistryFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::get_registry::GetRegistry, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                              This is a wrapper structure that may contain the registry name and Amazon Resource Name (ARN).

                                                                              pub fn registry_id(mut self, input: crate::types::RegistryId) -> Self { self.inner = self.inner.registry_id(input); diff --git a/sdk/glue/src/operation/get_resource_policies/builders.rs b/sdk/glue/src/operation/get_resource_policies/builders.rs index cdb5588e02fc..0d2ae20794f7 100644 --- a/sdk/glue/src/operation/get_resource_policies/builders.rs +++ b/sdk/glue/src/operation/get_resource_policies/builders.rs @@ -20,9 +20,9 @@ impl GetResourcePoliciesFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -84,6 +84,22 @@ impl GetResourcePoliciesFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::get_resource_policies::GetResourcePolicies, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::get_resource_policies::GetResourcePoliciesError, + >, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::get_resource_policies::paginator::GetResourcePoliciesPaginator::send) which returns a `Stream`. diff --git a/sdk/glue/src/operation/get_resource_policy/builders.rs b/sdk/glue/src/operation/get_resource_policy/builders.rs index 84e1ca57100d..f7b9fecb6a3f 100644 --- a/sdk/glue/src/operation/get_resource_policy/builders.rs +++ b/sdk/glue/src/operation/get_resource_policy/builders.rs @@ -19,9 +19,9 @@ impl GetResourcePolicyFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl GetResourcePolicyFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::get_resource_policy::GetResourcePolicy, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::get_resource_policy::GetResourcePolicyError, + >, + > { + self.customize_middleware().await + } ///

                                                                              The ARN of the Glue resource for which to retrieve the resource policy. If not supplied, the Data Catalog resource policy is returned. Use GetResourcePolicies to view all existing resource policies. For more information see Specifying Glue Resource ARNs.

                                                                              pub fn resource_arn(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.resource_arn(input.into()); diff --git a/sdk/glue/src/operation/get_schema/builders.rs b/sdk/glue/src/operation/get_schema/builders.rs index 9d486d4f08d3..307f93ca874e 100644 --- a/sdk/glue/src/operation/get_schema/builders.rs +++ b/sdk/glue/src/operation/get_schema/builders.rs @@ -19,9 +19,9 @@ impl GetSchemaFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl GetSchemaFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::get_schema::GetSchema, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                              This is a wrapper structure to contain schema identity fields. The structure contains:

                                                                              ///
                                                                                ///
                                                                              • SchemaId$SchemaArn: The Amazon Resource Name (ARN) of the schema. Either SchemaArn or SchemaName and RegistryName has to be provided.

                                                                              • diff --git a/sdk/glue/src/operation/get_schema_by_definition/builders.rs b/sdk/glue/src/operation/get_schema_by_definition/builders.rs index 4581ab408c30..7dcb6300b229 100644 --- a/sdk/glue/src/operation/get_schema_by_definition/builders.rs +++ b/sdk/glue/src/operation/get_schema_by_definition/builders.rs @@ -19,9 +19,9 @@ impl GetSchemaByDefinitionFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl GetSchemaByDefinitionFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::get_schema_by_definition::GetSchemaByDefinition, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::get_schema_by_definition::GetSchemaByDefinitionError, + >, + > { + self.customize_middleware().await + } ///

                                                                                This is a wrapper structure to contain schema identity fields. The structure contains:

                                                                                ///
                                                                                  ///
                                                                                • SchemaId$SchemaArn: The Amazon Resource Name (ARN) of the schema. One of SchemaArn or SchemaName has to be provided.

                                                                                • diff --git a/sdk/glue/src/operation/get_schema_version/builders.rs b/sdk/glue/src/operation/get_schema_version/builders.rs index 644dab5d24d6..727587afaf6d 100644 --- a/sdk/glue/src/operation/get_schema_version/builders.rs +++ b/sdk/glue/src/operation/get_schema_version/builders.rs @@ -19,9 +19,9 @@ impl GetSchemaVersionFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl GetSchemaVersionFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::get_schema_version::GetSchemaVersion, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::get_schema_version::GetSchemaVersionError, + >, + > { + self.customize_middleware().await + } ///

                                                                                  This is a wrapper structure to contain schema identity fields. The structure contains:

                                                                                  ///
                                                                                    ///
                                                                                  • SchemaId$SchemaArn: The Amazon Resource Name (ARN) of the schema. Either SchemaArn or SchemaName and RegistryName has to be provided.

                                                                                  • diff --git a/sdk/glue/src/operation/get_schema_versions_diff/builders.rs b/sdk/glue/src/operation/get_schema_versions_diff/builders.rs index 2533928b0370..5013a0bc9695 100644 --- a/sdk/glue/src/operation/get_schema_versions_diff/builders.rs +++ b/sdk/glue/src/operation/get_schema_versions_diff/builders.rs @@ -20,9 +20,9 @@ impl GetSchemaVersionsDiffFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -84,6 +84,22 @@ impl GetSchemaVersionsDiffFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::get_schema_versions_diff::GetSchemaVersionsDiff, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::get_schema_versions_diff::GetSchemaVersionsDiffError, + >, + > { + self.customize_middleware().await + } ///

                                                                                    This is a wrapper structure to contain schema identity fields. The structure contains:

                                                                                    ///
                                                                                      ///
                                                                                    • SchemaId$SchemaArn: The Amazon Resource Name (ARN) of the schema. One of SchemaArn or SchemaName has to be provided.

                                                                                    • diff --git a/sdk/glue/src/operation/get_security_configuration/builders.rs b/sdk/glue/src/operation/get_security_configuration/builders.rs index 561b81e5571b..8fe902f90d74 100644 --- a/sdk/glue/src/operation/get_security_configuration/builders.rs +++ b/sdk/glue/src/operation/get_security_configuration/builders.rs @@ -19,9 +19,9 @@ impl GetSecurityConfigurationFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl GetSecurityConfigurationFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::get_security_configuration::GetSecurityConfiguration, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::get_security_configuration::GetSecurityConfigurationError, + >, + > { + self.customize_middleware().await + } ///

                                                                                      The name of the security configuration to retrieve.

                                                                                      pub fn name(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.name(input.into()); diff --git a/sdk/glue/src/operation/get_security_configurations/builders.rs b/sdk/glue/src/operation/get_security_configurations/builders.rs index e56266ff39df..13628c2b8eb5 100644 --- a/sdk/glue/src/operation/get_security_configurations/builders.rs +++ b/sdk/glue/src/operation/get_security_configurations/builders.rs @@ -19,9 +19,9 @@ impl GetSecurityConfigurationsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl GetSecurityConfigurationsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::get_security_configurations::GetSecurityConfigurations, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::get_security_configurations::GetSecurityConfigurationsError, + >, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::get_security_configurations::paginator::GetSecurityConfigurationsPaginator::send) which returns a `Stream`. diff --git a/sdk/glue/src/operation/get_session/builders.rs b/sdk/glue/src/operation/get_session/builders.rs index fc3a8dfc2bac..c94ae510b7a9 100644 --- a/sdk/glue/src/operation/get_session/builders.rs +++ b/sdk/glue/src/operation/get_session/builders.rs @@ -19,9 +19,9 @@ impl GetSessionFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl GetSessionFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::get_session::GetSession, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                                      The ID of the session.

                                                                                      pub fn id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.id(input.into()); diff --git a/sdk/glue/src/operation/get_statement/builders.rs b/sdk/glue/src/operation/get_statement/builders.rs index f9aea6763811..98a228e282c6 100644 --- a/sdk/glue/src/operation/get_statement/builders.rs +++ b/sdk/glue/src/operation/get_statement/builders.rs @@ -19,9 +19,9 @@ impl GetStatementFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl GetStatementFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::get_statement::GetStatement, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                                      The Session ID of the statement.

                                                                                      pub fn session_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.session_id(input.into()); diff --git a/sdk/glue/src/operation/get_table/builders.rs b/sdk/glue/src/operation/get_table/builders.rs index f3d399c0f634..267b8018034c 100644 --- a/sdk/glue/src/operation/get_table/builders.rs +++ b/sdk/glue/src/operation/get_table/builders.rs @@ -19,9 +19,9 @@ impl GetTableFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl GetTableFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::get_table::GetTable, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                                      The ID of the Data Catalog where the table resides. If none is provided, the Amazon Web Services account ID is used by default.

                                                                                      pub fn catalog_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.catalog_id(input.into()); diff --git a/sdk/glue/src/operation/get_table_version/builders.rs b/sdk/glue/src/operation/get_table_version/builders.rs index c1d67365e529..2ce190665bb2 100644 --- a/sdk/glue/src/operation/get_table_version/builders.rs +++ b/sdk/glue/src/operation/get_table_version/builders.rs @@ -19,9 +19,9 @@ impl GetTableVersionFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl GetTableVersionFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::get_table_version::GetTableVersion, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::get_table_version::GetTableVersionError, + >, + > { + self.customize_middleware().await + } ///

                                                                                      The ID of the Data Catalog where the tables reside. If none is provided, the Amazon Web Services account ID is used by default.

                                                                                      pub fn catalog_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.catalog_id(input.into()); diff --git a/sdk/glue/src/operation/get_table_versions/builders.rs b/sdk/glue/src/operation/get_table_versions/builders.rs index ca36330ff565..91724639c7a2 100644 --- a/sdk/glue/src/operation/get_table_versions/builders.rs +++ b/sdk/glue/src/operation/get_table_versions/builders.rs @@ -19,9 +19,9 @@ impl GetTableVersionsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl GetTableVersionsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::get_table_versions::GetTableVersions, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::get_table_versions::GetTableVersionsError, + >, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::get_table_versions::paginator::GetTableVersionsPaginator::send) which returns a `Stream`. diff --git a/sdk/glue/src/operation/get_tables/builders.rs b/sdk/glue/src/operation/get_tables/builders.rs index 0f19d4537011..d01cb0432fa7 100644 --- a/sdk/glue/src/operation/get_tables/builders.rs +++ b/sdk/glue/src/operation/get_tables/builders.rs @@ -19,9 +19,9 @@ impl GetTablesFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl GetTablesFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::get_tables::GetTables, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::get_tables::paginator::GetTablesPaginator::send) which returns a `Stream`. diff --git a/sdk/glue/src/operation/get_tags/builders.rs b/sdk/glue/src/operation/get_tags/builders.rs index 9aca5ecbe5f8..a08e141dc43f 100644 --- a/sdk/glue/src/operation/get_tags/builders.rs +++ b/sdk/glue/src/operation/get_tags/builders.rs @@ -19,9 +19,9 @@ impl GetTagsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl GetTagsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::get_tags::GetTags, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                                      The Amazon Resource Name (ARN) of the resource for which to retrieve tags.

                                                                                      pub fn resource_arn(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.resource_arn(input.into()); diff --git a/sdk/glue/src/operation/get_trigger/builders.rs b/sdk/glue/src/operation/get_trigger/builders.rs index 2ccd12a7218c..80d622c6efb2 100644 --- a/sdk/glue/src/operation/get_trigger/builders.rs +++ b/sdk/glue/src/operation/get_trigger/builders.rs @@ -19,9 +19,9 @@ impl GetTriggerFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl GetTriggerFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::get_trigger::GetTrigger, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                                      The name of the trigger to retrieve.

                                                                                      pub fn name(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.name(input.into()); diff --git a/sdk/glue/src/operation/get_triggers/builders.rs b/sdk/glue/src/operation/get_triggers/builders.rs index 73aa94927662..f1fc3c4b7e01 100644 --- a/sdk/glue/src/operation/get_triggers/builders.rs +++ b/sdk/glue/src/operation/get_triggers/builders.rs @@ -19,9 +19,9 @@ impl GetTriggersFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl GetTriggersFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::get_triggers::GetTriggers, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::get_triggers::paginator::GetTriggersPaginator::send) which returns a `Stream`. diff --git a/sdk/glue/src/operation/get_unfiltered_partition_metadata/builders.rs b/sdk/glue/src/operation/get_unfiltered_partition_metadata/builders.rs index a26aabf79a10..667da7664b46 100644 --- a/sdk/glue/src/operation/get_unfiltered_partition_metadata/builders.rs +++ b/sdk/glue/src/operation/get_unfiltered_partition_metadata/builders.rs @@ -20,9 +20,9 @@ impl GetUnfilteredPartitionMetadataFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize(self) -> ::std::result::Result< + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware(self) -> ::std::result::Result< crate::client::customize::CustomizableOperation, ::aws_smithy_http::result::SdkError >{ @@ -65,6 +65,15 @@ impl GetUnfilteredPartitionMetadataFluentBuilder { { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize(self) -> ::std::result::Result< + crate::client::customize::CustomizableOperation, + ::aws_smithy_http::result::SdkError + >{ + self.customize_middleware().await + } ///

                                                                                      The catalog ID where the partition resides.

                                                                                      pub fn catalog_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.catalog_id(input.into()); diff --git a/sdk/glue/src/operation/get_unfiltered_partitions_metadata/builders.rs b/sdk/glue/src/operation/get_unfiltered_partitions_metadata/builders.rs index 01ee27e053e7..09aa9d223484 100644 --- a/sdk/glue/src/operation/get_unfiltered_partitions_metadata/builders.rs +++ b/sdk/glue/src/operation/get_unfiltered_partitions_metadata/builders.rs @@ -20,9 +20,9 @@ impl GetUnfilteredPartitionsMetadataFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize(self) -> ::std::result::Result< + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware(self) -> ::std::result::Result< crate::client::customize::CustomizableOperation, ::aws_smithy_http::result::SdkError >{ @@ -65,6 +65,15 @@ impl GetUnfilteredPartitionsMetadataFluentBuilder { { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize(self) -> ::std::result::Result< + crate::client::customize::CustomizableOperation, + ::aws_smithy_http::result::SdkError + >{ + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::get_unfiltered_partitions_metadata::paginator::GetUnfilteredPartitionsMetadataPaginator::send) which returns a `Stream`. diff --git a/sdk/glue/src/operation/get_unfiltered_table_metadata/builders.rs b/sdk/glue/src/operation/get_unfiltered_table_metadata/builders.rs index 3bf82274a3d6..a4246a6c0f4d 100644 --- a/sdk/glue/src/operation/get_unfiltered_table_metadata/builders.rs +++ b/sdk/glue/src/operation/get_unfiltered_table_metadata/builders.rs @@ -20,9 +20,9 @@ impl GetUnfilteredTableMetadataFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -84,6 +84,22 @@ impl GetUnfilteredTableMetadataFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::get_unfiltered_table_metadata::GetUnfilteredTableMetadata, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::get_unfiltered_table_metadata::GetUnfilteredTableMetadataError, + >, + > { + self.customize_middleware().await + } ///

                                                                                      The catalog ID where the table resides.

                                                                                      pub fn catalog_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.catalog_id(input.into()); diff --git a/sdk/glue/src/operation/get_user_defined_function/builders.rs b/sdk/glue/src/operation/get_user_defined_function/builders.rs index 6162a181ca05..82b763bcbe95 100644 --- a/sdk/glue/src/operation/get_user_defined_function/builders.rs +++ b/sdk/glue/src/operation/get_user_defined_function/builders.rs @@ -20,9 +20,9 @@ impl GetUserDefinedFunctionFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -84,6 +84,22 @@ impl GetUserDefinedFunctionFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::get_user_defined_function::GetUserDefinedFunction, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::get_user_defined_function::GetUserDefinedFunctionError, + >, + > { + self.customize_middleware().await + } ///

                                                                                      The ID of the Data Catalog where the function to be retrieved is located. If none is provided, the Amazon Web Services account ID is used by default.

                                                                                      pub fn catalog_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.catalog_id(input.into()); diff --git a/sdk/glue/src/operation/get_user_defined_functions/builders.rs b/sdk/glue/src/operation/get_user_defined_functions/builders.rs index c45dd5598e27..8d360dadf4c2 100644 --- a/sdk/glue/src/operation/get_user_defined_functions/builders.rs +++ b/sdk/glue/src/operation/get_user_defined_functions/builders.rs @@ -20,9 +20,9 @@ impl GetUserDefinedFunctionsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -84,6 +84,22 @@ impl GetUserDefinedFunctionsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::get_user_defined_functions::GetUserDefinedFunctions, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::get_user_defined_functions::GetUserDefinedFunctionsError, + >, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::get_user_defined_functions::paginator::GetUserDefinedFunctionsPaginator::send) which returns a `Stream`. diff --git a/sdk/glue/src/operation/get_workflow/builders.rs b/sdk/glue/src/operation/get_workflow/builders.rs index 33e0212bf18d..14899afadea5 100644 --- a/sdk/glue/src/operation/get_workflow/builders.rs +++ b/sdk/glue/src/operation/get_workflow/builders.rs @@ -19,9 +19,9 @@ impl GetWorkflowFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl GetWorkflowFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::get_workflow::GetWorkflow, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                                      The name of the workflow to retrieve.

                                                                                      pub fn name(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.name(input.into()); diff --git a/sdk/glue/src/operation/get_workflow_run/builders.rs b/sdk/glue/src/operation/get_workflow_run/builders.rs index 37ada3d8f7c6..d780a8bb2c9f 100644 --- a/sdk/glue/src/operation/get_workflow_run/builders.rs +++ b/sdk/glue/src/operation/get_workflow_run/builders.rs @@ -19,9 +19,9 @@ impl GetWorkflowRunFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl GetWorkflowRunFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::get_workflow_run::GetWorkflowRun, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::get_workflow_run::GetWorkflowRunError, + >, + > { + self.customize_middleware().await + } ///

                                                                                      Name of the workflow being run.

                                                                                      pub fn name(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.name(input.into()); diff --git a/sdk/glue/src/operation/get_workflow_run_properties/builders.rs b/sdk/glue/src/operation/get_workflow_run_properties/builders.rs index 9b6ed3111534..b4ae81b12a7e 100644 --- a/sdk/glue/src/operation/get_workflow_run_properties/builders.rs +++ b/sdk/glue/src/operation/get_workflow_run_properties/builders.rs @@ -19,9 +19,9 @@ impl GetWorkflowRunPropertiesFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl GetWorkflowRunPropertiesFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::get_workflow_run_properties::GetWorkflowRunProperties, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::get_workflow_run_properties::GetWorkflowRunPropertiesError, + >, + > { + self.customize_middleware().await + } ///

                                                                                      Name of the workflow which was run.

                                                                                      pub fn name(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.name(input.into()); diff --git a/sdk/glue/src/operation/get_workflow_runs/builders.rs b/sdk/glue/src/operation/get_workflow_runs/builders.rs index 0218a64f58b9..f21835a8fd53 100644 --- a/sdk/glue/src/operation/get_workflow_runs/builders.rs +++ b/sdk/glue/src/operation/get_workflow_runs/builders.rs @@ -19,9 +19,9 @@ impl GetWorkflowRunsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl GetWorkflowRunsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::get_workflow_runs::GetWorkflowRuns, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::get_workflow_runs::GetWorkflowRunsError, + >, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::get_workflow_runs::paginator::GetWorkflowRunsPaginator::send) which returns a `Stream`. diff --git a/sdk/glue/src/operation/import_catalog_to_glue/builders.rs b/sdk/glue/src/operation/import_catalog_to_glue/builders.rs index 00f77073d122..0c08a3572909 100644 --- a/sdk/glue/src/operation/import_catalog_to_glue/builders.rs +++ b/sdk/glue/src/operation/import_catalog_to_glue/builders.rs @@ -19,9 +19,9 @@ impl ImportCatalogToGlueFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl ImportCatalogToGlueFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::import_catalog_to_glue::ImportCatalogToGlue, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::import_catalog_to_glue::ImportCatalogToGlueError, + >, + > { + self.customize_middleware().await + } ///

                                                                                      The ID of the catalog to import. Currently, this should be the Amazon Web Services account ID.

                                                                                      pub fn catalog_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.catalog_id(input.into()); diff --git a/sdk/glue/src/operation/list_blueprints/builders.rs b/sdk/glue/src/operation/list_blueprints/builders.rs index 7e30dbf9f48b..c0c5a58c8039 100644 --- a/sdk/glue/src/operation/list_blueprints/builders.rs +++ b/sdk/glue/src/operation/list_blueprints/builders.rs @@ -19,9 +19,9 @@ impl ListBlueprintsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl ListBlueprintsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_blueprints::ListBlueprints, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::list_blueprints::paginator::ListBlueprintsPaginator::send) which returns a `Stream`. diff --git a/sdk/glue/src/operation/list_crawlers/builders.rs b/sdk/glue/src/operation/list_crawlers/builders.rs index 3aef2bd2be17..5a1f3db976f2 100644 --- a/sdk/glue/src/operation/list_crawlers/builders.rs +++ b/sdk/glue/src/operation/list_crawlers/builders.rs @@ -20,9 +20,9 @@ impl ListCrawlersFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -78,6 +78,20 @@ impl ListCrawlersFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_crawlers::ListCrawlers, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::list_crawlers::paginator::ListCrawlersPaginator::send) which returns a `Stream`. diff --git a/sdk/glue/src/operation/list_crawls/builders.rs b/sdk/glue/src/operation/list_crawls/builders.rs index 714089bb6e82..46e69072b722 100644 --- a/sdk/glue/src/operation/list_crawls/builders.rs +++ b/sdk/glue/src/operation/list_crawls/builders.rs @@ -26,9 +26,9 @@ impl ListCrawlsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -84,6 +84,20 @@ impl ListCrawlsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_crawls::ListCrawls, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                                      The name of the crawler whose runs you want to retrieve.

                                                                                      pub fn crawler_name(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.crawler_name(input.into()); diff --git a/sdk/glue/src/operation/list_custom_entity_types/builders.rs b/sdk/glue/src/operation/list_custom_entity_types/builders.rs index 86ffddf5ff16..d8e0cafa3e34 100644 --- a/sdk/glue/src/operation/list_custom_entity_types/builders.rs +++ b/sdk/glue/src/operation/list_custom_entity_types/builders.rs @@ -19,9 +19,9 @@ impl ListCustomEntityTypesFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl ListCustomEntityTypesFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_custom_entity_types::ListCustomEntityTypes, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::list_custom_entity_types::ListCustomEntityTypesError, + >, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::list_custom_entity_types::paginator::ListCustomEntityTypesPaginator::send) which returns a `Stream`. diff --git a/sdk/glue/src/operation/list_data_quality_results/builders.rs b/sdk/glue/src/operation/list_data_quality_results/builders.rs index c31b26b8b2d6..bd31ce7b3efd 100644 --- a/sdk/glue/src/operation/list_data_quality_results/builders.rs +++ b/sdk/glue/src/operation/list_data_quality_results/builders.rs @@ -20,9 +20,9 @@ impl ListDataQualityResultsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -84,6 +84,22 @@ impl ListDataQualityResultsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_data_quality_results::ListDataQualityResults, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::list_data_quality_results::ListDataQualityResultsError, + >, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::list_data_quality_results::paginator::ListDataQualityResultsPaginator::send) which returns a `Stream`. diff --git a/sdk/glue/src/operation/list_data_quality_rule_recommendation_runs/builders.rs b/sdk/glue/src/operation/list_data_quality_rule_recommendation_runs/builders.rs index e0daeeeac255..073ed3e38bbb 100644 --- a/sdk/glue/src/operation/list_data_quality_rule_recommendation_runs/builders.rs +++ b/sdk/glue/src/operation/list_data_quality_rule_recommendation_runs/builders.rs @@ -19,9 +19,9 @@ impl ListDataQualityRuleRecommendationRunsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize(self) -> ::std::result::Result< + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware(self) -> ::std::result::Result< crate::client::customize::CustomizableOperation, ::aws_smithy_http::result::SdkError >{ @@ -64,6 +64,15 @@ impl ListDataQualityRuleRecommendationRunsFluentBuilder { { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize(self) -> ::std::result::Result< + crate::client::customize::CustomizableOperation, + ::aws_smithy_http::result::SdkError + >{ + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::list_data_quality_rule_recommendation_runs::paginator::ListDataQualityRuleRecommendationRunsPaginator::send) which returns a `Stream`. diff --git a/sdk/glue/src/operation/list_data_quality_ruleset_evaluation_runs/builders.rs b/sdk/glue/src/operation/list_data_quality_ruleset_evaluation_runs/builders.rs index 7b5caa035c7a..b17abadfdad5 100644 --- a/sdk/glue/src/operation/list_data_quality_ruleset_evaluation_runs/builders.rs +++ b/sdk/glue/src/operation/list_data_quality_ruleset_evaluation_runs/builders.rs @@ -19,9 +19,9 @@ impl ListDataQualityRulesetEvaluationRunsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize(self) -> ::std::result::Result< + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware(self) -> ::std::result::Result< crate::client::customize::CustomizableOperation, ::aws_smithy_http::result::SdkError >{ @@ -64,6 +64,15 @@ impl ListDataQualityRulesetEvaluationRunsFluentBuilder { { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize(self) -> ::std::result::Result< + crate::client::customize::CustomizableOperation, + ::aws_smithy_http::result::SdkError + >{ + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::list_data_quality_ruleset_evaluation_runs::paginator::ListDataQualityRulesetEvaluationRunsPaginator::send) which returns a `Stream`. diff --git a/sdk/glue/src/operation/list_data_quality_rulesets/builders.rs b/sdk/glue/src/operation/list_data_quality_rulesets/builders.rs index 8e21c577aec3..d86e0a7daa13 100644 --- a/sdk/glue/src/operation/list_data_quality_rulesets/builders.rs +++ b/sdk/glue/src/operation/list_data_quality_rulesets/builders.rs @@ -20,9 +20,9 @@ impl ListDataQualityRulesetsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -84,6 +84,22 @@ impl ListDataQualityRulesetsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_data_quality_rulesets::ListDataQualityRulesets, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::list_data_quality_rulesets::ListDataQualityRulesetsError, + >, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::list_data_quality_rulesets::paginator::ListDataQualityRulesetsPaginator::send) which returns a `Stream`. diff --git a/sdk/glue/src/operation/list_dev_endpoints/builders.rs b/sdk/glue/src/operation/list_dev_endpoints/builders.rs index 29a0b2231fa6..d22023c20555 100644 --- a/sdk/glue/src/operation/list_dev_endpoints/builders.rs +++ b/sdk/glue/src/operation/list_dev_endpoints/builders.rs @@ -20,9 +20,9 @@ impl ListDevEndpointsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -84,6 +84,22 @@ impl ListDevEndpointsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_dev_endpoints::ListDevEndpoints, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::list_dev_endpoints::ListDevEndpointsError, + >, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::list_dev_endpoints::paginator::ListDevEndpointsPaginator::send) which returns a `Stream`. diff --git a/sdk/glue/src/operation/list_jobs/builders.rs b/sdk/glue/src/operation/list_jobs/builders.rs index aba0128a61c2..47444af305c4 100644 --- a/sdk/glue/src/operation/list_jobs/builders.rs +++ b/sdk/glue/src/operation/list_jobs/builders.rs @@ -20,9 +20,9 @@ impl ListJobsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -78,6 +78,20 @@ impl ListJobsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_jobs::ListJobs, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::list_jobs::paginator::ListJobsPaginator::send) which returns a `Stream`. diff --git a/sdk/glue/src/operation/list_ml_transforms/builders.rs b/sdk/glue/src/operation/list_ml_transforms/builders.rs index 11c329c44df6..c79049f76308 100644 --- a/sdk/glue/src/operation/list_ml_transforms/builders.rs +++ b/sdk/glue/src/operation/list_ml_transforms/builders.rs @@ -19,9 +19,9 @@ impl ListMLTransformsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl ListMLTransformsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_ml_transforms::ListMLTransforms, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::list_ml_transforms::ListMLTransformsError, + >, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::list_ml_transforms::paginator::ListMlTransformsPaginator::send) which returns a `Stream`. diff --git a/sdk/glue/src/operation/list_registries/builders.rs b/sdk/glue/src/operation/list_registries/builders.rs index 57eb0a984a68..e9807d27bb8d 100644 --- a/sdk/glue/src/operation/list_registries/builders.rs +++ b/sdk/glue/src/operation/list_registries/builders.rs @@ -19,9 +19,9 @@ impl ListRegistriesFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl ListRegistriesFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_registries::ListRegistries, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::list_registries::paginator::ListRegistriesPaginator::send) which returns a `Stream`. diff --git a/sdk/glue/src/operation/list_schema_versions/builders.rs b/sdk/glue/src/operation/list_schema_versions/builders.rs index 789899c72571..ad2e5c80b89f 100644 --- a/sdk/glue/src/operation/list_schema_versions/builders.rs +++ b/sdk/glue/src/operation/list_schema_versions/builders.rs @@ -19,9 +19,9 @@ impl ListSchemaVersionsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl ListSchemaVersionsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_schema_versions::ListSchemaVersions, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::list_schema_versions::ListSchemaVersionsError, + >, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::list_schema_versions::paginator::ListSchemaVersionsPaginator::send) which returns a `Stream`. diff --git a/sdk/glue/src/operation/list_schemas/builders.rs b/sdk/glue/src/operation/list_schemas/builders.rs index f082c594330e..d76636a5fb77 100644 --- a/sdk/glue/src/operation/list_schemas/builders.rs +++ b/sdk/glue/src/operation/list_schemas/builders.rs @@ -20,9 +20,9 @@ impl ListSchemasFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -78,6 +78,20 @@ impl ListSchemasFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_schemas::ListSchemas, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::list_schemas::paginator::ListSchemasPaginator::send) which returns a `Stream`. diff --git a/sdk/glue/src/operation/list_sessions/builders.rs b/sdk/glue/src/operation/list_sessions/builders.rs index 28f86982cd1f..6baef3723e2b 100644 --- a/sdk/glue/src/operation/list_sessions/builders.rs +++ b/sdk/glue/src/operation/list_sessions/builders.rs @@ -19,9 +19,9 @@ impl ListSessionsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl ListSessionsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_sessions::ListSessions, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::list_sessions::paginator::ListSessionsPaginator::send) which returns a `Stream`. diff --git a/sdk/glue/src/operation/list_statements/builders.rs b/sdk/glue/src/operation/list_statements/builders.rs index 55eea1069b19..ed611cd37256 100644 --- a/sdk/glue/src/operation/list_statements/builders.rs +++ b/sdk/glue/src/operation/list_statements/builders.rs @@ -19,9 +19,9 @@ impl ListStatementsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl ListStatementsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_statements::ListStatements, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                                      The Session ID of the statements.

                                                                                      pub fn session_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.session_id(input.into()); diff --git a/sdk/glue/src/operation/list_triggers/builders.rs b/sdk/glue/src/operation/list_triggers/builders.rs index d0d301afffd7..4611d64d0879 100644 --- a/sdk/glue/src/operation/list_triggers/builders.rs +++ b/sdk/glue/src/operation/list_triggers/builders.rs @@ -20,9 +20,9 @@ impl ListTriggersFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -78,6 +78,20 @@ impl ListTriggersFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_triggers::ListTriggers, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::list_triggers::paginator::ListTriggersPaginator::send) which returns a `Stream`. diff --git a/sdk/glue/src/operation/list_workflows/builders.rs b/sdk/glue/src/operation/list_workflows/builders.rs index cf177e4d88fe..3db6d73098ed 100644 --- a/sdk/glue/src/operation/list_workflows/builders.rs +++ b/sdk/glue/src/operation/list_workflows/builders.rs @@ -19,9 +19,9 @@ impl ListWorkflowsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl ListWorkflowsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_workflows::ListWorkflows, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::list_workflows::paginator::ListWorkflowsPaginator::send) which returns a `Stream`. diff --git a/sdk/glue/src/operation/put_data_catalog_encryption_settings/builders.rs b/sdk/glue/src/operation/put_data_catalog_encryption_settings/builders.rs index 8a82880ecf88..17b291a70517 100644 --- a/sdk/glue/src/operation/put_data_catalog_encryption_settings/builders.rs +++ b/sdk/glue/src/operation/put_data_catalog_encryption_settings/builders.rs @@ -19,9 +19,9 @@ impl PutDataCatalogEncryptionSettingsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize(self) -> ::std::result::Result< + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware(self) -> ::std::result::Result< crate::client::customize::CustomizableOperation, ::aws_smithy_http::result::SdkError >{ @@ -64,6 +64,15 @@ impl PutDataCatalogEncryptionSettingsFluentBuilder { { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize(self) -> ::std::result::Result< + crate::client::customize::CustomizableOperation, + ::aws_smithy_http::result::SdkError + >{ + self.customize_middleware().await + } ///

                                                                                      The ID of the Data Catalog to set the security configuration for. If none is provided, the Amazon Web Services account ID is used by default.

                                                                                      pub fn catalog_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.catalog_id(input.into()); diff --git a/sdk/glue/src/operation/put_resource_policy/builders.rs b/sdk/glue/src/operation/put_resource_policy/builders.rs index ccc29fcd3990..552850a4b661 100644 --- a/sdk/glue/src/operation/put_resource_policy/builders.rs +++ b/sdk/glue/src/operation/put_resource_policy/builders.rs @@ -19,9 +19,9 @@ impl PutResourcePolicyFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl PutResourcePolicyFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::put_resource_policy::PutResourcePolicy, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::put_resource_policy::PutResourcePolicyError, + >, + > { + self.customize_middleware().await + } ///

                                                                                      Contains the policy document to set, in JSON format.

                                                                                      pub fn policy_in_json( mut self, diff --git a/sdk/glue/src/operation/put_schema_version_metadata/builders.rs b/sdk/glue/src/operation/put_schema_version_metadata/builders.rs index 90077fb4af37..90e020c9fec4 100644 --- a/sdk/glue/src/operation/put_schema_version_metadata/builders.rs +++ b/sdk/glue/src/operation/put_schema_version_metadata/builders.rs @@ -19,9 +19,9 @@ impl PutSchemaVersionMetadataFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl PutSchemaVersionMetadataFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::put_schema_version_metadata::PutSchemaVersionMetadata, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::put_schema_version_metadata::PutSchemaVersionMetadataError, + >, + > { + self.customize_middleware().await + } ///

                                                                                      The unique ID for the schema.

                                                                                      pub fn schema_id(mut self, input: crate::types::SchemaId) -> Self { self.inner = self.inner.schema_id(input); diff --git a/sdk/glue/src/operation/put_workflow_run_properties/builders.rs b/sdk/glue/src/operation/put_workflow_run_properties/builders.rs index 62c2fd880c9c..69abff632f8d 100644 --- a/sdk/glue/src/operation/put_workflow_run_properties/builders.rs +++ b/sdk/glue/src/operation/put_workflow_run_properties/builders.rs @@ -19,9 +19,9 @@ impl PutWorkflowRunPropertiesFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl PutWorkflowRunPropertiesFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::put_workflow_run_properties::PutWorkflowRunProperties, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::put_workflow_run_properties::PutWorkflowRunPropertiesError, + >, + > { + self.customize_middleware().await + } ///

                                                                                      Name of the workflow which was run.

                                                                                      pub fn name(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.name(input.into()); diff --git a/sdk/glue/src/operation/query_schema_version_metadata/builders.rs b/sdk/glue/src/operation/query_schema_version_metadata/builders.rs index 412724bee1cd..4f2f12b8d84d 100644 --- a/sdk/glue/src/operation/query_schema_version_metadata/builders.rs +++ b/sdk/glue/src/operation/query_schema_version_metadata/builders.rs @@ -19,9 +19,9 @@ impl QuerySchemaVersionMetadataFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl QuerySchemaVersionMetadataFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::query_schema_version_metadata::QuerySchemaVersionMetadata, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::query_schema_version_metadata::QuerySchemaVersionMetadataError, + >, + > { + self.customize_middleware().await + } ///

                                                                                      A wrapper structure that may contain the schema name and Amazon Resource Name (ARN).

                                                                                      pub fn schema_id(mut self, input: crate::types::SchemaId) -> Self { self.inner = self.inner.schema_id(input); diff --git a/sdk/glue/src/operation/register_schema_version/builders.rs b/sdk/glue/src/operation/register_schema_version/builders.rs index e543ed16858d..5725aa8ccc20 100644 --- a/sdk/glue/src/operation/register_schema_version/builders.rs +++ b/sdk/glue/src/operation/register_schema_version/builders.rs @@ -21,9 +21,9 @@ impl RegisterSchemaVersionFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -85,6 +85,22 @@ impl RegisterSchemaVersionFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::register_schema_version::RegisterSchemaVersion, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::register_schema_version::RegisterSchemaVersionError, + >, + > { + self.customize_middleware().await + } ///

                                                                                      This is a wrapper structure to contain schema identity fields. The structure contains:

                                                                                      ///
                                                                                        ///
                                                                                      • SchemaId$SchemaArn: The Amazon Resource Name (ARN) of the schema. Either SchemaArn or SchemaName and RegistryName has to be provided.

                                                                                      • diff --git a/sdk/glue/src/operation/remove_schema_version_metadata/builders.rs b/sdk/glue/src/operation/remove_schema_version_metadata/builders.rs index 5d855a9a6f38..7cb8a8e4ab21 100644 --- a/sdk/glue/src/operation/remove_schema_version_metadata/builders.rs +++ b/sdk/glue/src/operation/remove_schema_version_metadata/builders.rs @@ -19,9 +19,9 @@ impl RemoveSchemaVersionMetadataFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl RemoveSchemaVersionMetadataFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::remove_schema_version_metadata::RemoveSchemaVersionMetadata, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::remove_schema_version_metadata::RemoveSchemaVersionMetadataError, + >, + > { + self.customize_middleware().await + } ///

                                                                                        A wrapper structure that may contain the schema name and Amazon Resource Name (ARN).

                                                                                        pub fn schema_id(mut self, input: crate::types::SchemaId) -> Self { self.inner = self.inner.schema_id(input); diff --git a/sdk/glue/src/operation/reset_job_bookmark/builders.rs b/sdk/glue/src/operation/reset_job_bookmark/builders.rs index a89fffb7d45e..a5121048abdf 100644 --- a/sdk/glue/src/operation/reset_job_bookmark/builders.rs +++ b/sdk/glue/src/operation/reset_job_bookmark/builders.rs @@ -25,9 +25,9 @@ impl ResetJobBookmarkFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -89,6 +89,22 @@ impl ResetJobBookmarkFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::reset_job_bookmark::ResetJobBookmark, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::reset_job_bookmark::ResetJobBookmarkError, + >, + > { + self.customize_middleware().await + } ///

                                                                                        The name of the job in question.

                                                                                        pub fn job_name(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.job_name(input.into()); diff --git a/sdk/glue/src/operation/resume_workflow_run/builders.rs b/sdk/glue/src/operation/resume_workflow_run/builders.rs index 760ae247880e..bd6502b69ec0 100644 --- a/sdk/glue/src/operation/resume_workflow_run/builders.rs +++ b/sdk/glue/src/operation/resume_workflow_run/builders.rs @@ -19,9 +19,9 @@ impl ResumeWorkflowRunFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl ResumeWorkflowRunFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::resume_workflow_run::ResumeWorkflowRun, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::resume_workflow_run::ResumeWorkflowRunError, + >, + > { + self.customize_middleware().await + } ///

                                                                                        The name of the workflow to resume.

                                                                                        pub fn name(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.name(input.into()); diff --git a/sdk/glue/src/operation/run_statement/builders.rs b/sdk/glue/src/operation/run_statement/builders.rs index 8e6b1c313565..5dcacfeb48fb 100644 --- a/sdk/glue/src/operation/run_statement/builders.rs +++ b/sdk/glue/src/operation/run_statement/builders.rs @@ -19,9 +19,9 @@ impl RunStatementFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl RunStatementFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::run_statement::RunStatement, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                                        The Session Id of the statement to be run.

                                                                                        pub fn session_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.session_id(input.into()); diff --git a/sdk/glue/src/operation/search_tables/builders.rs b/sdk/glue/src/operation/search_tables/builders.rs index 09f062cba107..f270443ce916 100644 --- a/sdk/glue/src/operation/search_tables/builders.rs +++ b/sdk/glue/src/operation/search_tables/builders.rs @@ -20,9 +20,9 @@ impl SearchTablesFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -78,6 +78,20 @@ impl SearchTablesFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::search_tables::SearchTables, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::search_tables::paginator::SearchTablesPaginator::send) which returns a `Stream`. diff --git a/sdk/glue/src/operation/start_blueprint_run/builders.rs b/sdk/glue/src/operation/start_blueprint_run/builders.rs index 25dedcc379e9..016f5ac9c7d6 100644 --- a/sdk/glue/src/operation/start_blueprint_run/builders.rs +++ b/sdk/glue/src/operation/start_blueprint_run/builders.rs @@ -19,9 +19,9 @@ impl StartBlueprintRunFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl StartBlueprintRunFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::start_blueprint_run::StartBlueprintRun, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::start_blueprint_run::StartBlueprintRunError, + >, + > { + self.customize_middleware().await + } ///

                                                                                        The name of the blueprint.

                                                                                        pub fn blueprint_name( mut self, diff --git a/sdk/glue/src/operation/start_crawler/builders.rs b/sdk/glue/src/operation/start_crawler/builders.rs index c17e401cfdc1..c81f3bd2ceda 100644 --- a/sdk/glue/src/operation/start_crawler/builders.rs +++ b/sdk/glue/src/operation/start_crawler/builders.rs @@ -19,9 +19,9 @@ impl StartCrawlerFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl StartCrawlerFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::start_crawler::StartCrawler, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                                        Name of the crawler to start.

                                                                                        pub fn name(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.name(input.into()); diff --git a/sdk/glue/src/operation/start_crawler_schedule/builders.rs b/sdk/glue/src/operation/start_crawler_schedule/builders.rs index a1ef6766e688..e36a4816c742 100644 --- a/sdk/glue/src/operation/start_crawler_schedule/builders.rs +++ b/sdk/glue/src/operation/start_crawler_schedule/builders.rs @@ -19,9 +19,9 @@ impl StartCrawlerScheduleFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl StartCrawlerScheduleFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::start_crawler_schedule::StartCrawlerSchedule, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::start_crawler_schedule::StartCrawlerScheduleError, + >, + > { + self.customize_middleware().await + } ///

                                                                                        Name of the crawler to schedule.

                                                                                        pub fn crawler_name(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.crawler_name(input.into()); diff --git a/sdk/glue/src/operation/start_data_quality_rule_recommendation_run/builders.rs b/sdk/glue/src/operation/start_data_quality_rule_recommendation_run/builders.rs index 87b4257a909e..6330abb84b44 100644 --- a/sdk/glue/src/operation/start_data_quality_rule_recommendation_run/builders.rs +++ b/sdk/glue/src/operation/start_data_quality_rule_recommendation_run/builders.rs @@ -19,9 +19,9 @@ impl StartDataQualityRuleRecommendationRunFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize(self) -> ::std::result::Result< + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware(self) -> ::std::result::Result< crate::client::customize::CustomizableOperation, ::aws_smithy_http::result::SdkError >{ @@ -64,6 +64,15 @@ impl StartDataQualityRuleRecommendationRunFluentBuilder { { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize(self) -> ::std::result::Result< + crate::client::customize::CustomizableOperation, + ::aws_smithy_http::result::SdkError + >{ + self.customize_middleware().await + } ///

                                                                                        The data source (Glue table) associated with this run.

                                                                                        pub fn data_source(mut self, input: crate::types::DataSource) -> Self { self.inner = self.inner.data_source(input); diff --git a/sdk/glue/src/operation/start_data_quality_ruleset_evaluation_run/builders.rs b/sdk/glue/src/operation/start_data_quality_ruleset_evaluation_run/builders.rs index 4d50ce5ec6e2..4258a222ee00 100644 --- a/sdk/glue/src/operation/start_data_quality_ruleset_evaluation_run/builders.rs +++ b/sdk/glue/src/operation/start_data_quality_ruleset_evaluation_run/builders.rs @@ -19,9 +19,9 @@ impl StartDataQualityRulesetEvaluationRunFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize(self) -> ::std::result::Result< + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware(self) -> ::std::result::Result< crate::client::customize::CustomizableOperation, ::aws_smithy_http::result::SdkError >{ @@ -64,6 +64,15 @@ impl StartDataQualityRulesetEvaluationRunFluentBuilder { { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize(self) -> ::std::result::Result< + crate::client::customize::CustomizableOperation, + ::aws_smithy_http::result::SdkError + >{ + self.customize_middleware().await + } ///

                                                                                        The data source (Glue table) associated with this run.

                                                                                        pub fn data_source(mut self, input: crate::types::DataSource) -> Self { self.inner = self.inner.data_source(input); diff --git a/sdk/glue/src/operation/start_export_labels_task_run/builders.rs b/sdk/glue/src/operation/start_export_labels_task_run/builders.rs index babb72a2a87c..070e475892c7 100644 --- a/sdk/glue/src/operation/start_export_labels_task_run/builders.rs +++ b/sdk/glue/src/operation/start_export_labels_task_run/builders.rs @@ -19,9 +19,9 @@ impl StartExportLabelsTaskRunFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl StartExportLabelsTaskRunFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::start_export_labels_task_run::StartExportLabelsTaskRun, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::start_export_labels_task_run::StartExportLabelsTaskRunError, + >, + > { + self.customize_middleware().await + } ///

                                                                                        The unique identifier of the machine learning transform.

                                                                                        pub fn transform_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.transform_id(input.into()); diff --git a/sdk/glue/src/operation/start_import_labels_task_run/builders.rs b/sdk/glue/src/operation/start_import_labels_task_run/builders.rs index 960299085eb5..d4917d3570c9 100644 --- a/sdk/glue/src/operation/start_import_labels_task_run/builders.rs +++ b/sdk/glue/src/operation/start_import_labels_task_run/builders.rs @@ -22,9 +22,9 @@ impl StartImportLabelsTaskRunFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -86,6 +86,22 @@ impl StartImportLabelsTaskRunFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::start_import_labels_task_run::StartImportLabelsTaskRun, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::start_import_labels_task_run::StartImportLabelsTaskRunError, + >, + > { + self.customize_middleware().await + } ///

                                                                                        The unique identifier of the machine learning transform.

                                                                                        pub fn transform_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.transform_id(input.into()); diff --git a/sdk/glue/src/operation/start_job_run/builders.rs b/sdk/glue/src/operation/start_job_run/builders.rs index 86ef58a38d34..2ffd65b0d779 100644 --- a/sdk/glue/src/operation/start_job_run/builders.rs +++ b/sdk/glue/src/operation/start_job_run/builders.rs @@ -19,9 +19,9 @@ impl StartJobRunFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl StartJobRunFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::start_job_run::StartJobRun, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                                        The name of the job definition to use.

                                                                                        pub fn job_name(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.job_name(input.into()); diff --git a/sdk/glue/src/operation/start_ml_evaluation_task_run/builders.rs b/sdk/glue/src/operation/start_ml_evaluation_task_run/builders.rs index 87e179db6394..492a20b413af 100644 --- a/sdk/glue/src/operation/start_ml_evaluation_task_run/builders.rs +++ b/sdk/glue/src/operation/start_ml_evaluation_task_run/builders.rs @@ -21,9 +21,9 @@ impl StartMLEvaluationTaskRunFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -85,6 +85,22 @@ impl StartMLEvaluationTaskRunFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::start_ml_evaluation_task_run::StartMLEvaluationTaskRun, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::start_ml_evaluation_task_run::StartMLEvaluationTaskRunError, + >, + > { + self.customize_middleware().await + } ///

                                                                                        The unique identifier of the machine learning transform.

                                                                                        pub fn transform_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.transform_id(input.into()); diff --git a/sdk/glue/src/operation/start_ml_labeling_set_generation_task_run/builders.rs b/sdk/glue/src/operation/start_ml_labeling_set_generation_task_run/builders.rs index 9947eea511b7..ebccb872df5b 100644 --- a/sdk/glue/src/operation/start_ml_labeling_set_generation_task_run/builders.rs +++ b/sdk/glue/src/operation/start_ml_labeling_set_generation_task_run/builders.rs @@ -22,9 +22,9 @@ impl StartMLLabelingSetGenerationTaskRunFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize(self) -> ::std::result::Result< + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware(self) -> ::std::result::Result< crate::client::customize::CustomizableOperation, ::aws_smithy_http::result::SdkError >{ @@ -67,6 +67,15 @@ impl StartMLLabelingSetGenerationTaskRunFluentBuilder { { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize(self) -> ::std::result::Result< + crate::client::customize::CustomizableOperation, + ::aws_smithy_http::result::SdkError + >{ + self.customize_middleware().await + } ///

                                                                                        The unique identifier of the machine learning transform.

                                                                                        pub fn transform_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.transform_id(input.into()); diff --git a/sdk/glue/src/operation/start_trigger/builders.rs b/sdk/glue/src/operation/start_trigger/builders.rs index 1c6719cafec6..a4e5dd8e4377 100644 --- a/sdk/glue/src/operation/start_trigger/builders.rs +++ b/sdk/glue/src/operation/start_trigger/builders.rs @@ -19,9 +19,9 @@ impl StartTriggerFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl StartTriggerFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::start_trigger::StartTrigger, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                                        The name of the trigger to start.

                                                                                        pub fn name(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.name(input.into()); diff --git a/sdk/glue/src/operation/start_workflow_run/builders.rs b/sdk/glue/src/operation/start_workflow_run/builders.rs index c43eb9cf4c22..705013fbfd21 100644 --- a/sdk/glue/src/operation/start_workflow_run/builders.rs +++ b/sdk/glue/src/operation/start_workflow_run/builders.rs @@ -19,9 +19,9 @@ impl StartWorkflowRunFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl StartWorkflowRunFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::start_workflow_run::StartWorkflowRun, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::start_workflow_run::StartWorkflowRunError, + >, + > { + self.customize_middleware().await + } ///

                                                                                        The name of the workflow to start.

                                                                                        pub fn name(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.name(input.into()); diff --git a/sdk/glue/src/operation/stop_crawler/builders.rs b/sdk/glue/src/operation/stop_crawler/builders.rs index e38abaaef209..a88e0f678649 100644 --- a/sdk/glue/src/operation/stop_crawler/builders.rs +++ b/sdk/glue/src/operation/stop_crawler/builders.rs @@ -19,9 +19,9 @@ impl StopCrawlerFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl StopCrawlerFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::stop_crawler::StopCrawler, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                                        Name of the crawler to stop.

                                                                                        pub fn name(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.name(input.into()); diff --git a/sdk/glue/src/operation/stop_crawler_schedule/builders.rs b/sdk/glue/src/operation/stop_crawler_schedule/builders.rs index 3bfff5225e4a..2381b5babfba 100644 --- a/sdk/glue/src/operation/stop_crawler_schedule/builders.rs +++ b/sdk/glue/src/operation/stop_crawler_schedule/builders.rs @@ -19,9 +19,9 @@ impl StopCrawlerScheduleFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl StopCrawlerScheduleFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::stop_crawler_schedule::StopCrawlerSchedule, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::stop_crawler_schedule::StopCrawlerScheduleError, + >, + > { + self.customize_middleware().await + } ///

                                                                                        Name of the crawler whose schedule state to set.

                                                                                        pub fn crawler_name(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.crawler_name(input.into()); diff --git a/sdk/glue/src/operation/stop_session/builders.rs b/sdk/glue/src/operation/stop_session/builders.rs index 1f0dbf866707..f27b13685f7f 100644 --- a/sdk/glue/src/operation/stop_session/builders.rs +++ b/sdk/glue/src/operation/stop_session/builders.rs @@ -19,9 +19,9 @@ impl StopSessionFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl StopSessionFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::stop_session::StopSession, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                                        The ID of the session to be stopped.

                                                                                        pub fn id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.id(input.into()); diff --git a/sdk/glue/src/operation/stop_trigger/builders.rs b/sdk/glue/src/operation/stop_trigger/builders.rs index 0cd98d29a12d..1317e6fe59d0 100644 --- a/sdk/glue/src/operation/stop_trigger/builders.rs +++ b/sdk/glue/src/operation/stop_trigger/builders.rs @@ -19,9 +19,9 @@ impl StopTriggerFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl StopTriggerFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::stop_trigger::StopTrigger, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                                        The name of the trigger to stop.

                                                                                        pub fn name(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.name(input.into()); diff --git a/sdk/glue/src/operation/stop_workflow_run/builders.rs b/sdk/glue/src/operation/stop_workflow_run/builders.rs index 8725e64d8e6d..68c3adae25e3 100644 --- a/sdk/glue/src/operation/stop_workflow_run/builders.rs +++ b/sdk/glue/src/operation/stop_workflow_run/builders.rs @@ -19,9 +19,9 @@ impl StopWorkflowRunFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl StopWorkflowRunFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::stop_workflow_run::StopWorkflowRun, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::stop_workflow_run::StopWorkflowRunError, + >, + > { + self.customize_middleware().await + } ///

                                                                                        The name of the workflow to stop.

                                                                                        pub fn name(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.name(input.into()); diff --git a/sdk/glue/src/operation/tag_resource/builders.rs b/sdk/glue/src/operation/tag_resource/builders.rs index a9e94c737c78..0fd1eec4a971 100644 --- a/sdk/glue/src/operation/tag_resource/builders.rs +++ b/sdk/glue/src/operation/tag_resource/builders.rs @@ -19,9 +19,9 @@ impl TagResourceFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl TagResourceFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::tag_resource::TagResource, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                                        The ARN of the Glue resource to which to add the tags. For more information about Glue resource ARNs, see the Glue ARN string pattern.

                                                                                        pub fn resource_arn(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.resource_arn(input.into()); diff --git a/sdk/glue/src/operation/untag_resource/builders.rs b/sdk/glue/src/operation/untag_resource/builders.rs index e329d4385331..0b337d554c1e 100644 --- a/sdk/glue/src/operation/untag_resource/builders.rs +++ b/sdk/glue/src/operation/untag_resource/builders.rs @@ -19,9 +19,9 @@ impl UntagResourceFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl UntagResourceFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::untag_resource::UntagResource, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                                        The Amazon Resource Name (ARN) of the resource from which to remove the tags.

                                                                                        pub fn resource_arn(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.resource_arn(input.into()); diff --git a/sdk/glue/src/operation/update_blueprint/builders.rs b/sdk/glue/src/operation/update_blueprint/builders.rs index b1f740ef91dc..2a13d6d20c66 100644 --- a/sdk/glue/src/operation/update_blueprint/builders.rs +++ b/sdk/glue/src/operation/update_blueprint/builders.rs @@ -19,9 +19,9 @@ impl UpdateBlueprintFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl UpdateBlueprintFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::update_blueprint::UpdateBlueprint, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::update_blueprint::UpdateBlueprintError, + >, + > { + self.customize_middleware().await + } ///

                                                                                        The name of the blueprint.

                                                                                        pub fn name(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.name(input.into()); diff --git a/sdk/glue/src/operation/update_classifier/builders.rs b/sdk/glue/src/operation/update_classifier/builders.rs index 3b6dc39b1f27..81ad7ac24da5 100644 --- a/sdk/glue/src/operation/update_classifier/builders.rs +++ b/sdk/glue/src/operation/update_classifier/builders.rs @@ -19,9 +19,9 @@ impl UpdateClassifierFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl UpdateClassifierFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::update_classifier::UpdateClassifier, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::update_classifier::UpdateClassifierError, + >, + > { + self.customize_middleware().await + } ///

                                                                                        A GrokClassifier object with updated fields.

                                                                                        pub fn grok_classifier(mut self, input: crate::types::UpdateGrokClassifierRequest) -> Self { self.inner = self.inner.grok_classifier(input); diff --git a/sdk/glue/src/operation/update_column_statistics_for_partition/builders.rs b/sdk/glue/src/operation/update_column_statistics_for_partition/builders.rs index 55cd855142f5..8455f7a3a58e 100644 --- a/sdk/glue/src/operation/update_column_statistics_for_partition/builders.rs +++ b/sdk/glue/src/operation/update_column_statistics_for_partition/builders.rs @@ -20,9 +20,9 @@ impl UpdateColumnStatisticsForPartitionFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize(self) -> ::std::result::Result< + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware(self) -> ::std::result::Result< crate::client::customize::CustomizableOperation, ::aws_smithy_http::result::SdkError >{ @@ -65,6 +65,15 @@ impl UpdateColumnStatisticsForPartitionFluentBuilder { { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize(self) -> ::std::result::Result< + crate::client::customize::CustomizableOperation, + ::aws_smithy_http::result::SdkError + >{ + self.customize_middleware().await + } ///

                                                                                        The ID of the Data Catalog where the partitions in question reside. If none is supplied, the Amazon Web Services account ID is used by default.

                                                                                        pub fn catalog_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.catalog_id(input.into()); diff --git a/sdk/glue/src/operation/update_column_statistics_for_table/builders.rs b/sdk/glue/src/operation/update_column_statistics_for_table/builders.rs index 8b4e7cd93a26..a0c45f0447de 100644 --- a/sdk/glue/src/operation/update_column_statistics_for_table/builders.rs +++ b/sdk/glue/src/operation/update_column_statistics_for_table/builders.rs @@ -20,9 +20,9 @@ impl UpdateColumnStatisticsForTableFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize(self) -> ::std::result::Result< + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware(self) -> ::std::result::Result< crate::client::customize::CustomizableOperation, ::aws_smithy_http::result::SdkError >{ @@ -65,6 +65,15 @@ impl UpdateColumnStatisticsForTableFluentBuilder { { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize(self) -> ::std::result::Result< + crate::client::customize::CustomizableOperation, + ::aws_smithy_http::result::SdkError + >{ + self.customize_middleware().await + } ///

                                                                                        The ID of the Data Catalog where the partitions in question reside. If none is supplied, the Amazon Web Services account ID is used by default.

                                                                                        pub fn catalog_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.catalog_id(input.into()); diff --git a/sdk/glue/src/operation/update_connection/builders.rs b/sdk/glue/src/operation/update_connection/builders.rs index 7e1f8f28657a..fe002f3e6a15 100644 --- a/sdk/glue/src/operation/update_connection/builders.rs +++ b/sdk/glue/src/operation/update_connection/builders.rs @@ -19,9 +19,9 @@ impl UpdateConnectionFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl UpdateConnectionFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::update_connection::UpdateConnection, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::update_connection::UpdateConnectionError, + >, + > { + self.customize_middleware().await + } ///

                                                                                        The ID of the Data Catalog in which the connection resides. If none is provided, the Amazon Web Services account ID is used by default.

                                                                                        pub fn catalog_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.catalog_id(input.into()); diff --git a/sdk/glue/src/operation/update_crawler/builders.rs b/sdk/glue/src/operation/update_crawler/builders.rs index da81021bc415..9c1405957dfd 100644 --- a/sdk/glue/src/operation/update_crawler/builders.rs +++ b/sdk/glue/src/operation/update_crawler/builders.rs @@ -19,9 +19,9 @@ impl UpdateCrawlerFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl UpdateCrawlerFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::update_crawler::UpdateCrawler, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                                        Name of the new crawler.

                                                                                        pub fn name(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.name(input.into()); diff --git a/sdk/glue/src/operation/update_crawler_schedule/builders.rs b/sdk/glue/src/operation/update_crawler_schedule/builders.rs index 4dca7eecf436..1171ec1af738 100644 --- a/sdk/glue/src/operation/update_crawler_schedule/builders.rs +++ b/sdk/glue/src/operation/update_crawler_schedule/builders.rs @@ -19,9 +19,9 @@ impl UpdateCrawlerScheduleFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl UpdateCrawlerScheduleFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::update_crawler_schedule::UpdateCrawlerSchedule, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::update_crawler_schedule::UpdateCrawlerScheduleError, + >, + > { + self.customize_middleware().await + } ///

                                                                                        The name of the crawler whose schedule to update.

                                                                                        pub fn crawler_name(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.crawler_name(input.into()); diff --git a/sdk/glue/src/operation/update_data_quality_ruleset/builders.rs b/sdk/glue/src/operation/update_data_quality_ruleset/builders.rs index 9ff1359a6337..0aeb0832b3bd 100644 --- a/sdk/glue/src/operation/update_data_quality_ruleset/builders.rs +++ b/sdk/glue/src/operation/update_data_quality_ruleset/builders.rs @@ -19,9 +19,9 @@ impl UpdateDataQualityRulesetFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl UpdateDataQualityRulesetFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::update_data_quality_ruleset::UpdateDataQualityRuleset, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::update_data_quality_ruleset::UpdateDataQualityRulesetError, + >, + > { + self.customize_middleware().await + } ///

                                                                                        The name of the data quality ruleset.

                                                                                        pub fn name(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.name(input.into()); diff --git a/sdk/glue/src/operation/update_database/builders.rs b/sdk/glue/src/operation/update_database/builders.rs index 6fdbd213cfcb..4b1960bdbdae 100644 --- a/sdk/glue/src/operation/update_database/builders.rs +++ b/sdk/glue/src/operation/update_database/builders.rs @@ -19,9 +19,9 @@ impl UpdateDatabaseFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl UpdateDatabaseFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::update_database::UpdateDatabase, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                                        The ID of the Data Catalog in which the metadata database resides. If none is provided, the Amazon Web Services account ID is used by default.

                                                                                        pub fn catalog_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.catalog_id(input.into()); diff --git a/sdk/glue/src/operation/update_dev_endpoint/builders.rs b/sdk/glue/src/operation/update_dev_endpoint/builders.rs index d507d23ab6c4..e4c3cd547a96 100644 --- a/sdk/glue/src/operation/update_dev_endpoint/builders.rs +++ b/sdk/glue/src/operation/update_dev_endpoint/builders.rs @@ -19,9 +19,9 @@ impl UpdateDevEndpointFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl UpdateDevEndpointFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::update_dev_endpoint::UpdateDevEndpoint, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::update_dev_endpoint::UpdateDevEndpointError, + >, + > { + self.customize_middleware().await + } ///

                                                                                        The name of the DevEndpoint to be updated.

                                                                                        pub fn endpoint_name( mut self, diff --git a/sdk/glue/src/operation/update_job/builders.rs b/sdk/glue/src/operation/update_job/builders.rs index fe5fe53ff936..bd8129bbd895 100644 --- a/sdk/glue/src/operation/update_job/builders.rs +++ b/sdk/glue/src/operation/update_job/builders.rs @@ -19,9 +19,9 @@ impl UpdateJobFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl UpdateJobFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::update_job::UpdateJob, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                                        The name of the job definition to update.

                                                                                        pub fn job_name(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.job_name(input.into()); diff --git a/sdk/glue/src/operation/update_job_from_source_control/builders.rs b/sdk/glue/src/operation/update_job_from_source_control/builders.rs index 43f729176064..dedf3ad4dc4c 100644 --- a/sdk/glue/src/operation/update_job_from_source_control/builders.rs +++ b/sdk/glue/src/operation/update_job_from_source_control/builders.rs @@ -20,9 +20,9 @@ impl UpdateJobFromSourceControlFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -84,6 +84,22 @@ impl UpdateJobFromSourceControlFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::update_job_from_source_control::UpdateJobFromSourceControl, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::update_job_from_source_control::UpdateJobFromSourceControlError, + >, + > { + self.customize_middleware().await + } ///

                                                                                        The name of the Glue job to be synchronized to or from the remote repository.

                                                                                        pub fn job_name(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.job_name(input.into()); diff --git a/sdk/glue/src/operation/update_ml_transform/builders.rs b/sdk/glue/src/operation/update_ml_transform/builders.rs index 8f218ce77216..d665e562b78c 100644 --- a/sdk/glue/src/operation/update_ml_transform/builders.rs +++ b/sdk/glue/src/operation/update_ml_transform/builders.rs @@ -20,9 +20,9 @@ impl UpdateMLTransformFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -84,6 +84,22 @@ impl UpdateMLTransformFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::update_ml_transform::UpdateMLTransform, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::update_ml_transform::UpdateMLTransformError, + >, + > { + self.customize_middleware().await + } ///

                                                                                        A unique identifier that was generated when the transform was created.

                                                                                        pub fn transform_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.transform_id(input.into()); diff --git a/sdk/glue/src/operation/update_partition/builders.rs b/sdk/glue/src/operation/update_partition/builders.rs index 492f1fcaaeb9..e0acaa3f049f 100644 --- a/sdk/glue/src/operation/update_partition/builders.rs +++ b/sdk/glue/src/operation/update_partition/builders.rs @@ -19,9 +19,9 @@ impl UpdatePartitionFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl UpdatePartitionFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::update_partition::UpdatePartition, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::update_partition::UpdatePartitionError, + >, + > { + self.customize_middleware().await + } ///

                                                                                        The ID of the Data Catalog where the partition to be updated resides. If none is provided, the Amazon Web Services account ID is used by default.

                                                                                        pub fn catalog_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.catalog_id(input.into()); diff --git a/sdk/glue/src/operation/update_registry/builders.rs b/sdk/glue/src/operation/update_registry/builders.rs index bdbc5b7981d4..247110ca1e6a 100644 --- a/sdk/glue/src/operation/update_registry/builders.rs +++ b/sdk/glue/src/operation/update_registry/builders.rs @@ -19,9 +19,9 @@ impl UpdateRegistryFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl UpdateRegistryFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::update_registry::UpdateRegistry, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                                        This is a wrapper structure that may contain the registry name and Amazon Resource Name (ARN).

                                                                                        pub fn registry_id(mut self, input: crate::types::RegistryId) -> Self { self.inner = self.inner.registry_id(input); diff --git a/sdk/glue/src/operation/update_schema/builders.rs b/sdk/glue/src/operation/update_schema/builders.rs index 57caf5a12ba6..471e9a0c7f3b 100644 --- a/sdk/glue/src/operation/update_schema/builders.rs +++ b/sdk/glue/src/operation/update_schema/builders.rs @@ -22,9 +22,9 @@ impl UpdateSchemaFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -80,6 +80,20 @@ impl UpdateSchemaFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::update_schema::UpdateSchema, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                                        This is a wrapper structure to contain schema identity fields. The structure contains:

                                                                                        ///
                                                                                          ///
                                                                                        • SchemaId$SchemaArn: The Amazon Resource Name (ARN) of the schema. One of SchemaArn or SchemaName has to be provided.

                                                                                        • diff --git a/sdk/glue/src/operation/update_source_control_from_job/builders.rs b/sdk/glue/src/operation/update_source_control_from_job/builders.rs index 9d1e2119fd1c..ea1013166f94 100644 --- a/sdk/glue/src/operation/update_source_control_from_job/builders.rs +++ b/sdk/glue/src/operation/update_source_control_from_job/builders.rs @@ -20,9 +20,9 @@ impl UpdateSourceControlFromJobFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -84,6 +84,22 @@ impl UpdateSourceControlFromJobFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::update_source_control_from_job::UpdateSourceControlFromJob, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::update_source_control_from_job::UpdateSourceControlFromJobError, + >, + > { + self.customize_middleware().await + } ///

                                                                                          The name of the Glue job to be synchronized to or from the remote repository.

                                                                                          pub fn job_name(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.job_name(input.into()); diff --git a/sdk/glue/src/operation/update_table/builders.rs b/sdk/glue/src/operation/update_table/builders.rs index 283a97b95625..69015f217f10 100644 --- a/sdk/glue/src/operation/update_table/builders.rs +++ b/sdk/glue/src/operation/update_table/builders.rs @@ -19,9 +19,9 @@ impl UpdateTableFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl UpdateTableFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::update_table::UpdateTable, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                                          The ID of the Data Catalog where the table resides. If none is provided, the Amazon Web Services account ID is used by default.

                                                                                          pub fn catalog_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.catalog_id(input.into()); diff --git a/sdk/glue/src/operation/update_trigger/builders.rs b/sdk/glue/src/operation/update_trigger/builders.rs index 942111183513..213d8cba285c 100644 --- a/sdk/glue/src/operation/update_trigger/builders.rs +++ b/sdk/glue/src/operation/update_trigger/builders.rs @@ -19,9 +19,9 @@ impl UpdateTriggerFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl UpdateTriggerFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::update_trigger::UpdateTrigger, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                                          The name of the trigger to update.

                                                                                          pub fn name(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.name(input.into()); diff --git a/sdk/glue/src/operation/update_user_defined_function/builders.rs b/sdk/glue/src/operation/update_user_defined_function/builders.rs index 80681a55e711..507ff253278b 100644 --- a/sdk/glue/src/operation/update_user_defined_function/builders.rs +++ b/sdk/glue/src/operation/update_user_defined_function/builders.rs @@ -19,9 +19,9 @@ impl UpdateUserDefinedFunctionFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl UpdateUserDefinedFunctionFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::update_user_defined_function::UpdateUserDefinedFunction, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::update_user_defined_function::UpdateUserDefinedFunctionError, + >, + > { + self.customize_middleware().await + } ///

                                                                                          The ID of the Data Catalog where the function to be updated is located. If none is provided, the Amazon Web Services account ID is used by default.

                                                                                          pub fn catalog_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.catalog_id(input.into()); diff --git a/sdk/glue/src/operation/update_workflow/builders.rs b/sdk/glue/src/operation/update_workflow/builders.rs index 0a4b6ab6b103..5d2edfc4a6af 100644 --- a/sdk/glue/src/operation/update_workflow/builders.rs +++ b/sdk/glue/src/operation/update_workflow/builders.rs @@ -19,9 +19,9 @@ impl UpdateWorkflowFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl UpdateWorkflowFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::update_workflow::UpdateWorkflow, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                                          Name of the workflow to be updated.

                                                                                          pub fn name(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.name(input.into()); diff --git a/sdk/grafana/src/operation/associate_license/builders.rs b/sdk/grafana/src/operation/associate_license/builders.rs index 823154f9d639..69dc04a57ebf 100644 --- a/sdk/grafana/src/operation/associate_license/builders.rs +++ b/sdk/grafana/src/operation/associate_license/builders.rs @@ -19,9 +19,9 @@ impl AssociateLicenseFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl AssociateLicenseFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::associate_license::AssociateLicense, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::associate_license::AssociateLicenseError, + >, + > { + self.customize_middleware().await + } ///

                                                                                          The ID of the workspace to associate the license with.

                                                                                          pub fn workspace_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.workspace_id(input.into()); diff --git a/sdk/grafana/src/operation/create_workspace/builders.rs b/sdk/grafana/src/operation/create_workspace/builders.rs index 573418f4b82d..357ced8e1b58 100644 --- a/sdk/grafana/src/operation/create_workspace/builders.rs +++ b/sdk/grafana/src/operation/create_workspace/builders.rs @@ -20,9 +20,9 @@ impl CreateWorkspaceFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -84,6 +84,22 @@ impl CreateWorkspaceFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::create_workspace::CreateWorkspace, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::create_workspace::CreateWorkspaceError, + >, + > { + self.customize_middleware().await + } ///

                                                                                          Specifies whether the workspace can access Amazon Web Services resources in this Amazon Web Services account only, or whether it can also access Amazon Web Services resources in other accounts in the same organization. If you specify ORGANIZATION, you must specify which organizational units the workspace can access in the workspaceOrganizationalUnits parameter.

                                                                                          pub fn account_access_type(mut self, input: crate::types::AccountAccessType) -> Self { self.inner = self.inner.account_access_type(input); diff --git a/sdk/grafana/src/operation/create_workspace_api_key/builders.rs b/sdk/grafana/src/operation/create_workspace_api_key/builders.rs index 2bc9801848db..e3f19533bd91 100644 --- a/sdk/grafana/src/operation/create_workspace_api_key/builders.rs +++ b/sdk/grafana/src/operation/create_workspace_api_key/builders.rs @@ -19,9 +19,9 @@ impl CreateWorkspaceApiKeyFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl CreateWorkspaceApiKeyFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::create_workspace_api_key::CreateWorkspaceApiKey, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::create_workspace_api_key::CreateWorkspaceApiKeyError, + >, + > { + self.customize_middleware().await + } ///

                                                                                          Specifies the name of the key. Keynames must be unique to the workspace.

                                                                                          pub fn key_name(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.key_name(input.into()); diff --git a/sdk/grafana/src/operation/delete_workspace/builders.rs b/sdk/grafana/src/operation/delete_workspace/builders.rs index 03e585c5ec87..1bad964c4225 100644 --- a/sdk/grafana/src/operation/delete_workspace/builders.rs +++ b/sdk/grafana/src/operation/delete_workspace/builders.rs @@ -19,9 +19,9 @@ impl DeleteWorkspaceFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl DeleteWorkspaceFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::delete_workspace::DeleteWorkspace, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::delete_workspace::DeleteWorkspaceError, + >, + > { + self.customize_middleware().await + } ///

                                                                                          The ID of the workspace to delete.

                                                                                          pub fn workspace_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.workspace_id(input.into()); diff --git a/sdk/grafana/src/operation/delete_workspace_api_key/builders.rs b/sdk/grafana/src/operation/delete_workspace_api_key/builders.rs index 91113878c64e..694ccf9fd837 100644 --- a/sdk/grafana/src/operation/delete_workspace_api_key/builders.rs +++ b/sdk/grafana/src/operation/delete_workspace_api_key/builders.rs @@ -19,9 +19,9 @@ impl DeleteWorkspaceApiKeyFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl DeleteWorkspaceApiKeyFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::delete_workspace_api_key::DeleteWorkspaceApiKey, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::delete_workspace_api_key::DeleteWorkspaceApiKeyError, + >, + > { + self.customize_middleware().await + } ///

                                                                                          The name of the API key to delete.

                                                                                          pub fn key_name(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.key_name(input.into()); diff --git a/sdk/grafana/src/operation/describe_workspace/builders.rs b/sdk/grafana/src/operation/describe_workspace/builders.rs index 10723698c91c..bcdf1cc0fa33 100644 --- a/sdk/grafana/src/operation/describe_workspace/builders.rs +++ b/sdk/grafana/src/operation/describe_workspace/builders.rs @@ -19,9 +19,9 @@ impl DescribeWorkspaceFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl DescribeWorkspaceFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::describe_workspace::DescribeWorkspace, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::describe_workspace::DescribeWorkspaceError, + >, + > { + self.customize_middleware().await + } ///

                                                                                          The ID of the workspace to display information about.

                                                                                          pub fn workspace_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.workspace_id(input.into()); diff --git a/sdk/grafana/src/operation/describe_workspace_authentication/builders.rs b/sdk/grafana/src/operation/describe_workspace_authentication/builders.rs index b656e16d485a..8b5c25b97a71 100644 --- a/sdk/grafana/src/operation/describe_workspace_authentication/builders.rs +++ b/sdk/grafana/src/operation/describe_workspace_authentication/builders.rs @@ -19,9 +19,9 @@ impl DescribeWorkspaceAuthenticationFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize(self) -> ::std::result::Result< + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware(self) -> ::std::result::Result< crate::client::customize::CustomizableOperation, ::aws_smithy_http::result::SdkError >{ @@ -64,6 +64,15 @@ impl DescribeWorkspaceAuthenticationFluentBuilder { { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize(self) -> ::std::result::Result< + crate::client::customize::CustomizableOperation, + ::aws_smithy_http::result::SdkError + >{ + self.customize_middleware().await + } ///

                                                                                          The ID of the workspace to return authentication information about.

                                                                                          pub fn workspace_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.workspace_id(input.into()); diff --git a/sdk/grafana/src/operation/describe_workspace_configuration/builders.rs b/sdk/grafana/src/operation/describe_workspace_configuration/builders.rs index 8548a8930b17..7928012c5dcc 100644 --- a/sdk/grafana/src/operation/describe_workspace_configuration/builders.rs +++ b/sdk/grafana/src/operation/describe_workspace_configuration/builders.rs @@ -19,9 +19,9 @@ impl DescribeWorkspaceConfigurationFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl DescribeWorkspaceConfigurationFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::describe_workspace_configuration::DescribeWorkspaceConfiguration, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::describe_workspace_configuration::DescribeWorkspaceConfigurationError, + >, + > { + self.customize_middleware().await + } ///

                                                                                          The ID of the workspace to get configuration information for.

                                                                                          pub fn workspace_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.workspace_id(input.into()); diff --git a/sdk/grafana/src/operation/disassociate_license/builders.rs b/sdk/grafana/src/operation/disassociate_license/builders.rs index c80cb5212ff4..bd8be5c41268 100644 --- a/sdk/grafana/src/operation/disassociate_license/builders.rs +++ b/sdk/grafana/src/operation/disassociate_license/builders.rs @@ -19,9 +19,9 @@ impl DisassociateLicenseFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl DisassociateLicenseFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::disassociate_license::DisassociateLicense, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::disassociate_license::DisassociateLicenseError, + >, + > { + self.customize_middleware().await + } ///

                                                                                          The ID of the workspace to remove the Grafana Enterprise license from.

                                                                                          pub fn workspace_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.workspace_id(input.into()); diff --git a/sdk/grafana/src/operation/list_permissions/builders.rs b/sdk/grafana/src/operation/list_permissions/builders.rs index 8cdd9b4791ad..82eb8c530784 100644 --- a/sdk/grafana/src/operation/list_permissions/builders.rs +++ b/sdk/grafana/src/operation/list_permissions/builders.rs @@ -19,9 +19,9 @@ impl ListPermissionsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl ListPermissionsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_permissions::ListPermissions, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::list_permissions::ListPermissionsError, + >, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::list_permissions::paginator::ListPermissionsPaginator::send) which returns a `Stream`. diff --git a/sdk/grafana/src/operation/list_tags_for_resource/builders.rs b/sdk/grafana/src/operation/list_tags_for_resource/builders.rs index ca2e1d31a418..96043900e4ef 100644 --- a/sdk/grafana/src/operation/list_tags_for_resource/builders.rs +++ b/sdk/grafana/src/operation/list_tags_for_resource/builders.rs @@ -19,9 +19,9 @@ impl ListTagsForResourceFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl ListTagsForResourceFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_tags_for_resource::ListTagsForResource, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::list_tags_for_resource::ListTagsForResourceError, + >, + > { + self.customize_middleware().await + } ///

                                                                                          The ARN of the resource the list of tags are associated with.

                                                                                          pub fn resource_arn(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.resource_arn(input.into()); diff --git a/sdk/grafana/src/operation/list_workspaces/builders.rs b/sdk/grafana/src/operation/list_workspaces/builders.rs index 067b615853dd..d0949fe9b3c9 100644 --- a/sdk/grafana/src/operation/list_workspaces/builders.rs +++ b/sdk/grafana/src/operation/list_workspaces/builders.rs @@ -19,9 +19,9 @@ impl ListWorkspacesFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl ListWorkspacesFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_workspaces::ListWorkspaces, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::list_workspaces::paginator::ListWorkspacesPaginator::send) which returns a `Stream`. diff --git a/sdk/grafana/src/operation/tag_resource/builders.rs b/sdk/grafana/src/operation/tag_resource/builders.rs index 329f2f4aabe3..ee15a78ec9c7 100644 --- a/sdk/grafana/src/operation/tag_resource/builders.rs +++ b/sdk/grafana/src/operation/tag_resource/builders.rs @@ -20,9 +20,9 @@ impl TagResourceFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -78,6 +78,20 @@ impl TagResourceFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::tag_resource::TagResource, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                                          The ARN of the resource the tag is associated with.

                                                                                          pub fn resource_arn(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.resource_arn(input.into()); diff --git a/sdk/grafana/src/operation/untag_resource/builders.rs b/sdk/grafana/src/operation/untag_resource/builders.rs index 6cdee1e0377c..8f162e0fe7f9 100644 --- a/sdk/grafana/src/operation/untag_resource/builders.rs +++ b/sdk/grafana/src/operation/untag_resource/builders.rs @@ -19,9 +19,9 @@ impl UntagResourceFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl UntagResourceFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::untag_resource::UntagResource, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                                          The ARN of the resource the tag association is removed from.

                                                                                          pub fn resource_arn(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.resource_arn(input.into()); diff --git a/sdk/grafana/src/operation/update_permissions/builders.rs b/sdk/grafana/src/operation/update_permissions/builders.rs index 012b6238247d..6b5112835d99 100644 --- a/sdk/grafana/src/operation/update_permissions/builders.rs +++ b/sdk/grafana/src/operation/update_permissions/builders.rs @@ -19,9 +19,9 @@ impl UpdatePermissionsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl UpdatePermissionsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::update_permissions::UpdatePermissions, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::update_permissions::UpdatePermissionsError, + >, + > { + self.customize_middleware().await + } /// Appends an item to `updateInstructionBatch`. /// /// To override the contents of this collection use [`set_update_instruction_batch`](Self::set_update_instruction_batch). diff --git a/sdk/grafana/src/operation/update_workspace/builders.rs b/sdk/grafana/src/operation/update_workspace/builders.rs index 8301c6a951fc..0e1eaf180d09 100644 --- a/sdk/grafana/src/operation/update_workspace/builders.rs +++ b/sdk/grafana/src/operation/update_workspace/builders.rs @@ -21,9 +21,9 @@ impl UpdateWorkspaceFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -85,6 +85,22 @@ impl UpdateWorkspaceFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::update_workspace::UpdateWorkspace, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::update_workspace::UpdateWorkspaceError, + >, + > { + self.customize_middleware().await + } ///

                                                                                          Specifies whether the workspace can access Amazon Web Services resources in this Amazon Web Services account only, or whether it can also access Amazon Web Services resources in other accounts in the same organization. If you specify ORGANIZATION, you must specify which organizational units the workspace can access in the workspaceOrganizationalUnits parameter.

                                                                                          pub fn account_access_type(mut self, input: crate::types::AccountAccessType) -> Self { self.inner = self.inner.account_access_type(input); diff --git a/sdk/grafana/src/operation/update_workspace_authentication/builders.rs b/sdk/grafana/src/operation/update_workspace_authentication/builders.rs index 6ebd0bdb9dbb..d44f678c3d9e 100644 --- a/sdk/grafana/src/operation/update_workspace_authentication/builders.rs +++ b/sdk/grafana/src/operation/update_workspace_authentication/builders.rs @@ -21,9 +21,9 @@ impl UpdateWorkspaceAuthenticationFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -85,6 +85,22 @@ impl UpdateWorkspaceAuthenticationFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::update_workspace_authentication::UpdateWorkspaceAuthentication, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::update_workspace_authentication::UpdateWorkspaceAuthenticationError, + >, + > { + self.customize_middleware().await + } ///

                                                                                          The ID of the workspace to update the authentication for.

                                                                                          pub fn workspace_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.workspace_id(input.into()); diff --git a/sdk/grafana/src/operation/update_workspace_configuration/builders.rs b/sdk/grafana/src/operation/update_workspace_configuration/builders.rs index 50e23c13d538..422c29f8d9ae 100644 --- a/sdk/grafana/src/operation/update_workspace_configuration/builders.rs +++ b/sdk/grafana/src/operation/update_workspace_configuration/builders.rs @@ -19,9 +19,9 @@ impl UpdateWorkspaceConfigurationFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl UpdateWorkspaceConfigurationFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::update_workspace_configuration::UpdateWorkspaceConfiguration, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::update_workspace_configuration::UpdateWorkspaceConfigurationError, + >, + > { + self.customize_middleware().await + } ///

                                                                                          The new configuration string for the workspace. For more information about the format and configuration options available, see Working in your Grafana workspace.

                                                                                          pub fn configuration( mut self, diff --git a/sdk/greengrass/src/operation/associate_role_to_group/builders.rs b/sdk/greengrass/src/operation/associate_role_to_group/builders.rs index 443d89504660..91e69aa92995 100644 --- a/sdk/greengrass/src/operation/associate_role_to_group/builders.rs +++ b/sdk/greengrass/src/operation/associate_role_to_group/builders.rs @@ -19,9 +19,9 @@ impl AssociateRoleToGroupFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl AssociateRoleToGroupFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::associate_role_to_group::AssociateRoleToGroup, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::associate_role_to_group::AssociateRoleToGroupError, + >, + > { + self.customize_middleware().await + } /// The ID of the Greengrass group. pub fn group_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.group_id(input.into()); diff --git a/sdk/greengrass/src/operation/associate_service_role_to_account/builders.rs b/sdk/greengrass/src/operation/associate_service_role_to_account/builders.rs index ab0e82e04303..603c7ead4838 100644 --- a/sdk/greengrass/src/operation/associate_service_role_to_account/builders.rs +++ b/sdk/greengrass/src/operation/associate_service_role_to_account/builders.rs @@ -19,9 +19,9 @@ impl AssociateServiceRoleToAccountFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl AssociateServiceRoleToAccountFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::associate_service_role_to_account::AssociateServiceRoleToAccount, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::associate_service_role_to_account::AssociateServiceRoleToAccountError, + >, + > { + self.customize_middleware().await + } /// The ARN of the service role you wish to associate with your account. pub fn role_arn(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.role_arn(input.into()); diff --git a/sdk/greengrass/src/operation/create_connector_definition/builders.rs b/sdk/greengrass/src/operation/create_connector_definition/builders.rs index 86d85b07a8a4..ce2b241a5328 100644 --- a/sdk/greengrass/src/operation/create_connector_definition/builders.rs +++ b/sdk/greengrass/src/operation/create_connector_definition/builders.rs @@ -19,9 +19,9 @@ impl CreateConnectorDefinitionFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl CreateConnectorDefinitionFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::create_connector_definition::CreateConnectorDefinition, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::create_connector_definition::CreateConnectorDefinitionError, + >, + > { + self.customize_middleware().await + } /// A client token used to correlate requests and responses. pub fn amzn_client_token( mut self, diff --git a/sdk/greengrass/src/operation/create_connector_definition_version/builders.rs b/sdk/greengrass/src/operation/create_connector_definition_version/builders.rs index 1719184693e8..8a22fb5257bd 100644 --- a/sdk/greengrass/src/operation/create_connector_definition_version/builders.rs +++ b/sdk/greengrass/src/operation/create_connector_definition_version/builders.rs @@ -19,9 +19,9 @@ impl CreateConnectorDefinitionVersionFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize(self) -> ::std::result::Result< + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware(self) -> ::std::result::Result< crate::client::customize::CustomizableOperation, ::aws_smithy_http::result::SdkError >{ @@ -64,6 +64,15 @@ impl CreateConnectorDefinitionVersionFluentBuilder { { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize(self) -> ::std::result::Result< + crate::client::customize::CustomizableOperation, + ::aws_smithy_http::result::SdkError + >{ + self.customize_middleware().await + } /// A client token used to correlate requests and responses. pub fn amzn_client_token( mut self, diff --git a/sdk/greengrass/src/operation/create_core_definition/builders.rs b/sdk/greengrass/src/operation/create_core_definition/builders.rs index cf3307c2baae..b99f407d6602 100644 --- a/sdk/greengrass/src/operation/create_core_definition/builders.rs +++ b/sdk/greengrass/src/operation/create_core_definition/builders.rs @@ -19,9 +19,9 @@ impl CreateCoreDefinitionFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl CreateCoreDefinitionFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::create_core_definition::CreateCoreDefinition, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::create_core_definition::CreateCoreDefinitionError, + >, + > { + self.customize_middleware().await + } /// A client token used to correlate requests and responses. pub fn amzn_client_token( mut self, diff --git a/sdk/greengrass/src/operation/create_core_definition_version/builders.rs b/sdk/greengrass/src/operation/create_core_definition_version/builders.rs index c35863f06950..d75e0c88f990 100644 --- a/sdk/greengrass/src/operation/create_core_definition_version/builders.rs +++ b/sdk/greengrass/src/operation/create_core_definition_version/builders.rs @@ -19,9 +19,9 @@ impl CreateCoreDefinitionVersionFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl CreateCoreDefinitionVersionFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::create_core_definition_version::CreateCoreDefinitionVersion, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::create_core_definition_version::CreateCoreDefinitionVersionError, + >, + > { + self.customize_middleware().await + } /// A client token used to correlate requests and responses. pub fn amzn_client_token( mut self, diff --git a/sdk/greengrass/src/operation/create_deployment/builders.rs b/sdk/greengrass/src/operation/create_deployment/builders.rs index 0face3fce929..f4f82af79486 100644 --- a/sdk/greengrass/src/operation/create_deployment/builders.rs +++ b/sdk/greengrass/src/operation/create_deployment/builders.rs @@ -19,9 +19,9 @@ impl CreateDeploymentFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl CreateDeploymentFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::create_deployment::CreateDeployment, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::create_deployment::CreateDeploymentError, + >, + > { + self.customize_middleware().await + } /// A client token used to correlate requests and responses. pub fn amzn_client_token( mut self, diff --git a/sdk/greengrass/src/operation/create_device_definition/builders.rs b/sdk/greengrass/src/operation/create_device_definition/builders.rs index 649fb4fda2e2..89b2b49516b0 100644 --- a/sdk/greengrass/src/operation/create_device_definition/builders.rs +++ b/sdk/greengrass/src/operation/create_device_definition/builders.rs @@ -19,9 +19,9 @@ impl CreateDeviceDefinitionFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl CreateDeviceDefinitionFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::create_device_definition::CreateDeviceDefinition, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::create_device_definition::CreateDeviceDefinitionError, + >, + > { + self.customize_middleware().await + } /// A client token used to correlate requests and responses. pub fn amzn_client_token( mut self, diff --git a/sdk/greengrass/src/operation/create_device_definition_version/builders.rs b/sdk/greengrass/src/operation/create_device_definition_version/builders.rs index efc0a25011e8..4cbe91d56691 100644 --- a/sdk/greengrass/src/operation/create_device_definition_version/builders.rs +++ b/sdk/greengrass/src/operation/create_device_definition_version/builders.rs @@ -19,9 +19,9 @@ impl CreateDeviceDefinitionVersionFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl CreateDeviceDefinitionVersionFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::create_device_definition_version::CreateDeviceDefinitionVersion, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::create_device_definition_version::CreateDeviceDefinitionVersionError, + >, + > { + self.customize_middleware().await + } /// A client token used to correlate requests and responses. pub fn amzn_client_token( mut self, diff --git a/sdk/greengrass/src/operation/create_function_definition/builders.rs b/sdk/greengrass/src/operation/create_function_definition/builders.rs index 1a383b8ef6dd..5566bfdda5bc 100644 --- a/sdk/greengrass/src/operation/create_function_definition/builders.rs +++ b/sdk/greengrass/src/operation/create_function_definition/builders.rs @@ -19,9 +19,9 @@ impl CreateFunctionDefinitionFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl CreateFunctionDefinitionFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::create_function_definition::CreateFunctionDefinition, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::create_function_definition::CreateFunctionDefinitionError, + >, + > { + self.customize_middleware().await + } /// A client token used to correlate requests and responses. pub fn amzn_client_token( mut self, diff --git a/sdk/greengrass/src/operation/create_function_definition_version/builders.rs b/sdk/greengrass/src/operation/create_function_definition_version/builders.rs index c240549db4d4..4133b212ab7b 100644 --- a/sdk/greengrass/src/operation/create_function_definition_version/builders.rs +++ b/sdk/greengrass/src/operation/create_function_definition_version/builders.rs @@ -19,9 +19,9 @@ impl CreateFunctionDefinitionVersionFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize(self) -> ::std::result::Result< + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware(self) -> ::std::result::Result< crate::client::customize::CustomizableOperation, ::aws_smithy_http::result::SdkError >{ @@ -64,6 +64,15 @@ impl CreateFunctionDefinitionVersionFluentBuilder { { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize(self) -> ::std::result::Result< + crate::client::customize::CustomizableOperation, + ::aws_smithy_http::result::SdkError + >{ + self.customize_middleware().await + } /// A client token used to correlate requests and responses. pub fn amzn_client_token( mut self, diff --git a/sdk/greengrass/src/operation/create_group/builders.rs b/sdk/greengrass/src/operation/create_group/builders.rs index a764dfb51db8..382b1d9fc9d6 100644 --- a/sdk/greengrass/src/operation/create_group/builders.rs +++ b/sdk/greengrass/src/operation/create_group/builders.rs @@ -19,9 +19,9 @@ impl CreateGroupFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl CreateGroupFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::create_group::CreateGroup, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } /// A client token used to correlate requests and responses. pub fn amzn_client_token( mut self, diff --git a/sdk/greengrass/src/operation/create_group_certificate_authority/builders.rs b/sdk/greengrass/src/operation/create_group_certificate_authority/builders.rs index a38fbbc3598e..1f831992597e 100644 --- a/sdk/greengrass/src/operation/create_group_certificate_authority/builders.rs +++ b/sdk/greengrass/src/operation/create_group_certificate_authority/builders.rs @@ -19,9 +19,9 @@ impl CreateGroupCertificateAuthorityFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize(self) -> ::std::result::Result< + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware(self) -> ::std::result::Result< crate::client::customize::CustomizableOperation, ::aws_smithy_http::result::SdkError >{ @@ -64,6 +64,15 @@ impl CreateGroupCertificateAuthorityFluentBuilder { { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize(self) -> ::std::result::Result< + crate::client::customize::CustomizableOperation, + ::aws_smithy_http::result::SdkError + >{ + self.customize_middleware().await + } /// A client token used to correlate requests and responses. pub fn amzn_client_token( mut self, diff --git a/sdk/greengrass/src/operation/create_group_version/builders.rs b/sdk/greengrass/src/operation/create_group_version/builders.rs index 9c8b1141068b..b382ade444f3 100644 --- a/sdk/greengrass/src/operation/create_group_version/builders.rs +++ b/sdk/greengrass/src/operation/create_group_version/builders.rs @@ -19,9 +19,9 @@ impl CreateGroupVersionFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl CreateGroupVersionFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::create_group_version::CreateGroupVersion, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::create_group_version::CreateGroupVersionError, + >, + > { + self.customize_middleware().await + } /// A client token used to correlate requests and responses. pub fn amzn_client_token( mut self, diff --git a/sdk/greengrass/src/operation/create_logger_definition/builders.rs b/sdk/greengrass/src/operation/create_logger_definition/builders.rs index fd29a7525285..764e8f250899 100644 --- a/sdk/greengrass/src/operation/create_logger_definition/builders.rs +++ b/sdk/greengrass/src/operation/create_logger_definition/builders.rs @@ -19,9 +19,9 @@ impl CreateLoggerDefinitionFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl CreateLoggerDefinitionFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::create_logger_definition::CreateLoggerDefinition, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::create_logger_definition::CreateLoggerDefinitionError, + >, + > { + self.customize_middleware().await + } /// A client token used to correlate requests and responses. pub fn amzn_client_token( mut self, diff --git a/sdk/greengrass/src/operation/create_logger_definition_version/builders.rs b/sdk/greengrass/src/operation/create_logger_definition_version/builders.rs index 9ed5be24b67a..5af47c9a37f1 100644 --- a/sdk/greengrass/src/operation/create_logger_definition_version/builders.rs +++ b/sdk/greengrass/src/operation/create_logger_definition_version/builders.rs @@ -19,9 +19,9 @@ impl CreateLoggerDefinitionVersionFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl CreateLoggerDefinitionVersionFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::create_logger_definition_version::CreateLoggerDefinitionVersion, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::create_logger_definition_version::CreateLoggerDefinitionVersionError, + >, + > { + self.customize_middleware().await + } /// A client token used to correlate requests and responses. pub fn amzn_client_token( mut self, diff --git a/sdk/greengrass/src/operation/create_resource_definition/builders.rs b/sdk/greengrass/src/operation/create_resource_definition/builders.rs index 938f0d173439..091dd4d7221f 100644 --- a/sdk/greengrass/src/operation/create_resource_definition/builders.rs +++ b/sdk/greengrass/src/operation/create_resource_definition/builders.rs @@ -19,9 +19,9 @@ impl CreateResourceDefinitionFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl CreateResourceDefinitionFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::create_resource_definition::CreateResourceDefinition, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::create_resource_definition::CreateResourceDefinitionError, + >, + > { + self.customize_middleware().await + } /// A client token used to correlate requests and responses. pub fn amzn_client_token( mut self, diff --git a/sdk/greengrass/src/operation/create_resource_definition_version/builders.rs b/sdk/greengrass/src/operation/create_resource_definition_version/builders.rs index c17d66c28daa..9483cddab300 100644 --- a/sdk/greengrass/src/operation/create_resource_definition_version/builders.rs +++ b/sdk/greengrass/src/operation/create_resource_definition_version/builders.rs @@ -19,9 +19,9 @@ impl CreateResourceDefinitionVersionFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize(self) -> ::std::result::Result< + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware(self) -> ::std::result::Result< crate::client::customize::CustomizableOperation, ::aws_smithy_http::result::SdkError >{ @@ -64,6 +64,15 @@ impl CreateResourceDefinitionVersionFluentBuilder { { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize(self) -> ::std::result::Result< + crate::client::customize::CustomizableOperation, + ::aws_smithy_http::result::SdkError + >{ + self.customize_middleware().await + } /// A client token used to correlate requests and responses. pub fn amzn_client_token( mut self, diff --git a/sdk/greengrass/src/operation/create_software_update_job/builders.rs b/sdk/greengrass/src/operation/create_software_update_job/builders.rs index caf3e85181a9..be88075922e0 100644 --- a/sdk/greengrass/src/operation/create_software_update_job/builders.rs +++ b/sdk/greengrass/src/operation/create_software_update_job/builders.rs @@ -20,9 +20,9 @@ impl CreateSoftwareUpdateJobFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -84,6 +84,22 @@ impl CreateSoftwareUpdateJobFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::create_software_update_job::CreateSoftwareUpdateJob, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::create_software_update_job::CreateSoftwareUpdateJobError, + >, + > { + self.customize_middleware().await + } /// A client token used to correlate requests and responses. pub fn amzn_client_token( mut self, diff --git a/sdk/greengrass/src/operation/create_subscription_definition/builders.rs b/sdk/greengrass/src/operation/create_subscription_definition/builders.rs index 1b781ec5be7b..1cb6561a44c9 100644 --- a/sdk/greengrass/src/operation/create_subscription_definition/builders.rs +++ b/sdk/greengrass/src/operation/create_subscription_definition/builders.rs @@ -19,9 +19,9 @@ impl CreateSubscriptionDefinitionFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl CreateSubscriptionDefinitionFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::create_subscription_definition::CreateSubscriptionDefinition, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::create_subscription_definition::CreateSubscriptionDefinitionError, + >, + > { + self.customize_middleware().await + } /// A client token used to correlate requests and responses. pub fn amzn_client_token( mut self, diff --git a/sdk/greengrass/src/operation/create_subscription_definition_version/builders.rs b/sdk/greengrass/src/operation/create_subscription_definition_version/builders.rs index 751382f2ca0d..2fc181ca4b35 100644 --- a/sdk/greengrass/src/operation/create_subscription_definition_version/builders.rs +++ b/sdk/greengrass/src/operation/create_subscription_definition_version/builders.rs @@ -19,9 +19,9 @@ impl CreateSubscriptionDefinitionVersionFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize(self) -> ::std::result::Result< + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware(self) -> ::std::result::Result< crate::client::customize::CustomizableOperation, ::aws_smithy_http::result::SdkError >{ @@ -64,6 +64,15 @@ impl CreateSubscriptionDefinitionVersionFluentBuilder { { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize(self) -> ::std::result::Result< + crate::client::customize::CustomizableOperation, + ::aws_smithy_http::result::SdkError + >{ + self.customize_middleware().await + } /// A client token used to correlate requests and responses. pub fn amzn_client_token( mut self, diff --git a/sdk/greengrass/src/operation/delete_connector_definition/builders.rs b/sdk/greengrass/src/operation/delete_connector_definition/builders.rs index d3aed647875b..fa383cc04a49 100644 --- a/sdk/greengrass/src/operation/delete_connector_definition/builders.rs +++ b/sdk/greengrass/src/operation/delete_connector_definition/builders.rs @@ -19,9 +19,9 @@ impl DeleteConnectorDefinitionFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl DeleteConnectorDefinitionFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::delete_connector_definition::DeleteConnectorDefinition, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::delete_connector_definition::DeleteConnectorDefinitionError, + >, + > { + self.customize_middleware().await + } /// The ID of the connector definition. pub fn connector_definition_id( mut self, diff --git a/sdk/greengrass/src/operation/delete_core_definition/builders.rs b/sdk/greengrass/src/operation/delete_core_definition/builders.rs index 6180138421b4..e291c707732b 100644 --- a/sdk/greengrass/src/operation/delete_core_definition/builders.rs +++ b/sdk/greengrass/src/operation/delete_core_definition/builders.rs @@ -19,9 +19,9 @@ impl DeleteCoreDefinitionFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl DeleteCoreDefinitionFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::delete_core_definition::DeleteCoreDefinition, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::delete_core_definition::DeleteCoreDefinitionError, + >, + > { + self.customize_middleware().await + } /// The ID of the core definition. pub fn core_definition_id( mut self, diff --git a/sdk/greengrass/src/operation/delete_device_definition/builders.rs b/sdk/greengrass/src/operation/delete_device_definition/builders.rs index e24982c68965..0df2969250c8 100644 --- a/sdk/greengrass/src/operation/delete_device_definition/builders.rs +++ b/sdk/greengrass/src/operation/delete_device_definition/builders.rs @@ -19,9 +19,9 @@ impl DeleteDeviceDefinitionFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl DeleteDeviceDefinitionFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::delete_device_definition::DeleteDeviceDefinition, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::delete_device_definition::DeleteDeviceDefinitionError, + >, + > { + self.customize_middleware().await + } /// The ID of the device definition. pub fn device_definition_id( mut self, diff --git a/sdk/greengrass/src/operation/delete_function_definition/builders.rs b/sdk/greengrass/src/operation/delete_function_definition/builders.rs index 163e4227aa8e..12dcb640bfaf 100644 --- a/sdk/greengrass/src/operation/delete_function_definition/builders.rs +++ b/sdk/greengrass/src/operation/delete_function_definition/builders.rs @@ -19,9 +19,9 @@ impl DeleteFunctionDefinitionFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl DeleteFunctionDefinitionFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::delete_function_definition::DeleteFunctionDefinition, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::delete_function_definition::DeleteFunctionDefinitionError, + >, + > { + self.customize_middleware().await + } /// The ID of the Lambda function definition. pub fn function_definition_id( mut self, diff --git a/sdk/greengrass/src/operation/delete_group/builders.rs b/sdk/greengrass/src/operation/delete_group/builders.rs index a83ac9ed87d3..04e333a379d1 100644 --- a/sdk/greengrass/src/operation/delete_group/builders.rs +++ b/sdk/greengrass/src/operation/delete_group/builders.rs @@ -19,9 +19,9 @@ impl DeleteGroupFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl DeleteGroupFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::delete_group::DeleteGroup, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } /// The ID of the Greengrass group. pub fn group_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.group_id(input.into()); diff --git a/sdk/greengrass/src/operation/delete_logger_definition/builders.rs b/sdk/greengrass/src/operation/delete_logger_definition/builders.rs index 507ec4011202..fe3ecd594a9d 100644 --- a/sdk/greengrass/src/operation/delete_logger_definition/builders.rs +++ b/sdk/greengrass/src/operation/delete_logger_definition/builders.rs @@ -19,9 +19,9 @@ impl DeleteLoggerDefinitionFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl DeleteLoggerDefinitionFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::delete_logger_definition::DeleteLoggerDefinition, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::delete_logger_definition::DeleteLoggerDefinitionError, + >, + > { + self.customize_middleware().await + } /// The ID of the logger definition. pub fn logger_definition_id( mut self, diff --git a/sdk/greengrass/src/operation/delete_resource_definition/builders.rs b/sdk/greengrass/src/operation/delete_resource_definition/builders.rs index 739184674d59..43a9c89213a1 100644 --- a/sdk/greengrass/src/operation/delete_resource_definition/builders.rs +++ b/sdk/greengrass/src/operation/delete_resource_definition/builders.rs @@ -19,9 +19,9 @@ impl DeleteResourceDefinitionFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl DeleteResourceDefinitionFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::delete_resource_definition::DeleteResourceDefinition, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::delete_resource_definition::DeleteResourceDefinitionError, + >, + > { + self.customize_middleware().await + } /// The ID of the resource definition. pub fn resource_definition_id( mut self, diff --git a/sdk/greengrass/src/operation/delete_subscription_definition/builders.rs b/sdk/greengrass/src/operation/delete_subscription_definition/builders.rs index 5081381568f0..f2dc4618b9a8 100644 --- a/sdk/greengrass/src/operation/delete_subscription_definition/builders.rs +++ b/sdk/greengrass/src/operation/delete_subscription_definition/builders.rs @@ -19,9 +19,9 @@ impl DeleteSubscriptionDefinitionFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl DeleteSubscriptionDefinitionFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::delete_subscription_definition::DeleteSubscriptionDefinition, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::delete_subscription_definition::DeleteSubscriptionDefinitionError, + >, + > { + self.customize_middleware().await + } /// The ID of the subscription definition. pub fn subscription_definition_id( mut self, diff --git a/sdk/greengrass/src/operation/disassociate_role_from_group/builders.rs b/sdk/greengrass/src/operation/disassociate_role_from_group/builders.rs index e69018104253..f3fc655e3d90 100644 --- a/sdk/greengrass/src/operation/disassociate_role_from_group/builders.rs +++ b/sdk/greengrass/src/operation/disassociate_role_from_group/builders.rs @@ -19,9 +19,9 @@ impl DisassociateRoleFromGroupFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl DisassociateRoleFromGroupFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::disassociate_role_from_group::DisassociateRoleFromGroup, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::disassociate_role_from_group::DisassociateRoleFromGroupError, + >, + > { + self.customize_middleware().await + } /// The ID of the Greengrass group. pub fn group_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.group_id(input.into()); diff --git a/sdk/greengrass/src/operation/disassociate_service_role_from_account/builders.rs b/sdk/greengrass/src/operation/disassociate_service_role_from_account/builders.rs index d49186fde5be..8942e9d2a1f3 100644 --- a/sdk/greengrass/src/operation/disassociate_service_role_from_account/builders.rs +++ b/sdk/greengrass/src/operation/disassociate_service_role_from_account/builders.rs @@ -19,9 +19,9 @@ impl DisassociateServiceRoleFromAccountFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize(self) -> ::std::result::Result< + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware(self) -> ::std::result::Result< crate::client::customize::CustomizableOperation, ::aws_smithy_http::result::SdkError >{ @@ -64,4 +64,13 @@ impl DisassociateServiceRoleFromAccountFluentBuilder { { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize(self) -> ::std::result::Result< + crate::client::customize::CustomizableOperation, + ::aws_smithy_http::result::SdkError + >{ + self.customize_middleware().await + } } diff --git a/sdk/greengrass/src/operation/get_associated_role/builders.rs b/sdk/greengrass/src/operation/get_associated_role/builders.rs index 717d437c4839..d82aa1430447 100644 --- a/sdk/greengrass/src/operation/get_associated_role/builders.rs +++ b/sdk/greengrass/src/operation/get_associated_role/builders.rs @@ -19,9 +19,9 @@ impl GetAssociatedRoleFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl GetAssociatedRoleFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::get_associated_role::GetAssociatedRole, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::get_associated_role::GetAssociatedRoleError, + >, + > { + self.customize_middleware().await + } /// The ID of the Greengrass group. pub fn group_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.group_id(input.into()); diff --git a/sdk/greengrass/src/operation/get_bulk_deployment_status/builders.rs b/sdk/greengrass/src/operation/get_bulk_deployment_status/builders.rs index 2c672e10766c..57b6adf6a98d 100644 --- a/sdk/greengrass/src/operation/get_bulk_deployment_status/builders.rs +++ b/sdk/greengrass/src/operation/get_bulk_deployment_status/builders.rs @@ -20,9 +20,9 @@ impl GetBulkDeploymentStatusFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -84,6 +84,22 @@ impl GetBulkDeploymentStatusFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::get_bulk_deployment_status::GetBulkDeploymentStatus, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::get_bulk_deployment_status::GetBulkDeploymentStatusError, + >, + > { + self.customize_middleware().await + } /// The ID of the bulk deployment. pub fn bulk_deployment_id( mut self, diff --git a/sdk/greengrass/src/operation/get_connectivity_info/builders.rs b/sdk/greengrass/src/operation/get_connectivity_info/builders.rs index df094e074607..92ac29d0517a 100644 --- a/sdk/greengrass/src/operation/get_connectivity_info/builders.rs +++ b/sdk/greengrass/src/operation/get_connectivity_info/builders.rs @@ -19,9 +19,9 @@ impl GetConnectivityInfoFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl GetConnectivityInfoFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::get_connectivity_info::GetConnectivityInfo, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::get_connectivity_info::GetConnectivityInfoError, + >, + > { + self.customize_middleware().await + } /// The thing name. pub fn thing_name(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.thing_name(input.into()); diff --git a/sdk/greengrass/src/operation/get_connector_definition/builders.rs b/sdk/greengrass/src/operation/get_connector_definition/builders.rs index aa7a1a54d447..dfb4b0a3d540 100644 --- a/sdk/greengrass/src/operation/get_connector_definition/builders.rs +++ b/sdk/greengrass/src/operation/get_connector_definition/builders.rs @@ -19,9 +19,9 @@ impl GetConnectorDefinitionFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl GetConnectorDefinitionFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::get_connector_definition::GetConnectorDefinition, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::get_connector_definition::GetConnectorDefinitionError, + >, + > { + self.customize_middleware().await + } /// The ID of the connector definition. pub fn connector_definition_id( mut self, diff --git a/sdk/greengrass/src/operation/get_connector_definition_version/builders.rs b/sdk/greengrass/src/operation/get_connector_definition_version/builders.rs index 8b0499f45862..ded0848d5c3e 100644 --- a/sdk/greengrass/src/operation/get_connector_definition_version/builders.rs +++ b/sdk/greengrass/src/operation/get_connector_definition_version/builders.rs @@ -19,9 +19,9 @@ impl GetConnectorDefinitionVersionFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl GetConnectorDefinitionVersionFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::get_connector_definition_version::GetConnectorDefinitionVersion, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::get_connector_definition_version::GetConnectorDefinitionVersionError, + >, + > { + self.customize_middleware().await + } /// The ID of the connector definition. pub fn connector_definition_id( mut self, diff --git a/sdk/greengrass/src/operation/get_core_definition/builders.rs b/sdk/greengrass/src/operation/get_core_definition/builders.rs index 38f9de8faaae..d00836c25235 100644 --- a/sdk/greengrass/src/operation/get_core_definition/builders.rs +++ b/sdk/greengrass/src/operation/get_core_definition/builders.rs @@ -19,9 +19,9 @@ impl GetCoreDefinitionFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl GetCoreDefinitionFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::get_core_definition::GetCoreDefinition, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::get_core_definition::GetCoreDefinitionError, + >, + > { + self.customize_middleware().await + } /// The ID of the core definition. pub fn core_definition_id( mut self, diff --git a/sdk/greengrass/src/operation/get_core_definition_version/builders.rs b/sdk/greengrass/src/operation/get_core_definition_version/builders.rs index e2e5ad4c8542..b398b9bd8af7 100644 --- a/sdk/greengrass/src/operation/get_core_definition_version/builders.rs +++ b/sdk/greengrass/src/operation/get_core_definition_version/builders.rs @@ -19,9 +19,9 @@ impl GetCoreDefinitionVersionFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl GetCoreDefinitionVersionFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::get_core_definition_version::GetCoreDefinitionVersion, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::get_core_definition_version::GetCoreDefinitionVersionError, + >, + > { + self.customize_middleware().await + } /// The ID of the core definition. pub fn core_definition_id( mut self, diff --git a/sdk/greengrass/src/operation/get_deployment_status/builders.rs b/sdk/greengrass/src/operation/get_deployment_status/builders.rs index 12a9f61239f8..d121499fdd82 100644 --- a/sdk/greengrass/src/operation/get_deployment_status/builders.rs +++ b/sdk/greengrass/src/operation/get_deployment_status/builders.rs @@ -19,9 +19,9 @@ impl GetDeploymentStatusFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl GetDeploymentStatusFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::get_deployment_status::GetDeploymentStatus, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::get_deployment_status::GetDeploymentStatusError, + >, + > { + self.customize_middleware().await + } /// The ID of the deployment. pub fn deployment_id( mut self, diff --git a/sdk/greengrass/src/operation/get_device_definition/builders.rs b/sdk/greengrass/src/operation/get_device_definition/builders.rs index 0eaa43be9aca..8e87e5193a2d 100644 --- a/sdk/greengrass/src/operation/get_device_definition/builders.rs +++ b/sdk/greengrass/src/operation/get_device_definition/builders.rs @@ -19,9 +19,9 @@ impl GetDeviceDefinitionFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl GetDeviceDefinitionFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::get_device_definition::GetDeviceDefinition, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::get_device_definition::GetDeviceDefinitionError, + >, + > { + self.customize_middleware().await + } /// The ID of the device definition. pub fn device_definition_id( mut self, diff --git a/sdk/greengrass/src/operation/get_device_definition_version/builders.rs b/sdk/greengrass/src/operation/get_device_definition_version/builders.rs index 45ea66775535..a537d6c44bcf 100644 --- a/sdk/greengrass/src/operation/get_device_definition_version/builders.rs +++ b/sdk/greengrass/src/operation/get_device_definition_version/builders.rs @@ -19,9 +19,9 @@ impl GetDeviceDefinitionVersionFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl GetDeviceDefinitionVersionFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::get_device_definition_version::GetDeviceDefinitionVersion, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::get_device_definition_version::GetDeviceDefinitionVersionError, + >, + > { + self.customize_middleware().await + } /// The ID of the device definition. pub fn device_definition_id( mut self, diff --git a/sdk/greengrass/src/operation/get_function_definition/builders.rs b/sdk/greengrass/src/operation/get_function_definition/builders.rs index 92ce56e19f43..01b78be4fed6 100644 --- a/sdk/greengrass/src/operation/get_function_definition/builders.rs +++ b/sdk/greengrass/src/operation/get_function_definition/builders.rs @@ -19,9 +19,9 @@ impl GetFunctionDefinitionFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl GetFunctionDefinitionFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::get_function_definition::GetFunctionDefinition, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::get_function_definition::GetFunctionDefinitionError, + >, + > { + self.customize_middleware().await + } /// The ID of the Lambda function definition. pub fn function_definition_id( mut self, diff --git a/sdk/greengrass/src/operation/get_function_definition_version/builders.rs b/sdk/greengrass/src/operation/get_function_definition_version/builders.rs index acd49ed82165..d4819de499e6 100644 --- a/sdk/greengrass/src/operation/get_function_definition_version/builders.rs +++ b/sdk/greengrass/src/operation/get_function_definition_version/builders.rs @@ -19,9 +19,9 @@ impl GetFunctionDefinitionVersionFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl GetFunctionDefinitionVersionFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::get_function_definition_version::GetFunctionDefinitionVersion, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::get_function_definition_version::GetFunctionDefinitionVersionError, + >, + > { + self.customize_middleware().await + } /// The ID of the Lambda function definition. pub fn function_definition_id( mut self, diff --git a/sdk/greengrass/src/operation/get_group/builders.rs b/sdk/greengrass/src/operation/get_group/builders.rs index 4b1ee5771eaa..e381c961b818 100644 --- a/sdk/greengrass/src/operation/get_group/builders.rs +++ b/sdk/greengrass/src/operation/get_group/builders.rs @@ -19,9 +19,9 @@ impl GetGroupFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl GetGroupFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::get_group::GetGroup, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } /// The ID of the Greengrass group. pub fn group_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.group_id(input.into()); diff --git a/sdk/greengrass/src/operation/get_group_certificate_authority/builders.rs b/sdk/greengrass/src/operation/get_group_certificate_authority/builders.rs index 3d551d86b803..a621553b23ff 100644 --- a/sdk/greengrass/src/operation/get_group_certificate_authority/builders.rs +++ b/sdk/greengrass/src/operation/get_group_certificate_authority/builders.rs @@ -19,9 +19,9 @@ impl GetGroupCertificateAuthorityFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl GetGroupCertificateAuthorityFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::get_group_certificate_authority::GetGroupCertificateAuthority, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::get_group_certificate_authority::GetGroupCertificateAuthorityError, + >, + > { + self.customize_middleware().await + } /// The ID of the certificate authority. pub fn certificate_authority_id( mut self, diff --git a/sdk/greengrass/src/operation/get_group_certificate_configuration/builders.rs b/sdk/greengrass/src/operation/get_group_certificate_configuration/builders.rs index 9990e77e013e..0366d4ec1ad7 100644 --- a/sdk/greengrass/src/operation/get_group_certificate_configuration/builders.rs +++ b/sdk/greengrass/src/operation/get_group_certificate_configuration/builders.rs @@ -19,9 +19,9 @@ impl GetGroupCertificateConfigurationFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize(self) -> ::std::result::Result< + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware(self) -> ::std::result::Result< crate::client::customize::CustomizableOperation, ::aws_smithy_http::result::SdkError >{ @@ -64,6 +64,15 @@ impl GetGroupCertificateConfigurationFluentBuilder { { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize(self) -> ::std::result::Result< + crate::client::customize::CustomizableOperation, + ::aws_smithy_http::result::SdkError + >{ + self.customize_middleware().await + } /// The ID of the Greengrass group. pub fn group_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.group_id(input.into()); diff --git a/sdk/greengrass/src/operation/get_group_version/builders.rs b/sdk/greengrass/src/operation/get_group_version/builders.rs index c24f956636be..a3ae007da88d 100644 --- a/sdk/greengrass/src/operation/get_group_version/builders.rs +++ b/sdk/greengrass/src/operation/get_group_version/builders.rs @@ -19,9 +19,9 @@ impl GetGroupVersionFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl GetGroupVersionFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::get_group_version::GetGroupVersion, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::get_group_version::GetGroupVersionError, + >, + > { + self.customize_middleware().await + } /// The ID of the Greengrass group. pub fn group_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.group_id(input.into()); diff --git a/sdk/greengrass/src/operation/get_logger_definition/builders.rs b/sdk/greengrass/src/operation/get_logger_definition/builders.rs index cab9cd300d96..7d259662cdd6 100644 --- a/sdk/greengrass/src/operation/get_logger_definition/builders.rs +++ b/sdk/greengrass/src/operation/get_logger_definition/builders.rs @@ -19,9 +19,9 @@ impl GetLoggerDefinitionFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl GetLoggerDefinitionFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::get_logger_definition::GetLoggerDefinition, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::get_logger_definition::GetLoggerDefinitionError, + >, + > { + self.customize_middleware().await + } /// The ID of the logger definition. pub fn logger_definition_id( mut self, diff --git a/sdk/greengrass/src/operation/get_logger_definition_version/builders.rs b/sdk/greengrass/src/operation/get_logger_definition_version/builders.rs index 31f8a4374050..1520824dc37b 100644 --- a/sdk/greengrass/src/operation/get_logger_definition_version/builders.rs +++ b/sdk/greengrass/src/operation/get_logger_definition_version/builders.rs @@ -19,9 +19,9 @@ impl GetLoggerDefinitionVersionFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl GetLoggerDefinitionVersionFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::get_logger_definition_version::GetLoggerDefinitionVersion, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::get_logger_definition_version::GetLoggerDefinitionVersionError, + >, + > { + self.customize_middleware().await + } /// The ID of the logger definition. pub fn logger_definition_id( mut self, diff --git a/sdk/greengrass/src/operation/get_resource_definition/builders.rs b/sdk/greengrass/src/operation/get_resource_definition/builders.rs index a7ce8ba691fa..e31721720790 100644 --- a/sdk/greengrass/src/operation/get_resource_definition/builders.rs +++ b/sdk/greengrass/src/operation/get_resource_definition/builders.rs @@ -19,9 +19,9 @@ impl GetResourceDefinitionFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl GetResourceDefinitionFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::get_resource_definition::GetResourceDefinition, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::get_resource_definition::GetResourceDefinitionError, + >, + > { + self.customize_middleware().await + } /// The ID of the resource definition. pub fn resource_definition_id( mut self, diff --git a/sdk/greengrass/src/operation/get_resource_definition_version/builders.rs b/sdk/greengrass/src/operation/get_resource_definition_version/builders.rs index bfd3c9f84241..3ac6e453d9d6 100644 --- a/sdk/greengrass/src/operation/get_resource_definition_version/builders.rs +++ b/sdk/greengrass/src/operation/get_resource_definition_version/builders.rs @@ -19,9 +19,9 @@ impl GetResourceDefinitionVersionFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl GetResourceDefinitionVersionFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::get_resource_definition_version::GetResourceDefinitionVersion, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::get_resource_definition_version::GetResourceDefinitionVersionError, + >, + > { + self.customize_middleware().await + } /// The ID of the resource definition. pub fn resource_definition_id( mut self, diff --git a/sdk/greengrass/src/operation/get_service_role_for_account/builders.rs b/sdk/greengrass/src/operation/get_service_role_for_account/builders.rs index a6313ce8c06b..b53fa5286d00 100644 --- a/sdk/greengrass/src/operation/get_service_role_for_account/builders.rs +++ b/sdk/greengrass/src/operation/get_service_role_for_account/builders.rs @@ -19,9 +19,9 @@ impl GetServiceRoleForAccountFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,4 +83,20 @@ impl GetServiceRoleForAccountFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::get_service_role_for_account::GetServiceRoleForAccount, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::get_service_role_for_account::GetServiceRoleForAccountError, + >, + > { + self.customize_middleware().await + } } diff --git a/sdk/greengrass/src/operation/get_subscription_definition/builders.rs b/sdk/greengrass/src/operation/get_subscription_definition/builders.rs index 9ebb9648df5b..59c06e432e92 100644 --- a/sdk/greengrass/src/operation/get_subscription_definition/builders.rs +++ b/sdk/greengrass/src/operation/get_subscription_definition/builders.rs @@ -19,9 +19,9 @@ impl GetSubscriptionDefinitionFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl GetSubscriptionDefinitionFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::get_subscription_definition::GetSubscriptionDefinition, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::get_subscription_definition::GetSubscriptionDefinitionError, + >, + > { + self.customize_middleware().await + } /// The ID of the subscription definition. pub fn subscription_definition_id( mut self, diff --git a/sdk/greengrass/src/operation/get_subscription_definition_version/builders.rs b/sdk/greengrass/src/operation/get_subscription_definition_version/builders.rs index b1d6558d707b..92dcde056ac2 100644 --- a/sdk/greengrass/src/operation/get_subscription_definition_version/builders.rs +++ b/sdk/greengrass/src/operation/get_subscription_definition_version/builders.rs @@ -19,9 +19,9 @@ impl GetSubscriptionDefinitionVersionFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize(self) -> ::std::result::Result< + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware(self) -> ::std::result::Result< crate::client::customize::CustomizableOperation, ::aws_smithy_http::result::SdkError >{ @@ -64,6 +64,15 @@ impl GetSubscriptionDefinitionVersionFluentBuilder { { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize(self) -> ::std::result::Result< + crate::client::customize::CustomizableOperation, + ::aws_smithy_http::result::SdkError + >{ + self.customize_middleware().await + } /// The token for the next set of results, or ''null'' if there are no additional results. pub fn next_token(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.next_token(input.into()); diff --git a/sdk/greengrass/src/operation/get_thing_runtime_configuration/builders.rs b/sdk/greengrass/src/operation/get_thing_runtime_configuration/builders.rs index 9e47e3bb270b..d371c1c44efd 100644 --- a/sdk/greengrass/src/operation/get_thing_runtime_configuration/builders.rs +++ b/sdk/greengrass/src/operation/get_thing_runtime_configuration/builders.rs @@ -19,9 +19,9 @@ impl GetThingRuntimeConfigurationFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl GetThingRuntimeConfigurationFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::get_thing_runtime_configuration::GetThingRuntimeConfiguration, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::get_thing_runtime_configuration::GetThingRuntimeConfigurationError, + >, + > { + self.customize_middleware().await + } /// The thing name. pub fn thing_name(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.thing_name(input.into()); diff --git a/sdk/greengrass/src/operation/list_bulk_deployment_detailed_reports/builders.rs b/sdk/greengrass/src/operation/list_bulk_deployment_detailed_reports/builders.rs index 49974fe4e2a9..f49212550381 100644 --- a/sdk/greengrass/src/operation/list_bulk_deployment_detailed_reports/builders.rs +++ b/sdk/greengrass/src/operation/list_bulk_deployment_detailed_reports/builders.rs @@ -19,9 +19,9 @@ impl ListBulkDeploymentDetailedReportsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize(self) -> ::std::result::Result< + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware(self) -> ::std::result::Result< crate::client::customize::CustomizableOperation, ::aws_smithy_http::result::SdkError >{ @@ -64,6 +64,15 @@ impl ListBulkDeploymentDetailedReportsFluentBuilder { { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize(self) -> ::std::result::Result< + crate::client::customize::CustomizableOperation, + ::aws_smithy_http::result::SdkError + >{ + self.customize_middleware().await + } /// The ID of the bulk deployment. pub fn bulk_deployment_id( mut self, diff --git a/sdk/greengrass/src/operation/list_bulk_deployments/builders.rs b/sdk/greengrass/src/operation/list_bulk_deployments/builders.rs index f5c20effd9f7..e511c1d886cb 100644 --- a/sdk/greengrass/src/operation/list_bulk_deployments/builders.rs +++ b/sdk/greengrass/src/operation/list_bulk_deployments/builders.rs @@ -19,9 +19,9 @@ impl ListBulkDeploymentsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl ListBulkDeploymentsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_bulk_deployments::ListBulkDeployments, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::list_bulk_deployments::ListBulkDeploymentsError, + >, + > { + self.customize_middleware().await + } /// The maximum number of results to be returned per request. pub fn max_results(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.max_results(input.into()); diff --git a/sdk/greengrass/src/operation/list_connector_definition_versions/builders.rs b/sdk/greengrass/src/operation/list_connector_definition_versions/builders.rs index cf28f555562c..97538ca0fab8 100644 --- a/sdk/greengrass/src/operation/list_connector_definition_versions/builders.rs +++ b/sdk/greengrass/src/operation/list_connector_definition_versions/builders.rs @@ -19,9 +19,9 @@ impl ListConnectorDefinitionVersionsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize(self) -> ::std::result::Result< + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware(self) -> ::std::result::Result< crate::client::customize::CustomizableOperation, ::aws_smithy_http::result::SdkError >{ @@ -64,6 +64,15 @@ impl ListConnectorDefinitionVersionsFluentBuilder { { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize(self) -> ::std::result::Result< + crate::client::customize::CustomizableOperation, + ::aws_smithy_http::result::SdkError + >{ + self.customize_middleware().await + } /// The ID of the connector definition. pub fn connector_definition_id( mut self, diff --git a/sdk/greengrass/src/operation/list_connector_definitions/builders.rs b/sdk/greengrass/src/operation/list_connector_definitions/builders.rs index 05f3e28a4e4f..c3a441fd5b9c 100644 --- a/sdk/greengrass/src/operation/list_connector_definitions/builders.rs +++ b/sdk/greengrass/src/operation/list_connector_definitions/builders.rs @@ -19,9 +19,9 @@ impl ListConnectorDefinitionsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl ListConnectorDefinitionsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_connector_definitions::ListConnectorDefinitions, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::list_connector_definitions::ListConnectorDefinitionsError, + >, + > { + self.customize_middleware().await + } /// The maximum number of results to be returned per request. pub fn max_results(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.max_results(input.into()); diff --git a/sdk/greengrass/src/operation/list_core_definition_versions/builders.rs b/sdk/greengrass/src/operation/list_core_definition_versions/builders.rs index 01bd3578d35b..5031a3b1cdd8 100644 --- a/sdk/greengrass/src/operation/list_core_definition_versions/builders.rs +++ b/sdk/greengrass/src/operation/list_core_definition_versions/builders.rs @@ -19,9 +19,9 @@ impl ListCoreDefinitionVersionsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl ListCoreDefinitionVersionsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_core_definition_versions::ListCoreDefinitionVersions, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::list_core_definition_versions::ListCoreDefinitionVersionsError, + >, + > { + self.customize_middleware().await + } /// The ID of the core definition. pub fn core_definition_id( mut self, diff --git a/sdk/greengrass/src/operation/list_core_definitions/builders.rs b/sdk/greengrass/src/operation/list_core_definitions/builders.rs index e9e4b6c6e3a7..2ea39a9e5a34 100644 --- a/sdk/greengrass/src/operation/list_core_definitions/builders.rs +++ b/sdk/greengrass/src/operation/list_core_definitions/builders.rs @@ -19,9 +19,9 @@ impl ListCoreDefinitionsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl ListCoreDefinitionsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_core_definitions::ListCoreDefinitions, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::list_core_definitions::ListCoreDefinitionsError, + >, + > { + self.customize_middleware().await + } /// The maximum number of results to be returned per request. pub fn max_results(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.max_results(input.into()); diff --git a/sdk/greengrass/src/operation/list_deployments/builders.rs b/sdk/greengrass/src/operation/list_deployments/builders.rs index d1d9b5b83059..6fdf1085d047 100644 --- a/sdk/greengrass/src/operation/list_deployments/builders.rs +++ b/sdk/greengrass/src/operation/list_deployments/builders.rs @@ -19,9 +19,9 @@ impl ListDeploymentsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl ListDeploymentsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_deployments::ListDeployments, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::list_deployments::ListDeploymentsError, + >, + > { + self.customize_middleware().await + } /// The ID of the Greengrass group. pub fn group_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.group_id(input.into()); diff --git a/sdk/greengrass/src/operation/list_device_definition_versions/builders.rs b/sdk/greengrass/src/operation/list_device_definition_versions/builders.rs index c6bb264962e0..3fa504ac7504 100644 --- a/sdk/greengrass/src/operation/list_device_definition_versions/builders.rs +++ b/sdk/greengrass/src/operation/list_device_definition_versions/builders.rs @@ -19,9 +19,9 @@ impl ListDeviceDefinitionVersionsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl ListDeviceDefinitionVersionsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_device_definition_versions::ListDeviceDefinitionVersions, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::list_device_definition_versions::ListDeviceDefinitionVersionsError, + >, + > { + self.customize_middleware().await + } /// The ID of the device definition. pub fn device_definition_id( mut self, diff --git a/sdk/greengrass/src/operation/list_device_definitions/builders.rs b/sdk/greengrass/src/operation/list_device_definitions/builders.rs index fc04b30454f3..6581f70a661c 100644 --- a/sdk/greengrass/src/operation/list_device_definitions/builders.rs +++ b/sdk/greengrass/src/operation/list_device_definitions/builders.rs @@ -19,9 +19,9 @@ impl ListDeviceDefinitionsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl ListDeviceDefinitionsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_device_definitions::ListDeviceDefinitions, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::list_device_definitions::ListDeviceDefinitionsError, + >, + > { + self.customize_middleware().await + } /// The maximum number of results to be returned per request. pub fn max_results(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.max_results(input.into()); diff --git a/sdk/greengrass/src/operation/list_function_definition_versions/builders.rs b/sdk/greengrass/src/operation/list_function_definition_versions/builders.rs index 61bff754b785..f2b09095381e 100644 --- a/sdk/greengrass/src/operation/list_function_definition_versions/builders.rs +++ b/sdk/greengrass/src/operation/list_function_definition_versions/builders.rs @@ -19,9 +19,9 @@ impl ListFunctionDefinitionVersionsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize(self) -> ::std::result::Result< + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware(self) -> ::std::result::Result< crate::client::customize::CustomizableOperation, ::aws_smithy_http::result::SdkError >{ @@ -64,6 +64,15 @@ impl ListFunctionDefinitionVersionsFluentBuilder { { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize(self) -> ::std::result::Result< + crate::client::customize::CustomizableOperation, + ::aws_smithy_http::result::SdkError + >{ + self.customize_middleware().await + } /// The ID of the Lambda function definition. pub fn function_definition_id( mut self, diff --git a/sdk/greengrass/src/operation/list_function_definitions/builders.rs b/sdk/greengrass/src/operation/list_function_definitions/builders.rs index 7e30c37b63a7..8ad327d602fd 100644 --- a/sdk/greengrass/src/operation/list_function_definitions/builders.rs +++ b/sdk/greengrass/src/operation/list_function_definitions/builders.rs @@ -20,9 +20,9 @@ impl ListFunctionDefinitionsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -84,6 +84,22 @@ impl ListFunctionDefinitionsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_function_definitions::ListFunctionDefinitions, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::list_function_definitions::ListFunctionDefinitionsError, + >, + > { + self.customize_middleware().await + } /// The maximum number of results to be returned per request. pub fn max_results(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.max_results(input.into()); diff --git a/sdk/greengrass/src/operation/list_group_certificate_authorities/builders.rs b/sdk/greengrass/src/operation/list_group_certificate_authorities/builders.rs index 3e5227ceb01f..3b4b0a1e32b5 100644 --- a/sdk/greengrass/src/operation/list_group_certificate_authorities/builders.rs +++ b/sdk/greengrass/src/operation/list_group_certificate_authorities/builders.rs @@ -19,9 +19,9 @@ impl ListGroupCertificateAuthoritiesFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize(self) -> ::std::result::Result< + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware(self) -> ::std::result::Result< crate::client::customize::CustomizableOperation, ::aws_smithy_http::result::SdkError >{ @@ -64,6 +64,15 @@ impl ListGroupCertificateAuthoritiesFluentBuilder { { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize(self) -> ::std::result::Result< + crate::client::customize::CustomizableOperation, + ::aws_smithy_http::result::SdkError + >{ + self.customize_middleware().await + } /// The ID of the Greengrass group. pub fn group_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.group_id(input.into()); diff --git a/sdk/greengrass/src/operation/list_group_versions/builders.rs b/sdk/greengrass/src/operation/list_group_versions/builders.rs index 9f087a5f4a48..ce6436470d5c 100644 --- a/sdk/greengrass/src/operation/list_group_versions/builders.rs +++ b/sdk/greengrass/src/operation/list_group_versions/builders.rs @@ -19,9 +19,9 @@ impl ListGroupVersionsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl ListGroupVersionsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_group_versions::ListGroupVersions, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::list_group_versions::ListGroupVersionsError, + >, + > { + self.customize_middleware().await + } /// The ID of the Greengrass group. pub fn group_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.group_id(input.into()); diff --git a/sdk/greengrass/src/operation/list_groups/builders.rs b/sdk/greengrass/src/operation/list_groups/builders.rs index d753eaaed3f6..525f0c920b9a 100644 --- a/sdk/greengrass/src/operation/list_groups/builders.rs +++ b/sdk/greengrass/src/operation/list_groups/builders.rs @@ -19,9 +19,9 @@ impl ListGroupsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl ListGroupsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_groups::ListGroups, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } /// The maximum number of results to be returned per request. pub fn max_results(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.max_results(input.into()); diff --git a/sdk/greengrass/src/operation/list_logger_definition_versions/builders.rs b/sdk/greengrass/src/operation/list_logger_definition_versions/builders.rs index d7b3ef54e036..df2f9be0da22 100644 --- a/sdk/greengrass/src/operation/list_logger_definition_versions/builders.rs +++ b/sdk/greengrass/src/operation/list_logger_definition_versions/builders.rs @@ -19,9 +19,9 @@ impl ListLoggerDefinitionVersionsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl ListLoggerDefinitionVersionsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_logger_definition_versions::ListLoggerDefinitionVersions, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::list_logger_definition_versions::ListLoggerDefinitionVersionsError, + >, + > { + self.customize_middleware().await + } /// The ID of the logger definition. pub fn logger_definition_id( mut self, diff --git a/sdk/greengrass/src/operation/list_logger_definitions/builders.rs b/sdk/greengrass/src/operation/list_logger_definitions/builders.rs index 4a7055bd1ab9..78dff4432cc4 100644 --- a/sdk/greengrass/src/operation/list_logger_definitions/builders.rs +++ b/sdk/greengrass/src/operation/list_logger_definitions/builders.rs @@ -19,9 +19,9 @@ impl ListLoggerDefinitionsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl ListLoggerDefinitionsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_logger_definitions::ListLoggerDefinitions, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::list_logger_definitions::ListLoggerDefinitionsError, + >, + > { + self.customize_middleware().await + } /// The maximum number of results to be returned per request. pub fn max_results(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.max_results(input.into()); diff --git a/sdk/greengrass/src/operation/list_resource_definition_versions/builders.rs b/sdk/greengrass/src/operation/list_resource_definition_versions/builders.rs index 3e504837392d..6177944cd6dc 100644 --- a/sdk/greengrass/src/operation/list_resource_definition_versions/builders.rs +++ b/sdk/greengrass/src/operation/list_resource_definition_versions/builders.rs @@ -19,9 +19,9 @@ impl ListResourceDefinitionVersionsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize(self) -> ::std::result::Result< + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware(self) -> ::std::result::Result< crate::client::customize::CustomizableOperation, ::aws_smithy_http::result::SdkError >{ @@ -64,6 +64,15 @@ impl ListResourceDefinitionVersionsFluentBuilder { { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize(self) -> ::std::result::Result< + crate::client::customize::CustomizableOperation, + ::aws_smithy_http::result::SdkError + >{ + self.customize_middleware().await + } /// The maximum number of results to be returned per request. pub fn max_results(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.max_results(input.into()); diff --git a/sdk/greengrass/src/operation/list_resource_definitions/builders.rs b/sdk/greengrass/src/operation/list_resource_definitions/builders.rs index 6224d8968415..822adee58705 100644 --- a/sdk/greengrass/src/operation/list_resource_definitions/builders.rs +++ b/sdk/greengrass/src/operation/list_resource_definitions/builders.rs @@ -20,9 +20,9 @@ impl ListResourceDefinitionsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -84,6 +84,22 @@ impl ListResourceDefinitionsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_resource_definitions::ListResourceDefinitions, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::list_resource_definitions::ListResourceDefinitionsError, + >, + > { + self.customize_middleware().await + } /// The maximum number of results to be returned per request. pub fn max_results(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.max_results(input.into()); diff --git a/sdk/greengrass/src/operation/list_subscription_definition_versions/builders.rs b/sdk/greengrass/src/operation/list_subscription_definition_versions/builders.rs index 01bd597997c8..dd528b38886c 100644 --- a/sdk/greengrass/src/operation/list_subscription_definition_versions/builders.rs +++ b/sdk/greengrass/src/operation/list_subscription_definition_versions/builders.rs @@ -19,9 +19,9 @@ impl ListSubscriptionDefinitionVersionsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize(self) -> ::std::result::Result< + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware(self) -> ::std::result::Result< crate::client::customize::CustomizableOperation, ::aws_smithy_http::result::SdkError >{ @@ -64,6 +64,15 @@ impl ListSubscriptionDefinitionVersionsFluentBuilder { { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize(self) -> ::std::result::Result< + crate::client::customize::CustomizableOperation, + ::aws_smithy_http::result::SdkError + >{ + self.customize_middleware().await + } /// The maximum number of results to be returned per request. pub fn max_results(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.max_results(input.into()); diff --git a/sdk/greengrass/src/operation/list_subscription_definitions/builders.rs b/sdk/greengrass/src/operation/list_subscription_definitions/builders.rs index 04268895c91c..626c0593bb29 100644 --- a/sdk/greengrass/src/operation/list_subscription_definitions/builders.rs +++ b/sdk/greengrass/src/operation/list_subscription_definitions/builders.rs @@ -19,9 +19,9 @@ impl ListSubscriptionDefinitionsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl ListSubscriptionDefinitionsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_subscription_definitions::ListSubscriptionDefinitions, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::list_subscription_definitions::ListSubscriptionDefinitionsError, + >, + > { + self.customize_middleware().await + } /// The maximum number of results to be returned per request. pub fn max_results(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.max_results(input.into()); diff --git a/sdk/greengrass/src/operation/list_tags_for_resource/builders.rs b/sdk/greengrass/src/operation/list_tags_for_resource/builders.rs index cf69d8a9463a..2f01404a58c7 100644 --- a/sdk/greengrass/src/operation/list_tags_for_resource/builders.rs +++ b/sdk/greengrass/src/operation/list_tags_for_resource/builders.rs @@ -19,9 +19,9 @@ impl ListTagsForResourceFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl ListTagsForResourceFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_tags_for_resource::ListTagsForResource, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::list_tags_for_resource::ListTagsForResourceError, + >, + > { + self.customize_middleware().await + } /// The Amazon Resource Name (ARN) of the resource. pub fn resource_arn(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.resource_arn(input.into()); diff --git a/sdk/greengrass/src/operation/reset_deployments/builders.rs b/sdk/greengrass/src/operation/reset_deployments/builders.rs index ecdda9b1fcf1..d30ea8b8f367 100644 --- a/sdk/greengrass/src/operation/reset_deployments/builders.rs +++ b/sdk/greengrass/src/operation/reset_deployments/builders.rs @@ -19,9 +19,9 @@ impl ResetDeploymentsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl ResetDeploymentsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::reset_deployments::ResetDeployments, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::reset_deployments::ResetDeploymentsError, + >, + > { + self.customize_middleware().await + } /// A client token used to correlate requests and responses. pub fn amzn_client_token( mut self, diff --git a/sdk/greengrass/src/operation/start_bulk_deployment/builders.rs b/sdk/greengrass/src/operation/start_bulk_deployment/builders.rs index 8bc4027204fa..15969d138fb9 100644 --- a/sdk/greengrass/src/operation/start_bulk_deployment/builders.rs +++ b/sdk/greengrass/src/operation/start_bulk_deployment/builders.rs @@ -19,9 +19,9 @@ impl StartBulkDeploymentFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl StartBulkDeploymentFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::start_bulk_deployment::StartBulkDeployment, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::start_bulk_deployment::StartBulkDeploymentError, + >, + > { + self.customize_middleware().await + } /// A client token used to correlate requests and responses. pub fn amzn_client_token( mut self, diff --git a/sdk/greengrass/src/operation/stop_bulk_deployment/builders.rs b/sdk/greengrass/src/operation/stop_bulk_deployment/builders.rs index e1bd32125a11..a0daa5cdf410 100644 --- a/sdk/greengrass/src/operation/stop_bulk_deployment/builders.rs +++ b/sdk/greengrass/src/operation/stop_bulk_deployment/builders.rs @@ -19,9 +19,9 @@ impl StopBulkDeploymentFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl StopBulkDeploymentFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::stop_bulk_deployment::StopBulkDeployment, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::stop_bulk_deployment::StopBulkDeploymentError, + >, + > { + self.customize_middleware().await + } /// The ID of the bulk deployment. pub fn bulk_deployment_id( mut self, diff --git a/sdk/greengrass/src/operation/tag_resource/builders.rs b/sdk/greengrass/src/operation/tag_resource/builders.rs index 48fb753b2f41..38ff986c8ccc 100644 --- a/sdk/greengrass/src/operation/tag_resource/builders.rs +++ b/sdk/greengrass/src/operation/tag_resource/builders.rs @@ -19,9 +19,9 @@ impl TagResourceFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl TagResourceFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::tag_resource::TagResource, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } /// The Amazon Resource Name (ARN) of the resource. pub fn resource_arn(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.resource_arn(input.into()); diff --git a/sdk/greengrass/src/operation/untag_resource/builders.rs b/sdk/greengrass/src/operation/untag_resource/builders.rs index 5b555bcfc733..c13e34b56593 100644 --- a/sdk/greengrass/src/operation/untag_resource/builders.rs +++ b/sdk/greengrass/src/operation/untag_resource/builders.rs @@ -19,9 +19,9 @@ impl UntagResourceFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl UntagResourceFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::untag_resource::UntagResource, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } /// The Amazon Resource Name (ARN) of the resource. pub fn resource_arn(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.resource_arn(input.into()); diff --git a/sdk/greengrass/src/operation/update_connectivity_info/builders.rs b/sdk/greengrass/src/operation/update_connectivity_info/builders.rs index 0639c355ccdb..e05f23513dd5 100644 --- a/sdk/greengrass/src/operation/update_connectivity_info/builders.rs +++ b/sdk/greengrass/src/operation/update_connectivity_info/builders.rs @@ -19,9 +19,9 @@ impl UpdateConnectivityInfoFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl UpdateConnectivityInfoFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::update_connectivity_info::UpdateConnectivityInfo, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::update_connectivity_info::UpdateConnectivityInfoError, + >, + > { + self.customize_middleware().await + } /// Appends an item to `ConnectivityInfo`. /// /// To override the contents of this collection use [`set_connectivity_info`](Self::set_connectivity_info). diff --git a/sdk/greengrass/src/operation/update_connector_definition/builders.rs b/sdk/greengrass/src/operation/update_connector_definition/builders.rs index fcdc221e589c..f9358ad4cddf 100644 --- a/sdk/greengrass/src/operation/update_connector_definition/builders.rs +++ b/sdk/greengrass/src/operation/update_connector_definition/builders.rs @@ -19,9 +19,9 @@ impl UpdateConnectorDefinitionFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl UpdateConnectorDefinitionFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::update_connector_definition::UpdateConnectorDefinition, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::update_connector_definition::UpdateConnectorDefinitionError, + >, + > { + self.customize_middleware().await + } /// The ID of the connector definition. pub fn connector_definition_id( mut self, diff --git a/sdk/greengrass/src/operation/update_core_definition/builders.rs b/sdk/greengrass/src/operation/update_core_definition/builders.rs index 0a99aaa71f18..a0626499abdf 100644 --- a/sdk/greengrass/src/operation/update_core_definition/builders.rs +++ b/sdk/greengrass/src/operation/update_core_definition/builders.rs @@ -19,9 +19,9 @@ impl UpdateCoreDefinitionFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl UpdateCoreDefinitionFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::update_core_definition::UpdateCoreDefinition, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::update_core_definition::UpdateCoreDefinitionError, + >, + > { + self.customize_middleware().await + } /// The ID of the core definition. pub fn core_definition_id( mut self, diff --git a/sdk/greengrass/src/operation/update_device_definition/builders.rs b/sdk/greengrass/src/operation/update_device_definition/builders.rs index 707741215666..9332e1bc9d7a 100644 --- a/sdk/greengrass/src/operation/update_device_definition/builders.rs +++ b/sdk/greengrass/src/operation/update_device_definition/builders.rs @@ -19,9 +19,9 @@ impl UpdateDeviceDefinitionFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl UpdateDeviceDefinitionFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::update_device_definition::UpdateDeviceDefinition, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::update_device_definition::UpdateDeviceDefinitionError, + >, + > { + self.customize_middleware().await + } /// The ID of the device definition. pub fn device_definition_id( mut self, diff --git a/sdk/greengrass/src/operation/update_function_definition/builders.rs b/sdk/greengrass/src/operation/update_function_definition/builders.rs index 125008d8d8f1..4a43bdfda850 100644 --- a/sdk/greengrass/src/operation/update_function_definition/builders.rs +++ b/sdk/greengrass/src/operation/update_function_definition/builders.rs @@ -19,9 +19,9 @@ impl UpdateFunctionDefinitionFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl UpdateFunctionDefinitionFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::update_function_definition::UpdateFunctionDefinition, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::update_function_definition::UpdateFunctionDefinitionError, + >, + > { + self.customize_middleware().await + } /// The ID of the Lambda function definition. pub fn function_definition_id( mut self, diff --git a/sdk/greengrass/src/operation/update_group/builders.rs b/sdk/greengrass/src/operation/update_group/builders.rs index a2bfd085a683..b1d36536a7f1 100644 --- a/sdk/greengrass/src/operation/update_group/builders.rs +++ b/sdk/greengrass/src/operation/update_group/builders.rs @@ -19,9 +19,9 @@ impl UpdateGroupFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl UpdateGroupFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::update_group::UpdateGroup, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } /// The ID of the Greengrass group. pub fn group_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.group_id(input.into()); diff --git a/sdk/greengrass/src/operation/update_group_certificate_configuration/builders.rs b/sdk/greengrass/src/operation/update_group_certificate_configuration/builders.rs index 1cabb262e913..e7d39fb224bd 100644 --- a/sdk/greengrass/src/operation/update_group_certificate_configuration/builders.rs +++ b/sdk/greengrass/src/operation/update_group_certificate_configuration/builders.rs @@ -19,9 +19,9 @@ impl UpdateGroupCertificateConfigurationFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize(self) -> ::std::result::Result< + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware(self) -> ::std::result::Result< crate::client::customize::CustomizableOperation, ::aws_smithy_http::result::SdkError >{ @@ -64,6 +64,15 @@ impl UpdateGroupCertificateConfigurationFluentBuilder { { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize(self) -> ::std::result::Result< + crate::client::customize::CustomizableOperation, + ::aws_smithy_http::result::SdkError + >{ + self.customize_middleware().await + } /// The amount of time remaining before the certificate expires, in milliseconds. pub fn certificate_expiry_in_milliseconds( mut self, diff --git a/sdk/greengrass/src/operation/update_logger_definition/builders.rs b/sdk/greengrass/src/operation/update_logger_definition/builders.rs index fe021d3265f0..d34e5eae0622 100644 --- a/sdk/greengrass/src/operation/update_logger_definition/builders.rs +++ b/sdk/greengrass/src/operation/update_logger_definition/builders.rs @@ -19,9 +19,9 @@ impl UpdateLoggerDefinitionFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl UpdateLoggerDefinitionFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::update_logger_definition::UpdateLoggerDefinition, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::update_logger_definition::UpdateLoggerDefinitionError, + >, + > { + self.customize_middleware().await + } /// The ID of the logger definition. pub fn logger_definition_id( mut self, diff --git a/sdk/greengrass/src/operation/update_resource_definition/builders.rs b/sdk/greengrass/src/operation/update_resource_definition/builders.rs index 1d947aa3a49d..895b7efc00d9 100644 --- a/sdk/greengrass/src/operation/update_resource_definition/builders.rs +++ b/sdk/greengrass/src/operation/update_resource_definition/builders.rs @@ -19,9 +19,9 @@ impl UpdateResourceDefinitionFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl UpdateResourceDefinitionFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::update_resource_definition::UpdateResourceDefinition, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::update_resource_definition::UpdateResourceDefinitionError, + >, + > { + self.customize_middleware().await + } /// The name of the definition. pub fn name(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.name(input.into()); diff --git a/sdk/greengrass/src/operation/update_subscription_definition/builders.rs b/sdk/greengrass/src/operation/update_subscription_definition/builders.rs index 09aaa87b4c88..c0a474ddc7fe 100644 --- a/sdk/greengrass/src/operation/update_subscription_definition/builders.rs +++ b/sdk/greengrass/src/operation/update_subscription_definition/builders.rs @@ -19,9 +19,9 @@ impl UpdateSubscriptionDefinitionFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl UpdateSubscriptionDefinitionFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::update_subscription_definition::UpdateSubscriptionDefinition, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::update_subscription_definition::UpdateSubscriptionDefinitionError, + >, + > { + self.customize_middleware().await + } /// The name of the definition. pub fn name(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.name(input.into()); diff --git a/sdk/greengrass/src/operation/update_thing_runtime_configuration/builders.rs b/sdk/greengrass/src/operation/update_thing_runtime_configuration/builders.rs index c437bc6218d0..5316561a51cf 100644 --- a/sdk/greengrass/src/operation/update_thing_runtime_configuration/builders.rs +++ b/sdk/greengrass/src/operation/update_thing_runtime_configuration/builders.rs @@ -19,9 +19,9 @@ impl UpdateThingRuntimeConfigurationFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize(self) -> ::std::result::Result< + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware(self) -> ::std::result::Result< crate::client::customize::CustomizableOperation, ::aws_smithy_http::result::SdkError >{ @@ -64,6 +64,15 @@ impl UpdateThingRuntimeConfigurationFluentBuilder { { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize(self) -> ::std::result::Result< + crate::client::customize::CustomizableOperation, + ::aws_smithy_http::result::SdkError + >{ + self.customize_middleware().await + } /// Configuration for telemetry service. pub fn telemetry_configuration( mut self, diff --git a/sdk/greengrassv2/src/operation/associate_service_role_to_account/builders.rs b/sdk/greengrassv2/src/operation/associate_service_role_to_account/builders.rs index e215a115327a..7f68af88224f 100644 --- a/sdk/greengrassv2/src/operation/associate_service_role_to_account/builders.rs +++ b/sdk/greengrassv2/src/operation/associate_service_role_to_account/builders.rs @@ -19,9 +19,9 @@ impl AssociateServiceRoleToAccountFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl AssociateServiceRoleToAccountFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::associate_service_role_to_account::AssociateServiceRoleToAccount, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::associate_service_role_to_account::AssociateServiceRoleToAccountError, + >, + > { + self.customize_middleware().await + } ///

                                                                                          The Amazon Resource Name (ARN) of the service role to associate with IoT Greengrass for your Amazon Web Services account in this Amazon Web Services Region.

                                                                                          pub fn role_arn(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.role_arn(input.into()); diff --git a/sdk/greengrassv2/src/operation/batch_associate_client_device_with_core_device/builders.rs b/sdk/greengrassv2/src/operation/batch_associate_client_device_with_core_device/builders.rs index e304ae4574f9..2883bcbb548d 100644 --- a/sdk/greengrassv2/src/operation/batch_associate_client_device_with_core_device/builders.rs +++ b/sdk/greengrassv2/src/operation/batch_associate_client_device_with_core_device/builders.rs @@ -21,9 +21,9 @@ impl BatchAssociateClientDeviceWithCoreDeviceFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize(self) -> ::std::result::Result< + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware(self) -> ::std::result::Result< crate::client::customize::CustomizableOperation, ::aws_smithy_http::result::SdkError >{ @@ -66,6 +66,15 @@ impl BatchAssociateClientDeviceWithCoreDeviceFluentBuilder { { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize(self) -> ::std::result::Result< + crate::client::customize::CustomizableOperation, + ::aws_smithy_http::result::SdkError + >{ + self.customize_middleware().await + } /// Appends an item to `entries`. /// /// To override the contents of this collection use [`set_entries`](Self::set_entries). diff --git a/sdk/greengrassv2/src/operation/batch_disassociate_client_device_from_core_device/builders.rs b/sdk/greengrassv2/src/operation/batch_disassociate_client_device_from_core_device/builders.rs index 0786fe0b79a3..1b41ccef173c 100644 --- a/sdk/greengrassv2/src/operation/batch_disassociate_client_device_from_core_device/builders.rs +++ b/sdk/greengrassv2/src/operation/batch_disassociate_client_device_from_core_device/builders.rs @@ -19,9 +19,9 @@ impl BatchDisassociateClientDeviceFromCoreDeviceFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize(self) -> ::std::result::Result< + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware(self) -> ::std::result::Result< crate::client::customize::CustomizableOperation, ::aws_smithy_http::result::SdkError >{ @@ -64,6 +64,15 @@ impl BatchDisassociateClientDeviceFromCoreDeviceFluentBuilder { { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize(self) -> ::std::result::Result< + crate::client::customize::CustomizableOperation, + ::aws_smithy_http::result::SdkError + >{ + self.customize_middleware().await + } /// Appends an item to `entries`. /// /// To override the contents of this collection use [`set_entries`](Self::set_entries). diff --git a/sdk/greengrassv2/src/operation/cancel_deployment/builders.rs b/sdk/greengrassv2/src/operation/cancel_deployment/builders.rs index 94935c7bc044..2bd98cfe2451 100644 --- a/sdk/greengrassv2/src/operation/cancel_deployment/builders.rs +++ b/sdk/greengrassv2/src/operation/cancel_deployment/builders.rs @@ -19,9 +19,9 @@ impl CancelDeploymentFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl CancelDeploymentFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::cancel_deployment::CancelDeployment, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::cancel_deployment::CancelDeploymentError, + >, + > { + self.customize_middleware().await + } ///

                                                                                          The ID of the deployment.

                                                                                          pub fn deployment_id( mut self, diff --git a/sdk/greengrassv2/src/operation/create_component_version/builders.rs b/sdk/greengrassv2/src/operation/create_component_version/builders.rs index 68321f323729..b6400d4ca08d 100644 --- a/sdk/greengrassv2/src/operation/create_component_version/builders.rs +++ b/sdk/greengrassv2/src/operation/create_component_version/builders.rs @@ -37,9 +37,9 @@ impl CreateComponentVersionFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -101,6 +101,22 @@ impl CreateComponentVersionFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::create_component_version::CreateComponentVersion, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::create_component_version::CreateComponentVersionError, + >, + > { + self.customize_middleware().await + } ///

                                                                                          The recipe to use to create the component. The recipe defines the component's metadata, parameters, dependencies, lifecycle, artifacts, and platform compatibility.

                                                                                          ///

                                                                                          You must specify either inlineRecipe or lambdaFunction.

                                                                                          pub fn inline_recipe(mut self, input: ::aws_smithy_types::Blob) -> Self { diff --git a/sdk/greengrassv2/src/operation/create_deployment/builders.rs b/sdk/greengrassv2/src/operation/create_deployment/builders.rs index cb611be95ee7..bb0c6780fa32 100644 --- a/sdk/greengrassv2/src/operation/create_deployment/builders.rs +++ b/sdk/greengrassv2/src/operation/create_deployment/builders.rs @@ -22,9 +22,9 @@ impl CreateDeploymentFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -86,6 +86,22 @@ impl CreateDeploymentFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::create_deployment::CreateDeployment, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::create_deployment::CreateDeploymentError, + >, + > { + self.customize_middleware().await + } ///

                                                                                          The ARN of the target IoT thing or thing group. When creating a subdeployment, the targetARN can only be a thing group.

                                                                                          pub fn target_arn(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.target_arn(input.into()); diff --git a/sdk/greengrassv2/src/operation/delete_component/builders.rs b/sdk/greengrassv2/src/operation/delete_component/builders.rs index 2e99bb427b24..74472c108d17 100644 --- a/sdk/greengrassv2/src/operation/delete_component/builders.rs +++ b/sdk/greengrassv2/src/operation/delete_component/builders.rs @@ -21,9 +21,9 @@ impl DeleteComponentFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -85,6 +85,22 @@ impl DeleteComponentFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::delete_component::DeleteComponent, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::delete_component::DeleteComponentError, + >, + > { + self.customize_middleware().await + } ///

                                                                                          The ARN of the component version.

                                                                                          pub fn arn(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.arn(input.into()); diff --git a/sdk/greengrassv2/src/operation/delete_core_device/builders.rs b/sdk/greengrassv2/src/operation/delete_core_device/builders.rs index 476fae5d75ad..249d7caecce5 100644 --- a/sdk/greengrassv2/src/operation/delete_core_device/builders.rs +++ b/sdk/greengrassv2/src/operation/delete_core_device/builders.rs @@ -19,9 +19,9 @@ impl DeleteCoreDeviceFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl DeleteCoreDeviceFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::delete_core_device::DeleteCoreDevice, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::delete_core_device::DeleteCoreDeviceError, + >, + > { + self.customize_middleware().await + } ///

                                                                                          The name of the core device. This is also the name of the IoT thing.

                                                                                          pub fn core_device_thing_name( mut self, diff --git a/sdk/greengrassv2/src/operation/delete_deployment/builders.rs b/sdk/greengrassv2/src/operation/delete_deployment/builders.rs index 257a9658a1a3..191cd454cf4b 100644 --- a/sdk/greengrassv2/src/operation/delete_deployment/builders.rs +++ b/sdk/greengrassv2/src/operation/delete_deployment/builders.rs @@ -20,9 +20,9 @@ impl DeleteDeploymentFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -84,6 +84,22 @@ impl DeleteDeploymentFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::delete_deployment::DeleteDeployment, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::delete_deployment::DeleteDeploymentError, + >, + > { + self.customize_middleware().await + } ///

                                                                                          The ID of the deployment.

                                                                                          pub fn deployment_id( mut self, diff --git a/sdk/greengrassv2/src/operation/describe_component/builders.rs b/sdk/greengrassv2/src/operation/describe_component/builders.rs index 9c8bb4724656..3391dc055884 100644 --- a/sdk/greengrassv2/src/operation/describe_component/builders.rs +++ b/sdk/greengrassv2/src/operation/describe_component/builders.rs @@ -19,9 +19,9 @@ impl DescribeComponentFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl DescribeComponentFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::describe_component::DescribeComponent, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::describe_component::DescribeComponentError, + >, + > { + self.customize_middleware().await + } ///

                                                                                          The ARN of the component version.

                                                                                          pub fn arn(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.arn(input.into()); diff --git a/sdk/greengrassv2/src/operation/disassociate_service_role_from_account/builders.rs b/sdk/greengrassv2/src/operation/disassociate_service_role_from_account/builders.rs index 2539c834639a..f1894db88b3b 100644 --- a/sdk/greengrassv2/src/operation/disassociate_service_role_from_account/builders.rs +++ b/sdk/greengrassv2/src/operation/disassociate_service_role_from_account/builders.rs @@ -19,9 +19,9 @@ impl DisassociateServiceRoleFromAccountFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize(self) -> ::std::result::Result< + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware(self) -> ::std::result::Result< crate::client::customize::CustomizableOperation, ::aws_smithy_http::result::SdkError >{ @@ -64,4 +64,13 @@ impl DisassociateServiceRoleFromAccountFluentBuilder { { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize(self) -> ::std::result::Result< + crate::client::customize::CustomizableOperation, + ::aws_smithy_http::result::SdkError + >{ + self.customize_middleware().await + } } diff --git a/sdk/greengrassv2/src/operation/get_component/builders.rs b/sdk/greengrassv2/src/operation/get_component/builders.rs index 03336e2650ab..357bd1007bf1 100644 --- a/sdk/greengrassv2/src/operation/get_component/builders.rs +++ b/sdk/greengrassv2/src/operation/get_component/builders.rs @@ -19,9 +19,9 @@ impl GetComponentFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl GetComponentFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::get_component::GetComponent, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                                          The format of the recipe.

                                                                                          pub fn recipe_output_format(mut self, input: crate::types::RecipeOutputFormat) -> Self { self.inner = self.inner.recipe_output_format(input); diff --git a/sdk/greengrassv2/src/operation/get_component_version_artifact/builders.rs b/sdk/greengrassv2/src/operation/get_component_version_artifact/builders.rs index 2bb108ae2cc1..f23ea7ae2df2 100644 --- a/sdk/greengrassv2/src/operation/get_component_version_artifact/builders.rs +++ b/sdk/greengrassv2/src/operation/get_component_version_artifact/builders.rs @@ -19,9 +19,9 @@ impl GetComponentVersionArtifactFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl GetComponentVersionArtifactFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::get_component_version_artifact::GetComponentVersionArtifact, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::get_component_version_artifact::GetComponentVersionArtifactError, + >, + > { + self.customize_middleware().await + } ///

                                                                                          The ARN of the component version. Specify the ARN of a public or a Lambda component version.

                                                                                          pub fn arn(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.arn(input.into()); diff --git a/sdk/greengrassv2/src/operation/get_connectivity_info/builders.rs b/sdk/greengrassv2/src/operation/get_connectivity_info/builders.rs index 461272e50127..aa9978620d6d 100644 --- a/sdk/greengrassv2/src/operation/get_connectivity_info/builders.rs +++ b/sdk/greengrassv2/src/operation/get_connectivity_info/builders.rs @@ -20,9 +20,9 @@ impl GetConnectivityInfoFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -84,6 +84,22 @@ impl GetConnectivityInfoFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::get_connectivity_info::GetConnectivityInfo, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::get_connectivity_info::GetConnectivityInfoError, + >, + > { + self.customize_middleware().await + } ///

                                                                                          The name of the core device. This is also the name of the IoT thing.

                                                                                          pub fn thing_name(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.thing_name(input.into()); diff --git a/sdk/greengrassv2/src/operation/get_core_device/builders.rs b/sdk/greengrassv2/src/operation/get_core_device/builders.rs index 10dd28fcf471..396356d43533 100644 --- a/sdk/greengrassv2/src/operation/get_core_device/builders.rs +++ b/sdk/greengrassv2/src/operation/get_core_device/builders.rs @@ -29,9 +29,9 @@ impl GetCoreDeviceFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -87,6 +87,20 @@ impl GetCoreDeviceFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::get_core_device::GetCoreDevice, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                                          The name of the core device. This is also the name of the IoT thing.

                                                                                          pub fn core_device_thing_name( mut self, diff --git a/sdk/greengrassv2/src/operation/get_deployment/builders.rs b/sdk/greengrassv2/src/operation/get_deployment/builders.rs index 15b3e787f190..a96cd213361b 100644 --- a/sdk/greengrassv2/src/operation/get_deployment/builders.rs +++ b/sdk/greengrassv2/src/operation/get_deployment/builders.rs @@ -19,9 +19,9 @@ impl GetDeploymentFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl GetDeploymentFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::get_deployment::GetDeployment, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                                          The ID of the deployment.

                                                                                          pub fn deployment_id( mut self, diff --git a/sdk/greengrassv2/src/operation/get_service_role_for_account/builders.rs b/sdk/greengrassv2/src/operation/get_service_role_for_account/builders.rs index eddda6f968d3..44786e893a3e 100644 --- a/sdk/greengrassv2/src/operation/get_service_role_for_account/builders.rs +++ b/sdk/greengrassv2/src/operation/get_service_role_for_account/builders.rs @@ -19,9 +19,9 @@ impl GetServiceRoleForAccountFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,4 +83,20 @@ impl GetServiceRoleForAccountFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::get_service_role_for_account::GetServiceRoleForAccount, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::get_service_role_for_account::GetServiceRoleForAccountError, + >, + > { + self.customize_middleware().await + } } diff --git a/sdk/greengrassv2/src/operation/list_client_devices_associated_with_core_device/builders.rs b/sdk/greengrassv2/src/operation/list_client_devices_associated_with_core_device/builders.rs index 89d02335a876..8918aa27c18a 100644 --- a/sdk/greengrassv2/src/operation/list_client_devices_associated_with_core_device/builders.rs +++ b/sdk/greengrassv2/src/operation/list_client_devices_associated_with_core_device/builders.rs @@ -19,9 +19,9 @@ impl ListClientDevicesAssociatedWithCoreDeviceFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize(self) -> ::std::result::Result< + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware(self) -> ::std::result::Result< crate::client::customize::CustomizableOperation, ::aws_smithy_http::result::SdkError >{ @@ -64,6 +64,15 @@ impl ListClientDevicesAssociatedWithCoreDeviceFluentBuilder { { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize(self) -> ::std::result::Result< + crate::client::customize::CustomizableOperation, + ::aws_smithy_http::result::SdkError + >{ + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::list_client_devices_associated_with_core_device::paginator::ListClientDevicesAssociatedWithCoreDevicePaginator::send) which returns a `Stream`. diff --git a/sdk/greengrassv2/src/operation/list_component_versions/builders.rs b/sdk/greengrassv2/src/operation/list_component_versions/builders.rs index 8e96b1595bf2..1385edf0e9a2 100644 --- a/sdk/greengrassv2/src/operation/list_component_versions/builders.rs +++ b/sdk/greengrassv2/src/operation/list_component_versions/builders.rs @@ -19,9 +19,9 @@ impl ListComponentVersionsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl ListComponentVersionsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_component_versions::ListComponentVersions, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::list_component_versions::ListComponentVersionsError, + >, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::list_component_versions::paginator::ListComponentVersionsPaginator::send) which returns a `Stream`. diff --git a/sdk/greengrassv2/src/operation/list_components/builders.rs b/sdk/greengrassv2/src/operation/list_components/builders.rs index 20694977aca3..bcdc7c5ca87f 100644 --- a/sdk/greengrassv2/src/operation/list_components/builders.rs +++ b/sdk/greengrassv2/src/operation/list_components/builders.rs @@ -19,9 +19,9 @@ impl ListComponentsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl ListComponentsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_components::ListComponents, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::list_components::paginator::ListComponentsPaginator::send) which returns a `Stream`. diff --git a/sdk/greengrassv2/src/operation/list_core_devices/builders.rs b/sdk/greengrassv2/src/operation/list_core_devices/builders.rs index ecdb65a91366..f2dece5f14bf 100644 --- a/sdk/greengrassv2/src/operation/list_core_devices/builders.rs +++ b/sdk/greengrassv2/src/operation/list_core_devices/builders.rs @@ -29,9 +29,9 @@ impl ListCoreDevicesFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -93,6 +93,22 @@ impl ListCoreDevicesFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_core_devices::ListCoreDevices, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::list_core_devices::ListCoreDevicesError, + >, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::list_core_devices::paginator::ListCoreDevicesPaginator::send) which returns a `Stream`. diff --git a/sdk/greengrassv2/src/operation/list_deployments/builders.rs b/sdk/greengrassv2/src/operation/list_deployments/builders.rs index 905dfdc85b4e..28e783ad1a89 100644 --- a/sdk/greengrassv2/src/operation/list_deployments/builders.rs +++ b/sdk/greengrassv2/src/operation/list_deployments/builders.rs @@ -19,9 +19,9 @@ impl ListDeploymentsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl ListDeploymentsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_deployments::ListDeployments, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::list_deployments::ListDeploymentsError, + >, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::list_deployments::paginator::ListDeploymentsPaginator::send) which returns a `Stream`. diff --git a/sdk/greengrassv2/src/operation/list_effective_deployments/builders.rs b/sdk/greengrassv2/src/operation/list_effective_deployments/builders.rs index f6a5551683e3..4c6a17b9af6e 100644 --- a/sdk/greengrassv2/src/operation/list_effective_deployments/builders.rs +++ b/sdk/greengrassv2/src/operation/list_effective_deployments/builders.rs @@ -19,9 +19,9 @@ impl ListEffectiveDeploymentsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl ListEffectiveDeploymentsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_effective_deployments::ListEffectiveDeployments, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::list_effective_deployments::ListEffectiveDeploymentsError, + >, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::list_effective_deployments::paginator::ListEffectiveDeploymentsPaginator::send) which returns a `Stream`. diff --git a/sdk/greengrassv2/src/operation/list_installed_components/builders.rs b/sdk/greengrassv2/src/operation/list_installed_components/builders.rs index 5f89d93e1ef9..79f486a3f0aa 100644 --- a/sdk/greengrassv2/src/operation/list_installed_components/builders.rs +++ b/sdk/greengrassv2/src/operation/list_installed_components/builders.rs @@ -30,9 +30,9 @@ impl ListInstalledComponentsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -94,6 +94,22 @@ impl ListInstalledComponentsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_installed_components::ListInstalledComponents, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::list_installed_components::ListInstalledComponentsError, + >, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::list_installed_components::paginator::ListInstalledComponentsPaginator::send) which returns a `Stream`. diff --git a/sdk/greengrassv2/src/operation/list_tags_for_resource/builders.rs b/sdk/greengrassv2/src/operation/list_tags_for_resource/builders.rs index f7f7ce33b09d..a5d1ea94e6b8 100644 --- a/sdk/greengrassv2/src/operation/list_tags_for_resource/builders.rs +++ b/sdk/greengrassv2/src/operation/list_tags_for_resource/builders.rs @@ -19,9 +19,9 @@ impl ListTagsForResourceFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl ListTagsForResourceFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_tags_for_resource::ListTagsForResource, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::list_tags_for_resource::ListTagsForResourceError, + >, + > { + self.customize_middleware().await + } ///

                                                                                          The ARN of the resource.

                                                                                          pub fn resource_arn(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.resource_arn(input.into()); diff --git a/sdk/greengrassv2/src/operation/resolve_component_candidates/builders.rs b/sdk/greengrassv2/src/operation/resolve_component_candidates/builders.rs index 6a768b46247b..3c3bff4575c2 100644 --- a/sdk/greengrassv2/src/operation/resolve_component_candidates/builders.rs +++ b/sdk/greengrassv2/src/operation/resolve_component_candidates/builders.rs @@ -23,9 +23,9 @@ impl ResolveComponentCandidatesFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -87,6 +87,22 @@ impl ResolveComponentCandidatesFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::resolve_component_candidates::ResolveComponentCandidates, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::resolve_component_candidates::ResolveComponentCandidatesError, + >, + > { + self.customize_middleware().await + } ///

                                                                                          The platform to use to resolve compatible components.

                                                                                          pub fn platform(mut self, input: crate::types::ComponentPlatform) -> Self { self.inner = self.inner.platform(input); diff --git a/sdk/greengrassv2/src/operation/tag_resource/builders.rs b/sdk/greengrassv2/src/operation/tag_resource/builders.rs index 445144bb8b8e..6c10aeaef763 100644 --- a/sdk/greengrassv2/src/operation/tag_resource/builders.rs +++ b/sdk/greengrassv2/src/operation/tag_resource/builders.rs @@ -19,9 +19,9 @@ impl TagResourceFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl TagResourceFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::tag_resource::TagResource, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                                          The ARN of the resource to tag.

                                                                                          pub fn resource_arn(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.resource_arn(input.into()); diff --git a/sdk/greengrassv2/src/operation/untag_resource/builders.rs b/sdk/greengrassv2/src/operation/untag_resource/builders.rs index 16070796b428..9103f10c2e33 100644 --- a/sdk/greengrassv2/src/operation/untag_resource/builders.rs +++ b/sdk/greengrassv2/src/operation/untag_resource/builders.rs @@ -19,9 +19,9 @@ impl UntagResourceFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl UntagResourceFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::untag_resource::UntagResource, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                                          The ARN of the resource to untag.

                                                                                          pub fn resource_arn(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.resource_arn(input.into()); diff --git a/sdk/greengrassv2/src/operation/update_connectivity_info/builders.rs b/sdk/greengrassv2/src/operation/update_connectivity_info/builders.rs index 0a0e6ffb6d93..ce0e53e86941 100644 --- a/sdk/greengrassv2/src/operation/update_connectivity_info/builders.rs +++ b/sdk/greengrassv2/src/operation/update_connectivity_info/builders.rs @@ -20,9 +20,9 @@ impl UpdateConnectivityInfoFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -84,6 +84,22 @@ impl UpdateConnectivityInfoFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::update_connectivity_info::UpdateConnectivityInfo, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::update_connectivity_info::UpdateConnectivityInfoError, + >, + > { + self.customize_middleware().await + } ///

                                                                                          The name of the core device. This is also the name of the IoT thing.

                                                                                          pub fn thing_name(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.thing_name(input.into()); diff --git a/sdk/groundstation/src/operation/cancel_contact/builders.rs b/sdk/groundstation/src/operation/cancel_contact/builders.rs index 4a17ecccd50b..3b3a4ce78e46 100644 --- a/sdk/groundstation/src/operation/cancel_contact/builders.rs +++ b/sdk/groundstation/src/operation/cancel_contact/builders.rs @@ -19,9 +19,9 @@ impl CancelContactFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl CancelContactFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::cancel_contact::CancelContact, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                                          UUID of a contact.

                                                                                          pub fn contact_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.contact_id(input.into()); diff --git a/sdk/groundstation/src/operation/create_config/builders.rs b/sdk/groundstation/src/operation/create_config/builders.rs index 54a4c72589a0..7526bf9bea1d 100644 --- a/sdk/groundstation/src/operation/create_config/builders.rs +++ b/sdk/groundstation/src/operation/create_config/builders.rs @@ -20,9 +20,9 @@ impl CreateConfigFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -78,6 +78,20 @@ impl CreateConfigFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::create_config::CreateConfig, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                                          Name of a Config.

                                                                                          pub fn name(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.name(input.into()); diff --git a/sdk/groundstation/src/operation/create_dataflow_endpoint_group/builders.rs b/sdk/groundstation/src/operation/create_dataflow_endpoint_group/builders.rs index ee740f1773ed..abfd4bc4b3bd 100644 --- a/sdk/groundstation/src/operation/create_dataflow_endpoint_group/builders.rs +++ b/sdk/groundstation/src/operation/create_dataflow_endpoint_group/builders.rs @@ -21,9 +21,9 @@ impl CreateDataflowEndpointGroupFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -85,6 +85,22 @@ impl CreateDataflowEndpointGroupFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::create_dataflow_endpoint_group::CreateDataflowEndpointGroup, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::create_dataflow_endpoint_group::CreateDataflowEndpointGroupError, + >, + > { + self.customize_middleware().await + } /// Appends an item to `endpointDetails`. /// /// To override the contents of this collection use [`set_endpoint_details`](Self::set_endpoint_details). diff --git a/sdk/groundstation/src/operation/create_ephemeris/builders.rs b/sdk/groundstation/src/operation/create_ephemeris/builders.rs index 3e7f92d3f6bd..3e6fa64002f4 100644 --- a/sdk/groundstation/src/operation/create_ephemeris/builders.rs +++ b/sdk/groundstation/src/operation/create_ephemeris/builders.rs @@ -19,9 +19,9 @@ impl CreateEphemerisFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl CreateEphemerisFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::create_ephemeris::CreateEphemeris, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::create_ephemeris::CreateEphemerisError, + >, + > { + self.customize_middleware().await + } ///

                                                                                          AWS Ground Station satellite ID for this ephemeris.

                                                                                          pub fn satellite_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.satellite_id(input.into()); diff --git a/sdk/groundstation/src/operation/create_mission_profile/builders.rs b/sdk/groundstation/src/operation/create_mission_profile/builders.rs index 9a2c1117911d..095ad1921f42 100644 --- a/sdk/groundstation/src/operation/create_mission_profile/builders.rs +++ b/sdk/groundstation/src/operation/create_mission_profile/builders.rs @@ -20,9 +20,9 @@ impl CreateMissionProfileFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -84,6 +84,22 @@ impl CreateMissionProfileFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::create_mission_profile::CreateMissionProfile, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::create_mission_profile::CreateMissionProfileError, + >, + > { + self.customize_middleware().await + } ///

                                                                                          Name of a mission profile.

                                                                                          pub fn name(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.name(input.into()); diff --git a/sdk/groundstation/src/operation/delete_config/builders.rs b/sdk/groundstation/src/operation/delete_config/builders.rs index 5cf41212af0e..29f41b7b7518 100644 --- a/sdk/groundstation/src/operation/delete_config/builders.rs +++ b/sdk/groundstation/src/operation/delete_config/builders.rs @@ -19,9 +19,9 @@ impl DeleteConfigFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl DeleteConfigFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::delete_config::DeleteConfig, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                                          UUID of a Config.

                                                                                          pub fn config_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.config_id(input.into()); diff --git a/sdk/groundstation/src/operation/delete_dataflow_endpoint_group/builders.rs b/sdk/groundstation/src/operation/delete_dataflow_endpoint_group/builders.rs index d54872180df6..2645dfb5cd14 100644 --- a/sdk/groundstation/src/operation/delete_dataflow_endpoint_group/builders.rs +++ b/sdk/groundstation/src/operation/delete_dataflow_endpoint_group/builders.rs @@ -19,9 +19,9 @@ impl DeleteDataflowEndpointGroupFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl DeleteDataflowEndpointGroupFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::delete_dataflow_endpoint_group::DeleteDataflowEndpointGroup, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::delete_dataflow_endpoint_group::DeleteDataflowEndpointGroupError, + >, + > { + self.customize_middleware().await + } ///

                                                                                          UUID of a dataflow endpoint group.

                                                                                          pub fn dataflow_endpoint_group_id( mut self, diff --git a/sdk/groundstation/src/operation/delete_ephemeris/builders.rs b/sdk/groundstation/src/operation/delete_ephemeris/builders.rs index 71f95c02f4fb..96899ef28489 100644 --- a/sdk/groundstation/src/operation/delete_ephemeris/builders.rs +++ b/sdk/groundstation/src/operation/delete_ephemeris/builders.rs @@ -19,9 +19,9 @@ impl DeleteEphemerisFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl DeleteEphemerisFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::delete_ephemeris::DeleteEphemeris, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::delete_ephemeris::DeleteEphemerisError, + >, + > { + self.customize_middleware().await + } ///

                                                                                          The AWS Ground Station ephemeris ID.

                                                                                          pub fn ephemeris_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.ephemeris_id(input.into()); diff --git a/sdk/groundstation/src/operation/delete_mission_profile/builders.rs b/sdk/groundstation/src/operation/delete_mission_profile/builders.rs index 4969f99c0e4e..b75f92ceec47 100644 --- a/sdk/groundstation/src/operation/delete_mission_profile/builders.rs +++ b/sdk/groundstation/src/operation/delete_mission_profile/builders.rs @@ -19,9 +19,9 @@ impl DeleteMissionProfileFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl DeleteMissionProfileFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::delete_mission_profile::DeleteMissionProfile, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::delete_mission_profile::DeleteMissionProfileError, + >, + > { + self.customize_middleware().await + } ///

                                                                                          UUID of a mission profile.

                                                                                          pub fn mission_profile_id( mut self, diff --git a/sdk/groundstation/src/operation/describe_contact/builders.rs b/sdk/groundstation/src/operation/describe_contact/builders.rs index bbb83a8d0c23..43964b0f0649 100644 --- a/sdk/groundstation/src/operation/describe_contact/builders.rs +++ b/sdk/groundstation/src/operation/describe_contact/builders.rs @@ -19,9 +19,9 @@ impl DescribeContactFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl DescribeContactFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::describe_contact::DescribeContact, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::describe_contact::DescribeContactError, + >, + > { + self.customize_middleware().await + } ///

                                                                                          UUID of a contact.

                                                                                          pub fn contact_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.contact_id(input.into()); diff --git a/sdk/groundstation/src/operation/describe_ephemeris/builders.rs b/sdk/groundstation/src/operation/describe_ephemeris/builders.rs index 7667315d0649..b73be1138d4b 100644 --- a/sdk/groundstation/src/operation/describe_ephemeris/builders.rs +++ b/sdk/groundstation/src/operation/describe_ephemeris/builders.rs @@ -19,9 +19,9 @@ impl DescribeEphemerisFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl DescribeEphemerisFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::describe_ephemeris::DescribeEphemeris, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::describe_ephemeris::DescribeEphemerisError, + >, + > { + self.customize_middleware().await + } ///

                                                                                          The AWS Ground Station ephemeris ID.

                                                                                          pub fn ephemeris_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.ephemeris_id(input.into()); diff --git a/sdk/groundstation/src/operation/get_agent_configuration/builders.rs b/sdk/groundstation/src/operation/get_agent_configuration/builders.rs index 8c1389b308cc..a443ab9ee0cd 100644 --- a/sdk/groundstation/src/operation/get_agent_configuration/builders.rs +++ b/sdk/groundstation/src/operation/get_agent_configuration/builders.rs @@ -22,9 +22,9 @@ impl GetAgentConfigurationFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -86,6 +86,22 @@ impl GetAgentConfigurationFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::get_agent_configuration::GetAgentConfiguration, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::get_agent_configuration::GetAgentConfigurationError, + >, + > { + self.customize_middleware().await + } ///

                                                                                          UUID of agent to get configuration information for.

                                                                                          pub fn agent_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.agent_id(input.into()); diff --git a/sdk/groundstation/src/operation/get_config/builders.rs b/sdk/groundstation/src/operation/get_config/builders.rs index 390a105f5881..0cafebb26c33 100644 --- a/sdk/groundstation/src/operation/get_config/builders.rs +++ b/sdk/groundstation/src/operation/get_config/builders.rs @@ -20,9 +20,9 @@ impl GetConfigFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -78,6 +78,20 @@ impl GetConfigFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::get_config::GetConfig, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                                          UUID of a Config.

                                                                                          pub fn config_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.config_id(input.into()); diff --git a/sdk/groundstation/src/operation/get_dataflow_endpoint_group/builders.rs b/sdk/groundstation/src/operation/get_dataflow_endpoint_group/builders.rs index ddd946f481ee..d6f7eecc780f 100644 --- a/sdk/groundstation/src/operation/get_dataflow_endpoint_group/builders.rs +++ b/sdk/groundstation/src/operation/get_dataflow_endpoint_group/builders.rs @@ -19,9 +19,9 @@ impl GetDataflowEndpointGroupFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl GetDataflowEndpointGroupFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::get_dataflow_endpoint_group::GetDataflowEndpointGroup, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::get_dataflow_endpoint_group::GetDataflowEndpointGroupError, + >, + > { + self.customize_middleware().await + } ///

                                                                                          UUID of a dataflow endpoint group.

                                                                                          pub fn dataflow_endpoint_group_id( mut self, diff --git a/sdk/groundstation/src/operation/get_minute_usage/builders.rs b/sdk/groundstation/src/operation/get_minute_usage/builders.rs index 2a5e72354aaf..95891e5f0c36 100644 --- a/sdk/groundstation/src/operation/get_minute_usage/builders.rs +++ b/sdk/groundstation/src/operation/get_minute_usage/builders.rs @@ -19,9 +19,9 @@ impl GetMinuteUsageFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl GetMinuteUsageFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::get_minute_usage::GetMinuteUsage, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::get_minute_usage::GetMinuteUsageError, + >, + > { + self.customize_middleware().await + } ///

                                                                                          The month being requested, with a value of 1-12.

                                                                                          pub fn month(mut self, input: i32) -> Self { self.inner = self.inner.month(input); diff --git a/sdk/groundstation/src/operation/get_mission_profile/builders.rs b/sdk/groundstation/src/operation/get_mission_profile/builders.rs index 05e514481a10..a96b9017fc16 100644 --- a/sdk/groundstation/src/operation/get_mission_profile/builders.rs +++ b/sdk/groundstation/src/operation/get_mission_profile/builders.rs @@ -19,9 +19,9 @@ impl GetMissionProfileFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl GetMissionProfileFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::get_mission_profile::GetMissionProfile, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::get_mission_profile::GetMissionProfileError, + >, + > { + self.customize_middleware().await + } ///

                                                                                          UUID of a mission profile.

                                                                                          pub fn mission_profile_id( mut self, diff --git a/sdk/groundstation/src/operation/get_satellite/builders.rs b/sdk/groundstation/src/operation/get_satellite/builders.rs index 06f5f7849758..bd3c7df50ffb 100644 --- a/sdk/groundstation/src/operation/get_satellite/builders.rs +++ b/sdk/groundstation/src/operation/get_satellite/builders.rs @@ -19,9 +19,9 @@ impl GetSatelliteFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl GetSatelliteFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::get_satellite::GetSatellite, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                                          UUID of a satellite.

                                                                                          pub fn satellite_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.satellite_id(input.into()); diff --git a/sdk/groundstation/src/operation/list_configs/builders.rs b/sdk/groundstation/src/operation/list_configs/builders.rs index 657678e1d3cc..f53199742b76 100644 --- a/sdk/groundstation/src/operation/list_configs/builders.rs +++ b/sdk/groundstation/src/operation/list_configs/builders.rs @@ -19,9 +19,9 @@ impl ListConfigsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl ListConfigsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_configs::ListConfigs, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::list_configs::paginator::ListConfigsPaginator::send) which returns a `Stream`. diff --git a/sdk/groundstation/src/operation/list_contacts/builders.rs b/sdk/groundstation/src/operation/list_contacts/builders.rs index 79279241875d..13058a1e6882 100644 --- a/sdk/groundstation/src/operation/list_contacts/builders.rs +++ b/sdk/groundstation/src/operation/list_contacts/builders.rs @@ -20,9 +20,9 @@ impl ListContactsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -78,6 +78,20 @@ impl ListContactsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_contacts::ListContacts, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::list_contacts::paginator::ListContactsPaginator::send) which returns a `Stream`. diff --git a/sdk/groundstation/src/operation/list_dataflow_endpoint_groups/builders.rs b/sdk/groundstation/src/operation/list_dataflow_endpoint_groups/builders.rs index 4b8bef4b48de..bfff563f3690 100644 --- a/sdk/groundstation/src/operation/list_dataflow_endpoint_groups/builders.rs +++ b/sdk/groundstation/src/operation/list_dataflow_endpoint_groups/builders.rs @@ -19,9 +19,9 @@ impl ListDataflowEndpointGroupsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl ListDataflowEndpointGroupsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_dataflow_endpoint_groups::ListDataflowEndpointGroups, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::list_dataflow_endpoint_groups::ListDataflowEndpointGroupsError, + >, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::list_dataflow_endpoint_groups::paginator::ListDataflowEndpointGroupsPaginator::send) which returns a `Stream`. diff --git a/sdk/groundstation/src/operation/list_ephemerides/builders.rs b/sdk/groundstation/src/operation/list_ephemerides/builders.rs index a074821ccff7..b001a0296dfc 100644 --- a/sdk/groundstation/src/operation/list_ephemerides/builders.rs +++ b/sdk/groundstation/src/operation/list_ephemerides/builders.rs @@ -19,9 +19,9 @@ impl ListEphemeridesFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl ListEphemeridesFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_ephemerides::ListEphemerides, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::list_ephemerides::ListEphemeridesError, + >, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::list_ephemerides::paginator::ListEphemeridesPaginator::send) which returns a `Stream`. diff --git a/sdk/groundstation/src/operation/list_ground_stations/builders.rs b/sdk/groundstation/src/operation/list_ground_stations/builders.rs index 522159193502..f8a2aa5e43cc 100644 --- a/sdk/groundstation/src/operation/list_ground_stations/builders.rs +++ b/sdk/groundstation/src/operation/list_ground_stations/builders.rs @@ -19,9 +19,9 @@ impl ListGroundStationsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl ListGroundStationsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_ground_stations::ListGroundStations, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::list_ground_stations::ListGroundStationsError, + >, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::list_ground_stations::paginator::ListGroundStationsPaginator::send) which returns a `Stream`. diff --git a/sdk/groundstation/src/operation/list_mission_profiles/builders.rs b/sdk/groundstation/src/operation/list_mission_profiles/builders.rs index 605f68a16460..5c2aa56d318b 100644 --- a/sdk/groundstation/src/operation/list_mission_profiles/builders.rs +++ b/sdk/groundstation/src/operation/list_mission_profiles/builders.rs @@ -19,9 +19,9 @@ impl ListMissionProfilesFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl ListMissionProfilesFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_mission_profiles::ListMissionProfiles, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::list_mission_profiles::ListMissionProfilesError, + >, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::list_mission_profiles::paginator::ListMissionProfilesPaginator::send) which returns a `Stream`. diff --git a/sdk/groundstation/src/operation/list_satellites/builders.rs b/sdk/groundstation/src/operation/list_satellites/builders.rs index 49003436a78a..f77a206d0744 100644 --- a/sdk/groundstation/src/operation/list_satellites/builders.rs +++ b/sdk/groundstation/src/operation/list_satellites/builders.rs @@ -19,9 +19,9 @@ impl ListSatellitesFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl ListSatellitesFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_satellites::ListSatellites, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::list_satellites::paginator::ListSatellitesPaginator::send) which returns a `Stream`. diff --git a/sdk/groundstation/src/operation/list_tags_for_resource/builders.rs b/sdk/groundstation/src/operation/list_tags_for_resource/builders.rs index 8482bc23296f..8f7034b096fa 100644 --- a/sdk/groundstation/src/operation/list_tags_for_resource/builders.rs +++ b/sdk/groundstation/src/operation/list_tags_for_resource/builders.rs @@ -19,9 +19,9 @@ impl ListTagsForResourceFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl ListTagsForResourceFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_tags_for_resource::ListTagsForResource, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::list_tags_for_resource::ListTagsForResourceError, + >, + > { + self.customize_middleware().await + } ///

                                                                                          ARN of a resource.

                                                                                          pub fn resource_arn(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.resource_arn(input.into()); diff --git a/sdk/groundstation/src/operation/register_agent/builders.rs b/sdk/groundstation/src/operation/register_agent/builders.rs index 97bd5a305f5a..8b3f63e08f63 100644 --- a/sdk/groundstation/src/operation/register_agent/builders.rs +++ b/sdk/groundstation/src/operation/register_agent/builders.rs @@ -22,9 +22,9 @@ impl RegisterAgentFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -80,6 +80,20 @@ impl RegisterAgentFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::register_agent::RegisterAgent, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                                          Data for associating an agent with the capabilities it is managing.

                                                                                          pub fn discovery_data(mut self, input: crate::types::DiscoveryData) -> Self { self.inner = self.inner.discovery_data(input); diff --git a/sdk/groundstation/src/operation/reserve_contact/builders.rs b/sdk/groundstation/src/operation/reserve_contact/builders.rs index 75dd1fc6033b..509b44f579b0 100644 --- a/sdk/groundstation/src/operation/reserve_contact/builders.rs +++ b/sdk/groundstation/src/operation/reserve_contact/builders.rs @@ -19,9 +19,9 @@ impl ReserveContactFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl ReserveContactFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::reserve_contact::ReserveContact, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                                          ARN of a mission profile.

                                                                                          pub fn mission_profile_arn( mut self, diff --git a/sdk/groundstation/src/operation/tag_resource/builders.rs b/sdk/groundstation/src/operation/tag_resource/builders.rs index 970ebaa58942..513c28ec6777 100644 --- a/sdk/groundstation/src/operation/tag_resource/builders.rs +++ b/sdk/groundstation/src/operation/tag_resource/builders.rs @@ -19,9 +19,9 @@ impl TagResourceFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl TagResourceFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::tag_resource::TagResource, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                                          ARN of a resource tag.

                                                                                          pub fn resource_arn(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.resource_arn(input.into()); diff --git a/sdk/groundstation/src/operation/untag_resource/builders.rs b/sdk/groundstation/src/operation/untag_resource/builders.rs index 50d69d5761ba..1057cb9dc938 100644 --- a/sdk/groundstation/src/operation/untag_resource/builders.rs +++ b/sdk/groundstation/src/operation/untag_resource/builders.rs @@ -19,9 +19,9 @@ impl UntagResourceFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl UntagResourceFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::untag_resource::UntagResource, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                                          ARN of a resource.

                                                                                          pub fn resource_arn(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.resource_arn(input.into()); diff --git a/sdk/groundstation/src/operation/update_agent_status/builders.rs b/sdk/groundstation/src/operation/update_agent_status/builders.rs index 46df5184db8e..a8595a26b541 100644 --- a/sdk/groundstation/src/operation/update_agent_status/builders.rs +++ b/sdk/groundstation/src/operation/update_agent_status/builders.rs @@ -22,9 +22,9 @@ impl UpdateAgentStatusFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -86,6 +86,22 @@ impl UpdateAgentStatusFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::update_agent_status::UpdateAgentStatus, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::update_agent_status::UpdateAgentStatusError, + >, + > { + self.customize_middleware().await + } ///

                                                                                          UUID of agent to update.

                                                                                          pub fn agent_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.agent_id(input.into()); diff --git a/sdk/groundstation/src/operation/update_config/builders.rs b/sdk/groundstation/src/operation/update_config/builders.rs index 8fcdd5a424a9..c9730bd5628e 100644 --- a/sdk/groundstation/src/operation/update_config/builders.rs +++ b/sdk/groundstation/src/operation/update_config/builders.rs @@ -20,9 +20,9 @@ impl UpdateConfigFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -78,6 +78,20 @@ impl UpdateConfigFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::update_config::UpdateConfig, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                                          UUID of a Config.

                                                                                          pub fn config_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.config_id(input.into()); diff --git a/sdk/groundstation/src/operation/update_ephemeris/builders.rs b/sdk/groundstation/src/operation/update_ephemeris/builders.rs index 502f46a040d7..8f2088412982 100644 --- a/sdk/groundstation/src/operation/update_ephemeris/builders.rs +++ b/sdk/groundstation/src/operation/update_ephemeris/builders.rs @@ -19,9 +19,9 @@ impl UpdateEphemerisFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl UpdateEphemerisFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::update_ephemeris::UpdateEphemeris, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::update_ephemeris::UpdateEphemerisError, + >, + > { + self.customize_middleware().await + } ///

                                                                                          The AWS Ground Station ephemeris ID.

                                                                                          pub fn ephemeris_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.ephemeris_id(input.into()); diff --git a/sdk/groundstation/src/operation/update_mission_profile/builders.rs b/sdk/groundstation/src/operation/update_mission_profile/builders.rs index 8fdcf267e104..efee0093fb05 100644 --- a/sdk/groundstation/src/operation/update_mission_profile/builders.rs +++ b/sdk/groundstation/src/operation/update_mission_profile/builders.rs @@ -20,9 +20,9 @@ impl UpdateMissionProfileFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -84,6 +84,22 @@ impl UpdateMissionProfileFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::update_mission_profile::UpdateMissionProfile, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::update_mission_profile::UpdateMissionProfileError, + >, + > { + self.customize_middleware().await + } ///

                                                                                          UUID of a mission profile.

                                                                                          pub fn mission_profile_id( mut self, diff --git a/sdk/guardduty/src/operation/accept_administrator_invitation/builders.rs b/sdk/guardduty/src/operation/accept_administrator_invitation/builders.rs index f49ff079dfc4..b27df99c024f 100644 --- a/sdk/guardduty/src/operation/accept_administrator_invitation/builders.rs +++ b/sdk/guardduty/src/operation/accept_administrator_invitation/builders.rs @@ -19,9 +19,9 @@ impl AcceptAdministratorInvitationFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl AcceptAdministratorInvitationFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::accept_administrator_invitation::AcceptAdministratorInvitation, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::accept_administrator_invitation::AcceptAdministratorInvitationError, + >, + > { + self.customize_middleware().await + } ///

                                                                                          The unique ID of the detector of the GuardDuty member account.

                                                                                          pub fn detector_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.detector_id(input.into()); diff --git a/sdk/guardduty/src/operation/accept_invitation/builders.rs b/sdk/guardduty/src/operation/accept_invitation/builders.rs index 3c4e6a3a2469..789892bff4c8 100644 --- a/sdk/guardduty/src/operation/accept_invitation/builders.rs +++ b/sdk/guardduty/src/operation/accept_invitation/builders.rs @@ -20,9 +20,9 @@ impl AcceptInvitationFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -84,6 +84,22 @@ impl AcceptInvitationFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::accept_invitation::AcceptInvitation, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::accept_invitation::AcceptInvitationError, + >, + > { + self.customize_middleware().await + } ///

                                                                                          The unique ID of the detector of the GuardDuty member account.

                                                                                          pub fn detector_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.detector_id(input.into()); diff --git a/sdk/guardduty/src/operation/archive_findings/builders.rs b/sdk/guardduty/src/operation/archive_findings/builders.rs index c1c0916c6e9e..52448b3ac4bc 100644 --- a/sdk/guardduty/src/operation/archive_findings/builders.rs +++ b/sdk/guardduty/src/operation/archive_findings/builders.rs @@ -21,9 +21,9 @@ impl ArchiveFindingsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -85,6 +85,22 @@ impl ArchiveFindingsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::archive_findings::ArchiveFindings, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::archive_findings::ArchiveFindingsError, + >, + > { + self.customize_middleware().await + } ///

                                                                                          The ID of the detector that specifies the GuardDuty service whose findings you want to archive.

                                                                                          pub fn detector_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.detector_id(input.into()); diff --git a/sdk/guardduty/src/operation/create_detector/builders.rs b/sdk/guardduty/src/operation/create_detector/builders.rs index d26200a6c5d5..0740159ea90b 100644 --- a/sdk/guardduty/src/operation/create_detector/builders.rs +++ b/sdk/guardduty/src/operation/create_detector/builders.rs @@ -20,9 +20,9 @@ impl CreateDetectorFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -78,6 +78,20 @@ impl CreateDetectorFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::create_detector::CreateDetector, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                                          A Boolean value that specifies whether the detector is to be enabled.

                                                                                          pub fn enable(mut self, input: bool) -> Self { self.inner = self.inner.enable(input); diff --git a/sdk/guardduty/src/operation/create_filter/builders.rs b/sdk/guardduty/src/operation/create_filter/builders.rs index 93c212114bcf..7a290f458167 100644 --- a/sdk/guardduty/src/operation/create_filter/builders.rs +++ b/sdk/guardduty/src/operation/create_filter/builders.rs @@ -19,9 +19,9 @@ impl CreateFilterFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl CreateFilterFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::create_filter::CreateFilter, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                                          The ID of the detector belonging to the GuardDuty account that you want to create a filter for.

                                                                                          pub fn detector_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.detector_id(input.into()); diff --git a/sdk/guardduty/src/operation/create_ip_set/builders.rs b/sdk/guardduty/src/operation/create_ip_set/builders.rs index d0d8e365f941..84da0a985a2d 100644 --- a/sdk/guardduty/src/operation/create_ip_set/builders.rs +++ b/sdk/guardduty/src/operation/create_ip_set/builders.rs @@ -19,9 +19,9 @@ impl CreateIPSetFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl CreateIPSetFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::create_ip_set::CreateIPSet, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                                          The unique ID of the detector of the GuardDuty account that you want to create an IPSet for.

                                                                                          pub fn detector_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.detector_id(input.into()); diff --git a/sdk/guardduty/src/operation/create_members/builders.rs b/sdk/guardduty/src/operation/create_members/builders.rs index 53dfdc991f0e..301c247bea31 100644 --- a/sdk/guardduty/src/operation/create_members/builders.rs +++ b/sdk/guardduty/src/operation/create_members/builders.rs @@ -21,9 +21,9 @@ impl CreateMembersFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -79,6 +79,20 @@ impl CreateMembersFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::create_members::CreateMembers, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                                          The unique ID of the detector of the GuardDuty account that you want to associate member accounts with.

                                                                                          pub fn detector_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.detector_id(input.into()); diff --git a/sdk/guardduty/src/operation/create_publishing_destination/builders.rs b/sdk/guardduty/src/operation/create_publishing_destination/builders.rs index 15422f0d96b0..3830d7be25e5 100644 --- a/sdk/guardduty/src/operation/create_publishing_destination/builders.rs +++ b/sdk/guardduty/src/operation/create_publishing_destination/builders.rs @@ -19,9 +19,9 @@ impl CreatePublishingDestinationFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl CreatePublishingDestinationFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::create_publishing_destination::CreatePublishingDestination, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::create_publishing_destination::CreatePublishingDestinationError, + >, + > { + self.customize_middleware().await + } ///

                                                                                          The ID of the GuardDuty detector associated with the publishing destination.

                                                                                          pub fn detector_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.detector_id(input.into()); diff --git a/sdk/guardduty/src/operation/create_sample_findings/builders.rs b/sdk/guardduty/src/operation/create_sample_findings/builders.rs index 02076f3ae3d7..565558dcaccd 100644 --- a/sdk/guardduty/src/operation/create_sample_findings/builders.rs +++ b/sdk/guardduty/src/operation/create_sample_findings/builders.rs @@ -19,9 +19,9 @@ impl CreateSampleFindingsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl CreateSampleFindingsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::create_sample_findings::CreateSampleFindings, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::create_sample_findings::CreateSampleFindingsError, + >, + > { + self.customize_middleware().await + } ///

                                                                                          The ID of the detector to create sample findings for.

                                                                                          pub fn detector_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.detector_id(input.into()); diff --git a/sdk/guardduty/src/operation/create_threat_intel_set/builders.rs b/sdk/guardduty/src/operation/create_threat_intel_set/builders.rs index 1fb266b5f20e..2b8e80520da8 100644 --- a/sdk/guardduty/src/operation/create_threat_intel_set/builders.rs +++ b/sdk/guardduty/src/operation/create_threat_intel_set/builders.rs @@ -19,9 +19,9 @@ impl CreateThreatIntelSetFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl CreateThreatIntelSetFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::create_threat_intel_set::CreateThreatIntelSet, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::create_threat_intel_set::CreateThreatIntelSetError, + >, + > { + self.customize_middleware().await + } ///

                                                                                          The unique ID of the detector of the GuardDuty account that you want to create a threatIntelSet for.

                                                                                          pub fn detector_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.detector_id(input.into()); diff --git a/sdk/guardduty/src/operation/decline_invitations/builders.rs b/sdk/guardduty/src/operation/decline_invitations/builders.rs index e5a04f111aca..634427e32aeb 100644 --- a/sdk/guardduty/src/operation/decline_invitations/builders.rs +++ b/sdk/guardduty/src/operation/decline_invitations/builders.rs @@ -19,9 +19,9 @@ impl DeclineInvitationsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl DeclineInvitationsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::decline_invitations::DeclineInvitations, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::decline_invitations::DeclineInvitationsError, + >, + > { + self.customize_middleware().await + } /// Appends an item to `AccountIds`. /// /// To override the contents of this collection use [`set_account_ids`](Self::set_account_ids). diff --git a/sdk/guardduty/src/operation/delete_detector/builders.rs b/sdk/guardduty/src/operation/delete_detector/builders.rs index d95d42612dc2..a855899e5358 100644 --- a/sdk/guardduty/src/operation/delete_detector/builders.rs +++ b/sdk/guardduty/src/operation/delete_detector/builders.rs @@ -19,9 +19,9 @@ impl DeleteDetectorFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl DeleteDetectorFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::delete_detector::DeleteDetector, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                                          The unique ID of the detector that you want to delete.

                                                                                          pub fn detector_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.detector_id(input.into()); diff --git a/sdk/guardduty/src/operation/delete_filter/builders.rs b/sdk/guardduty/src/operation/delete_filter/builders.rs index 27645f1946b8..f6301d006ece 100644 --- a/sdk/guardduty/src/operation/delete_filter/builders.rs +++ b/sdk/guardduty/src/operation/delete_filter/builders.rs @@ -19,9 +19,9 @@ impl DeleteFilterFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl DeleteFilterFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::delete_filter::DeleteFilter, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                                          The unique ID of the detector that the filter is associated with.

                                                                                          pub fn detector_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.detector_id(input.into()); diff --git a/sdk/guardduty/src/operation/delete_invitations/builders.rs b/sdk/guardduty/src/operation/delete_invitations/builders.rs index bc450beacec1..6a47be80bd55 100644 --- a/sdk/guardduty/src/operation/delete_invitations/builders.rs +++ b/sdk/guardduty/src/operation/delete_invitations/builders.rs @@ -19,9 +19,9 @@ impl DeleteInvitationsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl DeleteInvitationsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::delete_invitations::DeleteInvitations, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::delete_invitations::DeleteInvitationsError, + >, + > { + self.customize_middleware().await + } /// Appends an item to `AccountIds`. /// /// To override the contents of this collection use [`set_account_ids`](Self::set_account_ids). diff --git a/sdk/guardduty/src/operation/delete_ip_set/builders.rs b/sdk/guardduty/src/operation/delete_ip_set/builders.rs index bd772b0c9cb8..1b3cad906d34 100644 --- a/sdk/guardduty/src/operation/delete_ip_set/builders.rs +++ b/sdk/guardduty/src/operation/delete_ip_set/builders.rs @@ -19,9 +19,9 @@ impl DeleteIPSetFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl DeleteIPSetFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::delete_ip_set::DeleteIPSet, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                                          The unique ID of the detector associated with the IPSet.

                                                                                          pub fn detector_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.detector_id(input.into()); diff --git a/sdk/guardduty/src/operation/delete_members/builders.rs b/sdk/guardduty/src/operation/delete_members/builders.rs index 8a627bf27626..b7211ebe08d8 100644 --- a/sdk/guardduty/src/operation/delete_members/builders.rs +++ b/sdk/guardduty/src/operation/delete_members/builders.rs @@ -20,9 +20,9 @@ impl DeleteMembersFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -78,6 +78,20 @@ impl DeleteMembersFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::delete_members::DeleteMembers, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                                          The unique ID of the detector of the GuardDuty account whose members you want to delete.

                                                                                          pub fn detector_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.detector_id(input.into()); diff --git a/sdk/guardduty/src/operation/delete_publishing_destination/builders.rs b/sdk/guardduty/src/operation/delete_publishing_destination/builders.rs index cc53e54a2f22..b3d916e3f53f 100644 --- a/sdk/guardduty/src/operation/delete_publishing_destination/builders.rs +++ b/sdk/guardduty/src/operation/delete_publishing_destination/builders.rs @@ -19,9 +19,9 @@ impl DeletePublishingDestinationFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl DeletePublishingDestinationFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::delete_publishing_destination::DeletePublishingDestination, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::delete_publishing_destination::DeletePublishingDestinationError, + >, + > { + self.customize_middleware().await + } ///

                                                                                          The unique ID of the detector associated with the publishing destination to delete.

                                                                                          pub fn detector_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.detector_id(input.into()); diff --git a/sdk/guardduty/src/operation/delete_threat_intel_set/builders.rs b/sdk/guardduty/src/operation/delete_threat_intel_set/builders.rs index 1592dafe295c..b08b5c077167 100644 --- a/sdk/guardduty/src/operation/delete_threat_intel_set/builders.rs +++ b/sdk/guardduty/src/operation/delete_threat_intel_set/builders.rs @@ -19,9 +19,9 @@ impl DeleteThreatIntelSetFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl DeleteThreatIntelSetFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::delete_threat_intel_set::DeleteThreatIntelSet, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::delete_threat_intel_set::DeleteThreatIntelSetError, + >, + > { + self.customize_middleware().await + } ///

                                                                                          The unique ID of the detector that the threatIntelSet is associated with.

                                                                                          pub fn detector_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.detector_id(input.into()); diff --git a/sdk/guardduty/src/operation/describe_malware_scans/builders.rs b/sdk/guardduty/src/operation/describe_malware_scans/builders.rs index f2eb3581704c..27f0c693243b 100644 --- a/sdk/guardduty/src/operation/describe_malware_scans/builders.rs +++ b/sdk/guardduty/src/operation/describe_malware_scans/builders.rs @@ -20,9 +20,9 @@ impl DescribeMalwareScansFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -84,6 +84,22 @@ impl DescribeMalwareScansFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::describe_malware_scans::DescribeMalwareScans, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::describe_malware_scans::DescribeMalwareScansError, + >, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::describe_malware_scans::paginator::DescribeMalwareScansPaginator::send) which returns a `Stream`. diff --git a/sdk/guardduty/src/operation/describe_organization_configuration/builders.rs b/sdk/guardduty/src/operation/describe_organization_configuration/builders.rs index 465b03a1d70d..a14eaac704dd 100644 --- a/sdk/guardduty/src/operation/describe_organization_configuration/builders.rs +++ b/sdk/guardduty/src/operation/describe_organization_configuration/builders.rs @@ -20,9 +20,9 @@ impl DescribeOrganizationConfigurationFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize(self) -> ::std::result::Result< + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware(self) -> ::std::result::Result< crate::client::customize::CustomizableOperation, ::aws_smithy_http::result::SdkError >{ @@ -65,6 +65,15 @@ impl DescribeOrganizationConfigurationFluentBuilder { { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize(self) -> ::std::result::Result< + crate::client::customize::CustomizableOperation, + ::aws_smithy_http::result::SdkError + >{ + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::describe_organization_configuration::paginator::DescribeOrganizationConfigurationPaginator::send) which returns a `Stream`. diff --git a/sdk/guardduty/src/operation/describe_publishing_destination/builders.rs b/sdk/guardduty/src/operation/describe_publishing_destination/builders.rs index a07cdc055028..4e356403a7a0 100644 --- a/sdk/guardduty/src/operation/describe_publishing_destination/builders.rs +++ b/sdk/guardduty/src/operation/describe_publishing_destination/builders.rs @@ -19,9 +19,9 @@ impl DescribePublishingDestinationFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl DescribePublishingDestinationFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::describe_publishing_destination::DescribePublishingDestination, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::describe_publishing_destination::DescribePublishingDestinationError, + >, + > { + self.customize_middleware().await + } ///

                                                                                          The unique ID of the detector associated with the publishing destination to retrieve.

                                                                                          pub fn detector_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.detector_id(input.into()); diff --git a/sdk/guardduty/src/operation/disable_organization_admin_account/builders.rs b/sdk/guardduty/src/operation/disable_organization_admin_account/builders.rs index 35879da1407f..84648a7127f5 100644 --- a/sdk/guardduty/src/operation/disable_organization_admin_account/builders.rs +++ b/sdk/guardduty/src/operation/disable_organization_admin_account/builders.rs @@ -19,9 +19,9 @@ impl DisableOrganizationAdminAccountFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize(self) -> ::std::result::Result< + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware(self) -> ::std::result::Result< crate::client::customize::CustomizableOperation, ::aws_smithy_http::result::SdkError >{ @@ -64,6 +64,15 @@ impl DisableOrganizationAdminAccountFluentBuilder { { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize(self) -> ::std::result::Result< + crate::client::customize::CustomizableOperation, + ::aws_smithy_http::result::SdkError + >{ + self.customize_middleware().await + } ///

                                                                                          The Amazon Web Services Account ID for the organizations account to be disabled as a GuardDuty delegated administrator.

                                                                                          pub fn admin_account_id( mut self, diff --git a/sdk/guardduty/src/operation/disassociate_from_administrator_account/builders.rs b/sdk/guardduty/src/operation/disassociate_from_administrator_account/builders.rs index 0c2b0fd016b3..8e826bf8e759 100644 --- a/sdk/guardduty/src/operation/disassociate_from_administrator_account/builders.rs +++ b/sdk/guardduty/src/operation/disassociate_from_administrator_account/builders.rs @@ -20,9 +20,9 @@ impl DisassociateFromAdministratorAccountFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize(self) -> ::std::result::Result< + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware(self) -> ::std::result::Result< crate::client::customize::CustomizableOperation, ::aws_smithy_http::result::SdkError >{ @@ -65,6 +65,15 @@ impl DisassociateFromAdministratorAccountFluentBuilder { { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize(self) -> ::std::result::Result< + crate::client::customize::CustomizableOperation, + ::aws_smithy_http::result::SdkError + >{ + self.customize_middleware().await + } ///

                                                                                          The unique ID of the detector of the GuardDuty member account.

                                                                                          pub fn detector_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.detector_id(input.into()); diff --git a/sdk/guardduty/src/operation/disassociate_from_master_account/builders.rs b/sdk/guardduty/src/operation/disassociate_from_master_account/builders.rs index e5fb521b94f3..bd9454b0917f 100644 --- a/sdk/guardduty/src/operation/disassociate_from_master_account/builders.rs +++ b/sdk/guardduty/src/operation/disassociate_from_master_account/builders.rs @@ -22,9 +22,9 @@ impl DisassociateFromMasterAccountFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -86,6 +86,22 @@ impl DisassociateFromMasterAccountFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::disassociate_from_master_account::DisassociateFromMasterAccount, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::disassociate_from_master_account::DisassociateFromMasterAccountError, + >, + > { + self.customize_middleware().await + } ///

                                                                                          The unique ID of the detector of the GuardDuty member account.

                                                                                          pub fn detector_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.detector_id(input.into()); diff --git a/sdk/guardduty/src/operation/disassociate_members/builders.rs b/sdk/guardduty/src/operation/disassociate_members/builders.rs index 5170b55d5c26..18da033d63e0 100644 --- a/sdk/guardduty/src/operation/disassociate_members/builders.rs +++ b/sdk/guardduty/src/operation/disassociate_members/builders.rs @@ -20,9 +20,9 @@ impl DisassociateMembersFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -84,6 +84,22 @@ impl DisassociateMembersFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::disassociate_members::DisassociateMembers, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::disassociate_members::DisassociateMembersError, + >, + > { + self.customize_middleware().await + } ///

                                                                                          The unique ID of the detector of the GuardDuty account whose members you want to disassociate from the administrator account.

                                                                                          pub fn detector_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.detector_id(input.into()); diff --git a/sdk/guardduty/src/operation/enable_organization_admin_account/builders.rs b/sdk/guardduty/src/operation/enable_organization_admin_account/builders.rs index aa610e64e1c0..c4e9921968ac 100644 --- a/sdk/guardduty/src/operation/enable_organization_admin_account/builders.rs +++ b/sdk/guardduty/src/operation/enable_organization_admin_account/builders.rs @@ -19,9 +19,9 @@ impl EnableOrganizationAdminAccountFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize(self) -> ::std::result::Result< + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware(self) -> ::std::result::Result< crate::client::customize::CustomizableOperation, ::aws_smithy_http::result::SdkError >{ @@ -64,6 +64,15 @@ impl EnableOrganizationAdminAccountFluentBuilder { { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize(self) -> ::std::result::Result< + crate::client::customize::CustomizableOperation, + ::aws_smithy_http::result::SdkError + >{ + self.customize_middleware().await + } ///

                                                                                          The Amazon Web Services Account ID for the organization account to be enabled as a GuardDuty delegated administrator.

                                                                                          pub fn admin_account_id( mut self, diff --git a/sdk/guardduty/src/operation/get_administrator_account/builders.rs b/sdk/guardduty/src/operation/get_administrator_account/builders.rs index 987eaf4e5869..0ccb6d3e982c 100644 --- a/sdk/guardduty/src/operation/get_administrator_account/builders.rs +++ b/sdk/guardduty/src/operation/get_administrator_account/builders.rs @@ -20,9 +20,9 @@ impl GetAdministratorAccountFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -84,6 +84,22 @@ impl GetAdministratorAccountFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::get_administrator_account::GetAdministratorAccount, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::get_administrator_account::GetAdministratorAccountError, + >, + > { + self.customize_middleware().await + } ///

                                                                                          The unique ID of the detector of the GuardDuty member account.

                                                                                          pub fn detector_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.detector_id(input.into()); diff --git a/sdk/guardduty/src/operation/get_coverage_statistics/builders.rs b/sdk/guardduty/src/operation/get_coverage_statistics/builders.rs index d90cb96b8e68..0af4fd2eb754 100644 --- a/sdk/guardduty/src/operation/get_coverage_statistics/builders.rs +++ b/sdk/guardduty/src/operation/get_coverage_statistics/builders.rs @@ -19,9 +19,9 @@ impl GetCoverageStatisticsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl GetCoverageStatisticsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::get_coverage_statistics::GetCoverageStatistics, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::get_coverage_statistics::GetCoverageStatisticsError, + >, + > { + self.customize_middleware().await + } ///

                                                                                          The unique ID of the GuardDuty detector associated to the coverage statistics.

                                                                                          pub fn detector_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.detector_id(input.into()); diff --git a/sdk/guardduty/src/operation/get_detector/builders.rs b/sdk/guardduty/src/operation/get_detector/builders.rs index 79654f01a569..70b44c76e579 100644 --- a/sdk/guardduty/src/operation/get_detector/builders.rs +++ b/sdk/guardduty/src/operation/get_detector/builders.rs @@ -20,9 +20,9 @@ impl GetDetectorFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -78,6 +78,20 @@ impl GetDetectorFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::get_detector::GetDetector, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                                          The unique ID of the detector that you want to get.

                                                                                          pub fn detector_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.detector_id(input.into()); diff --git a/sdk/guardduty/src/operation/get_filter/builders.rs b/sdk/guardduty/src/operation/get_filter/builders.rs index 660f25e1a54b..5d1507381c53 100644 --- a/sdk/guardduty/src/operation/get_filter/builders.rs +++ b/sdk/guardduty/src/operation/get_filter/builders.rs @@ -19,9 +19,9 @@ impl GetFilterFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl GetFilterFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::get_filter::GetFilter, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                                          The unique ID of the detector that the filter is associated with.

                                                                                          pub fn detector_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.detector_id(input.into()); diff --git a/sdk/guardduty/src/operation/get_findings/builders.rs b/sdk/guardduty/src/operation/get_findings/builders.rs index 61554a6b7550..8d1b58b0741c 100644 --- a/sdk/guardduty/src/operation/get_findings/builders.rs +++ b/sdk/guardduty/src/operation/get_findings/builders.rs @@ -19,9 +19,9 @@ impl GetFindingsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl GetFindingsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::get_findings::GetFindings, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                                          The ID of the detector that specifies the GuardDuty service whose findings you want to retrieve.

                                                                                          pub fn detector_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.detector_id(input.into()); diff --git a/sdk/guardduty/src/operation/get_findings_statistics/builders.rs b/sdk/guardduty/src/operation/get_findings_statistics/builders.rs index 8027faca330c..63bac2071341 100644 --- a/sdk/guardduty/src/operation/get_findings_statistics/builders.rs +++ b/sdk/guardduty/src/operation/get_findings_statistics/builders.rs @@ -19,9 +19,9 @@ impl GetFindingsStatisticsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl GetFindingsStatisticsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::get_findings_statistics::GetFindingsStatistics, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::get_findings_statistics::GetFindingsStatisticsError, + >, + > { + self.customize_middleware().await + } ///

                                                                                          The ID of the detector that specifies the GuardDuty service whose findings' statistics you want to retrieve.

                                                                                          pub fn detector_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.detector_id(input.into()); diff --git a/sdk/guardduty/src/operation/get_invitations_count/builders.rs b/sdk/guardduty/src/operation/get_invitations_count/builders.rs index aab6cf0e2b8f..6dfe21f2dd31 100644 --- a/sdk/guardduty/src/operation/get_invitations_count/builders.rs +++ b/sdk/guardduty/src/operation/get_invitations_count/builders.rs @@ -19,9 +19,9 @@ impl GetInvitationsCountFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,4 +83,20 @@ impl GetInvitationsCountFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::get_invitations_count::GetInvitationsCount, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::get_invitations_count::GetInvitationsCountError, + >, + > { + self.customize_middleware().await + } } diff --git a/sdk/guardduty/src/operation/get_ip_set/builders.rs b/sdk/guardduty/src/operation/get_ip_set/builders.rs index bb9945a547ef..10042e8920c3 100644 --- a/sdk/guardduty/src/operation/get_ip_set/builders.rs +++ b/sdk/guardduty/src/operation/get_ip_set/builders.rs @@ -19,9 +19,9 @@ impl GetIPSetFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl GetIPSetFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::get_ip_set::GetIPSet, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                                          The unique ID of the detector that the IPSet is associated with.

                                                                                          pub fn detector_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.detector_id(input.into()); diff --git a/sdk/guardduty/src/operation/get_malware_scan_settings/builders.rs b/sdk/guardduty/src/operation/get_malware_scan_settings/builders.rs index ac3776717f3f..2694d630acad 100644 --- a/sdk/guardduty/src/operation/get_malware_scan_settings/builders.rs +++ b/sdk/guardduty/src/operation/get_malware_scan_settings/builders.rs @@ -21,9 +21,9 @@ impl GetMalwareScanSettingsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -85,6 +85,22 @@ impl GetMalwareScanSettingsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::get_malware_scan_settings::GetMalwareScanSettings, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::get_malware_scan_settings::GetMalwareScanSettingsError, + >, + > { + self.customize_middleware().await + } ///

                                                                                          The unique ID of the detector that the scan setting is associated with.

                                                                                          pub fn detector_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.detector_id(input.into()); diff --git a/sdk/guardduty/src/operation/get_master_account/builders.rs b/sdk/guardduty/src/operation/get_master_account/builders.rs index 266484dc9811..27d66080aee8 100644 --- a/sdk/guardduty/src/operation/get_master_account/builders.rs +++ b/sdk/guardduty/src/operation/get_master_account/builders.rs @@ -20,9 +20,9 @@ impl GetMasterAccountFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -84,6 +84,22 @@ impl GetMasterAccountFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::get_master_account::GetMasterAccount, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::get_master_account::GetMasterAccountError, + >, + > { + self.customize_middleware().await + } ///

                                                                                          The unique ID of the detector of the GuardDuty member account.

                                                                                          pub fn detector_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.detector_id(input.into()); diff --git a/sdk/guardduty/src/operation/get_member_detectors/builders.rs b/sdk/guardduty/src/operation/get_member_detectors/builders.rs index 467a9c9ef386..4dec423d516f 100644 --- a/sdk/guardduty/src/operation/get_member_detectors/builders.rs +++ b/sdk/guardduty/src/operation/get_member_detectors/builders.rs @@ -20,9 +20,9 @@ impl GetMemberDetectorsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -84,6 +84,22 @@ impl GetMemberDetectorsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::get_member_detectors::GetMemberDetectors, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::get_member_detectors::GetMemberDetectorsError, + >, + > { + self.customize_middleware().await + } ///

                                                                                          The detector ID for the administrator account.

                                                                                          pub fn detector_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.detector_id(input.into()); diff --git a/sdk/guardduty/src/operation/get_members/builders.rs b/sdk/guardduty/src/operation/get_members/builders.rs index d072f87e7ba5..f9d5126f89e0 100644 --- a/sdk/guardduty/src/operation/get_members/builders.rs +++ b/sdk/guardduty/src/operation/get_members/builders.rs @@ -19,9 +19,9 @@ impl GetMembersFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl GetMembersFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::get_members::GetMembers, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                                          The unique ID of the detector of the GuardDuty account whose members you want to retrieve.

                                                                                          pub fn detector_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.detector_id(input.into()); diff --git a/sdk/guardduty/src/operation/get_remaining_free_trial_days/builders.rs b/sdk/guardduty/src/operation/get_remaining_free_trial_days/builders.rs index f2594f72ef15..9b84201ea22a 100644 --- a/sdk/guardduty/src/operation/get_remaining_free_trial_days/builders.rs +++ b/sdk/guardduty/src/operation/get_remaining_free_trial_days/builders.rs @@ -19,9 +19,9 @@ impl GetRemainingFreeTrialDaysFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl GetRemainingFreeTrialDaysFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::get_remaining_free_trial_days::GetRemainingFreeTrialDays, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::get_remaining_free_trial_days::GetRemainingFreeTrialDaysError, + >, + > { + self.customize_middleware().await + } ///

                                                                                          The unique ID of the detector of the GuardDuty member account.

                                                                                          pub fn detector_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.detector_id(input.into()); diff --git a/sdk/guardduty/src/operation/get_threat_intel_set/builders.rs b/sdk/guardduty/src/operation/get_threat_intel_set/builders.rs index 5e8b105a1c35..91ad1b5e03cf 100644 --- a/sdk/guardduty/src/operation/get_threat_intel_set/builders.rs +++ b/sdk/guardduty/src/operation/get_threat_intel_set/builders.rs @@ -19,9 +19,9 @@ impl GetThreatIntelSetFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl GetThreatIntelSetFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::get_threat_intel_set::GetThreatIntelSet, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::get_threat_intel_set::GetThreatIntelSetError, + >, + > { + self.customize_middleware().await + } ///

                                                                                          The unique ID of the detector that the threatIntelSet is associated with.

                                                                                          pub fn detector_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.detector_id(input.into()); diff --git a/sdk/guardduty/src/operation/get_usage_statistics/builders.rs b/sdk/guardduty/src/operation/get_usage_statistics/builders.rs index 62d0e9f97cae..b2381473f059 100644 --- a/sdk/guardduty/src/operation/get_usage_statistics/builders.rs +++ b/sdk/guardduty/src/operation/get_usage_statistics/builders.rs @@ -19,9 +19,9 @@ impl GetUsageStatisticsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl GetUsageStatisticsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::get_usage_statistics::GetUsageStatistics, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::get_usage_statistics::GetUsageStatisticsError, + >, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::get_usage_statistics::paginator::GetUsageStatisticsPaginator::send) which returns a `Stream`. diff --git a/sdk/guardduty/src/operation/invite_members/builders.rs b/sdk/guardduty/src/operation/invite_members/builders.rs index 6f1596093649..4359e85ac1ea 100644 --- a/sdk/guardduty/src/operation/invite_members/builders.rs +++ b/sdk/guardduty/src/operation/invite_members/builders.rs @@ -19,9 +19,9 @@ impl InviteMembersFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl InviteMembersFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::invite_members::InviteMembers, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                                          The unique ID of the detector of the GuardDuty account that you want to invite members with.

                                                                                          pub fn detector_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.detector_id(input.into()); diff --git a/sdk/guardduty/src/operation/list_coverage/builders.rs b/sdk/guardduty/src/operation/list_coverage/builders.rs index 551ae7e64a48..29983c556740 100644 --- a/sdk/guardduty/src/operation/list_coverage/builders.rs +++ b/sdk/guardduty/src/operation/list_coverage/builders.rs @@ -20,9 +20,9 @@ impl ListCoverageFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -78,6 +78,20 @@ impl ListCoverageFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_coverage::ListCoverage, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::list_coverage::paginator::ListCoveragePaginator::send) which returns a `Stream`. diff --git a/sdk/guardduty/src/operation/list_detectors/builders.rs b/sdk/guardduty/src/operation/list_detectors/builders.rs index c03ff7e50288..7c6c8d6b3fa9 100644 --- a/sdk/guardduty/src/operation/list_detectors/builders.rs +++ b/sdk/guardduty/src/operation/list_detectors/builders.rs @@ -19,9 +19,9 @@ impl ListDetectorsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl ListDetectorsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_detectors::ListDetectors, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::list_detectors::paginator::ListDetectorsPaginator::send) which returns a `Stream`. diff --git a/sdk/guardduty/src/operation/list_filters/builders.rs b/sdk/guardduty/src/operation/list_filters/builders.rs index cca6a7246bfc..44abbcc14c94 100644 --- a/sdk/guardduty/src/operation/list_filters/builders.rs +++ b/sdk/guardduty/src/operation/list_filters/builders.rs @@ -19,9 +19,9 @@ impl ListFiltersFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl ListFiltersFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_filters::ListFilters, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::list_filters::paginator::ListFiltersPaginator::send) which returns a `Stream`. diff --git a/sdk/guardduty/src/operation/list_findings/builders.rs b/sdk/guardduty/src/operation/list_findings/builders.rs index cd839f8d80a3..2eece31d519f 100644 --- a/sdk/guardduty/src/operation/list_findings/builders.rs +++ b/sdk/guardduty/src/operation/list_findings/builders.rs @@ -19,9 +19,9 @@ impl ListFindingsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl ListFindingsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_findings::ListFindings, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::list_findings::paginator::ListFindingsPaginator::send) which returns a `Stream`. diff --git a/sdk/guardduty/src/operation/list_invitations/builders.rs b/sdk/guardduty/src/operation/list_invitations/builders.rs index 9956d95d31f7..403aaf1f765d 100644 --- a/sdk/guardduty/src/operation/list_invitations/builders.rs +++ b/sdk/guardduty/src/operation/list_invitations/builders.rs @@ -19,9 +19,9 @@ impl ListInvitationsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl ListInvitationsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_invitations::ListInvitations, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::list_invitations::ListInvitationsError, + >, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::list_invitations::paginator::ListInvitationsPaginator::send) which returns a `Stream`. diff --git a/sdk/guardduty/src/operation/list_ip_sets/builders.rs b/sdk/guardduty/src/operation/list_ip_sets/builders.rs index fdeeb4cb9260..0b4a5e09c210 100644 --- a/sdk/guardduty/src/operation/list_ip_sets/builders.rs +++ b/sdk/guardduty/src/operation/list_ip_sets/builders.rs @@ -19,9 +19,9 @@ impl ListIPSetsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl ListIPSetsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_ip_sets::ListIPSets, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::list_ip_sets::paginator::ListIpSetsPaginator::send) which returns a `Stream`. diff --git a/sdk/guardduty/src/operation/list_members/builders.rs b/sdk/guardduty/src/operation/list_members/builders.rs index 041f5b2f112d..8245a26d7c2b 100644 --- a/sdk/guardduty/src/operation/list_members/builders.rs +++ b/sdk/guardduty/src/operation/list_members/builders.rs @@ -19,9 +19,9 @@ impl ListMembersFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl ListMembersFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_members::ListMembers, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::list_members::paginator::ListMembersPaginator::send) which returns a `Stream`. diff --git a/sdk/guardduty/src/operation/list_organization_admin_accounts/builders.rs b/sdk/guardduty/src/operation/list_organization_admin_accounts/builders.rs index 11480194fc18..e0486b8d9193 100644 --- a/sdk/guardduty/src/operation/list_organization_admin_accounts/builders.rs +++ b/sdk/guardduty/src/operation/list_organization_admin_accounts/builders.rs @@ -19,9 +19,9 @@ impl ListOrganizationAdminAccountsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl ListOrganizationAdminAccountsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_organization_admin_accounts::ListOrganizationAdminAccounts, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::list_organization_admin_accounts::ListOrganizationAdminAccountsError, + >, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::list_organization_admin_accounts::paginator::ListOrganizationAdminAccountsPaginator::send) which returns a `Stream`. diff --git a/sdk/guardduty/src/operation/list_publishing_destinations/builders.rs b/sdk/guardduty/src/operation/list_publishing_destinations/builders.rs index 08124fb56d42..8f5cee1d77a4 100644 --- a/sdk/guardduty/src/operation/list_publishing_destinations/builders.rs +++ b/sdk/guardduty/src/operation/list_publishing_destinations/builders.rs @@ -19,9 +19,9 @@ impl ListPublishingDestinationsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl ListPublishingDestinationsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_publishing_destinations::ListPublishingDestinations, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::list_publishing_destinations::ListPublishingDestinationsError, + >, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::list_publishing_destinations::paginator::ListPublishingDestinationsPaginator::send) which returns a `Stream`. diff --git a/sdk/guardduty/src/operation/list_tags_for_resource/builders.rs b/sdk/guardduty/src/operation/list_tags_for_resource/builders.rs index d584d225441c..b61805fc121d 100644 --- a/sdk/guardduty/src/operation/list_tags_for_resource/builders.rs +++ b/sdk/guardduty/src/operation/list_tags_for_resource/builders.rs @@ -19,9 +19,9 @@ impl ListTagsForResourceFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl ListTagsForResourceFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_tags_for_resource::ListTagsForResource, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::list_tags_for_resource::ListTagsForResourceError, + >, + > { + self.customize_middleware().await + } ///

                                                                                          The Amazon Resource Name (ARN) for the given GuardDuty resource.

                                                                                          pub fn resource_arn(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.resource_arn(input.into()); diff --git a/sdk/guardduty/src/operation/list_threat_intel_sets/builders.rs b/sdk/guardduty/src/operation/list_threat_intel_sets/builders.rs index cd07f1dca7fa..0ef8b65e5fdd 100644 --- a/sdk/guardduty/src/operation/list_threat_intel_sets/builders.rs +++ b/sdk/guardduty/src/operation/list_threat_intel_sets/builders.rs @@ -19,9 +19,9 @@ impl ListThreatIntelSetsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl ListThreatIntelSetsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_threat_intel_sets::ListThreatIntelSets, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::list_threat_intel_sets::ListThreatIntelSetsError, + >, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::list_threat_intel_sets::paginator::ListThreatIntelSetsPaginator::send) which returns a `Stream`. diff --git a/sdk/guardduty/src/operation/start_malware_scan/builders.rs b/sdk/guardduty/src/operation/start_malware_scan/builders.rs index 5721707ba4da..10af8638c8c8 100644 --- a/sdk/guardduty/src/operation/start_malware_scan/builders.rs +++ b/sdk/guardduty/src/operation/start_malware_scan/builders.rs @@ -19,9 +19,9 @@ impl StartMalwareScanFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl StartMalwareScanFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::start_malware_scan::StartMalwareScan, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::start_malware_scan::StartMalwareScanError, + >, + > { + self.customize_middleware().await + } ///

                                                                                          Amazon Resource Name (ARN) of the resource for which you invoked the API.

                                                                                          pub fn resource_arn(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.resource_arn(input.into()); diff --git a/sdk/guardduty/src/operation/start_monitoring_members/builders.rs b/sdk/guardduty/src/operation/start_monitoring_members/builders.rs index cf43d6b26d3b..52070800c35b 100644 --- a/sdk/guardduty/src/operation/start_monitoring_members/builders.rs +++ b/sdk/guardduty/src/operation/start_monitoring_members/builders.rs @@ -19,9 +19,9 @@ impl StartMonitoringMembersFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl StartMonitoringMembersFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::start_monitoring_members::StartMonitoringMembers, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::start_monitoring_members::StartMonitoringMembersError, + >, + > { + self.customize_middleware().await + } ///

                                                                                          The unique ID of the detector of the GuardDuty administrator account associated with the member accounts to monitor.

                                                                                          pub fn detector_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.detector_id(input.into()); diff --git a/sdk/guardduty/src/operation/stop_monitoring_members/builders.rs b/sdk/guardduty/src/operation/stop_monitoring_members/builders.rs index abfe04d3e68b..bf819be9116d 100644 --- a/sdk/guardduty/src/operation/stop_monitoring_members/builders.rs +++ b/sdk/guardduty/src/operation/stop_monitoring_members/builders.rs @@ -20,9 +20,9 @@ impl StopMonitoringMembersFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -84,6 +84,22 @@ impl StopMonitoringMembersFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::stop_monitoring_members::StopMonitoringMembers, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::stop_monitoring_members::StopMonitoringMembersError, + >, + > { + self.customize_middleware().await + } ///

                                                                                          The unique ID of the detector associated with the GuardDuty administrator account that is monitoring member accounts.

                                                                                          pub fn detector_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.detector_id(input.into()); diff --git a/sdk/guardduty/src/operation/tag_resource/builders.rs b/sdk/guardduty/src/operation/tag_resource/builders.rs index 5fa8578d67ad..b31713a7df1f 100644 --- a/sdk/guardduty/src/operation/tag_resource/builders.rs +++ b/sdk/guardduty/src/operation/tag_resource/builders.rs @@ -19,9 +19,9 @@ impl TagResourceFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl TagResourceFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::tag_resource::TagResource, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                                          The Amazon Resource Name (ARN) for the GuardDuty resource to apply a tag to.

                                                                                          pub fn resource_arn(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.resource_arn(input.into()); diff --git a/sdk/guardduty/src/operation/unarchive_findings/builders.rs b/sdk/guardduty/src/operation/unarchive_findings/builders.rs index dc31a0c0067d..22c2a1c19b1d 100644 --- a/sdk/guardduty/src/operation/unarchive_findings/builders.rs +++ b/sdk/guardduty/src/operation/unarchive_findings/builders.rs @@ -19,9 +19,9 @@ impl UnarchiveFindingsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl UnarchiveFindingsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::unarchive_findings::UnarchiveFindings, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::unarchive_findings::UnarchiveFindingsError, + >, + > { + self.customize_middleware().await + } ///

                                                                                          The ID of the detector associated with the findings to unarchive.

                                                                                          pub fn detector_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.detector_id(input.into()); diff --git a/sdk/guardduty/src/operation/untag_resource/builders.rs b/sdk/guardduty/src/operation/untag_resource/builders.rs index 0c3b1afe70f2..4f265830e7ec 100644 --- a/sdk/guardduty/src/operation/untag_resource/builders.rs +++ b/sdk/guardduty/src/operation/untag_resource/builders.rs @@ -19,9 +19,9 @@ impl UntagResourceFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl UntagResourceFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::untag_resource::UntagResource, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                                          The Amazon Resource Name (ARN) for the resource to remove tags from.

                                                                                          pub fn resource_arn(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.resource_arn(input.into()); diff --git a/sdk/guardduty/src/operation/update_detector/builders.rs b/sdk/guardduty/src/operation/update_detector/builders.rs index f7d18a8f8968..5ae842e9075d 100644 --- a/sdk/guardduty/src/operation/update_detector/builders.rs +++ b/sdk/guardduty/src/operation/update_detector/builders.rs @@ -20,9 +20,9 @@ impl UpdateDetectorFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -78,6 +78,20 @@ impl UpdateDetectorFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::update_detector::UpdateDetector, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                                          The unique ID of the detector to update.

                                                                                          pub fn detector_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.detector_id(input.into()); diff --git a/sdk/guardduty/src/operation/update_filter/builders.rs b/sdk/guardduty/src/operation/update_filter/builders.rs index f43ab2c77379..115f421b5bf8 100644 --- a/sdk/guardduty/src/operation/update_filter/builders.rs +++ b/sdk/guardduty/src/operation/update_filter/builders.rs @@ -19,9 +19,9 @@ impl UpdateFilterFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl UpdateFilterFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::update_filter::UpdateFilter, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                                          The unique ID of the detector that specifies the GuardDuty service where you want to update a filter.

                                                                                          pub fn detector_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.detector_id(input.into()); diff --git a/sdk/guardduty/src/operation/update_findings_feedback/builders.rs b/sdk/guardduty/src/operation/update_findings_feedback/builders.rs index 81e4d9e0e957..6e5a15adc868 100644 --- a/sdk/guardduty/src/operation/update_findings_feedback/builders.rs +++ b/sdk/guardduty/src/operation/update_findings_feedback/builders.rs @@ -19,9 +19,9 @@ impl UpdateFindingsFeedbackFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl UpdateFindingsFeedbackFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::update_findings_feedback::UpdateFindingsFeedback, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::update_findings_feedback::UpdateFindingsFeedbackError, + >, + > { + self.customize_middleware().await + } ///

                                                                                          The ID of the detector associated with the findings to update feedback for.

                                                                                          pub fn detector_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.detector_id(input.into()); diff --git a/sdk/guardduty/src/operation/update_ip_set/builders.rs b/sdk/guardduty/src/operation/update_ip_set/builders.rs index 1c034f4564c7..df705277a2e0 100644 --- a/sdk/guardduty/src/operation/update_ip_set/builders.rs +++ b/sdk/guardduty/src/operation/update_ip_set/builders.rs @@ -19,9 +19,9 @@ impl UpdateIPSetFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl UpdateIPSetFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::update_ip_set::UpdateIPSet, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                                          The detectorID that specifies the GuardDuty service whose IPSet you want to update.

                                                                                          pub fn detector_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.detector_id(input.into()); diff --git a/sdk/guardduty/src/operation/update_malware_scan_settings/builders.rs b/sdk/guardduty/src/operation/update_malware_scan_settings/builders.rs index 3af4508e6354..bac659d96357 100644 --- a/sdk/guardduty/src/operation/update_malware_scan_settings/builders.rs +++ b/sdk/guardduty/src/operation/update_malware_scan_settings/builders.rs @@ -20,9 +20,9 @@ impl UpdateMalwareScanSettingsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -84,6 +84,22 @@ impl UpdateMalwareScanSettingsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::update_malware_scan_settings::UpdateMalwareScanSettings, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::update_malware_scan_settings::UpdateMalwareScanSettingsError, + >, + > { + self.customize_middleware().await + } ///

                                                                                          The unique ID of the detector that specifies the GuardDuty service where you want to update scan settings.

                                                                                          pub fn detector_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.detector_id(input.into()); diff --git a/sdk/guardduty/src/operation/update_member_detectors/builders.rs b/sdk/guardduty/src/operation/update_member_detectors/builders.rs index ec6fd5a23416..1fd87c6a68b6 100644 --- a/sdk/guardduty/src/operation/update_member_detectors/builders.rs +++ b/sdk/guardduty/src/operation/update_member_detectors/builders.rs @@ -20,9 +20,9 @@ impl UpdateMemberDetectorsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -84,6 +84,22 @@ impl UpdateMemberDetectorsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::update_member_detectors::UpdateMemberDetectors, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::update_member_detectors::UpdateMemberDetectorsError, + >, + > { + self.customize_middleware().await + } ///

                                                                                          The detector ID of the administrator account.

                                                                                          pub fn detector_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.detector_id(input.into()); diff --git a/sdk/guardduty/src/operation/update_organization_configuration/builders.rs b/sdk/guardduty/src/operation/update_organization_configuration/builders.rs index 39da5a5decd5..d84f00d7f972 100644 --- a/sdk/guardduty/src/operation/update_organization_configuration/builders.rs +++ b/sdk/guardduty/src/operation/update_organization_configuration/builders.rs @@ -20,9 +20,9 @@ impl UpdateOrganizationConfigurationFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize(self) -> ::std::result::Result< + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware(self) -> ::std::result::Result< crate::client::customize::CustomizableOperation, ::aws_smithy_http::result::SdkError >{ @@ -65,6 +65,15 @@ impl UpdateOrganizationConfigurationFluentBuilder { { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize(self) -> ::std::result::Result< + crate::client::customize::CustomizableOperation, + ::aws_smithy_http::result::SdkError + >{ + self.customize_middleware().await + } ///

                                                                                          The ID of the detector that configures the delegated administrator.

                                                                                          pub fn detector_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.detector_id(input.into()); diff --git a/sdk/guardduty/src/operation/update_publishing_destination/builders.rs b/sdk/guardduty/src/operation/update_publishing_destination/builders.rs index 0280539bfd3a..995210c989d8 100644 --- a/sdk/guardduty/src/operation/update_publishing_destination/builders.rs +++ b/sdk/guardduty/src/operation/update_publishing_destination/builders.rs @@ -19,9 +19,9 @@ impl UpdatePublishingDestinationFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl UpdatePublishingDestinationFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::update_publishing_destination::UpdatePublishingDestination, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::update_publishing_destination::UpdatePublishingDestinationError, + >, + > { + self.customize_middleware().await + } ///

                                                                                          The ID of the detector associated with the publishing destinations to update.

                                                                                          pub fn detector_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.detector_id(input.into()); diff --git a/sdk/guardduty/src/operation/update_threat_intel_set/builders.rs b/sdk/guardduty/src/operation/update_threat_intel_set/builders.rs index b75f6db45f1c..18d07e818afe 100644 --- a/sdk/guardduty/src/operation/update_threat_intel_set/builders.rs +++ b/sdk/guardduty/src/operation/update_threat_intel_set/builders.rs @@ -19,9 +19,9 @@ impl UpdateThreatIntelSetFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl UpdateThreatIntelSetFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::update_threat_intel_set::UpdateThreatIntelSet, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::update_threat_intel_set::UpdateThreatIntelSetError, + >, + > { + self.customize_middleware().await + } ///

                                                                                          The detectorID that specifies the GuardDuty service whose ThreatIntelSet you want to update.

                                                                                          pub fn detector_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.detector_id(input.into()); diff --git a/sdk/health/src/operation/describe_affected_accounts_for_organization/builders.rs b/sdk/health/src/operation/describe_affected_accounts_for_organization/builders.rs index cf265be33426..2e34a6dae22d 100644 --- a/sdk/health/src/operation/describe_affected_accounts_for_organization/builders.rs +++ b/sdk/health/src/operation/describe_affected_accounts_for_organization/builders.rs @@ -22,9 +22,9 @@ impl DescribeAffectedAccountsForOrganizationFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize(self) -> ::std::result::Result< + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware(self) -> ::std::result::Result< crate::client::customize::CustomizableOperation, ::aws_smithy_http::result::SdkError >{ @@ -67,6 +67,15 @@ impl DescribeAffectedAccountsForOrganizationFluentBuilder { { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize(self) -> ::std::result::Result< + crate::client::customize::CustomizableOperation, + ::aws_smithy_http::result::SdkError + >{ + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::describe_affected_accounts_for_organization::paginator::DescribeAffectedAccountsForOrganizationPaginator::send) which returns a `Stream`. diff --git a/sdk/health/src/operation/describe_affected_entities/builders.rs b/sdk/health/src/operation/describe_affected_entities/builders.rs index 1106667b87c5..7af8ad3a7e69 100644 --- a/sdk/health/src/operation/describe_affected_entities/builders.rs +++ b/sdk/health/src/operation/describe_affected_entities/builders.rs @@ -25,9 +25,9 @@ impl DescribeAffectedEntitiesFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -89,6 +89,22 @@ impl DescribeAffectedEntitiesFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::describe_affected_entities::DescribeAffectedEntities, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::describe_affected_entities::DescribeAffectedEntitiesError, + >, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::describe_affected_entities::paginator::DescribeAffectedEntitiesPaginator::send) which returns a `Stream`. diff --git a/sdk/health/src/operation/describe_affected_entities_for_organization/builders.rs b/sdk/health/src/operation/describe_affected_entities_for_organization/builders.rs index cf383d64a1c9..04ff9fe61638 100644 --- a/sdk/health/src/operation/describe_affected_entities_for_organization/builders.rs +++ b/sdk/health/src/operation/describe_affected_entities_for_organization/builders.rs @@ -26,9 +26,9 @@ impl DescribeAffectedEntitiesForOrganizationFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize(self) -> ::std::result::Result< + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware(self) -> ::std::result::Result< crate::client::customize::CustomizableOperation, ::aws_smithy_http::result::SdkError >{ @@ -71,6 +71,15 @@ impl DescribeAffectedEntitiesForOrganizationFluentBuilder { { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize(self) -> ::std::result::Result< + crate::client::customize::CustomizableOperation, + ::aws_smithy_http::result::SdkError + >{ + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::describe_affected_entities_for_organization::paginator::DescribeAffectedEntitiesForOrganizationPaginator::send) which returns a `Stream`. diff --git a/sdk/health/src/operation/describe_entity_aggregates/builders.rs b/sdk/health/src/operation/describe_entity_aggregates/builders.rs index 494cad8d84dd..b12e7728f2ce 100644 --- a/sdk/health/src/operation/describe_entity_aggregates/builders.rs +++ b/sdk/health/src/operation/describe_entity_aggregates/builders.rs @@ -19,9 +19,9 @@ impl DescribeEntityAggregatesFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl DescribeEntityAggregatesFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::describe_entity_aggregates::DescribeEntityAggregates, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::describe_entity_aggregates::DescribeEntityAggregatesError, + >, + > { + self.customize_middleware().await + } /// Appends an item to `eventArns`. /// /// To override the contents of this collection use [`set_event_arns`](Self::set_event_arns). diff --git a/sdk/health/src/operation/describe_event_aggregates/builders.rs b/sdk/health/src/operation/describe_event_aggregates/builders.rs index d920061f6881..ae15562bad02 100644 --- a/sdk/health/src/operation/describe_event_aggregates/builders.rs +++ b/sdk/health/src/operation/describe_event_aggregates/builders.rs @@ -22,9 +22,9 @@ impl DescribeEventAggregatesFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -86,6 +86,22 @@ impl DescribeEventAggregatesFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::describe_event_aggregates::DescribeEventAggregates, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::describe_event_aggregates::DescribeEventAggregatesError, + >, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::describe_event_aggregates::paginator::DescribeEventAggregatesPaginator::send) which returns a `Stream`. diff --git a/sdk/health/src/operation/describe_event_details/builders.rs b/sdk/health/src/operation/describe_event_details/builders.rs index 84a38cc44506..8540fd84d3bb 100644 --- a/sdk/health/src/operation/describe_event_details/builders.rs +++ b/sdk/health/src/operation/describe_event_details/builders.rs @@ -22,9 +22,9 @@ impl DescribeEventDetailsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -86,6 +86,22 @@ impl DescribeEventDetailsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::describe_event_details::DescribeEventDetails, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::describe_event_details::DescribeEventDetailsError, + >, + > { + self.customize_middleware().await + } /// Appends an item to `eventArns`. /// /// To override the contents of this collection use [`set_event_arns`](Self::set_event_arns). diff --git a/sdk/health/src/operation/describe_event_details_for_organization/builders.rs b/sdk/health/src/operation/describe_event_details_for_organization/builders.rs index 3d1e3291a79b..4ec83af0a03b 100644 --- a/sdk/health/src/operation/describe_event_details_for_organization/builders.rs +++ b/sdk/health/src/operation/describe_event_details_for_organization/builders.rs @@ -29,9 +29,9 @@ impl DescribeEventDetailsForOrganizationFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize(self) -> ::std::result::Result< + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware(self) -> ::std::result::Result< crate::client::customize::CustomizableOperation, ::aws_smithy_http::result::SdkError >{ @@ -74,6 +74,15 @@ impl DescribeEventDetailsForOrganizationFluentBuilder { { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize(self) -> ::std::result::Result< + crate::client::customize::CustomizableOperation, + ::aws_smithy_http::result::SdkError + >{ + self.customize_middleware().await + } /// Appends an item to `organizationEventDetailFilters`. /// /// To override the contents of this collection use [`set_organization_event_detail_filters`](Self::set_organization_event_detail_filters). diff --git a/sdk/health/src/operation/describe_event_types/builders.rs b/sdk/health/src/operation/describe_event_types/builders.rs index 8cdb2470ae94..15d5a144f336 100644 --- a/sdk/health/src/operation/describe_event_types/builders.rs +++ b/sdk/health/src/operation/describe_event_types/builders.rs @@ -22,9 +22,9 @@ impl DescribeEventTypesFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -86,6 +86,22 @@ impl DescribeEventTypesFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::describe_event_types::DescribeEventTypes, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::describe_event_types::DescribeEventTypesError, + >, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::describe_event_types::paginator::DescribeEventTypesPaginator::send) which returns a `Stream`. diff --git a/sdk/health/src/operation/describe_events/builders.rs b/sdk/health/src/operation/describe_events/builders.rs index e82b1d2a9082..03fe89431e7a 100644 --- a/sdk/health/src/operation/describe_events/builders.rs +++ b/sdk/health/src/operation/describe_events/builders.rs @@ -25,9 +25,9 @@ impl DescribeEventsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,20 @@ impl DescribeEventsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::describe_events::DescribeEvents, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::describe_events::paginator::DescribeEventsPaginator::send) which returns a `Stream`. diff --git a/sdk/health/src/operation/describe_events_for_organization/builders.rs b/sdk/health/src/operation/describe_events_for_organization/builders.rs index 0935dd7e7d95..872bdf2748b7 100644 --- a/sdk/health/src/operation/describe_events_for_organization/builders.rs +++ b/sdk/health/src/operation/describe_events_for_organization/builders.rs @@ -29,9 +29,9 @@ impl DescribeEventsForOrganizationFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -93,6 +93,22 @@ impl DescribeEventsForOrganizationFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::describe_events_for_organization::DescribeEventsForOrganization, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::describe_events_for_organization::DescribeEventsForOrganizationError, + >, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::describe_events_for_organization::paginator::DescribeEventsForOrganizationPaginator::send) which returns a `Stream`. diff --git a/sdk/health/src/operation/describe_health_service_status_for_organization/builders.rs b/sdk/health/src/operation/describe_health_service_status_for_organization/builders.rs index 35febc394511..5e812e222649 100644 --- a/sdk/health/src/operation/describe_health_service_status_for_organization/builders.rs +++ b/sdk/health/src/operation/describe_health_service_status_for_organization/builders.rs @@ -19,9 +19,9 @@ impl DescribeHealthServiceStatusForOrganizationFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize(self) -> ::std::result::Result< + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware(self) -> ::std::result::Result< crate::client::customize::CustomizableOperation, ::aws_smithy_http::result::SdkError >{ @@ -64,4 +64,13 @@ impl DescribeHealthServiceStatusForOrganizationFluentBuilder { { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize(self) -> ::std::result::Result< + crate::client::customize::CustomizableOperation, + ::aws_smithy_http::result::SdkError + >{ + self.customize_middleware().await + } } diff --git a/sdk/health/src/operation/disable_health_service_access_for_organization/builders.rs b/sdk/health/src/operation/disable_health_service_access_for_organization/builders.rs index a1d2513500d3..97c7e4a4fa3d 100644 --- a/sdk/health/src/operation/disable_health_service_access_for_organization/builders.rs +++ b/sdk/health/src/operation/disable_health_service_access_for_organization/builders.rs @@ -22,9 +22,9 @@ impl DisableHealthServiceAccessForOrganizationFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize(self) -> ::std::result::Result< + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware(self) -> ::std::result::Result< crate::client::customize::CustomizableOperation, ::aws_smithy_http::result::SdkError >{ @@ -67,4 +67,13 @@ impl DisableHealthServiceAccessForOrganizationFluentBuilder { { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize(self) -> ::std::result::Result< + crate::client::customize::CustomizableOperation, + ::aws_smithy_http::result::SdkError + >{ + self.customize_middleware().await + } } diff --git a/sdk/health/src/operation/enable_health_service_access_for_organization/builders.rs b/sdk/health/src/operation/enable_health_service_access_for_organization/builders.rs index fd211485736a..155555140ee9 100644 --- a/sdk/health/src/operation/enable_health_service_access_for_organization/builders.rs +++ b/sdk/health/src/operation/enable_health_service_access_for_organization/builders.rs @@ -27,9 +27,9 @@ impl EnableHealthServiceAccessForOrganizationFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize(self) -> ::std::result::Result< + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware(self) -> ::std::result::Result< crate::client::customize::CustomizableOperation, ::aws_smithy_http::result::SdkError >{ @@ -72,4 +72,13 @@ impl EnableHealthServiceAccessForOrganizationFluentBuilder { { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize(self) -> ::std::result::Result< + crate::client::customize::CustomizableOperation, + ::aws_smithy_http::result::SdkError + >{ + self.customize_middleware().await + } } diff --git a/sdk/healthlake/src/operation/create_fhir_datastore/builders.rs b/sdk/healthlake/src/operation/create_fhir_datastore/builders.rs index eb224181e9af..41fdf65da678 100644 --- a/sdk/healthlake/src/operation/create_fhir_datastore/builders.rs +++ b/sdk/healthlake/src/operation/create_fhir_datastore/builders.rs @@ -19,9 +19,9 @@ impl CreateFHIRDatastoreFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl CreateFHIRDatastoreFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::create_fhir_datastore::CreateFHIRDatastore, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::create_fhir_datastore::CreateFHIRDatastoreError, + >, + > { + self.customize_middleware().await + } ///

                                                                                          The user generated name for the Data Store.

                                                                                          pub fn datastore_name( mut self, diff --git a/sdk/healthlake/src/operation/delete_fhir_datastore/builders.rs b/sdk/healthlake/src/operation/delete_fhir_datastore/builders.rs index b91f5087f187..df7d11ee7c14 100644 --- a/sdk/healthlake/src/operation/delete_fhir_datastore/builders.rs +++ b/sdk/healthlake/src/operation/delete_fhir_datastore/builders.rs @@ -19,9 +19,9 @@ impl DeleteFHIRDatastoreFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl DeleteFHIRDatastoreFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::delete_fhir_datastore::DeleteFHIRDatastore, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::delete_fhir_datastore::DeleteFHIRDatastoreError, + >, + > { + self.customize_middleware().await + } ///

                                                                                          The AWS-generated ID for the Data Store to be deleted.

                                                                                          pub fn datastore_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.datastore_id(input.into()); diff --git a/sdk/healthlake/src/operation/describe_fhir_datastore/builders.rs b/sdk/healthlake/src/operation/describe_fhir_datastore/builders.rs index 898f5aa4d9e2..10ae1d8b3bd4 100644 --- a/sdk/healthlake/src/operation/describe_fhir_datastore/builders.rs +++ b/sdk/healthlake/src/operation/describe_fhir_datastore/builders.rs @@ -19,9 +19,9 @@ impl DescribeFHIRDatastoreFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl DescribeFHIRDatastoreFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::describe_fhir_datastore::DescribeFHIRDatastore, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::describe_fhir_datastore::DescribeFHIRDatastoreError, + >, + > { + self.customize_middleware().await + } ///

                                                                                          The AWS-generated Data Store id. This is part of the ‘CreateFHIRDatastore’ output.

                                                                                          pub fn datastore_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.datastore_id(input.into()); diff --git a/sdk/healthlake/src/operation/describe_fhir_export_job/builders.rs b/sdk/healthlake/src/operation/describe_fhir_export_job/builders.rs index aa9416876403..5ea22e607477 100644 --- a/sdk/healthlake/src/operation/describe_fhir_export_job/builders.rs +++ b/sdk/healthlake/src/operation/describe_fhir_export_job/builders.rs @@ -19,9 +19,9 @@ impl DescribeFHIRExportJobFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl DescribeFHIRExportJobFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::describe_fhir_export_job::DescribeFHIRExportJob, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::describe_fhir_export_job::DescribeFHIRExportJobError, + >, + > { + self.customize_middleware().await + } ///

                                                                                          The AWS generated ID for the Data Store from which files are being exported from for an export job.

                                                                                          pub fn datastore_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.datastore_id(input.into()); diff --git a/sdk/healthlake/src/operation/describe_fhir_import_job/builders.rs b/sdk/healthlake/src/operation/describe_fhir_import_job/builders.rs index e69727a4f429..60c8e323f21a 100644 --- a/sdk/healthlake/src/operation/describe_fhir_import_job/builders.rs +++ b/sdk/healthlake/src/operation/describe_fhir_import_job/builders.rs @@ -19,9 +19,9 @@ impl DescribeFHIRImportJobFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl DescribeFHIRImportJobFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::describe_fhir_import_job::DescribeFHIRImportJob, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::describe_fhir_import_job::DescribeFHIRImportJobError, + >, + > { + self.customize_middleware().await + } ///

                                                                                          The AWS-generated ID of the Data Store.

                                                                                          pub fn datastore_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.datastore_id(input.into()); diff --git a/sdk/healthlake/src/operation/list_fhir_datastores/builders.rs b/sdk/healthlake/src/operation/list_fhir_datastores/builders.rs index fa3fd93409e2..aa69c53cc9fd 100644 --- a/sdk/healthlake/src/operation/list_fhir_datastores/builders.rs +++ b/sdk/healthlake/src/operation/list_fhir_datastores/builders.rs @@ -19,9 +19,9 @@ impl ListFHIRDatastoresFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl ListFHIRDatastoresFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_fhir_datastores::ListFHIRDatastores, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::list_fhir_datastores::ListFHIRDatastoresError, + >, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::list_fhir_datastores::paginator::ListFhirDatastoresPaginator::send) which returns a `Stream`. diff --git a/sdk/healthlake/src/operation/list_fhir_export_jobs/builders.rs b/sdk/healthlake/src/operation/list_fhir_export_jobs/builders.rs index 6f9ebf0f14c0..edcfb8a4b255 100644 --- a/sdk/healthlake/src/operation/list_fhir_export_jobs/builders.rs +++ b/sdk/healthlake/src/operation/list_fhir_export_jobs/builders.rs @@ -19,9 +19,9 @@ impl ListFHIRExportJobsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl ListFHIRExportJobsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_fhir_export_jobs::ListFHIRExportJobs, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::list_fhir_export_jobs::ListFHIRExportJobsError, + >, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::list_fhir_export_jobs::paginator::ListFhirExportJobsPaginator::send) which returns a `Stream`. diff --git a/sdk/healthlake/src/operation/list_fhir_import_jobs/builders.rs b/sdk/healthlake/src/operation/list_fhir_import_jobs/builders.rs index 9366d0bede39..acac4e894711 100644 --- a/sdk/healthlake/src/operation/list_fhir_import_jobs/builders.rs +++ b/sdk/healthlake/src/operation/list_fhir_import_jobs/builders.rs @@ -19,9 +19,9 @@ impl ListFHIRImportJobsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl ListFHIRImportJobsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_fhir_import_jobs::ListFHIRImportJobs, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::list_fhir_import_jobs::ListFHIRImportJobsError, + >, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::list_fhir_import_jobs::paginator::ListFhirImportJobsPaginator::send) which returns a `Stream`. diff --git a/sdk/healthlake/src/operation/list_tags_for_resource/builders.rs b/sdk/healthlake/src/operation/list_tags_for_resource/builders.rs index b96e42517226..352024af2675 100644 --- a/sdk/healthlake/src/operation/list_tags_for_resource/builders.rs +++ b/sdk/healthlake/src/operation/list_tags_for_resource/builders.rs @@ -19,9 +19,9 @@ impl ListTagsForResourceFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl ListTagsForResourceFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_tags_for_resource::ListTagsForResource, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::list_tags_for_resource::ListTagsForResourceError, + >, + > { + self.customize_middleware().await + } ///

                                                                                          The Amazon Resource Name(ARN) of the Data Store for which tags are being added.

                                                                                          pub fn resource_arn(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.resource_arn(input.into()); diff --git a/sdk/healthlake/src/operation/start_fhir_export_job/builders.rs b/sdk/healthlake/src/operation/start_fhir_export_job/builders.rs index 1b2eca857522..4e0764c2bf7e 100644 --- a/sdk/healthlake/src/operation/start_fhir_export_job/builders.rs +++ b/sdk/healthlake/src/operation/start_fhir_export_job/builders.rs @@ -19,9 +19,9 @@ impl StartFHIRExportJobFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl StartFHIRExportJobFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::start_fhir_export_job::StartFHIRExportJob, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::start_fhir_export_job::StartFHIRExportJobError, + >, + > { + self.customize_middleware().await + } ///

                                                                                          The user generated name for an export job.

                                                                                          pub fn job_name(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.job_name(input.into()); diff --git a/sdk/healthlake/src/operation/start_fhir_import_job/builders.rs b/sdk/healthlake/src/operation/start_fhir_import_job/builders.rs index e1881e95238e..f49c46dd0471 100644 --- a/sdk/healthlake/src/operation/start_fhir_import_job/builders.rs +++ b/sdk/healthlake/src/operation/start_fhir_import_job/builders.rs @@ -19,9 +19,9 @@ impl StartFHIRImportJobFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl StartFHIRImportJobFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::start_fhir_import_job::StartFHIRImportJob, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::start_fhir_import_job::StartFHIRImportJobError, + >, + > { + self.customize_middleware().await + } ///

                                                                                          The name of the FHIR Import job in the StartFHIRImport job request.

                                                                                          pub fn job_name(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.job_name(input.into()); diff --git a/sdk/healthlake/src/operation/tag_resource/builders.rs b/sdk/healthlake/src/operation/tag_resource/builders.rs index ccfc3c632b88..cab4df79275e 100644 --- a/sdk/healthlake/src/operation/tag_resource/builders.rs +++ b/sdk/healthlake/src/operation/tag_resource/builders.rs @@ -19,9 +19,9 @@ impl TagResourceFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl TagResourceFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::tag_resource::TagResource, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                                          The Amazon Resource Name(ARN)that gives Amazon HealthLake access to the Data Store which tags are being added to.

                                                                                          pub fn resource_arn(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.resource_arn(input.into()); diff --git a/sdk/healthlake/src/operation/untag_resource/builders.rs b/sdk/healthlake/src/operation/untag_resource/builders.rs index 2cc0a2728d09..f3267b35ebe8 100644 --- a/sdk/healthlake/src/operation/untag_resource/builders.rs +++ b/sdk/healthlake/src/operation/untag_resource/builders.rs @@ -19,9 +19,9 @@ impl UntagResourceFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl UntagResourceFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::untag_resource::UntagResource, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                                          "The Amazon Resource Name(ARN) of the Data Store for which tags are being removed

                                                                                          pub fn resource_arn(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.resource_arn(input.into()); diff --git a/sdk/honeycode/src/operation/batch_create_table_rows/builders.rs b/sdk/honeycode/src/operation/batch_create_table_rows/builders.rs index 00d1df09d57e..cce738b5ff5a 100644 --- a/sdk/honeycode/src/operation/batch_create_table_rows/builders.rs +++ b/sdk/honeycode/src/operation/batch_create_table_rows/builders.rs @@ -20,9 +20,9 @@ impl BatchCreateTableRowsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -84,6 +84,22 @@ impl BatchCreateTableRowsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::batch_create_table_rows::BatchCreateTableRows, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::batch_create_table_rows::BatchCreateTableRowsError, + >, + > { + self.customize_middleware().await + } ///

                                                                                          The ID of the workbook where the new rows are being added.

                                                                                          ///

                                                                                          If a workbook with the specified ID could not be found, this API throws ResourceNotFoundException.

                                                                                          pub fn workbook_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { diff --git a/sdk/honeycode/src/operation/batch_delete_table_rows/builders.rs b/sdk/honeycode/src/operation/batch_delete_table_rows/builders.rs index a17cf5ac81c8..c773bfcb87cf 100644 --- a/sdk/honeycode/src/operation/batch_delete_table_rows/builders.rs +++ b/sdk/honeycode/src/operation/batch_delete_table_rows/builders.rs @@ -19,9 +19,9 @@ impl BatchDeleteTableRowsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl BatchDeleteTableRowsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::batch_delete_table_rows::BatchDeleteTableRows, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::batch_delete_table_rows::BatchDeleteTableRowsError, + >, + > { + self.customize_middleware().await + } ///

                                                                                          The ID of the workbook where the rows are being deleted.

                                                                                          ///

                                                                                          If a workbook with the specified id could not be found, this API throws ResourceNotFoundException.

                                                                                          pub fn workbook_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { diff --git a/sdk/honeycode/src/operation/batch_update_table_rows/builders.rs b/sdk/honeycode/src/operation/batch_update_table_rows/builders.rs index c6c5dc5df557..506dd974f08c 100644 --- a/sdk/honeycode/src/operation/batch_update_table_rows/builders.rs +++ b/sdk/honeycode/src/operation/batch_update_table_rows/builders.rs @@ -20,9 +20,9 @@ impl BatchUpdateTableRowsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -84,6 +84,22 @@ impl BatchUpdateTableRowsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::batch_update_table_rows::BatchUpdateTableRows, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::batch_update_table_rows::BatchUpdateTableRowsError, + >, + > { + self.customize_middleware().await + } ///

                                                                                          The ID of the workbook where the rows are being updated.

                                                                                          ///

                                                                                          If a workbook with the specified id could not be found, this API throws ResourceNotFoundException.

                                                                                          pub fn workbook_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { diff --git a/sdk/honeycode/src/operation/batch_upsert_table_rows/builders.rs b/sdk/honeycode/src/operation/batch_upsert_table_rows/builders.rs index 452611d3fb7f..7afdc7875eaa 100644 --- a/sdk/honeycode/src/operation/batch_upsert_table_rows/builders.rs +++ b/sdk/honeycode/src/operation/batch_upsert_table_rows/builders.rs @@ -20,9 +20,9 @@ impl BatchUpsertTableRowsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -84,6 +84,22 @@ impl BatchUpsertTableRowsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::batch_upsert_table_rows::BatchUpsertTableRows, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::batch_upsert_table_rows::BatchUpsertTableRowsError, + >, + > { + self.customize_middleware().await + } ///

                                                                                          The ID of the workbook where the rows are being upserted.

                                                                                          ///

                                                                                          If a workbook with the specified id could not be found, this API throws ResourceNotFoundException.

                                                                                          pub fn workbook_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { diff --git a/sdk/honeycode/src/operation/describe_table_data_import_job/builders.rs b/sdk/honeycode/src/operation/describe_table_data_import_job/builders.rs index a7b024af99eb..226ce9de20f1 100644 --- a/sdk/honeycode/src/operation/describe_table_data_import_job/builders.rs +++ b/sdk/honeycode/src/operation/describe_table_data_import_job/builders.rs @@ -19,9 +19,9 @@ impl DescribeTableDataImportJobFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl DescribeTableDataImportJobFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::describe_table_data_import_job::DescribeTableDataImportJob, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::describe_table_data_import_job::DescribeTableDataImportJobError, + >, + > { + self.customize_middleware().await + } ///

                                                                                          The ID of the workbook into which data was imported.

                                                                                          ///

                                                                                          If a workbook with the specified id could not be found, this API throws ResourceNotFoundException.

                                                                                          pub fn workbook_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { diff --git a/sdk/honeycode/src/operation/get_screen_data/builders.rs b/sdk/honeycode/src/operation/get_screen_data/builders.rs index 64e01b3e2afd..5b51c19bb7b4 100644 --- a/sdk/honeycode/src/operation/get_screen_data/builders.rs +++ b/sdk/honeycode/src/operation/get_screen_data/builders.rs @@ -19,9 +19,9 @@ impl GetScreenDataFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl GetScreenDataFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::get_screen_data::GetScreenData, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                                          The ID of the workbook that contains the screen.

                                                                                          pub fn workbook_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.workbook_id(input.into()); diff --git a/sdk/honeycode/src/operation/invoke_screen_automation/builders.rs b/sdk/honeycode/src/operation/invoke_screen_automation/builders.rs index d44f9b5db6d6..73b6f78c43b4 100644 --- a/sdk/honeycode/src/operation/invoke_screen_automation/builders.rs +++ b/sdk/honeycode/src/operation/invoke_screen_automation/builders.rs @@ -19,9 +19,9 @@ impl InvokeScreenAutomationFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl InvokeScreenAutomationFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::invoke_screen_automation::InvokeScreenAutomation, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::invoke_screen_automation::InvokeScreenAutomationError, + >, + > { + self.customize_middleware().await + } ///

                                                                                          The ID of the workbook that contains the screen automation.

                                                                                          pub fn workbook_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.workbook_id(input.into()); diff --git a/sdk/honeycode/src/operation/list_table_columns/builders.rs b/sdk/honeycode/src/operation/list_table_columns/builders.rs index 36788a862422..1c0b0384b57f 100644 --- a/sdk/honeycode/src/operation/list_table_columns/builders.rs +++ b/sdk/honeycode/src/operation/list_table_columns/builders.rs @@ -19,9 +19,9 @@ impl ListTableColumnsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl ListTableColumnsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_table_columns::ListTableColumns, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::list_table_columns::ListTableColumnsError, + >, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::list_table_columns::paginator::ListTableColumnsPaginator::send) which returns a `Stream`. diff --git a/sdk/honeycode/src/operation/list_table_rows/builders.rs b/sdk/honeycode/src/operation/list_table_rows/builders.rs index 55aa716ab707..489eb3bb4d32 100644 --- a/sdk/honeycode/src/operation/list_table_rows/builders.rs +++ b/sdk/honeycode/src/operation/list_table_rows/builders.rs @@ -19,9 +19,9 @@ impl ListTableRowsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl ListTableRowsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_table_rows::ListTableRows, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::list_table_rows::paginator::ListTableRowsPaginator::send) which returns a `Stream`. diff --git a/sdk/honeycode/src/operation/list_tables/builders.rs b/sdk/honeycode/src/operation/list_tables/builders.rs index f5dc17532773..6039be1a85b7 100644 --- a/sdk/honeycode/src/operation/list_tables/builders.rs +++ b/sdk/honeycode/src/operation/list_tables/builders.rs @@ -19,9 +19,9 @@ impl ListTablesFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl ListTablesFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_tables::ListTables, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::list_tables::paginator::ListTablesPaginator::send) which returns a `Stream`. diff --git a/sdk/honeycode/src/operation/list_tags_for_resource/builders.rs b/sdk/honeycode/src/operation/list_tags_for_resource/builders.rs index cc8115625072..7c07d79f8d5a 100644 --- a/sdk/honeycode/src/operation/list_tags_for_resource/builders.rs +++ b/sdk/honeycode/src/operation/list_tags_for_resource/builders.rs @@ -19,9 +19,9 @@ impl ListTagsForResourceFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl ListTagsForResourceFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_tags_for_resource::ListTagsForResource, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::list_tags_for_resource::ListTagsForResourceError, + >, + > { + self.customize_middleware().await + } ///

                                                                                          The resource's Amazon Resource Name (ARN).

                                                                                          pub fn resource_arn(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.resource_arn(input.into()); diff --git a/sdk/honeycode/src/operation/query_table_rows/builders.rs b/sdk/honeycode/src/operation/query_table_rows/builders.rs index ff4d10fe6eef..acbf702fcdba 100644 --- a/sdk/honeycode/src/operation/query_table_rows/builders.rs +++ b/sdk/honeycode/src/operation/query_table_rows/builders.rs @@ -19,9 +19,9 @@ impl QueryTableRowsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl QueryTableRowsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::query_table_rows::QueryTableRows, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::query_table_rows::QueryTableRowsError, + >, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::query_table_rows::paginator::QueryTableRowsPaginator::send) which returns a `Stream`. diff --git a/sdk/honeycode/src/operation/start_table_data_import_job/builders.rs b/sdk/honeycode/src/operation/start_table_data_import_job/builders.rs index 4750420c920b..d2abfe9ca2d5 100644 --- a/sdk/honeycode/src/operation/start_table_data_import_job/builders.rs +++ b/sdk/honeycode/src/operation/start_table_data_import_job/builders.rs @@ -19,9 +19,9 @@ impl StartTableDataImportJobFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl StartTableDataImportJobFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::start_table_data_import_job::StartTableDataImportJob, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::start_table_data_import_job::StartTableDataImportJobError, + >, + > { + self.customize_middleware().await + } ///

                                                                                          The ID of the workbook where the rows are being imported.

                                                                                          ///

                                                                                          If a workbook with the specified id could not be found, this API throws ResourceNotFoundException.

                                                                                          pub fn workbook_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { diff --git a/sdk/honeycode/src/operation/tag_resource/builders.rs b/sdk/honeycode/src/operation/tag_resource/builders.rs index 73d660c2fdaf..81743d9048c0 100644 --- a/sdk/honeycode/src/operation/tag_resource/builders.rs +++ b/sdk/honeycode/src/operation/tag_resource/builders.rs @@ -19,9 +19,9 @@ impl TagResourceFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl TagResourceFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::tag_resource::TagResource, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                                          The resource's Amazon Resource Name (ARN).

                                                                                          pub fn resource_arn(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.resource_arn(input.into()); diff --git a/sdk/honeycode/src/operation/untag_resource/builders.rs b/sdk/honeycode/src/operation/untag_resource/builders.rs index fc58c76581ea..9945745c03a0 100644 --- a/sdk/honeycode/src/operation/untag_resource/builders.rs +++ b/sdk/honeycode/src/operation/untag_resource/builders.rs @@ -19,9 +19,9 @@ impl UntagResourceFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl UntagResourceFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::untag_resource::UntagResource, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                                          The resource's Amazon Resource Name (ARN).

                                                                                          pub fn resource_arn(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.resource_arn(input.into()); diff --git a/sdk/iam/src/operation/add_client_id_to_open_id_connect_provider/builders.rs b/sdk/iam/src/operation/add_client_id_to_open_id_connect_provider/builders.rs index 9ae72a3a464e..f46254f6c9c3 100644 --- a/sdk/iam/src/operation/add_client_id_to_open_id_connect_provider/builders.rs +++ b/sdk/iam/src/operation/add_client_id_to_open_id_connect_provider/builders.rs @@ -20,9 +20,9 @@ impl AddClientIDToOpenIDConnectProviderFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize(self) -> ::std::result::Result< + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware(self) -> ::std::result::Result< crate::client::customize::CustomizableOperation, ::aws_smithy_http::result::SdkError >{ @@ -65,6 +65,15 @@ impl AddClientIDToOpenIDConnectProviderFluentBuilder { { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize(self) -> ::std::result::Result< + crate::client::customize::CustomizableOperation, + ::aws_smithy_http::result::SdkError + >{ + self.customize_middleware().await + } ///

                                                                                          The Amazon Resource Name (ARN) of the IAM OpenID Connect (OIDC) provider resource to add the client ID to. You can get a list of OIDC provider ARNs by using the ListOpenIDConnectProviders operation.

                                                                                          pub fn open_id_connect_provider_arn( mut self, diff --git a/sdk/iam/src/operation/add_role_to_instance_profile/builders.rs b/sdk/iam/src/operation/add_role_to_instance_profile/builders.rs index 32477759b5c7..c0d0de41d1a8 100644 --- a/sdk/iam/src/operation/add_role_to_instance_profile/builders.rs +++ b/sdk/iam/src/operation/add_role_to_instance_profile/builders.rs @@ -22,9 +22,9 @@ impl AddRoleToInstanceProfileFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -86,6 +86,22 @@ impl AddRoleToInstanceProfileFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::add_role_to_instance_profile::AddRoleToInstanceProfile, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::add_role_to_instance_profile::AddRoleToInstanceProfileError, + >, + > { + self.customize_middleware().await + } ///

                                                                                          The name of the instance profile to update.

                                                                                          ///

                                                                                          This parameter allows (through its regex pattern) a string of characters consisting of upper and lowercase alphanumeric characters with no spaces. You can also include any of the following characters: _+=,.@-

                                                                                          pub fn instance_profile_name( diff --git a/sdk/iam/src/operation/add_user_to_group/builders.rs b/sdk/iam/src/operation/add_user_to_group/builders.rs index fe5a28c8aaff..024ef03badaa 100644 --- a/sdk/iam/src/operation/add_user_to_group/builders.rs +++ b/sdk/iam/src/operation/add_user_to_group/builders.rs @@ -19,9 +19,9 @@ impl AddUserToGroupFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl AddUserToGroupFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::add_user_to_group::AddUserToGroup, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::add_user_to_group::AddUserToGroupError, + >, + > { + self.customize_middleware().await + } ///

                                                                                          The name of the group to update.

                                                                                          ///

                                                                                          This parameter allows (through its regex pattern) a string of characters consisting of upper and lowercase alphanumeric characters with no spaces. You can also include any of the following characters: _+=,.@-

                                                                                          pub fn group_name(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { diff --git a/sdk/iam/src/operation/attach_group_policy/builders.rs b/sdk/iam/src/operation/attach_group_policy/builders.rs index 5e7b2dab2372..ec54d6bf5696 100644 --- a/sdk/iam/src/operation/attach_group_policy/builders.rs +++ b/sdk/iam/src/operation/attach_group_policy/builders.rs @@ -22,9 +22,9 @@ impl AttachGroupPolicyFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -86,6 +86,22 @@ impl AttachGroupPolicyFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::attach_group_policy::AttachGroupPolicy, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::attach_group_policy::AttachGroupPolicyError, + >, + > { + self.customize_middleware().await + } ///

                                                                                          The name (friendly name, not ARN) of the group to attach the policy to.

                                                                                          ///

                                                                                          This parameter allows (through its regex pattern) a string of characters consisting of upper and lowercase alphanumeric characters with no spaces. You can also include any of the following characters: _+=,.@-

                                                                                          pub fn group_name(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { diff --git a/sdk/iam/src/operation/attach_role_policy/builders.rs b/sdk/iam/src/operation/attach_role_policy/builders.rs index 0b4be5a0ae44..9ff9c0de7104 100644 --- a/sdk/iam/src/operation/attach_role_policy/builders.rs +++ b/sdk/iam/src/operation/attach_role_policy/builders.rs @@ -23,9 +23,9 @@ impl AttachRolePolicyFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -87,6 +87,22 @@ impl AttachRolePolicyFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::attach_role_policy::AttachRolePolicy, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::attach_role_policy::AttachRolePolicyError, + >, + > { + self.customize_middleware().await + } ///

                                                                                          The name (friendly name, not ARN) of the role to attach the policy to.

                                                                                          ///

                                                                                          This parameter allows (through its regex pattern) a string of characters consisting of upper and lowercase alphanumeric characters with no spaces. You can also include any of the following characters: _+=,.@-

                                                                                          pub fn role_name(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { diff --git a/sdk/iam/src/operation/attach_user_policy/builders.rs b/sdk/iam/src/operation/attach_user_policy/builders.rs index 55a01e5745c8..5c2fa12e4aff 100644 --- a/sdk/iam/src/operation/attach_user_policy/builders.rs +++ b/sdk/iam/src/operation/attach_user_policy/builders.rs @@ -22,9 +22,9 @@ impl AttachUserPolicyFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -86,6 +86,22 @@ impl AttachUserPolicyFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::attach_user_policy::AttachUserPolicy, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::attach_user_policy::AttachUserPolicyError, + >, + > { + self.customize_middleware().await + } ///

                                                                                          The name (friendly name, not ARN) of the IAM user to attach the policy to.

                                                                                          ///

                                                                                          This parameter allows (through its regex pattern) a string of characters consisting of upper and lowercase alphanumeric characters with no spaces. You can also include any of the following characters: _+=,.@-

                                                                                          pub fn user_name(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { diff --git a/sdk/iam/src/operation/change_password/builders.rs b/sdk/iam/src/operation/change_password/builders.rs index 68a444e0c697..6c5c44dbad47 100644 --- a/sdk/iam/src/operation/change_password/builders.rs +++ b/sdk/iam/src/operation/change_password/builders.rs @@ -20,9 +20,9 @@ impl ChangePasswordFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -78,6 +78,20 @@ impl ChangePasswordFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::change_password::ChangePassword, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                                          The IAM user's current password.

                                                                                          pub fn old_password(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.old_password(input.into()); diff --git a/sdk/iam/src/operation/create_access_key/builders.rs b/sdk/iam/src/operation/create_access_key/builders.rs index df9dcb0a7d85..6cdbabd00577 100644 --- a/sdk/iam/src/operation/create_access_key/builders.rs +++ b/sdk/iam/src/operation/create_access_key/builders.rs @@ -23,9 +23,9 @@ impl CreateAccessKeyFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -87,6 +87,22 @@ impl CreateAccessKeyFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::create_access_key::CreateAccessKey, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::create_access_key::CreateAccessKeyError, + >, + > { + self.customize_middleware().await + } ///

                                                                                          The name of the IAM user that the new key will belong to.

                                                                                          ///

                                                                                          This parameter allows (through its regex pattern) a string of characters consisting of upper and lowercase alphanumeric characters with no spaces. You can also include any of the following characters: _+=,.@-

                                                                                          pub fn user_name(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { diff --git a/sdk/iam/src/operation/create_account_alias/builders.rs b/sdk/iam/src/operation/create_account_alias/builders.rs index 3f4a38d785ce..910f7ff83d1c 100644 --- a/sdk/iam/src/operation/create_account_alias/builders.rs +++ b/sdk/iam/src/operation/create_account_alias/builders.rs @@ -19,9 +19,9 @@ impl CreateAccountAliasFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl CreateAccountAliasFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::create_account_alias::CreateAccountAlias, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::create_account_alias::CreateAccountAliasError, + >, + > { + self.customize_middleware().await + } ///

                                                                                          The account alias to create.

                                                                                          ///

                                                                                          This parameter allows (through its regex pattern) a string of characters consisting of lowercase letters, digits, and dashes. You cannot start or finish with a dash, nor can you have two dashes in a row.

                                                                                          pub fn account_alias( diff --git a/sdk/iam/src/operation/create_group/builders.rs b/sdk/iam/src/operation/create_group/builders.rs index caa4c199e702..905a2eaa8a5a 100644 --- a/sdk/iam/src/operation/create_group/builders.rs +++ b/sdk/iam/src/operation/create_group/builders.rs @@ -20,9 +20,9 @@ impl CreateGroupFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -78,6 +78,20 @@ impl CreateGroupFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::create_group::CreateGroup, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                                          The path to the group. For more information about paths, see IAM identifiers in the IAM User Guide.

                                                                                          ///

                                                                                          This parameter is optional. If it is not included, it defaults to a slash (/).

                                                                                          ///

                                                                                          This parameter allows (through its regex pattern) a string of characters consisting of either a forward slash (/) by itself or a string that must begin and end with forward slashes. In addition, it can contain any ASCII character from the ! (\u0021) through the DEL character (\u007F), including most punctuation characters, digits, and upper and lowercased letters.

                                                                                          diff --git a/sdk/iam/src/operation/create_instance_profile/builders.rs b/sdk/iam/src/operation/create_instance_profile/builders.rs index 5c226a14e20a..99b0cff96c53 100644 --- a/sdk/iam/src/operation/create_instance_profile/builders.rs +++ b/sdk/iam/src/operation/create_instance_profile/builders.rs @@ -20,9 +20,9 @@ impl CreateInstanceProfileFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -84,6 +84,22 @@ impl CreateInstanceProfileFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::create_instance_profile::CreateInstanceProfile, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::create_instance_profile::CreateInstanceProfileError, + >, + > { + self.customize_middleware().await + } ///

                                                                                          The name of the instance profile to create.

                                                                                          ///

                                                                                          This parameter allows (through its regex pattern) a string of characters consisting of upper and lowercase alphanumeric characters with no spaces. You can also include any of the following characters: _+=,.@-

                                                                                          pub fn instance_profile_name( diff --git a/sdk/iam/src/operation/create_login_profile/builders.rs b/sdk/iam/src/operation/create_login_profile/builders.rs index d7837abc1c5d..c2079fd515d8 100644 --- a/sdk/iam/src/operation/create_login_profile/builders.rs +++ b/sdk/iam/src/operation/create_login_profile/builders.rs @@ -21,9 +21,9 @@ impl CreateLoginProfileFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -85,6 +85,22 @@ impl CreateLoginProfileFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::create_login_profile::CreateLoginProfile, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::create_login_profile::CreateLoginProfileError, + >, + > { + self.customize_middleware().await + } ///

                                                                                          The name of the IAM user to create a password for. The user must already exist.

                                                                                          ///

                                                                                          This parameter allows (through its regex pattern) a string of characters consisting of upper and lowercase alphanumeric characters with no spaces. You can also include any of the following characters: _+=,.@-

                                                                                          pub fn user_name(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { diff --git a/sdk/iam/src/operation/create_open_id_connect_provider/builders.rs b/sdk/iam/src/operation/create_open_id_connect_provider/builders.rs index 183830ced5c7..b6a08687db8a 100644 --- a/sdk/iam/src/operation/create_open_id_connect_provider/builders.rs +++ b/sdk/iam/src/operation/create_open_id_connect_provider/builders.rs @@ -33,9 +33,9 @@ impl CreateOpenIDConnectProviderFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -97,6 +97,22 @@ impl CreateOpenIDConnectProviderFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::create_open_id_connect_provider::CreateOpenIDConnectProvider, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::create_open_id_connect_provider::CreateOpenIDConnectProviderError, + >, + > { + self.customize_middleware().await + } ///

                                                                                          The URL of the identity provider. The URL must begin with https:// and should correspond to the iss claim in the provider's OpenID Connect ID tokens. Per the OIDC standard, path components are allowed but query parameters are not. Typically the URL consists of only a hostname, like https://server.example.org or https://example.com. The URL should not contain a port number.

                                                                                          ///

                                                                                          You cannot register the same provider multiple times in a single Amazon Web Services account. If you try to submit a URL that has already been used for an OpenID Connect provider in the Amazon Web Services account, you will get an error.

                                                                                          pub fn url(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { diff --git a/sdk/iam/src/operation/create_policy/builders.rs b/sdk/iam/src/operation/create_policy/builders.rs index 73a8dd3baf92..44188cb131d4 100644 --- a/sdk/iam/src/operation/create_policy/builders.rs +++ b/sdk/iam/src/operation/create_policy/builders.rs @@ -22,9 +22,9 @@ impl CreatePolicyFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -80,6 +80,20 @@ impl CreatePolicyFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::create_policy::CreatePolicy, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                                          The friendly name of the policy.

                                                                                          ///

                                                                                          IAM user, group, role, and policy names must be unique within the account. Names are not distinguished by case. For example, you cannot create resources named both "MyResource" and "myresource".

                                                                                          pub fn policy_name(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { diff --git a/sdk/iam/src/operation/create_policy_version/builders.rs b/sdk/iam/src/operation/create_policy_version/builders.rs index 38a9715a2ef4..419bd350eae3 100644 --- a/sdk/iam/src/operation/create_policy_version/builders.rs +++ b/sdk/iam/src/operation/create_policy_version/builders.rs @@ -21,9 +21,9 @@ impl CreatePolicyVersionFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -85,6 +85,22 @@ impl CreatePolicyVersionFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::create_policy_version::CreatePolicyVersion, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::create_policy_version::CreatePolicyVersionError, + >, + > { + self.customize_middleware().await + } ///

                                                                                          The Amazon Resource Name (ARN) of the IAM policy to which you want to add a new version.

                                                                                          ///

                                                                                          For more information about ARNs, see Amazon Resource Names (ARNs) in the Amazon Web Services General Reference.

                                                                                          pub fn policy_arn(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { diff --git a/sdk/iam/src/operation/create_role/builders.rs b/sdk/iam/src/operation/create_role/builders.rs index 21aab9cb9875..ac25aaeb042d 100644 --- a/sdk/iam/src/operation/create_role/builders.rs +++ b/sdk/iam/src/operation/create_role/builders.rs @@ -19,9 +19,9 @@ impl CreateRoleFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl CreateRoleFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::create_role::CreateRole, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                                          The path to the role. For more information about paths, see IAM Identifiers in the IAM User Guide.

                                                                                          ///

                                                                                          This parameter is optional. If it is not included, it defaults to a slash (/).

                                                                                          ///

                                                                                          This parameter allows (through its regex pattern) a string of characters consisting of either a forward slash (/) by itself or a string that must begin and end with forward slashes. In addition, it can contain any ASCII character from the ! (\u0021) through the DEL character (\u007F), including most punctuation characters, digits, and upper and lowercased letters.

                                                                                          diff --git a/sdk/iam/src/operation/create_saml_provider/builders.rs b/sdk/iam/src/operation/create_saml_provider/builders.rs index 1a1d007d78fa..2f731ecaf672 100644 --- a/sdk/iam/src/operation/create_saml_provider/builders.rs +++ b/sdk/iam/src/operation/create_saml_provider/builders.rs @@ -24,9 +24,9 @@ impl CreateSAMLProviderFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -88,6 +88,22 @@ impl CreateSAMLProviderFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::create_saml_provider::CreateSAMLProvider, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::create_saml_provider::CreateSAMLProviderError, + >, + > { + self.customize_middleware().await + } ///

                                                                                          An XML document generated by an identity provider (IdP) that supports SAML 2.0. The document includes the issuer's name, expiration information, and keys that can be used to validate the SAML authentication response (assertions) that are received from the IdP. You must generate the metadata document using the identity management software that is used as your organization's IdP.

                                                                                          ///

                                                                                          For more information, see About SAML 2.0-based federation in the IAM User Guide

                                                                                          pub fn saml_metadata_document( diff --git a/sdk/iam/src/operation/create_service_linked_role/builders.rs b/sdk/iam/src/operation/create_service_linked_role/builders.rs index fd5d350e5fe8..0f06c662a831 100644 --- a/sdk/iam/src/operation/create_service_linked_role/builders.rs +++ b/sdk/iam/src/operation/create_service_linked_role/builders.rs @@ -21,9 +21,9 @@ impl CreateServiceLinkedRoleFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -85,6 +85,22 @@ impl CreateServiceLinkedRoleFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::create_service_linked_role::CreateServiceLinkedRole, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::create_service_linked_role::CreateServiceLinkedRoleError, + >, + > { + self.customize_middleware().await + } ///

                                                                                          The service principal for the Amazon Web Services service to which this role is attached. You use a string similar to a URL but without the http:// in front. For example: elasticbeanstalk.amazonaws.com.

                                                                                          ///

                                                                                          Service principals are unique and case-sensitive. To find the exact service principal for your service-linked role, see Amazon Web Services services that work with IAM in the IAM User Guide. Look for the services that have Yes in the Service-Linked Role column. Choose the Yes link to view the service-linked role documentation for that service.

                                                                                          pub fn aws_service_name( diff --git a/sdk/iam/src/operation/create_service_specific_credential/builders.rs b/sdk/iam/src/operation/create_service_specific_credential/builders.rs index a74d6bb60754..826734545870 100644 --- a/sdk/iam/src/operation/create_service_specific_credential/builders.rs +++ b/sdk/iam/src/operation/create_service_specific_credential/builders.rs @@ -23,9 +23,9 @@ impl CreateServiceSpecificCredentialFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize(self) -> ::std::result::Result< + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware(self) -> ::std::result::Result< crate::client::customize::CustomizableOperation, ::aws_smithy_http::result::SdkError >{ @@ -68,6 +68,15 @@ impl CreateServiceSpecificCredentialFluentBuilder { { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize(self) -> ::std::result::Result< + crate::client::customize::CustomizableOperation, + ::aws_smithy_http::result::SdkError + >{ + self.customize_middleware().await + } ///

                                                                                          The name of the IAM user that is to be associated with the credentials. The new service-specific credentials have the same permissions as the associated user except that they can be used only to access the specified service.

                                                                                          ///

                                                                                          This parameter allows (through its regex pattern) a string of characters consisting of upper and lowercase alphanumeric characters with no spaces. You can also include any of the following characters: _+=,.@-

                                                                                          pub fn user_name(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { diff --git a/sdk/iam/src/operation/create_user/builders.rs b/sdk/iam/src/operation/create_user/builders.rs index 7f3e8a8b028f..062a46b67826 100644 --- a/sdk/iam/src/operation/create_user/builders.rs +++ b/sdk/iam/src/operation/create_user/builders.rs @@ -20,9 +20,9 @@ impl CreateUserFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -78,6 +78,20 @@ impl CreateUserFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::create_user::CreateUser, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                                          The path for the user name. For more information about paths, see IAM identifiers in the IAM User Guide.

                                                                                          ///

                                                                                          This parameter is optional. If it is not included, it defaults to a slash (/).

                                                                                          ///

                                                                                          This parameter allows (through its regex pattern) a string of characters consisting of either a forward slash (/) by itself or a string that must begin and end with forward slashes. In addition, it can contain any ASCII character from the ! (\u0021) through the DEL character (\u007F), including most punctuation characters, digits, and upper and lowercased letters.

                                                                                          diff --git a/sdk/iam/src/operation/create_virtual_mfa_device/builders.rs b/sdk/iam/src/operation/create_virtual_mfa_device/builders.rs index bbe2b3a47d86..721f9992ee76 100644 --- a/sdk/iam/src/operation/create_virtual_mfa_device/builders.rs +++ b/sdk/iam/src/operation/create_virtual_mfa_device/builders.rs @@ -23,9 +23,9 @@ impl CreateVirtualMFADeviceFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -87,6 +87,22 @@ impl CreateVirtualMFADeviceFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::create_virtual_mfa_device::CreateVirtualMFADevice, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::create_virtual_mfa_device::CreateVirtualMFADeviceError, + >, + > { + self.customize_middleware().await + } ///

                                                                                          The path for the virtual MFA device. For more information about paths, see IAM identifiers in the IAM User Guide.

                                                                                          ///

                                                                                          This parameter is optional. If it is not included, it defaults to a slash (/).

                                                                                          ///

                                                                                          This parameter allows (through its regex pattern) a string of characters consisting of either a forward slash (/) by itself or a string that must begin and end with forward slashes. In addition, it can contain any ASCII character from the ! (\u0021) through the DEL character (\u007F), including most punctuation characters, digits, and upper and lowercased letters.

                                                                                          diff --git a/sdk/iam/src/operation/deactivate_mfa_device/builders.rs b/sdk/iam/src/operation/deactivate_mfa_device/builders.rs index dc34988e6849..b7b65af4bdcb 100644 --- a/sdk/iam/src/operation/deactivate_mfa_device/builders.rs +++ b/sdk/iam/src/operation/deactivate_mfa_device/builders.rs @@ -20,9 +20,9 @@ impl DeactivateMFADeviceFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -84,6 +84,22 @@ impl DeactivateMFADeviceFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::deactivate_mfa_device::DeactivateMFADevice, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::deactivate_mfa_device::DeactivateMFADeviceError, + >, + > { + self.customize_middleware().await + } ///

                                                                                          The name of the user whose MFA device you want to deactivate.

                                                                                          ///

                                                                                          This parameter allows (through its regex pattern) a string of characters consisting of upper and lowercase alphanumeric characters with no spaces. You can also include any of the following characters: _+=,.@-

                                                                                          pub fn user_name(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { diff --git a/sdk/iam/src/operation/delete_access_key/builders.rs b/sdk/iam/src/operation/delete_access_key/builders.rs index 14eb9d1d8c21..1e3ea29697bd 100644 --- a/sdk/iam/src/operation/delete_access_key/builders.rs +++ b/sdk/iam/src/operation/delete_access_key/builders.rs @@ -20,9 +20,9 @@ impl DeleteAccessKeyFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -84,6 +84,22 @@ impl DeleteAccessKeyFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::delete_access_key::DeleteAccessKey, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::delete_access_key::DeleteAccessKeyError, + >, + > { + self.customize_middleware().await + } ///

                                                                                          The name of the user whose access key pair you want to delete.

                                                                                          ///

                                                                                          This parameter allows (through its regex pattern) a string of characters consisting of upper and lowercase alphanumeric characters with no spaces. You can also include any of the following characters: _+=,.@-

                                                                                          pub fn user_name(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { diff --git a/sdk/iam/src/operation/delete_account_alias/builders.rs b/sdk/iam/src/operation/delete_account_alias/builders.rs index f79633f8e915..635dd0ef006e 100644 --- a/sdk/iam/src/operation/delete_account_alias/builders.rs +++ b/sdk/iam/src/operation/delete_account_alias/builders.rs @@ -19,9 +19,9 @@ impl DeleteAccountAliasFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl DeleteAccountAliasFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::delete_account_alias::DeleteAccountAlias, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::delete_account_alias::DeleteAccountAliasError, + >, + > { + self.customize_middleware().await + } ///

                                                                                          The name of the account alias to delete.

                                                                                          ///

                                                                                          This parameter allows (through its regex pattern) a string of characters consisting of lowercase letters, digits, and dashes. You cannot start or finish with a dash, nor can you have two dashes in a row.

                                                                                          pub fn account_alias( diff --git a/sdk/iam/src/operation/delete_account_password_policy/builders.rs b/sdk/iam/src/operation/delete_account_password_policy/builders.rs index 9f537a64e972..c25a64be5f04 100644 --- a/sdk/iam/src/operation/delete_account_password_policy/builders.rs +++ b/sdk/iam/src/operation/delete_account_password_policy/builders.rs @@ -19,9 +19,9 @@ impl DeleteAccountPasswordPolicyFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,4 +83,20 @@ impl DeleteAccountPasswordPolicyFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::delete_account_password_policy::DeleteAccountPasswordPolicy, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::delete_account_password_policy::DeleteAccountPasswordPolicyError, + >, + > { + self.customize_middleware().await + } } diff --git a/sdk/iam/src/operation/delete_group/builders.rs b/sdk/iam/src/operation/delete_group/builders.rs index adb46efd29b0..9cf3da68fe29 100644 --- a/sdk/iam/src/operation/delete_group/builders.rs +++ b/sdk/iam/src/operation/delete_group/builders.rs @@ -19,9 +19,9 @@ impl DeleteGroupFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl DeleteGroupFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::delete_group::DeleteGroup, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                                          The name of the IAM group to delete.

                                                                                          ///

                                                                                          This parameter allows (through its regex pattern) a string of characters consisting of upper and lowercase alphanumeric characters with no spaces. You can also include any of the following characters: _+=,.@-

                                                                                          pub fn group_name(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { diff --git a/sdk/iam/src/operation/delete_group_policy/builders.rs b/sdk/iam/src/operation/delete_group_policy/builders.rs index 0fa7f63929ef..79ea8018fb4e 100644 --- a/sdk/iam/src/operation/delete_group_policy/builders.rs +++ b/sdk/iam/src/operation/delete_group_policy/builders.rs @@ -20,9 +20,9 @@ impl DeleteGroupPolicyFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -84,6 +84,22 @@ impl DeleteGroupPolicyFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::delete_group_policy::DeleteGroupPolicy, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::delete_group_policy::DeleteGroupPolicyError, + >, + > { + self.customize_middleware().await + } ///

                                                                                          The name (friendly name, not ARN) identifying the group that the policy is embedded in.

                                                                                          ///

                                                                                          This parameter allows (through its regex pattern) a string of characters consisting of upper and lowercase alphanumeric characters with no spaces. You can also include any of the following characters: _+=,.@-

                                                                                          pub fn group_name(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { diff --git a/sdk/iam/src/operation/delete_instance_profile/builders.rs b/sdk/iam/src/operation/delete_instance_profile/builders.rs index b5f9c71729df..efee9bb958b0 100644 --- a/sdk/iam/src/operation/delete_instance_profile/builders.rs +++ b/sdk/iam/src/operation/delete_instance_profile/builders.rs @@ -22,9 +22,9 @@ impl DeleteInstanceProfileFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -86,6 +86,22 @@ impl DeleteInstanceProfileFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::delete_instance_profile::DeleteInstanceProfile, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::delete_instance_profile::DeleteInstanceProfileError, + >, + > { + self.customize_middleware().await + } ///

                                                                                          The name of the instance profile to delete.

                                                                                          ///

                                                                                          This parameter allows (through its regex pattern) a string of characters consisting of upper and lowercase alphanumeric characters with no spaces. You can also include any of the following characters: _+=,.@-

                                                                                          pub fn instance_profile_name( diff --git a/sdk/iam/src/operation/delete_login_profile/builders.rs b/sdk/iam/src/operation/delete_login_profile/builders.rs index 979607f194b0..933531d6bc2a 100644 --- a/sdk/iam/src/operation/delete_login_profile/builders.rs +++ b/sdk/iam/src/operation/delete_login_profile/builders.rs @@ -22,9 +22,9 @@ impl DeleteLoginProfileFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -86,6 +86,22 @@ impl DeleteLoginProfileFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::delete_login_profile::DeleteLoginProfile, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::delete_login_profile::DeleteLoginProfileError, + >, + > { + self.customize_middleware().await + } ///

                                                                                          The name of the user whose password you want to delete.

                                                                                          ///

                                                                                          This parameter allows (through its regex pattern) a string of characters consisting of upper and lowercase alphanumeric characters with no spaces. You can also include any of the following characters: _+=,.@-

                                                                                          pub fn user_name(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { diff --git a/sdk/iam/src/operation/delete_open_id_connect_provider/builders.rs b/sdk/iam/src/operation/delete_open_id_connect_provider/builders.rs index db9cc82d02fd..fcb377fd48b8 100644 --- a/sdk/iam/src/operation/delete_open_id_connect_provider/builders.rs +++ b/sdk/iam/src/operation/delete_open_id_connect_provider/builders.rs @@ -21,9 +21,9 @@ impl DeleteOpenIDConnectProviderFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -85,6 +85,22 @@ impl DeleteOpenIDConnectProviderFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::delete_open_id_connect_provider::DeleteOpenIDConnectProvider, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::delete_open_id_connect_provider::DeleteOpenIDConnectProviderError, + >, + > { + self.customize_middleware().await + } ///

                                                                                          The Amazon Resource Name (ARN) of the IAM OpenID Connect provider resource object to delete. You can get a list of OpenID Connect provider resource ARNs by using the ListOpenIDConnectProviders operation.

                                                                                          pub fn open_id_connect_provider_arn( mut self, diff --git a/sdk/iam/src/operation/delete_policy/builders.rs b/sdk/iam/src/operation/delete_policy/builders.rs index 0e06407f1a04..198b8513f738 100644 --- a/sdk/iam/src/operation/delete_policy/builders.rs +++ b/sdk/iam/src/operation/delete_policy/builders.rs @@ -26,9 +26,9 @@ impl DeletePolicyFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -84,6 +84,20 @@ impl DeletePolicyFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::delete_policy::DeletePolicy, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                                          The Amazon Resource Name (ARN) of the IAM policy you want to delete.

                                                                                          ///

                                                                                          For more information about ARNs, see Amazon Resource Names (ARNs) in the Amazon Web Services General Reference.

                                                                                          pub fn policy_arn(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { diff --git a/sdk/iam/src/operation/delete_policy_version/builders.rs b/sdk/iam/src/operation/delete_policy_version/builders.rs index 40fcba48209e..8739f9a8d887 100644 --- a/sdk/iam/src/operation/delete_policy_version/builders.rs +++ b/sdk/iam/src/operation/delete_policy_version/builders.rs @@ -21,9 +21,9 @@ impl DeletePolicyVersionFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -85,6 +85,22 @@ impl DeletePolicyVersionFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::delete_policy_version::DeletePolicyVersion, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::delete_policy_version::DeletePolicyVersionError, + >, + > { + self.customize_middleware().await + } ///

                                                                                          The Amazon Resource Name (ARN) of the IAM policy from which you want to delete a version.

                                                                                          ///

                                                                                          For more information about ARNs, see Amazon Resource Names (ARNs) in the Amazon Web Services General Reference.

                                                                                          pub fn policy_arn(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { diff --git a/sdk/iam/src/operation/delete_role/builders.rs b/sdk/iam/src/operation/delete_role/builders.rs index 95b4eaa9e1f1..a083d80711b7 100644 --- a/sdk/iam/src/operation/delete_role/builders.rs +++ b/sdk/iam/src/operation/delete_role/builders.rs @@ -27,9 +27,9 @@ impl DeleteRoleFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -85,6 +85,20 @@ impl DeleteRoleFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::delete_role::DeleteRole, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                                          The name of the role to delete.

                                                                                          ///

                                                                                          This parameter allows (through its regex pattern) a string of characters consisting of upper and lowercase alphanumeric characters with no spaces. You can also include any of the following characters: _+=,.@-

                                                                                          pub fn role_name(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { diff --git a/sdk/iam/src/operation/delete_role_permissions_boundary/builders.rs b/sdk/iam/src/operation/delete_role_permissions_boundary/builders.rs index 75dc3442c8b9..fee863e969a6 100644 --- a/sdk/iam/src/operation/delete_role_permissions_boundary/builders.rs +++ b/sdk/iam/src/operation/delete_role_permissions_boundary/builders.rs @@ -22,9 +22,9 @@ impl DeleteRolePermissionsBoundaryFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -86,6 +86,22 @@ impl DeleteRolePermissionsBoundaryFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::delete_role_permissions_boundary::DeleteRolePermissionsBoundary, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::delete_role_permissions_boundary::DeleteRolePermissionsBoundaryError, + >, + > { + self.customize_middleware().await + } ///

                                                                                          The name (friendly name, not ARN) of the IAM role from which you want to remove the permissions boundary.

                                                                                          pub fn role_name(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.role_name(input.into()); diff --git a/sdk/iam/src/operation/delete_role_policy/builders.rs b/sdk/iam/src/operation/delete_role_policy/builders.rs index a58f3be6e3e0..9082762248c7 100644 --- a/sdk/iam/src/operation/delete_role_policy/builders.rs +++ b/sdk/iam/src/operation/delete_role_policy/builders.rs @@ -20,9 +20,9 @@ impl DeleteRolePolicyFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -84,6 +84,22 @@ impl DeleteRolePolicyFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::delete_role_policy::DeleteRolePolicy, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::delete_role_policy::DeleteRolePolicyError, + >, + > { + self.customize_middleware().await + } ///

                                                                                          The name (friendly name, not ARN) identifying the role that the policy is embedded in.

                                                                                          ///

                                                                                          This parameter allows (through its regex pattern) a string of characters consisting of upper and lowercase alphanumeric characters with no spaces. You can also include any of the following characters: _+=,.@-

                                                                                          pub fn role_name(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { diff --git a/sdk/iam/src/operation/delete_saml_provider/builders.rs b/sdk/iam/src/operation/delete_saml_provider/builders.rs index 6f5b62ca2503..206f600d4171 100644 --- a/sdk/iam/src/operation/delete_saml_provider/builders.rs +++ b/sdk/iam/src/operation/delete_saml_provider/builders.rs @@ -22,9 +22,9 @@ impl DeleteSAMLProviderFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -86,6 +86,22 @@ impl DeleteSAMLProviderFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::delete_saml_provider::DeleteSAMLProvider, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::delete_saml_provider::DeleteSAMLProviderError, + >, + > { + self.customize_middleware().await + } ///

                                                                                          The Amazon Resource Name (ARN) of the SAML provider to delete.

                                                                                          pub fn saml_provider_arn( mut self, diff --git a/sdk/iam/src/operation/delete_server_certificate/builders.rs b/sdk/iam/src/operation/delete_server_certificate/builders.rs index 197ed0482582..317df4b88840 100644 --- a/sdk/iam/src/operation/delete_server_certificate/builders.rs +++ b/sdk/iam/src/operation/delete_server_certificate/builders.rs @@ -23,9 +23,9 @@ impl DeleteServerCertificateFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -87,6 +87,22 @@ impl DeleteServerCertificateFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::delete_server_certificate::DeleteServerCertificate, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::delete_server_certificate::DeleteServerCertificateError, + >, + > { + self.customize_middleware().await + } ///

                                                                                          The name of the server certificate you want to delete.

                                                                                          ///

                                                                                          This parameter allows (through its regex pattern) a string of characters consisting of upper and lowercase alphanumeric characters with no spaces. You can also include any of the following characters: _+=,.@-

                                                                                          pub fn server_certificate_name( diff --git a/sdk/iam/src/operation/delete_service_linked_role/builders.rs b/sdk/iam/src/operation/delete_service_linked_role/builders.rs index 9e32165a3de4..1239c76dd65e 100644 --- a/sdk/iam/src/operation/delete_service_linked_role/builders.rs +++ b/sdk/iam/src/operation/delete_service_linked_role/builders.rs @@ -22,9 +22,9 @@ impl DeleteServiceLinkedRoleFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -86,6 +86,22 @@ impl DeleteServiceLinkedRoleFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::delete_service_linked_role::DeleteServiceLinkedRole, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::delete_service_linked_role::DeleteServiceLinkedRoleError, + >, + > { + self.customize_middleware().await + } ///

                                                                                          The name of the service-linked role to be deleted.

                                                                                          pub fn role_name(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.role_name(input.into()); diff --git a/sdk/iam/src/operation/delete_service_specific_credential/builders.rs b/sdk/iam/src/operation/delete_service_specific_credential/builders.rs index 68b3543a2511..98fee202223d 100644 --- a/sdk/iam/src/operation/delete_service_specific_credential/builders.rs +++ b/sdk/iam/src/operation/delete_service_specific_credential/builders.rs @@ -19,9 +19,9 @@ impl DeleteServiceSpecificCredentialFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize(self) -> ::std::result::Result< + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware(self) -> ::std::result::Result< crate::client::customize::CustomizableOperation, ::aws_smithy_http::result::SdkError >{ @@ -64,6 +64,15 @@ impl DeleteServiceSpecificCredentialFluentBuilder { { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize(self) -> ::std::result::Result< + crate::client::customize::CustomizableOperation, + ::aws_smithy_http::result::SdkError + >{ + self.customize_middleware().await + } ///

                                                                                          The name of the IAM user associated with the service-specific credential. If this value is not specified, then the operation assumes the user whose credentials are used to call the operation.

                                                                                          ///

                                                                                          This parameter allows (through its regex pattern) a string of characters consisting of upper and lowercase alphanumeric characters with no spaces. You can also include any of the following characters: _+=,.@-

                                                                                          pub fn user_name(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { diff --git a/sdk/iam/src/operation/delete_signing_certificate/builders.rs b/sdk/iam/src/operation/delete_signing_certificate/builders.rs index c02c3748333d..d9930610535c 100644 --- a/sdk/iam/src/operation/delete_signing_certificate/builders.rs +++ b/sdk/iam/src/operation/delete_signing_certificate/builders.rs @@ -20,9 +20,9 @@ impl DeleteSigningCertificateFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -84,6 +84,22 @@ impl DeleteSigningCertificateFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::delete_signing_certificate::DeleteSigningCertificate, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::delete_signing_certificate::DeleteSigningCertificateError, + >, + > { + self.customize_middleware().await + } ///

                                                                                          The name of the user the signing certificate belongs to.

                                                                                          ///

                                                                                          This parameter allows (through its regex pattern) a string of characters consisting of upper and lowercase alphanumeric characters with no spaces. You can also include any of the following characters: _+=,.@-

                                                                                          pub fn user_name(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { diff --git a/sdk/iam/src/operation/delete_ssh_public_key/builders.rs b/sdk/iam/src/operation/delete_ssh_public_key/builders.rs index 447047ca7ce5..be01a8b8f0b1 100644 --- a/sdk/iam/src/operation/delete_ssh_public_key/builders.rs +++ b/sdk/iam/src/operation/delete_ssh_public_key/builders.rs @@ -20,9 +20,9 @@ impl DeleteSSHPublicKeyFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -84,6 +84,22 @@ impl DeleteSSHPublicKeyFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::delete_ssh_public_key::DeleteSSHPublicKey, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::delete_ssh_public_key::DeleteSSHPublicKeyError, + >, + > { + self.customize_middleware().await + } ///

                                                                                          The name of the IAM user associated with the SSH public key.

                                                                                          ///

                                                                                          This parameter allows (through its regex pattern) a string of characters consisting of upper and lowercase alphanumeric characters with no spaces. You can also include any of the following characters: _+=,.@-

                                                                                          pub fn user_name(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { diff --git a/sdk/iam/src/operation/delete_user/builders.rs b/sdk/iam/src/operation/delete_user/builders.rs index 3bbb0bc86acb..1ae7a9459524 100644 --- a/sdk/iam/src/operation/delete_user/builders.rs +++ b/sdk/iam/src/operation/delete_user/builders.rs @@ -30,9 +30,9 @@ impl DeleteUserFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -88,6 +88,20 @@ impl DeleteUserFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::delete_user::DeleteUser, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                                          The name of the user to delete.

                                                                                          ///

                                                                                          This parameter allows (through its regex pattern) a string of characters consisting of upper and lowercase alphanumeric characters with no spaces. You can also include any of the following characters: _+=,.@-

                                                                                          pub fn user_name(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { diff --git a/sdk/iam/src/operation/delete_user_permissions_boundary/builders.rs b/sdk/iam/src/operation/delete_user_permissions_boundary/builders.rs index 339f70c7d999..25696f928597 100644 --- a/sdk/iam/src/operation/delete_user_permissions_boundary/builders.rs +++ b/sdk/iam/src/operation/delete_user_permissions_boundary/builders.rs @@ -21,9 +21,9 @@ impl DeleteUserPermissionsBoundaryFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -85,6 +85,22 @@ impl DeleteUserPermissionsBoundaryFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::delete_user_permissions_boundary::DeleteUserPermissionsBoundary, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::delete_user_permissions_boundary::DeleteUserPermissionsBoundaryError, + >, + > { + self.customize_middleware().await + } ///

                                                                                          The name (friendly name, not ARN) of the IAM user from which you want to remove the permissions boundary.

                                                                                          pub fn user_name(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.user_name(input.into()); diff --git a/sdk/iam/src/operation/delete_user_policy/builders.rs b/sdk/iam/src/operation/delete_user_policy/builders.rs index 1e2dcb2fb302..7ee1e3545e48 100644 --- a/sdk/iam/src/operation/delete_user_policy/builders.rs +++ b/sdk/iam/src/operation/delete_user_policy/builders.rs @@ -20,9 +20,9 @@ impl DeleteUserPolicyFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -84,6 +84,22 @@ impl DeleteUserPolicyFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::delete_user_policy::DeleteUserPolicy, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::delete_user_policy::DeleteUserPolicyError, + >, + > { + self.customize_middleware().await + } ///

                                                                                          The name (friendly name, not ARN) identifying the user that the policy is embedded in.

                                                                                          ///

                                                                                          This parameter allows (through its regex pattern) a string of characters consisting of upper and lowercase alphanumeric characters with no spaces. You can also include any of the following characters: _+=,.@-

                                                                                          pub fn user_name(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { diff --git a/sdk/iam/src/operation/delete_virtual_mfa_device/builders.rs b/sdk/iam/src/operation/delete_virtual_mfa_device/builders.rs index bcf7b454be7e..9342912f966c 100644 --- a/sdk/iam/src/operation/delete_virtual_mfa_device/builders.rs +++ b/sdk/iam/src/operation/delete_virtual_mfa_device/builders.rs @@ -22,9 +22,9 @@ impl DeleteVirtualMFADeviceFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -86,6 +86,22 @@ impl DeleteVirtualMFADeviceFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::delete_virtual_mfa_device::DeleteVirtualMFADevice, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::delete_virtual_mfa_device::DeleteVirtualMFADeviceError, + >, + > { + self.customize_middleware().await + } ///

                                                                                          The serial number that uniquely identifies the MFA device. For virtual MFA devices, the serial number is the same as the ARN.

                                                                                          ///

                                                                                          This parameter allows (through its regex pattern) a string of characters consisting of upper and lowercase alphanumeric characters with no spaces. You can also include any of the following characters: =,.@:/-

                                                                                          pub fn serial_number( diff --git a/sdk/iam/src/operation/detach_group_policy/builders.rs b/sdk/iam/src/operation/detach_group_policy/builders.rs index 1551573361f6..e9b176b67ccf 100644 --- a/sdk/iam/src/operation/detach_group_policy/builders.rs +++ b/sdk/iam/src/operation/detach_group_policy/builders.rs @@ -20,9 +20,9 @@ impl DetachGroupPolicyFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -84,6 +84,22 @@ impl DetachGroupPolicyFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::detach_group_policy::DetachGroupPolicy, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::detach_group_policy::DetachGroupPolicyError, + >, + > { + self.customize_middleware().await + } ///

                                                                                          The name (friendly name, not ARN) of the IAM group to detach the policy from.

                                                                                          ///

                                                                                          This parameter allows (through its regex pattern) a string of characters consisting of upper and lowercase alphanumeric characters with no spaces. You can also include any of the following characters: _+=,.@-

                                                                                          pub fn group_name(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { diff --git a/sdk/iam/src/operation/detach_role_policy/builders.rs b/sdk/iam/src/operation/detach_role_policy/builders.rs index b0f5e30cf716..67e0a3d86094 100644 --- a/sdk/iam/src/operation/detach_role_policy/builders.rs +++ b/sdk/iam/src/operation/detach_role_policy/builders.rs @@ -20,9 +20,9 @@ impl DetachRolePolicyFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -84,6 +84,22 @@ impl DetachRolePolicyFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::detach_role_policy::DetachRolePolicy, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::detach_role_policy::DetachRolePolicyError, + >, + > { + self.customize_middleware().await + } ///

                                                                                          The name (friendly name, not ARN) of the IAM role to detach the policy from.

                                                                                          ///

                                                                                          This parameter allows (through its regex pattern) a string of characters consisting of upper and lowercase alphanumeric characters with no spaces. You can also include any of the following characters: _+=,.@-

                                                                                          pub fn role_name(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { diff --git a/sdk/iam/src/operation/detach_user_policy/builders.rs b/sdk/iam/src/operation/detach_user_policy/builders.rs index 43cd125397e1..8e26d71aa848 100644 --- a/sdk/iam/src/operation/detach_user_policy/builders.rs +++ b/sdk/iam/src/operation/detach_user_policy/builders.rs @@ -20,9 +20,9 @@ impl DetachUserPolicyFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -84,6 +84,22 @@ impl DetachUserPolicyFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::detach_user_policy::DetachUserPolicy, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::detach_user_policy::DetachUserPolicyError, + >, + > { + self.customize_middleware().await + } ///

                                                                                          The name (friendly name, not ARN) of the IAM user to detach the policy from.

                                                                                          ///

                                                                                          This parameter allows (through its regex pattern) a string of characters consisting of upper and lowercase alphanumeric characters with no spaces. You can also include any of the following characters: _+=,.@-

                                                                                          pub fn user_name(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { diff --git a/sdk/iam/src/operation/enable_mfa_device/builders.rs b/sdk/iam/src/operation/enable_mfa_device/builders.rs index 33467a187453..d63db5676337 100644 --- a/sdk/iam/src/operation/enable_mfa_device/builders.rs +++ b/sdk/iam/src/operation/enable_mfa_device/builders.rs @@ -19,9 +19,9 @@ impl EnableMFADeviceFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl EnableMFADeviceFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::enable_mfa_device::EnableMFADevice, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::enable_mfa_device::EnableMFADeviceError, + >, + > { + self.customize_middleware().await + } ///

                                                                                          The name of the IAM user for whom you want to enable the MFA device.

                                                                                          ///

                                                                                          This parameter allows (through its regex pattern) a string of characters consisting of upper and lowercase alphanumeric characters with no spaces. You can also include any of the following characters: _+=,.@-

                                                                                          pub fn user_name(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { diff --git a/sdk/iam/src/operation/generate_credential_report/builders.rs b/sdk/iam/src/operation/generate_credential_report/builders.rs index 2e0ad953a02d..e3ac83e5ef0f 100644 --- a/sdk/iam/src/operation/generate_credential_report/builders.rs +++ b/sdk/iam/src/operation/generate_credential_report/builders.rs @@ -19,9 +19,9 @@ impl GenerateCredentialReportFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,4 +83,20 @@ impl GenerateCredentialReportFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::generate_credential_report::GenerateCredentialReport, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::generate_credential_report::GenerateCredentialReportError, + >, + > { + self.customize_middleware().await + } } diff --git a/sdk/iam/src/operation/generate_organizations_access_report/builders.rs b/sdk/iam/src/operation/generate_organizations_access_report/builders.rs index 374106d782e9..773034920190 100644 --- a/sdk/iam/src/operation/generate_organizations_access_report/builders.rs +++ b/sdk/iam/src/operation/generate_organizations_access_report/builders.rs @@ -43,9 +43,9 @@ impl GenerateOrganizationsAccessReportFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize(self) -> ::std::result::Result< + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware(self) -> ::std::result::Result< crate::client::customize::CustomizableOperation, ::aws_smithy_http::result::SdkError >{ @@ -88,6 +88,15 @@ impl GenerateOrganizationsAccessReportFluentBuilder { { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize(self) -> ::std::result::Result< + crate::client::customize::CustomizableOperation, + ::aws_smithy_http::result::SdkError + >{ + self.customize_middleware().await + } ///

                                                                                          The path of the Organizations entity (root, OU, or account). You can build an entity path using the known structure of your organization. For example, assume that your account ID is 123456789012 and its parent OU ID is ou-rge0-awsabcde. The organization root ID is r-f6g7h8i9j0example and your organization ID is o-a1b2c3d4e5. Your entity path is o-a1b2c3d4e5/r-f6g7h8i9j0example/ou-rge0-awsabcde/123456789012.

                                                                                          pub fn entity_path(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.entity_path(input.into()); diff --git a/sdk/iam/src/operation/generate_service_last_accessed_details/builders.rs b/sdk/iam/src/operation/generate_service_last_accessed_details/builders.rs index 606e9f7a0234..fbbd19751a13 100644 --- a/sdk/iam/src/operation/generate_service_last_accessed_details/builders.rs +++ b/sdk/iam/src/operation/generate_service_last_accessed_details/builders.rs @@ -31,9 +31,9 @@ impl GenerateServiceLastAccessedDetailsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize(self) -> ::std::result::Result< + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware(self) -> ::std::result::Result< crate::client::customize::CustomizableOperation, ::aws_smithy_http::result::SdkError >{ @@ -76,6 +76,15 @@ impl GenerateServiceLastAccessedDetailsFluentBuilder { { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize(self) -> ::std::result::Result< + crate::client::customize::CustomizableOperation, + ::aws_smithy_http::result::SdkError + >{ + self.customize_middleware().await + } ///

                                                                                          The ARN of the IAM resource (user, group, role, or managed policy) used to generate information about when the resource was last used in an attempt to access an Amazon Web Services service.

                                                                                          pub fn arn(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.arn(input.into()); diff --git a/sdk/iam/src/operation/get_access_key_last_used/builders.rs b/sdk/iam/src/operation/get_access_key_last_used/builders.rs index 78beac100895..fad67cb283a0 100644 --- a/sdk/iam/src/operation/get_access_key_last_used/builders.rs +++ b/sdk/iam/src/operation/get_access_key_last_used/builders.rs @@ -19,9 +19,9 @@ impl GetAccessKeyLastUsedFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl GetAccessKeyLastUsedFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::get_access_key_last_used::GetAccessKeyLastUsed, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::get_access_key_last_used::GetAccessKeyLastUsedError, + >, + > { + self.customize_middleware().await + } ///

                                                                                          The identifier of an access key.

                                                                                          ///

                                                                                          This parameter allows (through its regex pattern) a string of characters that can consist of any upper or lowercased letter or digit.

                                                                                          pub fn access_key_id( diff --git a/sdk/iam/src/operation/get_account_authorization_details/builders.rs b/sdk/iam/src/operation/get_account_authorization_details/builders.rs index cab79fa8512a..d7d0a3d29736 100644 --- a/sdk/iam/src/operation/get_account_authorization_details/builders.rs +++ b/sdk/iam/src/operation/get_account_authorization_details/builders.rs @@ -22,9 +22,9 @@ impl GetAccountAuthorizationDetailsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize(self) -> ::std::result::Result< + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware(self) -> ::std::result::Result< crate::client::customize::CustomizableOperation, ::aws_smithy_http::result::SdkError >{ @@ -67,6 +67,15 @@ impl GetAccountAuthorizationDetailsFluentBuilder { { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize(self) -> ::std::result::Result< + crate::client::customize::CustomizableOperation, + ::aws_smithy_http::result::SdkError + >{ + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::get_account_authorization_details::paginator::GetAccountAuthorizationDetailsPaginator::send) which returns a `Stream`. diff --git a/sdk/iam/src/operation/get_account_password_policy/builders.rs b/sdk/iam/src/operation/get_account_password_policy/builders.rs index fba674d1de39..4b75d6d15031 100644 --- a/sdk/iam/src/operation/get_account_password_policy/builders.rs +++ b/sdk/iam/src/operation/get_account_password_policy/builders.rs @@ -19,9 +19,9 @@ impl GetAccountPasswordPolicyFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,4 +83,20 @@ impl GetAccountPasswordPolicyFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::get_account_password_policy::GetAccountPasswordPolicy, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::get_account_password_policy::GetAccountPasswordPolicyError, + >, + > { + self.customize_middleware().await + } } diff --git a/sdk/iam/src/operation/get_account_summary/builders.rs b/sdk/iam/src/operation/get_account_summary/builders.rs index 3a97ff0ea6ba..03bc75f65e69 100644 --- a/sdk/iam/src/operation/get_account_summary/builders.rs +++ b/sdk/iam/src/operation/get_account_summary/builders.rs @@ -20,9 +20,9 @@ impl GetAccountSummaryFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -84,4 +84,20 @@ impl GetAccountSummaryFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::get_account_summary::GetAccountSummary, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::get_account_summary::GetAccountSummaryError, + >, + > { + self.customize_middleware().await + } } diff --git a/sdk/iam/src/operation/get_context_keys_for_custom_policy/builders.rs b/sdk/iam/src/operation/get_context_keys_for_custom_policy/builders.rs index 3ce9880dd33d..f2ee5a17b0f7 100644 --- a/sdk/iam/src/operation/get_context_keys_for_custom_policy/builders.rs +++ b/sdk/iam/src/operation/get_context_keys_for_custom_policy/builders.rs @@ -20,9 +20,9 @@ impl GetContextKeysForCustomPolicyFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize(self) -> ::std::result::Result< + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware(self) -> ::std::result::Result< crate::client::customize::CustomizableOperation, ::aws_smithy_http::result::SdkError >{ @@ -65,6 +65,15 @@ impl GetContextKeysForCustomPolicyFluentBuilder { { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize(self) -> ::std::result::Result< + crate::client::customize::CustomizableOperation, + ::aws_smithy_http::result::SdkError + >{ + self.customize_middleware().await + } /// Appends an item to `PolicyInputList`. /// /// To override the contents of this collection use [`set_policy_input_list`](Self::set_policy_input_list). diff --git a/sdk/iam/src/operation/get_context_keys_for_principal_policy/builders.rs b/sdk/iam/src/operation/get_context_keys_for_principal_policy/builders.rs index e2a604cb3eca..0145e2ee421b 100644 --- a/sdk/iam/src/operation/get_context_keys_for_principal_policy/builders.rs +++ b/sdk/iam/src/operation/get_context_keys_for_principal_policy/builders.rs @@ -22,9 +22,9 @@ impl GetContextKeysForPrincipalPolicyFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize(self) -> ::std::result::Result< + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware(self) -> ::std::result::Result< crate::client::customize::CustomizableOperation, ::aws_smithy_http::result::SdkError >{ @@ -67,6 +67,15 @@ impl GetContextKeysForPrincipalPolicyFluentBuilder { { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize(self) -> ::std::result::Result< + crate::client::customize::CustomizableOperation, + ::aws_smithy_http::result::SdkError + >{ + self.customize_middleware().await + } ///

                                                                                          The ARN of a user, group, or role whose policies contain the context keys that you want listed. If you specify a user, the list includes context keys that are found in all policies that are attached to the user. The list also includes all groups that the user is a member of. If you pick a group or a role, then it includes only those context keys that are found in policies attached to that entity. Note that all parameters are shown in unencoded form here for clarity, but must be URL encoded to be included as a part of a real HTML request.

                                                                                          ///

                                                                                          For more information about ARNs, see Amazon Resource Names (ARNs) in the Amazon Web Services General Reference.

                                                                                          pub fn policy_source_arn( diff --git a/sdk/iam/src/operation/get_credential_report/builders.rs b/sdk/iam/src/operation/get_credential_report/builders.rs index 090ce163d74d..59894edcf9e0 100644 --- a/sdk/iam/src/operation/get_credential_report/builders.rs +++ b/sdk/iam/src/operation/get_credential_report/builders.rs @@ -19,9 +19,9 @@ impl GetCredentialReportFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,4 +83,20 @@ impl GetCredentialReportFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::get_credential_report::GetCredentialReport, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::get_credential_report::GetCredentialReportError, + >, + > { + self.customize_middleware().await + } } diff --git a/sdk/iam/src/operation/get_group/builders.rs b/sdk/iam/src/operation/get_group/builders.rs index 0247ff9bc50d..6ade60f32a85 100644 --- a/sdk/iam/src/operation/get_group/builders.rs +++ b/sdk/iam/src/operation/get_group/builders.rs @@ -19,9 +19,9 @@ impl GetGroupFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl GetGroupFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::get_group::GetGroup, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::get_group::paginator::GetGroupPaginator::send) which returns a `Stream`. diff --git a/sdk/iam/src/operation/get_group_policy/builders.rs b/sdk/iam/src/operation/get_group_policy/builders.rs index 2c61790d0670..b8d39e2eba8d 100644 --- a/sdk/iam/src/operation/get_group_policy/builders.rs +++ b/sdk/iam/src/operation/get_group_policy/builders.rs @@ -23,9 +23,9 @@ impl GetGroupPolicyFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -87,6 +87,22 @@ impl GetGroupPolicyFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::get_group_policy::GetGroupPolicy, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::get_group_policy::GetGroupPolicyError, + >, + > { + self.customize_middleware().await + } ///

                                                                                          The name of the group the policy is associated with.

                                                                                          ///

                                                                                          This parameter allows (through its regex pattern) a string of characters consisting of upper and lowercase alphanumeric characters with no spaces. You can also include any of the following characters: _+=,.@-

                                                                                          pub fn group_name(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { diff --git a/sdk/iam/src/operation/get_instance_profile/builders.rs b/sdk/iam/src/operation/get_instance_profile/builders.rs index 86b24d7b0430..82aef31bf88e 100644 --- a/sdk/iam/src/operation/get_instance_profile/builders.rs +++ b/sdk/iam/src/operation/get_instance_profile/builders.rs @@ -19,9 +19,9 @@ impl GetInstanceProfileFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl GetInstanceProfileFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::get_instance_profile::GetInstanceProfile, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::get_instance_profile::GetInstanceProfileError, + >, + > { + self.customize_middleware().await + } ///

                                                                                          The name of the instance profile to get information about.

                                                                                          ///

                                                                                          This parameter allows (through its regex pattern) a string of characters consisting of upper and lowercase alphanumeric characters with no spaces. You can also include any of the following characters: _+=,.@-

                                                                                          pub fn instance_profile_name( diff --git a/sdk/iam/src/operation/get_login_profile/builders.rs b/sdk/iam/src/operation/get_login_profile/builders.rs index 4053c8d62e8c..1303646237a0 100644 --- a/sdk/iam/src/operation/get_login_profile/builders.rs +++ b/sdk/iam/src/operation/get_login_profile/builders.rs @@ -21,9 +21,9 @@ impl GetLoginProfileFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -85,6 +85,22 @@ impl GetLoginProfileFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::get_login_profile::GetLoginProfile, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::get_login_profile::GetLoginProfileError, + >, + > { + self.customize_middleware().await + } ///

                                                                                          The name of the user whose login profile you want to retrieve.

                                                                                          ///

                                                                                          This parameter allows (through its regex pattern) a string of characters consisting of upper and lowercase alphanumeric characters with no spaces. You can also include any of the following characters: _+=,.@-

                                                                                          pub fn user_name(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { diff --git a/sdk/iam/src/operation/get_open_id_connect_provider/builders.rs b/sdk/iam/src/operation/get_open_id_connect_provider/builders.rs index 814d6ca98c08..9babdb92c8f0 100644 --- a/sdk/iam/src/operation/get_open_id_connect_provider/builders.rs +++ b/sdk/iam/src/operation/get_open_id_connect_provider/builders.rs @@ -19,9 +19,9 @@ impl GetOpenIDConnectProviderFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl GetOpenIDConnectProviderFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::get_open_id_connect_provider::GetOpenIDConnectProvider, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::get_open_id_connect_provider::GetOpenIDConnectProviderError, + >, + > { + self.customize_middleware().await + } ///

                                                                                          The Amazon Resource Name (ARN) of the OIDC provider resource object in IAM to get information for. You can get a list of OIDC provider resource ARNs by using the ListOpenIDConnectProviders operation.

                                                                                          ///

                                                                                          For more information about ARNs, see Amazon Resource Names (ARNs) in the Amazon Web Services General Reference.

                                                                                          pub fn open_id_connect_provider_arn( diff --git a/sdk/iam/src/operation/get_organizations_access_report/builders.rs b/sdk/iam/src/operation/get_organizations_access_report/builders.rs index d8aa17c29379..de8630252927 100644 --- a/sdk/iam/src/operation/get_organizations_access_report/builders.rs +++ b/sdk/iam/src/operation/get_organizations_access_report/builders.rs @@ -23,9 +23,9 @@ impl GetOrganizationsAccessReportFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -87,6 +87,22 @@ impl GetOrganizationsAccessReportFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::get_organizations_access_report::GetOrganizationsAccessReport, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::get_organizations_access_report::GetOrganizationsAccessReportError, + >, + > { + self.customize_middleware().await + } ///

                                                                                          The identifier of the request generated by the GenerateOrganizationsAccessReport operation.

                                                                                          pub fn job_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.job_id(input.into()); diff --git a/sdk/iam/src/operation/get_policy/builders.rs b/sdk/iam/src/operation/get_policy/builders.rs index e4402421e187..ee14eb5d31e5 100644 --- a/sdk/iam/src/operation/get_policy/builders.rs +++ b/sdk/iam/src/operation/get_policy/builders.rs @@ -21,9 +21,9 @@ impl GetPolicyFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -79,6 +79,20 @@ impl GetPolicyFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::get_policy::GetPolicy, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                                          The Amazon Resource Name (ARN) of the managed policy that you want information about.

                                                                                          ///

                                                                                          For more information about ARNs, see Amazon Resource Names (ARNs) in the Amazon Web Services General Reference.

                                                                                          pub fn policy_arn(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { diff --git a/sdk/iam/src/operation/get_policy_version/builders.rs b/sdk/iam/src/operation/get_policy_version/builders.rs index 38e8c8b20668..dc85482c6ccb 100644 --- a/sdk/iam/src/operation/get_policy_version/builders.rs +++ b/sdk/iam/src/operation/get_policy_version/builders.rs @@ -25,9 +25,9 @@ impl GetPolicyVersionFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -89,6 +89,22 @@ impl GetPolicyVersionFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::get_policy_version::GetPolicyVersion, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::get_policy_version::GetPolicyVersionError, + >, + > { + self.customize_middleware().await + } ///

                                                                                          The Amazon Resource Name (ARN) of the managed policy that you want information about.

                                                                                          ///

                                                                                          For more information about ARNs, see Amazon Resource Names (ARNs) in the Amazon Web Services General Reference.

                                                                                          pub fn policy_arn(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { diff --git a/sdk/iam/src/operation/get_role/builders.rs b/sdk/iam/src/operation/get_role/builders.rs index 8f5bb8970f47..eaeb809c8f51 100644 --- a/sdk/iam/src/operation/get_role/builders.rs +++ b/sdk/iam/src/operation/get_role/builders.rs @@ -21,9 +21,9 @@ impl GetRoleFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -79,6 +79,20 @@ impl GetRoleFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::get_role::GetRole, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                                          The name of the IAM role to get information about.

                                                                                          ///

                                                                                          This parameter allows (through its regex pattern) a string of characters consisting of upper and lowercase alphanumeric characters with no spaces. You can also include any of the following characters: _+=,.@-

                                                                                          pub fn role_name(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { diff --git a/sdk/iam/src/operation/get_role_policy/builders.rs b/sdk/iam/src/operation/get_role_policy/builders.rs index 2cd78fba00f5..b0c1d6497c6c 100644 --- a/sdk/iam/src/operation/get_role_policy/builders.rs +++ b/sdk/iam/src/operation/get_role_policy/builders.rs @@ -24,9 +24,9 @@ impl GetRolePolicyFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -82,6 +82,20 @@ impl GetRolePolicyFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::get_role_policy::GetRolePolicy, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                                          The name of the role associated with the policy.

                                                                                          ///

                                                                                          This parameter allows (through its regex pattern) a string of characters consisting of upper and lowercase alphanumeric characters with no spaces. You can also include any of the following characters: _+=,.@-

                                                                                          pub fn role_name(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { diff --git a/sdk/iam/src/operation/get_saml_provider/builders.rs b/sdk/iam/src/operation/get_saml_provider/builders.rs index 24467454fb1c..2e1f5f0138aa 100644 --- a/sdk/iam/src/operation/get_saml_provider/builders.rs +++ b/sdk/iam/src/operation/get_saml_provider/builders.rs @@ -21,9 +21,9 @@ impl GetSAMLProviderFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -85,6 +85,22 @@ impl GetSAMLProviderFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::get_saml_provider::GetSAMLProvider, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::get_saml_provider::GetSAMLProviderError, + >, + > { + self.customize_middleware().await + } ///

                                                                                          The Amazon Resource Name (ARN) of the SAML provider resource object in IAM to get information about.

                                                                                          ///

                                                                                          For more information about ARNs, see Amazon Resource Names (ARNs) in the Amazon Web Services General Reference.

                                                                                          pub fn saml_provider_arn( diff --git a/sdk/iam/src/operation/get_server_certificate/builders.rs b/sdk/iam/src/operation/get_server_certificate/builders.rs index 0421905fdfdf..81e7a5b2b983 100644 --- a/sdk/iam/src/operation/get_server_certificate/builders.rs +++ b/sdk/iam/src/operation/get_server_certificate/builders.rs @@ -20,9 +20,9 @@ impl GetServerCertificateFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -84,6 +84,22 @@ impl GetServerCertificateFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::get_server_certificate::GetServerCertificate, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::get_server_certificate::GetServerCertificateError, + >, + > { + self.customize_middleware().await + } ///

                                                                                          The name of the server certificate you want to retrieve information about.

                                                                                          ///

                                                                                          This parameter allows (through its regex pattern) a string of characters consisting of upper and lowercase alphanumeric characters with no spaces. You can also include any of the following characters: _+=,.@-

                                                                                          pub fn server_certificate_name( diff --git a/sdk/iam/src/operation/get_service_last_accessed_details/builders.rs b/sdk/iam/src/operation/get_service_last_accessed_details/builders.rs index f66b76584d46..62f3c7e70843 100644 --- a/sdk/iam/src/operation/get_service_last_accessed_details/builders.rs +++ b/sdk/iam/src/operation/get_service_last_accessed_details/builders.rs @@ -32,9 +32,9 @@ impl GetServiceLastAccessedDetailsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -96,6 +96,22 @@ impl GetServiceLastAccessedDetailsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::get_service_last_accessed_details::GetServiceLastAccessedDetails, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::get_service_last_accessed_details::GetServiceLastAccessedDetailsError, + >, + > { + self.customize_middleware().await + } ///

                                                                                          The ID of the request generated by the GenerateServiceLastAccessedDetails operation. The JobId returned by GenerateServiceLastAccessedDetail must be used by the same role within a session, or by the same user when used to call GetServiceLastAccessedDetail.

                                                                                          pub fn job_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.job_id(input.into()); diff --git a/sdk/iam/src/operation/get_service_last_accessed_details_with_entities/builders.rs b/sdk/iam/src/operation/get_service_last_accessed_details_with_entities/builders.rs index 1ad92c2564e6..de3a68d9efb8 100644 --- a/sdk/iam/src/operation/get_service_last_accessed_details_with_entities/builders.rs +++ b/sdk/iam/src/operation/get_service_last_accessed_details_with_entities/builders.rs @@ -26,9 +26,9 @@ impl GetServiceLastAccessedDetailsWithEntitiesFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize(self) -> ::std::result::Result< + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware(self) -> ::std::result::Result< crate::client::customize::CustomizableOperation, ::aws_smithy_http::result::SdkError >{ @@ -71,6 +71,15 @@ impl GetServiceLastAccessedDetailsWithEntitiesFluentBuilder { { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize(self) -> ::std::result::Result< + crate::client::customize::CustomizableOperation, + ::aws_smithy_http::result::SdkError + >{ + self.customize_middleware().await + } ///

                                                                                          The ID of the request generated by the GenerateServiceLastAccessedDetails operation.

                                                                                          pub fn job_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.job_id(input.into()); diff --git a/sdk/iam/src/operation/get_service_linked_role_deletion_status/builders.rs b/sdk/iam/src/operation/get_service_linked_role_deletion_status/builders.rs index a83ef5e37a3f..4bcc2f4ce13f 100644 --- a/sdk/iam/src/operation/get_service_linked_role_deletion_status/builders.rs +++ b/sdk/iam/src/operation/get_service_linked_role_deletion_status/builders.rs @@ -19,9 +19,9 @@ impl GetServiceLinkedRoleDeletionStatusFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize(self) -> ::std::result::Result< + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware(self) -> ::std::result::Result< crate::client::customize::CustomizableOperation, ::aws_smithy_http::result::SdkError >{ @@ -64,6 +64,15 @@ impl GetServiceLinkedRoleDeletionStatusFluentBuilder { { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize(self) -> ::std::result::Result< + crate::client::customize::CustomizableOperation, + ::aws_smithy_http::result::SdkError + >{ + self.customize_middleware().await + } ///

                                                                                          The deletion task identifier. This identifier is returned by the DeleteServiceLinkedRole operation in the format task/aws-service-role/ /// /// / diff --git a/sdk/iam/src/operation/get_ssh_public_key/builders.rs b/sdk/iam/src/operation/get_ssh_public_key/builders.rs index cc359f3c1957..9d20ba554051 100644 --- a/sdk/iam/src/operation/get_ssh_public_key/builders.rs +++ b/sdk/iam/src/operation/get_ssh_public_key/builders.rs @@ -20,9 +20,9 @@ impl GetSSHPublicKeyFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -84,6 +84,22 @@ impl GetSSHPublicKeyFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::get_ssh_public_key::GetSSHPublicKey, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::get_ssh_public_key::GetSSHPublicKeyError, + >, + > { + self.customize_middleware().await + } ///

                                                                                          The name of the IAM user associated with the SSH public key.

                                                                                          ///

                                                                                          This parameter allows (through its regex pattern) a string of characters consisting of upper and lowercase alphanumeric characters with no spaces. You can also include any of the following characters: _+=,.@-

                                                                                          pub fn user_name(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { diff --git a/sdk/iam/src/operation/get_user/builders.rs b/sdk/iam/src/operation/get_user/builders.rs index 2e5b1c352b86..acd07f2cc56e 100644 --- a/sdk/iam/src/operation/get_user/builders.rs +++ b/sdk/iam/src/operation/get_user/builders.rs @@ -20,9 +20,9 @@ impl GetUserFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -78,6 +78,20 @@ impl GetUserFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::get_user::GetUser, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                                          The name of the user to get information about.

                                                                                          ///

                                                                                          This parameter is optional. If it is not included, it defaults to the user making the request. This parameter allows (through its regex pattern) a string of characters consisting of upper and lowercase alphanumeric characters with no spaces. You can also include any of the following characters: _+=,.@-

                                                                                          pub fn user_name(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { diff --git a/sdk/iam/src/operation/get_user_policy/builders.rs b/sdk/iam/src/operation/get_user_policy/builders.rs index cd08220c6803..b61aa3be1bce 100644 --- a/sdk/iam/src/operation/get_user_policy/builders.rs +++ b/sdk/iam/src/operation/get_user_policy/builders.rs @@ -23,9 +23,9 @@ impl GetUserPolicyFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -81,6 +81,20 @@ impl GetUserPolicyFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::get_user_policy::GetUserPolicy, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                                          The name of the user who the policy is associated with.

                                                                                          ///

                                                                                          This parameter allows (through its regex pattern) a string of characters consisting of upper and lowercase alphanumeric characters with no spaces. You can also include any of the following characters: _+=,.@-

                                                                                          pub fn user_name(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { diff --git a/sdk/iam/src/operation/list_access_keys/builders.rs b/sdk/iam/src/operation/list_access_keys/builders.rs index 6638798a6dd6..346572418968 100644 --- a/sdk/iam/src/operation/list_access_keys/builders.rs +++ b/sdk/iam/src/operation/list_access_keys/builders.rs @@ -23,9 +23,9 @@ impl ListAccessKeysFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -87,6 +87,22 @@ impl ListAccessKeysFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_access_keys::ListAccessKeys, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::list_access_keys::ListAccessKeysError, + >, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::list_access_keys::paginator::ListAccessKeysPaginator::send) which returns a `Stream`. diff --git a/sdk/iam/src/operation/list_account_aliases/builders.rs b/sdk/iam/src/operation/list_account_aliases/builders.rs index 15d42f8e0887..e8a7c202543b 100644 --- a/sdk/iam/src/operation/list_account_aliases/builders.rs +++ b/sdk/iam/src/operation/list_account_aliases/builders.rs @@ -19,9 +19,9 @@ impl ListAccountAliasesFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl ListAccountAliasesFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_account_aliases::ListAccountAliases, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::list_account_aliases::ListAccountAliasesError, + >, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::list_account_aliases::paginator::ListAccountAliasesPaginator::send) which returns a `Stream`. diff --git a/sdk/iam/src/operation/list_attached_group_policies/builders.rs b/sdk/iam/src/operation/list_attached_group_policies/builders.rs index 8947b0327b97..0b42d6a9462c 100644 --- a/sdk/iam/src/operation/list_attached_group_policies/builders.rs +++ b/sdk/iam/src/operation/list_attached_group_policies/builders.rs @@ -21,9 +21,9 @@ impl ListAttachedGroupPoliciesFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -85,6 +85,22 @@ impl ListAttachedGroupPoliciesFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_attached_group_policies::ListAttachedGroupPolicies, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::list_attached_group_policies::ListAttachedGroupPoliciesError, + >, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::list_attached_group_policies::paginator::ListAttachedGroupPoliciesPaginator::send) which returns a `Stream`. diff --git a/sdk/iam/src/operation/list_attached_role_policies/builders.rs b/sdk/iam/src/operation/list_attached_role_policies/builders.rs index 8d39ca97c568..71bc9ad1cbb3 100644 --- a/sdk/iam/src/operation/list_attached_role_policies/builders.rs +++ b/sdk/iam/src/operation/list_attached_role_policies/builders.rs @@ -21,9 +21,9 @@ impl ListAttachedRolePoliciesFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -85,6 +85,22 @@ impl ListAttachedRolePoliciesFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_attached_role_policies::ListAttachedRolePolicies, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::list_attached_role_policies::ListAttachedRolePoliciesError, + >, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::list_attached_role_policies::paginator::ListAttachedRolePoliciesPaginator::send) which returns a `Stream`. diff --git a/sdk/iam/src/operation/list_attached_user_policies/builders.rs b/sdk/iam/src/operation/list_attached_user_policies/builders.rs index 16389a1450d9..1feaea997953 100644 --- a/sdk/iam/src/operation/list_attached_user_policies/builders.rs +++ b/sdk/iam/src/operation/list_attached_user_policies/builders.rs @@ -21,9 +21,9 @@ impl ListAttachedUserPoliciesFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -85,6 +85,22 @@ impl ListAttachedUserPoliciesFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_attached_user_policies::ListAttachedUserPolicies, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::list_attached_user_policies::ListAttachedUserPoliciesError, + >, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::list_attached_user_policies::paginator::ListAttachedUserPoliciesPaginator::send) which returns a `Stream`. diff --git a/sdk/iam/src/operation/list_entities_for_policy/builders.rs b/sdk/iam/src/operation/list_entities_for_policy/builders.rs index c520a53eebd8..5f3060b60f04 100644 --- a/sdk/iam/src/operation/list_entities_for_policy/builders.rs +++ b/sdk/iam/src/operation/list_entities_for_policy/builders.rs @@ -21,9 +21,9 @@ impl ListEntitiesForPolicyFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -85,6 +85,22 @@ impl ListEntitiesForPolicyFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_entities_for_policy::ListEntitiesForPolicy, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::list_entities_for_policy::ListEntitiesForPolicyError, + >, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::list_entities_for_policy::paginator::ListEntitiesForPolicyPaginator::send) which returns a `Stream`. diff --git a/sdk/iam/src/operation/list_group_policies/builders.rs b/sdk/iam/src/operation/list_group_policies/builders.rs index ba56acfc68af..c40e603b3683 100644 --- a/sdk/iam/src/operation/list_group_policies/builders.rs +++ b/sdk/iam/src/operation/list_group_policies/builders.rs @@ -21,9 +21,9 @@ impl ListGroupPoliciesFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -85,6 +85,22 @@ impl ListGroupPoliciesFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_group_policies::ListGroupPolicies, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::list_group_policies::ListGroupPoliciesError, + >, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::list_group_policies::paginator::ListGroupPoliciesPaginator::send) which returns a `Stream`. diff --git a/sdk/iam/src/operation/list_groups/builders.rs b/sdk/iam/src/operation/list_groups/builders.rs index e12fbaa35955..74ed5bd35f60 100644 --- a/sdk/iam/src/operation/list_groups/builders.rs +++ b/sdk/iam/src/operation/list_groups/builders.rs @@ -20,9 +20,9 @@ impl ListGroupsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -78,6 +78,20 @@ impl ListGroupsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_groups::ListGroups, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::list_groups::paginator::ListGroupsPaginator::send) which returns a `Stream`. diff --git a/sdk/iam/src/operation/list_groups_for_user/builders.rs b/sdk/iam/src/operation/list_groups_for_user/builders.rs index fe0291a0d480..e454e3f91fac 100644 --- a/sdk/iam/src/operation/list_groups_for_user/builders.rs +++ b/sdk/iam/src/operation/list_groups_for_user/builders.rs @@ -20,9 +20,9 @@ impl ListGroupsForUserFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -84,6 +84,22 @@ impl ListGroupsForUserFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_groups_for_user::ListGroupsForUser, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::list_groups_for_user::ListGroupsForUserError, + >, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::list_groups_for_user::paginator::ListGroupsForUserPaginator::send) which returns a `Stream`. diff --git a/sdk/iam/src/operation/list_instance_profile_tags/builders.rs b/sdk/iam/src/operation/list_instance_profile_tags/builders.rs index 449b0571c5a9..6337efc9898f 100644 --- a/sdk/iam/src/operation/list_instance_profile_tags/builders.rs +++ b/sdk/iam/src/operation/list_instance_profile_tags/builders.rs @@ -20,9 +20,9 @@ impl ListInstanceProfileTagsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -84,6 +84,22 @@ impl ListInstanceProfileTagsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_instance_profile_tags::ListInstanceProfileTags, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::list_instance_profile_tags::ListInstanceProfileTagsError, + >, + > { + self.customize_middleware().await + } ///

                                                                                          The name of the IAM instance profile whose tags you want to see.

                                                                                          ///

                                                                                          This parameter allows (through its regex pattern) a string of characters consisting of upper and lowercase alphanumeric characters with no spaces. You can also include any of the following characters: _+=,.@-

                                                                                          pub fn instance_profile_name( diff --git a/sdk/iam/src/operation/list_instance_profiles/builders.rs b/sdk/iam/src/operation/list_instance_profiles/builders.rs index 45be7331de5a..11cccd9eaa83 100644 --- a/sdk/iam/src/operation/list_instance_profiles/builders.rs +++ b/sdk/iam/src/operation/list_instance_profiles/builders.rs @@ -22,9 +22,9 @@ impl ListInstanceProfilesFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -86,6 +86,22 @@ impl ListInstanceProfilesFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_instance_profiles::ListInstanceProfiles, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::list_instance_profiles::ListInstanceProfilesError, + >, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::list_instance_profiles::paginator::ListInstanceProfilesPaginator::send) which returns a `Stream`. diff --git a/sdk/iam/src/operation/list_instance_profiles_for_role/builders.rs b/sdk/iam/src/operation/list_instance_profiles_for_role/builders.rs index a45edf6ccf39..f759b1a5f829 100644 --- a/sdk/iam/src/operation/list_instance_profiles_for_role/builders.rs +++ b/sdk/iam/src/operation/list_instance_profiles_for_role/builders.rs @@ -20,9 +20,9 @@ impl ListInstanceProfilesForRoleFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -84,6 +84,22 @@ impl ListInstanceProfilesForRoleFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_instance_profiles_for_role::ListInstanceProfilesForRole, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::list_instance_profiles_for_role::ListInstanceProfilesForRoleError, + >, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::list_instance_profiles_for_role::paginator::ListInstanceProfilesForRolePaginator::send) which returns a `Stream`. diff --git a/sdk/iam/src/operation/list_mfa_device_tags/builders.rs b/sdk/iam/src/operation/list_mfa_device_tags/builders.rs index fa8f2bfe2210..db8cb00d4c1f 100644 --- a/sdk/iam/src/operation/list_mfa_device_tags/builders.rs +++ b/sdk/iam/src/operation/list_mfa_device_tags/builders.rs @@ -19,9 +19,9 @@ impl ListMFADeviceTagsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl ListMFADeviceTagsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_mfa_device_tags::ListMFADeviceTags, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::list_mfa_device_tags::ListMFADeviceTagsError, + >, + > { + self.customize_middleware().await + } ///

                                                                                          The unique identifier for the IAM virtual MFA device whose tags you want to see. For virtual MFA devices, the serial number is the same as the ARN.

                                                                                          ///

                                                                                          This parameter allows (through its regex pattern) a string of characters consisting of upper and lowercase alphanumeric characters with no spaces. You can also include any of the following characters: _+=,.@-

                                                                                          pub fn serial_number( diff --git a/sdk/iam/src/operation/list_mfa_devices/builders.rs b/sdk/iam/src/operation/list_mfa_devices/builders.rs index c65076d0d407..a78c4d775b42 100644 --- a/sdk/iam/src/operation/list_mfa_devices/builders.rs +++ b/sdk/iam/src/operation/list_mfa_devices/builders.rs @@ -20,9 +20,9 @@ impl ListMFADevicesFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -84,6 +84,22 @@ impl ListMFADevicesFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_mfa_devices::ListMFADevices, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::list_mfa_devices::ListMFADevicesError, + >, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::list_mfa_devices::paginator::ListMfaDevicesPaginator::send) which returns a `Stream`. diff --git a/sdk/iam/src/operation/list_open_id_connect_provider_tags/builders.rs b/sdk/iam/src/operation/list_open_id_connect_provider_tags/builders.rs index 7d66584350c9..7dada0c5e4a9 100644 --- a/sdk/iam/src/operation/list_open_id_connect_provider_tags/builders.rs +++ b/sdk/iam/src/operation/list_open_id_connect_provider_tags/builders.rs @@ -20,9 +20,9 @@ impl ListOpenIDConnectProviderTagsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize(self) -> ::std::result::Result< + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware(self) -> ::std::result::Result< crate::client::customize::CustomizableOperation, ::aws_smithy_http::result::SdkError >{ @@ -65,6 +65,15 @@ impl ListOpenIDConnectProviderTagsFluentBuilder { { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize(self) -> ::std::result::Result< + crate::client::customize::CustomizableOperation, + ::aws_smithy_http::result::SdkError + >{ + self.customize_middleware().await + } ///

                                                                                          The ARN of the OpenID Connect (OIDC) identity provider whose tags you want to see.

                                                                                          ///

                                                                                          This parameter allows (through its regex pattern) a string of characters consisting of upper and lowercase alphanumeric characters with no spaces. You can also include any of the following characters: _+=,.@-

                                                                                          pub fn open_id_connect_provider_arn( diff --git a/sdk/iam/src/operation/list_open_id_connect_providers/builders.rs b/sdk/iam/src/operation/list_open_id_connect_providers/builders.rs index 178c4f7df472..5a41e9d30818 100644 --- a/sdk/iam/src/operation/list_open_id_connect_providers/builders.rs +++ b/sdk/iam/src/operation/list_open_id_connect_providers/builders.rs @@ -21,9 +21,9 @@ impl ListOpenIDConnectProvidersFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -85,4 +85,20 @@ impl ListOpenIDConnectProvidersFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_open_id_connect_providers::ListOpenIDConnectProviders, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::list_open_id_connect_providers::ListOpenIDConnectProvidersError, + >, + > { + self.customize_middleware().await + } } diff --git a/sdk/iam/src/operation/list_policies/builders.rs b/sdk/iam/src/operation/list_policies/builders.rs index 02120fa315f9..708bf1982fef 100644 --- a/sdk/iam/src/operation/list_policies/builders.rs +++ b/sdk/iam/src/operation/list_policies/builders.rs @@ -24,9 +24,9 @@ impl ListPoliciesFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -82,6 +82,20 @@ impl ListPoliciesFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_policies::ListPolicies, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::list_policies::paginator::ListPoliciesPaginator::send) which returns a `Stream`. diff --git a/sdk/iam/src/operation/list_policies_granting_service_access/builders.rs b/sdk/iam/src/operation/list_policies_granting_service_access/builders.rs index 1d3821e08d21..e20e2fa67644 100644 --- a/sdk/iam/src/operation/list_policies_granting_service_access/builders.rs +++ b/sdk/iam/src/operation/list_policies_granting_service_access/builders.rs @@ -29,9 +29,9 @@ impl ListPoliciesGrantingServiceAccessFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize(self) -> ::std::result::Result< + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware(self) -> ::std::result::Result< crate::client::customize::CustomizableOperation, ::aws_smithy_http::result::SdkError >{ @@ -74,6 +74,15 @@ impl ListPoliciesGrantingServiceAccessFluentBuilder { { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize(self) -> ::std::result::Result< + crate::client::customize::CustomizableOperation, + ::aws_smithy_http::result::SdkError + >{ + self.customize_middleware().await + } ///

                                                                                          Use this parameter only when paginating results and only after you receive a response indicating that the results are truncated. Set it to the value of the Marker element in the response that you received to indicate where the next call should start.

                                                                                          pub fn marker(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.marker(input.into()); diff --git a/sdk/iam/src/operation/list_policy_tags/builders.rs b/sdk/iam/src/operation/list_policy_tags/builders.rs index 4cec893ad52c..502112156937 100644 --- a/sdk/iam/src/operation/list_policy_tags/builders.rs +++ b/sdk/iam/src/operation/list_policy_tags/builders.rs @@ -19,9 +19,9 @@ impl ListPolicyTagsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl ListPolicyTagsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_policy_tags::ListPolicyTags, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::list_policy_tags::ListPolicyTagsError, + >, + > { + self.customize_middleware().await + } ///

                                                                                          The ARN of the IAM customer managed policy whose tags you want to see.

                                                                                          ///

                                                                                          This parameter allows (through its regex pattern) a string of characters consisting of upper and lowercase alphanumeric characters with no spaces. You can also include any of the following characters: _+=,.@-

                                                                                          pub fn policy_arn(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { diff --git a/sdk/iam/src/operation/list_policy_versions/builders.rs b/sdk/iam/src/operation/list_policy_versions/builders.rs index 53bab565c56a..0eda38e6ef21 100644 --- a/sdk/iam/src/operation/list_policy_versions/builders.rs +++ b/sdk/iam/src/operation/list_policy_versions/builders.rs @@ -20,9 +20,9 @@ impl ListPolicyVersionsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -84,6 +84,22 @@ impl ListPolicyVersionsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_policy_versions::ListPolicyVersions, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::list_policy_versions::ListPolicyVersionsError, + >, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::list_policy_versions::paginator::ListPolicyVersionsPaginator::send) which returns a `Stream`. diff --git a/sdk/iam/src/operation/list_role_policies/builders.rs b/sdk/iam/src/operation/list_role_policies/builders.rs index c7fc0cd5f17b..117acf3b7ca7 100644 --- a/sdk/iam/src/operation/list_role_policies/builders.rs +++ b/sdk/iam/src/operation/list_role_policies/builders.rs @@ -21,9 +21,9 @@ impl ListRolePoliciesFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -85,6 +85,22 @@ impl ListRolePoliciesFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_role_policies::ListRolePolicies, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::list_role_policies::ListRolePoliciesError, + >, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::list_role_policies::paginator::ListRolePoliciesPaginator::send) which returns a `Stream`. diff --git a/sdk/iam/src/operation/list_role_tags/builders.rs b/sdk/iam/src/operation/list_role_tags/builders.rs index b3074c54fc03..38f8ddbe0daf 100644 --- a/sdk/iam/src/operation/list_role_tags/builders.rs +++ b/sdk/iam/src/operation/list_role_tags/builders.rs @@ -19,9 +19,9 @@ impl ListRoleTagsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl ListRoleTagsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_role_tags::ListRoleTags, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                                          The name of the IAM role for which you want to see the list of tags.

                                                                                          ///

                                                                                          This parameter accepts (through its regex pattern) a string of characters that consist of upper and lowercase alphanumeric characters with no spaces. You can also include any of the following characters: _+=,.@-

                                                                                          pub fn role_name(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { diff --git a/sdk/iam/src/operation/list_roles/builders.rs b/sdk/iam/src/operation/list_roles/builders.rs index be05a3b07e63..af2a2830e0f9 100644 --- a/sdk/iam/src/operation/list_roles/builders.rs +++ b/sdk/iam/src/operation/list_roles/builders.rs @@ -22,9 +22,9 @@ impl ListRolesFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -80,6 +80,20 @@ impl ListRolesFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_roles::ListRoles, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::list_roles::paginator::ListRolesPaginator::send) which returns a `Stream`. diff --git a/sdk/iam/src/operation/list_saml_provider_tags/builders.rs b/sdk/iam/src/operation/list_saml_provider_tags/builders.rs index 81656a1697e9..f9c1ae6044e2 100644 --- a/sdk/iam/src/operation/list_saml_provider_tags/builders.rs +++ b/sdk/iam/src/operation/list_saml_provider_tags/builders.rs @@ -20,9 +20,9 @@ impl ListSAMLProviderTagsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -84,6 +84,22 @@ impl ListSAMLProviderTagsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_saml_provider_tags::ListSAMLProviderTags, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::list_saml_provider_tags::ListSAMLProviderTagsError, + >, + > { + self.customize_middleware().await + } ///

                                                                                          The ARN of the Security Assertion Markup Language (SAML) identity provider whose tags you want to see.

                                                                                          ///

                                                                                          This parameter allows (through its regex pattern) a string of characters consisting of upper and lowercase alphanumeric characters with no spaces. You can also include any of the following characters: _+=,.@-

                                                                                          pub fn saml_provider_arn( diff --git a/sdk/iam/src/operation/list_saml_providers/builders.rs b/sdk/iam/src/operation/list_saml_providers/builders.rs index 8c2edb42c02f..3122dab27028 100644 --- a/sdk/iam/src/operation/list_saml_providers/builders.rs +++ b/sdk/iam/src/operation/list_saml_providers/builders.rs @@ -21,9 +21,9 @@ impl ListSAMLProvidersFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -85,4 +85,20 @@ impl ListSAMLProvidersFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_saml_providers::ListSAMLProviders, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::list_saml_providers::ListSAMLProvidersError, + >, + > { + self.customize_middleware().await + } } diff --git a/sdk/iam/src/operation/list_server_certificate_tags/builders.rs b/sdk/iam/src/operation/list_server_certificate_tags/builders.rs index 7fd011d161c6..1b1eb0b878cd 100644 --- a/sdk/iam/src/operation/list_server_certificate_tags/builders.rs +++ b/sdk/iam/src/operation/list_server_certificate_tags/builders.rs @@ -21,9 +21,9 @@ impl ListServerCertificateTagsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -85,6 +85,22 @@ impl ListServerCertificateTagsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_server_certificate_tags::ListServerCertificateTags, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::list_server_certificate_tags::ListServerCertificateTagsError, + >, + > { + self.customize_middleware().await + } ///

                                                                                          The name of the IAM server certificate whose tags you want to see.

                                                                                          ///

                                                                                          This parameter allows (through its regex pattern) a string of characters consisting of upper and lowercase alphanumeric characters with no spaces. You can also include any of the following characters: _+=,.@-

                                                                                          pub fn server_certificate_name( diff --git a/sdk/iam/src/operation/list_server_certificates/builders.rs b/sdk/iam/src/operation/list_server_certificates/builders.rs index e36f41261b7c..95ac5c807567 100644 --- a/sdk/iam/src/operation/list_server_certificates/builders.rs +++ b/sdk/iam/src/operation/list_server_certificates/builders.rs @@ -23,9 +23,9 @@ impl ListServerCertificatesFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -87,6 +87,22 @@ impl ListServerCertificatesFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_server_certificates::ListServerCertificates, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::list_server_certificates::ListServerCertificatesError, + >, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::list_server_certificates::paginator::ListServerCertificatesPaginator::send) which returns a `Stream`. diff --git a/sdk/iam/src/operation/list_service_specific_credentials/builders.rs b/sdk/iam/src/operation/list_service_specific_credentials/builders.rs index d2207c8a2eb4..e13d08673daf 100644 --- a/sdk/iam/src/operation/list_service_specific_credentials/builders.rs +++ b/sdk/iam/src/operation/list_service_specific_credentials/builders.rs @@ -19,9 +19,9 @@ impl ListServiceSpecificCredentialsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize(self) -> ::std::result::Result< + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware(self) -> ::std::result::Result< crate::client::customize::CustomizableOperation, ::aws_smithy_http::result::SdkError >{ @@ -64,6 +64,15 @@ impl ListServiceSpecificCredentialsFluentBuilder { { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize(self) -> ::std::result::Result< + crate::client::customize::CustomizableOperation, + ::aws_smithy_http::result::SdkError + >{ + self.customize_middleware().await + } ///

                                                                                          The name of the user whose service-specific credentials you want information about. If this value is not specified, then the operation assumes the user whose credentials are used to call the operation.

                                                                                          ///

                                                                                          This parameter allows (through its regex pattern) a string of characters consisting of upper and lowercase alphanumeric characters with no spaces. You can also include any of the following characters: _+=,.@-

                                                                                          pub fn user_name(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { diff --git a/sdk/iam/src/operation/list_signing_certificates/builders.rs b/sdk/iam/src/operation/list_signing_certificates/builders.rs index f48fd5cb3a0a..b846e21c9a6f 100644 --- a/sdk/iam/src/operation/list_signing_certificates/builders.rs +++ b/sdk/iam/src/operation/list_signing_certificates/builders.rs @@ -22,9 +22,9 @@ impl ListSigningCertificatesFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -86,6 +86,22 @@ impl ListSigningCertificatesFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_signing_certificates::ListSigningCertificates, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::list_signing_certificates::ListSigningCertificatesError, + >, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::list_signing_certificates::paginator::ListSigningCertificatesPaginator::send) which returns a `Stream`. diff --git a/sdk/iam/src/operation/list_ssh_public_keys/builders.rs b/sdk/iam/src/operation/list_ssh_public_keys/builders.rs index 4fd2f00c2352..9bc90d9ff449 100644 --- a/sdk/iam/src/operation/list_ssh_public_keys/builders.rs +++ b/sdk/iam/src/operation/list_ssh_public_keys/builders.rs @@ -21,9 +21,9 @@ impl ListSSHPublicKeysFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -85,6 +85,22 @@ impl ListSSHPublicKeysFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_ssh_public_keys::ListSSHPublicKeys, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::list_ssh_public_keys::ListSSHPublicKeysError, + >, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::list_ssh_public_keys::paginator::ListSshPublicKeysPaginator::send) which returns a `Stream`. diff --git a/sdk/iam/src/operation/list_user_policies/builders.rs b/sdk/iam/src/operation/list_user_policies/builders.rs index 0a634158cdde..12f65c1f01d8 100644 --- a/sdk/iam/src/operation/list_user_policies/builders.rs +++ b/sdk/iam/src/operation/list_user_policies/builders.rs @@ -21,9 +21,9 @@ impl ListUserPoliciesFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -85,6 +85,22 @@ impl ListUserPoliciesFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_user_policies::ListUserPolicies, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::list_user_policies::ListUserPoliciesError, + >, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::list_user_policies::paginator::ListUserPoliciesPaginator::send) which returns a `Stream`. diff --git a/sdk/iam/src/operation/list_user_tags/builders.rs b/sdk/iam/src/operation/list_user_tags/builders.rs index 06962cb6d4ce..0f1c2518298a 100644 --- a/sdk/iam/src/operation/list_user_tags/builders.rs +++ b/sdk/iam/src/operation/list_user_tags/builders.rs @@ -19,9 +19,9 @@ impl ListUserTagsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl ListUserTagsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_user_tags::ListUserTags, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::list_user_tags::paginator::ListUserTagsPaginator::send) which returns a `Stream`. diff --git a/sdk/iam/src/operation/list_users/builders.rs b/sdk/iam/src/operation/list_users/builders.rs index 91da8add2ed1..1543069f5048 100644 --- a/sdk/iam/src/operation/list_users/builders.rs +++ b/sdk/iam/src/operation/list_users/builders.rs @@ -22,9 +22,9 @@ impl ListUsersFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -80,6 +80,20 @@ impl ListUsersFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_users::ListUsers, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::list_users::paginator::ListUsersPaginator::send) which returns a `Stream`. diff --git a/sdk/iam/src/operation/list_virtual_mfa_devices/builders.rs b/sdk/iam/src/operation/list_virtual_mfa_devices/builders.rs index eb7196c0c44c..a3bf8136e513 100644 --- a/sdk/iam/src/operation/list_virtual_mfa_devices/builders.rs +++ b/sdk/iam/src/operation/list_virtual_mfa_devices/builders.rs @@ -22,9 +22,9 @@ impl ListVirtualMFADevicesFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -86,6 +86,22 @@ impl ListVirtualMFADevicesFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_virtual_mfa_devices::ListVirtualMFADevices, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::list_virtual_mfa_devices::ListVirtualMFADevicesError, + >, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::list_virtual_mfa_devices::paginator::ListVirtualMfaDevicesPaginator::send) which returns a `Stream`. diff --git a/sdk/iam/src/operation/put_group_policy/builders.rs b/sdk/iam/src/operation/put_group_policy/builders.rs index 299388c30bad..9db7ac54536b 100644 --- a/sdk/iam/src/operation/put_group_policy/builders.rs +++ b/sdk/iam/src/operation/put_group_policy/builders.rs @@ -23,9 +23,9 @@ impl PutGroupPolicyFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -87,6 +87,22 @@ impl PutGroupPolicyFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::put_group_policy::PutGroupPolicy, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::put_group_policy::PutGroupPolicyError, + >, + > { + self.customize_middleware().await + } ///

                                                                                          The name of the group to associate the policy with.

                                                                                          ///

                                                                                          This parameter allows (through its regex pattern) a string of characters consisting of upper and lowercase alphanumeric characters with no spaces. You can also include any of the following characters: _+=,.@-.

                                                                                          pub fn group_name(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { diff --git a/sdk/iam/src/operation/put_role_permissions_boundary/builders.rs b/sdk/iam/src/operation/put_role_permissions_boundary/builders.rs index 1c3a05bf9e0f..f23ffbc05600 100644 --- a/sdk/iam/src/operation/put_role_permissions_boundary/builders.rs +++ b/sdk/iam/src/operation/put_role_permissions_boundary/builders.rs @@ -22,9 +22,9 @@ impl PutRolePermissionsBoundaryFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -86,6 +86,22 @@ impl PutRolePermissionsBoundaryFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::put_role_permissions_boundary::PutRolePermissionsBoundary, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::put_role_permissions_boundary::PutRolePermissionsBoundaryError, + >, + > { + self.customize_middleware().await + } ///

                                                                                          The name (friendly name, not ARN) of the IAM role for which you want to set the permissions boundary.

                                                                                          pub fn role_name(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.role_name(input.into()); diff --git a/sdk/iam/src/operation/put_role_policy/builders.rs b/sdk/iam/src/operation/put_role_policy/builders.rs index 7f2b3faf9a30..0a213db05fab 100644 --- a/sdk/iam/src/operation/put_role_policy/builders.rs +++ b/sdk/iam/src/operation/put_role_policy/builders.rs @@ -24,9 +24,9 @@ impl PutRolePolicyFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -82,6 +82,20 @@ impl PutRolePolicyFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::put_role_policy::PutRolePolicy, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                                          The name of the role to associate the policy with.

                                                                                          ///

                                                                                          This parameter allows (through its regex pattern) a string of characters consisting of upper and lowercase alphanumeric characters with no spaces. You can also include any of the following characters: _+=,.@-

                                                                                          pub fn role_name(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { diff --git a/sdk/iam/src/operation/put_user_permissions_boundary/builders.rs b/sdk/iam/src/operation/put_user_permissions_boundary/builders.rs index 011513357c8e..74ff0ede6e5e 100644 --- a/sdk/iam/src/operation/put_user_permissions_boundary/builders.rs +++ b/sdk/iam/src/operation/put_user_permissions_boundary/builders.rs @@ -21,9 +21,9 @@ impl PutUserPermissionsBoundaryFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -85,6 +85,22 @@ impl PutUserPermissionsBoundaryFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::put_user_permissions_boundary::PutUserPermissionsBoundary, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::put_user_permissions_boundary::PutUserPermissionsBoundaryError, + >, + > { + self.customize_middleware().await + } ///

                                                                                          The name (friendly name, not ARN) of the IAM user for which you want to set the permissions boundary.

                                                                                          pub fn user_name(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.user_name(input.into()); diff --git a/sdk/iam/src/operation/put_user_policy/builders.rs b/sdk/iam/src/operation/put_user_policy/builders.rs index a6fc91cd3565..0bc7bf1c71fb 100644 --- a/sdk/iam/src/operation/put_user_policy/builders.rs +++ b/sdk/iam/src/operation/put_user_policy/builders.rs @@ -23,9 +23,9 @@ impl PutUserPolicyFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -81,6 +81,20 @@ impl PutUserPolicyFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::put_user_policy::PutUserPolicy, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                                          The name of the user to associate the policy with.

                                                                                          ///

                                                                                          This parameter allows (through its regex pattern) a string of characters consisting of upper and lowercase alphanumeric characters with no spaces. You can also include any of the following characters: _+=,.@-

                                                                                          pub fn user_name(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { diff --git a/sdk/iam/src/operation/remove_client_id_from_open_id_connect_provider/builders.rs b/sdk/iam/src/operation/remove_client_id_from_open_id_connect_provider/builders.rs index ed111f44140a..d7e67f3bcc0e 100644 --- a/sdk/iam/src/operation/remove_client_id_from_open_id_connect_provider/builders.rs +++ b/sdk/iam/src/operation/remove_client_id_from_open_id_connect_provider/builders.rs @@ -20,9 +20,9 @@ impl RemoveClientIDFromOpenIDConnectProviderFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize(self) -> ::std::result::Result< + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware(self) -> ::std::result::Result< crate::client::customize::CustomizableOperation, ::aws_smithy_http::result::SdkError >{ @@ -65,6 +65,15 @@ impl RemoveClientIDFromOpenIDConnectProviderFluentBuilder { { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize(self) -> ::std::result::Result< + crate::client::customize::CustomizableOperation, + ::aws_smithy_http::result::SdkError + >{ + self.customize_middleware().await + } ///

                                                                                          The Amazon Resource Name (ARN) of the IAM OIDC provider resource to remove the client ID from. You can get a list of OIDC provider ARNs by using the ListOpenIDConnectProviders operation.

                                                                                          ///

                                                                                          For more information about ARNs, see Amazon Resource Names (ARNs) in the Amazon Web Services General Reference.

                                                                                          pub fn open_id_connect_provider_arn( diff --git a/sdk/iam/src/operation/remove_role_from_instance_profile/builders.rs b/sdk/iam/src/operation/remove_role_from_instance_profile/builders.rs index 971352a025a1..c3a4271895b5 100644 --- a/sdk/iam/src/operation/remove_role_from_instance_profile/builders.rs +++ b/sdk/iam/src/operation/remove_role_from_instance_profile/builders.rs @@ -22,9 +22,9 @@ impl RemoveRoleFromInstanceProfileFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -86,6 +86,22 @@ impl RemoveRoleFromInstanceProfileFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::remove_role_from_instance_profile::RemoveRoleFromInstanceProfile, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::remove_role_from_instance_profile::RemoveRoleFromInstanceProfileError, + >, + > { + self.customize_middleware().await + } ///

                                                                                          The name of the instance profile to update.

                                                                                          ///

                                                                                          This parameter allows (through its regex pattern) a string of characters consisting of upper and lowercase alphanumeric characters with no spaces. You can also include any of the following characters: _+=,.@-

                                                                                          pub fn instance_profile_name( diff --git a/sdk/iam/src/operation/remove_user_from_group/builders.rs b/sdk/iam/src/operation/remove_user_from_group/builders.rs index 2ccade8b4b93..ef0ea2ce3da5 100644 --- a/sdk/iam/src/operation/remove_user_from_group/builders.rs +++ b/sdk/iam/src/operation/remove_user_from_group/builders.rs @@ -19,9 +19,9 @@ impl RemoveUserFromGroupFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl RemoveUserFromGroupFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::remove_user_from_group::RemoveUserFromGroup, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::remove_user_from_group::RemoveUserFromGroupError, + >, + > { + self.customize_middleware().await + } ///

                                                                                          The name of the group to update.

                                                                                          ///

                                                                                          This parameter allows (through its regex pattern) a string of characters consisting of upper and lowercase alphanumeric characters with no spaces. You can also include any of the following characters: _+=,.@-

                                                                                          pub fn group_name(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { diff --git a/sdk/iam/src/operation/reset_service_specific_credential/builders.rs b/sdk/iam/src/operation/reset_service_specific_credential/builders.rs index be8d189760bb..04828132d719 100644 --- a/sdk/iam/src/operation/reset_service_specific_credential/builders.rs +++ b/sdk/iam/src/operation/reset_service_specific_credential/builders.rs @@ -19,9 +19,9 @@ impl ResetServiceSpecificCredentialFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize(self) -> ::std::result::Result< + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware(self) -> ::std::result::Result< crate::client::customize::CustomizableOperation, ::aws_smithy_http::result::SdkError >{ @@ -64,6 +64,15 @@ impl ResetServiceSpecificCredentialFluentBuilder { { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize(self) -> ::std::result::Result< + crate::client::customize::CustomizableOperation, + ::aws_smithy_http::result::SdkError + >{ + self.customize_middleware().await + } ///

                                                                                          The name of the IAM user associated with the service-specific credential. If this value is not specified, then the operation assumes the user whose credentials are used to call the operation.

                                                                                          ///

                                                                                          This parameter allows (through its regex pattern) a string of characters consisting of upper and lowercase alphanumeric characters with no spaces. You can also include any of the following characters: _+=,.@-

                                                                                          pub fn user_name(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { diff --git a/sdk/iam/src/operation/resync_mfa_device/builders.rs b/sdk/iam/src/operation/resync_mfa_device/builders.rs index 035b3e0dde84..41ed6e07d749 100644 --- a/sdk/iam/src/operation/resync_mfa_device/builders.rs +++ b/sdk/iam/src/operation/resync_mfa_device/builders.rs @@ -20,9 +20,9 @@ impl ResyncMFADeviceFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -84,6 +84,22 @@ impl ResyncMFADeviceFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::resync_mfa_device::ResyncMFADevice, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::resync_mfa_device::ResyncMFADeviceError, + >, + > { + self.customize_middleware().await + } ///

                                                                                          The name of the user whose MFA device you want to resynchronize.

                                                                                          ///

                                                                                          This parameter allows (through its regex pattern) a string of characters consisting of upper and lowercase alphanumeric characters with no spaces. You can also include any of the following characters: _+=,.@-

                                                                                          pub fn user_name(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { diff --git a/sdk/iam/src/operation/set_default_policy_version/builders.rs b/sdk/iam/src/operation/set_default_policy_version/builders.rs index 293c73ffbc1c..05c136c065e6 100644 --- a/sdk/iam/src/operation/set_default_policy_version/builders.rs +++ b/sdk/iam/src/operation/set_default_policy_version/builders.rs @@ -22,9 +22,9 @@ impl SetDefaultPolicyVersionFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -86,6 +86,22 @@ impl SetDefaultPolicyVersionFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::set_default_policy_version::SetDefaultPolicyVersion, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::set_default_policy_version::SetDefaultPolicyVersionError, + >, + > { + self.customize_middleware().await + } ///

                                                                                          The Amazon Resource Name (ARN) of the IAM policy whose default version you want to set.

                                                                                          ///

                                                                                          For more information about ARNs, see Amazon Resource Names (ARNs) in the Amazon Web Services General Reference.

                                                                                          pub fn policy_arn(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { diff --git a/sdk/iam/src/operation/set_security_token_service_preferences/builders.rs b/sdk/iam/src/operation/set_security_token_service_preferences/builders.rs index e29d282aed17..77b9a8988a37 100644 --- a/sdk/iam/src/operation/set_security_token_service_preferences/builders.rs +++ b/sdk/iam/src/operation/set_security_token_service_preferences/builders.rs @@ -22,9 +22,9 @@ impl SetSecurityTokenServicePreferencesFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize(self) -> ::std::result::Result< + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware(self) -> ::std::result::Result< crate::client::customize::CustomizableOperation, ::aws_smithy_http::result::SdkError >{ @@ -67,6 +67,15 @@ impl SetSecurityTokenServicePreferencesFluentBuilder { { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize(self) -> ::std::result::Result< + crate::client::customize::CustomizableOperation, + ::aws_smithy_http::result::SdkError + >{ + self.customize_middleware().await + } ///

                                                                                          The version of the global endpoint token. Version 1 tokens are valid only in Amazon Web Services Regions that are available by default. These tokens do not work in manually enabled Regions, such as Asia Pacific (Hong Kong). Version 2 tokens are valid in all Regions. However, version 2 tokens are longer and might affect systems where you temporarily store tokens.

                                                                                          ///

                                                                                          For information, see Activating and deactivating STS in an Amazon Web Services Region in the IAM User Guide.

                                                                                          pub fn global_endpoint_token_version( diff --git a/sdk/iam/src/operation/simulate_custom_policy/builders.rs b/sdk/iam/src/operation/simulate_custom_policy/builders.rs index f01b841f9c00..bd9b650fe47e 100644 --- a/sdk/iam/src/operation/simulate_custom_policy/builders.rs +++ b/sdk/iam/src/operation/simulate_custom_policy/builders.rs @@ -25,9 +25,9 @@ impl SimulateCustomPolicyFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -89,6 +89,22 @@ impl SimulateCustomPolicyFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::simulate_custom_policy::SimulateCustomPolicy, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::simulate_custom_policy::SimulateCustomPolicyError, + >, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::simulate_custom_policy::paginator::SimulateCustomPolicyPaginator::send) which returns a `Stream`. diff --git a/sdk/iam/src/operation/simulate_principal_policy/builders.rs b/sdk/iam/src/operation/simulate_principal_policy/builders.rs index 17d7c4e09171..cfb95288f273 100644 --- a/sdk/iam/src/operation/simulate_principal_policy/builders.rs +++ b/sdk/iam/src/operation/simulate_principal_policy/builders.rs @@ -28,9 +28,9 @@ impl SimulatePrincipalPolicyFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -92,6 +92,22 @@ impl SimulatePrincipalPolicyFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::simulate_principal_policy::SimulatePrincipalPolicy, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::simulate_principal_policy::SimulatePrincipalPolicyError, + >, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::simulate_principal_policy::paginator::SimulatePrincipalPolicyPaginator::send) which returns a `Stream`. diff --git a/sdk/iam/src/operation/tag_instance_profile/builders.rs b/sdk/iam/src/operation/tag_instance_profile/builders.rs index 3c146df5d160..ff2eea169ccc 100644 --- a/sdk/iam/src/operation/tag_instance_profile/builders.rs +++ b/sdk/iam/src/operation/tag_instance_profile/builders.rs @@ -29,9 +29,9 @@ impl TagInstanceProfileFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -93,6 +93,22 @@ impl TagInstanceProfileFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::tag_instance_profile::TagInstanceProfile, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::tag_instance_profile::TagInstanceProfileError, + >, + > { + self.customize_middleware().await + } ///

                                                                                          The name of the IAM instance profile to which you want to add tags.

                                                                                          ///

                                                                                          This parameter allows (through its regex pattern) a string of characters consisting of upper and lowercase alphanumeric characters with no spaces. You can also include any of the following characters: _+=,.@-

                                                                                          pub fn instance_profile_name( diff --git a/sdk/iam/src/operation/tag_mfa_device/builders.rs b/sdk/iam/src/operation/tag_mfa_device/builders.rs index e4907c53e56c..a06bdb381fb0 100644 --- a/sdk/iam/src/operation/tag_mfa_device/builders.rs +++ b/sdk/iam/src/operation/tag_mfa_device/builders.rs @@ -29,9 +29,9 @@ impl TagMFADeviceFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -87,6 +87,20 @@ impl TagMFADeviceFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::tag_mfa_device::TagMFADevice, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                                          The unique identifier for the IAM virtual MFA device to which you want to add tags. For virtual MFA devices, the serial number is the same as the ARN.

                                                                                          ///

                                                                                          This parameter allows (through its regex pattern) a string of characters consisting of upper and lowercase alphanumeric characters with no spaces. You can also include any of the following characters: _+=,.@-

                                                                                          pub fn serial_number( diff --git a/sdk/iam/src/operation/tag_open_id_connect_provider/builders.rs b/sdk/iam/src/operation/tag_open_id_connect_provider/builders.rs index c3d9a67700ac..b0f13fc6e7ea 100644 --- a/sdk/iam/src/operation/tag_open_id_connect_provider/builders.rs +++ b/sdk/iam/src/operation/tag_open_id_connect_provider/builders.rs @@ -29,9 +29,9 @@ impl TagOpenIDConnectProviderFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -93,6 +93,22 @@ impl TagOpenIDConnectProviderFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::tag_open_id_connect_provider::TagOpenIDConnectProvider, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::tag_open_id_connect_provider::TagOpenIDConnectProviderError, + >, + > { + self.customize_middleware().await + } ///

                                                                                          The ARN of the OIDC identity provider in IAM to which you want to add tags.

                                                                                          ///

                                                                                          This parameter allows (through its regex pattern) a string of characters consisting of upper and lowercase alphanumeric characters with no spaces. You can also include any of the following characters: _+=,.@-

                                                                                          pub fn open_id_connect_provider_arn( diff --git a/sdk/iam/src/operation/tag_policy/builders.rs b/sdk/iam/src/operation/tag_policy/builders.rs index 929b1f857f8e..47842f97760b 100644 --- a/sdk/iam/src/operation/tag_policy/builders.rs +++ b/sdk/iam/src/operation/tag_policy/builders.rs @@ -29,9 +29,9 @@ impl TagPolicyFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -87,6 +87,20 @@ impl TagPolicyFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::tag_policy::TagPolicy, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                                          The ARN of the IAM customer managed policy to which you want to add tags.

                                                                                          ///

                                                                                          This parameter allows (through its regex pattern) a string of characters consisting of upper and lowercase alphanumeric characters with no spaces. You can also include any of the following characters: _+=,.@-

                                                                                          pub fn policy_arn(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { diff --git a/sdk/iam/src/operation/tag_role/builders.rs b/sdk/iam/src/operation/tag_role/builders.rs index 44c3a957ee77..4c9177383e09 100644 --- a/sdk/iam/src/operation/tag_role/builders.rs +++ b/sdk/iam/src/operation/tag_role/builders.rs @@ -31,9 +31,9 @@ impl TagRoleFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -89,6 +89,20 @@ impl TagRoleFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::tag_role::TagRole, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                                          The name of the IAM role to which you want to add tags.

                                                                                          ///

                                                                                          This parameter accepts (through its regex pattern) a string of characters that consist of upper and lowercase alphanumeric characters with no spaces. You can also include any of the following characters: _+=,.@-

                                                                                          pub fn role_name(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { diff --git a/sdk/iam/src/operation/tag_saml_provider/builders.rs b/sdk/iam/src/operation/tag_saml_provider/builders.rs index 311ae953dc5c..8f053b78f22a 100644 --- a/sdk/iam/src/operation/tag_saml_provider/builders.rs +++ b/sdk/iam/src/operation/tag_saml_provider/builders.rs @@ -29,9 +29,9 @@ impl TagSAMLProviderFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -93,6 +93,22 @@ impl TagSAMLProviderFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::tag_saml_provider::TagSAMLProvider, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::tag_saml_provider::TagSAMLProviderError, + >, + > { + self.customize_middleware().await + } ///

                                                                                          The ARN of the SAML identity provider in IAM to which you want to add tags.

                                                                                          ///

                                                                                          This parameter allows (through its regex pattern) a string of characters consisting of upper and lowercase alphanumeric characters with no spaces. You can also include any of the following characters: _+=,.@-

                                                                                          pub fn saml_provider_arn( diff --git a/sdk/iam/src/operation/tag_server_certificate/builders.rs b/sdk/iam/src/operation/tag_server_certificate/builders.rs index 3bf40ae39a35..2890194d1897 100644 --- a/sdk/iam/src/operation/tag_server_certificate/builders.rs +++ b/sdk/iam/src/operation/tag_server_certificate/builders.rs @@ -32,9 +32,9 @@ impl TagServerCertificateFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -96,6 +96,22 @@ impl TagServerCertificateFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::tag_server_certificate::TagServerCertificate, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::tag_server_certificate::TagServerCertificateError, + >, + > { + self.customize_middleware().await + } ///

                                                                                          The name of the IAM server certificate to which you want to add tags.

                                                                                          ///

                                                                                          This parameter allows (through its regex pattern) a string of characters consisting of upper and lowercase alphanumeric characters with no spaces. You can also include any of the following characters: _+=,.@-

                                                                                          pub fn server_certificate_name( diff --git a/sdk/iam/src/operation/tag_user/builders.rs b/sdk/iam/src/operation/tag_user/builders.rs index 32916868945f..8801e777e2c5 100644 --- a/sdk/iam/src/operation/tag_user/builders.rs +++ b/sdk/iam/src/operation/tag_user/builders.rs @@ -31,9 +31,9 @@ impl TagUserFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -89,6 +89,20 @@ impl TagUserFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::tag_user::TagUser, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                                          The name of the IAM user to which you want to add tags.

                                                                                          ///

                                                                                          This parameter allows (through its regex pattern) a string of characters consisting of upper and lowercase alphanumeric characters with no spaces. You can also include any of the following characters: _+=,.@-

                                                                                          pub fn user_name(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { diff --git a/sdk/iam/src/operation/untag_instance_profile/builders.rs b/sdk/iam/src/operation/untag_instance_profile/builders.rs index 1a643874243a..d686ff1f4adf 100644 --- a/sdk/iam/src/operation/untag_instance_profile/builders.rs +++ b/sdk/iam/src/operation/untag_instance_profile/builders.rs @@ -19,9 +19,9 @@ impl UntagInstanceProfileFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl UntagInstanceProfileFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::untag_instance_profile::UntagInstanceProfile, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::untag_instance_profile::UntagInstanceProfileError, + >, + > { + self.customize_middleware().await + } ///

                                                                                          The name of the IAM instance profile from which you want to remove tags.

                                                                                          ///

                                                                                          This parameter allows (through its regex pattern) a string of characters consisting of upper and lowercase alphanumeric characters with no spaces. You can also include any of the following characters: _+=,.@-

                                                                                          pub fn instance_profile_name( diff --git a/sdk/iam/src/operation/untag_mfa_device/builders.rs b/sdk/iam/src/operation/untag_mfa_device/builders.rs index 64cb045ad85e..1ee39fccce10 100644 --- a/sdk/iam/src/operation/untag_mfa_device/builders.rs +++ b/sdk/iam/src/operation/untag_mfa_device/builders.rs @@ -19,9 +19,9 @@ impl UntagMFADeviceFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl UntagMFADeviceFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::untag_mfa_device::UntagMFADevice, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::untag_mfa_device::UntagMFADeviceError, + >, + > { + self.customize_middleware().await + } ///

                                                                                          The unique identifier for the IAM virtual MFA device from which you want to remove tags. For virtual MFA devices, the serial number is the same as the ARN.

                                                                                          ///

                                                                                          This parameter allows (through its regex pattern) a string of characters consisting of upper and lowercase alphanumeric characters with no spaces. You can also include any of the following characters: _+=,.@-

                                                                                          pub fn serial_number( diff --git a/sdk/iam/src/operation/untag_open_id_connect_provider/builders.rs b/sdk/iam/src/operation/untag_open_id_connect_provider/builders.rs index 1ae3e084374b..2cafd9aab3b5 100644 --- a/sdk/iam/src/operation/untag_open_id_connect_provider/builders.rs +++ b/sdk/iam/src/operation/untag_open_id_connect_provider/builders.rs @@ -19,9 +19,9 @@ impl UntagOpenIDConnectProviderFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl UntagOpenIDConnectProviderFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::untag_open_id_connect_provider::UntagOpenIDConnectProvider, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::untag_open_id_connect_provider::UntagOpenIDConnectProviderError, + >, + > { + self.customize_middleware().await + } ///

                                                                                          The ARN of the OIDC provider in IAM from which you want to remove tags.

                                                                                          ///

                                                                                          This parameter allows (through its regex pattern) a string of characters consisting of upper and lowercase alphanumeric characters with no spaces. You can also include any of the following characters: _+=,.@-

                                                                                          pub fn open_id_connect_provider_arn( diff --git a/sdk/iam/src/operation/untag_policy/builders.rs b/sdk/iam/src/operation/untag_policy/builders.rs index c2c1450f9b69..2f24aec1c58c 100644 --- a/sdk/iam/src/operation/untag_policy/builders.rs +++ b/sdk/iam/src/operation/untag_policy/builders.rs @@ -19,9 +19,9 @@ impl UntagPolicyFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl UntagPolicyFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::untag_policy::UntagPolicy, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                                          The ARN of the IAM customer managed policy from which you want to remove tags.

                                                                                          ///

                                                                                          This parameter allows (through its regex pattern) a string of characters consisting of upper and lowercase alphanumeric characters with no spaces. You can also include any of the following characters: _+=,.@-

                                                                                          pub fn policy_arn(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { diff --git a/sdk/iam/src/operation/untag_role/builders.rs b/sdk/iam/src/operation/untag_role/builders.rs index 89d6b88858d6..cba5a4767d32 100644 --- a/sdk/iam/src/operation/untag_role/builders.rs +++ b/sdk/iam/src/operation/untag_role/builders.rs @@ -19,9 +19,9 @@ impl UntagRoleFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl UntagRoleFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::untag_role::UntagRole, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                                          The name of the IAM role from which you want to remove tags.

                                                                                          ///

                                                                                          This parameter accepts (through its regex pattern) a string of characters that consist of upper and lowercase alphanumeric characters with no spaces. You can also include any of the following characters: _+=,.@-

                                                                                          pub fn role_name(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { diff --git a/sdk/iam/src/operation/untag_saml_provider/builders.rs b/sdk/iam/src/operation/untag_saml_provider/builders.rs index 22d6397fa6e6..17508d5563f1 100644 --- a/sdk/iam/src/operation/untag_saml_provider/builders.rs +++ b/sdk/iam/src/operation/untag_saml_provider/builders.rs @@ -19,9 +19,9 @@ impl UntagSAMLProviderFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl UntagSAMLProviderFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::untag_saml_provider::UntagSAMLProvider, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::untag_saml_provider::UntagSAMLProviderError, + >, + > { + self.customize_middleware().await + } ///

                                                                                          The ARN of the SAML identity provider in IAM from which you want to remove tags.

                                                                                          ///

                                                                                          This parameter allows (through its regex pattern) a string of characters consisting of upper and lowercase alphanumeric characters with no spaces. You can also include any of the following characters: _+=,.@-

                                                                                          pub fn saml_provider_arn( diff --git a/sdk/iam/src/operation/untag_server_certificate/builders.rs b/sdk/iam/src/operation/untag_server_certificate/builders.rs index 26ecb3b243f0..cf99e195bf0b 100644 --- a/sdk/iam/src/operation/untag_server_certificate/builders.rs +++ b/sdk/iam/src/operation/untag_server_certificate/builders.rs @@ -21,9 +21,9 @@ impl UntagServerCertificateFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -85,6 +85,22 @@ impl UntagServerCertificateFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::untag_server_certificate::UntagServerCertificate, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::untag_server_certificate::UntagServerCertificateError, + >, + > { + self.customize_middleware().await + } ///

                                                                                          The name of the IAM server certificate from which you want to remove tags.

                                                                                          ///

                                                                                          This parameter allows (through its regex pattern) a string of characters consisting of upper and lowercase alphanumeric characters with no spaces. You can also include any of the following characters: _+=,.@-

                                                                                          pub fn server_certificate_name( diff --git a/sdk/iam/src/operation/untag_user/builders.rs b/sdk/iam/src/operation/untag_user/builders.rs index bfc333176ca2..d1aaea9bfbe0 100644 --- a/sdk/iam/src/operation/untag_user/builders.rs +++ b/sdk/iam/src/operation/untag_user/builders.rs @@ -19,9 +19,9 @@ impl UntagUserFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl UntagUserFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::untag_user::UntagUser, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                                          The name of the IAM user from which you want to remove tags.

                                                                                          ///

                                                                                          This parameter allows (through its regex pattern) a string of characters consisting of upper and lowercase alphanumeric characters with no spaces. You can also include any of the following characters: _+=,.@-

                                                                                          pub fn user_name(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { diff --git a/sdk/iam/src/operation/update_access_key/builders.rs b/sdk/iam/src/operation/update_access_key/builders.rs index 9e19b863f83f..ee5c450351fa 100644 --- a/sdk/iam/src/operation/update_access_key/builders.rs +++ b/sdk/iam/src/operation/update_access_key/builders.rs @@ -21,9 +21,9 @@ impl UpdateAccessKeyFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -85,6 +85,22 @@ impl UpdateAccessKeyFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::update_access_key::UpdateAccessKey, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::update_access_key::UpdateAccessKeyError, + >, + > { + self.customize_middleware().await + } ///

                                                                                          The name of the user whose key you want to update.

                                                                                          ///

                                                                                          This parameter allows (through its regex pattern) a string of characters consisting of upper and lowercase alphanumeric characters with no spaces. You can also include any of the following characters: _+=,.@-

                                                                                          pub fn user_name(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { diff --git a/sdk/iam/src/operation/update_account_password_policy/builders.rs b/sdk/iam/src/operation/update_account_password_policy/builders.rs index 2c5191c43a17..8d205f809f04 100644 --- a/sdk/iam/src/operation/update_account_password_policy/builders.rs +++ b/sdk/iam/src/operation/update_account_password_policy/builders.rs @@ -22,9 +22,9 @@ impl UpdateAccountPasswordPolicyFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -86,6 +86,22 @@ impl UpdateAccountPasswordPolicyFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::update_account_password_policy::UpdateAccountPasswordPolicy, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::update_account_password_policy::UpdateAccountPasswordPolicyError, + >, + > { + self.customize_middleware().await + } ///

                                                                                          The minimum number of characters allowed in an IAM user password.

                                                                                          ///

                                                                                          If you do not specify a value for this parameter, then the operation uses the default value of 6.

                                                                                          pub fn minimum_password_length(mut self, input: i32) -> Self { diff --git a/sdk/iam/src/operation/update_assume_role_policy/builders.rs b/sdk/iam/src/operation/update_assume_role_policy/builders.rs index 586df8fc19d0..2fdc4865d3f8 100644 --- a/sdk/iam/src/operation/update_assume_role_policy/builders.rs +++ b/sdk/iam/src/operation/update_assume_role_policy/builders.rs @@ -20,9 +20,9 @@ impl UpdateAssumeRolePolicyFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -84,6 +84,22 @@ impl UpdateAssumeRolePolicyFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::update_assume_role_policy::UpdateAssumeRolePolicy, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::update_assume_role_policy::UpdateAssumeRolePolicyError, + >, + > { + self.customize_middleware().await + } ///

                                                                                          The name of the role to update with the new policy.

                                                                                          ///

                                                                                          This parameter allows (through its regex pattern) a string of characters consisting of upper and lowercase alphanumeric characters with no spaces. You can also include any of the following characters: _+=,.@-

                                                                                          pub fn role_name(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { diff --git a/sdk/iam/src/operation/update_group/builders.rs b/sdk/iam/src/operation/update_group/builders.rs index e748768b9a2b..d35731148e4c 100644 --- a/sdk/iam/src/operation/update_group/builders.rs +++ b/sdk/iam/src/operation/update_group/builders.rs @@ -23,9 +23,9 @@ impl UpdateGroupFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -81,6 +81,20 @@ impl UpdateGroupFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::update_group::UpdateGroup, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                                          Name of the IAM group to update. If you're changing the name of the group, this is the original name.

                                                                                          ///

                                                                                          This parameter allows (through its regex pattern) a string of characters consisting of upper and lowercase alphanumeric characters with no spaces. You can also include any of the following characters: _+=,.@-

                                                                                          pub fn group_name(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { diff --git a/sdk/iam/src/operation/update_login_profile/builders.rs b/sdk/iam/src/operation/update_login_profile/builders.rs index 668d0298de62..a5a7164f6220 100644 --- a/sdk/iam/src/operation/update_login_profile/builders.rs +++ b/sdk/iam/src/operation/update_login_profile/builders.rs @@ -20,9 +20,9 @@ impl UpdateLoginProfileFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -84,6 +84,22 @@ impl UpdateLoginProfileFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::update_login_profile::UpdateLoginProfile, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::update_login_profile::UpdateLoginProfileError, + >, + > { + self.customize_middleware().await + } ///

                                                                                          The name of the user whose password you want to update.

                                                                                          ///

                                                                                          This parameter allows (through its regex pattern) a string of characters consisting of upper and lowercase alphanumeric characters with no spaces. You can also include any of the following characters: _+=,.@-

                                                                                          pub fn user_name(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { diff --git a/sdk/iam/src/operation/update_open_id_connect_provider_thumbprint/builders.rs b/sdk/iam/src/operation/update_open_id_connect_provider_thumbprint/builders.rs index 3e608449ae04..2569dafe072e 100644 --- a/sdk/iam/src/operation/update_open_id_connect_provider_thumbprint/builders.rs +++ b/sdk/iam/src/operation/update_open_id_connect_provider_thumbprint/builders.rs @@ -25,9 +25,9 @@ impl UpdateOpenIDConnectProviderThumbprintFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize(self) -> ::std::result::Result< + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware(self) -> ::std::result::Result< crate::client::customize::CustomizableOperation, ::aws_smithy_http::result::SdkError >{ @@ -70,6 +70,15 @@ impl UpdateOpenIDConnectProviderThumbprintFluentBuilder { { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize(self) -> ::std::result::Result< + crate::client::customize::CustomizableOperation, + ::aws_smithy_http::result::SdkError + >{ + self.customize_middleware().await + } ///

                                                                                          The Amazon Resource Name (ARN) of the IAM OIDC provider resource object for which you want to update the thumbprint. You can get a list of OIDC provider ARNs by using the ListOpenIDConnectProviders operation.

                                                                                          ///

                                                                                          For more information about ARNs, see Amazon Resource Names (ARNs) in the Amazon Web Services General Reference.

                                                                                          pub fn open_id_connect_provider_arn( diff --git a/sdk/iam/src/operation/update_role/builders.rs b/sdk/iam/src/operation/update_role/builders.rs index 150cbe0a6c2d..9677b907f502 100644 --- a/sdk/iam/src/operation/update_role/builders.rs +++ b/sdk/iam/src/operation/update_role/builders.rs @@ -19,9 +19,9 @@ impl UpdateRoleFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl UpdateRoleFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::update_role::UpdateRole, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                                          The name of the role that you want to modify.

                                                                                          pub fn role_name(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.role_name(input.into()); diff --git a/sdk/iam/src/operation/update_role_description/builders.rs b/sdk/iam/src/operation/update_role_description/builders.rs index b93f5ddf0661..73b8d183fdff 100644 --- a/sdk/iam/src/operation/update_role_description/builders.rs +++ b/sdk/iam/src/operation/update_role_description/builders.rs @@ -20,9 +20,9 @@ impl UpdateRoleDescriptionFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -84,6 +84,22 @@ impl UpdateRoleDescriptionFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::update_role_description::UpdateRoleDescription, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::update_role_description::UpdateRoleDescriptionError, + >, + > { + self.customize_middleware().await + } ///

                                                                                          The name of the role that you want to modify.

                                                                                          pub fn role_name(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.role_name(input.into()); diff --git a/sdk/iam/src/operation/update_saml_provider/builders.rs b/sdk/iam/src/operation/update_saml_provider/builders.rs index a0c0c275d87b..7e9f77eb7e48 100644 --- a/sdk/iam/src/operation/update_saml_provider/builders.rs +++ b/sdk/iam/src/operation/update_saml_provider/builders.rs @@ -21,9 +21,9 @@ impl UpdateSAMLProviderFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -85,6 +85,22 @@ impl UpdateSAMLProviderFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::update_saml_provider::UpdateSAMLProvider, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::update_saml_provider::UpdateSAMLProviderError, + >, + > { + self.customize_middleware().await + } ///

                                                                                          An XML document generated by an identity provider (IdP) that supports SAML 2.0. The document includes the issuer's name, expiration information, and keys that can be used to validate the SAML authentication response (assertions) that are received from the IdP. You must generate the metadata document using the identity management software that is used as your organization's IdP.

                                                                                          pub fn saml_metadata_document( mut self, diff --git a/sdk/iam/src/operation/update_server_certificate/builders.rs b/sdk/iam/src/operation/update_server_certificate/builders.rs index a924933a6aa8..ecdcc04925d2 100644 --- a/sdk/iam/src/operation/update_server_certificate/builders.rs +++ b/sdk/iam/src/operation/update_server_certificate/builders.rs @@ -25,9 +25,9 @@ impl UpdateServerCertificateFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -89,6 +89,22 @@ impl UpdateServerCertificateFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::update_server_certificate::UpdateServerCertificate, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::update_server_certificate::UpdateServerCertificateError, + >, + > { + self.customize_middleware().await + } ///

                                                                                          The name of the server certificate that you want to update.

                                                                                          ///

                                                                                          This parameter allows (through its regex pattern) a string of characters consisting of upper and lowercase alphanumeric characters with no spaces. You can also include any of the following characters: _+=,.@-

                                                                                          pub fn server_certificate_name( diff --git a/sdk/iam/src/operation/update_service_specific_credential/builders.rs b/sdk/iam/src/operation/update_service_specific_credential/builders.rs index cd2e065c3c5e..4e636e40cc45 100644 --- a/sdk/iam/src/operation/update_service_specific_credential/builders.rs +++ b/sdk/iam/src/operation/update_service_specific_credential/builders.rs @@ -19,9 +19,9 @@ impl UpdateServiceSpecificCredentialFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize(self) -> ::std::result::Result< + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware(self) -> ::std::result::Result< crate::client::customize::CustomizableOperation, ::aws_smithy_http::result::SdkError >{ @@ -64,6 +64,15 @@ impl UpdateServiceSpecificCredentialFluentBuilder { { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize(self) -> ::std::result::Result< + crate::client::customize::CustomizableOperation, + ::aws_smithy_http::result::SdkError + >{ + self.customize_middleware().await + } ///

                                                                                          The name of the IAM user associated with the service-specific credential. If you do not specify this value, then the operation assumes the user whose credentials are used to call the operation.

                                                                                          ///

                                                                                          This parameter allows (through its regex pattern) a string of characters consisting of upper and lowercase alphanumeric characters with no spaces. You can also include any of the following characters: _+=,.@-

                                                                                          pub fn user_name(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { diff --git a/sdk/iam/src/operation/update_signing_certificate/builders.rs b/sdk/iam/src/operation/update_signing_certificate/builders.rs index 1b5ce94e78c1..c0ebe366f871 100644 --- a/sdk/iam/src/operation/update_signing_certificate/builders.rs +++ b/sdk/iam/src/operation/update_signing_certificate/builders.rs @@ -20,9 +20,9 @@ impl UpdateSigningCertificateFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -84,6 +84,22 @@ impl UpdateSigningCertificateFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::update_signing_certificate::UpdateSigningCertificate, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::update_signing_certificate::UpdateSigningCertificateError, + >, + > { + self.customize_middleware().await + } ///

                                                                                          The name of the IAM user the signing certificate belongs to.

                                                                                          ///

                                                                                          This parameter allows (through its regex pattern) a string of characters consisting of upper and lowercase alphanumeric characters with no spaces. You can also include any of the following characters: _+=,.@-

                                                                                          pub fn user_name(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { diff --git a/sdk/iam/src/operation/update_ssh_public_key/builders.rs b/sdk/iam/src/operation/update_ssh_public_key/builders.rs index 90c67b542bd5..00d062eb5d8b 100644 --- a/sdk/iam/src/operation/update_ssh_public_key/builders.rs +++ b/sdk/iam/src/operation/update_ssh_public_key/builders.rs @@ -20,9 +20,9 @@ impl UpdateSSHPublicKeyFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -84,6 +84,22 @@ impl UpdateSSHPublicKeyFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::update_ssh_public_key::UpdateSSHPublicKey, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::update_ssh_public_key::UpdateSSHPublicKeyError, + >, + > { + self.customize_middleware().await + } ///

                                                                                          The name of the IAM user associated with the SSH public key.

                                                                                          ///

                                                                                          This parameter allows (through its regex pattern) a string of characters consisting of upper and lowercase alphanumeric characters with no spaces. You can also include any of the following characters: _+=,.@-

                                                                                          pub fn user_name(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { diff --git a/sdk/iam/src/operation/update_user/builders.rs b/sdk/iam/src/operation/update_user/builders.rs index f3e20b604855..9bce323bfe33 100644 --- a/sdk/iam/src/operation/update_user/builders.rs +++ b/sdk/iam/src/operation/update_user/builders.rs @@ -23,9 +23,9 @@ impl UpdateUserFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -81,6 +81,20 @@ impl UpdateUserFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::update_user::UpdateUser, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                                          Name of the user to update. If you're changing the name of the user, this is the original user name.

                                                                                          ///

                                                                                          This parameter allows (through its regex pattern) a string of characters consisting of upper and lowercase alphanumeric characters with no spaces. You can also include any of the following characters: _+=,.@-

                                                                                          pub fn user_name(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { diff --git a/sdk/iam/src/operation/upload_server_certificate/builders.rs b/sdk/iam/src/operation/upload_server_certificate/builders.rs index 71b2d0d510b5..2169b68d4e16 100644 --- a/sdk/iam/src/operation/upload_server_certificate/builders.rs +++ b/sdk/iam/src/operation/upload_server_certificate/builders.rs @@ -25,9 +25,9 @@ impl UploadServerCertificateFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -89,6 +89,22 @@ impl UploadServerCertificateFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::upload_server_certificate::UploadServerCertificate, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::upload_server_certificate::UploadServerCertificateError, + >, + > { + self.customize_middleware().await + } ///

                                                                                          The path for the server certificate. For more information about paths, see IAM identifiers in the IAM User Guide.

                                                                                          ///

                                                                                          This parameter is optional. If it is not included, it defaults to a slash (/). This parameter allows (through its regex pattern) a string of characters consisting of either a forward slash (/) by itself or a string that must begin and end with forward slashes. In addition, it can contain any ASCII character from the ! (\u0021) through the DEL character (\u007F), including most punctuation characters, digits, and upper and lowercased letters.

                                                                                          ///

                                                                                          If you are uploading a server certificate specifically for use with Amazon CloudFront distributions, you must specify a path using the path parameter. The path must begin with /cloudfront and must include a trailing slash (for example, /cloudfront/test/).

                                                                                          diff --git a/sdk/iam/src/operation/upload_signing_certificate/builders.rs b/sdk/iam/src/operation/upload_signing_certificate/builders.rs index 7f8242771db6..95bcc94aa688 100644 --- a/sdk/iam/src/operation/upload_signing_certificate/builders.rs +++ b/sdk/iam/src/operation/upload_signing_certificate/builders.rs @@ -23,9 +23,9 @@ impl UploadSigningCertificateFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -87,6 +87,22 @@ impl UploadSigningCertificateFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::upload_signing_certificate::UploadSigningCertificate, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::upload_signing_certificate::UploadSigningCertificateError, + >, + > { + self.customize_middleware().await + } ///

                                                                                          The name of the user the signing certificate is for.

                                                                                          ///

                                                                                          This parameter allows (through its regex pattern) a string of characters consisting of upper and lowercase alphanumeric characters with no spaces. You can also include any of the following characters: _+=,.@-

                                                                                          pub fn user_name(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { diff --git a/sdk/iam/src/operation/upload_ssh_public_key/builders.rs b/sdk/iam/src/operation/upload_ssh_public_key/builders.rs index 5e249792a342..2f76f788b9fc 100644 --- a/sdk/iam/src/operation/upload_ssh_public_key/builders.rs +++ b/sdk/iam/src/operation/upload_ssh_public_key/builders.rs @@ -20,9 +20,9 @@ impl UploadSSHPublicKeyFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -84,6 +84,22 @@ impl UploadSSHPublicKeyFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::upload_ssh_public_key::UploadSSHPublicKey, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::upload_ssh_public_key::UploadSSHPublicKeyError, + >, + > { + self.customize_middleware().await + } ///

                                                                                          The name of the IAM user to associate the SSH public key with.

                                                                                          ///

                                                                                          This parameter allows (through its regex pattern) a string of characters consisting of upper and lowercase alphanumeric characters with no spaces. You can also include any of the following characters: _+=,.@-

                                                                                          pub fn user_name(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { diff --git a/sdk/identitystore/src/operation/create_group/builders.rs b/sdk/identitystore/src/operation/create_group/builders.rs index 8ddd29633600..254e34fbf2bc 100644 --- a/sdk/identitystore/src/operation/create_group/builders.rs +++ b/sdk/identitystore/src/operation/create_group/builders.rs @@ -19,9 +19,9 @@ impl CreateGroupFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl CreateGroupFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::create_group::CreateGroup, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                                          The globally unique identifier for the identity store.

                                                                                          pub fn identity_store_id( mut self, diff --git a/sdk/identitystore/src/operation/create_group_membership/builders.rs b/sdk/identitystore/src/operation/create_group_membership/builders.rs index a42153df26e7..2aa20e95adad 100644 --- a/sdk/identitystore/src/operation/create_group_membership/builders.rs +++ b/sdk/identitystore/src/operation/create_group_membership/builders.rs @@ -19,9 +19,9 @@ impl CreateGroupMembershipFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl CreateGroupMembershipFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::create_group_membership::CreateGroupMembership, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::create_group_membership::CreateGroupMembershipError, + >, + > { + self.customize_middleware().await + } ///

                                                                                          The globally unique identifier for the identity store.

                                                                                          pub fn identity_store_id( mut self, diff --git a/sdk/identitystore/src/operation/create_user/builders.rs b/sdk/identitystore/src/operation/create_user/builders.rs index 0376285dd9fa..3c251e4ee1da 100644 --- a/sdk/identitystore/src/operation/create_user/builders.rs +++ b/sdk/identitystore/src/operation/create_user/builders.rs @@ -19,9 +19,9 @@ impl CreateUserFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl CreateUserFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::create_user::CreateUser, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                                          The globally unique identifier for the identity store.

                                                                                          pub fn identity_store_id( mut self, diff --git a/sdk/identitystore/src/operation/delete_group/builders.rs b/sdk/identitystore/src/operation/delete_group/builders.rs index 805ee12172e7..d208e47854f7 100644 --- a/sdk/identitystore/src/operation/delete_group/builders.rs +++ b/sdk/identitystore/src/operation/delete_group/builders.rs @@ -19,9 +19,9 @@ impl DeleteGroupFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl DeleteGroupFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::delete_group::DeleteGroup, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                                          The globally unique identifier for the identity store.

                                                                                          pub fn identity_store_id( mut self, diff --git a/sdk/identitystore/src/operation/delete_group_membership/builders.rs b/sdk/identitystore/src/operation/delete_group_membership/builders.rs index f6bfe6247a79..1b5da3f99ed9 100644 --- a/sdk/identitystore/src/operation/delete_group_membership/builders.rs +++ b/sdk/identitystore/src/operation/delete_group_membership/builders.rs @@ -19,9 +19,9 @@ impl DeleteGroupMembershipFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl DeleteGroupMembershipFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::delete_group_membership::DeleteGroupMembership, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::delete_group_membership::DeleteGroupMembershipError, + >, + > { + self.customize_middleware().await + } ///

                                                                                          The globally unique identifier for the identity store.

                                                                                          pub fn identity_store_id( mut self, diff --git a/sdk/identitystore/src/operation/delete_user/builders.rs b/sdk/identitystore/src/operation/delete_user/builders.rs index 44cfd44cd3b0..0e5a799f5bac 100644 --- a/sdk/identitystore/src/operation/delete_user/builders.rs +++ b/sdk/identitystore/src/operation/delete_user/builders.rs @@ -19,9 +19,9 @@ impl DeleteUserFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl DeleteUserFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::delete_user::DeleteUser, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                                          The globally unique identifier for the identity store.

                                                                                          pub fn identity_store_id( mut self, diff --git a/sdk/identitystore/src/operation/describe_group/builders.rs b/sdk/identitystore/src/operation/describe_group/builders.rs index 9839be832637..b5011df4533e 100644 --- a/sdk/identitystore/src/operation/describe_group/builders.rs +++ b/sdk/identitystore/src/operation/describe_group/builders.rs @@ -19,9 +19,9 @@ impl DescribeGroupFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl DescribeGroupFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::describe_group::DescribeGroup, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                                          The globally unique identifier for the identity store, such as d-1234567890. In this example, d- is a fixed prefix, and 1234567890 is a randomly generated string that contains numbers and lower case letters. This value is generated at the time that a new identity store is created.

                                                                                          pub fn identity_store_id( mut self, diff --git a/sdk/identitystore/src/operation/describe_group_membership/builders.rs b/sdk/identitystore/src/operation/describe_group_membership/builders.rs index 31b7361442a8..1f997c07ba65 100644 --- a/sdk/identitystore/src/operation/describe_group_membership/builders.rs +++ b/sdk/identitystore/src/operation/describe_group_membership/builders.rs @@ -20,9 +20,9 @@ impl DescribeGroupMembershipFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -84,6 +84,22 @@ impl DescribeGroupMembershipFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::describe_group_membership::DescribeGroupMembership, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::describe_group_membership::DescribeGroupMembershipError, + >, + > { + self.customize_middleware().await + } ///

                                                                                          The globally unique identifier for the identity store.

                                                                                          pub fn identity_store_id( mut self, diff --git a/sdk/identitystore/src/operation/describe_user/builders.rs b/sdk/identitystore/src/operation/describe_user/builders.rs index c503046553a7..14301084e072 100644 --- a/sdk/identitystore/src/operation/describe_user/builders.rs +++ b/sdk/identitystore/src/operation/describe_user/builders.rs @@ -19,9 +19,9 @@ impl DescribeUserFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl DescribeUserFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::describe_user::DescribeUser, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                                          The globally unique identifier for the identity store, such as d-1234567890. In this example, d- is a fixed prefix, and 1234567890 is a randomly generated string that contains numbers and lower case letters. This value is generated at the time that a new identity store is created.

                                                                                          pub fn identity_store_id( mut self, diff --git a/sdk/identitystore/src/operation/get_group_id/builders.rs b/sdk/identitystore/src/operation/get_group_id/builders.rs index a73dd7cc8586..bb6847a0ff50 100644 --- a/sdk/identitystore/src/operation/get_group_id/builders.rs +++ b/sdk/identitystore/src/operation/get_group_id/builders.rs @@ -19,9 +19,9 @@ impl GetGroupIdFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl GetGroupIdFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::get_group_id::GetGroupId, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                                          The globally unique identifier for the identity store.

                                                                                          pub fn identity_store_id( mut self, diff --git a/sdk/identitystore/src/operation/get_group_membership_id/builders.rs b/sdk/identitystore/src/operation/get_group_membership_id/builders.rs index 93931e8c7ddf..366914b881d1 100644 --- a/sdk/identitystore/src/operation/get_group_membership_id/builders.rs +++ b/sdk/identitystore/src/operation/get_group_membership_id/builders.rs @@ -19,9 +19,9 @@ impl GetGroupMembershipIdFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl GetGroupMembershipIdFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::get_group_membership_id::GetGroupMembershipId, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::get_group_membership_id::GetGroupMembershipIdError, + >, + > { + self.customize_middleware().await + } ///

                                                                                          The globally unique identifier for the identity store.

                                                                                          pub fn identity_store_id( mut self, diff --git a/sdk/identitystore/src/operation/get_user_id/builders.rs b/sdk/identitystore/src/operation/get_user_id/builders.rs index 2af3df97eb8d..1846a04af300 100644 --- a/sdk/identitystore/src/operation/get_user_id/builders.rs +++ b/sdk/identitystore/src/operation/get_user_id/builders.rs @@ -19,9 +19,9 @@ impl GetUserIdFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl GetUserIdFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::get_user_id::GetUserId, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                                          The globally unique identifier for the identity store.

                                                                                          pub fn identity_store_id( mut self, diff --git a/sdk/identitystore/src/operation/is_member_in_groups/builders.rs b/sdk/identitystore/src/operation/is_member_in_groups/builders.rs index 2b1cdadd9928..f801be1dc5e7 100644 --- a/sdk/identitystore/src/operation/is_member_in_groups/builders.rs +++ b/sdk/identitystore/src/operation/is_member_in_groups/builders.rs @@ -19,9 +19,9 @@ impl IsMemberInGroupsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl IsMemberInGroupsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::is_member_in_groups::IsMemberInGroups, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::is_member_in_groups::IsMemberInGroupsError, + >, + > { + self.customize_middleware().await + } ///

                                                                                          The globally unique identifier for the identity store.

                                                                                          pub fn identity_store_id( mut self, diff --git a/sdk/identitystore/src/operation/list_group_memberships/builders.rs b/sdk/identitystore/src/operation/list_group_memberships/builders.rs index 448ff57673a3..100c26c63649 100644 --- a/sdk/identitystore/src/operation/list_group_memberships/builders.rs +++ b/sdk/identitystore/src/operation/list_group_memberships/builders.rs @@ -19,9 +19,9 @@ impl ListGroupMembershipsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl ListGroupMembershipsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_group_memberships::ListGroupMemberships, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::list_group_memberships::ListGroupMembershipsError, + >, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::list_group_memberships::paginator::ListGroupMembershipsPaginator::send) which returns a `Stream`. diff --git a/sdk/identitystore/src/operation/list_group_memberships_for_member/builders.rs b/sdk/identitystore/src/operation/list_group_memberships_for_member/builders.rs index db2e55df10bc..2815e71d5eea 100644 --- a/sdk/identitystore/src/operation/list_group_memberships_for_member/builders.rs +++ b/sdk/identitystore/src/operation/list_group_memberships_for_member/builders.rs @@ -19,9 +19,9 @@ impl ListGroupMembershipsForMemberFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl ListGroupMembershipsForMemberFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_group_memberships_for_member::ListGroupMembershipsForMember, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::list_group_memberships_for_member::ListGroupMembershipsForMemberError, + >, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::list_group_memberships_for_member::paginator::ListGroupMembershipsForMemberPaginator::send) which returns a `Stream`. diff --git a/sdk/identitystore/src/operation/list_groups/builders.rs b/sdk/identitystore/src/operation/list_groups/builders.rs index 1b3d5fc324dd..784884b01b33 100644 --- a/sdk/identitystore/src/operation/list_groups/builders.rs +++ b/sdk/identitystore/src/operation/list_groups/builders.rs @@ -19,9 +19,9 @@ impl ListGroupsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl ListGroupsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_groups::ListGroups, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::list_groups::paginator::ListGroupsPaginator::send) which returns a `Stream`. diff --git a/sdk/identitystore/src/operation/list_users/builders.rs b/sdk/identitystore/src/operation/list_users/builders.rs index 3bf875e5bb5e..51989ab17df8 100644 --- a/sdk/identitystore/src/operation/list_users/builders.rs +++ b/sdk/identitystore/src/operation/list_users/builders.rs @@ -19,9 +19,9 @@ impl ListUsersFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl ListUsersFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_users::ListUsers, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::list_users::paginator::ListUsersPaginator::send) which returns a `Stream`. diff --git a/sdk/identitystore/src/operation/update_group/builders.rs b/sdk/identitystore/src/operation/update_group/builders.rs index 0f0b1f7464d7..b2be1a3be297 100644 --- a/sdk/identitystore/src/operation/update_group/builders.rs +++ b/sdk/identitystore/src/operation/update_group/builders.rs @@ -19,9 +19,9 @@ impl UpdateGroupFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl UpdateGroupFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::update_group::UpdateGroup, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                                          The globally unique identifier for the identity store.

                                                                                          pub fn identity_store_id( mut self, diff --git a/sdk/identitystore/src/operation/update_user/builders.rs b/sdk/identitystore/src/operation/update_user/builders.rs index 4c42433f7eda..d712dd05caa8 100644 --- a/sdk/identitystore/src/operation/update_user/builders.rs +++ b/sdk/identitystore/src/operation/update_user/builders.rs @@ -19,9 +19,9 @@ impl UpdateUserFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl UpdateUserFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::update_user::UpdateUser, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                                          The globally unique identifier for the identity store.

                                                                                          pub fn identity_store_id( mut self, diff --git a/sdk/imagebuilder/src/operation/cancel_image_creation/builders.rs b/sdk/imagebuilder/src/operation/cancel_image_creation/builders.rs index cc6af48c4020..0b5919a6458a 100644 --- a/sdk/imagebuilder/src/operation/cancel_image_creation/builders.rs +++ b/sdk/imagebuilder/src/operation/cancel_image_creation/builders.rs @@ -19,9 +19,9 @@ impl CancelImageCreationFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl CancelImageCreationFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::cancel_image_creation::CancelImageCreation, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::cancel_image_creation::CancelImageCreationError, + >, + > { + self.customize_middleware().await + } ///

                                                                                          The Amazon Resource Name (ARN) of the image that you want to cancel creation for.

                                                                                          pub fn image_build_version_arn( mut self, diff --git a/sdk/imagebuilder/src/operation/create_component/builders.rs b/sdk/imagebuilder/src/operation/create_component/builders.rs index 68f65dd2e920..c610ba0e3f3b 100644 --- a/sdk/imagebuilder/src/operation/create_component/builders.rs +++ b/sdk/imagebuilder/src/operation/create_component/builders.rs @@ -23,9 +23,9 @@ impl CreateComponentFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -87,6 +87,22 @@ impl CreateComponentFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::create_component::CreateComponent, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::create_component::CreateComponentError, + >, + > { + self.customize_middleware().await + } ///

                                                                                          The name of the component.

                                                                                          pub fn name(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.name(input.into()); diff --git a/sdk/imagebuilder/src/operation/create_container_recipe/builders.rs b/sdk/imagebuilder/src/operation/create_container_recipe/builders.rs index 1b0bb6455b46..adf8716dd8c3 100644 --- a/sdk/imagebuilder/src/operation/create_container_recipe/builders.rs +++ b/sdk/imagebuilder/src/operation/create_container_recipe/builders.rs @@ -19,9 +19,9 @@ impl CreateContainerRecipeFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl CreateContainerRecipeFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::create_container_recipe::CreateContainerRecipe, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::create_container_recipe::CreateContainerRecipeError, + >, + > { + self.customize_middleware().await + } ///

                                                                                          The type of container to create.

                                                                                          pub fn container_type(mut self, input: crate::types::ContainerType) -> Self { self.inner = self.inner.container_type(input); diff --git a/sdk/imagebuilder/src/operation/create_distribution_configuration/builders.rs b/sdk/imagebuilder/src/operation/create_distribution_configuration/builders.rs index f288c7a8188d..ca519409024d 100644 --- a/sdk/imagebuilder/src/operation/create_distribution_configuration/builders.rs +++ b/sdk/imagebuilder/src/operation/create_distribution_configuration/builders.rs @@ -19,9 +19,9 @@ impl CreateDistributionConfigurationFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize(self) -> ::std::result::Result< + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware(self) -> ::std::result::Result< crate::client::customize::CustomizableOperation, ::aws_smithy_http::result::SdkError >{ @@ -64,6 +64,15 @@ impl CreateDistributionConfigurationFluentBuilder { { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize(self) -> ::std::result::Result< + crate::client::customize::CustomizableOperation, + ::aws_smithy_http::result::SdkError + >{ + self.customize_middleware().await + } ///

                                                                                          The name of the distribution configuration.

                                                                                          pub fn name(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.name(input.into()); diff --git a/sdk/imagebuilder/src/operation/create_image/builders.rs b/sdk/imagebuilder/src/operation/create_image/builders.rs index bd31e6716f3d..f14d8f11a632 100644 --- a/sdk/imagebuilder/src/operation/create_image/builders.rs +++ b/sdk/imagebuilder/src/operation/create_image/builders.rs @@ -19,9 +19,9 @@ impl CreateImageFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl CreateImageFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::create_image::CreateImage, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                                          The Amazon Resource Name (ARN) of the image recipe that defines how images are configured, tested, and assessed.

                                                                                          pub fn image_recipe_arn( mut self, diff --git a/sdk/imagebuilder/src/operation/create_image_pipeline/builders.rs b/sdk/imagebuilder/src/operation/create_image_pipeline/builders.rs index ea3f9b1c9608..e5e1400fcb05 100644 --- a/sdk/imagebuilder/src/operation/create_image_pipeline/builders.rs +++ b/sdk/imagebuilder/src/operation/create_image_pipeline/builders.rs @@ -19,9 +19,9 @@ impl CreateImagePipelineFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl CreateImagePipelineFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::create_image_pipeline::CreateImagePipeline, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::create_image_pipeline::CreateImagePipelineError, + >, + > { + self.customize_middleware().await + } ///

                                                                                          The name of the image pipeline.

                                                                                          pub fn name(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.name(input.into()); diff --git a/sdk/imagebuilder/src/operation/create_image_recipe/builders.rs b/sdk/imagebuilder/src/operation/create_image_recipe/builders.rs index 1a2aba4e5266..89ebfee2460c 100644 --- a/sdk/imagebuilder/src/operation/create_image_recipe/builders.rs +++ b/sdk/imagebuilder/src/operation/create_image_recipe/builders.rs @@ -19,9 +19,9 @@ impl CreateImageRecipeFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl CreateImageRecipeFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::create_image_recipe::CreateImageRecipe, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::create_image_recipe::CreateImageRecipeError, + >, + > { + self.customize_middleware().await + } ///

                                                                                          The name of the image recipe.

                                                                                          pub fn name(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.name(input.into()); diff --git a/sdk/imagebuilder/src/operation/create_infrastructure_configuration/builders.rs b/sdk/imagebuilder/src/operation/create_infrastructure_configuration/builders.rs index 82ea2af46d4d..05c2f367202c 100644 --- a/sdk/imagebuilder/src/operation/create_infrastructure_configuration/builders.rs +++ b/sdk/imagebuilder/src/operation/create_infrastructure_configuration/builders.rs @@ -19,9 +19,9 @@ impl CreateInfrastructureConfigurationFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize(self) -> ::std::result::Result< + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware(self) -> ::std::result::Result< crate::client::customize::CustomizableOperation, ::aws_smithy_http::result::SdkError >{ @@ -64,6 +64,15 @@ impl CreateInfrastructureConfigurationFluentBuilder { { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize(self) -> ::std::result::Result< + crate::client::customize::CustomizableOperation, + ::aws_smithy_http::result::SdkError + >{ + self.customize_middleware().await + } ///

                                                                                          The name of the infrastructure configuration.

                                                                                          pub fn name(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.name(input.into()); diff --git a/sdk/imagebuilder/src/operation/delete_component/builders.rs b/sdk/imagebuilder/src/operation/delete_component/builders.rs index 1a519609e420..40f8b9e39c91 100644 --- a/sdk/imagebuilder/src/operation/delete_component/builders.rs +++ b/sdk/imagebuilder/src/operation/delete_component/builders.rs @@ -19,9 +19,9 @@ impl DeleteComponentFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl DeleteComponentFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::delete_component::DeleteComponent, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::delete_component::DeleteComponentError, + >, + > { + self.customize_middleware().await + } ///

                                                                                          The Amazon Resource Name (ARN) of the component build version to delete.

                                                                                          pub fn component_build_version_arn( mut self, diff --git a/sdk/imagebuilder/src/operation/delete_container_recipe/builders.rs b/sdk/imagebuilder/src/operation/delete_container_recipe/builders.rs index 3899dc1d7f59..64d02b5eaaf4 100644 --- a/sdk/imagebuilder/src/operation/delete_container_recipe/builders.rs +++ b/sdk/imagebuilder/src/operation/delete_container_recipe/builders.rs @@ -19,9 +19,9 @@ impl DeleteContainerRecipeFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl DeleteContainerRecipeFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::delete_container_recipe::DeleteContainerRecipe, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::delete_container_recipe::DeleteContainerRecipeError, + >, + > { + self.customize_middleware().await + } ///

                                                                                          The Amazon Resource Name (ARN) of the container recipe to delete.

                                                                                          pub fn container_recipe_arn( mut self, diff --git a/sdk/imagebuilder/src/operation/delete_distribution_configuration/builders.rs b/sdk/imagebuilder/src/operation/delete_distribution_configuration/builders.rs index e13df57b145e..0a07b8bda6da 100644 --- a/sdk/imagebuilder/src/operation/delete_distribution_configuration/builders.rs +++ b/sdk/imagebuilder/src/operation/delete_distribution_configuration/builders.rs @@ -19,9 +19,9 @@ impl DeleteDistributionConfigurationFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize(self) -> ::std::result::Result< + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware(self) -> ::std::result::Result< crate::client::customize::CustomizableOperation, ::aws_smithy_http::result::SdkError >{ @@ -64,6 +64,15 @@ impl DeleteDistributionConfigurationFluentBuilder { { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize(self) -> ::std::result::Result< + crate::client::customize::CustomizableOperation, + ::aws_smithy_http::result::SdkError + >{ + self.customize_middleware().await + } ///

                                                                                          The Amazon Resource Name (ARN) of the distribution configuration to delete.

                                                                                          pub fn distribution_configuration_arn( mut self, diff --git a/sdk/imagebuilder/src/operation/delete_image/builders.rs b/sdk/imagebuilder/src/operation/delete_image/builders.rs index 298b60abf5ca..f0b8a023ed3e 100644 --- a/sdk/imagebuilder/src/operation/delete_image/builders.rs +++ b/sdk/imagebuilder/src/operation/delete_image/builders.rs @@ -24,9 +24,9 @@ impl DeleteImageFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -82,6 +82,20 @@ impl DeleteImageFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::delete_image::DeleteImage, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                                          The Amazon Resource Name (ARN) of the Image Builder image resource to delete.

                                                                                          pub fn image_build_version_arn( mut self, diff --git a/sdk/imagebuilder/src/operation/delete_image_pipeline/builders.rs b/sdk/imagebuilder/src/operation/delete_image_pipeline/builders.rs index b9bd95105cb1..9372aa91df65 100644 --- a/sdk/imagebuilder/src/operation/delete_image_pipeline/builders.rs +++ b/sdk/imagebuilder/src/operation/delete_image_pipeline/builders.rs @@ -19,9 +19,9 @@ impl DeleteImagePipelineFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl DeleteImagePipelineFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::delete_image_pipeline::DeleteImagePipeline, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::delete_image_pipeline::DeleteImagePipelineError, + >, + > { + self.customize_middleware().await + } ///

                                                                                          The Amazon Resource Name (ARN) of the image pipeline to delete.

                                                                                          pub fn image_pipeline_arn( mut self, diff --git a/sdk/imagebuilder/src/operation/delete_image_recipe/builders.rs b/sdk/imagebuilder/src/operation/delete_image_recipe/builders.rs index 4c1cc37f7c3d..67f4b1bf021e 100644 --- a/sdk/imagebuilder/src/operation/delete_image_recipe/builders.rs +++ b/sdk/imagebuilder/src/operation/delete_image_recipe/builders.rs @@ -19,9 +19,9 @@ impl DeleteImageRecipeFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl DeleteImageRecipeFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::delete_image_recipe::DeleteImageRecipe, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::delete_image_recipe::DeleteImageRecipeError, + >, + > { + self.customize_middleware().await + } ///

                                                                                          The Amazon Resource Name (ARN) of the image recipe to delete.

                                                                                          pub fn image_recipe_arn( mut self, diff --git a/sdk/imagebuilder/src/operation/delete_infrastructure_configuration/builders.rs b/sdk/imagebuilder/src/operation/delete_infrastructure_configuration/builders.rs index d0c2fa2cf52d..07ce7efae21e 100644 --- a/sdk/imagebuilder/src/operation/delete_infrastructure_configuration/builders.rs +++ b/sdk/imagebuilder/src/operation/delete_infrastructure_configuration/builders.rs @@ -19,9 +19,9 @@ impl DeleteInfrastructureConfigurationFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize(self) -> ::std::result::Result< + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware(self) -> ::std::result::Result< crate::client::customize::CustomizableOperation, ::aws_smithy_http::result::SdkError >{ @@ -64,6 +64,15 @@ impl DeleteInfrastructureConfigurationFluentBuilder { { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize(self) -> ::std::result::Result< + crate::client::customize::CustomizableOperation, + ::aws_smithy_http::result::SdkError + >{ + self.customize_middleware().await + } ///

                                                                                          The Amazon Resource Name (ARN) of the infrastructure configuration to delete.

                                                                                          pub fn infrastructure_configuration_arn( mut self, diff --git a/sdk/imagebuilder/src/operation/get_component/builders.rs b/sdk/imagebuilder/src/operation/get_component/builders.rs index ed3ce00d5514..1cb9d84e9308 100644 --- a/sdk/imagebuilder/src/operation/get_component/builders.rs +++ b/sdk/imagebuilder/src/operation/get_component/builders.rs @@ -19,9 +19,9 @@ impl GetComponentFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl GetComponentFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::get_component::GetComponent, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                                          The Amazon Resource Name (ARN) of the component that you want to get. Regex requires the suffix /\d+$.

                                                                                          pub fn component_build_version_arn( mut self, diff --git a/sdk/imagebuilder/src/operation/get_component_policy/builders.rs b/sdk/imagebuilder/src/operation/get_component_policy/builders.rs index 856785c6fab0..51ebb3e06b73 100644 --- a/sdk/imagebuilder/src/operation/get_component_policy/builders.rs +++ b/sdk/imagebuilder/src/operation/get_component_policy/builders.rs @@ -19,9 +19,9 @@ impl GetComponentPolicyFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl GetComponentPolicyFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::get_component_policy::GetComponentPolicy, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::get_component_policy::GetComponentPolicyError, + >, + > { + self.customize_middleware().await + } ///

                                                                                          The Amazon Resource Name (ARN) of the component whose policy you want to retrieve.

                                                                                          pub fn component_arn( mut self, diff --git a/sdk/imagebuilder/src/operation/get_container_recipe/builders.rs b/sdk/imagebuilder/src/operation/get_container_recipe/builders.rs index 1036bf42b47f..7ff779ae70b2 100644 --- a/sdk/imagebuilder/src/operation/get_container_recipe/builders.rs +++ b/sdk/imagebuilder/src/operation/get_container_recipe/builders.rs @@ -19,9 +19,9 @@ impl GetContainerRecipeFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl GetContainerRecipeFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::get_container_recipe::GetContainerRecipe, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::get_container_recipe::GetContainerRecipeError, + >, + > { + self.customize_middleware().await + } ///

                                                                                          The Amazon Resource Name (ARN) of the container recipe to retrieve.

                                                                                          pub fn container_recipe_arn( mut self, diff --git a/sdk/imagebuilder/src/operation/get_container_recipe_policy/builders.rs b/sdk/imagebuilder/src/operation/get_container_recipe_policy/builders.rs index 665c35a81b06..944b7b26828d 100644 --- a/sdk/imagebuilder/src/operation/get_container_recipe_policy/builders.rs +++ b/sdk/imagebuilder/src/operation/get_container_recipe_policy/builders.rs @@ -19,9 +19,9 @@ impl GetContainerRecipePolicyFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl GetContainerRecipePolicyFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::get_container_recipe_policy::GetContainerRecipePolicy, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::get_container_recipe_policy::GetContainerRecipePolicyError, + >, + > { + self.customize_middleware().await + } ///

                                                                                          The Amazon Resource Name (ARN) of the container recipe for the policy being requested.

                                                                                          pub fn container_recipe_arn( mut self, diff --git a/sdk/imagebuilder/src/operation/get_distribution_configuration/builders.rs b/sdk/imagebuilder/src/operation/get_distribution_configuration/builders.rs index 71bf5c6ec7d0..a342bbd73975 100644 --- a/sdk/imagebuilder/src/operation/get_distribution_configuration/builders.rs +++ b/sdk/imagebuilder/src/operation/get_distribution_configuration/builders.rs @@ -19,9 +19,9 @@ impl GetDistributionConfigurationFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl GetDistributionConfigurationFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::get_distribution_configuration::GetDistributionConfiguration, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::get_distribution_configuration::GetDistributionConfigurationError, + >, + > { + self.customize_middleware().await + } ///

                                                                                          The Amazon Resource Name (ARN) of the distribution configuration that you want to retrieve.

                                                                                          pub fn distribution_configuration_arn( mut self, diff --git a/sdk/imagebuilder/src/operation/get_image/builders.rs b/sdk/imagebuilder/src/operation/get_image/builders.rs index a7c6ca07c3e2..721f6428c20a 100644 --- a/sdk/imagebuilder/src/operation/get_image/builders.rs +++ b/sdk/imagebuilder/src/operation/get_image/builders.rs @@ -19,9 +19,9 @@ impl GetImageFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl GetImageFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::get_image::GetImage, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                                          The Amazon Resource Name (ARN) of the image that you want to get.

                                                                                          pub fn image_build_version_arn( mut self, diff --git a/sdk/imagebuilder/src/operation/get_image_pipeline/builders.rs b/sdk/imagebuilder/src/operation/get_image_pipeline/builders.rs index 0a1235683376..a16a9dc4d3b5 100644 --- a/sdk/imagebuilder/src/operation/get_image_pipeline/builders.rs +++ b/sdk/imagebuilder/src/operation/get_image_pipeline/builders.rs @@ -19,9 +19,9 @@ impl GetImagePipelineFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl GetImagePipelineFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::get_image_pipeline::GetImagePipeline, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::get_image_pipeline::GetImagePipelineError, + >, + > { + self.customize_middleware().await + } ///

                                                                                          The Amazon Resource Name (ARN) of the image pipeline that you want to retrieve.

                                                                                          pub fn image_pipeline_arn( mut self, diff --git a/sdk/imagebuilder/src/operation/get_image_policy/builders.rs b/sdk/imagebuilder/src/operation/get_image_policy/builders.rs index 6ec4eb2b4f50..273eb195a131 100644 --- a/sdk/imagebuilder/src/operation/get_image_policy/builders.rs +++ b/sdk/imagebuilder/src/operation/get_image_policy/builders.rs @@ -19,9 +19,9 @@ impl GetImagePolicyFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl GetImagePolicyFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::get_image_policy::GetImagePolicy, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::get_image_policy::GetImagePolicyError, + >, + > { + self.customize_middleware().await + } ///

                                                                                          The Amazon Resource Name (ARN) of the image whose policy you want to retrieve.

                                                                                          pub fn image_arn(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.image_arn(input.into()); diff --git a/sdk/imagebuilder/src/operation/get_image_recipe/builders.rs b/sdk/imagebuilder/src/operation/get_image_recipe/builders.rs index 92361d405ba9..6f04d42d6f06 100644 --- a/sdk/imagebuilder/src/operation/get_image_recipe/builders.rs +++ b/sdk/imagebuilder/src/operation/get_image_recipe/builders.rs @@ -19,9 +19,9 @@ impl GetImageRecipeFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl GetImageRecipeFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::get_image_recipe::GetImageRecipe, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::get_image_recipe::GetImageRecipeError, + >, + > { + self.customize_middleware().await + } ///

                                                                                          The Amazon Resource Name (ARN) of the image recipe that you want to retrieve.

                                                                                          pub fn image_recipe_arn( mut self, diff --git a/sdk/imagebuilder/src/operation/get_image_recipe_policy/builders.rs b/sdk/imagebuilder/src/operation/get_image_recipe_policy/builders.rs index a1cbc2be4f0a..f179b2c30f1e 100644 --- a/sdk/imagebuilder/src/operation/get_image_recipe_policy/builders.rs +++ b/sdk/imagebuilder/src/operation/get_image_recipe_policy/builders.rs @@ -19,9 +19,9 @@ impl GetImageRecipePolicyFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl GetImageRecipePolicyFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::get_image_recipe_policy::GetImageRecipePolicy, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::get_image_recipe_policy::GetImageRecipePolicyError, + >, + > { + self.customize_middleware().await + } ///

                                                                                          The Amazon Resource Name (ARN) of the image recipe whose policy you want to retrieve.

                                                                                          pub fn image_recipe_arn( mut self, diff --git a/sdk/imagebuilder/src/operation/get_infrastructure_configuration/builders.rs b/sdk/imagebuilder/src/operation/get_infrastructure_configuration/builders.rs index 57e404730e31..7f6c9e48ea71 100644 --- a/sdk/imagebuilder/src/operation/get_infrastructure_configuration/builders.rs +++ b/sdk/imagebuilder/src/operation/get_infrastructure_configuration/builders.rs @@ -19,9 +19,9 @@ impl GetInfrastructureConfigurationFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl GetInfrastructureConfigurationFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::get_infrastructure_configuration::GetInfrastructureConfiguration, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::get_infrastructure_configuration::GetInfrastructureConfigurationError, + >, + > { + self.customize_middleware().await + } ///

                                                                                          The Amazon Resource Name (ARN) of the infrastructure configuration that you want to retrieve.

                                                                                          pub fn infrastructure_configuration_arn( mut self, diff --git a/sdk/imagebuilder/src/operation/get_workflow_execution/builders.rs b/sdk/imagebuilder/src/operation/get_workflow_execution/builders.rs index 7b3564376782..dfd5be4a1792 100644 --- a/sdk/imagebuilder/src/operation/get_workflow_execution/builders.rs +++ b/sdk/imagebuilder/src/operation/get_workflow_execution/builders.rs @@ -19,9 +19,9 @@ impl GetWorkflowExecutionFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl GetWorkflowExecutionFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::get_workflow_execution::GetWorkflowExecution, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::get_workflow_execution::GetWorkflowExecutionError, + >, + > { + self.customize_middleware().await + } ///

                                                                                          Use the unique identifier for a runtime instance of the workflow to get runtime details.

                                                                                          pub fn workflow_execution_id( mut self, diff --git a/sdk/imagebuilder/src/operation/get_workflow_step_execution/builders.rs b/sdk/imagebuilder/src/operation/get_workflow_step_execution/builders.rs index 29a34442201e..6ed0dfc2034a 100644 --- a/sdk/imagebuilder/src/operation/get_workflow_step_execution/builders.rs +++ b/sdk/imagebuilder/src/operation/get_workflow_step_execution/builders.rs @@ -19,9 +19,9 @@ impl GetWorkflowStepExecutionFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl GetWorkflowStepExecutionFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::get_workflow_step_execution::GetWorkflowStepExecution, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::get_workflow_step_execution::GetWorkflowStepExecutionError, + >, + > { + self.customize_middleware().await + } ///

                                                                                          Use the unique identifier for a specific runtime instance of the workflow step to get runtime details for that step.

                                                                                          pub fn step_execution_id( mut self, diff --git a/sdk/imagebuilder/src/operation/import_component/builders.rs b/sdk/imagebuilder/src/operation/import_component/builders.rs index 7e861158dce8..e23617c57ab6 100644 --- a/sdk/imagebuilder/src/operation/import_component/builders.rs +++ b/sdk/imagebuilder/src/operation/import_component/builders.rs @@ -19,9 +19,9 @@ impl ImportComponentFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl ImportComponentFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::import_component::ImportComponent, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::import_component::ImportComponentError, + >, + > { + self.customize_middleware().await + } ///

                                                                                          The name of the component.

                                                                                          pub fn name(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.name(input.into()); diff --git a/sdk/imagebuilder/src/operation/import_vm_image/builders.rs b/sdk/imagebuilder/src/operation/import_vm_image/builders.rs index 6aac8b901afb..dc9da3b4641e 100644 --- a/sdk/imagebuilder/src/operation/import_vm_image/builders.rs +++ b/sdk/imagebuilder/src/operation/import_vm_image/builders.rs @@ -20,9 +20,9 @@ impl ImportVmImageFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -78,6 +78,20 @@ impl ImportVmImageFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::import_vm_image::ImportVmImage, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                                          The name of the base image that is created by the import process.

                                                                                          pub fn name(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.name(input.into()); diff --git a/sdk/imagebuilder/src/operation/list_component_build_versions/builders.rs b/sdk/imagebuilder/src/operation/list_component_build_versions/builders.rs index e58eecc0befb..1b01c3adbf38 100644 --- a/sdk/imagebuilder/src/operation/list_component_build_versions/builders.rs +++ b/sdk/imagebuilder/src/operation/list_component_build_versions/builders.rs @@ -33,9 +33,9 @@ impl ListComponentBuildVersionsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -97,6 +97,22 @@ impl ListComponentBuildVersionsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_component_build_versions::ListComponentBuildVersions, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::list_component_build_versions::ListComponentBuildVersionsError, + >, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::list_component_build_versions::paginator::ListComponentBuildVersionsPaginator::send) which returns a `Stream`. diff --git a/sdk/imagebuilder/src/operation/list_components/builders.rs b/sdk/imagebuilder/src/operation/list_components/builders.rs index 0038aa17780b..6fb99b038fe0 100644 --- a/sdk/imagebuilder/src/operation/list_components/builders.rs +++ b/sdk/imagebuilder/src/operation/list_components/builders.rs @@ -33,9 +33,9 @@ impl ListComponentsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -91,6 +91,20 @@ impl ListComponentsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_components::ListComponents, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::list_components::paginator::ListComponentsPaginator::send) which returns a `Stream`. diff --git a/sdk/imagebuilder/src/operation/list_container_recipes/builders.rs b/sdk/imagebuilder/src/operation/list_container_recipes/builders.rs index e762bb5697fa..d870d7e14191 100644 --- a/sdk/imagebuilder/src/operation/list_container_recipes/builders.rs +++ b/sdk/imagebuilder/src/operation/list_container_recipes/builders.rs @@ -19,9 +19,9 @@ impl ListContainerRecipesFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl ListContainerRecipesFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_container_recipes::ListContainerRecipes, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::list_container_recipes::ListContainerRecipesError, + >, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::list_container_recipes::paginator::ListContainerRecipesPaginator::send) which returns a `Stream`. diff --git a/sdk/imagebuilder/src/operation/list_distribution_configurations/builders.rs b/sdk/imagebuilder/src/operation/list_distribution_configurations/builders.rs index 4d5dbf6e72d0..c430c1d50ca1 100644 --- a/sdk/imagebuilder/src/operation/list_distribution_configurations/builders.rs +++ b/sdk/imagebuilder/src/operation/list_distribution_configurations/builders.rs @@ -19,9 +19,9 @@ impl ListDistributionConfigurationsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl ListDistributionConfigurationsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_distribution_configurations::ListDistributionConfigurations, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::list_distribution_configurations::ListDistributionConfigurationsError, + >, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::list_distribution_configurations::paginator::ListDistributionConfigurationsPaginator::send) which returns a `Stream`. diff --git a/sdk/imagebuilder/src/operation/list_image_build_versions/builders.rs b/sdk/imagebuilder/src/operation/list_image_build_versions/builders.rs index 6c63b07576da..ab19a7030db9 100644 --- a/sdk/imagebuilder/src/operation/list_image_build_versions/builders.rs +++ b/sdk/imagebuilder/src/operation/list_image_build_versions/builders.rs @@ -20,9 +20,9 @@ impl ListImageBuildVersionsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -84,6 +84,22 @@ impl ListImageBuildVersionsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_image_build_versions::ListImageBuildVersions, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::list_image_build_versions::ListImageBuildVersionsError, + >, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::list_image_build_versions::paginator::ListImageBuildVersionsPaginator::send) which returns a `Stream`. diff --git a/sdk/imagebuilder/src/operation/list_image_packages/builders.rs b/sdk/imagebuilder/src/operation/list_image_packages/builders.rs index 734bc1a5e6ba..9415ba9db355 100644 --- a/sdk/imagebuilder/src/operation/list_image_packages/builders.rs +++ b/sdk/imagebuilder/src/operation/list_image_packages/builders.rs @@ -19,9 +19,9 @@ impl ListImagePackagesFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl ListImagePackagesFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_image_packages::ListImagePackages, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::list_image_packages::ListImagePackagesError, + >, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::list_image_packages::paginator::ListImagePackagesPaginator::send) which returns a `Stream`. diff --git a/sdk/imagebuilder/src/operation/list_image_pipeline_images/builders.rs b/sdk/imagebuilder/src/operation/list_image_pipeline_images/builders.rs index 9249754007ee..78c51a3af939 100644 --- a/sdk/imagebuilder/src/operation/list_image_pipeline_images/builders.rs +++ b/sdk/imagebuilder/src/operation/list_image_pipeline_images/builders.rs @@ -20,9 +20,9 @@ impl ListImagePipelineImagesFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -84,6 +84,22 @@ impl ListImagePipelineImagesFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_image_pipeline_images::ListImagePipelineImages, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::list_image_pipeline_images::ListImagePipelineImagesError, + >, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::list_image_pipeline_images::paginator::ListImagePipelineImagesPaginator::send) which returns a `Stream`. diff --git a/sdk/imagebuilder/src/operation/list_image_pipelines/builders.rs b/sdk/imagebuilder/src/operation/list_image_pipelines/builders.rs index b4635bea817f..303e5e72102f 100644 --- a/sdk/imagebuilder/src/operation/list_image_pipelines/builders.rs +++ b/sdk/imagebuilder/src/operation/list_image_pipelines/builders.rs @@ -19,9 +19,9 @@ impl ListImagePipelinesFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl ListImagePipelinesFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_image_pipelines::ListImagePipelines, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::list_image_pipelines::ListImagePipelinesError, + >, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::list_image_pipelines::paginator::ListImagePipelinesPaginator::send) which returns a `Stream`. diff --git a/sdk/imagebuilder/src/operation/list_image_recipes/builders.rs b/sdk/imagebuilder/src/operation/list_image_recipes/builders.rs index 5b3812f7fa87..35207fe8c01c 100644 --- a/sdk/imagebuilder/src/operation/list_image_recipes/builders.rs +++ b/sdk/imagebuilder/src/operation/list_image_recipes/builders.rs @@ -19,9 +19,9 @@ impl ListImageRecipesFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl ListImageRecipesFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_image_recipes::ListImageRecipes, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::list_image_recipes::ListImageRecipesError, + >, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::list_image_recipes::paginator::ListImageRecipesPaginator::send) which returns a `Stream`. diff --git a/sdk/imagebuilder/src/operation/list_image_scan_finding_aggregations/builders.rs b/sdk/imagebuilder/src/operation/list_image_scan_finding_aggregations/builders.rs index c53b57c2ea1e..defc9e0a63da 100644 --- a/sdk/imagebuilder/src/operation/list_image_scan_finding_aggregations/builders.rs +++ b/sdk/imagebuilder/src/operation/list_image_scan_finding_aggregations/builders.rs @@ -26,9 +26,9 @@ impl ListImageScanFindingAggregationsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize(self) -> ::std::result::Result< + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware(self) -> ::std::result::Result< crate::client::customize::CustomizableOperation, ::aws_smithy_http::result::SdkError >{ @@ -71,6 +71,15 @@ impl ListImageScanFindingAggregationsFluentBuilder { { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize(self) -> ::std::result::Result< + crate::client::customize::CustomizableOperation, + ::aws_smithy_http::result::SdkError + >{ + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::list_image_scan_finding_aggregations::paginator::ListImageScanFindingAggregationsPaginator::send) which returns a `Stream`. diff --git a/sdk/imagebuilder/src/operation/list_image_scan_findings/builders.rs b/sdk/imagebuilder/src/operation/list_image_scan_findings/builders.rs index 5d02bd5eee9e..9bf1ac356c64 100644 --- a/sdk/imagebuilder/src/operation/list_image_scan_findings/builders.rs +++ b/sdk/imagebuilder/src/operation/list_image_scan_findings/builders.rs @@ -19,9 +19,9 @@ impl ListImageScanFindingsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl ListImageScanFindingsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_image_scan_findings::ListImageScanFindings, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::list_image_scan_findings::ListImageScanFindingsError, + >, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::list_image_scan_findings::paginator::ListImageScanFindingsPaginator::send) which returns a `Stream`. diff --git a/sdk/imagebuilder/src/operation/list_images/builders.rs b/sdk/imagebuilder/src/operation/list_images/builders.rs index 30bab910ad36..c86dafa5c869 100644 --- a/sdk/imagebuilder/src/operation/list_images/builders.rs +++ b/sdk/imagebuilder/src/operation/list_images/builders.rs @@ -19,9 +19,9 @@ impl ListImagesFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl ListImagesFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_images::ListImages, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::list_images::paginator::ListImagesPaginator::send) which returns a `Stream`. diff --git a/sdk/imagebuilder/src/operation/list_infrastructure_configurations/builders.rs b/sdk/imagebuilder/src/operation/list_infrastructure_configurations/builders.rs index 6d9333ed48a1..96ac6829a1f8 100644 --- a/sdk/imagebuilder/src/operation/list_infrastructure_configurations/builders.rs +++ b/sdk/imagebuilder/src/operation/list_infrastructure_configurations/builders.rs @@ -19,9 +19,9 @@ impl ListInfrastructureConfigurationsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize(self) -> ::std::result::Result< + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware(self) -> ::std::result::Result< crate::client::customize::CustomizableOperation, ::aws_smithy_http::result::SdkError >{ @@ -64,6 +64,15 @@ impl ListInfrastructureConfigurationsFluentBuilder { { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize(self) -> ::std::result::Result< + crate::client::customize::CustomizableOperation, + ::aws_smithy_http::result::SdkError + >{ + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::list_infrastructure_configurations::paginator::ListInfrastructureConfigurationsPaginator::send) which returns a `Stream`. diff --git a/sdk/imagebuilder/src/operation/list_tags_for_resource/builders.rs b/sdk/imagebuilder/src/operation/list_tags_for_resource/builders.rs index bb900a65f1b1..8904fc0cbba6 100644 --- a/sdk/imagebuilder/src/operation/list_tags_for_resource/builders.rs +++ b/sdk/imagebuilder/src/operation/list_tags_for_resource/builders.rs @@ -19,9 +19,9 @@ impl ListTagsForResourceFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl ListTagsForResourceFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_tags_for_resource::ListTagsForResource, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::list_tags_for_resource::ListTagsForResourceError, + >, + > { + self.customize_middleware().await + } ///

                                                                                          The Amazon Resource Name (ARN) of the resource whose tags you want to retrieve.

                                                                                          pub fn resource_arn(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.resource_arn(input.into()); diff --git a/sdk/imagebuilder/src/operation/list_workflow_executions/builders.rs b/sdk/imagebuilder/src/operation/list_workflow_executions/builders.rs index 9dcd8d8c6425..8a207cd801fa 100644 --- a/sdk/imagebuilder/src/operation/list_workflow_executions/builders.rs +++ b/sdk/imagebuilder/src/operation/list_workflow_executions/builders.rs @@ -19,9 +19,9 @@ impl ListWorkflowExecutionsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl ListWorkflowExecutionsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_workflow_executions::ListWorkflowExecutions, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::list_workflow_executions::ListWorkflowExecutionsError, + >, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::list_workflow_executions::paginator::ListWorkflowExecutionsPaginator::send) which returns a `Stream`. diff --git a/sdk/imagebuilder/src/operation/list_workflow_step_executions/builders.rs b/sdk/imagebuilder/src/operation/list_workflow_step_executions/builders.rs index 5b22b110928d..34e59f1183bd 100644 --- a/sdk/imagebuilder/src/operation/list_workflow_step_executions/builders.rs +++ b/sdk/imagebuilder/src/operation/list_workflow_step_executions/builders.rs @@ -19,9 +19,9 @@ impl ListWorkflowStepExecutionsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl ListWorkflowStepExecutionsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_workflow_step_executions::ListWorkflowStepExecutions, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::list_workflow_step_executions::ListWorkflowStepExecutionsError, + >, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::list_workflow_step_executions::paginator::ListWorkflowStepExecutionsPaginator::send) which returns a `Stream`. diff --git a/sdk/imagebuilder/src/operation/put_component_policy/builders.rs b/sdk/imagebuilder/src/operation/put_component_policy/builders.rs index f4d5e72f3153..707a82fdad0f 100644 --- a/sdk/imagebuilder/src/operation/put_component_policy/builders.rs +++ b/sdk/imagebuilder/src/operation/put_component_policy/builders.rs @@ -19,9 +19,9 @@ impl PutComponentPolicyFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl PutComponentPolicyFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::put_component_policy::PutComponentPolicy, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::put_component_policy::PutComponentPolicyError, + >, + > { + self.customize_middleware().await + } ///

                                                                                          The Amazon Resource Name (ARN) of the component that this policy should be applied to.

                                                                                          pub fn component_arn( mut self, diff --git a/sdk/imagebuilder/src/operation/put_container_recipe_policy/builders.rs b/sdk/imagebuilder/src/operation/put_container_recipe_policy/builders.rs index 004ca0eb4a6a..b6f0869cf2b6 100644 --- a/sdk/imagebuilder/src/operation/put_container_recipe_policy/builders.rs +++ b/sdk/imagebuilder/src/operation/put_container_recipe_policy/builders.rs @@ -19,9 +19,9 @@ impl PutContainerRecipePolicyFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl PutContainerRecipePolicyFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::put_container_recipe_policy::PutContainerRecipePolicy, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::put_container_recipe_policy::PutContainerRecipePolicyError, + >, + > { + self.customize_middleware().await + } ///

                                                                                          The Amazon Resource Name (ARN) of the container recipe that this policy should be applied to.

                                                                                          pub fn container_recipe_arn( mut self, diff --git a/sdk/imagebuilder/src/operation/put_image_policy/builders.rs b/sdk/imagebuilder/src/operation/put_image_policy/builders.rs index 1494ae71ffc0..af8d8f9133b7 100644 --- a/sdk/imagebuilder/src/operation/put_image_policy/builders.rs +++ b/sdk/imagebuilder/src/operation/put_image_policy/builders.rs @@ -19,9 +19,9 @@ impl PutImagePolicyFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl PutImagePolicyFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::put_image_policy::PutImagePolicy, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::put_image_policy::PutImagePolicyError, + >, + > { + self.customize_middleware().await + } ///

                                                                                          The Amazon Resource Name (ARN) of the image that this policy should be applied to.

                                                                                          pub fn image_arn(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.image_arn(input.into()); diff --git a/sdk/imagebuilder/src/operation/put_image_recipe_policy/builders.rs b/sdk/imagebuilder/src/operation/put_image_recipe_policy/builders.rs index d560070eb036..406b84d1b31a 100644 --- a/sdk/imagebuilder/src/operation/put_image_recipe_policy/builders.rs +++ b/sdk/imagebuilder/src/operation/put_image_recipe_policy/builders.rs @@ -19,9 +19,9 @@ impl PutImageRecipePolicyFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl PutImageRecipePolicyFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::put_image_recipe_policy::PutImageRecipePolicy, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::put_image_recipe_policy::PutImageRecipePolicyError, + >, + > { + self.customize_middleware().await + } ///

                                                                                          The Amazon Resource Name (ARN) of the image recipe that this policy should be applied to.

                                                                                          pub fn image_recipe_arn( mut self, diff --git a/sdk/imagebuilder/src/operation/start_image_pipeline_execution/builders.rs b/sdk/imagebuilder/src/operation/start_image_pipeline_execution/builders.rs index c84e726d1506..44eb93fbf485 100644 --- a/sdk/imagebuilder/src/operation/start_image_pipeline_execution/builders.rs +++ b/sdk/imagebuilder/src/operation/start_image_pipeline_execution/builders.rs @@ -19,9 +19,9 @@ impl StartImagePipelineExecutionFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl StartImagePipelineExecutionFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::start_image_pipeline_execution::StartImagePipelineExecution, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::start_image_pipeline_execution::StartImagePipelineExecutionError, + >, + > { + self.customize_middleware().await + } ///

                                                                                          The Amazon Resource Name (ARN) of the image pipeline that you want to manually invoke.

                                                                                          pub fn image_pipeline_arn( mut self, diff --git a/sdk/imagebuilder/src/operation/tag_resource/builders.rs b/sdk/imagebuilder/src/operation/tag_resource/builders.rs index 9e7389dc2da7..ab03a2793bc6 100644 --- a/sdk/imagebuilder/src/operation/tag_resource/builders.rs +++ b/sdk/imagebuilder/src/operation/tag_resource/builders.rs @@ -19,9 +19,9 @@ impl TagResourceFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl TagResourceFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::tag_resource::TagResource, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                                          The Amazon Resource Name (ARN) of the resource that you want to tag.

                                                                                          pub fn resource_arn(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.resource_arn(input.into()); diff --git a/sdk/imagebuilder/src/operation/untag_resource/builders.rs b/sdk/imagebuilder/src/operation/untag_resource/builders.rs index 7cd08f9165cf..14d554f72b6b 100644 --- a/sdk/imagebuilder/src/operation/untag_resource/builders.rs +++ b/sdk/imagebuilder/src/operation/untag_resource/builders.rs @@ -19,9 +19,9 @@ impl UntagResourceFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl UntagResourceFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::untag_resource::UntagResource, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                                          The Amazon Resource Name (ARN) of the resource that you want to untag.

                                                                                          pub fn resource_arn(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.resource_arn(input.into()); diff --git a/sdk/imagebuilder/src/operation/update_distribution_configuration/builders.rs b/sdk/imagebuilder/src/operation/update_distribution_configuration/builders.rs index 16a2c652a194..2c1293788523 100644 --- a/sdk/imagebuilder/src/operation/update_distribution_configuration/builders.rs +++ b/sdk/imagebuilder/src/operation/update_distribution_configuration/builders.rs @@ -19,9 +19,9 @@ impl UpdateDistributionConfigurationFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize(self) -> ::std::result::Result< + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware(self) -> ::std::result::Result< crate::client::customize::CustomizableOperation, ::aws_smithy_http::result::SdkError >{ @@ -64,6 +64,15 @@ impl UpdateDistributionConfigurationFluentBuilder { { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize(self) -> ::std::result::Result< + crate::client::customize::CustomizableOperation, + ::aws_smithy_http::result::SdkError + >{ + self.customize_middleware().await + } ///

                                                                                          The Amazon Resource Name (ARN) of the distribution configuration that you want to update.

                                                                                          pub fn distribution_configuration_arn( mut self, diff --git a/sdk/imagebuilder/src/operation/update_image_pipeline/builders.rs b/sdk/imagebuilder/src/operation/update_image_pipeline/builders.rs index 9bfa17586a01..ed1e073998bf 100644 --- a/sdk/imagebuilder/src/operation/update_image_pipeline/builders.rs +++ b/sdk/imagebuilder/src/operation/update_image_pipeline/builders.rs @@ -21,9 +21,9 @@ impl UpdateImagePipelineFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -85,6 +85,22 @@ impl UpdateImagePipelineFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::update_image_pipeline::UpdateImagePipeline, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::update_image_pipeline::UpdateImagePipelineError, + >, + > { + self.customize_middleware().await + } ///

                                                                                          The Amazon Resource Name (ARN) of the image pipeline that you want to update.

                                                                                          pub fn image_pipeline_arn( mut self, diff --git a/sdk/imagebuilder/src/operation/update_infrastructure_configuration/builders.rs b/sdk/imagebuilder/src/operation/update_infrastructure_configuration/builders.rs index 16821ee9a566..21db7e6098b6 100644 --- a/sdk/imagebuilder/src/operation/update_infrastructure_configuration/builders.rs +++ b/sdk/imagebuilder/src/operation/update_infrastructure_configuration/builders.rs @@ -19,9 +19,9 @@ impl UpdateInfrastructureConfigurationFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize(self) -> ::std::result::Result< + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware(self) -> ::std::result::Result< crate::client::customize::CustomizableOperation, ::aws_smithy_http::result::SdkError >{ @@ -64,6 +64,15 @@ impl UpdateInfrastructureConfigurationFluentBuilder { { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize(self) -> ::std::result::Result< + crate::client::customize::CustomizableOperation, + ::aws_smithy_http::result::SdkError + >{ + self.customize_middleware().await + } ///

                                                                                          The Amazon Resource Name (ARN) of the infrastructure configuration that you want to update.

                                                                                          pub fn infrastructure_configuration_arn( mut self, diff --git a/sdk/inspector/src/operation/add_attributes_to_findings/builders.rs b/sdk/inspector/src/operation/add_attributes_to_findings/builders.rs index 334207e5e9f4..3ed78857adcf 100644 --- a/sdk/inspector/src/operation/add_attributes_to_findings/builders.rs +++ b/sdk/inspector/src/operation/add_attributes_to_findings/builders.rs @@ -20,9 +20,9 @@ impl AddAttributesToFindingsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -84,6 +84,22 @@ impl AddAttributesToFindingsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::add_attributes_to_findings::AddAttributesToFindings, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::add_attributes_to_findings::AddAttributesToFindingsError, + >, + > { + self.customize_middleware().await + } /// Appends an item to `findingArns`. /// /// To override the contents of this collection use [`set_finding_arns`](Self::set_finding_arns). diff --git a/sdk/inspector/src/operation/create_assessment_target/builders.rs b/sdk/inspector/src/operation/create_assessment_target/builders.rs index 4c4a9f29c2e5..882455f39139 100644 --- a/sdk/inspector/src/operation/create_assessment_target/builders.rs +++ b/sdk/inspector/src/operation/create_assessment_target/builders.rs @@ -19,9 +19,9 @@ impl CreateAssessmentTargetFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl CreateAssessmentTargetFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::create_assessment_target::CreateAssessmentTarget, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::create_assessment_target::CreateAssessmentTargetError, + >, + > { + self.customize_middleware().await + } ///

                                                                                          The user-defined name that identifies the assessment target that you want to create. The name must be unique within the AWS account.

                                                                                          pub fn assessment_target_name( mut self, diff --git a/sdk/inspector/src/operation/create_assessment_template/builders.rs b/sdk/inspector/src/operation/create_assessment_template/builders.rs index 9e4ddd30b570..3daee7c4ac69 100644 --- a/sdk/inspector/src/operation/create_assessment_template/builders.rs +++ b/sdk/inspector/src/operation/create_assessment_template/builders.rs @@ -19,9 +19,9 @@ impl CreateAssessmentTemplateFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl CreateAssessmentTemplateFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::create_assessment_template::CreateAssessmentTemplate, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::create_assessment_template::CreateAssessmentTemplateError, + >, + > { + self.customize_middleware().await + } ///

                                                                                          The ARN that specifies the assessment target for which you want to create the assessment template.

                                                                                          pub fn assessment_target_arn( mut self, diff --git a/sdk/inspector/src/operation/create_exclusions_preview/builders.rs b/sdk/inspector/src/operation/create_exclusions_preview/builders.rs index 1d17cc2e5049..ff21c7a70e7d 100644 --- a/sdk/inspector/src/operation/create_exclusions_preview/builders.rs +++ b/sdk/inspector/src/operation/create_exclusions_preview/builders.rs @@ -20,9 +20,9 @@ impl CreateExclusionsPreviewFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -84,6 +84,22 @@ impl CreateExclusionsPreviewFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::create_exclusions_preview::CreateExclusionsPreview, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::create_exclusions_preview::CreateExclusionsPreviewError, + >, + > { + self.customize_middleware().await + } ///

                                                                                          The ARN that specifies the assessment template for which you want to create an exclusions preview.

                                                                                          pub fn assessment_template_arn( mut self, diff --git a/sdk/inspector/src/operation/create_resource_group/builders.rs b/sdk/inspector/src/operation/create_resource_group/builders.rs index 6f9b5f7febe4..3d9b2eed373f 100644 --- a/sdk/inspector/src/operation/create_resource_group/builders.rs +++ b/sdk/inspector/src/operation/create_resource_group/builders.rs @@ -19,9 +19,9 @@ impl CreateResourceGroupFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl CreateResourceGroupFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::create_resource_group::CreateResourceGroup, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::create_resource_group::CreateResourceGroupError, + >, + > { + self.customize_middleware().await + } /// Appends an item to `resourceGroupTags`. /// /// To override the contents of this collection use [`set_resource_group_tags`](Self::set_resource_group_tags). diff --git a/sdk/inspector/src/operation/delete_assessment_run/builders.rs b/sdk/inspector/src/operation/delete_assessment_run/builders.rs index 987cfa30bab7..5d6200ce72c0 100644 --- a/sdk/inspector/src/operation/delete_assessment_run/builders.rs +++ b/sdk/inspector/src/operation/delete_assessment_run/builders.rs @@ -19,9 +19,9 @@ impl DeleteAssessmentRunFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl DeleteAssessmentRunFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::delete_assessment_run::DeleteAssessmentRun, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::delete_assessment_run::DeleteAssessmentRunError, + >, + > { + self.customize_middleware().await + } ///

                                                                                          The ARN that specifies the assessment run that you want to delete.

                                                                                          pub fn assessment_run_arn( mut self, diff --git a/sdk/inspector/src/operation/delete_assessment_target/builders.rs b/sdk/inspector/src/operation/delete_assessment_target/builders.rs index 5fd2e3094ba8..32efa86ba45b 100644 --- a/sdk/inspector/src/operation/delete_assessment_target/builders.rs +++ b/sdk/inspector/src/operation/delete_assessment_target/builders.rs @@ -19,9 +19,9 @@ impl DeleteAssessmentTargetFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl DeleteAssessmentTargetFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::delete_assessment_target::DeleteAssessmentTarget, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::delete_assessment_target::DeleteAssessmentTargetError, + >, + > { + self.customize_middleware().await + } ///

                                                                                          The ARN that specifies the assessment target that you want to delete.

                                                                                          pub fn assessment_target_arn( mut self, diff --git a/sdk/inspector/src/operation/delete_assessment_template/builders.rs b/sdk/inspector/src/operation/delete_assessment_template/builders.rs index 299fba580fe0..5a8c6a13fd88 100644 --- a/sdk/inspector/src/operation/delete_assessment_template/builders.rs +++ b/sdk/inspector/src/operation/delete_assessment_template/builders.rs @@ -19,9 +19,9 @@ impl DeleteAssessmentTemplateFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl DeleteAssessmentTemplateFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::delete_assessment_template::DeleteAssessmentTemplate, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::delete_assessment_template::DeleteAssessmentTemplateError, + >, + > { + self.customize_middleware().await + } ///

                                                                                          The ARN that specifies the assessment template that you want to delete.

                                                                                          pub fn assessment_template_arn( mut self, diff --git a/sdk/inspector/src/operation/describe_assessment_runs/builders.rs b/sdk/inspector/src/operation/describe_assessment_runs/builders.rs index cf6f0139ed69..7a2a96fda5e2 100644 --- a/sdk/inspector/src/operation/describe_assessment_runs/builders.rs +++ b/sdk/inspector/src/operation/describe_assessment_runs/builders.rs @@ -19,9 +19,9 @@ impl DescribeAssessmentRunsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl DescribeAssessmentRunsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::describe_assessment_runs::DescribeAssessmentRuns, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::describe_assessment_runs::DescribeAssessmentRunsError, + >, + > { + self.customize_middleware().await + } /// Appends an item to `assessmentRunArns`. /// /// To override the contents of this collection use [`set_assessment_run_arns`](Self::set_assessment_run_arns). diff --git a/sdk/inspector/src/operation/describe_assessment_targets/builders.rs b/sdk/inspector/src/operation/describe_assessment_targets/builders.rs index 4afba0cbf925..52fd6e66f662 100644 --- a/sdk/inspector/src/operation/describe_assessment_targets/builders.rs +++ b/sdk/inspector/src/operation/describe_assessment_targets/builders.rs @@ -19,9 +19,9 @@ impl DescribeAssessmentTargetsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl DescribeAssessmentTargetsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::describe_assessment_targets::DescribeAssessmentTargets, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::describe_assessment_targets::DescribeAssessmentTargetsError, + >, + > { + self.customize_middleware().await + } /// Appends an item to `assessmentTargetArns`. /// /// To override the contents of this collection use [`set_assessment_target_arns`](Self::set_assessment_target_arns). diff --git a/sdk/inspector/src/operation/describe_assessment_templates/builders.rs b/sdk/inspector/src/operation/describe_assessment_templates/builders.rs index 7f4db146541c..e5a6fe5b025b 100644 --- a/sdk/inspector/src/operation/describe_assessment_templates/builders.rs +++ b/sdk/inspector/src/operation/describe_assessment_templates/builders.rs @@ -19,9 +19,9 @@ impl DescribeAssessmentTemplatesFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl DescribeAssessmentTemplatesFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::describe_assessment_templates::DescribeAssessmentTemplates, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::describe_assessment_templates::DescribeAssessmentTemplatesError, + >, + > { + self.customize_middleware().await + } /// Appends an item to `assessmentTemplateArns`. /// /// To override the contents of this collection use [`set_assessment_template_arns`](Self::set_assessment_template_arns). diff --git a/sdk/inspector/src/operation/describe_cross_account_access_role/builders.rs b/sdk/inspector/src/operation/describe_cross_account_access_role/builders.rs index 51aa08e89065..3253f5174e7e 100644 --- a/sdk/inspector/src/operation/describe_cross_account_access_role/builders.rs +++ b/sdk/inspector/src/operation/describe_cross_account_access_role/builders.rs @@ -19,9 +19,9 @@ impl DescribeCrossAccountAccessRoleFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize(self) -> ::std::result::Result< + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware(self) -> ::std::result::Result< crate::client::customize::CustomizableOperation, ::aws_smithy_http::result::SdkError >{ @@ -64,4 +64,13 @@ impl DescribeCrossAccountAccessRoleFluentBuilder { { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize(self) -> ::std::result::Result< + crate::client::customize::CustomizableOperation, + ::aws_smithy_http::result::SdkError + >{ + self.customize_middleware().await + } } diff --git a/sdk/inspector/src/operation/describe_exclusions/builders.rs b/sdk/inspector/src/operation/describe_exclusions/builders.rs index 8e9fccd48f3e..a972130c6702 100644 --- a/sdk/inspector/src/operation/describe_exclusions/builders.rs +++ b/sdk/inspector/src/operation/describe_exclusions/builders.rs @@ -19,9 +19,9 @@ impl DescribeExclusionsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl DescribeExclusionsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::describe_exclusions::DescribeExclusions, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::describe_exclusions::DescribeExclusionsError, + >, + > { + self.customize_middleware().await + } /// Appends an item to `exclusionArns`. /// /// To override the contents of this collection use [`set_exclusion_arns`](Self::set_exclusion_arns). diff --git a/sdk/inspector/src/operation/describe_findings/builders.rs b/sdk/inspector/src/operation/describe_findings/builders.rs index aa6554122872..45e98c127998 100644 --- a/sdk/inspector/src/operation/describe_findings/builders.rs +++ b/sdk/inspector/src/operation/describe_findings/builders.rs @@ -19,9 +19,9 @@ impl DescribeFindingsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl DescribeFindingsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::describe_findings::DescribeFindings, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::describe_findings::DescribeFindingsError, + >, + > { + self.customize_middleware().await + } /// Appends an item to `findingArns`. /// /// To override the contents of this collection use [`set_finding_arns`](Self::set_finding_arns). diff --git a/sdk/inspector/src/operation/describe_resource_groups/builders.rs b/sdk/inspector/src/operation/describe_resource_groups/builders.rs index f035cc04ac5b..cfac9ae89ac7 100644 --- a/sdk/inspector/src/operation/describe_resource_groups/builders.rs +++ b/sdk/inspector/src/operation/describe_resource_groups/builders.rs @@ -19,9 +19,9 @@ impl DescribeResourceGroupsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl DescribeResourceGroupsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::describe_resource_groups::DescribeResourceGroups, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::describe_resource_groups::DescribeResourceGroupsError, + >, + > { + self.customize_middleware().await + } /// Appends an item to `resourceGroupArns`. /// /// To override the contents of this collection use [`set_resource_group_arns`](Self::set_resource_group_arns). diff --git a/sdk/inspector/src/operation/describe_rules_packages/builders.rs b/sdk/inspector/src/operation/describe_rules_packages/builders.rs index 390f00cd298e..cbb3c34234f7 100644 --- a/sdk/inspector/src/operation/describe_rules_packages/builders.rs +++ b/sdk/inspector/src/operation/describe_rules_packages/builders.rs @@ -19,9 +19,9 @@ impl DescribeRulesPackagesFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl DescribeRulesPackagesFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::describe_rules_packages::DescribeRulesPackages, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::describe_rules_packages::DescribeRulesPackagesError, + >, + > { + self.customize_middleware().await + } /// Appends an item to `rulesPackageArns`. /// /// To override the contents of this collection use [`set_rules_package_arns`](Self::set_rules_package_arns). diff --git a/sdk/inspector/src/operation/get_assessment_report/builders.rs b/sdk/inspector/src/operation/get_assessment_report/builders.rs index 616157868f8b..069264b52aa1 100644 --- a/sdk/inspector/src/operation/get_assessment_report/builders.rs +++ b/sdk/inspector/src/operation/get_assessment_report/builders.rs @@ -19,9 +19,9 @@ impl GetAssessmentReportFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl GetAssessmentReportFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::get_assessment_report::GetAssessmentReport, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::get_assessment_report::GetAssessmentReportError, + >, + > { + self.customize_middleware().await + } ///

                                                                                          The ARN that specifies the assessment run for which you want to generate a report.

                                                                                          pub fn assessment_run_arn( mut self, diff --git a/sdk/inspector/src/operation/get_exclusions_preview/builders.rs b/sdk/inspector/src/operation/get_exclusions_preview/builders.rs index e051fa5b0baa..3f609d2f5b56 100644 --- a/sdk/inspector/src/operation/get_exclusions_preview/builders.rs +++ b/sdk/inspector/src/operation/get_exclusions_preview/builders.rs @@ -19,9 +19,9 @@ impl GetExclusionsPreviewFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl GetExclusionsPreviewFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::get_exclusions_preview::GetExclusionsPreview, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::get_exclusions_preview::GetExclusionsPreviewError, + >, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::get_exclusions_preview::paginator::GetExclusionsPreviewPaginator::send) which returns a `Stream`. diff --git a/sdk/inspector/src/operation/get_telemetry_metadata/builders.rs b/sdk/inspector/src/operation/get_telemetry_metadata/builders.rs index 7bfdaa36dc0a..c270804cfa70 100644 --- a/sdk/inspector/src/operation/get_telemetry_metadata/builders.rs +++ b/sdk/inspector/src/operation/get_telemetry_metadata/builders.rs @@ -19,9 +19,9 @@ impl GetTelemetryMetadataFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl GetTelemetryMetadataFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::get_telemetry_metadata::GetTelemetryMetadata, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::get_telemetry_metadata::GetTelemetryMetadataError, + >, + > { + self.customize_middleware().await + } ///

                                                                                          The ARN that specifies the assessment run that has the telemetry data that you want to obtain.

                                                                                          pub fn assessment_run_arn( mut self, diff --git a/sdk/inspector/src/operation/list_assessment_run_agents/builders.rs b/sdk/inspector/src/operation/list_assessment_run_agents/builders.rs index f41d79a18233..4133fffaba76 100644 --- a/sdk/inspector/src/operation/list_assessment_run_agents/builders.rs +++ b/sdk/inspector/src/operation/list_assessment_run_agents/builders.rs @@ -20,9 +20,9 @@ impl ListAssessmentRunAgentsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -84,6 +84,22 @@ impl ListAssessmentRunAgentsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_assessment_run_agents::ListAssessmentRunAgents, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::list_assessment_run_agents::ListAssessmentRunAgentsError, + >, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::list_assessment_run_agents::paginator::ListAssessmentRunAgentsPaginator::send) which returns a `Stream`. diff --git a/sdk/inspector/src/operation/list_assessment_runs/builders.rs b/sdk/inspector/src/operation/list_assessment_runs/builders.rs index fd095dca57c3..da68ede8eb57 100644 --- a/sdk/inspector/src/operation/list_assessment_runs/builders.rs +++ b/sdk/inspector/src/operation/list_assessment_runs/builders.rs @@ -19,9 +19,9 @@ impl ListAssessmentRunsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl ListAssessmentRunsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_assessment_runs::ListAssessmentRuns, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::list_assessment_runs::ListAssessmentRunsError, + >, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::list_assessment_runs::paginator::ListAssessmentRunsPaginator::send) which returns a `Stream`. diff --git a/sdk/inspector/src/operation/list_assessment_targets/builders.rs b/sdk/inspector/src/operation/list_assessment_targets/builders.rs index 0257ba092c38..64d191edb7de 100644 --- a/sdk/inspector/src/operation/list_assessment_targets/builders.rs +++ b/sdk/inspector/src/operation/list_assessment_targets/builders.rs @@ -19,9 +19,9 @@ impl ListAssessmentTargetsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl ListAssessmentTargetsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_assessment_targets::ListAssessmentTargets, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::list_assessment_targets::ListAssessmentTargetsError, + >, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::list_assessment_targets::paginator::ListAssessmentTargetsPaginator::send) which returns a `Stream`. diff --git a/sdk/inspector/src/operation/list_assessment_templates/builders.rs b/sdk/inspector/src/operation/list_assessment_templates/builders.rs index f855c072118c..62941d7af479 100644 --- a/sdk/inspector/src/operation/list_assessment_templates/builders.rs +++ b/sdk/inspector/src/operation/list_assessment_templates/builders.rs @@ -20,9 +20,9 @@ impl ListAssessmentTemplatesFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -84,6 +84,22 @@ impl ListAssessmentTemplatesFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_assessment_templates::ListAssessmentTemplates, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::list_assessment_templates::ListAssessmentTemplatesError, + >, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::list_assessment_templates::paginator::ListAssessmentTemplatesPaginator::send) which returns a `Stream`. diff --git a/sdk/inspector/src/operation/list_event_subscriptions/builders.rs b/sdk/inspector/src/operation/list_event_subscriptions/builders.rs index c25b6cc78caf..a1d4f8f9b654 100644 --- a/sdk/inspector/src/operation/list_event_subscriptions/builders.rs +++ b/sdk/inspector/src/operation/list_event_subscriptions/builders.rs @@ -19,9 +19,9 @@ impl ListEventSubscriptionsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl ListEventSubscriptionsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_event_subscriptions::ListEventSubscriptions, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::list_event_subscriptions::ListEventSubscriptionsError, + >, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::list_event_subscriptions::paginator::ListEventSubscriptionsPaginator::send) which returns a `Stream`. diff --git a/sdk/inspector/src/operation/list_exclusions/builders.rs b/sdk/inspector/src/operation/list_exclusions/builders.rs index f948ce4d7be1..593e122331e3 100644 --- a/sdk/inspector/src/operation/list_exclusions/builders.rs +++ b/sdk/inspector/src/operation/list_exclusions/builders.rs @@ -19,9 +19,9 @@ impl ListExclusionsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl ListExclusionsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_exclusions::ListExclusions, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::list_exclusions::paginator::ListExclusionsPaginator::send) which returns a `Stream`. diff --git a/sdk/inspector/src/operation/list_findings/builders.rs b/sdk/inspector/src/operation/list_findings/builders.rs index 5bbe29dc9bb5..e3dc6d4a3bd4 100644 --- a/sdk/inspector/src/operation/list_findings/builders.rs +++ b/sdk/inspector/src/operation/list_findings/builders.rs @@ -19,9 +19,9 @@ impl ListFindingsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl ListFindingsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_findings::ListFindings, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::list_findings::paginator::ListFindingsPaginator::send) which returns a `Stream`. diff --git a/sdk/inspector/src/operation/list_rules_packages/builders.rs b/sdk/inspector/src/operation/list_rules_packages/builders.rs index 70c9af825b47..093f77506bef 100644 --- a/sdk/inspector/src/operation/list_rules_packages/builders.rs +++ b/sdk/inspector/src/operation/list_rules_packages/builders.rs @@ -19,9 +19,9 @@ impl ListRulesPackagesFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl ListRulesPackagesFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_rules_packages::ListRulesPackages, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::list_rules_packages::ListRulesPackagesError, + >, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::list_rules_packages::paginator::ListRulesPackagesPaginator::send) which returns a `Stream`. diff --git a/sdk/inspector/src/operation/list_tags_for_resource/builders.rs b/sdk/inspector/src/operation/list_tags_for_resource/builders.rs index 11e080794d65..e82120af0379 100644 --- a/sdk/inspector/src/operation/list_tags_for_resource/builders.rs +++ b/sdk/inspector/src/operation/list_tags_for_resource/builders.rs @@ -19,9 +19,9 @@ impl ListTagsForResourceFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl ListTagsForResourceFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_tags_for_resource::ListTagsForResource, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::list_tags_for_resource::ListTagsForResourceError, + >, + > { + self.customize_middleware().await + } ///

                                                                                          The ARN that specifies the assessment template whose tags you want to list.

                                                                                          pub fn resource_arn(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.resource_arn(input.into()); diff --git a/sdk/inspector/src/operation/preview_agents/builders.rs b/sdk/inspector/src/operation/preview_agents/builders.rs index 966ac1ce47fb..0ae35f37f9f7 100644 --- a/sdk/inspector/src/operation/preview_agents/builders.rs +++ b/sdk/inspector/src/operation/preview_agents/builders.rs @@ -19,9 +19,9 @@ impl PreviewAgentsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl PreviewAgentsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::preview_agents::PreviewAgents, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::preview_agents::paginator::PreviewAgentsPaginator::send) which returns a `Stream`. diff --git a/sdk/inspector/src/operation/register_cross_account_access_role/builders.rs b/sdk/inspector/src/operation/register_cross_account_access_role/builders.rs index 553f384e73da..9175232b3842 100644 --- a/sdk/inspector/src/operation/register_cross_account_access_role/builders.rs +++ b/sdk/inspector/src/operation/register_cross_account_access_role/builders.rs @@ -19,9 +19,9 @@ impl RegisterCrossAccountAccessRoleFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize(self) -> ::std::result::Result< + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware(self) -> ::std::result::Result< crate::client::customize::CustomizableOperation, ::aws_smithy_http::result::SdkError >{ @@ -64,6 +64,15 @@ impl RegisterCrossAccountAccessRoleFluentBuilder { { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize(self) -> ::std::result::Result< + crate::client::customize::CustomizableOperation, + ::aws_smithy_http::result::SdkError + >{ + self.customize_middleware().await + } ///

                                                                                          The ARN of the IAM role that grants Amazon Inspector access to AWS Services needed to perform security assessments.

                                                                                          pub fn role_arn(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.role_arn(input.into()); diff --git a/sdk/inspector/src/operation/remove_attributes_from_findings/builders.rs b/sdk/inspector/src/operation/remove_attributes_from_findings/builders.rs index ef91f5814609..4f7a9977e1a9 100644 --- a/sdk/inspector/src/operation/remove_attributes_from_findings/builders.rs +++ b/sdk/inspector/src/operation/remove_attributes_from_findings/builders.rs @@ -19,9 +19,9 @@ impl RemoveAttributesFromFindingsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl RemoveAttributesFromFindingsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::remove_attributes_from_findings::RemoveAttributesFromFindings, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::remove_attributes_from_findings::RemoveAttributesFromFindingsError, + >, + > { + self.customize_middleware().await + } /// Appends an item to `findingArns`. /// /// To override the contents of this collection use [`set_finding_arns`](Self::set_finding_arns). diff --git a/sdk/inspector/src/operation/set_tags_for_resource/builders.rs b/sdk/inspector/src/operation/set_tags_for_resource/builders.rs index 3440779d44ad..614f59c58977 100644 --- a/sdk/inspector/src/operation/set_tags_for_resource/builders.rs +++ b/sdk/inspector/src/operation/set_tags_for_resource/builders.rs @@ -19,9 +19,9 @@ impl SetTagsForResourceFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl SetTagsForResourceFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::set_tags_for_resource::SetTagsForResource, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::set_tags_for_resource::SetTagsForResourceError, + >, + > { + self.customize_middleware().await + } ///

                                                                                          The ARN of the assessment template that you want to set tags to.

                                                                                          pub fn resource_arn(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.resource_arn(input.into()); diff --git a/sdk/inspector/src/operation/start_assessment_run/builders.rs b/sdk/inspector/src/operation/start_assessment_run/builders.rs index b94e3b736fcd..66a722859710 100644 --- a/sdk/inspector/src/operation/start_assessment_run/builders.rs +++ b/sdk/inspector/src/operation/start_assessment_run/builders.rs @@ -19,9 +19,9 @@ impl StartAssessmentRunFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl StartAssessmentRunFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::start_assessment_run::StartAssessmentRun, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::start_assessment_run::StartAssessmentRunError, + >, + > { + self.customize_middleware().await + } ///

                                                                                          The ARN of the assessment template of the assessment run that you want to start.

                                                                                          pub fn assessment_template_arn( mut self, diff --git a/sdk/inspector/src/operation/stop_assessment_run/builders.rs b/sdk/inspector/src/operation/stop_assessment_run/builders.rs index c9158ce28306..d8662af6ad68 100644 --- a/sdk/inspector/src/operation/stop_assessment_run/builders.rs +++ b/sdk/inspector/src/operation/stop_assessment_run/builders.rs @@ -19,9 +19,9 @@ impl StopAssessmentRunFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl StopAssessmentRunFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::stop_assessment_run::StopAssessmentRun, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::stop_assessment_run::StopAssessmentRunError, + >, + > { + self.customize_middleware().await + } ///

                                                                                          The ARN of the assessment run that you want to stop.

                                                                                          pub fn assessment_run_arn( mut self, diff --git a/sdk/inspector/src/operation/subscribe_to_event/builders.rs b/sdk/inspector/src/operation/subscribe_to_event/builders.rs index 08da27ea77df..2f52ce07329f 100644 --- a/sdk/inspector/src/operation/subscribe_to_event/builders.rs +++ b/sdk/inspector/src/operation/subscribe_to_event/builders.rs @@ -19,9 +19,9 @@ impl SubscribeToEventFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl SubscribeToEventFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::subscribe_to_event::SubscribeToEvent, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::subscribe_to_event::SubscribeToEventError, + >, + > { + self.customize_middleware().await + } ///

                                                                                          The ARN of the assessment template that is used during the event for which you want to receive SNS notifications.

                                                                                          pub fn resource_arn(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.resource_arn(input.into()); diff --git a/sdk/inspector/src/operation/unsubscribe_from_event/builders.rs b/sdk/inspector/src/operation/unsubscribe_from_event/builders.rs index 49a8313520af..7529311dfe43 100644 --- a/sdk/inspector/src/operation/unsubscribe_from_event/builders.rs +++ b/sdk/inspector/src/operation/unsubscribe_from_event/builders.rs @@ -19,9 +19,9 @@ impl UnsubscribeFromEventFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl UnsubscribeFromEventFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::unsubscribe_from_event::UnsubscribeFromEvent, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::unsubscribe_from_event::UnsubscribeFromEventError, + >, + > { + self.customize_middleware().await + } ///

                                                                                          The ARN of the assessment template that is used during the event for which you want to stop receiving SNS notifications.

                                                                                          pub fn resource_arn(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.resource_arn(input.into()); diff --git a/sdk/inspector/src/operation/update_assessment_target/builders.rs b/sdk/inspector/src/operation/update_assessment_target/builders.rs index 85abe0fffe13..39942bab5356 100644 --- a/sdk/inspector/src/operation/update_assessment_target/builders.rs +++ b/sdk/inspector/src/operation/update_assessment_target/builders.rs @@ -20,9 +20,9 @@ impl UpdateAssessmentTargetFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -84,6 +84,22 @@ impl UpdateAssessmentTargetFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::update_assessment_target::UpdateAssessmentTarget, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::update_assessment_target::UpdateAssessmentTargetError, + >, + > { + self.customize_middleware().await + } ///

                                                                                          The ARN of the assessment target that you want to update.

                                                                                          pub fn assessment_target_arn( mut self, diff --git a/sdk/inspector2/src/operation/associate_member/builders.rs b/sdk/inspector2/src/operation/associate_member/builders.rs index 2d95cf9787e5..50f920cb4450 100644 --- a/sdk/inspector2/src/operation/associate_member/builders.rs +++ b/sdk/inspector2/src/operation/associate_member/builders.rs @@ -19,9 +19,9 @@ impl AssociateMemberFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl AssociateMemberFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::associate_member::AssociateMember, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::associate_member::AssociateMemberError, + >, + > { + self.customize_middleware().await + } ///

                                                                                          The Amazon Web Services account ID of the member account to be associated.

                                                                                          pub fn account_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.account_id(input.into()); diff --git a/sdk/inspector2/src/operation/batch_get_account_status/builders.rs b/sdk/inspector2/src/operation/batch_get_account_status/builders.rs index 39b25053f90d..c5a59466933e 100644 --- a/sdk/inspector2/src/operation/batch_get_account_status/builders.rs +++ b/sdk/inspector2/src/operation/batch_get_account_status/builders.rs @@ -19,9 +19,9 @@ impl BatchGetAccountStatusFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl BatchGetAccountStatusFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::batch_get_account_status::BatchGetAccountStatus, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::batch_get_account_status::BatchGetAccountStatusError, + >, + > { + self.customize_middleware().await + } /// Appends an item to `accountIds`. /// /// To override the contents of this collection use [`set_account_ids`](Self::set_account_ids). diff --git a/sdk/inspector2/src/operation/batch_get_free_trial_info/builders.rs b/sdk/inspector2/src/operation/batch_get_free_trial_info/builders.rs index 144809306f26..6f50d649b840 100644 --- a/sdk/inspector2/src/operation/batch_get_free_trial_info/builders.rs +++ b/sdk/inspector2/src/operation/batch_get_free_trial_info/builders.rs @@ -19,9 +19,9 @@ impl BatchGetFreeTrialInfoFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl BatchGetFreeTrialInfoFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::batch_get_free_trial_info::BatchGetFreeTrialInfo, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::batch_get_free_trial_info::BatchGetFreeTrialInfoError, + >, + > { + self.customize_middleware().await + } /// Appends an item to `accountIds`. /// /// To override the contents of this collection use [`set_account_ids`](Self::set_account_ids). diff --git a/sdk/inspector2/src/operation/batch_get_member_ec2_deep_inspection_status/builders.rs b/sdk/inspector2/src/operation/batch_get_member_ec2_deep_inspection_status/builders.rs index dfd49d421d07..1a3f13d9be6e 100644 --- a/sdk/inspector2/src/operation/batch_get_member_ec2_deep_inspection_status/builders.rs +++ b/sdk/inspector2/src/operation/batch_get_member_ec2_deep_inspection_status/builders.rs @@ -19,9 +19,9 @@ impl BatchGetMemberEc2DeepInspectionStatusFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize(self) -> ::std::result::Result< + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware(self) -> ::std::result::Result< crate::client::customize::CustomizableOperation, ::aws_smithy_http::result::SdkError >{ @@ -64,6 +64,15 @@ impl BatchGetMemberEc2DeepInspectionStatusFluentBuilder { { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize(self) -> ::std::result::Result< + crate::client::customize::CustomizableOperation, + ::aws_smithy_http::result::SdkError + >{ + self.customize_middleware().await + } /// Appends an item to `accountIds`. /// /// To override the contents of this collection use [`set_account_ids`](Self::set_account_ids). diff --git a/sdk/inspector2/src/operation/batch_update_member_ec2_deep_inspection_status/builders.rs b/sdk/inspector2/src/operation/batch_update_member_ec2_deep_inspection_status/builders.rs index d4280bc9057e..882479d29dad 100644 --- a/sdk/inspector2/src/operation/batch_update_member_ec2_deep_inspection_status/builders.rs +++ b/sdk/inspector2/src/operation/batch_update_member_ec2_deep_inspection_status/builders.rs @@ -19,9 +19,9 @@ impl BatchUpdateMemberEc2DeepInspectionStatusFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize(self) -> ::std::result::Result< + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware(self) -> ::std::result::Result< crate::client::customize::CustomizableOperation, ::aws_smithy_http::result::SdkError >{ @@ -64,6 +64,15 @@ impl BatchUpdateMemberEc2DeepInspectionStatusFluentBuilder { { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize(self) -> ::std::result::Result< + crate::client::customize::CustomizableOperation, + ::aws_smithy_http::result::SdkError + >{ + self.customize_middleware().await + } /// Appends an item to `accountIds`. /// /// To override the contents of this collection use [`set_account_ids`](Self::set_account_ids). diff --git a/sdk/inspector2/src/operation/cancel_findings_report/builders.rs b/sdk/inspector2/src/operation/cancel_findings_report/builders.rs index b2215bf9b5c4..daf3b1779656 100644 --- a/sdk/inspector2/src/operation/cancel_findings_report/builders.rs +++ b/sdk/inspector2/src/operation/cancel_findings_report/builders.rs @@ -19,9 +19,9 @@ impl CancelFindingsReportFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl CancelFindingsReportFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::cancel_findings_report::CancelFindingsReport, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::cancel_findings_report::CancelFindingsReportError, + >, + > { + self.customize_middleware().await + } ///

                                                                                          The ID of the report to be canceled.

                                                                                          pub fn report_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.report_id(input.into()); diff --git a/sdk/inspector2/src/operation/create_filter/builders.rs b/sdk/inspector2/src/operation/create_filter/builders.rs index 358ac4876314..370194935efd 100644 --- a/sdk/inspector2/src/operation/create_filter/builders.rs +++ b/sdk/inspector2/src/operation/create_filter/builders.rs @@ -19,9 +19,9 @@ impl CreateFilterFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl CreateFilterFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::create_filter::CreateFilter, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                                          Defines the action that is to be applied to the findings that match the filter.

                                                                                          pub fn action(mut self, input: crate::types::FilterAction) -> Self { self.inner = self.inner.action(input); diff --git a/sdk/inspector2/src/operation/create_findings_report/builders.rs b/sdk/inspector2/src/operation/create_findings_report/builders.rs index 14043eda2753..4e290d329bad 100644 --- a/sdk/inspector2/src/operation/create_findings_report/builders.rs +++ b/sdk/inspector2/src/operation/create_findings_report/builders.rs @@ -19,9 +19,9 @@ impl CreateFindingsReportFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl CreateFindingsReportFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::create_findings_report::CreateFindingsReport, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::create_findings_report::CreateFindingsReportError, + >, + > { + self.customize_middleware().await + } ///

                                                                                          The filter criteria to apply to the results of the finding report.

                                                                                          pub fn filter_criteria(mut self, input: crate::types::FilterCriteria) -> Self { self.inner = self.inner.filter_criteria(input); diff --git a/sdk/inspector2/src/operation/delete_filter/builders.rs b/sdk/inspector2/src/operation/delete_filter/builders.rs index 0599e9ce726e..438e0bae6151 100644 --- a/sdk/inspector2/src/operation/delete_filter/builders.rs +++ b/sdk/inspector2/src/operation/delete_filter/builders.rs @@ -19,9 +19,9 @@ impl DeleteFilterFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl DeleteFilterFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::delete_filter::DeleteFilter, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                                          The Amazon Resource Number (ARN) of the filter to be deleted.

                                                                                          pub fn arn(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.arn(input.into()); diff --git a/sdk/inspector2/src/operation/describe_organization_configuration/builders.rs b/sdk/inspector2/src/operation/describe_organization_configuration/builders.rs index 52bd5fd7eb81..0b02a184e4fb 100644 --- a/sdk/inspector2/src/operation/describe_organization_configuration/builders.rs +++ b/sdk/inspector2/src/operation/describe_organization_configuration/builders.rs @@ -19,9 +19,9 @@ impl DescribeOrganizationConfigurationFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize(self) -> ::std::result::Result< + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware(self) -> ::std::result::Result< crate::client::customize::CustomizableOperation, ::aws_smithy_http::result::SdkError >{ @@ -64,4 +64,13 @@ impl DescribeOrganizationConfigurationFluentBuilder { { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize(self) -> ::std::result::Result< + crate::client::customize::CustomizableOperation, + ::aws_smithy_http::result::SdkError + >{ + self.customize_middleware().await + } } diff --git a/sdk/inspector2/src/operation/disable/builders.rs b/sdk/inspector2/src/operation/disable/builders.rs index dab4cba20502..f8aabf8a534d 100644 --- a/sdk/inspector2/src/operation/disable/builders.rs +++ b/sdk/inspector2/src/operation/disable/builders.rs @@ -19,9 +19,9 @@ impl DisableFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl DisableFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::disable::Disable, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } /// Appends an item to `accountIds`. /// /// To override the contents of this collection use [`set_account_ids`](Self::set_account_ids). diff --git a/sdk/inspector2/src/operation/disable_delegated_admin_account/builders.rs b/sdk/inspector2/src/operation/disable_delegated_admin_account/builders.rs index b15ac81ce223..e60c0d3ea755 100644 --- a/sdk/inspector2/src/operation/disable_delegated_admin_account/builders.rs +++ b/sdk/inspector2/src/operation/disable_delegated_admin_account/builders.rs @@ -19,9 +19,9 @@ impl DisableDelegatedAdminAccountFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl DisableDelegatedAdminAccountFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::disable_delegated_admin_account::DisableDelegatedAdminAccount, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::disable_delegated_admin_account::DisableDelegatedAdminAccountError, + >, + > { + self.customize_middleware().await + } ///

                                                                                          The Amazon Web Services account ID of the current Amazon Inspector delegated administrator.

                                                                                          pub fn delegated_admin_account_id( mut self, diff --git a/sdk/inspector2/src/operation/disassociate_member/builders.rs b/sdk/inspector2/src/operation/disassociate_member/builders.rs index 82ebd4d4674f..5e986562e15a 100644 --- a/sdk/inspector2/src/operation/disassociate_member/builders.rs +++ b/sdk/inspector2/src/operation/disassociate_member/builders.rs @@ -19,9 +19,9 @@ impl DisassociateMemberFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl DisassociateMemberFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::disassociate_member::DisassociateMember, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::disassociate_member::DisassociateMemberError, + >, + > { + self.customize_middleware().await + } ///

                                                                                          The Amazon Web Services account ID of the member account to disassociate.

                                                                                          pub fn account_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.account_id(input.into()); diff --git a/sdk/inspector2/src/operation/enable/builders.rs b/sdk/inspector2/src/operation/enable/builders.rs index a537a8ee6b28..abbb8cfbff9a 100644 --- a/sdk/inspector2/src/operation/enable/builders.rs +++ b/sdk/inspector2/src/operation/enable/builders.rs @@ -19,9 +19,9 @@ impl EnableFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl EnableFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::enable::Enable, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } /// Appends an item to `accountIds`. /// /// To override the contents of this collection use [`set_account_ids`](Self::set_account_ids). diff --git a/sdk/inspector2/src/operation/enable_delegated_admin_account/builders.rs b/sdk/inspector2/src/operation/enable_delegated_admin_account/builders.rs index 22fa501a7199..c98f785d0a81 100644 --- a/sdk/inspector2/src/operation/enable_delegated_admin_account/builders.rs +++ b/sdk/inspector2/src/operation/enable_delegated_admin_account/builders.rs @@ -19,9 +19,9 @@ impl EnableDelegatedAdminAccountFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl EnableDelegatedAdminAccountFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::enable_delegated_admin_account::EnableDelegatedAdminAccount, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::enable_delegated_admin_account::EnableDelegatedAdminAccountError, + >, + > { + self.customize_middleware().await + } ///

                                                                                          The Amazon Web Services account ID of the Amazon Inspector delegated administrator.

                                                                                          pub fn delegated_admin_account_id( mut self, diff --git a/sdk/inspector2/src/operation/get_configuration/builders.rs b/sdk/inspector2/src/operation/get_configuration/builders.rs index 8d0c3096ca7d..f29618045095 100644 --- a/sdk/inspector2/src/operation/get_configuration/builders.rs +++ b/sdk/inspector2/src/operation/get_configuration/builders.rs @@ -19,9 +19,9 @@ impl GetConfigurationFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,4 +83,20 @@ impl GetConfigurationFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::get_configuration::GetConfiguration, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::get_configuration::GetConfigurationError, + >, + > { + self.customize_middleware().await + } } diff --git a/sdk/inspector2/src/operation/get_delegated_admin_account/builders.rs b/sdk/inspector2/src/operation/get_delegated_admin_account/builders.rs index 98869aa274a5..dbd257225f77 100644 --- a/sdk/inspector2/src/operation/get_delegated_admin_account/builders.rs +++ b/sdk/inspector2/src/operation/get_delegated_admin_account/builders.rs @@ -19,9 +19,9 @@ impl GetDelegatedAdminAccountFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,4 +83,20 @@ impl GetDelegatedAdminAccountFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::get_delegated_admin_account::GetDelegatedAdminAccount, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::get_delegated_admin_account::GetDelegatedAdminAccountError, + >, + > { + self.customize_middleware().await + } } diff --git a/sdk/inspector2/src/operation/get_ec2_deep_inspection_configuration/builders.rs b/sdk/inspector2/src/operation/get_ec2_deep_inspection_configuration/builders.rs index 64ffc0e9645d..ee98ec734499 100644 --- a/sdk/inspector2/src/operation/get_ec2_deep_inspection_configuration/builders.rs +++ b/sdk/inspector2/src/operation/get_ec2_deep_inspection_configuration/builders.rs @@ -19,9 +19,9 @@ impl GetEc2DeepInspectionConfigurationFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize(self) -> ::std::result::Result< + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware(self) -> ::std::result::Result< crate::client::customize::CustomizableOperation, ::aws_smithy_http::result::SdkError >{ @@ -64,4 +64,13 @@ impl GetEc2DeepInspectionConfigurationFluentBuilder { { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize(self) -> ::std::result::Result< + crate::client::customize::CustomizableOperation, + ::aws_smithy_http::result::SdkError + >{ + self.customize_middleware().await + } } diff --git a/sdk/inspector2/src/operation/get_findings_report_status/builders.rs b/sdk/inspector2/src/operation/get_findings_report_status/builders.rs index 523f925d0e5a..351f43b91b9d 100644 --- a/sdk/inspector2/src/operation/get_findings_report_status/builders.rs +++ b/sdk/inspector2/src/operation/get_findings_report_status/builders.rs @@ -20,9 +20,9 @@ impl GetFindingsReportStatusFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -84,6 +84,22 @@ impl GetFindingsReportStatusFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::get_findings_report_status::GetFindingsReportStatus, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::get_findings_report_status::GetFindingsReportStatusError, + >, + > { + self.customize_middleware().await + } ///

                                                                                          The ID of the report to retrieve the status of.

                                                                                          pub fn report_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.report_id(input.into()); diff --git a/sdk/inspector2/src/operation/get_member/builders.rs b/sdk/inspector2/src/operation/get_member/builders.rs index cd9918afb549..e964e3bdd04f 100644 --- a/sdk/inspector2/src/operation/get_member/builders.rs +++ b/sdk/inspector2/src/operation/get_member/builders.rs @@ -19,9 +19,9 @@ impl GetMemberFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl GetMemberFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::get_member::GetMember, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                                          The Amazon Web Services account ID of the member account to retrieve information on.

                                                                                          pub fn account_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.account_id(input.into()); diff --git a/sdk/inspector2/src/operation/list_account_permissions/builders.rs b/sdk/inspector2/src/operation/list_account_permissions/builders.rs index 15ea9246cdde..8603573d9007 100644 --- a/sdk/inspector2/src/operation/list_account_permissions/builders.rs +++ b/sdk/inspector2/src/operation/list_account_permissions/builders.rs @@ -19,9 +19,9 @@ impl ListAccountPermissionsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl ListAccountPermissionsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_account_permissions::ListAccountPermissions, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::list_account_permissions::ListAccountPermissionsError, + >, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::list_account_permissions::paginator::ListAccountPermissionsPaginator::send) which returns a `Stream`. diff --git a/sdk/inspector2/src/operation/list_coverage/builders.rs b/sdk/inspector2/src/operation/list_coverage/builders.rs index 05d30ec9cc42..452b572b30bf 100644 --- a/sdk/inspector2/src/operation/list_coverage/builders.rs +++ b/sdk/inspector2/src/operation/list_coverage/builders.rs @@ -19,9 +19,9 @@ impl ListCoverageFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl ListCoverageFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_coverage::ListCoverage, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::list_coverage::paginator::ListCoveragePaginator::send) which returns a `Stream`. diff --git a/sdk/inspector2/src/operation/list_coverage_statistics/builders.rs b/sdk/inspector2/src/operation/list_coverage_statistics/builders.rs index f10a0d223553..19001b562837 100644 --- a/sdk/inspector2/src/operation/list_coverage_statistics/builders.rs +++ b/sdk/inspector2/src/operation/list_coverage_statistics/builders.rs @@ -19,9 +19,9 @@ impl ListCoverageStatisticsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl ListCoverageStatisticsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_coverage_statistics::ListCoverageStatistics, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::list_coverage_statistics::ListCoverageStatisticsError, + >, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::list_coverage_statistics::paginator::ListCoverageStatisticsPaginator::send) which returns a `Stream`. diff --git a/sdk/inspector2/src/operation/list_delegated_admin_accounts/builders.rs b/sdk/inspector2/src/operation/list_delegated_admin_accounts/builders.rs index 1eef24d87910..a284e0c0e644 100644 --- a/sdk/inspector2/src/operation/list_delegated_admin_accounts/builders.rs +++ b/sdk/inspector2/src/operation/list_delegated_admin_accounts/builders.rs @@ -19,9 +19,9 @@ impl ListDelegatedAdminAccountsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl ListDelegatedAdminAccountsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_delegated_admin_accounts::ListDelegatedAdminAccounts, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::list_delegated_admin_accounts::ListDelegatedAdminAccountsError, + >, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::list_delegated_admin_accounts::paginator::ListDelegatedAdminAccountsPaginator::send) which returns a `Stream`. diff --git a/sdk/inspector2/src/operation/list_filters/builders.rs b/sdk/inspector2/src/operation/list_filters/builders.rs index d34a9b2b3511..a9da480b1e15 100644 --- a/sdk/inspector2/src/operation/list_filters/builders.rs +++ b/sdk/inspector2/src/operation/list_filters/builders.rs @@ -19,9 +19,9 @@ impl ListFiltersFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl ListFiltersFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_filters::ListFilters, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::list_filters::paginator::ListFiltersPaginator::send) which returns a `Stream`. diff --git a/sdk/inspector2/src/operation/list_finding_aggregations/builders.rs b/sdk/inspector2/src/operation/list_finding_aggregations/builders.rs index d07cb726abdf..1210208b2a13 100644 --- a/sdk/inspector2/src/operation/list_finding_aggregations/builders.rs +++ b/sdk/inspector2/src/operation/list_finding_aggregations/builders.rs @@ -20,9 +20,9 @@ impl ListFindingAggregationsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -84,6 +84,22 @@ impl ListFindingAggregationsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_finding_aggregations::ListFindingAggregations, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::list_finding_aggregations::ListFindingAggregationsError, + >, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::list_finding_aggregations::paginator::ListFindingAggregationsPaginator::send) which returns a `Stream`. diff --git a/sdk/inspector2/src/operation/list_findings/builders.rs b/sdk/inspector2/src/operation/list_findings/builders.rs index faa3f8a468ab..49f8d60f2d60 100644 --- a/sdk/inspector2/src/operation/list_findings/builders.rs +++ b/sdk/inspector2/src/operation/list_findings/builders.rs @@ -19,9 +19,9 @@ impl ListFindingsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl ListFindingsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_findings::ListFindings, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::list_findings::paginator::ListFindingsPaginator::send) which returns a `Stream`. diff --git a/sdk/inspector2/src/operation/list_members/builders.rs b/sdk/inspector2/src/operation/list_members/builders.rs index f59d67e2319a..d1871954e6a5 100644 --- a/sdk/inspector2/src/operation/list_members/builders.rs +++ b/sdk/inspector2/src/operation/list_members/builders.rs @@ -19,9 +19,9 @@ impl ListMembersFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl ListMembersFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_members::ListMembers, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::list_members::paginator::ListMembersPaginator::send) which returns a `Stream`. diff --git a/sdk/inspector2/src/operation/list_tags_for_resource/builders.rs b/sdk/inspector2/src/operation/list_tags_for_resource/builders.rs index 77bf3edc9585..4fc906e7244a 100644 --- a/sdk/inspector2/src/operation/list_tags_for_resource/builders.rs +++ b/sdk/inspector2/src/operation/list_tags_for_resource/builders.rs @@ -19,9 +19,9 @@ impl ListTagsForResourceFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl ListTagsForResourceFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_tags_for_resource::ListTagsForResource, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::list_tags_for_resource::ListTagsForResourceError, + >, + > { + self.customize_middleware().await + } ///

                                                                                          The Amazon resource number (ARN) of the resource to list tags of.

                                                                                          pub fn resource_arn(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.resource_arn(input.into()); diff --git a/sdk/inspector2/src/operation/list_usage_totals/builders.rs b/sdk/inspector2/src/operation/list_usage_totals/builders.rs index 3b4460114e51..d89879054f25 100644 --- a/sdk/inspector2/src/operation/list_usage_totals/builders.rs +++ b/sdk/inspector2/src/operation/list_usage_totals/builders.rs @@ -19,9 +19,9 @@ impl ListUsageTotalsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl ListUsageTotalsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_usage_totals::ListUsageTotals, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::list_usage_totals::ListUsageTotalsError, + >, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::list_usage_totals::paginator::ListUsageTotalsPaginator::send) which returns a `Stream`. diff --git a/sdk/inspector2/src/operation/search_vulnerabilities/builders.rs b/sdk/inspector2/src/operation/search_vulnerabilities/builders.rs index b3e500db4924..d66b86eba868 100644 --- a/sdk/inspector2/src/operation/search_vulnerabilities/builders.rs +++ b/sdk/inspector2/src/operation/search_vulnerabilities/builders.rs @@ -19,9 +19,9 @@ impl SearchVulnerabilitiesFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl SearchVulnerabilitiesFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::search_vulnerabilities::SearchVulnerabilities, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::search_vulnerabilities::SearchVulnerabilitiesError, + >, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::search_vulnerabilities::paginator::SearchVulnerabilitiesPaginator::send) which returns a `Stream`. diff --git a/sdk/inspector2/src/operation/tag_resource/builders.rs b/sdk/inspector2/src/operation/tag_resource/builders.rs index 336123ef2c3a..15562659b91f 100644 --- a/sdk/inspector2/src/operation/tag_resource/builders.rs +++ b/sdk/inspector2/src/operation/tag_resource/builders.rs @@ -19,9 +19,9 @@ impl TagResourceFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl TagResourceFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::tag_resource::TagResource, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                                          The Amazon Resource Name (ARN) of the resource to apply a tag to.

                                                                                          pub fn resource_arn(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.resource_arn(input.into()); diff --git a/sdk/inspector2/src/operation/untag_resource/builders.rs b/sdk/inspector2/src/operation/untag_resource/builders.rs index 3e578fc52708..8f84d957ac83 100644 --- a/sdk/inspector2/src/operation/untag_resource/builders.rs +++ b/sdk/inspector2/src/operation/untag_resource/builders.rs @@ -19,9 +19,9 @@ impl UntagResourceFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl UntagResourceFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::untag_resource::UntagResource, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                                          The Amazon Resource Name (ARN) for the resource to remove tags from.

                                                                                          pub fn resource_arn(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.resource_arn(input.into()); diff --git a/sdk/inspector2/src/operation/update_configuration/builders.rs b/sdk/inspector2/src/operation/update_configuration/builders.rs index 49bc5b5cd80b..040d5cbed4e2 100644 --- a/sdk/inspector2/src/operation/update_configuration/builders.rs +++ b/sdk/inspector2/src/operation/update_configuration/builders.rs @@ -19,9 +19,9 @@ impl UpdateConfigurationFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl UpdateConfigurationFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::update_configuration::UpdateConfiguration, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::update_configuration::UpdateConfigurationError, + >, + > { + self.customize_middleware().await + } ///

                                                                                          Specifies how the ECR automated re-scan will be updated for your environment.

                                                                                          pub fn ecr_configuration(mut self, input: crate::types::EcrConfiguration) -> Self { self.inner = self.inner.ecr_configuration(input); diff --git a/sdk/inspector2/src/operation/update_ec2_deep_inspection_configuration/builders.rs b/sdk/inspector2/src/operation/update_ec2_deep_inspection_configuration/builders.rs index 0621e59c4c3f..479df9153666 100644 --- a/sdk/inspector2/src/operation/update_ec2_deep_inspection_configuration/builders.rs +++ b/sdk/inspector2/src/operation/update_ec2_deep_inspection_configuration/builders.rs @@ -19,9 +19,9 @@ impl UpdateEc2DeepInspectionConfigurationFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize(self) -> ::std::result::Result< + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware(self) -> ::std::result::Result< crate::client::customize::CustomizableOperation, ::aws_smithy_http::result::SdkError >{ @@ -64,6 +64,15 @@ impl UpdateEc2DeepInspectionConfigurationFluentBuilder { { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize(self) -> ::std::result::Result< + crate::client::customize::CustomizableOperation, + ::aws_smithy_http::result::SdkError + >{ + self.customize_middleware().await + } ///

                                                                                          Specify TRUE to activate Amazon Inspector deep inspection in your account, or FALSE to deactivate. Member accounts in an organization cannot deactivate deep inspection, instead the delegated administrator for the organization can deactivate a member account using BatchUpdateMemberEc2DeepInspectionStatus.

                                                                                          pub fn activate_deep_inspection(mut self, input: bool) -> Self { self.inner = self.inner.activate_deep_inspection(input); diff --git a/sdk/inspector2/src/operation/update_filter/builders.rs b/sdk/inspector2/src/operation/update_filter/builders.rs index 8a5518412860..f611fdaf4a57 100644 --- a/sdk/inspector2/src/operation/update_filter/builders.rs +++ b/sdk/inspector2/src/operation/update_filter/builders.rs @@ -19,9 +19,9 @@ impl UpdateFilterFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl UpdateFilterFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::update_filter::UpdateFilter, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                                          Specifies the action that is to be applied to the findings that match the filter.

                                                                                          pub fn action(mut self, input: crate::types::FilterAction) -> Self { self.inner = self.inner.action(input); diff --git a/sdk/inspector2/src/operation/update_org_ec2_deep_inspection_configuration/builders.rs b/sdk/inspector2/src/operation/update_org_ec2_deep_inspection_configuration/builders.rs index c73b5a2b504c..8c0a499a577e 100644 --- a/sdk/inspector2/src/operation/update_org_ec2_deep_inspection_configuration/builders.rs +++ b/sdk/inspector2/src/operation/update_org_ec2_deep_inspection_configuration/builders.rs @@ -19,9 +19,9 @@ impl UpdateOrgEc2DeepInspectionConfigurationFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize(self) -> ::std::result::Result< + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware(self) -> ::std::result::Result< crate::client::customize::CustomizableOperation, ::aws_smithy_http::result::SdkError >{ @@ -64,6 +64,15 @@ impl UpdateOrgEc2DeepInspectionConfigurationFluentBuilder { { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize(self) -> ::std::result::Result< + crate::client::customize::CustomizableOperation, + ::aws_smithy_http::result::SdkError + >{ + self.customize_middleware().await + } /// Appends an item to `orgPackagePaths`. /// /// To override the contents of this collection use [`set_org_package_paths`](Self::set_org_package_paths). diff --git a/sdk/inspector2/src/operation/update_organization_configuration/builders.rs b/sdk/inspector2/src/operation/update_organization_configuration/builders.rs index 4922e82c62f9..2108433b1e19 100644 --- a/sdk/inspector2/src/operation/update_organization_configuration/builders.rs +++ b/sdk/inspector2/src/operation/update_organization_configuration/builders.rs @@ -19,9 +19,9 @@ impl UpdateOrganizationConfigurationFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize(self) -> ::std::result::Result< + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware(self) -> ::std::result::Result< crate::client::customize::CustomizableOperation, ::aws_smithy_http::result::SdkError >{ @@ -64,6 +64,15 @@ impl UpdateOrganizationConfigurationFluentBuilder { { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize(self) -> ::std::result::Result< + crate::client::customize::CustomizableOperation, + ::aws_smithy_http::result::SdkError + >{ + self.customize_middleware().await + } ///

                                                                                          Defines which scan types are enabled automatically for new members of your Amazon Inspector organization.

                                                                                          pub fn auto_enable(mut self, input: crate::types::AutoEnable) -> Self { self.inner = self.inner.auto_enable(input); diff --git a/sdk/internetmonitor/src/operation/create_monitor/builders.rs b/sdk/internetmonitor/src/operation/create_monitor/builders.rs index d2e6b522b58d..96363e1989fe 100644 --- a/sdk/internetmonitor/src/operation/create_monitor/builders.rs +++ b/sdk/internetmonitor/src/operation/create_monitor/builders.rs @@ -20,9 +20,9 @@ impl CreateMonitorFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -78,6 +78,20 @@ impl CreateMonitorFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::create_monitor::CreateMonitor, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                                          The name of the monitor.

                                                                                          pub fn monitor_name(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.monitor_name(input.into()); diff --git a/sdk/internetmonitor/src/operation/delete_monitor/builders.rs b/sdk/internetmonitor/src/operation/delete_monitor/builders.rs index 2b7c1adead85..f0a8ab92bac3 100644 --- a/sdk/internetmonitor/src/operation/delete_monitor/builders.rs +++ b/sdk/internetmonitor/src/operation/delete_monitor/builders.rs @@ -19,9 +19,9 @@ impl DeleteMonitorFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl DeleteMonitorFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::delete_monitor::DeleteMonitor, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                                          The name of the monitor to delete.

                                                                                          pub fn monitor_name(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.monitor_name(input.into()); diff --git a/sdk/internetmonitor/src/operation/get_health_event/builders.rs b/sdk/internetmonitor/src/operation/get_health_event/builders.rs index 5719d2df47d7..26707588f993 100644 --- a/sdk/internetmonitor/src/operation/get_health_event/builders.rs +++ b/sdk/internetmonitor/src/operation/get_health_event/builders.rs @@ -21,9 +21,9 @@ impl GetHealthEventFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -85,6 +85,22 @@ impl GetHealthEventFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::get_health_event::GetHealthEvent, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::get_health_event::GetHealthEventError, + >, + > { + self.customize_middleware().await + } ///

                                                                                          The name of the monitor.

                                                                                          pub fn monitor_name(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.monitor_name(input.into()); diff --git a/sdk/internetmonitor/src/operation/get_monitor/builders.rs b/sdk/internetmonitor/src/operation/get_monitor/builders.rs index d3e591da7f30..5102ce0710d1 100644 --- a/sdk/internetmonitor/src/operation/get_monitor/builders.rs +++ b/sdk/internetmonitor/src/operation/get_monitor/builders.rs @@ -19,9 +19,9 @@ impl GetMonitorFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl GetMonitorFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::get_monitor::GetMonitor, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                                          The name of the monitor.

                                                                                          pub fn monitor_name(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.monitor_name(input.into()); diff --git a/sdk/internetmonitor/src/operation/list_health_events/builders.rs b/sdk/internetmonitor/src/operation/list_health_events/builders.rs index 5c747ded3606..79feaf369cd9 100644 --- a/sdk/internetmonitor/src/operation/list_health_events/builders.rs +++ b/sdk/internetmonitor/src/operation/list_health_events/builders.rs @@ -21,9 +21,9 @@ impl ListHealthEventsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -85,6 +85,22 @@ impl ListHealthEventsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_health_events::ListHealthEvents, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::list_health_events::ListHealthEventsError, + >, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::list_health_events::paginator::ListHealthEventsPaginator::send) which returns a `Stream`. diff --git a/sdk/internetmonitor/src/operation/list_monitors/builders.rs b/sdk/internetmonitor/src/operation/list_monitors/builders.rs index 8aeb0e42eede..e359a4897519 100644 --- a/sdk/internetmonitor/src/operation/list_monitors/builders.rs +++ b/sdk/internetmonitor/src/operation/list_monitors/builders.rs @@ -19,9 +19,9 @@ impl ListMonitorsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl ListMonitorsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_monitors::ListMonitors, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::list_monitors::paginator::ListMonitorsPaginator::send) which returns a `Stream`. diff --git a/sdk/internetmonitor/src/operation/list_tags_for_resource/builders.rs b/sdk/internetmonitor/src/operation/list_tags_for_resource/builders.rs index 2a05964d7f6c..4c115ad72a94 100644 --- a/sdk/internetmonitor/src/operation/list_tags_for_resource/builders.rs +++ b/sdk/internetmonitor/src/operation/list_tags_for_resource/builders.rs @@ -19,9 +19,9 @@ impl ListTagsForResourceFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl ListTagsForResourceFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_tags_for_resource::ListTagsForResource, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::list_tags_for_resource::ListTagsForResourceError, + >, + > { + self.customize_middleware().await + } ///

                                                                                          The Amazon Resource Name (ARN) for a resource.

                                                                                          pub fn resource_arn(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.resource_arn(input.into()); diff --git a/sdk/internetmonitor/src/operation/tag_resource/builders.rs b/sdk/internetmonitor/src/operation/tag_resource/builders.rs index 93ed8b2df36d..d83131c53dd9 100644 --- a/sdk/internetmonitor/src/operation/tag_resource/builders.rs +++ b/sdk/internetmonitor/src/operation/tag_resource/builders.rs @@ -20,9 +20,9 @@ impl TagResourceFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -78,6 +78,20 @@ impl TagResourceFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::tag_resource::TagResource, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                                          The Amazon Resource Name (ARN) for a tag that you add to a resource. Tags are supported only for monitors in Amazon CloudWatch Internet Monitor.

                                                                                          pub fn resource_arn(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.resource_arn(input.into()); diff --git a/sdk/internetmonitor/src/operation/untag_resource/builders.rs b/sdk/internetmonitor/src/operation/untag_resource/builders.rs index 69eeccf645a0..ca30232b859e 100644 --- a/sdk/internetmonitor/src/operation/untag_resource/builders.rs +++ b/sdk/internetmonitor/src/operation/untag_resource/builders.rs @@ -19,9 +19,9 @@ impl UntagResourceFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl UntagResourceFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::untag_resource::UntagResource, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                                          The Amazon Resource Name (ARN) for a tag you remove a resource from.

                                                                                          pub fn resource_arn(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.resource_arn(input.into()); diff --git a/sdk/internetmonitor/src/operation/update_monitor/builders.rs b/sdk/internetmonitor/src/operation/update_monitor/builders.rs index 1b147d4f345b..c48ce5b06ff6 100644 --- a/sdk/internetmonitor/src/operation/update_monitor/builders.rs +++ b/sdk/internetmonitor/src/operation/update_monitor/builders.rs @@ -20,9 +20,9 @@ impl UpdateMonitorFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -78,6 +78,20 @@ impl UpdateMonitorFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::update_monitor::UpdateMonitor, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                                          The name of the monitor.

                                                                                          pub fn monitor_name(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.monitor_name(input.into()); diff --git a/sdk/iot/src/operation/accept_certificate_transfer/builders.rs b/sdk/iot/src/operation/accept_certificate_transfer/builders.rs index de9983e39f1f..d1f4cd1f66a4 100644 --- a/sdk/iot/src/operation/accept_certificate_transfer/builders.rs +++ b/sdk/iot/src/operation/accept_certificate_transfer/builders.rs @@ -21,9 +21,9 @@ impl AcceptCertificateTransferFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -85,6 +85,22 @@ impl AcceptCertificateTransferFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::accept_certificate_transfer::AcceptCertificateTransfer, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::accept_certificate_transfer::AcceptCertificateTransferError, + >, + > { + self.customize_middleware().await + } ///

                                                                                          The ID of the certificate. (The last part of the certificate ARN contains the certificate ID.)

                                                                                          pub fn certificate_id( mut self, diff --git a/sdk/iot/src/operation/add_thing_to_billing_group/builders.rs b/sdk/iot/src/operation/add_thing_to_billing_group/builders.rs index d353349b49bf..315b7d2572bb 100644 --- a/sdk/iot/src/operation/add_thing_to_billing_group/builders.rs +++ b/sdk/iot/src/operation/add_thing_to_billing_group/builders.rs @@ -21,9 +21,9 @@ impl AddThingToBillingGroupFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -85,6 +85,22 @@ impl AddThingToBillingGroupFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::add_thing_to_billing_group::AddThingToBillingGroup, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::add_thing_to_billing_group::AddThingToBillingGroupError, + >, + > { + self.customize_middleware().await + } ///

                                                                                          The name of the billing group.

                                                                                          ///

                                                                                          This call is asynchronous. It might take several seconds for the detachment to propagate.

                                                                                          ///
                                                                                          diff --git a/sdk/iot/src/operation/add_thing_to_thing_group/builders.rs b/sdk/iot/src/operation/add_thing_to_thing_group/builders.rs index 79d1044facd2..d8911451f00c 100644 --- a/sdk/iot/src/operation/add_thing_to_thing_group/builders.rs +++ b/sdk/iot/src/operation/add_thing_to_thing_group/builders.rs @@ -20,9 +20,9 @@ impl AddThingToThingGroupFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -84,6 +84,22 @@ impl AddThingToThingGroupFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::add_thing_to_thing_group::AddThingToThingGroup, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::add_thing_to_thing_group::AddThingToThingGroupError, + >, + > { + self.customize_middleware().await + } ///

                                                                                          The name of the group to which you are adding a thing.

                                                                                          pub fn thing_group_name( mut self, diff --git a/sdk/iot/src/operation/associate_targets_with_job/builders.rs b/sdk/iot/src/operation/associate_targets_with_job/builders.rs index 494ddea11197..e7bce339d936 100644 --- a/sdk/iot/src/operation/associate_targets_with_job/builders.rs +++ b/sdk/iot/src/operation/associate_targets_with_job/builders.rs @@ -26,9 +26,9 @@ impl AssociateTargetsWithJobFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -90,6 +90,22 @@ impl AssociateTargetsWithJobFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::associate_targets_with_job::AssociateTargetsWithJob, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::associate_targets_with_job::AssociateTargetsWithJobError, + >, + > { + self.customize_middleware().await + } /// Appends an item to `targets`. /// /// To override the contents of this collection use [`set_targets`](Self::set_targets). diff --git a/sdk/iot/src/operation/attach_policy/builders.rs b/sdk/iot/src/operation/attach_policy/builders.rs index eb2592df19be..5c3cd090ec9d 100644 --- a/sdk/iot/src/operation/attach_policy/builders.rs +++ b/sdk/iot/src/operation/attach_policy/builders.rs @@ -20,9 +20,9 @@ impl AttachPolicyFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -78,6 +78,20 @@ impl AttachPolicyFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::attach_policy::AttachPolicy, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                                          The name of the policy to attach.

                                                                                          pub fn policy_name(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.policy_name(input.into()); diff --git a/sdk/iot/src/operation/attach_principal_policy/builders.rs b/sdk/iot/src/operation/attach_principal_policy/builders.rs index f729069d8c38..379ef7839f7a 100644 --- a/sdk/iot/src/operation/attach_principal_policy/builders.rs +++ b/sdk/iot/src/operation/attach_principal_policy/builders.rs @@ -22,9 +22,9 @@ impl AttachPrincipalPolicyFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -86,6 +86,22 @@ impl AttachPrincipalPolicyFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::attach_principal_policy::AttachPrincipalPolicy, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::attach_principal_policy::AttachPrincipalPolicyError, + >, + > { + self.customize_middleware().await + } ///

                                                                                          The policy name.

                                                                                          pub fn policy_name(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.policy_name(input.into()); diff --git a/sdk/iot/src/operation/attach_security_profile/builders.rs b/sdk/iot/src/operation/attach_security_profile/builders.rs index 0aa5311fb061..893b1d20dd8e 100644 --- a/sdk/iot/src/operation/attach_security_profile/builders.rs +++ b/sdk/iot/src/operation/attach_security_profile/builders.rs @@ -20,9 +20,9 @@ impl AttachSecurityProfileFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -84,6 +84,22 @@ impl AttachSecurityProfileFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::attach_security_profile::AttachSecurityProfile, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::attach_security_profile::AttachSecurityProfileError, + >, + > { + self.customize_middleware().await + } ///

                                                                                          The security profile that is attached.

                                                                                          pub fn security_profile_name( mut self, diff --git a/sdk/iot/src/operation/attach_thing_principal/builders.rs b/sdk/iot/src/operation/attach_thing_principal/builders.rs index 08c8fc71c403..4b8d3486d099 100644 --- a/sdk/iot/src/operation/attach_thing_principal/builders.rs +++ b/sdk/iot/src/operation/attach_thing_principal/builders.rs @@ -20,9 +20,9 @@ impl AttachThingPrincipalFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -84,6 +84,22 @@ impl AttachThingPrincipalFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::attach_thing_principal::AttachThingPrincipal, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::attach_thing_principal::AttachThingPrincipalError, + >, + > { + self.customize_middleware().await + } ///

                                                                                          The name of the thing.

                                                                                          pub fn thing_name(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.thing_name(input.into()); diff --git a/sdk/iot/src/operation/cancel_audit_mitigation_actions_task/builders.rs b/sdk/iot/src/operation/cancel_audit_mitigation_actions_task/builders.rs index 0f98a21e88b9..079f4867d96c 100644 --- a/sdk/iot/src/operation/cancel_audit_mitigation_actions_task/builders.rs +++ b/sdk/iot/src/operation/cancel_audit_mitigation_actions_task/builders.rs @@ -20,9 +20,9 @@ impl CancelAuditMitigationActionsTaskFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize(self) -> ::std::result::Result< + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware(self) -> ::std::result::Result< crate::client::customize::CustomizableOperation, ::aws_smithy_http::result::SdkError >{ @@ -65,6 +65,15 @@ impl CancelAuditMitigationActionsTaskFluentBuilder { { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize(self) -> ::std::result::Result< + crate::client::customize::CustomizableOperation, + ::aws_smithy_http::result::SdkError + >{ + self.customize_middleware().await + } ///

                                                                                          The unique identifier for the task that you want to cancel.

                                                                                          pub fn task_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.task_id(input.into()); diff --git a/sdk/iot/src/operation/cancel_audit_task/builders.rs b/sdk/iot/src/operation/cancel_audit_task/builders.rs index 319b2743411b..ec0f24ee52de 100644 --- a/sdk/iot/src/operation/cancel_audit_task/builders.rs +++ b/sdk/iot/src/operation/cancel_audit_task/builders.rs @@ -20,9 +20,9 @@ impl CancelAuditTaskFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -84,6 +84,22 @@ impl CancelAuditTaskFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::cancel_audit_task::CancelAuditTask, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::cancel_audit_task::CancelAuditTaskError, + >, + > { + self.customize_middleware().await + } ///

                                                                                          The ID of the audit you want to cancel. You can only cancel an audit that is "IN_PROGRESS".

                                                                                          pub fn task_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.task_id(input.into()); diff --git a/sdk/iot/src/operation/cancel_certificate_transfer/builders.rs b/sdk/iot/src/operation/cancel_certificate_transfer/builders.rs index d68c3ee10ab9..e4b2ec2a7e0d 100644 --- a/sdk/iot/src/operation/cancel_certificate_transfer/builders.rs +++ b/sdk/iot/src/operation/cancel_certificate_transfer/builders.rs @@ -22,9 +22,9 @@ impl CancelCertificateTransferFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -86,6 +86,22 @@ impl CancelCertificateTransferFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::cancel_certificate_transfer::CancelCertificateTransfer, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::cancel_certificate_transfer::CancelCertificateTransferError, + >, + > { + self.customize_middleware().await + } ///

                                                                                          The ID of the certificate. (The last part of the certificate ARN contains the certificate ID.)

                                                                                          pub fn certificate_id( mut self, diff --git a/sdk/iot/src/operation/cancel_detect_mitigation_actions_task/builders.rs b/sdk/iot/src/operation/cancel_detect_mitigation_actions_task/builders.rs index d989b12169a7..6596d88f2d3e 100644 --- a/sdk/iot/src/operation/cancel_detect_mitigation_actions_task/builders.rs +++ b/sdk/iot/src/operation/cancel_detect_mitigation_actions_task/builders.rs @@ -20,9 +20,9 @@ impl CancelDetectMitigationActionsTaskFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize(self) -> ::std::result::Result< + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware(self) -> ::std::result::Result< crate::client::customize::CustomizableOperation, ::aws_smithy_http::result::SdkError >{ @@ -65,6 +65,15 @@ impl CancelDetectMitigationActionsTaskFluentBuilder { { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize(self) -> ::std::result::Result< + crate::client::customize::CustomizableOperation, + ::aws_smithy_http::result::SdkError + >{ + self.customize_middleware().await + } ///

                                                                                          The unique identifier of the task.

                                                                                          pub fn task_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.task_id(input.into()); diff --git a/sdk/iot/src/operation/cancel_job/builders.rs b/sdk/iot/src/operation/cancel_job/builders.rs index 31d7714f805e..342894e74fc2 100644 --- a/sdk/iot/src/operation/cancel_job/builders.rs +++ b/sdk/iot/src/operation/cancel_job/builders.rs @@ -20,9 +20,9 @@ impl CancelJobFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -78,6 +78,20 @@ impl CancelJobFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::cancel_job::CancelJob, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                                          The unique identifier you assigned to this job when it was created.

                                                                                          pub fn job_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.job_id(input.into()); diff --git a/sdk/iot/src/operation/cancel_job_execution/builders.rs b/sdk/iot/src/operation/cancel_job_execution/builders.rs index 9194be0218b6..d835586e853c 100644 --- a/sdk/iot/src/operation/cancel_job_execution/builders.rs +++ b/sdk/iot/src/operation/cancel_job_execution/builders.rs @@ -20,9 +20,9 @@ impl CancelJobExecutionFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -84,6 +84,22 @@ impl CancelJobExecutionFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::cancel_job_execution::CancelJobExecution, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::cancel_job_execution::CancelJobExecutionError, + >, + > { + self.customize_middleware().await + } ///

                                                                                          The ID of the job to be canceled.

                                                                                          pub fn job_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.job_id(input.into()); diff --git a/sdk/iot/src/operation/clear_default_authorizer/builders.rs b/sdk/iot/src/operation/clear_default_authorizer/builders.rs index d119fc6ec107..26284d03149c 100644 --- a/sdk/iot/src/operation/clear_default_authorizer/builders.rs +++ b/sdk/iot/src/operation/clear_default_authorizer/builders.rs @@ -20,9 +20,9 @@ impl ClearDefaultAuthorizerFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -84,4 +84,20 @@ impl ClearDefaultAuthorizerFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::clear_default_authorizer::ClearDefaultAuthorizer, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::clear_default_authorizer::ClearDefaultAuthorizerError, + >, + > { + self.customize_middleware().await + } } diff --git a/sdk/iot/src/operation/confirm_topic_rule_destination/builders.rs b/sdk/iot/src/operation/confirm_topic_rule_destination/builders.rs index 9d12bb39b6ce..2f2c497e3fa1 100644 --- a/sdk/iot/src/operation/confirm_topic_rule_destination/builders.rs +++ b/sdk/iot/src/operation/confirm_topic_rule_destination/builders.rs @@ -20,9 +20,9 @@ impl ConfirmTopicRuleDestinationFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -84,6 +84,22 @@ impl ConfirmTopicRuleDestinationFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::confirm_topic_rule_destination::ConfirmTopicRuleDestination, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::confirm_topic_rule_destination::ConfirmTopicRuleDestinationError, + >, + > { + self.customize_middleware().await + } ///

                                                                                          The token used to confirm ownership or access to the topic rule confirmation URL.

                                                                                          pub fn confirmation_token( mut self, diff --git a/sdk/iot/src/operation/create_audit_suppression/builders.rs b/sdk/iot/src/operation/create_audit_suppression/builders.rs index ccedb2df635e..e2d14d6eb74c 100644 --- a/sdk/iot/src/operation/create_audit_suppression/builders.rs +++ b/sdk/iot/src/operation/create_audit_suppression/builders.rs @@ -20,9 +20,9 @@ impl CreateAuditSuppressionFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -84,6 +84,22 @@ impl CreateAuditSuppressionFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::create_audit_suppression::CreateAuditSuppression, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::create_audit_suppression::CreateAuditSuppressionError, + >, + > { + self.customize_middleware().await + } ///

                                                                                          An audit check name. Checks must be enabled for your account. (Use DescribeAccountAuditConfiguration to see the list of all checks, including those that are enabled or use UpdateAccountAuditConfiguration to select which checks are enabled.)

                                                                                          pub fn check_name(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.check_name(input.into()); diff --git a/sdk/iot/src/operation/create_authorizer/builders.rs b/sdk/iot/src/operation/create_authorizer/builders.rs index 4f09b48c9626..5df58758b53b 100644 --- a/sdk/iot/src/operation/create_authorizer/builders.rs +++ b/sdk/iot/src/operation/create_authorizer/builders.rs @@ -20,9 +20,9 @@ impl CreateAuthorizerFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -84,6 +84,22 @@ impl CreateAuthorizerFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::create_authorizer::CreateAuthorizer, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::create_authorizer::CreateAuthorizerError, + >, + > { + self.customize_middleware().await + } ///

                                                                                          The authorizer name.

                                                                                          pub fn authorizer_name( mut self, diff --git a/sdk/iot/src/operation/create_billing_group/builders.rs b/sdk/iot/src/operation/create_billing_group/builders.rs index 7b54a50b9a46..c928ccd09740 100644 --- a/sdk/iot/src/operation/create_billing_group/builders.rs +++ b/sdk/iot/src/operation/create_billing_group/builders.rs @@ -20,9 +20,9 @@ impl CreateBillingGroupFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -84,6 +84,22 @@ impl CreateBillingGroupFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::create_billing_group::CreateBillingGroup, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::create_billing_group::CreateBillingGroupError, + >, + > { + self.customize_middleware().await + } ///

                                                                                          The name you wish to give to the billing group.

                                                                                          pub fn billing_group_name( mut self, diff --git a/sdk/iot/src/operation/create_certificate_from_csr/builders.rs b/sdk/iot/src/operation/create_certificate_from_csr/builders.rs index 20917394e355..de224dcf5d03 100644 --- a/sdk/iot/src/operation/create_certificate_from_csr/builders.rs +++ b/sdk/iot/src/operation/create_certificate_from_csr/builders.rs @@ -34,9 +34,9 @@ impl CreateCertificateFromCsrFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -98,6 +98,22 @@ impl CreateCertificateFromCsrFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::create_certificate_from_csr::CreateCertificateFromCsr, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::create_certificate_from_csr::CreateCertificateFromCsrError, + >, + > { + self.customize_middleware().await + } ///

                                                                                          The certificate signing request (CSR).

                                                                                          pub fn certificate_signing_request( mut self, diff --git a/sdk/iot/src/operation/create_custom_metric/builders.rs b/sdk/iot/src/operation/create_custom_metric/builders.rs index f53ef1cbee39..b2c7c9462aec 100644 --- a/sdk/iot/src/operation/create_custom_metric/builders.rs +++ b/sdk/iot/src/operation/create_custom_metric/builders.rs @@ -20,9 +20,9 @@ impl CreateCustomMetricFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -84,6 +84,22 @@ impl CreateCustomMetricFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::create_custom_metric::CreateCustomMetric, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::create_custom_metric::CreateCustomMetricError, + >, + > { + self.customize_middleware().await + } ///

                                                                                          The name of the custom metric. This will be used in the metric report submitted from the device/thing. The name can't begin with aws:. You can't change the name after you define it.

                                                                                          pub fn metric_name(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.metric_name(input.into()); diff --git a/sdk/iot/src/operation/create_dimension/builders.rs b/sdk/iot/src/operation/create_dimension/builders.rs index 467ccd0a5582..0b5ae04cd28b 100644 --- a/sdk/iot/src/operation/create_dimension/builders.rs +++ b/sdk/iot/src/operation/create_dimension/builders.rs @@ -20,9 +20,9 @@ impl CreateDimensionFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -84,6 +84,22 @@ impl CreateDimensionFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::create_dimension::CreateDimension, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::create_dimension::CreateDimensionError, + >, + > { + self.customize_middleware().await + } ///

                                                                                          A unique identifier for the dimension. Choose something that describes the type and value to make it easy to remember what it does.

                                                                                          pub fn name(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.name(input.into()); diff --git a/sdk/iot/src/operation/create_domain_configuration/builders.rs b/sdk/iot/src/operation/create_domain_configuration/builders.rs index 4c360065f6b6..503102d74c0a 100644 --- a/sdk/iot/src/operation/create_domain_configuration/builders.rs +++ b/sdk/iot/src/operation/create_domain_configuration/builders.rs @@ -20,9 +20,9 @@ impl CreateDomainConfigurationFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -84,6 +84,22 @@ impl CreateDomainConfigurationFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::create_domain_configuration::CreateDomainConfiguration, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::create_domain_configuration::CreateDomainConfigurationError, + >, + > { + self.customize_middleware().await + } ///

                                                                                          The name of the domain configuration. This value must be unique to a region.

                                                                                          pub fn domain_configuration_name( mut self, diff --git a/sdk/iot/src/operation/create_dynamic_thing_group/builders.rs b/sdk/iot/src/operation/create_dynamic_thing_group/builders.rs index efd524d88eb1..4ceaaf1c35ae 100644 --- a/sdk/iot/src/operation/create_dynamic_thing_group/builders.rs +++ b/sdk/iot/src/operation/create_dynamic_thing_group/builders.rs @@ -21,9 +21,9 @@ impl CreateDynamicThingGroupFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -85,6 +85,22 @@ impl CreateDynamicThingGroupFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::create_dynamic_thing_group::CreateDynamicThingGroup, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::create_dynamic_thing_group::CreateDynamicThingGroupError, + >, + > { + self.customize_middleware().await + } ///

                                                                                          The dynamic thing group name to create.

                                                                                          pub fn thing_group_name( mut self, diff --git a/sdk/iot/src/operation/create_fleet_metric/builders.rs b/sdk/iot/src/operation/create_fleet_metric/builders.rs index 9affa72987a3..737015650221 100644 --- a/sdk/iot/src/operation/create_fleet_metric/builders.rs +++ b/sdk/iot/src/operation/create_fleet_metric/builders.rs @@ -20,9 +20,9 @@ impl CreateFleetMetricFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -84,6 +84,22 @@ impl CreateFleetMetricFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::create_fleet_metric::CreateFleetMetric, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::create_fleet_metric::CreateFleetMetricError, + >, + > { + self.customize_middleware().await + } ///

                                                                                          The name of the fleet metric to create.

                                                                                          pub fn metric_name(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.metric_name(input.into()); diff --git a/sdk/iot/src/operation/create_job/builders.rs b/sdk/iot/src/operation/create_job/builders.rs index d30458c85a49..c93ba699aef7 100644 --- a/sdk/iot/src/operation/create_job/builders.rs +++ b/sdk/iot/src/operation/create_job/builders.rs @@ -20,9 +20,9 @@ impl CreateJobFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -78,6 +78,20 @@ impl CreateJobFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::create_job::CreateJob, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                                          A job identifier which must be unique for your Amazon Web Services account. We recommend using a UUID. Alpha-numeric characters, "-" and "_" are valid for use here.

                                                                                          pub fn job_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.job_id(input.into()); diff --git a/sdk/iot/src/operation/create_job_template/builders.rs b/sdk/iot/src/operation/create_job_template/builders.rs index d53f48fa66a9..ef9e0ca2eedb 100644 --- a/sdk/iot/src/operation/create_job_template/builders.rs +++ b/sdk/iot/src/operation/create_job_template/builders.rs @@ -20,9 +20,9 @@ impl CreateJobTemplateFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -84,6 +84,22 @@ impl CreateJobTemplateFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::create_job_template::CreateJobTemplate, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::create_job_template::CreateJobTemplateError, + >, + > { + self.customize_middleware().await + } ///

                                                                                          A unique identifier for the job template. We recommend using a UUID. Alpha-numeric characters, "-", and "_" are valid for use here.

                                                                                          pub fn job_template_id( mut self, diff --git a/sdk/iot/src/operation/create_keys_and_certificate/builders.rs b/sdk/iot/src/operation/create_keys_and_certificate/builders.rs index 0e0950801133..ba7c8d8cf355 100644 --- a/sdk/iot/src/operation/create_keys_and_certificate/builders.rs +++ b/sdk/iot/src/operation/create_keys_and_certificate/builders.rs @@ -21,9 +21,9 @@ impl CreateKeysAndCertificateFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -85,6 +85,22 @@ impl CreateKeysAndCertificateFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::create_keys_and_certificate::CreateKeysAndCertificate, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::create_keys_and_certificate::CreateKeysAndCertificateError, + >, + > { + self.customize_middleware().await + } ///

                                                                                          Specifies whether the certificate is active.

                                                                                          pub fn set_as_active(mut self, input: bool) -> Self { self.inner = self.inner.set_as_active(input); diff --git a/sdk/iot/src/operation/create_mitigation_action/builders.rs b/sdk/iot/src/operation/create_mitigation_action/builders.rs index 970df1a7ed57..0b26c1d07805 100644 --- a/sdk/iot/src/operation/create_mitigation_action/builders.rs +++ b/sdk/iot/src/operation/create_mitigation_action/builders.rs @@ -20,9 +20,9 @@ impl CreateMitigationActionFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -84,6 +84,22 @@ impl CreateMitigationActionFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::create_mitigation_action::CreateMitigationAction, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::create_mitigation_action::CreateMitigationActionError, + >, + > { + self.customize_middleware().await + } ///

                                                                                          A friendly name for the action. Choose a friendly name that accurately describes the action (for example, EnableLoggingAction).

                                                                                          pub fn action_name(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.action_name(input.into()); diff --git a/sdk/iot/src/operation/create_ota_update/builders.rs b/sdk/iot/src/operation/create_ota_update/builders.rs index 4294d893f547..6e83bbb990e6 100644 --- a/sdk/iot/src/operation/create_ota_update/builders.rs +++ b/sdk/iot/src/operation/create_ota_update/builders.rs @@ -20,9 +20,9 @@ impl CreateOTAUpdateFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -84,6 +84,22 @@ impl CreateOTAUpdateFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::create_ota_update::CreateOTAUpdate, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::create_ota_update::CreateOTAUpdateError, + >, + > { + self.customize_middleware().await + } ///

                                                                                          The ID of the OTA update to be created.

                                                                                          pub fn ota_update_id( mut self, diff --git a/sdk/iot/src/operation/create_policy/builders.rs b/sdk/iot/src/operation/create_policy/builders.rs index 6a01b510f2d9..44569b247291 100644 --- a/sdk/iot/src/operation/create_policy/builders.rs +++ b/sdk/iot/src/operation/create_policy/builders.rs @@ -21,9 +21,9 @@ impl CreatePolicyFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -79,6 +79,20 @@ impl CreatePolicyFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::create_policy::CreatePolicy, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                                          The policy name.

                                                                                          pub fn policy_name(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.policy_name(input.into()); diff --git a/sdk/iot/src/operation/create_policy_version/builders.rs b/sdk/iot/src/operation/create_policy_version/builders.rs index fb0d89fafa3e..2ae8f4e17639 100644 --- a/sdk/iot/src/operation/create_policy_version/builders.rs +++ b/sdk/iot/src/operation/create_policy_version/builders.rs @@ -21,9 +21,9 @@ impl CreatePolicyVersionFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -85,6 +85,22 @@ impl CreatePolicyVersionFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::create_policy_version::CreatePolicyVersion, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::create_policy_version::CreatePolicyVersionError, + >, + > { + self.customize_middleware().await + } ///

                                                                                          The policy name.

                                                                                          pub fn policy_name(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.policy_name(input.into()); diff --git a/sdk/iot/src/operation/create_provisioning_claim/builders.rs b/sdk/iot/src/operation/create_provisioning_claim/builders.rs index e1b93a1cad9a..3f933eacf7c6 100644 --- a/sdk/iot/src/operation/create_provisioning_claim/builders.rs +++ b/sdk/iot/src/operation/create_provisioning_claim/builders.rs @@ -21,9 +21,9 @@ impl CreateProvisioningClaimFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -85,6 +85,22 @@ impl CreateProvisioningClaimFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::create_provisioning_claim::CreateProvisioningClaim, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::create_provisioning_claim::CreateProvisioningClaimError, + >, + > { + self.customize_middleware().await + } ///

                                                                                          The name of the provisioning template to use.

                                                                                          pub fn template_name( mut self, diff --git a/sdk/iot/src/operation/create_provisioning_template/builders.rs b/sdk/iot/src/operation/create_provisioning_template/builders.rs index 400f98d2e377..7179a14031a9 100644 --- a/sdk/iot/src/operation/create_provisioning_template/builders.rs +++ b/sdk/iot/src/operation/create_provisioning_template/builders.rs @@ -20,9 +20,9 @@ impl CreateProvisioningTemplateFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -84,6 +84,22 @@ impl CreateProvisioningTemplateFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::create_provisioning_template::CreateProvisioningTemplate, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::create_provisioning_template::CreateProvisioningTemplateError, + >, + > { + self.customize_middleware().await + } ///

                                                                                          The name of the provisioning template.

                                                                                          pub fn template_name( mut self, diff --git a/sdk/iot/src/operation/create_provisioning_template_version/builders.rs b/sdk/iot/src/operation/create_provisioning_template_version/builders.rs index 741c122538d0..3e71b43b806e 100644 --- a/sdk/iot/src/operation/create_provisioning_template_version/builders.rs +++ b/sdk/iot/src/operation/create_provisioning_template_version/builders.rs @@ -20,9 +20,9 @@ impl CreateProvisioningTemplateVersionFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize(self) -> ::std::result::Result< + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware(self) -> ::std::result::Result< crate::client::customize::CustomizableOperation, ::aws_smithy_http::result::SdkError >{ @@ -65,6 +65,15 @@ impl CreateProvisioningTemplateVersionFluentBuilder { { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize(self) -> ::std::result::Result< + crate::client::customize::CustomizableOperation, + ::aws_smithy_http::result::SdkError + >{ + self.customize_middleware().await + } ///

                                                                                          The name of the provisioning template.

                                                                                          pub fn template_name( mut self, diff --git a/sdk/iot/src/operation/create_role_alias/builders.rs b/sdk/iot/src/operation/create_role_alias/builders.rs index 3567d04e8c35..a512b6e5ce47 100644 --- a/sdk/iot/src/operation/create_role_alias/builders.rs +++ b/sdk/iot/src/operation/create_role_alias/builders.rs @@ -20,9 +20,9 @@ impl CreateRoleAliasFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -84,6 +84,22 @@ impl CreateRoleAliasFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::create_role_alias::CreateRoleAlias, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::create_role_alias::CreateRoleAliasError, + >, + > { + self.customize_middleware().await + } ///

                                                                                          The role alias that points to a role ARN. This allows you to change the role without having to update the device.

                                                                                          pub fn role_alias(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.role_alias(input.into()); diff --git a/sdk/iot/src/operation/create_scheduled_audit/builders.rs b/sdk/iot/src/operation/create_scheduled_audit/builders.rs index c74dd43da42a..498ed41245de 100644 --- a/sdk/iot/src/operation/create_scheduled_audit/builders.rs +++ b/sdk/iot/src/operation/create_scheduled_audit/builders.rs @@ -20,9 +20,9 @@ impl CreateScheduledAuditFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -84,6 +84,22 @@ impl CreateScheduledAuditFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::create_scheduled_audit::CreateScheduledAudit, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::create_scheduled_audit::CreateScheduledAuditError, + >, + > { + self.customize_middleware().await + } ///

                                                                                          How often the scheduled audit takes place, either DAILY, WEEKLY, BIWEEKLY or MONTHLY. The start time of each audit is determined by the system.

                                                                                          pub fn frequency(mut self, input: crate::types::AuditFrequency) -> Self { self.inner = self.inner.frequency(input); diff --git a/sdk/iot/src/operation/create_security_profile/builders.rs b/sdk/iot/src/operation/create_security_profile/builders.rs index 0ef1d621c845..2cb050427bd8 100644 --- a/sdk/iot/src/operation/create_security_profile/builders.rs +++ b/sdk/iot/src/operation/create_security_profile/builders.rs @@ -20,9 +20,9 @@ impl CreateSecurityProfileFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -84,6 +84,22 @@ impl CreateSecurityProfileFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::create_security_profile::CreateSecurityProfile, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::create_security_profile::CreateSecurityProfileError, + >, + > { + self.customize_middleware().await + } ///

                                                                                          The name you are giving to the security profile.

                                                                                          pub fn security_profile_name( mut self, diff --git a/sdk/iot/src/operation/create_stream/builders.rs b/sdk/iot/src/operation/create_stream/builders.rs index c78f42504aeb..c6a0db839879 100644 --- a/sdk/iot/src/operation/create_stream/builders.rs +++ b/sdk/iot/src/operation/create_stream/builders.rs @@ -20,9 +20,9 @@ impl CreateStreamFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -78,6 +78,20 @@ impl CreateStreamFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::create_stream::CreateStream, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                                          The stream ID.

                                                                                          pub fn stream_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.stream_id(input.into()); diff --git a/sdk/iot/src/operation/create_thing/builders.rs b/sdk/iot/src/operation/create_thing/builders.rs index 23a34272ee68..116814f12ff3 100644 --- a/sdk/iot/src/operation/create_thing/builders.rs +++ b/sdk/iot/src/operation/create_thing/builders.rs @@ -22,9 +22,9 @@ impl CreateThingFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -80,6 +80,20 @@ impl CreateThingFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::create_thing::CreateThing, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                                          The name of the thing to create.

                                                                                          ///

                                                                                          You can't change a thing's name after you create it. To change a thing's name, you must create a new thing, give it the new name, and then delete the old thing.

                                                                                          pub fn thing_name(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { diff --git a/sdk/iot/src/operation/create_thing_group/builders.rs b/sdk/iot/src/operation/create_thing_group/builders.rs index abd96290677f..49f7db9dd2ad 100644 --- a/sdk/iot/src/operation/create_thing_group/builders.rs +++ b/sdk/iot/src/operation/create_thing_group/builders.rs @@ -22,9 +22,9 @@ impl CreateThingGroupFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -86,6 +86,22 @@ impl CreateThingGroupFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::create_thing_group::CreateThingGroup, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::create_thing_group::CreateThingGroupError, + >, + > { + self.customize_middleware().await + } ///

                                                                                          The thing group name to create.

                                                                                          pub fn thing_group_name( mut self, diff --git a/sdk/iot/src/operation/create_thing_type/builders.rs b/sdk/iot/src/operation/create_thing_type/builders.rs index 230d93ffd4e5..1a23c1f0f7d2 100644 --- a/sdk/iot/src/operation/create_thing_type/builders.rs +++ b/sdk/iot/src/operation/create_thing_type/builders.rs @@ -20,9 +20,9 @@ impl CreateThingTypeFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -84,6 +84,22 @@ impl CreateThingTypeFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::create_thing_type::CreateThingType, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::create_thing_type::CreateThingTypeError, + >, + > { + self.customize_middleware().await + } ///

                                                                                          The name of the thing type.

                                                                                          pub fn thing_type_name( mut self, diff --git a/sdk/iot/src/operation/create_topic_rule/builders.rs b/sdk/iot/src/operation/create_topic_rule/builders.rs index 3e8837cf57b1..a4c89ade76ec 100644 --- a/sdk/iot/src/operation/create_topic_rule/builders.rs +++ b/sdk/iot/src/operation/create_topic_rule/builders.rs @@ -20,9 +20,9 @@ impl CreateTopicRuleFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -84,6 +84,22 @@ impl CreateTopicRuleFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::create_topic_rule::CreateTopicRule, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::create_topic_rule::CreateTopicRuleError, + >, + > { + self.customize_middleware().await + } ///

                                                                                          The name of the rule.

                                                                                          pub fn rule_name(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.rule_name(input.into()); diff --git a/sdk/iot/src/operation/create_topic_rule_destination/builders.rs b/sdk/iot/src/operation/create_topic_rule_destination/builders.rs index 121215e9489f..16a9e510262a 100644 --- a/sdk/iot/src/operation/create_topic_rule_destination/builders.rs +++ b/sdk/iot/src/operation/create_topic_rule_destination/builders.rs @@ -20,9 +20,9 @@ impl CreateTopicRuleDestinationFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -84,6 +84,22 @@ impl CreateTopicRuleDestinationFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::create_topic_rule_destination::CreateTopicRuleDestination, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::create_topic_rule_destination::CreateTopicRuleDestinationError, + >, + > { + self.customize_middleware().await + } ///

                                                                                          The topic rule destination configuration.

                                                                                          pub fn destination_configuration( mut self, diff --git a/sdk/iot/src/operation/delete_account_audit_configuration/builders.rs b/sdk/iot/src/operation/delete_account_audit_configuration/builders.rs index 1979d291df17..d9053179620c 100644 --- a/sdk/iot/src/operation/delete_account_audit_configuration/builders.rs +++ b/sdk/iot/src/operation/delete_account_audit_configuration/builders.rs @@ -20,9 +20,9 @@ impl DeleteAccountAuditConfigurationFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize(self) -> ::std::result::Result< + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware(self) -> ::std::result::Result< crate::client::customize::CustomizableOperation, ::aws_smithy_http::result::SdkError >{ @@ -65,6 +65,15 @@ impl DeleteAccountAuditConfigurationFluentBuilder { { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize(self) -> ::std::result::Result< + crate::client::customize::CustomizableOperation, + ::aws_smithy_http::result::SdkError + >{ + self.customize_middleware().await + } ///

                                                                                          If true, all scheduled audits are deleted.

                                                                                          pub fn delete_scheduled_audits(mut self, input: bool) -> Self { self.inner = self.inner.delete_scheduled_audits(input); diff --git a/sdk/iot/src/operation/delete_audit_suppression/builders.rs b/sdk/iot/src/operation/delete_audit_suppression/builders.rs index b0049f895435..e4f55622fa6d 100644 --- a/sdk/iot/src/operation/delete_audit_suppression/builders.rs +++ b/sdk/iot/src/operation/delete_audit_suppression/builders.rs @@ -20,9 +20,9 @@ impl DeleteAuditSuppressionFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -84,6 +84,22 @@ impl DeleteAuditSuppressionFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::delete_audit_suppression::DeleteAuditSuppression, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::delete_audit_suppression::DeleteAuditSuppressionError, + >, + > { + self.customize_middleware().await + } ///

                                                                                          An audit check name. Checks must be enabled for your account. (Use DescribeAccountAuditConfiguration to see the list of all checks, including those that are enabled or use UpdateAccountAuditConfiguration to select which checks are enabled.)

                                                                                          pub fn check_name(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.check_name(input.into()); diff --git a/sdk/iot/src/operation/delete_authorizer/builders.rs b/sdk/iot/src/operation/delete_authorizer/builders.rs index 9c4adcf83df2..54086a13c26a 100644 --- a/sdk/iot/src/operation/delete_authorizer/builders.rs +++ b/sdk/iot/src/operation/delete_authorizer/builders.rs @@ -20,9 +20,9 @@ impl DeleteAuthorizerFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -84,6 +84,22 @@ impl DeleteAuthorizerFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::delete_authorizer::DeleteAuthorizer, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::delete_authorizer::DeleteAuthorizerError, + >, + > { + self.customize_middleware().await + } ///

                                                                                          The name of the authorizer to delete.

                                                                                          pub fn authorizer_name( mut self, diff --git a/sdk/iot/src/operation/delete_billing_group/builders.rs b/sdk/iot/src/operation/delete_billing_group/builders.rs index 5b49d6cfb1fb..4515dff499f5 100644 --- a/sdk/iot/src/operation/delete_billing_group/builders.rs +++ b/sdk/iot/src/operation/delete_billing_group/builders.rs @@ -20,9 +20,9 @@ impl DeleteBillingGroupFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -84,6 +84,22 @@ impl DeleteBillingGroupFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::delete_billing_group::DeleteBillingGroup, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::delete_billing_group::DeleteBillingGroupError, + >, + > { + self.customize_middleware().await + } ///

                                                                                          The name of the billing group.

                                                                                          pub fn billing_group_name( mut self, diff --git a/sdk/iot/src/operation/delete_ca_certificate/builders.rs b/sdk/iot/src/operation/delete_ca_certificate/builders.rs index f016f3795240..0600f4ba6919 100644 --- a/sdk/iot/src/operation/delete_ca_certificate/builders.rs +++ b/sdk/iot/src/operation/delete_ca_certificate/builders.rs @@ -20,9 +20,9 @@ impl DeleteCACertificateFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -84,6 +84,22 @@ impl DeleteCACertificateFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::delete_ca_certificate::DeleteCACertificate, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::delete_ca_certificate::DeleteCACertificateError, + >, + > { + self.customize_middleware().await + } ///

                                                                                          The ID of the certificate to delete. (The last part of the certificate ARN contains the certificate ID.)

                                                                                          pub fn certificate_id( mut self, diff --git a/sdk/iot/src/operation/delete_certificate/builders.rs b/sdk/iot/src/operation/delete_certificate/builders.rs index 8d3c5ea8f0a4..161ac353e9d4 100644 --- a/sdk/iot/src/operation/delete_certificate/builders.rs +++ b/sdk/iot/src/operation/delete_certificate/builders.rs @@ -21,9 +21,9 @@ impl DeleteCertificateFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -85,6 +85,22 @@ impl DeleteCertificateFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::delete_certificate::DeleteCertificate, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::delete_certificate::DeleteCertificateError, + >, + > { + self.customize_middleware().await + } ///

                                                                                          The ID of the certificate. (The last part of the certificate ARN contains the certificate ID.)

                                                                                          pub fn certificate_id( mut self, diff --git a/sdk/iot/src/operation/delete_custom_metric/builders.rs b/sdk/iot/src/operation/delete_custom_metric/builders.rs index 84213d9cc927..cec8aa31d296 100644 --- a/sdk/iot/src/operation/delete_custom_metric/builders.rs +++ b/sdk/iot/src/operation/delete_custom_metric/builders.rs @@ -22,9 +22,9 @@ impl DeleteCustomMetricFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -86,6 +86,22 @@ impl DeleteCustomMetricFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::delete_custom_metric::DeleteCustomMetric, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::delete_custom_metric::DeleteCustomMetricError, + >, + > { + self.customize_middleware().await + } ///

                                                                                          The name of the custom metric.

                                                                                          pub fn metric_name(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.metric_name(input.into()); diff --git a/sdk/iot/src/operation/delete_dimension/builders.rs b/sdk/iot/src/operation/delete_dimension/builders.rs index 9f5e08c668d3..1fcae30ac9ce 100644 --- a/sdk/iot/src/operation/delete_dimension/builders.rs +++ b/sdk/iot/src/operation/delete_dimension/builders.rs @@ -20,9 +20,9 @@ impl DeleteDimensionFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -84,6 +84,22 @@ impl DeleteDimensionFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::delete_dimension::DeleteDimension, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::delete_dimension::DeleteDimensionError, + >, + > { + self.customize_middleware().await + } ///

                                                                                          The unique identifier for the dimension that you want to delete.

                                                                                          pub fn name(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.name(input.into()); diff --git a/sdk/iot/src/operation/delete_domain_configuration/builders.rs b/sdk/iot/src/operation/delete_domain_configuration/builders.rs index 63c0fcfe8c0f..9c69b4164798 100644 --- a/sdk/iot/src/operation/delete_domain_configuration/builders.rs +++ b/sdk/iot/src/operation/delete_domain_configuration/builders.rs @@ -20,9 +20,9 @@ impl DeleteDomainConfigurationFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -84,6 +84,22 @@ impl DeleteDomainConfigurationFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::delete_domain_configuration::DeleteDomainConfiguration, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::delete_domain_configuration::DeleteDomainConfigurationError, + >, + > { + self.customize_middleware().await + } ///

                                                                                          The name of the domain configuration to be deleted.

                                                                                          pub fn domain_configuration_name( mut self, diff --git a/sdk/iot/src/operation/delete_dynamic_thing_group/builders.rs b/sdk/iot/src/operation/delete_dynamic_thing_group/builders.rs index 7cf916ec134a..4fcf1f565af4 100644 --- a/sdk/iot/src/operation/delete_dynamic_thing_group/builders.rs +++ b/sdk/iot/src/operation/delete_dynamic_thing_group/builders.rs @@ -21,9 +21,9 @@ impl DeleteDynamicThingGroupFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -85,6 +85,22 @@ impl DeleteDynamicThingGroupFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::delete_dynamic_thing_group::DeleteDynamicThingGroup, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::delete_dynamic_thing_group::DeleteDynamicThingGroupError, + >, + > { + self.customize_middleware().await + } ///

                                                                                          The name of the dynamic thing group to delete.

                                                                                          pub fn thing_group_name( mut self, diff --git a/sdk/iot/src/operation/delete_fleet_metric/builders.rs b/sdk/iot/src/operation/delete_fleet_metric/builders.rs index b965bd82dab1..7143ee2eb40d 100644 --- a/sdk/iot/src/operation/delete_fleet_metric/builders.rs +++ b/sdk/iot/src/operation/delete_fleet_metric/builders.rs @@ -20,9 +20,9 @@ impl DeleteFleetMetricFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -84,6 +84,22 @@ impl DeleteFleetMetricFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::delete_fleet_metric::DeleteFleetMetric, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::delete_fleet_metric::DeleteFleetMetricError, + >, + > { + self.customize_middleware().await + } ///

                                                                                          The name of the fleet metric to delete.

                                                                                          pub fn metric_name(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.metric_name(input.into()); diff --git a/sdk/iot/src/operation/delete_job/builders.rs b/sdk/iot/src/operation/delete_job/builders.rs index b5b1c827b139..b1bb11961a7d 100644 --- a/sdk/iot/src/operation/delete_job/builders.rs +++ b/sdk/iot/src/operation/delete_job/builders.rs @@ -22,9 +22,9 @@ impl DeleteJobFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -80,6 +80,20 @@ impl DeleteJobFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::delete_job::DeleteJob, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                                          The ID of the job to be deleted.

                                                                                          ///

                                                                                          After a job deletion is completed, you may reuse this jobId when you create a new job. However, this is not recommended, and you must ensure that your devices are not using the jobId to refer to the deleted job.

                                                                                          pub fn job_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { diff --git a/sdk/iot/src/operation/delete_job_execution/builders.rs b/sdk/iot/src/operation/delete_job_execution/builders.rs index 14eacccc225f..f55742945674 100644 --- a/sdk/iot/src/operation/delete_job_execution/builders.rs +++ b/sdk/iot/src/operation/delete_job_execution/builders.rs @@ -20,9 +20,9 @@ impl DeleteJobExecutionFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -84,6 +84,22 @@ impl DeleteJobExecutionFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::delete_job_execution::DeleteJobExecution, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::delete_job_execution::DeleteJobExecutionError, + >, + > { + self.customize_middleware().await + } ///

                                                                                          The ID of the job whose execution on a particular device will be deleted.

                                                                                          pub fn job_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.job_id(input.into()); diff --git a/sdk/iot/src/operation/delete_job_template/builders.rs b/sdk/iot/src/operation/delete_job_template/builders.rs index 8c18613d1e78..511fb2929f33 100644 --- a/sdk/iot/src/operation/delete_job_template/builders.rs +++ b/sdk/iot/src/operation/delete_job_template/builders.rs @@ -19,9 +19,9 @@ impl DeleteJobTemplateFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl DeleteJobTemplateFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::delete_job_template::DeleteJobTemplate, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::delete_job_template::DeleteJobTemplateError, + >, + > { + self.customize_middleware().await + } ///

                                                                                          The unique identifier of the job template to delete.

                                                                                          pub fn job_template_id( mut self, diff --git a/sdk/iot/src/operation/delete_mitigation_action/builders.rs b/sdk/iot/src/operation/delete_mitigation_action/builders.rs index d3f6a23a66a6..72e08b9fa462 100644 --- a/sdk/iot/src/operation/delete_mitigation_action/builders.rs +++ b/sdk/iot/src/operation/delete_mitigation_action/builders.rs @@ -20,9 +20,9 @@ impl DeleteMitigationActionFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -84,6 +84,22 @@ impl DeleteMitigationActionFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::delete_mitigation_action::DeleteMitigationAction, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::delete_mitigation_action::DeleteMitigationActionError, + >, + > { + self.customize_middleware().await + } ///

                                                                                          The name of the mitigation action that you want to delete.

                                                                                          pub fn action_name(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.action_name(input.into()); diff --git a/sdk/iot/src/operation/delete_ota_update/builders.rs b/sdk/iot/src/operation/delete_ota_update/builders.rs index cf848dc913d9..a6c7739f2eeb 100644 --- a/sdk/iot/src/operation/delete_ota_update/builders.rs +++ b/sdk/iot/src/operation/delete_ota_update/builders.rs @@ -20,9 +20,9 @@ impl DeleteOTAUpdateFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -84,6 +84,22 @@ impl DeleteOTAUpdateFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::delete_ota_update::DeleteOTAUpdate, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::delete_ota_update::DeleteOTAUpdateError, + >, + > { + self.customize_middleware().await + } ///

                                                                                          The ID of the OTA update to delete.

                                                                                          pub fn ota_update_id( mut self, diff --git a/sdk/iot/src/operation/delete_policy/builders.rs b/sdk/iot/src/operation/delete_policy/builders.rs index 9ffb6ca7be0d..d518bc05f51e 100644 --- a/sdk/iot/src/operation/delete_policy/builders.rs +++ b/sdk/iot/src/operation/delete_policy/builders.rs @@ -25,9 +25,9 @@ impl DeletePolicyFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,20 @@ impl DeletePolicyFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::delete_policy::DeletePolicy, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                                          The name of the policy to delete.

                                                                                          pub fn policy_name(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.policy_name(input.into()); diff --git a/sdk/iot/src/operation/delete_policy_version/builders.rs b/sdk/iot/src/operation/delete_policy_version/builders.rs index 2634f4d3976a..01a113d88cfb 100644 --- a/sdk/iot/src/operation/delete_policy_version/builders.rs +++ b/sdk/iot/src/operation/delete_policy_version/builders.rs @@ -20,9 +20,9 @@ impl DeletePolicyVersionFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -84,6 +84,22 @@ impl DeletePolicyVersionFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::delete_policy_version::DeletePolicyVersion, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::delete_policy_version::DeletePolicyVersionError, + >, + > { + self.customize_middleware().await + } ///

                                                                                          The name of the policy.

                                                                                          pub fn policy_name(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.policy_name(input.into()); diff --git a/sdk/iot/src/operation/delete_provisioning_template/builders.rs b/sdk/iot/src/operation/delete_provisioning_template/builders.rs index 223048f21aa8..015dbb6f750a 100644 --- a/sdk/iot/src/operation/delete_provisioning_template/builders.rs +++ b/sdk/iot/src/operation/delete_provisioning_template/builders.rs @@ -20,9 +20,9 @@ impl DeleteProvisioningTemplateFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -84,6 +84,22 @@ impl DeleteProvisioningTemplateFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::delete_provisioning_template::DeleteProvisioningTemplate, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::delete_provisioning_template::DeleteProvisioningTemplateError, + >, + > { + self.customize_middleware().await + } ///

                                                                                          The name of the fleet provision template to delete.

                                                                                          pub fn template_name( mut self, diff --git a/sdk/iot/src/operation/delete_provisioning_template_version/builders.rs b/sdk/iot/src/operation/delete_provisioning_template_version/builders.rs index 558b613ed4fa..bc6b42bab97e 100644 --- a/sdk/iot/src/operation/delete_provisioning_template_version/builders.rs +++ b/sdk/iot/src/operation/delete_provisioning_template_version/builders.rs @@ -20,9 +20,9 @@ impl DeleteProvisioningTemplateVersionFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize(self) -> ::std::result::Result< + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware(self) -> ::std::result::Result< crate::client::customize::CustomizableOperation, ::aws_smithy_http::result::SdkError >{ @@ -65,6 +65,15 @@ impl DeleteProvisioningTemplateVersionFluentBuilder { { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize(self) -> ::std::result::Result< + crate::client::customize::CustomizableOperation, + ::aws_smithy_http::result::SdkError + >{ + self.customize_middleware().await + } ///

                                                                                          The name of the provisioning template version to delete.

                                                                                          pub fn template_name( mut self, diff --git a/sdk/iot/src/operation/delete_registration_code/builders.rs b/sdk/iot/src/operation/delete_registration_code/builders.rs index dc9d3a88c7cd..2a49da6ee6c0 100644 --- a/sdk/iot/src/operation/delete_registration_code/builders.rs +++ b/sdk/iot/src/operation/delete_registration_code/builders.rs @@ -20,9 +20,9 @@ impl DeleteRegistrationCodeFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -84,4 +84,20 @@ impl DeleteRegistrationCodeFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::delete_registration_code::DeleteRegistrationCode, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::delete_registration_code::DeleteRegistrationCodeError, + >, + > { + self.customize_middleware().await + } } diff --git a/sdk/iot/src/operation/delete_role_alias/builders.rs b/sdk/iot/src/operation/delete_role_alias/builders.rs index 8f47759d0b30..dc1e95a576cb 100644 --- a/sdk/iot/src/operation/delete_role_alias/builders.rs +++ b/sdk/iot/src/operation/delete_role_alias/builders.rs @@ -20,9 +20,9 @@ impl DeleteRoleAliasFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -84,6 +84,22 @@ impl DeleteRoleAliasFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::delete_role_alias::DeleteRoleAlias, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::delete_role_alias::DeleteRoleAliasError, + >, + > { + self.customize_middleware().await + } ///

                                                                                          The role alias to delete.

                                                                                          pub fn role_alias(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.role_alias(input.into()); diff --git a/sdk/iot/src/operation/delete_scheduled_audit/builders.rs b/sdk/iot/src/operation/delete_scheduled_audit/builders.rs index 5f16038f252f..8be2b5f3f014 100644 --- a/sdk/iot/src/operation/delete_scheduled_audit/builders.rs +++ b/sdk/iot/src/operation/delete_scheduled_audit/builders.rs @@ -20,9 +20,9 @@ impl DeleteScheduledAuditFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -84,6 +84,22 @@ impl DeleteScheduledAuditFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::delete_scheduled_audit::DeleteScheduledAudit, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::delete_scheduled_audit::DeleteScheduledAuditError, + >, + > { + self.customize_middleware().await + } ///

                                                                                          The name of the scheduled audit you want to delete.

                                                                                          pub fn scheduled_audit_name( mut self, diff --git a/sdk/iot/src/operation/delete_security_profile/builders.rs b/sdk/iot/src/operation/delete_security_profile/builders.rs index 805448ec73b7..89ec30201a10 100644 --- a/sdk/iot/src/operation/delete_security_profile/builders.rs +++ b/sdk/iot/src/operation/delete_security_profile/builders.rs @@ -20,9 +20,9 @@ impl DeleteSecurityProfileFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -84,6 +84,22 @@ impl DeleteSecurityProfileFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::delete_security_profile::DeleteSecurityProfile, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::delete_security_profile::DeleteSecurityProfileError, + >, + > { + self.customize_middleware().await + } ///

                                                                                          The name of the security profile to be deleted.

                                                                                          pub fn security_profile_name( mut self, diff --git a/sdk/iot/src/operation/delete_stream/builders.rs b/sdk/iot/src/operation/delete_stream/builders.rs index 7df88d29e06e..c0d9abf27c79 100644 --- a/sdk/iot/src/operation/delete_stream/builders.rs +++ b/sdk/iot/src/operation/delete_stream/builders.rs @@ -20,9 +20,9 @@ impl DeleteStreamFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -78,6 +78,20 @@ impl DeleteStreamFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::delete_stream::DeleteStream, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                                          The stream ID.

                                                                                          pub fn stream_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.stream_id(input.into()); diff --git a/sdk/iot/src/operation/delete_thing/builders.rs b/sdk/iot/src/operation/delete_thing/builders.rs index f16b2320f681..9667ae258b32 100644 --- a/sdk/iot/src/operation/delete_thing/builders.rs +++ b/sdk/iot/src/operation/delete_thing/builders.rs @@ -20,9 +20,9 @@ impl DeleteThingFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -78,6 +78,20 @@ impl DeleteThingFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::delete_thing::DeleteThing, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                                          The name of the thing to delete.

                                                                                          pub fn thing_name(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.thing_name(input.into()); diff --git a/sdk/iot/src/operation/delete_thing_group/builders.rs b/sdk/iot/src/operation/delete_thing_group/builders.rs index 0d246eafe47a..ede1f0f15f99 100644 --- a/sdk/iot/src/operation/delete_thing_group/builders.rs +++ b/sdk/iot/src/operation/delete_thing_group/builders.rs @@ -20,9 +20,9 @@ impl DeleteThingGroupFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -84,6 +84,22 @@ impl DeleteThingGroupFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::delete_thing_group::DeleteThingGroup, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::delete_thing_group::DeleteThingGroupError, + >, + > { + self.customize_middleware().await + } ///

                                                                                          The name of the thing group to delete.

                                                                                          pub fn thing_group_name( mut self, diff --git a/sdk/iot/src/operation/delete_thing_type/builders.rs b/sdk/iot/src/operation/delete_thing_type/builders.rs index 728215dedd57..df049f3c7e58 100644 --- a/sdk/iot/src/operation/delete_thing_type/builders.rs +++ b/sdk/iot/src/operation/delete_thing_type/builders.rs @@ -20,9 +20,9 @@ impl DeleteThingTypeFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -84,6 +84,22 @@ impl DeleteThingTypeFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::delete_thing_type::DeleteThingType, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::delete_thing_type::DeleteThingTypeError, + >, + > { + self.customize_middleware().await + } ///

                                                                                          The name of the thing type.

                                                                                          pub fn thing_type_name( mut self, diff --git a/sdk/iot/src/operation/delete_topic_rule/builders.rs b/sdk/iot/src/operation/delete_topic_rule/builders.rs index cb4a7c66f377..d18faae3091c 100644 --- a/sdk/iot/src/operation/delete_topic_rule/builders.rs +++ b/sdk/iot/src/operation/delete_topic_rule/builders.rs @@ -20,9 +20,9 @@ impl DeleteTopicRuleFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -84,6 +84,22 @@ impl DeleteTopicRuleFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::delete_topic_rule::DeleteTopicRule, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::delete_topic_rule::DeleteTopicRuleError, + >, + > { + self.customize_middleware().await + } ///

                                                                                          The name of the rule.

                                                                                          pub fn rule_name(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.rule_name(input.into()); diff --git a/sdk/iot/src/operation/delete_topic_rule_destination/builders.rs b/sdk/iot/src/operation/delete_topic_rule_destination/builders.rs index 4dc200aaa90d..74fe0e8697e0 100644 --- a/sdk/iot/src/operation/delete_topic_rule_destination/builders.rs +++ b/sdk/iot/src/operation/delete_topic_rule_destination/builders.rs @@ -20,9 +20,9 @@ impl DeleteTopicRuleDestinationFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -84,6 +84,22 @@ impl DeleteTopicRuleDestinationFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::delete_topic_rule_destination::DeleteTopicRuleDestination, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::delete_topic_rule_destination::DeleteTopicRuleDestinationError, + >, + > { + self.customize_middleware().await + } ///

                                                                                          The ARN of the topic rule destination to delete.

                                                                                          pub fn arn(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.arn(input.into()); diff --git a/sdk/iot/src/operation/delete_v2_logging_level/builders.rs b/sdk/iot/src/operation/delete_v2_logging_level/builders.rs index 9808ece4c6c6..ebb23d7b6f68 100644 --- a/sdk/iot/src/operation/delete_v2_logging_level/builders.rs +++ b/sdk/iot/src/operation/delete_v2_logging_level/builders.rs @@ -20,9 +20,9 @@ impl DeleteV2LoggingLevelFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -84,6 +84,22 @@ impl DeleteV2LoggingLevelFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::delete_v2_logging_level::DeleteV2LoggingLevel, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::delete_v2_logging_level::DeleteV2LoggingLevelError, + >, + > { + self.customize_middleware().await + } ///

                                                                                          The type of resource for which you are configuring logging. Must be THING_Group.

                                                                                          pub fn target_type(mut self, input: crate::types::LogTargetType) -> Self { self.inner = self.inner.target_type(input); diff --git a/sdk/iot/src/operation/deprecate_thing_type/builders.rs b/sdk/iot/src/operation/deprecate_thing_type/builders.rs index 0d451482ccf1..16e8a78fbc6f 100644 --- a/sdk/iot/src/operation/deprecate_thing_type/builders.rs +++ b/sdk/iot/src/operation/deprecate_thing_type/builders.rs @@ -20,9 +20,9 @@ impl DeprecateThingTypeFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -84,6 +84,22 @@ impl DeprecateThingTypeFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::deprecate_thing_type::DeprecateThingType, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::deprecate_thing_type::DeprecateThingTypeError, + >, + > { + self.customize_middleware().await + } ///

                                                                                          The name of the thing type to deprecate.

                                                                                          pub fn thing_type_name( mut self, diff --git a/sdk/iot/src/operation/describe_account_audit_configuration/builders.rs b/sdk/iot/src/operation/describe_account_audit_configuration/builders.rs index bb0e8fca18ac..9e94de9b7aed 100644 --- a/sdk/iot/src/operation/describe_account_audit_configuration/builders.rs +++ b/sdk/iot/src/operation/describe_account_audit_configuration/builders.rs @@ -20,9 +20,9 @@ impl DescribeAccountAuditConfigurationFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize(self) -> ::std::result::Result< + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware(self) -> ::std::result::Result< crate::client::customize::CustomizableOperation, ::aws_smithy_http::result::SdkError >{ @@ -65,4 +65,13 @@ impl DescribeAccountAuditConfigurationFluentBuilder { { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize(self) -> ::std::result::Result< + crate::client::customize::CustomizableOperation, + ::aws_smithy_http::result::SdkError + >{ + self.customize_middleware().await + } } diff --git a/sdk/iot/src/operation/describe_audit_finding/builders.rs b/sdk/iot/src/operation/describe_audit_finding/builders.rs index fc5cbc7b171a..3d2f87c289fe 100644 --- a/sdk/iot/src/operation/describe_audit_finding/builders.rs +++ b/sdk/iot/src/operation/describe_audit_finding/builders.rs @@ -20,9 +20,9 @@ impl DescribeAuditFindingFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -84,6 +84,22 @@ impl DescribeAuditFindingFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::describe_audit_finding::DescribeAuditFinding, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::describe_audit_finding::DescribeAuditFindingError, + >, + > { + self.customize_middleware().await + } ///

                                                                                          A unique identifier for a single audit finding. You can use this identifier to apply mitigation actions to the finding.

                                                                                          pub fn finding_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.finding_id(input.into()); diff --git a/sdk/iot/src/operation/describe_audit_mitigation_actions_task/builders.rs b/sdk/iot/src/operation/describe_audit_mitigation_actions_task/builders.rs index f8e5d132b115..f3546aed78ec 100644 --- a/sdk/iot/src/operation/describe_audit_mitigation_actions_task/builders.rs +++ b/sdk/iot/src/operation/describe_audit_mitigation_actions_task/builders.rs @@ -19,9 +19,9 @@ impl DescribeAuditMitigationActionsTaskFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize(self) -> ::std::result::Result< + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware(self) -> ::std::result::Result< crate::client::customize::CustomizableOperation, ::aws_smithy_http::result::SdkError >{ @@ -64,6 +64,15 @@ impl DescribeAuditMitigationActionsTaskFluentBuilder { { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize(self) -> ::std::result::Result< + crate::client::customize::CustomizableOperation, + ::aws_smithy_http::result::SdkError + >{ + self.customize_middleware().await + } ///

                                                                                          The unique identifier for the audit mitigation task.

                                                                                          pub fn task_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.task_id(input.into()); diff --git a/sdk/iot/src/operation/describe_audit_suppression/builders.rs b/sdk/iot/src/operation/describe_audit_suppression/builders.rs index 8ee52b8e6a1a..32cacd4bcf67 100644 --- a/sdk/iot/src/operation/describe_audit_suppression/builders.rs +++ b/sdk/iot/src/operation/describe_audit_suppression/builders.rs @@ -19,9 +19,9 @@ impl DescribeAuditSuppressionFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl DescribeAuditSuppressionFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::describe_audit_suppression::DescribeAuditSuppression, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::describe_audit_suppression::DescribeAuditSuppressionError, + >, + > { + self.customize_middleware().await + } ///

                                                                                          An audit check name. Checks must be enabled for your account. (Use DescribeAccountAuditConfiguration to see the list of all checks, including those that are enabled or use UpdateAccountAuditConfiguration to select which checks are enabled.)

                                                                                          pub fn check_name(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.check_name(input.into()); diff --git a/sdk/iot/src/operation/describe_audit_task/builders.rs b/sdk/iot/src/operation/describe_audit_task/builders.rs index b4fc93274d9f..c21ee1eb3b01 100644 --- a/sdk/iot/src/operation/describe_audit_task/builders.rs +++ b/sdk/iot/src/operation/describe_audit_task/builders.rs @@ -20,9 +20,9 @@ impl DescribeAuditTaskFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -84,6 +84,22 @@ impl DescribeAuditTaskFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::describe_audit_task::DescribeAuditTask, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::describe_audit_task::DescribeAuditTaskError, + >, + > { + self.customize_middleware().await + } ///

                                                                                          The ID of the audit whose information you want to get.

                                                                                          pub fn task_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.task_id(input.into()); diff --git a/sdk/iot/src/operation/describe_authorizer/builders.rs b/sdk/iot/src/operation/describe_authorizer/builders.rs index d7ad46f0d821..e512224a74d6 100644 --- a/sdk/iot/src/operation/describe_authorizer/builders.rs +++ b/sdk/iot/src/operation/describe_authorizer/builders.rs @@ -20,9 +20,9 @@ impl DescribeAuthorizerFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -84,6 +84,22 @@ impl DescribeAuthorizerFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::describe_authorizer::DescribeAuthorizer, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::describe_authorizer::DescribeAuthorizerError, + >, + > { + self.customize_middleware().await + } ///

                                                                                          The name of the authorizer to describe.

                                                                                          pub fn authorizer_name( mut self, diff --git a/sdk/iot/src/operation/describe_billing_group/builders.rs b/sdk/iot/src/operation/describe_billing_group/builders.rs index 3df54c12e308..353dab25e64a 100644 --- a/sdk/iot/src/operation/describe_billing_group/builders.rs +++ b/sdk/iot/src/operation/describe_billing_group/builders.rs @@ -20,9 +20,9 @@ impl DescribeBillingGroupFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -84,6 +84,22 @@ impl DescribeBillingGroupFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::describe_billing_group::DescribeBillingGroup, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::describe_billing_group::DescribeBillingGroupError, + >, + > { + self.customize_middleware().await + } ///

                                                                                          The name of the billing group.

                                                                                          pub fn billing_group_name( mut self, diff --git a/sdk/iot/src/operation/describe_ca_certificate/builders.rs b/sdk/iot/src/operation/describe_ca_certificate/builders.rs index 044156ea26c3..a97b266696d3 100644 --- a/sdk/iot/src/operation/describe_ca_certificate/builders.rs +++ b/sdk/iot/src/operation/describe_ca_certificate/builders.rs @@ -20,9 +20,9 @@ impl DescribeCACertificateFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -84,6 +84,22 @@ impl DescribeCACertificateFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::describe_ca_certificate::DescribeCACertificate, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::describe_ca_certificate::DescribeCACertificateError, + >, + > { + self.customize_middleware().await + } ///

                                                                                          The CA certificate identifier.

                                                                                          pub fn certificate_id( mut self, diff --git a/sdk/iot/src/operation/describe_certificate/builders.rs b/sdk/iot/src/operation/describe_certificate/builders.rs index cd211b21783b..09cbda9bd15c 100644 --- a/sdk/iot/src/operation/describe_certificate/builders.rs +++ b/sdk/iot/src/operation/describe_certificate/builders.rs @@ -20,9 +20,9 @@ impl DescribeCertificateFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -84,6 +84,22 @@ impl DescribeCertificateFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::describe_certificate::DescribeCertificate, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::describe_certificate::DescribeCertificateError, + >, + > { + self.customize_middleware().await + } ///

                                                                                          The ID of the certificate. (The last part of the certificate ARN contains the certificate ID.)

                                                                                          pub fn certificate_id( mut self, diff --git a/sdk/iot/src/operation/describe_custom_metric/builders.rs b/sdk/iot/src/operation/describe_custom_metric/builders.rs index 24d06f11d1e1..fc440d75f3ab 100644 --- a/sdk/iot/src/operation/describe_custom_metric/builders.rs +++ b/sdk/iot/src/operation/describe_custom_metric/builders.rs @@ -20,9 +20,9 @@ impl DescribeCustomMetricFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -84,6 +84,22 @@ impl DescribeCustomMetricFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::describe_custom_metric::DescribeCustomMetric, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::describe_custom_metric::DescribeCustomMetricError, + >, + > { + self.customize_middleware().await + } ///

                                                                                          The name of the custom metric.

                                                                                          pub fn metric_name(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.metric_name(input.into()); diff --git a/sdk/iot/src/operation/describe_default_authorizer/builders.rs b/sdk/iot/src/operation/describe_default_authorizer/builders.rs index 8a1daef086d0..3058983a71ac 100644 --- a/sdk/iot/src/operation/describe_default_authorizer/builders.rs +++ b/sdk/iot/src/operation/describe_default_authorizer/builders.rs @@ -20,9 +20,9 @@ impl DescribeDefaultAuthorizerFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -84,4 +84,20 @@ impl DescribeDefaultAuthorizerFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::describe_default_authorizer::DescribeDefaultAuthorizer, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::describe_default_authorizer::DescribeDefaultAuthorizerError, + >, + > { + self.customize_middleware().await + } } diff --git a/sdk/iot/src/operation/describe_detect_mitigation_actions_task/builders.rs b/sdk/iot/src/operation/describe_detect_mitigation_actions_task/builders.rs index 98dfcf1d11b7..f998919dc9df 100644 --- a/sdk/iot/src/operation/describe_detect_mitigation_actions_task/builders.rs +++ b/sdk/iot/src/operation/describe_detect_mitigation_actions_task/builders.rs @@ -20,9 +20,9 @@ impl DescribeDetectMitigationActionsTaskFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize(self) -> ::std::result::Result< + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware(self) -> ::std::result::Result< crate::client::customize::CustomizableOperation, ::aws_smithy_http::result::SdkError >{ @@ -65,6 +65,15 @@ impl DescribeDetectMitigationActionsTaskFluentBuilder { { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize(self) -> ::std::result::Result< + crate::client::customize::CustomizableOperation, + ::aws_smithy_http::result::SdkError + >{ + self.customize_middleware().await + } ///

                                                                                          The unique identifier of the task.

                                                                                          pub fn task_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.task_id(input.into()); diff --git a/sdk/iot/src/operation/describe_dimension/builders.rs b/sdk/iot/src/operation/describe_dimension/builders.rs index 8f5889bc9470..560a26914bd5 100644 --- a/sdk/iot/src/operation/describe_dimension/builders.rs +++ b/sdk/iot/src/operation/describe_dimension/builders.rs @@ -20,9 +20,9 @@ impl DescribeDimensionFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -84,6 +84,22 @@ impl DescribeDimensionFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::describe_dimension::DescribeDimension, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::describe_dimension::DescribeDimensionError, + >, + > { + self.customize_middleware().await + } ///

                                                                                          The unique identifier for the dimension.

                                                                                          pub fn name(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.name(input.into()); diff --git a/sdk/iot/src/operation/describe_domain_configuration/builders.rs b/sdk/iot/src/operation/describe_domain_configuration/builders.rs index 24e7b8f2a056..db0513914956 100644 --- a/sdk/iot/src/operation/describe_domain_configuration/builders.rs +++ b/sdk/iot/src/operation/describe_domain_configuration/builders.rs @@ -20,9 +20,9 @@ impl DescribeDomainConfigurationFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -84,6 +84,22 @@ impl DescribeDomainConfigurationFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::describe_domain_configuration::DescribeDomainConfiguration, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::describe_domain_configuration::DescribeDomainConfigurationError, + >, + > { + self.customize_middleware().await + } ///

                                                                                          The name of the domain configuration.

                                                                                          pub fn domain_configuration_name( mut self, diff --git a/sdk/iot/src/operation/describe_endpoint/builders.rs b/sdk/iot/src/operation/describe_endpoint/builders.rs index e89c1b96c882..bde80b72d638 100644 --- a/sdk/iot/src/operation/describe_endpoint/builders.rs +++ b/sdk/iot/src/operation/describe_endpoint/builders.rs @@ -20,9 +20,9 @@ impl DescribeEndpointFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -84,6 +84,22 @@ impl DescribeEndpointFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::describe_endpoint::DescribeEndpoint, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::describe_endpoint::DescribeEndpointError, + >, + > { + self.customize_middleware().await + } ///

                                                                                          The endpoint type. Valid endpoint types include:

                                                                                          ///
                                                                                            ///
                                                                                          • iot:Data - Returns a VeriSign signed data endpoint.

                                                                                          • diff --git a/sdk/iot/src/operation/describe_event_configurations/builders.rs b/sdk/iot/src/operation/describe_event_configurations/builders.rs index 79797ad90b13..c35353acb086 100644 --- a/sdk/iot/src/operation/describe_event_configurations/builders.rs +++ b/sdk/iot/src/operation/describe_event_configurations/builders.rs @@ -20,9 +20,9 @@ impl DescribeEventConfigurationsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -84,4 +84,20 @@ impl DescribeEventConfigurationsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::describe_event_configurations::DescribeEventConfigurations, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::describe_event_configurations::DescribeEventConfigurationsError, + >, + > { + self.customize_middleware().await + } } diff --git a/sdk/iot/src/operation/describe_fleet_metric/builders.rs b/sdk/iot/src/operation/describe_fleet_metric/builders.rs index c22b90e0550e..001c9951258c 100644 --- a/sdk/iot/src/operation/describe_fleet_metric/builders.rs +++ b/sdk/iot/src/operation/describe_fleet_metric/builders.rs @@ -20,9 +20,9 @@ impl DescribeFleetMetricFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -84,6 +84,22 @@ impl DescribeFleetMetricFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::describe_fleet_metric::DescribeFleetMetric, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::describe_fleet_metric::DescribeFleetMetricError, + >, + > { + self.customize_middleware().await + } ///

                                                                                            The name of the fleet metric to describe.

                                                                                            pub fn metric_name(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.metric_name(input.into()); diff --git a/sdk/iot/src/operation/describe_index/builders.rs b/sdk/iot/src/operation/describe_index/builders.rs index 173a94d8df07..f1ff97167abe 100644 --- a/sdk/iot/src/operation/describe_index/builders.rs +++ b/sdk/iot/src/operation/describe_index/builders.rs @@ -20,9 +20,9 @@ impl DescribeIndexFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -78,6 +78,20 @@ impl DescribeIndexFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::describe_index::DescribeIndex, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                                            The index name.

                                                                                            pub fn index_name(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.index_name(input.into()); diff --git a/sdk/iot/src/operation/describe_job/builders.rs b/sdk/iot/src/operation/describe_job/builders.rs index e855cfc621fa..0ba18635525c 100644 --- a/sdk/iot/src/operation/describe_job/builders.rs +++ b/sdk/iot/src/operation/describe_job/builders.rs @@ -20,9 +20,9 @@ impl DescribeJobFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -78,6 +78,20 @@ impl DescribeJobFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::describe_job::DescribeJob, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                                            The unique identifier you assigned to this job when it was created.

                                                                                            pub fn job_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.job_id(input.into()); diff --git a/sdk/iot/src/operation/describe_job_execution/builders.rs b/sdk/iot/src/operation/describe_job_execution/builders.rs index 7a06ddf6e14e..f5b77a02810b 100644 --- a/sdk/iot/src/operation/describe_job_execution/builders.rs +++ b/sdk/iot/src/operation/describe_job_execution/builders.rs @@ -20,9 +20,9 @@ impl DescribeJobExecutionFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -84,6 +84,22 @@ impl DescribeJobExecutionFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::describe_job_execution::DescribeJobExecution, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::describe_job_execution::DescribeJobExecutionError, + >, + > { + self.customize_middleware().await + } ///

                                                                                            The unique identifier you assigned to this job when it was created.

                                                                                            pub fn job_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.job_id(input.into()); diff --git a/sdk/iot/src/operation/describe_job_template/builders.rs b/sdk/iot/src/operation/describe_job_template/builders.rs index 5764c09277ec..e6e7584899dd 100644 --- a/sdk/iot/src/operation/describe_job_template/builders.rs +++ b/sdk/iot/src/operation/describe_job_template/builders.rs @@ -19,9 +19,9 @@ impl DescribeJobTemplateFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl DescribeJobTemplateFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::describe_job_template::DescribeJobTemplate, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::describe_job_template::DescribeJobTemplateError, + >, + > { + self.customize_middleware().await + } ///

                                                                                            The unique identifier of the job template.

                                                                                            pub fn job_template_id( mut self, diff --git a/sdk/iot/src/operation/describe_managed_job_template/builders.rs b/sdk/iot/src/operation/describe_managed_job_template/builders.rs index 9ff89ed23b88..8c169b2ed64f 100644 --- a/sdk/iot/src/operation/describe_managed_job_template/builders.rs +++ b/sdk/iot/src/operation/describe_managed_job_template/builders.rs @@ -19,9 +19,9 @@ impl DescribeManagedJobTemplateFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl DescribeManagedJobTemplateFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::describe_managed_job_template::DescribeManagedJobTemplate, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::describe_managed_job_template::DescribeManagedJobTemplateError, + >, + > { + self.customize_middleware().await + } ///

                                                                                            The unique name of a managed job template, which is required.

                                                                                            pub fn template_name( mut self, diff --git a/sdk/iot/src/operation/describe_mitigation_action/builders.rs b/sdk/iot/src/operation/describe_mitigation_action/builders.rs index 88a46cd13436..1da899dc48e8 100644 --- a/sdk/iot/src/operation/describe_mitigation_action/builders.rs +++ b/sdk/iot/src/operation/describe_mitigation_action/builders.rs @@ -20,9 +20,9 @@ impl DescribeMitigationActionFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -84,6 +84,22 @@ impl DescribeMitigationActionFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::describe_mitigation_action::DescribeMitigationAction, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::describe_mitigation_action::DescribeMitigationActionError, + >, + > { + self.customize_middleware().await + } ///

                                                                                            The friendly name that uniquely identifies the mitigation action.

                                                                                            pub fn action_name(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.action_name(input.into()); diff --git a/sdk/iot/src/operation/describe_provisioning_template/builders.rs b/sdk/iot/src/operation/describe_provisioning_template/builders.rs index 2bb177238a8a..5ace722f2795 100644 --- a/sdk/iot/src/operation/describe_provisioning_template/builders.rs +++ b/sdk/iot/src/operation/describe_provisioning_template/builders.rs @@ -20,9 +20,9 @@ impl DescribeProvisioningTemplateFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -84,6 +84,22 @@ impl DescribeProvisioningTemplateFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::describe_provisioning_template::DescribeProvisioningTemplate, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::describe_provisioning_template::DescribeProvisioningTemplateError, + >, + > { + self.customize_middleware().await + } ///

                                                                                            The name of the provisioning template.

                                                                                            pub fn template_name( mut self, diff --git a/sdk/iot/src/operation/describe_provisioning_template_version/builders.rs b/sdk/iot/src/operation/describe_provisioning_template_version/builders.rs index c023aa77e894..010b7581c978 100644 --- a/sdk/iot/src/operation/describe_provisioning_template_version/builders.rs +++ b/sdk/iot/src/operation/describe_provisioning_template_version/builders.rs @@ -20,9 +20,9 @@ impl DescribeProvisioningTemplateVersionFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize(self) -> ::std::result::Result< + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware(self) -> ::std::result::Result< crate::client::customize::CustomizableOperation, ::aws_smithy_http::result::SdkError >{ @@ -65,6 +65,15 @@ impl DescribeProvisioningTemplateVersionFluentBuilder { { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize(self) -> ::std::result::Result< + crate::client::customize::CustomizableOperation, + ::aws_smithy_http::result::SdkError + >{ + self.customize_middleware().await + } ///

                                                                                            The template name.

                                                                                            pub fn template_name( mut self, diff --git a/sdk/iot/src/operation/describe_role_alias/builders.rs b/sdk/iot/src/operation/describe_role_alias/builders.rs index 1c94c37e2663..03ea8449b3d6 100644 --- a/sdk/iot/src/operation/describe_role_alias/builders.rs +++ b/sdk/iot/src/operation/describe_role_alias/builders.rs @@ -20,9 +20,9 @@ impl DescribeRoleAliasFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -84,6 +84,22 @@ impl DescribeRoleAliasFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::describe_role_alias::DescribeRoleAlias, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::describe_role_alias::DescribeRoleAliasError, + >, + > { + self.customize_middleware().await + } ///

                                                                                            The role alias to describe.

                                                                                            pub fn role_alias(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.role_alias(input.into()); diff --git a/sdk/iot/src/operation/describe_scheduled_audit/builders.rs b/sdk/iot/src/operation/describe_scheduled_audit/builders.rs index 315f4500c706..8478012e166c 100644 --- a/sdk/iot/src/operation/describe_scheduled_audit/builders.rs +++ b/sdk/iot/src/operation/describe_scheduled_audit/builders.rs @@ -20,9 +20,9 @@ impl DescribeScheduledAuditFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -84,6 +84,22 @@ impl DescribeScheduledAuditFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::describe_scheduled_audit::DescribeScheduledAudit, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::describe_scheduled_audit::DescribeScheduledAuditError, + >, + > { + self.customize_middleware().await + } ///

                                                                                            The name of the scheduled audit whose information you want to get.

                                                                                            pub fn scheduled_audit_name( mut self, diff --git a/sdk/iot/src/operation/describe_security_profile/builders.rs b/sdk/iot/src/operation/describe_security_profile/builders.rs index 5bf5e1737870..32506eb8b1a2 100644 --- a/sdk/iot/src/operation/describe_security_profile/builders.rs +++ b/sdk/iot/src/operation/describe_security_profile/builders.rs @@ -21,9 +21,9 @@ impl DescribeSecurityProfileFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -85,6 +85,22 @@ impl DescribeSecurityProfileFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::describe_security_profile::DescribeSecurityProfile, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::describe_security_profile::DescribeSecurityProfileError, + >, + > { + self.customize_middleware().await + } ///

                                                                                            The name of the security profile whose information you want to get.

                                                                                            pub fn security_profile_name( mut self, diff --git a/sdk/iot/src/operation/describe_stream/builders.rs b/sdk/iot/src/operation/describe_stream/builders.rs index a7992a94cc1b..881502a9b530 100644 --- a/sdk/iot/src/operation/describe_stream/builders.rs +++ b/sdk/iot/src/operation/describe_stream/builders.rs @@ -20,9 +20,9 @@ impl DescribeStreamFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -78,6 +78,20 @@ impl DescribeStreamFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::describe_stream::DescribeStream, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                                            The stream ID.

                                                                                            pub fn stream_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.stream_id(input.into()); diff --git a/sdk/iot/src/operation/describe_thing/builders.rs b/sdk/iot/src/operation/describe_thing/builders.rs index 1f8f8409364b..8a53f1182ccb 100644 --- a/sdk/iot/src/operation/describe_thing/builders.rs +++ b/sdk/iot/src/operation/describe_thing/builders.rs @@ -20,9 +20,9 @@ impl DescribeThingFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -78,6 +78,20 @@ impl DescribeThingFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::describe_thing::DescribeThing, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                                            The name of the thing.

                                                                                            pub fn thing_name(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.thing_name(input.into()); diff --git a/sdk/iot/src/operation/describe_thing_group/builders.rs b/sdk/iot/src/operation/describe_thing_group/builders.rs index c08fda2ae43d..4eb98ec559f0 100644 --- a/sdk/iot/src/operation/describe_thing_group/builders.rs +++ b/sdk/iot/src/operation/describe_thing_group/builders.rs @@ -20,9 +20,9 @@ impl DescribeThingGroupFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -84,6 +84,22 @@ impl DescribeThingGroupFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::describe_thing_group::DescribeThingGroup, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::describe_thing_group::DescribeThingGroupError, + >, + > { + self.customize_middleware().await + } ///

                                                                                            The name of the thing group.

                                                                                            pub fn thing_group_name( mut self, diff --git a/sdk/iot/src/operation/describe_thing_registration_task/builders.rs b/sdk/iot/src/operation/describe_thing_registration_task/builders.rs index 6783fb1274df..3a558ce07cda 100644 --- a/sdk/iot/src/operation/describe_thing_registration_task/builders.rs +++ b/sdk/iot/src/operation/describe_thing_registration_task/builders.rs @@ -20,9 +20,9 @@ impl DescribeThingRegistrationTaskFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -84,6 +84,22 @@ impl DescribeThingRegistrationTaskFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::describe_thing_registration_task::DescribeThingRegistrationTask, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::describe_thing_registration_task::DescribeThingRegistrationTaskError, + >, + > { + self.customize_middleware().await + } ///

                                                                                            The task ID.

                                                                                            pub fn task_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.task_id(input.into()); diff --git a/sdk/iot/src/operation/describe_thing_type/builders.rs b/sdk/iot/src/operation/describe_thing_type/builders.rs index 0e462276b418..e9458ebc53b2 100644 --- a/sdk/iot/src/operation/describe_thing_type/builders.rs +++ b/sdk/iot/src/operation/describe_thing_type/builders.rs @@ -20,9 +20,9 @@ impl DescribeThingTypeFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -84,6 +84,22 @@ impl DescribeThingTypeFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::describe_thing_type::DescribeThingType, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::describe_thing_type::DescribeThingTypeError, + >, + > { + self.customize_middleware().await + } ///

                                                                                            The name of the thing type.

                                                                                            pub fn thing_type_name( mut self, diff --git a/sdk/iot/src/operation/detach_policy/builders.rs b/sdk/iot/src/operation/detach_policy/builders.rs index 230c7b615632..28f13dfcbb0c 100644 --- a/sdk/iot/src/operation/detach_policy/builders.rs +++ b/sdk/iot/src/operation/detach_policy/builders.rs @@ -22,9 +22,9 @@ impl DetachPolicyFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -80,6 +80,20 @@ impl DetachPolicyFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::detach_policy::DetachPolicy, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                                            The policy to detach.

                                                                                            pub fn policy_name(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.policy_name(input.into()); diff --git a/sdk/iot/src/operation/detach_principal_policy/builders.rs b/sdk/iot/src/operation/detach_principal_policy/builders.rs index c89730a881e0..c2b8ce3c7e3c 100644 --- a/sdk/iot/src/operation/detach_principal_policy/builders.rs +++ b/sdk/iot/src/operation/detach_principal_policy/builders.rs @@ -22,9 +22,9 @@ impl DetachPrincipalPolicyFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -86,6 +86,22 @@ impl DetachPrincipalPolicyFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::detach_principal_policy::DetachPrincipalPolicy, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::detach_principal_policy::DetachPrincipalPolicyError, + >, + > { + self.customize_middleware().await + } ///

                                                                                            The name of the policy to detach.

                                                                                            pub fn policy_name(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.policy_name(input.into()); diff --git a/sdk/iot/src/operation/detach_security_profile/builders.rs b/sdk/iot/src/operation/detach_security_profile/builders.rs index 9e2e74be8452..e5c1024b950e 100644 --- a/sdk/iot/src/operation/detach_security_profile/builders.rs +++ b/sdk/iot/src/operation/detach_security_profile/builders.rs @@ -20,9 +20,9 @@ impl DetachSecurityProfileFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -84,6 +84,22 @@ impl DetachSecurityProfileFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::detach_security_profile::DetachSecurityProfile, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::detach_security_profile::DetachSecurityProfileError, + >, + > { + self.customize_middleware().await + } ///

                                                                                            The security profile that is detached.

                                                                                            pub fn security_profile_name( mut self, diff --git a/sdk/iot/src/operation/detach_thing_principal/builders.rs b/sdk/iot/src/operation/detach_thing_principal/builders.rs index 9aed14bd5e66..532b4b5c65a7 100644 --- a/sdk/iot/src/operation/detach_thing_principal/builders.rs +++ b/sdk/iot/src/operation/detach_thing_principal/builders.rs @@ -22,9 +22,9 @@ impl DetachThingPrincipalFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -86,6 +86,22 @@ impl DetachThingPrincipalFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::detach_thing_principal::DetachThingPrincipal, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::detach_thing_principal::DetachThingPrincipalError, + >, + > { + self.customize_middleware().await + } ///

                                                                                            The name of the thing.

                                                                                            pub fn thing_name(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.thing_name(input.into()); diff --git a/sdk/iot/src/operation/disable_topic_rule/builders.rs b/sdk/iot/src/operation/disable_topic_rule/builders.rs index dc961104bfb4..de7eadb0e0bd 100644 --- a/sdk/iot/src/operation/disable_topic_rule/builders.rs +++ b/sdk/iot/src/operation/disable_topic_rule/builders.rs @@ -20,9 +20,9 @@ impl DisableTopicRuleFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -84,6 +84,22 @@ impl DisableTopicRuleFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::disable_topic_rule::DisableTopicRule, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::disable_topic_rule::DisableTopicRuleError, + >, + > { + self.customize_middleware().await + } ///

                                                                                            The name of the rule to disable.

                                                                                            pub fn rule_name(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.rule_name(input.into()); diff --git a/sdk/iot/src/operation/enable_topic_rule/builders.rs b/sdk/iot/src/operation/enable_topic_rule/builders.rs index 94424ac7a472..1f260e2a35c0 100644 --- a/sdk/iot/src/operation/enable_topic_rule/builders.rs +++ b/sdk/iot/src/operation/enable_topic_rule/builders.rs @@ -20,9 +20,9 @@ impl EnableTopicRuleFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -84,6 +84,22 @@ impl EnableTopicRuleFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::enable_topic_rule::EnableTopicRule, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::enable_topic_rule::EnableTopicRuleError, + >, + > { + self.customize_middleware().await + } ///

                                                                                            The name of the topic rule to enable.

                                                                                            pub fn rule_name(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.rule_name(input.into()); diff --git a/sdk/iot/src/operation/get_behavior_model_training_summaries/builders.rs b/sdk/iot/src/operation/get_behavior_model_training_summaries/builders.rs index cd07526806ae..79b23d7ddca2 100644 --- a/sdk/iot/src/operation/get_behavior_model_training_summaries/builders.rs +++ b/sdk/iot/src/operation/get_behavior_model_training_summaries/builders.rs @@ -20,9 +20,9 @@ impl GetBehaviorModelTrainingSummariesFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize(self) -> ::std::result::Result< + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware(self) -> ::std::result::Result< crate::client::customize::CustomizableOperation, ::aws_smithy_http::result::SdkError >{ @@ -65,6 +65,15 @@ impl GetBehaviorModelTrainingSummariesFluentBuilder { { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize(self) -> ::std::result::Result< + crate::client::customize::CustomizableOperation, + ::aws_smithy_http::result::SdkError + >{ + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::get_behavior_model_training_summaries::paginator::GetBehaviorModelTrainingSummariesPaginator::send) which returns a `Stream`. diff --git a/sdk/iot/src/operation/get_buckets_aggregation/builders.rs b/sdk/iot/src/operation/get_buckets_aggregation/builders.rs index 78fccda95e14..1344ac602912 100644 --- a/sdk/iot/src/operation/get_buckets_aggregation/builders.rs +++ b/sdk/iot/src/operation/get_buckets_aggregation/builders.rs @@ -20,9 +20,9 @@ impl GetBucketsAggregationFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -84,6 +84,22 @@ impl GetBucketsAggregationFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::get_buckets_aggregation::GetBucketsAggregation, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::get_buckets_aggregation::GetBucketsAggregationError, + >, + > { + self.customize_middleware().await + } ///

                                                                                            The name of the index to search.

                                                                                            pub fn index_name(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.index_name(input.into()); diff --git a/sdk/iot/src/operation/get_cardinality/builders.rs b/sdk/iot/src/operation/get_cardinality/builders.rs index d97965c22f5a..f760ffa7f75f 100644 --- a/sdk/iot/src/operation/get_cardinality/builders.rs +++ b/sdk/iot/src/operation/get_cardinality/builders.rs @@ -20,9 +20,9 @@ impl GetCardinalityFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -78,6 +78,20 @@ impl GetCardinalityFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::get_cardinality::GetCardinality, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                                            The name of the index to search.

                                                                                            pub fn index_name(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.index_name(input.into()); diff --git a/sdk/iot/src/operation/get_effective_policies/builders.rs b/sdk/iot/src/operation/get_effective_policies/builders.rs index 720abfa3a40c..a22cae0237aa 100644 --- a/sdk/iot/src/operation/get_effective_policies/builders.rs +++ b/sdk/iot/src/operation/get_effective_policies/builders.rs @@ -20,9 +20,9 @@ impl GetEffectivePoliciesFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -84,6 +84,22 @@ impl GetEffectivePoliciesFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::get_effective_policies::GetEffectivePolicies, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::get_effective_policies::GetEffectivePoliciesError, + >, + > { + self.customize_middleware().await + } ///

                                                                                            The principal. Valid principals are CertificateArn (arn:aws:iot:region:accountId:cert/certificateId), thingGroupArn (arn:aws:iot:region:accountId:thinggroup/groupName) and CognitoId (region:id).

                                                                                            pub fn principal(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.principal(input.into()); diff --git a/sdk/iot/src/operation/get_indexing_configuration/builders.rs b/sdk/iot/src/operation/get_indexing_configuration/builders.rs index d0d78dfb993e..e90816d1c806 100644 --- a/sdk/iot/src/operation/get_indexing_configuration/builders.rs +++ b/sdk/iot/src/operation/get_indexing_configuration/builders.rs @@ -20,9 +20,9 @@ impl GetIndexingConfigurationFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -84,4 +84,20 @@ impl GetIndexingConfigurationFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::get_indexing_configuration::GetIndexingConfiguration, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::get_indexing_configuration::GetIndexingConfigurationError, + >, + > { + self.customize_middleware().await + } } diff --git a/sdk/iot/src/operation/get_job_document/builders.rs b/sdk/iot/src/operation/get_job_document/builders.rs index 3f184e20acfa..664388c4aaee 100644 --- a/sdk/iot/src/operation/get_job_document/builders.rs +++ b/sdk/iot/src/operation/get_job_document/builders.rs @@ -20,9 +20,9 @@ impl GetJobDocumentFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -84,6 +84,22 @@ impl GetJobDocumentFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::get_job_document::GetJobDocument, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::get_job_document::GetJobDocumentError, + >, + > { + self.customize_middleware().await + } ///

                                                                                            The unique identifier you assigned to this job when it was created.

                                                                                            pub fn job_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.job_id(input.into()); diff --git a/sdk/iot/src/operation/get_logging_options/builders.rs b/sdk/iot/src/operation/get_logging_options/builders.rs index b421c8018e09..167531a2fa56 100644 --- a/sdk/iot/src/operation/get_logging_options/builders.rs +++ b/sdk/iot/src/operation/get_logging_options/builders.rs @@ -21,9 +21,9 @@ impl GetLoggingOptionsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -85,4 +85,20 @@ impl GetLoggingOptionsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::get_logging_options::GetLoggingOptions, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::get_logging_options::GetLoggingOptionsError, + >, + > { + self.customize_middleware().await + } } diff --git a/sdk/iot/src/operation/get_ota_update/builders.rs b/sdk/iot/src/operation/get_ota_update/builders.rs index 05fe145766e9..a2f5f6e04d24 100644 --- a/sdk/iot/src/operation/get_ota_update/builders.rs +++ b/sdk/iot/src/operation/get_ota_update/builders.rs @@ -20,9 +20,9 @@ impl GetOTAUpdateFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -78,6 +78,20 @@ impl GetOTAUpdateFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::get_ota_update::GetOTAUpdate, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                                            The OTA update ID.

                                                                                            pub fn ota_update_id( mut self, diff --git a/sdk/iot/src/operation/get_percentiles/builders.rs b/sdk/iot/src/operation/get_percentiles/builders.rs index 283cdc61a72e..34e9eff5c801 100644 --- a/sdk/iot/src/operation/get_percentiles/builders.rs +++ b/sdk/iot/src/operation/get_percentiles/builders.rs @@ -20,9 +20,9 @@ impl GetPercentilesFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -78,6 +78,20 @@ impl GetPercentilesFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::get_percentiles::GetPercentiles, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                                            The name of the index to search.

                                                                                            pub fn index_name(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.index_name(input.into()); diff --git a/sdk/iot/src/operation/get_policy/builders.rs b/sdk/iot/src/operation/get_policy/builders.rs index 245ab2ced02f..18b330a04e79 100644 --- a/sdk/iot/src/operation/get_policy/builders.rs +++ b/sdk/iot/src/operation/get_policy/builders.rs @@ -20,9 +20,9 @@ impl GetPolicyFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -78,6 +78,20 @@ impl GetPolicyFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::get_policy::GetPolicy, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                                            The name of the policy.

                                                                                            pub fn policy_name(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.policy_name(input.into()); diff --git a/sdk/iot/src/operation/get_policy_version/builders.rs b/sdk/iot/src/operation/get_policy_version/builders.rs index 8e4c680d7442..8c98efc56f5d 100644 --- a/sdk/iot/src/operation/get_policy_version/builders.rs +++ b/sdk/iot/src/operation/get_policy_version/builders.rs @@ -20,9 +20,9 @@ impl GetPolicyVersionFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -84,6 +84,22 @@ impl GetPolicyVersionFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::get_policy_version::GetPolicyVersion, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::get_policy_version::GetPolicyVersionError, + >, + > { + self.customize_middleware().await + } ///

                                                                                            The name of the policy.

                                                                                            pub fn policy_name(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.policy_name(input.into()); diff --git a/sdk/iot/src/operation/get_registration_code/builders.rs b/sdk/iot/src/operation/get_registration_code/builders.rs index 2ec32056d0b3..76f969e7c28a 100644 --- a/sdk/iot/src/operation/get_registration_code/builders.rs +++ b/sdk/iot/src/operation/get_registration_code/builders.rs @@ -20,9 +20,9 @@ impl GetRegistrationCodeFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -84,4 +84,20 @@ impl GetRegistrationCodeFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::get_registration_code::GetRegistrationCode, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::get_registration_code::GetRegistrationCodeError, + >, + > { + self.customize_middleware().await + } } diff --git a/sdk/iot/src/operation/get_statistics/builders.rs b/sdk/iot/src/operation/get_statistics/builders.rs index b4fe8ec9f2d7..b123fcce06be 100644 --- a/sdk/iot/src/operation/get_statistics/builders.rs +++ b/sdk/iot/src/operation/get_statistics/builders.rs @@ -20,9 +20,9 @@ impl GetStatisticsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -78,6 +78,20 @@ impl GetStatisticsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::get_statistics::GetStatistics, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                                            The name of the index to search. The default value is AWS_Things.

                                                                                            pub fn index_name(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.index_name(input.into()); diff --git a/sdk/iot/src/operation/get_topic_rule/builders.rs b/sdk/iot/src/operation/get_topic_rule/builders.rs index 196adfb50c42..99551c80f1b0 100644 --- a/sdk/iot/src/operation/get_topic_rule/builders.rs +++ b/sdk/iot/src/operation/get_topic_rule/builders.rs @@ -20,9 +20,9 @@ impl GetTopicRuleFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -78,6 +78,20 @@ impl GetTopicRuleFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::get_topic_rule::GetTopicRule, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                                            The name of the rule.

                                                                                            pub fn rule_name(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.rule_name(input.into()); diff --git a/sdk/iot/src/operation/get_topic_rule_destination/builders.rs b/sdk/iot/src/operation/get_topic_rule_destination/builders.rs index ee958dadbf53..9fdd86eae065 100644 --- a/sdk/iot/src/operation/get_topic_rule_destination/builders.rs +++ b/sdk/iot/src/operation/get_topic_rule_destination/builders.rs @@ -21,9 +21,9 @@ impl GetTopicRuleDestinationFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -85,6 +85,22 @@ impl GetTopicRuleDestinationFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::get_topic_rule_destination::GetTopicRuleDestination, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::get_topic_rule_destination::GetTopicRuleDestinationError, + >, + > { + self.customize_middleware().await + } ///

                                                                                            The ARN of the topic rule destination.

                                                                                            pub fn arn(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.arn(input.into()); diff --git a/sdk/iot/src/operation/get_v2_logging_options/builders.rs b/sdk/iot/src/operation/get_v2_logging_options/builders.rs index 5c44a5cea8f1..f1f1413be75c 100644 --- a/sdk/iot/src/operation/get_v2_logging_options/builders.rs +++ b/sdk/iot/src/operation/get_v2_logging_options/builders.rs @@ -20,9 +20,9 @@ impl GetV2LoggingOptionsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -84,4 +84,20 @@ impl GetV2LoggingOptionsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::get_v2_logging_options::GetV2LoggingOptions, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::get_v2_logging_options::GetV2LoggingOptionsError, + >, + > { + self.customize_middleware().await + } } diff --git a/sdk/iot/src/operation/list_active_violations/builders.rs b/sdk/iot/src/operation/list_active_violations/builders.rs index 31e28c19f8b7..b86627c62384 100644 --- a/sdk/iot/src/operation/list_active_violations/builders.rs +++ b/sdk/iot/src/operation/list_active_violations/builders.rs @@ -20,9 +20,9 @@ impl ListActiveViolationsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -84,6 +84,22 @@ impl ListActiveViolationsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_active_violations::ListActiveViolations, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::list_active_violations::ListActiveViolationsError, + >, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::list_active_violations::paginator::ListActiveViolationsPaginator::send) which returns a `Stream`. diff --git a/sdk/iot/src/operation/list_attached_policies/builders.rs b/sdk/iot/src/operation/list_attached_policies/builders.rs index 7fae62ae6fc9..fdb531d7816d 100644 --- a/sdk/iot/src/operation/list_attached_policies/builders.rs +++ b/sdk/iot/src/operation/list_attached_policies/builders.rs @@ -20,9 +20,9 @@ impl ListAttachedPoliciesFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -84,6 +84,22 @@ impl ListAttachedPoliciesFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_attached_policies::ListAttachedPolicies, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::list_attached_policies::ListAttachedPoliciesError, + >, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::list_attached_policies::paginator::ListAttachedPoliciesPaginator::send) which returns a `Stream`. diff --git a/sdk/iot/src/operation/list_audit_findings/builders.rs b/sdk/iot/src/operation/list_audit_findings/builders.rs index 77dde52825e6..3d16144cceb0 100644 --- a/sdk/iot/src/operation/list_audit_findings/builders.rs +++ b/sdk/iot/src/operation/list_audit_findings/builders.rs @@ -20,9 +20,9 @@ impl ListAuditFindingsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -84,6 +84,22 @@ impl ListAuditFindingsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_audit_findings::ListAuditFindings, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::list_audit_findings::ListAuditFindingsError, + >, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::list_audit_findings::paginator::ListAuditFindingsPaginator::send) which returns a `Stream`. diff --git a/sdk/iot/src/operation/list_audit_mitigation_actions_executions/builders.rs b/sdk/iot/src/operation/list_audit_mitigation_actions_executions/builders.rs index 4e9a705159c0..4cd6bbddba07 100644 --- a/sdk/iot/src/operation/list_audit_mitigation_actions_executions/builders.rs +++ b/sdk/iot/src/operation/list_audit_mitigation_actions_executions/builders.rs @@ -20,9 +20,9 @@ impl ListAuditMitigationActionsExecutionsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize(self) -> ::std::result::Result< + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware(self) -> ::std::result::Result< crate::client::customize::CustomizableOperation, ::aws_smithy_http::result::SdkError >{ @@ -65,6 +65,15 @@ impl ListAuditMitigationActionsExecutionsFluentBuilder { { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize(self) -> ::std::result::Result< + crate::client::customize::CustomizableOperation, + ::aws_smithy_http::result::SdkError + >{ + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::list_audit_mitigation_actions_executions::paginator::ListAuditMitigationActionsExecutionsPaginator::send) which returns a `Stream`. diff --git a/sdk/iot/src/operation/list_audit_mitigation_actions_tasks/builders.rs b/sdk/iot/src/operation/list_audit_mitigation_actions_tasks/builders.rs index 688f2f5138e7..17c49e48ebe4 100644 --- a/sdk/iot/src/operation/list_audit_mitigation_actions_tasks/builders.rs +++ b/sdk/iot/src/operation/list_audit_mitigation_actions_tasks/builders.rs @@ -20,9 +20,9 @@ impl ListAuditMitigationActionsTasksFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize(self) -> ::std::result::Result< + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware(self) -> ::std::result::Result< crate::client::customize::CustomizableOperation, ::aws_smithy_http::result::SdkError >{ @@ -65,6 +65,15 @@ impl ListAuditMitigationActionsTasksFluentBuilder { { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize(self) -> ::std::result::Result< + crate::client::customize::CustomizableOperation, + ::aws_smithy_http::result::SdkError + >{ + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::list_audit_mitigation_actions_tasks::paginator::ListAuditMitigationActionsTasksPaginator::send) which returns a `Stream`. diff --git a/sdk/iot/src/operation/list_audit_suppressions/builders.rs b/sdk/iot/src/operation/list_audit_suppressions/builders.rs index d31df88463bf..44bdc60e4544 100644 --- a/sdk/iot/src/operation/list_audit_suppressions/builders.rs +++ b/sdk/iot/src/operation/list_audit_suppressions/builders.rs @@ -20,9 +20,9 @@ impl ListAuditSuppressionsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -84,6 +84,22 @@ impl ListAuditSuppressionsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_audit_suppressions::ListAuditSuppressions, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::list_audit_suppressions::ListAuditSuppressionsError, + >, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::list_audit_suppressions::paginator::ListAuditSuppressionsPaginator::send) which returns a `Stream`. diff --git a/sdk/iot/src/operation/list_audit_tasks/builders.rs b/sdk/iot/src/operation/list_audit_tasks/builders.rs index 61950b3e0798..c3acdd88042f 100644 --- a/sdk/iot/src/operation/list_audit_tasks/builders.rs +++ b/sdk/iot/src/operation/list_audit_tasks/builders.rs @@ -20,9 +20,9 @@ impl ListAuditTasksFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -84,6 +84,22 @@ impl ListAuditTasksFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_audit_tasks::ListAuditTasks, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::list_audit_tasks::ListAuditTasksError, + >, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::list_audit_tasks::paginator::ListAuditTasksPaginator::send) which returns a `Stream`. diff --git a/sdk/iot/src/operation/list_authorizers/builders.rs b/sdk/iot/src/operation/list_authorizers/builders.rs index b636288d1d4d..52c27c83b58c 100644 --- a/sdk/iot/src/operation/list_authorizers/builders.rs +++ b/sdk/iot/src/operation/list_authorizers/builders.rs @@ -20,9 +20,9 @@ impl ListAuthorizersFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -84,6 +84,22 @@ impl ListAuthorizersFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_authorizers::ListAuthorizers, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::list_authorizers::ListAuthorizersError, + >, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::list_authorizers::paginator::ListAuthorizersPaginator::send) which returns a `Stream`. diff --git a/sdk/iot/src/operation/list_billing_groups/builders.rs b/sdk/iot/src/operation/list_billing_groups/builders.rs index 5cd143806b53..48fabcc20d49 100644 --- a/sdk/iot/src/operation/list_billing_groups/builders.rs +++ b/sdk/iot/src/operation/list_billing_groups/builders.rs @@ -20,9 +20,9 @@ impl ListBillingGroupsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -84,6 +84,22 @@ impl ListBillingGroupsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_billing_groups::ListBillingGroups, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::list_billing_groups::ListBillingGroupsError, + >, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::list_billing_groups::paginator::ListBillingGroupsPaginator::send) which returns a `Stream`. diff --git a/sdk/iot/src/operation/list_ca_certificates/builders.rs b/sdk/iot/src/operation/list_ca_certificates/builders.rs index 54d6b1e4fc17..aa70206e411e 100644 --- a/sdk/iot/src/operation/list_ca_certificates/builders.rs +++ b/sdk/iot/src/operation/list_ca_certificates/builders.rs @@ -21,9 +21,9 @@ impl ListCACertificatesFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -85,6 +85,22 @@ impl ListCACertificatesFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_ca_certificates::ListCACertificates, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::list_ca_certificates::ListCACertificatesError, + >, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::list_ca_certificates::paginator::ListCaCertificatesPaginator::send) which returns a `Stream`. diff --git a/sdk/iot/src/operation/list_certificates/builders.rs b/sdk/iot/src/operation/list_certificates/builders.rs index 3598314fc776..02e32f49f1de 100644 --- a/sdk/iot/src/operation/list_certificates/builders.rs +++ b/sdk/iot/src/operation/list_certificates/builders.rs @@ -21,9 +21,9 @@ impl ListCertificatesFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -85,6 +85,22 @@ impl ListCertificatesFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_certificates::ListCertificates, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::list_certificates::ListCertificatesError, + >, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::list_certificates::paginator::ListCertificatesPaginator::send) which returns a `Stream`. diff --git a/sdk/iot/src/operation/list_certificates_by_ca/builders.rs b/sdk/iot/src/operation/list_certificates_by_ca/builders.rs index ba64d23ead6c..18b2ac773757 100644 --- a/sdk/iot/src/operation/list_certificates_by_ca/builders.rs +++ b/sdk/iot/src/operation/list_certificates_by_ca/builders.rs @@ -20,9 +20,9 @@ impl ListCertificatesByCAFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -84,6 +84,22 @@ impl ListCertificatesByCAFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_certificates_by_ca::ListCertificatesByCA, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::list_certificates_by_ca::ListCertificatesByCAError, + >, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::list_certificates_by_ca::paginator::ListCertificatesByCaPaginator::send) which returns a `Stream`. diff --git a/sdk/iot/src/operation/list_custom_metrics/builders.rs b/sdk/iot/src/operation/list_custom_metrics/builders.rs index 86655b2921aa..a808ee98d265 100644 --- a/sdk/iot/src/operation/list_custom_metrics/builders.rs +++ b/sdk/iot/src/operation/list_custom_metrics/builders.rs @@ -20,9 +20,9 @@ impl ListCustomMetricsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -84,6 +84,22 @@ impl ListCustomMetricsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_custom_metrics::ListCustomMetrics, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::list_custom_metrics::ListCustomMetricsError, + >, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::list_custom_metrics::paginator::ListCustomMetricsPaginator::send) which returns a `Stream`. diff --git a/sdk/iot/src/operation/list_detect_mitigation_actions_executions/builders.rs b/sdk/iot/src/operation/list_detect_mitigation_actions_executions/builders.rs index 0f4849e5b127..e383d97046c7 100644 --- a/sdk/iot/src/operation/list_detect_mitigation_actions_executions/builders.rs +++ b/sdk/iot/src/operation/list_detect_mitigation_actions_executions/builders.rs @@ -20,9 +20,9 @@ impl ListDetectMitigationActionsExecutionsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize(self) -> ::std::result::Result< + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware(self) -> ::std::result::Result< crate::client::customize::CustomizableOperation, ::aws_smithy_http::result::SdkError >{ @@ -65,6 +65,15 @@ impl ListDetectMitigationActionsExecutionsFluentBuilder { { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize(self) -> ::std::result::Result< + crate::client::customize::CustomizableOperation, + ::aws_smithy_http::result::SdkError + >{ + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::list_detect_mitigation_actions_executions::paginator::ListDetectMitigationActionsExecutionsPaginator::send) which returns a `Stream`. diff --git a/sdk/iot/src/operation/list_detect_mitigation_actions_tasks/builders.rs b/sdk/iot/src/operation/list_detect_mitigation_actions_tasks/builders.rs index 4f402ddf034c..df57405fdc4b 100644 --- a/sdk/iot/src/operation/list_detect_mitigation_actions_tasks/builders.rs +++ b/sdk/iot/src/operation/list_detect_mitigation_actions_tasks/builders.rs @@ -20,9 +20,9 @@ impl ListDetectMitigationActionsTasksFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize(self) -> ::std::result::Result< + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware(self) -> ::std::result::Result< crate::client::customize::CustomizableOperation, ::aws_smithy_http::result::SdkError >{ @@ -65,6 +65,15 @@ impl ListDetectMitigationActionsTasksFluentBuilder { { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize(self) -> ::std::result::Result< + crate::client::customize::CustomizableOperation, + ::aws_smithy_http::result::SdkError + >{ + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::list_detect_mitigation_actions_tasks::paginator::ListDetectMitigationActionsTasksPaginator::send) which returns a `Stream`. diff --git a/sdk/iot/src/operation/list_dimensions/builders.rs b/sdk/iot/src/operation/list_dimensions/builders.rs index 79b55b385d54..f687b65774ee 100644 --- a/sdk/iot/src/operation/list_dimensions/builders.rs +++ b/sdk/iot/src/operation/list_dimensions/builders.rs @@ -20,9 +20,9 @@ impl ListDimensionsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -78,6 +78,20 @@ impl ListDimensionsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_dimensions::ListDimensions, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::list_dimensions::paginator::ListDimensionsPaginator::send) which returns a `Stream`. diff --git a/sdk/iot/src/operation/list_domain_configurations/builders.rs b/sdk/iot/src/operation/list_domain_configurations/builders.rs index ab14fc257e90..74a9fb537dae 100644 --- a/sdk/iot/src/operation/list_domain_configurations/builders.rs +++ b/sdk/iot/src/operation/list_domain_configurations/builders.rs @@ -20,9 +20,9 @@ impl ListDomainConfigurationsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -84,6 +84,22 @@ impl ListDomainConfigurationsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_domain_configurations::ListDomainConfigurations, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::list_domain_configurations::ListDomainConfigurationsError, + >, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::list_domain_configurations::paginator::ListDomainConfigurationsPaginator::send) which returns a `Stream`. diff --git a/sdk/iot/src/operation/list_fleet_metrics/builders.rs b/sdk/iot/src/operation/list_fleet_metrics/builders.rs index e3da4fd9fcf9..10af7bc9621d 100644 --- a/sdk/iot/src/operation/list_fleet_metrics/builders.rs +++ b/sdk/iot/src/operation/list_fleet_metrics/builders.rs @@ -20,9 +20,9 @@ impl ListFleetMetricsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -84,6 +84,22 @@ impl ListFleetMetricsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_fleet_metrics::ListFleetMetrics, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::list_fleet_metrics::ListFleetMetricsError, + >, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::list_fleet_metrics::paginator::ListFleetMetricsPaginator::send) which returns a `Stream`. diff --git a/sdk/iot/src/operation/list_indices/builders.rs b/sdk/iot/src/operation/list_indices/builders.rs index 1d759d19a8c9..f604262f63b6 100644 --- a/sdk/iot/src/operation/list_indices/builders.rs +++ b/sdk/iot/src/operation/list_indices/builders.rs @@ -20,9 +20,9 @@ impl ListIndicesFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -78,6 +78,20 @@ impl ListIndicesFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_indices::ListIndices, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::list_indices::paginator::ListIndicesPaginator::send) which returns a `Stream`. diff --git a/sdk/iot/src/operation/list_job_executions_for_job/builders.rs b/sdk/iot/src/operation/list_job_executions_for_job/builders.rs index e9ca71610f3c..149cace918b9 100644 --- a/sdk/iot/src/operation/list_job_executions_for_job/builders.rs +++ b/sdk/iot/src/operation/list_job_executions_for_job/builders.rs @@ -20,9 +20,9 @@ impl ListJobExecutionsForJobFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -84,6 +84,22 @@ impl ListJobExecutionsForJobFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_job_executions_for_job::ListJobExecutionsForJob, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::list_job_executions_for_job::ListJobExecutionsForJobError, + >, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::list_job_executions_for_job::paginator::ListJobExecutionsForJobPaginator::send) which returns a `Stream`. diff --git a/sdk/iot/src/operation/list_job_executions_for_thing/builders.rs b/sdk/iot/src/operation/list_job_executions_for_thing/builders.rs index 1e4f5d3658c3..0a95334c488f 100644 --- a/sdk/iot/src/operation/list_job_executions_for_thing/builders.rs +++ b/sdk/iot/src/operation/list_job_executions_for_thing/builders.rs @@ -20,9 +20,9 @@ impl ListJobExecutionsForThingFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -84,6 +84,22 @@ impl ListJobExecutionsForThingFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_job_executions_for_thing::ListJobExecutionsForThing, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::list_job_executions_for_thing::ListJobExecutionsForThingError, + >, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::list_job_executions_for_thing::paginator::ListJobExecutionsForThingPaginator::send) which returns a `Stream`. diff --git a/sdk/iot/src/operation/list_job_templates/builders.rs b/sdk/iot/src/operation/list_job_templates/builders.rs index 35c5670d0aee..f1a52dc6e81f 100644 --- a/sdk/iot/src/operation/list_job_templates/builders.rs +++ b/sdk/iot/src/operation/list_job_templates/builders.rs @@ -20,9 +20,9 @@ impl ListJobTemplatesFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -84,6 +84,22 @@ impl ListJobTemplatesFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_job_templates::ListJobTemplates, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::list_job_templates::ListJobTemplatesError, + >, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::list_job_templates::paginator::ListJobTemplatesPaginator::send) which returns a `Stream`. diff --git a/sdk/iot/src/operation/list_jobs/builders.rs b/sdk/iot/src/operation/list_jobs/builders.rs index a2ba600be6bc..005932b51484 100644 --- a/sdk/iot/src/operation/list_jobs/builders.rs +++ b/sdk/iot/src/operation/list_jobs/builders.rs @@ -20,9 +20,9 @@ impl ListJobsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -78,6 +78,20 @@ impl ListJobsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_jobs::ListJobs, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::list_jobs::paginator::ListJobsPaginator::send) which returns a `Stream`. diff --git a/sdk/iot/src/operation/list_managed_job_templates/builders.rs b/sdk/iot/src/operation/list_managed_job_templates/builders.rs index 100e7c5974b9..ec86e8dc4036 100644 --- a/sdk/iot/src/operation/list_managed_job_templates/builders.rs +++ b/sdk/iot/src/operation/list_managed_job_templates/builders.rs @@ -20,9 +20,9 @@ impl ListManagedJobTemplatesFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -84,6 +84,22 @@ impl ListManagedJobTemplatesFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_managed_job_templates::ListManagedJobTemplates, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::list_managed_job_templates::ListManagedJobTemplatesError, + >, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::list_managed_job_templates::paginator::ListManagedJobTemplatesPaginator::send) which returns a `Stream`. diff --git a/sdk/iot/src/operation/list_metric_values/builders.rs b/sdk/iot/src/operation/list_metric_values/builders.rs index 01b3c0c093d0..d00ba1799e8c 100644 --- a/sdk/iot/src/operation/list_metric_values/builders.rs +++ b/sdk/iot/src/operation/list_metric_values/builders.rs @@ -19,9 +19,9 @@ impl ListMetricValuesFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl ListMetricValuesFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_metric_values::ListMetricValues, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::list_metric_values::ListMetricValuesError, + >, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::list_metric_values::paginator::ListMetricValuesPaginator::send) which returns a `Stream`. diff --git a/sdk/iot/src/operation/list_mitigation_actions/builders.rs b/sdk/iot/src/operation/list_mitigation_actions/builders.rs index 8e455d82cb31..c398f57c4fd7 100644 --- a/sdk/iot/src/operation/list_mitigation_actions/builders.rs +++ b/sdk/iot/src/operation/list_mitigation_actions/builders.rs @@ -20,9 +20,9 @@ impl ListMitigationActionsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -84,6 +84,22 @@ impl ListMitigationActionsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_mitigation_actions::ListMitigationActions, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::list_mitigation_actions::ListMitigationActionsError, + >, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::list_mitigation_actions::paginator::ListMitigationActionsPaginator::send) which returns a `Stream`. diff --git a/sdk/iot/src/operation/list_ota_updates/builders.rs b/sdk/iot/src/operation/list_ota_updates/builders.rs index 870c641a96db..0444f31d046a 100644 --- a/sdk/iot/src/operation/list_ota_updates/builders.rs +++ b/sdk/iot/src/operation/list_ota_updates/builders.rs @@ -20,9 +20,9 @@ impl ListOTAUpdatesFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -84,6 +84,22 @@ impl ListOTAUpdatesFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_ota_updates::ListOTAUpdates, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::list_ota_updates::ListOTAUpdatesError, + >, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::list_ota_updates::paginator::ListOtaUpdatesPaginator::send) which returns a `Stream`. diff --git a/sdk/iot/src/operation/list_outgoing_certificates/builders.rs b/sdk/iot/src/operation/list_outgoing_certificates/builders.rs index de6ff6b47519..dc30fb5647ea 100644 --- a/sdk/iot/src/operation/list_outgoing_certificates/builders.rs +++ b/sdk/iot/src/operation/list_outgoing_certificates/builders.rs @@ -20,9 +20,9 @@ impl ListOutgoingCertificatesFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -84,6 +84,22 @@ impl ListOutgoingCertificatesFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_outgoing_certificates::ListOutgoingCertificates, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::list_outgoing_certificates::ListOutgoingCertificatesError, + >, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::list_outgoing_certificates::paginator::ListOutgoingCertificatesPaginator::send) which returns a `Stream`. diff --git a/sdk/iot/src/operation/list_policies/builders.rs b/sdk/iot/src/operation/list_policies/builders.rs index 2532f3bcfa29..5f18f41a81c5 100644 --- a/sdk/iot/src/operation/list_policies/builders.rs +++ b/sdk/iot/src/operation/list_policies/builders.rs @@ -20,9 +20,9 @@ impl ListPoliciesFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -78,6 +78,20 @@ impl ListPoliciesFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_policies::ListPolicies, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::list_policies::paginator::ListPoliciesPaginator::send) which returns a `Stream`. diff --git a/sdk/iot/src/operation/list_policy_principals/builders.rs b/sdk/iot/src/operation/list_policy_principals/builders.rs index c67c0c2139c3..98b03a4d29fb 100644 --- a/sdk/iot/src/operation/list_policy_principals/builders.rs +++ b/sdk/iot/src/operation/list_policy_principals/builders.rs @@ -22,9 +22,9 @@ impl ListPolicyPrincipalsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -86,6 +86,22 @@ impl ListPolicyPrincipalsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_policy_principals::ListPolicyPrincipals, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::list_policy_principals::ListPolicyPrincipalsError, + >, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::list_policy_principals::paginator::ListPolicyPrincipalsPaginator::send) which returns a `Stream`. diff --git a/sdk/iot/src/operation/list_policy_versions/builders.rs b/sdk/iot/src/operation/list_policy_versions/builders.rs index ddbec342186b..bf6217aa64b0 100644 --- a/sdk/iot/src/operation/list_policy_versions/builders.rs +++ b/sdk/iot/src/operation/list_policy_versions/builders.rs @@ -20,9 +20,9 @@ impl ListPolicyVersionsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -84,6 +84,22 @@ impl ListPolicyVersionsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_policy_versions::ListPolicyVersions, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::list_policy_versions::ListPolicyVersionsError, + >, + > { + self.customize_middleware().await + } ///

                                                                                            The policy name.

                                                                                            pub fn policy_name(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.policy_name(input.into()); diff --git a/sdk/iot/src/operation/list_principal_policies/builders.rs b/sdk/iot/src/operation/list_principal_policies/builders.rs index 23e09f33a354..e709a32c0f4f 100644 --- a/sdk/iot/src/operation/list_principal_policies/builders.rs +++ b/sdk/iot/src/operation/list_principal_policies/builders.rs @@ -22,9 +22,9 @@ impl ListPrincipalPoliciesFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -86,6 +86,22 @@ impl ListPrincipalPoliciesFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_principal_policies::ListPrincipalPolicies, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::list_principal_policies::ListPrincipalPoliciesError, + >, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::list_principal_policies::paginator::ListPrincipalPoliciesPaginator::send) which returns a `Stream`. diff --git a/sdk/iot/src/operation/list_principal_things/builders.rs b/sdk/iot/src/operation/list_principal_things/builders.rs index 470ab515f904..f4978ebb74cf 100644 --- a/sdk/iot/src/operation/list_principal_things/builders.rs +++ b/sdk/iot/src/operation/list_principal_things/builders.rs @@ -20,9 +20,9 @@ impl ListPrincipalThingsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -84,6 +84,22 @@ impl ListPrincipalThingsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_principal_things::ListPrincipalThings, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::list_principal_things::ListPrincipalThingsError, + >, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::list_principal_things::paginator::ListPrincipalThingsPaginator::send) which returns a `Stream`. diff --git a/sdk/iot/src/operation/list_provisioning_template_versions/builders.rs b/sdk/iot/src/operation/list_provisioning_template_versions/builders.rs index ce3631923822..e90606fe2acc 100644 --- a/sdk/iot/src/operation/list_provisioning_template_versions/builders.rs +++ b/sdk/iot/src/operation/list_provisioning_template_versions/builders.rs @@ -20,9 +20,9 @@ impl ListProvisioningTemplateVersionsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize(self) -> ::std::result::Result< + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware(self) -> ::std::result::Result< crate::client::customize::CustomizableOperation, ::aws_smithy_http::result::SdkError >{ @@ -65,6 +65,15 @@ impl ListProvisioningTemplateVersionsFluentBuilder { { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize(self) -> ::std::result::Result< + crate::client::customize::CustomizableOperation, + ::aws_smithy_http::result::SdkError + >{ + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::list_provisioning_template_versions::paginator::ListProvisioningTemplateVersionsPaginator::send) which returns a `Stream`. diff --git a/sdk/iot/src/operation/list_provisioning_templates/builders.rs b/sdk/iot/src/operation/list_provisioning_templates/builders.rs index 14e5893849cf..e7941883d6b5 100644 --- a/sdk/iot/src/operation/list_provisioning_templates/builders.rs +++ b/sdk/iot/src/operation/list_provisioning_templates/builders.rs @@ -20,9 +20,9 @@ impl ListProvisioningTemplatesFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -84,6 +84,22 @@ impl ListProvisioningTemplatesFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_provisioning_templates::ListProvisioningTemplates, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::list_provisioning_templates::ListProvisioningTemplatesError, + >, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::list_provisioning_templates::paginator::ListProvisioningTemplatesPaginator::send) which returns a `Stream`. diff --git a/sdk/iot/src/operation/list_related_resources_for_audit_finding/builders.rs b/sdk/iot/src/operation/list_related_resources_for_audit_finding/builders.rs index 1f8a1659c9cc..fd884746f029 100644 --- a/sdk/iot/src/operation/list_related_resources_for_audit_finding/builders.rs +++ b/sdk/iot/src/operation/list_related_resources_for_audit_finding/builders.rs @@ -32,9 +32,9 @@ impl ListRelatedResourcesForAuditFindingFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize(self) -> ::std::result::Result< + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware(self) -> ::std::result::Result< crate::client::customize::CustomizableOperation, ::aws_smithy_http::result::SdkError >{ @@ -77,6 +77,15 @@ impl ListRelatedResourcesForAuditFindingFluentBuilder { { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize(self) -> ::std::result::Result< + crate::client::customize::CustomizableOperation, + ::aws_smithy_http::result::SdkError + >{ + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::list_related_resources_for_audit_finding::paginator::ListRelatedResourcesForAuditFindingPaginator::send) which returns a `Stream`. diff --git a/sdk/iot/src/operation/list_role_aliases/builders.rs b/sdk/iot/src/operation/list_role_aliases/builders.rs index 512293146cd6..0686908a2684 100644 --- a/sdk/iot/src/operation/list_role_aliases/builders.rs +++ b/sdk/iot/src/operation/list_role_aliases/builders.rs @@ -20,9 +20,9 @@ impl ListRoleAliasesFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -84,6 +84,22 @@ impl ListRoleAliasesFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_role_aliases::ListRoleAliases, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::list_role_aliases::ListRoleAliasesError, + >, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::list_role_aliases::paginator::ListRoleAliasesPaginator::send) which returns a `Stream`. diff --git a/sdk/iot/src/operation/list_scheduled_audits/builders.rs b/sdk/iot/src/operation/list_scheduled_audits/builders.rs index 7691793766dc..23d23b470221 100644 --- a/sdk/iot/src/operation/list_scheduled_audits/builders.rs +++ b/sdk/iot/src/operation/list_scheduled_audits/builders.rs @@ -20,9 +20,9 @@ impl ListScheduledAuditsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -84,6 +84,22 @@ impl ListScheduledAuditsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_scheduled_audits::ListScheduledAudits, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::list_scheduled_audits::ListScheduledAuditsError, + >, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::list_scheduled_audits::paginator::ListScheduledAuditsPaginator::send) which returns a `Stream`. diff --git a/sdk/iot/src/operation/list_security_profiles/builders.rs b/sdk/iot/src/operation/list_security_profiles/builders.rs index f2c33b40517a..9bf22cf83939 100644 --- a/sdk/iot/src/operation/list_security_profiles/builders.rs +++ b/sdk/iot/src/operation/list_security_profiles/builders.rs @@ -22,9 +22,9 @@ impl ListSecurityProfilesFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -86,6 +86,22 @@ impl ListSecurityProfilesFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_security_profiles::ListSecurityProfiles, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::list_security_profiles::ListSecurityProfilesError, + >, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::list_security_profiles::paginator::ListSecurityProfilesPaginator::send) which returns a `Stream`. diff --git a/sdk/iot/src/operation/list_security_profiles_for_target/builders.rs b/sdk/iot/src/operation/list_security_profiles_for_target/builders.rs index 56bbe2081e30..9024af653703 100644 --- a/sdk/iot/src/operation/list_security_profiles_for_target/builders.rs +++ b/sdk/iot/src/operation/list_security_profiles_for_target/builders.rs @@ -20,9 +20,9 @@ impl ListSecurityProfilesForTargetFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -84,6 +84,22 @@ impl ListSecurityProfilesForTargetFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_security_profiles_for_target::ListSecurityProfilesForTarget, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::list_security_profiles_for_target::ListSecurityProfilesForTargetError, + >, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::list_security_profiles_for_target::paginator::ListSecurityProfilesForTargetPaginator::send) which returns a `Stream`. diff --git a/sdk/iot/src/operation/list_streams/builders.rs b/sdk/iot/src/operation/list_streams/builders.rs index 798d01c9d3ed..20d310040a1a 100644 --- a/sdk/iot/src/operation/list_streams/builders.rs +++ b/sdk/iot/src/operation/list_streams/builders.rs @@ -20,9 +20,9 @@ impl ListStreamsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -78,6 +78,20 @@ impl ListStreamsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_streams::ListStreams, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::list_streams::paginator::ListStreamsPaginator::send) which returns a `Stream`. diff --git a/sdk/iot/src/operation/list_tags_for_resource/builders.rs b/sdk/iot/src/operation/list_tags_for_resource/builders.rs index b330e239a7ee..ade970b2047d 100644 --- a/sdk/iot/src/operation/list_tags_for_resource/builders.rs +++ b/sdk/iot/src/operation/list_tags_for_resource/builders.rs @@ -20,9 +20,9 @@ impl ListTagsForResourceFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -84,6 +84,22 @@ impl ListTagsForResourceFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_tags_for_resource::ListTagsForResource, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::list_tags_for_resource::ListTagsForResourceError, + >, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::list_tags_for_resource::paginator::ListTagsForResourcePaginator::send) which returns a `Stream`. diff --git a/sdk/iot/src/operation/list_targets_for_policy/builders.rs b/sdk/iot/src/operation/list_targets_for_policy/builders.rs index 1d051e0e2b4e..a4b866072bd0 100644 --- a/sdk/iot/src/operation/list_targets_for_policy/builders.rs +++ b/sdk/iot/src/operation/list_targets_for_policy/builders.rs @@ -20,9 +20,9 @@ impl ListTargetsForPolicyFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -84,6 +84,22 @@ impl ListTargetsForPolicyFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_targets_for_policy::ListTargetsForPolicy, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::list_targets_for_policy::ListTargetsForPolicyError, + >, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::list_targets_for_policy::paginator::ListTargetsForPolicyPaginator::send) which returns a `Stream`. diff --git a/sdk/iot/src/operation/list_targets_for_security_profile/builders.rs b/sdk/iot/src/operation/list_targets_for_security_profile/builders.rs index 21e3356bce24..f4082b6cc77b 100644 --- a/sdk/iot/src/operation/list_targets_for_security_profile/builders.rs +++ b/sdk/iot/src/operation/list_targets_for_security_profile/builders.rs @@ -20,9 +20,9 @@ impl ListTargetsForSecurityProfileFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -84,6 +84,22 @@ impl ListTargetsForSecurityProfileFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_targets_for_security_profile::ListTargetsForSecurityProfile, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::list_targets_for_security_profile::ListTargetsForSecurityProfileError, + >, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::list_targets_for_security_profile::paginator::ListTargetsForSecurityProfilePaginator::send) which returns a `Stream`. diff --git a/sdk/iot/src/operation/list_thing_groups/builders.rs b/sdk/iot/src/operation/list_thing_groups/builders.rs index 694a734ef124..2cd707ce4768 100644 --- a/sdk/iot/src/operation/list_thing_groups/builders.rs +++ b/sdk/iot/src/operation/list_thing_groups/builders.rs @@ -20,9 +20,9 @@ impl ListThingGroupsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -84,6 +84,22 @@ impl ListThingGroupsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_thing_groups::ListThingGroups, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::list_thing_groups::ListThingGroupsError, + >, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::list_thing_groups::paginator::ListThingGroupsPaginator::send) which returns a `Stream`. diff --git a/sdk/iot/src/operation/list_thing_groups_for_thing/builders.rs b/sdk/iot/src/operation/list_thing_groups_for_thing/builders.rs index 13d379676168..888b80c7a733 100644 --- a/sdk/iot/src/operation/list_thing_groups_for_thing/builders.rs +++ b/sdk/iot/src/operation/list_thing_groups_for_thing/builders.rs @@ -20,9 +20,9 @@ impl ListThingGroupsForThingFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -84,6 +84,22 @@ impl ListThingGroupsForThingFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_thing_groups_for_thing::ListThingGroupsForThing, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::list_thing_groups_for_thing::ListThingGroupsForThingError, + >, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::list_thing_groups_for_thing::paginator::ListThingGroupsForThingPaginator::send) which returns a `Stream`. diff --git a/sdk/iot/src/operation/list_thing_principals/builders.rs b/sdk/iot/src/operation/list_thing_principals/builders.rs index 96f160f9dd4d..98857e9d2562 100644 --- a/sdk/iot/src/operation/list_thing_principals/builders.rs +++ b/sdk/iot/src/operation/list_thing_principals/builders.rs @@ -20,9 +20,9 @@ impl ListThingPrincipalsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -84,6 +84,22 @@ impl ListThingPrincipalsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_thing_principals::ListThingPrincipals, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::list_thing_principals::ListThingPrincipalsError, + >, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::list_thing_principals::paginator::ListThingPrincipalsPaginator::send) which returns a `Stream`. diff --git a/sdk/iot/src/operation/list_thing_registration_task_reports/builders.rs b/sdk/iot/src/operation/list_thing_registration_task_reports/builders.rs index 04826c095979..63d1e5d13605 100644 --- a/sdk/iot/src/operation/list_thing_registration_task_reports/builders.rs +++ b/sdk/iot/src/operation/list_thing_registration_task_reports/builders.rs @@ -19,9 +19,9 @@ impl ListThingRegistrationTaskReportsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize(self) -> ::std::result::Result< + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware(self) -> ::std::result::Result< crate::client::customize::CustomizableOperation, ::aws_smithy_http::result::SdkError >{ @@ -64,6 +64,15 @@ impl ListThingRegistrationTaskReportsFluentBuilder { { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize(self) -> ::std::result::Result< + crate::client::customize::CustomizableOperation, + ::aws_smithy_http::result::SdkError + >{ + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::list_thing_registration_task_reports::paginator::ListThingRegistrationTaskReportsPaginator::send) which returns a `Stream`. diff --git a/sdk/iot/src/operation/list_thing_registration_tasks/builders.rs b/sdk/iot/src/operation/list_thing_registration_tasks/builders.rs index 2d0542ad2aa0..6d20c0e49257 100644 --- a/sdk/iot/src/operation/list_thing_registration_tasks/builders.rs +++ b/sdk/iot/src/operation/list_thing_registration_tasks/builders.rs @@ -20,9 +20,9 @@ impl ListThingRegistrationTasksFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -84,6 +84,22 @@ impl ListThingRegistrationTasksFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_thing_registration_tasks::ListThingRegistrationTasks, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::list_thing_registration_tasks::ListThingRegistrationTasksError, + >, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::list_thing_registration_tasks::paginator::ListThingRegistrationTasksPaginator::send) which returns a `Stream`. diff --git a/sdk/iot/src/operation/list_thing_types/builders.rs b/sdk/iot/src/operation/list_thing_types/builders.rs index c94a4b213961..76e9808900de 100644 --- a/sdk/iot/src/operation/list_thing_types/builders.rs +++ b/sdk/iot/src/operation/list_thing_types/builders.rs @@ -20,9 +20,9 @@ impl ListThingTypesFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -84,6 +84,22 @@ impl ListThingTypesFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_thing_types::ListThingTypes, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::list_thing_types::ListThingTypesError, + >, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::list_thing_types::paginator::ListThingTypesPaginator::send) which returns a `Stream`. diff --git a/sdk/iot/src/operation/list_things/builders.rs b/sdk/iot/src/operation/list_things/builders.rs index b64d9f9a3287..b34f8bd04f26 100644 --- a/sdk/iot/src/operation/list_things/builders.rs +++ b/sdk/iot/src/operation/list_things/builders.rs @@ -22,9 +22,9 @@ impl ListThingsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -80,6 +80,20 @@ impl ListThingsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_things::ListThings, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::list_things::paginator::ListThingsPaginator::send) which returns a `Stream`. diff --git a/sdk/iot/src/operation/list_things_in_billing_group/builders.rs b/sdk/iot/src/operation/list_things_in_billing_group/builders.rs index 533d993066a8..1370a99820f7 100644 --- a/sdk/iot/src/operation/list_things_in_billing_group/builders.rs +++ b/sdk/iot/src/operation/list_things_in_billing_group/builders.rs @@ -20,9 +20,9 @@ impl ListThingsInBillingGroupFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -84,6 +84,22 @@ impl ListThingsInBillingGroupFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_things_in_billing_group::ListThingsInBillingGroup, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::list_things_in_billing_group::ListThingsInBillingGroupError, + >, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::list_things_in_billing_group::paginator::ListThingsInBillingGroupPaginator::send) which returns a `Stream`. diff --git a/sdk/iot/src/operation/list_things_in_thing_group/builders.rs b/sdk/iot/src/operation/list_things_in_thing_group/builders.rs index d9456c9e2854..4463540d29be 100644 --- a/sdk/iot/src/operation/list_things_in_thing_group/builders.rs +++ b/sdk/iot/src/operation/list_things_in_thing_group/builders.rs @@ -21,9 +21,9 @@ impl ListThingsInThingGroupFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -85,6 +85,22 @@ impl ListThingsInThingGroupFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_things_in_thing_group::ListThingsInThingGroup, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::list_things_in_thing_group::ListThingsInThingGroupError, + >, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::list_things_in_thing_group::paginator::ListThingsInThingGroupPaginator::send) which returns a `Stream`. diff --git a/sdk/iot/src/operation/list_topic_rule_destinations/builders.rs b/sdk/iot/src/operation/list_topic_rule_destinations/builders.rs index 985c9579594c..f458d34cd2e0 100644 --- a/sdk/iot/src/operation/list_topic_rule_destinations/builders.rs +++ b/sdk/iot/src/operation/list_topic_rule_destinations/builders.rs @@ -20,9 +20,9 @@ impl ListTopicRuleDestinationsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -84,6 +84,22 @@ impl ListTopicRuleDestinationsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_topic_rule_destinations::ListTopicRuleDestinations, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::list_topic_rule_destinations::ListTopicRuleDestinationsError, + >, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::list_topic_rule_destinations::paginator::ListTopicRuleDestinationsPaginator::send) which returns a `Stream`. diff --git a/sdk/iot/src/operation/list_topic_rules/builders.rs b/sdk/iot/src/operation/list_topic_rules/builders.rs index 210a1f1a008c..2f787db8bd64 100644 --- a/sdk/iot/src/operation/list_topic_rules/builders.rs +++ b/sdk/iot/src/operation/list_topic_rules/builders.rs @@ -20,9 +20,9 @@ impl ListTopicRulesFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -84,6 +84,22 @@ impl ListTopicRulesFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_topic_rules::ListTopicRules, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::list_topic_rules::ListTopicRulesError, + >, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::list_topic_rules::paginator::ListTopicRulesPaginator::send) which returns a `Stream`. diff --git a/sdk/iot/src/operation/list_v2_logging_levels/builders.rs b/sdk/iot/src/operation/list_v2_logging_levels/builders.rs index 166fc1dbce24..7f29c542f968 100644 --- a/sdk/iot/src/operation/list_v2_logging_levels/builders.rs +++ b/sdk/iot/src/operation/list_v2_logging_levels/builders.rs @@ -20,9 +20,9 @@ impl ListV2LoggingLevelsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -84,6 +84,22 @@ impl ListV2LoggingLevelsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_v2_logging_levels::ListV2LoggingLevels, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::list_v2_logging_levels::ListV2LoggingLevelsError, + >, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::list_v2_logging_levels::paginator::ListV2LoggingLevelsPaginator::send) which returns a `Stream`. diff --git a/sdk/iot/src/operation/list_violation_events/builders.rs b/sdk/iot/src/operation/list_violation_events/builders.rs index 0a2c0d0ab37a..898b77b19fd1 100644 --- a/sdk/iot/src/operation/list_violation_events/builders.rs +++ b/sdk/iot/src/operation/list_violation_events/builders.rs @@ -20,9 +20,9 @@ impl ListViolationEventsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -84,6 +84,22 @@ impl ListViolationEventsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_violation_events::ListViolationEvents, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::list_violation_events::ListViolationEventsError, + >, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::list_violation_events::paginator::ListViolationEventsPaginator::send) which returns a `Stream`. diff --git a/sdk/iot/src/operation/put_verification_state_on_violation/builders.rs b/sdk/iot/src/operation/put_verification_state_on_violation/builders.rs index c888db6a4152..00310174db72 100644 --- a/sdk/iot/src/operation/put_verification_state_on_violation/builders.rs +++ b/sdk/iot/src/operation/put_verification_state_on_violation/builders.rs @@ -19,9 +19,9 @@ impl PutVerificationStateOnViolationFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize(self) -> ::std::result::Result< + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware(self) -> ::std::result::Result< crate::client::customize::CustomizableOperation, ::aws_smithy_http::result::SdkError >{ @@ -64,6 +64,15 @@ impl PutVerificationStateOnViolationFluentBuilder { { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize(self) -> ::std::result::Result< + crate::client::customize::CustomizableOperation, + ::aws_smithy_http::result::SdkError + >{ + self.customize_middleware().await + } ///

                                                                                            The violation ID.

                                                                                            pub fn violation_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.violation_id(input.into()); diff --git a/sdk/iot/src/operation/register_ca_certificate/builders.rs b/sdk/iot/src/operation/register_ca_certificate/builders.rs index 29f612ed25fb..67ffe00700d3 100644 --- a/sdk/iot/src/operation/register_ca_certificate/builders.rs +++ b/sdk/iot/src/operation/register_ca_certificate/builders.rs @@ -20,9 +20,9 @@ impl RegisterCACertificateFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -84,6 +84,22 @@ impl RegisterCACertificateFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::register_ca_certificate::RegisterCACertificate, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::register_ca_certificate::RegisterCACertificateError, + >, + > { + self.customize_middleware().await + } ///

                                                                                            The CA certificate.

                                                                                            pub fn ca_certificate( mut self, diff --git a/sdk/iot/src/operation/register_certificate/builders.rs b/sdk/iot/src/operation/register_certificate/builders.rs index a6510b6dc9f3..2dd9c5d26551 100644 --- a/sdk/iot/src/operation/register_certificate/builders.rs +++ b/sdk/iot/src/operation/register_certificate/builders.rs @@ -20,9 +20,9 @@ impl RegisterCertificateFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -84,6 +84,22 @@ impl RegisterCertificateFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::register_certificate::RegisterCertificate, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::register_certificate::RegisterCertificateError, + >, + > { + self.customize_middleware().await + } ///

                                                                                            The certificate data, in PEM format.

                                                                                            pub fn certificate_pem( mut self, diff --git a/sdk/iot/src/operation/register_certificate_without_ca/builders.rs b/sdk/iot/src/operation/register_certificate_without_ca/builders.rs index 2ffaf8bbf9fd..170b8fa25552 100644 --- a/sdk/iot/src/operation/register_certificate_without_ca/builders.rs +++ b/sdk/iot/src/operation/register_certificate_without_ca/builders.rs @@ -19,9 +19,9 @@ impl RegisterCertificateWithoutCAFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl RegisterCertificateWithoutCAFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::register_certificate_without_ca::RegisterCertificateWithoutCA, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::register_certificate_without_ca::RegisterCertificateWithoutCAError, + >, + > { + self.customize_middleware().await + } ///

                                                                                            The certificate data, in PEM format.

                                                                                            pub fn certificate_pem( mut self, diff --git a/sdk/iot/src/operation/register_thing/builders.rs b/sdk/iot/src/operation/register_thing/builders.rs index cca07165e669..598461716ff4 100644 --- a/sdk/iot/src/operation/register_thing/builders.rs +++ b/sdk/iot/src/operation/register_thing/builders.rs @@ -20,9 +20,9 @@ impl RegisterThingFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -78,6 +78,20 @@ impl RegisterThingFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::register_thing::RegisterThing, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                                            The provisioning template. See Provisioning Devices That Have Device Certificates for more information.

                                                                                            pub fn template_body( mut self, diff --git a/sdk/iot/src/operation/reject_certificate_transfer/builders.rs b/sdk/iot/src/operation/reject_certificate_transfer/builders.rs index bbc309a5d315..914ea62e65cd 100644 --- a/sdk/iot/src/operation/reject_certificate_transfer/builders.rs +++ b/sdk/iot/src/operation/reject_certificate_transfer/builders.rs @@ -22,9 +22,9 @@ impl RejectCertificateTransferFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -86,6 +86,22 @@ impl RejectCertificateTransferFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::reject_certificate_transfer::RejectCertificateTransfer, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::reject_certificate_transfer::RejectCertificateTransferError, + >, + > { + self.customize_middleware().await + } ///

                                                                                            The ID of the certificate. (The last part of the certificate ARN contains the certificate ID.)

                                                                                            pub fn certificate_id( mut self, diff --git a/sdk/iot/src/operation/remove_thing_from_billing_group/builders.rs b/sdk/iot/src/operation/remove_thing_from_billing_group/builders.rs index cfa747c0a9e9..bc27cec45dbf 100644 --- a/sdk/iot/src/operation/remove_thing_from_billing_group/builders.rs +++ b/sdk/iot/src/operation/remove_thing_from_billing_group/builders.rs @@ -22,9 +22,9 @@ impl RemoveThingFromBillingGroupFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -86,6 +86,22 @@ impl RemoveThingFromBillingGroupFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::remove_thing_from_billing_group::RemoveThingFromBillingGroup, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::remove_thing_from_billing_group::RemoveThingFromBillingGroupError, + >, + > { + self.customize_middleware().await + } ///

                                                                                            The name of the billing group.

                                                                                            pub fn billing_group_name( mut self, diff --git a/sdk/iot/src/operation/remove_thing_from_thing_group/builders.rs b/sdk/iot/src/operation/remove_thing_from_thing_group/builders.rs index 8954ebf98e7c..3dd19e151bfa 100644 --- a/sdk/iot/src/operation/remove_thing_from_thing_group/builders.rs +++ b/sdk/iot/src/operation/remove_thing_from_thing_group/builders.rs @@ -21,9 +21,9 @@ impl RemoveThingFromThingGroupFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -85,6 +85,22 @@ impl RemoveThingFromThingGroupFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::remove_thing_from_thing_group::RemoveThingFromThingGroup, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::remove_thing_from_thing_group::RemoveThingFromThingGroupError, + >, + > { + self.customize_middleware().await + } ///

                                                                                            The group name.

                                                                                            pub fn thing_group_name( mut self, diff --git a/sdk/iot/src/operation/replace_topic_rule/builders.rs b/sdk/iot/src/operation/replace_topic_rule/builders.rs index 132a179f239b..e4d5cb290714 100644 --- a/sdk/iot/src/operation/replace_topic_rule/builders.rs +++ b/sdk/iot/src/operation/replace_topic_rule/builders.rs @@ -20,9 +20,9 @@ impl ReplaceTopicRuleFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -84,6 +84,22 @@ impl ReplaceTopicRuleFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::replace_topic_rule::ReplaceTopicRule, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::replace_topic_rule::ReplaceTopicRuleError, + >, + > { + self.customize_middleware().await + } ///

                                                                                            The name of the rule.

                                                                                            pub fn rule_name(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.rule_name(input.into()); diff --git a/sdk/iot/src/operation/search_index/builders.rs b/sdk/iot/src/operation/search_index/builders.rs index 14eac4f4206c..c592bee4d2a7 100644 --- a/sdk/iot/src/operation/search_index/builders.rs +++ b/sdk/iot/src/operation/search_index/builders.rs @@ -20,9 +20,9 @@ impl SearchIndexFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -78,6 +78,20 @@ impl SearchIndexFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::search_index::SearchIndex, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                                            The search index name.

                                                                                            pub fn index_name(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.index_name(input.into()); diff --git a/sdk/iot/src/operation/set_default_authorizer/builders.rs b/sdk/iot/src/operation/set_default_authorizer/builders.rs index c4a51691ad5f..fe7ccef8d325 100644 --- a/sdk/iot/src/operation/set_default_authorizer/builders.rs +++ b/sdk/iot/src/operation/set_default_authorizer/builders.rs @@ -20,9 +20,9 @@ impl SetDefaultAuthorizerFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -84,6 +84,22 @@ impl SetDefaultAuthorizerFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::set_default_authorizer::SetDefaultAuthorizer, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::set_default_authorizer::SetDefaultAuthorizerError, + >, + > { + self.customize_middleware().await + } ///

                                                                                            The authorizer name.

                                                                                            pub fn authorizer_name( mut self, diff --git a/sdk/iot/src/operation/set_default_policy_version/builders.rs b/sdk/iot/src/operation/set_default_policy_version/builders.rs index 198a65867bc8..00dfecaee39d 100644 --- a/sdk/iot/src/operation/set_default_policy_version/builders.rs +++ b/sdk/iot/src/operation/set_default_policy_version/builders.rs @@ -21,9 +21,9 @@ impl SetDefaultPolicyVersionFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -85,6 +85,22 @@ impl SetDefaultPolicyVersionFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::set_default_policy_version::SetDefaultPolicyVersion, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::set_default_policy_version::SetDefaultPolicyVersionError, + >, + > { + self.customize_middleware().await + } ///

                                                                                            The policy name.

                                                                                            pub fn policy_name(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.policy_name(input.into()); diff --git a/sdk/iot/src/operation/set_logging_options/builders.rs b/sdk/iot/src/operation/set_logging_options/builders.rs index d6de5bd6429e..a5a4d2d11ab3 100644 --- a/sdk/iot/src/operation/set_logging_options/builders.rs +++ b/sdk/iot/src/operation/set_logging_options/builders.rs @@ -21,9 +21,9 @@ impl SetLoggingOptionsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -85,6 +85,22 @@ impl SetLoggingOptionsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::set_logging_options::SetLoggingOptions, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::set_logging_options::SetLoggingOptionsError, + >, + > { + self.customize_middleware().await + } ///

                                                                                            The logging options payload.

                                                                                            pub fn logging_options_payload(mut self, input: crate::types::LoggingOptionsPayload) -> Self { self.inner = self.inner.logging_options_payload(input); diff --git a/sdk/iot/src/operation/set_v2_logging_level/builders.rs b/sdk/iot/src/operation/set_v2_logging_level/builders.rs index c179e7ac61b4..6e8488d21e79 100644 --- a/sdk/iot/src/operation/set_v2_logging_level/builders.rs +++ b/sdk/iot/src/operation/set_v2_logging_level/builders.rs @@ -20,9 +20,9 @@ impl SetV2LoggingLevelFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -84,6 +84,22 @@ impl SetV2LoggingLevelFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::set_v2_logging_level::SetV2LoggingLevel, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::set_v2_logging_level::SetV2LoggingLevelError, + >, + > { + self.customize_middleware().await + } ///

                                                                                            The log target.

                                                                                            pub fn log_target(mut self, input: crate::types::LogTarget) -> Self { self.inner = self.inner.log_target(input); diff --git a/sdk/iot/src/operation/set_v2_logging_options/builders.rs b/sdk/iot/src/operation/set_v2_logging_options/builders.rs index 65e5005f18b6..35016d912263 100644 --- a/sdk/iot/src/operation/set_v2_logging_options/builders.rs +++ b/sdk/iot/src/operation/set_v2_logging_options/builders.rs @@ -20,9 +20,9 @@ impl SetV2LoggingOptionsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -84,6 +84,22 @@ impl SetV2LoggingOptionsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::set_v2_logging_options::SetV2LoggingOptions, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::set_v2_logging_options::SetV2LoggingOptionsError, + >, + > { + self.customize_middleware().await + } ///

                                                                                            The ARN of the role that allows IoT to write to Cloudwatch logs.

                                                                                            pub fn role_arn(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.role_arn(input.into()); diff --git a/sdk/iot/src/operation/start_audit_mitigation_actions_task/builders.rs b/sdk/iot/src/operation/start_audit_mitigation_actions_task/builders.rs index e53f12ae2409..518dc3553a43 100644 --- a/sdk/iot/src/operation/start_audit_mitigation_actions_task/builders.rs +++ b/sdk/iot/src/operation/start_audit_mitigation_actions_task/builders.rs @@ -20,9 +20,9 @@ impl StartAuditMitigationActionsTaskFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize(self) -> ::std::result::Result< + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware(self) -> ::std::result::Result< crate::client::customize::CustomizableOperation, ::aws_smithy_http::result::SdkError >{ @@ -65,6 +65,15 @@ impl StartAuditMitigationActionsTaskFluentBuilder { { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize(self) -> ::std::result::Result< + crate::client::customize::CustomizableOperation, + ::aws_smithy_http::result::SdkError + >{ + self.customize_middleware().await + } ///

                                                                                            A unique identifier for the task. You can use this identifier to check the status of the task or to cancel it.

                                                                                            pub fn task_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.task_id(input.into()); diff --git a/sdk/iot/src/operation/start_detect_mitigation_actions_task/builders.rs b/sdk/iot/src/operation/start_detect_mitigation_actions_task/builders.rs index fbb2b4596357..d29015b7b780 100644 --- a/sdk/iot/src/operation/start_detect_mitigation_actions_task/builders.rs +++ b/sdk/iot/src/operation/start_detect_mitigation_actions_task/builders.rs @@ -20,9 +20,9 @@ impl StartDetectMitigationActionsTaskFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize(self) -> ::std::result::Result< + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware(self) -> ::std::result::Result< crate::client::customize::CustomizableOperation, ::aws_smithy_http::result::SdkError >{ @@ -65,6 +65,15 @@ impl StartDetectMitigationActionsTaskFluentBuilder { { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize(self) -> ::std::result::Result< + crate::client::customize::CustomizableOperation, + ::aws_smithy_http::result::SdkError + >{ + self.customize_middleware().await + } ///

                                                                                            The unique identifier of the task.

                                                                                            pub fn task_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.task_id(input.into()); diff --git a/sdk/iot/src/operation/start_on_demand_audit_task/builders.rs b/sdk/iot/src/operation/start_on_demand_audit_task/builders.rs index 611bc3cd6a71..3f6f34fe7157 100644 --- a/sdk/iot/src/operation/start_on_demand_audit_task/builders.rs +++ b/sdk/iot/src/operation/start_on_demand_audit_task/builders.rs @@ -21,9 +21,9 @@ impl StartOnDemandAuditTaskFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -85,6 +85,22 @@ impl StartOnDemandAuditTaskFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::start_on_demand_audit_task::StartOnDemandAuditTask, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::start_on_demand_audit_task::StartOnDemandAuditTaskError, + >, + > { + self.customize_middleware().await + } /// Appends an item to `targetCheckNames`. /// /// To override the contents of this collection use [`set_target_check_names`](Self::set_target_check_names). diff --git a/sdk/iot/src/operation/start_thing_registration_task/builders.rs b/sdk/iot/src/operation/start_thing_registration_task/builders.rs index 12025648d8ae..0e3b938f74aa 100644 --- a/sdk/iot/src/operation/start_thing_registration_task/builders.rs +++ b/sdk/iot/src/operation/start_thing_registration_task/builders.rs @@ -20,9 +20,9 @@ impl StartThingRegistrationTaskFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -84,6 +84,22 @@ impl StartThingRegistrationTaskFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::start_thing_registration_task::StartThingRegistrationTask, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::start_thing_registration_task::StartThingRegistrationTaskError, + >, + > { + self.customize_middleware().await + } ///

                                                                                            The provisioning template.

                                                                                            pub fn template_body( mut self, diff --git a/sdk/iot/src/operation/stop_thing_registration_task/builders.rs b/sdk/iot/src/operation/stop_thing_registration_task/builders.rs index 2837ebe33529..48a7fd73497d 100644 --- a/sdk/iot/src/operation/stop_thing_registration_task/builders.rs +++ b/sdk/iot/src/operation/stop_thing_registration_task/builders.rs @@ -20,9 +20,9 @@ impl StopThingRegistrationTaskFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -84,6 +84,22 @@ impl StopThingRegistrationTaskFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::stop_thing_registration_task::StopThingRegistrationTask, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::stop_thing_registration_task::StopThingRegistrationTaskError, + >, + > { + self.customize_middleware().await + } ///

                                                                                            The bulk thing provisioning task ID.

                                                                                            pub fn task_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.task_id(input.into()); diff --git a/sdk/iot/src/operation/tag_resource/builders.rs b/sdk/iot/src/operation/tag_resource/builders.rs index d103d50f0d9f..f777eb57e709 100644 --- a/sdk/iot/src/operation/tag_resource/builders.rs +++ b/sdk/iot/src/operation/tag_resource/builders.rs @@ -20,9 +20,9 @@ impl TagResourceFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -78,6 +78,20 @@ impl TagResourceFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::tag_resource::TagResource, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                                            The ARN of the resource.

                                                                                            pub fn resource_arn(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.resource_arn(input.into()); diff --git a/sdk/iot/src/operation/test_authorization/builders.rs b/sdk/iot/src/operation/test_authorization/builders.rs index 30388d791864..f387474aaa92 100644 --- a/sdk/iot/src/operation/test_authorization/builders.rs +++ b/sdk/iot/src/operation/test_authorization/builders.rs @@ -20,9 +20,9 @@ impl TestAuthorizationFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -84,6 +84,22 @@ impl TestAuthorizationFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::test_authorization::TestAuthorization, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::test_authorization::TestAuthorizationError, + >, + > { + self.customize_middleware().await + } ///

                                                                                            The principal. Valid principals are CertificateArn (arn:aws:iot:region:accountId:cert/certificateId), thingGroupArn (arn:aws:iot:region:accountId:thinggroup/groupName) and CognitoId (region:id).

                                                                                            pub fn principal(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.principal(input.into()); diff --git a/sdk/iot/src/operation/test_invoke_authorizer/builders.rs b/sdk/iot/src/operation/test_invoke_authorizer/builders.rs index 3ff1b8b7ef66..96edd04f3b80 100644 --- a/sdk/iot/src/operation/test_invoke_authorizer/builders.rs +++ b/sdk/iot/src/operation/test_invoke_authorizer/builders.rs @@ -20,9 +20,9 @@ impl TestInvokeAuthorizerFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -84,6 +84,22 @@ impl TestInvokeAuthorizerFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::test_invoke_authorizer::TestInvokeAuthorizer, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::test_invoke_authorizer::TestInvokeAuthorizerError, + >, + > { + self.customize_middleware().await + } ///

                                                                                            The custom authorizer name.

                                                                                            pub fn authorizer_name( mut self, diff --git a/sdk/iot/src/operation/transfer_certificate/builders.rs b/sdk/iot/src/operation/transfer_certificate/builders.rs index 4e353d95c278..ffd0cc06bfd9 100644 --- a/sdk/iot/src/operation/transfer_certificate/builders.rs +++ b/sdk/iot/src/operation/transfer_certificate/builders.rs @@ -24,9 +24,9 @@ impl TransferCertificateFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -88,6 +88,22 @@ impl TransferCertificateFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::transfer_certificate::TransferCertificate, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::transfer_certificate::TransferCertificateError, + >, + > { + self.customize_middleware().await + } ///

                                                                                            The ID of the certificate. (The last part of the certificate ARN contains the certificate ID.)

                                                                                            pub fn certificate_id( mut self, diff --git a/sdk/iot/src/operation/untag_resource/builders.rs b/sdk/iot/src/operation/untag_resource/builders.rs index 6095d9ff4d06..0a9c964662ff 100644 --- a/sdk/iot/src/operation/untag_resource/builders.rs +++ b/sdk/iot/src/operation/untag_resource/builders.rs @@ -20,9 +20,9 @@ impl UntagResourceFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -78,6 +78,20 @@ impl UntagResourceFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::untag_resource::UntagResource, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                                            The ARN of the resource.

                                                                                            pub fn resource_arn(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.resource_arn(input.into()); diff --git a/sdk/iot/src/operation/update_account_audit_configuration/builders.rs b/sdk/iot/src/operation/update_account_audit_configuration/builders.rs index 71b73be22f7c..19499316e97a 100644 --- a/sdk/iot/src/operation/update_account_audit_configuration/builders.rs +++ b/sdk/iot/src/operation/update_account_audit_configuration/builders.rs @@ -20,9 +20,9 @@ impl UpdateAccountAuditConfigurationFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize(self) -> ::std::result::Result< + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware(self) -> ::std::result::Result< crate::client::customize::CustomizableOperation, ::aws_smithy_http::result::SdkError >{ @@ -65,6 +65,15 @@ impl UpdateAccountAuditConfigurationFluentBuilder { { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize(self) -> ::std::result::Result< + crate::client::customize::CustomizableOperation, + ::aws_smithy_http::result::SdkError + >{ + self.customize_middleware().await + } ///

                                                                                            The Amazon Resource Name (ARN) of the role that grants permission to IoT to access information about your devices, policies, certificates, and other items as required when performing an audit.

                                                                                            pub fn role_arn(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.role_arn(input.into()); diff --git a/sdk/iot/src/operation/update_audit_suppression/builders.rs b/sdk/iot/src/operation/update_audit_suppression/builders.rs index c5f19c96d4ac..1922267d4db7 100644 --- a/sdk/iot/src/operation/update_audit_suppression/builders.rs +++ b/sdk/iot/src/operation/update_audit_suppression/builders.rs @@ -19,9 +19,9 @@ impl UpdateAuditSuppressionFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl UpdateAuditSuppressionFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::update_audit_suppression::UpdateAuditSuppression, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::update_audit_suppression::UpdateAuditSuppressionError, + >, + > { + self.customize_middleware().await + } ///

                                                                                            An audit check name. Checks must be enabled for your account. (Use DescribeAccountAuditConfiguration to see the list of all checks, including those that are enabled or use UpdateAccountAuditConfiguration to select which checks are enabled.)

                                                                                            pub fn check_name(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.check_name(input.into()); diff --git a/sdk/iot/src/operation/update_authorizer/builders.rs b/sdk/iot/src/operation/update_authorizer/builders.rs index a1bf86c3d9df..ccd164123386 100644 --- a/sdk/iot/src/operation/update_authorizer/builders.rs +++ b/sdk/iot/src/operation/update_authorizer/builders.rs @@ -20,9 +20,9 @@ impl UpdateAuthorizerFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -84,6 +84,22 @@ impl UpdateAuthorizerFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::update_authorizer::UpdateAuthorizer, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::update_authorizer::UpdateAuthorizerError, + >, + > { + self.customize_middleware().await + } ///

                                                                                            The authorizer name.

                                                                                            pub fn authorizer_name( mut self, diff --git a/sdk/iot/src/operation/update_billing_group/builders.rs b/sdk/iot/src/operation/update_billing_group/builders.rs index 1ffd9b638f73..9563438e3603 100644 --- a/sdk/iot/src/operation/update_billing_group/builders.rs +++ b/sdk/iot/src/operation/update_billing_group/builders.rs @@ -20,9 +20,9 @@ impl UpdateBillingGroupFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -84,6 +84,22 @@ impl UpdateBillingGroupFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::update_billing_group::UpdateBillingGroup, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::update_billing_group::UpdateBillingGroupError, + >, + > { + self.customize_middleware().await + } ///

                                                                                            The name of the billing group.

                                                                                            pub fn billing_group_name( mut self, diff --git a/sdk/iot/src/operation/update_ca_certificate/builders.rs b/sdk/iot/src/operation/update_ca_certificate/builders.rs index 8799a23171e2..df2cb9abf916 100644 --- a/sdk/iot/src/operation/update_ca_certificate/builders.rs +++ b/sdk/iot/src/operation/update_ca_certificate/builders.rs @@ -20,9 +20,9 @@ impl UpdateCACertificateFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -84,6 +84,22 @@ impl UpdateCACertificateFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::update_ca_certificate::UpdateCACertificate, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::update_ca_certificate::UpdateCACertificateError, + >, + > { + self.customize_middleware().await + } ///

                                                                                            The CA certificate identifier.

                                                                                            pub fn certificate_id( mut self, diff --git a/sdk/iot/src/operation/update_certificate/builders.rs b/sdk/iot/src/operation/update_certificate/builders.rs index 0ac277dca3ee..4407bf339656 100644 --- a/sdk/iot/src/operation/update_certificate/builders.rs +++ b/sdk/iot/src/operation/update_certificate/builders.rs @@ -22,9 +22,9 @@ impl UpdateCertificateFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -86,6 +86,22 @@ impl UpdateCertificateFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::update_certificate::UpdateCertificate, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::update_certificate::UpdateCertificateError, + >, + > { + self.customize_middleware().await + } ///

                                                                                            The ID of the certificate. (The last part of the certificate ARN contains the certificate ID.)

                                                                                            pub fn certificate_id( mut self, diff --git a/sdk/iot/src/operation/update_custom_metric/builders.rs b/sdk/iot/src/operation/update_custom_metric/builders.rs index a37d9f7819a2..af1c648f9c54 100644 --- a/sdk/iot/src/operation/update_custom_metric/builders.rs +++ b/sdk/iot/src/operation/update_custom_metric/builders.rs @@ -20,9 +20,9 @@ impl UpdateCustomMetricFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -84,6 +84,22 @@ impl UpdateCustomMetricFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::update_custom_metric::UpdateCustomMetric, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::update_custom_metric::UpdateCustomMetricError, + >, + > { + self.customize_middleware().await + } ///

                                                                                            The name of the custom metric. Cannot be updated.

                                                                                            pub fn metric_name(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.metric_name(input.into()); diff --git a/sdk/iot/src/operation/update_dimension/builders.rs b/sdk/iot/src/operation/update_dimension/builders.rs index e6c8eda02d3d..1fb1357d0152 100644 --- a/sdk/iot/src/operation/update_dimension/builders.rs +++ b/sdk/iot/src/operation/update_dimension/builders.rs @@ -20,9 +20,9 @@ impl UpdateDimensionFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -84,6 +84,22 @@ impl UpdateDimensionFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::update_dimension::UpdateDimension, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::update_dimension::UpdateDimensionError, + >, + > { + self.customize_middleware().await + } ///

                                                                                            A unique identifier for the dimension. Choose something that describes the type and value to make it easy to remember what it does.

                                                                                            pub fn name(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.name(input.into()); diff --git a/sdk/iot/src/operation/update_domain_configuration/builders.rs b/sdk/iot/src/operation/update_domain_configuration/builders.rs index 4fc03e034726..4b8100e7c17c 100644 --- a/sdk/iot/src/operation/update_domain_configuration/builders.rs +++ b/sdk/iot/src/operation/update_domain_configuration/builders.rs @@ -20,9 +20,9 @@ impl UpdateDomainConfigurationFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -84,6 +84,22 @@ impl UpdateDomainConfigurationFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::update_domain_configuration::UpdateDomainConfiguration, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::update_domain_configuration::UpdateDomainConfigurationError, + >, + > { + self.customize_middleware().await + } ///

                                                                                            The name of the domain configuration to be updated.

                                                                                            pub fn domain_configuration_name( mut self, diff --git a/sdk/iot/src/operation/update_dynamic_thing_group/builders.rs b/sdk/iot/src/operation/update_dynamic_thing_group/builders.rs index de7ba80e58d4..cb9837792efa 100644 --- a/sdk/iot/src/operation/update_dynamic_thing_group/builders.rs +++ b/sdk/iot/src/operation/update_dynamic_thing_group/builders.rs @@ -21,9 +21,9 @@ impl UpdateDynamicThingGroupFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -85,6 +85,22 @@ impl UpdateDynamicThingGroupFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::update_dynamic_thing_group::UpdateDynamicThingGroup, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::update_dynamic_thing_group::UpdateDynamicThingGroupError, + >, + > { + self.customize_middleware().await + } ///

                                                                                            The name of the dynamic thing group to update.

                                                                                            pub fn thing_group_name( mut self, diff --git a/sdk/iot/src/operation/update_event_configurations/builders.rs b/sdk/iot/src/operation/update_event_configurations/builders.rs index 73db0a413370..fcdeebb9c310 100644 --- a/sdk/iot/src/operation/update_event_configurations/builders.rs +++ b/sdk/iot/src/operation/update_event_configurations/builders.rs @@ -20,9 +20,9 @@ impl UpdateEventConfigurationsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -84,6 +84,22 @@ impl UpdateEventConfigurationsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::update_event_configurations::UpdateEventConfigurations, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::update_event_configurations::UpdateEventConfigurationsError, + >, + > { + self.customize_middleware().await + } /// Adds a key-value pair to `eventConfigurations`. /// /// To override the contents of this collection use [`set_event_configurations`](Self::set_event_configurations). diff --git a/sdk/iot/src/operation/update_fleet_metric/builders.rs b/sdk/iot/src/operation/update_fleet_metric/builders.rs index bf2e12dcefcc..aa6cad486a2c 100644 --- a/sdk/iot/src/operation/update_fleet_metric/builders.rs +++ b/sdk/iot/src/operation/update_fleet_metric/builders.rs @@ -20,9 +20,9 @@ impl UpdateFleetMetricFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -84,6 +84,22 @@ impl UpdateFleetMetricFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::update_fleet_metric::UpdateFleetMetric, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::update_fleet_metric::UpdateFleetMetricError, + >, + > { + self.customize_middleware().await + } ///

                                                                                            The name of the fleet metric to update.

                                                                                            pub fn metric_name(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.metric_name(input.into()); diff --git a/sdk/iot/src/operation/update_indexing_configuration/builders.rs b/sdk/iot/src/operation/update_indexing_configuration/builders.rs index 947da38c1f28..55dfaa69814d 100644 --- a/sdk/iot/src/operation/update_indexing_configuration/builders.rs +++ b/sdk/iot/src/operation/update_indexing_configuration/builders.rs @@ -20,9 +20,9 @@ impl UpdateIndexingConfigurationFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -84,6 +84,22 @@ impl UpdateIndexingConfigurationFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::update_indexing_configuration::UpdateIndexingConfiguration, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::update_indexing_configuration::UpdateIndexingConfigurationError, + >, + > { + self.customize_middleware().await + } ///

                                                                                            Thing indexing configuration.

                                                                                            pub fn thing_indexing_configuration( mut self, diff --git a/sdk/iot/src/operation/update_job/builders.rs b/sdk/iot/src/operation/update_job/builders.rs index 7ffb932fcf0a..732124119f5e 100644 --- a/sdk/iot/src/operation/update_job/builders.rs +++ b/sdk/iot/src/operation/update_job/builders.rs @@ -20,9 +20,9 @@ impl UpdateJobFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -78,6 +78,20 @@ impl UpdateJobFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::update_job::UpdateJob, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                                            The ID of the job to be updated.

                                                                                            pub fn job_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.job_id(input.into()); diff --git a/sdk/iot/src/operation/update_mitigation_action/builders.rs b/sdk/iot/src/operation/update_mitigation_action/builders.rs index 9b632873896c..e2fc25f9a748 100644 --- a/sdk/iot/src/operation/update_mitigation_action/builders.rs +++ b/sdk/iot/src/operation/update_mitigation_action/builders.rs @@ -20,9 +20,9 @@ impl UpdateMitigationActionFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -84,6 +84,22 @@ impl UpdateMitigationActionFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::update_mitigation_action::UpdateMitigationAction, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::update_mitigation_action::UpdateMitigationActionError, + >, + > { + self.customize_middleware().await + } ///

                                                                                            The friendly name for the mitigation action. You cannot change the name by using UpdateMitigationAction. Instead, you must delete and recreate the mitigation action with the new name.

                                                                                            pub fn action_name(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.action_name(input.into()); diff --git a/sdk/iot/src/operation/update_provisioning_template/builders.rs b/sdk/iot/src/operation/update_provisioning_template/builders.rs index 89751e1ca5bd..1d62cd5f8db9 100644 --- a/sdk/iot/src/operation/update_provisioning_template/builders.rs +++ b/sdk/iot/src/operation/update_provisioning_template/builders.rs @@ -20,9 +20,9 @@ impl UpdateProvisioningTemplateFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -84,6 +84,22 @@ impl UpdateProvisioningTemplateFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::update_provisioning_template::UpdateProvisioningTemplate, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::update_provisioning_template::UpdateProvisioningTemplateError, + >, + > { + self.customize_middleware().await + } ///

                                                                                            The name of the provisioning template.

                                                                                            pub fn template_name( mut self, diff --git a/sdk/iot/src/operation/update_role_alias/builders.rs b/sdk/iot/src/operation/update_role_alias/builders.rs index e0a1714736f7..db186bf76c7d 100644 --- a/sdk/iot/src/operation/update_role_alias/builders.rs +++ b/sdk/iot/src/operation/update_role_alias/builders.rs @@ -20,9 +20,9 @@ impl UpdateRoleAliasFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -84,6 +84,22 @@ impl UpdateRoleAliasFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::update_role_alias::UpdateRoleAlias, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::update_role_alias::UpdateRoleAliasError, + >, + > { + self.customize_middleware().await + } ///

                                                                                            The role alias to update.

                                                                                            pub fn role_alias(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.role_alias(input.into()); diff --git a/sdk/iot/src/operation/update_scheduled_audit/builders.rs b/sdk/iot/src/operation/update_scheduled_audit/builders.rs index 92991f90c5ab..cb6c161548cc 100644 --- a/sdk/iot/src/operation/update_scheduled_audit/builders.rs +++ b/sdk/iot/src/operation/update_scheduled_audit/builders.rs @@ -20,9 +20,9 @@ impl UpdateScheduledAuditFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -84,6 +84,22 @@ impl UpdateScheduledAuditFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::update_scheduled_audit::UpdateScheduledAudit, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::update_scheduled_audit::UpdateScheduledAuditError, + >, + > { + self.customize_middleware().await + } ///

                                                                                            How often the scheduled audit takes place, either DAILY, WEEKLY, BIWEEKLY, or MONTHLY. The start time of each audit is determined by the system.

                                                                                            pub fn frequency(mut self, input: crate::types::AuditFrequency) -> Self { self.inner = self.inner.frequency(input); diff --git a/sdk/iot/src/operation/update_security_profile/builders.rs b/sdk/iot/src/operation/update_security_profile/builders.rs index 0bb8b99446a3..fd0d37da14b0 100644 --- a/sdk/iot/src/operation/update_security_profile/builders.rs +++ b/sdk/iot/src/operation/update_security_profile/builders.rs @@ -20,9 +20,9 @@ impl UpdateSecurityProfileFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -84,6 +84,22 @@ impl UpdateSecurityProfileFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::update_security_profile::UpdateSecurityProfile, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::update_security_profile::UpdateSecurityProfileError, + >, + > { + self.customize_middleware().await + } ///

                                                                                            The name of the security profile you want to update.

                                                                                            pub fn security_profile_name( mut self, diff --git a/sdk/iot/src/operation/update_stream/builders.rs b/sdk/iot/src/operation/update_stream/builders.rs index 9cd096fd2400..4335f50bfe1f 100644 --- a/sdk/iot/src/operation/update_stream/builders.rs +++ b/sdk/iot/src/operation/update_stream/builders.rs @@ -20,9 +20,9 @@ impl UpdateStreamFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -78,6 +78,20 @@ impl UpdateStreamFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::update_stream::UpdateStream, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                                            The stream ID.

                                                                                            pub fn stream_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.stream_id(input.into()); diff --git a/sdk/iot/src/operation/update_thing/builders.rs b/sdk/iot/src/operation/update_thing/builders.rs index f92c1df52122..cb1ced5b7e63 100644 --- a/sdk/iot/src/operation/update_thing/builders.rs +++ b/sdk/iot/src/operation/update_thing/builders.rs @@ -20,9 +20,9 @@ impl UpdateThingFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -78,6 +78,20 @@ impl UpdateThingFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::update_thing::UpdateThing, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                                            The name of the thing to update.

                                                                                            ///

                                                                                            You can't change a thing's name. To change a thing's name, you must create a new thing, give it the new name, and then delete the old thing.

                                                                                            pub fn thing_name(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { diff --git a/sdk/iot/src/operation/update_thing_group/builders.rs b/sdk/iot/src/operation/update_thing_group/builders.rs index 7baa6092c27e..f594d6acb763 100644 --- a/sdk/iot/src/operation/update_thing_group/builders.rs +++ b/sdk/iot/src/operation/update_thing_group/builders.rs @@ -20,9 +20,9 @@ impl UpdateThingGroupFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -84,6 +84,22 @@ impl UpdateThingGroupFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::update_thing_group::UpdateThingGroup, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::update_thing_group::UpdateThingGroupError, + >, + > { + self.customize_middleware().await + } ///

                                                                                            The thing group to update.

                                                                                            pub fn thing_group_name( mut self, diff --git a/sdk/iot/src/operation/update_thing_groups_for_thing/builders.rs b/sdk/iot/src/operation/update_thing_groups_for_thing/builders.rs index 7b342a2f2d1b..6f0a681fa125 100644 --- a/sdk/iot/src/operation/update_thing_groups_for_thing/builders.rs +++ b/sdk/iot/src/operation/update_thing_groups_for_thing/builders.rs @@ -20,9 +20,9 @@ impl UpdateThingGroupsForThingFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -84,6 +84,22 @@ impl UpdateThingGroupsForThingFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::update_thing_groups_for_thing::UpdateThingGroupsForThing, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::update_thing_groups_for_thing::UpdateThingGroupsForThingError, + >, + > { + self.customize_middleware().await + } ///

                                                                                            The thing whose group memberships will be updated.

                                                                                            pub fn thing_name(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.thing_name(input.into()); diff --git a/sdk/iot/src/operation/update_topic_rule_destination/builders.rs b/sdk/iot/src/operation/update_topic_rule_destination/builders.rs index c00400d02422..4795a281bbf5 100644 --- a/sdk/iot/src/operation/update_topic_rule_destination/builders.rs +++ b/sdk/iot/src/operation/update_topic_rule_destination/builders.rs @@ -20,9 +20,9 @@ impl UpdateTopicRuleDestinationFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -84,6 +84,22 @@ impl UpdateTopicRuleDestinationFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::update_topic_rule_destination::UpdateTopicRuleDestination, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::update_topic_rule_destination::UpdateTopicRuleDestinationError, + >, + > { + self.customize_middleware().await + } ///

                                                                                            The ARN of the topic rule destination.

                                                                                            pub fn arn(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.arn(input.into()); diff --git a/sdk/iot/src/operation/validate_security_profile_behaviors/builders.rs b/sdk/iot/src/operation/validate_security_profile_behaviors/builders.rs index dd545ef59650..046c58101056 100644 --- a/sdk/iot/src/operation/validate_security_profile_behaviors/builders.rs +++ b/sdk/iot/src/operation/validate_security_profile_behaviors/builders.rs @@ -20,9 +20,9 @@ impl ValidateSecurityProfileBehaviorsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize(self) -> ::std::result::Result< + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware(self) -> ::std::result::Result< crate::client::customize::CustomizableOperation, ::aws_smithy_http::result::SdkError >{ @@ -65,6 +65,15 @@ impl ValidateSecurityProfileBehaviorsFluentBuilder { { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize(self) -> ::std::result::Result< + crate::client::customize::CustomizableOperation, + ::aws_smithy_http::result::SdkError + >{ + self.customize_middleware().await + } /// Appends an item to `behaviors`. /// /// To override the contents of this collection use [`set_behaviors`](Self::set_behaviors). diff --git a/sdk/iot1clickdevices/src/operation/claim_devices_by_claim_code/builders.rs b/sdk/iot1clickdevices/src/operation/claim_devices_by_claim_code/builders.rs index a4defa137493..7164aa424a96 100644 --- a/sdk/iot1clickdevices/src/operation/claim_devices_by_claim_code/builders.rs +++ b/sdk/iot1clickdevices/src/operation/claim_devices_by_claim_code/builders.rs @@ -19,9 +19,9 @@ impl ClaimDevicesByClaimCodeFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl ClaimDevicesByClaimCodeFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::claim_devices_by_claim_code::ClaimDevicesByClaimCode, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::claim_devices_by_claim_code::ClaimDevicesByClaimCodeError, + >, + > { + self.customize_middleware().await + } ///

                                                                                            The claim code, starting with "C-", as provided by the device manufacturer.

                                                                                            pub fn claim_code(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.claim_code(input.into()); diff --git a/sdk/iot1clickdevices/src/operation/describe_device/builders.rs b/sdk/iot1clickdevices/src/operation/describe_device/builders.rs index f398f98800fa..12281375b34c 100644 --- a/sdk/iot1clickdevices/src/operation/describe_device/builders.rs +++ b/sdk/iot1clickdevices/src/operation/describe_device/builders.rs @@ -19,9 +19,9 @@ impl DescribeDeviceFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl DescribeDeviceFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::describe_device::DescribeDevice, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                                            The unique identifier of the device.

                                                                                            pub fn device_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.device_id(input.into()); diff --git a/sdk/iot1clickdevices/src/operation/finalize_device_claim/builders.rs b/sdk/iot1clickdevices/src/operation/finalize_device_claim/builders.rs index 034dc3c22e88..93d51cc3dad3 100644 --- a/sdk/iot1clickdevices/src/operation/finalize_device_claim/builders.rs +++ b/sdk/iot1clickdevices/src/operation/finalize_device_claim/builders.rs @@ -21,9 +21,9 @@ impl FinalizeDeviceClaimFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -85,6 +85,22 @@ impl FinalizeDeviceClaimFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::finalize_device_claim::FinalizeDeviceClaim, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::finalize_device_claim::FinalizeDeviceClaimError, + >, + > { + self.customize_middleware().await + } ///

                                                                                            The unique identifier of the device.

                                                                                            pub fn device_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.device_id(input.into()); diff --git a/sdk/iot1clickdevices/src/operation/get_device_methods/builders.rs b/sdk/iot1clickdevices/src/operation/get_device_methods/builders.rs index cabf200ad305..8ef641822c6a 100644 --- a/sdk/iot1clickdevices/src/operation/get_device_methods/builders.rs +++ b/sdk/iot1clickdevices/src/operation/get_device_methods/builders.rs @@ -19,9 +19,9 @@ impl GetDeviceMethodsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl GetDeviceMethodsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::get_device_methods::GetDeviceMethods, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::get_device_methods::GetDeviceMethodsError, + >, + > { + self.customize_middleware().await + } ///

                                                                                            The unique identifier of the device.

                                                                                            pub fn device_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.device_id(input.into()); diff --git a/sdk/iot1clickdevices/src/operation/initiate_device_claim/builders.rs b/sdk/iot1clickdevices/src/operation/initiate_device_claim/builders.rs index 841a50303c96..87e021525d60 100644 --- a/sdk/iot1clickdevices/src/operation/initiate_device_claim/builders.rs +++ b/sdk/iot1clickdevices/src/operation/initiate_device_claim/builders.rs @@ -21,9 +21,9 @@ impl InitiateDeviceClaimFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -85,6 +85,22 @@ impl InitiateDeviceClaimFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::initiate_device_claim::InitiateDeviceClaim, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::initiate_device_claim::InitiateDeviceClaimError, + >, + > { + self.customize_middleware().await + } ///

                                                                                            The unique identifier of the device.

                                                                                            pub fn device_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.device_id(input.into()); diff --git a/sdk/iot1clickdevices/src/operation/invoke_device_method/builders.rs b/sdk/iot1clickdevices/src/operation/invoke_device_method/builders.rs index a90f034362e0..f3cd4a2ac888 100644 --- a/sdk/iot1clickdevices/src/operation/invoke_device_method/builders.rs +++ b/sdk/iot1clickdevices/src/operation/invoke_device_method/builders.rs @@ -19,9 +19,9 @@ impl InvokeDeviceMethodFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl InvokeDeviceMethodFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::invoke_device_method::InvokeDeviceMethod, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::invoke_device_method::InvokeDeviceMethodError, + >, + > { + self.customize_middleware().await + } ///

                                                                                            The unique identifier of the device.

                                                                                            pub fn device_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.device_id(input.into()); diff --git a/sdk/iot1clickdevices/src/operation/list_device_events/builders.rs b/sdk/iot1clickdevices/src/operation/list_device_events/builders.rs index 1819365c9324..b998e631b833 100644 --- a/sdk/iot1clickdevices/src/operation/list_device_events/builders.rs +++ b/sdk/iot1clickdevices/src/operation/list_device_events/builders.rs @@ -19,9 +19,9 @@ impl ListDeviceEventsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl ListDeviceEventsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_device_events::ListDeviceEvents, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::list_device_events::ListDeviceEventsError, + >, + > { + self.customize_middleware().await + } ///

                                                                                            The unique identifier of the device.

                                                                                            pub fn device_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.device_id(input.into()); diff --git a/sdk/iot1clickdevices/src/operation/list_devices/builders.rs b/sdk/iot1clickdevices/src/operation/list_devices/builders.rs index f3d9aec1be69..224ad1e6513c 100644 --- a/sdk/iot1clickdevices/src/operation/list_devices/builders.rs +++ b/sdk/iot1clickdevices/src/operation/list_devices/builders.rs @@ -19,9 +19,9 @@ impl ListDevicesFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl ListDevicesFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_devices::ListDevices, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                                            The type of the device, such as "button".

                                                                                            pub fn device_type(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.device_type(input.into()); diff --git a/sdk/iot1clickdevices/src/operation/list_tags_for_resource/builders.rs b/sdk/iot1clickdevices/src/operation/list_tags_for_resource/builders.rs index 991497d977e6..8faefdedfe94 100644 --- a/sdk/iot1clickdevices/src/operation/list_tags_for_resource/builders.rs +++ b/sdk/iot1clickdevices/src/operation/list_tags_for_resource/builders.rs @@ -19,9 +19,9 @@ impl ListTagsForResourceFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl ListTagsForResourceFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_tags_for_resource::ListTagsForResource, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::list_tags_for_resource::ListTagsForResourceError, + >, + > { + self.customize_middleware().await + } ///

                                                                                            The ARN of the resource.

                                                                                            pub fn resource_arn(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.resource_arn(input.into()); diff --git a/sdk/iot1clickdevices/src/operation/tag_resource/builders.rs b/sdk/iot1clickdevices/src/operation/tag_resource/builders.rs index 953f95ae731d..4568c4162ab0 100644 --- a/sdk/iot1clickdevices/src/operation/tag_resource/builders.rs +++ b/sdk/iot1clickdevices/src/operation/tag_resource/builders.rs @@ -19,9 +19,9 @@ impl TagResourceFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl TagResourceFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::tag_resource::TagResource, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                                            The ARN of the resource.

                                                                                            pub fn resource_arn(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.resource_arn(input.into()); diff --git a/sdk/iot1clickdevices/src/operation/unclaim_device/builders.rs b/sdk/iot1clickdevices/src/operation/unclaim_device/builders.rs index d86ef9e5ba67..d393625ce9c9 100644 --- a/sdk/iot1clickdevices/src/operation/unclaim_device/builders.rs +++ b/sdk/iot1clickdevices/src/operation/unclaim_device/builders.rs @@ -19,9 +19,9 @@ impl UnclaimDeviceFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl UnclaimDeviceFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::unclaim_device::UnclaimDevice, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                                            The unique identifier of the device.

                                                                                            pub fn device_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.device_id(input.into()); diff --git a/sdk/iot1clickdevices/src/operation/untag_resource/builders.rs b/sdk/iot1clickdevices/src/operation/untag_resource/builders.rs index 3a830e3f84d3..01a3b2708c20 100644 --- a/sdk/iot1clickdevices/src/operation/untag_resource/builders.rs +++ b/sdk/iot1clickdevices/src/operation/untag_resource/builders.rs @@ -19,9 +19,9 @@ impl UntagResourceFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl UntagResourceFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::untag_resource::UntagResource, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                                            The ARN of the resource.

                                                                                            pub fn resource_arn(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.resource_arn(input.into()); diff --git a/sdk/iot1clickdevices/src/operation/update_device_state/builders.rs b/sdk/iot1clickdevices/src/operation/update_device_state/builders.rs index a84009576815..9c0f0483a515 100644 --- a/sdk/iot1clickdevices/src/operation/update_device_state/builders.rs +++ b/sdk/iot1clickdevices/src/operation/update_device_state/builders.rs @@ -19,9 +19,9 @@ impl UpdateDeviceStateFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl UpdateDeviceStateFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::update_device_state::UpdateDeviceState, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::update_device_state::UpdateDeviceStateError, + >, + > { + self.customize_middleware().await + } ///

                                                                                            The unique identifier of the device.

                                                                                            pub fn device_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.device_id(input.into()); diff --git a/sdk/iot1clickprojects/src/operation/associate_device_with_placement/builders.rs b/sdk/iot1clickprojects/src/operation/associate_device_with_placement/builders.rs index c0cb2d9ce05c..b62313d34e51 100644 --- a/sdk/iot1clickprojects/src/operation/associate_device_with_placement/builders.rs +++ b/sdk/iot1clickprojects/src/operation/associate_device_with_placement/builders.rs @@ -19,9 +19,9 @@ impl AssociateDeviceWithPlacementFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl AssociateDeviceWithPlacementFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::associate_device_with_placement::AssociateDeviceWithPlacement, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::associate_device_with_placement::AssociateDeviceWithPlacementError, + >, + > { + self.customize_middleware().await + } ///

                                                                                            The name of the project containing the placement in which to associate the device.

                                                                                            pub fn project_name(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.project_name(input.into()); diff --git a/sdk/iot1clickprojects/src/operation/create_placement/builders.rs b/sdk/iot1clickprojects/src/operation/create_placement/builders.rs index 9427e1a26334..11d6660a8da6 100644 --- a/sdk/iot1clickprojects/src/operation/create_placement/builders.rs +++ b/sdk/iot1clickprojects/src/operation/create_placement/builders.rs @@ -19,9 +19,9 @@ impl CreatePlacementFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl CreatePlacementFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::create_placement::CreatePlacement, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::create_placement::CreatePlacementError, + >, + > { + self.customize_middleware().await + } ///

                                                                                            The name of the placement to be created.

                                                                                            pub fn placement_name( mut self, diff --git a/sdk/iot1clickprojects/src/operation/create_project/builders.rs b/sdk/iot1clickprojects/src/operation/create_project/builders.rs index aaddb8269100..d654225b9860 100644 --- a/sdk/iot1clickprojects/src/operation/create_project/builders.rs +++ b/sdk/iot1clickprojects/src/operation/create_project/builders.rs @@ -19,9 +19,9 @@ impl CreateProjectFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl CreateProjectFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::create_project::CreateProject, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                                            The name of the project to create.

                                                                                            pub fn project_name(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.project_name(input.into()); diff --git a/sdk/iot1clickprojects/src/operation/delete_placement/builders.rs b/sdk/iot1clickprojects/src/operation/delete_placement/builders.rs index b190b0569355..20d5641aed64 100644 --- a/sdk/iot1clickprojects/src/operation/delete_placement/builders.rs +++ b/sdk/iot1clickprojects/src/operation/delete_placement/builders.rs @@ -21,9 +21,9 @@ impl DeletePlacementFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -85,6 +85,22 @@ impl DeletePlacementFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::delete_placement::DeletePlacement, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::delete_placement::DeletePlacementError, + >, + > { + self.customize_middleware().await + } ///

                                                                                            The name of the empty placement to delete.

                                                                                            pub fn placement_name( mut self, diff --git a/sdk/iot1clickprojects/src/operation/delete_project/builders.rs b/sdk/iot1clickprojects/src/operation/delete_project/builders.rs index 93115e12e3cf..2621393ba5ec 100644 --- a/sdk/iot1clickprojects/src/operation/delete_project/builders.rs +++ b/sdk/iot1clickprojects/src/operation/delete_project/builders.rs @@ -21,9 +21,9 @@ impl DeleteProjectFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -79,6 +79,20 @@ impl DeleteProjectFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::delete_project::DeleteProject, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                                            The name of the empty project to delete.

                                                                                            pub fn project_name(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.project_name(input.into()); diff --git a/sdk/iot1clickprojects/src/operation/describe_placement/builders.rs b/sdk/iot1clickprojects/src/operation/describe_placement/builders.rs index 2595421b794a..f8b05873e6e0 100644 --- a/sdk/iot1clickprojects/src/operation/describe_placement/builders.rs +++ b/sdk/iot1clickprojects/src/operation/describe_placement/builders.rs @@ -19,9 +19,9 @@ impl DescribePlacementFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl DescribePlacementFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::describe_placement::DescribePlacement, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::describe_placement::DescribePlacementError, + >, + > { + self.customize_middleware().await + } ///

                                                                                            The name of the placement within a project.

                                                                                            pub fn placement_name( mut self, diff --git a/sdk/iot1clickprojects/src/operation/describe_project/builders.rs b/sdk/iot1clickprojects/src/operation/describe_project/builders.rs index 8ecba31967d2..1a48e15958b2 100644 --- a/sdk/iot1clickprojects/src/operation/describe_project/builders.rs +++ b/sdk/iot1clickprojects/src/operation/describe_project/builders.rs @@ -19,9 +19,9 @@ impl DescribeProjectFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl DescribeProjectFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::describe_project::DescribeProject, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::describe_project::DescribeProjectError, + >, + > { + self.customize_middleware().await + } ///

                                                                                            The name of the project to be described.

                                                                                            pub fn project_name(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.project_name(input.into()); diff --git a/sdk/iot1clickprojects/src/operation/disassociate_device_from_placement/builders.rs b/sdk/iot1clickprojects/src/operation/disassociate_device_from_placement/builders.rs index 37917af84062..18ee6a7bf31e 100644 --- a/sdk/iot1clickprojects/src/operation/disassociate_device_from_placement/builders.rs +++ b/sdk/iot1clickprojects/src/operation/disassociate_device_from_placement/builders.rs @@ -19,9 +19,9 @@ impl DisassociateDeviceFromPlacementFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize(self) -> ::std::result::Result< + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware(self) -> ::std::result::Result< crate::client::customize::CustomizableOperation, ::aws_smithy_http::result::SdkError >{ @@ -64,6 +64,15 @@ impl DisassociateDeviceFromPlacementFluentBuilder { { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize(self) -> ::std::result::Result< + crate::client::customize::CustomizableOperation, + ::aws_smithy_http::result::SdkError + >{ + self.customize_middleware().await + } ///

                                                                                            The name of the project that contains the placement.

                                                                                            pub fn project_name(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.project_name(input.into()); diff --git a/sdk/iot1clickprojects/src/operation/get_devices_in_placement/builders.rs b/sdk/iot1clickprojects/src/operation/get_devices_in_placement/builders.rs index fd003a6baeb2..93773ee0e652 100644 --- a/sdk/iot1clickprojects/src/operation/get_devices_in_placement/builders.rs +++ b/sdk/iot1clickprojects/src/operation/get_devices_in_placement/builders.rs @@ -19,9 +19,9 @@ impl GetDevicesInPlacementFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl GetDevicesInPlacementFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::get_devices_in_placement::GetDevicesInPlacement, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::get_devices_in_placement::GetDevicesInPlacementError, + >, + > { + self.customize_middleware().await + } ///

                                                                                            The name of the project containing the placement.

                                                                                            pub fn project_name(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.project_name(input.into()); diff --git a/sdk/iot1clickprojects/src/operation/list_placements/builders.rs b/sdk/iot1clickprojects/src/operation/list_placements/builders.rs index 4320307ad1ce..651af4f4e407 100644 --- a/sdk/iot1clickprojects/src/operation/list_placements/builders.rs +++ b/sdk/iot1clickprojects/src/operation/list_placements/builders.rs @@ -19,9 +19,9 @@ impl ListPlacementsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl ListPlacementsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_placements::ListPlacements, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::list_placements::paginator::ListPlacementsPaginator::send) which returns a `Stream`. diff --git a/sdk/iot1clickprojects/src/operation/list_projects/builders.rs b/sdk/iot1clickprojects/src/operation/list_projects/builders.rs index 94c78b2880be..731af690b6c3 100644 --- a/sdk/iot1clickprojects/src/operation/list_projects/builders.rs +++ b/sdk/iot1clickprojects/src/operation/list_projects/builders.rs @@ -19,9 +19,9 @@ impl ListProjectsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl ListProjectsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_projects::ListProjects, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::list_projects::paginator::ListProjectsPaginator::send) which returns a `Stream`. diff --git a/sdk/iot1clickprojects/src/operation/list_tags_for_resource/builders.rs b/sdk/iot1clickprojects/src/operation/list_tags_for_resource/builders.rs index 380ef9584545..07e1fcb52fd9 100644 --- a/sdk/iot1clickprojects/src/operation/list_tags_for_resource/builders.rs +++ b/sdk/iot1clickprojects/src/operation/list_tags_for_resource/builders.rs @@ -19,9 +19,9 @@ impl ListTagsForResourceFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl ListTagsForResourceFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_tags_for_resource::ListTagsForResource, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::list_tags_for_resource::ListTagsForResourceError, + >, + > { + self.customize_middleware().await + } ///

                                                                                            The ARN of the resource whose tags you want to list.

                                                                                            pub fn resource_arn(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.resource_arn(input.into()); diff --git a/sdk/iot1clickprojects/src/operation/tag_resource/builders.rs b/sdk/iot1clickprojects/src/operation/tag_resource/builders.rs index 9e6ed7931214..ee56696f93de 100644 --- a/sdk/iot1clickprojects/src/operation/tag_resource/builders.rs +++ b/sdk/iot1clickprojects/src/operation/tag_resource/builders.rs @@ -19,9 +19,9 @@ impl TagResourceFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl TagResourceFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::tag_resource::TagResource, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                                            The ARN of the resouce for which tag(s) should be added or modified.

                                                                                            pub fn resource_arn(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.resource_arn(input.into()); diff --git a/sdk/iot1clickprojects/src/operation/untag_resource/builders.rs b/sdk/iot1clickprojects/src/operation/untag_resource/builders.rs index 83a7906c9475..bd14024be1cd 100644 --- a/sdk/iot1clickprojects/src/operation/untag_resource/builders.rs +++ b/sdk/iot1clickprojects/src/operation/untag_resource/builders.rs @@ -19,9 +19,9 @@ impl UntagResourceFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl UntagResourceFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::untag_resource::UntagResource, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                                            The ARN of the resource whose tag you want to remove.

                                                                                            pub fn resource_arn(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.resource_arn(input.into()); diff --git a/sdk/iot1clickprojects/src/operation/update_placement/builders.rs b/sdk/iot1clickprojects/src/operation/update_placement/builders.rs index 884603363b08..801e8fb59262 100644 --- a/sdk/iot1clickprojects/src/operation/update_placement/builders.rs +++ b/sdk/iot1clickprojects/src/operation/update_placement/builders.rs @@ -19,9 +19,9 @@ impl UpdatePlacementFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl UpdatePlacementFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::update_placement::UpdatePlacement, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::update_placement::UpdatePlacementError, + >, + > { + self.customize_middleware().await + } ///

                                                                                            The name of the placement to update.

                                                                                            pub fn placement_name( mut self, diff --git a/sdk/iot1clickprojects/src/operation/update_project/builders.rs b/sdk/iot1clickprojects/src/operation/update_project/builders.rs index 0272645a3f37..9b60fc01a26b 100644 --- a/sdk/iot1clickprojects/src/operation/update_project/builders.rs +++ b/sdk/iot1clickprojects/src/operation/update_project/builders.rs @@ -19,9 +19,9 @@ impl UpdateProjectFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl UpdateProjectFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::update_project::UpdateProject, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                                            The name of the project to be updated.

                                                                                            pub fn project_name(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.project_name(input.into()); diff --git a/sdk/iotanalytics/src/operation/batch_put_message/builders.rs b/sdk/iotanalytics/src/operation/batch_put_message/builders.rs index 54dc3b2d3d9b..66daf795963f 100644 --- a/sdk/iotanalytics/src/operation/batch_put_message/builders.rs +++ b/sdk/iotanalytics/src/operation/batch_put_message/builders.rs @@ -19,9 +19,9 @@ impl BatchPutMessageFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl BatchPutMessageFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::batch_put_message::BatchPutMessage, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::batch_put_message::BatchPutMessageError, + >, + > { + self.customize_middleware().await + } ///

                                                                                            The name of the channel where the messages are sent.

                                                                                            pub fn channel_name(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.channel_name(input.into()); diff --git a/sdk/iotanalytics/src/operation/cancel_pipeline_reprocessing/builders.rs b/sdk/iotanalytics/src/operation/cancel_pipeline_reprocessing/builders.rs index 3e36058df5a5..eb04abd72828 100644 --- a/sdk/iotanalytics/src/operation/cancel_pipeline_reprocessing/builders.rs +++ b/sdk/iotanalytics/src/operation/cancel_pipeline_reprocessing/builders.rs @@ -19,9 +19,9 @@ impl CancelPipelineReprocessingFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl CancelPipelineReprocessingFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::cancel_pipeline_reprocessing::CancelPipelineReprocessing, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::cancel_pipeline_reprocessing::CancelPipelineReprocessingError, + >, + > { + self.customize_middleware().await + } ///

                                                                                            The name of pipeline for which data reprocessing is canceled.

                                                                                            pub fn pipeline_name( mut self, diff --git a/sdk/iotanalytics/src/operation/create_channel/builders.rs b/sdk/iotanalytics/src/operation/create_channel/builders.rs index 70d23e423ee1..fa95c3d20418 100644 --- a/sdk/iotanalytics/src/operation/create_channel/builders.rs +++ b/sdk/iotanalytics/src/operation/create_channel/builders.rs @@ -19,9 +19,9 @@ impl CreateChannelFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl CreateChannelFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::create_channel::CreateChannel, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                                            The name of the channel.

                                                                                            pub fn channel_name(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.channel_name(input.into()); diff --git a/sdk/iotanalytics/src/operation/create_dataset/builders.rs b/sdk/iotanalytics/src/operation/create_dataset/builders.rs index 40e1309050fa..58907d78ed17 100644 --- a/sdk/iotanalytics/src/operation/create_dataset/builders.rs +++ b/sdk/iotanalytics/src/operation/create_dataset/builders.rs @@ -19,9 +19,9 @@ impl CreateDatasetFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl CreateDatasetFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::create_dataset::CreateDataset, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                                            The name of the dataset.

                                                                                            pub fn dataset_name(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.dataset_name(input.into()); diff --git a/sdk/iotanalytics/src/operation/create_dataset_content/builders.rs b/sdk/iotanalytics/src/operation/create_dataset_content/builders.rs index 9272a73a8adc..3d6a004582e0 100644 --- a/sdk/iotanalytics/src/operation/create_dataset_content/builders.rs +++ b/sdk/iotanalytics/src/operation/create_dataset_content/builders.rs @@ -19,9 +19,9 @@ impl CreateDatasetContentFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl CreateDatasetContentFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::create_dataset_content::CreateDatasetContent, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::create_dataset_content::CreateDatasetContentError, + >, + > { + self.customize_middleware().await + } ///

                                                                                            The name of the dataset.

                                                                                            pub fn dataset_name(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.dataset_name(input.into()); diff --git a/sdk/iotanalytics/src/operation/create_datastore/builders.rs b/sdk/iotanalytics/src/operation/create_datastore/builders.rs index 77b7500d508a..29a37751c594 100644 --- a/sdk/iotanalytics/src/operation/create_datastore/builders.rs +++ b/sdk/iotanalytics/src/operation/create_datastore/builders.rs @@ -19,9 +19,9 @@ impl CreateDatastoreFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl CreateDatastoreFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::create_datastore::CreateDatastore, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::create_datastore::CreateDatastoreError, + >, + > { + self.customize_middleware().await + } ///

                                                                                            The name of the data store.

                                                                                            pub fn datastore_name( mut self, diff --git a/sdk/iotanalytics/src/operation/create_pipeline/builders.rs b/sdk/iotanalytics/src/operation/create_pipeline/builders.rs index 5ec63d4adfc4..107738100faf 100644 --- a/sdk/iotanalytics/src/operation/create_pipeline/builders.rs +++ b/sdk/iotanalytics/src/operation/create_pipeline/builders.rs @@ -19,9 +19,9 @@ impl CreatePipelineFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl CreatePipelineFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::create_pipeline::CreatePipeline, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                                            The name of the pipeline.

                                                                                            pub fn pipeline_name( mut self, diff --git a/sdk/iotanalytics/src/operation/delete_channel/builders.rs b/sdk/iotanalytics/src/operation/delete_channel/builders.rs index d83f704640fa..f579b225aab2 100644 --- a/sdk/iotanalytics/src/operation/delete_channel/builders.rs +++ b/sdk/iotanalytics/src/operation/delete_channel/builders.rs @@ -19,9 +19,9 @@ impl DeleteChannelFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl DeleteChannelFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::delete_channel::DeleteChannel, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                                            The name of the channel to delete.

                                                                                            pub fn channel_name(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.channel_name(input.into()); diff --git a/sdk/iotanalytics/src/operation/delete_dataset/builders.rs b/sdk/iotanalytics/src/operation/delete_dataset/builders.rs index b31c93383239..a260e5315b6f 100644 --- a/sdk/iotanalytics/src/operation/delete_dataset/builders.rs +++ b/sdk/iotanalytics/src/operation/delete_dataset/builders.rs @@ -20,9 +20,9 @@ impl DeleteDatasetFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -78,6 +78,20 @@ impl DeleteDatasetFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::delete_dataset::DeleteDataset, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                                            The name of the dataset to delete.

                                                                                            pub fn dataset_name(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.dataset_name(input.into()); diff --git a/sdk/iotanalytics/src/operation/delete_dataset_content/builders.rs b/sdk/iotanalytics/src/operation/delete_dataset_content/builders.rs index 82f5ee831953..f56b5211f416 100644 --- a/sdk/iotanalytics/src/operation/delete_dataset_content/builders.rs +++ b/sdk/iotanalytics/src/operation/delete_dataset_content/builders.rs @@ -19,9 +19,9 @@ impl DeleteDatasetContentFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl DeleteDatasetContentFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::delete_dataset_content::DeleteDatasetContent, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::delete_dataset_content::DeleteDatasetContentError, + >, + > { + self.customize_middleware().await + } ///

                                                                                            The name of the dataset whose content is deleted.

                                                                                            pub fn dataset_name(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.dataset_name(input.into()); diff --git a/sdk/iotanalytics/src/operation/delete_datastore/builders.rs b/sdk/iotanalytics/src/operation/delete_datastore/builders.rs index bdcc5b0425b8..2500f311d3b8 100644 --- a/sdk/iotanalytics/src/operation/delete_datastore/builders.rs +++ b/sdk/iotanalytics/src/operation/delete_datastore/builders.rs @@ -19,9 +19,9 @@ impl DeleteDatastoreFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl DeleteDatastoreFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::delete_datastore::DeleteDatastore, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::delete_datastore::DeleteDatastoreError, + >, + > { + self.customize_middleware().await + } ///

                                                                                            The name of the data store to delete.

                                                                                            pub fn datastore_name( mut self, diff --git a/sdk/iotanalytics/src/operation/delete_pipeline/builders.rs b/sdk/iotanalytics/src/operation/delete_pipeline/builders.rs index a509852bc53f..39369b667587 100644 --- a/sdk/iotanalytics/src/operation/delete_pipeline/builders.rs +++ b/sdk/iotanalytics/src/operation/delete_pipeline/builders.rs @@ -19,9 +19,9 @@ impl DeletePipelineFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl DeletePipelineFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::delete_pipeline::DeletePipeline, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                                            The name of the pipeline to delete.

                                                                                            pub fn pipeline_name( mut self, diff --git a/sdk/iotanalytics/src/operation/describe_channel/builders.rs b/sdk/iotanalytics/src/operation/describe_channel/builders.rs index 1c14225deba7..ee64eceded06 100644 --- a/sdk/iotanalytics/src/operation/describe_channel/builders.rs +++ b/sdk/iotanalytics/src/operation/describe_channel/builders.rs @@ -19,9 +19,9 @@ impl DescribeChannelFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl DescribeChannelFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::describe_channel::DescribeChannel, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::describe_channel::DescribeChannelError, + >, + > { + self.customize_middleware().await + } ///

                                                                                            The name of the channel whose information is retrieved.

                                                                                            pub fn channel_name(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.channel_name(input.into()); diff --git a/sdk/iotanalytics/src/operation/describe_dataset/builders.rs b/sdk/iotanalytics/src/operation/describe_dataset/builders.rs index cc4a40c98c74..1d9b81fe99a7 100644 --- a/sdk/iotanalytics/src/operation/describe_dataset/builders.rs +++ b/sdk/iotanalytics/src/operation/describe_dataset/builders.rs @@ -19,9 +19,9 @@ impl DescribeDatasetFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl DescribeDatasetFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::describe_dataset::DescribeDataset, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::describe_dataset::DescribeDatasetError, + >, + > { + self.customize_middleware().await + } ///

                                                                                            The name of the dataset whose information is retrieved.

                                                                                            pub fn dataset_name(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.dataset_name(input.into()); diff --git a/sdk/iotanalytics/src/operation/describe_datastore/builders.rs b/sdk/iotanalytics/src/operation/describe_datastore/builders.rs index fc2f2dd089d5..a430e7867025 100644 --- a/sdk/iotanalytics/src/operation/describe_datastore/builders.rs +++ b/sdk/iotanalytics/src/operation/describe_datastore/builders.rs @@ -19,9 +19,9 @@ impl DescribeDatastoreFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl DescribeDatastoreFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::describe_datastore::DescribeDatastore, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::describe_datastore::DescribeDatastoreError, + >, + > { + self.customize_middleware().await + } ///

                                                                                            The name of the data store

                                                                                            pub fn datastore_name( mut self, diff --git a/sdk/iotanalytics/src/operation/describe_logging_options/builders.rs b/sdk/iotanalytics/src/operation/describe_logging_options/builders.rs index 29ce40f02659..b9aecd59e3e9 100644 --- a/sdk/iotanalytics/src/operation/describe_logging_options/builders.rs +++ b/sdk/iotanalytics/src/operation/describe_logging_options/builders.rs @@ -19,9 +19,9 @@ impl DescribeLoggingOptionsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,4 +83,20 @@ impl DescribeLoggingOptionsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::describe_logging_options::DescribeLoggingOptions, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::describe_logging_options::DescribeLoggingOptionsError, + >, + > { + self.customize_middleware().await + } } diff --git a/sdk/iotanalytics/src/operation/describe_pipeline/builders.rs b/sdk/iotanalytics/src/operation/describe_pipeline/builders.rs index 3779099f79d3..764bb1403622 100644 --- a/sdk/iotanalytics/src/operation/describe_pipeline/builders.rs +++ b/sdk/iotanalytics/src/operation/describe_pipeline/builders.rs @@ -19,9 +19,9 @@ impl DescribePipelineFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl DescribePipelineFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::describe_pipeline::DescribePipeline, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::describe_pipeline::DescribePipelineError, + >, + > { + self.customize_middleware().await + } ///

                                                                                            The name of the pipeline whose information is retrieved.

                                                                                            pub fn pipeline_name( mut self, diff --git a/sdk/iotanalytics/src/operation/get_dataset_content/builders.rs b/sdk/iotanalytics/src/operation/get_dataset_content/builders.rs index fba67571b6c1..cbd82ddd63c3 100644 --- a/sdk/iotanalytics/src/operation/get_dataset_content/builders.rs +++ b/sdk/iotanalytics/src/operation/get_dataset_content/builders.rs @@ -19,9 +19,9 @@ impl GetDatasetContentFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl GetDatasetContentFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::get_dataset_content::GetDatasetContent, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::get_dataset_content::GetDatasetContentError, + >, + > { + self.customize_middleware().await + } ///

                                                                                            The name of the dataset whose contents are retrieved.

                                                                                            pub fn dataset_name(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.dataset_name(input.into()); diff --git a/sdk/iotanalytics/src/operation/list_channels/builders.rs b/sdk/iotanalytics/src/operation/list_channels/builders.rs index a56082a6d435..6d73ec09e1a5 100644 --- a/sdk/iotanalytics/src/operation/list_channels/builders.rs +++ b/sdk/iotanalytics/src/operation/list_channels/builders.rs @@ -19,9 +19,9 @@ impl ListChannelsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl ListChannelsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_channels::ListChannels, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::list_channels::paginator::ListChannelsPaginator::send) which returns a `Stream`. diff --git a/sdk/iotanalytics/src/operation/list_dataset_contents/builders.rs b/sdk/iotanalytics/src/operation/list_dataset_contents/builders.rs index 7b7346b70d03..fd235a7ab1cb 100644 --- a/sdk/iotanalytics/src/operation/list_dataset_contents/builders.rs +++ b/sdk/iotanalytics/src/operation/list_dataset_contents/builders.rs @@ -19,9 +19,9 @@ impl ListDatasetContentsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl ListDatasetContentsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_dataset_contents::ListDatasetContents, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::list_dataset_contents::ListDatasetContentsError, + >, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::list_dataset_contents::paginator::ListDatasetContentsPaginator::send) which returns a `Stream`. diff --git a/sdk/iotanalytics/src/operation/list_datasets/builders.rs b/sdk/iotanalytics/src/operation/list_datasets/builders.rs index cbdd7cd7b6ef..6c4a85314fba 100644 --- a/sdk/iotanalytics/src/operation/list_datasets/builders.rs +++ b/sdk/iotanalytics/src/operation/list_datasets/builders.rs @@ -19,9 +19,9 @@ impl ListDatasetsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl ListDatasetsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_datasets::ListDatasets, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::list_datasets::paginator::ListDatasetsPaginator::send) which returns a `Stream`. diff --git a/sdk/iotanalytics/src/operation/list_datastores/builders.rs b/sdk/iotanalytics/src/operation/list_datastores/builders.rs index 8c1c0a4f67f9..b77361266754 100644 --- a/sdk/iotanalytics/src/operation/list_datastores/builders.rs +++ b/sdk/iotanalytics/src/operation/list_datastores/builders.rs @@ -19,9 +19,9 @@ impl ListDatastoresFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl ListDatastoresFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_datastores::ListDatastores, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::list_datastores::paginator::ListDatastoresPaginator::send) which returns a `Stream`. diff --git a/sdk/iotanalytics/src/operation/list_pipelines/builders.rs b/sdk/iotanalytics/src/operation/list_pipelines/builders.rs index f07258eaf73b..d2e45edb4cac 100644 --- a/sdk/iotanalytics/src/operation/list_pipelines/builders.rs +++ b/sdk/iotanalytics/src/operation/list_pipelines/builders.rs @@ -19,9 +19,9 @@ impl ListPipelinesFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl ListPipelinesFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_pipelines::ListPipelines, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::list_pipelines::paginator::ListPipelinesPaginator::send) which returns a `Stream`. diff --git a/sdk/iotanalytics/src/operation/list_tags_for_resource/builders.rs b/sdk/iotanalytics/src/operation/list_tags_for_resource/builders.rs index 0e00f6a31f1f..f4b9110c4e19 100644 --- a/sdk/iotanalytics/src/operation/list_tags_for_resource/builders.rs +++ b/sdk/iotanalytics/src/operation/list_tags_for_resource/builders.rs @@ -19,9 +19,9 @@ impl ListTagsForResourceFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl ListTagsForResourceFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_tags_for_resource::ListTagsForResource, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::list_tags_for_resource::ListTagsForResourceError, + >, + > { + self.customize_middleware().await + } ///

                                                                                            The ARN of the resource whose tags you want to list.

                                                                                            pub fn resource_arn(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.resource_arn(input.into()); diff --git a/sdk/iotanalytics/src/operation/put_logging_options/builders.rs b/sdk/iotanalytics/src/operation/put_logging_options/builders.rs index f20e96073bdc..b936da18b684 100644 --- a/sdk/iotanalytics/src/operation/put_logging_options/builders.rs +++ b/sdk/iotanalytics/src/operation/put_logging_options/builders.rs @@ -20,9 +20,9 @@ impl PutLoggingOptionsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -84,6 +84,22 @@ impl PutLoggingOptionsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::put_logging_options::PutLoggingOptions, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::put_logging_options::PutLoggingOptionsError, + >, + > { + self.customize_middleware().await + } ///

                                                                                            The new values of the IoT Analytics logging options.

                                                                                            pub fn logging_options(mut self, input: crate::types::LoggingOptions) -> Self { self.inner = self.inner.logging_options(input); diff --git a/sdk/iotanalytics/src/operation/run_pipeline_activity/builders.rs b/sdk/iotanalytics/src/operation/run_pipeline_activity/builders.rs index 61be8ebbdb11..7d59b8f50bd6 100644 --- a/sdk/iotanalytics/src/operation/run_pipeline_activity/builders.rs +++ b/sdk/iotanalytics/src/operation/run_pipeline_activity/builders.rs @@ -19,9 +19,9 @@ impl RunPipelineActivityFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl RunPipelineActivityFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::run_pipeline_activity::RunPipelineActivity, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::run_pipeline_activity::RunPipelineActivityError, + >, + > { + self.customize_middleware().await + } ///

                                                                                            The pipeline activity that is run. This must not be a channel activity or a data store activity because these activities are used in a pipeline only to load the original message and to store the (possibly) transformed message. If a Lambda activity is specified, only short-running Lambda functions (those with a timeout of less than 30 seconds or less) can be used.

                                                                                            pub fn pipeline_activity(mut self, input: crate::types::PipelineActivity) -> Self { self.inner = self.inner.pipeline_activity(input); diff --git a/sdk/iotanalytics/src/operation/sample_channel_data/builders.rs b/sdk/iotanalytics/src/operation/sample_channel_data/builders.rs index fca42063b395..412fe673965a 100644 --- a/sdk/iotanalytics/src/operation/sample_channel_data/builders.rs +++ b/sdk/iotanalytics/src/operation/sample_channel_data/builders.rs @@ -19,9 +19,9 @@ impl SampleChannelDataFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl SampleChannelDataFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::sample_channel_data::SampleChannelData, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::sample_channel_data::SampleChannelDataError, + >, + > { + self.customize_middleware().await + } ///

                                                                                            The name of the channel whose message samples are retrieved.

                                                                                            pub fn channel_name(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.channel_name(input.into()); diff --git a/sdk/iotanalytics/src/operation/start_pipeline_reprocessing/builders.rs b/sdk/iotanalytics/src/operation/start_pipeline_reprocessing/builders.rs index ea9079525d29..4b89b578d040 100644 --- a/sdk/iotanalytics/src/operation/start_pipeline_reprocessing/builders.rs +++ b/sdk/iotanalytics/src/operation/start_pipeline_reprocessing/builders.rs @@ -19,9 +19,9 @@ impl StartPipelineReprocessingFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl StartPipelineReprocessingFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::start_pipeline_reprocessing::StartPipelineReprocessing, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::start_pipeline_reprocessing::StartPipelineReprocessingError, + >, + > { + self.customize_middleware().await + } ///

                                                                                            The name of the pipeline on which to start reprocessing.

                                                                                            pub fn pipeline_name( mut self, diff --git a/sdk/iotanalytics/src/operation/tag_resource/builders.rs b/sdk/iotanalytics/src/operation/tag_resource/builders.rs index 417b1ebf9d5e..1814ce060350 100644 --- a/sdk/iotanalytics/src/operation/tag_resource/builders.rs +++ b/sdk/iotanalytics/src/operation/tag_resource/builders.rs @@ -19,9 +19,9 @@ impl TagResourceFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl TagResourceFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::tag_resource::TagResource, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                                            The ARN of the resource whose tags you want to modify.

                                                                                            pub fn resource_arn(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.resource_arn(input.into()); diff --git a/sdk/iotanalytics/src/operation/untag_resource/builders.rs b/sdk/iotanalytics/src/operation/untag_resource/builders.rs index a9ac340a0244..d807d7c9e760 100644 --- a/sdk/iotanalytics/src/operation/untag_resource/builders.rs +++ b/sdk/iotanalytics/src/operation/untag_resource/builders.rs @@ -19,9 +19,9 @@ impl UntagResourceFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl UntagResourceFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::untag_resource::UntagResource, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                                            The ARN of the resource whose tags you want to remove.

                                                                                            pub fn resource_arn(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.resource_arn(input.into()); diff --git a/sdk/iotanalytics/src/operation/update_channel/builders.rs b/sdk/iotanalytics/src/operation/update_channel/builders.rs index 0b57c8eff13b..53b7a033a011 100644 --- a/sdk/iotanalytics/src/operation/update_channel/builders.rs +++ b/sdk/iotanalytics/src/operation/update_channel/builders.rs @@ -19,9 +19,9 @@ impl UpdateChannelFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl UpdateChannelFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::update_channel::UpdateChannel, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                                            The name of the channel to be updated.

                                                                                            pub fn channel_name(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.channel_name(input.into()); diff --git a/sdk/iotanalytics/src/operation/update_dataset/builders.rs b/sdk/iotanalytics/src/operation/update_dataset/builders.rs index 00bc8de845fd..ee66d561b8ee 100644 --- a/sdk/iotanalytics/src/operation/update_dataset/builders.rs +++ b/sdk/iotanalytics/src/operation/update_dataset/builders.rs @@ -19,9 +19,9 @@ impl UpdateDatasetFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl UpdateDatasetFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::update_dataset::UpdateDataset, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                                            The name of the dataset to update.

                                                                                            pub fn dataset_name(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.dataset_name(input.into()); diff --git a/sdk/iotanalytics/src/operation/update_datastore/builders.rs b/sdk/iotanalytics/src/operation/update_datastore/builders.rs index 711f09665947..1e55f87e2ae3 100644 --- a/sdk/iotanalytics/src/operation/update_datastore/builders.rs +++ b/sdk/iotanalytics/src/operation/update_datastore/builders.rs @@ -19,9 +19,9 @@ impl UpdateDatastoreFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl UpdateDatastoreFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::update_datastore::UpdateDatastore, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::update_datastore::UpdateDatastoreError, + >, + > { + self.customize_middleware().await + } ///

                                                                                            The name of the data store to be updated.

                                                                                            pub fn datastore_name( mut self, diff --git a/sdk/iotanalytics/src/operation/update_pipeline/builders.rs b/sdk/iotanalytics/src/operation/update_pipeline/builders.rs index 055e63010813..9c157f4e512d 100644 --- a/sdk/iotanalytics/src/operation/update_pipeline/builders.rs +++ b/sdk/iotanalytics/src/operation/update_pipeline/builders.rs @@ -19,9 +19,9 @@ impl UpdatePipelineFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl UpdatePipelineFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::update_pipeline::UpdatePipeline, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                                            The name of the pipeline to update.

                                                                                            pub fn pipeline_name( mut self, diff --git a/sdk/iotdataplane/src/operation/delete_thing_shadow/builders.rs b/sdk/iotdataplane/src/operation/delete_thing_shadow/builders.rs index 92cb11b928a9..8a3e031a1458 100644 --- a/sdk/iotdataplane/src/operation/delete_thing_shadow/builders.rs +++ b/sdk/iotdataplane/src/operation/delete_thing_shadow/builders.rs @@ -21,9 +21,9 @@ impl DeleteThingShadowFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -85,6 +85,22 @@ impl DeleteThingShadowFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::delete_thing_shadow::DeleteThingShadow, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::delete_thing_shadow::DeleteThingShadowError, + >, + > { + self.customize_middleware().await + } ///

                                                                                            The name of the thing.

                                                                                            pub fn thing_name(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.thing_name(input.into()); diff --git a/sdk/iotdataplane/src/operation/get_retained_message/builders.rs b/sdk/iotdataplane/src/operation/get_retained_message/builders.rs index 7711ccc34e72..cb1108cea8fc 100644 --- a/sdk/iotdataplane/src/operation/get_retained_message/builders.rs +++ b/sdk/iotdataplane/src/operation/get_retained_message/builders.rs @@ -22,9 +22,9 @@ impl GetRetainedMessageFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -86,6 +86,22 @@ impl GetRetainedMessageFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::get_retained_message::GetRetainedMessage, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::get_retained_message::GetRetainedMessageError, + >, + > { + self.customize_middleware().await + } ///

                                                                                            The topic name of the retained message to retrieve.

                                                                                            pub fn topic(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.topic(input.into()); diff --git a/sdk/iotdataplane/src/operation/get_thing_shadow/builders.rs b/sdk/iotdataplane/src/operation/get_thing_shadow/builders.rs index 22db08a1d2ee..a84e71716a05 100644 --- a/sdk/iotdataplane/src/operation/get_thing_shadow/builders.rs +++ b/sdk/iotdataplane/src/operation/get_thing_shadow/builders.rs @@ -21,9 +21,9 @@ impl GetThingShadowFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -85,6 +85,22 @@ impl GetThingShadowFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::get_thing_shadow::GetThingShadow, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::get_thing_shadow::GetThingShadowError, + >, + > { + self.customize_middleware().await + } ///

                                                                                            The name of the thing.

                                                                                            pub fn thing_name(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.thing_name(input.into()); diff --git a/sdk/iotdataplane/src/operation/list_named_shadows_for_thing/builders.rs b/sdk/iotdataplane/src/operation/list_named_shadows_for_thing/builders.rs index ebfdee6b044b..ba8988d64c86 100644 --- a/sdk/iotdataplane/src/operation/list_named_shadows_for_thing/builders.rs +++ b/sdk/iotdataplane/src/operation/list_named_shadows_for_thing/builders.rs @@ -20,9 +20,9 @@ impl ListNamedShadowsForThingFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -84,6 +84,22 @@ impl ListNamedShadowsForThingFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_named_shadows_for_thing::ListNamedShadowsForThing, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::list_named_shadows_for_thing::ListNamedShadowsForThingError, + >, + > { + self.customize_middleware().await + } ///

                                                                                            The name of the thing.

                                                                                            pub fn thing_name(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.thing_name(input.into()); diff --git a/sdk/iotdataplane/src/operation/list_retained_messages/builders.rs b/sdk/iotdataplane/src/operation/list_retained_messages/builders.rs index 23168c5cdb74..b09c88cc1ca4 100644 --- a/sdk/iotdataplane/src/operation/list_retained_messages/builders.rs +++ b/sdk/iotdataplane/src/operation/list_retained_messages/builders.rs @@ -23,9 +23,9 @@ impl ListRetainedMessagesFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -87,6 +87,22 @@ impl ListRetainedMessagesFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_retained_messages::ListRetainedMessages, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::list_retained_messages::ListRetainedMessagesError, + >, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::list_retained_messages::paginator::ListRetainedMessagesPaginator::send) which returns a `Stream`. diff --git a/sdk/iotdataplane/src/operation/publish/builders.rs b/sdk/iotdataplane/src/operation/publish/builders.rs index f6e6bbddb461..161c00fc0bfa 100644 --- a/sdk/iotdataplane/src/operation/publish/builders.rs +++ b/sdk/iotdataplane/src/operation/publish/builders.rs @@ -22,9 +22,9 @@ impl PublishFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -80,6 +80,20 @@ impl PublishFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::publish::Publish, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                                            The name of the MQTT topic.

                                                                                            pub fn topic(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.topic(input.into()); diff --git a/sdk/iotdataplane/src/operation/update_thing_shadow/builders.rs b/sdk/iotdataplane/src/operation/update_thing_shadow/builders.rs index b9ecbfae5e3e..553158f6ca51 100644 --- a/sdk/iotdataplane/src/operation/update_thing_shadow/builders.rs +++ b/sdk/iotdataplane/src/operation/update_thing_shadow/builders.rs @@ -21,9 +21,9 @@ impl UpdateThingShadowFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -85,6 +85,22 @@ impl UpdateThingShadowFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::update_thing_shadow::UpdateThingShadow, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::update_thing_shadow::UpdateThingShadowError, + >, + > { + self.customize_middleware().await + } ///

                                                                                            The name of the thing.

                                                                                            pub fn thing_name(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.thing_name(input.into()); diff --git a/sdk/iotdeviceadvisor/src/operation/create_suite_definition/builders.rs b/sdk/iotdeviceadvisor/src/operation/create_suite_definition/builders.rs index 9854cf43a21d..571b129c1520 100644 --- a/sdk/iotdeviceadvisor/src/operation/create_suite_definition/builders.rs +++ b/sdk/iotdeviceadvisor/src/operation/create_suite_definition/builders.rs @@ -20,9 +20,9 @@ impl CreateSuiteDefinitionFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -84,6 +84,22 @@ impl CreateSuiteDefinitionFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::create_suite_definition::CreateSuiteDefinition, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::create_suite_definition::CreateSuiteDefinitionError, + >, + > { + self.customize_middleware().await + } ///

                                                                                            Creates a Device Advisor test suite with suite definition configuration.

                                                                                            pub fn suite_definition_configuration( mut self, diff --git a/sdk/iotdeviceadvisor/src/operation/delete_suite_definition/builders.rs b/sdk/iotdeviceadvisor/src/operation/delete_suite_definition/builders.rs index a48c23b129a2..6bacfdf9e28a 100644 --- a/sdk/iotdeviceadvisor/src/operation/delete_suite_definition/builders.rs +++ b/sdk/iotdeviceadvisor/src/operation/delete_suite_definition/builders.rs @@ -20,9 +20,9 @@ impl DeleteSuiteDefinitionFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -84,6 +84,22 @@ impl DeleteSuiteDefinitionFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::delete_suite_definition::DeleteSuiteDefinition, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::delete_suite_definition::DeleteSuiteDefinitionError, + >, + > { + self.customize_middleware().await + } ///

                                                                                            Suite definition ID of the test suite to be deleted.

                                                                                            pub fn suite_definition_id( mut self, diff --git a/sdk/iotdeviceadvisor/src/operation/get_endpoint/builders.rs b/sdk/iotdeviceadvisor/src/operation/get_endpoint/builders.rs index 0305e7543041..075a432451dd 100644 --- a/sdk/iotdeviceadvisor/src/operation/get_endpoint/builders.rs +++ b/sdk/iotdeviceadvisor/src/operation/get_endpoint/builders.rs @@ -19,9 +19,9 @@ impl GetEndpointFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl GetEndpointFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::get_endpoint::GetEndpoint, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                                            The thing ARN of the device. This is an optional parameter.

                                                                                            pub fn thing_arn(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.thing_arn(input.into()); diff --git a/sdk/iotdeviceadvisor/src/operation/get_suite_definition/builders.rs b/sdk/iotdeviceadvisor/src/operation/get_suite_definition/builders.rs index bbfd65f0a53d..8a96e5d78ae9 100644 --- a/sdk/iotdeviceadvisor/src/operation/get_suite_definition/builders.rs +++ b/sdk/iotdeviceadvisor/src/operation/get_suite_definition/builders.rs @@ -20,9 +20,9 @@ impl GetSuiteDefinitionFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -84,6 +84,22 @@ impl GetSuiteDefinitionFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::get_suite_definition::GetSuiteDefinition, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::get_suite_definition::GetSuiteDefinitionError, + >, + > { + self.customize_middleware().await + } ///

                                                                                            Suite definition ID of the test suite to get.

                                                                                            pub fn suite_definition_id( mut self, diff --git a/sdk/iotdeviceadvisor/src/operation/get_suite_run/builders.rs b/sdk/iotdeviceadvisor/src/operation/get_suite_run/builders.rs index a3e76a8e3bd4..39cd6e0d2529 100644 --- a/sdk/iotdeviceadvisor/src/operation/get_suite_run/builders.rs +++ b/sdk/iotdeviceadvisor/src/operation/get_suite_run/builders.rs @@ -20,9 +20,9 @@ impl GetSuiteRunFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -78,6 +78,20 @@ impl GetSuiteRunFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::get_suite_run::GetSuiteRun, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                                            Suite definition ID for the test suite run.

                                                                                            pub fn suite_definition_id( mut self, diff --git a/sdk/iotdeviceadvisor/src/operation/get_suite_run_report/builders.rs b/sdk/iotdeviceadvisor/src/operation/get_suite_run_report/builders.rs index 315e3033dd4a..31751df92b2d 100644 --- a/sdk/iotdeviceadvisor/src/operation/get_suite_run_report/builders.rs +++ b/sdk/iotdeviceadvisor/src/operation/get_suite_run_report/builders.rs @@ -20,9 +20,9 @@ impl GetSuiteRunReportFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -84,6 +84,22 @@ impl GetSuiteRunReportFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::get_suite_run_report::GetSuiteRunReport, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::get_suite_run_report::GetSuiteRunReportError, + >, + > { + self.customize_middleware().await + } ///

                                                                                            Suite definition ID of the test suite.

                                                                                            pub fn suite_definition_id( mut self, diff --git a/sdk/iotdeviceadvisor/src/operation/list_suite_definitions/builders.rs b/sdk/iotdeviceadvisor/src/operation/list_suite_definitions/builders.rs index 5fb24377a2fd..4512af84fd40 100644 --- a/sdk/iotdeviceadvisor/src/operation/list_suite_definitions/builders.rs +++ b/sdk/iotdeviceadvisor/src/operation/list_suite_definitions/builders.rs @@ -20,9 +20,9 @@ impl ListSuiteDefinitionsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -84,6 +84,22 @@ impl ListSuiteDefinitionsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_suite_definitions::ListSuiteDefinitions, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::list_suite_definitions::ListSuiteDefinitionsError, + >, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::list_suite_definitions::paginator::ListSuiteDefinitionsPaginator::send) which returns a `Stream`. diff --git a/sdk/iotdeviceadvisor/src/operation/list_suite_runs/builders.rs b/sdk/iotdeviceadvisor/src/operation/list_suite_runs/builders.rs index f747f610ec89..69c964890a27 100644 --- a/sdk/iotdeviceadvisor/src/operation/list_suite_runs/builders.rs +++ b/sdk/iotdeviceadvisor/src/operation/list_suite_runs/builders.rs @@ -20,9 +20,9 @@ impl ListSuiteRunsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -78,6 +78,20 @@ impl ListSuiteRunsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_suite_runs::ListSuiteRuns, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::list_suite_runs::paginator::ListSuiteRunsPaginator::send) which returns a `Stream`. diff --git a/sdk/iotdeviceadvisor/src/operation/list_tags_for_resource/builders.rs b/sdk/iotdeviceadvisor/src/operation/list_tags_for_resource/builders.rs index 3405e0bb2a74..6e9c32b16411 100644 --- a/sdk/iotdeviceadvisor/src/operation/list_tags_for_resource/builders.rs +++ b/sdk/iotdeviceadvisor/src/operation/list_tags_for_resource/builders.rs @@ -20,9 +20,9 @@ impl ListTagsForResourceFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -84,6 +84,22 @@ impl ListTagsForResourceFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_tags_for_resource::ListTagsForResource, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::list_tags_for_resource::ListTagsForResourceError, + >, + > { + self.customize_middleware().await + } ///

                                                                                            The resource ARN of the IoT Device Advisor resource. This can be SuiteDefinition ARN or SuiteRun ARN.

                                                                                            pub fn resource_arn(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.resource_arn(input.into()); diff --git a/sdk/iotdeviceadvisor/src/operation/start_suite_run/builders.rs b/sdk/iotdeviceadvisor/src/operation/start_suite_run/builders.rs index 229051a1dca1..fce282b23ddb 100644 --- a/sdk/iotdeviceadvisor/src/operation/start_suite_run/builders.rs +++ b/sdk/iotdeviceadvisor/src/operation/start_suite_run/builders.rs @@ -20,9 +20,9 @@ impl StartSuiteRunFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -78,6 +78,20 @@ impl StartSuiteRunFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::start_suite_run::StartSuiteRun, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                                            Suite definition ID of the test suite.

                                                                                            pub fn suite_definition_id( mut self, diff --git a/sdk/iotdeviceadvisor/src/operation/stop_suite_run/builders.rs b/sdk/iotdeviceadvisor/src/operation/stop_suite_run/builders.rs index 5760f7f031e0..2ff9a916473b 100644 --- a/sdk/iotdeviceadvisor/src/operation/stop_suite_run/builders.rs +++ b/sdk/iotdeviceadvisor/src/operation/stop_suite_run/builders.rs @@ -20,9 +20,9 @@ impl StopSuiteRunFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -78,6 +78,20 @@ impl StopSuiteRunFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::stop_suite_run::StopSuiteRun, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                                            Suite definition ID of the test suite run to be stopped.

                                                                                            pub fn suite_definition_id( mut self, diff --git a/sdk/iotdeviceadvisor/src/operation/tag_resource/builders.rs b/sdk/iotdeviceadvisor/src/operation/tag_resource/builders.rs index 27b51dc65546..45cd70824f05 100644 --- a/sdk/iotdeviceadvisor/src/operation/tag_resource/builders.rs +++ b/sdk/iotdeviceadvisor/src/operation/tag_resource/builders.rs @@ -20,9 +20,9 @@ impl TagResourceFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -78,6 +78,20 @@ impl TagResourceFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::tag_resource::TagResource, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                                            The resource ARN of an IoT Device Advisor resource. This can be SuiteDefinition ARN or SuiteRun ARN.

                                                                                            pub fn resource_arn(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.resource_arn(input.into()); diff --git a/sdk/iotdeviceadvisor/src/operation/untag_resource/builders.rs b/sdk/iotdeviceadvisor/src/operation/untag_resource/builders.rs index bff27966a694..14c8f39081d4 100644 --- a/sdk/iotdeviceadvisor/src/operation/untag_resource/builders.rs +++ b/sdk/iotdeviceadvisor/src/operation/untag_resource/builders.rs @@ -20,9 +20,9 @@ impl UntagResourceFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -78,6 +78,20 @@ impl UntagResourceFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::untag_resource::UntagResource, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                                            The resource ARN of an IoT Device Advisor resource. This can be SuiteDefinition ARN or SuiteRun ARN.

                                                                                            pub fn resource_arn(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.resource_arn(input.into()); diff --git a/sdk/iotdeviceadvisor/src/operation/update_suite_definition/builders.rs b/sdk/iotdeviceadvisor/src/operation/update_suite_definition/builders.rs index 908371c8faad..1acfe61a9e39 100644 --- a/sdk/iotdeviceadvisor/src/operation/update_suite_definition/builders.rs +++ b/sdk/iotdeviceadvisor/src/operation/update_suite_definition/builders.rs @@ -20,9 +20,9 @@ impl UpdateSuiteDefinitionFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -84,6 +84,22 @@ impl UpdateSuiteDefinitionFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::update_suite_definition::UpdateSuiteDefinition, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::update_suite_definition::UpdateSuiteDefinitionError, + >, + > { + self.customize_middleware().await + } ///

                                                                                            Suite definition ID of the test suite to be updated.

                                                                                            pub fn suite_definition_id( mut self, diff --git a/sdk/iotevents/src/operation/create_alarm_model/builders.rs b/sdk/iotevents/src/operation/create_alarm_model/builders.rs index c57cea06c6b1..91ab9a1afa80 100644 --- a/sdk/iotevents/src/operation/create_alarm_model/builders.rs +++ b/sdk/iotevents/src/operation/create_alarm_model/builders.rs @@ -19,9 +19,9 @@ impl CreateAlarmModelFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl CreateAlarmModelFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::create_alarm_model::CreateAlarmModel, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::create_alarm_model::CreateAlarmModelError, + >, + > { + self.customize_middleware().await + } ///

                                                                                            A unique name that helps you identify the alarm model. You can't change this name after you create the alarm model.

                                                                                            pub fn alarm_model_name( mut self, diff --git a/sdk/iotevents/src/operation/create_detector_model/builders.rs b/sdk/iotevents/src/operation/create_detector_model/builders.rs index e5fea392acff..57c2c9a68a6c 100644 --- a/sdk/iotevents/src/operation/create_detector_model/builders.rs +++ b/sdk/iotevents/src/operation/create_detector_model/builders.rs @@ -19,9 +19,9 @@ impl CreateDetectorModelFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl CreateDetectorModelFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::create_detector_model::CreateDetectorModel, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::create_detector_model::CreateDetectorModelError, + >, + > { + self.customize_middleware().await + } ///

                                                                                            The name of the detector model.

                                                                                            pub fn detector_model_name( mut self, diff --git a/sdk/iotevents/src/operation/create_input/builders.rs b/sdk/iotevents/src/operation/create_input/builders.rs index 8dfbfc78851f..594ffefd4a9d 100644 --- a/sdk/iotevents/src/operation/create_input/builders.rs +++ b/sdk/iotevents/src/operation/create_input/builders.rs @@ -19,9 +19,9 @@ impl CreateInputFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl CreateInputFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::create_input::CreateInput, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                                            The name you want to give to the input.

                                                                                            pub fn input_name(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.input_name(input.into()); diff --git a/sdk/iotevents/src/operation/delete_alarm_model/builders.rs b/sdk/iotevents/src/operation/delete_alarm_model/builders.rs index 8424005fcc71..c6f2f8e9988b 100644 --- a/sdk/iotevents/src/operation/delete_alarm_model/builders.rs +++ b/sdk/iotevents/src/operation/delete_alarm_model/builders.rs @@ -19,9 +19,9 @@ impl DeleteAlarmModelFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl DeleteAlarmModelFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::delete_alarm_model::DeleteAlarmModel, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::delete_alarm_model::DeleteAlarmModelError, + >, + > { + self.customize_middleware().await + } ///

                                                                                            The name of the alarm model.

                                                                                            pub fn alarm_model_name( mut self, diff --git a/sdk/iotevents/src/operation/delete_detector_model/builders.rs b/sdk/iotevents/src/operation/delete_detector_model/builders.rs index c65a245b27e5..a609bd42f5e0 100644 --- a/sdk/iotevents/src/operation/delete_detector_model/builders.rs +++ b/sdk/iotevents/src/operation/delete_detector_model/builders.rs @@ -19,9 +19,9 @@ impl DeleteDetectorModelFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl DeleteDetectorModelFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::delete_detector_model::DeleteDetectorModel, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::delete_detector_model::DeleteDetectorModelError, + >, + > { + self.customize_middleware().await + } ///

                                                                                            The name of the detector model to be deleted.

                                                                                            pub fn detector_model_name( mut self, diff --git a/sdk/iotevents/src/operation/delete_input/builders.rs b/sdk/iotevents/src/operation/delete_input/builders.rs index e8b064f79380..b7792f67417d 100644 --- a/sdk/iotevents/src/operation/delete_input/builders.rs +++ b/sdk/iotevents/src/operation/delete_input/builders.rs @@ -19,9 +19,9 @@ impl DeleteInputFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl DeleteInputFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::delete_input::DeleteInput, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                                            The name of the input to delete.

                                                                                            pub fn input_name(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.input_name(input.into()); diff --git a/sdk/iotevents/src/operation/describe_alarm_model/builders.rs b/sdk/iotevents/src/operation/describe_alarm_model/builders.rs index f8865f12a56a..3674766ec4e6 100644 --- a/sdk/iotevents/src/operation/describe_alarm_model/builders.rs +++ b/sdk/iotevents/src/operation/describe_alarm_model/builders.rs @@ -19,9 +19,9 @@ impl DescribeAlarmModelFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl DescribeAlarmModelFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::describe_alarm_model::DescribeAlarmModel, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::describe_alarm_model::DescribeAlarmModelError, + >, + > { + self.customize_middleware().await + } ///

                                                                                            The name of the alarm model.

                                                                                            pub fn alarm_model_name( mut self, diff --git a/sdk/iotevents/src/operation/describe_detector_model/builders.rs b/sdk/iotevents/src/operation/describe_detector_model/builders.rs index ca84fa64b8e2..ff37b047a5e4 100644 --- a/sdk/iotevents/src/operation/describe_detector_model/builders.rs +++ b/sdk/iotevents/src/operation/describe_detector_model/builders.rs @@ -19,9 +19,9 @@ impl DescribeDetectorModelFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl DescribeDetectorModelFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::describe_detector_model::DescribeDetectorModel, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::describe_detector_model::DescribeDetectorModelError, + >, + > { + self.customize_middleware().await + } ///

                                                                                            The name of the detector model.

                                                                                            pub fn detector_model_name( mut self, diff --git a/sdk/iotevents/src/operation/describe_detector_model_analysis/builders.rs b/sdk/iotevents/src/operation/describe_detector_model_analysis/builders.rs index 2b294a3086d8..c2d0f818a22e 100644 --- a/sdk/iotevents/src/operation/describe_detector_model_analysis/builders.rs +++ b/sdk/iotevents/src/operation/describe_detector_model_analysis/builders.rs @@ -21,9 +21,9 @@ impl DescribeDetectorModelAnalysisFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -85,6 +85,22 @@ impl DescribeDetectorModelAnalysisFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::describe_detector_model_analysis::DescribeDetectorModelAnalysis, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::describe_detector_model_analysis::DescribeDetectorModelAnalysisError, + >, + > { + self.customize_middleware().await + } ///

                                                                                            The ID of the analysis result that you want to retrieve.

                                                                                            pub fn analysis_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.analysis_id(input.into()); diff --git a/sdk/iotevents/src/operation/describe_input/builders.rs b/sdk/iotevents/src/operation/describe_input/builders.rs index 659690cade1f..90c79f973f3c 100644 --- a/sdk/iotevents/src/operation/describe_input/builders.rs +++ b/sdk/iotevents/src/operation/describe_input/builders.rs @@ -19,9 +19,9 @@ impl DescribeInputFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl DescribeInputFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::describe_input::DescribeInput, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                                            The name of the input.

                                                                                            pub fn input_name(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.input_name(input.into()); diff --git a/sdk/iotevents/src/operation/describe_logging_options/builders.rs b/sdk/iotevents/src/operation/describe_logging_options/builders.rs index af9c1891fae7..346e47395a83 100644 --- a/sdk/iotevents/src/operation/describe_logging_options/builders.rs +++ b/sdk/iotevents/src/operation/describe_logging_options/builders.rs @@ -19,9 +19,9 @@ impl DescribeLoggingOptionsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,4 +83,20 @@ impl DescribeLoggingOptionsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::describe_logging_options::DescribeLoggingOptions, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::describe_logging_options::DescribeLoggingOptionsError, + >, + > { + self.customize_middleware().await + } } diff --git a/sdk/iotevents/src/operation/get_detector_model_analysis_results/builders.rs b/sdk/iotevents/src/operation/get_detector_model_analysis_results/builders.rs index d8d914a38c22..81bb74075308 100644 --- a/sdk/iotevents/src/operation/get_detector_model_analysis_results/builders.rs +++ b/sdk/iotevents/src/operation/get_detector_model_analysis_results/builders.rs @@ -21,9 +21,9 @@ impl GetDetectorModelAnalysisResultsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize(self) -> ::std::result::Result< + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware(self) -> ::std::result::Result< crate::client::customize::CustomizableOperation, ::aws_smithy_http::result::SdkError >{ @@ -66,6 +66,15 @@ impl GetDetectorModelAnalysisResultsFluentBuilder { { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize(self) -> ::std::result::Result< + crate::client::customize::CustomizableOperation, + ::aws_smithy_http::result::SdkError + >{ + self.customize_middleware().await + } ///

                                                                                            The ID of the analysis result that you want to retrieve.

                                                                                            pub fn analysis_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.analysis_id(input.into()); diff --git a/sdk/iotevents/src/operation/list_alarm_model_versions/builders.rs b/sdk/iotevents/src/operation/list_alarm_model_versions/builders.rs index d5279c190f28..4b1eeeb3970f 100644 --- a/sdk/iotevents/src/operation/list_alarm_model_versions/builders.rs +++ b/sdk/iotevents/src/operation/list_alarm_model_versions/builders.rs @@ -20,9 +20,9 @@ impl ListAlarmModelVersionsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -84,6 +84,22 @@ impl ListAlarmModelVersionsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_alarm_model_versions::ListAlarmModelVersions, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::list_alarm_model_versions::ListAlarmModelVersionsError, + >, + > { + self.customize_middleware().await + } ///

                                                                                            The name of the alarm model.

                                                                                            pub fn alarm_model_name( mut self, diff --git a/sdk/iotevents/src/operation/list_alarm_models/builders.rs b/sdk/iotevents/src/operation/list_alarm_models/builders.rs index ca8eb67c13e7..e7beab10b5bb 100644 --- a/sdk/iotevents/src/operation/list_alarm_models/builders.rs +++ b/sdk/iotevents/src/operation/list_alarm_models/builders.rs @@ -19,9 +19,9 @@ impl ListAlarmModelsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl ListAlarmModelsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_alarm_models::ListAlarmModels, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::list_alarm_models::ListAlarmModelsError, + >, + > { + self.customize_middleware().await + } ///

                                                                                            The token that you can use to return the next set of results.

                                                                                            pub fn next_token(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.next_token(input.into()); diff --git a/sdk/iotevents/src/operation/list_detector_model_versions/builders.rs b/sdk/iotevents/src/operation/list_detector_model_versions/builders.rs index 800ba0728bd7..d7e45ad13086 100644 --- a/sdk/iotevents/src/operation/list_detector_model_versions/builders.rs +++ b/sdk/iotevents/src/operation/list_detector_model_versions/builders.rs @@ -19,9 +19,9 @@ impl ListDetectorModelVersionsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl ListDetectorModelVersionsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_detector_model_versions::ListDetectorModelVersions, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::list_detector_model_versions::ListDetectorModelVersionsError, + >, + > { + self.customize_middleware().await + } ///

                                                                                            The name of the detector model whose versions are returned.

                                                                                            pub fn detector_model_name( mut self, diff --git a/sdk/iotevents/src/operation/list_detector_models/builders.rs b/sdk/iotevents/src/operation/list_detector_models/builders.rs index 5ec9ef019b5a..1f022f67a195 100644 --- a/sdk/iotevents/src/operation/list_detector_models/builders.rs +++ b/sdk/iotevents/src/operation/list_detector_models/builders.rs @@ -19,9 +19,9 @@ impl ListDetectorModelsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl ListDetectorModelsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_detector_models::ListDetectorModels, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::list_detector_models::ListDetectorModelsError, + >, + > { + self.customize_middleware().await + } ///

                                                                                            The token that you can use to return the next set of results.

                                                                                            pub fn next_token(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.next_token(input.into()); diff --git a/sdk/iotevents/src/operation/list_input_routings/builders.rs b/sdk/iotevents/src/operation/list_input_routings/builders.rs index c72990221323..fc5438ba25a2 100644 --- a/sdk/iotevents/src/operation/list_input_routings/builders.rs +++ b/sdk/iotevents/src/operation/list_input_routings/builders.rs @@ -19,9 +19,9 @@ impl ListInputRoutingsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl ListInputRoutingsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_input_routings::ListInputRoutings, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::list_input_routings::ListInputRoutingsError, + >, + > { + self.customize_middleware().await + } ///

                                                                                            The identifer of the routed input.

                                                                                            pub fn input_identifier(mut self, input: crate::types::InputIdentifier) -> Self { self.inner = self.inner.input_identifier(input); diff --git a/sdk/iotevents/src/operation/list_inputs/builders.rs b/sdk/iotevents/src/operation/list_inputs/builders.rs index fd40cffebf48..6f7c1d4476da 100644 --- a/sdk/iotevents/src/operation/list_inputs/builders.rs +++ b/sdk/iotevents/src/operation/list_inputs/builders.rs @@ -19,9 +19,9 @@ impl ListInputsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl ListInputsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_inputs::ListInputs, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                                            The token that you can use to return the next set of results.

                                                                                            pub fn next_token(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.next_token(input.into()); diff --git a/sdk/iotevents/src/operation/list_tags_for_resource/builders.rs b/sdk/iotevents/src/operation/list_tags_for_resource/builders.rs index ee18ee997b12..22f5bffd6339 100644 --- a/sdk/iotevents/src/operation/list_tags_for_resource/builders.rs +++ b/sdk/iotevents/src/operation/list_tags_for_resource/builders.rs @@ -19,9 +19,9 @@ impl ListTagsForResourceFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl ListTagsForResourceFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_tags_for_resource::ListTagsForResource, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::list_tags_for_resource::ListTagsForResourceError, + >, + > { + self.customize_middleware().await + } ///

                                                                                            The ARN of the resource.

                                                                                            pub fn resource_arn(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.resource_arn(input.into()); diff --git a/sdk/iotevents/src/operation/put_logging_options/builders.rs b/sdk/iotevents/src/operation/put_logging_options/builders.rs index 4116e41c337e..ac0c78cd2516 100644 --- a/sdk/iotevents/src/operation/put_logging_options/builders.rs +++ b/sdk/iotevents/src/operation/put_logging_options/builders.rs @@ -20,9 +20,9 @@ impl PutLoggingOptionsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -84,6 +84,22 @@ impl PutLoggingOptionsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::put_logging_options::PutLoggingOptions, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::put_logging_options::PutLoggingOptionsError, + >, + > { + self.customize_middleware().await + } ///

                                                                                            The new values of the AWS IoT Events logging options.

                                                                                            pub fn logging_options(mut self, input: crate::types::LoggingOptions) -> Self { self.inner = self.inner.logging_options(input); diff --git a/sdk/iotevents/src/operation/start_detector_model_analysis/builders.rs b/sdk/iotevents/src/operation/start_detector_model_analysis/builders.rs index 0b0653e00197..8b7dc205dee7 100644 --- a/sdk/iotevents/src/operation/start_detector_model_analysis/builders.rs +++ b/sdk/iotevents/src/operation/start_detector_model_analysis/builders.rs @@ -19,9 +19,9 @@ impl StartDetectorModelAnalysisFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl StartDetectorModelAnalysisFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::start_detector_model_analysis::StartDetectorModelAnalysis, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::start_detector_model_analysis::StartDetectorModelAnalysisError, + >, + > { + self.customize_middleware().await + } ///

                                                                                            Information that defines how a detector operates.

                                                                                            pub fn detector_model_definition( mut self, diff --git a/sdk/iotevents/src/operation/tag_resource/builders.rs b/sdk/iotevents/src/operation/tag_resource/builders.rs index 977fc2479903..e49c6f2e1f4d 100644 --- a/sdk/iotevents/src/operation/tag_resource/builders.rs +++ b/sdk/iotevents/src/operation/tag_resource/builders.rs @@ -19,9 +19,9 @@ impl TagResourceFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl TagResourceFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::tag_resource::TagResource, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                                            The ARN of the resource.

                                                                                            pub fn resource_arn(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.resource_arn(input.into()); diff --git a/sdk/iotevents/src/operation/untag_resource/builders.rs b/sdk/iotevents/src/operation/untag_resource/builders.rs index ee2eb68970d3..08cee1b469a1 100644 --- a/sdk/iotevents/src/operation/untag_resource/builders.rs +++ b/sdk/iotevents/src/operation/untag_resource/builders.rs @@ -19,9 +19,9 @@ impl UntagResourceFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl UntagResourceFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::untag_resource::UntagResource, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                                            The ARN of the resource.

                                                                                            pub fn resource_arn(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.resource_arn(input.into()); diff --git a/sdk/iotevents/src/operation/update_alarm_model/builders.rs b/sdk/iotevents/src/operation/update_alarm_model/builders.rs index 85d5803b7756..bec281226d32 100644 --- a/sdk/iotevents/src/operation/update_alarm_model/builders.rs +++ b/sdk/iotevents/src/operation/update_alarm_model/builders.rs @@ -19,9 +19,9 @@ impl UpdateAlarmModelFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl UpdateAlarmModelFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::update_alarm_model::UpdateAlarmModel, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::update_alarm_model::UpdateAlarmModelError, + >, + > { + self.customize_middleware().await + } ///

                                                                                            The name of the alarm model.

                                                                                            pub fn alarm_model_name( mut self, diff --git a/sdk/iotevents/src/operation/update_detector_model/builders.rs b/sdk/iotevents/src/operation/update_detector_model/builders.rs index 68388e75db43..73ab24733137 100644 --- a/sdk/iotevents/src/operation/update_detector_model/builders.rs +++ b/sdk/iotevents/src/operation/update_detector_model/builders.rs @@ -19,9 +19,9 @@ impl UpdateDetectorModelFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl UpdateDetectorModelFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::update_detector_model::UpdateDetectorModel, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::update_detector_model::UpdateDetectorModelError, + >, + > { + self.customize_middleware().await + } ///

                                                                                            The name of the detector model that is updated.

                                                                                            pub fn detector_model_name( mut self, diff --git a/sdk/iotevents/src/operation/update_input/builders.rs b/sdk/iotevents/src/operation/update_input/builders.rs index 631b1ae58da9..9cf77f4ddd21 100644 --- a/sdk/iotevents/src/operation/update_input/builders.rs +++ b/sdk/iotevents/src/operation/update_input/builders.rs @@ -19,9 +19,9 @@ impl UpdateInputFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl UpdateInputFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::update_input::UpdateInput, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                                            The name of the input you want to update.

                                                                                            pub fn input_name(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.input_name(input.into()); diff --git a/sdk/ioteventsdata/src/operation/batch_acknowledge_alarm/builders.rs b/sdk/ioteventsdata/src/operation/batch_acknowledge_alarm/builders.rs index f3e5de172b96..1dc43a434f78 100644 --- a/sdk/ioteventsdata/src/operation/batch_acknowledge_alarm/builders.rs +++ b/sdk/ioteventsdata/src/operation/batch_acknowledge_alarm/builders.rs @@ -19,9 +19,9 @@ impl BatchAcknowledgeAlarmFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl BatchAcknowledgeAlarmFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::batch_acknowledge_alarm::BatchAcknowledgeAlarm, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::batch_acknowledge_alarm::BatchAcknowledgeAlarmError, + >, + > { + self.customize_middleware().await + } /// Appends an item to `acknowledgeActionRequests`. /// /// To override the contents of this collection use [`set_acknowledge_action_requests`](Self::set_acknowledge_action_requests). diff --git a/sdk/ioteventsdata/src/operation/batch_delete_detector/builders.rs b/sdk/ioteventsdata/src/operation/batch_delete_detector/builders.rs index f5c7157c7103..16a8f56dec7c 100644 --- a/sdk/ioteventsdata/src/operation/batch_delete_detector/builders.rs +++ b/sdk/ioteventsdata/src/operation/batch_delete_detector/builders.rs @@ -19,9 +19,9 @@ impl BatchDeleteDetectorFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl BatchDeleteDetectorFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::batch_delete_detector::BatchDeleteDetector, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::batch_delete_detector::BatchDeleteDetectorError, + >, + > { + self.customize_middleware().await + } /// Appends an item to `detectors`. /// /// To override the contents of this collection use [`set_detectors`](Self::set_detectors). diff --git a/sdk/ioteventsdata/src/operation/batch_disable_alarm/builders.rs b/sdk/ioteventsdata/src/operation/batch_disable_alarm/builders.rs index f30ddfaf9a1d..659f7f86bc8c 100644 --- a/sdk/ioteventsdata/src/operation/batch_disable_alarm/builders.rs +++ b/sdk/ioteventsdata/src/operation/batch_disable_alarm/builders.rs @@ -19,9 +19,9 @@ impl BatchDisableAlarmFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl BatchDisableAlarmFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::batch_disable_alarm::BatchDisableAlarm, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::batch_disable_alarm::BatchDisableAlarmError, + >, + > { + self.customize_middleware().await + } /// Appends an item to `disableActionRequests`. /// /// To override the contents of this collection use [`set_disable_action_requests`](Self::set_disable_action_requests). diff --git a/sdk/ioteventsdata/src/operation/batch_enable_alarm/builders.rs b/sdk/ioteventsdata/src/operation/batch_enable_alarm/builders.rs index c40a4c4ffc54..f141d03437d8 100644 --- a/sdk/ioteventsdata/src/operation/batch_enable_alarm/builders.rs +++ b/sdk/ioteventsdata/src/operation/batch_enable_alarm/builders.rs @@ -19,9 +19,9 @@ impl BatchEnableAlarmFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl BatchEnableAlarmFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::batch_enable_alarm::BatchEnableAlarm, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::batch_enable_alarm::BatchEnableAlarmError, + >, + > { + self.customize_middleware().await + } /// Appends an item to `enableActionRequests`. /// /// To override the contents of this collection use [`set_enable_action_requests`](Self::set_enable_action_requests). diff --git a/sdk/ioteventsdata/src/operation/batch_put_message/builders.rs b/sdk/ioteventsdata/src/operation/batch_put_message/builders.rs index f68fc4bdffeb..f8255ff043ec 100644 --- a/sdk/ioteventsdata/src/operation/batch_put_message/builders.rs +++ b/sdk/ioteventsdata/src/operation/batch_put_message/builders.rs @@ -19,9 +19,9 @@ impl BatchPutMessageFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl BatchPutMessageFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::batch_put_message::BatchPutMessage, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::batch_put_message::BatchPutMessageError, + >, + > { + self.customize_middleware().await + } /// Appends an item to `messages`. /// /// To override the contents of this collection use [`set_messages`](Self::set_messages). diff --git a/sdk/ioteventsdata/src/operation/batch_reset_alarm/builders.rs b/sdk/ioteventsdata/src/operation/batch_reset_alarm/builders.rs index d274286d68c3..e53ad9f251f8 100644 --- a/sdk/ioteventsdata/src/operation/batch_reset_alarm/builders.rs +++ b/sdk/ioteventsdata/src/operation/batch_reset_alarm/builders.rs @@ -19,9 +19,9 @@ impl BatchResetAlarmFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl BatchResetAlarmFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::batch_reset_alarm::BatchResetAlarm, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::batch_reset_alarm::BatchResetAlarmError, + >, + > { + self.customize_middleware().await + } /// Appends an item to `resetActionRequests`. /// /// To override the contents of this collection use [`set_reset_action_requests`](Self::set_reset_action_requests). diff --git a/sdk/ioteventsdata/src/operation/batch_snooze_alarm/builders.rs b/sdk/ioteventsdata/src/operation/batch_snooze_alarm/builders.rs index c35e9e4569f9..1a2484ae9f13 100644 --- a/sdk/ioteventsdata/src/operation/batch_snooze_alarm/builders.rs +++ b/sdk/ioteventsdata/src/operation/batch_snooze_alarm/builders.rs @@ -19,9 +19,9 @@ impl BatchSnoozeAlarmFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl BatchSnoozeAlarmFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::batch_snooze_alarm::BatchSnoozeAlarm, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::batch_snooze_alarm::BatchSnoozeAlarmError, + >, + > { + self.customize_middleware().await + } /// Appends an item to `snoozeActionRequests`. /// /// To override the contents of this collection use [`set_snooze_action_requests`](Self::set_snooze_action_requests). diff --git a/sdk/ioteventsdata/src/operation/batch_update_detector/builders.rs b/sdk/ioteventsdata/src/operation/batch_update_detector/builders.rs index c2fddf3d65ae..eb1c1b43c6af 100644 --- a/sdk/ioteventsdata/src/operation/batch_update_detector/builders.rs +++ b/sdk/ioteventsdata/src/operation/batch_update_detector/builders.rs @@ -19,9 +19,9 @@ impl BatchUpdateDetectorFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl BatchUpdateDetectorFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::batch_update_detector::BatchUpdateDetector, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::batch_update_detector::BatchUpdateDetectorError, + >, + > { + self.customize_middleware().await + } /// Appends an item to `detectors`. /// /// To override the contents of this collection use [`set_detectors`](Self::set_detectors). diff --git a/sdk/ioteventsdata/src/operation/describe_alarm/builders.rs b/sdk/ioteventsdata/src/operation/describe_alarm/builders.rs index 0f5f4ce17f52..27559b9d32d5 100644 --- a/sdk/ioteventsdata/src/operation/describe_alarm/builders.rs +++ b/sdk/ioteventsdata/src/operation/describe_alarm/builders.rs @@ -19,9 +19,9 @@ impl DescribeAlarmFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl DescribeAlarmFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::describe_alarm::DescribeAlarm, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                                            The name of the alarm model.

                                                                                            pub fn alarm_model_name( mut self, diff --git a/sdk/ioteventsdata/src/operation/describe_detector/builders.rs b/sdk/ioteventsdata/src/operation/describe_detector/builders.rs index b6dd9752bfa1..c04b1d023a1c 100644 --- a/sdk/ioteventsdata/src/operation/describe_detector/builders.rs +++ b/sdk/ioteventsdata/src/operation/describe_detector/builders.rs @@ -19,9 +19,9 @@ impl DescribeDetectorFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl DescribeDetectorFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::describe_detector::DescribeDetector, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::describe_detector::DescribeDetectorError, + >, + > { + self.customize_middleware().await + } ///

                                                                                            The name of the detector model whose detectors (instances) you want information about.

                                                                                            pub fn detector_model_name( mut self, diff --git a/sdk/ioteventsdata/src/operation/list_alarms/builders.rs b/sdk/ioteventsdata/src/operation/list_alarms/builders.rs index f5915020e419..3db8f15b591f 100644 --- a/sdk/ioteventsdata/src/operation/list_alarms/builders.rs +++ b/sdk/ioteventsdata/src/operation/list_alarms/builders.rs @@ -19,9 +19,9 @@ impl ListAlarmsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl ListAlarmsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_alarms::ListAlarms, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                                            The name of the alarm model.

                                                                                            pub fn alarm_model_name( mut self, diff --git a/sdk/ioteventsdata/src/operation/list_detectors/builders.rs b/sdk/ioteventsdata/src/operation/list_detectors/builders.rs index 91ff18af1594..6947b562547e 100644 --- a/sdk/ioteventsdata/src/operation/list_detectors/builders.rs +++ b/sdk/ioteventsdata/src/operation/list_detectors/builders.rs @@ -19,9 +19,9 @@ impl ListDetectorsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl ListDetectorsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_detectors::ListDetectors, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                                            The name of the detector model whose detectors (instances) are listed.

                                                                                            pub fn detector_model_name( mut self, diff --git a/sdk/iotfleethub/src/operation/create_application/builders.rs b/sdk/iotfleethub/src/operation/create_application/builders.rs index 4e1dc19acbec..d3b6f6af3649 100644 --- a/sdk/iotfleethub/src/operation/create_application/builders.rs +++ b/sdk/iotfleethub/src/operation/create_application/builders.rs @@ -21,9 +21,9 @@ impl CreateApplicationFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -85,6 +85,22 @@ impl CreateApplicationFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::create_application::CreateApplication, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::create_application::CreateApplicationError, + >, + > { + self.customize_middleware().await + } ///

                                                                                            The name of the web application.

                                                                                            pub fn application_name( mut self, diff --git a/sdk/iotfleethub/src/operation/delete_application/builders.rs b/sdk/iotfleethub/src/operation/delete_application/builders.rs index 0feebcbf58f9..d0091646c88b 100644 --- a/sdk/iotfleethub/src/operation/delete_application/builders.rs +++ b/sdk/iotfleethub/src/operation/delete_application/builders.rs @@ -21,9 +21,9 @@ impl DeleteApplicationFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -85,6 +85,22 @@ impl DeleteApplicationFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::delete_application::DeleteApplication, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::delete_application::DeleteApplicationError, + >, + > { + self.customize_middleware().await + } ///

                                                                                            The unique Id of the web application.

                                                                                            pub fn application_id( mut self, diff --git a/sdk/iotfleethub/src/operation/describe_application/builders.rs b/sdk/iotfleethub/src/operation/describe_application/builders.rs index 886d33b7cdcf..2940d6169e69 100644 --- a/sdk/iotfleethub/src/operation/describe_application/builders.rs +++ b/sdk/iotfleethub/src/operation/describe_application/builders.rs @@ -21,9 +21,9 @@ impl DescribeApplicationFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -85,6 +85,22 @@ impl DescribeApplicationFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::describe_application::DescribeApplication, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::describe_application::DescribeApplicationError, + >, + > { + self.customize_middleware().await + } ///

                                                                                            The unique Id of the web application.

                                                                                            pub fn application_id( mut self, diff --git a/sdk/iotfleethub/src/operation/list_applications/builders.rs b/sdk/iotfleethub/src/operation/list_applications/builders.rs index f9b0256add2b..dbbb991b5ea6 100644 --- a/sdk/iotfleethub/src/operation/list_applications/builders.rs +++ b/sdk/iotfleethub/src/operation/list_applications/builders.rs @@ -21,9 +21,9 @@ impl ListApplicationsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -85,6 +85,22 @@ impl ListApplicationsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_applications::ListApplications, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::list_applications::ListApplicationsError, + >, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::list_applications::paginator::ListApplicationsPaginator::send) which returns a `Stream`. diff --git a/sdk/iotfleethub/src/operation/list_tags_for_resource/builders.rs b/sdk/iotfleethub/src/operation/list_tags_for_resource/builders.rs index 5e77a2081178..e56c35995aca 100644 --- a/sdk/iotfleethub/src/operation/list_tags_for_resource/builders.rs +++ b/sdk/iotfleethub/src/operation/list_tags_for_resource/builders.rs @@ -21,9 +21,9 @@ impl ListTagsForResourceFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -85,6 +85,22 @@ impl ListTagsForResourceFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_tags_for_resource::ListTagsForResource, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::list_tags_for_resource::ListTagsForResourceError, + >, + > { + self.customize_middleware().await + } ///

                                                                                            The ARN of the resource.

                                                                                            pub fn resource_arn(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.resource_arn(input.into()); diff --git a/sdk/iotfleethub/src/operation/tag_resource/builders.rs b/sdk/iotfleethub/src/operation/tag_resource/builders.rs index 7ffcfda1fc6f..76efdb16881c 100644 --- a/sdk/iotfleethub/src/operation/tag_resource/builders.rs +++ b/sdk/iotfleethub/src/operation/tag_resource/builders.rs @@ -21,9 +21,9 @@ impl TagResourceFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -79,6 +79,20 @@ impl TagResourceFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::tag_resource::TagResource, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                                            The ARN of the resource.

                                                                                            pub fn resource_arn(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.resource_arn(input.into()); diff --git a/sdk/iotfleethub/src/operation/untag_resource/builders.rs b/sdk/iotfleethub/src/operation/untag_resource/builders.rs index aeb0471fa1bb..dae8f366af76 100644 --- a/sdk/iotfleethub/src/operation/untag_resource/builders.rs +++ b/sdk/iotfleethub/src/operation/untag_resource/builders.rs @@ -21,9 +21,9 @@ impl UntagResourceFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -79,6 +79,20 @@ impl UntagResourceFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::untag_resource::UntagResource, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                                            The ARN of the resource.

                                                                                            pub fn resource_arn(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.resource_arn(input.into()); diff --git a/sdk/iotfleethub/src/operation/update_application/builders.rs b/sdk/iotfleethub/src/operation/update_application/builders.rs index cab19fbc9d9f..db0d38054aa6 100644 --- a/sdk/iotfleethub/src/operation/update_application/builders.rs +++ b/sdk/iotfleethub/src/operation/update_application/builders.rs @@ -21,9 +21,9 @@ impl UpdateApplicationFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -85,6 +85,22 @@ impl UpdateApplicationFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::update_application::UpdateApplication, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::update_application::UpdateApplicationError, + >, + > { + self.customize_middleware().await + } ///

                                                                                            The unique Id of the web application.

                                                                                            pub fn application_id( mut self, diff --git a/sdk/iotfleetwise/src/operation/associate_vehicle_fleet/builders.rs b/sdk/iotfleetwise/src/operation/associate_vehicle_fleet/builders.rs index f1c01a23bd62..bad612769cf2 100644 --- a/sdk/iotfleetwise/src/operation/associate_vehicle_fleet/builders.rs +++ b/sdk/iotfleetwise/src/operation/associate_vehicle_fleet/builders.rs @@ -19,9 +19,9 @@ impl AssociateVehicleFleetFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl AssociateVehicleFleetFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::associate_vehicle_fleet::AssociateVehicleFleet, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::associate_vehicle_fleet::AssociateVehicleFleetError, + >, + > { + self.customize_middleware().await + } ///

                                                                                            The unique ID of the vehicle to associate with the fleet.

                                                                                            pub fn vehicle_name(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.vehicle_name(input.into()); diff --git a/sdk/iotfleetwise/src/operation/batch_create_vehicle/builders.rs b/sdk/iotfleetwise/src/operation/batch_create_vehicle/builders.rs index 443c548023f5..4daa9ac77bbb 100644 --- a/sdk/iotfleetwise/src/operation/batch_create_vehicle/builders.rs +++ b/sdk/iotfleetwise/src/operation/batch_create_vehicle/builders.rs @@ -22,9 +22,9 @@ impl BatchCreateVehicleFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -86,6 +86,22 @@ impl BatchCreateVehicleFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::batch_create_vehicle::BatchCreateVehicle, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::batch_create_vehicle::BatchCreateVehicleError, + >, + > { + self.customize_middleware().await + } /// Appends an item to `vehicles`. /// /// To override the contents of this collection use [`set_vehicles`](Self::set_vehicles). diff --git a/sdk/iotfleetwise/src/operation/batch_update_vehicle/builders.rs b/sdk/iotfleetwise/src/operation/batch_update_vehicle/builders.rs index 2b8769257165..235e3ec86df1 100644 --- a/sdk/iotfleetwise/src/operation/batch_update_vehicle/builders.rs +++ b/sdk/iotfleetwise/src/operation/batch_update_vehicle/builders.rs @@ -22,9 +22,9 @@ impl BatchUpdateVehicleFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -86,6 +86,22 @@ impl BatchUpdateVehicleFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::batch_update_vehicle::BatchUpdateVehicle, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::batch_update_vehicle::BatchUpdateVehicleError, + >, + > { + self.customize_middleware().await + } /// Appends an item to `vehicles`. /// /// To override the contents of this collection use [`set_vehicles`](Self::set_vehicles). diff --git a/sdk/iotfleetwise/src/operation/create_campaign/builders.rs b/sdk/iotfleetwise/src/operation/create_campaign/builders.rs index 6cebbd821418..5c1e151ad896 100644 --- a/sdk/iotfleetwise/src/operation/create_campaign/builders.rs +++ b/sdk/iotfleetwise/src/operation/create_campaign/builders.rs @@ -20,9 +20,9 @@ impl CreateCampaignFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -78,6 +78,20 @@ impl CreateCampaignFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::create_campaign::CreateCampaign, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                                            The name of the campaign to create.

                                                                                            pub fn name(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.name(input.into()); diff --git a/sdk/iotfleetwise/src/operation/create_decoder_manifest/builders.rs b/sdk/iotfleetwise/src/operation/create_decoder_manifest/builders.rs index 14792fdda56a..77a974cf5152 100644 --- a/sdk/iotfleetwise/src/operation/create_decoder_manifest/builders.rs +++ b/sdk/iotfleetwise/src/operation/create_decoder_manifest/builders.rs @@ -25,9 +25,9 @@ impl CreateDecoderManifestFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -89,6 +89,22 @@ impl CreateDecoderManifestFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::create_decoder_manifest::CreateDecoderManifest, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::create_decoder_manifest::CreateDecoderManifestError, + >, + > { + self.customize_middleware().await + } ///

                                                                                            The unique name of the decoder manifest to create.

                                                                                            pub fn name(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.name(input.into()); diff --git a/sdk/iotfleetwise/src/operation/create_fleet/builders.rs b/sdk/iotfleetwise/src/operation/create_fleet/builders.rs index 71940cac4449..2f83e148521d 100644 --- a/sdk/iotfleetwise/src/operation/create_fleet/builders.rs +++ b/sdk/iotfleetwise/src/operation/create_fleet/builders.rs @@ -22,9 +22,9 @@ impl CreateFleetFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -80,6 +80,20 @@ impl CreateFleetFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::create_fleet::CreateFleet, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                                            The unique ID of the fleet to create.

                                                                                            pub fn fleet_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.fleet_id(input.into()); diff --git a/sdk/iotfleetwise/src/operation/create_model_manifest/builders.rs b/sdk/iotfleetwise/src/operation/create_model_manifest/builders.rs index 3de0ef99251d..559745886da8 100644 --- a/sdk/iotfleetwise/src/operation/create_model_manifest/builders.rs +++ b/sdk/iotfleetwise/src/operation/create_model_manifest/builders.rs @@ -20,9 +20,9 @@ impl CreateModelManifestFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -84,6 +84,22 @@ impl CreateModelManifestFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::create_model_manifest::CreateModelManifest, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::create_model_manifest::CreateModelManifestError, + >, + > { + self.customize_middleware().await + } ///

                                                                                            The name of the vehicle model to create.

                                                                                            pub fn name(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.name(input.into()); diff --git a/sdk/iotfleetwise/src/operation/create_signal_catalog/builders.rs b/sdk/iotfleetwise/src/operation/create_signal_catalog/builders.rs index bb68e1eee3c3..2ed92a21975d 100644 --- a/sdk/iotfleetwise/src/operation/create_signal_catalog/builders.rs +++ b/sdk/iotfleetwise/src/operation/create_signal_catalog/builders.rs @@ -19,9 +19,9 @@ impl CreateSignalCatalogFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl CreateSignalCatalogFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::create_signal_catalog::CreateSignalCatalog, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::create_signal_catalog::CreateSignalCatalogError, + >, + > { + self.customize_middleware().await + } ///

                                                                                            The name of the signal catalog to create.

                                                                                            pub fn name(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.name(input.into()); diff --git a/sdk/iotfleetwise/src/operation/create_vehicle/builders.rs b/sdk/iotfleetwise/src/operation/create_vehicle/builders.rs index b77bfdb6d95c..b7eb9bdb89fa 100644 --- a/sdk/iotfleetwise/src/operation/create_vehicle/builders.rs +++ b/sdk/iotfleetwise/src/operation/create_vehicle/builders.rs @@ -22,9 +22,9 @@ impl CreateVehicleFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -80,6 +80,20 @@ impl CreateVehicleFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::create_vehicle::CreateVehicle, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                                            The unique ID of the vehicle to create.

                                                                                            pub fn vehicle_name(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.vehicle_name(input.into()); diff --git a/sdk/iotfleetwise/src/operation/delete_campaign/builders.rs b/sdk/iotfleetwise/src/operation/delete_campaign/builders.rs index 81fea3fc16b8..31a121e5f69d 100644 --- a/sdk/iotfleetwise/src/operation/delete_campaign/builders.rs +++ b/sdk/iotfleetwise/src/operation/delete_campaign/builders.rs @@ -19,9 +19,9 @@ impl DeleteCampaignFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl DeleteCampaignFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::delete_campaign::DeleteCampaign, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                                            The name of the campaign to delete.

                                                                                            pub fn name(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.name(input.into()); diff --git a/sdk/iotfleetwise/src/operation/delete_decoder_manifest/builders.rs b/sdk/iotfleetwise/src/operation/delete_decoder_manifest/builders.rs index 58e34421a63a..0996ee580475 100644 --- a/sdk/iotfleetwise/src/operation/delete_decoder_manifest/builders.rs +++ b/sdk/iotfleetwise/src/operation/delete_decoder_manifest/builders.rs @@ -21,9 +21,9 @@ impl DeleteDecoderManifestFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -85,6 +85,22 @@ impl DeleteDecoderManifestFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::delete_decoder_manifest::DeleteDecoderManifest, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::delete_decoder_manifest::DeleteDecoderManifestError, + >, + > { + self.customize_middleware().await + } ///

                                                                                            The name of the decoder manifest to delete.

                                                                                            pub fn name(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.name(input.into()); diff --git a/sdk/iotfleetwise/src/operation/delete_fleet/builders.rs b/sdk/iotfleetwise/src/operation/delete_fleet/builders.rs index 7ada30db2767..31a2018f2adf 100644 --- a/sdk/iotfleetwise/src/operation/delete_fleet/builders.rs +++ b/sdk/iotfleetwise/src/operation/delete_fleet/builders.rs @@ -21,9 +21,9 @@ impl DeleteFleetFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -79,6 +79,20 @@ impl DeleteFleetFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::delete_fleet::DeleteFleet, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                                            The ID of the fleet to delete.

                                                                                            pub fn fleet_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.fleet_id(input.into()); diff --git a/sdk/iotfleetwise/src/operation/delete_model_manifest/builders.rs b/sdk/iotfleetwise/src/operation/delete_model_manifest/builders.rs index b469b88ebfb5..9f823343c2ea 100644 --- a/sdk/iotfleetwise/src/operation/delete_model_manifest/builders.rs +++ b/sdk/iotfleetwise/src/operation/delete_model_manifest/builders.rs @@ -21,9 +21,9 @@ impl DeleteModelManifestFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -85,6 +85,22 @@ impl DeleteModelManifestFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::delete_model_manifest::DeleteModelManifest, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::delete_model_manifest::DeleteModelManifestError, + >, + > { + self.customize_middleware().await + } ///

                                                                                            The name of the model manifest to delete.

                                                                                            pub fn name(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.name(input.into()); diff --git a/sdk/iotfleetwise/src/operation/delete_signal_catalog/builders.rs b/sdk/iotfleetwise/src/operation/delete_signal_catalog/builders.rs index cffdb7393539..b7d7defa59e8 100644 --- a/sdk/iotfleetwise/src/operation/delete_signal_catalog/builders.rs +++ b/sdk/iotfleetwise/src/operation/delete_signal_catalog/builders.rs @@ -21,9 +21,9 @@ impl DeleteSignalCatalogFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -85,6 +85,22 @@ impl DeleteSignalCatalogFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::delete_signal_catalog::DeleteSignalCatalog, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::delete_signal_catalog::DeleteSignalCatalogError, + >, + > { + self.customize_middleware().await + } ///

                                                                                            The name of the signal catalog to delete.

                                                                                            pub fn name(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.name(input.into()); diff --git a/sdk/iotfleetwise/src/operation/delete_vehicle/builders.rs b/sdk/iotfleetwise/src/operation/delete_vehicle/builders.rs index c699ea5be602..1849fed91beb 100644 --- a/sdk/iotfleetwise/src/operation/delete_vehicle/builders.rs +++ b/sdk/iotfleetwise/src/operation/delete_vehicle/builders.rs @@ -21,9 +21,9 @@ impl DeleteVehicleFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -79,6 +79,20 @@ impl DeleteVehicleFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::delete_vehicle::DeleteVehicle, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                                            The ID of the vehicle to delete.

                                                                                            pub fn vehicle_name(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.vehicle_name(input.into()); diff --git a/sdk/iotfleetwise/src/operation/disassociate_vehicle_fleet/builders.rs b/sdk/iotfleetwise/src/operation/disassociate_vehicle_fleet/builders.rs index dfa1b9f6781c..8cc9b787afe7 100644 --- a/sdk/iotfleetwise/src/operation/disassociate_vehicle_fleet/builders.rs +++ b/sdk/iotfleetwise/src/operation/disassociate_vehicle_fleet/builders.rs @@ -21,9 +21,9 @@ impl DisassociateVehicleFleetFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -85,6 +85,22 @@ impl DisassociateVehicleFleetFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::disassociate_vehicle_fleet::DisassociateVehicleFleet, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::disassociate_vehicle_fleet::DisassociateVehicleFleetError, + >, + > { + self.customize_middleware().await + } ///

                                                                                            The unique ID of the vehicle to disassociate from the fleet.

                                                                                            pub fn vehicle_name(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.vehicle_name(input.into()); diff --git a/sdk/iotfleetwise/src/operation/get_campaign/builders.rs b/sdk/iotfleetwise/src/operation/get_campaign/builders.rs index 215366db1063..b2873c27db43 100644 --- a/sdk/iotfleetwise/src/operation/get_campaign/builders.rs +++ b/sdk/iotfleetwise/src/operation/get_campaign/builders.rs @@ -19,9 +19,9 @@ impl GetCampaignFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl GetCampaignFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::get_campaign::GetCampaign, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                                            The name of the campaign to retrieve information about.

                                                                                            pub fn name(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.name(input.into()); diff --git a/sdk/iotfleetwise/src/operation/get_decoder_manifest/builders.rs b/sdk/iotfleetwise/src/operation/get_decoder_manifest/builders.rs index 648868b08a75..3c8d3b1f42fc 100644 --- a/sdk/iotfleetwise/src/operation/get_decoder_manifest/builders.rs +++ b/sdk/iotfleetwise/src/operation/get_decoder_manifest/builders.rs @@ -19,9 +19,9 @@ impl GetDecoderManifestFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl GetDecoderManifestFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::get_decoder_manifest::GetDecoderManifest, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::get_decoder_manifest::GetDecoderManifestError, + >, + > { + self.customize_middleware().await + } ///

                                                                                            The name of the decoder manifest to retrieve information about.

                                                                                            pub fn name(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.name(input.into()); diff --git a/sdk/iotfleetwise/src/operation/get_fleet/builders.rs b/sdk/iotfleetwise/src/operation/get_fleet/builders.rs index 56a9f9ea550b..c2f3cdd03ab1 100644 --- a/sdk/iotfleetwise/src/operation/get_fleet/builders.rs +++ b/sdk/iotfleetwise/src/operation/get_fleet/builders.rs @@ -19,9 +19,9 @@ impl GetFleetFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl GetFleetFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::get_fleet::GetFleet, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                                            The ID of the fleet to retrieve information about.

                                                                                            pub fn fleet_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.fleet_id(input.into()); diff --git a/sdk/iotfleetwise/src/operation/get_logging_options/builders.rs b/sdk/iotfleetwise/src/operation/get_logging_options/builders.rs index 3b675ef00491..88c846f2ee82 100644 --- a/sdk/iotfleetwise/src/operation/get_logging_options/builders.rs +++ b/sdk/iotfleetwise/src/operation/get_logging_options/builders.rs @@ -19,9 +19,9 @@ impl GetLoggingOptionsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,4 +83,20 @@ impl GetLoggingOptionsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::get_logging_options::GetLoggingOptions, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::get_logging_options::GetLoggingOptionsError, + >, + > { + self.customize_middleware().await + } } diff --git a/sdk/iotfleetwise/src/operation/get_model_manifest/builders.rs b/sdk/iotfleetwise/src/operation/get_model_manifest/builders.rs index 8cb46f6bff80..0ea90e074927 100644 --- a/sdk/iotfleetwise/src/operation/get_model_manifest/builders.rs +++ b/sdk/iotfleetwise/src/operation/get_model_manifest/builders.rs @@ -19,9 +19,9 @@ impl GetModelManifestFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl GetModelManifestFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::get_model_manifest::GetModelManifest, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::get_model_manifest::GetModelManifestError, + >, + > { + self.customize_middleware().await + } ///

                                                                                            The name of the vehicle model to retrieve information about.

                                                                                            pub fn name(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.name(input.into()); diff --git a/sdk/iotfleetwise/src/operation/get_register_account_status/builders.rs b/sdk/iotfleetwise/src/operation/get_register_account_status/builders.rs index 80e435fd5b54..3d3b949b6aaf 100644 --- a/sdk/iotfleetwise/src/operation/get_register_account_status/builders.rs +++ b/sdk/iotfleetwise/src/operation/get_register_account_status/builders.rs @@ -22,9 +22,9 @@ impl GetRegisterAccountStatusFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -86,4 +86,20 @@ impl GetRegisterAccountStatusFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::get_register_account_status::GetRegisterAccountStatus, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::get_register_account_status::GetRegisterAccountStatusError, + >, + > { + self.customize_middleware().await + } } diff --git a/sdk/iotfleetwise/src/operation/get_signal_catalog/builders.rs b/sdk/iotfleetwise/src/operation/get_signal_catalog/builders.rs index a9fb6fa38597..80a635b70fc8 100644 --- a/sdk/iotfleetwise/src/operation/get_signal_catalog/builders.rs +++ b/sdk/iotfleetwise/src/operation/get_signal_catalog/builders.rs @@ -19,9 +19,9 @@ impl GetSignalCatalogFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl GetSignalCatalogFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::get_signal_catalog::GetSignalCatalog, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::get_signal_catalog::GetSignalCatalogError, + >, + > { + self.customize_middleware().await + } ///

                                                                                            The name of the signal catalog to retrieve information about.

                                                                                            pub fn name(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.name(input.into()); diff --git a/sdk/iotfleetwise/src/operation/get_vehicle/builders.rs b/sdk/iotfleetwise/src/operation/get_vehicle/builders.rs index 80b8b91e02b6..bff8f4b56c59 100644 --- a/sdk/iotfleetwise/src/operation/get_vehicle/builders.rs +++ b/sdk/iotfleetwise/src/operation/get_vehicle/builders.rs @@ -19,9 +19,9 @@ impl GetVehicleFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl GetVehicleFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::get_vehicle::GetVehicle, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                                            The ID of the vehicle to retrieve information about.

                                                                                            pub fn vehicle_name(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.vehicle_name(input.into()); diff --git a/sdk/iotfleetwise/src/operation/get_vehicle_status/builders.rs b/sdk/iotfleetwise/src/operation/get_vehicle_status/builders.rs index 6fb34aff08ca..afe05950cada 100644 --- a/sdk/iotfleetwise/src/operation/get_vehicle_status/builders.rs +++ b/sdk/iotfleetwise/src/operation/get_vehicle_status/builders.rs @@ -19,9 +19,9 @@ impl GetVehicleStatusFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl GetVehicleStatusFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::get_vehicle_status::GetVehicleStatus, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::get_vehicle_status::GetVehicleStatusError, + >, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::get_vehicle_status::paginator::GetVehicleStatusPaginator::send) which returns a `Stream`. diff --git a/sdk/iotfleetwise/src/operation/import_decoder_manifest/builders.rs b/sdk/iotfleetwise/src/operation/import_decoder_manifest/builders.rs index e632cef0dc13..6c63a47cdaa4 100644 --- a/sdk/iotfleetwise/src/operation/import_decoder_manifest/builders.rs +++ b/sdk/iotfleetwise/src/operation/import_decoder_manifest/builders.rs @@ -19,9 +19,9 @@ impl ImportDecoderManifestFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl ImportDecoderManifestFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::import_decoder_manifest::ImportDecoderManifest, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::import_decoder_manifest::ImportDecoderManifestError, + >, + > { + self.customize_middleware().await + } ///

                                                                                            The name of the decoder manifest to import.

                                                                                            pub fn name(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.name(input.into()); diff --git a/sdk/iotfleetwise/src/operation/import_signal_catalog/builders.rs b/sdk/iotfleetwise/src/operation/import_signal_catalog/builders.rs index 99624ad2d1cf..44674f8ca538 100644 --- a/sdk/iotfleetwise/src/operation/import_signal_catalog/builders.rs +++ b/sdk/iotfleetwise/src/operation/import_signal_catalog/builders.rs @@ -19,9 +19,9 @@ impl ImportSignalCatalogFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl ImportSignalCatalogFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::import_signal_catalog::ImportSignalCatalog, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::import_signal_catalog::ImportSignalCatalogError, + >, + > { + self.customize_middleware().await + } ///

                                                                                            The name of the signal catalog to import.

                                                                                            pub fn name(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.name(input.into()); diff --git a/sdk/iotfleetwise/src/operation/list_campaigns/builders.rs b/sdk/iotfleetwise/src/operation/list_campaigns/builders.rs index 121d5ed67d47..8dd2021ce665 100644 --- a/sdk/iotfleetwise/src/operation/list_campaigns/builders.rs +++ b/sdk/iotfleetwise/src/operation/list_campaigns/builders.rs @@ -21,9 +21,9 @@ impl ListCampaignsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -79,6 +79,20 @@ impl ListCampaignsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_campaigns::ListCampaigns, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::list_campaigns::paginator::ListCampaignsPaginator::send) which returns a `Stream`. diff --git a/sdk/iotfleetwise/src/operation/list_decoder_manifest_network_interfaces/builders.rs b/sdk/iotfleetwise/src/operation/list_decoder_manifest_network_interfaces/builders.rs index 594cbc23307c..a555f9df33dd 100644 --- a/sdk/iotfleetwise/src/operation/list_decoder_manifest_network_interfaces/builders.rs +++ b/sdk/iotfleetwise/src/operation/list_decoder_manifest_network_interfaces/builders.rs @@ -21,9 +21,9 @@ impl ListDecoderManifestNetworkInterfacesFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize(self) -> ::std::result::Result< + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware(self) -> ::std::result::Result< crate::client::customize::CustomizableOperation, ::aws_smithy_http::result::SdkError >{ @@ -66,6 +66,15 @@ impl ListDecoderManifestNetworkInterfacesFluentBuilder { { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize(self) -> ::std::result::Result< + crate::client::customize::CustomizableOperation, + ::aws_smithy_http::result::SdkError + >{ + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::list_decoder_manifest_network_interfaces::paginator::ListDecoderManifestNetworkInterfacesPaginator::send) which returns a `Stream`. diff --git a/sdk/iotfleetwise/src/operation/list_decoder_manifest_signals/builders.rs b/sdk/iotfleetwise/src/operation/list_decoder_manifest_signals/builders.rs index 4030d4606876..b4f62e4d1675 100644 --- a/sdk/iotfleetwise/src/operation/list_decoder_manifest_signals/builders.rs +++ b/sdk/iotfleetwise/src/operation/list_decoder_manifest_signals/builders.rs @@ -21,9 +21,9 @@ impl ListDecoderManifestSignalsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -85,6 +85,22 @@ impl ListDecoderManifestSignalsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_decoder_manifest_signals::ListDecoderManifestSignals, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::list_decoder_manifest_signals::ListDecoderManifestSignalsError, + >, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::list_decoder_manifest_signals::paginator::ListDecoderManifestSignalsPaginator::send) which returns a `Stream`. diff --git a/sdk/iotfleetwise/src/operation/list_decoder_manifests/builders.rs b/sdk/iotfleetwise/src/operation/list_decoder_manifests/builders.rs index ace07d2cd50e..b90080e326d8 100644 --- a/sdk/iotfleetwise/src/operation/list_decoder_manifests/builders.rs +++ b/sdk/iotfleetwise/src/operation/list_decoder_manifests/builders.rs @@ -21,9 +21,9 @@ impl ListDecoderManifestsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -85,6 +85,22 @@ impl ListDecoderManifestsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_decoder_manifests::ListDecoderManifests, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::list_decoder_manifests::ListDecoderManifestsError, + >, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::list_decoder_manifests::paginator::ListDecoderManifestsPaginator::send) which returns a `Stream`. diff --git a/sdk/iotfleetwise/src/operation/list_fleets/builders.rs b/sdk/iotfleetwise/src/operation/list_fleets/builders.rs index f2402298c6af..694550db3c4c 100644 --- a/sdk/iotfleetwise/src/operation/list_fleets/builders.rs +++ b/sdk/iotfleetwise/src/operation/list_fleets/builders.rs @@ -21,9 +21,9 @@ impl ListFleetsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -79,6 +79,20 @@ impl ListFleetsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_fleets::ListFleets, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::list_fleets::paginator::ListFleetsPaginator::send) which returns a `Stream`. diff --git a/sdk/iotfleetwise/src/operation/list_fleets_for_vehicle/builders.rs b/sdk/iotfleetwise/src/operation/list_fleets_for_vehicle/builders.rs index 8fd55ea2588e..d8673ecf0207 100644 --- a/sdk/iotfleetwise/src/operation/list_fleets_for_vehicle/builders.rs +++ b/sdk/iotfleetwise/src/operation/list_fleets_for_vehicle/builders.rs @@ -21,9 +21,9 @@ impl ListFleetsForVehicleFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -85,6 +85,22 @@ impl ListFleetsForVehicleFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_fleets_for_vehicle::ListFleetsForVehicle, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::list_fleets_for_vehicle::ListFleetsForVehicleError, + >, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::list_fleets_for_vehicle::paginator::ListFleetsForVehiclePaginator::send) which returns a `Stream`. diff --git a/sdk/iotfleetwise/src/operation/list_model_manifest_nodes/builders.rs b/sdk/iotfleetwise/src/operation/list_model_manifest_nodes/builders.rs index 175742ba970d..b455ead5765c 100644 --- a/sdk/iotfleetwise/src/operation/list_model_manifest_nodes/builders.rs +++ b/sdk/iotfleetwise/src/operation/list_model_manifest_nodes/builders.rs @@ -22,9 +22,9 @@ impl ListModelManifestNodesFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -86,6 +86,22 @@ impl ListModelManifestNodesFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_model_manifest_nodes::ListModelManifestNodes, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::list_model_manifest_nodes::ListModelManifestNodesError, + >, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::list_model_manifest_nodes::paginator::ListModelManifestNodesPaginator::send) which returns a `Stream`. diff --git a/sdk/iotfleetwise/src/operation/list_model_manifests/builders.rs b/sdk/iotfleetwise/src/operation/list_model_manifests/builders.rs index f8548655e912..6f10d8b62e62 100644 --- a/sdk/iotfleetwise/src/operation/list_model_manifests/builders.rs +++ b/sdk/iotfleetwise/src/operation/list_model_manifests/builders.rs @@ -21,9 +21,9 @@ impl ListModelManifestsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -85,6 +85,22 @@ impl ListModelManifestsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_model_manifests::ListModelManifests, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::list_model_manifests::ListModelManifestsError, + >, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::list_model_manifests::paginator::ListModelManifestsPaginator::send) which returns a `Stream`. diff --git a/sdk/iotfleetwise/src/operation/list_signal_catalog_nodes/builders.rs b/sdk/iotfleetwise/src/operation/list_signal_catalog_nodes/builders.rs index d5d37882dd53..d4f7637f3b5f 100644 --- a/sdk/iotfleetwise/src/operation/list_signal_catalog_nodes/builders.rs +++ b/sdk/iotfleetwise/src/operation/list_signal_catalog_nodes/builders.rs @@ -22,9 +22,9 @@ impl ListSignalCatalogNodesFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -86,6 +86,22 @@ impl ListSignalCatalogNodesFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_signal_catalog_nodes::ListSignalCatalogNodes, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::list_signal_catalog_nodes::ListSignalCatalogNodesError, + >, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::list_signal_catalog_nodes::paginator::ListSignalCatalogNodesPaginator::send) which returns a `Stream`. diff --git a/sdk/iotfleetwise/src/operation/list_signal_catalogs/builders.rs b/sdk/iotfleetwise/src/operation/list_signal_catalogs/builders.rs index c918f0f817d6..14265d14b242 100644 --- a/sdk/iotfleetwise/src/operation/list_signal_catalogs/builders.rs +++ b/sdk/iotfleetwise/src/operation/list_signal_catalogs/builders.rs @@ -22,9 +22,9 @@ impl ListSignalCatalogsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -86,6 +86,22 @@ impl ListSignalCatalogsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_signal_catalogs::ListSignalCatalogs, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::list_signal_catalogs::ListSignalCatalogsError, + >, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::list_signal_catalogs::paginator::ListSignalCatalogsPaginator::send) which returns a `Stream`. diff --git a/sdk/iotfleetwise/src/operation/list_tags_for_resource/builders.rs b/sdk/iotfleetwise/src/operation/list_tags_for_resource/builders.rs index ee18ee997b12..22f5bffd6339 100644 --- a/sdk/iotfleetwise/src/operation/list_tags_for_resource/builders.rs +++ b/sdk/iotfleetwise/src/operation/list_tags_for_resource/builders.rs @@ -19,9 +19,9 @@ impl ListTagsForResourceFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl ListTagsForResourceFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_tags_for_resource::ListTagsForResource, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::list_tags_for_resource::ListTagsForResourceError, + >, + > { + self.customize_middleware().await + } ///

                                                                                            The ARN of the resource.

                                                                                            pub fn resource_arn(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.resource_arn(input.into()); diff --git a/sdk/iotfleetwise/src/operation/list_vehicles/builders.rs b/sdk/iotfleetwise/src/operation/list_vehicles/builders.rs index b92f54e01019..ebb30154d242 100644 --- a/sdk/iotfleetwise/src/operation/list_vehicles/builders.rs +++ b/sdk/iotfleetwise/src/operation/list_vehicles/builders.rs @@ -21,9 +21,9 @@ impl ListVehiclesFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -79,6 +79,20 @@ impl ListVehiclesFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_vehicles::ListVehicles, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::list_vehicles::paginator::ListVehiclesPaginator::send) which returns a `Stream`. diff --git a/sdk/iotfleetwise/src/operation/list_vehicles_in_fleet/builders.rs b/sdk/iotfleetwise/src/operation/list_vehicles_in_fleet/builders.rs index 0bd17a564dbe..ff0f75daf5ec 100644 --- a/sdk/iotfleetwise/src/operation/list_vehicles_in_fleet/builders.rs +++ b/sdk/iotfleetwise/src/operation/list_vehicles_in_fleet/builders.rs @@ -21,9 +21,9 @@ impl ListVehiclesInFleetFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -85,6 +85,22 @@ impl ListVehiclesInFleetFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_vehicles_in_fleet::ListVehiclesInFleet, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::list_vehicles_in_fleet::ListVehiclesInFleetError, + >, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::list_vehicles_in_fleet::paginator::ListVehiclesInFleetPaginator::send) which returns a `Stream`. diff --git a/sdk/iotfleetwise/src/operation/put_logging_options/builders.rs b/sdk/iotfleetwise/src/operation/put_logging_options/builders.rs index cacf8abe0792..ff24eceefdd5 100644 --- a/sdk/iotfleetwise/src/operation/put_logging_options/builders.rs +++ b/sdk/iotfleetwise/src/operation/put_logging_options/builders.rs @@ -19,9 +19,9 @@ impl PutLoggingOptionsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl PutLoggingOptionsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::put_logging_options::PutLoggingOptions, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::put_logging_options::PutLoggingOptionsError, + >, + > { + self.customize_middleware().await + } ///

                                                                                            Creates or updates the log delivery option to Amazon CloudWatch Logs.

                                                                                            pub fn cloud_watch_log_delivery( mut self, diff --git a/sdk/iotfleetwise/src/operation/register_account/builders.rs b/sdk/iotfleetwise/src/operation/register_account/builders.rs index 522b263792eb..91b0a538df28 100644 --- a/sdk/iotfleetwise/src/operation/register_account/builders.rs +++ b/sdk/iotfleetwise/src/operation/register_account/builders.rs @@ -21,9 +21,9 @@ impl RegisterAccountFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -85,6 +85,22 @@ impl RegisterAccountFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::register_account::RegisterAccount, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::register_account::RegisterAccountError, + >, + > { + self.customize_middleware().await + } ///

                                                                                            The registered Amazon Timestream resources that Amazon Web Services IoT FleetWise edge agent software can transfer your vehicle data to.

                                                                                            pub fn timestream_resources(mut self, input: crate::types::TimestreamResources) -> Self { self.inner = self.inner.timestream_resources(input); diff --git a/sdk/iotfleetwise/src/operation/tag_resource/builders.rs b/sdk/iotfleetwise/src/operation/tag_resource/builders.rs index 3c690b5b7317..ad06679376b7 100644 --- a/sdk/iotfleetwise/src/operation/tag_resource/builders.rs +++ b/sdk/iotfleetwise/src/operation/tag_resource/builders.rs @@ -19,9 +19,9 @@ impl TagResourceFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl TagResourceFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::tag_resource::TagResource, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                                            The ARN of the resource.

                                                                                            pub fn resource_arn(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.resource_arn(input.into()); diff --git a/sdk/iotfleetwise/src/operation/untag_resource/builders.rs b/sdk/iotfleetwise/src/operation/untag_resource/builders.rs index cb44c7d9d1c8..d17aab12ade1 100644 --- a/sdk/iotfleetwise/src/operation/untag_resource/builders.rs +++ b/sdk/iotfleetwise/src/operation/untag_resource/builders.rs @@ -19,9 +19,9 @@ impl UntagResourceFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl UntagResourceFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::untag_resource::UntagResource, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                                            The ARN of the resource.

                                                                                            pub fn resource_arn(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.resource_arn(input.into()); diff --git a/sdk/iotfleetwise/src/operation/update_campaign/builders.rs b/sdk/iotfleetwise/src/operation/update_campaign/builders.rs index e59f98d87d34..4895561f78d0 100644 --- a/sdk/iotfleetwise/src/operation/update_campaign/builders.rs +++ b/sdk/iotfleetwise/src/operation/update_campaign/builders.rs @@ -19,9 +19,9 @@ impl UpdateCampaignFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl UpdateCampaignFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::update_campaign::UpdateCampaign, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                                            The name of the campaign to update.

                                                                                            pub fn name(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.name(input.into()); diff --git a/sdk/iotfleetwise/src/operation/update_decoder_manifest/builders.rs b/sdk/iotfleetwise/src/operation/update_decoder_manifest/builders.rs index e684414aaf1f..437a05cd02c8 100644 --- a/sdk/iotfleetwise/src/operation/update_decoder_manifest/builders.rs +++ b/sdk/iotfleetwise/src/operation/update_decoder_manifest/builders.rs @@ -20,9 +20,9 @@ impl UpdateDecoderManifestFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -84,6 +84,22 @@ impl UpdateDecoderManifestFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::update_decoder_manifest::UpdateDecoderManifest, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::update_decoder_manifest::UpdateDecoderManifestError, + >, + > { + self.customize_middleware().await + } ///

                                                                                            The name of the decoder manifest to update.

                                                                                            pub fn name(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.name(input.into()); diff --git a/sdk/iotfleetwise/src/operation/update_fleet/builders.rs b/sdk/iotfleetwise/src/operation/update_fleet/builders.rs index 39e59f96f374..aeae20085881 100644 --- a/sdk/iotfleetwise/src/operation/update_fleet/builders.rs +++ b/sdk/iotfleetwise/src/operation/update_fleet/builders.rs @@ -21,9 +21,9 @@ impl UpdateFleetFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -79,6 +79,20 @@ impl UpdateFleetFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::update_fleet::UpdateFleet, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                                            The ID of the fleet to update.

                                                                                            pub fn fleet_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.fleet_id(input.into()); diff --git a/sdk/iotfleetwise/src/operation/update_model_manifest/builders.rs b/sdk/iotfleetwise/src/operation/update_model_manifest/builders.rs index 9b3dac6236de..8a0f2e93ceb8 100644 --- a/sdk/iotfleetwise/src/operation/update_model_manifest/builders.rs +++ b/sdk/iotfleetwise/src/operation/update_model_manifest/builders.rs @@ -19,9 +19,9 @@ impl UpdateModelManifestFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl UpdateModelManifestFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::update_model_manifest::UpdateModelManifest, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::update_model_manifest::UpdateModelManifestError, + >, + > { + self.customize_middleware().await + } ///

                                                                                            The name of the vehicle model to update.

                                                                                            pub fn name(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.name(input.into()); diff --git a/sdk/iotfleetwise/src/operation/update_signal_catalog/builders.rs b/sdk/iotfleetwise/src/operation/update_signal_catalog/builders.rs index 83c29fc67ea8..529c4cfa2a2e 100644 --- a/sdk/iotfleetwise/src/operation/update_signal_catalog/builders.rs +++ b/sdk/iotfleetwise/src/operation/update_signal_catalog/builders.rs @@ -19,9 +19,9 @@ impl UpdateSignalCatalogFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl UpdateSignalCatalogFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::update_signal_catalog::UpdateSignalCatalog, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::update_signal_catalog::UpdateSignalCatalogError, + >, + > { + self.customize_middleware().await + } ///

                                                                                            The name of the signal catalog to update.

                                                                                            pub fn name(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.name(input.into()); diff --git a/sdk/iotfleetwise/src/operation/update_vehicle/builders.rs b/sdk/iotfleetwise/src/operation/update_vehicle/builders.rs index ca4f53ba459f..8f8d6922dcd3 100644 --- a/sdk/iotfleetwise/src/operation/update_vehicle/builders.rs +++ b/sdk/iotfleetwise/src/operation/update_vehicle/builders.rs @@ -19,9 +19,9 @@ impl UpdateVehicleFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl UpdateVehicleFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::update_vehicle::UpdateVehicle, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                                            The unique ID of the vehicle to update.

                                                                                            pub fn vehicle_name(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.vehicle_name(input.into()); diff --git a/sdk/iotjobsdataplane/src/operation/describe_job_execution/builders.rs b/sdk/iotjobsdataplane/src/operation/describe_job_execution/builders.rs index 8547ae83ab71..7a43f57cdd13 100644 --- a/sdk/iotjobsdataplane/src/operation/describe_job_execution/builders.rs +++ b/sdk/iotjobsdataplane/src/operation/describe_job_execution/builders.rs @@ -19,9 +19,9 @@ impl DescribeJobExecutionFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl DescribeJobExecutionFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::describe_job_execution::DescribeJobExecution, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::describe_job_execution::DescribeJobExecutionError, + >, + > { + self.customize_middleware().await + } ///

                                                                                            The unique identifier assigned to this job when it was created.

                                                                                            pub fn job_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.job_id(input.into()); diff --git a/sdk/iotjobsdataplane/src/operation/get_pending_job_executions/builders.rs b/sdk/iotjobsdataplane/src/operation/get_pending_job_executions/builders.rs index 3e814679867b..0143eaed00c4 100644 --- a/sdk/iotjobsdataplane/src/operation/get_pending_job_executions/builders.rs +++ b/sdk/iotjobsdataplane/src/operation/get_pending_job_executions/builders.rs @@ -20,9 +20,9 @@ impl GetPendingJobExecutionsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -84,6 +84,22 @@ impl GetPendingJobExecutionsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::get_pending_job_executions::GetPendingJobExecutions, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::get_pending_job_executions::GetPendingJobExecutionsError, + >, + > { + self.customize_middleware().await + } ///

                                                                                            The name of the thing that is executing the job.

                                                                                            pub fn thing_name(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.thing_name(input.into()); diff --git a/sdk/iotjobsdataplane/src/operation/start_next_pending_job_execution/builders.rs b/sdk/iotjobsdataplane/src/operation/start_next_pending_job_execution/builders.rs index 0d3f37f0d27a..72421799ab87 100644 --- a/sdk/iotjobsdataplane/src/operation/start_next_pending_job_execution/builders.rs +++ b/sdk/iotjobsdataplane/src/operation/start_next_pending_job_execution/builders.rs @@ -19,9 +19,9 @@ impl StartNextPendingJobExecutionFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl StartNextPendingJobExecutionFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::start_next_pending_job_execution::StartNextPendingJobExecution, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::start_next_pending_job_execution::StartNextPendingJobExecutionError, + >, + > { + self.customize_middleware().await + } ///

                                                                                            The name of the thing associated with the device.

                                                                                            pub fn thing_name(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.thing_name(input.into()); diff --git a/sdk/iotjobsdataplane/src/operation/update_job_execution/builders.rs b/sdk/iotjobsdataplane/src/operation/update_job_execution/builders.rs index 36a81073a443..f739f11009be 100644 --- a/sdk/iotjobsdataplane/src/operation/update_job_execution/builders.rs +++ b/sdk/iotjobsdataplane/src/operation/update_job_execution/builders.rs @@ -19,9 +19,9 @@ impl UpdateJobExecutionFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl UpdateJobExecutionFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::update_job_execution::UpdateJobExecution, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::update_job_execution::UpdateJobExecutionError, + >, + > { + self.customize_middleware().await + } ///

                                                                                            The unique identifier assigned to this job when it was created.

                                                                                            pub fn job_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.job_id(input.into()); diff --git a/sdk/iotroborunner/src/operation/create_destination/builders.rs b/sdk/iotroborunner/src/operation/create_destination/builders.rs index b83a7672b0b4..9694b4e21104 100644 --- a/sdk/iotroborunner/src/operation/create_destination/builders.rs +++ b/sdk/iotroborunner/src/operation/create_destination/builders.rs @@ -19,9 +19,9 @@ impl CreateDestinationFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl CreateDestinationFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::create_destination::CreateDestination, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::create_destination::CreateDestinationError, + >, + > { + self.customize_middleware().await + } /// Token used for detecting replayed requests. Replayed requests will not be performed multiple times. pub fn client_token(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.client_token(input.into()); diff --git a/sdk/iotroborunner/src/operation/create_site/builders.rs b/sdk/iotroborunner/src/operation/create_site/builders.rs index 296900b4cdce..10c1902fa5b1 100644 --- a/sdk/iotroborunner/src/operation/create_site/builders.rs +++ b/sdk/iotroborunner/src/operation/create_site/builders.rs @@ -19,9 +19,9 @@ impl CreateSiteFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl CreateSiteFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::create_site::CreateSite, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } /// Token used for detecting replayed requests. Replayed requests will not be performed multiple times. pub fn client_token(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.client_token(input.into()); diff --git a/sdk/iotroborunner/src/operation/create_worker/builders.rs b/sdk/iotroborunner/src/operation/create_worker/builders.rs index 6d0d1c0d09d6..bc27087a9af4 100644 --- a/sdk/iotroborunner/src/operation/create_worker/builders.rs +++ b/sdk/iotroborunner/src/operation/create_worker/builders.rs @@ -19,9 +19,9 @@ impl CreateWorkerFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl CreateWorkerFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::create_worker::CreateWorker, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } /// Token used for detecting replayed requests. Replayed requests will not be performed multiple times. pub fn client_token(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.client_token(input.into()); diff --git a/sdk/iotroborunner/src/operation/create_worker_fleet/builders.rs b/sdk/iotroborunner/src/operation/create_worker_fleet/builders.rs index bfd854133e72..97b39fa62ec7 100644 --- a/sdk/iotroborunner/src/operation/create_worker_fleet/builders.rs +++ b/sdk/iotroborunner/src/operation/create_worker_fleet/builders.rs @@ -19,9 +19,9 @@ impl CreateWorkerFleetFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl CreateWorkerFleetFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::create_worker_fleet::CreateWorkerFleet, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::create_worker_fleet::CreateWorkerFleetError, + >, + > { + self.customize_middleware().await + } /// Token used for detecting replayed requests. Replayed requests will not be performed multiple times. pub fn client_token(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.client_token(input.into()); diff --git a/sdk/iotroborunner/src/operation/delete_destination/builders.rs b/sdk/iotroborunner/src/operation/delete_destination/builders.rs index 45bdac830b64..44db086ec0fc 100644 --- a/sdk/iotroborunner/src/operation/delete_destination/builders.rs +++ b/sdk/iotroborunner/src/operation/delete_destination/builders.rs @@ -19,9 +19,9 @@ impl DeleteDestinationFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl DeleteDestinationFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::delete_destination::DeleteDestination, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::delete_destination::DeleteDestinationError, + >, + > { + self.customize_middleware().await + } /// Destination ARN. pub fn id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.id(input.into()); diff --git a/sdk/iotroborunner/src/operation/delete_site/builders.rs b/sdk/iotroborunner/src/operation/delete_site/builders.rs index ea30987daa15..a063798fec3c 100644 --- a/sdk/iotroborunner/src/operation/delete_site/builders.rs +++ b/sdk/iotroborunner/src/operation/delete_site/builders.rs @@ -19,9 +19,9 @@ impl DeleteSiteFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl DeleteSiteFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::delete_site::DeleteSite, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } /// Site ARN. pub fn id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.id(input.into()); diff --git a/sdk/iotroborunner/src/operation/delete_worker/builders.rs b/sdk/iotroborunner/src/operation/delete_worker/builders.rs index 966686236f08..c466ab9111ab 100644 --- a/sdk/iotroborunner/src/operation/delete_worker/builders.rs +++ b/sdk/iotroborunner/src/operation/delete_worker/builders.rs @@ -19,9 +19,9 @@ impl DeleteWorkerFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl DeleteWorkerFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::delete_worker::DeleteWorker, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } /// Full ARN of the worker. pub fn id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.id(input.into()); diff --git a/sdk/iotroborunner/src/operation/delete_worker_fleet/builders.rs b/sdk/iotroborunner/src/operation/delete_worker_fleet/builders.rs index 847be508141e..6df566be98ba 100644 --- a/sdk/iotroborunner/src/operation/delete_worker_fleet/builders.rs +++ b/sdk/iotroborunner/src/operation/delete_worker_fleet/builders.rs @@ -19,9 +19,9 @@ impl DeleteWorkerFleetFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl DeleteWorkerFleetFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::delete_worker_fleet::DeleteWorkerFleet, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::delete_worker_fleet::DeleteWorkerFleetError, + >, + > { + self.customize_middleware().await + } /// Full ARN of the worker fleet. pub fn id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.id(input.into()); diff --git a/sdk/iotroborunner/src/operation/get_destination/builders.rs b/sdk/iotroborunner/src/operation/get_destination/builders.rs index 9d46957c9c3d..b42a68df17ca 100644 --- a/sdk/iotroborunner/src/operation/get_destination/builders.rs +++ b/sdk/iotroborunner/src/operation/get_destination/builders.rs @@ -19,9 +19,9 @@ impl GetDestinationFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl GetDestinationFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::get_destination::GetDestination, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } /// Destination ARN. pub fn id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.id(input.into()); diff --git a/sdk/iotroborunner/src/operation/get_site/builders.rs b/sdk/iotroborunner/src/operation/get_site/builders.rs index de493e658bc3..2de90c9b52d2 100644 --- a/sdk/iotroborunner/src/operation/get_site/builders.rs +++ b/sdk/iotroborunner/src/operation/get_site/builders.rs @@ -19,9 +19,9 @@ impl GetSiteFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl GetSiteFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::get_site::GetSite, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } /// Site ARN. pub fn id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.id(input.into()); diff --git a/sdk/iotroborunner/src/operation/get_worker/builders.rs b/sdk/iotroborunner/src/operation/get_worker/builders.rs index a72149834434..24724142edf4 100644 --- a/sdk/iotroborunner/src/operation/get_worker/builders.rs +++ b/sdk/iotroborunner/src/operation/get_worker/builders.rs @@ -19,9 +19,9 @@ impl GetWorkerFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl GetWorkerFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::get_worker::GetWorker, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } /// Full ARN of the worker. pub fn id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.id(input.into()); diff --git a/sdk/iotroborunner/src/operation/get_worker_fleet/builders.rs b/sdk/iotroborunner/src/operation/get_worker_fleet/builders.rs index 37c828eb6996..ae9d820d5600 100644 --- a/sdk/iotroborunner/src/operation/get_worker_fleet/builders.rs +++ b/sdk/iotroborunner/src/operation/get_worker_fleet/builders.rs @@ -19,9 +19,9 @@ impl GetWorkerFleetFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl GetWorkerFleetFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::get_worker_fleet::GetWorkerFleet, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::get_worker_fleet::GetWorkerFleetError, + >, + > { + self.customize_middleware().await + } /// Full ARN of the worker fleet. pub fn id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.id(input.into()); diff --git a/sdk/iotroborunner/src/operation/list_destinations/builders.rs b/sdk/iotroborunner/src/operation/list_destinations/builders.rs index 4dff7be1b156..83aea6c1aeb4 100644 --- a/sdk/iotroborunner/src/operation/list_destinations/builders.rs +++ b/sdk/iotroborunner/src/operation/list_destinations/builders.rs @@ -19,9 +19,9 @@ impl ListDestinationsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl ListDestinationsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_destinations::ListDestinations, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::list_destinations::ListDestinationsError, + >, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::list_destinations::paginator::ListDestinationsPaginator::send) which returns a `Stream`. diff --git a/sdk/iotroborunner/src/operation/list_sites/builders.rs b/sdk/iotroborunner/src/operation/list_sites/builders.rs index f0ef2afe366c..71ddc9f92ab4 100644 --- a/sdk/iotroborunner/src/operation/list_sites/builders.rs +++ b/sdk/iotroborunner/src/operation/list_sites/builders.rs @@ -19,9 +19,9 @@ impl ListSitesFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl ListSitesFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_sites::ListSites, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::list_sites::paginator::ListSitesPaginator::send) which returns a `Stream`. diff --git a/sdk/iotroborunner/src/operation/list_worker_fleets/builders.rs b/sdk/iotroborunner/src/operation/list_worker_fleets/builders.rs index 775f37c3f1a1..03de9405bea3 100644 --- a/sdk/iotroborunner/src/operation/list_worker_fleets/builders.rs +++ b/sdk/iotroborunner/src/operation/list_worker_fleets/builders.rs @@ -19,9 +19,9 @@ impl ListWorkerFleetsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl ListWorkerFleetsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_worker_fleets::ListWorkerFleets, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::list_worker_fleets::ListWorkerFleetsError, + >, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::list_worker_fleets::paginator::ListWorkerFleetsPaginator::send) which returns a `Stream`. diff --git a/sdk/iotroborunner/src/operation/list_workers/builders.rs b/sdk/iotroborunner/src/operation/list_workers/builders.rs index 0a3954c09011..746969016d85 100644 --- a/sdk/iotroborunner/src/operation/list_workers/builders.rs +++ b/sdk/iotroborunner/src/operation/list_workers/builders.rs @@ -19,9 +19,9 @@ impl ListWorkersFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl ListWorkersFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_workers::ListWorkers, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::list_workers::paginator::ListWorkersPaginator::send) which returns a `Stream`. diff --git a/sdk/iotroborunner/src/operation/update_destination/builders.rs b/sdk/iotroborunner/src/operation/update_destination/builders.rs index 0aa9d5fd8c81..a0e3786c27ac 100644 --- a/sdk/iotroborunner/src/operation/update_destination/builders.rs +++ b/sdk/iotroborunner/src/operation/update_destination/builders.rs @@ -19,9 +19,9 @@ impl UpdateDestinationFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl UpdateDestinationFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::update_destination::UpdateDestination, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::update_destination::UpdateDestinationError, + >, + > { + self.customize_middleware().await + } /// Destination ARN. pub fn id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.id(input.into()); diff --git a/sdk/iotroborunner/src/operation/update_site/builders.rs b/sdk/iotroborunner/src/operation/update_site/builders.rs index 7e2e1246e9c1..46003186aac8 100644 --- a/sdk/iotroborunner/src/operation/update_site/builders.rs +++ b/sdk/iotroborunner/src/operation/update_site/builders.rs @@ -19,9 +19,9 @@ impl UpdateSiteFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl UpdateSiteFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::update_site::UpdateSite, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } /// Site ARN. pub fn id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.id(input.into()); diff --git a/sdk/iotroborunner/src/operation/update_worker/builders.rs b/sdk/iotroborunner/src/operation/update_worker/builders.rs index 6087f5788a0c..4e7470c01526 100644 --- a/sdk/iotroborunner/src/operation/update_worker/builders.rs +++ b/sdk/iotroborunner/src/operation/update_worker/builders.rs @@ -19,9 +19,9 @@ impl UpdateWorkerFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl UpdateWorkerFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::update_worker::UpdateWorker, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } /// Full ARN of the worker. pub fn id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.id(input.into()); diff --git a/sdk/iotroborunner/src/operation/update_worker_fleet/builders.rs b/sdk/iotroborunner/src/operation/update_worker_fleet/builders.rs index 3cfdfddd6397..b20b4d29d384 100644 --- a/sdk/iotroborunner/src/operation/update_worker_fleet/builders.rs +++ b/sdk/iotroborunner/src/operation/update_worker_fleet/builders.rs @@ -19,9 +19,9 @@ impl UpdateWorkerFleetFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl UpdateWorkerFleetFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::update_worker_fleet::UpdateWorkerFleet, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::update_worker_fleet::UpdateWorkerFleetError, + >, + > { + self.customize_middleware().await + } /// Full ARN of the worker fleet. pub fn id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.id(input.into()); diff --git a/sdk/iotsecuretunneling/src/operation/close_tunnel/builders.rs b/sdk/iotsecuretunneling/src/operation/close_tunnel/builders.rs index d7fd7fa4034b..8e275dc178e2 100644 --- a/sdk/iotsecuretunneling/src/operation/close_tunnel/builders.rs +++ b/sdk/iotsecuretunneling/src/operation/close_tunnel/builders.rs @@ -20,9 +20,9 @@ impl CloseTunnelFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -78,6 +78,20 @@ impl CloseTunnelFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::close_tunnel::CloseTunnel, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                                            The ID of the tunnel to close.

                                                                                            pub fn tunnel_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.tunnel_id(input.into()); diff --git a/sdk/iotsecuretunneling/src/operation/describe_tunnel/builders.rs b/sdk/iotsecuretunneling/src/operation/describe_tunnel/builders.rs index 6b7d724bc392..98cfef4cf062 100644 --- a/sdk/iotsecuretunneling/src/operation/describe_tunnel/builders.rs +++ b/sdk/iotsecuretunneling/src/operation/describe_tunnel/builders.rs @@ -20,9 +20,9 @@ impl DescribeTunnelFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -78,6 +78,20 @@ impl DescribeTunnelFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::describe_tunnel::DescribeTunnel, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                                            The tunnel to describe.

                                                                                            pub fn tunnel_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.tunnel_id(input.into()); diff --git a/sdk/iotsecuretunneling/src/operation/list_tags_for_resource/builders.rs b/sdk/iotsecuretunneling/src/operation/list_tags_for_resource/builders.rs index ca033e191cf3..3f977ec65abf 100644 --- a/sdk/iotsecuretunneling/src/operation/list_tags_for_resource/builders.rs +++ b/sdk/iotsecuretunneling/src/operation/list_tags_for_resource/builders.rs @@ -19,9 +19,9 @@ impl ListTagsForResourceFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl ListTagsForResourceFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_tags_for_resource::ListTagsForResource, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::list_tags_for_resource::ListTagsForResourceError, + >, + > { + self.customize_middleware().await + } ///

                                                                                            The resource ARN.

                                                                                            pub fn resource_arn(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.resource_arn(input.into()); diff --git a/sdk/iotsecuretunneling/src/operation/list_tunnels/builders.rs b/sdk/iotsecuretunneling/src/operation/list_tunnels/builders.rs index c3371d49cbb5..829ceef04f1b 100644 --- a/sdk/iotsecuretunneling/src/operation/list_tunnels/builders.rs +++ b/sdk/iotsecuretunneling/src/operation/list_tunnels/builders.rs @@ -20,9 +20,9 @@ impl ListTunnelsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -78,6 +78,20 @@ impl ListTunnelsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_tunnels::ListTunnels, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::list_tunnels::paginator::ListTunnelsPaginator::send) which returns a `Stream`. diff --git a/sdk/iotsecuretunneling/src/operation/open_tunnel/builders.rs b/sdk/iotsecuretunneling/src/operation/open_tunnel/builders.rs index 15b218436dd8..93deaa97badc 100644 --- a/sdk/iotsecuretunneling/src/operation/open_tunnel/builders.rs +++ b/sdk/iotsecuretunneling/src/operation/open_tunnel/builders.rs @@ -20,9 +20,9 @@ impl OpenTunnelFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -78,6 +78,20 @@ impl OpenTunnelFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::open_tunnel::OpenTunnel, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                                            A short text description of the tunnel.

                                                                                            pub fn description(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.description(input.into()); diff --git a/sdk/iotsecuretunneling/src/operation/rotate_tunnel_access_token/builders.rs b/sdk/iotsecuretunneling/src/operation/rotate_tunnel_access_token/builders.rs index 4f3ae80fd592..13ee04230dc8 100644 --- a/sdk/iotsecuretunneling/src/operation/rotate_tunnel_access_token/builders.rs +++ b/sdk/iotsecuretunneling/src/operation/rotate_tunnel_access_token/builders.rs @@ -23,9 +23,9 @@ impl RotateTunnelAccessTokenFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -87,6 +87,22 @@ impl RotateTunnelAccessTokenFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::rotate_tunnel_access_token::RotateTunnelAccessToken, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::rotate_tunnel_access_token::RotateTunnelAccessTokenError, + >, + > { + self.customize_middleware().await + } ///

                                                                                            The tunnel for which you want to rotate the access tokens.

                                                                                            pub fn tunnel_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.tunnel_id(input.into()); diff --git a/sdk/iotsecuretunneling/src/operation/tag_resource/builders.rs b/sdk/iotsecuretunneling/src/operation/tag_resource/builders.rs index 1eb4ea49ab69..01f4614719e1 100644 --- a/sdk/iotsecuretunneling/src/operation/tag_resource/builders.rs +++ b/sdk/iotsecuretunneling/src/operation/tag_resource/builders.rs @@ -19,9 +19,9 @@ impl TagResourceFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl TagResourceFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::tag_resource::TagResource, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                                            The ARN of the resource.

                                                                                            pub fn resource_arn(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.resource_arn(input.into()); diff --git a/sdk/iotsecuretunneling/src/operation/untag_resource/builders.rs b/sdk/iotsecuretunneling/src/operation/untag_resource/builders.rs index fd6ca23b6f9d..34ed8fe1976e 100644 --- a/sdk/iotsecuretunneling/src/operation/untag_resource/builders.rs +++ b/sdk/iotsecuretunneling/src/operation/untag_resource/builders.rs @@ -19,9 +19,9 @@ impl UntagResourceFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl UntagResourceFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::untag_resource::UntagResource, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                                            The resource ARN.

                                                                                            pub fn resource_arn(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.resource_arn(input.into()); diff --git a/sdk/iotsitewise/src/operation/associate_assets/builders.rs b/sdk/iotsitewise/src/operation/associate_assets/builders.rs index 6b4c7916d9cc..55bdac7048c1 100644 --- a/sdk/iotsitewise/src/operation/associate_assets/builders.rs +++ b/sdk/iotsitewise/src/operation/associate_assets/builders.rs @@ -19,9 +19,9 @@ impl AssociateAssetsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl AssociateAssetsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::associate_assets::AssociateAssets, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::associate_assets::AssociateAssetsError, + >, + > { + self.customize_middleware().await + } ///

                                                                                            The ID of the parent asset.

                                                                                            pub fn asset_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.asset_id(input.into()); diff --git a/sdk/iotsitewise/src/operation/associate_time_series_to_asset_property/builders.rs b/sdk/iotsitewise/src/operation/associate_time_series_to_asset_property/builders.rs index ffc9cde6d2db..5501e1b11908 100644 --- a/sdk/iotsitewise/src/operation/associate_time_series_to_asset_property/builders.rs +++ b/sdk/iotsitewise/src/operation/associate_time_series_to_asset_property/builders.rs @@ -19,9 +19,9 @@ impl AssociateTimeSeriesToAssetPropertyFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize(self) -> ::std::result::Result< + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware(self) -> ::std::result::Result< crate::client::customize::CustomizableOperation, ::aws_smithy_http::result::SdkError >{ @@ -64,6 +64,15 @@ impl AssociateTimeSeriesToAssetPropertyFluentBuilder { { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize(self) -> ::std::result::Result< + crate::client::customize::CustomizableOperation, + ::aws_smithy_http::result::SdkError + >{ + self.customize_middleware().await + } ///

                                                                                            The alias that identifies the time series.

                                                                                            pub fn alias(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.alias(input.into()); diff --git a/sdk/iotsitewise/src/operation/batch_associate_project_assets/builders.rs b/sdk/iotsitewise/src/operation/batch_associate_project_assets/builders.rs index 3e4fbac62f4b..3d0622338b7b 100644 --- a/sdk/iotsitewise/src/operation/batch_associate_project_assets/builders.rs +++ b/sdk/iotsitewise/src/operation/batch_associate_project_assets/builders.rs @@ -19,9 +19,9 @@ impl BatchAssociateProjectAssetsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl BatchAssociateProjectAssetsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::batch_associate_project_assets::BatchAssociateProjectAssets, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::batch_associate_project_assets::BatchAssociateProjectAssetsError, + >, + > { + self.customize_middleware().await + } ///

                                                                                            The ID of the project to which to associate the assets.

                                                                                            pub fn project_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.project_id(input.into()); diff --git a/sdk/iotsitewise/src/operation/batch_disassociate_project_assets/builders.rs b/sdk/iotsitewise/src/operation/batch_disassociate_project_assets/builders.rs index 9cee637a5b7c..8c9a9e20d64b 100644 --- a/sdk/iotsitewise/src/operation/batch_disassociate_project_assets/builders.rs +++ b/sdk/iotsitewise/src/operation/batch_disassociate_project_assets/builders.rs @@ -19,9 +19,9 @@ impl BatchDisassociateProjectAssetsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize(self) -> ::std::result::Result< + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware(self) -> ::std::result::Result< crate::client::customize::CustomizableOperation, ::aws_smithy_http::result::SdkError >{ @@ -64,6 +64,15 @@ impl BatchDisassociateProjectAssetsFluentBuilder { { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize(self) -> ::std::result::Result< + crate::client::customize::CustomizableOperation, + ::aws_smithy_http::result::SdkError + >{ + self.customize_middleware().await + } ///

                                                                                            The ID of the project from which to disassociate the assets.

                                                                                            pub fn project_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.project_id(input.into()); diff --git a/sdk/iotsitewise/src/operation/batch_get_asset_property_aggregates/builders.rs b/sdk/iotsitewise/src/operation/batch_get_asset_property_aggregates/builders.rs index cd2bfac8e641..367900a9eb2e 100644 --- a/sdk/iotsitewise/src/operation/batch_get_asset_property_aggregates/builders.rs +++ b/sdk/iotsitewise/src/operation/batch_get_asset_property_aggregates/builders.rs @@ -19,9 +19,9 @@ impl BatchGetAssetPropertyAggregatesFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize(self) -> ::std::result::Result< + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware(self) -> ::std::result::Result< crate::client::customize::CustomizableOperation, ::aws_smithy_http::result::SdkError >{ @@ -64,6 +64,15 @@ impl BatchGetAssetPropertyAggregatesFluentBuilder { { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize(self) -> ::std::result::Result< + crate::client::customize::CustomizableOperation, + ::aws_smithy_http::result::SdkError + >{ + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::batch_get_asset_property_aggregates::paginator::BatchGetAssetPropertyAggregatesPaginator::send) which returns a `Stream`. diff --git a/sdk/iotsitewise/src/operation/batch_get_asset_property_value/builders.rs b/sdk/iotsitewise/src/operation/batch_get_asset_property_value/builders.rs index dfcbea05088d..b0fd5a81c530 100644 --- a/sdk/iotsitewise/src/operation/batch_get_asset_property_value/builders.rs +++ b/sdk/iotsitewise/src/operation/batch_get_asset_property_value/builders.rs @@ -19,9 +19,9 @@ impl BatchGetAssetPropertyValueFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl BatchGetAssetPropertyValueFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::batch_get_asset_property_value::BatchGetAssetPropertyValue, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::batch_get_asset_property_value::BatchGetAssetPropertyValueError, + >, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::batch_get_asset_property_value::paginator::BatchGetAssetPropertyValuePaginator::send) which returns a `Stream`. diff --git a/sdk/iotsitewise/src/operation/batch_get_asset_property_value_history/builders.rs b/sdk/iotsitewise/src/operation/batch_get_asset_property_value_history/builders.rs index aae7beaab49c..d1f33596c606 100644 --- a/sdk/iotsitewise/src/operation/batch_get_asset_property_value_history/builders.rs +++ b/sdk/iotsitewise/src/operation/batch_get_asset_property_value_history/builders.rs @@ -19,9 +19,9 @@ impl BatchGetAssetPropertyValueHistoryFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize(self) -> ::std::result::Result< + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware(self) -> ::std::result::Result< crate::client::customize::CustomizableOperation, ::aws_smithy_http::result::SdkError >{ @@ -64,6 +64,15 @@ impl BatchGetAssetPropertyValueHistoryFluentBuilder { { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize(self) -> ::std::result::Result< + crate::client::customize::CustomizableOperation, + ::aws_smithy_http::result::SdkError + >{ + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::batch_get_asset_property_value_history::paginator::BatchGetAssetPropertyValueHistoryPaginator::send) which returns a `Stream`. diff --git a/sdk/iotsitewise/src/operation/batch_put_asset_property_value/builders.rs b/sdk/iotsitewise/src/operation/batch_put_asset_property_value/builders.rs index 6e8a496b1143..42af624f6cb2 100644 --- a/sdk/iotsitewise/src/operation/batch_put_asset_property_value/builders.rs +++ b/sdk/iotsitewise/src/operation/batch_put_asset_property_value/builders.rs @@ -28,9 +28,9 @@ impl BatchPutAssetPropertyValueFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -92,6 +92,22 @@ impl BatchPutAssetPropertyValueFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::batch_put_asset_property_value::BatchPutAssetPropertyValue, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::batch_put_asset_property_value::BatchPutAssetPropertyValueError, + >, + > { + self.customize_middleware().await + } /// Appends an item to `entries`. /// /// To override the contents of this collection use [`set_entries`](Self::set_entries). diff --git a/sdk/iotsitewise/src/operation/create_access_policy/builders.rs b/sdk/iotsitewise/src/operation/create_access_policy/builders.rs index cdd686150048..d04de53ff176 100644 --- a/sdk/iotsitewise/src/operation/create_access_policy/builders.rs +++ b/sdk/iotsitewise/src/operation/create_access_policy/builders.rs @@ -19,9 +19,9 @@ impl CreateAccessPolicyFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl CreateAccessPolicyFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::create_access_policy::CreateAccessPolicy, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::create_access_policy::CreateAccessPolicyError, + >, + > { + self.customize_middleware().await + } ///

                                                                                            The identity for this access policy. Choose an IAM Identity Center user, an IAM Identity Center group, or an IAM user.

                                                                                            pub fn access_policy_identity(mut self, input: crate::types::Identity) -> Self { self.inner = self.inner.access_policy_identity(input); diff --git a/sdk/iotsitewise/src/operation/create_asset/builders.rs b/sdk/iotsitewise/src/operation/create_asset/builders.rs index 195a7ed3fb55..6031667986ed 100644 --- a/sdk/iotsitewise/src/operation/create_asset/builders.rs +++ b/sdk/iotsitewise/src/operation/create_asset/builders.rs @@ -19,9 +19,9 @@ impl CreateAssetFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl CreateAssetFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::create_asset::CreateAsset, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                                            A friendly name for the asset.

                                                                                            pub fn asset_name(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.asset_name(input.into()); diff --git a/sdk/iotsitewise/src/operation/create_asset_model/builders.rs b/sdk/iotsitewise/src/operation/create_asset_model/builders.rs index 4f6cdc697d90..b6cda23124cb 100644 --- a/sdk/iotsitewise/src/operation/create_asset_model/builders.rs +++ b/sdk/iotsitewise/src/operation/create_asset_model/builders.rs @@ -19,9 +19,9 @@ impl CreateAssetModelFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl CreateAssetModelFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::create_asset_model::CreateAssetModel, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::create_asset_model::CreateAssetModelError, + >, + > { + self.customize_middleware().await + } ///

                                                                                            A unique, friendly name for the asset model.

                                                                                            pub fn asset_model_name( mut self, diff --git a/sdk/iotsitewise/src/operation/create_bulk_import_job/builders.rs b/sdk/iotsitewise/src/operation/create_bulk_import_job/builders.rs index 8f89b05708e1..6435e2181d3c 100644 --- a/sdk/iotsitewise/src/operation/create_bulk_import_job/builders.rs +++ b/sdk/iotsitewise/src/operation/create_bulk_import_job/builders.rs @@ -21,9 +21,9 @@ impl CreateBulkImportJobFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -85,6 +85,22 @@ impl CreateBulkImportJobFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::create_bulk_import_job::CreateBulkImportJob, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::create_bulk_import_job::CreateBulkImportJobError, + >, + > { + self.customize_middleware().await + } ///

                                                                                            The unique name that helps identify the job request.

                                                                                            pub fn job_name(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.job_name(input.into()); diff --git a/sdk/iotsitewise/src/operation/create_dashboard/builders.rs b/sdk/iotsitewise/src/operation/create_dashboard/builders.rs index d0483a488574..a7182b288d59 100644 --- a/sdk/iotsitewise/src/operation/create_dashboard/builders.rs +++ b/sdk/iotsitewise/src/operation/create_dashboard/builders.rs @@ -19,9 +19,9 @@ impl CreateDashboardFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl CreateDashboardFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::create_dashboard::CreateDashboard, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::create_dashboard::CreateDashboardError, + >, + > { + self.customize_middleware().await + } ///

                                                                                            The ID of the project in which to create the dashboard.

                                                                                            pub fn project_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.project_id(input.into()); diff --git a/sdk/iotsitewise/src/operation/create_gateway/builders.rs b/sdk/iotsitewise/src/operation/create_gateway/builders.rs index be5c188b8fae..40edffb9e0d8 100644 --- a/sdk/iotsitewise/src/operation/create_gateway/builders.rs +++ b/sdk/iotsitewise/src/operation/create_gateway/builders.rs @@ -19,9 +19,9 @@ impl CreateGatewayFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl CreateGatewayFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::create_gateway::CreateGateway, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                                            A unique, friendly name for the gateway.

                                                                                            pub fn gateway_name(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.gateway_name(input.into()); diff --git a/sdk/iotsitewise/src/operation/create_portal/builders.rs b/sdk/iotsitewise/src/operation/create_portal/builders.rs index 43c77d3d8377..cda41c2a8824 100644 --- a/sdk/iotsitewise/src/operation/create_portal/builders.rs +++ b/sdk/iotsitewise/src/operation/create_portal/builders.rs @@ -21,9 +21,9 @@ impl CreatePortalFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -79,6 +79,20 @@ impl CreatePortalFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::create_portal::CreatePortal, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                                            A friendly name for the portal.

                                                                                            pub fn portal_name(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.portal_name(input.into()); diff --git a/sdk/iotsitewise/src/operation/create_project/builders.rs b/sdk/iotsitewise/src/operation/create_project/builders.rs index c423da2347ab..06ecb4973d31 100644 --- a/sdk/iotsitewise/src/operation/create_project/builders.rs +++ b/sdk/iotsitewise/src/operation/create_project/builders.rs @@ -21,9 +21,9 @@ impl CreateProjectFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -79,6 +79,20 @@ impl CreateProjectFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::create_project::CreateProject, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                                            The ID of the portal in which to create the project.

                                                                                            pub fn portal_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.portal_id(input.into()); diff --git a/sdk/iotsitewise/src/operation/delete_access_policy/builders.rs b/sdk/iotsitewise/src/operation/delete_access_policy/builders.rs index e132ab2d1e32..137a94a928a1 100644 --- a/sdk/iotsitewise/src/operation/delete_access_policy/builders.rs +++ b/sdk/iotsitewise/src/operation/delete_access_policy/builders.rs @@ -19,9 +19,9 @@ impl DeleteAccessPolicyFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl DeleteAccessPolicyFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::delete_access_policy::DeleteAccessPolicy, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::delete_access_policy::DeleteAccessPolicyError, + >, + > { + self.customize_middleware().await + } ///

                                                                                            The ID of the access policy to be deleted.

                                                                                            pub fn access_policy_id( mut self, diff --git a/sdk/iotsitewise/src/operation/delete_asset/builders.rs b/sdk/iotsitewise/src/operation/delete_asset/builders.rs index b4ee7ee9ce81..0bce67551924 100644 --- a/sdk/iotsitewise/src/operation/delete_asset/builders.rs +++ b/sdk/iotsitewise/src/operation/delete_asset/builders.rs @@ -21,9 +21,9 @@ impl DeleteAssetFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -79,6 +79,20 @@ impl DeleteAssetFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::delete_asset::DeleteAsset, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                                            The ID of the asset to delete.

                                                                                            pub fn asset_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.asset_id(input.into()); diff --git a/sdk/iotsitewise/src/operation/delete_asset_model/builders.rs b/sdk/iotsitewise/src/operation/delete_asset_model/builders.rs index 08a49a5693ed..d42cf02d9e4c 100644 --- a/sdk/iotsitewise/src/operation/delete_asset_model/builders.rs +++ b/sdk/iotsitewise/src/operation/delete_asset_model/builders.rs @@ -19,9 +19,9 @@ impl DeleteAssetModelFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl DeleteAssetModelFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::delete_asset_model::DeleteAssetModel, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::delete_asset_model::DeleteAssetModelError, + >, + > { + self.customize_middleware().await + } ///

                                                                                            The ID of the asset model to delete.

                                                                                            pub fn asset_model_id( mut self, diff --git a/sdk/iotsitewise/src/operation/delete_dashboard/builders.rs b/sdk/iotsitewise/src/operation/delete_dashboard/builders.rs index 974bd44f3913..797fc404f90f 100644 --- a/sdk/iotsitewise/src/operation/delete_dashboard/builders.rs +++ b/sdk/iotsitewise/src/operation/delete_dashboard/builders.rs @@ -19,9 +19,9 @@ impl DeleteDashboardFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl DeleteDashboardFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::delete_dashboard::DeleteDashboard, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::delete_dashboard::DeleteDashboardError, + >, + > { + self.customize_middleware().await + } ///

                                                                                            The ID of the dashboard to delete.

                                                                                            pub fn dashboard_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.dashboard_id(input.into()); diff --git a/sdk/iotsitewise/src/operation/delete_gateway/builders.rs b/sdk/iotsitewise/src/operation/delete_gateway/builders.rs index 8f7f6ddc1bb7..ebc997684b6a 100644 --- a/sdk/iotsitewise/src/operation/delete_gateway/builders.rs +++ b/sdk/iotsitewise/src/operation/delete_gateway/builders.rs @@ -19,9 +19,9 @@ impl DeleteGatewayFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl DeleteGatewayFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::delete_gateway::DeleteGateway, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                                            The ID of the gateway to delete.

                                                                                            pub fn gateway_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.gateway_id(input.into()); diff --git a/sdk/iotsitewise/src/operation/delete_portal/builders.rs b/sdk/iotsitewise/src/operation/delete_portal/builders.rs index 2834533ccc2c..19a0e52e99d5 100644 --- a/sdk/iotsitewise/src/operation/delete_portal/builders.rs +++ b/sdk/iotsitewise/src/operation/delete_portal/builders.rs @@ -19,9 +19,9 @@ impl DeletePortalFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl DeletePortalFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::delete_portal::DeletePortal, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                                            The ID of the portal to delete.

                                                                                            pub fn portal_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.portal_id(input.into()); diff --git a/sdk/iotsitewise/src/operation/delete_project/builders.rs b/sdk/iotsitewise/src/operation/delete_project/builders.rs index 6a0ec9bacf17..f1be1ff0f2b6 100644 --- a/sdk/iotsitewise/src/operation/delete_project/builders.rs +++ b/sdk/iotsitewise/src/operation/delete_project/builders.rs @@ -19,9 +19,9 @@ impl DeleteProjectFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl DeleteProjectFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::delete_project::DeleteProject, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                                            The ID of the project.

                                                                                            pub fn project_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.project_id(input.into()); diff --git a/sdk/iotsitewise/src/operation/delete_time_series/builders.rs b/sdk/iotsitewise/src/operation/delete_time_series/builders.rs index 6f295103b256..ef8a0fb7267d 100644 --- a/sdk/iotsitewise/src/operation/delete_time_series/builders.rs +++ b/sdk/iotsitewise/src/operation/delete_time_series/builders.rs @@ -28,9 +28,9 @@ impl DeleteTimeSeriesFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -92,6 +92,22 @@ impl DeleteTimeSeriesFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::delete_time_series::DeleteTimeSeries, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::delete_time_series::DeleteTimeSeriesError, + >, + > { + self.customize_middleware().await + } ///

                                                                                            The alias that identifies the time series.

                                                                                            pub fn alias(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.alias(input.into()); diff --git a/sdk/iotsitewise/src/operation/describe_access_policy/builders.rs b/sdk/iotsitewise/src/operation/describe_access_policy/builders.rs index 00535ec9d91f..2d0f3288a67b 100644 --- a/sdk/iotsitewise/src/operation/describe_access_policy/builders.rs +++ b/sdk/iotsitewise/src/operation/describe_access_policy/builders.rs @@ -19,9 +19,9 @@ impl DescribeAccessPolicyFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl DescribeAccessPolicyFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::describe_access_policy::DescribeAccessPolicy, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::describe_access_policy::DescribeAccessPolicyError, + >, + > { + self.customize_middleware().await + } ///

                                                                                            The ID of the access policy.

                                                                                            pub fn access_policy_id( mut self, diff --git a/sdk/iotsitewise/src/operation/describe_asset/builders.rs b/sdk/iotsitewise/src/operation/describe_asset/builders.rs index a260b54c53b7..fe8c5dfb2047 100644 --- a/sdk/iotsitewise/src/operation/describe_asset/builders.rs +++ b/sdk/iotsitewise/src/operation/describe_asset/builders.rs @@ -19,9 +19,9 @@ impl DescribeAssetFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl DescribeAssetFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::describe_asset::DescribeAsset, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                                            The ID of the asset.

                                                                                            pub fn asset_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.asset_id(input.into()); diff --git a/sdk/iotsitewise/src/operation/describe_asset_model/builders.rs b/sdk/iotsitewise/src/operation/describe_asset_model/builders.rs index 4fbc34b77ff4..97dc5091f3fc 100644 --- a/sdk/iotsitewise/src/operation/describe_asset_model/builders.rs +++ b/sdk/iotsitewise/src/operation/describe_asset_model/builders.rs @@ -19,9 +19,9 @@ impl DescribeAssetModelFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl DescribeAssetModelFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::describe_asset_model::DescribeAssetModel, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::describe_asset_model::DescribeAssetModelError, + >, + > { + self.customize_middleware().await + } ///

                                                                                            The ID of the asset model.

                                                                                            pub fn asset_model_id( mut self, diff --git a/sdk/iotsitewise/src/operation/describe_asset_property/builders.rs b/sdk/iotsitewise/src/operation/describe_asset_property/builders.rs index 46e3abc595e6..aa68d0525729 100644 --- a/sdk/iotsitewise/src/operation/describe_asset_property/builders.rs +++ b/sdk/iotsitewise/src/operation/describe_asset_property/builders.rs @@ -22,9 +22,9 @@ impl DescribeAssetPropertyFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -86,6 +86,22 @@ impl DescribeAssetPropertyFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::describe_asset_property::DescribeAssetProperty, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::describe_asset_property::DescribeAssetPropertyError, + >, + > { + self.customize_middleware().await + } ///

                                                                                            The ID of the asset.

                                                                                            pub fn asset_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.asset_id(input.into()); diff --git a/sdk/iotsitewise/src/operation/describe_bulk_import_job/builders.rs b/sdk/iotsitewise/src/operation/describe_bulk_import_job/builders.rs index 1bafedc52243..3f1bb6becfc9 100644 --- a/sdk/iotsitewise/src/operation/describe_bulk_import_job/builders.rs +++ b/sdk/iotsitewise/src/operation/describe_bulk_import_job/builders.rs @@ -19,9 +19,9 @@ impl DescribeBulkImportJobFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl DescribeBulkImportJobFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::describe_bulk_import_job::DescribeBulkImportJob, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::describe_bulk_import_job::DescribeBulkImportJobError, + >, + > { + self.customize_middleware().await + } ///

                                                                                            The ID of the job.

                                                                                            pub fn job_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.job_id(input.into()); diff --git a/sdk/iotsitewise/src/operation/describe_dashboard/builders.rs b/sdk/iotsitewise/src/operation/describe_dashboard/builders.rs index 57e1c0b12602..41e43d2ed56a 100644 --- a/sdk/iotsitewise/src/operation/describe_dashboard/builders.rs +++ b/sdk/iotsitewise/src/operation/describe_dashboard/builders.rs @@ -19,9 +19,9 @@ impl DescribeDashboardFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl DescribeDashboardFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::describe_dashboard::DescribeDashboard, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::describe_dashboard::DescribeDashboardError, + >, + > { + self.customize_middleware().await + } ///

                                                                                            The ID of the dashboard.

                                                                                            pub fn dashboard_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.dashboard_id(input.into()); diff --git a/sdk/iotsitewise/src/operation/describe_default_encryption_configuration/builders.rs b/sdk/iotsitewise/src/operation/describe_default_encryption_configuration/builders.rs index 27c4b5d6fded..09364fb01349 100644 --- a/sdk/iotsitewise/src/operation/describe_default_encryption_configuration/builders.rs +++ b/sdk/iotsitewise/src/operation/describe_default_encryption_configuration/builders.rs @@ -19,9 +19,9 @@ impl DescribeDefaultEncryptionConfigurationFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize(self) -> ::std::result::Result< + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware(self) -> ::std::result::Result< crate::client::customize::CustomizableOperation, ::aws_smithy_http::result::SdkError >{ @@ -64,4 +64,13 @@ impl DescribeDefaultEncryptionConfigurationFluentBuilder { { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize(self) -> ::std::result::Result< + crate::client::customize::CustomizableOperation, + ::aws_smithy_http::result::SdkError + >{ + self.customize_middleware().await + } } diff --git a/sdk/iotsitewise/src/operation/describe_gateway/builders.rs b/sdk/iotsitewise/src/operation/describe_gateway/builders.rs index ed6dcd44b52c..c49744bae388 100644 --- a/sdk/iotsitewise/src/operation/describe_gateway/builders.rs +++ b/sdk/iotsitewise/src/operation/describe_gateway/builders.rs @@ -19,9 +19,9 @@ impl DescribeGatewayFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl DescribeGatewayFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::describe_gateway::DescribeGateway, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::describe_gateway::DescribeGatewayError, + >, + > { + self.customize_middleware().await + } ///

                                                                                            The ID of the gateway device.

                                                                                            pub fn gateway_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.gateway_id(input.into()); diff --git a/sdk/iotsitewise/src/operation/describe_gateway_capability_configuration/builders.rs b/sdk/iotsitewise/src/operation/describe_gateway_capability_configuration/builders.rs index ca82a7e177be..043ceff3d194 100644 --- a/sdk/iotsitewise/src/operation/describe_gateway_capability_configuration/builders.rs +++ b/sdk/iotsitewise/src/operation/describe_gateway_capability_configuration/builders.rs @@ -19,9 +19,9 @@ impl DescribeGatewayCapabilityConfigurationFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize(self) -> ::std::result::Result< + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware(self) -> ::std::result::Result< crate::client::customize::CustomizableOperation, ::aws_smithy_http::result::SdkError >{ @@ -64,6 +64,15 @@ impl DescribeGatewayCapabilityConfigurationFluentBuilder { { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize(self) -> ::std::result::Result< + crate::client::customize::CustomizableOperation, + ::aws_smithy_http::result::SdkError + >{ + self.customize_middleware().await + } ///

                                                                                            The ID of the gateway that defines the capability configuration.

                                                                                            pub fn gateway_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.gateway_id(input.into()); diff --git a/sdk/iotsitewise/src/operation/describe_logging_options/builders.rs b/sdk/iotsitewise/src/operation/describe_logging_options/builders.rs index 0f58a62eb472..45c75cec8edd 100644 --- a/sdk/iotsitewise/src/operation/describe_logging_options/builders.rs +++ b/sdk/iotsitewise/src/operation/describe_logging_options/builders.rs @@ -19,9 +19,9 @@ impl DescribeLoggingOptionsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,4 +83,20 @@ impl DescribeLoggingOptionsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::describe_logging_options::DescribeLoggingOptions, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::describe_logging_options::DescribeLoggingOptionsError, + >, + > { + self.customize_middleware().await + } } diff --git a/sdk/iotsitewise/src/operation/describe_portal/builders.rs b/sdk/iotsitewise/src/operation/describe_portal/builders.rs index 8049db779725..e2672b3213ba 100644 --- a/sdk/iotsitewise/src/operation/describe_portal/builders.rs +++ b/sdk/iotsitewise/src/operation/describe_portal/builders.rs @@ -19,9 +19,9 @@ impl DescribePortalFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl DescribePortalFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::describe_portal::DescribePortal, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                                            The ID of the portal.

                                                                                            pub fn portal_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.portal_id(input.into()); diff --git a/sdk/iotsitewise/src/operation/describe_project/builders.rs b/sdk/iotsitewise/src/operation/describe_project/builders.rs index 2f958402a3c9..f0c648aa933b 100644 --- a/sdk/iotsitewise/src/operation/describe_project/builders.rs +++ b/sdk/iotsitewise/src/operation/describe_project/builders.rs @@ -19,9 +19,9 @@ impl DescribeProjectFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl DescribeProjectFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::describe_project::DescribeProject, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::describe_project::DescribeProjectError, + >, + > { + self.customize_middleware().await + } ///

                                                                                            The ID of the project.

                                                                                            pub fn project_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.project_id(input.into()); diff --git a/sdk/iotsitewise/src/operation/describe_storage_configuration/builders.rs b/sdk/iotsitewise/src/operation/describe_storage_configuration/builders.rs index 5cdb7c52fa47..8de033443cdb 100644 --- a/sdk/iotsitewise/src/operation/describe_storage_configuration/builders.rs +++ b/sdk/iotsitewise/src/operation/describe_storage_configuration/builders.rs @@ -19,9 +19,9 @@ impl DescribeStorageConfigurationFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,4 +83,20 @@ impl DescribeStorageConfigurationFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::describe_storage_configuration::DescribeStorageConfiguration, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::describe_storage_configuration::DescribeStorageConfigurationError, + >, + > { + self.customize_middleware().await + } } diff --git a/sdk/iotsitewise/src/operation/describe_time_series/builders.rs b/sdk/iotsitewise/src/operation/describe_time_series/builders.rs index 2b6fdba2eb3e..c3613cb46d25 100644 --- a/sdk/iotsitewise/src/operation/describe_time_series/builders.rs +++ b/sdk/iotsitewise/src/operation/describe_time_series/builders.rs @@ -28,9 +28,9 @@ impl DescribeTimeSeriesFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -92,6 +92,22 @@ impl DescribeTimeSeriesFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::describe_time_series::DescribeTimeSeries, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::describe_time_series::DescribeTimeSeriesError, + >, + > { + self.customize_middleware().await + } ///

                                                                                            The alias that identifies the time series.

                                                                                            pub fn alias(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.alias(input.into()); diff --git a/sdk/iotsitewise/src/operation/disassociate_assets/builders.rs b/sdk/iotsitewise/src/operation/disassociate_assets/builders.rs index 40eb52f1d272..626e978cd828 100644 --- a/sdk/iotsitewise/src/operation/disassociate_assets/builders.rs +++ b/sdk/iotsitewise/src/operation/disassociate_assets/builders.rs @@ -19,9 +19,9 @@ impl DisassociateAssetsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl DisassociateAssetsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::disassociate_assets::DisassociateAssets, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::disassociate_assets::DisassociateAssetsError, + >, + > { + self.customize_middleware().await + } ///

                                                                                            The ID of the parent asset from which to disassociate the child asset.

                                                                                            pub fn asset_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.asset_id(input.into()); diff --git a/sdk/iotsitewise/src/operation/disassociate_time_series_from_asset_property/builders.rs b/sdk/iotsitewise/src/operation/disassociate_time_series_from_asset_property/builders.rs index fd0790ec9da9..e49590b5870a 100644 --- a/sdk/iotsitewise/src/operation/disassociate_time_series_from_asset_property/builders.rs +++ b/sdk/iotsitewise/src/operation/disassociate_time_series_from_asset_property/builders.rs @@ -19,9 +19,9 @@ impl DisassociateTimeSeriesFromAssetPropertyFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize(self) -> ::std::result::Result< + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware(self) -> ::std::result::Result< crate::client::customize::CustomizableOperation, ::aws_smithy_http::result::SdkError >{ @@ -64,6 +64,15 @@ impl DisassociateTimeSeriesFromAssetPropertyFluentBuilder { { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize(self) -> ::std::result::Result< + crate::client::customize::CustomizableOperation, + ::aws_smithy_http::result::SdkError + >{ + self.customize_middleware().await + } ///

                                                                                            The alias that identifies the time series.

                                                                                            pub fn alias(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.alias(input.into()); diff --git a/sdk/iotsitewise/src/operation/get_asset_property_aggregates/builders.rs b/sdk/iotsitewise/src/operation/get_asset_property_aggregates/builders.rs index d45482b1108d..e73dfdc93ff6 100644 --- a/sdk/iotsitewise/src/operation/get_asset_property_aggregates/builders.rs +++ b/sdk/iotsitewise/src/operation/get_asset_property_aggregates/builders.rs @@ -24,9 +24,9 @@ impl GetAssetPropertyAggregatesFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -88,6 +88,22 @@ impl GetAssetPropertyAggregatesFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::get_asset_property_aggregates::GetAssetPropertyAggregates, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::get_asset_property_aggregates::GetAssetPropertyAggregatesError, + >, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::get_asset_property_aggregates::paginator::GetAssetPropertyAggregatesPaginator::send) which returns a `Stream`. diff --git a/sdk/iotsitewise/src/operation/get_asset_property_value/builders.rs b/sdk/iotsitewise/src/operation/get_asset_property_value/builders.rs index 1467625f495a..4d55f40f075e 100644 --- a/sdk/iotsitewise/src/operation/get_asset_property_value/builders.rs +++ b/sdk/iotsitewise/src/operation/get_asset_property_value/builders.rs @@ -24,9 +24,9 @@ impl GetAssetPropertyValueFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -88,6 +88,22 @@ impl GetAssetPropertyValueFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::get_asset_property_value::GetAssetPropertyValue, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::get_asset_property_value::GetAssetPropertyValueError, + >, + > { + self.customize_middleware().await + } ///

                                                                                            The ID of the asset.

                                                                                            pub fn asset_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.asset_id(input.into()); diff --git a/sdk/iotsitewise/src/operation/get_asset_property_value_history/builders.rs b/sdk/iotsitewise/src/operation/get_asset_property_value_history/builders.rs index 4201e2bd3e19..64f0a7074019 100644 --- a/sdk/iotsitewise/src/operation/get_asset_property_value_history/builders.rs +++ b/sdk/iotsitewise/src/operation/get_asset_property_value_history/builders.rs @@ -24,9 +24,9 @@ impl GetAssetPropertyValueHistoryFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -88,6 +88,22 @@ impl GetAssetPropertyValueHistoryFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::get_asset_property_value_history::GetAssetPropertyValueHistory, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::get_asset_property_value_history::GetAssetPropertyValueHistoryError, + >, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::get_asset_property_value_history::paginator::GetAssetPropertyValueHistoryPaginator::send) which returns a `Stream`. diff --git a/sdk/iotsitewise/src/operation/get_interpolated_asset_property_values/builders.rs b/sdk/iotsitewise/src/operation/get_interpolated_asset_property_values/builders.rs index 10e5e233a751..b1fcffe2f5e6 100644 --- a/sdk/iotsitewise/src/operation/get_interpolated_asset_property_values/builders.rs +++ b/sdk/iotsitewise/src/operation/get_interpolated_asset_property_values/builders.rs @@ -25,9 +25,9 @@ impl GetInterpolatedAssetPropertyValuesFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize(self) -> ::std::result::Result< + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware(self) -> ::std::result::Result< crate::client::customize::CustomizableOperation, ::aws_smithy_http::result::SdkError >{ @@ -70,6 +70,15 @@ impl GetInterpolatedAssetPropertyValuesFluentBuilder { { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize(self) -> ::std::result::Result< + crate::client::customize::CustomizableOperation, + ::aws_smithy_http::result::SdkError + >{ + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::get_interpolated_asset_property_values::paginator::GetInterpolatedAssetPropertyValuesPaginator::send) which returns a `Stream`. diff --git a/sdk/iotsitewise/src/operation/list_access_policies/builders.rs b/sdk/iotsitewise/src/operation/list_access_policies/builders.rs index dd4713e22099..a5b4f7a0f887 100644 --- a/sdk/iotsitewise/src/operation/list_access_policies/builders.rs +++ b/sdk/iotsitewise/src/operation/list_access_policies/builders.rs @@ -19,9 +19,9 @@ impl ListAccessPoliciesFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl ListAccessPoliciesFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_access_policies::ListAccessPolicies, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::list_access_policies::ListAccessPoliciesError, + >, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::list_access_policies::paginator::ListAccessPoliciesPaginator::send) which returns a `Stream`. diff --git a/sdk/iotsitewise/src/operation/list_asset_model_properties/builders.rs b/sdk/iotsitewise/src/operation/list_asset_model_properties/builders.rs index 9ce5aab6ea05..a521ddb27e3a 100644 --- a/sdk/iotsitewise/src/operation/list_asset_model_properties/builders.rs +++ b/sdk/iotsitewise/src/operation/list_asset_model_properties/builders.rs @@ -19,9 +19,9 @@ impl ListAssetModelPropertiesFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl ListAssetModelPropertiesFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_asset_model_properties::ListAssetModelProperties, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::list_asset_model_properties::ListAssetModelPropertiesError, + >, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::list_asset_model_properties::paginator::ListAssetModelPropertiesPaginator::send) which returns a `Stream`. diff --git a/sdk/iotsitewise/src/operation/list_asset_models/builders.rs b/sdk/iotsitewise/src/operation/list_asset_models/builders.rs index 90ee1d4f9955..bdd09a6133e5 100644 --- a/sdk/iotsitewise/src/operation/list_asset_models/builders.rs +++ b/sdk/iotsitewise/src/operation/list_asset_models/builders.rs @@ -19,9 +19,9 @@ impl ListAssetModelsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl ListAssetModelsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_asset_models::ListAssetModels, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::list_asset_models::ListAssetModelsError, + >, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::list_asset_models::paginator::ListAssetModelsPaginator::send) which returns a `Stream`. diff --git a/sdk/iotsitewise/src/operation/list_asset_properties/builders.rs b/sdk/iotsitewise/src/operation/list_asset_properties/builders.rs index fcec5efc036e..008bd96263ed 100644 --- a/sdk/iotsitewise/src/operation/list_asset_properties/builders.rs +++ b/sdk/iotsitewise/src/operation/list_asset_properties/builders.rs @@ -19,9 +19,9 @@ impl ListAssetPropertiesFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl ListAssetPropertiesFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_asset_properties::ListAssetProperties, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::list_asset_properties::ListAssetPropertiesError, + >, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::list_asset_properties::paginator::ListAssetPropertiesPaginator::send) which returns a `Stream`. diff --git a/sdk/iotsitewise/src/operation/list_asset_relationships/builders.rs b/sdk/iotsitewise/src/operation/list_asset_relationships/builders.rs index f1db13c560fe..c75a96ab8188 100644 --- a/sdk/iotsitewise/src/operation/list_asset_relationships/builders.rs +++ b/sdk/iotsitewise/src/operation/list_asset_relationships/builders.rs @@ -19,9 +19,9 @@ impl ListAssetRelationshipsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl ListAssetRelationshipsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_asset_relationships::ListAssetRelationships, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::list_asset_relationships::ListAssetRelationshipsError, + >, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::list_asset_relationships::paginator::ListAssetRelationshipsPaginator::send) which returns a `Stream`. diff --git a/sdk/iotsitewise/src/operation/list_assets/builders.rs b/sdk/iotsitewise/src/operation/list_assets/builders.rs index 1e88d514a620..3a1f592f4f05 100644 --- a/sdk/iotsitewise/src/operation/list_assets/builders.rs +++ b/sdk/iotsitewise/src/operation/list_assets/builders.rs @@ -25,9 +25,9 @@ impl ListAssetsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,20 @@ impl ListAssetsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_assets::ListAssets, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::list_assets::paginator::ListAssetsPaginator::send) which returns a `Stream`. diff --git a/sdk/iotsitewise/src/operation/list_associated_assets/builders.rs b/sdk/iotsitewise/src/operation/list_associated_assets/builders.rs index b8cf43136e62..d4ca901b8858 100644 --- a/sdk/iotsitewise/src/operation/list_associated_assets/builders.rs +++ b/sdk/iotsitewise/src/operation/list_associated_assets/builders.rs @@ -24,9 +24,9 @@ impl ListAssociatedAssetsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -88,6 +88,22 @@ impl ListAssociatedAssetsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_associated_assets::ListAssociatedAssets, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::list_associated_assets::ListAssociatedAssetsError, + >, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::list_associated_assets::paginator::ListAssociatedAssetsPaginator::send) which returns a `Stream`. diff --git a/sdk/iotsitewise/src/operation/list_bulk_import_jobs/builders.rs b/sdk/iotsitewise/src/operation/list_bulk_import_jobs/builders.rs index 288ba977a4a8..7262074071df 100644 --- a/sdk/iotsitewise/src/operation/list_bulk_import_jobs/builders.rs +++ b/sdk/iotsitewise/src/operation/list_bulk_import_jobs/builders.rs @@ -19,9 +19,9 @@ impl ListBulkImportJobsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl ListBulkImportJobsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_bulk_import_jobs::ListBulkImportJobs, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::list_bulk_import_jobs::ListBulkImportJobsError, + >, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::list_bulk_import_jobs::paginator::ListBulkImportJobsPaginator::send) which returns a `Stream`. diff --git a/sdk/iotsitewise/src/operation/list_dashboards/builders.rs b/sdk/iotsitewise/src/operation/list_dashboards/builders.rs index 5f4fdc34fead..fefdbeb95235 100644 --- a/sdk/iotsitewise/src/operation/list_dashboards/builders.rs +++ b/sdk/iotsitewise/src/operation/list_dashboards/builders.rs @@ -19,9 +19,9 @@ impl ListDashboardsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl ListDashboardsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_dashboards::ListDashboards, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::list_dashboards::paginator::ListDashboardsPaginator::send) which returns a `Stream`. diff --git a/sdk/iotsitewise/src/operation/list_gateways/builders.rs b/sdk/iotsitewise/src/operation/list_gateways/builders.rs index d96e397b1134..cbfbd7489abf 100644 --- a/sdk/iotsitewise/src/operation/list_gateways/builders.rs +++ b/sdk/iotsitewise/src/operation/list_gateways/builders.rs @@ -19,9 +19,9 @@ impl ListGatewaysFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl ListGatewaysFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_gateways::ListGateways, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::list_gateways::paginator::ListGatewaysPaginator::send) which returns a `Stream`. diff --git a/sdk/iotsitewise/src/operation/list_portals/builders.rs b/sdk/iotsitewise/src/operation/list_portals/builders.rs index 40a79d8ad696..aa45a333d9a4 100644 --- a/sdk/iotsitewise/src/operation/list_portals/builders.rs +++ b/sdk/iotsitewise/src/operation/list_portals/builders.rs @@ -19,9 +19,9 @@ impl ListPortalsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl ListPortalsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_portals::ListPortals, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::list_portals::paginator::ListPortalsPaginator::send) which returns a `Stream`. diff --git a/sdk/iotsitewise/src/operation/list_project_assets/builders.rs b/sdk/iotsitewise/src/operation/list_project_assets/builders.rs index 60d890dd5658..48ee23b7369a 100644 --- a/sdk/iotsitewise/src/operation/list_project_assets/builders.rs +++ b/sdk/iotsitewise/src/operation/list_project_assets/builders.rs @@ -19,9 +19,9 @@ impl ListProjectAssetsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl ListProjectAssetsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_project_assets::ListProjectAssets, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::list_project_assets::ListProjectAssetsError, + >, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::list_project_assets::paginator::ListProjectAssetsPaginator::send) which returns a `Stream`. diff --git a/sdk/iotsitewise/src/operation/list_projects/builders.rs b/sdk/iotsitewise/src/operation/list_projects/builders.rs index bccd1ea57489..89c0989d7bd7 100644 --- a/sdk/iotsitewise/src/operation/list_projects/builders.rs +++ b/sdk/iotsitewise/src/operation/list_projects/builders.rs @@ -19,9 +19,9 @@ impl ListProjectsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl ListProjectsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_projects::ListProjects, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::list_projects::paginator::ListProjectsPaginator::send) which returns a `Stream`. diff --git a/sdk/iotsitewise/src/operation/list_tags_for_resource/builders.rs b/sdk/iotsitewise/src/operation/list_tags_for_resource/builders.rs index 1ceeb3346903..d20802f3b2fa 100644 --- a/sdk/iotsitewise/src/operation/list_tags_for_resource/builders.rs +++ b/sdk/iotsitewise/src/operation/list_tags_for_resource/builders.rs @@ -19,9 +19,9 @@ impl ListTagsForResourceFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl ListTagsForResourceFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_tags_for_resource::ListTagsForResource, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::list_tags_for_resource::ListTagsForResourceError, + >, + > { + self.customize_middleware().await + } ///

                                                                                            The ARN of the resource.

                                                                                            pub fn resource_arn(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.resource_arn(input.into()); diff --git a/sdk/iotsitewise/src/operation/list_time_series/builders.rs b/sdk/iotsitewise/src/operation/list_time_series/builders.rs index 266095bf752c..964faeb71149 100644 --- a/sdk/iotsitewise/src/operation/list_time_series/builders.rs +++ b/sdk/iotsitewise/src/operation/list_time_series/builders.rs @@ -19,9 +19,9 @@ impl ListTimeSeriesFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl ListTimeSeriesFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_time_series::ListTimeSeries, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::list_time_series::ListTimeSeriesError, + >, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::list_time_series::paginator::ListTimeSeriesPaginator::send) which returns a `Stream`. diff --git a/sdk/iotsitewise/src/operation/put_default_encryption_configuration/builders.rs b/sdk/iotsitewise/src/operation/put_default_encryption_configuration/builders.rs index e6e5b4fb5de8..988941890b7f 100644 --- a/sdk/iotsitewise/src/operation/put_default_encryption_configuration/builders.rs +++ b/sdk/iotsitewise/src/operation/put_default_encryption_configuration/builders.rs @@ -19,9 +19,9 @@ impl PutDefaultEncryptionConfigurationFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize(self) -> ::std::result::Result< + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware(self) -> ::std::result::Result< crate::client::customize::CustomizableOperation, ::aws_smithy_http::result::SdkError >{ @@ -64,6 +64,15 @@ impl PutDefaultEncryptionConfigurationFluentBuilder { { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize(self) -> ::std::result::Result< + crate::client::customize::CustomizableOperation, + ::aws_smithy_http::result::SdkError + >{ + self.customize_middleware().await + } ///

                                                                                            The type of encryption used for the encryption configuration.

                                                                                            pub fn encryption_type(mut self, input: crate::types::EncryptionType) -> Self { self.inner = self.inner.encryption_type(input); diff --git a/sdk/iotsitewise/src/operation/put_logging_options/builders.rs b/sdk/iotsitewise/src/operation/put_logging_options/builders.rs index 3f8a6087d423..93eb96dd9bb8 100644 --- a/sdk/iotsitewise/src/operation/put_logging_options/builders.rs +++ b/sdk/iotsitewise/src/operation/put_logging_options/builders.rs @@ -19,9 +19,9 @@ impl PutLoggingOptionsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl PutLoggingOptionsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::put_logging_options::PutLoggingOptions, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::put_logging_options::PutLoggingOptionsError, + >, + > { + self.customize_middleware().await + } ///

                                                                                            The logging options to set.

                                                                                            pub fn logging_options(mut self, input: crate::types::LoggingOptions) -> Self { self.inner = self.inner.logging_options(input); diff --git a/sdk/iotsitewise/src/operation/put_storage_configuration/builders.rs b/sdk/iotsitewise/src/operation/put_storage_configuration/builders.rs index b9c91df0ebf8..b16fdde4aa40 100644 --- a/sdk/iotsitewise/src/operation/put_storage_configuration/builders.rs +++ b/sdk/iotsitewise/src/operation/put_storage_configuration/builders.rs @@ -20,9 +20,9 @@ impl PutStorageConfigurationFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -84,6 +84,22 @@ impl PutStorageConfigurationFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::put_storage_configuration::PutStorageConfiguration, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::put_storage_configuration::PutStorageConfigurationError, + >, + > { + self.customize_middleware().await + } ///

                                                                                            The storage tier that you specified for your data. The storageType parameter can be one of the following values:

                                                                                            ///
                                                                                              ///
                                                                                            • SITEWISE_DEFAULT_STORAGE – IoT SiteWise saves your data into the hot tier. The hot tier is a service-managed database.

                                                                                            • diff --git a/sdk/iotsitewise/src/operation/tag_resource/builders.rs b/sdk/iotsitewise/src/operation/tag_resource/builders.rs index 48a245a77647..abb9dbf969c5 100644 --- a/sdk/iotsitewise/src/operation/tag_resource/builders.rs +++ b/sdk/iotsitewise/src/operation/tag_resource/builders.rs @@ -19,9 +19,9 @@ impl TagResourceFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl TagResourceFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::tag_resource::TagResource, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                                              The ARN of the resource to tag.

                                                                                              pub fn resource_arn(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.resource_arn(input.into()); diff --git a/sdk/iotsitewise/src/operation/untag_resource/builders.rs b/sdk/iotsitewise/src/operation/untag_resource/builders.rs index b9dae71905be..485c886976fd 100644 --- a/sdk/iotsitewise/src/operation/untag_resource/builders.rs +++ b/sdk/iotsitewise/src/operation/untag_resource/builders.rs @@ -19,9 +19,9 @@ impl UntagResourceFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl UntagResourceFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::untag_resource::UntagResource, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                                              The ARN of the resource to untag.

                                                                                              pub fn resource_arn(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.resource_arn(input.into()); diff --git a/sdk/iotsitewise/src/operation/update_access_policy/builders.rs b/sdk/iotsitewise/src/operation/update_access_policy/builders.rs index 571c3939207a..2212569c048e 100644 --- a/sdk/iotsitewise/src/operation/update_access_policy/builders.rs +++ b/sdk/iotsitewise/src/operation/update_access_policy/builders.rs @@ -19,9 +19,9 @@ impl UpdateAccessPolicyFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl UpdateAccessPolicyFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::update_access_policy::UpdateAccessPolicy, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::update_access_policy::UpdateAccessPolicyError, + >, + > { + self.customize_middleware().await + } ///

                                                                                              The ID of the access policy.

                                                                                              pub fn access_policy_id( mut self, diff --git a/sdk/iotsitewise/src/operation/update_asset/builders.rs b/sdk/iotsitewise/src/operation/update_asset/builders.rs index b75c161d36c2..ad6387792848 100644 --- a/sdk/iotsitewise/src/operation/update_asset/builders.rs +++ b/sdk/iotsitewise/src/operation/update_asset/builders.rs @@ -19,9 +19,9 @@ impl UpdateAssetFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl UpdateAssetFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::update_asset::UpdateAsset, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                                              The ID of the asset to update.

                                                                                              pub fn asset_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.asset_id(input.into()); diff --git a/sdk/iotsitewise/src/operation/update_asset_model/builders.rs b/sdk/iotsitewise/src/operation/update_asset_model/builders.rs index e6def4762e5c..98389319b9bd 100644 --- a/sdk/iotsitewise/src/operation/update_asset_model/builders.rs +++ b/sdk/iotsitewise/src/operation/update_asset_model/builders.rs @@ -22,9 +22,9 @@ impl UpdateAssetModelFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -86,6 +86,22 @@ impl UpdateAssetModelFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::update_asset_model::UpdateAssetModel, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::update_asset_model::UpdateAssetModelError, + >, + > { + self.customize_middleware().await + } ///

                                                                                              The ID of the asset model to update.

                                                                                              pub fn asset_model_id( mut self, diff --git a/sdk/iotsitewise/src/operation/update_asset_property/builders.rs b/sdk/iotsitewise/src/operation/update_asset_property/builders.rs index 4271e8a7f5c2..77f3cb60cc93 100644 --- a/sdk/iotsitewise/src/operation/update_asset_property/builders.rs +++ b/sdk/iotsitewise/src/operation/update_asset_property/builders.rs @@ -21,9 +21,9 @@ impl UpdateAssetPropertyFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -85,6 +85,22 @@ impl UpdateAssetPropertyFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::update_asset_property::UpdateAssetProperty, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::update_asset_property::UpdateAssetPropertyError, + >, + > { + self.customize_middleware().await + } ///

                                                                                              The ID of the asset to be updated.

                                                                                              pub fn asset_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.asset_id(input.into()); diff --git a/sdk/iotsitewise/src/operation/update_dashboard/builders.rs b/sdk/iotsitewise/src/operation/update_dashboard/builders.rs index 5794cdeeeb22..f9ebe315a956 100644 --- a/sdk/iotsitewise/src/operation/update_dashboard/builders.rs +++ b/sdk/iotsitewise/src/operation/update_dashboard/builders.rs @@ -19,9 +19,9 @@ impl UpdateDashboardFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl UpdateDashboardFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::update_dashboard::UpdateDashboard, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::update_dashboard::UpdateDashboardError, + >, + > { + self.customize_middleware().await + } ///

                                                                                              The ID of the dashboard to update.

                                                                                              pub fn dashboard_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.dashboard_id(input.into()); diff --git a/sdk/iotsitewise/src/operation/update_gateway/builders.rs b/sdk/iotsitewise/src/operation/update_gateway/builders.rs index 10deb50757c8..7578d0e4b208 100644 --- a/sdk/iotsitewise/src/operation/update_gateway/builders.rs +++ b/sdk/iotsitewise/src/operation/update_gateway/builders.rs @@ -19,9 +19,9 @@ impl UpdateGatewayFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl UpdateGatewayFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::update_gateway::UpdateGateway, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                                              The ID of the gateway to update.

                                                                                              pub fn gateway_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.gateway_id(input.into()); diff --git a/sdk/iotsitewise/src/operation/update_gateway_capability_configuration/builders.rs b/sdk/iotsitewise/src/operation/update_gateway_capability_configuration/builders.rs index 59128f8d0c7f..ad3500b9e4ef 100644 --- a/sdk/iotsitewise/src/operation/update_gateway_capability_configuration/builders.rs +++ b/sdk/iotsitewise/src/operation/update_gateway_capability_configuration/builders.rs @@ -19,9 +19,9 @@ impl UpdateGatewayCapabilityConfigurationFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize(self) -> ::std::result::Result< + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware(self) -> ::std::result::Result< crate::client::customize::CustomizableOperation, ::aws_smithy_http::result::SdkError >{ @@ -64,6 +64,15 @@ impl UpdateGatewayCapabilityConfigurationFluentBuilder { { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize(self) -> ::std::result::Result< + crate::client::customize::CustomizableOperation, + ::aws_smithy_http::result::SdkError + >{ + self.customize_middleware().await + } ///

                                                                                              The ID of the gateway to be updated.

                                                                                              pub fn gateway_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.gateway_id(input.into()); diff --git a/sdk/iotsitewise/src/operation/update_portal/builders.rs b/sdk/iotsitewise/src/operation/update_portal/builders.rs index 1aebb654704b..198751c713de 100644 --- a/sdk/iotsitewise/src/operation/update_portal/builders.rs +++ b/sdk/iotsitewise/src/operation/update_portal/builders.rs @@ -19,9 +19,9 @@ impl UpdatePortalFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl UpdatePortalFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::update_portal::UpdatePortal, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                                              The ID of the portal to update.

                                                                                              pub fn portal_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.portal_id(input.into()); diff --git a/sdk/iotsitewise/src/operation/update_project/builders.rs b/sdk/iotsitewise/src/operation/update_project/builders.rs index 73ea12298b91..5e4a2dc9307c 100644 --- a/sdk/iotsitewise/src/operation/update_project/builders.rs +++ b/sdk/iotsitewise/src/operation/update_project/builders.rs @@ -19,9 +19,9 @@ impl UpdateProjectFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl UpdateProjectFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::update_project::UpdateProject, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                                              The ID of the project to update.

                                                                                              pub fn project_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.project_id(input.into()); diff --git a/sdk/iotthingsgraph/src/operation/associate_entity_to_thing/builders.rs b/sdk/iotthingsgraph/src/operation/associate_entity_to_thing/builders.rs index 2101d65000ce..17af777f351a 100644 --- a/sdk/iotthingsgraph/src/operation/associate_entity_to_thing/builders.rs +++ b/sdk/iotthingsgraph/src/operation/associate_entity_to_thing/builders.rs @@ -22,9 +22,9 @@ impl AssociateEntityToThingFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -86,6 +86,22 @@ impl AssociateEntityToThingFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::associate_entity_to_thing::AssociateEntityToThing, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::associate_entity_to_thing::AssociateEntityToThingError, + >, + > { + self.customize_middleware().await + } ///

                                                                                              The name of the thing to which the entity is to be associated.

                                                                                              pub fn thing_name(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.thing_name(input.into()); diff --git a/sdk/iotthingsgraph/src/operation/create_flow_template/builders.rs b/sdk/iotthingsgraph/src/operation/create_flow_template/builders.rs index c32b501418a3..8ebfb43072c6 100644 --- a/sdk/iotthingsgraph/src/operation/create_flow_template/builders.rs +++ b/sdk/iotthingsgraph/src/operation/create_flow_template/builders.rs @@ -20,9 +20,9 @@ impl CreateFlowTemplateFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -84,6 +84,22 @@ impl CreateFlowTemplateFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::create_flow_template::CreateFlowTemplate, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::create_flow_template::CreateFlowTemplateError, + >, + > { + self.customize_middleware().await + } ///

                                                                                              The workflow DefinitionDocument.

                                                                                              pub fn definition(mut self, input: crate::types::DefinitionDocument) -> Self { self.inner = self.inner.definition(input); diff --git a/sdk/iotthingsgraph/src/operation/create_system_instance/builders.rs b/sdk/iotthingsgraph/src/operation/create_system_instance/builders.rs index 99952afc3e28..680a956094f3 100644 --- a/sdk/iotthingsgraph/src/operation/create_system_instance/builders.rs +++ b/sdk/iotthingsgraph/src/operation/create_system_instance/builders.rs @@ -24,9 +24,9 @@ impl CreateSystemInstanceFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -88,6 +88,22 @@ impl CreateSystemInstanceFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::create_system_instance::CreateSystemInstance, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::create_system_instance::CreateSystemInstanceError, + >, + > { + self.customize_middleware().await + } /// Appends an item to `tags`. /// /// To override the contents of this collection use [`set_tags`](Self::set_tags). diff --git a/sdk/iotthingsgraph/src/operation/create_system_template/builders.rs b/sdk/iotthingsgraph/src/operation/create_system_template/builders.rs index 3c0b8b28544d..c7372e3eb056 100644 --- a/sdk/iotthingsgraph/src/operation/create_system_template/builders.rs +++ b/sdk/iotthingsgraph/src/operation/create_system_template/builders.rs @@ -20,9 +20,9 @@ impl CreateSystemTemplateFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -84,6 +84,22 @@ impl CreateSystemTemplateFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::create_system_template::CreateSystemTemplate, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::create_system_template::CreateSystemTemplateError, + >, + > { + self.customize_middleware().await + } ///

                                                                                              The DefinitionDocument used to create the system.

                                                                                              pub fn definition(mut self, input: crate::types::DefinitionDocument) -> Self { self.inner = self.inner.definition(input); diff --git a/sdk/iotthingsgraph/src/operation/delete_flow_template/builders.rs b/sdk/iotthingsgraph/src/operation/delete_flow_template/builders.rs index efc36640ab4c..f45794a67d42 100644 --- a/sdk/iotthingsgraph/src/operation/delete_flow_template/builders.rs +++ b/sdk/iotthingsgraph/src/operation/delete_flow_template/builders.rs @@ -20,9 +20,9 @@ impl DeleteFlowTemplateFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -84,6 +84,22 @@ impl DeleteFlowTemplateFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::delete_flow_template::DeleteFlowTemplate, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::delete_flow_template::DeleteFlowTemplateError, + >, + > { + self.customize_middleware().await + } ///

                                                                                              The ID of the workflow to be deleted.

                                                                                              ///

                                                                                              The ID should be in the following format.

                                                                                              ///

                                                                                              urn:tdm:REGION/ACCOUNT ID/default:workflow:WORKFLOWNAME

                                                                                              diff --git a/sdk/iotthingsgraph/src/operation/delete_namespace/builders.rs b/sdk/iotthingsgraph/src/operation/delete_namespace/builders.rs index ac99c0f343fb..06c3cce0af67 100644 --- a/sdk/iotthingsgraph/src/operation/delete_namespace/builders.rs +++ b/sdk/iotthingsgraph/src/operation/delete_namespace/builders.rs @@ -20,9 +20,9 @@ impl DeleteNamespaceFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -84,4 +84,20 @@ impl DeleteNamespaceFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::delete_namespace::DeleteNamespace, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::delete_namespace::DeleteNamespaceError, + >, + > { + self.customize_middleware().await + } } diff --git a/sdk/iotthingsgraph/src/operation/delete_system_instance/builders.rs b/sdk/iotthingsgraph/src/operation/delete_system_instance/builders.rs index 43001624da99..1f4bc5f479ba 100644 --- a/sdk/iotthingsgraph/src/operation/delete_system_instance/builders.rs +++ b/sdk/iotthingsgraph/src/operation/delete_system_instance/builders.rs @@ -21,9 +21,9 @@ impl DeleteSystemInstanceFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -85,6 +85,22 @@ impl DeleteSystemInstanceFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::delete_system_instance::DeleteSystemInstance, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::delete_system_instance::DeleteSystemInstanceError, + >, + > { + self.customize_middleware().await + } ///

                                                                                              The ID of the system instance to be deleted.

                                                                                              pub fn id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.id(input.into()); diff --git a/sdk/iotthingsgraph/src/operation/delete_system_template/builders.rs b/sdk/iotthingsgraph/src/operation/delete_system_template/builders.rs index 6a918a3237fd..549b34c0c17f 100644 --- a/sdk/iotthingsgraph/src/operation/delete_system_template/builders.rs +++ b/sdk/iotthingsgraph/src/operation/delete_system_template/builders.rs @@ -20,9 +20,9 @@ impl DeleteSystemTemplateFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -84,6 +84,22 @@ impl DeleteSystemTemplateFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::delete_system_template::DeleteSystemTemplate, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::delete_system_template::DeleteSystemTemplateError, + >, + > { + self.customize_middleware().await + } ///

                                                                                              The ID of the system to be deleted.

                                                                                              ///

                                                                                              The ID should be in the following format.

                                                                                              ///

                                                                                              urn:tdm:REGION/ACCOUNT ID/default:system:SYSTEMNAME

                                                                                              diff --git a/sdk/iotthingsgraph/src/operation/deploy_system_instance/builders.rs b/sdk/iotthingsgraph/src/operation/deploy_system_instance/builders.rs index b79d349af21c..fffd5088d03a 100644 --- a/sdk/iotthingsgraph/src/operation/deploy_system_instance/builders.rs +++ b/sdk/iotthingsgraph/src/operation/deploy_system_instance/builders.rs @@ -25,9 +25,9 @@ impl DeploySystemInstanceFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -89,6 +89,22 @@ impl DeploySystemInstanceFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::deploy_system_instance::DeploySystemInstance, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::deploy_system_instance::DeploySystemInstanceError, + >, + > { + self.customize_middleware().await + } ///

                                                                                              The ID of the system instance. This value is returned by the CreateSystemInstance action.

                                                                                              ///

                                                                                              The ID should be in the following format.

                                                                                              ///

                                                                                              urn:tdm:REGION/ACCOUNT ID/default:deployment:DEPLOYMENTNAME

                                                                                              diff --git a/sdk/iotthingsgraph/src/operation/deprecate_flow_template/builders.rs b/sdk/iotthingsgraph/src/operation/deprecate_flow_template/builders.rs index 5db87c55ee72..7b66fd3721ac 100644 --- a/sdk/iotthingsgraph/src/operation/deprecate_flow_template/builders.rs +++ b/sdk/iotthingsgraph/src/operation/deprecate_flow_template/builders.rs @@ -20,9 +20,9 @@ impl DeprecateFlowTemplateFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -84,6 +84,22 @@ impl DeprecateFlowTemplateFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::deprecate_flow_template::DeprecateFlowTemplate, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::deprecate_flow_template::DeprecateFlowTemplateError, + >, + > { + self.customize_middleware().await + } ///

                                                                                              The ID of the workflow to be deleted.

                                                                                              ///

                                                                                              The ID should be in the following format.

                                                                                              ///

                                                                                              urn:tdm:REGION/ACCOUNT ID/default:workflow:WORKFLOWNAME

                                                                                              diff --git a/sdk/iotthingsgraph/src/operation/deprecate_system_template/builders.rs b/sdk/iotthingsgraph/src/operation/deprecate_system_template/builders.rs index 9ed41d13cb7a..fa5e9bc06b39 100644 --- a/sdk/iotthingsgraph/src/operation/deprecate_system_template/builders.rs +++ b/sdk/iotthingsgraph/src/operation/deprecate_system_template/builders.rs @@ -21,9 +21,9 @@ impl DeprecateSystemTemplateFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -85,6 +85,22 @@ impl DeprecateSystemTemplateFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::deprecate_system_template::DeprecateSystemTemplate, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::deprecate_system_template::DeprecateSystemTemplateError, + >, + > { + self.customize_middleware().await + } ///

                                                                                              The ID of the system to delete.

                                                                                              ///

                                                                                              The ID should be in the following format.

                                                                                              ///

                                                                                              urn:tdm:REGION/ACCOUNT ID/default:system:SYSTEMNAME

                                                                                              diff --git a/sdk/iotthingsgraph/src/operation/describe_namespace/builders.rs b/sdk/iotthingsgraph/src/operation/describe_namespace/builders.rs index 1c75f5bc1108..644d308d7d21 100644 --- a/sdk/iotthingsgraph/src/operation/describe_namespace/builders.rs +++ b/sdk/iotthingsgraph/src/operation/describe_namespace/builders.rs @@ -20,9 +20,9 @@ impl DescribeNamespaceFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -84,6 +84,22 @@ impl DescribeNamespaceFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::describe_namespace::DescribeNamespace, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::describe_namespace::DescribeNamespaceError, + >, + > { + self.customize_middleware().await + } ///

                                                                                              The name of the user's namespace. Set this to aws to get the public namespace.

                                                                                              pub fn namespace_name( mut self, diff --git a/sdk/iotthingsgraph/src/operation/dissociate_entity_from_thing/builders.rs b/sdk/iotthingsgraph/src/operation/dissociate_entity_from_thing/builders.rs index f74d74ba7672..931fbbfa8c2f 100644 --- a/sdk/iotthingsgraph/src/operation/dissociate_entity_from_thing/builders.rs +++ b/sdk/iotthingsgraph/src/operation/dissociate_entity_from_thing/builders.rs @@ -20,9 +20,9 @@ impl DissociateEntityFromThingFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -84,6 +84,22 @@ impl DissociateEntityFromThingFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::dissociate_entity_from_thing::DissociateEntityFromThing, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::dissociate_entity_from_thing::DissociateEntityFromThingError, + >, + > { + self.customize_middleware().await + } ///

                                                                                              The name of the thing to disassociate.

                                                                                              pub fn thing_name(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.thing_name(input.into()); diff --git a/sdk/iotthingsgraph/src/operation/get_entities/builders.rs b/sdk/iotthingsgraph/src/operation/get_entities/builders.rs index 764fe249fc95..dc682aa433a1 100644 --- a/sdk/iotthingsgraph/src/operation/get_entities/builders.rs +++ b/sdk/iotthingsgraph/src/operation/get_entities/builders.rs @@ -32,9 +32,9 @@ impl GetEntitiesFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -90,6 +90,20 @@ impl GetEntitiesFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::get_entities::GetEntities, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } /// Appends an item to `ids`. /// /// To override the contents of this collection use [`set_ids`](Self::set_ids). diff --git a/sdk/iotthingsgraph/src/operation/get_flow_template/builders.rs b/sdk/iotthingsgraph/src/operation/get_flow_template/builders.rs index 2a307082cfef..2a45fb6f84f0 100644 --- a/sdk/iotthingsgraph/src/operation/get_flow_template/builders.rs +++ b/sdk/iotthingsgraph/src/operation/get_flow_template/builders.rs @@ -20,9 +20,9 @@ impl GetFlowTemplateFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -84,6 +84,22 @@ impl GetFlowTemplateFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::get_flow_template::GetFlowTemplate, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::get_flow_template::GetFlowTemplateError, + >, + > { + self.customize_middleware().await + } ///

                                                                                              The ID of the workflow.

                                                                                              ///

                                                                                              The ID should be in the following format.

                                                                                              ///

                                                                                              urn:tdm:REGION/ACCOUNT ID/default:workflow:WORKFLOWNAME

                                                                                              diff --git a/sdk/iotthingsgraph/src/operation/get_flow_template_revisions/builders.rs b/sdk/iotthingsgraph/src/operation/get_flow_template_revisions/builders.rs index be982bf436ad..bfd103ec40f6 100644 --- a/sdk/iotthingsgraph/src/operation/get_flow_template_revisions/builders.rs +++ b/sdk/iotthingsgraph/src/operation/get_flow_template_revisions/builders.rs @@ -20,9 +20,9 @@ impl GetFlowTemplateRevisionsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -84,6 +84,22 @@ impl GetFlowTemplateRevisionsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::get_flow_template_revisions::GetFlowTemplateRevisions, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::get_flow_template_revisions::GetFlowTemplateRevisionsError, + >, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::get_flow_template_revisions::paginator::GetFlowTemplateRevisionsPaginator::send) which returns a `Stream`. diff --git a/sdk/iotthingsgraph/src/operation/get_namespace_deletion_status/builders.rs b/sdk/iotthingsgraph/src/operation/get_namespace_deletion_status/builders.rs index a28855fd2561..14d2cc11b5db 100644 --- a/sdk/iotthingsgraph/src/operation/get_namespace_deletion_status/builders.rs +++ b/sdk/iotthingsgraph/src/operation/get_namespace_deletion_status/builders.rs @@ -20,9 +20,9 @@ impl GetNamespaceDeletionStatusFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -84,4 +84,20 @@ impl GetNamespaceDeletionStatusFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::get_namespace_deletion_status::GetNamespaceDeletionStatus, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::get_namespace_deletion_status::GetNamespaceDeletionStatusError, + >, + > { + self.customize_middleware().await + } } diff --git a/sdk/iotthingsgraph/src/operation/get_system_instance/builders.rs b/sdk/iotthingsgraph/src/operation/get_system_instance/builders.rs index 2ede58be9771..ede7135ff747 100644 --- a/sdk/iotthingsgraph/src/operation/get_system_instance/builders.rs +++ b/sdk/iotthingsgraph/src/operation/get_system_instance/builders.rs @@ -20,9 +20,9 @@ impl GetSystemInstanceFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -84,6 +84,22 @@ impl GetSystemInstanceFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::get_system_instance::GetSystemInstance, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::get_system_instance::GetSystemInstanceError, + >, + > { + self.customize_middleware().await + } ///

                                                                                              The ID of the system deployment instance. This value is returned by CreateSystemInstance.

                                                                                              ///

                                                                                              The ID should be in the following format.

                                                                                              ///

                                                                                              urn:tdm:REGION/ACCOUNT ID/default:deployment:DEPLOYMENTNAME

                                                                                              diff --git a/sdk/iotthingsgraph/src/operation/get_system_template/builders.rs b/sdk/iotthingsgraph/src/operation/get_system_template/builders.rs index 9ef538b6337b..b3f4adcaa0a1 100644 --- a/sdk/iotthingsgraph/src/operation/get_system_template/builders.rs +++ b/sdk/iotthingsgraph/src/operation/get_system_template/builders.rs @@ -20,9 +20,9 @@ impl GetSystemTemplateFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -84,6 +84,22 @@ impl GetSystemTemplateFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::get_system_template::GetSystemTemplate, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::get_system_template::GetSystemTemplateError, + >, + > { + self.customize_middleware().await + } ///

                                                                                              The ID of the system to get. This ID must be in the user's namespace.

                                                                                              ///

                                                                                              The ID should be in the following format.

                                                                                              ///

                                                                                              urn:tdm:REGION/ACCOUNT ID/default:system:SYSTEMNAME

                                                                                              diff --git a/sdk/iotthingsgraph/src/operation/get_system_template_revisions/builders.rs b/sdk/iotthingsgraph/src/operation/get_system_template_revisions/builders.rs index e1334ca65f6c..6c17a3518dae 100644 --- a/sdk/iotthingsgraph/src/operation/get_system_template_revisions/builders.rs +++ b/sdk/iotthingsgraph/src/operation/get_system_template_revisions/builders.rs @@ -20,9 +20,9 @@ impl GetSystemTemplateRevisionsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -84,6 +84,22 @@ impl GetSystemTemplateRevisionsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::get_system_template_revisions::GetSystemTemplateRevisions, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::get_system_template_revisions::GetSystemTemplateRevisionsError, + >, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::get_system_template_revisions::paginator::GetSystemTemplateRevisionsPaginator::send) which returns a `Stream`. diff --git a/sdk/iotthingsgraph/src/operation/get_upload_status/builders.rs b/sdk/iotthingsgraph/src/operation/get_upload_status/builders.rs index 01def65d8928..13a980ec88cf 100644 --- a/sdk/iotthingsgraph/src/operation/get_upload_status/builders.rs +++ b/sdk/iotthingsgraph/src/operation/get_upload_status/builders.rs @@ -20,9 +20,9 @@ impl GetUploadStatusFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -84,6 +84,22 @@ impl GetUploadStatusFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::get_upload_status::GetUploadStatus, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::get_upload_status::GetUploadStatusError, + >, + > { + self.customize_middleware().await + } ///

                                                                                              The ID of the upload. This value is returned by the UploadEntityDefinitions action.

                                                                                              pub fn upload_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.upload_id(input.into()); diff --git a/sdk/iotthingsgraph/src/operation/list_flow_execution_messages/builders.rs b/sdk/iotthingsgraph/src/operation/list_flow_execution_messages/builders.rs index b69a053cfe7e..8ac2720ac0f8 100644 --- a/sdk/iotthingsgraph/src/operation/list_flow_execution_messages/builders.rs +++ b/sdk/iotthingsgraph/src/operation/list_flow_execution_messages/builders.rs @@ -20,9 +20,9 @@ impl ListFlowExecutionMessagesFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -84,6 +84,22 @@ impl ListFlowExecutionMessagesFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_flow_execution_messages::ListFlowExecutionMessages, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::list_flow_execution_messages::ListFlowExecutionMessagesError, + >, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::list_flow_execution_messages::paginator::ListFlowExecutionMessagesPaginator::send) which returns a `Stream`. diff --git a/sdk/iotthingsgraph/src/operation/list_tags_for_resource/builders.rs b/sdk/iotthingsgraph/src/operation/list_tags_for_resource/builders.rs index a9346269a162..5fb43a843b8b 100644 --- a/sdk/iotthingsgraph/src/operation/list_tags_for_resource/builders.rs +++ b/sdk/iotthingsgraph/src/operation/list_tags_for_resource/builders.rs @@ -20,9 +20,9 @@ impl ListTagsForResourceFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -84,6 +84,22 @@ impl ListTagsForResourceFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_tags_for_resource::ListTagsForResource, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::list_tags_for_resource::ListTagsForResourceError, + >, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::list_tags_for_resource::paginator::ListTagsForResourcePaginator::send) which returns a `Stream`. diff --git a/sdk/iotthingsgraph/src/operation/search_entities/builders.rs b/sdk/iotthingsgraph/src/operation/search_entities/builders.rs index a914c70dc7ca..687bdd48b73b 100644 --- a/sdk/iotthingsgraph/src/operation/search_entities/builders.rs +++ b/sdk/iotthingsgraph/src/operation/search_entities/builders.rs @@ -20,9 +20,9 @@ impl SearchEntitiesFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -78,6 +78,20 @@ impl SearchEntitiesFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::search_entities::SearchEntities, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::search_entities::paginator::SearchEntitiesPaginator::send) which returns a `Stream`. diff --git a/sdk/iotthingsgraph/src/operation/search_flow_executions/builders.rs b/sdk/iotthingsgraph/src/operation/search_flow_executions/builders.rs index 5cc52a0bcf85..a5126c1c9048 100644 --- a/sdk/iotthingsgraph/src/operation/search_flow_executions/builders.rs +++ b/sdk/iotthingsgraph/src/operation/search_flow_executions/builders.rs @@ -20,9 +20,9 @@ impl SearchFlowExecutionsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -84,6 +84,22 @@ impl SearchFlowExecutionsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::search_flow_executions::SearchFlowExecutions, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::search_flow_executions::SearchFlowExecutionsError, + >, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::search_flow_executions::paginator::SearchFlowExecutionsPaginator::send) which returns a `Stream`. diff --git a/sdk/iotthingsgraph/src/operation/search_flow_templates/builders.rs b/sdk/iotthingsgraph/src/operation/search_flow_templates/builders.rs index 7b27ad462f8a..898985d3d552 100644 --- a/sdk/iotthingsgraph/src/operation/search_flow_templates/builders.rs +++ b/sdk/iotthingsgraph/src/operation/search_flow_templates/builders.rs @@ -20,9 +20,9 @@ impl SearchFlowTemplatesFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -84,6 +84,22 @@ impl SearchFlowTemplatesFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::search_flow_templates::SearchFlowTemplates, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::search_flow_templates::SearchFlowTemplatesError, + >, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::search_flow_templates::paginator::SearchFlowTemplatesPaginator::send) which returns a `Stream`. diff --git a/sdk/iotthingsgraph/src/operation/search_system_instances/builders.rs b/sdk/iotthingsgraph/src/operation/search_system_instances/builders.rs index 242f9bbf33ef..d7b384e9a2ef 100644 --- a/sdk/iotthingsgraph/src/operation/search_system_instances/builders.rs +++ b/sdk/iotthingsgraph/src/operation/search_system_instances/builders.rs @@ -20,9 +20,9 @@ impl SearchSystemInstancesFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -84,6 +84,22 @@ impl SearchSystemInstancesFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::search_system_instances::SearchSystemInstances, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::search_system_instances::SearchSystemInstancesError, + >, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::search_system_instances::paginator::SearchSystemInstancesPaginator::send) which returns a `Stream`. diff --git a/sdk/iotthingsgraph/src/operation/search_system_templates/builders.rs b/sdk/iotthingsgraph/src/operation/search_system_templates/builders.rs index 6e17ca8268c9..17e276b24644 100644 --- a/sdk/iotthingsgraph/src/operation/search_system_templates/builders.rs +++ b/sdk/iotthingsgraph/src/operation/search_system_templates/builders.rs @@ -20,9 +20,9 @@ impl SearchSystemTemplatesFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -84,6 +84,22 @@ impl SearchSystemTemplatesFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::search_system_templates::SearchSystemTemplates, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::search_system_templates::SearchSystemTemplatesError, + >, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::search_system_templates::paginator::SearchSystemTemplatesPaginator::send) which returns a `Stream`. diff --git a/sdk/iotthingsgraph/src/operation/search_things/builders.rs b/sdk/iotthingsgraph/src/operation/search_things/builders.rs index b8f88d629669..e4009d547a76 100644 --- a/sdk/iotthingsgraph/src/operation/search_things/builders.rs +++ b/sdk/iotthingsgraph/src/operation/search_things/builders.rs @@ -22,9 +22,9 @@ impl SearchThingsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -80,6 +80,20 @@ impl SearchThingsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::search_things::SearchThings, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::search_things::paginator::SearchThingsPaginator::send) which returns a `Stream`. diff --git a/sdk/iotthingsgraph/src/operation/tag_resource/builders.rs b/sdk/iotthingsgraph/src/operation/tag_resource/builders.rs index 0570869191db..cb83faa4ae77 100644 --- a/sdk/iotthingsgraph/src/operation/tag_resource/builders.rs +++ b/sdk/iotthingsgraph/src/operation/tag_resource/builders.rs @@ -20,9 +20,9 @@ impl TagResourceFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -78,6 +78,20 @@ impl TagResourceFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::tag_resource::TagResource, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                                              The Amazon Resource Name (ARN) of the resource whose tags are returned.

                                                                                              pub fn resource_arn(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.resource_arn(input.into()); diff --git a/sdk/iotthingsgraph/src/operation/undeploy_system_instance/builders.rs b/sdk/iotthingsgraph/src/operation/undeploy_system_instance/builders.rs index dc83e2b9e96f..7f8c88fea2d1 100644 --- a/sdk/iotthingsgraph/src/operation/undeploy_system_instance/builders.rs +++ b/sdk/iotthingsgraph/src/operation/undeploy_system_instance/builders.rs @@ -20,9 +20,9 @@ impl UndeploySystemInstanceFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -84,6 +84,22 @@ impl UndeploySystemInstanceFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::undeploy_system_instance::UndeploySystemInstance, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::undeploy_system_instance::UndeploySystemInstanceError, + >, + > { + self.customize_middleware().await + } ///

                                                                                              The ID of the system instance to remove from its target.

                                                                                              pub fn id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.id(input.into()); diff --git a/sdk/iotthingsgraph/src/operation/untag_resource/builders.rs b/sdk/iotthingsgraph/src/operation/untag_resource/builders.rs index fc5988b8668a..525b703cbd0a 100644 --- a/sdk/iotthingsgraph/src/operation/untag_resource/builders.rs +++ b/sdk/iotthingsgraph/src/operation/untag_resource/builders.rs @@ -20,9 +20,9 @@ impl UntagResourceFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -78,6 +78,20 @@ impl UntagResourceFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::untag_resource::UntagResource, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                                              The Amazon Resource Name (ARN) of the resource whose tags are to be removed.

                                                                                              pub fn resource_arn(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.resource_arn(input.into()); diff --git a/sdk/iotthingsgraph/src/operation/update_flow_template/builders.rs b/sdk/iotthingsgraph/src/operation/update_flow_template/builders.rs index cc6aca076aac..3daf78eb2623 100644 --- a/sdk/iotthingsgraph/src/operation/update_flow_template/builders.rs +++ b/sdk/iotthingsgraph/src/operation/update_flow_template/builders.rs @@ -20,9 +20,9 @@ impl UpdateFlowTemplateFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -84,6 +84,22 @@ impl UpdateFlowTemplateFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::update_flow_template::UpdateFlowTemplate, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::update_flow_template::UpdateFlowTemplateError, + >, + > { + self.customize_middleware().await + } ///

                                                                                              The ID of the workflow to be updated.

                                                                                              ///

                                                                                              The ID should be in the following format.

                                                                                              ///

                                                                                              urn:tdm:REGION/ACCOUNT ID/default:workflow:WORKFLOWNAME

                                                                                              diff --git a/sdk/iotthingsgraph/src/operation/update_system_template/builders.rs b/sdk/iotthingsgraph/src/operation/update_system_template/builders.rs index ee718c2215c4..887a4d4262a3 100644 --- a/sdk/iotthingsgraph/src/operation/update_system_template/builders.rs +++ b/sdk/iotthingsgraph/src/operation/update_system_template/builders.rs @@ -20,9 +20,9 @@ impl UpdateSystemTemplateFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -84,6 +84,22 @@ impl UpdateSystemTemplateFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::update_system_template::UpdateSystemTemplate, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::update_system_template::UpdateSystemTemplateError, + >, + > { + self.customize_middleware().await + } ///

                                                                                              The ID of the system to be updated.

                                                                                              ///

                                                                                              The ID should be in the following format.

                                                                                              ///

                                                                                              urn:tdm:REGION/ACCOUNT ID/default:system:SYSTEMNAME

                                                                                              diff --git a/sdk/iotthingsgraph/src/operation/upload_entity_definitions/builders.rs b/sdk/iotthingsgraph/src/operation/upload_entity_definitions/builders.rs index 4cc8057218db..6620ef5db04b 100644 --- a/sdk/iotthingsgraph/src/operation/upload_entity_definitions/builders.rs +++ b/sdk/iotthingsgraph/src/operation/upload_entity_definitions/builders.rs @@ -24,9 +24,9 @@ impl UploadEntityDefinitionsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -88,6 +88,22 @@ impl UploadEntityDefinitionsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::upload_entity_definitions::UploadEntityDefinitions, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::upload_entity_definitions::UploadEntityDefinitionsError, + >, + > { + self.customize_middleware().await + } ///

                                                                                              The DefinitionDocument that defines the updated entities.

                                                                                              pub fn document(mut self, input: crate::types::DefinitionDocument) -> Self { self.inner = self.inner.document(input); diff --git a/sdk/iottwinmaker/src/operation/batch_put_property_values/builders.rs b/sdk/iottwinmaker/src/operation/batch_put_property_values/builders.rs index 70e90ffa170a..fa6e7f1bb3f3 100644 --- a/sdk/iottwinmaker/src/operation/batch_put_property_values/builders.rs +++ b/sdk/iottwinmaker/src/operation/batch_put_property_values/builders.rs @@ -20,9 +20,9 @@ impl BatchPutPropertyValuesFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -84,6 +84,22 @@ impl BatchPutPropertyValuesFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::batch_put_property_values::BatchPutPropertyValues, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::batch_put_property_values::BatchPutPropertyValuesError, + >, + > { + self.customize_middleware().await + } ///

                                                                                              The ID of the workspace that contains the properties to set.

                                                                                              pub fn workspace_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.workspace_id(input.into()); diff --git a/sdk/iottwinmaker/src/operation/create_component_type/builders.rs b/sdk/iottwinmaker/src/operation/create_component_type/builders.rs index f2daa1a94d82..b241b29e0149 100644 --- a/sdk/iottwinmaker/src/operation/create_component_type/builders.rs +++ b/sdk/iottwinmaker/src/operation/create_component_type/builders.rs @@ -19,9 +19,9 @@ impl CreateComponentTypeFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl CreateComponentTypeFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::create_component_type::CreateComponentType, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::create_component_type::CreateComponentTypeError, + >, + > { + self.customize_middleware().await + } ///

                                                                                              The ID of the workspace that contains the component type.

                                                                                              pub fn workspace_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.workspace_id(input.into()); diff --git a/sdk/iottwinmaker/src/operation/create_entity/builders.rs b/sdk/iottwinmaker/src/operation/create_entity/builders.rs index 897a02ffad27..91ad788bdd47 100644 --- a/sdk/iottwinmaker/src/operation/create_entity/builders.rs +++ b/sdk/iottwinmaker/src/operation/create_entity/builders.rs @@ -19,9 +19,9 @@ impl CreateEntityFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl CreateEntityFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::create_entity::CreateEntity, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                                              The ID of the workspace that contains the entity.

                                                                                              pub fn workspace_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.workspace_id(input.into()); diff --git a/sdk/iottwinmaker/src/operation/create_scene/builders.rs b/sdk/iottwinmaker/src/operation/create_scene/builders.rs index 04190f67406d..5f7b853ce8d9 100644 --- a/sdk/iottwinmaker/src/operation/create_scene/builders.rs +++ b/sdk/iottwinmaker/src/operation/create_scene/builders.rs @@ -19,9 +19,9 @@ impl CreateSceneFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl CreateSceneFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::create_scene::CreateScene, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                                              The ID of the workspace that contains the scene.

                                                                                              pub fn workspace_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.workspace_id(input.into()); diff --git a/sdk/iottwinmaker/src/operation/create_sync_job/builders.rs b/sdk/iottwinmaker/src/operation/create_sync_job/builders.rs index ad116bf0f1fe..83ec8f0c20a4 100644 --- a/sdk/iottwinmaker/src/operation/create_sync_job/builders.rs +++ b/sdk/iottwinmaker/src/operation/create_sync_job/builders.rs @@ -19,9 +19,9 @@ impl CreateSyncJobFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl CreateSyncJobFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::create_sync_job::CreateSyncJob, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                                              The workspace ID.

                                                                                              pub fn workspace_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.workspace_id(input.into()); diff --git a/sdk/iottwinmaker/src/operation/create_workspace/builders.rs b/sdk/iottwinmaker/src/operation/create_workspace/builders.rs index 05ce7611dc53..52cf654dd132 100644 --- a/sdk/iottwinmaker/src/operation/create_workspace/builders.rs +++ b/sdk/iottwinmaker/src/operation/create_workspace/builders.rs @@ -19,9 +19,9 @@ impl CreateWorkspaceFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl CreateWorkspaceFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::create_workspace::CreateWorkspace, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::create_workspace::CreateWorkspaceError, + >, + > { + self.customize_middleware().await + } ///

                                                                                              The ID of the workspace.

                                                                                              pub fn workspace_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.workspace_id(input.into()); diff --git a/sdk/iottwinmaker/src/operation/delete_component_type/builders.rs b/sdk/iottwinmaker/src/operation/delete_component_type/builders.rs index b9720bc8b7e9..2d7b09258577 100644 --- a/sdk/iottwinmaker/src/operation/delete_component_type/builders.rs +++ b/sdk/iottwinmaker/src/operation/delete_component_type/builders.rs @@ -19,9 +19,9 @@ impl DeleteComponentTypeFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl DeleteComponentTypeFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::delete_component_type::DeleteComponentType, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::delete_component_type::DeleteComponentTypeError, + >, + > { + self.customize_middleware().await + } ///

                                                                                              The ID of the workspace that contains the component type.

                                                                                              pub fn workspace_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.workspace_id(input.into()); diff --git a/sdk/iottwinmaker/src/operation/delete_entity/builders.rs b/sdk/iottwinmaker/src/operation/delete_entity/builders.rs index e94400154d38..5d77f31b0135 100644 --- a/sdk/iottwinmaker/src/operation/delete_entity/builders.rs +++ b/sdk/iottwinmaker/src/operation/delete_entity/builders.rs @@ -19,9 +19,9 @@ impl DeleteEntityFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl DeleteEntityFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::delete_entity::DeleteEntity, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                                              The ID of the workspace that contains the entity to delete.

                                                                                              pub fn workspace_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.workspace_id(input.into()); diff --git a/sdk/iottwinmaker/src/operation/delete_scene/builders.rs b/sdk/iottwinmaker/src/operation/delete_scene/builders.rs index 765178ad9931..af43cd6219b8 100644 --- a/sdk/iottwinmaker/src/operation/delete_scene/builders.rs +++ b/sdk/iottwinmaker/src/operation/delete_scene/builders.rs @@ -19,9 +19,9 @@ impl DeleteSceneFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl DeleteSceneFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::delete_scene::DeleteScene, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                                              The ID of the workspace.

                                                                                              pub fn workspace_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.workspace_id(input.into()); diff --git a/sdk/iottwinmaker/src/operation/delete_sync_job/builders.rs b/sdk/iottwinmaker/src/operation/delete_sync_job/builders.rs index 85c0a9c35285..bb173021abd9 100644 --- a/sdk/iottwinmaker/src/operation/delete_sync_job/builders.rs +++ b/sdk/iottwinmaker/src/operation/delete_sync_job/builders.rs @@ -19,9 +19,9 @@ impl DeleteSyncJobFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl DeleteSyncJobFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::delete_sync_job::DeleteSyncJob, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                                              The workspace ID.

                                                                                              pub fn workspace_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.workspace_id(input.into()); diff --git a/sdk/iottwinmaker/src/operation/delete_workspace/builders.rs b/sdk/iottwinmaker/src/operation/delete_workspace/builders.rs index ef442a891dbc..e594501cb38e 100644 --- a/sdk/iottwinmaker/src/operation/delete_workspace/builders.rs +++ b/sdk/iottwinmaker/src/operation/delete_workspace/builders.rs @@ -19,9 +19,9 @@ impl DeleteWorkspaceFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl DeleteWorkspaceFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::delete_workspace::DeleteWorkspace, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::delete_workspace::DeleteWorkspaceError, + >, + > { + self.customize_middleware().await + } ///

                                                                                              The ID of the workspace to delete.

                                                                                              pub fn workspace_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.workspace_id(input.into()); diff --git a/sdk/iottwinmaker/src/operation/execute_query/builders.rs b/sdk/iottwinmaker/src/operation/execute_query/builders.rs index 3c56067b5ec6..16741f235107 100644 --- a/sdk/iottwinmaker/src/operation/execute_query/builders.rs +++ b/sdk/iottwinmaker/src/operation/execute_query/builders.rs @@ -19,9 +19,9 @@ impl ExecuteQueryFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl ExecuteQueryFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::execute_query::ExecuteQuery, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::execute_query::paginator::ExecuteQueryPaginator::send) which returns a `Stream`. diff --git a/sdk/iottwinmaker/src/operation/get_component_type/builders.rs b/sdk/iottwinmaker/src/operation/get_component_type/builders.rs index 3f0a6338d5ad..c5ca12a89bb9 100644 --- a/sdk/iottwinmaker/src/operation/get_component_type/builders.rs +++ b/sdk/iottwinmaker/src/operation/get_component_type/builders.rs @@ -19,9 +19,9 @@ impl GetComponentTypeFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl GetComponentTypeFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::get_component_type::GetComponentType, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::get_component_type::GetComponentTypeError, + >, + > { + self.customize_middleware().await + } ///

                                                                                              The ID of the workspace that contains the component type.

                                                                                              pub fn workspace_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.workspace_id(input.into()); diff --git a/sdk/iottwinmaker/src/operation/get_entity/builders.rs b/sdk/iottwinmaker/src/operation/get_entity/builders.rs index 6b540191bd77..95a83b522ce4 100644 --- a/sdk/iottwinmaker/src/operation/get_entity/builders.rs +++ b/sdk/iottwinmaker/src/operation/get_entity/builders.rs @@ -19,9 +19,9 @@ impl GetEntityFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl GetEntityFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::get_entity::GetEntity, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                                              The ID of the workspace.

                                                                                              pub fn workspace_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.workspace_id(input.into()); diff --git a/sdk/iottwinmaker/src/operation/get_pricing_plan/builders.rs b/sdk/iottwinmaker/src/operation/get_pricing_plan/builders.rs index 2bf3a46d1959..ea84c3ba5749 100644 --- a/sdk/iottwinmaker/src/operation/get_pricing_plan/builders.rs +++ b/sdk/iottwinmaker/src/operation/get_pricing_plan/builders.rs @@ -19,9 +19,9 @@ impl GetPricingPlanFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,4 +83,20 @@ impl GetPricingPlanFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::get_pricing_plan::GetPricingPlan, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::get_pricing_plan::GetPricingPlanError, + >, + > { + self.customize_middleware().await + } } diff --git a/sdk/iottwinmaker/src/operation/get_property_value/builders.rs b/sdk/iottwinmaker/src/operation/get_property_value/builders.rs index 4c7f168546f7..a77dfa1706a7 100644 --- a/sdk/iottwinmaker/src/operation/get_property_value/builders.rs +++ b/sdk/iottwinmaker/src/operation/get_property_value/builders.rs @@ -20,9 +20,9 @@ impl GetPropertyValueFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -84,6 +84,22 @@ impl GetPropertyValueFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::get_property_value::GetPropertyValue, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::get_property_value::GetPropertyValueError, + >, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::get_property_value::paginator::GetPropertyValuePaginator::send) which returns a `Stream`. diff --git a/sdk/iottwinmaker/src/operation/get_property_value_history/builders.rs b/sdk/iottwinmaker/src/operation/get_property_value_history/builders.rs index c54bf42c36a4..0eda738a7fb0 100644 --- a/sdk/iottwinmaker/src/operation/get_property_value_history/builders.rs +++ b/sdk/iottwinmaker/src/operation/get_property_value_history/builders.rs @@ -21,9 +21,9 @@ impl GetPropertyValueHistoryFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -85,6 +85,22 @@ impl GetPropertyValueHistoryFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::get_property_value_history::GetPropertyValueHistory, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::get_property_value_history::GetPropertyValueHistoryError, + >, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::get_property_value_history::paginator::GetPropertyValueHistoryPaginator::send) which returns a `Stream`. diff --git a/sdk/iottwinmaker/src/operation/get_scene/builders.rs b/sdk/iottwinmaker/src/operation/get_scene/builders.rs index ff207c030431..da7935e8c473 100644 --- a/sdk/iottwinmaker/src/operation/get_scene/builders.rs +++ b/sdk/iottwinmaker/src/operation/get_scene/builders.rs @@ -19,9 +19,9 @@ impl GetSceneFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl GetSceneFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::get_scene::GetScene, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                                              The ID of the workspace that contains the scene.

                                                                                              pub fn workspace_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.workspace_id(input.into()); diff --git a/sdk/iottwinmaker/src/operation/get_sync_job/builders.rs b/sdk/iottwinmaker/src/operation/get_sync_job/builders.rs index d8cea06c1bcc..9649b6671bde 100644 --- a/sdk/iottwinmaker/src/operation/get_sync_job/builders.rs +++ b/sdk/iottwinmaker/src/operation/get_sync_job/builders.rs @@ -19,9 +19,9 @@ impl GetSyncJobFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl GetSyncJobFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::get_sync_job::GetSyncJob, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                                              The sync source.

                                                                                              ///

                                                                                              Currently the only supported syncSource is SITEWISE .

                                                                                              ///
                                                                                              diff --git a/sdk/iottwinmaker/src/operation/get_workspace/builders.rs b/sdk/iottwinmaker/src/operation/get_workspace/builders.rs index 2005770209c2..d148877e5600 100644 --- a/sdk/iottwinmaker/src/operation/get_workspace/builders.rs +++ b/sdk/iottwinmaker/src/operation/get_workspace/builders.rs @@ -19,9 +19,9 @@ impl GetWorkspaceFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl GetWorkspaceFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::get_workspace::GetWorkspace, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                                              The ID of the workspace.

                                                                                              pub fn workspace_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.workspace_id(input.into()); diff --git a/sdk/iottwinmaker/src/operation/list_component_types/builders.rs b/sdk/iottwinmaker/src/operation/list_component_types/builders.rs index b25fdfe1a567..a2e837ad37b7 100644 --- a/sdk/iottwinmaker/src/operation/list_component_types/builders.rs +++ b/sdk/iottwinmaker/src/operation/list_component_types/builders.rs @@ -19,9 +19,9 @@ impl ListComponentTypesFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl ListComponentTypesFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_component_types::ListComponentTypes, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::list_component_types::ListComponentTypesError, + >, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::list_component_types::paginator::ListComponentTypesPaginator::send) which returns a `Stream`. diff --git a/sdk/iottwinmaker/src/operation/list_entities/builders.rs b/sdk/iottwinmaker/src/operation/list_entities/builders.rs index 514010d1fec2..77adaf7c00e8 100644 --- a/sdk/iottwinmaker/src/operation/list_entities/builders.rs +++ b/sdk/iottwinmaker/src/operation/list_entities/builders.rs @@ -19,9 +19,9 @@ impl ListEntitiesFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl ListEntitiesFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_entities::ListEntities, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::list_entities::paginator::ListEntitiesPaginator::send) which returns a `Stream`. diff --git a/sdk/iottwinmaker/src/operation/list_scenes/builders.rs b/sdk/iottwinmaker/src/operation/list_scenes/builders.rs index b60677f76eb4..54f09ee6df53 100644 --- a/sdk/iottwinmaker/src/operation/list_scenes/builders.rs +++ b/sdk/iottwinmaker/src/operation/list_scenes/builders.rs @@ -19,9 +19,9 @@ impl ListScenesFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl ListScenesFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_scenes::ListScenes, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::list_scenes::paginator::ListScenesPaginator::send) which returns a `Stream`. diff --git a/sdk/iottwinmaker/src/operation/list_sync_jobs/builders.rs b/sdk/iottwinmaker/src/operation/list_sync_jobs/builders.rs index 3abbc7ffe154..91a657dd4699 100644 --- a/sdk/iottwinmaker/src/operation/list_sync_jobs/builders.rs +++ b/sdk/iottwinmaker/src/operation/list_sync_jobs/builders.rs @@ -19,9 +19,9 @@ impl ListSyncJobsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl ListSyncJobsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_sync_jobs::ListSyncJobs, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::list_sync_jobs::paginator::ListSyncJobsPaginator::send) which returns a `Stream`. diff --git a/sdk/iottwinmaker/src/operation/list_sync_resources/builders.rs b/sdk/iottwinmaker/src/operation/list_sync_resources/builders.rs index 320f1fc42f4e..7a9c8042e88f 100644 --- a/sdk/iottwinmaker/src/operation/list_sync_resources/builders.rs +++ b/sdk/iottwinmaker/src/operation/list_sync_resources/builders.rs @@ -19,9 +19,9 @@ impl ListSyncResourcesFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl ListSyncResourcesFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_sync_resources::ListSyncResources, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::list_sync_resources::ListSyncResourcesError, + >, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::list_sync_resources::paginator::ListSyncResourcesPaginator::send) which returns a `Stream`. diff --git a/sdk/iottwinmaker/src/operation/list_tags_for_resource/builders.rs b/sdk/iottwinmaker/src/operation/list_tags_for_resource/builders.rs index c29cf503c226..3a1923b2ad79 100644 --- a/sdk/iottwinmaker/src/operation/list_tags_for_resource/builders.rs +++ b/sdk/iottwinmaker/src/operation/list_tags_for_resource/builders.rs @@ -19,9 +19,9 @@ impl ListTagsForResourceFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl ListTagsForResourceFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_tags_for_resource::ListTagsForResource, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::list_tags_for_resource::ListTagsForResourceError, + >, + > { + self.customize_middleware().await + } ///

                                                                                              The ARN of the resource.

                                                                                              pub fn resource_arn(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.resource_arn(input.into()); diff --git a/sdk/iottwinmaker/src/operation/list_workspaces/builders.rs b/sdk/iottwinmaker/src/operation/list_workspaces/builders.rs index 3450cfb2c0cf..01c3f82a8476 100644 --- a/sdk/iottwinmaker/src/operation/list_workspaces/builders.rs +++ b/sdk/iottwinmaker/src/operation/list_workspaces/builders.rs @@ -19,9 +19,9 @@ impl ListWorkspacesFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl ListWorkspacesFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_workspaces::ListWorkspaces, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::list_workspaces::paginator::ListWorkspacesPaginator::send) which returns a `Stream`. diff --git a/sdk/iottwinmaker/src/operation/tag_resource/builders.rs b/sdk/iottwinmaker/src/operation/tag_resource/builders.rs index 7265fdf43087..61516a44e4ed 100644 --- a/sdk/iottwinmaker/src/operation/tag_resource/builders.rs +++ b/sdk/iottwinmaker/src/operation/tag_resource/builders.rs @@ -19,9 +19,9 @@ impl TagResourceFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl TagResourceFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::tag_resource::TagResource, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                                              The ARN of the resource.

                                                                                              pub fn resource_arn(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.resource_arn(input.into()); diff --git a/sdk/iottwinmaker/src/operation/untag_resource/builders.rs b/sdk/iottwinmaker/src/operation/untag_resource/builders.rs index 92c8436d8dc5..7996e780bdad 100644 --- a/sdk/iottwinmaker/src/operation/untag_resource/builders.rs +++ b/sdk/iottwinmaker/src/operation/untag_resource/builders.rs @@ -19,9 +19,9 @@ impl UntagResourceFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl UntagResourceFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::untag_resource::UntagResource, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                                              The ARN of the resource.

                                                                                              pub fn resource_arn(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.resource_arn(input.into()); diff --git a/sdk/iottwinmaker/src/operation/update_component_type/builders.rs b/sdk/iottwinmaker/src/operation/update_component_type/builders.rs index 054f1199a84f..f70735b12c05 100644 --- a/sdk/iottwinmaker/src/operation/update_component_type/builders.rs +++ b/sdk/iottwinmaker/src/operation/update_component_type/builders.rs @@ -19,9 +19,9 @@ impl UpdateComponentTypeFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl UpdateComponentTypeFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::update_component_type::UpdateComponentType, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::update_component_type::UpdateComponentTypeError, + >, + > { + self.customize_middleware().await + } ///

                                                                                              The ID of the workspace.

                                                                                              pub fn workspace_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.workspace_id(input.into()); diff --git a/sdk/iottwinmaker/src/operation/update_entity/builders.rs b/sdk/iottwinmaker/src/operation/update_entity/builders.rs index a6e7a6fe76ea..bb2955b8c1f1 100644 --- a/sdk/iottwinmaker/src/operation/update_entity/builders.rs +++ b/sdk/iottwinmaker/src/operation/update_entity/builders.rs @@ -19,9 +19,9 @@ impl UpdateEntityFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl UpdateEntityFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::update_entity::UpdateEntity, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                                              The ID of the workspace that contains the entity.

                                                                                              pub fn workspace_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.workspace_id(input.into()); diff --git a/sdk/iottwinmaker/src/operation/update_pricing_plan/builders.rs b/sdk/iottwinmaker/src/operation/update_pricing_plan/builders.rs index 3b31f2fbfa94..7c3633089220 100644 --- a/sdk/iottwinmaker/src/operation/update_pricing_plan/builders.rs +++ b/sdk/iottwinmaker/src/operation/update_pricing_plan/builders.rs @@ -19,9 +19,9 @@ impl UpdatePricingPlanFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl UpdatePricingPlanFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::update_pricing_plan::UpdatePricingPlan, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::update_pricing_plan::UpdatePricingPlanError, + >, + > { + self.customize_middleware().await + } ///

                                                                                              The pricing mode.

                                                                                              pub fn pricing_mode(mut self, input: crate::types::PricingMode) -> Self { self.inner = self.inner.pricing_mode(input); diff --git a/sdk/iottwinmaker/src/operation/update_scene/builders.rs b/sdk/iottwinmaker/src/operation/update_scene/builders.rs index 5684ab60a18d..e651efd4d1df 100644 --- a/sdk/iottwinmaker/src/operation/update_scene/builders.rs +++ b/sdk/iottwinmaker/src/operation/update_scene/builders.rs @@ -19,9 +19,9 @@ impl UpdateSceneFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl UpdateSceneFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::update_scene::UpdateScene, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                                              The ID of the workspace that contains the scene.

                                                                                              pub fn workspace_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.workspace_id(input.into()); diff --git a/sdk/iottwinmaker/src/operation/update_workspace/builders.rs b/sdk/iottwinmaker/src/operation/update_workspace/builders.rs index 5a28883dd8b8..157bcbefcb46 100644 --- a/sdk/iottwinmaker/src/operation/update_workspace/builders.rs +++ b/sdk/iottwinmaker/src/operation/update_workspace/builders.rs @@ -19,9 +19,9 @@ impl UpdateWorkspaceFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl UpdateWorkspaceFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::update_workspace::UpdateWorkspace, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::update_workspace::UpdateWorkspaceError, + >, + > { + self.customize_middleware().await + } ///

                                                                                              The ID of the workspace.

                                                                                              pub fn workspace_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.workspace_id(input.into()); diff --git a/sdk/iotwireless/src/operation/associate_aws_account_with_partner_account/builders.rs b/sdk/iotwireless/src/operation/associate_aws_account_with_partner_account/builders.rs index 5db5d49a5f37..484b456a236f 100644 --- a/sdk/iotwireless/src/operation/associate_aws_account_with_partner_account/builders.rs +++ b/sdk/iotwireless/src/operation/associate_aws_account_with_partner_account/builders.rs @@ -19,9 +19,9 @@ impl AssociateAwsAccountWithPartnerAccountFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize(self) -> ::std::result::Result< + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware(self) -> ::std::result::Result< crate::client::customize::CustomizableOperation, ::aws_smithy_http::result::SdkError >{ @@ -64,6 +64,15 @@ impl AssociateAwsAccountWithPartnerAccountFluentBuilder { { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize(self) -> ::std::result::Result< + crate::client::customize::CustomizableOperation, + ::aws_smithy_http::result::SdkError + >{ + self.customize_middleware().await + } ///

                                                                                              The Sidewalk account credentials.

                                                                                              pub fn sidewalk(mut self, input: crate::types::SidewalkAccountInfo) -> Self { self.inner = self.inner.sidewalk(input); diff --git a/sdk/iotwireless/src/operation/associate_multicast_group_with_fuota_task/builders.rs b/sdk/iotwireless/src/operation/associate_multicast_group_with_fuota_task/builders.rs index 18bf414d1af4..d0ec413b1191 100644 --- a/sdk/iotwireless/src/operation/associate_multicast_group_with_fuota_task/builders.rs +++ b/sdk/iotwireless/src/operation/associate_multicast_group_with_fuota_task/builders.rs @@ -19,9 +19,9 @@ impl AssociateMulticastGroupWithFuotaTaskFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize(self) -> ::std::result::Result< + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware(self) -> ::std::result::Result< crate::client::customize::CustomizableOperation, ::aws_smithy_http::result::SdkError >{ @@ -64,6 +64,15 @@ impl AssociateMulticastGroupWithFuotaTaskFluentBuilder { { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize(self) -> ::std::result::Result< + crate::client::customize::CustomizableOperation, + ::aws_smithy_http::result::SdkError + >{ + self.customize_middleware().await + } ///

                                                                                              The ID of a FUOTA task.

                                                                                              pub fn id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.id(input.into()); diff --git a/sdk/iotwireless/src/operation/associate_wireless_device_with_fuota_task/builders.rs b/sdk/iotwireless/src/operation/associate_wireless_device_with_fuota_task/builders.rs index 87bb7e98182d..3a83ac4e98e0 100644 --- a/sdk/iotwireless/src/operation/associate_wireless_device_with_fuota_task/builders.rs +++ b/sdk/iotwireless/src/operation/associate_wireless_device_with_fuota_task/builders.rs @@ -19,9 +19,9 @@ impl AssociateWirelessDeviceWithFuotaTaskFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize(self) -> ::std::result::Result< + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware(self) -> ::std::result::Result< crate::client::customize::CustomizableOperation, ::aws_smithy_http::result::SdkError >{ @@ -64,6 +64,15 @@ impl AssociateWirelessDeviceWithFuotaTaskFluentBuilder { { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize(self) -> ::std::result::Result< + crate::client::customize::CustomizableOperation, + ::aws_smithy_http::result::SdkError + >{ + self.customize_middleware().await + } ///

                                                                                              The ID of a FUOTA task.

                                                                                              pub fn id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.id(input.into()); diff --git a/sdk/iotwireless/src/operation/associate_wireless_device_with_multicast_group/builders.rs b/sdk/iotwireless/src/operation/associate_wireless_device_with_multicast_group/builders.rs index a4fce90fa1bc..88768a7fb73e 100644 --- a/sdk/iotwireless/src/operation/associate_wireless_device_with_multicast_group/builders.rs +++ b/sdk/iotwireless/src/operation/associate_wireless_device_with_multicast_group/builders.rs @@ -19,9 +19,9 @@ impl AssociateWirelessDeviceWithMulticastGroupFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize(self) -> ::std::result::Result< + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware(self) -> ::std::result::Result< crate::client::customize::CustomizableOperation, ::aws_smithy_http::result::SdkError >{ @@ -64,6 +64,15 @@ impl AssociateWirelessDeviceWithMulticastGroupFluentBuilder { { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize(self) -> ::std::result::Result< + crate::client::customize::CustomizableOperation, + ::aws_smithy_http::result::SdkError + >{ + self.customize_middleware().await + } ///

                                                                                              The ID of the multicast group.

                                                                                              pub fn id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.id(input.into()); diff --git a/sdk/iotwireless/src/operation/associate_wireless_device_with_thing/builders.rs b/sdk/iotwireless/src/operation/associate_wireless_device_with_thing/builders.rs index 60d83b76a34e..023ae86127c9 100644 --- a/sdk/iotwireless/src/operation/associate_wireless_device_with_thing/builders.rs +++ b/sdk/iotwireless/src/operation/associate_wireless_device_with_thing/builders.rs @@ -19,9 +19,9 @@ impl AssociateWirelessDeviceWithThingFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize(self) -> ::std::result::Result< + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware(self) -> ::std::result::Result< crate::client::customize::CustomizableOperation, ::aws_smithy_http::result::SdkError >{ @@ -64,6 +64,15 @@ impl AssociateWirelessDeviceWithThingFluentBuilder { { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize(self) -> ::std::result::Result< + crate::client::customize::CustomizableOperation, + ::aws_smithy_http::result::SdkError + >{ + self.customize_middleware().await + } ///

                                                                                              The ID of the resource to update.

                                                                                              pub fn id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.id(input.into()); diff --git a/sdk/iotwireless/src/operation/associate_wireless_gateway_with_certificate/builders.rs b/sdk/iotwireless/src/operation/associate_wireless_gateway_with_certificate/builders.rs index 4ef88b7f9416..54f34b343a81 100644 --- a/sdk/iotwireless/src/operation/associate_wireless_gateway_with_certificate/builders.rs +++ b/sdk/iotwireless/src/operation/associate_wireless_gateway_with_certificate/builders.rs @@ -19,9 +19,9 @@ impl AssociateWirelessGatewayWithCertificateFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize(self) -> ::std::result::Result< + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware(self) -> ::std::result::Result< crate::client::customize::CustomizableOperation, ::aws_smithy_http::result::SdkError >{ @@ -64,6 +64,15 @@ impl AssociateWirelessGatewayWithCertificateFluentBuilder { { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize(self) -> ::std::result::Result< + crate::client::customize::CustomizableOperation, + ::aws_smithy_http::result::SdkError + >{ + self.customize_middleware().await + } ///

                                                                                              The ID of the resource to update.

                                                                                              pub fn id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.id(input.into()); diff --git a/sdk/iotwireless/src/operation/associate_wireless_gateway_with_thing/builders.rs b/sdk/iotwireless/src/operation/associate_wireless_gateway_with_thing/builders.rs index 0983d4522b18..557df2ac5eaa 100644 --- a/sdk/iotwireless/src/operation/associate_wireless_gateway_with_thing/builders.rs +++ b/sdk/iotwireless/src/operation/associate_wireless_gateway_with_thing/builders.rs @@ -19,9 +19,9 @@ impl AssociateWirelessGatewayWithThingFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize(self) -> ::std::result::Result< + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware(self) -> ::std::result::Result< crate::client::customize::CustomizableOperation, ::aws_smithy_http::result::SdkError >{ @@ -64,6 +64,15 @@ impl AssociateWirelessGatewayWithThingFluentBuilder { { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize(self) -> ::std::result::Result< + crate::client::customize::CustomizableOperation, + ::aws_smithy_http::result::SdkError + >{ + self.customize_middleware().await + } ///

                                                                                              The ID of the resource to update.

                                                                                              pub fn id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.id(input.into()); diff --git a/sdk/iotwireless/src/operation/cancel_multicast_group_session/builders.rs b/sdk/iotwireless/src/operation/cancel_multicast_group_session/builders.rs index 9548aeb981b2..8a849c3c8d72 100644 --- a/sdk/iotwireless/src/operation/cancel_multicast_group_session/builders.rs +++ b/sdk/iotwireless/src/operation/cancel_multicast_group_session/builders.rs @@ -19,9 +19,9 @@ impl CancelMulticastGroupSessionFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl CancelMulticastGroupSessionFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::cancel_multicast_group_session::CancelMulticastGroupSession, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::cancel_multicast_group_session::CancelMulticastGroupSessionError, + >, + > { + self.customize_middleware().await + } ///

                                                                                              The ID of the multicast group.

                                                                                              pub fn id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.id(input.into()); diff --git a/sdk/iotwireless/src/operation/create_destination/builders.rs b/sdk/iotwireless/src/operation/create_destination/builders.rs index 25dd7035bc22..446d9495822a 100644 --- a/sdk/iotwireless/src/operation/create_destination/builders.rs +++ b/sdk/iotwireless/src/operation/create_destination/builders.rs @@ -19,9 +19,9 @@ impl CreateDestinationFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl CreateDestinationFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::create_destination::CreateDestination, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::create_destination::CreateDestinationError, + >, + > { + self.customize_middleware().await + } ///

                                                                                              The name of the new resource.

                                                                                              pub fn name(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.name(input.into()); diff --git a/sdk/iotwireless/src/operation/create_device_profile/builders.rs b/sdk/iotwireless/src/operation/create_device_profile/builders.rs index 07ff10c17a19..4be245987a5a 100644 --- a/sdk/iotwireless/src/operation/create_device_profile/builders.rs +++ b/sdk/iotwireless/src/operation/create_device_profile/builders.rs @@ -19,9 +19,9 @@ impl CreateDeviceProfileFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl CreateDeviceProfileFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::create_device_profile::CreateDeviceProfile, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::create_device_profile::CreateDeviceProfileError, + >, + > { + self.customize_middleware().await + } ///

                                                                                              The name of the new resource.

                                                                                              pub fn name(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.name(input.into()); diff --git a/sdk/iotwireless/src/operation/create_fuota_task/builders.rs b/sdk/iotwireless/src/operation/create_fuota_task/builders.rs index 62d8bd6d211e..c9996f288dbe 100644 --- a/sdk/iotwireless/src/operation/create_fuota_task/builders.rs +++ b/sdk/iotwireless/src/operation/create_fuota_task/builders.rs @@ -19,9 +19,9 @@ impl CreateFuotaTaskFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl CreateFuotaTaskFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::create_fuota_task::CreateFuotaTask, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::create_fuota_task::CreateFuotaTaskError, + >, + > { + self.customize_middleware().await + } ///

                                                                                              The name of a FUOTA task.

                                                                                              pub fn name(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.name(input.into()); diff --git a/sdk/iotwireless/src/operation/create_multicast_group/builders.rs b/sdk/iotwireless/src/operation/create_multicast_group/builders.rs index b56c214ea814..3a59b6b1417a 100644 --- a/sdk/iotwireless/src/operation/create_multicast_group/builders.rs +++ b/sdk/iotwireless/src/operation/create_multicast_group/builders.rs @@ -19,9 +19,9 @@ impl CreateMulticastGroupFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl CreateMulticastGroupFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::create_multicast_group::CreateMulticastGroup, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::create_multicast_group::CreateMulticastGroupError, + >, + > { + self.customize_middleware().await + } ///

                                                                                              The name of the multicast group.

                                                                                              pub fn name(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.name(input.into()); diff --git a/sdk/iotwireless/src/operation/create_network_analyzer_configuration/builders.rs b/sdk/iotwireless/src/operation/create_network_analyzer_configuration/builders.rs index 680305312647..380185a0f356 100644 --- a/sdk/iotwireless/src/operation/create_network_analyzer_configuration/builders.rs +++ b/sdk/iotwireless/src/operation/create_network_analyzer_configuration/builders.rs @@ -19,9 +19,9 @@ impl CreateNetworkAnalyzerConfigurationFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize(self) -> ::std::result::Result< + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware(self) -> ::std::result::Result< crate::client::customize::CustomizableOperation, ::aws_smithy_http::result::SdkError >{ @@ -64,6 +64,15 @@ impl CreateNetworkAnalyzerConfigurationFluentBuilder { { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize(self) -> ::std::result::Result< + crate::client::customize::CustomizableOperation, + ::aws_smithy_http::result::SdkError + >{ + self.customize_middleware().await + } ///

                                                                                              Name of the network analyzer configuration.

                                                                                              pub fn name(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.name(input.into()); diff --git a/sdk/iotwireless/src/operation/create_service_profile/builders.rs b/sdk/iotwireless/src/operation/create_service_profile/builders.rs index 28bd2a626cbc..0e286b8c9d6e 100644 --- a/sdk/iotwireless/src/operation/create_service_profile/builders.rs +++ b/sdk/iotwireless/src/operation/create_service_profile/builders.rs @@ -19,9 +19,9 @@ impl CreateServiceProfileFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl CreateServiceProfileFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::create_service_profile::CreateServiceProfile, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::create_service_profile::CreateServiceProfileError, + >, + > { + self.customize_middleware().await + } ///

                                                                                              The name of the new resource.

                                                                                              pub fn name(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.name(input.into()); diff --git a/sdk/iotwireless/src/operation/create_wireless_device/builders.rs b/sdk/iotwireless/src/operation/create_wireless_device/builders.rs index 539a4d06c86a..cb01cf0db20a 100644 --- a/sdk/iotwireless/src/operation/create_wireless_device/builders.rs +++ b/sdk/iotwireless/src/operation/create_wireless_device/builders.rs @@ -19,9 +19,9 @@ impl CreateWirelessDeviceFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl CreateWirelessDeviceFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::create_wireless_device::CreateWirelessDevice, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::create_wireless_device::CreateWirelessDeviceError, + >, + > { + self.customize_middleware().await + } ///

                                                                                              The wireless device type.

                                                                                              pub fn r#type(mut self, input: crate::types::WirelessDeviceType) -> Self { self.inner = self.inner.r#type(input); diff --git a/sdk/iotwireless/src/operation/create_wireless_gateway/builders.rs b/sdk/iotwireless/src/operation/create_wireless_gateway/builders.rs index 194549cb3e14..990fae7218e5 100644 --- a/sdk/iotwireless/src/operation/create_wireless_gateway/builders.rs +++ b/sdk/iotwireless/src/operation/create_wireless_gateway/builders.rs @@ -19,9 +19,9 @@ impl CreateWirelessGatewayFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl CreateWirelessGatewayFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::create_wireless_gateway::CreateWirelessGateway, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::create_wireless_gateway::CreateWirelessGatewayError, + >, + > { + self.customize_middleware().await + } ///

                                                                                              The name of the new resource.

                                                                                              pub fn name(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.name(input.into()); diff --git a/sdk/iotwireless/src/operation/create_wireless_gateway_task/builders.rs b/sdk/iotwireless/src/operation/create_wireless_gateway_task/builders.rs index 9d84d0b3fb14..8bf43d85a24f 100644 --- a/sdk/iotwireless/src/operation/create_wireless_gateway_task/builders.rs +++ b/sdk/iotwireless/src/operation/create_wireless_gateway_task/builders.rs @@ -19,9 +19,9 @@ impl CreateWirelessGatewayTaskFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl CreateWirelessGatewayTaskFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::create_wireless_gateway_task::CreateWirelessGatewayTask, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::create_wireless_gateway_task::CreateWirelessGatewayTaskError, + >, + > { + self.customize_middleware().await + } ///

                                                                                              The ID of the resource to update.

                                                                                              pub fn id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.id(input.into()); diff --git a/sdk/iotwireless/src/operation/create_wireless_gateway_task_definition/builders.rs b/sdk/iotwireless/src/operation/create_wireless_gateway_task_definition/builders.rs index d90360ec2252..42bb4b00c0f4 100644 --- a/sdk/iotwireless/src/operation/create_wireless_gateway_task_definition/builders.rs +++ b/sdk/iotwireless/src/operation/create_wireless_gateway_task_definition/builders.rs @@ -19,9 +19,9 @@ impl CreateWirelessGatewayTaskDefinitionFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize(self) -> ::std::result::Result< + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware(self) -> ::std::result::Result< crate::client::customize::CustomizableOperation, ::aws_smithy_http::result::SdkError >{ @@ -64,6 +64,15 @@ impl CreateWirelessGatewayTaskDefinitionFluentBuilder { { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize(self) -> ::std::result::Result< + crate::client::customize::CustomizableOperation, + ::aws_smithy_http::result::SdkError + >{ + self.customize_middleware().await + } ///

                                                                                              Whether to automatically create tasks using this task definition for all gateways with the specified current version. If false, the task must me created by calling CreateWirelessGatewayTask.

                                                                                              pub fn auto_create_tasks(mut self, input: bool) -> Self { self.inner = self.inner.auto_create_tasks(input); diff --git a/sdk/iotwireless/src/operation/delete_destination/builders.rs b/sdk/iotwireless/src/operation/delete_destination/builders.rs index fba1d619d8ac..9f6705071c3c 100644 --- a/sdk/iotwireless/src/operation/delete_destination/builders.rs +++ b/sdk/iotwireless/src/operation/delete_destination/builders.rs @@ -19,9 +19,9 @@ impl DeleteDestinationFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl DeleteDestinationFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::delete_destination::DeleteDestination, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::delete_destination::DeleteDestinationError, + >, + > { + self.customize_middleware().await + } ///

                                                                                              The name of the resource to delete.

                                                                                              pub fn name(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.name(input.into()); diff --git a/sdk/iotwireless/src/operation/delete_device_profile/builders.rs b/sdk/iotwireless/src/operation/delete_device_profile/builders.rs index 4dd8c6e4e22c..8f7dbed5100e 100644 --- a/sdk/iotwireless/src/operation/delete_device_profile/builders.rs +++ b/sdk/iotwireless/src/operation/delete_device_profile/builders.rs @@ -19,9 +19,9 @@ impl DeleteDeviceProfileFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl DeleteDeviceProfileFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::delete_device_profile::DeleteDeviceProfile, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::delete_device_profile::DeleteDeviceProfileError, + >, + > { + self.customize_middleware().await + } ///

                                                                                              The ID of the resource to delete.

                                                                                              pub fn id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.id(input.into()); diff --git a/sdk/iotwireless/src/operation/delete_fuota_task/builders.rs b/sdk/iotwireless/src/operation/delete_fuota_task/builders.rs index dc793d96477c..7a6b6d23cb84 100644 --- a/sdk/iotwireless/src/operation/delete_fuota_task/builders.rs +++ b/sdk/iotwireless/src/operation/delete_fuota_task/builders.rs @@ -19,9 +19,9 @@ impl DeleteFuotaTaskFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl DeleteFuotaTaskFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::delete_fuota_task::DeleteFuotaTask, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::delete_fuota_task::DeleteFuotaTaskError, + >, + > { + self.customize_middleware().await + } ///

                                                                                              The ID of a FUOTA task.

                                                                                              pub fn id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.id(input.into()); diff --git a/sdk/iotwireless/src/operation/delete_multicast_group/builders.rs b/sdk/iotwireless/src/operation/delete_multicast_group/builders.rs index 30fb0130c37f..5174be5781e3 100644 --- a/sdk/iotwireless/src/operation/delete_multicast_group/builders.rs +++ b/sdk/iotwireless/src/operation/delete_multicast_group/builders.rs @@ -19,9 +19,9 @@ impl DeleteMulticastGroupFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl DeleteMulticastGroupFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::delete_multicast_group::DeleteMulticastGroup, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::delete_multicast_group::DeleteMulticastGroupError, + >, + > { + self.customize_middleware().await + } ///

                                                                                              The ID of the multicast group.

                                                                                              pub fn id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.id(input.into()); diff --git a/sdk/iotwireless/src/operation/delete_network_analyzer_configuration/builders.rs b/sdk/iotwireless/src/operation/delete_network_analyzer_configuration/builders.rs index 5c5a268f9d36..3d8cd8925a85 100644 --- a/sdk/iotwireless/src/operation/delete_network_analyzer_configuration/builders.rs +++ b/sdk/iotwireless/src/operation/delete_network_analyzer_configuration/builders.rs @@ -19,9 +19,9 @@ impl DeleteNetworkAnalyzerConfigurationFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize(self) -> ::std::result::Result< + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware(self) -> ::std::result::Result< crate::client::customize::CustomizableOperation, ::aws_smithy_http::result::SdkError >{ @@ -64,6 +64,15 @@ impl DeleteNetworkAnalyzerConfigurationFluentBuilder { { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize(self) -> ::std::result::Result< + crate::client::customize::CustomizableOperation, + ::aws_smithy_http::result::SdkError + >{ + self.customize_middleware().await + } ///

                                                                                              Name of the network analyzer configuration.

                                                                                              pub fn configuration_name( mut self, diff --git a/sdk/iotwireless/src/operation/delete_queued_messages/builders.rs b/sdk/iotwireless/src/operation/delete_queued_messages/builders.rs index 5d0611e48d2f..60c55dbea5f5 100644 --- a/sdk/iotwireless/src/operation/delete_queued_messages/builders.rs +++ b/sdk/iotwireless/src/operation/delete_queued_messages/builders.rs @@ -19,9 +19,9 @@ impl DeleteQueuedMessagesFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl DeleteQueuedMessagesFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::delete_queued_messages::DeleteQueuedMessages, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::delete_queued_messages::DeleteQueuedMessagesError, + >, + > { + self.customize_middleware().await + } ///

                                                                                              The ID of a given wireless device for which downlink messages will be deleted.

                                                                                              pub fn id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.id(input.into()); diff --git a/sdk/iotwireless/src/operation/delete_service_profile/builders.rs b/sdk/iotwireless/src/operation/delete_service_profile/builders.rs index d7f9785737f0..63413b0d7830 100644 --- a/sdk/iotwireless/src/operation/delete_service_profile/builders.rs +++ b/sdk/iotwireless/src/operation/delete_service_profile/builders.rs @@ -19,9 +19,9 @@ impl DeleteServiceProfileFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl DeleteServiceProfileFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::delete_service_profile::DeleteServiceProfile, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::delete_service_profile::DeleteServiceProfileError, + >, + > { + self.customize_middleware().await + } ///

                                                                                              The ID of the resource to delete.

                                                                                              pub fn id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.id(input.into()); diff --git a/sdk/iotwireless/src/operation/delete_wireless_device/builders.rs b/sdk/iotwireless/src/operation/delete_wireless_device/builders.rs index 985fd14aa384..84b8ad550cae 100644 --- a/sdk/iotwireless/src/operation/delete_wireless_device/builders.rs +++ b/sdk/iotwireless/src/operation/delete_wireless_device/builders.rs @@ -19,9 +19,9 @@ impl DeleteWirelessDeviceFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl DeleteWirelessDeviceFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::delete_wireless_device::DeleteWirelessDevice, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::delete_wireless_device::DeleteWirelessDeviceError, + >, + > { + self.customize_middleware().await + } ///

                                                                                              The ID of the resource to delete.

                                                                                              pub fn id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.id(input.into()); diff --git a/sdk/iotwireless/src/operation/delete_wireless_device_import_task/builders.rs b/sdk/iotwireless/src/operation/delete_wireless_device_import_task/builders.rs index 15bbdfb83fe1..e815174bb99a 100644 --- a/sdk/iotwireless/src/operation/delete_wireless_device_import_task/builders.rs +++ b/sdk/iotwireless/src/operation/delete_wireless_device_import_task/builders.rs @@ -19,9 +19,9 @@ impl DeleteWirelessDeviceImportTaskFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize(self) -> ::std::result::Result< + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware(self) -> ::std::result::Result< crate::client::customize::CustomizableOperation, ::aws_smithy_http::result::SdkError >{ @@ -64,6 +64,15 @@ impl DeleteWirelessDeviceImportTaskFluentBuilder { { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize(self) -> ::std::result::Result< + crate::client::customize::CustomizableOperation, + ::aws_smithy_http::result::SdkError + >{ + self.customize_middleware().await + } ///

                                                                                              The unique identifier of the import task to be deleted.

                                                                                              pub fn id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.id(input.into()); diff --git a/sdk/iotwireless/src/operation/delete_wireless_gateway/builders.rs b/sdk/iotwireless/src/operation/delete_wireless_gateway/builders.rs index 1c7dc053f51e..1c91b25e4b6d 100644 --- a/sdk/iotwireless/src/operation/delete_wireless_gateway/builders.rs +++ b/sdk/iotwireless/src/operation/delete_wireless_gateway/builders.rs @@ -19,9 +19,9 @@ impl DeleteWirelessGatewayFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl DeleteWirelessGatewayFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::delete_wireless_gateway::DeleteWirelessGateway, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::delete_wireless_gateway::DeleteWirelessGatewayError, + >, + > { + self.customize_middleware().await + } ///

                                                                                              The ID of the resource to delete.

                                                                                              pub fn id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.id(input.into()); diff --git a/sdk/iotwireless/src/operation/delete_wireless_gateway_task/builders.rs b/sdk/iotwireless/src/operation/delete_wireless_gateway_task/builders.rs index 6c208904cf2a..457503a31d6c 100644 --- a/sdk/iotwireless/src/operation/delete_wireless_gateway_task/builders.rs +++ b/sdk/iotwireless/src/operation/delete_wireless_gateway_task/builders.rs @@ -19,9 +19,9 @@ impl DeleteWirelessGatewayTaskFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl DeleteWirelessGatewayTaskFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::delete_wireless_gateway_task::DeleteWirelessGatewayTask, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::delete_wireless_gateway_task::DeleteWirelessGatewayTaskError, + >, + > { + self.customize_middleware().await + } ///

                                                                                              The ID of the resource to delete.

                                                                                              pub fn id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.id(input.into()); diff --git a/sdk/iotwireless/src/operation/delete_wireless_gateway_task_definition/builders.rs b/sdk/iotwireless/src/operation/delete_wireless_gateway_task_definition/builders.rs index 5b532d18f437..314729c7e9fc 100644 --- a/sdk/iotwireless/src/operation/delete_wireless_gateway_task_definition/builders.rs +++ b/sdk/iotwireless/src/operation/delete_wireless_gateway_task_definition/builders.rs @@ -19,9 +19,9 @@ impl DeleteWirelessGatewayTaskDefinitionFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize(self) -> ::std::result::Result< + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware(self) -> ::std::result::Result< crate::client::customize::CustomizableOperation, ::aws_smithy_http::result::SdkError >{ @@ -64,6 +64,15 @@ impl DeleteWirelessGatewayTaskDefinitionFluentBuilder { { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize(self) -> ::std::result::Result< + crate::client::customize::CustomizableOperation, + ::aws_smithy_http::result::SdkError + >{ + self.customize_middleware().await + } ///

                                                                                              The ID of the resource to delete.

                                                                                              pub fn id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.id(input.into()); diff --git a/sdk/iotwireless/src/operation/deregister_wireless_device/builders.rs b/sdk/iotwireless/src/operation/deregister_wireless_device/builders.rs index 362193148616..a0f7d4ae130d 100644 --- a/sdk/iotwireless/src/operation/deregister_wireless_device/builders.rs +++ b/sdk/iotwireless/src/operation/deregister_wireless_device/builders.rs @@ -19,9 +19,9 @@ impl DeregisterWirelessDeviceFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl DeregisterWirelessDeviceFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::deregister_wireless_device::DeregisterWirelessDevice, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::deregister_wireless_device::DeregisterWirelessDeviceError, + >, + > { + self.customize_middleware().await + } ///

                                                                                              The identifier of the wireless device to deregister from AWS IoT Wireless.

                                                                                              pub fn identifier(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.identifier(input.into()); diff --git a/sdk/iotwireless/src/operation/disassociate_aws_account_from_partner_account/builders.rs b/sdk/iotwireless/src/operation/disassociate_aws_account_from_partner_account/builders.rs index 289f372fb315..ce784f1217a4 100644 --- a/sdk/iotwireless/src/operation/disassociate_aws_account_from_partner_account/builders.rs +++ b/sdk/iotwireless/src/operation/disassociate_aws_account_from_partner_account/builders.rs @@ -19,9 +19,9 @@ impl DisassociateAwsAccountFromPartnerAccountFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize(self) -> ::std::result::Result< + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware(self) -> ::std::result::Result< crate::client::customize::CustomizableOperation, ::aws_smithy_http::result::SdkError >{ @@ -64,6 +64,15 @@ impl DisassociateAwsAccountFromPartnerAccountFluentBuilder { { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize(self) -> ::std::result::Result< + crate::client::customize::CustomizableOperation, + ::aws_smithy_http::result::SdkError + >{ + self.customize_middleware().await + } ///

                                                                                              The partner account ID to disassociate from the AWS account.

                                                                                              pub fn partner_account_id( mut self, diff --git a/sdk/iotwireless/src/operation/disassociate_multicast_group_from_fuota_task/builders.rs b/sdk/iotwireless/src/operation/disassociate_multicast_group_from_fuota_task/builders.rs index 2fd968f99e69..70f91497cf6b 100644 --- a/sdk/iotwireless/src/operation/disassociate_multicast_group_from_fuota_task/builders.rs +++ b/sdk/iotwireless/src/operation/disassociate_multicast_group_from_fuota_task/builders.rs @@ -19,9 +19,9 @@ impl DisassociateMulticastGroupFromFuotaTaskFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize(self) -> ::std::result::Result< + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware(self) -> ::std::result::Result< crate::client::customize::CustomizableOperation, ::aws_smithy_http::result::SdkError >{ @@ -64,6 +64,15 @@ impl DisassociateMulticastGroupFromFuotaTaskFluentBuilder { { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize(self) -> ::std::result::Result< + crate::client::customize::CustomizableOperation, + ::aws_smithy_http::result::SdkError + >{ + self.customize_middleware().await + } ///

                                                                                              The ID of a FUOTA task.

                                                                                              pub fn id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.id(input.into()); diff --git a/sdk/iotwireless/src/operation/disassociate_wireless_device_from_fuota_task/builders.rs b/sdk/iotwireless/src/operation/disassociate_wireless_device_from_fuota_task/builders.rs index 2f1ccfa21b48..79d36f0d5c4f 100644 --- a/sdk/iotwireless/src/operation/disassociate_wireless_device_from_fuota_task/builders.rs +++ b/sdk/iotwireless/src/operation/disassociate_wireless_device_from_fuota_task/builders.rs @@ -19,9 +19,9 @@ impl DisassociateWirelessDeviceFromFuotaTaskFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize(self) -> ::std::result::Result< + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware(self) -> ::std::result::Result< crate::client::customize::CustomizableOperation, ::aws_smithy_http::result::SdkError >{ @@ -64,6 +64,15 @@ impl DisassociateWirelessDeviceFromFuotaTaskFluentBuilder { { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize(self) -> ::std::result::Result< + crate::client::customize::CustomizableOperation, + ::aws_smithy_http::result::SdkError + >{ + self.customize_middleware().await + } ///

                                                                                              The ID of a FUOTA task.

                                                                                              pub fn id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.id(input.into()); diff --git a/sdk/iotwireless/src/operation/disassociate_wireless_device_from_multicast_group/builders.rs b/sdk/iotwireless/src/operation/disassociate_wireless_device_from_multicast_group/builders.rs index bea50b4efe68..551fe526ab21 100644 --- a/sdk/iotwireless/src/operation/disassociate_wireless_device_from_multicast_group/builders.rs +++ b/sdk/iotwireless/src/operation/disassociate_wireless_device_from_multicast_group/builders.rs @@ -19,9 +19,9 @@ impl DisassociateWirelessDeviceFromMulticastGroupFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize(self) -> ::std::result::Result< + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware(self) -> ::std::result::Result< crate::client::customize::CustomizableOperation, ::aws_smithy_http::result::SdkError >{ @@ -64,6 +64,15 @@ impl DisassociateWirelessDeviceFromMulticastGroupFluentBuilder { { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize(self) -> ::std::result::Result< + crate::client::customize::CustomizableOperation, + ::aws_smithy_http::result::SdkError + >{ + self.customize_middleware().await + } ///

                                                                                              The ID of the multicast group.

                                                                                              pub fn id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.id(input.into()); diff --git a/sdk/iotwireless/src/operation/disassociate_wireless_device_from_thing/builders.rs b/sdk/iotwireless/src/operation/disassociate_wireless_device_from_thing/builders.rs index b4dcc9afe23f..31e5a309f593 100644 --- a/sdk/iotwireless/src/operation/disassociate_wireless_device_from_thing/builders.rs +++ b/sdk/iotwireless/src/operation/disassociate_wireless_device_from_thing/builders.rs @@ -19,9 +19,9 @@ impl DisassociateWirelessDeviceFromThingFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize(self) -> ::std::result::Result< + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware(self) -> ::std::result::Result< crate::client::customize::CustomizableOperation, ::aws_smithy_http::result::SdkError >{ @@ -64,6 +64,15 @@ impl DisassociateWirelessDeviceFromThingFluentBuilder { { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize(self) -> ::std::result::Result< + crate::client::customize::CustomizableOperation, + ::aws_smithy_http::result::SdkError + >{ + self.customize_middleware().await + } ///

                                                                                              The ID of the resource to update.

                                                                                              pub fn id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.id(input.into()); diff --git a/sdk/iotwireless/src/operation/disassociate_wireless_gateway_from_certificate/builders.rs b/sdk/iotwireless/src/operation/disassociate_wireless_gateway_from_certificate/builders.rs index e226b2de2668..e526bd7cb89b 100644 --- a/sdk/iotwireless/src/operation/disassociate_wireless_gateway_from_certificate/builders.rs +++ b/sdk/iotwireless/src/operation/disassociate_wireless_gateway_from_certificate/builders.rs @@ -19,9 +19,9 @@ impl DisassociateWirelessGatewayFromCertificateFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize(self) -> ::std::result::Result< + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware(self) -> ::std::result::Result< crate::client::customize::CustomizableOperation, ::aws_smithy_http::result::SdkError >{ @@ -64,6 +64,15 @@ impl DisassociateWirelessGatewayFromCertificateFluentBuilder { { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize(self) -> ::std::result::Result< + crate::client::customize::CustomizableOperation, + ::aws_smithy_http::result::SdkError + >{ + self.customize_middleware().await + } ///

                                                                                              The ID of the resource to update.

                                                                                              pub fn id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.id(input.into()); diff --git a/sdk/iotwireless/src/operation/disassociate_wireless_gateway_from_thing/builders.rs b/sdk/iotwireless/src/operation/disassociate_wireless_gateway_from_thing/builders.rs index 06d18d9c19df..945132a80297 100644 --- a/sdk/iotwireless/src/operation/disassociate_wireless_gateway_from_thing/builders.rs +++ b/sdk/iotwireless/src/operation/disassociate_wireless_gateway_from_thing/builders.rs @@ -19,9 +19,9 @@ impl DisassociateWirelessGatewayFromThingFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize(self) -> ::std::result::Result< + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware(self) -> ::std::result::Result< crate::client::customize::CustomizableOperation, ::aws_smithy_http::result::SdkError >{ @@ -64,6 +64,15 @@ impl DisassociateWirelessGatewayFromThingFluentBuilder { { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize(self) -> ::std::result::Result< + crate::client::customize::CustomizableOperation, + ::aws_smithy_http::result::SdkError + >{ + self.customize_middleware().await + } ///

                                                                                              The ID of the resource to update.

                                                                                              pub fn id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.id(input.into()); diff --git a/sdk/iotwireless/src/operation/get_destination/builders.rs b/sdk/iotwireless/src/operation/get_destination/builders.rs index 9d5b7d63ff81..3785cac1561a 100644 --- a/sdk/iotwireless/src/operation/get_destination/builders.rs +++ b/sdk/iotwireless/src/operation/get_destination/builders.rs @@ -19,9 +19,9 @@ impl GetDestinationFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl GetDestinationFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::get_destination::GetDestination, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                                              The name of the resource to get.

                                                                                              pub fn name(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.name(input.into()); diff --git a/sdk/iotwireless/src/operation/get_device_profile/builders.rs b/sdk/iotwireless/src/operation/get_device_profile/builders.rs index 3515fb56279f..511777fb7f21 100644 --- a/sdk/iotwireless/src/operation/get_device_profile/builders.rs +++ b/sdk/iotwireless/src/operation/get_device_profile/builders.rs @@ -19,9 +19,9 @@ impl GetDeviceProfileFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl GetDeviceProfileFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::get_device_profile::GetDeviceProfile, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::get_device_profile::GetDeviceProfileError, + >, + > { + self.customize_middleware().await + } ///

                                                                                              The ID of the resource to get.

                                                                                              pub fn id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.id(input.into()); diff --git a/sdk/iotwireless/src/operation/get_event_configuration_by_resource_types/builders.rs b/sdk/iotwireless/src/operation/get_event_configuration_by_resource_types/builders.rs index e6a82c7bc524..b68c65c583e3 100644 --- a/sdk/iotwireless/src/operation/get_event_configuration_by_resource_types/builders.rs +++ b/sdk/iotwireless/src/operation/get_event_configuration_by_resource_types/builders.rs @@ -19,9 +19,9 @@ impl GetEventConfigurationByResourceTypesFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize(self) -> ::std::result::Result< + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware(self) -> ::std::result::Result< crate::client::customize::CustomizableOperation, ::aws_smithy_http::result::SdkError >{ @@ -64,4 +64,13 @@ impl GetEventConfigurationByResourceTypesFluentBuilder { { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize(self) -> ::std::result::Result< + crate::client::customize::CustomizableOperation, + ::aws_smithy_http::result::SdkError + >{ + self.customize_middleware().await + } } diff --git a/sdk/iotwireless/src/operation/get_fuota_task/builders.rs b/sdk/iotwireless/src/operation/get_fuota_task/builders.rs index a17fb2f0728a..b3833115ec35 100644 --- a/sdk/iotwireless/src/operation/get_fuota_task/builders.rs +++ b/sdk/iotwireless/src/operation/get_fuota_task/builders.rs @@ -19,9 +19,9 @@ impl GetFuotaTaskFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl GetFuotaTaskFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::get_fuota_task::GetFuotaTask, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                                              The ID of a FUOTA task.

                                                                                              pub fn id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.id(input.into()); diff --git a/sdk/iotwireless/src/operation/get_log_levels_by_resource_types/builders.rs b/sdk/iotwireless/src/operation/get_log_levels_by_resource_types/builders.rs index f5e119fa58b1..ffb4dd75f394 100644 --- a/sdk/iotwireless/src/operation/get_log_levels_by_resource_types/builders.rs +++ b/sdk/iotwireless/src/operation/get_log_levels_by_resource_types/builders.rs @@ -19,9 +19,9 @@ impl GetLogLevelsByResourceTypesFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,4 +83,20 @@ impl GetLogLevelsByResourceTypesFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::get_log_levels_by_resource_types::GetLogLevelsByResourceTypes, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::get_log_levels_by_resource_types::GetLogLevelsByResourceTypesError, + >, + > { + self.customize_middleware().await + } } diff --git a/sdk/iotwireless/src/operation/get_multicast_group/builders.rs b/sdk/iotwireless/src/operation/get_multicast_group/builders.rs index b84aa7762a67..94667b60e54b 100644 --- a/sdk/iotwireless/src/operation/get_multicast_group/builders.rs +++ b/sdk/iotwireless/src/operation/get_multicast_group/builders.rs @@ -19,9 +19,9 @@ impl GetMulticastGroupFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl GetMulticastGroupFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::get_multicast_group::GetMulticastGroup, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::get_multicast_group::GetMulticastGroupError, + >, + > { + self.customize_middleware().await + } ///

                                                                                              The ID of the multicast group.

                                                                                              pub fn id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.id(input.into()); diff --git a/sdk/iotwireless/src/operation/get_multicast_group_session/builders.rs b/sdk/iotwireless/src/operation/get_multicast_group_session/builders.rs index 37cbe748a457..dc713368523e 100644 --- a/sdk/iotwireless/src/operation/get_multicast_group_session/builders.rs +++ b/sdk/iotwireless/src/operation/get_multicast_group_session/builders.rs @@ -19,9 +19,9 @@ impl GetMulticastGroupSessionFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl GetMulticastGroupSessionFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::get_multicast_group_session::GetMulticastGroupSession, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::get_multicast_group_session::GetMulticastGroupSessionError, + >, + > { + self.customize_middleware().await + } ///

                                                                                              The ID of the multicast group.

                                                                                              pub fn id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.id(input.into()); diff --git a/sdk/iotwireless/src/operation/get_network_analyzer_configuration/builders.rs b/sdk/iotwireless/src/operation/get_network_analyzer_configuration/builders.rs index 4cfcff719776..48fdfce57b99 100644 --- a/sdk/iotwireless/src/operation/get_network_analyzer_configuration/builders.rs +++ b/sdk/iotwireless/src/operation/get_network_analyzer_configuration/builders.rs @@ -19,9 +19,9 @@ impl GetNetworkAnalyzerConfigurationFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize(self) -> ::std::result::Result< + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware(self) -> ::std::result::Result< crate::client::customize::CustomizableOperation, ::aws_smithy_http::result::SdkError >{ @@ -64,6 +64,15 @@ impl GetNetworkAnalyzerConfigurationFluentBuilder { { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize(self) -> ::std::result::Result< + crate::client::customize::CustomizableOperation, + ::aws_smithy_http::result::SdkError + >{ + self.customize_middleware().await + } ///

                                                                                              Name of the network analyzer configuration.

                                                                                              pub fn configuration_name( mut self, diff --git a/sdk/iotwireless/src/operation/get_partner_account/builders.rs b/sdk/iotwireless/src/operation/get_partner_account/builders.rs index 46e56ad5293d..474dc8cd15d9 100644 --- a/sdk/iotwireless/src/operation/get_partner_account/builders.rs +++ b/sdk/iotwireless/src/operation/get_partner_account/builders.rs @@ -19,9 +19,9 @@ impl GetPartnerAccountFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl GetPartnerAccountFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::get_partner_account::GetPartnerAccount, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::get_partner_account::GetPartnerAccountError, + >, + > { + self.customize_middleware().await + } ///

                                                                                              The partner account ID to disassociate from the AWS account.

                                                                                              pub fn partner_account_id( mut self, diff --git a/sdk/iotwireless/src/operation/get_position/builders.rs b/sdk/iotwireless/src/operation/get_position/builders.rs index 8f86bb48d37d..2d6e0522ca6f 100644 --- a/sdk/iotwireless/src/operation/get_position/builders.rs +++ b/sdk/iotwireless/src/operation/get_position/builders.rs @@ -22,9 +22,9 @@ impl GetPositionFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -80,6 +80,20 @@ impl GetPositionFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::get_position::GetPosition, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                                              Resource identifier used to retrieve the position information.

                                                                                              pub fn resource_identifier( mut self, diff --git a/sdk/iotwireless/src/operation/get_position_configuration/builders.rs b/sdk/iotwireless/src/operation/get_position_configuration/builders.rs index 655890bf1a72..10a95fc5c496 100644 --- a/sdk/iotwireless/src/operation/get_position_configuration/builders.rs +++ b/sdk/iotwireless/src/operation/get_position_configuration/builders.rs @@ -22,9 +22,9 @@ impl GetPositionConfigurationFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -86,6 +86,22 @@ impl GetPositionConfigurationFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::get_position_configuration::GetPositionConfiguration, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::get_position_configuration::GetPositionConfigurationError, + >, + > { + self.customize_middleware().await + } ///

                                                                                              Resource identifier used in a position configuration.

                                                                                              pub fn resource_identifier( mut self, diff --git a/sdk/iotwireless/src/operation/get_position_estimate/builders.rs b/sdk/iotwireless/src/operation/get_position_estimate/builders.rs index 6bd8aa239866..f6ed8a6d0e65 100644 --- a/sdk/iotwireless/src/operation/get_position_estimate/builders.rs +++ b/sdk/iotwireless/src/operation/get_position_estimate/builders.rs @@ -19,9 +19,9 @@ impl GetPositionEstimateFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl GetPositionEstimateFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::get_position_estimate::GetPositionEstimate, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::get_position_estimate::GetPositionEstimateError, + >, + > { + self.customize_middleware().await + } /// Appends an item to `WiFiAccessPoints`. /// /// To override the contents of this collection use [`set_wi_fi_access_points`](Self::set_wi_fi_access_points). diff --git a/sdk/iotwireless/src/operation/get_resource_event_configuration/builders.rs b/sdk/iotwireless/src/operation/get_resource_event_configuration/builders.rs index 9e7f3cfb21d0..07bd65659601 100644 --- a/sdk/iotwireless/src/operation/get_resource_event_configuration/builders.rs +++ b/sdk/iotwireless/src/operation/get_resource_event_configuration/builders.rs @@ -19,9 +19,9 @@ impl GetResourceEventConfigurationFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl GetResourceEventConfigurationFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::get_resource_event_configuration::GetResourceEventConfiguration, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::get_resource_event_configuration::GetResourceEventConfigurationError, + >, + > { + self.customize_middleware().await + } ///

                                                                                              Resource identifier to opt in for event messaging.

                                                                                              pub fn identifier(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.identifier(input.into()); diff --git a/sdk/iotwireless/src/operation/get_resource_log_level/builders.rs b/sdk/iotwireless/src/operation/get_resource_log_level/builders.rs index 62b16556a077..b7e4dfda294c 100644 --- a/sdk/iotwireless/src/operation/get_resource_log_level/builders.rs +++ b/sdk/iotwireless/src/operation/get_resource_log_level/builders.rs @@ -19,9 +19,9 @@ impl GetResourceLogLevelFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl GetResourceLogLevelFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::get_resource_log_level::GetResourceLogLevel, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::get_resource_log_level::GetResourceLogLevelError, + >, + > { + self.customize_middleware().await + } ///

                                                                                              The identifier of the resource. For a Wireless Device, it is the wireless device ID. For a wireless gateway, it is the wireless gateway ID.

                                                                                              pub fn resource_identifier( mut self, diff --git a/sdk/iotwireless/src/operation/get_resource_position/builders.rs b/sdk/iotwireless/src/operation/get_resource_position/builders.rs index 8f9c5aff306c..a28901241ac8 100644 --- a/sdk/iotwireless/src/operation/get_resource_position/builders.rs +++ b/sdk/iotwireless/src/operation/get_resource_position/builders.rs @@ -19,9 +19,9 @@ impl GetResourcePositionFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl GetResourcePositionFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::get_resource_position::GetResourcePosition, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::get_resource_position::GetResourcePositionError, + >, + > { + self.customize_middleware().await + } ///

                                                                                              The identifier of the resource for which position information is retrieved. It can be the wireless device ID or the wireless gateway ID, depending on the resource type.

                                                                                              pub fn resource_identifier( mut self, diff --git a/sdk/iotwireless/src/operation/get_service_endpoint/builders.rs b/sdk/iotwireless/src/operation/get_service_endpoint/builders.rs index 9fe72f3eeb77..172e046b3aed 100644 --- a/sdk/iotwireless/src/operation/get_service_endpoint/builders.rs +++ b/sdk/iotwireless/src/operation/get_service_endpoint/builders.rs @@ -19,9 +19,9 @@ impl GetServiceEndpointFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl GetServiceEndpointFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::get_service_endpoint::GetServiceEndpoint, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::get_service_endpoint::GetServiceEndpointError, + >, + > { + self.customize_middleware().await + } ///

                                                                                              The service type for which to get endpoint information about. Can be CUPS for the Configuration and Update Server endpoint, or LNS for the LoRaWAN Network Server endpoint or CLAIM for the global endpoint.

                                                                                              pub fn service_type(mut self, input: crate::types::WirelessGatewayServiceType) -> Self { self.inner = self.inner.service_type(input); diff --git a/sdk/iotwireless/src/operation/get_service_profile/builders.rs b/sdk/iotwireless/src/operation/get_service_profile/builders.rs index 555811438e17..666b5d3f6bf3 100644 --- a/sdk/iotwireless/src/operation/get_service_profile/builders.rs +++ b/sdk/iotwireless/src/operation/get_service_profile/builders.rs @@ -19,9 +19,9 @@ impl GetServiceProfileFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl GetServiceProfileFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::get_service_profile::GetServiceProfile, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::get_service_profile::GetServiceProfileError, + >, + > { + self.customize_middleware().await + } ///

                                                                                              The ID of the resource to get.

                                                                                              pub fn id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.id(input.into()); diff --git a/sdk/iotwireless/src/operation/get_wireless_device/builders.rs b/sdk/iotwireless/src/operation/get_wireless_device/builders.rs index 45880d23928f..9053f7dad253 100644 --- a/sdk/iotwireless/src/operation/get_wireless_device/builders.rs +++ b/sdk/iotwireless/src/operation/get_wireless_device/builders.rs @@ -19,9 +19,9 @@ impl GetWirelessDeviceFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl GetWirelessDeviceFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::get_wireless_device::GetWirelessDevice, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::get_wireless_device::GetWirelessDeviceError, + >, + > { + self.customize_middleware().await + } ///

                                                                                              The identifier of the wireless device to get.

                                                                                              pub fn identifier(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.identifier(input.into()); diff --git a/sdk/iotwireless/src/operation/get_wireless_device_import_task/builders.rs b/sdk/iotwireless/src/operation/get_wireless_device_import_task/builders.rs index 68a66b41e9a8..1d2476805e48 100644 --- a/sdk/iotwireless/src/operation/get_wireless_device_import_task/builders.rs +++ b/sdk/iotwireless/src/operation/get_wireless_device_import_task/builders.rs @@ -19,9 +19,9 @@ impl GetWirelessDeviceImportTaskFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl GetWirelessDeviceImportTaskFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::get_wireless_device_import_task::GetWirelessDeviceImportTask, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::get_wireless_device_import_task::GetWirelessDeviceImportTaskError, + >, + > { + self.customize_middleware().await + } ///

                                                                                              The identifier of the import task for which information is requested.

                                                                                              pub fn id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.id(input.into()); diff --git a/sdk/iotwireless/src/operation/get_wireless_device_statistics/builders.rs b/sdk/iotwireless/src/operation/get_wireless_device_statistics/builders.rs index 1efb55b319fb..0fb73abf6c29 100644 --- a/sdk/iotwireless/src/operation/get_wireless_device_statistics/builders.rs +++ b/sdk/iotwireless/src/operation/get_wireless_device_statistics/builders.rs @@ -19,9 +19,9 @@ impl GetWirelessDeviceStatisticsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl GetWirelessDeviceStatisticsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::get_wireless_device_statistics::GetWirelessDeviceStatistics, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::get_wireless_device_statistics::GetWirelessDeviceStatisticsError, + >, + > { + self.customize_middleware().await + } ///

                                                                                              The ID of the wireless device for which to get the data.

                                                                                              pub fn wireless_device_id( mut self, diff --git a/sdk/iotwireless/src/operation/get_wireless_gateway/builders.rs b/sdk/iotwireless/src/operation/get_wireless_gateway/builders.rs index c90e801d45ac..ffcc848e89f4 100644 --- a/sdk/iotwireless/src/operation/get_wireless_gateway/builders.rs +++ b/sdk/iotwireless/src/operation/get_wireless_gateway/builders.rs @@ -19,9 +19,9 @@ impl GetWirelessGatewayFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl GetWirelessGatewayFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::get_wireless_gateway::GetWirelessGateway, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::get_wireless_gateway::GetWirelessGatewayError, + >, + > { + self.customize_middleware().await + } ///

                                                                                              The identifier of the wireless gateway to get.

                                                                                              pub fn identifier(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.identifier(input.into()); diff --git a/sdk/iotwireless/src/operation/get_wireless_gateway_certificate/builders.rs b/sdk/iotwireless/src/operation/get_wireless_gateway_certificate/builders.rs index cd06e9464c18..ae2e0e1b3b0d 100644 --- a/sdk/iotwireless/src/operation/get_wireless_gateway_certificate/builders.rs +++ b/sdk/iotwireless/src/operation/get_wireless_gateway_certificate/builders.rs @@ -19,9 +19,9 @@ impl GetWirelessGatewayCertificateFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl GetWirelessGatewayCertificateFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::get_wireless_gateway_certificate::GetWirelessGatewayCertificate, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::get_wireless_gateway_certificate::GetWirelessGatewayCertificateError, + >, + > { + self.customize_middleware().await + } ///

                                                                                              The ID of the resource to get.

                                                                                              pub fn id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.id(input.into()); diff --git a/sdk/iotwireless/src/operation/get_wireless_gateway_firmware_information/builders.rs b/sdk/iotwireless/src/operation/get_wireless_gateway_firmware_information/builders.rs index 88788270bae7..ac220828361c 100644 --- a/sdk/iotwireless/src/operation/get_wireless_gateway_firmware_information/builders.rs +++ b/sdk/iotwireless/src/operation/get_wireless_gateway_firmware_information/builders.rs @@ -19,9 +19,9 @@ impl GetWirelessGatewayFirmwareInformationFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize(self) -> ::std::result::Result< + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware(self) -> ::std::result::Result< crate::client::customize::CustomizableOperation, ::aws_smithy_http::result::SdkError >{ @@ -64,6 +64,15 @@ impl GetWirelessGatewayFirmwareInformationFluentBuilder { { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize(self) -> ::std::result::Result< + crate::client::customize::CustomizableOperation, + ::aws_smithy_http::result::SdkError + >{ + self.customize_middleware().await + } ///

                                                                                              The ID of the resource to get.

                                                                                              pub fn id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.id(input.into()); diff --git a/sdk/iotwireless/src/operation/get_wireless_gateway_statistics/builders.rs b/sdk/iotwireless/src/operation/get_wireless_gateway_statistics/builders.rs index 1fcc98e4eb0a..dc40e11f380a 100644 --- a/sdk/iotwireless/src/operation/get_wireless_gateway_statistics/builders.rs +++ b/sdk/iotwireless/src/operation/get_wireless_gateway_statistics/builders.rs @@ -19,9 +19,9 @@ impl GetWirelessGatewayStatisticsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl GetWirelessGatewayStatisticsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::get_wireless_gateway_statistics::GetWirelessGatewayStatistics, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::get_wireless_gateway_statistics::GetWirelessGatewayStatisticsError, + >, + > { + self.customize_middleware().await + } ///

                                                                                              The ID of the wireless gateway for which to get the data.

                                                                                              pub fn wireless_gateway_id( mut self, diff --git a/sdk/iotwireless/src/operation/get_wireless_gateway_task/builders.rs b/sdk/iotwireless/src/operation/get_wireless_gateway_task/builders.rs index a5ca72736f10..f8ba65bff284 100644 --- a/sdk/iotwireless/src/operation/get_wireless_gateway_task/builders.rs +++ b/sdk/iotwireless/src/operation/get_wireless_gateway_task/builders.rs @@ -20,9 +20,9 @@ impl GetWirelessGatewayTaskFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -84,6 +84,22 @@ impl GetWirelessGatewayTaskFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::get_wireless_gateway_task::GetWirelessGatewayTask, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::get_wireless_gateway_task::GetWirelessGatewayTaskError, + >, + > { + self.customize_middleware().await + } ///

                                                                                              The ID of the resource to get.

                                                                                              pub fn id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.id(input.into()); diff --git a/sdk/iotwireless/src/operation/get_wireless_gateway_task_definition/builders.rs b/sdk/iotwireless/src/operation/get_wireless_gateway_task_definition/builders.rs index 70cb14544664..c629cae9c6d0 100644 --- a/sdk/iotwireless/src/operation/get_wireless_gateway_task_definition/builders.rs +++ b/sdk/iotwireless/src/operation/get_wireless_gateway_task_definition/builders.rs @@ -19,9 +19,9 @@ impl GetWirelessGatewayTaskDefinitionFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize(self) -> ::std::result::Result< + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware(self) -> ::std::result::Result< crate::client::customize::CustomizableOperation, ::aws_smithy_http::result::SdkError >{ @@ -64,6 +64,15 @@ impl GetWirelessGatewayTaskDefinitionFluentBuilder { { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize(self) -> ::std::result::Result< + crate::client::customize::CustomizableOperation, + ::aws_smithy_http::result::SdkError + >{ + self.customize_middleware().await + } ///

                                                                                              The ID of the resource to get.

                                                                                              pub fn id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.id(input.into()); diff --git a/sdk/iotwireless/src/operation/list_destinations/builders.rs b/sdk/iotwireless/src/operation/list_destinations/builders.rs index bb7897ebc390..1e25f692eef4 100644 --- a/sdk/iotwireless/src/operation/list_destinations/builders.rs +++ b/sdk/iotwireless/src/operation/list_destinations/builders.rs @@ -19,9 +19,9 @@ impl ListDestinationsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl ListDestinationsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_destinations::ListDestinations, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::list_destinations::ListDestinationsError, + >, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::list_destinations::paginator::ListDestinationsPaginator::send) which returns a `Stream`. diff --git a/sdk/iotwireless/src/operation/list_device_profiles/builders.rs b/sdk/iotwireless/src/operation/list_device_profiles/builders.rs index 8c00eef7c876..6db1e859f6eb 100644 --- a/sdk/iotwireless/src/operation/list_device_profiles/builders.rs +++ b/sdk/iotwireless/src/operation/list_device_profiles/builders.rs @@ -19,9 +19,9 @@ impl ListDeviceProfilesFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl ListDeviceProfilesFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_device_profiles::ListDeviceProfiles, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::list_device_profiles::ListDeviceProfilesError, + >, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::list_device_profiles::paginator::ListDeviceProfilesPaginator::send) which returns a `Stream`. diff --git a/sdk/iotwireless/src/operation/list_devices_for_wireless_device_import_task/builders.rs b/sdk/iotwireless/src/operation/list_devices_for_wireless_device_import_task/builders.rs index d52e62b7f95a..55910ad72153 100644 --- a/sdk/iotwireless/src/operation/list_devices_for_wireless_device_import_task/builders.rs +++ b/sdk/iotwireless/src/operation/list_devices_for_wireless_device_import_task/builders.rs @@ -19,9 +19,9 @@ impl ListDevicesForWirelessDeviceImportTaskFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize(self) -> ::std::result::Result< + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware(self) -> ::std::result::Result< crate::client::customize::CustomizableOperation, ::aws_smithy_http::result::SdkError >{ @@ -64,6 +64,15 @@ impl ListDevicesForWirelessDeviceImportTaskFluentBuilder { { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize(self) -> ::std::result::Result< + crate::client::customize::CustomizableOperation, + ::aws_smithy_http::result::SdkError + >{ + self.customize_middleware().await + } ///

                                                                                              The identifier of the import task for which wireless devices are listed.

                                                                                              pub fn id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.id(input.into()); diff --git a/sdk/iotwireless/src/operation/list_event_configurations/builders.rs b/sdk/iotwireless/src/operation/list_event_configurations/builders.rs index 8ea0c71357ba..d87a0a4c4b70 100644 --- a/sdk/iotwireless/src/operation/list_event_configurations/builders.rs +++ b/sdk/iotwireless/src/operation/list_event_configurations/builders.rs @@ -20,9 +20,9 @@ impl ListEventConfigurationsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -84,6 +84,22 @@ impl ListEventConfigurationsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_event_configurations::ListEventConfigurations, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::list_event_configurations::ListEventConfigurationsError, + >, + > { + self.customize_middleware().await + } ///

                                                                                              Resource type to filter event configurations.

                                                                                              pub fn resource_type(mut self, input: crate::types::EventNotificationResourceType) -> Self { self.inner = self.inner.resource_type(input); diff --git a/sdk/iotwireless/src/operation/list_fuota_tasks/builders.rs b/sdk/iotwireless/src/operation/list_fuota_tasks/builders.rs index 0de5f3c87ae4..cafb2df7ca42 100644 --- a/sdk/iotwireless/src/operation/list_fuota_tasks/builders.rs +++ b/sdk/iotwireless/src/operation/list_fuota_tasks/builders.rs @@ -19,9 +19,9 @@ impl ListFuotaTasksFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl ListFuotaTasksFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_fuota_tasks::ListFuotaTasks, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::list_fuota_tasks::ListFuotaTasksError, + >, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::list_fuota_tasks::paginator::ListFuotaTasksPaginator::send) which returns a `Stream`. diff --git a/sdk/iotwireless/src/operation/list_multicast_groups/builders.rs b/sdk/iotwireless/src/operation/list_multicast_groups/builders.rs index ab194a5f33eb..397f60d88b48 100644 --- a/sdk/iotwireless/src/operation/list_multicast_groups/builders.rs +++ b/sdk/iotwireless/src/operation/list_multicast_groups/builders.rs @@ -19,9 +19,9 @@ impl ListMulticastGroupsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl ListMulticastGroupsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_multicast_groups::ListMulticastGroups, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::list_multicast_groups::ListMulticastGroupsError, + >, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::list_multicast_groups::paginator::ListMulticastGroupsPaginator::send) which returns a `Stream`. diff --git a/sdk/iotwireless/src/operation/list_multicast_groups_by_fuota_task/builders.rs b/sdk/iotwireless/src/operation/list_multicast_groups_by_fuota_task/builders.rs index 86ce51b4483d..90558f21ce14 100644 --- a/sdk/iotwireless/src/operation/list_multicast_groups_by_fuota_task/builders.rs +++ b/sdk/iotwireless/src/operation/list_multicast_groups_by_fuota_task/builders.rs @@ -19,9 +19,9 @@ impl ListMulticastGroupsByFuotaTaskFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize(self) -> ::std::result::Result< + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware(self) -> ::std::result::Result< crate::client::customize::CustomizableOperation, ::aws_smithy_http::result::SdkError >{ @@ -64,6 +64,15 @@ impl ListMulticastGroupsByFuotaTaskFluentBuilder { { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize(self) -> ::std::result::Result< + crate::client::customize::CustomizableOperation, + ::aws_smithy_http::result::SdkError + >{ + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::list_multicast_groups_by_fuota_task::paginator::ListMulticastGroupsByFuotaTaskPaginator::send) which returns a `Stream`. diff --git a/sdk/iotwireless/src/operation/list_network_analyzer_configurations/builders.rs b/sdk/iotwireless/src/operation/list_network_analyzer_configurations/builders.rs index 30e487e04266..1b14edff513a 100644 --- a/sdk/iotwireless/src/operation/list_network_analyzer_configurations/builders.rs +++ b/sdk/iotwireless/src/operation/list_network_analyzer_configurations/builders.rs @@ -19,9 +19,9 @@ impl ListNetworkAnalyzerConfigurationsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize(self) -> ::std::result::Result< + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware(self) -> ::std::result::Result< crate::client::customize::CustomizableOperation, ::aws_smithy_http::result::SdkError >{ @@ -64,6 +64,15 @@ impl ListNetworkAnalyzerConfigurationsFluentBuilder { { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize(self) -> ::std::result::Result< + crate::client::customize::CustomizableOperation, + ::aws_smithy_http::result::SdkError + >{ + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::list_network_analyzer_configurations::paginator::ListNetworkAnalyzerConfigurationsPaginator::send) which returns a `Stream`. diff --git a/sdk/iotwireless/src/operation/list_partner_accounts/builders.rs b/sdk/iotwireless/src/operation/list_partner_accounts/builders.rs index d7d18f943f21..13bfe764c655 100644 --- a/sdk/iotwireless/src/operation/list_partner_accounts/builders.rs +++ b/sdk/iotwireless/src/operation/list_partner_accounts/builders.rs @@ -19,9 +19,9 @@ impl ListPartnerAccountsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl ListPartnerAccountsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_partner_accounts::ListPartnerAccounts, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::list_partner_accounts::ListPartnerAccountsError, + >, + > { + self.customize_middleware().await + } ///

                                                                                              To retrieve the next set of results, the nextToken value from a previous response; otherwise null to receive the first set of results.

                                                                                              pub fn next_token(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.next_token(input.into()); diff --git a/sdk/iotwireless/src/operation/list_position_configurations/builders.rs b/sdk/iotwireless/src/operation/list_position_configurations/builders.rs index f0aabce3e144..35a78c9102a2 100644 --- a/sdk/iotwireless/src/operation/list_position_configurations/builders.rs +++ b/sdk/iotwireless/src/operation/list_position_configurations/builders.rs @@ -22,9 +22,9 @@ impl ListPositionConfigurationsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -86,6 +86,22 @@ impl ListPositionConfigurationsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_position_configurations::ListPositionConfigurations, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::list_position_configurations::ListPositionConfigurationsError, + >, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::list_position_configurations::paginator::ListPositionConfigurationsPaginator::send) which returns a `Stream`. diff --git a/sdk/iotwireless/src/operation/list_queued_messages/builders.rs b/sdk/iotwireless/src/operation/list_queued_messages/builders.rs index bc3696b224cf..4a830658418d 100644 --- a/sdk/iotwireless/src/operation/list_queued_messages/builders.rs +++ b/sdk/iotwireless/src/operation/list_queued_messages/builders.rs @@ -19,9 +19,9 @@ impl ListQueuedMessagesFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl ListQueuedMessagesFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_queued_messages::ListQueuedMessages, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::list_queued_messages::ListQueuedMessagesError, + >, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::list_queued_messages::paginator::ListQueuedMessagesPaginator::send) which returns a `Stream`. diff --git a/sdk/iotwireless/src/operation/list_service_profiles/builders.rs b/sdk/iotwireless/src/operation/list_service_profiles/builders.rs index a9b7cbf1559d..c47f4e443450 100644 --- a/sdk/iotwireless/src/operation/list_service_profiles/builders.rs +++ b/sdk/iotwireless/src/operation/list_service_profiles/builders.rs @@ -19,9 +19,9 @@ impl ListServiceProfilesFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl ListServiceProfilesFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_service_profiles::ListServiceProfiles, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::list_service_profiles::ListServiceProfilesError, + >, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::list_service_profiles::paginator::ListServiceProfilesPaginator::send) which returns a `Stream`. diff --git a/sdk/iotwireless/src/operation/list_tags_for_resource/builders.rs b/sdk/iotwireless/src/operation/list_tags_for_resource/builders.rs index 58e0fab5e6fa..d325e5db0e3d 100644 --- a/sdk/iotwireless/src/operation/list_tags_for_resource/builders.rs +++ b/sdk/iotwireless/src/operation/list_tags_for_resource/builders.rs @@ -19,9 +19,9 @@ impl ListTagsForResourceFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl ListTagsForResourceFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_tags_for_resource::ListTagsForResource, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::list_tags_for_resource::ListTagsForResourceError, + >, + > { + self.customize_middleware().await + } ///

                                                                                              The ARN of the resource for which you want to list tags.

                                                                                              pub fn resource_arn(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.resource_arn(input.into()); diff --git a/sdk/iotwireless/src/operation/list_wireless_device_import_tasks/builders.rs b/sdk/iotwireless/src/operation/list_wireless_device_import_tasks/builders.rs index 74cc0019ec7c..3539e830622b 100644 --- a/sdk/iotwireless/src/operation/list_wireless_device_import_tasks/builders.rs +++ b/sdk/iotwireless/src/operation/list_wireless_device_import_tasks/builders.rs @@ -19,9 +19,9 @@ impl ListWirelessDeviceImportTasksFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl ListWirelessDeviceImportTasksFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_wireless_device_import_tasks::ListWirelessDeviceImportTasks, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::list_wireless_device_import_tasks::ListWirelessDeviceImportTasksError, + >, + > { + self.customize_middleware().await + } ///

                                                                                              The maximum number of results to return in this operation.

                                                                                              pub fn max_results(mut self, input: i32) -> Self { self.inner = self.inner.max_results(input); diff --git a/sdk/iotwireless/src/operation/list_wireless_devices/builders.rs b/sdk/iotwireless/src/operation/list_wireless_devices/builders.rs index a42a4f5cafb7..456c323277f2 100644 --- a/sdk/iotwireless/src/operation/list_wireless_devices/builders.rs +++ b/sdk/iotwireless/src/operation/list_wireless_devices/builders.rs @@ -19,9 +19,9 @@ impl ListWirelessDevicesFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl ListWirelessDevicesFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_wireless_devices::ListWirelessDevices, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::list_wireless_devices::ListWirelessDevicesError, + >, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::list_wireless_devices::paginator::ListWirelessDevicesPaginator::send) which returns a `Stream`. diff --git a/sdk/iotwireless/src/operation/list_wireless_gateway_task_definitions/builders.rs b/sdk/iotwireless/src/operation/list_wireless_gateway_task_definitions/builders.rs index acc369cd99a9..b1ca493a6c46 100644 --- a/sdk/iotwireless/src/operation/list_wireless_gateway_task_definitions/builders.rs +++ b/sdk/iotwireless/src/operation/list_wireless_gateway_task_definitions/builders.rs @@ -19,9 +19,9 @@ impl ListWirelessGatewayTaskDefinitionsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize(self) -> ::std::result::Result< + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware(self) -> ::std::result::Result< crate::client::customize::CustomizableOperation, ::aws_smithy_http::result::SdkError >{ @@ -64,6 +64,15 @@ impl ListWirelessGatewayTaskDefinitionsFluentBuilder { { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize(self) -> ::std::result::Result< + crate::client::customize::CustomizableOperation, + ::aws_smithy_http::result::SdkError + >{ + self.customize_middleware().await + } ///

                                                                                              The maximum number of results to return in this operation.

                                                                                              pub fn max_results(mut self, input: i32) -> Self { self.inner = self.inner.max_results(input); diff --git a/sdk/iotwireless/src/operation/list_wireless_gateways/builders.rs b/sdk/iotwireless/src/operation/list_wireless_gateways/builders.rs index 5e85516bfeb2..351d6b0f2ce9 100644 --- a/sdk/iotwireless/src/operation/list_wireless_gateways/builders.rs +++ b/sdk/iotwireless/src/operation/list_wireless_gateways/builders.rs @@ -19,9 +19,9 @@ impl ListWirelessGatewaysFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl ListWirelessGatewaysFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_wireless_gateways::ListWirelessGateways, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::list_wireless_gateways::ListWirelessGatewaysError, + >, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::list_wireless_gateways::paginator::ListWirelessGatewaysPaginator::send) which returns a `Stream`. diff --git a/sdk/iotwireless/src/operation/put_position_configuration/builders.rs b/sdk/iotwireless/src/operation/put_position_configuration/builders.rs index c093cb38d814..0c16e51c9237 100644 --- a/sdk/iotwireless/src/operation/put_position_configuration/builders.rs +++ b/sdk/iotwireless/src/operation/put_position_configuration/builders.rs @@ -22,9 +22,9 @@ impl PutPositionConfigurationFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -86,6 +86,22 @@ impl PutPositionConfigurationFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::put_position_configuration::PutPositionConfiguration, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::put_position_configuration::PutPositionConfigurationError, + >, + > { + self.customize_middleware().await + } ///

                                                                                              Resource identifier used to update the position configuration.

                                                                                              pub fn resource_identifier( mut self, diff --git a/sdk/iotwireless/src/operation/put_resource_log_level/builders.rs b/sdk/iotwireless/src/operation/put_resource_log_level/builders.rs index 9166796040a3..2ba9c6fdcb7f 100644 --- a/sdk/iotwireless/src/operation/put_resource_log_level/builders.rs +++ b/sdk/iotwireless/src/operation/put_resource_log_level/builders.rs @@ -19,9 +19,9 @@ impl PutResourceLogLevelFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl PutResourceLogLevelFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::put_resource_log_level::PutResourceLogLevel, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::put_resource_log_level::PutResourceLogLevelError, + >, + > { + self.customize_middleware().await + } ///

                                                                                              The identifier of the resource. For a Wireless Device, it is the wireless device ID. For a wireless gateway, it is the wireless gateway ID.

                                                                                              pub fn resource_identifier( mut self, diff --git a/sdk/iotwireless/src/operation/reset_all_resource_log_levels/builders.rs b/sdk/iotwireless/src/operation/reset_all_resource_log_levels/builders.rs index 7d536ac1e8ce..fb8234f2d99a 100644 --- a/sdk/iotwireless/src/operation/reset_all_resource_log_levels/builders.rs +++ b/sdk/iotwireless/src/operation/reset_all_resource_log_levels/builders.rs @@ -19,9 +19,9 @@ impl ResetAllResourceLogLevelsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,4 +83,20 @@ impl ResetAllResourceLogLevelsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::reset_all_resource_log_levels::ResetAllResourceLogLevels, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::reset_all_resource_log_levels::ResetAllResourceLogLevelsError, + >, + > { + self.customize_middleware().await + } } diff --git a/sdk/iotwireless/src/operation/reset_resource_log_level/builders.rs b/sdk/iotwireless/src/operation/reset_resource_log_level/builders.rs index 15f5e063ae65..645f9f834309 100644 --- a/sdk/iotwireless/src/operation/reset_resource_log_level/builders.rs +++ b/sdk/iotwireless/src/operation/reset_resource_log_level/builders.rs @@ -19,9 +19,9 @@ impl ResetResourceLogLevelFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl ResetResourceLogLevelFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::reset_resource_log_level::ResetResourceLogLevel, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::reset_resource_log_level::ResetResourceLogLevelError, + >, + > { + self.customize_middleware().await + } ///

                                                                                              The identifier of the resource. For a Wireless Device, it is the wireless device ID. For a wireless gateway, it is the wireless gateway ID.

                                                                                              pub fn resource_identifier( mut self, diff --git a/sdk/iotwireless/src/operation/send_data_to_multicast_group/builders.rs b/sdk/iotwireless/src/operation/send_data_to_multicast_group/builders.rs index 0c8c149655dc..9c319274ae9f 100644 --- a/sdk/iotwireless/src/operation/send_data_to_multicast_group/builders.rs +++ b/sdk/iotwireless/src/operation/send_data_to_multicast_group/builders.rs @@ -19,9 +19,9 @@ impl SendDataToMulticastGroupFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl SendDataToMulticastGroupFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::send_data_to_multicast_group::SendDataToMulticastGroup, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::send_data_to_multicast_group::SendDataToMulticastGroupError, + >, + > { + self.customize_middleware().await + } ///

                                                                                              The ID of the multicast group.

                                                                                              pub fn id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.id(input.into()); diff --git a/sdk/iotwireless/src/operation/send_data_to_wireless_device/builders.rs b/sdk/iotwireless/src/operation/send_data_to_wireless_device/builders.rs index bec07e370fe8..14f54a87bc9f 100644 --- a/sdk/iotwireless/src/operation/send_data_to_wireless_device/builders.rs +++ b/sdk/iotwireless/src/operation/send_data_to_wireless_device/builders.rs @@ -19,9 +19,9 @@ impl SendDataToWirelessDeviceFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl SendDataToWirelessDeviceFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::send_data_to_wireless_device::SendDataToWirelessDevice, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::send_data_to_wireless_device::SendDataToWirelessDeviceError, + >, + > { + self.customize_middleware().await + } ///

                                                                                              The ID of the wireless device to receive the data.

                                                                                              pub fn id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.id(input.into()); diff --git a/sdk/iotwireless/src/operation/start_bulk_associate_wireless_device_with_multicast_group/builders.rs b/sdk/iotwireless/src/operation/start_bulk_associate_wireless_device_with_multicast_group/builders.rs index 7b122472d5f3..bbd8cd53d066 100644 --- a/sdk/iotwireless/src/operation/start_bulk_associate_wireless_device_with_multicast_group/builders.rs +++ b/sdk/iotwireless/src/operation/start_bulk_associate_wireless_device_with_multicast_group/builders.rs @@ -19,9 +19,9 @@ impl StartBulkAssociateWirelessDeviceWithMulticastGroupFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize(self) -> ::std::result::Result< + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware(self) -> ::std::result::Result< crate::client::customize::CustomizableOperation, ::aws_smithy_http::result::SdkError >{ @@ -64,6 +64,15 @@ impl StartBulkAssociateWirelessDeviceWithMulticastGroupFluentBuilder { { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize(self) -> ::std::result::Result< + crate::client::customize::CustomizableOperation, + ::aws_smithy_http::result::SdkError + >{ + self.customize_middleware().await + } ///

                                                                                              The ID of the multicast group.

                                                                                              pub fn id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.id(input.into()); diff --git a/sdk/iotwireless/src/operation/start_bulk_disassociate_wireless_device_from_multicast_group/builders.rs b/sdk/iotwireless/src/operation/start_bulk_disassociate_wireless_device_from_multicast_group/builders.rs index fe4987c33d84..e8135ec9535e 100644 --- a/sdk/iotwireless/src/operation/start_bulk_disassociate_wireless_device_from_multicast_group/builders.rs +++ b/sdk/iotwireless/src/operation/start_bulk_disassociate_wireless_device_from_multicast_group/builders.rs @@ -19,9 +19,9 @@ impl StartBulkDisassociateWirelessDeviceFromMulticastGroupFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize(self) -> ::std::result::Result< + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware(self) -> ::std::result::Result< crate::client::customize::CustomizableOperation, ::aws_smithy_http::result::SdkError >{ @@ -64,6 +64,15 @@ impl StartBulkDisassociateWirelessDeviceFromMulticastGroupFluentBuilder { { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize(self) -> ::std::result::Result< + crate::client::customize::CustomizableOperation, + ::aws_smithy_http::result::SdkError + >{ + self.customize_middleware().await + } ///

                                                                                              The ID of the multicast group.

                                                                                              pub fn id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.id(input.into()); diff --git a/sdk/iotwireless/src/operation/start_fuota_task/builders.rs b/sdk/iotwireless/src/operation/start_fuota_task/builders.rs index 1314e5f66873..4a11bd1a5231 100644 --- a/sdk/iotwireless/src/operation/start_fuota_task/builders.rs +++ b/sdk/iotwireless/src/operation/start_fuota_task/builders.rs @@ -19,9 +19,9 @@ impl StartFuotaTaskFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl StartFuotaTaskFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::start_fuota_task::StartFuotaTask, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::start_fuota_task::StartFuotaTaskError, + >, + > { + self.customize_middleware().await + } ///

                                                                                              The ID of a FUOTA task.

                                                                                              pub fn id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.id(input.into()); diff --git a/sdk/iotwireless/src/operation/start_multicast_group_session/builders.rs b/sdk/iotwireless/src/operation/start_multicast_group_session/builders.rs index 902d6ee8f7be..f7b1508bff47 100644 --- a/sdk/iotwireless/src/operation/start_multicast_group_session/builders.rs +++ b/sdk/iotwireless/src/operation/start_multicast_group_session/builders.rs @@ -19,9 +19,9 @@ impl StartMulticastGroupSessionFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl StartMulticastGroupSessionFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::start_multicast_group_session::StartMulticastGroupSession, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::start_multicast_group_session::StartMulticastGroupSessionError, + >, + > { + self.customize_middleware().await + } ///

                                                                                              The ID of the multicast group.

                                                                                              pub fn id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.id(input.into()); diff --git a/sdk/iotwireless/src/operation/start_single_wireless_device_import_task/builders.rs b/sdk/iotwireless/src/operation/start_single_wireless_device_import_task/builders.rs index 7ad9a69ea52a..f9beaa2c6953 100644 --- a/sdk/iotwireless/src/operation/start_single_wireless_device_import_task/builders.rs +++ b/sdk/iotwireless/src/operation/start_single_wireless_device_import_task/builders.rs @@ -19,9 +19,9 @@ impl StartSingleWirelessDeviceImportTaskFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize(self) -> ::std::result::Result< + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware(self) -> ::std::result::Result< crate::client::customize::CustomizableOperation, ::aws_smithy_http::result::SdkError >{ @@ -64,6 +64,15 @@ impl StartSingleWirelessDeviceImportTaskFluentBuilder { { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize(self) -> ::std::result::Result< + crate::client::customize::CustomizableOperation, + ::aws_smithy_http::result::SdkError + >{ + self.customize_middleware().await + } ///

                                                                                              The name of the Sidewalk destination that describes the IoT rule to route messages from the device in the import task that will be onboarded to AWS IoT Wireless.

                                                                                              pub fn destination_name( mut self, diff --git a/sdk/iotwireless/src/operation/start_wireless_device_import_task/builders.rs b/sdk/iotwireless/src/operation/start_wireless_device_import_task/builders.rs index 7c8f40ba3a6b..55d2fcb597e9 100644 --- a/sdk/iotwireless/src/operation/start_wireless_device_import_task/builders.rs +++ b/sdk/iotwireless/src/operation/start_wireless_device_import_task/builders.rs @@ -19,9 +19,9 @@ impl StartWirelessDeviceImportTaskFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl StartWirelessDeviceImportTaskFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::start_wireless_device_import_task::StartWirelessDeviceImportTask, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::start_wireless_device_import_task::StartWirelessDeviceImportTaskError, + >, + > { + self.customize_middleware().await + } ///

                                                                                              The name of the Sidewalk destination that describes the IoT rule to route messages from the devices in the import task that are onboarded to AWS IoT Wireless.

                                                                                              pub fn destination_name( mut self, diff --git a/sdk/iotwireless/src/operation/tag_resource/builders.rs b/sdk/iotwireless/src/operation/tag_resource/builders.rs index 4004b016296d..0ee76718564e 100644 --- a/sdk/iotwireless/src/operation/tag_resource/builders.rs +++ b/sdk/iotwireless/src/operation/tag_resource/builders.rs @@ -19,9 +19,9 @@ impl TagResourceFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl TagResourceFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::tag_resource::TagResource, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                                              The ARN of the resource to add tags to.

                                                                                              pub fn resource_arn(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.resource_arn(input.into()); diff --git a/sdk/iotwireless/src/operation/test_wireless_device/builders.rs b/sdk/iotwireless/src/operation/test_wireless_device/builders.rs index 65fdde36b9eb..1acc18cca673 100644 --- a/sdk/iotwireless/src/operation/test_wireless_device/builders.rs +++ b/sdk/iotwireless/src/operation/test_wireless_device/builders.rs @@ -19,9 +19,9 @@ impl TestWirelessDeviceFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl TestWirelessDeviceFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::test_wireless_device::TestWirelessDevice, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::test_wireless_device::TestWirelessDeviceError, + >, + > { + self.customize_middleware().await + } ///

                                                                                              The ID of the wireless device to test.

                                                                                              pub fn id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.id(input.into()); diff --git a/sdk/iotwireless/src/operation/untag_resource/builders.rs b/sdk/iotwireless/src/operation/untag_resource/builders.rs index 8b474ecaa09e..c63bec0b118a 100644 --- a/sdk/iotwireless/src/operation/untag_resource/builders.rs +++ b/sdk/iotwireless/src/operation/untag_resource/builders.rs @@ -19,9 +19,9 @@ impl UntagResourceFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl UntagResourceFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::untag_resource::UntagResource, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                                              The ARN of the resource to remove tags from.

                                                                                              pub fn resource_arn(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.resource_arn(input.into()); diff --git a/sdk/iotwireless/src/operation/update_destination/builders.rs b/sdk/iotwireless/src/operation/update_destination/builders.rs index d5b562a2a703..abcb8c783aad 100644 --- a/sdk/iotwireless/src/operation/update_destination/builders.rs +++ b/sdk/iotwireless/src/operation/update_destination/builders.rs @@ -19,9 +19,9 @@ impl UpdateDestinationFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl UpdateDestinationFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::update_destination::UpdateDestination, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::update_destination::UpdateDestinationError, + >, + > { + self.customize_middleware().await + } ///

                                                                                              The new name of the resource.

                                                                                              pub fn name(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.name(input.into()); diff --git a/sdk/iotwireless/src/operation/update_event_configuration_by_resource_types/builders.rs b/sdk/iotwireless/src/operation/update_event_configuration_by_resource_types/builders.rs index 596ebc6eb9f4..a8aad59cc335 100644 --- a/sdk/iotwireless/src/operation/update_event_configuration_by_resource_types/builders.rs +++ b/sdk/iotwireless/src/operation/update_event_configuration_by_resource_types/builders.rs @@ -19,9 +19,9 @@ impl UpdateEventConfigurationByResourceTypesFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize(self) -> ::std::result::Result< + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware(self) -> ::std::result::Result< crate::client::customize::CustomizableOperation, ::aws_smithy_http::result::SdkError >{ @@ -64,6 +64,15 @@ impl UpdateEventConfigurationByResourceTypesFluentBuilder { { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize(self) -> ::std::result::Result< + crate::client::customize::CustomizableOperation, + ::aws_smithy_http::result::SdkError + >{ + self.customize_middleware().await + } ///

                                                                                              Device registration state resource type event configuration object for enabling and disabling wireless gateway topic.

                                                                                              pub fn device_registration_state( mut self, diff --git a/sdk/iotwireless/src/operation/update_fuota_task/builders.rs b/sdk/iotwireless/src/operation/update_fuota_task/builders.rs index 991aabf3ddc3..47e4d0e0d410 100644 --- a/sdk/iotwireless/src/operation/update_fuota_task/builders.rs +++ b/sdk/iotwireless/src/operation/update_fuota_task/builders.rs @@ -19,9 +19,9 @@ impl UpdateFuotaTaskFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl UpdateFuotaTaskFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::update_fuota_task::UpdateFuotaTask, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::update_fuota_task::UpdateFuotaTaskError, + >, + > { + self.customize_middleware().await + } ///

                                                                                              The ID of a FUOTA task.

                                                                                              pub fn id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.id(input.into()); diff --git a/sdk/iotwireless/src/operation/update_log_levels_by_resource_types/builders.rs b/sdk/iotwireless/src/operation/update_log_levels_by_resource_types/builders.rs index 8c9b0028ed49..6145a54cceac 100644 --- a/sdk/iotwireless/src/operation/update_log_levels_by_resource_types/builders.rs +++ b/sdk/iotwireless/src/operation/update_log_levels_by_resource_types/builders.rs @@ -19,9 +19,9 @@ impl UpdateLogLevelsByResourceTypesFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize(self) -> ::std::result::Result< + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware(self) -> ::std::result::Result< crate::client::customize::CustomizableOperation, ::aws_smithy_http::result::SdkError >{ @@ -64,6 +64,15 @@ impl UpdateLogLevelsByResourceTypesFluentBuilder { { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize(self) -> ::std::result::Result< + crate::client::customize::CustomizableOperation, + ::aws_smithy_http::result::SdkError + >{ + self.customize_middleware().await + } ///

                                                                                              The log level for a log message. The log levels can be disabled, or set to ERROR to display less verbose logs containing only error information, or to INFO for more detailed logs.

                                                                                              pub fn default_log_level(mut self, input: crate::types::LogLevel) -> Self { self.inner = self.inner.default_log_level(input); diff --git a/sdk/iotwireless/src/operation/update_multicast_group/builders.rs b/sdk/iotwireless/src/operation/update_multicast_group/builders.rs index 91db59a63987..5c1bee379a7e 100644 --- a/sdk/iotwireless/src/operation/update_multicast_group/builders.rs +++ b/sdk/iotwireless/src/operation/update_multicast_group/builders.rs @@ -19,9 +19,9 @@ impl UpdateMulticastGroupFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl UpdateMulticastGroupFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::update_multicast_group::UpdateMulticastGroup, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::update_multicast_group::UpdateMulticastGroupError, + >, + > { + self.customize_middleware().await + } ///

                                                                                              The ID of the multicast group.

                                                                                              pub fn id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.id(input.into()); diff --git a/sdk/iotwireless/src/operation/update_network_analyzer_configuration/builders.rs b/sdk/iotwireless/src/operation/update_network_analyzer_configuration/builders.rs index 1a06a306e63e..fd661e86a13e 100644 --- a/sdk/iotwireless/src/operation/update_network_analyzer_configuration/builders.rs +++ b/sdk/iotwireless/src/operation/update_network_analyzer_configuration/builders.rs @@ -19,9 +19,9 @@ impl UpdateNetworkAnalyzerConfigurationFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize(self) -> ::std::result::Result< + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware(self) -> ::std::result::Result< crate::client::customize::CustomizableOperation, ::aws_smithy_http::result::SdkError >{ @@ -64,6 +64,15 @@ impl UpdateNetworkAnalyzerConfigurationFluentBuilder { { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize(self) -> ::std::result::Result< + crate::client::customize::CustomizableOperation, + ::aws_smithy_http::result::SdkError + >{ + self.customize_middleware().await + } ///

                                                                                              Name of the network analyzer configuration.

                                                                                              pub fn configuration_name( mut self, diff --git a/sdk/iotwireless/src/operation/update_partner_account/builders.rs b/sdk/iotwireless/src/operation/update_partner_account/builders.rs index a955f4583ff1..810d819a3fb1 100644 --- a/sdk/iotwireless/src/operation/update_partner_account/builders.rs +++ b/sdk/iotwireless/src/operation/update_partner_account/builders.rs @@ -19,9 +19,9 @@ impl UpdatePartnerAccountFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl UpdatePartnerAccountFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::update_partner_account::UpdatePartnerAccount, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::update_partner_account::UpdatePartnerAccountError, + >, + > { + self.customize_middleware().await + } ///

                                                                                              The Sidewalk account credentials.

                                                                                              pub fn sidewalk(mut self, input: crate::types::SidewalkUpdateAccount) -> Self { self.inner = self.inner.sidewalk(input); diff --git a/sdk/iotwireless/src/operation/update_position/builders.rs b/sdk/iotwireless/src/operation/update_position/builders.rs index f164a5e629be..f8a75d89a66b 100644 --- a/sdk/iotwireless/src/operation/update_position/builders.rs +++ b/sdk/iotwireless/src/operation/update_position/builders.rs @@ -22,9 +22,9 @@ impl UpdatePositionFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -80,6 +80,20 @@ impl UpdatePositionFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::update_position::UpdatePosition, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                                              Resource identifier of the resource for which position is updated.

                                                                                              pub fn resource_identifier( mut self, diff --git a/sdk/iotwireless/src/operation/update_resource_event_configuration/builders.rs b/sdk/iotwireless/src/operation/update_resource_event_configuration/builders.rs index 860576871ec0..2a54fa18d4c2 100644 --- a/sdk/iotwireless/src/operation/update_resource_event_configuration/builders.rs +++ b/sdk/iotwireless/src/operation/update_resource_event_configuration/builders.rs @@ -19,9 +19,9 @@ impl UpdateResourceEventConfigurationFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize(self) -> ::std::result::Result< + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware(self) -> ::std::result::Result< crate::client::customize::CustomizableOperation, ::aws_smithy_http::result::SdkError >{ @@ -64,6 +64,15 @@ impl UpdateResourceEventConfigurationFluentBuilder { { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize(self) -> ::std::result::Result< + crate::client::customize::CustomizableOperation, + ::aws_smithy_http::result::SdkError + >{ + self.customize_middleware().await + } ///

                                                                                              Resource identifier to opt in for event messaging.

                                                                                              pub fn identifier(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.identifier(input.into()); diff --git a/sdk/iotwireless/src/operation/update_resource_position/builders.rs b/sdk/iotwireless/src/operation/update_resource_position/builders.rs index 31b3b84843f8..de4395b288e3 100644 --- a/sdk/iotwireless/src/operation/update_resource_position/builders.rs +++ b/sdk/iotwireless/src/operation/update_resource_position/builders.rs @@ -19,9 +19,9 @@ impl UpdateResourcePositionFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl UpdateResourcePositionFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::update_resource_position::UpdateResourcePosition, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::update_resource_position::UpdateResourcePositionError, + >, + > { + self.customize_middleware().await + } ///

                                                                                              The identifier of the resource for which position information is updated. It can be the wireless device ID or the wireless gateway ID, depending on the resource type.

                                                                                              pub fn resource_identifier( mut self, diff --git a/sdk/iotwireless/src/operation/update_wireless_device/builders.rs b/sdk/iotwireless/src/operation/update_wireless_device/builders.rs index d87986d62e39..2482f862c408 100644 --- a/sdk/iotwireless/src/operation/update_wireless_device/builders.rs +++ b/sdk/iotwireless/src/operation/update_wireless_device/builders.rs @@ -19,9 +19,9 @@ impl UpdateWirelessDeviceFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl UpdateWirelessDeviceFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::update_wireless_device::UpdateWirelessDevice, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::update_wireless_device::UpdateWirelessDeviceError, + >, + > { + self.customize_middleware().await + } ///

                                                                                              The ID of the resource to update.

                                                                                              pub fn id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.id(input.into()); diff --git a/sdk/iotwireless/src/operation/update_wireless_device_import_task/builders.rs b/sdk/iotwireless/src/operation/update_wireless_device_import_task/builders.rs index 5c46d54e8073..bce2edd7ed0a 100644 --- a/sdk/iotwireless/src/operation/update_wireless_device_import_task/builders.rs +++ b/sdk/iotwireless/src/operation/update_wireless_device_import_task/builders.rs @@ -19,9 +19,9 @@ impl UpdateWirelessDeviceImportTaskFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize(self) -> ::std::result::Result< + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware(self) -> ::std::result::Result< crate::client::customize::CustomizableOperation, ::aws_smithy_http::result::SdkError >{ @@ -64,6 +64,15 @@ impl UpdateWirelessDeviceImportTaskFluentBuilder { { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize(self) -> ::std::result::Result< + crate::client::customize::CustomizableOperation, + ::aws_smithy_http::result::SdkError + >{ + self.customize_middleware().await + } ///

                                                                                              The identifier of the import task to be updated.

                                                                                              pub fn id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.id(input.into()); diff --git a/sdk/iotwireless/src/operation/update_wireless_gateway/builders.rs b/sdk/iotwireless/src/operation/update_wireless_gateway/builders.rs index 8032a26c4b41..4d7dc4f1f9d5 100644 --- a/sdk/iotwireless/src/operation/update_wireless_gateway/builders.rs +++ b/sdk/iotwireless/src/operation/update_wireless_gateway/builders.rs @@ -19,9 +19,9 @@ impl UpdateWirelessGatewayFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl UpdateWirelessGatewayFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::update_wireless_gateway::UpdateWirelessGateway, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::update_wireless_gateway::UpdateWirelessGatewayError, + >, + > { + self.customize_middleware().await + } ///

                                                                                              The ID of the resource to update.

                                                                                              pub fn id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.id(input.into()); diff --git a/sdk/ivs/src/operation/batch_get_channel/builders.rs b/sdk/ivs/src/operation/batch_get_channel/builders.rs index 5ee3b8d77800..ae64482942a2 100644 --- a/sdk/ivs/src/operation/batch_get_channel/builders.rs +++ b/sdk/ivs/src/operation/batch_get_channel/builders.rs @@ -19,9 +19,9 @@ impl BatchGetChannelFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl BatchGetChannelFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::batch_get_channel::BatchGetChannel, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::batch_get_channel::BatchGetChannelError, + >, + > { + self.customize_middleware().await + } /// Appends an item to `arns`. /// /// To override the contents of this collection use [`set_arns`](Self::set_arns). diff --git a/sdk/ivs/src/operation/batch_get_stream_key/builders.rs b/sdk/ivs/src/operation/batch_get_stream_key/builders.rs index b34fc2224f77..b83edde60ee3 100644 --- a/sdk/ivs/src/operation/batch_get_stream_key/builders.rs +++ b/sdk/ivs/src/operation/batch_get_stream_key/builders.rs @@ -19,9 +19,9 @@ impl BatchGetStreamKeyFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl BatchGetStreamKeyFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::batch_get_stream_key::BatchGetStreamKey, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::batch_get_stream_key::BatchGetStreamKeyError, + >, + > { + self.customize_middleware().await + } /// Appends an item to `arns`. /// /// To override the contents of this collection use [`set_arns`](Self::set_arns). diff --git a/sdk/ivs/src/operation/create_channel/builders.rs b/sdk/ivs/src/operation/create_channel/builders.rs index d2faab2802d9..d101cfc7e0e8 100644 --- a/sdk/ivs/src/operation/create_channel/builders.rs +++ b/sdk/ivs/src/operation/create_channel/builders.rs @@ -19,9 +19,9 @@ impl CreateChannelFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl CreateChannelFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::create_channel::CreateChannel, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                                              Channel name.

                                                                                              pub fn name(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.name(input.into()); diff --git a/sdk/ivs/src/operation/create_recording_configuration/builders.rs b/sdk/ivs/src/operation/create_recording_configuration/builders.rs index 443cb8e0a21d..c1f03a5ae11b 100644 --- a/sdk/ivs/src/operation/create_recording_configuration/builders.rs +++ b/sdk/ivs/src/operation/create_recording_configuration/builders.rs @@ -21,9 +21,9 @@ impl CreateRecordingConfigurationFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -85,6 +85,22 @@ impl CreateRecordingConfigurationFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::create_recording_configuration::CreateRecordingConfiguration, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::create_recording_configuration::CreateRecordingConfigurationError, + >, + > { + self.customize_middleware().await + } ///

                                                                                              Recording-configuration name. The value does not need to be unique.

                                                                                              pub fn name(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.name(input.into()); diff --git a/sdk/ivs/src/operation/create_stream_key/builders.rs b/sdk/ivs/src/operation/create_stream_key/builders.rs index 45ff49cfa8ab..671d3e902432 100644 --- a/sdk/ivs/src/operation/create_stream_key/builders.rs +++ b/sdk/ivs/src/operation/create_stream_key/builders.rs @@ -20,9 +20,9 @@ impl CreateStreamKeyFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -84,6 +84,22 @@ impl CreateStreamKeyFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::create_stream_key::CreateStreamKey, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::create_stream_key::CreateStreamKeyError, + >, + > { + self.customize_middleware().await + } ///

                                                                                              ARN of the channel for which to create the stream key.

                                                                                              pub fn channel_arn(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.channel_arn(input.into()); diff --git a/sdk/ivs/src/operation/delete_channel/builders.rs b/sdk/ivs/src/operation/delete_channel/builders.rs index eaaf0493ace0..1602c6aa9a7d 100644 --- a/sdk/ivs/src/operation/delete_channel/builders.rs +++ b/sdk/ivs/src/operation/delete_channel/builders.rs @@ -20,9 +20,9 @@ impl DeleteChannelFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -78,6 +78,20 @@ impl DeleteChannelFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::delete_channel::DeleteChannel, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                                              ARN of the channel to be deleted.

                                                                                              pub fn arn(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.arn(input.into()); diff --git a/sdk/ivs/src/operation/delete_playback_key_pair/builders.rs b/sdk/ivs/src/operation/delete_playback_key_pair/builders.rs index ff6b54fae580..2ffe9688bbea 100644 --- a/sdk/ivs/src/operation/delete_playback_key_pair/builders.rs +++ b/sdk/ivs/src/operation/delete_playback_key_pair/builders.rs @@ -19,9 +19,9 @@ impl DeletePlaybackKeyPairFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl DeletePlaybackKeyPairFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::delete_playback_key_pair::DeletePlaybackKeyPair, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::delete_playback_key_pair::DeletePlaybackKeyPairError, + >, + > { + self.customize_middleware().await + } ///

                                                                                              ARN of the key pair to be deleted.

                                                                                              pub fn arn(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.arn(input.into()); diff --git a/sdk/ivs/src/operation/delete_recording_configuration/builders.rs b/sdk/ivs/src/operation/delete_recording_configuration/builders.rs index fad51223d386..79a775348cce 100644 --- a/sdk/ivs/src/operation/delete_recording_configuration/builders.rs +++ b/sdk/ivs/src/operation/delete_recording_configuration/builders.rs @@ -20,9 +20,9 @@ impl DeleteRecordingConfigurationFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -84,6 +84,22 @@ impl DeleteRecordingConfigurationFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::delete_recording_configuration::DeleteRecordingConfiguration, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::delete_recording_configuration::DeleteRecordingConfigurationError, + >, + > { + self.customize_middleware().await + } ///

                                                                                              ARN of the recording configuration to be deleted.

                                                                                              pub fn arn(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.arn(input.into()); diff --git a/sdk/ivs/src/operation/delete_stream_key/builders.rs b/sdk/ivs/src/operation/delete_stream_key/builders.rs index 8752e550e008..655c87466a63 100644 --- a/sdk/ivs/src/operation/delete_stream_key/builders.rs +++ b/sdk/ivs/src/operation/delete_stream_key/builders.rs @@ -19,9 +19,9 @@ impl DeleteStreamKeyFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl DeleteStreamKeyFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::delete_stream_key::DeleteStreamKey, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::delete_stream_key::DeleteStreamKeyError, + >, + > { + self.customize_middleware().await + } ///

                                                                                              ARN of the stream key to be deleted.

                                                                                              pub fn arn(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.arn(input.into()); diff --git a/sdk/ivs/src/operation/get_channel/builders.rs b/sdk/ivs/src/operation/get_channel/builders.rs index b9d6e1cefaab..522f6ddaea65 100644 --- a/sdk/ivs/src/operation/get_channel/builders.rs +++ b/sdk/ivs/src/operation/get_channel/builders.rs @@ -19,9 +19,9 @@ impl GetChannelFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl GetChannelFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::get_channel::GetChannel, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                                              ARN of the channel for which the configuration is to be retrieved.

                                                                                              pub fn arn(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.arn(input.into()); diff --git a/sdk/ivs/src/operation/get_playback_key_pair/builders.rs b/sdk/ivs/src/operation/get_playback_key_pair/builders.rs index 5ecb79695310..0a4cf10b7930 100644 --- a/sdk/ivs/src/operation/get_playback_key_pair/builders.rs +++ b/sdk/ivs/src/operation/get_playback_key_pair/builders.rs @@ -19,9 +19,9 @@ impl GetPlaybackKeyPairFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl GetPlaybackKeyPairFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::get_playback_key_pair::GetPlaybackKeyPair, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::get_playback_key_pair::GetPlaybackKeyPairError, + >, + > { + self.customize_middleware().await + } ///

                                                                                              ARN of the key pair to be returned.

                                                                                              pub fn arn(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.arn(input.into()); diff --git a/sdk/ivs/src/operation/get_recording_configuration/builders.rs b/sdk/ivs/src/operation/get_recording_configuration/builders.rs index 6237976cb7d6..3011dd83c8fb 100644 --- a/sdk/ivs/src/operation/get_recording_configuration/builders.rs +++ b/sdk/ivs/src/operation/get_recording_configuration/builders.rs @@ -19,9 +19,9 @@ impl GetRecordingConfigurationFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl GetRecordingConfigurationFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::get_recording_configuration::GetRecordingConfiguration, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::get_recording_configuration::GetRecordingConfigurationError, + >, + > { + self.customize_middleware().await + } ///

                                                                                              ARN of the recording configuration to be retrieved.

                                                                                              pub fn arn(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.arn(input.into()); diff --git a/sdk/ivs/src/operation/get_stream/builders.rs b/sdk/ivs/src/operation/get_stream/builders.rs index 74d525c38234..7ad8da00f35e 100644 --- a/sdk/ivs/src/operation/get_stream/builders.rs +++ b/sdk/ivs/src/operation/get_stream/builders.rs @@ -19,9 +19,9 @@ impl GetStreamFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl GetStreamFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::get_stream::GetStream, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                                              Channel ARN for stream to be accessed.

                                                                                              pub fn channel_arn(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.channel_arn(input.into()); diff --git a/sdk/ivs/src/operation/get_stream_key/builders.rs b/sdk/ivs/src/operation/get_stream_key/builders.rs index e28389e0bc39..c48d0188bde4 100644 --- a/sdk/ivs/src/operation/get_stream_key/builders.rs +++ b/sdk/ivs/src/operation/get_stream_key/builders.rs @@ -19,9 +19,9 @@ impl GetStreamKeyFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl GetStreamKeyFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::get_stream_key::GetStreamKey, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                                              ARN for the stream key to be retrieved.

                                                                                              pub fn arn(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.arn(input.into()); diff --git a/sdk/ivs/src/operation/get_stream_session/builders.rs b/sdk/ivs/src/operation/get_stream_session/builders.rs index 21aa6de6cfd3..3fab8f6804ad 100644 --- a/sdk/ivs/src/operation/get_stream_session/builders.rs +++ b/sdk/ivs/src/operation/get_stream_session/builders.rs @@ -19,9 +19,9 @@ impl GetStreamSessionFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl GetStreamSessionFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::get_stream_session::GetStreamSession, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::get_stream_session::GetStreamSessionError, + >, + > { + self.customize_middleware().await + } ///

                                                                                              ARN of the channel resource

                                                                                              pub fn channel_arn(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.channel_arn(input.into()); diff --git a/sdk/ivs/src/operation/import_playback_key_pair/builders.rs b/sdk/ivs/src/operation/import_playback_key_pair/builders.rs index 5dd17cc4fba9..70bef72e55b2 100644 --- a/sdk/ivs/src/operation/import_playback_key_pair/builders.rs +++ b/sdk/ivs/src/operation/import_playback_key_pair/builders.rs @@ -19,9 +19,9 @@ impl ImportPlaybackKeyPairFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl ImportPlaybackKeyPairFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::import_playback_key_pair::ImportPlaybackKeyPair, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::import_playback_key_pair::ImportPlaybackKeyPairError, + >, + > { + self.customize_middleware().await + } ///

                                                                                              The public portion of a customer-generated key pair.

                                                                                              pub fn public_key_material( mut self, diff --git a/sdk/ivs/src/operation/list_channels/builders.rs b/sdk/ivs/src/operation/list_channels/builders.rs index 3ecf01b14086..8c5a174270d2 100644 --- a/sdk/ivs/src/operation/list_channels/builders.rs +++ b/sdk/ivs/src/operation/list_channels/builders.rs @@ -19,9 +19,9 @@ impl ListChannelsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl ListChannelsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_channels::ListChannels, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::list_channels::paginator::ListChannelsPaginator::send) which returns a `Stream`. diff --git a/sdk/ivs/src/operation/list_playback_key_pairs/builders.rs b/sdk/ivs/src/operation/list_playback_key_pairs/builders.rs index 039b4705fc13..a1a2781538eb 100644 --- a/sdk/ivs/src/operation/list_playback_key_pairs/builders.rs +++ b/sdk/ivs/src/operation/list_playback_key_pairs/builders.rs @@ -19,9 +19,9 @@ impl ListPlaybackKeyPairsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl ListPlaybackKeyPairsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_playback_key_pairs::ListPlaybackKeyPairs, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::list_playback_key_pairs::ListPlaybackKeyPairsError, + >, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::list_playback_key_pairs::paginator::ListPlaybackKeyPairsPaginator::send) which returns a `Stream`. diff --git a/sdk/ivs/src/operation/list_recording_configurations/builders.rs b/sdk/ivs/src/operation/list_recording_configurations/builders.rs index a8af7a9856ba..42bc975ae540 100644 --- a/sdk/ivs/src/operation/list_recording_configurations/builders.rs +++ b/sdk/ivs/src/operation/list_recording_configurations/builders.rs @@ -19,9 +19,9 @@ impl ListRecordingConfigurationsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl ListRecordingConfigurationsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_recording_configurations::ListRecordingConfigurations, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::list_recording_configurations::ListRecordingConfigurationsError, + >, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::list_recording_configurations::paginator::ListRecordingConfigurationsPaginator::send) which returns a `Stream`. diff --git a/sdk/ivs/src/operation/list_stream_keys/builders.rs b/sdk/ivs/src/operation/list_stream_keys/builders.rs index 5bbc7bd1546c..385501d37523 100644 --- a/sdk/ivs/src/operation/list_stream_keys/builders.rs +++ b/sdk/ivs/src/operation/list_stream_keys/builders.rs @@ -19,9 +19,9 @@ impl ListStreamKeysFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl ListStreamKeysFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_stream_keys::ListStreamKeys, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::list_stream_keys::ListStreamKeysError, + >, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::list_stream_keys::paginator::ListStreamKeysPaginator::send) which returns a `Stream`. diff --git a/sdk/ivs/src/operation/list_stream_sessions/builders.rs b/sdk/ivs/src/operation/list_stream_sessions/builders.rs index 4fe95c81ec59..9ceb0e80b3a1 100644 --- a/sdk/ivs/src/operation/list_stream_sessions/builders.rs +++ b/sdk/ivs/src/operation/list_stream_sessions/builders.rs @@ -19,9 +19,9 @@ impl ListStreamSessionsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl ListStreamSessionsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_stream_sessions::ListStreamSessions, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::list_stream_sessions::ListStreamSessionsError, + >, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::list_stream_sessions::paginator::ListStreamSessionsPaginator::send) which returns a `Stream`. diff --git a/sdk/ivs/src/operation/list_streams/builders.rs b/sdk/ivs/src/operation/list_streams/builders.rs index cef493a799f3..6c9701ddcd8e 100644 --- a/sdk/ivs/src/operation/list_streams/builders.rs +++ b/sdk/ivs/src/operation/list_streams/builders.rs @@ -19,9 +19,9 @@ impl ListStreamsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl ListStreamsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_streams::ListStreams, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::list_streams::paginator::ListStreamsPaginator::send) which returns a `Stream`. diff --git a/sdk/ivs/src/operation/list_tags_for_resource/builders.rs b/sdk/ivs/src/operation/list_tags_for_resource/builders.rs index 524259471364..990bc9f5198d 100644 --- a/sdk/ivs/src/operation/list_tags_for_resource/builders.rs +++ b/sdk/ivs/src/operation/list_tags_for_resource/builders.rs @@ -19,9 +19,9 @@ impl ListTagsForResourceFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl ListTagsForResourceFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_tags_for_resource::ListTagsForResource, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::list_tags_for_resource::ListTagsForResourceError, + >, + > { + self.customize_middleware().await + } ///

                                                                                              The ARN of the resource to be retrieved. The ARN must be URL-encoded.

                                                                                              pub fn resource_arn(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.resource_arn(input.into()); diff --git a/sdk/ivs/src/operation/put_metadata/builders.rs b/sdk/ivs/src/operation/put_metadata/builders.rs index ded2b32a951f..4b4b7bdea32c 100644 --- a/sdk/ivs/src/operation/put_metadata/builders.rs +++ b/sdk/ivs/src/operation/put_metadata/builders.rs @@ -19,9 +19,9 @@ impl PutMetadataFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl PutMetadataFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::put_metadata::PutMetadata, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                                              ARN of the channel into which metadata is inserted. This channel must have an active stream.

                                                                                              pub fn channel_arn(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.channel_arn(input.into()); diff --git a/sdk/ivs/src/operation/stop_stream/builders.rs b/sdk/ivs/src/operation/stop_stream/builders.rs index fac6e210ec9d..b02ff8a87861 100644 --- a/sdk/ivs/src/operation/stop_stream/builders.rs +++ b/sdk/ivs/src/operation/stop_stream/builders.rs @@ -21,9 +21,9 @@ impl StopStreamFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -79,6 +79,20 @@ impl StopStreamFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::stop_stream::StopStream, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                                              ARN of the channel for which the stream is to be stopped.

                                                                                              pub fn channel_arn(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.channel_arn(input.into()); diff --git a/sdk/ivs/src/operation/tag_resource/builders.rs b/sdk/ivs/src/operation/tag_resource/builders.rs index 78e5eeb18ba4..efb11570db10 100644 --- a/sdk/ivs/src/operation/tag_resource/builders.rs +++ b/sdk/ivs/src/operation/tag_resource/builders.rs @@ -19,9 +19,9 @@ impl TagResourceFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl TagResourceFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::tag_resource::TagResource, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                                              ARN of the resource for which tags are to be added or updated. The ARN must be URL-encoded.

                                                                                              pub fn resource_arn(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.resource_arn(input.into()); diff --git a/sdk/ivs/src/operation/untag_resource/builders.rs b/sdk/ivs/src/operation/untag_resource/builders.rs index e5c2d3d6ec21..10f4b7c6f140 100644 --- a/sdk/ivs/src/operation/untag_resource/builders.rs +++ b/sdk/ivs/src/operation/untag_resource/builders.rs @@ -19,9 +19,9 @@ impl UntagResourceFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl UntagResourceFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::untag_resource::UntagResource, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                                              ARN of the resource for which tags are to be removed. The ARN must be URL-encoded.

                                                                                              pub fn resource_arn(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.resource_arn(input.into()); diff --git a/sdk/ivs/src/operation/update_channel/builders.rs b/sdk/ivs/src/operation/update_channel/builders.rs index b274d3c93522..d623ef0851f8 100644 --- a/sdk/ivs/src/operation/update_channel/builders.rs +++ b/sdk/ivs/src/operation/update_channel/builders.rs @@ -19,9 +19,9 @@ impl UpdateChannelFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl UpdateChannelFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::update_channel::UpdateChannel, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                                              ARN of the channel to be updated.

                                                                                              pub fn arn(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.arn(input.into()); diff --git a/sdk/ivschat/src/operation/create_chat_token/builders.rs b/sdk/ivschat/src/operation/create_chat_token/builders.rs index 2a57928d58f0..c4737ff03e78 100644 --- a/sdk/ivschat/src/operation/create_chat_token/builders.rs +++ b/sdk/ivschat/src/operation/create_chat_token/builders.rs @@ -22,9 +22,9 @@ impl CreateChatTokenFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -86,6 +86,22 @@ impl CreateChatTokenFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::create_chat_token::CreateChatToken, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::create_chat_token::CreateChatTokenError, + >, + > { + self.customize_middleware().await + } ///

                                                                                              Identifier of the room that the client is trying to access. Currently this must be an ARN.

                                                                                              pub fn room_identifier( mut self, diff --git a/sdk/ivschat/src/operation/create_logging_configuration/builders.rs b/sdk/ivschat/src/operation/create_logging_configuration/builders.rs index 813965855ee5..416afe5e3e03 100644 --- a/sdk/ivschat/src/operation/create_logging_configuration/builders.rs +++ b/sdk/ivschat/src/operation/create_logging_configuration/builders.rs @@ -19,9 +19,9 @@ impl CreateLoggingConfigurationFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl CreateLoggingConfigurationFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::create_logging_configuration::CreateLoggingConfiguration, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::create_logging_configuration::CreateLoggingConfigurationError, + >, + > { + self.customize_middleware().await + } ///

                                                                                              Logging-configuration name. The value does not need to be unique.

                                                                                              pub fn name(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.name(input.into()); diff --git a/sdk/ivschat/src/operation/create_room/builders.rs b/sdk/ivschat/src/operation/create_room/builders.rs index 13df5dc69b51..03f95f8293bf 100644 --- a/sdk/ivschat/src/operation/create_room/builders.rs +++ b/sdk/ivschat/src/operation/create_room/builders.rs @@ -19,9 +19,9 @@ impl CreateRoomFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl CreateRoomFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::create_room::CreateRoom, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                                              Room name. The value does not need to be unique.

                                                                                              pub fn name(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.name(input.into()); diff --git a/sdk/ivschat/src/operation/delete_logging_configuration/builders.rs b/sdk/ivschat/src/operation/delete_logging_configuration/builders.rs index 2e6f466a1a1e..506be518d515 100644 --- a/sdk/ivschat/src/operation/delete_logging_configuration/builders.rs +++ b/sdk/ivschat/src/operation/delete_logging_configuration/builders.rs @@ -19,9 +19,9 @@ impl DeleteLoggingConfigurationFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl DeleteLoggingConfigurationFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::delete_logging_configuration::DeleteLoggingConfiguration, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::delete_logging_configuration::DeleteLoggingConfigurationError, + >, + > { + self.customize_middleware().await + } ///

                                                                                              Identifier of the logging configuration to be deleted.

                                                                                              pub fn identifier(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.identifier(input.into()); diff --git a/sdk/ivschat/src/operation/delete_message/builders.rs b/sdk/ivschat/src/operation/delete_message/builders.rs index 09cc20634737..b2b0da2b0a9f 100644 --- a/sdk/ivschat/src/operation/delete_message/builders.rs +++ b/sdk/ivschat/src/operation/delete_message/builders.rs @@ -19,9 +19,9 @@ impl DeleteMessageFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl DeleteMessageFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::delete_message::DeleteMessage, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                                              Identifier of the room where the message should be deleted. Currently this must be an ARN.

                                                                                              pub fn room_identifier( mut self, diff --git a/sdk/ivschat/src/operation/delete_room/builders.rs b/sdk/ivschat/src/operation/delete_room/builders.rs index 4819156321d6..c90bf2bfe9c3 100644 --- a/sdk/ivschat/src/operation/delete_room/builders.rs +++ b/sdk/ivschat/src/operation/delete_room/builders.rs @@ -19,9 +19,9 @@ impl DeleteRoomFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl DeleteRoomFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::delete_room::DeleteRoom, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                                              Identifier of the room to be deleted. Currently this must be an ARN.

                                                                                              pub fn identifier(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.identifier(input.into()); diff --git a/sdk/ivschat/src/operation/disconnect_user/builders.rs b/sdk/ivschat/src/operation/disconnect_user/builders.rs index 72d4d51ce0d2..fb72d2e6e457 100644 --- a/sdk/ivschat/src/operation/disconnect_user/builders.rs +++ b/sdk/ivschat/src/operation/disconnect_user/builders.rs @@ -19,9 +19,9 @@ impl DisconnectUserFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl DisconnectUserFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::disconnect_user::DisconnectUser, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                                              Identifier of the room from which the user's clients should be disconnected. Currently this must be an ARN.

                                                                                              pub fn room_identifier( mut self, diff --git a/sdk/ivschat/src/operation/get_logging_configuration/builders.rs b/sdk/ivschat/src/operation/get_logging_configuration/builders.rs index d059c608bda3..2339d24f9e37 100644 --- a/sdk/ivschat/src/operation/get_logging_configuration/builders.rs +++ b/sdk/ivschat/src/operation/get_logging_configuration/builders.rs @@ -20,9 +20,9 @@ impl GetLoggingConfigurationFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -84,6 +84,22 @@ impl GetLoggingConfigurationFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::get_logging_configuration::GetLoggingConfiguration, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::get_logging_configuration::GetLoggingConfigurationError, + >, + > { + self.customize_middleware().await + } ///

                                                                                              Identifier of the logging configuration to be retrieved.

                                                                                              pub fn identifier(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.identifier(input.into()); diff --git a/sdk/ivschat/src/operation/get_room/builders.rs b/sdk/ivschat/src/operation/get_room/builders.rs index 67c3caffb450..d2a4c15a30c9 100644 --- a/sdk/ivschat/src/operation/get_room/builders.rs +++ b/sdk/ivschat/src/operation/get_room/builders.rs @@ -19,9 +19,9 @@ impl GetRoomFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl GetRoomFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::get_room::GetRoom, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                                              Identifier of the room for which the configuration is to be retrieved. Currently this must be an ARN.

                                                                                              pub fn identifier(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.identifier(input.into()); diff --git a/sdk/ivschat/src/operation/list_logging_configurations/builders.rs b/sdk/ivschat/src/operation/list_logging_configurations/builders.rs index fda6bba07678..9f66abe67da0 100644 --- a/sdk/ivschat/src/operation/list_logging_configurations/builders.rs +++ b/sdk/ivschat/src/operation/list_logging_configurations/builders.rs @@ -19,9 +19,9 @@ impl ListLoggingConfigurationsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl ListLoggingConfigurationsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_logging_configurations::ListLoggingConfigurations, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::list_logging_configurations::ListLoggingConfigurationsError, + >, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::list_logging_configurations::paginator::ListLoggingConfigurationsPaginator::send) which returns a `Stream`. diff --git a/sdk/ivschat/src/operation/list_rooms/builders.rs b/sdk/ivschat/src/operation/list_rooms/builders.rs index 2f4e65146277..df04460b756c 100644 --- a/sdk/ivschat/src/operation/list_rooms/builders.rs +++ b/sdk/ivschat/src/operation/list_rooms/builders.rs @@ -19,9 +19,9 @@ impl ListRoomsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl ListRoomsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_rooms::ListRooms, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::list_rooms::paginator::ListRoomsPaginator::send) which returns a `Stream`. diff --git a/sdk/ivschat/src/operation/list_tags_for_resource/builders.rs b/sdk/ivschat/src/operation/list_tags_for_resource/builders.rs index c9f32b417229..4f5c9eb27a93 100644 --- a/sdk/ivschat/src/operation/list_tags_for_resource/builders.rs +++ b/sdk/ivschat/src/operation/list_tags_for_resource/builders.rs @@ -19,9 +19,9 @@ impl ListTagsForResourceFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl ListTagsForResourceFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_tags_for_resource::ListTagsForResource, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::list_tags_for_resource::ListTagsForResourceError, + >, + > { + self.customize_middleware().await + } ///

                                                                                              The ARN of the resource to be retrieved. The ARN must be URL-encoded.

                                                                                              pub fn resource_arn(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.resource_arn(input.into()); diff --git a/sdk/ivschat/src/operation/send_event/builders.rs b/sdk/ivschat/src/operation/send_event/builders.rs index 06df4f285555..b1b7bcd239a0 100644 --- a/sdk/ivschat/src/operation/send_event/builders.rs +++ b/sdk/ivschat/src/operation/send_event/builders.rs @@ -19,9 +19,9 @@ impl SendEventFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl SendEventFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::send_event::SendEvent, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                                              Identifier of the room to which the event will be sent. Currently this must be an ARN.

                                                                                              pub fn room_identifier( mut self, diff --git a/sdk/ivschat/src/operation/tag_resource/builders.rs b/sdk/ivschat/src/operation/tag_resource/builders.rs index a4b79459305b..4227414fa911 100644 --- a/sdk/ivschat/src/operation/tag_resource/builders.rs +++ b/sdk/ivschat/src/operation/tag_resource/builders.rs @@ -19,9 +19,9 @@ impl TagResourceFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl TagResourceFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::tag_resource::TagResource, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                                              The ARN of the resource to be tagged. The ARN must be URL-encoded.

                                                                                              pub fn resource_arn(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.resource_arn(input.into()); diff --git a/sdk/ivschat/src/operation/untag_resource/builders.rs b/sdk/ivschat/src/operation/untag_resource/builders.rs index 89c14f80f48a..11650774aa42 100644 --- a/sdk/ivschat/src/operation/untag_resource/builders.rs +++ b/sdk/ivschat/src/operation/untag_resource/builders.rs @@ -19,9 +19,9 @@ impl UntagResourceFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl UntagResourceFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::untag_resource::UntagResource, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                                              The ARN of the resource to be untagged. The ARN must be URL-encoded.

                                                                                              pub fn resource_arn(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.resource_arn(input.into()); diff --git a/sdk/ivschat/src/operation/update_logging_configuration/builders.rs b/sdk/ivschat/src/operation/update_logging_configuration/builders.rs index 49697697d9d9..de112c26e4c4 100644 --- a/sdk/ivschat/src/operation/update_logging_configuration/builders.rs +++ b/sdk/ivschat/src/operation/update_logging_configuration/builders.rs @@ -19,9 +19,9 @@ impl UpdateLoggingConfigurationFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl UpdateLoggingConfigurationFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::update_logging_configuration::UpdateLoggingConfiguration, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::update_logging_configuration::UpdateLoggingConfigurationError, + >, + > { + self.customize_middleware().await + } ///

                                                                                              Identifier of the logging configuration to be updated.

                                                                                              pub fn identifier(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.identifier(input.into()); diff --git a/sdk/ivschat/src/operation/update_room/builders.rs b/sdk/ivschat/src/operation/update_room/builders.rs index 1dd694592688..6faf59ae494f 100644 --- a/sdk/ivschat/src/operation/update_room/builders.rs +++ b/sdk/ivschat/src/operation/update_room/builders.rs @@ -19,9 +19,9 @@ impl UpdateRoomFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl UpdateRoomFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::update_room::UpdateRoom, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                                              Identifier of the room to be updated. Currently this must be an ARN.

                                                                                              pub fn identifier(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.identifier(input.into()); diff --git a/sdk/ivsrealtime/src/operation/create_participant_token/builders.rs b/sdk/ivsrealtime/src/operation/create_participant_token/builders.rs index c28cb15b64c8..9d2a72e3209d 100644 --- a/sdk/ivsrealtime/src/operation/create_participant_token/builders.rs +++ b/sdk/ivsrealtime/src/operation/create_participant_token/builders.rs @@ -20,9 +20,9 @@ impl CreateParticipantTokenFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -84,6 +84,22 @@ impl CreateParticipantTokenFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::create_participant_token::CreateParticipantToken, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::create_participant_token::CreateParticipantTokenError, + >, + > { + self.customize_middleware().await + } ///

                                                                                              ARN of the stage to which this token is scoped.

                                                                                              pub fn stage_arn(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.stage_arn(input.into()); diff --git a/sdk/ivsrealtime/src/operation/create_stage/builders.rs b/sdk/ivsrealtime/src/operation/create_stage/builders.rs index 7ea0bddc2453..c00ceb1d2674 100644 --- a/sdk/ivsrealtime/src/operation/create_stage/builders.rs +++ b/sdk/ivsrealtime/src/operation/create_stage/builders.rs @@ -19,9 +19,9 @@ impl CreateStageFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl CreateStageFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::create_stage::CreateStage, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                                              Optional name that can be specified for the stage being created.

                                                                                              pub fn name(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.name(input.into()); diff --git a/sdk/ivsrealtime/src/operation/delete_stage/builders.rs b/sdk/ivsrealtime/src/operation/delete_stage/builders.rs index caf30c4ee11e..eea1122898d9 100644 --- a/sdk/ivsrealtime/src/operation/delete_stage/builders.rs +++ b/sdk/ivsrealtime/src/operation/delete_stage/builders.rs @@ -19,9 +19,9 @@ impl DeleteStageFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl DeleteStageFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::delete_stage::DeleteStage, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                                              ARN of the stage to be deleted.

                                                                                              pub fn arn(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.arn(input.into()); diff --git a/sdk/ivsrealtime/src/operation/disconnect_participant/builders.rs b/sdk/ivsrealtime/src/operation/disconnect_participant/builders.rs index e352465b9b0c..b0ff8b0bd206 100644 --- a/sdk/ivsrealtime/src/operation/disconnect_participant/builders.rs +++ b/sdk/ivsrealtime/src/operation/disconnect_participant/builders.rs @@ -19,9 +19,9 @@ impl DisconnectParticipantFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl DisconnectParticipantFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::disconnect_participant::DisconnectParticipant, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::disconnect_participant::DisconnectParticipantError, + >, + > { + self.customize_middleware().await + } ///

                                                                                              ARN of the stage to which the participant is attached.

                                                                                              pub fn stage_arn(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.stage_arn(input.into()); diff --git a/sdk/ivsrealtime/src/operation/get_participant/builders.rs b/sdk/ivsrealtime/src/operation/get_participant/builders.rs index f62790db63e5..23533e3258af 100644 --- a/sdk/ivsrealtime/src/operation/get_participant/builders.rs +++ b/sdk/ivsrealtime/src/operation/get_participant/builders.rs @@ -19,9 +19,9 @@ impl GetParticipantFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl GetParticipantFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::get_participant::GetParticipant, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                                              Stage ARN.

                                                                                              pub fn stage_arn(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.stage_arn(input.into()); diff --git a/sdk/ivsrealtime/src/operation/get_stage/builders.rs b/sdk/ivsrealtime/src/operation/get_stage/builders.rs index 166e40934115..a6179ddfc54f 100644 --- a/sdk/ivsrealtime/src/operation/get_stage/builders.rs +++ b/sdk/ivsrealtime/src/operation/get_stage/builders.rs @@ -19,9 +19,9 @@ impl GetStageFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl GetStageFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::get_stage::GetStage, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                                              ARN of the stage for which the information is to be retrieved.

                                                                                              pub fn arn(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.arn(input.into()); diff --git a/sdk/ivsrealtime/src/operation/get_stage_session/builders.rs b/sdk/ivsrealtime/src/operation/get_stage_session/builders.rs index f1108de53630..287252cff4b8 100644 --- a/sdk/ivsrealtime/src/operation/get_stage_session/builders.rs +++ b/sdk/ivsrealtime/src/operation/get_stage_session/builders.rs @@ -19,9 +19,9 @@ impl GetStageSessionFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl GetStageSessionFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::get_stage_session::GetStageSession, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::get_stage_session::GetStageSessionError, + >, + > { + self.customize_middleware().await + } ///

                                                                                              ARN of the stage for which the information is to be retrieved.

                                                                                              pub fn stage_arn(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.stage_arn(input.into()); diff --git a/sdk/ivsrealtime/src/operation/list_participant_events/builders.rs b/sdk/ivsrealtime/src/operation/list_participant_events/builders.rs index 7fb86d3cdc72..34a48e4a8f4f 100644 --- a/sdk/ivsrealtime/src/operation/list_participant_events/builders.rs +++ b/sdk/ivsrealtime/src/operation/list_participant_events/builders.rs @@ -19,9 +19,9 @@ impl ListParticipantEventsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl ListParticipantEventsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_participant_events::ListParticipantEvents, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::list_participant_events::ListParticipantEventsError, + >, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::list_participant_events::paginator::ListParticipantEventsPaginator::send) which returns a `Stream`. diff --git a/sdk/ivsrealtime/src/operation/list_participants/builders.rs b/sdk/ivsrealtime/src/operation/list_participants/builders.rs index e98de4766d56..27229af72258 100644 --- a/sdk/ivsrealtime/src/operation/list_participants/builders.rs +++ b/sdk/ivsrealtime/src/operation/list_participants/builders.rs @@ -19,9 +19,9 @@ impl ListParticipantsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl ListParticipantsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_participants::ListParticipants, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::list_participants::ListParticipantsError, + >, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::list_participants::paginator::ListParticipantsPaginator::send) which returns a `Stream`. diff --git a/sdk/ivsrealtime/src/operation/list_stage_sessions/builders.rs b/sdk/ivsrealtime/src/operation/list_stage_sessions/builders.rs index dd3c4ffd2734..585b4e284538 100644 --- a/sdk/ivsrealtime/src/operation/list_stage_sessions/builders.rs +++ b/sdk/ivsrealtime/src/operation/list_stage_sessions/builders.rs @@ -19,9 +19,9 @@ impl ListStageSessionsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl ListStageSessionsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_stage_sessions::ListStageSessions, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::list_stage_sessions::ListStageSessionsError, + >, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::list_stage_sessions::paginator::ListStageSessionsPaginator::send) which returns a `Stream`. diff --git a/sdk/ivsrealtime/src/operation/list_stages/builders.rs b/sdk/ivsrealtime/src/operation/list_stages/builders.rs index b9177f1b5d50..bc0f8463f745 100644 --- a/sdk/ivsrealtime/src/operation/list_stages/builders.rs +++ b/sdk/ivsrealtime/src/operation/list_stages/builders.rs @@ -19,9 +19,9 @@ impl ListStagesFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl ListStagesFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_stages::ListStages, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::list_stages::paginator::ListStagesPaginator::send) which returns a `Stream`. diff --git a/sdk/ivsrealtime/src/operation/list_tags_for_resource/builders.rs b/sdk/ivsrealtime/src/operation/list_tags_for_resource/builders.rs index c9f32b417229..4f5c9eb27a93 100644 --- a/sdk/ivsrealtime/src/operation/list_tags_for_resource/builders.rs +++ b/sdk/ivsrealtime/src/operation/list_tags_for_resource/builders.rs @@ -19,9 +19,9 @@ impl ListTagsForResourceFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl ListTagsForResourceFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_tags_for_resource::ListTagsForResource, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::list_tags_for_resource::ListTagsForResourceError, + >, + > { + self.customize_middleware().await + } ///

                                                                                              The ARN of the resource to be retrieved. The ARN must be URL-encoded.

                                                                                              pub fn resource_arn(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.resource_arn(input.into()); diff --git a/sdk/ivsrealtime/src/operation/tag_resource/builders.rs b/sdk/ivsrealtime/src/operation/tag_resource/builders.rs index af8af2b7266f..8404a1ab8fee 100644 --- a/sdk/ivsrealtime/src/operation/tag_resource/builders.rs +++ b/sdk/ivsrealtime/src/operation/tag_resource/builders.rs @@ -19,9 +19,9 @@ impl TagResourceFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl TagResourceFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::tag_resource::TagResource, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                                              The ARN of the resource to be tagged. The ARN must be URL-encoded.

                                                                                              pub fn resource_arn(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.resource_arn(input.into()); diff --git a/sdk/ivsrealtime/src/operation/untag_resource/builders.rs b/sdk/ivsrealtime/src/operation/untag_resource/builders.rs index 7f4885224ccb..a980b12b08d6 100644 --- a/sdk/ivsrealtime/src/operation/untag_resource/builders.rs +++ b/sdk/ivsrealtime/src/operation/untag_resource/builders.rs @@ -19,9 +19,9 @@ impl UntagResourceFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl UntagResourceFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::untag_resource::UntagResource, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                                              The ARN of the resource to be untagged. The ARN must be URL-encoded.

                                                                                              pub fn resource_arn(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.resource_arn(input.into()); diff --git a/sdk/ivsrealtime/src/operation/update_stage/builders.rs b/sdk/ivsrealtime/src/operation/update_stage/builders.rs index fbba7430b75a..d62b2043f8a9 100644 --- a/sdk/ivsrealtime/src/operation/update_stage/builders.rs +++ b/sdk/ivsrealtime/src/operation/update_stage/builders.rs @@ -19,9 +19,9 @@ impl UpdateStageFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl UpdateStageFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::update_stage::UpdateStage, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                                              ARN of the stage to be updated.

                                                                                              pub fn arn(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.arn(input.into()); diff --git a/sdk/kafka/src/operation/batch_associate_scram_secret/builders.rs b/sdk/kafka/src/operation/batch_associate_scram_secret/builders.rs index c24d4733b520..d4cff2eeef53 100644 --- a/sdk/kafka/src/operation/batch_associate_scram_secret/builders.rs +++ b/sdk/kafka/src/operation/batch_associate_scram_secret/builders.rs @@ -19,9 +19,9 @@ impl BatchAssociateScramSecretFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl BatchAssociateScramSecretFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::batch_associate_scram_secret::BatchAssociateScramSecret, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::batch_associate_scram_secret::BatchAssociateScramSecretError, + >, + > { + self.customize_middleware().await + } ///

                                                                                              The Amazon Resource Name (ARN) of the cluster to be updated.

                                                                                              pub fn cluster_arn(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.cluster_arn(input.into()); diff --git a/sdk/kafka/src/operation/batch_disassociate_scram_secret/builders.rs b/sdk/kafka/src/operation/batch_disassociate_scram_secret/builders.rs index 9a3ccfba1111..4a0815237e90 100644 --- a/sdk/kafka/src/operation/batch_disassociate_scram_secret/builders.rs +++ b/sdk/kafka/src/operation/batch_disassociate_scram_secret/builders.rs @@ -19,9 +19,9 @@ impl BatchDisassociateScramSecretFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl BatchDisassociateScramSecretFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::batch_disassociate_scram_secret::BatchDisassociateScramSecret, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::batch_disassociate_scram_secret::BatchDisassociateScramSecretError, + >, + > { + self.customize_middleware().await + } ///

                                                                                              The Amazon Resource Name (ARN) of the cluster to be updated.

                                                                                              pub fn cluster_arn(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.cluster_arn(input.into()); diff --git a/sdk/kafka/src/operation/create_cluster/builders.rs b/sdk/kafka/src/operation/create_cluster/builders.rs index 56ab080db76d..693f3a4b11d1 100644 --- a/sdk/kafka/src/operation/create_cluster/builders.rs +++ b/sdk/kafka/src/operation/create_cluster/builders.rs @@ -19,9 +19,9 @@ impl CreateClusterFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl CreateClusterFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::create_cluster::CreateCluster, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                                              Information about the broker nodes in the cluster.

                                                                                              pub fn broker_node_group_info(mut self, input: crate::types::BrokerNodeGroupInfo) -> Self { self.inner = self.inner.broker_node_group_info(input); diff --git a/sdk/kafka/src/operation/create_cluster_v2/builders.rs b/sdk/kafka/src/operation/create_cluster_v2/builders.rs index 5bab8bdf65da..91813ee027ee 100644 --- a/sdk/kafka/src/operation/create_cluster_v2/builders.rs +++ b/sdk/kafka/src/operation/create_cluster_v2/builders.rs @@ -19,9 +19,9 @@ impl CreateClusterV2FluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl CreateClusterV2FluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::create_cluster_v2::CreateClusterV2, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::create_cluster_v2::CreateClusterV2Error, + >, + > { + self.customize_middleware().await + } ///

                                                                                              The name of the cluster.

                                                                                              pub fn cluster_name(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.cluster_name(input.into()); diff --git a/sdk/kafka/src/operation/create_configuration/builders.rs b/sdk/kafka/src/operation/create_configuration/builders.rs index 8b636a56259d..a92d7b6d20ad 100644 --- a/sdk/kafka/src/operation/create_configuration/builders.rs +++ b/sdk/kafka/src/operation/create_configuration/builders.rs @@ -19,9 +19,9 @@ impl CreateConfigurationFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl CreateConfigurationFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::create_configuration::CreateConfiguration, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::create_configuration::CreateConfigurationError, + >, + > { + self.customize_middleware().await + } ///

                                                                                              The description of the configuration.

                                                                                              pub fn description(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.description(input.into()); diff --git a/sdk/kafka/src/operation/create_vpc_connection/builders.rs b/sdk/kafka/src/operation/create_vpc_connection/builders.rs index efef9c798fb3..14c7fbd71862 100644 --- a/sdk/kafka/src/operation/create_vpc_connection/builders.rs +++ b/sdk/kafka/src/operation/create_vpc_connection/builders.rs @@ -19,9 +19,9 @@ impl CreateVpcConnectionFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl CreateVpcConnectionFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::create_vpc_connection::CreateVpcConnection, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::create_vpc_connection::CreateVpcConnectionError, + >, + > { + self.customize_middleware().await + } ///

                                                                                              The cluster Amazon Resource Name (ARN) for the VPC connection.

                                                                                              pub fn target_cluster_arn( mut self, diff --git a/sdk/kafka/src/operation/delete_cluster/builders.rs b/sdk/kafka/src/operation/delete_cluster/builders.rs index 5edd2dc118f3..b21e39698810 100644 --- a/sdk/kafka/src/operation/delete_cluster/builders.rs +++ b/sdk/kafka/src/operation/delete_cluster/builders.rs @@ -19,9 +19,9 @@ impl DeleteClusterFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl DeleteClusterFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::delete_cluster::DeleteCluster, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                                              The Amazon Resource Name (ARN) that uniquely identifies the cluster.

                                                                                              pub fn cluster_arn(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.cluster_arn(input.into()); diff --git a/sdk/kafka/src/operation/delete_cluster_policy/builders.rs b/sdk/kafka/src/operation/delete_cluster_policy/builders.rs index 22f8b22a4670..2bcef5e2b9e7 100644 --- a/sdk/kafka/src/operation/delete_cluster_policy/builders.rs +++ b/sdk/kafka/src/operation/delete_cluster_policy/builders.rs @@ -19,9 +19,9 @@ impl DeleteClusterPolicyFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl DeleteClusterPolicyFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::delete_cluster_policy::DeleteClusterPolicy, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::delete_cluster_policy::DeleteClusterPolicyError, + >, + > { + self.customize_middleware().await + } ///

                                                                                              The Amazon Resource Name (ARN) of the cluster.

                                                                                              pub fn cluster_arn(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.cluster_arn(input.into()); diff --git a/sdk/kafka/src/operation/delete_configuration/builders.rs b/sdk/kafka/src/operation/delete_configuration/builders.rs index f9b6f89a6372..c2f809eaef24 100644 --- a/sdk/kafka/src/operation/delete_configuration/builders.rs +++ b/sdk/kafka/src/operation/delete_configuration/builders.rs @@ -19,9 +19,9 @@ impl DeleteConfigurationFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl DeleteConfigurationFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::delete_configuration::DeleteConfiguration, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::delete_configuration::DeleteConfigurationError, + >, + > { + self.customize_middleware().await + } ///

                                                                                              The Amazon Resource Name (ARN) that uniquely identifies an MSK configuration.

                                                                                              pub fn arn(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.arn(input.into()); diff --git a/sdk/kafka/src/operation/delete_vpc_connection/builders.rs b/sdk/kafka/src/operation/delete_vpc_connection/builders.rs index 3cad0efd854a..1448337880b5 100644 --- a/sdk/kafka/src/operation/delete_vpc_connection/builders.rs +++ b/sdk/kafka/src/operation/delete_vpc_connection/builders.rs @@ -19,9 +19,9 @@ impl DeleteVpcConnectionFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl DeleteVpcConnectionFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::delete_vpc_connection::DeleteVpcConnection, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::delete_vpc_connection::DeleteVpcConnectionError, + >, + > { + self.customize_middleware().await + } ///

                                                                                              The Amazon Resource Name (ARN) that uniquely identifies an MSK VPC connection.

                                                                                              pub fn arn(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.arn(input.into()); diff --git a/sdk/kafka/src/operation/describe_cluster/builders.rs b/sdk/kafka/src/operation/describe_cluster/builders.rs index 00e765445937..37fc8978d4ae 100644 --- a/sdk/kafka/src/operation/describe_cluster/builders.rs +++ b/sdk/kafka/src/operation/describe_cluster/builders.rs @@ -19,9 +19,9 @@ impl DescribeClusterFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl DescribeClusterFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::describe_cluster::DescribeCluster, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::describe_cluster::DescribeClusterError, + >, + > { + self.customize_middleware().await + } ///

                                                                                              The Amazon Resource Name (ARN) that uniquely identifies the cluster.

                                                                                              pub fn cluster_arn(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.cluster_arn(input.into()); diff --git a/sdk/kafka/src/operation/describe_cluster_operation/builders.rs b/sdk/kafka/src/operation/describe_cluster_operation/builders.rs index dae1ee5ab952..4fa9ac3de756 100644 --- a/sdk/kafka/src/operation/describe_cluster_operation/builders.rs +++ b/sdk/kafka/src/operation/describe_cluster_operation/builders.rs @@ -19,9 +19,9 @@ impl DescribeClusterOperationFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl DescribeClusterOperationFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::describe_cluster_operation::DescribeClusterOperation, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::describe_cluster_operation::DescribeClusterOperationError, + >, + > { + self.customize_middleware().await + } ///

                                                                                              The Amazon Resource Name (ARN) that uniquely identifies the MSK cluster operation.

                                                                                              pub fn cluster_operation_arn( mut self, diff --git a/sdk/kafka/src/operation/describe_cluster_v2/builders.rs b/sdk/kafka/src/operation/describe_cluster_v2/builders.rs index eada07d55693..d4161f6aa927 100644 --- a/sdk/kafka/src/operation/describe_cluster_v2/builders.rs +++ b/sdk/kafka/src/operation/describe_cluster_v2/builders.rs @@ -19,9 +19,9 @@ impl DescribeClusterV2FluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl DescribeClusterV2FluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::describe_cluster_v2::DescribeClusterV2, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::describe_cluster_v2::DescribeClusterV2Error, + >, + > { + self.customize_middleware().await + } ///

                                                                                              The Amazon Resource Name (ARN) that uniquely identifies the cluster.

                                                                                              pub fn cluster_arn(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.cluster_arn(input.into()); diff --git a/sdk/kafka/src/operation/describe_configuration/builders.rs b/sdk/kafka/src/operation/describe_configuration/builders.rs index e61dee23d56b..379881d0cc06 100644 --- a/sdk/kafka/src/operation/describe_configuration/builders.rs +++ b/sdk/kafka/src/operation/describe_configuration/builders.rs @@ -19,9 +19,9 @@ impl DescribeConfigurationFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl DescribeConfigurationFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::describe_configuration::DescribeConfiguration, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::describe_configuration::DescribeConfigurationError, + >, + > { + self.customize_middleware().await + } ///

                                                                                              The Amazon Resource Name (ARN) that uniquely identifies an MSK configuration and all of its revisions.

                                                                                              pub fn arn(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.arn(input.into()); diff --git a/sdk/kafka/src/operation/describe_configuration_revision/builders.rs b/sdk/kafka/src/operation/describe_configuration_revision/builders.rs index b5760cc11dee..c37b3d3ee9b3 100644 --- a/sdk/kafka/src/operation/describe_configuration_revision/builders.rs +++ b/sdk/kafka/src/operation/describe_configuration_revision/builders.rs @@ -19,9 +19,9 @@ impl DescribeConfigurationRevisionFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl DescribeConfigurationRevisionFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::describe_configuration_revision::DescribeConfigurationRevision, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::describe_configuration_revision::DescribeConfigurationRevisionError, + >, + > { + self.customize_middleware().await + } ///

                                                                                              The Amazon Resource Name (ARN) that uniquely identifies an MSK configuration and all of its revisions.

                                                                                              pub fn arn(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.arn(input.into()); diff --git a/sdk/kafka/src/operation/describe_vpc_connection/builders.rs b/sdk/kafka/src/operation/describe_vpc_connection/builders.rs index 0e5a9b252611..b0a255f688df 100644 --- a/sdk/kafka/src/operation/describe_vpc_connection/builders.rs +++ b/sdk/kafka/src/operation/describe_vpc_connection/builders.rs @@ -19,9 +19,9 @@ impl DescribeVpcConnectionFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl DescribeVpcConnectionFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::describe_vpc_connection::DescribeVpcConnection, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::describe_vpc_connection::DescribeVpcConnectionError, + >, + > { + self.customize_middleware().await + } ///

                                                                                              The Amazon Resource Name (ARN) that uniquely identifies a MSK VPC connection.

                                                                                              pub fn arn(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.arn(input.into()); diff --git a/sdk/kafka/src/operation/get_bootstrap_brokers/builders.rs b/sdk/kafka/src/operation/get_bootstrap_brokers/builders.rs index c967fdd8e6eb..117bc7e22a73 100644 --- a/sdk/kafka/src/operation/get_bootstrap_brokers/builders.rs +++ b/sdk/kafka/src/operation/get_bootstrap_brokers/builders.rs @@ -19,9 +19,9 @@ impl GetBootstrapBrokersFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl GetBootstrapBrokersFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::get_bootstrap_brokers::GetBootstrapBrokers, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::get_bootstrap_brokers::GetBootstrapBrokersError, + >, + > { + self.customize_middleware().await + } ///

                                                                                              The Amazon Resource Name (ARN) that uniquely identifies the cluster.

                                                                                              pub fn cluster_arn(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.cluster_arn(input.into()); diff --git a/sdk/kafka/src/operation/get_cluster_policy/builders.rs b/sdk/kafka/src/operation/get_cluster_policy/builders.rs index b21c2d032dca..785916c3da23 100644 --- a/sdk/kafka/src/operation/get_cluster_policy/builders.rs +++ b/sdk/kafka/src/operation/get_cluster_policy/builders.rs @@ -19,9 +19,9 @@ impl GetClusterPolicyFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl GetClusterPolicyFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::get_cluster_policy::GetClusterPolicy, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::get_cluster_policy::GetClusterPolicyError, + >, + > { + self.customize_middleware().await + } ///

                                                                                              The Amazon Resource Name (ARN) of the cluster.

                                                                                              pub fn cluster_arn(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.cluster_arn(input.into()); diff --git a/sdk/kafka/src/operation/get_compatible_kafka_versions/builders.rs b/sdk/kafka/src/operation/get_compatible_kafka_versions/builders.rs index db59438746ad..5187b07b9171 100644 --- a/sdk/kafka/src/operation/get_compatible_kafka_versions/builders.rs +++ b/sdk/kafka/src/operation/get_compatible_kafka_versions/builders.rs @@ -19,9 +19,9 @@ impl GetCompatibleKafkaVersionsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl GetCompatibleKafkaVersionsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::get_compatible_kafka_versions::GetCompatibleKafkaVersions, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::get_compatible_kafka_versions::GetCompatibleKafkaVersionsError, + >, + > { + self.customize_middleware().await + } ///

                                                                                              The Amazon Resource Name (ARN) of the cluster check.

                                                                                              pub fn cluster_arn(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.cluster_arn(input.into()); diff --git a/sdk/kafka/src/operation/list_client_vpc_connections/builders.rs b/sdk/kafka/src/operation/list_client_vpc_connections/builders.rs index 6e9d84673a96..8a19ac745fd5 100644 --- a/sdk/kafka/src/operation/list_client_vpc_connections/builders.rs +++ b/sdk/kafka/src/operation/list_client_vpc_connections/builders.rs @@ -19,9 +19,9 @@ impl ListClientVpcConnectionsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl ListClientVpcConnectionsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_client_vpc_connections::ListClientVpcConnections, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::list_client_vpc_connections::ListClientVpcConnectionsError, + >, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::list_client_vpc_connections::paginator::ListClientVpcConnectionsPaginator::send) which returns a `Stream`. diff --git a/sdk/kafka/src/operation/list_cluster_operations/builders.rs b/sdk/kafka/src/operation/list_cluster_operations/builders.rs index 802e4f4d7806..f4d6e899c827 100644 --- a/sdk/kafka/src/operation/list_cluster_operations/builders.rs +++ b/sdk/kafka/src/operation/list_cluster_operations/builders.rs @@ -19,9 +19,9 @@ impl ListClusterOperationsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl ListClusterOperationsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_cluster_operations::ListClusterOperations, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::list_cluster_operations::ListClusterOperationsError, + >, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::list_cluster_operations::paginator::ListClusterOperationsPaginator::send) which returns a `Stream`. diff --git a/sdk/kafka/src/operation/list_clusters/builders.rs b/sdk/kafka/src/operation/list_clusters/builders.rs index b58333183a5f..84e479156cf8 100644 --- a/sdk/kafka/src/operation/list_clusters/builders.rs +++ b/sdk/kafka/src/operation/list_clusters/builders.rs @@ -19,9 +19,9 @@ impl ListClustersFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl ListClustersFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_clusters::ListClusters, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::list_clusters::paginator::ListClustersPaginator::send) which returns a `Stream`. diff --git a/sdk/kafka/src/operation/list_clusters_v2/builders.rs b/sdk/kafka/src/operation/list_clusters_v2/builders.rs index 84cfd323a4d2..6230236885ea 100644 --- a/sdk/kafka/src/operation/list_clusters_v2/builders.rs +++ b/sdk/kafka/src/operation/list_clusters_v2/builders.rs @@ -19,9 +19,9 @@ impl ListClustersV2FluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl ListClustersV2FluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_clusters_v2::ListClustersV2, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::list_clusters_v2::ListClustersV2Error, + >, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::list_clusters_v2::paginator::ListClustersV2Paginator::send) which returns a `Stream`. diff --git a/sdk/kafka/src/operation/list_configuration_revisions/builders.rs b/sdk/kafka/src/operation/list_configuration_revisions/builders.rs index 2419d5c1ed03..c54f1eafbe9f 100644 --- a/sdk/kafka/src/operation/list_configuration_revisions/builders.rs +++ b/sdk/kafka/src/operation/list_configuration_revisions/builders.rs @@ -19,9 +19,9 @@ impl ListConfigurationRevisionsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl ListConfigurationRevisionsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_configuration_revisions::ListConfigurationRevisions, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::list_configuration_revisions::ListConfigurationRevisionsError, + >, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::list_configuration_revisions::paginator::ListConfigurationRevisionsPaginator::send) which returns a `Stream`. diff --git a/sdk/kafka/src/operation/list_configurations/builders.rs b/sdk/kafka/src/operation/list_configurations/builders.rs index 33032c3bd120..c37010a51f6d 100644 --- a/sdk/kafka/src/operation/list_configurations/builders.rs +++ b/sdk/kafka/src/operation/list_configurations/builders.rs @@ -19,9 +19,9 @@ impl ListConfigurationsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl ListConfigurationsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_configurations::ListConfigurations, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::list_configurations::ListConfigurationsError, + >, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::list_configurations::paginator::ListConfigurationsPaginator::send) which returns a `Stream`. diff --git a/sdk/kafka/src/operation/list_kafka_versions/builders.rs b/sdk/kafka/src/operation/list_kafka_versions/builders.rs index f41eb872d8b8..4d8b5019d272 100644 --- a/sdk/kafka/src/operation/list_kafka_versions/builders.rs +++ b/sdk/kafka/src/operation/list_kafka_versions/builders.rs @@ -19,9 +19,9 @@ impl ListKafkaVersionsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl ListKafkaVersionsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_kafka_versions::ListKafkaVersions, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::list_kafka_versions::ListKafkaVersionsError, + >, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::list_kafka_versions::paginator::ListKafkaVersionsPaginator::send) which returns a `Stream`. diff --git a/sdk/kafka/src/operation/list_nodes/builders.rs b/sdk/kafka/src/operation/list_nodes/builders.rs index 71d85b77d2ba..a974f063ef55 100644 --- a/sdk/kafka/src/operation/list_nodes/builders.rs +++ b/sdk/kafka/src/operation/list_nodes/builders.rs @@ -19,9 +19,9 @@ impl ListNodesFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl ListNodesFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_nodes::ListNodes, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::list_nodes::paginator::ListNodesPaginator::send) which returns a `Stream`. diff --git a/sdk/kafka/src/operation/list_scram_secrets/builders.rs b/sdk/kafka/src/operation/list_scram_secrets/builders.rs index 7269f14a3f1d..47e2e4d635b7 100644 --- a/sdk/kafka/src/operation/list_scram_secrets/builders.rs +++ b/sdk/kafka/src/operation/list_scram_secrets/builders.rs @@ -19,9 +19,9 @@ impl ListScramSecretsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl ListScramSecretsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_scram_secrets::ListScramSecrets, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::list_scram_secrets::ListScramSecretsError, + >, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::list_scram_secrets::paginator::ListScramSecretsPaginator::send) which returns a `Stream`. diff --git a/sdk/kafka/src/operation/list_tags_for_resource/builders.rs b/sdk/kafka/src/operation/list_tags_for_resource/builders.rs index 23aeeddf2ea3..8bc04470d73c 100644 --- a/sdk/kafka/src/operation/list_tags_for_resource/builders.rs +++ b/sdk/kafka/src/operation/list_tags_for_resource/builders.rs @@ -19,9 +19,9 @@ impl ListTagsForResourceFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl ListTagsForResourceFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_tags_for_resource::ListTagsForResource, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::list_tags_for_resource::ListTagsForResourceError, + >, + > { + self.customize_middleware().await + } ///

                                                                                              The Amazon Resource Name (ARN) that uniquely identifies the resource that's associated with the tags.

                                                                                              pub fn resource_arn(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.resource_arn(input.into()); diff --git a/sdk/kafka/src/operation/list_vpc_connections/builders.rs b/sdk/kafka/src/operation/list_vpc_connections/builders.rs index b18909c1d6c7..2f46b25ff98a 100644 --- a/sdk/kafka/src/operation/list_vpc_connections/builders.rs +++ b/sdk/kafka/src/operation/list_vpc_connections/builders.rs @@ -19,9 +19,9 @@ impl ListVpcConnectionsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl ListVpcConnectionsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_vpc_connections::ListVpcConnections, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::list_vpc_connections::ListVpcConnectionsError, + >, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::list_vpc_connections::paginator::ListVpcConnectionsPaginator::send) which returns a `Stream`. diff --git a/sdk/kafka/src/operation/put_cluster_policy/builders.rs b/sdk/kafka/src/operation/put_cluster_policy/builders.rs index 201e0af85225..9df0f9f96020 100644 --- a/sdk/kafka/src/operation/put_cluster_policy/builders.rs +++ b/sdk/kafka/src/operation/put_cluster_policy/builders.rs @@ -19,9 +19,9 @@ impl PutClusterPolicyFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl PutClusterPolicyFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::put_cluster_policy::PutClusterPolicy, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::put_cluster_policy::PutClusterPolicyError, + >, + > { + self.customize_middleware().await + } ///

                                                                                              The Amazon Resource Name (ARN) of the cluster.

                                                                                              pub fn cluster_arn(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.cluster_arn(input.into()); diff --git a/sdk/kafka/src/operation/reboot_broker/builders.rs b/sdk/kafka/src/operation/reboot_broker/builders.rs index 369591e65fdc..320d31648d87 100644 --- a/sdk/kafka/src/operation/reboot_broker/builders.rs +++ b/sdk/kafka/src/operation/reboot_broker/builders.rs @@ -19,9 +19,9 @@ impl RebootBrokerFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl RebootBrokerFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::reboot_broker::RebootBroker, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } /// Appends an item to `BrokerIds`. /// /// To override the contents of this collection use [`set_broker_ids`](Self::set_broker_ids). diff --git a/sdk/kafka/src/operation/reject_client_vpc_connection/builders.rs b/sdk/kafka/src/operation/reject_client_vpc_connection/builders.rs index 1ccb50c04ba4..37cf19155b91 100644 --- a/sdk/kafka/src/operation/reject_client_vpc_connection/builders.rs +++ b/sdk/kafka/src/operation/reject_client_vpc_connection/builders.rs @@ -19,9 +19,9 @@ impl RejectClientVpcConnectionFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl RejectClientVpcConnectionFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::reject_client_vpc_connection::RejectClientVpcConnection, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::reject_client_vpc_connection::RejectClientVpcConnectionError, + >, + > { + self.customize_middleware().await + } ///

                                                                                              The Amazon Resource Name (ARN) of the cluster.

                                                                                              pub fn cluster_arn(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.cluster_arn(input.into()); diff --git a/sdk/kafka/src/operation/tag_resource/builders.rs b/sdk/kafka/src/operation/tag_resource/builders.rs index 63849bb435aa..6eff09588aff 100644 --- a/sdk/kafka/src/operation/tag_resource/builders.rs +++ b/sdk/kafka/src/operation/tag_resource/builders.rs @@ -19,9 +19,9 @@ impl TagResourceFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl TagResourceFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::tag_resource::TagResource, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                                              The Amazon Resource Name (ARN) that uniquely identifies the resource that's associated with the tags.

                                                                                              pub fn resource_arn(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.resource_arn(input.into()); diff --git a/sdk/kafka/src/operation/untag_resource/builders.rs b/sdk/kafka/src/operation/untag_resource/builders.rs index 78097dab70b5..a643276f7d21 100644 --- a/sdk/kafka/src/operation/untag_resource/builders.rs +++ b/sdk/kafka/src/operation/untag_resource/builders.rs @@ -19,9 +19,9 @@ impl UntagResourceFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl UntagResourceFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::untag_resource::UntagResource, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                                              The Amazon Resource Name (ARN) that uniquely identifies the resource that's associated with the tags.

                                                                                              pub fn resource_arn(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.resource_arn(input.into()); diff --git a/sdk/kafka/src/operation/update_broker_count/builders.rs b/sdk/kafka/src/operation/update_broker_count/builders.rs index 3e80ec86f378..309d6ca52d59 100644 --- a/sdk/kafka/src/operation/update_broker_count/builders.rs +++ b/sdk/kafka/src/operation/update_broker_count/builders.rs @@ -19,9 +19,9 @@ impl UpdateBrokerCountFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl UpdateBrokerCountFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::update_broker_count::UpdateBrokerCount, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::update_broker_count::UpdateBrokerCountError, + >, + > { + self.customize_middleware().await + } ///

                                                                                              The Amazon Resource Name (ARN) that uniquely identifies the cluster.

                                                                                              pub fn cluster_arn(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.cluster_arn(input.into()); diff --git a/sdk/kafka/src/operation/update_broker_storage/builders.rs b/sdk/kafka/src/operation/update_broker_storage/builders.rs index bf444022730b..73987543662b 100644 --- a/sdk/kafka/src/operation/update_broker_storage/builders.rs +++ b/sdk/kafka/src/operation/update_broker_storage/builders.rs @@ -19,9 +19,9 @@ impl UpdateBrokerStorageFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl UpdateBrokerStorageFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::update_broker_storage::UpdateBrokerStorage, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::update_broker_storage::UpdateBrokerStorageError, + >, + > { + self.customize_middleware().await + } ///

                                                                                              The Amazon Resource Name (ARN) that uniquely identifies the cluster.

                                                                                              pub fn cluster_arn(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.cluster_arn(input.into()); diff --git a/sdk/kafka/src/operation/update_broker_type/builders.rs b/sdk/kafka/src/operation/update_broker_type/builders.rs index b4f5606e1061..2f288c97de8a 100644 --- a/sdk/kafka/src/operation/update_broker_type/builders.rs +++ b/sdk/kafka/src/operation/update_broker_type/builders.rs @@ -19,9 +19,9 @@ impl UpdateBrokerTypeFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl UpdateBrokerTypeFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::update_broker_type::UpdateBrokerType, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::update_broker_type::UpdateBrokerTypeError, + >, + > { + self.customize_middleware().await + } ///

                                                                                              The Amazon Resource Name (ARN) that uniquely identifies the cluster.

                                                                                              pub fn cluster_arn(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.cluster_arn(input.into()); diff --git a/sdk/kafka/src/operation/update_cluster_configuration/builders.rs b/sdk/kafka/src/operation/update_cluster_configuration/builders.rs index 53fefb5a72e1..be97ddba24e1 100644 --- a/sdk/kafka/src/operation/update_cluster_configuration/builders.rs +++ b/sdk/kafka/src/operation/update_cluster_configuration/builders.rs @@ -19,9 +19,9 @@ impl UpdateClusterConfigurationFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl UpdateClusterConfigurationFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::update_cluster_configuration::UpdateClusterConfiguration, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::update_cluster_configuration::UpdateClusterConfigurationError, + >, + > { + self.customize_middleware().await + } ///

                                                                                              The Amazon Resource Name (ARN) that uniquely identifies the cluster.

                                                                                              pub fn cluster_arn(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.cluster_arn(input.into()); diff --git a/sdk/kafka/src/operation/update_cluster_kafka_version/builders.rs b/sdk/kafka/src/operation/update_cluster_kafka_version/builders.rs index 7f1cf92b9464..470290ba0433 100644 --- a/sdk/kafka/src/operation/update_cluster_kafka_version/builders.rs +++ b/sdk/kafka/src/operation/update_cluster_kafka_version/builders.rs @@ -19,9 +19,9 @@ impl UpdateClusterKafkaVersionFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl UpdateClusterKafkaVersionFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::update_cluster_kafka_version::UpdateClusterKafkaVersion, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::update_cluster_kafka_version::UpdateClusterKafkaVersionError, + >, + > { + self.customize_middleware().await + } ///

                                                                                              The Amazon Resource Name (ARN) of the cluster to be updated.

                                                                                              pub fn cluster_arn(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.cluster_arn(input.into()); diff --git a/sdk/kafka/src/operation/update_configuration/builders.rs b/sdk/kafka/src/operation/update_configuration/builders.rs index 5e67a9863890..af0b460a2d36 100644 --- a/sdk/kafka/src/operation/update_configuration/builders.rs +++ b/sdk/kafka/src/operation/update_configuration/builders.rs @@ -19,9 +19,9 @@ impl UpdateConfigurationFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl UpdateConfigurationFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::update_configuration::UpdateConfiguration, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::update_configuration::UpdateConfigurationError, + >, + > { + self.customize_middleware().await + } ///

                                                                                              The Amazon Resource Name (ARN) of the configuration.

                                                                                              pub fn arn(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.arn(input.into()); diff --git a/sdk/kafka/src/operation/update_connectivity/builders.rs b/sdk/kafka/src/operation/update_connectivity/builders.rs index 3a45cea55f4c..dc1055720b68 100644 --- a/sdk/kafka/src/operation/update_connectivity/builders.rs +++ b/sdk/kafka/src/operation/update_connectivity/builders.rs @@ -19,9 +19,9 @@ impl UpdateConnectivityFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl UpdateConnectivityFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::update_connectivity::UpdateConnectivity, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::update_connectivity::UpdateConnectivityError, + >, + > { + self.customize_middleware().await + } ///

                                                                                              The Amazon Resource Name (ARN) of the configuration.

                                                                                              pub fn cluster_arn(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.cluster_arn(input.into()); diff --git a/sdk/kafka/src/operation/update_monitoring/builders.rs b/sdk/kafka/src/operation/update_monitoring/builders.rs index 222635957ad3..bc46883d41e1 100644 --- a/sdk/kafka/src/operation/update_monitoring/builders.rs +++ b/sdk/kafka/src/operation/update_monitoring/builders.rs @@ -19,9 +19,9 @@ impl UpdateMonitoringFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl UpdateMonitoringFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::update_monitoring::UpdateMonitoring, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::update_monitoring::UpdateMonitoringError, + >, + > { + self.customize_middleware().await + } ///

                                                                                              The Amazon Resource Name (ARN) that uniquely identifies the cluster.

                                                                                              pub fn cluster_arn(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.cluster_arn(input.into()); diff --git a/sdk/kafka/src/operation/update_security/builders.rs b/sdk/kafka/src/operation/update_security/builders.rs index e984f24a3a41..6d850cd4710f 100644 --- a/sdk/kafka/src/operation/update_security/builders.rs +++ b/sdk/kafka/src/operation/update_security/builders.rs @@ -19,9 +19,9 @@ impl UpdateSecurityFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl UpdateSecurityFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::update_security::UpdateSecurity, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                                              Includes all client authentication related information.

                                                                                              pub fn client_authentication(mut self, input: crate::types::ClientAuthentication) -> Self { self.inner = self.inner.client_authentication(input); diff --git a/sdk/kafka/src/operation/update_storage/builders.rs b/sdk/kafka/src/operation/update_storage/builders.rs index eeffdbbf34b7..ce217a30c08c 100644 --- a/sdk/kafka/src/operation/update_storage/builders.rs +++ b/sdk/kafka/src/operation/update_storage/builders.rs @@ -19,9 +19,9 @@ impl UpdateStorageFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl UpdateStorageFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::update_storage::UpdateStorage, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                                              The Amazon Resource Name (ARN) of the cluster to be updated.

                                                                                              pub fn cluster_arn(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.cluster_arn(input.into()); diff --git a/sdk/kafkaconnect/src/operation/create_connector/builders.rs b/sdk/kafkaconnect/src/operation/create_connector/builders.rs index 59622fc6a8a9..88d6e200c836 100644 --- a/sdk/kafkaconnect/src/operation/create_connector/builders.rs +++ b/sdk/kafkaconnect/src/operation/create_connector/builders.rs @@ -19,9 +19,9 @@ impl CreateConnectorFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl CreateConnectorFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::create_connector::CreateConnector, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::create_connector::CreateConnectorError, + >, + > { + self.customize_middleware().await + } ///

                                                                                              Information about the capacity allocated to the connector. Exactly one of the two properties must be specified.

                                                                                              pub fn capacity(mut self, input: crate::types::Capacity) -> Self { self.inner = self.inner.capacity(input); diff --git a/sdk/kafkaconnect/src/operation/create_custom_plugin/builders.rs b/sdk/kafkaconnect/src/operation/create_custom_plugin/builders.rs index 56cc8ab74e96..c3f0862963dc 100644 --- a/sdk/kafkaconnect/src/operation/create_custom_plugin/builders.rs +++ b/sdk/kafkaconnect/src/operation/create_custom_plugin/builders.rs @@ -19,9 +19,9 @@ impl CreateCustomPluginFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl CreateCustomPluginFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::create_custom_plugin::CreateCustomPlugin, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::create_custom_plugin::CreateCustomPluginError, + >, + > { + self.customize_middleware().await + } ///

                                                                                              The type of the plugin file.

                                                                                              pub fn content_type(mut self, input: crate::types::CustomPluginContentType) -> Self { self.inner = self.inner.content_type(input); diff --git a/sdk/kafkaconnect/src/operation/create_worker_configuration/builders.rs b/sdk/kafkaconnect/src/operation/create_worker_configuration/builders.rs index a9c0018ead9a..246806f56679 100644 --- a/sdk/kafkaconnect/src/operation/create_worker_configuration/builders.rs +++ b/sdk/kafkaconnect/src/operation/create_worker_configuration/builders.rs @@ -19,9 +19,9 @@ impl CreateWorkerConfigurationFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl CreateWorkerConfigurationFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::create_worker_configuration::CreateWorkerConfiguration, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::create_worker_configuration::CreateWorkerConfigurationError, + >, + > { + self.customize_middleware().await + } ///

                                                                                              A summary description of the worker configuration.

                                                                                              pub fn description(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.description(input.into()); diff --git a/sdk/kafkaconnect/src/operation/delete_connector/builders.rs b/sdk/kafkaconnect/src/operation/delete_connector/builders.rs index 20bbca27b18d..55a0417a7ef2 100644 --- a/sdk/kafkaconnect/src/operation/delete_connector/builders.rs +++ b/sdk/kafkaconnect/src/operation/delete_connector/builders.rs @@ -19,9 +19,9 @@ impl DeleteConnectorFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl DeleteConnectorFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::delete_connector::DeleteConnector, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::delete_connector::DeleteConnectorError, + >, + > { + self.customize_middleware().await + } ///

                                                                                              The Amazon Resource Name (ARN) of the connector that you want to delete.

                                                                                              pub fn connector_arn( mut self, diff --git a/sdk/kafkaconnect/src/operation/delete_custom_plugin/builders.rs b/sdk/kafkaconnect/src/operation/delete_custom_plugin/builders.rs index 989b47cd8bad..bd6edc8e1395 100644 --- a/sdk/kafkaconnect/src/operation/delete_custom_plugin/builders.rs +++ b/sdk/kafkaconnect/src/operation/delete_custom_plugin/builders.rs @@ -19,9 +19,9 @@ impl DeleteCustomPluginFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl DeleteCustomPluginFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::delete_custom_plugin::DeleteCustomPlugin, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::delete_custom_plugin::DeleteCustomPluginError, + >, + > { + self.customize_middleware().await + } ///

                                                                                              The Amazon Resource Name (ARN) of the custom plugin that you want to delete.

                                                                                              pub fn custom_plugin_arn( mut self, diff --git a/sdk/kafkaconnect/src/operation/describe_connector/builders.rs b/sdk/kafkaconnect/src/operation/describe_connector/builders.rs index 6996e962a6f8..f296df0e96d5 100644 --- a/sdk/kafkaconnect/src/operation/describe_connector/builders.rs +++ b/sdk/kafkaconnect/src/operation/describe_connector/builders.rs @@ -19,9 +19,9 @@ impl DescribeConnectorFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl DescribeConnectorFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::describe_connector::DescribeConnector, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::describe_connector::DescribeConnectorError, + >, + > { + self.customize_middleware().await + } ///

                                                                                              The Amazon Resource Name (ARN) of the connector that you want to describe.

                                                                                              pub fn connector_arn( mut self, diff --git a/sdk/kafkaconnect/src/operation/describe_custom_plugin/builders.rs b/sdk/kafkaconnect/src/operation/describe_custom_plugin/builders.rs index 7c8a73a6d34d..b996622aabb6 100644 --- a/sdk/kafkaconnect/src/operation/describe_custom_plugin/builders.rs +++ b/sdk/kafkaconnect/src/operation/describe_custom_plugin/builders.rs @@ -19,9 +19,9 @@ impl DescribeCustomPluginFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl DescribeCustomPluginFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::describe_custom_plugin::DescribeCustomPlugin, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::describe_custom_plugin::DescribeCustomPluginError, + >, + > { + self.customize_middleware().await + } ///

                                                                                              Returns information about a custom plugin.

                                                                                              pub fn custom_plugin_arn( mut self, diff --git a/sdk/kafkaconnect/src/operation/describe_worker_configuration/builders.rs b/sdk/kafkaconnect/src/operation/describe_worker_configuration/builders.rs index 2b9b05d5f7cc..535d6a8bf380 100644 --- a/sdk/kafkaconnect/src/operation/describe_worker_configuration/builders.rs +++ b/sdk/kafkaconnect/src/operation/describe_worker_configuration/builders.rs @@ -19,9 +19,9 @@ impl DescribeWorkerConfigurationFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl DescribeWorkerConfigurationFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::describe_worker_configuration::DescribeWorkerConfiguration, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::describe_worker_configuration::DescribeWorkerConfigurationError, + >, + > { + self.customize_middleware().await + } ///

                                                                                              The Amazon Resource Name (ARN) of the worker configuration that you want to get information about.

                                                                                              pub fn worker_configuration_arn( mut self, diff --git a/sdk/kafkaconnect/src/operation/list_connectors/builders.rs b/sdk/kafkaconnect/src/operation/list_connectors/builders.rs index c0e4b35283f7..b4596e5a99b0 100644 --- a/sdk/kafkaconnect/src/operation/list_connectors/builders.rs +++ b/sdk/kafkaconnect/src/operation/list_connectors/builders.rs @@ -19,9 +19,9 @@ impl ListConnectorsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl ListConnectorsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_connectors::ListConnectors, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::list_connectors::paginator::ListConnectorsPaginator::send) which returns a `Stream`. diff --git a/sdk/kafkaconnect/src/operation/list_custom_plugins/builders.rs b/sdk/kafkaconnect/src/operation/list_custom_plugins/builders.rs index 6b69e6c4a762..2f1f1bc3efe7 100644 --- a/sdk/kafkaconnect/src/operation/list_custom_plugins/builders.rs +++ b/sdk/kafkaconnect/src/operation/list_custom_plugins/builders.rs @@ -19,9 +19,9 @@ impl ListCustomPluginsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl ListCustomPluginsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_custom_plugins::ListCustomPlugins, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::list_custom_plugins::ListCustomPluginsError, + >, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::list_custom_plugins::paginator::ListCustomPluginsPaginator::send) which returns a `Stream`. diff --git a/sdk/kafkaconnect/src/operation/list_worker_configurations/builders.rs b/sdk/kafkaconnect/src/operation/list_worker_configurations/builders.rs index 246da3e908a2..dd0226e71d18 100644 --- a/sdk/kafkaconnect/src/operation/list_worker_configurations/builders.rs +++ b/sdk/kafkaconnect/src/operation/list_worker_configurations/builders.rs @@ -19,9 +19,9 @@ impl ListWorkerConfigurationsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl ListWorkerConfigurationsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_worker_configurations::ListWorkerConfigurations, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::list_worker_configurations::ListWorkerConfigurationsError, + >, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::list_worker_configurations::paginator::ListWorkerConfigurationsPaginator::send) which returns a `Stream`. diff --git a/sdk/kafkaconnect/src/operation/update_connector/builders.rs b/sdk/kafkaconnect/src/operation/update_connector/builders.rs index 4d4feb13c8c9..bd79067fc533 100644 --- a/sdk/kafkaconnect/src/operation/update_connector/builders.rs +++ b/sdk/kafkaconnect/src/operation/update_connector/builders.rs @@ -19,9 +19,9 @@ impl UpdateConnectorFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl UpdateConnectorFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::update_connector::UpdateConnector, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::update_connector::UpdateConnectorError, + >, + > { + self.customize_middleware().await + } ///

                                                                                              The target capacity.

                                                                                              pub fn capacity(mut self, input: crate::types::CapacityUpdate) -> Self { self.inner = self.inner.capacity(input); diff --git a/sdk/kendra/src/operation/associate_entities_to_experience/builders.rs b/sdk/kendra/src/operation/associate_entities_to_experience/builders.rs index 340ffe1f50c5..c9c046343020 100644 --- a/sdk/kendra/src/operation/associate_entities_to_experience/builders.rs +++ b/sdk/kendra/src/operation/associate_entities_to_experience/builders.rs @@ -19,9 +19,9 @@ impl AssociateEntitiesToExperienceFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl AssociateEntitiesToExperienceFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::associate_entities_to_experience::AssociateEntitiesToExperience, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::associate_entities_to_experience::AssociateEntitiesToExperienceError, + >, + > { + self.customize_middleware().await + } ///

                                                                                              The identifier of your Amazon Kendra experience.

                                                                                              pub fn id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.id(input.into()); diff --git a/sdk/kendra/src/operation/associate_personas_to_entities/builders.rs b/sdk/kendra/src/operation/associate_personas_to_entities/builders.rs index 29327588e497..d65004bb150f 100644 --- a/sdk/kendra/src/operation/associate_personas_to_entities/builders.rs +++ b/sdk/kendra/src/operation/associate_personas_to_entities/builders.rs @@ -19,9 +19,9 @@ impl AssociatePersonasToEntitiesFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl AssociatePersonasToEntitiesFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::associate_personas_to_entities::AssociatePersonasToEntities, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::associate_personas_to_entities::AssociatePersonasToEntitiesError, + >, + > { + self.customize_middleware().await + } ///

                                                                                              The identifier of your Amazon Kendra experience.

                                                                                              pub fn id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.id(input.into()); diff --git a/sdk/kendra/src/operation/batch_delete_document/builders.rs b/sdk/kendra/src/operation/batch_delete_document/builders.rs index 298e54aab288..80509fe306e8 100644 --- a/sdk/kendra/src/operation/batch_delete_document/builders.rs +++ b/sdk/kendra/src/operation/batch_delete_document/builders.rs @@ -20,9 +20,9 @@ impl BatchDeleteDocumentFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -84,6 +84,22 @@ impl BatchDeleteDocumentFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::batch_delete_document::BatchDeleteDocument, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::batch_delete_document::BatchDeleteDocumentError, + >, + > { + self.customize_middleware().await + } ///

                                                                                              The identifier of the index that contains the documents to delete.

                                                                                              pub fn index_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.index_id(input.into()); diff --git a/sdk/kendra/src/operation/batch_delete_featured_results_set/builders.rs b/sdk/kendra/src/operation/batch_delete_featured_results_set/builders.rs index 94df914c1d78..35700a0e3406 100644 --- a/sdk/kendra/src/operation/batch_delete_featured_results_set/builders.rs +++ b/sdk/kendra/src/operation/batch_delete_featured_results_set/builders.rs @@ -19,9 +19,9 @@ impl BatchDeleteFeaturedResultsSetFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl BatchDeleteFeaturedResultsSetFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::batch_delete_featured_results_set::BatchDeleteFeaturedResultsSet, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::batch_delete_featured_results_set::BatchDeleteFeaturedResultsSetError, + >, + > { + self.customize_middleware().await + } ///

                                                                                              The identifier of the index used for featuring results.

                                                                                              pub fn index_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.index_id(input.into()); diff --git a/sdk/kendra/src/operation/batch_get_document_status/builders.rs b/sdk/kendra/src/operation/batch_get_document_status/builders.rs index 8066b8c4ce4e..de461f0c525a 100644 --- a/sdk/kendra/src/operation/batch_get_document_status/builders.rs +++ b/sdk/kendra/src/operation/batch_get_document_status/builders.rs @@ -22,9 +22,9 @@ impl BatchGetDocumentStatusFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -86,6 +86,22 @@ impl BatchGetDocumentStatusFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::batch_get_document_status::BatchGetDocumentStatus, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::batch_get_document_status::BatchGetDocumentStatusError, + >, + > { + self.customize_middleware().await + } ///

                                                                                              The identifier of the index to add documents to. The index ID is returned by the CreateIndex API.

                                                                                              pub fn index_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.index_id(input.into()); diff --git a/sdk/kendra/src/operation/batch_put_document/builders.rs b/sdk/kendra/src/operation/batch_put_document/builders.rs index a7f2ebaa8581..e8a59508a91c 100644 --- a/sdk/kendra/src/operation/batch_put_document/builders.rs +++ b/sdk/kendra/src/operation/batch_put_document/builders.rs @@ -22,9 +22,9 @@ impl BatchPutDocumentFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -86,6 +86,22 @@ impl BatchPutDocumentFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::batch_put_document::BatchPutDocument, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::batch_put_document::BatchPutDocumentError, + >, + > { + self.customize_middleware().await + } ///

                                                                                              The identifier of the index to add the documents to. You need to create the index first using the CreateIndex API.

                                                                                              pub fn index_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.index_id(input.into()); diff --git a/sdk/kendra/src/operation/clear_query_suggestions/builders.rs b/sdk/kendra/src/operation/clear_query_suggestions/builders.rs index 5e26936d90d2..59a97216c634 100644 --- a/sdk/kendra/src/operation/clear_query_suggestions/builders.rs +++ b/sdk/kendra/src/operation/clear_query_suggestions/builders.rs @@ -21,9 +21,9 @@ impl ClearQuerySuggestionsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -85,6 +85,22 @@ impl ClearQuerySuggestionsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::clear_query_suggestions::ClearQuerySuggestions, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::clear_query_suggestions::ClearQuerySuggestionsError, + >, + > { + self.customize_middleware().await + } ///

                                                                                              The identifier of the index you want to clear query suggestions from.

                                                                                              pub fn index_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.index_id(input.into()); diff --git a/sdk/kendra/src/operation/create_access_control_configuration/builders.rs b/sdk/kendra/src/operation/create_access_control_configuration/builders.rs index 5a85747133b7..0384fb26667d 100644 --- a/sdk/kendra/src/operation/create_access_control_configuration/builders.rs +++ b/sdk/kendra/src/operation/create_access_control_configuration/builders.rs @@ -21,9 +21,9 @@ impl CreateAccessControlConfigurationFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize(self) -> ::std::result::Result< + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware(self) -> ::std::result::Result< crate::client::customize::CustomizableOperation, ::aws_smithy_http::result::SdkError >{ @@ -66,6 +66,15 @@ impl CreateAccessControlConfigurationFluentBuilder { { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize(self) -> ::std::result::Result< + crate::client::customize::CustomizableOperation, + ::aws_smithy_http::result::SdkError + >{ + self.customize_middleware().await + } ///

                                                                                              The identifier of the index to create an access control configuration for your documents.

                                                                                              pub fn index_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.index_id(input.into()); diff --git a/sdk/kendra/src/operation/create_data_source/builders.rs b/sdk/kendra/src/operation/create_data_source/builders.rs index 0eb0b439f271..3d40e81839a7 100644 --- a/sdk/kendra/src/operation/create_data_source/builders.rs +++ b/sdk/kendra/src/operation/create_data_source/builders.rs @@ -22,9 +22,9 @@ impl CreateDataSourceFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -86,6 +86,22 @@ impl CreateDataSourceFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::create_data_source::CreateDataSource, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::create_data_source::CreateDataSourceError, + >, + > { + self.customize_middleware().await + } ///

                                                                                              A name for the data source connector.

                                                                                              pub fn name(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.name(input.into()); diff --git a/sdk/kendra/src/operation/create_experience/builders.rs b/sdk/kendra/src/operation/create_experience/builders.rs index 05006fcf05de..f08a84303053 100644 --- a/sdk/kendra/src/operation/create_experience/builders.rs +++ b/sdk/kendra/src/operation/create_experience/builders.rs @@ -19,9 +19,9 @@ impl CreateExperienceFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl CreateExperienceFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::create_experience::CreateExperience, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::create_experience::CreateExperienceError, + >, + > { + self.customize_middleware().await + } ///

                                                                                              A name for your Amazon Kendra experience.

                                                                                              pub fn name(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.name(input.into()); diff --git a/sdk/kendra/src/operation/create_faq/builders.rs b/sdk/kendra/src/operation/create_faq/builders.rs index 4dc0e26eb1f6..cc2fe04f4885 100644 --- a/sdk/kendra/src/operation/create_faq/builders.rs +++ b/sdk/kendra/src/operation/create_faq/builders.rs @@ -21,9 +21,9 @@ impl CreateFaqFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -79,6 +79,20 @@ impl CreateFaqFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::create_faq::CreateFaq, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                                              The identifier of the index for the FAQ.

                                                                                              pub fn index_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.index_id(input.into()); diff --git a/sdk/kendra/src/operation/create_featured_results_set/builders.rs b/sdk/kendra/src/operation/create_featured_results_set/builders.rs index c2d257e1cf17..bf4744935360 100644 --- a/sdk/kendra/src/operation/create_featured_results_set/builders.rs +++ b/sdk/kendra/src/operation/create_featured_results_set/builders.rs @@ -20,9 +20,9 @@ impl CreateFeaturedResultsSetFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -84,6 +84,22 @@ impl CreateFeaturedResultsSetFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::create_featured_results_set::CreateFeaturedResultsSet, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::create_featured_results_set::CreateFeaturedResultsSetError, + >, + > { + self.customize_middleware().await + } ///

                                                                                              The identifier of the index that you want to use for featuring results.

                                                                                              pub fn index_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.index_id(input.into()); diff --git a/sdk/kendra/src/operation/create_index/builders.rs b/sdk/kendra/src/operation/create_index/builders.rs index 57d9ed041280..025678e7b4fc 100644 --- a/sdk/kendra/src/operation/create_index/builders.rs +++ b/sdk/kendra/src/operation/create_index/builders.rs @@ -21,9 +21,9 @@ impl CreateIndexFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -79,6 +79,20 @@ impl CreateIndexFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::create_index::CreateIndex, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                                              A name for the index.

                                                                                              pub fn name(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.name(input.into()); diff --git a/sdk/kendra/src/operation/create_query_suggestions_block_list/builders.rs b/sdk/kendra/src/operation/create_query_suggestions_block_list/builders.rs index 2a4ef2d46976..6b4a8d487f4c 100644 --- a/sdk/kendra/src/operation/create_query_suggestions_block_list/builders.rs +++ b/sdk/kendra/src/operation/create_query_suggestions_block_list/builders.rs @@ -24,9 +24,9 @@ impl CreateQuerySuggestionsBlockListFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize(self) -> ::std::result::Result< + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware(self) -> ::std::result::Result< crate::client::customize::CustomizableOperation, ::aws_smithy_http::result::SdkError >{ @@ -69,6 +69,15 @@ impl CreateQuerySuggestionsBlockListFluentBuilder { { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize(self) -> ::std::result::Result< + crate::client::customize::CustomizableOperation, + ::aws_smithy_http::result::SdkError + >{ + self.customize_middleware().await + } ///

                                                                                              The identifier of the index you want to create a query suggestions block list for.

                                                                                              pub fn index_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.index_id(input.into()); diff --git a/sdk/kendra/src/operation/create_thesaurus/builders.rs b/sdk/kendra/src/operation/create_thesaurus/builders.rs index 88cc9736c788..508971a1c57a 100644 --- a/sdk/kendra/src/operation/create_thesaurus/builders.rs +++ b/sdk/kendra/src/operation/create_thesaurus/builders.rs @@ -20,9 +20,9 @@ impl CreateThesaurusFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -84,6 +84,22 @@ impl CreateThesaurusFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::create_thesaurus::CreateThesaurus, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::create_thesaurus::CreateThesaurusError, + >, + > { + self.customize_middleware().await + } ///

                                                                                              The identifier of the index for the thesaurus.

                                                                                              pub fn index_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.index_id(input.into()); diff --git a/sdk/kendra/src/operation/delete_access_control_configuration/builders.rs b/sdk/kendra/src/operation/delete_access_control_configuration/builders.rs index 7aac5a07d62b..b893c32d2966 100644 --- a/sdk/kendra/src/operation/delete_access_control_configuration/builders.rs +++ b/sdk/kendra/src/operation/delete_access_control_configuration/builders.rs @@ -19,9 +19,9 @@ impl DeleteAccessControlConfigurationFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize(self) -> ::std::result::Result< + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware(self) -> ::std::result::Result< crate::client::customize::CustomizableOperation, ::aws_smithy_http::result::SdkError >{ @@ -64,6 +64,15 @@ impl DeleteAccessControlConfigurationFluentBuilder { { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize(self) -> ::std::result::Result< + crate::client::customize::CustomizableOperation, + ::aws_smithy_http::result::SdkError + >{ + self.customize_middleware().await + } ///

                                                                                              The identifier of the index for an access control configuration.

                                                                                              pub fn index_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.index_id(input.into()); diff --git a/sdk/kendra/src/operation/delete_data_source/builders.rs b/sdk/kendra/src/operation/delete_data_source/builders.rs index 2b63c74f5c58..fcb2669242ca 100644 --- a/sdk/kendra/src/operation/delete_data_source/builders.rs +++ b/sdk/kendra/src/operation/delete_data_source/builders.rs @@ -19,9 +19,9 @@ impl DeleteDataSourceFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl DeleteDataSourceFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::delete_data_source::DeleteDataSource, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::delete_data_source::DeleteDataSourceError, + >, + > { + self.customize_middleware().await + } ///

                                                                                              The identifier of the data source connector you want to delete.

                                                                                              pub fn id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.id(input.into()); diff --git a/sdk/kendra/src/operation/delete_experience/builders.rs b/sdk/kendra/src/operation/delete_experience/builders.rs index 4d33de6d2593..27d991840f72 100644 --- a/sdk/kendra/src/operation/delete_experience/builders.rs +++ b/sdk/kendra/src/operation/delete_experience/builders.rs @@ -19,9 +19,9 @@ impl DeleteExperienceFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl DeleteExperienceFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::delete_experience::DeleteExperience, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::delete_experience::DeleteExperienceError, + >, + > { + self.customize_middleware().await + } ///

                                                                                              The identifier of your Amazon Kendra experience you want to delete.

                                                                                              pub fn id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.id(input.into()); diff --git a/sdk/kendra/src/operation/delete_faq/builders.rs b/sdk/kendra/src/operation/delete_faq/builders.rs index 482814e0dc84..a5f0dd934ea4 100644 --- a/sdk/kendra/src/operation/delete_faq/builders.rs +++ b/sdk/kendra/src/operation/delete_faq/builders.rs @@ -19,9 +19,9 @@ impl DeleteFaqFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl DeleteFaqFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::delete_faq::DeleteFaq, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                                              The identifier of the FAQ you want to remove.

                                                                                              pub fn id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.id(input.into()); diff --git a/sdk/kendra/src/operation/delete_index/builders.rs b/sdk/kendra/src/operation/delete_index/builders.rs index 6a8ace225778..98a7d1956d66 100644 --- a/sdk/kendra/src/operation/delete_index/builders.rs +++ b/sdk/kendra/src/operation/delete_index/builders.rs @@ -19,9 +19,9 @@ impl DeleteIndexFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl DeleteIndexFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::delete_index::DeleteIndex, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                                              The identifier of the index you want to delete.

                                                                                              pub fn id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.id(input.into()); diff --git a/sdk/kendra/src/operation/delete_principal_mapping/builders.rs b/sdk/kendra/src/operation/delete_principal_mapping/builders.rs index c5db08fe78c2..c15e2f564f11 100644 --- a/sdk/kendra/src/operation/delete_principal_mapping/builders.rs +++ b/sdk/kendra/src/operation/delete_principal_mapping/builders.rs @@ -22,9 +22,9 @@ impl DeletePrincipalMappingFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -86,6 +86,22 @@ impl DeletePrincipalMappingFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::delete_principal_mapping::DeletePrincipalMapping, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::delete_principal_mapping::DeletePrincipalMappingError, + >, + > { + self.customize_middleware().await + } ///

                                                                                              The identifier of the index you want to delete a group from.

                                                                                              pub fn index_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.index_id(input.into()); diff --git a/sdk/kendra/src/operation/delete_query_suggestions_block_list/builders.rs b/sdk/kendra/src/operation/delete_query_suggestions_block_list/builders.rs index 122635291a4f..2c6fd385b34b 100644 --- a/sdk/kendra/src/operation/delete_query_suggestions_block_list/builders.rs +++ b/sdk/kendra/src/operation/delete_query_suggestions_block_list/builders.rs @@ -21,9 +21,9 @@ impl DeleteQuerySuggestionsBlockListFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize(self) -> ::std::result::Result< + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware(self) -> ::std::result::Result< crate::client::customize::CustomizableOperation, ::aws_smithy_http::result::SdkError >{ @@ -66,6 +66,15 @@ impl DeleteQuerySuggestionsBlockListFluentBuilder { { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize(self) -> ::std::result::Result< + crate::client::customize::CustomizableOperation, + ::aws_smithy_http::result::SdkError + >{ + self.customize_middleware().await + } ///

                                                                                              The identifier of the index for the block list.

                                                                                              pub fn index_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.index_id(input.into()); diff --git a/sdk/kendra/src/operation/delete_thesaurus/builders.rs b/sdk/kendra/src/operation/delete_thesaurus/builders.rs index 3c1a733e9557..5c2ec8c8de53 100644 --- a/sdk/kendra/src/operation/delete_thesaurus/builders.rs +++ b/sdk/kendra/src/operation/delete_thesaurus/builders.rs @@ -19,9 +19,9 @@ impl DeleteThesaurusFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl DeleteThesaurusFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::delete_thesaurus::DeleteThesaurus, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::delete_thesaurus::DeleteThesaurusError, + >, + > { + self.customize_middleware().await + } ///

                                                                                              The identifier of the thesaurus you want to delete.

                                                                                              pub fn id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.id(input.into()); diff --git a/sdk/kendra/src/operation/describe_access_control_configuration/builders.rs b/sdk/kendra/src/operation/describe_access_control_configuration/builders.rs index 16311ac2d7fd..639e3319c2a3 100644 --- a/sdk/kendra/src/operation/describe_access_control_configuration/builders.rs +++ b/sdk/kendra/src/operation/describe_access_control_configuration/builders.rs @@ -19,9 +19,9 @@ impl DescribeAccessControlConfigurationFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize(self) -> ::std::result::Result< + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware(self) -> ::std::result::Result< crate::client::customize::CustomizableOperation, ::aws_smithy_http::result::SdkError >{ @@ -64,6 +64,15 @@ impl DescribeAccessControlConfigurationFluentBuilder { { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize(self) -> ::std::result::Result< + crate::client::customize::CustomizableOperation, + ::aws_smithy_http::result::SdkError + >{ + self.customize_middleware().await + } ///

                                                                                              The identifier of the index for an access control configuration.

                                                                                              pub fn index_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.index_id(input.into()); diff --git a/sdk/kendra/src/operation/describe_data_source/builders.rs b/sdk/kendra/src/operation/describe_data_source/builders.rs index f49cf0c1eb1f..42edace9430d 100644 --- a/sdk/kendra/src/operation/describe_data_source/builders.rs +++ b/sdk/kendra/src/operation/describe_data_source/builders.rs @@ -19,9 +19,9 @@ impl DescribeDataSourceFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl DescribeDataSourceFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::describe_data_source::DescribeDataSource, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::describe_data_source::DescribeDataSourceError, + >, + > { + self.customize_middleware().await + } ///

                                                                                              The identifier of the data source connector.

                                                                                              pub fn id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.id(input.into()); diff --git a/sdk/kendra/src/operation/describe_experience/builders.rs b/sdk/kendra/src/operation/describe_experience/builders.rs index 0a500ff922f0..c0ce2b45420d 100644 --- a/sdk/kendra/src/operation/describe_experience/builders.rs +++ b/sdk/kendra/src/operation/describe_experience/builders.rs @@ -19,9 +19,9 @@ impl DescribeExperienceFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl DescribeExperienceFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::describe_experience::DescribeExperience, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::describe_experience::DescribeExperienceError, + >, + > { + self.customize_middleware().await + } ///

                                                                                              The identifier of your Amazon Kendra experience you want to get information on.

                                                                                              pub fn id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.id(input.into()); diff --git a/sdk/kendra/src/operation/describe_faq/builders.rs b/sdk/kendra/src/operation/describe_faq/builders.rs index f1534e67cf45..615f71d47478 100644 --- a/sdk/kendra/src/operation/describe_faq/builders.rs +++ b/sdk/kendra/src/operation/describe_faq/builders.rs @@ -19,9 +19,9 @@ impl DescribeFaqFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl DescribeFaqFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::describe_faq::DescribeFaq, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                                              The identifier of the FAQ you want to get information on.

                                                                                              pub fn id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.id(input.into()); diff --git a/sdk/kendra/src/operation/describe_featured_results_set/builders.rs b/sdk/kendra/src/operation/describe_featured_results_set/builders.rs index b748f168ba08..b070188a5e9f 100644 --- a/sdk/kendra/src/operation/describe_featured_results_set/builders.rs +++ b/sdk/kendra/src/operation/describe_featured_results_set/builders.rs @@ -19,9 +19,9 @@ impl DescribeFeaturedResultsSetFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl DescribeFeaturedResultsSetFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::describe_featured_results_set::DescribeFeaturedResultsSet, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::describe_featured_results_set::DescribeFeaturedResultsSetError, + >, + > { + self.customize_middleware().await + } ///

                                                                                              The identifier of the index used for featuring results.

                                                                                              pub fn index_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.index_id(input.into()); diff --git a/sdk/kendra/src/operation/describe_index/builders.rs b/sdk/kendra/src/operation/describe_index/builders.rs index a134ac285f70..d9650818b8d6 100644 --- a/sdk/kendra/src/operation/describe_index/builders.rs +++ b/sdk/kendra/src/operation/describe_index/builders.rs @@ -19,9 +19,9 @@ impl DescribeIndexFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl DescribeIndexFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::describe_index::DescribeIndex, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                                              The identifier of the index you want to get information on.

                                                                                              pub fn id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.id(input.into()); diff --git a/sdk/kendra/src/operation/describe_principal_mapping/builders.rs b/sdk/kendra/src/operation/describe_principal_mapping/builders.rs index ae51299931c0..5369614415a9 100644 --- a/sdk/kendra/src/operation/describe_principal_mapping/builders.rs +++ b/sdk/kendra/src/operation/describe_principal_mapping/builders.rs @@ -20,9 +20,9 @@ impl DescribePrincipalMappingFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -84,6 +84,22 @@ impl DescribePrincipalMappingFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::describe_principal_mapping::DescribePrincipalMapping, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::describe_principal_mapping::DescribePrincipalMappingError, + >, + > { + self.customize_middleware().await + } ///

                                                                                              The identifier of the index required to check the processing of PUT and DELETE actions for mapping users to their groups.

                                                                                              pub fn index_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.index_id(input.into()); diff --git a/sdk/kendra/src/operation/describe_query_suggestions_block_list/builders.rs b/sdk/kendra/src/operation/describe_query_suggestions_block_list/builders.rs index 027416518d0b..622047df4ee8 100644 --- a/sdk/kendra/src/operation/describe_query_suggestions_block_list/builders.rs +++ b/sdk/kendra/src/operation/describe_query_suggestions_block_list/builders.rs @@ -21,9 +21,9 @@ impl DescribeQuerySuggestionsBlockListFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize(self) -> ::std::result::Result< + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware(self) -> ::std::result::Result< crate::client::customize::CustomizableOperation, ::aws_smithy_http::result::SdkError >{ @@ -66,6 +66,15 @@ impl DescribeQuerySuggestionsBlockListFluentBuilder { { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize(self) -> ::std::result::Result< + crate::client::customize::CustomizableOperation, + ::aws_smithy_http::result::SdkError + >{ + self.customize_middleware().await + } ///

                                                                                              The identifier of the index for the block list.

                                                                                              pub fn index_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.index_id(input.into()); diff --git a/sdk/kendra/src/operation/describe_query_suggestions_config/builders.rs b/sdk/kendra/src/operation/describe_query_suggestions_config/builders.rs index ce8218ac49da..67f99a858f3c 100644 --- a/sdk/kendra/src/operation/describe_query_suggestions_config/builders.rs +++ b/sdk/kendra/src/operation/describe_query_suggestions_config/builders.rs @@ -21,9 +21,9 @@ impl DescribeQuerySuggestionsConfigFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize(self) -> ::std::result::Result< + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware(self) -> ::std::result::Result< crate::client::customize::CustomizableOperation, ::aws_smithy_http::result::SdkError >{ @@ -66,6 +66,15 @@ impl DescribeQuerySuggestionsConfigFluentBuilder { { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize(self) -> ::std::result::Result< + crate::client::customize::CustomizableOperation, + ::aws_smithy_http::result::SdkError + >{ + self.customize_middleware().await + } ///

                                                                                              The identifier of the index with query suggestions that you want to get information on.

                                                                                              pub fn index_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.index_id(input.into()); diff --git a/sdk/kendra/src/operation/describe_thesaurus/builders.rs b/sdk/kendra/src/operation/describe_thesaurus/builders.rs index 38d6356363c1..48d61927dddd 100644 --- a/sdk/kendra/src/operation/describe_thesaurus/builders.rs +++ b/sdk/kendra/src/operation/describe_thesaurus/builders.rs @@ -19,9 +19,9 @@ impl DescribeThesaurusFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl DescribeThesaurusFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::describe_thesaurus::DescribeThesaurus, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::describe_thesaurus::DescribeThesaurusError, + >, + > { + self.customize_middleware().await + } ///

                                                                                              The identifier of the thesaurus you want to get information on.

                                                                                              pub fn id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.id(input.into()); diff --git a/sdk/kendra/src/operation/disassociate_entities_from_experience/builders.rs b/sdk/kendra/src/operation/disassociate_entities_from_experience/builders.rs index 45532c606f15..3d183113072e 100644 --- a/sdk/kendra/src/operation/disassociate_entities_from_experience/builders.rs +++ b/sdk/kendra/src/operation/disassociate_entities_from_experience/builders.rs @@ -19,9 +19,9 @@ impl DisassociateEntitiesFromExperienceFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize(self) -> ::std::result::Result< + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware(self) -> ::std::result::Result< crate::client::customize::CustomizableOperation, ::aws_smithy_http::result::SdkError >{ @@ -64,6 +64,15 @@ impl DisassociateEntitiesFromExperienceFluentBuilder { { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize(self) -> ::std::result::Result< + crate::client::customize::CustomizableOperation, + ::aws_smithy_http::result::SdkError + >{ + self.customize_middleware().await + } ///

                                                                                              The identifier of your Amazon Kendra experience.

                                                                                              pub fn id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.id(input.into()); diff --git a/sdk/kendra/src/operation/disassociate_personas_from_entities/builders.rs b/sdk/kendra/src/operation/disassociate_personas_from_entities/builders.rs index 0c46b5f64eec..fa240732cc56 100644 --- a/sdk/kendra/src/operation/disassociate_personas_from_entities/builders.rs +++ b/sdk/kendra/src/operation/disassociate_personas_from_entities/builders.rs @@ -19,9 +19,9 @@ impl DisassociatePersonasFromEntitiesFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize(self) -> ::std::result::Result< + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware(self) -> ::std::result::Result< crate::client::customize::CustomizableOperation, ::aws_smithy_http::result::SdkError >{ @@ -64,6 +64,15 @@ impl DisassociatePersonasFromEntitiesFluentBuilder { { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize(self) -> ::std::result::Result< + crate::client::customize::CustomizableOperation, + ::aws_smithy_http::result::SdkError + >{ + self.customize_middleware().await + } ///

                                                                                              The identifier of your Amazon Kendra experience.

                                                                                              pub fn id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.id(input.into()); diff --git a/sdk/kendra/src/operation/get_query_suggestions/builders.rs b/sdk/kendra/src/operation/get_query_suggestions/builders.rs index a9ca0197fdc1..6fcba05c89f1 100644 --- a/sdk/kendra/src/operation/get_query_suggestions/builders.rs +++ b/sdk/kendra/src/operation/get_query_suggestions/builders.rs @@ -20,9 +20,9 @@ impl GetQuerySuggestionsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -84,6 +84,22 @@ impl GetQuerySuggestionsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::get_query_suggestions::GetQuerySuggestions, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::get_query_suggestions::GetQuerySuggestionsError, + >, + > { + self.customize_middleware().await + } ///

                                                                                              The identifier of the index you want to get query suggestions from.

                                                                                              pub fn index_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.index_id(input.into()); diff --git a/sdk/kendra/src/operation/get_snapshots/builders.rs b/sdk/kendra/src/operation/get_snapshots/builders.rs index 6acf923a2437..2ebcb9eb69b0 100644 --- a/sdk/kendra/src/operation/get_snapshots/builders.rs +++ b/sdk/kendra/src/operation/get_snapshots/builders.rs @@ -19,9 +19,9 @@ impl GetSnapshotsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl GetSnapshotsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::get_snapshots::GetSnapshots, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::get_snapshots::paginator::GetSnapshotsPaginator::send) which returns a `Stream`. diff --git a/sdk/kendra/src/operation/list_access_control_configurations/builders.rs b/sdk/kendra/src/operation/list_access_control_configurations/builders.rs index c8f2172aae0d..27794def6ac3 100644 --- a/sdk/kendra/src/operation/list_access_control_configurations/builders.rs +++ b/sdk/kendra/src/operation/list_access_control_configurations/builders.rs @@ -19,9 +19,9 @@ impl ListAccessControlConfigurationsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize(self) -> ::std::result::Result< + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware(self) -> ::std::result::Result< crate::client::customize::CustomizableOperation, ::aws_smithy_http::result::SdkError >{ @@ -64,6 +64,15 @@ impl ListAccessControlConfigurationsFluentBuilder { { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize(self) -> ::std::result::Result< + crate::client::customize::CustomizableOperation, + ::aws_smithy_http::result::SdkError + >{ + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::list_access_control_configurations::paginator::ListAccessControlConfigurationsPaginator::send) which returns a `Stream`. diff --git a/sdk/kendra/src/operation/list_data_source_sync_jobs/builders.rs b/sdk/kendra/src/operation/list_data_source_sync_jobs/builders.rs index 09e7f9bbc7f8..63abb53fd6df 100644 --- a/sdk/kendra/src/operation/list_data_source_sync_jobs/builders.rs +++ b/sdk/kendra/src/operation/list_data_source_sync_jobs/builders.rs @@ -20,9 +20,9 @@ impl ListDataSourceSyncJobsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -84,6 +84,22 @@ impl ListDataSourceSyncJobsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_data_source_sync_jobs::ListDataSourceSyncJobs, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::list_data_source_sync_jobs::ListDataSourceSyncJobsError, + >, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::list_data_source_sync_jobs::paginator::ListDataSourceSyncJobsPaginator::send) which returns a `Stream`. diff --git a/sdk/kendra/src/operation/list_data_sources/builders.rs b/sdk/kendra/src/operation/list_data_sources/builders.rs index 57a44165fe1b..7157e3c3003f 100644 --- a/sdk/kendra/src/operation/list_data_sources/builders.rs +++ b/sdk/kendra/src/operation/list_data_sources/builders.rs @@ -19,9 +19,9 @@ impl ListDataSourcesFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl ListDataSourcesFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_data_sources::ListDataSources, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::list_data_sources::ListDataSourcesError, + >, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::list_data_sources::paginator::ListDataSourcesPaginator::send) which returns a `Stream`. diff --git a/sdk/kendra/src/operation/list_entity_personas/builders.rs b/sdk/kendra/src/operation/list_entity_personas/builders.rs index d0a2d0b94c9d..d2dc565b9771 100644 --- a/sdk/kendra/src/operation/list_entity_personas/builders.rs +++ b/sdk/kendra/src/operation/list_entity_personas/builders.rs @@ -19,9 +19,9 @@ impl ListEntityPersonasFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl ListEntityPersonasFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_entity_personas::ListEntityPersonas, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::list_entity_personas::ListEntityPersonasError, + >, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::list_entity_personas::paginator::ListEntityPersonasPaginator::send) which returns a `Stream`. diff --git a/sdk/kendra/src/operation/list_experience_entities/builders.rs b/sdk/kendra/src/operation/list_experience_entities/builders.rs index 0d2000549df6..5ab338acce81 100644 --- a/sdk/kendra/src/operation/list_experience_entities/builders.rs +++ b/sdk/kendra/src/operation/list_experience_entities/builders.rs @@ -19,9 +19,9 @@ impl ListExperienceEntitiesFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl ListExperienceEntitiesFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_experience_entities::ListExperienceEntities, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::list_experience_entities::ListExperienceEntitiesError, + >, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::list_experience_entities::paginator::ListExperienceEntitiesPaginator::send) which returns a `Stream`. diff --git a/sdk/kendra/src/operation/list_experiences/builders.rs b/sdk/kendra/src/operation/list_experiences/builders.rs index 2e1ef31dda7d..6c43413acb7b 100644 --- a/sdk/kendra/src/operation/list_experiences/builders.rs +++ b/sdk/kendra/src/operation/list_experiences/builders.rs @@ -19,9 +19,9 @@ impl ListExperiencesFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl ListExperiencesFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_experiences::ListExperiences, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::list_experiences::ListExperiencesError, + >, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::list_experiences::paginator::ListExperiencesPaginator::send) which returns a `Stream`. diff --git a/sdk/kendra/src/operation/list_faqs/builders.rs b/sdk/kendra/src/operation/list_faqs/builders.rs index 3c69acfd889c..7866edac95d4 100644 --- a/sdk/kendra/src/operation/list_faqs/builders.rs +++ b/sdk/kendra/src/operation/list_faqs/builders.rs @@ -19,9 +19,9 @@ impl ListFaqsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl ListFaqsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_faqs::ListFaqs, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::list_faqs::paginator::ListFaqsPaginator::send) which returns a `Stream`. diff --git a/sdk/kendra/src/operation/list_featured_results_sets/builders.rs b/sdk/kendra/src/operation/list_featured_results_sets/builders.rs index 1522103db79e..eae412d7bd39 100644 --- a/sdk/kendra/src/operation/list_featured_results_sets/builders.rs +++ b/sdk/kendra/src/operation/list_featured_results_sets/builders.rs @@ -20,9 +20,9 @@ impl ListFeaturedResultsSetsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -84,6 +84,22 @@ impl ListFeaturedResultsSetsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_featured_results_sets::ListFeaturedResultsSets, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::list_featured_results_sets::ListFeaturedResultsSetsError, + >, + > { + self.customize_middleware().await + } ///

                                                                                              The identifier of the index used for featuring results.

                                                                                              pub fn index_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.index_id(input.into()); diff --git a/sdk/kendra/src/operation/list_groups_older_than_ordering_id/builders.rs b/sdk/kendra/src/operation/list_groups_older_than_ordering_id/builders.rs index e67b750cc251..4e945b29bbb4 100644 --- a/sdk/kendra/src/operation/list_groups_older_than_ordering_id/builders.rs +++ b/sdk/kendra/src/operation/list_groups_older_than_ordering_id/builders.rs @@ -20,9 +20,9 @@ impl ListGroupsOlderThanOrderingIdFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize(self) -> ::std::result::Result< + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware(self) -> ::std::result::Result< crate::client::customize::CustomizableOperation, ::aws_smithy_http::result::SdkError >{ @@ -65,6 +65,15 @@ impl ListGroupsOlderThanOrderingIdFluentBuilder { { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize(self) -> ::std::result::Result< + crate::client::customize::CustomizableOperation, + ::aws_smithy_http::result::SdkError + >{ + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::list_groups_older_than_ordering_id::paginator::ListGroupsOlderThanOrderingIdPaginator::send) which returns a `Stream`. diff --git a/sdk/kendra/src/operation/list_indices/builders.rs b/sdk/kendra/src/operation/list_indices/builders.rs index 7a201d9f985e..7b2076272503 100644 --- a/sdk/kendra/src/operation/list_indices/builders.rs +++ b/sdk/kendra/src/operation/list_indices/builders.rs @@ -19,9 +19,9 @@ impl ListIndicesFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl ListIndicesFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_indices::ListIndices, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::list_indices::paginator::ListIndicesPaginator::send) which returns a `Stream`. diff --git a/sdk/kendra/src/operation/list_query_suggestions_block_lists/builders.rs b/sdk/kendra/src/operation/list_query_suggestions_block_lists/builders.rs index bd1714bed2f5..d41a26e6ee2c 100644 --- a/sdk/kendra/src/operation/list_query_suggestions_block_lists/builders.rs +++ b/sdk/kendra/src/operation/list_query_suggestions_block_lists/builders.rs @@ -21,9 +21,9 @@ impl ListQuerySuggestionsBlockListsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize(self) -> ::std::result::Result< + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware(self) -> ::std::result::Result< crate::client::customize::CustomizableOperation, ::aws_smithy_http::result::SdkError >{ @@ -66,6 +66,15 @@ impl ListQuerySuggestionsBlockListsFluentBuilder { { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize(self) -> ::std::result::Result< + crate::client::customize::CustomizableOperation, + ::aws_smithy_http::result::SdkError + >{ + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::list_query_suggestions_block_lists::paginator::ListQuerySuggestionsBlockListsPaginator::send) which returns a `Stream`. diff --git a/sdk/kendra/src/operation/list_tags_for_resource/builders.rs b/sdk/kendra/src/operation/list_tags_for_resource/builders.rs index 318afed45c5e..2c5cdd9b5a84 100644 --- a/sdk/kendra/src/operation/list_tags_for_resource/builders.rs +++ b/sdk/kendra/src/operation/list_tags_for_resource/builders.rs @@ -19,9 +19,9 @@ impl ListTagsForResourceFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl ListTagsForResourceFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_tags_for_resource::ListTagsForResource, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::list_tags_for_resource::ListTagsForResourceError, + >, + > { + self.customize_middleware().await + } ///

                                                                                              The Amazon Resource Name (ARN) of the index, FAQ, or data source to get a list of tags for.

                                                                                              pub fn resource_arn(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.resource_arn(input.into()); diff --git a/sdk/kendra/src/operation/list_thesauri/builders.rs b/sdk/kendra/src/operation/list_thesauri/builders.rs index 701166ff102d..bffa441b1f46 100644 --- a/sdk/kendra/src/operation/list_thesauri/builders.rs +++ b/sdk/kendra/src/operation/list_thesauri/builders.rs @@ -19,9 +19,9 @@ impl ListThesauriFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl ListThesauriFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_thesauri::ListThesauri, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::list_thesauri::paginator::ListThesauriPaginator::send) which returns a `Stream`. diff --git a/sdk/kendra/src/operation/put_principal_mapping/builders.rs b/sdk/kendra/src/operation/put_principal_mapping/builders.rs index d1ac36919494..27913f723c15 100644 --- a/sdk/kendra/src/operation/put_principal_mapping/builders.rs +++ b/sdk/kendra/src/operation/put_principal_mapping/builders.rs @@ -22,9 +22,9 @@ impl PutPrincipalMappingFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -86,6 +86,22 @@ impl PutPrincipalMappingFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::put_principal_mapping::PutPrincipalMapping, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::put_principal_mapping::PutPrincipalMappingError, + >, + > { + self.customize_middleware().await + } ///

                                                                                              The identifier of the index you want to map users to their groups.

                                                                                              pub fn index_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.index_id(input.into()); diff --git a/sdk/kendra/src/operation/query/builders.rs b/sdk/kendra/src/operation/query/builders.rs index 98108a73bb1d..d3e0a04f2b57 100644 --- a/sdk/kendra/src/operation/query/builders.rs +++ b/sdk/kendra/src/operation/query/builders.rs @@ -28,9 +28,9 @@ impl QueryFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -86,6 +86,20 @@ impl QueryFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::query::Query, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                                              The identifier of the index to search. The identifier is returned in the response from the CreateIndex API.

                                                                                              pub fn index_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.index_id(input.into()); diff --git a/sdk/kendra/src/operation/start_data_source_sync_job/builders.rs b/sdk/kendra/src/operation/start_data_source_sync_job/builders.rs index 4ea402a59c6e..29cfdf63e412 100644 --- a/sdk/kendra/src/operation/start_data_source_sync_job/builders.rs +++ b/sdk/kendra/src/operation/start_data_source_sync_job/builders.rs @@ -20,9 +20,9 @@ impl StartDataSourceSyncJobFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -84,6 +84,22 @@ impl StartDataSourceSyncJobFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::start_data_source_sync_job::StartDataSourceSyncJob, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::start_data_source_sync_job::StartDataSourceSyncJobError, + >, + > { + self.customize_middleware().await + } ///

                                                                                              The identifier of the data source connector to synchronize.

                                                                                              pub fn id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.id(input.into()); diff --git a/sdk/kendra/src/operation/stop_data_source_sync_job/builders.rs b/sdk/kendra/src/operation/stop_data_source_sync_job/builders.rs index feb9adab1fe1..85bc2c09c441 100644 --- a/sdk/kendra/src/operation/stop_data_source_sync_job/builders.rs +++ b/sdk/kendra/src/operation/stop_data_source_sync_job/builders.rs @@ -19,9 +19,9 @@ impl StopDataSourceSyncJobFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl StopDataSourceSyncJobFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::stop_data_source_sync_job::StopDataSourceSyncJob, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::stop_data_source_sync_job::StopDataSourceSyncJobError, + >, + > { + self.customize_middleware().await + } ///

                                                                                              The identifier of the data source connector for which to stop the synchronization jobs.

                                                                                              pub fn id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.id(input.into()); diff --git a/sdk/kendra/src/operation/submit_feedback/builders.rs b/sdk/kendra/src/operation/submit_feedback/builders.rs index 066ef7bc4a30..5009ccd54ebf 100644 --- a/sdk/kendra/src/operation/submit_feedback/builders.rs +++ b/sdk/kendra/src/operation/submit_feedback/builders.rs @@ -20,9 +20,9 @@ impl SubmitFeedbackFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -78,6 +78,20 @@ impl SubmitFeedbackFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::submit_feedback::SubmitFeedback, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                                              The identifier of the index that was queried.

                                                                                              pub fn index_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.index_id(input.into()); diff --git a/sdk/kendra/src/operation/tag_resource/builders.rs b/sdk/kendra/src/operation/tag_resource/builders.rs index 9623dacce01d..829cea8be401 100644 --- a/sdk/kendra/src/operation/tag_resource/builders.rs +++ b/sdk/kendra/src/operation/tag_resource/builders.rs @@ -19,9 +19,9 @@ impl TagResourceFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl TagResourceFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::tag_resource::TagResource, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                                              The Amazon Resource Name (ARN) of the index, FAQ, or data source to tag.

                                                                                              pub fn resource_arn(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.resource_arn(input.into()); diff --git a/sdk/kendra/src/operation/untag_resource/builders.rs b/sdk/kendra/src/operation/untag_resource/builders.rs index 5aa3cb501785..0e215b80ce84 100644 --- a/sdk/kendra/src/operation/untag_resource/builders.rs +++ b/sdk/kendra/src/operation/untag_resource/builders.rs @@ -19,9 +19,9 @@ impl UntagResourceFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl UntagResourceFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::untag_resource::UntagResource, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                                              The Amazon Resource Name (ARN) of the index, FAQ, or data source to remove the tag from.

                                                                                              pub fn resource_arn(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.resource_arn(input.into()); diff --git a/sdk/kendra/src/operation/update_access_control_configuration/builders.rs b/sdk/kendra/src/operation/update_access_control_configuration/builders.rs index 2de552e3a287..39d1573b8fb0 100644 --- a/sdk/kendra/src/operation/update_access_control_configuration/builders.rs +++ b/sdk/kendra/src/operation/update_access_control_configuration/builders.rs @@ -21,9 +21,9 @@ impl UpdateAccessControlConfigurationFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize(self) -> ::std::result::Result< + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware(self) -> ::std::result::Result< crate::client::customize::CustomizableOperation, ::aws_smithy_http::result::SdkError >{ @@ -66,6 +66,15 @@ impl UpdateAccessControlConfigurationFluentBuilder { { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize(self) -> ::std::result::Result< + crate::client::customize::CustomizableOperation, + ::aws_smithy_http::result::SdkError + >{ + self.customize_middleware().await + } ///

                                                                                              The identifier of the index for an access control configuration.

                                                                                              pub fn index_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.index_id(input.into()); diff --git a/sdk/kendra/src/operation/update_data_source/builders.rs b/sdk/kendra/src/operation/update_data_source/builders.rs index 01e6bd5a6171..c9d7b6f2ddc4 100644 --- a/sdk/kendra/src/operation/update_data_source/builders.rs +++ b/sdk/kendra/src/operation/update_data_source/builders.rs @@ -19,9 +19,9 @@ impl UpdateDataSourceFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl UpdateDataSourceFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::update_data_source::UpdateDataSource, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::update_data_source::UpdateDataSourceError, + >, + > { + self.customize_middleware().await + } ///

                                                                                              The identifier of the data source connector you want to update.

                                                                                              pub fn id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.id(input.into()); diff --git a/sdk/kendra/src/operation/update_experience/builders.rs b/sdk/kendra/src/operation/update_experience/builders.rs index bfc0fbdee351..afe1bbc1eed5 100644 --- a/sdk/kendra/src/operation/update_experience/builders.rs +++ b/sdk/kendra/src/operation/update_experience/builders.rs @@ -19,9 +19,9 @@ impl UpdateExperienceFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl UpdateExperienceFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::update_experience::UpdateExperience, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::update_experience::UpdateExperienceError, + >, + > { + self.customize_middleware().await + } ///

                                                                                              The identifier of your Amazon Kendra experience you want to update.

                                                                                              pub fn id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.id(input.into()); diff --git a/sdk/kendra/src/operation/update_featured_results_set/builders.rs b/sdk/kendra/src/operation/update_featured_results_set/builders.rs index 3f988ce3c2d0..1e6115330777 100644 --- a/sdk/kendra/src/operation/update_featured_results_set/builders.rs +++ b/sdk/kendra/src/operation/update_featured_results_set/builders.rs @@ -19,9 +19,9 @@ impl UpdateFeaturedResultsSetFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl UpdateFeaturedResultsSetFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::update_featured_results_set::UpdateFeaturedResultsSet, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::update_featured_results_set::UpdateFeaturedResultsSetError, + >, + > { + self.customize_middleware().await + } ///

                                                                                              The identifier of the index used for featuring results.

                                                                                              pub fn index_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.index_id(input.into()); diff --git a/sdk/kendra/src/operation/update_index/builders.rs b/sdk/kendra/src/operation/update_index/builders.rs index 02e74303310f..0a0787bf5131 100644 --- a/sdk/kendra/src/operation/update_index/builders.rs +++ b/sdk/kendra/src/operation/update_index/builders.rs @@ -19,9 +19,9 @@ impl UpdateIndexFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl UpdateIndexFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::update_index::UpdateIndex, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                                              The identifier of the index you want to update.

                                                                                              pub fn id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.id(input.into()); diff --git a/sdk/kendra/src/operation/update_query_suggestions_block_list/builders.rs b/sdk/kendra/src/operation/update_query_suggestions_block_list/builders.rs index 2943522dfeef..6458c447cd14 100644 --- a/sdk/kendra/src/operation/update_query_suggestions_block_list/builders.rs +++ b/sdk/kendra/src/operation/update_query_suggestions_block_list/builders.rs @@ -23,9 +23,9 @@ impl UpdateQuerySuggestionsBlockListFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize(self) -> ::std::result::Result< + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware(self) -> ::std::result::Result< crate::client::customize::CustomizableOperation, ::aws_smithy_http::result::SdkError >{ @@ -68,6 +68,15 @@ impl UpdateQuerySuggestionsBlockListFluentBuilder { { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize(self) -> ::std::result::Result< + crate::client::customize::CustomizableOperation, + ::aws_smithy_http::result::SdkError + >{ + self.customize_middleware().await + } ///

                                                                                              The identifier of the index for the block list.

                                                                                              pub fn index_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.index_id(input.into()); diff --git a/sdk/kendra/src/operation/update_query_suggestions_config/builders.rs b/sdk/kendra/src/operation/update_query_suggestions_config/builders.rs index 83eaf621e642..9db7b796b256 100644 --- a/sdk/kendra/src/operation/update_query_suggestions_config/builders.rs +++ b/sdk/kendra/src/operation/update_query_suggestions_config/builders.rs @@ -24,9 +24,9 @@ impl UpdateQuerySuggestionsConfigFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -88,6 +88,22 @@ impl UpdateQuerySuggestionsConfigFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::update_query_suggestions_config::UpdateQuerySuggestionsConfig, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::update_query_suggestions_config::UpdateQuerySuggestionsConfigError, + >, + > { + self.customize_middleware().await + } ///

                                                                                              The identifier of the index with query suggestions you want to update.

                                                                                              pub fn index_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.index_id(input.into()); diff --git a/sdk/kendra/src/operation/update_thesaurus/builders.rs b/sdk/kendra/src/operation/update_thesaurus/builders.rs index d5f9eb88e704..c8d6ce4ace83 100644 --- a/sdk/kendra/src/operation/update_thesaurus/builders.rs +++ b/sdk/kendra/src/operation/update_thesaurus/builders.rs @@ -19,9 +19,9 @@ impl UpdateThesaurusFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl UpdateThesaurusFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::update_thesaurus::UpdateThesaurus, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::update_thesaurus::UpdateThesaurusError, + >, + > { + self.customize_middleware().await + } ///

                                                                                              The identifier of the thesaurus you want to update.

                                                                                              pub fn id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.id(input.into()); diff --git a/sdk/kendraranking/src/operation/create_rescore_execution_plan/builders.rs b/sdk/kendraranking/src/operation/create_rescore_execution_plan/builders.rs index 1180956ac02c..fa2d48c993cf 100644 --- a/sdk/kendraranking/src/operation/create_rescore_execution_plan/builders.rs +++ b/sdk/kendraranking/src/operation/create_rescore_execution_plan/builders.rs @@ -20,9 +20,9 @@ impl CreateRescoreExecutionPlanFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -84,6 +84,22 @@ impl CreateRescoreExecutionPlanFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::create_rescore_execution_plan::CreateRescoreExecutionPlan, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::create_rescore_execution_plan::CreateRescoreExecutionPlanError, + >, + > { + self.customize_middleware().await + } ///

                                                                                              A name for the rescore execution plan.

                                                                                              pub fn name(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.name(input.into()); diff --git a/sdk/kendraranking/src/operation/delete_rescore_execution_plan/builders.rs b/sdk/kendraranking/src/operation/delete_rescore_execution_plan/builders.rs index 99a5d7a1cb96..6120d7053dd3 100644 --- a/sdk/kendraranking/src/operation/delete_rescore_execution_plan/builders.rs +++ b/sdk/kendraranking/src/operation/delete_rescore_execution_plan/builders.rs @@ -19,9 +19,9 @@ impl DeleteRescoreExecutionPlanFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl DeleteRescoreExecutionPlanFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::delete_rescore_execution_plan::DeleteRescoreExecutionPlan, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::delete_rescore_execution_plan::DeleteRescoreExecutionPlanError, + >, + > { + self.customize_middleware().await + } ///

                                                                                              The identifier of the rescore execution plan that you want to delete.

                                                                                              pub fn id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.id(input.into()); diff --git a/sdk/kendraranking/src/operation/describe_rescore_execution_plan/builders.rs b/sdk/kendraranking/src/operation/describe_rescore_execution_plan/builders.rs index 137d8313b431..ab81caf1451b 100644 --- a/sdk/kendraranking/src/operation/describe_rescore_execution_plan/builders.rs +++ b/sdk/kendraranking/src/operation/describe_rescore_execution_plan/builders.rs @@ -19,9 +19,9 @@ impl DescribeRescoreExecutionPlanFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl DescribeRescoreExecutionPlanFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::describe_rescore_execution_plan::DescribeRescoreExecutionPlan, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::describe_rescore_execution_plan::DescribeRescoreExecutionPlanError, + >, + > { + self.customize_middleware().await + } ///

                                                                                              The identifier of the rescore execution plan that you want to get information on.

                                                                                              pub fn id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.id(input.into()); diff --git a/sdk/kendraranking/src/operation/list_rescore_execution_plans/builders.rs b/sdk/kendraranking/src/operation/list_rescore_execution_plans/builders.rs index 9215b32fe2f8..a39586500220 100644 --- a/sdk/kendraranking/src/operation/list_rescore_execution_plans/builders.rs +++ b/sdk/kendraranking/src/operation/list_rescore_execution_plans/builders.rs @@ -19,9 +19,9 @@ impl ListRescoreExecutionPlansFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl ListRescoreExecutionPlansFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_rescore_execution_plans::ListRescoreExecutionPlans, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::list_rescore_execution_plans::ListRescoreExecutionPlansError, + >, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::list_rescore_execution_plans::paginator::ListRescoreExecutionPlansPaginator::send) which returns a `Stream`. diff --git a/sdk/kendraranking/src/operation/list_tags_for_resource/builders.rs b/sdk/kendraranking/src/operation/list_tags_for_resource/builders.rs index d65ea47e45d2..77b9783fd40d 100644 --- a/sdk/kendraranking/src/operation/list_tags_for_resource/builders.rs +++ b/sdk/kendraranking/src/operation/list_tags_for_resource/builders.rs @@ -19,9 +19,9 @@ impl ListTagsForResourceFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl ListTagsForResourceFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_tags_for_resource::ListTagsForResource, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::list_tags_for_resource::ListTagsForResourceError, + >, + > { + self.customize_middleware().await + } ///

                                                                                              The Amazon Resource Name (ARN) of the rescore execution plan to get a list of tags for.

                                                                                              pub fn resource_arn(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.resource_arn(input.into()); diff --git a/sdk/kendraranking/src/operation/rescore/builders.rs b/sdk/kendraranking/src/operation/rescore/builders.rs index 86ee20a7df25..defdbc946763 100644 --- a/sdk/kendraranking/src/operation/rescore/builders.rs +++ b/sdk/kendraranking/src/operation/rescore/builders.rs @@ -19,9 +19,9 @@ impl RescoreFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl RescoreFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::rescore::Rescore, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                                              The identifier of the rescore execution plan. A rescore execution plan is an Amazon Kendra Intelligent Ranking resource used for provisioning the Rescore API.

                                                                                              pub fn rescore_execution_plan_id( mut self, diff --git a/sdk/kendraranking/src/operation/tag_resource/builders.rs b/sdk/kendraranking/src/operation/tag_resource/builders.rs index f36f8a405a50..307112e46812 100644 --- a/sdk/kendraranking/src/operation/tag_resource/builders.rs +++ b/sdk/kendraranking/src/operation/tag_resource/builders.rs @@ -19,9 +19,9 @@ impl TagResourceFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl TagResourceFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::tag_resource::TagResource, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                                              The Amazon Resource Name (ARN) of the rescore execution plan to tag.

                                                                                              pub fn resource_arn(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.resource_arn(input.into()); diff --git a/sdk/kendraranking/src/operation/untag_resource/builders.rs b/sdk/kendraranking/src/operation/untag_resource/builders.rs index eeb7b24c55bd..d2eb212e86d1 100644 --- a/sdk/kendraranking/src/operation/untag_resource/builders.rs +++ b/sdk/kendraranking/src/operation/untag_resource/builders.rs @@ -19,9 +19,9 @@ impl UntagResourceFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl UntagResourceFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::untag_resource::UntagResource, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                                              The Amazon Resource Name (ARN) of the rescore execution plan to remove the tag.

                                                                                              pub fn resource_arn(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.resource_arn(input.into()); diff --git a/sdk/kendraranking/src/operation/update_rescore_execution_plan/builders.rs b/sdk/kendraranking/src/operation/update_rescore_execution_plan/builders.rs index 9442df600309..08f83e2b6f5c 100644 --- a/sdk/kendraranking/src/operation/update_rescore_execution_plan/builders.rs +++ b/sdk/kendraranking/src/operation/update_rescore_execution_plan/builders.rs @@ -19,9 +19,9 @@ impl UpdateRescoreExecutionPlanFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl UpdateRescoreExecutionPlanFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::update_rescore_execution_plan::UpdateRescoreExecutionPlan, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::update_rescore_execution_plan::UpdateRescoreExecutionPlanError, + >, + > { + self.customize_middleware().await + } ///

                                                                                              The identifier of the rescore execution plan that you want to update.

                                                                                              pub fn id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.id(input.into()); diff --git a/sdk/keyspaces/src/operation/create_keyspace/builders.rs b/sdk/keyspaces/src/operation/create_keyspace/builders.rs index da718967cbd9..a21defec4c1c 100644 --- a/sdk/keyspaces/src/operation/create_keyspace/builders.rs +++ b/sdk/keyspaces/src/operation/create_keyspace/builders.rs @@ -21,9 +21,9 @@ impl CreateKeyspaceFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -79,6 +79,20 @@ impl CreateKeyspaceFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::create_keyspace::CreateKeyspace, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                                              The name of the keyspace to be created.

                                                                                              pub fn keyspace_name( mut self, diff --git a/sdk/keyspaces/src/operation/create_table/builders.rs b/sdk/keyspaces/src/operation/create_table/builders.rs index 6be62b5f281c..1d657b13cc12 100644 --- a/sdk/keyspaces/src/operation/create_table/builders.rs +++ b/sdk/keyspaces/src/operation/create_table/builders.rs @@ -21,9 +21,9 @@ impl CreateTableFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -79,6 +79,20 @@ impl CreateTableFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::create_table::CreateTable, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                                              The name of the keyspace that the table is going to be created in.

                                                                                              pub fn keyspace_name( mut self, diff --git a/sdk/keyspaces/src/operation/delete_keyspace/builders.rs b/sdk/keyspaces/src/operation/delete_keyspace/builders.rs index d0425780085f..73de841089ba 100644 --- a/sdk/keyspaces/src/operation/delete_keyspace/builders.rs +++ b/sdk/keyspaces/src/operation/delete_keyspace/builders.rs @@ -19,9 +19,9 @@ impl DeleteKeyspaceFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl DeleteKeyspaceFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::delete_keyspace::DeleteKeyspace, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                                              The name of the keyspace to be deleted.

                                                                                              pub fn keyspace_name( mut self, diff --git a/sdk/keyspaces/src/operation/delete_table/builders.rs b/sdk/keyspaces/src/operation/delete_table/builders.rs index 05c0f4c5b008..1d285fc83c0b 100644 --- a/sdk/keyspaces/src/operation/delete_table/builders.rs +++ b/sdk/keyspaces/src/operation/delete_table/builders.rs @@ -19,9 +19,9 @@ impl DeleteTableFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl DeleteTableFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::delete_table::DeleteTable, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                                              The name of the keyspace of the to be deleted table.

                                                                                              pub fn keyspace_name( mut self, diff --git a/sdk/keyspaces/src/operation/get_keyspace/builders.rs b/sdk/keyspaces/src/operation/get_keyspace/builders.rs index a02d03f62d2d..77a32642a9d5 100644 --- a/sdk/keyspaces/src/operation/get_keyspace/builders.rs +++ b/sdk/keyspaces/src/operation/get_keyspace/builders.rs @@ -19,9 +19,9 @@ impl GetKeyspaceFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl GetKeyspaceFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::get_keyspace::GetKeyspace, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                                              The name of the keyspace.

                                                                                              pub fn keyspace_name( mut self, diff --git a/sdk/keyspaces/src/operation/get_table/builders.rs b/sdk/keyspaces/src/operation/get_table/builders.rs index c33b3fc53b04..9de8aa4144eb 100644 --- a/sdk/keyspaces/src/operation/get_table/builders.rs +++ b/sdk/keyspaces/src/operation/get_table/builders.rs @@ -20,9 +20,9 @@ impl GetTableFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -78,6 +78,20 @@ impl GetTableFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::get_table::GetTable, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                                              The name of the keyspace that the table is stored in.

                                                                                              pub fn keyspace_name( mut self, diff --git a/sdk/keyspaces/src/operation/list_keyspaces/builders.rs b/sdk/keyspaces/src/operation/list_keyspaces/builders.rs index 4e53d18f39d9..bce42a19226c 100644 --- a/sdk/keyspaces/src/operation/list_keyspaces/builders.rs +++ b/sdk/keyspaces/src/operation/list_keyspaces/builders.rs @@ -19,9 +19,9 @@ impl ListKeyspacesFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl ListKeyspacesFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_keyspaces::ListKeyspaces, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::list_keyspaces::paginator::ListKeyspacesPaginator::send) which returns a `Stream`. diff --git a/sdk/keyspaces/src/operation/list_tables/builders.rs b/sdk/keyspaces/src/operation/list_tables/builders.rs index 247d6e8eba3b..8197e63da06d 100644 --- a/sdk/keyspaces/src/operation/list_tables/builders.rs +++ b/sdk/keyspaces/src/operation/list_tables/builders.rs @@ -19,9 +19,9 @@ impl ListTablesFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl ListTablesFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_tables::ListTables, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::list_tables::paginator::ListTablesPaginator::send) which returns a `Stream`. diff --git a/sdk/keyspaces/src/operation/list_tags_for_resource/builders.rs b/sdk/keyspaces/src/operation/list_tags_for_resource/builders.rs index f7807a37446f..4ed5a225203b 100644 --- a/sdk/keyspaces/src/operation/list_tags_for_resource/builders.rs +++ b/sdk/keyspaces/src/operation/list_tags_for_resource/builders.rs @@ -19,9 +19,9 @@ impl ListTagsForResourceFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl ListTagsForResourceFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_tags_for_resource::ListTagsForResource, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::list_tags_for_resource::ListTagsForResourceError, + >, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::list_tags_for_resource::paginator::ListTagsForResourcePaginator::send) which returns a `Stream`. diff --git a/sdk/keyspaces/src/operation/restore_table/builders.rs b/sdk/keyspaces/src/operation/restore_table/builders.rs index 8bfcb6f2755a..699c697cc8ef 100644 --- a/sdk/keyspaces/src/operation/restore_table/builders.rs +++ b/sdk/keyspaces/src/operation/restore_table/builders.rs @@ -36,9 +36,9 @@ impl RestoreTableFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -94,6 +94,20 @@ impl RestoreTableFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::restore_table::RestoreTable, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                                              The keyspace name of the source table.

                                                                                              pub fn source_keyspace_name( mut self, diff --git a/sdk/keyspaces/src/operation/tag_resource/builders.rs b/sdk/keyspaces/src/operation/tag_resource/builders.rs index 975ace0484ec..aa2167382e6b 100644 --- a/sdk/keyspaces/src/operation/tag_resource/builders.rs +++ b/sdk/keyspaces/src/operation/tag_resource/builders.rs @@ -20,9 +20,9 @@ impl TagResourceFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -78,6 +78,20 @@ impl TagResourceFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::tag_resource::TagResource, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                                              The Amazon Resource Name (ARN) of the Amazon Keyspaces resource to which to add tags.

                                                                                              pub fn resource_arn(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.resource_arn(input.into()); diff --git a/sdk/keyspaces/src/operation/untag_resource/builders.rs b/sdk/keyspaces/src/operation/untag_resource/builders.rs index ad739ba8e287..06a085ae299d 100644 --- a/sdk/keyspaces/src/operation/untag_resource/builders.rs +++ b/sdk/keyspaces/src/operation/untag_resource/builders.rs @@ -19,9 +19,9 @@ impl UntagResourceFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl UntagResourceFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::untag_resource::UntagResource, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                                              The Amazon Keyspaces resource that the tags will be removed from. This value is an Amazon Resource Name (ARN).

                                                                                              pub fn resource_arn(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.resource_arn(input.into()); diff --git a/sdk/keyspaces/src/operation/update_table/builders.rs b/sdk/keyspaces/src/operation/update_table/builders.rs index 10e438692c0d..931c7ef14611 100644 --- a/sdk/keyspaces/src/operation/update_table/builders.rs +++ b/sdk/keyspaces/src/operation/update_table/builders.rs @@ -19,9 +19,9 @@ impl UpdateTableFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl UpdateTableFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::update_table::UpdateTable, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                                              The name of the keyspace the specified table is stored in.

                                                                                              pub fn keyspace_name( mut self, diff --git a/sdk/kinesis/src/operation/add_tags_to_stream/builders.rs b/sdk/kinesis/src/operation/add_tags_to_stream/builders.rs index 448815bb654b..f546ff3f88f5 100644 --- a/sdk/kinesis/src/operation/add_tags_to_stream/builders.rs +++ b/sdk/kinesis/src/operation/add_tags_to_stream/builders.rs @@ -23,9 +23,9 @@ impl AddTagsToStreamFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -87,6 +87,22 @@ impl AddTagsToStreamFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::add_tags_to_stream::AddTagsToStream, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::add_tags_to_stream::AddTagsToStreamError, + >, + > { + self.customize_middleware().await + } ///

                                                                                              The name of the stream.

                                                                                              pub fn stream_name(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.stream_name(input.into()); diff --git a/sdk/kinesis/src/operation/create_stream/builders.rs b/sdk/kinesis/src/operation/create_stream/builders.rs index c5ffc325ef70..8ef6419181fa 100644 --- a/sdk/kinesis/src/operation/create_stream/builders.rs +++ b/sdk/kinesis/src/operation/create_stream/builders.rs @@ -30,9 +30,9 @@ impl CreateStreamFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -88,6 +88,20 @@ impl CreateStreamFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::create_stream::CreateStream, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                                              A name to identify the stream. The stream name is scoped to the Amazon Web Services account used by the application that creates the stream. It is also scoped by Amazon Web Services Region. That is, two streams in two different Amazon Web Services accounts can have the same name. Two streams in the same Amazon Web Services account but in two different Regions can also have the same name.

                                                                                              pub fn stream_name(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.stream_name(input.into()); diff --git a/sdk/kinesis/src/operation/decrease_stream_retention_period/builders.rs b/sdk/kinesis/src/operation/decrease_stream_retention_period/builders.rs index 0f8c3f5920d0..958d6ce6b94b 100644 --- a/sdk/kinesis/src/operation/decrease_stream_retention_period/builders.rs +++ b/sdk/kinesis/src/operation/decrease_stream_retention_period/builders.rs @@ -22,9 +22,9 @@ impl DecreaseStreamRetentionPeriodFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -86,6 +86,22 @@ impl DecreaseStreamRetentionPeriodFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::decrease_stream_retention_period::DecreaseStreamRetentionPeriod, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::decrease_stream_retention_period::DecreaseStreamRetentionPeriodError, + >, + > { + self.customize_middleware().await + } ///

                                                                                              The name of the stream to modify.

                                                                                              pub fn stream_name(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.stream_name(input.into()); diff --git a/sdk/kinesis/src/operation/delete_stream/builders.rs b/sdk/kinesis/src/operation/delete_stream/builders.rs index b0953ec7befc..5f922df6f4aa 100644 --- a/sdk/kinesis/src/operation/delete_stream/builders.rs +++ b/sdk/kinesis/src/operation/delete_stream/builders.rs @@ -26,9 +26,9 @@ impl DeleteStreamFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -84,6 +84,20 @@ impl DeleteStreamFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::delete_stream::DeleteStream, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                                              The name of the stream to delete.

                                                                                              pub fn stream_name(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.stream_name(input.into()); diff --git a/sdk/kinesis/src/operation/deregister_stream_consumer/builders.rs b/sdk/kinesis/src/operation/deregister_stream_consumer/builders.rs index b7b100db3848..9c2cf4d02059 100644 --- a/sdk/kinesis/src/operation/deregister_stream_consumer/builders.rs +++ b/sdk/kinesis/src/operation/deregister_stream_consumer/builders.rs @@ -20,9 +20,9 @@ impl DeregisterStreamConsumerFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -84,6 +84,22 @@ impl DeregisterStreamConsumerFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::deregister_stream_consumer::DeregisterStreamConsumer, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::deregister_stream_consumer::DeregisterStreamConsumerError, + >, + > { + self.customize_middleware().await + } ///

                                                                                              The ARN of the Kinesis data stream that the consumer is registered with. For more information, see Amazon Resource Names (ARNs) and Amazon Web Services Service Namespaces.

                                                                                              pub fn stream_arn(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.stream_arn(input.into()); diff --git a/sdk/kinesis/src/operation/describe_limits/builders.rs b/sdk/kinesis/src/operation/describe_limits/builders.rs index cfa194ea5e31..4219fb8111a8 100644 --- a/sdk/kinesis/src/operation/describe_limits/builders.rs +++ b/sdk/kinesis/src/operation/describe_limits/builders.rs @@ -21,9 +21,9 @@ impl DescribeLimitsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -79,4 +79,18 @@ impl DescribeLimitsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::describe_limits::DescribeLimits, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } } diff --git a/sdk/kinesis/src/operation/describe_stream/builders.rs b/sdk/kinesis/src/operation/describe_stream/builders.rs index be0e841b7e61..ebba3268f41b 100644 --- a/sdk/kinesis/src/operation/describe_stream/builders.rs +++ b/sdk/kinesis/src/operation/describe_stream/builders.rs @@ -27,9 +27,9 @@ impl DescribeStreamFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -85,6 +85,20 @@ impl DescribeStreamFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::describe_stream::DescribeStream, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                                              The name of the stream to describe.

                                                                                              pub fn stream_name(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.stream_name(input.into()); diff --git a/sdk/kinesis/src/operation/describe_stream_consumer/builders.rs b/sdk/kinesis/src/operation/describe_stream_consumer/builders.rs index d72514bac223..2e8996ba3819 100644 --- a/sdk/kinesis/src/operation/describe_stream_consumer/builders.rs +++ b/sdk/kinesis/src/operation/describe_stream_consumer/builders.rs @@ -20,9 +20,9 @@ impl DescribeStreamConsumerFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -84,6 +84,22 @@ impl DescribeStreamConsumerFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::describe_stream_consumer::DescribeStreamConsumer, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::describe_stream_consumer::DescribeStreamConsumerError, + >, + > { + self.customize_middleware().await + } ///

                                                                                              The ARN of the Kinesis data stream that the consumer is registered with. For more information, see Amazon Resource Names (ARNs) and Amazon Web Services Service Namespaces.

                                                                                              pub fn stream_arn(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.stream_arn(input.into()); diff --git a/sdk/kinesis/src/operation/describe_stream_summary/builders.rs b/sdk/kinesis/src/operation/describe_stream_summary/builders.rs index 38f870fec1aa..789f87f44d26 100644 --- a/sdk/kinesis/src/operation/describe_stream_summary/builders.rs +++ b/sdk/kinesis/src/operation/describe_stream_summary/builders.rs @@ -23,9 +23,9 @@ impl DescribeStreamSummaryFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -87,6 +87,22 @@ impl DescribeStreamSummaryFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::describe_stream_summary::DescribeStreamSummary, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::describe_stream_summary::DescribeStreamSummaryError, + >, + > { + self.customize_middleware().await + } ///

                                                                                              The name of the stream to describe.

                                                                                              pub fn stream_name(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.stream_name(input.into()); diff --git a/sdk/kinesis/src/operation/disable_enhanced_monitoring/builders.rs b/sdk/kinesis/src/operation/disable_enhanced_monitoring/builders.rs index 100d5c88d763..b143ffc2803c 100644 --- a/sdk/kinesis/src/operation/disable_enhanced_monitoring/builders.rs +++ b/sdk/kinesis/src/operation/disable_enhanced_monitoring/builders.rs @@ -21,9 +21,9 @@ impl DisableEnhancedMonitoringFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -85,6 +85,22 @@ impl DisableEnhancedMonitoringFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::disable_enhanced_monitoring::DisableEnhancedMonitoring, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::disable_enhanced_monitoring::DisableEnhancedMonitoringError, + >, + > { + self.customize_middleware().await + } ///

                                                                                              The name of the Kinesis data stream for which to disable enhanced monitoring.

                                                                                              pub fn stream_name(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.stream_name(input.into()); diff --git a/sdk/kinesis/src/operation/enable_enhanced_monitoring/builders.rs b/sdk/kinesis/src/operation/enable_enhanced_monitoring/builders.rs index c67987c96e4d..adff59db9202 100644 --- a/sdk/kinesis/src/operation/enable_enhanced_monitoring/builders.rs +++ b/sdk/kinesis/src/operation/enable_enhanced_monitoring/builders.rs @@ -21,9 +21,9 @@ impl EnableEnhancedMonitoringFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -85,6 +85,22 @@ impl EnableEnhancedMonitoringFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::enable_enhanced_monitoring::EnableEnhancedMonitoring, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::enable_enhanced_monitoring::EnableEnhancedMonitoringError, + >, + > { + self.customize_middleware().await + } ///

                                                                                              The name of the stream for which to enable enhanced monitoring.

                                                                                              pub fn stream_name(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.stream_name(input.into()); diff --git a/sdk/kinesis/src/operation/get_records/builders.rs b/sdk/kinesis/src/operation/get_records/builders.rs index 10b1fd8ad5cc..53575e99fbd2 100644 --- a/sdk/kinesis/src/operation/get_records/builders.rs +++ b/sdk/kinesis/src/operation/get_records/builders.rs @@ -28,9 +28,9 @@ impl GetRecordsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -86,6 +86,20 @@ impl GetRecordsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::get_records::GetRecords, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                                              The position in the shard from which you want to start sequentially reading data records. A shard iterator specifies this position using the sequence number of a data record in the shard.

                                                                                              pub fn shard_iterator( mut self, diff --git a/sdk/kinesis/src/operation/get_shard_iterator/builders.rs b/sdk/kinesis/src/operation/get_shard_iterator/builders.rs index 4b6bcaadd754..87e2175a5641 100644 --- a/sdk/kinesis/src/operation/get_shard_iterator/builders.rs +++ b/sdk/kinesis/src/operation/get_shard_iterator/builders.rs @@ -27,9 +27,9 @@ impl GetShardIteratorFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -91,6 +91,22 @@ impl GetShardIteratorFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::get_shard_iterator::GetShardIterator, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::get_shard_iterator::GetShardIteratorError, + >, + > { + self.customize_middleware().await + } ///

                                                                                              The name of the Amazon Kinesis data stream.

                                                                                              pub fn stream_name(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.stream_name(input.into()); diff --git a/sdk/kinesis/src/operation/increase_stream_retention_period/builders.rs b/sdk/kinesis/src/operation/increase_stream_retention_period/builders.rs index 55c2658c485d..9e1bd0e8d5b3 100644 --- a/sdk/kinesis/src/operation/increase_stream_retention_period/builders.rs +++ b/sdk/kinesis/src/operation/increase_stream_retention_period/builders.rs @@ -22,9 +22,9 @@ impl IncreaseStreamRetentionPeriodFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -86,6 +86,22 @@ impl IncreaseStreamRetentionPeriodFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::increase_stream_retention_period::IncreaseStreamRetentionPeriod, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::increase_stream_retention_period::IncreaseStreamRetentionPeriodError, + >, + > { + self.customize_middleware().await + } ///

                                                                                              The name of the stream to modify.

                                                                                              pub fn stream_name(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.stream_name(input.into()); diff --git a/sdk/kinesis/src/operation/list_shards/builders.rs b/sdk/kinesis/src/operation/list_shards/builders.rs index 2c2dd648ac1d..7fc6fa816cab 100644 --- a/sdk/kinesis/src/operation/list_shards/builders.rs +++ b/sdk/kinesis/src/operation/list_shards/builders.rs @@ -24,9 +24,9 @@ impl ListShardsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -82,6 +82,20 @@ impl ListShardsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_shards::ListShards, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                                              The name of the data stream whose shards you want to list.

                                                                                              ///

                                                                                              You cannot specify this parameter if you specify the NextToken parameter.

                                                                                              pub fn stream_name(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { diff --git a/sdk/kinesis/src/operation/list_stream_consumers/builders.rs b/sdk/kinesis/src/operation/list_stream_consumers/builders.rs index b1c903311d69..a327e910d7d2 100644 --- a/sdk/kinesis/src/operation/list_stream_consumers/builders.rs +++ b/sdk/kinesis/src/operation/list_stream_consumers/builders.rs @@ -20,9 +20,9 @@ impl ListStreamConsumersFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -84,6 +84,22 @@ impl ListStreamConsumersFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_stream_consumers::ListStreamConsumers, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::list_stream_consumers::ListStreamConsumersError, + >, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::list_stream_consumers::paginator::ListStreamConsumersPaginator::send) which returns a `Stream`. diff --git a/sdk/kinesis/src/operation/list_streams/builders.rs b/sdk/kinesis/src/operation/list_streams/builders.rs index 957e6d168b31..9fd9790c6e4a 100644 --- a/sdk/kinesis/src/operation/list_streams/builders.rs +++ b/sdk/kinesis/src/operation/list_streams/builders.rs @@ -22,9 +22,9 @@ impl ListStreamsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -80,6 +80,20 @@ impl ListStreamsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_streams::ListStreams, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::list_streams::paginator::ListStreamsPaginator::send) which returns a `Stream`. diff --git a/sdk/kinesis/src/operation/list_tags_for_stream/builders.rs b/sdk/kinesis/src/operation/list_tags_for_stream/builders.rs index 7fc8ba98f25d..7967f8cc70bf 100644 --- a/sdk/kinesis/src/operation/list_tags_for_stream/builders.rs +++ b/sdk/kinesis/src/operation/list_tags_for_stream/builders.rs @@ -21,9 +21,9 @@ impl ListTagsForStreamFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -85,6 +85,22 @@ impl ListTagsForStreamFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_tags_for_stream::ListTagsForStream, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::list_tags_for_stream::ListTagsForStreamError, + >, + > { + self.customize_middleware().await + } ///

                                                                                              The name of the stream.

                                                                                              pub fn stream_name(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.stream_name(input.into()); diff --git a/sdk/kinesis/src/operation/merge_shards/builders.rs b/sdk/kinesis/src/operation/merge_shards/builders.rs index e938ce6696fc..0cd4a16ded10 100644 --- a/sdk/kinesis/src/operation/merge_shards/builders.rs +++ b/sdk/kinesis/src/operation/merge_shards/builders.rs @@ -28,9 +28,9 @@ impl MergeShardsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -86,6 +86,20 @@ impl MergeShardsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::merge_shards::MergeShards, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                                              The name of the stream for the merge.

                                                                                              pub fn stream_name(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.stream_name(input.into()); diff --git a/sdk/kinesis/src/operation/put_record/builders.rs b/sdk/kinesis/src/operation/put_record/builders.rs index ec1c7ffed24f..44cddcd3fe93 100644 --- a/sdk/kinesis/src/operation/put_record/builders.rs +++ b/sdk/kinesis/src/operation/put_record/builders.rs @@ -31,9 +31,9 @@ impl PutRecordFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -89,6 +89,20 @@ impl PutRecordFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::put_record::PutRecord, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                                              The name of the stream to put the data record into.

                                                                                              pub fn stream_name(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.stream_name(input.into()); diff --git a/sdk/kinesis/src/operation/put_records/builders.rs b/sdk/kinesis/src/operation/put_records/builders.rs index 2dddeb64fdfd..f2a2ee19ebf4 100644 --- a/sdk/kinesis/src/operation/put_records/builders.rs +++ b/sdk/kinesis/src/operation/put_records/builders.rs @@ -33,9 +33,9 @@ impl PutRecordsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -91,6 +91,20 @@ impl PutRecordsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::put_records::PutRecords, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } /// Appends an item to `Records`. /// /// To override the contents of this collection use [`set_records`](Self::set_records). diff --git a/sdk/kinesis/src/operation/register_stream_consumer/builders.rs b/sdk/kinesis/src/operation/register_stream_consumer/builders.rs index f8e6c46f82e8..6e8955501c49 100644 --- a/sdk/kinesis/src/operation/register_stream_consumer/builders.rs +++ b/sdk/kinesis/src/operation/register_stream_consumer/builders.rs @@ -22,9 +22,9 @@ impl RegisterStreamConsumerFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -86,6 +86,22 @@ impl RegisterStreamConsumerFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::register_stream_consumer::RegisterStreamConsumer, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::register_stream_consumer::RegisterStreamConsumerError, + >, + > { + self.customize_middleware().await + } ///

                                                                                              The ARN of the Kinesis data stream that you want to register the consumer with. For more info, see Amazon Resource Names (ARNs) and Amazon Web Services Service Namespaces.

                                                                                              pub fn stream_arn(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.stream_arn(input.into()); diff --git a/sdk/kinesis/src/operation/remove_tags_from_stream/builders.rs b/sdk/kinesis/src/operation/remove_tags_from_stream/builders.rs index aeab793e3ac4..45f500aaf041 100644 --- a/sdk/kinesis/src/operation/remove_tags_from_stream/builders.rs +++ b/sdk/kinesis/src/operation/remove_tags_from_stream/builders.rs @@ -23,9 +23,9 @@ impl RemoveTagsFromStreamFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -87,6 +87,22 @@ impl RemoveTagsFromStreamFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::remove_tags_from_stream::RemoveTagsFromStream, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::remove_tags_from_stream::RemoveTagsFromStreamError, + >, + > { + self.customize_middleware().await + } ///

                                                                                              The name of the stream.

                                                                                              pub fn stream_name(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.stream_name(input.into()); diff --git a/sdk/kinesis/src/operation/split_shard/builders.rs b/sdk/kinesis/src/operation/split_shard/builders.rs index dc7d5b012bf5..f50428972adb 100644 --- a/sdk/kinesis/src/operation/split_shard/builders.rs +++ b/sdk/kinesis/src/operation/split_shard/builders.rs @@ -30,9 +30,9 @@ impl SplitShardFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -88,6 +88,20 @@ impl SplitShardFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::split_shard::SplitShard, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                                              The name of the stream for the shard split.

                                                                                              pub fn stream_name(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.stream_name(input.into()); diff --git a/sdk/kinesis/src/operation/start_stream_encryption/builders.rs b/sdk/kinesis/src/operation/start_stream_encryption/builders.rs index dfefd3f49bbf..ba6d5a483145 100644 --- a/sdk/kinesis/src/operation/start_stream_encryption/builders.rs +++ b/sdk/kinesis/src/operation/start_stream_encryption/builders.rs @@ -24,9 +24,9 @@ impl StartStreamEncryptionFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -88,6 +88,22 @@ impl StartStreamEncryptionFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::start_stream_encryption::StartStreamEncryption, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::start_stream_encryption::StartStreamEncryptionError, + >, + > { + self.customize_middleware().await + } ///

                                                                                              The name of the stream for which to start encrypting records.

                                                                                              pub fn stream_name(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.stream_name(input.into()); diff --git a/sdk/kinesis/src/operation/stop_stream_encryption/builders.rs b/sdk/kinesis/src/operation/stop_stream_encryption/builders.rs index e6d5fb6ac97f..340de49be7ea 100644 --- a/sdk/kinesis/src/operation/stop_stream_encryption/builders.rs +++ b/sdk/kinesis/src/operation/stop_stream_encryption/builders.rs @@ -24,9 +24,9 @@ impl StopStreamEncryptionFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -88,6 +88,22 @@ impl StopStreamEncryptionFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::stop_stream_encryption::StopStreamEncryption, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::stop_stream_encryption::StopStreamEncryptionError, + >, + > { + self.customize_middleware().await + } ///

                                                                                              The name of the stream on which to stop encrypting records.

                                                                                              pub fn stream_name(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.stream_name(input.into()); diff --git a/sdk/kinesis/src/operation/update_shard_count/builders.rs b/sdk/kinesis/src/operation/update_shard_count/builders.rs index ce97d6c618eb..e93e0f5e1984 100644 --- a/sdk/kinesis/src/operation/update_shard_count/builders.rs +++ b/sdk/kinesis/src/operation/update_shard_count/builders.rs @@ -34,9 +34,9 @@ impl UpdateShardCountFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -98,6 +98,22 @@ impl UpdateShardCountFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::update_shard_count::UpdateShardCount, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::update_shard_count::UpdateShardCountError, + >, + > { + self.customize_middleware().await + } ///

                                                                                              The name of the stream.

                                                                                              pub fn stream_name(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.stream_name(input.into()); diff --git a/sdk/kinesis/src/operation/update_stream_mode/builders.rs b/sdk/kinesis/src/operation/update_stream_mode/builders.rs index 2a32d8e5f79b..f78efeb0589b 100644 --- a/sdk/kinesis/src/operation/update_stream_mode/builders.rs +++ b/sdk/kinesis/src/operation/update_stream_mode/builders.rs @@ -19,9 +19,9 @@ impl UpdateStreamModeFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl UpdateStreamModeFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::update_stream_mode::UpdateStreamMode, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::update_stream_mode::UpdateStreamModeError, + >, + > { + self.customize_middleware().await + } ///

                                                                                              Specifies the ARN of the data stream whose capacity mode you want to update.

                                                                                              pub fn stream_arn(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.stream_arn(input.into()); diff --git a/sdk/kinesisanalytics/src/operation/add_application_cloud_watch_logging_option/builders.rs b/sdk/kinesisanalytics/src/operation/add_application_cloud_watch_logging_option/builders.rs index 7083bb13c42f..70f7f3cc784b 100644 --- a/sdk/kinesisanalytics/src/operation/add_application_cloud_watch_logging_option/builders.rs +++ b/sdk/kinesisanalytics/src/operation/add_application_cloud_watch_logging_option/builders.rs @@ -22,9 +22,9 @@ impl AddApplicationCloudWatchLoggingOptionFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize(self) -> ::std::result::Result< + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware(self) -> ::std::result::Result< crate::client::customize::CustomizableOperation, ::aws_smithy_http::result::SdkError >{ @@ -67,6 +67,15 @@ impl AddApplicationCloudWatchLoggingOptionFluentBuilder { { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize(self) -> ::std::result::Result< + crate::client::customize::CustomizableOperation, + ::aws_smithy_http::result::SdkError + >{ + self.customize_middleware().await + } ///

                                                                                              The Kinesis Analytics application name.

                                                                                              pub fn application_name( mut self, diff --git a/sdk/kinesisanalytics/src/operation/add_application_input/builders.rs b/sdk/kinesisanalytics/src/operation/add_application_input/builders.rs index 76db05d99be8..8a17840982b8 100644 --- a/sdk/kinesisanalytics/src/operation/add_application_input/builders.rs +++ b/sdk/kinesisanalytics/src/operation/add_application_input/builders.rs @@ -25,9 +25,9 @@ impl AddApplicationInputFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -89,6 +89,22 @@ impl AddApplicationInputFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::add_application_input::AddApplicationInput, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::add_application_input::AddApplicationInputError, + >, + > { + self.customize_middleware().await + } ///

                                                                                              Name of your existing Amazon Kinesis Analytics application to which you want to add the streaming source.

                                                                                              pub fn application_name( mut self, diff --git a/sdk/kinesisanalytics/src/operation/add_application_input_processing_configuration/builders.rs b/sdk/kinesisanalytics/src/operation/add_application_input_processing_configuration/builders.rs index ebc304054d24..047b1f891690 100644 --- a/sdk/kinesisanalytics/src/operation/add_application_input_processing_configuration/builders.rs +++ b/sdk/kinesisanalytics/src/operation/add_application_input_processing_configuration/builders.rs @@ -22,9 +22,9 @@ impl AddApplicationInputProcessingConfigurationFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize(self) -> ::std::result::Result< + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware(self) -> ::std::result::Result< crate::client::customize::CustomizableOperation, ::aws_smithy_http::result::SdkError >{ @@ -67,6 +67,15 @@ impl AddApplicationInputProcessingConfigurationFluentBuilder { { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize(self) -> ::std::result::Result< + crate::client::customize::CustomizableOperation, + ::aws_smithy_http::result::SdkError + >{ + self.customize_middleware().await + } ///

                                                                                              Name of the application to which you want to add the input processing configuration.

                                                                                              pub fn application_name( mut self, diff --git a/sdk/kinesisanalytics/src/operation/add_application_output/builders.rs b/sdk/kinesisanalytics/src/operation/add_application_output/builders.rs index 43d9dd4b2d80..5e645e3505db 100644 --- a/sdk/kinesisanalytics/src/operation/add_application_output/builders.rs +++ b/sdk/kinesisanalytics/src/operation/add_application_output/builders.rs @@ -27,9 +27,9 @@ impl AddApplicationOutputFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -91,6 +91,22 @@ impl AddApplicationOutputFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::add_application_output::AddApplicationOutput, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::add_application_output::AddApplicationOutputError, + >, + > { + self.customize_middleware().await + } ///

                                                                                              Name of the application to which you want to add the output configuration.

                                                                                              pub fn application_name( mut self, diff --git a/sdk/kinesisanalytics/src/operation/add_application_reference_data_source/builders.rs b/sdk/kinesisanalytics/src/operation/add_application_reference_data_source/builders.rs index 1b704018b43f..ec0165b5b29c 100644 --- a/sdk/kinesisanalytics/src/operation/add_application_reference_data_source/builders.rs +++ b/sdk/kinesisanalytics/src/operation/add_application_reference_data_source/builders.rs @@ -25,9 +25,9 @@ impl AddApplicationReferenceDataSourceFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize(self) -> ::std::result::Result< + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware(self) -> ::std::result::Result< crate::client::customize::CustomizableOperation, ::aws_smithy_http::result::SdkError >{ @@ -70,6 +70,15 @@ impl AddApplicationReferenceDataSourceFluentBuilder { { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize(self) -> ::std::result::Result< + crate::client::customize::CustomizableOperation, + ::aws_smithy_http::result::SdkError + >{ + self.customize_middleware().await + } ///

                                                                                              Name of an existing application.

                                                                                              pub fn application_name( mut self, diff --git a/sdk/kinesisanalytics/src/operation/create_application/builders.rs b/sdk/kinesisanalytics/src/operation/create_application/builders.rs index 67e89a57c50f..bebc3bfe9619 100644 --- a/sdk/kinesisanalytics/src/operation/create_application/builders.rs +++ b/sdk/kinesisanalytics/src/operation/create_application/builders.rs @@ -27,9 +27,9 @@ impl CreateApplicationFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -91,6 +91,22 @@ impl CreateApplicationFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::create_application::CreateApplication, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::create_application::CreateApplicationError, + >, + > { + self.customize_middleware().await + } ///

                                                                                              Name of your Amazon Kinesis Analytics application (for example, sample-app).

                                                                                              pub fn application_name( mut self, diff --git a/sdk/kinesisanalytics/src/operation/delete_application/builders.rs b/sdk/kinesisanalytics/src/operation/delete_application/builders.rs index ea6f8b81bebd..b37e00deee4c 100644 --- a/sdk/kinesisanalytics/src/operation/delete_application/builders.rs +++ b/sdk/kinesisanalytics/src/operation/delete_application/builders.rs @@ -23,9 +23,9 @@ impl DeleteApplicationFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -87,6 +87,22 @@ impl DeleteApplicationFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::delete_application::DeleteApplication, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::delete_application::DeleteApplicationError, + >, + > { + self.customize_middleware().await + } ///

                                                                                              Name of the Amazon Kinesis Analytics application to delete.

                                                                                              pub fn application_name( mut self, diff --git a/sdk/kinesisanalytics/src/operation/delete_application_cloud_watch_logging_option/builders.rs b/sdk/kinesisanalytics/src/operation/delete_application_cloud_watch_logging_option/builders.rs index 1743ae6c64bf..4e29fbec4b9d 100644 --- a/sdk/kinesisanalytics/src/operation/delete_application_cloud_watch_logging_option/builders.rs +++ b/sdk/kinesisanalytics/src/operation/delete_application_cloud_watch_logging_option/builders.rs @@ -22,9 +22,9 @@ impl DeleteApplicationCloudWatchLoggingOptionFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize(self) -> ::std::result::Result< + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware(self) -> ::std::result::Result< crate::client::customize::CustomizableOperation, ::aws_smithy_http::result::SdkError >{ @@ -67,6 +67,15 @@ impl DeleteApplicationCloudWatchLoggingOptionFluentBuilder { { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize(self) -> ::std::result::Result< + crate::client::customize::CustomizableOperation, + ::aws_smithy_http::result::SdkError + >{ + self.customize_middleware().await + } ///

                                                                                              The Kinesis Analytics application name.

                                                                                              pub fn application_name( mut self, diff --git a/sdk/kinesisanalytics/src/operation/delete_application_input_processing_configuration/builders.rs b/sdk/kinesisanalytics/src/operation/delete_application_input_processing_configuration/builders.rs index f1485bbf1508..42059b416682 100644 --- a/sdk/kinesisanalytics/src/operation/delete_application_input_processing_configuration/builders.rs +++ b/sdk/kinesisanalytics/src/operation/delete_application_input_processing_configuration/builders.rs @@ -22,9 +22,9 @@ impl DeleteApplicationInputProcessingConfigurationFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize(self) -> ::std::result::Result< + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware(self) -> ::std::result::Result< crate::client::customize::CustomizableOperation, ::aws_smithy_http::result::SdkError >{ @@ -67,6 +67,15 @@ impl DeleteApplicationInputProcessingConfigurationFluentBuilder { { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize(self) -> ::std::result::Result< + crate::client::customize::CustomizableOperation, + ::aws_smithy_http::result::SdkError + >{ + self.customize_middleware().await + } ///

                                                                                              The Kinesis Analytics application name.

                                                                                              pub fn application_name( mut self, diff --git a/sdk/kinesisanalytics/src/operation/delete_application_output/builders.rs b/sdk/kinesisanalytics/src/operation/delete_application_output/builders.rs index 444b936626b8..0073278aaeea 100644 --- a/sdk/kinesisanalytics/src/operation/delete_application_output/builders.rs +++ b/sdk/kinesisanalytics/src/operation/delete_application_output/builders.rs @@ -24,9 +24,9 @@ impl DeleteApplicationOutputFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -88,6 +88,22 @@ impl DeleteApplicationOutputFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::delete_application_output::DeleteApplicationOutput, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::delete_application_output::DeleteApplicationOutputError, + >, + > { + self.customize_middleware().await + } ///

                                                                                              Amazon Kinesis Analytics application name.

                                                                                              pub fn application_name( mut self, diff --git a/sdk/kinesisanalytics/src/operation/delete_application_reference_data_source/builders.rs b/sdk/kinesisanalytics/src/operation/delete_application_reference_data_source/builders.rs index 2bba5e58e628..ea90120b5658 100644 --- a/sdk/kinesisanalytics/src/operation/delete_application_reference_data_source/builders.rs +++ b/sdk/kinesisanalytics/src/operation/delete_application_reference_data_source/builders.rs @@ -24,9 +24,9 @@ impl DeleteApplicationReferenceDataSourceFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize(self) -> ::std::result::Result< + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware(self) -> ::std::result::Result< crate::client::customize::CustomizableOperation, ::aws_smithy_http::result::SdkError >{ @@ -69,6 +69,15 @@ impl DeleteApplicationReferenceDataSourceFluentBuilder { { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize(self) -> ::std::result::Result< + crate::client::customize::CustomizableOperation, + ::aws_smithy_http::result::SdkError + >{ + self.customize_middleware().await + } ///

                                                                                              Name of an existing application.

                                                                                              pub fn application_name( mut self, diff --git a/sdk/kinesisanalytics/src/operation/describe_application/builders.rs b/sdk/kinesisanalytics/src/operation/describe_application/builders.rs index 1cd6f52e5143..fb40dc4d6eda 100644 --- a/sdk/kinesisanalytics/src/operation/describe_application/builders.rs +++ b/sdk/kinesisanalytics/src/operation/describe_application/builders.rs @@ -24,9 +24,9 @@ impl DescribeApplicationFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -88,6 +88,22 @@ impl DescribeApplicationFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::describe_application::DescribeApplication, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::describe_application::DescribeApplicationError, + >, + > { + self.customize_middleware().await + } ///

                                                                                              Name of the application.

                                                                                              pub fn application_name( mut self, diff --git a/sdk/kinesisanalytics/src/operation/discover_input_schema/builders.rs b/sdk/kinesisanalytics/src/operation/discover_input_schema/builders.rs index 984551a290ac..b06670c3f3b3 100644 --- a/sdk/kinesisanalytics/src/operation/discover_input_schema/builders.rs +++ b/sdk/kinesisanalytics/src/operation/discover_input_schema/builders.rs @@ -24,9 +24,9 @@ impl DiscoverInputSchemaFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -88,6 +88,22 @@ impl DiscoverInputSchemaFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::discover_input_schema::DiscoverInputSchema, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::discover_input_schema::DiscoverInputSchemaError, + >, + > { + self.customize_middleware().await + } ///

                                                                                              Amazon Resource Name (ARN) of the streaming source.

                                                                                              pub fn resource_arn(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.resource_arn(input.into()); diff --git a/sdk/kinesisanalytics/src/operation/list_applications/builders.rs b/sdk/kinesisanalytics/src/operation/list_applications/builders.rs index 61f257e75492..f91757141ec5 100644 --- a/sdk/kinesisanalytics/src/operation/list_applications/builders.rs +++ b/sdk/kinesisanalytics/src/operation/list_applications/builders.rs @@ -24,9 +24,9 @@ impl ListApplicationsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -88,6 +88,22 @@ impl ListApplicationsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_applications::ListApplications, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::list_applications::ListApplicationsError, + >, + > { + self.customize_middleware().await + } ///

                                                                                              Maximum number of applications to list.

                                                                                              pub fn limit(mut self, input: i32) -> Self { self.inner = self.inner.limit(input); diff --git a/sdk/kinesisanalytics/src/operation/list_tags_for_resource/builders.rs b/sdk/kinesisanalytics/src/operation/list_tags_for_resource/builders.rs index c82812e7e54f..656e2a986b09 100644 --- a/sdk/kinesisanalytics/src/operation/list_tags_for_resource/builders.rs +++ b/sdk/kinesisanalytics/src/operation/list_tags_for_resource/builders.rs @@ -19,9 +19,9 @@ impl ListTagsForResourceFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl ListTagsForResourceFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_tags_for_resource::ListTagsForResource, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::list_tags_for_resource::ListTagsForResourceError, + >, + > { + self.customize_middleware().await + } ///

                                                                                              The ARN of the application for which to retrieve tags.

                                                                                              pub fn resource_arn(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.resource_arn(input.into()); diff --git a/sdk/kinesisanalytics/src/operation/start_application/builders.rs b/sdk/kinesisanalytics/src/operation/start_application/builders.rs index 909a7a74fdfc..d021fd0eba6a 100644 --- a/sdk/kinesisanalytics/src/operation/start_application/builders.rs +++ b/sdk/kinesisanalytics/src/operation/start_application/builders.rs @@ -26,9 +26,9 @@ impl StartApplicationFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -90,6 +90,22 @@ impl StartApplicationFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::start_application::StartApplication, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::start_application::StartApplicationError, + >, + > { + self.customize_middleware().await + } ///

                                                                                              Name of the application.

                                                                                              pub fn application_name( mut self, diff --git a/sdk/kinesisanalytics/src/operation/stop_application/builders.rs b/sdk/kinesisanalytics/src/operation/stop_application/builders.rs index b2912beec5ec..9993fefc3b45 100644 --- a/sdk/kinesisanalytics/src/operation/stop_application/builders.rs +++ b/sdk/kinesisanalytics/src/operation/stop_application/builders.rs @@ -23,9 +23,9 @@ impl StopApplicationFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -87,6 +87,22 @@ impl StopApplicationFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::stop_application::StopApplication, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::stop_application::StopApplicationError, + >, + > { + self.customize_middleware().await + } ///

                                                                                              Name of the running application to stop.

                                                                                              pub fn application_name( mut self, diff --git a/sdk/kinesisanalytics/src/operation/tag_resource/builders.rs b/sdk/kinesisanalytics/src/operation/tag_resource/builders.rs index a753a0ec19ce..5472565f23f5 100644 --- a/sdk/kinesisanalytics/src/operation/tag_resource/builders.rs +++ b/sdk/kinesisanalytics/src/operation/tag_resource/builders.rs @@ -19,9 +19,9 @@ impl TagResourceFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl TagResourceFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::tag_resource::TagResource, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                                              The ARN of the application to assign the tags.

                                                                                              pub fn resource_arn(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.resource_arn(input.into()); diff --git a/sdk/kinesisanalytics/src/operation/untag_resource/builders.rs b/sdk/kinesisanalytics/src/operation/untag_resource/builders.rs index 53311d984aea..18eb991128a0 100644 --- a/sdk/kinesisanalytics/src/operation/untag_resource/builders.rs +++ b/sdk/kinesisanalytics/src/operation/untag_resource/builders.rs @@ -19,9 +19,9 @@ impl UntagResourceFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl UntagResourceFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::untag_resource::UntagResource, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                                              The ARN of the Kinesis Analytics application from which to remove the tags.

                                                                                              pub fn resource_arn(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.resource_arn(input.into()); diff --git a/sdk/kinesisanalytics/src/operation/update_application/builders.rs b/sdk/kinesisanalytics/src/operation/update_application/builders.rs index ad76903adbab..d9429d306ecb 100644 --- a/sdk/kinesisanalytics/src/operation/update_application/builders.rs +++ b/sdk/kinesisanalytics/src/operation/update_application/builders.rs @@ -24,9 +24,9 @@ impl UpdateApplicationFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -88,6 +88,22 @@ impl UpdateApplicationFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::update_application::UpdateApplication, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::update_application::UpdateApplicationError, + >, + > { + self.customize_middleware().await + } ///

                                                                                              Name of the Amazon Kinesis Analytics application to update.

                                                                                              pub fn application_name( mut self, diff --git a/sdk/kinesisanalyticsv2/src/operation/add_application_cloud_watch_logging_option/builders.rs b/sdk/kinesisanalyticsv2/src/operation/add_application_cloud_watch_logging_option/builders.rs index c7d480fac564..25d868294883 100644 --- a/sdk/kinesisanalyticsv2/src/operation/add_application_cloud_watch_logging_option/builders.rs +++ b/sdk/kinesisanalyticsv2/src/operation/add_application_cloud_watch_logging_option/builders.rs @@ -19,9 +19,9 @@ impl AddApplicationCloudWatchLoggingOptionFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize(self) -> ::std::result::Result< + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware(self) -> ::std::result::Result< crate::client::customize::CustomizableOperation, ::aws_smithy_http::result::SdkError >{ @@ -64,6 +64,15 @@ impl AddApplicationCloudWatchLoggingOptionFluentBuilder { { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize(self) -> ::std::result::Result< + crate::client::customize::CustomizableOperation, + ::aws_smithy_http::result::SdkError + >{ + self.customize_middleware().await + } ///

                                                                                              The Kinesis Data Analytics application name.

                                                                                              pub fn application_name( mut self, diff --git a/sdk/kinesisanalyticsv2/src/operation/add_application_input/builders.rs b/sdk/kinesisanalyticsv2/src/operation/add_application_input/builders.rs index 4bbd894ad7b8..48a3a6cc4fd8 100644 --- a/sdk/kinesisanalyticsv2/src/operation/add_application_input/builders.rs +++ b/sdk/kinesisanalyticsv2/src/operation/add_application_input/builders.rs @@ -21,9 +21,9 @@ impl AddApplicationInputFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -85,6 +85,22 @@ impl AddApplicationInputFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::add_application_input::AddApplicationInput, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::add_application_input::AddApplicationInputError, + >, + > { + self.customize_middleware().await + } ///

                                                                                              The name of your existing application to which you want to add the streaming source.

                                                                                              pub fn application_name( mut self, diff --git a/sdk/kinesisanalyticsv2/src/operation/add_application_input_processing_configuration/builders.rs b/sdk/kinesisanalyticsv2/src/operation/add_application_input_processing_configuration/builders.rs index c378c09ca336..e49427177565 100644 --- a/sdk/kinesisanalyticsv2/src/operation/add_application_input_processing_configuration/builders.rs +++ b/sdk/kinesisanalyticsv2/src/operation/add_application_input_processing_configuration/builders.rs @@ -19,9 +19,9 @@ impl AddApplicationInputProcessingConfigurationFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize(self) -> ::std::result::Result< + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware(self) -> ::std::result::Result< crate::client::customize::CustomizableOperation, ::aws_smithy_http::result::SdkError >{ @@ -64,6 +64,15 @@ impl AddApplicationInputProcessingConfigurationFluentBuilder { { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize(self) -> ::std::result::Result< + crate::client::customize::CustomizableOperation, + ::aws_smithy_http::result::SdkError + >{ + self.customize_middleware().await + } ///

                                                                                              The name of the application to which you want to add the input processing configuration.

                                                                                              pub fn application_name( mut self, diff --git a/sdk/kinesisanalyticsv2/src/operation/add_application_output/builders.rs b/sdk/kinesisanalyticsv2/src/operation/add_application_output/builders.rs index 2a6d24dda93d..161f4df7a349 100644 --- a/sdk/kinesisanalyticsv2/src/operation/add_application_output/builders.rs +++ b/sdk/kinesisanalyticsv2/src/operation/add_application_output/builders.rs @@ -22,9 +22,9 @@ impl AddApplicationOutputFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -86,6 +86,22 @@ impl AddApplicationOutputFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::add_application_output::AddApplicationOutput, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::add_application_output::AddApplicationOutputError, + >, + > { + self.customize_middleware().await + } ///

                                                                                              The name of the application to which you want to add the output configuration.

                                                                                              pub fn application_name( mut self, diff --git a/sdk/kinesisanalyticsv2/src/operation/add_application_reference_data_source/builders.rs b/sdk/kinesisanalyticsv2/src/operation/add_application_reference_data_source/builders.rs index 793c0aace9da..fbdb55e23014 100644 --- a/sdk/kinesisanalyticsv2/src/operation/add_application_reference_data_source/builders.rs +++ b/sdk/kinesisanalyticsv2/src/operation/add_application_reference_data_source/builders.rs @@ -20,9 +20,9 @@ impl AddApplicationReferenceDataSourceFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize(self) -> ::std::result::Result< + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware(self) -> ::std::result::Result< crate::client::customize::CustomizableOperation, ::aws_smithy_http::result::SdkError >{ @@ -65,6 +65,15 @@ impl AddApplicationReferenceDataSourceFluentBuilder { { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize(self) -> ::std::result::Result< + crate::client::customize::CustomizableOperation, + ::aws_smithy_http::result::SdkError + >{ + self.customize_middleware().await + } ///

                                                                                              The name of an existing application.

                                                                                              pub fn application_name( mut self, diff --git a/sdk/kinesisanalyticsv2/src/operation/add_application_vpc_configuration/builders.rs b/sdk/kinesisanalyticsv2/src/operation/add_application_vpc_configuration/builders.rs index 7f8613acee48..0d2d998de41a 100644 --- a/sdk/kinesisanalyticsv2/src/operation/add_application_vpc_configuration/builders.rs +++ b/sdk/kinesisanalyticsv2/src/operation/add_application_vpc_configuration/builders.rs @@ -24,9 +24,9 @@ impl AddApplicationVpcConfigurationFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize(self) -> ::std::result::Result< + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware(self) -> ::std::result::Result< crate::client::customize::CustomizableOperation, ::aws_smithy_http::result::SdkError >{ @@ -69,6 +69,15 @@ impl AddApplicationVpcConfigurationFluentBuilder { { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize(self) -> ::std::result::Result< + crate::client::customize::CustomizableOperation, + ::aws_smithy_http::result::SdkError + >{ + self.customize_middleware().await + } ///

                                                                                              The name of an existing application.

                                                                                              pub fn application_name( mut self, diff --git a/sdk/kinesisanalyticsv2/src/operation/create_application/builders.rs b/sdk/kinesisanalyticsv2/src/operation/create_application/builders.rs index 8ddf41ad14b6..db5948a0dcde 100644 --- a/sdk/kinesisanalyticsv2/src/operation/create_application/builders.rs +++ b/sdk/kinesisanalyticsv2/src/operation/create_application/builders.rs @@ -19,9 +19,9 @@ impl CreateApplicationFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl CreateApplicationFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::create_application::CreateApplication, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::create_application::CreateApplicationError, + >, + > { + self.customize_middleware().await + } ///

                                                                                              The name of your application (for example, sample-app).

                                                                                              pub fn application_name( mut self, diff --git a/sdk/kinesisanalyticsv2/src/operation/create_application_presigned_url/builders.rs b/sdk/kinesisanalyticsv2/src/operation/create_application_presigned_url/builders.rs index 915a9a10e6e7..7a96805ba958 100644 --- a/sdk/kinesisanalyticsv2/src/operation/create_application_presigned_url/builders.rs +++ b/sdk/kinesisanalyticsv2/src/operation/create_application_presigned_url/builders.rs @@ -23,9 +23,9 @@ impl CreateApplicationPresignedUrlFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -87,6 +87,22 @@ impl CreateApplicationPresignedUrlFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::create_application_presigned_url::CreateApplicationPresignedUrl, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::create_application_presigned_url::CreateApplicationPresignedUrlError, + >, + > { + self.customize_middleware().await + } ///

                                                                                              The name of the application.

                                                                                              pub fn application_name( mut self, diff --git a/sdk/kinesisanalyticsv2/src/operation/create_application_snapshot/builders.rs b/sdk/kinesisanalyticsv2/src/operation/create_application_snapshot/builders.rs index 3183201b41be..e5227762c5bf 100644 --- a/sdk/kinesisanalyticsv2/src/operation/create_application_snapshot/builders.rs +++ b/sdk/kinesisanalyticsv2/src/operation/create_application_snapshot/builders.rs @@ -19,9 +19,9 @@ impl CreateApplicationSnapshotFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl CreateApplicationSnapshotFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::create_application_snapshot::CreateApplicationSnapshot, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::create_application_snapshot::CreateApplicationSnapshotError, + >, + > { + self.customize_middleware().await + } ///

                                                                                              The name of an existing application

                                                                                              pub fn application_name( mut self, diff --git a/sdk/kinesisanalyticsv2/src/operation/delete_application/builders.rs b/sdk/kinesisanalyticsv2/src/operation/delete_application/builders.rs index 252c530fb120..eefd26f304a0 100644 --- a/sdk/kinesisanalyticsv2/src/operation/delete_application/builders.rs +++ b/sdk/kinesisanalyticsv2/src/operation/delete_application/builders.rs @@ -19,9 +19,9 @@ impl DeleteApplicationFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl DeleteApplicationFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::delete_application::DeleteApplication, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::delete_application::DeleteApplicationError, + >, + > { + self.customize_middleware().await + } ///

                                                                                              The name of the application to delete.

                                                                                              pub fn application_name( mut self, diff --git a/sdk/kinesisanalyticsv2/src/operation/delete_application_cloud_watch_logging_option/builders.rs b/sdk/kinesisanalyticsv2/src/operation/delete_application_cloud_watch_logging_option/builders.rs index f18c3ccad917..2cc9388d7fee 100644 --- a/sdk/kinesisanalyticsv2/src/operation/delete_application_cloud_watch_logging_option/builders.rs +++ b/sdk/kinesisanalyticsv2/src/operation/delete_application_cloud_watch_logging_option/builders.rs @@ -19,9 +19,9 @@ impl DeleteApplicationCloudWatchLoggingOptionFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize(self) -> ::std::result::Result< + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware(self) -> ::std::result::Result< crate::client::customize::CustomizableOperation, ::aws_smithy_http::result::SdkError >{ @@ -64,6 +64,15 @@ impl DeleteApplicationCloudWatchLoggingOptionFluentBuilder { { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize(self) -> ::std::result::Result< + crate::client::customize::CustomizableOperation, + ::aws_smithy_http::result::SdkError + >{ + self.customize_middleware().await + } ///

                                                                                              The application name.

                                                                                              pub fn application_name( mut self, diff --git a/sdk/kinesisanalyticsv2/src/operation/delete_application_input_processing_configuration/builders.rs b/sdk/kinesisanalyticsv2/src/operation/delete_application_input_processing_configuration/builders.rs index 94f716e10648..c3993746d675 100644 --- a/sdk/kinesisanalyticsv2/src/operation/delete_application_input_processing_configuration/builders.rs +++ b/sdk/kinesisanalyticsv2/src/operation/delete_application_input_processing_configuration/builders.rs @@ -19,9 +19,9 @@ impl DeleteApplicationInputProcessingConfigurationFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize(self) -> ::std::result::Result< + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware(self) -> ::std::result::Result< crate::client::customize::CustomizableOperation, ::aws_smithy_http::result::SdkError >{ @@ -64,6 +64,15 @@ impl DeleteApplicationInputProcessingConfigurationFluentBuilder { { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize(self) -> ::std::result::Result< + crate::client::customize::CustomizableOperation, + ::aws_smithy_http::result::SdkError + >{ + self.customize_middleware().await + } ///

                                                                                              The name of the application.

                                                                                              pub fn application_name( mut self, diff --git a/sdk/kinesisanalyticsv2/src/operation/delete_application_output/builders.rs b/sdk/kinesisanalyticsv2/src/operation/delete_application_output/builders.rs index f6bd27511e4a..cf22db8f3fa4 100644 --- a/sdk/kinesisanalyticsv2/src/operation/delete_application_output/builders.rs +++ b/sdk/kinesisanalyticsv2/src/operation/delete_application_output/builders.rs @@ -20,9 +20,9 @@ impl DeleteApplicationOutputFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -84,6 +84,22 @@ impl DeleteApplicationOutputFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::delete_application_output::DeleteApplicationOutput, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::delete_application_output::DeleteApplicationOutputError, + >, + > { + self.customize_middleware().await + } ///

                                                                                              The application name.

                                                                                              pub fn application_name( mut self, diff --git a/sdk/kinesisanalyticsv2/src/operation/delete_application_reference_data_source/builders.rs b/sdk/kinesisanalyticsv2/src/operation/delete_application_reference_data_source/builders.rs index b467df660e67..866af8914b92 100644 --- a/sdk/kinesisanalyticsv2/src/operation/delete_application_reference_data_source/builders.rs +++ b/sdk/kinesisanalyticsv2/src/operation/delete_application_reference_data_source/builders.rs @@ -20,9 +20,9 @@ impl DeleteApplicationReferenceDataSourceFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize(self) -> ::std::result::Result< + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware(self) -> ::std::result::Result< crate::client::customize::CustomizableOperation, ::aws_smithy_http::result::SdkError >{ @@ -65,6 +65,15 @@ impl DeleteApplicationReferenceDataSourceFluentBuilder { { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize(self) -> ::std::result::Result< + crate::client::customize::CustomizableOperation, + ::aws_smithy_http::result::SdkError + >{ + self.customize_middleware().await + } ///

                                                                                              The name of an existing application.

                                                                                              pub fn application_name( mut self, diff --git a/sdk/kinesisanalyticsv2/src/operation/delete_application_snapshot/builders.rs b/sdk/kinesisanalyticsv2/src/operation/delete_application_snapshot/builders.rs index c2c25ccd3f3c..f683862c3e8c 100644 --- a/sdk/kinesisanalyticsv2/src/operation/delete_application_snapshot/builders.rs +++ b/sdk/kinesisanalyticsv2/src/operation/delete_application_snapshot/builders.rs @@ -19,9 +19,9 @@ impl DeleteApplicationSnapshotFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl DeleteApplicationSnapshotFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::delete_application_snapshot::DeleteApplicationSnapshot, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::delete_application_snapshot::DeleteApplicationSnapshotError, + >, + > { + self.customize_middleware().await + } ///

                                                                                              The name of an existing application.

                                                                                              pub fn application_name( mut self, diff --git a/sdk/kinesisanalyticsv2/src/operation/delete_application_vpc_configuration/builders.rs b/sdk/kinesisanalyticsv2/src/operation/delete_application_vpc_configuration/builders.rs index f958da39225e..2a2627befe31 100644 --- a/sdk/kinesisanalyticsv2/src/operation/delete_application_vpc_configuration/builders.rs +++ b/sdk/kinesisanalyticsv2/src/operation/delete_application_vpc_configuration/builders.rs @@ -19,9 +19,9 @@ impl DeleteApplicationVpcConfigurationFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize(self) -> ::std::result::Result< + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware(self) -> ::std::result::Result< crate::client::customize::CustomizableOperation, ::aws_smithy_http::result::SdkError >{ @@ -64,6 +64,15 @@ impl DeleteApplicationVpcConfigurationFluentBuilder { { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize(self) -> ::std::result::Result< + crate::client::customize::CustomizableOperation, + ::aws_smithy_http::result::SdkError + >{ + self.customize_middleware().await + } ///

                                                                                              The name of an existing application.

                                                                                              pub fn application_name( mut self, diff --git a/sdk/kinesisanalyticsv2/src/operation/describe_application/builders.rs b/sdk/kinesisanalyticsv2/src/operation/describe_application/builders.rs index 9b33231e15a2..a454f8d6f766 100644 --- a/sdk/kinesisanalyticsv2/src/operation/describe_application/builders.rs +++ b/sdk/kinesisanalyticsv2/src/operation/describe_application/builders.rs @@ -20,9 +20,9 @@ impl DescribeApplicationFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -84,6 +84,22 @@ impl DescribeApplicationFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::describe_application::DescribeApplication, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::describe_application::DescribeApplicationError, + >, + > { + self.customize_middleware().await + } ///

                                                                                              The name of the application.

                                                                                              pub fn application_name( mut self, diff --git a/sdk/kinesisanalyticsv2/src/operation/describe_application_snapshot/builders.rs b/sdk/kinesisanalyticsv2/src/operation/describe_application_snapshot/builders.rs index e92614a267de..762935623258 100644 --- a/sdk/kinesisanalyticsv2/src/operation/describe_application_snapshot/builders.rs +++ b/sdk/kinesisanalyticsv2/src/operation/describe_application_snapshot/builders.rs @@ -19,9 +19,9 @@ impl DescribeApplicationSnapshotFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl DescribeApplicationSnapshotFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::describe_application_snapshot::DescribeApplicationSnapshot, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::describe_application_snapshot::DescribeApplicationSnapshotError, + >, + > { + self.customize_middleware().await + } ///

                                                                                              The name of an existing application.

                                                                                              pub fn application_name( mut self, diff --git a/sdk/kinesisanalyticsv2/src/operation/describe_application_version/builders.rs b/sdk/kinesisanalyticsv2/src/operation/describe_application_version/builders.rs index e0605f20de27..7a2645abcec4 100644 --- a/sdk/kinesisanalyticsv2/src/operation/describe_application_version/builders.rs +++ b/sdk/kinesisanalyticsv2/src/operation/describe_application_version/builders.rs @@ -21,9 +21,9 @@ impl DescribeApplicationVersionFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -85,6 +85,22 @@ impl DescribeApplicationVersionFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::describe_application_version::DescribeApplicationVersion, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::describe_application_version::DescribeApplicationVersionError, + >, + > { + self.customize_middleware().await + } ///

                                                                                              The name of the application for which you want to get the version description.

                                                                                              pub fn application_name( mut self, diff --git a/sdk/kinesisanalyticsv2/src/operation/discover_input_schema/builders.rs b/sdk/kinesisanalyticsv2/src/operation/discover_input_schema/builders.rs index c01aa0433529..580030384d03 100644 --- a/sdk/kinesisanalyticsv2/src/operation/discover_input_schema/builders.rs +++ b/sdk/kinesisanalyticsv2/src/operation/discover_input_schema/builders.rs @@ -20,9 +20,9 @@ impl DiscoverInputSchemaFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -84,6 +84,22 @@ impl DiscoverInputSchemaFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::discover_input_schema::DiscoverInputSchema, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::discover_input_schema::DiscoverInputSchemaError, + >, + > { + self.customize_middleware().await + } ///

                                                                                              The Amazon Resource Name (ARN) of the streaming source.

                                                                                              pub fn resource_arn(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.resource_arn(input.into()); diff --git a/sdk/kinesisanalyticsv2/src/operation/list_application_snapshots/builders.rs b/sdk/kinesisanalyticsv2/src/operation/list_application_snapshots/builders.rs index 85148e686f63..af165fc1f8e2 100644 --- a/sdk/kinesisanalyticsv2/src/operation/list_application_snapshots/builders.rs +++ b/sdk/kinesisanalyticsv2/src/operation/list_application_snapshots/builders.rs @@ -19,9 +19,9 @@ impl ListApplicationSnapshotsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl ListApplicationSnapshotsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_application_snapshots::ListApplicationSnapshots, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::list_application_snapshots::ListApplicationSnapshotsError, + >, + > { + self.customize_middleware().await + } ///

                                                                                              The name of an existing application.

                                                                                              pub fn application_name( mut self, diff --git a/sdk/kinesisanalyticsv2/src/operation/list_application_versions/builders.rs b/sdk/kinesisanalyticsv2/src/operation/list_application_versions/builders.rs index 41e7864af613..f658349642cd 100644 --- a/sdk/kinesisanalyticsv2/src/operation/list_application_versions/builders.rs +++ b/sdk/kinesisanalyticsv2/src/operation/list_application_versions/builders.rs @@ -23,9 +23,9 @@ impl ListApplicationVersionsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -87,6 +87,22 @@ impl ListApplicationVersionsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_application_versions::ListApplicationVersions, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::list_application_versions::ListApplicationVersionsError, + >, + > { + self.customize_middleware().await + } ///

                                                                                              The name of the application for which you want to list all versions.

                                                                                              pub fn application_name( mut self, diff --git a/sdk/kinesisanalyticsv2/src/operation/list_applications/builders.rs b/sdk/kinesisanalyticsv2/src/operation/list_applications/builders.rs index 869bf86c6d60..9ae1991549e5 100644 --- a/sdk/kinesisanalyticsv2/src/operation/list_applications/builders.rs +++ b/sdk/kinesisanalyticsv2/src/operation/list_applications/builders.rs @@ -20,9 +20,9 @@ impl ListApplicationsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -84,6 +84,22 @@ impl ListApplicationsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_applications::ListApplications, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::list_applications::ListApplicationsError, + >, + > { + self.customize_middleware().await + } ///

                                                                                              The maximum number of applications to list.

                                                                                              pub fn limit(mut self, input: i32) -> Self { self.inner = self.inner.limit(input); diff --git a/sdk/kinesisanalyticsv2/src/operation/list_tags_for_resource/builders.rs b/sdk/kinesisanalyticsv2/src/operation/list_tags_for_resource/builders.rs index e8f951f9e3e5..5eca24aedd68 100644 --- a/sdk/kinesisanalyticsv2/src/operation/list_tags_for_resource/builders.rs +++ b/sdk/kinesisanalyticsv2/src/operation/list_tags_for_resource/builders.rs @@ -19,9 +19,9 @@ impl ListTagsForResourceFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl ListTagsForResourceFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_tags_for_resource::ListTagsForResource, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::list_tags_for_resource::ListTagsForResourceError, + >, + > { + self.customize_middleware().await + } ///

                                                                                              The ARN of the application for which to retrieve tags.

                                                                                              pub fn resource_arn(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.resource_arn(input.into()); diff --git a/sdk/kinesisanalyticsv2/src/operation/rollback_application/builders.rs b/sdk/kinesisanalyticsv2/src/operation/rollback_application/builders.rs index 344cb3b38232..673f8c100a5d 100644 --- a/sdk/kinesisanalyticsv2/src/operation/rollback_application/builders.rs +++ b/sdk/kinesisanalyticsv2/src/operation/rollback_application/builders.rs @@ -22,9 +22,9 @@ impl RollbackApplicationFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -86,6 +86,22 @@ impl RollbackApplicationFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::rollback_application::RollbackApplication, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::rollback_application::RollbackApplicationError, + >, + > { + self.customize_middleware().await + } ///

                                                                                              The name of the application.

                                                                                              pub fn application_name( mut self, diff --git a/sdk/kinesisanalyticsv2/src/operation/start_application/builders.rs b/sdk/kinesisanalyticsv2/src/operation/start_application/builders.rs index e4344430974a..3d22d16d6418 100644 --- a/sdk/kinesisanalyticsv2/src/operation/start_application/builders.rs +++ b/sdk/kinesisanalyticsv2/src/operation/start_application/builders.rs @@ -19,9 +19,9 @@ impl StartApplicationFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl StartApplicationFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::start_application::StartApplication, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::start_application::StartApplicationError, + >, + > { + self.customize_middleware().await + } ///

                                                                                              The name of the application.

                                                                                              pub fn application_name( mut self, diff --git a/sdk/kinesisanalyticsv2/src/operation/stop_application/builders.rs b/sdk/kinesisanalyticsv2/src/operation/stop_application/builders.rs index fa5a5473b23d..702361e6b8e9 100644 --- a/sdk/kinesisanalyticsv2/src/operation/stop_application/builders.rs +++ b/sdk/kinesisanalyticsv2/src/operation/stop_application/builders.rs @@ -21,9 +21,9 @@ impl StopApplicationFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -85,6 +85,22 @@ impl StopApplicationFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::stop_application::StopApplication, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::stop_application::StopApplicationError, + >, + > { + self.customize_middleware().await + } ///

                                                                                              The name of the running application to stop.

                                                                                              pub fn application_name( mut self, diff --git a/sdk/kinesisanalyticsv2/src/operation/tag_resource/builders.rs b/sdk/kinesisanalyticsv2/src/operation/tag_resource/builders.rs index 0d469987a6c4..6f783ee8ea9d 100644 --- a/sdk/kinesisanalyticsv2/src/operation/tag_resource/builders.rs +++ b/sdk/kinesisanalyticsv2/src/operation/tag_resource/builders.rs @@ -19,9 +19,9 @@ impl TagResourceFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl TagResourceFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::tag_resource::TagResource, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                                              The ARN of the application to assign the tags.

                                                                                              pub fn resource_arn(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.resource_arn(input.into()); diff --git a/sdk/kinesisanalyticsv2/src/operation/untag_resource/builders.rs b/sdk/kinesisanalyticsv2/src/operation/untag_resource/builders.rs index 21a58545d287..149f49ae3a9c 100644 --- a/sdk/kinesisanalyticsv2/src/operation/untag_resource/builders.rs +++ b/sdk/kinesisanalyticsv2/src/operation/untag_resource/builders.rs @@ -19,9 +19,9 @@ impl UntagResourceFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl UntagResourceFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::untag_resource::UntagResource, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                                              The ARN of the Kinesis Data Analytics application from which to remove the tags.

                                                                                              pub fn resource_arn(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.resource_arn(input.into()); diff --git a/sdk/kinesisanalyticsv2/src/operation/update_application/builders.rs b/sdk/kinesisanalyticsv2/src/operation/update_application/builders.rs index 148fdd0b87c4..5b85a9951193 100644 --- a/sdk/kinesisanalyticsv2/src/operation/update_application/builders.rs +++ b/sdk/kinesisanalyticsv2/src/operation/update_application/builders.rs @@ -22,9 +22,9 @@ impl UpdateApplicationFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -86,6 +86,22 @@ impl UpdateApplicationFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::update_application::UpdateApplication, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::update_application::UpdateApplicationError, + >, + > { + self.customize_middleware().await + } ///

                                                                                              The name of the application to update.

                                                                                              pub fn application_name( mut self, diff --git a/sdk/kinesisanalyticsv2/src/operation/update_application_maintenance_configuration/builders.rs b/sdk/kinesisanalyticsv2/src/operation/update_application_maintenance_configuration/builders.rs index 42d30195dad4..f6167fa331ca 100644 --- a/sdk/kinesisanalyticsv2/src/operation/update_application_maintenance_configuration/builders.rs +++ b/sdk/kinesisanalyticsv2/src/operation/update_application_maintenance_configuration/builders.rs @@ -24,9 +24,9 @@ impl UpdateApplicationMaintenanceConfigurationFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize(self) -> ::std::result::Result< + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware(self) -> ::std::result::Result< crate::client::customize::CustomizableOperation, ::aws_smithy_http::result::SdkError >{ @@ -69,6 +69,15 @@ impl UpdateApplicationMaintenanceConfigurationFluentBuilder { { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize(self) -> ::std::result::Result< + crate::client::customize::CustomizableOperation, + ::aws_smithy_http::result::SdkError + >{ + self.customize_middleware().await + } ///

                                                                                              The name of the application for which you want to update the maintenance configuration.

                                                                                              pub fn application_name( mut self, diff --git a/sdk/kinesisvideo/src/operation/create_signaling_channel/builders.rs b/sdk/kinesisvideo/src/operation/create_signaling_channel/builders.rs index c862a454ce33..57dbdf29a824 100644 --- a/sdk/kinesisvideo/src/operation/create_signaling_channel/builders.rs +++ b/sdk/kinesisvideo/src/operation/create_signaling_channel/builders.rs @@ -20,9 +20,9 @@ impl CreateSignalingChannelFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -84,6 +84,22 @@ impl CreateSignalingChannelFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::create_signaling_channel::CreateSignalingChannel, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::create_signaling_channel::CreateSignalingChannelError, + >, + > { + self.customize_middleware().await + } ///

                                                                                              A name for the signaling channel that you are creating. It must be unique for each Amazon Web Services account and Amazon Web Services Region.

                                                                                              pub fn channel_name(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.channel_name(input.into()); diff --git a/sdk/kinesisvideo/src/operation/create_stream/builders.rs b/sdk/kinesisvideo/src/operation/create_stream/builders.rs index 636d7546fc25..98716e76a304 100644 --- a/sdk/kinesisvideo/src/operation/create_stream/builders.rs +++ b/sdk/kinesisvideo/src/operation/create_stream/builders.rs @@ -23,9 +23,9 @@ impl CreateStreamFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -81,6 +81,20 @@ impl CreateStreamFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::create_stream::CreateStream, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                                              The name of the device that is writing to the stream.

                                                                                              ///

                                                                                              In the current implementation, Kinesis Video Streams does not use this name.

                                                                                              ///
                                                                                              diff --git a/sdk/kinesisvideo/src/operation/delete_signaling_channel/builders.rs b/sdk/kinesisvideo/src/operation/delete_signaling_channel/builders.rs index 074d154afc8d..98e821928b49 100644 --- a/sdk/kinesisvideo/src/operation/delete_signaling_channel/builders.rs +++ b/sdk/kinesisvideo/src/operation/delete_signaling_channel/builders.rs @@ -19,9 +19,9 @@ impl DeleteSignalingChannelFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl DeleteSignalingChannelFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::delete_signaling_channel::DeleteSignalingChannel, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::delete_signaling_channel::DeleteSignalingChannelError, + >, + > { + self.customize_middleware().await + } ///

                                                                                              The Amazon Resource Name (ARN) of the signaling channel that you want to delete.

                                                                                              pub fn channel_arn(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.channel_arn(input.into()); diff --git a/sdk/kinesisvideo/src/operation/delete_stream/builders.rs b/sdk/kinesisvideo/src/operation/delete_stream/builders.rs index 15c294e2e96d..0dc6f43ba3d5 100644 --- a/sdk/kinesisvideo/src/operation/delete_stream/builders.rs +++ b/sdk/kinesisvideo/src/operation/delete_stream/builders.rs @@ -23,9 +23,9 @@ impl DeleteStreamFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -81,6 +81,20 @@ impl DeleteStreamFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::delete_stream::DeleteStream, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                                              The Amazon Resource Name (ARN) of the stream that you want to delete.

                                                                                              pub fn stream_arn(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.stream_arn(input.into()); diff --git a/sdk/kinesisvideo/src/operation/describe_edge_configuration/builders.rs b/sdk/kinesisvideo/src/operation/describe_edge_configuration/builders.rs index b3cc1488acc8..23fffe346cd6 100644 --- a/sdk/kinesisvideo/src/operation/describe_edge_configuration/builders.rs +++ b/sdk/kinesisvideo/src/operation/describe_edge_configuration/builders.rs @@ -19,9 +19,9 @@ impl DescribeEdgeConfigurationFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl DescribeEdgeConfigurationFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::describe_edge_configuration::DescribeEdgeConfiguration, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::describe_edge_configuration::DescribeEdgeConfigurationError, + >, + > { + self.customize_middleware().await + } ///

                                                                                              The name of the stream whose edge configuration you want to update. Specify either the StreamName or the StreamARN.

                                                                                              pub fn stream_name(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.stream_name(input.into()); diff --git a/sdk/kinesisvideo/src/operation/describe_image_generation_configuration/builders.rs b/sdk/kinesisvideo/src/operation/describe_image_generation_configuration/builders.rs index e7241c53fcd5..ca1795054ffe 100644 --- a/sdk/kinesisvideo/src/operation/describe_image_generation_configuration/builders.rs +++ b/sdk/kinesisvideo/src/operation/describe_image_generation_configuration/builders.rs @@ -19,9 +19,9 @@ impl DescribeImageGenerationConfigurationFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize(self) -> ::std::result::Result< + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware(self) -> ::std::result::Result< crate::client::customize::CustomizableOperation, ::aws_smithy_http::result::SdkError >{ @@ -64,6 +64,15 @@ impl DescribeImageGenerationConfigurationFluentBuilder { { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize(self) -> ::std::result::Result< + crate::client::customize::CustomizableOperation, + ::aws_smithy_http::result::SdkError + >{ + self.customize_middleware().await + } ///

                                                                                              The name of the stream from which to retrieve the image generation configuration. You must specify either the StreamName or the StreamARN.

                                                                                              pub fn stream_name(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.stream_name(input.into()); diff --git a/sdk/kinesisvideo/src/operation/describe_mapped_resource_configuration/builders.rs b/sdk/kinesisvideo/src/operation/describe_mapped_resource_configuration/builders.rs index d25031b3ccc8..4519eb6023a6 100644 --- a/sdk/kinesisvideo/src/operation/describe_mapped_resource_configuration/builders.rs +++ b/sdk/kinesisvideo/src/operation/describe_mapped_resource_configuration/builders.rs @@ -20,9 +20,9 @@ impl DescribeMappedResourceConfigurationFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize(self) -> ::std::result::Result< + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware(self) -> ::std::result::Result< crate::client::customize::CustomizableOperation, ::aws_smithy_http::result::SdkError >{ @@ -65,6 +65,15 @@ impl DescribeMappedResourceConfigurationFluentBuilder { { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize(self) -> ::std::result::Result< + crate::client::customize::CustomizableOperation, + ::aws_smithy_http::result::SdkError + >{ + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::describe_mapped_resource_configuration::paginator::DescribeMappedResourceConfigurationPaginator::send) which returns a `Stream`. diff --git a/sdk/kinesisvideo/src/operation/describe_media_storage_configuration/builders.rs b/sdk/kinesisvideo/src/operation/describe_media_storage_configuration/builders.rs index 972d1bc3b78e..644a4f208c60 100644 --- a/sdk/kinesisvideo/src/operation/describe_media_storage_configuration/builders.rs +++ b/sdk/kinesisvideo/src/operation/describe_media_storage_configuration/builders.rs @@ -19,9 +19,9 @@ impl DescribeMediaStorageConfigurationFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize(self) -> ::std::result::Result< + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware(self) -> ::std::result::Result< crate::client::customize::CustomizableOperation, ::aws_smithy_http::result::SdkError >{ @@ -64,6 +64,15 @@ impl DescribeMediaStorageConfigurationFluentBuilder { { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize(self) -> ::std::result::Result< + crate::client::customize::CustomizableOperation, + ::aws_smithy_http::result::SdkError + >{ + self.customize_middleware().await + } ///

                                                                                              The name of the channel.

                                                                                              pub fn channel_name(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.channel_name(input.into()); diff --git a/sdk/kinesisvideo/src/operation/describe_notification_configuration/builders.rs b/sdk/kinesisvideo/src/operation/describe_notification_configuration/builders.rs index 152d98c25557..8dc9eb5ed62f 100644 --- a/sdk/kinesisvideo/src/operation/describe_notification_configuration/builders.rs +++ b/sdk/kinesisvideo/src/operation/describe_notification_configuration/builders.rs @@ -19,9 +19,9 @@ impl DescribeNotificationConfigurationFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize(self) -> ::std::result::Result< + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware(self) -> ::std::result::Result< crate::client::customize::CustomizableOperation, ::aws_smithy_http::result::SdkError >{ @@ -64,6 +64,15 @@ impl DescribeNotificationConfigurationFluentBuilder { { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize(self) -> ::std::result::Result< + crate::client::customize::CustomizableOperation, + ::aws_smithy_http::result::SdkError + >{ + self.customize_middleware().await + } ///

                                                                                              The name of the stream from which to retrieve the notification configuration. You must specify either the StreamName or the StreamARN.

                                                                                              pub fn stream_name(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.stream_name(input.into()); diff --git a/sdk/kinesisvideo/src/operation/describe_signaling_channel/builders.rs b/sdk/kinesisvideo/src/operation/describe_signaling_channel/builders.rs index 55b2da5f3597..f09a13ec6e44 100644 --- a/sdk/kinesisvideo/src/operation/describe_signaling_channel/builders.rs +++ b/sdk/kinesisvideo/src/operation/describe_signaling_channel/builders.rs @@ -19,9 +19,9 @@ impl DescribeSignalingChannelFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl DescribeSignalingChannelFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::describe_signaling_channel::DescribeSignalingChannel, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::describe_signaling_channel::DescribeSignalingChannelError, + >, + > { + self.customize_middleware().await + } ///

                                                                                              The name of the signaling channel that you want to describe.

                                                                                              pub fn channel_name(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.channel_name(input.into()); diff --git a/sdk/kinesisvideo/src/operation/describe_stream/builders.rs b/sdk/kinesisvideo/src/operation/describe_stream/builders.rs index e730e52a0531..fe02131c88fa 100644 --- a/sdk/kinesisvideo/src/operation/describe_stream/builders.rs +++ b/sdk/kinesisvideo/src/operation/describe_stream/builders.rs @@ -19,9 +19,9 @@ impl DescribeStreamFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl DescribeStreamFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::describe_stream::DescribeStream, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                                              The name of the stream.

                                                                                              pub fn stream_name(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.stream_name(input.into()); diff --git a/sdk/kinesisvideo/src/operation/get_data_endpoint/builders.rs b/sdk/kinesisvideo/src/operation/get_data_endpoint/builders.rs index 583965e85334..cc0e27844ccd 100644 --- a/sdk/kinesisvideo/src/operation/get_data_endpoint/builders.rs +++ b/sdk/kinesisvideo/src/operation/get_data_endpoint/builders.rs @@ -22,9 +22,9 @@ impl GetDataEndpointFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -86,6 +86,22 @@ impl GetDataEndpointFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::get_data_endpoint::GetDataEndpoint, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::get_data_endpoint::GetDataEndpointError, + >, + > { + self.customize_middleware().await + } ///

                                                                                              The name of the stream that you want to get the endpoint for. You must specify either this parameter or a StreamARN in the request.

                                                                                              pub fn stream_name(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.stream_name(input.into()); diff --git a/sdk/kinesisvideo/src/operation/get_signaling_channel_endpoint/builders.rs b/sdk/kinesisvideo/src/operation/get_signaling_channel_endpoint/builders.rs index d3b150972484..5c5ea68a4775 100644 --- a/sdk/kinesisvideo/src/operation/get_signaling_channel_endpoint/builders.rs +++ b/sdk/kinesisvideo/src/operation/get_signaling_channel_endpoint/builders.rs @@ -21,9 +21,9 @@ impl GetSignalingChannelEndpointFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -85,6 +85,22 @@ impl GetSignalingChannelEndpointFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::get_signaling_channel_endpoint::GetSignalingChannelEndpoint, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::get_signaling_channel_endpoint::GetSignalingChannelEndpointError, + >, + > { + self.customize_middleware().await + } ///

                                                                                              The Amazon Resource Name (ARN) of the signalling channel for which you want to get an endpoint.

                                                                                              pub fn channel_arn(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.channel_arn(input.into()); diff --git a/sdk/kinesisvideo/src/operation/list_signaling_channels/builders.rs b/sdk/kinesisvideo/src/operation/list_signaling_channels/builders.rs index 85744c0fd118..954a30aa1229 100644 --- a/sdk/kinesisvideo/src/operation/list_signaling_channels/builders.rs +++ b/sdk/kinesisvideo/src/operation/list_signaling_channels/builders.rs @@ -19,9 +19,9 @@ impl ListSignalingChannelsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl ListSignalingChannelsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_signaling_channels::ListSignalingChannels, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::list_signaling_channels::ListSignalingChannelsError, + >, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::list_signaling_channels::paginator::ListSignalingChannelsPaginator::send) which returns a `Stream`. diff --git a/sdk/kinesisvideo/src/operation/list_streams/builders.rs b/sdk/kinesisvideo/src/operation/list_streams/builders.rs index 89a9a5dd7488..ed20758d85fd 100644 --- a/sdk/kinesisvideo/src/operation/list_streams/builders.rs +++ b/sdk/kinesisvideo/src/operation/list_streams/builders.rs @@ -19,9 +19,9 @@ impl ListStreamsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl ListStreamsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_streams::ListStreams, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::list_streams::paginator::ListStreamsPaginator::send) which returns a `Stream`. diff --git a/sdk/kinesisvideo/src/operation/list_tags_for_resource/builders.rs b/sdk/kinesisvideo/src/operation/list_tags_for_resource/builders.rs index e112d04eb4a8..7243cf4c8957 100644 --- a/sdk/kinesisvideo/src/operation/list_tags_for_resource/builders.rs +++ b/sdk/kinesisvideo/src/operation/list_tags_for_resource/builders.rs @@ -19,9 +19,9 @@ impl ListTagsForResourceFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl ListTagsForResourceFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_tags_for_resource::ListTagsForResource, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::list_tags_for_resource::ListTagsForResourceError, + >, + > { + self.customize_middleware().await + } ///

                                                                                              If you specify this parameter and the result of a ListTagsForResource call is truncated, the response includes a token that you can use in the next request to fetch the next batch of tags.

                                                                                              pub fn next_token(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.next_token(input.into()); diff --git a/sdk/kinesisvideo/src/operation/list_tags_for_stream/builders.rs b/sdk/kinesisvideo/src/operation/list_tags_for_stream/builders.rs index eff259b4e4cd..cb23390a7bd2 100644 --- a/sdk/kinesisvideo/src/operation/list_tags_for_stream/builders.rs +++ b/sdk/kinesisvideo/src/operation/list_tags_for_stream/builders.rs @@ -20,9 +20,9 @@ impl ListTagsForStreamFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -84,6 +84,22 @@ impl ListTagsForStreamFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_tags_for_stream::ListTagsForStream, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::list_tags_for_stream::ListTagsForStreamError, + >, + > { + self.customize_middleware().await + } ///

                                                                                              If you specify this parameter and the result of a ListTagsForStream call is truncated, the response includes a token that you can use in the next request to fetch the next batch of tags.

                                                                                              pub fn next_token(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.next_token(input.into()); diff --git a/sdk/kinesisvideo/src/operation/start_edge_configuration_update/builders.rs b/sdk/kinesisvideo/src/operation/start_edge_configuration_update/builders.rs index f8fdd136e7c0..151211c95eb6 100644 --- a/sdk/kinesisvideo/src/operation/start_edge_configuration_update/builders.rs +++ b/sdk/kinesisvideo/src/operation/start_edge_configuration_update/builders.rs @@ -20,9 +20,9 @@ impl StartEdgeConfigurationUpdateFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -84,6 +84,22 @@ impl StartEdgeConfigurationUpdateFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::start_edge_configuration_update::StartEdgeConfigurationUpdate, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::start_edge_configuration_update::StartEdgeConfigurationUpdateError, + >, + > { + self.customize_middleware().await + } ///

                                                                                              The name of the stream whose edge configuration you want to update. Specify either the StreamName or the StreamARN.

                                                                                              pub fn stream_name(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.stream_name(input.into()); diff --git a/sdk/kinesisvideo/src/operation/tag_resource/builders.rs b/sdk/kinesisvideo/src/operation/tag_resource/builders.rs index f5428ceb82f0..21743dfad087 100644 --- a/sdk/kinesisvideo/src/operation/tag_resource/builders.rs +++ b/sdk/kinesisvideo/src/operation/tag_resource/builders.rs @@ -19,9 +19,9 @@ impl TagResourceFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl TagResourceFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::tag_resource::TagResource, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                                              The Amazon Resource Name (ARN) of the signaling channel to which you want to add tags.

                                                                                              pub fn resource_arn(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.resource_arn(input.into()); diff --git a/sdk/kinesisvideo/src/operation/tag_stream/builders.rs b/sdk/kinesisvideo/src/operation/tag_stream/builders.rs index ea81a15f8b66..ee82f653a7b5 100644 --- a/sdk/kinesisvideo/src/operation/tag_stream/builders.rs +++ b/sdk/kinesisvideo/src/operation/tag_stream/builders.rs @@ -22,9 +22,9 @@ impl TagStreamFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -80,6 +80,20 @@ impl TagStreamFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::tag_stream::TagStream, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                                              The Amazon Resource Name (ARN) of the resource that you want to add the tag or tags to.

                                                                                              pub fn stream_arn(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.stream_arn(input.into()); diff --git a/sdk/kinesisvideo/src/operation/untag_resource/builders.rs b/sdk/kinesisvideo/src/operation/untag_resource/builders.rs index 1ece92a112f5..5d975dbf0154 100644 --- a/sdk/kinesisvideo/src/operation/untag_resource/builders.rs +++ b/sdk/kinesisvideo/src/operation/untag_resource/builders.rs @@ -19,9 +19,9 @@ impl UntagResourceFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl UntagResourceFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::untag_resource::UntagResource, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                                              The Amazon Resource Name (ARN) of the signaling channel from which you want to remove tags.

                                                                                              pub fn resource_arn(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.resource_arn(input.into()); diff --git a/sdk/kinesisvideo/src/operation/untag_stream/builders.rs b/sdk/kinesisvideo/src/operation/untag_stream/builders.rs index 735a4cee10a8..8ab604f00a1d 100644 --- a/sdk/kinesisvideo/src/operation/untag_stream/builders.rs +++ b/sdk/kinesisvideo/src/operation/untag_stream/builders.rs @@ -20,9 +20,9 @@ impl UntagStreamFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -78,6 +78,20 @@ impl UntagStreamFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::untag_stream::UntagStream, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                                              The Amazon Resource Name (ARN) of the stream that you want to remove tags from.

                                                                                              pub fn stream_arn(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.stream_arn(input.into()); diff --git a/sdk/kinesisvideo/src/operation/update_data_retention/builders.rs b/sdk/kinesisvideo/src/operation/update_data_retention/builders.rs index 4436dfe10ae9..14b2c70a79be 100644 --- a/sdk/kinesisvideo/src/operation/update_data_retention/builders.rs +++ b/sdk/kinesisvideo/src/operation/update_data_retention/builders.rs @@ -27,9 +27,9 @@ impl UpdateDataRetentionFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -91,6 +91,22 @@ impl UpdateDataRetentionFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::update_data_retention::UpdateDataRetention, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::update_data_retention::UpdateDataRetentionError, + >, + > { + self.customize_middleware().await + } ///

                                                                                              The name of the stream whose retention period you want to change.

                                                                                              pub fn stream_name(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.stream_name(input.into()); diff --git a/sdk/kinesisvideo/src/operation/update_image_generation_configuration/builders.rs b/sdk/kinesisvideo/src/operation/update_image_generation_configuration/builders.rs index 10eb42fac5ec..12a5a01b99ba 100644 --- a/sdk/kinesisvideo/src/operation/update_image_generation_configuration/builders.rs +++ b/sdk/kinesisvideo/src/operation/update_image_generation_configuration/builders.rs @@ -19,9 +19,9 @@ impl UpdateImageGenerationConfigurationFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize(self) -> ::std::result::Result< + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware(self) -> ::std::result::Result< crate::client::customize::CustomizableOperation, ::aws_smithy_http::result::SdkError >{ @@ -64,6 +64,15 @@ impl UpdateImageGenerationConfigurationFluentBuilder { { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize(self) -> ::std::result::Result< + crate::client::customize::CustomizableOperation, + ::aws_smithy_http::result::SdkError + >{ + self.customize_middleware().await + } ///

                                                                                              The name of the stream from which to update the image generation configuration. You must specify either the StreamName or the StreamARN.

                                                                                              pub fn stream_name(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.stream_name(input.into()); diff --git a/sdk/kinesisvideo/src/operation/update_media_storage_configuration/builders.rs b/sdk/kinesisvideo/src/operation/update_media_storage_configuration/builders.rs index bab964517ace..09befa45ec83 100644 --- a/sdk/kinesisvideo/src/operation/update_media_storage_configuration/builders.rs +++ b/sdk/kinesisvideo/src/operation/update_media_storage_configuration/builders.rs @@ -23,9 +23,9 @@ impl UpdateMediaStorageConfigurationFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize(self) -> ::std::result::Result< + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware(self) -> ::std::result::Result< crate::client::customize::CustomizableOperation, ::aws_smithy_http::result::SdkError >{ @@ -68,6 +68,15 @@ impl UpdateMediaStorageConfigurationFluentBuilder { { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize(self) -> ::std::result::Result< + crate::client::customize::CustomizableOperation, + ::aws_smithy_http::result::SdkError + >{ + self.customize_middleware().await + } ///

                                                                                              The Amazon Resource Name (ARN) of the channel.

                                                                                              pub fn channel_arn(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.channel_arn(input.into()); diff --git a/sdk/kinesisvideo/src/operation/update_notification_configuration/builders.rs b/sdk/kinesisvideo/src/operation/update_notification_configuration/builders.rs index cb9733617a15..06d2efd32d7e 100644 --- a/sdk/kinesisvideo/src/operation/update_notification_configuration/builders.rs +++ b/sdk/kinesisvideo/src/operation/update_notification_configuration/builders.rs @@ -19,9 +19,9 @@ impl UpdateNotificationConfigurationFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize(self) -> ::std::result::Result< + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware(self) -> ::std::result::Result< crate::client::customize::CustomizableOperation, ::aws_smithy_http::result::SdkError >{ @@ -64,6 +64,15 @@ impl UpdateNotificationConfigurationFluentBuilder { { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize(self) -> ::std::result::Result< + crate::client::customize::CustomizableOperation, + ::aws_smithy_http::result::SdkError + >{ + self.customize_middleware().await + } ///

                                                                                              The name of the stream from which to update the notification configuration. You must specify either the StreamName or the StreamARN.

                                                                                              pub fn stream_name(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.stream_name(input.into()); diff --git a/sdk/kinesisvideo/src/operation/update_signaling_channel/builders.rs b/sdk/kinesisvideo/src/operation/update_signaling_channel/builders.rs index d047a14fb12d..f2f304bad0b0 100644 --- a/sdk/kinesisvideo/src/operation/update_signaling_channel/builders.rs +++ b/sdk/kinesisvideo/src/operation/update_signaling_channel/builders.rs @@ -20,9 +20,9 @@ impl UpdateSignalingChannelFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -84,6 +84,22 @@ impl UpdateSignalingChannelFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::update_signaling_channel::UpdateSignalingChannel, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::update_signaling_channel::UpdateSignalingChannelError, + >, + > { + self.customize_middleware().await + } ///

                                                                                              The Amazon Resource Name (ARN) of the signaling channel that you want to update.

                                                                                              pub fn channel_arn(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.channel_arn(input.into()); diff --git a/sdk/kinesisvideo/src/operation/update_stream/builders.rs b/sdk/kinesisvideo/src/operation/update_stream/builders.rs index 3ac189562f4e..c27f0a21c6ae 100644 --- a/sdk/kinesisvideo/src/operation/update_stream/builders.rs +++ b/sdk/kinesisvideo/src/operation/update_stream/builders.rs @@ -22,9 +22,9 @@ impl UpdateStreamFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -80,6 +80,20 @@ impl UpdateStreamFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::update_stream::UpdateStream, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                                              The name of the stream whose metadata you want to update.

                                                                                              ///

                                                                                              The stream name is an identifier for the stream, and must be unique for each account and region.

                                                                                              pub fn stream_name(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { diff --git a/sdk/kinesisvideoarchivedmedia/src/operation/get_clip/builders.rs b/sdk/kinesisvideoarchivedmedia/src/operation/get_clip/builders.rs index 217c234bfbc1..f5f63a6a5f85 100644 --- a/sdk/kinesisvideoarchivedmedia/src/operation/get_clip/builders.rs +++ b/sdk/kinesisvideoarchivedmedia/src/operation/get_clip/builders.rs @@ -29,9 +29,9 @@ impl GetClipFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -87,6 +87,20 @@ impl GetClipFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::get_clip::GetClip, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                                              The name of the stream for which to retrieve the media clip.

                                                                                              ///

                                                                                              You must specify either the StreamName or the StreamARN.

                                                                                              pub fn stream_name(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { diff --git a/sdk/kinesisvideoarchivedmedia/src/operation/get_dash_streaming_session_url/builders.rs b/sdk/kinesisvideoarchivedmedia/src/operation/get_dash_streaming_session_url/builders.rs index 6819e412ad79..89e0a51a37ab 100644 --- a/sdk/kinesisvideoarchivedmedia/src/operation/get_dash_streaming_session_url/builders.rs +++ b/sdk/kinesisvideoarchivedmedia/src/operation/get_dash_streaming_session_url/builders.rs @@ -55,9 +55,9 @@ impl GetDASHStreamingSessionURLFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -119,6 +119,22 @@ impl GetDASHStreamingSessionURLFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::get_dash_streaming_session_url::GetDASHStreamingSessionURL, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::get_dash_streaming_session_url::GetDASHStreamingSessionURLError, + >, + > { + self.customize_middleware().await + } ///

                                                                                              The name of the stream for which to retrieve the MPEG-DASH manifest URL.

                                                                                              ///

                                                                                              You must specify either the StreamName or the StreamARN.

                                                                                              pub fn stream_name(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { diff --git a/sdk/kinesisvideoarchivedmedia/src/operation/get_hls_streaming_session_url/builders.rs b/sdk/kinesisvideoarchivedmedia/src/operation/get_hls_streaming_session_url/builders.rs index 4d12846a044e..465ee4f05d7e 100644 --- a/sdk/kinesisvideoarchivedmedia/src/operation/get_hls_streaming_session_url/builders.rs +++ b/sdk/kinesisvideoarchivedmedia/src/operation/get_hls_streaming_session_url/builders.rs @@ -59,9 +59,9 @@ impl GetHLSStreamingSessionURLFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -123,6 +123,22 @@ impl GetHLSStreamingSessionURLFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::get_hls_streaming_session_url::GetHLSStreamingSessionURL, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::get_hls_streaming_session_url::GetHLSStreamingSessionURLError, + >, + > { + self.customize_middleware().await + } ///

                                                                                              The name of the stream for which to retrieve the HLS master playlist URL.

                                                                                              ///

                                                                                              You must specify either the StreamName or the StreamARN.

                                                                                              pub fn stream_name(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { diff --git a/sdk/kinesisvideoarchivedmedia/src/operation/get_images/builders.rs b/sdk/kinesisvideoarchivedmedia/src/operation/get_images/builders.rs index eb7a79d5e07b..275c94e95074 100644 --- a/sdk/kinesisvideoarchivedmedia/src/operation/get_images/builders.rs +++ b/sdk/kinesisvideoarchivedmedia/src/operation/get_images/builders.rs @@ -19,9 +19,9 @@ impl GetImagesFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl GetImagesFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::get_images::GetImages, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                                              The name of the stream from which to retrieve the images. You must specify either the StreamName or the StreamARN.

                                                                                              pub fn stream_name(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.stream_name(input.into()); diff --git a/sdk/kinesisvideoarchivedmedia/src/operation/get_media_for_fragment_list/builders.rs b/sdk/kinesisvideoarchivedmedia/src/operation/get_media_for_fragment_list/builders.rs index 2cd119d67983..b76d5735e6d4 100644 --- a/sdk/kinesisvideoarchivedmedia/src/operation/get_media_for_fragment_list/builders.rs +++ b/sdk/kinesisvideoarchivedmedia/src/operation/get_media_for_fragment_list/builders.rs @@ -30,9 +30,9 @@ impl GetMediaForFragmentListFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -94,6 +94,22 @@ impl GetMediaForFragmentListFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::get_media_for_fragment_list::GetMediaForFragmentList, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::get_media_for_fragment_list::GetMediaForFragmentListError, + >, + > { + self.customize_middleware().await + } ///

                                                                                              The name of the stream from which to retrieve fragment media. Specify either this parameter or the StreamARN parameter.

                                                                                              pub fn stream_name(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.stream_name(input.into()); diff --git a/sdk/kinesisvideoarchivedmedia/src/operation/list_fragments/builders.rs b/sdk/kinesisvideoarchivedmedia/src/operation/list_fragments/builders.rs index 405ee501d4c5..56fe69b2b4ea 100644 --- a/sdk/kinesisvideoarchivedmedia/src/operation/list_fragments/builders.rs +++ b/sdk/kinesisvideoarchivedmedia/src/operation/list_fragments/builders.rs @@ -30,9 +30,9 @@ impl ListFragmentsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -88,6 +88,20 @@ impl ListFragmentsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_fragments::ListFragments, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                                              The name of the stream from which to retrieve a fragment list. Specify either this parameter or the StreamARN parameter.

                                                                                              pub fn stream_name(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.stream_name(input.into()); diff --git a/sdk/kinesisvideomedia/src/operation/get_media/builders.rs b/sdk/kinesisvideomedia/src/operation/get_media/builders.rs index 56b857494c3f..a76a4bd4e139 100644 --- a/sdk/kinesisvideomedia/src/operation/get_media/builders.rs +++ b/sdk/kinesisvideomedia/src/operation/get_media/builders.rs @@ -35,9 +35,9 @@ impl GetMediaFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -93,6 +93,20 @@ impl GetMediaFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::get_media::GetMedia, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                                              The Kinesis video stream name from where you want to get the media content. If you don't specify the streamName, you must specify the streamARN.

                                                                                              pub fn stream_name(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.stream_name(input.into()); diff --git a/sdk/kinesisvideosignaling/src/operation/get_ice_server_config/builders.rs b/sdk/kinesisvideosignaling/src/operation/get_ice_server_config/builders.rs index 4f2d96216aa8..f682f31ec0da 100644 --- a/sdk/kinesisvideosignaling/src/operation/get_ice_server_config/builders.rs +++ b/sdk/kinesisvideosignaling/src/operation/get_ice_server_config/builders.rs @@ -21,9 +21,9 @@ impl GetIceServerConfigFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -85,6 +85,22 @@ impl GetIceServerConfigFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::get_ice_server_config::GetIceServerConfig, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::get_ice_server_config::GetIceServerConfigError, + >, + > { + self.customize_middleware().await + } ///

                                                                                              The ARN of the signaling channel to be used for the peer-to-peer connection between configured peers.

                                                                                              pub fn channel_arn(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.channel_arn(input.into()); diff --git a/sdk/kinesisvideosignaling/src/operation/send_alexa_offer_to_master/builders.rs b/sdk/kinesisvideosignaling/src/operation/send_alexa_offer_to_master/builders.rs index a95dad40eacc..44c091f756c2 100644 --- a/sdk/kinesisvideosignaling/src/operation/send_alexa_offer_to_master/builders.rs +++ b/sdk/kinesisvideosignaling/src/operation/send_alexa_offer_to_master/builders.rs @@ -20,9 +20,9 @@ impl SendAlexaOfferToMasterFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -84,6 +84,22 @@ impl SendAlexaOfferToMasterFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::send_alexa_offer_to_master::SendAlexaOfferToMaster, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::send_alexa_offer_to_master::SendAlexaOfferToMasterError, + >, + > { + self.customize_middleware().await + } ///

                                                                                              The ARN of the signaling channel by which Alexa and the master peer communicate.

                                                                                              pub fn channel_arn(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.channel_arn(input.into()); diff --git a/sdk/kinesisvideowebrtcstorage/src/operation/join_storage_session/builders.rs b/sdk/kinesisvideowebrtcstorage/src/operation/join_storage_session/builders.rs index 2473e6ab0973..260ab87dba1f 100644 --- a/sdk/kinesisvideowebrtcstorage/src/operation/join_storage_session/builders.rs +++ b/sdk/kinesisvideowebrtcstorage/src/operation/join_storage_session/builders.rs @@ -24,9 +24,9 @@ impl JoinStorageSessionFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -88,6 +88,22 @@ impl JoinStorageSessionFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::join_storage_session::JoinStorageSession, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::join_storage_session::JoinStorageSessionError, + >, + > { + self.customize_middleware().await + } ///

                                                                                              The Amazon Resource Name (ARN) of the signaling channel.

                                                                                              pub fn channel_arn(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.channel_arn(input.into()); diff --git a/sdk/kms/src/operation/cancel_key_deletion/builders.rs b/sdk/kms/src/operation/cancel_key_deletion/builders.rs index 50220f44aea7..4eef810f6a5c 100644 --- a/sdk/kms/src/operation/cancel_key_deletion/builders.rs +++ b/sdk/kms/src/operation/cancel_key_deletion/builders.rs @@ -24,9 +24,9 @@ impl CancelKeyDeletionFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -88,6 +88,22 @@ impl CancelKeyDeletionFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::cancel_key_deletion::CancelKeyDeletion, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::cancel_key_deletion::CancelKeyDeletionError, + >, + > { + self.customize_middleware().await + } ///

                                                                                              Identifies the KMS key whose deletion is being canceled.

                                                                                              ///

                                                                                              Specify the key ID or key ARN of the KMS key.

                                                                                              ///

                                                                                              For example:

                                                                                              diff --git a/sdk/kms/src/operation/connect_custom_key_store/builders.rs b/sdk/kms/src/operation/connect_custom_key_store/builders.rs index 353250b25768..8c954e4fcc2f 100644 --- a/sdk/kms/src/operation/connect_custom_key_store/builders.rs +++ b/sdk/kms/src/operation/connect_custom_key_store/builders.rs @@ -43,9 +43,9 @@ impl ConnectCustomKeyStoreFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -107,6 +107,22 @@ impl ConnectCustomKeyStoreFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::connect_custom_key_store::ConnectCustomKeyStore, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::connect_custom_key_store::ConnectCustomKeyStoreError, + >, + > { + self.customize_middleware().await + } ///

                                                                                              Enter the key store ID of the custom key store that you want to connect. To find the ID of a custom key store, use the DescribeCustomKeyStores operation.

                                                                                              pub fn custom_key_store_id( mut self, diff --git a/sdk/kms/src/operation/create_alias/builders.rs b/sdk/kms/src/operation/create_alias/builders.rs index 8bc2d11c97ee..78a25b456c9b 100644 --- a/sdk/kms/src/operation/create_alias/builders.rs +++ b/sdk/kms/src/operation/create_alias/builders.rs @@ -39,9 +39,9 @@ impl CreateAliasFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -97,6 +97,20 @@ impl CreateAliasFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::create_alias::CreateAlias, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                                              Specifies the alias name. This value must begin with alias/ followed by a name, such as alias/ExampleAlias.

                                                                                              ///

                                                                                              Do not include confidential or sensitive information in this field. This field may be displayed in plaintext in CloudTrail logs and other output.

                                                                                              ///
                                                                                              diff --git a/sdk/kms/src/operation/create_custom_key_store/builders.rs b/sdk/kms/src/operation/create_custom_key_store/builders.rs index c97ce516a12e..c2e0fd1da356 100644 --- a/sdk/kms/src/operation/create_custom_key_store/builders.rs +++ b/sdk/kms/src/operation/create_custom_key_store/builders.rs @@ -42,9 +42,9 @@ impl CreateCustomKeyStoreFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -106,6 +106,22 @@ impl CreateCustomKeyStoreFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::create_custom_key_store::CreateCustomKeyStore, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::create_custom_key_store::CreateCustomKeyStoreError, + >, + > { + self.customize_middleware().await + } ///

                                                                                              Specifies a friendly name for the custom key store. The name must be unique in your Amazon Web Services account and Region. This parameter is required for all custom key stores.

                                                                                              ///

                                                                                              Do not include confidential or sensitive information in this field. This field may be displayed in plaintext in CloudTrail logs and other output.

                                                                                              ///
                                                                                              diff --git a/sdk/kms/src/operation/create_grant/builders.rs b/sdk/kms/src/operation/create_grant/builders.rs index 1bfb0232638e..3603bbba8932 100644 --- a/sdk/kms/src/operation/create_grant/builders.rs +++ b/sdk/kms/src/operation/create_grant/builders.rs @@ -36,9 +36,9 @@ impl CreateGrantFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -94,6 +94,20 @@ impl CreateGrantFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::create_grant::CreateGrant, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                                              Identifies the KMS key for the grant. The grant gives principals permission to use this KMS key.

                                                                                              ///

                                                                                              Specify the key ID or key ARN of the KMS key. To specify a KMS key in a different Amazon Web Services account, you must use the key ARN.

                                                                                              ///

                                                                                              For example:

                                                                                              diff --git a/sdk/kms/src/operation/create_key/builders.rs b/sdk/kms/src/operation/create_key/builders.rs index 95b50367d768..58e069ccecca 100644 --- a/sdk/kms/src/operation/create_key/builders.rs +++ b/sdk/kms/src/operation/create_key/builders.rs @@ -93,9 +93,9 @@ impl CreateKeyFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -151,6 +151,20 @@ impl CreateKeyFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::create_key::CreateKey, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                                              The key policy to attach to the KMS key.

                                                                                              ///

                                                                                              If you provide a key policy, it must meet the following criteria:

                                                                                              ///
                                                                                                diff --git a/sdk/kms/src/operation/decrypt/builders.rs b/sdk/kms/src/operation/decrypt/builders.rs index 5feb0c390afb..67d5cc3840a5 100644 --- a/sdk/kms/src/operation/decrypt/builders.rs +++ b/sdk/kms/src/operation/decrypt/builders.rs @@ -41,9 +41,9 @@ impl DecryptFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -99,6 +99,20 @@ impl DecryptFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::decrypt::Decrypt, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                                                Ciphertext to be decrypted. The blob includes metadata.

                                                                                                pub fn ciphertext_blob(mut self, input: ::aws_smithy_types::Blob) -> Self { self.inner = self.inner.ciphertext_blob(input); diff --git a/sdk/kms/src/operation/delete_alias/builders.rs b/sdk/kms/src/operation/delete_alias/builders.rs index e12f3bad32df..6bcbe8fd5dae 100644 --- a/sdk/kms/src/operation/delete_alias/builders.rs +++ b/sdk/kms/src/operation/delete_alias/builders.rs @@ -36,9 +36,9 @@ impl DeleteAliasFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -94,6 +94,20 @@ impl DeleteAliasFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::delete_alias::DeleteAlias, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                                                The alias to be deleted. The alias name must begin with alias/ followed by the alias name, such as alias/ExampleAlias.

                                                                                                pub fn alias_name(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.alias_name(input.into()); diff --git a/sdk/kms/src/operation/delete_custom_key_store/builders.rs b/sdk/kms/src/operation/delete_custom_key_store/builders.rs index bdd1bf8bfc64..94bcf0b3713b 100644 --- a/sdk/kms/src/operation/delete_custom_key_store/builders.rs +++ b/sdk/kms/src/operation/delete_custom_key_store/builders.rs @@ -34,9 +34,9 @@ impl DeleteCustomKeyStoreFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -98,6 +98,22 @@ impl DeleteCustomKeyStoreFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::delete_custom_key_store::DeleteCustomKeyStore, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::delete_custom_key_store::DeleteCustomKeyStoreError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                Enter the ID of the custom key store you want to delete. To find the ID of a custom key store, use the DescribeCustomKeyStores operation.

                                                                                                pub fn custom_key_store_id( mut self, diff --git a/sdk/kms/src/operation/delete_imported_key_material/builders.rs b/sdk/kms/src/operation/delete_imported_key_material/builders.rs index 1a9799cb6810..97ce809394c0 100644 --- a/sdk/kms/src/operation/delete_imported_key_material/builders.rs +++ b/sdk/kms/src/operation/delete_imported_key_material/builders.rs @@ -29,9 +29,9 @@ impl DeleteImportedKeyMaterialFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -93,6 +93,22 @@ impl DeleteImportedKeyMaterialFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::delete_imported_key_material::DeleteImportedKeyMaterial, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::delete_imported_key_material::DeleteImportedKeyMaterialError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                Identifies the KMS key from which you are deleting imported key material. The Origin of the KMS key must be EXTERNAL.

                                                                                                ///

                                                                                                Specify the key ID or key ARN of the KMS key.

                                                                                                ///

                                                                                                For example:

                                                                                                diff --git a/sdk/kms/src/operation/describe_custom_key_stores/builders.rs b/sdk/kms/src/operation/describe_custom_key_stores/builders.rs index d41cf0ee09cd..69becb3b22f0 100644 --- a/sdk/kms/src/operation/describe_custom_key_stores/builders.rs +++ b/sdk/kms/src/operation/describe_custom_key_stores/builders.rs @@ -35,9 +35,9 @@ impl DescribeCustomKeyStoresFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -99,6 +99,22 @@ impl DescribeCustomKeyStoresFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::describe_custom_key_stores::DescribeCustomKeyStores, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::describe_custom_key_stores::DescribeCustomKeyStoresError, + >, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::describe_custom_key_stores::paginator::DescribeCustomKeyStoresPaginator::send) which returns a `Stream`. diff --git a/sdk/kms/src/operation/describe_key/builders.rs b/sdk/kms/src/operation/describe_key/builders.rs index 9388e95e7fe7..d4cbdfa772b2 100644 --- a/sdk/kms/src/operation/describe_key/builders.rs +++ b/sdk/kms/src/operation/describe_key/builders.rs @@ -41,9 +41,9 @@ impl DescribeKeyFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -99,6 +99,20 @@ impl DescribeKeyFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::describe_key::DescribeKey, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                                                Describes the specified KMS key.

                                                                                                ///

                                                                                                If you specify a predefined Amazon Web Services alias (an Amazon Web Services alias with no key ID), KMS associates the alias with an Amazon Web Services managed key and returns its KeyId and Arn in the response.

                                                                                                ///

                                                                                                To specify a KMS key, use its key ID, key ARN, alias name, or alias ARN. When using an alias name, prefix it with "alias/". To specify a KMS key in a different Amazon Web Services account, you must use the key ARN or alias ARN.

                                                                                                diff --git a/sdk/kms/src/operation/disable_key/builders.rs b/sdk/kms/src/operation/disable_key/builders.rs index f8a24579bcab..2ef36e74a2aa 100644 --- a/sdk/kms/src/operation/disable_key/builders.rs +++ b/sdk/kms/src/operation/disable_key/builders.rs @@ -24,9 +24,9 @@ impl DisableKeyFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -82,6 +82,20 @@ impl DisableKeyFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::disable_key::DisableKey, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                                                Identifies the KMS key to disable.

                                                                                                ///

                                                                                                Specify the key ID or key ARN of the KMS key.

                                                                                                ///

                                                                                                For example:

                                                                                                diff --git a/sdk/kms/src/operation/disable_key_rotation/builders.rs b/sdk/kms/src/operation/disable_key_rotation/builders.rs index 8b57fb2607d0..e9b5e16f8c33 100644 --- a/sdk/kms/src/operation/disable_key_rotation/builders.rs +++ b/sdk/kms/src/operation/disable_key_rotation/builders.rs @@ -31,9 +31,9 @@ impl DisableKeyRotationFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -95,6 +95,22 @@ impl DisableKeyRotationFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::disable_key_rotation::DisableKeyRotation, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::disable_key_rotation::DisableKeyRotationError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                Identifies a symmetric encryption KMS key. You cannot enable or disable automatic rotation of asymmetric KMS keys, HMAC KMS keys, KMS keys with imported key material, or KMS keys in a custom key store.

                                                                                                ///

                                                                                                Specify the key ID or key ARN of the KMS key.

                                                                                                ///

                                                                                                For example:

                                                                                                diff --git a/sdk/kms/src/operation/disconnect_custom_key_store/builders.rs b/sdk/kms/src/operation/disconnect_custom_key_store/builders.rs index 3f5d8fa79ca2..07e6998c5a35 100644 --- a/sdk/kms/src/operation/disconnect_custom_key_store/builders.rs +++ b/sdk/kms/src/operation/disconnect_custom_key_store/builders.rs @@ -35,9 +35,9 @@ impl DisconnectCustomKeyStoreFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -99,6 +99,22 @@ impl DisconnectCustomKeyStoreFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::disconnect_custom_key_store::DisconnectCustomKeyStore, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::disconnect_custom_key_store::DisconnectCustomKeyStoreError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                Enter the ID of the custom key store you want to disconnect. To find the ID of a custom key store, use the DescribeCustomKeyStores operation.

                                                                                                pub fn custom_key_store_id( mut self, diff --git a/sdk/kms/src/operation/enable_key/builders.rs b/sdk/kms/src/operation/enable_key/builders.rs index a91b176fa826..13a6aebd7961 100644 --- a/sdk/kms/src/operation/enable_key/builders.rs +++ b/sdk/kms/src/operation/enable_key/builders.rs @@ -23,9 +23,9 @@ impl EnableKeyFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -81,6 +81,20 @@ impl EnableKeyFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::enable_key::EnableKey, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                                                Identifies the KMS key to enable.

                                                                                                ///

                                                                                                Specify the key ID or key ARN of the KMS key.

                                                                                                ///

                                                                                                For example:

                                                                                                diff --git a/sdk/kms/src/operation/enable_key_rotation/builders.rs b/sdk/kms/src/operation/enable_key_rotation/builders.rs index 1d53f727e478..c0d476ae63b8 100644 --- a/sdk/kms/src/operation/enable_key_rotation/builders.rs +++ b/sdk/kms/src/operation/enable_key_rotation/builders.rs @@ -34,9 +34,9 @@ impl EnableKeyRotationFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -98,6 +98,22 @@ impl EnableKeyRotationFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::enable_key_rotation::EnableKeyRotation, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::enable_key_rotation::EnableKeyRotationError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                Identifies a symmetric encryption KMS key. You cannot enable automatic rotation of asymmetric KMS keys, HMAC KMS keys, KMS keys with imported key material, or KMS keys in a custom key store. To enable or disable automatic rotation of a set of related multi-Region keys, set the property on the primary key.

                                                                                                ///

                                                                                                Specify the key ID or key ARN of the KMS key.

                                                                                                ///

                                                                                                For example:

                                                                                                diff --git a/sdk/kms/src/operation/encrypt/builders.rs b/sdk/kms/src/operation/encrypt/builders.rs index 8c21a306373c..a6cc753691a4 100644 --- a/sdk/kms/src/operation/encrypt/builders.rs +++ b/sdk/kms/src/operation/encrypt/builders.rs @@ -57,9 +57,9 @@ impl EncryptFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -115,6 +115,20 @@ impl EncryptFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::encrypt::Encrypt, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                                                Identifies the KMS key to use in the encryption operation. The KMS key must have a KeyUsage of ENCRYPT_DECRYPT. To find the KeyUsage of a KMS key, use the DescribeKey operation.

                                                                                                ///

                                                                                                To specify a KMS key, use its key ID, key ARN, alias name, or alias ARN. When using an alias name, prefix it with "alias/". To specify a KMS key in a different Amazon Web Services account, you must use the key ARN or alias ARN.

                                                                                                ///

                                                                                                For example:

                                                                                                diff --git a/sdk/kms/src/operation/generate_data_key/builders.rs b/sdk/kms/src/operation/generate_data_key/builders.rs index 2ed76ad658b0..4ad14b61fe6c 100644 --- a/sdk/kms/src/operation/generate_data_key/builders.rs +++ b/sdk/kms/src/operation/generate_data_key/builders.rs @@ -49,9 +49,9 @@ impl GenerateDataKeyFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -113,6 +113,22 @@ impl GenerateDataKeyFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::generate_data_key::GenerateDataKey, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::generate_data_key::GenerateDataKeyError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                Specifies the symmetric encryption KMS key that encrypts the data key. You cannot specify an asymmetric KMS key or a KMS key in a custom key store. To get the type and origin of your KMS key, use the DescribeKey operation.

                                                                                                ///

                                                                                                To specify a KMS key, use its key ID, key ARN, alias name, or alias ARN. When using an alias name, prefix it with "alias/". To specify a KMS key in a different Amazon Web Services account, you must use the key ARN or alias ARN.

                                                                                                ///

                                                                                                For example:

                                                                                                diff --git a/sdk/kms/src/operation/generate_data_key_pair/builders.rs b/sdk/kms/src/operation/generate_data_key_pair/builders.rs index 8be22fd8776d..277317ca3632 100644 --- a/sdk/kms/src/operation/generate_data_key_pair/builders.rs +++ b/sdk/kms/src/operation/generate_data_key_pair/builders.rs @@ -37,9 +37,9 @@ impl GenerateDataKeyPairFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -101,6 +101,22 @@ impl GenerateDataKeyPairFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::generate_data_key_pair::GenerateDataKeyPair, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::generate_data_key_pair::GenerateDataKeyPairError, + >, + > { + self.customize_middleware().await + } /// Adds a key-value pair to `EncryptionContext`. /// /// To override the contents of this collection use [`set_encryption_context`](Self::set_encryption_context). diff --git a/sdk/kms/src/operation/generate_data_key_pair_without_plaintext/builders.rs b/sdk/kms/src/operation/generate_data_key_pair_without_plaintext/builders.rs index 493b9c1aec8d..de1f15ebce28 100644 --- a/sdk/kms/src/operation/generate_data_key_pair_without_plaintext/builders.rs +++ b/sdk/kms/src/operation/generate_data_key_pair_without_plaintext/builders.rs @@ -35,9 +35,9 @@ impl GenerateDataKeyPairWithoutPlaintextFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize(self) -> ::std::result::Result< + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware(self) -> ::std::result::Result< crate::client::customize::CustomizableOperation, ::aws_smithy_http::result::SdkError >{ @@ -80,6 +80,15 @@ impl GenerateDataKeyPairWithoutPlaintextFluentBuilder { { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize(self) -> ::std::result::Result< + crate::client::customize::CustomizableOperation, + ::aws_smithy_http::result::SdkError + >{ + self.customize_middleware().await + } /// Adds a key-value pair to `EncryptionContext`. /// /// To override the contents of this collection use [`set_encryption_context`](Self::set_encryption_context). diff --git a/sdk/kms/src/operation/generate_data_key_without_plaintext/builders.rs b/sdk/kms/src/operation/generate_data_key_without_plaintext/builders.rs index 3e9ec771b1fb..88ddb9920356 100644 --- a/sdk/kms/src/operation/generate_data_key_without_plaintext/builders.rs +++ b/sdk/kms/src/operation/generate_data_key_without_plaintext/builders.rs @@ -39,9 +39,9 @@ impl GenerateDataKeyWithoutPlaintextFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize(self) -> ::std::result::Result< + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware(self) -> ::std::result::Result< crate::client::customize::CustomizableOperation, ::aws_smithy_http::result::SdkError >{ @@ -84,6 +84,15 @@ impl GenerateDataKeyWithoutPlaintextFluentBuilder { { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize(self) -> ::std::result::Result< + crate::client::customize::CustomizableOperation, + ::aws_smithy_http::result::SdkError + >{ + self.customize_middleware().await + } ///

                                                                                                Specifies the symmetric encryption KMS key that encrypts the data key. You cannot specify an asymmetric KMS key or a KMS key in a custom key store. To get the type and origin of your KMS key, use the DescribeKey operation.

                                                                                                ///

                                                                                                To specify a KMS key, use its key ID, key ARN, alias name, or alias ARN. When using an alias name, prefix it with "alias/". To specify a KMS key in a different Amazon Web Services account, you must use the key ARN or alias ARN.

                                                                                                ///

                                                                                                For example:

                                                                                                diff --git a/sdk/kms/src/operation/generate_mac/builders.rs b/sdk/kms/src/operation/generate_mac/builders.rs index 6efc57a588ae..9317bfb90c7a 100644 --- a/sdk/kms/src/operation/generate_mac/builders.rs +++ b/sdk/kms/src/operation/generate_mac/builders.rs @@ -26,9 +26,9 @@ impl GenerateMacFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -84,6 +84,20 @@ impl GenerateMacFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::generate_mac::GenerateMac, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                                                The message to be hashed. Specify a message of up to 4,096 bytes.

                                                                                                ///

                                                                                                GenerateMac and VerifyMac do not provide special handling for message digests. If you generate an HMAC for a hash digest of a message, you must verify the HMAC of the same hash digest.

                                                                                                pub fn message(mut self, input: ::aws_smithy_types::Blob) -> Self { diff --git a/sdk/kms/src/operation/generate_random/builders.rs b/sdk/kms/src/operation/generate_random/builders.rs index 90b44c436f17..d1a8c618786f 100644 --- a/sdk/kms/src/operation/generate_random/builders.rs +++ b/sdk/kms/src/operation/generate_random/builders.rs @@ -25,9 +25,9 @@ impl GenerateRandomFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,20 @@ impl GenerateRandomFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::generate_random::GenerateRandom, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                                                The length of the random byte string. This parameter is required.

                                                                                                pub fn number_of_bytes(mut self, input: i32) -> Self { self.inner = self.inner.number_of_bytes(input); diff --git a/sdk/kms/src/operation/get_key_policy/builders.rs b/sdk/kms/src/operation/get_key_policy/builders.rs index 97b203689854..cc46135be80c 100644 --- a/sdk/kms/src/operation/get_key_policy/builders.rs +++ b/sdk/kms/src/operation/get_key_policy/builders.rs @@ -22,9 +22,9 @@ impl GetKeyPolicyFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -80,6 +80,20 @@ impl GetKeyPolicyFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::get_key_policy::GetKeyPolicy, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                                                Gets the key policy for the specified KMS key.

                                                                                                ///

                                                                                                Specify the key ID or key ARN of the KMS key.

                                                                                                ///

                                                                                                For example:

                                                                                                diff --git a/sdk/kms/src/operation/get_key_rotation_status/builders.rs b/sdk/kms/src/operation/get_key_rotation_status/builders.rs index d8a2c69809f5..fc910c123a68 100644 --- a/sdk/kms/src/operation/get_key_rotation_status/builders.rs +++ b/sdk/kms/src/operation/get_key_rotation_status/builders.rs @@ -36,9 +36,9 @@ impl GetKeyRotationStatusFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -100,6 +100,22 @@ impl GetKeyRotationStatusFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::get_key_rotation_status::GetKeyRotationStatus, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::get_key_rotation_status::GetKeyRotationStatusError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                Gets the rotation status for the specified KMS key.

                                                                                                ///

                                                                                                Specify the key ID or key ARN of the KMS key. To specify a KMS key in a different Amazon Web Services account, you must use the key ARN.

                                                                                                ///

                                                                                                For example:

                                                                                                diff --git a/sdk/kms/src/operation/get_parameters_for_import/builders.rs b/sdk/kms/src/operation/get_parameters_for_import/builders.rs index c268d13b46f2..b240aeb7fc78 100644 --- a/sdk/kms/src/operation/get_parameters_for_import/builders.rs +++ b/sdk/kms/src/operation/get_parameters_for_import/builders.rs @@ -31,9 +31,9 @@ impl GetParametersForImportFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -95,6 +95,22 @@ impl GetParametersForImportFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::get_parameters_for_import::GetParametersForImport, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::get_parameters_for_import::GetParametersForImportError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                The identifier of the symmetric encryption KMS key into which you will import key material. The Origin of the KMS key must be EXTERNAL.

                                                                                                ///

                                                                                                Specify the key ID or key ARN of the KMS key.

                                                                                                ///

                                                                                                For example:

                                                                                                diff --git a/sdk/kms/src/operation/get_public_key/builders.rs b/sdk/kms/src/operation/get_public_key/builders.rs index 70ffa92706df..e8bd9ad16b1f 100644 --- a/sdk/kms/src/operation/get_public_key/builders.rs +++ b/sdk/kms/src/operation/get_public_key/builders.rs @@ -32,9 +32,9 @@ impl GetPublicKeyFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -90,6 +90,20 @@ impl GetPublicKeyFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::get_public_key::GetPublicKey, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                                                Identifies the asymmetric KMS key that includes the public key.

                                                                                                ///

                                                                                                To specify a KMS key, use its key ID, key ARN, alias name, or alias ARN. When using an alias name, prefix it with "alias/". To specify a KMS key in a different Amazon Web Services account, you must use the key ARN or alias ARN.

                                                                                                ///

                                                                                                For example:

                                                                                                diff --git a/sdk/kms/src/operation/import_key_material/builders.rs b/sdk/kms/src/operation/import_key_material/builders.rs index fbe7523c2fda..65d958c6318b 100644 --- a/sdk/kms/src/operation/import_key_material/builders.rs +++ b/sdk/kms/src/operation/import_key_material/builders.rs @@ -38,9 +38,9 @@ impl ImportKeyMaterialFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -102,6 +102,22 @@ impl ImportKeyMaterialFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::import_key_material::ImportKeyMaterial, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::import_key_material::ImportKeyMaterialError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                The identifier of the symmetric encryption KMS key that receives the imported key material. This must be the same KMS key specified in the KeyID parameter of the corresponding GetParametersForImport request. The Origin of the KMS key must be EXTERNAL. You cannot perform this operation on an asymmetric KMS key, an HMAC KMS key, a KMS key in a custom key store, or on a KMS key in a different Amazon Web Services account

                                                                                                ///

                                                                                                Specify the key ID or key ARN of the KMS key.

                                                                                                ///

                                                                                                For example:

                                                                                                diff --git a/sdk/kms/src/operation/list_aliases/builders.rs b/sdk/kms/src/operation/list_aliases/builders.rs index aedfc0ed7f85..0810bb118bc5 100644 --- a/sdk/kms/src/operation/list_aliases/builders.rs +++ b/sdk/kms/src/operation/list_aliases/builders.rs @@ -32,9 +32,9 @@ impl ListAliasesFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -90,6 +90,20 @@ impl ListAliasesFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_aliases::ListAliases, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::list_aliases::paginator::ListAliasesPaginator::send) which returns a `Stream`. diff --git a/sdk/kms/src/operation/list_grants/builders.rs b/sdk/kms/src/operation/list_grants/builders.rs index 0830fe92a924..da9846777e65 100644 --- a/sdk/kms/src/operation/list_grants/builders.rs +++ b/sdk/kms/src/operation/list_grants/builders.rs @@ -32,9 +32,9 @@ impl ListGrantsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -90,6 +90,20 @@ impl ListGrantsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_grants::ListGrants, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::list_grants::paginator::ListGrantsPaginator::send) which returns a `Stream`. diff --git a/sdk/kms/src/operation/list_key_policies/builders.rs b/sdk/kms/src/operation/list_key_policies/builders.rs index 32d48e68cbce..5d3cd4f7616c 100644 --- a/sdk/kms/src/operation/list_key_policies/builders.rs +++ b/sdk/kms/src/operation/list_key_policies/builders.rs @@ -26,9 +26,9 @@ impl ListKeyPoliciesFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -90,6 +90,22 @@ impl ListKeyPoliciesFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_key_policies::ListKeyPolicies, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::list_key_policies::ListKeyPoliciesError, + >, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::list_key_policies::paginator::ListKeyPoliciesPaginator::send) which returns a `Stream`. diff --git a/sdk/kms/src/operation/list_keys/builders.rs b/sdk/kms/src/operation/list_keys/builders.rs index 65af7e5bb161..0e0b0b30a470 100644 --- a/sdk/kms/src/operation/list_keys/builders.rs +++ b/sdk/kms/src/operation/list_keys/builders.rs @@ -28,9 +28,9 @@ impl ListKeysFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -86,6 +86,20 @@ impl ListKeysFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_keys::ListKeys, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::list_keys::paginator::ListKeysPaginator::send) which returns a `Stream`. diff --git a/sdk/kms/src/operation/list_resource_tags/builders.rs b/sdk/kms/src/operation/list_resource_tags/builders.rs index 232bac00fa1f..200d71e00f30 100644 --- a/sdk/kms/src/operation/list_resource_tags/builders.rs +++ b/sdk/kms/src/operation/list_resource_tags/builders.rs @@ -29,9 +29,9 @@ impl ListResourceTagsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -93,6 +93,22 @@ impl ListResourceTagsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_resource_tags::ListResourceTags, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::list_resource_tags::ListResourceTagsError, + >, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::list_resource_tags::paginator::ListResourceTagsPaginator::send) which returns a `Stream`. diff --git a/sdk/kms/src/operation/list_retirable_grants/builders.rs b/sdk/kms/src/operation/list_retirable_grants/builders.rs index 1a01d84b2a9c..3ffc1d0ea6aa 100644 --- a/sdk/kms/src/operation/list_retirable_grants/builders.rs +++ b/sdk/kms/src/operation/list_retirable_grants/builders.rs @@ -30,9 +30,9 @@ impl ListRetirableGrantsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -94,6 +94,22 @@ impl ListRetirableGrantsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_retirable_grants::ListRetirableGrants, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::list_retirable_grants::ListRetirableGrantsError, + >, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::list_retirable_grants::paginator::ListRetirableGrantsPaginator::send) which returns a `Stream`. diff --git a/sdk/kms/src/operation/put_key_policy/builders.rs b/sdk/kms/src/operation/put_key_policy/builders.rs index ab89d48817c7..0336155a8f52 100644 --- a/sdk/kms/src/operation/put_key_policy/builders.rs +++ b/sdk/kms/src/operation/put_key_policy/builders.rs @@ -23,9 +23,9 @@ impl PutKeyPolicyFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -81,6 +81,20 @@ impl PutKeyPolicyFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::put_key_policy::PutKeyPolicy, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                                                Sets the key policy on the specified KMS key.

                                                                                                ///

                                                                                                Specify the key ID or key ARN of the KMS key.

                                                                                                ///

                                                                                                For example:

                                                                                                diff --git a/sdk/kms/src/operation/re_encrypt/builders.rs b/sdk/kms/src/operation/re_encrypt/builders.rs index 1745c9e8004b..78686f7a4aa4 100644 --- a/sdk/kms/src/operation/re_encrypt/builders.rs +++ b/sdk/kms/src/operation/re_encrypt/builders.rs @@ -44,9 +44,9 @@ impl ReEncryptFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -102,6 +102,20 @@ impl ReEncryptFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::re_encrypt::ReEncrypt, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                                                Ciphertext of the data to reencrypt.

                                                                                                pub fn ciphertext_blob(mut self, input: ::aws_smithy_types::Blob) -> Self { self.inner = self.inner.ciphertext_blob(input); diff --git a/sdk/kms/src/operation/replicate_key/builders.rs b/sdk/kms/src/operation/replicate_key/builders.rs index 1c820b000b5c..7910c5dc519d 100644 --- a/sdk/kms/src/operation/replicate_key/builders.rs +++ b/sdk/kms/src/operation/replicate_key/builders.rs @@ -40,9 +40,9 @@ impl ReplicateKeyFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -98,6 +98,20 @@ impl ReplicateKeyFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::replicate_key::ReplicateKey, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                                                Identifies the multi-Region primary key that is being replicated. To determine whether a KMS key is a multi-Region primary key, use the DescribeKey operation to check the value of the MultiRegionKeyType property.

                                                                                                ///

                                                                                                Specify the key ID or key ARN of a multi-Region primary key.

                                                                                                ///

                                                                                                For example:

                                                                                                diff --git a/sdk/kms/src/operation/retire_grant/builders.rs b/sdk/kms/src/operation/retire_grant/builders.rs index b10dca4f8066..0c5019560c34 100644 --- a/sdk/kms/src/operation/retire_grant/builders.rs +++ b/sdk/kms/src/operation/retire_grant/builders.rs @@ -30,9 +30,9 @@ impl RetireGrantFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -88,6 +88,20 @@ impl RetireGrantFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::retire_grant::RetireGrant, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                                                Identifies the grant to be retired. You can use a grant token to identify a new grant even before it has achieved eventual consistency.

                                                                                                ///

                                                                                                Only the CreateGrant operation returns a grant token. For details, see Grant token and Eventual consistency in the Key Management Service Developer Guide.

                                                                                                pub fn grant_token(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { diff --git a/sdk/kms/src/operation/revoke_grant/builders.rs b/sdk/kms/src/operation/revoke_grant/builders.rs index 3b1583f32a3f..1332bf7f990f 100644 --- a/sdk/kms/src/operation/revoke_grant/builders.rs +++ b/sdk/kms/src/operation/revoke_grant/builders.rs @@ -30,9 +30,9 @@ impl RevokeGrantFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -88,6 +88,20 @@ impl RevokeGrantFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::revoke_grant::RevokeGrant, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                                                A unique identifier for the KMS key associated with the grant. To get the key ID and key ARN for a KMS key, use ListKeys or DescribeKey.

                                                                                                ///

                                                                                                Specify the key ID or key ARN of the KMS key. To specify a KMS key in a different Amazon Web Services account, you must use the key ARN.

                                                                                                ///

                                                                                                For example:

                                                                                                diff --git a/sdk/kms/src/operation/schedule_key_deletion/builders.rs b/sdk/kms/src/operation/schedule_key_deletion/builders.rs index fcf841d10ad1..d5b13e7da51f 100644 --- a/sdk/kms/src/operation/schedule_key_deletion/builders.rs +++ b/sdk/kms/src/operation/schedule_key_deletion/builders.rs @@ -32,9 +32,9 @@ impl ScheduleKeyDeletionFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -96,6 +96,22 @@ impl ScheduleKeyDeletionFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::schedule_key_deletion::ScheduleKeyDeletion, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::schedule_key_deletion::ScheduleKeyDeletionError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                The unique identifier of the KMS key to delete.

                                                                                                ///

                                                                                                Specify the key ID or key ARN of the KMS key.

                                                                                                ///

                                                                                                For example:

                                                                                                diff --git a/sdk/kms/src/operation/sign/builders.rs b/sdk/kms/src/operation/sign/builders.rs index 4d45a64640f0..930015658194 100644 --- a/sdk/kms/src/operation/sign/builders.rs +++ b/sdk/kms/src/operation/sign/builders.rs @@ -35,9 +35,9 @@ impl SignFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -93,6 +93,20 @@ impl SignFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::sign::Sign, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                                                Identifies an asymmetric KMS key. KMS uses the private key in the asymmetric KMS key to sign the message. The KeyUsage type of the KMS key must be SIGN_VERIFY. To find the KeyUsage of a KMS key, use the DescribeKey operation.

                                                                                                ///

                                                                                                To specify a KMS key, use its key ID, key ARN, alias name, or alias ARN. When using an alias name, prefix it with "alias/". To specify a KMS key in a different Amazon Web Services account, you must use the key ARN or alias ARN.

                                                                                                ///

                                                                                                For example:

                                                                                                diff --git a/sdk/kms/src/operation/tag_resource/builders.rs b/sdk/kms/src/operation/tag_resource/builders.rs index f4e54b0da6b0..7f1f6b815774 100644 --- a/sdk/kms/src/operation/tag_resource/builders.rs +++ b/sdk/kms/src/operation/tag_resource/builders.rs @@ -35,9 +35,9 @@ impl TagResourceFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -93,6 +93,20 @@ impl TagResourceFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::tag_resource::TagResource, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                                                Identifies a customer managed key in the account and Region.

                                                                                                ///

                                                                                                Specify the key ID or key ARN of the KMS key.

                                                                                                ///

                                                                                                For example:

                                                                                                diff --git a/sdk/kms/src/operation/untag_resource/builders.rs b/sdk/kms/src/operation/untag_resource/builders.rs index 97390613f9a7..5ce8d6b6ad47 100644 --- a/sdk/kms/src/operation/untag_resource/builders.rs +++ b/sdk/kms/src/operation/untag_resource/builders.rs @@ -33,9 +33,9 @@ impl UntagResourceFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -91,6 +91,20 @@ impl UntagResourceFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::untag_resource::UntagResource, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                                                Identifies the KMS key from which you are removing tags.

                                                                                                ///

                                                                                                Specify the key ID or key ARN of the KMS key.

                                                                                                ///

                                                                                                For example:

                                                                                                diff --git a/sdk/kms/src/operation/update_alias/builders.rs b/sdk/kms/src/operation/update_alias/builders.rs index 07e52e14e9df..7de1b1cae5ba 100644 --- a/sdk/kms/src/operation/update_alias/builders.rs +++ b/sdk/kms/src/operation/update_alias/builders.rs @@ -39,9 +39,9 @@ impl UpdateAliasFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -97,6 +97,20 @@ impl UpdateAliasFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::update_alias::UpdateAlias, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                                                Identifies the alias that is changing its KMS key. This value must begin with alias/ followed by the alias name, such as alias/ExampleAlias. You cannot use UpdateAlias to change the alias name.

                                                                                                ///

                                                                                                Do not include confidential or sensitive information in this field. This field may be displayed in plaintext in CloudTrail logs and other output.

                                                                                                ///
                                                                                                diff --git a/sdk/kms/src/operation/update_custom_key_store/builders.rs b/sdk/kms/src/operation/update_custom_key_store/builders.rs index bdddedee0f24..13bacd4eab1e 100644 --- a/sdk/kms/src/operation/update_custom_key_store/builders.rs +++ b/sdk/kms/src/operation/update_custom_key_store/builders.rs @@ -43,9 +43,9 @@ impl UpdateCustomKeyStoreFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -107,6 +107,22 @@ impl UpdateCustomKeyStoreFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::update_custom_key_store::UpdateCustomKeyStore, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::update_custom_key_store::UpdateCustomKeyStoreError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                Identifies the custom key store that you want to update. Enter the ID of the custom key store. To find the ID of a custom key store, use the DescribeCustomKeyStores operation.

                                                                                                pub fn custom_key_store_id( mut self, diff --git a/sdk/kms/src/operation/update_key_description/builders.rs b/sdk/kms/src/operation/update_key_description/builders.rs index 2767c6deb6c4..7d4394950d3e 100644 --- a/sdk/kms/src/operation/update_key_description/builders.rs +++ b/sdk/kms/src/operation/update_key_description/builders.rs @@ -27,9 +27,9 @@ impl UpdateKeyDescriptionFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -91,6 +91,22 @@ impl UpdateKeyDescriptionFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::update_key_description::UpdateKeyDescription, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::update_key_description::UpdateKeyDescriptionError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                Updates the description of the specified KMS key.

                                                                                                ///

                                                                                                Specify the key ID or key ARN of the KMS key.

                                                                                                ///

                                                                                                For example:

                                                                                                diff --git a/sdk/kms/src/operation/update_primary_region/builders.rs b/sdk/kms/src/operation/update_primary_region/builders.rs index e88051c4c136..38dfd2c27f30 100644 --- a/sdk/kms/src/operation/update_primary_region/builders.rs +++ b/sdk/kms/src/operation/update_primary_region/builders.rs @@ -37,9 +37,9 @@ impl UpdatePrimaryRegionFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -101,6 +101,22 @@ impl UpdatePrimaryRegionFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::update_primary_region::UpdatePrimaryRegion, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::update_primary_region::UpdatePrimaryRegionError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                Identifies the current primary key. When the operation completes, this KMS key will be a replica key.

                                                                                                ///

                                                                                                Specify the key ID or key ARN of a multi-Region primary key.

                                                                                                ///

                                                                                                For example:

                                                                                                diff --git a/sdk/kms/src/operation/verify/builders.rs b/sdk/kms/src/operation/verify/builders.rs index 7093d0b44cfe..b18f5d5cae3b 100644 --- a/sdk/kms/src/operation/verify/builders.rs +++ b/sdk/kms/src/operation/verify/builders.rs @@ -29,9 +29,9 @@ impl VerifyFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -87,6 +87,20 @@ impl VerifyFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::verify::Verify, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                                                Identifies the asymmetric KMS key that will be used to verify the signature. This must be the same KMS key that was used to generate the signature. If you specify a different KMS key, the signature verification fails.

                                                                                                ///

                                                                                                To specify a KMS key, use its key ID, key ARN, alias name, or alias ARN. When using an alias name, prefix it with "alias/". To specify a KMS key in a different Amazon Web Services account, you must use the key ARN or alias ARN.

                                                                                                ///

                                                                                                For example:

                                                                                                diff --git a/sdk/kms/src/operation/verify_mac/builders.rs b/sdk/kms/src/operation/verify_mac/builders.rs index 66f172935da1..e632991ab020 100644 --- a/sdk/kms/src/operation/verify_mac/builders.rs +++ b/sdk/kms/src/operation/verify_mac/builders.rs @@ -25,9 +25,9 @@ impl VerifyMacFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,20 @@ impl VerifyMacFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::verify_mac::VerifyMac, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                                                The message that will be used in the verification. Enter the same message that was used to generate the HMAC.

                                                                                                ///

                                                                                                GenerateMac and VerifyMac do not provide special handling for message digests. If you generated an HMAC for a hash digest of a message, you must verify the HMAC for the same hash digest.

                                                                                                pub fn message(mut self, input: ::aws_smithy_types::Blob) -> Self { diff --git a/sdk/lakeformation/src/operation/add_lf_tags_to_resource/builders.rs b/sdk/lakeformation/src/operation/add_lf_tags_to_resource/builders.rs index 58fd9b9ad044..eb4eac91953c 100644 --- a/sdk/lakeformation/src/operation/add_lf_tags_to_resource/builders.rs +++ b/sdk/lakeformation/src/operation/add_lf_tags_to_resource/builders.rs @@ -19,9 +19,9 @@ impl AddLFTagsToResourceFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl AddLFTagsToResourceFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::add_lf_tags_to_resource::AddLFTagsToResource, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::add_lf_tags_to_resource::AddLFTagsToResourceError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                The identifier for the Data Catalog. By default, the account ID. The Data Catalog is the persistent metadata store. It contains database definitions, table definitions, and other control information to manage your Lake Formation environment.

                                                                                                pub fn catalog_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.catalog_id(input.into()); diff --git a/sdk/lakeformation/src/operation/assume_decorated_role_with_saml/builders.rs b/sdk/lakeformation/src/operation/assume_decorated_role_with_saml/builders.rs index b48b41328795..93169beaeab5 100644 --- a/sdk/lakeformation/src/operation/assume_decorated_role_with_saml/builders.rs +++ b/sdk/lakeformation/src/operation/assume_decorated_role_with_saml/builders.rs @@ -20,9 +20,9 @@ impl AssumeDecoratedRoleWithSAMLFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -84,6 +84,22 @@ impl AssumeDecoratedRoleWithSAMLFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::assume_decorated_role_with_saml::AssumeDecoratedRoleWithSAML, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::assume_decorated_role_with_saml::AssumeDecoratedRoleWithSAMLError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                A SAML assertion consisting of an assertion statement for the user who needs temporary credentials. This must match the SAML assertion that was issued to IAM. This must be Base64 encoded.

                                                                                                pub fn saml_assertion( mut self, diff --git a/sdk/lakeformation/src/operation/batch_grant_permissions/builders.rs b/sdk/lakeformation/src/operation/batch_grant_permissions/builders.rs index 692652eceac8..ef13832eb27e 100644 --- a/sdk/lakeformation/src/operation/batch_grant_permissions/builders.rs +++ b/sdk/lakeformation/src/operation/batch_grant_permissions/builders.rs @@ -19,9 +19,9 @@ impl BatchGrantPermissionsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl BatchGrantPermissionsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::batch_grant_permissions::BatchGrantPermissions, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::batch_grant_permissions::BatchGrantPermissionsError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                The identifier for the Data Catalog. By default, the account ID. The Data Catalog is the persistent metadata store. It contains database definitions, table definitions, and other control information to manage your Lake Formation environment.

                                                                                                pub fn catalog_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.catalog_id(input.into()); diff --git a/sdk/lakeformation/src/operation/batch_revoke_permissions/builders.rs b/sdk/lakeformation/src/operation/batch_revoke_permissions/builders.rs index ff27ae1cce3d..ef51fc581296 100644 --- a/sdk/lakeformation/src/operation/batch_revoke_permissions/builders.rs +++ b/sdk/lakeformation/src/operation/batch_revoke_permissions/builders.rs @@ -19,9 +19,9 @@ impl BatchRevokePermissionsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl BatchRevokePermissionsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::batch_revoke_permissions::BatchRevokePermissions, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::batch_revoke_permissions::BatchRevokePermissionsError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                The identifier for the Data Catalog. By default, the account ID. The Data Catalog is the persistent metadata store. It contains database definitions, table definitions, and other control information to manage your Lake Formation environment.

                                                                                                pub fn catalog_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.catalog_id(input.into()); diff --git a/sdk/lakeformation/src/operation/cancel_transaction/builders.rs b/sdk/lakeformation/src/operation/cancel_transaction/builders.rs index c2cd361e75d3..3175704d8eb1 100644 --- a/sdk/lakeformation/src/operation/cancel_transaction/builders.rs +++ b/sdk/lakeformation/src/operation/cancel_transaction/builders.rs @@ -19,9 +19,9 @@ impl CancelTransactionFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl CancelTransactionFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::cancel_transaction::CancelTransaction, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::cancel_transaction::CancelTransactionError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                The transaction to cancel.

                                                                                                pub fn transaction_id( mut self, diff --git a/sdk/lakeformation/src/operation/commit_transaction/builders.rs b/sdk/lakeformation/src/operation/commit_transaction/builders.rs index e4e4c0e8f8bf..e4933812bac7 100644 --- a/sdk/lakeformation/src/operation/commit_transaction/builders.rs +++ b/sdk/lakeformation/src/operation/commit_transaction/builders.rs @@ -19,9 +19,9 @@ impl CommitTransactionFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl CommitTransactionFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::commit_transaction::CommitTransaction, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::commit_transaction::CommitTransactionError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                The transaction to commit.

                                                                                                pub fn transaction_id( mut self, diff --git a/sdk/lakeformation/src/operation/create_data_cells_filter/builders.rs b/sdk/lakeformation/src/operation/create_data_cells_filter/builders.rs index ff614cce17b7..1e7af668ca6d 100644 --- a/sdk/lakeformation/src/operation/create_data_cells_filter/builders.rs +++ b/sdk/lakeformation/src/operation/create_data_cells_filter/builders.rs @@ -19,9 +19,9 @@ impl CreateDataCellsFilterFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl CreateDataCellsFilterFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::create_data_cells_filter::CreateDataCellsFilter, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::create_data_cells_filter::CreateDataCellsFilterError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                A DataCellsFilter structure containing information about the data cells filter.

                                                                                                pub fn table_data(mut self, input: crate::types::DataCellsFilter) -> Self { self.inner = self.inner.table_data(input); diff --git a/sdk/lakeformation/src/operation/create_lf_tag/builders.rs b/sdk/lakeformation/src/operation/create_lf_tag/builders.rs index eacfa87f6d34..a11f371f0da3 100644 --- a/sdk/lakeformation/src/operation/create_lf_tag/builders.rs +++ b/sdk/lakeformation/src/operation/create_lf_tag/builders.rs @@ -19,9 +19,9 @@ impl CreateLFTagFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl CreateLFTagFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::create_lf_tag::CreateLFTag, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                                                The identifier for the Data Catalog. By default, the account ID. The Data Catalog is the persistent metadata store. It contains database definitions, table definitions, and other control information to manage your Lake Formation environment.

                                                                                                pub fn catalog_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.catalog_id(input.into()); diff --git a/sdk/lakeformation/src/operation/delete_data_cells_filter/builders.rs b/sdk/lakeformation/src/operation/delete_data_cells_filter/builders.rs index 8fe6cdb58de6..7ee9a01f2a3a 100644 --- a/sdk/lakeformation/src/operation/delete_data_cells_filter/builders.rs +++ b/sdk/lakeformation/src/operation/delete_data_cells_filter/builders.rs @@ -19,9 +19,9 @@ impl DeleteDataCellsFilterFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl DeleteDataCellsFilterFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::delete_data_cells_filter::DeleteDataCellsFilter, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::delete_data_cells_filter::DeleteDataCellsFilterError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                The ID of the catalog to which the table belongs.

                                                                                                pub fn table_catalog_id( mut self, diff --git a/sdk/lakeformation/src/operation/delete_lf_tag/builders.rs b/sdk/lakeformation/src/operation/delete_lf_tag/builders.rs index 42290372e349..955d24499093 100644 --- a/sdk/lakeformation/src/operation/delete_lf_tag/builders.rs +++ b/sdk/lakeformation/src/operation/delete_lf_tag/builders.rs @@ -19,9 +19,9 @@ impl DeleteLFTagFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl DeleteLFTagFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::delete_lf_tag::DeleteLFTag, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                                                The identifier for the Data Catalog. By default, the account ID. The Data Catalog is the persistent metadata store. It contains database definitions, table definitions, and other control information to manage your Lake Formation environment.

                                                                                                pub fn catalog_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.catalog_id(input.into()); diff --git a/sdk/lakeformation/src/operation/delete_objects_on_cancel/builders.rs b/sdk/lakeformation/src/operation/delete_objects_on_cancel/builders.rs index b35fcd36d5ce..1413ef027b9b 100644 --- a/sdk/lakeformation/src/operation/delete_objects_on_cancel/builders.rs +++ b/sdk/lakeformation/src/operation/delete_objects_on_cancel/builders.rs @@ -20,9 +20,9 @@ impl DeleteObjectsOnCancelFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -84,6 +84,22 @@ impl DeleteObjectsOnCancelFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::delete_objects_on_cancel::DeleteObjectsOnCancel, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::delete_objects_on_cancel::DeleteObjectsOnCancelError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                The Glue data catalog that contains the governed table. Defaults to the current account ID.

                                                                                                pub fn catalog_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.catalog_id(input.into()); diff --git a/sdk/lakeformation/src/operation/deregister_resource/builders.rs b/sdk/lakeformation/src/operation/deregister_resource/builders.rs index bb919c151824..17f48b16cf88 100644 --- a/sdk/lakeformation/src/operation/deregister_resource/builders.rs +++ b/sdk/lakeformation/src/operation/deregister_resource/builders.rs @@ -20,9 +20,9 @@ impl DeregisterResourceFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -84,6 +84,22 @@ impl DeregisterResourceFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::deregister_resource::DeregisterResource, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::deregister_resource::DeregisterResourceError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                The Amazon Resource Name (ARN) of the resource that you want to deregister.

                                                                                                pub fn resource_arn(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.resource_arn(input.into()); diff --git a/sdk/lakeformation/src/operation/describe_resource/builders.rs b/sdk/lakeformation/src/operation/describe_resource/builders.rs index db01d8874315..20975306e693 100644 --- a/sdk/lakeformation/src/operation/describe_resource/builders.rs +++ b/sdk/lakeformation/src/operation/describe_resource/builders.rs @@ -19,9 +19,9 @@ impl DescribeResourceFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl DescribeResourceFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::describe_resource::DescribeResource, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::describe_resource::DescribeResourceError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                The resource ARN.

                                                                                                pub fn resource_arn(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.resource_arn(input.into()); diff --git a/sdk/lakeformation/src/operation/describe_transaction/builders.rs b/sdk/lakeformation/src/operation/describe_transaction/builders.rs index 49f2c0b96b3a..b65ca8fce96d 100644 --- a/sdk/lakeformation/src/operation/describe_transaction/builders.rs +++ b/sdk/lakeformation/src/operation/describe_transaction/builders.rs @@ -19,9 +19,9 @@ impl DescribeTransactionFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl DescribeTransactionFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::describe_transaction::DescribeTransaction, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::describe_transaction::DescribeTransactionError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                The transaction for which to return status.

                                                                                                pub fn transaction_id( mut self, diff --git a/sdk/lakeformation/src/operation/extend_transaction/builders.rs b/sdk/lakeformation/src/operation/extend_transaction/builders.rs index 9b24437f8d7b..cb3850e26f3d 100644 --- a/sdk/lakeformation/src/operation/extend_transaction/builders.rs +++ b/sdk/lakeformation/src/operation/extend_transaction/builders.rs @@ -20,9 +20,9 @@ impl ExtendTransactionFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -84,6 +84,22 @@ impl ExtendTransactionFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::extend_transaction::ExtendTransaction, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::extend_transaction::ExtendTransactionError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                The transaction to extend.

                                                                                                pub fn transaction_id( mut self, diff --git a/sdk/lakeformation/src/operation/get_data_cells_filter/builders.rs b/sdk/lakeformation/src/operation/get_data_cells_filter/builders.rs index 08e0dd6ec8e4..89fa59da9987 100644 --- a/sdk/lakeformation/src/operation/get_data_cells_filter/builders.rs +++ b/sdk/lakeformation/src/operation/get_data_cells_filter/builders.rs @@ -19,9 +19,9 @@ impl GetDataCellsFilterFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl GetDataCellsFilterFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::get_data_cells_filter::GetDataCellsFilter, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::get_data_cells_filter::GetDataCellsFilterError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                The ID of the catalog to which the table belongs.

                                                                                                pub fn table_catalog_id( mut self, diff --git a/sdk/lakeformation/src/operation/get_data_lake_settings/builders.rs b/sdk/lakeformation/src/operation/get_data_lake_settings/builders.rs index 1e4edc130e1f..98ad921abc5b 100644 --- a/sdk/lakeformation/src/operation/get_data_lake_settings/builders.rs +++ b/sdk/lakeformation/src/operation/get_data_lake_settings/builders.rs @@ -19,9 +19,9 @@ impl GetDataLakeSettingsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl GetDataLakeSettingsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::get_data_lake_settings::GetDataLakeSettings, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::get_data_lake_settings::GetDataLakeSettingsError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                The identifier for the Data Catalog. By default, the account ID. The Data Catalog is the persistent metadata store. It contains database definitions, table definitions, and other control information to manage your Lake Formation environment.

                                                                                                pub fn catalog_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.catalog_id(input.into()); diff --git a/sdk/lakeformation/src/operation/get_effective_permissions_for_path/builders.rs b/sdk/lakeformation/src/operation/get_effective_permissions_for_path/builders.rs index 6151b6457aad..0966060cc1df 100644 --- a/sdk/lakeformation/src/operation/get_effective_permissions_for_path/builders.rs +++ b/sdk/lakeformation/src/operation/get_effective_permissions_for_path/builders.rs @@ -19,9 +19,9 @@ impl GetEffectivePermissionsForPathFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize(self) -> ::std::result::Result< + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware(self) -> ::std::result::Result< crate::client::customize::CustomizableOperation, ::aws_smithy_http::result::SdkError >{ @@ -64,6 +64,15 @@ impl GetEffectivePermissionsForPathFluentBuilder { { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize(self) -> ::std::result::Result< + crate::client::customize::CustomizableOperation, + ::aws_smithy_http::result::SdkError + >{ + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::get_effective_permissions_for_path::paginator::GetEffectivePermissionsForPathPaginator::send) which returns a `Stream`. diff --git a/sdk/lakeformation/src/operation/get_lf_tag/builders.rs b/sdk/lakeformation/src/operation/get_lf_tag/builders.rs index 9a20409f4cc5..2561f16c2f9f 100644 --- a/sdk/lakeformation/src/operation/get_lf_tag/builders.rs +++ b/sdk/lakeformation/src/operation/get_lf_tag/builders.rs @@ -19,9 +19,9 @@ impl GetLFTagFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl GetLFTagFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::get_lf_tag::GetLFTag, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                                                The identifier for the Data Catalog. By default, the account ID. The Data Catalog is the persistent metadata store. It contains database definitions, table definitions, and other control information to manage your Lake Formation environment.

                                                                                                pub fn catalog_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.catalog_id(input.into()); diff --git a/sdk/lakeformation/src/operation/get_query_state/builders.rs b/sdk/lakeformation/src/operation/get_query_state/builders.rs index dc49159ed6be..bdd425404f75 100644 --- a/sdk/lakeformation/src/operation/get_query_state/builders.rs +++ b/sdk/lakeformation/src/operation/get_query_state/builders.rs @@ -19,9 +19,9 @@ impl GetQueryStateFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl GetQueryStateFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::get_query_state::GetQueryState, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                                                The ID of the plan query operation.

                                                                                                pub fn query_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.query_id(input.into()); diff --git a/sdk/lakeformation/src/operation/get_query_statistics/builders.rs b/sdk/lakeformation/src/operation/get_query_statistics/builders.rs index b9fd7218e30c..1298a711b0f7 100644 --- a/sdk/lakeformation/src/operation/get_query_statistics/builders.rs +++ b/sdk/lakeformation/src/operation/get_query_statistics/builders.rs @@ -19,9 +19,9 @@ impl GetQueryStatisticsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl GetQueryStatisticsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::get_query_statistics::GetQueryStatistics, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::get_query_statistics::GetQueryStatisticsError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                The ID of the plan query operation.

                                                                                                pub fn query_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.query_id(input.into()); diff --git a/sdk/lakeformation/src/operation/get_resource_lf_tags/builders.rs b/sdk/lakeformation/src/operation/get_resource_lf_tags/builders.rs index 138be34a45a5..c9726c4fbdaa 100644 --- a/sdk/lakeformation/src/operation/get_resource_lf_tags/builders.rs +++ b/sdk/lakeformation/src/operation/get_resource_lf_tags/builders.rs @@ -19,9 +19,9 @@ impl GetResourceLFTagsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl GetResourceLFTagsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::get_resource_lf_tags::GetResourceLFTags, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::get_resource_lf_tags::GetResourceLFTagsError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                The identifier for the Data Catalog. By default, the account ID. The Data Catalog is the persistent metadata store. It contains database definitions, table definitions, and other control information to manage your Lake Formation environment.

                                                                                                pub fn catalog_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.catalog_id(input.into()); diff --git a/sdk/lakeformation/src/operation/get_table_objects/builders.rs b/sdk/lakeformation/src/operation/get_table_objects/builders.rs index 77315018072f..7f8d3ccafc52 100644 --- a/sdk/lakeformation/src/operation/get_table_objects/builders.rs +++ b/sdk/lakeformation/src/operation/get_table_objects/builders.rs @@ -19,9 +19,9 @@ impl GetTableObjectsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl GetTableObjectsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::get_table_objects::GetTableObjects, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::get_table_objects::GetTableObjectsError, + >, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::get_table_objects::paginator::GetTableObjectsPaginator::send) which returns a `Stream`. diff --git a/sdk/lakeformation/src/operation/get_temporary_glue_partition_credentials/builders.rs b/sdk/lakeformation/src/operation/get_temporary_glue_partition_credentials/builders.rs index f928e3af69b4..bcdd7159616f 100644 --- a/sdk/lakeformation/src/operation/get_temporary_glue_partition_credentials/builders.rs +++ b/sdk/lakeformation/src/operation/get_temporary_glue_partition_credentials/builders.rs @@ -19,9 +19,9 @@ impl GetTemporaryGluePartitionCredentialsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize(self) -> ::std::result::Result< + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware(self) -> ::std::result::Result< crate::client::customize::CustomizableOperation, ::aws_smithy_http::result::SdkError >{ @@ -64,6 +64,15 @@ impl GetTemporaryGluePartitionCredentialsFluentBuilder { { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize(self) -> ::std::result::Result< + crate::client::customize::CustomizableOperation, + ::aws_smithy_http::result::SdkError + >{ + self.customize_middleware().await + } ///

                                                                                                The ARN of the partitions' table.

                                                                                                pub fn table_arn(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.table_arn(input.into()); diff --git a/sdk/lakeformation/src/operation/get_temporary_glue_table_credentials/builders.rs b/sdk/lakeformation/src/operation/get_temporary_glue_table_credentials/builders.rs index 54530a1f7b72..f838acd62583 100644 --- a/sdk/lakeformation/src/operation/get_temporary_glue_table_credentials/builders.rs +++ b/sdk/lakeformation/src/operation/get_temporary_glue_table_credentials/builders.rs @@ -19,9 +19,9 @@ impl GetTemporaryGlueTableCredentialsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize(self) -> ::std::result::Result< + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware(self) -> ::std::result::Result< crate::client::customize::CustomizableOperation, ::aws_smithy_http::result::SdkError >{ @@ -64,6 +64,15 @@ impl GetTemporaryGlueTableCredentialsFluentBuilder { { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize(self) -> ::std::result::Result< + crate::client::customize::CustomizableOperation, + ::aws_smithy_http::result::SdkError + >{ + self.customize_middleware().await + } ///

                                                                                                The ARN identifying a table in the Data Catalog for the temporary credentials request.

                                                                                                pub fn table_arn(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.table_arn(input.into()); diff --git a/sdk/lakeformation/src/operation/get_work_unit_results/builders.rs b/sdk/lakeformation/src/operation/get_work_unit_results/builders.rs index 94f8ddf450a9..baa1ed70ad8a 100644 --- a/sdk/lakeformation/src/operation/get_work_unit_results/builders.rs +++ b/sdk/lakeformation/src/operation/get_work_unit_results/builders.rs @@ -19,9 +19,9 @@ impl GetWorkUnitResultsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl GetWorkUnitResultsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::get_work_unit_results::GetWorkUnitResults, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::get_work_unit_results::GetWorkUnitResultsError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                The ID of the plan query operation for which to get results.

                                                                                                pub fn query_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.query_id(input.into()); diff --git a/sdk/lakeformation/src/operation/get_work_units/builders.rs b/sdk/lakeformation/src/operation/get_work_units/builders.rs index 73fd239ad52e..867a66c489c1 100644 --- a/sdk/lakeformation/src/operation/get_work_units/builders.rs +++ b/sdk/lakeformation/src/operation/get_work_units/builders.rs @@ -19,9 +19,9 @@ impl GetWorkUnitsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl GetWorkUnitsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::get_work_units::GetWorkUnits, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::get_work_units::paginator::GetWorkUnitsPaginator::send) which returns a `Stream`. diff --git a/sdk/lakeformation/src/operation/grant_permissions/builders.rs b/sdk/lakeformation/src/operation/grant_permissions/builders.rs index 278329be851a..967eced501f2 100644 --- a/sdk/lakeformation/src/operation/grant_permissions/builders.rs +++ b/sdk/lakeformation/src/operation/grant_permissions/builders.rs @@ -20,9 +20,9 @@ impl GrantPermissionsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -84,6 +84,22 @@ impl GrantPermissionsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::grant_permissions::GrantPermissions, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::grant_permissions::GrantPermissionsError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                The identifier for the Data Catalog. By default, the account ID. The Data Catalog is the persistent metadata store. It contains database definitions, table definitions, and other control information to manage your Lake Formation environment.

                                                                                                pub fn catalog_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.catalog_id(input.into()); diff --git a/sdk/lakeformation/src/operation/list_data_cells_filter/builders.rs b/sdk/lakeformation/src/operation/list_data_cells_filter/builders.rs index 780d739b7b38..a876410ee2d9 100644 --- a/sdk/lakeformation/src/operation/list_data_cells_filter/builders.rs +++ b/sdk/lakeformation/src/operation/list_data_cells_filter/builders.rs @@ -19,9 +19,9 @@ impl ListDataCellsFilterFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl ListDataCellsFilterFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_data_cells_filter::ListDataCellsFilter, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::list_data_cells_filter::ListDataCellsFilterError, + >, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::list_data_cells_filter::paginator::ListDataCellsFilterPaginator::send) which returns a `Stream`. diff --git a/sdk/lakeformation/src/operation/list_lf_tags/builders.rs b/sdk/lakeformation/src/operation/list_lf_tags/builders.rs index 2cb4fa519f96..8209a0833444 100644 --- a/sdk/lakeformation/src/operation/list_lf_tags/builders.rs +++ b/sdk/lakeformation/src/operation/list_lf_tags/builders.rs @@ -19,9 +19,9 @@ impl ListLFTagsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl ListLFTagsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_lf_tags::ListLFTags, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::list_lf_tags::paginator::ListLfTagsPaginator::send) which returns a `Stream`. diff --git a/sdk/lakeformation/src/operation/list_permissions/builders.rs b/sdk/lakeformation/src/operation/list_permissions/builders.rs index 8168b95ebdb7..7f2a03a2edbe 100644 --- a/sdk/lakeformation/src/operation/list_permissions/builders.rs +++ b/sdk/lakeformation/src/operation/list_permissions/builders.rs @@ -21,9 +21,9 @@ impl ListPermissionsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -85,6 +85,22 @@ impl ListPermissionsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_permissions::ListPermissions, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::list_permissions::ListPermissionsError, + >, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::list_permissions::paginator::ListPermissionsPaginator::send) which returns a `Stream`. diff --git a/sdk/lakeformation/src/operation/list_resources/builders.rs b/sdk/lakeformation/src/operation/list_resources/builders.rs index e82071ebb4bb..8fa20c2541b3 100644 --- a/sdk/lakeformation/src/operation/list_resources/builders.rs +++ b/sdk/lakeformation/src/operation/list_resources/builders.rs @@ -19,9 +19,9 @@ impl ListResourcesFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl ListResourcesFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_resources::ListResources, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::list_resources::paginator::ListResourcesPaginator::send) which returns a `Stream`. diff --git a/sdk/lakeformation/src/operation/list_table_storage_optimizers/builders.rs b/sdk/lakeformation/src/operation/list_table_storage_optimizers/builders.rs index 5c9d2698e919..3de6b429ee2f 100644 --- a/sdk/lakeformation/src/operation/list_table_storage_optimizers/builders.rs +++ b/sdk/lakeformation/src/operation/list_table_storage_optimizers/builders.rs @@ -19,9 +19,9 @@ impl ListTableStorageOptimizersFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl ListTableStorageOptimizersFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_table_storage_optimizers::ListTableStorageOptimizers, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::list_table_storage_optimizers::ListTableStorageOptimizersError, + >, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::list_table_storage_optimizers::paginator::ListTableStorageOptimizersPaginator::send) which returns a `Stream`. diff --git a/sdk/lakeformation/src/operation/list_transactions/builders.rs b/sdk/lakeformation/src/operation/list_transactions/builders.rs index 3d867a264f55..8f7aa5f8138c 100644 --- a/sdk/lakeformation/src/operation/list_transactions/builders.rs +++ b/sdk/lakeformation/src/operation/list_transactions/builders.rs @@ -20,9 +20,9 @@ impl ListTransactionsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -84,6 +84,22 @@ impl ListTransactionsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_transactions::ListTransactions, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::list_transactions::ListTransactionsError, + >, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::list_transactions::paginator::ListTransactionsPaginator::send) which returns a `Stream`. diff --git a/sdk/lakeformation/src/operation/put_data_lake_settings/builders.rs b/sdk/lakeformation/src/operation/put_data_lake_settings/builders.rs index cbf3539663d0..872b7891c770 100644 --- a/sdk/lakeformation/src/operation/put_data_lake_settings/builders.rs +++ b/sdk/lakeformation/src/operation/put_data_lake_settings/builders.rs @@ -20,9 +20,9 @@ impl PutDataLakeSettingsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -84,6 +84,22 @@ impl PutDataLakeSettingsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::put_data_lake_settings::PutDataLakeSettings, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::put_data_lake_settings::PutDataLakeSettingsError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                The identifier for the Data Catalog. By default, the account ID. The Data Catalog is the persistent metadata store. It contains database definitions, table definitions, and other control information to manage your Lake Formation environment.

                                                                                                pub fn catalog_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.catalog_id(input.into()); diff --git a/sdk/lakeformation/src/operation/register_resource/builders.rs b/sdk/lakeformation/src/operation/register_resource/builders.rs index ade343d39b76..84c3af31a395 100644 --- a/sdk/lakeformation/src/operation/register_resource/builders.rs +++ b/sdk/lakeformation/src/operation/register_resource/builders.rs @@ -24,9 +24,9 @@ impl RegisterResourceFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -88,6 +88,22 @@ impl RegisterResourceFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::register_resource::RegisterResource, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::register_resource::RegisterResourceError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                The Amazon Resource Name (ARN) of the resource that you want to register.

                                                                                                pub fn resource_arn(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.resource_arn(input.into()); diff --git a/sdk/lakeformation/src/operation/remove_lf_tags_from_resource/builders.rs b/sdk/lakeformation/src/operation/remove_lf_tags_from_resource/builders.rs index 5aa253046622..fb5075b72f60 100644 --- a/sdk/lakeformation/src/operation/remove_lf_tags_from_resource/builders.rs +++ b/sdk/lakeformation/src/operation/remove_lf_tags_from_resource/builders.rs @@ -19,9 +19,9 @@ impl RemoveLFTagsFromResourceFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl RemoveLFTagsFromResourceFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::remove_lf_tags_from_resource::RemoveLFTagsFromResource, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::remove_lf_tags_from_resource::RemoveLFTagsFromResourceError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                The identifier for the Data Catalog. By default, the account ID. The Data Catalog is the persistent metadata store. It contains database definitions, table definitions, and other control information to manage your Lake Formation environment.

                                                                                                pub fn catalog_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.catalog_id(input.into()); diff --git a/sdk/lakeformation/src/operation/revoke_permissions/builders.rs b/sdk/lakeformation/src/operation/revoke_permissions/builders.rs index 95d1a5083b18..672072499b6a 100644 --- a/sdk/lakeformation/src/operation/revoke_permissions/builders.rs +++ b/sdk/lakeformation/src/operation/revoke_permissions/builders.rs @@ -19,9 +19,9 @@ impl RevokePermissionsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl RevokePermissionsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::revoke_permissions::RevokePermissions, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::revoke_permissions::RevokePermissionsError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                The identifier for the Data Catalog. By default, the account ID. The Data Catalog is the persistent metadata store. It contains database definitions, table definitions, and other control information to manage your Lake Formation environment.

                                                                                                pub fn catalog_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.catalog_id(input.into()); diff --git a/sdk/lakeformation/src/operation/search_databases_by_lf_tags/builders.rs b/sdk/lakeformation/src/operation/search_databases_by_lf_tags/builders.rs index 9bb81601b256..7ac9068ed5b4 100644 --- a/sdk/lakeformation/src/operation/search_databases_by_lf_tags/builders.rs +++ b/sdk/lakeformation/src/operation/search_databases_by_lf_tags/builders.rs @@ -19,9 +19,9 @@ impl SearchDatabasesByLFTagsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl SearchDatabasesByLFTagsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::search_databases_by_lf_tags::SearchDatabasesByLFTags, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::search_databases_by_lf_tags::SearchDatabasesByLFTagsError, + >, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::search_databases_by_lf_tags::paginator::SearchDatabasesByLfTagsPaginator::send) which returns a `Stream`. diff --git a/sdk/lakeformation/src/operation/search_tables_by_lf_tags/builders.rs b/sdk/lakeformation/src/operation/search_tables_by_lf_tags/builders.rs index 9915ff9fcb01..bff36eb707d5 100644 --- a/sdk/lakeformation/src/operation/search_tables_by_lf_tags/builders.rs +++ b/sdk/lakeformation/src/operation/search_tables_by_lf_tags/builders.rs @@ -19,9 +19,9 @@ impl SearchTablesByLFTagsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl SearchTablesByLFTagsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::search_tables_by_lf_tags::SearchTablesByLFTags, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::search_tables_by_lf_tags::SearchTablesByLFTagsError, + >, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::search_tables_by_lf_tags::paginator::SearchTablesByLfTagsPaginator::send) which returns a `Stream`. diff --git a/sdk/lakeformation/src/operation/start_query_planning/builders.rs b/sdk/lakeformation/src/operation/start_query_planning/builders.rs index e9127e3b04d4..b96b192627cf 100644 --- a/sdk/lakeformation/src/operation/start_query_planning/builders.rs +++ b/sdk/lakeformation/src/operation/start_query_planning/builders.rs @@ -20,9 +20,9 @@ impl StartQueryPlanningFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -84,6 +84,22 @@ impl StartQueryPlanningFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::start_query_planning::StartQueryPlanning, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::start_query_planning::StartQueryPlanningError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                A structure containing information about the query plan.

                                                                                                pub fn query_planning_context(mut self, input: crate::types::QueryPlanningContext) -> Self { self.inner = self.inner.query_planning_context(input); diff --git a/sdk/lakeformation/src/operation/start_transaction/builders.rs b/sdk/lakeformation/src/operation/start_transaction/builders.rs index bd1cb0c56af1..196280ad1e99 100644 --- a/sdk/lakeformation/src/operation/start_transaction/builders.rs +++ b/sdk/lakeformation/src/operation/start_transaction/builders.rs @@ -19,9 +19,9 @@ impl StartTransactionFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl StartTransactionFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::start_transaction::StartTransaction, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::start_transaction::StartTransactionError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                Indicates whether this transaction should be read only or read and write. Writes made using a read-only transaction ID will be rejected. Read-only transactions do not need to be committed.

                                                                                                pub fn transaction_type(mut self, input: crate::types::TransactionType) -> Self { self.inner = self.inner.transaction_type(input); diff --git a/sdk/lakeformation/src/operation/update_data_cells_filter/builders.rs b/sdk/lakeformation/src/operation/update_data_cells_filter/builders.rs index b876edf66319..0bbe0c36edb0 100644 --- a/sdk/lakeformation/src/operation/update_data_cells_filter/builders.rs +++ b/sdk/lakeformation/src/operation/update_data_cells_filter/builders.rs @@ -19,9 +19,9 @@ impl UpdateDataCellsFilterFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl UpdateDataCellsFilterFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::update_data_cells_filter::UpdateDataCellsFilter, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::update_data_cells_filter::UpdateDataCellsFilterError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                A DataCellsFilter structure containing information about the data cells filter.

                                                                                                pub fn table_data(mut self, input: crate::types::DataCellsFilter) -> Self { self.inner = self.inner.table_data(input); diff --git a/sdk/lakeformation/src/operation/update_lf_tag/builders.rs b/sdk/lakeformation/src/operation/update_lf_tag/builders.rs index 806414408be7..cd176285303a 100644 --- a/sdk/lakeformation/src/operation/update_lf_tag/builders.rs +++ b/sdk/lakeformation/src/operation/update_lf_tag/builders.rs @@ -19,9 +19,9 @@ impl UpdateLFTagFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl UpdateLFTagFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::update_lf_tag::UpdateLFTag, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                                                The identifier for the Data Catalog. By default, the account ID. The Data Catalog is the persistent metadata store. It contains database definitions, table definitions, and other control information to manage your Lake Formation environment.

                                                                                                pub fn catalog_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.catalog_id(input.into()); diff --git a/sdk/lakeformation/src/operation/update_resource/builders.rs b/sdk/lakeformation/src/operation/update_resource/builders.rs index 22418a340811..b089dcd777aa 100644 --- a/sdk/lakeformation/src/operation/update_resource/builders.rs +++ b/sdk/lakeformation/src/operation/update_resource/builders.rs @@ -19,9 +19,9 @@ impl UpdateResourceFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl UpdateResourceFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::update_resource::UpdateResource, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                                                The new role to use for the given resource registered in Lake Formation.

                                                                                                pub fn role_arn(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.role_arn(input.into()); diff --git a/sdk/lakeformation/src/operation/update_table_objects/builders.rs b/sdk/lakeformation/src/operation/update_table_objects/builders.rs index 2dca34eab767..1d64d8019e4f 100644 --- a/sdk/lakeformation/src/operation/update_table_objects/builders.rs +++ b/sdk/lakeformation/src/operation/update_table_objects/builders.rs @@ -19,9 +19,9 @@ impl UpdateTableObjectsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl UpdateTableObjectsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::update_table_objects::UpdateTableObjects, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::update_table_objects::UpdateTableObjectsError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                The catalog containing the governed table to update. Defaults to the caller’s account ID.

                                                                                                pub fn catalog_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.catalog_id(input.into()); diff --git a/sdk/lakeformation/src/operation/update_table_storage_optimizer/builders.rs b/sdk/lakeformation/src/operation/update_table_storage_optimizer/builders.rs index 29636eca26ef..8d74927d95e1 100644 --- a/sdk/lakeformation/src/operation/update_table_storage_optimizer/builders.rs +++ b/sdk/lakeformation/src/operation/update_table_storage_optimizer/builders.rs @@ -19,9 +19,9 @@ impl UpdateTableStorageOptimizerFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl UpdateTableStorageOptimizerFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::update_table_storage_optimizer::UpdateTableStorageOptimizer, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::update_table_storage_optimizer::UpdateTableStorageOptimizerError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                The Catalog ID of the table.

                                                                                                pub fn catalog_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.catalog_id(input.into()); diff --git a/sdk/lambda/src/operation/add_layer_version_permission/builders.rs b/sdk/lambda/src/operation/add_layer_version_permission/builders.rs index 87d4845fa261..385944645b0d 100644 --- a/sdk/lambda/src/operation/add_layer_version_permission/builders.rs +++ b/sdk/lambda/src/operation/add_layer_version_permission/builders.rs @@ -20,9 +20,9 @@ impl AddLayerVersionPermissionFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -84,6 +84,22 @@ impl AddLayerVersionPermissionFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::add_layer_version_permission::AddLayerVersionPermission, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::add_layer_version_permission::AddLayerVersionPermissionError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                The name or Amazon Resource Name (ARN) of the layer.

                                                                                                pub fn layer_name(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.layer_name(input.into()); diff --git a/sdk/lambda/src/operation/add_permission/builders.rs b/sdk/lambda/src/operation/add_permission/builders.rs index 8c7ba61c90f6..c22e21e33eaa 100644 --- a/sdk/lambda/src/operation/add_permission/builders.rs +++ b/sdk/lambda/src/operation/add_permission/builders.rs @@ -21,9 +21,9 @@ impl AddPermissionFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -79,6 +79,20 @@ impl AddPermissionFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::add_permission::AddPermission, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                                                The name of the Lambda function, version, or alias.

                                                                                                ///

                                                                                                Name formats

                                                                                                ///
                                                                                                  diff --git a/sdk/lambda/src/operation/create_alias/builders.rs b/sdk/lambda/src/operation/create_alias/builders.rs index bc244b931020..66a4d69e1c9d 100644 --- a/sdk/lambda/src/operation/create_alias/builders.rs +++ b/sdk/lambda/src/operation/create_alias/builders.rs @@ -20,9 +20,9 @@ impl CreateAliasFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -78,6 +78,20 @@ impl CreateAliasFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::create_alias::CreateAlias, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                                                  The name of the Lambda function.

                                                                                                  ///

                                                                                                  Name formats

                                                                                                  ///
                                                                                                    diff --git a/sdk/lambda/src/operation/create_code_signing_config/builders.rs b/sdk/lambda/src/operation/create_code_signing_config/builders.rs index e989cd17057d..32620c9e4e77 100644 --- a/sdk/lambda/src/operation/create_code_signing_config/builders.rs +++ b/sdk/lambda/src/operation/create_code_signing_config/builders.rs @@ -20,9 +20,9 @@ impl CreateCodeSigningConfigFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -84,6 +84,22 @@ impl CreateCodeSigningConfigFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::create_code_signing_config::CreateCodeSigningConfig, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::create_code_signing_config::CreateCodeSigningConfigError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                    Descriptive name for this code signing configuration.

                                                                                                    pub fn description(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.description(input.into()); diff --git a/sdk/lambda/src/operation/create_event_source_mapping/builders.rs b/sdk/lambda/src/operation/create_event_source_mapping/builders.rs index f65ad7cd61ca..df0533244167 100644 --- a/sdk/lambda/src/operation/create_event_source_mapping/builders.rs +++ b/sdk/lambda/src/operation/create_event_source_mapping/builders.rs @@ -47,9 +47,9 @@ impl CreateEventSourceMappingFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -111,6 +111,22 @@ impl CreateEventSourceMappingFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::create_event_source_mapping::CreateEventSourceMapping, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::create_event_source_mapping::CreateEventSourceMappingError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                    The Amazon Resource Name (ARN) of the event source.

                                                                                                    ///
                                                                                                      ///
                                                                                                    • Amazon Kinesis – The ARN of the data stream or a stream consumer.

                                                                                                    • diff --git a/sdk/lambda/src/operation/create_function/builders.rs b/sdk/lambda/src/operation/create_function/builders.rs index ea889d441051..09f756c66ae8 100644 --- a/sdk/lambda/src/operation/create_function/builders.rs +++ b/sdk/lambda/src/operation/create_function/builders.rs @@ -27,9 +27,9 @@ impl CreateFunctionFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -85,6 +85,20 @@ impl CreateFunctionFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::create_function::CreateFunction, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                                                      The name of the Lambda function.

                                                                                                      ///

                                                                                                      Name formats

                                                                                                      ///
                                                                                                        diff --git a/sdk/lambda/src/operation/create_function_url_config/builders.rs b/sdk/lambda/src/operation/create_function_url_config/builders.rs index d124bccaf720..5c5eea15f657 100644 --- a/sdk/lambda/src/operation/create_function_url_config/builders.rs +++ b/sdk/lambda/src/operation/create_function_url_config/builders.rs @@ -20,9 +20,9 @@ impl CreateFunctionUrlConfigFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -84,6 +84,22 @@ impl CreateFunctionUrlConfigFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::create_function_url_config::CreateFunctionUrlConfig, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::create_function_url_config::CreateFunctionUrlConfigError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                        The name of the Lambda function.

                                                                                                        ///

                                                                                                        Name formats

                                                                                                        ///
                                                                                                          diff --git a/sdk/lambda/src/operation/delete_alias/builders.rs b/sdk/lambda/src/operation/delete_alias/builders.rs index a9d9e2c716c4..f11c41e1dc06 100644 --- a/sdk/lambda/src/operation/delete_alias/builders.rs +++ b/sdk/lambda/src/operation/delete_alias/builders.rs @@ -19,9 +19,9 @@ impl DeleteAliasFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl DeleteAliasFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::delete_alias::DeleteAlias, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                                                          The name of the Lambda function.

                                                                                                          ///

                                                                                                          Name formats

                                                                                                          ///
                                                                                                            diff --git a/sdk/lambda/src/operation/delete_code_signing_config/builders.rs b/sdk/lambda/src/operation/delete_code_signing_config/builders.rs index 32645eb8afd1..eb2f4ba4e931 100644 --- a/sdk/lambda/src/operation/delete_code_signing_config/builders.rs +++ b/sdk/lambda/src/operation/delete_code_signing_config/builders.rs @@ -20,9 +20,9 @@ impl DeleteCodeSigningConfigFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -84,6 +84,22 @@ impl DeleteCodeSigningConfigFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::delete_code_signing_config::DeleteCodeSigningConfig, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::delete_code_signing_config::DeleteCodeSigningConfigError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                            The The Amazon Resource Name (ARN) of the code signing configuration.

                                                                                                            pub fn code_signing_config_arn( mut self, diff --git a/sdk/lambda/src/operation/delete_event_source_mapping/builders.rs b/sdk/lambda/src/operation/delete_event_source_mapping/builders.rs index e4dd633953e6..cbb0ab99d6b3 100644 --- a/sdk/lambda/src/operation/delete_event_source_mapping/builders.rs +++ b/sdk/lambda/src/operation/delete_event_source_mapping/builders.rs @@ -20,9 +20,9 @@ impl DeleteEventSourceMappingFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -84,6 +84,22 @@ impl DeleteEventSourceMappingFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::delete_event_source_mapping::DeleteEventSourceMapping, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::delete_event_source_mapping::DeleteEventSourceMappingError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                            The identifier of the event source mapping.

                                                                                                            pub fn uuid(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.uuid(input.into()); diff --git a/sdk/lambda/src/operation/delete_function/builders.rs b/sdk/lambda/src/operation/delete_function/builders.rs index 0b380ffa84e3..115d8c91e6ca 100644 --- a/sdk/lambda/src/operation/delete_function/builders.rs +++ b/sdk/lambda/src/operation/delete_function/builders.rs @@ -20,9 +20,9 @@ impl DeleteFunctionFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -78,6 +78,20 @@ impl DeleteFunctionFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::delete_function::DeleteFunction, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                                                            The name of the Lambda function or version.

                                                                                                            ///

                                                                                                            Name formats

                                                                                                            ///
                                                                                                              diff --git a/sdk/lambda/src/operation/delete_function_code_signing_config/builders.rs b/sdk/lambda/src/operation/delete_function_code_signing_config/builders.rs index 774c9dbc6f51..f168c2876678 100644 --- a/sdk/lambda/src/operation/delete_function_code_signing_config/builders.rs +++ b/sdk/lambda/src/operation/delete_function_code_signing_config/builders.rs @@ -19,9 +19,9 @@ impl DeleteFunctionCodeSigningConfigFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize(self) -> ::std::result::Result< + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware(self) -> ::std::result::Result< crate::client::customize::CustomizableOperation, ::aws_smithy_http::result::SdkError >{ @@ -64,6 +64,15 @@ impl DeleteFunctionCodeSigningConfigFluentBuilder { { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize(self) -> ::std::result::Result< + crate::client::customize::CustomizableOperation, + ::aws_smithy_http::result::SdkError + >{ + self.customize_middleware().await + } ///

                                                                                                              The name of the Lambda function.

                                                                                                              ///

                                                                                                              Name formats

                                                                                                              ///
                                                                                                                diff --git a/sdk/lambda/src/operation/delete_function_concurrency/builders.rs b/sdk/lambda/src/operation/delete_function_concurrency/builders.rs index f75bcb617ef0..a4283e82801c 100644 --- a/sdk/lambda/src/operation/delete_function_concurrency/builders.rs +++ b/sdk/lambda/src/operation/delete_function_concurrency/builders.rs @@ -19,9 +19,9 @@ impl DeleteFunctionConcurrencyFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl DeleteFunctionConcurrencyFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::delete_function_concurrency::DeleteFunctionConcurrency, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::delete_function_concurrency::DeleteFunctionConcurrencyError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                The name of the Lambda function.

                                                                                                                ///

                                                                                                                Name formats

                                                                                                                ///
                                                                                                                  diff --git a/sdk/lambda/src/operation/delete_function_event_invoke_config/builders.rs b/sdk/lambda/src/operation/delete_function_event_invoke_config/builders.rs index a722f563c6eb..69de58041e58 100644 --- a/sdk/lambda/src/operation/delete_function_event_invoke_config/builders.rs +++ b/sdk/lambda/src/operation/delete_function_event_invoke_config/builders.rs @@ -20,9 +20,9 @@ impl DeleteFunctionEventInvokeConfigFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize(self) -> ::std::result::Result< + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware(self) -> ::std::result::Result< crate::client::customize::CustomizableOperation, ::aws_smithy_http::result::SdkError >{ @@ -65,6 +65,15 @@ impl DeleteFunctionEventInvokeConfigFluentBuilder { { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize(self) -> ::std::result::Result< + crate::client::customize::CustomizableOperation, + ::aws_smithy_http::result::SdkError + >{ + self.customize_middleware().await + } ///

                                                                                                                  The name of the Lambda function, version, or alias.

                                                                                                                  ///

                                                                                                                  Name formats

                                                                                                                  ///
                                                                                                                    diff --git a/sdk/lambda/src/operation/delete_function_url_config/builders.rs b/sdk/lambda/src/operation/delete_function_url_config/builders.rs index 38d4520bbe65..a5fafb278d47 100644 --- a/sdk/lambda/src/operation/delete_function_url_config/builders.rs +++ b/sdk/lambda/src/operation/delete_function_url_config/builders.rs @@ -20,9 +20,9 @@ impl DeleteFunctionUrlConfigFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -84,6 +84,22 @@ impl DeleteFunctionUrlConfigFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::delete_function_url_config::DeleteFunctionUrlConfig, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::delete_function_url_config::DeleteFunctionUrlConfigError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                    The name of the Lambda function.

                                                                                                                    ///

                                                                                                                    Name formats

                                                                                                                    ///
                                                                                                                      diff --git a/sdk/lambda/src/operation/delete_layer_version/builders.rs b/sdk/lambda/src/operation/delete_layer_version/builders.rs index 12e4b622a4bf..6e168c8229de 100644 --- a/sdk/lambda/src/operation/delete_layer_version/builders.rs +++ b/sdk/lambda/src/operation/delete_layer_version/builders.rs @@ -19,9 +19,9 @@ impl DeleteLayerVersionFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl DeleteLayerVersionFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::delete_layer_version::DeleteLayerVersion, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::delete_layer_version::DeleteLayerVersionError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                      The name or Amazon Resource Name (ARN) of the layer.

                                                                                                                      pub fn layer_name(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.layer_name(input.into()); diff --git a/sdk/lambda/src/operation/delete_provisioned_concurrency_config/builders.rs b/sdk/lambda/src/operation/delete_provisioned_concurrency_config/builders.rs index ea02baa3f37b..775644d2bc85 100644 --- a/sdk/lambda/src/operation/delete_provisioned_concurrency_config/builders.rs +++ b/sdk/lambda/src/operation/delete_provisioned_concurrency_config/builders.rs @@ -19,9 +19,9 @@ impl DeleteProvisionedConcurrencyConfigFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize(self) -> ::std::result::Result< + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware(self) -> ::std::result::Result< crate::client::customize::CustomizableOperation, ::aws_smithy_http::result::SdkError >{ @@ -64,6 +64,15 @@ impl DeleteProvisionedConcurrencyConfigFluentBuilder { { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize(self) -> ::std::result::Result< + crate::client::customize::CustomizableOperation, + ::aws_smithy_http::result::SdkError + >{ + self.customize_middleware().await + } ///

                                                                                                                      The name of the Lambda function.

                                                                                                                      ///

                                                                                                                      Name formats

                                                                                                                      ///
                                                                                                                        diff --git a/sdk/lambda/src/operation/get_account_settings/builders.rs b/sdk/lambda/src/operation/get_account_settings/builders.rs index f97c01cee095..10a15d6932db 100644 --- a/sdk/lambda/src/operation/get_account_settings/builders.rs +++ b/sdk/lambda/src/operation/get_account_settings/builders.rs @@ -19,9 +19,9 @@ impl GetAccountSettingsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,4 +83,20 @@ impl GetAccountSettingsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::get_account_settings::GetAccountSettings, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::get_account_settings::GetAccountSettingsError, + >, + > { + self.customize_middleware().await + } } diff --git a/sdk/lambda/src/operation/get_alias/builders.rs b/sdk/lambda/src/operation/get_alias/builders.rs index b275c2f56f1f..cbfb0092b980 100644 --- a/sdk/lambda/src/operation/get_alias/builders.rs +++ b/sdk/lambda/src/operation/get_alias/builders.rs @@ -19,9 +19,9 @@ impl GetAliasFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl GetAliasFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::get_alias::GetAlias, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                                                                        The name of the Lambda function.

                                                                                                                        ///

                                                                                                                        Name formats

                                                                                                                        ///
                                                                                                                          diff --git a/sdk/lambda/src/operation/get_code_signing_config/builders.rs b/sdk/lambda/src/operation/get_code_signing_config/builders.rs index 541038a9cd37..e06df3aaa3d0 100644 --- a/sdk/lambda/src/operation/get_code_signing_config/builders.rs +++ b/sdk/lambda/src/operation/get_code_signing_config/builders.rs @@ -19,9 +19,9 @@ impl GetCodeSigningConfigFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl GetCodeSigningConfigFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::get_code_signing_config::GetCodeSigningConfig, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::get_code_signing_config::GetCodeSigningConfigError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                          The The Amazon Resource Name (ARN) of the code signing configuration.

                                                                                                                          pub fn code_signing_config_arn( mut self, diff --git a/sdk/lambda/src/operation/get_event_source_mapping/builders.rs b/sdk/lambda/src/operation/get_event_source_mapping/builders.rs index 417e80291ce0..ea5c23661fc7 100644 --- a/sdk/lambda/src/operation/get_event_source_mapping/builders.rs +++ b/sdk/lambda/src/operation/get_event_source_mapping/builders.rs @@ -19,9 +19,9 @@ impl GetEventSourceMappingFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl GetEventSourceMappingFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::get_event_source_mapping::GetEventSourceMapping, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::get_event_source_mapping::GetEventSourceMappingError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                          The identifier of the event source mapping.

                                                                                                                          pub fn uuid(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.uuid(input.into()); diff --git a/sdk/lambda/src/operation/get_function/builders.rs b/sdk/lambda/src/operation/get_function/builders.rs index 8b0d2be945fa..8e84669cc827 100644 --- a/sdk/lambda/src/operation/get_function/builders.rs +++ b/sdk/lambda/src/operation/get_function/builders.rs @@ -19,9 +19,9 @@ impl GetFunctionFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl GetFunctionFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::get_function::GetFunction, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                                                                          The name of the Lambda function, version, or alias.

                                                                                                                          ///

                                                                                                                          Name formats

                                                                                                                          ///
                                                                                                                            diff --git a/sdk/lambda/src/operation/get_function_code_signing_config/builders.rs b/sdk/lambda/src/operation/get_function_code_signing_config/builders.rs index 72662a209e50..6e70cf7ed575 100644 --- a/sdk/lambda/src/operation/get_function_code_signing_config/builders.rs +++ b/sdk/lambda/src/operation/get_function_code_signing_config/builders.rs @@ -19,9 +19,9 @@ impl GetFunctionCodeSigningConfigFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl GetFunctionCodeSigningConfigFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::get_function_code_signing_config::GetFunctionCodeSigningConfig, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::get_function_code_signing_config::GetFunctionCodeSigningConfigError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                            The name of the Lambda function.

                                                                                                                            ///

                                                                                                                            Name formats

                                                                                                                            ///
                                                                                                                              diff --git a/sdk/lambda/src/operation/get_function_concurrency/builders.rs b/sdk/lambda/src/operation/get_function_concurrency/builders.rs index 9dd0bb9f281d..4137c4d4983f 100644 --- a/sdk/lambda/src/operation/get_function_concurrency/builders.rs +++ b/sdk/lambda/src/operation/get_function_concurrency/builders.rs @@ -19,9 +19,9 @@ impl GetFunctionConcurrencyFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl GetFunctionConcurrencyFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::get_function_concurrency::GetFunctionConcurrency, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::get_function_concurrency::GetFunctionConcurrencyError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                              The name of the Lambda function.

                                                                                                                              ///

                                                                                                                              Name formats

                                                                                                                              ///
                                                                                                                                diff --git a/sdk/lambda/src/operation/get_function_configuration/builders.rs b/sdk/lambda/src/operation/get_function_configuration/builders.rs index c8f0f03c6182..dfb01efbf7eb 100644 --- a/sdk/lambda/src/operation/get_function_configuration/builders.rs +++ b/sdk/lambda/src/operation/get_function_configuration/builders.rs @@ -20,9 +20,9 @@ impl GetFunctionConfigurationFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -84,6 +84,22 @@ impl GetFunctionConfigurationFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::get_function_configuration::GetFunctionConfiguration, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::get_function_configuration::GetFunctionConfigurationError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                The name of the Lambda function, version, or alias.

                                                                                                                                ///

                                                                                                                                Name formats

                                                                                                                                ///
                                                                                                                                  diff --git a/sdk/lambda/src/operation/get_function_event_invoke_config/builders.rs b/sdk/lambda/src/operation/get_function_event_invoke_config/builders.rs index 81faa8da3feb..ee133a0be40a 100644 --- a/sdk/lambda/src/operation/get_function_event_invoke_config/builders.rs +++ b/sdk/lambda/src/operation/get_function_event_invoke_config/builders.rs @@ -20,9 +20,9 @@ impl GetFunctionEventInvokeConfigFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -84,6 +84,22 @@ impl GetFunctionEventInvokeConfigFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::get_function_event_invoke_config::GetFunctionEventInvokeConfig, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::get_function_event_invoke_config::GetFunctionEventInvokeConfigError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                  The name of the Lambda function, version, or alias.

                                                                                                                                  ///

                                                                                                                                  Name formats

                                                                                                                                  ///
                                                                                                                                    diff --git a/sdk/lambda/src/operation/get_function_url_config/builders.rs b/sdk/lambda/src/operation/get_function_url_config/builders.rs index a0041a5033a5..c35f4061d5db 100644 --- a/sdk/lambda/src/operation/get_function_url_config/builders.rs +++ b/sdk/lambda/src/operation/get_function_url_config/builders.rs @@ -19,9 +19,9 @@ impl GetFunctionUrlConfigFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl GetFunctionUrlConfigFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::get_function_url_config::GetFunctionUrlConfig, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::get_function_url_config::GetFunctionUrlConfigError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                    The name of the Lambda function.

                                                                                                                                    ///

                                                                                                                                    Name formats

                                                                                                                                    ///
                                                                                                                                      diff --git a/sdk/lambda/src/operation/get_layer_version/builders.rs b/sdk/lambda/src/operation/get_layer_version/builders.rs index 76244ccc8a7b..acb9b594de6d 100644 --- a/sdk/lambda/src/operation/get_layer_version/builders.rs +++ b/sdk/lambda/src/operation/get_layer_version/builders.rs @@ -19,9 +19,9 @@ impl GetLayerVersionFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl GetLayerVersionFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::get_layer_version::GetLayerVersion, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::get_layer_version::GetLayerVersionError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                      The name or Amazon Resource Name (ARN) of the layer.

                                                                                                                                      pub fn layer_name(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.layer_name(input.into()); diff --git a/sdk/lambda/src/operation/get_layer_version_by_arn/builders.rs b/sdk/lambda/src/operation/get_layer_version_by_arn/builders.rs index 49f43db47e3a..78cef1919697 100644 --- a/sdk/lambda/src/operation/get_layer_version_by_arn/builders.rs +++ b/sdk/lambda/src/operation/get_layer_version_by_arn/builders.rs @@ -19,9 +19,9 @@ impl GetLayerVersionByArnFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl GetLayerVersionByArnFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::get_layer_version_by_arn::GetLayerVersionByArn, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::get_layer_version_by_arn::GetLayerVersionByArnError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                      The ARN of the layer version.

                                                                                                                                      pub fn arn(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.arn(input.into()); diff --git a/sdk/lambda/src/operation/get_layer_version_policy/builders.rs b/sdk/lambda/src/operation/get_layer_version_policy/builders.rs index 82f61428af3b..e73cad8750ac 100644 --- a/sdk/lambda/src/operation/get_layer_version_policy/builders.rs +++ b/sdk/lambda/src/operation/get_layer_version_policy/builders.rs @@ -19,9 +19,9 @@ impl GetLayerVersionPolicyFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl GetLayerVersionPolicyFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::get_layer_version_policy::GetLayerVersionPolicy, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::get_layer_version_policy::GetLayerVersionPolicyError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                      The name or Amazon Resource Name (ARN) of the layer.

                                                                                                                                      pub fn layer_name(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.layer_name(input.into()); diff --git a/sdk/lambda/src/operation/get_policy/builders.rs b/sdk/lambda/src/operation/get_policy/builders.rs index 1f19ce997a6d..0adad28cc0fc 100644 --- a/sdk/lambda/src/operation/get_policy/builders.rs +++ b/sdk/lambda/src/operation/get_policy/builders.rs @@ -19,9 +19,9 @@ impl GetPolicyFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl GetPolicyFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::get_policy::GetPolicy, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                                                                                      The name of the Lambda function, version, or alias.

                                                                                                                                      ///

                                                                                                                                      Name formats

                                                                                                                                      ///
                                                                                                                                        diff --git a/sdk/lambda/src/operation/get_provisioned_concurrency_config/builders.rs b/sdk/lambda/src/operation/get_provisioned_concurrency_config/builders.rs index 206eddb967ee..f920482d3272 100644 --- a/sdk/lambda/src/operation/get_provisioned_concurrency_config/builders.rs +++ b/sdk/lambda/src/operation/get_provisioned_concurrency_config/builders.rs @@ -19,9 +19,9 @@ impl GetProvisionedConcurrencyConfigFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize(self) -> ::std::result::Result< + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware(self) -> ::std::result::Result< crate::client::customize::CustomizableOperation, ::aws_smithy_http::result::SdkError >{ @@ -64,6 +64,15 @@ impl GetProvisionedConcurrencyConfigFluentBuilder { { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize(self) -> ::std::result::Result< + crate::client::customize::CustomizableOperation, + ::aws_smithy_http::result::SdkError + >{ + self.customize_middleware().await + } ///

                                                                                                                                        The name of the Lambda function.

                                                                                                                                        ///

                                                                                                                                        Name formats

                                                                                                                                        ///
                                                                                                                                          diff --git a/sdk/lambda/src/operation/get_runtime_management_config/builders.rs b/sdk/lambda/src/operation/get_runtime_management_config/builders.rs index fc7534c84deb..3a589a4cd952 100644 --- a/sdk/lambda/src/operation/get_runtime_management_config/builders.rs +++ b/sdk/lambda/src/operation/get_runtime_management_config/builders.rs @@ -19,9 +19,9 @@ impl GetRuntimeManagementConfigFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl GetRuntimeManagementConfigFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::get_runtime_management_config::GetRuntimeManagementConfig, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::get_runtime_management_config::GetRuntimeManagementConfigError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                          The name of the Lambda function.

                                                                                                                                          ///

                                                                                                                                          Name formats

                                                                                                                                          ///
                                                                                                                                            diff --git a/sdk/lambda/src/operation/invoke/builders.rs b/sdk/lambda/src/operation/invoke/builders.rs index 5408871827f5..8ee8d7f2183a 100644 --- a/sdk/lambda/src/operation/invoke/builders.rs +++ b/sdk/lambda/src/operation/invoke/builders.rs @@ -25,9 +25,9 @@ impl InvokeFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,20 @@ impl InvokeFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::invoke::Invoke, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                                                                                            The name of the Lambda function, version, or alias.

                                                                                                                                            ///

                                                                                                                                            Name formats

                                                                                                                                            ///
                                                                                                                                              diff --git a/sdk/lambda/src/operation/invoke_async/builders.rs b/sdk/lambda/src/operation/invoke_async/builders.rs index 88c8d5d66c0e..cebf180e6747 100644 --- a/sdk/lambda/src/operation/invoke_async/builders.rs +++ b/sdk/lambda/src/operation/invoke_async/builders.rs @@ -23,9 +23,9 @@ impl InvokeAsyncFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -81,6 +81,20 @@ impl InvokeAsyncFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::invoke_async::InvokeAsync, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                                                                                              The name of the Lambda function.

                                                                                                                                              ///

                                                                                                                                              Name formats

                                                                                                                                              ///
                                                                                                                                                diff --git a/sdk/lambda/src/operation/list_aliases/builders.rs b/sdk/lambda/src/operation/list_aliases/builders.rs index b732f06aee4d..ec3fe4ad0faf 100644 --- a/sdk/lambda/src/operation/list_aliases/builders.rs +++ b/sdk/lambda/src/operation/list_aliases/builders.rs @@ -19,9 +19,9 @@ impl ListAliasesFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl ListAliasesFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_aliases::ListAliases, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::list_aliases::paginator::ListAliasesPaginator::send) which returns a `Stream`. diff --git a/sdk/lambda/src/operation/list_code_signing_configs/builders.rs b/sdk/lambda/src/operation/list_code_signing_configs/builders.rs index 0fc57f70641a..3c1930f95a37 100644 --- a/sdk/lambda/src/operation/list_code_signing_configs/builders.rs +++ b/sdk/lambda/src/operation/list_code_signing_configs/builders.rs @@ -20,9 +20,9 @@ impl ListCodeSigningConfigsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -84,6 +84,22 @@ impl ListCodeSigningConfigsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_code_signing_configs::ListCodeSigningConfigs, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::list_code_signing_configs::ListCodeSigningConfigsError, + >, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::list_code_signing_configs::paginator::ListCodeSigningConfigsPaginator::send) which returns a `Stream`. diff --git a/sdk/lambda/src/operation/list_event_source_mappings/builders.rs b/sdk/lambda/src/operation/list_event_source_mappings/builders.rs index 79c8cd7b3313..31a90106c603 100644 --- a/sdk/lambda/src/operation/list_event_source_mappings/builders.rs +++ b/sdk/lambda/src/operation/list_event_source_mappings/builders.rs @@ -20,9 +20,9 @@ impl ListEventSourceMappingsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -84,6 +84,22 @@ impl ListEventSourceMappingsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_event_source_mappings::ListEventSourceMappings, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::list_event_source_mappings::ListEventSourceMappingsError, + >, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::list_event_source_mappings::paginator::ListEventSourceMappingsPaginator::send) which returns a `Stream`. diff --git a/sdk/lambda/src/operation/list_function_event_invoke_configs/builders.rs b/sdk/lambda/src/operation/list_function_event_invoke_configs/builders.rs index c5b63e46f598..ca41a60f94f5 100644 --- a/sdk/lambda/src/operation/list_function_event_invoke_configs/builders.rs +++ b/sdk/lambda/src/operation/list_function_event_invoke_configs/builders.rs @@ -20,9 +20,9 @@ impl ListFunctionEventInvokeConfigsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize(self) -> ::std::result::Result< + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware(self) -> ::std::result::Result< crate::client::customize::CustomizableOperation, ::aws_smithy_http::result::SdkError >{ @@ -65,6 +65,15 @@ impl ListFunctionEventInvokeConfigsFluentBuilder { { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize(self) -> ::std::result::Result< + crate::client::customize::CustomizableOperation, + ::aws_smithy_http::result::SdkError + >{ + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::list_function_event_invoke_configs::paginator::ListFunctionEventInvokeConfigsPaginator::send) which returns a `Stream`. diff --git a/sdk/lambda/src/operation/list_function_url_configs/builders.rs b/sdk/lambda/src/operation/list_function_url_configs/builders.rs index 1974c432400a..df61ff539174 100644 --- a/sdk/lambda/src/operation/list_function_url_configs/builders.rs +++ b/sdk/lambda/src/operation/list_function_url_configs/builders.rs @@ -20,9 +20,9 @@ impl ListFunctionUrlConfigsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -84,6 +84,22 @@ impl ListFunctionUrlConfigsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_function_url_configs::ListFunctionUrlConfigs, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::list_function_url_configs::ListFunctionUrlConfigsError, + >, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::list_function_url_configs::paginator::ListFunctionUrlConfigsPaginator::send) which returns a `Stream`. diff --git a/sdk/lambda/src/operation/list_functions/builders.rs b/sdk/lambda/src/operation/list_functions/builders.rs index 41b7e7d7b873..16204378f858 100644 --- a/sdk/lambda/src/operation/list_functions/builders.rs +++ b/sdk/lambda/src/operation/list_functions/builders.rs @@ -22,9 +22,9 @@ impl ListFunctionsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -80,6 +80,20 @@ impl ListFunctionsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_functions::ListFunctions, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::list_functions::paginator::ListFunctionsPaginator::send) which returns a `Stream`. diff --git a/sdk/lambda/src/operation/list_functions_by_code_signing_config/builders.rs b/sdk/lambda/src/operation/list_functions_by_code_signing_config/builders.rs index 850fe5701e90..ca2dd0c05239 100644 --- a/sdk/lambda/src/operation/list_functions_by_code_signing_config/builders.rs +++ b/sdk/lambda/src/operation/list_functions_by_code_signing_config/builders.rs @@ -19,9 +19,9 @@ impl ListFunctionsByCodeSigningConfigFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize(self) -> ::std::result::Result< + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware(self) -> ::std::result::Result< crate::client::customize::CustomizableOperation, ::aws_smithy_http::result::SdkError >{ @@ -64,6 +64,15 @@ impl ListFunctionsByCodeSigningConfigFluentBuilder { { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize(self) -> ::std::result::Result< + crate::client::customize::CustomizableOperation, + ::aws_smithy_http::result::SdkError + >{ + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::list_functions_by_code_signing_config::paginator::ListFunctionsByCodeSigningConfigPaginator::send) which returns a `Stream`. diff --git a/sdk/lambda/src/operation/list_layer_versions/builders.rs b/sdk/lambda/src/operation/list_layer_versions/builders.rs index 3cc4afc67ace..9122240cdeea 100644 --- a/sdk/lambda/src/operation/list_layer_versions/builders.rs +++ b/sdk/lambda/src/operation/list_layer_versions/builders.rs @@ -19,9 +19,9 @@ impl ListLayerVersionsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl ListLayerVersionsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_layer_versions::ListLayerVersions, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::list_layer_versions::ListLayerVersionsError, + >, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::list_layer_versions::paginator::ListLayerVersionsPaginator::send) which returns a `Stream`. diff --git a/sdk/lambda/src/operation/list_layers/builders.rs b/sdk/lambda/src/operation/list_layers/builders.rs index d44e5ec05c02..3e652f69885d 100644 --- a/sdk/lambda/src/operation/list_layers/builders.rs +++ b/sdk/lambda/src/operation/list_layers/builders.rs @@ -19,9 +19,9 @@ impl ListLayersFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl ListLayersFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_layers::ListLayers, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::list_layers::paginator::ListLayersPaginator::send) which returns a `Stream`. diff --git a/sdk/lambda/src/operation/list_provisioned_concurrency_configs/builders.rs b/sdk/lambda/src/operation/list_provisioned_concurrency_configs/builders.rs index f1e7a93f99d3..6641243a2b07 100644 --- a/sdk/lambda/src/operation/list_provisioned_concurrency_configs/builders.rs +++ b/sdk/lambda/src/operation/list_provisioned_concurrency_configs/builders.rs @@ -19,9 +19,9 @@ impl ListProvisionedConcurrencyConfigsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize(self) -> ::std::result::Result< + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware(self) -> ::std::result::Result< crate::client::customize::CustomizableOperation, ::aws_smithy_http::result::SdkError >{ @@ -64,6 +64,15 @@ impl ListProvisionedConcurrencyConfigsFluentBuilder { { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize(self) -> ::std::result::Result< + crate::client::customize::CustomizableOperation, + ::aws_smithy_http::result::SdkError + >{ + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::list_provisioned_concurrency_configs::paginator::ListProvisionedConcurrencyConfigsPaginator::send) which returns a `Stream`. diff --git a/sdk/lambda/src/operation/list_tags/builders.rs b/sdk/lambda/src/operation/list_tags/builders.rs index 6c8fb9a4420f..729012767979 100644 --- a/sdk/lambda/src/operation/list_tags/builders.rs +++ b/sdk/lambda/src/operation/list_tags/builders.rs @@ -19,9 +19,9 @@ impl ListTagsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl ListTagsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_tags::ListTags, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                                                                                                The function's Amazon Resource Name (ARN). Note: Lambda does not support adding tags to aliases or versions.

                                                                                                                                                pub fn resource(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.resource(input.into()); diff --git a/sdk/lambda/src/operation/list_versions_by_function/builders.rs b/sdk/lambda/src/operation/list_versions_by_function/builders.rs index 5bc2ce6aa848..6c8d56939f9c 100644 --- a/sdk/lambda/src/operation/list_versions_by_function/builders.rs +++ b/sdk/lambda/src/operation/list_versions_by_function/builders.rs @@ -20,9 +20,9 @@ impl ListVersionsByFunctionFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -84,6 +84,22 @@ impl ListVersionsByFunctionFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_versions_by_function::ListVersionsByFunction, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::list_versions_by_function::ListVersionsByFunctionError, + >, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::list_versions_by_function::paginator::ListVersionsByFunctionPaginator::send) which returns a `Stream`. diff --git a/sdk/lambda/src/operation/publish_layer_version/builders.rs b/sdk/lambda/src/operation/publish_layer_version/builders.rs index 68a11a5cd87a..e6a602dad5ba 100644 --- a/sdk/lambda/src/operation/publish_layer_version/builders.rs +++ b/sdk/lambda/src/operation/publish_layer_version/builders.rs @@ -20,9 +20,9 @@ impl PublishLayerVersionFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -84,6 +84,22 @@ impl PublishLayerVersionFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::publish_layer_version::PublishLayerVersion, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::publish_layer_version::PublishLayerVersionError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                The name or Amazon Resource Name (ARN) of the layer.

                                                                                                                                                pub fn layer_name(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.layer_name(input.into()); diff --git a/sdk/lambda/src/operation/publish_version/builders.rs b/sdk/lambda/src/operation/publish_version/builders.rs index 3476bde8fef9..c7bb13f811c5 100644 --- a/sdk/lambda/src/operation/publish_version/builders.rs +++ b/sdk/lambda/src/operation/publish_version/builders.rs @@ -21,9 +21,9 @@ impl PublishVersionFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -79,6 +79,20 @@ impl PublishVersionFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::publish_version::PublishVersion, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                                                                                                The name of the Lambda function.

                                                                                                                                                ///

                                                                                                                                                Name formats

                                                                                                                                                ///
                                                                                                                                                  diff --git a/sdk/lambda/src/operation/put_function_code_signing_config/builders.rs b/sdk/lambda/src/operation/put_function_code_signing_config/builders.rs index fa92414ae83c..7eae6cd1c599 100644 --- a/sdk/lambda/src/operation/put_function_code_signing_config/builders.rs +++ b/sdk/lambda/src/operation/put_function_code_signing_config/builders.rs @@ -19,9 +19,9 @@ impl PutFunctionCodeSigningConfigFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl PutFunctionCodeSigningConfigFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::put_function_code_signing_config::PutFunctionCodeSigningConfig, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::put_function_code_signing_config::PutFunctionCodeSigningConfigError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                  The The Amazon Resource Name (ARN) of the code signing configuration.

                                                                                                                                                  pub fn code_signing_config_arn( mut self, diff --git a/sdk/lambda/src/operation/put_function_concurrency/builders.rs b/sdk/lambda/src/operation/put_function_concurrency/builders.rs index 38cca658f816..3191f9efaf57 100644 --- a/sdk/lambda/src/operation/put_function_concurrency/builders.rs +++ b/sdk/lambda/src/operation/put_function_concurrency/builders.rs @@ -21,9 +21,9 @@ impl PutFunctionConcurrencyFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -85,6 +85,22 @@ impl PutFunctionConcurrencyFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::put_function_concurrency::PutFunctionConcurrency, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::put_function_concurrency::PutFunctionConcurrencyError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                  The name of the Lambda function.

                                                                                                                                                  ///

                                                                                                                                                  Name formats

                                                                                                                                                  ///
                                                                                                                                                    diff --git a/sdk/lambda/src/operation/put_function_event_invoke_config/builders.rs b/sdk/lambda/src/operation/put_function_event_invoke_config/builders.rs index 2286c55f64f6..10778da7327b 100644 --- a/sdk/lambda/src/operation/put_function_event_invoke_config/builders.rs +++ b/sdk/lambda/src/operation/put_function_event_invoke_config/builders.rs @@ -21,9 +21,9 @@ impl PutFunctionEventInvokeConfigFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -85,6 +85,22 @@ impl PutFunctionEventInvokeConfigFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::put_function_event_invoke_config::PutFunctionEventInvokeConfig, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::put_function_event_invoke_config::PutFunctionEventInvokeConfigError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                    The name of the Lambda function, version, or alias.

                                                                                                                                                    ///

                                                                                                                                                    Name formats

                                                                                                                                                    ///
                                                                                                                                                      diff --git a/sdk/lambda/src/operation/put_provisioned_concurrency_config/builders.rs b/sdk/lambda/src/operation/put_provisioned_concurrency_config/builders.rs index 05035eb28f07..65ddef2fcf81 100644 --- a/sdk/lambda/src/operation/put_provisioned_concurrency_config/builders.rs +++ b/sdk/lambda/src/operation/put_provisioned_concurrency_config/builders.rs @@ -19,9 +19,9 @@ impl PutProvisionedConcurrencyConfigFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize(self) -> ::std::result::Result< + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware(self) -> ::std::result::Result< crate::client::customize::CustomizableOperation, ::aws_smithy_http::result::SdkError >{ @@ -64,6 +64,15 @@ impl PutProvisionedConcurrencyConfigFluentBuilder { { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize(self) -> ::std::result::Result< + crate::client::customize::CustomizableOperation, + ::aws_smithy_http::result::SdkError + >{ + self.customize_middleware().await + } ///

                                                                                                                                                      The name of the Lambda function.

                                                                                                                                                      ///

                                                                                                                                                      Name formats

                                                                                                                                                      ///
                                                                                                                                                        diff --git a/sdk/lambda/src/operation/put_runtime_management_config/builders.rs b/sdk/lambda/src/operation/put_runtime_management_config/builders.rs index 4dd98c98fda0..bd156f6cc9db 100644 --- a/sdk/lambda/src/operation/put_runtime_management_config/builders.rs +++ b/sdk/lambda/src/operation/put_runtime_management_config/builders.rs @@ -19,9 +19,9 @@ impl PutRuntimeManagementConfigFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl PutRuntimeManagementConfigFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::put_runtime_management_config::PutRuntimeManagementConfig, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::put_runtime_management_config::PutRuntimeManagementConfigError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                        The name of the Lambda function.

                                                                                                                                                        ///

                                                                                                                                                        Name formats

                                                                                                                                                        ///
                                                                                                                                                          diff --git a/sdk/lambda/src/operation/remove_layer_version_permission/builders.rs b/sdk/lambda/src/operation/remove_layer_version_permission/builders.rs index 1e10ac671ae7..4ff559a8a89c 100644 --- a/sdk/lambda/src/operation/remove_layer_version_permission/builders.rs +++ b/sdk/lambda/src/operation/remove_layer_version_permission/builders.rs @@ -19,9 +19,9 @@ impl RemoveLayerVersionPermissionFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl RemoveLayerVersionPermissionFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::remove_layer_version_permission::RemoveLayerVersionPermission, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::remove_layer_version_permission::RemoveLayerVersionPermissionError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                          The name or Amazon Resource Name (ARN) of the layer.

                                                                                                                                                          pub fn layer_name(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.layer_name(input.into()); diff --git a/sdk/lambda/src/operation/remove_permission/builders.rs b/sdk/lambda/src/operation/remove_permission/builders.rs index 42eb7ab96ebb..e91427263cc9 100644 --- a/sdk/lambda/src/operation/remove_permission/builders.rs +++ b/sdk/lambda/src/operation/remove_permission/builders.rs @@ -19,9 +19,9 @@ impl RemovePermissionFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl RemovePermissionFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::remove_permission::RemovePermission, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::remove_permission::RemovePermissionError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                          The name of the Lambda function, version, or alias.

                                                                                                                                                          ///

                                                                                                                                                          Name formats

                                                                                                                                                          ///
                                                                                                                                                            diff --git a/sdk/lambda/src/operation/tag_resource/builders.rs b/sdk/lambda/src/operation/tag_resource/builders.rs index 85c622077ec4..389a1a3e7c3f 100644 --- a/sdk/lambda/src/operation/tag_resource/builders.rs +++ b/sdk/lambda/src/operation/tag_resource/builders.rs @@ -19,9 +19,9 @@ impl TagResourceFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl TagResourceFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::tag_resource::TagResource, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                                                                                                            The function's Amazon Resource Name (ARN).

                                                                                                                                                            pub fn resource(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.resource(input.into()); diff --git a/sdk/lambda/src/operation/untag_resource/builders.rs b/sdk/lambda/src/operation/untag_resource/builders.rs index 32e085ab3471..b0872b330ff1 100644 --- a/sdk/lambda/src/operation/untag_resource/builders.rs +++ b/sdk/lambda/src/operation/untag_resource/builders.rs @@ -19,9 +19,9 @@ impl UntagResourceFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl UntagResourceFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::untag_resource::UntagResource, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                                                                                                            The function's Amazon Resource Name (ARN).

                                                                                                                                                            pub fn resource(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.resource(input.into()); diff --git a/sdk/lambda/src/operation/update_alias/builders.rs b/sdk/lambda/src/operation/update_alias/builders.rs index df1ee05a5267..85ec99772ac0 100644 --- a/sdk/lambda/src/operation/update_alias/builders.rs +++ b/sdk/lambda/src/operation/update_alias/builders.rs @@ -19,9 +19,9 @@ impl UpdateAliasFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl UpdateAliasFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::update_alias::UpdateAlias, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                                                                                                            The name of the Lambda function.

                                                                                                                                                            ///

                                                                                                                                                            Name formats

                                                                                                                                                            ///
                                                                                                                                                              diff --git a/sdk/lambda/src/operation/update_code_signing_config/builders.rs b/sdk/lambda/src/operation/update_code_signing_config/builders.rs index 9382e16f8dff..117fa080f349 100644 --- a/sdk/lambda/src/operation/update_code_signing_config/builders.rs +++ b/sdk/lambda/src/operation/update_code_signing_config/builders.rs @@ -20,9 +20,9 @@ impl UpdateCodeSigningConfigFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -84,6 +84,22 @@ impl UpdateCodeSigningConfigFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::update_code_signing_config::UpdateCodeSigningConfig, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::update_code_signing_config::UpdateCodeSigningConfigError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                              The The Amazon Resource Name (ARN) of the code signing configuration.

                                                                                                                                                              pub fn code_signing_config_arn( mut self, diff --git a/sdk/lambda/src/operation/update_event_source_mapping/builders.rs b/sdk/lambda/src/operation/update_event_source_mapping/builders.rs index 2eab0f893d6b..78cdc2cb55d5 100644 --- a/sdk/lambda/src/operation/update_event_source_mapping/builders.rs +++ b/sdk/lambda/src/operation/update_event_source_mapping/builders.rs @@ -47,9 +47,9 @@ impl UpdateEventSourceMappingFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -111,6 +111,22 @@ impl UpdateEventSourceMappingFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::update_event_source_mapping::UpdateEventSourceMapping, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::update_event_source_mapping::UpdateEventSourceMappingError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                              The identifier of the event source mapping.

                                                                                                                                                              pub fn uuid(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.uuid(input.into()); diff --git a/sdk/lambda/src/operation/update_function_code/builders.rs b/sdk/lambda/src/operation/update_function_code/builders.rs index ae218773628c..1340253e9c09 100644 --- a/sdk/lambda/src/operation/update_function_code/builders.rs +++ b/sdk/lambda/src/operation/update_function_code/builders.rs @@ -25,9 +25,9 @@ impl UpdateFunctionCodeFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -89,6 +89,22 @@ impl UpdateFunctionCodeFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::update_function_code::UpdateFunctionCode, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::update_function_code::UpdateFunctionCodeError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                              The name of the Lambda function.

                                                                                                                                                              ///

                                                                                                                                                              Name formats

                                                                                                                                                              ///
                                                                                                                                                                diff --git a/sdk/lambda/src/operation/update_function_configuration/builders.rs b/sdk/lambda/src/operation/update_function_configuration/builders.rs index 954b4a46e6b3..13c83ebdd65f 100644 --- a/sdk/lambda/src/operation/update_function_configuration/builders.rs +++ b/sdk/lambda/src/operation/update_function_configuration/builders.rs @@ -22,9 +22,9 @@ impl UpdateFunctionConfigurationFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -86,6 +86,22 @@ impl UpdateFunctionConfigurationFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::update_function_configuration::UpdateFunctionConfiguration, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::update_function_configuration::UpdateFunctionConfigurationError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                The name of the Lambda function.

                                                                                                                                                                ///

                                                                                                                                                                Name formats

                                                                                                                                                                ///
                                                                                                                                                                  diff --git a/sdk/lambda/src/operation/update_function_event_invoke_config/builders.rs b/sdk/lambda/src/operation/update_function_event_invoke_config/builders.rs index e2738b31cc6f..90c7e590e8d6 100644 --- a/sdk/lambda/src/operation/update_function_event_invoke_config/builders.rs +++ b/sdk/lambda/src/operation/update_function_event_invoke_config/builders.rs @@ -20,9 +20,9 @@ impl UpdateFunctionEventInvokeConfigFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize(self) -> ::std::result::Result< + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware(self) -> ::std::result::Result< crate::client::customize::CustomizableOperation, ::aws_smithy_http::result::SdkError >{ @@ -65,6 +65,15 @@ impl UpdateFunctionEventInvokeConfigFluentBuilder { { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize(self) -> ::std::result::Result< + crate::client::customize::CustomizableOperation, + ::aws_smithy_http::result::SdkError + >{ + self.customize_middleware().await + } ///

                                                                                                                                                                  The name of the Lambda function, version, or alias.

                                                                                                                                                                  ///

                                                                                                                                                                  Name formats

                                                                                                                                                                  ///
                                                                                                                                                                    diff --git a/sdk/lambda/src/operation/update_function_url_config/builders.rs b/sdk/lambda/src/operation/update_function_url_config/builders.rs index 7ead591c8661..802b1c0b771a 100644 --- a/sdk/lambda/src/operation/update_function_url_config/builders.rs +++ b/sdk/lambda/src/operation/update_function_url_config/builders.rs @@ -20,9 +20,9 @@ impl UpdateFunctionUrlConfigFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -84,6 +84,22 @@ impl UpdateFunctionUrlConfigFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::update_function_url_config::UpdateFunctionUrlConfig, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::update_function_url_config::UpdateFunctionUrlConfigError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                    The name of the Lambda function.

                                                                                                                                                                    ///

                                                                                                                                                                    Name formats

                                                                                                                                                                    ///
                                                                                                                                                                      diff --git a/sdk/lexmodelbuilding/src/operation/create_bot_version/builders.rs b/sdk/lexmodelbuilding/src/operation/create_bot_version/builders.rs index c3caf0ab4b32..9be38aec26be 100644 --- a/sdk/lexmodelbuilding/src/operation/create_bot_version/builders.rs +++ b/sdk/lexmodelbuilding/src/operation/create_bot_version/builders.rs @@ -23,9 +23,9 @@ impl CreateBotVersionFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -87,6 +87,22 @@ impl CreateBotVersionFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::create_bot_version::CreateBotVersion, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::create_bot_version::CreateBotVersionError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                      The name of the bot that you want to create a new version of. The name is case sensitive.

                                                                                                                                                                      pub fn name(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.name(input.into()); diff --git a/sdk/lexmodelbuilding/src/operation/create_intent_version/builders.rs b/sdk/lexmodelbuilding/src/operation/create_intent_version/builders.rs index 74b29294cc6e..94a5595c729c 100644 --- a/sdk/lexmodelbuilding/src/operation/create_intent_version/builders.rs +++ b/sdk/lexmodelbuilding/src/operation/create_intent_version/builders.rs @@ -23,9 +23,9 @@ impl CreateIntentVersionFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -87,6 +87,22 @@ impl CreateIntentVersionFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::create_intent_version::CreateIntentVersion, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::create_intent_version::CreateIntentVersionError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                      The name of the intent that you want to create a new version of. The name is case sensitive.

                                                                                                                                                                      pub fn name(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.name(input.into()); diff --git a/sdk/lexmodelbuilding/src/operation/create_slot_type_version/builders.rs b/sdk/lexmodelbuilding/src/operation/create_slot_type_version/builders.rs index f4a1f7f4e265..18b7883d0ff9 100644 --- a/sdk/lexmodelbuilding/src/operation/create_slot_type_version/builders.rs +++ b/sdk/lexmodelbuilding/src/operation/create_slot_type_version/builders.rs @@ -23,9 +23,9 @@ impl CreateSlotTypeVersionFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -87,6 +87,22 @@ impl CreateSlotTypeVersionFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::create_slot_type_version::CreateSlotTypeVersion, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::create_slot_type_version::CreateSlotTypeVersionError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                      The name of the slot type that you want to create a new version for. The name is case sensitive.

                                                                                                                                                                      pub fn name(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.name(input.into()); diff --git a/sdk/lexmodelbuilding/src/operation/delete_bot/builders.rs b/sdk/lexmodelbuilding/src/operation/delete_bot/builders.rs index aecd5b06a90a..15d82e443e67 100644 --- a/sdk/lexmodelbuilding/src/operation/delete_bot/builders.rs +++ b/sdk/lexmodelbuilding/src/operation/delete_bot/builders.rs @@ -22,9 +22,9 @@ impl DeleteBotFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -80,6 +80,20 @@ impl DeleteBotFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::delete_bot::DeleteBot, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                      The name of the bot. The name is case sensitive.

                                                                                                                                                                      pub fn name(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.name(input.into()); diff --git a/sdk/lexmodelbuilding/src/operation/delete_bot_alias/builders.rs b/sdk/lexmodelbuilding/src/operation/delete_bot_alias/builders.rs index 90a548d8870c..0b3c9f584872 100644 --- a/sdk/lexmodelbuilding/src/operation/delete_bot_alias/builders.rs +++ b/sdk/lexmodelbuilding/src/operation/delete_bot_alias/builders.rs @@ -20,9 +20,9 @@ impl DeleteBotAliasFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -84,6 +84,22 @@ impl DeleteBotAliasFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::delete_bot_alias::DeleteBotAlias, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::delete_bot_alias::DeleteBotAliasError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                      The name of the alias to delete. The name is case sensitive.

                                                                                                                                                                      pub fn name(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.name(input.into()); diff --git a/sdk/lexmodelbuilding/src/operation/delete_bot_channel_association/builders.rs b/sdk/lexmodelbuilding/src/operation/delete_bot_channel_association/builders.rs index 9f0b88a19229..f232b39a8f09 100644 --- a/sdk/lexmodelbuilding/src/operation/delete_bot_channel_association/builders.rs +++ b/sdk/lexmodelbuilding/src/operation/delete_bot_channel_association/builders.rs @@ -20,9 +20,9 @@ impl DeleteBotChannelAssociationFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -84,6 +84,22 @@ impl DeleteBotChannelAssociationFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::delete_bot_channel_association::DeleteBotChannelAssociation, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::delete_bot_channel_association::DeleteBotChannelAssociationError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                      The name of the association. The name is case sensitive.

                                                                                                                                                                      pub fn name(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.name(input.into()); diff --git a/sdk/lexmodelbuilding/src/operation/delete_bot_version/builders.rs b/sdk/lexmodelbuilding/src/operation/delete_bot_version/builders.rs index 033b6317588e..43c809422b7c 100644 --- a/sdk/lexmodelbuilding/src/operation/delete_bot_version/builders.rs +++ b/sdk/lexmodelbuilding/src/operation/delete_bot_version/builders.rs @@ -20,9 +20,9 @@ impl DeleteBotVersionFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -84,6 +84,22 @@ impl DeleteBotVersionFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::delete_bot_version::DeleteBotVersion, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::delete_bot_version::DeleteBotVersionError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                      The name of the bot.

                                                                                                                                                                      pub fn name(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.name(input.into()); diff --git a/sdk/lexmodelbuilding/src/operation/delete_intent/builders.rs b/sdk/lexmodelbuilding/src/operation/delete_intent/builders.rs index e75648d7a880..6227739e8227 100644 --- a/sdk/lexmodelbuilding/src/operation/delete_intent/builders.rs +++ b/sdk/lexmodelbuilding/src/operation/delete_intent/builders.rs @@ -23,9 +23,9 @@ impl DeleteIntentFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -81,6 +81,20 @@ impl DeleteIntentFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::delete_intent::DeleteIntent, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                      The name of the intent. The name is case sensitive.

                                                                                                                                                                      pub fn name(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.name(input.into()); diff --git a/sdk/lexmodelbuilding/src/operation/delete_intent_version/builders.rs b/sdk/lexmodelbuilding/src/operation/delete_intent_version/builders.rs index 768d33d3d0ad..954282e7e223 100644 --- a/sdk/lexmodelbuilding/src/operation/delete_intent_version/builders.rs +++ b/sdk/lexmodelbuilding/src/operation/delete_intent_version/builders.rs @@ -20,9 +20,9 @@ impl DeleteIntentVersionFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -84,6 +84,22 @@ impl DeleteIntentVersionFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::delete_intent_version::DeleteIntentVersion, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::delete_intent_version::DeleteIntentVersionError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                      The name of the intent.

                                                                                                                                                                      pub fn name(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.name(input.into()); diff --git a/sdk/lexmodelbuilding/src/operation/delete_slot_type/builders.rs b/sdk/lexmodelbuilding/src/operation/delete_slot_type/builders.rs index b8998e1351aa..7d9ead54acbe 100644 --- a/sdk/lexmodelbuilding/src/operation/delete_slot_type/builders.rs +++ b/sdk/lexmodelbuilding/src/operation/delete_slot_type/builders.rs @@ -23,9 +23,9 @@ impl DeleteSlotTypeFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -87,6 +87,22 @@ impl DeleteSlotTypeFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::delete_slot_type::DeleteSlotType, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::delete_slot_type::DeleteSlotTypeError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                      The name of the slot type. The name is case sensitive.

                                                                                                                                                                      pub fn name(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.name(input.into()); diff --git a/sdk/lexmodelbuilding/src/operation/delete_slot_type_version/builders.rs b/sdk/lexmodelbuilding/src/operation/delete_slot_type_version/builders.rs index 9ebf8ba4b81e..16dae0095898 100644 --- a/sdk/lexmodelbuilding/src/operation/delete_slot_type_version/builders.rs +++ b/sdk/lexmodelbuilding/src/operation/delete_slot_type_version/builders.rs @@ -20,9 +20,9 @@ impl DeleteSlotTypeVersionFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -84,6 +84,22 @@ impl DeleteSlotTypeVersionFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::delete_slot_type_version::DeleteSlotTypeVersion, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::delete_slot_type_version::DeleteSlotTypeVersionError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                      The name of the slot type.

                                                                                                                                                                      pub fn name(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.name(input.into()); diff --git a/sdk/lexmodelbuilding/src/operation/delete_utterances/builders.rs b/sdk/lexmodelbuilding/src/operation/delete_utterances/builders.rs index 69c4d15d9ebb..1616525dff29 100644 --- a/sdk/lexmodelbuilding/src/operation/delete_utterances/builders.rs +++ b/sdk/lexmodelbuilding/src/operation/delete_utterances/builders.rs @@ -22,9 +22,9 @@ impl DeleteUtterancesFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -86,6 +86,22 @@ impl DeleteUtterancesFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::delete_utterances::DeleteUtterances, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::delete_utterances::DeleteUtterancesError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                      The name of the bot that stored the utterances.

                                                                                                                                                                      pub fn bot_name(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.bot_name(input.into()); diff --git a/sdk/lexmodelbuilding/src/operation/get_bot/builders.rs b/sdk/lexmodelbuilding/src/operation/get_bot/builders.rs index 98fa985eacde..29293afacc50 100644 --- a/sdk/lexmodelbuilding/src/operation/get_bot/builders.rs +++ b/sdk/lexmodelbuilding/src/operation/get_bot/builders.rs @@ -20,9 +20,9 @@ impl GetBotFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -78,6 +78,20 @@ impl GetBotFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::get_bot::GetBot, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                      The name of the bot. The name is case sensitive.

                                                                                                                                                                      pub fn name(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.name(input.into()); diff --git a/sdk/lexmodelbuilding/src/operation/get_bot_alias/builders.rs b/sdk/lexmodelbuilding/src/operation/get_bot_alias/builders.rs index 703f78214456..e5f6e273f357 100644 --- a/sdk/lexmodelbuilding/src/operation/get_bot_alias/builders.rs +++ b/sdk/lexmodelbuilding/src/operation/get_bot_alias/builders.rs @@ -20,9 +20,9 @@ impl GetBotAliasFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -78,6 +78,20 @@ impl GetBotAliasFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::get_bot_alias::GetBotAlias, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                      The name of the bot alias. The name is case sensitive.

                                                                                                                                                                      pub fn name(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.name(input.into()); diff --git a/sdk/lexmodelbuilding/src/operation/get_bot_aliases/builders.rs b/sdk/lexmodelbuilding/src/operation/get_bot_aliases/builders.rs index b0e9534c0f0e..87c85147225a 100644 --- a/sdk/lexmodelbuilding/src/operation/get_bot_aliases/builders.rs +++ b/sdk/lexmodelbuilding/src/operation/get_bot_aliases/builders.rs @@ -20,9 +20,9 @@ impl GetBotAliasesFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -78,6 +78,20 @@ impl GetBotAliasesFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::get_bot_aliases::GetBotAliases, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::get_bot_aliases::paginator::GetBotAliasesPaginator::send) which returns a `Stream`. diff --git a/sdk/lexmodelbuilding/src/operation/get_bot_channel_association/builders.rs b/sdk/lexmodelbuilding/src/operation/get_bot_channel_association/builders.rs index 199ce5ab0e7c..2633ca270a6e 100644 --- a/sdk/lexmodelbuilding/src/operation/get_bot_channel_association/builders.rs +++ b/sdk/lexmodelbuilding/src/operation/get_bot_channel_association/builders.rs @@ -20,9 +20,9 @@ impl GetBotChannelAssociationFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -84,6 +84,22 @@ impl GetBotChannelAssociationFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::get_bot_channel_association::GetBotChannelAssociation, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::get_bot_channel_association::GetBotChannelAssociationError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                      The name of the association between the bot and the channel. The name is case sensitive.

                                                                                                                                                                      pub fn name(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.name(input.into()); diff --git a/sdk/lexmodelbuilding/src/operation/get_bot_channel_associations/builders.rs b/sdk/lexmodelbuilding/src/operation/get_bot_channel_associations/builders.rs index ba105d035192..809b573047d5 100644 --- a/sdk/lexmodelbuilding/src/operation/get_bot_channel_associations/builders.rs +++ b/sdk/lexmodelbuilding/src/operation/get_bot_channel_associations/builders.rs @@ -20,9 +20,9 @@ impl GetBotChannelAssociationsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -84,6 +84,22 @@ impl GetBotChannelAssociationsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::get_bot_channel_associations::GetBotChannelAssociations, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::get_bot_channel_associations::GetBotChannelAssociationsError, + >, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::get_bot_channel_associations::paginator::GetBotChannelAssociationsPaginator::send) which returns a `Stream`. diff --git a/sdk/lexmodelbuilding/src/operation/get_bot_versions/builders.rs b/sdk/lexmodelbuilding/src/operation/get_bot_versions/builders.rs index 73e05bda9e7e..1d3205d73837 100644 --- a/sdk/lexmodelbuilding/src/operation/get_bot_versions/builders.rs +++ b/sdk/lexmodelbuilding/src/operation/get_bot_versions/builders.rs @@ -22,9 +22,9 @@ impl GetBotVersionsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -86,6 +86,22 @@ impl GetBotVersionsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::get_bot_versions::GetBotVersions, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::get_bot_versions::GetBotVersionsError, + >, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::get_bot_versions::paginator::GetBotVersionsPaginator::send) which returns a `Stream`. diff --git a/sdk/lexmodelbuilding/src/operation/get_bots/builders.rs b/sdk/lexmodelbuilding/src/operation/get_bots/builders.rs index 124c13621620..4ba3ba5c5c2a 100644 --- a/sdk/lexmodelbuilding/src/operation/get_bots/builders.rs +++ b/sdk/lexmodelbuilding/src/operation/get_bots/builders.rs @@ -24,9 +24,9 @@ impl GetBotsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -82,6 +82,20 @@ impl GetBotsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::get_bots::GetBots, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::get_bots::paginator::GetBotsPaginator::send) which returns a `Stream`. diff --git a/sdk/lexmodelbuilding/src/operation/get_builtin_intent/builders.rs b/sdk/lexmodelbuilding/src/operation/get_builtin_intent/builders.rs index 4ad32c661167..f7c0c7fa434c 100644 --- a/sdk/lexmodelbuilding/src/operation/get_builtin_intent/builders.rs +++ b/sdk/lexmodelbuilding/src/operation/get_builtin_intent/builders.rs @@ -20,9 +20,9 @@ impl GetBuiltinIntentFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -84,6 +84,22 @@ impl GetBuiltinIntentFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::get_builtin_intent::GetBuiltinIntent, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::get_builtin_intent::GetBuiltinIntentError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                      The unique identifier for a built-in intent. To find the signature for an intent, see Standard Built-in Intents in the Alexa Skills Kit.

                                                                                                                                                                      pub fn signature(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.signature(input.into()); diff --git a/sdk/lexmodelbuilding/src/operation/get_builtin_intents/builders.rs b/sdk/lexmodelbuilding/src/operation/get_builtin_intents/builders.rs index 596da1d2bdca..d21232262066 100644 --- a/sdk/lexmodelbuilding/src/operation/get_builtin_intents/builders.rs +++ b/sdk/lexmodelbuilding/src/operation/get_builtin_intents/builders.rs @@ -20,9 +20,9 @@ impl GetBuiltinIntentsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -84,6 +84,22 @@ impl GetBuiltinIntentsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::get_builtin_intents::GetBuiltinIntents, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::get_builtin_intents::GetBuiltinIntentsError, + >, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::get_builtin_intents::paginator::GetBuiltinIntentsPaginator::send) which returns a `Stream`. diff --git a/sdk/lexmodelbuilding/src/operation/get_builtin_slot_types/builders.rs b/sdk/lexmodelbuilding/src/operation/get_builtin_slot_types/builders.rs index 69c942d94755..ff98cbce8049 100644 --- a/sdk/lexmodelbuilding/src/operation/get_builtin_slot_types/builders.rs +++ b/sdk/lexmodelbuilding/src/operation/get_builtin_slot_types/builders.rs @@ -21,9 +21,9 @@ impl GetBuiltinSlotTypesFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -85,6 +85,22 @@ impl GetBuiltinSlotTypesFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::get_builtin_slot_types::GetBuiltinSlotTypes, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::get_builtin_slot_types::GetBuiltinSlotTypesError, + >, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::get_builtin_slot_types::paginator::GetBuiltinSlotTypesPaginator::send) which returns a `Stream`. diff --git a/sdk/lexmodelbuilding/src/operation/get_export/builders.rs b/sdk/lexmodelbuilding/src/operation/get_export/builders.rs index 06d2cc67be39..b3a9d06de1be 100644 --- a/sdk/lexmodelbuilding/src/operation/get_export/builders.rs +++ b/sdk/lexmodelbuilding/src/operation/get_export/builders.rs @@ -19,9 +19,9 @@ impl GetExportFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl GetExportFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::get_export::GetExport, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                      The name of the bot to export.

                                                                                                                                                                      pub fn name(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.name(input.into()); diff --git a/sdk/lexmodelbuilding/src/operation/get_import/builders.rs b/sdk/lexmodelbuilding/src/operation/get_import/builders.rs index af4de3a0efd5..c68be6e6a6eb 100644 --- a/sdk/lexmodelbuilding/src/operation/get_import/builders.rs +++ b/sdk/lexmodelbuilding/src/operation/get_import/builders.rs @@ -19,9 +19,9 @@ impl GetImportFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl GetImportFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::get_import::GetImport, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                      The identifier of the import job information to return.

                                                                                                                                                                      pub fn import_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.import_id(input.into()); diff --git a/sdk/lexmodelbuilding/src/operation/get_intent/builders.rs b/sdk/lexmodelbuilding/src/operation/get_intent/builders.rs index ffb11afb93fc..86181c4733fb 100644 --- a/sdk/lexmodelbuilding/src/operation/get_intent/builders.rs +++ b/sdk/lexmodelbuilding/src/operation/get_intent/builders.rs @@ -20,9 +20,9 @@ impl GetIntentFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -78,6 +78,20 @@ impl GetIntentFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::get_intent::GetIntent, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                      The name of the intent. The name is case sensitive.

                                                                                                                                                                      pub fn name(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.name(input.into()); diff --git a/sdk/lexmodelbuilding/src/operation/get_intent_versions/builders.rs b/sdk/lexmodelbuilding/src/operation/get_intent_versions/builders.rs index 1b1fb43882d7..b1e2a8bd8dab 100644 --- a/sdk/lexmodelbuilding/src/operation/get_intent_versions/builders.rs +++ b/sdk/lexmodelbuilding/src/operation/get_intent_versions/builders.rs @@ -22,9 +22,9 @@ impl GetIntentVersionsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -86,6 +86,22 @@ impl GetIntentVersionsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::get_intent_versions::GetIntentVersions, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::get_intent_versions::GetIntentVersionsError, + >, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::get_intent_versions::paginator::GetIntentVersionsPaginator::send) which returns a `Stream`. diff --git a/sdk/lexmodelbuilding/src/operation/get_intents/builders.rs b/sdk/lexmodelbuilding/src/operation/get_intents/builders.rs index a37e19363649..e3e1370cff89 100644 --- a/sdk/lexmodelbuilding/src/operation/get_intents/builders.rs +++ b/sdk/lexmodelbuilding/src/operation/get_intents/builders.rs @@ -24,9 +24,9 @@ impl GetIntentsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -82,6 +82,20 @@ impl GetIntentsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::get_intents::GetIntents, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::get_intents::paginator::GetIntentsPaginator::send) which returns a `Stream`. diff --git a/sdk/lexmodelbuilding/src/operation/get_migration/builders.rs b/sdk/lexmodelbuilding/src/operation/get_migration/builders.rs index 9188901d4302..b5c2c79a0bd8 100644 --- a/sdk/lexmodelbuilding/src/operation/get_migration/builders.rs +++ b/sdk/lexmodelbuilding/src/operation/get_migration/builders.rs @@ -19,9 +19,9 @@ impl GetMigrationFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl GetMigrationFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::get_migration::GetMigration, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                      The unique identifier of the migration to view. The migrationID is returned by the operation.

                                                                                                                                                                      pub fn migration_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.migration_id(input.into()); diff --git a/sdk/lexmodelbuilding/src/operation/get_migrations/builders.rs b/sdk/lexmodelbuilding/src/operation/get_migrations/builders.rs index 02b7bdc6072b..46ee057bc298 100644 --- a/sdk/lexmodelbuilding/src/operation/get_migrations/builders.rs +++ b/sdk/lexmodelbuilding/src/operation/get_migrations/builders.rs @@ -19,9 +19,9 @@ impl GetMigrationsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl GetMigrationsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::get_migrations::GetMigrations, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::get_migrations::paginator::GetMigrationsPaginator::send) which returns a `Stream`. diff --git a/sdk/lexmodelbuilding/src/operation/get_slot_type/builders.rs b/sdk/lexmodelbuilding/src/operation/get_slot_type/builders.rs index 8183d97d2f26..e9c61137a628 100644 --- a/sdk/lexmodelbuilding/src/operation/get_slot_type/builders.rs +++ b/sdk/lexmodelbuilding/src/operation/get_slot_type/builders.rs @@ -20,9 +20,9 @@ impl GetSlotTypeFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -78,6 +78,20 @@ impl GetSlotTypeFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::get_slot_type::GetSlotType, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                      The name of the slot type. The name is case sensitive.

                                                                                                                                                                      pub fn name(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.name(input.into()); diff --git a/sdk/lexmodelbuilding/src/operation/get_slot_type_versions/builders.rs b/sdk/lexmodelbuilding/src/operation/get_slot_type_versions/builders.rs index ae3459fc82f5..3b10e003f1d9 100644 --- a/sdk/lexmodelbuilding/src/operation/get_slot_type_versions/builders.rs +++ b/sdk/lexmodelbuilding/src/operation/get_slot_type_versions/builders.rs @@ -22,9 +22,9 @@ impl GetSlotTypeVersionsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -86,6 +86,22 @@ impl GetSlotTypeVersionsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::get_slot_type_versions::GetSlotTypeVersions, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::get_slot_type_versions::GetSlotTypeVersionsError, + >, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::get_slot_type_versions::paginator::GetSlotTypeVersionsPaginator::send) which returns a `Stream`. diff --git a/sdk/lexmodelbuilding/src/operation/get_slot_types/builders.rs b/sdk/lexmodelbuilding/src/operation/get_slot_types/builders.rs index 9578ca272b27..ac7b5cb1696f 100644 --- a/sdk/lexmodelbuilding/src/operation/get_slot_types/builders.rs +++ b/sdk/lexmodelbuilding/src/operation/get_slot_types/builders.rs @@ -24,9 +24,9 @@ impl GetSlotTypesFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -82,6 +82,20 @@ impl GetSlotTypesFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::get_slot_types::GetSlotTypes, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::get_slot_types::paginator::GetSlotTypesPaginator::send) which returns a `Stream`. diff --git a/sdk/lexmodelbuilding/src/operation/get_utterances_view/builders.rs b/sdk/lexmodelbuilding/src/operation/get_utterances_view/builders.rs index 879d3f880657..943144f104af 100644 --- a/sdk/lexmodelbuilding/src/operation/get_utterances_view/builders.rs +++ b/sdk/lexmodelbuilding/src/operation/get_utterances_view/builders.rs @@ -24,9 +24,9 @@ impl GetUtterancesViewFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -88,6 +88,22 @@ impl GetUtterancesViewFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::get_utterances_view::GetUtterancesView, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::get_utterances_view::GetUtterancesViewError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                      The name of the bot for which utterance information should be returned.

                                                                                                                                                                      pub fn bot_name(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.bot_name(input.into()); diff --git a/sdk/lexmodelbuilding/src/operation/list_tags_for_resource/builders.rs b/sdk/lexmodelbuilding/src/operation/list_tags_for_resource/builders.rs index 9162f8b7f51f..2e18bb7f41fc 100644 --- a/sdk/lexmodelbuilding/src/operation/list_tags_for_resource/builders.rs +++ b/sdk/lexmodelbuilding/src/operation/list_tags_for_resource/builders.rs @@ -19,9 +19,9 @@ impl ListTagsForResourceFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl ListTagsForResourceFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_tags_for_resource::ListTagsForResource, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::list_tags_for_resource::ListTagsForResourceError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                      The Amazon Resource Name (ARN) of the resource to get a list of tags for.

                                                                                                                                                                      pub fn resource_arn(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.resource_arn(input.into()); diff --git a/sdk/lexmodelbuilding/src/operation/put_bot/builders.rs b/sdk/lexmodelbuilding/src/operation/put_bot/builders.rs index 63abc70ff59d..a8cc07d1e99c 100644 --- a/sdk/lexmodelbuilding/src/operation/put_bot/builders.rs +++ b/sdk/lexmodelbuilding/src/operation/put_bot/builders.rs @@ -21,9 +21,9 @@ impl PutBotFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -79,6 +79,20 @@ impl PutBotFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::put_bot::PutBot, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                      The name of the bot. The name is not case sensitive.

                                                                                                                                                                      pub fn name(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.name(input.into()); diff --git a/sdk/lexmodelbuilding/src/operation/put_bot_alias/builders.rs b/sdk/lexmodelbuilding/src/operation/put_bot_alias/builders.rs index 4c792d50d9df..b50e245e1798 100644 --- a/sdk/lexmodelbuilding/src/operation/put_bot_alias/builders.rs +++ b/sdk/lexmodelbuilding/src/operation/put_bot_alias/builders.rs @@ -20,9 +20,9 @@ impl PutBotAliasFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -78,6 +78,20 @@ impl PutBotAliasFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::put_bot_alias::PutBotAlias, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                      The name of the alias. The name is not case sensitive.

                                                                                                                                                                      pub fn name(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.name(input.into()); diff --git a/sdk/lexmodelbuilding/src/operation/put_intent/builders.rs b/sdk/lexmodelbuilding/src/operation/put_intent/builders.rs index 1d7b0fa5a0e0..e3bf5d71355d 100644 --- a/sdk/lexmodelbuilding/src/operation/put_intent/builders.rs +++ b/sdk/lexmodelbuilding/src/operation/put_intent/builders.rs @@ -36,9 +36,9 @@ impl PutIntentFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -94,6 +94,20 @@ impl PutIntentFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::put_intent::PutIntent, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                      The name of the intent. The name is not case sensitive.

                                                                                                                                                                      ///

                                                                                                                                                                      The name can't match a built-in intent name, or a built-in intent name with "AMAZON." removed. For example, because there is a built-in intent called AMAZON.HelpIntent, you can't create a custom intent called HelpIntent.

                                                                                                                                                                      ///

                                                                                                                                                                      For a list of built-in intents, see Standard Built-in Intents in the Alexa Skills Kit.

                                                                                                                                                                      diff --git a/sdk/lexmodelbuilding/src/operation/put_slot_type/builders.rs b/sdk/lexmodelbuilding/src/operation/put_slot_type/builders.rs index 954b88e2fe09..b2f5b9bd1449 100644 --- a/sdk/lexmodelbuilding/src/operation/put_slot_type/builders.rs +++ b/sdk/lexmodelbuilding/src/operation/put_slot_type/builders.rs @@ -22,9 +22,9 @@ impl PutSlotTypeFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -80,6 +80,20 @@ impl PutSlotTypeFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::put_slot_type::PutSlotType, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                      The name of the slot type. The name is not case sensitive.

                                                                                                                                                                      ///

                                                                                                                                                                      The name can't match a built-in slot type name, or a built-in slot type name with "AMAZON." removed. For example, because there is a built-in slot type called AMAZON.DATE, you can't create a custom slot type called DATE.

                                                                                                                                                                      ///

                                                                                                                                                                      For a list of built-in slot types, see Slot Type Reference in the Alexa Skills Kit.

                                                                                                                                                                      diff --git a/sdk/lexmodelbuilding/src/operation/start_import/builders.rs b/sdk/lexmodelbuilding/src/operation/start_import/builders.rs index 038025134026..c6d351ca8997 100644 --- a/sdk/lexmodelbuilding/src/operation/start_import/builders.rs +++ b/sdk/lexmodelbuilding/src/operation/start_import/builders.rs @@ -19,9 +19,9 @@ impl StartImportFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl StartImportFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::start_import::StartImport, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                      A zip archive in binary format. The archive should contain one file, a JSON file containing the resource to import. The resource should match the type specified in the resourceType field.

                                                                                                                                                                      pub fn payload(mut self, input: ::aws_smithy_types::Blob) -> Self { self.inner = self.inner.payload(input); diff --git a/sdk/lexmodelbuilding/src/operation/start_migration/builders.rs b/sdk/lexmodelbuilding/src/operation/start_migration/builders.rs index 8a999959583a..c005e0d79552 100644 --- a/sdk/lexmodelbuilding/src/operation/start_migration/builders.rs +++ b/sdk/lexmodelbuilding/src/operation/start_migration/builders.rs @@ -20,9 +20,9 @@ impl StartMigrationFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -78,6 +78,20 @@ impl StartMigrationFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::start_migration::StartMigration, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                      The name of the Amazon Lex V1 bot that you are migrating to Amazon Lex V2.

                                                                                                                                                                      pub fn v1_bot_name(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.v1_bot_name(input.into()); diff --git a/sdk/lexmodelbuilding/src/operation/tag_resource/builders.rs b/sdk/lexmodelbuilding/src/operation/tag_resource/builders.rs index 5dcafdccb529..65e403a498e0 100644 --- a/sdk/lexmodelbuilding/src/operation/tag_resource/builders.rs +++ b/sdk/lexmodelbuilding/src/operation/tag_resource/builders.rs @@ -19,9 +19,9 @@ impl TagResourceFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl TagResourceFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::tag_resource::TagResource, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                      The Amazon Resource Name (ARN) of the bot, bot alias, or bot channel to tag.

                                                                                                                                                                      pub fn resource_arn(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.resource_arn(input.into()); diff --git a/sdk/lexmodelbuilding/src/operation/untag_resource/builders.rs b/sdk/lexmodelbuilding/src/operation/untag_resource/builders.rs index a18bc5c35e45..9301ea3f611b 100644 --- a/sdk/lexmodelbuilding/src/operation/untag_resource/builders.rs +++ b/sdk/lexmodelbuilding/src/operation/untag_resource/builders.rs @@ -19,9 +19,9 @@ impl UntagResourceFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl UntagResourceFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::untag_resource::UntagResource, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                      The Amazon Resource Name (ARN) of the resource to remove the tags from.

                                                                                                                                                                      pub fn resource_arn(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.resource_arn(input.into()); diff --git a/sdk/lexmodelsv2/src/operation/batch_create_custom_vocabulary_item/builders.rs b/sdk/lexmodelsv2/src/operation/batch_create_custom_vocabulary_item/builders.rs index 3bcb07e288f7..6c50eb3b78ef 100644 --- a/sdk/lexmodelsv2/src/operation/batch_create_custom_vocabulary_item/builders.rs +++ b/sdk/lexmodelsv2/src/operation/batch_create_custom_vocabulary_item/builders.rs @@ -19,9 +19,9 @@ impl BatchCreateCustomVocabularyItemFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize(self) -> ::std::result::Result< + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware(self) -> ::std::result::Result< crate::client::customize::CustomizableOperation, ::aws_smithy_http::result::SdkError >{ @@ -64,6 +64,15 @@ impl BatchCreateCustomVocabularyItemFluentBuilder { { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize(self) -> ::std::result::Result< + crate::client::customize::CustomizableOperation, + ::aws_smithy_http::result::SdkError + >{ + self.customize_middleware().await + } ///

                                                                                                                                                                      The identifier of the bot associated with this custom vocabulary.

                                                                                                                                                                      pub fn bot_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.bot_id(input.into()); diff --git a/sdk/lexmodelsv2/src/operation/batch_delete_custom_vocabulary_item/builders.rs b/sdk/lexmodelsv2/src/operation/batch_delete_custom_vocabulary_item/builders.rs index 05d6ee2c46ac..e2b488413600 100644 --- a/sdk/lexmodelsv2/src/operation/batch_delete_custom_vocabulary_item/builders.rs +++ b/sdk/lexmodelsv2/src/operation/batch_delete_custom_vocabulary_item/builders.rs @@ -19,9 +19,9 @@ impl BatchDeleteCustomVocabularyItemFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize(self) -> ::std::result::Result< + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware(self) -> ::std::result::Result< crate::client::customize::CustomizableOperation, ::aws_smithy_http::result::SdkError >{ @@ -64,6 +64,15 @@ impl BatchDeleteCustomVocabularyItemFluentBuilder { { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize(self) -> ::std::result::Result< + crate::client::customize::CustomizableOperation, + ::aws_smithy_http::result::SdkError + >{ + self.customize_middleware().await + } ///

                                                                                                                                                                      The identifier of the bot associated with this custom vocabulary.

                                                                                                                                                                      pub fn bot_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.bot_id(input.into()); diff --git a/sdk/lexmodelsv2/src/operation/batch_update_custom_vocabulary_item/builders.rs b/sdk/lexmodelsv2/src/operation/batch_update_custom_vocabulary_item/builders.rs index 71eaede1d64a..65ac6b7d0470 100644 --- a/sdk/lexmodelsv2/src/operation/batch_update_custom_vocabulary_item/builders.rs +++ b/sdk/lexmodelsv2/src/operation/batch_update_custom_vocabulary_item/builders.rs @@ -19,9 +19,9 @@ impl BatchUpdateCustomVocabularyItemFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize(self) -> ::std::result::Result< + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware(self) -> ::std::result::Result< crate::client::customize::CustomizableOperation, ::aws_smithy_http::result::SdkError >{ @@ -64,6 +64,15 @@ impl BatchUpdateCustomVocabularyItemFluentBuilder { { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize(self) -> ::std::result::Result< + crate::client::customize::CustomizableOperation, + ::aws_smithy_http::result::SdkError + >{ + self.customize_middleware().await + } ///

                                                                                                                                                                      The identifier of the bot associated with this custom vocabulary

                                                                                                                                                                      pub fn bot_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.bot_id(input.into()); diff --git a/sdk/lexmodelsv2/src/operation/build_bot_locale/builders.rs b/sdk/lexmodelsv2/src/operation/build_bot_locale/builders.rs index 50cda41d7dbe..afada3b7f273 100644 --- a/sdk/lexmodelsv2/src/operation/build_bot_locale/builders.rs +++ b/sdk/lexmodelsv2/src/operation/build_bot_locale/builders.rs @@ -19,9 +19,9 @@ impl BuildBotLocaleFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl BuildBotLocaleFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::build_bot_locale::BuildBotLocale, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::build_bot_locale::BuildBotLocaleError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                      The identifier of the bot to build. The identifier is returned in the response from the CreateBot operation.

                                                                                                                                                                      pub fn bot_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.bot_id(input.into()); diff --git a/sdk/lexmodelsv2/src/operation/create_bot/builders.rs b/sdk/lexmodelsv2/src/operation/create_bot/builders.rs index 9745f4132140..6940b5be8239 100644 --- a/sdk/lexmodelsv2/src/operation/create_bot/builders.rs +++ b/sdk/lexmodelsv2/src/operation/create_bot/builders.rs @@ -19,9 +19,9 @@ impl CreateBotFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl CreateBotFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::create_bot::CreateBot, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                      The name of the bot. The bot name must be unique in the account that creates the bot.

                                                                                                                                                                      pub fn bot_name(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.bot_name(input.into()); diff --git a/sdk/lexmodelsv2/src/operation/create_bot_alias/builders.rs b/sdk/lexmodelsv2/src/operation/create_bot_alias/builders.rs index c67c58d300ef..8f050d9b4778 100644 --- a/sdk/lexmodelsv2/src/operation/create_bot_alias/builders.rs +++ b/sdk/lexmodelsv2/src/operation/create_bot_alias/builders.rs @@ -20,9 +20,9 @@ impl CreateBotAliasFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -84,6 +84,22 @@ impl CreateBotAliasFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::create_bot_alias::CreateBotAlias, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::create_bot_alias::CreateBotAliasError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                      The alias to create. The name must be unique for the bot.

                                                                                                                                                                      pub fn bot_alias_name( mut self, diff --git a/sdk/lexmodelsv2/src/operation/create_bot_locale/builders.rs b/sdk/lexmodelsv2/src/operation/create_bot_locale/builders.rs index 6e71f31cc731..2728ad06cd5f 100644 --- a/sdk/lexmodelsv2/src/operation/create_bot_locale/builders.rs +++ b/sdk/lexmodelsv2/src/operation/create_bot_locale/builders.rs @@ -19,9 +19,9 @@ impl CreateBotLocaleFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl CreateBotLocaleFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::create_bot_locale::CreateBotLocale, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::create_bot_locale::CreateBotLocaleError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                      The identifier of the bot to create the locale for.

                                                                                                                                                                      pub fn bot_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.bot_id(input.into()); diff --git a/sdk/lexmodelsv2/src/operation/create_bot_version/builders.rs b/sdk/lexmodelsv2/src/operation/create_bot_version/builders.rs index df885f3794ed..dbfad3f033dd 100644 --- a/sdk/lexmodelsv2/src/operation/create_bot_version/builders.rs +++ b/sdk/lexmodelsv2/src/operation/create_bot_version/builders.rs @@ -20,9 +20,9 @@ impl CreateBotVersionFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -84,6 +84,22 @@ impl CreateBotVersionFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::create_bot_version::CreateBotVersion, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::create_bot_version::CreateBotVersionError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                      The identifier of the bot to create the version for.

                                                                                                                                                                      pub fn bot_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.bot_id(input.into()); diff --git a/sdk/lexmodelsv2/src/operation/create_export/builders.rs b/sdk/lexmodelsv2/src/operation/create_export/builders.rs index f363be3eee96..7c611657ba65 100644 --- a/sdk/lexmodelsv2/src/operation/create_export/builders.rs +++ b/sdk/lexmodelsv2/src/operation/create_export/builders.rs @@ -21,9 +21,9 @@ impl CreateExportFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -79,6 +79,20 @@ impl CreateExportFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::create_export::CreateExport, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                      Specifies the type of resource to export, either a bot or a bot locale. You can only specify one type of resource to export.

                                                                                                                                                                      pub fn resource_specification( mut self, diff --git a/sdk/lexmodelsv2/src/operation/create_intent/builders.rs b/sdk/lexmodelsv2/src/operation/create_intent/builders.rs index 6f783ce2e1cc..33df619e1626 100644 --- a/sdk/lexmodelsv2/src/operation/create_intent/builders.rs +++ b/sdk/lexmodelsv2/src/operation/create_intent/builders.rs @@ -29,9 +29,9 @@ impl CreateIntentFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -87,6 +87,20 @@ impl CreateIntentFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::create_intent::CreateIntent, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                      The name of the intent. Intent names must be unique in the locale that contains the intent and cannot match the name of any built-in intent.

                                                                                                                                                                      pub fn intent_name(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.intent_name(input.into()); diff --git a/sdk/lexmodelsv2/src/operation/create_resource_policy/builders.rs b/sdk/lexmodelsv2/src/operation/create_resource_policy/builders.rs index fd76756c7613..8072e705a201 100644 --- a/sdk/lexmodelsv2/src/operation/create_resource_policy/builders.rs +++ b/sdk/lexmodelsv2/src/operation/create_resource_policy/builders.rs @@ -19,9 +19,9 @@ impl CreateResourcePolicyFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl CreateResourcePolicyFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::create_resource_policy::CreateResourcePolicy, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::create_resource_policy::CreateResourcePolicyError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                      The Amazon Resource Name (ARN) of the bot or bot alias that the resource policy is attached to.

                                                                                                                                                                      pub fn resource_arn(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.resource_arn(input.into()); diff --git a/sdk/lexmodelsv2/src/operation/create_resource_policy_statement/builders.rs b/sdk/lexmodelsv2/src/operation/create_resource_policy_statement/builders.rs index 116d77d0e1e2..f8d784dbdff6 100644 --- a/sdk/lexmodelsv2/src/operation/create_resource_policy_statement/builders.rs +++ b/sdk/lexmodelsv2/src/operation/create_resource_policy_statement/builders.rs @@ -20,9 +20,9 @@ impl CreateResourcePolicyStatementFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -84,6 +84,22 @@ impl CreateResourcePolicyStatementFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::create_resource_policy_statement::CreateResourcePolicyStatement, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::create_resource_policy_statement::CreateResourcePolicyStatementError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                      The Amazon Resource Name (ARN) of the bot or bot alias that the resource policy is attached to.

                                                                                                                                                                      pub fn resource_arn(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.resource_arn(input.into()); diff --git a/sdk/lexmodelsv2/src/operation/create_slot/builders.rs b/sdk/lexmodelsv2/src/operation/create_slot/builders.rs index 8e0ee417a621..b6ffdc79b4f0 100644 --- a/sdk/lexmodelsv2/src/operation/create_slot/builders.rs +++ b/sdk/lexmodelsv2/src/operation/create_slot/builders.rs @@ -19,9 +19,9 @@ impl CreateSlotFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl CreateSlotFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::create_slot::CreateSlot, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                      The name of the slot. Slot names must be unique within the bot that contains the slot.

                                                                                                                                                                      pub fn slot_name(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.slot_name(input.into()); diff --git a/sdk/lexmodelsv2/src/operation/create_slot_type/builders.rs b/sdk/lexmodelsv2/src/operation/create_slot_type/builders.rs index 3e5d396389fe..6c6ec9e44d2d 100644 --- a/sdk/lexmodelsv2/src/operation/create_slot_type/builders.rs +++ b/sdk/lexmodelsv2/src/operation/create_slot_type/builders.rs @@ -20,9 +20,9 @@ impl CreateSlotTypeFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -84,6 +84,22 @@ impl CreateSlotTypeFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::create_slot_type::CreateSlotType, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::create_slot_type::CreateSlotTypeError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                      The name for the slot. A slot type name must be unique within the account.

                                                                                                                                                                      pub fn slot_type_name( mut self, diff --git a/sdk/lexmodelsv2/src/operation/create_upload_url/builders.rs b/sdk/lexmodelsv2/src/operation/create_upload_url/builders.rs index 98ead12d2515..89326d7cb245 100644 --- a/sdk/lexmodelsv2/src/operation/create_upload_url/builders.rs +++ b/sdk/lexmodelsv2/src/operation/create_upload_url/builders.rs @@ -19,9 +19,9 @@ impl CreateUploadUrlFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,4 +83,20 @@ impl CreateUploadUrlFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::create_upload_url::CreateUploadUrl, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::create_upload_url::CreateUploadUrlError, + >, + > { + self.customize_middleware().await + } } diff --git a/sdk/lexmodelsv2/src/operation/delete_bot/builders.rs b/sdk/lexmodelsv2/src/operation/delete_bot/builders.rs index 62546b4aff02..d9a1798802e5 100644 --- a/sdk/lexmodelsv2/src/operation/delete_bot/builders.rs +++ b/sdk/lexmodelsv2/src/operation/delete_bot/builders.rs @@ -21,9 +21,9 @@ impl DeleteBotFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -79,6 +79,20 @@ impl DeleteBotFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::delete_bot::DeleteBot, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                      The identifier of the bot to delete.

                                                                                                                                                                      pub fn bot_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.bot_id(input.into()); diff --git a/sdk/lexmodelsv2/src/operation/delete_bot_alias/builders.rs b/sdk/lexmodelsv2/src/operation/delete_bot_alias/builders.rs index dc6fb0ac07f4..2aede038947f 100644 --- a/sdk/lexmodelsv2/src/operation/delete_bot_alias/builders.rs +++ b/sdk/lexmodelsv2/src/operation/delete_bot_alias/builders.rs @@ -19,9 +19,9 @@ impl DeleteBotAliasFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl DeleteBotAliasFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::delete_bot_alias::DeleteBotAlias, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::delete_bot_alias::DeleteBotAliasError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                      The unique identifier of the bot alias to delete.

                                                                                                                                                                      pub fn bot_alias_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.bot_alias_id(input.into()); diff --git a/sdk/lexmodelsv2/src/operation/delete_bot_locale/builders.rs b/sdk/lexmodelsv2/src/operation/delete_bot_locale/builders.rs index c1bb472777cb..695c15383d85 100644 --- a/sdk/lexmodelsv2/src/operation/delete_bot_locale/builders.rs +++ b/sdk/lexmodelsv2/src/operation/delete_bot_locale/builders.rs @@ -20,9 +20,9 @@ impl DeleteBotLocaleFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -84,6 +84,22 @@ impl DeleteBotLocaleFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::delete_bot_locale::DeleteBotLocale, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::delete_bot_locale::DeleteBotLocaleError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                      The unique identifier of the bot that contains the locale.

                                                                                                                                                                      pub fn bot_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.bot_id(input.into()); diff --git a/sdk/lexmodelsv2/src/operation/delete_bot_version/builders.rs b/sdk/lexmodelsv2/src/operation/delete_bot_version/builders.rs index 43ea6e018ca9..74a5d6a27e77 100644 --- a/sdk/lexmodelsv2/src/operation/delete_bot_version/builders.rs +++ b/sdk/lexmodelsv2/src/operation/delete_bot_version/builders.rs @@ -19,9 +19,9 @@ impl DeleteBotVersionFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl DeleteBotVersionFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::delete_bot_version::DeleteBotVersion, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::delete_bot_version::DeleteBotVersionError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                      The identifier of the bot that contains the version.

                                                                                                                                                                      pub fn bot_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.bot_id(input.into()); diff --git a/sdk/lexmodelsv2/src/operation/delete_custom_vocabulary/builders.rs b/sdk/lexmodelsv2/src/operation/delete_custom_vocabulary/builders.rs index 4ac73aae9847..157bb4361313 100644 --- a/sdk/lexmodelsv2/src/operation/delete_custom_vocabulary/builders.rs +++ b/sdk/lexmodelsv2/src/operation/delete_custom_vocabulary/builders.rs @@ -19,9 +19,9 @@ impl DeleteCustomVocabularyFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl DeleteCustomVocabularyFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::delete_custom_vocabulary::DeleteCustomVocabulary, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::delete_custom_vocabulary::DeleteCustomVocabularyError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                      The unique identifier of the bot to remove the custom vocabulary from.

                                                                                                                                                                      pub fn bot_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.bot_id(input.into()); diff --git a/sdk/lexmodelsv2/src/operation/delete_export/builders.rs b/sdk/lexmodelsv2/src/operation/delete_export/builders.rs index ec88c8aab2ff..f3b887b02d0d 100644 --- a/sdk/lexmodelsv2/src/operation/delete_export/builders.rs +++ b/sdk/lexmodelsv2/src/operation/delete_export/builders.rs @@ -19,9 +19,9 @@ impl DeleteExportFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl DeleteExportFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::delete_export::DeleteExport, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                      The unique identifier of the export to delete.

                                                                                                                                                                      pub fn export_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.export_id(input.into()); diff --git a/sdk/lexmodelsv2/src/operation/delete_import/builders.rs b/sdk/lexmodelsv2/src/operation/delete_import/builders.rs index de7cb736cb34..a2bfb44c16af 100644 --- a/sdk/lexmodelsv2/src/operation/delete_import/builders.rs +++ b/sdk/lexmodelsv2/src/operation/delete_import/builders.rs @@ -19,9 +19,9 @@ impl DeleteImportFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl DeleteImportFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::delete_import::DeleteImport, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                      The unique identifier of the import to delete.

                                                                                                                                                                      pub fn import_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.import_id(input.into()); diff --git a/sdk/lexmodelsv2/src/operation/delete_intent/builders.rs b/sdk/lexmodelsv2/src/operation/delete_intent/builders.rs index aaf2aaf16aaf..b7e1f931fa1b 100644 --- a/sdk/lexmodelsv2/src/operation/delete_intent/builders.rs +++ b/sdk/lexmodelsv2/src/operation/delete_intent/builders.rs @@ -20,9 +20,9 @@ impl DeleteIntentFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -78,6 +78,20 @@ impl DeleteIntentFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::delete_intent::DeleteIntent, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                      The unique identifier of the intent to delete.

                                                                                                                                                                      pub fn intent_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.intent_id(input.into()); diff --git a/sdk/lexmodelsv2/src/operation/delete_resource_policy/builders.rs b/sdk/lexmodelsv2/src/operation/delete_resource_policy/builders.rs index 9d43d4aeb913..7911b0fd65e2 100644 --- a/sdk/lexmodelsv2/src/operation/delete_resource_policy/builders.rs +++ b/sdk/lexmodelsv2/src/operation/delete_resource_policy/builders.rs @@ -19,9 +19,9 @@ impl DeleteResourcePolicyFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl DeleteResourcePolicyFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::delete_resource_policy::DeleteResourcePolicy, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::delete_resource_policy::DeleteResourcePolicyError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                      The Amazon Resource Name (ARN) of the bot or bot alias that has the resource policy attached.

                                                                                                                                                                      pub fn resource_arn(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.resource_arn(input.into()); diff --git a/sdk/lexmodelsv2/src/operation/delete_resource_policy_statement/builders.rs b/sdk/lexmodelsv2/src/operation/delete_resource_policy_statement/builders.rs index 8f8a1769364e..47aeffa5a21f 100644 --- a/sdk/lexmodelsv2/src/operation/delete_resource_policy_statement/builders.rs +++ b/sdk/lexmodelsv2/src/operation/delete_resource_policy_statement/builders.rs @@ -19,9 +19,9 @@ impl DeleteResourcePolicyStatementFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl DeleteResourcePolicyStatementFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::delete_resource_policy_statement::DeleteResourcePolicyStatement, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::delete_resource_policy_statement::DeleteResourcePolicyStatementError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                      The Amazon Resource Name (ARN) of the bot or bot alias that the resource policy is attached to.

                                                                                                                                                                      pub fn resource_arn(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.resource_arn(input.into()); diff --git a/sdk/lexmodelsv2/src/operation/delete_slot/builders.rs b/sdk/lexmodelsv2/src/operation/delete_slot/builders.rs index c16a95e98891..f57825cfa722 100644 --- a/sdk/lexmodelsv2/src/operation/delete_slot/builders.rs +++ b/sdk/lexmodelsv2/src/operation/delete_slot/builders.rs @@ -19,9 +19,9 @@ impl DeleteSlotFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl DeleteSlotFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::delete_slot::DeleteSlot, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                      The identifier of the slot to delete.

                                                                                                                                                                      pub fn slot_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.slot_id(input.into()); diff --git a/sdk/lexmodelsv2/src/operation/delete_slot_type/builders.rs b/sdk/lexmodelsv2/src/operation/delete_slot_type/builders.rs index 2e57eab40a8d..fb697f4f3116 100644 --- a/sdk/lexmodelsv2/src/operation/delete_slot_type/builders.rs +++ b/sdk/lexmodelsv2/src/operation/delete_slot_type/builders.rs @@ -20,9 +20,9 @@ impl DeleteSlotTypeFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -84,6 +84,22 @@ impl DeleteSlotTypeFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::delete_slot_type::DeleteSlotType, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::delete_slot_type::DeleteSlotTypeError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                      The identifier of the slot type to delete.

                                                                                                                                                                      pub fn slot_type_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.slot_type_id(input.into()); diff --git a/sdk/lexmodelsv2/src/operation/delete_utterances/builders.rs b/sdk/lexmodelsv2/src/operation/delete_utterances/builders.rs index 5a43562819ad..74b0311e610c 100644 --- a/sdk/lexmodelsv2/src/operation/delete_utterances/builders.rs +++ b/sdk/lexmodelsv2/src/operation/delete_utterances/builders.rs @@ -21,9 +21,9 @@ impl DeleteUtterancesFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -85,6 +85,22 @@ impl DeleteUtterancesFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::delete_utterances::DeleteUtterances, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::delete_utterances::DeleteUtterancesError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                      The unique identifier of the bot that contains the utterances.

                                                                                                                                                                      pub fn bot_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.bot_id(input.into()); diff --git a/sdk/lexmodelsv2/src/operation/describe_bot/builders.rs b/sdk/lexmodelsv2/src/operation/describe_bot/builders.rs index edd384618fd1..25eda3a3c0bc 100644 --- a/sdk/lexmodelsv2/src/operation/describe_bot/builders.rs +++ b/sdk/lexmodelsv2/src/operation/describe_bot/builders.rs @@ -19,9 +19,9 @@ impl DescribeBotFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl DescribeBotFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::describe_bot::DescribeBot, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                      The unique identifier of the bot to describe.

                                                                                                                                                                      pub fn bot_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.bot_id(input.into()); diff --git a/sdk/lexmodelsv2/src/operation/describe_bot_alias/builders.rs b/sdk/lexmodelsv2/src/operation/describe_bot_alias/builders.rs index f710dea2b1ec..7e3fa6da320f 100644 --- a/sdk/lexmodelsv2/src/operation/describe_bot_alias/builders.rs +++ b/sdk/lexmodelsv2/src/operation/describe_bot_alias/builders.rs @@ -19,9 +19,9 @@ impl DescribeBotAliasFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl DescribeBotAliasFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::describe_bot_alias::DescribeBotAlias, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::describe_bot_alias::DescribeBotAliasError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                      The identifier of the bot alias to describe.

                                                                                                                                                                      pub fn bot_alias_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.bot_alias_id(input.into()); diff --git a/sdk/lexmodelsv2/src/operation/describe_bot_locale/builders.rs b/sdk/lexmodelsv2/src/operation/describe_bot_locale/builders.rs index 7280d00e2d7d..c6ea95c11d49 100644 --- a/sdk/lexmodelsv2/src/operation/describe_bot_locale/builders.rs +++ b/sdk/lexmodelsv2/src/operation/describe_bot_locale/builders.rs @@ -19,9 +19,9 @@ impl DescribeBotLocaleFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl DescribeBotLocaleFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::describe_bot_locale::DescribeBotLocale, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::describe_bot_locale::DescribeBotLocaleError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                      The identifier of the bot associated with the locale.

                                                                                                                                                                      pub fn bot_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.bot_id(input.into()); diff --git a/sdk/lexmodelsv2/src/operation/describe_bot_recommendation/builders.rs b/sdk/lexmodelsv2/src/operation/describe_bot_recommendation/builders.rs index 511a1b629a9b..31e122b8b42c 100644 --- a/sdk/lexmodelsv2/src/operation/describe_bot_recommendation/builders.rs +++ b/sdk/lexmodelsv2/src/operation/describe_bot_recommendation/builders.rs @@ -19,9 +19,9 @@ impl DescribeBotRecommendationFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl DescribeBotRecommendationFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::describe_bot_recommendation::DescribeBotRecommendation, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::describe_bot_recommendation::DescribeBotRecommendationError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                      The unique identifier of the bot associated with the bot recommendation.

                                                                                                                                                                      pub fn bot_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.bot_id(input.into()); diff --git a/sdk/lexmodelsv2/src/operation/describe_bot_version/builders.rs b/sdk/lexmodelsv2/src/operation/describe_bot_version/builders.rs index 5ebe856a84bb..15a3f65fe669 100644 --- a/sdk/lexmodelsv2/src/operation/describe_bot_version/builders.rs +++ b/sdk/lexmodelsv2/src/operation/describe_bot_version/builders.rs @@ -19,9 +19,9 @@ impl DescribeBotVersionFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl DescribeBotVersionFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::describe_bot_version::DescribeBotVersion, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::describe_bot_version::DescribeBotVersionError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                      The identifier of the bot containing the version to return metadata for.

                                                                                                                                                                      pub fn bot_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.bot_id(input.into()); diff --git a/sdk/lexmodelsv2/src/operation/describe_custom_vocabulary_metadata/builders.rs b/sdk/lexmodelsv2/src/operation/describe_custom_vocabulary_metadata/builders.rs index c114d10135ad..b3cfa18f873b 100644 --- a/sdk/lexmodelsv2/src/operation/describe_custom_vocabulary_metadata/builders.rs +++ b/sdk/lexmodelsv2/src/operation/describe_custom_vocabulary_metadata/builders.rs @@ -19,9 +19,9 @@ impl DescribeCustomVocabularyMetadataFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize(self) -> ::std::result::Result< + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware(self) -> ::std::result::Result< crate::client::customize::CustomizableOperation, ::aws_smithy_http::result::SdkError >{ @@ -64,6 +64,15 @@ impl DescribeCustomVocabularyMetadataFluentBuilder { { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize(self) -> ::std::result::Result< + crate::client::customize::CustomizableOperation, + ::aws_smithy_http::result::SdkError + >{ + self.customize_middleware().await + } ///

                                                                                                                                                                      The unique identifier of the bot that contains the custom vocabulary.

                                                                                                                                                                      pub fn bot_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.bot_id(input.into()); diff --git a/sdk/lexmodelsv2/src/operation/describe_export/builders.rs b/sdk/lexmodelsv2/src/operation/describe_export/builders.rs index f357726702eb..71cf5d34645d 100644 --- a/sdk/lexmodelsv2/src/operation/describe_export/builders.rs +++ b/sdk/lexmodelsv2/src/operation/describe_export/builders.rs @@ -19,9 +19,9 @@ impl DescribeExportFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl DescribeExportFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::describe_export::DescribeExport, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                      The unique identifier of the export to describe.

                                                                                                                                                                      pub fn export_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.export_id(input.into()); diff --git a/sdk/lexmodelsv2/src/operation/describe_import/builders.rs b/sdk/lexmodelsv2/src/operation/describe_import/builders.rs index f455fa2b1d45..32f49b3b8a1f 100644 --- a/sdk/lexmodelsv2/src/operation/describe_import/builders.rs +++ b/sdk/lexmodelsv2/src/operation/describe_import/builders.rs @@ -19,9 +19,9 @@ impl DescribeImportFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl DescribeImportFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::describe_import::DescribeImport, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                      The unique identifier of the import to describe.

                                                                                                                                                                      pub fn import_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.import_id(input.into()); diff --git a/sdk/lexmodelsv2/src/operation/describe_intent/builders.rs b/sdk/lexmodelsv2/src/operation/describe_intent/builders.rs index e89fc171e9c2..595d9a27d4bb 100644 --- a/sdk/lexmodelsv2/src/operation/describe_intent/builders.rs +++ b/sdk/lexmodelsv2/src/operation/describe_intent/builders.rs @@ -19,9 +19,9 @@ impl DescribeIntentFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl DescribeIntentFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::describe_intent::DescribeIntent, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                      The identifier of the intent to describe.

                                                                                                                                                                      pub fn intent_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.intent_id(input.into()); diff --git a/sdk/lexmodelsv2/src/operation/describe_resource_policy/builders.rs b/sdk/lexmodelsv2/src/operation/describe_resource_policy/builders.rs index 1b3f222141a4..53f529fc7f06 100644 --- a/sdk/lexmodelsv2/src/operation/describe_resource_policy/builders.rs +++ b/sdk/lexmodelsv2/src/operation/describe_resource_policy/builders.rs @@ -19,9 +19,9 @@ impl DescribeResourcePolicyFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl DescribeResourcePolicyFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::describe_resource_policy::DescribeResourcePolicy, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::describe_resource_policy::DescribeResourcePolicyError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                      The Amazon Resource Name (ARN) of the bot or bot alias that the resource policy is attached to.

                                                                                                                                                                      pub fn resource_arn(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.resource_arn(input.into()); diff --git a/sdk/lexmodelsv2/src/operation/describe_slot/builders.rs b/sdk/lexmodelsv2/src/operation/describe_slot/builders.rs index 7a3a114d22d9..f98284a09aa1 100644 --- a/sdk/lexmodelsv2/src/operation/describe_slot/builders.rs +++ b/sdk/lexmodelsv2/src/operation/describe_slot/builders.rs @@ -19,9 +19,9 @@ impl DescribeSlotFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl DescribeSlotFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::describe_slot::DescribeSlot, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                      The unique identifier for the slot.

                                                                                                                                                                      pub fn slot_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.slot_id(input.into()); diff --git a/sdk/lexmodelsv2/src/operation/describe_slot_type/builders.rs b/sdk/lexmodelsv2/src/operation/describe_slot_type/builders.rs index 5428391afa58..19d4b34f7ebb 100644 --- a/sdk/lexmodelsv2/src/operation/describe_slot_type/builders.rs +++ b/sdk/lexmodelsv2/src/operation/describe_slot_type/builders.rs @@ -19,9 +19,9 @@ impl DescribeSlotTypeFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl DescribeSlotTypeFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::describe_slot_type::DescribeSlotType, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::describe_slot_type::DescribeSlotTypeError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                      The identifier of the slot type.

                                                                                                                                                                      pub fn slot_type_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.slot_type_id(input.into()); diff --git a/sdk/lexmodelsv2/src/operation/list_aggregated_utterances/builders.rs b/sdk/lexmodelsv2/src/operation/list_aggregated_utterances/builders.rs index 1faca1dda31a..553bbf3aa735 100644 --- a/sdk/lexmodelsv2/src/operation/list_aggregated_utterances/builders.rs +++ b/sdk/lexmodelsv2/src/operation/list_aggregated_utterances/builders.rs @@ -28,9 +28,9 @@ impl ListAggregatedUtterancesFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -92,6 +92,22 @@ impl ListAggregatedUtterancesFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_aggregated_utterances::ListAggregatedUtterances, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::list_aggregated_utterances::ListAggregatedUtterancesError, + >, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::list_aggregated_utterances::paginator::ListAggregatedUtterancesPaginator::send) which returns a `Stream`. diff --git a/sdk/lexmodelsv2/src/operation/list_bot_aliases/builders.rs b/sdk/lexmodelsv2/src/operation/list_bot_aliases/builders.rs index d8f10d27a40c..db52b85d7733 100644 --- a/sdk/lexmodelsv2/src/operation/list_bot_aliases/builders.rs +++ b/sdk/lexmodelsv2/src/operation/list_bot_aliases/builders.rs @@ -19,9 +19,9 @@ impl ListBotAliasesFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl ListBotAliasesFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_bot_aliases::ListBotAliases, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::list_bot_aliases::ListBotAliasesError, + >, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::list_bot_aliases::paginator::ListBotAliasesPaginator::send) which returns a `Stream`. diff --git a/sdk/lexmodelsv2/src/operation/list_bot_locales/builders.rs b/sdk/lexmodelsv2/src/operation/list_bot_locales/builders.rs index ba90bef4644a..a472f6b30c1c 100644 --- a/sdk/lexmodelsv2/src/operation/list_bot_locales/builders.rs +++ b/sdk/lexmodelsv2/src/operation/list_bot_locales/builders.rs @@ -19,9 +19,9 @@ impl ListBotLocalesFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl ListBotLocalesFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_bot_locales::ListBotLocales, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::list_bot_locales::ListBotLocalesError, + >, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::list_bot_locales::paginator::ListBotLocalesPaginator::send) which returns a `Stream`. diff --git a/sdk/lexmodelsv2/src/operation/list_bot_recommendations/builders.rs b/sdk/lexmodelsv2/src/operation/list_bot_recommendations/builders.rs index 67b45d0f6fc8..c500caaa0877 100644 --- a/sdk/lexmodelsv2/src/operation/list_bot_recommendations/builders.rs +++ b/sdk/lexmodelsv2/src/operation/list_bot_recommendations/builders.rs @@ -19,9 +19,9 @@ impl ListBotRecommendationsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl ListBotRecommendationsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_bot_recommendations::ListBotRecommendations, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::list_bot_recommendations::ListBotRecommendationsError, + >, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::list_bot_recommendations::paginator::ListBotRecommendationsPaginator::send) which returns a `Stream`. diff --git a/sdk/lexmodelsv2/src/operation/list_bot_versions/builders.rs b/sdk/lexmodelsv2/src/operation/list_bot_versions/builders.rs index 0440090ca4c3..11ded5280dbd 100644 --- a/sdk/lexmodelsv2/src/operation/list_bot_versions/builders.rs +++ b/sdk/lexmodelsv2/src/operation/list_bot_versions/builders.rs @@ -21,9 +21,9 @@ impl ListBotVersionsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -85,6 +85,22 @@ impl ListBotVersionsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_bot_versions::ListBotVersions, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::list_bot_versions::ListBotVersionsError, + >, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::list_bot_versions::paginator::ListBotVersionsPaginator::send) which returns a `Stream`. diff --git a/sdk/lexmodelsv2/src/operation/list_bots/builders.rs b/sdk/lexmodelsv2/src/operation/list_bots/builders.rs index 88ea6b51d1ef..6111a6b78f53 100644 --- a/sdk/lexmodelsv2/src/operation/list_bots/builders.rs +++ b/sdk/lexmodelsv2/src/operation/list_bots/builders.rs @@ -19,9 +19,9 @@ impl ListBotsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl ListBotsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_bots::ListBots, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::list_bots::paginator::ListBotsPaginator::send) which returns a `Stream`. diff --git a/sdk/lexmodelsv2/src/operation/list_built_in_intents/builders.rs b/sdk/lexmodelsv2/src/operation/list_built_in_intents/builders.rs index 476de109581c..008cd512a455 100644 --- a/sdk/lexmodelsv2/src/operation/list_built_in_intents/builders.rs +++ b/sdk/lexmodelsv2/src/operation/list_built_in_intents/builders.rs @@ -20,9 +20,9 @@ impl ListBuiltInIntentsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -84,6 +84,22 @@ impl ListBuiltInIntentsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_built_in_intents::ListBuiltInIntents, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::list_built_in_intents::ListBuiltInIntentsError, + >, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::list_built_in_intents::paginator::ListBuiltInIntentsPaginator::send) which returns a `Stream`. diff --git a/sdk/lexmodelsv2/src/operation/list_built_in_slot_types/builders.rs b/sdk/lexmodelsv2/src/operation/list_built_in_slot_types/builders.rs index 3fa0be7fcd0a..92df1c105623 100644 --- a/sdk/lexmodelsv2/src/operation/list_built_in_slot_types/builders.rs +++ b/sdk/lexmodelsv2/src/operation/list_built_in_slot_types/builders.rs @@ -19,9 +19,9 @@ impl ListBuiltInSlotTypesFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl ListBuiltInSlotTypesFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_built_in_slot_types::ListBuiltInSlotTypes, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::list_built_in_slot_types::ListBuiltInSlotTypesError, + >, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::list_built_in_slot_types::paginator::ListBuiltInSlotTypesPaginator::send) which returns a `Stream`. diff --git a/sdk/lexmodelsv2/src/operation/list_custom_vocabulary_items/builders.rs b/sdk/lexmodelsv2/src/operation/list_custom_vocabulary_items/builders.rs index 9e7d7eef6ca1..a95acc0df940 100644 --- a/sdk/lexmodelsv2/src/operation/list_custom_vocabulary_items/builders.rs +++ b/sdk/lexmodelsv2/src/operation/list_custom_vocabulary_items/builders.rs @@ -19,9 +19,9 @@ impl ListCustomVocabularyItemsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl ListCustomVocabularyItemsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_custom_vocabulary_items::ListCustomVocabularyItems, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::list_custom_vocabulary_items::ListCustomVocabularyItemsError, + >, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::list_custom_vocabulary_items::paginator::ListCustomVocabularyItemsPaginator::send) which returns a `Stream`. diff --git a/sdk/lexmodelsv2/src/operation/list_exports/builders.rs b/sdk/lexmodelsv2/src/operation/list_exports/builders.rs index f0721fed28b7..364afb77f3ee 100644 --- a/sdk/lexmodelsv2/src/operation/list_exports/builders.rs +++ b/sdk/lexmodelsv2/src/operation/list_exports/builders.rs @@ -19,9 +19,9 @@ impl ListExportsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl ListExportsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_exports::ListExports, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::list_exports::paginator::ListExportsPaginator::send) which returns a `Stream`. diff --git a/sdk/lexmodelsv2/src/operation/list_imports/builders.rs b/sdk/lexmodelsv2/src/operation/list_imports/builders.rs index cbc309ab9b3c..26c96be0aeb7 100644 --- a/sdk/lexmodelsv2/src/operation/list_imports/builders.rs +++ b/sdk/lexmodelsv2/src/operation/list_imports/builders.rs @@ -19,9 +19,9 @@ impl ListImportsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl ListImportsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_imports::ListImports, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::list_imports::paginator::ListImportsPaginator::send) which returns a `Stream`. diff --git a/sdk/lexmodelsv2/src/operation/list_intents/builders.rs b/sdk/lexmodelsv2/src/operation/list_intents/builders.rs index 88f17baa0bf0..c2f311df83f6 100644 --- a/sdk/lexmodelsv2/src/operation/list_intents/builders.rs +++ b/sdk/lexmodelsv2/src/operation/list_intents/builders.rs @@ -19,9 +19,9 @@ impl ListIntentsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl ListIntentsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_intents::ListIntents, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::list_intents::paginator::ListIntentsPaginator::send) which returns a `Stream`. diff --git a/sdk/lexmodelsv2/src/operation/list_recommended_intents/builders.rs b/sdk/lexmodelsv2/src/operation/list_recommended_intents/builders.rs index 97d85e773948..30636bbe41ba 100644 --- a/sdk/lexmodelsv2/src/operation/list_recommended_intents/builders.rs +++ b/sdk/lexmodelsv2/src/operation/list_recommended_intents/builders.rs @@ -19,9 +19,9 @@ impl ListRecommendedIntentsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl ListRecommendedIntentsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_recommended_intents::ListRecommendedIntents, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::list_recommended_intents::ListRecommendedIntentsError, + >, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::list_recommended_intents::paginator::ListRecommendedIntentsPaginator::send) which returns a `Stream`. diff --git a/sdk/lexmodelsv2/src/operation/list_slot_types/builders.rs b/sdk/lexmodelsv2/src/operation/list_slot_types/builders.rs index 9871f80e340d..298b4e1e8241 100644 --- a/sdk/lexmodelsv2/src/operation/list_slot_types/builders.rs +++ b/sdk/lexmodelsv2/src/operation/list_slot_types/builders.rs @@ -19,9 +19,9 @@ impl ListSlotTypesFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl ListSlotTypesFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_slot_types::ListSlotTypes, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::list_slot_types::paginator::ListSlotTypesPaginator::send) which returns a `Stream`. diff --git a/sdk/lexmodelsv2/src/operation/list_slots/builders.rs b/sdk/lexmodelsv2/src/operation/list_slots/builders.rs index c180abdbd684..8a4bf8aa963e 100644 --- a/sdk/lexmodelsv2/src/operation/list_slots/builders.rs +++ b/sdk/lexmodelsv2/src/operation/list_slots/builders.rs @@ -19,9 +19,9 @@ impl ListSlotsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl ListSlotsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_slots::ListSlots, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::list_slots::paginator::ListSlotsPaginator::send) which returns a `Stream`. diff --git a/sdk/lexmodelsv2/src/operation/list_tags_for_resource/builders.rs b/sdk/lexmodelsv2/src/operation/list_tags_for_resource/builders.rs index 4d50cc489a34..ec4585c9c924 100644 --- a/sdk/lexmodelsv2/src/operation/list_tags_for_resource/builders.rs +++ b/sdk/lexmodelsv2/src/operation/list_tags_for_resource/builders.rs @@ -19,9 +19,9 @@ impl ListTagsForResourceFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl ListTagsForResourceFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_tags_for_resource::ListTagsForResource, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::list_tags_for_resource::ListTagsForResourceError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                      The Amazon Resource Name (ARN) of the resource to get a list of tags for.

                                                                                                                                                                      pub fn resource_arn(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.resource_arn(input.into()); diff --git a/sdk/lexmodelsv2/src/operation/search_associated_transcripts/builders.rs b/sdk/lexmodelsv2/src/operation/search_associated_transcripts/builders.rs index ae50e81d1b53..8da86dbbde38 100644 --- a/sdk/lexmodelsv2/src/operation/search_associated_transcripts/builders.rs +++ b/sdk/lexmodelsv2/src/operation/search_associated_transcripts/builders.rs @@ -19,9 +19,9 @@ impl SearchAssociatedTranscriptsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl SearchAssociatedTranscriptsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::search_associated_transcripts::SearchAssociatedTranscripts, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::search_associated_transcripts::SearchAssociatedTranscriptsError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                      The unique identifier of the bot associated with the transcripts that you are searching.

                                                                                                                                                                      pub fn bot_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.bot_id(input.into()); diff --git a/sdk/lexmodelsv2/src/operation/start_bot_recommendation/builders.rs b/sdk/lexmodelsv2/src/operation/start_bot_recommendation/builders.rs index 8535e78f6e1d..be5d2c883bc3 100644 --- a/sdk/lexmodelsv2/src/operation/start_bot_recommendation/builders.rs +++ b/sdk/lexmodelsv2/src/operation/start_bot_recommendation/builders.rs @@ -19,9 +19,9 @@ impl StartBotRecommendationFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl StartBotRecommendationFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::start_bot_recommendation::StartBotRecommendation, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::start_bot_recommendation::StartBotRecommendationError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                      The unique identifier of the bot containing the bot recommendation.

                                                                                                                                                                      pub fn bot_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.bot_id(input.into()); diff --git a/sdk/lexmodelsv2/src/operation/start_import/builders.rs b/sdk/lexmodelsv2/src/operation/start_import/builders.rs index 7a7f291180be..d0aaeb63e4fd 100644 --- a/sdk/lexmodelsv2/src/operation/start_import/builders.rs +++ b/sdk/lexmodelsv2/src/operation/start_import/builders.rs @@ -19,9 +19,9 @@ impl StartImportFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl StartImportFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::start_import::StartImport, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                      The unique identifier for the import. It is included in the response from the CreateUploadUrl operation.

                                                                                                                                                                      pub fn import_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.import_id(input.into()); diff --git a/sdk/lexmodelsv2/src/operation/stop_bot_recommendation/builders.rs b/sdk/lexmodelsv2/src/operation/stop_bot_recommendation/builders.rs index 57ddc0c6e495..aed9a64da25f 100644 --- a/sdk/lexmodelsv2/src/operation/stop_bot_recommendation/builders.rs +++ b/sdk/lexmodelsv2/src/operation/stop_bot_recommendation/builders.rs @@ -19,9 +19,9 @@ impl StopBotRecommendationFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl StopBotRecommendationFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::stop_bot_recommendation::StopBotRecommendation, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::stop_bot_recommendation::StopBotRecommendationError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                      The unique identifier of the bot containing the bot recommendation to be stopped.

                                                                                                                                                                      pub fn bot_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.bot_id(input.into()); diff --git a/sdk/lexmodelsv2/src/operation/tag_resource/builders.rs b/sdk/lexmodelsv2/src/operation/tag_resource/builders.rs index 8b3188232da2..4858659722ef 100644 --- a/sdk/lexmodelsv2/src/operation/tag_resource/builders.rs +++ b/sdk/lexmodelsv2/src/operation/tag_resource/builders.rs @@ -19,9 +19,9 @@ impl TagResourceFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl TagResourceFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::tag_resource::TagResource, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                      The Amazon Resource Name (ARN) of the bot, bot alias, or bot channel to tag.

                                                                                                                                                                      pub fn resource_arn(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.resource_arn(input.into()); diff --git a/sdk/lexmodelsv2/src/operation/untag_resource/builders.rs b/sdk/lexmodelsv2/src/operation/untag_resource/builders.rs index 8d5f64661704..c2db0db23385 100644 --- a/sdk/lexmodelsv2/src/operation/untag_resource/builders.rs +++ b/sdk/lexmodelsv2/src/operation/untag_resource/builders.rs @@ -19,9 +19,9 @@ impl UntagResourceFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl UntagResourceFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::untag_resource::UntagResource, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                      The Amazon Resource Name (ARN) of the resource to remove the tags from.

                                                                                                                                                                      pub fn resource_arn(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.resource_arn(input.into()); diff --git a/sdk/lexmodelsv2/src/operation/update_bot/builders.rs b/sdk/lexmodelsv2/src/operation/update_bot/builders.rs index 84e02884144f..a2d4a3193db2 100644 --- a/sdk/lexmodelsv2/src/operation/update_bot/builders.rs +++ b/sdk/lexmodelsv2/src/operation/update_bot/builders.rs @@ -19,9 +19,9 @@ impl UpdateBotFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl UpdateBotFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::update_bot::UpdateBot, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                      The unique identifier of the bot to update. This identifier is returned by the CreateBot operation.

                                                                                                                                                                      pub fn bot_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.bot_id(input.into()); diff --git a/sdk/lexmodelsv2/src/operation/update_bot_alias/builders.rs b/sdk/lexmodelsv2/src/operation/update_bot_alias/builders.rs index 43363568e97a..d2134112cd54 100644 --- a/sdk/lexmodelsv2/src/operation/update_bot_alias/builders.rs +++ b/sdk/lexmodelsv2/src/operation/update_bot_alias/builders.rs @@ -19,9 +19,9 @@ impl UpdateBotAliasFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl UpdateBotAliasFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::update_bot_alias::UpdateBotAlias, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::update_bot_alias::UpdateBotAliasError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                      The unique identifier of the bot alias.

                                                                                                                                                                      pub fn bot_alias_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.bot_alias_id(input.into()); diff --git a/sdk/lexmodelsv2/src/operation/update_bot_locale/builders.rs b/sdk/lexmodelsv2/src/operation/update_bot_locale/builders.rs index 0e14fe476235..146fc3cd0e78 100644 --- a/sdk/lexmodelsv2/src/operation/update_bot_locale/builders.rs +++ b/sdk/lexmodelsv2/src/operation/update_bot_locale/builders.rs @@ -19,9 +19,9 @@ impl UpdateBotLocaleFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl UpdateBotLocaleFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::update_bot_locale::UpdateBotLocale, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::update_bot_locale::UpdateBotLocaleError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                      The unique identifier of the bot that contains the locale.

                                                                                                                                                                      pub fn bot_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.bot_id(input.into()); diff --git a/sdk/lexmodelsv2/src/operation/update_bot_recommendation/builders.rs b/sdk/lexmodelsv2/src/operation/update_bot_recommendation/builders.rs index 677fd25249cb..d6da003d5dd0 100644 --- a/sdk/lexmodelsv2/src/operation/update_bot_recommendation/builders.rs +++ b/sdk/lexmodelsv2/src/operation/update_bot_recommendation/builders.rs @@ -20,9 +20,9 @@ impl UpdateBotRecommendationFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -84,6 +84,22 @@ impl UpdateBotRecommendationFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::update_bot_recommendation::UpdateBotRecommendation, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::update_bot_recommendation::UpdateBotRecommendationError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                      The unique identifier of the bot containing the bot recommendation to be updated.

                                                                                                                                                                      pub fn bot_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.bot_id(input.into()); diff --git a/sdk/lexmodelsv2/src/operation/update_export/builders.rs b/sdk/lexmodelsv2/src/operation/update_export/builders.rs index 0ba3bb446a56..a878e3f9c070 100644 --- a/sdk/lexmodelsv2/src/operation/update_export/builders.rs +++ b/sdk/lexmodelsv2/src/operation/update_export/builders.rs @@ -20,9 +20,9 @@ impl UpdateExportFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -78,6 +78,20 @@ impl UpdateExportFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::update_export::UpdateExport, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                      The unique identifier Amazon Lex assigned to the export.

                                                                                                                                                                      pub fn export_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.export_id(input.into()); diff --git a/sdk/lexmodelsv2/src/operation/update_intent/builders.rs b/sdk/lexmodelsv2/src/operation/update_intent/builders.rs index 8256ddb490bc..b94ab3e7a65c 100644 --- a/sdk/lexmodelsv2/src/operation/update_intent/builders.rs +++ b/sdk/lexmodelsv2/src/operation/update_intent/builders.rs @@ -19,9 +19,9 @@ impl UpdateIntentFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl UpdateIntentFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::update_intent::UpdateIntent, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                      The unique identifier of the intent to update.

                                                                                                                                                                      pub fn intent_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.intent_id(input.into()); diff --git a/sdk/lexmodelsv2/src/operation/update_resource_policy/builders.rs b/sdk/lexmodelsv2/src/operation/update_resource_policy/builders.rs index 46b0402fe857..f665caaba87d 100644 --- a/sdk/lexmodelsv2/src/operation/update_resource_policy/builders.rs +++ b/sdk/lexmodelsv2/src/operation/update_resource_policy/builders.rs @@ -19,9 +19,9 @@ impl UpdateResourcePolicyFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl UpdateResourcePolicyFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::update_resource_policy::UpdateResourcePolicy, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::update_resource_policy::UpdateResourcePolicyError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                      The Amazon Resource Name (ARN) of the bot or bot alias that the resource policy is attached to.

                                                                                                                                                                      pub fn resource_arn(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.resource_arn(input.into()); diff --git a/sdk/lexmodelsv2/src/operation/update_slot/builders.rs b/sdk/lexmodelsv2/src/operation/update_slot/builders.rs index bd2bfd4e81d8..8b4ce1521c53 100644 --- a/sdk/lexmodelsv2/src/operation/update_slot/builders.rs +++ b/sdk/lexmodelsv2/src/operation/update_slot/builders.rs @@ -19,9 +19,9 @@ impl UpdateSlotFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl UpdateSlotFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::update_slot::UpdateSlot, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                      The unique identifier for the slot to update.

                                                                                                                                                                      pub fn slot_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.slot_id(input.into()); diff --git a/sdk/lexmodelsv2/src/operation/update_slot_type/builders.rs b/sdk/lexmodelsv2/src/operation/update_slot_type/builders.rs index ed64378fefd8..e83206e0c083 100644 --- a/sdk/lexmodelsv2/src/operation/update_slot_type/builders.rs +++ b/sdk/lexmodelsv2/src/operation/update_slot_type/builders.rs @@ -19,9 +19,9 @@ impl UpdateSlotTypeFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl UpdateSlotTypeFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::update_slot_type::UpdateSlotType, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::update_slot_type::UpdateSlotTypeError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                      The unique identifier of the slot type to update.

                                                                                                                                                                      pub fn slot_type_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.slot_type_id(input.into()); diff --git a/sdk/lexruntime/src/operation/delete_session/builders.rs b/sdk/lexruntime/src/operation/delete_session/builders.rs index 93ba26f54139..409e051ce75c 100644 --- a/sdk/lexruntime/src/operation/delete_session/builders.rs +++ b/sdk/lexruntime/src/operation/delete_session/builders.rs @@ -19,9 +19,9 @@ impl DeleteSessionFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl DeleteSessionFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::delete_session::DeleteSession, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                      The name of the bot that contains the session data.

                                                                                                                                                                      pub fn bot_name(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.bot_name(input.into()); diff --git a/sdk/lexruntime/src/operation/get_session/builders.rs b/sdk/lexruntime/src/operation/get_session/builders.rs index 25405ccfd7b9..b1b5ea04c92c 100644 --- a/sdk/lexruntime/src/operation/get_session/builders.rs +++ b/sdk/lexruntime/src/operation/get_session/builders.rs @@ -19,9 +19,9 @@ impl GetSessionFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl GetSessionFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::get_session::GetSession, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                      The name of the bot that contains the session data.

                                                                                                                                                                      pub fn bot_name(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.bot_name(input.into()); diff --git a/sdk/lexruntime/src/operation/post_content/builders.rs b/sdk/lexruntime/src/operation/post_content/builders.rs index cd3df931dedc..e825362aa967 100644 --- a/sdk/lexruntime/src/operation/post_content/builders.rs +++ b/sdk/lexruntime/src/operation/post_content/builders.rs @@ -39,9 +39,9 @@ impl PostContentFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -97,6 +97,20 @@ impl PostContentFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::post_content::PostContent, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                      Name of the Amazon Lex bot.

                                                                                                                                                                      pub fn bot_name(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.bot_name(input.into()); diff --git a/sdk/lexruntime/src/operation/post_text/builders.rs b/sdk/lexruntime/src/operation/post_text/builders.rs index ac50ca8f2e35..60a1fd786c78 100644 --- a/sdk/lexruntime/src/operation/post_text/builders.rs +++ b/sdk/lexruntime/src/operation/post_text/builders.rs @@ -38,9 +38,9 @@ impl PostTextFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -96,6 +96,20 @@ impl PostTextFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::post_text::PostText, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                      The name of the Amazon Lex bot.

                                                                                                                                                                      pub fn bot_name(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.bot_name(input.into()); diff --git a/sdk/lexruntime/src/operation/put_session/builders.rs b/sdk/lexruntime/src/operation/put_session/builders.rs index b8e776f92a79..2390c80594fe 100644 --- a/sdk/lexruntime/src/operation/put_session/builders.rs +++ b/sdk/lexruntime/src/operation/put_session/builders.rs @@ -20,9 +20,9 @@ impl PutSessionFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -78,6 +78,20 @@ impl PutSessionFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::put_session::PutSession, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                      The name of the bot that contains the session data.

                                                                                                                                                                      pub fn bot_name(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.bot_name(input.into()); diff --git a/sdk/lexruntimev2/src/operation/delete_session/builders.rs b/sdk/lexruntimev2/src/operation/delete_session/builders.rs index 6fb93724aa3e..44b0fa237553 100644 --- a/sdk/lexruntimev2/src/operation/delete_session/builders.rs +++ b/sdk/lexruntimev2/src/operation/delete_session/builders.rs @@ -23,9 +23,9 @@ impl DeleteSessionFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -81,6 +81,20 @@ impl DeleteSessionFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::delete_session::DeleteSession, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                      The identifier of the bot that contains the session data.

                                                                                                                                                                      pub fn bot_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.bot_id(input.into()); diff --git a/sdk/lexruntimev2/src/operation/get_session/builders.rs b/sdk/lexruntimev2/src/operation/get_session/builders.rs index 6174de87259a..8f9821fe7ce9 100644 --- a/sdk/lexruntimev2/src/operation/get_session/builders.rs +++ b/sdk/lexruntimev2/src/operation/get_session/builders.rs @@ -21,9 +21,9 @@ impl GetSessionFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -79,6 +79,20 @@ impl GetSessionFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::get_session::GetSession, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                      The identifier of the bot that contains the session data.

                                                                                                                                                                      pub fn bot_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.bot_id(input.into()); diff --git a/sdk/lexruntimev2/src/operation/put_session/builders.rs b/sdk/lexruntimev2/src/operation/put_session/builders.rs index 396b0c0053a5..81b2bc45b258 100644 --- a/sdk/lexruntimev2/src/operation/put_session/builders.rs +++ b/sdk/lexruntimev2/src/operation/put_session/builders.rs @@ -19,9 +19,9 @@ impl PutSessionFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl PutSessionFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::put_session::PutSession, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                      The identifier of the bot that receives the session data.

                                                                                                                                                                      pub fn bot_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.bot_id(input.into()); diff --git a/sdk/lexruntimev2/src/operation/recognize_text/builders.rs b/sdk/lexruntimev2/src/operation/recognize_text/builders.rs index 93869dd7302a..7d2cff0a18f5 100644 --- a/sdk/lexruntimev2/src/operation/recognize_text/builders.rs +++ b/sdk/lexruntimev2/src/operation/recognize_text/builders.rs @@ -27,9 +27,9 @@ impl RecognizeTextFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -85,6 +85,20 @@ impl RecognizeTextFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::recognize_text::RecognizeText, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                      The identifier of the bot that processes the request.

                                                                                                                                                                      pub fn bot_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.bot_id(input.into()); diff --git a/sdk/lexruntimev2/src/operation/recognize_utterance/builders.rs b/sdk/lexruntimev2/src/operation/recognize_utterance/builders.rs index 1e122346094f..623e67ab77d7 100644 --- a/sdk/lexruntimev2/src/operation/recognize_utterance/builders.rs +++ b/sdk/lexruntimev2/src/operation/recognize_utterance/builders.rs @@ -40,9 +40,9 @@ impl RecognizeUtteranceFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -104,6 +104,22 @@ impl RecognizeUtteranceFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::recognize_utterance::RecognizeUtterance, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::recognize_utterance::RecognizeUtteranceError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                      The identifier of the bot that should receive the request.

                                                                                                                                                                      pub fn bot_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.bot_id(input.into()); diff --git a/sdk/licensemanager/src/operation/accept_grant/builders.rs b/sdk/licensemanager/src/operation/accept_grant/builders.rs index 343d18edbc11..b58cefcf5e42 100644 --- a/sdk/licensemanager/src/operation/accept_grant/builders.rs +++ b/sdk/licensemanager/src/operation/accept_grant/builders.rs @@ -19,9 +19,9 @@ impl AcceptGrantFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl AcceptGrantFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::accept_grant::AcceptGrant, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                      Amazon Resource Name (ARN) of the grant.

                                                                                                                                                                      pub fn grant_arn(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.grant_arn(input.into()); diff --git a/sdk/licensemanager/src/operation/check_in_license/builders.rs b/sdk/licensemanager/src/operation/check_in_license/builders.rs index 93f1a67b3afb..60929df9da12 100644 --- a/sdk/licensemanager/src/operation/check_in_license/builders.rs +++ b/sdk/licensemanager/src/operation/check_in_license/builders.rs @@ -19,9 +19,9 @@ impl CheckInLicenseFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl CheckInLicenseFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::check_in_license::CheckInLicense, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::check_in_license::CheckInLicenseError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                      License consumption token.

                                                                                                                                                                      pub fn license_consumption_token( mut self, diff --git a/sdk/licensemanager/src/operation/checkout_borrow_license/builders.rs b/sdk/licensemanager/src/operation/checkout_borrow_license/builders.rs index de47016cdd29..011ffacd109c 100644 --- a/sdk/licensemanager/src/operation/checkout_borrow_license/builders.rs +++ b/sdk/licensemanager/src/operation/checkout_borrow_license/builders.rs @@ -19,9 +19,9 @@ impl CheckoutBorrowLicenseFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl CheckoutBorrowLicenseFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::checkout_borrow_license::CheckoutBorrowLicense, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::checkout_borrow_license::CheckoutBorrowLicenseError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                      Amazon Resource Name (ARN) of the license. The license must use the borrow consumption configuration.

                                                                                                                                                                      pub fn license_arn(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.license_arn(input.into()); diff --git a/sdk/licensemanager/src/operation/checkout_license/builders.rs b/sdk/licensemanager/src/operation/checkout_license/builders.rs index a309ea460cb0..dafc4ba5c347 100644 --- a/sdk/licensemanager/src/operation/checkout_license/builders.rs +++ b/sdk/licensemanager/src/operation/checkout_license/builders.rs @@ -21,9 +21,9 @@ impl CheckoutLicenseFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -85,6 +85,22 @@ impl CheckoutLicenseFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::checkout_license::CheckoutLicense, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::checkout_license::CheckoutLicenseError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                      Product SKU.

                                                                                                                                                                      pub fn product_sku(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.product_sku(input.into()); diff --git a/sdk/licensemanager/src/operation/create_grant/builders.rs b/sdk/licensemanager/src/operation/create_grant/builders.rs index 63f8797613ca..e76f438448b0 100644 --- a/sdk/licensemanager/src/operation/create_grant/builders.rs +++ b/sdk/licensemanager/src/operation/create_grant/builders.rs @@ -19,9 +19,9 @@ impl CreateGrantFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl CreateGrantFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::create_grant::CreateGrant, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                      Unique, case-sensitive identifier that you provide to ensure the idempotency of the request.

                                                                                                                                                                      pub fn client_token(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.client_token(input.into()); diff --git a/sdk/licensemanager/src/operation/create_grant_version/builders.rs b/sdk/licensemanager/src/operation/create_grant_version/builders.rs index 1c92222b3db0..5116282527e9 100644 --- a/sdk/licensemanager/src/operation/create_grant_version/builders.rs +++ b/sdk/licensemanager/src/operation/create_grant_version/builders.rs @@ -19,9 +19,9 @@ impl CreateGrantVersionFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl CreateGrantVersionFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::create_grant_version::CreateGrantVersion, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::create_grant_version::CreateGrantVersionError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                      Unique, case-sensitive identifier that you provide to ensure the idempotency of the request.

                                                                                                                                                                      pub fn client_token(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.client_token(input.into()); diff --git a/sdk/licensemanager/src/operation/create_license/builders.rs b/sdk/licensemanager/src/operation/create_license/builders.rs index 2d20136cbafd..cece39dcf26d 100644 --- a/sdk/licensemanager/src/operation/create_license/builders.rs +++ b/sdk/licensemanager/src/operation/create_license/builders.rs @@ -19,9 +19,9 @@ impl CreateLicenseFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl CreateLicenseFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::create_license::CreateLicense, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                      License name.

                                                                                                                                                                      pub fn license_name(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.license_name(input.into()); diff --git a/sdk/licensemanager/src/operation/create_license_configuration/builders.rs b/sdk/licensemanager/src/operation/create_license_configuration/builders.rs index b0d5dc6d6473..00603f73c6fb 100644 --- a/sdk/licensemanager/src/operation/create_license_configuration/builders.rs +++ b/sdk/licensemanager/src/operation/create_license_configuration/builders.rs @@ -20,9 +20,9 @@ impl CreateLicenseConfigurationFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -84,6 +84,22 @@ impl CreateLicenseConfigurationFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::create_license_configuration::CreateLicenseConfiguration, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::create_license_configuration::CreateLicenseConfigurationError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                      Name of the license configuration.

                                                                                                                                                                      pub fn name(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.name(input.into()); diff --git a/sdk/licensemanager/src/operation/create_license_conversion_task_for_resource/builders.rs b/sdk/licensemanager/src/operation/create_license_conversion_task_for_resource/builders.rs index b7f455b7bc6a..6047666b5585 100644 --- a/sdk/licensemanager/src/operation/create_license_conversion_task_for_resource/builders.rs +++ b/sdk/licensemanager/src/operation/create_license_conversion_task_for_resource/builders.rs @@ -19,9 +19,9 @@ impl CreateLicenseConversionTaskForResourceFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize(self) -> ::std::result::Result< + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware(self) -> ::std::result::Result< crate::client::customize::CustomizableOperation, ::aws_smithy_http::result::SdkError >{ @@ -64,6 +64,15 @@ impl CreateLicenseConversionTaskForResourceFluentBuilder { { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize(self) -> ::std::result::Result< + crate::client::customize::CustomizableOperation, + ::aws_smithy_http::result::SdkError + >{ + self.customize_middleware().await + } ///

                                                                                                                                                                      Amazon Resource Name (ARN) of the resource you are converting the license type for.

                                                                                                                                                                      pub fn resource_arn(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.resource_arn(input.into()); diff --git a/sdk/licensemanager/src/operation/create_license_manager_report_generator/builders.rs b/sdk/licensemanager/src/operation/create_license_manager_report_generator/builders.rs index 9b22bc5591ed..31f2e45dd0b2 100644 --- a/sdk/licensemanager/src/operation/create_license_manager_report_generator/builders.rs +++ b/sdk/licensemanager/src/operation/create_license_manager_report_generator/builders.rs @@ -19,9 +19,9 @@ impl CreateLicenseManagerReportGeneratorFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize(self) -> ::std::result::Result< + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware(self) -> ::std::result::Result< crate::client::customize::CustomizableOperation, ::aws_smithy_http::result::SdkError >{ @@ -64,6 +64,15 @@ impl CreateLicenseManagerReportGeneratorFluentBuilder { { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize(self) -> ::std::result::Result< + crate::client::customize::CustomizableOperation, + ::aws_smithy_http::result::SdkError + >{ + self.customize_middleware().await + } ///

                                                                                                                                                                      Name of the report generator.

                                                                                                                                                                      pub fn report_generator_name( mut self, diff --git a/sdk/licensemanager/src/operation/create_license_version/builders.rs b/sdk/licensemanager/src/operation/create_license_version/builders.rs index 2c6f09547f05..b308008ed98a 100644 --- a/sdk/licensemanager/src/operation/create_license_version/builders.rs +++ b/sdk/licensemanager/src/operation/create_license_version/builders.rs @@ -19,9 +19,9 @@ impl CreateLicenseVersionFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl CreateLicenseVersionFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::create_license_version::CreateLicenseVersion, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::create_license_version::CreateLicenseVersionError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                      Amazon Resource Name (ARN) of the license.

                                                                                                                                                                      pub fn license_arn(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.license_arn(input.into()); diff --git a/sdk/licensemanager/src/operation/create_token/builders.rs b/sdk/licensemanager/src/operation/create_token/builders.rs index b1d6876324a2..d13d3938e4be 100644 --- a/sdk/licensemanager/src/operation/create_token/builders.rs +++ b/sdk/licensemanager/src/operation/create_token/builders.rs @@ -20,9 +20,9 @@ impl CreateTokenFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -78,6 +78,20 @@ impl CreateTokenFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::create_token::CreateToken, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                      Amazon Resource Name (ARN) of the license. The ARN is mapped to the aud claim of the JWT token.

                                                                                                                                                                      pub fn license_arn(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.license_arn(input.into()); diff --git a/sdk/licensemanager/src/operation/delete_grant/builders.rs b/sdk/licensemanager/src/operation/delete_grant/builders.rs index 2f2f3eed0a9b..7928085311fe 100644 --- a/sdk/licensemanager/src/operation/delete_grant/builders.rs +++ b/sdk/licensemanager/src/operation/delete_grant/builders.rs @@ -19,9 +19,9 @@ impl DeleteGrantFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl DeleteGrantFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::delete_grant::DeleteGrant, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                      Amazon Resource Name (ARN) of the grant.

                                                                                                                                                                      pub fn grant_arn(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.grant_arn(input.into()); diff --git a/sdk/licensemanager/src/operation/delete_license/builders.rs b/sdk/licensemanager/src/operation/delete_license/builders.rs index 249e696cb00f..9fd78a67e811 100644 --- a/sdk/licensemanager/src/operation/delete_license/builders.rs +++ b/sdk/licensemanager/src/operation/delete_license/builders.rs @@ -19,9 +19,9 @@ impl DeleteLicenseFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl DeleteLicenseFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::delete_license::DeleteLicense, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                      Amazon Resource Name (ARN) of the license.

                                                                                                                                                                      pub fn license_arn(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.license_arn(input.into()); diff --git a/sdk/licensemanager/src/operation/delete_license_configuration/builders.rs b/sdk/licensemanager/src/operation/delete_license_configuration/builders.rs index 019a1240d716..d8fb794f2502 100644 --- a/sdk/licensemanager/src/operation/delete_license_configuration/builders.rs +++ b/sdk/licensemanager/src/operation/delete_license_configuration/builders.rs @@ -20,9 +20,9 @@ impl DeleteLicenseConfigurationFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -84,6 +84,22 @@ impl DeleteLicenseConfigurationFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::delete_license_configuration::DeleteLicenseConfiguration, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::delete_license_configuration::DeleteLicenseConfigurationError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                      ID of the license configuration.

                                                                                                                                                                      pub fn license_configuration_arn( mut self, diff --git a/sdk/licensemanager/src/operation/delete_license_manager_report_generator/builders.rs b/sdk/licensemanager/src/operation/delete_license_manager_report_generator/builders.rs index 6f49ca7c7afa..5b8c20641f7c 100644 --- a/sdk/licensemanager/src/operation/delete_license_manager_report_generator/builders.rs +++ b/sdk/licensemanager/src/operation/delete_license_manager_report_generator/builders.rs @@ -20,9 +20,9 @@ impl DeleteLicenseManagerReportGeneratorFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize(self) -> ::std::result::Result< + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware(self) -> ::std::result::Result< crate::client::customize::CustomizableOperation, ::aws_smithy_http::result::SdkError >{ @@ -65,6 +65,15 @@ impl DeleteLicenseManagerReportGeneratorFluentBuilder { { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize(self) -> ::std::result::Result< + crate::client::customize::CustomizableOperation, + ::aws_smithy_http::result::SdkError + >{ + self.customize_middleware().await + } ///

                                                                                                                                                                      Amazon Resource Name (ARN) of the report generator to be deleted.

                                                                                                                                                                      pub fn license_manager_report_generator_arn( mut self, diff --git a/sdk/licensemanager/src/operation/delete_token/builders.rs b/sdk/licensemanager/src/operation/delete_token/builders.rs index 9cee7e7b6fff..b6be9c0bf1f1 100644 --- a/sdk/licensemanager/src/operation/delete_token/builders.rs +++ b/sdk/licensemanager/src/operation/delete_token/builders.rs @@ -19,9 +19,9 @@ impl DeleteTokenFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl DeleteTokenFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::delete_token::DeleteToken, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                      Token ID.

                                                                                                                                                                      pub fn token_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.token_id(input.into()); diff --git a/sdk/licensemanager/src/operation/extend_license_consumption/builders.rs b/sdk/licensemanager/src/operation/extend_license_consumption/builders.rs index b68abfdc2f56..395451cd3567 100644 --- a/sdk/licensemanager/src/operation/extend_license_consumption/builders.rs +++ b/sdk/licensemanager/src/operation/extend_license_consumption/builders.rs @@ -19,9 +19,9 @@ impl ExtendLicenseConsumptionFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl ExtendLicenseConsumptionFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::extend_license_consumption::ExtendLicenseConsumption, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::extend_license_consumption::ExtendLicenseConsumptionError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                      License consumption token.

                                                                                                                                                                      pub fn license_consumption_token( mut self, diff --git a/sdk/licensemanager/src/operation/get_access_token/builders.rs b/sdk/licensemanager/src/operation/get_access_token/builders.rs index 933888df54a1..a67a6418afad 100644 --- a/sdk/licensemanager/src/operation/get_access_token/builders.rs +++ b/sdk/licensemanager/src/operation/get_access_token/builders.rs @@ -19,9 +19,9 @@ impl GetAccessTokenFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl GetAccessTokenFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::get_access_token::GetAccessToken, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::get_access_token::GetAccessTokenError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                      Refresh token, encoded as a JWT token.

                                                                                                                                                                      pub fn token(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.token(input.into()); diff --git a/sdk/licensemanager/src/operation/get_grant/builders.rs b/sdk/licensemanager/src/operation/get_grant/builders.rs index d15c2ba520b2..f9ac7abe5870 100644 --- a/sdk/licensemanager/src/operation/get_grant/builders.rs +++ b/sdk/licensemanager/src/operation/get_grant/builders.rs @@ -19,9 +19,9 @@ impl GetGrantFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl GetGrantFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::get_grant::GetGrant, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                      Amazon Resource Name (ARN) of the grant.

                                                                                                                                                                      pub fn grant_arn(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.grant_arn(input.into()); diff --git a/sdk/licensemanager/src/operation/get_license/builders.rs b/sdk/licensemanager/src/operation/get_license/builders.rs index a854df36cf9b..807c46756962 100644 --- a/sdk/licensemanager/src/operation/get_license/builders.rs +++ b/sdk/licensemanager/src/operation/get_license/builders.rs @@ -19,9 +19,9 @@ impl GetLicenseFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl GetLicenseFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::get_license::GetLicense, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                      Amazon Resource Name (ARN) of the license.

                                                                                                                                                                      pub fn license_arn(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.license_arn(input.into()); diff --git a/sdk/licensemanager/src/operation/get_license_configuration/builders.rs b/sdk/licensemanager/src/operation/get_license_configuration/builders.rs index 2588383273a0..966bd1919959 100644 --- a/sdk/licensemanager/src/operation/get_license_configuration/builders.rs +++ b/sdk/licensemanager/src/operation/get_license_configuration/builders.rs @@ -20,9 +20,9 @@ impl GetLicenseConfigurationFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -84,6 +84,22 @@ impl GetLicenseConfigurationFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::get_license_configuration::GetLicenseConfiguration, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::get_license_configuration::GetLicenseConfigurationError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                      Amazon Resource Name (ARN) of the license configuration.

                                                                                                                                                                      pub fn license_configuration_arn( mut self, diff --git a/sdk/licensemanager/src/operation/get_license_conversion_task/builders.rs b/sdk/licensemanager/src/operation/get_license_conversion_task/builders.rs index c23ad4d77649..9c1970eff143 100644 --- a/sdk/licensemanager/src/operation/get_license_conversion_task/builders.rs +++ b/sdk/licensemanager/src/operation/get_license_conversion_task/builders.rs @@ -19,9 +19,9 @@ impl GetLicenseConversionTaskFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl GetLicenseConversionTaskFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::get_license_conversion_task::GetLicenseConversionTask, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::get_license_conversion_task::GetLicenseConversionTaskError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                      ID of the license type conversion task to retrieve information on.

                                                                                                                                                                      pub fn license_conversion_task_id( mut self, diff --git a/sdk/licensemanager/src/operation/get_license_manager_report_generator/builders.rs b/sdk/licensemanager/src/operation/get_license_manager_report_generator/builders.rs index 26e8d7ba0087..eec4568ac620 100644 --- a/sdk/licensemanager/src/operation/get_license_manager_report_generator/builders.rs +++ b/sdk/licensemanager/src/operation/get_license_manager_report_generator/builders.rs @@ -19,9 +19,9 @@ impl GetLicenseManagerReportGeneratorFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize(self) -> ::std::result::Result< + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware(self) -> ::std::result::Result< crate::client::customize::CustomizableOperation, ::aws_smithy_http::result::SdkError >{ @@ -64,6 +64,15 @@ impl GetLicenseManagerReportGeneratorFluentBuilder { { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize(self) -> ::std::result::Result< + crate::client::customize::CustomizableOperation, + ::aws_smithy_http::result::SdkError + >{ + self.customize_middleware().await + } ///

                                                                                                                                                                      Amazon Resource Name (ARN) of the report generator.

                                                                                                                                                                      pub fn license_manager_report_generator_arn( mut self, diff --git a/sdk/licensemanager/src/operation/get_license_usage/builders.rs b/sdk/licensemanager/src/operation/get_license_usage/builders.rs index 94946a908644..1e87f2569875 100644 --- a/sdk/licensemanager/src/operation/get_license_usage/builders.rs +++ b/sdk/licensemanager/src/operation/get_license_usage/builders.rs @@ -19,9 +19,9 @@ impl GetLicenseUsageFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl GetLicenseUsageFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::get_license_usage::GetLicenseUsage, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::get_license_usage::GetLicenseUsageError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                      Amazon Resource Name (ARN) of the license.

                                                                                                                                                                      pub fn license_arn(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.license_arn(input.into()); diff --git a/sdk/licensemanager/src/operation/get_service_settings/builders.rs b/sdk/licensemanager/src/operation/get_service_settings/builders.rs index 078626591e87..e62b453795a6 100644 --- a/sdk/licensemanager/src/operation/get_service_settings/builders.rs +++ b/sdk/licensemanager/src/operation/get_service_settings/builders.rs @@ -19,9 +19,9 @@ impl GetServiceSettingsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,4 +83,20 @@ impl GetServiceSettingsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::get_service_settings::GetServiceSettings, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::get_service_settings::GetServiceSettingsError, + >, + > { + self.customize_middleware().await + } } diff --git a/sdk/licensemanager/src/operation/list_associations_for_license_configuration/builders.rs b/sdk/licensemanager/src/operation/list_associations_for_license_configuration/builders.rs index 47a99495f24a..b7b7e4a81fd4 100644 --- a/sdk/licensemanager/src/operation/list_associations_for_license_configuration/builders.rs +++ b/sdk/licensemanager/src/operation/list_associations_for_license_configuration/builders.rs @@ -20,9 +20,9 @@ impl ListAssociationsForLicenseConfigurationFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize(self) -> ::std::result::Result< + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware(self) -> ::std::result::Result< crate::client::customize::CustomizableOperation, ::aws_smithy_http::result::SdkError >{ @@ -65,6 +65,15 @@ impl ListAssociationsForLicenseConfigurationFluentBuilder { { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize(self) -> ::std::result::Result< + crate::client::customize::CustomizableOperation, + ::aws_smithy_http::result::SdkError + >{ + self.customize_middleware().await + } ///

                                                                                                                                                                      Amazon Resource Name (ARN) of a license configuration.

                                                                                                                                                                      pub fn license_configuration_arn( mut self, diff --git a/sdk/licensemanager/src/operation/list_distributed_grants/builders.rs b/sdk/licensemanager/src/operation/list_distributed_grants/builders.rs index cd6063015163..3d10fe0643db 100644 --- a/sdk/licensemanager/src/operation/list_distributed_grants/builders.rs +++ b/sdk/licensemanager/src/operation/list_distributed_grants/builders.rs @@ -19,9 +19,9 @@ impl ListDistributedGrantsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl ListDistributedGrantsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_distributed_grants::ListDistributedGrants, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::list_distributed_grants::ListDistributedGrantsError, + >, + > { + self.customize_middleware().await + } /// Appends an item to `GrantArns`. /// /// To override the contents of this collection use [`set_grant_arns`](Self::set_grant_arns). diff --git a/sdk/licensemanager/src/operation/list_failures_for_license_configuration_operations/builders.rs b/sdk/licensemanager/src/operation/list_failures_for_license_configuration_operations/builders.rs index 06ce90256f0a..8824c4f58320 100644 --- a/sdk/licensemanager/src/operation/list_failures_for_license_configuration_operations/builders.rs +++ b/sdk/licensemanager/src/operation/list_failures_for_license_configuration_operations/builders.rs @@ -19,9 +19,9 @@ impl ListFailuresForLicenseConfigurationOperationsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize(self) -> ::std::result::Result< + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware(self) -> ::std::result::Result< crate::client::customize::CustomizableOperation, ::aws_smithy_http::result::SdkError >{ @@ -64,6 +64,15 @@ impl ListFailuresForLicenseConfigurationOperationsFluentBuilder { { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize(self) -> ::std::result::Result< + crate::client::customize::CustomizableOperation, + ::aws_smithy_http::result::SdkError + >{ + self.customize_middleware().await + } ///

                                                                                                                                                                      Amazon Resource Name of the license configuration.

                                                                                                                                                                      pub fn license_configuration_arn( mut self, diff --git a/sdk/licensemanager/src/operation/list_license_configurations/builders.rs b/sdk/licensemanager/src/operation/list_license_configurations/builders.rs index 45498c93f59f..52aa247014de 100644 --- a/sdk/licensemanager/src/operation/list_license_configurations/builders.rs +++ b/sdk/licensemanager/src/operation/list_license_configurations/builders.rs @@ -19,9 +19,9 @@ impl ListLicenseConfigurationsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl ListLicenseConfigurationsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_license_configurations::ListLicenseConfigurations, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::list_license_configurations::ListLicenseConfigurationsError, + >, + > { + self.customize_middleware().await + } /// Appends an item to `LicenseConfigurationArns`. /// /// To override the contents of this collection use [`set_license_configuration_arns`](Self::set_license_configuration_arns). diff --git a/sdk/licensemanager/src/operation/list_license_conversion_tasks/builders.rs b/sdk/licensemanager/src/operation/list_license_conversion_tasks/builders.rs index 43acd235a709..5c44dbc84c79 100644 --- a/sdk/licensemanager/src/operation/list_license_conversion_tasks/builders.rs +++ b/sdk/licensemanager/src/operation/list_license_conversion_tasks/builders.rs @@ -19,9 +19,9 @@ impl ListLicenseConversionTasksFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl ListLicenseConversionTasksFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_license_conversion_tasks::ListLicenseConversionTasks, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::list_license_conversion_tasks::ListLicenseConversionTasksError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                      Token for the next set of results.

                                                                                                                                                                      pub fn next_token(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.next_token(input.into()); diff --git a/sdk/licensemanager/src/operation/list_license_manager_report_generators/builders.rs b/sdk/licensemanager/src/operation/list_license_manager_report_generators/builders.rs index 455d6c934aa9..166c82747c71 100644 --- a/sdk/licensemanager/src/operation/list_license_manager_report_generators/builders.rs +++ b/sdk/licensemanager/src/operation/list_license_manager_report_generators/builders.rs @@ -19,9 +19,9 @@ impl ListLicenseManagerReportGeneratorsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize(self) -> ::std::result::Result< + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware(self) -> ::std::result::Result< crate::client::customize::CustomizableOperation, ::aws_smithy_http::result::SdkError >{ @@ -64,6 +64,15 @@ impl ListLicenseManagerReportGeneratorsFluentBuilder { { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize(self) -> ::std::result::Result< + crate::client::customize::CustomizableOperation, + ::aws_smithy_http::result::SdkError + >{ + self.customize_middleware().await + } /// Appends an item to `Filters`. /// /// To override the contents of this collection use [`set_filters`](Self::set_filters). diff --git a/sdk/licensemanager/src/operation/list_license_specifications_for_resource/builders.rs b/sdk/licensemanager/src/operation/list_license_specifications_for_resource/builders.rs index 283d4d9471e2..2e5d0369f71b 100644 --- a/sdk/licensemanager/src/operation/list_license_specifications_for_resource/builders.rs +++ b/sdk/licensemanager/src/operation/list_license_specifications_for_resource/builders.rs @@ -19,9 +19,9 @@ impl ListLicenseSpecificationsForResourceFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize(self) -> ::std::result::Result< + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware(self) -> ::std::result::Result< crate::client::customize::CustomizableOperation, ::aws_smithy_http::result::SdkError >{ @@ -64,6 +64,15 @@ impl ListLicenseSpecificationsForResourceFluentBuilder { { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize(self) -> ::std::result::Result< + crate::client::customize::CustomizableOperation, + ::aws_smithy_http::result::SdkError + >{ + self.customize_middleware().await + } ///

                                                                                                                                                                      Amazon Resource Name (ARN) of a resource that has an associated license configuration.

                                                                                                                                                                      pub fn resource_arn(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.resource_arn(input.into()); diff --git a/sdk/licensemanager/src/operation/list_license_versions/builders.rs b/sdk/licensemanager/src/operation/list_license_versions/builders.rs index 5cf989e2ca3d..bae71cc3d33e 100644 --- a/sdk/licensemanager/src/operation/list_license_versions/builders.rs +++ b/sdk/licensemanager/src/operation/list_license_versions/builders.rs @@ -19,9 +19,9 @@ impl ListLicenseVersionsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl ListLicenseVersionsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_license_versions::ListLicenseVersions, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::list_license_versions::ListLicenseVersionsError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                      Amazon Resource Name (ARN) of the license.

                                                                                                                                                                      pub fn license_arn(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.license_arn(input.into()); diff --git a/sdk/licensemanager/src/operation/list_licenses/builders.rs b/sdk/licensemanager/src/operation/list_licenses/builders.rs index 411eecabe65c..0ac06f4addc0 100644 --- a/sdk/licensemanager/src/operation/list_licenses/builders.rs +++ b/sdk/licensemanager/src/operation/list_licenses/builders.rs @@ -19,9 +19,9 @@ impl ListLicensesFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl ListLicensesFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_licenses::ListLicenses, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } /// Appends an item to `LicenseArns`. /// /// To override the contents of this collection use [`set_license_arns`](Self::set_license_arns). diff --git a/sdk/licensemanager/src/operation/list_received_grants/builders.rs b/sdk/licensemanager/src/operation/list_received_grants/builders.rs index e26edfa9267a..1bdfdde935c1 100644 --- a/sdk/licensemanager/src/operation/list_received_grants/builders.rs +++ b/sdk/licensemanager/src/operation/list_received_grants/builders.rs @@ -19,9 +19,9 @@ impl ListReceivedGrantsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl ListReceivedGrantsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_received_grants::ListReceivedGrants, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::list_received_grants::ListReceivedGrantsError, + >, + > { + self.customize_middleware().await + } /// Appends an item to `GrantArns`. /// /// To override the contents of this collection use [`set_grant_arns`](Self::set_grant_arns). diff --git a/sdk/licensemanager/src/operation/list_received_grants_for_organization/builders.rs b/sdk/licensemanager/src/operation/list_received_grants_for_organization/builders.rs index d970f60600b9..51711ad00a19 100644 --- a/sdk/licensemanager/src/operation/list_received_grants_for_organization/builders.rs +++ b/sdk/licensemanager/src/operation/list_received_grants_for_organization/builders.rs @@ -19,9 +19,9 @@ impl ListReceivedGrantsForOrganizationFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize(self) -> ::std::result::Result< + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware(self) -> ::std::result::Result< crate::client::customize::CustomizableOperation, ::aws_smithy_http::result::SdkError >{ @@ -64,6 +64,15 @@ impl ListReceivedGrantsForOrganizationFluentBuilder { { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize(self) -> ::std::result::Result< + crate::client::customize::CustomizableOperation, + ::aws_smithy_http::result::SdkError + >{ + self.customize_middleware().await + } ///

                                                                                                                                                                      The Amazon Resource Name (ARN) of the received license.

                                                                                                                                                                      pub fn license_arn(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.license_arn(input.into()); diff --git a/sdk/licensemanager/src/operation/list_received_licenses/builders.rs b/sdk/licensemanager/src/operation/list_received_licenses/builders.rs index f1965d03965b..38331f14bdb9 100644 --- a/sdk/licensemanager/src/operation/list_received_licenses/builders.rs +++ b/sdk/licensemanager/src/operation/list_received_licenses/builders.rs @@ -19,9 +19,9 @@ impl ListReceivedLicensesFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl ListReceivedLicensesFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_received_licenses::ListReceivedLicenses, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::list_received_licenses::ListReceivedLicensesError, + >, + > { + self.customize_middleware().await + } /// Appends an item to `LicenseArns`. /// /// To override the contents of this collection use [`set_license_arns`](Self::set_license_arns). diff --git a/sdk/licensemanager/src/operation/list_received_licenses_for_organization/builders.rs b/sdk/licensemanager/src/operation/list_received_licenses_for_organization/builders.rs index 2e2608c5223d..7756445a4222 100644 --- a/sdk/licensemanager/src/operation/list_received_licenses_for_organization/builders.rs +++ b/sdk/licensemanager/src/operation/list_received_licenses_for_organization/builders.rs @@ -19,9 +19,9 @@ impl ListReceivedLicensesForOrganizationFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize(self) -> ::std::result::Result< + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware(self) -> ::std::result::Result< crate::client::customize::CustomizableOperation, ::aws_smithy_http::result::SdkError >{ @@ -64,6 +64,15 @@ impl ListReceivedLicensesForOrganizationFluentBuilder { { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize(self) -> ::std::result::Result< + crate::client::customize::CustomizableOperation, + ::aws_smithy_http::result::SdkError + >{ + self.customize_middleware().await + } /// Appends an item to `Filters`. /// /// To override the contents of this collection use [`set_filters`](Self::set_filters). diff --git a/sdk/licensemanager/src/operation/list_resource_inventory/builders.rs b/sdk/licensemanager/src/operation/list_resource_inventory/builders.rs index 5e3c7778e84a..18b0ea4b7334 100644 --- a/sdk/licensemanager/src/operation/list_resource_inventory/builders.rs +++ b/sdk/licensemanager/src/operation/list_resource_inventory/builders.rs @@ -19,9 +19,9 @@ impl ListResourceInventoryFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl ListResourceInventoryFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_resource_inventory::ListResourceInventory, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::list_resource_inventory::ListResourceInventoryError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                      Maximum number of results to return in a single call.

                                                                                                                                                                      pub fn max_results(mut self, input: i32) -> Self { self.inner = self.inner.max_results(input); diff --git a/sdk/licensemanager/src/operation/list_tags_for_resource/builders.rs b/sdk/licensemanager/src/operation/list_tags_for_resource/builders.rs index dcf35c2ddf3c..b5b0ddc31c20 100644 --- a/sdk/licensemanager/src/operation/list_tags_for_resource/builders.rs +++ b/sdk/licensemanager/src/operation/list_tags_for_resource/builders.rs @@ -19,9 +19,9 @@ impl ListTagsForResourceFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl ListTagsForResourceFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_tags_for_resource::ListTagsForResource, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::list_tags_for_resource::ListTagsForResourceError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                      Amazon Resource Name (ARN) of the license configuration.

                                                                                                                                                                      pub fn resource_arn(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.resource_arn(input.into()); diff --git a/sdk/licensemanager/src/operation/list_tokens/builders.rs b/sdk/licensemanager/src/operation/list_tokens/builders.rs index 993b02c095da..8223bf14bb22 100644 --- a/sdk/licensemanager/src/operation/list_tokens/builders.rs +++ b/sdk/licensemanager/src/operation/list_tokens/builders.rs @@ -19,9 +19,9 @@ impl ListTokensFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl ListTokensFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_tokens::ListTokens, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } /// Appends an item to `TokenIds`. /// /// To override the contents of this collection use [`set_token_ids`](Self::set_token_ids). diff --git a/sdk/licensemanager/src/operation/list_usage_for_license_configuration/builders.rs b/sdk/licensemanager/src/operation/list_usage_for_license_configuration/builders.rs index d0fca797daff..45ddb298a6d3 100644 --- a/sdk/licensemanager/src/operation/list_usage_for_license_configuration/builders.rs +++ b/sdk/licensemanager/src/operation/list_usage_for_license_configuration/builders.rs @@ -19,9 +19,9 @@ impl ListUsageForLicenseConfigurationFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize(self) -> ::std::result::Result< + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware(self) -> ::std::result::Result< crate::client::customize::CustomizableOperation, ::aws_smithy_http::result::SdkError >{ @@ -64,6 +64,15 @@ impl ListUsageForLicenseConfigurationFluentBuilder { { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize(self) -> ::std::result::Result< + crate::client::customize::CustomizableOperation, + ::aws_smithy_http::result::SdkError + >{ + self.customize_middleware().await + } ///

                                                                                                                                                                      Amazon Resource Name (ARN) of the license configuration.

                                                                                                                                                                      pub fn license_configuration_arn( mut self, diff --git a/sdk/licensemanager/src/operation/reject_grant/builders.rs b/sdk/licensemanager/src/operation/reject_grant/builders.rs index 3ba252c9c6aa..51e956ca8da7 100644 --- a/sdk/licensemanager/src/operation/reject_grant/builders.rs +++ b/sdk/licensemanager/src/operation/reject_grant/builders.rs @@ -19,9 +19,9 @@ impl RejectGrantFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl RejectGrantFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::reject_grant::RejectGrant, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                      Amazon Resource Name (ARN) of the grant.

                                                                                                                                                                      pub fn grant_arn(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.grant_arn(input.into()); diff --git a/sdk/licensemanager/src/operation/tag_resource/builders.rs b/sdk/licensemanager/src/operation/tag_resource/builders.rs index 441ea727c8a1..ec94ed016b54 100644 --- a/sdk/licensemanager/src/operation/tag_resource/builders.rs +++ b/sdk/licensemanager/src/operation/tag_resource/builders.rs @@ -19,9 +19,9 @@ impl TagResourceFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl TagResourceFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::tag_resource::TagResource, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                      Amazon Resource Name (ARN) of the license configuration.

                                                                                                                                                                      pub fn resource_arn(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.resource_arn(input.into()); diff --git a/sdk/licensemanager/src/operation/untag_resource/builders.rs b/sdk/licensemanager/src/operation/untag_resource/builders.rs index 317a3e5cb8bd..58319bc52b4b 100644 --- a/sdk/licensemanager/src/operation/untag_resource/builders.rs +++ b/sdk/licensemanager/src/operation/untag_resource/builders.rs @@ -19,9 +19,9 @@ impl UntagResourceFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl UntagResourceFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::untag_resource::UntagResource, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                      Amazon Resource Name (ARN) of the license configuration.

                                                                                                                                                                      pub fn resource_arn(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.resource_arn(input.into()); diff --git a/sdk/licensemanager/src/operation/update_license_configuration/builders.rs b/sdk/licensemanager/src/operation/update_license_configuration/builders.rs index 276984b55b0d..8469cdfe97a1 100644 --- a/sdk/licensemanager/src/operation/update_license_configuration/builders.rs +++ b/sdk/licensemanager/src/operation/update_license_configuration/builders.rs @@ -19,9 +19,9 @@ impl UpdateLicenseConfigurationFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl UpdateLicenseConfigurationFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::update_license_configuration::UpdateLicenseConfiguration, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::update_license_configuration::UpdateLicenseConfigurationError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                      Amazon Resource Name (ARN) of the license configuration.

                                                                                                                                                                      pub fn license_configuration_arn( mut self, diff --git a/sdk/licensemanager/src/operation/update_license_manager_report_generator/builders.rs b/sdk/licensemanager/src/operation/update_license_manager_report_generator/builders.rs index eafba3b70893..7b3db1a04fb8 100644 --- a/sdk/licensemanager/src/operation/update_license_manager_report_generator/builders.rs +++ b/sdk/licensemanager/src/operation/update_license_manager_report_generator/builders.rs @@ -20,9 +20,9 @@ impl UpdateLicenseManagerReportGeneratorFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize(self) -> ::std::result::Result< + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware(self) -> ::std::result::Result< crate::client::customize::CustomizableOperation, ::aws_smithy_http::result::SdkError >{ @@ -65,6 +65,15 @@ impl UpdateLicenseManagerReportGeneratorFluentBuilder { { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize(self) -> ::std::result::Result< + crate::client::customize::CustomizableOperation, + ::aws_smithy_http::result::SdkError + >{ + self.customize_middleware().await + } ///

                                                                                                                                                                      Amazon Resource Name (ARN) of the report generator to update.

                                                                                                                                                                      pub fn license_manager_report_generator_arn( mut self, diff --git a/sdk/licensemanager/src/operation/update_license_specifications_for_resource/builders.rs b/sdk/licensemanager/src/operation/update_license_specifications_for_resource/builders.rs index 2f5d89bf279d..f3c98297c8a2 100644 --- a/sdk/licensemanager/src/operation/update_license_specifications_for_resource/builders.rs +++ b/sdk/licensemanager/src/operation/update_license_specifications_for_resource/builders.rs @@ -20,9 +20,9 @@ impl UpdateLicenseSpecificationsForResourceFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize(self) -> ::std::result::Result< + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware(self) -> ::std::result::Result< crate::client::customize::CustomizableOperation, ::aws_smithy_http::result::SdkError >{ @@ -65,6 +65,15 @@ impl UpdateLicenseSpecificationsForResourceFluentBuilder { { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize(self) -> ::std::result::Result< + crate::client::customize::CustomizableOperation, + ::aws_smithy_http::result::SdkError + >{ + self.customize_middleware().await + } ///

                                                                                                                                                                      Amazon Resource Name (ARN) of the Amazon Web Services resource.

                                                                                                                                                                      pub fn resource_arn(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.resource_arn(input.into()); diff --git a/sdk/licensemanager/src/operation/update_service_settings/builders.rs b/sdk/licensemanager/src/operation/update_service_settings/builders.rs index baebac5395c0..8b6ec2a16c65 100644 --- a/sdk/licensemanager/src/operation/update_service_settings/builders.rs +++ b/sdk/licensemanager/src/operation/update_service_settings/builders.rs @@ -19,9 +19,9 @@ impl UpdateServiceSettingsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl UpdateServiceSettingsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::update_service_settings::UpdateServiceSettings, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::update_service_settings::UpdateServiceSettingsError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                      Amazon Resource Name (ARN) of the Amazon S3 bucket where the License Manager information is stored.

                                                                                                                                                                      pub fn s3_bucket_arn( mut self, diff --git a/sdk/licensemanagerlinuxsubscriptions/src/operation/get_service_settings/builders.rs b/sdk/licensemanagerlinuxsubscriptions/src/operation/get_service_settings/builders.rs index 2948244ec404..c21c113024e1 100644 --- a/sdk/licensemanagerlinuxsubscriptions/src/operation/get_service_settings/builders.rs +++ b/sdk/licensemanagerlinuxsubscriptions/src/operation/get_service_settings/builders.rs @@ -19,9 +19,9 @@ impl GetServiceSettingsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,4 +83,20 @@ impl GetServiceSettingsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::get_service_settings::GetServiceSettings, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::get_service_settings::GetServiceSettingsError, + >, + > { + self.customize_middleware().await + } } diff --git a/sdk/licensemanagerlinuxsubscriptions/src/operation/list_linux_subscription_instances/builders.rs b/sdk/licensemanagerlinuxsubscriptions/src/operation/list_linux_subscription_instances/builders.rs index 827068b60bd8..9cfe4c9da98a 100644 --- a/sdk/licensemanagerlinuxsubscriptions/src/operation/list_linux_subscription_instances/builders.rs +++ b/sdk/licensemanagerlinuxsubscriptions/src/operation/list_linux_subscription_instances/builders.rs @@ -19,9 +19,9 @@ impl ListLinuxSubscriptionInstancesFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize(self) -> ::std::result::Result< + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware(self) -> ::std::result::Result< crate::client::customize::CustomizableOperation, ::aws_smithy_http::result::SdkError >{ @@ -64,6 +64,15 @@ impl ListLinuxSubscriptionInstancesFluentBuilder { { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize(self) -> ::std::result::Result< + crate::client::customize::CustomizableOperation, + ::aws_smithy_http::result::SdkError + >{ + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::list_linux_subscription_instances::paginator::ListLinuxSubscriptionInstancesPaginator::send) which returns a `Stream`. diff --git a/sdk/licensemanagerlinuxsubscriptions/src/operation/list_linux_subscriptions/builders.rs b/sdk/licensemanagerlinuxsubscriptions/src/operation/list_linux_subscriptions/builders.rs index 356ac3bd95ce..35cf5ea103e8 100644 --- a/sdk/licensemanagerlinuxsubscriptions/src/operation/list_linux_subscriptions/builders.rs +++ b/sdk/licensemanagerlinuxsubscriptions/src/operation/list_linux_subscriptions/builders.rs @@ -19,9 +19,9 @@ impl ListLinuxSubscriptionsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl ListLinuxSubscriptionsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_linux_subscriptions::ListLinuxSubscriptions, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::list_linux_subscriptions::ListLinuxSubscriptionsError, + >, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::list_linux_subscriptions::paginator::ListLinuxSubscriptionsPaginator::send) which returns a `Stream`. diff --git a/sdk/licensemanagerlinuxsubscriptions/src/operation/update_service_settings/builders.rs b/sdk/licensemanagerlinuxsubscriptions/src/operation/update_service_settings/builders.rs index 4f3bce32bc19..ccfdcdb2ee83 100644 --- a/sdk/licensemanagerlinuxsubscriptions/src/operation/update_service_settings/builders.rs +++ b/sdk/licensemanagerlinuxsubscriptions/src/operation/update_service_settings/builders.rs @@ -19,9 +19,9 @@ impl UpdateServiceSettingsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl UpdateServiceSettingsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::update_service_settings::UpdateServiceSettings, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::update_service_settings::UpdateServiceSettingsError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                      Describes if the discovery of Linux subscriptions is enabled.

                                                                                                                                                                      pub fn linux_subscriptions_discovery( mut self, diff --git a/sdk/licensemanagerusersubscriptions/src/operation/associate_user/builders.rs b/sdk/licensemanagerusersubscriptions/src/operation/associate_user/builders.rs index 319581d308aa..f64cd4a01eb0 100644 --- a/sdk/licensemanagerusersubscriptions/src/operation/associate_user/builders.rs +++ b/sdk/licensemanagerusersubscriptions/src/operation/associate_user/builders.rs @@ -21,9 +21,9 @@ impl AssociateUserFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -79,6 +79,20 @@ impl AssociateUserFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::associate_user::AssociateUser, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                      The user name from the identity provider for the user.

                                                                                                                                                                      pub fn username(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.username(input.into()); diff --git a/sdk/licensemanagerusersubscriptions/src/operation/deregister_identity_provider/builders.rs b/sdk/licensemanagerusersubscriptions/src/operation/deregister_identity_provider/builders.rs index c9f3ee875c82..baa0d47628d8 100644 --- a/sdk/licensemanagerusersubscriptions/src/operation/deregister_identity_provider/builders.rs +++ b/sdk/licensemanagerusersubscriptions/src/operation/deregister_identity_provider/builders.rs @@ -19,9 +19,9 @@ impl DeregisterIdentityProviderFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl DeregisterIdentityProviderFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::deregister_identity_provider::DeregisterIdentityProvider, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::deregister_identity_provider::DeregisterIdentityProviderError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                      An object that specifies details for the identity provider.

                                                                                                                                                                      pub fn identity_provider(mut self, input: crate::types::IdentityProvider) -> Self { self.inner = self.inner.identity_provider(input); diff --git a/sdk/licensemanagerusersubscriptions/src/operation/disassociate_user/builders.rs b/sdk/licensemanagerusersubscriptions/src/operation/disassociate_user/builders.rs index 963ceab97378..3ea9cafa38fe 100644 --- a/sdk/licensemanagerusersubscriptions/src/operation/disassociate_user/builders.rs +++ b/sdk/licensemanagerusersubscriptions/src/operation/disassociate_user/builders.rs @@ -19,9 +19,9 @@ impl DisassociateUserFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl DisassociateUserFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::disassociate_user::DisassociateUser, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::disassociate_user::DisassociateUserError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                      The user name from the identity provider for the user.

                                                                                                                                                                      pub fn username(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.username(input.into()); diff --git a/sdk/licensemanagerusersubscriptions/src/operation/list_identity_providers/builders.rs b/sdk/licensemanagerusersubscriptions/src/operation/list_identity_providers/builders.rs index 40de5a3ca513..366bfac5aa01 100644 --- a/sdk/licensemanagerusersubscriptions/src/operation/list_identity_providers/builders.rs +++ b/sdk/licensemanagerusersubscriptions/src/operation/list_identity_providers/builders.rs @@ -19,9 +19,9 @@ impl ListIdentityProvidersFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl ListIdentityProvidersFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_identity_providers::ListIdentityProviders, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::list_identity_providers::ListIdentityProvidersError, + >, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::list_identity_providers::paginator::ListIdentityProvidersPaginator::send) which returns a `Stream`. diff --git a/sdk/licensemanagerusersubscriptions/src/operation/list_instances/builders.rs b/sdk/licensemanagerusersubscriptions/src/operation/list_instances/builders.rs index 7f9bc99692ce..87bdbdd3da61 100644 --- a/sdk/licensemanagerusersubscriptions/src/operation/list_instances/builders.rs +++ b/sdk/licensemanagerusersubscriptions/src/operation/list_instances/builders.rs @@ -19,9 +19,9 @@ impl ListInstancesFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl ListInstancesFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_instances::ListInstances, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::list_instances::paginator::ListInstancesPaginator::send) which returns a `Stream`. diff --git a/sdk/licensemanagerusersubscriptions/src/operation/list_product_subscriptions/builders.rs b/sdk/licensemanagerusersubscriptions/src/operation/list_product_subscriptions/builders.rs index 991e521e606d..bf1d6d086899 100644 --- a/sdk/licensemanagerusersubscriptions/src/operation/list_product_subscriptions/builders.rs +++ b/sdk/licensemanagerusersubscriptions/src/operation/list_product_subscriptions/builders.rs @@ -19,9 +19,9 @@ impl ListProductSubscriptionsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl ListProductSubscriptionsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_product_subscriptions::ListProductSubscriptions, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::list_product_subscriptions::ListProductSubscriptionsError, + >, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::list_product_subscriptions::paginator::ListProductSubscriptionsPaginator::send) which returns a `Stream`. diff --git a/sdk/licensemanagerusersubscriptions/src/operation/list_user_associations/builders.rs b/sdk/licensemanagerusersubscriptions/src/operation/list_user_associations/builders.rs index db724d6657b9..a84261148eee 100644 --- a/sdk/licensemanagerusersubscriptions/src/operation/list_user_associations/builders.rs +++ b/sdk/licensemanagerusersubscriptions/src/operation/list_user_associations/builders.rs @@ -19,9 +19,9 @@ impl ListUserAssociationsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl ListUserAssociationsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_user_associations::ListUserAssociations, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::list_user_associations::ListUserAssociationsError, + >, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::list_user_associations::paginator::ListUserAssociationsPaginator::send) which returns a `Stream`. diff --git a/sdk/licensemanagerusersubscriptions/src/operation/register_identity_provider/builders.rs b/sdk/licensemanagerusersubscriptions/src/operation/register_identity_provider/builders.rs index 1a13f48cb024..9fff49ef22e6 100644 --- a/sdk/licensemanagerusersubscriptions/src/operation/register_identity_provider/builders.rs +++ b/sdk/licensemanagerusersubscriptions/src/operation/register_identity_provider/builders.rs @@ -19,9 +19,9 @@ impl RegisterIdentityProviderFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl RegisterIdentityProviderFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::register_identity_provider::RegisterIdentityProvider, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::register_identity_provider::RegisterIdentityProviderError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                      An object that specifies details for the identity provider.

                                                                                                                                                                      pub fn identity_provider(mut self, input: crate::types::IdentityProvider) -> Self { self.inner = self.inner.identity_provider(input); diff --git a/sdk/licensemanagerusersubscriptions/src/operation/start_product_subscription/builders.rs b/sdk/licensemanagerusersubscriptions/src/operation/start_product_subscription/builders.rs index a1ce6623da6c..6d1baea3c21a 100644 --- a/sdk/licensemanagerusersubscriptions/src/operation/start_product_subscription/builders.rs +++ b/sdk/licensemanagerusersubscriptions/src/operation/start_product_subscription/builders.rs @@ -21,9 +21,9 @@ impl StartProductSubscriptionFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -85,6 +85,22 @@ impl StartProductSubscriptionFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::start_product_subscription::StartProductSubscription, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::start_product_subscription::StartProductSubscriptionError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                      The user name from the identity provider of the user.

                                                                                                                                                                      pub fn username(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.username(input.into()); diff --git a/sdk/licensemanagerusersubscriptions/src/operation/stop_product_subscription/builders.rs b/sdk/licensemanagerusersubscriptions/src/operation/stop_product_subscription/builders.rs index c0aec25f15ea..bc4104f489e9 100644 --- a/sdk/licensemanagerusersubscriptions/src/operation/stop_product_subscription/builders.rs +++ b/sdk/licensemanagerusersubscriptions/src/operation/stop_product_subscription/builders.rs @@ -20,9 +20,9 @@ impl StopProductSubscriptionFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -84,6 +84,22 @@ impl StopProductSubscriptionFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::stop_product_subscription::StopProductSubscription, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::stop_product_subscription::StopProductSubscriptionError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                      The user name from the identity provider for the user.

                                                                                                                                                                      pub fn username(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.username(input.into()); diff --git a/sdk/licensemanagerusersubscriptions/src/operation/update_identity_provider_settings/builders.rs b/sdk/licensemanagerusersubscriptions/src/operation/update_identity_provider_settings/builders.rs index 48da82180595..f3b1d55d58fa 100644 --- a/sdk/licensemanagerusersubscriptions/src/operation/update_identity_provider_settings/builders.rs +++ b/sdk/licensemanagerusersubscriptions/src/operation/update_identity_provider_settings/builders.rs @@ -19,9 +19,9 @@ impl UpdateIdentityProviderSettingsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize(self) -> ::std::result::Result< + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware(self) -> ::std::result::Result< crate::client::customize::CustomizableOperation, ::aws_smithy_http::result::SdkError >{ @@ -64,6 +64,15 @@ impl UpdateIdentityProviderSettingsFluentBuilder { { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize(self) -> ::std::result::Result< + crate::client::customize::CustomizableOperation, + ::aws_smithy_http::result::SdkError + >{ + self.customize_middleware().await + } ///

                                                                                                                                                                      Details about an identity provider.

                                                                                                                                                                      pub fn identity_provider(mut self, input: crate::types::IdentityProvider) -> Self { self.inner = self.inner.identity_provider(input); diff --git a/sdk/lightsail/src/operation/allocate_static_ip/builders.rs b/sdk/lightsail/src/operation/allocate_static_ip/builders.rs index 6309196936e4..394e2a32b5d0 100644 --- a/sdk/lightsail/src/operation/allocate_static_ip/builders.rs +++ b/sdk/lightsail/src/operation/allocate_static_ip/builders.rs @@ -19,9 +19,9 @@ impl AllocateStaticIpFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl AllocateStaticIpFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::allocate_static_ip::AllocateStaticIp, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::allocate_static_ip::AllocateStaticIpError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                      The name of the static IP address.

                                                                                                                                                                      pub fn static_ip_name( mut self, diff --git a/sdk/lightsail/src/operation/attach_certificate_to_distribution/builders.rs b/sdk/lightsail/src/operation/attach_certificate_to_distribution/builders.rs index b738c741b9bb..1e20798d3942 100644 --- a/sdk/lightsail/src/operation/attach_certificate_to_distribution/builders.rs +++ b/sdk/lightsail/src/operation/attach_certificate_to_distribution/builders.rs @@ -23,9 +23,9 @@ impl AttachCertificateToDistributionFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize(self) -> ::std::result::Result< + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware(self) -> ::std::result::Result< crate::client::customize::CustomizableOperation, ::aws_smithy_http::result::SdkError >{ @@ -68,6 +68,15 @@ impl AttachCertificateToDistributionFluentBuilder { { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize(self) -> ::std::result::Result< + crate::client::customize::CustomizableOperation, + ::aws_smithy_http::result::SdkError + >{ + self.customize_middleware().await + } ///

                                                                                                                                                                      The name of the distribution that the certificate will be attached to.

                                                                                                                                                                      ///

                                                                                                                                                                      Use the GetDistributions action to get a list of distribution names that you can specify.

                                                                                                                                                                      pub fn distribution_name( diff --git a/sdk/lightsail/src/operation/attach_disk/builders.rs b/sdk/lightsail/src/operation/attach_disk/builders.rs index 21c5dbaad35d..f90c84a4a1a2 100644 --- a/sdk/lightsail/src/operation/attach_disk/builders.rs +++ b/sdk/lightsail/src/operation/attach_disk/builders.rs @@ -20,9 +20,9 @@ impl AttachDiskFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -78,6 +78,20 @@ impl AttachDiskFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::attach_disk::AttachDisk, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                      The unique Lightsail disk name (e.g., my-disk).

                                                                                                                                                                      pub fn disk_name(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.disk_name(input.into()); diff --git a/sdk/lightsail/src/operation/attach_instances_to_load_balancer/builders.rs b/sdk/lightsail/src/operation/attach_instances_to_load_balancer/builders.rs index 4eed50b91c49..d8d7e4ea99f2 100644 --- a/sdk/lightsail/src/operation/attach_instances_to_load_balancer/builders.rs +++ b/sdk/lightsail/src/operation/attach_instances_to_load_balancer/builders.rs @@ -21,9 +21,9 @@ impl AttachInstancesToLoadBalancerFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -85,6 +85,22 @@ impl AttachInstancesToLoadBalancerFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::attach_instances_to_load_balancer::AttachInstancesToLoadBalancer, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::attach_instances_to_load_balancer::AttachInstancesToLoadBalancerError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                      The name of the load balancer.

                                                                                                                                                                      pub fn load_balancer_name( mut self, diff --git a/sdk/lightsail/src/operation/attach_load_balancer_tls_certificate/builders.rs b/sdk/lightsail/src/operation/attach_load_balancer_tls_certificate/builders.rs index 82ff894804ea..cc324558bbac 100644 --- a/sdk/lightsail/src/operation/attach_load_balancer_tls_certificate/builders.rs +++ b/sdk/lightsail/src/operation/attach_load_balancer_tls_certificate/builders.rs @@ -21,9 +21,9 @@ impl AttachLoadBalancerTlsCertificateFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize(self) -> ::std::result::Result< + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware(self) -> ::std::result::Result< crate::client::customize::CustomizableOperation, ::aws_smithy_http::result::SdkError >{ @@ -66,6 +66,15 @@ impl AttachLoadBalancerTlsCertificateFluentBuilder { { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize(self) -> ::std::result::Result< + crate::client::customize::CustomizableOperation, + ::aws_smithy_http::result::SdkError + >{ + self.customize_middleware().await + } ///

                                                                                                                                                                      The name of the load balancer to which you want to associate the SSL/TLS certificate.

                                                                                                                                                                      pub fn load_balancer_name( mut self, diff --git a/sdk/lightsail/src/operation/attach_static_ip/builders.rs b/sdk/lightsail/src/operation/attach_static_ip/builders.rs index 8f310edd997d..f6764c0faa96 100644 --- a/sdk/lightsail/src/operation/attach_static_ip/builders.rs +++ b/sdk/lightsail/src/operation/attach_static_ip/builders.rs @@ -19,9 +19,9 @@ impl AttachStaticIpFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl AttachStaticIpFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::attach_static_ip::AttachStaticIp, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::attach_static_ip::AttachStaticIpError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                      The name of the static IP.

                                                                                                                                                                      pub fn static_ip_name( mut self, diff --git a/sdk/lightsail/src/operation/close_instance_public_ports/builders.rs b/sdk/lightsail/src/operation/close_instance_public_ports/builders.rs index 8036280dc7bf..1d357dcbbed6 100644 --- a/sdk/lightsail/src/operation/close_instance_public_ports/builders.rs +++ b/sdk/lightsail/src/operation/close_instance_public_ports/builders.rs @@ -20,9 +20,9 @@ impl CloseInstancePublicPortsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -84,6 +84,22 @@ impl CloseInstancePublicPortsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::close_instance_public_ports::CloseInstancePublicPorts, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::close_instance_public_ports::CloseInstancePublicPortsError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                      An object to describe the ports to close for the specified instance.

                                                                                                                                                                      pub fn port_info(mut self, input: crate::types::PortInfo) -> Self { self.inner = self.inner.port_info(input); diff --git a/sdk/lightsail/src/operation/copy_snapshot/builders.rs b/sdk/lightsail/src/operation/copy_snapshot/builders.rs index 93e1ffa03c13..85fe4040317c 100644 --- a/sdk/lightsail/src/operation/copy_snapshot/builders.rs +++ b/sdk/lightsail/src/operation/copy_snapshot/builders.rs @@ -21,9 +21,9 @@ impl CopySnapshotFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -79,6 +79,20 @@ impl CopySnapshotFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::copy_snapshot::CopySnapshot, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                      The name of the source manual snapshot to copy.

                                                                                                                                                                      ///

                                                                                                                                                                      Constraint:

                                                                                                                                                                      ///
                                                                                                                                                                        diff --git a/sdk/lightsail/src/operation/create_bucket/builders.rs b/sdk/lightsail/src/operation/create_bucket/builders.rs index 51f5a76ad16b..60ccb68ea00e 100644 --- a/sdk/lightsail/src/operation/create_bucket/builders.rs +++ b/sdk/lightsail/src/operation/create_bucket/builders.rs @@ -20,9 +20,9 @@ impl CreateBucketFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -78,6 +78,20 @@ impl CreateBucketFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::create_bucket::CreateBucket, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                        The name for the bucket.

                                                                                                                                                                        ///

                                                                                                                                                                        For more information about bucket names, see Bucket naming rules in Amazon Lightsail in the Amazon Lightsail Developer Guide.

                                                                                                                                                                        pub fn bucket_name(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { diff --git a/sdk/lightsail/src/operation/create_bucket_access_key/builders.rs b/sdk/lightsail/src/operation/create_bucket_access_key/builders.rs index 8ceb1b7f68b8..3781a90b5926 100644 --- a/sdk/lightsail/src/operation/create_bucket_access_key/builders.rs +++ b/sdk/lightsail/src/operation/create_bucket_access_key/builders.rs @@ -22,9 +22,9 @@ impl CreateBucketAccessKeyFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -86,6 +86,22 @@ impl CreateBucketAccessKeyFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::create_bucket_access_key::CreateBucketAccessKey, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::create_bucket_access_key::CreateBucketAccessKeyError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                        The name of the bucket that the new access key will belong to, and grant access to.

                                                                                                                                                                        pub fn bucket_name(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.bucket_name(input.into()); diff --git a/sdk/lightsail/src/operation/create_certificate/builders.rs b/sdk/lightsail/src/operation/create_certificate/builders.rs index 5fe383e3b1a2..56ec9980106e 100644 --- a/sdk/lightsail/src/operation/create_certificate/builders.rs +++ b/sdk/lightsail/src/operation/create_certificate/builders.rs @@ -22,9 +22,9 @@ impl CreateCertificateFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -86,6 +86,22 @@ impl CreateCertificateFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::create_certificate::CreateCertificate, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::create_certificate::CreateCertificateError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                        The name for the certificate.

                                                                                                                                                                        pub fn certificate_name( mut self, diff --git a/sdk/lightsail/src/operation/create_cloud_formation_stack/builders.rs b/sdk/lightsail/src/operation/create_cloud_formation_stack/builders.rs index 55a9982a8ae5..9804d88382c0 100644 --- a/sdk/lightsail/src/operation/create_cloud_formation_stack/builders.rs +++ b/sdk/lightsail/src/operation/create_cloud_formation_stack/builders.rs @@ -21,9 +21,9 @@ impl CreateCloudFormationStackFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -85,6 +85,22 @@ impl CreateCloudFormationStackFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::create_cloud_formation_stack::CreateCloudFormationStack, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::create_cloud_formation_stack::CreateCloudFormationStackError, + >, + > { + self.customize_middleware().await + } /// Appends an item to `instances`. /// /// To override the contents of this collection use [`set_instances`](Self::set_instances). diff --git a/sdk/lightsail/src/operation/create_contact_method/builders.rs b/sdk/lightsail/src/operation/create_contact_method/builders.rs index d2d0c7c9bb2e..900faee4c314 100644 --- a/sdk/lightsail/src/operation/create_contact_method/builders.rs +++ b/sdk/lightsail/src/operation/create_contact_method/builders.rs @@ -20,9 +20,9 @@ impl CreateContactMethodFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -84,6 +84,22 @@ impl CreateContactMethodFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::create_contact_method::CreateContactMethod, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::create_contact_method::CreateContactMethodError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                        The protocol of the contact method, such as Email or SMS (text messaging).

                                                                                                                                                                        ///

                                                                                                                                                                        The SMS protocol is supported only in the following Amazon Web Services Regions.

                                                                                                                                                                        ///
                                                                                                                                                                          diff --git a/sdk/lightsail/src/operation/create_container_service/builders.rs b/sdk/lightsail/src/operation/create_container_service/builders.rs index ecc4f9a2ba3e..4f029e7c2e4e 100644 --- a/sdk/lightsail/src/operation/create_container_service/builders.rs +++ b/sdk/lightsail/src/operation/create_container_service/builders.rs @@ -20,9 +20,9 @@ impl CreateContainerServiceFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -84,6 +84,22 @@ impl CreateContainerServiceFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::create_container_service::CreateContainerService, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::create_container_service::CreateContainerServiceError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                          The name for the container service.

                                                                                                                                                                          ///

                                                                                                                                                                          The name that you specify for your container service will make up part of its default domain. The default domain of a container service is typically https:// /// diff --git a/sdk/lightsail/src/operation/create_container_service_deployment/builders.rs b/sdk/lightsail/src/operation/create_container_service_deployment/builders.rs index f8f6fe4757ab..345611ab605c 100644 --- a/sdk/lightsail/src/operation/create_container_service_deployment/builders.rs +++ b/sdk/lightsail/src/operation/create_container_service_deployment/builders.rs @@ -21,9 +21,9 @@ impl CreateContainerServiceDeploymentFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize(self) -> ::std::result::Result< + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware(self) -> ::std::result::Result< crate::client::customize::CustomizableOperation, ::aws_smithy_http::result::SdkError >{ @@ -66,6 +66,15 @@ impl CreateContainerServiceDeploymentFluentBuilder { { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize(self) -> ::std::result::Result< + crate::client::customize::CustomizableOperation, + ::aws_smithy_http::result::SdkError + >{ + self.customize_middleware().await + } ///

                                                                                                                                                                          The name of the container service for which to create the deployment.

                                                                                                                                                                          pub fn service_name(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.service_name(input.into()); diff --git a/sdk/lightsail/src/operation/create_container_service_registry_login/builders.rs b/sdk/lightsail/src/operation/create_container_service_registry_login/builders.rs index d741361130a5..ac5e07fe0689 100644 --- a/sdk/lightsail/src/operation/create_container_service_registry_login/builders.rs +++ b/sdk/lightsail/src/operation/create_container_service_registry_login/builders.rs @@ -24,9 +24,9 @@ impl CreateContainerServiceRegistryLoginFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize(self) -> ::std::result::Result< + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware(self) -> ::std::result::Result< crate::client::customize::CustomizableOperation, ::aws_smithy_http::result::SdkError >{ @@ -69,4 +69,13 @@ impl CreateContainerServiceRegistryLoginFluentBuilder { { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize(self) -> ::std::result::Result< + crate::client::customize::CustomizableOperation, + ::aws_smithy_http::result::SdkError + >{ + self.customize_middleware().await + } } diff --git a/sdk/lightsail/src/operation/create_disk/builders.rs b/sdk/lightsail/src/operation/create_disk/builders.rs index 59dcf0dbc62e..20c0dfc2fe55 100644 --- a/sdk/lightsail/src/operation/create_disk/builders.rs +++ b/sdk/lightsail/src/operation/create_disk/builders.rs @@ -20,9 +20,9 @@ impl CreateDiskFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -78,6 +78,20 @@ impl CreateDiskFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::create_disk::CreateDisk, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                          The unique Lightsail disk name (e.g., my-disk).

                                                                                                                                                                          pub fn disk_name(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.disk_name(input.into()); diff --git a/sdk/lightsail/src/operation/create_disk_from_snapshot/builders.rs b/sdk/lightsail/src/operation/create_disk_from_snapshot/builders.rs index 6417064acd6e..6741241c5a7d 100644 --- a/sdk/lightsail/src/operation/create_disk_from_snapshot/builders.rs +++ b/sdk/lightsail/src/operation/create_disk_from_snapshot/builders.rs @@ -21,9 +21,9 @@ impl CreateDiskFromSnapshotFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -85,6 +85,22 @@ impl CreateDiskFromSnapshotFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::create_disk_from_snapshot::CreateDiskFromSnapshot, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::create_disk_from_snapshot::CreateDiskFromSnapshotError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                          The unique Lightsail disk name (e.g., my-disk).

                                                                                                                                                                          pub fn disk_name(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.disk_name(input.into()); diff --git a/sdk/lightsail/src/operation/create_disk_snapshot/builders.rs b/sdk/lightsail/src/operation/create_disk_snapshot/builders.rs index 83a9a906daf7..bc3c5973634e 100644 --- a/sdk/lightsail/src/operation/create_disk_snapshot/builders.rs +++ b/sdk/lightsail/src/operation/create_disk_snapshot/builders.rs @@ -22,9 +22,9 @@ impl CreateDiskSnapshotFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -86,6 +86,22 @@ impl CreateDiskSnapshotFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::create_disk_snapshot::CreateDiskSnapshot, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::create_disk_snapshot::CreateDiskSnapshotError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                          The unique name of the source disk (e.g., Disk-Virginia-1).

                                                                                                                                                                          ///

                                                                                                                                                                          This parameter cannot be defined together with the instance name parameter. The disk name and instance name parameters are mutually exclusive.

                                                                                                                                                                          ///
                                                                                                                                                                          diff --git a/sdk/lightsail/src/operation/create_distribution/builders.rs b/sdk/lightsail/src/operation/create_distribution/builders.rs index e40bd11eee64..055df98f6864 100644 --- a/sdk/lightsail/src/operation/create_distribution/builders.rs +++ b/sdk/lightsail/src/operation/create_distribution/builders.rs @@ -20,9 +20,9 @@ impl CreateDistributionFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -84,6 +84,22 @@ impl CreateDistributionFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::create_distribution::CreateDistribution, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::create_distribution::CreateDistributionError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                          The name for the distribution.

                                                                                                                                                                          pub fn distribution_name( mut self, diff --git a/sdk/lightsail/src/operation/create_domain/builders.rs b/sdk/lightsail/src/operation/create_domain/builders.rs index d79ce56068c5..a454ac064716 100644 --- a/sdk/lightsail/src/operation/create_domain/builders.rs +++ b/sdk/lightsail/src/operation/create_domain/builders.rs @@ -20,9 +20,9 @@ impl CreateDomainFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -78,6 +78,20 @@ impl CreateDomainFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::create_domain::CreateDomain, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                          The domain name to manage (e.g., example.com).

                                                                                                                                                                          pub fn domain_name(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.domain_name(input.into()); diff --git a/sdk/lightsail/src/operation/create_domain_entry/builders.rs b/sdk/lightsail/src/operation/create_domain_entry/builders.rs index 72741a4a108e..372c18ea56b7 100644 --- a/sdk/lightsail/src/operation/create_domain_entry/builders.rs +++ b/sdk/lightsail/src/operation/create_domain_entry/builders.rs @@ -20,9 +20,9 @@ impl CreateDomainEntryFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -84,6 +84,22 @@ impl CreateDomainEntryFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::create_domain_entry::CreateDomainEntry, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::create_domain_entry::CreateDomainEntryError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                          The domain name (e.g., example.com) for which you want to create the domain entry.

                                                                                                                                                                          pub fn domain_name(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.domain_name(input.into()); diff --git a/sdk/lightsail/src/operation/create_gui_session_access_details/builders.rs b/sdk/lightsail/src/operation/create_gui_session_access_details/builders.rs index 56bf2f265048..6c0aa87dc363 100644 --- a/sdk/lightsail/src/operation/create_gui_session_access_details/builders.rs +++ b/sdk/lightsail/src/operation/create_gui_session_access_details/builders.rs @@ -20,9 +20,9 @@ impl CreateGUISessionAccessDetailsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -84,6 +84,22 @@ impl CreateGUISessionAccessDetailsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::create_gui_session_access_details::CreateGUISessionAccessDetails, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::create_gui_session_access_details::CreateGUISessionAccessDetailsError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                          The resource name.

                                                                                                                                                                          pub fn resource_name( mut self, diff --git a/sdk/lightsail/src/operation/create_instance_snapshot/builders.rs b/sdk/lightsail/src/operation/create_instance_snapshot/builders.rs index 1ce68c47a020..ce1adfa03113 100644 --- a/sdk/lightsail/src/operation/create_instance_snapshot/builders.rs +++ b/sdk/lightsail/src/operation/create_instance_snapshot/builders.rs @@ -20,9 +20,9 @@ impl CreateInstanceSnapshotFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -84,6 +84,22 @@ impl CreateInstanceSnapshotFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::create_instance_snapshot::CreateInstanceSnapshot, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::create_instance_snapshot::CreateInstanceSnapshotError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                          The name for your new snapshot.

                                                                                                                                                                          pub fn instance_snapshot_name( mut self, diff --git a/sdk/lightsail/src/operation/create_instances/builders.rs b/sdk/lightsail/src/operation/create_instances/builders.rs index 12f99dc79e4b..c23c35890b66 100644 --- a/sdk/lightsail/src/operation/create_instances/builders.rs +++ b/sdk/lightsail/src/operation/create_instances/builders.rs @@ -20,9 +20,9 @@ impl CreateInstancesFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -84,6 +84,22 @@ impl CreateInstancesFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::create_instances::CreateInstances, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::create_instances::CreateInstancesError, + >, + > { + self.customize_middleware().await + } /// Appends an item to `instanceNames`. /// /// To override the contents of this collection use [`set_instance_names`](Self::set_instance_names). diff --git a/sdk/lightsail/src/operation/create_instances_from_snapshot/builders.rs b/sdk/lightsail/src/operation/create_instances_from_snapshot/builders.rs index 25aa775fce2c..4f835db6c849 100644 --- a/sdk/lightsail/src/operation/create_instances_from_snapshot/builders.rs +++ b/sdk/lightsail/src/operation/create_instances_from_snapshot/builders.rs @@ -20,9 +20,9 @@ impl CreateInstancesFromSnapshotFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -84,6 +84,22 @@ impl CreateInstancesFromSnapshotFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::create_instances_from_snapshot::CreateInstancesFromSnapshot, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::create_instances_from_snapshot::CreateInstancesFromSnapshotError, + >, + > { + self.customize_middleware().await + } /// Appends an item to `instanceNames`. /// /// To override the contents of this collection use [`set_instance_names`](Self::set_instance_names). diff --git a/sdk/lightsail/src/operation/create_key_pair/builders.rs b/sdk/lightsail/src/operation/create_key_pair/builders.rs index 93262aac9039..d6f103512dc6 100644 --- a/sdk/lightsail/src/operation/create_key_pair/builders.rs +++ b/sdk/lightsail/src/operation/create_key_pair/builders.rs @@ -22,9 +22,9 @@ impl CreateKeyPairFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -80,6 +80,20 @@ impl CreateKeyPairFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::create_key_pair::CreateKeyPair, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                          The name for your new key pair.

                                                                                                                                                                          pub fn key_pair_name( mut self, diff --git a/sdk/lightsail/src/operation/create_load_balancer/builders.rs b/sdk/lightsail/src/operation/create_load_balancer/builders.rs index 8fe4491092d3..5771f8bb2208 100644 --- a/sdk/lightsail/src/operation/create_load_balancer/builders.rs +++ b/sdk/lightsail/src/operation/create_load_balancer/builders.rs @@ -21,9 +21,9 @@ impl CreateLoadBalancerFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -85,6 +85,22 @@ impl CreateLoadBalancerFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::create_load_balancer::CreateLoadBalancer, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::create_load_balancer::CreateLoadBalancerError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                          The name of your load balancer.

                                                                                                                                                                          pub fn load_balancer_name( mut self, diff --git a/sdk/lightsail/src/operation/create_load_balancer_tls_certificate/builders.rs b/sdk/lightsail/src/operation/create_load_balancer_tls_certificate/builders.rs index 9a9f0fd77258..224020172e9e 100644 --- a/sdk/lightsail/src/operation/create_load_balancer_tls_certificate/builders.rs +++ b/sdk/lightsail/src/operation/create_load_balancer_tls_certificate/builders.rs @@ -21,9 +21,9 @@ impl CreateLoadBalancerTlsCertificateFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize(self) -> ::std::result::Result< + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware(self) -> ::std::result::Result< crate::client::customize::CustomizableOperation, ::aws_smithy_http::result::SdkError >{ @@ -66,6 +66,15 @@ impl CreateLoadBalancerTlsCertificateFluentBuilder { { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize(self) -> ::std::result::Result< + crate::client::customize::CustomizableOperation, + ::aws_smithy_http::result::SdkError + >{ + self.customize_middleware().await + } ///

                                                                                                                                                                          The load balancer name where you want to create the SSL/TLS certificate.

                                                                                                                                                                          pub fn load_balancer_name( mut self, diff --git a/sdk/lightsail/src/operation/create_relational_database/builders.rs b/sdk/lightsail/src/operation/create_relational_database/builders.rs index b3c0e6af8c12..840816293b25 100644 --- a/sdk/lightsail/src/operation/create_relational_database/builders.rs +++ b/sdk/lightsail/src/operation/create_relational_database/builders.rs @@ -20,9 +20,9 @@ impl CreateRelationalDatabaseFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -84,6 +84,22 @@ impl CreateRelationalDatabaseFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::create_relational_database::CreateRelationalDatabase, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::create_relational_database::CreateRelationalDatabaseError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                          The name to use for your new Lightsail database resource.

                                                                                                                                                                          ///

                                                                                                                                                                          Constraints:

                                                                                                                                                                          ///
                                                                                                                                                                            diff --git a/sdk/lightsail/src/operation/create_relational_database_from_snapshot/builders.rs b/sdk/lightsail/src/operation/create_relational_database_from_snapshot/builders.rs index d16f5a78d0f1..7d2fa0741866 100644 --- a/sdk/lightsail/src/operation/create_relational_database_from_snapshot/builders.rs +++ b/sdk/lightsail/src/operation/create_relational_database_from_snapshot/builders.rs @@ -21,9 +21,9 @@ impl CreateRelationalDatabaseFromSnapshotFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize(self) -> ::std::result::Result< + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware(self) -> ::std::result::Result< crate::client::customize::CustomizableOperation, ::aws_smithy_http::result::SdkError >{ @@ -66,6 +66,15 @@ impl CreateRelationalDatabaseFromSnapshotFluentBuilder { { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize(self) -> ::std::result::Result< + crate::client::customize::CustomizableOperation, + ::aws_smithy_http::result::SdkError + >{ + self.customize_middleware().await + } ///

                                                                                                                                                                            The name to use for your new Lightsail database resource.

                                                                                                                                                                            ///

                                                                                                                                                                            Constraints:

                                                                                                                                                                            ///
                                                                                                                                                                              diff --git a/sdk/lightsail/src/operation/create_relational_database_snapshot/builders.rs b/sdk/lightsail/src/operation/create_relational_database_snapshot/builders.rs index 9f564d07817c..b9a0e8fdfd7e 100644 --- a/sdk/lightsail/src/operation/create_relational_database_snapshot/builders.rs +++ b/sdk/lightsail/src/operation/create_relational_database_snapshot/builders.rs @@ -20,9 +20,9 @@ impl CreateRelationalDatabaseSnapshotFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize(self) -> ::std::result::Result< + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware(self) -> ::std::result::Result< crate::client::customize::CustomizableOperation, ::aws_smithy_http::result::SdkError >{ @@ -65,6 +65,15 @@ impl CreateRelationalDatabaseSnapshotFluentBuilder { { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize(self) -> ::std::result::Result< + crate::client::customize::CustomizableOperation, + ::aws_smithy_http::result::SdkError + >{ + self.customize_middleware().await + } ///

                                                                                                                                                                              The name of the database on which to base your new snapshot.

                                                                                                                                                                              pub fn relational_database_name( mut self, diff --git a/sdk/lightsail/src/operation/delete_alarm/builders.rs b/sdk/lightsail/src/operation/delete_alarm/builders.rs index 23ae73bf1d54..aad89bfcc5c3 100644 --- a/sdk/lightsail/src/operation/delete_alarm/builders.rs +++ b/sdk/lightsail/src/operation/delete_alarm/builders.rs @@ -20,9 +20,9 @@ impl DeleteAlarmFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -78,6 +78,20 @@ impl DeleteAlarmFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::delete_alarm::DeleteAlarm, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                              The name of the alarm to delete.

                                                                                                                                                                              pub fn alarm_name(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.alarm_name(input.into()); diff --git a/sdk/lightsail/src/operation/delete_auto_snapshot/builders.rs b/sdk/lightsail/src/operation/delete_auto_snapshot/builders.rs index d5e1668187e2..0b966a9d094e 100644 --- a/sdk/lightsail/src/operation/delete_auto_snapshot/builders.rs +++ b/sdk/lightsail/src/operation/delete_auto_snapshot/builders.rs @@ -19,9 +19,9 @@ impl DeleteAutoSnapshotFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl DeleteAutoSnapshotFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::delete_auto_snapshot::DeleteAutoSnapshot, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::delete_auto_snapshot::DeleteAutoSnapshotError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                              The name of the source instance or disk from which to delete the automatic snapshot.

                                                                                                                                                                              pub fn resource_name( mut self, diff --git a/sdk/lightsail/src/operation/delete_bucket/builders.rs b/sdk/lightsail/src/operation/delete_bucket/builders.rs index e2706f1cf6d4..5a877a532e88 100644 --- a/sdk/lightsail/src/operation/delete_bucket/builders.rs +++ b/sdk/lightsail/src/operation/delete_bucket/builders.rs @@ -21,9 +21,9 @@ impl DeleteBucketFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -79,6 +79,20 @@ impl DeleteBucketFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::delete_bucket::DeleteBucket, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                              The name of the bucket to delete.

                                                                                                                                                                              ///

                                                                                                                                                                              Use the GetBuckets action to get a list of bucket names that you can specify.

                                                                                                                                                                              pub fn bucket_name(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { diff --git a/sdk/lightsail/src/operation/delete_bucket_access_key/builders.rs b/sdk/lightsail/src/operation/delete_bucket_access_key/builders.rs index 745e325b489c..5322b3e69860 100644 --- a/sdk/lightsail/src/operation/delete_bucket_access_key/builders.rs +++ b/sdk/lightsail/src/operation/delete_bucket_access_key/builders.rs @@ -21,9 +21,9 @@ impl DeleteBucketAccessKeyFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -85,6 +85,22 @@ impl DeleteBucketAccessKeyFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::delete_bucket_access_key::DeleteBucketAccessKey, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::delete_bucket_access_key::DeleteBucketAccessKeyError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                              The name of the bucket that the access key belongs to.

                                                                                                                                                                              pub fn bucket_name(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.bucket_name(input.into()); diff --git a/sdk/lightsail/src/operation/delete_certificate/builders.rs b/sdk/lightsail/src/operation/delete_certificate/builders.rs index 10efddcb880a..8f1743635d98 100644 --- a/sdk/lightsail/src/operation/delete_certificate/builders.rs +++ b/sdk/lightsail/src/operation/delete_certificate/builders.rs @@ -20,9 +20,9 @@ impl DeleteCertificateFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -84,6 +84,22 @@ impl DeleteCertificateFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::delete_certificate::DeleteCertificate, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::delete_certificate::DeleteCertificateError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                              The name of the certificate to delete.

                                                                                                                                                                              ///

                                                                                                                                                                              Use the GetCertificates action to get a list of certificate names that you can specify.

                                                                                                                                                                              pub fn certificate_name( diff --git a/sdk/lightsail/src/operation/delete_contact_method/builders.rs b/sdk/lightsail/src/operation/delete_contact_method/builders.rs index 43aabfb1fab5..1e45597a16f4 100644 --- a/sdk/lightsail/src/operation/delete_contact_method/builders.rs +++ b/sdk/lightsail/src/operation/delete_contact_method/builders.rs @@ -20,9 +20,9 @@ impl DeleteContactMethodFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -84,6 +84,22 @@ impl DeleteContactMethodFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::delete_contact_method::DeleteContactMethod, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::delete_contact_method::DeleteContactMethodError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                              The protocol that will be deleted, such as Email or SMS (text messaging).

                                                                                                                                                                              ///

                                                                                                                                                                              To delete an Email and an SMS contact method if you added both, you must run separate DeleteContactMethod actions to delete each protocol.

                                                                                                                                                                              ///
                                                                                                                                                                              diff --git a/sdk/lightsail/src/operation/delete_container_image/builders.rs b/sdk/lightsail/src/operation/delete_container_image/builders.rs index af3238fa6652..6bbd5e861268 100644 --- a/sdk/lightsail/src/operation/delete_container_image/builders.rs +++ b/sdk/lightsail/src/operation/delete_container_image/builders.rs @@ -19,9 +19,9 @@ impl DeleteContainerImageFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl DeleteContainerImageFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::delete_container_image::DeleteContainerImage, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::delete_container_image::DeleteContainerImageError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                              The name of the container service for which to delete a registered container image.

                                                                                                                                                                              pub fn service_name(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.service_name(input.into()); diff --git a/sdk/lightsail/src/operation/delete_container_service/builders.rs b/sdk/lightsail/src/operation/delete_container_service/builders.rs index 75c8c2a935d5..46f50416c5fc 100644 --- a/sdk/lightsail/src/operation/delete_container_service/builders.rs +++ b/sdk/lightsail/src/operation/delete_container_service/builders.rs @@ -19,9 +19,9 @@ impl DeleteContainerServiceFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl DeleteContainerServiceFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::delete_container_service::DeleteContainerService, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::delete_container_service::DeleteContainerServiceError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                              The name of the container service to delete.

                                                                                                                                                                              pub fn service_name(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.service_name(input.into()); diff --git a/sdk/lightsail/src/operation/delete_disk/builders.rs b/sdk/lightsail/src/operation/delete_disk/builders.rs index 27869ac442ba..2d750be7b7a6 100644 --- a/sdk/lightsail/src/operation/delete_disk/builders.rs +++ b/sdk/lightsail/src/operation/delete_disk/builders.rs @@ -22,9 +22,9 @@ impl DeleteDiskFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -80,6 +80,20 @@ impl DeleteDiskFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::delete_disk::DeleteDisk, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                              The unique name of the disk you want to delete (e.g., my-disk).

                                                                                                                                                                              pub fn disk_name(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.disk_name(input.into()); diff --git a/sdk/lightsail/src/operation/delete_disk_snapshot/builders.rs b/sdk/lightsail/src/operation/delete_disk_snapshot/builders.rs index ad79dda2f4c1..27741ba48cc5 100644 --- a/sdk/lightsail/src/operation/delete_disk_snapshot/builders.rs +++ b/sdk/lightsail/src/operation/delete_disk_snapshot/builders.rs @@ -21,9 +21,9 @@ impl DeleteDiskSnapshotFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -85,6 +85,22 @@ impl DeleteDiskSnapshotFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::delete_disk_snapshot::DeleteDiskSnapshot, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::delete_disk_snapshot::DeleteDiskSnapshotError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                              The name of the disk snapshot you want to delete (e.g., my-disk-snapshot).

                                                                                                                                                                              pub fn disk_snapshot_name( mut self, diff --git a/sdk/lightsail/src/operation/delete_distribution/builders.rs b/sdk/lightsail/src/operation/delete_distribution/builders.rs index f67459fd76d2..dab5a3af8119 100644 --- a/sdk/lightsail/src/operation/delete_distribution/builders.rs +++ b/sdk/lightsail/src/operation/delete_distribution/builders.rs @@ -19,9 +19,9 @@ impl DeleteDistributionFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl DeleteDistributionFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::delete_distribution::DeleteDistribution, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::delete_distribution::DeleteDistributionError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                              The name of the distribution to delete.

                                                                                                                                                                              ///

                                                                                                                                                                              Use the GetDistributions action to get a list of distribution names that you can specify.

                                                                                                                                                                              pub fn distribution_name( diff --git a/sdk/lightsail/src/operation/delete_domain/builders.rs b/sdk/lightsail/src/operation/delete_domain/builders.rs index 053950bafe58..b561fc664356 100644 --- a/sdk/lightsail/src/operation/delete_domain/builders.rs +++ b/sdk/lightsail/src/operation/delete_domain/builders.rs @@ -20,9 +20,9 @@ impl DeleteDomainFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -78,6 +78,20 @@ impl DeleteDomainFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::delete_domain::DeleteDomain, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                              The specific domain name to delete.

                                                                                                                                                                              pub fn domain_name(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.domain_name(input.into()); diff --git a/sdk/lightsail/src/operation/delete_domain_entry/builders.rs b/sdk/lightsail/src/operation/delete_domain_entry/builders.rs index c6de2c52a1c4..f06ec0588c93 100644 --- a/sdk/lightsail/src/operation/delete_domain_entry/builders.rs +++ b/sdk/lightsail/src/operation/delete_domain_entry/builders.rs @@ -20,9 +20,9 @@ impl DeleteDomainEntryFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -84,6 +84,22 @@ impl DeleteDomainEntryFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::delete_domain_entry::DeleteDomainEntry, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::delete_domain_entry::DeleteDomainEntryError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                              The name of the domain entry to delete.

                                                                                                                                                                              pub fn domain_name(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.domain_name(input.into()); diff --git a/sdk/lightsail/src/operation/delete_instance/builders.rs b/sdk/lightsail/src/operation/delete_instance/builders.rs index 0489c9e984d6..018ccf1c90a5 100644 --- a/sdk/lightsail/src/operation/delete_instance/builders.rs +++ b/sdk/lightsail/src/operation/delete_instance/builders.rs @@ -20,9 +20,9 @@ impl DeleteInstanceFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -78,6 +78,20 @@ impl DeleteInstanceFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::delete_instance::DeleteInstance, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                              The name of the instance to delete.

                                                                                                                                                                              pub fn instance_name( mut self, diff --git a/sdk/lightsail/src/operation/delete_instance_snapshot/builders.rs b/sdk/lightsail/src/operation/delete_instance_snapshot/builders.rs index 0db7f5a4d89a..065b26666651 100644 --- a/sdk/lightsail/src/operation/delete_instance_snapshot/builders.rs +++ b/sdk/lightsail/src/operation/delete_instance_snapshot/builders.rs @@ -20,9 +20,9 @@ impl DeleteInstanceSnapshotFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -84,6 +84,22 @@ impl DeleteInstanceSnapshotFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::delete_instance_snapshot::DeleteInstanceSnapshot, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::delete_instance_snapshot::DeleteInstanceSnapshotError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                              The name of the snapshot to delete.

                                                                                                                                                                              pub fn instance_snapshot_name( mut self, diff --git a/sdk/lightsail/src/operation/delete_key_pair/builders.rs b/sdk/lightsail/src/operation/delete_key_pair/builders.rs index 2cf7a31a7449..4fd33075c09e 100644 --- a/sdk/lightsail/src/operation/delete_key_pair/builders.rs +++ b/sdk/lightsail/src/operation/delete_key_pair/builders.rs @@ -21,9 +21,9 @@ impl DeleteKeyPairFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -79,6 +79,20 @@ impl DeleteKeyPairFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::delete_key_pair::DeleteKeyPair, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                              The name of the key pair to delete.

                                                                                                                                                                              pub fn key_pair_name( mut self, diff --git a/sdk/lightsail/src/operation/delete_known_host_keys/builders.rs b/sdk/lightsail/src/operation/delete_known_host_keys/builders.rs index 10da34e9a1f4..cae2a20485ae 100644 --- a/sdk/lightsail/src/operation/delete_known_host_keys/builders.rs +++ b/sdk/lightsail/src/operation/delete_known_host_keys/builders.rs @@ -21,9 +21,9 @@ impl DeleteKnownHostKeysFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -85,6 +85,22 @@ impl DeleteKnownHostKeysFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::delete_known_host_keys::DeleteKnownHostKeys, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::delete_known_host_keys::DeleteKnownHostKeysError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                              The name of the instance for which you want to reset the host key or certificate.

                                                                                                                                                                              pub fn instance_name( mut self, diff --git a/sdk/lightsail/src/operation/delete_load_balancer/builders.rs b/sdk/lightsail/src/operation/delete_load_balancer/builders.rs index 84b8de415c99..ae95307db316 100644 --- a/sdk/lightsail/src/operation/delete_load_balancer/builders.rs +++ b/sdk/lightsail/src/operation/delete_load_balancer/builders.rs @@ -20,9 +20,9 @@ impl DeleteLoadBalancerFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -84,6 +84,22 @@ impl DeleteLoadBalancerFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::delete_load_balancer::DeleteLoadBalancer, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::delete_load_balancer::DeleteLoadBalancerError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                              The name of the load balancer you want to delete.

                                                                                                                                                                              pub fn load_balancer_name( mut self, diff --git a/sdk/lightsail/src/operation/delete_load_balancer_tls_certificate/builders.rs b/sdk/lightsail/src/operation/delete_load_balancer_tls_certificate/builders.rs index 00f6f6b909e8..4485c9676c60 100644 --- a/sdk/lightsail/src/operation/delete_load_balancer_tls_certificate/builders.rs +++ b/sdk/lightsail/src/operation/delete_load_balancer_tls_certificate/builders.rs @@ -20,9 +20,9 @@ impl DeleteLoadBalancerTlsCertificateFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize(self) -> ::std::result::Result< + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware(self) -> ::std::result::Result< crate::client::customize::CustomizableOperation, ::aws_smithy_http::result::SdkError >{ @@ -65,6 +65,15 @@ impl DeleteLoadBalancerTlsCertificateFluentBuilder { { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize(self) -> ::std::result::Result< + crate::client::customize::CustomizableOperation, + ::aws_smithy_http::result::SdkError + >{ + self.customize_middleware().await + } ///

                                                                                                                                                                              The load balancer name.

                                                                                                                                                                              pub fn load_balancer_name( mut self, diff --git a/sdk/lightsail/src/operation/delete_relational_database/builders.rs b/sdk/lightsail/src/operation/delete_relational_database/builders.rs index 18c984f79550..6c24b0da2c4d 100644 --- a/sdk/lightsail/src/operation/delete_relational_database/builders.rs +++ b/sdk/lightsail/src/operation/delete_relational_database/builders.rs @@ -20,9 +20,9 @@ impl DeleteRelationalDatabaseFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -84,6 +84,22 @@ impl DeleteRelationalDatabaseFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::delete_relational_database::DeleteRelationalDatabase, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::delete_relational_database::DeleteRelationalDatabaseError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                              The name of the database that you are deleting.

                                                                                                                                                                              pub fn relational_database_name( mut self, diff --git a/sdk/lightsail/src/operation/delete_relational_database_snapshot/builders.rs b/sdk/lightsail/src/operation/delete_relational_database_snapshot/builders.rs index 27ef5c58989a..5ec22f10e8b3 100644 --- a/sdk/lightsail/src/operation/delete_relational_database_snapshot/builders.rs +++ b/sdk/lightsail/src/operation/delete_relational_database_snapshot/builders.rs @@ -20,9 +20,9 @@ impl DeleteRelationalDatabaseSnapshotFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize(self) -> ::std::result::Result< + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware(self) -> ::std::result::Result< crate::client::customize::CustomizableOperation, ::aws_smithy_http::result::SdkError >{ @@ -65,6 +65,15 @@ impl DeleteRelationalDatabaseSnapshotFluentBuilder { { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize(self) -> ::std::result::Result< + crate::client::customize::CustomizableOperation, + ::aws_smithy_http::result::SdkError + >{ + self.customize_middleware().await + } ///

                                                                                                                                                                              The name of the database snapshot that you are deleting.

                                                                                                                                                                              pub fn relational_database_snapshot_name( mut self, diff --git a/sdk/lightsail/src/operation/detach_certificate_from_distribution/builders.rs b/sdk/lightsail/src/operation/detach_certificate_from_distribution/builders.rs index d53f7348efba..587f02728d60 100644 --- a/sdk/lightsail/src/operation/detach_certificate_from_distribution/builders.rs +++ b/sdk/lightsail/src/operation/detach_certificate_from_distribution/builders.rs @@ -20,9 +20,9 @@ impl DetachCertificateFromDistributionFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize(self) -> ::std::result::Result< + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware(self) -> ::std::result::Result< crate::client::customize::CustomizableOperation, ::aws_smithy_http::result::SdkError >{ @@ -65,6 +65,15 @@ impl DetachCertificateFromDistributionFluentBuilder { { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize(self) -> ::std::result::Result< + crate::client::customize::CustomizableOperation, + ::aws_smithy_http::result::SdkError + >{ + self.customize_middleware().await + } ///

                                                                                                                                                                              The name of the distribution from which to detach the certificate.

                                                                                                                                                                              ///

                                                                                                                                                                              Use the GetDistributions action to get a list of distribution names that you can specify.

                                                                                                                                                                              pub fn distribution_name( diff --git a/sdk/lightsail/src/operation/detach_disk/builders.rs b/sdk/lightsail/src/operation/detach_disk/builders.rs index 154e39cf6227..1b759d2167c2 100644 --- a/sdk/lightsail/src/operation/detach_disk/builders.rs +++ b/sdk/lightsail/src/operation/detach_disk/builders.rs @@ -20,9 +20,9 @@ impl DetachDiskFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -78,6 +78,20 @@ impl DetachDiskFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::detach_disk::DetachDisk, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                              The unique name of the disk you want to detach from your instance (e.g., my-disk).

                                                                                                                                                                              pub fn disk_name(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.disk_name(input.into()); diff --git a/sdk/lightsail/src/operation/detach_instances_from_load_balancer/builders.rs b/sdk/lightsail/src/operation/detach_instances_from_load_balancer/builders.rs index b1867c98476c..75407cbb86c6 100644 --- a/sdk/lightsail/src/operation/detach_instances_from_load_balancer/builders.rs +++ b/sdk/lightsail/src/operation/detach_instances_from_load_balancer/builders.rs @@ -21,9 +21,9 @@ impl DetachInstancesFromLoadBalancerFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize(self) -> ::std::result::Result< + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware(self) -> ::std::result::Result< crate::client::customize::CustomizableOperation, ::aws_smithy_http::result::SdkError >{ @@ -66,6 +66,15 @@ impl DetachInstancesFromLoadBalancerFluentBuilder { { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize(self) -> ::std::result::Result< + crate::client::customize::CustomizableOperation, + ::aws_smithy_http::result::SdkError + >{ + self.customize_middleware().await + } ///

                                                                                                                                                                              The name of the Lightsail load balancer.

                                                                                                                                                                              pub fn load_balancer_name( mut self, diff --git a/sdk/lightsail/src/operation/detach_static_ip/builders.rs b/sdk/lightsail/src/operation/detach_static_ip/builders.rs index 0754c406a10a..959c1bf730ba 100644 --- a/sdk/lightsail/src/operation/detach_static_ip/builders.rs +++ b/sdk/lightsail/src/operation/detach_static_ip/builders.rs @@ -19,9 +19,9 @@ impl DetachStaticIpFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl DetachStaticIpFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::detach_static_ip::DetachStaticIp, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::detach_static_ip::DetachStaticIpError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                              The name of the static IP to detach from the instance.

                                                                                                                                                                              pub fn static_ip_name( mut self, diff --git a/sdk/lightsail/src/operation/disable_add_on/builders.rs b/sdk/lightsail/src/operation/disable_add_on/builders.rs index 795630039b3b..b1c52ecc151c 100644 --- a/sdk/lightsail/src/operation/disable_add_on/builders.rs +++ b/sdk/lightsail/src/operation/disable_add_on/builders.rs @@ -19,9 +19,9 @@ impl DisableAddOnFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl DisableAddOnFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::disable_add_on::DisableAddOn, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                              The add-on type to disable.

                                                                                                                                                                              pub fn add_on_type(mut self, input: crate::types::AddOnType) -> Self { self.inner = self.inner.add_on_type(input); diff --git a/sdk/lightsail/src/operation/download_default_key_pair/builders.rs b/sdk/lightsail/src/operation/download_default_key_pair/builders.rs index ca2edc2b5a08..a8de83fc1a2d 100644 --- a/sdk/lightsail/src/operation/download_default_key_pair/builders.rs +++ b/sdk/lightsail/src/operation/download_default_key_pair/builders.rs @@ -21,9 +21,9 @@ impl DownloadDefaultKeyPairFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -85,4 +85,20 @@ impl DownloadDefaultKeyPairFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::download_default_key_pair::DownloadDefaultKeyPair, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::download_default_key_pair::DownloadDefaultKeyPairError, + >, + > { + self.customize_middleware().await + } } diff --git a/sdk/lightsail/src/operation/enable_add_on/builders.rs b/sdk/lightsail/src/operation/enable_add_on/builders.rs index 8004231b2652..cdf589c3e317 100644 --- a/sdk/lightsail/src/operation/enable_add_on/builders.rs +++ b/sdk/lightsail/src/operation/enable_add_on/builders.rs @@ -19,9 +19,9 @@ impl EnableAddOnFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl EnableAddOnFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::enable_add_on::EnableAddOn, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                              The name of the source resource for which to enable or modify the add-on.

                                                                                                                                                                              pub fn resource_name( mut self, diff --git a/sdk/lightsail/src/operation/export_snapshot/builders.rs b/sdk/lightsail/src/operation/export_snapshot/builders.rs index cde82796024e..633619717dbf 100644 --- a/sdk/lightsail/src/operation/export_snapshot/builders.rs +++ b/sdk/lightsail/src/operation/export_snapshot/builders.rs @@ -24,9 +24,9 @@ impl ExportSnapshotFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -82,6 +82,20 @@ impl ExportSnapshotFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::export_snapshot::ExportSnapshot, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                              The name of the instance or disk snapshot to be exported to Amazon EC2.

                                                                                                                                                                              pub fn source_snapshot_name( mut self, diff --git a/sdk/lightsail/src/operation/get_active_names/builders.rs b/sdk/lightsail/src/operation/get_active_names/builders.rs index 532bdd257590..6c51e79c5a27 100644 --- a/sdk/lightsail/src/operation/get_active_names/builders.rs +++ b/sdk/lightsail/src/operation/get_active_names/builders.rs @@ -19,9 +19,9 @@ impl GetActiveNamesFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl GetActiveNamesFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::get_active_names::GetActiveNames, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::get_active_names::GetActiveNamesError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                              The token to advance to the next page of results from your request.

                                                                                                                                                                              ///

                                                                                                                                                                              To get a page token, perform an initial GetActiveNames request. If your results are paginated, the response will return a next page token that you can specify as the page token in a subsequent request.

                                                                                                                                                                              pub fn page_token(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { diff --git a/sdk/lightsail/src/operation/get_alarms/builders.rs b/sdk/lightsail/src/operation/get_alarms/builders.rs index a771ef8bf18d..d2b86cd53104 100644 --- a/sdk/lightsail/src/operation/get_alarms/builders.rs +++ b/sdk/lightsail/src/operation/get_alarms/builders.rs @@ -20,9 +20,9 @@ impl GetAlarmsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -78,6 +78,20 @@ impl GetAlarmsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::get_alarms::GetAlarms, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                              The name of the alarm.

                                                                                                                                                                              ///

                                                                                                                                                                              Specify an alarm name to return information about a specific alarm.

                                                                                                                                                                              pub fn alarm_name(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { diff --git a/sdk/lightsail/src/operation/get_auto_snapshots/builders.rs b/sdk/lightsail/src/operation/get_auto_snapshots/builders.rs index 593bfc9da717..3e2021d0e4a8 100644 --- a/sdk/lightsail/src/operation/get_auto_snapshots/builders.rs +++ b/sdk/lightsail/src/operation/get_auto_snapshots/builders.rs @@ -19,9 +19,9 @@ impl GetAutoSnapshotsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl GetAutoSnapshotsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::get_auto_snapshots::GetAutoSnapshots, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::get_auto_snapshots::GetAutoSnapshotsError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                              The name of the source instance or disk from which to get automatic snapshot information.

                                                                                                                                                                              pub fn resource_name( mut self, diff --git a/sdk/lightsail/src/operation/get_blueprints/builders.rs b/sdk/lightsail/src/operation/get_blueprints/builders.rs index 2a06e02f4048..91506b864058 100644 --- a/sdk/lightsail/src/operation/get_blueprints/builders.rs +++ b/sdk/lightsail/src/operation/get_blueprints/builders.rs @@ -21,9 +21,9 @@ impl GetBlueprintsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -79,6 +79,20 @@ impl GetBlueprintsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::get_blueprints::GetBlueprints, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                              A Boolean value that indicates whether to include inactive (unavailable) blueprints in the response of your request.

                                                                                                                                                                              pub fn include_inactive(mut self, input: bool) -> Self { self.inner = self.inner.include_inactive(input); diff --git a/sdk/lightsail/src/operation/get_bucket_access_keys/builders.rs b/sdk/lightsail/src/operation/get_bucket_access_keys/builders.rs index ef58b9e6db16..ef88be44f4bb 100644 --- a/sdk/lightsail/src/operation/get_bucket_access_keys/builders.rs +++ b/sdk/lightsail/src/operation/get_bucket_access_keys/builders.rs @@ -21,9 +21,9 @@ impl GetBucketAccessKeysFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -85,6 +85,22 @@ impl GetBucketAccessKeysFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::get_bucket_access_keys::GetBucketAccessKeys, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::get_bucket_access_keys::GetBucketAccessKeysError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                              The name of the bucket for which to return access keys.

                                                                                                                                                                              pub fn bucket_name(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.bucket_name(input.into()); diff --git a/sdk/lightsail/src/operation/get_bucket_bundles/builders.rs b/sdk/lightsail/src/operation/get_bucket_bundles/builders.rs index eb848c76da1a..c2c9e6027461 100644 --- a/sdk/lightsail/src/operation/get_bucket_bundles/builders.rs +++ b/sdk/lightsail/src/operation/get_bucket_bundles/builders.rs @@ -21,9 +21,9 @@ impl GetBucketBundlesFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -85,6 +85,22 @@ impl GetBucketBundlesFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::get_bucket_bundles::GetBucketBundles, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::get_bucket_bundles::GetBucketBundlesError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                              A Boolean value that indicates whether to include inactive (unavailable) bundles in the response of your request.

                                                                                                                                                                              pub fn include_inactive(mut self, input: bool) -> Self { self.inner = self.inner.include_inactive(input); diff --git a/sdk/lightsail/src/operation/get_bucket_metric_data/builders.rs b/sdk/lightsail/src/operation/get_bucket_metric_data/builders.rs index d445527bc61b..1d581fec57f8 100644 --- a/sdk/lightsail/src/operation/get_bucket_metric_data/builders.rs +++ b/sdk/lightsail/src/operation/get_bucket_metric_data/builders.rs @@ -20,9 +20,9 @@ impl GetBucketMetricDataFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -84,6 +84,22 @@ impl GetBucketMetricDataFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::get_bucket_metric_data::GetBucketMetricData, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::get_bucket_metric_data::GetBucketMetricDataError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                              The name of the bucket for which to get metric data.

                                                                                                                                                                              pub fn bucket_name(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.bucket_name(input.into()); diff --git a/sdk/lightsail/src/operation/get_buckets/builders.rs b/sdk/lightsail/src/operation/get_buckets/builders.rs index 4b64e82d69a5..25553b87ad47 100644 --- a/sdk/lightsail/src/operation/get_buckets/builders.rs +++ b/sdk/lightsail/src/operation/get_buckets/builders.rs @@ -20,9 +20,9 @@ impl GetBucketsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -78,6 +78,20 @@ impl GetBucketsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::get_buckets::GetBuckets, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                              The name of the bucket for which to return information.

                                                                                                                                                                              ///

                                                                                                                                                                              When omitted, the response includes all of your buckets in the Amazon Web Services Region where the request is made.

                                                                                                                                                                              pub fn bucket_name(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { diff --git a/sdk/lightsail/src/operation/get_bundles/builders.rs b/sdk/lightsail/src/operation/get_bundles/builders.rs index 8ae156fe606e..7ad92868355f 100644 --- a/sdk/lightsail/src/operation/get_bundles/builders.rs +++ b/sdk/lightsail/src/operation/get_bundles/builders.rs @@ -22,9 +22,9 @@ impl GetBundlesFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -80,6 +80,20 @@ impl GetBundlesFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::get_bundles::GetBundles, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                              A Boolean value that indicates whether to include inactive (unavailable) bundles in the response of your request.

                                                                                                                                                                              pub fn include_inactive(mut self, input: bool) -> Self { self.inner = self.inner.include_inactive(input); diff --git a/sdk/lightsail/src/operation/get_certificates/builders.rs b/sdk/lightsail/src/operation/get_certificates/builders.rs index 1d00ec8b21da..08e97858e576 100644 --- a/sdk/lightsail/src/operation/get_certificates/builders.rs +++ b/sdk/lightsail/src/operation/get_certificates/builders.rs @@ -21,9 +21,9 @@ impl GetCertificatesFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -85,6 +85,22 @@ impl GetCertificatesFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::get_certificates::GetCertificates, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::get_certificates::GetCertificatesError, + >, + > { + self.customize_middleware().await + } /// Appends an item to `certificateStatuses`. /// /// To override the contents of this collection use [`set_certificate_statuses`](Self::set_certificate_statuses). diff --git a/sdk/lightsail/src/operation/get_cloud_formation_stack_records/builders.rs b/sdk/lightsail/src/operation/get_cloud_formation_stack_records/builders.rs index 95648a8c3c3c..9aeaa1fd8fed 100644 --- a/sdk/lightsail/src/operation/get_cloud_formation_stack_records/builders.rs +++ b/sdk/lightsail/src/operation/get_cloud_formation_stack_records/builders.rs @@ -20,9 +20,9 @@ impl GetCloudFormationStackRecordsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -84,6 +84,22 @@ impl GetCloudFormationStackRecordsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::get_cloud_formation_stack_records::GetCloudFormationStackRecords, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::get_cloud_formation_stack_records::GetCloudFormationStackRecordsError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                              The token to advance to the next page of results from your request.

                                                                                                                                                                              ///

                                                                                                                                                                              To get a page token, perform an initial GetClouFormationStackRecords request. If your results are paginated, the response will return a next page token that you can specify as the page token in a subsequent request.

                                                                                                                                                                              pub fn page_token(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { diff --git a/sdk/lightsail/src/operation/get_contact_methods/builders.rs b/sdk/lightsail/src/operation/get_contact_methods/builders.rs index ddf81dc811c6..48bd677c2f4f 100644 --- a/sdk/lightsail/src/operation/get_contact_methods/builders.rs +++ b/sdk/lightsail/src/operation/get_contact_methods/builders.rs @@ -20,9 +20,9 @@ impl GetContactMethodsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -84,6 +84,22 @@ impl GetContactMethodsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::get_contact_methods::GetContactMethods, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::get_contact_methods::GetContactMethodsError, + >, + > { + self.customize_middleware().await + } /// Appends an item to `protocols`. /// /// To override the contents of this collection use [`set_protocols`](Self::set_protocols). diff --git a/sdk/lightsail/src/operation/get_container_api_metadata/builders.rs b/sdk/lightsail/src/operation/get_container_api_metadata/builders.rs index 1e5bb10d85a6..4243efb7d262 100644 --- a/sdk/lightsail/src/operation/get_container_api_metadata/builders.rs +++ b/sdk/lightsail/src/operation/get_container_api_metadata/builders.rs @@ -20,9 +20,9 @@ impl GetContainerAPIMetadataFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -84,4 +84,20 @@ impl GetContainerAPIMetadataFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::get_container_api_metadata::GetContainerAPIMetadata, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::get_container_api_metadata::GetContainerAPIMetadataError, + >, + > { + self.customize_middleware().await + } } diff --git a/sdk/lightsail/src/operation/get_container_images/builders.rs b/sdk/lightsail/src/operation/get_container_images/builders.rs index c38fa1a1deb1..9bf4a3f09930 100644 --- a/sdk/lightsail/src/operation/get_container_images/builders.rs +++ b/sdk/lightsail/src/operation/get_container_images/builders.rs @@ -21,9 +21,9 @@ impl GetContainerImagesFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -85,6 +85,22 @@ impl GetContainerImagesFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::get_container_images::GetContainerImages, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::get_container_images::GetContainerImagesError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                              The name of the container service for which to return registered container images.

                                                                                                                                                                              pub fn service_name(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.service_name(input.into()); diff --git a/sdk/lightsail/src/operation/get_container_log/builders.rs b/sdk/lightsail/src/operation/get_container_log/builders.rs index f2dff2ed2e12..22725042e3c4 100644 --- a/sdk/lightsail/src/operation/get_container_log/builders.rs +++ b/sdk/lightsail/src/operation/get_container_log/builders.rs @@ -22,9 +22,9 @@ impl GetContainerLogFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -86,6 +86,22 @@ impl GetContainerLogFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::get_container_log::GetContainerLog, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::get_container_log::GetContainerLogError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                              The name of the container service for which to get a container log.

                                                                                                                                                                              pub fn service_name(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.service_name(input.into()); diff --git a/sdk/lightsail/src/operation/get_container_service_deployments/builders.rs b/sdk/lightsail/src/operation/get_container_service_deployments/builders.rs index d3d2b443b4b5..9773985bb3a0 100644 --- a/sdk/lightsail/src/operation/get_container_service_deployments/builders.rs +++ b/sdk/lightsail/src/operation/get_container_service_deployments/builders.rs @@ -23,9 +23,9 @@ impl GetContainerServiceDeploymentsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize(self) -> ::std::result::Result< + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware(self) -> ::std::result::Result< crate::client::customize::CustomizableOperation, ::aws_smithy_http::result::SdkError >{ @@ -68,6 +68,15 @@ impl GetContainerServiceDeploymentsFluentBuilder { { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize(self) -> ::std::result::Result< + crate::client::customize::CustomizableOperation, + ::aws_smithy_http::result::SdkError + >{ + self.customize_middleware().await + } ///

                                                                                                                                                                              The name of the container service for which to return deployments.

                                                                                                                                                                              pub fn service_name(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.service_name(input.into()); diff --git a/sdk/lightsail/src/operation/get_container_service_metric_data/builders.rs b/sdk/lightsail/src/operation/get_container_service_metric_data/builders.rs index 78733a715780..8c645b42f1fa 100644 --- a/sdk/lightsail/src/operation/get_container_service_metric_data/builders.rs +++ b/sdk/lightsail/src/operation/get_container_service_metric_data/builders.rs @@ -20,9 +20,9 @@ impl GetContainerServiceMetricDataFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -84,6 +84,22 @@ impl GetContainerServiceMetricDataFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::get_container_service_metric_data::GetContainerServiceMetricData, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::get_container_service_metric_data::GetContainerServiceMetricDataError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                              The name of the container service for which to get metric data.

                                                                                                                                                                              pub fn service_name(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.service_name(input.into()); diff --git a/sdk/lightsail/src/operation/get_container_service_powers/builders.rs b/sdk/lightsail/src/operation/get_container_service_powers/builders.rs index 5078973fcfe0..d4d098736ca4 100644 --- a/sdk/lightsail/src/operation/get_container_service_powers/builders.rs +++ b/sdk/lightsail/src/operation/get_container_service_powers/builders.rs @@ -20,9 +20,9 @@ impl GetContainerServicePowersFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -84,4 +84,20 @@ impl GetContainerServicePowersFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::get_container_service_powers::GetContainerServicePowers, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::get_container_service_powers::GetContainerServicePowersError, + >, + > { + self.customize_middleware().await + } } diff --git a/sdk/lightsail/src/operation/get_container_services/builders.rs b/sdk/lightsail/src/operation/get_container_services/builders.rs index 9a5f6a597b46..5e15e7fc2263 100644 --- a/sdk/lightsail/src/operation/get_container_services/builders.rs +++ b/sdk/lightsail/src/operation/get_container_services/builders.rs @@ -19,9 +19,9 @@ impl GetContainerServicesFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl GetContainerServicesFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::get_container_services::GetContainerServices, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::get_container_services::GetContainerServicesError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                              The name of the container service for which to return information.

                                                                                                                                                                              ///

                                                                                                                                                                              When omitted, the response includes all of your container services in the Amazon Web Services Region where the request is made.

                                                                                                                                                                              pub fn service_name(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { diff --git a/sdk/lightsail/src/operation/get_cost_estimate/builders.rs b/sdk/lightsail/src/operation/get_cost_estimate/builders.rs index 86daceb1806c..78a5c87e0e9b 100644 --- a/sdk/lightsail/src/operation/get_cost_estimate/builders.rs +++ b/sdk/lightsail/src/operation/get_cost_estimate/builders.rs @@ -19,9 +19,9 @@ impl GetCostEstimateFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl GetCostEstimateFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::get_cost_estimate::GetCostEstimate, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::get_cost_estimate::GetCostEstimateError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                              The resource name.

                                                                                                                                                                              pub fn resource_name( mut self, diff --git a/sdk/lightsail/src/operation/get_disk/builders.rs b/sdk/lightsail/src/operation/get_disk/builders.rs index 49f290f19f66..79e067e89570 100644 --- a/sdk/lightsail/src/operation/get_disk/builders.rs +++ b/sdk/lightsail/src/operation/get_disk/builders.rs @@ -19,9 +19,9 @@ impl GetDiskFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl GetDiskFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::get_disk::GetDisk, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                              The name of the disk (e.g., my-disk).

                                                                                                                                                                              pub fn disk_name(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.disk_name(input.into()); diff --git a/sdk/lightsail/src/operation/get_disk_snapshot/builders.rs b/sdk/lightsail/src/operation/get_disk_snapshot/builders.rs index ed545150888f..8ea6526404e6 100644 --- a/sdk/lightsail/src/operation/get_disk_snapshot/builders.rs +++ b/sdk/lightsail/src/operation/get_disk_snapshot/builders.rs @@ -19,9 +19,9 @@ impl GetDiskSnapshotFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl GetDiskSnapshotFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::get_disk_snapshot::GetDiskSnapshot, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::get_disk_snapshot::GetDiskSnapshotError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                              The name of the disk snapshot (e.g., my-disk-snapshot).

                                                                                                                                                                              pub fn disk_snapshot_name( mut self, diff --git a/sdk/lightsail/src/operation/get_disk_snapshots/builders.rs b/sdk/lightsail/src/operation/get_disk_snapshots/builders.rs index 8909727ae8d4..d64764e2f93f 100644 --- a/sdk/lightsail/src/operation/get_disk_snapshots/builders.rs +++ b/sdk/lightsail/src/operation/get_disk_snapshots/builders.rs @@ -19,9 +19,9 @@ impl GetDiskSnapshotsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl GetDiskSnapshotsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::get_disk_snapshots::GetDiskSnapshots, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::get_disk_snapshots::GetDiskSnapshotsError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                              The token to advance to the next page of results from your request.

                                                                                                                                                                              ///

                                                                                                                                                                              To get a page token, perform an initial GetDiskSnapshots request. If your results are paginated, the response will return a next page token that you can specify as the page token in a subsequent request.

                                                                                                                                                                              pub fn page_token(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { diff --git a/sdk/lightsail/src/operation/get_disks/builders.rs b/sdk/lightsail/src/operation/get_disks/builders.rs index 2aa409edd7e4..ce709c6e1c2a 100644 --- a/sdk/lightsail/src/operation/get_disks/builders.rs +++ b/sdk/lightsail/src/operation/get_disks/builders.rs @@ -19,9 +19,9 @@ impl GetDisksFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl GetDisksFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::get_disks::GetDisks, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                              The token to advance to the next page of results from your request.

                                                                                                                                                                              ///

                                                                                                                                                                              To get a page token, perform an initial GetDisks request. If your results are paginated, the response will return a next page token that you can specify as the page token in a subsequent request.

                                                                                                                                                                              pub fn page_token(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { diff --git a/sdk/lightsail/src/operation/get_distribution_bundles/builders.rs b/sdk/lightsail/src/operation/get_distribution_bundles/builders.rs index 2073fb832b7c..06fc688c4578 100644 --- a/sdk/lightsail/src/operation/get_distribution_bundles/builders.rs +++ b/sdk/lightsail/src/operation/get_distribution_bundles/builders.rs @@ -20,9 +20,9 @@ impl GetDistributionBundlesFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -84,4 +84,20 @@ impl GetDistributionBundlesFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::get_distribution_bundles::GetDistributionBundles, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::get_distribution_bundles::GetDistributionBundlesError, + >, + > { + self.customize_middleware().await + } } diff --git a/sdk/lightsail/src/operation/get_distribution_latest_cache_reset/builders.rs b/sdk/lightsail/src/operation/get_distribution_latest_cache_reset/builders.rs index 10723b0c950f..52e85cbce4ac 100644 --- a/sdk/lightsail/src/operation/get_distribution_latest_cache_reset/builders.rs +++ b/sdk/lightsail/src/operation/get_distribution_latest_cache_reset/builders.rs @@ -19,9 +19,9 @@ impl GetDistributionLatestCacheResetFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize(self) -> ::std::result::Result< + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware(self) -> ::std::result::Result< crate::client::customize::CustomizableOperation, ::aws_smithy_http::result::SdkError >{ @@ -64,6 +64,15 @@ impl GetDistributionLatestCacheResetFluentBuilder { { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize(self) -> ::std::result::Result< + crate::client::customize::CustomizableOperation, + ::aws_smithy_http::result::SdkError + >{ + self.customize_middleware().await + } ///

                                                                                                                                                                              The name of the distribution for which to return the timestamp of the last cache reset.

                                                                                                                                                                              ///

                                                                                                                                                                              Use the GetDistributions action to get a list of distribution names that you can specify.

                                                                                                                                                                              ///

                                                                                                                                                                              When omitted, the response includes the latest cache reset timestamp of all your distributions.

                                                                                                                                                                              diff --git a/sdk/lightsail/src/operation/get_distribution_metric_data/builders.rs b/sdk/lightsail/src/operation/get_distribution_metric_data/builders.rs index 5a6f5a992bcd..6dab2ab3f951 100644 --- a/sdk/lightsail/src/operation/get_distribution_metric_data/builders.rs +++ b/sdk/lightsail/src/operation/get_distribution_metric_data/builders.rs @@ -20,9 +20,9 @@ impl GetDistributionMetricDataFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -84,6 +84,22 @@ impl GetDistributionMetricDataFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::get_distribution_metric_data::GetDistributionMetricData, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::get_distribution_metric_data::GetDistributionMetricDataError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                              The name of the distribution for which to get metric data.

                                                                                                                                                                              ///

                                                                                                                                                                              Use the GetDistributions action to get a list of distribution names that you can specify.

                                                                                                                                                                              pub fn distribution_name( diff --git a/sdk/lightsail/src/operation/get_distributions/builders.rs b/sdk/lightsail/src/operation/get_distributions/builders.rs index 7e08ded02fd2..93ad91785741 100644 --- a/sdk/lightsail/src/operation/get_distributions/builders.rs +++ b/sdk/lightsail/src/operation/get_distributions/builders.rs @@ -19,9 +19,9 @@ impl GetDistributionsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl GetDistributionsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::get_distributions::GetDistributions, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::get_distributions::GetDistributionsError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                              The name of the distribution for which to return information.

                                                                                                                                                                              ///

                                                                                                                                                                              When omitted, the response includes all of your distributions in the Amazon Web Services Region where the request is made.

                                                                                                                                                                              pub fn distribution_name( diff --git a/sdk/lightsail/src/operation/get_domain/builders.rs b/sdk/lightsail/src/operation/get_domain/builders.rs index 6188f84724a3..c482413d4646 100644 --- a/sdk/lightsail/src/operation/get_domain/builders.rs +++ b/sdk/lightsail/src/operation/get_domain/builders.rs @@ -19,9 +19,9 @@ impl GetDomainFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl GetDomainFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::get_domain::GetDomain, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                              The domain name for which your want to return information about.

                                                                                                                                                                              pub fn domain_name(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.domain_name(input.into()); diff --git a/sdk/lightsail/src/operation/get_domains/builders.rs b/sdk/lightsail/src/operation/get_domains/builders.rs index f2df99410bd3..c5e27fd3d8d9 100644 --- a/sdk/lightsail/src/operation/get_domains/builders.rs +++ b/sdk/lightsail/src/operation/get_domains/builders.rs @@ -19,9 +19,9 @@ impl GetDomainsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl GetDomainsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::get_domains::GetDomains, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                              The token to advance to the next page of results from your request.

                                                                                                                                                                              ///

                                                                                                                                                                              To get a page token, perform an initial GetDomains request. If your results are paginated, the response will return a next page token that you can specify as the page token in a subsequent request.

                                                                                                                                                                              pub fn page_token(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { diff --git a/sdk/lightsail/src/operation/get_export_snapshot_records/builders.rs b/sdk/lightsail/src/operation/get_export_snapshot_records/builders.rs index 8ac3fd660183..dd54743a1827 100644 --- a/sdk/lightsail/src/operation/get_export_snapshot_records/builders.rs +++ b/sdk/lightsail/src/operation/get_export_snapshot_records/builders.rs @@ -20,9 +20,9 @@ impl GetExportSnapshotRecordsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -84,6 +84,22 @@ impl GetExportSnapshotRecordsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::get_export_snapshot_records::GetExportSnapshotRecords, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::get_export_snapshot_records::GetExportSnapshotRecordsError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                              The token to advance to the next page of results from your request.

                                                                                                                                                                              ///

                                                                                                                                                                              To get a page token, perform an initial GetExportSnapshotRecords request. If your results are paginated, the response will return a next page token that you can specify as the page token in a subsequent request.

                                                                                                                                                                              pub fn page_token(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { diff --git a/sdk/lightsail/src/operation/get_instance/builders.rs b/sdk/lightsail/src/operation/get_instance/builders.rs index d9a4e96456f5..01d99e3f6de0 100644 --- a/sdk/lightsail/src/operation/get_instance/builders.rs +++ b/sdk/lightsail/src/operation/get_instance/builders.rs @@ -19,9 +19,9 @@ impl GetInstanceFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl GetInstanceFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::get_instance::GetInstance, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                              The name of the instance.

                                                                                                                                                                              pub fn instance_name( mut self, diff --git a/sdk/lightsail/src/operation/get_instance_access_details/builders.rs b/sdk/lightsail/src/operation/get_instance_access_details/builders.rs index e04b3b88e096..12d7725ee12d 100644 --- a/sdk/lightsail/src/operation/get_instance_access_details/builders.rs +++ b/sdk/lightsail/src/operation/get_instance_access_details/builders.rs @@ -20,9 +20,9 @@ impl GetInstanceAccessDetailsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -84,6 +84,22 @@ impl GetInstanceAccessDetailsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::get_instance_access_details::GetInstanceAccessDetails, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::get_instance_access_details::GetInstanceAccessDetailsError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                              The name of the instance to access.

                                                                                                                                                                              pub fn instance_name( mut self, diff --git a/sdk/lightsail/src/operation/get_instance_metric_data/builders.rs b/sdk/lightsail/src/operation/get_instance_metric_data/builders.rs index e8752ae6f9f9..c7ac7ce1d611 100644 --- a/sdk/lightsail/src/operation/get_instance_metric_data/builders.rs +++ b/sdk/lightsail/src/operation/get_instance_metric_data/builders.rs @@ -20,9 +20,9 @@ impl GetInstanceMetricDataFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -84,6 +84,22 @@ impl GetInstanceMetricDataFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::get_instance_metric_data::GetInstanceMetricData, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::get_instance_metric_data::GetInstanceMetricDataError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                              The name of the instance for which you want to get metrics data.

                                                                                                                                                                              pub fn instance_name( mut self, diff --git a/sdk/lightsail/src/operation/get_instance_port_states/builders.rs b/sdk/lightsail/src/operation/get_instance_port_states/builders.rs index cac79d13aa06..5f1ea1f49ab1 100644 --- a/sdk/lightsail/src/operation/get_instance_port_states/builders.rs +++ b/sdk/lightsail/src/operation/get_instance_port_states/builders.rs @@ -19,9 +19,9 @@ impl GetInstancePortStatesFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl GetInstancePortStatesFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::get_instance_port_states::GetInstancePortStates, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::get_instance_port_states::GetInstancePortStatesError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                              The name of the instance for which to return firewall port states.

                                                                                                                                                                              pub fn instance_name( mut self, diff --git a/sdk/lightsail/src/operation/get_instance_snapshot/builders.rs b/sdk/lightsail/src/operation/get_instance_snapshot/builders.rs index 2a144ca7fa4e..1a9134351989 100644 --- a/sdk/lightsail/src/operation/get_instance_snapshot/builders.rs +++ b/sdk/lightsail/src/operation/get_instance_snapshot/builders.rs @@ -19,9 +19,9 @@ impl GetInstanceSnapshotFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl GetInstanceSnapshotFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::get_instance_snapshot::GetInstanceSnapshot, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::get_instance_snapshot::GetInstanceSnapshotError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                              The name of the snapshot for which you are requesting information.

                                                                                                                                                                              pub fn instance_snapshot_name( mut self, diff --git a/sdk/lightsail/src/operation/get_instance_snapshots/builders.rs b/sdk/lightsail/src/operation/get_instance_snapshots/builders.rs index 882d7f442eca..cfb98c047887 100644 --- a/sdk/lightsail/src/operation/get_instance_snapshots/builders.rs +++ b/sdk/lightsail/src/operation/get_instance_snapshots/builders.rs @@ -19,9 +19,9 @@ impl GetInstanceSnapshotsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl GetInstanceSnapshotsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::get_instance_snapshots::GetInstanceSnapshots, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::get_instance_snapshots::GetInstanceSnapshotsError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                              The token to advance to the next page of results from your request.

                                                                                                                                                                              ///

                                                                                                                                                                              To get a page token, perform an initial GetInstanceSnapshots request. If your results are paginated, the response will return a next page token that you can specify as the page token in a subsequent request.

                                                                                                                                                                              pub fn page_token(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { diff --git a/sdk/lightsail/src/operation/get_instance_state/builders.rs b/sdk/lightsail/src/operation/get_instance_state/builders.rs index b3a805787a81..7511c2b5544b 100644 --- a/sdk/lightsail/src/operation/get_instance_state/builders.rs +++ b/sdk/lightsail/src/operation/get_instance_state/builders.rs @@ -19,9 +19,9 @@ impl GetInstanceStateFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl GetInstanceStateFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::get_instance_state::GetInstanceState, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::get_instance_state::GetInstanceStateError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                              The name of the instance to get state information about.

                                                                                                                                                                              pub fn instance_name( mut self, diff --git a/sdk/lightsail/src/operation/get_instances/builders.rs b/sdk/lightsail/src/operation/get_instances/builders.rs index 3cd9e61b6d52..006515ae8b6e 100644 --- a/sdk/lightsail/src/operation/get_instances/builders.rs +++ b/sdk/lightsail/src/operation/get_instances/builders.rs @@ -19,9 +19,9 @@ impl GetInstancesFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl GetInstancesFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::get_instances::GetInstances, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                              The token to advance to the next page of results from your request.

                                                                                                                                                                              ///

                                                                                                                                                                              To get a page token, perform an initial GetInstances request. If your results are paginated, the response will return a next page token that you can specify as the page token in a subsequent request.

                                                                                                                                                                              pub fn page_token(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { diff --git a/sdk/lightsail/src/operation/get_key_pair/builders.rs b/sdk/lightsail/src/operation/get_key_pair/builders.rs index 9c786de76f9d..a2701e4b7a25 100644 --- a/sdk/lightsail/src/operation/get_key_pair/builders.rs +++ b/sdk/lightsail/src/operation/get_key_pair/builders.rs @@ -19,9 +19,9 @@ impl GetKeyPairFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl GetKeyPairFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::get_key_pair::GetKeyPair, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                              The name of the key pair for which you are requesting information.

                                                                                                                                                                              pub fn key_pair_name( mut self, diff --git a/sdk/lightsail/src/operation/get_key_pairs/builders.rs b/sdk/lightsail/src/operation/get_key_pairs/builders.rs index 07fa2b1ed694..9e5e8fd54b79 100644 --- a/sdk/lightsail/src/operation/get_key_pairs/builders.rs +++ b/sdk/lightsail/src/operation/get_key_pairs/builders.rs @@ -19,9 +19,9 @@ impl GetKeyPairsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl GetKeyPairsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::get_key_pairs::GetKeyPairs, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                              The token to advance to the next page of results from your request.

                                                                                                                                                                              ///

                                                                                                                                                                              To get a page token, perform an initial GetKeyPairs request. If your results are paginated, the response will return a next page token that you can specify as the page token in a subsequent request.

                                                                                                                                                                              pub fn page_token(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { diff --git a/sdk/lightsail/src/operation/get_load_balancer/builders.rs b/sdk/lightsail/src/operation/get_load_balancer/builders.rs index 334521a5f46f..ff8b66e85bc2 100644 --- a/sdk/lightsail/src/operation/get_load_balancer/builders.rs +++ b/sdk/lightsail/src/operation/get_load_balancer/builders.rs @@ -19,9 +19,9 @@ impl GetLoadBalancerFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl GetLoadBalancerFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::get_load_balancer::GetLoadBalancer, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::get_load_balancer::GetLoadBalancerError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                              The name of the load balancer.

                                                                                                                                                                              pub fn load_balancer_name( mut self, diff --git a/sdk/lightsail/src/operation/get_load_balancer_metric_data/builders.rs b/sdk/lightsail/src/operation/get_load_balancer_metric_data/builders.rs index 2008031e47db..caa044de17ad 100644 --- a/sdk/lightsail/src/operation/get_load_balancer_metric_data/builders.rs +++ b/sdk/lightsail/src/operation/get_load_balancer_metric_data/builders.rs @@ -20,9 +20,9 @@ impl GetLoadBalancerMetricDataFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -84,6 +84,22 @@ impl GetLoadBalancerMetricDataFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::get_load_balancer_metric_data::GetLoadBalancerMetricData, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::get_load_balancer_metric_data::GetLoadBalancerMetricDataError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                              The name of the load balancer.

                                                                                                                                                                              pub fn load_balancer_name( mut self, diff --git a/sdk/lightsail/src/operation/get_load_balancer_tls_certificates/builders.rs b/sdk/lightsail/src/operation/get_load_balancer_tls_certificates/builders.rs index 7b00e37c4f8c..231324dca43f 100644 --- a/sdk/lightsail/src/operation/get_load_balancer_tls_certificates/builders.rs +++ b/sdk/lightsail/src/operation/get_load_balancer_tls_certificates/builders.rs @@ -21,9 +21,9 @@ impl GetLoadBalancerTlsCertificatesFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize(self) -> ::std::result::Result< + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware(self) -> ::std::result::Result< crate::client::customize::CustomizableOperation, ::aws_smithy_http::result::SdkError >{ @@ -66,6 +66,15 @@ impl GetLoadBalancerTlsCertificatesFluentBuilder { { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize(self) -> ::std::result::Result< + crate::client::customize::CustomizableOperation, + ::aws_smithy_http::result::SdkError + >{ + self.customize_middleware().await + } ///

                                                                                                                                                                              The name of the load balancer you associated with your SSL/TLS certificate.

                                                                                                                                                                              pub fn load_balancer_name( mut self, diff --git a/sdk/lightsail/src/operation/get_load_balancer_tls_policies/builders.rs b/sdk/lightsail/src/operation/get_load_balancer_tls_policies/builders.rs index 41084f11f327..4d6bfd1b3e3b 100644 --- a/sdk/lightsail/src/operation/get_load_balancer_tls_policies/builders.rs +++ b/sdk/lightsail/src/operation/get_load_balancer_tls_policies/builders.rs @@ -20,9 +20,9 @@ impl GetLoadBalancerTlsPoliciesFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -84,6 +84,22 @@ impl GetLoadBalancerTlsPoliciesFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::get_load_balancer_tls_policies::GetLoadBalancerTlsPolicies, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::get_load_balancer_tls_policies::GetLoadBalancerTlsPoliciesError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                              The token to advance to the next page of results from your request.

                                                                                                                                                                              ///

                                                                                                                                                                              To get a page token, perform an initial GetLoadBalancerTlsPolicies request. If your results are paginated, the response will return a next page token that you can specify as the page token in a subsequent request.

                                                                                                                                                                              pub fn page_token(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { diff --git a/sdk/lightsail/src/operation/get_load_balancers/builders.rs b/sdk/lightsail/src/operation/get_load_balancers/builders.rs index a5c7975c8878..0e218ac0d24a 100644 --- a/sdk/lightsail/src/operation/get_load_balancers/builders.rs +++ b/sdk/lightsail/src/operation/get_load_balancers/builders.rs @@ -19,9 +19,9 @@ impl GetLoadBalancersFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl GetLoadBalancersFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::get_load_balancers::GetLoadBalancers, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::get_load_balancers::GetLoadBalancersError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                              The token to advance to the next page of results from your request.

                                                                                                                                                                              ///

                                                                                                                                                                              To get a page token, perform an initial GetLoadBalancers request. If your results are paginated, the response will return a next page token that you can specify as the page token in a subsequent request.

                                                                                                                                                                              pub fn page_token(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { diff --git a/sdk/lightsail/src/operation/get_operation/builders.rs b/sdk/lightsail/src/operation/get_operation/builders.rs index b030848a1015..a251c2b5183d 100644 --- a/sdk/lightsail/src/operation/get_operation/builders.rs +++ b/sdk/lightsail/src/operation/get_operation/builders.rs @@ -19,9 +19,9 @@ impl GetOperationFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl GetOperationFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::get_operation::GetOperation, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                              A GUID used to identify the operation.

                                                                                                                                                                              pub fn operation_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.operation_id(input.into()); diff --git a/sdk/lightsail/src/operation/get_operations/builders.rs b/sdk/lightsail/src/operation/get_operations/builders.rs index 6527b014a500..b57a930d94f9 100644 --- a/sdk/lightsail/src/operation/get_operations/builders.rs +++ b/sdk/lightsail/src/operation/get_operations/builders.rs @@ -20,9 +20,9 @@ impl GetOperationsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -78,6 +78,20 @@ impl GetOperationsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::get_operations::GetOperations, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                              The token to advance to the next page of results from your request.

                                                                                                                                                                              ///

                                                                                                                                                                              To get a page token, perform an initial GetOperations request. If your results are paginated, the response will return a next page token that you can specify as the page token in a subsequent request.

                                                                                                                                                                              pub fn page_token(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { diff --git a/sdk/lightsail/src/operation/get_operations_for_resource/builders.rs b/sdk/lightsail/src/operation/get_operations_for_resource/builders.rs index 0046896b3e85..8d3e45c05ab2 100644 --- a/sdk/lightsail/src/operation/get_operations_for_resource/builders.rs +++ b/sdk/lightsail/src/operation/get_operations_for_resource/builders.rs @@ -19,9 +19,9 @@ impl GetOperationsForResourceFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl GetOperationsForResourceFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::get_operations_for_resource::GetOperationsForResource, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::get_operations_for_resource::GetOperationsForResourceError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                              The name of the resource for which you are requesting information.

                                                                                                                                                                              pub fn resource_name( mut self, diff --git a/sdk/lightsail/src/operation/get_regions/builders.rs b/sdk/lightsail/src/operation/get_regions/builders.rs index 87184b2d70cf..d45cad6dab4c 100644 --- a/sdk/lightsail/src/operation/get_regions/builders.rs +++ b/sdk/lightsail/src/operation/get_regions/builders.rs @@ -19,9 +19,9 @@ impl GetRegionsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl GetRegionsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::get_regions::GetRegions, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                              A Boolean value indicating whether to also include Availability Zones in your get regions request. Availability Zones are indicated with a letter: e.g., us-east-2a.

                                                                                                                                                                              pub fn include_availability_zones(mut self, input: bool) -> Self { self.inner = self.inner.include_availability_zones(input); diff --git a/sdk/lightsail/src/operation/get_relational_database/builders.rs b/sdk/lightsail/src/operation/get_relational_database/builders.rs index 21cf1d817adf..74e37ab14532 100644 --- a/sdk/lightsail/src/operation/get_relational_database/builders.rs +++ b/sdk/lightsail/src/operation/get_relational_database/builders.rs @@ -19,9 +19,9 @@ impl GetRelationalDatabaseFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl GetRelationalDatabaseFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::get_relational_database::GetRelationalDatabase, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::get_relational_database::GetRelationalDatabaseError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                              The name of the database that you are looking up.

                                                                                                                                                                              pub fn relational_database_name( mut self, diff --git a/sdk/lightsail/src/operation/get_relational_database_blueprints/builders.rs b/sdk/lightsail/src/operation/get_relational_database_blueprints/builders.rs index 1057a6598099..9d5a1dc8ef7d 100644 --- a/sdk/lightsail/src/operation/get_relational_database_blueprints/builders.rs +++ b/sdk/lightsail/src/operation/get_relational_database_blueprints/builders.rs @@ -20,9 +20,9 @@ impl GetRelationalDatabaseBlueprintsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize(self) -> ::std::result::Result< + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware(self) -> ::std::result::Result< crate::client::customize::CustomizableOperation, ::aws_smithy_http::result::SdkError >{ @@ -65,6 +65,15 @@ impl GetRelationalDatabaseBlueprintsFluentBuilder { { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize(self) -> ::std::result::Result< + crate::client::customize::CustomizableOperation, + ::aws_smithy_http::result::SdkError + >{ + self.customize_middleware().await + } ///

                                                                                                                                                                              The token to advance to the next page of results from your request.

                                                                                                                                                                              ///

                                                                                                                                                                              To get a page token, perform an initial GetRelationalDatabaseBlueprints request. If your results are paginated, the response will return a next page token that you can specify as the page token in a subsequent request.

                                                                                                                                                                              pub fn page_token(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { diff --git a/sdk/lightsail/src/operation/get_relational_database_bundles/builders.rs b/sdk/lightsail/src/operation/get_relational_database_bundles/builders.rs index dc928b35da15..e9829492cc38 100644 --- a/sdk/lightsail/src/operation/get_relational_database_bundles/builders.rs +++ b/sdk/lightsail/src/operation/get_relational_database_bundles/builders.rs @@ -20,9 +20,9 @@ impl GetRelationalDatabaseBundlesFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -84,6 +84,22 @@ impl GetRelationalDatabaseBundlesFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::get_relational_database_bundles::GetRelationalDatabaseBundles, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::get_relational_database_bundles::GetRelationalDatabaseBundlesError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                              The token to advance to the next page of results from your request.

                                                                                                                                                                              ///

                                                                                                                                                                              To get a page token, perform an initial GetRelationalDatabaseBundles request. If your results are paginated, the response will return a next page token that you can specify as the page token in a subsequent request.

                                                                                                                                                                              pub fn page_token(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { diff --git a/sdk/lightsail/src/operation/get_relational_database_events/builders.rs b/sdk/lightsail/src/operation/get_relational_database_events/builders.rs index dd949bd48901..a698cc9e288b 100644 --- a/sdk/lightsail/src/operation/get_relational_database_events/builders.rs +++ b/sdk/lightsail/src/operation/get_relational_database_events/builders.rs @@ -19,9 +19,9 @@ impl GetRelationalDatabaseEventsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl GetRelationalDatabaseEventsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::get_relational_database_events::GetRelationalDatabaseEvents, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::get_relational_database_events::GetRelationalDatabaseEventsError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                              The name of the database from which to get events.

                                                                                                                                                                              pub fn relational_database_name( mut self, diff --git a/sdk/lightsail/src/operation/get_relational_database_log_events/builders.rs b/sdk/lightsail/src/operation/get_relational_database_log_events/builders.rs index f02760af00c2..b9e0a28e42dd 100644 --- a/sdk/lightsail/src/operation/get_relational_database_log_events/builders.rs +++ b/sdk/lightsail/src/operation/get_relational_database_log_events/builders.rs @@ -19,9 +19,9 @@ impl GetRelationalDatabaseLogEventsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize(self) -> ::std::result::Result< + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware(self) -> ::std::result::Result< crate::client::customize::CustomizableOperation, ::aws_smithy_http::result::SdkError >{ @@ -64,6 +64,15 @@ impl GetRelationalDatabaseLogEventsFluentBuilder { { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize(self) -> ::std::result::Result< + crate::client::customize::CustomizableOperation, + ::aws_smithy_http::result::SdkError + >{ + self.customize_middleware().await + } ///

                                                                                                                                                                              The name of your database for which to get log events.

                                                                                                                                                                              pub fn relational_database_name( mut self, diff --git a/sdk/lightsail/src/operation/get_relational_database_log_streams/builders.rs b/sdk/lightsail/src/operation/get_relational_database_log_streams/builders.rs index 15886f6c6d14..b05b32236e8b 100644 --- a/sdk/lightsail/src/operation/get_relational_database_log_streams/builders.rs +++ b/sdk/lightsail/src/operation/get_relational_database_log_streams/builders.rs @@ -19,9 +19,9 @@ impl GetRelationalDatabaseLogStreamsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize(self) -> ::std::result::Result< + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware(self) -> ::std::result::Result< crate::client::customize::CustomizableOperation, ::aws_smithy_http::result::SdkError >{ @@ -64,6 +64,15 @@ impl GetRelationalDatabaseLogStreamsFluentBuilder { { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize(self) -> ::std::result::Result< + crate::client::customize::CustomizableOperation, + ::aws_smithy_http::result::SdkError + >{ + self.customize_middleware().await + } ///

                                                                                                                                                                              The name of your database for which to get log streams.

                                                                                                                                                                              pub fn relational_database_name( mut self, diff --git a/sdk/lightsail/src/operation/get_relational_database_master_user_password/builders.rs b/sdk/lightsail/src/operation/get_relational_database_master_user_password/builders.rs index 8d62a3b2e442..3844d17c2ebc 100644 --- a/sdk/lightsail/src/operation/get_relational_database_master_user_password/builders.rs +++ b/sdk/lightsail/src/operation/get_relational_database_master_user_password/builders.rs @@ -20,9 +20,9 @@ impl GetRelationalDatabaseMasterUserPasswordFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize(self) -> ::std::result::Result< + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware(self) -> ::std::result::Result< crate::client::customize::CustomizableOperation, ::aws_smithy_http::result::SdkError >{ @@ -65,6 +65,15 @@ impl GetRelationalDatabaseMasterUserPasswordFluentBuilder { { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize(self) -> ::std::result::Result< + crate::client::customize::CustomizableOperation, + ::aws_smithy_http::result::SdkError + >{ + self.customize_middleware().await + } ///

                                                                                                                                                                              The name of your database for which to get the master user password.

                                                                                                                                                                              pub fn relational_database_name( mut self, diff --git a/sdk/lightsail/src/operation/get_relational_database_metric_data/builders.rs b/sdk/lightsail/src/operation/get_relational_database_metric_data/builders.rs index ae1c6fb20af3..08d7d032acbf 100644 --- a/sdk/lightsail/src/operation/get_relational_database_metric_data/builders.rs +++ b/sdk/lightsail/src/operation/get_relational_database_metric_data/builders.rs @@ -20,9 +20,9 @@ impl GetRelationalDatabaseMetricDataFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize(self) -> ::std::result::Result< + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware(self) -> ::std::result::Result< crate::client::customize::CustomizableOperation, ::aws_smithy_http::result::SdkError >{ @@ -65,6 +65,15 @@ impl GetRelationalDatabaseMetricDataFluentBuilder { { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize(self) -> ::std::result::Result< + crate::client::customize::CustomizableOperation, + ::aws_smithy_http::result::SdkError + >{ + self.customize_middleware().await + } ///

                                                                                                                                                                              The name of your database from which to get metric data.

                                                                                                                                                                              pub fn relational_database_name( mut self, diff --git a/sdk/lightsail/src/operation/get_relational_database_parameters/builders.rs b/sdk/lightsail/src/operation/get_relational_database_parameters/builders.rs index a61c3e4b8131..772a86def8b3 100644 --- a/sdk/lightsail/src/operation/get_relational_database_parameters/builders.rs +++ b/sdk/lightsail/src/operation/get_relational_database_parameters/builders.rs @@ -20,9 +20,9 @@ impl GetRelationalDatabaseParametersFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize(self) -> ::std::result::Result< + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware(self) -> ::std::result::Result< crate::client::customize::CustomizableOperation, ::aws_smithy_http::result::SdkError >{ @@ -65,6 +65,15 @@ impl GetRelationalDatabaseParametersFluentBuilder { { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize(self) -> ::std::result::Result< + crate::client::customize::CustomizableOperation, + ::aws_smithy_http::result::SdkError + >{ + self.customize_middleware().await + } ///

                                                                                                                                                                              The name of your database for which to get parameters.

                                                                                                                                                                              pub fn relational_database_name( mut self, diff --git a/sdk/lightsail/src/operation/get_relational_database_snapshot/builders.rs b/sdk/lightsail/src/operation/get_relational_database_snapshot/builders.rs index 995ee106e1ed..6a075d3e5fc6 100644 --- a/sdk/lightsail/src/operation/get_relational_database_snapshot/builders.rs +++ b/sdk/lightsail/src/operation/get_relational_database_snapshot/builders.rs @@ -19,9 +19,9 @@ impl GetRelationalDatabaseSnapshotFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl GetRelationalDatabaseSnapshotFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::get_relational_database_snapshot::GetRelationalDatabaseSnapshot, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::get_relational_database_snapshot::GetRelationalDatabaseSnapshotError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                              The name of the database snapshot for which to get information.

                                                                                                                                                                              pub fn relational_database_snapshot_name( mut self, diff --git a/sdk/lightsail/src/operation/get_relational_database_snapshots/builders.rs b/sdk/lightsail/src/operation/get_relational_database_snapshots/builders.rs index 59f6640cfc69..985ace42904f 100644 --- a/sdk/lightsail/src/operation/get_relational_database_snapshots/builders.rs +++ b/sdk/lightsail/src/operation/get_relational_database_snapshots/builders.rs @@ -19,9 +19,9 @@ impl GetRelationalDatabaseSnapshotsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize(self) -> ::std::result::Result< + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware(self) -> ::std::result::Result< crate::client::customize::CustomizableOperation, ::aws_smithy_http::result::SdkError >{ @@ -64,6 +64,15 @@ impl GetRelationalDatabaseSnapshotsFluentBuilder { { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize(self) -> ::std::result::Result< + crate::client::customize::CustomizableOperation, + ::aws_smithy_http::result::SdkError + >{ + self.customize_middleware().await + } ///

                                                                                                                                                                              The token to advance to the next page of results from your request.

                                                                                                                                                                              ///

                                                                                                                                                                              To get a page token, perform an initial GetRelationalDatabaseSnapshots request. If your results are paginated, the response will return a next page token that you can specify as the page token in a subsequent request.

                                                                                                                                                                              pub fn page_token(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { diff --git a/sdk/lightsail/src/operation/get_relational_databases/builders.rs b/sdk/lightsail/src/operation/get_relational_databases/builders.rs index 5553d9eabaf6..1e593edaf8d0 100644 --- a/sdk/lightsail/src/operation/get_relational_databases/builders.rs +++ b/sdk/lightsail/src/operation/get_relational_databases/builders.rs @@ -19,9 +19,9 @@ impl GetRelationalDatabasesFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl GetRelationalDatabasesFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::get_relational_databases::GetRelationalDatabases, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::get_relational_databases::GetRelationalDatabasesError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                              The token to advance to the next page of results from your request.

                                                                                                                                                                              ///

                                                                                                                                                                              To get a page token, perform an initial GetRelationalDatabases request. If your results are paginated, the response will return a next page token that you can specify as the page token in a subsequent request.

                                                                                                                                                                              pub fn page_token(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { diff --git a/sdk/lightsail/src/operation/get_static_ip/builders.rs b/sdk/lightsail/src/operation/get_static_ip/builders.rs index 15fcb9efa857..5eb4a21a4687 100644 --- a/sdk/lightsail/src/operation/get_static_ip/builders.rs +++ b/sdk/lightsail/src/operation/get_static_ip/builders.rs @@ -19,9 +19,9 @@ impl GetStaticIpFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl GetStaticIpFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::get_static_ip::GetStaticIp, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                              The name of the static IP in Lightsail.

                                                                                                                                                                              pub fn static_ip_name( mut self, diff --git a/sdk/lightsail/src/operation/get_static_ips/builders.rs b/sdk/lightsail/src/operation/get_static_ips/builders.rs index 99e040c6a40d..9f6fb7c4044e 100644 --- a/sdk/lightsail/src/operation/get_static_ips/builders.rs +++ b/sdk/lightsail/src/operation/get_static_ips/builders.rs @@ -19,9 +19,9 @@ impl GetStaticIpsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl GetStaticIpsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::get_static_ips::GetStaticIps, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                              The token to advance to the next page of results from your request.

                                                                                                                                                                              ///

                                                                                                                                                                              To get a page token, perform an initial GetStaticIps request. If your results are paginated, the response will return a next page token that you can specify as the page token in a subsequent request.

                                                                                                                                                                              pub fn page_token(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { diff --git a/sdk/lightsail/src/operation/import_key_pair/builders.rs b/sdk/lightsail/src/operation/import_key_pair/builders.rs index bc219037427f..020d1e00041a 100644 --- a/sdk/lightsail/src/operation/import_key_pair/builders.rs +++ b/sdk/lightsail/src/operation/import_key_pair/builders.rs @@ -19,9 +19,9 @@ impl ImportKeyPairFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl ImportKeyPairFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::import_key_pair::ImportKeyPair, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                              The name of the key pair for which you want to import the public key.

                                                                                                                                                                              pub fn key_pair_name( mut self, diff --git a/sdk/lightsail/src/operation/is_vpc_peered/builders.rs b/sdk/lightsail/src/operation/is_vpc_peered/builders.rs index c5823df94ca7..0a5ee0326d2f 100644 --- a/sdk/lightsail/src/operation/is_vpc_peered/builders.rs +++ b/sdk/lightsail/src/operation/is_vpc_peered/builders.rs @@ -19,9 +19,9 @@ impl IsVpcPeeredFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,4 +77,18 @@ impl IsVpcPeeredFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::is_vpc_peered::IsVpcPeered, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } } diff --git a/sdk/lightsail/src/operation/open_instance_public_ports/builders.rs b/sdk/lightsail/src/operation/open_instance_public_ports/builders.rs index 764bbf18e6cd..477e20526e27 100644 --- a/sdk/lightsail/src/operation/open_instance_public_ports/builders.rs +++ b/sdk/lightsail/src/operation/open_instance_public_ports/builders.rs @@ -21,9 +21,9 @@ impl OpenInstancePublicPortsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -85,6 +85,22 @@ impl OpenInstancePublicPortsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::open_instance_public_ports::OpenInstancePublicPorts, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::open_instance_public_ports::OpenInstancePublicPortsError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                              An object to describe the ports to open for the specified instance.

                                                                                                                                                                              pub fn port_info(mut self, input: crate::types::PortInfo) -> Self { self.inner = self.inner.port_info(input); diff --git a/sdk/lightsail/src/operation/peer_vpc/builders.rs b/sdk/lightsail/src/operation/peer_vpc/builders.rs index 3dd77bafcc9f..603719076df8 100644 --- a/sdk/lightsail/src/operation/peer_vpc/builders.rs +++ b/sdk/lightsail/src/operation/peer_vpc/builders.rs @@ -19,9 +19,9 @@ impl PeerVpcFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,4 +77,18 @@ impl PeerVpcFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::peer_vpc::PeerVpc, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } } diff --git a/sdk/lightsail/src/operation/put_alarm/builders.rs b/sdk/lightsail/src/operation/put_alarm/builders.rs index e107b5e02b17..52869a8f19dd 100644 --- a/sdk/lightsail/src/operation/put_alarm/builders.rs +++ b/sdk/lightsail/src/operation/put_alarm/builders.rs @@ -22,9 +22,9 @@ impl PutAlarmFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -80,6 +80,20 @@ impl PutAlarmFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::put_alarm::PutAlarm, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                              The name for the alarm. Specify the name of an existing alarm to update, and overwrite the previous configuration of the alarm.

                                                                                                                                                                              pub fn alarm_name(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.alarm_name(input.into()); diff --git a/sdk/lightsail/src/operation/put_instance_public_ports/builders.rs b/sdk/lightsail/src/operation/put_instance_public_ports/builders.rs index bc68e1ca6c7d..3077af682495 100644 --- a/sdk/lightsail/src/operation/put_instance_public_ports/builders.rs +++ b/sdk/lightsail/src/operation/put_instance_public_ports/builders.rs @@ -21,9 +21,9 @@ impl PutInstancePublicPortsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -85,6 +85,22 @@ impl PutInstancePublicPortsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::put_instance_public_ports::PutInstancePublicPorts, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::put_instance_public_ports::PutInstancePublicPortsError, + >, + > { + self.customize_middleware().await + } /// Appends an item to `portInfos`. /// /// To override the contents of this collection use [`set_port_infos`](Self::set_port_infos). diff --git a/sdk/lightsail/src/operation/reboot_instance/builders.rs b/sdk/lightsail/src/operation/reboot_instance/builders.rs index 8e93ad0e81d9..42b727c4f130 100644 --- a/sdk/lightsail/src/operation/reboot_instance/builders.rs +++ b/sdk/lightsail/src/operation/reboot_instance/builders.rs @@ -20,9 +20,9 @@ impl RebootInstanceFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -78,6 +78,20 @@ impl RebootInstanceFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::reboot_instance::RebootInstance, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                              The name of the instance to reboot.

                                                                                                                                                                              pub fn instance_name( mut self, diff --git a/sdk/lightsail/src/operation/reboot_relational_database/builders.rs b/sdk/lightsail/src/operation/reboot_relational_database/builders.rs index 86dabdcff915..4fd08680aeda 100644 --- a/sdk/lightsail/src/operation/reboot_relational_database/builders.rs +++ b/sdk/lightsail/src/operation/reboot_relational_database/builders.rs @@ -20,9 +20,9 @@ impl RebootRelationalDatabaseFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -84,6 +84,22 @@ impl RebootRelationalDatabaseFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::reboot_relational_database::RebootRelationalDatabase, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::reboot_relational_database::RebootRelationalDatabaseError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                              The name of your database to reboot.

                                                                                                                                                                              pub fn relational_database_name( mut self, diff --git a/sdk/lightsail/src/operation/register_container_image/builders.rs b/sdk/lightsail/src/operation/register_container_image/builders.rs index bd5bc7a3dcc5..5a79d5f66770 100644 --- a/sdk/lightsail/src/operation/register_container_image/builders.rs +++ b/sdk/lightsail/src/operation/register_container_image/builders.rs @@ -21,9 +21,9 @@ impl RegisterContainerImageFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -85,6 +85,22 @@ impl RegisterContainerImageFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::register_container_image::RegisterContainerImage, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::register_container_image::RegisterContainerImageError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                              The name of the container service for which to register a container image.

                                                                                                                                                                              pub fn service_name(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.service_name(input.into()); diff --git a/sdk/lightsail/src/operation/release_static_ip/builders.rs b/sdk/lightsail/src/operation/release_static_ip/builders.rs index ac8dbd85315c..f3d337502b78 100644 --- a/sdk/lightsail/src/operation/release_static_ip/builders.rs +++ b/sdk/lightsail/src/operation/release_static_ip/builders.rs @@ -19,9 +19,9 @@ impl ReleaseStaticIpFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl ReleaseStaticIpFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::release_static_ip::ReleaseStaticIp, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::release_static_ip::ReleaseStaticIpError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                              The name of the static IP to delete.

                                                                                                                                                                              pub fn static_ip_name( mut self, diff --git a/sdk/lightsail/src/operation/reset_distribution_cache/builders.rs b/sdk/lightsail/src/operation/reset_distribution_cache/builders.rs index daa77a08da97..b966d06b3ff8 100644 --- a/sdk/lightsail/src/operation/reset_distribution_cache/builders.rs +++ b/sdk/lightsail/src/operation/reset_distribution_cache/builders.rs @@ -20,9 +20,9 @@ impl ResetDistributionCacheFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -84,6 +84,22 @@ impl ResetDistributionCacheFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::reset_distribution_cache::ResetDistributionCache, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::reset_distribution_cache::ResetDistributionCacheError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                              The name of the distribution for which to reset cache.

                                                                                                                                                                              ///

                                                                                                                                                                              Use the GetDistributions action to get a list of distribution names that you can specify.

                                                                                                                                                                              pub fn distribution_name( diff --git a/sdk/lightsail/src/operation/send_contact_method_verification/builders.rs b/sdk/lightsail/src/operation/send_contact_method_verification/builders.rs index 28b9df5f0ccd..80fd79f33400 100644 --- a/sdk/lightsail/src/operation/send_contact_method_verification/builders.rs +++ b/sdk/lightsail/src/operation/send_contact_method_verification/builders.rs @@ -23,9 +23,9 @@ impl SendContactMethodVerificationFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -87,6 +87,22 @@ impl SendContactMethodVerificationFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::send_contact_method_verification::SendContactMethodVerification, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::send_contact_method_verification::SendContactMethodVerificationError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                              The protocol to verify, such as Email or SMS (text messaging).

                                                                                                                                                                              pub fn protocol(mut self, input: crate::types::ContactMethodVerificationProtocol) -> Self { self.inner = self.inner.protocol(input); diff --git a/sdk/lightsail/src/operation/set_ip_address_type/builders.rs b/sdk/lightsail/src/operation/set_ip_address_type/builders.rs index f4495681785b..5c871bf678f8 100644 --- a/sdk/lightsail/src/operation/set_ip_address_type/builders.rs +++ b/sdk/lightsail/src/operation/set_ip_address_type/builders.rs @@ -20,9 +20,9 @@ impl SetIpAddressTypeFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -84,6 +84,22 @@ impl SetIpAddressTypeFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::set_ip_address_type::SetIpAddressType, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::set_ip_address_type::SetIpAddressTypeError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                              The resource type.

                                                                                                                                                                              ///

                                                                                                                                                                              The possible values are Distribution, Instance, and LoadBalancer.

                                                                                                                                                                              ///

                                                                                                                                                                              Distribution-related APIs are available only in the N. Virginia (us-east-1) Amazon Web Services Region. Set your Amazon Web Services Region configuration to us-east-1 to create, view, or edit distributions.

                                                                                                                                                                              diff --git a/sdk/lightsail/src/operation/set_resource_access_for_bucket/builders.rs b/sdk/lightsail/src/operation/set_resource_access_for_bucket/builders.rs index 07ec6ed39cdc..0ee79ff94266 100644 --- a/sdk/lightsail/src/operation/set_resource_access_for_bucket/builders.rs +++ b/sdk/lightsail/src/operation/set_resource_access_for_bucket/builders.rs @@ -20,9 +20,9 @@ impl SetResourceAccessForBucketFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -84,6 +84,22 @@ impl SetResourceAccessForBucketFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::set_resource_access_for_bucket::SetResourceAccessForBucket, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::set_resource_access_for_bucket::SetResourceAccessForBucketError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                              The name of the Lightsail instance for which to set bucket access. The instance must be in a running or stopped state.

                                                                                                                                                                              pub fn resource_name( mut self, diff --git a/sdk/lightsail/src/operation/start_gui_session/builders.rs b/sdk/lightsail/src/operation/start_gui_session/builders.rs index f427f34dcbd0..a1a442725df0 100644 --- a/sdk/lightsail/src/operation/start_gui_session/builders.rs +++ b/sdk/lightsail/src/operation/start_gui_session/builders.rs @@ -19,9 +19,9 @@ impl StartGUISessionFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl StartGUISessionFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::start_gui_session::StartGUISession, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::start_gui_session::StartGUISessionError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                              The resource name.

                                                                                                                                                                              pub fn resource_name( mut self, diff --git a/sdk/lightsail/src/operation/start_instance/builders.rs b/sdk/lightsail/src/operation/start_instance/builders.rs index 175dc761e97d..952217522779 100644 --- a/sdk/lightsail/src/operation/start_instance/builders.rs +++ b/sdk/lightsail/src/operation/start_instance/builders.rs @@ -22,9 +22,9 @@ impl StartInstanceFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -80,6 +80,20 @@ impl StartInstanceFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::start_instance::StartInstance, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                              The name of the instance (a virtual private server) to start.

                                                                                                                                                                              pub fn instance_name( mut self, diff --git a/sdk/lightsail/src/operation/start_relational_database/builders.rs b/sdk/lightsail/src/operation/start_relational_database/builders.rs index a83e349b263f..8b00dbdbbef8 100644 --- a/sdk/lightsail/src/operation/start_relational_database/builders.rs +++ b/sdk/lightsail/src/operation/start_relational_database/builders.rs @@ -21,9 +21,9 @@ impl StartRelationalDatabaseFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -85,6 +85,22 @@ impl StartRelationalDatabaseFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::start_relational_database::StartRelationalDatabase, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::start_relational_database::StartRelationalDatabaseError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                              The name of your database to start.

                                                                                                                                                                              pub fn relational_database_name( mut self, diff --git a/sdk/lightsail/src/operation/stop_gui_session/builders.rs b/sdk/lightsail/src/operation/stop_gui_session/builders.rs index 947248c519b5..4b11bd864b84 100644 --- a/sdk/lightsail/src/operation/stop_gui_session/builders.rs +++ b/sdk/lightsail/src/operation/stop_gui_session/builders.rs @@ -19,9 +19,9 @@ impl StopGUISessionFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl StopGUISessionFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::stop_gui_session::StopGUISession, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::stop_gui_session::StopGUISessionError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                              The resource name.

                                                                                                                                                                              pub fn resource_name( mut self, diff --git a/sdk/lightsail/src/operation/stop_instance/builders.rs b/sdk/lightsail/src/operation/stop_instance/builders.rs index 76296388d48b..6a03907fa092 100644 --- a/sdk/lightsail/src/operation/stop_instance/builders.rs +++ b/sdk/lightsail/src/operation/stop_instance/builders.rs @@ -22,9 +22,9 @@ impl StopInstanceFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -80,6 +80,20 @@ impl StopInstanceFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::stop_instance::StopInstance, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                              The name of the instance (a virtual private server) to stop.

                                                                                                                                                                              pub fn instance_name( mut self, diff --git a/sdk/lightsail/src/operation/stop_relational_database/builders.rs b/sdk/lightsail/src/operation/stop_relational_database/builders.rs index 4837a76090ed..8dbdabc7baa0 100644 --- a/sdk/lightsail/src/operation/stop_relational_database/builders.rs +++ b/sdk/lightsail/src/operation/stop_relational_database/builders.rs @@ -20,9 +20,9 @@ impl StopRelationalDatabaseFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -84,6 +84,22 @@ impl StopRelationalDatabaseFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::stop_relational_database::StopRelationalDatabase, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::stop_relational_database::StopRelationalDatabaseError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                              The name of your database to stop.

                                                                                                                                                                              pub fn relational_database_name( mut self, diff --git a/sdk/lightsail/src/operation/tag_resource/builders.rs b/sdk/lightsail/src/operation/tag_resource/builders.rs index 3c4bc4a2cdcc..e14e031a368d 100644 --- a/sdk/lightsail/src/operation/tag_resource/builders.rs +++ b/sdk/lightsail/src/operation/tag_resource/builders.rs @@ -20,9 +20,9 @@ impl TagResourceFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -78,6 +78,20 @@ impl TagResourceFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::tag_resource::TagResource, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                              The name of the resource to which you are adding tags.

                                                                                                                                                                              pub fn resource_name( mut self, diff --git a/sdk/lightsail/src/operation/test_alarm/builders.rs b/sdk/lightsail/src/operation/test_alarm/builders.rs index 543a23c1642c..64a199ef17a7 100644 --- a/sdk/lightsail/src/operation/test_alarm/builders.rs +++ b/sdk/lightsail/src/operation/test_alarm/builders.rs @@ -20,9 +20,9 @@ impl TestAlarmFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -78,6 +78,20 @@ impl TestAlarmFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::test_alarm::TestAlarm, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                              The name of the alarm to test.

                                                                                                                                                                              pub fn alarm_name(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.alarm_name(input.into()); diff --git a/sdk/lightsail/src/operation/unpeer_vpc/builders.rs b/sdk/lightsail/src/operation/unpeer_vpc/builders.rs index 4e2b1eb8344d..4247177eb266 100644 --- a/sdk/lightsail/src/operation/unpeer_vpc/builders.rs +++ b/sdk/lightsail/src/operation/unpeer_vpc/builders.rs @@ -19,9 +19,9 @@ impl UnpeerVpcFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,4 +77,18 @@ impl UnpeerVpcFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::unpeer_vpc::UnpeerVpc, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } } diff --git a/sdk/lightsail/src/operation/untag_resource/builders.rs b/sdk/lightsail/src/operation/untag_resource/builders.rs index 7e9feb9e33e0..741f5a8dbd96 100644 --- a/sdk/lightsail/src/operation/untag_resource/builders.rs +++ b/sdk/lightsail/src/operation/untag_resource/builders.rs @@ -20,9 +20,9 @@ impl UntagResourceFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -78,6 +78,20 @@ impl UntagResourceFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::untag_resource::UntagResource, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                              The name of the resource from which you are removing a tag.

                                                                                                                                                                              pub fn resource_name( mut self, diff --git a/sdk/lightsail/src/operation/update_bucket/builders.rs b/sdk/lightsail/src/operation/update_bucket/builders.rs index 514bc6ae53a1..ccdf058f51dc 100644 --- a/sdk/lightsail/src/operation/update_bucket/builders.rs +++ b/sdk/lightsail/src/operation/update_bucket/builders.rs @@ -20,9 +20,9 @@ impl UpdateBucketFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -78,6 +78,20 @@ impl UpdateBucketFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::update_bucket::UpdateBucket, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                              The name of the bucket to update.

                                                                                                                                                                              pub fn bucket_name(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.bucket_name(input.into()); diff --git a/sdk/lightsail/src/operation/update_bucket_bundle/builders.rs b/sdk/lightsail/src/operation/update_bucket_bundle/builders.rs index 402190293345..145df577b3c0 100644 --- a/sdk/lightsail/src/operation/update_bucket_bundle/builders.rs +++ b/sdk/lightsail/src/operation/update_bucket_bundle/builders.rs @@ -21,9 +21,9 @@ impl UpdateBucketBundleFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -85,6 +85,22 @@ impl UpdateBucketBundleFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::update_bucket_bundle::UpdateBucketBundle, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::update_bucket_bundle::UpdateBucketBundleError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                              The name of the bucket for which to update the bundle.

                                                                                                                                                                              pub fn bucket_name(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.bucket_name(input.into()); diff --git a/sdk/lightsail/src/operation/update_container_service/builders.rs b/sdk/lightsail/src/operation/update_container_service/builders.rs index 40396f651bf5..1a087928234a 100644 --- a/sdk/lightsail/src/operation/update_container_service/builders.rs +++ b/sdk/lightsail/src/operation/update_container_service/builders.rs @@ -19,9 +19,9 @@ impl UpdateContainerServiceFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl UpdateContainerServiceFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::update_container_service::UpdateContainerService, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::update_container_service::UpdateContainerServiceError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                              The name of the container service to update.

                                                                                                                                                                              pub fn service_name(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.service_name(input.into()); diff --git a/sdk/lightsail/src/operation/update_distribution/builders.rs b/sdk/lightsail/src/operation/update_distribution/builders.rs index 62090dec7db5..7651e05dcef4 100644 --- a/sdk/lightsail/src/operation/update_distribution/builders.rs +++ b/sdk/lightsail/src/operation/update_distribution/builders.rs @@ -20,9 +20,9 @@ impl UpdateDistributionFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -84,6 +84,22 @@ impl UpdateDistributionFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::update_distribution::UpdateDistribution, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::update_distribution::UpdateDistributionError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                              The name of the distribution to update.

                                                                                                                                                                              ///

                                                                                                                                                                              Use the GetDistributions action to get a list of distribution names that you can specify.

                                                                                                                                                                              pub fn distribution_name( diff --git a/sdk/lightsail/src/operation/update_distribution_bundle/builders.rs b/sdk/lightsail/src/operation/update_distribution_bundle/builders.rs index da62c1e518e5..938fb21d26ff 100644 --- a/sdk/lightsail/src/operation/update_distribution_bundle/builders.rs +++ b/sdk/lightsail/src/operation/update_distribution_bundle/builders.rs @@ -22,9 +22,9 @@ impl UpdateDistributionBundleFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -86,6 +86,22 @@ impl UpdateDistributionBundleFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::update_distribution_bundle::UpdateDistributionBundle, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::update_distribution_bundle::UpdateDistributionBundleError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                              The name of the distribution for which to update the bundle.

                                                                                                                                                                              ///

                                                                                                                                                                              Use the GetDistributions action to get a list of distribution names that you can specify.

                                                                                                                                                                              pub fn distribution_name( diff --git a/sdk/lightsail/src/operation/update_domain_entry/builders.rs b/sdk/lightsail/src/operation/update_domain_entry/builders.rs index 5b58a498d3fc..3c577019e2c0 100644 --- a/sdk/lightsail/src/operation/update_domain_entry/builders.rs +++ b/sdk/lightsail/src/operation/update_domain_entry/builders.rs @@ -20,9 +20,9 @@ impl UpdateDomainEntryFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -84,6 +84,22 @@ impl UpdateDomainEntryFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::update_domain_entry::UpdateDomainEntry, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::update_domain_entry::UpdateDomainEntryError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                              The name of the domain recordset to update.

                                                                                                                                                                              pub fn domain_name(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.domain_name(input.into()); diff --git a/sdk/lightsail/src/operation/update_instance_metadata_options/builders.rs b/sdk/lightsail/src/operation/update_instance_metadata_options/builders.rs index 464f230fd724..bfc92bd404e5 100644 --- a/sdk/lightsail/src/operation/update_instance_metadata_options/builders.rs +++ b/sdk/lightsail/src/operation/update_instance_metadata_options/builders.rs @@ -19,9 +19,9 @@ impl UpdateInstanceMetadataOptionsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl UpdateInstanceMetadataOptionsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::update_instance_metadata_options::UpdateInstanceMetadataOptions, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::update_instance_metadata_options::UpdateInstanceMetadataOptionsError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                              The name of the instance for which to update metadata parameters.

                                                                                                                                                                              pub fn instance_name( mut self, diff --git a/sdk/lightsail/src/operation/update_load_balancer_attribute/builders.rs b/sdk/lightsail/src/operation/update_load_balancer_attribute/builders.rs index 151f076e143b..274cc1397f8b 100644 --- a/sdk/lightsail/src/operation/update_load_balancer_attribute/builders.rs +++ b/sdk/lightsail/src/operation/update_load_balancer_attribute/builders.rs @@ -20,9 +20,9 @@ impl UpdateLoadBalancerAttributeFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -84,6 +84,22 @@ impl UpdateLoadBalancerAttributeFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::update_load_balancer_attribute::UpdateLoadBalancerAttribute, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::update_load_balancer_attribute::UpdateLoadBalancerAttributeError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                              The name of the load balancer that you want to modify (e.g., my-load-balancer.

                                                                                                                                                                              pub fn load_balancer_name( mut self, diff --git a/sdk/lightsail/src/operation/update_relational_database/builders.rs b/sdk/lightsail/src/operation/update_relational_database/builders.rs index 2ae8d4976e64..3d3fb19a0efa 100644 --- a/sdk/lightsail/src/operation/update_relational_database/builders.rs +++ b/sdk/lightsail/src/operation/update_relational_database/builders.rs @@ -21,9 +21,9 @@ impl UpdateRelationalDatabaseFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -85,6 +85,22 @@ impl UpdateRelationalDatabaseFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::update_relational_database::UpdateRelationalDatabase, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::update_relational_database::UpdateRelationalDatabaseError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                              The name of your Lightsail database resource to update.

                                                                                                                                                                              pub fn relational_database_name( mut self, diff --git a/sdk/lightsail/src/operation/update_relational_database_parameters/builders.rs b/sdk/lightsail/src/operation/update_relational_database_parameters/builders.rs index 7beeb3a87350..a93ce6b5d93c 100644 --- a/sdk/lightsail/src/operation/update_relational_database_parameters/builders.rs +++ b/sdk/lightsail/src/operation/update_relational_database_parameters/builders.rs @@ -21,9 +21,9 @@ impl UpdateRelationalDatabaseParametersFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize(self) -> ::std::result::Result< + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware(self) -> ::std::result::Result< crate::client::customize::CustomizableOperation, ::aws_smithy_http::result::SdkError >{ @@ -66,6 +66,15 @@ impl UpdateRelationalDatabaseParametersFluentBuilder { { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize(self) -> ::std::result::Result< + crate::client::customize::CustomizableOperation, + ::aws_smithy_http::result::SdkError + >{ + self.customize_middleware().await + } ///

                                                                                                                                                                              The name of your database for which to update parameters.

                                                                                                                                                                              pub fn relational_database_name( mut self, diff --git a/sdk/location/src/operation/associate_tracker_consumer/builders.rs b/sdk/location/src/operation/associate_tracker_consumer/builders.rs index 66053cf91a29..47e4957a8d49 100644 --- a/sdk/location/src/operation/associate_tracker_consumer/builders.rs +++ b/sdk/location/src/operation/associate_tracker_consumer/builders.rs @@ -22,9 +22,9 @@ impl AssociateTrackerConsumerFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -86,6 +86,22 @@ impl AssociateTrackerConsumerFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::associate_tracker_consumer::AssociateTrackerConsumer, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::associate_tracker_consumer::AssociateTrackerConsumerError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                              The name of the tracker resource to be associated with a geofence collection.

                                                                                                                                                                              pub fn tracker_name(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.tracker_name(input.into()); diff --git a/sdk/location/src/operation/batch_delete_device_position_history/builders.rs b/sdk/location/src/operation/batch_delete_device_position_history/builders.rs index 64ddfc015b55..7e66c0355061 100644 --- a/sdk/location/src/operation/batch_delete_device_position_history/builders.rs +++ b/sdk/location/src/operation/batch_delete_device_position_history/builders.rs @@ -19,9 +19,9 @@ impl BatchDeleteDevicePositionHistoryFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize(self) -> ::std::result::Result< + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware(self) -> ::std::result::Result< crate::client::customize::CustomizableOperation, ::aws_smithy_http::result::SdkError >{ @@ -64,6 +64,15 @@ impl BatchDeleteDevicePositionHistoryFluentBuilder { { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize(self) -> ::std::result::Result< + crate::client::customize::CustomizableOperation, + ::aws_smithy_http::result::SdkError + >{ + self.customize_middleware().await + } ///

                                                                                                                                                                              The name of the tracker resource to delete the device position history from.

                                                                                                                                                                              pub fn tracker_name(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.tracker_name(input.into()); diff --git a/sdk/location/src/operation/batch_delete_geofence/builders.rs b/sdk/location/src/operation/batch_delete_geofence/builders.rs index f884b2604c03..437349f50264 100644 --- a/sdk/location/src/operation/batch_delete_geofence/builders.rs +++ b/sdk/location/src/operation/batch_delete_geofence/builders.rs @@ -21,9 +21,9 @@ impl BatchDeleteGeofenceFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -85,6 +85,22 @@ impl BatchDeleteGeofenceFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::batch_delete_geofence::BatchDeleteGeofence, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::batch_delete_geofence::BatchDeleteGeofenceError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                              The geofence collection storing the geofences to be deleted.

                                                                                                                                                                              pub fn collection_name( mut self, diff --git a/sdk/location/src/operation/batch_evaluate_geofences/builders.rs b/sdk/location/src/operation/batch_evaluate_geofences/builders.rs index c3b24b1df4e8..f5c80e579272 100644 --- a/sdk/location/src/operation/batch_evaluate_geofences/builders.rs +++ b/sdk/location/src/operation/batch_evaluate_geofences/builders.rs @@ -30,9 +30,9 @@ impl BatchEvaluateGeofencesFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -94,6 +94,22 @@ impl BatchEvaluateGeofencesFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::batch_evaluate_geofences::BatchEvaluateGeofences, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::batch_evaluate_geofences::BatchEvaluateGeofencesError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                              The geofence collection used in evaluating the position of devices against its geofences.

                                                                                                                                                                              pub fn collection_name( mut self, diff --git a/sdk/location/src/operation/batch_get_device_position/builders.rs b/sdk/location/src/operation/batch_get_device_position/builders.rs index 69fb3dbc8452..eb908002822c 100644 --- a/sdk/location/src/operation/batch_get_device_position/builders.rs +++ b/sdk/location/src/operation/batch_get_device_position/builders.rs @@ -20,9 +20,9 @@ impl BatchGetDevicePositionFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -84,6 +84,22 @@ impl BatchGetDevicePositionFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::batch_get_device_position::BatchGetDevicePosition, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::batch_get_device_position::BatchGetDevicePositionError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                              The tracker resource retrieving the device position.

                                                                                                                                                                              pub fn tracker_name(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.tracker_name(input.into()); diff --git a/sdk/location/src/operation/batch_put_geofence/builders.rs b/sdk/location/src/operation/batch_put_geofence/builders.rs index 3e433bfad509..715f66c63531 100644 --- a/sdk/location/src/operation/batch_put_geofence/builders.rs +++ b/sdk/location/src/operation/batch_put_geofence/builders.rs @@ -19,9 +19,9 @@ impl BatchPutGeofenceFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl BatchPutGeofenceFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::batch_put_geofence::BatchPutGeofence, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::batch_put_geofence::BatchPutGeofenceError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                              The geofence collection storing the geofences.

                                                                                                                                                                              pub fn collection_name( mut self, diff --git a/sdk/location/src/operation/batch_update_device_position/builders.rs b/sdk/location/src/operation/batch_update_device_position/builders.rs index 34a28c00d039..e89a65023bbd 100644 --- a/sdk/location/src/operation/batch_update_device_position/builders.rs +++ b/sdk/location/src/operation/batch_update_device_position/builders.rs @@ -23,9 +23,9 @@ impl BatchUpdateDevicePositionFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -87,6 +87,22 @@ impl BatchUpdateDevicePositionFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::batch_update_device_position::BatchUpdateDevicePosition, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::batch_update_device_position::BatchUpdateDevicePositionError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                              The name of the tracker resource to update.

                                                                                                                                                                              pub fn tracker_name(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.tracker_name(input.into()); diff --git a/sdk/location/src/operation/calculate_route/builders.rs b/sdk/location/src/operation/calculate_route/builders.rs index 49c23ec8d599..cda158ded156 100644 --- a/sdk/location/src/operation/calculate_route/builders.rs +++ b/sdk/location/src/operation/calculate_route/builders.rs @@ -29,9 +29,9 @@ impl CalculateRouteFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -87,6 +87,20 @@ impl CalculateRouteFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::calculate_route::CalculateRoute, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                              The name of the route calculator resource that you want to use to calculate the route.

                                                                                                                                                                              pub fn calculator_name( mut self, diff --git a/sdk/location/src/operation/calculate_route_matrix/builders.rs b/sdk/location/src/operation/calculate_route_matrix/builders.rs index 1eaf959c45c7..89d6e1ec10ae 100644 --- a/sdk/location/src/operation/calculate_route_matrix/builders.rs +++ b/sdk/location/src/operation/calculate_route_matrix/builders.rs @@ -30,9 +30,9 @@ impl CalculateRouteMatrixFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -94,6 +94,22 @@ impl CalculateRouteMatrixFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::calculate_route_matrix::CalculateRouteMatrix, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::calculate_route_matrix::CalculateRouteMatrixError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                              The name of the route calculator resource that you want to use to calculate the route matrix.

                                                                                                                                                                              pub fn calculator_name( mut self, diff --git a/sdk/location/src/operation/create_geofence_collection/builders.rs b/sdk/location/src/operation/create_geofence_collection/builders.rs index 18a68ce13ab1..b9623ac4b611 100644 --- a/sdk/location/src/operation/create_geofence_collection/builders.rs +++ b/sdk/location/src/operation/create_geofence_collection/builders.rs @@ -19,9 +19,9 @@ impl CreateGeofenceCollectionFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl CreateGeofenceCollectionFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::create_geofence_collection::CreateGeofenceCollection, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::create_geofence_collection::CreateGeofenceCollectionError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                              A custom name for the geofence collection.

                                                                                                                                                                              ///

                                                                                                                                                                              Requirements:

                                                                                                                                                                              ///
                                                                                                                                                                                diff --git a/sdk/location/src/operation/create_key/builders.rs b/sdk/location/src/operation/create_key/builders.rs index 289ee069c998..b4f262505ebb 100644 --- a/sdk/location/src/operation/create_key/builders.rs +++ b/sdk/location/src/operation/create_key/builders.rs @@ -21,9 +21,9 @@ impl CreateKeyFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -79,6 +79,20 @@ impl CreateKeyFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::create_key::CreateKey, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                A custom name for the API key resource.

                                                                                                                                                                                ///

                                                                                                                                                                                Requirements:

                                                                                                                                                                                ///
                                                                                                                                                                                  diff --git a/sdk/location/src/operation/create_map/builders.rs b/sdk/location/src/operation/create_map/builders.rs index dd12df5fbff9..bc8fdc44dc7b 100644 --- a/sdk/location/src/operation/create_map/builders.rs +++ b/sdk/location/src/operation/create_map/builders.rs @@ -21,9 +21,9 @@ impl CreateMapFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -79,6 +79,20 @@ impl CreateMapFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::create_map::CreateMap, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                  The name for the map resource.

                                                                                                                                                                                  ///

                                                                                                                                                                                  Requirements:

                                                                                                                                                                                  ///
                                                                                                                                                                                    diff --git a/sdk/location/src/operation/create_place_index/builders.rs b/sdk/location/src/operation/create_place_index/builders.rs index 1d619e15011b..845bbb4b0114 100644 --- a/sdk/location/src/operation/create_place_index/builders.rs +++ b/sdk/location/src/operation/create_place_index/builders.rs @@ -21,9 +21,9 @@ impl CreatePlaceIndexFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -85,6 +85,22 @@ impl CreatePlaceIndexFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::create_place_index::CreatePlaceIndex, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::create_place_index::CreatePlaceIndexError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                    The name of the place index resource.

                                                                                                                                                                                    ///

                                                                                                                                                                                    Requirements:

                                                                                                                                                                                    ///
                                                                                                                                                                                      diff --git a/sdk/location/src/operation/create_route_calculator/builders.rs b/sdk/location/src/operation/create_route_calculator/builders.rs index f5d0e83fab9c..c90a5466f750 100644 --- a/sdk/location/src/operation/create_route_calculator/builders.rs +++ b/sdk/location/src/operation/create_route_calculator/builders.rs @@ -22,9 +22,9 @@ impl CreateRouteCalculatorFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -86,6 +86,22 @@ impl CreateRouteCalculatorFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::create_route_calculator::CreateRouteCalculator, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::create_route_calculator::CreateRouteCalculatorError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                      The name of the route calculator resource.

                                                                                                                                                                                      ///

                                                                                                                                                                                      Requirements:

                                                                                                                                                                                      ///
                                                                                                                                                                                        diff --git a/sdk/location/src/operation/create_tracker/builders.rs b/sdk/location/src/operation/create_tracker/builders.rs index 7fe6fcf2b830..5bc7168f1ea2 100644 --- a/sdk/location/src/operation/create_tracker/builders.rs +++ b/sdk/location/src/operation/create_tracker/builders.rs @@ -19,9 +19,9 @@ impl CreateTrackerFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl CreateTrackerFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::create_tracker::CreateTracker, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                        The name for the tracker resource.

                                                                                                                                                                                        ///

                                                                                                                                                                                        Requirements:

                                                                                                                                                                                        ///
                                                                                                                                                                                          diff --git a/sdk/location/src/operation/delete_geofence_collection/builders.rs b/sdk/location/src/operation/delete_geofence_collection/builders.rs index 8bab7ac95956..6fffabf8461d 100644 --- a/sdk/location/src/operation/delete_geofence_collection/builders.rs +++ b/sdk/location/src/operation/delete_geofence_collection/builders.rs @@ -21,9 +21,9 @@ impl DeleteGeofenceCollectionFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -85,6 +85,22 @@ impl DeleteGeofenceCollectionFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::delete_geofence_collection::DeleteGeofenceCollection, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::delete_geofence_collection::DeleteGeofenceCollectionError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                          The name of the geofence collection to be deleted.

                                                                                                                                                                                          pub fn collection_name( mut self, diff --git a/sdk/location/src/operation/delete_key/builders.rs b/sdk/location/src/operation/delete_key/builders.rs index 1bfe5e16790a..97135301e589 100644 --- a/sdk/location/src/operation/delete_key/builders.rs +++ b/sdk/location/src/operation/delete_key/builders.rs @@ -19,9 +19,9 @@ impl DeleteKeyFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl DeleteKeyFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::delete_key::DeleteKey, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                          The name of the API key to delete.

                                                                                                                                                                                          pub fn key_name(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.key_name(input.into()); diff --git a/sdk/location/src/operation/delete_map/builders.rs b/sdk/location/src/operation/delete_map/builders.rs index f4a2e25a25bf..1149cb2037bd 100644 --- a/sdk/location/src/operation/delete_map/builders.rs +++ b/sdk/location/src/operation/delete_map/builders.rs @@ -21,9 +21,9 @@ impl DeleteMapFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -79,6 +79,20 @@ impl DeleteMapFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::delete_map::DeleteMap, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                          The name of the map resource to be deleted.

                                                                                                                                                                                          pub fn map_name(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.map_name(input.into()); diff --git a/sdk/location/src/operation/delete_place_index/builders.rs b/sdk/location/src/operation/delete_place_index/builders.rs index 94643232ecfa..23a810b5b7dc 100644 --- a/sdk/location/src/operation/delete_place_index/builders.rs +++ b/sdk/location/src/operation/delete_place_index/builders.rs @@ -21,9 +21,9 @@ impl DeletePlaceIndexFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -85,6 +85,22 @@ impl DeletePlaceIndexFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::delete_place_index::DeletePlaceIndex, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::delete_place_index::DeletePlaceIndexError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                          The name of the place index resource to be deleted.

                                                                                                                                                                                          pub fn index_name(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.index_name(input.into()); diff --git a/sdk/location/src/operation/delete_route_calculator/builders.rs b/sdk/location/src/operation/delete_route_calculator/builders.rs index 9be80944a54b..70d26838603c 100644 --- a/sdk/location/src/operation/delete_route_calculator/builders.rs +++ b/sdk/location/src/operation/delete_route_calculator/builders.rs @@ -21,9 +21,9 @@ impl DeleteRouteCalculatorFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -85,6 +85,22 @@ impl DeleteRouteCalculatorFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::delete_route_calculator::DeleteRouteCalculator, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::delete_route_calculator::DeleteRouteCalculatorError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                          The name of the route calculator resource to be deleted.

                                                                                                                                                                                          pub fn calculator_name( mut self, diff --git a/sdk/location/src/operation/delete_tracker/builders.rs b/sdk/location/src/operation/delete_tracker/builders.rs index db24c7156c30..de982e8ab02d 100644 --- a/sdk/location/src/operation/delete_tracker/builders.rs +++ b/sdk/location/src/operation/delete_tracker/builders.rs @@ -21,9 +21,9 @@ impl DeleteTrackerFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -79,6 +79,20 @@ impl DeleteTrackerFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::delete_tracker::DeleteTracker, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                          The name of the tracker resource to be deleted.

                                                                                                                                                                                          pub fn tracker_name(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.tracker_name(input.into()); diff --git a/sdk/location/src/operation/describe_geofence_collection/builders.rs b/sdk/location/src/operation/describe_geofence_collection/builders.rs index 5a37f2150dba..1a498db68f14 100644 --- a/sdk/location/src/operation/describe_geofence_collection/builders.rs +++ b/sdk/location/src/operation/describe_geofence_collection/builders.rs @@ -19,9 +19,9 @@ impl DescribeGeofenceCollectionFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl DescribeGeofenceCollectionFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::describe_geofence_collection::DescribeGeofenceCollection, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::describe_geofence_collection::DescribeGeofenceCollectionError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                          The name of the geofence collection.

                                                                                                                                                                                          pub fn collection_name( mut self, diff --git a/sdk/location/src/operation/describe_key/builders.rs b/sdk/location/src/operation/describe_key/builders.rs index c469f7eebebe..8f62584bf4e0 100644 --- a/sdk/location/src/operation/describe_key/builders.rs +++ b/sdk/location/src/operation/describe_key/builders.rs @@ -21,9 +21,9 @@ impl DescribeKeyFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -79,6 +79,20 @@ impl DescribeKeyFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::describe_key::DescribeKey, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                          The name of the API key resource.

                                                                                                                                                                                          pub fn key_name(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.key_name(input.into()); diff --git a/sdk/location/src/operation/describe_map/builders.rs b/sdk/location/src/operation/describe_map/builders.rs index c61565a1a775..9eb4816859c1 100644 --- a/sdk/location/src/operation/describe_map/builders.rs +++ b/sdk/location/src/operation/describe_map/builders.rs @@ -19,9 +19,9 @@ impl DescribeMapFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl DescribeMapFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::describe_map::DescribeMap, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                          The name of the map resource.

                                                                                                                                                                                          pub fn map_name(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.map_name(input.into()); diff --git a/sdk/location/src/operation/describe_place_index/builders.rs b/sdk/location/src/operation/describe_place_index/builders.rs index aa656aa66aa5..d7e42dabfa05 100644 --- a/sdk/location/src/operation/describe_place_index/builders.rs +++ b/sdk/location/src/operation/describe_place_index/builders.rs @@ -19,9 +19,9 @@ impl DescribePlaceIndexFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl DescribePlaceIndexFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::describe_place_index::DescribePlaceIndex, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::describe_place_index::DescribePlaceIndexError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                          The name of the place index resource.

                                                                                                                                                                                          pub fn index_name(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.index_name(input.into()); diff --git a/sdk/location/src/operation/describe_route_calculator/builders.rs b/sdk/location/src/operation/describe_route_calculator/builders.rs index 4b355025ce03..9c2ba354f2d4 100644 --- a/sdk/location/src/operation/describe_route_calculator/builders.rs +++ b/sdk/location/src/operation/describe_route_calculator/builders.rs @@ -20,9 +20,9 @@ impl DescribeRouteCalculatorFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -84,6 +84,22 @@ impl DescribeRouteCalculatorFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::describe_route_calculator::DescribeRouteCalculator, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::describe_route_calculator::DescribeRouteCalculatorError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                          The name of the route calculator resource.

                                                                                                                                                                                          pub fn calculator_name( mut self, diff --git a/sdk/location/src/operation/describe_tracker/builders.rs b/sdk/location/src/operation/describe_tracker/builders.rs index 7ee77031df4c..af25e0092c23 100644 --- a/sdk/location/src/operation/describe_tracker/builders.rs +++ b/sdk/location/src/operation/describe_tracker/builders.rs @@ -19,9 +19,9 @@ impl DescribeTrackerFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl DescribeTrackerFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::describe_tracker::DescribeTracker, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::describe_tracker::DescribeTrackerError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                          The name of the tracker resource.

                                                                                                                                                                                          pub fn tracker_name(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.tracker_name(input.into()); diff --git a/sdk/location/src/operation/disassociate_tracker_consumer/builders.rs b/sdk/location/src/operation/disassociate_tracker_consumer/builders.rs index 0e5ac8e1d582..066612523dd6 100644 --- a/sdk/location/src/operation/disassociate_tracker_consumer/builders.rs +++ b/sdk/location/src/operation/disassociate_tracker_consumer/builders.rs @@ -21,9 +21,9 @@ impl DisassociateTrackerConsumerFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -85,6 +85,22 @@ impl DisassociateTrackerConsumerFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::disassociate_tracker_consumer::DisassociateTrackerConsumer, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::disassociate_tracker_consumer::DisassociateTrackerConsumerError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                          The name of the tracker resource to be dissociated from the consumer.

                                                                                                                                                                                          pub fn tracker_name(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.tracker_name(input.into()); diff --git a/sdk/location/src/operation/get_device_position/builders.rs b/sdk/location/src/operation/get_device_position/builders.rs index e37d93568eec..cf2b99fae780 100644 --- a/sdk/location/src/operation/get_device_position/builders.rs +++ b/sdk/location/src/operation/get_device_position/builders.rs @@ -21,9 +21,9 @@ impl GetDevicePositionFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -85,6 +85,22 @@ impl GetDevicePositionFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::get_device_position::GetDevicePosition, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::get_device_position::GetDevicePositionError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                          The tracker resource receiving the position update.

                                                                                                                                                                                          pub fn tracker_name(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.tracker_name(input.into()); diff --git a/sdk/location/src/operation/get_device_position_history/builders.rs b/sdk/location/src/operation/get_device_position_history/builders.rs index 5f1d45f302c8..967923015909 100644 --- a/sdk/location/src/operation/get_device_position_history/builders.rs +++ b/sdk/location/src/operation/get_device_position_history/builders.rs @@ -21,9 +21,9 @@ impl GetDevicePositionHistoryFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -85,6 +85,22 @@ impl GetDevicePositionHistoryFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::get_device_position_history::GetDevicePositionHistory, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::get_device_position_history::GetDevicePositionHistoryError, + >, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::get_device_position_history::paginator::GetDevicePositionHistoryPaginator::send) which returns a `Stream`. diff --git a/sdk/location/src/operation/get_geofence/builders.rs b/sdk/location/src/operation/get_geofence/builders.rs index 658db740cfeb..72befbd9e7f2 100644 --- a/sdk/location/src/operation/get_geofence/builders.rs +++ b/sdk/location/src/operation/get_geofence/builders.rs @@ -19,9 +19,9 @@ impl GetGeofenceFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl GetGeofenceFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::get_geofence::GetGeofence, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                          The geofence collection storing the target geofence.

                                                                                                                                                                                          pub fn collection_name( mut self, diff --git a/sdk/location/src/operation/get_map_glyphs/builders.rs b/sdk/location/src/operation/get_map_glyphs/builders.rs index 3ddcf935bb47..57b82e81f5d5 100644 --- a/sdk/location/src/operation/get_map_glyphs/builders.rs +++ b/sdk/location/src/operation/get_map_glyphs/builders.rs @@ -19,9 +19,9 @@ impl GetMapGlyphsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl GetMapGlyphsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::get_map_glyphs::GetMapGlyphs, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                          The map resource associated with the glyph file.

                                                                                                                                                                                          pub fn map_name(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.map_name(input.into()); diff --git a/sdk/location/src/operation/get_map_sprites/builders.rs b/sdk/location/src/operation/get_map_sprites/builders.rs index d23634625fb4..5175e1e8cb81 100644 --- a/sdk/location/src/operation/get_map_sprites/builders.rs +++ b/sdk/location/src/operation/get_map_sprites/builders.rs @@ -19,9 +19,9 @@ impl GetMapSpritesFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl GetMapSpritesFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::get_map_sprites::GetMapSprites, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                          The map resource associated with the sprite file.

                                                                                                                                                                                          pub fn map_name(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.map_name(input.into()); diff --git a/sdk/location/src/operation/get_map_style_descriptor/builders.rs b/sdk/location/src/operation/get_map_style_descriptor/builders.rs index f302d59b01d9..33282a21f5f1 100644 --- a/sdk/location/src/operation/get_map_style_descriptor/builders.rs +++ b/sdk/location/src/operation/get_map_style_descriptor/builders.rs @@ -20,9 +20,9 @@ impl GetMapStyleDescriptorFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -84,6 +84,22 @@ impl GetMapStyleDescriptorFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::get_map_style_descriptor::GetMapStyleDescriptor, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::get_map_style_descriptor::GetMapStyleDescriptorError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                          The map resource to retrieve the style descriptor from.

                                                                                                                                                                                          pub fn map_name(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.map_name(input.into()); diff --git a/sdk/location/src/operation/get_map_tile/builders.rs b/sdk/location/src/operation/get_map_tile/builders.rs index 103c5ab1c1aa..1e6a71904669 100644 --- a/sdk/location/src/operation/get_map_tile/builders.rs +++ b/sdk/location/src/operation/get_map_tile/builders.rs @@ -20,9 +20,9 @@ impl GetMapTileFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -78,6 +78,20 @@ impl GetMapTileFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::get_map_tile::GetMapTile, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                          The map resource to retrieve the map tiles from.

                                                                                                                                                                                          pub fn map_name(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.map_name(input.into()); diff --git a/sdk/location/src/operation/get_place/builders.rs b/sdk/location/src/operation/get_place/builders.rs index b2d887c48624..5a0b6d6cf722 100644 --- a/sdk/location/src/operation/get_place/builders.rs +++ b/sdk/location/src/operation/get_place/builders.rs @@ -26,9 +26,9 @@ impl GetPlaceFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -84,6 +84,20 @@ impl GetPlaceFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::get_place::GetPlace, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                          The name of the place index resource that you want to use for the search.

                                                                                                                                                                                          pub fn index_name(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.index_name(input.into()); diff --git a/sdk/location/src/operation/list_device_positions/builders.rs b/sdk/location/src/operation/list_device_positions/builders.rs index 22e1ef7b6c31..8d9513191287 100644 --- a/sdk/location/src/operation/list_device_positions/builders.rs +++ b/sdk/location/src/operation/list_device_positions/builders.rs @@ -19,9 +19,9 @@ impl ListDevicePositionsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl ListDevicePositionsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_device_positions::ListDevicePositions, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::list_device_positions::ListDevicePositionsError, + >, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::list_device_positions::paginator::ListDevicePositionsPaginator::send) which returns a `Stream`. diff --git a/sdk/location/src/operation/list_geofence_collections/builders.rs b/sdk/location/src/operation/list_geofence_collections/builders.rs index 77ae05dd3bc3..a95a48c6df16 100644 --- a/sdk/location/src/operation/list_geofence_collections/builders.rs +++ b/sdk/location/src/operation/list_geofence_collections/builders.rs @@ -20,9 +20,9 @@ impl ListGeofenceCollectionsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -84,6 +84,22 @@ impl ListGeofenceCollectionsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_geofence_collections::ListGeofenceCollections, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::list_geofence_collections::ListGeofenceCollectionsError, + >, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::list_geofence_collections::paginator::ListGeofenceCollectionsPaginator::send) which returns a `Stream`. diff --git a/sdk/location/src/operation/list_geofences/builders.rs b/sdk/location/src/operation/list_geofences/builders.rs index 4ec58513829c..da48d66df131 100644 --- a/sdk/location/src/operation/list_geofences/builders.rs +++ b/sdk/location/src/operation/list_geofences/builders.rs @@ -19,9 +19,9 @@ impl ListGeofencesFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl ListGeofencesFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_geofences::ListGeofences, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::list_geofences::paginator::ListGeofencesPaginator::send) which returns a `Stream`. diff --git a/sdk/location/src/operation/list_keys/builders.rs b/sdk/location/src/operation/list_keys/builders.rs index 3817b69d6d3b..08d7b62f45d8 100644 --- a/sdk/location/src/operation/list_keys/builders.rs +++ b/sdk/location/src/operation/list_keys/builders.rs @@ -21,9 +21,9 @@ impl ListKeysFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -79,6 +79,20 @@ impl ListKeysFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_keys::ListKeys, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::list_keys::paginator::ListKeysPaginator::send) which returns a `Stream`. diff --git a/sdk/location/src/operation/list_maps/builders.rs b/sdk/location/src/operation/list_maps/builders.rs index 0497607ffa09..1a5d39371802 100644 --- a/sdk/location/src/operation/list_maps/builders.rs +++ b/sdk/location/src/operation/list_maps/builders.rs @@ -19,9 +19,9 @@ impl ListMapsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl ListMapsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_maps::ListMaps, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::list_maps::paginator::ListMapsPaginator::send) which returns a `Stream`. diff --git a/sdk/location/src/operation/list_place_indexes/builders.rs b/sdk/location/src/operation/list_place_indexes/builders.rs index 6485c889312a..142676e6f573 100644 --- a/sdk/location/src/operation/list_place_indexes/builders.rs +++ b/sdk/location/src/operation/list_place_indexes/builders.rs @@ -19,9 +19,9 @@ impl ListPlaceIndexesFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl ListPlaceIndexesFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_place_indexes::ListPlaceIndexes, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::list_place_indexes::ListPlaceIndexesError, + >, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::list_place_indexes::paginator::ListPlaceIndexesPaginator::send) which returns a `Stream`. diff --git a/sdk/location/src/operation/list_route_calculators/builders.rs b/sdk/location/src/operation/list_route_calculators/builders.rs index 406fa3b8a585..74c377ea9703 100644 --- a/sdk/location/src/operation/list_route_calculators/builders.rs +++ b/sdk/location/src/operation/list_route_calculators/builders.rs @@ -19,9 +19,9 @@ impl ListRouteCalculatorsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl ListRouteCalculatorsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_route_calculators::ListRouteCalculators, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::list_route_calculators::ListRouteCalculatorsError, + >, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::list_route_calculators::paginator::ListRouteCalculatorsPaginator::send) which returns a `Stream`. diff --git a/sdk/location/src/operation/list_tags_for_resource/builders.rs b/sdk/location/src/operation/list_tags_for_resource/builders.rs index 6e389c7583a6..8bc6556c7d10 100644 --- a/sdk/location/src/operation/list_tags_for_resource/builders.rs +++ b/sdk/location/src/operation/list_tags_for_resource/builders.rs @@ -19,9 +19,9 @@ impl ListTagsForResourceFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl ListTagsForResourceFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_tags_for_resource::ListTagsForResource, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::list_tags_for_resource::ListTagsForResourceError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                          The Amazon Resource Name (ARN) of the resource whose tags you want to retrieve.

                                                                                                                                                                                          ///
                                                                                                                                                                                            ///
                                                                                                                                                                                          • Format example: arn:aws:geo:region:account-id:resourcetype/ExampleResource

                                                                                                                                                                                          • diff --git a/sdk/location/src/operation/list_tracker_consumers/builders.rs b/sdk/location/src/operation/list_tracker_consumers/builders.rs index 9c337be0e09d..1939622cbc20 100644 --- a/sdk/location/src/operation/list_tracker_consumers/builders.rs +++ b/sdk/location/src/operation/list_tracker_consumers/builders.rs @@ -19,9 +19,9 @@ impl ListTrackerConsumersFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl ListTrackerConsumersFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_tracker_consumers::ListTrackerConsumers, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::list_tracker_consumers::ListTrackerConsumersError, + >, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::list_tracker_consumers::paginator::ListTrackerConsumersPaginator::send) which returns a `Stream`. diff --git a/sdk/location/src/operation/list_trackers/builders.rs b/sdk/location/src/operation/list_trackers/builders.rs index c45ad95717ac..15794d95f394 100644 --- a/sdk/location/src/operation/list_trackers/builders.rs +++ b/sdk/location/src/operation/list_trackers/builders.rs @@ -19,9 +19,9 @@ impl ListTrackersFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl ListTrackersFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_trackers::ListTrackers, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::list_trackers::paginator::ListTrackersPaginator::send) which returns a `Stream`. diff --git a/sdk/location/src/operation/put_geofence/builders.rs b/sdk/location/src/operation/put_geofence/builders.rs index 8c1d5aeef71b..07a7c44bd4d9 100644 --- a/sdk/location/src/operation/put_geofence/builders.rs +++ b/sdk/location/src/operation/put_geofence/builders.rs @@ -19,9 +19,9 @@ impl PutGeofenceFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl PutGeofenceFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::put_geofence::PutGeofence, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                            The geofence collection to store the geofence in.

                                                                                                                                                                                            pub fn collection_name( mut self, diff --git a/sdk/location/src/operation/search_place_index_for_position/builders.rs b/sdk/location/src/operation/search_place_index_for_position/builders.rs index dd57e1006453..53200404c8b7 100644 --- a/sdk/location/src/operation/search_place_index_for_position/builders.rs +++ b/sdk/location/src/operation/search_place_index_for_position/builders.rs @@ -19,9 +19,9 @@ impl SearchPlaceIndexForPositionFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl SearchPlaceIndexForPositionFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::search_place_index_for_position::SearchPlaceIndexForPosition, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::search_place_index_for_position::SearchPlaceIndexForPositionError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                            The name of the place index resource you want to use for the search.

                                                                                                                                                                                            pub fn index_name(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.index_name(input.into()); diff --git a/sdk/location/src/operation/search_place_index_for_suggestions/builders.rs b/sdk/location/src/operation/search_place_index_for_suggestions/builders.rs index 25934c85ddd1..7525ec84a34c 100644 --- a/sdk/location/src/operation/search_place_index_for_suggestions/builders.rs +++ b/sdk/location/src/operation/search_place_index_for_suggestions/builders.rs @@ -22,9 +22,9 @@ impl SearchPlaceIndexForSuggestionsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize(self) -> ::std::result::Result< + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware(self) -> ::std::result::Result< crate::client::customize::CustomizableOperation, ::aws_smithy_http::result::SdkError >{ @@ -67,6 +67,15 @@ impl SearchPlaceIndexForSuggestionsFluentBuilder { { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize(self) -> ::std::result::Result< + crate::client::customize::CustomizableOperation, + ::aws_smithy_http::result::SdkError + >{ + self.customize_middleware().await + } ///

                                                                                                                                                                                            The name of the place index resource you want to use for the search.

                                                                                                                                                                                            pub fn index_name(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.index_name(input.into()); diff --git a/sdk/location/src/operation/search_place_index_for_text/builders.rs b/sdk/location/src/operation/search_place_index_for_text/builders.rs index 69ffc007b4fb..f676cb03e04a 100644 --- a/sdk/location/src/operation/search_place_index_for_text/builders.rs +++ b/sdk/location/src/operation/search_place_index_for_text/builders.rs @@ -23,9 +23,9 @@ impl SearchPlaceIndexForTextFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -87,6 +87,22 @@ impl SearchPlaceIndexForTextFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::search_place_index_for_text::SearchPlaceIndexForText, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::search_place_index_for_text::SearchPlaceIndexForTextError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                            The name of the place index resource you want to use for the search.

                                                                                                                                                                                            pub fn index_name(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.index_name(input.into()); diff --git a/sdk/location/src/operation/tag_resource/builders.rs b/sdk/location/src/operation/tag_resource/builders.rs index c0d9fa4a957b..7a62dc9aa55a 100644 --- a/sdk/location/src/operation/tag_resource/builders.rs +++ b/sdk/location/src/operation/tag_resource/builders.rs @@ -22,9 +22,9 @@ impl TagResourceFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -80,6 +80,20 @@ impl TagResourceFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::tag_resource::TagResource, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                            The Amazon Resource Name (ARN) of the resource whose tags you want to update.

                                                                                                                                                                                            ///
                                                                                                                                                                                              ///
                                                                                                                                                                                            • Format example: arn:aws:geo:region:account-id:resourcetype/ExampleResource

                                                                                                                                                                                            • diff --git a/sdk/location/src/operation/untag_resource/builders.rs b/sdk/location/src/operation/untag_resource/builders.rs index f58320b7865e..0f98dd2e207e 100644 --- a/sdk/location/src/operation/untag_resource/builders.rs +++ b/sdk/location/src/operation/untag_resource/builders.rs @@ -19,9 +19,9 @@ impl UntagResourceFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl UntagResourceFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::untag_resource::UntagResource, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                              The Amazon Resource Name (ARN) of the resource from which you want to remove tags.

                                                                                                                                                                                              ///
                                                                                                                                                                                                ///
                                                                                                                                                                                              • Format example: arn:aws:geo:region:account-id:resourcetype/ExampleResource

                                                                                                                                                                                              • diff --git a/sdk/location/src/operation/update_geofence_collection/builders.rs b/sdk/location/src/operation/update_geofence_collection/builders.rs index 05d922533b31..cc1421ae4a41 100644 --- a/sdk/location/src/operation/update_geofence_collection/builders.rs +++ b/sdk/location/src/operation/update_geofence_collection/builders.rs @@ -19,9 +19,9 @@ impl UpdateGeofenceCollectionFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl UpdateGeofenceCollectionFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::update_geofence_collection::UpdateGeofenceCollection, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::update_geofence_collection::UpdateGeofenceCollectionError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                The name of the geofence collection to update.

                                                                                                                                                                                                pub fn collection_name( mut self, diff --git a/sdk/location/src/operation/update_key/builders.rs b/sdk/location/src/operation/update_key/builders.rs index 353cd5d6d63f..8bbba5f5de3f 100644 --- a/sdk/location/src/operation/update_key/builders.rs +++ b/sdk/location/src/operation/update_key/builders.rs @@ -21,9 +21,9 @@ impl UpdateKeyFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -79,6 +79,20 @@ impl UpdateKeyFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::update_key::UpdateKey, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                The name of the API key resource to update.

                                                                                                                                                                                                pub fn key_name(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.key_name(input.into()); diff --git a/sdk/location/src/operation/update_map/builders.rs b/sdk/location/src/operation/update_map/builders.rs index e04553c6226a..e674e28f0553 100644 --- a/sdk/location/src/operation/update_map/builders.rs +++ b/sdk/location/src/operation/update_map/builders.rs @@ -19,9 +19,9 @@ impl UpdateMapFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl UpdateMapFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::update_map::UpdateMap, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                The name of the map resource to update.

                                                                                                                                                                                                pub fn map_name(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.map_name(input.into()); diff --git a/sdk/location/src/operation/update_place_index/builders.rs b/sdk/location/src/operation/update_place_index/builders.rs index 2a633da68909..2f1aff39b0a7 100644 --- a/sdk/location/src/operation/update_place_index/builders.rs +++ b/sdk/location/src/operation/update_place_index/builders.rs @@ -19,9 +19,9 @@ impl UpdatePlaceIndexFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl UpdatePlaceIndexFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::update_place_index::UpdatePlaceIndex, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::update_place_index::UpdatePlaceIndexError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                The name of the place index resource to update.

                                                                                                                                                                                                pub fn index_name(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.index_name(input.into()); diff --git a/sdk/location/src/operation/update_route_calculator/builders.rs b/sdk/location/src/operation/update_route_calculator/builders.rs index 0b03ffa1626c..905146fafcfd 100644 --- a/sdk/location/src/operation/update_route_calculator/builders.rs +++ b/sdk/location/src/operation/update_route_calculator/builders.rs @@ -19,9 +19,9 @@ impl UpdateRouteCalculatorFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl UpdateRouteCalculatorFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::update_route_calculator::UpdateRouteCalculator, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::update_route_calculator::UpdateRouteCalculatorError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                The name of the route calculator resource to update.

                                                                                                                                                                                                pub fn calculator_name( mut self, diff --git a/sdk/location/src/operation/update_tracker/builders.rs b/sdk/location/src/operation/update_tracker/builders.rs index 62b84ee7621e..085d3cd8634c 100644 --- a/sdk/location/src/operation/update_tracker/builders.rs +++ b/sdk/location/src/operation/update_tracker/builders.rs @@ -19,9 +19,9 @@ impl UpdateTrackerFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl UpdateTrackerFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::update_tracker::UpdateTracker, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                The name of the tracker resource to update.

                                                                                                                                                                                                pub fn tracker_name(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.tracker_name(input.into()); diff --git a/sdk/lookoutequipment/src/operation/create_dataset/builders.rs b/sdk/lookoutequipment/src/operation/create_dataset/builders.rs index 08cf83b29c39..6c76fab1394a 100644 --- a/sdk/lookoutequipment/src/operation/create_dataset/builders.rs +++ b/sdk/lookoutequipment/src/operation/create_dataset/builders.rs @@ -19,9 +19,9 @@ impl CreateDatasetFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl CreateDatasetFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::create_dataset::CreateDataset, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                The name of the dataset being created.

                                                                                                                                                                                                pub fn dataset_name(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.dataset_name(input.into()); diff --git a/sdk/lookoutequipment/src/operation/create_inference_scheduler/builders.rs b/sdk/lookoutequipment/src/operation/create_inference_scheduler/builders.rs index 9389d75aca9d..a1761ea07ae6 100644 --- a/sdk/lookoutequipment/src/operation/create_inference_scheduler/builders.rs +++ b/sdk/lookoutequipment/src/operation/create_inference_scheduler/builders.rs @@ -19,9 +19,9 @@ impl CreateInferenceSchedulerFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl CreateInferenceSchedulerFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::create_inference_scheduler::CreateInferenceScheduler, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::create_inference_scheduler::CreateInferenceSchedulerError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                The name of the previously trained ML model being used to create the inference scheduler.

                                                                                                                                                                                                pub fn model_name(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.model_name(input.into()); diff --git a/sdk/lookoutequipment/src/operation/create_label/builders.rs b/sdk/lookoutequipment/src/operation/create_label/builders.rs index 09635ec4e9f7..471f76a2c57a 100644 --- a/sdk/lookoutequipment/src/operation/create_label/builders.rs +++ b/sdk/lookoutequipment/src/operation/create_label/builders.rs @@ -19,9 +19,9 @@ impl CreateLabelFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl CreateLabelFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::create_label::CreateLabel, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                The name of a group of labels.

                                                                                                                                                                                                ///

                                                                                                                                                                                                Data in this field will be retained for service usage. Follow best practices for the security of your data.

                                                                                                                                                                                                pub fn label_group_name( diff --git a/sdk/lookoutequipment/src/operation/create_label_group/builders.rs b/sdk/lookoutequipment/src/operation/create_label_group/builders.rs index d8fd71b0d840..2c9981d84e31 100644 --- a/sdk/lookoutequipment/src/operation/create_label_group/builders.rs +++ b/sdk/lookoutequipment/src/operation/create_label_group/builders.rs @@ -19,9 +19,9 @@ impl CreateLabelGroupFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl CreateLabelGroupFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::create_label_group::CreateLabelGroup, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::create_label_group::CreateLabelGroupError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                Names a group of labels.

                                                                                                                                                                                                ///

                                                                                                                                                                                                Data in this field will be retained for service usage. Follow best practices for the security of your data.

                                                                                                                                                                                                pub fn label_group_name( diff --git a/sdk/lookoutequipment/src/operation/create_model/builders.rs b/sdk/lookoutequipment/src/operation/create_model/builders.rs index 319fb1e035f7..16b5cfe43f59 100644 --- a/sdk/lookoutequipment/src/operation/create_model/builders.rs +++ b/sdk/lookoutequipment/src/operation/create_model/builders.rs @@ -21,9 +21,9 @@ impl CreateModelFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -79,6 +79,20 @@ impl CreateModelFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::create_model::CreateModel, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                The name for the ML model to be created.

                                                                                                                                                                                                pub fn model_name(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.model_name(input.into()); diff --git a/sdk/lookoutequipment/src/operation/delete_dataset/builders.rs b/sdk/lookoutequipment/src/operation/delete_dataset/builders.rs index ef6a9960cc64..39e7a0e454d4 100644 --- a/sdk/lookoutequipment/src/operation/delete_dataset/builders.rs +++ b/sdk/lookoutequipment/src/operation/delete_dataset/builders.rs @@ -19,9 +19,9 @@ impl DeleteDatasetFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl DeleteDatasetFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::delete_dataset::DeleteDataset, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                The name of the dataset to be deleted.

                                                                                                                                                                                                pub fn dataset_name(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.dataset_name(input.into()); diff --git a/sdk/lookoutequipment/src/operation/delete_inference_scheduler/builders.rs b/sdk/lookoutequipment/src/operation/delete_inference_scheduler/builders.rs index 627c39b801a4..18b11edfe1b6 100644 --- a/sdk/lookoutequipment/src/operation/delete_inference_scheduler/builders.rs +++ b/sdk/lookoutequipment/src/operation/delete_inference_scheduler/builders.rs @@ -19,9 +19,9 @@ impl DeleteInferenceSchedulerFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl DeleteInferenceSchedulerFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::delete_inference_scheduler::DeleteInferenceScheduler, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::delete_inference_scheduler::DeleteInferenceSchedulerError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                The name of the inference scheduler to be deleted.

                                                                                                                                                                                                pub fn inference_scheduler_name( mut self, diff --git a/sdk/lookoutequipment/src/operation/delete_label/builders.rs b/sdk/lookoutequipment/src/operation/delete_label/builders.rs index 4a843c8e08fa..4b7fb46e746b 100644 --- a/sdk/lookoutequipment/src/operation/delete_label/builders.rs +++ b/sdk/lookoutequipment/src/operation/delete_label/builders.rs @@ -19,9 +19,9 @@ impl DeleteLabelFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl DeleteLabelFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::delete_label::DeleteLabel, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                The name of the label group that contains the label that you want to delete. Data in this field will be retained for service usage. Follow best practices for the security of your data.

                                                                                                                                                                                                pub fn label_group_name( mut self, diff --git a/sdk/lookoutequipment/src/operation/delete_label_group/builders.rs b/sdk/lookoutequipment/src/operation/delete_label_group/builders.rs index 1bfbd525805d..c2e36dbc9e8a 100644 --- a/sdk/lookoutequipment/src/operation/delete_label_group/builders.rs +++ b/sdk/lookoutequipment/src/operation/delete_label_group/builders.rs @@ -19,9 +19,9 @@ impl DeleteLabelGroupFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl DeleteLabelGroupFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::delete_label_group::DeleteLabelGroup, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::delete_label_group::DeleteLabelGroupError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                The name of the label group that you want to delete. Data in this field will be retained for service usage. Follow best practices for the security of your data.

                                                                                                                                                                                                pub fn label_group_name( mut self, diff --git a/sdk/lookoutequipment/src/operation/delete_model/builders.rs b/sdk/lookoutequipment/src/operation/delete_model/builders.rs index 348525a09031..22ba7b0860b3 100644 --- a/sdk/lookoutequipment/src/operation/delete_model/builders.rs +++ b/sdk/lookoutequipment/src/operation/delete_model/builders.rs @@ -19,9 +19,9 @@ impl DeleteModelFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl DeleteModelFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::delete_model::DeleteModel, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                The name of the ML model to be deleted.

                                                                                                                                                                                                pub fn model_name(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.model_name(input.into()); diff --git a/sdk/lookoutequipment/src/operation/describe_data_ingestion_job/builders.rs b/sdk/lookoutequipment/src/operation/describe_data_ingestion_job/builders.rs index cbe8281790f6..4f24b91c4a30 100644 --- a/sdk/lookoutequipment/src/operation/describe_data_ingestion_job/builders.rs +++ b/sdk/lookoutequipment/src/operation/describe_data_ingestion_job/builders.rs @@ -19,9 +19,9 @@ impl DescribeDataIngestionJobFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl DescribeDataIngestionJobFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::describe_data_ingestion_job::DescribeDataIngestionJob, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::describe_data_ingestion_job::DescribeDataIngestionJobError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                The job ID of the data ingestion job.

                                                                                                                                                                                                pub fn job_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.job_id(input.into()); diff --git a/sdk/lookoutequipment/src/operation/describe_dataset/builders.rs b/sdk/lookoutequipment/src/operation/describe_dataset/builders.rs index 42654b9b03c1..3bb928475626 100644 --- a/sdk/lookoutequipment/src/operation/describe_dataset/builders.rs +++ b/sdk/lookoutequipment/src/operation/describe_dataset/builders.rs @@ -19,9 +19,9 @@ impl DescribeDatasetFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl DescribeDatasetFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::describe_dataset::DescribeDataset, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::describe_dataset::DescribeDatasetError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                The name of the dataset to be described.

                                                                                                                                                                                                pub fn dataset_name(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.dataset_name(input.into()); diff --git a/sdk/lookoutequipment/src/operation/describe_inference_scheduler/builders.rs b/sdk/lookoutequipment/src/operation/describe_inference_scheduler/builders.rs index 07644c0133cb..2ba1e3540bfd 100644 --- a/sdk/lookoutequipment/src/operation/describe_inference_scheduler/builders.rs +++ b/sdk/lookoutequipment/src/operation/describe_inference_scheduler/builders.rs @@ -19,9 +19,9 @@ impl DescribeInferenceSchedulerFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl DescribeInferenceSchedulerFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::describe_inference_scheduler::DescribeInferenceScheduler, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::describe_inference_scheduler::DescribeInferenceSchedulerError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                The name of the inference scheduler being described.

                                                                                                                                                                                                pub fn inference_scheduler_name( mut self, diff --git a/sdk/lookoutequipment/src/operation/describe_label/builders.rs b/sdk/lookoutequipment/src/operation/describe_label/builders.rs index 2872c958d638..d88cfbd535e8 100644 --- a/sdk/lookoutequipment/src/operation/describe_label/builders.rs +++ b/sdk/lookoutequipment/src/operation/describe_label/builders.rs @@ -19,9 +19,9 @@ impl DescribeLabelFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl DescribeLabelFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::describe_label::DescribeLabel, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                Returns the name of the group containing the label.

                                                                                                                                                                                                pub fn label_group_name( mut self, diff --git a/sdk/lookoutequipment/src/operation/describe_label_group/builders.rs b/sdk/lookoutequipment/src/operation/describe_label_group/builders.rs index ce726a2d7b14..37f426562238 100644 --- a/sdk/lookoutequipment/src/operation/describe_label_group/builders.rs +++ b/sdk/lookoutequipment/src/operation/describe_label_group/builders.rs @@ -19,9 +19,9 @@ impl DescribeLabelGroupFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl DescribeLabelGroupFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::describe_label_group::DescribeLabelGroup, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::describe_label_group::DescribeLabelGroupError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                Returns the name of the label group.

                                                                                                                                                                                                pub fn label_group_name( mut self, diff --git a/sdk/lookoutequipment/src/operation/describe_model/builders.rs b/sdk/lookoutequipment/src/operation/describe_model/builders.rs index 556c9526ea8f..9c4a3820ecf5 100644 --- a/sdk/lookoutequipment/src/operation/describe_model/builders.rs +++ b/sdk/lookoutequipment/src/operation/describe_model/builders.rs @@ -19,9 +19,9 @@ impl DescribeModelFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl DescribeModelFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::describe_model::DescribeModel, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                The name of the ML model to be described.

                                                                                                                                                                                                pub fn model_name(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.model_name(input.into()); diff --git a/sdk/lookoutequipment/src/operation/list_data_ingestion_jobs/builders.rs b/sdk/lookoutequipment/src/operation/list_data_ingestion_jobs/builders.rs index cf6431035d1d..e5c6e9165342 100644 --- a/sdk/lookoutequipment/src/operation/list_data_ingestion_jobs/builders.rs +++ b/sdk/lookoutequipment/src/operation/list_data_ingestion_jobs/builders.rs @@ -19,9 +19,9 @@ impl ListDataIngestionJobsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl ListDataIngestionJobsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_data_ingestion_jobs::ListDataIngestionJobs, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::list_data_ingestion_jobs::ListDataIngestionJobsError, + >, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::list_data_ingestion_jobs::paginator::ListDataIngestionJobsPaginator::send) which returns a `Stream`. diff --git a/sdk/lookoutequipment/src/operation/list_datasets/builders.rs b/sdk/lookoutequipment/src/operation/list_datasets/builders.rs index 7d2afa33ba74..d14bbdde9396 100644 --- a/sdk/lookoutequipment/src/operation/list_datasets/builders.rs +++ b/sdk/lookoutequipment/src/operation/list_datasets/builders.rs @@ -19,9 +19,9 @@ impl ListDatasetsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl ListDatasetsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_datasets::ListDatasets, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::list_datasets::paginator::ListDatasetsPaginator::send) which returns a `Stream`. diff --git a/sdk/lookoutequipment/src/operation/list_inference_events/builders.rs b/sdk/lookoutequipment/src/operation/list_inference_events/builders.rs index 757b34455eb7..43b2c3638aad 100644 --- a/sdk/lookoutequipment/src/operation/list_inference_events/builders.rs +++ b/sdk/lookoutequipment/src/operation/list_inference_events/builders.rs @@ -19,9 +19,9 @@ impl ListInferenceEventsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl ListInferenceEventsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_inference_events::ListInferenceEvents, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::list_inference_events::ListInferenceEventsError, + >, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::list_inference_events::paginator::ListInferenceEventsPaginator::send) which returns a `Stream`. diff --git a/sdk/lookoutequipment/src/operation/list_inference_executions/builders.rs b/sdk/lookoutequipment/src/operation/list_inference_executions/builders.rs index fe6282d10766..364fa205b898 100644 --- a/sdk/lookoutequipment/src/operation/list_inference_executions/builders.rs +++ b/sdk/lookoutequipment/src/operation/list_inference_executions/builders.rs @@ -20,9 +20,9 @@ impl ListInferenceExecutionsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -84,6 +84,22 @@ impl ListInferenceExecutionsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_inference_executions::ListInferenceExecutions, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::list_inference_executions::ListInferenceExecutionsError, + >, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::list_inference_executions::paginator::ListInferenceExecutionsPaginator::send) which returns a `Stream`. diff --git a/sdk/lookoutequipment/src/operation/list_inference_schedulers/builders.rs b/sdk/lookoutequipment/src/operation/list_inference_schedulers/builders.rs index 562332830e9e..4d508e1a6e29 100644 --- a/sdk/lookoutequipment/src/operation/list_inference_schedulers/builders.rs +++ b/sdk/lookoutequipment/src/operation/list_inference_schedulers/builders.rs @@ -20,9 +20,9 @@ impl ListInferenceSchedulersFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -84,6 +84,22 @@ impl ListInferenceSchedulersFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_inference_schedulers::ListInferenceSchedulers, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::list_inference_schedulers::ListInferenceSchedulersError, + >, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::list_inference_schedulers::paginator::ListInferenceSchedulersPaginator::send) which returns a `Stream`. diff --git a/sdk/lookoutequipment/src/operation/list_label_groups/builders.rs b/sdk/lookoutequipment/src/operation/list_label_groups/builders.rs index f225d7511d76..e5185835dc67 100644 --- a/sdk/lookoutequipment/src/operation/list_label_groups/builders.rs +++ b/sdk/lookoutequipment/src/operation/list_label_groups/builders.rs @@ -19,9 +19,9 @@ impl ListLabelGroupsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl ListLabelGroupsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_label_groups::ListLabelGroups, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::list_label_groups::ListLabelGroupsError, + >, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::list_label_groups::paginator::ListLabelGroupsPaginator::send) which returns a `Stream`. diff --git a/sdk/lookoutequipment/src/operation/list_labels/builders.rs b/sdk/lookoutequipment/src/operation/list_labels/builders.rs index 6727e1a4e308..78fd829d7d93 100644 --- a/sdk/lookoutequipment/src/operation/list_labels/builders.rs +++ b/sdk/lookoutequipment/src/operation/list_labels/builders.rs @@ -19,9 +19,9 @@ impl ListLabelsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl ListLabelsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_labels::ListLabels, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::list_labels::paginator::ListLabelsPaginator::send) which returns a `Stream`. diff --git a/sdk/lookoutequipment/src/operation/list_models/builders.rs b/sdk/lookoutequipment/src/operation/list_models/builders.rs index 991c05eb4ed1..cb801d0c81ce 100644 --- a/sdk/lookoutequipment/src/operation/list_models/builders.rs +++ b/sdk/lookoutequipment/src/operation/list_models/builders.rs @@ -19,9 +19,9 @@ impl ListModelsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl ListModelsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_models::ListModels, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::list_models::paginator::ListModelsPaginator::send) which returns a `Stream`. diff --git a/sdk/lookoutequipment/src/operation/list_sensor_statistics/builders.rs b/sdk/lookoutequipment/src/operation/list_sensor_statistics/builders.rs index f61b89b08b69..8f5318427cef 100644 --- a/sdk/lookoutequipment/src/operation/list_sensor_statistics/builders.rs +++ b/sdk/lookoutequipment/src/operation/list_sensor_statistics/builders.rs @@ -19,9 +19,9 @@ impl ListSensorStatisticsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl ListSensorStatisticsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_sensor_statistics::ListSensorStatistics, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::list_sensor_statistics::ListSensorStatisticsError, + >, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::list_sensor_statistics::paginator::ListSensorStatisticsPaginator::send) which returns a `Stream`. diff --git a/sdk/lookoutequipment/src/operation/list_tags_for_resource/builders.rs b/sdk/lookoutequipment/src/operation/list_tags_for_resource/builders.rs index b6088a7e5a38..757be4804f1d 100644 --- a/sdk/lookoutequipment/src/operation/list_tags_for_resource/builders.rs +++ b/sdk/lookoutequipment/src/operation/list_tags_for_resource/builders.rs @@ -19,9 +19,9 @@ impl ListTagsForResourceFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl ListTagsForResourceFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_tags_for_resource::ListTagsForResource, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::list_tags_for_resource::ListTagsForResourceError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                The Amazon Resource Name (ARN) of the resource (such as the dataset or model) that is the focus of the ListTagsForResource operation.

                                                                                                                                                                                                pub fn resource_arn(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.resource_arn(input.into()); diff --git a/sdk/lookoutequipment/src/operation/start_data_ingestion_job/builders.rs b/sdk/lookoutequipment/src/operation/start_data_ingestion_job/builders.rs index cf04adf9fabf..d9f94125b503 100644 --- a/sdk/lookoutequipment/src/operation/start_data_ingestion_job/builders.rs +++ b/sdk/lookoutequipment/src/operation/start_data_ingestion_job/builders.rs @@ -19,9 +19,9 @@ impl StartDataIngestionJobFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl StartDataIngestionJobFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::start_data_ingestion_job::StartDataIngestionJob, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::start_data_ingestion_job::StartDataIngestionJobError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                The name of the dataset being used by the data ingestion job.

                                                                                                                                                                                                pub fn dataset_name(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.dataset_name(input.into()); diff --git a/sdk/lookoutequipment/src/operation/start_inference_scheduler/builders.rs b/sdk/lookoutequipment/src/operation/start_inference_scheduler/builders.rs index a0f5acbec989..3e4899a7d6b9 100644 --- a/sdk/lookoutequipment/src/operation/start_inference_scheduler/builders.rs +++ b/sdk/lookoutequipment/src/operation/start_inference_scheduler/builders.rs @@ -20,9 +20,9 @@ impl StartInferenceSchedulerFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -84,6 +84,22 @@ impl StartInferenceSchedulerFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::start_inference_scheduler::StartInferenceScheduler, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::start_inference_scheduler::StartInferenceSchedulerError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                The name of the inference scheduler to be started.

                                                                                                                                                                                                pub fn inference_scheduler_name( mut self, diff --git a/sdk/lookoutequipment/src/operation/stop_inference_scheduler/builders.rs b/sdk/lookoutequipment/src/operation/stop_inference_scheduler/builders.rs index 2a7b63309bbd..44dc6a72d168 100644 --- a/sdk/lookoutequipment/src/operation/stop_inference_scheduler/builders.rs +++ b/sdk/lookoutequipment/src/operation/stop_inference_scheduler/builders.rs @@ -19,9 +19,9 @@ impl StopInferenceSchedulerFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl StopInferenceSchedulerFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::stop_inference_scheduler::StopInferenceScheduler, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::stop_inference_scheduler::StopInferenceSchedulerError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                The name of the inference scheduler to be stopped.

                                                                                                                                                                                                pub fn inference_scheduler_name( mut self, diff --git a/sdk/lookoutequipment/src/operation/tag_resource/builders.rs b/sdk/lookoutequipment/src/operation/tag_resource/builders.rs index 138d756ee85b..67bc2724f463 100644 --- a/sdk/lookoutequipment/src/operation/tag_resource/builders.rs +++ b/sdk/lookoutequipment/src/operation/tag_resource/builders.rs @@ -19,9 +19,9 @@ impl TagResourceFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl TagResourceFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::tag_resource::TagResource, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                The Amazon Resource Name (ARN) of the specific resource to which the tag should be associated.

                                                                                                                                                                                                pub fn resource_arn(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.resource_arn(input.into()); diff --git a/sdk/lookoutequipment/src/operation/untag_resource/builders.rs b/sdk/lookoutequipment/src/operation/untag_resource/builders.rs index df84436e35d4..4796e3fc5e2e 100644 --- a/sdk/lookoutequipment/src/operation/untag_resource/builders.rs +++ b/sdk/lookoutequipment/src/operation/untag_resource/builders.rs @@ -19,9 +19,9 @@ impl UntagResourceFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl UntagResourceFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::untag_resource::UntagResource, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                The Amazon Resource Name (ARN) of the resource to which the tag is currently associated.

                                                                                                                                                                                                pub fn resource_arn(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.resource_arn(input.into()); diff --git a/sdk/lookoutequipment/src/operation/update_inference_scheduler/builders.rs b/sdk/lookoutequipment/src/operation/update_inference_scheduler/builders.rs index f8d8596e084d..56c810740c76 100644 --- a/sdk/lookoutequipment/src/operation/update_inference_scheduler/builders.rs +++ b/sdk/lookoutequipment/src/operation/update_inference_scheduler/builders.rs @@ -19,9 +19,9 @@ impl UpdateInferenceSchedulerFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl UpdateInferenceSchedulerFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::update_inference_scheduler::UpdateInferenceScheduler, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::update_inference_scheduler::UpdateInferenceSchedulerError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                The name of the inference scheduler to be updated.

                                                                                                                                                                                                pub fn inference_scheduler_name( mut self, diff --git a/sdk/lookoutequipment/src/operation/update_label_group/builders.rs b/sdk/lookoutequipment/src/operation/update_label_group/builders.rs index d7657b9f4b9a..c1733fc95f39 100644 --- a/sdk/lookoutequipment/src/operation/update_label_group/builders.rs +++ b/sdk/lookoutequipment/src/operation/update_label_group/builders.rs @@ -19,9 +19,9 @@ impl UpdateLabelGroupFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl UpdateLabelGroupFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::update_label_group::UpdateLabelGroup, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::update_label_group::UpdateLabelGroupError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                The name of the label group to be updated.

                                                                                                                                                                                                pub fn label_group_name( mut self, diff --git a/sdk/lookoutmetrics/src/operation/activate_anomaly_detector/builders.rs b/sdk/lookoutmetrics/src/operation/activate_anomaly_detector/builders.rs index 707fe724da5e..cf0ab4de672a 100644 --- a/sdk/lookoutmetrics/src/operation/activate_anomaly_detector/builders.rs +++ b/sdk/lookoutmetrics/src/operation/activate_anomaly_detector/builders.rs @@ -20,9 +20,9 @@ impl ActivateAnomalyDetectorFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -84,6 +84,22 @@ impl ActivateAnomalyDetectorFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::activate_anomaly_detector::ActivateAnomalyDetector, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::activate_anomaly_detector::ActivateAnomalyDetectorError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                The ARN of the anomaly detector.

                                                                                                                                                                                                pub fn anomaly_detector_arn( mut self, diff --git a/sdk/lookoutmetrics/src/operation/back_test_anomaly_detector/builders.rs b/sdk/lookoutmetrics/src/operation/back_test_anomaly_detector/builders.rs index 943d1c1b935e..f737e29e6d03 100644 --- a/sdk/lookoutmetrics/src/operation/back_test_anomaly_detector/builders.rs +++ b/sdk/lookoutmetrics/src/operation/back_test_anomaly_detector/builders.rs @@ -20,9 +20,9 @@ impl BackTestAnomalyDetectorFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -84,6 +84,22 @@ impl BackTestAnomalyDetectorFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::back_test_anomaly_detector::BackTestAnomalyDetector, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::back_test_anomaly_detector::BackTestAnomalyDetectorError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                The Amazon Resource Name (ARN) of the anomaly detector.

                                                                                                                                                                                                pub fn anomaly_detector_arn( mut self, diff --git a/sdk/lookoutmetrics/src/operation/create_alert/builders.rs b/sdk/lookoutmetrics/src/operation/create_alert/builders.rs index cedef59b1a07..c639b0df6074 100644 --- a/sdk/lookoutmetrics/src/operation/create_alert/builders.rs +++ b/sdk/lookoutmetrics/src/operation/create_alert/builders.rs @@ -19,9 +19,9 @@ impl CreateAlertFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl CreateAlertFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::create_alert::CreateAlert, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                The name of the alert.

                                                                                                                                                                                                pub fn alert_name(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.alert_name(input.into()); diff --git a/sdk/lookoutmetrics/src/operation/create_anomaly_detector/builders.rs b/sdk/lookoutmetrics/src/operation/create_anomaly_detector/builders.rs index f3e40c8f21ff..c34827eab2ed 100644 --- a/sdk/lookoutmetrics/src/operation/create_anomaly_detector/builders.rs +++ b/sdk/lookoutmetrics/src/operation/create_anomaly_detector/builders.rs @@ -19,9 +19,9 @@ impl CreateAnomalyDetectorFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl CreateAnomalyDetectorFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::create_anomaly_detector::CreateAnomalyDetector, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::create_anomaly_detector::CreateAnomalyDetectorError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                The name of the detector.

                                                                                                                                                                                                pub fn anomaly_detector_name( mut self, diff --git a/sdk/lookoutmetrics/src/operation/create_metric_set/builders.rs b/sdk/lookoutmetrics/src/operation/create_metric_set/builders.rs index 617a937a739d..08313e5ccc3a 100644 --- a/sdk/lookoutmetrics/src/operation/create_metric_set/builders.rs +++ b/sdk/lookoutmetrics/src/operation/create_metric_set/builders.rs @@ -19,9 +19,9 @@ impl CreateMetricSetFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl CreateMetricSetFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::create_metric_set::CreateMetricSet, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::create_metric_set::CreateMetricSetError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                The ARN of the anomaly detector that will use the dataset.

                                                                                                                                                                                                pub fn anomaly_detector_arn( mut self, diff --git a/sdk/lookoutmetrics/src/operation/deactivate_anomaly_detector/builders.rs b/sdk/lookoutmetrics/src/operation/deactivate_anomaly_detector/builders.rs index 7ff1e2f56f59..d712a9aca6ca 100644 --- a/sdk/lookoutmetrics/src/operation/deactivate_anomaly_detector/builders.rs +++ b/sdk/lookoutmetrics/src/operation/deactivate_anomaly_detector/builders.rs @@ -19,9 +19,9 @@ impl DeactivateAnomalyDetectorFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl DeactivateAnomalyDetectorFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::deactivate_anomaly_detector::DeactivateAnomalyDetector, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::deactivate_anomaly_detector::DeactivateAnomalyDetectorError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                The Amazon Resource Name (ARN) of the anomaly detector.

                                                                                                                                                                                                pub fn anomaly_detector_arn( mut self, diff --git a/sdk/lookoutmetrics/src/operation/delete_alert/builders.rs b/sdk/lookoutmetrics/src/operation/delete_alert/builders.rs index ad54ffc69c6a..daad7c01126e 100644 --- a/sdk/lookoutmetrics/src/operation/delete_alert/builders.rs +++ b/sdk/lookoutmetrics/src/operation/delete_alert/builders.rs @@ -19,9 +19,9 @@ impl DeleteAlertFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl DeleteAlertFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::delete_alert::DeleteAlert, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                The ARN of the alert to delete.

                                                                                                                                                                                                pub fn alert_arn(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.alert_arn(input.into()); diff --git a/sdk/lookoutmetrics/src/operation/delete_anomaly_detector/builders.rs b/sdk/lookoutmetrics/src/operation/delete_anomaly_detector/builders.rs index d462a28f4b68..65baca20935a 100644 --- a/sdk/lookoutmetrics/src/operation/delete_anomaly_detector/builders.rs +++ b/sdk/lookoutmetrics/src/operation/delete_anomaly_detector/builders.rs @@ -19,9 +19,9 @@ impl DeleteAnomalyDetectorFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl DeleteAnomalyDetectorFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::delete_anomaly_detector::DeleteAnomalyDetector, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::delete_anomaly_detector::DeleteAnomalyDetectorError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                The ARN of the detector to delete.

                                                                                                                                                                                                pub fn anomaly_detector_arn( mut self, diff --git a/sdk/lookoutmetrics/src/operation/describe_alert/builders.rs b/sdk/lookoutmetrics/src/operation/describe_alert/builders.rs index 3473bdc2e319..075482f6a545 100644 --- a/sdk/lookoutmetrics/src/operation/describe_alert/builders.rs +++ b/sdk/lookoutmetrics/src/operation/describe_alert/builders.rs @@ -20,9 +20,9 @@ impl DescribeAlertFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -78,6 +78,20 @@ impl DescribeAlertFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::describe_alert::DescribeAlert, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                The ARN of the alert to describe.

                                                                                                                                                                                                pub fn alert_arn(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.alert_arn(input.into()); diff --git a/sdk/lookoutmetrics/src/operation/describe_anomaly_detection_executions/builders.rs b/sdk/lookoutmetrics/src/operation/describe_anomaly_detection_executions/builders.rs index ffd75657ab93..1fbd33552acd 100644 --- a/sdk/lookoutmetrics/src/operation/describe_anomaly_detection_executions/builders.rs +++ b/sdk/lookoutmetrics/src/operation/describe_anomaly_detection_executions/builders.rs @@ -19,9 +19,9 @@ impl DescribeAnomalyDetectionExecutionsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize(self) -> ::std::result::Result< + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware(self) -> ::std::result::Result< crate::client::customize::CustomizableOperation, ::aws_smithy_http::result::SdkError >{ @@ -64,6 +64,15 @@ impl DescribeAnomalyDetectionExecutionsFluentBuilder { { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize(self) -> ::std::result::Result< + crate::client::customize::CustomizableOperation, + ::aws_smithy_http::result::SdkError + >{ + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::describe_anomaly_detection_executions::paginator::DescribeAnomalyDetectionExecutionsPaginator::send) which returns a `Stream`. diff --git a/sdk/lookoutmetrics/src/operation/describe_anomaly_detector/builders.rs b/sdk/lookoutmetrics/src/operation/describe_anomaly_detector/builders.rs index 9cf7cebd7cee..6effcdac2433 100644 --- a/sdk/lookoutmetrics/src/operation/describe_anomaly_detector/builders.rs +++ b/sdk/lookoutmetrics/src/operation/describe_anomaly_detector/builders.rs @@ -21,9 +21,9 @@ impl DescribeAnomalyDetectorFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -85,6 +85,22 @@ impl DescribeAnomalyDetectorFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::describe_anomaly_detector::DescribeAnomalyDetector, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::describe_anomaly_detector::DescribeAnomalyDetectorError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                The ARN of the detector to describe.

                                                                                                                                                                                                pub fn anomaly_detector_arn( mut self, diff --git a/sdk/lookoutmetrics/src/operation/describe_metric_set/builders.rs b/sdk/lookoutmetrics/src/operation/describe_metric_set/builders.rs index 0787910a94c6..84664f74e829 100644 --- a/sdk/lookoutmetrics/src/operation/describe_metric_set/builders.rs +++ b/sdk/lookoutmetrics/src/operation/describe_metric_set/builders.rs @@ -20,9 +20,9 @@ impl DescribeMetricSetFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -84,6 +84,22 @@ impl DescribeMetricSetFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::describe_metric_set::DescribeMetricSet, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::describe_metric_set::DescribeMetricSetError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                The ARN of the dataset.

                                                                                                                                                                                                pub fn metric_set_arn( mut self, diff --git a/sdk/lookoutmetrics/src/operation/detect_metric_set_config/builders.rs b/sdk/lookoutmetrics/src/operation/detect_metric_set_config/builders.rs index e056df398421..f9993bf3e660 100644 --- a/sdk/lookoutmetrics/src/operation/detect_metric_set_config/builders.rs +++ b/sdk/lookoutmetrics/src/operation/detect_metric_set_config/builders.rs @@ -19,9 +19,9 @@ impl DetectMetricSetConfigFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl DetectMetricSetConfigFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::detect_metric_set_config::DetectMetricSetConfig, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::detect_metric_set_config::DetectMetricSetConfigError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                An anomaly detector ARN.

                                                                                                                                                                                                pub fn anomaly_detector_arn( mut self, diff --git a/sdk/lookoutmetrics/src/operation/get_anomaly_group/builders.rs b/sdk/lookoutmetrics/src/operation/get_anomaly_group/builders.rs index 15a0d466ac3a..78c6f253875b 100644 --- a/sdk/lookoutmetrics/src/operation/get_anomaly_group/builders.rs +++ b/sdk/lookoutmetrics/src/operation/get_anomaly_group/builders.rs @@ -19,9 +19,9 @@ impl GetAnomalyGroupFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl GetAnomalyGroupFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::get_anomaly_group::GetAnomalyGroup, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::get_anomaly_group::GetAnomalyGroupError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                The ID of the anomaly group.

                                                                                                                                                                                                pub fn anomaly_group_id( mut self, diff --git a/sdk/lookoutmetrics/src/operation/get_data_quality_metrics/builders.rs b/sdk/lookoutmetrics/src/operation/get_data_quality_metrics/builders.rs index b9ad81d41b25..59491f616b9b 100644 --- a/sdk/lookoutmetrics/src/operation/get_data_quality_metrics/builders.rs +++ b/sdk/lookoutmetrics/src/operation/get_data_quality_metrics/builders.rs @@ -19,9 +19,9 @@ impl GetDataQualityMetricsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl GetDataQualityMetricsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::get_data_quality_metrics::GetDataQualityMetrics, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::get_data_quality_metrics::GetDataQualityMetricsError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                The Amazon Resource Name (ARN) of the anomaly detector that you want to investigate.

                                                                                                                                                                                                pub fn anomaly_detector_arn( mut self, diff --git a/sdk/lookoutmetrics/src/operation/get_feedback/builders.rs b/sdk/lookoutmetrics/src/operation/get_feedback/builders.rs index aa34b589186a..ae3c9638554f 100644 --- a/sdk/lookoutmetrics/src/operation/get_feedback/builders.rs +++ b/sdk/lookoutmetrics/src/operation/get_feedback/builders.rs @@ -19,9 +19,9 @@ impl GetFeedbackFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl GetFeedbackFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::get_feedback::GetFeedback, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::get_feedback::paginator::GetFeedbackPaginator::send) which returns a `Stream`. diff --git a/sdk/lookoutmetrics/src/operation/get_sample_data/builders.rs b/sdk/lookoutmetrics/src/operation/get_sample_data/builders.rs index 68bd7bb0fc46..2d4eb0a591a1 100644 --- a/sdk/lookoutmetrics/src/operation/get_sample_data/builders.rs +++ b/sdk/lookoutmetrics/src/operation/get_sample_data/builders.rs @@ -19,9 +19,9 @@ impl GetSampleDataFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl GetSampleDataFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::get_sample_data::GetSampleData, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                A datasource bucket in Amazon S3.

                                                                                                                                                                                                pub fn s3_source_config(mut self, input: crate::types::SampleDataS3SourceConfig) -> Self { self.inner = self.inner.s3_source_config(input); diff --git a/sdk/lookoutmetrics/src/operation/list_alerts/builders.rs b/sdk/lookoutmetrics/src/operation/list_alerts/builders.rs index f8cec0c3eccf..f21260021f27 100644 --- a/sdk/lookoutmetrics/src/operation/list_alerts/builders.rs +++ b/sdk/lookoutmetrics/src/operation/list_alerts/builders.rs @@ -20,9 +20,9 @@ impl ListAlertsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -78,6 +78,20 @@ impl ListAlertsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_alerts::ListAlerts, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::list_alerts::paginator::ListAlertsPaginator::send) which returns a `Stream`. diff --git a/sdk/lookoutmetrics/src/operation/list_anomaly_detectors/builders.rs b/sdk/lookoutmetrics/src/operation/list_anomaly_detectors/builders.rs index abb0a6f26cbb..46c4794bd079 100644 --- a/sdk/lookoutmetrics/src/operation/list_anomaly_detectors/builders.rs +++ b/sdk/lookoutmetrics/src/operation/list_anomaly_detectors/builders.rs @@ -20,9 +20,9 @@ impl ListAnomalyDetectorsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -84,6 +84,22 @@ impl ListAnomalyDetectorsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_anomaly_detectors::ListAnomalyDetectors, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::list_anomaly_detectors::ListAnomalyDetectorsError, + >, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::list_anomaly_detectors::paginator::ListAnomalyDetectorsPaginator::send) which returns a `Stream`. diff --git a/sdk/lookoutmetrics/src/operation/list_anomaly_group_related_metrics/builders.rs b/sdk/lookoutmetrics/src/operation/list_anomaly_group_related_metrics/builders.rs index bd612d003687..69d74a4057ef 100644 --- a/sdk/lookoutmetrics/src/operation/list_anomaly_group_related_metrics/builders.rs +++ b/sdk/lookoutmetrics/src/operation/list_anomaly_group_related_metrics/builders.rs @@ -19,9 +19,9 @@ impl ListAnomalyGroupRelatedMetricsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize(self) -> ::std::result::Result< + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware(self) -> ::std::result::Result< crate::client::customize::CustomizableOperation, ::aws_smithy_http::result::SdkError >{ @@ -64,6 +64,15 @@ impl ListAnomalyGroupRelatedMetricsFluentBuilder { { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize(self) -> ::std::result::Result< + crate::client::customize::CustomizableOperation, + ::aws_smithy_http::result::SdkError + >{ + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::list_anomaly_group_related_metrics::paginator::ListAnomalyGroupRelatedMetricsPaginator::send) which returns a `Stream`. diff --git a/sdk/lookoutmetrics/src/operation/list_anomaly_group_summaries/builders.rs b/sdk/lookoutmetrics/src/operation/list_anomaly_group_summaries/builders.rs index 566e56d60d4c..b4511db70b52 100644 --- a/sdk/lookoutmetrics/src/operation/list_anomaly_group_summaries/builders.rs +++ b/sdk/lookoutmetrics/src/operation/list_anomaly_group_summaries/builders.rs @@ -19,9 +19,9 @@ impl ListAnomalyGroupSummariesFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl ListAnomalyGroupSummariesFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_anomaly_group_summaries::ListAnomalyGroupSummaries, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::list_anomaly_group_summaries::ListAnomalyGroupSummariesError, + >, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::list_anomaly_group_summaries::paginator::ListAnomalyGroupSummariesPaginator::send) which returns a `Stream`. diff --git a/sdk/lookoutmetrics/src/operation/list_anomaly_group_time_series/builders.rs b/sdk/lookoutmetrics/src/operation/list_anomaly_group_time_series/builders.rs index bdedcf104932..4166b4fd2e7a 100644 --- a/sdk/lookoutmetrics/src/operation/list_anomaly_group_time_series/builders.rs +++ b/sdk/lookoutmetrics/src/operation/list_anomaly_group_time_series/builders.rs @@ -19,9 +19,9 @@ impl ListAnomalyGroupTimeSeriesFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl ListAnomalyGroupTimeSeriesFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_anomaly_group_time_series::ListAnomalyGroupTimeSeries, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::list_anomaly_group_time_series::ListAnomalyGroupTimeSeriesError, + >, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::list_anomaly_group_time_series::paginator::ListAnomalyGroupTimeSeriesPaginator::send) which returns a `Stream`. diff --git a/sdk/lookoutmetrics/src/operation/list_metric_sets/builders.rs b/sdk/lookoutmetrics/src/operation/list_metric_sets/builders.rs index edf3added35d..2dcd4bbeb28c 100644 --- a/sdk/lookoutmetrics/src/operation/list_metric_sets/builders.rs +++ b/sdk/lookoutmetrics/src/operation/list_metric_sets/builders.rs @@ -20,9 +20,9 @@ impl ListMetricSetsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -84,6 +84,22 @@ impl ListMetricSetsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_metric_sets::ListMetricSets, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::list_metric_sets::ListMetricSetsError, + >, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::list_metric_sets::paginator::ListMetricSetsPaginator::send) which returns a `Stream`. diff --git a/sdk/lookoutmetrics/src/operation/list_tags_for_resource/builders.rs b/sdk/lookoutmetrics/src/operation/list_tags_for_resource/builders.rs index dbffd67d2971..5215c66a2423 100644 --- a/sdk/lookoutmetrics/src/operation/list_tags_for_resource/builders.rs +++ b/sdk/lookoutmetrics/src/operation/list_tags_for_resource/builders.rs @@ -19,9 +19,9 @@ impl ListTagsForResourceFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl ListTagsForResourceFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_tags_for_resource::ListTagsForResource, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::list_tags_for_resource::ListTagsForResourceError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                The resource's Amazon Resource Name (ARN).

                                                                                                                                                                                                pub fn resource_arn(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.resource_arn(input.into()); diff --git a/sdk/lookoutmetrics/src/operation/put_feedback/builders.rs b/sdk/lookoutmetrics/src/operation/put_feedback/builders.rs index 4b17c6487fd6..59906729a25a 100644 --- a/sdk/lookoutmetrics/src/operation/put_feedback/builders.rs +++ b/sdk/lookoutmetrics/src/operation/put_feedback/builders.rs @@ -19,9 +19,9 @@ impl PutFeedbackFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl PutFeedbackFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::put_feedback::PutFeedback, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                The Amazon Resource Name (ARN) of the anomaly detector.

                                                                                                                                                                                                pub fn anomaly_detector_arn( mut self, diff --git a/sdk/lookoutmetrics/src/operation/tag_resource/builders.rs b/sdk/lookoutmetrics/src/operation/tag_resource/builders.rs index 4f8ee1e72b81..20df38aabb9c 100644 --- a/sdk/lookoutmetrics/src/operation/tag_resource/builders.rs +++ b/sdk/lookoutmetrics/src/operation/tag_resource/builders.rs @@ -19,9 +19,9 @@ impl TagResourceFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl TagResourceFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::tag_resource::TagResource, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                The resource's Amazon Resource Name (ARN).

                                                                                                                                                                                                pub fn resource_arn(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.resource_arn(input.into()); diff --git a/sdk/lookoutmetrics/src/operation/untag_resource/builders.rs b/sdk/lookoutmetrics/src/operation/untag_resource/builders.rs index 92bad4d64e32..b3aee0a6f24e 100644 --- a/sdk/lookoutmetrics/src/operation/untag_resource/builders.rs +++ b/sdk/lookoutmetrics/src/operation/untag_resource/builders.rs @@ -19,9 +19,9 @@ impl UntagResourceFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl UntagResourceFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::untag_resource::UntagResource, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                The resource's Amazon Resource Name (ARN).

                                                                                                                                                                                                pub fn resource_arn(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.resource_arn(input.into()); diff --git a/sdk/lookoutmetrics/src/operation/update_alert/builders.rs b/sdk/lookoutmetrics/src/operation/update_alert/builders.rs index 451c62b57a06..d68e5bf8b0c4 100644 --- a/sdk/lookoutmetrics/src/operation/update_alert/builders.rs +++ b/sdk/lookoutmetrics/src/operation/update_alert/builders.rs @@ -19,9 +19,9 @@ impl UpdateAlertFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl UpdateAlertFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::update_alert::UpdateAlert, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                The ARN of the alert to update.

                                                                                                                                                                                                pub fn alert_arn(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.alert_arn(input.into()); diff --git a/sdk/lookoutmetrics/src/operation/update_anomaly_detector/builders.rs b/sdk/lookoutmetrics/src/operation/update_anomaly_detector/builders.rs index c1a4149cb244..4a901d7a1a62 100644 --- a/sdk/lookoutmetrics/src/operation/update_anomaly_detector/builders.rs +++ b/sdk/lookoutmetrics/src/operation/update_anomaly_detector/builders.rs @@ -19,9 +19,9 @@ impl UpdateAnomalyDetectorFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl UpdateAnomalyDetectorFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::update_anomaly_detector::UpdateAnomalyDetector, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::update_anomaly_detector::UpdateAnomalyDetectorError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                The ARN of the detector to update.

                                                                                                                                                                                                pub fn anomaly_detector_arn( mut self, diff --git a/sdk/lookoutmetrics/src/operation/update_metric_set/builders.rs b/sdk/lookoutmetrics/src/operation/update_metric_set/builders.rs index 4e56adbd11ec..074e8af030c1 100644 --- a/sdk/lookoutmetrics/src/operation/update_metric_set/builders.rs +++ b/sdk/lookoutmetrics/src/operation/update_metric_set/builders.rs @@ -19,9 +19,9 @@ impl UpdateMetricSetFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl UpdateMetricSetFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::update_metric_set::UpdateMetricSet, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::update_metric_set::UpdateMetricSetError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                The ARN of the dataset to update.

                                                                                                                                                                                                pub fn metric_set_arn( mut self, diff --git a/sdk/lookoutvision/src/operation/create_dataset/builders.rs b/sdk/lookoutvision/src/operation/create_dataset/builders.rs index 00b1d8054e7a..01579c1b1915 100644 --- a/sdk/lookoutvision/src/operation/create_dataset/builders.rs +++ b/sdk/lookoutvision/src/operation/create_dataset/builders.rs @@ -22,9 +22,9 @@ impl CreateDatasetFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -80,6 +80,20 @@ impl CreateDatasetFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::create_dataset::CreateDataset, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                The name of the project in which you want to create a dataset.

                                                                                                                                                                                                pub fn project_name(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.project_name(input.into()); diff --git a/sdk/lookoutvision/src/operation/create_model/builders.rs b/sdk/lookoutvision/src/operation/create_model/builders.rs index 83be6ff10ff9..d777ee0df27a 100644 --- a/sdk/lookoutvision/src/operation/create_model/builders.rs +++ b/sdk/lookoutvision/src/operation/create_model/builders.rs @@ -23,9 +23,9 @@ impl CreateModelFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -81,6 +81,20 @@ impl CreateModelFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::create_model::CreateModel, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                The name of the project in which you want to create a model version.

                                                                                                                                                                                                pub fn project_name(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.project_name(input.into()); diff --git a/sdk/lookoutvision/src/operation/create_project/builders.rs b/sdk/lookoutvision/src/operation/create_project/builders.rs index f8de4754bc48..171e12f6547d 100644 --- a/sdk/lookoutvision/src/operation/create_project/builders.rs +++ b/sdk/lookoutvision/src/operation/create_project/builders.rs @@ -20,9 +20,9 @@ impl CreateProjectFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -78,6 +78,20 @@ impl CreateProjectFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::create_project::CreateProject, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                The name for the project.

                                                                                                                                                                                                pub fn project_name(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.project_name(input.into()); diff --git a/sdk/lookoutvision/src/operation/delete_dataset/builders.rs b/sdk/lookoutvision/src/operation/delete_dataset/builders.rs index 94e3392c2323..e58d07884088 100644 --- a/sdk/lookoutvision/src/operation/delete_dataset/builders.rs +++ b/sdk/lookoutvision/src/operation/delete_dataset/builders.rs @@ -26,9 +26,9 @@ impl DeleteDatasetFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -84,6 +84,20 @@ impl DeleteDatasetFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::delete_dataset::DeleteDataset, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                The name of the project that contains the dataset that you want to delete.

                                                                                                                                                                                                pub fn project_name(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.project_name(input.into()); diff --git a/sdk/lookoutvision/src/operation/delete_model/builders.rs b/sdk/lookoutvision/src/operation/delete_model/builders.rs index d8de02f5f304..502cc5edcdde 100644 --- a/sdk/lookoutvision/src/operation/delete_model/builders.rs +++ b/sdk/lookoutvision/src/operation/delete_model/builders.rs @@ -22,9 +22,9 @@ impl DeleteModelFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -80,6 +80,20 @@ impl DeleteModelFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::delete_model::DeleteModel, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                The name of the project that contains the model that you want to delete.

                                                                                                                                                                                                pub fn project_name(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.project_name(input.into()); diff --git a/sdk/lookoutvision/src/operation/delete_project/builders.rs b/sdk/lookoutvision/src/operation/delete_project/builders.rs index 6f810bf13880..5bdd2ff1ae3c 100644 --- a/sdk/lookoutvision/src/operation/delete_project/builders.rs +++ b/sdk/lookoutvision/src/operation/delete_project/builders.rs @@ -22,9 +22,9 @@ impl DeleteProjectFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -80,6 +80,20 @@ impl DeleteProjectFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::delete_project::DeleteProject, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                The name of the project to delete.

                                                                                                                                                                                                pub fn project_name(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.project_name(input.into()); diff --git a/sdk/lookoutvision/src/operation/describe_dataset/builders.rs b/sdk/lookoutvision/src/operation/describe_dataset/builders.rs index d6188e276fff..4fb8e89ab8bb 100644 --- a/sdk/lookoutvision/src/operation/describe_dataset/builders.rs +++ b/sdk/lookoutvision/src/operation/describe_dataset/builders.rs @@ -20,9 +20,9 @@ impl DescribeDatasetFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -84,6 +84,22 @@ impl DescribeDatasetFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::describe_dataset::DescribeDataset, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::describe_dataset::DescribeDatasetError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                The name of the project that contains the dataset that you want to describe.

                                                                                                                                                                                                pub fn project_name(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.project_name(input.into()); diff --git a/sdk/lookoutvision/src/operation/describe_model/builders.rs b/sdk/lookoutvision/src/operation/describe_model/builders.rs index 70a2058d7093..dc5f9d43e04c 100644 --- a/sdk/lookoutvision/src/operation/describe_model/builders.rs +++ b/sdk/lookoutvision/src/operation/describe_model/builders.rs @@ -20,9 +20,9 @@ impl DescribeModelFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -78,6 +78,20 @@ impl DescribeModelFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::describe_model::DescribeModel, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                The project that contains the version of a model that you want to describe.

                                                                                                                                                                                                pub fn project_name(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.project_name(input.into()); diff --git a/sdk/lookoutvision/src/operation/describe_model_packaging_job/builders.rs b/sdk/lookoutvision/src/operation/describe_model_packaging_job/builders.rs index 11a253d94efa..df4f003dfb38 100644 --- a/sdk/lookoutvision/src/operation/describe_model_packaging_job/builders.rs +++ b/sdk/lookoutvision/src/operation/describe_model_packaging_job/builders.rs @@ -21,9 +21,9 @@ impl DescribeModelPackagingJobFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -85,6 +85,22 @@ impl DescribeModelPackagingJobFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::describe_model_packaging_job::DescribeModelPackagingJob, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::describe_model_packaging_job::DescribeModelPackagingJobError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                The name of the project that contains the model packaging job that you want to describe.

                                                                                                                                                                                                pub fn project_name(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.project_name(input.into()); diff --git a/sdk/lookoutvision/src/operation/describe_project/builders.rs b/sdk/lookoutvision/src/operation/describe_project/builders.rs index ff7c3b005a27..c1f72690fee2 100644 --- a/sdk/lookoutvision/src/operation/describe_project/builders.rs +++ b/sdk/lookoutvision/src/operation/describe_project/builders.rs @@ -20,9 +20,9 @@ impl DescribeProjectFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -84,6 +84,22 @@ impl DescribeProjectFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::describe_project::DescribeProject, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::describe_project::DescribeProjectError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                The name of the project that you want to describe.

                                                                                                                                                                                                pub fn project_name(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.project_name(input.into()); diff --git a/sdk/lookoutvision/src/operation/detect_anomalies/builders.rs b/sdk/lookoutvision/src/operation/detect_anomalies/builders.rs index 0f82bf32f9a4..36d2e6f7c67f 100644 --- a/sdk/lookoutvision/src/operation/detect_anomalies/builders.rs +++ b/sdk/lookoutvision/src/operation/detect_anomalies/builders.rs @@ -24,9 +24,9 @@ impl DetectAnomaliesFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -88,6 +88,22 @@ impl DetectAnomaliesFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::detect_anomalies::DetectAnomalies, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::detect_anomalies::DetectAnomaliesError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                The name of the project that contains the model version that you want to use.

                                                                                                                                                                                                pub fn project_name(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.project_name(input.into()); diff --git a/sdk/lookoutvision/src/operation/list_dataset_entries/builders.rs b/sdk/lookoutvision/src/operation/list_dataset_entries/builders.rs index 2dcaa647c784..31e649d97ef7 100644 --- a/sdk/lookoutvision/src/operation/list_dataset_entries/builders.rs +++ b/sdk/lookoutvision/src/operation/list_dataset_entries/builders.rs @@ -20,9 +20,9 @@ impl ListDatasetEntriesFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -84,6 +84,22 @@ impl ListDatasetEntriesFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_dataset_entries::ListDatasetEntries, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::list_dataset_entries::ListDatasetEntriesError, + >, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::list_dataset_entries::paginator::ListDatasetEntriesPaginator::send) which returns a `Stream`. diff --git a/sdk/lookoutvision/src/operation/list_model_packaging_jobs/builders.rs b/sdk/lookoutvision/src/operation/list_model_packaging_jobs/builders.rs index 5b8847d88cc3..e4a1858edd56 100644 --- a/sdk/lookoutvision/src/operation/list_model_packaging_jobs/builders.rs +++ b/sdk/lookoutvision/src/operation/list_model_packaging_jobs/builders.rs @@ -22,9 +22,9 @@ impl ListModelPackagingJobsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -86,6 +86,22 @@ impl ListModelPackagingJobsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_model_packaging_jobs::ListModelPackagingJobs, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::list_model_packaging_jobs::ListModelPackagingJobsError, + >, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::list_model_packaging_jobs::paginator::ListModelPackagingJobsPaginator::send) which returns a `Stream`. diff --git a/sdk/lookoutvision/src/operation/list_models/builders.rs b/sdk/lookoutvision/src/operation/list_models/builders.rs index d95fc5c8c7e6..b7456c02585f 100644 --- a/sdk/lookoutvision/src/operation/list_models/builders.rs +++ b/sdk/lookoutvision/src/operation/list_models/builders.rs @@ -21,9 +21,9 @@ impl ListModelsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -79,6 +79,20 @@ impl ListModelsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_models::ListModels, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::list_models::paginator::ListModelsPaginator::send) which returns a `Stream`. diff --git a/sdk/lookoutvision/src/operation/list_projects/builders.rs b/sdk/lookoutvision/src/operation/list_projects/builders.rs index 5c585130cf26..423b4e9ae390 100644 --- a/sdk/lookoutvision/src/operation/list_projects/builders.rs +++ b/sdk/lookoutvision/src/operation/list_projects/builders.rs @@ -21,9 +21,9 @@ impl ListProjectsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -79,6 +79,20 @@ impl ListProjectsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_projects::ListProjects, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::list_projects::paginator::ListProjectsPaginator::send) which returns a `Stream`. diff --git a/sdk/lookoutvision/src/operation/list_tags_for_resource/builders.rs b/sdk/lookoutvision/src/operation/list_tags_for_resource/builders.rs index 45fe82ba5c38..2b13a228ff12 100644 --- a/sdk/lookoutvision/src/operation/list_tags_for_resource/builders.rs +++ b/sdk/lookoutvision/src/operation/list_tags_for_resource/builders.rs @@ -20,9 +20,9 @@ impl ListTagsForResourceFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -84,6 +84,22 @@ impl ListTagsForResourceFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_tags_for_resource::ListTagsForResource, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::list_tags_for_resource::ListTagsForResourceError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                The Amazon Resource Name (ARN) of the model for which you want to list tags.

                                                                                                                                                                                                pub fn resource_arn(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.resource_arn(input.into()); diff --git a/sdk/lookoutvision/src/operation/start_model/builders.rs b/sdk/lookoutvision/src/operation/start_model/builders.rs index e470a5475395..f78641bd43ea 100644 --- a/sdk/lookoutvision/src/operation/start_model/builders.rs +++ b/sdk/lookoutvision/src/operation/start_model/builders.rs @@ -24,9 +24,9 @@ impl StartModelFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -82,6 +82,20 @@ impl StartModelFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::start_model::StartModel, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                The name of the project that contains the model that you want to start.

                                                                                                                                                                                                pub fn project_name(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.project_name(input.into()); diff --git a/sdk/lookoutvision/src/operation/start_model_packaging_job/builders.rs b/sdk/lookoutvision/src/operation/start_model_packaging_job/builders.rs index 017ad43948a4..41026246252a 100644 --- a/sdk/lookoutvision/src/operation/start_model_packaging_job/builders.rs +++ b/sdk/lookoutvision/src/operation/start_model_packaging_job/builders.rs @@ -33,9 +33,9 @@ impl StartModelPackagingJobFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -97,6 +97,22 @@ impl StartModelPackagingJobFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::start_model_packaging_job::StartModelPackagingJob, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::start_model_packaging_job::StartModelPackagingJobError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                The name of the project which contains the version of the model that you want to package.

                                                                                                                                                                                                pub fn project_name(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.project_name(input.into()); diff --git a/sdk/lookoutvision/src/operation/stop_model/builders.rs b/sdk/lookoutvision/src/operation/stop_model/builders.rs index e4f496915458..c008622fd618 100644 --- a/sdk/lookoutvision/src/operation/stop_model/builders.rs +++ b/sdk/lookoutvision/src/operation/stop_model/builders.rs @@ -21,9 +21,9 @@ impl StopModelFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -79,6 +79,20 @@ impl StopModelFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::stop_model::StopModel, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                The name of the project that contains the model that you want to stop.

                                                                                                                                                                                                pub fn project_name(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.project_name(input.into()); diff --git a/sdk/lookoutvision/src/operation/tag_resource/builders.rs b/sdk/lookoutvision/src/operation/tag_resource/builders.rs index ce3f64ce30b3..6f61bb8f3de9 100644 --- a/sdk/lookoutvision/src/operation/tag_resource/builders.rs +++ b/sdk/lookoutvision/src/operation/tag_resource/builders.rs @@ -20,9 +20,9 @@ impl TagResourceFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -78,6 +78,20 @@ impl TagResourceFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::tag_resource::TagResource, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                The Amazon Resource Name (ARN) of the model to assign the tags.

                                                                                                                                                                                                pub fn resource_arn(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.resource_arn(input.into()); diff --git a/sdk/lookoutvision/src/operation/untag_resource/builders.rs b/sdk/lookoutvision/src/operation/untag_resource/builders.rs index 6cb5ac851423..c5d8ea93ec88 100644 --- a/sdk/lookoutvision/src/operation/untag_resource/builders.rs +++ b/sdk/lookoutvision/src/operation/untag_resource/builders.rs @@ -20,9 +20,9 @@ impl UntagResourceFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -78,6 +78,20 @@ impl UntagResourceFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::untag_resource::UntagResource, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                The Amazon Resource Name (ARN) of the model from which you want to remove tags.

                                                                                                                                                                                                pub fn resource_arn(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.resource_arn(input.into()); diff --git a/sdk/lookoutvision/src/operation/update_dataset_entries/builders.rs b/sdk/lookoutvision/src/operation/update_dataset_entries/builders.rs index 881b15e5c77f..561920aa5396 100644 --- a/sdk/lookoutvision/src/operation/update_dataset_entries/builders.rs +++ b/sdk/lookoutvision/src/operation/update_dataset_entries/builders.rs @@ -25,9 +25,9 @@ impl UpdateDatasetEntriesFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -89,6 +89,22 @@ impl UpdateDatasetEntriesFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::update_dataset_entries::UpdateDatasetEntries, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::update_dataset_entries::UpdateDatasetEntriesError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                The name of the project that contains the dataset that you want to update.

                                                                                                                                                                                                pub fn project_name(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.project_name(input.into()); diff --git a/sdk/m2/src/operation/cancel_batch_job_execution/builders.rs b/sdk/m2/src/operation/cancel_batch_job_execution/builders.rs index 8333b240005c..6d2a1b48ed92 100644 --- a/sdk/m2/src/operation/cancel_batch_job_execution/builders.rs +++ b/sdk/m2/src/operation/cancel_batch_job_execution/builders.rs @@ -20,9 +20,9 @@ impl CancelBatchJobExecutionFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -84,6 +84,22 @@ impl CancelBatchJobExecutionFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::cancel_batch_job_execution::CancelBatchJobExecution, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::cancel_batch_job_execution::CancelBatchJobExecutionError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                The unique identifier of the application.

                                                                                                                                                                                                pub fn application_id( mut self, diff --git a/sdk/m2/src/operation/create_application/builders.rs b/sdk/m2/src/operation/create_application/builders.rs index ce5853188a7f..fdb9beb983f1 100644 --- a/sdk/m2/src/operation/create_application/builders.rs +++ b/sdk/m2/src/operation/create_application/builders.rs @@ -19,9 +19,9 @@ impl CreateApplicationFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl CreateApplicationFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::create_application::CreateApplication, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::create_application::CreateApplicationError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                The unique identifier of the application.

                                                                                                                                                                                                pub fn name(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.name(input.into()); diff --git a/sdk/m2/src/operation/create_data_set_import_task/builders.rs b/sdk/m2/src/operation/create_data_set_import_task/builders.rs index 2a0a5802f7b5..61d083138af0 100644 --- a/sdk/m2/src/operation/create_data_set_import_task/builders.rs +++ b/sdk/m2/src/operation/create_data_set_import_task/builders.rs @@ -19,9 +19,9 @@ impl CreateDataSetImportTaskFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl CreateDataSetImportTaskFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::create_data_set_import_task::CreateDataSetImportTask, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::create_data_set_import_task::CreateDataSetImportTaskError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                The unique identifier of the application for which you want to import data sets.

                                                                                                                                                                                                pub fn application_id( mut self, diff --git a/sdk/m2/src/operation/create_deployment/builders.rs b/sdk/m2/src/operation/create_deployment/builders.rs index 2fb4b5dd9327..b0c279b9ef59 100644 --- a/sdk/m2/src/operation/create_deployment/builders.rs +++ b/sdk/m2/src/operation/create_deployment/builders.rs @@ -19,9 +19,9 @@ impl CreateDeploymentFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl CreateDeploymentFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::create_deployment::CreateDeployment, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::create_deployment::CreateDeploymentError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                The identifier of the runtime environment where you want to deploy this application.

                                                                                                                                                                                                pub fn environment_id( mut self, diff --git a/sdk/m2/src/operation/create_environment/builders.rs b/sdk/m2/src/operation/create_environment/builders.rs index 72358c8d9b57..d4bc3e0c8408 100644 --- a/sdk/m2/src/operation/create_environment/builders.rs +++ b/sdk/m2/src/operation/create_environment/builders.rs @@ -19,9 +19,9 @@ impl CreateEnvironmentFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl CreateEnvironmentFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::create_environment::CreateEnvironment, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::create_environment::CreateEnvironmentError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                The name of the runtime environment. Must be unique within the account.

                                                                                                                                                                                                pub fn name(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.name(input.into()); diff --git a/sdk/m2/src/operation/delete_application/builders.rs b/sdk/m2/src/operation/delete_application/builders.rs index 4968c9fd3855..7e53bdb13b78 100644 --- a/sdk/m2/src/operation/delete_application/builders.rs +++ b/sdk/m2/src/operation/delete_application/builders.rs @@ -19,9 +19,9 @@ impl DeleteApplicationFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl DeleteApplicationFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::delete_application::DeleteApplication, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::delete_application::DeleteApplicationError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                The unique identifier of the application you want to delete.

                                                                                                                                                                                                pub fn application_id( mut self, diff --git a/sdk/m2/src/operation/delete_application_from_environment/builders.rs b/sdk/m2/src/operation/delete_application_from_environment/builders.rs index 80e2d7e5f146..818607e758e0 100644 --- a/sdk/m2/src/operation/delete_application_from_environment/builders.rs +++ b/sdk/m2/src/operation/delete_application_from_environment/builders.rs @@ -19,9 +19,9 @@ impl DeleteApplicationFromEnvironmentFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize(self) -> ::std::result::Result< + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware(self) -> ::std::result::Result< crate::client::customize::CustomizableOperation, ::aws_smithy_http::result::SdkError >{ @@ -64,6 +64,15 @@ impl DeleteApplicationFromEnvironmentFluentBuilder { { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize(self) -> ::std::result::Result< + crate::client::customize::CustomizableOperation, + ::aws_smithy_http::result::SdkError + >{ + self.customize_middleware().await + } ///

                                                                                                                                                                                                The unique identifier of the application you want to delete.

                                                                                                                                                                                                pub fn application_id( mut self, diff --git a/sdk/m2/src/operation/delete_environment/builders.rs b/sdk/m2/src/operation/delete_environment/builders.rs index 49af4b22111f..e9a681e85802 100644 --- a/sdk/m2/src/operation/delete_environment/builders.rs +++ b/sdk/m2/src/operation/delete_environment/builders.rs @@ -19,9 +19,9 @@ impl DeleteEnvironmentFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl DeleteEnvironmentFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::delete_environment::DeleteEnvironment, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::delete_environment::DeleteEnvironmentError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                The unique identifier of the runtime environment you want to delete.

                                                                                                                                                                                                pub fn environment_id( mut self, diff --git a/sdk/m2/src/operation/get_application/builders.rs b/sdk/m2/src/operation/get_application/builders.rs index 54f9a1c7c551..e43d3bee778a 100644 --- a/sdk/m2/src/operation/get_application/builders.rs +++ b/sdk/m2/src/operation/get_application/builders.rs @@ -19,9 +19,9 @@ impl GetApplicationFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl GetApplicationFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::get_application::GetApplication, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                The identifier of the application.

                                                                                                                                                                                                pub fn application_id( mut self, diff --git a/sdk/m2/src/operation/get_application_version/builders.rs b/sdk/m2/src/operation/get_application_version/builders.rs index e512e190e50a..9b56fd02558c 100644 --- a/sdk/m2/src/operation/get_application_version/builders.rs +++ b/sdk/m2/src/operation/get_application_version/builders.rs @@ -19,9 +19,9 @@ impl GetApplicationVersionFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl GetApplicationVersionFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::get_application_version::GetApplicationVersion, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::get_application_version::GetApplicationVersionError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                The unique identifier of the application.

                                                                                                                                                                                                pub fn application_id( mut self, diff --git a/sdk/m2/src/operation/get_batch_job_execution/builders.rs b/sdk/m2/src/operation/get_batch_job_execution/builders.rs index 90d5b0aefe00..0b9de7b40651 100644 --- a/sdk/m2/src/operation/get_batch_job_execution/builders.rs +++ b/sdk/m2/src/operation/get_batch_job_execution/builders.rs @@ -19,9 +19,9 @@ impl GetBatchJobExecutionFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl GetBatchJobExecutionFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::get_batch_job_execution::GetBatchJobExecution, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::get_batch_job_execution::GetBatchJobExecutionError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                The identifier of the application.

                                                                                                                                                                                                pub fn application_id( mut self, diff --git a/sdk/m2/src/operation/get_data_set_details/builders.rs b/sdk/m2/src/operation/get_data_set_details/builders.rs index e30cfd2d2440..1b0e385cd1e2 100644 --- a/sdk/m2/src/operation/get_data_set_details/builders.rs +++ b/sdk/m2/src/operation/get_data_set_details/builders.rs @@ -19,9 +19,9 @@ impl GetDataSetDetailsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl GetDataSetDetailsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::get_data_set_details::GetDataSetDetails, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::get_data_set_details::GetDataSetDetailsError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                The unique identifier of the application that this data set is associated with.

                                                                                                                                                                                                pub fn application_id( mut self, diff --git a/sdk/m2/src/operation/get_data_set_import_task/builders.rs b/sdk/m2/src/operation/get_data_set_import_task/builders.rs index 3a866a6552cc..99c473952db9 100644 --- a/sdk/m2/src/operation/get_data_set_import_task/builders.rs +++ b/sdk/m2/src/operation/get_data_set_import_task/builders.rs @@ -19,9 +19,9 @@ impl GetDataSetImportTaskFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl GetDataSetImportTaskFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::get_data_set_import_task::GetDataSetImportTask, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::get_data_set_import_task::GetDataSetImportTaskError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                The application identifier.

                                                                                                                                                                                                pub fn application_id( mut self, diff --git a/sdk/m2/src/operation/get_deployment/builders.rs b/sdk/m2/src/operation/get_deployment/builders.rs index 4158c0f30620..bc785b8d237f 100644 --- a/sdk/m2/src/operation/get_deployment/builders.rs +++ b/sdk/m2/src/operation/get_deployment/builders.rs @@ -19,9 +19,9 @@ impl GetDeploymentFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl GetDeploymentFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::get_deployment::GetDeployment, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                The unique identifier for the deployment.

                                                                                                                                                                                                pub fn deployment_id( mut self, diff --git a/sdk/m2/src/operation/get_environment/builders.rs b/sdk/m2/src/operation/get_environment/builders.rs index 3a77ba2ff165..391248972d28 100644 --- a/sdk/m2/src/operation/get_environment/builders.rs +++ b/sdk/m2/src/operation/get_environment/builders.rs @@ -19,9 +19,9 @@ impl GetEnvironmentFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl GetEnvironmentFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::get_environment::GetEnvironment, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                The unique identifier of the runtime environment.

                                                                                                                                                                                                pub fn environment_id( mut self, diff --git a/sdk/m2/src/operation/list_application_versions/builders.rs b/sdk/m2/src/operation/list_application_versions/builders.rs index d88f067d1091..09c0c3a7256c 100644 --- a/sdk/m2/src/operation/list_application_versions/builders.rs +++ b/sdk/m2/src/operation/list_application_versions/builders.rs @@ -20,9 +20,9 @@ impl ListApplicationVersionsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -84,6 +84,22 @@ impl ListApplicationVersionsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_application_versions::ListApplicationVersions, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::list_application_versions::ListApplicationVersionsError, + >, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::list_application_versions::paginator::ListApplicationVersionsPaginator::send) which returns a `Stream`. diff --git a/sdk/m2/src/operation/list_applications/builders.rs b/sdk/m2/src/operation/list_applications/builders.rs index 4a0c99b1d01e..4fc6c30788ae 100644 --- a/sdk/m2/src/operation/list_applications/builders.rs +++ b/sdk/m2/src/operation/list_applications/builders.rs @@ -19,9 +19,9 @@ impl ListApplicationsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl ListApplicationsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_applications::ListApplications, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::list_applications::ListApplicationsError, + >, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::list_applications::paginator::ListApplicationsPaginator::send) which returns a `Stream`. diff --git a/sdk/m2/src/operation/list_batch_job_definitions/builders.rs b/sdk/m2/src/operation/list_batch_job_definitions/builders.rs index d66da9ec94c3..90280b65547a 100644 --- a/sdk/m2/src/operation/list_batch_job_definitions/builders.rs +++ b/sdk/m2/src/operation/list_batch_job_definitions/builders.rs @@ -20,9 +20,9 @@ impl ListBatchJobDefinitionsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -84,6 +84,22 @@ impl ListBatchJobDefinitionsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_batch_job_definitions::ListBatchJobDefinitions, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::list_batch_job_definitions::ListBatchJobDefinitionsError, + >, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::list_batch_job_definitions::paginator::ListBatchJobDefinitionsPaginator::send) which returns a `Stream`. diff --git a/sdk/m2/src/operation/list_batch_job_executions/builders.rs b/sdk/m2/src/operation/list_batch_job_executions/builders.rs index a11c274b4200..846a9c1f6cb6 100644 --- a/sdk/m2/src/operation/list_batch_job_executions/builders.rs +++ b/sdk/m2/src/operation/list_batch_job_executions/builders.rs @@ -20,9 +20,9 @@ impl ListBatchJobExecutionsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -84,6 +84,22 @@ impl ListBatchJobExecutionsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_batch_job_executions::ListBatchJobExecutions, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::list_batch_job_executions::ListBatchJobExecutionsError, + >, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::list_batch_job_executions::paginator::ListBatchJobExecutionsPaginator::send) which returns a `Stream`. diff --git a/sdk/m2/src/operation/list_data_set_import_history/builders.rs b/sdk/m2/src/operation/list_data_set_import_history/builders.rs index 0452d82900ed..404f452f9d09 100644 --- a/sdk/m2/src/operation/list_data_set_import_history/builders.rs +++ b/sdk/m2/src/operation/list_data_set_import_history/builders.rs @@ -19,9 +19,9 @@ impl ListDataSetImportHistoryFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl ListDataSetImportHistoryFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_data_set_import_history::ListDataSetImportHistory, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::list_data_set_import_history::ListDataSetImportHistoryError, + >, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::list_data_set_import_history::paginator::ListDataSetImportHistoryPaginator::send) which returns a `Stream`. diff --git a/sdk/m2/src/operation/list_data_sets/builders.rs b/sdk/m2/src/operation/list_data_sets/builders.rs index 4763f3d80ce0..f4f0f156d91a 100644 --- a/sdk/m2/src/operation/list_data_sets/builders.rs +++ b/sdk/m2/src/operation/list_data_sets/builders.rs @@ -19,9 +19,9 @@ impl ListDataSetsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl ListDataSetsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_data_sets::ListDataSets, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::list_data_sets::paginator::ListDataSetsPaginator::send) which returns a `Stream`. diff --git a/sdk/m2/src/operation/list_deployments/builders.rs b/sdk/m2/src/operation/list_deployments/builders.rs index 29d4d72bee3c..72205e47e82c 100644 --- a/sdk/m2/src/operation/list_deployments/builders.rs +++ b/sdk/m2/src/operation/list_deployments/builders.rs @@ -19,9 +19,9 @@ impl ListDeploymentsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl ListDeploymentsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_deployments::ListDeployments, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::list_deployments::ListDeploymentsError, + >, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::list_deployments::paginator::ListDeploymentsPaginator::send) which returns a `Stream`. diff --git a/sdk/m2/src/operation/list_engine_versions/builders.rs b/sdk/m2/src/operation/list_engine_versions/builders.rs index 7328e16a1af2..aa3b2acc592a 100644 --- a/sdk/m2/src/operation/list_engine_versions/builders.rs +++ b/sdk/m2/src/operation/list_engine_versions/builders.rs @@ -19,9 +19,9 @@ impl ListEngineVersionsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl ListEngineVersionsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_engine_versions::ListEngineVersions, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::list_engine_versions::ListEngineVersionsError, + >, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::list_engine_versions::paginator::ListEngineVersionsPaginator::send) which returns a `Stream`. diff --git a/sdk/m2/src/operation/list_environments/builders.rs b/sdk/m2/src/operation/list_environments/builders.rs index f6b5c49432ef..8185fceac025 100644 --- a/sdk/m2/src/operation/list_environments/builders.rs +++ b/sdk/m2/src/operation/list_environments/builders.rs @@ -19,9 +19,9 @@ impl ListEnvironmentsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl ListEnvironmentsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_environments::ListEnvironments, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::list_environments::ListEnvironmentsError, + >, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::list_environments::paginator::ListEnvironmentsPaginator::send) which returns a `Stream`. diff --git a/sdk/m2/src/operation/list_tags_for_resource/builders.rs b/sdk/m2/src/operation/list_tags_for_resource/builders.rs index c47c190d83b2..0a70d0c44010 100644 --- a/sdk/m2/src/operation/list_tags_for_resource/builders.rs +++ b/sdk/m2/src/operation/list_tags_for_resource/builders.rs @@ -19,9 +19,9 @@ impl ListTagsForResourceFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl ListTagsForResourceFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_tags_for_resource::ListTagsForResource, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::list_tags_for_resource::ListTagsForResourceError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                The Amazon Resource Name (ARN) of the resource.

                                                                                                                                                                                                pub fn resource_arn(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.resource_arn(input.into()); diff --git a/sdk/m2/src/operation/start_application/builders.rs b/sdk/m2/src/operation/start_application/builders.rs index 767e81542fa0..de5cb4bd9fbe 100644 --- a/sdk/m2/src/operation/start_application/builders.rs +++ b/sdk/m2/src/operation/start_application/builders.rs @@ -19,9 +19,9 @@ impl StartApplicationFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl StartApplicationFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::start_application::StartApplication, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::start_application::StartApplicationError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                The unique identifier of the application you want to start.

                                                                                                                                                                                                pub fn application_id( mut self, diff --git a/sdk/m2/src/operation/start_batch_job/builders.rs b/sdk/m2/src/operation/start_batch_job/builders.rs index 17a608bfc23d..58eb04a4d29c 100644 --- a/sdk/m2/src/operation/start_batch_job/builders.rs +++ b/sdk/m2/src/operation/start_batch_job/builders.rs @@ -19,9 +19,9 @@ impl StartBatchJobFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl StartBatchJobFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::start_batch_job::StartBatchJob, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                The unique identifier of the application associated with this batch job.

                                                                                                                                                                                                pub fn application_id( mut self, diff --git a/sdk/m2/src/operation/stop_application/builders.rs b/sdk/m2/src/operation/stop_application/builders.rs index a52c635623a1..566d3be5d13f 100644 --- a/sdk/m2/src/operation/stop_application/builders.rs +++ b/sdk/m2/src/operation/stop_application/builders.rs @@ -19,9 +19,9 @@ impl StopApplicationFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl StopApplicationFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::stop_application::StopApplication, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::stop_application::StopApplicationError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                The unique identifier of the application you want to stop.

                                                                                                                                                                                                pub fn application_id( mut self, diff --git a/sdk/m2/src/operation/tag_resource/builders.rs b/sdk/m2/src/operation/tag_resource/builders.rs index aeea3c18d8d2..29f2da67eed0 100644 --- a/sdk/m2/src/operation/tag_resource/builders.rs +++ b/sdk/m2/src/operation/tag_resource/builders.rs @@ -19,9 +19,9 @@ impl TagResourceFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl TagResourceFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::tag_resource::TagResource, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                The Amazon Resource Name (ARN) of the resource.

                                                                                                                                                                                                pub fn resource_arn(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.resource_arn(input.into()); diff --git a/sdk/m2/src/operation/untag_resource/builders.rs b/sdk/m2/src/operation/untag_resource/builders.rs index 662abf286431..542700209ce0 100644 --- a/sdk/m2/src/operation/untag_resource/builders.rs +++ b/sdk/m2/src/operation/untag_resource/builders.rs @@ -19,9 +19,9 @@ impl UntagResourceFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl UntagResourceFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::untag_resource::UntagResource, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                The Amazon Resource Name (ARN) of the resource.

                                                                                                                                                                                                pub fn resource_arn(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.resource_arn(input.into()); diff --git a/sdk/m2/src/operation/update_application/builders.rs b/sdk/m2/src/operation/update_application/builders.rs index 4e0c9dc108bd..33cd663b5dff 100644 --- a/sdk/m2/src/operation/update_application/builders.rs +++ b/sdk/m2/src/operation/update_application/builders.rs @@ -19,9 +19,9 @@ impl UpdateApplicationFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl UpdateApplicationFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::update_application::UpdateApplication, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::update_application::UpdateApplicationError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                The unique identifier of the application you want to update.

                                                                                                                                                                                                pub fn application_id( mut self, diff --git a/sdk/m2/src/operation/update_environment/builders.rs b/sdk/m2/src/operation/update_environment/builders.rs index 42024d207d4f..39b908413357 100644 --- a/sdk/m2/src/operation/update_environment/builders.rs +++ b/sdk/m2/src/operation/update_environment/builders.rs @@ -19,9 +19,9 @@ impl UpdateEnvironmentFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl UpdateEnvironmentFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::update_environment::UpdateEnvironment, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::update_environment::UpdateEnvironmentError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                The unique identifier of the runtime environment that you want to update.

                                                                                                                                                                                                pub fn environment_id( mut self, diff --git a/sdk/machinelearning/src/operation/add_tags/builders.rs b/sdk/machinelearning/src/operation/add_tags/builders.rs index 35ce2f111a70..999452e7969f 100644 --- a/sdk/machinelearning/src/operation/add_tags/builders.rs +++ b/sdk/machinelearning/src/operation/add_tags/builders.rs @@ -19,9 +19,9 @@ impl AddTagsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl AddTagsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::add_tags::AddTags, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } /// Appends an item to `Tags`. /// /// To override the contents of this collection use [`set_tags`](Self::set_tags). diff --git a/sdk/machinelearning/src/operation/create_batch_prediction/builders.rs b/sdk/machinelearning/src/operation/create_batch_prediction/builders.rs index 4d9cc0e3a786..36db040d208d 100644 --- a/sdk/machinelearning/src/operation/create_batch_prediction/builders.rs +++ b/sdk/machinelearning/src/operation/create_batch_prediction/builders.rs @@ -21,9 +21,9 @@ impl CreateBatchPredictionFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -85,6 +85,22 @@ impl CreateBatchPredictionFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::create_batch_prediction::CreateBatchPrediction, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::create_batch_prediction::CreateBatchPredictionError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                A user-supplied ID that uniquely identifies the BatchPrediction.

                                                                                                                                                                                                pub fn batch_prediction_id( mut self, diff --git a/sdk/machinelearning/src/operation/create_data_source_from_rds/builders.rs b/sdk/machinelearning/src/operation/create_data_source_from_rds/builders.rs index 94c50c992270..18a61dac8458 100644 --- a/sdk/machinelearning/src/operation/create_data_source_from_rds/builders.rs +++ b/sdk/machinelearning/src/operation/create_data_source_from_rds/builders.rs @@ -21,9 +21,9 @@ impl CreateDataSourceFromRDSFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -85,6 +85,22 @@ impl CreateDataSourceFromRDSFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::create_data_source_from_rds::CreateDataSourceFromRDS, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::create_data_source_from_rds::CreateDataSourceFromRDSError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                A user-supplied ID that uniquely identifies the DataSource. Typically, an Amazon Resource Number (ARN) becomes the ID for a DataSource.

                                                                                                                                                                                                pub fn data_source_id( mut self, diff --git a/sdk/machinelearning/src/operation/create_data_source_from_redshift/builders.rs b/sdk/machinelearning/src/operation/create_data_source_from_redshift/builders.rs index 5d0d1b9594fc..d79f60c0a24d 100644 --- a/sdk/machinelearning/src/operation/create_data_source_from_redshift/builders.rs +++ b/sdk/machinelearning/src/operation/create_data_source_from_redshift/builders.rs @@ -24,9 +24,9 @@ impl CreateDataSourceFromRedshiftFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -88,6 +88,22 @@ impl CreateDataSourceFromRedshiftFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::create_data_source_from_redshift::CreateDataSourceFromRedshift, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::create_data_source_from_redshift::CreateDataSourceFromRedshiftError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                A user-supplied ID that uniquely identifies the DataSource.

                                                                                                                                                                                                pub fn data_source_id( mut self, diff --git a/sdk/machinelearning/src/operation/create_data_source_from_s3/builders.rs b/sdk/machinelearning/src/operation/create_data_source_from_s3/builders.rs index 5951b67cb231..6cc4618d407b 100644 --- a/sdk/machinelearning/src/operation/create_data_source_from_s3/builders.rs +++ b/sdk/machinelearning/src/operation/create_data_source_from_s3/builders.rs @@ -24,9 +24,9 @@ impl CreateDataSourceFromS3FluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -88,6 +88,22 @@ impl CreateDataSourceFromS3FluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::create_data_source_from_s3::CreateDataSourceFromS3, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::create_data_source_from_s3::CreateDataSourceFromS3Error, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                A user-supplied identifier that uniquely identifies the DataSource.

                                                                                                                                                                                                pub fn data_source_id( mut self, diff --git a/sdk/machinelearning/src/operation/create_evaluation/builders.rs b/sdk/machinelearning/src/operation/create_evaluation/builders.rs index ba2063db9aac..21046c9dcd89 100644 --- a/sdk/machinelearning/src/operation/create_evaluation/builders.rs +++ b/sdk/machinelearning/src/operation/create_evaluation/builders.rs @@ -21,9 +21,9 @@ impl CreateEvaluationFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -85,6 +85,22 @@ impl CreateEvaluationFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::create_evaluation::CreateEvaluation, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::create_evaluation::CreateEvaluationError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                A user-supplied ID that uniquely identifies the Evaluation.

                                                                                                                                                                                                pub fn evaluation_id( mut self, diff --git a/sdk/machinelearning/src/operation/create_ml_model/builders.rs b/sdk/machinelearning/src/operation/create_ml_model/builders.rs index 7a4a0ea2a6fd..a9b824537c0d 100644 --- a/sdk/machinelearning/src/operation/create_ml_model/builders.rs +++ b/sdk/machinelearning/src/operation/create_ml_model/builders.rs @@ -23,9 +23,9 @@ impl CreateMLModelFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -81,6 +81,20 @@ impl CreateMLModelFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::create_ml_model::CreateMLModel, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                A user-supplied ID that uniquely identifies the MLModel.

                                                                                                                                                                                                pub fn ml_model_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.ml_model_id(input.into()); diff --git a/sdk/machinelearning/src/operation/create_realtime_endpoint/builders.rs b/sdk/machinelearning/src/operation/create_realtime_endpoint/builders.rs index a345cf7207b2..46abe92134ed 100644 --- a/sdk/machinelearning/src/operation/create_realtime_endpoint/builders.rs +++ b/sdk/machinelearning/src/operation/create_realtime_endpoint/builders.rs @@ -19,9 +19,9 @@ impl CreateRealtimeEndpointFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl CreateRealtimeEndpointFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::create_realtime_endpoint::CreateRealtimeEndpoint, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::create_realtime_endpoint::CreateRealtimeEndpointError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                The ID assigned to the MLModel during creation.

                                                                                                                                                                                                pub fn ml_model_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.ml_model_id(input.into()); diff --git a/sdk/machinelearning/src/operation/delete_batch_prediction/builders.rs b/sdk/machinelearning/src/operation/delete_batch_prediction/builders.rs index 56263855180c..9e007b643af6 100644 --- a/sdk/machinelearning/src/operation/delete_batch_prediction/builders.rs +++ b/sdk/machinelearning/src/operation/delete_batch_prediction/builders.rs @@ -21,9 +21,9 @@ impl DeleteBatchPredictionFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -85,6 +85,22 @@ impl DeleteBatchPredictionFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::delete_batch_prediction::DeleteBatchPrediction, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::delete_batch_prediction::DeleteBatchPredictionError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                A user-supplied ID that uniquely identifies the BatchPrediction.

                                                                                                                                                                                                pub fn batch_prediction_id( mut self, diff --git a/sdk/machinelearning/src/operation/delete_data_source/builders.rs b/sdk/machinelearning/src/operation/delete_data_source/builders.rs index 0b4f2db6aee7..a5b9215dae10 100644 --- a/sdk/machinelearning/src/operation/delete_data_source/builders.rs +++ b/sdk/machinelearning/src/operation/delete_data_source/builders.rs @@ -21,9 +21,9 @@ impl DeleteDataSourceFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -85,6 +85,22 @@ impl DeleteDataSourceFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::delete_data_source::DeleteDataSource, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::delete_data_source::DeleteDataSourceError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                A user-supplied ID that uniquely identifies the DataSource.

                                                                                                                                                                                                pub fn data_source_id( mut self, diff --git a/sdk/machinelearning/src/operation/delete_evaluation/builders.rs b/sdk/machinelearning/src/operation/delete_evaluation/builders.rs index b2aaedef3ddc..d8ede37df715 100644 --- a/sdk/machinelearning/src/operation/delete_evaluation/builders.rs +++ b/sdk/machinelearning/src/operation/delete_evaluation/builders.rs @@ -21,9 +21,9 @@ impl DeleteEvaluationFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -85,6 +85,22 @@ impl DeleteEvaluationFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::delete_evaluation::DeleteEvaluation, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::delete_evaluation::DeleteEvaluationError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                A user-supplied ID that uniquely identifies the Evaluation to delete.

                                                                                                                                                                                                pub fn evaluation_id( mut self, diff --git a/sdk/machinelearning/src/operation/delete_ml_model/builders.rs b/sdk/machinelearning/src/operation/delete_ml_model/builders.rs index dc96e8218203..df773f378abb 100644 --- a/sdk/machinelearning/src/operation/delete_ml_model/builders.rs +++ b/sdk/machinelearning/src/operation/delete_ml_model/builders.rs @@ -21,9 +21,9 @@ impl DeleteMLModelFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -79,6 +79,20 @@ impl DeleteMLModelFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::delete_ml_model::DeleteMLModel, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                A user-supplied ID that uniquely identifies the MLModel.

                                                                                                                                                                                                pub fn ml_model_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.ml_model_id(input.into()); diff --git a/sdk/machinelearning/src/operation/delete_realtime_endpoint/builders.rs b/sdk/machinelearning/src/operation/delete_realtime_endpoint/builders.rs index a3809b653636..490ddfb0363c 100644 --- a/sdk/machinelearning/src/operation/delete_realtime_endpoint/builders.rs +++ b/sdk/machinelearning/src/operation/delete_realtime_endpoint/builders.rs @@ -19,9 +19,9 @@ impl DeleteRealtimeEndpointFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl DeleteRealtimeEndpointFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::delete_realtime_endpoint::DeleteRealtimeEndpoint, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::delete_realtime_endpoint::DeleteRealtimeEndpointError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                The ID assigned to the MLModel during creation.

                                                                                                                                                                                                pub fn ml_model_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.ml_model_id(input.into()); diff --git a/sdk/machinelearning/src/operation/delete_tags/builders.rs b/sdk/machinelearning/src/operation/delete_tags/builders.rs index 834b3706e6bd..170a7a3ddb89 100644 --- a/sdk/machinelearning/src/operation/delete_tags/builders.rs +++ b/sdk/machinelearning/src/operation/delete_tags/builders.rs @@ -20,9 +20,9 @@ impl DeleteTagsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -78,6 +78,20 @@ impl DeleteTagsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::delete_tags::DeleteTags, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } /// Appends an item to `TagKeys`. /// /// To override the contents of this collection use [`set_tag_keys`](Self::set_tag_keys). diff --git a/sdk/machinelearning/src/operation/describe_batch_predictions/builders.rs b/sdk/machinelearning/src/operation/describe_batch_predictions/builders.rs index 58063d5070e3..02f7300d845a 100644 --- a/sdk/machinelearning/src/operation/describe_batch_predictions/builders.rs +++ b/sdk/machinelearning/src/operation/describe_batch_predictions/builders.rs @@ -19,9 +19,9 @@ impl DescribeBatchPredictionsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl DescribeBatchPredictionsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::describe_batch_predictions::DescribeBatchPredictions, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::describe_batch_predictions::DescribeBatchPredictionsError, + >, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::describe_batch_predictions::paginator::DescribeBatchPredictionsPaginator::send) which returns a `Stream`. diff --git a/sdk/machinelearning/src/operation/describe_data_sources/builders.rs b/sdk/machinelearning/src/operation/describe_data_sources/builders.rs index 34b31bdf22a2..06c3c5c7e9cb 100644 --- a/sdk/machinelearning/src/operation/describe_data_sources/builders.rs +++ b/sdk/machinelearning/src/operation/describe_data_sources/builders.rs @@ -19,9 +19,9 @@ impl DescribeDataSourcesFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl DescribeDataSourcesFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::describe_data_sources::DescribeDataSources, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::describe_data_sources::DescribeDataSourcesError, + >, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::describe_data_sources::paginator::DescribeDataSourcesPaginator::send) which returns a `Stream`. diff --git a/sdk/machinelearning/src/operation/describe_evaluations/builders.rs b/sdk/machinelearning/src/operation/describe_evaluations/builders.rs index dedb6c0aa40c..b841836ce1c2 100644 --- a/sdk/machinelearning/src/operation/describe_evaluations/builders.rs +++ b/sdk/machinelearning/src/operation/describe_evaluations/builders.rs @@ -19,9 +19,9 @@ impl DescribeEvaluationsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl DescribeEvaluationsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::describe_evaluations::DescribeEvaluations, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::describe_evaluations::DescribeEvaluationsError, + >, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::describe_evaluations::paginator::DescribeEvaluationsPaginator::send) which returns a `Stream`. diff --git a/sdk/machinelearning/src/operation/describe_ml_models/builders.rs b/sdk/machinelearning/src/operation/describe_ml_models/builders.rs index 5743ac4e25f7..c91f9da15021 100644 --- a/sdk/machinelearning/src/operation/describe_ml_models/builders.rs +++ b/sdk/machinelearning/src/operation/describe_ml_models/builders.rs @@ -19,9 +19,9 @@ impl DescribeMLModelsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl DescribeMLModelsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::describe_ml_models::DescribeMLModels, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::describe_ml_models::DescribeMLModelsError, + >, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::describe_ml_models::paginator::DescribeMlModelsPaginator::send) which returns a `Stream`. diff --git a/sdk/machinelearning/src/operation/describe_tags/builders.rs b/sdk/machinelearning/src/operation/describe_tags/builders.rs index 2cf8851424a9..b68fbc8069af 100644 --- a/sdk/machinelearning/src/operation/describe_tags/builders.rs +++ b/sdk/machinelearning/src/operation/describe_tags/builders.rs @@ -19,9 +19,9 @@ impl DescribeTagsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl DescribeTagsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::describe_tags::DescribeTags, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                The ID of the ML object. For example, exampleModelId.

                                                                                                                                                                                                pub fn resource_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.resource_id(input.into()); diff --git a/sdk/machinelearning/src/operation/get_batch_prediction/builders.rs b/sdk/machinelearning/src/operation/get_batch_prediction/builders.rs index 61b6563bb399..4f2fd758438d 100644 --- a/sdk/machinelearning/src/operation/get_batch_prediction/builders.rs +++ b/sdk/machinelearning/src/operation/get_batch_prediction/builders.rs @@ -19,9 +19,9 @@ impl GetBatchPredictionFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl GetBatchPredictionFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::get_batch_prediction::GetBatchPrediction, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::get_batch_prediction::GetBatchPredictionError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                An ID assigned to the BatchPrediction at creation.

                                                                                                                                                                                                pub fn batch_prediction_id( mut self, diff --git a/sdk/machinelearning/src/operation/get_data_source/builders.rs b/sdk/machinelearning/src/operation/get_data_source/builders.rs index 395d618adce5..5d6a7bfa8a7a 100644 --- a/sdk/machinelearning/src/operation/get_data_source/builders.rs +++ b/sdk/machinelearning/src/operation/get_data_source/builders.rs @@ -20,9 +20,9 @@ impl GetDataSourceFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -78,6 +78,20 @@ impl GetDataSourceFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::get_data_source::GetDataSource, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                The ID assigned to the DataSource at creation.

                                                                                                                                                                                                pub fn data_source_id( mut self, diff --git a/sdk/machinelearning/src/operation/get_evaluation/builders.rs b/sdk/machinelearning/src/operation/get_evaluation/builders.rs index 1caa5ea4dc36..c8882b4c9635 100644 --- a/sdk/machinelearning/src/operation/get_evaluation/builders.rs +++ b/sdk/machinelearning/src/operation/get_evaluation/builders.rs @@ -19,9 +19,9 @@ impl GetEvaluationFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl GetEvaluationFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::get_evaluation::GetEvaluation, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                The ID of the Evaluation to retrieve. The evaluation of each MLModel is recorded and cataloged. The ID provides the means to access the information.

                                                                                                                                                                                                pub fn evaluation_id( mut self, diff --git a/sdk/machinelearning/src/operation/get_ml_model/builders.rs b/sdk/machinelearning/src/operation/get_ml_model/builders.rs index 1ee43f05a1b0..38f4a9fe12fe 100644 --- a/sdk/machinelearning/src/operation/get_ml_model/builders.rs +++ b/sdk/machinelearning/src/operation/get_ml_model/builders.rs @@ -20,9 +20,9 @@ impl GetMLModelFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -78,6 +78,20 @@ impl GetMLModelFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::get_ml_model::GetMLModel, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                The ID assigned to the MLModel at creation.

                                                                                                                                                                                                pub fn ml_model_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.ml_model_id(input.into()); diff --git a/sdk/machinelearning/src/operation/predict/builders.rs b/sdk/machinelearning/src/operation/predict/builders.rs index 6307587e65a8..034380064f5b 100644 --- a/sdk/machinelearning/src/operation/predict/builders.rs +++ b/sdk/machinelearning/src/operation/predict/builders.rs @@ -20,9 +20,9 @@ impl PredictFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -78,6 +78,20 @@ impl PredictFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::predict::Predict, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                A unique identifier of the MLModel.

                                                                                                                                                                                                pub fn ml_model_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.ml_model_id(input.into()); diff --git a/sdk/machinelearning/src/operation/update_batch_prediction/builders.rs b/sdk/machinelearning/src/operation/update_batch_prediction/builders.rs index 3c9daf4c0170..57a57d22eb69 100644 --- a/sdk/machinelearning/src/operation/update_batch_prediction/builders.rs +++ b/sdk/machinelearning/src/operation/update_batch_prediction/builders.rs @@ -20,9 +20,9 @@ impl UpdateBatchPredictionFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -84,6 +84,22 @@ impl UpdateBatchPredictionFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::update_batch_prediction::UpdateBatchPrediction, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::update_batch_prediction::UpdateBatchPredictionError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                The ID assigned to the BatchPrediction during creation.

                                                                                                                                                                                                pub fn batch_prediction_id( mut self, diff --git a/sdk/machinelearning/src/operation/update_data_source/builders.rs b/sdk/machinelearning/src/operation/update_data_source/builders.rs index ecfa858cfb28..164808d05728 100644 --- a/sdk/machinelearning/src/operation/update_data_source/builders.rs +++ b/sdk/machinelearning/src/operation/update_data_source/builders.rs @@ -20,9 +20,9 @@ impl UpdateDataSourceFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -84,6 +84,22 @@ impl UpdateDataSourceFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::update_data_source::UpdateDataSource, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::update_data_source::UpdateDataSourceError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                The ID assigned to the DataSource during creation.

                                                                                                                                                                                                pub fn data_source_id( mut self, diff --git a/sdk/machinelearning/src/operation/update_evaluation/builders.rs b/sdk/machinelearning/src/operation/update_evaluation/builders.rs index 84b693c8f1dd..1d2b0fbb1746 100644 --- a/sdk/machinelearning/src/operation/update_evaluation/builders.rs +++ b/sdk/machinelearning/src/operation/update_evaluation/builders.rs @@ -20,9 +20,9 @@ impl UpdateEvaluationFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -84,6 +84,22 @@ impl UpdateEvaluationFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::update_evaluation::UpdateEvaluation, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::update_evaluation::UpdateEvaluationError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                The ID assigned to the Evaluation during creation.

                                                                                                                                                                                                pub fn evaluation_id( mut self, diff --git a/sdk/machinelearning/src/operation/update_ml_model/builders.rs b/sdk/machinelearning/src/operation/update_ml_model/builders.rs index db4f55880ad8..ed5f20bdc6cf 100644 --- a/sdk/machinelearning/src/operation/update_ml_model/builders.rs +++ b/sdk/machinelearning/src/operation/update_ml_model/builders.rs @@ -20,9 +20,9 @@ impl UpdateMLModelFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -78,6 +78,20 @@ impl UpdateMLModelFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::update_ml_model::UpdateMLModel, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                The ID assigned to the MLModel during creation.

                                                                                                                                                                                                pub fn ml_model_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.ml_model_id(input.into()); diff --git a/sdk/macie/src/operation/associate_member_account/builders.rs b/sdk/macie/src/operation/associate_member_account/builders.rs index 1a468df346d9..64503ecf8d07 100644 --- a/sdk/macie/src/operation/associate_member_account/builders.rs +++ b/sdk/macie/src/operation/associate_member_account/builders.rs @@ -19,9 +19,9 @@ impl AssociateMemberAccountFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl AssociateMemberAccountFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::associate_member_account::AssociateMemberAccount, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::associate_member_account::AssociateMemberAccountError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                (Discontinued) The ID of the Amazon Web Services account that you want to associate with Amazon Macie Classic as a member account.

                                                                                                                                                                                                pub fn member_account_id( mut self, diff --git a/sdk/macie/src/operation/associate_s3_resources/builders.rs b/sdk/macie/src/operation/associate_s3_resources/builders.rs index 2819d506a7ca..a829e582ee07 100644 --- a/sdk/macie/src/operation/associate_s3_resources/builders.rs +++ b/sdk/macie/src/operation/associate_s3_resources/builders.rs @@ -19,9 +19,9 @@ impl AssociateS3ResourcesFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl AssociateS3ResourcesFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::associate_s3_resources::AssociateS3Resources, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::associate_s3_resources::AssociateS3ResourcesError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                (Discontinued) The ID of the Amazon Macie Classic member account whose resources you want to associate with Macie Classic.

                                                                                                                                                                                                pub fn member_account_id( mut self, diff --git a/sdk/macie/src/operation/disassociate_member_account/builders.rs b/sdk/macie/src/operation/disassociate_member_account/builders.rs index 2a8cb2bd0d38..ce7b02cf3036 100644 --- a/sdk/macie/src/operation/disassociate_member_account/builders.rs +++ b/sdk/macie/src/operation/disassociate_member_account/builders.rs @@ -19,9 +19,9 @@ impl DisassociateMemberAccountFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl DisassociateMemberAccountFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::disassociate_member_account::DisassociateMemberAccount, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::disassociate_member_account::DisassociateMemberAccountError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                (Discontinued) The ID of the member account that you want to remove from Amazon Macie Classic.

                                                                                                                                                                                                pub fn member_account_id( mut self, diff --git a/sdk/macie/src/operation/disassociate_s3_resources/builders.rs b/sdk/macie/src/operation/disassociate_s3_resources/builders.rs index 689012d05a1e..d7bdcee671ef 100644 --- a/sdk/macie/src/operation/disassociate_s3_resources/builders.rs +++ b/sdk/macie/src/operation/disassociate_s3_resources/builders.rs @@ -20,9 +20,9 @@ impl DisassociateS3ResourcesFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -84,6 +84,22 @@ impl DisassociateS3ResourcesFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::disassociate_s3_resources::DisassociateS3Resources, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::disassociate_s3_resources::DisassociateS3ResourcesError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                (Discontinued) The ID of the Amazon Macie Classic member account whose resources you want to remove from being monitored by Macie Classic.

                                                                                                                                                                                                pub fn member_account_id( mut self, diff --git a/sdk/macie/src/operation/list_member_accounts/builders.rs b/sdk/macie/src/operation/list_member_accounts/builders.rs index 8eec1140d8cc..7ff37440cc2c 100644 --- a/sdk/macie/src/operation/list_member_accounts/builders.rs +++ b/sdk/macie/src/operation/list_member_accounts/builders.rs @@ -19,9 +19,9 @@ impl ListMemberAccountsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl ListMemberAccountsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_member_accounts::ListMemberAccounts, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::list_member_accounts::ListMemberAccountsError, + >, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::list_member_accounts::paginator::ListMemberAccountsPaginator::send) which returns a `Stream`. diff --git a/sdk/macie/src/operation/list_s3_resources/builders.rs b/sdk/macie/src/operation/list_s3_resources/builders.rs index 150f07af47d1..7f7ef07276a5 100644 --- a/sdk/macie/src/operation/list_s3_resources/builders.rs +++ b/sdk/macie/src/operation/list_s3_resources/builders.rs @@ -19,9 +19,9 @@ impl ListS3ResourcesFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl ListS3ResourcesFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_s3_resources::ListS3Resources, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::list_s3_resources::ListS3ResourcesError, + >, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::list_s3_resources::paginator::ListS3ResourcesPaginator::send) which returns a `Stream`. diff --git a/sdk/macie/src/operation/update_s3_resources/builders.rs b/sdk/macie/src/operation/update_s3_resources/builders.rs index 4179ba16cd1b..8081c20eb49b 100644 --- a/sdk/macie/src/operation/update_s3_resources/builders.rs +++ b/sdk/macie/src/operation/update_s3_resources/builders.rs @@ -19,9 +19,9 @@ impl UpdateS3ResourcesFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl UpdateS3ResourcesFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::update_s3_resources::UpdateS3Resources, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::update_s3_resources::UpdateS3ResourcesError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                (Discontinued) The Amazon Web Services account ID of the Amazon Macie Classic member account whose S3 resources' classification types you want to update.

                                                                                                                                                                                                pub fn member_account_id( mut self, diff --git a/sdk/macie2/src/operation/accept_invitation/builders.rs b/sdk/macie2/src/operation/accept_invitation/builders.rs index 078b4fdc3439..98640a970986 100644 --- a/sdk/macie2/src/operation/accept_invitation/builders.rs +++ b/sdk/macie2/src/operation/accept_invitation/builders.rs @@ -19,9 +19,9 @@ impl AcceptInvitationFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl AcceptInvitationFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::accept_invitation::AcceptInvitation, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::accept_invitation::AcceptInvitationError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                The Amazon Web Services account ID for the account that sent the invitation.

                                                                                                                                                                                                pub fn administrator_account_id( mut self, diff --git a/sdk/macie2/src/operation/batch_get_custom_data_identifiers/builders.rs b/sdk/macie2/src/operation/batch_get_custom_data_identifiers/builders.rs index bde16d870d2f..f220e6612a43 100644 --- a/sdk/macie2/src/operation/batch_get_custom_data_identifiers/builders.rs +++ b/sdk/macie2/src/operation/batch_get_custom_data_identifiers/builders.rs @@ -19,9 +19,9 @@ impl BatchGetCustomDataIdentifiersFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl BatchGetCustomDataIdentifiersFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::batch_get_custom_data_identifiers::BatchGetCustomDataIdentifiers, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::batch_get_custom_data_identifiers::BatchGetCustomDataIdentifiersError, + >, + > { + self.customize_middleware().await + } /// Appends an item to `ids`. /// /// To override the contents of this collection use [`set_ids`](Self::set_ids). diff --git a/sdk/macie2/src/operation/create_allow_list/builders.rs b/sdk/macie2/src/operation/create_allow_list/builders.rs index 8581872f6460..354f2b7c0cd8 100644 --- a/sdk/macie2/src/operation/create_allow_list/builders.rs +++ b/sdk/macie2/src/operation/create_allow_list/builders.rs @@ -19,9 +19,9 @@ impl CreateAllowListFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl CreateAllowListFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::create_allow_list::CreateAllowList, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::create_allow_list::CreateAllowListError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                A unique, case-sensitive token that you provide to ensure the idempotency of the request.

                                                                                                                                                                                                pub fn client_token(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.client_token(input.into()); diff --git a/sdk/macie2/src/operation/create_classification_job/builders.rs b/sdk/macie2/src/operation/create_classification_job/builders.rs index 248871224730..011ae41d1167 100644 --- a/sdk/macie2/src/operation/create_classification_job/builders.rs +++ b/sdk/macie2/src/operation/create_classification_job/builders.rs @@ -20,9 +20,9 @@ impl CreateClassificationJobFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -84,6 +84,22 @@ impl CreateClassificationJobFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::create_classification_job::CreateClassificationJob, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::create_classification_job::CreateClassificationJobError, + >, + > { + self.customize_middleware().await + } /// Appends an item to `allowListIds`. /// /// To override the contents of this collection use [`set_allow_list_ids`](Self::set_allow_list_ids). diff --git a/sdk/macie2/src/operation/create_custom_data_identifier/builders.rs b/sdk/macie2/src/operation/create_custom_data_identifier/builders.rs index 3606ddd875e2..104fc9f697ec 100644 --- a/sdk/macie2/src/operation/create_custom_data_identifier/builders.rs +++ b/sdk/macie2/src/operation/create_custom_data_identifier/builders.rs @@ -19,9 +19,9 @@ impl CreateCustomDataIdentifierFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl CreateCustomDataIdentifierFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::create_custom_data_identifier::CreateCustomDataIdentifier, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::create_custom_data_identifier::CreateCustomDataIdentifierError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                A unique, case-sensitive token that you provide to ensure the idempotency of the request.

                                                                                                                                                                                                pub fn client_token(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.client_token(input.into()); diff --git a/sdk/macie2/src/operation/create_findings_filter/builders.rs b/sdk/macie2/src/operation/create_findings_filter/builders.rs index 38e2e1725eb4..16639cc952eb 100644 --- a/sdk/macie2/src/operation/create_findings_filter/builders.rs +++ b/sdk/macie2/src/operation/create_findings_filter/builders.rs @@ -19,9 +19,9 @@ impl CreateFindingsFilterFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl CreateFindingsFilterFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::create_findings_filter::CreateFindingsFilter, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::create_findings_filter::CreateFindingsFilterError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                The action to perform on findings that match the filter criteria (findingCriteria). Valid values are: ARCHIVE, suppress (automatically archive) the findings; and, NOOP, don't perform any action on the findings.

                                                                                                                                                                                                pub fn action(mut self, input: crate::types::FindingsFilterAction) -> Self { self.inner = self.inner.action(input); diff --git a/sdk/macie2/src/operation/create_invitations/builders.rs b/sdk/macie2/src/operation/create_invitations/builders.rs index ea487f8e3ace..a470d03d94a6 100644 --- a/sdk/macie2/src/operation/create_invitations/builders.rs +++ b/sdk/macie2/src/operation/create_invitations/builders.rs @@ -19,9 +19,9 @@ impl CreateInvitationsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl CreateInvitationsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::create_invitations::CreateInvitations, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::create_invitations::CreateInvitationsError, + >, + > { + self.customize_middleware().await + } /// Appends an item to `accountIds`. /// /// To override the contents of this collection use [`set_account_ids`](Self::set_account_ids). diff --git a/sdk/macie2/src/operation/create_member/builders.rs b/sdk/macie2/src/operation/create_member/builders.rs index e80f80b2aef1..b23d2a8acb2e 100644 --- a/sdk/macie2/src/operation/create_member/builders.rs +++ b/sdk/macie2/src/operation/create_member/builders.rs @@ -19,9 +19,9 @@ impl CreateMemberFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl CreateMemberFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::create_member::CreateMember, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                The details of the account to associate with the administrator account.

                                                                                                                                                                                                pub fn account(mut self, input: crate::types::AccountDetail) -> Self { self.inner = self.inner.account(input); diff --git a/sdk/macie2/src/operation/create_sample_findings/builders.rs b/sdk/macie2/src/operation/create_sample_findings/builders.rs index 3f3f6593ac0c..7c949e8bc29b 100644 --- a/sdk/macie2/src/operation/create_sample_findings/builders.rs +++ b/sdk/macie2/src/operation/create_sample_findings/builders.rs @@ -19,9 +19,9 @@ impl CreateSampleFindingsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl CreateSampleFindingsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::create_sample_findings::CreateSampleFindings, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::create_sample_findings::CreateSampleFindingsError, + >, + > { + self.customize_middleware().await + } /// Appends an item to `findingTypes`. /// /// To override the contents of this collection use [`set_finding_types`](Self::set_finding_types). diff --git a/sdk/macie2/src/operation/decline_invitations/builders.rs b/sdk/macie2/src/operation/decline_invitations/builders.rs index 3bf70cdb0f7f..53e600f3f611 100644 --- a/sdk/macie2/src/operation/decline_invitations/builders.rs +++ b/sdk/macie2/src/operation/decline_invitations/builders.rs @@ -19,9 +19,9 @@ impl DeclineInvitationsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl DeclineInvitationsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::decline_invitations::DeclineInvitations, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::decline_invitations::DeclineInvitationsError, + >, + > { + self.customize_middleware().await + } /// Appends an item to `accountIds`. /// /// To override the contents of this collection use [`set_account_ids`](Self::set_account_ids). diff --git a/sdk/macie2/src/operation/delete_allow_list/builders.rs b/sdk/macie2/src/operation/delete_allow_list/builders.rs index 006a33591af3..9b2ee18963d8 100644 --- a/sdk/macie2/src/operation/delete_allow_list/builders.rs +++ b/sdk/macie2/src/operation/delete_allow_list/builders.rs @@ -19,9 +19,9 @@ impl DeleteAllowListFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl DeleteAllowListFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::delete_allow_list::DeleteAllowList, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::delete_allow_list::DeleteAllowListError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                The unique identifier for the Amazon Macie resource that the request applies to.

                                                                                                                                                                                                pub fn id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.id(input.into()); diff --git a/sdk/macie2/src/operation/delete_custom_data_identifier/builders.rs b/sdk/macie2/src/operation/delete_custom_data_identifier/builders.rs index e050a879b8b6..66d12335a72f 100644 --- a/sdk/macie2/src/operation/delete_custom_data_identifier/builders.rs +++ b/sdk/macie2/src/operation/delete_custom_data_identifier/builders.rs @@ -19,9 +19,9 @@ impl DeleteCustomDataIdentifierFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl DeleteCustomDataIdentifierFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::delete_custom_data_identifier::DeleteCustomDataIdentifier, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::delete_custom_data_identifier::DeleteCustomDataIdentifierError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                The unique identifier for the Amazon Macie resource that the request applies to.

                                                                                                                                                                                                pub fn id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.id(input.into()); diff --git a/sdk/macie2/src/operation/delete_findings_filter/builders.rs b/sdk/macie2/src/operation/delete_findings_filter/builders.rs index 7673e7579e6f..2bb8430351a4 100644 --- a/sdk/macie2/src/operation/delete_findings_filter/builders.rs +++ b/sdk/macie2/src/operation/delete_findings_filter/builders.rs @@ -19,9 +19,9 @@ impl DeleteFindingsFilterFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl DeleteFindingsFilterFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::delete_findings_filter::DeleteFindingsFilter, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::delete_findings_filter::DeleteFindingsFilterError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                The unique identifier for the Amazon Macie resource that the request applies to.

                                                                                                                                                                                                pub fn id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.id(input.into()); diff --git a/sdk/macie2/src/operation/delete_invitations/builders.rs b/sdk/macie2/src/operation/delete_invitations/builders.rs index a60a7a86bb1e..9ecf0f0420e4 100644 --- a/sdk/macie2/src/operation/delete_invitations/builders.rs +++ b/sdk/macie2/src/operation/delete_invitations/builders.rs @@ -19,9 +19,9 @@ impl DeleteInvitationsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl DeleteInvitationsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::delete_invitations::DeleteInvitations, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::delete_invitations::DeleteInvitationsError, + >, + > { + self.customize_middleware().await + } /// Appends an item to `accountIds`. /// /// To override the contents of this collection use [`set_account_ids`](Self::set_account_ids). diff --git a/sdk/macie2/src/operation/delete_member/builders.rs b/sdk/macie2/src/operation/delete_member/builders.rs index fbf7afa57274..3291a989a0cb 100644 --- a/sdk/macie2/src/operation/delete_member/builders.rs +++ b/sdk/macie2/src/operation/delete_member/builders.rs @@ -19,9 +19,9 @@ impl DeleteMemberFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl DeleteMemberFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::delete_member::DeleteMember, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                The unique identifier for the Amazon Macie resource that the request applies to.

                                                                                                                                                                                                pub fn id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.id(input.into()); diff --git a/sdk/macie2/src/operation/describe_buckets/builders.rs b/sdk/macie2/src/operation/describe_buckets/builders.rs index 736f49845429..3adf25bae4a5 100644 --- a/sdk/macie2/src/operation/describe_buckets/builders.rs +++ b/sdk/macie2/src/operation/describe_buckets/builders.rs @@ -19,9 +19,9 @@ impl DescribeBucketsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl DescribeBucketsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::describe_buckets::DescribeBuckets, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::describe_buckets::DescribeBucketsError, + >, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::describe_buckets::paginator::DescribeBucketsPaginator::send) which returns a `Stream`. diff --git a/sdk/macie2/src/operation/describe_classification_job/builders.rs b/sdk/macie2/src/operation/describe_classification_job/builders.rs index 3bea82dff92a..9d013d4d03bf 100644 --- a/sdk/macie2/src/operation/describe_classification_job/builders.rs +++ b/sdk/macie2/src/operation/describe_classification_job/builders.rs @@ -19,9 +19,9 @@ impl DescribeClassificationJobFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl DescribeClassificationJobFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::describe_classification_job::DescribeClassificationJob, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::describe_classification_job::DescribeClassificationJobError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                The unique identifier for the classification job.

                                                                                                                                                                                                pub fn job_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.job_id(input.into()); diff --git a/sdk/macie2/src/operation/describe_organization_configuration/builders.rs b/sdk/macie2/src/operation/describe_organization_configuration/builders.rs index 644e566ce9ea..274711a89661 100644 --- a/sdk/macie2/src/operation/describe_organization_configuration/builders.rs +++ b/sdk/macie2/src/operation/describe_organization_configuration/builders.rs @@ -19,9 +19,9 @@ impl DescribeOrganizationConfigurationFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize(self) -> ::std::result::Result< + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware(self) -> ::std::result::Result< crate::client::customize::CustomizableOperation, ::aws_smithy_http::result::SdkError >{ @@ -64,4 +64,13 @@ impl DescribeOrganizationConfigurationFluentBuilder { { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize(self) -> ::std::result::Result< + crate::client::customize::CustomizableOperation, + ::aws_smithy_http::result::SdkError + >{ + self.customize_middleware().await + } } diff --git a/sdk/macie2/src/operation/disable_macie/builders.rs b/sdk/macie2/src/operation/disable_macie/builders.rs index 73f58d70558e..081381424a52 100644 --- a/sdk/macie2/src/operation/disable_macie/builders.rs +++ b/sdk/macie2/src/operation/disable_macie/builders.rs @@ -19,9 +19,9 @@ impl DisableMacieFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,4 +77,18 @@ impl DisableMacieFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::disable_macie::DisableMacie, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } } diff --git a/sdk/macie2/src/operation/disable_organization_admin_account/builders.rs b/sdk/macie2/src/operation/disable_organization_admin_account/builders.rs index a6a1750a7be5..b0c0eeb35cb9 100644 --- a/sdk/macie2/src/operation/disable_organization_admin_account/builders.rs +++ b/sdk/macie2/src/operation/disable_organization_admin_account/builders.rs @@ -19,9 +19,9 @@ impl DisableOrganizationAdminAccountFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize(self) -> ::std::result::Result< + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware(self) -> ::std::result::Result< crate::client::customize::CustomizableOperation, ::aws_smithy_http::result::SdkError >{ @@ -64,6 +64,15 @@ impl DisableOrganizationAdminAccountFluentBuilder { { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize(self) -> ::std::result::Result< + crate::client::customize::CustomizableOperation, + ::aws_smithy_http::result::SdkError + >{ + self.customize_middleware().await + } ///

                                                                                                                                                                                                The Amazon Web Services account ID of the delegated Amazon Macie administrator account.

                                                                                                                                                                                                pub fn admin_account_id( mut self, diff --git a/sdk/macie2/src/operation/disassociate_from_administrator_account/builders.rs b/sdk/macie2/src/operation/disassociate_from_administrator_account/builders.rs index 6bcd10959b02..677f7b9f5e91 100644 --- a/sdk/macie2/src/operation/disassociate_from_administrator_account/builders.rs +++ b/sdk/macie2/src/operation/disassociate_from_administrator_account/builders.rs @@ -19,9 +19,9 @@ impl DisassociateFromAdministratorAccountFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize(self) -> ::std::result::Result< + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware(self) -> ::std::result::Result< crate::client::customize::CustomizableOperation, ::aws_smithy_http::result::SdkError >{ @@ -64,4 +64,13 @@ impl DisassociateFromAdministratorAccountFluentBuilder { { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize(self) -> ::std::result::Result< + crate::client::customize::CustomizableOperation, + ::aws_smithy_http::result::SdkError + >{ + self.customize_middleware().await + } } diff --git a/sdk/macie2/src/operation/disassociate_from_master_account/builders.rs b/sdk/macie2/src/operation/disassociate_from_master_account/builders.rs index e869dd501506..af7fbf0aa456 100644 --- a/sdk/macie2/src/operation/disassociate_from_master_account/builders.rs +++ b/sdk/macie2/src/operation/disassociate_from_master_account/builders.rs @@ -20,9 +20,9 @@ impl DisassociateFromMasterAccountFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -84,4 +84,20 @@ impl DisassociateFromMasterAccountFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::disassociate_from_master_account::DisassociateFromMasterAccount, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::disassociate_from_master_account::DisassociateFromMasterAccountError, + >, + > { + self.customize_middleware().await + } } diff --git a/sdk/macie2/src/operation/disassociate_member/builders.rs b/sdk/macie2/src/operation/disassociate_member/builders.rs index 8bdb06bf8d48..2541ce3c7a7c 100644 --- a/sdk/macie2/src/operation/disassociate_member/builders.rs +++ b/sdk/macie2/src/operation/disassociate_member/builders.rs @@ -19,9 +19,9 @@ impl DisassociateMemberFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl DisassociateMemberFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::disassociate_member::DisassociateMember, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::disassociate_member::DisassociateMemberError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                The unique identifier for the Amazon Macie resource that the request applies to.

                                                                                                                                                                                                pub fn id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.id(input.into()); diff --git a/sdk/macie2/src/operation/enable_macie/builders.rs b/sdk/macie2/src/operation/enable_macie/builders.rs index baf059b25684..114f6d9f9dff 100644 --- a/sdk/macie2/src/operation/enable_macie/builders.rs +++ b/sdk/macie2/src/operation/enable_macie/builders.rs @@ -19,9 +19,9 @@ impl EnableMacieFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl EnableMacieFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::enable_macie::EnableMacie, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                A unique, case-sensitive token that you provide to ensure the idempotency of the request.

                                                                                                                                                                                                pub fn client_token(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.client_token(input.into()); diff --git a/sdk/macie2/src/operation/enable_organization_admin_account/builders.rs b/sdk/macie2/src/operation/enable_organization_admin_account/builders.rs index b9afc8501609..1cc8545463b9 100644 --- a/sdk/macie2/src/operation/enable_organization_admin_account/builders.rs +++ b/sdk/macie2/src/operation/enable_organization_admin_account/builders.rs @@ -19,9 +19,9 @@ impl EnableOrganizationAdminAccountFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize(self) -> ::std::result::Result< + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware(self) -> ::std::result::Result< crate::client::customize::CustomizableOperation, ::aws_smithy_http::result::SdkError >{ @@ -64,6 +64,15 @@ impl EnableOrganizationAdminAccountFluentBuilder { { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize(self) -> ::std::result::Result< + crate::client::customize::CustomizableOperation, + ::aws_smithy_http::result::SdkError + >{ + self.customize_middleware().await + } ///

                                                                                                                                                                                                The Amazon Web Services account ID for the account to designate as the delegated Amazon Macie administrator account for the organization.

                                                                                                                                                                                                pub fn admin_account_id( mut self, diff --git a/sdk/macie2/src/operation/get_administrator_account/builders.rs b/sdk/macie2/src/operation/get_administrator_account/builders.rs index edbd78295f59..b18bf356d682 100644 --- a/sdk/macie2/src/operation/get_administrator_account/builders.rs +++ b/sdk/macie2/src/operation/get_administrator_account/builders.rs @@ -20,9 +20,9 @@ impl GetAdministratorAccountFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -84,4 +84,20 @@ impl GetAdministratorAccountFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::get_administrator_account::GetAdministratorAccount, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::get_administrator_account::GetAdministratorAccountError, + >, + > { + self.customize_middleware().await + } } diff --git a/sdk/macie2/src/operation/get_allow_list/builders.rs b/sdk/macie2/src/operation/get_allow_list/builders.rs index f7b7bb669302..e9866b517a0a 100644 --- a/sdk/macie2/src/operation/get_allow_list/builders.rs +++ b/sdk/macie2/src/operation/get_allow_list/builders.rs @@ -19,9 +19,9 @@ impl GetAllowListFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl GetAllowListFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::get_allow_list::GetAllowList, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                The unique identifier for the Amazon Macie resource that the request applies to.

                                                                                                                                                                                                pub fn id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.id(input.into()); diff --git a/sdk/macie2/src/operation/get_automated_discovery_configuration/builders.rs b/sdk/macie2/src/operation/get_automated_discovery_configuration/builders.rs index 7f87228f98e7..d55fcbbebedc 100644 --- a/sdk/macie2/src/operation/get_automated_discovery_configuration/builders.rs +++ b/sdk/macie2/src/operation/get_automated_discovery_configuration/builders.rs @@ -19,9 +19,9 @@ impl GetAutomatedDiscoveryConfigurationFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize(self) -> ::std::result::Result< + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware(self) -> ::std::result::Result< crate::client::customize::CustomizableOperation, ::aws_smithy_http::result::SdkError >{ @@ -64,4 +64,13 @@ impl GetAutomatedDiscoveryConfigurationFluentBuilder { { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize(self) -> ::std::result::Result< + crate::client::customize::CustomizableOperation, + ::aws_smithy_http::result::SdkError + >{ + self.customize_middleware().await + } } diff --git a/sdk/macie2/src/operation/get_bucket_statistics/builders.rs b/sdk/macie2/src/operation/get_bucket_statistics/builders.rs index a3fc4db449b8..5a12dd5a0fa1 100644 --- a/sdk/macie2/src/operation/get_bucket_statistics/builders.rs +++ b/sdk/macie2/src/operation/get_bucket_statistics/builders.rs @@ -19,9 +19,9 @@ impl GetBucketStatisticsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl GetBucketStatisticsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::get_bucket_statistics::GetBucketStatistics, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::get_bucket_statistics::GetBucketStatisticsError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                The unique identifier for the Amazon Web Services account.

                                                                                                                                                                                                pub fn account_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.account_id(input.into()); diff --git a/sdk/macie2/src/operation/get_classification_export_configuration/builders.rs b/sdk/macie2/src/operation/get_classification_export_configuration/builders.rs index 3f997e15e5ca..1c3c794d222b 100644 --- a/sdk/macie2/src/operation/get_classification_export_configuration/builders.rs +++ b/sdk/macie2/src/operation/get_classification_export_configuration/builders.rs @@ -19,9 +19,9 @@ impl GetClassificationExportConfigurationFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize(self) -> ::std::result::Result< + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware(self) -> ::std::result::Result< crate::client::customize::CustomizableOperation, ::aws_smithy_http::result::SdkError >{ @@ -64,4 +64,13 @@ impl GetClassificationExportConfigurationFluentBuilder { { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize(self) -> ::std::result::Result< + crate::client::customize::CustomizableOperation, + ::aws_smithy_http::result::SdkError + >{ + self.customize_middleware().await + } } diff --git a/sdk/macie2/src/operation/get_classification_scope/builders.rs b/sdk/macie2/src/operation/get_classification_scope/builders.rs index 7a6f79e19e07..590acbc42dd5 100644 --- a/sdk/macie2/src/operation/get_classification_scope/builders.rs +++ b/sdk/macie2/src/operation/get_classification_scope/builders.rs @@ -19,9 +19,9 @@ impl GetClassificationScopeFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl GetClassificationScopeFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::get_classification_scope::GetClassificationScope, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::get_classification_scope::GetClassificationScopeError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                The unique identifier for the Amazon Macie resource that the request applies to.

                                                                                                                                                                                                pub fn id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.id(input.into()); diff --git a/sdk/macie2/src/operation/get_custom_data_identifier/builders.rs b/sdk/macie2/src/operation/get_custom_data_identifier/builders.rs index 55a8c131bf0c..e6e3d299b8a7 100644 --- a/sdk/macie2/src/operation/get_custom_data_identifier/builders.rs +++ b/sdk/macie2/src/operation/get_custom_data_identifier/builders.rs @@ -20,9 +20,9 @@ impl GetCustomDataIdentifierFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -84,6 +84,22 @@ impl GetCustomDataIdentifierFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::get_custom_data_identifier::GetCustomDataIdentifier, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::get_custom_data_identifier::GetCustomDataIdentifierError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                The unique identifier for the Amazon Macie resource that the request applies to.

                                                                                                                                                                                                pub fn id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.id(input.into()); diff --git a/sdk/macie2/src/operation/get_finding_statistics/builders.rs b/sdk/macie2/src/operation/get_finding_statistics/builders.rs index ff0a1b6d3bed..6d547b53b0f8 100644 --- a/sdk/macie2/src/operation/get_finding_statistics/builders.rs +++ b/sdk/macie2/src/operation/get_finding_statistics/builders.rs @@ -19,9 +19,9 @@ impl GetFindingStatisticsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl GetFindingStatisticsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::get_finding_statistics::GetFindingStatistics, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::get_finding_statistics::GetFindingStatisticsError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                The criteria to use to filter the query results.

                                                                                                                                                                                                pub fn finding_criteria(mut self, input: crate::types::FindingCriteria) -> Self { self.inner = self.inner.finding_criteria(input); diff --git a/sdk/macie2/src/operation/get_findings/builders.rs b/sdk/macie2/src/operation/get_findings/builders.rs index cdfa000768f3..4969b2b7b357 100644 --- a/sdk/macie2/src/operation/get_findings/builders.rs +++ b/sdk/macie2/src/operation/get_findings/builders.rs @@ -19,9 +19,9 @@ impl GetFindingsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl GetFindingsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::get_findings::GetFindings, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } /// Appends an item to `findingIds`. /// /// To override the contents of this collection use [`set_finding_ids`](Self::set_finding_ids). diff --git a/sdk/macie2/src/operation/get_findings_filter/builders.rs b/sdk/macie2/src/operation/get_findings_filter/builders.rs index c8ca530f94fa..ddb5e6605547 100644 --- a/sdk/macie2/src/operation/get_findings_filter/builders.rs +++ b/sdk/macie2/src/operation/get_findings_filter/builders.rs @@ -19,9 +19,9 @@ impl GetFindingsFilterFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl GetFindingsFilterFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::get_findings_filter::GetFindingsFilter, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::get_findings_filter::GetFindingsFilterError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                The unique identifier for the Amazon Macie resource that the request applies to.

                                                                                                                                                                                                pub fn id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.id(input.into()); diff --git a/sdk/macie2/src/operation/get_findings_publication_configuration/builders.rs b/sdk/macie2/src/operation/get_findings_publication_configuration/builders.rs index 52aee5a8af06..52e28b1c4ff0 100644 --- a/sdk/macie2/src/operation/get_findings_publication_configuration/builders.rs +++ b/sdk/macie2/src/operation/get_findings_publication_configuration/builders.rs @@ -19,9 +19,9 @@ impl GetFindingsPublicationConfigurationFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize(self) -> ::std::result::Result< + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware(self) -> ::std::result::Result< crate::client::customize::CustomizableOperation, ::aws_smithy_http::result::SdkError >{ @@ -64,4 +64,13 @@ impl GetFindingsPublicationConfigurationFluentBuilder { { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize(self) -> ::std::result::Result< + crate::client::customize::CustomizableOperation, + ::aws_smithy_http::result::SdkError + >{ + self.customize_middleware().await + } } diff --git a/sdk/macie2/src/operation/get_invitations_count/builders.rs b/sdk/macie2/src/operation/get_invitations_count/builders.rs index 6a787db89606..c477d1a0deb0 100644 --- a/sdk/macie2/src/operation/get_invitations_count/builders.rs +++ b/sdk/macie2/src/operation/get_invitations_count/builders.rs @@ -19,9 +19,9 @@ impl GetInvitationsCountFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,4 +83,20 @@ impl GetInvitationsCountFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::get_invitations_count::GetInvitationsCount, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::get_invitations_count::GetInvitationsCountError, + >, + > { + self.customize_middleware().await + } } diff --git a/sdk/macie2/src/operation/get_macie_session/builders.rs b/sdk/macie2/src/operation/get_macie_session/builders.rs index 1a610163d319..6aeb3eb50929 100644 --- a/sdk/macie2/src/operation/get_macie_session/builders.rs +++ b/sdk/macie2/src/operation/get_macie_session/builders.rs @@ -19,9 +19,9 @@ impl GetMacieSessionFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,4 +83,20 @@ impl GetMacieSessionFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::get_macie_session::GetMacieSession, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::get_macie_session::GetMacieSessionError, + >, + > { + self.customize_middleware().await + } } diff --git a/sdk/macie2/src/operation/get_master_account/builders.rs b/sdk/macie2/src/operation/get_master_account/builders.rs index 9f28f45a1d0d..374f9a3a1f3c 100644 --- a/sdk/macie2/src/operation/get_master_account/builders.rs +++ b/sdk/macie2/src/operation/get_master_account/builders.rs @@ -20,9 +20,9 @@ impl GetMasterAccountFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -84,4 +84,20 @@ impl GetMasterAccountFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::get_master_account::GetMasterAccount, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::get_master_account::GetMasterAccountError, + >, + > { + self.customize_middleware().await + } } diff --git a/sdk/macie2/src/operation/get_member/builders.rs b/sdk/macie2/src/operation/get_member/builders.rs index 2e3acdfabea4..c45ac43d7d89 100644 --- a/sdk/macie2/src/operation/get_member/builders.rs +++ b/sdk/macie2/src/operation/get_member/builders.rs @@ -19,9 +19,9 @@ impl GetMemberFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl GetMemberFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::get_member::GetMember, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                The unique identifier for the Amazon Macie resource that the request applies to.

                                                                                                                                                                                                pub fn id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.id(input.into()); diff --git a/sdk/macie2/src/operation/get_resource_profile/builders.rs b/sdk/macie2/src/operation/get_resource_profile/builders.rs index c9de06da2207..f42ef1c99b5b 100644 --- a/sdk/macie2/src/operation/get_resource_profile/builders.rs +++ b/sdk/macie2/src/operation/get_resource_profile/builders.rs @@ -19,9 +19,9 @@ impl GetResourceProfileFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl GetResourceProfileFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::get_resource_profile::GetResourceProfile, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::get_resource_profile::GetResourceProfileError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                The Amazon Resource Name (ARN) of the S3 bucket that the request applies to.

                                                                                                                                                                                                pub fn resource_arn(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.resource_arn(input.into()); diff --git a/sdk/macie2/src/operation/get_reveal_configuration/builders.rs b/sdk/macie2/src/operation/get_reveal_configuration/builders.rs index 8c895e95b454..3475e3a988a4 100644 --- a/sdk/macie2/src/operation/get_reveal_configuration/builders.rs +++ b/sdk/macie2/src/operation/get_reveal_configuration/builders.rs @@ -19,9 +19,9 @@ impl GetRevealConfigurationFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,4 +83,20 @@ impl GetRevealConfigurationFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::get_reveal_configuration::GetRevealConfiguration, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::get_reveal_configuration::GetRevealConfigurationError, + >, + > { + self.customize_middleware().await + } } diff --git a/sdk/macie2/src/operation/get_sensitive_data_occurrences/builders.rs b/sdk/macie2/src/operation/get_sensitive_data_occurrences/builders.rs index 8ec47f1c1311..11588f38fb78 100644 --- a/sdk/macie2/src/operation/get_sensitive_data_occurrences/builders.rs +++ b/sdk/macie2/src/operation/get_sensitive_data_occurrences/builders.rs @@ -19,9 +19,9 @@ impl GetSensitiveDataOccurrencesFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl GetSensitiveDataOccurrencesFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::get_sensitive_data_occurrences::GetSensitiveDataOccurrences, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::get_sensitive_data_occurrences::GetSensitiveDataOccurrencesError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                The unique identifier for the finding.

                                                                                                                                                                                                pub fn finding_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.finding_id(input.into()); diff --git a/sdk/macie2/src/operation/get_sensitive_data_occurrences_availability/builders.rs b/sdk/macie2/src/operation/get_sensitive_data_occurrences_availability/builders.rs index 6e9170cc6e7c..423d20f8a75f 100644 --- a/sdk/macie2/src/operation/get_sensitive_data_occurrences_availability/builders.rs +++ b/sdk/macie2/src/operation/get_sensitive_data_occurrences_availability/builders.rs @@ -19,9 +19,9 @@ impl GetSensitiveDataOccurrencesAvailabilityFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize(self) -> ::std::result::Result< + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware(self) -> ::std::result::Result< crate::client::customize::CustomizableOperation, ::aws_smithy_http::result::SdkError >{ @@ -64,6 +64,15 @@ impl GetSensitiveDataOccurrencesAvailabilityFluentBuilder { { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize(self) -> ::std::result::Result< + crate::client::customize::CustomizableOperation, + ::aws_smithy_http::result::SdkError + >{ + self.customize_middleware().await + } ///

                                                                                                                                                                                                The unique identifier for the finding.

                                                                                                                                                                                                pub fn finding_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.finding_id(input.into()); diff --git a/sdk/macie2/src/operation/get_sensitivity_inspection_template/builders.rs b/sdk/macie2/src/operation/get_sensitivity_inspection_template/builders.rs index a9d6527c4e95..c077bfd5a82c 100644 --- a/sdk/macie2/src/operation/get_sensitivity_inspection_template/builders.rs +++ b/sdk/macie2/src/operation/get_sensitivity_inspection_template/builders.rs @@ -19,9 +19,9 @@ impl GetSensitivityInspectionTemplateFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize(self) -> ::std::result::Result< + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware(self) -> ::std::result::Result< crate::client::customize::CustomizableOperation, ::aws_smithy_http::result::SdkError >{ @@ -64,6 +64,15 @@ impl GetSensitivityInspectionTemplateFluentBuilder { { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize(self) -> ::std::result::Result< + crate::client::customize::CustomizableOperation, + ::aws_smithy_http::result::SdkError + >{ + self.customize_middleware().await + } ///

                                                                                                                                                                                                The unique identifier for the Amazon Macie resource that the request applies to.

                                                                                                                                                                                                pub fn id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.id(input.into()); diff --git a/sdk/macie2/src/operation/get_usage_statistics/builders.rs b/sdk/macie2/src/operation/get_usage_statistics/builders.rs index 59e6aa4730ee..db243fb3ece9 100644 --- a/sdk/macie2/src/operation/get_usage_statistics/builders.rs +++ b/sdk/macie2/src/operation/get_usage_statistics/builders.rs @@ -19,9 +19,9 @@ impl GetUsageStatisticsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl GetUsageStatisticsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::get_usage_statistics::GetUsageStatistics, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::get_usage_statistics::GetUsageStatisticsError, + >, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::get_usage_statistics::paginator::GetUsageStatisticsPaginator::send) which returns a `Stream`. diff --git a/sdk/macie2/src/operation/get_usage_totals/builders.rs b/sdk/macie2/src/operation/get_usage_totals/builders.rs index 68db8a5674fc..ccc2599c8525 100644 --- a/sdk/macie2/src/operation/get_usage_totals/builders.rs +++ b/sdk/macie2/src/operation/get_usage_totals/builders.rs @@ -19,9 +19,9 @@ impl GetUsageTotalsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl GetUsageTotalsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::get_usage_totals::GetUsageTotals, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::get_usage_totals::GetUsageTotalsError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                The inclusive time period to retrieve the data for. Valid values are: MONTH_TO_DATE, for the current calendar month to date; and, PAST_30_DAYS, for the preceding 30 days. If you don't specify a value for this parameter, Amazon Macie provides aggregated usage data for the preceding 30 days.

                                                                                                                                                                                                pub fn time_range(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.time_range(input.into()); diff --git a/sdk/macie2/src/operation/list_allow_lists/builders.rs b/sdk/macie2/src/operation/list_allow_lists/builders.rs index 8e9e707fcd22..72844d7b9c28 100644 --- a/sdk/macie2/src/operation/list_allow_lists/builders.rs +++ b/sdk/macie2/src/operation/list_allow_lists/builders.rs @@ -19,9 +19,9 @@ impl ListAllowListsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl ListAllowListsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_allow_lists::ListAllowLists, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::list_allow_lists::ListAllowListsError, + >, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::list_allow_lists::paginator::ListAllowListsPaginator::send) which returns a `Stream`. diff --git a/sdk/macie2/src/operation/list_classification_jobs/builders.rs b/sdk/macie2/src/operation/list_classification_jobs/builders.rs index 032b25b60e21..3956652a4449 100644 --- a/sdk/macie2/src/operation/list_classification_jobs/builders.rs +++ b/sdk/macie2/src/operation/list_classification_jobs/builders.rs @@ -19,9 +19,9 @@ impl ListClassificationJobsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl ListClassificationJobsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_classification_jobs::ListClassificationJobs, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::list_classification_jobs::ListClassificationJobsError, + >, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::list_classification_jobs::paginator::ListClassificationJobsPaginator::send) which returns a `Stream`. diff --git a/sdk/macie2/src/operation/list_classification_scopes/builders.rs b/sdk/macie2/src/operation/list_classification_scopes/builders.rs index 8c04c3cfd6d8..555b887ec04d 100644 --- a/sdk/macie2/src/operation/list_classification_scopes/builders.rs +++ b/sdk/macie2/src/operation/list_classification_scopes/builders.rs @@ -19,9 +19,9 @@ impl ListClassificationScopesFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl ListClassificationScopesFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_classification_scopes::ListClassificationScopes, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::list_classification_scopes::ListClassificationScopesError, + >, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::list_classification_scopes::paginator::ListClassificationScopesPaginator::send) which returns a `Stream`. diff --git a/sdk/macie2/src/operation/list_custom_data_identifiers/builders.rs b/sdk/macie2/src/operation/list_custom_data_identifiers/builders.rs index 733c081f6d99..f7db9b160c82 100644 --- a/sdk/macie2/src/operation/list_custom_data_identifiers/builders.rs +++ b/sdk/macie2/src/operation/list_custom_data_identifiers/builders.rs @@ -19,9 +19,9 @@ impl ListCustomDataIdentifiersFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl ListCustomDataIdentifiersFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_custom_data_identifiers::ListCustomDataIdentifiers, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::list_custom_data_identifiers::ListCustomDataIdentifiersError, + >, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::list_custom_data_identifiers::paginator::ListCustomDataIdentifiersPaginator::send) which returns a `Stream`. diff --git a/sdk/macie2/src/operation/list_findings/builders.rs b/sdk/macie2/src/operation/list_findings/builders.rs index 4405f3c0419c..f8d1a2b90112 100644 --- a/sdk/macie2/src/operation/list_findings/builders.rs +++ b/sdk/macie2/src/operation/list_findings/builders.rs @@ -19,9 +19,9 @@ impl ListFindingsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl ListFindingsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_findings::ListFindings, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::list_findings::paginator::ListFindingsPaginator::send) which returns a `Stream`. diff --git a/sdk/macie2/src/operation/list_findings_filters/builders.rs b/sdk/macie2/src/operation/list_findings_filters/builders.rs index a108b9c47aac..e74e43b55690 100644 --- a/sdk/macie2/src/operation/list_findings_filters/builders.rs +++ b/sdk/macie2/src/operation/list_findings_filters/builders.rs @@ -19,9 +19,9 @@ impl ListFindingsFiltersFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl ListFindingsFiltersFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_findings_filters::ListFindingsFilters, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::list_findings_filters::ListFindingsFiltersError, + >, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::list_findings_filters::paginator::ListFindingsFiltersPaginator::send) which returns a `Stream`. diff --git a/sdk/macie2/src/operation/list_invitations/builders.rs b/sdk/macie2/src/operation/list_invitations/builders.rs index aaf9dd7e369e..c72b94f0cad4 100644 --- a/sdk/macie2/src/operation/list_invitations/builders.rs +++ b/sdk/macie2/src/operation/list_invitations/builders.rs @@ -19,9 +19,9 @@ impl ListInvitationsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl ListInvitationsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_invitations::ListInvitations, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::list_invitations::ListInvitationsError, + >, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::list_invitations::paginator::ListInvitationsPaginator::send) which returns a `Stream`. diff --git a/sdk/macie2/src/operation/list_managed_data_identifiers/builders.rs b/sdk/macie2/src/operation/list_managed_data_identifiers/builders.rs index a8ba0adb1e2d..4780d661f3d6 100644 --- a/sdk/macie2/src/operation/list_managed_data_identifiers/builders.rs +++ b/sdk/macie2/src/operation/list_managed_data_identifiers/builders.rs @@ -19,9 +19,9 @@ impl ListManagedDataIdentifiersFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl ListManagedDataIdentifiersFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_managed_data_identifiers::ListManagedDataIdentifiers, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::list_managed_data_identifiers::ListManagedDataIdentifiersError, + >, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::list_managed_data_identifiers::paginator::ListManagedDataIdentifiersPaginator::send) which returns a `Stream`. diff --git a/sdk/macie2/src/operation/list_members/builders.rs b/sdk/macie2/src/operation/list_members/builders.rs index de78dec7ceed..22fee6a6cf9d 100644 --- a/sdk/macie2/src/operation/list_members/builders.rs +++ b/sdk/macie2/src/operation/list_members/builders.rs @@ -19,9 +19,9 @@ impl ListMembersFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl ListMembersFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_members::ListMembers, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::list_members::paginator::ListMembersPaginator::send) which returns a `Stream`. diff --git a/sdk/macie2/src/operation/list_organization_admin_accounts/builders.rs b/sdk/macie2/src/operation/list_organization_admin_accounts/builders.rs index 181bc0eac599..f25088887478 100644 --- a/sdk/macie2/src/operation/list_organization_admin_accounts/builders.rs +++ b/sdk/macie2/src/operation/list_organization_admin_accounts/builders.rs @@ -19,9 +19,9 @@ impl ListOrganizationAdminAccountsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl ListOrganizationAdminAccountsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_organization_admin_accounts::ListOrganizationAdminAccounts, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::list_organization_admin_accounts::ListOrganizationAdminAccountsError, + >, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::list_organization_admin_accounts::paginator::ListOrganizationAdminAccountsPaginator::send) which returns a `Stream`. diff --git a/sdk/macie2/src/operation/list_resource_profile_artifacts/builders.rs b/sdk/macie2/src/operation/list_resource_profile_artifacts/builders.rs index ef4e195b49ce..92c9c9bd65ac 100644 --- a/sdk/macie2/src/operation/list_resource_profile_artifacts/builders.rs +++ b/sdk/macie2/src/operation/list_resource_profile_artifacts/builders.rs @@ -19,9 +19,9 @@ impl ListResourceProfileArtifactsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl ListResourceProfileArtifactsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_resource_profile_artifacts::ListResourceProfileArtifacts, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::list_resource_profile_artifacts::ListResourceProfileArtifactsError, + >, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::list_resource_profile_artifacts::paginator::ListResourceProfileArtifactsPaginator::send) which returns a `Stream`. diff --git a/sdk/macie2/src/operation/list_resource_profile_detections/builders.rs b/sdk/macie2/src/operation/list_resource_profile_detections/builders.rs index 4be0aff72448..8f6673d54aa8 100644 --- a/sdk/macie2/src/operation/list_resource_profile_detections/builders.rs +++ b/sdk/macie2/src/operation/list_resource_profile_detections/builders.rs @@ -19,9 +19,9 @@ impl ListResourceProfileDetectionsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl ListResourceProfileDetectionsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_resource_profile_detections::ListResourceProfileDetections, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::list_resource_profile_detections::ListResourceProfileDetectionsError, + >, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::list_resource_profile_detections::paginator::ListResourceProfileDetectionsPaginator::send) which returns a `Stream`. diff --git a/sdk/macie2/src/operation/list_sensitivity_inspection_templates/builders.rs b/sdk/macie2/src/operation/list_sensitivity_inspection_templates/builders.rs index f73e6dd76cf0..9c5887145115 100644 --- a/sdk/macie2/src/operation/list_sensitivity_inspection_templates/builders.rs +++ b/sdk/macie2/src/operation/list_sensitivity_inspection_templates/builders.rs @@ -19,9 +19,9 @@ impl ListSensitivityInspectionTemplatesFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize(self) -> ::std::result::Result< + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware(self) -> ::std::result::Result< crate::client::customize::CustomizableOperation, ::aws_smithy_http::result::SdkError >{ @@ -64,6 +64,15 @@ impl ListSensitivityInspectionTemplatesFluentBuilder { { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize(self) -> ::std::result::Result< + crate::client::customize::CustomizableOperation, + ::aws_smithy_http::result::SdkError + >{ + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::list_sensitivity_inspection_templates::paginator::ListSensitivityInspectionTemplatesPaginator::send) which returns a `Stream`. diff --git a/sdk/macie2/src/operation/list_tags_for_resource/builders.rs b/sdk/macie2/src/operation/list_tags_for_resource/builders.rs index 72ed778f5c4d..ea3f18891bc7 100644 --- a/sdk/macie2/src/operation/list_tags_for_resource/builders.rs +++ b/sdk/macie2/src/operation/list_tags_for_resource/builders.rs @@ -19,9 +19,9 @@ impl ListTagsForResourceFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl ListTagsForResourceFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_tags_for_resource::ListTagsForResource, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::list_tags_for_resource::ListTagsForResourceError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                The Amazon Resource Name (ARN) of the resource.

                                                                                                                                                                                                pub fn resource_arn(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.resource_arn(input.into()); diff --git a/sdk/macie2/src/operation/put_classification_export_configuration/builders.rs b/sdk/macie2/src/operation/put_classification_export_configuration/builders.rs index 70ee139a1aa8..640f1ff3c739 100644 --- a/sdk/macie2/src/operation/put_classification_export_configuration/builders.rs +++ b/sdk/macie2/src/operation/put_classification_export_configuration/builders.rs @@ -19,9 +19,9 @@ impl PutClassificationExportConfigurationFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize(self) -> ::std::result::Result< + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware(self) -> ::std::result::Result< crate::client::customize::CustomizableOperation, ::aws_smithy_http::result::SdkError >{ @@ -64,6 +64,15 @@ impl PutClassificationExportConfigurationFluentBuilder { { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize(self) -> ::std::result::Result< + crate::client::customize::CustomizableOperation, + ::aws_smithy_http::result::SdkError + >{ + self.customize_middleware().await + } ///

                                                                                                                                                                                                The location to store data classification results in, and the encryption settings to use when storing results in that location.

                                                                                                                                                                                                pub fn configuration(mut self, input: crate::types::ClassificationExportConfiguration) -> Self { self.inner = self.inner.configuration(input); diff --git a/sdk/macie2/src/operation/put_findings_publication_configuration/builders.rs b/sdk/macie2/src/operation/put_findings_publication_configuration/builders.rs index b0a3d330b089..d88a2faec4ee 100644 --- a/sdk/macie2/src/operation/put_findings_publication_configuration/builders.rs +++ b/sdk/macie2/src/operation/put_findings_publication_configuration/builders.rs @@ -19,9 +19,9 @@ impl PutFindingsPublicationConfigurationFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize(self) -> ::std::result::Result< + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware(self) -> ::std::result::Result< crate::client::customize::CustomizableOperation, ::aws_smithy_http::result::SdkError >{ @@ -64,6 +64,15 @@ impl PutFindingsPublicationConfigurationFluentBuilder { { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize(self) -> ::std::result::Result< + crate::client::customize::CustomizableOperation, + ::aws_smithy_http::result::SdkError + >{ + self.customize_middleware().await + } ///

                                                                                                                                                                                                A unique, case-sensitive token that you provide to ensure the idempotency of the request.

                                                                                                                                                                                                pub fn client_token(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.client_token(input.into()); diff --git a/sdk/macie2/src/operation/search_resources/builders.rs b/sdk/macie2/src/operation/search_resources/builders.rs index 235ef2eee11f..151527cfbf1a 100644 --- a/sdk/macie2/src/operation/search_resources/builders.rs +++ b/sdk/macie2/src/operation/search_resources/builders.rs @@ -19,9 +19,9 @@ impl SearchResourcesFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl SearchResourcesFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::search_resources::SearchResources, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::search_resources::SearchResourcesError, + >, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::search_resources::paginator::SearchResourcesPaginator::send) which returns a `Stream`. diff --git a/sdk/macie2/src/operation/tag_resource/builders.rs b/sdk/macie2/src/operation/tag_resource/builders.rs index 6e8e1560204d..b11668fd2bdd 100644 --- a/sdk/macie2/src/operation/tag_resource/builders.rs +++ b/sdk/macie2/src/operation/tag_resource/builders.rs @@ -19,9 +19,9 @@ impl TagResourceFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl TagResourceFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::tag_resource::TagResource, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                The Amazon Resource Name (ARN) of the resource.

                                                                                                                                                                                                pub fn resource_arn(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.resource_arn(input.into()); diff --git a/sdk/macie2/src/operation/test_custom_data_identifier/builders.rs b/sdk/macie2/src/operation/test_custom_data_identifier/builders.rs index 8f292bbabdd4..cbda142bda5a 100644 --- a/sdk/macie2/src/operation/test_custom_data_identifier/builders.rs +++ b/sdk/macie2/src/operation/test_custom_data_identifier/builders.rs @@ -19,9 +19,9 @@ impl TestCustomDataIdentifierFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl TestCustomDataIdentifierFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::test_custom_data_identifier::TestCustomDataIdentifier, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::test_custom_data_identifier::TestCustomDataIdentifierError, + >, + > { + self.customize_middleware().await + } /// Appends an item to `ignoreWords`. /// /// To override the contents of this collection use [`set_ignore_words`](Self::set_ignore_words). diff --git a/sdk/macie2/src/operation/untag_resource/builders.rs b/sdk/macie2/src/operation/untag_resource/builders.rs index 7279b886c3a3..c45f36d3d414 100644 --- a/sdk/macie2/src/operation/untag_resource/builders.rs +++ b/sdk/macie2/src/operation/untag_resource/builders.rs @@ -19,9 +19,9 @@ impl UntagResourceFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl UntagResourceFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::untag_resource::UntagResource, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                The Amazon Resource Name (ARN) of the resource.

                                                                                                                                                                                                pub fn resource_arn(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.resource_arn(input.into()); diff --git a/sdk/macie2/src/operation/update_allow_list/builders.rs b/sdk/macie2/src/operation/update_allow_list/builders.rs index 714ca1a364fe..748152f545a2 100644 --- a/sdk/macie2/src/operation/update_allow_list/builders.rs +++ b/sdk/macie2/src/operation/update_allow_list/builders.rs @@ -19,9 +19,9 @@ impl UpdateAllowListFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl UpdateAllowListFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::update_allow_list::UpdateAllowList, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::update_allow_list::UpdateAllowListError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                The criteria that specify the text or text pattern to ignore. The criteria can be the location and name of an S3 object that lists specific text to ignore (s3WordsList), or a regular expression that defines a text pattern to ignore (regex).

                                                                                                                                                                                                ///

                                                                                                                                                                                                You can change a list's underlying criteria, such as the name of the S3 object or the regular expression to use. However, you can't change the type from s3WordsList to regex or the other way around.

                                                                                                                                                                                                pub fn criteria(mut self, input: crate::types::AllowListCriteria) -> Self { diff --git a/sdk/macie2/src/operation/update_automated_discovery_configuration/builders.rs b/sdk/macie2/src/operation/update_automated_discovery_configuration/builders.rs index c12f59114acc..78c9ad83f4c3 100644 --- a/sdk/macie2/src/operation/update_automated_discovery_configuration/builders.rs +++ b/sdk/macie2/src/operation/update_automated_discovery_configuration/builders.rs @@ -19,9 +19,9 @@ impl UpdateAutomatedDiscoveryConfigurationFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize(self) -> ::std::result::Result< + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware(self) -> ::std::result::Result< crate::client::customize::CustomizableOperation, ::aws_smithy_http::result::SdkError >{ @@ -64,6 +64,15 @@ impl UpdateAutomatedDiscoveryConfigurationFluentBuilder { { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize(self) -> ::std::result::Result< + crate::client::customize::CustomizableOperation, + ::aws_smithy_http::result::SdkError + >{ + self.customize_middleware().await + } ///

                                                                                                                                                                                                The new status of automated sensitive data discovery for the account. Valid values are: ENABLED, start or resume automated sensitive data discovery activities for the account; and, DISABLED, stop performing automated sensitive data discovery activities for the account.

                                                                                                                                                                                                ///

                                                                                                                                                                                                When you enable automated sensitive data discovery for the first time, Amazon Macie uses default configuration settings to determine which data sources to analyze and which managed data identifiers to use. To change these settings, use the UpdateClassificationScope and UpdateSensitivityInspectionTemplate operations, respectively. If you change the settings and subsequently disable the configuration, Amazon Macie retains your changes.

                                                                                                                                                                                                pub fn status(mut self, input: crate::types::AutomatedDiscoveryStatus) -> Self { diff --git a/sdk/macie2/src/operation/update_classification_job/builders.rs b/sdk/macie2/src/operation/update_classification_job/builders.rs index cf83b2243082..1d1c0b2de09b 100644 --- a/sdk/macie2/src/operation/update_classification_job/builders.rs +++ b/sdk/macie2/src/operation/update_classification_job/builders.rs @@ -20,9 +20,9 @@ impl UpdateClassificationJobFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -84,6 +84,22 @@ impl UpdateClassificationJobFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::update_classification_job::UpdateClassificationJob, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::update_classification_job::UpdateClassificationJobError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                The unique identifier for the classification job.

                                                                                                                                                                                                pub fn job_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.job_id(input.into()); diff --git a/sdk/macie2/src/operation/update_classification_scope/builders.rs b/sdk/macie2/src/operation/update_classification_scope/builders.rs index 76ca99460b4d..3d61af6df6cf 100644 --- a/sdk/macie2/src/operation/update_classification_scope/builders.rs +++ b/sdk/macie2/src/operation/update_classification_scope/builders.rs @@ -19,9 +19,9 @@ impl UpdateClassificationScopeFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl UpdateClassificationScopeFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::update_classification_scope::UpdateClassificationScope, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::update_classification_scope::UpdateClassificationScopeError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                The unique identifier for the Amazon Macie resource that the request applies to.

                                                                                                                                                                                                pub fn id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.id(input.into()); diff --git a/sdk/macie2/src/operation/update_findings_filter/builders.rs b/sdk/macie2/src/operation/update_findings_filter/builders.rs index 6c0907e1930a..4b391bdab2db 100644 --- a/sdk/macie2/src/operation/update_findings_filter/builders.rs +++ b/sdk/macie2/src/operation/update_findings_filter/builders.rs @@ -19,9 +19,9 @@ impl UpdateFindingsFilterFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl UpdateFindingsFilterFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::update_findings_filter::UpdateFindingsFilter, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::update_findings_filter::UpdateFindingsFilterError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                The action to perform on findings that match the filter criteria (findingCriteria). Valid values are: ARCHIVE, suppress (automatically archive) the findings; and, NOOP, don't perform any action on the findings.

                                                                                                                                                                                                pub fn action(mut self, input: crate::types::FindingsFilterAction) -> Self { self.inner = self.inner.action(input); diff --git a/sdk/macie2/src/operation/update_macie_session/builders.rs b/sdk/macie2/src/operation/update_macie_session/builders.rs index 153cda308a5f..42ebcaa97588 100644 --- a/sdk/macie2/src/operation/update_macie_session/builders.rs +++ b/sdk/macie2/src/operation/update_macie_session/builders.rs @@ -19,9 +19,9 @@ impl UpdateMacieSessionFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl UpdateMacieSessionFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::update_macie_session::UpdateMacieSession, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::update_macie_session::UpdateMacieSessionError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                Specifies how often to publish updates to policy findings for the account. This includes publishing updates to Security Hub and Amazon EventBridge (formerly Amazon CloudWatch Events).

                                                                                                                                                                                                pub fn finding_publishing_frequency( mut self, diff --git a/sdk/macie2/src/operation/update_member_session/builders.rs b/sdk/macie2/src/operation/update_member_session/builders.rs index bb8066e90c37..8749e965ee54 100644 --- a/sdk/macie2/src/operation/update_member_session/builders.rs +++ b/sdk/macie2/src/operation/update_member_session/builders.rs @@ -19,9 +19,9 @@ impl UpdateMemberSessionFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl UpdateMemberSessionFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::update_member_session::UpdateMemberSession, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::update_member_session::UpdateMemberSessionError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                The unique identifier for the Amazon Macie resource that the request applies to.

                                                                                                                                                                                                pub fn id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.id(input.into()); diff --git a/sdk/macie2/src/operation/update_organization_configuration/builders.rs b/sdk/macie2/src/operation/update_organization_configuration/builders.rs index 97b5cca433b6..5d0407077543 100644 --- a/sdk/macie2/src/operation/update_organization_configuration/builders.rs +++ b/sdk/macie2/src/operation/update_organization_configuration/builders.rs @@ -19,9 +19,9 @@ impl UpdateOrganizationConfigurationFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize(self) -> ::std::result::Result< + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware(self) -> ::std::result::Result< crate::client::customize::CustomizableOperation, ::aws_smithy_http::result::SdkError >{ @@ -64,6 +64,15 @@ impl UpdateOrganizationConfigurationFluentBuilder { { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize(self) -> ::std::result::Result< + crate::client::customize::CustomizableOperation, + ::aws_smithy_http::result::SdkError + >{ + self.customize_middleware().await + } ///

                                                                                                                                                                                                Specifies whether to enable Amazon Macie automatically for an account when the account is added to the organization in Organizations.

                                                                                                                                                                                                pub fn auto_enable(mut self, input: bool) -> Self { self.inner = self.inner.auto_enable(input); diff --git a/sdk/macie2/src/operation/update_resource_profile/builders.rs b/sdk/macie2/src/operation/update_resource_profile/builders.rs index 4268e307f538..da3650034531 100644 --- a/sdk/macie2/src/operation/update_resource_profile/builders.rs +++ b/sdk/macie2/src/operation/update_resource_profile/builders.rs @@ -19,9 +19,9 @@ impl UpdateResourceProfileFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl UpdateResourceProfileFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::update_resource_profile::UpdateResourceProfile, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::update_resource_profile::UpdateResourceProfileError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                The Amazon Resource Name (ARN) of the S3 bucket that the request applies to.

                                                                                                                                                                                                pub fn resource_arn(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.resource_arn(input.into()); diff --git a/sdk/macie2/src/operation/update_resource_profile_detections/builders.rs b/sdk/macie2/src/operation/update_resource_profile_detections/builders.rs index 2d0b41034791..7aa8cd937977 100644 --- a/sdk/macie2/src/operation/update_resource_profile_detections/builders.rs +++ b/sdk/macie2/src/operation/update_resource_profile_detections/builders.rs @@ -19,9 +19,9 @@ impl UpdateResourceProfileDetectionsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize(self) -> ::std::result::Result< + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware(self) -> ::std::result::Result< crate::client::customize::CustomizableOperation, ::aws_smithy_http::result::SdkError >{ @@ -64,6 +64,15 @@ impl UpdateResourceProfileDetectionsFluentBuilder { { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize(self) -> ::std::result::Result< + crate::client::customize::CustomizableOperation, + ::aws_smithy_http::result::SdkError + >{ + self.customize_middleware().await + } ///

                                                                                                                                                                                                The Amazon Resource Name (ARN) of the S3 bucket that the request applies to.

                                                                                                                                                                                                pub fn resource_arn(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.resource_arn(input.into()); diff --git a/sdk/macie2/src/operation/update_reveal_configuration/builders.rs b/sdk/macie2/src/operation/update_reveal_configuration/builders.rs index ed7b199c6182..cc2896bc6e81 100644 --- a/sdk/macie2/src/operation/update_reveal_configuration/builders.rs +++ b/sdk/macie2/src/operation/update_reveal_configuration/builders.rs @@ -19,9 +19,9 @@ impl UpdateRevealConfigurationFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl UpdateRevealConfigurationFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::update_reveal_configuration::UpdateRevealConfiguration, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::update_reveal_configuration::UpdateRevealConfigurationError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                The new configuration settings and the status of the configuration for the account.

                                                                                                                                                                                                pub fn configuration(mut self, input: crate::types::RevealConfiguration) -> Self { self.inner = self.inner.configuration(input); diff --git a/sdk/macie2/src/operation/update_sensitivity_inspection_template/builders.rs b/sdk/macie2/src/operation/update_sensitivity_inspection_template/builders.rs index ef748b1ce293..e7c3c870c803 100644 --- a/sdk/macie2/src/operation/update_sensitivity_inspection_template/builders.rs +++ b/sdk/macie2/src/operation/update_sensitivity_inspection_template/builders.rs @@ -19,9 +19,9 @@ impl UpdateSensitivityInspectionTemplateFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize(self) -> ::std::result::Result< + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware(self) -> ::std::result::Result< crate::client::customize::CustomizableOperation, ::aws_smithy_http::result::SdkError >{ @@ -64,6 +64,15 @@ impl UpdateSensitivityInspectionTemplateFluentBuilder { { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize(self) -> ::std::result::Result< + crate::client::customize::CustomizableOperation, + ::aws_smithy_http::result::SdkError + >{ + self.customize_middleware().await + } ///

                                                                                                                                                                                                A custom description of the template. The description can contain as many as 200 characters.

                                                                                                                                                                                                pub fn description(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.description(input.into()); diff --git a/sdk/managedblockchain/src/operation/create_accessor/builders.rs b/sdk/managedblockchain/src/operation/create_accessor/builders.rs index 9aafaab71449..f0b2e9f636c9 100644 --- a/sdk/managedblockchain/src/operation/create_accessor/builders.rs +++ b/sdk/managedblockchain/src/operation/create_accessor/builders.rs @@ -19,9 +19,9 @@ impl CreateAccessorFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl CreateAccessorFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::create_accessor::CreateAccessor, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                This is a unique, case-sensitive identifier that you provide to ensure the idempotency of the operation. An idempotent operation completes no more than once. This identifier is required only if you make a service request directly using an HTTP client. It is generated automatically if you use an Amazon Web Services SDK or the Amazon Web Services CLI.

                                                                                                                                                                                                pub fn client_request_token( mut self, diff --git a/sdk/managedblockchain/src/operation/create_member/builders.rs b/sdk/managedblockchain/src/operation/create_member/builders.rs index 4d17402ecde9..e1871748d240 100644 --- a/sdk/managedblockchain/src/operation/create_member/builders.rs +++ b/sdk/managedblockchain/src/operation/create_member/builders.rs @@ -20,9 +20,9 @@ impl CreateMemberFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -78,6 +78,20 @@ impl CreateMemberFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::create_member::CreateMember, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                A unique, case-sensitive identifier that you provide to ensure the idempotency of the operation. An idempotent operation completes no more than one time. This identifier is required only if you make a service request directly using an HTTP client. It is generated automatically if you use an Amazon Web Services SDK or the CLI.

                                                                                                                                                                                                pub fn client_request_token( mut self, diff --git a/sdk/managedblockchain/src/operation/create_network/builders.rs b/sdk/managedblockchain/src/operation/create_network/builders.rs index d224a8b0b8a2..b50b0976a3e1 100644 --- a/sdk/managedblockchain/src/operation/create_network/builders.rs +++ b/sdk/managedblockchain/src/operation/create_network/builders.rs @@ -20,9 +20,9 @@ impl CreateNetworkFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -78,6 +78,20 @@ impl CreateNetworkFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::create_network::CreateNetwork, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                This is a unique, case-sensitive identifier that you provide to ensure the idempotency of the operation. An idempotent operation completes no more than once. This identifier is required only if you make a service request directly using an HTTP client. It is generated automatically if you use an Amazon Web Services SDK or the Amazon Web Services CLI.

                                                                                                                                                                                                pub fn client_request_token( mut self, diff --git a/sdk/managedblockchain/src/operation/create_node/builders.rs b/sdk/managedblockchain/src/operation/create_node/builders.rs index 38192f56c8e0..7c67a4ce5e96 100644 --- a/sdk/managedblockchain/src/operation/create_node/builders.rs +++ b/sdk/managedblockchain/src/operation/create_node/builders.rs @@ -20,9 +20,9 @@ impl CreateNodeFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -78,6 +78,20 @@ impl CreateNodeFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::create_node::CreateNode, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                A unique, case-sensitive identifier that you provide to ensure the idempotency of the operation. An idempotent operation completes no more than one time. This identifier is required only if you make a service request directly using an HTTP client. It is generated automatically if you use an Amazon Web Services SDK or the CLI.

                                                                                                                                                                                                pub fn client_request_token( mut self, diff --git a/sdk/managedblockchain/src/operation/create_proposal/builders.rs b/sdk/managedblockchain/src/operation/create_proposal/builders.rs index 79b1e2a06fdc..6bcc863c72d5 100644 --- a/sdk/managedblockchain/src/operation/create_proposal/builders.rs +++ b/sdk/managedblockchain/src/operation/create_proposal/builders.rs @@ -20,9 +20,9 @@ impl CreateProposalFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -78,6 +78,20 @@ impl CreateProposalFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::create_proposal::CreateProposal, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                A unique, case-sensitive identifier that you provide to ensure the idempotency of the operation. An idempotent operation completes no more than one time. This identifier is required only if you make a service request directly using an HTTP client. It is generated automatically if you use an Amazon Web Services SDK or the CLI.

                                                                                                                                                                                                pub fn client_request_token( mut self, diff --git a/sdk/managedblockchain/src/operation/delete_accessor/builders.rs b/sdk/managedblockchain/src/operation/delete_accessor/builders.rs index 3f036190b4fa..e5055919d292 100644 --- a/sdk/managedblockchain/src/operation/delete_accessor/builders.rs +++ b/sdk/managedblockchain/src/operation/delete_accessor/builders.rs @@ -19,9 +19,9 @@ impl DeleteAccessorFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl DeleteAccessorFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::delete_accessor::DeleteAccessor, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                The unique identifier of the accessor.

                                                                                                                                                                                                pub fn accessor_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.accessor_id(input.into()); diff --git a/sdk/managedblockchain/src/operation/delete_member/builders.rs b/sdk/managedblockchain/src/operation/delete_member/builders.rs index dbe1c9d019e2..b54100c64264 100644 --- a/sdk/managedblockchain/src/operation/delete_member/builders.rs +++ b/sdk/managedblockchain/src/operation/delete_member/builders.rs @@ -20,9 +20,9 @@ impl DeleteMemberFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -78,6 +78,20 @@ impl DeleteMemberFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::delete_member::DeleteMember, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                The unique identifier of the network from which the member is removed.

                                                                                                                                                                                                pub fn network_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.network_id(input.into()); diff --git a/sdk/managedblockchain/src/operation/delete_node/builders.rs b/sdk/managedblockchain/src/operation/delete_node/builders.rs index bb41b5fab063..891497843ac9 100644 --- a/sdk/managedblockchain/src/operation/delete_node/builders.rs +++ b/sdk/managedblockchain/src/operation/delete_node/builders.rs @@ -20,9 +20,9 @@ impl DeleteNodeFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -78,6 +78,20 @@ impl DeleteNodeFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::delete_node::DeleteNode, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                The unique identifier of the network that the node is on.

                                                                                                                                                                                                ///

                                                                                                                                                                                                Ethereum public networks have the following NetworkIds:

                                                                                                                                                                                                ///
                                                                                                                                                                                                  diff --git a/sdk/managedblockchain/src/operation/get_accessor/builders.rs b/sdk/managedblockchain/src/operation/get_accessor/builders.rs index 230c64bb1dd2..1338d6644c89 100644 --- a/sdk/managedblockchain/src/operation/get_accessor/builders.rs +++ b/sdk/managedblockchain/src/operation/get_accessor/builders.rs @@ -19,9 +19,9 @@ impl GetAccessorFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl GetAccessorFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::get_accessor::GetAccessor, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                  The unique identifier of the accessor.

                                                                                                                                                                                                  pub fn accessor_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.accessor_id(input.into()); diff --git a/sdk/managedblockchain/src/operation/get_member/builders.rs b/sdk/managedblockchain/src/operation/get_member/builders.rs index 5d7f2991fcfe..c3cfb2ac58e4 100644 --- a/sdk/managedblockchain/src/operation/get_member/builders.rs +++ b/sdk/managedblockchain/src/operation/get_member/builders.rs @@ -20,9 +20,9 @@ impl GetMemberFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -78,6 +78,20 @@ impl GetMemberFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::get_member::GetMember, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                  The unique identifier of the network to which the member belongs.

                                                                                                                                                                                                  pub fn network_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.network_id(input.into()); diff --git a/sdk/managedblockchain/src/operation/get_network/builders.rs b/sdk/managedblockchain/src/operation/get_network/builders.rs index a871a3f865a3..90cd336cb9a7 100644 --- a/sdk/managedblockchain/src/operation/get_network/builders.rs +++ b/sdk/managedblockchain/src/operation/get_network/builders.rs @@ -20,9 +20,9 @@ impl GetNetworkFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -78,6 +78,20 @@ impl GetNetworkFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::get_network::GetNetwork, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                  The unique identifier of the network to get information about.

                                                                                                                                                                                                  pub fn network_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.network_id(input.into()); diff --git a/sdk/managedblockchain/src/operation/get_node/builders.rs b/sdk/managedblockchain/src/operation/get_node/builders.rs index 4efba79a096a..a407ea06d293 100644 --- a/sdk/managedblockchain/src/operation/get_node/builders.rs +++ b/sdk/managedblockchain/src/operation/get_node/builders.rs @@ -20,9 +20,9 @@ impl GetNodeFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -78,6 +78,20 @@ impl GetNodeFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::get_node::GetNode, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                  The unique identifier of the network that the node is on.

                                                                                                                                                                                                  pub fn network_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.network_id(input.into()); diff --git a/sdk/managedblockchain/src/operation/get_proposal/builders.rs b/sdk/managedblockchain/src/operation/get_proposal/builders.rs index 2aca27078a1d..be05e876e427 100644 --- a/sdk/managedblockchain/src/operation/get_proposal/builders.rs +++ b/sdk/managedblockchain/src/operation/get_proposal/builders.rs @@ -20,9 +20,9 @@ impl GetProposalFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -78,6 +78,20 @@ impl GetProposalFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::get_proposal::GetProposal, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                  The unique identifier of the network for which the proposal is made.

                                                                                                                                                                                                  pub fn network_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.network_id(input.into()); diff --git a/sdk/managedblockchain/src/operation/list_accessors/builders.rs b/sdk/managedblockchain/src/operation/list_accessors/builders.rs index d8e18451470b..77553e2eb69c 100644 --- a/sdk/managedblockchain/src/operation/list_accessors/builders.rs +++ b/sdk/managedblockchain/src/operation/list_accessors/builders.rs @@ -19,9 +19,9 @@ impl ListAccessorsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl ListAccessorsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_accessors::ListAccessors, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::list_accessors::paginator::ListAccessorsPaginator::send) which returns a `Stream`. diff --git a/sdk/managedblockchain/src/operation/list_invitations/builders.rs b/sdk/managedblockchain/src/operation/list_invitations/builders.rs index a18b19756ac7..8da77a99bb16 100644 --- a/sdk/managedblockchain/src/operation/list_invitations/builders.rs +++ b/sdk/managedblockchain/src/operation/list_invitations/builders.rs @@ -20,9 +20,9 @@ impl ListInvitationsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -84,6 +84,22 @@ impl ListInvitationsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_invitations::ListInvitations, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::list_invitations::ListInvitationsError, + >, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::list_invitations::paginator::ListInvitationsPaginator::send) which returns a `Stream`. diff --git a/sdk/managedblockchain/src/operation/list_members/builders.rs b/sdk/managedblockchain/src/operation/list_members/builders.rs index 9b13049ca78a..224a43c7341f 100644 --- a/sdk/managedblockchain/src/operation/list_members/builders.rs +++ b/sdk/managedblockchain/src/operation/list_members/builders.rs @@ -20,9 +20,9 @@ impl ListMembersFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -78,6 +78,20 @@ impl ListMembersFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_members::ListMembers, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::list_members::paginator::ListMembersPaginator::send) which returns a `Stream`. diff --git a/sdk/managedblockchain/src/operation/list_networks/builders.rs b/sdk/managedblockchain/src/operation/list_networks/builders.rs index 3a93f6c670d2..30fa0fb3f3fb 100644 --- a/sdk/managedblockchain/src/operation/list_networks/builders.rs +++ b/sdk/managedblockchain/src/operation/list_networks/builders.rs @@ -20,9 +20,9 @@ impl ListNetworksFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -78,6 +78,20 @@ impl ListNetworksFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_networks::ListNetworks, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::list_networks::paginator::ListNetworksPaginator::send) which returns a `Stream`. diff --git a/sdk/managedblockchain/src/operation/list_nodes/builders.rs b/sdk/managedblockchain/src/operation/list_nodes/builders.rs index b1e5152ec8f3..aac6078d3910 100644 --- a/sdk/managedblockchain/src/operation/list_nodes/builders.rs +++ b/sdk/managedblockchain/src/operation/list_nodes/builders.rs @@ -20,9 +20,9 @@ impl ListNodesFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -78,6 +78,20 @@ impl ListNodesFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_nodes::ListNodes, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::list_nodes::paginator::ListNodesPaginator::send) which returns a `Stream`. diff --git a/sdk/managedblockchain/src/operation/list_proposal_votes/builders.rs b/sdk/managedblockchain/src/operation/list_proposal_votes/builders.rs index b179cc356420..3fb3f4c24b56 100644 --- a/sdk/managedblockchain/src/operation/list_proposal_votes/builders.rs +++ b/sdk/managedblockchain/src/operation/list_proposal_votes/builders.rs @@ -20,9 +20,9 @@ impl ListProposalVotesFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -84,6 +84,22 @@ impl ListProposalVotesFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_proposal_votes::ListProposalVotes, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::list_proposal_votes::ListProposalVotesError, + >, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::list_proposal_votes::paginator::ListProposalVotesPaginator::send) which returns a `Stream`. diff --git a/sdk/managedblockchain/src/operation/list_proposals/builders.rs b/sdk/managedblockchain/src/operation/list_proposals/builders.rs index d8858eee242d..a896c25d4182 100644 --- a/sdk/managedblockchain/src/operation/list_proposals/builders.rs +++ b/sdk/managedblockchain/src/operation/list_proposals/builders.rs @@ -20,9 +20,9 @@ impl ListProposalsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -78,6 +78,20 @@ impl ListProposalsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_proposals::ListProposals, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::list_proposals::paginator::ListProposalsPaginator::send) which returns a `Stream`. diff --git a/sdk/managedblockchain/src/operation/list_tags_for_resource/builders.rs b/sdk/managedblockchain/src/operation/list_tags_for_resource/builders.rs index 1ccc042c05fa..7e89ef35fd2c 100644 --- a/sdk/managedblockchain/src/operation/list_tags_for_resource/builders.rs +++ b/sdk/managedblockchain/src/operation/list_tags_for_resource/builders.rs @@ -20,9 +20,9 @@ impl ListTagsForResourceFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -84,6 +84,22 @@ impl ListTagsForResourceFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_tags_for_resource::ListTagsForResource, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::list_tags_for_resource::ListTagsForResourceError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                  The Amazon Resource Name (ARN) of the resource. For more information about ARNs and their format, see Amazon Resource Names (ARNs) in the Amazon Web Services General Reference.

                                                                                                                                                                                                  pub fn resource_arn(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.resource_arn(input.into()); diff --git a/sdk/managedblockchain/src/operation/reject_invitation/builders.rs b/sdk/managedblockchain/src/operation/reject_invitation/builders.rs index f5be98aeeba3..a90927d00b8c 100644 --- a/sdk/managedblockchain/src/operation/reject_invitation/builders.rs +++ b/sdk/managedblockchain/src/operation/reject_invitation/builders.rs @@ -20,9 +20,9 @@ impl RejectInvitationFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -84,6 +84,22 @@ impl RejectInvitationFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::reject_invitation::RejectInvitation, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::reject_invitation::RejectInvitationError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                  The unique identifier of the invitation to reject.

                                                                                                                                                                                                  pub fn invitation_id( mut self, diff --git a/sdk/managedblockchain/src/operation/tag_resource/builders.rs b/sdk/managedblockchain/src/operation/tag_resource/builders.rs index 30156bd6d687..2c0476b42c0f 100644 --- a/sdk/managedblockchain/src/operation/tag_resource/builders.rs +++ b/sdk/managedblockchain/src/operation/tag_resource/builders.rs @@ -22,9 +22,9 @@ impl TagResourceFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -80,6 +80,20 @@ impl TagResourceFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::tag_resource::TagResource, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                  The Amazon Resource Name (ARN) of the resource. For more information about ARNs and their format, see Amazon Resource Names (ARNs) in the Amazon Web Services General Reference.

                                                                                                                                                                                                  pub fn resource_arn(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.resource_arn(input.into()); diff --git a/sdk/managedblockchain/src/operation/untag_resource/builders.rs b/sdk/managedblockchain/src/operation/untag_resource/builders.rs index 2438cdf71ae9..f2c98abd55e1 100644 --- a/sdk/managedblockchain/src/operation/untag_resource/builders.rs +++ b/sdk/managedblockchain/src/operation/untag_resource/builders.rs @@ -20,9 +20,9 @@ impl UntagResourceFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -78,6 +78,20 @@ impl UntagResourceFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::untag_resource::UntagResource, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                  The Amazon Resource Name (ARN) of the resource. For more information about ARNs and their format, see Amazon Resource Names (ARNs) in the Amazon Web Services General Reference.

                                                                                                                                                                                                  pub fn resource_arn(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.resource_arn(input.into()); diff --git a/sdk/managedblockchain/src/operation/update_member/builders.rs b/sdk/managedblockchain/src/operation/update_member/builders.rs index 102c9bfd3157..b85fc3b1420b 100644 --- a/sdk/managedblockchain/src/operation/update_member/builders.rs +++ b/sdk/managedblockchain/src/operation/update_member/builders.rs @@ -20,9 +20,9 @@ impl UpdateMemberFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -78,6 +78,20 @@ impl UpdateMemberFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::update_member::UpdateMember, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                  The unique identifier of the Managed Blockchain network to which the member belongs.

                                                                                                                                                                                                  pub fn network_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.network_id(input.into()); diff --git a/sdk/managedblockchain/src/operation/update_node/builders.rs b/sdk/managedblockchain/src/operation/update_node/builders.rs index 7937fabaa7df..1d3e2f722b18 100644 --- a/sdk/managedblockchain/src/operation/update_node/builders.rs +++ b/sdk/managedblockchain/src/operation/update_node/builders.rs @@ -20,9 +20,9 @@ impl UpdateNodeFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -78,6 +78,20 @@ impl UpdateNodeFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::update_node::UpdateNode, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                  The unique identifier of the network that the node is on.

                                                                                                                                                                                                  pub fn network_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.network_id(input.into()); diff --git a/sdk/managedblockchain/src/operation/vote_on_proposal/builders.rs b/sdk/managedblockchain/src/operation/vote_on_proposal/builders.rs index b054ac2c341e..d85fd49db89a 100644 --- a/sdk/managedblockchain/src/operation/vote_on_proposal/builders.rs +++ b/sdk/managedblockchain/src/operation/vote_on_proposal/builders.rs @@ -20,9 +20,9 @@ impl VoteOnProposalFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -84,6 +84,22 @@ impl VoteOnProposalFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::vote_on_proposal::VoteOnProposal, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::vote_on_proposal::VoteOnProposalError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                  The unique identifier of the network.

                                                                                                                                                                                                  pub fn network_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.network_id(input.into()); diff --git a/sdk/marketplacecatalog/src/operation/cancel_change_set/builders.rs b/sdk/marketplacecatalog/src/operation/cancel_change_set/builders.rs index 33d32e741ee6..18d86d2a6320 100644 --- a/sdk/marketplacecatalog/src/operation/cancel_change_set/builders.rs +++ b/sdk/marketplacecatalog/src/operation/cancel_change_set/builders.rs @@ -19,9 +19,9 @@ impl CancelChangeSetFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl CancelChangeSetFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::cancel_change_set::CancelChangeSet, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::cancel_change_set::CancelChangeSetError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                  Required. The catalog related to the request. Fixed value: AWSMarketplace.

                                                                                                                                                                                                  pub fn catalog(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.catalog(input.into()); diff --git a/sdk/marketplacecatalog/src/operation/delete_resource_policy/builders.rs b/sdk/marketplacecatalog/src/operation/delete_resource_policy/builders.rs index 82468cf82bbd..eecaa0d6993d 100644 --- a/sdk/marketplacecatalog/src/operation/delete_resource_policy/builders.rs +++ b/sdk/marketplacecatalog/src/operation/delete_resource_policy/builders.rs @@ -19,9 +19,9 @@ impl DeleteResourcePolicyFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl DeleteResourcePolicyFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::delete_resource_policy::DeleteResourcePolicy, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::delete_resource_policy::DeleteResourcePolicyError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                  The Amazon Resource Name (ARN) of the Entity resource that is associated with the resource policy.

                                                                                                                                                                                                  pub fn resource_arn(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.resource_arn(input.into()); diff --git a/sdk/marketplacecatalog/src/operation/describe_change_set/builders.rs b/sdk/marketplacecatalog/src/operation/describe_change_set/builders.rs index 7187bdfbdc12..93e4d81a2961 100644 --- a/sdk/marketplacecatalog/src/operation/describe_change_set/builders.rs +++ b/sdk/marketplacecatalog/src/operation/describe_change_set/builders.rs @@ -19,9 +19,9 @@ impl DescribeChangeSetFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl DescribeChangeSetFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::describe_change_set::DescribeChangeSet, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::describe_change_set::DescribeChangeSetError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                  Required. The catalog related to the request. Fixed value: AWSMarketplace

                                                                                                                                                                                                  pub fn catalog(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.catalog(input.into()); diff --git a/sdk/marketplacecatalog/src/operation/describe_entity/builders.rs b/sdk/marketplacecatalog/src/operation/describe_entity/builders.rs index d1f242704be1..c0fa4b48d0bb 100644 --- a/sdk/marketplacecatalog/src/operation/describe_entity/builders.rs +++ b/sdk/marketplacecatalog/src/operation/describe_entity/builders.rs @@ -19,9 +19,9 @@ impl DescribeEntityFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl DescribeEntityFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::describe_entity::DescribeEntity, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                  Required. The catalog related to the request. Fixed value: AWSMarketplace

                                                                                                                                                                                                  pub fn catalog(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.catalog(input.into()); diff --git a/sdk/marketplacecatalog/src/operation/get_resource_policy/builders.rs b/sdk/marketplacecatalog/src/operation/get_resource_policy/builders.rs index bf353146a63f..3f368045e69f 100644 --- a/sdk/marketplacecatalog/src/operation/get_resource_policy/builders.rs +++ b/sdk/marketplacecatalog/src/operation/get_resource_policy/builders.rs @@ -19,9 +19,9 @@ impl GetResourcePolicyFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl GetResourcePolicyFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::get_resource_policy::GetResourcePolicy, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::get_resource_policy::GetResourcePolicyError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                  The Amazon Resource Name (ARN) of the Entity resource that is associated with the resource policy.

                                                                                                                                                                                                  pub fn resource_arn(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.resource_arn(input.into()); diff --git a/sdk/marketplacecatalog/src/operation/list_change_sets/builders.rs b/sdk/marketplacecatalog/src/operation/list_change_sets/builders.rs index 3f47e2cd49e6..0106ff0049f8 100644 --- a/sdk/marketplacecatalog/src/operation/list_change_sets/builders.rs +++ b/sdk/marketplacecatalog/src/operation/list_change_sets/builders.rs @@ -20,9 +20,9 @@ impl ListChangeSetsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -84,6 +84,22 @@ impl ListChangeSetsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_change_sets::ListChangeSets, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::list_change_sets::ListChangeSetsError, + >, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::list_change_sets::paginator::ListChangeSetsPaginator::send) which returns a `Stream`. diff --git a/sdk/marketplacecatalog/src/operation/list_entities/builders.rs b/sdk/marketplacecatalog/src/operation/list_entities/builders.rs index 6f7d42cc282f..19e8887b70d3 100644 --- a/sdk/marketplacecatalog/src/operation/list_entities/builders.rs +++ b/sdk/marketplacecatalog/src/operation/list_entities/builders.rs @@ -19,9 +19,9 @@ impl ListEntitiesFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl ListEntitiesFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_entities::ListEntities, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::list_entities::paginator::ListEntitiesPaginator::send) which returns a `Stream`. diff --git a/sdk/marketplacecatalog/src/operation/list_tags_for_resource/builders.rs b/sdk/marketplacecatalog/src/operation/list_tags_for_resource/builders.rs index 06c0a7a56063..fc3439aa5843 100644 --- a/sdk/marketplacecatalog/src/operation/list_tags_for_resource/builders.rs +++ b/sdk/marketplacecatalog/src/operation/list_tags_for_resource/builders.rs @@ -19,9 +19,9 @@ impl ListTagsForResourceFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl ListTagsForResourceFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_tags_for_resource::ListTagsForResource, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::list_tags_for_resource::ListTagsForResourceError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                  Required. The Amazon Resource Name (ARN) associated with the resource you want to list tags on.

                                                                                                                                                                                                  pub fn resource_arn(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.resource_arn(input.into()); diff --git a/sdk/marketplacecatalog/src/operation/put_resource_policy/builders.rs b/sdk/marketplacecatalog/src/operation/put_resource_policy/builders.rs index 12db1bf1994f..e2a10835e863 100644 --- a/sdk/marketplacecatalog/src/operation/put_resource_policy/builders.rs +++ b/sdk/marketplacecatalog/src/operation/put_resource_policy/builders.rs @@ -19,9 +19,9 @@ impl PutResourcePolicyFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl PutResourcePolicyFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::put_resource_policy::PutResourcePolicy, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::put_resource_policy::PutResourcePolicyError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                  The Amazon Resource Name (ARN) of the Entity resource you want to associate with a resource policy.

                                                                                                                                                                                                  pub fn resource_arn(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.resource_arn(input.into()); diff --git a/sdk/marketplacecatalog/src/operation/start_change_set/builders.rs b/sdk/marketplacecatalog/src/operation/start_change_set/builders.rs index 752297af51b9..d26e5ad52793 100644 --- a/sdk/marketplacecatalog/src/operation/start_change_set/builders.rs +++ b/sdk/marketplacecatalog/src/operation/start_change_set/builders.rs @@ -21,9 +21,9 @@ impl StartChangeSetFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -85,6 +85,22 @@ impl StartChangeSetFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::start_change_set::StartChangeSet, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::start_change_set::StartChangeSetError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                  The catalog related to the request. Fixed value: AWSMarketplace

                                                                                                                                                                                                  pub fn catalog(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.catalog(input.into()); diff --git a/sdk/marketplacecatalog/src/operation/tag_resource/builders.rs b/sdk/marketplacecatalog/src/operation/tag_resource/builders.rs index 91a2a3141c9d..bad172081210 100644 --- a/sdk/marketplacecatalog/src/operation/tag_resource/builders.rs +++ b/sdk/marketplacecatalog/src/operation/tag_resource/builders.rs @@ -19,9 +19,9 @@ impl TagResourceFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl TagResourceFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::tag_resource::TagResource, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                  Required. The Amazon Resource Name (ARN) associated with the resource you want to tag.

                                                                                                                                                                                                  pub fn resource_arn(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.resource_arn(input.into()); diff --git a/sdk/marketplacecatalog/src/operation/untag_resource/builders.rs b/sdk/marketplacecatalog/src/operation/untag_resource/builders.rs index 89ce275a863d..29ecaa652435 100644 --- a/sdk/marketplacecatalog/src/operation/untag_resource/builders.rs +++ b/sdk/marketplacecatalog/src/operation/untag_resource/builders.rs @@ -19,9 +19,9 @@ impl UntagResourceFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl UntagResourceFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::untag_resource::UntagResource, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                  Required. The Amazon Resource Name (ARN) associated with the resource you want to remove the tag from.

                                                                                                                                                                                                  pub fn resource_arn(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.resource_arn(input.into()); diff --git a/sdk/marketplacecommerceanalytics/src/operation/generate_data_set/builders.rs b/sdk/marketplacecommerceanalytics/src/operation/generate_data_set/builders.rs index b1aea06d8d19..ce26abc858b3 100644 --- a/sdk/marketplacecommerceanalytics/src/operation/generate_data_set/builders.rs +++ b/sdk/marketplacecommerceanalytics/src/operation/generate_data_set/builders.rs @@ -19,9 +19,9 @@ impl GenerateDataSetFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl GenerateDataSetFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::generate_data_set::GenerateDataSet, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::generate_data_set::GenerateDataSetError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                  The desired data set type.

                                                                                                                                                                                                  ///

                                                                                                                                                                                                  ///
                                                                                                                                                                                                    diff --git a/sdk/marketplacecommerceanalytics/src/operation/start_support_data_export/builders.rs b/sdk/marketplacecommerceanalytics/src/operation/start_support_data_export/builders.rs index 9f54dc7a9141..3a35b9b8ac13 100644 --- a/sdk/marketplacecommerceanalytics/src/operation/start_support_data_export/builders.rs +++ b/sdk/marketplacecommerceanalytics/src/operation/start_support_data_export/builders.rs @@ -20,9 +20,9 @@ impl StartSupportDataExportFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -84,6 +84,22 @@ impl StartSupportDataExportFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::start_support_data_export::StartSupportDataExport, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::start_support_data_export::StartSupportDataExportError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                    Specifies the data set type to be written to the output csv file. The data set types customer_support_contacts_data and test_customer_support_contacts_data both result in a csv file containing the following fields: Product Id, Product Code, Customer Guid, Subscription Guid, Subscription Start Date, Organization, AWS Account Id, Given Name, Surname, Telephone Number, Email, Title, Country Code, ZIP Code, Operation Type, and Operation Time.

                                                                                                                                                                                                    ///

                                                                                                                                                                                                    ///
                                                                                                                                                                                                      diff --git a/sdk/marketplaceentitlement/src/operation/get_entitlements/builders.rs b/sdk/marketplaceentitlement/src/operation/get_entitlements/builders.rs index 6504c9024ebc..f4cbe42fdfd9 100644 --- a/sdk/marketplaceentitlement/src/operation/get_entitlements/builders.rs +++ b/sdk/marketplaceentitlement/src/operation/get_entitlements/builders.rs @@ -19,9 +19,9 @@ impl GetEntitlementsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl GetEntitlementsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::get_entitlements::GetEntitlements, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::get_entitlements::GetEntitlementsError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                      Product code is used to uniquely identify a product in AWS Marketplace. The product code will be provided by AWS Marketplace when the product listing is created.

                                                                                                                                                                                                      pub fn product_code(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.product_code(input.into()); diff --git a/sdk/marketplacemetering/src/operation/batch_meter_usage/builders.rs b/sdk/marketplacemetering/src/operation/batch_meter_usage/builders.rs index 817bf8dec3e9..534b895d2a1a 100644 --- a/sdk/marketplacemetering/src/operation/batch_meter_usage/builders.rs +++ b/sdk/marketplacemetering/src/operation/batch_meter_usage/builders.rs @@ -28,9 +28,9 @@ impl BatchMeterUsageFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -92,6 +92,22 @@ impl BatchMeterUsageFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::batch_meter_usage::BatchMeterUsage, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::batch_meter_usage::BatchMeterUsageError, + >, + > { + self.customize_middleware().await + } /// Appends an item to `UsageRecords`. /// /// To override the contents of this collection use [`set_usage_records`](Self::set_usage_records). diff --git a/sdk/marketplacemetering/src/operation/meter_usage/builders.rs b/sdk/marketplacemetering/src/operation/meter_usage/builders.rs index e0fef254b6e3..791031dddf67 100644 --- a/sdk/marketplacemetering/src/operation/meter_usage/builders.rs +++ b/sdk/marketplacemetering/src/operation/meter_usage/builders.rs @@ -22,9 +22,9 @@ impl MeterUsageFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -80,6 +80,20 @@ impl MeterUsageFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::meter_usage::MeterUsage, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                      Product code is used to uniquely identify a product in AWS Marketplace. The product code should be the same as the one used during the publishing of a new product.

                                                                                                                                                                                                      pub fn product_code(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.product_code(input.into()); diff --git a/sdk/marketplacemetering/src/operation/register_usage/builders.rs b/sdk/marketplacemetering/src/operation/register_usage/builders.rs index 1dc6f4cb74cd..5c58c641ad9f 100644 --- a/sdk/marketplacemetering/src/operation/register_usage/builders.rs +++ b/sdk/marketplacemetering/src/operation/register_usage/builders.rs @@ -23,9 +23,9 @@ impl RegisterUsageFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -81,6 +81,20 @@ impl RegisterUsageFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::register_usage::RegisterUsage, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                      Product code is used to uniquely identify a product in AWS Marketplace. The product code should be the same as the one used during the publishing of a new product.

                                                                                                                                                                                                      pub fn product_code(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.product_code(input.into()); diff --git a/sdk/marketplacemetering/src/operation/resolve_customer/builders.rs b/sdk/marketplacemetering/src/operation/resolve_customer/builders.rs index d405b29c2ccd..3f3f4cf4866a 100644 --- a/sdk/marketplacemetering/src/operation/resolve_customer/builders.rs +++ b/sdk/marketplacemetering/src/operation/resolve_customer/builders.rs @@ -22,9 +22,9 @@ impl ResolveCustomerFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -86,6 +86,22 @@ impl ResolveCustomerFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::resolve_customer::ResolveCustomer, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::resolve_customer::ResolveCustomerError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                      When a buyer visits your website during the registration process, the buyer submits a registration token through the browser. The registration token is resolved to obtain a CustomerIdentifier along with the CustomerAWSAccountId and ProductCode.

                                                                                                                                                                                                      pub fn registration_token( mut self, diff --git a/sdk/mediaconnect/src/operation/add_bridge_outputs/builders.rs b/sdk/mediaconnect/src/operation/add_bridge_outputs/builders.rs index 39c737bc0c9c..e2f35d8e6d34 100644 --- a/sdk/mediaconnect/src/operation/add_bridge_outputs/builders.rs +++ b/sdk/mediaconnect/src/operation/add_bridge_outputs/builders.rs @@ -19,9 +19,9 @@ impl AddBridgeOutputsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl AddBridgeOutputsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::add_bridge_outputs::AddBridgeOutputs, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::add_bridge_outputs::AddBridgeOutputsError, + >, + > { + self.customize_middleware().await + } /// The ARN of the bridge that you want to update. pub fn bridge_arn(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.bridge_arn(input.into()); diff --git a/sdk/mediaconnect/src/operation/add_bridge_sources/builders.rs b/sdk/mediaconnect/src/operation/add_bridge_sources/builders.rs index 44fc94618913..2513812d92da 100644 --- a/sdk/mediaconnect/src/operation/add_bridge_sources/builders.rs +++ b/sdk/mediaconnect/src/operation/add_bridge_sources/builders.rs @@ -19,9 +19,9 @@ impl AddBridgeSourcesFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl AddBridgeSourcesFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::add_bridge_sources::AddBridgeSources, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::add_bridge_sources::AddBridgeSourcesError, + >, + > { + self.customize_middleware().await + } /// The ARN of the bridge that you want to update. pub fn bridge_arn(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.bridge_arn(input.into()); diff --git a/sdk/mediaconnect/src/operation/add_flow_media_streams/builders.rs b/sdk/mediaconnect/src/operation/add_flow_media_streams/builders.rs index 6c9417b53b86..52b5122f80ba 100644 --- a/sdk/mediaconnect/src/operation/add_flow_media_streams/builders.rs +++ b/sdk/mediaconnect/src/operation/add_flow_media_streams/builders.rs @@ -19,9 +19,9 @@ impl AddFlowMediaStreamsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl AddFlowMediaStreamsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::add_flow_media_streams::AddFlowMediaStreams, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::add_flow_media_streams::AddFlowMediaStreamsError, + >, + > { + self.customize_middleware().await + } /// The Amazon Resource Name (ARN) of the flow. pub fn flow_arn(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.flow_arn(input.into()); diff --git a/sdk/mediaconnect/src/operation/add_flow_outputs/builders.rs b/sdk/mediaconnect/src/operation/add_flow_outputs/builders.rs index cf5f34e33602..5405f16bce0b 100644 --- a/sdk/mediaconnect/src/operation/add_flow_outputs/builders.rs +++ b/sdk/mediaconnect/src/operation/add_flow_outputs/builders.rs @@ -19,9 +19,9 @@ impl AddFlowOutputsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl AddFlowOutputsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::add_flow_outputs::AddFlowOutputs, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::add_flow_outputs::AddFlowOutputsError, + >, + > { + self.customize_middleware().await + } /// The flow that you want to add outputs to. pub fn flow_arn(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.flow_arn(input.into()); diff --git a/sdk/mediaconnect/src/operation/add_flow_sources/builders.rs b/sdk/mediaconnect/src/operation/add_flow_sources/builders.rs index f0cab765cd6f..1caf1ec0fd9a 100644 --- a/sdk/mediaconnect/src/operation/add_flow_sources/builders.rs +++ b/sdk/mediaconnect/src/operation/add_flow_sources/builders.rs @@ -19,9 +19,9 @@ impl AddFlowSourcesFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl AddFlowSourcesFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::add_flow_sources::AddFlowSources, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::add_flow_sources::AddFlowSourcesError, + >, + > { + self.customize_middleware().await + } /// The flow that you want to mutate. pub fn flow_arn(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.flow_arn(input.into()); diff --git a/sdk/mediaconnect/src/operation/add_flow_vpc_interfaces/builders.rs b/sdk/mediaconnect/src/operation/add_flow_vpc_interfaces/builders.rs index 6d3f13bf35e6..94a072d5c0ac 100644 --- a/sdk/mediaconnect/src/operation/add_flow_vpc_interfaces/builders.rs +++ b/sdk/mediaconnect/src/operation/add_flow_vpc_interfaces/builders.rs @@ -19,9 +19,9 @@ impl AddFlowVpcInterfacesFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl AddFlowVpcInterfacesFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::add_flow_vpc_interfaces::AddFlowVpcInterfaces, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::add_flow_vpc_interfaces::AddFlowVpcInterfacesError, + >, + > { + self.customize_middleware().await + } /// The flow that you want to mutate. pub fn flow_arn(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.flow_arn(input.into()); diff --git a/sdk/mediaconnect/src/operation/create_bridge/builders.rs b/sdk/mediaconnect/src/operation/create_bridge/builders.rs index 1dc1a9efe64d..88ad37a77032 100644 --- a/sdk/mediaconnect/src/operation/create_bridge/builders.rs +++ b/sdk/mediaconnect/src/operation/create_bridge/builders.rs @@ -19,9 +19,9 @@ impl CreateBridgeFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl CreateBridgeFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::create_bridge::CreateBridge, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } /// Create a bridge with the egress bridge type. An egress bridge is a cloud-to-ground bridge. The content comes from an existing MediaConnect flow and is delivered to your premises. pub fn egress_gateway_bridge( mut self, diff --git a/sdk/mediaconnect/src/operation/create_flow/builders.rs b/sdk/mediaconnect/src/operation/create_flow/builders.rs index 5051ac160a48..8f72dc8babd9 100644 --- a/sdk/mediaconnect/src/operation/create_flow/builders.rs +++ b/sdk/mediaconnect/src/operation/create_flow/builders.rs @@ -19,9 +19,9 @@ impl CreateFlowFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl CreateFlowFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::create_flow::CreateFlow, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } /// The Availability Zone that you want to create the flow in. These options are limited to the Availability Zones within the current AWS Region. pub fn availability_zone( mut self, diff --git a/sdk/mediaconnect/src/operation/create_gateway/builders.rs b/sdk/mediaconnect/src/operation/create_gateway/builders.rs index 1d592fb6ac94..447b34119061 100644 --- a/sdk/mediaconnect/src/operation/create_gateway/builders.rs +++ b/sdk/mediaconnect/src/operation/create_gateway/builders.rs @@ -19,9 +19,9 @@ impl CreateGatewayFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl CreateGatewayFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::create_gateway::CreateGateway, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } /// Appends an item to `EgressCidrBlocks`. /// /// To override the contents of this collection use [`set_egress_cidr_blocks`](Self::set_egress_cidr_blocks). diff --git a/sdk/mediaconnect/src/operation/delete_bridge/builders.rs b/sdk/mediaconnect/src/operation/delete_bridge/builders.rs index 49fa2f1e0810..04706e6f38d6 100644 --- a/sdk/mediaconnect/src/operation/delete_bridge/builders.rs +++ b/sdk/mediaconnect/src/operation/delete_bridge/builders.rs @@ -19,9 +19,9 @@ impl DeleteBridgeFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl DeleteBridgeFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::delete_bridge::DeleteBridge, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } /// The ARN of the bridge that you want to delete. pub fn bridge_arn(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.bridge_arn(input.into()); diff --git a/sdk/mediaconnect/src/operation/delete_flow/builders.rs b/sdk/mediaconnect/src/operation/delete_flow/builders.rs index 3e270014f198..43680d60f8ea 100644 --- a/sdk/mediaconnect/src/operation/delete_flow/builders.rs +++ b/sdk/mediaconnect/src/operation/delete_flow/builders.rs @@ -19,9 +19,9 @@ impl DeleteFlowFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl DeleteFlowFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::delete_flow::DeleteFlow, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } /// The ARN of the flow that you want to delete. pub fn flow_arn(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.flow_arn(input.into()); diff --git a/sdk/mediaconnect/src/operation/delete_gateway/builders.rs b/sdk/mediaconnect/src/operation/delete_gateway/builders.rs index 9195a5dcae2b..82af3206f5f4 100644 --- a/sdk/mediaconnect/src/operation/delete_gateway/builders.rs +++ b/sdk/mediaconnect/src/operation/delete_gateway/builders.rs @@ -19,9 +19,9 @@ impl DeleteGatewayFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl DeleteGatewayFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::delete_gateway::DeleteGateway, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } /// The ARN of the gateway that you want to delete. pub fn gateway_arn(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.gateway_arn(input.into()); diff --git a/sdk/mediaconnect/src/operation/deregister_gateway_instance/builders.rs b/sdk/mediaconnect/src/operation/deregister_gateway_instance/builders.rs index 81a94142823a..f92820707fa7 100644 --- a/sdk/mediaconnect/src/operation/deregister_gateway_instance/builders.rs +++ b/sdk/mediaconnect/src/operation/deregister_gateway_instance/builders.rs @@ -19,9 +19,9 @@ impl DeregisterGatewayInstanceFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl DeregisterGatewayInstanceFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::deregister_gateway_instance::DeregisterGatewayInstance, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::deregister_gateway_instance::DeregisterGatewayInstanceError, + >, + > { + self.customize_middleware().await + } /// Force the deregistration of an instance. Force will deregister an instance, even if there are bridges running on it. pub fn force(mut self, input: bool) -> Self { self.inner = self.inner.force(input); diff --git a/sdk/mediaconnect/src/operation/describe_bridge/builders.rs b/sdk/mediaconnect/src/operation/describe_bridge/builders.rs index 6b055c4b7fca..286403471a1b 100644 --- a/sdk/mediaconnect/src/operation/describe_bridge/builders.rs +++ b/sdk/mediaconnect/src/operation/describe_bridge/builders.rs @@ -19,9 +19,9 @@ impl DescribeBridgeFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl DescribeBridgeFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::describe_bridge::DescribeBridge, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } /// The ARN of the bridge that you want to describe. pub fn bridge_arn(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.bridge_arn(input.into()); diff --git a/sdk/mediaconnect/src/operation/describe_flow/builders.rs b/sdk/mediaconnect/src/operation/describe_flow/builders.rs index aa668f898c46..a228ed3c855e 100644 --- a/sdk/mediaconnect/src/operation/describe_flow/builders.rs +++ b/sdk/mediaconnect/src/operation/describe_flow/builders.rs @@ -19,9 +19,9 @@ impl DescribeFlowFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl DescribeFlowFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::describe_flow::DescribeFlow, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } /// The ARN of the flow that you want to describe. pub fn flow_arn(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.flow_arn(input.into()); diff --git a/sdk/mediaconnect/src/operation/describe_gateway/builders.rs b/sdk/mediaconnect/src/operation/describe_gateway/builders.rs index f272261117d1..dc386dbc95fc 100644 --- a/sdk/mediaconnect/src/operation/describe_gateway/builders.rs +++ b/sdk/mediaconnect/src/operation/describe_gateway/builders.rs @@ -19,9 +19,9 @@ impl DescribeGatewayFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl DescribeGatewayFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::describe_gateway::DescribeGateway, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::describe_gateway::DescribeGatewayError, + >, + > { + self.customize_middleware().await + } /// The Amazon Resource Name (ARN) of the gateway that you want to describe. pub fn gateway_arn(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.gateway_arn(input.into()); diff --git a/sdk/mediaconnect/src/operation/describe_gateway_instance/builders.rs b/sdk/mediaconnect/src/operation/describe_gateway_instance/builders.rs index cf90c03f1e53..babb55486bd8 100644 --- a/sdk/mediaconnect/src/operation/describe_gateway_instance/builders.rs +++ b/sdk/mediaconnect/src/operation/describe_gateway_instance/builders.rs @@ -20,9 +20,9 @@ impl DescribeGatewayInstanceFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -84,6 +84,22 @@ impl DescribeGatewayInstanceFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::describe_gateway_instance::DescribeGatewayInstance, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::describe_gateway_instance::DescribeGatewayInstanceError, + >, + > { + self.customize_middleware().await + } /// The Amazon Resource Name (ARN) of the gateway instance that you want to describe. pub fn gateway_instance_arn( mut self, diff --git a/sdk/mediaconnect/src/operation/describe_offering/builders.rs b/sdk/mediaconnect/src/operation/describe_offering/builders.rs index 3f50c257f4ea..3e96f67fec08 100644 --- a/sdk/mediaconnect/src/operation/describe_offering/builders.rs +++ b/sdk/mediaconnect/src/operation/describe_offering/builders.rs @@ -19,9 +19,9 @@ impl DescribeOfferingFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl DescribeOfferingFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::describe_offering::DescribeOffering, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::describe_offering::DescribeOfferingError, + >, + > { + self.customize_middleware().await + } /// The Amazon Resource Name (ARN) of the offering. pub fn offering_arn(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.offering_arn(input.into()); diff --git a/sdk/mediaconnect/src/operation/describe_reservation/builders.rs b/sdk/mediaconnect/src/operation/describe_reservation/builders.rs index cbb8b0ba3ddf..eba4f8a6ad46 100644 --- a/sdk/mediaconnect/src/operation/describe_reservation/builders.rs +++ b/sdk/mediaconnect/src/operation/describe_reservation/builders.rs @@ -19,9 +19,9 @@ impl DescribeReservationFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl DescribeReservationFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::describe_reservation::DescribeReservation, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::describe_reservation::DescribeReservationError, + >, + > { + self.customize_middleware().await + } /// The Amazon Resource Name (ARN) of the reservation. pub fn reservation_arn( mut self, diff --git a/sdk/mediaconnect/src/operation/grant_flow_entitlements/builders.rs b/sdk/mediaconnect/src/operation/grant_flow_entitlements/builders.rs index 847a6453a785..60f87254b791 100644 --- a/sdk/mediaconnect/src/operation/grant_flow_entitlements/builders.rs +++ b/sdk/mediaconnect/src/operation/grant_flow_entitlements/builders.rs @@ -19,9 +19,9 @@ impl GrantFlowEntitlementsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl GrantFlowEntitlementsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::grant_flow_entitlements::GrantFlowEntitlements, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::grant_flow_entitlements::GrantFlowEntitlementsError, + >, + > { + self.customize_middleware().await + } /// Appends an item to `Entitlements`. /// /// To override the contents of this collection use [`set_entitlements`](Self::set_entitlements). diff --git a/sdk/mediaconnect/src/operation/list_bridges/builders.rs b/sdk/mediaconnect/src/operation/list_bridges/builders.rs index 2e0dad7ea1f7..19d25a2ea660 100644 --- a/sdk/mediaconnect/src/operation/list_bridges/builders.rs +++ b/sdk/mediaconnect/src/operation/list_bridges/builders.rs @@ -19,9 +19,9 @@ impl ListBridgesFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl ListBridgesFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_bridges::ListBridges, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::list_bridges::paginator::ListBridgesPaginator::send) which returns a `Stream`. diff --git a/sdk/mediaconnect/src/operation/list_entitlements/builders.rs b/sdk/mediaconnect/src/operation/list_entitlements/builders.rs index 7d81015b4ead..a130c1d214d1 100644 --- a/sdk/mediaconnect/src/operation/list_entitlements/builders.rs +++ b/sdk/mediaconnect/src/operation/list_entitlements/builders.rs @@ -19,9 +19,9 @@ impl ListEntitlementsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl ListEntitlementsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_entitlements::ListEntitlements, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::list_entitlements::ListEntitlementsError, + >, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::list_entitlements::paginator::ListEntitlementsPaginator::send) which returns a `Stream`. diff --git a/sdk/mediaconnect/src/operation/list_flows/builders.rs b/sdk/mediaconnect/src/operation/list_flows/builders.rs index c9c278fd90a9..60696eaebbb7 100644 --- a/sdk/mediaconnect/src/operation/list_flows/builders.rs +++ b/sdk/mediaconnect/src/operation/list_flows/builders.rs @@ -19,9 +19,9 @@ impl ListFlowsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl ListFlowsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_flows::ListFlows, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::list_flows::paginator::ListFlowsPaginator::send) which returns a `Stream`. diff --git a/sdk/mediaconnect/src/operation/list_gateway_instances/builders.rs b/sdk/mediaconnect/src/operation/list_gateway_instances/builders.rs index 4dd0ecf88ecd..d68228b47e31 100644 --- a/sdk/mediaconnect/src/operation/list_gateway_instances/builders.rs +++ b/sdk/mediaconnect/src/operation/list_gateway_instances/builders.rs @@ -19,9 +19,9 @@ impl ListGatewayInstancesFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl ListGatewayInstancesFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_gateway_instances::ListGatewayInstances, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::list_gateway_instances::ListGatewayInstancesError, + >, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::list_gateway_instances::paginator::ListGatewayInstancesPaginator::send) which returns a `Stream`. diff --git a/sdk/mediaconnect/src/operation/list_gateways/builders.rs b/sdk/mediaconnect/src/operation/list_gateways/builders.rs index e920abf894e4..d9652301edda 100644 --- a/sdk/mediaconnect/src/operation/list_gateways/builders.rs +++ b/sdk/mediaconnect/src/operation/list_gateways/builders.rs @@ -19,9 +19,9 @@ impl ListGatewaysFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl ListGatewaysFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_gateways::ListGateways, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::list_gateways::paginator::ListGatewaysPaginator::send) which returns a `Stream`. diff --git a/sdk/mediaconnect/src/operation/list_offerings/builders.rs b/sdk/mediaconnect/src/operation/list_offerings/builders.rs index 47cefb780990..14a677f6d523 100644 --- a/sdk/mediaconnect/src/operation/list_offerings/builders.rs +++ b/sdk/mediaconnect/src/operation/list_offerings/builders.rs @@ -19,9 +19,9 @@ impl ListOfferingsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl ListOfferingsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_offerings::ListOfferings, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::list_offerings::paginator::ListOfferingsPaginator::send) which returns a `Stream`. diff --git a/sdk/mediaconnect/src/operation/list_reservations/builders.rs b/sdk/mediaconnect/src/operation/list_reservations/builders.rs index f371797c1cd9..6a0f99904abe 100644 --- a/sdk/mediaconnect/src/operation/list_reservations/builders.rs +++ b/sdk/mediaconnect/src/operation/list_reservations/builders.rs @@ -19,9 +19,9 @@ impl ListReservationsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl ListReservationsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_reservations::ListReservations, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::list_reservations::ListReservationsError, + >, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::list_reservations::paginator::ListReservationsPaginator::send) which returns a `Stream`. diff --git a/sdk/mediaconnect/src/operation/list_tags_for_resource/builders.rs b/sdk/mediaconnect/src/operation/list_tags_for_resource/builders.rs index 4c3637af41a2..a0d1a8fb9aea 100644 --- a/sdk/mediaconnect/src/operation/list_tags_for_resource/builders.rs +++ b/sdk/mediaconnect/src/operation/list_tags_for_resource/builders.rs @@ -19,9 +19,9 @@ impl ListTagsForResourceFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl ListTagsForResourceFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_tags_for_resource::ListTagsForResource, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::list_tags_for_resource::ListTagsForResourceError, + >, + > { + self.customize_middleware().await + } /// The Amazon Resource Name (ARN) that identifies the AWS Elemental MediaConnect resource for which to list the tags. pub fn resource_arn(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.resource_arn(input.into()); diff --git a/sdk/mediaconnect/src/operation/purchase_offering/builders.rs b/sdk/mediaconnect/src/operation/purchase_offering/builders.rs index 952370454b74..37685fac2568 100644 --- a/sdk/mediaconnect/src/operation/purchase_offering/builders.rs +++ b/sdk/mediaconnect/src/operation/purchase_offering/builders.rs @@ -19,9 +19,9 @@ impl PurchaseOfferingFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl PurchaseOfferingFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::purchase_offering::PurchaseOffering, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::purchase_offering::PurchaseOfferingError, + >, + > { + self.customize_middleware().await + } /// The Amazon Resource Name (ARN) of the offering. pub fn offering_arn(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.offering_arn(input.into()); diff --git a/sdk/mediaconnect/src/operation/remove_bridge_output/builders.rs b/sdk/mediaconnect/src/operation/remove_bridge_output/builders.rs index 2e48ed13502d..8722ca89f059 100644 --- a/sdk/mediaconnect/src/operation/remove_bridge_output/builders.rs +++ b/sdk/mediaconnect/src/operation/remove_bridge_output/builders.rs @@ -19,9 +19,9 @@ impl RemoveBridgeOutputFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl RemoveBridgeOutputFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::remove_bridge_output::RemoveBridgeOutput, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::remove_bridge_output::RemoveBridgeOutputError, + >, + > { + self.customize_middleware().await + } /// The ARN of the bridge that you want to update. pub fn bridge_arn(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.bridge_arn(input.into()); diff --git a/sdk/mediaconnect/src/operation/remove_bridge_source/builders.rs b/sdk/mediaconnect/src/operation/remove_bridge_source/builders.rs index eed678d9b322..a76ace3e1229 100644 --- a/sdk/mediaconnect/src/operation/remove_bridge_source/builders.rs +++ b/sdk/mediaconnect/src/operation/remove_bridge_source/builders.rs @@ -19,9 +19,9 @@ impl RemoveBridgeSourceFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl RemoveBridgeSourceFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::remove_bridge_source::RemoveBridgeSource, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::remove_bridge_source::RemoveBridgeSourceError, + >, + > { + self.customize_middleware().await + } /// The ARN of the bridge that you want to update. pub fn bridge_arn(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.bridge_arn(input.into()); diff --git a/sdk/mediaconnect/src/operation/remove_flow_media_stream/builders.rs b/sdk/mediaconnect/src/operation/remove_flow_media_stream/builders.rs index 5f474092de3a..3b1cfc4abe02 100644 --- a/sdk/mediaconnect/src/operation/remove_flow_media_stream/builders.rs +++ b/sdk/mediaconnect/src/operation/remove_flow_media_stream/builders.rs @@ -19,9 +19,9 @@ impl RemoveFlowMediaStreamFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl RemoveFlowMediaStreamFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::remove_flow_media_stream::RemoveFlowMediaStream, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::remove_flow_media_stream::RemoveFlowMediaStreamError, + >, + > { + self.customize_middleware().await + } /// The Amazon Resource Name (ARN) of the flow. pub fn flow_arn(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.flow_arn(input.into()); diff --git a/sdk/mediaconnect/src/operation/remove_flow_output/builders.rs b/sdk/mediaconnect/src/operation/remove_flow_output/builders.rs index 00f1f259439d..de74f806841e 100644 --- a/sdk/mediaconnect/src/operation/remove_flow_output/builders.rs +++ b/sdk/mediaconnect/src/operation/remove_flow_output/builders.rs @@ -19,9 +19,9 @@ impl RemoveFlowOutputFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl RemoveFlowOutputFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::remove_flow_output::RemoveFlowOutput, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::remove_flow_output::RemoveFlowOutputError, + >, + > { + self.customize_middleware().await + } /// The flow that you want to remove an output from. pub fn flow_arn(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.flow_arn(input.into()); diff --git a/sdk/mediaconnect/src/operation/remove_flow_source/builders.rs b/sdk/mediaconnect/src/operation/remove_flow_source/builders.rs index baeb099c79ab..a4404babc377 100644 --- a/sdk/mediaconnect/src/operation/remove_flow_source/builders.rs +++ b/sdk/mediaconnect/src/operation/remove_flow_source/builders.rs @@ -19,9 +19,9 @@ impl RemoveFlowSourceFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl RemoveFlowSourceFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::remove_flow_source::RemoveFlowSource, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::remove_flow_source::RemoveFlowSourceError, + >, + > { + self.customize_middleware().await + } /// The flow that you want to remove a source from. pub fn flow_arn(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.flow_arn(input.into()); diff --git a/sdk/mediaconnect/src/operation/remove_flow_vpc_interface/builders.rs b/sdk/mediaconnect/src/operation/remove_flow_vpc_interface/builders.rs index aa280e47cd50..1def54fdbcb9 100644 --- a/sdk/mediaconnect/src/operation/remove_flow_vpc_interface/builders.rs +++ b/sdk/mediaconnect/src/operation/remove_flow_vpc_interface/builders.rs @@ -20,9 +20,9 @@ impl RemoveFlowVpcInterfaceFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -84,6 +84,22 @@ impl RemoveFlowVpcInterfaceFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::remove_flow_vpc_interface::RemoveFlowVpcInterface, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::remove_flow_vpc_interface::RemoveFlowVpcInterfaceError, + >, + > { + self.customize_middleware().await + } /// The flow that you want to remove a VPC interface from. pub fn flow_arn(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.flow_arn(input.into()); diff --git a/sdk/mediaconnect/src/operation/revoke_flow_entitlement/builders.rs b/sdk/mediaconnect/src/operation/revoke_flow_entitlement/builders.rs index 79d2d30c544c..887e5f905122 100644 --- a/sdk/mediaconnect/src/operation/revoke_flow_entitlement/builders.rs +++ b/sdk/mediaconnect/src/operation/revoke_flow_entitlement/builders.rs @@ -19,9 +19,9 @@ impl RevokeFlowEntitlementFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl RevokeFlowEntitlementFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::revoke_flow_entitlement::RevokeFlowEntitlement, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::revoke_flow_entitlement::RevokeFlowEntitlementError, + >, + > { + self.customize_middleware().await + } /// The ARN of the entitlement that you want to revoke. pub fn entitlement_arn( mut self, diff --git a/sdk/mediaconnect/src/operation/start_flow/builders.rs b/sdk/mediaconnect/src/operation/start_flow/builders.rs index b6545f1ce6d9..7838c57183ae 100644 --- a/sdk/mediaconnect/src/operation/start_flow/builders.rs +++ b/sdk/mediaconnect/src/operation/start_flow/builders.rs @@ -19,9 +19,9 @@ impl StartFlowFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl StartFlowFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::start_flow::StartFlow, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } /// The ARN of the flow that you want to start. pub fn flow_arn(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.flow_arn(input.into()); diff --git a/sdk/mediaconnect/src/operation/stop_flow/builders.rs b/sdk/mediaconnect/src/operation/stop_flow/builders.rs index 8bb0affb078c..b25e21a289d2 100644 --- a/sdk/mediaconnect/src/operation/stop_flow/builders.rs +++ b/sdk/mediaconnect/src/operation/stop_flow/builders.rs @@ -19,9 +19,9 @@ impl StopFlowFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl StopFlowFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::stop_flow::StopFlow, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } /// The ARN of the flow that you want to stop. pub fn flow_arn(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.flow_arn(input.into()); diff --git a/sdk/mediaconnect/src/operation/tag_resource/builders.rs b/sdk/mediaconnect/src/operation/tag_resource/builders.rs index 45c8dae512cc..da178b3c292d 100644 --- a/sdk/mediaconnect/src/operation/tag_resource/builders.rs +++ b/sdk/mediaconnect/src/operation/tag_resource/builders.rs @@ -19,9 +19,9 @@ impl TagResourceFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl TagResourceFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::tag_resource::TagResource, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } /// The Amazon Resource Name (ARN) that identifies the AWS Elemental MediaConnect resource to which to add tags. pub fn resource_arn(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.resource_arn(input.into()); diff --git a/sdk/mediaconnect/src/operation/untag_resource/builders.rs b/sdk/mediaconnect/src/operation/untag_resource/builders.rs index 4088d94b330a..ae710033748f 100644 --- a/sdk/mediaconnect/src/operation/untag_resource/builders.rs +++ b/sdk/mediaconnect/src/operation/untag_resource/builders.rs @@ -19,9 +19,9 @@ impl UntagResourceFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl UntagResourceFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::untag_resource::UntagResource, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } /// The Amazon Resource Name (ARN) that identifies the AWS Elemental MediaConnect resource from which to delete tags. pub fn resource_arn(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.resource_arn(input.into()); diff --git a/sdk/mediaconnect/src/operation/update_bridge/builders.rs b/sdk/mediaconnect/src/operation/update_bridge/builders.rs index d3b9ded98df6..e0ee3ad30919 100644 --- a/sdk/mediaconnect/src/operation/update_bridge/builders.rs +++ b/sdk/mediaconnect/src/operation/update_bridge/builders.rs @@ -19,9 +19,9 @@ impl UpdateBridgeFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl UpdateBridgeFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::update_bridge::UpdateBridge, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } /// The Amazon Resource Number (ARN) of the bridge that you want to update. pub fn bridge_arn(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.bridge_arn(input.into()); diff --git a/sdk/mediaconnect/src/operation/update_bridge_output/builders.rs b/sdk/mediaconnect/src/operation/update_bridge_output/builders.rs index b5e3b5ed8172..cba9b028d98c 100644 --- a/sdk/mediaconnect/src/operation/update_bridge_output/builders.rs +++ b/sdk/mediaconnect/src/operation/update_bridge_output/builders.rs @@ -19,9 +19,9 @@ impl UpdateBridgeOutputFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl UpdateBridgeOutputFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::update_bridge_output::UpdateBridgeOutput, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::update_bridge_output::UpdateBridgeOutputError, + >, + > { + self.customize_middleware().await + } /// The ARN of the bridge that you want to update. pub fn bridge_arn(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.bridge_arn(input.into()); diff --git a/sdk/mediaconnect/src/operation/update_bridge_source/builders.rs b/sdk/mediaconnect/src/operation/update_bridge_source/builders.rs index db7d41e06173..6fadaa692155 100644 --- a/sdk/mediaconnect/src/operation/update_bridge_source/builders.rs +++ b/sdk/mediaconnect/src/operation/update_bridge_source/builders.rs @@ -19,9 +19,9 @@ impl UpdateBridgeSourceFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl UpdateBridgeSourceFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::update_bridge_source::UpdateBridgeSource, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::update_bridge_source::UpdateBridgeSourceError, + >, + > { + self.customize_middleware().await + } /// The ARN of the bridge that you want to update. pub fn bridge_arn(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.bridge_arn(input.into()); diff --git a/sdk/mediaconnect/src/operation/update_bridge_state/builders.rs b/sdk/mediaconnect/src/operation/update_bridge_state/builders.rs index 17004d312296..e247359699e0 100644 --- a/sdk/mediaconnect/src/operation/update_bridge_state/builders.rs +++ b/sdk/mediaconnect/src/operation/update_bridge_state/builders.rs @@ -19,9 +19,9 @@ impl UpdateBridgeStateFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl UpdateBridgeStateFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::update_bridge_state::UpdateBridgeState, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::update_bridge_state::UpdateBridgeStateError, + >, + > { + self.customize_middleware().await + } /// The ARN of the bridge that you want to update. pub fn bridge_arn(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.bridge_arn(input.into()); diff --git a/sdk/mediaconnect/src/operation/update_flow/builders.rs b/sdk/mediaconnect/src/operation/update_flow/builders.rs index 77747afc31cd..24f27d1825dd 100644 --- a/sdk/mediaconnect/src/operation/update_flow/builders.rs +++ b/sdk/mediaconnect/src/operation/update_flow/builders.rs @@ -19,9 +19,9 @@ impl UpdateFlowFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl UpdateFlowFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::update_flow::UpdateFlow, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } /// The flow that you want to update. pub fn flow_arn(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.flow_arn(input.into()); diff --git a/sdk/mediaconnect/src/operation/update_flow_entitlement/builders.rs b/sdk/mediaconnect/src/operation/update_flow_entitlement/builders.rs index 124f17dad356..d1f1ab9fdb44 100644 --- a/sdk/mediaconnect/src/operation/update_flow_entitlement/builders.rs +++ b/sdk/mediaconnect/src/operation/update_flow_entitlement/builders.rs @@ -19,9 +19,9 @@ impl UpdateFlowEntitlementFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl UpdateFlowEntitlementFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::update_flow_entitlement::UpdateFlowEntitlement, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::update_flow_entitlement::UpdateFlowEntitlementError, + >, + > { + self.customize_middleware().await + } /// A description of the entitlement. This description appears only on the AWS Elemental MediaConnect console and will not be seen by the subscriber or end user. pub fn description(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.description(input.into()); diff --git a/sdk/mediaconnect/src/operation/update_flow_media_stream/builders.rs b/sdk/mediaconnect/src/operation/update_flow_media_stream/builders.rs index da0035ab92d9..d2c75809464e 100644 --- a/sdk/mediaconnect/src/operation/update_flow_media_stream/builders.rs +++ b/sdk/mediaconnect/src/operation/update_flow_media_stream/builders.rs @@ -19,9 +19,9 @@ impl UpdateFlowMediaStreamFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl UpdateFlowMediaStreamFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::update_flow_media_stream::UpdateFlowMediaStream, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::update_flow_media_stream::UpdateFlowMediaStreamError, + >, + > { + self.customize_middleware().await + } /// The attributes that you want to assign to the media stream. pub fn attributes(mut self, input: crate::types::MediaStreamAttributesRequest) -> Self { self.inner = self.inner.attributes(input); diff --git a/sdk/mediaconnect/src/operation/update_flow_output/builders.rs b/sdk/mediaconnect/src/operation/update_flow_output/builders.rs index b4a3e80fa747..a7db36efd598 100644 --- a/sdk/mediaconnect/src/operation/update_flow_output/builders.rs +++ b/sdk/mediaconnect/src/operation/update_flow_output/builders.rs @@ -19,9 +19,9 @@ impl UpdateFlowOutputFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl UpdateFlowOutputFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::update_flow_output::UpdateFlowOutput, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::update_flow_output::UpdateFlowOutputError, + >, + > { + self.customize_middleware().await + } /// Appends an item to `CidrAllowList`. /// /// To override the contents of this collection use [`set_cidr_allow_list`](Self::set_cidr_allow_list). diff --git a/sdk/mediaconnect/src/operation/update_flow_source/builders.rs b/sdk/mediaconnect/src/operation/update_flow_source/builders.rs index c937c367d854..b7a08cb9cc0f 100644 --- a/sdk/mediaconnect/src/operation/update_flow_source/builders.rs +++ b/sdk/mediaconnect/src/operation/update_flow_source/builders.rs @@ -19,9 +19,9 @@ impl UpdateFlowSourceFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl UpdateFlowSourceFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::update_flow_source::UpdateFlowSource, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::update_flow_source::UpdateFlowSourceError, + >, + > { + self.customize_middleware().await + } /// The type of encryption used on the content ingested from this source. Allowable encryption types: static-key. pub fn decryption(mut self, input: crate::types::UpdateEncryption) -> Self { self.inner = self.inner.decryption(input); diff --git a/sdk/mediaconnect/src/operation/update_gateway_instance/builders.rs b/sdk/mediaconnect/src/operation/update_gateway_instance/builders.rs index 2948aa3fc67f..a692a7f4dd1f 100644 --- a/sdk/mediaconnect/src/operation/update_gateway_instance/builders.rs +++ b/sdk/mediaconnect/src/operation/update_gateway_instance/builders.rs @@ -19,9 +19,9 @@ impl UpdateGatewayInstanceFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl UpdateGatewayInstanceFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::update_gateway_instance::UpdateGatewayInstance, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::update_gateway_instance::UpdateGatewayInstanceError, + >, + > { + self.customize_middleware().await + } /// The availability of the instance to host new bridges. The bridgePlacement property can be LOCKED or AVAILABLE. If it is LOCKED, no new bridges can be deployed to this instance. If it is AVAILABLE, new bridges can be added to this instance. pub fn bridge_placement(mut self, input: crate::types::BridgePlacement) -> Self { self.inner = self.inner.bridge_placement(input); diff --git a/sdk/mediaconvert/src/operation/associate_certificate/builders.rs b/sdk/mediaconvert/src/operation/associate_certificate/builders.rs index ac7845a9fecd..ca468088f029 100644 --- a/sdk/mediaconvert/src/operation/associate_certificate/builders.rs +++ b/sdk/mediaconvert/src/operation/associate_certificate/builders.rs @@ -19,9 +19,9 @@ impl AssociateCertificateFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl AssociateCertificateFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::associate_certificate::AssociateCertificate, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::associate_certificate::AssociateCertificateError, + >, + > { + self.customize_middleware().await + } /// The ARN of the ACM certificate that you want to associate with your MediaConvert resource. pub fn arn(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.arn(input.into()); diff --git a/sdk/mediaconvert/src/operation/cancel_job/builders.rs b/sdk/mediaconvert/src/operation/cancel_job/builders.rs index 0fc558bd18d3..828e12610482 100644 --- a/sdk/mediaconvert/src/operation/cancel_job/builders.rs +++ b/sdk/mediaconvert/src/operation/cancel_job/builders.rs @@ -19,9 +19,9 @@ impl CancelJobFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl CancelJobFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::cancel_job::CancelJob, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } /// The Job ID of the job to be cancelled. pub fn id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.id(input.into()); diff --git a/sdk/mediaconvert/src/operation/create_job/builders.rs b/sdk/mediaconvert/src/operation/create_job/builders.rs index a246ef3d212e..0b2aeb703635 100644 --- a/sdk/mediaconvert/src/operation/create_job/builders.rs +++ b/sdk/mediaconvert/src/operation/create_job/builders.rs @@ -19,9 +19,9 @@ impl CreateJobFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl CreateJobFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::create_job::CreateJob, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } /// Optional. Accelerated transcoding can significantly speed up jobs with long, visually complex content. Outputs that use this feature incur pro-tier pricing. For information about feature limitations, see the AWS Elemental MediaConvert User Guide. pub fn acceleration_settings(mut self, input: crate::types::AccelerationSettings) -> Self { self.inner = self.inner.acceleration_settings(input); diff --git a/sdk/mediaconvert/src/operation/create_job_template/builders.rs b/sdk/mediaconvert/src/operation/create_job_template/builders.rs index 86f4d4414c08..5963e547f88b 100644 --- a/sdk/mediaconvert/src/operation/create_job_template/builders.rs +++ b/sdk/mediaconvert/src/operation/create_job_template/builders.rs @@ -19,9 +19,9 @@ impl CreateJobTemplateFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl CreateJobTemplateFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::create_job_template::CreateJobTemplate, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::create_job_template::CreateJobTemplateError, + >, + > { + self.customize_middleware().await + } /// Accelerated transcoding can significantly speed up jobs with long, visually complex content. Outputs that use this feature incur pro-tier pricing. For information about feature limitations, see the AWS Elemental MediaConvert User Guide. pub fn acceleration_settings(mut self, input: crate::types::AccelerationSettings) -> Self { self.inner = self.inner.acceleration_settings(input); diff --git a/sdk/mediaconvert/src/operation/create_preset/builders.rs b/sdk/mediaconvert/src/operation/create_preset/builders.rs index 36582b3f8820..b242dd6815a8 100644 --- a/sdk/mediaconvert/src/operation/create_preset/builders.rs +++ b/sdk/mediaconvert/src/operation/create_preset/builders.rs @@ -19,9 +19,9 @@ impl CreatePresetFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl CreatePresetFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::create_preset::CreatePreset, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } /// Optional. A category for the preset you are creating. pub fn category(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.category(input.into()); diff --git a/sdk/mediaconvert/src/operation/create_queue/builders.rs b/sdk/mediaconvert/src/operation/create_queue/builders.rs index acafdad1ff90..8787b71b2079 100644 --- a/sdk/mediaconvert/src/operation/create_queue/builders.rs +++ b/sdk/mediaconvert/src/operation/create_queue/builders.rs @@ -19,9 +19,9 @@ impl CreateQueueFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl CreateQueueFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::create_queue::CreateQueue, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } /// Optional. A description of the queue that you are creating. pub fn description(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.description(input.into()); diff --git a/sdk/mediaconvert/src/operation/delete_job_template/builders.rs b/sdk/mediaconvert/src/operation/delete_job_template/builders.rs index 1288f55d0579..624aa1905db8 100644 --- a/sdk/mediaconvert/src/operation/delete_job_template/builders.rs +++ b/sdk/mediaconvert/src/operation/delete_job_template/builders.rs @@ -19,9 +19,9 @@ impl DeleteJobTemplateFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl DeleteJobTemplateFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::delete_job_template::DeleteJobTemplate, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::delete_job_template::DeleteJobTemplateError, + >, + > { + self.customize_middleware().await + } /// The name of the job template to be deleted. pub fn name(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.name(input.into()); diff --git a/sdk/mediaconvert/src/operation/delete_policy/builders.rs b/sdk/mediaconvert/src/operation/delete_policy/builders.rs index f744ce000930..23474e0a82ba 100644 --- a/sdk/mediaconvert/src/operation/delete_policy/builders.rs +++ b/sdk/mediaconvert/src/operation/delete_policy/builders.rs @@ -19,9 +19,9 @@ impl DeletePolicyFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,4 +77,18 @@ impl DeletePolicyFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::delete_policy::DeletePolicy, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } } diff --git a/sdk/mediaconvert/src/operation/delete_preset/builders.rs b/sdk/mediaconvert/src/operation/delete_preset/builders.rs index ed67e877fcbf..56b16a52fbcd 100644 --- a/sdk/mediaconvert/src/operation/delete_preset/builders.rs +++ b/sdk/mediaconvert/src/operation/delete_preset/builders.rs @@ -19,9 +19,9 @@ impl DeletePresetFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl DeletePresetFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::delete_preset::DeletePreset, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } /// The name of the preset to be deleted. pub fn name(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.name(input.into()); diff --git a/sdk/mediaconvert/src/operation/delete_queue/builders.rs b/sdk/mediaconvert/src/operation/delete_queue/builders.rs index aff76a9b7487..989ca735d63b 100644 --- a/sdk/mediaconvert/src/operation/delete_queue/builders.rs +++ b/sdk/mediaconvert/src/operation/delete_queue/builders.rs @@ -19,9 +19,9 @@ impl DeleteQueueFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl DeleteQueueFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::delete_queue::DeleteQueue, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } /// The name of the queue that you want to delete. pub fn name(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.name(input.into()); diff --git a/sdk/mediaconvert/src/operation/describe_endpoints/builders.rs b/sdk/mediaconvert/src/operation/describe_endpoints/builders.rs index 38f0212ff811..256a9ac281bb 100644 --- a/sdk/mediaconvert/src/operation/describe_endpoints/builders.rs +++ b/sdk/mediaconvert/src/operation/describe_endpoints/builders.rs @@ -19,9 +19,9 @@ impl DescribeEndpointsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl DescribeEndpointsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::describe_endpoints::DescribeEndpoints, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::describe_endpoints::DescribeEndpointsError, + >, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::describe_endpoints::paginator::DescribeEndpointsPaginator::send) which returns a `Stream`. diff --git a/sdk/mediaconvert/src/operation/disassociate_certificate/builders.rs b/sdk/mediaconvert/src/operation/disassociate_certificate/builders.rs index ab98ee8addfb..dbb026612e90 100644 --- a/sdk/mediaconvert/src/operation/disassociate_certificate/builders.rs +++ b/sdk/mediaconvert/src/operation/disassociate_certificate/builders.rs @@ -20,9 +20,9 @@ impl DisassociateCertificateFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -84,6 +84,22 @@ impl DisassociateCertificateFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::disassociate_certificate::DisassociateCertificate, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::disassociate_certificate::DisassociateCertificateError, + >, + > { + self.customize_middleware().await + } /// The ARN of the ACM certificate that you want to disassociate from your MediaConvert resource. pub fn arn(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.arn(input.into()); diff --git a/sdk/mediaconvert/src/operation/get_job/builders.rs b/sdk/mediaconvert/src/operation/get_job/builders.rs index ef02c9a8be2f..d5e70a4bfcb7 100644 --- a/sdk/mediaconvert/src/operation/get_job/builders.rs +++ b/sdk/mediaconvert/src/operation/get_job/builders.rs @@ -19,9 +19,9 @@ impl GetJobFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl GetJobFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::get_job::GetJob, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } /// the job ID of the job. pub fn id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.id(input.into()); diff --git a/sdk/mediaconvert/src/operation/get_job_template/builders.rs b/sdk/mediaconvert/src/operation/get_job_template/builders.rs index 86c5c1b00ee3..97a346e48586 100644 --- a/sdk/mediaconvert/src/operation/get_job_template/builders.rs +++ b/sdk/mediaconvert/src/operation/get_job_template/builders.rs @@ -19,9 +19,9 @@ impl GetJobTemplateFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl GetJobTemplateFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::get_job_template::GetJobTemplate, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::get_job_template::GetJobTemplateError, + >, + > { + self.customize_middleware().await + } /// The name of the job template. pub fn name(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.name(input.into()); diff --git a/sdk/mediaconvert/src/operation/get_policy/builders.rs b/sdk/mediaconvert/src/operation/get_policy/builders.rs index 069dc4def7ab..91944f4b1159 100644 --- a/sdk/mediaconvert/src/operation/get_policy/builders.rs +++ b/sdk/mediaconvert/src/operation/get_policy/builders.rs @@ -19,9 +19,9 @@ impl GetPolicyFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,4 +77,18 @@ impl GetPolicyFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::get_policy::GetPolicy, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } } diff --git a/sdk/mediaconvert/src/operation/get_preset/builders.rs b/sdk/mediaconvert/src/operation/get_preset/builders.rs index 55ee8f6b37fe..f97fd5cb0fcf 100644 --- a/sdk/mediaconvert/src/operation/get_preset/builders.rs +++ b/sdk/mediaconvert/src/operation/get_preset/builders.rs @@ -19,9 +19,9 @@ impl GetPresetFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl GetPresetFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::get_preset::GetPreset, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } /// The name of the preset. pub fn name(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.name(input.into()); diff --git a/sdk/mediaconvert/src/operation/get_queue/builders.rs b/sdk/mediaconvert/src/operation/get_queue/builders.rs index 8af06879b546..1c1258b08117 100644 --- a/sdk/mediaconvert/src/operation/get_queue/builders.rs +++ b/sdk/mediaconvert/src/operation/get_queue/builders.rs @@ -19,9 +19,9 @@ impl GetQueueFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl GetQueueFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::get_queue::GetQueue, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } /// The name of the queue that you want information about. pub fn name(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.name(input.into()); diff --git a/sdk/mediaconvert/src/operation/list_job_templates/builders.rs b/sdk/mediaconvert/src/operation/list_job_templates/builders.rs index 309de001b9ba..9b5aea615b2f 100644 --- a/sdk/mediaconvert/src/operation/list_job_templates/builders.rs +++ b/sdk/mediaconvert/src/operation/list_job_templates/builders.rs @@ -19,9 +19,9 @@ impl ListJobTemplatesFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl ListJobTemplatesFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_job_templates::ListJobTemplates, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::list_job_templates::ListJobTemplatesError, + >, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::list_job_templates::paginator::ListJobTemplatesPaginator::send) which returns a `Stream`. diff --git a/sdk/mediaconvert/src/operation/list_jobs/builders.rs b/sdk/mediaconvert/src/operation/list_jobs/builders.rs index e41cecbd3bd8..71304b954789 100644 --- a/sdk/mediaconvert/src/operation/list_jobs/builders.rs +++ b/sdk/mediaconvert/src/operation/list_jobs/builders.rs @@ -19,9 +19,9 @@ impl ListJobsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl ListJobsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_jobs::ListJobs, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::list_jobs::paginator::ListJobsPaginator::send) which returns a `Stream`. diff --git a/sdk/mediaconvert/src/operation/list_presets/builders.rs b/sdk/mediaconvert/src/operation/list_presets/builders.rs index 4ffad4a0c71d..453f9548c5fe 100644 --- a/sdk/mediaconvert/src/operation/list_presets/builders.rs +++ b/sdk/mediaconvert/src/operation/list_presets/builders.rs @@ -19,9 +19,9 @@ impl ListPresetsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl ListPresetsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_presets::ListPresets, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::list_presets::paginator::ListPresetsPaginator::send) which returns a `Stream`. diff --git a/sdk/mediaconvert/src/operation/list_queues/builders.rs b/sdk/mediaconvert/src/operation/list_queues/builders.rs index fd63220c8448..20215aa98d62 100644 --- a/sdk/mediaconvert/src/operation/list_queues/builders.rs +++ b/sdk/mediaconvert/src/operation/list_queues/builders.rs @@ -19,9 +19,9 @@ impl ListQueuesFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl ListQueuesFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_queues::ListQueues, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::list_queues::paginator::ListQueuesPaginator::send) which returns a `Stream`. diff --git a/sdk/mediaconvert/src/operation/list_tags_for_resource/builders.rs b/sdk/mediaconvert/src/operation/list_tags_for_resource/builders.rs index 4bb6c6db97a9..0a00f7ceb1d6 100644 --- a/sdk/mediaconvert/src/operation/list_tags_for_resource/builders.rs +++ b/sdk/mediaconvert/src/operation/list_tags_for_resource/builders.rs @@ -19,9 +19,9 @@ impl ListTagsForResourceFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl ListTagsForResourceFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_tags_for_resource::ListTagsForResource, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::list_tags_for_resource::ListTagsForResourceError, + >, + > { + self.customize_middleware().await + } /// The Amazon Resource Name (ARN) of the resource that you want to list tags for. To get the ARN, send a GET request with the resource name. pub fn arn(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.arn(input.into()); diff --git a/sdk/mediaconvert/src/operation/put_policy/builders.rs b/sdk/mediaconvert/src/operation/put_policy/builders.rs index d96c9d967626..e5d2229e3a14 100644 --- a/sdk/mediaconvert/src/operation/put_policy/builders.rs +++ b/sdk/mediaconvert/src/operation/put_policy/builders.rs @@ -19,9 +19,9 @@ impl PutPolicyFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl PutPolicyFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::put_policy::PutPolicy, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } /// A policy configures behavior that you allow or disallow for your account. For information about MediaConvert policies, see the user guide at http://docs.aws.amazon.com/mediaconvert/latest/ug/what-is.html pub fn policy(mut self, input: crate::types::Policy) -> Self { self.inner = self.inner.policy(input); diff --git a/sdk/mediaconvert/src/operation/tag_resource/builders.rs b/sdk/mediaconvert/src/operation/tag_resource/builders.rs index 772aa90fba42..97b44f977890 100644 --- a/sdk/mediaconvert/src/operation/tag_resource/builders.rs +++ b/sdk/mediaconvert/src/operation/tag_resource/builders.rs @@ -19,9 +19,9 @@ impl TagResourceFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl TagResourceFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::tag_resource::TagResource, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } /// The Amazon Resource Name (ARN) of the resource that you want to tag. To get the ARN, send a GET request with the resource name. pub fn arn(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.arn(input.into()); diff --git a/sdk/mediaconvert/src/operation/untag_resource/builders.rs b/sdk/mediaconvert/src/operation/untag_resource/builders.rs index 6036aaa48bf7..05567e6b9966 100644 --- a/sdk/mediaconvert/src/operation/untag_resource/builders.rs +++ b/sdk/mediaconvert/src/operation/untag_resource/builders.rs @@ -19,9 +19,9 @@ impl UntagResourceFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl UntagResourceFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::untag_resource::UntagResource, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } /// The Amazon Resource Name (ARN) of the resource that you want to remove tags from. To get the ARN, send a GET request with the resource name. pub fn arn(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.arn(input.into()); diff --git a/sdk/mediaconvert/src/operation/update_job_template/builders.rs b/sdk/mediaconvert/src/operation/update_job_template/builders.rs index 510788a01653..5fee4c7d49ab 100644 --- a/sdk/mediaconvert/src/operation/update_job_template/builders.rs +++ b/sdk/mediaconvert/src/operation/update_job_template/builders.rs @@ -19,9 +19,9 @@ impl UpdateJobTemplateFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl UpdateJobTemplateFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::update_job_template::UpdateJobTemplate, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::update_job_template::UpdateJobTemplateError, + >, + > { + self.customize_middleware().await + } /// Accelerated transcoding can significantly speed up jobs with long, visually complex content. Outputs that use this feature incur pro-tier pricing. For information about feature limitations, see the AWS Elemental MediaConvert User Guide. pub fn acceleration_settings(mut self, input: crate::types::AccelerationSettings) -> Self { self.inner = self.inner.acceleration_settings(input); diff --git a/sdk/mediaconvert/src/operation/update_preset/builders.rs b/sdk/mediaconvert/src/operation/update_preset/builders.rs index 0daf094f5d3d..65328b28e704 100644 --- a/sdk/mediaconvert/src/operation/update_preset/builders.rs +++ b/sdk/mediaconvert/src/operation/update_preset/builders.rs @@ -19,9 +19,9 @@ impl UpdatePresetFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl UpdatePresetFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::update_preset::UpdatePreset, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } /// The new category for the preset, if you are changing it. pub fn category(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.category(input.into()); diff --git a/sdk/mediaconvert/src/operation/update_queue/builders.rs b/sdk/mediaconvert/src/operation/update_queue/builders.rs index 9e79f3cb95b0..8260257a8dc2 100644 --- a/sdk/mediaconvert/src/operation/update_queue/builders.rs +++ b/sdk/mediaconvert/src/operation/update_queue/builders.rs @@ -19,9 +19,9 @@ impl UpdateQueueFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl UpdateQueueFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::update_queue::UpdateQueue, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } /// The new description for the queue, if you are changing it. pub fn description(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.description(input.into()); diff --git a/sdk/medialive/src/operation/accept_input_device_transfer/builders.rs b/sdk/medialive/src/operation/accept_input_device_transfer/builders.rs index 2b3021957080..2f3ee86e84e9 100644 --- a/sdk/medialive/src/operation/accept_input_device_transfer/builders.rs +++ b/sdk/medialive/src/operation/accept_input_device_transfer/builders.rs @@ -19,9 +19,9 @@ impl AcceptInputDeviceTransferFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl AcceptInputDeviceTransferFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::accept_input_device_transfer::AcceptInputDeviceTransfer, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::accept_input_device_transfer::AcceptInputDeviceTransferError, + >, + > { + self.customize_middleware().await + } /// The unique ID of the input device to accept. For example, hd-123456789abcdef. pub fn input_device_id( mut self, diff --git a/sdk/medialive/src/operation/batch_delete/builders.rs b/sdk/medialive/src/operation/batch_delete/builders.rs index f5fb152cbce8..404ef9d6565b 100644 --- a/sdk/medialive/src/operation/batch_delete/builders.rs +++ b/sdk/medialive/src/operation/batch_delete/builders.rs @@ -19,9 +19,9 @@ impl BatchDeleteFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl BatchDeleteFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::batch_delete::BatchDelete, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } /// Appends an item to `ChannelIds`. /// /// To override the contents of this collection use [`set_channel_ids`](Self::set_channel_ids). diff --git a/sdk/medialive/src/operation/batch_start/builders.rs b/sdk/medialive/src/operation/batch_start/builders.rs index 1dec3a477b72..4369fc244685 100644 --- a/sdk/medialive/src/operation/batch_start/builders.rs +++ b/sdk/medialive/src/operation/batch_start/builders.rs @@ -19,9 +19,9 @@ impl BatchStartFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl BatchStartFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::batch_start::BatchStart, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } /// Appends an item to `ChannelIds`. /// /// To override the contents of this collection use [`set_channel_ids`](Self::set_channel_ids). diff --git a/sdk/medialive/src/operation/batch_stop/builders.rs b/sdk/medialive/src/operation/batch_stop/builders.rs index 4c01b207e95a..da2c02d9c788 100644 --- a/sdk/medialive/src/operation/batch_stop/builders.rs +++ b/sdk/medialive/src/operation/batch_stop/builders.rs @@ -19,9 +19,9 @@ impl BatchStopFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl BatchStopFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::batch_stop::BatchStop, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } /// Appends an item to `ChannelIds`. /// /// To override the contents of this collection use [`set_channel_ids`](Self::set_channel_ids). diff --git a/sdk/medialive/src/operation/batch_update_schedule/builders.rs b/sdk/medialive/src/operation/batch_update_schedule/builders.rs index 32c3b77b6e69..6f37dd4b79d1 100644 --- a/sdk/medialive/src/operation/batch_update_schedule/builders.rs +++ b/sdk/medialive/src/operation/batch_update_schedule/builders.rs @@ -19,9 +19,9 @@ impl BatchUpdateScheduleFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl BatchUpdateScheduleFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::batch_update_schedule::BatchUpdateSchedule, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::batch_update_schedule::BatchUpdateScheduleError, + >, + > { + self.customize_middleware().await + } /// Id of the channel whose schedule is being updated. pub fn channel_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.channel_id(input.into()); diff --git a/sdk/medialive/src/operation/cancel_input_device_transfer/builders.rs b/sdk/medialive/src/operation/cancel_input_device_transfer/builders.rs index d7dde25fee0a..6f3faedc1e58 100644 --- a/sdk/medialive/src/operation/cancel_input_device_transfer/builders.rs +++ b/sdk/medialive/src/operation/cancel_input_device_transfer/builders.rs @@ -19,9 +19,9 @@ impl CancelInputDeviceTransferFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl CancelInputDeviceTransferFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::cancel_input_device_transfer::CancelInputDeviceTransfer, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::cancel_input_device_transfer::CancelInputDeviceTransferError, + >, + > { + self.customize_middleware().await + } /// The unique ID of the input device to cancel. For example, hd-123456789abcdef. pub fn input_device_id( mut self, diff --git a/sdk/medialive/src/operation/claim_device/builders.rs b/sdk/medialive/src/operation/claim_device/builders.rs index 326c7d080d77..34ac26636c02 100644 --- a/sdk/medialive/src/operation/claim_device/builders.rs +++ b/sdk/medialive/src/operation/claim_device/builders.rs @@ -19,9 +19,9 @@ impl ClaimDeviceFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl ClaimDeviceFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::claim_device::ClaimDevice, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } /// The id of the device you want to claim. pub fn id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.id(input.into()); diff --git a/sdk/medialive/src/operation/create_channel/builders.rs b/sdk/medialive/src/operation/create_channel/builders.rs index c7d3ae8f21ea..e8d08e2e2b04 100644 --- a/sdk/medialive/src/operation/create_channel/builders.rs +++ b/sdk/medialive/src/operation/create_channel/builders.rs @@ -19,9 +19,9 @@ impl CreateChannelFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl CreateChannelFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::create_channel::CreateChannel, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } /// Specification of CDI inputs for this channel pub fn cdi_input_specification(mut self, input: crate::types::CdiInputSpecification) -> Self { self.inner = self.inner.cdi_input_specification(input); diff --git a/sdk/medialive/src/operation/create_input/builders.rs b/sdk/medialive/src/operation/create_input/builders.rs index 97c0df0ac969..848874dfdfed 100644 --- a/sdk/medialive/src/operation/create_input/builders.rs +++ b/sdk/medialive/src/operation/create_input/builders.rs @@ -19,9 +19,9 @@ impl CreateInputFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl CreateInputFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::create_input::CreateInput, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } /// Appends an item to `Destinations`. /// /// To override the contents of this collection use [`set_destinations`](Self::set_destinations). diff --git a/sdk/medialive/src/operation/create_input_security_group/builders.rs b/sdk/medialive/src/operation/create_input_security_group/builders.rs index 82b85b95fd3f..a762dd70f0a9 100644 --- a/sdk/medialive/src/operation/create_input_security_group/builders.rs +++ b/sdk/medialive/src/operation/create_input_security_group/builders.rs @@ -19,9 +19,9 @@ impl CreateInputSecurityGroupFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl CreateInputSecurityGroupFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::create_input_security_group::CreateInputSecurityGroup, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::create_input_security_group::CreateInputSecurityGroupError, + >, + > { + self.customize_middleware().await + } /// Adds a key-value pair to `Tags`. /// /// To override the contents of this collection use [`set_tags`](Self::set_tags). diff --git a/sdk/medialive/src/operation/create_multiplex/builders.rs b/sdk/medialive/src/operation/create_multiplex/builders.rs index 0f62ca62aa7e..6555b4887cc1 100644 --- a/sdk/medialive/src/operation/create_multiplex/builders.rs +++ b/sdk/medialive/src/operation/create_multiplex/builders.rs @@ -19,9 +19,9 @@ impl CreateMultiplexFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl CreateMultiplexFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::create_multiplex::CreateMultiplex, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::create_multiplex::CreateMultiplexError, + >, + > { + self.customize_middleware().await + } /// Appends an item to `AvailabilityZones`. /// /// To override the contents of this collection use [`set_availability_zones`](Self::set_availability_zones). diff --git a/sdk/medialive/src/operation/create_multiplex_program/builders.rs b/sdk/medialive/src/operation/create_multiplex_program/builders.rs index a1bac0e617bd..8b2cbacfc7b3 100644 --- a/sdk/medialive/src/operation/create_multiplex_program/builders.rs +++ b/sdk/medialive/src/operation/create_multiplex_program/builders.rs @@ -19,9 +19,9 @@ impl CreateMultiplexProgramFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl CreateMultiplexProgramFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::create_multiplex_program::CreateMultiplexProgram, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::create_multiplex_program::CreateMultiplexProgramError, + >, + > { + self.customize_middleware().await + } /// ID of the multiplex where the program is to be created. pub fn multiplex_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.multiplex_id(input.into()); diff --git a/sdk/medialive/src/operation/create_partner_input/builders.rs b/sdk/medialive/src/operation/create_partner_input/builders.rs index 8ee1cc1f2bc2..5ad6ed2ed52a 100644 --- a/sdk/medialive/src/operation/create_partner_input/builders.rs +++ b/sdk/medialive/src/operation/create_partner_input/builders.rs @@ -19,9 +19,9 @@ impl CreatePartnerInputFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl CreatePartnerInputFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::create_partner_input::CreatePartnerInput, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::create_partner_input::CreatePartnerInputError, + >, + > { + self.customize_middleware().await + } /// Unique ID of the input. pub fn input_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.input_id(input.into()); diff --git a/sdk/medialive/src/operation/create_tags/builders.rs b/sdk/medialive/src/operation/create_tags/builders.rs index c6b1a1706e49..e6f0538b8eaa 100644 --- a/sdk/medialive/src/operation/create_tags/builders.rs +++ b/sdk/medialive/src/operation/create_tags/builders.rs @@ -19,9 +19,9 @@ impl CreateTagsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl CreateTagsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::create_tags::CreateTags, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } /// Placeholder documentation for __string pub fn resource_arn(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.resource_arn(input.into()); diff --git a/sdk/medialive/src/operation/delete_channel/builders.rs b/sdk/medialive/src/operation/delete_channel/builders.rs index b517c6162799..949d904fe70d 100644 --- a/sdk/medialive/src/operation/delete_channel/builders.rs +++ b/sdk/medialive/src/operation/delete_channel/builders.rs @@ -19,9 +19,9 @@ impl DeleteChannelFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl DeleteChannelFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::delete_channel::DeleteChannel, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } /// Unique ID of the channel. pub fn channel_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.channel_id(input.into()); diff --git a/sdk/medialive/src/operation/delete_input/builders.rs b/sdk/medialive/src/operation/delete_input/builders.rs index 2c7e068e97bb..092daa384a33 100644 --- a/sdk/medialive/src/operation/delete_input/builders.rs +++ b/sdk/medialive/src/operation/delete_input/builders.rs @@ -19,9 +19,9 @@ impl DeleteInputFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl DeleteInputFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::delete_input::DeleteInput, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } /// Unique ID of the input pub fn input_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.input_id(input.into()); diff --git a/sdk/medialive/src/operation/delete_input_security_group/builders.rs b/sdk/medialive/src/operation/delete_input_security_group/builders.rs index bbf46a7b1c42..ef2b15b4a941 100644 --- a/sdk/medialive/src/operation/delete_input_security_group/builders.rs +++ b/sdk/medialive/src/operation/delete_input_security_group/builders.rs @@ -19,9 +19,9 @@ impl DeleteInputSecurityGroupFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl DeleteInputSecurityGroupFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::delete_input_security_group::DeleteInputSecurityGroup, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::delete_input_security_group::DeleteInputSecurityGroupError, + >, + > { + self.customize_middleware().await + } /// The Input Security Group to delete pub fn input_security_group_id( mut self, diff --git a/sdk/medialive/src/operation/delete_multiplex/builders.rs b/sdk/medialive/src/operation/delete_multiplex/builders.rs index 82a4ac160e3e..dffc6a2f9266 100644 --- a/sdk/medialive/src/operation/delete_multiplex/builders.rs +++ b/sdk/medialive/src/operation/delete_multiplex/builders.rs @@ -19,9 +19,9 @@ impl DeleteMultiplexFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl DeleteMultiplexFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::delete_multiplex::DeleteMultiplex, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::delete_multiplex::DeleteMultiplexError, + >, + > { + self.customize_middleware().await + } /// The ID of the multiplex. pub fn multiplex_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.multiplex_id(input.into()); diff --git a/sdk/medialive/src/operation/delete_multiplex_program/builders.rs b/sdk/medialive/src/operation/delete_multiplex_program/builders.rs index bc1504eee342..682f718e746b 100644 --- a/sdk/medialive/src/operation/delete_multiplex_program/builders.rs +++ b/sdk/medialive/src/operation/delete_multiplex_program/builders.rs @@ -19,9 +19,9 @@ impl DeleteMultiplexProgramFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl DeleteMultiplexProgramFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::delete_multiplex_program::DeleteMultiplexProgram, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::delete_multiplex_program::DeleteMultiplexProgramError, + >, + > { + self.customize_middleware().await + } /// The ID of the multiplex that the program belongs to. pub fn multiplex_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.multiplex_id(input.into()); diff --git a/sdk/medialive/src/operation/delete_reservation/builders.rs b/sdk/medialive/src/operation/delete_reservation/builders.rs index c88a96d5118b..a5901f2b3da0 100644 --- a/sdk/medialive/src/operation/delete_reservation/builders.rs +++ b/sdk/medialive/src/operation/delete_reservation/builders.rs @@ -19,9 +19,9 @@ impl DeleteReservationFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl DeleteReservationFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::delete_reservation::DeleteReservation, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::delete_reservation::DeleteReservationError, + >, + > { + self.customize_middleware().await + } /// Unique reservation ID, e.g. '1234567' pub fn reservation_id( mut self, diff --git a/sdk/medialive/src/operation/delete_schedule/builders.rs b/sdk/medialive/src/operation/delete_schedule/builders.rs index ca44b092f391..d447a7cd8aba 100644 --- a/sdk/medialive/src/operation/delete_schedule/builders.rs +++ b/sdk/medialive/src/operation/delete_schedule/builders.rs @@ -19,9 +19,9 @@ impl DeleteScheduleFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl DeleteScheduleFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::delete_schedule::DeleteSchedule, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } /// Id of the channel whose schedule is being deleted. pub fn channel_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.channel_id(input.into()); diff --git a/sdk/medialive/src/operation/delete_tags/builders.rs b/sdk/medialive/src/operation/delete_tags/builders.rs index dde0c0820539..6928090cdfac 100644 --- a/sdk/medialive/src/operation/delete_tags/builders.rs +++ b/sdk/medialive/src/operation/delete_tags/builders.rs @@ -19,9 +19,9 @@ impl DeleteTagsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl DeleteTagsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::delete_tags::DeleteTags, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } /// Placeholder documentation for __string pub fn resource_arn(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.resource_arn(input.into()); diff --git a/sdk/medialive/src/operation/describe_channel/builders.rs b/sdk/medialive/src/operation/describe_channel/builders.rs index 804682b6119c..fdd73976a63d 100644 --- a/sdk/medialive/src/operation/describe_channel/builders.rs +++ b/sdk/medialive/src/operation/describe_channel/builders.rs @@ -19,9 +19,9 @@ impl DescribeChannelFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl DescribeChannelFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::describe_channel::DescribeChannel, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::describe_channel::DescribeChannelError, + >, + > { + self.customize_middleware().await + } /// channel ID pub fn channel_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.channel_id(input.into()); diff --git a/sdk/medialive/src/operation/describe_input/builders.rs b/sdk/medialive/src/operation/describe_input/builders.rs index 8f304ba7ddde..25475a1e2e53 100644 --- a/sdk/medialive/src/operation/describe_input/builders.rs +++ b/sdk/medialive/src/operation/describe_input/builders.rs @@ -19,9 +19,9 @@ impl DescribeInputFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl DescribeInputFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::describe_input::DescribeInput, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } /// Unique ID of the input pub fn input_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.input_id(input.into()); diff --git a/sdk/medialive/src/operation/describe_input_device/builders.rs b/sdk/medialive/src/operation/describe_input_device/builders.rs index 733b3380ab4e..1bdcdf3e51f6 100644 --- a/sdk/medialive/src/operation/describe_input_device/builders.rs +++ b/sdk/medialive/src/operation/describe_input_device/builders.rs @@ -19,9 +19,9 @@ impl DescribeInputDeviceFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl DescribeInputDeviceFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::describe_input_device::DescribeInputDevice, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::describe_input_device::DescribeInputDeviceError, + >, + > { + self.customize_middleware().await + } /// The unique ID of this input device. For example, hd-123456789abcdef. pub fn input_device_id( mut self, diff --git a/sdk/medialive/src/operation/describe_input_device_thumbnail/builders.rs b/sdk/medialive/src/operation/describe_input_device_thumbnail/builders.rs index 1b78c987769a..f34e3d22fe83 100644 --- a/sdk/medialive/src/operation/describe_input_device_thumbnail/builders.rs +++ b/sdk/medialive/src/operation/describe_input_device_thumbnail/builders.rs @@ -19,9 +19,9 @@ impl DescribeInputDeviceThumbnailFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl DescribeInputDeviceThumbnailFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::describe_input_device_thumbnail::DescribeInputDeviceThumbnail, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::describe_input_device_thumbnail::DescribeInputDeviceThumbnailError, + >, + > { + self.customize_middleware().await + } /// The unique ID of this input device. For example, hd-123456789abcdef. pub fn input_device_id( mut self, diff --git a/sdk/medialive/src/operation/describe_input_security_group/builders.rs b/sdk/medialive/src/operation/describe_input_security_group/builders.rs index e93c7a2c71cd..b21464c7c897 100644 --- a/sdk/medialive/src/operation/describe_input_security_group/builders.rs +++ b/sdk/medialive/src/operation/describe_input_security_group/builders.rs @@ -19,9 +19,9 @@ impl DescribeInputSecurityGroupFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl DescribeInputSecurityGroupFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::describe_input_security_group::DescribeInputSecurityGroup, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::describe_input_security_group::DescribeInputSecurityGroupError, + >, + > { + self.customize_middleware().await + } /// The id of the Input Security Group to describe pub fn input_security_group_id( mut self, diff --git a/sdk/medialive/src/operation/describe_multiplex/builders.rs b/sdk/medialive/src/operation/describe_multiplex/builders.rs index 29d3aeb4a6b3..8e1c222bc95c 100644 --- a/sdk/medialive/src/operation/describe_multiplex/builders.rs +++ b/sdk/medialive/src/operation/describe_multiplex/builders.rs @@ -19,9 +19,9 @@ impl DescribeMultiplexFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl DescribeMultiplexFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::describe_multiplex::DescribeMultiplex, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::describe_multiplex::DescribeMultiplexError, + >, + > { + self.customize_middleware().await + } /// The ID of the multiplex. pub fn multiplex_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.multiplex_id(input.into()); diff --git a/sdk/medialive/src/operation/describe_multiplex_program/builders.rs b/sdk/medialive/src/operation/describe_multiplex_program/builders.rs index 485ef631a0be..7004a65734b1 100644 --- a/sdk/medialive/src/operation/describe_multiplex_program/builders.rs +++ b/sdk/medialive/src/operation/describe_multiplex_program/builders.rs @@ -19,9 +19,9 @@ impl DescribeMultiplexProgramFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl DescribeMultiplexProgramFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::describe_multiplex_program::DescribeMultiplexProgram, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::describe_multiplex_program::DescribeMultiplexProgramError, + >, + > { + self.customize_middleware().await + } /// The ID of the multiplex that the program belongs to. pub fn multiplex_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.multiplex_id(input.into()); diff --git a/sdk/medialive/src/operation/describe_offering/builders.rs b/sdk/medialive/src/operation/describe_offering/builders.rs index 070907534df7..55a06d404c51 100644 --- a/sdk/medialive/src/operation/describe_offering/builders.rs +++ b/sdk/medialive/src/operation/describe_offering/builders.rs @@ -19,9 +19,9 @@ impl DescribeOfferingFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl DescribeOfferingFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::describe_offering::DescribeOffering, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::describe_offering::DescribeOfferingError, + >, + > { + self.customize_middleware().await + } /// Unique offering ID, e.g. '87654321' pub fn offering_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.offering_id(input.into()); diff --git a/sdk/medialive/src/operation/describe_reservation/builders.rs b/sdk/medialive/src/operation/describe_reservation/builders.rs index 269a76223c9f..5205d1efd723 100644 --- a/sdk/medialive/src/operation/describe_reservation/builders.rs +++ b/sdk/medialive/src/operation/describe_reservation/builders.rs @@ -19,9 +19,9 @@ impl DescribeReservationFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl DescribeReservationFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::describe_reservation::DescribeReservation, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::describe_reservation::DescribeReservationError, + >, + > { + self.customize_middleware().await + } /// Unique reservation ID, e.g. '1234567' pub fn reservation_id( mut self, diff --git a/sdk/medialive/src/operation/describe_schedule/builders.rs b/sdk/medialive/src/operation/describe_schedule/builders.rs index b831350324f5..2f5cf4cee34d 100644 --- a/sdk/medialive/src/operation/describe_schedule/builders.rs +++ b/sdk/medialive/src/operation/describe_schedule/builders.rs @@ -19,9 +19,9 @@ impl DescribeScheduleFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl DescribeScheduleFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::describe_schedule::DescribeSchedule, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::describe_schedule::DescribeScheduleError, + >, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::describe_schedule::paginator::DescribeSchedulePaginator::send) which returns a `Stream`. diff --git a/sdk/medialive/src/operation/list_channels/builders.rs b/sdk/medialive/src/operation/list_channels/builders.rs index 7640e5845328..d8cc926b5bba 100644 --- a/sdk/medialive/src/operation/list_channels/builders.rs +++ b/sdk/medialive/src/operation/list_channels/builders.rs @@ -19,9 +19,9 @@ impl ListChannelsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl ListChannelsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_channels::ListChannels, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::list_channels::paginator::ListChannelsPaginator::send) which returns a `Stream`. diff --git a/sdk/medialive/src/operation/list_input_device_transfers/builders.rs b/sdk/medialive/src/operation/list_input_device_transfers/builders.rs index 72bcfa648201..87b371e19297 100644 --- a/sdk/medialive/src/operation/list_input_device_transfers/builders.rs +++ b/sdk/medialive/src/operation/list_input_device_transfers/builders.rs @@ -19,9 +19,9 @@ impl ListInputDeviceTransfersFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl ListInputDeviceTransfersFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_input_device_transfers::ListInputDeviceTransfers, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::list_input_device_transfers::ListInputDeviceTransfersError, + >, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::list_input_device_transfers::paginator::ListInputDeviceTransfersPaginator::send) which returns a `Stream`. diff --git a/sdk/medialive/src/operation/list_input_devices/builders.rs b/sdk/medialive/src/operation/list_input_devices/builders.rs index bd9796567447..b28cc1dad392 100644 --- a/sdk/medialive/src/operation/list_input_devices/builders.rs +++ b/sdk/medialive/src/operation/list_input_devices/builders.rs @@ -19,9 +19,9 @@ impl ListInputDevicesFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl ListInputDevicesFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_input_devices::ListInputDevices, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::list_input_devices::ListInputDevicesError, + >, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::list_input_devices::paginator::ListInputDevicesPaginator::send) which returns a `Stream`. diff --git a/sdk/medialive/src/operation/list_input_security_groups/builders.rs b/sdk/medialive/src/operation/list_input_security_groups/builders.rs index a26360c01ac6..a1a59c37840e 100644 --- a/sdk/medialive/src/operation/list_input_security_groups/builders.rs +++ b/sdk/medialive/src/operation/list_input_security_groups/builders.rs @@ -20,9 +20,9 @@ impl ListInputSecurityGroupsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -84,6 +84,22 @@ impl ListInputSecurityGroupsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_input_security_groups::ListInputSecurityGroups, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::list_input_security_groups::ListInputSecurityGroupsError, + >, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::list_input_security_groups::paginator::ListInputSecurityGroupsPaginator::send) which returns a `Stream`. diff --git a/sdk/medialive/src/operation/list_inputs/builders.rs b/sdk/medialive/src/operation/list_inputs/builders.rs index 57175bfdec0a..63dc0aec176e 100644 --- a/sdk/medialive/src/operation/list_inputs/builders.rs +++ b/sdk/medialive/src/operation/list_inputs/builders.rs @@ -19,9 +19,9 @@ impl ListInputsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl ListInputsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_inputs::ListInputs, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::list_inputs::paginator::ListInputsPaginator::send) which returns a `Stream`. diff --git a/sdk/medialive/src/operation/list_multiplex_programs/builders.rs b/sdk/medialive/src/operation/list_multiplex_programs/builders.rs index 6f2901e0b21f..a51870cbf923 100644 --- a/sdk/medialive/src/operation/list_multiplex_programs/builders.rs +++ b/sdk/medialive/src/operation/list_multiplex_programs/builders.rs @@ -19,9 +19,9 @@ impl ListMultiplexProgramsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl ListMultiplexProgramsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_multiplex_programs::ListMultiplexPrograms, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::list_multiplex_programs::ListMultiplexProgramsError, + >, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::list_multiplex_programs::paginator::ListMultiplexProgramsPaginator::send) which returns a `Stream`. diff --git a/sdk/medialive/src/operation/list_multiplexes/builders.rs b/sdk/medialive/src/operation/list_multiplexes/builders.rs index f471c6d37d4f..3b6740a9ad1e 100644 --- a/sdk/medialive/src/operation/list_multiplexes/builders.rs +++ b/sdk/medialive/src/operation/list_multiplexes/builders.rs @@ -19,9 +19,9 @@ impl ListMultiplexesFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl ListMultiplexesFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_multiplexes::ListMultiplexes, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::list_multiplexes::ListMultiplexesError, + >, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::list_multiplexes::paginator::ListMultiplexesPaginator::send) which returns a `Stream`. diff --git a/sdk/medialive/src/operation/list_offerings/builders.rs b/sdk/medialive/src/operation/list_offerings/builders.rs index 14fd46bb138e..7451fb59bd0e 100644 --- a/sdk/medialive/src/operation/list_offerings/builders.rs +++ b/sdk/medialive/src/operation/list_offerings/builders.rs @@ -19,9 +19,9 @@ impl ListOfferingsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl ListOfferingsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_offerings::ListOfferings, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::list_offerings::paginator::ListOfferingsPaginator::send) which returns a `Stream`. diff --git a/sdk/medialive/src/operation/list_reservations/builders.rs b/sdk/medialive/src/operation/list_reservations/builders.rs index 649d4a00f808..5bfa54f5958d 100644 --- a/sdk/medialive/src/operation/list_reservations/builders.rs +++ b/sdk/medialive/src/operation/list_reservations/builders.rs @@ -19,9 +19,9 @@ impl ListReservationsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl ListReservationsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_reservations::ListReservations, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::list_reservations::ListReservationsError, + >, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::list_reservations::paginator::ListReservationsPaginator::send) which returns a `Stream`. diff --git a/sdk/medialive/src/operation/list_tags_for_resource/builders.rs b/sdk/medialive/src/operation/list_tags_for_resource/builders.rs index 4ec12317bd7f..d5826ac79ba6 100644 --- a/sdk/medialive/src/operation/list_tags_for_resource/builders.rs +++ b/sdk/medialive/src/operation/list_tags_for_resource/builders.rs @@ -19,9 +19,9 @@ impl ListTagsForResourceFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl ListTagsForResourceFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_tags_for_resource::ListTagsForResource, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::list_tags_for_resource::ListTagsForResourceError, + >, + > { + self.customize_middleware().await + } /// Placeholder documentation for __string pub fn resource_arn(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.resource_arn(input.into()); diff --git a/sdk/medialive/src/operation/purchase_offering/builders.rs b/sdk/medialive/src/operation/purchase_offering/builders.rs index 6599ad23d1d3..2e0c12fba309 100644 --- a/sdk/medialive/src/operation/purchase_offering/builders.rs +++ b/sdk/medialive/src/operation/purchase_offering/builders.rs @@ -19,9 +19,9 @@ impl PurchaseOfferingFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl PurchaseOfferingFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::purchase_offering::PurchaseOffering, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::purchase_offering::PurchaseOfferingError, + >, + > { + self.customize_middleware().await + } /// Number of resources pub fn count(mut self, input: i32) -> Self { self.inner = self.inner.count(input); diff --git a/sdk/medialive/src/operation/reboot_input_device/builders.rs b/sdk/medialive/src/operation/reboot_input_device/builders.rs index 9416163ec1e0..d6fb4bd65b34 100644 --- a/sdk/medialive/src/operation/reboot_input_device/builders.rs +++ b/sdk/medialive/src/operation/reboot_input_device/builders.rs @@ -19,9 +19,9 @@ impl RebootInputDeviceFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl RebootInputDeviceFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::reboot_input_device::RebootInputDevice, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::reboot_input_device::RebootInputDeviceError, + >, + > { + self.customize_middleware().await + } /// Force a reboot of an input device. If the device is streaming, it will stop streaming and begin rebooting within a few seconds of sending the command. If the device was streaming prior to the reboot, the device will resume streaming when the reboot completes. pub fn force(mut self, input: crate::types::RebootInputDeviceForce) -> Self { self.inner = self.inner.force(input); diff --git a/sdk/medialive/src/operation/reject_input_device_transfer/builders.rs b/sdk/medialive/src/operation/reject_input_device_transfer/builders.rs index 5c313aa287a4..972f33f1879b 100644 --- a/sdk/medialive/src/operation/reject_input_device_transfer/builders.rs +++ b/sdk/medialive/src/operation/reject_input_device_transfer/builders.rs @@ -19,9 +19,9 @@ impl RejectInputDeviceTransferFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl RejectInputDeviceTransferFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::reject_input_device_transfer::RejectInputDeviceTransfer, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::reject_input_device_transfer::RejectInputDeviceTransferError, + >, + > { + self.customize_middleware().await + } /// The unique ID of the input device to reject. For example, hd-123456789abcdef. pub fn input_device_id( mut self, diff --git a/sdk/medialive/src/operation/start_channel/builders.rs b/sdk/medialive/src/operation/start_channel/builders.rs index 319c15a4593d..1a5dcb286159 100644 --- a/sdk/medialive/src/operation/start_channel/builders.rs +++ b/sdk/medialive/src/operation/start_channel/builders.rs @@ -19,9 +19,9 @@ impl StartChannelFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl StartChannelFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::start_channel::StartChannel, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } /// A request to start a channel pub fn channel_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.channel_id(input.into()); diff --git a/sdk/medialive/src/operation/start_input_device_maintenance_window/builders.rs b/sdk/medialive/src/operation/start_input_device_maintenance_window/builders.rs index cc59a92e4cca..9814eb30d893 100644 --- a/sdk/medialive/src/operation/start_input_device_maintenance_window/builders.rs +++ b/sdk/medialive/src/operation/start_input_device_maintenance_window/builders.rs @@ -19,9 +19,9 @@ impl StartInputDeviceMaintenanceWindowFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize(self) -> ::std::result::Result< + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware(self) -> ::std::result::Result< crate::client::customize::CustomizableOperation, ::aws_smithy_http::result::SdkError >{ @@ -64,6 +64,15 @@ impl StartInputDeviceMaintenanceWindowFluentBuilder { { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize(self) -> ::std::result::Result< + crate::client::customize::CustomizableOperation, + ::aws_smithy_http::result::SdkError + >{ + self.customize_middleware().await + } /// The unique ID of the input device to start a maintenance window for. For example, hd-123456789abcdef. pub fn input_device_id( mut self, diff --git a/sdk/medialive/src/operation/start_multiplex/builders.rs b/sdk/medialive/src/operation/start_multiplex/builders.rs index 0e3afd51fcfb..d5a48c3a5301 100644 --- a/sdk/medialive/src/operation/start_multiplex/builders.rs +++ b/sdk/medialive/src/operation/start_multiplex/builders.rs @@ -19,9 +19,9 @@ impl StartMultiplexFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl StartMultiplexFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::start_multiplex::StartMultiplex, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } /// The ID of the multiplex. pub fn multiplex_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.multiplex_id(input.into()); diff --git a/sdk/medialive/src/operation/stop_channel/builders.rs b/sdk/medialive/src/operation/stop_channel/builders.rs index be2901b279c2..289073c0b1f9 100644 --- a/sdk/medialive/src/operation/stop_channel/builders.rs +++ b/sdk/medialive/src/operation/stop_channel/builders.rs @@ -19,9 +19,9 @@ impl StopChannelFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl StopChannelFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::stop_channel::StopChannel, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } /// A request to stop a running channel pub fn channel_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.channel_id(input.into()); diff --git a/sdk/medialive/src/operation/stop_multiplex/builders.rs b/sdk/medialive/src/operation/stop_multiplex/builders.rs index 080a27c1ae7b..28ff805bf71f 100644 --- a/sdk/medialive/src/operation/stop_multiplex/builders.rs +++ b/sdk/medialive/src/operation/stop_multiplex/builders.rs @@ -19,9 +19,9 @@ impl StopMultiplexFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl StopMultiplexFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::stop_multiplex::StopMultiplex, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } /// The ID of the multiplex. pub fn multiplex_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.multiplex_id(input.into()); diff --git a/sdk/medialive/src/operation/transfer_input_device/builders.rs b/sdk/medialive/src/operation/transfer_input_device/builders.rs index 41abcb9e900d..caf609efdca5 100644 --- a/sdk/medialive/src/operation/transfer_input_device/builders.rs +++ b/sdk/medialive/src/operation/transfer_input_device/builders.rs @@ -19,9 +19,9 @@ impl TransferInputDeviceFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl TransferInputDeviceFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::transfer_input_device::TransferInputDevice, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::transfer_input_device::TransferInputDeviceError, + >, + > { + self.customize_middleware().await + } /// The unique ID of this input device. For example, hd-123456789abcdef. pub fn input_device_id( mut self, diff --git a/sdk/medialive/src/operation/update_channel/builders.rs b/sdk/medialive/src/operation/update_channel/builders.rs index 1a0fab455076..71e5fef2270e 100644 --- a/sdk/medialive/src/operation/update_channel/builders.rs +++ b/sdk/medialive/src/operation/update_channel/builders.rs @@ -19,9 +19,9 @@ impl UpdateChannelFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl UpdateChannelFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::update_channel::UpdateChannel, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } /// Specification of CDI inputs for this channel pub fn cdi_input_specification(mut self, input: crate::types::CdiInputSpecification) -> Self { self.inner = self.inner.cdi_input_specification(input); diff --git a/sdk/medialive/src/operation/update_channel_class/builders.rs b/sdk/medialive/src/operation/update_channel_class/builders.rs index d4c8045476dd..e4bedec0d7d6 100644 --- a/sdk/medialive/src/operation/update_channel_class/builders.rs +++ b/sdk/medialive/src/operation/update_channel_class/builders.rs @@ -19,9 +19,9 @@ impl UpdateChannelClassFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl UpdateChannelClassFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::update_channel_class::UpdateChannelClass, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::update_channel_class::UpdateChannelClassError, + >, + > { + self.customize_middleware().await + } /// The channel class that you wish to update this channel to use. pub fn channel_class(mut self, input: crate::types::ChannelClass) -> Self { self.inner = self.inner.channel_class(input); diff --git a/sdk/medialive/src/operation/update_input/builders.rs b/sdk/medialive/src/operation/update_input/builders.rs index aa3dbffd4e71..48c1229152fc 100644 --- a/sdk/medialive/src/operation/update_input/builders.rs +++ b/sdk/medialive/src/operation/update_input/builders.rs @@ -19,9 +19,9 @@ impl UpdateInputFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl UpdateInputFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::update_input::UpdateInput, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } /// Appends an item to `Destinations`. /// /// To override the contents of this collection use [`set_destinations`](Self::set_destinations). diff --git a/sdk/medialive/src/operation/update_input_device/builders.rs b/sdk/medialive/src/operation/update_input_device/builders.rs index 6d7e5ffe1c7e..95c0a670d1e9 100644 --- a/sdk/medialive/src/operation/update_input_device/builders.rs +++ b/sdk/medialive/src/operation/update_input_device/builders.rs @@ -19,9 +19,9 @@ impl UpdateInputDeviceFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl UpdateInputDeviceFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::update_input_device::UpdateInputDevice, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::update_input_device::UpdateInputDeviceError, + >, + > { + self.customize_middleware().await + } /// The settings that you want to apply to the HD input device. pub fn hd_device_settings( mut self, diff --git a/sdk/medialive/src/operation/update_input_security_group/builders.rs b/sdk/medialive/src/operation/update_input_security_group/builders.rs index 069472cccef3..9a4ed928b272 100644 --- a/sdk/medialive/src/operation/update_input_security_group/builders.rs +++ b/sdk/medialive/src/operation/update_input_security_group/builders.rs @@ -19,9 +19,9 @@ impl UpdateInputSecurityGroupFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl UpdateInputSecurityGroupFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::update_input_security_group::UpdateInputSecurityGroup, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::update_input_security_group::UpdateInputSecurityGroupError, + >, + > { + self.customize_middleware().await + } /// The id of the Input Security Group to update. pub fn input_security_group_id( mut self, diff --git a/sdk/medialive/src/operation/update_multiplex/builders.rs b/sdk/medialive/src/operation/update_multiplex/builders.rs index a93e6b84aa0e..a054a5579a04 100644 --- a/sdk/medialive/src/operation/update_multiplex/builders.rs +++ b/sdk/medialive/src/operation/update_multiplex/builders.rs @@ -19,9 +19,9 @@ impl UpdateMultiplexFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl UpdateMultiplexFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::update_multiplex::UpdateMultiplex, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::update_multiplex::UpdateMultiplexError, + >, + > { + self.customize_middleware().await + } /// ID of the multiplex to update. pub fn multiplex_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.multiplex_id(input.into()); diff --git a/sdk/medialive/src/operation/update_multiplex_program/builders.rs b/sdk/medialive/src/operation/update_multiplex_program/builders.rs index bd7fc3d4a56d..7c44fe61c11a 100644 --- a/sdk/medialive/src/operation/update_multiplex_program/builders.rs +++ b/sdk/medialive/src/operation/update_multiplex_program/builders.rs @@ -19,9 +19,9 @@ impl UpdateMultiplexProgramFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl UpdateMultiplexProgramFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::update_multiplex_program::UpdateMultiplexProgram, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::update_multiplex_program::UpdateMultiplexProgramError, + >, + > { + self.customize_middleware().await + } /// The ID of the multiplex of the program to update. pub fn multiplex_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.multiplex_id(input.into()); diff --git a/sdk/medialive/src/operation/update_reservation/builders.rs b/sdk/medialive/src/operation/update_reservation/builders.rs index 6cfe46a16957..135c99f29d7c 100644 --- a/sdk/medialive/src/operation/update_reservation/builders.rs +++ b/sdk/medialive/src/operation/update_reservation/builders.rs @@ -19,9 +19,9 @@ impl UpdateReservationFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl UpdateReservationFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::update_reservation::UpdateReservation, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::update_reservation::UpdateReservationError, + >, + > { + self.customize_middleware().await + } /// Name of the reservation pub fn name(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.name(input.into()); diff --git a/sdk/mediapackage/src/operation/configure_logs/builders.rs b/sdk/mediapackage/src/operation/configure_logs/builders.rs index 4f21ba13541f..b73761ae752d 100644 --- a/sdk/mediapackage/src/operation/configure_logs/builders.rs +++ b/sdk/mediapackage/src/operation/configure_logs/builders.rs @@ -19,9 +19,9 @@ impl ConfigureLogsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl ConfigureLogsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::configure_logs::ConfigureLogs, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } /// Configure egress access logging. pub fn egress_access_logs(mut self, input: crate::types::EgressAccessLogs) -> Self { self.inner = self.inner.egress_access_logs(input); diff --git a/sdk/mediapackage/src/operation/create_channel/builders.rs b/sdk/mediapackage/src/operation/create_channel/builders.rs index b2a82ddee04a..44b0f574085e 100644 --- a/sdk/mediapackage/src/operation/create_channel/builders.rs +++ b/sdk/mediapackage/src/operation/create_channel/builders.rs @@ -19,9 +19,9 @@ impl CreateChannelFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl CreateChannelFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::create_channel::CreateChannel, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } /// A short text description of the Channel. pub fn description(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.description(input.into()); diff --git a/sdk/mediapackage/src/operation/create_harvest_job/builders.rs b/sdk/mediapackage/src/operation/create_harvest_job/builders.rs index 5f77ba60b4a4..a2830c410ffe 100644 --- a/sdk/mediapackage/src/operation/create_harvest_job/builders.rs +++ b/sdk/mediapackage/src/operation/create_harvest_job/builders.rs @@ -19,9 +19,9 @@ impl CreateHarvestJobFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl CreateHarvestJobFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::create_harvest_job::CreateHarvestJob, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::create_harvest_job::CreateHarvestJobError, + >, + > { + self.customize_middleware().await + } /// The end of the time-window which will be harvested pub fn end_time(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.end_time(input.into()); diff --git a/sdk/mediapackage/src/operation/create_origin_endpoint/builders.rs b/sdk/mediapackage/src/operation/create_origin_endpoint/builders.rs index a6cb3ecd54ce..9830e7c2fdcb 100644 --- a/sdk/mediapackage/src/operation/create_origin_endpoint/builders.rs +++ b/sdk/mediapackage/src/operation/create_origin_endpoint/builders.rs @@ -19,9 +19,9 @@ impl CreateOriginEndpointFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl CreateOriginEndpointFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::create_origin_endpoint::CreateOriginEndpoint, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::create_origin_endpoint::CreateOriginEndpointError, + >, + > { + self.customize_middleware().await + } /// CDN Authorization credentials pub fn authorization(mut self, input: crate::types::Authorization) -> Self { self.inner = self.inner.authorization(input); diff --git a/sdk/mediapackage/src/operation/delete_channel/builders.rs b/sdk/mediapackage/src/operation/delete_channel/builders.rs index cece00daed08..7f63e61c0f4a 100644 --- a/sdk/mediapackage/src/operation/delete_channel/builders.rs +++ b/sdk/mediapackage/src/operation/delete_channel/builders.rs @@ -19,9 +19,9 @@ impl DeleteChannelFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl DeleteChannelFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::delete_channel::DeleteChannel, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } /// The ID of the Channel to delete. pub fn id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.id(input.into()); diff --git a/sdk/mediapackage/src/operation/delete_origin_endpoint/builders.rs b/sdk/mediapackage/src/operation/delete_origin_endpoint/builders.rs index 9b38da1eb44f..3422cdd20980 100644 --- a/sdk/mediapackage/src/operation/delete_origin_endpoint/builders.rs +++ b/sdk/mediapackage/src/operation/delete_origin_endpoint/builders.rs @@ -19,9 +19,9 @@ impl DeleteOriginEndpointFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl DeleteOriginEndpointFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::delete_origin_endpoint::DeleteOriginEndpoint, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::delete_origin_endpoint::DeleteOriginEndpointError, + >, + > { + self.customize_middleware().await + } /// The ID of the OriginEndpoint to delete. pub fn id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.id(input.into()); diff --git a/sdk/mediapackage/src/operation/describe_channel/builders.rs b/sdk/mediapackage/src/operation/describe_channel/builders.rs index 866e088ef628..db5df5d80e83 100644 --- a/sdk/mediapackage/src/operation/describe_channel/builders.rs +++ b/sdk/mediapackage/src/operation/describe_channel/builders.rs @@ -19,9 +19,9 @@ impl DescribeChannelFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl DescribeChannelFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::describe_channel::DescribeChannel, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::describe_channel::DescribeChannelError, + >, + > { + self.customize_middleware().await + } /// The ID of a Channel. pub fn id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.id(input.into()); diff --git a/sdk/mediapackage/src/operation/describe_harvest_job/builders.rs b/sdk/mediapackage/src/operation/describe_harvest_job/builders.rs index cd51f669b7bf..3fb07b6ba8d3 100644 --- a/sdk/mediapackage/src/operation/describe_harvest_job/builders.rs +++ b/sdk/mediapackage/src/operation/describe_harvest_job/builders.rs @@ -19,9 +19,9 @@ impl DescribeHarvestJobFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl DescribeHarvestJobFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::describe_harvest_job::DescribeHarvestJob, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::describe_harvest_job::DescribeHarvestJobError, + >, + > { + self.customize_middleware().await + } /// The ID of the HarvestJob. pub fn id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.id(input.into()); diff --git a/sdk/mediapackage/src/operation/describe_origin_endpoint/builders.rs b/sdk/mediapackage/src/operation/describe_origin_endpoint/builders.rs index 3ba64303b2d0..d28cde78222f 100644 --- a/sdk/mediapackage/src/operation/describe_origin_endpoint/builders.rs +++ b/sdk/mediapackage/src/operation/describe_origin_endpoint/builders.rs @@ -19,9 +19,9 @@ impl DescribeOriginEndpointFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl DescribeOriginEndpointFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::describe_origin_endpoint::DescribeOriginEndpoint, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::describe_origin_endpoint::DescribeOriginEndpointError, + >, + > { + self.customize_middleware().await + } /// The ID of the OriginEndpoint. pub fn id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.id(input.into()); diff --git a/sdk/mediapackage/src/operation/list_channels/builders.rs b/sdk/mediapackage/src/operation/list_channels/builders.rs index b19704e41a65..ed931fd63318 100644 --- a/sdk/mediapackage/src/operation/list_channels/builders.rs +++ b/sdk/mediapackage/src/operation/list_channels/builders.rs @@ -19,9 +19,9 @@ impl ListChannelsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl ListChannelsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_channels::ListChannels, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::list_channels::paginator::ListChannelsPaginator::send) which returns a `Stream`. diff --git a/sdk/mediapackage/src/operation/list_harvest_jobs/builders.rs b/sdk/mediapackage/src/operation/list_harvest_jobs/builders.rs index 183788d55ac4..a4ca0d10c1a0 100644 --- a/sdk/mediapackage/src/operation/list_harvest_jobs/builders.rs +++ b/sdk/mediapackage/src/operation/list_harvest_jobs/builders.rs @@ -19,9 +19,9 @@ impl ListHarvestJobsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl ListHarvestJobsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_harvest_jobs::ListHarvestJobs, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::list_harvest_jobs::ListHarvestJobsError, + >, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::list_harvest_jobs::paginator::ListHarvestJobsPaginator::send) which returns a `Stream`. diff --git a/sdk/mediapackage/src/operation/list_origin_endpoints/builders.rs b/sdk/mediapackage/src/operation/list_origin_endpoints/builders.rs index b5d301d4aa0d..f5b18242f0e6 100644 --- a/sdk/mediapackage/src/operation/list_origin_endpoints/builders.rs +++ b/sdk/mediapackage/src/operation/list_origin_endpoints/builders.rs @@ -19,9 +19,9 @@ impl ListOriginEndpointsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl ListOriginEndpointsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_origin_endpoints::ListOriginEndpoints, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::list_origin_endpoints::ListOriginEndpointsError, + >, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::list_origin_endpoints::paginator::ListOriginEndpointsPaginator::send) which returns a `Stream`. diff --git a/sdk/mediapackage/src/operation/list_tags_for_resource/builders.rs b/sdk/mediapackage/src/operation/list_tags_for_resource/builders.rs index 4134fc3941e9..18715c570ddc 100644 --- a/sdk/mediapackage/src/operation/list_tags_for_resource/builders.rs +++ b/sdk/mediapackage/src/operation/list_tags_for_resource/builders.rs @@ -18,9 +18,9 @@ impl ListTagsForResourceFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -82,6 +82,22 @@ impl ListTagsForResourceFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_tags_for_resource::ListTagsForResource, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::list_tags_for_resource::ListTagsForResourceError, + >, + > { + self.customize_middleware().await + } #[allow(missing_docs)] // documentation missing in model pub fn resource_arn(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.resource_arn(input.into()); diff --git a/sdk/mediapackage/src/operation/rotate_channel_credentials/builders.rs b/sdk/mediapackage/src/operation/rotate_channel_credentials/builders.rs index fc865beb8de4..9bf6b99dc5e5 100644 --- a/sdk/mediapackage/src/operation/rotate_channel_credentials/builders.rs +++ b/sdk/mediapackage/src/operation/rotate_channel_credentials/builders.rs @@ -20,9 +20,9 @@ impl RotateChannelCredentialsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -84,6 +84,22 @@ impl RotateChannelCredentialsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::rotate_channel_credentials::RotateChannelCredentials, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::rotate_channel_credentials::RotateChannelCredentialsError, + >, + > { + self.customize_middleware().await + } /// The ID of the channel to update. pub fn id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.id(input.into()); diff --git a/sdk/mediapackage/src/operation/rotate_ingest_endpoint_credentials/builders.rs b/sdk/mediapackage/src/operation/rotate_ingest_endpoint_credentials/builders.rs index 42f514d5be4d..7e80efaa9169 100644 --- a/sdk/mediapackage/src/operation/rotate_ingest_endpoint_credentials/builders.rs +++ b/sdk/mediapackage/src/operation/rotate_ingest_endpoint_credentials/builders.rs @@ -19,9 +19,9 @@ impl RotateIngestEndpointCredentialsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize(self) -> ::std::result::Result< + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware(self) -> ::std::result::Result< crate::client::customize::CustomizableOperation, ::aws_smithy_http::result::SdkError >{ @@ -64,6 +64,15 @@ impl RotateIngestEndpointCredentialsFluentBuilder { { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize(self) -> ::std::result::Result< + crate::client::customize::CustomizableOperation, + ::aws_smithy_http::result::SdkError + >{ + self.customize_middleware().await + } /// The ID of the channel the IngestEndpoint is on. pub fn id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.id(input.into()); diff --git a/sdk/mediapackage/src/operation/tag_resource/builders.rs b/sdk/mediapackage/src/operation/tag_resource/builders.rs index 1866b0c9f206..8e4cda419c9b 100644 --- a/sdk/mediapackage/src/operation/tag_resource/builders.rs +++ b/sdk/mediapackage/src/operation/tag_resource/builders.rs @@ -18,9 +18,9 @@ impl TagResourceFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -76,6 +76,20 @@ impl TagResourceFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::tag_resource::TagResource, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } #[allow(missing_docs)] // documentation missing in model pub fn resource_arn(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.resource_arn(input.into()); diff --git a/sdk/mediapackage/src/operation/untag_resource/builders.rs b/sdk/mediapackage/src/operation/untag_resource/builders.rs index 9c8d6aef189e..a89d7a3c7471 100644 --- a/sdk/mediapackage/src/operation/untag_resource/builders.rs +++ b/sdk/mediapackage/src/operation/untag_resource/builders.rs @@ -18,9 +18,9 @@ impl UntagResourceFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -76,6 +76,20 @@ impl UntagResourceFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::untag_resource::UntagResource, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } #[allow(missing_docs)] // documentation missing in model pub fn resource_arn(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.resource_arn(input.into()); diff --git a/sdk/mediapackage/src/operation/update_channel/builders.rs b/sdk/mediapackage/src/operation/update_channel/builders.rs index 3eae9aae0308..a14130a80106 100644 --- a/sdk/mediapackage/src/operation/update_channel/builders.rs +++ b/sdk/mediapackage/src/operation/update_channel/builders.rs @@ -19,9 +19,9 @@ impl UpdateChannelFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl UpdateChannelFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::update_channel::UpdateChannel, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } /// A short text description of the Channel. pub fn description(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.description(input.into()); diff --git a/sdk/mediapackage/src/operation/update_origin_endpoint/builders.rs b/sdk/mediapackage/src/operation/update_origin_endpoint/builders.rs index 9fd190320773..068de4058e5f 100644 --- a/sdk/mediapackage/src/operation/update_origin_endpoint/builders.rs +++ b/sdk/mediapackage/src/operation/update_origin_endpoint/builders.rs @@ -19,9 +19,9 @@ impl UpdateOriginEndpointFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl UpdateOriginEndpointFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::update_origin_endpoint::UpdateOriginEndpoint, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::update_origin_endpoint::UpdateOriginEndpointError, + >, + > { + self.customize_middleware().await + } /// CDN Authorization credentials pub fn authorization(mut self, input: crate::types::Authorization) -> Self { self.inner = self.inner.authorization(input); diff --git a/sdk/mediapackagevod/src/operation/configure_logs/builders.rs b/sdk/mediapackagevod/src/operation/configure_logs/builders.rs index c00b2c81f8d1..e41e89ffb084 100644 --- a/sdk/mediapackagevod/src/operation/configure_logs/builders.rs +++ b/sdk/mediapackagevod/src/operation/configure_logs/builders.rs @@ -19,9 +19,9 @@ impl ConfigureLogsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl ConfigureLogsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::configure_logs::ConfigureLogs, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } /// Configure egress access logging. pub fn egress_access_logs(mut self, input: crate::types::EgressAccessLogs) -> Self { self.inner = self.inner.egress_access_logs(input); diff --git a/sdk/mediapackagevod/src/operation/create_asset/builders.rs b/sdk/mediapackagevod/src/operation/create_asset/builders.rs index cd8624b91870..61862df3343c 100644 --- a/sdk/mediapackagevod/src/operation/create_asset/builders.rs +++ b/sdk/mediapackagevod/src/operation/create_asset/builders.rs @@ -19,9 +19,9 @@ impl CreateAssetFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl CreateAssetFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::create_asset::CreateAsset, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } /// The unique identifier for the Asset. pub fn id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.id(input.into()); diff --git a/sdk/mediapackagevod/src/operation/create_packaging_configuration/builders.rs b/sdk/mediapackagevod/src/operation/create_packaging_configuration/builders.rs index e5270394aac4..fe923656e1ce 100644 --- a/sdk/mediapackagevod/src/operation/create_packaging_configuration/builders.rs +++ b/sdk/mediapackagevod/src/operation/create_packaging_configuration/builders.rs @@ -19,9 +19,9 @@ impl CreatePackagingConfigurationFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl CreatePackagingConfigurationFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::create_packaging_configuration::CreatePackagingConfiguration, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::create_packaging_configuration::CreatePackagingConfigurationError, + >, + > { + self.customize_middleware().await + } /// A CMAF packaging configuration. pub fn cmaf_package(mut self, input: crate::types::CmafPackage) -> Self { self.inner = self.inner.cmaf_package(input); diff --git a/sdk/mediapackagevod/src/operation/create_packaging_group/builders.rs b/sdk/mediapackagevod/src/operation/create_packaging_group/builders.rs index 5517e41e34de..6d3dc6fce261 100644 --- a/sdk/mediapackagevod/src/operation/create_packaging_group/builders.rs +++ b/sdk/mediapackagevod/src/operation/create_packaging_group/builders.rs @@ -19,9 +19,9 @@ impl CreatePackagingGroupFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl CreatePackagingGroupFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::create_packaging_group::CreatePackagingGroup, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::create_packaging_group::CreatePackagingGroupError, + >, + > { + self.customize_middleware().await + } /// CDN Authorization credentials pub fn authorization(mut self, input: crate::types::Authorization) -> Self { self.inner = self.inner.authorization(input); diff --git a/sdk/mediapackagevod/src/operation/delete_asset/builders.rs b/sdk/mediapackagevod/src/operation/delete_asset/builders.rs index 4aa42ecbd131..1796e2f0ad68 100644 --- a/sdk/mediapackagevod/src/operation/delete_asset/builders.rs +++ b/sdk/mediapackagevod/src/operation/delete_asset/builders.rs @@ -19,9 +19,9 @@ impl DeleteAssetFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl DeleteAssetFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::delete_asset::DeleteAsset, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } /// The ID of the MediaPackage VOD Asset resource to delete. pub fn id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.id(input.into()); diff --git a/sdk/mediapackagevod/src/operation/delete_packaging_configuration/builders.rs b/sdk/mediapackagevod/src/operation/delete_packaging_configuration/builders.rs index d52cd1acd599..4d2795b353e8 100644 --- a/sdk/mediapackagevod/src/operation/delete_packaging_configuration/builders.rs +++ b/sdk/mediapackagevod/src/operation/delete_packaging_configuration/builders.rs @@ -19,9 +19,9 @@ impl DeletePackagingConfigurationFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl DeletePackagingConfigurationFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::delete_packaging_configuration::DeletePackagingConfiguration, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::delete_packaging_configuration::DeletePackagingConfigurationError, + >, + > { + self.customize_middleware().await + } /// The ID of the MediaPackage VOD PackagingConfiguration resource to delete. pub fn id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.id(input.into()); diff --git a/sdk/mediapackagevod/src/operation/delete_packaging_group/builders.rs b/sdk/mediapackagevod/src/operation/delete_packaging_group/builders.rs index 1de27eef1a93..d56cb693b386 100644 --- a/sdk/mediapackagevod/src/operation/delete_packaging_group/builders.rs +++ b/sdk/mediapackagevod/src/operation/delete_packaging_group/builders.rs @@ -19,9 +19,9 @@ impl DeletePackagingGroupFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl DeletePackagingGroupFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::delete_packaging_group::DeletePackagingGroup, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::delete_packaging_group::DeletePackagingGroupError, + >, + > { + self.customize_middleware().await + } /// The ID of the MediaPackage VOD PackagingGroup resource to delete. pub fn id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.id(input.into()); diff --git a/sdk/mediapackagevod/src/operation/describe_asset/builders.rs b/sdk/mediapackagevod/src/operation/describe_asset/builders.rs index 17e5571d5b21..1d94d811721c 100644 --- a/sdk/mediapackagevod/src/operation/describe_asset/builders.rs +++ b/sdk/mediapackagevod/src/operation/describe_asset/builders.rs @@ -19,9 +19,9 @@ impl DescribeAssetFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl DescribeAssetFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::describe_asset::DescribeAsset, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } /// The ID of an MediaPackage VOD Asset resource. pub fn id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.id(input.into()); diff --git a/sdk/mediapackagevod/src/operation/describe_packaging_configuration/builders.rs b/sdk/mediapackagevod/src/operation/describe_packaging_configuration/builders.rs index f7caa324bea1..a575b125c1d7 100644 --- a/sdk/mediapackagevod/src/operation/describe_packaging_configuration/builders.rs +++ b/sdk/mediapackagevod/src/operation/describe_packaging_configuration/builders.rs @@ -19,9 +19,9 @@ impl DescribePackagingConfigurationFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl DescribePackagingConfigurationFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::describe_packaging_configuration::DescribePackagingConfiguration, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::describe_packaging_configuration::DescribePackagingConfigurationError, + >, + > { + self.customize_middleware().await + } /// The ID of a MediaPackage VOD PackagingConfiguration resource. pub fn id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.id(input.into()); diff --git a/sdk/mediapackagevod/src/operation/describe_packaging_group/builders.rs b/sdk/mediapackagevod/src/operation/describe_packaging_group/builders.rs index cd0222aeb9e4..c4ae8f49189a 100644 --- a/sdk/mediapackagevod/src/operation/describe_packaging_group/builders.rs +++ b/sdk/mediapackagevod/src/operation/describe_packaging_group/builders.rs @@ -19,9 +19,9 @@ impl DescribePackagingGroupFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl DescribePackagingGroupFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::describe_packaging_group::DescribePackagingGroup, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::describe_packaging_group::DescribePackagingGroupError, + >, + > { + self.customize_middleware().await + } /// The ID of a MediaPackage VOD PackagingGroup resource. pub fn id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.id(input.into()); diff --git a/sdk/mediapackagevod/src/operation/list_assets/builders.rs b/sdk/mediapackagevod/src/operation/list_assets/builders.rs index d9d12ef016ac..f360d0fdd48c 100644 --- a/sdk/mediapackagevod/src/operation/list_assets/builders.rs +++ b/sdk/mediapackagevod/src/operation/list_assets/builders.rs @@ -19,9 +19,9 @@ impl ListAssetsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl ListAssetsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_assets::ListAssets, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::list_assets::paginator::ListAssetsPaginator::send) which returns a `Stream`. diff --git a/sdk/mediapackagevod/src/operation/list_packaging_configurations/builders.rs b/sdk/mediapackagevod/src/operation/list_packaging_configurations/builders.rs index 0cc02b1e464d..90982fe6355f 100644 --- a/sdk/mediapackagevod/src/operation/list_packaging_configurations/builders.rs +++ b/sdk/mediapackagevod/src/operation/list_packaging_configurations/builders.rs @@ -19,9 +19,9 @@ impl ListPackagingConfigurationsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl ListPackagingConfigurationsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_packaging_configurations::ListPackagingConfigurations, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::list_packaging_configurations::ListPackagingConfigurationsError, + >, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::list_packaging_configurations::paginator::ListPackagingConfigurationsPaginator::send) which returns a `Stream`. diff --git a/sdk/mediapackagevod/src/operation/list_packaging_groups/builders.rs b/sdk/mediapackagevod/src/operation/list_packaging_groups/builders.rs index 56b820d0da1a..9dae487ef092 100644 --- a/sdk/mediapackagevod/src/operation/list_packaging_groups/builders.rs +++ b/sdk/mediapackagevod/src/operation/list_packaging_groups/builders.rs @@ -19,9 +19,9 @@ impl ListPackagingGroupsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl ListPackagingGroupsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_packaging_groups::ListPackagingGroups, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::list_packaging_groups::ListPackagingGroupsError, + >, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::list_packaging_groups::paginator::ListPackagingGroupsPaginator::send) which returns a `Stream`. diff --git a/sdk/mediapackagevod/src/operation/list_tags_for_resource/builders.rs b/sdk/mediapackagevod/src/operation/list_tags_for_resource/builders.rs index 6ed8231c1a77..47b63f7428d7 100644 --- a/sdk/mediapackagevod/src/operation/list_tags_for_resource/builders.rs +++ b/sdk/mediapackagevod/src/operation/list_tags_for_resource/builders.rs @@ -19,9 +19,9 @@ impl ListTagsForResourceFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl ListTagsForResourceFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_tags_for_resource::ListTagsForResource, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::list_tags_for_resource::ListTagsForResourceError, + >, + > { + self.customize_middleware().await + } /// The Amazon Resource Name (ARN) for the resource. You can get this from the response to any request to the resource. pub fn resource_arn(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.resource_arn(input.into()); diff --git a/sdk/mediapackagevod/src/operation/tag_resource/builders.rs b/sdk/mediapackagevod/src/operation/tag_resource/builders.rs index ed344cf252d8..02d699fe6ae1 100644 --- a/sdk/mediapackagevod/src/operation/tag_resource/builders.rs +++ b/sdk/mediapackagevod/src/operation/tag_resource/builders.rs @@ -19,9 +19,9 @@ impl TagResourceFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl TagResourceFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::tag_resource::TagResource, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } /// The Amazon Resource Name (ARN) for the resource. You can get this from the response to any request to the resource. pub fn resource_arn(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.resource_arn(input.into()); diff --git a/sdk/mediapackagevod/src/operation/untag_resource/builders.rs b/sdk/mediapackagevod/src/operation/untag_resource/builders.rs index 7b5cbbd894d4..d05210a33eef 100644 --- a/sdk/mediapackagevod/src/operation/untag_resource/builders.rs +++ b/sdk/mediapackagevod/src/operation/untag_resource/builders.rs @@ -19,9 +19,9 @@ impl UntagResourceFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl UntagResourceFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::untag_resource::UntagResource, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } /// The Amazon Resource Name (ARN) for the resource. You can get this from the response to any request to the resource. pub fn resource_arn(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.resource_arn(input.into()); diff --git a/sdk/mediapackagevod/src/operation/update_packaging_group/builders.rs b/sdk/mediapackagevod/src/operation/update_packaging_group/builders.rs index 97514eccf46f..4f4de0c1344e 100644 --- a/sdk/mediapackagevod/src/operation/update_packaging_group/builders.rs +++ b/sdk/mediapackagevod/src/operation/update_packaging_group/builders.rs @@ -19,9 +19,9 @@ impl UpdatePackagingGroupFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl UpdatePackagingGroupFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::update_packaging_group::UpdatePackagingGroup, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::update_packaging_group::UpdatePackagingGroupError, + >, + > { + self.customize_middleware().await + } /// CDN Authorization credentials pub fn authorization(mut self, input: crate::types::Authorization) -> Self { self.inner = self.inner.authorization(input); diff --git a/sdk/mediastore/src/operation/create_container/builders.rs b/sdk/mediastore/src/operation/create_container/builders.rs index 8f260af04cd8..d3fc8b5fd2bd 100644 --- a/sdk/mediastore/src/operation/create_container/builders.rs +++ b/sdk/mediastore/src/operation/create_container/builders.rs @@ -19,9 +19,9 @@ impl CreateContainerFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl CreateContainerFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::create_container::CreateContainer, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::create_container::CreateContainerError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                      The name for the container. The name must be from 1 to 255 characters. Container names must be unique to your AWS account within a specific region. As an example, you could create a container named movies in every region, as long as you don’t have an existing container with that name.

                                                                                                                                                                                                      pub fn container_name( mut self, diff --git a/sdk/mediastore/src/operation/delete_container/builders.rs b/sdk/mediastore/src/operation/delete_container/builders.rs index 9da74733fcef..27938e517fda 100644 --- a/sdk/mediastore/src/operation/delete_container/builders.rs +++ b/sdk/mediastore/src/operation/delete_container/builders.rs @@ -19,9 +19,9 @@ impl DeleteContainerFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl DeleteContainerFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::delete_container::DeleteContainer, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::delete_container::DeleteContainerError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                      The name of the container to delete.

                                                                                                                                                                                                      pub fn container_name( mut self, diff --git a/sdk/mediastore/src/operation/delete_container_policy/builders.rs b/sdk/mediastore/src/operation/delete_container_policy/builders.rs index 4a965c092932..63978a60dc75 100644 --- a/sdk/mediastore/src/operation/delete_container_policy/builders.rs +++ b/sdk/mediastore/src/operation/delete_container_policy/builders.rs @@ -19,9 +19,9 @@ impl DeleteContainerPolicyFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl DeleteContainerPolicyFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::delete_container_policy::DeleteContainerPolicy, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::delete_container_policy::DeleteContainerPolicyError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                      The name of the container that holds the policy.

                                                                                                                                                                                                      pub fn container_name( mut self, diff --git a/sdk/mediastore/src/operation/delete_cors_policy/builders.rs b/sdk/mediastore/src/operation/delete_cors_policy/builders.rs index 0024bc5859c7..973f7e50f950 100644 --- a/sdk/mediastore/src/operation/delete_cors_policy/builders.rs +++ b/sdk/mediastore/src/operation/delete_cors_policy/builders.rs @@ -20,9 +20,9 @@ impl DeleteCorsPolicyFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -84,6 +84,22 @@ impl DeleteCorsPolicyFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::delete_cors_policy::DeleteCorsPolicy, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::delete_cors_policy::DeleteCorsPolicyError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                      The name of the container to remove the policy from.

                                                                                                                                                                                                      pub fn container_name( mut self, diff --git a/sdk/mediastore/src/operation/delete_lifecycle_policy/builders.rs b/sdk/mediastore/src/operation/delete_lifecycle_policy/builders.rs index 5e215d69ae24..13631af70f2a 100644 --- a/sdk/mediastore/src/operation/delete_lifecycle_policy/builders.rs +++ b/sdk/mediastore/src/operation/delete_lifecycle_policy/builders.rs @@ -19,9 +19,9 @@ impl DeleteLifecyclePolicyFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl DeleteLifecyclePolicyFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::delete_lifecycle_policy::DeleteLifecyclePolicy, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::delete_lifecycle_policy::DeleteLifecyclePolicyError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                      The name of the container that holds the object lifecycle policy.

                                                                                                                                                                                                      pub fn container_name( mut self, diff --git a/sdk/mediastore/src/operation/delete_metric_policy/builders.rs b/sdk/mediastore/src/operation/delete_metric_policy/builders.rs index b4faa3666848..bf149bad0a49 100644 --- a/sdk/mediastore/src/operation/delete_metric_policy/builders.rs +++ b/sdk/mediastore/src/operation/delete_metric_policy/builders.rs @@ -19,9 +19,9 @@ impl DeleteMetricPolicyFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl DeleteMetricPolicyFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::delete_metric_policy::DeleteMetricPolicy, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::delete_metric_policy::DeleteMetricPolicyError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                      The name of the container that is associated with the metric policy that you want to delete.

                                                                                                                                                                                                      pub fn container_name( mut self, diff --git a/sdk/mediastore/src/operation/describe_container/builders.rs b/sdk/mediastore/src/operation/describe_container/builders.rs index 1574a3b17bad..4652821692b0 100644 --- a/sdk/mediastore/src/operation/describe_container/builders.rs +++ b/sdk/mediastore/src/operation/describe_container/builders.rs @@ -19,9 +19,9 @@ impl DescribeContainerFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl DescribeContainerFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::describe_container::DescribeContainer, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::describe_container::DescribeContainerError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                      The name of the container to query.

                                                                                                                                                                                                      pub fn container_name( mut self, diff --git a/sdk/mediastore/src/operation/get_container_policy/builders.rs b/sdk/mediastore/src/operation/get_container_policy/builders.rs index 94fe3510ee78..28f700a5dd66 100644 --- a/sdk/mediastore/src/operation/get_container_policy/builders.rs +++ b/sdk/mediastore/src/operation/get_container_policy/builders.rs @@ -19,9 +19,9 @@ impl GetContainerPolicyFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl GetContainerPolicyFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::get_container_policy::GetContainerPolicy, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::get_container_policy::GetContainerPolicyError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                      The name of the container.

                                                                                                                                                                                                      pub fn container_name( mut self, diff --git a/sdk/mediastore/src/operation/get_cors_policy/builders.rs b/sdk/mediastore/src/operation/get_cors_policy/builders.rs index 2bc128fcc980..30b2992ccc30 100644 --- a/sdk/mediastore/src/operation/get_cors_policy/builders.rs +++ b/sdk/mediastore/src/operation/get_cors_policy/builders.rs @@ -20,9 +20,9 @@ impl GetCorsPolicyFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -78,6 +78,20 @@ impl GetCorsPolicyFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::get_cors_policy::GetCorsPolicy, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                      The name of the container that the policy is assigned to.

                                                                                                                                                                                                      pub fn container_name( mut self, diff --git a/sdk/mediastore/src/operation/get_lifecycle_policy/builders.rs b/sdk/mediastore/src/operation/get_lifecycle_policy/builders.rs index 6ac2d5492055..8b2e7e50e959 100644 --- a/sdk/mediastore/src/operation/get_lifecycle_policy/builders.rs +++ b/sdk/mediastore/src/operation/get_lifecycle_policy/builders.rs @@ -19,9 +19,9 @@ impl GetLifecyclePolicyFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl GetLifecyclePolicyFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::get_lifecycle_policy::GetLifecyclePolicy, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::get_lifecycle_policy::GetLifecyclePolicyError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                      The name of the container that the object lifecycle policy is assigned to.

                                                                                                                                                                                                      pub fn container_name( mut self, diff --git a/sdk/mediastore/src/operation/get_metric_policy/builders.rs b/sdk/mediastore/src/operation/get_metric_policy/builders.rs index eeeb09bf3626..6217db6b698b 100644 --- a/sdk/mediastore/src/operation/get_metric_policy/builders.rs +++ b/sdk/mediastore/src/operation/get_metric_policy/builders.rs @@ -19,9 +19,9 @@ impl GetMetricPolicyFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl GetMetricPolicyFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::get_metric_policy::GetMetricPolicy, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::get_metric_policy::GetMetricPolicyError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                      The name of the container that is associated with the metric policy.

                                                                                                                                                                                                      pub fn container_name( mut self, diff --git a/sdk/mediastore/src/operation/list_containers/builders.rs b/sdk/mediastore/src/operation/list_containers/builders.rs index 94d85e4cc50d..87d214ebf46a 100644 --- a/sdk/mediastore/src/operation/list_containers/builders.rs +++ b/sdk/mediastore/src/operation/list_containers/builders.rs @@ -21,9 +21,9 @@ impl ListContainersFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -79,6 +79,20 @@ impl ListContainersFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_containers::ListContainers, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::list_containers::paginator::ListContainersPaginator::send) which returns a `Stream`. diff --git a/sdk/mediastore/src/operation/list_tags_for_resource/builders.rs b/sdk/mediastore/src/operation/list_tags_for_resource/builders.rs index 3012e4b78460..e6214dfa7201 100644 --- a/sdk/mediastore/src/operation/list_tags_for_resource/builders.rs +++ b/sdk/mediastore/src/operation/list_tags_for_resource/builders.rs @@ -19,9 +19,9 @@ impl ListTagsForResourceFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl ListTagsForResourceFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_tags_for_resource::ListTagsForResource, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::list_tags_for_resource::ListTagsForResourceError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                      The Amazon Resource Name (ARN) for the container.

                                                                                                                                                                                                      pub fn resource(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.resource(input.into()); diff --git a/sdk/mediastore/src/operation/put_container_policy/builders.rs b/sdk/mediastore/src/operation/put_container_policy/builders.rs index 77e859a6d588..075ec73f2e28 100644 --- a/sdk/mediastore/src/operation/put_container_policy/builders.rs +++ b/sdk/mediastore/src/operation/put_container_policy/builders.rs @@ -20,9 +20,9 @@ impl PutContainerPolicyFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -84,6 +84,22 @@ impl PutContainerPolicyFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::put_container_policy::PutContainerPolicy, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::put_container_policy::PutContainerPolicyError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                      The name of the container.

                                                                                                                                                                                                      pub fn container_name( mut self, diff --git a/sdk/mediastore/src/operation/put_cors_policy/builders.rs b/sdk/mediastore/src/operation/put_cors_policy/builders.rs index 103b0bdf4ac6..c2118169eb33 100644 --- a/sdk/mediastore/src/operation/put_cors_policy/builders.rs +++ b/sdk/mediastore/src/operation/put_cors_policy/builders.rs @@ -21,9 +21,9 @@ impl PutCorsPolicyFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -79,6 +79,20 @@ impl PutCorsPolicyFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::put_cors_policy::PutCorsPolicy, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                      The name of the container that you want to assign the CORS policy to.

                                                                                                                                                                                                      pub fn container_name( mut self, diff --git a/sdk/mediastore/src/operation/put_lifecycle_policy/builders.rs b/sdk/mediastore/src/operation/put_lifecycle_policy/builders.rs index 9858b8256742..b01b2fada8ed 100644 --- a/sdk/mediastore/src/operation/put_lifecycle_policy/builders.rs +++ b/sdk/mediastore/src/operation/put_lifecycle_policy/builders.rs @@ -20,9 +20,9 @@ impl PutLifecyclePolicyFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -84,6 +84,22 @@ impl PutLifecyclePolicyFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::put_lifecycle_policy::PutLifecyclePolicy, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::put_lifecycle_policy::PutLifecyclePolicyError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                      The name of the container that you want to assign the object lifecycle policy to.

                                                                                                                                                                                                      pub fn container_name( mut self, diff --git a/sdk/mediastore/src/operation/put_metric_policy/builders.rs b/sdk/mediastore/src/operation/put_metric_policy/builders.rs index 3a5198806ee8..7bfda449d81c 100644 --- a/sdk/mediastore/src/operation/put_metric_policy/builders.rs +++ b/sdk/mediastore/src/operation/put_metric_policy/builders.rs @@ -19,9 +19,9 @@ impl PutMetricPolicyFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl PutMetricPolicyFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::put_metric_policy::PutMetricPolicy, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::put_metric_policy::PutMetricPolicyError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                      The name of the container that you want to add the metric policy to.

                                                                                                                                                                                                      pub fn container_name( mut self, diff --git a/sdk/mediastore/src/operation/start_access_logging/builders.rs b/sdk/mediastore/src/operation/start_access_logging/builders.rs index 2d6d7a97eed0..25a698414bf0 100644 --- a/sdk/mediastore/src/operation/start_access_logging/builders.rs +++ b/sdk/mediastore/src/operation/start_access_logging/builders.rs @@ -19,9 +19,9 @@ impl StartAccessLoggingFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl StartAccessLoggingFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::start_access_logging::StartAccessLogging, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::start_access_logging::StartAccessLoggingError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                      The name of the container that you want to start access logging on.

                                                                                                                                                                                                      pub fn container_name( mut self, diff --git a/sdk/mediastore/src/operation/stop_access_logging/builders.rs b/sdk/mediastore/src/operation/stop_access_logging/builders.rs index 8f012d5f7167..64b737a1be8f 100644 --- a/sdk/mediastore/src/operation/stop_access_logging/builders.rs +++ b/sdk/mediastore/src/operation/stop_access_logging/builders.rs @@ -19,9 +19,9 @@ impl StopAccessLoggingFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl StopAccessLoggingFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::stop_access_logging::StopAccessLogging, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::stop_access_logging::StopAccessLoggingError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                      The name of the container that you want to stop access logging on.

                                                                                                                                                                                                      pub fn container_name( mut self, diff --git a/sdk/mediastore/src/operation/tag_resource/builders.rs b/sdk/mediastore/src/operation/tag_resource/builders.rs index d5a6926c0567..e2f3309cc8be 100644 --- a/sdk/mediastore/src/operation/tag_resource/builders.rs +++ b/sdk/mediastore/src/operation/tag_resource/builders.rs @@ -19,9 +19,9 @@ impl TagResourceFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl TagResourceFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::tag_resource::TagResource, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                      The Amazon Resource Name (ARN) for the container.

                                                                                                                                                                                                      pub fn resource(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.resource(input.into()); diff --git a/sdk/mediastore/src/operation/untag_resource/builders.rs b/sdk/mediastore/src/operation/untag_resource/builders.rs index d61446118ac7..d013f8debad2 100644 --- a/sdk/mediastore/src/operation/untag_resource/builders.rs +++ b/sdk/mediastore/src/operation/untag_resource/builders.rs @@ -19,9 +19,9 @@ impl UntagResourceFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl UntagResourceFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::untag_resource::UntagResource, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                      The Amazon Resource Name (ARN) for the container.

                                                                                                                                                                                                      pub fn resource(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.resource(input.into()); diff --git a/sdk/mediastoredata/src/operation/delete_object/builders.rs b/sdk/mediastoredata/src/operation/delete_object/builders.rs index 36dd685e856b..06777b420560 100644 --- a/sdk/mediastoredata/src/operation/delete_object/builders.rs +++ b/sdk/mediastoredata/src/operation/delete_object/builders.rs @@ -19,9 +19,9 @@ impl DeleteObjectFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl DeleteObjectFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::delete_object::DeleteObject, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                      The path (including the file name) where the object is stored in the container. Format: /// / /// diff --git a/sdk/mediastoredata/src/operation/describe_object/builders.rs b/sdk/mediastoredata/src/operation/describe_object/builders.rs index 1ef4f4c737d3..f8cbc3fccbbc 100644 --- a/sdk/mediastoredata/src/operation/describe_object/builders.rs +++ b/sdk/mediastoredata/src/operation/describe_object/builders.rs @@ -19,9 +19,9 @@ impl DescribeObjectFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl DescribeObjectFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::describe_object::DescribeObject, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                      The path (including the file name) where the object is stored in the container. Format: /// / /// diff --git a/sdk/mediastoredata/src/operation/get_object/builders.rs b/sdk/mediastoredata/src/operation/get_object/builders.rs index c792254341cd..7c4be5db4b24 100644 --- a/sdk/mediastoredata/src/operation/get_object/builders.rs +++ b/sdk/mediastoredata/src/operation/get_object/builders.rs @@ -19,9 +19,9 @@ impl GetObjectFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl GetObjectFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::get_object::GetObject, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                      The path (including the file name) where the object is stored in the container. Format: /// / /// diff --git a/sdk/mediastoredata/src/operation/list_items/builders.rs b/sdk/mediastoredata/src/operation/list_items/builders.rs index 30ef043292b0..53bcb38985e9 100644 --- a/sdk/mediastoredata/src/operation/list_items/builders.rs +++ b/sdk/mediastoredata/src/operation/list_items/builders.rs @@ -19,9 +19,9 @@ impl ListItemsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl ListItemsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_items::ListItems, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::list_items::paginator::ListItemsPaginator::send) which returns a `Stream`. diff --git a/sdk/mediastoredata/src/operation/put_object/builders.rs b/sdk/mediastoredata/src/operation/put_object/builders.rs index 652582f19b2a..5afaf33e8f19 100644 --- a/sdk/mediastoredata/src/operation/put_object/builders.rs +++ b/sdk/mediastoredata/src/operation/put_object/builders.rs @@ -19,9 +19,9 @@ impl PutObjectFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl PutObjectFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::put_object::PutObject, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                      The bytes to be stored.

                                                                                                                                                                                                      pub fn body(mut self, input: ::aws_smithy_http::byte_stream::ByteStream) -> Self { self.inner = self.inner.body(input); diff --git a/sdk/mediatailor/src/operation/configure_logs_for_channel/builders.rs b/sdk/mediatailor/src/operation/configure_logs_for_channel/builders.rs index dd834262a061..465e18df1f45 100644 --- a/sdk/mediatailor/src/operation/configure_logs_for_channel/builders.rs +++ b/sdk/mediatailor/src/operation/configure_logs_for_channel/builders.rs @@ -20,9 +20,9 @@ impl ConfigureLogsForChannelFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -84,6 +84,22 @@ impl ConfigureLogsForChannelFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::configure_logs_for_channel::ConfigureLogsForChannel, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::configure_logs_for_channel::ConfigureLogsForChannelError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                      The name of the channel.

                                                                                                                                                                                                      pub fn channel_name(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.channel_name(input.into()); diff --git a/sdk/mediatailor/src/operation/configure_logs_for_playback_configuration/builders.rs b/sdk/mediatailor/src/operation/configure_logs_for_playback_configuration/builders.rs index 917ec6d7c7d0..c8fbe96bd663 100644 --- a/sdk/mediatailor/src/operation/configure_logs_for_playback_configuration/builders.rs +++ b/sdk/mediatailor/src/operation/configure_logs_for_playback_configuration/builders.rs @@ -19,9 +19,9 @@ impl ConfigureLogsForPlaybackConfigurationFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize(self) -> ::std::result::Result< + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware(self) -> ::std::result::Result< crate::client::customize::CustomizableOperation, ::aws_smithy_http::result::SdkError >{ @@ -64,6 +64,15 @@ impl ConfigureLogsForPlaybackConfigurationFluentBuilder { { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize(self) -> ::std::result::Result< + crate::client::customize::CustomizableOperation, + ::aws_smithy_http::result::SdkError + >{ + self.customize_middleware().await + } ///

                                                                                                                                                                                                      The percentage of session logs that MediaTailor sends to your Cloudwatch Logs account. For example, if your playback configuration has 1000 sessions and percentEnabled is set to 60, MediaTailor sends logs for 600 of the sessions to CloudWatch Logs. MediaTailor decides at random which of the playback configuration sessions to send logs for. If you want to view logs for a specific session, you can use the debug log mode.

                                                                                                                                                                                                      ///

                                                                                                                                                                                                      Valid values: 0 - 100

                                                                                                                                                                                                      pub fn percent_enabled(mut self, input: i32) -> Self { diff --git a/sdk/mediatailor/src/operation/create_channel/builders.rs b/sdk/mediatailor/src/operation/create_channel/builders.rs index 5783e719371a..e90417729b4e 100644 --- a/sdk/mediatailor/src/operation/create_channel/builders.rs +++ b/sdk/mediatailor/src/operation/create_channel/builders.rs @@ -19,9 +19,9 @@ impl CreateChannelFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl CreateChannelFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::create_channel::CreateChannel, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                      The name of the channel.

                                                                                                                                                                                                      pub fn channel_name(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.channel_name(input.into()); diff --git a/sdk/mediatailor/src/operation/create_live_source/builders.rs b/sdk/mediatailor/src/operation/create_live_source/builders.rs index 8a5dac6918b9..b998f2db2e25 100644 --- a/sdk/mediatailor/src/operation/create_live_source/builders.rs +++ b/sdk/mediatailor/src/operation/create_live_source/builders.rs @@ -19,9 +19,9 @@ impl CreateLiveSourceFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl CreateLiveSourceFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::create_live_source::CreateLiveSource, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::create_live_source::CreateLiveSourceError, + >, + > { + self.customize_middleware().await + } /// Appends an item to `HttpPackageConfigurations`. /// /// To override the contents of this collection use [`set_http_package_configurations`](Self::set_http_package_configurations). diff --git a/sdk/mediatailor/src/operation/create_prefetch_schedule/builders.rs b/sdk/mediatailor/src/operation/create_prefetch_schedule/builders.rs index 10e57e9d3207..2337f122d103 100644 --- a/sdk/mediatailor/src/operation/create_prefetch_schedule/builders.rs +++ b/sdk/mediatailor/src/operation/create_prefetch_schedule/builders.rs @@ -19,9 +19,9 @@ impl CreatePrefetchScheduleFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl CreatePrefetchScheduleFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::create_prefetch_schedule::CreatePrefetchSchedule, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::create_prefetch_schedule::CreatePrefetchScheduleError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                      The configuration settings for MediaTailor's consumption of the prefetched ads from the ad decision server. Each consumption configuration contains an end time and an optional start time that define the consumption window. Prefetch schedules automatically expire no earlier than seven days after the end time.

                                                                                                                                                                                                      pub fn consumption(mut self, input: crate::types::PrefetchConsumption) -> Self { self.inner = self.inner.consumption(input); diff --git a/sdk/mediatailor/src/operation/create_program/builders.rs b/sdk/mediatailor/src/operation/create_program/builders.rs index 2e3a6cdff17f..111a9bfcf954 100644 --- a/sdk/mediatailor/src/operation/create_program/builders.rs +++ b/sdk/mediatailor/src/operation/create_program/builders.rs @@ -19,9 +19,9 @@ impl CreateProgramFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl CreateProgramFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::create_program::CreateProgram, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } /// Appends an item to `AdBreaks`. /// /// To override the contents of this collection use [`set_ad_breaks`](Self::set_ad_breaks). diff --git a/sdk/mediatailor/src/operation/create_source_location/builders.rs b/sdk/mediatailor/src/operation/create_source_location/builders.rs index b5a8b5624914..cf601b11b502 100644 --- a/sdk/mediatailor/src/operation/create_source_location/builders.rs +++ b/sdk/mediatailor/src/operation/create_source_location/builders.rs @@ -19,9 +19,9 @@ impl CreateSourceLocationFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl CreateSourceLocationFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::create_source_location::CreateSourceLocation, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::create_source_location::CreateSourceLocationError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                      Access configuration parameters. Configures the type of authentication used to access content from your source location.

                                                                                                                                                                                                      pub fn access_configuration(mut self, input: crate::types::AccessConfiguration) -> Self { self.inner = self.inner.access_configuration(input); diff --git a/sdk/mediatailor/src/operation/create_vod_source/builders.rs b/sdk/mediatailor/src/operation/create_vod_source/builders.rs index ef16c8f4eb22..8229c10b1593 100644 --- a/sdk/mediatailor/src/operation/create_vod_source/builders.rs +++ b/sdk/mediatailor/src/operation/create_vod_source/builders.rs @@ -19,9 +19,9 @@ impl CreateVodSourceFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl CreateVodSourceFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::create_vod_source::CreateVodSource, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::create_vod_source::CreateVodSourceError, + >, + > { + self.customize_middleware().await + } /// Appends an item to `HttpPackageConfigurations`. /// /// To override the contents of this collection use [`set_http_package_configurations`](Self::set_http_package_configurations). diff --git a/sdk/mediatailor/src/operation/delete_channel/builders.rs b/sdk/mediatailor/src/operation/delete_channel/builders.rs index e396ffab8b2e..9b44e20e529e 100644 --- a/sdk/mediatailor/src/operation/delete_channel/builders.rs +++ b/sdk/mediatailor/src/operation/delete_channel/builders.rs @@ -19,9 +19,9 @@ impl DeleteChannelFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl DeleteChannelFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::delete_channel::DeleteChannel, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                      The name of the channel.

                                                                                                                                                                                                      pub fn channel_name(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.channel_name(input.into()); diff --git a/sdk/mediatailor/src/operation/delete_channel_policy/builders.rs b/sdk/mediatailor/src/operation/delete_channel_policy/builders.rs index 974b5a1d22c4..a718d017c114 100644 --- a/sdk/mediatailor/src/operation/delete_channel_policy/builders.rs +++ b/sdk/mediatailor/src/operation/delete_channel_policy/builders.rs @@ -19,9 +19,9 @@ impl DeleteChannelPolicyFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl DeleteChannelPolicyFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::delete_channel_policy::DeleteChannelPolicy, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::delete_channel_policy::DeleteChannelPolicyError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                      The name of the channel associated with this channel policy.

                                                                                                                                                                                                      pub fn channel_name(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.channel_name(input.into()); diff --git a/sdk/mediatailor/src/operation/delete_live_source/builders.rs b/sdk/mediatailor/src/operation/delete_live_source/builders.rs index b8ba7020b9e2..c23713ec784f 100644 --- a/sdk/mediatailor/src/operation/delete_live_source/builders.rs +++ b/sdk/mediatailor/src/operation/delete_live_source/builders.rs @@ -19,9 +19,9 @@ impl DeleteLiveSourceFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl DeleteLiveSourceFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::delete_live_source::DeleteLiveSource, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::delete_live_source::DeleteLiveSourceError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                      The name of the live source.

                                                                                                                                                                                                      pub fn live_source_name( mut self, diff --git a/sdk/mediatailor/src/operation/delete_playback_configuration/builders.rs b/sdk/mediatailor/src/operation/delete_playback_configuration/builders.rs index 9a2a2b431efc..abfd36f934f3 100644 --- a/sdk/mediatailor/src/operation/delete_playback_configuration/builders.rs +++ b/sdk/mediatailor/src/operation/delete_playback_configuration/builders.rs @@ -19,9 +19,9 @@ impl DeletePlaybackConfigurationFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl DeletePlaybackConfigurationFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::delete_playback_configuration::DeletePlaybackConfiguration, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::delete_playback_configuration::DeletePlaybackConfigurationError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                      The name of the playback configuration.

                                                                                                                                                                                                      pub fn name(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.name(input.into()); diff --git a/sdk/mediatailor/src/operation/delete_prefetch_schedule/builders.rs b/sdk/mediatailor/src/operation/delete_prefetch_schedule/builders.rs index 1ebcbc4e738b..c6fa1eaaefb2 100644 --- a/sdk/mediatailor/src/operation/delete_prefetch_schedule/builders.rs +++ b/sdk/mediatailor/src/operation/delete_prefetch_schedule/builders.rs @@ -19,9 +19,9 @@ impl DeletePrefetchScheduleFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl DeletePrefetchScheduleFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::delete_prefetch_schedule::DeletePrefetchSchedule, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::delete_prefetch_schedule::DeletePrefetchScheduleError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                      The name of the prefetch schedule. If the action is successful, the service sends back an HTTP 204 response with an empty HTTP body.

                                                                                                                                                                                                      pub fn name(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.name(input.into()); diff --git a/sdk/mediatailor/src/operation/delete_program/builders.rs b/sdk/mediatailor/src/operation/delete_program/builders.rs index 98344d705e52..ec89944d8676 100644 --- a/sdk/mediatailor/src/operation/delete_program/builders.rs +++ b/sdk/mediatailor/src/operation/delete_program/builders.rs @@ -19,9 +19,9 @@ impl DeleteProgramFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl DeleteProgramFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::delete_program::DeleteProgram, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                      The name of the channel.

                                                                                                                                                                                                      pub fn channel_name(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.channel_name(input.into()); diff --git a/sdk/mediatailor/src/operation/delete_source_location/builders.rs b/sdk/mediatailor/src/operation/delete_source_location/builders.rs index ea496ea4de2d..1ddf58dd303f 100644 --- a/sdk/mediatailor/src/operation/delete_source_location/builders.rs +++ b/sdk/mediatailor/src/operation/delete_source_location/builders.rs @@ -19,9 +19,9 @@ impl DeleteSourceLocationFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl DeleteSourceLocationFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::delete_source_location::DeleteSourceLocation, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::delete_source_location::DeleteSourceLocationError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                      The name of the source location.

                                                                                                                                                                                                      pub fn source_location_name( mut self, diff --git a/sdk/mediatailor/src/operation/delete_vod_source/builders.rs b/sdk/mediatailor/src/operation/delete_vod_source/builders.rs index 5c0d7ca9f3e4..628264a0edfb 100644 --- a/sdk/mediatailor/src/operation/delete_vod_source/builders.rs +++ b/sdk/mediatailor/src/operation/delete_vod_source/builders.rs @@ -19,9 +19,9 @@ impl DeleteVodSourceFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl DeleteVodSourceFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::delete_vod_source::DeleteVodSource, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::delete_vod_source::DeleteVodSourceError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                      The name of the source location associated with this VOD Source.

                                                                                                                                                                                                      pub fn source_location_name( mut self, diff --git a/sdk/mediatailor/src/operation/describe_channel/builders.rs b/sdk/mediatailor/src/operation/describe_channel/builders.rs index d17d9b388ce5..6e69ba258d8b 100644 --- a/sdk/mediatailor/src/operation/describe_channel/builders.rs +++ b/sdk/mediatailor/src/operation/describe_channel/builders.rs @@ -19,9 +19,9 @@ impl DescribeChannelFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl DescribeChannelFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::describe_channel::DescribeChannel, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::describe_channel::DescribeChannelError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                      The name of the channel.

                                                                                                                                                                                                      pub fn channel_name(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.channel_name(input.into()); diff --git a/sdk/mediatailor/src/operation/describe_live_source/builders.rs b/sdk/mediatailor/src/operation/describe_live_source/builders.rs index 2d118f651a7c..0a951336f87f 100644 --- a/sdk/mediatailor/src/operation/describe_live_source/builders.rs +++ b/sdk/mediatailor/src/operation/describe_live_source/builders.rs @@ -19,9 +19,9 @@ impl DescribeLiveSourceFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl DescribeLiveSourceFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::describe_live_source::DescribeLiveSource, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::describe_live_source::DescribeLiveSourceError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                      The name of the live source.

                                                                                                                                                                                                      pub fn live_source_name( mut self, diff --git a/sdk/mediatailor/src/operation/describe_program/builders.rs b/sdk/mediatailor/src/operation/describe_program/builders.rs index 11df74744448..50c36aebef48 100644 --- a/sdk/mediatailor/src/operation/describe_program/builders.rs +++ b/sdk/mediatailor/src/operation/describe_program/builders.rs @@ -19,9 +19,9 @@ impl DescribeProgramFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl DescribeProgramFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::describe_program::DescribeProgram, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::describe_program::DescribeProgramError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                      The name of the channel associated with this Program.

                                                                                                                                                                                                      pub fn channel_name(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.channel_name(input.into()); diff --git a/sdk/mediatailor/src/operation/describe_source_location/builders.rs b/sdk/mediatailor/src/operation/describe_source_location/builders.rs index 8e64e682ae73..525bca31c753 100644 --- a/sdk/mediatailor/src/operation/describe_source_location/builders.rs +++ b/sdk/mediatailor/src/operation/describe_source_location/builders.rs @@ -19,9 +19,9 @@ impl DescribeSourceLocationFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl DescribeSourceLocationFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::describe_source_location::DescribeSourceLocation, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::describe_source_location::DescribeSourceLocationError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                      The name of the source location.

                                                                                                                                                                                                      pub fn source_location_name( mut self, diff --git a/sdk/mediatailor/src/operation/describe_vod_source/builders.rs b/sdk/mediatailor/src/operation/describe_vod_source/builders.rs index 149296401b26..fbcdc3e8a665 100644 --- a/sdk/mediatailor/src/operation/describe_vod_source/builders.rs +++ b/sdk/mediatailor/src/operation/describe_vod_source/builders.rs @@ -19,9 +19,9 @@ impl DescribeVodSourceFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl DescribeVodSourceFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::describe_vod_source::DescribeVodSource, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::describe_vod_source::DescribeVodSourceError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                      The name of the source location associated with this VOD Source.

                                                                                                                                                                                                      pub fn source_location_name( mut self, diff --git a/sdk/mediatailor/src/operation/get_channel_policy/builders.rs b/sdk/mediatailor/src/operation/get_channel_policy/builders.rs index f9050d15709c..d41d4ae03a90 100644 --- a/sdk/mediatailor/src/operation/get_channel_policy/builders.rs +++ b/sdk/mediatailor/src/operation/get_channel_policy/builders.rs @@ -19,9 +19,9 @@ impl GetChannelPolicyFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl GetChannelPolicyFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::get_channel_policy::GetChannelPolicy, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::get_channel_policy::GetChannelPolicyError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                      The name of the channel associated with this Channel Policy.

                                                                                                                                                                                                      pub fn channel_name(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.channel_name(input.into()); diff --git a/sdk/mediatailor/src/operation/get_channel_schedule/builders.rs b/sdk/mediatailor/src/operation/get_channel_schedule/builders.rs index 664af37b7da2..591d471a3ae3 100644 --- a/sdk/mediatailor/src/operation/get_channel_schedule/builders.rs +++ b/sdk/mediatailor/src/operation/get_channel_schedule/builders.rs @@ -19,9 +19,9 @@ impl GetChannelScheduleFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl GetChannelScheduleFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::get_channel_schedule::GetChannelSchedule, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::get_channel_schedule::GetChannelScheduleError, + >, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::get_channel_schedule::paginator::GetChannelSchedulePaginator::send) which returns a `Stream`. diff --git a/sdk/mediatailor/src/operation/get_playback_configuration/builders.rs b/sdk/mediatailor/src/operation/get_playback_configuration/builders.rs index 08f4b8631c87..e6317fd5030e 100644 --- a/sdk/mediatailor/src/operation/get_playback_configuration/builders.rs +++ b/sdk/mediatailor/src/operation/get_playback_configuration/builders.rs @@ -19,9 +19,9 @@ impl GetPlaybackConfigurationFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl GetPlaybackConfigurationFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::get_playback_configuration::GetPlaybackConfiguration, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::get_playback_configuration::GetPlaybackConfigurationError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                      The identifier for the playback configuration.

                                                                                                                                                                                                      pub fn name(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.name(input.into()); diff --git a/sdk/mediatailor/src/operation/get_prefetch_schedule/builders.rs b/sdk/mediatailor/src/operation/get_prefetch_schedule/builders.rs index dcc1212ce434..c20b00efcf2f 100644 --- a/sdk/mediatailor/src/operation/get_prefetch_schedule/builders.rs +++ b/sdk/mediatailor/src/operation/get_prefetch_schedule/builders.rs @@ -19,9 +19,9 @@ impl GetPrefetchScheduleFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl GetPrefetchScheduleFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::get_prefetch_schedule::GetPrefetchSchedule, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::get_prefetch_schedule::GetPrefetchScheduleError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                      The name of the prefetch schedule. The name must be unique among all prefetch schedules that are associated with the specified playback configuration.

                                                                                                                                                                                                      pub fn name(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.name(input.into()); diff --git a/sdk/mediatailor/src/operation/list_alerts/builders.rs b/sdk/mediatailor/src/operation/list_alerts/builders.rs index bf969a8ec05b..85790572668f 100644 --- a/sdk/mediatailor/src/operation/list_alerts/builders.rs +++ b/sdk/mediatailor/src/operation/list_alerts/builders.rs @@ -19,9 +19,9 @@ impl ListAlertsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl ListAlertsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_alerts::ListAlerts, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::list_alerts::paginator::ListAlertsPaginator::send) which returns a `Stream`. diff --git a/sdk/mediatailor/src/operation/list_channels/builders.rs b/sdk/mediatailor/src/operation/list_channels/builders.rs index 1bdfabe520f5..b65194ba9aed 100644 --- a/sdk/mediatailor/src/operation/list_channels/builders.rs +++ b/sdk/mediatailor/src/operation/list_channels/builders.rs @@ -19,9 +19,9 @@ impl ListChannelsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl ListChannelsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_channels::ListChannels, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::list_channels::paginator::ListChannelsPaginator::send) which returns a `Stream`. diff --git a/sdk/mediatailor/src/operation/list_live_sources/builders.rs b/sdk/mediatailor/src/operation/list_live_sources/builders.rs index d1b90cc25c4e..2be0e6e3b95c 100644 --- a/sdk/mediatailor/src/operation/list_live_sources/builders.rs +++ b/sdk/mediatailor/src/operation/list_live_sources/builders.rs @@ -19,9 +19,9 @@ impl ListLiveSourcesFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl ListLiveSourcesFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_live_sources::ListLiveSources, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::list_live_sources::ListLiveSourcesError, + >, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::list_live_sources::paginator::ListLiveSourcesPaginator::send) which returns a `Stream`. diff --git a/sdk/mediatailor/src/operation/list_playback_configurations/builders.rs b/sdk/mediatailor/src/operation/list_playback_configurations/builders.rs index c7d8d1223099..12dda097b10c 100644 --- a/sdk/mediatailor/src/operation/list_playback_configurations/builders.rs +++ b/sdk/mediatailor/src/operation/list_playback_configurations/builders.rs @@ -19,9 +19,9 @@ impl ListPlaybackConfigurationsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl ListPlaybackConfigurationsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_playback_configurations::ListPlaybackConfigurations, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::list_playback_configurations::ListPlaybackConfigurationsError, + >, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::list_playback_configurations::paginator::ListPlaybackConfigurationsPaginator::send) which returns a `Stream`. diff --git a/sdk/mediatailor/src/operation/list_prefetch_schedules/builders.rs b/sdk/mediatailor/src/operation/list_prefetch_schedules/builders.rs index 21d5ced99b13..31d451511c6e 100644 --- a/sdk/mediatailor/src/operation/list_prefetch_schedules/builders.rs +++ b/sdk/mediatailor/src/operation/list_prefetch_schedules/builders.rs @@ -19,9 +19,9 @@ impl ListPrefetchSchedulesFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl ListPrefetchSchedulesFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_prefetch_schedules::ListPrefetchSchedules, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::list_prefetch_schedules::ListPrefetchSchedulesError, + >, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::list_prefetch_schedules::paginator::ListPrefetchSchedulesPaginator::send) which returns a `Stream`. diff --git a/sdk/mediatailor/src/operation/list_source_locations/builders.rs b/sdk/mediatailor/src/operation/list_source_locations/builders.rs index 14cf2155d795..b2d493c75f7b 100644 --- a/sdk/mediatailor/src/operation/list_source_locations/builders.rs +++ b/sdk/mediatailor/src/operation/list_source_locations/builders.rs @@ -19,9 +19,9 @@ impl ListSourceLocationsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl ListSourceLocationsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_source_locations::ListSourceLocations, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::list_source_locations::ListSourceLocationsError, + >, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::list_source_locations::paginator::ListSourceLocationsPaginator::send) which returns a `Stream`. diff --git a/sdk/mediatailor/src/operation/list_tags_for_resource/builders.rs b/sdk/mediatailor/src/operation/list_tags_for_resource/builders.rs index b95eb41ad154..9ff25ac84328 100644 --- a/sdk/mediatailor/src/operation/list_tags_for_resource/builders.rs +++ b/sdk/mediatailor/src/operation/list_tags_for_resource/builders.rs @@ -19,9 +19,9 @@ impl ListTagsForResourceFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl ListTagsForResourceFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_tags_for_resource::ListTagsForResource, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::list_tags_for_resource::ListTagsForResourceError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                      The Amazon Resource Name (ARN) associated with this resource.

                                                                                                                                                                                                      pub fn resource_arn(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.resource_arn(input.into()); diff --git a/sdk/mediatailor/src/operation/list_vod_sources/builders.rs b/sdk/mediatailor/src/operation/list_vod_sources/builders.rs index 982cfbc03bf6..0c9bc9827d1f 100644 --- a/sdk/mediatailor/src/operation/list_vod_sources/builders.rs +++ b/sdk/mediatailor/src/operation/list_vod_sources/builders.rs @@ -19,9 +19,9 @@ impl ListVodSourcesFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl ListVodSourcesFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_vod_sources::ListVodSources, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::list_vod_sources::ListVodSourcesError, + >, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::list_vod_sources::paginator::ListVodSourcesPaginator::send) which returns a `Stream`. diff --git a/sdk/mediatailor/src/operation/put_channel_policy/builders.rs b/sdk/mediatailor/src/operation/put_channel_policy/builders.rs index caa73c76e0a6..aadaee8ba4c8 100644 --- a/sdk/mediatailor/src/operation/put_channel_policy/builders.rs +++ b/sdk/mediatailor/src/operation/put_channel_policy/builders.rs @@ -19,9 +19,9 @@ impl PutChannelPolicyFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl PutChannelPolicyFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::put_channel_policy::PutChannelPolicy, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::put_channel_policy::PutChannelPolicyError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                      The channel name associated with this Channel Policy.

                                                                                                                                                                                                      pub fn channel_name(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.channel_name(input.into()); diff --git a/sdk/mediatailor/src/operation/put_playback_configuration/builders.rs b/sdk/mediatailor/src/operation/put_playback_configuration/builders.rs index 07963f809136..aad2352641c6 100644 --- a/sdk/mediatailor/src/operation/put_playback_configuration/builders.rs +++ b/sdk/mediatailor/src/operation/put_playback_configuration/builders.rs @@ -19,9 +19,9 @@ impl PutPlaybackConfigurationFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl PutPlaybackConfigurationFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::put_playback_configuration::PutPlaybackConfiguration, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::put_playback_configuration::PutPlaybackConfigurationError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                      The URL for the ad decision server (ADS). This includes the specification of static parameters and placeholders for dynamic parameters. AWS Elemental MediaTailor substitutes player-specific and session-specific parameters as needed when calling the ADS. Alternately, for testing you can provide a static VAST URL. The maximum length is 25,000 characters.

                                                                                                                                                                                                      pub fn ad_decision_server_url( mut self, diff --git a/sdk/mediatailor/src/operation/start_channel/builders.rs b/sdk/mediatailor/src/operation/start_channel/builders.rs index c3d13603f310..7462c4e101df 100644 --- a/sdk/mediatailor/src/operation/start_channel/builders.rs +++ b/sdk/mediatailor/src/operation/start_channel/builders.rs @@ -19,9 +19,9 @@ impl StartChannelFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl StartChannelFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::start_channel::StartChannel, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                      The name of the channel.

                                                                                                                                                                                                      pub fn channel_name(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.channel_name(input.into()); diff --git a/sdk/mediatailor/src/operation/stop_channel/builders.rs b/sdk/mediatailor/src/operation/stop_channel/builders.rs index 3127d7b0a2da..8b030a099c45 100644 --- a/sdk/mediatailor/src/operation/stop_channel/builders.rs +++ b/sdk/mediatailor/src/operation/stop_channel/builders.rs @@ -19,9 +19,9 @@ impl StopChannelFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl StopChannelFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::stop_channel::StopChannel, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                      The name of the channel.

                                                                                                                                                                                                      pub fn channel_name(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.channel_name(input.into()); diff --git a/sdk/mediatailor/src/operation/tag_resource/builders.rs b/sdk/mediatailor/src/operation/tag_resource/builders.rs index bdbc52c64403..abbe1218fbd2 100644 --- a/sdk/mediatailor/src/operation/tag_resource/builders.rs +++ b/sdk/mediatailor/src/operation/tag_resource/builders.rs @@ -19,9 +19,9 @@ impl TagResourceFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl TagResourceFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::tag_resource::TagResource, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                      The Amazon Resource Name (ARN) associated with the resource.

                                                                                                                                                                                                      pub fn resource_arn(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.resource_arn(input.into()); diff --git a/sdk/mediatailor/src/operation/untag_resource/builders.rs b/sdk/mediatailor/src/operation/untag_resource/builders.rs index c5b44929f5a4..d733e37e1e63 100644 --- a/sdk/mediatailor/src/operation/untag_resource/builders.rs +++ b/sdk/mediatailor/src/operation/untag_resource/builders.rs @@ -19,9 +19,9 @@ impl UntagResourceFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl UntagResourceFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::untag_resource::UntagResource, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                      The Amazon Resource Name (ARN) of the resource to untag.

                                                                                                                                                                                                      pub fn resource_arn(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.resource_arn(input.into()); diff --git a/sdk/mediatailor/src/operation/update_channel/builders.rs b/sdk/mediatailor/src/operation/update_channel/builders.rs index 5c21e8629d30..3fc60450d21f 100644 --- a/sdk/mediatailor/src/operation/update_channel/builders.rs +++ b/sdk/mediatailor/src/operation/update_channel/builders.rs @@ -19,9 +19,9 @@ impl UpdateChannelFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl UpdateChannelFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::update_channel::UpdateChannel, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                      The name of the channel.

                                                                                                                                                                                                      pub fn channel_name(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.channel_name(input.into()); diff --git a/sdk/mediatailor/src/operation/update_live_source/builders.rs b/sdk/mediatailor/src/operation/update_live_source/builders.rs index a25725739cff..192a986cea5f 100644 --- a/sdk/mediatailor/src/operation/update_live_source/builders.rs +++ b/sdk/mediatailor/src/operation/update_live_source/builders.rs @@ -19,9 +19,9 @@ impl UpdateLiveSourceFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl UpdateLiveSourceFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::update_live_source::UpdateLiveSource, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::update_live_source::UpdateLiveSourceError, + >, + > { + self.customize_middleware().await + } /// Appends an item to `HttpPackageConfigurations`. /// /// To override the contents of this collection use [`set_http_package_configurations`](Self::set_http_package_configurations). diff --git a/sdk/mediatailor/src/operation/update_program/builders.rs b/sdk/mediatailor/src/operation/update_program/builders.rs index c60a4b80029e..54ae79585d14 100644 --- a/sdk/mediatailor/src/operation/update_program/builders.rs +++ b/sdk/mediatailor/src/operation/update_program/builders.rs @@ -19,9 +19,9 @@ impl UpdateProgramFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl UpdateProgramFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::update_program::UpdateProgram, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } /// Appends an item to `AdBreaks`. /// /// To override the contents of this collection use [`set_ad_breaks`](Self::set_ad_breaks). diff --git a/sdk/mediatailor/src/operation/update_source_location/builders.rs b/sdk/mediatailor/src/operation/update_source_location/builders.rs index d5f3fafb7236..3b1333e4bc7c 100644 --- a/sdk/mediatailor/src/operation/update_source_location/builders.rs +++ b/sdk/mediatailor/src/operation/update_source_location/builders.rs @@ -19,9 +19,9 @@ impl UpdateSourceLocationFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl UpdateSourceLocationFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::update_source_location::UpdateSourceLocation, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::update_source_location::UpdateSourceLocationError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                      Access configuration parameters. Configures the type of authentication used to access content from your source location.

                                                                                                                                                                                                      pub fn access_configuration(mut self, input: crate::types::AccessConfiguration) -> Self { self.inner = self.inner.access_configuration(input); diff --git a/sdk/mediatailor/src/operation/update_vod_source/builders.rs b/sdk/mediatailor/src/operation/update_vod_source/builders.rs index 3aefef5f2554..9ae1fdca75da 100644 --- a/sdk/mediatailor/src/operation/update_vod_source/builders.rs +++ b/sdk/mediatailor/src/operation/update_vod_source/builders.rs @@ -19,9 +19,9 @@ impl UpdateVodSourceFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl UpdateVodSourceFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::update_vod_source::UpdateVodSource, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::update_vod_source::UpdateVodSourceError, + >, + > { + self.customize_middleware().await + } /// Appends an item to `HttpPackageConfigurations`. /// /// To override the contents of this collection use [`set_http_package_configurations`](Self::set_http_package_configurations). diff --git a/sdk/memorydb/src/operation/batch_update_cluster/builders.rs b/sdk/memorydb/src/operation/batch_update_cluster/builders.rs index e0305d7afc19..f45be61f24e6 100644 --- a/sdk/memorydb/src/operation/batch_update_cluster/builders.rs +++ b/sdk/memorydb/src/operation/batch_update_cluster/builders.rs @@ -19,9 +19,9 @@ impl BatchUpdateClusterFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl BatchUpdateClusterFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::batch_update_cluster::BatchUpdateCluster, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::batch_update_cluster::BatchUpdateClusterError, + >, + > { + self.customize_middleware().await + } /// Appends an item to `ClusterNames`. /// /// To override the contents of this collection use [`set_cluster_names`](Self::set_cluster_names). diff --git a/sdk/memorydb/src/operation/copy_snapshot/builders.rs b/sdk/memorydb/src/operation/copy_snapshot/builders.rs index 41b6f737cb68..351b7ec4b71b 100644 --- a/sdk/memorydb/src/operation/copy_snapshot/builders.rs +++ b/sdk/memorydb/src/operation/copy_snapshot/builders.rs @@ -19,9 +19,9 @@ impl CopySnapshotFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl CopySnapshotFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::copy_snapshot::CopySnapshot, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                      The name of an existing snapshot from which to make a copy.

                                                                                                                                                                                                      pub fn source_snapshot_name( mut self, diff --git a/sdk/memorydb/src/operation/create_acl/builders.rs b/sdk/memorydb/src/operation/create_acl/builders.rs index 3e21afe544be..95b6c04c166a 100644 --- a/sdk/memorydb/src/operation/create_acl/builders.rs +++ b/sdk/memorydb/src/operation/create_acl/builders.rs @@ -19,9 +19,9 @@ impl CreateACLFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl CreateACLFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::create_acl::CreateACL, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                      The name of the Access Control List.

                                                                                                                                                                                                      pub fn acl_name(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.acl_name(input.into()); diff --git a/sdk/memorydb/src/operation/create_cluster/builders.rs b/sdk/memorydb/src/operation/create_cluster/builders.rs index 4ee231612357..2e75abb41dfe 100644 --- a/sdk/memorydb/src/operation/create_cluster/builders.rs +++ b/sdk/memorydb/src/operation/create_cluster/builders.rs @@ -19,9 +19,9 @@ impl CreateClusterFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl CreateClusterFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::create_cluster::CreateCluster, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                      The name of the cluster. This value must be unique as it also serves as the cluster identifier.

                                                                                                                                                                                                      pub fn cluster_name(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.cluster_name(input.into()); diff --git a/sdk/memorydb/src/operation/create_parameter_group/builders.rs b/sdk/memorydb/src/operation/create_parameter_group/builders.rs index 958a5ccac748..3a94497ae882 100644 --- a/sdk/memorydb/src/operation/create_parameter_group/builders.rs +++ b/sdk/memorydb/src/operation/create_parameter_group/builders.rs @@ -19,9 +19,9 @@ impl CreateParameterGroupFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl CreateParameterGroupFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::create_parameter_group::CreateParameterGroup, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::create_parameter_group::CreateParameterGroupError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                      The name of the parameter group.

                                                                                                                                                                                                      pub fn parameter_group_name( mut self, diff --git a/sdk/memorydb/src/operation/create_snapshot/builders.rs b/sdk/memorydb/src/operation/create_snapshot/builders.rs index d589d931dd54..27137a5514c8 100644 --- a/sdk/memorydb/src/operation/create_snapshot/builders.rs +++ b/sdk/memorydb/src/operation/create_snapshot/builders.rs @@ -19,9 +19,9 @@ impl CreateSnapshotFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl CreateSnapshotFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::create_snapshot::CreateSnapshot, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                      The snapshot is created from this cluster.

                                                                                                                                                                                                      pub fn cluster_name(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.cluster_name(input.into()); diff --git a/sdk/memorydb/src/operation/create_subnet_group/builders.rs b/sdk/memorydb/src/operation/create_subnet_group/builders.rs index 95505de7dc9f..07fbb78c3ebe 100644 --- a/sdk/memorydb/src/operation/create_subnet_group/builders.rs +++ b/sdk/memorydb/src/operation/create_subnet_group/builders.rs @@ -19,9 +19,9 @@ impl CreateSubnetGroupFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl CreateSubnetGroupFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::create_subnet_group::CreateSubnetGroup, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::create_subnet_group::CreateSubnetGroupError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                      The name of the subnet group.

                                                                                                                                                                                                      pub fn subnet_group_name( mut self, diff --git a/sdk/memorydb/src/operation/create_user/builders.rs b/sdk/memorydb/src/operation/create_user/builders.rs index 42d118220e60..56b7e6667749 100644 --- a/sdk/memorydb/src/operation/create_user/builders.rs +++ b/sdk/memorydb/src/operation/create_user/builders.rs @@ -19,9 +19,9 @@ impl CreateUserFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl CreateUserFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::create_user::CreateUser, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                      The name of the user. This value must be unique as it also serves as the user identifier.

                                                                                                                                                                                                      pub fn user_name(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.user_name(input.into()); diff --git a/sdk/memorydb/src/operation/delete_acl/builders.rs b/sdk/memorydb/src/operation/delete_acl/builders.rs index 6164452c8bb3..dedc189127a0 100644 --- a/sdk/memorydb/src/operation/delete_acl/builders.rs +++ b/sdk/memorydb/src/operation/delete_acl/builders.rs @@ -19,9 +19,9 @@ impl DeleteACLFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl DeleteACLFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::delete_acl::DeleteACL, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                      The name of the Access Control List to delete

                                                                                                                                                                                                      pub fn acl_name(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.acl_name(input.into()); diff --git a/sdk/memorydb/src/operation/delete_cluster/builders.rs b/sdk/memorydb/src/operation/delete_cluster/builders.rs index 54ae9ab17960..822e834d9e3c 100644 --- a/sdk/memorydb/src/operation/delete_cluster/builders.rs +++ b/sdk/memorydb/src/operation/delete_cluster/builders.rs @@ -19,9 +19,9 @@ impl DeleteClusterFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl DeleteClusterFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::delete_cluster::DeleteCluster, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                      The name of the cluster to be deleted

                                                                                                                                                                                                      pub fn cluster_name(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.cluster_name(input.into()); diff --git a/sdk/memorydb/src/operation/delete_parameter_group/builders.rs b/sdk/memorydb/src/operation/delete_parameter_group/builders.rs index afeaa625d4fc..41acda101800 100644 --- a/sdk/memorydb/src/operation/delete_parameter_group/builders.rs +++ b/sdk/memorydb/src/operation/delete_parameter_group/builders.rs @@ -19,9 +19,9 @@ impl DeleteParameterGroupFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl DeleteParameterGroupFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::delete_parameter_group::DeleteParameterGroup, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::delete_parameter_group::DeleteParameterGroupError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                      The name of the parameter group to delete.

                                                                                                                                                                                                      pub fn parameter_group_name( mut self, diff --git a/sdk/memorydb/src/operation/delete_snapshot/builders.rs b/sdk/memorydb/src/operation/delete_snapshot/builders.rs index 5c5667376ecd..9d1e5fc66a92 100644 --- a/sdk/memorydb/src/operation/delete_snapshot/builders.rs +++ b/sdk/memorydb/src/operation/delete_snapshot/builders.rs @@ -19,9 +19,9 @@ impl DeleteSnapshotFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl DeleteSnapshotFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::delete_snapshot::DeleteSnapshot, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                      The name of the snapshot to delete

                                                                                                                                                                                                      pub fn snapshot_name( mut self, diff --git a/sdk/memorydb/src/operation/delete_subnet_group/builders.rs b/sdk/memorydb/src/operation/delete_subnet_group/builders.rs index 3a5485e62c6b..6f6cc448825c 100644 --- a/sdk/memorydb/src/operation/delete_subnet_group/builders.rs +++ b/sdk/memorydb/src/operation/delete_subnet_group/builders.rs @@ -19,9 +19,9 @@ impl DeleteSubnetGroupFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl DeleteSubnetGroupFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::delete_subnet_group::DeleteSubnetGroup, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::delete_subnet_group::DeleteSubnetGroupError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                      The name of the subnet group to delete

                                                                                                                                                                                                      pub fn subnet_group_name( mut self, diff --git a/sdk/memorydb/src/operation/delete_user/builders.rs b/sdk/memorydb/src/operation/delete_user/builders.rs index 5e1f12aef1bb..f5215241e2c9 100644 --- a/sdk/memorydb/src/operation/delete_user/builders.rs +++ b/sdk/memorydb/src/operation/delete_user/builders.rs @@ -19,9 +19,9 @@ impl DeleteUserFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl DeleteUserFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::delete_user::DeleteUser, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                      The name of the user to delete

                                                                                                                                                                                                      pub fn user_name(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.user_name(input.into()); diff --git a/sdk/memorydb/src/operation/describe_ac_ls/builders.rs b/sdk/memorydb/src/operation/describe_ac_ls/builders.rs index e4852a2c4f51..c462d57904da 100644 --- a/sdk/memorydb/src/operation/describe_ac_ls/builders.rs +++ b/sdk/memorydb/src/operation/describe_ac_ls/builders.rs @@ -19,9 +19,9 @@ impl DescribeACLsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl DescribeACLsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::describe_ac_ls::DescribeACLs, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::describe_ac_ls::paginator::DescribeAcLsPaginator::send) which returns a `Stream`. diff --git a/sdk/memorydb/src/operation/describe_clusters/builders.rs b/sdk/memorydb/src/operation/describe_clusters/builders.rs index 62240f11fb93..75e8625efcce 100644 --- a/sdk/memorydb/src/operation/describe_clusters/builders.rs +++ b/sdk/memorydb/src/operation/describe_clusters/builders.rs @@ -19,9 +19,9 @@ impl DescribeClustersFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl DescribeClustersFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::describe_clusters::DescribeClusters, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::describe_clusters::DescribeClustersError, + >, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::describe_clusters::paginator::DescribeClustersPaginator::send) which returns a `Stream`. diff --git a/sdk/memorydb/src/operation/describe_engine_versions/builders.rs b/sdk/memorydb/src/operation/describe_engine_versions/builders.rs index ecba2d0911cf..139b7d5d5faa 100644 --- a/sdk/memorydb/src/operation/describe_engine_versions/builders.rs +++ b/sdk/memorydb/src/operation/describe_engine_versions/builders.rs @@ -19,9 +19,9 @@ impl DescribeEngineVersionsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl DescribeEngineVersionsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::describe_engine_versions::DescribeEngineVersions, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::describe_engine_versions::DescribeEngineVersionsError, + >, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::describe_engine_versions::paginator::DescribeEngineVersionsPaginator::send) which returns a `Stream`. diff --git a/sdk/memorydb/src/operation/describe_events/builders.rs b/sdk/memorydb/src/operation/describe_events/builders.rs index 0f3d7c321eb2..cbeb93af71de 100644 --- a/sdk/memorydb/src/operation/describe_events/builders.rs +++ b/sdk/memorydb/src/operation/describe_events/builders.rs @@ -19,9 +19,9 @@ impl DescribeEventsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl DescribeEventsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::describe_events::DescribeEvents, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::describe_events::paginator::DescribeEventsPaginator::send) which returns a `Stream`. diff --git a/sdk/memorydb/src/operation/describe_parameter_groups/builders.rs b/sdk/memorydb/src/operation/describe_parameter_groups/builders.rs index 18268aa70126..b53cf2492b8f 100644 --- a/sdk/memorydb/src/operation/describe_parameter_groups/builders.rs +++ b/sdk/memorydb/src/operation/describe_parameter_groups/builders.rs @@ -20,9 +20,9 @@ impl DescribeParameterGroupsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -84,6 +84,22 @@ impl DescribeParameterGroupsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::describe_parameter_groups::DescribeParameterGroups, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::describe_parameter_groups::DescribeParameterGroupsError, + >, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::describe_parameter_groups::paginator::DescribeParameterGroupsPaginator::send) which returns a `Stream`. diff --git a/sdk/memorydb/src/operation/describe_parameters/builders.rs b/sdk/memorydb/src/operation/describe_parameters/builders.rs index ed61071785ad..ee2792301f13 100644 --- a/sdk/memorydb/src/operation/describe_parameters/builders.rs +++ b/sdk/memorydb/src/operation/describe_parameters/builders.rs @@ -19,9 +19,9 @@ impl DescribeParametersFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl DescribeParametersFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::describe_parameters::DescribeParameters, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::describe_parameters::DescribeParametersError, + >, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::describe_parameters::paginator::DescribeParametersPaginator::send) which returns a `Stream`. diff --git a/sdk/memorydb/src/operation/describe_reserved_nodes/builders.rs b/sdk/memorydb/src/operation/describe_reserved_nodes/builders.rs index 2fdf14487710..c1174d8e2738 100644 --- a/sdk/memorydb/src/operation/describe_reserved_nodes/builders.rs +++ b/sdk/memorydb/src/operation/describe_reserved_nodes/builders.rs @@ -19,9 +19,9 @@ impl DescribeReservedNodesFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl DescribeReservedNodesFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::describe_reserved_nodes::DescribeReservedNodes, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::describe_reserved_nodes::DescribeReservedNodesError, + >, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::describe_reserved_nodes::paginator::DescribeReservedNodesPaginator::send) which returns a `Stream`. diff --git a/sdk/memorydb/src/operation/describe_reserved_nodes_offerings/builders.rs b/sdk/memorydb/src/operation/describe_reserved_nodes_offerings/builders.rs index be99ebb85510..e90669349a35 100644 --- a/sdk/memorydb/src/operation/describe_reserved_nodes_offerings/builders.rs +++ b/sdk/memorydb/src/operation/describe_reserved_nodes_offerings/builders.rs @@ -19,9 +19,9 @@ impl DescribeReservedNodesOfferingsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize(self) -> ::std::result::Result< + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware(self) -> ::std::result::Result< crate::client::customize::CustomizableOperation, ::aws_smithy_http::result::SdkError >{ @@ -64,6 +64,15 @@ impl DescribeReservedNodesOfferingsFluentBuilder { { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize(self) -> ::std::result::Result< + crate::client::customize::CustomizableOperation, + ::aws_smithy_http::result::SdkError + >{ + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::describe_reserved_nodes_offerings::paginator::DescribeReservedNodesOfferingsPaginator::send) which returns a `Stream`. diff --git a/sdk/memorydb/src/operation/describe_service_updates/builders.rs b/sdk/memorydb/src/operation/describe_service_updates/builders.rs index 3d530aa9ed9d..6af397a82614 100644 --- a/sdk/memorydb/src/operation/describe_service_updates/builders.rs +++ b/sdk/memorydb/src/operation/describe_service_updates/builders.rs @@ -19,9 +19,9 @@ impl DescribeServiceUpdatesFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl DescribeServiceUpdatesFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::describe_service_updates::DescribeServiceUpdates, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::describe_service_updates::DescribeServiceUpdatesError, + >, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::describe_service_updates::paginator::DescribeServiceUpdatesPaginator::send) which returns a `Stream`. diff --git a/sdk/memorydb/src/operation/describe_snapshots/builders.rs b/sdk/memorydb/src/operation/describe_snapshots/builders.rs index cdd6629eec9c..e8103c1a107a 100644 --- a/sdk/memorydb/src/operation/describe_snapshots/builders.rs +++ b/sdk/memorydb/src/operation/describe_snapshots/builders.rs @@ -19,9 +19,9 @@ impl DescribeSnapshotsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl DescribeSnapshotsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::describe_snapshots::DescribeSnapshots, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::describe_snapshots::DescribeSnapshotsError, + >, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::describe_snapshots::paginator::DescribeSnapshotsPaginator::send) which returns a `Stream`. diff --git a/sdk/memorydb/src/operation/describe_subnet_groups/builders.rs b/sdk/memorydb/src/operation/describe_subnet_groups/builders.rs index d8bf1ac597b0..1e0022b00b11 100644 --- a/sdk/memorydb/src/operation/describe_subnet_groups/builders.rs +++ b/sdk/memorydb/src/operation/describe_subnet_groups/builders.rs @@ -19,9 +19,9 @@ impl DescribeSubnetGroupsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl DescribeSubnetGroupsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::describe_subnet_groups::DescribeSubnetGroups, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::describe_subnet_groups::DescribeSubnetGroupsError, + >, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::describe_subnet_groups::paginator::DescribeSubnetGroupsPaginator::send) which returns a `Stream`. diff --git a/sdk/memorydb/src/operation/describe_users/builders.rs b/sdk/memorydb/src/operation/describe_users/builders.rs index ea4a73b4b666..f3c0b4be6ca0 100644 --- a/sdk/memorydb/src/operation/describe_users/builders.rs +++ b/sdk/memorydb/src/operation/describe_users/builders.rs @@ -19,9 +19,9 @@ impl DescribeUsersFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl DescribeUsersFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::describe_users::DescribeUsers, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::describe_users::paginator::DescribeUsersPaginator::send) which returns a `Stream`. diff --git a/sdk/memorydb/src/operation/failover_shard/builders.rs b/sdk/memorydb/src/operation/failover_shard/builders.rs index c7212e63e6fa..45cfb7104f94 100644 --- a/sdk/memorydb/src/operation/failover_shard/builders.rs +++ b/sdk/memorydb/src/operation/failover_shard/builders.rs @@ -19,9 +19,9 @@ impl FailoverShardFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl FailoverShardFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::failover_shard::FailoverShard, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                      The cluster being failed over

                                                                                                                                                                                                      pub fn cluster_name(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.cluster_name(input.into()); diff --git a/sdk/memorydb/src/operation/list_allowed_node_type_updates/builders.rs b/sdk/memorydb/src/operation/list_allowed_node_type_updates/builders.rs index b05487596beb..a65b9d4d1ae9 100644 --- a/sdk/memorydb/src/operation/list_allowed_node_type_updates/builders.rs +++ b/sdk/memorydb/src/operation/list_allowed_node_type_updates/builders.rs @@ -19,9 +19,9 @@ impl ListAllowedNodeTypeUpdatesFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl ListAllowedNodeTypeUpdatesFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_allowed_node_type_updates::ListAllowedNodeTypeUpdates, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::list_allowed_node_type_updates::ListAllowedNodeTypeUpdatesError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                      The name of the cluster you want to scale. MemoryDB uses the cluster name to identify the current node type being used by this cluster, and from that to create a list of node types you can scale up to.

                                                                                                                                                                                                      pub fn cluster_name(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.cluster_name(input.into()); diff --git a/sdk/memorydb/src/operation/list_tags/builders.rs b/sdk/memorydb/src/operation/list_tags/builders.rs index a7d91c55b672..8f1700124b5c 100644 --- a/sdk/memorydb/src/operation/list_tags/builders.rs +++ b/sdk/memorydb/src/operation/list_tags/builders.rs @@ -19,9 +19,9 @@ impl ListTagsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl ListTagsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_tags::ListTags, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                      The Amazon Resource Name (ARN) of the resource for which you want the list of tags

                                                                                                                                                                                                      pub fn resource_arn(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.resource_arn(input.into()); diff --git a/sdk/memorydb/src/operation/purchase_reserved_nodes_offering/builders.rs b/sdk/memorydb/src/operation/purchase_reserved_nodes_offering/builders.rs index ce695472c6c2..5188fe4b2720 100644 --- a/sdk/memorydb/src/operation/purchase_reserved_nodes_offering/builders.rs +++ b/sdk/memorydb/src/operation/purchase_reserved_nodes_offering/builders.rs @@ -19,9 +19,9 @@ impl PurchaseReservedNodesOfferingFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl PurchaseReservedNodesOfferingFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::purchase_reserved_nodes_offering::PurchaseReservedNodesOffering, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::purchase_reserved_nodes_offering::PurchaseReservedNodesOfferingError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                      The ID of the reserved node offering to purchase.

                                                                                                                                                                                                      pub fn reserved_nodes_offering_id( mut self, diff --git a/sdk/memorydb/src/operation/reset_parameter_group/builders.rs b/sdk/memorydb/src/operation/reset_parameter_group/builders.rs index 98eda192b495..06cce383cca2 100644 --- a/sdk/memorydb/src/operation/reset_parameter_group/builders.rs +++ b/sdk/memorydb/src/operation/reset_parameter_group/builders.rs @@ -19,9 +19,9 @@ impl ResetParameterGroupFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl ResetParameterGroupFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::reset_parameter_group::ResetParameterGroup, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::reset_parameter_group::ResetParameterGroupError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                      The name of the parameter group to reset.

                                                                                                                                                                                                      pub fn parameter_group_name( mut self, diff --git a/sdk/memorydb/src/operation/tag_resource/builders.rs b/sdk/memorydb/src/operation/tag_resource/builders.rs index 33b71e0b6bd4..ebf334140705 100644 --- a/sdk/memorydb/src/operation/tag_resource/builders.rs +++ b/sdk/memorydb/src/operation/tag_resource/builders.rs @@ -20,9 +20,9 @@ impl TagResourceFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -78,6 +78,20 @@ impl TagResourceFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::tag_resource::TagResource, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                      The Amazon Resource Name (ARN) of the resource to which the tags are to be added

                                                                                                                                                                                                      pub fn resource_arn(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.resource_arn(input.into()); diff --git a/sdk/memorydb/src/operation/untag_resource/builders.rs b/sdk/memorydb/src/operation/untag_resource/builders.rs index 5a614bd5b0c0..4c76557d2f87 100644 --- a/sdk/memorydb/src/operation/untag_resource/builders.rs +++ b/sdk/memorydb/src/operation/untag_resource/builders.rs @@ -19,9 +19,9 @@ impl UntagResourceFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl UntagResourceFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::untag_resource::UntagResource, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                      The Amazon Resource Name (ARN) of the resource to which the tags are to be removed

                                                                                                                                                                                                      pub fn resource_arn(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.resource_arn(input.into()); diff --git a/sdk/memorydb/src/operation/update_acl/builders.rs b/sdk/memorydb/src/operation/update_acl/builders.rs index 1edab3fbe151..49eaea949a16 100644 --- a/sdk/memorydb/src/operation/update_acl/builders.rs +++ b/sdk/memorydb/src/operation/update_acl/builders.rs @@ -19,9 +19,9 @@ impl UpdateACLFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl UpdateACLFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::update_acl::UpdateACL, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                      The name of the Access Control List

                                                                                                                                                                                                      pub fn acl_name(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.acl_name(input.into()); diff --git a/sdk/memorydb/src/operation/update_cluster/builders.rs b/sdk/memorydb/src/operation/update_cluster/builders.rs index cd2da94f8c51..9cca3724f30e 100644 --- a/sdk/memorydb/src/operation/update_cluster/builders.rs +++ b/sdk/memorydb/src/operation/update_cluster/builders.rs @@ -19,9 +19,9 @@ impl UpdateClusterFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl UpdateClusterFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::update_cluster::UpdateCluster, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                      The name of the cluster to update

                                                                                                                                                                                                      pub fn cluster_name(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.cluster_name(input.into()); diff --git a/sdk/memorydb/src/operation/update_parameter_group/builders.rs b/sdk/memorydb/src/operation/update_parameter_group/builders.rs index 775479afc4ff..60dc0d21deae 100644 --- a/sdk/memorydb/src/operation/update_parameter_group/builders.rs +++ b/sdk/memorydb/src/operation/update_parameter_group/builders.rs @@ -19,9 +19,9 @@ impl UpdateParameterGroupFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl UpdateParameterGroupFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::update_parameter_group::UpdateParameterGroup, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::update_parameter_group::UpdateParameterGroupError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                      The name of the parameter group to update.

                                                                                                                                                                                                      pub fn parameter_group_name( mut self, diff --git a/sdk/memorydb/src/operation/update_subnet_group/builders.rs b/sdk/memorydb/src/operation/update_subnet_group/builders.rs index f76e4d48ec03..842228517c94 100644 --- a/sdk/memorydb/src/operation/update_subnet_group/builders.rs +++ b/sdk/memorydb/src/operation/update_subnet_group/builders.rs @@ -19,9 +19,9 @@ impl UpdateSubnetGroupFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl UpdateSubnetGroupFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::update_subnet_group::UpdateSubnetGroup, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::update_subnet_group::UpdateSubnetGroupError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                      The name of the subnet group

                                                                                                                                                                                                      pub fn subnet_group_name( mut self, diff --git a/sdk/memorydb/src/operation/update_user/builders.rs b/sdk/memorydb/src/operation/update_user/builders.rs index 5b6117366cbd..1a2064ea3feb 100644 --- a/sdk/memorydb/src/operation/update_user/builders.rs +++ b/sdk/memorydb/src/operation/update_user/builders.rs @@ -19,9 +19,9 @@ impl UpdateUserFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl UpdateUserFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::update_user::UpdateUser, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                      The name of the user

                                                                                                                                                                                                      pub fn user_name(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.user_name(input.into()); diff --git a/sdk/mgn/src/operation/archive_application/builders.rs b/sdk/mgn/src/operation/archive_application/builders.rs index 476da890982b..dfe80f5a9c55 100644 --- a/sdk/mgn/src/operation/archive_application/builders.rs +++ b/sdk/mgn/src/operation/archive_application/builders.rs @@ -19,9 +19,9 @@ impl ArchiveApplicationFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl ArchiveApplicationFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::archive_application::ArchiveApplication, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::archive_application::ArchiveApplicationError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                      Application ID.

                                                                                                                                                                                                      pub fn application_id( mut self, diff --git a/sdk/mgn/src/operation/archive_wave/builders.rs b/sdk/mgn/src/operation/archive_wave/builders.rs index de45ed3a3b4d..c8d123707abd 100644 --- a/sdk/mgn/src/operation/archive_wave/builders.rs +++ b/sdk/mgn/src/operation/archive_wave/builders.rs @@ -19,9 +19,9 @@ impl ArchiveWaveFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl ArchiveWaveFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::archive_wave::ArchiveWave, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                      Wave ID.

                                                                                                                                                                                                      pub fn wave_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.wave_id(input.into()); diff --git a/sdk/mgn/src/operation/associate_applications/builders.rs b/sdk/mgn/src/operation/associate_applications/builders.rs index 77b2c8091a93..deb52f27ccbd 100644 --- a/sdk/mgn/src/operation/associate_applications/builders.rs +++ b/sdk/mgn/src/operation/associate_applications/builders.rs @@ -19,9 +19,9 @@ impl AssociateApplicationsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl AssociateApplicationsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::associate_applications::AssociateApplications, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::associate_applications::AssociateApplicationsError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                      Wave ID.

                                                                                                                                                                                                      pub fn wave_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.wave_id(input.into()); diff --git a/sdk/mgn/src/operation/associate_source_servers/builders.rs b/sdk/mgn/src/operation/associate_source_servers/builders.rs index b31969daf54d..3a10eca0715d 100644 --- a/sdk/mgn/src/operation/associate_source_servers/builders.rs +++ b/sdk/mgn/src/operation/associate_source_servers/builders.rs @@ -19,9 +19,9 @@ impl AssociateSourceServersFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl AssociateSourceServersFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::associate_source_servers::AssociateSourceServers, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::associate_source_servers::AssociateSourceServersError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                      Application ID.

                                                                                                                                                                                                      pub fn application_id( mut self, diff --git a/sdk/mgn/src/operation/change_server_life_cycle_state/builders.rs b/sdk/mgn/src/operation/change_server_life_cycle_state/builders.rs index 4ac6df19d897..94e33491f111 100644 --- a/sdk/mgn/src/operation/change_server_life_cycle_state/builders.rs +++ b/sdk/mgn/src/operation/change_server_life_cycle_state/builders.rs @@ -19,9 +19,9 @@ impl ChangeServerLifeCycleStateFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl ChangeServerLifeCycleStateFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::change_server_life_cycle_state::ChangeServerLifeCycleState, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::change_server_life_cycle_state::ChangeServerLifeCycleStateError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                      The request to change the source server migration lifecycle state by source server ID.

                                                                                                                                                                                                      pub fn source_server_id( mut self, diff --git a/sdk/mgn/src/operation/create_application/builders.rs b/sdk/mgn/src/operation/create_application/builders.rs index bc305603c84c..8d16e8a8043c 100644 --- a/sdk/mgn/src/operation/create_application/builders.rs +++ b/sdk/mgn/src/operation/create_application/builders.rs @@ -19,9 +19,9 @@ impl CreateApplicationFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl CreateApplicationFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::create_application::CreateApplication, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::create_application::CreateApplicationError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                      Application name.

                                                                                                                                                                                                      pub fn name(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.name(input.into()); diff --git a/sdk/mgn/src/operation/create_launch_configuration_template/builders.rs b/sdk/mgn/src/operation/create_launch_configuration_template/builders.rs index 09ce4d79eb0e..31d3ef7f7e70 100644 --- a/sdk/mgn/src/operation/create_launch_configuration_template/builders.rs +++ b/sdk/mgn/src/operation/create_launch_configuration_template/builders.rs @@ -19,9 +19,9 @@ impl CreateLaunchConfigurationTemplateFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize(self) -> ::std::result::Result< + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware(self) -> ::std::result::Result< crate::client::customize::CustomizableOperation, ::aws_smithy_http::result::SdkError >{ @@ -64,6 +64,15 @@ impl CreateLaunchConfigurationTemplateFluentBuilder { { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize(self) -> ::std::result::Result< + crate::client::customize::CustomizableOperation, + ::aws_smithy_http::result::SdkError + >{ + self.customize_middleware().await + } ///

                                                                                                                                                                                                      Launch configuration template post launch actions.

                                                                                                                                                                                                      pub fn post_launch_actions(mut self, input: crate::types::PostLaunchActions) -> Self { self.inner = self.inner.post_launch_actions(input); diff --git a/sdk/mgn/src/operation/create_replication_configuration_template/builders.rs b/sdk/mgn/src/operation/create_replication_configuration_template/builders.rs index b469289a34ff..bab467c00720 100644 --- a/sdk/mgn/src/operation/create_replication_configuration_template/builders.rs +++ b/sdk/mgn/src/operation/create_replication_configuration_template/builders.rs @@ -19,9 +19,9 @@ impl CreateReplicationConfigurationTemplateFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize(self) -> ::std::result::Result< + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware(self) -> ::std::result::Result< crate::client::customize::CustomizableOperation, ::aws_smithy_http::result::SdkError >{ @@ -64,6 +64,15 @@ impl CreateReplicationConfigurationTemplateFluentBuilder { { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize(self) -> ::std::result::Result< + crate::client::customize::CustomizableOperation, + ::aws_smithy_http::result::SdkError + >{ + self.customize_middleware().await + } ///

                                                                                                                                                                                                      Request to configure the Staging Area subnet ID during Replication Settings template creation.

                                                                                                                                                                                                      pub fn staging_area_subnet_id( mut self, diff --git a/sdk/mgn/src/operation/create_wave/builders.rs b/sdk/mgn/src/operation/create_wave/builders.rs index e03718dec83c..9fd957007a18 100644 --- a/sdk/mgn/src/operation/create_wave/builders.rs +++ b/sdk/mgn/src/operation/create_wave/builders.rs @@ -19,9 +19,9 @@ impl CreateWaveFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl CreateWaveFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::create_wave::CreateWave, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                      Wave name.

                                                                                                                                                                                                      pub fn name(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.name(input.into()); diff --git a/sdk/mgn/src/operation/delete_application/builders.rs b/sdk/mgn/src/operation/delete_application/builders.rs index fc9ba721be38..cfb01c09fbaf 100644 --- a/sdk/mgn/src/operation/delete_application/builders.rs +++ b/sdk/mgn/src/operation/delete_application/builders.rs @@ -19,9 +19,9 @@ impl DeleteApplicationFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl DeleteApplicationFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::delete_application::DeleteApplication, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::delete_application::DeleteApplicationError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                      Application ID.

                                                                                                                                                                                                      pub fn application_id( mut self, diff --git a/sdk/mgn/src/operation/delete_job/builders.rs b/sdk/mgn/src/operation/delete_job/builders.rs index fb7db8445a51..848e199a4c24 100644 --- a/sdk/mgn/src/operation/delete_job/builders.rs +++ b/sdk/mgn/src/operation/delete_job/builders.rs @@ -19,9 +19,9 @@ impl DeleteJobFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl DeleteJobFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::delete_job::DeleteJob, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                      Request to delete Job from service by Job ID.

                                                                                                                                                                                                      pub fn job_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.job_id(input.into()); diff --git a/sdk/mgn/src/operation/delete_launch_configuration_template/builders.rs b/sdk/mgn/src/operation/delete_launch_configuration_template/builders.rs index 88f5c4d21bcc..9841d0511cbd 100644 --- a/sdk/mgn/src/operation/delete_launch_configuration_template/builders.rs +++ b/sdk/mgn/src/operation/delete_launch_configuration_template/builders.rs @@ -19,9 +19,9 @@ impl DeleteLaunchConfigurationTemplateFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize(self) -> ::std::result::Result< + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware(self) -> ::std::result::Result< crate::client::customize::CustomizableOperation, ::aws_smithy_http::result::SdkError >{ @@ -64,6 +64,15 @@ impl DeleteLaunchConfigurationTemplateFluentBuilder { { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize(self) -> ::std::result::Result< + crate::client::customize::CustomizableOperation, + ::aws_smithy_http::result::SdkError + >{ + self.customize_middleware().await + } ///

                                                                                                                                                                                                      ID of resource to be deleted.

                                                                                                                                                                                                      pub fn launch_configuration_template_id( mut self, diff --git a/sdk/mgn/src/operation/delete_replication_configuration_template/builders.rs b/sdk/mgn/src/operation/delete_replication_configuration_template/builders.rs index 09748c4518f2..6a65b4eb6d0a 100644 --- a/sdk/mgn/src/operation/delete_replication_configuration_template/builders.rs +++ b/sdk/mgn/src/operation/delete_replication_configuration_template/builders.rs @@ -19,9 +19,9 @@ impl DeleteReplicationConfigurationTemplateFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize(self) -> ::std::result::Result< + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware(self) -> ::std::result::Result< crate::client::customize::CustomizableOperation, ::aws_smithy_http::result::SdkError >{ @@ -64,6 +64,15 @@ impl DeleteReplicationConfigurationTemplateFluentBuilder { { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize(self) -> ::std::result::Result< + crate::client::customize::CustomizableOperation, + ::aws_smithy_http::result::SdkError + >{ + self.customize_middleware().await + } ///

                                                                                                                                                                                                      Request to delete Replication Configuration Template from service by Replication Configuration Template ID.

                                                                                                                                                                                                      pub fn replication_configuration_template_id( mut self, diff --git a/sdk/mgn/src/operation/delete_source_server/builders.rs b/sdk/mgn/src/operation/delete_source_server/builders.rs index 55426d408db9..915f4af97011 100644 --- a/sdk/mgn/src/operation/delete_source_server/builders.rs +++ b/sdk/mgn/src/operation/delete_source_server/builders.rs @@ -19,9 +19,9 @@ impl DeleteSourceServerFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl DeleteSourceServerFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::delete_source_server::DeleteSourceServer, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::delete_source_server::DeleteSourceServerError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                      Request to delete Source Server from service by Server ID.

                                                                                                                                                                                                      pub fn source_server_id( mut self, diff --git a/sdk/mgn/src/operation/delete_vcenter_client/builders.rs b/sdk/mgn/src/operation/delete_vcenter_client/builders.rs index ecd819e277c1..bec5461bb71e 100644 --- a/sdk/mgn/src/operation/delete_vcenter_client/builders.rs +++ b/sdk/mgn/src/operation/delete_vcenter_client/builders.rs @@ -19,9 +19,9 @@ impl DeleteVcenterClientFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl DeleteVcenterClientFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::delete_vcenter_client::DeleteVcenterClient, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::delete_vcenter_client::DeleteVcenterClientError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                      ID of resource to be deleted.

                                                                                                                                                                                                      pub fn vcenter_client_id( mut self, diff --git a/sdk/mgn/src/operation/delete_wave/builders.rs b/sdk/mgn/src/operation/delete_wave/builders.rs index 89ca43540a00..d1ee342b4222 100644 --- a/sdk/mgn/src/operation/delete_wave/builders.rs +++ b/sdk/mgn/src/operation/delete_wave/builders.rs @@ -19,9 +19,9 @@ impl DeleteWaveFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl DeleteWaveFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::delete_wave::DeleteWave, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                      Wave ID.

                                                                                                                                                                                                      pub fn wave_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.wave_id(input.into()); diff --git a/sdk/mgn/src/operation/describe_job_log_items/builders.rs b/sdk/mgn/src/operation/describe_job_log_items/builders.rs index 7cc763eea326..e04c5a070ff2 100644 --- a/sdk/mgn/src/operation/describe_job_log_items/builders.rs +++ b/sdk/mgn/src/operation/describe_job_log_items/builders.rs @@ -19,9 +19,9 @@ impl DescribeJobLogItemsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl DescribeJobLogItemsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::describe_job_log_items::DescribeJobLogItems, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::describe_job_log_items::DescribeJobLogItemsError, + >, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::describe_job_log_items::paginator::DescribeJobLogItemsPaginator::send) which returns a `Stream`. diff --git a/sdk/mgn/src/operation/describe_jobs/builders.rs b/sdk/mgn/src/operation/describe_jobs/builders.rs index b10777c2f4e6..13c14530dcdc 100644 --- a/sdk/mgn/src/operation/describe_jobs/builders.rs +++ b/sdk/mgn/src/operation/describe_jobs/builders.rs @@ -19,9 +19,9 @@ impl DescribeJobsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl DescribeJobsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::describe_jobs::DescribeJobs, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::describe_jobs::paginator::DescribeJobsPaginator::send) which returns a `Stream`. diff --git a/sdk/mgn/src/operation/describe_launch_configuration_templates/builders.rs b/sdk/mgn/src/operation/describe_launch_configuration_templates/builders.rs index 01fa44616af3..1d7c3016a8a7 100644 --- a/sdk/mgn/src/operation/describe_launch_configuration_templates/builders.rs +++ b/sdk/mgn/src/operation/describe_launch_configuration_templates/builders.rs @@ -19,9 +19,9 @@ impl DescribeLaunchConfigurationTemplatesFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize(self) -> ::std::result::Result< + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware(self) -> ::std::result::Result< crate::client::customize::CustomizableOperation, ::aws_smithy_http::result::SdkError >{ @@ -64,6 +64,15 @@ impl DescribeLaunchConfigurationTemplatesFluentBuilder { { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize(self) -> ::std::result::Result< + crate::client::customize::CustomizableOperation, + ::aws_smithy_http::result::SdkError + >{ + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::describe_launch_configuration_templates::paginator::DescribeLaunchConfigurationTemplatesPaginator::send) which returns a `Stream`. diff --git a/sdk/mgn/src/operation/describe_replication_configuration_templates/builders.rs b/sdk/mgn/src/operation/describe_replication_configuration_templates/builders.rs index 882d5eb934d2..8f909406ce64 100644 --- a/sdk/mgn/src/operation/describe_replication_configuration_templates/builders.rs +++ b/sdk/mgn/src/operation/describe_replication_configuration_templates/builders.rs @@ -19,9 +19,9 @@ impl DescribeReplicationConfigurationTemplatesFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize(self) -> ::std::result::Result< + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware(self) -> ::std::result::Result< crate::client::customize::CustomizableOperation, ::aws_smithy_http::result::SdkError >{ @@ -64,6 +64,15 @@ impl DescribeReplicationConfigurationTemplatesFluentBuilder { { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize(self) -> ::std::result::Result< + crate::client::customize::CustomizableOperation, + ::aws_smithy_http::result::SdkError + >{ + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::describe_replication_configuration_templates::paginator::DescribeReplicationConfigurationTemplatesPaginator::send) which returns a `Stream`. diff --git a/sdk/mgn/src/operation/describe_source_servers/builders.rs b/sdk/mgn/src/operation/describe_source_servers/builders.rs index 9fb642d1a38e..80102c798628 100644 --- a/sdk/mgn/src/operation/describe_source_servers/builders.rs +++ b/sdk/mgn/src/operation/describe_source_servers/builders.rs @@ -19,9 +19,9 @@ impl DescribeSourceServersFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl DescribeSourceServersFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::describe_source_servers::DescribeSourceServers, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::describe_source_servers::DescribeSourceServersError, + >, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::describe_source_servers::paginator::DescribeSourceServersPaginator::send) which returns a `Stream`. diff --git a/sdk/mgn/src/operation/describe_vcenter_clients/builders.rs b/sdk/mgn/src/operation/describe_vcenter_clients/builders.rs index 9855e18c6fda..281646cb5ecb 100644 --- a/sdk/mgn/src/operation/describe_vcenter_clients/builders.rs +++ b/sdk/mgn/src/operation/describe_vcenter_clients/builders.rs @@ -19,9 +19,9 @@ impl DescribeVcenterClientsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl DescribeVcenterClientsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::describe_vcenter_clients::DescribeVcenterClients, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::describe_vcenter_clients::DescribeVcenterClientsError, + >, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::describe_vcenter_clients::paginator::DescribeVcenterClientsPaginator::send) which returns a `Stream`. diff --git a/sdk/mgn/src/operation/disassociate_applications/builders.rs b/sdk/mgn/src/operation/disassociate_applications/builders.rs index f0ce99c1d479..4d045c04a1ee 100644 --- a/sdk/mgn/src/operation/disassociate_applications/builders.rs +++ b/sdk/mgn/src/operation/disassociate_applications/builders.rs @@ -20,9 +20,9 @@ impl DisassociateApplicationsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -84,6 +84,22 @@ impl DisassociateApplicationsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::disassociate_applications::DisassociateApplications, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::disassociate_applications::DisassociateApplicationsError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                      Wave ID.

                                                                                                                                                                                                      pub fn wave_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.wave_id(input.into()); diff --git a/sdk/mgn/src/operation/disassociate_source_servers/builders.rs b/sdk/mgn/src/operation/disassociate_source_servers/builders.rs index aa3b420ad71f..505ecb05d749 100644 --- a/sdk/mgn/src/operation/disassociate_source_servers/builders.rs +++ b/sdk/mgn/src/operation/disassociate_source_servers/builders.rs @@ -19,9 +19,9 @@ impl DisassociateSourceServersFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl DisassociateSourceServersFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::disassociate_source_servers::DisassociateSourceServers, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::disassociate_source_servers::DisassociateSourceServersError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                      Application ID.

                                                                                                                                                                                                      pub fn application_id( mut self, diff --git a/sdk/mgn/src/operation/disconnect_from_service/builders.rs b/sdk/mgn/src/operation/disconnect_from_service/builders.rs index 9cf53e332adb..268b40669d68 100644 --- a/sdk/mgn/src/operation/disconnect_from_service/builders.rs +++ b/sdk/mgn/src/operation/disconnect_from_service/builders.rs @@ -19,9 +19,9 @@ impl DisconnectFromServiceFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl DisconnectFromServiceFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::disconnect_from_service::DisconnectFromService, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::disconnect_from_service::DisconnectFromServiceError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                      Request to disconnect Source Server from service by Server ID.

                                                                                                                                                                                                      pub fn source_server_id( mut self, diff --git a/sdk/mgn/src/operation/finalize_cutover/builders.rs b/sdk/mgn/src/operation/finalize_cutover/builders.rs index c2e46172c456..01353ebe303e 100644 --- a/sdk/mgn/src/operation/finalize_cutover/builders.rs +++ b/sdk/mgn/src/operation/finalize_cutover/builders.rs @@ -19,9 +19,9 @@ impl FinalizeCutoverFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl FinalizeCutoverFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::finalize_cutover::FinalizeCutover, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::finalize_cutover::FinalizeCutoverError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                      Request to finalize Cutover by Source Server ID.

                                                                                                                                                                                                      pub fn source_server_id( mut self, diff --git a/sdk/mgn/src/operation/get_launch_configuration/builders.rs b/sdk/mgn/src/operation/get_launch_configuration/builders.rs index f77c20342120..27f26b50ffa4 100644 --- a/sdk/mgn/src/operation/get_launch_configuration/builders.rs +++ b/sdk/mgn/src/operation/get_launch_configuration/builders.rs @@ -19,9 +19,9 @@ impl GetLaunchConfigurationFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl GetLaunchConfigurationFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::get_launch_configuration::GetLaunchConfiguration, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::get_launch_configuration::GetLaunchConfigurationError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                      Request to get Launch Configuration information by Source Server ID.

                                                                                                                                                                                                      pub fn source_server_id( mut self, diff --git a/sdk/mgn/src/operation/get_replication_configuration/builders.rs b/sdk/mgn/src/operation/get_replication_configuration/builders.rs index a5b2fe29848d..c795f2d3dd5d 100644 --- a/sdk/mgn/src/operation/get_replication_configuration/builders.rs +++ b/sdk/mgn/src/operation/get_replication_configuration/builders.rs @@ -19,9 +19,9 @@ impl GetReplicationConfigurationFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl GetReplicationConfigurationFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::get_replication_configuration::GetReplicationConfiguration, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::get_replication_configuration::GetReplicationConfigurationError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                      Request to get Replication Configuration by Source Server ID.

                                                                                                                                                                                                      pub fn source_server_id( mut self, diff --git a/sdk/mgn/src/operation/initialize_service/builders.rs b/sdk/mgn/src/operation/initialize_service/builders.rs index 69445f7738a3..e8ebc24e26e0 100644 --- a/sdk/mgn/src/operation/initialize_service/builders.rs +++ b/sdk/mgn/src/operation/initialize_service/builders.rs @@ -19,9 +19,9 @@ impl InitializeServiceFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,4 +83,20 @@ impl InitializeServiceFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::initialize_service::InitializeService, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::initialize_service::InitializeServiceError, + >, + > { + self.customize_middleware().await + } } diff --git a/sdk/mgn/src/operation/list_applications/builders.rs b/sdk/mgn/src/operation/list_applications/builders.rs index b9836a6656b5..71b9f59fa850 100644 --- a/sdk/mgn/src/operation/list_applications/builders.rs +++ b/sdk/mgn/src/operation/list_applications/builders.rs @@ -19,9 +19,9 @@ impl ListApplicationsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl ListApplicationsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_applications::ListApplications, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::list_applications::ListApplicationsError, + >, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::list_applications::paginator::ListApplicationsPaginator::send) which returns a `Stream`. diff --git a/sdk/mgn/src/operation/list_export_errors/builders.rs b/sdk/mgn/src/operation/list_export_errors/builders.rs index c3c376ce4dfe..34054eaceb9a 100644 --- a/sdk/mgn/src/operation/list_export_errors/builders.rs +++ b/sdk/mgn/src/operation/list_export_errors/builders.rs @@ -19,9 +19,9 @@ impl ListExportErrorsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl ListExportErrorsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_export_errors::ListExportErrors, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::list_export_errors::ListExportErrorsError, + >, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::list_export_errors::paginator::ListExportErrorsPaginator::send) which returns a `Stream`. diff --git a/sdk/mgn/src/operation/list_exports/builders.rs b/sdk/mgn/src/operation/list_exports/builders.rs index 97fbbcd736fa..53609226557a 100644 --- a/sdk/mgn/src/operation/list_exports/builders.rs +++ b/sdk/mgn/src/operation/list_exports/builders.rs @@ -19,9 +19,9 @@ impl ListExportsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl ListExportsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_exports::ListExports, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::list_exports::paginator::ListExportsPaginator::send) which returns a `Stream`. diff --git a/sdk/mgn/src/operation/list_import_errors/builders.rs b/sdk/mgn/src/operation/list_import_errors/builders.rs index 8e2d1c14af9d..b428449ed816 100644 --- a/sdk/mgn/src/operation/list_import_errors/builders.rs +++ b/sdk/mgn/src/operation/list_import_errors/builders.rs @@ -19,9 +19,9 @@ impl ListImportErrorsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl ListImportErrorsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_import_errors::ListImportErrors, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::list_import_errors::ListImportErrorsError, + >, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::list_import_errors::paginator::ListImportErrorsPaginator::send) which returns a `Stream`. diff --git a/sdk/mgn/src/operation/list_imports/builders.rs b/sdk/mgn/src/operation/list_imports/builders.rs index d0d58c073922..bb0666ea45b6 100644 --- a/sdk/mgn/src/operation/list_imports/builders.rs +++ b/sdk/mgn/src/operation/list_imports/builders.rs @@ -19,9 +19,9 @@ impl ListImportsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl ListImportsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_imports::ListImports, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::list_imports::paginator::ListImportsPaginator::send) which returns a `Stream`. diff --git a/sdk/mgn/src/operation/list_source_server_actions/builders.rs b/sdk/mgn/src/operation/list_source_server_actions/builders.rs index 55ab15a52b0a..ca7f45cc4c76 100644 --- a/sdk/mgn/src/operation/list_source_server_actions/builders.rs +++ b/sdk/mgn/src/operation/list_source_server_actions/builders.rs @@ -20,9 +20,9 @@ impl ListSourceServerActionsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -84,6 +84,22 @@ impl ListSourceServerActionsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_source_server_actions::ListSourceServerActions, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::list_source_server_actions::ListSourceServerActionsError, + >, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::list_source_server_actions::paginator::ListSourceServerActionsPaginator::send) which returns a `Stream`. diff --git a/sdk/mgn/src/operation/list_tags_for_resource/builders.rs b/sdk/mgn/src/operation/list_tags_for_resource/builders.rs index 7e1cf2968375..9c9e6ea657f4 100644 --- a/sdk/mgn/src/operation/list_tags_for_resource/builders.rs +++ b/sdk/mgn/src/operation/list_tags_for_resource/builders.rs @@ -19,9 +19,9 @@ impl ListTagsForResourceFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl ListTagsForResourceFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_tags_for_resource::ListTagsForResource, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::list_tags_for_resource::ListTagsForResourceError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                      List tags for resource request by ARN.

                                                                                                                                                                                                      pub fn resource_arn(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.resource_arn(input.into()); diff --git a/sdk/mgn/src/operation/list_template_actions/builders.rs b/sdk/mgn/src/operation/list_template_actions/builders.rs index c20c3856f742..0e18de8b57ff 100644 --- a/sdk/mgn/src/operation/list_template_actions/builders.rs +++ b/sdk/mgn/src/operation/list_template_actions/builders.rs @@ -19,9 +19,9 @@ impl ListTemplateActionsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl ListTemplateActionsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_template_actions::ListTemplateActions, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::list_template_actions::ListTemplateActionsError, + >, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::list_template_actions::paginator::ListTemplateActionsPaginator::send) which returns a `Stream`. diff --git a/sdk/mgn/src/operation/list_waves/builders.rs b/sdk/mgn/src/operation/list_waves/builders.rs index faf2e379e971..85acac4bbf52 100644 --- a/sdk/mgn/src/operation/list_waves/builders.rs +++ b/sdk/mgn/src/operation/list_waves/builders.rs @@ -19,9 +19,9 @@ impl ListWavesFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl ListWavesFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_waves::ListWaves, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::list_waves::paginator::ListWavesPaginator::send) which returns a `Stream`. diff --git a/sdk/mgn/src/operation/mark_as_archived/builders.rs b/sdk/mgn/src/operation/mark_as_archived/builders.rs index c68b01ecc217..697e2a7bdca4 100644 --- a/sdk/mgn/src/operation/mark_as_archived/builders.rs +++ b/sdk/mgn/src/operation/mark_as_archived/builders.rs @@ -19,9 +19,9 @@ impl MarkAsArchivedFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl MarkAsArchivedFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::mark_as_archived::MarkAsArchived, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::mark_as_archived::MarkAsArchivedError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                      Mark as archived by Source Server ID.

                                                                                                                                                                                                      pub fn source_server_id( mut self, diff --git a/sdk/mgn/src/operation/put_source_server_action/builders.rs b/sdk/mgn/src/operation/put_source_server_action/builders.rs index 90d34aea47ba..8e594b3a4e39 100644 --- a/sdk/mgn/src/operation/put_source_server_action/builders.rs +++ b/sdk/mgn/src/operation/put_source_server_action/builders.rs @@ -19,9 +19,9 @@ impl PutSourceServerActionFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl PutSourceServerActionFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::put_source_server_action::PutSourceServerAction, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::put_source_server_action::PutSourceServerActionError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                      Source server ID.

                                                                                                                                                                                                      pub fn source_server_id( mut self, diff --git a/sdk/mgn/src/operation/put_template_action/builders.rs b/sdk/mgn/src/operation/put_template_action/builders.rs index 2713af440880..4919d3087524 100644 --- a/sdk/mgn/src/operation/put_template_action/builders.rs +++ b/sdk/mgn/src/operation/put_template_action/builders.rs @@ -19,9 +19,9 @@ impl PutTemplateActionFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl PutTemplateActionFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::put_template_action::PutTemplateAction, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::put_template_action::PutTemplateActionError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                      Launch configuration template ID.

                                                                                                                                                                                                      pub fn launch_configuration_template_id( mut self, diff --git a/sdk/mgn/src/operation/remove_source_server_action/builders.rs b/sdk/mgn/src/operation/remove_source_server_action/builders.rs index db012a0e3774..f12fdcfda682 100644 --- a/sdk/mgn/src/operation/remove_source_server_action/builders.rs +++ b/sdk/mgn/src/operation/remove_source_server_action/builders.rs @@ -19,9 +19,9 @@ impl RemoveSourceServerActionFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl RemoveSourceServerActionFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::remove_source_server_action::RemoveSourceServerAction, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::remove_source_server_action::RemoveSourceServerActionError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                      Source server ID of the post migration custom action to remove.

                                                                                                                                                                                                      pub fn source_server_id( mut self, diff --git a/sdk/mgn/src/operation/remove_template_action/builders.rs b/sdk/mgn/src/operation/remove_template_action/builders.rs index 786e38a619a4..dbb762c4ba84 100644 --- a/sdk/mgn/src/operation/remove_template_action/builders.rs +++ b/sdk/mgn/src/operation/remove_template_action/builders.rs @@ -19,9 +19,9 @@ impl RemoveTemplateActionFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl RemoveTemplateActionFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::remove_template_action::RemoveTemplateAction, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::remove_template_action::RemoveTemplateActionError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                      Launch configuration template ID of the post migration custom action to remove.

                                                                                                                                                                                                      pub fn launch_configuration_template_id( mut self, diff --git a/sdk/mgn/src/operation/retry_data_replication/builders.rs b/sdk/mgn/src/operation/retry_data_replication/builders.rs index e446ed39ed8f..a7ecab4857b1 100644 --- a/sdk/mgn/src/operation/retry_data_replication/builders.rs +++ b/sdk/mgn/src/operation/retry_data_replication/builders.rs @@ -19,9 +19,9 @@ impl RetryDataReplicationFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl RetryDataReplicationFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::retry_data_replication::RetryDataReplication, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::retry_data_replication::RetryDataReplicationError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                      Retry data replication for Source Server ID.

                                                                                                                                                                                                      pub fn source_server_id( mut self, diff --git a/sdk/mgn/src/operation/start_cutover/builders.rs b/sdk/mgn/src/operation/start_cutover/builders.rs index 0d4229334839..99a622d0f7b0 100644 --- a/sdk/mgn/src/operation/start_cutover/builders.rs +++ b/sdk/mgn/src/operation/start_cutover/builders.rs @@ -19,9 +19,9 @@ impl StartCutoverFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl StartCutoverFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::start_cutover::StartCutover, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } /// Appends an item to `sourceServerIDs`. /// /// To override the contents of this collection use [`set_source_server_i_ds`](Self::set_source_server_i_ds). diff --git a/sdk/mgn/src/operation/start_export/builders.rs b/sdk/mgn/src/operation/start_export/builders.rs index 1bb66879c9a2..32651eb27333 100644 --- a/sdk/mgn/src/operation/start_export/builders.rs +++ b/sdk/mgn/src/operation/start_export/builders.rs @@ -19,9 +19,9 @@ impl StartExportFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl StartExportFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::start_export::StartExport, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                      Start export request s3 bucket.

                                                                                                                                                                                                      pub fn s3_bucket(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.s3_bucket(input.into()); diff --git a/sdk/mgn/src/operation/start_import/builders.rs b/sdk/mgn/src/operation/start_import/builders.rs index 98c1b4a09be4..fc8b06ff4350 100644 --- a/sdk/mgn/src/operation/start_import/builders.rs +++ b/sdk/mgn/src/operation/start_import/builders.rs @@ -19,9 +19,9 @@ impl StartImportFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl StartImportFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::start_import::StartImport, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                      Start import request client token.

                                                                                                                                                                                                      pub fn client_token(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.client_token(input.into()); diff --git a/sdk/mgn/src/operation/start_replication/builders.rs b/sdk/mgn/src/operation/start_replication/builders.rs index 03180e96f0e7..b97b67c4dee5 100644 --- a/sdk/mgn/src/operation/start_replication/builders.rs +++ b/sdk/mgn/src/operation/start_replication/builders.rs @@ -19,9 +19,9 @@ impl StartReplicationFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl StartReplicationFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::start_replication::StartReplication, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::start_replication::StartReplicationError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                      ID of source server on which to start replication.

                                                                                                                                                                                                      pub fn source_server_id( mut self, diff --git a/sdk/mgn/src/operation/start_test/builders.rs b/sdk/mgn/src/operation/start_test/builders.rs index 0be76c8c4977..1dedf452a75a 100644 --- a/sdk/mgn/src/operation/start_test/builders.rs +++ b/sdk/mgn/src/operation/start_test/builders.rs @@ -19,9 +19,9 @@ impl StartTestFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl StartTestFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::start_test::StartTest, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } /// Appends an item to `sourceServerIDs`. /// /// To override the contents of this collection use [`set_source_server_i_ds`](Self::set_source_server_i_ds). diff --git a/sdk/mgn/src/operation/tag_resource/builders.rs b/sdk/mgn/src/operation/tag_resource/builders.rs index 685c77238fe2..0d214f37a5bb 100644 --- a/sdk/mgn/src/operation/tag_resource/builders.rs +++ b/sdk/mgn/src/operation/tag_resource/builders.rs @@ -19,9 +19,9 @@ impl TagResourceFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl TagResourceFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::tag_resource::TagResource, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                      Tag resource by ARN.

                                                                                                                                                                                                      pub fn resource_arn(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.resource_arn(input.into()); diff --git a/sdk/mgn/src/operation/terminate_target_instances/builders.rs b/sdk/mgn/src/operation/terminate_target_instances/builders.rs index ae6af980fd64..f2fd963d45af 100644 --- a/sdk/mgn/src/operation/terminate_target_instances/builders.rs +++ b/sdk/mgn/src/operation/terminate_target_instances/builders.rs @@ -19,9 +19,9 @@ impl TerminateTargetInstancesFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl TerminateTargetInstancesFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::terminate_target_instances::TerminateTargetInstances, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::terminate_target_instances::TerminateTargetInstancesError, + >, + > { + self.customize_middleware().await + } /// Appends an item to `sourceServerIDs`. /// /// To override the contents of this collection use [`set_source_server_i_ds`](Self::set_source_server_i_ds). diff --git a/sdk/mgn/src/operation/unarchive_application/builders.rs b/sdk/mgn/src/operation/unarchive_application/builders.rs index 07ba5da72a3c..1ca366b55074 100644 --- a/sdk/mgn/src/operation/unarchive_application/builders.rs +++ b/sdk/mgn/src/operation/unarchive_application/builders.rs @@ -19,9 +19,9 @@ impl UnarchiveApplicationFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl UnarchiveApplicationFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::unarchive_application::UnarchiveApplication, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::unarchive_application::UnarchiveApplicationError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                      Application ID.

                                                                                                                                                                                                      pub fn application_id( mut self, diff --git a/sdk/mgn/src/operation/unarchive_wave/builders.rs b/sdk/mgn/src/operation/unarchive_wave/builders.rs index 0b9955de56bd..411ee551b90c 100644 --- a/sdk/mgn/src/operation/unarchive_wave/builders.rs +++ b/sdk/mgn/src/operation/unarchive_wave/builders.rs @@ -19,9 +19,9 @@ impl UnarchiveWaveFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl UnarchiveWaveFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::unarchive_wave::UnarchiveWave, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                      Wave ID.

                                                                                                                                                                                                      pub fn wave_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.wave_id(input.into()); diff --git a/sdk/mgn/src/operation/untag_resource/builders.rs b/sdk/mgn/src/operation/untag_resource/builders.rs index ba4ff919da3f..3a01ef4c3814 100644 --- a/sdk/mgn/src/operation/untag_resource/builders.rs +++ b/sdk/mgn/src/operation/untag_resource/builders.rs @@ -19,9 +19,9 @@ impl UntagResourceFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl UntagResourceFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::untag_resource::UntagResource, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                      Untag resource by ARN.

                                                                                                                                                                                                      pub fn resource_arn(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.resource_arn(input.into()); diff --git a/sdk/mgn/src/operation/update_application/builders.rs b/sdk/mgn/src/operation/update_application/builders.rs index 4beb900d28f2..e336c0fafb59 100644 --- a/sdk/mgn/src/operation/update_application/builders.rs +++ b/sdk/mgn/src/operation/update_application/builders.rs @@ -19,9 +19,9 @@ impl UpdateApplicationFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl UpdateApplicationFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::update_application::UpdateApplication, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::update_application::UpdateApplicationError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                      Application ID.

                                                                                                                                                                                                      pub fn application_id( mut self, diff --git a/sdk/mgn/src/operation/update_launch_configuration/builders.rs b/sdk/mgn/src/operation/update_launch_configuration/builders.rs index b99261f2278c..84ef1a77c638 100644 --- a/sdk/mgn/src/operation/update_launch_configuration/builders.rs +++ b/sdk/mgn/src/operation/update_launch_configuration/builders.rs @@ -19,9 +19,9 @@ impl UpdateLaunchConfigurationFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl UpdateLaunchConfigurationFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::update_launch_configuration::UpdateLaunchConfiguration, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::update_launch_configuration::UpdateLaunchConfigurationError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                      Update Launch configuration by Source Server ID request.

                                                                                                                                                                                                      pub fn source_server_id( mut self, diff --git a/sdk/mgn/src/operation/update_launch_configuration_template/builders.rs b/sdk/mgn/src/operation/update_launch_configuration_template/builders.rs index d30942b13ba6..589c1ec4daeb 100644 --- a/sdk/mgn/src/operation/update_launch_configuration_template/builders.rs +++ b/sdk/mgn/src/operation/update_launch_configuration_template/builders.rs @@ -19,9 +19,9 @@ impl UpdateLaunchConfigurationTemplateFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize(self) -> ::std::result::Result< + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware(self) -> ::std::result::Result< crate::client::customize::CustomizableOperation, ::aws_smithy_http::result::SdkError >{ @@ -64,6 +64,15 @@ impl UpdateLaunchConfigurationTemplateFluentBuilder { { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize(self) -> ::std::result::Result< + crate::client::customize::CustomizableOperation, + ::aws_smithy_http::result::SdkError + >{ + self.customize_middleware().await + } ///

                                                                                                                                                                                                      Launch Configuration Template ID.

                                                                                                                                                                                                      pub fn launch_configuration_template_id( mut self, diff --git a/sdk/mgn/src/operation/update_replication_configuration/builders.rs b/sdk/mgn/src/operation/update_replication_configuration/builders.rs index 0333e79aa4d9..d53f172fcfc3 100644 --- a/sdk/mgn/src/operation/update_replication_configuration/builders.rs +++ b/sdk/mgn/src/operation/update_replication_configuration/builders.rs @@ -19,9 +19,9 @@ impl UpdateReplicationConfigurationFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl UpdateReplicationConfigurationFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::update_replication_configuration::UpdateReplicationConfiguration, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::update_replication_configuration::UpdateReplicationConfigurationError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                      Update replication configuration Source Server ID request.

                                                                                                                                                                                                      pub fn source_server_id( mut self, diff --git a/sdk/mgn/src/operation/update_replication_configuration_template/builders.rs b/sdk/mgn/src/operation/update_replication_configuration_template/builders.rs index 4d4863df497f..0bcf8f50d72e 100644 --- a/sdk/mgn/src/operation/update_replication_configuration_template/builders.rs +++ b/sdk/mgn/src/operation/update_replication_configuration_template/builders.rs @@ -19,9 +19,9 @@ impl UpdateReplicationConfigurationTemplateFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize(self) -> ::std::result::Result< + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware(self) -> ::std::result::Result< crate::client::customize::CustomizableOperation, ::aws_smithy_http::result::SdkError >{ @@ -64,6 +64,15 @@ impl UpdateReplicationConfigurationTemplateFluentBuilder { { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize(self) -> ::std::result::Result< + crate::client::customize::CustomizableOperation, + ::aws_smithy_http::result::SdkError + >{ + self.customize_middleware().await + } ///

                                                                                                                                                                                                      Update replication configuration template template ID request.

                                                                                                                                                                                                      pub fn replication_configuration_template_id( mut self, diff --git a/sdk/mgn/src/operation/update_source_server_replication_type/builders.rs b/sdk/mgn/src/operation/update_source_server_replication_type/builders.rs index 930ac93d4f14..5ad9cc2fadec 100644 --- a/sdk/mgn/src/operation/update_source_server_replication_type/builders.rs +++ b/sdk/mgn/src/operation/update_source_server_replication_type/builders.rs @@ -19,9 +19,9 @@ impl UpdateSourceServerReplicationTypeFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize(self) -> ::std::result::Result< + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware(self) -> ::std::result::Result< crate::client::customize::CustomizableOperation, ::aws_smithy_http::result::SdkError >{ @@ -64,6 +64,15 @@ impl UpdateSourceServerReplicationTypeFluentBuilder { { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize(self) -> ::std::result::Result< + crate::client::customize::CustomizableOperation, + ::aws_smithy_http::result::SdkError + >{ + self.customize_middleware().await + } ///

                                                                                                                                                                                                      ID of source server on which to update replication type.

                                                                                                                                                                                                      pub fn source_server_id( mut self, diff --git a/sdk/mgn/src/operation/update_wave/builders.rs b/sdk/mgn/src/operation/update_wave/builders.rs index 81188bb464db..e23f01b9e650 100644 --- a/sdk/mgn/src/operation/update_wave/builders.rs +++ b/sdk/mgn/src/operation/update_wave/builders.rs @@ -19,9 +19,9 @@ impl UpdateWaveFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl UpdateWaveFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::update_wave::UpdateWave, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                      Wave ID.

                                                                                                                                                                                                      pub fn wave_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.wave_id(input.into()); diff --git a/sdk/migrationhub/src/operation/associate_created_artifact/builders.rs b/sdk/migrationhub/src/operation/associate_created_artifact/builders.rs index 02c99f308241..7bd336c7fa77 100644 --- a/sdk/migrationhub/src/operation/associate_created_artifact/builders.rs +++ b/sdk/migrationhub/src/operation/associate_created_artifact/builders.rs @@ -24,9 +24,9 @@ impl AssociateCreatedArtifactFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -88,6 +88,22 @@ impl AssociateCreatedArtifactFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::associate_created_artifact::AssociateCreatedArtifact, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::associate_created_artifact::AssociateCreatedArtifactError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                      The name of the ProgressUpdateStream.

                                                                                                                                                                                                      pub fn progress_update_stream( mut self, diff --git a/sdk/migrationhub/src/operation/associate_discovered_resource/builders.rs b/sdk/migrationhub/src/operation/associate_discovered_resource/builders.rs index 7482fb4294be..e9d7ad98fb7f 100644 --- a/sdk/migrationhub/src/operation/associate_discovered_resource/builders.rs +++ b/sdk/migrationhub/src/operation/associate_discovered_resource/builders.rs @@ -19,9 +19,9 @@ impl AssociateDiscoveredResourceFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl AssociateDiscoveredResourceFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::associate_discovered_resource::AssociateDiscoveredResource, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::associate_discovered_resource::AssociateDiscoveredResourceError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                      The name of the ProgressUpdateStream.

                                                                                                                                                                                                      pub fn progress_update_stream( mut self, diff --git a/sdk/migrationhub/src/operation/create_progress_update_stream/builders.rs b/sdk/migrationhub/src/operation/create_progress_update_stream/builders.rs index 424a3f5a3aae..1bb87e9a6cab 100644 --- a/sdk/migrationhub/src/operation/create_progress_update_stream/builders.rs +++ b/sdk/migrationhub/src/operation/create_progress_update_stream/builders.rs @@ -19,9 +19,9 @@ impl CreateProgressUpdateStreamFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl CreateProgressUpdateStreamFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::create_progress_update_stream::CreateProgressUpdateStream, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::create_progress_update_stream::CreateProgressUpdateStreamError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                      The name of the ProgressUpdateStream. Do not store personal data in this field.

                                                                                                                                                                                                      pub fn progress_update_stream_name( mut self, diff --git a/sdk/migrationhub/src/operation/delete_progress_update_stream/builders.rs b/sdk/migrationhub/src/operation/delete_progress_update_stream/builders.rs index 140b065f2130..afa3b2b9a9a7 100644 --- a/sdk/migrationhub/src/operation/delete_progress_update_stream/builders.rs +++ b/sdk/migrationhub/src/operation/delete_progress_update_stream/builders.rs @@ -26,9 +26,9 @@ impl DeleteProgressUpdateStreamFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -90,6 +90,22 @@ impl DeleteProgressUpdateStreamFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::delete_progress_update_stream::DeleteProgressUpdateStream, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::delete_progress_update_stream::DeleteProgressUpdateStreamError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                      The name of the ProgressUpdateStream. Do not store personal data in this field.

                                                                                                                                                                                                      pub fn progress_update_stream_name( mut self, diff --git a/sdk/migrationhub/src/operation/describe_application_state/builders.rs b/sdk/migrationhub/src/operation/describe_application_state/builders.rs index 2df858f093b0..14cd7fb2b41c 100644 --- a/sdk/migrationhub/src/operation/describe_application_state/builders.rs +++ b/sdk/migrationhub/src/operation/describe_application_state/builders.rs @@ -19,9 +19,9 @@ impl DescribeApplicationStateFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl DescribeApplicationStateFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::describe_application_state::DescribeApplicationState, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::describe_application_state::DescribeApplicationStateError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                      The configurationId in Application Discovery Service that uniquely identifies the grouped application.

                                                                                                                                                                                                      pub fn application_id( mut self, diff --git a/sdk/migrationhub/src/operation/describe_migration_task/builders.rs b/sdk/migrationhub/src/operation/describe_migration_task/builders.rs index af1ddd3f45e7..f07270b00199 100644 --- a/sdk/migrationhub/src/operation/describe_migration_task/builders.rs +++ b/sdk/migrationhub/src/operation/describe_migration_task/builders.rs @@ -19,9 +19,9 @@ impl DescribeMigrationTaskFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl DescribeMigrationTaskFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::describe_migration_task::DescribeMigrationTask, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::describe_migration_task::DescribeMigrationTaskError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                      The name of the ProgressUpdateStream.

                                                                                                                                                                                                      pub fn progress_update_stream( mut self, diff --git a/sdk/migrationhub/src/operation/disassociate_created_artifact/builders.rs b/sdk/migrationhub/src/operation/disassociate_created_artifact/builders.rs index 4827f4a7814f..41869957f353 100644 --- a/sdk/migrationhub/src/operation/disassociate_created_artifact/builders.rs +++ b/sdk/migrationhub/src/operation/disassociate_created_artifact/builders.rs @@ -24,9 +24,9 @@ impl DisassociateCreatedArtifactFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -88,6 +88,22 @@ impl DisassociateCreatedArtifactFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::disassociate_created_artifact::DisassociateCreatedArtifact, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::disassociate_created_artifact::DisassociateCreatedArtifactError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                      The name of the ProgressUpdateStream.

                                                                                                                                                                                                      pub fn progress_update_stream( mut self, diff --git a/sdk/migrationhub/src/operation/disassociate_discovered_resource/builders.rs b/sdk/migrationhub/src/operation/disassociate_discovered_resource/builders.rs index 71621e29c825..118ba9cd4df7 100644 --- a/sdk/migrationhub/src/operation/disassociate_discovered_resource/builders.rs +++ b/sdk/migrationhub/src/operation/disassociate_discovered_resource/builders.rs @@ -19,9 +19,9 @@ impl DisassociateDiscoveredResourceFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl DisassociateDiscoveredResourceFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::disassociate_discovered_resource::DisassociateDiscoveredResource, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::disassociate_discovered_resource::DisassociateDiscoveredResourceError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                      The name of the ProgressUpdateStream.

                                                                                                                                                                                                      pub fn progress_update_stream( mut self, diff --git a/sdk/migrationhub/src/operation/import_migration_task/builders.rs b/sdk/migrationhub/src/operation/import_migration_task/builders.rs index 3b643cc8296f..a669c0ddc9e2 100644 --- a/sdk/migrationhub/src/operation/import_migration_task/builders.rs +++ b/sdk/migrationhub/src/operation/import_migration_task/builders.rs @@ -20,9 +20,9 @@ impl ImportMigrationTaskFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -84,6 +84,22 @@ impl ImportMigrationTaskFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::import_migration_task::ImportMigrationTask, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::import_migration_task::ImportMigrationTaskError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                      The name of the ProgressUpdateStream. >

                                                                                                                                                                                                      pub fn progress_update_stream( mut self, diff --git a/sdk/migrationhub/src/operation/list_application_states/builders.rs b/sdk/migrationhub/src/operation/list_application_states/builders.rs index b9ccfa82c034..3df655d6a11a 100644 --- a/sdk/migrationhub/src/operation/list_application_states/builders.rs +++ b/sdk/migrationhub/src/operation/list_application_states/builders.rs @@ -19,9 +19,9 @@ impl ListApplicationStatesFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl ListApplicationStatesFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_application_states::ListApplicationStates, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::list_application_states::ListApplicationStatesError, + >, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::list_application_states::paginator::ListApplicationStatesPaginator::send) which returns a `Stream`. diff --git a/sdk/migrationhub/src/operation/list_created_artifacts/builders.rs b/sdk/migrationhub/src/operation/list_created_artifacts/builders.rs index 1618488ab2eb..5a4df86874bf 100644 --- a/sdk/migrationhub/src/operation/list_created_artifacts/builders.rs +++ b/sdk/migrationhub/src/operation/list_created_artifacts/builders.rs @@ -24,9 +24,9 @@ impl ListCreatedArtifactsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -88,6 +88,22 @@ impl ListCreatedArtifactsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_created_artifacts::ListCreatedArtifacts, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::list_created_artifacts::ListCreatedArtifactsError, + >, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::list_created_artifacts::paginator::ListCreatedArtifactsPaginator::send) which returns a `Stream`. diff --git a/sdk/migrationhub/src/operation/list_discovered_resources/builders.rs b/sdk/migrationhub/src/operation/list_discovered_resources/builders.rs index 5e2e9b33e280..b43a0380b7d4 100644 --- a/sdk/migrationhub/src/operation/list_discovered_resources/builders.rs +++ b/sdk/migrationhub/src/operation/list_discovered_resources/builders.rs @@ -20,9 +20,9 @@ impl ListDiscoveredResourcesFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -84,6 +84,22 @@ impl ListDiscoveredResourcesFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_discovered_resources::ListDiscoveredResources, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::list_discovered_resources::ListDiscoveredResourcesError, + >, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::list_discovered_resources::paginator::ListDiscoveredResourcesPaginator::send) which returns a `Stream`. diff --git a/sdk/migrationhub/src/operation/list_migration_tasks/builders.rs b/sdk/migrationhub/src/operation/list_migration_tasks/builders.rs index 1668a8e5b3f1..27134076db57 100644 --- a/sdk/migrationhub/src/operation/list_migration_tasks/builders.rs +++ b/sdk/migrationhub/src/operation/list_migration_tasks/builders.rs @@ -24,9 +24,9 @@ impl ListMigrationTasksFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -88,6 +88,22 @@ impl ListMigrationTasksFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_migration_tasks::ListMigrationTasks, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::list_migration_tasks::ListMigrationTasksError, + >, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::list_migration_tasks::paginator::ListMigrationTasksPaginator::send) which returns a `Stream`. diff --git a/sdk/migrationhub/src/operation/list_progress_update_streams/builders.rs b/sdk/migrationhub/src/operation/list_progress_update_streams/builders.rs index 4c95e04a257c..0443039d38fc 100644 --- a/sdk/migrationhub/src/operation/list_progress_update_streams/builders.rs +++ b/sdk/migrationhub/src/operation/list_progress_update_streams/builders.rs @@ -19,9 +19,9 @@ impl ListProgressUpdateStreamsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl ListProgressUpdateStreamsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_progress_update_streams::ListProgressUpdateStreams, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::list_progress_update_streams::ListProgressUpdateStreamsError, + >, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::list_progress_update_streams::paginator::ListProgressUpdateStreamsPaginator::send) which returns a `Stream`. diff --git a/sdk/migrationhub/src/operation/notify_application_state/builders.rs b/sdk/migrationhub/src/operation/notify_application_state/builders.rs index c9849588b1b4..aa65c4c954c0 100644 --- a/sdk/migrationhub/src/operation/notify_application_state/builders.rs +++ b/sdk/migrationhub/src/operation/notify_application_state/builders.rs @@ -19,9 +19,9 @@ impl NotifyApplicationStateFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl NotifyApplicationStateFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::notify_application_state::NotifyApplicationState, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::notify_application_state::NotifyApplicationStateError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                      The configurationId in Application Discovery Service that uniquely identifies the grouped application.

                                                                                                                                                                                                      pub fn application_id( mut self, diff --git a/sdk/migrationhub/src/operation/notify_migration_task_state/builders.rs b/sdk/migrationhub/src/operation/notify_migration_task_state/builders.rs index ab72af088f64..9f205a296b54 100644 --- a/sdk/migrationhub/src/operation/notify_migration_task_state/builders.rs +++ b/sdk/migrationhub/src/operation/notify_migration_task_state/builders.rs @@ -24,9 +24,9 @@ impl NotifyMigrationTaskStateFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -88,6 +88,22 @@ impl NotifyMigrationTaskStateFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::notify_migration_task_state::NotifyMigrationTaskState, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::notify_migration_task_state::NotifyMigrationTaskStateError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                      The name of the ProgressUpdateStream.

                                                                                                                                                                                                      pub fn progress_update_stream( mut self, diff --git a/sdk/migrationhub/src/operation/put_resource_attributes/builders.rs b/sdk/migrationhub/src/operation/put_resource_attributes/builders.rs index 704aca4339fa..9df1f94bf390 100644 --- a/sdk/migrationhub/src/operation/put_resource_attributes/builders.rs +++ b/sdk/migrationhub/src/operation/put_resource_attributes/builders.rs @@ -26,9 +26,9 @@ impl PutResourceAttributesFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -90,6 +90,22 @@ impl PutResourceAttributesFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::put_resource_attributes::PutResourceAttributes, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::put_resource_attributes::PutResourceAttributesError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                      The name of the ProgressUpdateStream.

                                                                                                                                                                                                      pub fn progress_update_stream( mut self, diff --git a/sdk/migrationhubconfig/src/operation/create_home_region_control/builders.rs b/sdk/migrationhubconfig/src/operation/create_home_region_control/builders.rs index e25c30d74f3f..3d9837a7754d 100644 --- a/sdk/migrationhubconfig/src/operation/create_home_region_control/builders.rs +++ b/sdk/migrationhubconfig/src/operation/create_home_region_control/builders.rs @@ -20,9 +20,9 @@ impl CreateHomeRegionControlFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -84,6 +84,22 @@ impl CreateHomeRegionControlFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::create_home_region_control::CreateHomeRegionControl, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::create_home_region_control::CreateHomeRegionControlError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                      The name of the home region of the calling account.

                                                                                                                                                                                                      pub fn home_region(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.home_region(input.into()); diff --git a/sdk/migrationhubconfig/src/operation/describe_home_region_controls/builders.rs b/sdk/migrationhubconfig/src/operation/describe_home_region_controls/builders.rs index b67f6d5f4057..dc848545bdbb 100644 --- a/sdk/migrationhubconfig/src/operation/describe_home_region_controls/builders.rs +++ b/sdk/migrationhubconfig/src/operation/describe_home_region_controls/builders.rs @@ -19,9 +19,9 @@ impl DescribeHomeRegionControlsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl DescribeHomeRegionControlsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::describe_home_region_controls::DescribeHomeRegionControls, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::describe_home_region_controls::DescribeHomeRegionControlsError, + >, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::describe_home_region_controls::paginator::DescribeHomeRegionControlsPaginator::send) which returns a `Stream`. diff --git a/sdk/migrationhubconfig/src/operation/get_home_region/builders.rs b/sdk/migrationhubconfig/src/operation/get_home_region/builders.rs index 40a477fab4e5..aa7f8eb820db 100644 --- a/sdk/migrationhubconfig/src/operation/get_home_region/builders.rs +++ b/sdk/migrationhubconfig/src/operation/get_home_region/builders.rs @@ -19,9 +19,9 @@ impl GetHomeRegionFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,4 +77,18 @@ impl GetHomeRegionFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::get_home_region::GetHomeRegion, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } } diff --git a/sdk/migrationhuborchestrator/src/operation/create_workflow/builders.rs b/sdk/migrationhuborchestrator/src/operation/create_workflow/builders.rs index 9f65742aea8c..ad3c0ec40a3f 100644 --- a/sdk/migrationhuborchestrator/src/operation/create_workflow/builders.rs +++ b/sdk/migrationhuborchestrator/src/operation/create_workflow/builders.rs @@ -19,9 +19,9 @@ impl CreateWorkflowFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl CreateWorkflowFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::create_workflow::CreateWorkflow, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                      The name of the migration workflow.

                                                                                                                                                                                                      pub fn name(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.name(input.into()); diff --git a/sdk/migrationhuborchestrator/src/operation/create_workflow_step/builders.rs b/sdk/migrationhuborchestrator/src/operation/create_workflow_step/builders.rs index c8044ced0df9..a5f41bee94e0 100644 --- a/sdk/migrationhuborchestrator/src/operation/create_workflow_step/builders.rs +++ b/sdk/migrationhuborchestrator/src/operation/create_workflow_step/builders.rs @@ -19,9 +19,9 @@ impl CreateWorkflowStepFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl CreateWorkflowStepFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::create_workflow_step::CreateWorkflowStep, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::create_workflow_step::CreateWorkflowStepError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                      The name of the step.

                                                                                                                                                                                                      pub fn name(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.name(input.into()); diff --git a/sdk/migrationhuborchestrator/src/operation/create_workflow_step_group/builders.rs b/sdk/migrationhuborchestrator/src/operation/create_workflow_step_group/builders.rs index 69454f039671..48df54f4b743 100644 --- a/sdk/migrationhuborchestrator/src/operation/create_workflow_step_group/builders.rs +++ b/sdk/migrationhuborchestrator/src/operation/create_workflow_step_group/builders.rs @@ -20,9 +20,9 @@ impl CreateWorkflowStepGroupFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -84,6 +84,22 @@ impl CreateWorkflowStepGroupFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::create_workflow_step_group::CreateWorkflowStepGroup, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::create_workflow_step_group::CreateWorkflowStepGroupError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                      The ID of the migration workflow that will contain the step group.

                                                                                                                                                                                                      pub fn workflow_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.workflow_id(input.into()); diff --git a/sdk/migrationhuborchestrator/src/operation/delete_workflow/builders.rs b/sdk/migrationhuborchestrator/src/operation/delete_workflow/builders.rs index d693c7d02c67..74d62b59d6ff 100644 --- a/sdk/migrationhuborchestrator/src/operation/delete_workflow/builders.rs +++ b/sdk/migrationhuborchestrator/src/operation/delete_workflow/builders.rs @@ -19,9 +19,9 @@ impl DeleteWorkflowFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl DeleteWorkflowFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::delete_workflow::DeleteWorkflow, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                      The ID of the migration workflow you want to delete.

                                                                                                                                                                                                      pub fn id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.id(input.into()); diff --git a/sdk/migrationhuborchestrator/src/operation/delete_workflow_step/builders.rs b/sdk/migrationhuborchestrator/src/operation/delete_workflow_step/builders.rs index 5de9258b47ed..3d224f0c3dc4 100644 --- a/sdk/migrationhuborchestrator/src/operation/delete_workflow_step/builders.rs +++ b/sdk/migrationhuborchestrator/src/operation/delete_workflow_step/builders.rs @@ -19,9 +19,9 @@ impl DeleteWorkflowStepFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl DeleteWorkflowStepFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::delete_workflow_step::DeleteWorkflowStep, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::delete_workflow_step::DeleteWorkflowStepError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                      The ID of the step you want to delete.

                                                                                                                                                                                                      pub fn id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.id(input.into()); diff --git a/sdk/migrationhuborchestrator/src/operation/delete_workflow_step_group/builders.rs b/sdk/migrationhuborchestrator/src/operation/delete_workflow_step_group/builders.rs index 8143d5cc2bce..ca133228ec08 100644 --- a/sdk/migrationhuborchestrator/src/operation/delete_workflow_step_group/builders.rs +++ b/sdk/migrationhuborchestrator/src/operation/delete_workflow_step_group/builders.rs @@ -20,9 +20,9 @@ impl DeleteWorkflowStepGroupFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -84,6 +84,22 @@ impl DeleteWorkflowStepGroupFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::delete_workflow_step_group::DeleteWorkflowStepGroup, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::delete_workflow_step_group::DeleteWorkflowStepGroupError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                      The ID of the migration workflow.

                                                                                                                                                                                                      pub fn workflow_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.workflow_id(input.into()); diff --git a/sdk/migrationhuborchestrator/src/operation/get_template/builders.rs b/sdk/migrationhuborchestrator/src/operation/get_template/builders.rs index cb5d36055186..bd226c16b190 100644 --- a/sdk/migrationhuborchestrator/src/operation/get_template/builders.rs +++ b/sdk/migrationhuborchestrator/src/operation/get_template/builders.rs @@ -19,9 +19,9 @@ impl GetTemplateFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl GetTemplateFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::get_template::GetTemplate, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                      The ID of the template.

                                                                                                                                                                                                      pub fn id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.id(input.into()); diff --git a/sdk/migrationhuborchestrator/src/operation/get_template_step/builders.rs b/sdk/migrationhuborchestrator/src/operation/get_template_step/builders.rs index 0667b675b0a5..865d8945e981 100644 --- a/sdk/migrationhuborchestrator/src/operation/get_template_step/builders.rs +++ b/sdk/migrationhuborchestrator/src/operation/get_template_step/builders.rs @@ -19,9 +19,9 @@ impl GetTemplateStepFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl GetTemplateStepFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::get_template_step::GetTemplateStep, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::get_template_step::GetTemplateStepError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                      The ID of the step.

                                                                                                                                                                                                      pub fn id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.id(input.into()); diff --git a/sdk/migrationhuborchestrator/src/operation/get_template_step_group/builders.rs b/sdk/migrationhuborchestrator/src/operation/get_template_step_group/builders.rs index 46255ec9b574..996d169d4be3 100644 --- a/sdk/migrationhuborchestrator/src/operation/get_template_step_group/builders.rs +++ b/sdk/migrationhuborchestrator/src/operation/get_template_step_group/builders.rs @@ -19,9 +19,9 @@ impl GetTemplateStepGroupFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl GetTemplateStepGroupFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::get_template_step_group::GetTemplateStepGroup, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::get_template_step_group::GetTemplateStepGroupError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                      The ID of the template.

                                                                                                                                                                                                      pub fn template_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.template_id(input.into()); diff --git a/sdk/migrationhuborchestrator/src/operation/get_workflow/builders.rs b/sdk/migrationhuborchestrator/src/operation/get_workflow/builders.rs index 16b74d5450da..099d5b14855c 100644 --- a/sdk/migrationhuborchestrator/src/operation/get_workflow/builders.rs +++ b/sdk/migrationhuborchestrator/src/operation/get_workflow/builders.rs @@ -19,9 +19,9 @@ impl GetWorkflowFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl GetWorkflowFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::get_workflow::GetWorkflow, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                      The ID of the migration workflow.

                                                                                                                                                                                                      pub fn id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.id(input.into()); diff --git a/sdk/migrationhuborchestrator/src/operation/get_workflow_step/builders.rs b/sdk/migrationhuborchestrator/src/operation/get_workflow_step/builders.rs index 3a86c6b46631..f9991813df3c 100644 --- a/sdk/migrationhuborchestrator/src/operation/get_workflow_step/builders.rs +++ b/sdk/migrationhuborchestrator/src/operation/get_workflow_step/builders.rs @@ -19,9 +19,9 @@ impl GetWorkflowStepFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl GetWorkflowStepFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::get_workflow_step::GetWorkflowStep, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::get_workflow_step::GetWorkflowStepError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                      The ID of the migration workflow.

                                                                                                                                                                                                      pub fn workflow_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.workflow_id(input.into()); diff --git a/sdk/migrationhuborchestrator/src/operation/get_workflow_step_group/builders.rs b/sdk/migrationhuborchestrator/src/operation/get_workflow_step_group/builders.rs index 13244109abdb..c6c3a67911c8 100644 --- a/sdk/migrationhuborchestrator/src/operation/get_workflow_step_group/builders.rs +++ b/sdk/migrationhuborchestrator/src/operation/get_workflow_step_group/builders.rs @@ -19,9 +19,9 @@ impl GetWorkflowStepGroupFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl GetWorkflowStepGroupFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::get_workflow_step_group::GetWorkflowStepGroup, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::get_workflow_step_group::GetWorkflowStepGroupError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                      The ID of the step group.

                                                                                                                                                                                                      pub fn id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.id(input.into()); diff --git a/sdk/migrationhuborchestrator/src/operation/list_plugins/builders.rs b/sdk/migrationhuborchestrator/src/operation/list_plugins/builders.rs index d2948b665207..b685376e3a31 100644 --- a/sdk/migrationhuborchestrator/src/operation/list_plugins/builders.rs +++ b/sdk/migrationhuborchestrator/src/operation/list_plugins/builders.rs @@ -19,9 +19,9 @@ impl ListPluginsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl ListPluginsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_plugins::ListPlugins, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::list_plugins::paginator::ListPluginsPaginator::send) which returns a `Stream`. diff --git a/sdk/migrationhuborchestrator/src/operation/list_tags_for_resource/builders.rs b/sdk/migrationhuborchestrator/src/operation/list_tags_for_resource/builders.rs index faf4723d8ec6..88105906edc8 100644 --- a/sdk/migrationhuborchestrator/src/operation/list_tags_for_resource/builders.rs +++ b/sdk/migrationhuborchestrator/src/operation/list_tags_for_resource/builders.rs @@ -19,9 +19,9 @@ impl ListTagsForResourceFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl ListTagsForResourceFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_tags_for_resource::ListTagsForResource, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::list_tags_for_resource::ListTagsForResourceError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                      The Amazon Resource Name (ARN) of the resource.

                                                                                                                                                                                                      pub fn resource_arn(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.resource_arn(input.into()); diff --git a/sdk/migrationhuborchestrator/src/operation/list_template_step_groups/builders.rs b/sdk/migrationhuborchestrator/src/operation/list_template_step_groups/builders.rs index a3aa5baa0b1b..6b0c85086225 100644 --- a/sdk/migrationhuborchestrator/src/operation/list_template_step_groups/builders.rs +++ b/sdk/migrationhuborchestrator/src/operation/list_template_step_groups/builders.rs @@ -20,9 +20,9 @@ impl ListTemplateStepGroupsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -84,6 +84,22 @@ impl ListTemplateStepGroupsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_template_step_groups::ListTemplateStepGroups, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::list_template_step_groups::ListTemplateStepGroupsError, + >, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::list_template_step_groups::paginator::ListTemplateStepGroupsPaginator::send) which returns a `Stream`. diff --git a/sdk/migrationhuborchestrator/src/operation/list_template_steps/builders.rs b/sdk/migrationhuborchestrator/src/operation/list_template_steps/builders.rs index d65346216303..3545311780f6 100644 --- a/sdk/migrationhuborchestrator/src/operation/list_template_steps/builders.rs +++ b/sdk/migrationhuborchestrator/src/operation/list_template_steps/builders.rs @@ -19,9 +19,9 @@ impl ListTemplateStepsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl ListTemplateStepsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_template_steps::ListTemplateSteps, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::list_template_steps::ListTemplateStepsError, + >, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::list_template_steps::paginator::ListTemplateStepsPaginator::send) which returns a `Stream`. diff --git a/sdk/migrationhuborchestrator/src/operation/list_templates/builders.rs b/sdk/migrationhuborchestrator/src/operation/list_templates/builders.rs index 1d8eaaecb6d7..ff727b80ee24 100644 --- a/sdk/migrationhuborchestrator/src/operation/list_templates/builders.rs +++ b/sdk/migrationhuborchestrator/src/operation/list_templates/builders.rs @@ -19,9 +19,9 @@ impl ListTemplatesFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl ListTemplatesFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_templates::ListTemplates, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::list_templates::paginator::ListTemplatesPaginator::send) which returns a `Stream`. diff --git a/sdk/migrationhuborchestrator/src/operation/list_workflow_step_groups/builders.rs b/sdk/migrationhuborchestrator/src/operation/list_workflow_step_groups/builders.rs index 0ead3d780695..e066af09f968 100644 --- a/sdk/migrationhuborchestrator/src/operation/list_workflow_step_groups/builders.rs +++ b/sdk/migrationhuborchestrator/src/operation/list_workflow_step_groups/builders.rs @@ -20,9 +20,9 @@ impl ListWorkflowStepGroupsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -84,6 +84,22 @@ impl ListWorkflowStepGroupsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_workflow_step_groups::ListWorkflowStepGroups, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::list_workflow_step_groups::ListWorkflowStepGroupsError, + >, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::list_workflow_step_groups::paginator::ListWorkflowStepGroupsPaginator::send) which returns a `Stream`. diff --git a/sdk/migrationhuborchestrator/src/operation/list_workflow_steps/builders.rs b/sdk/migrationhuborchestrator/src/operation/list_workflow_steps/builders.rs index f2efca945ad8..56e131389591 100644 --- a/sdk/migrationhuborchestrator/src/operation/list_workflow_steps/builders.rs +++ b/sdk/migrationhuborchestrator/src/operation/list_workflow_steps/builders.rs @@ -19,9 +19,9 @@ impl ListWorkflowStepsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl ListWorkflowStepsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_workflow_steps::ListWorkflowSteps, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::list_workflow_steps::ListWorkflowStepsError, + >, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::list_workflow_steps::paginator::ListWorkflowStepsPaginator::send) which returns a `Stream`. diff --git a/sdk/migrationhuborchestrator/src/operation/list_workflows/builders.rs b/sdk/migrationhuborchestrator/src/operation/list_workflows/builders.rs index 028ca2ef6d33..9a380b2df3c6 100644 --- a/sdk/migrationhuborchestrator/src/operation/list_workflows/builders.rs +++ b/sdk/migrationhuborchestrator/src/operation/list_workflows/builders.rs @@ -19,9 +19,9 @@ impl ListWorkflowsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl ListWorkflowsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_workflows::ListWorkflows, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::list_workflows::paginator::ListWorkflowsPaginator::send) which returns a `Stream`. diff --git a/sdk/migrationhuborchestrator/src/operation/retry_workflow_step/builders.rs b/sdk/migrationhuborchestrator/src/operation/retry_workflow_step/builders.rs index 06972d2e3863..f1b5556f0c58 100644 --- a/sdk/migrationhuborchestrator/src/operation/retry_workflow_step/builders.rs +++ b/sdk/migrationhuborchestrator/src/operation/retry_workflow_step/builders.rs @@ -19,9 +19,9 @@ impl RetryWorkflowStepFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl RetryWorkflowStepFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::retry_workflow_step::RetryWorkflowStep, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::retry_workflow_step::RetryWorkflowStepError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                      The ID of the migration workflow.

                                                                                                                                                                                                      pub fn workflow_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.workflow_id(input.into()); diff --git a/sdk/migrationhuborchestrator/src/operation/start_workflow/builders.rs b/sdk/migrationhuborchestrator/src/operation/start_workflow/builders.rs index d2a86017d4bb..1f55230e93b4 100644 --- a/sdk/migrationhuborchestrator/src/operation/start_workflow/builders.rs +++ b/sdk/migrationhuborchestrator/src/operation/start_workflow/builders.rs @@ -19,9 +19,9 @@ impl StartWorkflowFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl StartWorkflowFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::start_workflow::StartWorkflow, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                      The ID of the migration workflow.

                                                                                                                                                                                                      pub fn id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.id(input.into()); diff --git a/sdk/migrationhuborchestrator/src/operation/stop_workflow/builders.rs b/sdk/migrationhuborchestrator/src/operation/stop_workflow/builders.rs index 59103e413be5..42f1f7356b66 100644 --- a/sdk/migrationhuborchestrator/src/operation/stop_workflow/builders.rs +++ b/sdk/migrationhuborchestrator/src/operation/stop_workflow/builders.rs @@ -19,9 +19,9 @@ impl StopWorkflowFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl StopWorkflowFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::stop_workflow::StopWorkflow, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                      The ID of the migration workflow.

                                                                                                                                                                                                      pub fn id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.id(input.into()); diff --git a/sdk/migrationhuborchestrator/src/operation/tag_resource/builders.rs b/sdk/migrationhuborchestrator/src/operation/tag_resource/builders.rs index b79792a39ca4..7f06d138e00a 100644 --- a/sdk/migrationhuborchestrator/src/operation/tag_resource/builders.rs +++ b/sdk/migrationhuborchestrator/src/operation/tag_resource/builders.rs @@ -19,9 +19,9 @@ impl TagResourceFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl TagResourceFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::tag_resource::TagResource, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                      The Amazon Resource Name (ARN) of the resource to which you want to add tags.

                                                                                                                                                                                                      pub fn resource_arn(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.resource_arn(input.into()); diff --git a/sdk/migrationhuborchestrator/src/operation/untag_resource/builders.rs b/sdk/migrationhuborchestrator/src/operation/untag_resource/builders.rs index a58f808107fa..8b2e09cea5d8 100644 --- a/sdk/migrationhuborchestrator/src/operation/untag_resource/builders.rs +++ b/sdk/migrationhuborchestrator/src/operation/untag_resource/builders.rs @@ -19,9 +19,9 @@ impl UntagResourceFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl UntagResourceFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::untag_resource::UntagResource, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                      The Amazon Resource Name (ARN) of the resource from which you want to remove tags.

                                                                                                                                                                                                      pub fn resource_arn(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.resource_arn(input.into()); diff --git a/sdk/migrationhuborchestrator/src/operation/update_workflow/builders.rs b/sdk/migrationhuborchestrator/src/operation/update_workflow/builders.rs index fd30be398a1e..59afd4025c41 100644 --- a/sdk/migrationhuborchestrator/src/operation/update_workflow/builders.rs +++ b/sdk/migrationhuborchestrator/src/operation/update_workflow/builders.rs @@ -19,9 +19,9 @@ impl UpdateWorkflowFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl UpdateWorkflowFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::update_workflow::UpdateWorkflow, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                      The ID of the migration workflow.

                                                                                                                                                                                                      pub fn id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.id(input.into()); diff --git a/sdk/migrationhuborchestrator/src/operation/update_workflow_step/builders.rs b/sdk/migrationhuborchestrator/src/operation/update_workflow_step/builders.rs index 808750c3d3bd..822b18013fce 100644 --- a/sdk/migrationhuborchestrator/src/operation/update_workflow_step/builders.rs +++ b/sdk/migrationhuborchestrator/src/operation/update_workflow_step/builders.rs @@ -19,9 +19,9 @@ impl UpdateWorkflowStepFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl UpdateWorkflowStepFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::update_workflow_step::UpdateWorkflowStep, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::update_workflow_step::UpdateWorkflowStepError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                      The ID of the step.

                                                                                                                                                                                                      pub fn id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.id(input.into()); diff --git a/sdk/migrationhuborchestrator/src/operation/update_workflow_step_group/builders.rs b/sdk/migrationhuborchestrator/src/operation/update_workflow_step_group/builders.rs index bcf14f81fa0a..9079912bebb8 100644 --- a/sdk/migrationhuborchestrator/src/operation/update_workflow_step_group/builders.rs +++ b/sdk/migrationhuborchestrator/src/operation/update_workflow_step_group/builders.rs @@ -20,9 +20,9 @@ impl UpdateWorkflowStepGroupFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -84,6 +84,22 @@ impl UpdateWorkflowStepGroupFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::update_workflow_step_group::UpdateWorkflowStepGroup, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::update_workflow_step_group::UpdateWorkflowStepGroupError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                      The ID of the migration workflow.

                                                                                                                                                                                                      pub fn workflow_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.workflow_id(input.into()); diff --git a/sdk/migrationhubrefactorspaces/src/operation/create_application/builders.rs b/sdk/migrationhubrefactorspaces/src/operation/create_application/builders.rs index 9946ea621465..46f13947d1a6 100644 --- a/sdk/migrationhubrefactorspaces/src/operation/create_application/builders.rs +++ b/sdk/migrationhubrefactorspaces/src/operation/create_application/builders.rs @@ -20,9 +20,9 @@ impl CreateApplicationFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -84,6 +84,22 @@ impl CreateApplicationFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::create_application::CreateApplication, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::create_application::CreateApplicationError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                      The name to use for the application.

                                                                                                                                                                                                      pub fn name(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.name(input.into()); diff --git a/sdk/migrationhubrefactorspaces/src/operation/create_environment/builders.rs b/sdk/migrationhubrefactorspaces/src/operation/create_environment/builders.rs index 76cd99794fc3..0986b8678643 100644 --- a/sdk/migrationhubrefactorspaces/src/operation/create_environment/builders.rs +++ b/sdk/migrationhubrefactorspaces/src/operation/create_environment/builders.rs @@ -20,9 +20,9 @@ impl CreateEnvironmentFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -84,6 +84,22 @@ impl CreateEnvironmentFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::create_environment::CreateEnvironment, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::create_environment::CreateEnvironmentError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                      The name of the environment.

                                                                                                                                                                                                      pub fn name(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.name(input.into()); diff --git a/sdk/migrationhubrefactorspaces/src/operation/create_route/builders.rs b/sdk/migrationhubrefactorspaces/src/operation/create_route/builders.rs index 308bf19bfeb1..18b8dd6d0c4f 100644 --- a/sdk/migrationhubrefactorspaces/src/operation/create_route/builders.rs +++ b/sdk/migrationhubrefactorspaces/src/operation/create_route/builders.rs @@ -28,9 +28,9 @@ impl CreateRouteFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -86,6 +86,20 @@ impl CreateRouteFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::create_route::CreateRoute, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                      The ID of the environment in which the route is created.

                                                                                                                                                                                                      pub fn environment_identifier( mut self, diff --git a/sdk/migrationhubrefactorspaces/src/operation/create_service/builders.rs b/sdk/migrationhubrefactorspaces/src/operation/create_service/builders.rs index 6a81e5372ce9..69ca8d05ea82 100644 --- a/sdk/migrationhubrefactorspaces/src/operation/create_service/builders.rs +++ b/sdk/migrationhubrefactorspaces/src/operation/create_service/builders.rs @@ -21,9 +21,9 @@ impl CreateServiceFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -79,6 +79,20 @@ impl CreateServiceFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::create_service::CreateService, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                      The name of the service.

                                                                                                                                                                                                      pub fn name(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.name(input.into()); diff --git a/sdk/migrationhubrefactorspaces/src/operation/delete_application/builders.rs b/sdk/migrationhubrefactorspaces/src/operation/delete_application/builders.rs index 8d967bf909a1..51200f726f75 100644 --- a/sdk/migrationhubrefactorspaces/src/operation/delete_application/builders.rs +++ b/sdk/migrationhubrefactorspaces/src/operation/delete_application/builders.rs @@ -19,9 +19,9 @@ impl DeleteApplicationFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl DeleteApplicationFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::delete_application::DeleteApplication, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::delete_application::DeleteApplicationError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                      The ID of the environment.

                                                                                                                                                                                                      pub fn environment_identifier( mut self, diff --git a/sdk/migrationhubrefactorspaces/src/operation/delete_environment/builders.rs b/sdk/migrationhubrefactorspaces/src/operation/delete_environment/builders.rs index ce1d387a5804..9bb70f5507a1 100644 --- a/sdk/migrationhubrefactorspaces/src/operation/delete_environment/builders.rs +++ b/sdk/migrationhubrefactorspaces/src/operation/delete_environment/builders.rs @@ -19,9 +19,9 @@ impl DeleteEnvironmentFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl DeleteEnvironmentFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::delete_environment::DeleteEnvironment, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::delete_environment::DeleteEnvironmentError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                      The ID of the environment.

                                                                                                                                                                                                      pub fn environment_identifier( mut self, diff --git a/sdk/migrationhubrefactorspaces/src/operation/delete_resource_policy/builders.rs b/sdk/migrationhubrefactorspaces/src/operation/delete_resource_policy/builders.rs index 2cd7dbdfd594..8ac2745fb8c4 100644 --- a/sdk/migrationhubrefactorspaces/src/operation/delete_resource_policy/builders.rs +++ b/sdk/migrationhubrefactorspaces/src/operation/delete_resource_policy/builders.rs @@ -19,9 +19,9 @@ impl DeleteResourcePolicyFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl DeleteResourcePolicyFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::delete_resource_policy::DeleteResourcePolicy, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::delete_resource_policy::DeleteResourcePolicyError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                      Amazon Resource Name (ARN) of the resource associated with the policy.

                                                                                                                                                                                                      pub fn identifier(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.identifier(input.into()); diff --git a/sdk/migrationhubrefactorspaces/src/operation/delete_route/builders.rs b/sdk/migrationhubrefactorspaces/src/operation/delete_route/builders.rs index 4e5f58f9fc65..a7bc0605e39c 100644 --- a/sdk/migrationhubrefactorspaces/src/operation/delete_route/builders.rs +++ b/sdk/migrationhubrefactorspaces/src/operation/delete_route/builders.rs @@ -19,9 +19,9 @@ impl DeleteRouteFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl DeleteRouteFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::delete_route::DeleteRoute, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                      The ID of the environment to delete the route from.

                                                                                                                                                                                                      pub fn environment_identifier( mut self, diff --git a/sdk/migrationhubrefactorspaces/src/operation/delete_service/builders.rs b/sdk/migrationhubrefactorspaces/src/operation/delete_service/builders.rs index efe205e21f87..4ff21144c6ed 100644 --- a/sdk/migrationhubrefactorspaces/src/operation/delete_service/builders.rs +++ b/sdk/migrationhubrefactorspaces/src/operation/delete_service/builders.rs @@ -19,9 +19,9 @@ impl DeleteServiceFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl DeleteServiceFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::delete_service::DeleteService, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                      The ID of the environment that the service is in.

                                                                                                                                                                                                      pub fn environment_identifier( mut self, diff --git a/sdk/migrationhubrefactorspaces/src/operation/get_application/builders.rs b/sdk/migrationhubrefactorspaces/src/operation/get_application/builders.rs index ff4b0b085f91..47edf44dc714 100644 --- a/sdk/migrationhubrefactorspaces/src/operation/get_application/builders.rs +++ b/sdk/migrationhubrefactorspaces/src/operation/get_application/builders.rs @@ -19,9 +19,9 @@ impl GetApplicationFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl GetApplicationFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::get_application::GetApplication, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                      The ID of the environment.

                                                                                                                                                                                                      pub fn environment_identifier( mut self, diff --git a/sdk/migrationhubrefactorspaces/src/operation/get_environment/builders.rs b/sdk/migrationhubrefactorspaces/src/operation/get_environment/builders.rs index e3dc23384a97..61afcff889aa 100644 --- a/sdk/migrationhubrefactorspaces/src/operation/get_environment/builders.rs +++ b/sdk/migrationhubrefactorspaces/src/operation/get_environment/builders.rs @@ -19,9 +19,9 @@ impl GetEnvironmentFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl GetEnvironmentFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::get_environment::GetEnvironment, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                      The ID of the environment.

                                                                                                                                                                                                      pub fn environment_identifier( mut self, diff --git a/sdk/migrationhubrefactorspaces/src/operation/get_resource_policy/builders.rs b/sdk/migrationhubrefactorspaces/src/operation/get_resource_policy/builders.rs index ba258c3d41f5..53bb09a0ddee 100644 --- a/sdk/migrationhubrefactorspaces/src/operation/get_resource_policy/builders.rs +++ b/sdk/migrationhubrefactorspaces/src/operation/get_resource_policy/builders.rs @@ -19,9 +19,9 @@ impl GetResourcePolicyFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl GetResourcePolicyFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::get_resource_policy::GetResourcePolicy, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::get_resource_policy::GetResourcePolicyError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                      The Amazon Resource Name (ARN) of the resource associated with the policy.

                                                                                                                                                                                                      pub fn identifier(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.identifier(input.into()); diff --git a/sdk/migrationhubrefactorspaces/src/operation/get_route/builders.rs b/sdk/migrationhubrefactorspaces/src/operation/get_route/builders.rs index 5fcb5c35349e..95f20781eace 100644 --- a/sdk/migrationhubrefactorspaces/src/operation/get_route/builders.rs +++ b/sdk/migrationhubrefactorspaces/src/operation/get_route/builders.rs @@ -19,9 +19,9 @@ impl GetRouteFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl GetRouteFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::get_route::GetRoute, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                      The ID of the environment.

                                                                                                                                                                                                      pub fn environment_identifier( mut self, diff --git a/sdk/migrationhubrefactorspaces/src/operation/get_service/builders.rs b/sdk/migrationhubrefactorspaces/src/operation/get_service/builders.rs index 7b2bf99369c1..99e5625e56a2 100644 --- a/sdk/migrationhubrefactorspaces/src/operation/get_service/builders.rs +++ b/sdk/migrationhubrefactorspaces/src/operation/get_service/builders.rs @@ -19,9 +19,9 @@ impl GetServiceFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl GetServiceFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::get_service::GetService, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                      The ID of the environment.

                                                                                                                                                                                                      pub fn environment_identifier( mut self, diff --git a/sdk/migrationhubrefactorspaces/src/operation/list_applications/builders.rs b/sdk/migrationhubrefactorspaces/src/operation/list_applications/builders.rs index 79a58f31eef0..743cbcec2af9 100644 --- a/sdk/migrationhubrefactorspaces/src/operation/list_applications/builders.rs +++ b/sdk/migrationhubrefactorspaces/src/operation/list_applications/builders.rs @@ -19,9 +19,9 @@ impl ListApplicationsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl ListApplicationsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_applications::ListApplications, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::list_applications::ListApplicationsError, + >, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::list_applications::paginator::ListApplicationsPaginator::send) which returns a `Stream`. diff --git a/sdk/migrationhubrefactorspaces/src/operation/list_environment_vpcs/builders.rs b/sdk/migrationhubrefactorspaces/src/operation/list_environment_vpcs/builders.rs index 6c34af485c40..a13c155da997 100644 --- a/sdk/migrationhubrefactorspaces/src/operation/list_environment_vpcs/builders.rs +++ b/sdk/migrationhubrefactorspaces/src/operation/list_environment_vpcs/builders.rs @@ -19,9 +19,9 @@ impl ListEnvironmentVpcsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl ListEnvironmentVpcsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_environment_vpcs::ListEnvironmentVpcs, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::list_environment_vpcs::ListEnvironmentVpcsError, + >, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::list_environment_vpcs::paginator::ListEnvironmentVpcsPaginator::send) which returns a `Stream`. diff --git a/sdk/migrationhubrefactorspaces/src/operation/list_environments/builders.rs b/sdk/migrationhubrefactorspaces/src/operation/list_environments/builders.rs index edcb462fa081..398ba1d5f23f 100644 --- a/sdk/migrationhubrefactorspaces/src/operation/list_environments/builders.rs +++ b/sdk/migrationhubrefactorspaces/src/operation/list_environments/builders.rs @@ -19,9 +19,9 @@ impl ListEnvironmentsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl ListEnvironmentsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_environments::ListEnvironments, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::list_environments::ListEnvironmentsError, + >, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::list_environments::paginator::ListEnvironmentsPaginator::send) which returns a `Stream`. diff --git a/sdk/migrationhubrefactorspaces/src/operation/list_routes/builders.rs b/sdk/migrationhubrefactorspaces/src/operation/list_routes/builders.rs index 77bd6978e4f5..0c7744dea8df 100644 --- a/sdk/migrationhubrefactorspaces/src/operation/list_routes/builders.rs +++ b/sdk/migrationhubrefactorspaces/src/operation/list_routes/builders.rs @@ -19,9 +19,9 @@ impl ListRoutesFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl ListRoutesFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_routes::ListRoutes, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::list_routes::paginator::ListRoutesPaginator::send) which returns a `Stream`. diff --git a/sdk/migrationhubrefactorspaces/src/operation/list_services/builders.rs b/sdk/migrationhubrefactorspaces/src/operation/list_services/builders.rs index a4d7f30a5aa2..4ec255601cf8 100644 --- a/sdk/migrationhubrefactorspaces/src/operation/list_services/builders.rs +++ b/sdk/migrationhubrefactorspaces/src/operation/list_services/builders.rs @@ -19,9 +19,9 @@ impl ListServicesFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl ListServicesFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_services::ListServices, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::list_services::paginator::ListServicesPaginator::send) which returns a `Stream`. diff --git a/sdk/migrationhubrefactorspaces/src/operation/list_tags_for_resource/builders.rs b/sdk/migrationhubrefactorspaces/src/operation/list_tags_for_resource/builders.rs index e6e3ab7de3af..e15106820d81 100644 --- a/sdk/migrationhubrefactorspaces/src/operation/list_tags_for_resource/builders.rs +++ b/sdk/migrationhubrefactorspaces/src/operation/list_tags_for_resource/builders.rs @@ -19,9 +19,9 @@ impl ListTagsForResourceFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl ListTagsForResourceFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_tags_for_resource::ListTagsForResource, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::list_tags_for_resource::ListTagsForResourceError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                      The Amazon Resource Name (ARN) of the resource.

                                                                                                                                                                                                      pub fn resource_arn(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.resource_arn(input.into()); diff --git a/sdk/migrationhubrefactorspaces/src/operation/put_resource_policy/builders.rs b/sdk/migrationhubrefactorspaces/src/operation/put_resource_policy/builders.rs index e0da28a2e628..2e4a917fa510 100644 --- a/sdk/migrationhubrefactorspaces/src/operation/put_resource_policy/builders.rs +++ b/sdk/migrationhubrefactorspaces/src/operation/put_resource_policy/builders.rs @@ -19,9 +19,9 @@ impl PutResourcePolicyFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl PutResourcePolicyFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::put_resource_policy::PutResourcePolicy, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::put_resource_policy::PutResourcePolicyError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                      The Amazon Resource Name (ARN) of the resource to which the policy is being attached.

                                                                                                                                                                                                      pub fn resource_arn(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.resource_arn(input.into()); diff --git a/sdk/migrationhubrefactorspaces/src/operation/tag_resource/builders.rs b/sdk/migrationhubrefactorspaces/src/operation/tag_resource/builders.rs index 93e7c4d3297b..dca14cef8028 100644 --- a/sdk/migrationhubrefactorspaces/src/operation/tag_resource/builders.rs +++ b/sdk/migrationhubrefactorspaces/src/operation/tag_resource/builders.rs @@ -21,9 +21,9 @@ impl TagResourceFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -79,6 +79,20 @@ impl TagResourceFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::tag_resource::TagResource, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                      The Amazon Resource Name (ARN) of the resource.

                                                                                                                                                                                                      pub fn resource_arn(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.resource_arn(input.into()); diff --git a/sdk/migrationhubrefactorspaces/src/operation/untag_resource/builders.rs b/sdk/migrationhubrefactorspaces/src/operation/untag_resource/builders.rs index 11ab95a0f215..55cb58c788d6 100644 --- a/sdk/migrationhubrefactorspaces/src/operation/untag_resource/builders.rs +++ b/sdk/migrationhubrefactorspaces/src/operation/untag_resource/builders.rs @@ -19,9 +19,9 @@ impl UntagResourceFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl UntagResourceFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::untag_resource::UntagResource, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                      The Amazon Resource Name (ARN) of the resource.

                                                                                                                                                                                                      pub fn resource_arn(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.resource_arn(input.into()); diff --git a/sdk/migrationhubrefactorspaces/src/operation/update_route/builders.rs b/sdk/migrationhubrefactorspaces/src/operation/update_route/builders.rs index 507899826e8b..09cc94e47bb7 100644 --- a/sdk/migrationhubrefactorspaces/src/operation/update_route/builders.rs +++ b/sdk/migrationhubrefactorspaces/src/operation/update_route/builders.rs @@ -19,9 +19,9 @@ impl UpdateRouteFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl UpdateRouteFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::update_route::UpdateRoute, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                      The ID of the environment in which the route is being updated.

                                                                                                                                                                                                      pub fn environment_identifier( mut self, diff --git a/sdk/migrationhubstrategy/src/operation/get_application_component_details/builders.rs b/sdk/migrationhubstrategy/src/operation/get_application_component_details/builders.rs index 7a553f2f946b..3b595faa0a28 100644 --- a/sdk/migrationhubstrategy/src/operation/get_application_component_details/builders.rs +++ b/sdk/migrationhubstrategy/src/operation/get_application_component_details/builders.rs @@ -19,9 +19,9 @@ impl GetApplicationComponentDetailsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize(self) -> ::std::result::Result< + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware(self) -> ::std::result::Result< crate::client::customize::CustomizableOperation, ::aws_smithy_http::result::SdkError >{ @@ -64,6 +64,15 @@ impl GetApplicationComponentDetailsFluentBuilder { { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize(self) -> ::std::result::Result< + crate::client::customize::CustomizableOperation, + ::aws_smithy_http::result::SdkError + >{ + self.customize_middleware().await + } ///

                                                                                                                                                                                                      The ID of the application component. The ID is unique within an AWS account.

                                                                                                                                                                                                      pub fn application_component_id( mut self, diff --git a/sdk/migrationhubstrategy/src/operation/get_application_component_strategies/builders.rs b/sdk/migrationhubstrategy/src/operation/get_application_component_strategies/builders.rs index d14993c744ca..4ab9721168fa 100644 --- a/sdk/migrationhubstrategy/src/operation/get_application_component_strategies/builders.rs +++ b/sdk/migrationhubstrategy/src/operation/get_application_component_strategies/builders.rs @@ -19,9 +19,9 @@ impl GetApplicationComponentStrategiesFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize(self) -> ::std::result::Result< + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware(self) -> ::std::result::Result< crate::client::customize::CustomizableOperation, ::aws_smithy_http::result::SdkError >{ @@ -64,6 +64,15 @@ impl GetApplicationComponentStrategiesFluentBuilder { { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize(self) -> ::std::result::Result< + crate::client::customize::CustomizableOperation, + ::aws_smithy_http::result::SdkError + >{ + self.customize_middleware().await + } ///

                                                                                                                                                                                                      The ID of the application component. The ID is unique within an AWS account.

                                                                                                                                                                                                      pub fn application_component_id( mut self, diff --git a/sdk/migrationhubstrategy/src/operation/get_assessment/builders.rs b/sdk/migrationhubstrategy/src/operation/get_assessment/builders.rs index 71d279459f1a..cf2f63b635e8 100644 --- a/sdk/migrationhubstrategy/src/operation/get_assessment/builders.rs +++ b/sdk/migrationhubstrategy/src/operation/get_assessment/builders.rs @@ -19,9 +19,9 @@ impl GetAssessmentFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl GetAssessmentFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::get_assessment::GetAssessment, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                      The assessmentid returned by StartAssessment.

                                                                                                                                                                                                      pub fn id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.id(input.into()); diff --git a/sdk/migrationhubstrategy/src/operation/get_import_file_task/builders.rs b/sdk/migrationhubstrategy/src/operation/get_import_file_task/builders.rs index be7efa28508d..483f227cd2cf 100644 --- a/sdk/migrationhubstrategy/src/operation/get_import_file_task/builders.rs +++ b/sdk/migrationhubstrategy/src/operation/get_import_file_task/builders.rs @@ -19,9 +19,9 @@ impl GetImportFileTaskFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl GetImportFileTaskFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::get_import_file_task::GetImportFileTask, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::get_import_file_task::GetImportFileTaskError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                      The ID of the import file task. This ID is returned in the response of StartImportFileTask.

                                                                                                                                                                                                      pub fn id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.id(input.into()); diff --git a/sdk/migrationhubstrategy/src/operation/get_latest_assessment_id/builders.rs b/sdk/migrationhubstrategy/src/operation/get_latest_assessment_id/builders.rs index 3ecf6f3106a4..c5faa25cd433 100644 --- a/sdk/migrationhubstrategy/src/operation/get_latest_assessment_id/builders.rs +++ b/sdk/migrationhubstrategy/src/operation/get_latest_assessment_id/builders.rs @@ -19,9 +19,9 @@ impl GetLatestAssessmentIdFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,4 +83,20 @@ impl GetLatestAssessmentIdFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::get_latest_assessment_id::GetLatestAssessmentId, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::get_latest_assessment_id::GetLatestAssessmentIdError, + >, + > { + self.customize_middleware().await + } } diff --git a/sdk/migrationhubstrategy/src/operation/get_portfolio_preferences/builders.rs b/sdk/migrationhubstrategy/src/operation/get_portfolio_preferences/builders.rs index dbcfe5a52793..3b4aaa7a2d73 100644 --- a/sdk/migrationhubstrategy/src/operation/get_portfolio_preferences/builders.rs +++ b/sdk/migrationhubstrategy/src/operation/get_portfolio_preferences/builders.rs @@ -20,9 +20,9 @@ impl GetPortfolioPreferencesFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -84,4 +84,20 @@ impl GetPortfolioPreferencesFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::get_portfolio_preferences::GetPortfolioPreferences, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::get_portfolio_preferences::GetPortfolioPreferencesError, + >, + > { + self.customize_middleware().await + } } diff --git a/sdk/migrationhubstrategy/src/operation/get_portfolio_summary/builders.rs b/sdk/migrationhubstrategy/src/operation/get_portfolio_summary/builders.rs index 99ebb6800575..a9ee6d66a3a8 100644 --- a/sdk/migrationhubstrategy/src/operation/get_portfolio_summary/builders.rs +++ b/sdk/migrationhubstrategy/src/operation/get_portfolio_summary/builders.rs @@ -19,9 +19,9 @@ impl GetPortfolioSummaryFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,4 +83,20 @@ impl GetPortfolioSummaryFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::get_portfolio_summary::GetPortfolioSummary, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::get_portfolio_summary::GetPortfolioSummaryError, + >, + > { + self.customize_middleware().await + } } diff --git a/sdk/migrationhubstrategy/src/operation/get_recommendation_report_details/builders.rs b/sdk/migrationhubstrategy/src/operation/get_recommendation_report_details/builders.rs index cafdd79fbd8f..8022ec104908 100644 --- a/sdk/migrationhubstrategy/src/operation/get_recommendation_report_details/builders.rs +++ b/sdk/migrationhubstrategy/src/operation/get_recommendation_report_details/builders.rs @@ -19,9 +19,9 @@ impl GetRecommendationReportDetailsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize(self) -> ::std::result::Result< + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware(self) -> ::std::result::Result< crate::client::customize::CustomizableOperation, ::aws_smithy_http::result::SdkError >{ @@ -64,6 +64,15 @@ impl GetRecommendationReportDetailsFluentBuilder { { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize(self) -> ::std::result::Result< + crate::client::customize::CustomizableOperation, + ::aws_smithy_http::result::SdkError + >{ + self.customize_middleware().await + } ///

                                                                                                                                                                                                      The recommendation report generation task id returned by StartRecommendationReportGeneration.

                                                                                                                                                                                                      pub fn id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.id(input.into()); diff --git a/sdk/migrationhubstrategy/src/operation/get_server_details/builders.rs b/sdk/migrationhubstrategy/src/operation/get_server_details/builders.rs index f39143aab80e..d394b98c8f2e 100644 --- a/sdk/migrationhubstrategy/src/operation/get_server_details/builders.rs +++ b/sdk/migrationhubstrategy/src/operation/get_server_details/builders.rs @@ -19,9 +19,9 @@ impl GetServerDetailsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl GetServerDetailsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::get_server_details::GetServerDetails, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::get_server_details::GetServerDetailsError, + >, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::get_server_details::paginator::GetServerDetailsPaginator::send) which returns a `Stream`. diff --git a/sdk/migrationhubstrategy/src/operation/get_server_strategies/builders.rs b/sdk/migrationhubstrategy/src/operation/get_server_strategies/builders.rs index ba009d1a09e5..abbdcdb6c6bc 100644 --- a/sdk/migrationhubstrategy/src/operation/get_server_strategies/builders.rs +++ b/sdk/migrationhubstrategy/src/operation/get_server_strategies/builders.rs @@ -19,9 +19,9 @@ impl GetServerStrategiesFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl GetServerStrategiesFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::get_server_strategies::GetServerStrategies, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::get_server_strategies::GetServerStrategiesError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                      The ID of the server.

                                                                                                                                                                                                      pub fn server_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.server_id(input.into()); diff --git a/sdk/migrationhubstrategy/src/operation/list_application_components/builders.rs b/sdk/migrationhubstrategy/src/operation/list_application_components/builders.rs index 389ae4d85337..d730b5ede0bf 100644 --- a/sdk/migrationhubstrategy/src/operation/list_application_components/builders.rs +++ b/sdk/migrationhubstrategy/src/operation/list_application_components/builders.rs @@ -19,9 +19,9 @@ impl ListApplicationComponentsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl ListApplicationComponentsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_application_components::ListApplicationComponents, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::list_application_components::ListApplicationComponentsError, + >, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::list_application_components::paginator::ListApplicationComponentsPaginator::send) which returns a `Stream`. diff --git a/sdk/migrationhubstrategy/src/operation/list_collectors/builders.rs b/sdk/migrationhubstrategy/src/operation/list_collectors/builders.rs index 0738ba732693..34394cd61190 100644 --- a/sdk/migrationhubstrategy/src/operation/list_collectors/builders.rs +++ b/sdk/migrationhubstrategy/src/operation/list_collectors/builders.rs @@ -19,9 +19,9 @@ impl ListCollectorsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl ListCollectorsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_collectors::ListCollectors, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::list_collectors::paginator::ListCollectorsPaginator::send) which returns a `Stream`. diff --git a/sdk/migrationhubstrategy/src/operation/list_import_file_task/builders.rs b/sdk/migrationhubstrategy/src/operation/list_import_file_task/builders.rs index 60c213f69085..bc41a6564334 100644 --- a/sdk/migrationhubstrategy/src/operation/list_import_file_task/builders.rs +++ b/sdk/migrationhubstrategy/src/operation/list_import_file_task/builders.rs @@ -19,9 +19,9 @@ impl ListImportFileTaskFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl ListImportFileTaskFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_import_file_task::ListImportFileTask, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::list_import_file_task::ListImportFileTaskError, + >, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::list_import_file_task::paginator::ListImportFileTaskPaginator::send) which returns a `Stream`. diff --git a/sdk/migrationhubstrategy/src/operation/list_servers/builders.rs b/sdk/migrationhubstrategy/src/operation/list_servers/builders.rs index 2e0b06cd481f..ef9c8532e99a 100644 --- a/sdk/migrationhubstrategy/src/operation/list_servers/builders.rs +++ b/sdk/migrationhubstrategy/src/operation/list_servers/builders.rs @@ -19,9 +19,9 @@ impl ListServersFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl ListServersFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_servers::ListServers, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::list_servers::paginator::ListServersPaginator::send) which returns a `Stream`. diff --git a/sdk/migrationhubstrategy/src/operation/put_portfolio_preferences/builders.rs b/sdk/migrationhubstrategy/src/operation/put_portfolio_preferences/builders.rs index ef4cacacc99b..277637deb7c2 100644 --- a/sdk/migrationhubstrategy/src/operation/put_portfolio_preferences/builders.rs +++ b/sdk/migrationhubstrategy/src/operation/put_portfolio_preferences/builders.rs @@ -20,9 +20,9 @@ impl PutPortfolioPreferencesFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -84,6 +84,22 @@ impl PutPortfolioPreferencesFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::put_portfolio_preferences::PutPortfolioPreferences, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::put_portfolio_preferences::PutPortfolioPreferencesError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                      The rank of the business goals based on priority.

                                                                                                                                                                                                      pub fn prioritize_business_goals( mut self, diff --git a/sdk/migrationhubstrategy/src/operation/start_assessment/builders.rs b/sdk/migrationhubstrategy/src/operation/start_assessment/builders.rs index 0f398f27d62f..b910c13f2e41 100644 --- a/sdk/migrationhubstrategy/src/operation/start_assessment/builders.rs +++ b/sdk/migrationhubstrategy/src/operation/start_assessment/builders.rs @@ -19,9 +19,9 @@ impl StartAssessmentFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl StartAssessmentFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::start_assessment::StartAssessment, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::start_assessment::StartAssessmentError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                      The S3 bucket used by the collectors to send analysis data to the service. The bucket name must begin with migrationhub-strategy-.

                                                                                                                                                                                                      pub fn s3bucket_for_analysis_data( mut self, diff --git a/sdk/migrationhubstrategy/src/operation/start_import_file_task/builders.rs b/sdk/migrationhubstrategy/src/operation/start_import_file_task/builders.rs index 64c02a6adddb..ca9ffcb42ed9 100644 --- a/sdk/migrationhubstrategy/src/operation/start_import_file_task/builders.rs +++ b/sdk/migrationhubstrategy/src/operation/start_import_file_task/builders.rs @@ -19,9 +19,9 @@ impl StartImportFileTaskFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl StartImportFileTaskFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::start_import_file_task::StartImportFileTask, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::start_import_file_task::StartImportFileTaskError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                      A descriptive name for the request.

                                                                                                                                                                                                      pub fn name(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.name(input.into()); diff --git a/sdk/migrationhubstrategy/src/operation/start_recommendation_report_generation/builders.rs b/sdk/migrationhubstrategy/src/operation/start_recommendation_report_generation/builders.rs index 8ab6c9ed256c..faaed32c2b22 100644 --- a/sdk/migrationhubstrategy/src/operation/start_recommendation_report_generation/builders.rs +++ b/sdk/migrationhubstrategy/src/operation/start_recommendation_report_generation/builders.rs @@ -19,9 +19,9 @@ impl StartRecommendationReportGenerationFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize(self) -> ::std::result::Result< + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware(self) -> ::std::result::Result< crate::client::customize::CustomizableOperation, ::aws_smithy_http::result::SdkError >{ @@ -64,6 +64,15 @@ impl StartRecommendationReportGenerationFluentBuilder { { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize(self) -> ::std::result::Result< + crate::client::customize::CustomizableOperation, + ::aws_smithy_http::result::SdkError + >{ + self.customize_middleware().await + } ///

                                                                                                                                                                                                      The output format for the recommendation report file. The default format is Microsoft Excel.

                                                                                                                                                                                                      pub fn output_format(mut self, input: crate::types::OutputFormat) -> Self { self.inner = self.inner.output_format(input); diff --git a/sdk/migrationhubstrategy/src/operation/stop_assessment/builders.rs b/sdk/migrationhubstrategy/src/operation/stop_assessment/builders.rs index 8f2c61fca164..b3e2dea20a49 100644 --- a/sdk/migrationhubstrategy/src/operation/stop_assessment/builders.rs +++ b/sdk/migrationhubstrategy/src/operation/stop_assessment/builders.rs @@ -19,9 +19,9 @@ impl StopAssessmentFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl StopAssessmentFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::stop_assessment::StopAssessment, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                      The assessmentId returned by StartAssessment.

                                                                                                                                                                                                      pub fn assessment_id( mut self, diff --git a/sdk/migrationhubstrategy/src/operation/update_application_component_config/builders.rs b/sdk/migrationhubstrategy/src/operation/update_application_component_config/builders.rs index 3982681ec528..ad8d3cfc3177 100644 --- a/sdk/migrationhubstrategy/src/operation/update_application_component_config/builders.rs +++ b/sdk/migrationhubstrategy/src/operation/update_application_component_config/builders.rs @@ -19,9 +19,9 @@ impl UpdateApplicationComponentConfigFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize(self) -> ::std::result::Result< + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware(self) -> ::std::result::Result< crate::client::customize::CustomizableOperation, ::aws_smithy_http::result::SdkError >{ @@ -64,6 +64,15 @@ impl UpdateApplicationComponentConfigFluentBuilder { { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize(self) -> ::std::result::Result< + crate::client::customize::CustomizableOperation, + ::aws_smithy_http::result::SdkError + >{ + self.customize_middleware().await + } ///

                                                                                                                                                                                                      The ID of the application component. The ID is unique within an AWS account.

                                                                                                                                                                                                      pub fn application_component_id( mut self, diff --git a/sdk/migrationhubstrategy/src/operation/update_server_config/builders.rs b/sdk/migrationhubstrategy/src/operation/update_server_config/builders.rs index f174a4c3ccf2..21a6ce67c13d 100644 --- a/sdk/migrationhubstrategy/src/operation/update_server_config/builders.rs +++ b/sdk/migrationhubstrategy/src/operation/update_server_config/builders.rs @@ -19,9 +19,9 @@ impl UpdateServerConfigFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl UpdateServerConfigFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::update_server_config::UpdateServerConfig, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::update_server_config::UpdateServerConfigError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                      The ID of the server.

                                                                                                                                                                                                      pub fn server_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.server_id(input.into()); diff --git a/sdk/mobile/src/operation/create_project/builders.rs b/sdk/mobile/src/operation/create_project/builders.rs index 9188bedc1e3b..0030b9e1d053 100644 --- a/sdk/mobile/src/operation/create_project/builders.rs +++ b/sdk/mobile/src/operation/create_project/builders.rs @@ -19,9 +19,9 @@ impl CreateProjectFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl CreateProjectFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::create_project::CreateProject, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                      Name of the project.

                                                                                                                                                                                                      pub fn name(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.name(input.into()); diff --git a/sdk/mobile/src/operation/delete_project/builders.rs b/sdk/mobile/src/operation/delete_project/builders.rs index ca866e1f73fc..938891cf9b82 100644 --- a/sdk/mobile/src/operation/delete_project/builders.rs +++ b/sdk/mobile/src/operation/delete_project/builders.rs @@ -19,9 +19,9 @@ impl DeleteProjectFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl DeleteProjectFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::delete_project::DeleteProject, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                      Unique project identifier.

                                                                                                                                                                                                      pub fn project_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.project_id(input.into()); diff --git a/sdk/mobile/src/operation/describe_bundle/builders.rs b/sdk/mobile/src/operation/describe_bundle/builders.rs index 6a3ad90329bc..9bae6c6b6e14 100644 --- a/sdk/mobile/src/operation/describe_bundle/builders.rs +++ b/sdk/mobile/src/operation/describe_bundle/builders.rs @@ -19,9 +19,9 @@ impl DescribeBundleFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl DescribeBundleFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::describe_bundle::DescribeBundle, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                      Unique bundle identifier.

                                                                                                                                                                                                      pub fn bundle_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.bundle_id(input.into()); diff --git a/sdk/mobile/src/operation/describe_project/builders.rs b/sdk/mobile/src/operation/describe_project/builders.rs index cd674845bab0..966fc1806210 100644 --- a/sdk/mobile/src/operation/describe_project/builders.rs +++ b/sdk/mobile/src/operation/describe_project/builders.rs @@ -19,9 +19,9 @@ impl DescribeProjectFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl DescribeProjectFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::describe_project::DescribeProject, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::describe_project::DescribeProjectError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                      Unique project identifier.

                                                                                                                                                                                                      pub fn project_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.project_id(input.into()); diff --git a/sdk/mobile/src/operation/export_bundle/builders.rs b/sdk/mobile/src/operation/export_bundle/builders.rs index 512bdca99a23..861f5fd0963f 100644 --- a/sdk/mobile/src/operation/export_bundle/builders.rs +++ b/sdk/mobile/src/operation/export_bundle/builders.rs @@ -19,9 +19,9 @@ impl ExportBundleFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl ExportBundleFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::export_bundle::ExportBundle, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                      Unique bundle identifier.

                                                                                                                                                                                                      pub fn bundle_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.bundle_id(input.into()); diff --git a/sdk/mobile/src/operation/export_project/builders.rs b/sdk/mobile/src/operation/export_project/builders.rs index 8b44f800cf66..6d521b798999 100644 --- a/sdk/mobile/src/operation/export_project/builders.rs +++ b/sdk/mobile/src/operation/export_project/builders.rs @@ -19,9 +19,9 @@ impl ExportProjectFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl ExportProjectFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::export_project::ExportProject, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                      Unique project identifier.

                                                                                                                                                                                                      pub fn project_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.project_id(input.into()); diff --git a/sdk/mobile/src/operation/list_bundles/builders.rs b/sdk/mobile/src/operation/list_bundles/builders.rs index c903e98d235e..2cc59e1a4459 100644 --- a/sdk/mobile/src/operation/list_bundles/builders.rs +++ b/sdk/mobile/src/operation/list_bundles/builders.rs @@ -19,9 +19,9 @@ impl ListBundlesFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl ListBundlesFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_bundles::ListBundles, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::list_bundles::paginator::ListBundlesPaginator::send) which returns a `Stream`. diff --git a/sdk/mobile/src/operation/list_projects/builders.rs b/sdk/mobile/src/operation/list_projects/builders.rs index 8d32234422ef..4bf4a499faed 100644 --- a/sdk/mobile/src/operation/list_projects/builders.rs +++ b/sdk/mobile/src/operation/list_projects/builders.rs @@ -19,9 +19,9 @@ impl ListProjectsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl ListProjectsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_projects::ListProjects, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::list_projects::paginator::ListProjectsPaginator::send) which returns a `Stream`. diff --git a/sdk/mobile/src/operation/update_project/builders.rs b/sdk/mobile/src/operation/update_project/builders.rs index 17140bb7eb48..13cff5153f58 100644 --- a/sdk/mobile/src/operation/update_project/builders.rs +++ b/sdk/mobile/src/operation/update_project/builders.rs @@ -19,9 +19,9 @@ impl UpdateProjectFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl UpdateProjectFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::update_project::UpdateProject, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                      ZIP or YAML file which contains project configuration to be updated. This should be the contents of the file downloaded from the URL provided in an export project operation.

                                                                                                                                                                                                      pub fn contents(mut self, input: ::aws_smithy_types::Blob) -> Self { self.inner = self.inner.contents(input); diff --git a/sdk/mq/src/operation/create_broker/builders.rs b/sdk/mq/src/operation/create_broker/builders.rs index 7b2eecff5aa0..db71482dfca4 100644 --- a/sdk/mq/src/operation/create_broker/builders.rs +++ b/sdk/mq/src/operation/create_broker/builders.rs @@ -35,9 +35,9 @@ impl CreateBrokerFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -93,6 +93,20 @@ impl CreateBrokerFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::create_broker::CreateBroker, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                      Optional. The authentication strategy used to secure the broker. The default is SIMPLE.

                                                                                                                                                                                                      pub fn authentication_strategy(mut self, input: crate::types::AuthenticationStrategy) -> Self { self.inner = self.inner.authentication_strategy(input); diff --git a/sdk/mq/src/operation/create_configuration/builders.rs b/sdk/mq/src/operation/create_configuration/builders.rs index b37102d7fdf2..fa66932cf7a2 100644 --- a/sdk/mq/src/operation/create_configuration/builders.rs +++ b/sdk/mq/src/operation/create_configuration/builders.rs @@ -19,9 +19,9 @@ impl CreateConfigurationFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl CreateConfigurationFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::create_configuration::CreateConfiguration, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::create_configuration::CreateConfigurationError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                      Optional. The authentication strategy associated with the configuration. The default is SIMPLE.

                                                                                                                                                                                                      pub fn authentication_strategy(mut self, input: crate::types::AuthenticationStrategy) -> Self { self.inner = self.inner.authentication_strategy(input); diff --git a/sdk/mq/src/operation/create_tags/builders.rs b/sdk/mq/src/operation/create_tags/builders.rs index 4acf83699d1b..e8276fcc45e0 100644 --- a/sdk/mq/src/operation/create_tags/builders.rs +++ b/sdk/mq/src/operation/create_tags/builders.rs @@ -19,9 +19,9 @@ impl CreateTagsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl CreateTagsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::create_tags::CreateTags, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                      The Amazon Resource Name (ARN) of the resource tag.

                                                                                                                                                                                                      pub fn resource_arn(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.resource_arn(input.into()); diff --git a/sdk/mq/src/operation/create_user/builders.rs b/sdk/mq/src/operation/create_user/builders.rs index 7cb9e5d838ec..817ebf6bb241 100644 --- a/sdk/mq/src/operation/create_user/builders.rs +++ b/sdk/mq/src/operation/create_user/builders.rs @@ -19,9 +19,9 @@ impl CreateUserFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl CreateUserFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::create_user::CreateUser, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                      The unique ID that Amazon MQ generates for the broker.

                                                                                                                                                                                                      pub fn broker_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.broker_id(input.into()); diff --git a/sdk/mq/src/operation/delete_broker/builders.rs b/sdk/mq/src/operation/delete_broker/builders.rs index 5e796b732466..4453f687d9c1 100644 --- a/sdk/mq/src/operation/delete_broker/builders.rs +++ b/sdk/mq/src/operation/delete_broker/builders.rs @@ -19,9 +19,9 @@ impl DeleteBrokerFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl DeleteBrokerFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::delete_broker::DeleteBroker, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                      The unique ID that Amazon MQ generates for the broker.

                                                                                                                                                                                                      pub fn broker_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.broker_id(input.into()); diff --git a/sdk/mq/src/operation/delete_tags/builders.rs b/sdk/mq/src/operation/delete_tags/builders.rs index 61a3962a82c4..952e8b205750 100644 --- a/sdk/mq/src/operation/delete_tags/builders.rs +++ b/sdk/mq/src/operation/delete_tags/builders.rs @@ -19,9 +19,9 @@ impl DeleteTagsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl DeleteTagsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::delete_tags::DeleteTags, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                      The Amazon Resource Name (ARN) of the resource tag.

                                                                                                                                                                                                      pub fn resource_arn(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.resource_arn(input.into()); diff --git a/sdk/mq/src/operation/delete_user/builders.rs b/sdk/mq/src/operation/delete_user/builders.rs index ad9e1d0f17e0..83e84b82e06e 100644 --- a/sdk/mq/src/operation/delete_user/builders.rs +++ b/sdk/mq/src/operation/delete_user/builders.rs @@ -19,9 +19,9 @@ impl DeleteUserFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl DeleteUserFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::delete_user::DeleteUser, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                      The unique ID that Amazon MQ generates for the broker.

                                                                                                                                                                                                      pub fn broker_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.broker_id(input.into()); diff --git a/sdk/mq/src/operation/describe_broker/builders.rs b/sdk/mq/src/operation/describe_broker/builders.rs index a4a7656bce1c..c08bbe60657c 100644 --- a/sdk/mq/src/operation/describe_broker/builders.rs +++ b/sdk/mq/src/operation/describe_broker/builders.rs @@ -19,9 +19,9 @@ impl DescribeBrokerFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl DescribeBrokerFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::describe_broker::DescribeBroker, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                      The unique ID that Amazon MQ generates for the broker.

                                                                                                                                                                                                      pub fn broker_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.broker_id(input.into()); diff --git a/sdk/mq/src/operation/describe_broker_engine_types/builders.rs b/sdk/mq/src/operation/describe_broker_engine_types/builders.rs index 43681db857a4..b6515856935a 100644 --- a/sdk/mq/src/operation/describe_broker_engine_types/builders.rs +++ b/sdk/mq/src/operation/describe_broker_engine_types/builders.rs @@ -19,9 +19,9 @@ impl DescribeBrokerEngineTypesFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl DescribeBrokerEngineTypesFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::describe_broker_engine_types::DescribeBrokerEngineTypes, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::describe_broker_engine_types::DescribeBrokerEngineTypesError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                      Filter response by engine type.

                                                                                                                                                                                                      pub fn engine_type(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.engine_type(input.into()); diff --git a/sdk/mq/src/operation/describe_broker_instance_options/builders.rs b/sdk/mq/src/operation/describe_broker_instance_options/builders.rs index f669c5e85018..9890544f7281 100644 --- a/sdk/mq/src/operation/describe_broker_instance_options/builders.rs +++ b/sdk/mq/src/operation/describe_broker_instance_options/builders.rs @@ -19,9 +19,9 @@ impl DescribeBrokerInstanceOptionsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl DescribeBrokerInstanceOptionsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::describe_broker_instance_options::DescribeBrokerInstanceOptions, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::describe_broker_instance_options::DescribeBrokerInstanceOptionsError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                      Filter response by engine type.

                                                                                                                                                                                                      pub fn engine_type(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.engine_type(input.into()); diff --git a/sdk/mq/src/operation/describe_configuration/builders.rs b/sdk/mq/src/operation/describe_configuration/builders.rs index ee6174ae361b..71a3d67a54b8 100644 --- a/sdk/mq/src/operation/describe_configuration/builders.rs +++ b/sdk/mq/src/operation/describe_configuration/builders.rs @@ -19,9 +19,9 @@ impl DescribeConfigurationFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl DescribeConfigurationFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::describe_configuration::DescribeConfiguration, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::describe_configuration::DescribeConfigurationError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                      The unique ID that Amazon MQ generates for the configuration.

                                                                                                                                                                                                      pub fn configuration_id( mut self, diff --git a/sdk/mq/src/operation/describe_configuration_revision/builders.rs b/sdk/mq/src/operation/describe_configuration_revision/builders.rs index 518d0162e185..659effe1c36f 100644 --- a/sdk/mq/src/operation/describe_configuration_revision/builders.rs +++ b/sdk/mq/src/operation/describe_configuration_revision/builders.rs @@ -19,9 +19,9 @@ impl DescribeConfigurationRevisionFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl DescribeConfigurationRevisionFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::describe_configuration_revision::DescribeConfigurationRevision, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::describe_configuration_revision::DescribeConfigurationRevisionError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                      The unique ID that Amazon MQ generates for the configuration.

                                                                                                                                                                                                      pub fn configuration_id( mut self, diff --git a/sdk/mq/src/operation/describe_user/builders.rs b/sdk/mq/src/operation/describe_user/builders.rs index a55c409ae824..b005524f6291 100644 --- a/sdk/mq/src/operation/describe_user/builders.rs +++ b/sdk/mq/src/operation/describe_user/builders.rs @@ -19,9 +19,9 @@ impl DescribeUserFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl DescribeUserFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::describe_user::DescribeUser, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                      The unique ID that Amazon MQ generates for the broker.

                                                                                                                                                                                                      pub fn broker_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.broker_id(input.into()); diff --git a/sdk/mq/src/operation/list_brokers/builders.rs b/sdk/mq/src/operation/list_brokers/builders.rs index 7f8805ecce8e..18640aada7ad 100644 --- a/sdk/mq/src/operation/list_brokers/builders.rs +++ b/sdk/mq/src/operation/list_brokers/builders.rs @@ -19,9 +19,9 @@ impl ListBrokersFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl ListBrokersFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_brokers::ListBrokers, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::list_brokers::paginator::ListBrokersPaginator::send) which returns a `Stream`. diff --git a/sdk/mq/src/operation/list_configuration_revisions/builders.rs b/sdk/mq/src/operation/list_configuration_revisions/builders.rs index ff7507883160..3294bba49371 100644 --- a/sdk/mq/src/operation/list_configuration_revisions/builders.rs +++ b/sdk/mq/src/operation/list_configuration_revisions/builders.rs @@ -19,9 +19,9 @@ impl ListConfigurationRevisionsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl ListConfigurationRevisionsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_configuration_revisions::ListConfigurationRevisions, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::list_configuration_revisions::ListConfigurationRevisionsError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                      The unique ID that Amazon MQ generates for the configuration.

                                                                                                                                                                                                      pub fn configuration_id( mut self, diff --git a/sdk/mq/src/operation/list_configurations/builders.rs b/sdk/mq/src/operation/list_configurations/builders.rs index ac8de556560c..d8dde1de4fd3 100644 --- a/sdk/mq/src/operation/list_configurations/builders.rs +++ b/sdk/mq/src/operation/list_configurations/builders.rs @@ -19,9 +19,9 @@ impl ListConfigurationsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl ListConfigurationsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_configurations::ListConfigurations, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::list_configurations::ListConfigurationsError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                      The maximum number of brokers that Amazon MQ can return per page (20 by default). This value must be an integer from 5 to 100.

                                                                                                                                                                                                      pub fn max_results(mut self, input: i32) -> Self { self.inner = self.inner.max_results(input); diff --git a/sdk/mq/src/operation/list_tags/builders.rs b/sdk/mq/src/operation/list_tags/builders.rs index d7bb52fb6ac8..225b7075456a 100644 --- a/sdk/mq/src/operation/list_tags/builders.rs +++ b/sdk/mq/src/operation/list_tags/builders.rs @@ -19,9 +19,9 @@ impl ListTagsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl ListTagsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_tags::ListTags, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                      The Amazon Resource Name (ARN) of the resource tag.

                                                                                                                                                                                                      pub fn resource_arn(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.resource_arn(input.into()); diff --git a/sdk/mq/src/operation/list_users/builders.rs b/sdk/mq/src/operation/list_users/builders.rs index 15f3f10b671e..1ff00ce5b445 100644 --- a/sdk/mq/src/operation/list_users/builders.rs +++ b/sdk/mq/src/operation/list_users/builders.rs @@ -19,9 +19,9 @@ impl ListUsersFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl ListUsersFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_users::ListUsers, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                      The unique ID that Amazon MQ generates for the broker.

                                                                                                                                                                                                      pub fn broker_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.broker_id(input.into()); diff --git a/sdk/mq/src/operation/reboot_broker/builders.rs b/sdk/mq/src/operation/reboot_broker/builders.rs index 98db71c30f15..d590a81c2af6 100644 --- a/sdk/mq/src/operation/reboot_broker/builders.rs +++ b/sdk/mq/src/operation/reboot_broker/builders.rs @@ -19,9 +19,9 @@ impl RebootBrokerFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl RebootBrokerFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::reboot_broker::RebootBroker, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                      The unique ID that Amazon MQ generates for the broker.

                                                                                                                                                                                                      pub fn broker_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.broker_id(input.into()); diff --git a/sdk/mq/src/operation/update_broker/builders.rs b/sdk/mq/src/operation/update_broker/builders.rs index 608e9d2b3c20..8e1b7deae365 100644 --- a/sdk/mq/src/operation/update_broker/builders.rs +++ b/sdk/mq/src/operation/update_broker/builders.rs @@ -19,9 +19,9 @@ impl UpdateBrokerFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl UpdateBrokerFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::update_broker::UpdateBroker, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                      Optional. The authentication strategy used to secure the broker. The default is SIMPLE.

                                                                                                                                                                                                      pub fn authentication_strategy(mut self, input: crate::types::AuthenticationStrategy) -> Self { self.inner = self.inner.authentication_strategy(input); diff --git a/sdk/mq/src/operation/update_configuration/builders.rs b/sdk/mq/src/operation/update_configuration/builders.rs index 6b2177f8ea09..d964ca3d8fb6 100644 --- a/sdk/mq/src/operation/update_configuration/builders.rs +++ b/sdk/mq/src/operation/update_configuration/builders.rs @@ -19,9 +19,9 @@ impl UpdateConfigurationFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl UpdateConfigurationFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::update_configuration::UpdateConfiguration, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::update_configuration::UpdateConfigurationError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                      The unique ID that Amazon MQ generates for the configuration.

                                                                                                                                                                                                      pub fn configuration_id( mut self, diff --git a/sdk/mq/src/operation/update_user/builders.rs b/sdk/mq/src/operation/update_user/builders.rs index 41c42f574f21..41f62143152a 100644 --- a/sdk/mq/src/operation/update_user/builders.rs +++ b/sdk/mq/src/operation/update_user/builders.rs @@ -19,9 +19,9 @@ impl UpdateUserFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl UpdateUserFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::update_user::UpdateUser, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                      The unique ID that Amazon MQ generates for the broker.

                                                                                                                                                                                                      pub fn broker_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.broker_id(input.into()); diff --git a/sdk/mturk/src/operation/accept_qualification_request/builders.rs b/sdk/mturk/src/operation/accept_qualification_request/builders.rs index 48cee36d52f1..cd2381886ff4 100644 --- a/sdk/mturk/src/operation/accept_qualification_request/builders.rs +++ b/sdk/mturk/src/operation/accept_qualification_request/builders.rs @@ -21,9 +21,9 @@ impl AcceptQualificationRequestFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -85,6 +85,22 @@ impl AcceptQualificationRequestFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::accept_qualification_request::AcceptQualificationRequest, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::accept_qualification_request::AcceptQualificationRequestError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                      The ID of the Qualification request, as returned by the GetQualificationRequests operation.

                                                                                                                                                                                                      pub fn qualification_request_id( mut self, diff --git a/sdk/mturk/src/operation/approve_assignment/builders.rs b/sdk/mturk/src/operation/approve_assignment/builders.rs index b11ef20ee5de..8bc2636b8773 100644 --- a/sdk/mturk/src/operation/approve_assignment/builders.rs +++ b/sdk/mturk/src/operation/approve_assignment/builders.rs @@ -26,9 +26,9 @@ impl ApproveAssignmentFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -90,6 +90,22 @@ impl ApproveAssignmentFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::approve_assignment::ApproveAssignment, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::approve_assignment::ApproveAssignmentError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                      The ID of the assignment. The assignment must correspond to a HIT created by the Requester.

                                                                                                                                                                                                      pub fn assignment_id( mut self, diff --git a/sdk/mturk/src/operation/associate_qualification_with_worker/builders.rs b/sdk/mturk/src/operation/associate_qualification_with_worker/builders.rs index ed2dac446180..cccb510faf5c 100644 --- a/sdk/mturk/src/operation/associate_qualification_with_worker/builders.rs +++ b/sdk/mturk/src/operation/associate_qualification_with_worker/builders.rs @@ -22,9 +22,9 @@ impl AssociateQualificationWithWorkerFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize(self) -> ::std::result::Result< + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware(self) -> ::std::result::Result< crate::client::customize::CustomizableOperation, ::aws_smithy_http::result::SdkError >{ @@ -67,6 +67,15 @@ impl AssociateQualificationWithWorkerFluentBuilder { { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize(self) -> ::std::result::Result< + crate::client::customize::CustomizableOperation, + ::aws_smithy_http::result::SdkError + >{ + self.customize_middleware().await + } ///

                                                                                                                                                                                                      The ID of the Qualification type to use for the assigned Qualification.

                                                                                                                                                                                                      pub fn qualification_type_id( mut self, diff --git a/sdk/mturk/src/operation/create_additional_assignments_for_hit/builders.rs b/sdk/mturk/src/operation/create_additional_assignments_for_hit/builders.rs index c54bccfc06e6..71a936a1376d 100644 --- a/sdk/mturk/src/operation/create_additional_assignments_for_hit/builders.rs +++ b/sdk/mturk/src/operation/create_additional_assignments_for_hit/builders.rs @@ -25,9 +25,9 @@ impl CreateAdditionalAssignmentsForHITFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize(self) -> ::std::result::Result< + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware(self) -> ::std::result::Result< crate::client::customize::CustomizableOperation, ::aws_smithy_http::result::SdkError >{ @@ -70,6 +70,15 @@ impl CreateAdditionalAssignmentsForHITFluentBuilder { { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize(self) -> ::std::result::Result< + crate::client::customize::CustomizableOperation, + ::aws_smithy_http::result::SdkError + >{ + self.customize_middleware().await + } ///

                                                                                                                                                                                                      The ID of the HIT to extend.

                                                                                                                                                                                                      pub fn hit_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.hit_id(input.into()); diff --git a/sdk/mturk/src/operation/create_hit/builders.rs b/sdk/mturk/src/operation/create_hit/builders.rs index c7a41bb3097b..bd84370e8111 100644 --- a/sdk/mturk/src/operation/create_hit/builders.rs +++ b/sdk/mturk/src/operation/create_hit/builders.rs @@ -24,9 +24,9 @@ impl CreateHITFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -82,6 +82,20 @@ impl CreateHITFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::create_hit::CreateHIT, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                      The number of times the HIT can be accepted and completed before the HIT becomes unavailable.

                                                                                                                                                                                                      pub fn max_assignments(mut self, input: i32) -> Self { self.inner = self.inner.max_assignments(input); diff --git a/sdk/mturk/src/operation/create_hit_type/builders.rs b/sdk/mturk/src/operation/create_hit_type/builders.rs index a84e7b62ef71..940af16c1de1 100644 --- a/sdk/mturk/src/operation/create_hit_type/builders.rs +++ b/sdk/mturk/src/operation/create_hit_type/builders.rs @@ -19,9 +19,9 @@ impl CreateHITTypeFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl CreateHITTypeFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::create_hit_type::CreateHITType, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                      The number of seconds after an assignment for the HIT has been submitted, after which the assignment is considered Approved automatically unless the Requester explicitly rejects it.

                                                                                                                                                                                                      pub fn auto_approval_delay_in_seconds(mut self, input: i64) -> Self { self.inner = self.inner.auto_approval_delay_in_seconds(input); diff --git a/sdk/mturk/src/operation/create_hit_with_hit_type/builders.rs b/sdk/mturk/src/operation/create_hit_with_hit_type/builders.rs index aaa3c591d10c..06e290d08dfd 100644 --- a/sdk/mturk/src/operation/create_hit_with_hit_type/builders.rs +++ b/sdk/mturk/src/operation/create_hit_with_hit_type/builders.rs @@ -23,9 +23,9 @@ impl CreateHITWithHITTypeFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -87,6 +87,22 @@ impl CreateHITWithHITTypeFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::create_hit_with_hit_type::CreateHITWithHITType, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::create_hit_with_hit_type::CreateHITWithHITTypeError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                      The HIT type ID you want to create this HIT with.

                                                                                                                                                                                                      pub fn hit_type_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.hit_type_id(input.into()); diff --git a/sdk/mturk/src/operation/create_qualification_type/builders.rs b/sdk/mturk/src/operation/create_qualification_type/builders.rs index ca4f48c68d2c..350833760a38 100644 --- a/sdk/mturk/src/operation/create_qualification_type/builders.rs +++ b/sdk/mturk/src/operation/create_qualification_type/builders.rs @@ -20,9 +20,9 @@ impl CreateQualificationTypeFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -84,6 +84,22 @@ impl CreateQualificationTypeFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::create_qualification_type::CreateQualificationType, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::create_qualification_type::CreateQualificationTypeError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                      The name you give to the Qualification type. The type name is used to represent the Qualification to Workers, and to find the type using a Qualification type search. It must be unique across all of your Qualification types.

                                                                                                                                                                                                      pub fn name(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.name(input.into()); diff --git a/sdk/mturk/src/operation/create_worker_block/builders.rs b/sdk/mturk/src/operation/create_worker_block/builders.rs index 907572ddc5c9..f34432b8e2a9 100644 --- a/sdk/mturk/src/operation/create_worker_block/builders.rs +++ b/sdk/mturk/src/operation/create_worker_block/builders.rs @@ -19,9 +19,9 @@ impl CreateWorkerBlockFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl CreateWorkerBlockFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::create_worker_block::CreateWorkerBlock, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::create_worker_block::CreateWorkerBlockError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                      The ID of the Worker to block.

                                                                                                                                                                                                      pub fn worker_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.worker_id(input.into()); diff --git a/sdk/mturk/src/operation/delete_hit/builders.rs b/sdk/mturk/src/operation/delete_hit/builders.rs index 99899b5950dc..3e6c4fec5358 100644 --- a/sdk/mturk/src/operation/delete_hit/builders.rs +++ b/sdk/mturk/src/operation/delete_hit/builders.rs @@ -27,9 +27,9 @@ impl DeleteHITFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -85,6 +85,20 @@ impl DeleteHITFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::delete_hit::DeleteHIT, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                      The ID of the HIT to be deleted.

                                                                                                                                                                                                      pub fn hit_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.hit_id(input.into()); diff --git a/sdk/mturk/src/operation/delete_qualification_type/builders.rs b/sdk/mturk/src/operation/delete_qualification_type/builders.rs index b62194df90b1..e9ef633ea3b0 100644 --- a/sdk/mturk/src/operation/delete_qualification_type/builders.rs +++ b/sdk/mturk/src/operation/delete_qualification_type/builders.rs @@ -23,9 +23,9 @@ impl DeleteQualificationTypeFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -87,6 +87,22 @@ impl DeleteQualificationTypeFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::delete_qualification_type::DeleteQualificationType, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::delete_qualification_type::DeleteQualificationTypeError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                      The ID of the QualificationType to dispose.

                                                                                                                                                                                                      pub fn qualification_type_id( mut self, diff --git a/sdk/mturk/src/operation/delete_worker_block/builders.rs b/sdk/mturk/src/operation/delete_worker_block/builders.rs index 58a9e728972c..a91725e0bef8 100644 --- a/sdk/mturk/src/operation/delete_worker_block/builders.rs +++ b/sdk/mturk/src/operation/delete_worker_block/builders.rs @@ -19,9 +19,9 @@ impl DeleteWorkerBlockFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl DeleteWorkerBlockFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::delete_worker_block::DeleteWorkerBlock, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::delete_worker_block::DeleteWorkerBlockError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                      The ID of the Worker to unblock.

                                                                                                                                                                                                      pub fn worker_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.worker_id(input.into()); diff --git a/sdk/mturk/src/operation/disassociate_qualification_from_worker/builders.rs b/sdk/mturk/src/operation/disassociate_qualification_from_worker/builders.rs index 3679c1820223..7f4f7ac0a515 100644 --- a/sdk/mturk/src/operation/disassociate_qualification_from_worker/builders.rs +++ b/sdk/mturk/src/operation/disassociate_qualification_from_worker/builders.rs @@ -20,9 +20,9 @@ impl DisassociateQualificationFromWorkerFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize(self) -> ::std::result::Result< + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware(self) -> ::std::result::Result< crate::client::customize::CustomizableOperation, ::aws_smithy_http::result::SdkError >{ @@ -65,6 +65,15 @@ impl DisassociateQualificationFromWorkerFluentBuilder { { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize(self) -> ::std::result::Result< + crate::client::customize::CustomizableOperation, + ::aws_smithy_http::result::SdkError + >{ + self.customize_middleware().await + } ///

                                                                                                                                                                                                      The ID of the Worker who possesses the Qualification to be revoked.

                                                                                                                                                                                                      pub fn worker_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.worker_id(input.into()); diff --git a/sdk/mturk/src/operation/get_account_balance/builders.rs b/sdk/mturk/src/operation/get_account_balance/builders.rs index 5ecfe726af50..7cd712336249 100644 --- a/sdk/mturk/src/operation/get_account_balance/builders.rs +++ b/sdk/mturk/src/operation/get_account_balance/builders.rs @@ -19,9 +19,9 @@ impl GetAccountBalanceFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,4 +83,20 @@ impl GetAccountBalanceFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::get_account_balance::GetAccountBalance, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::get_account_balance::GetAccountBalanceError, + >, + > { + self.customize_middleware().await + } } diff --git a/sdk/mturk/src/operation/get_assignment/builders.rs b/sdk/mturk/src/operation/get_assignment/builders.rs index a988eb155da0..71f310611cbd 100644 --- a/sdk/mturk/src/operation/get_assignment/builders.rs +++ b/sdk/mturk/src/operation/get_assignment/builders.rs @@ -19,9 +19,9 @@ impl GetAssignmentFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl GetAssignmentFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::get_assignment::GetAssignment, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                      The ID of the Assignment to be retrieved.

                                                                                                                                                                                                      pub fn assignment_id( mut self, diff --git a/sdk/mturk/src/operation/get_file_upload_url/builders.rs b/sdk/mturk/src/operation/get_file_upload_url/builders.rs index 437518d17eed..b317e286cef3 100644 --- a/sdk/mturk/src/operation/get_file_upload_url/builders.rs +++ b/sdk/mturk/src/operation/get_file_upload_url/builders.rs @@ -19,9 +19,9 @@ impl GetFileUploadURLFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl GetFileUploadURLFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::get_file_upload_url::GetFileUploadURL, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::get_file_upload_url::GetFileUploadURLError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                      The ID of the assignment that contains the question with a FileUploadAnswer.

                                                                                                                                                                                                      pub fn assignment_id( mut self, diff --git a/sdk/mturk/src/operation/get_hit/builders.rs b/sdk/mturk/src/operation/get_hit/builders.rs index 5fcbbc655efe..707d3a55604f 100644 --- a/sdk/mturk/src/operation/get_hit/builders.rs +++ b/sdk/mturk/src/operation/get_hit/builders.rs @@ -19,9 +19,9 @@ impl GetHITFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl GetHITFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::get_hit::GetHIT, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                      The ID of the HIT to be retrieved.

                                                                                                                                                                                                      pub fn hit_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.hit_id(input.into()); diff --git a/sdk/mturk/src/operation/get_qualification_score/builders.rs b/sdk/mturk/src/operation/get_qualification_score/builders.rs index 81819920c119..2e4ff53ef88f 100644 --- a/sdk/mturk/src/operation/get_qualification_score/builders.rs +++ b/sdk/mturk/src/operation/get_qualification_score/builders.rs @@ -21,9 +21,9 @@ impl GetQualificationScoreFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -85,6 +85,22 @@ impl GetQualificationScoreFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::get_qualification_score::GetQualificationScore, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::get_qualification_score::GetQualificationScoreError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                      The ID of the QualificationType.

                                                                                                                                                                                                      pub fn qualification_type_id( mut self, diff --git a/sdk/mturk/src/operation/get_qualification_type/builders.rs b/sdk/mturk/src/operation/get_qualification_type/builders.rs index 2e0553ba3fad..e97ba9bff8c4 100644 --- a/sdk/mturk/src/operation/get_qualification_type/builders.rs +++ b/sdk/mturk/src/operation/get_qualification_type/builders.rs @@ -19,9 +19,9 @@ impl GetQualificationTypeFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl GetQualificationTypeFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::get_qualification_type::GetQualificationType, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::get_qualification_type::GetQualificationTypeError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                      The ID of the QualificationType.

                                                                                                                                                                                                      pub fn qualification_type_id( mut self, diff --git a/sdk/mturk/src/operation/list_assignments_for_hit/builders.rs b/sdk/mturk/src/operation/list_assignments_for_hit/builders.rs index cf6deb38d788..26fabfc0df37 100644 --- a/sdk/mturk/src/operation/list_assignments_for_hit/builders.rs +++ b/sdk/mturk/src/operation/list_assignments_for_hit/builders.rs @@ -23,9 +23,9 @@ impl ListAssignmentsForHITFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -87,6 +87,22 @@ impl ListAssignmentsForHITFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_assignments_for_hit::ListAssignmentsForHIT, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::list_assignments_for_hit::ListAssignmentsForHITError, + >, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::list_assignments_for_hit::paginator::ListAssignmentsForHitPaginator::send) which returns a `Stream`. diff --git a/sdk/mturk/src/operation/list_bonus_payments/builders.rs b/sdk/mturk/src/operation/list_bonus_payments/builders.rs index 0e4d27e77305..119183f86798 100644 --- a/sdk/mturk/src/operation/list_bonus_payments/builders.rs +++ b/sdk/mturk/src/operation/list_bonus_payments/builders.rs @@ -19,9 +19,9 @@ impl ListBonusPaymentsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl ListBonusPaymentsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_bonus_payments::ListBonusPayments, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::list_bonus_payments::ListBonusPaymentsError, + >, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::list_bonus_payments::paginator::ListBonusPaymentsPaginator::send) which returns a `Stream`. diff --git a/sdk/mturk/src/operation/list_hi_ts/builders.rs b/sdk/mturk/src/operation/list_hi_ts/builders.rs index 1660fdd3f6e8..50debf3ad78b 100644 --- a/sdk/mturk/src/operation/list_hi_ts/builders.rs +++ b/sdk/mturk/src/operation/list_hi_ts/builders.rs @@ -19,9 +19,9 @@ impl ListHITsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl ListHITsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_hi_ts::ListHITs, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::list_hi_ts::paginator::ListHiTsPaginator::send) which returns a `Stream`. diff --git a/sdk/mturk/src/operation/list_hi_ts_for_qualification_type/builders.rs b/sdk/mturk/src/operation/list_hi_ts_for_qualification_type/builders.rs index 2bbbb35c9a80..222e668e5712 100644 --- a/sdk/mturk/src/operation/list_hi_ts_for_qualification_type/builders.rs +++ b/sdk/mturk/src/operation/list_hi_ts_for_qualification_type/builders.rs @@ -19,9 +19,9 @@ impl ListHITsForQualificationTypeFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl ListHITsForQualificationTypeFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_hi_ts_for_qualification_type::ListHITsForQualificationType, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::list_hi_ts_for_qualification_type::ListHITsForQualificationTypeError, + >, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::list_hi_ts_for_qualification_type::paginator::ListHiTsForQualificationTypePaginator::send) which returns a `Stream`. diff --git a/sdk/mturk/src/operation/list_qualification_requests/builders.rs b/sdk/mturk/src/operation/list_qualification_requests/builders.rs index 8217935486bc..7932cf1c3e6c 100644 --- a/sdk/mturk/src/operation/list_qualification_requests/builders.rs +++ b/sdk/mturk/src/operation/list_qualification_requests/builders.rs @@ -19,9 +19,9 @@ impl ListQualificationRequestsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl ListQualificationRequestsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_qualification_requests::ListQualificationRequests, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::list_qualification_requests::ListQualificationRequestsError, + >, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::list_qualification_requests::paginator::ListQualificationRequestsPaginator::send) which returns a `Stream`. diff --git a/sdk/mturk/src/operation/list_qualification_types/builders.rs b/sdk/mturk/src/operation/list_qualification_types/builders.rs index 1432983364a1..e3c7f70f3b0e 100644 --- a/sdk/mturk/src/operation/list_qualification_types/builders.rs +++ b/sdk/mturk/src/operation/list_qualification_types/builders.rs @@ -19,9 +19,9 @@ impl ListQualificationTypesFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl ListQualificationTypesFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_qualification_types::ListQualificationTypes, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::list_qualification_types::ListQualificationTypesError, + >, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::list_qualification_types::paginator::ListQualificationTypesPaginator::send) which returns a `Stream`. diff --git a/sdk/mturk/src/operation/list_review_policy_results_for_hit/builders.rs b/sdk/mturk/src/operation/list_review_policy_results_for_hit/builders.rs index 6e899bdcce65..f51d4162b800 100644 --- a/sdk/mturk/src/operation/list_review_policy_results_for_hit/builders.rs +++ b/sdk/mturk/src/operation/list_review_policy_results_for_hit/builders.rs @@ -19,9 +19,9 @@ impl ListReviewPolicyResultsForHITFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize(self) -> ::std::result::Result< + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware(self) -> ::std::result::Result< crate::client::customize::CustomizableOperation, ::aws_smithy_http::result::SdkError >{ @@ -64,6 +64,15 @@ impl ListReviewPolicyResultsForHITFluentBuilder { { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize(self) -> ::std::result::Result< + crate::client::customize::CustomizableOperation, + ::aws_smithy_http::result::SdkError + >{ + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::list_review_policy_results_for_hit::paginator::ListReviewPolicyResultsForHitPaginator::send) which returns a `Stream`. diff --git a/sdk/mturk/src/operation/list_reviewable_hi_ts/builders.rs b/sdk/mturk/src/operation/list_reviewable_hi_ts/builders.rs index 5ff7a14aa2d9..395543145ff3 100644 --- a/sdk/mturk/src/operation/list_reviewable_hi_ts/builders.rs +++ b/sdk/mturk/src/operation/list_reviewable_hi_ts/builders.rs @@ -19,9 +19,9 @@ impl ListReviewableHITsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl ListReviewableHITsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_reviewable_hi_ts::ListReviewableHITs, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::list_reviewable_hi_ts::ListReviewableHITsError, + >, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::list_reviewable_hi_ts::paginator::ListReviewableHiTsPaginator::send) which returns a `Stream`. diff --git a/sdk/mturk/src/operation/list_worker_blocks/builders.rs b/sdk/mturk/src/operation/list_worker_blocks/builders.rs index f8512b6f6fd3..f84adb19ea35 100644 --- a/sdk/mturk/src/operation/list_worker_blocks/builders.rs +++ b/sdk/mturk/src/operation/list_worker_blocks/builders.rs @@ -19,9 +19,9 @@ impl ListWorkerBlocksFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl ListWorkerBlocksFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_worker_blocks::ListWorkerBlocks, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::list_worker_blocks::ListWorkerBlocksError, + >, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::list_worker_blocks::paginator::ListWorkerBlocksPaginator::send) which returns a `Stream`. diff --git a/sdk/mturk/src/operation/list_workers_with_qualification_type/builders.rs b/sdk/mturk/src/operation/list_workers_with_qualification_type/builders.rs index dc90a7d9bafc..878850c2dbb3 100644 --- a/sdk/mturk/src/operation/list_workers_with_qualification_type/builders.rs +++ b/sdk/mturk/src/operation/list_workers_with_qualification_type/builders.rs @@ -19,9 +19,9 @@ impl ListWorkersWithQualificationTypeFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize(self) -> ::std::result::Result< + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware(self) -> ::std::result::Result< crate::client::customize::CustomizableOperation, ::aws_smithy_http::result::SdkError >{ @@ -64,6 +64,15 @@ impl ListWorkersWithQualificationTypeFluentBuilder { { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize(self) -> ::std::result::Result< + crate::client::customize::CustomizableOperation, + ::aws_smithy_http::result::SdkError + >{ + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::list_workers_with_qualification_type::paginator::ListWorkersWithQualificationTypePaginator::send) which returns a `Stream`. diff --git a/sdk/mturk/src/operation/notify_workers/builders.rs b/sdk/mturk/src/operation/notify_workers/builders.rs index 42b8eda9cb58..bc524f3b0366 100644 --- a/sdk/mturk/src/operation/notify_workers/builders.rs +++ b/sdk/mturk/src/operation/notify_workers/builders.rs @@ -19,9 +19,9 @@ impl NotifyWorkersFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl NotifyWorkersFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::notify_workers::NotifyWorkers, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                      The subject line of the email message to send. Can include up to 200 characters.

                                                                                                                                                                                                      pub fn subject(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.subject(input.into()); diff --git a/sdk/mturk/src/operation/reject_assignment/builders.rs b/sdk/mturk/src/operation/reject_assignment/builders.rs index 29fece4c6198..dc55988dcf59 100644 --- a/sdk/mturk/src/operation/reject_assignment/builders.rs +++ b/sdk/mturk/src/operation/reject_assignment/builders.rs @@ -21,9 +21,9 @@ impl RejectAssignmentFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -85,6 +85,22 @@ impl RejectAssignmentFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::reject_assignment::RejectAssignment, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::reject_assignment::RejectAssignmentError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                      The ID of the assignment. The assignment must correspond to a HIT created by the Requester.

                                                                                                                                                                                                      pub fn assignment_id( mut self, diff --git a/sdk/mturk/src/operation/reject_qualification_request/builders.rs b/sdk/mturk/src/operation/reject_qualification_request/builders.rs index c960c815f565..f877afdae596 100644 --- a/sdk/mturk/src/operation/reject_qualification_request/builders.rs +++ b/sdk/mturk/src/operation/reject_qualification_request/builders.rs @@ -20,9 +20,9 @@ impl RejectQualificationRequestFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -84,6 +84,22 @@ impl RejectQualificationRequestFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::reject_qualification_request::RejectQualificationRequest, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::reject_qualification_request::RejectQualificationRequestError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                      The ID of the Qualification request, as returned by the ListQualificationRequests operation.

                                                                                                                                                                                                      pub fn qualification_request_id( mut self, diff --git a/sdk/mturk/src/operation/send_bonus/builders.rs b/sdk/mturk/src/operation/send_bonus/builders.rs index 4c994b355efc..2a61483a4b3b 100644 --- a/sdk/mturk/src/operation/send_bonus/builders.rs +++ b/sdk/mturk/src/operation/send_bonus/builders.rs @@ -19,9 +19,9 @@ impl SendBonusFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl SendBonusFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::send_bonus::SendBonus, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                      The ID of the Worker being paid the bonus.

                                                                                                                                                                                                      pub fn worker_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.worker_id(input.into()); diff --git a/sdk/mturk/src/operation/send_test_event_notification/builders.rs b/sdk/mturk/src/operation/send_test_event_notification/builders.rs index c02196a2ea32..cbbf9933ba65 100644 --- a/sdk/mturk/src/operation/send_test_event_notification/builders.rs +++ b/sdk/mturk/src/operation/send_test_event_notification/builders.rs @@ -19,9 +19,9 @@ impl SendTestEventNotificationFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl SendTestEventNotificationFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::send_test_event_notification::SendTestEventNotification, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::send_test_event_notification::SendTestEventNotificationError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                      The notification specification to test. This value is identical to the value you would provide to the UpdateNotificationSettings operation when you establish the notification specification for a HIT type.

                                                                                                                                                                                                      pub fn notification(mut self, input: crate::types::NotificationSpecification) -> Self { self.inner = self.inner.notification(input); diff --git a/sdk/mturk/src/operation/update_expiration_for_hit/builders.rs b/sdk/mturk/src/operation/update_expiration_for_hit/builders.rs index 0912d8bbe245..11bbbb508e6d 100644 --- a/sdk/mturk/src/operation/update_expiration_for_hit/builders.rs +++ b/sdk/mturk/src/operation/update_expiration_for_hit/builders.rs @@ -20,9 +20,9 @@ impl UpdateExpirationForHITFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -84,6 +84,22 @@ impl UpdateExpirationForHITFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::update_expiration_for_hit::UpdateExpirationForHIT, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::update_expiration_for_hit::UpdateExpirationForHITError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                      The HIT to update.

                                                                                                                                                                                                      pub fn hit_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.hit_id(input.into()); diff --git a/sdk/mturk/src/operation/update_hit_review_status/builders.rs b/sdk/mturk/src/operation/update_hit_review_status/builders.rs index 4d7a20ef33ec..55d5086b8aa1 100644 --- a/sdk/mturk/src/operation/update_hit_review_status/builders.rs +++ b/sdk/mturk/src/operation/update_hit_review_status/builders.rs @@ -19,9 +19,9 @@ impl UpdateHITReviewStatusFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl UpdateHITReviewStatusFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::update_hit_review_status::UpdateHITReviewStatus, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::update_hit_review_status::UpdateHITReviewStatusError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                      The ID of the HIT to update.

                                                                                                                                                                                                      pub fn hit_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.hit_id(input.into()); diff --git a/sdk/mturk/src/operation/update_hit_type_of_hit/builders.rs b/sdk/mturk/src/operation/update_hit_type_of_hit/builders.rs index 5b4da4704e2b..7580ef3003ed 100644 --- a/sdk/mturk/src/operation/update_hit_type_of_hit/builders.rs +++ b/sdk/mturk/src/operation/update_hit_type_of_hit/builders.rs @@ -19,9 +19,9 @@ impl UpdateHITTypeOfHITFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl UpdateHITTypeOfHITFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::update_hit_type_of_hit::UpdateHITTypeOfHIT, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::update_hit_type_of_hit::UpdateHITTypeOfHITError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                      The HIT to update.

                                                                                                                                                                                                      pub fn hit_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.hit_id(input.into()); diff --git a/sdk/mturk/src/operation/update_notification_settings/builders.rs b/sdk/mturk/src/operation/update_notification_settings/builders.rs index 39eac6c1eca4..86a544cf497c 100644 --- a/sdk/mturk/src/operation/update_notification_settings/builders.rs +++ b/sdk/mturk/src/operation/update_notification_settings/builders.rs @@ -19,9 +19,9 @@ impl UpdateNotificationSettingsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl UpdateNotificationSettingsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::update_notification_settings::UpdateNotificationSettings, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::update_notification_settings::UpdateNotificationSettingsError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                      The ID of the HIT type whose notification specification is being updated.

                                                                                                                                                                                                      pub fn hit_type_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.hit_type_id(input.into()); diff --git a/sdk/mturk/src/operation/update_qualification_type/builders.rs b/sdk/mturk/src/operation/update_qualification_type/builders.rs index 14855a89c63e..c872135a15ee 100644 --- a/sdk/mturk/src/operation/update_qualification_type/builders.rs +++ b/sdk/mturk/src/operation/update_qualification_type/builders.rs @@ -26,9 +26,9 @@ impl UpdateQualificationTypeFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -90,6 +90,22 @@ impl UpdateQualificationTypeFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::update_qualification_type::UpdateQualificationType, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::update_qualification_type::UpdateQualificationTypeError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                      The ID of the Qualification type to update.

                                                                                                                                                                                                      pub fn qualification_type_id( mut self, diff --git a/sdk/mwaa/src/operation/create_cli_token/builders.rs b/sdk/mwaa/src/operation/create_cli_token/builders.rs index 9769af9cb4c5..59a6320986f2 100644 --- a/sdk/mwaa/src/operation/create_cli_token/builders.rs +++ b/sdk/mwaa/src/operation/create_cli_token/builders.rs @@ -19,9 +19,9 @@ impl CreateCliTokenFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl CreateCliTokenFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::create_cli_token::CreateCliToken, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::create_cli_token::CreateCliTokenError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                      The name of the Amazon MWAA environment. For example, MyMWAAEnvironment.

                                                                                                                                                                                                      pub fn name(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.name(input.into()); diff --git a/sdk/mwaa/src/operation/create_environment/builders.rs b/sdk/mwaa/src/operation/create_environment/builders.rs index 1de265204282..c6176ae5f2a2 100644 --- a/sdk/mwaa/src/operation/create_environment/builders.rs +++ b/sdk/mwaa/src/operation/create_environment/builders.rs @@ -19,9 +19,9 @@ impl CreateEnvironmentFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl CreateEnvironmentFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::create_environment::CreateEnvironment, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::create_environment::CreateEnvironmentError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                      The name of the Amazon MWAA environment. For example, MyMWAAEnvironment.

                                                                                                                                                                                                      pub fn name(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.name(input.into()); diff --git a/sdk/mwaa/src/operation/create_web_login_token/builders.rs b/sdk/mwaa/src/operation/create_web_login_token/builders.rs index 07ce2a7b87a0..130200d57a66 100644 --- a/sdk/mwaa/src/operation/create_web_login_token/builders.rs +++ b/sdk/mwaa/src/operation/create_web_login_token/builders.rs @@ -19,9 +19,9 @@ impl CreateWebLoginTokenFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl CreateWebLoginTokenFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::create_web_login_token::CreateWebLoginToken, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::create_web_login_token::CreateWebLoginTokenError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                      The name of the Amazon MWAA environment. For example, MyMWAAEnvironment.

                                                                                                                                                                                                      pub fn name(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.name(input.into()); diff --git a/sdk/mwaa/src/operation/delete_environment/builders.rs b/sdk/mwaa/src/operation/delete_environment/builders.rs index 107b87a330c3..6d97ec6d3693 100644 --- a/sdk/mwaa/src/operation/delete_environment/builders.rs +++ b/sdk/mwaa/src/operation/delete_environment/builders.rs @@ -19,9 +19,9 @@ impl DeleteEnvironmentFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl DeleteEnvironmentFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::delete_environment::DeleteEnvironment, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::delete_environment::DeleteEnvironmentError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                      The name of the Amazon MWAA environment. For example, MyMWAAEnvironment.

                                                                                                                                                                                                      pub fn name(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.name(input.into()); diff --git a/sdk/mwaa/src/operation/get_environment/builders.rs b/sdk/mwaa/src/operation/get_environment/builders.rs index 2fe3e48af677..c0eddc3319e7 100644 --- a/sdk/mwaa/src/operation/get_environment/builders.rs +++ b/sdk/mwaa/src/operation/get_environment/builders.rs @@ -19,9 +19,9 @@ impl GetEnvironmentFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl GetEnvironmentFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::get_environment::GetEnvironment, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                      The name of the Amazon MWAA environment. For example, MyMWAAEnvironment.

                                                                                                                                                                                                      pub fn name(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.name(input.into()); diff --git a/sdk/mwaa/src/operation/list_environments/builders.rs b/sdk/mwaa/src/operation/list_environments/builders.rs index 496b8f48d853..cdfc0bba23b0 100644 --- a/sdk/mwaa/src/operation/list_environments/builders.rs +++ b/sdk/mwaa/src/operation/list_environments/builders.rs @@ -19,9 +19,9 @@ impl ListEnvironmentsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl ListEnvironmentsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_environments::ListEnvironments, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::list_environments::ListEnvironmentsError, + >, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::list_environments::paginator::ListEnvironmentsPaginator::send) which returns a `Stream`. diff --git a/sdk/mwaa/src/operation/list_tags_for_resource/builders.rs b/sdk/mwaa/src/operation/list_tags_for_resource/builders.rs index cca113d81776..e12cc6db4690 100644 --- a/sdk/mwaa/src/operation/list_tags_for_resource/builders.rs +++ b/sdk/mwaa/src/operation/list_tags_for_resource/builders.rs @@ -19,9 +19,9 @@ impl ListTagsForResourceFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl ListTagsForResourceFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_tags_for_resource::ListTagsForResource, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::list_tags_for_resource::ListTagsForResourceError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                      The Amazon Resource Name (ARN) of the Amazon MWAA environment. For example, arn:aws:airflow:us-east-1:123456789012:environment/MyMWAAEnvironment.

                                                                                                                                                                                                      pub fn resource_arn(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.resource_arn(input.into()); diff --git a/sdk/mwaa/src/operation/publish_metrics/builders.rs b/sdk/mwaa/src/operation/publish_metrics/builders.rs index 58476a5fa2ca..c6b1d8b25759 100644 --- a/sdk/mwaa/src/operation/publish_metrics/builders.rs +++ b/sdk/mwaa/src/operation/publish_metrics/builders.rs @@ -19,9 +19,9 @@ impl PublishMetricsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl PublishMetricsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::publish_metrics::PublishMetrics, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                      Internal only. The name of the environment.

                                                                                                                                                                                                      pub fn environment_name( mut self, diff --git a/sdk/mwaa/src/operation/tag_resource/builders.rs b/sdk/mwaa/src/operation/tag_resource/builders.rs index 418fb7f79822..f02094351122 100644 --- a/sdk/mwaa/src/operation/tag_resource/builders.rs +++ b/sdk/mwaa/src/operation/tag_resource/builders.rs @@ -19,9 +19,9 @@ impl TagResourceFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl TagResourceFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::tag_resource::TagResource, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                      The Amazon Resource Name (ARN) of the Amazon MWAA environment. For example, arn:aws:airflow:us-east-1:123456789012:environment/MyMWAAEnvironment.

                                                                                                                                                                                                      pub fn resource_arn(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.resource_arn(input.into()); diff --git a/sdk/mwaa/src/operation/untag_resource/builders.rs b/sdk/mwaa/src/operation/untag_resource/builders.rs index 7f6fac842c0c..774ca595127c 100644 --- a/sdk/mwaa/src/operation/untag_resource/builders.rs +++ b/sdk/mwaa/src/operation/untag_resource/builders.rs @@ -19,9 +19,9 @@ impl UntagResourceFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl UntagResourceFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::untag_resource::UntagResource, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                      The Amazon Resource Name (ARN) of the Amazon MWAA environment. For example, arn:aws:airflow:us-east-1:123456789012:environment/MyMWAAEnvironment.

                                                                                                                                                                                                      pub fn resource_arn(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.resource_arn(input.into()); diff --git a/sdk/mwaa/src/operation/update_environment/builders.rs b/sdk/mwaa/src/operation/update_environment/builders.rs index 02339e6b2d5c..6d596559edd2 100644 --- a/sdk/mwaa/src/operation/update_environment/builders.rs +++ b/sdk/mwaa/src/operation/update_environment/builders.rs @@ -19,9 +19,9 @@ impl UpdateEnvironmentFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl UpdateEnvironmentFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::update_environment::UpdateEnvironment, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::update_environment::UpdateEnvironmentError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                      The name of your Amazon MWAA environment. For example, MyMWAAEnvironment.

                                                                                                                                                                                                      pub fn name(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.name(input.into()); diff --git a/sdk/neptune/src/operation/add_role_to_db_cluster/builders.rs b/sdk/neptune/src/operation/add_role_to_db_cluster/builders.rs index 87ab92968090..588376abf35f 100644 --- a/sdk/neptune/src/operation/add_role_to_db_cluster/builders.rs +++ b/sdk/neptune/src/operation/add_role_to_db_cluster/builders.rs @@ -19,9 +19,9 @@ impl AddRoleToDBClusterFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl AddRoleToDBClusterFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::add_role_to_db_cluster::AddRoleToDBCluster, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::add_role_to_db_cluster::AddRoleToDBClusterError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                      The name of the DB cluster to associate the IAM role with.

                                                                                                                                                                                                      pub fn db_cluster_identifier( mut self, diff --git a/sdk/neptune/src/operation/add_source_identifier_to_subscription/builders.rs b/sdk/neptune/src/operation/add_source_identifier_to_subscription/builders.rs index 872146c99825..d650e713ba6e 100644 --- a/sdk/neptune/src/operation/add_source_identifier_to_subscription/builders.rs +++ b/sdk/neptune/src/operation/add_source_identifier_to_subscription/builders.rs @@ -19,9 +19,9 @@ impl AddSourceIdentifierToSubscriptionFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize(self) -> ::std::result::Result< + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware(self) -> ::std::result::Result< crate::client::customize::CustomizableOperation, ::aws_smithy_http::result::SdkError >{ @@ -64,6 +64,15 @@ impl AddSourceIdentifierToSubscriptionFluentBuilder { { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize(self) -> ::std::result::Result< + crate::client::customize::CustomizableOperation, + ::aws_smithy_http::result::SdkError + >{ + self.customize_middleware().await + } ///

                                                                                                                                                                                                      The name of the event notification subscription you want to add a source identifier to.

                                                                                                                                                                                                      pub fn subscription_name( mut self, diff --git a/sdk/neptune/src/operation/add_tags_to_resource/builders.rs b/sdk/neptune/src/operation/add_tags_to_resource/builders.rs index 7654c834bd08..e7537d96607f 100644 --- a/sdk/neptune/src/operation/add_tags_to_resource/builders.rs +++ b/sdk/neptune/src/operation/add_tags_to_resource/builders.rs @@ -19,9 +19,9 @@ impl AddTagsToResourceFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl AddTagsToResourceFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::add_tags_to_resource::AddTagsToResource, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::add_tags_to_resource::AddTagsToResourceError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                      The Amazon Neptune resource that the tags are added to. This value is an Amazon Resource Name (ARN). For information about creating an ARN, see Constructing an Amazon Resource Name (ARN).

                                                                                                                                                                                                      pub fn resource_name( mut self, diff --git a/sdk/neptune/src/operation/apply_pending_maintenance_action/builders.rs b/sdk/neptune/src/operation/apply_pending_maintenance_action/builders.rs index 936da234990d..97d063ad8b70 100644 --- a/sdk/neptune/src/operation/apply_pending_maintenance_action/builders.rs +++ b/sdk/neptune/src/operation/apply_pending_maintenance_action/builders.rs @@ -19,9 +19,9 @@ impl ApplyPendingMaintenanceActionFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl ApplyPendingMaintenanceActionFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::apply_pending_maintenance_action::ApplyPendingMaintenanceAction, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::apply_pending_maintenance_action::ApplyPendingMaintenanceActionError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                      The Amazon Resource Name (ARN) of the resource that the pending maintenance action applies to. For information about creating an ARN, see Constructing an Amazon Resource Name (ARN).

                                                                                                                                                                                                      pub fn resource_identifier( mut self, diff --git a/sdk/neptune/src/operation/copy_db_cluster_parameter_group/builders.rs b/sdk/neptune/src/operation/copy_db_cluster_parameter_group/builders.rs index b2287ae31774..83d58d8735fe 100644 --- a/sdk/neptune/src/operation/copy_db_cluster_parameter_group/builders.rs +++ b/sdk/neptune/src/operation/copy_db_cluster_parameter_group/builders.rs @@ -19,9 +19,9 @@ impl CopyDBClusterParameterGroupFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl CopyDBClusterParameterGroupFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::copy_db_cluster_parameter_group::CopyDBClusterParameterGroup, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::copy_db_cluster_parameter_group::CopyDBClusterParameterGroupError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                      The identifier or Amazon Resource Name (ARN) for the source DB cluster parameter group. For information about creating an ARN, see Constructing an Amazon Resource Name (ARN).

                                                                                                                                                                                                      ///

                                                                                                                                                                                                      Constraints:

                                                                                                                                                                                                      ///
                                                                                                                                                                                                        diff --git a/sdk/neptune/src/operation/copy_db_cluster_snapshot/builders.rs b/sdk/neptune/src/operation/copy_db_cluster_snapshot/builders.rs index 93aa7131ee6e..df934746dbf4 100644 --- a/sdk/neptune/src/operation/copy_db_cluster_snapshot/builders.rs +++ b/sdk/neptune/src/operation/copy_db_cluster_snapshot/builders.rs @@ -20,9 +20,9 @@ impl CopyDBClusterSnapshotFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -84,6 +84,22 @@ impl CopyDBClusterSnapshotFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::copy_db_cluster_snapshot::CopyDBClusterSnapshot, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::copy_db_cluster_snapshot::CopyDBClusterSnapshotError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                        The identifier of the DB cluster snapshot to copy. This parameter is not case-sensitive.

                                                                                                                                                                                                        ///

                                                                                                                                                                                                        Constraints:

                                                                                                                                                                                                        ///
                                                                                                                                                                                                          diff --git a/sdk/neptune/src/operation/copy_db_parameter_group/builders.rs b/sdk/neptune/src/operation/copy_db_parameter_group/builders.rs index d00fe857617a..2d9716755f55 100644 --- a/sdk/neptune/src/operation/copy_db_parameter_group/builders.rs +++ b/sdk/neptune/src/operation/copy_db_parameter_group/builders.rs @@ -19,9 +19,9 @@ impl CopyDBParameterGroupFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl CopyDBParameterGroupFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::copy_db_parameter_group::CopyDBParameterGroup, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::copy_db_parameter_group::CopyDBParameterGroupError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                          The identifier or ARN for the source DB parameter group. For information about creating an ARN, see Constructing an Amazon Resource Name (ARN).

                                                                                                                                                                                                          ///

                                                                                                                                                                                                          Constraints:

                                                                                                                                                                                                          ///
                                                                                                                                                                                                            diff --git a/sdk/neptune/src/operation/create_db_cluster/builders.rs b/sdk/neptune/src/operation/create_db_cluster/builders.rs index 7cf4bb4d733e..5449739aa8f0 100644 --- a/sdk/neptune/src/operation/create_db_cluster/builders.rs +++ b/sdk/neptune/src/operation/create_db_cluster/builders.rs @@ -21,9 +21,9 @@ impl CreateDBClusterFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -85,6 +85,22 @@ impl CreateDBClusterFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::create_db_cluster::CreateDBCluster, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::create_db_cluster::CreateDBClusterError, + >, + > { + self.customize_middleware().await + } /// Appends an item to `AvailabilityZones`. /// /// To override the contents of this collection use [`set_availability_zones`](Self::set_availability_zones). diff --git a/sdk/neptune/src/operation/create_db_cluster_endpoint/builders.rs b/sdk/neptune/src/operation/create_db_cluster_endpoint/builders.rs index 21a8ebeb953c..cc49131aff0c 100644 --- a/sdk/neptune/src/operation/create_db_cluster_endpoint/builders.rs +++ b/sdk/neptune/src/operation/create_db_cluster_endpoint/builders.rs @@ -20,9 +20,9 @@ impl CreateDBClusterEndpointFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -84,6 +84,22 @@ impl CreateDBClusterEndpointFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::create_db_cluster_endpoint::CreateDBClusterEndpoint, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::create_db_cluster_endpoint::CreateDBClusterEndpointError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                            The DB cluster identifier of the DB cluster associated with the endpoint. This parameter is stored as a lowercase string.

                                                                                                                                                                                                            pub fn db_cluster_identifier( mut self, diff --git a/sdk/neptune/src/operation/create_db_cluster_parameter_group/builders.rs b/sdk/neptune/src/operation/create_db_cluster_parameter_group/builders.rs index 280928b3249d..abab1116ccec 100644 --- a/sdk/neptune/src/operation/create_db_cluster_parameter_group/builders.rs +++ b/sdk/neptune/src/operation/create_db_cluster_parameter_group/builders.rs @@ -23,9 +23,9 @@ impl CreateDBClusterParameterGroupFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -87,6 +87,22 @@ impl CreateDBClusterParameterGroupFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::create_db_cluster_parameter_group::CreateDBClusterParameterGroup, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::create_db_cluster_parameter_group::CreateDBClusterParameterGroupError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                            The name of the DB cluster parameter group.

                                                                                                                                                                                                            ///

                                                                                                                                                                                                            Constraints:

                                                                                                                                                                                                            ///
                                                                                                                                                                                                              diff --git a/sdk/neptune/src/operation/create_db_cluster_snapshot/builders.rs b/sdk/neptune/src/operation/create_db_cluster_snapshot/builders.rs index 3aac7decd5f5..84345a502533 100644 --- a/sdk/neptune/src/operation/create_db_cluster_snapshot/builders.rs +++ b/sdk/neptune/src/operation/create_db_cluster_snapshot/builders.rs @@ -20,9 +20,9 @@ impl CreateDBClusterSnapshotFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -84,6 +84,22 @@ impl CreateDBClusterSnapshotFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::create_db_cluster_snapshot::CreateDBClusterSnapshot, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::create_db_cluster_snapshot::CreateDBClusterSnapshotError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                              The identifier of the DB cluster snapshot. This parameter is stored as a lowercase string.

                                                                                                                                                                                                              ///

                                                                                                                                                                                                              Constraints:

                                                                                                                                                                                                              ///
                                                                                                                                                                                                                diff --git a/sdk/neptune/src/operation/create_db_instance/builders.rs b/sdk/neptune/src/operation/create_db_instance/builders.rs index 255f99e911d7..62a282b58511 100644 --- a/sdk/neptune/src/operation/create_db_instance/builders.rs +++ b/sdk/neptune/src/operation/create_db_instance/builders.rs @@ -19,9 +19,9 @@ impl CreateDBInstanceFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl CreateDBInstanceFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::create_db_instance::CreateDBInstance, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::create_db_instance::CreateDBInstanceError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                Not supported.

                                                                                                                                                                                                                pub fn db_name(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.db_name(input.into()); diff --git a/sdk/neptune/src/operation/create_db_parameter_group/builders.rs b/sdk/neptune/src/operation/create_db_parameter_group/builders.rs index 0a98ef954e7a..85f043a5b3fb 100644 --- a/sdk/neptune/src/operation/create_db_parameter_group/builders.rs +++ b/sdk/neptune/src/operation/create_db_parameter_group/builders.rs @@ -23,9 +23,9 @@ impl CreateDBParameterGroupFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -87,6 +87,22 @@ impl CreateDBParameterGroupFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::create_db_parameter_group::CreateDBParameterGroup, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::create_db_parameter_group::CreateDBParameterGroupError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                The name of the DB parameter group.

                                                                                                                                                                                                                ///

                                                                                                                                                                                                                Constraints:

                                                                                                                                                                                                                ///
                                                                                                                                                                                                                  diff --git a/sdk/neptune/src/operation/create_db_subnet_group/builders.rs b/sdk/neptune/src/operation/create_db_subnet_group/builders.rs index b37c95b91827..97156c9f41c1 100644 --- a/sdk/neptune/src/operation/create_db_subnet_group/builders.rs +++ b/sdk/neptune/src/operation/create_db_subnet_group/builders.rs @@ -19,9 +19,9 @@ impl CreateDBSubnetGroupFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl CreateDBSubnetGroupFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::create_db_subnet_group::CreateDBSubnetGroup, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::create_db_subnet_group::CreateDBSubnetGroupError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                  The name for the DB subnet group. This value is stored as a lowercase string.

                                                                                                                                                                                                                  ///

                                                                                                                                                                                                                  Constraints: Must contain no more than 255 letters, numbers, periods, underscores, spaces, or hyphens. Must not be default.

                                                                                                                                                                                                                  ///

                                                                                                                                                                                                                  Example: mySubnetgroup

                                                                                                                                                                                                                  diff --git a/sdk/neptune/src/operation/create_event_subscription/builders.rs b/sdk/neptune/src/operation/create_event_subscription/builders.rs index f1437fb144ae..7f835434b0ae 100644 --- a/sdk/neptune/src/operation/create_event_subscription/builders.rs +++ b/sdk/neptune/src/operation/create_event_subscription/builders.rs @@ -22,9 +22,9 @@ impl CreateEventSubscriptionFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -86,6 +86,22 @@ impl CreateEventSubscriptionFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::create_event_subscription::CreateEventSubscription, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::create_event_subscription::CreateEventSubscriptionError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                  The name of the subscription.

                                                                                                                                                                                                                  ///

                                                                                                                                                                                                                  Constraints: The name must be less than 255 characters.

                                                                                                                                                                                                                  pub fn subscription_name( diff --git a/sdk/neptune/src/operation/create_global_cluster/builders.rs b/sdk/neptune/src/operation/create_global_cluster/builders.rs index 16bd9373aeaa..eb216c00a42a 100644 --- a/sdk/neptune/src/operation/create_global_cluster/builders.rs +++ b/sdk/neptune/src/operation/create_global_cluster/builders.rs @@ -20,9 +20,9 @@ impl CreateGlobalClusterFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -84,6 +84,22 @@ impl CreateGlobalClusterFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::create_global_cluster::CreateGlobalCluster, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::create_global_cluster::CreateGlobalClusterError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                  The cluster identifier of the new global database cluster.

                                                                                                                                                                                                                  pub fn global_cluster_identifier( mut self, diff --git a/sdk/neptune/src/operation/delete_db_cluster/builders.rs b/sdk/neptune/src/operation/delete_db_cluster/builders.rs index cee537e2055a..89d536c60890 100644 --- a/sdk/neptune/src/operation/delete_db_cluster/builders.rs +++ b/sdk/neptune/src/operation/delete_db_cluster/builders.rs @@ -20,9 +20,9 @@ impl DeleteDBClusterFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -84,6 +84,22 @@ impl DeleteDBClusterFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::delete_db_cluster::DeleteDBCluster, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::delete_db_cluster::DeleteDBClusterError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                  The DB cluster identifier for the DB cluster to be deleted. This parameter isn't case-sensitive.

                                                                                                                                                                                                                  ///

                                                                                                                                                                                                                  Constraints:

                                                                                                                                                                                                                  ///
                                                                                                                                                                                                                    diff --git a/sdk/neptune/src/operation/delete_db_cluster_endpoint/builders.rs b/sdk/neptune/src/operation/delete_db_cluster_endpoint/builders.rs index 33051bcef085..b8cf3862db76 100644 --- a/sdk/neptune/src/operation/delete_db_cluster_endpoint/builders.rs +++ b/sdk/neptune/src/operation/delete_db_cluster_endpoint/builders.rs @@ -20,9 +20,9 @@ impl DeleteDBClusterEndpointFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -84,6 +84,22 @@ impl DeleteDBClusterEndpointFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::delete_db_cluster_endpoint::DeleteDBClusterEndpoint, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::delete_db_cluster_endpoint::DeleteDBClusterEndpointError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                    The identifier associated with the custom endpoint. This parameter is stored as a lowercase string.

                                                                                                                                                                                                                    pub fn db_cluster_endpoint_identifier( mut self, diff --git a/sdk/neptune/src/operation/delete_db_cluster_parameter_group/builders.rs b/sdk/neptune/src/operation/delete_db_cluster_parameter_group/builders.rs index c10243350890..6db13635b3eb 100644 --- a/sdk/neptune/src/operation/delete_db_cluster_parameter_group/builders.rs +++ b/sdk/neptune/src/operation/delete_db_cluster_parameter_group/builders.rs @@ -19,9 +19,9 @@ impl DeleteDBClusterParameterGroupFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl DeleteDBClusterParameterGroupFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::delete_db_cluster_parameter_group::DeleteDBClusterParameterGroup, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::delete_db_cluster_parameter_group::DeleteDBClusterParameterGroupError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                    The name of the DB cluster parameter group.

                                                                                                                                                                                                                    ///

                                                                                                                                                                                                                    Constraints:

                                                                                                                                                                                                                    ///
                                                                                                                                                                                                                      diff --git a/sdk/neptune/src/operation/delete_db_cluster_snapshot/builders.rs b/sdk/neptune/src/operation/delete_db_cluster_snapshot/builders.rs index b67cb1268de4..d9d3cb2f61e2 100644 --- a/sdk/neptune/src/operation/delete_db_cluster_snapshot/builders.rs +++ b/sdk/neptune/src/operation/delete_db_cluster_snapshot/builders.rs @@ -22,9 +22,9 @@ impl DeleteDBClusterSnapshotFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -86,6 +86,22 @@ impl DeleteDBClusterSnapshotFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::delete_db_cluster_snapshot::DeleteDBClusterSnapshot, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::delete_db_cluster_snapshot::DeleteDBClusterSnapshotError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                      The identifier of the DB cluster snapshot to delete.

                                                                                                                                                                                                                      ///

                                                                                                                                                                                                                      Constraints: Must be the name of an existing DB cluster snapshot in the available state.

                                                                                                                                                                                                                      pub fn db_cluster_snapshot_identifier( diff --git a/sdk/neptune/src/operation/delete_db_instance/builders.rs b/sdk/neptune/src/operation/delete_db_instance/builders.rs index 3f6cb43bf897..6c7768dd47e9 100644 --- a/sdk/neptune/src/operation/delete_db_instance/builders.rs +++ b/sdk/neptune/src/operation/delete_db_instance/builders.rs @@ -22,9 +22,9 @@ impl DeleteDBInstanceFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -86,6 +86,22 @@ impl DeleteDBInstanceFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::delete_db_instance::DeleteDBInstance, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::delete_db_instance::DeleteDBInstanceError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                      The DB instance identifier for the DB instance to be deleted. This parameter isn't case-sensitive.

                                                                                                                                                                                                                      ///

                                                                                                                                                                                                                      Constraints:

                                                                                                                                                                                                                      ///
                                                                                                                                                                                                                        diff --git a/sdk/neptune/src/operation/delete_db_parameter_group/builders.rs b/sdk/neptune/src/operation/delete_db_parameter_group/builders.rs index ce62b98cd6c2..53595ab77895 100644 --- a/sdk/neptune/src/operation/delete_db_parameter_group/builders.rs +++ b/sdk/neptune/src/operation/delete_db_parameter_group/builders.rs @@ -20,9 +20,9 @@ impl DeleteDBParameterGroupFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -84,6 +84,22 @@ impl DeleteDBParameterGroupFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::delete_db_parameter_group::DeleteDBParameterGroup, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::delete_db_parameter_group::DeleteDBParameterGroupError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                        The name of the DB parameter group.

                                                                                                                                                                                                                        ///

                                                                                                                                                                                                                        Constraints:

                                                                                                                                                                                                                        ///
                                                                                                                                                                                                                          diff --git a/sdk/neptune/src/operation/delete_db_subnet_group/builders.rs b/sdk/neptune/src/operation/delete_db_subnet_group/builders.rs index 0b42a01adaf9..e58dde6e4b89 100644 --- a/sdk/neptune/src/operation/delete_db_subnet_group/builders.rs +++ b/sdk/neptune/src/operation/delete_db_subnet_group/builders.rs @@ -21,9 +21,9 @@ impl DeleteDBSubnetGroupFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -85,6 +85,22 @@ impl DeleteDBSubnetGroupFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::delete_db_subnet_group::DeleteDBSubnetGroup, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::delete_db_subnet_group::DeleteDBSubnetGroupError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                          The name of the database subnet group to delete.

                                                                                                                                                                                                                          ///

                                                                                                                                                                                                                          You can't delete the default subnet group.

                                                                                                                                                                                                                          ///
                                                                                                                                                                                                                          diff --git a/sdk/neptune/src/operation/delete_event_subscription/builders.rs b/sdk/neptune/src/operation/delete_event_subscription/builders.rs index 0714731c969d..90cd58b7c09d 100644 --- a/sdk/neptune/src/operation/delete_event_subscription/builders.rs +++ b/sdk/neptune/src/operation/delete_event_subscription/builders.rs @@ -20,9 +20,9 @@ impl DeleteEventSubscriptionFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -84,6 +84,22 @@ impl DeleteEventSubscriptionFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::delete_event_subscription::DeleteEventSubscription, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::delete_event_subscription::DeleteEventSubscriptionError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                          The name of the event notification subscription you want to delete.

                                                                                                                                                                                                                          pub fn subscription_name( mut self, diff --git a/sdk/neptune/src/operation/delete_global_cluster/builders.rs b/sdk/neptune/src/operation/delete_global_cluster/builders.rs index 0816035a69b7..d4a523300ceb 100644 --- a/sdk/neptune/src/operation/delete_global_cluster/builders.rs +++ b/sdk/neptune/src/operation/delete_global_cluster/builders.rs @@ -19,9 +19,9 @@ impl DeleteGlobalClusterFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl DeleteGlobalClusterFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::delete_global_cluster::DeleteGlobalCluster, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::delete_global_cluster::DeleteGlobalClusterError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                          The cluster identifier of the global database cluster being deleted.

                                                                                                                                                                                                                          pub fn global_cluster_identifier( mut self, diff --git a/sdk/neptune/src/operation/describe_db_cluster_endpoints/builders.rs b/sdk/neptune/src/operation/describe_db_cluster_endpoints/builders.rs index 85c1e0616b77..d7ce4f9fe313 100644 --- a/sdk/neptune/src/operation/describe_db_cluster_endpoints/builders.rs +++ b/sdk/neptune/src/operation/describe_db_cluster_endpoints/builders.rs @@ -21,9 +21,9 @@ impl DescribeDBClusterEndpointsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -85,6 +85,22 @@ impl DescribeDBClusterEndpointsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::describe_db_cluster_endpoints::DescribeDBClusterEndpoints, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::describe_db_cluster_endpoints::DescribeDBClusterEndpointsError, + >, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::describe_db_cluster_endpoints::paginator::DescribeDbClusterEndpointsPaginator::send) which returns a `Stream`. diff --git a/sdk/neptune/src/operation/describe_db_cluster_parameter_groups/builders.rs b/sdk/neptune/src/operation/describe_db_cluster_parameter_groups/builders.rs index e4e1c2d08585..7cfb68494c37 100644 --- a/sdk/neptune/src/operation/describe_db_cluster_parameter_groups/builders.rs +++ b/sdk/neptune/src/operation/describe_db_cluster_parameter_groups/builders.rs @@ -19,9 +19,9 @@ impl DescribeDBClusterParameterGroupsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize(self) -> ::std::result::Result< + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware(self) -> ::std::result::Result< crate::client::customize::CustomizableOperation, ::aws_smithy_http::result::SdkError >{ @@ -64,6 +64,15 @@ impl DescribeDBClusterParameterGroupsFluentBuilder { { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize(self) -> ::std::result::Result< + crate::client::customize::CustomizableOperation, + ::aws_smithy_http::result::SdkError + >{ + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::describe_db_cluster_parameter_groups::paginator::DescribeDbClusterParameterGroupsPaginator::send) which returns a `Stream`. diff --git a/sdk/neptune/src/operation/describe_db_cluster_parameters/builders.rs b/sdk/neptune/src/operation/describe_db_cluster_parameters/builders.rs index 2280d705e1e0..334b0036ef2a 100644 --- a/sdk/neptune/src/operation/describe_db_cluster_parameters/builders.rs +++ b/sdk/neptune/src/operation/describe_db_cluster_parameters/builders.rs @@ -19,9 +19,9 @@ impl DescribeDBClusterParametersFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl DescribeDBClusterParametersFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::describe_db_cluster_parameters::DescribeDBClusterParameters, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::describe_db_cluster_parameters::DescribeDBClusterParametersError, + >, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::describe_db_cluster_parameters::paginator::DescribeDbClusterParametersPaginator::send) which returns a `Stream`. diff --git a/sdk/neptune/src/operation/describe_db_cluster_snapshot_attributes/builders.rs b/sdk/neptune/src/operation/describe_db_cluster_snapshot_attributes/builders.rs index 4b4268a7f385..b80df3c221d8 100644 --- a/sdk/neptune/src/operation/describe_db_cluster_snapshot_attributes/builders.rs +++ b/sdk/neptune/src/operation/describe_db_cluster_snapshot_attributes/builders.rs @@ -21,9 +21,9 @@ impl DescribeDBClusterSnapshotAttributesFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize(self) -> ::std::result::Result< + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware(self) -> ::std::result::Result< crate::client::customize::CustomizableOperation, ::aws_smithy_http::result::SdkError >{ @@ -66,6 +66,15 @@ impl DescribeDBClusterSnapshotAttributesFluentBuilder { { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize(self) -> ::std::result::Result< + crate::client::customize::CustomizableOperation, + ::aws_smithy_http::result::SdkError + >{ + self.customize_middleware().await + } ///

                                                                                                                                                                                                                          The identifier for the DB cluster snapshot to describe the attributes for.

                                                                                                                                                                                                                          pub fn db_cluster_snapshot_identifier( mut self, diff --git a/sdk/neptune/src/operation/describe_db_cluster_snapshots/builders.rs b/sdk/neptune/src/operation/describe_db_cluster_snapshots/builders.rs index 4121d22dc04d..ad72089d9d81 100644 --- a/sdk/neptune/src/operation/describe_db_cluster_snapshots/builders.rs +++ b/sdk/neptune/src/operation/describe_db_cluster_snapshots/builders.rs @@ -19,9 +19,9 @@ impl DescribeDBClusterSnapshotsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl DescribeDBClusterSnapshotsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::describe_db_cluster_snapshots::DescribeDBClusterSnapshots, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::describe_db_cluster_snapshots::DescribeDBClusterSnapshotsError, + >, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::describe_db_cluster_snapshots::paginator::DescribeDbClusterSnapshotsPaginator::send) which returns a `Stream`. diff --git a/sdk/neptune/src/operation/describe_db_clusters/builders.rs b/sdk/neptune/src/operation/describe_db_clusters/builders.rs index e32b65492bf2..7f4a6caa84f8 100644 --- a/sdk/neptune/src/operation/describe_db_clusters/builders.rs +++ b/sdk/neptune/src/operation/describe_db_clusters/builders.rs @@ -21,9 +21,9 @@ impl DescribeDBClustersFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -85,6 +85,22 @@ impl DescribeDBClustersFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::describe_db_clusters::DescribeDBClusters, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::describe_db_clusters::DescribeDBClustersError, + >, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::describe_db_clusters::paginator::DescribeDbClustersPaginator::send) which returns a `Stream`. diff --git a/sdk/neptune/src/operation/describe_db_engine_versions/builders.rs b/sdk/neptune/src/operation/describe_db_engine_versions/builders.rs index a0bf2ae6049e..f7ae1243dd3b 100644 --- a/sdk/neptune/src/operation/describe_db_engine_versions/builders.rs +++ b/sdk/neptune/src/operation/describe_db_engine_versions/builders.rs @@ -19,9 +19,9 @@ impl DescribeDBEngineVersionsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl DescribeDBEngineVersionsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::describe_db_engine_versions::DescribeDBEngineVersions, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::describe_db_engine_versions::DescribeDBEngineVersionsError, + >, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::describe_db_engine_versions::paginator::DescribeDbEngineVersionsPaginator::send) which returns a `Stream`. diff --git a/sdk/neptune/src/operation/describe_db_instances/builders.rs b/sdk/neptune/src/operation/describe_db_instances/builders.rs index 4f66c81de58a..82b2827bd19e 100644 --- a/sdk/neptune/src/operation/describe_db_instances/builders.rs +++ b/sdk/neptune/src/operation/describe_db_instances/builders.rs @@ -21,9 +21,9 @@ impl DescribeDBInstancesFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -85,6 +85,22 @@ impl DescribeDBInstancesFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::describe_db_instances::DescribeDBInstances, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::describe_db_instances::DescribeDBInstancesError, + >, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::describe_db_instances::paginator::DescribeDbInstancesPaginator::send) which returns a `Stream`. diff --git a/sdk/neptune/src/operation/describe_db_parameter_groups/builders.rs b/sdk/neptune/src/operation/describe_db_parameter_groups/builders.rs index 8021ca5d5a34..9febead3fee9 100644 --- a/sdk/neptune/src/operation/describe_db_parameter_groups/builders.rs +++ b/sdk/neptune/src/operation/describe_db_parameter_groups/builders.rs @@ -19,9 +19,9 @@ impl DescribeDBParameterGroupsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl DescribeDBParameterGroupsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::describe_db_parameter_groups::DescribeDBParameterGroups, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::describe_db_parameter_groups::DescribeDBParameterGroupsError, + >, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::describe_db_parameter_groups::paginator::DescribeDbParameterGroupsPaginator::send) which returns a `Stream`. diff --git a/sdk/neptune/src/operation/describe_db_parameters/builders.rs b/sdk/neptune/src/operation/describe_db_parameters/builders.rs index 4fc51b0126d8..bd1a3480c645 100644 --- a/sdk/neptune/src/operation/describe_db_parameters/builders.rs +++ b/sdk/neptune/src/operation/describe_db_parameters/builders.rs @@ -19,9 +19,9 @@ impl DescribeDBParametersFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl DescribeDBParametersFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::describe_db_parameters::DescribeDBParameters, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::describe_db_parameters::DescribeDBParametersError, + >, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::describe_db_parameters::paginator::DescribeDbParametersPaginator::send) which returns a `Stream`. diff --git a/sdk/neptune/src/operation/describe_db_subnet_groups/builders.rs b/sdk/neptune/src/operation/describe_db_subnet_groups/builders.rs index 56e1a1d0b0be..957f7303f0ad 100644 --- a/sdk/neptune/src/operation/describe_db_subnet_groups/builders.rs +++ b/sdk/neptune/src/operation/describe_db_subnet_groups/builders.rs @@ -21,9 +21,9 @@ impl DescribeDBSubnetGroupsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -85,6 +85,22 @@ impl DescribeDBSubnetGroupsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::describe_db_subnet_groups::DescribeDBSubnetGroups, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::describe_db_subnet_groups::DescribeDBSubnetGroupsError, + >, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::describe_db_subnet_groups::paginator::DescribeDbSubnetGroupsPaginator::send) which returns a `Stream`. diff --git a/sdk/neptune/src/operation/describe_engine_default_cluster_parameters/builders.rs b/sdk/neptune/src/operation/describe_engine_default_cluster_parameters/builders.rs index 2bf00f264e7b..4a052e1e859a 100644 --- a/sdk/neptune/src/operation/describe_engine_default_cluster_parameters/builders.rs +++ b/sdk/neptune/src/operation/describe_engine_default_cluster_parameters/builders.rs @@ -19,9 +19,9 @@ impl DescribeEngineDefaultClusterParametersFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize(self) -> ::std::result::Result< + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware(self) -> ::std::result::Result< crate::client::customize::CustomizableOperation, ::aws_smithy_http::result::SdkError >{ @@ -64,6 +64,15 @@ impl DescribeEngineDefaultClusterParametersFluentBuilder { { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize(self) -> ::std::result::Result< + crate::client::customize::CustomizableOperation, + ::aws_smithy_http::result::SdkError + >{ + self.customize_middleware().await + } ///

                                                                                                                                                                                                                          The name of the DB cluster parameter group family to return engine parameter information for.

                                                                                                                                                                                                                          pub fn db_parameter_group_family( mut self, diff --git a/sdk/neptune/src/operation/describe_engine_default_parameters/builders.rs b/sdk/neptune/src/operation/describe_engine_default_parameters/builders.rs index 8ed7017d4f68..2269aeccf023 100644 --- a/sdk/neptune/src/operation/describe_engine_default_parameters/builders.rs +++ b/sdk/neptune/src/operation/describe_engine_default_parameters/builders.rs @@ -19,9 +19,9 @@ impl DescribeEngineDefaultParametersFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize(self) -> ::std::result::Result< + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware(self) -> ::std::result::Result< crate::client::customize::CustomizableOperation, ::aws_smithy_http::result::SdkError >{ @@ -64,6 +64,15 @@ impl DescribeEngineDefaultParametersFluentBuilder { { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize(self) -> ::std::result::Result< + crate::client::customize::CustomizableOperation, + ::aws_smithy_http::result::SdkError + >{ + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::describe_engine_default_parameters::paginator::DescribeEngineDefaultParametersPaginator::send) which returns a `Stream`. diff --git a/sdk/neptune/src/operation/describe_event_categories/builders.rs b/sdk/neptune/src/operation/describe_event_categories/builders.rs index 83080d6f7cac..d87054460726 100644 --- a/sdk/neptune/src/operation/describe_event_categories/builders.rs +++ b/sdk/neptune/src/operation/describe_event_categories/builders.rs @@ -20,9 +20,9 @@ impl DescribeEventCategoriesFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -84,6 +84,22 @@ impl DescribeEventCategoriesFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::describe_event_categories::DescribeEventCategories, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::describe_event_categories::DescribeEventCategoriesError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                          The type of source that is generating the events.

                                                                                                                                                                                                                          ///

                                                                                                                                                                                                                          Valid values: db-instance | db-parameter-group | db-security-group | db-snapshot

                                                                                                                                                                                                                          pub fn source_type(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { diff --git a/sdk/neptune/src/operation/describe_event_subscriptions/builders.rs b/sdk/neptune/src/operation/describe_event_subscriptions/builders.rs index 7e3f7510e3b2..fbcee3e38688 100644 --- a/sdk/neptune/src/operation/describe_event_subscriptions/builders.rs +++ b/sdk/neptune/src/operation/describe_event_subscriptions/builders.rs @@ -20,9 +20,9 @@ impl DescribeEventSubscriptionsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -84,6 +84,22 @@ impl DescribeEventSubscriptionsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::describe_event_subscriptions::DescribeEventSubscriptions, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::describe_event_subscriptions::DescribeEventSubscriptionsError, + >, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::describe_event_subscriptions::paginator::DescribeEventSubscriptionsPaginator::send) which returns a `Stream`. diff --git a/sdk/neptune/src/operation/describe_events/builders.rs b/sdk/neptune/src/operation/describe_events/builders.rs index b3d6dfa7ee3d..2e4687c3c462 100644 --- a/sdk/neptune/src/operation/describe_events/builders.rs +++ b/sdk/neptune/src/operation/describe_events/builders.rs @@ -19,9 +19,9 @@ impl DescribeEventsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl DescribeEventsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::describe_events::DescribeEvents, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::describe_events::paginator::DescribeEventsPaginator::send) which returns a `Stream`. diff --git a/sdk/neptune/src/operation/describe_global_clusters/builders.rs b/sdk/neptune/src/operation/describe_global_clusters/builders.rs index a764071d89c8..a3dcfd59295b 100644 --- a/sdk/neptune/src/operation/describe_global_clusters/builders.rs +++ b/sdk/neptune/src/operation/describe_global_clusters/builders.rs @@ -19,9 +19,9 @@ impl DescribeGlobalClustersFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl DescribeGlobalClustersFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::describe_global_clusters::DescribeGlobalClusters, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::describe_global_clusters::DescribeGlobalClustersError, + >, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::describe_global_clusters::paginator::DescribeGlobalClustersPaginator::send) which returns a `Stream`. diff --git a/sdk/neptune/src/operation/describe_orderable_db_instance_options/builders.rs b/sdk/neptune/src/operation/describe_orderable_db_instance_options/builders.rs index a33f356dbf6d..2024299c309a 100644 --- a/sdk/neptune/src/operation/describe_orderable_db_instance_options/builders.rs +++ b/sdk/neptune/src/operation/describe_orderable_db_instance_options/builders.rs @@ -19,9 +19,9 @@ impl DescribeOrderableDBInstanceOptionsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize(self) -> ::std::result::Result< + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware(self) -> ::std::result::Result< crate::client::customize::CustomizableOperation, ::aws_smithy_http::result::SdkError >{ @@ -64,6 +64,15 @@ impl DescribeOrderableDBInstanceOptionsFluentBuilder { { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize(self) -> ::std::result::Result< + crate::client::customize::CustomizableOperation, + ::aws_smithy_http::result::SdkError + >{ + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::describe_orderable_db_instance_options::paginator::DescribeOrderableDbInstanceOptionsPaginator::send) which returns a `Stream`. diff --git a/sdk/neptune/src/operation/describe_pending_maintenance_actions/builders.rs b/sdk/neptune/src/operation/describe_pending_maintenance_actions/builders.rs index 60b65298fb54..6f0423ad903b 100644 --- a/sdk/neptune/src/operation/describe_pending_maintenance_actions/builders.rs +++ b/sdk/neptune/src/operation/describe_pending_maintenance_actions/builders.rs @@ -19,9 +19,9 @@ impl DescribePendingMaintenanceActionsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize(self) -> ::std::result::Result< + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware(self) -> ::std::result::Result< crate::client::customize::CustomizableOperation, ::aws_smithy_http::result::SdkError >{ @@ -64,6 +64,15 @@ impl DescribePendingMaintenanceActionsFluentBuilder { { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize(self) -> ::std::result::Result< + crate::client::customize::CustomizableOperation, + ::aws_smithy_http::result::SdkError + >{ + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::describe_pending_maintenance_actions::paginator::DescribePendingMaintenanceActionsPaginator::send) which returns a `Stream`. diff --git a/sdk/neptune/src/operation/describe_valid_db_instance_modifications/builders.rs b/sdk/neptune/src/operation/describe_valid_db_instance_modifications/builders.rs index aba8dfb1efde..04807498dfc4 100644 --- a/sdk/neptune/src/operation/describe_valid_db_instance_modifications/builders.rs +++ b/sdk/neptune/src/operation/describe_valid_db_instance_modifications/builders.rs @@ -19,9 +19,9 @@ impl DescribeValidDBInstanceModificationsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize(self) -> ::std::result::Result< + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware(self) -> ::std::result::Result< crate::client::customize::CustomizableOperation, ::aws_smithy_http::result::SdkError >{ @@ -64,6 +64,15 @@ impl DescribeValidDBInstanceModificationsFluentBuilder { { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize(self) -> ::std::result::Result< + crate::client::customize::CustomizableOperation, + ::aws_smithy_http::result::SdkError + >{ + self.customize_middleware().await + } ///

                                                                                                                                                                                                                          The customer identifier or the ARN of your DB instance.

                                                                                                                                                                                                                          pub fn db_instance_identifier( mut self, diff --git a/sdk/neptune/src/operation/failover_db_cluster/builders.rs b/sdk/neptune/src/operation/failover_db_cluster/builders.rs index a31e550e021e..161161e3eef9 100644 --- a/sdk/neptune/src/operation/failover_db_cluster/builders.rs +++ b/sdk/neptune/src/operation/failover_db_cluster/builders.rs @@ -21,9 +21,9 @@ impl FailoverDBClusterFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -85,6 +85,22 @@ impl FailoverDBClusterFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::failover_db_cluster::FailoverDBCluster, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::failover_db_cluster::FailoverDBClusterError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                          A DB cluster identifier to force a failover for. This parameter is not case-sensitive.

                                                                                                                                                                                                                          ///

                                                                                                                                                                                                                          Constraints:

                                                                                                                                                                                                                          ///
                                                                                                                                                                                                                            diff --git a/sdk/neptune/src/operation/failover_global_cluster/builders.rs b/sdk/neptune/src/operation/failover_global_cluster/builders.rs index b7bae1c68271..a6aaf70624dc 100644 --- a/sdk/neptune/src/operation/failover_global_cluster/builders.rs +++ b/sdk/neptune/src/operation/failover_global_cluster/builders.rs @@ -22,9 +22,9 @@ impl FailoverGlobalClusterFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -86,6 +86,22 @@ impl FailoverGlobalClusterFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::failover_global_cluster::FailoverGlobalCluster, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::failover_global_cluster::FailoverGlobalClusterError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                            Identifier of the Neptune global database that should be failed over. The identifier is the unique key assigned by the user when the Neptune global database was created. In other words, it's the name of the global database that you want to fail over.

                                                                                                                                                                                                                            ///

                                                                                                                                                                                                                            Constraints: Must match the identifier of an existing Neptune global database.

                                                                                                                                                                                                                            pub fn global_cluster_identifier( diff --git a/sdk/neptune/src/operation/list_tags_for_resource/builders.rs b/sdk/neptune/src/operation/list_tags_for_resource/builders.rs index eb82ea2f82a3..756165242aea 100644 --- a/sdk/neptune/src/operation/list_tags_for_resource/builders.rs +++ b/sdk/neptune/src/operation/list_tags_for_resource/builders.rs @@ -19,9 +19,9 @@ impl ListTagsForResourceFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl ListTagsForResourceFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_tags_for_resource::ListTagsForResource, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::list_tags_for_resource::ListTagsForResourceError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                            The Amazon Neptune resource with tags to be listed. This value is an Amazon Resource Name (ARN). For information about creating an ARN, see Constructing an Amazon Resource Name (ARN).

                                                                                                                                                                                                                            pub fn resource_name( mut self, diff --git a/sdk/neptune/src/operation/modify_db_cluster/builders.rs b/sdk/neptune/src/operation/modify_db_cluster/builders.rs index 29f8a0f89729..ce73cd1b45c0 100644 --- a/sdk/neptune/src/operation/modify_db_cluster/builders.rs +++ b/sdk/neptune/src/operation/modify_db_cluster/builders.rs @@ -19,9 +19,9 @@ impl ModifyDBClusterFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl ModifyDBClusterFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::modify_db_cluster::ModifyDBCluster, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::modify_db_cluster::ModifyDBClusterError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                            The DB cluster identifier for the cluster being modified. This parameter is not case-sensitive.

                                                                                                                                                                                                                            ///

                                                                                                                                                                                                                            Constraints:

                                                                                                                                                                                                                            ///
                                                                                                                                                                                                                              diff --git a/sdk/neptune/src/operation/modify_db_cluster_endpoint/builders.rs b/sdk/neptune/src/operation/modify_db_cluster_endpoint/builders.rs index 9a3cbd6c37b3..0bd4f013d194 100644 --- a/sdk/neptune/src/operation/modify_db_cluster_endpoint/builders.rs +++ b/sdk/neptune/src/operation/modify_db_cluster_endpoint/builders.rs @@ -20,9 +20,9 @@ impl ModifyDBClusterEndpointFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -84,6 +84,22 @@ impl ModifyDBClusterEndpointFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::modify_db_cluster_endpoint::ModifyDBClusterEndpoint, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::modify_db_cluster_endpoint::ModifyDBClusterEndpointError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                              The identifier of the endpoint to modify. This parameter is stored as a lowercase string.

                                                                                                                                                                                                                              pub fn db_cluster_endpoint_identifier( mut self, diff --git a/sdk/neptune/src/operation/modify_db_cluster_parameter_group/builders.rs b/sdk/neptune/src/operation/modify_db_cluster_parameter_group/builders.rs index 6a1db4264830..86673031b0d1 100644 --- a/sdk/neptune/src/operation/modify_db_cluster_parameter_group/builders.rs +++ b/sdk/neptune/src/operation/modify_db_cluster_parameter_group/builders.rs @@ -23,9 +23,9 @@ impl ModifyDBClusterParameterGroupFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -87,6 +87,22 @@ impl ModifyDBClusterParameterGroupFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::modify_db_cluster_parameter_group::ModifyDBClusterParameterGroup, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::modify_db_cluster_parameter_group::ModifyDBClusterParameterGroupError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                              The name of the DB cluster parameter group to modify.

                                                                                                                                                                                                                              pub fn db_cluster_parameter_group_name( mut self, diff --git a/sdk/neptune/src/operation/modify_db_cluster_snapshot_attribute/builders.rs b/sdk/neptune/src/operation/modify_db_cluster_snapshot_attribute/builders.rs index cd5735e16747..b6a822d9fb0a 100644 --- a/sdk/neptune/src/operation/modify_db_cluster_snapshot_attribute/builders.rs +++ b/sdk/neptune/src/operation/modify_db_cluster_snapshot_attribute/builders.rs @@ -21,9 +21,9 @@ impl ModifyDBClusterSnapshotAttributeFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize(self) -> ::std::result::Result< + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware(self) -> ::std::result::Result< crate::client::customize::CustomizableOperation, ::aws_smithy_http::result::SdkError >{ @@ -66,6 +66,15 @@ impl ModifyDBClusterSnapshotAttributeFluentBuilder { { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize(self) -> ::std::result::Result< + crate::client::customize::CustomizableOperation, + ::aws_smithy_http::result::SdkError + >{ + self.customize_middleware().await + } ///

                                                                                                                                                                                                                              The identifier for the DB cluster snapshot to modify the attributes for.

                                                                                                                                                                                                                              pub fn db_cluster_snapshot_identifier( mut self, diff --git a/sdk/neptune/src/operation/modify_db_instance/builders.rs b/sdk/neptune/src/operation/modify_db_instance/builders.rs index 001f5c452f3a..f378f1b543fb 100644 --- a/sdk/neptune/src/operation/modify_db_instance/builders.rs +++ b/sdk/neptune/src/operation/modify_db_instance/builders.rs @@ -19,9 +19,9 @@ impl ModifyDBInstanceFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl ModifyDBInstanceFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::modify_db_instance::ModifyDBInstance, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::modify_db_instance::ModifyDBInstanceError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                              The DB instance identifier. This value is stored as a lowercase string.

                                                                                                                                                                                                                              ///

                                                                                                                                                                                                                              Constraints:

                                                                                                                                                                                                                              ///
                                                                                                                                                                                                                                diff --git a/sdk/neptune/src/operation/modify_db_parameter_group/builders.rs b/sdk/neptune/src/operation/modify_db_parameter_group/builders.rs index c5edcff11b79..4191be752c3f 100644 --- a/sdk/neptune/src/operation/modify_db_parameter_group/builders.rs +++ b/sdk/neptune/src/operation/modify_db_parameter_group/builders.rs @@ -24,9 +24,9 @@ impl ModifyDBParameterGroupFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -88,6 +88,22 @@ impl ModifyDBParameterGroupFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::modify_db_parameter_group::ModifyDBParameterGroup, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::modify_db_parameter_group::ModifyDBParameterGroupError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                The name of the DB parameter group.

                                                                                                                                                                                                                                ///

                                                                                                                                                                                                                                Constraints:

                                                                                                                                                                                                                                ///
                                                                                                                                                                                                                                  diff --git a/sdk/neptune/src/operation/modify_db_subnet_group/builders.rs b/sdk/neptune/src/operation/modify_db_subnet_group/builders.rs index 69bd1fe7f3c9..2a004182d557 100644 --- a/sdk/neptune/src/operation/modify_db_subnet_group/builders.rs +++ b/sdk/neptune/src/operation/modify_db_subnet_group/builders.rs @@ -19,9 +19,9 @@ impl ModifyDBSubnetGroupFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl ModifyDBSubnetGroupFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::modify_db_subnet_group::ModifyDBSubnetGroup, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::modify_db_subnet_group::ModifyDBSubnetGroupError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                  The name for the DB subnet group. This value is stored as a lowercase string. You can't modify the default subnet group.

                                                                                                                                                                                                                                  ///

                                                                                                                                                                                                                                  Constraints: Must match the name of an existing DBSubnetGroup. Must not be default.

                                                                                                                                                                                                                                  ///

                                                                                                                                                                                                                                  Example: mySubnetgroup

                                                                                                                                                                                                                                  diff --git a/sdk/neptune/src/operation/modify_event_subscription/builders.rs b/sdk/neptune/src/operation/modify_event_subscription/builders.rs index 1cb16e576ccd..40be522aee32 100644 --- a/sdk/neptune/src/operation/modify_event_subscription/builders.rs +++ b/sdk/neptune/src/operation/modify_event_subscription/builders.rs @@ -21,9 +21,9 @@ impl ModifyEventSubscriptionFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -85,6 +85,22 @@ impl ModifyEventSubscriptionFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::modify_event_subscription::ModifyEventSubscription, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::modify_event_subscription::ModifyEventSubscriptionError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                  The name of the event notification subscription.

                                                                                                                                                                                                                                  pub fn subscription_name( mut self, diff --git a/sdk/neptune/src/operation/modify_global_cluster/builders.rs b/sdk/neptune/src/operation/modify_global_cluster/builders.rs index 43246f1d2a01..a56a31dbba6b 100644 --- a/sdk/neptune/src/operation/modify_global_cluster/builders.rs +++ b/sdk/neptune/src/operation/modify_global_cluster/builders.rs @@ -19,9 +19,9 @@ impl ModifyGlobalClusterFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl ModifyGlobalClusterFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::modify_global_cluster::ModifyGlobalCluster, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::modify_global_cluster::ModifyGlobalClusterError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                  The DB cluster identifier for the global cluster being modified. This parameter is not case-sensitive.

                                                                                                                                                                                                                                  ///

                                                                                                                                                                                                                                  Constraints: Must match the identifier of an existing global database cluster.

                                                                                                                                                                                                                                  pub fn global_cluster_identifier( diff --git a/sdk/neptune/src/operation/promote_read_replica_db_cluster/builders.rs b/sdk/neptune/src/operation/promote_read_replica_db_cluster/builders.rs index 8118bd082d6c..9d0fa4dae2a9 100644 --- a/sdk/neptune/src/operation/promote_read_replica_db_cluster/builders.rs +++ b/sdk/neptune/src/operation/promote_read_replica_db_cluster/builders.rs @@ -19,9 +19,9 @@ impl PromoteReadReplicaDBClusterFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl PromoteReadReplicaDBClusterFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::promote_read_replica_db_cluster::PromoteReadReplicaDBCluster, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::promote_read_replica_db_cluster::PromoteReadReplicaDBClusterError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                  Not supported.

                                                                                                                                                                                                                                  pub fn db_cluster_identifier( mut self, diff --git a/sdk/neptune/src/operation/reboot_db_instance/builders.rs b/sdk/neptune/src/operation/reboot_db_instance/builders.rs index 7b82fb5a078e..f38828358d40 100644 --- a/sdk/neptune/src/operation/reboot_db_instance/builders.rs +++ b/sdk/neptune/src/operation/reboot_db_instance/builders.rs @@ -20,9 +20,9 @@ impl RebootDBInstanceFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -84,6 +84,22 @@ impl RebootDBInstanceFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::reboot_db_instance::RebootDBInstance, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::reboot_db_instance::RebootDBInstanceError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                  The DB instance identifier. This parameter is stored as a lowercase string.

                                                                                                                                                                                                                                  ///

                                                                                                                                                                                                                                  Constraints:

                                                                                                                                                                                                                                  ///
                                                                                                                                                                                                                                    diff --git a/sdk/neptune/src/operation/remove_from_global_cluster/builders.rs b/sdk/neptune/src/operation/remove_from_global_cluster/builders.rs index 8e49ead3d9d5..8df8866e7297 100644 --- a/sdk/neptune/src/operation/remove_from_global_cluster/builders.rs +++ b/sdk/neptune/src/operation/remove_from_global_cluster/builders.rs @@ -20,9 +20,9 @@ impl RemoveFromGlobalClusterFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -84,6 +84,22 @@ impl RemoveFromGlobalClusterFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::remove_from_global_cluster::RemoveFromGlobalCluster, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::remove_from_global_cluster::RemoveFromGlobalClusterError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                    The identifier of the Neptune global database from which to detach the specified Neptune DB cluster.

                                                                                                                                                                                                                                    pub fn global_cluster_identifier( mut self, diff --git a/sdk/neptune/src/operation/remove_role_from_db_cluster/builders.rs b/sdk/neptune/src/operation/remove_role_from_db_cluster/builders.rs index f1610b355a99..e87214ea9734 100644 --- a/sdk/neptune/src/operation/remove_role_from_db_cluster/builders.rs +++ b/sdk/neptune/src/operation/remove_role_from_db_cluster/builders.rs @@ -19,9 +19,9 @@ impl RemoveRoleFromDBClusterFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl RemoveRoleFromDBClusterFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::remove_role_from_db_cluster::RemoveRoleFromDBCluster, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::remove_role_from_db_cluster::RemoveRoleFromDBClusterError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                    The name of the DB cluster to disassociate the IAM role from.

                                                                                                                                                                                                                                    pub fn db_cluster_identifier( mut self, diff --git a/sdk/neptune/src/operation/remove_source_identifier_from_subscription/builders.rs b/sdk/neptune/src/operation/remove_source_identifier_from_subscription/builders.rs index 94ca10bb3c63..6f0146b75737 100644 --- a/sdk/neptune/src/operation/remove_source_identifier_from_subscription/builders.rs +++ b/sdk/neptune/src/operation/remove_source_identifier_from_subscription/builders.rs @@ -19,9 +19,9 @@ impl RemoveSourceIdentifierFromSubscriptionFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize(self) -> ::std::result::Result< + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware(self) -> ::std::result::Result< crate::client::customize::CustomizableOperation, ::aws_smithy_http::result::SdkError >{ @@ -64,6 +64,15 @@ impl RemoveSourceIdentifierFromSubscriptionFluentBuilder { { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize(self) -> ::std::result::Result< + crate::client::customize::CustomizableOperation, + ::aws_smithy_http::result::SdkError + >{ + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                    The name of the event notification subscription you want to remove a source identifier from.

                                                                                                                                                                                                                                    pub fn subscription_name( mut self, diff --git a/sdk/neptune/src/operation/remove_tags_from_resource/builders.rs b/sdk/neptune/src/operation/remove_tags_from_resource/builders.rs index 3234bce8ded0..5ce7a903738c 100644 --- a/sdk/neptune/src/operation/remove_tags_from_resource/builders.rs +++ b/sdk/neptune/src/operation/remove_tags_from_resource/builders.rs @@ -20,9 +20,9 @@ impl RemoveTagsFromResourceFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -84,6 +84,22 @@ impl RemoveTagsFromResourceFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::remove_tags_from_resource::RemoveTagsFromResource, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::remove_tags_from_resource::RemoveTagsFromResourceError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                    The Amazon Neptune resource that the tags are removed from. This value is an Amazon Resource Name (ARN). For information about creating an ARN, see Constructing an Amazon Resource Name (ARN).

                                                                                                                                                                                                                                    pub fn resource_name( mut self, diff --git a/sdk/neptune/src/operation/reset_db_cluster_parameter_group/builders.rs b/sdk/neptune/src/operation/reset_db_cluster_parameter_group/builders.rs index 19b4994d1ea3..f8a6c9262059 100644 --- a/sdk/neptune/src/operation/reset_db_cluster_parameter_group/builders.rs +++ b/sdk/neptune/src/operation/reset_db_cluster_parameter_group/builders.rs @@ -20,9 +20,9 @@ impl ResetDBClusterParameterGroupFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -84,6 +84,22 @@ impl ResetDBClusterParameterGroupFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::reset_db_cluster_parameter_group::ResetDBClusterParameterGroup, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::reset_db_cluster_parameter_group::ResetDBClusterParameterGroupError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                    The name of the DB cluster parameter group to reset.

                                                                                                                                                                                                                                    pub fn db_cluster_parameter_group_name( mut self, diff --git a/sdk/neptune/src/operation/reset_db_parameter_group/builders.rs b/sdk/neptune/src/operation/reset_db_parameter_group/builders.rs index 1b3df28d902d..2537445fbc9a 100644 --- a/sdk/neptune/src/operation/reset_db_parameter_group/builders.rs +++ b/sdk/neptune/src/operation/reset_db_parameter_group/builders.rs @@ -19,9 +19,9 @@ impl ResetDBParameterGroupFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl ResetDBParameterGroupFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::reset_db_parameter_group::ResetDBParameterGroup, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::reset_db_parameter_group::ResetDBParameterGroupError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                    The name of the DB parameter group.

                                                                                                                                                                                                                                    ///

                                                                                                                                                                                                                                    Constraints:

                                                                                                                                                                                                                                    ///
                                                                                                                                                                                                                                      diff --git a/sdk/neptune/src/operation/restore_db_cluster_from_snapshot/builders.rs b/sdk/neptune/src/operation/restore_db_cluster_from_snapshot/builders.rs index 5367ef267958..a855265b83d7 100644 --- a/sdk/neptune/src/operation/restore_db_cluster_from_snapshot/builders.rs +++ b/sdk/neptune/src/operation/restore_db_cluster_from_snapshot/builders.rs @@ -21,9 +21,9 @@ impl RestoreDBClusterFromSnapshotFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -85,6 +85,22 @@ impl RestoreDBClusterFromSnapshotFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::restore_db_cluster_from_snapshot::RestoreDBClusterFromSnapshot, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::restore_db_cluster_from_snapshot::RestoreDBClusterFromSnapshotError, + >, + > { + self.customize_middleware().await + } /// Appends an item to `AvailabilityZones`. /// /// To override the contents of this collection use [`set_availability_zones`](Self::set_availability_zones). diff --git a/sdk/neptune/src/operation/restore_db_cluster_to_point_in_time/builders.rs b/sdk/neptune/src/operation/restore_db_cluster_to_point_in_time/builders.rs index d44ff10570e4..618b2ce567a0 100644 --- a/sdk/neptune/src/operation/restore_db_cluster_to_point_in_time/builders.rs +++ b/sdk/neptune/src/operation/restore_db_cluster_to_point_in_time/builders.rs @@ -21,9 +21,9 @@ impl RestoreDBClusterToPointInTimeFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize(self) -> ::std::result::Result< + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware(self) -> ::std::result::Result< crate::client::customize::CustomizableOperation, ::aws_smithy_http::result::SdkError >{ @@ -66,6 +66,15 @@ impl RestoreDBClusterToPointInTimeFluentBuilder { { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize(self) -> ::std::result::Result< + crate::client::customize::CustomizableOperation, + ::aws_smithy_http::result::SdkError + >{ + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                      The name of the new DB cluster to be created.

                                                                                                                                                                                                                                      ///

                                                                                                                                                                                                                                      Constraints:

                                                                                                                                                                                                                                      ///
                                                                                                                                                                                                                                        diff --git a/sdk/neptune/src/operation/start_db_cluster/builders.rs b/sdk/neptune/src/operation/start_db_cluster/builders.rs index 1425a7087758..5a13620bd095 100644 --- a/sdk/neptune/src/operation/start_db_cluster/builders.rs +++ b/sdk/neptune/src/operation/start_db_cluster/builders.rs @@ -19,9 +19,9 @@ impl StartDBClusterFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl StartDBClusterFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::start_db_cluster::StartDBCluster, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::start_db_cluster::StartDBClusterError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                        The DB cluster identifier of the Neptune DB cluster to be started. This parameter is stored as a lowercase string.

                                                                                                                                                                                                                                        pub fn db_cluster_identifier( mut self, diff --git a/sdk/neptune/src/operation/stop_db_cluster/builders.rs b/sdk/neptune/src/operation/stop_db_cluster/builders.rs index 36e4dd7d3e62..843ddbdce525 100644 --- a/sdk/neptune/src/operation/stop_db_cluster/builders.rs +++ b/sdk/neptune/src/operation/stop_db_cluster/builders.rs @@ -20,9 +20,9 @@ impl StopDBClusterFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -78,6 +78,20 @@ impl StopDBClusterFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::stop_db_cluster::StopDBCluster, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                        The DB cluster identifier of the Neptune DB cluster to be stopped. This parameter is stored as a lowercase string.

                                                                                                                                                                                                                                        pub fn db_cluster_identifier( mut self, diff --git a/sdk/networkfirewall/src/operation/associate_firewall_policy/builders.rs b/sdk/networkfirewall/src/operation/associate_firewall_policy/builders.rs index a02120f703a4..409059dc7b3f 100644 --- a/sdk/networkfirewall/src/operation/associate_firewall_policy/builders.rs +++ b/sdk/networkfirewall/src/operation/associate_firewall_policy/builders.rs @@ -21,9 +21,9 @@ impl AssociateFirewallPolicyFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -85,6 +85,22 @@ impl AssociateFirewallPolicyFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::associate_firewall_policy::AssociateFirewallPolicy, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::associate_firewall_policy::AssociateFirewallPolicyError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                        An optional token that you can use for optimistic locking. Network Firewall returns a token to your requests that access the firewall. The token marks the state of the firewall resource at the time of the request.

                                                                                                                                                                                                                                        ///

                                                                                                                                                                                                                                        To make an unconditional change to the firewall, omit the token in your update request. Without the token, Network Firewall performs your updates regardless of whether the firewall has changed since you last retrieved it.

                                                                                                                                                                                                                                        ///

                                                                                                                                                                                                                                        To make a conditional change to the firewall, provide the token in your update request. Network Firewall uses the token to ensure that the firewall hasn't changed since you last retrieved it. If it has changed, the operation fails with an InvalidTokenException. If this happens, retrieve the firewall again to get a current copy of it with a new token. Reapply your changes as needed, then try the operation again using the new token.

                                                                                                                                                                                                                                        diff --git a/sdk/networkfirewall/src/operation/associate_subnets/builders.rs b/sdk/networkfirewall/src/operation/associate_subnets/builders.rs index c73278f54d77..84da555c0c67 100644 --- a/sdk/networkfirewall/src/operation/associate_subnets/builders.rs +++ b/sdk/networkfirewall/src/operation/associate_subnets/builders.rs @@ -20,9 +20,9 @@ impl AssociateSubnetsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -84,6 +84,22 @@ impl AssociateSubnetsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::associate_subnets::AssociateSubnets, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::associate_subnets::AssociateSubnetsError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                        An optional token that you can use for optimistic locking. Network Firewall returns a token to your requests that access the firewall. The token marks the state of the firewall resource at the time of the request.

                                                                                                                                                                                                                                        ///

                                                                                                                                                                                                                                        To make an unconditional change to the firewall, omit the token in your update request. Without the token, Network Firewall performs your updates regardless of whether the firewall has changed since you last retrieved it.

                                                                                                                                                                                                                                        ///

                                                                                                                                                                                                                                        To make a conditional change to the firewall, provide the token in your update request. Network Firewall uses the token to ensure that the firewall hasn't changed since you last retrieved it. If it has changed, the operation fails with an InvalidTokenException. If this happens, retrieve the firewall again to get a current copy of it with a new token. Reapply your changes as needed, then try the operation again using the new token.

                                                                                                                                                                                                                                        diff --git a/sdk/networkfirewall/src/operation/create_firewall/builders.rs b/sdk/networkfirewall/src/operation/create_firewall/builders.rs index 00b59ae5ab6d..2c8b501c8a7d 100644 --- a/sdk/networkfirewall/src/operation/create_firewall/builders.rs +++ b/sdk/networkfirewall/src/operation/create_firewall/builders.rs @@ -24,9 +24,9 @@ impl CreateFirewallFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -82,6 +82,20 @@ impl CreateFirewallFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::create_firewall::CreateFirewall, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                        The descriptive name of the firewall. You can't change the name of a firewall after you create it.

                                                                                                                                                                                                                                        pub fn firewall_name( mut self, diff --git a/sdk/networkfirewall/src/operation/create_firewall_policy/builders.rs b/sdk/networkfirewall/src/operation/create_firewall_policy/builders.rs index 9a3dd0be4251..ffac9d3af5fa 100644 --- a/sdk/networkfirewall/src/operation/create_firewall_policy/builders.rs +++ b/sdk/networkfirewall/src/operation/create_firewall_policy/builders.rs @@ -20,9 +20,9 @@ impl CreateFirewallPolicyFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -84,6 +84,22 @@ impl CreateFirewallPolicyFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::create_firewall_policy::CreateFirewallPolicy, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::create_firewall_policy::CreateFirewallPolicyError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                        The descriptive name of the firewall policy. You can't change the name of a firewall policy after you create it.

                                                                                                                                                                                                                                        pub fn firewall_policy_name( mut self, diff --git a/sdk/networkfirewall/src/operation/create_rule_group/builders.rs b/sdk/networkfirewall/src/operation/create_rule_group/builders.rs index 3fd4dc028e65..d693b61c9bc6 100644 --- a/sdk/networkfirewall/src/operation/create_rule_group/builders.rs +++ b/sdk/networkfirewall/src/operation/create_rule_group/builders.rs @@ -20,9 +20,9 @@ impl CreateRuleGroupFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -84,6 +84,22 @@ impl CreateRuleGroupFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::create_rule_group::CreateRuleGroup, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::create_rule_group::CreateRuleGroupError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                        The descriptive name of the rule group. You can't change the name of a rule group after you create it.

                                                                                                                                                                                                                                        pub fn rule_group_name( mut self, diff --git a/sdk/networkfirewall/src/operation/create_tls_inspection_configuration/builders.rs b/sdk/networkfirewall/src/operation/create_tls_inspection_configuration/builders.rs index c71b0fa9e828..25fea57dba5e 100644 --- a/sdk/networkfirewall/src/operation/create_tls_inspection_configuration/builders.rs +++ b/sdk/networkfirewall/src/operation/create_tls_inspection_configuration/builders.rs @@ -24,9 +24,9 @@ impl CreateTLSInspectionConfigurationFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize(self) -> ::std::result::Result< + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware(self) -> ::std::result::Result< crate::client::customize::CustomizableOperation, ::aws_smithy_http::result::SdkError >{ @@ -69,6 +69,15 @@ impl CreateTLSInspectionConfigurationFluentBuilder { { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize(self) -> ::std::result::Result< + crate::client::customize::CustomizableOperation, + ::aws_smithy_http::result::SdkError + >{ + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                        The descriptive name of the TLS inspection configuration. You can't change the name of a TLS inspection configuration after you create it.

                                                                                                                                                                                                                                        pub fn tls_inspection_configuration_name( mut self, diff --git a/sdk/networkfirewall/src/operation/delete_firewall/builders.rs b/sdk/networkfirewall/src/operation/delete_firewall/builders.rs index 00aa39ae1da8..f81ff2648f3b 100644 --- a/sdk/networkfirewall/src/operation/delete_firewall/builders.rs +++ b/sdk/networkfirewall/src/operation/delete_firewall/builders.rs @@ -21,9 +21,9 @@ impl DeleteFirewallFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -79,6 +79,20 @@ impl DeleteFirewallFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::delete_firewall::DeleteFirewall, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                        The descriptive name of the firewall. You can't change the name of a firewall after you create it.

                                                                                                                                                                                                                                        ///

                                                                                                                                                                                                                                        You must specify the ARN or the name, and you can specify both.

                                                                                                                                                                                                                                        pub fn firewall_name( diff --git a/sdk/networkfirewall/src/operation/delete_firewall_policy/builders.rs b/sdk/networkfirewall/src/operation/delete_firewall_policy/builders.rs index 588b2f35a6ce..dbcb55e51a7a 100644 --- a/sdk/networkfirewall/src/operation/delete_firewall_policy/builders.rs +++ b/sdk/networkfirewall/src/operation/delete_firewall_policy/builders.rs @@ -19,9 +19,9 @@ impl DeleteFirewallPolicyFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl DeleteFirewallPolicyFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::delete_firewall_policy::DeleteFirewallPolicy, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::delete_firewall_policy::DeleteFirewallPolicyError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                        The descriptive name of the firewall policy. You can't change the name of a firewall policy after you create it.

                                                                                                                                                                                                                                        ///

                                                                                                                                                                                                                                        You must specify the ARN or the name, and you can specify both.

                                                                                                                                                                                                                                        pub fn firewall_policy_name( diff --git a/sdk/networkfirewall/src/operation/delete_resource_policy/builders.rs b/sdk/networkfirewall/src/operation/delete_resource_policy/builders.rs index 0e156fba58f6..68e4fb478f09 100644 --- a/sdk/networkfirewall/src/operation/delete_resource_policy/builders.rs +++ b/sdk/networkfirewall/src/operation/delete_resource_policy/builders.rs @@ -19,9 +19,9 @@ impl DeleteResourcePolicyFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl DeleteResourcePolicyFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::delete_resource_policy::DeleteResourcePolicy, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::delete_resource_policy::DeleteResourcePolicyError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                        The Amazon Resource Name (ARN) of the rule group or firewall policy whose resource policy you want to delete.

                                                                                                                                                                                                                                        pub fn resource_arn(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.resource_arn(input.into()); diff --git a/sdk/networkfirewall/src/operation/delete_rule_group/builders.rs b/sdk/networkfirewall/src/operation/delete_rule_group/builders.rs index 2fa6350fb666..c5ac54a5e709 100644 --- a/sdk/networkfirewall/src/operation/delete_rule_group/builders.rs +++ b/sdk/networkfirewall/src/operation/delete_rule_group/builders.rs @@ -19,9 +19,9 @@ impl DeleteRuleGroupFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl DeleteRuleGroupFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::delete_rule_group::DeleteRuleGroup, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::delete_rule_group::DeleteRuleGroupError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                        The descriptive name of the rule group. You can't change the name of a rule group after you create it.

                                                                                                                                                                                                                                        ///

                                                                                                                                                                                                                                        You must specify the ARN or the name, and you can specify both.

                                                                                                                                                                                                                                        pub fn rule_group_name( diff --git a/sdk/networkfirewall/src/operation/delete_tls_inspection_configuration/builders.rs b/sdk/networkfirewall/src/operation/delete_tls_inspection_configuration/builders.rs index c12cbaf6cfe6..454e0612b2da 100644 --- a/sdk/networkfirewall/src/operation/delete_tls_inspection_configuration/builders.rs +++ b/sdk/networkfirewall/src/operation/delete_tls_inspection_configuration/builders.rs @@ -19,9 +19,9 @@ impl DeleteTLSInspectionConfigurationFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize(self) -> ::std::result::Result< + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware(self) -> ::std::result::Result< crate::client::customize::CustomizableOperation, ::aws_smithy_http::result::SdkError >{ @@ -64,6 +64,15 @@ impl DeleteTLSInspectionConfigurationFluentBuilder { { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize(self) -> ::std::result::Result< + crate::client::customize::CustomizableOperation, + ::aws_smithy_http::result::SdkError + >{ + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                        The Amazon Resource Name (ARN) of the TLS inspection configuration.

                                                                                                                                                                                                                                        ///

                                                                                                                                                                                                                                        You must specify the ARN or the name, and you can specify both.

                                                                                                                                                                                                                                        pub fn tls_inspection_configuration_arn( diff --git a/sdk/networkfirewall/src/operation/describe_firewall/builders.rs b/sdk/networkfirewall/src/operation/describe_firewall/builders.rs index cb6f2cbebe7d..5da5ffd7af69 100644 --- a/sdk/networkfirewall/src/operation/describe_firewall/builders.rs +++ b/sdk/networkfirewall/src/operation/describe_firewall/builders.rs @@ -19,9 +19,9 @@ impl DescribeFirewallFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl DescribeFirewallFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::describe_firewall::DescribeFirewall, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::describe_firewall::DescribeFirewallError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                        The descriptive name of the firewall. You can't change the name of a firewall after you create it.

                                                                                                                                                                                                                                        ///

                                                                                                                                                                                                                                        You must specify the ARN or the name, and you can specify both.

                                                                                                                                                                                                                                        pub fn firewall_name( diff --git a/sdk/networkfirewall/src/operation/describe_firewall_policy/builders.rs b/sdk/networkfirewall/src/operation/describe_firewall_policy/builders.rs index e2057069e698..e47d205c3507 100644 --- a/sdk/networkfirewall/src/operation/describe_firewall_policy/builders.rs +++ b/sdk/networkfirewall/src/operation/describe_firewall_policy/builders.rs @@ -19,9 +19,9 @@ impl DescribeFirewallPolicyFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl DescribeFirewallPolicyFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::describe_firewall_policy::DescribeFirewallPolicy, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::describe_firewall_policy::DescribeFirewallPolicyError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                        The descriptive name of the firewall policy. You can't change the name of a firewall policy after you create it.

                                                                                                                                                                                                                                        ///

                                                                                                                                                                                                                                        You must specify the ARN or the name, and you can specify both.

                                                                                                                                                                                                                                        pub fn firewall_policy_name( diff --git a/sdk/networkfirewall/src/operation/describe_logging_configuration/builders.rs b/sdk/networkfirewall/src/operation/describe_logging_configuration/builders.rs index e27c5a40db70..dccd7dc95848 100644 --- a/sdk/networkfirewall/src/operation/describe_logging_configuration/builders.rs +++ b/sdk/networkfirewall/src/operation/describe_logging_configuration/builders.rs @@ -19,9 +19,9 @@ impl DescribeLoggingConfigurationFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl DescribeLoggingConfigurationFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::describe_logging_configuration::DescribeLoggingConfiguration, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::describe_logging_configuration::DescribeLoggingConfigurationError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                        The Amazon Resource Name (ARN) of the firewall.

                                                                                                                                                                                                                                        ///

                                                                                                                                                                                                                                        You must specify the ARN or the name, and you can specify both.

                                                                                                                                                                                                                                        pub fn firewall_arn(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { diff --git a/sdk/networkfirewall/src/operation/describe_resource_policy/builders.rs b/sdk/networkfirewall/src/operation/describe_resource_policy/builders.rs index 45af3935f857..a39ccea23b7a 100644 --- a/sdk/networkfirewall/src/operation/describe_resource_policy/builders.rs +++ b/sdk/networkfirewall/src/operation/describe_resource_policy/builders.rs @@ -19,9 +19,9 @@ impl DescribeResourcePolicyFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl DescribeResourcePolicyFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::describe_resource_policy::DescribeResourcePolicy, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::describe_resource_policy::DescribeResourcePolicyError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                        The Amazon Resource Name (ARN) of the rule group or firewall policy whose resource policy you want to retrieve.

                                                                                                                                                                                                                                        pub fn resource_arn(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.resource_arn(input.into()); diff --git a/sdk/networkfirewall/src/operation/describe_rule_group/builders.rs b/sdk/networkfirewall/src/operation/describe_rule_group/builders.rs index 17ff7a843f6c..c4385337d2d3 100644 --- a/sdk/networkfirewall/src/operation/describe_rule_group/builders.rs +++ b/sdk/networkfirewall/src/operation/describe_rule_group/builders.rs @@ -19,9 +19,9 @@ impl DescribeRuleGroupFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl DescribeRuleGroupFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::describe_rule_group::DescribeRuleGroup, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::describe_rule_group::DescribeRuleGroupError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                        The descriptive name of the rule group. You can't change the name of a rule group after you create it.

                                                                                                                                                                                                                                        ///

                                                                                                                                                                                                                                        You must specify the ARN or the name, and you can specify both.

                                                                                                                                                                                                                                        pub fn rule_group_name( diff --git a/sdk/networkfirewall/src/operation/describe_rule_group_metadata/builders.rs b/sdk/networkfirewall/src/operation/describe_rule_group_metadata/builders.rs index 9b814e432157..e66704111e8a 100644 --- a/sdk/networkfirewall/src/operation/describe_rule_group_metadata/builders.rs +++ b/sdk/networkfirewall/src/operation/describe_rule_group_metadata/builders.rs @@ -19,9 +19,9 @@ impl DescribeRuleGroupMetadataFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl DescribeRuleGroupMetadataFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::describe_rule_group_metadata::DescribeRuleGroupMetadata, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::describe_rule_group_metadata::DescribeRuleGroupMetadataError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                        The descriptive name of the rule group. You can't change the name of a rule group after you create it.

                                                                                                                                                                                                                                        ///

                                                                                                                                                                                                                                        You must specify the ARN or the name, and you can specify both.

                                                                                                                                                                                                                                        pub fn rule_group_name( diff --git a/sdk/networkfirewall/src/operation/describe_tls_inspection_configuration/builders.rs b/sdk/networkfirewall/src/operation/describe_tls_inspection_configuration/builders.rs index 45a11851cd75..032a35822f71 100644 --- a/sdk/networkfirewall/src/operation/describe_tls_inspection_configuration/builders.rs +++ b/sdk/networkfirewall/src/operation/describe_tls_inspection_configuration/builders.rs @@ -19,9 +19,9 @@ impl DescribeTLSInspectionConfigurationFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize(self) -> ::std::result::Result< + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware(self) -> ::std::result::Result< crate::client::customize::CustomizableOperation, ::aws_smithy_http::result::SdkError >{ @@ -64,6 +64,15 @@ impl DescribeTLSInspectionConfigurationFluentBuilder { { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize(self) -> ::std::result::Result< + crate::client::customize::CustomizableOperation, + ::aws_smithy_http::result::SdkError + >{ + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                        The Amazon Resource Name (ARN) of the TLS inspection configuration.

                                                                                                                                                                                                                                        ///

                                                                                                                                                                                                                                        You must specify the ARN or the name, and you can specify both.

                                                                                                                                                                                                                                        pub fn tls_inspection_configuration_arn( diff --git a/sdk/networkfirewall/src/operation/disassociate_subnets/builders.rs b/sdk/networkfirewall/src/operation/disassociate_subnets/builders.rs index 6f7c6bfce3d8..bf67d5eaffba 100644 --- a/sdk/networkfirewall/src/operation/disassociate_subnets/builders.rs +++ b/sdk/networkfirewall/src/operation/disassociate_subnets/builders.rs @@ -19,9 +19,9 @@ impl DisassociateSubnetsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl DisassociateSubnetsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::disassociate_subnets::DisassociateSubnets, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::disassociate_subnets::DisassociateSubnetsError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                        An optional token that you can use for optimistic locking. Network Firewall returns a token to your requests that access the firewall. The token marks the state of the firewall resource at the time of the request.

                                                                                                                                                                                                                                        ///

                                                                                                                                                                                                                                        To make an unconditional change to the firewall, omit the token in your update request. Without the token, Network Firewall performs your updates regardless of whether the firewall has changed since you last retrieved it.

                                                                                                                                                                                                                                        ///

                                                                                                                                                                                                                                        To make a conditional change to the firewall, provide the token in your update request. Network Firewall uses the token to ensure that the firewall hasn't changed since you last retrieved it. If it has changed, the operation fails with an InvalidTokenException. If this happens, retrieve the firewall again to get a current copy of it with a new token. Reapply your changes as needed, then try the operation again using the new token.

                                                                                                                                                                                                                                        diff --git a/sdk/networkfirewall/src/operation/list_firewall_policies/builders.rs b/sdk/networkfirewall/src/operation/list_firewall_policies/builders.rs index 162961a919e8..67d25312a287 100644 --- a/sdk/networkfirewall/src/operation/list_firewall_policies/builders.rs +++ b/sdk/networkfirewall/src/operation/list_firewall_policies/builders.rs @@ -19,9 +19,9 @@ impl ListFirewallPoliciesFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl ListFirewallPoliciesFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_firewall_policies::ListFirewallPolicies, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::list_firewall_policies::ListFirewallPoliciesError, + >, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::list_firewall_policies::paginator::ListFirewallPoliciesPaginator::send) which returns a `Stream`. diff --git a/sdk/networkfirewall/src/operation/list_firewalls/builders.rs b/sdk/networkfirewall/src/operation/list_firewalls/builders.rs index bf44dbfdfbec..d2c966b2c902 100644 --- a/sdk/networkfirewall/src/operation/list_firewalls/builders.rs +++ b/sdk/networkfirewall/src/operation/list_firewalls/builders.rs @@ -20,9 +20,9 @@ impl ListFirewallsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -78,6 +78,20 @@ impl ListFirewallsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_firewalls::ListFirewalls, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::list_firewalls::paginator::ListFirewallsPaginator::send) which returns a `Stream`. diff --git a/sdk/networkfirewall/src/operation/list_rule_groups/builders.rs b/sdk/networkfirewall/src/operation/list_rule_groups/builders.rs index 83f86c3698f4..4b2f38237a98 100644 --- a/sdk/networkfirewall/src/operation/list_rule_groups/builders.rs +++ b/sdk/networkfirewall/src/operation/list_rule_groups/builders.rs @@ -19,9 +19,9 @@ impl ListRuleGroupsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl ListRuleGroupsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_rule_groups::ListRuleGroups, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::list_rule_groups::ListRuleGroupsError, + >, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::list_rule_groups::paginator::ListRuleGroupsPaginator::send) which returns a `Stream`. diff --git a/sdk/networkfirewall/src/operation/list_tags_for_resource/builders.rs b/sdk/networkfirewall/src/operation/list_tags_for_resource/builders.rs index b98b730b78e3..8f4da825991c 100644 --- a/sdk/networkfirewall/src/operation/list_tags_for_resource/builders.rs +++ b/sdk/networkfirewall/src/operation/list_tags_for_resource/builders.rs @@ -20,9 +20,9 @@ impl ListTagsForResourceFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -84,6 +84,22 @@ impl ListTagsForResourceFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_tags_for_resource::ListTagsForResource, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::list_tags_for_resource::ListTagsForResourceError, + >, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::list_tags_for_resource::paginator::ListTagsForResourcePaginator::send) which returns a `Stream`. diff --git a/sdk/networkfirewall/src/operation/list_tls_inspection_configurations/builders.rs b/sdk/networkfirewall/src/operation/list_tls_inspection_configurations/builders.rs index a566e1924364..6fa0f3fe451f 100644 --- a/sdk/networkfirewall/src/operation/list_tls_inspection_configurations/builders.rs +++ b/sdk/networkfirewall/src/operation/list_tls_inspection_configurations/builders.rs @@ -19,9 +19,9 @@ impl ListTLSInspectionConfigurationsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize(self) -> ::std::result::Result< + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware(self) -> ::std::result::Result< crate::client::customize::CustomizableOperation, ::aws_smithy_http::result::SdkError >{ @@ -64,6 +64,15 @@ impl ListTLSInspectionConfigurationsFluentBuilder { { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize(self) -> ::std::result::Result< + crate::client::customize::CustomizableOperation, + ::aws_smithy_http::result::SdkError + >{ + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::list_tls_inspection_configurations::paginator::ListTlsInspectionConfigurationsPaginator::send) which returns a `Stream`. diff --git a/sdk/networkfirewall/src/operation/put_resource_policy/builders.rs b/sdk/networkfirewall/src/operation/put_resource_policy/builders.rs index 36243d6748cb..8a838928f157 100644 --- a/sdk/networkfirewall/src/operation/put_resource_policy/builders.rs +++ b/sdk/networkfirewall/src/operation/put_resource_policy/builders.rs @@ -26,9 +26,9 @@ impl PutResourcePolicyFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -90,6 +90,22 @@ impl PutResourcePolicyFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::put_resource_policy::PutResourcePolicy, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::put_resource_policy::PutResourcePolicyError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                        The Amazon Resource Name (ARN) of the account that you want to share rule groups and firewall policies with.

                                                                                                                                                                                                                                        pub fn resource_arn(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.resource_arn(input.into()); diff --git a/sdk/networkfirewall/src/operation/tag_resource/builders.rs b/sdk/networkfirewall/src/operation/tag_resource/builders.rs index 68051a0843db..42dee655f62a 100644 --- a/sdk/networkfirewall/src/operation/tag_resource/builders.rs +++ b/sdk/networkfirewall/src/operation/tag_resource/builders.rs @@ -20,9 +20,9 @@ impl TagResourceFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -78,6 +78,20 @@ impl TagResourceFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::tag_resource::TagResource, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                        The Amazon Resource Name (ARN) of the resource.

                                                                                                                                                                                                                                        pub fn resource_arn(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.resource_arn(input.into()); diff --git a/sdk/networkfirewall/src/operation/untag_resource/builders.rs b/sdk/networkfirewall/src/operation/untag_resource/builders.rs index 6cad3d5cc670..1869e3992b47 100644 --- a/sdk/networkfirewall/src/operation/untag_resource/builders.rs +++ b/sdk/networkfirewall/src/operation/untag_resource/builders.rs @@ -20,9 +20,9 @@ impl UntagResourceFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -78,6 +78,20 @@ impl UntagResourceFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::untag_resource::UntagResource, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                        The Amazon Resource Name (ARN) of the resource.

                                                                                                                                                                                                                                        pub fn resource_arn(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.resource_arn(input.into()); diff --git a/sdk/networkfirewall/src/operation/update_firewall_delete_protection/builders.rs b/sdk/networkfirewall/src/operation/update_firewall_delete_protection/builders.rs index 08c19c089022..f433bb4e5c04 100644 --- a/sdk/networkfirewall/src/operation/update_firewall_delete_protection/builders.rs +++ b/sdk/networkfirewall/src/operation/update_firewall_delete_protection/builders.rs @@ -19,9 +19,9 @@ impl UpdateFirewallDeleteProtectionFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize(self) -> ::std::result::Result< + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware(self) -> ::std::result::Result< crate::client::customize::CustomizableOperation, ::aws_smithy_http::result::SdkError >{ @@ -64,6 +64,15 @@ impl UpdateFirewallDeleteProtectionFluentBuilder { { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize(self) -> ::std::result::Result< + crate::client::customize::CustomizableOperation, + ::aws_smithy_http::result::SdkError + >{ + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                        An optional token that you can use for optimistic locking. Network Firewall returns a token to your requests that access the firewall. The token marks the state of the firewall resource at the time of the request.

                                                                                                                                                                                                                                        ///

                                                                                                                                                                                                                                        To make an unconditional change to the firewall, omit the token in your update request. Without the token, Network Firewall performs your updates regardless of whether the firewall has changed since you last retrieved it.

                                                                                                                                                                                                                                        ///

                                                                                                                                                                                                                                        To make a conditional change to the firewall, provide the token in your update request. Network Firewall uses the token to ensure that the firewall hasn't changed since you last retrieved it. If it has changed, the operation fails with an InvalidTokenException. If this happens, retrieve the firewall again to get a current copy of it with a new token. Reapply your changes as needed, then try the operation again using the new token.

                                                                                                                                                                                                                                        diff --git a/sdk/networkfirewall/src/operation/update_firewall_description/builders.rs b/sdk/networkfirewall/src/operation/update_firewall_description/builders.rs index baf3428ae952..e60c79f2a600 100644 --- a/sdk/networkfirewall/src/operation/update_firewall_description/builders.rs +++ b/sdk/networkfirewall/src/operation/update_firewall_description/builders.rs @@ -19,9 +19,9 @@ impl UpdateFirewallDescriptionFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl UpdateFirewallDescriptionFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::update_firewall_description::UpdateFirewallDescription, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::update_firewall_description::UpdateFirewallDescriptionError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                        An optional token that you can use for optimistic locking. Network Firewall returns a token to your requests that access the firewall. The token marks the state of the firewall resource at the time of the request.

                                                                                                                                                                                                                                        ///

                                                                                                                                                                                                                                        To make an unconditional change to the firewall, omit the token in your update request. Without the token, Network Firewall performs your updates regardless of whether the firewall has changed since you last retrieved it.

                                                                                                                                                                                                                                        ///

                                                                                                                                                                                                                                        To make a conditional change to the firewall, provide the token in your update request. Network Firewall uses the token to ensure that the firewall hasn't changed since you last retrieved it. If it has changed, the operation fails with an InvalidTokenException. If this happens, retrieve the firewall again to get a current copy of it with a new token. Reapply your changes as needed, then try the operation again using the new token.

                                                                                                                                                                                                                                        diff --git a/sdk/networkfirewall/src/operation/update_firewall_encryption_configuration/builders.rs b/sdk/networkfirewall/src/operation/update_firewall_encryption_configuration/builders.rs index 460a06374b7e..0f6625492095 100644 --- a/sdk/networkfirewall/src/operation/update_firewall_encryption_configuration/builders.rs +++ b/sdk/networkfirewall/src/operation/update_firewall_encryption_configuration/builders.rs @@ -19,9 +19,9 @@ impl UpdateFirewallEncryptionConfigurationFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize(self) -> ::std::result::Result< + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware(self) -> ::std::result::Result< crate::client::customize::CustomizableOperation, ::aws_smithy_http::result::SdkError >{ @@ -64,6 +64,15 @@ impl UpdateFirewallEncryptionConfigurationFluentBuilder { { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize(self) -> ::std::result::Result< + crate::client::customize::CustomizableOperation, + ::aws_smithy_http::result::SdkError + >{ + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                        An optional token that you can use for optimistic locking. Network Firewall returns a token to your requests that access the firewall. The token marks the state of the firewall resource at the time of the request.

                                                                                                                                                                                                                                        ///

                                                                                                                                                                                                                                        To make an unconditional change to the firewall, omit the token in your update request. Without the token, Network Firewall performs your updates regardless of whether the firewall has changed since you last retrieved it.

                                                                                                                                                                                                                                        ///

                                                                                                                                                                                                                                        To make a conditional change to the firewall, provide the token in your update request. Network Firewall uses the token to ensure that the firewall hasn't changed since you last retrieved it. If it has changed, the operation fails with an InvalidTokenException. If this happens, retrieve the firewall again to get a current copy of it with a new token. Reapply your changes as needed, then try the operation again using the new token.

                                                                                                                                                                                                                                        diff --git a/sdk/networkfirewall/src/operation/update_firewall_policy/builders.rs b/sdk/networkfirewall/src/operation/update_firewall_policy/builders.rs index 6c570e277736..f3c023bc0b29 100644 --- a/sdk/networkfirewall/src/operation/update_firewall_policy/builders.rs +++ b/sdk/networkfirewall/src/operation/update_firewall_policy/builders.rs @@ -19,9 +19,9 @@ impl UpdateFirewallPolicyFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl UpdateFirewallPolicyFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::update_firewall_policy::UpdateFirewallPolicy, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::update_firewall_policy::UpdateFirewallPolicyError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                        A token used for optimistic locking. Network Firewall returns a token to your requests that access the firewall policy. The token marks the state of the policy resource at the time of the request.

                                                                                                                                                                                                                                        ///

                                                                                                                                                                                                                                        To make changes to the policy, you provide the token in your request. Network Firewall uses the token to ensure that the policy hasn't changed since you last retrieved it. If it has changed, the operation fails with an InvalidTokenException. If this happens, retrieve the firewall policy again to get a current copy of it with current token. Reapply your changes as needed, then try the operation again using the new token.

                                                                                                                                                                                                                                        pub fn update_token(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { diff --git a/sdk/networkfirewall/src/operation/update_firewall_policy_change_protection/builders.rs b/sdk/networkfirewall/src/operation/update_firewall_policy_change_protection/builders.rs index 3e281d657cce..b8340b3c6d9c 100644 --- a/sdk/networkfirewall/src/operation/update_firewall_policy_change_protection/builders.rs +++ b/sdk/networkfirewall/src/operation/update_firewall_policy_change_protection/builders.rs @@ -19,9 +19,9 @@ impl UpdateFirewallPolicyChangeProtectionFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize(self) -> ::std::result::Result< + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware(self) -> ::std::result::Result< crate::client::customize::CustomizableOperation, ::aws_smithy_http::result::SdkError >{ @@ -64,6 +64,15 @@ impl UpdateFirewallPolicyChangeProtectionFluentBuilder { { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize(self) -> ::std::result::Result< + crate::client::customize::CustomizableOperation, + ::aws_smithy_http::result::SdkError + >{ + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                        An optional token that you can use for optimistic locking. Network Firewall returns a token to your requests that access the firewall. The token marks the state of the firewall resource at the time of the request.

                                                                                                                                                                                                                                        ///

                                                                                                                                                                                                                                        To make an unconditional change to the firewall, omit the token in your update request. Without the token, Network Firewall performs your updates regardless of whether the firewall has changed since you last retrieved it.

                                                                                                                                                                                                                                        ///

                                                                                                                                                                                                                                        To make a conditional change to the firewall, provide the token in your update request. Network Firewall uses the token to ensure that the firewall hasn't changed since you last retrieved it. If it has changed, the operation fails with an InvalidTokenException. If this happens, retrieve the firewall again to get a current copy of it with a new token. Reapply your changes as needed, then try the operation again using the new token.

                                                                                                                                                                                                                                        diff --git a/sdk/networkfirewall/src/operation/update_logging_configuration/builders.rs b/sdk/networkfirewall/src/operation/update_logging_configuration/builders.rs index 01c43786bded..44009e01af08 100644 --- a/sdk/networkfirewall/src/operation/update_logging_configuration/builders.rs +++ b/sdk/networkfirewall/src/operation/update_logging_configuration/builders.rs @@ -27,9 +27,9 @@ impl UpdateLoggingConfigurationFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -91,6 +91,22 @@ impl UpdateLoggingConfigurationFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::update_logging_configuration::UpdateLoggingConfiguration, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::update_logging_configuration::UpdateLoggingConfigurationError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                        The Amazon Resource Name (ARN) of the firewall.

                                                                                                                                                                                                                                        ///

                                                                                                                                                                                                                                        You must specify the ARN or the name, and you can specify both.

                                                                                                                                                                                                                                        pub fn firewall_arn(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { diff --git a/sdk/networkfirewall/src/operation/update_rule_group/builders.rs b/sdk/networkfirewall/src/operation/update_rule_group/builders.rs index 3d0a941dd9f1..fe95d2703d41 100644 --- a/sdk/networkfirewall/src/operation/update_rule_group/builders.rs +++ b/sdk/networkfirewall/src/operation/update_rule_group/builders.rs @@ -20,9 +20,9 @@ impl UpdateRuleGroupFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -84,6 +84,22 @@ impl UpdateRuleGroupFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::update_rule_group::UpdateRuleGroup, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::update_rule_group::UpdateRuleGroupError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                        A token used for optimistic locking. Network Firewall returns a token to your requests that access the rule group. The token marks the state of the rule group resource at the time of the request.

                                                                                                                                                                                                                                        ///

                                                                                                                                                                                                                                        To make changes to the rule group, you provide the token in your request. Network Firewall uses the token to ensure that the rule group hasn't changed since you last retrieved it. If it has changed, the operation fails with an InvalidTokenException. If this happens, retrieve the rule group again to get a current copy of it with a current token. Reapply your changes as needed, then try the operation again using the new token.

                                                                                                                                                                                                                                        pub fn update_token(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { diff --git a/sdk/networkfirewall/src/operation/update_subnet_change_protection/builders.rs b/sdk/networkfirewall/src/operation/update_subnet_change_protection/builders.rs index 117deb9266c3..944944c5a684 100644 --- a/sdk/networkfirewall/src/operation/update_subnet_change_protection/builders.rs +++ b/sdk/networkfirewall/src/operation/update_subnet_change_protection/builders.rs @@ -19,9 +19,9 @@ impl UpdateSubnetChangeProtectionFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl UpdateSubnetChangeProtectionFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::update_subnet_change_protection::UpdateSubnetChangeProtection, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::update_subnet_change_protection::UpdateSubnetChangeProtectionError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                        An optional token that you can use for optimistic locking. Network Firewall returns a token to your requests that access the firewall. The token marks the state of the firewall resource at the time of the request.

                                                                                                                                                                                                                                        ///

                                                                                                                                                                                                                                        To make an unconditional change to the firewall, omit the token in your update request. Without the token, Network Firewall performs your updates regardless of whether the firewall has changed since you last retrieved it.

                                                                                                                                                                                                                                        ///

                                                                                                                                                                                                                                        To make a conditional change to the firewall, provide the token in your update request. Network Firewall uses the token to ensure that the firewall hasn't changed since you last retrieved it. If it has changed, the operation fails with an InvalidTokenException. If this happens, retrieve the firewall again to get a current copy of it with a new token. Reapply your changes as needed, then try the operation again using the new token.

                                                                                                                                                                                                                                        diff --git a/sdk/networkfirewall/src/operation/update_tls_inspection_configuration/builders.rs b/sdk/networkfirewall/src/operation/update_tls_inspection_configuration/builders.rs index e5764d564011..fa1fe9bd1665 100644 --- a/sdk/networkfirewall/src/operation/update_tls_inspection_configuration/builders.rs +++ b/sdk/networkfirewall/src/operation/update_tls_inspection_configuration/builders.rs @@ -20,9 +20,9 @@ impl UpdateTLSInspectionConfigurationFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize(self) -> ::std::result::Result< + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware(self) -> ::std::result::Result< crate::client::customize::CustomizableOperation, ::aws_smithy_http::result::SdkError >{ @@ -65,6 +65,15 @@ impl UpdateTLSInspectionConfigurationFluentBuilder { { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize(self) -> ::std::result::Result< + crate::client::customize::CustomizableOperation, + ::aws_smithy_http::result::SdkError + >{ + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                        The Amazon Resource Name (ARN) of the TLS inspection configuration.

                                                                                                                                                                                                                                        pub fn tls_inspection_configuration_arn( mut self, diff --git a/sdk/networkmanager/src/operation/accept_attachment/builders.rs b/sdk/networkmanager/src/operation/accept_attachment/builders.rs index 22dbf3ab8e0f..db86260c27e9 100644 --- a/sdk/networkmanager/src/operation/accept_attachment/builders.rs +++ b/sdk/networkmanager/src/operation/accept_attachment/builders.rs @@ -20,9 +20,9 @@ impl AcceptAttachmentFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -84,6 +84,22 @@ impl AcceptAttachmentFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::accept_attachment::AcceptAttachment, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::accept_attachment::AcceptAttachmentError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                        The ID of the attachment.

                                                                                                                                                                                                                                        pub fn attachment_id( mut self, diff --git a/sdk/networkmanager/src/operation/associate_connect_peer/builders.rs b/sdk/networkmanager/src/operation/associate_connect_peer/builders.rs index 9dfaa22fc3f6..fea4a99b7094 100644 --- a/sdk/networkmanager/src/operation/associate_connect_peer/builders.rs +++ b/sdk/networkmanager/src/operation/associate_connect_peer/builders.rs @@ -20,9 +20,9 @@ impl AssociateConnectPeerFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -84,6 +84,22 @@ impl AssociateConnectPeerFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::associate_connect_peer::AssociateConnectPeer, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::associate_connect_peer::AssociateConnectPeerError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                        The ID of your global network.

                                                                                                                                                                                                                                        pub fn global_network_id( mut self, diff --git a/sdk/networkmanager/src/operation/associate_customer_gateway/builders.rs b/sdk/networkmanager/src/operation/associate_customer_gateway/builders.rs index 707f0753e802..c804a186d4d7 100644 --- a/sdk/networkmanager/src/operation/associate_customer_gateway/builders.rs +++ b/sdk/networkmanager/src/operation/associate_customer_gateway/builders.rs @@ -21,9 +21,9 @@ impl AssociateCustomerGatewayFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -85,6 +85,22 @@ impl AssociateCustomerGatewayFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::associate_customer_gateway::AssociateCustomerGateway, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::associate_customer_gateway::AssociateCustomerGatewayError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                        The Amazon Resource Name (ARN) of the customer gateway.

                                                                                                                                                                                                                                        pub fn customer_gateway_arn( mut self, diff --git a/sdk/networkmanager/src/operation/associate_link/builders.rs b/sdk/networkmanager/src/operation/associate_link/builders.rs index d0b75d92d0f3..d8b7d5041d5b 100644 --- a/sdk/networkmanager/src/operation/associate_link/builders.rs +++ b/sdk/networkmanager/src/operation/associate_link/builders.rs @@ -19,9 +19,9 @@ impl AssociateLinkFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl AssociateLinkFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::associate_link::AssociateLink, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                        The ID of the global network.

                                                                                                                                                                                                                                        pub fn global_network_id( mut self, diff --git a/sdk/networkmanager/src/operation/associate_transit_gateway_connect_peer/builders.rs b/sdk/networkmanager/src/operation/associate_transit_gateway_connect_peer/builders.rs index 0dce89643130..21ecdc42aef4 100644 --- a/sdk/networkmanager/src/operation/associate_transit_gateway_connect_peer/builders.rs +++ b/sdk/networkmanager/src/operation/associate_transit_gateway_connect_peer/builders.rs @@ -21,9 +21,9 @@ impl AssociateTransitGatewayConnectPeerFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize(self) -> ::std::result::Result< + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware(self) -> ::std::result::Result< crate::client::customize::CustomizableOperation, ::aws_smithy_http::result::SdkError >{ @@ -66,6 +66,15 @@ impl AssociateTransitGatewayConnectPeerFluentBuilder { { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize(self) -> ::std::result::Result< + crate::client::customize::CustomizableOperation, + ::aws_smithy_http::result::SdkError + >{ + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                        The ID of the global network.

                                                                                                                                                                                                                                        pub fn global_network_id( mut self, diff --git a/sdk/networkmanager/src/operation/create_connect_attachment/builders.rs b/sdk/networkmanager/src/operation/create_connect_attachment/builders.rs index 436557649a3f..ced768a895ec 100644 --- a/sdk/networkmanager/src/operation/create_connect_attachment/builders.rs +++ b/sdk/networkmanager/src/operation/create_connect_attachment/builders.rs @@ -21,9 +21,9 @@ impl CreateConnectAttachmentFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -85,6 +85,22 @@ impl CreateConnectAttachmentFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::create_connect_attachment::CreateConnectAttachment, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::create_connect_attachment::CreateConnectAttachmentError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                        The ID of a core network where you want to create the attachment.

                                                                                                                                                                                                                                        pub fn core_network_id( mut self, diff --git a/sdk/networkmanager/src/operation/create_connect_peer/builders.rs b/sdk/networkmanager/src/operation/create_connect_peer/builders.rs index 2fe71dc9aaad..be1f485e5b92 100644 --- a/sdk/networkmanager/src/operation/create_connect_peer/builders.rs +++ b/sdk/networkmanager/src/operation/create_connect_peer/builders.rs @@ -19,9 +19,9 @@ impl CreateConnectPeerFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl CreateConnectPeerFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::create_connect_peer::CreateConnectPeer, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::create_connect_peer::CreateConnectPeerError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                        The ID of the connection attachment.

                                                                                                                                                                                                                                        pub fn connect_attachment_id( mut self, diff --git a/sdk/networkmanager/src/operation/create_connection/builders.rs b/sdk/networkmanager/src/operation/create_connection/builders.rs index 5ed7caae1f5f..44af61bcbd65 100644 --- a/sdk/networkmanager/src/operation/create_connection/builders.rs +++ b/sdk/networkmanager/src/operation/create_connection/builders.rs @@ -19,9 +19,9 @@ impl CreateConnectionFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl CreateConnectionFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::create_connection::CreateConnection, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::create_connection::CreateConnectionError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                        The ID of the global network.

                                                                                                                                                                                                                                        pub fn global_network_id( mut self, diff --git a/sdk/networkmanager/src/operation/create_core_network/builders.rs b/sdk/networkmanager/src/operation/create_core_network/builders.rs index ca9d2c443ae6..f4ff95914f5e 100644 --- a/sdk/networkmanager/src/operation/create_core_network/builders.rs +++ b/sdk/networkmanager/src/operation/create_core_network/builders.rs @@ -19,9 +19,9 @@ impl CreateCoreNetworkFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl CreateCoreNetworkFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::create_core_network::CreateCoreNetwork, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::create_core_network::CreateCoreNetworkError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                        The ID of the global network that a core network will be a part of.

                                                                                                                                                                                                                                        pub fn global_network_id( mut self, diff --git a/sdk/networkmanager/src/operation/create_device/builders.rs b/sdk/networkmanager/src/operation/create_device/builders.rs index 5a761e8bf8c8..9e98e87e154f 100644 --- a/sdk/networkmanager/src/operation/create_device/builders.rs +++ b/sdk/networkmanager/src/operation/create_device/builders.rs @@ -19,9 +19,9 @@ impl CreateDeviceFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl CreateDeviceFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::create_device::CreateDevice, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                        The ID of the global network.

                                                                                                                                                                                                                                        pub fn global_network_id( mut self, diff --git a/sdk/networkmanager/src/operation/create_global_network/builders.rs b/sdk/networkmanager/src/operation/create_global_network/builders.rs index 63ffaddf03b7..85cc86cc377f 100644 --- a/sdk/networkmanager/src/operation/create_global_network/builders.rs +++ b/sdk/networkmanager/src/operation/create_global_network/builders.rs @@ -19,9 +19,9 @@ impl CreateGlobalNetworkFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl CreateGlobalNetworkFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::create_global_network::CreateGlobalNetwork, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::create_global_network::CreateGlobalNetworkError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                        A description of the global network.

                                                                                                                                                                                                                                        ///

                                                                                                                                                                                                                                        Constraints: Maximum length of 256 characters.

                                                                                                                                                                                                                                        pub fn description(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { diff --git a/sdk/networkmanager/src/operation/create_link/builders.rs b/sdk/networkmanager/src/operation/create_link/builders.rs index b8a5b6b115cf..ab2b0cea9247 100644 --- a/sdk/networkmanager/src/operation/create_link/builders.rs +++ b/sdk/networkmanager/src/operation/create_link/builders.rs @@ -19,9 +19,9 @@ impl CreateLinkFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl CreateLinkFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::create_link::CreateLink, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                        The ID of the global network.

                                                                                                                                                                                                                                        pub fn global_network_id( mut self, diff --git a/sdk/networkmanager/src/operation/create_site/builders.rs b/sdk/networkmanager/src/operation/create_site/builders.rs index 8f6c05501c1f..b6738baa974d 100644 --- a/sdk/networkmanager/src/operation/create_site/builders.rs +++ b/sdk/networkmanager/src/operation/create_site/builders.rs @@ -19,9 +19,9 @@ impl CreateSiteFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl CreateSiteFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::create_site::CreateSite, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                        The ID of the global network.

                                                                                                                                                                                                                                        pub fn global_network_id( mut self, diff --git a/sdk/networkmanager/src/operation/create_site_to_site_vpn_attachment/builders.rs b/sdk/networkmanager/src/operation/create_site_to_site_vpn_attachment/builders.rs index 2b83a692153c..09358c74fccc 100644 --- a/sdk/networkmanager/src/operation/create_site_to_site_vpn_attachment/builders.rs +++ b/sdk/networkmanager/src/operation/create_site_to_site_vpn_attachment/builders.rs @@ -19,9 +19,9 @@ impl CreateSiteToSiteVpnAttachmentFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize(self) -> ::std::result::Result< + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware(self) -> ::std::result::Result< crate::client::customize::CustomizableOperation, ::aws_smithy_http::result::SdkError >{ @@ -64,6 +64,15 @@ impl CreateSiteToSiteVpnAttachmentFluentBuilder { { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize(self) -> ::std::result::Result< + crate::client::customize::CustomizableOperation, + ::aws_smithy_http::result::SdkError + >{ + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                        The ID of a core network where you're creating a site-to-site VPN attachment.

                                                                                                                                                                                                                                        pub fn core_network_id( mut self, diff --git a/sdk/networkmanager/src/operation/create_transit_gateway_peering/builders.rs b/sdk/networkmanager/src/operation/create_transit_gateway_peering/builders.rs index bc64c7f767d9..07000662d559 100644 --- a/sdk/networkmanager/src/operation/create_transit_gateway_peering/builders.rs +++ b/sdk/networkmanager/src/operation/create_transit_gateway_peering/builders.rs @@ -19,9 +19,9 @@ impl CreateTransitGatewayPeeringFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl CreateTransitGatewayPeeringFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::create_transit_gateway_peering::CreateTransitGatewayPeering, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::create_transit_gateway_peering::CreateTransitGatewayPeeringError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                        The ID of a core network.

                                                                                                                                                                                                                                        pub fn core_network_id( mut self, diff --git a/sdk/networkmanager/src/operation/create_transit_gateway_route_table_attachment/builders.rs b/sdk/networkmanager/src/operation/create_transit_gateway_route_table_attachment/builders.rs index 99850fe28573..ebe0fbda3d7c 100644 --- a/sdk/networkmanager/src/operation/create_transit_gateway_route_table_attachment/builders.rs +++ b/sdk/networkmanager/src/operation/create_transit_gateway_route_table_attachment/builders.rs @@ -19,9 +19,9 @@ impl CreateTransitGatewayRouteTableAttachmentFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize(self) -> ::std::result::Result< + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware(self) -> ::std::result::Result< crate::client::customize::CustomizableOperation, ::aws_smithy_http::result::SdkError >{ @@ -64,6 +64,15 @@ impl CreateTransitGatewayRouteTableAttachmentFluentBuilder { { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize(self) -> ::std::result::Result< + crate::client::customize::CustomizableOperation, + ::aws_smithy_http::result::SdkError + >{ + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                        The ID of the peer for the

                                                                                                                                                                                                                                        pub fn peering_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.peering_id(input.into()); diff --git a/sdk/networkmanager/src/operation/create_vpc_attachment/builders.rs b/sdk/networkmanager/src/operation/create_vpc_attachment/builders.rs index b2242b95ee50..af53565a5bfa 100644 --- a/sdk/networkmanager/src/operation/create_vpc_attachment/builders.rs +++ b/sdk/networkmanager/src/operation/create_vpc_attachment/builders.rs @@ -19,9 +19,9 @@ impl CreateVpcAttachmentFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl CreateVpcAttachmentFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::create_vpc_attachment::CreateVpcAttachment, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::create_vpc_attachment::CreateVpcAttachmentError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                        The ID of a core network for the VPC attachment.

                                                                                                                                                                                                                                        pub fn core_network_id( mut self, diff --git a/sdk/networkmanager/src/operation/delete_attachment/builders.rs b/sdk/networkmanager/src/operation/delete_attachment/builders.rs index 0355498ed859..402650446ef8 100644 --- a/sdk/networkmanager/src/operation/delete_attachment/builders.rs +++ b/sdk/networkmanager/src/operation/delete_attachment/builders.rs @@ -19,9 +19,9 @@ impl DeleteAttachmentFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl DeleteAttachmentFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::delete_attachment::DeleteAttachment, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::delete_attachment::DeleteAttachmentError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                        The ID of the attachment to delete.

                                                                                                                                                                                                                                        pub fn attachment_id( mut self, diff --git a/sdk/networkmanager/src/operation/delete_connect_peer/builders.rs b/sdk/networkmanager/src/operation/delete_connect_peer/builders.rs index 91c10c2f782f..c64feb1279b5 100644 --- a/sdk/networkmanager/src/operation/delete_connect_peer/builders.rs +++ b/sdk/networkmanager/src/operation/delete_connect_peer/builders.rs @@ -19,9 +19,9 @@ impl DeleteConnectPeerFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl DeleteConnectPeerFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::delete_connect_peer::DeleteConnectPeer, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::delete_connect_peer::DeleteConnectPeerError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                        The ID of the deleted Connect peer.

                                                                                                                                                                                                                                        pub fn connect_peer_id( mut self, diff --git a/sdk/networkmanager/src/operation/delete_connection/builders.rs b/sdk/networkmanager/src/operation/delete_connection/builders.rs index 3902c7605d41..2190eeefcd99 100644 --- a/sdk/networkmanager/src/operation/delete_connection/builders.rs +++ b/sdk/networkmanager/src/operation/delete_connection/builders.rs @@ -19,9 +19,9 @@ impl DeleteConnectionFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl DeleteConnectionFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::delete_connection::DeleteConnection, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::delete_connection::DeleteConnectionError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                        The ID of the global network.

                                                                                                                                                                                                                                        pub fn global_network_id( mut self, diff --git a/sdk/networkmanager/src/operation/delete_core_network/builders.rs b/sdk/networkmanager/src/operation/delete_core_network/builders.rs index d2dfe09d8fdf..758107511af6 100644 --- a/sdk/networkmanager/src/operation/delete_core_network/builders.rs +++ b/sdk/networkmanager/src/operation/delete_core_network/builders.rs @@ -19,9 +19,9 @@ impl DeleteCoreNetworkFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl DeleteCoreNetworkFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::delete_core_network::DeleteCoreNetwork, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::delete_core_network::DeleteCoreNetworkError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                        The network ID of the deleted core network.

                                                                                                                                                                                                                                        pub fn core_network_id( mut self, diff --git a/sdk/networkmanager/src/operation/delete_core_network_policy_version/builders.rs b/sdk/networkmanager/src/operation/delete_core_network_policy_version/builders.rs index 0e3188749beb..e3632fcec253 100644 --- a/sdk/networkmanager/src/operation/delete_core_network_policy_version/builders.rs +++ b/sdk/networkmanager/src/operation/delete_core_network_policy_version/builders.rs @@ -19,9 +19,9 @@ impl DeleteCoreNetworkPolicyVersionFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize(self) -> ::std::result::Result< + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware(self) -> ::std::result::Result< crate::client::customize::CustomizableOperation, ::aws_smithy_http::result::SdkError >{ @@ -64,6 +64,15 @@ impl DeleteCoreNetworkPolicyVersionFluentBuilder { { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize(self) -> ::std::result::Result< + crate::client::customize::CustomizableOperation, + ::aws_smithy_http::result::SdkError + >{ + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                        The ID of a core network for the deleted policy.

                                                                                                                                                                                                                                        pub fn core_network_id( mut self, diff --git a/sdk/networkmanager/src/operation/delete_device/builders.rs b/sdk/networkmanager/src/operation/delete_device/builders.rs index 25c551fbe551..4c294fea3e41 100644 --- a/sdk/networkmanager/src/operation/delete_device/builders.rs +++ b/sdk/networkmanager/src/operation/delete_device/builders.rs @@ -19,9 +19,9 @@ impl DeleteDeviceFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl DeleteDeviceFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::delete_device::DeleteDevice, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                        The ID of the global network.

                                                                                                                                                                                                                                        pub fn global_network_id( mut self, diff --git a/sdk/networkmanager/src/operation/delete_global_network/builders.rs b/sdk/networkmanager/src/operation/delete_global_network/builders.rs index 1c222b1cbdcd..6088b571a028 100644 --- a/sdk/networkmanager/src/operation/delete_global_network/builders.rs +++ b/sdk/networkmanager/src/operation/delete_global_network/builders.rs @@ -19,9 +19,9 @@ impl DeleteGlobalNetworkFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl DeleteGlobalNetworkFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::delete_global_network::DeleteGlobalNetwork, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::delete_global_network::DeleteGlobalNetworkError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                        The ID of the global network.

                                                                                                                                                                                                                                        pub fn global_network_id( mut self, diff --git a/sdk/networkmanager/src/operation/delete_link/builders.rs b/sdk/networkmanager/src/operation/delete_link/builders.rs index 095c29abbfb0..102fb0f1ed55 100644 --- a/sdk/networkmanager/src/operation/delete_link/builders.rs +++ b/sdk/networkmanager/src/operation/delete_link/builders.rs @@ -19,9 +19,9 @@ impl DeleteLinkFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl DeleteLinkFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::delete_link::DeleteLink, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                        The ID of the global network.

                                                                                                                                                                                                                                        pub fn global_network_id( mut self, diff --git a/sdk/networkmanager/src/operation/delete_peering/builders.rs b/sdk/networkmanager/src/operation/delete_peering/builders.rs index f812d5980b64..2b58fe73cb52 100644 --- a/sdk/networkmanager/src/operation/delete_peering/builders.rs +++ b/sdk/networkmanager/src/operation/delete_peering/builders.rs @@ -19,9 +19,9 @@ impl DeletePeeringFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl DeletePeeringFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::delete_peering::DeletePeering, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                        The ID of the peering connection to delete.

                                                                                                                                                                                                                                        pub fn peering_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.peering_id(input.into()); diff --git a/sdk/networkmanager/src/operation/delete_resource_policy/builders.rs b/sdk/networkmanager/src/operation/delete_resource_policy/builders.rs index bd7873cf1d45..d299eacb1c80 100644 --- a/sdk/networkmanager/src/operation/delete_resource_policy/builders.rs +++ b/sdk/networkmanager/src/operation/delete_resource_policy/builders.rs @@ -19,9 +19,9 @@ impl DeleteResourcePolicyFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl DeleteResourcePolicyFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::delete_resource_policy::DeleteResourcePolicy, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::delete_resource_policy::DeleteResourcePolicyError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                        The ARN of the policy to delete.

                                                                                                                                                                                                                                        pub fn resource_arn(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.resource_arn(input.into()); diff --git a/sdk/networkmanager/src/operation/delete_site/builders.rs b/sdk/networkmanager/src/operation/delete_site/builders.rs index 66c653989ef0..3ea57b55ca3d 100644 --- a/sdk/networkmanager/src/operation/delete_site/builders.rs +++ b/sdk/networkmanager/src/operation/delete_site/builders.rs @@ -19,9 +19,9 @@ impl DeleteSiteFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl DeleteSiteFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::delete_site::DeleteSite, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                        The ID of the global network.

                                                                                                                                                                                                                                        pub fn global_network_id( mut self, diff --git a/sdk/networkmanager/src/operation/deregister_transit_gateway/builders.rs b/sdk/networkmanager/src/operation/deregister_transit_gateway/builders.rs index ab3b6b76ec77..cb73238e4f49 100644 --- a/sdk/networkmanager/src/operation/deregister_transit_gateway/builders.rs +++ b/sdk/networkmanager/src/operation/deregister_transit_gateway/builders.rs @@ -19,9 +19,9 @@ impl DeregisterTransitGatewayFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl DeregisterTransitGatewayFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::deregister_transit_gateway::DeregisterTransitGateway, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::deregister_transit_gateway::DeregisterTransitGatewayError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                        The ID of the global network.

                                                                                                                                                                                                                                        pub fn global_network_id( mut self, diff --git a/sdk/networkmanager/src/operation/describe_global_networks/builders.rs b/sdk/networkmanager/src/operation/describe_global_networks/builders.rs index e3928156ad87..1f64ab7df1fa 100644 --- a/sdk/networkmanager/src/operation/describe_global_networks/builders.rs +++ b/sdk/networkmanager/src/operation/describe_global_networks/builders.rs @@ -19,9 +19,9 @@ impl DescribeGlobalNetworksFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl DescribeGlobalNetworksFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::describe_global_networks::DescribeGlobalNetworks, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::describe_global_networks::DescribeGlobalNetworksError, + >, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::describe_global_networks::paginator::DescribeGlobalNetworksPaginator::send) which returns a `Stream`. diff --git a/sdk/networkmanager/src/operation/disassociate_connect_peer/builders.rs b/sdk/networkmanager/src/operation/disassociate_connect_peer/builders.rs index efb96634eaf0..7464286352a8 100644 --- a/sdk/networkmanager/src/operation/disassociate_connect_peer/builders.rs +++ b/sdk/networkmanager/src/operation/disassociate_connect_peer/builders.rs @@ -20,9 +20,9 @@ impl DisassociateConnectPeerFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -84,6 +84,22 @@ impl DisassociateConnectPeerFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::disassociate_connect_peer::DisassociateConnectPeer, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::disassociate_connect_peer::DisassociateConnectPeerError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                        The ID of the global network.

                                                                                                                                                                                                                                        pub fn global_network_id( mut self, diff --git a/sdk/networkmanager/src/operation/disassociate_customer_gateway/builders.rs b/sdk/networkmanager/src/operation/disassociate_customer_gateway/builders.rs index 4ac329d93035..19d34e696074 100644 --- a/sdk/networkmanager/src/operation/disassociate_customer_gateway/builders.rs +++ b/sdk/networkmanager/src/operation/disassociate_customer_gateway/builders.rs @@ -19,9 +19,9 @@ impl DisassociateCustomerGatewayFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl DisassociateCustomerGatewayFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::disassociate_customer_gateway::DisassociateCustomerGateway, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::disassociate_customer_gateway::DisassociateCustomerGatewayError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                        The ID of the global network.

                                                                                                                                                                                                                                        pub fn global_network_id( mut self, diff --git a/sdk/networkmanager/src/operation/disassociate_link/builders.rs b/sdk/networkmanager/src/operation/disassociate_link/builders.rs index 1aff17c6a7e6..3a5c522b4b1f 100644 --- a/sdk/networkmanager/src/operation/disassociate_link/builders.rs +++ b/sdk/networkmanager/src/operation/disassociate_link/builders.rs @@ -19,9 +19,9 @@ impl DisassociateLinkFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl DisassociateLinkFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::disassociate_link::DisassociateLink, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::disassociate_link::DisassociateLinkError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                        The ID of the global network.

                                                                                                                                                                                                                                        pub fn global_network_id( mut self, diff --git a/sdk/networkmanager/src/operation/disassociate_transit_gateway_connect_peer/builders.rs b/sdk/networkmanager/src/operation/disassociate_transit_gateway_connect_peer/builders.rs index 98faaaa310e1..ed59b4083e6f 100644 --- a/sdk/networkmanager/src/operation/disassociate_transit_gateway_connect_peer/builders.rs +++ b/sdk/networkmanager/src/operation/disassociate_transit_gateway_connect_peer/builders.rs @@ -19,9 +19,9 @@ impl DisassociateTransitGatewayConnectPeerFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize(self) -> ::std::result::Result< + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware(self) -> ::std::result::Result< crate::client::customize::CustomizableOperation, ::aws_smithy_http::result::SdkError >{ @@ -64,6 +64,15 @@ impl DisassociateTransitGatewayConnectPeerFluentBuilder { { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize(self) -> ::std::result::Result< + crate::client::customize::CustomizableOperation, + ::aws_smithy_http::result::SdkError + >{ + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                        The ID of the global network.

                                                                                                                                                                                                                                        pub fn global_network_id( mut self, diff --git a/sdk/networkmanager/src/operation/execute_core_network_change_set/builders.rs b/sdk/networkmanager/src/operation/execute_core_network_change_set/builders.rs index 3c1b73a2a20a..20be0a528a96 100644 --- a/sdk/networkmanager/src/operation/execute_core_network_change_set/builders.rs +++ b/sdk/networkmanager/src/operation/execute_core_network_change_set/builders.rs @@ -19,9 +19,9 @@ impl ExecuteCoreNetworkChangeSetFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl ExecuteCoreNetworkChangeSetFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::execute_core_network_change_set::ExecuteCoreNetworkChangeSet, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::execute_core_network_change_set::ExecuteCoreNetworkChangeSetError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                        The ID of a core network.

                                                                                                                                                                                                                                        pub fn core_network_id( mut self, diff --git a/sdk/networkmanager/src/operation/get_connect_attachment/builders.rs b/sdk/networkmanager/src/operation/get_connect_attachment/builders.rs index 638acdad7fa3..03b8d48d0fdc 100644 --- a/sdk/networkmanager/src/operation/get_connect_attachment/builders.rs +++ b/sdk/networkmanager/src/operation/get_connect_attachment/builders.rs @@ -19,9 +19,9 @@ impl GetConnectAttachmentFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl GetConnectAttachmentFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::get_connect_attachment::GetConnectAttachment, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::get_connect_attachment::GetConnectAttachmentError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                        The ID of the attachment.

                                                                                                                                                                                                                                        pub fn attachment_id( mut self, diff --git a/sdk/networkmanager/src/operation/get_connect_peer/builders.rs b/sdk/networkmanager/src/operation/get_connect_peer/builders.rs index b16116ad5343..06a98d794e99 100644 --- a/sdk/networkmanager/src/operation/get_connect_peer/builders.rs +++ b/sdk/networkmanager/src/operation/get_connect_peer/builders.rs @@ -19,9 +19,9 @@ impl GetConnectPeerFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl GetConnectPeerFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::get_connect_peer::GetConnectPeer, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::get_connect_peer::GetConnectPeerError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                        The ID of the Connect peer.

                                                                                                                                                                                                                                        pub fn connect_peer_id( mut self, diff --git a/sdk/networkmanager/src/operation/get_connect_peer_associations/builders.rs b/sdk/networkmanager/src/operation/get_connect_peer_associations/builders.rs index 6dfed222260d..b52dde1f3f98 100644 --- a/sdk/networkmanager/src/operation/get_connect_peer_associations/builders.rs +++ b/sdk/networkmanager/src/operation/get_connect_peer_associations/builders.rs @@ -19,9 +19,9 @@ impl GetConnectPeerAssociationsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl GetConnectPeerAssociationsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::get_connect_peer_associations::GetConnectPeerAssociations, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::get_connect_peer_associations::GetConnectPeerAssociationsError, + >, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::get_connect_peer_associations::paginator::GetConnectPeerAssociationsPaginator::send) which returns a `Stream`. diff --git a/sdk/networkmanager/src/operation/get_connections/builders.rs b/sdk/networkmanager/src/operation/get_connections/builders.rs index 99bc723446b2..afdd3f5ec123 100644 --- a/sdk/networkmanager/src/operation/get_connections/builders.rs +++ b/sdk/networkmanager/src/operation/get_connections/builders.rs @@ -19,9 +19,9 @@ impl GetConnectionsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl GetConnectionsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::get_connections::GetConnections, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::get_connections::paginator::GetConnectionsPaginator::send) which returns a `Stream`. diff --git a/sdk/networkmanager/src/operation/get_core_network/builders.rs b/sdk/networkmanager/src/operation/get_core_network/builders.rs index a486cbc7fecd..eba8296ed025 100644 --- a/sdk/networkmanager/src/operation/get_core_network/builders.rs +++ b/sdk/networkmanager/src/operation/get_core_network/builders.rs @@ -19,9 +19,9 @@ impl GetCoreNetworkFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl GetCoreNetworkFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::get_core_network::GetCoreNetwork, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::get_core_network::GetCoreNetworkError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                        The ID of a core network.

                                                                                                                                                                                                                                        pub fn core_network_id( mut self, diff --git a/sdk/networkmanager/src/operation/get_core_network_change_events/builders.rs b/sdk/networkmanager/src/operation/get_core_network_change_events/builders.rs index ed5010fae2a5..699f2ecfd14f 100644 --- a/sdk/networkmanager/src/operation/get_core_network_change_events/builders.rs +++ b/sdk/networkmanager/src/operation/get_core_network_change_events/builders.rs @@ -19,9 +19,9 @@ impl GetCoreNetworkChangeEventsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl GetCoreNetworkChangeEventsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::get_core_network_change_events::GetCoreNetworkChangeEvents, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::get_core_network_change_events::GetCoreNetworkChangeEventsError, + >, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::get_core_network_change_events::paginator::GetCoreNetworkChangeEventsPaginator::send) which returns a `Stream`. diff --git a/sdk/networkmanager/src/operation/get_core_network_change_set/builders.rs b/sdk/networkmanager/src/operation/get_core_network_change_set/builders.rs index 88f0159a45e4..77471a20f5df 100644 --- a/sdk/networkmanager/src/operation/get_core_network_change_set/builders.rs +++ b/sdk/networkmanager/src/operation/get_core_network_change_set/builders.rs @@ -19,9 +19,9 @@ impl GetCoreNetworkChangeSetFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl GetCoreNetworkChangeSetFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::get_core_network_change_set::GetCoreNetworkChangeSet, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::get_core_network_change_set::GetCoreNetworkChangeSetError, + >, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::get_core_network_change_set::paginator::GetCoreNetworkChangeSetPaginator::send) which returns a `Stream`. diff --git a/sdk/networkmanager/src/operation/get_core_network_policy/builders.rs b/sdk/networkmanager/src/operation/get_core_network_policy/builders.rs index fbc0d1ec09fe..f8dcac8b07c7 100644 --- a/sdk/networkmanager/src/operation/get_core_network_policy/builders.rs +++ b/sdk/networkmanager/src/operation/get_core_network_policy/builders.rs @@ -19,9 +19,9 @@ impl GetCoreNetworkPolicyFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl GetCoreNetworkPolicyFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::get_core_network_policy::GetCoreNetworkPolicy, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::get_core_network_policy::GetCoreNetworkPolicyError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                        The ID of a core network.

                                                                                                                                                                                                                                        pub fn core_network_id( mut self, diff --git a/sdk/networkmanager/src/operation/get_customer_gateway_associations/builders.rs b/sdk/networkmanager/src/operation/get_customer_gateway_associations/builders.rs index b46391120682..abcf8fda98c8 100644 --- a/sdk/networkmanager/src/operation/get_customer_gateway_associations/builders.rs +++ b/sdk/networkmanager/src/operation/get_customer_gateway_associations/builders.rs @@ -19,9 +19,9 @@ impl GetCustomerGatewayAssociationsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize(self) -> ::std::result::Result< + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware(self) -> ::std::result::Result< crate::client::customize::CustomizableOperation, ::aws_smithy_http::result::SdkError >{ @@ -64,6 +64,15 @@ impl GetCustomerGatewayAssociationsFluentBuilder { { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize(self) -> ::std::result::Result< + crate::client::customize::CustomizableOperation, + ::aws_smithy_http::result::SdkError + >{ + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::get_customer_gateway_associations::paginator::GetCustomerGatewayAssociationsPaginator::send) which returns a `Stream`. diff --git a/sdk/networkmanager/src/operation/get_devices/builders.rs b/sdk/networkmanager/src/operation/get_devices/builders.rs index bf6164ea773e..b91fe6fba6c3 100644 --- a/sdk/networkmanager/src/operation/get_devices/builders.rs +++ b/sdk/networkmanager/src/operation/get_devices/builders.rs @@ -19,9 +19,9 @@ impl GetDevicesFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl GetDevicesFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::get_devices::GetDevices, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::get_devices::paginator::GetDevicesPaginator::send) which returns a `Stream`. diff --git a/sdk/networkmanager/src/operation/get_link_associations/builders.rs b/sdk/networkmanager/src/operation/get_link_associations/builders.rs index b5cda46b93a1..39e93b1d2448 100644 --- a/sdk/networkmanager/src/operation/get_link_associations/builders.rs +++ b/sdk/networkmanager/src/operation/get_link_associations/builders.rs @@ -19,9 +19,9 @@ impl GetLinkAssociationsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl GetLinkAssociationsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::get_link_associations::GetLinkAssociations, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::get_link_associations::GetLinkAssociationsError, + >, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::get_link_associations::paginator::GetLinkAssociationsPaginator::send) which returns a `Stream`. diff --git a/sdk/networkmanager/src/operation/get_links/builders.rs b/sdk/networkmanager/src/operation/get_links/builders.rs index a270f71abdd6..dcf907da848b 100644 --- a/sdk/networkmanager/src/operation/get_links/builders.rs +++ b/sdk/networkmanager/src/operation/get_links/builders.rs @@ -20,9 +20,9 @@ impl GetLinksFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -78,6 +78,20 @@ impl GetLinksFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::get_links::GetLinks, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::get_links::paginator::GetLinksPaginator::send) which returns a `Stream`. diff --git a/sdk/networkmanager/src/operation/get_network_resource_counts/builders.rs b/sdk/networkmanager/src/operation/get_network_resource_counts/builders.rs index 151903692402..0710fb2de569 100644 --- a/sdk/networkmanager/src/operation/get_network_resource_counts/builders.rs +++ b/sdk/networkmanager/src/operation/get_network_resource_counts/builders.rs @@ -19,9 +19,9 @@ impl GetNetworkResourceCountsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl GetNetworkResourceCountsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::get_network_resource_counts::GetNetworkResourceCounts, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::get_network_resource_counts::GetNetworkResourceCountsError, + >, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::get_network_resource_counts::paginator::GetNetworkResourceCountsPaginator::send) which returns a `Stream`. diff --git a/sdk/networkmanager/src/operation/get_network_resource_relationships/builders.rs b/sdk/networkmanager/src/operation/get_network_resource_relationships/builders.rs index 17684a5b405f..fee70390c086 100644 --- a/sdk/networkmanager/src/operation/get_network_resource_relationships/builders.rs +++ b/sdk/networkmanager/src/operation/get_network_resource_relationships/builders.rs @@ -19,9 +19,9 @@ impl GetNetworkResourceRelationshipsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize(self) -> ::std::result::Result< + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware(self) -> ::std::result::Result< crate::client::customize::CustomizableOperation, ::aws_smithy_http::result::SdkError >{ @@ -64,6 +64,15 @@ impl GetNetworkResourceRelationshipsFluentBuilder { { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize(self) -> ::std::result::Result< + crate::client::customize::CustomizableOperation, + ::aws_smithy_http::result::SdkError + >{ + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::get_network_resource_relationships::paginator::GetNetworkResourceRelationshipsPaginator::send) which returns a `Stream`. diff --git a/sdk/networkmanager/src/operation/get_network_resources/builders.rs b/sdk/networkmanager/src/operation/get_network_resources/builders.rs index 1ff832e79312..d15d174a3bda 100644 --- a/sdk/networkmanager/src/operation/get_network_resources/builders.rs +++ b/sdk/networkmanager/src/operation/get_network_resources/builders.rs @@ -20,9 +20,9 @@ impl GetNetworkResourcesFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -84,6 +84,22 @@ impl GetNetworkResourcesFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::get_network_resources::GetNetworkResources, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::get_network_resources::GetNetworkResourcesError, + >, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::get_network_resources::paginator::GetNetworkResourcesPaginator::send) which returns a `Stream`. diff --git a/sdk/networkmanager/src/operation/get_network_routes/builders.rs b/sdk/networkmanager/src/operation/get_network_routes/builders.rs index a9340f0e243b..914b6ba3558f 100644 --- a/sdk/networkmanager/src/operation/get_network_routes/builders.rs +++ b/sdk/networkmanager/src/operation/get_network_routes/builders.rs @@ -19,9 +19,9 @@ impl GetNetworkRoutesFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl GetNetworkRoutesFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::get_network_routes::GetNetworkRoutes, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::get_network_routes::GetNetworkRoutesError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                        The ID of the global network.

                                                                                                                                                                                                                                        pub fn global_network_id( mut self, diff --git a/sdk/networkmanager/src/operation/get_network_telemetry/builders.rs b/sdk/networkmanager/src/operation/get_network_telemetry/builders.rs index 4cc914c015bc..871768324035 100644 --- a/sdk/networkmanager/src/operation/get_network_telemetry/builders.rs +++ b/sdk/networkmanager/src/operation/get_network_telemetry/builders.rs @@ -19,9 +19,9 @@ impl GetNetworkTelemetryFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl GetNetworkTelemetryFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::get_network_telemetry::GetNetworkTelemetry, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::get_network_telemetry::GetNetworkTelemetryError, + >, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::get_network_telemetry::paginator::GetNetworkTelemetryPaginator::send) which returns a `Stream`. diff --git a/sdk/networkmanager/src/operation/get_resource_policy/builders.rs b/sdk/networkmanager/src/operation/get_resource_policy/builders.rs index e5e2051a8239..8a0acc39b49d 100644 --- a/sdk/networkmanager/src/operation/get_resource_policy/builders.rs +++ b/sdk/networkmanager/src/operation/get_resource_policy/builders.rs @@ -19,9 +19,9 @@ impl GetResourcePolicyFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl GetResourcePolicyFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::get_resource_policy::GetResourcePolicy, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::get_resource_policy::GetResourcePolicyError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                        The ARN of the resource.

                                                                                                                                                                                                                                        pub fn resource_arn(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.resource_arn(input.into()); diff --git a/sdk/networkmanager/src/operation/get_route_analysis/builders.rs b/sdk/networkmanager/src/operation/get_route_analysis/builders.rs index 375dd6850e0a..a565df819dea 100644 --- a/sdk/networkmanager/src/operation/get_route_analysis/builders.rs +++ b/sdk/networkmanager/src/operation/get_route_analysis/builders.rs @@ -19,9 +19,9 @@ impl GetRouteAnalysisFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl GetRouteAnalysisFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::get_route_analysis::GetRouteAnalysis, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::get_route_analysis::GetRouteAnalysisError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                        The ID of the global network.

                                                                                                                                                                                                                                        pub fn global_network_id( mut self, diff --git a/sdk/networkmanager/src/operation/get_site_to_site_vpn_attachment/builders.rs b/sdk/networkmanager/src/operation/get_site_to_site_vpn_attachment/builders.rs index bd8f15616fb5..a4030ea8bf88 100644 --- a/sdk/networkmanager/src/operation/get_site_to_site_vpn_attachment/builders.rs +++ b/sdk/networkmanager/src/operation/get_site_to_site_vpn_attachment/builders.rs @@ -19,9 +19,9 @@ impl GetSiteToSiteVpnAttachmentFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl GetSiteToSiteVpnAttachmentFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::get_site_to_site_vpn_attachment::GetSiteToSiteVpnAttachment, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::get_site_to_site_vpn_attachment::GetSiteToSiteVpnAttachmentError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                        The ID of the attachment.

                                                                                                                                                                                                                                        pub fn attachment_id( mut self, diff --git a/sdk/networkmanager/src/operation/get_sites/builders.rs b/sdk/networkmanager/src/operation/get_sites/builders.rs index dbc0cf3e782f..73f605d2a0fb 100644 --- a/sdk/networkmanager/src/operation/get_sites/builders.rs +++ b/sdk/networkmanager/src/operation/get_sites/builders.rs @@ -19,9 +19,9 @@ impl GetSitesFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl GetSitesFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::get_sites::GetSites, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::get_sites::paginator::GetSitesPaginator::send) which returns a `Stream`. diff --git a/sdk/networkmanager/src/operation/get_transit_gateway_connect_peer_associations/builders.rs b/sdk/networkmanager/src/operation/get_transit_gateway_connect_peer_associations/builders.rs index e6cc5f9f2661..5edd064964a9 100644 --- a/sdk/networkmanager/src/operation/get_transit_gateway_connect_peer_associations/builders.rs +++ b/sdk/networkmanager/src/operation/get_transit_gateway_connect_peer_associations/builders.rs @@ -19,9 +19,9 @@ impl GetTransitGatewayConnectPeerAssociationsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize(self) -> ::std::result::Result< + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware(self) -> ::std::result::Result< crate::client::customize::CustomizableOperation, ::aws_smithy_http::result::SdkError >{ @@ -64,6 +64,15 @@ impl GetTransitGatewayConnectPeerAssociationsFluentBuilder { { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize(self) -> ::std::result::Result< + crate::client::customize::CustomizableOperation, + ::aws_smithy_http::result::SdkError + >{ + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::get_transit_gateway_connect_peer_associations::paginator::GetTransitGatewayConnectPeerAssociationsPaginator::send) which returns a `Stream`. diff --git a/sdk/networkmanager/src/operation/get_transit_gateway_peering/builders.rs b/sdk/networkmanager/src/operation/get_transit_gateway_peering/builders.rs index aeadb61f2881..2016749dd902 100644 --- a/sdk/networkmanager/src/operation/get_transit_gateway_peering/builders.rs +++ b/sdk/networkmanager/src/operation/get_transit_gateway_peering/builders.rs @@ -19,9 +19,9 @@ impl GetTransitGatewayPeeringFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl GetTransitGatewayPeeringFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::get_transit_gateway_peering::GetTransitGatewayPeering, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::get_transit_gateway_peering::GetTransitGatewayPeeringError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                        The ID of the peering request.

                                                                                                                                                                                                                                        pub fn peering_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.peering_id(input.into()); diff --git a/sdk/networkmanager/src/operation/get_transit_gateway_registrations/builders.rs b/sdk/networkmanager/src/operation/get_transit_gateway_registrations/builders.rs index 45e92f5b2586..43312ba98466 100644 --- a/sdk/networkmanager/src/operation/get_transit_gateway_registrations/builders.rs +++ b/sdk/networkmanager/src/operation/get_transit_gateway_registrations/builders.rs @@ -19,9 +19,9 @@ impl GetTransitGatewayRegistrationsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize(self) -> ::std::result::Result< + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware(self) -> ::std::result::Result< crate::client::customize::CustomizableOperation, ::aws_smithy_http::result::SdkError >{ @@ -64,6 +64,15 @@ impl GetTransitGatewayRegistrationsFluentBuilder { { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize(self) -> ::std::result::Result< + crate::client::customize::CustomizableOperation, + ::aws_smithy_http::result::SdkError + >{ + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::get_transit_gateway_registrations::paginator::GetTransitGatewayRegistrationsPaginator::send) which returns a `Stream`. diff --git a/sdk/networkmanager/src/operation/get_transit_gateway_route_table_attachment/builders.rs b/sdk/networkmanager/src/operation/get_transit_gateway_route_table_attachment/builders.rs index 98f3b862e3b4..bae77e46a09e 100644 --- a/sdk/networkmanager/src/operation/get_transit_gateway_route_table_attachment/builders.rs +++ b/sdk/networkmanager/src/operation/get_transit_gateway_route_table_attachment/builders.rs @@ -19,9 +19,9 @@ impl GetTransitGatewayRouteTableAttachmentFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize(self) -> ::std::result::Result< + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware(self) -> ::std::result::Result< crate::client::customize::CustomizableOperation, ::aws_smithy_http::result::SdkError >{ @@ -64,6 +64,15 @@ impl GetTransitGatewayRouteTableAttachmentFluentBuilder { { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize(self) -> ::std::result::Result< + crate::client::customize::CustomizableOperation, + ::aws_smithy_http::result::SdkError + >{ + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                        The ID of the transit gateway route table attachment.

                                                                                                                                                                                                                                        pub fn attachment_id( mut self, diff --git a/sdk/networkmanager/src/operation/get_vpc_attachment/builders.rs b/sdk/networkmanager/src/operation/get_vpc_attachment/builders.rs index 8dde1b2d2195..84ac58dfe0a4 100644 --- a/sdk/networkmanager/src/operation/get_vpc_attachment/builders.rs +++ b/sdk/networkmanager/src/operation/get_vpc_attachment/builders.rs @@ -19,9 +19,9 @@ impl GetVpcAttachmentFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl GetVpcAttachmentFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::get_vpc_attachment::GetVpcAttachment, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::get_vpc_attachment::GetVpcAttachmentError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                        The ID of the attachment.

                                                                                                                                                                                                                                        pub fn attachment_id( mut self, diff --git a/sdk/networkmanager/src/operation/list_attachments/builders.rs b/sdk/networkmanager/src/operation/list_attachments/builders.rs index 0f8f3295d90d..2e46c0ca3af9 100644 --- a/sdk/networkmanager/src/operation/list_attachments/builders.rs +++ b/sdk/networkmanager/src/operation/list_attachments/builders.rs @@ -19,9 +19,9 @@ impl ListAttachmentsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl ListAttachmentsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_attachments::ListAttachments, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::list_attachments::ListAttachmentsError, + >, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::list_attachments::paginator::ListAttachmentsPaginator::send) which returns a `Stream`. diff --git a/sdk/networkmanager/src/operation/list_connect_peers/builders.rs b/sdk/networkmanager/src/operation/list_connect_peers/builders.rs index c266af5f56b6..4439f66a102d 100644 --- a/sdk/networkmanager/src/operation/list_connect_peers/builders.rs +++ b/sdk/networkmanager/src/operation/list_connect_peers/builders.rs @@ -19,9 +19,9 @@ impl ListConnectPeersFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl ListConnectPeersFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_connect_peers::ListConnectPeers, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::list_connect_peers::ListConnectPeersError, + >, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::list_connect_peers::paginator::ListConnectPeersPaginator::send) which returns a `Stream`. diff --git a/sdk/networkmanager/src/operation/list_core_network_policy_versions/builders.rs b/sdk/networkmanager/src/operation/list_core_network_policy_versions/builders.rs index 5a01a534d403..c903fee6991d 100644 --- a/sdk/networkmanager/src/operation/list_core_network_policy_versions/builders.rs +++ b/sdk/networkmanager/src/operation/list_core_network_policy_versions/builders.rs @@ -19,9 +19,9 @@ impl ListCoreNetworkPolicyVersionsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl ListCoreNetworkPolicyVersionsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_core_network_policy_versions::ListCoreNetworkPolicyVersions, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::list_core_network_policy_versions::ListCoreNetworkPolicyVersionsError, + >, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::list_core_network_policy_versions::paginator::ListCoreNetworkPolicyVersionsPaginator::send) which returns a `Stream`. diff --git a/sdk/networkmanager/src/operation/list_core_networks/builders.rs b/sdk/networkmanager/src/operation/list_core_networks/builders.rs index 7936fec126c8..1a607768cec3 100644 --- a/sdk/networkmanager/src/operation/list_core_networks/builders.rs +++ b/sdk/networkmanager/src/operation/list_core_networks/builders.rs @@ -19,9 +19,9 @@ impl ListCoreNetworksFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl ListCoreNetworksFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_core_networks::ListCoreNetworks, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::list_core_networks::ListCoreNetworksError, + >, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::list_core_networks::paginator::ListCoreNetworksPaginator::send) which returns a `Stream`. diff --git a/sdk/networkmanager/src/operation/list_organization_service_access_status/builders.rs b/sdk/networkmanager/src/operation/list_organization_service_access_status/builders.rs index 4b198d6601ef..e2eda054cb2f 100644 --- a/sdk/networkmanager/src/operation/list_organization_service_access_status/builders.rs +++ b/sdk/networkmanager/src/operation/list_organization_service_access_status/builders.rs @@ -19,9 +19,9 @@ impl ListOrganizationServiceAccessStatusFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize(self) -> ::std::result::Result< + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware(self) -> ::std::result::Result< crate::client::customize::CustomizableOperation, ::aws_smithy_http::result::SdkError >{ @@ -64,6 +64,15 @@ impl ListOrganizationServiceAccessStatusFluentBuilder { { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize(self) -> ::std::result::Result< + crate::client::customize::CustomizableOperation, + ::aws_smithy_http::result::SdkError + >{ + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                        The maximum number of results to return.

                                                                                                                                                                                                                                        pub fn max_results(mut self, input: i32) -> Self { self.inner = self.inner.max_results(input); diff --git a/sdk/networkmanager/src/operation/list_peerings/builders.rs b/sdk/networkmanager/src/operation/list_peerings/builders.rs index c3399410e81d..375a08c098d9 100644 --- a/sdk/networkmanager/src/operation/list_peerings/builders.rs +++ b/sdk/networkmanager/src/operation/list_peerings/builders.rs @@ -19,9 +19,9 @@ impl ListPeeringsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl ListPeeringsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_peerings::ListPeerings, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::list_peerings::paginator::ListPeeringsPaginator::send) which returns a `Stream`. diff --git a/sdk/networkmanager/src/operation/list_tags_for_resource/builders.rs b/sdk/networkmanager/src/operation/list_tags_for_resource/builders.rs index 859b38e60644..4bcc8a10ae7b 100644 --- a/sdk/networkmanager/src/operation/list_tags_for_resource/builders.rs +++ b/sdk/networkmanager/src/operation/list_tags_for_resource/builders.rs @@ -19,9 +19,9 @@ impl ListTagsForResourceFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl ListTagsForResourceFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_tags_for_resource::ListTagsForResource, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::list_tags_for_resource::ListTagsForResourceError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                        The Amazon Resource Name (ARN) of the resource.

                                                                                                                                                                                                                                        pub fn resource_arn(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.resource_arn(input.into()); diff --git a/sdk/networkmanager/src/operation/put_core_network_policy/builders.rs b/sdk/networkmanager/src/operation/put_core_network_policy/builders.rs index bebb353b14e6..a376d4f6993d 100644 --- a/sdk/networkmanager/src/operation/put_core_network_policy/builders.rs +++ b/sdk/networkmanager/src/operation/put_core_network_policy/builders.rs @@ -19,9 +19,9 @@ impl PutCoreNetworkPolicyFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl PutCoreNetworkPolicyFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::put_core_network_policy::PutCoreNetworkPolicy, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::put_core_network_policy::PutCoreNetworkPolicyError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                        The ID of a core network.

                                                                                                                                                                                                                                        pub fn core_network_id( mut self, diff --git a/sdk/networkmanager/src/operation/put_resource_policy/builders.rs b/sdk/networkmanager/src/operation/put_resource_policy/builders.rs index 88e03e478635..581c05fb2c87 100644 --- a/sdk/networkmanager/src/operation/put_resource_policy/builders.rs +++ b/sdk/networkmanager/src/operation/put_resource_policy/builders.rs @@ -19,9 +19,9 @@ impl PutResourcePolicyFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl PutResourcePolicyFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::put_resource_policy::PutResourcePolicy, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::put_resource_policy::PutResourcePolicyError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                        The JSON resource policy document.

                                                                                                                                                                                                                                        pub fn policy_document( mut self, diff --git a/sdk/networkmanager/src/operation/register_transit_gateway/builders.rs b/sdk/networkmanager/src/operation/register_transit_gateway/builders.rs index bcf1bc8996e9..c3f8d4af7cd8 100644 --- a/sdk/networkmanager/src/operation/register_transit_gateway/builders.rs +++ b/sdk/networkmanager/src/operation/register_transit_gateway/builders.rs @@ -19,9 +19,9 @@ impl RegisterTransitGatewayFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl RegisterTransitGatewayFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::register_transit_gateway::RegisterTransitGateway, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::register_transit_gateway::RegisterTransitGatewayError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                        The ID of the global network.

                                                                                                                                                                                                                                        pub fn global_network_id( mut self, diff --git a/sdk/networkmanager/src/operation/reject_attachment/builders.rs b/sdk/networkmanager/src/operation/reject_attachment/builders.rs index d054aae78804..d7cad72b5d6f 100644 --- a/sdk/networkmanager/src/operation/reject_attachment/builders.rs +++ b/sdk/networkmanager/src/operation/reject_attachment/builders.rs @@ -19,9 +19,9 @@ impl RejectAttachmentFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl RejectAttachmentFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::reject_attachment::RejectAttachment, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::reject_attachment::RejectAttachmentError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                        The ID of the attachment.

                                                                                                                                                                                                                                        pub fn attachment_id( mut self, diff --git a/sdk/networkmanager/src/operation/restore_core_network_policy_version/builders.rs b/sdk/networkmanager/src/operation/restore_core_network_policy_version/builders.rs index 315e07ababeb..3ab512414138 100644 --- a/sdk/networkmanager/src/operation/restore_core_network_policy_version/builders.rs +++ b/sdk/networkmanager/src/operation/restore_core_network_policy_version/builders.rs @@ -19,9 +19,9 @@ impl RestoreCoreNetworkPolicyVersionFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize(self) -> ::std::result::Result< + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware(self) -> ::std::result::Result< crate::client::customize::CustomizableOperation, ::aws_smithy_http::result::SdkError >{ @@ -64,6 +64,15 @@ impl RestoreCoreNetworkPolicyVersionFluentBuilder { { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize(self) -> ::std::result::Result< + crate::client::customize::CustomizableOperation, + ::aws_smithy_http::result::SdkError + >{ + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                        The ID of a core network.

                                                                                                                                                                                                                                        pub fn core_network_id( mut self, diff --git a/sdk/networkmanager/src/operation/start_organization_service_access_update/builders.rs b/sdk/networkmanager/src/operation/start_organization_service_access_update/builders.rs index 7b8c54be90b7..834e7827da15 100644 --- a/sdk/networkmanager/src/operation/start_organization_service_access_update/builders.rs +++ b/sdk/networkmanager/src/operation/start_organization_service_access_update/builders.rs @@ -19,9 +19,9 @@ impl StartOrganizationServiceAccessUpdateFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize(self) -> ::std::result::Result< + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware(self) -> ::std::result::Result< crate::client::customize::CustomizableOperation, ::aws_smithy_http::result::SdkError >{ @@ -64,6 +64,15 @@ impl StartOrganizationServiceAccessUpdateFluentBuilder { { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize(self) -> ::std::result::Result< + crate::client::customize::CustomizableOperation, + ::aws_smithy_http::result::SdkError + >{ + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                        The action to take for the update request. This can be either ENABLE or DISABLE.

                                                                                                                                                                                                                                        pub fn action(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.action(input.into()); diff --git a/sdk/networkmanager/src/operation/start_route_analysis/builders.rs b/sdk/networkmanager/src/operation/start_route_analysis/builders.rs index 42e2ec8110f1..77266feda85f 100644 --- a/sdk/networkmanager/src/operation/start_route_analysis/builders.rs +++ b/sdk/networkmanager/src/operation/start_route_analysis/builders.rs @@ -19,9 +19,9 @@ impl StartRouteAnalysisFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl StartRouteAnalysisFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::start_route_analysis::StartRouteAnalysis, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::start_route_analysis::StartRouteAnalysisError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                        The ID of the global network.

                                                                                                                                                                                                                                        pub fn global_network_id( mut self, diff --git a/sdk/networkmanager/src/operation/tag_resource/builders.rs b/sdk/networkmanager/src/operation/tag_resource/builders.rs index b20da2439c38..0c33c59c8785 100644 --- a/sdk/networkmanager/src/operation/tag_resource/builders.rs +++ b/sdk/networkmanager/src/operation/tag_resource/builders.rs @@ -19,9 +19,9 @@ impl TagResourceFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl TagResourceFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::tag_resource::TagResource, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                        The Amazon Resource Name (ARN) of the resource.

                                                                                                                                                                                                                                        pub fn resource_arn(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.resource_arn(input.into()); diff --git a/sdk/networkmanager/src/operation/untag_resource/builders.rs b/sdk/networkmanager/src/operation/untag_resource/builders.rs index a04bc6298464..5c4a43d71789 100644 --- a/sdk/networkmanager/src/operation/untag_resource/builders.rs +++ b/sdk/networkmanager/src/operation/untag_resource/builders.rs @@ -19,9 +19,9 @@ impl UntagResourceFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl UntagResourceFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::untag_resource::UntagResource, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                        The Amazon Resource Name (ARN) of the resource.

                                                                                                                                                                                                                                        pub fn resource_arn(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.resource_arn(input.into()); diff --git a/sdk/networkmanager/src/operation/update_connection/builders.rs b/sdk/networkmanager/src/operation/update_connection/builders.rs index 0a63a6d1d285..9bbf5d3e8900 100644 --- a/sdk/networkmanager/src/operation/update_connection/builders.rs +++ b/sdk/networkmanager/src/operation/update_connection/builders.rs @@ -19,9 +19,9 @@ impl UpdateConnectionFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl UpdateConnectionFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::update_connection::UpdateConnection, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::update_connection::UpdateConnectionError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                        The ID of the global network.

                                                                                                                                                                                                                                        pub fn global_network_id( mut self, diff --git a/sdk/networkmanager/src/operation/update_core_network/builders.rs b/sdk/networkmanager/src/operation/update_core_network/builders.rs index 33bb4e8be179..a07419ed1e37 100644 --- a/sdk/networkmanager/src/operation/update_core_network/builders.rs +++ b/sdk/networkmanager/src/operation/update_core_network/builders.rs @@ -19,9 +19,9 @@ impl UpdateCoreNetworkFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl UpdateCoreNetworkFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::update_core_network::UpdateCoreNetwork, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::update_core_network::UpdateCoreNetworkError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                        The ID of a core network.

                                                                                                                                                                                                                                        pub fn core_network_id( mut self, diff --git a/sdk/networkmanager/src/operation/update_device/builders.rs b/sdk/networkmanager/src/operation/update_device/builders.rs index 0506c93ba281..0fdd54af6132 100644 --- a/sdk/networkmanager/src/operation/update_device/builders.rs +++ b/sdk/networkmanager/src/operation/update_device/builders.rs @@ -19,9 +19,9 @@ impl UpdateDeviceFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl UpdateDeviceFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::update_device::UpdateDevice, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                        The ID of the global network.

                                                                                                                                                                                                                                        pub fn global_network_id( mut self, diff --git a/sdk/networkmanager/src/operation/update_global_network/builders.rs b/sdk/networkmanager/src/operation/update_global_network/builders.rs index abb6d49c8917..262ce39462ef 100644 --- a/sdk/networkmanager/src/operation/update_global_network/builders.rs +++ b/sdk/networkmanager/src/operation/update_global_network/builders.rs @@ -19,9 +19,9 @@ impl UpdateGlobalNetworkFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl UpdateGlobalNetworkFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::update_global_network::UpdateGlobalNetwork, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::update_global_network::UpdateGlobalNetworkError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                        The ID of your global network.

                                                                                                                                                                                                                                        pub fn global_network_id( mut self, diff --git a/sdk/networkmanager/src/operation/update_link/builders.rs b/sdk/networkmanager/src/operation/update_link/builders.rs index 3256ea3c0527..3740a0ce3ac3 100644 --- a/sdk/networkmanager/src/operation/update_link/builders.rs +++ b/sdk/networkmanager/src/operation/update_link/builders.rs @@ -19,9 +19,9 @@ impl UpdateLinkFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl UpdateLinkFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::update_link::UpdateLink, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                        The ID of the global network.

                                                                                                                                                                                                                                        pub fn global_network_id( mut self, diff --git a/sdk/networkmanager/src/operation/update_network_resource_metadata/builders.rs b/sdk/networkmanager/src/operation/update_network_resource_metadata/builders.rs index a4aa96aa19bd..33edcbbe79c6 100644 --- a/sdk/networkmanager/src/operation/update_network_resource_metadata/builders.rs +++ b/sdk/networkmanager/src/operation/update_network_resource_metadata/builders.rs @@ -19,9 +19,9 @@ impl UpdateNetworkResourceMetadataFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl UpdateNetworkResourceMetadataFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::update_network_resource_metadata::UpdateNetworkResourceMetadata, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::update_network_resource_metadata::UpdateNetworkResourceMetadataError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                        The ID of the global network.

                                                                                                                                                                                                                                        pub fn global_network_id( mut self, diff --git a/sdk/networkmanager/src/operation/update_site/builders.rs b/sdk/networkmanager/src/operation/update_site/builders.rs index 739123c986dc..406250325e4b 100644 --- a/sdk/networkmanager/src/operation/update_site/builders.rs +++ b/sdk/networkmanager/src/operation/update_site/builders.rs @@ -19,9 +19,9 @@ impl UpdateSiteFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl UpdateSiteFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::update_site::UpdateSite, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                        The ID of the global network.

                                                                                                                                                                                                                                        pub fn global_network_id( mut self, diff --git a/sdk/networkmanager/src/operation/update_vpc_attachment/builders.rs b/sdk/networkmanager/src/operation/update_vpc_attachment/builders.rs index a6e2a109ffba..74819ff242d2 100644 --- a/sdk/networkmanager/src/operation/update_vpc_attachment/builders.rs +++ b/sdk/networkmanager/src/operation/update_vpc_attachment/builders.rs @@ -19,9 +19,9 @@ impl UpdateVpcAttachmentFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl UpdateVpcAttachmentFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::update_vpc_attachment::UpdateVpcAttachment, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::update_vpc_attachment::UpdateVpcAttachmentError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                        The ID of the attachment.

                                                                                                                                                                                                                                        pub fn attachment_id( mut self, diff --git a/sdk/nimble/src/operation/accept_eulas/builders.rs b/sdk/nimble/src/operation/accept_eulas/builders.rs index 38471ecf0b4b..cdb0ae6c22fc 100644 --- a/sdk/nimble/src/operation/accept_eulas/builders.rs +++ b/sdk/nimble/src/operation/accept_eulas/builders.rs @@ -19,9 +19,9 @@ impl AcceptEulasFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl AcceptEulasFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::accept_eulas::AcceptEulas, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                        Unique, case-sensitive identifier that you provide to ensure the idempotency of the request. If you don’t specify a client token, the Amazon Web Services SDK automatically generates a client token and uses it for the request to ensure idempotency.

                                                                                                                                                                                                                                        pub fn client_token(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.client_token(input.into()); diff --git a/sdk/nimble/src/operation/create_launch_profile/builders.rs b/sdk/nimble/src/operation/create_launch_profile/builders.rs index 65553751501a..009a848974ca 100644 --- a/sdk/nimble/src/operation/create_launch_profile/builders.rs +++ b/sdk/nimble/src/operation/create_launch_profile/builders.rs @@ -19,9 +19,9 @@ impl CreateLaunchProfileFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl CreateLaunchProfileFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::create_launch_profile::CreateLaunchProfile, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::create_launch_profile::CreateLaunchProfileError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                        Unique, case-sensitive identifier that you provide to ensure the idempotency of the request. If you don’t specify a client token, the Amazon Web Services SDK automatically generates a client token and uses it for the request to ensure idempotency.

                                                                                                                                                                                                                                        pub fn client_token(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.client_token(input.into()); diff --git a/sdk/nimble/src/operation/create_streaming_image/builders.rs b/sdk/nimble/src/operation/create_streaming_image/builders.rs index 320ff493e25b..8b8ab7c85ae8 100644 --- a/sdk/nimble/src/operation/create_streaming_image/builders.rs +++ b/sdk/nimble/src/operation/create_streaming_image/builders.rs @@ -19,9 +19,9 @@ impl CreateStreamingImageFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl CreateStreamingImageFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::create_streaming_image::CreateStreamingImage, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::create_streaming_image::CreateStreamingImageError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                        Unique, case-sensitive identifier that you provide to ensure the idempotency of the request. If you don’t specify a client token, the Amazon Web Services SDK automatically generates a client token and uses it for the request to ensure idempotency.

                                                                                                                                                                                                                                        pub fn client_token(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.client_token(input.into()); diff --git a/sdk/nimble/src/operation/create_streaming_session/builders.rs b/sdk/nimble/src/operation/create_streaming_session/builders.rs index 78916c8db882..59a82cf90cd7 100644 --- a/sdk/nimble/src/operation/create_streaming_session/builders.rs +++ b/sdk/nimble/src/operation/create_streaming_session/builders.rs @@ -20,9 +20,9 @@ impl CreateStreamingSessionFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -84,6 +84,22 @@ impl CreateStreamingSessionFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::create_streaming_session::CreateStreamingSession, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::create_streaming_session::CreateStreamingSessionError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                        Unique, case-sensitive identifier that you provide to ensure the idempotency of the request. If you don’t specify a client token, the Amazon Web Services SDK automatically generates a client token and uses it for the request to ensure idempotency.

                                                                                                                                                                                                                                        pub fn client_token(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.client_token(input.into()); diff --git a/sdk/nimble/src/operation/create_streaming_session_stream/builders.rs b/sdk/nimble/src/operation/create_streaming_session_stream/builders.rs index e76924885246..5302a8d7abb7 100644 --- a/sdk/nimble/src/operation/create_streaming_session_stream/builders.rs +++ b/sdk/nimble/src/operation/create_streaming_session_stream/builders.rs @@ -20,9 +20,9 @@ impl CreateStreamingSessionStreamFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -84,6 +84,22 @@ impl CreateStreamingSessionStreamFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::create_streaming_session_stream::CreateStreamingSessionStream, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::create_streaming_session_stream::CreateStreamingSessionStreamError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                        Unique, case-sensitive identifier that you provide to ensure the idempotency of the request. If you don’t specify a client token, the Amazon Web Services SDK automatically generates a client token and uses it for the request to ensure idempotency.

                                                                                                                                                                                                                                        pub fn client_token(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.client_token(input.into()); diff --git a/sdk/nimble/src/operation/create_studio/builders.rs b/sdk/nimble/src/operation/create_studio/builders.rs index c3c8ed2353db..26f78c3c2c1c 100644 --- a/sdk/nimble/src/operation/create_studio/builders.rs +++ b/sdk/nimble/src/operation/create_studio/builders.rs @@ -27,9 +27,9 @@ impl CreateStudioFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -85,6 +85,20 @@ impl CreateStudioFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::create_studio::CreateStudio, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                        The IAM role that studio admins will assume when logging in to the Nimble Studio portal.

                                                                                                                                                                                                                                        pub fn admin_role_arn( mut self, diff --git a/sdk/nimble/src/operation/create_studio_component/builders.rs b/sdk/nimble/src/operation/create_studio_component/builders.rs index 9801390d38c1..e82d951b49ae 100644 --- a/sdk/nimble/src/operation/create_studio_component/builders.rs +++ b/sdk/nimble/src/operation/create_studio_component/builders.rs @@ -19,9 +19,9 @@ impl CreateStudioComponentFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl CreateStudioComponentFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::create_studio_component::CreateStudioComponent, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::create_studio_component::CreateStudioComponentError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                        Unique, case-sensitive identifier that you provide to ensure the idempotency of the request. If you don’t specify a client token, the Amazon Web Services SDK automatically generates a client token and uses it for the request to ensure idempotency.

                                                                                                                                                                                                                                        pub fn client_token(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.client_token(input.into()); diff --git a/sdk/nimble/src/operation/delete_launch_profile/builders.rs b/sdk/nimble/src/operation/delete_launch_profile/builders.rs index a32808c43fb7..8953247ad0b8 100644 --- a/sdk/nimble/src/operation/delete_launch_profile/builders.rs +++ b/sdk/nimble/src/operation/delete_launch_profile/builders.rs @@ -19,9 +19,9 @@ impl DeleteLaunchProfileFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl DeleteLaunchProfileFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::delete_launch_profile::DeleteLaunchProfile, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::delete_launch_profile::DeleteLaunchProfileError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                        Unique, case-sensitive identifier that you provide to ensure the idempotency of the request. If you don’t specify a client token, the Amazon Web Services SDK automatically generates a client token and uses it for the request to ensure idempotency.

                                                                                                                                                                                                                                        pub fn client_token(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.client_token(input.into()); diff --git a/sdk/nimble/src/operation/delete_launch_profile_member/builders.rs b/sdk/nimble/src/operation/delete_launch_profile_member/builders.rs index d9a1a02e1c6a..374ad4a89610 100644 --- a/sdk/nimble/src/operation/delete_launch_profile_member/builders.rs +++ b/sdk/nimble/src/operation/delete_launch_profile_member/builders.rs @@ -19,9 +19,9 @@ impl DeleteLaunchProfileMemberFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl DeleteLaunchProfileMemberFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::delete_launch_profile_member::DeleteLaunchProfileMember, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::delete_launch_profile_member::DeleteLaunchProfileMemberError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                        Unique, case-sensitive identifier that you provide to ensure the idempotency of the request. If you don’t specify a client token, the Amazon Web Services SDK automatically generates a client token and uses it for the request to ensure idempotency.

                                                                                                                                                                                                                                        pub fn client_token(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.client_token(input.into()); diff --git a/sdk/nimble/src/operation/delete_streaming_image/builders.rs b/sdk/nimble/src/operation/delete_streaming_image/builders.rs index cd1165e91dd8..fa7979d790c1 100644 --- a/sdk/nimble/src/operation/delete_streaming_image/builders.rs +++ b/sdk/nimble/src/operation/delete_streaming_image/builders.rs @@ -19,9 +19,9 @@ impl DeleteStreamingImageFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl DeleteStreamingImageFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::delete_streaming_image::DeleteStreamingImage, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::delete_streaming_image::DeleteStreamingImageError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                        Unique, case-sensitive identifier that you provide to ensure the idempotency of the request. If you don’t specify a client token, the Amazon Web Services SDK automatically generates a client token and uses it for the request to ensure idempotency.

                                                                                                                                                                                                                                        pub fn client_token(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.client_token(input.into()); diff --git a/sdk/nimble/src/operation/delete_streaming_session/builders.rs b/sdk/nimble/src/operation/delete_streaming_session/builders.rs index 919eb29b5438..95f2cec8d1ef 100644 --- a/sdk/nimble/src/operation/delete_streaming_session/builders.rs +++ b/sdk/nimble/src/operation/delete_streaming_session/builders.rs @@ -21,9 +21,9 @@ impl DeleteStreamingSessionFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -85,6 +85,22 @@ impl DeleteStreamingSessionFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::delete_streaming_session::DeleteStreamingSession, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::delete_streaming_session::DeleteStreamingSessionError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                        Unique, case-sensitive identifier that you provide to ensure the idempotency of the request. If you don’t specify a client token, the Amazon Web Services SDK automatically generates a client token and uses it for the request to ensure idempotency.

                                                                                                                                                                                                                                        pub fn client_token(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.client_token(input.into()); diff --git a/sdk/nimble/src/operation/delete_studio/builders.rs b/sdk/nimble/src/operation/delete_studio/builders.rs index 8ba4c50dcd05..59139f2bd353 100644 --- a/sdk/nimble/src/operation/delete_studio/builders.rs +++ b/sdk/nimble/src/operation/delete_studio/builders.rs @@ -19,9 +19,9 @@ impl DeleteStudioFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl DeleteStudioFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::delete_studio::DeleteStudio, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                        Unique, case-sensitive identifier that you provide to ensure the idempotency of the request. If you don’t specify a client token, the Amazon Web Services SDK automatically generates a client token and uses it for the request to ensure idempotency.

                                                                                                                                                                                                                                        pub fn client_token(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.client_token(input.into()); diff --git a/sdk/nimble/src/operation/delete_studio_component/builders.rs b/sdk/nimble/src/operation/delete_studio_component/builders.rs index ed6b86c20771..0ae5b25f4ca3 100644 --- a/sdk/nimble/src/operation/delete_studio_component/builders.rs +++ b/sdk/nimble/src/operation/delete_studio_component/builders.rs @@ -19,9 +19,9 @@ impl DeleteStudioComponentFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl DeleteStudioComponentFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::delete_studio_component::DeleteStudioComponent, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::delete_studio_component::DeleteStudioComponentError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                        Unique, case-sensitive identifier that you provide to ensure the idempotency of the request. If you don’t specify a client token, the Amazon Web Services SDK automatically generates a client token and uses it for the request to ensure idempotency.

                                                                                                                                                                                                                                        pub fn client_token(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.client_token(input.into()); diff --git a/sdk/nimble/src/operation/delete_studio_member/builders.rs b/sdk/nimble/src/operation/delete_studio_member/builders.rs index f654ee327cd4..88a10df2e955 100644 --- a/sdk/nimble/src/operation/delete_studio_member/builders.rs +++ b/sdk/nimble/src/operation/delete_studio_member/builders.rs @@ -19,9 +19,9 @@ impl DeleteStudioMemberFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl DeleteStudioMemberFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::delete_studio_member::DeleteStudioMember, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::delete_studio_member::DeleteStudioMemberError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                        Unique, case-sensitive identifier that you provide to ensure the idempotency of the request. If you don’t specify a client token, the Amazon Web Services SDK automatically generates a client token and uses it for the request to ensure idempotency.

                                                                                                                                                                                                                                        pub fn client_token(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.client_token(input.into()); diff --git a/sdk/nimble/src/operation/get_eula/builders.rs b/sdk/nimble/src/operation/get_eula/builders.rs index 0fafc2103f24..b4d98796ddc7 100644 --- a/sdk/nimble/src/operation/get_eula/builders.rs +++ b/sdk/nimble/src/operation/get_eula/builders.rs @@ -19,9 +19,9 @@ impl GetEulaFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl GetEulaFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::get_eula::GetEula, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                        The EULA ID.

                                                                                                                                                                                                                                        pub fn eula_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.eula_id(input.into()); diff --git a/sdk/nimble/src/operation/get_launch_profile/builders.rs b/sdk/nimble/src/operation/get_launch_profile/builders.rs index 188991db78f3..bc03db077ed5 100644 --- a/sdk/nimble/src/operation/get_launch_profile/builders.rs +++ b/sdk/nimble/src/operation/get_launch_profile/builders.rs @@ -19,9 +19,9 @@ impl GetLaunchProfileFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl GetLaunchProfileFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::get_launch_profile::GetLaunchProfile, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::get_launch_profile::GetLaunchProfileError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                        The ID of the launch profile used to control access from the streaming session.

                                                                                                                                                                                                                                        pub fn launch_profile_id( mut self, diff --git a/sdk/nimble/src/operation/get_launch_profile_details/builders.rs b/sdk/nimble/src/operation/get_launch_profile_details/builders.rs index e32ec3582f60..26f07df36c1e 100644 --- a/sdk/nimble/src/operation/get_launch_profile_details/builders.rs +++ b/sdk/nimble/src/operation/get_launch_profile_details/builders.rs @@ -20,9 +20,9 @@ impl GetLaunchProfileDetailsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -84,6 +84,22 @@ impl GetLaunchProfileDetailsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::get_launch_profile_details::GetLaunchProfileDetails, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::get_launch_profile_details::GetLaunchProfileDetailsError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                        The ID of the launch profile used to control access from the streaming session.

                                                                                                                                                                                                                                        pub fn launch_profile_id( mut self, diff --git a/sdk/nimble/src/operation/get_launch_profile_initialization/builders.rs b/sdk/nimble/src/operation/get_launch_profile_initialization/builders.rs index 3f23cd71ab88..06491b9d2782 100644 --- a/sdk/nimble/src/operation/get_launch_profile_initialization/builders.rs +++ b/sdk/nimble/src/operation/get_launch_profile_initialization/builders.rs @@ -19,9 +19,9 @@ impl GetLaunchProfileInitializationFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize(self) -> ::std::result::Result< + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware(self) -> ::std::result::Result< crate::client::customize::CustomizableOperation, ::aws_smithy_http::result::SdkError >{ @@ -64,6 +64,15 @@ impl GetLaunchProfileInitializationFluentBuilder { { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize(self) -> ::std::result::Result< + crate::client::customize::CustomizableOperation, + ::aws_smithy_http::result::SdkError + >{ + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                        The ID of the launch profile used to control access from the streaming session.

                                                                                                                                                                                                                                        pub fn launch_profile_id( mut self, diff --git a/sdk/nimble/src/operation/get_launch_profile_member/builders.rs b/sdk/nimble/src/operation/get_launch_profile_member/builders.rs index bbaa6b2974e6..6443df8a6682 100644 --- a/sdk/nimble/src/operation/get_launch_profile_member/builders.rs +++ b/sdk/nimble/src/operation/get_launch_profile_member/builders.rs @@ -20,9 +20,9 @@ impl GetLaunchProfileMemberFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -84,6 +84,22 @@ impl GetLaunchProfileMemberFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::get_launch_profile_member::GetLaunchProfileMember, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::get_launch_profile_member::GetLaunchProfileMemberError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                        The ID of the launch profile used to control access from the streaming session.

                                                                                                                                                                                                                                        pub fn launch_profile_id( mut self, diff --git a/sdk/nimble/src/operation/get_streaming_image/builders.rs b/sdk/nimble/src/operation/get_streaming_image/builders.rs index 911312ff42e7..13edb53839fc 100644 --- a/sdk/nimble/src/operation/get_streaming_image/builders.rs +++ b/sdk/nimble/src/operation/get_streaming_image/builders.rs @@ -19,9 +19,9 @@ impl GetStreamingImageFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl GetStreamingImageFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::get_streaming_image::GetStreamingImage, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::get_streaming_image::GetStreamingImageError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                        The streaming image ID.

                                                                                                                                                                                                                                        pub fn streaming_image_id( mut self, diff --git a/sdk/nimble/src/operation/get_streaming_session/builders.rs b/sdk/nimble/src/operation/get_streaming_session/builders.rs index dcf7f25900c3..d2fbd48cfb79 100644 --- a/sdk/nimble/src/operation/get_streaming_session/builders.rs +++ b/sdk/nimble/src/operation/get_streaming_session/builders.rs @@ -20,9 +20,9 @@ impl GetStreamingSessionFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -84,6 +84,22 @@ impl GetStreamingSessionFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::get_streaming_session::GetStreamingSession, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::get_streaming_session::GetStreamingSessionError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                        The streaming session ID.

                                                                                                                                                                                                                                        pub fn session_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.session_id(input.into()); diff --git a/sdk/nimble/src/operation/get_streaming_session_backup/builders.rs b/sdk/nimble/src/operation/get_streaming_session_backup/builders.rs index 31c028c15dfa..9f2d4803f0a2 100644 --- a/sdk/nimble/src/operation/get_streaming_session_backup/builders.rs +++ b/sdk/nimble/src/operation/get_streaming_session_backup/builders.rs @@ -20,9 +20,9 @@ impl GetStreamingSessionBackupFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -84,6 +84,22 @@ impl GetStreamingSessionBackupFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::get_streaming_session_backup::GetStreamingSessionBackup, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::get_streaming_session_backup::GetStreamingSessionBackupError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                        The ID of the backup.

                                                                                                                                                                                                                                        pub fn backup_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.backup_id(input.into()); diff --git a/sdk/nimble/src/operation/get_streaming_session_stream/builders.rs b/sdk/nimble/src/operation/get_streaming_session_stream/builders.rs index e75db324c0bc..7a53376a514c 100644 --- a/sdk/nimble/src/operation/get_streaming_session_stream/builders.rs +++ b/sdk/nimble/src/operation/get_streaming_session_stream/builders.rs @@ -21,9 +21,9 @@ impl GetStreamingSessionStreamFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -85,6 +85,22 @@ impl GetStreamingSessionStreamFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::get_streaming_session_stream::GetStreamingSessionStream, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::get_streaming_session_stream::GetStreamingSessionStreamError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                        The streaming session ID.

                                                                                                                                                                                                                                        pub fn session_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.session_id(input.into()); diff --git a/sdk/nimble/src/operation/get_studio/builders.rs b/sdk/nimble/src/operation/get_studio/builders.rs index c7e356ad2e8d..dec02164ea6f 100644 --- a/sdk/nimble/src/operation/get_studio/builders.rs +++ b/sdk/nimble/src/operation/get_studio/builders.rs @@ -19,9 +19,9 @@ impl GetStudioFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl GetStudioFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::get_studio::GetStudio, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                        The studio ID.

                                                                                                                                                                                                                                        pub fn studio_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.studio_id(input.into()); diff --git a/sdk/nimble/src/operation/get_studio_component/builders.rs b/sdk/nimble/src/operation/get_studio_component/builders.rs index 56ce36be8981..cd2eacd29711 100644 --- a/sdk/nimble/src/operation/get_studio_component/builders.rs +++ b/sdk/nimble/src/operation/get_studio_component/builders.rs @@ -19,9 +19,9 @@ impl GetStudioComponentFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl GetStudioComponentFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::get_studio_component::GetStudioComponent, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::get_studio_component::GetStudioComponentError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                        The studio component ID.

                                                                                                                                                                                                                                        pub fn studio_component_id( mut self, diff --git a/sdk/nimble/src/operation/get_studio_member/builders.rs b/sdk/nimble/src/operation/get_studio_member/builders.rs index b9e9a08f42bb..87fbe5c85923 100644 --- a/sdk/nimble/src/operation/get_studio_member/builders.rs +++ b/sdk/nimble/src/operation/get_studio_member/builders.rs @@ -19,9 +19,9 @@ impl GetStudioMemberFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl GetStudioMemberFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::get_studio_member::GetStudioMember, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::get_studio_member::GetStudioMemberError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                        The principal ID. This currently supports a IAM Identity Center UserId.

                                                                                                                                                                                                                                        pub fn principal_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.principal_id(input.into()); diff --git a/sdk/nimble/src/operation/list_eula_acceptances/builders.rs b/sdk/nimble/src/operation/list_eula_acceptances/builders.rs index 857e956a70f2..21047a075d9e 100644 --- a/sdk/nimble/src/operation/list_eula_acceptances/builders.rs +++ b/sdk/nimble/src/operation/list_eula_acceptances/builders.rs @@ -19,9 +19,9 @@ impl ListEulaAcceptancesFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl ListEulaAcceptancesFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_eula_acceptances::ListEulaAcceptances, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::list_eula_acceptances::ListEulaAcceptancesError, + >, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::list_eula_acceptances::paginator::ListEulaAcceptancesPaginator::send) which returns a `Stream`. diff --git a/sdk/nimble/src/operation/list_eulas/builders.rs b/sdk/nimble/src/operation/list_eulas/builders.rs index 88e086f8ae91..92ac9cb8aeb9 100644 --- a/sdk/nimble/src/operation/list_eulas/builders.rs +++ b/sdk/nimble/src/operation/list_eulas/builders.rs @@ -19,9 +19,9 @@ impl ListEulasFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl ListEulasFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_eulas::ListEulas, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::list_eulas::paginator::ListEulasPaginator::send) which returns a `Stream`. diff --git a/sdk/nimble/src/operation/list_launch_profile_members/builders.rs b/sdk/nimble/src/operation/list_launch_profile_members/builders.rs index 0ffd2987b617..97814f7a2cc6 100644 --- a/sdk/nimble/src/operation/list_launch_profile_members/builders.rs +++ b/sdk/nimble/src/operation/list_launch_profile_members/builders.rs @@ -19,9 +19,9 @@ impl ListLaunchProfileMembersFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl ListLaunchProfileMembersFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_launch_profile_members::ListLaunchProfileMembers, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::list_launch_profile_members::ListLaunchProfileMembersError, + >, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::list_launch_profile_members::paginator::ListLaunchProfileMembersPaginator::send) which returns a `Stream`. diff --git a/sdk/nimble/src/operation/list_launch_profiles/builders.rs b/sdk/nimble/src/operation/list_launch_profiles/builders.rs index cf65356c5538..99bac81e7235 100644 --- a/sdk/nimble/src/operation/list_launch_profiles/builders.rs +++ b/sdk/nimble/src/operation/list_launch_profiles/builders.rs @@ -19,9 +19,9 @@ impl ListLaunchProfilesFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl ListLaunchProfilesFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_launch_profiles::ListLaunchProfiles, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::list_launch_profiles::ListLaunchProfilesError, + >, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::list_launch_profiles::paginator::ListLaunchProfilesPaginator::send) which returns a `Stream`. diff --git a/sdk/nimble/src/operation/list_streaming_images/builders.rs b/sdk/nimble/src/operation/list_streaming_images/builders.rs index 29b2efb2b25b..b2a374543246 100644 --- a/sdk/nimble/src/operation/list_streaming_images/builders.rs +++ b/sdk/nimble/src/operation/list_streaming_images/builders.rs @@ -20,9 +20,9 @@ impl ListStreamingImagesFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -84,6 +84,22 @@ impl ListStreamingImagesFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_streaming_images::ListStreamingImages, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::list_streaming_images::ListStreamingImagesError, + >, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::list_streaming_images::paginator::ListStreamingImagesPaginator::send) which returns a `Stream`. diff --git a/sdk/nimble/src/operation/list_streaming_session_backups/builders.rs b/sdk/nimble/src/operation/list_streaming_session_backups/builders.rs index 4cee895552ae..fa9d26a6089b 100644 --- a/sdk/nimble/src/operation/list_streaming_session_backups/builders.rs +++ b/sdk/nimble/src/operation/list_streaming_session_backups/builders.rs @@ -19,9 +19,9 @@ impl ListStreamingSessionBackupsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl ListStreamingSessionBackupsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_streaming_session_backups::ListStreamingSessionBackups, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::list_streaming_session_backups::ListStreamingSessionBackupsError, + >, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::list_streaming_session_backups::paginator::ListStreamingSessionBackupsPaginator::send) which returns a `Stream`. diff --git a/sdk/nimble/src/operation/list_streaming_sessions/builders.rs b/sdk/nimble/src/operation/list_streaming_sessions/builders.rs index 58bbf055d1fd..83871adbbcaf 100644 --- a/sdk/nimble/src/operation/list_streaming_sessions/builders.rs +++ b/sdk/nimble/src/operation/list_streaming_sessions/builders.rs @@ -19,9 +19,9 @@ impl ListStreamingSessionsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl ListStreamingSessionsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_streaming_sessions::ListStreamingSessions, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::list_streaming_sessions::ListStreamingSessionsError, + >, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::list_streaming_sessions::paginator::ListStreamingSessionsPaginator::send) which returns a `Stream`. diff --git a/sdk/nimble/src/operation/list_studio_components/builders.rs b/sdk/nimble/src/operation/list_studio_components/builders.rs index 472d467453a3..6687df560a0f 100644 --- a/sdk/nimble/src/operation/list_studio_components/builders.rs +++ b/sdk/nimble/src/operation/list_studio_components/builders.rs @@ -19,9 +19,9 @@ impl ListStudioComponentsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl ListStudioComponentsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_studio_components::ListStudioComponents, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::list_studio_components::ListStudioComponentsError, + >, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::list_studio_components::paginator::ListStudioComponentsPaginator::send) which returns a `Stream`. diff --git a/sdk/nimble/src/operation/list_studio_members/builders.rs b/sdk/nimble/src/operation/list_studio_members/builders.rs index 979e79e69e51..f20626a9b71f 100644 --- a/sdk/nimble/src/operation/list_studio_members/builders.rs +++ b/sdk/nimble/src/operation/list_studio_members/builders.rs @@ -21,9 +21,9 @@ impl ListStudioMembersFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -85,6 +85,22 @@ impl ListStudioMembersFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_studio_members::ListStudioMembers, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::list_studio_members::ListStudioMembersError, + >, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::list_studio_members::paginator::ListStudioMembersPaginator::send) which returns a `Stream`. diff --git a/sdk/nimble/src/operation/list_studios/builders.rs b/sdk/nimble/src/operation/list_studios/builders.rs index f97a3e70fd41..0205beb1c8b9 100644 --- a/sdk/nimble/src/operation/list_studios/builders.rs +++ b/sdk/nimble/src/operation/list_studios/builders.rs @@ -19,9 +19,9 @@ impl ListStudiosFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl ListStudiosFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_studios::ListStudios, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::list_studios::paginator::ListStudiosPaginator::send) which returns a `Stream`. diff --git a/sdk/nimble/src/operation/list_tags_for_resource/builders.rs b/sdk/nimble/src/operation/list_tags_for_resource/builders.rs index 40c28731483d..10b93536f438 100644 --- a/sdk/nimble/src/operation/list_tags_for_resource/builders.rs +++ b/sdk/nimble/src/operation/list_tags_for_resource/builders.rs @@ -20,9 +20,9 @@ impl ListTagsForResourceFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -84,6 +84,22 @@ impl ListTagsForResourceFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_tags_for_resource::ListTagsForResource, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::list_tags_for_resource::ListTagsForResourceError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                        The Amazon Resource Name (ARN) of the resource for which you want to list tags.

                                                                                                                                                                                                                                        pub fn resource_arn(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.resource_arn(input.into()); diff --git a/sdk/nimble/src/operation/put_launch_profile_members/builders.rs b/sdk/nimble/src/operation/put_launch_profile_members/builders.rs index 3e0e940d9ec0..6a141651e71f 100644 --- a/sdk/nimble/src/operation/put_launch_profile_members/builders.rs +++ b/sdk/nimble/src/operation/put_launch_profile_members/builders.rs @@ -20,9 +20,9 @@ impl PutLaunchProfileMembersFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -84,6 +84,22 @@ impl PutLaunchProfileMembersFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::put_launch_profile_members::PutLaunchProfileMembers, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::put_launch_profile_members::PutLaunchProfileMembersError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                        Unique, case-sensitive identifier that you provide to ensure the idempotency of the request. If you don’t specify a client token, the Amazon Web Services SDK automatically generates a client token and uses it for the request to ensure idempotency.

                                                                                                                                                                                                                                        pub fn client_token(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.client_token(input.into()); diff --git a/sdk/nimble/src/operation/put_studio_members/builders.rs b/sdk/nimble/src/operation/put_studio_members/builders.rs index 9ffd7a807cc0..7e9c1ce78f11 100644 --- a/sdk/nimble/src/operation/put_studio_members/builders.rs +++ b/sdk/nimble/src/operation/put_studio_members/builders.rs @@ -19,9 +19,9 @@ impl PutStudioMembersFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl PutStudioMembersFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::put_studio_members::PutStudioMembers, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::put_studio_members::PutStudioMembersError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                        Unique, case-sensitive identifier that you provide to ensure the idempotency of the request. If you don’t specify a client token, the Amazon Web Services SDK automatically generates a client token and uses it for the request to ensure idempotency.

                                                                                                                                                                                                                                        pub fn client_token(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.client_token(input.into()); diff --git a/sdk/nimble/src/operation/start_streaming_session/builders.rs b/sdk/nimble/src/operation/start_streaming_session/builders.rs index 2c9fad73d92a..23c36589e759 100644 --- a/sdk/nimble/src/operation/start_streaming_session/builders.rs +++ b/sdk/nimble/src/operation/start_streaming_session/builders.rs @@ -19,9 +19,9 @@ impl StartStreamingSessionFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl StartStreamingSessionFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::start_streaming_session::StartStreamingSession, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::start_streaming_session::StartStreamingSessionError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                        Unique, case-sensitive identifier that you provide to ensure the idempotency of the request. If you don’t specify a client token, the Amazon Web Services SDK automatically generates a client token and uses it for the request to ensure idempotency.

                                                                                                                                                                                                                                        pub fn client_token(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.client_token(input.into()); diff --git a/sdk/nimble/src/operation/start_studio_sso_configuration_repair/builders.rs b/sdk/nimble/src/operation/start_studio_sso_configuration_repair/builders.rs index e833a50e49ac..fa5e09b33d51 100644 --- a/sdk/nimble/src/operation/start_studio_sso_configuration_repair/builders.rs +++ b/sdk/nimble/src/operation/start_studio_sso_configuration_repair/builders.rs @@ -22,9 +22,9 @@ impl StartStudioSSOConfigurationRepairFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize(self) -> ::std::result::Result< + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware(self) -> ::std::result::Result< crate::client::customize::CustomizableOperation, ::aws_smithy_http::result::SdkError >{ @@ -67,6 +67,15 @@ impl StartStudioSSOConfigurationRepairFluentBuilder { { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize(self) -> ::std::result::Result< + crate::client::customize::CustomizableOperation, + ::aws_smithy_http::result::SdkError + >{ + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                        Unique, case-sensitive identifier that you provide to ensure the idempotency of the request. If you don’t specify a client token, the Amazon Web Services SDK automatically generates a client token and uses it for the request to ensure idempotency.

                                                                                                                                                                                                                                        pub fn client_token(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.client_token(input.into()); diff --git a/sdk/nimble/src/operation/stop_streaming_session/builders.rs b/sdk/nimble/src/operation/stop_streaming_session/builders.rs index 732bd59e67b4..d2601da0fadf 100644 --- a/sdk/nimble/src/operation/stop_streaming_session/builders.rs +++ b/sdk/nimble/src/operation/stop_streaming_session/builders.rs @@ -19,9 +19,9 @@ impl StopStreamingSessionFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl StopStreamingSessionFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::stop_streaming_session::StopStreamingSession, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::stop_streaming_session::StopStreamingSessionError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                        Unique, case-sensitive identifier that you provide to ensure the idempotency of the request. If you don’t specify a client token, the Amazon Web Services SDK automatically generates a client token and uses it for the request to ensure idempotency.

                                                                                                                                                                                                                                        pub fn client_token(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.client_token(input.into()); diff --git a/sdk/nimble/src/operation/tag_resource/builders.rs b/sdk/nimble/src/operation/tag_resource/builders.rs index 9cb231e4bbcc..4d109bf772f9 100644 --- a/sdk/nimble/src/operation/tag_resource/builders.rs +++ b/sdk/nimble/src/operation/tag_resource/builders.rs @@ -19,9 +19,9 @@ impl TagResourceFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl TagResourceFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::tag_resource::TagResource, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                        The Amazon Resource Name (ARN) of the resource you want to add tags to.

                                                                                                                                                                                                                                        pub fn resource_arn(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.resource_arn(input.into()); diff --git a/sdk/nimble/src/operation/untag_resource/builders.rs b/sdk/nimble/src/operation/untag_resource/builders.rs index 1d0267329b1e..cc2fa46ce698 100644 --- a/sdk/nimble/src/operation/untag_resource/builders.rs +++ b/sdk/nimble/src/operation/untag_resource/builders.rs @@ -19,9 +19,9 @@ impl UntagResourceFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl UntagResourceFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::untag_resource::UntagResource, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                        Identifies the Amazon Resource Name(ARN) key from which you are removing tags.

                                                                                                                                                                                                                                        pub fn resource_arn(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.resource_arn(input.into()); diff --git a/sdk/nimble/src/operation/update_launch_profile/builders.rs b/sdk/nimble/src/operation/update_launch_profile/builders.rs index 648c2aeaaf32..30092ab8be48 100644 --- a/sdk/nimble/src/operation/update_launch_profile/builders.rs +++ b/sdk/nimble/src/operation/update_launch_profile/builders.rs @@ -19,9 +19,9 @@ impl UpdateLaunchProfileFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl UpdateLaunchProfileFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::update_launch_profile::UpdateLaunchProfile, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::update_launch_profile::UpdateLaunchProfileError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                        Unique, case-sensitive identifier that you provide to ensure the idempotency of the request. If you don’t specify a client token, the Amazon Web Services SDK automatically generates a client token and uses it for the request to ensure idempotency.

                                                                                                                                                                                                                                        pub fn client_token(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.client_token(input.into()); diff --git a/sdk/nimble/src/operation/update_launch_profile_member/builders.rs b/sdk/nimble/src/operation/update_launch_profile_member/builders.rs index 951d052343a2..65dfc8845dbd 100644 --- a/sdk/nimble/src/operation/update_launch_profile_member/builders.rs +++ b/sdk/nimble/src/operation/update_launch_profile_member/builders.rs @@ -19,9 +19,9 @@ impl UpdateLaunchProfileMemberFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl UpdateLaunchProfileMemberFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::update_launch_profile_member::UpdateLaunchProfileMember, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::update_launch_profile_member::UpdateLaunchProfileMemberError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                        Unique, case-sensitive identifier that you provide to ensure the idempotency of the request. If you don’t specify a client token, the Amazon Web Services SDK automatically generates a client token and uses it for the request to ensure idempotency.

                                                                                                                                                                                                                                        pub fn client_token(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.client_token(input.into()); diff --git a/sdk/nimble/src/operation/update_streaming_image/builders.rs b/sdk/nimble/src/operation/update_streaming_image/builders.rs index 320e4212073c..be38488cf7bf 100644 --- a/sdk/nimble/src/operation/update_streaming_image/builders.rs +++ b/sdk/nimble/src/operation/update_streaming_image/builders.rs @@ -19,9 +19,9 @@ impl UpdateStreamingImageFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl UpdateStreamingImageFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::update_streaming_image::UpdateStreamingImage, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::update_streaming_image::UpdateStreamingImageError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                        Unique, case-sensitive identifier that you provide to ensure the idempotency of the request. If you don’t specify a client token, the Amazon Web Services SDK automatically generates a client token and uses it for the request to ensure idempotency.

                                                                                                                                                                                                                                        pub fn client_token(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.client_token(input.into()); diff --git a/sdk/nimble/src/operation/update_studio/builders.rs b/sdk/nimble/src/operation/update_studio/builders.rs index 339eddee22d5..412e399b627c 100644 --- a/sdk/nimble/src/operation/update_studio/builders.rs +++ b/sdk/nimble/src/operation/update_studio/builders.rs @@ -20,9 +20,9 @@ impl UpdateStudioFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -78,6 +78,20 @@ impl UpdateStudioFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::update_studio::UpdateStudio, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                        The IAM role that Studio Admins will assume when logging in to the Nimble Studio portal.

                                                                                                                                                                                                                                        pub fn admin_role_arn( mut self, diff --git a/sdk/nimble/src/operation/update_studio_component/builders.rs b/sdk/nimble/src/operation/update_studio_component/builders.rs index c7991d44dfbe..35a8ebfcf75b 100644 --- a/sdk/nimble/src/operation/update_studio_component/builders.rs +++ b/sdk/nimble/src/operation/update_studio_component/builders.rs @@ -19,9 +19,9 @@ impl UpdateStudioComponentFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl UpdateStudioComponentFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::update_studio_component::UpdateStudioComponent, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::update_studio_component::UpdateStudioComponentError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                        Unique, case-sensitive identifier that you provide to ensure the idempotency of the request. If you don’t specify a client token, the Amazon Web Services SDK automatically generates a client token and uses it for the request to ensure idempotency.

                                                                                                                                                                                                                                        pub fn client_token(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.client_token(input.into()); diff --git a/sdk/oam/src/operation/create_link/builders.rs b/sdk/oam/src/operation/create_link/builders.rs index 41310ed293e9..649aa6ad2697 100644 --- a/sdk/oam/src/operation/create_link/builders.rs +++ b/sdk/oam/src/operation/create_link/builders.rs @@ -23,9 +23,9 @@ impl CreateLinkFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -81,6 +81,20 @@ impl CreateLinkFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::create_link::CreateLink, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                        Specify a friendly human-readable name to use to identify this source account when you are viewing data from it in the monitoring account.

                                                                                                                                                                                                                                        ///

                                                                                                                                                                                                                                        You can use a custom label or use the following variables:

                                                                                                                                                                                                                                        ///
                                                                                                                                                                                                                                          diff --git a/sdk/oam/src/operation/create_sink/builders.rs b/sdk/oam/src/operation/create_sink/builders.rs index 4ff1eb42f6d1..cd44a6ea2ec1 100644 --- a/sdk/oam/src/operation/create_sink/builders.rs +++ b/sdk/oam/src/operation/create_sink/builders.rs @@ -21,9 +21,9 @@ impl CreateSinkFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -79,6 +79,20 @@ impl CreateSinkFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::create_sink::CreateSink, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                          A name for the sink.

                                                                                                                                                                                                                                          pub fn name(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.name(input.into()); diff --git a/sdk/oam/src/operation/delete_link/builders.rs b/sdk/oam/src/operation/delete_link/builders.rs index 6ec12c8a32ad..275f17c796f9 100644 --- a/sdk/oam/src/operation/delete_link/builders.rs +++ b/sdk/oam/src/operation/delete_link/builders.rs @@ -19,9 +19,9 @@ impl DeleteLinkFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl DeleteLinkFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::delete_link::DeleteLink, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                          The ARN of the link to delete.

                                                                                                                                                                                                                                          pub fn identifier(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.identifier(input.into()); diff --git a/sdk/oam/src/operation/delete_sink/builders.rs b/sdk/oam/src/operation/delete_sink/builders.rs index 8c8e01bc62b7..f48d4bad0656 100644 --- a/sdk/oam/src/operation/delete_sink/builders.rs +++ b/sdk/oam/src/operation/delete_sink/builders.rs @@ -19,9 +19,9 @@ impl DeleteSinkFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl DeleteSinkFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::delete_sink::DeleteSink, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                          The ARN of the sink to delete.

                                                                                                                                                                                                                                          pub fn identifier(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.identifier(input.into()); diff --git a/sdk/oam/src/operation/get_link/builders.rs b/sdk/oam/src/operation/get_link/builders.rs index 6456ff14a17f..3a1717d30c92 100644 --- a/sdk/oam/src/operation/get_link/builders.rs +++ b/sdk/oam/src/operation/get_link/builders.rs @@ -20,9 +20,9 @@ impl GetLinkFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -78,6 +78,20 @@ impl GetLinkFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::get_link::GetLink, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                          The ARN of the link to retrieve information for.

                                                                                                                                                                                                                                          pub fn identifier(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.identifier(input.into()); diff --git a/sdk/oam/src/operation/get_sink/builders.rs b/sdk/oam/src/operation/get_sink/builders.rs index 3c30dab41b6c..ebeeb61205cf 100644 --- a/sdk/oam/src/operation/get_sink/builders.rs +++ b/sdk/oam/src/operation/get_sink/builders.rs @@ -20,9 +20,9 @@ impl GetSinkFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -78,6 +78,20 @@ impl GetSinkFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::get_sink::GetSink, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                          The ARN of the sink to retrieve information for.

                                                                                                                                                                                                                                          pub fn identifier(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.identifier(input.into()); diff --git a/sdk/oam/src/operation/get_sink_policy/builders.rs b/sdk/oam/src/operation/get_sink_policy/builders.rs index 17021b5a864d..b3657d20191b 100644 --- a/sdk/oam/src/operation/get_sink_policy/builders.rs +++ b/sdk/oam/src/operation/get_sink_policy/builders.rs @@ -19,9 +19,9 @@ impl GetSinkPolicyFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl GetSinkPolicyFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::get_sink_policy::GetSinkPolicy, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                          The ARN of the sink to retrieve the policy of.

                                                                                                                                                                                                                                          pub fn sink_identifier( mut self, diff --git a/sdk/oam/src/operation/list_attached_links/builders.rs b/sdk/oam/src/operation/list_attached_links/builders.rs index 815668b9eb53..af23eee8e401 100644 --- a/sdk/oam/src/operation/list_attached_links/builders.rs +++ b/sdk/oam/src/operation/list_attached_links/builders.rs @@ -21,9 +21,9 @@ impl ListAttachedLinksFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -85,6 +85,22 @@ impl ListAttachedLinksFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_attached_links::ListAttachedLinks, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::list_attached_links::ListAttachedLinksError, + >, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::list_attached_links::paginator::ListAttachedLinksPaginator::send) which returns a `Stream`. diff --git a/sdk/oam/src/operation/list_links/builders.rs b/sdk/oam/src/operation/list_links/builders.rs index 41d8736407a8..489211a7a52e 100644 --- a/sdk/oam/src/operation/list_links/builders.rs +++ b/sdk/oam/src/operation/list_links/builders.rs @@ -20,9 +20,9 @@ impl ListLinksFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -78,6 +78,20 @@ impl ListLinksFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_links::ListLinks, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::list_links::paginator::ListLinksPaginator::send) which returns a `Stream`. diff --git a/sdk/oam/src/operation/list_sinks/builders.rs b/sdk/oam/src/operation/list_sinks/builders.rs index 276aea39ffe1..48a25af29fd1 100644 --- a/sdk/oam/src/operation/list_sinks/builders.rs +++ b/sdk/oam/src/operation/list_sinks/builders.rs @@ -19,9 +19,9 @@ impl ListSinksFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl ListSinksFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_sinks::ListSinks, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::list_sinks::paginator::ListSinksPaginator::send) which returns a `Stream`. diff --git a/sdk/oam/src/operation/list_tags_for_resource/builders.rs b/sdk/oam/src/operation/list_tags_for_resource/builders.rs index c6ba8acd697a..4a9c9926831c 100644 --- a/sdk/oam/src/operation/list_tags_for_resource/builders.rs +++ b/sdk/oam/src/operation/list_tags_for_resource/builders.rs @@ -19,9 +19,9 @@ impl ListTagsForResourceFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl ListTagsForResourceFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_tags_for_resource::ListTagsForResource, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::list_tags_for_resource::ListTagsForResourceError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                          The ARN of the resource that you want to view tags for.

                                                                                                                                                                                                                                          ///

                                                                                                                                                                                                                                          The ARN format of a sink is arn:aws:oam:Region:account-id:sink/sink-id

                                                                                                                                                                                                                                          ///

                                                                                                                                                                                                                                          The ARN format of a link is arn:aws:oam:Region:account-id:link/link-id

                                                                                                                                                                                                                                          diff --git a/sdk/oam/src/operation/put_sink_policy/builders.rs b/sdk/oam/src/operation/put_sink_policy/builders.rs index db7551cc4654..59a9d0360baf 100644 --- a/sdk/oam/src/operation/put_sink_policy/builders.rs +++ b/sdk/oam/src/operation/put_sink_policy/builders.rs @@ -26,9 +26,9 @@ impl PutSinkPolicyFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -84,6 +84,20 @@ impl PutSinkPolicyFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::put_sink_policy::PutSinkPolicy, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                          The ARN of the sink to attach this policy to.

                                                                                                                                                                                                                                          pub fn sink_identifier( mut self, diff --git a/sdk/oam/src/operation/tag_resource/builders.rs b/sdk/oam/src/operation/tag_resource/builders.rs index 081c45bcba93..cac38dc8cb7e 100644 --- a/sdk/oam/src/operation/tag_resource/builders.rs +++ b/sdk/oam/src/operation/tag_resource/builders.rs @@ -25,9 +25,9 @@ impl TagResourceFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,20 @@ impl TagResourceFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::tag_resource::TagResource, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                          The ARN of the resource that you're adding tags to.

                                                                                                                                                                                                                                          ///

                                                                                                                                                                                                                                          The ARN format of a sink is arn:aws:oam:Region:account-id:sink/sink-id

                                                                                                                                                                                                                                          ///

                                                                                                                                                                                                                                          The ARN format of a link is arn:aws:oam:Region:account-id:link/link-id

                                                                                                                                                                                                                                          diff --git a/sdk/oam/src/operation/untag_resource/builders.rs b/sdk/oam/src/operation/untag_resource/builders.rs index ef701d4775d2..83872365e9d3 100644 --- a/sdk/oam/src/operation/untag_resource/builders.rs +++ b/sdk/oam/src/operation/untag_resource/builders.rs @@ -21,9 +21,9 @@ impl UntagResourceFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -79,6 +79,20 @@ impl UntagResourceFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::untag_resource::UntagResource, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                          The ARN of the resource that you're removing tags from.

                                                                                                                                                                                                                                          ///

                                                                                                                                                                                                                                          The ARN format of a sink is arn:aws:oam:Region:account-id:sink/sink-id

                                                                                                                                                                                                                                          ///

                                                                                                                                                                                                                                          The ARN format of a link is arn:aws:oam:Region:account-id:link/link-id

                                                                                                                                                                                                                                          diff --git a/sdk/oam/src/operation/update_link/builders.rs b/sdk/oam/src/operation/update_link/builders.rs index 80f0cd2bc479..e06b409f15b8 100644 --- a/sdk/oam/src/operation/update_link/builders.rs +++ b/sdk/oam/src/operation/update_link/builders.rs @@ -20,9 +20,9 @@ impl UpdateLinkFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -78,6 +78,20 @@ impl UpdateLinkFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::update_link::UpdateLink, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                          The ARN of the link that you want to update.

                                                                                                                                                                                                                                          pub fn identifier(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.identifier(input.into()); diff --git a/sdk/omics/src/operation/abort_multipart_read_set_upload/builders.rs b/sdk/omics/src/operation/abort_multipart_read_set_upload/builders.rs index 1dd73e4c35b4..001ca25ada07 100644 --- a/sdk/omics/src/operation/abort_multipart_read_set_upload/builders.rs +++ b/sdk/omics/src/operation/abort_multipart_read_set_upload/builders.rs @@ -19,9 +19,9 @@ impl AbortMultipartReadSetUploadFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl AbortMultipartReadSetUploadFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::abort_multipart_read_set_upload::AbortMultipartReadSetUpload, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::abort_multipart_read_set_upload::AbortMultipartReadSetUploadError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                          The sequence store ID for the store involved in the multipart upload.

                                                                                                                                                                                                                                          pub fn sequence_store_id( mut self, diff --git a/sdk/omics/src/operation/batch_delete_read_set/builders.rs b/sdk/omics/src/operation/batch_delete_read_set/builders.rs index 3c827932bf15..7621549cc55e 100644 --- a/sdk/omics/src/operation/batch_delete_read_set/builders.rs +++ b/sdk/omics/src/operation/batch_delete_read_set/builders.rs @@ -19,9 +19,9 @@ impl BatchDeleteReadSetFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl BatchDeleteReadSetFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::batch_delete_read_set::BatchDeleteReadSet, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::batch_delete_read_set::BatchDeleteReadSetError, + >, + > { + self.customize_middleware().await + } /// Appends an item to `ids`. /// /// To override the contents of this collection use [`set_ids`](Self::set_ids). diff --git a/sdk/omics/src/operation/cancel_annotation_import_job/builders.rs b/sdk/omics/src/operation/cancel_annotation_import_job/builders.rs index 8a2db14c4e25..8d5b406645ec 100644 --- a/sdk/omics/src/operation/cancel_annotation_import_job/builders.rs +++ b/sdk/omics/src/operation/cancel_annotation_import_job/builders.rs @@ -19,9 +19,9 @@ impl CancelAnnotationImportJobFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl CancelAnnotationImportJobFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::cancel_annotation_import_job::CancelAnnotationImportJob, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::cancel_annotation_import_job::CancelAnnotationImportJobError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                          The job's ID.

                                                                                                                                                                                                                                          pub fn job_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.job_id(input.into()); diff --git a/sdk/omics/src/operation/cancel_run/builders.rs b/sdk/omics/src/operation/cancel_run/builders.rs index 82e754dae516..91f2088a1e49 100644 --- a/sdk/omics/src/operation/cancel_run/builders.rs +++ b/sdk/omics/src/operation/cancel_run/builders.rs @@ -19,9 +19,9 @@ impl CancelRunFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl CancelRunFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::cancel_run::CancelRun, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                          The run's ID.

                                                                                                                                                                                                                                          pub fn id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.id(input.into()); diff --git a/sdk/omics/src/operation/cancel_variant_import_job/builders.rs b/sdk/omics/src/operation/cancel_variant_import_job/builders.rs index 8666415dad69..ca452c1b9e30 100644 --- a/sdk/omics/src/operation/cancel_variant_import_job/builders.rs +++ b/sdk/omics/src/operation/cancel_variant_import_job/builders.rs @@ -20,9 +20,9 @@ impl CancelVariantImportJobFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -84,6 +84,22 @@ impl CancelVariantImportJobFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::cancel_variant_import_job::CancelVariantImportJob, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::cancel_variant_import_job::CancelVariantImportJobError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                          The job's ID.

                                                                                                                                                                                                                                          pub fn job_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.job_id(input.into()); diff --git a/sdk/omics/src/operation/complete_multipart_read_set_upload/builders.rs b/sdk/omics/src/operation/complete_multipart_read_set_upload/builders.rs index f16d26d9b7f6..1ce34e843f60 100644 --- a/sdk/omics/src/operation/complete_multipart_read_set_upload/builders.rs +++ b/sdk/omics/src/operation/complete_multipart_read_set_upload/builders.rs @@ -19,9 +19,9 @@ impl CompleteMultipartReadSetUploadFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize(self) -> ::std::result::Result< + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware(self) -> ::std::result::Result< crate::client::customize::CustomizableOperation, ::aws_smithy_http::result::SdkError >{ @@ -64,6 +64,15 @@ impl CompleteMultipartReadSetUploadFluentBuilder { { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize(self) -> ::std::result::Result< + crate::client::customize::CustomizableOperation, + ::aws_smithy_http::result::SdkError + >{ + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                          The sequence store ID for the store involved in the multipart upload.

                                                                                                                                                                                                                                          pub fn sequence_store_id( mut self, diff --git a/sdk/omics/src/operation/create_annotation_store/builders.rs b/sdk/omics/src/operation/create_annotation_store/builders.rs index 3063ad63f486..eb75ba1507d3 100644 --- a/sdk/omics/src/operation/create_annotation_store/builders.rs +++ b/sdk/omics/src/operation/create_annotation_store/builders.rs @@ -19,9 +19,9 @@ impl CreateAnnotationStoreFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl CreateAnnotationStoreFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::create_annotation_store::CreateAnnotationStore, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::create_annotation_store::CreateAnnotationStoreError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                          The genome reference for the store's annotations.

                                                                                                                                                                                                                                          pub fn reference(mut self, input: crate::types::ReferenceItem) -> Self { self.inner = self.inner.reference(input); diff --git a/sdk/omics/src/operation/create_multipart_read_set_upload/builders.rs b/sdk/omics/src/operation/create_multipart_read_set_upload/builders.rs index 77db3b5d10a9..513861a82b26 100644 --- a/sdk/omics/src/operation/create_multipart_read_set_upload/builders.rs +++ b/sdk/omics/src/operation/create_multipart_read_set_upload/builders.rs @@ -19,9 +19,9 @@ impl CreateMultipartReadSetUploadFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl CreateMultipartReadSetUploadFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::create_multipart_read_set_upload::CreateMultipartReadSetUpload, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::create_multipart_read_set_upload::CreateMultipartReadSetUploadError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                          The sequence store ID for the store that is the destination of the multipart uploads.

                                                                                                                                                                                                                                          pub fn sequence_store_id( mut self, diff --git a/sdk/omics/src/operation/create_reference_store/builders.rs b/sdk/omics/src/operation/create_reference_store/builders.rs index 1864ae88d13c..fc03212e9361 100644 --- a/sdk/omics/src/operation/create_reference_store/builders.rs +++ b/sdk/omics/src/operation/create_reference_store/builders.rs @@ -19,9 +19,9 @@ impl CreateReferenceStoreFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl CreateReferenceStoreFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::create_reference_store::CreateReferenceStore, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::create_reference_store::CreateReferenceStoreError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                          A name for the store.

                                                                                                                                                                                                                                          pub fn name(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.name(input.into()); diff --git a/sdk/omics/src/operation/create_run_group/builders.rs b/sdk/omics/src/operation/create_run_group/builders.rs index 7384fcd9c264..2328a93e19a6 100644 --- a/sdk/omics/src/operation/create_run_group/builders.rs +++ b/sdk/omics/src/operation/create_run_group/builders.rs @@ -19,9 +19,9 @@ impl CreateRunGroupFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl CreateRunGroupFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::create_run_group::CreateRunGroup, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::create_run_group::CreateRunGroupError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                          A name for the group.

                                                                                                                                                                                                                                          pub fn name(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.name(input.into()); diff --git a/sdk/omics/src/operation/create_sequence_store/builders.rs b/sdk/omics/src/operation/create_sequence_store/builders.rs index 86e6538b59f1..b52f68995ebf 100644 --- a/sdk/omics/src/operation/create_sequence_store/builders.rs +++ b/sdk/omics/src/operation/create_sequence_store/builders.rs @@ -19,9 +19,9 @@ impl CreateSequenceStoreFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl CreateSequenceStoreFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::create_sequence_store::CreateSequenceStore, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::create_sequence_store::CreateSequenceStoreError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                          A name for the store.

                                                                                                                                                                                                                                          pub fn name(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.name(input.into()); diff --git a/sdk/omics/src/operation/create_variant_store/builders.rs b/sdk/omics/src/operation/create_variant_store/builders.rs index 6906ab112fa0..659f746923c2 100644 --- a/sdk/omics/src/operation/create_variant_store/builders.rs +++ b/sdk/omics/src/operation/create_variant_store/builders.rs @@ -19,9 +19,9 @@ impl CreateVariantStoreFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl CreateVariantStoreFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::create_variant_store::CreateVariantStore, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::create_variant_store::CreateVariantStoreError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                          The genome reference for the store's variants.

                                                                                                                                                                                                                                          pub fn reference(mut self, input: crate::types::ReferenceItem) -> Self { self.inner = self.inner.reference(input); diff --git a/sdk/omics/src/operation/create_workflow/builders.rs b/sdk/omics/src/operation/create_workflow/builders.rs index 23c57f9ba6a0..aa3eb41bb928 100644 --- a/sdk/omics/src/operation/create_workflow/builders.rs +++ b/sdk/omics/src/operation/create_workflow/builders.rs @@ -19,9 +19,9 @@ impl CreateWorkflowFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl CreateWorkflowFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::create_workflow::CreateWorkflow, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                          A name for the workflow.

                                                                                                                                                                                                                                          pub fn name(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.name(input.into()); diff --git a/sdk/omics/src/operation/delete_annotation_store/builders.rs b/sdk/omics/src/operation/delete_annotation_store/builders.rs index 13444758c75e..0ea599a8445e 100644 --- a/sdk/omics/src/operation/delete_annotation_store/builders.rs +++ b/sdk/omics/src/operation/delete_annotation_store/builders.rs @@ -19,9 +19,9 @@ impl DeleteAnnotationStoreFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl DeleteAnnotationStoreFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::delete_annotation_store::DeleteAnnotationStore, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::delete_annotation_store::DeleteAnnotationStoreError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                          The store's name.

                                                                                                                                                                                                                                          pub fn name(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.name(input.into()); diff --git a/sdk/omics/src/operation/delete_reference/builders.rs b/sdk/omics/src/operation/delete_reference/builders.rs index 2fa44d8a2d30..940e9a7e0ddd 100644 --- a/sdk/omics/src/operation/delete_reference/builders.rs +++ b/sdk/omics/src/operation/delete_reference/builders.rs @@ -19,9 +19,9 @@ impl DeleteReferenceFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl DeleteReferenceFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::delete_reference::DeleteReference, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::delete_reference::DeleteReferenceError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                          The reference's ID.

                                                                                                                                                                                                                                          pub fn id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.id(input.into()); diff --git a/sdk/omics/src/operation/delete_reference_store/builders.rs b/sdk/omics/src/operation/delete_reference_store/builders.rs index 868e6bc2490c..60e99f567d31 100644 --- a/sdk/omics/src/operation/delete_reference_store/builders.rs +++ b/sdk/omics/src/operation/delete_reference_store/builders.rs @@ -19,9 +19,9 @@ impl DeleteReferenceStoreFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl DeleteReferenceStoreFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::delete_reference_store::DeleteReferenceStore, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::delete_reference_store::DeleteReferenceStoreError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                          The store's ID.

                                                                                                                                                                                                                                          pub fn id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.id(input.into()); diff --git a/sdk/omics/src/operation/delete_run/builders.rs b/sdk/omics/src/operation/delete_run/builders.rs index 7c740dd6c76a..74c4a7222ba2 100644 --- a/sdk/omics/src/operation/delete_run/builders.rs +++ b/sdk/omics/src/operation/delete_run/builders.rs @@ -19,9 +19,9 @@ impl DeleteRunFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl DeleteRunFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::delete_run::DeleteRun, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                          The run's ID.

                                                                                                                                                                                                                                          pub fn id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.id(input.into()); diff --git a/sdk/omics/src/operation/delete_run_group/builders.rs b/sdk/omics/src/operation/delete_run_group/builders.rs index b0647176e01f..c23719d6286f 100644 --- a/sdk/omics/src/operation/delete_run_group/builders.rs +++ b/sdk/omics/src/operation/delete_run_group/builders.rs @@ -19,9 +19,9 @@ impl DeleteRunGroupFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl DeleteRunGroupFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::delete_run_group::DeleteRunGroup, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::delete_run_group::DeleteRunGroupError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                          The run group's ID.

                                                                                                                                                                                                                                          pub fn id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.id(input.into()); diff --git a/sdk/omics/src/operation/delete_sequence_store/builders.rs b/sdk/omics/src/operation/delete_sequence_store/builders.rs index ccd68f071c23..44a5dc53deb6 100644 --- a/sdk/omics/src/operation/delete_sequence_store/builders.rs +++ b/sdk/omics/src/operation/delete_sequence_store/builders.rs @@ -19,9 +19,9 @@ impl DeleteSequenceStoreFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl DeleteSequenceStoreFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::delete_sequence_store::DeleteSequenceStore, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::delete_sequence_store::DeleteSequenceStoreError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                          The sequence store's ID.

                                                                                                                                                                                                                                          pub fn id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.id(input.into()); diff --git a/sdk/omics/src/operation/delete_variant_store/builders.rs b/sdk/omics/src/operation/delete_variant_store/builders.rs index 650c65277eea..251f9e7ab737 100644 --- a/sdk/omics/src/operation/delete_variant_store/builders.rs +++ b/sdk/omics/src/operation/delete_variant_store/builders.rs @@ -19,9 +19,9 @@ impl DeleteVariantStoreFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl DeleteVariantStoreFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::delete_variant_store::DeleteVariantStore, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::delete_variant_store::DeleteVariantStoreError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                          The store's name.

                                                                                                                                                                                                                                          pub fn name(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.name(input.into()); diff --git a/sdk/omics/src/operation/delete_workflow/builders.rs b/sdk/omics/src/operation/delete_workflow/builders.rs index 48c3156cd4cf..92d7129508b9 100644 --- a/sdk/omics/src/operation/delete_workflow/builders.rs +++ b/sdk/omics/src/operation/delete_workflow/builders.rs @@ -19,9 +19,9 @@ impl DeleteWorkflowFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl DeleteWorkflowFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::delete_workflow::DeleteWorkflow, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                          The workflow's ID.

                                                                                                                                                                                                                                          pub fn id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.id(input.into()); diff --git a/sdk/omics/src/operation/get_annotation_import_job/builders.rs b/sdk/omics/src/operation/get_annotation_import_job/builders.rs index 2fc486ec7975..7e6317757151 100644 --- a/sdk/omics/src/operation/get_annotation_import_job/builders.rs +++ b/sdk/omics/src/operation/get_annotation_import_job/builders.rs @@ -20,9 +20,9 @@ impl GetAnnotationImportJobFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -84,6 +84,22 @@ impl GetAnnotationImportJobFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::get_annotation_import_job::GetAnnotationImportJob, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::get_annotation_import_job::GetAnnotationImportJobError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                          The job's ID.

                                                                                                                                                                                                                                          pub fn job_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.job_id(input.into()); diff --git a/sdk/omics/src/operation/get_annotation_store/builders.rs b/sdk/omics/src/operation/get_annotation_store/builders.rs index 644b2e333ff7..5ad39b0d07fe 100644 --- a/sdk/omics/src/operation/get_annotation_store/builders.rs +++ b/sdk/omics/src/operation/get_annotation_store/builders.rs @@ -19,9 +19,9 @@ impl GetAnnotationStoreFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl GetAnnotationStoreFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::get_annotation_store::GetAnnotationStore, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::get_annotation_store::GetAnnotationStoreError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                          The store's name.

                                                                                                                                                                                                                                          pub fn name(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.name(input.into()); diff --git a/sdk/omics/src/operation/get_read_set/builders.rs b/sdk/omics/src/operation/get_read_set/builders.rs index c5e8b7b9b450..63ccdaaec090 100644 --- a/sdk/omics/src/operation/get_read_set/builders.rs +++ b/sdk/omics/src/operation/get_read_set/builders.rs @@ -19,9 +19,9 @@ impl GetReadSetFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl GetReadSetFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::get_read_set::GetReadSet, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                          The read set's ID.

                                                                                                                                                                                                                                          pub fn id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.id(input.into()); diff --git a/sdk/omics/src/operation/get_read_set_activation_job/builders.rs b/sdk/omics/src/operation/get_read_set_activation_job/builders.rs index e145092c9bbb..25aab3556f9a 100644 --- a/sdk/omics/src/operation/get_read_set_activation_job/builders.rs +++ b/sdk/omics/src/operation/get_read_set_activation_job/builders.rs @@ -19,9 +19,9 @@ impl GetReadSetActivationJobFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl GetReadSetActivationJobFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::get_read_set_activation_job::GetReadSetActivationJob, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::get_read_set_activation_job::GetReadSetActivationJobError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                          The job's ID.

                                                                                                                                                                                                                                          pub fn id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.id(input.into()); diff --git a/sdk/omics/src/operation/get_read_set_export_job/builders.rs b/sdk/omics/src/operation/get_read_set_export_job/builders.rs index 60c6ea23793c..5a2b736f89e5 100644 --- a/sdk/omics/src/operation/get_read_set_export_job/builders.rs +++ b/sdk/omics/src/operation/get_read_set_export_job/builders.rs @@ -19,9 +19,9 @@ impl GetReadSetExportJobFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl GetReadSetExportJobFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::get_read_set_export_job::GetReadSetExportJob, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::get_read_set_export_job::GetReadSetExportJobError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                          The job's sequence store ID.

                                                                                                                                                                                                                                          pub fn sequence_store_id( mut self, diff --git a/sdk/omics/src/operation/get_read_set_import_job/builders.rs b/sdk/omics/src/operation/get_read_set_import_job/builders.rs index 33cda60ad421..3af351ab037f 100644 --- a/sdk/omics/src/operation/get_read_set_import_job/builders.rs +++ b/sdk/omics/src/operation/get_read_set_import_job/builders.rs @@ -19,9 +19,9 @@ impl GetReadSetImportJobFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl GetReadSetImportJobFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::get_read_set_import_job::GetReadSetImportJob, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::get_read_set_import_job::GetReadSetImportJobError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                          The job's ID.

                                                                                                                                                                                                                                          pub fn id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.id(input.into()); diff --git a/sdk/omics/src/operation/get_read_set_metadata/builders.rs b/sdk/omics/src/operation/get_read_set_metadata/builders.rs index 7daf3f2f0f71..213534bc5a5c 100644 --- a/sdk/omics/src/operation/get_read_set_metadata/builders.rs +++ b/sdk/omics/src/operation/get_read_set_metadata/builders.rs @@ -19,9 +19,9 @@ impl GetReadSetMetadataFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl GetReadSetMetadataFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::get_read_set_metadata::GetReadSetMetadata, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::get_read_set_metadata::GetReadSetMetadataError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                          The read set's ID.

                                                                                                                                                                                                                                          pub fn id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.id(input.into()); diff --git a/sdk/omics/src/operation/get_reference/builders.rs b/sdk/omics/src/operation/get_reference/builders.rs index 73636c7e41ea..0db9799f68fc 100644 --- a/sdk/omics/src/operation/get_reference/builders.rs +++ b/sdk/omics/src/operation/get_reference/builders.rs @@ -19,9 +19,9 @@ impl GetReferenceFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl GetReferenceFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::get_reference::GetReference, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                          The reference's ID.

                                                                                                                                                                                                                                          pub fn id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.id(input.into()); diff --git a/sdk/omics/src/operation/get_reference_import_job/builders.rs b/sdk/omics/src/operation/get_reference_import_job/builders.rs index dc33435651cd..4c495979b7cf 100644 --- a/sdk/omics/src/operation/get_reference_import_job/builders.rs +++ b/sdk/omics/src/operation/get_reference_import_job/builders.rs @@ -19,9 +19,9 @@ impl GetReferenceImportJobFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl GetReferenceImportJobFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::get_reference_import_job::GetReferenceImportJob, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::get_reference_import_job::GetReferenceImportJobError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                          The job's ID.

                                                                                                                                                                                                                                          pub fn id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.id(input.into()); diff --git a/sdk/omics/src/operation/get_reference_metadata/builders.rs b/sdk/omics/src/operation/get_reference_metadata/builders.rs index 6935aa29e1dd..24231fc18e93 100644 --- a/sdk/omics/src/operation/get_reference_metadata/builders.rs +++ b/sdk/omics/src/operation/get_reference_metadata/builders.rs @@ -19,9 +19,9 @@ impl GetReferenceMetadataFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl GetReferenceMetadataFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::get_reference_metadata::GetReferenceMetadata, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::get_reference_metadata::GetReferenceMetadataError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                          The reference's ID.

                                                                                                                                                                                                                                          pub fn id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.id(input.into()); diff --git a/sdk/omics/src/operation/get_reference_store/builders.rs b/sdk/omics/src/operation/get_reference_store/builders.rs index c51f26af235b..b0eacb26c776 100644 --- a/sdk/omics/src/operation/get_reference_store/builders.rs +++ b/sdk/omics/src/operation/get_reference_store/builders.rs @@ -19,9 +19,9 @@ impl GetReferenceStoreFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl GetReferenceStoreFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::get_reference_store::GetReferenceStore, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::get_reference_store::GetReferenceStoreError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                          The store's ID.

                                                                                                                                                                                                                                          pub fn id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.id(input.into()); diff --git a/sdk/omics/src/operation/get_run/builders.rs b/sdk/omics/src/operation/get_run/builders.rs index 7df89264a231..8bea413f6d4e 100644 --- a/sdk/omics/src/operation/get_run/builders.rs +++ b/sdk/omics/src/operation/get_run/builders.rs @@ -19,9 +19,9 @@ impl GetRunFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl GetRunFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::get_run::GetRun, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                          The run's ID.

                                                                                                                                                                                                                                          pub fn id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.id(input.into()); diff --git a/sdk/omics/src/operation/get_run_group/builders.rs b/sdk/omics/src/operation/get_run_group/builders.rs index 9cb6d7d91dfd..c74726cdc063 100644 --- a/sdk/omics/src/operation/get_run_group/builders.rs +++ b/sdk/omics/src/operation/get_run_group/builders.rs @@ -19,9 +19,9 @@ impl GetRunGroupFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl GetRunGroupFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::get_run_group::GetRunGroup, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                          The group's ID.

                                                                                                                                                                                                                                          pub fn id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.id(input.into()); diff --git a/sdk/omics/src/operation/get_run_task/builders.rs b/sdk/omics/src/operation/get_run_task/builders.rs index b115f2c7ca4d..0d8235512478 100644 --- a/sdk/omics/src/operation/get_run_task/builders.rs +++ b/sdk/omics/src/operation/get_run_task/builders.rs @@ -19,9 +19,9 @@ impl GetRunTaskFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl GetRunTaskFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::get_run_task::GetRunTask, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                          The task's ID.

                                                                                                                                                                                                                                          pub fn id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.id(input.into()); diff --git a/sdk/omics/src/operation/get_sequence_store/builders.rs b/sdk/omics/src/operation/get_sequence_store/builders.rs index b4b1575fd25c..698924ea8e56 100644 --- a/sdk/omics/src/operation/get_sequence_store/builders.rs +++ b/sdk/omics/src/operation/get_sequence_store/builders.rs @@ -19,9 +19,9 @@ impl GetSequenceStoreFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl GetSequenceStoreFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::get_sequence_store::GetSequenceStore, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::get_sequence_store::GetSequenceStoreError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                          The store's ID.

                                                                                                                                                                                                                                          pub fn id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.id(input.into()); diff --git a/sdk/omics/src/operation/get_variant_import_job/builders.rs b/sdk/omics/src/operation/get_variant_import_job/builders.rs index a9a58378df37..58c6614e60b9 100644 --- a/sdk/omics/src/operation/get_variant_import_job/builders.rs +++ b/sdk/omics/src/operation/get_variant_import_job/builders.rs @@ -19,9 +19,9 @@ impl GetVariantImportJobFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl GetVariantImportJobFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::get_variant_import_job::GetVariantImportJob, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::get_variant_import_job::GetVariantImportJobError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                          The job's ID.

                                                                                                                                                                                                                                          pub fn job_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.job_id(input.into()); diff --git a/sdk/omics/src/operation/get_variant_store/builders.rs b/sdk/omics/src/operation/get_variant_store/builders.rs index 841b227bd2cc..ec1f4d17fe9e 100644 --- a/sdk/omics/src/operation/get_variant_store/builders.rs +++ b/sdk/omics/src/operation/get_variant_store/builders.rs @@ -19,9 +19,9 @@ impl GetVariantStoreFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl GetVariantStoreFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::get_variant_store::GetVariantStore, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::get_variant_store::GetVariantStoreError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                          The store's name.

                                                                                                                                                                                                                                          pub fn name(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.name(input.into()); diff --git a/sdk/omics/src/operation/get_workflow/builders.rs b/sdk/omics/src/operation/get_workflow/builders.rs index 66b588af3f32..af9817433b02 100644 --- a/sdk/omics/src/operation/get_workflow/builders.rs +++ b/sdk/omics/src/operation/get_workflow/builders.rs @@ -19,9 +19,9 @@ impl GetWorkflowFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl GetWorkflowFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::get_workflow::GetWorkflow, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                          The workflow's ID.

                                                                                                                                                                                                                                          pub fn id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.id(input.into()); diff --git a/sdk/omics/src/operation/list_annotation_import_jobs/builders.rs b/sdk/omics/src/operation/list_annotation_import_jobs/builders.rs index 63ed312bfe19..58eb3f842cbf 100644 --- a/sdk/omics/src/operation/list_annotation_import_jobs/builders.rs +++ b/sdk/omics/src/operation/list_annotation_import_jobs/builders.rs @@ -19,9 +19,9 @@ impl ListAnnotationImportJobsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl ListAnnotationImportJobsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_annotation_import_jobs::ListAnnotationImportJobs, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::list_annotation_import_jobs::ListAnnotationImportJobsError, + >, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::list_annotation_import_jobs::paginator::ListAnnotationImportJobsPaginator::send) which returns a `Stream`. diff --git a/sdk/omics/src/operation/list_annotation_stores/builders.rs b/sdk/omics/src/operation/list_annotation_stores/builders.rs index 3ce110523681..30a4a79fdd2a 100644 --- a/sdk/omics/src/operation/list_annotation_stores/builders.rs +++ b/sdk/omics/src/operation/list_annotation_stores/builders.rs @@ -19,9 +19,9 @@ impl ListAnnotationStoresFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl ListAnnotationStoresFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_annotation_stores::ListAnnotationStores, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::list_annotation_stores::ListAnnotationStoresError, + >, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::list_annotation_stores::paginator::ListAnnotationStoresPaginator::send) which returns a `Stream`. diff --git a/sdk/omics/src/operation/list_multipart_read_set_uploads/builders.rs b/sdk/omics/src/operation/list_multipart_read_set_uploads/builders.rs index ad8e12adfee5..f93ce0bf7330 100644 --- a/sdk/omics/src/operation/list_multipart_read_set_uploads/builders.rs +++ b/sdk/omics/src/operation/list_multipart_read_set_uploads/builders.rs @@ -19,9 +19,9 @@ impl ListMultipartReadSetUploadsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl ListMultipartReadSetUploadsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_multipart_read_set_uploads::ListMultipartReadSetUploads, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::list_multipart_read_set_uploads::ListMultipartReadSetUploadsError, + >, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::list_multipart_read_set_uploads::paginator::ListMultipartReadSetUploadsPaginator::send) which returns a `Stream`. diff --git a/sdk/omics/src/operation/list_read_set_activation_jobs/builders.rs b/sdk/omics/src/operation/list_read_set_activation_jobs/builders.rs index 877e47910843..8fbf3fb6341b 100644 --- a/sdk/omics/src/operation/list_read_set_activation_jobs/builders.rs +++ b/sdk/omics/src/operation/list_read_set_activation_jobs/builders.rs @@ -19,9 +19,9 @@ impl ListReadSetActivationJobsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl ListReadSetActivationJobsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_read_set_activation_jobs::ListReadSetActivationJobs, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::list_read_set_activation_jobs::ListReadSetActivationJobsError, + >, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::list_read_set_activation_jobs::paginator::ListReadSetActivationJobsPaginator::send) which returns a `Stream`. diff --git a/sdk/omics/src/operation/list_read_set_export_jobs/builders.rs b/sdk/omics/src/operation/list_read_set_export_jobs/builders.rs index c8ad3f1dbe91..b83b98930c5d 100644 --- a/sdk/omics/src/operation/list_read_set_export_jobs/builders.rs +++ b/sdk/omics/src/operation/list_read_set_export_jobs/builders.rs @@ -19,9 +19,9 @@ impl ListReadSetExportJobsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl ListReadSetExportJobsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_read_set_export_jobs::ListReadSetExportJobs, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::list_read_set_export_jobs::ListReadSetExportJobsError, + >, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::list_read_set_export_jobs::paginator::ListReadSetExportJobsPaginator::send) which returns a `Stream`. diff --git a/sdk/omics/src/operation/list_read_set_import_jobs/builders.rs b/sdk/omics/src/operation/list_read_set_import_jobs/builders.rs index dabab8bc59fa..e39fbf033d29 100644 --- a/sdk/omics/src/operation/list_read_set_import_jobs/builders.rs +++ b/sdk/omics/src/operation/list_read_set_import_jobs/builders.rs @@ -19,9 +19,9 @@ impl ListReadSetImportJobsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl ListReadSetImportJobsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_read_set_import_jobs::ListReadSetImportJobs, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::list_read_set_import_jobs::ListReadSetImportJobsError, + >, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::list_read_set_import_jobs::paginator::ListReadSetImportJobsPaginator::send) which returns a `Stream`. diff --git a/sdk/omics/src/operation/list_read_set_upload_parts/builders.rs b/sdk/omics/src/operation/list_read_set_upload_parts/builders.rs index a5726f57e9ff..83e141d0f9c2 100644 --- a/sdk/omics/src/operation/list_read_set_upload_parts/builders.rs +++ b/sdk/omics/src/operation/list_read_set_upload_parts/builders.rs @@ -20,9 +20,9 @@ impl ListReadSetUploadPartsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -84,6 +84,22 @@ impl ListReadSetUploadPartsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_read_set_upload_parts::ListReadSetUploadParts, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::list_read_set_upload_parts::ListReadSetUploadPartsError, + >, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::list_read_set_upload_parts::paginator::ListReadSetUploadPartsPaginator::send) which returns a `Stream`. diff --git a/sdk/omics/src/operation/list_read_sets/builders.rs b/sdk/omics/src/operation/list_read_sets/builders.rs index 96881d64a8b8..0c95dc8236a3 100644 --- a/sdk/omics/src/operation/list_read_sets/builders.rs +++ b/sdk/omics/src/operation/list_read_sets/builders.rs @@ -19,9 +19,9 @@ impl ListReadSetsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl ListReadSetsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_read_sets::ListReadSets, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::list_read_sets::paginator::ListReadSetsPaginator::send) which returns a `Stream`. diff --git a/sdk/omics/src/operation/list_reference_import_jobs/builders.rs b/sdk/omics/src/operation/list_reference_import_jobs/builders.rs index f48a43240c1e..beae8665a03e 100644 --- a/sdk/omics/src/operation/list_reference_import_jobs/builders.rs +++ b/sdk/omics/src/operation/list_reference_import_jobs/builders.rs @@ -20,9 +20,9 @@ impl ListReferenceImportJobsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -84,6 +84,22 @@ impl ListReferenceImportJobsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_reference_import_jobs::ListReferenceImportJobs, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::list_reference_import_jobs::ListReferenceImportJobsError, + >, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::list_reference_import_jobs::paginator::ListReferenceImportJobsPaginator::send) which returns a `Stream`. diff --git a/sdk/omics/src/operation/list_reference_stores/builders.rs b/sdk/omics/src/operation/list_reference_stores/builders.rs index 102e6a52b003..5404948dca04 100644 --- a/sdk/omics/src/operation/list_reference_stores/builders.rs +++ b/sdk/omics/src/operation/list_reference_stores/builders.rs @@ -19,9 +19,9 @@ impl ListReferenceStoresFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl ListReferenceStoresFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_reference_stores::ListReferenceStores, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::list_reference_stores::ListReferenceStoresError, + >, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::list_reference_stores::paginator::ListReferenceStoresPaginator::send) which returns a `Stream`. diff --git a/sdk/omics/src/operation/list_references/builders.rs b/sdk/omics/src/operation/list_references/builders.rs index c24fe8c99e74..4e41e1ff3fe7 100644 --- a/sdk/omics/src/operation/list_references/builders.rs +++ b/sdk/omics/src/operation/list_references/builders.rs @@ -19,9 +19,9 @@ impl ListReferencesFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl ListReferencesFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_references::ListReferences, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::list_references::paginator::ListReferencesPaginator::send) which returns a `Stream`. diff --git a/sdk/omics/src/operation/list_run_groups/builders.rs b/sdk/omics/src/operation/list_run_groups/builders.rs index a20306c5cbfd..671591e8a5e1 100644 --- a/sdk/omics/src/operation/list_run_groups/builders.rs +++ b/sdk/omics/src/operation/list_run_groups/builders.rs @@ -19,9 +19,9 @@ impl ListRunGroupsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl ListRunGroupsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_run_groups::ListRunGroups, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::list_run_groups::paginator::ListRunGroupsPaginator::send) which returns a `Stream`. diff --git a/sdk/omics/src/operation/list_run_tasks/builders.rs b/sdk/omics/src/operation/list_run_tasks/builders.rs index 57f32b1ebed2..fa9c102d55b6 100644 --- a/sdk/omics/src/operation/list_run_tasks/builders.rs +++ b/sdk/omics/src/operation/list_run_tasks/builders.rs @@ -19,9 +19,9 @@ impl ListRunTasksFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl ListRunTasksFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_run_tasks::ListRunTasks, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::list_run_tasks::paginator::ListRunTasksPaginator::send) which returns a `Stream`. diff --git a/sdk/omics/src/operation/list_runs/builders.rs b/sdk/omics/src/operation/list_runs/builders.rs index f5ddd59d5c9b..c3b2c87ea15a 100644 --- a/sdk/omics/src/operation/list_runs/builders.rs +++ b/sdk/omics/src/operation/list_runs/builders.rs @@ -19,9 +19,9 @@ impl ListRunsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl ListRunsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_runs::ListRuns, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::list_runs::paginator::ListRunsPaginator::send) which returns a `Stream`. diff --git a/sdk/omics/src/operation/list_sequence_stores/builders.rs b/sdk/omics/src/operation/list_sequence_stores/builders.rs index a455e6f10e3e..c4ecd427635b 100644 --- a/sdk/omics/src/operation/list_sequence_stores/builders.rs +++ b/sdk/omics/src/operation/list_sequence_stores/builders.rs @@ -19,9 +19,9 @@ impl ListSequenceStoresFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl ListSequenceStoresFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_sequence_stores::ListSequenceStores, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::list_sequence_stores::ListSequenceStoresError, + >, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::list_sequence_stores::paginator::ListSequenceStoresPaginator::send) which returns a `Stream`. diff --git a/sdk/omics/src/operation/list_tags_for_resource/builders.rs b/sdk/omics/src/operation/list_tags_for_resource/builders.rs index 7a40a2047b66..5fa6aa614389 100644 --- a/sdk/omics/src/operation/list_tags_for_resource/builders.rs +++ b/sdk/omics/src/operation/list_tags_for_resource/builders.rs @@ -19,9 +19,9 @@ impl ListTagsForResourceFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl ListTagsForResourceFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_tags_for_resource::ListTagsForResource, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::list_tags_for_resource::ListTagsForResourceError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                          The resource's ARN.

                                                                                                                                                                                                                                          pub fn resource_arn(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.resource_arn(input.into()); diff --git a/sdk/omics/src/operation/list_variant_import_jobs/builders.rs b/sdk/omics/src/operation/list_variant_import_jobs/builders.rs index d229c9864a3a..43bfeed46559 100644 --- a/sdk/omics/src/operation/list_variant_import_jobs/builders.rs +++ b/sdk/omics/src/operation/list_variant_import_jobs/builders.rs @@ -19,9 +19,9 @@ impl ListVariantImportJobsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl ListVariantImportJobsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_variant_import_jobs::ListVariantImportJobs, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::list_variant_import_jobs::ListVariantImportJobsError, + >, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::list_variant_import_jobs::paginator::ListVariantImportJobsPaginator::send) which returns a `Stream`. diff --git a/sdk/omics/src/operation/list_variant_stores/builders.rs b/sdk/omics/src/operation/list_variant_stores/builders.rs index 14de54bb0308..bf6ee774ca8f 100644 --- a/sdk/omics/src/operation/list_variant_stores/builders.rs +++ b/sdk/omics/src/operation/list_variant_stores/builders.rs @@ -19,9 +19,9 @@ impl ListVariantStoresFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl ListVariantStoresFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_variant_stores::ListVariantStores, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::list_variant_stores::ListVariantStoresError, + >, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::list_variant_stores::paginator::ListVariantStoresPaginator::send) which returns a `Stream`. diff --git a/sdk/omics/src/operation/list_workflows/builders.rs b/sdk/omics/src/operation/list_workflows/builders.rs index edf292d4e8bf..e9256ad50ee9 100644 --- a/sdk/omics/src/operation/list_workflows/builders.rs +++ b/sdk/omics/src/operation/list_workflows/builders.rs @@ -19,9 +19,9 @@ impl ListWorkflowsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl ListWorkflowsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_workflows::ListWorkflows, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::list_workflows::paginator::ListWorkflowsPaginator::send) which returns a `Stream`. diff --git a/sdk/omics/src/operation/start_annotation_import_job/builders.rs b/sdk/omics/src/operation/start_annotation_import_job/builders.rs index cf150766e5e1..554a21459210 100644 --- a/sdk/omics/src/operation/start_annotation_import_job/builders.rs +++ b/sdk/omics/src/operation/start_annotation_import_job/builders.rs @@ -19,9 +19,9 @@ impl StartAnnotationImportJobFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl StartAnnotationImportJobFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::start_annotation_import_job::StartAnnotationImportJob, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::start_annotation_import_job::StartAnnotationImportJobError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                          A destination annotation store for the job.

                                                                                                                                                                                                                                          pub fn destination_name( mut self, diff --git a/sdk/omics/src/operation/start_read_set_activation_job/builders.rs b/sdk/omics/src/operation/start_read_set_activation_job/builders.rs index de922b4ace4f..92d1f9fa723a 100644 --- a/sdk/omics/src/operation/start_read_set_activation_job/builders.rs +++ b/sdk/omics/src/operation/start_read_set_activation_job/builders.rs @@ -19,9 +19,9 @@ impl StartReadSetActivationJobFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl StartReadSetActivationJobFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::start_read_set_activation_job::StartReadSetActivationJob, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::start_read_set_activation_job::StartReadSetActivationJobError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                          The read set's sequence store ID.

                                                                                                                                                                                                                                          pub fn sequence_store_id( mut self, diff --git a/sdk/omics/src/operation/start_read_set_export_job/builders.rs b/sdk/omics/src/operation/start_read_set_export_job/builders.rs index b261838ee96d..41abacd53b85 100644 --- a/sdk/omics/src/operation/start_read_set_export_job/builders.rs +++ b/sdk/omics/src/operation/start_read_set_export_job/builders.rs @@ -19,9 +19,9 @@ impl StartReadSetExportJobFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl StartReadSetExportJobFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::start_read_set_export_job::StartReadSetExportJob, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::start_read_set_export_job::StartReadSetExportJobError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                          The read set's sequence store ID.

                                                                                                                                                                                                                                          pub fn sequence_store_id( mut self, diff --git a/sdk/omics/src/operation/start_read_set_import_job/builders.rs b/sdk/omics/src/operation/start_read_set_import_job/builders.rs index ab6e603c0de7..470f3a3cd9cf 100644 --- a/sdk/omics/src/operation/start_read_set_import_job/builders.rs +++ b/sdk/omics/src/operation/start_read_set_import_job/builders.rs @@ -19,9 +19,9 @@ impl StartReadSetImportJobFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl StartReadSetImportJobFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::start_read_set_import_job::StartReadSetImportJob, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::start_read_set_import_job::StartReadSetImportJobError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                          The read set's sequence store ID.

                                                                                                                                                                                                                                          pub fn sequence_store_id( mut self, diff --git a/sdk/omics/src/operation/start_reference_import_job/builders.rs b/sdk/omics/src/operation/start_reference_import_job/builders.rs index cfb4a7aacc22..fb877555bff5 100644 --- a/sdk/omics/src/operation/start_reference_import_job/builders.rs +++ b/sdk/omics/src/operation/start_reference_import_job/builders.rs @@ -20,9 +20,9 @@ impl StartReferenceImportJobFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -84,6 +84,22 @@ impl StartReferenceImportJobFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::start_reference_import_job::StartReferenceImportJob, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::start_reference_import_job::StartReferenceImportJobError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                          The job's reference store ID.

                                                                                                                                                                                                                                          pub fn reference_store_id( mut self, diff --git a/sdk/omics/src/operation/start_run/builders.rs b/sdk/omics/src/operation/start_run/builders.rs index 1ef86dfae2f4..237bfe39c5d4 100644 --- a/sdk/omics/src/operation/start_run/builders.rs +++ b/sdk/omics/src/operation/start_run/builders.rs @@ -19,9 +19,9 @@ impl StartRunFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl StartRunFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::start_run::StartRun, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                          The run's workflow ID.

                                                                                                                                                                                                                                          pub fn workflow_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.workflow_id(input.into()); diff --git a/sdk/omics/src/operation/start_variant_import_job/builders.rs b/sdk/omics/src/operation/start_variant_import_job/builders.rs index 7046492e86e7..8e874ab0b54f 100644 --- a/sdk/omics/src/operation/start_variant_import_job/builders.rs +++ b/sdk/omics/src/operation/start_variant_import_job/builders.rs @@ -19,9 +19,9 @@ impl StartVariantImportJobFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl StartVariantImportJobFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::start_variant_import_job::StartVariantImportJob, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::start_variant_import_job::StartVariantImportJobError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                          The destination variant store for the job.

                                                                                                                                                                                                                                          pub fn destination_name( mut self, diff --git a/sdk/omics/src/operation/tag_resource/builders.rs b/sdk/omics/src/operation/tag_resource/builders.rs index 61145eb31a64..a12d1bbd2e4d 100644 --- a/sdk/omics/src/operation/tag_resource/builders.rs +++ b/sdk/omics/src/operation/tag_resource/builders.rs @@ -19,9 +19,9 @@ impl TagResourceFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl TagResourceFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::tag_resource::TagResource, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                          The resource's ARN.

                                                                                                                                                                                                                                          pub fn resource_arn(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.resource_arn(input.into()); diff --git a/sdk/omics/src/operation/untag_resource/builders.rs b/sdk/omics/src/operation/untag_resource/builders.rs index 47873e04f895..fa578cb1fd0d 100644 --- a/sdk/omics/src/operation/untag_resource/builders.rs +++ b/sdk/omics/src/operation/untag_resource/builders.rs @@ -19,9 +19,9 @@ impl UntagResourceFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl UntagResourceFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::untag_resource::UntagResource, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                          The resource's ARN.

                                                                                                                                                                                                                                          pub fn resource_arn(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.resource_arn(input.into()); diff --git a/sdk/omics/src/operation/update_annotation_store/builders.rs b/sdk/omics/src/operation/update_annotation_store/builders.rs index 7a8d8cdb8bdf..368d5bce8497 100644 --- a/sdk/omics/src/operation/update_annotation_store/builders.rs +++ b/sdk/omics/src/operation/update_annotation_store/builders.rs @@ -19,9 +19,9 @@ impl UpdateAnnotationStoreFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl UpdateAnnotationStoreFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::update_annotation_store::UpdateAnnotationStore, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::update_annotation_store::UpdateAnnotationStoreError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                          A name for the store.

                                                                                                                                                                                                                                          pub fn name(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.name(input.into()); diff --git a/sdk/omics/src/operation/update_run_group/builders.rs b/sdk/omics/src/operation/update_run_group/builders.rs index 6b83eb0a2a32..e080589ae43e 100644 --- a/sdk/omics/src/operation/update_run_group/builders.rs +++ b/sdk/omics/src/operation/update_run_group/builders.rs @@ -19,9 +19,9 @@ impl UpdateRunGroupFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl UpdateRunGroupFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::update_run_group::UpdateRunGroup, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::update_run_group::UpdateRunGroupError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                          The group's ID.

                                                                                                                                                                                                                                          pub fn id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.id(input.into()); diff --git a/sdk/omics/src/operation/update_variant_store/builders.rs b/sdk/omics/src/operation/update_variant_store/builders.rs index 33568e04b800..c8baaff9b616 100644 --- a/sdk/omics/src/operation/update_variant_store/builders.rs +++ b/sdk/omics/src/operation/update_variant_store/builders.rs @@ -19,9 +19,9 @@ impl UpdateVariantStoreFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl UpdateVariantStoreFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::update_variant_store::UpdateVariantStore, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::update_variant_store::UpdateVariantStoreError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                          A name for the store.

                                                                                                                                                                                                                                          pub fn name(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.name(input.into()); diff --git a/sdk/omics/src/operation/update_workflow/builders.rs b/sdk/omics/src/operation/update_workflow/builders.rs index 207e51f8bccf..87b62606a3c7 100644 --- a/sdk/omics/src/operation/update_workflow/builders.rs +++ b/sdk/omics/src/operation/update_workflow/builders.rs @@ -19,9 +19,9 @@ impl UpdateWorkflowFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl UpdateWorkflowFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::update_workflow::UpdateWorkflow, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                          The workflow's ID.

                                                                                                                                                                                                                                          pub fn id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.id(input.into()); diff --git a/sdk/omics/src/operation/upload_read_set_part/builders.rs b/sdk/omics/src/operation/upload_read_set_part/builders.rs index 27186a63f991..99790b3c184b 100644 --- a/sdk/omics/src/operation/upload_read_set_part/builders.rs +++ b/sdk/omics/src/operation/upload_read_set_part/builders.rs @@ -19,9 +19,9 @@ impl UploadReadSetPartFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl UploadReadSetPartFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::upload_read_set_part::UploadReadSetPart, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::upload_read_set_part::UploadReadSetPartError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                          The Sequence Store ID used for the multipart upload.

                                                                                                                                                                                                                                          pub fn sequence_store_id( mut self, diff --git a/sdk/opensearch/src/operation/accept_inbound_connection/builders.rs b/sdk/opensearch/src/operation/accept_inbound_connection/builders.rs index 331309fc5bd6..10addd569161 100644 --- a/sdk/opensearch/src/operation/accept_inbound_connection/builders.rs +++ b/sdk/opensearch/src/operation/accept_inbound_connection/builders.rs @@ -20,9 +20,9 @@ impl AcceptInboundConnectionFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -84,6 +84,22 @@ impl AcceptInboundConnectionFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::accept_inbound_connection::AcceptInboundConnection, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::accept_inbound_connection::AcceptInboundConnectionError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                          The ID of the inbound connection to accept.

                                                                                                                                                                                                                                          pub fn connection_id( mut self, diff --git a/sdk/opensearch/src/operation/add_tags/builders.rs b/sdk/opensearch/src/operation/add_tags/builders.rs index 5bfc59499dc2..73fe6f736321 100644 --- a/sdk/opensearch/src/operation/add_tags/builders.rs +++ b/sdk/opensearch/src/operation/add_tags/builders.rs @@ -19,9 +19,9 @@ impl AddTagsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl AddTagsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::add_tags::AddTags, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                          Amazon Resource Name (ARN) for the OpenSearch Service domain to which you want to attach resource tags.

                                                                                                                                                                                                                                          pub fn arn(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.arn(input.into()); diff --git a/sdk/opensearch/src/operation/associate_package/builders.rs b/sdk/opensearch/src/operation/associate_package/builders.rs index f3c97f895b94..67955044801e 100644 --- a/sdk/opensearch/src/operation/associate_package/builders.rs +++ b/sdk/opensearch/src/operation/associate_package/builders.rs @@ -19,9 +19,9 @@ impl AssociatePackageFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl AssociatePackageFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::associate_package::AssociatePackage, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::associate_package::AssociatePackageError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                          Internal ID of the package to associate with a domain. Use DescribePackages to find this value.

                                                                                                                                                                                                                                          pub fn package_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.package_id(input.into()); diff --git a/sdk/opensearch/src/operation/authorize_vpc_endpoint_access/builders.rs b/sdk/opensearch/src/operation/authorize_vpc_endpoint_access/builders.rs index c90484642d9b..cdf93a16911a 100644 --- a/sdk/opensearch/src/operation/authorize_vpc_endpoint_access/builders.rs +++ b/sdk/opensearch/src/operation/authorize_vpc_endpoint_access/builders.rs @@ -19,9 +19,9 @@ impl AuthorizeVpcEndpointAccessFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl AuthorizeVpcEndpointAccessFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::authorize_vpc_endpoint_access::AuthorizeVpcEndpointAccess, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::authorize_vpc_endpoint_access::AuthorizeVpcEndpointAccessError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                          The name of the OpenSearch Service domain to provide access to.

                                                                                                                                                                                                                                          pub fn domain_name(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.domain_name(input.into()); diff --git a/sdk/opensearch/src/operation/cancel_service_software_update/builders.rs b/sdk/opensearch/src/operation/cancel_service_software_update/builders.rs index 25c78624cbd7..fa13f886b2c5 100644 --- a/sdk/opensearch/src/operation/cancel_service_software_update/builders.rs +++ b/sdk/opensearch/src/operation/cancel_service_software_update/builders.rs @@ -19,9 +19,9 @@ impl CancelServiceSoftwareUpdateFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl CancelServiceSoftwareUpdateFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::cancel_service_software_update::CancelServiceSoftwareUpdate, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::cancel_service_software_update::CancelServiceSoftwareUpdateError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                          Name of the OpenSearch Service domain that you want to cancel the service software update on.

                                                                                                                                                                                                                                          pub fn domain_name(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.domain_name(input.into()); diff --git a/sdk/opensearch/src/operation/create_domain/builders.rs b/sdk/opensearch/src/operation/create_domain/builders.rs index a3560d9b8dc6..c2d5e68ccf54 100644 --- a/sdk/opensearch/src/operation/create_domain/builders.rs +++ b/sdk/opensearch/src/operation/create_domain/builders.rs @@ -19,9 +19,9 @@ impl CreateDomainFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl CreateDomainFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::create_domain::CreateDomain, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                          Name of the OpenSearch Service domain to create. Domain names are unique across the domains owned by an account within an Amazon Web Services Region.

                                                                                                                                                                                                                                          pub fn domain_name(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.domain_name(input.into()); diff --git a/sdk/opensearch/src/operation/create_outbound_connection/builders.rs b/sdk/opensearch/src/operation/create_outbound_connection/builders.rs index a168f049965a..849da226d0f5 100644 --- a/sdk/opensearch/src/operation/create_outbound_connection/builders.rs +++ b/sdk/opensearch/src/operation/create_outbound_connection/builders.rs @@ -19,9 +19,9 @@ impl CreateOutboundConnectionFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl CreateOutboundConnectionFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::create_outbound_connection::CreateOutboundConnection, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::create_outbound_connection::CreateOutboundConnectionError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                          Name and Region of the source (local) domain.

                                                                                                                                                                                                                                          pub fn local_domain_info(mut self, input: crate::types::DomainInformationContainer) -> Self { self.inner = self.inner.local_domain_info(input); diff --git a/sdk/opensearch/src/operation/create_package/builders.rs b/sdk/opensearch/src/operation/create_package/builders.rs index 66d8cbc095e2..ac5fdcab3106 100644 --- a/sdk/opensearch/src/operation/create_package/builders.rs +++ b/sdk/opensearch/src/operation/create_package/builders.rs @@ -19,9 +19,9 @@ impl CreatePackageFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl CreatePackageFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::create_package::CreatePackage, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                          Unique name for the package.

                                                                                                                                                                                                                                          pub fn package_name(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.package_name(input.into()); diff --git a/sdk/opensearch/src/operation/create_vpc_endpoint/builders.rs b/sdk/opensearch/src/operation/create_vpc_endpoint/builders.rs index f618fcc27c1a..ddc13af93491 100644 --- a/sdk/opensearch/src/operation/create_vpc_endpoint/builders.rs +++ b/sdk/opensearch/src/operation/create_vpc_endpoint/builders.rs @@ -19,9 +19,9 @@ impl CreateVpcEndpointFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl CreateVpcEndpointFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::create_vpc_endpoint::CreateVpcEndpoint, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::create_vpc_endpoint::CreateVpcEndpointError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                          The Amazon Resource Name (ARN) of the domain to create the endpoint for.

                                                                                                                                                                                                                                          pub fn domain_arn(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.domain_arn(input.into()); diff --git a/sdk/opensearch/src/operation/delete_domain/builders.rs b/sdk/opensearch/src/operation/delete_domain/builders.rs index f27fc1b6ba80..63481a7382ee 100644 --- a/sdk/opensearch/src/operation/delete_domain/builders.rs +++ b/sdk/opensearch/src/operation/delete_domain/builders.rs @@ -19,9 +19,9 @@ impl DeleteDomainFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl DeleteDomainFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::delete_domain::DeleteDomain, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                          The name of the domain you want to permanently delete.

                                                                                                                                                                                                                                          pub fn domain_name(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.domain_name(input.into()); diff --git a/sdk/opensearch/src/operation/delete_inbound_connection/builders.rs b/sdk/opensearch/src/operation/delete_inbound_connection/builders.rs index 57c3e2d6cf5e..eebaf0c4bdcf 100644 --- a/sdk/opensearch/src/operation/delete_inbound_connection/builders.rs +++ b/sdk/opensearch/src/operation/delete_inbound_connection/builders.rs @@ -20,9 +20,9 @@ impl DeleteInboundConnectionFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -84,6 +84,22 @@ impl DeleteInboundConnectionFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::delete_inbound_connection::DeleteInboundConnection, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::delete_inbound_connection::DeleteInboundConnectionError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                          The ID of the inbound connection to permanently delete.

                                                                                                                                                                                                                                          pub fn connection_id( mut self, diff --git a/sdk/opensearch/src/operation/delete_outbound_connection/builders.rs b/sdk/opensearch/src/operation/delete_outbound_connection/builders.rs index 36b251d514f8..182cda3664fb 100644 --- a/sdk/opensearch/src/operation/delete_outbound_connection/builders.rs +++ b/sdk/opensearch/src/operation/delete_outbound_connection/builders.rs @@ -19,9 +19,9 @@ impl DeleteOutboundConnectionFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl DeleteOutboundConnectionFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::delete_outbound_connection::DeleteOutboundConnection, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::delete_outbound_connection::DeleteOutboundConnectionError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                          The ID of the outbound connection you want to permanently delete.

                                                                                                                                                                                                                                          pub fn connection_id( mut self, diff --git a/sdk/opensearch/src/operation/delete_package/builders.rs b/sdk/opensearch/src/operation/delete_package/builders.rs index 52320f55c9a7..a3eb347e8f1b 100644 --- a/sdk/opensearch/src/operation/delete_package/builders.rs +++ b/sdk/opensearch/src/operation/delete_package/builders.rs @@ -19,9 +19,9 @@ impl DeletePackageFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl DeletePackageFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::delete_package::DeletePackage, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                          The internal ID of the package you want to delete. Use DescribePackages to find this value.

                                                                                                                                                                                                                                          pub fn package_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.package_id(input.into()); diff --git a/sdk/opensearch/src/operation/delete_vpc_endpoint/builders.rs b/sdk/opensearch/src/operation/delete_vpc_endpoint/builders.rs index a45e24b6d0b5..c5ccdfcc617c 100644 --- a/sdk/opensearch/src/operation/delete_vpc_endpoint/builders.rs +++ b/sdk/opensearch/src/operation/delete_vpc_endpoint/builders.rs @@ -19,9 +19,9 @@ impl DeleteVpcEndpointFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl DeleteVpcEndpointFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::delete_vpc_endpoint::DeleteVpcEndpoint, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::delete_vpc_endpoint::DeleteVpcEndpointError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                          The unique identifier of the endpoint.

                                                                                                                                                                                                                                          pub fn vpc_endpoint_id( mut self, diff --git a/sdk/opensearch/src/operation/describe_domain/builders.rs b/sdk/opensearch/src/operation/describe_domain/builders.rs index ca94e216873f..8c88a18d4603 100644 --- a/sdk/opensearch/src/operation/describe_domain/builders.rs +++ b/sdk/opensearch/src/operation/describe_domain/builders.rs @@ -19,9 +19,9 @@ impl DescribeDomainFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl DescribeDomainFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::describe_domain::DescribeDomain, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                          The name of the domain that you want information about.

                                                                                                                                                                                                                                          pub fn domain_name(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.domain_name(input.into()); diff --git a/sdk/opensearch/src/operation/describe_domain_auto_tunes/builders.rs b/sdk/opensearch/src/operation/describe_domain_auto_tunes/builders.rs index 2cfe76c4e7b5..5fa8a3bd5654 100644 --- a/sdk/opensearch/src/operation/describe_domain_auto_tunes/builders.rs +++ b/sdk/opensearch/src/operation/describe_domain_auto_tunes/builders.rs @@ -20,9 +20,9 @@ impl DescribeDomainAutoTunesFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -84,6 +84,22 @@ impl DescribeDomainAutoTunesFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::describe_domain_auto_tunes::DescribeDomainAutoTunes, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::describe_domain_auto_tunes::DescribeDomainAutoTunesError, + >, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::describe_domain_auto_tunes::paginator::DescribeDomainAutoTunesPaginator::send) which returns a `Stream`. diff --git a/sdk/opensearch/src/operation/describe_domain_change_progress/builders.rs b/sdk/opensearch/src/operation/describe_domain_change_progress/builders.rs index a2ade5096b9b..f794edd2145f 100644 --- a/sdk/opensearch/src/operation/describe_domain_change_progress/builders.rs +++ b/sdk/opensearch/src/operation/describe_domain_change_progress/builders.rs @@ -19,9 +19,9 @@ impl DescribeDomainChangeProgressFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl DescribeDomainChangeProgressFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::describe_domain_change_progress::DescribeDomainChangeProgress, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::describe_domain_change_progress::DescribeDomainChangeProgressError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                          The name of the domain to get progress information for.

                                                                                                                                                                                                                                          pub fn domain_name(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.domain_name(input.into()); diff --git a/sdk/opensearch/src/operation/describe_domain_config/builders.rs b/sdk/opensearch/src/operation/describe_domain_config/builders.rs index b541d05fe377..a2f3cb80bb84 100644 --- a/sdk/opensearch/src/operation/describe_domain_config/builders.rs +++ b/sdk/opensearch/src/operation/describe_domain_config/builders.rs @@ -19,9 +19,9 @@ impl DescribeDomainConfigFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl DescribeDomainConfigFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::describe_domain_config::DescribeDomainConfig, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::describe_domain_config::DescribeDomainConfigError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                          Name of the OpenSearch Service domain configuration that you want to describe.

                                                                                                                                                                                                                                          pub fn domain_name(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.domain_name(input.into()); diff --git a/sdk/opensearch/src/operation/describe_domain_health/builders.rs b/sdk/opensearch/src/operation/describe_domain_health/builders.rs index bd6e6862e316..117d7b390614 100644 --- a/sdk/opensearch/src/operation/describe_domain_health/builders.rs +++ b/sdk/opensearch/src/operation/describe_domain_health/builders.rs @@ -19,9 +19,9 @@ impl DescribeDomainHealthFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl DescribeDomainHealthFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::describe_domain_health::DescribeDomainHealth, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::describe_domain_health::DescribeDomainHealthError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                          The name of the domain.

                                                                                                                                                                                                                                          pub fn domain_name(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.domain_name(input.into()); diff --git a/sdk/opensearch/src/operation/describe_domain_nodes/builders.rs b/sdk/opensearch/src/operation/describe_domain_nodes/builders.rs index 34511a65446b..6d39deb61224 100644 --- a/sdk/opensearch/src/operation/describe_domain_nodes/builders.rs +++ b/sdk/opensearch/src/operation/describe_domain_nodes/builders.rs @@ -19,9 +19,9 @@ impl DescribeDomainNodesFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl DescribeDomainNodesFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::describe_domain_nodes::DescribeDomainNodes, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::describe_domain_nodes::DescribeDomainNodesError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                          The name of the domain.

                                                                                                                                                                                                                                          pub fn domain_name(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.domain_name(input.into()); diff --git a/sdk/opensearch/src/operation/describe_domains/builders.rs b/sdk/opensearch/src/operation/describe_domains/builders.rs index a24e9fd26aea..d798436595b8 100644 --- a/sdk/opensearch/src/operation/describe_domains/builders.rs +++ b/sdk/opensearch/src/operation/describe_domains/builders.rs @@ -19,9 +19,9 @@ impl DescribeDomainsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl DescribeDomainsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::describe_domains::DescribeDomains, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::describe_domains::DescribeDomainsError, + >, + > { + self.customize_middleware().await + } /// Appends an item to `DomainNames`. /// /// To override the contents of this collection use [`set_domain_names`](Self::set_domain_names). diff --git a/sdk/opensearch/src/operation/describe_dry_run_progress/builders.rs b/sdk/opensearch/src/operation/describe_dry_run_progress/builders.rs index d3a6b63c7ffb..837eb17d9118 100644 --- a/sdk/opensearch/src/operation/describe_dry_run_progress/builders.rs +++ b/sdk/opensearch/src/operation/describe_dry_run_progress/builders.rs @@ -20,9 +20,9 @@ impl DescribeDryRunProgressFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -84,6 +84,22 @@ impl DescribeDryRunProgressFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::describe_dry_run_progress::DescribeDryRunProgress, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::describe_dry_run_progress::DescribeDryRunProgressError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                          The name of the domain.

                                                                                                                                                                                                                                          pub fn domain_name(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.domain_name(input.into()); diff --git a/sdk/opensearch/src/operation/describe_inbound_connections/builders.rs b/sdk/opensearch/src/operation/describe_inbound_connections/builders.rs index 76342e0529ad..05ee244cae48 100644 --- a/sdk/opensearch/src/operation/describe_inbound_connections/builders.rs +++ b/sdk/opensearch/src/operation/describe_inbound_connections/builders.rs @@ -19,9 +19,9 @@ impl DescribeInboundConnectionsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl DescribeInboundConnectionsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::describe_inbound_connections::DescribeInboundConnections, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::describe_inbound_connections::DescribeInboundConnectionsError, + >, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::describe_inbound_connections::paginator::DescribeInboundConnectionsPaginator::send) which returns a `Stream`. diff --git a/sdk/opensearch/src/operation/describe_instance_type_limits/builders.rs b/sdk/opensearch/src/operation/describe_instance_type_limits/builders.rs index b83423b893d8..f3b31c2a9939 100644 --- a/sdk/opensearch/src/operation/describe_instance_type_limits/builders.rs +++ b/sdk/opensearch/src/operation/describe_instance_type_limits/builders.rs @@ -19,9 +19,9 @@ impl DescribeInstanceTypeLimitsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl DescribeInstanceTypeLimitsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::describe_instance_type_limits::DescribeInstanceTypeLimits, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::describe_instance_type_limits::DescribeInstanceTypeLimitsError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                          The name of the domain. Only specify if you need the limits for an existing domain.

                                                                                                                                                                                                                                          pub fn domain_name(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.domain_name(input.into()); diff --git a/sdk/opensearch/src/operation/describe_outbound_connections/builders.rs b/sdk/opensearch/src/operation/describe_outbound_connections/builders.rs index f569e51330ff..935bfb0dfd87 100644 --- a/sdk/opensearch/src/operation/describe_outbound_connections/builders.rs +++ b/sdk/opensearch/src/operation/describe_outbound_connections/builders.rs @@ -19,9 +19,9 @@ impl DescribeOutboundConnectionsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl DescribeOutboundConnectionsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::describe_outbound_connections::DescribeOutboundConnections, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::describe_outbound_connections::DescribeOutboundConnectionsError, + >, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::describe_outbound_connections::paginator::DescribeOutboundConnectionsPaginator::send) which returns a `Stream`. diff --git a/sdk/opensearch/src/operation/describe_packages/builders.rs b/sdk/opensearch/src/operation/describe_packages/builders.rs index 7cb57b3a9f01..4cd137f8885b 100644 --- a/sdk/opensearch/src/operation/describe_packages/builders.rs +++ b/sdk/opensearch/src/operation/describe_packages/builders.rs @@ -19,9 +19,9 @@ impl DescribePackagesFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl DescribePackagesFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::describe_packages::DescribePackages, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::describe_packages::DescribePackagesError, + >, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::describe_packages::paginator::DescribePackagesPaginator::send) which returns a `Stream`. diff --git a/sdk/opensearch/src/operation/describe_reserved_instance_offerings/builders.rs b/sdk/opensearch/src/operation/describe_reserved_instance_offerings/builders.rs index 8c4bd7ead0eb..f75f1de00877 100644 --- a/sdk/opensearch/src/operation/describe_reserved_instance_offerings/builders.rs +++ b/sdk/opensearch/src/operation/describe_reserved_instance_offerings/builders.rs @@ -19,9 +19,9 @@ impl DescribeReservedInstanceOfferingsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize(self) -> ::std::result::Result< + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware(self) -> ::std::result::Result< crate::client::customize::CustomizableOperation, ::aws_smithy_http::result::SdkError >{ @@ -64,6 +64,15 @@ impl DescribeReservedInstanceOfferingsFluentBuilder { { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize(self) -> ::std::result::Result< + crate::client::customize::CustomizableOperation, + ::aws_smithy_http::result::SdkError + >{ + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::describe_reserved_instance_offerings::paginator::DescribeReservedInstanceOfferingsPaginator::send) which returns a `Stream`. diff --git a/sdk/opensearch/src/operation/describe_reserved_instances/builders.rs b/sdk/opensearch/src/operation/describe_reserved_instances/builders.rs index 0c70daf794bc..bb8f261dfa12 100644 --- a/sdk/opensearch/src/operation/describe_reserved_instances/builders.rs +++ b/sdk/opensearch/src/operation/describe_reserved_instances/builders.rs @@ -19,9 +19,9 @@ impl DescribeReservedInstancesFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl DescribeReservedInstancesFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::describe_reserved_instances::DescribeReservedInstances, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::describe_reserved_instances::DescribeReservedInstancesError, + >, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::describe_reserved_instances::paginator::DescribeReservedInstancesPaginator::send) which returns a `Stream`. diff --git a/sdk/opensearch/src/operation/describe_vpc_endpoints/builders.rs b/sdk/opensearch/src/operation/describe_vpc_endpoints/builders.rs index 19cb09b9171b..2dfa1c4a5946 100644 --- a/sdk/opensearch/src/operation/describe_vpc_endpoints/builders.rs +++ b/sdk/opensearch/src/operation/describe_vpc_endpoints/builders.rs @@ -19,9 +19,9 @@ impl DescribeVpcEndpointsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl DescribeVpcEndpointsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::describe_vpc_endpoints::DescribeVpcEndpoints, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::describe_vpc_endpoints::DescribeVpcEndpointsError, + >, + > { + self.customize_middleware().await + } /// Appends an item to `VpcEndpointIds`. /// /// To override the contents of this collection use [`set_vpc_endpoint_ids`](Self::set_vpc_endpoint_ids). diff --git a/sdk/opensearch/src/operation/dissociate_package/builders.rs b/sdk/opensearch/src/operation/dissociate_package/builders.rs index 834e890932e4..1018fc41ed00 100644 --- a/sdk/opensearch/src/operation/dissociate_package/builders.rs +++ b/sdk/opensearch/src/operation/dissociate_package/builders.rs @@ -19,9 +19,9 @@ impl DissociatePackageFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl DissociatePackageFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::dissociate_package::DissociatePackage, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::dissociate_package::DissociatePackageError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                          Internal ID of the package to dissociate from the domain. Use ListPackagesForDomain to find this value.

                                                                                                                                                                                                                                          pub fn package_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.package_id(input.into()); diff --git a/sdk/opensearch/src/operation/get_compatible_versions/builders.rs b/sdk/opensearch/src/operation/get_compatible_versions/builders.rs index d8414a7a7cae..13fff9f82cd6 100644 --- a/sdk/opensearch/src/operation/get_compatible_versions/builders.rs +++ b/sdk/opensearch/src/operation/get_compatible_versions/builders.rs @@ -19,9 +19,9 @@ impl GetCompatibleVersionsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl GetCompatibleVersionsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::get_compatible_versions::GetCompatibleVersions, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::get_compatible_versions::GetCompatibleVersionsError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                          The name of an existing domain. Provide this parameter to limit the results to a single domain.

                                                                                                                                                                                                                                          pub fn domain_name(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.domain_name(input.into()); diff --git a/sdk/opensearch/src/operation/get_package_version_history/builders.rs b/sdk/opensearch/src/operation/get_package_version_history/builders.rs index c4fc9758a44f..afc5c79e7edc 100644 --- a/sdk/opensearch/src/operation/get_package_version_history/builders.rs +++ b/sdk/opensearch/src/operation/get_package_version_history/builders.rs @@ -19,9 +19,9 @@ impl GetPackageVersionHistoryFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl GetPackageVersionHistoryFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::get_package_version_history::GetPackageVersionHistory, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::get_package_version_history::GetPackageVersionHistoryError, + >, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::get_package_version_history::paginator::GetPackageVersionHistoryPaginator::send) which returns a `Stream`. diff --git a/sdk/opensearch/src/operation/get_upgrade_history/builders.rs b/sdk/opensearch/src/operation/get_upgrade_history/builders.rs index 7a752928cc70..e761153825fd 100644 --- a/sdk/opensearch/src/operation/get_upgrade_history/builders.rs +++ b/sdk/opensearch/src/operation/get_upgrade_history/builders.rs @@ -19,9 +19,9 @@ impl GetUpgradeHistoryFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl GetUpgradeHistoryFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::get_upgrade_history::GetUpgradeHistory, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::get_upgrade_history::GetUpgradeHistoryError, + >, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::get_upgrade_history::paginator::GetUpgradeHistoryPaginator::send) which returns a `Stream`. diff --git a/sdk/opensearch/src/operation/get_upgrade_status/builders.rs b/sdk/opensearch/src/operation/get_upgrade_status/builders.rs index cb8c70d19925..cef6db84dc24 100644 --- a/sdk/opensearch/src/operation/get_upgrade_status/builders.rs +++ b/sdk/opensearch/src/operation/get_upgrade_status/builders.rs @@ -19,9 +19,9 @@ impl GetUpgradeStatusFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl GetUpgradeStatusFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::get_upgrade_status::GetUpgradeStatus, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::get_upgrade_status::GetUpgradeStatusError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                          The domain of the domain to get upgrade status information for.

                                                                                                                                                                                                                                          pub fn domain_name(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.domain_name(input.into()); diff --git a/sdk/opensearch/src/operation/list_domain_names/builders.rs b/sdk/opensearch/src/operation/list_domain_names/builders.rs index 4c47fd75942f..7282f9010b08 100644 --- a/sdk/opensearch/src/operation/list_domain_names/builders.rs +++ b/sdk/opensearch/src/operation/list_domain_names/builders.rs @@ -19,9 +19,9 @@ impl ListDomainNamesFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl ListDomainNamesFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_domain_names::ListDomainNames, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::list_domain_names::ListDomainNamesError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                          Filters the output by domain engine type.

                                                                                                                                                                                                                                          pub fn engine_type(mut self, input: crate::types::EngineType) -> Self { self.inner = self.inner.engine_type(input); diff --git a/sdk/opensearch/src/operation/list_domains_for_package/builders.rs b/sdk/opensearch/src/operation/list_domains_for_package/builders.rs index 3b478e091273..90dce2a9556b 100644 --- a/sdk/opensearch/src/operation/list_domains_for_package/builders.rs +++ b/sdk/opensearch/src/operation/list_domains_for_package/builders.rs @@ -19,9 +19,9 @@ impl ListDomainsForPackageFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl ListDomainsForPackageFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_domains_for_package::ListDomainsForPackage, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::list_domains_for_package::ListDomainsForPackageError, + >, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::list_domains_for_package::paginator::ListDomainsForPackagePaginator::send) which returns a `Stream`. diff --git a/sdk/opensearch/src/operation/list_instance_type_details/builders.rs b/sdk/opensearch/src/operation/list_instance_type_details/builders.rs index aaa20487b24d..3540fce6c2ad 100644 --- a/sdk/opensearch/src/operation/list_instance_type_details/builders.rs +++ b/sdk/opensearch/src/operation/list_instance_type_details/builders.rs @@ -20,9 +20,9 @@ impl ListInstanceTypeDetailsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -84,6 +84,22 @@ impl ListInstanceTypeDetailsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_instance_type_details::ListInstanceTypeDetails, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::list_instance_type_details::ListInstanceTypeDetailsError, + >, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::list_instance_type_details::paginator::ListInstanceTypeDetailsPaginator::send) which returns a `Stream`. diff --git a/sdk/opensearch/src/operation/list_packages_for_domain/builders.rs b/sdk/opensearch/src/operation/list_packages_for_domain/builders.rs index 99f66e821ea6..9521f8b1f2c9 100644 --- a/sdk/opensearch/src/operation/list_packages_for_domain/builders.rs +++ b/sdk/opensearch/src/operation/list_packages_for_domain/builders.rs @@ -19,9 +19,9 @@ impl ListPackagesForDomainFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl ListPackagesForDomainFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_packages_for_domain::ListPackagesForDomain, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::list_packages_for_domain::ListPackagesForDomainError, + >, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::list_packages_for_domain::paginator::ListPackagesForDomainPaginator::send) which returns a `Stream`. diff --git a/sdk/opensearch/src/operation/list_scheduled_actions/builders.rs b/sdk/opensearch/src/operation/list_scheduled_actions/builders.rs index 4e658ee3dd3b..45b572ef63ee 100644 --- a/sdk/opensearch/src/operation/list_scheduled_actions/builders.rs +++ b/sdk/opensearch/src/operation/list_scheduled_actions/builders.rs @@ -19,9 +19,9 @@ impl ListScheduledActionsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl ListScheduledActionsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_scheduled_actions::ListScheduledActions, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::list_scheduled_actions::ListScheduledActionsError, + >, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::list_scheduled_actions::paginator::ListScheduledActionsPaginator::send) which returns a `Stream`. diff --git a/sdk/opensearch/src/operation/list_tags/builders.rs b/sdk/opensearch/src/operation/list_tags/builders.rs index 82fbde947fb3..efc61305f46c 100644 --- a/sdk/opensearch/src/operation/list_tags/builders.rs +++ b/sdk/opensearch/src/operation/list_tags/builders.rs @@ -19,9 +19,9 @@ impl ListTagsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl ListTagsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_tags::ListTags, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                          Amazon Resource Name (ARN) for the domain to view tags for.

                                                                                                                                                                                                                                          pub fn arn(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.arn(input.into()); diff --git a/sdk/opensearch/src/operation/list_versions/builders.rs b/sdk/opensearch/src/operation/list_versions/builders.rs index 5079357c50c7..c2876ddd98b4 100644 --- a/sdk/opensearch/src/operation/list_versions/builders.rs +++ b/sdk/opensearch/src/operation/list_versions/builders.rs @@ -19,9 +19,9 @@ impl ListVersionsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl ListVersionsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_versions::ListVersions, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::list_versions::paginator::ListVersionsPaginator::send) which returns a `Stream`. diff --git a/sdk/opensearch/src/operation/list_vpc_endpoint_access/builders.rs b/sdk/opensearch/src/operation/list_vpc_endpoint_access/builders.rs index 8df912371fd4..691728ee9083 100644 --- a/sdk/opensearch/src/operation/list_vpc_endpoint_access/builders.rs +++ b/sdk/opensearch/src/operation/list_vpc_endpoint_access/builders.rs @@ -19,9 +19,9 @@ impl ListVpcEndpointAccessFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl ListVpcEndpointAccessFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_vpc_endpoint_access::ListVpcEndpointAccess, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::list_vpc_endpoint_access::ListVpcEndpointAccessError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                          The name of the OpenSearch Service domain to retrieve access information for.

                                                                                                                                                                                                                                          pub fn domain_name(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.domain_name(input.into()); diff --git a/sdk/opensearch/src/operation/list_vpc_endpoints/builders.rs b/sdk/opensearch/src/operation/list_vpc_endpoints/builders.rs index 8b4b0162ade1..78b740b21cbe 100644 --- a/sdk/opensearch/src/operation/list_vpc_endpoints/builders.rs +++ b/sdk/opensearch/src/operation/list_vpc_endpoints/builders.rs @@ -19,9 +19,9 @@ impl ListVpcEndpointsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl ListVpcEndpointsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_vpc_endpoints::ListVpcEndpoints, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::list_vpc_endpoints::ListVpcEndpointsError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                          If your initial ListVpcEndpoints operation returns a nextToken, you can include the returned nextToken in subsequent ListVpcEndpoints operations, which returns results in the next page.

                                                                                                                                                                                                                                          pub fn next_token(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.next_token(input.into()); diff --git a/sdk/opensearch/src/operation/list_vpc_endpoints_for_domain/builders.rs b/sdk/opensearch/src/operation/list_vpc_endpoints_for_domain/builders.rs index 9879fedd1a08..7a5ce709e049 100644 --- a/sdk/opensearch/src/operation/list_vpc_endpoints_for_domain/builders.rs +++ b/sdk/opensearch/src/operation/list_vpc_endpoints_for_domain/builders.rs @@ -19,9 +19,9 @@ impl ListVpcEndpointsForDomainFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl ListVpcEndpointsForDomainFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_vpc_endpoints_for_domain::ListVpcEndpointsForDomain, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::list_vpc_endpoints_for_domain::ListVpcEndpointsForDomainError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                          The name of the domain to list associated VPC endpoints for.

                                                                                                                                                                                                                                          pub fn domain_name(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.domain_name(input.into()); diff --git a/sdk/opensearch/src/operation/purchase_reserved_instance_offering/builders.rs b/sdk/opensearch/src/operation/purchase_reserved_instance_offering/builders.rs index 3905f16f7b2c..8538d716a374 100644 --- a/sdk/opensearch/src/operation/purchase_reserved_instance_offering/builders.rs +++ b/sdk/opensearch/src/operation/purchase_reserved_instance_offering/builders.rs @@ -19,9 +19,9 @@ impl PurchaseReservedInstanceOfferingFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize(self) -> ::std::result::Result< + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware(self) -> ::std::result::Result< crate::client::customize::CustomizableOperation, ::aws_smithy_http::result::SdkError >{ @@ -64,6 +64,15 @@ impl PurchaseReservedInstanceOfferingFluentBuilder { { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize(self) -> ::std::result::Result< + crate::client::customize::CustomizableOperation, + ::aws_smithy_http::result::SdkError + >{ + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                          The ID of the Reserved Instance offering to purchase.

                                                                                                                                                                                                                                          pub fn reserved_instance_offering_id( mut self, diff --git a/sdk/opensearch/src/operation/reject_inbound_connection/builders.rs b/sdk/opensearch/src/operation/reject_inbound_connection/builders.rs index f5dd39ec8eca..f46dd08b47d7 100644 --- a/sdk/opensearch/src/operation/reject_inbound_connection/builders.rs +++ b/sdk/opensearch/src/operation/reject_inbound_connection/builders.rs @@ -20,9 +20,9 @@ impl RejectInboundConnectionFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -84,6 +84,22 @@ impl RejectInboundConnectionFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::reject_inbound_connection::RejectInboundConnection, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::reject_inbound_connection::RejectInboundConnectionError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                          The unique identifier of the inbound connection to reject.

                                                                                                                                                                                                                                          pub fn connection_id( mut self, diff --git a/sdk/opensearch/src/operation/remove_tags/builders.rs b/sdk/opensearch/src/operation/remove_tags/builders.rs index 366aff401e70..470868d408ec 100644 --- a/sdk/opensearch/src/operation/remove_tags/builders.rs +++ b/sdk/opensearch/src/operation/remove_tags/builders.rs @@ -19,9 +19,9 @@ impl RemoveTagsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl RemoveTagsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::remove_tags::RemoveTags, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                          The Amazon Resource Name (ARN) of the domain from which you want to delete the specified tags.

                                                                                                                                                                                                                                          pub fn arn(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.arn(input.into()); diff --git a/sdk/opensearch/src/operation/revoke_vpc_endpoint_access/builders.rs b/sdk/opensearch/src/operation/revoke_vpc_endpoint_access/builders.rs index c88b8d9386ec..0b1ddb0a383a 100644 --- a/sdk/opensearch/src/operation/revoke_vpc_endpoint_access/builders.rs +++ b/sdk/opensearch/src/operation/revoke_vpc_endpoint_access/builders.rs @@ -20,9 +20,9 @@ impl RevokeVpcEndpointAccessFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -84,6 +84,22 @@ impl RevokeVpcEndpointAccessFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::revoke_vpc_endpoint_access::RevokeVpcEndpointAccess, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::revoke_vpc_endpoint_access::RevokeVpcEndpointAccessError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                          The name of the OpenSearch Service domain.

                                                                                                                                                                                                                                          pub fn domain_name(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.domain_name(input.into()); diff --git a/sdk/opensearch/src/operation/start_service_software_update/builders.rs b/sdk/opensearch/src/operation/start_service_software_update/builders.rs index c166c97205b9..037769b8fef7 100644 --- a/sdk/opensearch/src/operation/start_service_software_update/builders.rs +++ b/sdk/opensearch/src/operation/start_service_software_update/builders.rs @@ -19,9 +19,9 @@ impl StartServiceSoftwareUpdateFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl StartServiceSoftwareUpdateFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::start_service_software_update::StartServiceSoftwareUpdate, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::start_service_software_update::StartServiceSoftwareUpdateError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                          The name of the domain that you want to update to the latest service software.

                                                                                                                                                                                                                                          pub fn domain_name(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.domain_name(input.into()); diff --git a/sdk/opensearch/src/operation/update_domain_config/builders.rs b/sdk/opensearch/src/operation/update_domain_config/builders.rs index 91e2e0ca7515..477ea5277b2f 100644 --- a/sdk/opensearch/src/operation/update_domain_config/builders.rs +++ b/sdk/opensearch/src/operation/update_domain_config/builders.rs @@ -19,9 +19,9 @@ impl UpdateDomainConfigFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl UpdateDomainConfigFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::update_domain_config::UpdateDomainConfig, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::update_domain_config::UpdateDomainConfigError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                          The name of the domain that you're updating.

                                                                                                                                                                                                                                          pub fn domain_name(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.domain_name(input.into()); diff --git a/sdk/opensearch/src/operation/update_package/builders.rs b/sdk/opensearch/src/operation/update_package/builders.rs index aa45c581a9ad..873ac11926be 100644 --- a/sdk/opensearch/src/operation/update_package/builders.rs +++ b/sdk/opensearch/src/operation/update_package/builders.rs @@ -19,9 +19,9 @@ impl UpdatePackageFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl UpdatePackageFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::update_package::UpdatePackage, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                          The unique identifier for the package.

                                                                                                                                                                                                                                          pub fn package_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.package_id(input.into()); diff --git a/sdk/opensearch/src/operation/update_scheduled_action/builders.rs b/sdk/opensearch/src/operation/update_scheduled_action/builders.rs index 7bed7190b684..75c4ce951129 100644 --- a/sdk/opensearch/src/operation/update_scheduled_action/builders.rs +++ b/sdk/opensearch/src/operation/update_scheduled_action/builders.rs @@ -19,9 +19,9 @@ impl UpdateScheduledActionFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl UpdateScheduledActionFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::update_scheduled_action::UpdateScheduledAction, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::update_scheduled_action::UpdateScheduledActionError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                          The name of the domain to reschedule an action for.

                                                                                                                                                                                                                                          pub fn domain_name(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.domain_name(input.into()); diff --git a/sdk/opensearch/src/operation/update_vpc_endpoint/builders.rs b/sdk/opensearch/src/operation/update_vpc_endpoint/builders.rs index 2ed844269110..de26faa205f8 100644 --- a/sdk/opensearch/src/operation/update_vpc_endpoint/builders.rs +++ b/sdk/opensearch/src/operation/update_vpc_endpoint/builders.rs @@ -19,9 +19,9 @@ impl UpdateVpcEndpointFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl UpdateVpcEndpointFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::update_vpc_endpoint::UpdateVpcEndpoint, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::update_vpc_endpoint::UpdateVpcEndpointError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                          The unique identifier of the endpoint.

                                                                                                                                                                                                                                          pub fn vpc_endpoint_id( mut self, diff --git a/sdk/opensearch/src/operation/upgrade_domain/builders.rs b/sdk/opensearch/src/operation/upgrade_domain/builders.rs index 06092683497f..f82c048c9aa3 100644 --- a/sdk/opensearch/src/operation/upgrade_domain/builders.rs +++ b/sdk/opensearch/src/operation/upgrade_domain/builders.rs @@ -19,9 +19,9 @@ impl UpgradeDomainFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl UpgradeDomainFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::upgrade_domain::UpgradeDomain, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                          Name of the OpenSearch Service domain that you want to upgrade.

                                                                                                                                                                                                                                          pub fn domain_name(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.domain_name(input.into()); diff --git a/sdk/opensearchserverless/src/operation/batch_get_collection/builders.rs b/sdk/opensearchserverless/src/operation/batch_get_collection/builders.rs index 37d369e67573..6f2ff50a7a77 100644 --- a/sdk/opensearchserverless/src/operation/batch_get_collection/builders.rs +++ b/sdk/opensearchserverless/src/operation/batch_get_collection/builders.rs @@ -19,9 +19,9 @@ impl BatchGetCollectionFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl BatchGetCollectionFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::batch_get_collection::BatchGetCollection, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::batch_get_collection::BatchGetCollectionError, + >, + > { + self.customize_middleware().await + } /// Appends an item to `ids`. /// /// To override the contents of this collection use [`set_ids`](Self::set_ids). diff --git a/sdk/opensearchserverless/src/operation/batch_get_vpc_endpoint/builders.rs b/sdk/opensearchserverless/src/operation/batch_get_vpc_endpoint/builders.rs index 3fefa092120f..f4ca571c26fd 100644 --- a/sdk/opensearchserverless/src/operation/batch_get_vpc_endpoint/builders.rs +++ b/sdk/opensearchserverless/src/operation/batch_get_vpc_endpoint/builders.rs @@ -19,9 +19,9 @@ impl BatchGetVpcEndpointFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl BatchGetVpcEndpointFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::batch_get_vpc_endpoint::BatchGetVpcEndpoint, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::batch_get_vpc_endpoint::BatchGetVpcEndpointError, + >, + > { + self.customize_middleware().await + } /// Appends an item to `ids`. /// /// To override the contents of this collection use [`set_ids`](Self::set_ids). diff --git a/sdk/opensearchserverless/src/operation/create_access_policy/builders.rs b/sdk/opensearchserverless/src/operation/create_access_policy/builders.rs index a727a2da265c..7244655e27da 100644 --- a/sdk/opensearchserverless/src/operation/create_access_policy/builders.rs +++ b/sdk/opensearchserverless/src/operation/create_access_policy/builders.rs @@ -19,9 +19,9 @@ impl CreateAccessPolicyFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl CreateAccessPolicyFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::create_access_policy::CreateAccessPolicy, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::create_access_policy::CreateAccessPolicyError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                          The type of policy.

                                                                                                                                                                                                                                          pub fn r#type(mut self, input: crate::types::AccessPolicyType) -> Self { self.inner = self.inner.r#type(input); diff --git a/sdk/opensearchserverless/src/operation/create_collection/builders.rs b/sdk/opensearchserverless/src/operation/create_collection/builders.rs index 3347896b9429..97d4086b01f6 100644 --- a/sdk/opensearchserverless/src/operation/create_collection/builders.rs +++ b/sdk/opensearchserverless/src/operation/create_collection/builders.rs @@ -19,9 +19,9 @@ impl CreateCollectionFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl CreateCollectionFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::create_collection::CreateCollection, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::create_collection::CreateCollectionError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                          Name of the collection.

                                                                                                                                                                                                                                          pub fn name(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.name(input.into()); diff --git a/sdk/opensearchserverless/src/operation/create_security_config/builders.rs b/sdk/opensearchserverless/src/operation/create_security_config/builders.rs index dc421575a06f..5ff0cbd35ca5 100644 --- a/sdk/opensearchserverless/src/operation/create_security_config/builders.rs +++ b/sdk/opensearchserverless/src/operation/create_security_config/builders.rs @@ -19,9 +19,9 @@ impl CreateSecurityConfigFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl CreateSecurityConfigFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::create_security_config::CreateSecurityConfig, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::create_security_config::CreateSecurityConfigError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                          The type of security configuration.

                                                                                                                                                                                                                                          pub fn r#type(mut self, input: crate::types::SecurityConfigType) -> Self { self.inner = self.inner.r#type(input); diff --git a/sdk/opensearchserverless/src/operation/create_security_policy/builders.rs b/sdk/opensearchserverless/src/operation/create_security_policy/builders.rs index 7bdfd27a1a5a..4c825f171133 100644 --- a/sdk/opensearchserverless/src/operation/create_security_policy/builders.rs +++ b/sdk/opensearchserverless/src/operation/create_security_policy/builders.rs @@ -19,9 +19,9 @@ impl CreateSecurityPolicyFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl CreateSecurityPolicyFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::create_security_policy::CreateSecurityPolicy, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::create_security_policy::CreateSecurityPolicyError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                          The type of security policy.

                                                                                                                                                                                                                                          pub fn r#type(mut self, input: crate::types::SecurityPolicyType) -> Self { self.inner = self.inner.r#type(input); diff --git a/sdk/opensearchserverless/src/operation/create_vpc_endpoint/builders.rs b/sdk/opensearchserverless/src/operation/create_vpc_endpoint/builders.rs index 521cce752295..e330da55737c 100644 --- a/sdk/opensearchserverless/src/operation/create_vpc_endpoint/builders.rs +++ b/sdk/opensearchserverless/src/operation/create_vpc_endpoint/builders.rs @@ -19,9 +19,9 @@ impl CreateVpcEndpointFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl CreateVpcEndpointFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::create_vpc_endpoint::CreateVpcEndpoint, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::create_vpc_endpoint::CreateVpcEndpointError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                          The name of the interface endpoint.

                                                                                                                                                                                                                                          pub fn name(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.name(input.into()); diff --git a/sdk/opensearchserverless/src/operation/delete_access_policy/builders.rs b/sdk/opensearchserverless/src/operation/delete_access_policy/builders.rs index 329cddf43ea2..ecccea1f3050 100644 --- a/sdk/opensearchserverless/src/operation/delete_access_policy/builders.rs +++ b/sdk/opensearchserverless/src/operation/delete_access_policy/builders.rs @@ -19,9 +19,9 @@ impl DeleteAccessPolicyFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl DeleteAccessPolicyFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::delete_access_policy::DeleteAccessPolicy, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::delete_access_policy::DeleteAccessPolicyError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                          The type of policy.

                                                                                                                                                                                                                                          pub fn r#type(mut self, input: crate::types::AccessPolicyType) -> Self { self.inner = self.inner.r#type(input); diff --git a/sdk/opensearchserverless/src/operation/delete_collection/builders.rs b/sdk/opensearchserverless/src/operation/delete_collection/builders.rs index 420790ef92c1..a685d4295ebc 100644 --- a/sdk/opensearchserverless/src/operation/delete_collection/builders.rs +++ b/sdk/opensearchserverless/src/operation/delete_collection/builders.rs @@ -19,9 +19,9 @@ impl DeleteCollectionFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl DeleteCollectionFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::delete_collection::DeleteCollection, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::delete_collection::DeleteCollectionError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                          The unique identifier of the collection. For example, 1iu5usc406kd. The ID is part of the collection endpoint. You can also retrieve it using the ListCollections API.

                                                                                                                                                                                                                                          pub fn id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.id(input.into()); diff --git a/sdk/opensearchserverless/src/operation/delete_security_config/builders.rs b/sdk/opensearchserverless/src/operation/delete_security_config/builders.rs index 2b043cd4ad5a..b130a685dc36 100644 --- a/sdk/opensearchserverless/src/operation/delete_security_config/builders.rs +++ b/sdk/opensearchserverless/src/operation/delete_security_config/builders.rs @@ -19,9 +19,9 @@ impl DeleteSecurityConfigFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl DeleteSecurityConfigFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::delete_security_config::DeleteSecurityConfig, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::delete_security_config::DeleteSecurityConfigError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                          The security configuration identifier. For SAML the ID will be saml/<accountId>/<idpProviderName>. For example, saml/123456789123/OKTADev.

                                                                                                                                                                                                                                          pub fn id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.id(input.into()); diff --git a/sdk/opensearchserverless/src/operation/delete_security_policy/builders.rs b/sdk/opensearchserverless/src/operation/delete_security_policy/builders.rs index 20c6008bd47b..df2fe7d56ad2 100644 --- a/sdk/opensearchserverless/src/operation/delete_security_policy/builders.rs +++ b/sdk/opensearchserverless/src/operation/delete_security_policy/builders.rs @@ -19,9 +19,9 @@ impl DeleteSecurityPolicyFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl DeleteSecurityPolicyFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::delete_security_policy::DeleteSecurityPolicy, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::delete_security_policy::DeleteSecurityPolicyError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                          The type of policy.

                                                                                                                                                                                                                                          pub fn r#type(mut self, input: crate::types::SecurityPolicyType) -> Self { self.inner = self.inner.r#type(input); diff --git a/sdk/opensearchserverless/src/operation/delete_vpc_endpoint/builders.rs b/sdk/opensearchserverless/src/operation/delete_vpc_endpoint/builders.rs index 19c93fe387e7..c0843fbd87b7 100644 --- a/sdk/opensearchserverless/src/operation/delete_vpc_endpoint/builders.rs +++ b/sdk/opensearchserverless/src/operation/delete_vpc_endpoint/builders.rs @@ -19,9 +19,9 @@ impl DeleteVpcEndpointFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl DeleteVpcEndpointFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::delete_vpc_endpoint::DeleteVpcEndpoint, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::delete_vpc_endpoint::DeleteVpcEndpointError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                          The VPC endpoint identifier.

                                                                                                                                                                                                                                          pub fn id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.id(input.into()); diff --git a/sdk/opensearchserverless/src/operation/get_access_policy/builders.rs b/sdk/opensearchserverless/src/operation/get_access_policy/builders.rs index d295e9696a99..382dfd92a99a 100644 --- a/sdk/opensearchserverless/src/operation/get_access_policy/builders.rs +++ b/sdk/opensearchserverless/src/operation/get_access_policy/builders.rs @@ -19,9 +19,9 @@ impl GetAccessPolicyFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl GetAccessPolicyFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::get_access_policy::GetAccessPolicy, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::get_access_policy::GetAccessPolicyError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                          Tye type of policy. Currently the only supported value is data.

                                                                                                                                                                                                                                          pub fn r#type(mut self, input: crate::types::AccessPolicyType) -> Self { self.inner = self.inner.r#type(input); diff --git a/sdk/opensearchserverless/src/operation/get_account_settings/builders.rs b/sdk/opensearchserverless/src/operation/get_account_settings/builders.rs index a735b0de39bb..1df5d49b92d7 100644 --- a/sdk/opensearchserverless/src/operation/get_account_settings/builders.rs +++ b/sdk/opensearchserverless/src/operation/get_account_settings/builders.rs @@ -19,9 +19,9 @@ impl GetAccountSettingsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,4 +83,20 @@ impl GetAccountSettingsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::get_account_settings::GetAccountSettings, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::get_account_settings::GetAccountSettingsError, + >, + > { + self.customize_middleware().await + } } diff --git a/sdk/opensearchserverless/src/operation/get_policies_stats/builders.rs b/sdk/opensearchserverless/src/operation/get_policies_stats/builders.rs index 5138f42c894a..c62df75ecb15 100644 --- a/sdk/opensearchserverless/src/operation/get_policies_stats/builders.rs +++ b/sdk/opensearchserverless/src/operation/get_policies_stats/builders.rs @@ -19,9 +19,9 @@ impl GetPoliciesStatsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,4 +83,20 @@ impl GetPoliciesStatsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::get_policies_stats::GetPoliciesStats, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::get_policies_stats::GetPoliciesStatsError, + >, + > { + self.customize_middleware().await + } } diff --git a/sdk/opensearchserverless/src/operation/get_security_config/builders.rs b/sdk/opensearchserverless/src/operation/get_security_config/builders.rs index cb3d83e43883..463bacd11697 100644 --- a/sdk/opensearchserverless/src/operation/get_security_config/builders.rs +++ b/sdk/opensearchserverless/src/operation/get_security_config/builders.rs @@ -19,9 +19,9 @@ impl GetSecurityConfigFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl GetSecurityConfigFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::get_security_config::GetSecurityConfig, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::get_security_config::GetSecurityConfigError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                          The unique identifier of the security configuration.

                                                                                                                                                                                                                                          pub fn id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.id(input.into()); diff --git a/sdk/opensearchserverless/src/operation/get_security_policy/builders.rs b/sdk/opensearchserverless/src/operation/get_security_policy/builders.rs index debc830ba846..b655beb19d0f 100644 --- a/sdk/opensearchserverless/src/operation/get_security_policy/builders.rs +++ b/sdk/opensearchserverless/src/operation/get_security_policy/builders.rs @@ -19,9 +19,9 @@ impl GetSecurityPolicyFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl GetSecurityPolicyFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::get_security_policy::GetSecurityPolicy, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::get_security_policy::GetSecurityPolicyError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                          The type of security policy.

                                                                                                                                                                                                                                          pub fn r#type(mut self, input: crate::types::SecurityPolicyType) -> Self { self.inner = self.inner.r#type(input); diff --git a/sdk/opensearchserverless/src/operation/list_access_policies/builders.rs b/sdk/opensearchserverless/src/operation/list_access_policies/builders.rs index d69081e0c8f9..03b405fbe8e2 100644 --- a/sdk/opensearchserverless/src/operation/list_access_policies/builders.rs +++ b/sdk/opensearchserverless/src/operation/list_access_policies/builders.rs @@ -19,9 +19,9 @@ impl ListAccessPoliciesFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl ListAccessPoliciesFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_access_policies::ListAccessPolicies, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::list_access_policies::ListAccessPoliciesError, + >, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::list_access_policies::paginator::ListAccessPoliciesPaginator::send) which returns a `Stream`. diff --git a/sdk/opensearchserverless/src/operation/list_collections/builders.rs b/sdk/opensearchserverless/src/operation/list_collections/builders.rs index ea7e9dff90e8..4e0805e38f7f 100644 --- a/sdk/opensearchserverless/src/operation/list_collections/builders.rs +++ b/sdk/opensearchserverless/src/operation/list_collections/builders.rs @@ -21,9 +21,9 @@ impl ListCollectionsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -85,6 +85,22 @@ impl ListCollectionsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_collections::ListCollections, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::list_collections::ListCollectionsError, + >, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::list_collections::paginator::ListCollectionsPaginator::send) which returns a `Stream`. diff --git a/sdk/opensearchserverless/src/operation/list_security_configs/builders.rs b/sdk/opensearchserverless/src/operation/list_security_configs/builders.rs index 383777caca4a..aa7107406905 100644 --- a/sdk/opensearchserverless/src/operation/list_security_configs/builders.rs +++ b/sdk/opensearchserverless/src/operation/list_security_configs/builders.rs @@ -19,9 +19,9 @@ impl ListSecurityConfigsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl ListSecurityConfigsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_security_configs::ListSecurityConfigs, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::list_security_configs::ListSecurityConfigsError, + >, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::list_security_configs::paginator::ListSecurityConfigsPaginator::send) which returns a `Stream`. diff --git a/sdk/opensearchserverless/src/operation/list_security_policies/builders.rs b/sdk/opensearchserverless/src/operation/list_security_policies/builders.rs index 1235d2269dd2..fc54e9cd138f 100644 --- a/sdk/opensearchserverless/src/operation/list_security_policies/builders.rs +++ b/sdk/opensearchserverless/src/operation/list_security_policies/builders.rs @@ -19,9 +19,9 @@ impl ListSecurityPoliciesFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl ListSecurityPoliciesFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_security_policies::ListSecurityPolicies, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::list_security_policies::ListSecurityPoliciesError, + >, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::list_security_policies::paginator::ListSecurityPoliciesPaginator::send) which returns a `Stream`. diff --git a/sdk/opensearchserverless/src/operation/list_tags_for_resource/builders.rs b/sdk/opensearchserverless/src/operation/list_tags_for_resource/builders.rs index d4b66ee181ae..21fa63458713 100644 --- a/sdk/opensearchserverless/src/operation/list_tags_for_resource/builders.rs +++ b/sdk/opensearchserverless/src/operation/list_tags_for_resource/builders.rs @@ -19,9 +19,9 @@ impl ListTagsForResourceFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl ListTagsForResourceFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_tags_for_resource::ListTagsForResource, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::list_tags_for_resource::ListTagsForResourceError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                          The Amazon Resource Name (ARN) of the resource. The resource must be active (not in the DELETING state), and must be owned by the account ID included in the request.

                                                                                                                                                                                                                                          pub fn resource_arn(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.resource_arn(input.into()); diff --git a/sdk/opensearchserverless/src/operation/list_vpc_endpoints/builders.rs b/sdk/opensearchserverless/src/operation/list_vpc_endpoints/builders.rs index 59bbae50cf38..6638825d6674 100644 --- a/sdk/opensearchserverless/src/operation/list_vpc_endpoints/builders.rs +++ b/sdk/opensearchserverless/src/operation/list_vpc_endpoints/builders.rs @@ -19,9 +19,9 @@ impl ListVpcEndpointsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl ListVpcEndpointsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_vpc_endpoints::ListVpcEndpoints, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::list_vpc_endpoints::ListVpcEndpointsError, + >, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::list_vpc_endpoints::paginator::ListVpcEndpointsPaginator::send) which returns a `Stream`. diff --git a/sdk/opensearchserverless/src/operation/tag_resource/builders.rs b/sdk/opensearchserverless/src/operation/tag_resource/builders.rs index 5a24a600cb8d..edc5ddea23c2 100644 --- a/sdk/opensearchserverless/src/operation/tag_resource/builders.rs +++ b/sdk/opensearchserverless/src/operation/tag_resource/builders.rs @@ -19,9 +19,9 @@ impl TagResourceFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl TagResourceFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::tag_resource::TagResource, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                          The Amazon Resource Name (ARN) of the resource. The resource must be active (not in the DELETING state), and must be owned by the account ID included in the request.

                                                                                                                                                                                                                                          pub fn resource_arn(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.resource_arn(input.into()); diff --git a/sdk/opensearchserverless/src/operation/untag_resource/builders.rs b/sdk/opensearchserverless/src/operation/untag_resource/builders.rs index 7bc233bb6230..36082b2f262e 100644 --- a/sdk/opensearchserverless/src/operation/untag_resource/builders.rs +++ b/sdk/opensearchserverless/src/operation/untag_resource/builders.rs @@ -19,9 +19,9 @@ impl UntagResourceFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl UntagResourceFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::untag_resource::UntagResource, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                          The Amazon Resource Name (ARN) of the resource to remove tags from. The resource must be active (not in the DELETING state), and must be owned by the account ID included in the request.

                                                                                                                                                                                                                                          pub fn resource_arn(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.resource_arn(input.into()); diff --git a/sdk/opensearchserverless/src/operation/update_access_policy/builders.rs b/sdk/opensearchserverless/src/operation/update_access_policy/builders.rs index f6d813d74311..6cdef8aec496 100644 --- a/sdk/opensearchserverless/src/operation/update_access_policy/builders.rs +++ b/sdk/opensearchserverless/src/operation/update_access_policy/builders.rs @@ -19,9 +19,9 @@ impl UpdateAccessPolicyFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl UpdateAccessPolicyFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::update_access_policy::UpdateAccessPolicy, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::update_access_policy::UpdateAccessPolicyError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                          The type of policy.

                                                                                                                                                                                                                                          pub fn r#type(mut self, input: crate::types::AccessPolicyType) -> Self { self.inner = self.inner.r#type(input); diff --git a/sdk/opensearchserverless/src/operation/update_account_settings/builders.rs b/sdk/opensearchserverless/src/operation/update_account_settings/builders.rs index b39f0dbc494c..c4ce84a97672 100644 --- a/sdk/opensearchserverless/src/operation/update_account_settings/builders.rs +++ b/sdk/opensearchserverless/src/operation/update_account_settings/builders.rs @@ -19,9 +19,9 @@ impl UpdateAccountSettingsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl UpdateAccountSettingsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::update_account_settings::UpdateAccountSettings, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::update_account_settings::UpdateAccountSettingsError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                          The maximum capacity limits for all OpenSearch Serverless collections, in OpenSearch Compute Units (OCUs). These limits are used to scale your collections based on the current workload. For more information, see Managing capacity limits for Amazon OpenSearch Serverless.

                                                                                                                                                                                                                                          pub fn capacity_limits(mut self, input: crate::types::CapacityLimits) -> Self { self.inner = self.inner.capacity_limits(input); diff --git a/sdk/opensearchserverless/src/operation/update_collection/builders.rs b/sdk/opensearchserverless/src/operation/update_collection/builders.rs index 73191807016b..d205b6026709 100644 --- a/sdk/opensearchserverless/src/operation/update_collection/builders.rs +++ b/sdk/opensearchserverless/src/operation/update_collection/builders.rs @@ -19,9 +19,9 @@ impl UpdateCollectionFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl UpdateCollectionFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::update_collection::UpdateCollection, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::update_collection::UpdateCollectionError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                          The unique identifier of the collection.

                                                                                                                                                                                                                                          pub fn id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.id(input.into()); diff --git a/sdk/opensearchserverless/src/operation/update_security_config/builders.rs b/sdk/opensearchserverless/src/operation/update_security_config/builders.rs index 91d69bf7a3e3..540b9876fbc9 100644 --- a/sdk/opensearchserverless/src/operation/update_security_config/builders.rs +++ b/sdk/opensearchserverless/src/operation/update_security_config/builders.rs @@ -19,9 +19,9 @@ impl UpdateSecurityConfigFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl UpdateSecurityConfigFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::update_security_config::UpdateSecurityConfig, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::update_security_config::UpdateSecurityConfigError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                          The security configuration identifier. For SAML the ID will be saml/<accountId>/<idpProviderName>. For example, saml/123456789123/OKTADev.

                                                                                                                                                                                                                                          pub fn id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.id(input.into()); diff --git a/sdk/opensearchserverless/src/operation/update_security_policy/builders.rs b/sdk/opensearchserverless/src/operation/update_security_policy/builders.rs index fb0f1e9c2238..afe6067ef9b5 100644 --- a/sdk/opensearchserverless/src/operation/update_security_policy/builders.rs +++ b/sdk/opensearchserverless/src/operation/update_security_policy/builders.rs @@ -19,9 +19,9 @@ impl UpdateSecurityPolicyFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl UpdateSecurityPolicyFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::update_security_policy::UpdateSecurityPolicy, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::update_security_policy::UpdateSecurityPolicyError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                          The type of access policy.

                                                                                                                                                                                                                                          pub fn r#type(mut self, input: crate::types::SecurityPolicyType) -> Self { self.inner = self.inner.r#type(input); diff --git a/sdk/opensearchserverless/src/operation/update_vpc_endpoint/builders.rs b/sdk/opensearchserverless/src/operation/update_vpc_endpoint/builders.rs index 2b77506c6d89..dfb80a3f4b01 100644 --- a/sdk/opensearchserverless/src/operation/update_vpc_endpoint/builders.rs +++ b/sdk/opensearchserverless/src/operation/update_vpc_endpoint/builders.rs @@ -19,9 +19,9 @@ impl UpdateVpcEndpointFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl UpdateVpcEndpointFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::update_vpc_endpoint::UpdateVpcEndpoint, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::update_vpc_endpoint::UpdateVpcEndpointError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                          The unique identifier of the interface endpoint to update.

                                                                                                                                                                                                                                          pub fn id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.id(input.into()); diff --git a/sdk/opsworks/src/operation/assign_instance/builders.rs b/sdk/opsworks/src/operation/assign_instance/builders.rs index 737ae93ca838..261e80c9a701 100644 --- a/sdk/opsworks/src/operation/assign_instance/builders.rs +++ b/sdk/opsworks/src/operation/assign_instance/builders.rs @@ -25,9 +25,9 @@ impl AssignInstanceFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,20 @@ impl AssignInstanceFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::assign_instance::AssignInstance, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                          The instance ID.

                                                                                                                                                                                                                                          pub fn instance_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.instance_id(input.into()); diff --git a/sdk/opsworks/src/operation/assign_volume/builders.rs b/sdk/opsworks/src/operation/assign_volume/builders.rs index 66362d14f1da..a82a66990536 100644 --- a/sdk/opsworks/src/operation/assign_volume/builders.rs +++ b/sdk/opsworks/src/operation/assign_volume/builders.rs @@ -20,9 +20,9 @@ impl AssignVolumeFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -78,6 +78,20 @@ impl AssignVolumeFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::assign_volume::AssignVolume, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                          The volume ID.

                                                                                                                                                                                                                                          pub fn volume_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.volume_id(input.into()); diff --git a/sdk/opsworks/src/operation/associate_elastic_ip/builders.rs b/sdk/opsworks/src/operation/associate_elastic_ip/builders.rs index 7824cb3d470b..f59e6982bdf1 100644 --- a/sdk/opsworks/src/operation/associate_elastic_ip/builders.rs +++ b/sdk/opsworks/src/operation/associate_elastic_ip/builders.rs @@ -20,9 +20,9 @@ impl AssociateElasticIpFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -84,6 +84,22 @@ impl AssociateElasticIpFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::associate_elastic_ip::AssociateElasticIp, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::associate_elastic_ip::AssociateElasticIpError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                          The Elastic IP address.

                                                                                                                                                                                                                                          pub fn elastic_ip(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.elastic_ip(input.into()); diff --git a/sdk/opsworks/src/operation/attach_elastic_load_balancer/builders.rs b/sdk/opsworks/src/operation/attach_elastic_load_balancer/builders.rs index 83b8e130287a..9cbabaa219e7 100644 --- a/sdk/opsworks/src/operation/attach_elastic_load_balancer/builders.rs +++ b/sdk/opsworks/src/operation/attach_elastic_load_balancer/builders.rs @@ -22,9 +22,9 @@ impl AttachElasticLoadBalancerFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -86,6 +86,22 @@ impl AttachElasticLoadBalancerFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::attach_elastic_load_balancer::AttachElasticLoadBalancer, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::attach_elastic_load_balancer::AttachElasticLoadBalancerError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                          The Elastic Load Balancing instance's name.

                                                                                                                                                                                                                                          pub fn elastic_load_balancer_name( mut self, diff --git a/sdk/opsworks/src/operation/clone_stack/builders.rs b/sdk/opsworks/src/operation/clone_stack/builders.rs index 605ef390aee6..785c3a22b7aa 100644 --- a/sdk/opsworks/src/operation/clone_stack/builders.rs +++ b/sdk/opsworks/src/operation/clone_stack/builders.rs @@ -20,9 +20,9 @@ impl CloneStackFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -78,6 +78,20 @@ impl CloneStackFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::clone_stack::CloneStack, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                          The source stack ID.

                                                                                                                                                                                                                                          pub fn source_stack_id( mut self, diff --git a/sdk/opsworks/src/operation/create_app/builders.rs b/sdk/opsworks/src/operation/create_app/builders.rs index 291495d6529b..a4cc9c566bb3 100644 --- a/sdk/opsworks/src/operation/create_app/builders.rs +++ b/sdk/opsworks/src/operation/create_app/builders.rs @@ -20,9 +20,9 @@ impl CreateAppFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -78,6 +78,20 @@ impl CreateAppFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::create_app::CreateApp, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                          The stack ID.

                                                                                                                                                                                                                                          pub fn stack_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.stack_id(input.into()); diff --git a/sdk/opsworks/src/operation/create_deployment/builders.rs b/sdk/opsworks/src/operation/create_deployment/builders.rs index bc69c91016dc..637adf05901a 100644 --- a/sdk/opsworks/src/operation/create_deployment/builders.rs +++ b/sdk/opsworks/src/operation/create_deployment/builders.rs @@ -20,9 +20,9 @@ impl CreateDeploymentFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -84,6 +84,22 @@ impl CreateDeploymentFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::create_deployment::CreateDeployment, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::create_deployment::CreateDeploymentError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                          The stack ID.

                                                                                                                                                                                                                                          pub fn stack_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.stack_id(input.into()); diff --git a/sdk/opsworks/src/operation/create_instance/builders.rs b/sdk/opsworks/src/operation/create_instance/builders.rs index f9a89c4b9fbe..e58037b4700f 100644 --- a/sdk/opsworks/src/operation/create_instance/builders.rs +++ b/sdk/opsworks/src/operation/create_instance/builders.rs @@ -20,9 +20,9 @@ impl CreateInstanceFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -78,6 +78,20 @@ impl CreateInstanceFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::create_instance::CreateInstance, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                          The stack ID.

                                                                                                                                                                                                                                          pub fn stack_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.stack_id(input.into()); diff --git a/sdk/opsworks/src/operation/create_layer/builders.rs b/sdk/opsworks/src/operation/create_layer/builders.rs index e0def5a41552..9586a5f4f233 100644 --- a/sdk/opsworks/src/operation/create_layer/builders.rs +++ b/sdk/opsworks/src/operation/create_layer/builders.rs @@ -22,9 +22,9 @@ impl CreateLayerFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -80,6 +80,20 @@ impl CreateLayerFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::create_layer::CreateLayer, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                          The layer stack ID.

                                                                                                                                                                                                                                          pub fn stack_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.stack_id(input.into()); diff --git a/sdk/opsworks/src/operation/create_stack/builders.rs b/sdk/opsworks/src/operation/create_stack/builders.rs index f04fc13f3edc..1ec7548e1a84 100644 --- a/sdk/opsworks/src/operation/create_stack/builders.rs +++ b/sdk/opsworks/src/operation/create_stack/builders.rs @@ -20,9 +20,9 @@ impl CreateStackFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -78,6 +78,20 @@ impl CreateStackFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::create_stack::CreateStack, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                          The stack name.

                                                                                                                                                                                                                                          pub fn name(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.name(input.into()); diff --git a/sdk/opsworks/src/operation/create_user_profile/builders.rs b/sdk/opsworks/src/operation/create_user_profile/builders.rs index 3e52c61ded05..5ce51675a577 100644 --- a/sdk/opsworks/src/operation/create_user_profile/builders.rs +++ b/sdk/opsworks/src/operation/create_user_profile/builders.rs @@ -20,9 +20,9 @@ impl CreateUserProfileFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -84,6 +84,22 @@ impl CreateUserProfileFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::create_user_profile::CreateUserProfile, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::create_user_profile::CreateUserProfileError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                          The user's IAM ARN; this can also be a federated user's ARN.

                                                                                                                                                                                                                                          pub fn iam_user_arn(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.iam_user_arn(input.into()); diff --git a/sdk/opsworks/src/operation/delete_app/builders.rs b/sdk/opsworks/src/operation/delete_app/builders.rs index fb6bc51eb88f..ef5be09b537c 100644 --- a/sdk/opsworks/src/operation/delete_app/builders.rs +++ b/sdk/opsworks/src/operation/delete_app/builders.rs @@ -20,9 +20,9 @@ impl DeleteAppFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -78,6 +78,20 @@ impl DeleteAppFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::delete_app::DeleteApp, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                          The app ID.

                                                                                                                                                                                                                                          pub fn app_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.app_id(input.into()); diff --git a/sdk/opsworks/src/operation/delete_instance/builders.rs b/sdk/opsworks/src/operation/delete_instance/builders.rs index b48c63d9349c..d95da240dcb0 100644 --- a/sdk/opsworks/src/operation/delete_instance/builders.rs +++ b/sdk/opsworks/src/operation/delete_instance/builders.rs @@ -21,9 +21,9 @@ impl DeleteInstanceFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -79,6 +79,20 @@ impl DeleteInstanceFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::delete_instance::DeleteInstance, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                          The instance ID.

                                                                                                                                                                                                                                          pub fn instance_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.instance_id(input.into()); diff --git a/sdk/opsworks/src/operation/delete_layer/builders.rs b/sdk/opsworks/src/operation/delete_layer/builders.rs index ae842fc3e8c7..e46dc22d1220 100644 --- a/sdk/opsworks/src/operation/delete_layer/builders.rs +++ b/sdk/opsworks/src/operation/delete_layer/builders.rs @@ -20,9 +20,9 @@ impl DeleteLayerFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -78,6 +78,20 @@ impl DeleteLayerFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::delete_layer::DeleteLayer, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                          The layer ID.

                                                                                                                                                                                                                                          pub fn layer_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.layer_id(input.into()); diff --git a/sdk/opsworks/src/operation/delete_stack/builders.rs b/sdk/opsworks/src/operation/delete_stack/builders.rs index 74d19762f65f..5465729652a0 100644 --- a/sdk/opsworks/src/operation/delete_stack/builders.rs +++ b/sdk/opsworks/src/operation/delete_stack/builders.rs @@ -20,9 +20,9 @@ impl DeleteStackFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -78,6 +78,20 @@ impl DeleteStackFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::delete_stack::DeleteStack, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                          The stack ID.

                                                                                                                                                                                                                                          pub fn stack_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.stack_id(input.into()); diff --git a/sdk/opsworks/src/operation/delete_user_profile/builders.rs b/sdk/opsworks/src/operation/delete_user_profile/builders.rs index b4a0ca4ce5c5..f046838bd814 100644 --- a/sdk/opsworks/src/operation/delete_user_profile/builders.rs +++ b/sdk/opsworks/src/operation/delete_user_profile/builders.rs @@ -20,9 +20,9 @@ impl DeleteUserProfileFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -84,6 +84,22 @@ impl DeleteUserProfileFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::delete_user_profile::DeleteUserProfile, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::delete_user_profile::DeleteUserProfileError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                          The user's IAM ARN. This can also be a federated user's ARN.

                                                                                                                                                                                                                                          pub fn iam_user_arn(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.iam_user_arn(input.into()); diff --git a/sdk/opsworks/src/operation/deregister_ecs_cluster/builders.rs b/sdk/opsworks/src/operation/deregister_ecs_cluster/builders.rs index 4a46cbbf9852..4dbcd6d02624 100644 --- a/sdk/opsworks/src/operation/deregister_ecs_cluster/builders.rs +++ b/sdk/opsworks/src/operation/deregister_ecs_cluster/builders.rs @@ -20,9 +20,9 @@ impl DeregisterEcsClusterFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -84,6 +84,22 @@ impl DeregisterEcsClusterFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::deregister_ecs_cluster::DeregisterEcsCluster, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::deregister_ecs_cluster::DeregisterEcsClusterError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                          The cluster's Amazon Resource Number (ARN).

                                                                                                                                                                                                                                          pub fn ecs_cluster_arn( mut self, diff --git a/sdk/opsworks/src/operation/deregister_elastic_ip/builders.rs b/sdk/opsworks/src/operation/deregister_elastic_ip/builders.rs index 0445d3c458e1..1857c4cec331 100644 --- a/sdk/opsworks/src/operation/deregister_elastic_ip/builders.rs +++ b/sdk/opsworks/src/operation/deregister_elastic_ip/builders.rs @@ -20,9 +20,9 @@ impl DeregisterElasticIpFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -84,6 +84,22 @@ impl DeregisterElasticIpFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::deregister_elastic_ip::DeregisterElasticIp, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::deregister_elastic_ip::DeregisterElasticIpError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                          The Elastic IP address.

                                                                                                                                                                                                                                          pub fn elastic_ip(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.elastic_ip(input.into()); diff --git a/sdk/opsworks/src/operation/deregister_instance/builders.rs b/sdk/opsworks/src/operation/deregister_instance/builders.rs index 0fed67863f67..b4c5816ae90e 100644 --- a/sdk/opsworks/src/operation/deregister_instance/builders.rs +++ b/sdk/opsworks/src/operation/deregister_instance/builders.rs @@ -20,9 +20,9 @@ impl DeregisterInstanceFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -84,6 +84,22 @@ impl DeregisterInstanceFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::deregister_instance::DeregisterInstance, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::deregister_instance::DeregisterInstanceError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                          The instance ID.

                                                                                                                                                                                                                                          pub fn instance_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.instance_id(input.into()); diff --git a/sdk/opsworks/src/operation/deregister_rds_db_instance/builders.rs b/sdk/opsworks/src/operation/deregister_rds_db_instance/builders.rs index 1a2d2b68b982..aa267b5bf073 100644 --- a/sdk/opsworks/src/operation/deregister_rds_db_instance/builders.rs +++ b/sdk/opsworks/src/operation/deregister_rds_db_instance/builders.rs @@ -21,9 +21,9 @@ impl DeregisterRdsDbInstanceFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -85,6 +85,22 @@ impl DeregisterRdsDbInstanceFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::deregister_rds_db_instance::DeregisterRdsDbInstance, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::deregister_rds_db_instance::DeregisterRdsDbInstanceError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                          The Amazon RDS instance's ARN.

                                                                                                                                                                                                                                          pub fn rds_db_instance_arn( mut self, diff --git a/sdk/opsworks/src/operation/deregister_volume/builders.rs b/sdk/opsworks/src/operation/deregister_volume/builders.rs index 647777ccf00c..d6c4577ad625 100644 --- a/sdk/opsworks/src/operation/deregister_volume/builders.rs +++ b/sdk/opsworks/src/operation/deregister_volume/builders.rs @@ -20,9 +20,9 @@ impl DeregisterVolumeFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -84,6 +84,22 @@ impl DeregisterVolumeFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::deregister_volume::DeregisterVolume, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::deregister_volume::DeregisterVolumeError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                          The AWS OpsWorks Stacks volume ID, which is the GUID that AWS OpsWorks Stacks assigned to the instance when you registered the volume with the stack, not the Amazon EC2 volume ID.

                                                                                                                                                                                                                                          pub fn volume_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.volume_id(input.into()); diff --git a/sdk/opsworks/src/operation/describe_agent_versions/builders.rs b/sdk/opsworks/src/operation/describe_agent_versions/builders.rs index 5b164ccb361d..747e474a3dc3 100644 --- a/sdk/opsworks/src/operation/describe_agent_versions/builders.rs +++ b/sdk/opsworks/src/operation/describe_agent_versions/builders.rs @@ -19,9 +19,9 @@ impl DescribeAgentVersionsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl DescribeAgentVersionsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::describe_agent_versions::DescribeAgentVersions, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::describe_agent_versions::DescribeAgentVersionsError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                          The stack ID.

                                                                                                                                                                                                                                          pub fn stack_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.stack_id(input.into()); diff --git a/sdk/opsworks/src/operation/describe_apps/builders.rs b/sdk/opsworks/src/operation/describe_apps/builders.rs index 29ffbb806c1e..61c85bbd2184 100644 --- a/sdk/opsworks/src/operation/describe_apps/builders.rs +++ b/sdk/opsworks/src/operation/describe_apps/builders.rs @@ -22,9 +22,9 @@ impl DescribeAppsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -80,6 +80,20 @@ impl DescribeAppsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::describe_apps::DescribeApps, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                          The app stack ID. If you use this parameter, DescribeApps returns a description of the apps in the specified stack.

                                                                                                                                                                                                                                          pub fn stack_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.stack_id(input.into()); diff --git a/sdk/opsworks/src/operation/describe_commands/builders.rs b/sdk/opsworks/src/operation/describe_commands/builders.rs index 0288695f768c..d0cc38e2925a 100644 --- a/sdk/opsworks/src/operation/describe_commands/builders.rs +++ b/sdk/opsworks/src/operation/describe_commands/builders.rs @@ -22,9 +22,9 @@ impl DescribeCommandsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -86,6 +86,22 @@ impl DescribeCommandsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::describe_commands::DescribeCommands, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::describe_commands::DescribeCommandsError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                          The deployment ID. If you include this parameter, DescribeCommands returns a description of the commands associated with the specified deployment.

                                                                                                                                                                                                                                          pub fn deployment_id( mut self, diff --git a/sdk/opsworks/src/operation/describe_deployments/builders.rs b/sdk/opsworks/src/operation/describe_deployments/builders.rs index e51caa95b4d2..2abcafb851fc 100644 --- a/sdk/opsworks/src/operation/describe_deployments/builders.rs +++ b/sdk/opsworks/src/operation/describe_deployments/builders.rs @@ -22,9 +22,9 @@ impl DescribeDeploymentsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -86,6 +86,22 @@ impl DescribeDeploymentsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::describe_deployments::DescribeDeployments, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::describe_deployments::DescribeDeploymentsError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                          The stack ID. If you include this parameter, the command returns a description of the commands associated with the specified stack.

                                                                                                                                                                                                                                          pub fn stack_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.stack_id(input.into()); diff --git a/sdk/opsworks/src/operation/describe_ecs_clusters/builders.rs b/sdk/opsworks/src/operation/describe_ecs_clusters/builders.rs index 459e48a19439..129758e2f96c 100644 --- a/sdk/opsworks/src/operation/describe_ecs_clusters/builders.rs +++ b/sdk/opsworks/src/operation/describe_ecs_clusters/builders.rs @@ -21,9 +21,9 @@ impl DescribeEcsClustersFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -85,6 +85,22 @@ impl DescribeEcsClustersFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::describe_ecs_clusters::DescribeEcsClusters, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::describe_ecs_clusters::DescribeEcsClustersError, + >, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::describe_ecs_clusters::paginator::DescribeEcsClustersPaginator::send) which returns a `Stream`. diff --git a/sdk/opsworks/src/operation/describe_elastic_ips/builders.rs b/sdk/opsworks/src/operation/describe_elastic_ips/builders.rs index acbe9a756b64..89267979a43a 100644 --- a/sdk/opsworks/src/operation/describe_elastic_ips/builders.rs +++ b/sdk/opsworks/src/operation/describe_elastic_ips/builders.rs @@ -22,9 +22,9 @@ impl DescribeElasticIpsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -86,6 +86,22 @@ impl DescribeElasticIpsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::describe_elastic_ips::DescribeElasticIps, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::describe_elastic_ips::DescribeElasticIpsError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                          The instance ID. If you include this parameter, DescribeElasticIps returns a description of the Elastic IP addresses associated with the specified instance.

                                                                                                                                                                                                                                          pub fn instance_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.instance_id(input.into()); diff --git a/sdk/opsworks/src/operation/describe_elastic_load_balancers/builders.rs b/sdk/opsworks/src/operation/describe_elastic_load_balancers/builders.rs index 78e5a8eae669..61361207a56f 100644 --- a/sdk/opsworks/src/operation/describe_elastic_load_balancers/builders.rs +++ b/sdk/opsworks/src/operation/describe_elastic_load_balancers/builders.rs @@ -22,9 +22,9 @@ impl DescribeElasticLoadBalancersFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -86,6 +86,22 @@ impl DescribeElasticLoadBalancersFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::describe_elastic_load_balancers::DescribeElasticLoadBalancers, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::describe_elastic_load_balancers::DescribeElasticLoadBalancersError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                          A stack ID. The action describes the stack's Elastic Load Balancing instances.

                                                                                                                                                                                                                                          pub fn stack_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.stack_id(input.into()); diff --git a/sdk/opsworks/src/operation/describe_instances/builders.rs b/sdk/opsworks/src/operation/describe_instances/builders.rs index d93cb1c2fae3..8279697faac3 100644 --- a/sdk/opsworks/src/operation/describe_instances/builders.rs +++ b/sdk/opsworks/src/operation/describe_instances/builders.rs @@ -22,9 +22,9 @@ impl DescribeInstancesFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -86,6 +86,22 @@ impl DescribeInstancesFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::describe_instances::DescribeInstances, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::describe_instances::DescribeInstancesError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                          A stack ID. If you use this parameter, DescribeInstances returns descriptions of the instances associated with the specified stack.

                                                                                                                                                                                                                                          pub fn stack_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.stack_id(input.into()); diff --git a/sdk/opsworks/src/operation/describe_layers/builders.rs b/sdk/opsworks/src/operation/describe_layers/builders.rs index ef9272789458..56f1c012551b 100644 --- a/sdk/opsworks/src/operation/describe_layers/builders.rs +++ b/sdk/opsworks/src/operation/describe_layers/builders.rs @@ -22,9 +22,9 @@ impl DescribeLayersFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -80,6 +80,20 @@ impl DescribeLayersFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::describe_layers::DescribeLayers, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                          The stack ID.

                                                                                                                                                                                                                                          pub fn stack_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.stack_id(input.into()); diff --git a/sdk/opsworks/src/operation/describe_load_based_auto_scaling/builders.rs b/sdk/opsworks/src/operation/describe_load_based_auto_scaling/builders.rs index bb7559694975..3f1111f070df 100644 --- a/sdk/opsworks/src/operation/describe_load_based_auto_scaling/builders.rs +++ b/sdk/opsworks/src/operation/describe_load_based_auto_scaling/builders.rs @@ -22,9 +22,9 @@ impl DescribeLoadBasedAutoScalingFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -86,6 +86,22 @@ impl DescribeLoadBasedAutoScalingFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::describe_load_based_auto_scaling::DescribeLoadBasedAutoScaling, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::describe_load_based_auto_scaling::DescribeLoadBasedAutoScalingError, + >, + > { + self.customize_middleware().await + } /// Appends an item to `LayerIds`. /// /// To override the contents of this collection use [`set_layer_ids`](Self::set_layer_ids). diff --git a/sdk/opsworks/src/operation/describe_my_user_profile/builders.rs b/sdk/opsworks/src/operation/describe_my_user_profile/builders.rs index c63c5e1af62b..94a6db7641be 100644 --- a/sdk/opsworks/src/operation/describe_my_user_profile/builders.rs +++ b/sdk/opsworks/src/operation/describe_my_user_profile/builders.rs @@ -20,9 +20,9 @@ impl DescribeMyUserProfileFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -84,4 +84,20 @@ impl DescribeMyUserProfileFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::describe_my_user_profile::DescribeMyUserProfile, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::describe_my_user_profile::DescribeMyUserProfileError, + >, + > { + self.customize_middleware().await + } } diff --git a/sdk/opsworks/src/operation/describe_operating_systems/builders.rs b/sdk/opsworks/src/operation/describe_operating_systems/builders.rs index 5e84e010ffad..19a6b39b6b9a 100644 --- a/sdk/opsworks/src/operation/describe_operating_systems/builders.rs +++ b/sdk/opsworks/src/operation/describe_operating_systems/builders.rs @@ -19,9 +19,9 @@ impl DescribeOperatingSystemsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,4 +83,20 @@ impl DescribeOperatingSystemsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::describe_operating_systems::DescribeOperatingSystems, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::describe_operating_systems::DescribeOperatingSystemsError, + >, + > { + self.customize_middleware().await + } } diff --git a/sdk/opsworks/src/operation/describe_permissions/builders.rs b/sdk/opsworks/src/operation/describe_permissions/builders.rs index a03f6ceabc76..1a71888595e5 100644 --- a/sdk/opsworks/src/operation/describe_permissions/builders.rs +++ b/sdk/opsworks/src/operation/describe_permissions/builders.rs @@ -20,9 +20,9 @@ impl DescribePermissionsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -84,6 +84,22 @@ impl DescribePermissionsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::describe_permissions::DescribePermissions, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::describe_permissions::DescribePermissionsError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                          The user's IAM ARN. This can also be a federated user's ARN. For more information about IAM ARNs, see Using Identifiers.

                                                                                                                                                                                                                                          pub fn iam_user_arn(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.iam_user_arn(input.into()); diff --git a/sdk/opsworks/src/operation/describe_raid_arrays/builders.rs b/sdk/opsworks/src/operation/describe_raid_arrays/builders.rs index 71bab38187a5..a1563d721f55 100644 --- a/sdk/opsworks/src/operation/describe_raid_arrays/builders.rs +++ b/sdk/opsworks/src/operation/describe_raid_arrays/builders.rs @@ -22,9 +22,9 @@ impl DescribeRaidArraysFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -86,6 +86,22 @@ impl DescribeRaidArraysFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::describe_raid_arrays::DescribeRaidArrays, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::describe_raid_arrays::DescribeRaidArraysError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                          The instance ID. If you use this parameter, DescribeRaidArrays returns descriptions of the RAID arrays associated with the specified instance.

                                                                                                                                                                                                                                          pub fn instance_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.instance_id(input.into()); diff --git a/sdk/opsworks/src/operation/describe_rds_db_instances/builders.rs b/sdk/opsworks/src/operation/describe_rds_db_instances/builders.rs index 2b7bdac272d9..b275228bb6c9 100644 --- a/sdk/opsworks/src/operation/describe_rds_db_instances/builders.rs +++ b/sdk/opsworks/src/operation/describe_rds_db_instances/builders.rs @@ -22,9 +22,9 @@ impl DescribeRdsDbInstancesFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -86,6 +86,22 @@ impl DescribeRdsDbInstancesFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::describe_rds_db_instances::DescribeRdsDbInstances, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::describe_rds_db_instances::DescribeRdsDbInstancesError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                          The ID of the stack with which the instances are registered. The operation returns descriptions of all registered Amazon RDS instances.

                                                                                                                                                                                                                                          pub fn stack_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.stack_id(input.into()); diff --git a/sdk/opsworks/src/operation/describe_service_errors/builders.rs b/sdk/opsworks/src/operation/describe_service_errors/builders.rs index 352dba2a6f08..194eba6a7101 100644 --- a/sdk/opsworks/src/operation/describe_service_errors/builders.rs +++ b/sdk/opsworks/src/operation/describe_service_errors/builders.rs @@ -21,9 +21,9 @@ impl DescribeServiceErrorsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -85,6 +85,22 @@ impl DescribeServiceErrorsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::describe_service_errors::DescribeServiceErrors, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::describe_service_errors::DescribeServiceErrorsError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                          The stack ID. If you use this parameter, DescribeServiceErrors returns descriptions of the errors associated with the specified stack.

                                                                                                                                                                                                                                          pub fn stack_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.stack_id(input.into()); diff --git a/sdk/opsworks/src/operation/describe_stack_provisioning_parameters/builders.rs b/sdk/opsworks/src/operation/describe_stack_provisioning_parameters/builders.rs index 88680814aec4..51bb6d41a100 100644 --- a/sdk/opsworks/src/operation/describe_stack_provisioning_parameters/builders.rs +++ b/sdk/opsworks/src/operation/describe_stack_provisioning_parameters/builders.rs @@ -20,9 +20,9 @@ impl DescribeStackProvisioningParametersFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize(self) -> ::std::result::Result< + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware(self) -> ::std::result::Result< crate::client::customize::CustomizableOperation, ::aws_smithy_http::result::SdkError >{ @@ -65,6 +65,15 @@ impl DescribeStackProvisioningParametersFluentBuilder { { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize(self) -> ::std::result::Result< + crate::client::customize::CustomizableOperation, + ::aws_smithy_http::result::SdkError + >{ + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                          The stack ID.

                                                                                                                                                                                                                                          pub fn stack_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.stack_id(input.into()); diff --git a/sdk/opsworks/src/operation/describe_stack_summary/builders.rs b/sdk/opsworks/src/operation/describe_stack_summary/builders.rs index 7bb3cca3462e..c62fc1c72963 100644 --- a/sdk/opsworks/src/operation/describe_stack_summary/builders.rs +++ b/sdk/opsworks/src/operation/describe_stack_summary/builders.rs @@ -20,9 +20,9 @@ impl DescribeStackSummaryFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -84,6 +84,22 @@ impl DescribeStackSummaryFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::describe_stack_summary::DescribeStackSummary, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::describe_stack_summary::DescribeStackSummaryError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                          The stack ID.

                                                                                                                                                                                                                                          pub fn stack_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.stack_id(input.into()); diff --git a/sdk/opsworks/src/operation/describe_stacks/builders.rs b/sdk/opsworks/src/operation/describe_stacks/builders.rs index b2298abf8950..f7cb198f163c 100644 --- a/sdk/opsworks/src/operation/describe_stacks/builders.rs +++ b/sdk/opsworks/src/operation/describe_stacks/builders.rs @@ -20,9 +20,9 @@ impl DescribeStacksFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -78,6 +78,20 @@ impl DescribeStacksFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::describe_stacks::DescribeStacks, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } /// Appends an item to `StackIds`. /// /// To override the contents of this collection use [`set_stack_ids`](Self::set_stack_ids). diff --git a/sdk/opsworks/src/operation/describe_time_based_auto_scaling/builders.rs b/sdk/opsworks/src/operation/describe_time_based_auto_scaling/builders.rs index 6ee494c686bf..2956eee63738 100644 --- a/sdk/opsworks/src/operation/describe_time_based_auto_scaling/builders.rs +++ b/sdk/opsworks/src/operation/describe_time_based_auto_scaling/builders.rs @@ -22,9 +22,9 @@ impl DescribeTimeBasedAutoScalingFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -86,6 +86,22 @@ impl DescribeTimeBasedAutoScalingFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::describe_time_based_auto_scaling::DescribeTimeBasedAutoScaling, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::describe_time_based_auto_scaling::DescribeTimeBasedAutoScalingError, + >, + > { + self.customize_middleware().await + } /// Appends an item to `InstanceIds`. /// /// To override the contents of this collection use [`set_instance_ids`](Self::set_instance_ids). diff --git a/sdk/opsworks/src/operation/describe_user_profiles/builders.rs b/sdk/opsworks/src/operation/describe_user_profiles/builders.rs index 8d921d7872ca..bc4cff09b30a 100644 --- a/sdk/opsworks/src/operation/describe_user_profiles/builders.rs +++ b/sdk/opsworks/src/operation/describe_user_profiles/builders.rs @@ -20,9 +20,9 @@ impl DescribeUserProfilesFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -84,6 +84,22 @@ impl DescribeUserProfilesFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::describe_user_profiles::DescribeUserProfiles, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::describe_user_profiles::DescribeUserProfilesError, + >, + > { + self.customize_middleware().await + } /// Appends an item to `IamUserArns`. /// /// To override the contents of this collection use [`set_iam_user_arns`](Self::set_iam_user_arns). diff --git a/sdk/opsworks/src/operation/describe_volumes/builders.rs b/sdk/opsworks/src/operation/describe_volumes/builders.rs index b47a4258f989..4655bdbae6ef 100644 --- a/sdk/opsworks/src/operation/describe_volumes/builders.rs +++ b/sdk/opsworks/src/operation/describe_volumes/builders.rs @@ -22,9 +22,9 @@ impl DescribeVolumesFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -86,6 +86,22 @@ impl DescribeVolumesFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::describe_volumes::DescribeVolumes, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::describe_volumes::DescribeVolumesError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                          The instance ID. If you use this parameter, DescribeVolumes returns descriptions of the volumes associated with the specified instance.

                                                                                                                                                                                                                                          pub fn instance_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.instance_id(input.into()); diff --git a/sdk/opsworks/src/operation/detach_elastic_load_balancer/builders.rs b/sdk/opsworks/src/operation/detach_elastic_load_balancer/builders.rs index d2a6a402480f..7bb9b791f349 100644 --- a/sdk/opsworks/src/operation/detach_elastic_load_balancer/builders.rs +++ b/sdk/opsworks/src/operation/detach_elastic_load_balancer/builders.rs @@ -20,9 +20,9 @@ impl DetachElasticLoadBalancerFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -84,6 +84,22 @@ impl DetachElasticLoadBalancerFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::detach_elastic_load_balancer::DetachElasticLoadBalancer, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::detach_elastic_load_balancer::DetachElasticLoadBalancerError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                          The Elastic Load Balancing instance's name.

                                                                                                                                                                                                                                          pub fn elastic_load_balancer_name( mut self, diff --git a/sdk/opsworks/src/operation/disassociate_elastic_ip/builders.rs b/sdk/opsworks/src/operation/disassociate_elastic_ip/builders.rs index 1d7d92ac1bd3..7e034ec380e0 100644 --- a/sdk/opsworks/src/operation/disassociate_elastic_ip/builders.rs +++ b/sdk/opsworks/src/operation/disassociate_elastic_ip/builders.rs @@ -20,9 +20,9 @@ impl DisassociateElasticIpFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -84,6 +84,22 @@ impl DisassociateElasticIpFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::disassociate_elastic_ip::DisassociateElasticIp, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::disassociate_elastic_ip::DisassociateElasticIpError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                          The Elastic IP address.

                                                                                                                                                                                                                                          pub fn elastic_ip(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.elastic_ip(input.into()); diff --git a/sdk/opsworks/src/operation/get_hostname_suggestion/builders.rs b/sdk/opsworks/src/operation/get_hostname_suggestion/builders.rs index 39847c5f1491..e51b7de7200c 100644 --- a/sdk/opsworks/src/operation/get_hostname_suggestion/builders.rs +++ b/sdk/opsworks/src/operation/get_hostname_suggestion/builders.rs @@ -20,9 +20,9 @@ impl GetHostnameSuggestionFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -84,6 +84,22 @@ impl GetHostnameSuggestionFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::get_hostname_suggestion::GetHostnameSuggestion, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::get_hostname_suggestion::GetHostnameSuggestionError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                          The layer ID.

                                                                                                                                                                                                                                          pub fn layer_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.layer_id(input.into()); diff --git a/sdk/opsworks/src/operation/grant_access/builders.rs b/sdk/opsworks/src/operation/grant_access/builders.rs index 18103665313c..9f3dd802d892 100644 --- a/sdk/opsworks/src/operation/grant_access/builders.rs +++ b/sdk/opsworks/src/operation/grant_access/builders.rs @@ -22,9 +22,9 @@ impl GrantAccessFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -80,6 +80,20 @@ impl GrantAccessFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::grant_access::GrantAccess, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                          The instance's AWS OpsWorks Stacks ID.

                                                                                                                                                                                                                                          pub fn instance_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.instance_id(input.into()); diff --git a/sdk/opsworks/src/operation/list_tags/builders.rs b/sdk/opsworks/src/operation/list_tags/builders.rs index fdebfb967e3f..792809c3f9c8 100644 --- a/sdk/opsworks/src/operation/list_tags/builders.rs +++ b/sdk/opsworks/src/operation/list_tags/builders.rs @@ -19,9 +19,9 @@ impl ListTagsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl ListTagsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_tags::ListTags, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                          The stack or layer's Amazon Resource Number (ARN).

                                                                                                                                                                                                                                          pub fn resource_arn(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.resource_arn(input.into()); diff --git a/sdk/opsworks/src/operation/reboot_instance/builders.rs b/sdk/opsworks/src/operation/reboot_instance/builders.rs index f676e7664e02..11356fa0a3c1 100644 --- a/sdk/opsworks/src/operation/reboot_instance/builders.rs +++ b/sdk/opsworks/src/operation/reboot_instance/builders.rs @@ -20,9 +20,9 @@ impl RebootInstanceFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -78,6 +78,20 @@ impl RebootInstanceFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::reboot_instance::RebootInstance, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                          The instance ID.

                                                                                                                                                                                                                                          pub fn instance_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.instance_id(input.into()); diff --git a/sdk/opsworks/src/operation/register_ecs_cluster/builders.rs b/sdk/opsworks/src/operation/register_ecs_cluster/builders.rs index 1a8ca97e49f9..d049346d046f 100644 --- a/sdk/opsworks/src/operation/register_ecs_cluster/builders.rs +++ b/sdk/opsworks/src/operation/register_ecs_cluster/builders.rs @@ -20,9 +20,9 @@ impl RegisterEcsClusterFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -84,6 +84,22 @@ impl RegisterEcsClusterFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::register_ecs_cluster::RegisterEcsCluster, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::register_ecs_cluster::RegisterEcsClusterError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                          The cluster's ARN.

                                                                                                                                                                                                                                          pub fn ecs_cluster_arn( mut self, diff --git a/sdk/opsworks/src/operation/register_elastic_ip/builders.rs b/sdk/opsworks/src/operation/register_elastic_ip/builders.rs index 4a1fcf4390b3..431a9d5456b9 100644 --- a/sdk/opsworks/src/operation/register_elastic_ip/builders.rs +++ b/sdk/opsworks/src/operation/register_elastic_ip/builders.rs @@ -20,9 +20,9 @@ impl RegisterElasticIpFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -84,6 +84,22 @@ impl RegisterElasticIpFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::register_elastic_ip::RegisterElasticIp, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::register_elastic_ip::RegisterElasticIpError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                          The Elastic IP address.

                                                                                                                                                                                                                                          pub fn elastic_ip(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.elastic_ip(input.into()); diff --git a/sdk/opsworks/src/operation/register_instance/builders.rs b/sdk/opsworks/src/operation/register_instance/builders.rs index 6a1a8e4d18ed..4db1ff2771e3 100644 --- a/sdk/opsworks/src/operation/register_instance/builders.rs +++ b/sdk/opsworks/src/operation/register_instance/builders.rs @@ -23,9 +23,9 @@ impl RegisterInstanceFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -87,6 +87,22 @@ impl RegisterInstanceFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::register_instance::RegisterInstance, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::register_instance::RegisterInstanceError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                          The ID of the stack that the instance is to be registered with.

                                                                                                                                                                                                                                          pub fn stack_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.stack_id(input.into()); diff --git a/sdk/opsworks/src/operation/register_rds_db_instance/builders.rs b/sdk/opsworks/src/operation/register_rds_db_instance/builders.rs index e3a4cb24ebf7..b4873b479489 100644 --- a/sdk/opsworks/src/operation/register_rds_db_instance/builders.rs +++ b/sdk/opsworks/src/operation/register_rds_db_instance/builders.rs @@ -20,9 +20,9 @@ impl RegisterRdsDbInstanceFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -84,6 +84,22 @@ impl RegisterRdsDbInstanceFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::register_rds_db_instance::RegisterRdsDbInstance, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::register_rds_db_instance::RegisterRdsDbInstanceError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                          The stack ID.

                                                                                                                                                                                                                                          pub fn stack_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.stack_id(input.into()); diff --git a/sdk/opsworks/src/operation/register_volume/builders.rs b/sdk/opsworks/src/operation/register_volume/builders.rs index 4d08c0f08744..694ec7aff240 100644 --- a/sdk/opsworks/src/operation/register_volume/builders.rs +++ b/sdk/opsworks/src/operation/register_volume/builders.rs @@ -20,9 +20,9 @@ impl RegisterVolumeFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -78,6 +78,20 @@ impl RegisterVolumeFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::register_volume::RegisterVolume, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                          The Amazon EBS volume ID.

                                                                                                                                                                                                                                          pub fn ec2_volume_id( mut self, diff --git a/sdk/opsworks/src/operation/set_load_based_auto_scaling/builders.rs b/sdk/opsworks/src/operation/set_load_based_auto_scaling/builders.rs index c7b383ebfb3b..130ef74c7575 100644 --- a/sdk/opsworks/src/operation/set_load_based_auto_scaling/builders.rs +++ b/sdk/opsworks/src/operation/set_load_based_auto_scaling/builders.rs @@ -22,9 +22,9 @@ impl SetLoadBasedAutoScalingFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -86,6 +86,22 @@ impl SetLoadBasedAutoScalingFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::set_load_based_auto_scaling::SetLoadBasedAutoScaling, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::set_load_based_auto_scaling::SetLoadBasedAutoScalingError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                          The layer ID.

                                                                                                                                                                                                                                          pub fn layer_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.layer_id(input.into()); diff --git a/sdk/opsworks/src/operation/set_permission/builders.rs b/sdk/opsworks/src/operation/set_permission/builders.rs index e9975eb79d44..b6fc5542d745 100644 --- a/sdk/opsworks/src/operation/set_permission/builders.rs +++ b/sdk/opsworks/src/operation/set_permission/builders.rs @@ -20,9 +20,9 @@ impl SetPermissionFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -78,6 +78,20 @@ impl SetPermissionFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::set_permission::SetPermission, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                          The stack ID.

                                                                                                                                                                                                                                          pub fn stack_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.stack_id(input.into()); diff --git a/sdk/opsworks/src/operation/set_time_based_auto_scaling/builders.rs b/sdk/opsworks/src/operation/set_time_based_auto_scaling/builders.rs index 138e9e28df52..65d789bef1bd 100644 --- a/sdk/opsworks/src/operation/set_time_based_auto_scaling/builders.rs +++ b/sdk/opsworks/src/operation/set_time_based_auto_scaling/builders.rs @@ -20,9 +20,9 @@ impl SetTimeBasedAutoScalingFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -84,6 +84,22 @@ impl SetTimeBasedAutoScalingFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::set_time_based_auto_scaling::SetTimeBasedAutoScaling, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::set_time_based_auto_scaling::SetTimeBasedAutoScalingError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                          The instance ID.

                                                                                                                                                                                                                                          pub fn instance_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.instance_id(input.into()); diff --git a/sdk/opsworks/src/operation/start_instance/builders.rs b/sdk/opsworks/src/operation/start_instance/builders.rs index f488f3ef10d8..0086355a329b 100644 --- a/sdk/opsworks/src/operation/start_instance/builders.rs +++ b/sdk/opsworks/src/operation/start_instance/builders.rs @@ -20,9 +20,9 @@ impl StartInstanceFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -78,6 +78,20 @@ impl StartInstanceFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::start_instance::StartInstance, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                          The instance ID.

                                                                                                                                                                                                                                          pub fn instance_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.instance_id(input.into()); diff --git a/sdk/opsworks/src/operation/start_stack/builders.rs b/sdk/opsworks/src/operation/start_stack/builders.rs index 472032a49b27..abcd947d47bf 100644 --- a/sdk/opsworks/src/operation/start_stack/builders.rs +++ b/sdk/opsworks/src/operation/start_stack/builders.rs @@ -20,9 +20,9 @@ impl StartStackFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -78,6 +78,20 @@ impl StartStackFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::start_stack::StartStack, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                          The stack ID.

                                                                                                                                                                                                                                          pub fn stack_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.stack_id(input.into()); diff --git a/sdk/opsworks/src/operation/stop_instance/builders.rs b/sdk/opsworks/src/operation/stop_instance/builders.rs index ca0184751629..a5bd75ec8a5d 100644 --- a/sdk/opsworks/src/operation/stop_instance/builders.rs +++ b/sdk/opsworks/src/operation/stop_instance/builders.rs @@ -20,9 +20,9 @@ impl StopInstanceFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -78,6 +78,20 @@ impl StopInstanceFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::stop_instance::StopInstance, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                          The instance ID.

                                                                                                                                                                                                                                          pub fn instance_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.instance_id(input.into()); diff --git a/sdk/opsworks/src/operation/stop_stack/builders.rs b/sdk/opsworks/src/operation/stop_stack/builders.rs index a6a4afcacdeb..67753b1bf9bd 100644 --- a/sdk/opsworks/src/operation/stop_stack/builders.rs +++ b/sdk/opsworks/src/operation/stop_stack/builders.rs @@ -20,9 +20,9 @@ impl StopStackFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -78,6 +78,20 @@ impl StopStackFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::stop_stack::StopStack, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                          The stack ID.

                                                                                                                                                                                                                                          pub fn stack_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.stack_id(input.into()); diff --git a/sdk/opsworks/src/operation/tag_resource/builders.rs b/sdk/opsworks/src/operation/tag_resource/builders.rs index 5167891343a3..70c5ca3dff29 100644 --- a/sdk/opsworks/src/operation/tag_resource/builders.rs +++ b/sdk/opsworks/src/operation/tag_resource/builders.rs @@ -19,9 +19,9 @@ impl TagResourceFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl TagResourceFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::tag_resource::TagResource, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                          The stack or layer's Amazon Resource Number (ARN).

                                                                                                                                                                                                                                          pub fn resource_arn(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.resource_arn(input.into()); diff --git a/sdk/opsworks/src/operation/unassign_instance/builders.rs b/sdk/opsworks/src/operation/unassign_instance/builders.rs index d75946fb41ae..6c7172201ed1 100644 --- a/sdk/opsworks/src/operation/unassign_instance/builders.rs +++ b/sdk/opsworks/src/operation/unassign_instance/builders.rs @@ -20,9 +20,9 @@ impl UnassignInstanceFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -84,6 +84,22 @@ impl UnassignInstanceFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::unassign_instance::UnassignInstance, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::unassign_instance::UnassignInstanceError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                          The instance ID.

                                                                                                                                                                                                                                          pub fn instance_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.instance_id(input.into()); diff --git a/sdk/opsworks/src/operation/unassign_volume/builders.rs b/sdk/opsworks/src/operation/unassign_volume/builders.rs index a412475b87e5..3594a1513176 100644 --- a/sdk/opsworks/src/operation/unassign_volume/builders.rs +++ b/sdk/opsworks/src/operation/unassign_volume/builders.rs @@ -20,9 +20,9 @@ impl UnassignVolumeFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -78,6 +78,20 @@ impl UnassignVolumeFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::unassign_volume::UnassignVolume, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                          The volume ID.

                                                                                                                                                                                                                                          pub fn volume_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.volume_id(input.into()); diff --git a/sdk/opsworks/src/operation/untag_resource/builders.rs b/sdk/opsworks/src/operation/untag_resource/builders.rs index 2e4252e4bdbb..5c7e73edbe14 100644 --- a/sdk/opsworks/src/operation/untag_resource/builders.rs +++ b/sdk/opsworks/src/operation/untag_resource/builders.rs @@ -19,9 +19,9 @@ impl UntagResourceFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl UntagResourceFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::untag_resource::UntagResource, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                          The stack or layer's Amazon Resource Number (ARN).

                                                                                                                                                                                                                                          pub fn resource_arn(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.resource_arn(input.into()); diff --git a/sdk/opsworks/src/operation/update_app/builders.rs b/sdk/opsworks/src/operation/update_app/builders.rs index aff178ad367b..9193852b9733 100644 --- a/sdk/opsworks/src/operation/update_app/builders.rs +++ b/sdk/opsworks/src/operation/update_app/builders.rs @@ -20,9 +20,9 @@ impl UpdateAppFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -78,6 +78,20 @@ impl UpdateAppFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::update_app::UpdateApp, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                          The app ID.

                                                                                                                                                                                                                                          pub fn app_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.app_id(input.into()); diff --git a/sdk/opsworks/src/operation/update_elastic_ip/builders.rs b/sdk/opsworks/src/operation/update_elastic_ip/builders.rs index dbf6ab14555a..738340952e3d 100644 --- a/sdk/opsworks/src/operation/update_elastic_ip/builders.rs +++ b/sdk/opsworks/src/operation/update_elastic_ip/builders.rs @@ -20,9 +20,9 @@ impl UpdateElasticIpFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -84,6 +84,22 @@ impl UpdateElasticIpFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::update_elastic_ip::UpdateElasticIp, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::update_elastic_ip::UpdateElasticIpError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                          The IP address for which you want to update the name.

                                                                                                                                                                                                                                          pub fn elastic_ip(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.elastic_ip(input.into()); diff --git a/sdk/opsworks/src/operation/update_instance/builders.rs b/sdk/opsworks/src/operation/update_instance/builders.rs index 9343f1916fed..005c3426cc39 100644 --- a/sdk/opsworks/src/operation/update_instance/builders.rs +++ b/sdk/opsworks/src/operation/update_instance/builders.rs @@ -20,9 +20,9 @@ impl UpdateInstanceFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -78,6 +78,20 @@ impl UpdateInstanceFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::update_instance::UpdateInstance, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                          The instance ID.

                                                                                                                                                                                                                                          pub fn instance_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.instance_id(input.into()); diff --git a/sdk/opsworks/src/operation/update_layer/builders.rs b/sdk/opsworks/src/operation/update_layer/builders.rs index fecf916f1682..53d55cb6b6c1 100644 --- a/sdk/opsworks/src/operation/update_layer/builders.rs +++ b/sdk/opsworks/src/operation/update_layer/builders.rs @@ -20,9 +20,9 @@ impl UpdateLayerFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -78,6 +78,20 @@ impl UpdateLayerFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::update_layer::UpdateLayer, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                          The layer ID.

                                                                                                                                                                                                                                          pub fn layer_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.layer_id(input.into()); diff --git a/sdk/opsworks/src/operation/update_my_user_profile/builders.rs b/sdk/opsworks/src/operation/update_my_user_profile/builders.rs index e4877f2b9859..e1cf12c6e544 100644 --- a/sdk/opsworks/src/operation/update_my_user_profile/builders.rs +++ b/sdk/opsworks/src/operation/update_my_user_profile/builders.rs @@ -20,9 +20,9 @@ impl UpdateMyUserProfileFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -84,6 +84,22 @@ impl UpdateMyUserProfileFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::update_my_user_profile::UpdateMyUserProfile, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::update_my_user_profile::UpdateMyUserProfileError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                          The user's SSH public key.

                                                                                                                                                                                                                                          pub fn ssh_public_key( mut self, diff --git a/sdk/opsworks/src/operation/update_rds_db_instance/builders.rs b/sdk/opsworks/src/operation/update_rds_db_instance/builders.rs index 47f30bcffca2..8275f37c7131 100644 --- a/sdk/opsworks/src/operation/update_rds_db_instance/builders.rs +++ b/sdk/opsworks/src/operation/update_rds_db_instance/builders.rs @@ -20,9 +20,9 @@ impl UpdateRdsDbInstanceFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -84,6 +84,22 @@ impl UpdateRdsDbInstanceFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::update_rds_db_instance::UpdateRdsDbInstance, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::update_rds_db_instance::UpdateRdsDbInstanceError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                          The Amazon RDS instance's ARN.

                                                                                                                                                                                                                                          pub fn rds_db_instance_arn( mut self, diff --git a/sdk/opsworks/src/operation/update_stack/builders.rs b/sdk/opsworks/src/operation/update_stack/builders.rs index 6f0aaddac45e..b724dfc6c0c9 100644 --- a/sdk/opsworks/src/operation/update_stack/builders.rs +++ b/sdk/opsworks/src/operation/update_stack/builders.rs @@ -20,9 +20,9 @@ impl UpdateStackFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -78,6 +78,20 @@ impl UpdateStackFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::update_stack::UpdateStack, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                          The stack ID.

                                                                                                                                                                                                                                          pub fn stack_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.stack_id(input.into()); diff --git a/sdk/opsworks/src/operation/update_user_profile/builders.rs b/sdk/opsworks/src/operation/update_user_profile/builders.rs index 66459a067672..f833db5a8fcb 100644 --- a/sdk/opsworks/src/operation/update_user_profile/builders.rs +++ b/sdk/opsworks/src/operation/update_user_profile/builders.rs @@ -20,9 +20,9 @@ impl UpdateUserProfileFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -84,6 +84,22 @@ impl UpdateUserProfileFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::update_user_profile::UpdateUserProfile, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::update_user_profile::UpdateUserProfileError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                          The user IAM ARN. This can also be a federated user's ARN.

                                                                                                                                                                                                                                          pub fn iam_user_arn(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.iam_user_arn(input.into()); diff --git a/sdk/opsworks/src/operation/update_volume/builders.rs b/sdk/opsworks/src/operation/update_volume/builders.rs index 913d559f4025..de4d23995959 100644 --- a/sdk/opsworks/src/operation/update_volume/builders.rs +++ b/sdk/opsworks/src/operation/update_volume/builders.rs @@ -20,9 +20,9 @@ impl UpdateVolumeFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -78,6 +78,20 @@ impl UpdateVolumeFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::update_volume::UpdateVolume, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                          The volume ID.

                                                                                                                                                                                                                                          pub fn volume_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.volume_id(input.into()); diff --git a/sdk/opsworkscm/src/operation/associate_node/builders.rs b/sdk/opsworkscm/src/operation/associate_node/builders.rs index 3dde664f31fa..697abed46b58 100644 --- a/sdk/opsworkscm/src/operation/associate_node/builders.rs +++ b/sdk/opsworkscm/src/operation/associate_node/builders.rs @@ -24,9 +24,9 @@ impl AssociateNodeFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -82,6 +82,20 @@ impl AssociateNodeFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::associate_node::AssociateNode, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                          The name of the server with which to associate the node.

                                                                                                                                                                                                                                          pub fn server_name(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.server_name(input.into()); diff --git a/sdk/opsworkscm/src/operation/create_backup/builders.rs b/sdk/opsworkscm/src/operation/create_backup/builders.rs index 987b0d6a3780..e6c4e31c885f 100644 --- a/sdk/opsworkscm/src/operation/create_backup/builders.rs +++ b/sdk/opsworkscm/src/operation/create_backup/builders.rs @@ -22,9 +22,9 @@ impl CreateBackupFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -80,6 +80,20 @@ impl CreateBackupFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::create_backup::CreateBackup, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                          The name of the server that you want to back up.

                                                                                                                                                                                                                                          pub fn server_name(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.server_name(input.into()); diff --git a/sdk/opsworkscm/src/operation/create_server/builders.rs b/sdk/opsworkscm/src/operation/create_server/builders.rs index 9ddd0dfe8ef8..a1f81b84f0f5 100644 --- a/sdk/opsworkscm/src/operation/create_server/builders.rs +++ b/sdk/opsworkscm/src/operation/create_server/builders.rs @@ -26,9 +26,9 @@ impl CreateServerFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -84,6 +84,20 @@ impl CreateServerFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::create_server::CreateServer, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                          Associate a public IP address with a server that you are launching. Valid values are true or false. The default value is true.

                                                                                                                                                                                                                                          pub fn associate_public_ip_address(mut self, input: bool) -> Self { self.inner = self.inner.associate_public_ip_address(input); diff --git a/sdk/opsworkscm/src/operation/delete_backup/builders.rs b/sdk/opsworkscm/src/operation/delete_backup/builders.rs index 08ef62219ac7..32ba5d2a05d7 100644 --- a/sdk/opsworkscm/src/operation/delete_backup/builders.rs +++ b/sdk/opsworkscm/src/operation/delete_backup/builders.rs @@ -20,9 +20,9 @@ impl DeleteBackupFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -78,6 +78,20 @@ impl DeleteBackupFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::delete_backup::DeleteBackup, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                          The ID of the backup to delete. Run the DescribeBackups command to get a list of backup IDs. Backup IDs are in the format ServerName-yyyyMMddHHmmssSSS.

                                                                                                                                                                                                                                          pub fn backup_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.backup_id(input.into()); diff --git a/sdk/opsworkscm/src/operation/delete_server/builders.rs b/sdk/opsworkscm/src/operation/delete_server/builders.rs index 2bc569636353..ce9d6538e52c 100644 --- a/sdk/opsworkscm/src/operation/delete_server/builders.rs +++ b/sdk/opsworkscm/src/operation/delete_server/builders.rs @@ -22,9 +22,9 @@ impl DeleteServerFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -80,6 +80,20 @@ impl DeleteServerFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::delete_server::DeleteServer, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                          The ID of the server to delete.

                                                                                                                                                                                                                                          pub fn server_name(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.server_name(input.into()); diff --git a/sdk/opsworkscm/src/operation/describe_account_attributes/builders.rs b/sdk/opsworkscm/src/operation/describe_account_attributes/builders.rs index b9df5a3e8258..306fdd0d971e 100644 --- a/sdk/opsworkscm/src/operation/describe_account_attributes/builders.rs +++ b/sdk/opsworkscm/src/operation/describe_account_attributes/builders.rs @@ -20,9 +20,9 @@ impl DescribeAccountAttributesFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -84,4 +84,20 @@ impl DescribeAccountAttributesFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::describe_account_attributes::DescribeAccountAttributes, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::describe_account_attributes::DescribeAccountAttributesError, + >, + > { + self.customize_middleware().await + } } diff --git a/sdk/opsworkscm/src/operation/describe_backups/builders.rs b/sdk/opsworkscm/src/operation/describe_backups/builders.rs index cca863c4f205..9cc5280406da 100644 --- a/sdk/opsworkscm/src/operation/describe_backups/builders.rs +++ b/sdk/opsworkscm/src/operation/describe_backups/builders.rs @@ -21,9 +21,9 @@ impl DescribeBackupsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -85,6 +85,22 @@ impl DescribeBackupsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::describe_backups::DescribeBackups, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::describe_backups::DescribeBackupsError, + >, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::describe_backups::paginator::DescribeBackupsPaginator::send) which returns a `Stream`. diff --git a/sdk/opsworkscm/src/operation/describe_events/builders.rs b/sdk/opsworkscm/src/operation/describe_events/builders.rs index 62ebdf3a934a..7310eb64fdce 100644 --- a/sdk/opsworkscm/src/operation/describe_events/builders.rs +++ b/sdk/opsworkscm/src/operation/describe_events/builders.rs @@ -21,9 +21,9 @@ impl DescribeEventsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -79,6 +79,20 @@ impl DescribeEventsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::describe_events::DescribeEvents, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::describe_events::paginator::DescribeEventsPaginator::send) which returns a `Stream`. diff --git a/sdk/opsworkscm/src/operation/describe_node_association_status/builders.rs b/sdk/opsworkscm/src/operation/describe_node_association_status/builders.rs index 0b28f4f7beb9..fb6be7ba115f 100644 --- a/sdk/opsworkscm/src/operation/describe_node_association_status/builders.rs +++ b/sdk/opsworkscm/src/operation/describe_node_association_status/builders.rs @@ -20,9 +20,9 @@ impl DescribeNodeAssociationStatusFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -84,6 +84,22 @@ impl DescribeNodeAssociationStatusFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::describe_node_association_status::DescribeNodeAssociationStatus, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::describe_node_association_status::DescribeNodeAssociationStatusError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                          The token returned in either the AssociateNodeResponse or the DisassociateNodeResponse.

                                                                                                                                                                                                                                          pub fn node_association_status_token( mut self, diff --git a/sdk/opsworkscm/src/operation/describe_servers/builders.rs b/sdk/opsworkscm/src/operation/describe_servers/builders.rs index 1b55b53ab52e..1148ba5618e9 100644 --- a/sdk/opsworkscm/src/operation/describe_servers/builders.rs +++ b/sdk/opsworkscm/src/operation/describe_servers/builders.rs @@ -21,9 +21,9 @@ impl DescribeServersFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -85,6 +85,22 @@ impl DescribeServersFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::describe_servers::DescribeServers, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::describe_servers::DescribeServersError, + >, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::describe_servers::paginator::DescribeServersPaginator::send) which returns a `Stream`. diff --git a/sdk/opsworkscm/src/operation/disassociate_node/builders.rs b/sdk/opsworkscm/src/operation/disassociate_node/builders.rs index 377a3cf95258..dc390f1a14a8 100644 --- a/sdk/opsworkscm/src/operation/disassociate_node/builders.rs +++ b/sdk/opsworkscm/src/operation/disassociate_node/builders.rs @@ -20,9 +20,9 @@ impl DisassociateNodeFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -84,6 +84,22 @@ impl DisassociateNodeFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::disassociate_node::DisassociateNode, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::disassociate_node::DisassociateNodeError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                          The name of the server from which to disassociate the node.

                                                                                                                                                                                                                                          pub fn server_name(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.server_name(input.into()); diff --git a/sdk/opsworkscm/src/operation/export_server_engine_attribute/builders.rs b/sdk/opsworkscm/src/operation/export_server_engine_attribute/builders.rs index 6b0a6b7d80e1..7958aa4a5c6e 100644 --- a/sdk/opsworkscm/src/operation/export_server_engine_attribute/builders.rs +++ b/sdk/opsworkscm/src/operation/export_server_engine_attribute/builders.rs @@ -21,9 +21,9 @@ impl ExportServerEngineAttributeFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -85,6 +85,22 @@ impl ExportServerEngineAttributeFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::export_server_engine_attribute::ExportServerEngineAttribute, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::export_server_engine_attribute::ExportServerEngineAttributeError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                          The name of the export attribute. Currently, the supported export attribute is Userdata. This exports a user data script that includes parameters and values provided in the InputAttributes list.

                                                                                                                                                                                                                                          pub fn export_attribute_name( mut self, diff --git a/sdk/opsworkscm/src/operation/list_tags_for_resource/builders.rs b/sdk/opsworkscm/src/operation/list_tags_for_resource/builders.rs index bd831e82ecb1..4f7639ff4e52 100644 --- a/sdk/opsworkscm/src/operation/list_tags_for_resource/builders.rs +++ b/sdk/opsworkscm/src/operation/list_tags_for_resource/builders.rs @@ -19,9 +19,9 @@ impl ListTagsForResourceFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl ListTagsForResourceFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_tags_for_resource::ListTagsForResource, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::list_tags_for_resource::ListTagsForResourceError, + >, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::list_tags_for_resource::paginator::ListTagsForResourcePaginator::send) which returns a `Stream`. diff --git a/sdk/opsworkscm/src/operation/restore_server/builders.rs b/sdk/opsworkscm/src/operation/restore_server/builders.rs index 7e780abe988e..41e853ecfbe3 100644 --- a/sdk/opsworkscm/src/operation/restore_server/builders.rs +++ b/sdk/opsworkscm/src/operation/restore_server/builders.rs @@ -22,9 +22,9 @@ impl RestoreServerFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -80,6 +80,20 @@ impl RestoreServerFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::restore_server::RestoreServer, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                          The ID of the backup that you want to use to restore a server.

                                                                                                                                                                                                                                          pub fn backup_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.backup_id(input.into()); diff --git a/sdk/opsworkscm/src/operation/start_maintenance/builders.rs b/sdk/opsworkscm/src/operation/start_maintenance/builders.rs index d00fb0e8f753..ef0c75c28229 100644 --- a/sdk/opsworkscm/src/operation/start_maintenance/builders.rs +++ b/sdk/opsworkscm/src/operation/start_maintenance/builders.rs @@ -20,9 +20,9 @@ impl StartMaintenanceFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -84,6 +84,22 @@ impl StartMaintenanceFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::start_maintenance::StartMaintenance, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::start_maintenance::StartMaintenanceError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                          The name of the server on which to run maintenance.

                                                                                                                                                                                                                                          pub fn server_name(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.server_name(input.into()); diff --git a/sdk/opsworkscm/src/operation/tag_resource/builders.rs b/sdk/opsworkscm/src/operation/tag_resource/builders.rs index 945719bd1079..91d88241e148 100644 --- a/sdk/opsworkscm/src/operation/tag_resource/builders.rs +++ b/sdk/opsworkscm/src/operation/tag_resource/builders.rs @@ -19,9 +19,9 @@ impl TagResourceFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl TagResourceFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::tag_resource::TagResource, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                          The Amazon Resource Number (ARN) of a resource to which you want to apply tags. For example, arn:aws:opsworks-cm:us-west-2:123456789012:server/test-owcm-server/EXAMPLE-66b0-4196-8274-d1a2bEXAMPLE.

                                                                                                                                                                                                                                          pub fn resource_arn(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.resource_arn(input.into()); diff --git a/sdk/opsworkscm/src/operation/untag_resource/builders.rs b/sdk/opsworkscm/src/operation/untag_resource/builders.rs index 53c25cbd7a0e..aab3123e753e 100644 --- a/sdk/opsworkscm/src/operation/untag_resource/builders.rs +++ b/sdk/opsworkscm/src/operation/untag_resource/builders.rs @@ -19,9 +19,9 @@ impl UntagResourceFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl UntagResourceFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::untag_resource::UntagResource, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                          The Amazon Resource Number (ARN) of a resource from which you want to remove tags. For example, arn:aws:opsworks-cm:us-west-2:123456789012:server/test-owcm-server/EXAMPLE-66b0-4196-8274-d1a2bEXAMPLE.

                                                                                                                                                                                                                                          pub fn resource_arn(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.resource_arn(input.into()); diff --git a/sdk/opsworkscm/src/operation/update_server/builders.rs b/sdk/opsworkscm/src/operation/update_server/builders.rs index c37d1c7d061f..cd2478b6dee7 100644 --- a/sdk/opsworkscm/src/operation/update_server/builders.rs +++ b/sdk/opsworkscm/src/operation/update_server/builders.rs @@ -20,9 +20,9 @@ impl UpdateServerFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -78,6 +78,20 @@ impl UpdateServerFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::update_server::UpdateServer, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                          Setting DisableAutomatedBackup to true disables automated or scheduled backups. Automated backups are enabled by default.

                                                                                                                                                                                                                                          pub fn disable_automated_backup(mut self, input: bool) -> Self { self.inner = self.inner.disable_automated_backup(input); diff --git a/sdk/opsworkscm/src/operation/update_server_engine_attributes/builders.rs b/sdk/opsworkscm/src/operation/update_server_engine_attributes/builders.rs index b8b2b9d1f036..e6bd995717de 100644 --- a/sdk/opsworkscm/src/operation/update_server_engine_attributes/builders.rs +++ b/sdk/opsworkscm/src/operation/update_server_engine_attributes/builders.rs @@ -21,9 +21,9 @@ impl UpdateServerEngineAttributesFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -85,6 +85,22 @@ impl UpdateServerEngineAttributesFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::update_server_engine_attributes::UpdateServerEngineAttributes, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::update_server_engine_attributes::UpdateServerEngineAttributesError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                          The name of the server to update.

                                                                                                                                                                                                                                          pub fn server_name(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.server_name(input.into()); diff --git a/sdk/organizations/src/operation/accept_handshake/builders.rs b/sdk/organizations/src/operation/accept_handshake/builders.rs index 975037cfa7cb..21095a630826 100644 --- a/sdk/organizations/src/operation/accept_handshake/builders.rs +++ b/sdk/organizations/src/operation/accept_handshake/builders.rs @@ -25,9 +25,9 @@ impl AcceptHandshakeFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -89,6 +89,22 @@ impl AcceptHandshakeFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::accept_handshake::AcceptHandshake, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::accept_handshake::AcceptHandshakeError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                          The unique identifier (ID) of the handshake that you want to accept.

                                                                                                                                                                                                                                          ///

                                                                                                                                                                                                                                          The regex pattern for handshake ID string requires "h-" followed by from 8 to 32 lowercase letters or digits.

                                                                                                                                                                                                                                          pub fn handshake_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { diff --git a/sdk/organizations/src/operation/attach_policy/builders.rs b/sdk/organizations/src/operation/attach_policy/builders.rs index eb39b9251900..82be1ab9b431 100644 --- a/sdk/organizations/src/operation/attach_policy/builders.rs +++ b/sdk/organizations/src/operation/attach_policy/builders.rs @@ -26,9 +26,9 @@ impl AttachPolicyFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -84,6 +84,20 @@ impl AttachPolicyFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::attach_policy::AttachPolicy, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                          The unique identifier (ID) of the policy that you want to attach to the target. You can get the ID for the policy by calling the ListPolicies operation.

                                                                                                                                                                                                                                          ///

                                                                                                                                                                                                                                          The regex pattern for a policy ID string requires "p-" followed by from 8 to 128 lowercase or uppercase letters, digits, or the underscore character (_).

                                                                                                                                                                                                                                          pub fn policy_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { diff --git a/sdk/organizations/src/operation/cancel_handshake/builders.rs b/sdk/organizations/src/operation/cancel_handshake/builders.rs index b0d1b5626808..1d8cba690d35 100644 --- a/sdk/organizations/src/operation/cancel_handshake/builders.rs +++ b/sdk/organizations/src/operation/cancel_handshake/builders.rs @@ -21,9 +21,9 @@ impl CancelHandshakeFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -85,6 +85,22 @@ impl CancelHandshakeFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::cancel_handshake::CancelHandshake, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::cancel_handshake::CancelHandshakeError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                          The unique identifier (ID) of the handshake that you want to cancel. You can get the ID from the ListHandshakesForOrganization operation.

                                                                                                                                                                                                                                          ///

                                                                                                                                                                                                                                          The regex pattern for handshake ID string requires "h-" followed by from 8 to 32 lowercase letters or digits.

                                                                                                                                                                                                                                          pub fn handshake_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { diff --git a/sdk/organizations/src/operation/close_account/builders.rs b/sdk/organizations/src/operation/close_account/builders.rs index e495c4019771..e8f75c253d1d 100644 --- a/sdk/organizations/src/operation/close_account/builders.rs +++ b/sdk/organizations/src/operation/close_account/builders.rs @@ -30,9 +30,9 @@ impl CloseAccountFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -88,6 +88,20 @@ impl CloseAccountFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::close_account::CloseAccount, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                          Retrieves the Amazon Web Services account Id for the current CloseAccount API request.

                                                                                                                                                                                                                                          pub fn account_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.account_id(input.into()); diff --git a/sdk/organizations/src/operation/create_account/builders.rs b/sdk/organizations/src/operation/create_account/builders.rs index 6353eb104447..a0f60b714a87 100644 --- a/sdk/organizations/src/operation/create_account/builders.rs +++ b/sdk/organizations/src/operation/create_account/builders.rs @@ -37,9 +37,9 @@ impl CreateAccountFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -95,6 +95,20 @@ impl CreateAccountFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::create_account::CreateAccount, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                          The email address of the owner to assign to the new member account. This email address must not already be associated with another Amazon Web Services account. You must use a valid email address to complete account creation.

                                                                                                                                                                                                                                          ///

                                                                                                                                                                                                                                          The rules for a valid email address:

                                                                                                                                                                                                                                          ///
                                                                                                                                                                                                                                            diff --git a/sdk/organizations/src/operation/create_gov_cloud_account/builders.rs b/sdk/organizations/src/operation/create_gov_cloud_account/builders.rs index 09f05f5970b0..8306ccf62571 100644 --- a/sdk/organizations/src/operation/create_gov_cloud_account/builders.rs +++ b/sdk/organizations/src/operation/create_gov_cloud_account/builders.rs @@ -51,9 +51,9 @@ impl CreateGovCloudAccountFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -115,6 +115,22 @@ impl CreateGovCloudAccountFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::create_gov_cloud_account::CreateGovCloudAccount, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::create_gov_cloud_account::CreateGovCloudAccountError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                            Specifies the email address of the owner to assign to the new member account in the commercial Region. This email address must not already be associated with another Amazon Web Services account. You must use a valid email address to complete account creation.

                                                                                                                                                                                                                                            ///

                                                                                                                                                                                                                                            The rules for a valid email address:

                                                                                                                                                                                                                                            ///
                                                                                                                                                                                                                                              diff --git a/sdk/organizations/src/operation/create_organization/builders.rs b/sdk/organizations/src/operation/create_organization/builders.rs index d69a256a44ea..1d441c09d718 100644 --- a/sdk/organizations/src/operation/create_organization/builders.rs +++ b/sdk/organizations/src/operation/create_organization/builders.rs @@ -21,9 +21,9 @@ impl CreateOrganizationFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -85,6 +85,22 @@ impl CreateOrganizationFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::create_organization::CreateOrganization, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::create_organization::CreateOrganizationError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                              Specifies the feature set supported by the new organization. Each feature set supports different levels of functionality.

                                                                                                                                                                                                                                              ///
                                                                                                                                                                                                                                                ///
                                                                                                                                                                                                                                              • CONSOLIDATED_BILLING: All member accounts have their bills consolidated to and paid by the management account. For more information, see Consolidated billing in the Organizations User Guide.

                                                                                                                                                                                                                                                The consolidated billing feature subset isn't available for organizations in the Amazon Web Services GovCloud (US) Region.

                                                                                                                                                                                                                                              • diff --git a/sdk/organizations/src/operation/create_organizational_unit/builders.rs b/sdk/organizations/src/operation/create_organizational_unit/builders.rs index 099de213c8d1..1fd74fc8e319 100644 --- a/sdk/organizations/src/operation/create_organizational_unit/builders.rs +++ b/sdk/organizations/src/operation/create_organizational_unit/builders.rs @@ -22,9 +22,9 @@ impl CreateOrganizationalUnitFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -86,6 +86,22 @@ impl CreateOrganizationalUnitFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::create_organizational_unit::CreateOrganizationalUnit, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::create_organizational_unit::CreateOrganizationalUnitError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                The unique identifier (ID) of the parent root or OU that you want to create the new OU in.

                                                                                                                                                                                                                                                ///

                                                                                                                                                                                                                                                The regex pattern for a parent ID string requires one of the following:

                                                                                                                                                                                                                                                ///
                                                                                                                                                                                                                                                  diff --git a/sdk/organizations/src/operation/create_policy/builders.rs b/sdk/organizations/src/operation/create_policy/builders.rs index 65b3acad258b..6f463303775e 100644 --- a/sdk/organizations/src/operation/create_policy/builders.rs +++ b/sdk/organizations/src/operation/create_policy/builders.rs @@ -22,9 +22,9 @@ impl CreatePolicyFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -80,6 +80,20 @@ impl CreatePolicyFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::create_policy::CreatePolicy, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                  The policy text content to add to the new policy. The text that you supply must adhere to the rules of the policy type you specify in the Type parameter.

                                                                                                                                                                                                                                                  pub fn content(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.content(input.into()); diff --git a/sdk/organizations/src/operation/decline_handshake/builders.rs b/sdk/organizations/src/operation/decline_handshake/builders.rs index c7c4dc7907d6..e454f63ce890 100644 --- a/sdk/organizations/src/operation/decline_handshake/builders.rs +++ b/sdk/organizations/src/operation/decline_handshake/builders.rs @@ -21,9 +21,9 @@ impl DeclineHandshakeFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -85,6 +85,22 @@ impl DeclineHandshakeFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::decline_handshake::DeclineHandshake, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::decline_handshake::DeclineHandshakeError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                  The unique identifier (ID) of the handshake that you want to decline. You can get the ID from the ListHandshakesForAccount operation.

                                                                                                                                                                                                                                                  ///

                                                                                                                                                                                                                                                  The regex pattern for handshake ID string requires "h-" followed by from 8 to 32 lowercase letters or digits.

                                                                                                                                                                                                                                                  pub fn handshake_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { diff --git a/sdk/organizations/src/operation/delete_organization/builders.rs b/sdk/organizations/src/operation/delete_organization/builders.rs index 963af022f7b1..bdadd8064e2e 100644 --- a/sdk/organizations/src/operation/delete_organization/builders.rs +++ b/sdk/organizations/src/operation/delete_organization/builders.rs @@ -19,9 +19,9 @@ impl DeleteOrganizationFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,4 +83,20 @@ impl DeleteOrganizationFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::delete_organization::DeleteOrganization, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::delete_organization::DeleteOrganizationError, + >, + > { + self.customize_middleware().await + } } diff --git a/sdk/organizations/src/operation/delete_organizational_unit/builders.rs b/sdk/organizations/src/operation/delete_organizational_unit/builders.rs index bb98fcb39b99..313176c5c46c 100644 --- a/sdk/organizations/src/operation/delete_organizational_unit/builders.rs +++ b/sdk/organizations/src/operation/delete_organizational_unit/builders.rs @@ -20,9 +20,9 @@ impl DeleteOrganizationalUnitFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -84,6 +84,22 @@ impl DeleteOrganizationalUnitFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::delete_organizational_unit::DeleteOrganizationalUnit, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::delete_organizational_unit::DeleteOrganizationalUnitError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                  The unique identifier (ID) of the organizational unit that you want to delete. You can get the ID from the ListOrganizationalUnitsForParent operation.

                                                                                                                                                                                                                                                  ///

                                                                                                                                                                                                                                                  The regex pattern for an organizational unit ID string requires "ou-" followed by from 4 to 32 lowercase letters or digits (the ID of the root that contains the OU). This string is followed by a second "-" dash and from 8 to 32 additional lowercase letters or digits.

                                                                                                                                                                                                                                                  pub fn organizational_unit_id( diff --git a/sdk/organizations/src/operation/delete_policy/builders.rs b/sdk/organizations/src/operation/delete_policy/builders.rs index 2a4ccbabeaf7..80d09a0b58a3 100644 --- a/sdk/organizations/src/operation/delete_policy/builders.rs +++ b/sdk/organizations/src/operation/delete_policy/builders.rs @@ -20,9 +20,9 @@ impl DeletePolicyFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -78,6 +78,20 @@ impl DeletePolicyFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::delete_policy::DeletePolicy, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                  The unique identifier (ID) of the policy that you want to delete. You can get the ID from the ListPolicies or ListPoliciesForTarget operations.

                                                                                                                                                                                                                                                  ///

                                                                                                                                                                                                                                                  The regex pattern for a policy ID string requires "p-" followed by from 8 to 128 lowercase or uppercase letters, digits, or the underscore character (_).

                                                                                                                                                                                                                                                  pub fn policy_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { diff --git a/sdk/organizations/src/operation/delete_resource_policy/builders.rs b/sdk/organizations/src/operation/delete_resource_policy/builders.rs index f212a592257c..1f93ffc02eff 100644 --- a/sdk/organizations/src/operation/delete_resource_policy/builders.rs +++ b/sdk/organizations/src/operation/delete_resource_policy/builders.rs @@ -20,9 +20,9 @@ impl DeleteResourcePolicyFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -84,4 +84,20 @@ impl DeleteResourcePolicyFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::delete_resource_policy::DeleteResourcePolicy, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::delete_resource_policy::DeleteResourcePolicyError, + >, + > { + self.customize_middleware().await + } } diff --git a/sdk/organizations/src/operation/deregister_delegated_administrator/builders.rs b/sdk/organizations/src/operation/deregister_delegated_administrator/builders.rs index 0ee3340bfc63..2c428b7f31a1 100644 --- a/sdk/organizations/src/operation/deregister_delegated_administrator/builders.rs +++ b/sdk/organizations/src/operation/deregister_delegated_administrator/builders.rs @@ -23,9 +23,9 @@ impl DeregisterDelegatedAdministratorFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize(self) -> ::std::result::Result< + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware(self) -> ::std::result::Result< crate::client::customize::CustomizableOperation, ::aws_smithy_http::result::SdkError >{ @@ -68,6 +68,15 @@ impl DeregisterDelegatedAdministratorFluentBuilder { { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize(self) -> ::std::result::Result< + crate::client::customize::CustomizableOperation, + ::aws_smithy_http::result::SdkError + >{ + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                  The account ID number of the member account in the organization that you want to deregister as a delegated administrator.

                                                                                                                                                                                                                                                  pub fn account_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.account_id(input.into()); diff --git a/sdk/organizations/src/operation/describe_account/builders.rs b/sdk/organizations/src/operation/describe_account/builders.rs index 7e2baa2054bc..82500f172544 100644 --- a/sdk/organizations/src/operation/describe_account/builders.rs +++ b/sdk/organizations/src/operation/describe_account/builders.rs @@ -20,9 +20,9 @@ impl DescribeAccountFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -84,6 +84,22 @@ impl DescribeAccountFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::describe_account::DescribeAccount, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::describe_account::DescribeAccountError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                  The unique identifier (ID) of the Amazon Web Services account that you want information about. You can get the ID from the ListAccounts or ListAccountsForParent operations.

                                                                                                                                                                                                                                                  ///

                                                                                                                                                                                                                                                  The regex pattern for an account ID string requires exactly 12 digits.

                                                                                                                                                                                                                                                  pub fn account_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { diff --git a/sdk/organizations/src/operation/describe_create_account_status/builders.rs b/sdk/organizations/src/operation/describe_create_account_status/builders.rs index ab59c36061e3..1937de8247c3 100644 --- a/sdk/organizations/src/operation/describe_create_account_status/builders.rs +++ b/sdk/organizations/src/operation/describe_create_account_status/builders.rs @@ -20,9 +20,9 @@ impl DescribeCreateAccountStatusFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -84,6 +84,22 @@ impl DescribeCreateAccountStatusFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::describe_create_account_status::DescribeCreateAccountStatus, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::describe_create_account_status::DescribeCreateAccountStatusError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                  Specifies the Id value that uniquely identifies the CreateAccount request. You can get the value from the CreateAccountStatus.Id response in an earlier CreateAccount request, or from the ListCreateAccountStatus operation.

                                                                                                                                                                                                                                                  ///

                                                                                                                                                                                                                                                  The regex pattern for a create account request ID string requires "car-" followed by from 8 to 32 lowercase letters or digits.

                                                                                                                                                                                                                                                  pub fn create_account_request_id( diff --git a/sdk/organizations/src/operation/describe_effective_policy/builders.rs b/sdk/organizations/src/operation/describe_effective_policy/builders.rs index 0f4dbd3b80eb..579f3d54d48d 100644 --- a/sdk/organizations/src/operation/describe_effective_policy/builders.rs +++ b/sdk/organizations/src/operation/describe_effective_policy/builders.rs @@ -23,9 +23,9 @@ impl DescribeEffectivePolicyFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -87,6 +87,22 @@ impl DescribeEffectivePolicyFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::describe_effective_policy::DescribeEffectivePolicy, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::describe_effective_policy::DescribeEffectivePolicyError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                  The type of policy that you want information about. You can specify one of the following values:

                                                                                                                                                                                                                                                  ///
                                                                                                                                                                                                                                                    ///
                                                                                                                                                                                                                                                  • AISERVICES_OPT_OUT_POLICY

                                                                                                                                                                                                                                                  • diff --git a/sdk/organizations/src/operation/describe_handshake/builders.rs b/sdk/organizations/src/operation/describe_handshake/builders.rs index 16a6368efb9e..99c1792c4464 100644 --- a/sdk/organizations/src/operation/describe_handshake/builders.rs +++ b/sdk/organizations/src/operation/describe_handshake/builders.rs @@ -21,9 +21,9 @@ impl DescribeHandshakeFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -85,6 +85,22 @@ impl DescribeHandshakeFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::describe_handshake::DescribeHandshake, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::describe_handshake::DescribeHandshakeError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                    The unique identifier (ID) of the handshake that you want information about. You can get the ID from the original call to InviteAccountToOrganization, or from a call to ListHandshakesForAccount or ListHandshakesForOrganization.

                                                                                                                                                                                                                                                    ///

                                                                                                                                                                                                                                                    The regex pattern for handshake ID string requires "h-" followed by from 8 to 32 lowercase letters or digits.

                                                                                                                                                                                                                                                    pub fn handshake_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { diff --git a/sdk/organizations/src/operation/describe_organization/builders.rs b/sdk/organizations/src/operation/describe_organization/builders.rs index e2e0f4f247df..eb431ade9666 100644 --- a/sdk/organizations/src/operation/describe_organization/builders.rs +++ b/sdk/organizations/src/operation/describe_organization/builders.rs @@ -22,9 +22,9 @@ impl DescribeOrganizationFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -86,4 +86,20 @@ impl DescribeOrganizationFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::describe_organization::DescribeOrganization, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::describe_organization::DescribeOrganizationError, + >, + > { + self.customize_middleware().await + } } diff --git a/sdk/organizations/src/operation/describe_organizational_unit/builders.rs b/sdk/organizations/src/operation/describe_organizational_unit/builders.rs index ae7b56688e41..01c5abed9881 100644 --- a/sdk/organizations/src/operation/describe_organizational_unit/builders.rs +++ b/sdk/organizations/src/operation/describe_organizational_unit/builders.rs @@ -20,9 +20,9 @@ impl DescribeOrganizationalUnitFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -84,6 +84,22 @@ impl DescribeOrganizationalUnitFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::describe_organizational_unit::DescribeOrganizationalUnit, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::describe_organizational_unit::DescribeOrganizationalUnitError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                    The unique identifier (ID) of the organizational unit that you want details about. You can get the ID from the ListOrganizationalUnitsForParent operation.

                                                                                                                                                                                                                                                    ///

                                                                                                                                                                                                                                                    The regex pattern for an organizational unit ID string requires "ou-" followed by from 4 to 32 lowercase letters or digits (the ID of the root that contains the OU). This string is followed by a second "-" dash and from 8 to 32 additional lowercase letters or digits.

                                                                                                                                                                                                                                                    pub fn organizational_unit_id( diff --git a/sdk/organizations/src/operation/describe_policy/builders.rs b/sdk/organizations/src/operation/describe_policy/builders.rs index d2fb0ae864ee..d4f7aa8246d6 100644 --- a/sdk/organizations/src/operation/describe_policy/builders.rs +++ b/sdk/organizations/src/operation/describe_policy/builders.rs @@ -20,9 +20,9 @@ impl DescribePolicyFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -78,6 +78,20 @@ impl DescribePolicyFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::describe_policy::DescribePolicy, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                    The unique identifier (ID) of the policy that you want details about. You can get the ID from the ListPolicies or ListPoliciesForTarget operations.

                                                                                                                                                                                                                                                    ///

                                                                                                                                                                                                                                                    The regex pattern for a policy ID string requires "p-" followed by from 8 to 128 lowercase or uppercase letters, digits, or the underscore character (_).

                                                                                                                                                                                                                                                    pub fn policy_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { diff --git a/sdk/organizations/src/operation/describe_resource_policy/builders.rs b/sdk/organizations/src/operation/describe_resource_policy/builders.rs index e9ff95dc9dc4..7f19b9924923 100644 --- a/sdk/organizations/src/operation/describe_resource_policy/builders.rs +++ b/sdk/organizations/src/operation/describe_resource_policy/builders.rs @@ -20,9 +20,9 @@ impl DescribeResourcePolicyFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -84,4 +84,20 @@ impl DescribeResourcePolicyFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::describe_resource_policy::DescribeResourcePolicy, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::describe_resource_policy::DescribeResourcePolicyError, + >, + > { + self.customize_middleware().await + } } diff --git a/sdk/organizations/src/operation/detach_policy/builders.rs b/sdk/organizations/src/operation/detach_policy/builders.rs index 77556918271a..7ffaf0b04f4a 100644 --- a/sdk/organizations/src/operation/detach_policy/builders.rs +++ b/sdk/organizations/src/operation/detach_policy/builders.rs @@ -23,9 +23,9 @@ impl DetachPolicyFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -81,6 +81,20 @@ impl DetachPolicyFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::detach_policy::DetachPolicy, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                    The unique identifier (ID) of the policy you want to detach. You can get the ID from the ListPolicies or ListPoliciesForTarget operations.

                                                                                                                                                                                                                                                    ///

                                                                                                                                                                                                                                                    The regex pattern for a policy ID string requires "p-" followed by from 8 to 128 lowercase or uppercase letters, digits, or the underscore character (_).

                                                                                                                                                                                                                                                    pub fn policy_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { diff --git a/sdk/organizations/src/operation/disable_aws_service_access/builders.rs b/sdk/organizations/src/operation/disable_aws_service_access/builders.rs index 35a3e12a4065..91bd9821ff88 100644 --- a/sdk/organizations/src/operation/disable_aws_service_access/builders.rs +++ b/sdk/organizations/src/operation/disable_aws_service_access/builders.rs @@ -33,9 +33,9 @@ impl DisableAWSServiceAccessFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -97,6 +97,22 @@ impl DisableAWSServiceAccessFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::disable_aws_service_access::DisableAWSServiceAccess, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::disable_aws_service_access::DisableAWSServiceAccessError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                    The service principal name of the Amazon Web Services service for which you want to disable integration with your organization. This is typically in the form of a URL, such as service-abbreviation.amazonaws.com.

                                                                                                                                                                                                                                                    pub fn service_principal( mut self, diff --git a/sdk/organizations/src/operation/disable_policy_type/builders.rs b/sdk/organizations/src/operation/disable_policy_type/builders.rs index 9d6115cab6d3..ce0ab29cbb04 100644 --- a/sdk/organizations/src/operation/disable_policy_type/builders.rs +++ b/sdk/organizations/src/operation/disable_policy_type/builders.rs @@ -22,9 +22,9 @@ impl DisablePolicyTypeFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -86,6 +86,22 @@ impl DisablePolicyTypeFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::disable_policy_type::DisablePolicyType, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::disable_policy_type::DisablePolicyTypeError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                    The unique identifier (ID) of the root in which you want to disable a policy type. You can get the ID from the ListRoots operation.

                                                                                                                                                                                                                                                    ///

                                                                                                                                                                                                                                                    The regex pattern for a root ID string requires "r-" followed by from 4 to 32 lowercase letters or digits.

                                                                                                                                                                                                                                                    pub fn root_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { diff --git a/sdk/organizations/src/operation/enable_all_features/builders.rs b/sdk/organizations/src/operation/enable_all_features/builders.rs index b5b2d81997da..0e8d40965579 100644 --- a/sdk/organizations/src/operation/enable_all_features/builders.rs +++ b/sdk/organizations/src/operation/enable_all_features/builders.rs @@ -25,9 +25,9 @@ impl EnableAllFeaturesFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -89,4 +89,20 @@ impl EnableAllFeaturesFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::enable_all_features::EnableAllFeatures, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::enable_all_features::EnableAllFeaturesError, + >, + > { + self.customize_middleware().await + } } diff --git a/sdk/organizations/src/operation/enable_aws_service_access/builders.rs b/sdk/organizations/src/operation/enable_aws_service_access/builders.rs index f93ba451522c..03e9f101c847 100644 --- a/sdk/organizations/src/operation/enable_aws_service_access/builders.rs +++ b/sdk/organizations/src/operation/enable_aws_service_access/builders.rs @@ -24,9 +24,9 @@ impl EnableAWSServiceAccessFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -88,6 +88,22 @@ impl EnableAWSServiceAccessFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::enable_aws_service_access::EnableAWSServiceAccess, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::enable_aws_service_access::EnableAWSServiceAccessError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                    The service principal name of the Amazon Web Services service for which you want to enable integration with your organization. This is typically in the form of a URL, such as service-abbreviation.amazonaws.com.

                                                                                                                                                                                                                                                    pub fn service_principal( mut self, diff --git a/sdk/organizations/src/operation/enable_policy_type/builders.rs b/sdk/organizations/src/operation/enable_policy_type/builders.rs index f9fd7f1d5c9f..ea285e565847 100644 --- a/sdk/organizations/src/operation/enable_policy_type/builders.rs +++ b/sdk/organizations/src/operation/enable_policy_type/builders.rs @@ -22,9 +22,9 @@ impl EnablePolicyTypeFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -86,6 +86,22 @@ impl EnablePolicyTypeFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::enable_policy_type::EnablePolicyType, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::enable_policy_type::EnablePolicyTypeError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                    The unique identifier (ID) of the root in which you want to enable a policy type. You can get the ID from the ListRoots operation.

                                                                                                                                                                                                                                                    ///

                                                                                                                                                                                                                                                    The regex pattern for a root ID string requires "r-" followed by from 4 to 32 lowercase letters or digits.

                                                                                                                                                                                                                                                    pub fn root_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { diff --git a/sdk/organizations/src/operation/invite_account_to_organization/builders.rs b/sdk/organizations/src/operation/invite_account_to_organization/builders.rs index 8cf2ba9a4497..a121535924f6 100644 --- a/sdk/organizations/src/operation/invite_account_to_organization/builders.rs +++ b/sdk/organizations/src/operation/invite_account_to_organization/builders.rs @@ -26,9 +26,9 @@ impl InviteAccountToOrganizationFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -90,6 +90,22 @@ impl InviteAccountToOrganizationFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::invite_account_to_organization::InviteAccountToOrganization, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::invite_account_to_organization::InviteAccountToOrganizationError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                    The identifier (ID) of the Amazon Web Services account that you want to invite to join your organization. This is a JSON object that contains the following elements:

                                                                                                                                                                                                                                                    ///

                                                                                                                                                                                                                                                    { "Type": "ACCOUNT", "Id": "< account id number >" }

                                                                                                                                                                                                                                                    ///

                                                                                                                                                                                                                                                    If you use the CLI, you can submit this as a single string, similar to the following example:

                                                                                                                                                                                                                                                    diff --git a/sdk/organizations/src/operation/leave_organization/builders.rs b/sdk/organizations/src/operation/leave_organization/builders.rs index a7c21732c2e3..2930cf3f8dbe 100644 --- a/sdk/organizations/src/operation/leave_organization/builders.rs +++ b/sdk/organizations/src/operation/leave_organization/builders.rs @@ -34,9 +34,9 @@ impl LeaveOrganizationFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -98,4 +98,20 @@ impl LeaveOrganizationFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::leave_organization::LeaveOrganization, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::leave_organization::LeaveOrganizationError, + >, + > { + self.customize_middleware().await + } } diff --git a/sdk/organizations/src/operation/list_accounts/builders.rs b/sdk/organizations/src/operation/list_accounts/builders.rs index 4d13a5bf167d..255056b81a9f 100644 --- a/sdk/organizations/src/operation/list_accounts/builders.rs +++ b/sdk/organizations/src/operation/list_accounts/builders.rs @@ -22,9 +22,9 @@ impl ListAccountsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -80,6 +80,20 @@ impl ListAccountsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_accounts::ListAccounts, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::list_accounts::paginator::ListAccountsPaginator::send) which returns a `Stream`. diff --git a/sdk/organizations/src/operation/list_accounts_for_parent/builders.rs b/sdk/organizations/src/operation/list_accounts_for_parent/builders.rs index 91e9f9a64607..a794422d6c7d 100644 --- a/sdk/organizations/src/operation/list_accounts_for_parent/builders.rs +++ b/sdk/organizations/src/operation/list_accounts_for_parent/builders.rs @@ -22,9 +22,9 @@ impl ListAccountsForParentFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -86,6 +86,22 @@ impl ListAccountsForParentFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_accounts_for_parent::ListAccountsForParent, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::list_accounts_for_parent::ListAccountsForParentError, + >, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::list_accounts_for_parent::paginator::ListAccountsForParentPaginator::send) which returns a `Stream`. diff --git a/sdk/organizations/src/operation/list_aws_service_access_for_organization/builders.rs b/sdk/organizations/src/operation/list_aws_service_access_for_organization/builders.rs index b6db7bc11b84..9c4a8e0c0590 100644 --- a/sdk/organizations/src/operation/list_aws_service_access_for_organization/builders.rs +++ b/sdk/organizations/src/operation/list_aws_service_access_for_organization/builders.rs @@ -21,9 +21,9 @@ impl ListAWSServiceAccessForOrganizationFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize(self) -> ::std::result::Result< + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware(self) -> ::std::result::Result< crate::client::customize::CustomizableOperation, ::aws_smithy_http::result::SdkError >{ @@ -66,6 +66,15 @@ impl ListAWSServiceAccessForOrganizationFluentBuilder { { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize(self) -> ::std::result::Result< + crate::client::customize::CustomizableOperation, + ::aws_smithy_http::result::SdkError + >{ + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::list_aws_service_access_for_organization::paginator::ListAwsServiceAccessForOrganizationPaginator::send) which returns a `Stream`. diff --git a/sdk/organizations/src/operation/list_children/builders.rs b/sdk/organizations/src/operation/list_children/builders.rs index a5cecdf4da47..7870910a7250 100644 --- a/sdk/organizations/src/operation/list_children/builders.rs +++ b/sdk/organizations/src/operation/list_children/builders.rs @@ -22,9 +22,9 @@ impl ListChildrenFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -80,6 +80,20 @@ impl ListChildrenFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_children::ListChildren, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::list_children::paginator::ListChildrenPaginator::send) which returns a `Stream`. diff --git a/sdk/organizations/src/operation/list_create_account_status/builders.rs b/sdk/organizations/src/operation/list_create_account_status/builders.rs index c7ce6376fc6d..ade807567e21 100644 --- a/sdk/organizations/src/operation/list_create_account_status/builders.rs +++ b/sdk/organizations/src/operation/list_create_account_status/builders.rs @@ -23,9 +23,9 @@ impl ListCreateAccountStatusFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -87,6 +87,22 @@ impl ListCreateAccountStatusFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_create_account_status::ListCreateAccountStatus, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::list_create_account_status::ListCreateAccountStatusError, + >, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::list_create_account_status::paginator::ListCreateAccountStatusPaginator::send) which returns a `Stream`. diff --git a/sdk/organizations/src/operation/list_delegated_administrators/builders.rs b/sdk/organizations/src/operation/list_delegated_administrators/builders.rs index fd7777f6ed75..693b5e17d7cf 100644 --- a/sdk/organizations/src/operation/list_delegated_administrators/builders.rs +++ b/sdk/organizations/src/operation/list_delegated_administrators/builders.rs @@ -20,9 +20,9 @@ impl ListDelegatedAdministratorsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -84,6 +84,22 @@ impl ListDelegatedAdministratorsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_delegated_administrators::ListDelegatedAdministrators, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::list_delegated_administrators::ListDelegatedAdministratorsError, + >, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::list_delegated_administrators::paginator::ListDelegatedAdministratorsPaginator::send) which returns a `Stream`. diff --git a/sdk/organizations/src/operation/list_delegated_services_for_account/builders.rs b/sdk/organizations/src/operation/list_delegated_services_for_account/builders.rs index 1ccc02d33053..a3813d27704b 100644 --- a/sdk/organizations/src/operation/list_delegated_services_for_account/builders.rs +++ b/sdk/organizations/src/operation/list_delegated_services_for_account/builders.rs @@ -20,9 +20,9 @@ impl ListDelegatedServicesForAccountFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize(self) -> ::std::result::Result< + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware(self) -> ::std::result::Result< crate::client::customize::CustomizableOperation, ::aws_smithy_http::result::SdkError >{ @@ -65,6 +65,15 @@ impl ListDelegatedServicesForAccountFluentBuilder { { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize(self) -> ::std::result::Result< + crate::client::customize::CustomizableOperation, + ::aws_smithy_http::result::SdkError + >{ + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::list_delegated_services_for_account::paginator::ListDelegatedServicesForAccountPaginator::send) which returns a `Stream`. diff --git a/sdk/organizations/src/operation/list_handshakes_for_account/builders.rs b/sdk/organizations/src/operation/list_handshakes_for_account/builders.rs index 482ea3cd844a..52704400f82d 100644 --- a/sdk/organizations/src/operation/list_handshakes_for_account/builders.rs +++ b/sdk/organizations/src/operation/list_handshakes_for_account/builders.rs @@ -23,9 +23,9 @@ impl ListHandshakesForAccountFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -87,6 +87,22 @@ impl ListHandshakesForAccountFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_handshakes_for_account::ListHandshakesForAccount, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::list_handshakes_for_account::ListHandshakesForAccountError, + >, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::list_handshakes_for_account::paginator::ListHandshakesForAccountPaginator::send) which returns a `Stream`. diff --git a/sdk/organizations/src/operation/list_handshakes_for_organization/builders.rs b/sdk/organizations/src/operation/list_handshakes_for_organization/builders.rs index d6d231ec7ba6..8195c4977fa4 100644 --- a/sdk/organizations/src/operation/list_handshakes_for_organization/builders.rs +++ b/sdk/organizations/src/operation/list_handshakes_for_organization/builders.rs @@ -23,9 +23,9 @@ impl ListHandshakesForOrganizationFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -87,6 +87,22 @@ impl ListHandshakesForOrganizationFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_handshakes_for_organization::ListHandshakesForOrganization, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::list_handshakes_for_organization::ListHandshakesForOrganizationError, + >, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::list_handshakes_for_organization::paginator::ListHandshakesForOrganizationPaginator::send) which returns a `Stream`. diff --git a/sdk/organizations/src/operation/list_organizational_units_for_parent/builders.rs b/sdk/organizations/src/operation/list_organizational_units_for_parent/builders.rs index 847998266e83..0ae42e59eed2 100644 --- a/sdk/organizations/src/operation/list_organizational_units_for_parent/builders.rs +++ b/sdk/organizations/src/operation/list_organizational_units_for_parent/builders.rs @@ -22,9 +22,9 @@ impl ListOrganizationalUnitsForParentFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize(self) -> ::std::result::Result< + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware(self) -> ::std::result::Result< crate::client::customize::CustomizableOperation, ::aws_smithy_http::result::SdkError >{ @@ -67,6 +67,15 @@ impl ListOrganizationalUnitsForParentFluentBuilder { { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize(self) -> ::std::result::Result< + crate::client::customize::CustomizableOperation, + ::aws_smithy_http::result::SdkError + >{ + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::list_organizational_units_for_parent::paginator::ListOrganizationalUnitsForParentPaginator::send) which returns a `Stream`. diff --git a/sdk/organizations/src/operation/list_parents/builders.rs b/sdk/organizations/src/operation/list_parents/builders.rs index 21c3e8fdb762..1fddafd00a0d 100644 --- a/sdk/organizations/src/operation/list_parents/builders.rs +++ b/sdk/organizations/src/operation/list_parents/builders.rs @@ -24,9 +24,9 @@ impl ListParentsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -82,6 +82,20 @@ impl ListParentsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_parents::ListParents, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::list_parents::paginator::ListParentsPaginator::send) which returns a `Stream`. diff --git a/sdk/organizations/src/operation/list_policies/builders.rs b/sdk/organizations/src/operation/list_policies/builders.rs index 70b68e3ca0a1..914b992d05f1 100644 --- a/sdk/organizations/src/operation/list_policies/builders.rs +++ b/sdk/organizations/src/operation/list_policies/builders.rs @@ -22,9 +22,9 @@ impl ListPoliciesFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -80,6 +80,20 @@ impl ListPoliciesFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_policies::ListPolicies, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::list_policies::paginator::ListPoliciesPaginator::send) which returns a `Stream`. diff --git a/sdk/organizations/src/operation/list_policies_for_target/builders.rs b/sdk/organizations/src/operation/list_policies_for_target/builders.rs index 2efea82161ff..085e3825378f 100644 --- a/sdk/organizations/src/operation/list_policies_for_target/builders.rs +++ b/sdk/organizations/src/operation/list_policies_for_target/builders.rs @@ -22,9 +22,9 @@ impl ListPoliciesForTargetFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -86,6 +86,22 @@ impl ListPoliciesForTargetFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_policies_for_target::ListPoliciesForTarget, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::list_policies_for_target::ListPoliciesForTargetError, + >, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::list_policies_for_target::paginator::ListPoliciesForTargetPaginator::send) which returns a `Stream`. diff --git a/sdk/organizations/src/operation/list_roots/builders.rs b/sdk/organizations/src/operation/list_roots/builders.rs index 097c2e759ab6..853837344d89 100644 --- a/sdk/organizations/src/operation/list_roots/builders.rs +++ b/sdk/organizations/src/operation/list_roots/builders.rs @@ -24,9 +24,9 @@ impl ListRootsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -82,6 +82,20 @@ impl ListRootsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_roots::ListRoots, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::list_roots::paginator::ListRootsPaginator::send) which returns a `Stream`. diff --git a/sdk/organizations/src/operation/list_tags_for_resource/builders.rs b/sdk/organizations/src/operation/list_tags_for_resource/builders.rs index 1b5354e91800..7057d28bfcf7 100644 --- a/sdk/organizations/src/operation/list_tags_for_resource/builders.rs +++ b/sdk/organizations/src/operation/list_tags_for_resource/builders.rs @@ -27,9 +27,9 @@ impl ListTagsForResourceFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -91,6 +91,22 @@ impl ListTagsForResourceFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_tags_for_resource::ListTagsForResource, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::list_tags_for_resource::ListTagsForResourceError, + >, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::list_tags_for_resource::paginator::ListTagsForResourcePaginator::send) which returns a `Stream`. diff --git a/sdk/organizations/src/operation/list_targets_for_policy/builders.rs b/sdk/organizations/src/operation/list_targets_for_policy/builders.rs index 02bdeb974bf5..e34e63e0ac59 100644 --- a/sdk/organizations/src/operation/list_targets_for_policy/builders.rs +++ b/sdk/organizations/src/operation/list_targets_for_policy/builders.rs @@ -22,9 +22,9 @@ impl ListTargetsForPolicyFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -86,6 +86,22 @@ impl ListTargetsForPolicyFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_targets_for_policy::ListTargetsForPolicy, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::list_targets_for_policy::ListTargetsForPolicyError, + >, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::list_targets_for_policy::paginator::ListTargetsForPolicyPaginator::send) which returns a `Stream`. diff --git a/sdk/organizations/src/operation/move_account/builders.rs b/sdk/organizations/src/operation/move_account/builders.rs index a30e15322ed7..2f5bf66e7a63 100644 --- a/sdk/organizations/src/operation/move_account/builders.rs +++ b/sdk/organizations/src/operation/move_account/builders.rs @@ -20,9 +20,9 @@ impl MoveAccountFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -78,6 +78,20 @@ impl MoveAccountFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::move_account::MoveAccount, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                    The unique identifier (ID) of the account that you want to move.

                                                                                                                                                                                                                                                    ///

                                                                                                                                                                                                                                                    The regex pattern for an account ID string requires exactly 12 digits.

                                                                                                                                                                                                                                                    pub fn account_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { diff --git a/sdk/organizations/src/operation/put_resource_policy/builders.rs b/sdk/organizations/src/operation/put_resource_policy/builders.rs index 7353fb81c404..518c1c10b9d2 100644 --- a/sdk/organizations/src/operation/put_resource_policy/builders.rs +++ b/sdk/organizations/src/operation/put_resource_policy/builders.rs @@ -20,9 +20,9 @@ impl PutResourcePolicyFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -84,6 +84,22 @@ impl PutResourcePolicyFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::put_resource_policy::PutResourcePolicy, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::put_resource_policy::PutResourcePolicyError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                    If provided, the new content for the resource policy. The text must be correctly formatted JSON that complies with the syntax for the resource policy's type. For more information, see Service Control Policy Syntax in the Organizations User Guide.

                                                                                                                                                                                                                                                    pub fn content(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.content(input.into()); diff --git a/sdk/organizations/src/operation/register_delegated_administrator/builders.rs b/sdk/organizations/src/operation/register_delegated_administrator/builders.rs index a33490969ec1..ee6c896ddcab 100644 --- a/sdk/organizations/src/operation/register_delegated_administrator/builders.rs +++ b/sdk/organizations/src/operation/register_delegated_administrator/builders.rs @@ -21,9 +21,9 @@ impl RegisterDelegatedAdministratorFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -85,6 +85,22 @@ impl RegisterDelegatedAdministratorFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::register_delegated_administrator::RegisterDelegatedAdministrator, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::register_delegated_administrator::RegisterDelegatedAdministratorError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                    The account ID number of the member account in the organization to register as a delegated administrator.

                                                                                                                                                                                                                                                    pub fn account_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.account_id(input.into()); diff --git a/sdk/organizations/src/operation/remove_account_from_organization/builders.rs b/sdk/organizations/src/operation/remove_account_from_organization/builders.rs index 9f1acbf6ecc2..afc6075daed6 100644 --- a/sdk/organizations/src/operation/remove_account_from_organization/builders.rs +++ b/sdk/organizations/src/operation/remove_account_from_organization/builders.rs @@ -27,9 +27,9 @@ impl RemoveAccountFromOrganizationFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -91,6 +91,22 @@ impl RemoveAccountFromOrganizationFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::remove_account_from_organization::RemoveAccountFromOrganization, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::remove_account_from_organization::RemoveAccountFromOrganizationError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                    The unique identifier (ID) of the member account that you want to remove from the organization.

                                                                                                                                                                                                                                                    ///

                                                                                                                                                                                                                                                    The regex pattern for an account ID string requires exactly 12 digits.

                                                                                                                                                                                                                                                    pub fn account_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { diff --git a/sdk/organizations/src/operation/tag_resource/builders.rs b/sdk/organizations/src/operation/tag_resource/builders.rs index fad236aedd45..60c209cfc672 100644 --- a/sdk/organizations/src/operation/tag_resource/builders.rs +++ b/sdk/organizations/src/operation/tag_resource/builders.rs @@ -27,9 +27,9 @@ impl TagResourceFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -85,6 +85,20 @@ impl TagResourceFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::tag_resource::TagResource, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                    The ID of the resource to add a tag to.

                                                                                                                                                                                                                                                    ///

                                                                                                                                                                                                                                                    You can specify any of the following taggable resources.

                                                                                                                                                                                                                                                    ///
                                                                                                                                                                                                                                                      diff --git a/sdk/organizations/src/operation/untag_resource/builders.rs b/sdk/organizations/src/operation/untag_resource/builders.rs index 3d353e599d54..b44a043bd633 100644 --- a/sdk/organizations/src/operation/untag_resource/builders.rs +++ b/sdk/organizations/src/operation/untag_resource/builders.rs @@ -27,9 +27,9 @@ impl UntagResourceFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -85,6 +85,20 @@ impl UntagResourceFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::untag_resource::UntagResource, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                      The ID of the resource to remove a tag from.

                                                                                                                                                                                                                                                      ///

                                                                                                                                                                                                                                                      You can specify any of the following taggable resources.

                                                                                                                                                                                                                                                      ///
                                                                                                                                                                                                                                                        diff --git a/sdk/organizations/src/operation/update_organizational_unit/builders.rs b/sdk/organizations/src/operation/update_organizational_unit/builders.rs index bddc02718026..a0b1e90becbd 100644 --- a/sdk/organizations/src/operation/update_organizational_unit/builders.rs +++ b/sdk/organizations/src/operation/update_organizational_unit/builders.rs @@ -20,9 +20,9 @@ impl UpdateOrganizationalUnitFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -84,6 +84,22 @@ impl UpdateOrganizationalUnitFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::update_organizational_unit::UpdateOrganizationalUnit, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::update_organizational_unit::UpdateOrganizationalUnitError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                        The unique identifier (ID) of the OU that you want to rename. You can get the ID from the ListOrganizationalUnitsForParent operation.

                                                                                                                                                                                                                                                        ///

                                                                                                                                                                                                                                                        The regex pattern for an organizational unit ID string requires "ou-" followed by from 4 to 32 lowercase letters or digits (the ID of the root that contains the OU). This string is followed by a second "-" dash and from 8 to 32 additional lowercase letters or digits.

                                                                                                                                                                                                                                                        pub fn organizational_unit_id( diff --git a/sdk/organizations/src/operation/update_policy/builders.rs b/sdk/organizations/src/operation/update_policy/builders.rs index ce6566862fc2..c207de31a7c5 100644 --- a/sdk/organizations/src/operation/update_policy/builders.rs +++ b/sdk/organizations/src/operation/update_policy/builders.rs @@ -20,9 +20,9 @@ impl UpdatePolicyFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -78,6 +78,20 @@ impl UpdatePolicyFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::update_policy::UpdatePolicy, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                        The unique identifier (ID) of the policy that you want to update.

                                                                                                                                                                                                                                                        ///

                                                                                                                                                                                                                                                        The regex pattern for a policy ID string requires "p-" followed by from 8 to 128 lowercase or uppercase letters, digits, or the underscore character (_).

                                                                                                                                                                                                                                                        pub fn policy_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { diff --git a/sdk/osis/src/operation/create_pipeline/builders.rs b/sdk/osis/src/operation/create_pipeline/builders.rs index b5e8af53db70..2b3f8d735833 100644 --- a/sdk/osis/src/operation/create_pipeline/builders.rs +++ b/sdk/osis/src/operation/create_pipeline/builders.rs @@ -19,9 +19,9 @@ impl CreatePipelineFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl CreatePipelineFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::create_pipeline::CreatePipeline, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                        The name of the OpenSearch Ingestion pipeline to create. Pipeline names are unique across the pipelines owned by an account within an Amazon Web Services Region.

                                                                                                                                                                                                                                                        pub fn pipeline_name( mut self, diff --git a/sdk/osis/src/operation/delete_pipeline/builders.rs b/sdk/osis/src/operation/delete_pipeline/builders.rs index e67f4c07c5c5..a70f70281f18 100644 --- a/sdk/osis/src/operation/delete_pipeline/builders.rs +++ b/sdk/osis/src/operation/delete_pipeline/builders.rs @@ -19,9 +19,9 @@ impl DeletePipelineFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl DeletePipelineFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::delete_pipeline::DeletePipeline, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                        The name of the pipeline to delete.

                                                                                                                                                                                                                                                        pub fn pipeline_name( mut self, diff --git a/sdk/osis/src/operation/get_pipeline/builders.rs b/sdk/osis/src/operation/get_pipeline/builders.rs index 48a864a35ae0..37ed901688a4 100644 --- a/sdk/osis/src/operation/get_pipeline/builders.rs +++ b/sdk/osis/src/operation/get_pipeline/builders.rs @@ -19,9 +19,9 @@ impl GetPipelineFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl GetPipelineFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::get_pipeline::GetPipeline, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                        The name of the pipeline to get information about.

                                                                                                                                                                                                                                                        pub fn pipeline_name( mut self, diff --git a/sdk/osis/src/operation/get_pipeline_blueprint/builders.rs b/sdk/osis/src/operation/get_pipeline_blueprint/builders.rs index 49b67fa62282..b782ecdddbc5 100644 --- a/sdk/osis/src/operation/get_pipeline_blueprint/builders.rs +++ b/sdk/osis/src/operation/get_pipeline_blueprint/builders.rs @@ -19,9 +19,9 @@ impl GetPipelineBlueprintFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl GetPipelineBlueprintFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::get_pipeline_blueprint::GetPipelineBlueprint, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::get_pipeline_blueprint::GetPipelineBlueprintError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                        The name of the blueprint to retrieve.

                                                                                                                                                                                                                                                        pub fn blueprint_name( mut self, diff --git a/sdk/osis/src/operation/get_pipeline_change_progress/builders.rs b/sdk/osis/src/operation/get_pipeline_change_progress/builders.rs index 391be0bcd354..d03223b59df0 100644 --- a/sdk/osis/src/operation/get_pipeline_change_progress/builders.rs +++ b/sdk/osis/src/operation/get_pipeline_change_progress/builders.rs @@ -20,9 +20,9 @@ impl GetPipelineChangeProgressFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -84,6 +84,22 @@ impl GetPipelineChangeProgressFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::get_pipeline_change_progress::GetPipelineChangeProgress, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::get_pipeline_change_progress::GetPipelineChangeProgressError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                        The name of the pipeline.

                                                                                                                                                                                                                                                        pub fn pipeline_name( mut self, diff --git a/sdk/osis/src/operation/list_pipeline_blueprints/builders.rs b/sdk/osis/src/operation/list_pipeline_blueprints/builders.rs index eabb70595cfd..78d3f3e1e884 100644 --- a/sdk/osis/src/operation/list_pipeline_blueprints/builders.rs +++ b/sdk/osis/src/operation/list_pipeline_blueprints/builders.rs @@ -19,9 +19,9 @@ impl ListPipelineBlueprintsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,4 +83,20 @@ impl ListPipelineBlueprintsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_pipeline_blueprints::ListPipelineBlueprints, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::list_pipeline_blueprints::ListPipelineBlueprintsError, + >, + > { + self.customize_middleware().await + } } diff --git a/sdk/osis/src/operation/list_pipelines/builders.rs b/sdk/osis/src/operation/list_pipelines/builders.rs index af8b0208a16f..c51ddf56f768 100644 --- a/sdk/osis/src/operation/list_pipelines/builders.rs +++ b/sdk/osis/src/operation/list_pipelines/builders.rs @@ -19,9 +19,9 @@ impl ListPipelinesFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl ListPipelinesFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_pipelines::ListPipelines, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::list_pipelines::paginator::ListPipelinesPaginator::send) which returns a `Stream`. diff --git a/sdk/osis/src/operation/list_tags_for_resource/builders.rs b/sdk/osis/src/operation/list_tags_for_resource/builders.rs index 2e0d3e76cecd..3ca36a3db281 100644 --- a/sdk/osis/src/operation/list_tags_for_resource/builders.rs +++ b/sdk/osis/src/operation/list_tags_for_resource/builders.rs @@ -19,9 +19,9 @@ impl ListTagsForResourceFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl ListTagsForResourceFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_tags_for_resource::ListTagsForResource, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::list_tags_for_resource::ListTagsForResourceError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                        The Amazon Resource Name (ARN) of the pipeline to retrieve tags for.

                                                                                                                                                                                                                                                        pub fn arn(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.arn(input.into()); diff --git a/sdk/osis/src/operation/start_pipeline/builders.rs b/sdk/osis/src/operation/start_pipeline/builders.rs index bba585f0b426..5f5389327d58 100644 --- a/sdk/osis/src/operation/start_pipeline/builders.rs +++ b/sdk/osis/src/operation/start_pipeline/builders.rs @@ -19,9 +19,9 @@ impl StartPipelineFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl StartPipelineFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::start_pipeline::StartPipeline, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                        The name of the pipeline to start.

                                                                                                                                                                                                                                                        pub fn pipeline_name( mut self, diff --git a/sdk/osis/src/operation/stop_pipeline/builders.rs b/sdk/osis/src/operation/stop_pipeline/builders.rs index 27271528a1f4..ca9ce6e2aa72 100644 --- a/sdk/osis/src/operation/stop_pipeline/builders.rs +++ b/sdk/osis/src/operation/stop_pipeline/builders.rs @@ -19,9 +19,9 @@ impl StopPipelineFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl StopPipelineFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::stop_pipeline::StopPipeline, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                        The name of the pipeline to stop.

                                                                                                                                                                                                                                                        pub fn pipeline_name( mut self, diff --git a/sdk/osis/src/operation/tag_resource/builders.rs b/sdk/osis/src/operation/tag_resource/builders.rs index 8470b4f91155..87077bffbc89 100644 --- a/sdk/osis/src/operation/tag_resource/builders.rs +++ b/sdk/osis/src/operation/tag_resource/builders.rs @@ -19,9 +19,9 @@ impl TagResourceFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl TagResourceFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::tag_resource::TagResource, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                        The Amazon Resource Name (ARN) of the pipeline to tag.

                                                                                                                                                                                                                                                        pub fn arn(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.arn(input.into()); diff --git a/sdk/osis/src/operation/untag_resource/builders.rs b/sdk/osis/src/operation/untag_resource/builders.rs index 86f96a8fc507..31155fe86ed2 100644 --- a/sdk/osis/src/operation/untag_resource/builders.rs +++ b/sdk/osis/src/operation/untag_resource/builders.rs @@ -19,9 +19,9 @@ impl UntagResourceFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl UntagResourceFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::untag_resource::UntagResource, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                        The Amazon Resource Name (ARN) of the pipeline to remove tags from.

                                                                                                                                                                                                                                                        pub fn arn(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.arn(input.into()); diff --git a/sdk/osis/src/operation/update_pipeline/builders.rs b/sdk/osis/src/operation/update_pipeline/builders.rs index 5ac521177484..64359b99641e 100644 --- a/sdk/osis/src/operation/update_pipeline/builders.rs +++ b/sdk/osis/src/operation/update_pipeline/builders.rs @@ -19,9 +19,9 @@ impl UpdatePipelineFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl UpdatePipelineFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::update_pipeline::UpdatePipeline, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                        The name of the pipeline to update.

                                                                                                                                                                                                                                                        pub fn pipeline_name( mut self, diff --git a/sdk/osis/src/operation/validate_pipeline/builders.rs b/sdk/osis/src/operation/validate_pipeline/builders.rs index e9b374ac0d18..f04f330293a8 100644 --- a/sdk/osis/src/operation/validate_pipeline/builders.rs +++ b/sdk/osis/src/operation/validate_pipeline/builders.rs @@ -19,9 +19,9 @@ impl ValidatePipelineFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl ValidatePipelineFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::validate_pipeline::ValidatePipeline, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::validate_pipeline::ValidatePipelineError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                        The pipeline configuration in YAML format. The command accepts the pipeline configuration as a string or within a .yaml file. If you provide the configuration as a string, each new line must be escaped with \n.

                                                                                                                                                                                                                                                        pub fn pipeline_configuration_body( mut self, diff --git a/sdk/outposts/src/operation/cancel_order/builders.rs b/sdk/outposts/src/operation/cancel_order/builders.rs index e71eb616d1b7..f00008d55e12 100644 --- a/sdk/outposts/src/operation/cancel_order/builders.rs +++ b/sdk/outposts/src/operation/cancel_order/builders.rs @@ -19,9 +19,9 @@ impl CancelOrderFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl CancelOrderFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::cancel_order::CancelOrder, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                        The ID of the order.

                                                                                                                                                                                                                                                        pub fn order_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.order_id(input.into()); diff --git a/sdk/outposts/src/operation/create_order/builders.rs b/sdk/outposts/src/operation/create_order/builders.rs index bd93e0678fab..9af0d2214477 100644 --- a/sdk/outposts/src/operation/create_order/builders.rs +++ b/sdk/outposts/src/operation/create_order/builders.rs @@ -19,9 +19,9 @@ impl CreateOrderFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl CreateOrderFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::create_order::CreateOrder, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                        The ID or the Amazon Resource Name (ARN) of the Outpost.

                                                                                                                                                                                                                                                        pub fn outpost_identifier( mut self, diff --git a/sdk/outposts/src/operation/create_outpost/builders.rs b/sdk/outposts/src/operation/create_outpost/builders.rs index f8b0e52b52a9..26a5df34ff96 100644 --- a/sdk/outposts/src/operation/create_outpost/builders.rs +++ b/sdk/outposts/src/operation/create_outpost/builders.rs @@ -20,9 +20,9 @@ impl CreateOutpostFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -78,6 +78,20 @@ impl CreateOutpostFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::create_outpost::CreateOutpost, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                        The name of the Outpost.

                                                                                                                                                                                                                                                        pub fn name(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.name(input.into()); diff --git a/sdk/outposts/src/operation/create_site/builders.rs b/sdk/outposts/src/operation/create_site/builders.rs index 21999342be39..bcb57c982589 100644 --- a/sdk/outposts/src/operation/create_site/builders.rs +++ b/sdk/outposts/src/operation/create_site/builders.rs @@ -19,9 +19,9 @@ impl CreateSiteFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl CreateSiteFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::create_site::CreateSite, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                        The name of the site.

                                                                                                                                                                                                                                                        pub fn name(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.name(input.into()); diff --git a/sdk/outposts/src/operation/delete_outpost/builders.rs b/sdk/outposts/src/operation/delete_outpost/builders.rs index 02abf288382e..2e017faadf57 100644 --- a/sdk/outposts/src/operation/delete_outpost/builders.rs +++ b/sdk/outposts/src/operation/delete_outpost/builders.rs @@ -19,9 +19,9 @@ impl DeleteOutpostFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl DeleteOutpostFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::delete_outpost::DeleteOutpost, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                        The ID or the Amazon Resource Name (ARN) of the Outpost.

                                                                                                                                                                                                                                                        pub fn outpost_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.outpost_id(input.into()); diff --git a/sdk/outposts/src/operation/delete_site/builders.rs b/sdk/outposts/src/operation/delete_site/builders.rs index ac764bd6681b..e5011f317ee7 100644 --- a/sdk/outposts/src/operation/delete_site/builders.rs +++ b/sdk/outposts/src/operation/delete_site/builders.rs @@ -19,9 +19,9 @@ impl DeleteSiteFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl DeleteSiteFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::delete_site::DeleteSite, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                        The ID or the Amazon Resource Name (ARN) of the site.

                                                                                                                                                                                                                                                        pub fn site_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.site_id(input.into()); diff --git a/sdk/outposts/src/operation/get_catalog_item/builders.rs b/sdk/outposts/src/operation/get_catalog_item/builders.rs index cf98d0a62758..b2784d986f2d 100644 --- a/sdk/outposts/src/operation/get_catalog_item/builders.rs +++ b/sdk/outposts/src/operation/get_catalog_item/builders.rs @@ -19,9 +19,9 @@ impl GetCatalogItemFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl GetCatalogItemFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::get_catalog_item::GetCatalogItem, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::get_catalog_item::GetCatalogItemError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                        The ID of the catalog item.

                                                                                                                                                                                                                                                        pub fn catalog_item_id( mut self, diff --git a/sdk/outposts/src/operation/get_connection/builders.rs b/sdk/outposts/src/operation/get_connection/builders.rs index 2708fb8302e9..9ce614a8e67b 100644 --- a/sdk/outposts/src/operation/get_connection/builders.rs +++ b/sdk/outposts/src/operation/get_connection/builders.rs @@ -23,9 +23,9 @@ impl GetConnectionFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -81,6 +81,20 @@ impl GetConnectionFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::get_connection::GetConnection, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                        The ID of the connection.

                                                                                                                                                                                                                                                        pub fn connection_id( mut self, diff --git a/sdk/outposts/src/operation/get_order/builders.rs b/sdk/outposts/src/operation/get_order/builders.rs index a2f76061cb71..80974ddcd362 100644 --- a/sdk/outposts/src/operation/get_order/builders.rs +++ b/sdk/outposts/src/operation/get_order/builders.rs @@ -19,9 +19,9 @@ impl GetOrderFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl GetOrderFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::get_order::GetOrder, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                        The ID of the order.

                                                                                                                                                                                                                                                        pub fn order_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.order_id(input.into()); diff --git a/sdk/outposts/src/operation/get_outpost/builders.rs b/sdk/outposts/src/operation/get_outpost/builders.rs index 0677856bdb5f..f161171c305f 100644 --- a/sdk/outposts/src/operation/get_outpost/builders.rs +++ b/sdk/outposts/src/operation/get_outpost/builders.rs @@ -19,9 +19,9 @@ impl GetOutpostFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl GetOutpostFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::get_outpost::GetOutpost, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                        The ID or the Amazon Resource Name (ARN) of the Outpost.

                                                                                                                                                                                                                                                        pub fn outpost_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.outpost_id(input.into()); diff --git a/sdk/outposts/src/operation/get_outpost_instance_types/builders.rs b/sdk/outposts/src/operation/get_outpost_instance_types/builders.rs index 9b6f6296c59b..d3ced6baeed0 100644 --- a/sdk/outposts/src/operation/get_outpost_instance_types/builders.rs +++ b/sdk/outposts/src/operation/get_outpost_instance_types/builders.rs @@ -20,9 +20,9 @@ impl GetOutpostInstanceTypesFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -84,6 +84,22 @@ impl GetOutpostInstanceTypesFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::get_outpost_instance_types::GetOutpostInstanceTypes, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::get_outpost_instance_types::GetOutpostInstanceTypesError, + >, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::get_outpost_instance_types::paginator::GetOutpostInstanceTypesPaginator::send) which returns a `Stream`. diff --git a/sdk/outposts/src/operation/get_site/builders.rs b/sdk/outposts/src/operation/get_site/builders.rs index 77d4c723bc55..4fadedf8ab5c 100644 --- a/sdk/outposts/src/operation/get_site/builders.rs +++ b/sdk/outposts/src/operation/get_site/builders.rs @@ -19,9 +19,9 @@ impl GetSiteFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl GetSiteFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::get_site::GetSite, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                        The ID or the Amazon Resource Name (ARN) of the site.

                                                                                                                                                                                                                                                        pub fn site_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.site_id(input.into()); diff --git a/sdk/outposts/src/operation/get_site_address/builders.rs b/sdk/outposts/src/operation/get_site_address/builders.rs index d2b97e61689f..ea1a145a5fcc 100644 --- a/sdk/outposts/src/operation/get_site_address/builders.rs +++ b/sdk/outposts/src/operation/get_site_address/builders.rs @@ -19,9 +19,9 @@ impl GetSiteAddressFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl GetSiteAddressFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::get_site_address::GetSiteAddress, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::get_site_address::GetSiteAddressError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                        The ID or the Amazon Resource Name (ARN) of the site.

                                                                                                                                                                                                                                                        pub fn site_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.site_id(input.into()); diff --git a/sdk/outposts/src/operation/list_assets/builders.rs b/sdk/outposts/src/operation/list_assets/builders.rs index 9a270925d892..172cc831f26f 100644 --- a/sdk/outposts/src/operation/list_assets/builders.rs +++ b/sdk/outposts/src/operation/list_assets/builders.rs @@ -20,9 +20,9 @@ impl ListAssetsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -78,6 +78,20 @@ impl ListAssetsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_assets::ListAssets, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::list_assets::paginator::ListAssetsPaginator::send) which returns a `Stream`. diff --git a/sdk/outposts/src/operation/list_catalog_items/builders.rs b/sdk/outposts/src/operation/list_catalog_items/builders.rs index 76d54136fc52..99259d988a0e 100644 --- a/sdk/outposts/src/operation/list_catalog_items/builders.rs +++ b/sdk/outposts/src/operation/list_catalog_items/builders.rs @@ -20,9 +20,9 @@ impl ListCatalogItemsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -84,6 +84,22 @@ impl ListCatalogItemsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_catalog_items::ListCatalogItems, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::list_catalog_items::ListCatalogItemsError, + >, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::list_catalog_items::paginator::ListCatalogItemsPaginator::send) which returns a `Stream`. diff --git a/sdk/outposts/src/operation/list_orders/builders.rs b/sdk/outposts/src/operation/list_orders/builders.rs index 3c0f98cf64c5..e4a0589c370c 100644 --- a/sdk/outposts/src/operation/list_orders/builders.rs +++ b/sdk/outposts/src/operation/list_orders/builders.rs @@ -19,9 +19,9 @@ impl ListOrdersFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl ListOrdersFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_orders::ListOrders, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::list_orders::paginator::ListOrdersPaginator::send) which returns a `Stream`. diff --git a/sdk/outposts/src/operation/list_outposts/builders.rs b/sdk/outposts/src/operation/list_outposts/builders.rs index 9d6095b87e60..5a842a23219f 100644 --- a/sdk/outposts/src/operation/list_outposts/builders.rs +++ b/sdk/outposts/src/operation/list_outposts/builders.rs @@ -20,9 +20,9 @@ impl ListOutpostsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -78,6 +78,20 @@ impl ListOutpostsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_outposts::ListOutposts, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::list_outposts::paginator::ListOutpostsPaginator::send) which returns a `Stream`. diff --git a/sdk/outposts/src/operation/list_sites/builders.rs b/sdk/outposts/src/operation/list_sites/builders.rs index 007a6aeb1804..edf7421b26c0 100644 --- a/sdk/outposts/src/operation/list_sites/builders.rs +++ b/sdk/outposts/src/operation/list_sites/builders.rs @@ -20,9 +20,9 @@ impl ListSitesFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -78,6 +78,20 @@ impl ListSitesFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_sites::ListSites, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::list_sites::paginator::ListSitesPaginator::send) which returns a `Stream`. diff --git a/sdk/outposts/src/operation/list_tags_for_resource/builders.rs b/sdk/outposts/src/operation/list_tags_for_resource/builders.rs index c47c190d83b2..0a70d0c44010 100644 --- a/sdk/outposts/src/operation/list_tags_for_resource/builders.rs +++ b/sdk/outposts/src/operation/list_tags_for_resource/builders.rs @@ -19,9 +19,9 @@ impl ListTagsForResourceFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl ListTagsForResourceFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_tags_for_resource::ListTagsForResource, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::list_tags_for_resource::ListTagsForResourceError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                        The Amazon Resource Name (ARN) of the resource.

                                                                                                                                                                                                                                                        pub fn resource_arn(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.resource_arn(input.into()); diff --git a/sdk/outposts/src/operation/start_connection/builders.rs b/sdk/outposts/src/operation/start_connection/builders.rs index b9c1c0d8c2b1..17dcfa5815c5 100644 --- a/sdk/outposts/src/operation/start_connection/builders.rs +++ b/sdk/outposts/src/operation/start_connection/builders.rs @@ -23,9 +23,9 @@ impl StartConnectionFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -87,6 +87,22 @@ impl StartConnectionFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::start_connection::StartConnection, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::start_connection::StartConnectionError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                        The serial number of the dongle.

                                                                                                                                                                                                                                                        pub fn device_serial_number( mut self, diff --git a/sdk/outposts/src/operation/tag_resource/builders.rs b/sdk/outposts/src/operation/tag_resource/builders.rs index 305ecd446ff2..5878f71bdef3 100644 --- a/sdk/outposts/src/operation/tag_resource/builders.rs +++ b/sdk/outposts/src/operation/tag_resource/builders.rs @@ -19,9 +19,9 @@ impl TagResourceFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl TagResourceFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::tag_resource::TagResource, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                        The Amazon Resource Name (ARN) of the resource.

                                                                                                                                                                                                                                                        pub fn resource_arn(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.resource_arn(input.into()); diff --git a/sdk/outposts/src/operation/untag_resource/builders.rs b/sdk/outposts/src/operation/untag_resource/builders.rs index db23e946d7d8..ce0b5157538c 100644 --- a/sdk/outposts/src/operation/untag_resource/builders.rs +++ b/sdk/outposts/src/operation/untag_resource/builders.rs @@ -19,9 +19,9 @@ impl UntagResourceFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl UntagResourceFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::untag_resource::UntagResource, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                        The Amazon Resource Name (ARN) of the resource.

                                                                                                                                                                                                                                                        pub fn resource_arn(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.resource_arn(input.into()); diff --git a/sdk/outposts/src/operation/update_outpost/builders.rs b/sdk/outposts/src/operation/update_outpost/builders.rs index bf23e3b6ee83..8fcfb358067c 100644 --- a/sdk/outposts/src/operation/update_outpost/builders.rs +++ b/sdk/outposts/src/operation/update_outpost/builders.rs @@ -19,9 +19,9 @@ impl UpdateOutpostFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl UpdateOutpostFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::update_outpost::UpdateOutpost, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                        The ID or the Amazon Resource Name (ARN) of the Outpost.

                                                                                                                                                                                                                                                        pub fn outpost_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.outpost_id(input.into()); diff --git a/sdk/outposts/src/operation/update_site/builders.rs b/sdk/outposts/src/operation/update_site/builders.rs index ced90de3afa6..8c365735e586 100644 --- a/sdk/outposts/src/operation/update_site/builders.rs +++ b/sdk/outposts/src/operation/update_site/builders.rs @@ -19,9 +19,9 @@ impl UpdateSiteFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl UpdateSiteFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::update_site::UpdateSite, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                        The ID or the Amazon Resource Name (ARN) of the site.

                                                                                                                                                                                                                                                        pub fn site_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.site_id(input.into()); diff --git a/sdk/outposts/src/operation/update_site_address/builders.rs b/sdk/outposts/src/operation/update_site_address/builders.rs index 903095b8efff..c4c208a1dac4 100644 --- a/sdk/outposts/src/operation/update_site_address/builders.rs +++ b/sdk/outposts/src/operation/update_site_address/builders.rs @@ -21,9 +21,9 @@ impl UpdateSiteAddressFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -85,6 +85,22 @@ impl UpdateSiteAddressFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::update_site_address::UpdateSiteAddress, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::update_site_address::UpdateSiteAddressError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                        The ID or the Amazon Resource Name (ARN) of the site.

                                                                                                                                                                                                                                                        pub fn site_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.site_id(input.into()); diff --git a/sdk/outposts/src/operation/update_site_rack_physical_properties/builders.rs b/sdk/outposts/src/operation/update_site_rack_physical_properties/builders.rs index f7b728e61831..d408331e9ad1 100644 --- a/sdk/outposts/src/operation/update_site_rack_physical_properties/builders.rs +++ b/sdk/outposts/src/operation/update_site_rack_physical_properties/builders.rs @@ -20,9 +20,9 @@ impl UpdateSiteRackPhysicalPropertiesFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize(self) -> ::std::result::Result< + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware(self) -> ::std::result::Result< crate::client::customize::CustomizableOperation, ::aws_smithy_http::result::SdkError >{ @@ -65,6 +65,15 @@ impl UpdateSiteRackPhysicalPropertiesFluentBuilder { { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize(self) -> ::std::result::Result< + crate::client::customize::CustomizableOperation, + ::aws_smithy_http::result::SdkError + >{ + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                        The ID or the Amazon Resource Name (ARN) of the site.

                                                                                                                                                                                                                                                        pub fn site_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.site_id(input.into()); diff --git a/sdk/panorama/src/operation/create_application_instance/builders.rs b/sdk/panorama/src/operation/create_application_instance/builders.rs index ec55165e46e3..7b4315ae882c 100644 --- a/sdk/panorama/src/operation/create_application_instance/builders.rs +++ b/sdk/panorama/src/operation/create_application_instance/builders.rs @@ -19,9 +19,9 @@ impl CreateApplicationInstanceFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl CreateApplicationInstanceFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::create_application_instance::CreateApplicationInstance, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::create_application_instance::CreateApplicationInstanceError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                        A name for the application instance.

                                                                                                                                                                                                                                                        pub fn name(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.name(input.into()); diff --git a/sdk/panorama/src/operation/create_job_for_devices/builders.rs b/sdk/panorama/src/operation/create_job_for_devices/builders.rs index 21f20fabc09c..04d91e74bff0 100644 --- a/sdk/panorama/src/operation/create_job_for_devices/builders.rs +++ b/sdk/panorama/src/operation/create_job_for_devices/builders.rs @@ -19,9 +19,9 @@ impl CreateJobForDevicesFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl CreateJobForDevicesFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::create_job_for_devices::CreateJobForDevices, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::create_job_for_devices::CreateJobForDevicesError, + >, + > { + self.customize_middleware().await + } /// Appends an item to `DeviceIds`. /// /// To override the contents of this collection use [`set_device_ids`](Self::set_device_ids). diff --git a/sdk/panorama/src/operation/create_node_from_template_job/builders.rs b/sdk/panorama/src/operation/create_node_from_template_job/builders.rs index 54e1ffd90f68..a35f6bd53f9b 100644 --- a/sdk/panorama/src/operation/create_node_from_template_job/builders.rs +++ b/sdk/panorama/src/operation/create_node_from_template_job/builders.rs @@ -19,9 +19,9 @@ impl CreateNodeFromTemplateJobFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl CreateNodeFromTemplateJobFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::create_node_from_template_job::CreateNodeFromTemplateJob, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::create_node_from_template_job::CreateNodeFromTemplateJobError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                        The type of node.

                                                                                                                                                                                                                                                        pub fn template_type(mut self, input: crate::types::TemplateType) -> Self { self.inner = self.inner.template_type(input); diff --git a/sdk/panorama/src/operation/create_package/builders.rs b/sdk/panorama/src/operation/create_package/builders.rs index 0a1da51c948e..06eeca141c41 100644 --- a/sdk/panorama/src/operation/create_package/builders.rs +++ b/sdk/panorama/src/operation/create_package/builders.rs @@ -19,9 +19,9 @@ impl CreatePackageFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl CreatePackageFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::create_package::CreatePackage, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                        A name for the package.

                                                                                                                                                                                                                                                        pub fn package_name(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.package_name(input.into()); diff --git a/sdk/panorama/src/operation/create_package_import_job/builders.rs b/sdk/panorama/src/operation/create_package_import_job/builders.rs index 727d69ce29a4..29006772e5c4 100644 --- a/sdk/panorama/src/operation/create_package_import_job/builders.rs +++ b/sdk/panorama/src/operation/create_package_import_job/builders.rs @@ -20,9 +20,9 @@ impl CreatePackageImportJobFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -84,6 +84,22 @@ impl CreatePackageImportJobFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::create_package_import_job::CreatePackageImportJob, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::create_package_import_job::CreatePackageImportJobError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                        A job type for the package import job.

                                                                                                                                                                                                                                                        pub fn job_type(mut self, input: crate::types::PackageImportJobType) -> Self { self.inner = self.inner.job_type(input); diff --git a/sdk/panorama/src/operation/delete_device/builders.rs b/sdk/panorama/src/operation/delete_device/builders.rs index 7b2274f3aa3a..7d144a30d190 100644 --- a/sdk/panorama/src/operation/delete_device/builders.rs +++ b/sdk/panorama/src/operation/delete_device/builders.rs @@ -19,9 +19,9 @@ impl DeleteDeviceFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl DeleteDeviceFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::delete_device::DeleteDevice, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                        The device's ID.

                                                                                                                                                                                                                                                        pub fn device_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.device_id(input.into()); diff --git a/sdk/panorama/src/operation/delete_package/builders.rs b/sdk/panorama/src/operation/delete_package/builders.rs index 1a1266eff2d8..9f922168bddb 100644 --- a/sdk/panorama/src/operation/delete_package/builders.rs +++ b/sdk/panorama/src/operation/delete_package/builders.rs @@ -21,9 +21,9 @@ impl DeletePackageFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -79,6 +79,20 @@ impl DeletePackageFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::delete_package::DeletePackage, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                        The package's ID.

                                                                                                                                                                                                                                                        pub fn package_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.package_id(input.into()); diff --git a/sdk/panorama/src/operation/deregister_package_version/builders.rs b/sdk/panorama/src/operation/deregister_package_version/builders.rs index 52cca04d2b47..cb49aaae6971 100644 --- a/sdk/panorama/src/operation/deregister_package_version/builders.rs +++ b/sdk/panorama/src/operation/deregister_package_version/builders.rs @@ -19,9 +19,9 @@ impl DeregisterPackageVersionFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl DeregisterPackageVersionFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::deregister_package_version::DeregisterPackageVersion, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::deregister_package_version::DeregisterPackageVersionError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                        An owner account.

                                                                                                                                                                                                                                                        pub fn owner_account( mut self, diff --git a/sdk/panorama/src/operation/describe_application_instance/builders.rs b/sdk/panorama/src/operation/describe_application_instance/builders.rs index bfe9693ddad7..c73c3620207d 100644 --- a/sdk/panorama/src/operation/describe_application_instance/builders.rs +++ b/sdk/panorama/src/operation/describe_application_instance/builders.rs @@ -19,9 +19,9 @@ impl DescribeApplicationInstanceFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl DescribeApplicationInstanceFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::describe_application_instance::DescribeApplicationInstance, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::describe_application_instance::DescribeApplicationInstanceError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                        The application instance's ID.

                                                                                                                                                                                                                                                        pub fn application_instance_id( mut self, diff --git a/sdk/panorama/src/operation/describe_application_instance_details/builders.rs b/sdk/panorama/src/operation/describe_application_instance_details/builders.rs index cd5d42f38247..817ddf8b5c8a 100644 --- a/sdk/panorama/src/operation/describe_application_instance_details/builders.rs +++ b/sdk/panorama/src/operation/describe_application_instance_details/builders.rs @@ -19,9 +19,9 @@ impl DescribeApplicationInstanceDetailsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize(self) -> ::std::result::Result< + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware(self) -> ::std::result::Result< crate::client::customize::CustomizableOperation, ::aws_smithy_http::result::SdkError >{ @@ -64,6 +64,15 @@ impl DescribeApplicationInstanceDetailsFluentBuilder { { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize(self) -> ::std::result::Result< + crate::client::customize::CustomizableOperation, + ::aws_smithy_http::result::SdkError + >{ + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                        The application instance's ID.

                                                                                                                                                                                                                                                        pub fn application_instance_id( mut self, diff --git a/sdk/panorama/src/operation/describe_device/builders.rs b/sdk/panorama/src/operation/describe_device/builders.rs index 761814a63b88..f03bbcd444d1 100644 --- a/sdk/panorama/src/operation/describe_device/builders.rs +++ b/sdk/panorama/src/operation/describe_device/builders.rs @@ -19,9 +19,9 @@ impl DescribeDeviceFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl DescribeDeviceFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::describe_device::DescribeDevice, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                        The device's ID.

                                                                                                                                                                                                                                                        pub fn device_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.device_id(input.into()); diff --git a/sdk/panorama/src/operation/describe_device_job/builders.rs b/sdk/panorama/src/operation/describe_device_job/builders.rs index 42574795e165..127a64451ca5 100644 --- a/sdk/panorama/src/operation/describe_device_job/builders.rs +++ b/sdk/panorama/src/operation/describe_device_job/builders.rs @@ -19,9 +19,9 @@ impl DescribeDeviceJobFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl DescribeDeviceJobFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::describe_device_job::DescribeDeviceJob, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::describe_device_job::DescribeDeviceJobError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                        The job's ID.

                                                                                                                                                                                                                                                        pub fn job_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.job_id(input.into()); diff --git a/sdk/panorama/src/operation/describe_node/builders.rs b/sdk/panorama/src/operation/describe_node/builders.rs index 2085c5c25518..28df995384fd 100644 --- a/sdk/panorama/src/operation/describe_node/builders.rs +++ b/sdk/panorama/src/operation/describe_node/builders.rs @@ -19,9 +19,9 @@ impl DescribeNodeFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl DescribeNodeFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::describe_node::DescribeNode, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                        The node's ID.

                                                                                                                                                                                                                                                        pub fn node_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.node_id(input.into()); diff --git a/sdk/panorama/src/operation/describe_node_from_template_job/builders.rs b/sdk/panorama/src/operation/describe_node_from_template_job/builders.rs index e5f65d2eb3a1..70e6510bf291 100644 --- a/sdk/panorama/src/operation/describe_node_from_template_job/builders.rs +++ b/sdk/panorama/src/operation/describe_node_from_template_job/builders.rs @@ -19,9 +19,9 @@ impl DescribeNodeFromTemplateJobFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl DescribeNodeFromTemplateJobFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::describe_node_from_template_job::DescribeNodeFromTemplateJob, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::describe_node_from_template_job::DescribeNodeFromTemplateJobError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                        The job's ID.

                                                                                                                                                                                                                                                        pub fn job_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.job_id(input.into()); diff --git a/sdk/panorama/src/operation/describe_package/builders.rs b/sdk/panorama/src/operation/describe_package/builders.rs index 7e498211e4d6..c796482f53b3 100644 --- a/sdk/panorama/src/operation/describe_package/builders.rs +++ b/sdk/panorama/src/operation/describe_package/builders.rs @@ -19,9 +19,9 @@ impl DescribePackageFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl DescribePackageFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::describe_package::DescribePackage, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::describe_package::DescribePackageError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                        The package's ID.

                                                                                                                                                                                                                                                        pub fn package_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.package_id(input.into()); diff --git a/sdk/panorama/src/operation/describe_package_import_job/builders.rs b/sdk/panorama/src/operation/describe_package_import_job/builders.rs index be2ef039ad76..161823887431 100644 --- a/sdk/panorama/src/operation/describe_package_import_job/builders.rs +++ b/sdk/panorama/src/operation/describe_package_import_job/builders.rs @@ -19,9 +19,9 @@ impl DescribePackageImportJobFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl DescribePackageImportJobFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::describe_package_import_job::DescribePackageImportJob, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::describe_package_import_job::DescribePackageImportJobError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                        The job's ID.

                                                                                                                                                                                                                                                        pub fn job_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.job_id(input.into()); diff --git a/sdk/panorama/src/operation/describe_package_version/builders.rs b/sdk/panorama/src/operation/describe_package_version/builders.rs index e48ad8699298..a58aa08e27ab 100644 --- a/sdk/panorama/src/operation/describe_package_version/builders.rs +++ b/sdk/panorama/src/operation/describe_package_version/builders.rs @@ -19,9 +19,9 @@ impl DescribePackageVersionFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl DescribePackageVersionFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::describe_package_version::DescribePackageVersion, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::describe_package_version::DescribePackageVersionError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                        The version's owner account.

                                                                                                                                                                                                                                                        pub fn owner_account( mut self, diff --git a/sdk/panorama/src/operation/list_application_instance_dependencies/builders.rs b/sdk/panorama/src/operation/list_application_instance_dependencies/builders.rs index 8664ab6bc76a..8f4fe3a3cfb3 100644 --- a/sdk/panorama/src/operation/list_application_instance_dependencies/builders.rs +++ b/sdk/panorama/src/operation/list_application_instance_dependencies/builders.rs @@ -19,9 +19,9 @@ impl ListApplicationInstanceDependenciesFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize(self) -> ::std::result::Result< + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware(self) -> ::std::result::Result< crate::client::customize::CustomizableOperation, ::aws_smithy_http::result::SdkError >{ @@ -64,6 +64,15 @@ impl ListApplicationInstanceDependenciesFluentBuilder { { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize(self) -> ::std::result::Result< + crate::client::customize::CustomizableOperation, + ::aws_smithy_http::result::SdkError + >{ + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::list_application_instance_dependencies::paginator::ListApplicationInstanceDependenciesPaginator::send) which returns a `Stream`. diff --git a/sdk/panorama/src/operation/list_application_instance_node_instances/builders.rs b/sdk/panorama/src/operation/list_application_instance_node_instances/builders.rs index 3d38c9ddbfbc..826a26a00c59 100644 --- a/sdk/panorama/src/operation/list_application_instance_node_instances/builders.rs +++ b/sdk/panorama/src/operation/list_application_instance_node_instances/builders.rs @@ -19,9 +19,9 @@ impl ListApplicationInstanceNodeInstancesFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize(self) -> ::std::result::Result< + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware(self) -> ::std::result::Result< crate::client::customize::CustomizableOperation, ::aws_smithy_http::result::SdkError >{ @@ -64,6 +64,15 @@ impl ListApplicationInstanceNodeInstancesFluentBuilder { { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize(self) -> ::std::result::Result< + crate::client::customize::CustomizableOperation, + ::aws_smithy_http::result::SdkError + >{ + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::list_application_instance_node_instances::paginator::ListApplicationInstanceNodeInstancesPaginator::send) which returns a `Stream`. diff --git a/sdk/panorama/src/operation/list_application_instances/builders.rs b/sdk/panorama/src/operation/list_application_instances/builders.rs index 85128d80b3e7..2b669acef919 100644 --- a/sdk/panorama/src/operation/list_application_instances/builders.rs +++ b/sdk/panorama/src/operation/list_application_instances/builders.rs @@ -19,9 +19,9 @@ impl ListApplicationInstancesFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl ListApplicationInstancesFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_application_instances::ListApplicationInstances, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::list_application_instances::ListApplicationInstancesError, + >, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::list_application_instances::paginator::ListApplicationInstancesPaginator::send) which returns a `Stream`. diff --git a/sdk/panorama/src/operation/list_devices/builders.rs b/sdk/panorama/src/operation/list_devices/builders.rs index 95cf70e03722..42a420c7fb5a 100644 --- a/sdk/panorama/src/operation/list_devices/builders.rs +++ b/sdk/panorama/src/operation/list_devices/builders.rs @@ -19,9 +19,9 @@ impl ListDevicesFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl ListDevicesFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_devices::ListDevices, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::list_devices::paginator::ListDevicesPaginator::send) which returns a `Stream`. diff --git a/sdk/panorama/src/operation/list_devices_jobs/builders.rs b/sdk/panorama/src/operation/list_devices_jobs/builders.rs index 13252940c531..0b98b051d0eb 100644 --- a/sdk/panorama/src/operation/list_devices_jobs/builders.rs +++ b/sdk/panorama/src/operation/list_devices_jobs/builders.rs @@ -19,9 +19,9 @@ impl ListDevicesJobsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl ListDevicesJobsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_devices_jobs::ListDevicesJobs, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::list_devices_jobs::ListDevicesJobsError, + >, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::list_devices_jobs::paginator::ListDevicesJobsPaginator::send) which returns a `Stream`. diff --git a/sdk/panorama/src/operation/list_node_from_template_jobs/builders.rs b/sdk/panorama/src/operation/list_node_from_template_jobs/builders.rs index 8795b1714043..7ae4f27a9519 100644 --- a/sdk/panorama/src/operation/list_node_from_template_jobs/builders.rs +++ b/sdk/panorama/src/operation/list_node_from_template_jobs/builders.rs @@ -19,9 +19,9 @@ impl ListNodeFromTemplateJobsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl ListNodeFromTemplateJobsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_node_from_template_jobs::ListNodeFromTemplateJobs, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::list_node_from_template_jobs::ListNodeFromTemplateJobsError, + >, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::list_node_from_template_jobs::paginator::ListNodeFromTemplateJobsPaginator::send) which returns a `Stream`. diff --git a/sdk/panorama/src/operation/list_nodes/builders.rs b/sdk/panorama/src/operation/list_nodes/builders.rs index ed8766022346..ec65e8c5687d 100644 --- a/sdk/panorama/src/operation/list_nodes/builders.rs +++ b/sdk/panorama/src/operation/list_nodes/builders.rs @@ -19,9 +19,9 @@ impl ListNodesFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl ListNodesFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_nodes::ListNodes, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::list_nodes::paginator::ListNodesPaginator::send) which returns a `Stream`. diff --git a/sdk/panorama/src/operation/list_package_import_jobs/builders.rs b/sdk/panorama/src/operation/list_package_import_jobs/builders.rs index dad401243d44..748a482a1d03 100644 --- a/sdk/panorama/src/operation/list_package_import_jobs/builders.rs +++ b/sdk/panorama/src/operation/list_package_import_jobs/builders.rs @@ -19,9 +19,9 @@ impl ListPackageImportJobsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl ListPackageImportJobsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_package_import_jobs::ListPackageImportJobs, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::list_package_import_jobs::ListPackageImportJobsError, + >, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::list_package_import_jobs::paginator::ListPackageImportJobsPaginator::send) which returns a `Stream`. diff --git a/sdk/panorama/src/operation/list_packages/builders.rs b/sdk/panorama/src/operation/list_packages/builders.rs index 7834a497bb38..18aaf120b635 100644 --- a/sdk/panorama/src/operation/list_packages/builders.rs +++ b/sdk/panorama/src/operation/list_packages/builders.rs @@ -19,9 +19,9 @@ impl ListPackagesFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl ListPackagesFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_packages::ListPackages, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::list_packages::paginator::ListPackagesPaginator::send) which returns a `Stream`. diff --git a/sdk/panorama/src/operation/list_tags_for_resource/builders.rs b/sdk/panorama/src/operation/list_tags_for_resource/builders.rs index 849d88bac005..04581b5746b7 100644 --- a/sdk/panorama/src/operation/list_tags_for_resource/builders.rs +++ b/sdk/panorama/src/operation/list_tags_for_resource/builders.rs @@ -19,9 +19,9 @@ impl ListTagsForResourceFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl ListTagsForResourceFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_tags_for_resource::ListTagsForResource, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::list_tags_for_resource::ListTagsForResourceError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                        The resource's ARN.

                                                                                                                                                                                                                                                        pub fn resource_arn(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.resource_arn(input.into()); diff --git a/sdk/panorama/src/operation/provision_device/builders.rs b/sdk/panorama/src/operation/provision_device/builders.rs index 78261e27825d..67bf7fbf9b3f 100644 --- a/sdk/panorama/src/operation/provision_device/builders.rs +++ b/sdk/panorama/src/operation/provision_device/builders.rs @@ -19,9 +19,9 @@ impl ProvisionDeviceFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl ProvisionDeviceFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::provision_device::ProvisionDevice, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::provision_device::ProvisionDeviceError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                        A name for the device.

                                                                                                                                                                                                                                                        pub fn name(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.name(input.into()); diff --git a/sdk/panorama/src/operation/register_package_version/builders.rs b/sdk/panorama/src/operation/register_package_version/builders.rs index 4b65a88d3632..23542793438b 100644 --- a/sdk/panorama/src/operation/register_package_version/builders.rs +++ b/sdk/panorama/src/operation/register_package_version/builders.rs @@ -19,9 +19,9 @@ impl RegisterPackageVersionFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl RegisterPackageVersionFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::register_package_version::RegisterPackageVersion, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::register_package_version::RegisterPackageVersionError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                        An owner account.

                                                                                                                                                                                                                                                        pub fn owner_account( mut self, diff --git a/sdk/panorama/src/operation/remove_application_instance/builders.rs b/sdk/panorama/src/operation/remove_application_instance/builders.rs index 84dbf84b6533..fbfbf61a80df 100644 --- a/sdk/panorama/src/operation/remove_application_instance/builders.rs +++ b/sdk/panorama/src/operation/remove_application_instance/builders.rs @@ -19,9 +19,9 @@ impl RemoveApplicationInstanceFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl RemoveApplicationInstanceFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::remove_application_instance::RemoveApplicationInstance, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::remove_application_instance::RemoveApplicationInstanceError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                        An application instance ID.

                                                                                                                                                                                                                                                        pub fn application_instance_id( mut self, diff --git a/sdk/panorama/src/operation/signal_application_instance_node_instances/builders.rs b/sdk/panorama/src/operation/signal_application_instance_node_instances/builders.rs index e11f3c480344..e27bc6766f33 100644 --- a/sdk/panorama/src/operation/signal_application_instance_node_instances/builders.rs +++ b/sdk/panorama/src/operation/signal_application_instance_node_instances/builders.rs @@ -19,9 +19,9 @@ impl SignalApplicationInstanceNodeInstancesFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize(self) -> ::std::result::Result< + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware(self) -> ::std::result::Result< crate::client::customize::CustomizableOperation, ::aws_smithy_http::result::SdkError >{ @@ -64,6 +64,15 @@ impl SignalApplicationInstanceNodeInstancesFluentBuilder { { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize(self) -> ::std::result::Result< + crate::client::customize::CustomizableOperation, + ::aws_smithy_http::result::SdkError + >{ + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                        An application instance ID.

                                                                                                                                                                                                                                                        pub fn application_instance_id( mut self, diff --git a/sdk/panorama/src/operation/tag_resource/builders.rs b/sdk/panorama/src/operation/tag_resource/builders.rs index eda0bf4f268e..b8f1ee32f50b 100644 --- a/sdk/panorama/src/operation/tag_resource/builders.rs +++ b/sdk/panorama/src/operation/tag_resource/builders.rs @@ -19,9 +19,9 @@ impl TagResourceFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl TagResourceFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::tag_resource::TagResource, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                        The resource's ARN.

                                                                                                                                                                                                                                                        pub fn resource_arn(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.resource_arn(input.into()); diff --git a/sdk/panorama/src/operation/untag_resource/builders.rs b/sdk/panorama/src/operation/untag_resource/builders.rs index 9a78b103b088..b829c6eb85e6 100644 --- a/sdk/panorama/src/operation/untag_resource/builders.rs +++ b/sdk/panorama/src/operation/untag_resource/builders.rs @@ -19,9 +19,9 @@ impl UntagResourceFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl UntagResourceFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::untag_resource::UntagResource, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                        The resource's ARN.

                                                                                                                                                                                                                                                        pub fn resource_arn(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.resource_arn(input.into()); diff --git a/sdk/panorama/src/operation/update_device_metadata/builders.rs b/sdk/panorama/src/operation/update_device_metadata/builders.rs index 8aaac6bd2cca..5e116030cf05 100644 --- a/sdk/panorama/src/operation/update_device_metadata/builders.rs +++ b/sdk/panorama/src/operation/update_device_metadata/builders.rs @@ -19,9 +19,9 @@ impl UpdateDeviceMetadataFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl UpdateDeviceMetadataFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::update_device_metadata::UpdateDeviceMetadata, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::update_device_metadata::UpdateDeviceMetadataError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                        The device's ID.

                                                                                                                                                                                                                                                        pub fn device_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.device_id(input.into()); diff --git a/sdk/personalize/src/operation/create_batch_inference_job/builders.rs b/sdk/personalize/src/operation/create_batch_inference_job/builders.rs index d2645f07f4cf..559619eb03e7 100644 --- a/sdk/personalize/src/operation/create_batch_inference_job/builders.rs +++ b/sdk/personalize/src/operation/create_batch_inference_job/builders.rs @@ -20,9 +20,9 @@ impl CreateBatchInferenceJobFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -84,6 +84,22 @@ impl CreateBatchInferenceJobFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::create_batch_inference_job::CreateBatchInferenceJob, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::create_batch_inference_job::CreateBatchInferenceJobError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                        The name of the batch inference job to create.

                                                                                                                                                                                                                                                        pub fn job_name(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.job_name(input.into()); diff --git a/sdk/personalize/src/operation/create_batch_segment_job/builders.rs b/sdk/personalize/src/operation/create_batch_segment_job/builders.rs index ada8bde993c7..e61422560682 100644 --- a/sdk/personalize/src/operation/create_batch_segment_job/builders.rs +++ b/sdk/personalize/src/operation/create_batch_segment_job/builders.rs @@ -19,9 +19,9 @@ impl CreateBatchSegmentJobFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl CreateBatchSegmentJobFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::create_batch_segment_job::CreateBatchSegmentJob, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::create_batch_segment_job::CreateBatchSegmentJobError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                        The name of the batch segment job to create.

                                                                                                                                                                                                                                                        pub fn job_name(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.job_name(input.into()); diff --git a/sdk/personalize/src/operation/create_campaign/builders.rs b/sdk/personalize/src/operation/create_campaign/builders.rs index f1767e6e4958..958c9ea07b2f 100644 --- a/sdk/personalize/src/operation/create_campaign/builders.rs +++ b/sdk/personalize/src/operation/create_campaign/builders.rs @@ -39,9 +39,9 @@ impl CreateCampaignFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -97,6 +97,20 @@ impl CreateCampaignFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::create_campaign::CreateCampaign, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                        A name for the new campaign. The campaign name must be unique within your account.

                                                                                                                                                                                                                                                        pub fn name(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.name(input.into()); diff --git a/sdk/personalize/src/operation/create_dataset/builders.rs b/sdk/personalize/src/operation/create_dataset/builders.rs index 8567707c5113..4400d2bff6f6 100644 --- a/sdk/personalize/src/operation/create_dataset/builders.rs +++ b/sdk/personalize/src/operation/create_dataset/builders.rs @@ -39,9 +39,9 @@ impl CreateDatasetFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -97,6 +97,20 @@ impl CreateDatasetFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::create_dataset::CreateDataset, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                        The name for the dataset.

                                                                                                                                                                                                                                                        pub fn name(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.name(input.into()); diff --git a/sdk/personalize/src/operation/create_dataset_export_job/builders.rs b/sdk/personalize/src/operation/create_dataset_export_job/builders.rs index 2e58aa8e5bb7..160f24b1b7f4 100644 --- a/sdk/personalize/src/operation/create_dataset_export_job/builders.rs +++ b/sdk/personalize/src/operation/create_dataset_export_job/builders.rs @@ -26,9 +26,9 @@ impl CreateDatasetExportJobFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -90,6 +90,22 @@ impl CreateDatasetExportJobFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::create_dataset_export_job::CreateDatasetExportJob, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::create_dataset_export_job::CreateDatasetExportJobError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                        The name for the dataset export job.

                                                                                                                                                                                                                                                        pub fn job_name(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.job_name(input.into()); diff --git a/sdk/personalize/src/operation/create_dataset_group/builders.rs b/sdk/personalize/src/operation/create_dataset_group/builders.rs index 54ef5f9991d6..70ad586548dd 100644 --- a/sdk/personalize/src/operation/create_dataset_group/builders.rs +++ b/sdk/personalize/src/operation/create_dataset_group/builders.rs @@ -46,9 +46,9 @@ impl CreateDatasetGroupFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -110,6 +110,22 @@ impl CreateDatasetGroupFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::create_dataset_group::CreateDatasetGroup, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::create_dataset_group::CreateDatasetGroupError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                        The name for the new dataset group.

                                                                                                                                                                                                                                                        pub fn name(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.name(input.into()); diff --git a/sdk/personalize/src/operation/create_dataset_import_job/builders.rs b/sdk/personalize/src/operation/create_dataset_import_job/builders.rs index 584b182df361..179b4672ef29 100644 --- a/sdk/personalize/src/operation/create_dataset_import_job/builders.rs +++ b/sdk/personalize/src/operation/create_dataset_import_job/builders.rs @@ -35,9 +35,9 @@ impl CreateDatasetImportJobFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -99,6 +99,22 @@ impl CreateDatasetImportJobFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::create_dataset_import_job::CreateDatasetImportJob, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::create_dataset_import_job::CreateDatasetImportJobError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                        The name for the dataset import job.

                                                                                                                                                                                                                                                        pub fn job_name(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.job_name(input.into()); diff --git a/sdk/personalize/src/operation/create_event_tracker/builders.rs b/sdk/personalize/src/operation/create_event_tracker/builders.rs index 9a0b8804bf1e..5beece6ec8de 100644 --- a/sdk/personalize/src/operation/create_event_tracker/builders.rs +++ b/sdk/personalize/src/operation/create_event_tracker/builders.rs @@ -36,9 +36,9 @@ impl CreateEventTrackerFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -100,6 +100,22 @@ impl CreateEventTrackerFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::create_event_tracker::CreateEventTracker, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::create_event_tracker::CreateEventTrackerError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                        The name for the event tracker.

                                                                                                                                                                                                                                                        pub fn name(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.name(input.into()); diff --git a/sdk/personalize/src/operation/create_filter/builders.rs b/sdk/personalize/src/operation/create_filter/builders.rs index 99a36d017c00..a5df9705bb2f 100644 --- a/sdk/personalize/src/operation/create_filter/builders.rs +++ b/sdk/personalize/src/operation/create_filter/builders.rs @@ -19,9 +19,9 @@ impl CreateFilterFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl CreateFilterFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::create_filter::CreateFilter, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                        The name of the filter to create.

                                                                                                                                                                                                                                                        pub fn name(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.name(input.into()); diff --git a/sdk/personalize/src/operation/create_metric_attribution/builders.rs b/sdk/personalize/src/operation/create_metric_attribution/builders.rs index 5f24c0c6ea3b..c917553b963e 100644 --- a/sdk/personalize/src/operation/create_metric_attribution/builders.rs +++ b/sdk/personalize/src/operation/create_metric_attribution/builders.rs @@ -20,9 +20,9 @@ impl CreateMetricAttributionFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -84,6 +84,22 @@ impl CreateMetricAttributionFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::create_metric_attribution::CreateMetricAttribution, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::create_metric_attribution::CreateMetricAttributionError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                        A name for the metric attribution.

                                                                                                                                                                                                                                                        pub fn name(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.name(input.into()); diff --git a/sdk/personalize/src/operation/create_recommender/builders.rs b/sdk/personalize/src/operation/create_recommender/builders.rs index cc3e4fcca70d..e7bd50a9f84c 100644 --- a/sdk/personalize/src/operation/create_recommender/builders.rs +++ b/sdk/personalize/src/operation/create_recommender/builders.rs @@ -40,9 +40,9 @@ impl CreateRecommenderFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -104,6 +104,22 @@ impl CreateRecommenderFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::create_recommender::CreateRecommender, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::create_recommender::CreateRecommenderError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                        The name of the recommender.

                                                                                                                                                                                                                                                        pub fn name(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.name(input.into()); diff --git a/sdk/personalize/src/operation/create_schema/builders.rs b/sdk/personalize/src/operation/create_schema/builders.rs index 9a993772a712..2507bc2850f3 100644 --- a/sdk/personalize/src/operation/create_schema/builders.rs +++ b/sdk/personalize/src/operation/create_schema/builders.rs @@ -26,9 +26,9 @@ impl CreateSchemaFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -84,6 +84,20 @@ impl CreateSchemaFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::create_schema::CreateSchema, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                        The name for the schema.

                                                                                                                                                                                                                                                        pub fn name(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.name(input.into()); diff --git a/sdk/personalize/src/operation/create_solution/builders.rs b/sdk/personalize/src/operation/create_solution/builders.rs index 95660fd12820..826459802410 100644 --- a/sdk/personalize/src/operation/create_solution/builders.rs +++ b/sdk/personalize/src/operation/create_solution/builders.rs @@ -41,9 +41,9 @@ impl CreateSolutionFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -99,6 +99,20 @@ impl CreateSolutionFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::create_solution::CreateSolution, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                        The name for the solution.

                                                                                                                                                                                                                                                        pub fn name(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.name(input.into()); diff --git a/sdk/personalize/src/operation/create_solution_version/builders.rs b/sdk/personalize/src/operation/create_solution_version/builders.rs index 85c4208a69d6..a808793d9e5a 100644 --- a/sdk/personalize/src/operation/create_solution_version/builders.rs +++ b/sdk/personalize/src/operation/create_solution_version/builders.rs @@ -40,9 +40,9 @@ impl CreateSolutionVersionFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -104,6 +104,22 @@ impl CreateSolutionVersionFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::create_solution_version::CreateSolutionVersion, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::create_solution_version::CreateSolutionVersionError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                        The name of the solution version.

                                                                                                                                                                                                                                                        pub fn name(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.name(input.into()); diff --git a/sdk/personalize/src/operation/delete_campaign/builders.rs b/sdk/personalize/src/operation/delete_campaign/builders.rs index 20282dd186d8..ef988a76deec 100644 --- a/sdk/personalize/src/operation/delete_campaign/builders.rs +++ b/sdk/personalize/src/operation/delete_campaign/builders.rs @@ -19,9 +19,9 @@ impl DeleteCampaignFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl DeleteCampaignFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::delete_campaign::DeleteCampaign, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                        The Amazon Resource Name (ARN) of the campaign to delete.

                                                                                                                                                                                                                                                        pub fn campaign_arn(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.campaign_arn(input.into()); diff --git a/sdk/personalize/src/operation/delete_dataset/builders.rs b/sdk/personalize/src/operation/delete_dataset/builders.rs index ec87f1518ff1..05bf485706b6 100644 --- a/sdk/personalize/src/operation/delete_dataset/builders.rs +++ b/sdk/personalize/src/operation/delete_dataset/builders.rs @@ -19,9 +19,9 @@ impl DeleteDatasetFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl DeleteDatasetFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::delete_dataset::DeleteDataset, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                        The Amazon Resource Name (ARN) of the dataset to delete.

                                                                                                                                                                                                                                                        pub fn dataset_arn(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.dataset_arn(input.into()); diff --git a/sdk/personalize/src/operation/delete_dataset_group/builders.rs b/sdk/personalize/src/operation/delete_dataset_group/builders.rs index b3149151c012..2e10a794f429 100644 --- a/sdk/personalize/src/operation/delete_dataset_group/builders.rs +++ b/sdk/personalize/src/operation/delete_dataset_group/builders.rs @@ -24,9 +24,9 @@ impl DeleteDatasetGroupFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -88,6 +88,22 @@ impl DeleteDatasetGroupFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::delete_dataset_group::DeleteDatasetGroup, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::delete_dataset_group::DeleteDatasetGroupError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                        The ARN of the dataset group to delete.

                                                                                                                                                                                                                                                        pub fn dataset_group_arn( mut self, diff --git a/sdk/personalize/src/operation/delete_event_tracker/builders.rs b/sdk/personalize/src/operation/delete_event_tracker/builders.rs index af7b83808c63..d21ac2b1713b 100644 --- a/sdk/personalize/src/operation/delete_event_tracker/builders.rs +++ b/sdk/personalize/src/operation/delete_event_tracker/builders.rs @@ -19,9 +19,9 @@ impl DeleteEventTrackerFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl DeleteEventTrackerFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::delete_event_tracker::DeleteEventTracker, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::delete_event_tracker::DeleteEventTrackerError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                        The Amazon Resource Name (ARN) of the event tracker to delete.

                                                                                                                                                                                                                                                        pub fn event_tracker_arn( mut self, diff --git a/sdk/personalize/src/operation/delete_filter/builders.rs b/sdk/personalize/src/operation/delete_filter/builders.rs index b625bb919a8b..c8f0d49eb3f1 100644 --- a/sdk/personalize/src/operation/delete_filter/builders.rs +++ b/sdk/personalize/src/operation/delete_filter/builders.rs @@ -19,9 +19,9 @@ impl DeleteFilterFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl DeleteFilterFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::delete_filter::DeleteFilter, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                        The ARN of the filter to delete.

                                                                                                                                                                                                                                                        pub fn filter_arn(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.filter_arn(input.into()); diff --git a/sdk/personalize/src/operation/delete_metric_attribution/builders.rs b/sdk/personalize/src/operation/delete_metric_attribution/builders.rs index a982551ab880..49a44bb0166e 100644 --- a/sdk/personalize/src/operation/delete_metric_attribution/builders.rs +++ b/sdk/personalize/src/operation/delete_metric_attribution/builders.rs @@ -20,9 +20,9 @@ impl DeleteMetricAttributionFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -84,6 +84,22 @@ impl DeleteMetricAttributionFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::delete_metric_attribution::DeleteMetricAttribution, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::delete_metric_attribution::DeleteMetricAttributionError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                        The metric attribution's Amazon Resource Name (ARN).

                                                                                                                                                                                                                                                        pub fn metric_attribution_arn( mut self, diff --git a/sdk/personalize/src/operation/delete_recommender/builders.rs b/sdk/personalize/src/operation/delete_recommender/builders.rs index bac92c0d0e9e..e92c43f994d3 100644 --- a/sdk/personalize/src/operation/delete_recommender/builders.rs +++ b/sdk/personalize/src/operation/delete_recommender/builders.rs @@ -19,9 +19,9 @@ impl DeleteRecommenderFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl DeleteRecommenderFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::delete_recommender::DeleteRecommender, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::delete_recommender::DeleteRecommenderError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                        The Amazon Resource Name (ARN) of the recommender to delete.

                                                                                                                                                                                                                                                        pub fn recommender_arn( mut self, diff --git a/sdk/personalize/src/operation/delete_schema/builders.rs b/sdk/personalize/src/operation/delete_schema/builders.rs index cd9d368640a6..ed24149a5052 100644 --- a/sdk/personalize/src/operation/delete_schema/builders.rs +++ b/sdk/personalize/src/operation/delete_schema/builders.rs @@ -19,9 +19,9 @@ impl DeleteSchemaFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl DeleteSchemaFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::delete_schema::DeleteSchema, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                        The Amazon Resource Name (ARN) of the schema to delete.

                                                                                                                                                                                                                                                        pub fn schema_arn(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.schema_arn(input.into()); diff --git a/sdk/personalize/src/operation/delete_solution/builders.rs b/sdk/personalize/src/operation/delete_solution/builders.rs index e1ca95852938..03716f320507 100644 --- a/sdk/personalize/src/operation/delete_solution/builders.rs +++ b/sdk/personalize/src/operation/delete_solution/builders.rs @@ -19,9 +19,9 @@ impl DeleteSolutionFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl DeleteSolutionFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::delete_solution::DeleteSolution, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                        The ARN of the solution to delete.

                                                                                                                                                                                                                                                        pub fn solution_arn(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.solution_arn(input.into()); diff --git a/sdk/personalize/src/operation/describe_algorithm/builders.rs b/sdk/personalize/src/operation/describe_algorithm/builders.rs index 2f8a2c763a21..78cac50fc804 100644 --- a/sdk/personalize/src/operation/describe_algorithm/builders.rs +++ b/sdk/personalize/src/operation/describe_algorithm/builders.rs @@ -19,9 +19,9 @@ impl DescribeAlgorithmFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl DescribeAlgorithmFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::describe_algorithm::DescribeAlgorithm, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::describe_algorithm::DescribeAlgorithmError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                        The Amazon Resource Name (ARN) of the algorithm to describe.

                                                                                                                                                                                                                                                        pub fn algorithm_arn( mut self, diff --git a/sdk/personalize/src/operation/describe_batch_inference_job/builders.rs b/sdk/personalize/src/operation/describe_batch_inference_job/builders.rs index db80c0d3502e..d4d7e79938e5 100644 --- a/sdk/personalize/src/operation/describe_batch_inference_job/builders.rs +++ b/sdk/personalize/src/operation/describe_batch_inference_job/builders.rs @@ -19,9 +19,9 @@ impl DescribeBatchInferenceJobFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl DescribeBatchInferenceJobFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::describe_batch_inference_job::DescribeBatchInferenceJob, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::describe_batch_inference_job::DescribeBatchInferenceJobError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                        The ARN of the batch inference job to describe.

                                                                                                                                                                                                                                                        pub fn batch_inference_job_arn( mut self, diff --git a/sdk/personalize/src/operation/describe_batch_segment_job/builders.rs b/sdk/personalize/src/operation/describe_batch_segment_job/builders.rs index c999d3283c9f..2b9f7817f0de 100644 --- a/sdk/personalize/src/operation/describe_batch_segment_job/builders.rs +++ b/sdk/personalize/src/operation/describe_batch_segment_job/builders.rs @@ -20,9 +20,9 @@ impl DescribeBatchSegmentJobFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -84,6 +84,22 @@ impl DescribeBatchSegmentJobFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::describe_batch_segment_job::DescribeBatchSegmentJob, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::describe_batch_segment_job::DescribeBatchSegmentJobError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                        The ARN of the batch segment job to describe.

                                                                                                                                                                                                                                                        pub fn batch_segment_job_arn( mut self, diff --git a/sdk/personalize/src/operation/describe_campaign/builders.rs b/sdk/personalize/src/operation/describe_campaign/builders.rs index 7b3cc819efed..30da0c3b26ab 100644 --- a/sdk/personalize/src/operation/describe_campaign/builders.rs +++ b/sdk/personalize/src/operation/describe_campaign/builders.rs @@ -26,9 +26,9 @@ impl DescribeCampaignFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -90,6 +90,22 @@ impl DescribeCampaignFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::describe_campaign::DescribeCampaign, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::describe_campaign::DescribeCampaignError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                        The Amazon Resource Name (ARN) of the campaign.

                                                                                                                                                                                                                                                        pub fn campaign_arn(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.campaign_arn(input.into()); diff --git a/sdk/personalize/src/operation/describe_dataset/builders.rs b/sdk/personalize/src/operation/describe_dataset/builders.rs index caf5ec23b758..2f1042f639f4 100644 --- a/sdk/personalize/src/operation/describe_dataset/builders.rs +++ b/sdk/personalize/src/operation/describe_dataset/builders.rs @@ -19,9 +19,9 @@ impl DescribeDatasetFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl DescribeDatasetFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::describe_dataset::DescribeDataset, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::describe_dataset::DescribeDatasetError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                        The Amazon Resource Name (ARN) of the dataset to describe.

                                                                                                                                                                                                                                                        pub fn dataset_arn(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.dataset_arn(input.into()); diff --git a/sdk/personalize/src/operation/describe_dataset_export_job/builders.rs b/sdk/personalize/src/operation/describe_dataset_export_job/builders.rs index dbe10da072e3..0a50a5b459ec 100644 --- a/sdk/personalize/src/operation/describe_dataset_export_job/builders.rs +++ b/sdk/personalize/src/operation/describe_dataset_export_job/builders.rs @@ -19,9 +19,9 @@ impl DescribeDatasetExportJobFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl DescribeDatasetExportJobFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::describe_dataset_export_job::DescribeDatasetExportJob, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::describe_dataset_export_job::DescribeDatasetExportJobError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                        The Amazon Resource Name (ARN) of the dataset export job to describe.

                                                                                                                                                                                                                                                        pub fn dataset_export_job_arn( mut self, diff --git a/sdk/personalize/src/operation/describe_dataset_group/builders.rs b/sdk/personalize/src/operation/describe_dataset_group/builders.rs index 9c34753886dd..34e96a0961d2 100644 --- a/sdk/personalize/src/operation/describe_dataset_group/builders.rs +++ b/sdk/personalize/src/operation/describe_dataset_group/builders.rs @@ -19,9 +19,9 @@ impl DescribeDatasetGroupFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl DescribeDatasetGroupFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::describe_dataset_group::DescribeDatasetGroup, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::describe_dataset_group::DescribeDatasetGroupError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                        The Amazon Resource Name (ARN) of the dataset group to describe.

                                                                                                                                                                                                                                                        pub fn dataset_group_arn( mut self, diff --git a/sdk/personalize/src/operation/describe_dataset_import_job/builders.rs b/sdk/personalize/src/operation/describe_dataset_import_job/builders.rs index a3e03ad8ef7d..25f50102b642 100644 --- a/sdk/personalize/src/operation/describe_dataset_import_job/builders.rs +++ b/sdk/personalize/src/operation/describe_dataset_import_job/builders.rs @@ -19,9 +19,9 @@ impl DescribeDatasetImportJobFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl DescribeDatasetImportJobFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::describe_dataset_import_job::DescribeDatasetImportJob, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::describe_dataset_import_job::DescribeDatasetImportJobError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                        The Amazon Resource Name (ARN) of the dataset import job to describe.

                                                                                                                                                                                                                                                        pub fn dataset_import_job_arn( mut self, diff --git a/sdk/personalize/src/operation/describe_event_tracker/builders.rs b/sdk/personalize/src/operation/describe_event_tracker/builders.rs index e5568e4d0a6c..d8730d5d25ce 100644 --- a/sdk/personalize/src/operation/describe_event_tracker/builders.rs +++ b/sdk/personalize/src/operation/describe_event_tracker/builders.rs @@ -19,9 +19,9 @@ impl DescribeEventTrackerFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl DescribeEventTrackerFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::describe_event_tracker::DescribeEventTracker, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::describe_event_tracker::DescribeEventTrackerError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                        The Amazon Resource Name (ARN) of the event tracker to describe.

                                                                                                                                                                                                                                                        pub fn event_tracker_arn( mut self, diff --git a/sdk/personalize/src/operation/describe_feature_transformation/builders.rs b/sdk/personalize/src/operation/describe_feature_transformation/builders.rs index 37fd3363ea72..abcaae4eb388 100644 --- a/sdk/personalize/src/operation/describe_feature_transformation/builders.rs +++ b/sdk/personalize/src/operation/describe_feature_transformation/builders.rs @@ -19,9 +19,9 @@ impl DescribeFeatureTransformationFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl DescribeFeatureTransformationFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::describe_feature_transformation::DescribeFeatureTransformation, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::describe_feature_transformation::DescribeFeatureTransformationError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                        The Amazon Resource Name (ARN) of the feature transformation to describe.

                                                                                                                                                                                                                                                        pub fn feature_transformation_arn( mut self, diff --git a/sdk/personalize/src/operation/describe_filter/builders.rs b/sdk/personalize/src/operation/describe_filter/builders.rs index 4f282ab7efd6..f8542946a544 100644 --- a/sdk/personalize/src/operation/describe_filter/builders.rs +++ b/sdk/personalize/src/operation/describe_filter/builders.rs @@ -19,9 +19,9 @@ impl DescribeFilterFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl DescribeFilterFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::describe_filter::DescribeFilter, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                        The ARN of the filter to describe.

                                                                                                                                                                                                                                                        pub fn filter_arn(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.filter_arn(input.into()); diff --git a/sdk/personalize/src/operation/describe_metric_attribution/builders.rs b/sdk/personalize/src/operation/describe_metric_attribution/builders.rs index 2035291c71ce..7bccb5f037cb 100644 --- a/sdk/personalize/src/operation/describe_metric_attribution/builders.rs +++ b/sdk/personalize/src/operation/describe_metric_attribution/builders.rs @@ -19,9 +19,9 @@ impl DescribeMetricAttributionFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl DescribeMetricAttributionFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::describe_metric_attribution::DescribeMetricAttribution, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::describe_metric_attribution::DescribeMetricAttributionError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                        The metric attribution's Amazon Resource Name (ARN).

                                                                                                                                                                                                                                                        pub fn metric_attribution_arn( mut self, diff --git a/sdk/personalize/src/operation/describe_recipe/builders.rs b/sdk/personalize/src/operation/describe_recipe/builders.rs index b48d85316879..621e2005cae7 100644 --- a/sdk/personalize/src/operation/describe_recipe/builders.rs +++ b/sdk/personalize/src/operation/describe_recipe/builders.rs @@ -26,9 +26,9 @@ impl DescribeRecipeFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -84,6 +84,20 @@ impl DescribeRecipeFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::describe_recipe::DescribeRecipe, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                        The Amazon Resource Name (ARN) of the recipe to describe.

                                                                                                                                                                                                                                                        pub fn recipe_arn(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.recipe_arn(input.into()); diff --git a/sdk/personalize/src/operation/describe_recommender/builders.rs b/sdk/personalize/src/operation/describe_recommender/builders.rs index 2b61cbe5294e..93899fbac6c1 100644 --- a/sdk/personalize/src/operation/describe_recommender/builders.rs +++ b/sdk/personalize/src/operation/describe_recommender/builders.rs @@ -28,9 +28,9 @@ impl DescribeRecommenderFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -92,6 +92,22 @@ impl DescribeRecommenderFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::describe_recommender::DescribeRecommender, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::describe_recommender::DescribeRecommenderError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                        The Amazon Resource Name (ARN) of the recommender to describe.

                                                                                                                                                                                                                                                        pub fn recommender_arn( mut self, diff --git a/sdk/personalize/src/operation/describe_schema/builders.rs b/sdk/personalize/src/operation/describe_schema/builders.rs index 15adcfcf7eb9..ab9462481ffc 100644 --- a/sdk/personalize/src/operation/describe_schema/builders.rs +++ b/sdk/personalize/src/operation/describe_schema/builders.rs @@ -19,9 +19,9 @@ impl DescribeSchemaFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl DescribeSchemaFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::describe_schema::DescribeSchema, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                        The Amazon Resource Name (ARN) of the schema to retrieve.

                                                                                                                                                                                                                                                        pub fn schema_arn(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.schema_arn(input.into()); diff --git a/sdk/personalize/src/operation/describe_solution/builders.rs b/sdk/personalize/src/operation/describe_solution/builders.rs index d725d8dd7fb5..3d6dd702c062 100644 --- a/sdk/personalize/src/operation/describe_solution/builders.rs +++ b/sdk/personalize/src/operation/describe_solution/builders.rs @@ -19,9 +19,9 @@ impl DescribeSolutionFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl DescribeSolutionFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::describe_solution::DescribeSolution, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::describe_solution::DescribeSolutionError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                        The Amazon Resource Name (ARN) of the solution to describe.

                                                                                                                                                                                                                                                        pub fn solution_arn(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.solution_arn(input.into()); diff --git a/sdk/personalize/src/operation/describe_solution_version/builders.rs b/sdk/personalize/src/operation/describe_solution_version/builders.rs index 1f0e164ec59f..2a296b388b5d 100644 --- a/sdk/personalize/src/operation/describe_solution_version/builders.rs +++ b/sdk/personalize/src/operation/describe_solution_version/builders.rs @@ -20,9 +20,9 @@ impl DescribeSolutionVersionFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -84,6 +84,22 @@ impl DescribeSolutionVersionFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::describe_solution_version::DescribeSolutionVersion, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::describe_solution_version::DescribeSolutionVersionError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                        The Amazon Resource Name (ARN) of the solution version.

                                                                                                                                                                                                                                                        pub fn solution_version_arn( mut self, diff --git a/sdk/personalize/src/operation/get_solution_metrics/builders.rs b/sdk/personalize/src/operation/get_solution_metrics/builders.rs index 9064eb1d8e4e..8cf3c108aed4 100644 --- a/sdk/personalize/src/operation/get_solution_metrics/builders.rs +++ b/sdk/personalize/src/operation/get_solution_metrics/builders.rs @@ -19,9 +19,9 @@ impl GetSolutionMetricsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl GetSolutionMetricsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::get_solution_metrics::GetSolutionMetrics, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::get_solution_metrics::GetSolutionMetricsError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                        The Amazon Resource Name (ARN) of the solution version for which to get metrics.

                                                                                                                                                                                                                                                        pub fn solution_version_arn( mut self, diff --git a/sdk/personalize/src/operation/list_batch_inference_jobs/builders.rs b/sdk/personalize/src/operation/list_batch_inference_jobs/builders.rs index 533fd15e12ee..f8037f7f8bb7 100644 --- a/sdk/personalize/src/operation/list_batch_inference_jobs/builders.rs +++ b/sdk/personalize/src/operation/list_batch_inference_jobs/builders.rs @@ -20,9 +20,9 @@ impl ListBatchInferenceJobsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -84,6 +84,22 @@ impl ListBatchInferenceJobsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_batch_inference_jobs::ListBatchInferenceJobs, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::list_batch_inference_jobs::ListBatchInferenceJobsError, + >, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::list_batch_inference_jobs::paginator::ListBatchInferenceJobsPaginator::send) which returns a `Stream`. diff --git a/sdk/personalize/src/operation/list_batch_segment_jobs/builders.rs b/sdk/personalize/src/operation/list_batch_segment_jobs/builders.rs index acf767f892f9..fd59eb455697 100644 --- a/sdk/personalize/src/operation/list_batch_segment_jobs/builders.rs +++ b/sdk/personalize/src/operation/list_batch_segment_jobs/builders.rs @@ -19,9 +19,9 @@ impl ListBatchSegmentJobsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl ListBatchSegmentJobsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_batch_segment_jobs::ListBatchSegmentJobs, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::list_batch_segment_jobs::ListBatchSegmentJobsError, + >, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::list_batch_segment_jobs::paginator::ListBatchSegmentJobsPaginator::send) which returns a `Stream`. diff --git a/sdk/personalize/src/operation/list_campaigns/builders.rs b/sdk/personalize/src/operation/list_campaigns/builders.rs index c6d52a30c627..bb00cb686451 100644 --- a/sdk/personalize/src/operation/list_campaigns/builders.rs +++ b/sdk/personalize/src/operation/list_campaigns/builders.rs @@ -19,9 +19,9 @@ impl ListCampaignsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl ListCampaignsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_campaigns::ListCampaigns, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::list_campaigns::paginator::ListCampaignsPaginator::send) which returns a `Stream`. diff --git a/sdk/personalize/src/operation/list_dataset_export_jobs/builders.rs b/sdk/personalize/src/operation/list_dataset_export_jobs/builders.rs index 70f857e835c0..f0a9084d46a0 100644 --- a/sdk/personalize/src/operation/list_dataset_export_jobs/builders.rs +++ b/sdk/personalize/src/operation/list_dataset_export_jobs/builders.rs @@ -19,9 +19,9 @@ impl ListDatasetExportJobsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl ListDatasetExportJobsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_dataset_export_jobs::ListDatasetExportJobs, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::list_dataset_export_jobs::ListDatasetExportJobsError, + >, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::list_dataset_export_jobs::paginator::ListDatasetExportJobsPaginator::send) which returns a `Stream`. diff --git a/sdk/personalize/src/operation/list_dataset_groups/builders.rs b/sdk/personalize/src/operation/list_dataset_groups/builders.rs index a3bba571d176..e222d651fe7f 100644 --- a/sdk/personalize/src/operation/list_dataset_groups/builders.rs +++ b/sdk/personalize/src/operation/list_dataset_groups/builders.rs @@ -19,9 +19,9 @@ impl ListDatasetGroupsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl ListDatasetGroupsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_dataset_groups::ListDatasetGroups, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::list_dataset_groups::ListDatasetGroupsError, + >, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::list_dataset_groups::paginator::ListDatasetGroupsPaginator::send) which returns a `Stream`. diff --git a/sdk/personalize/src/operation/list_dataset_import_jobs/builders.rs b/sdk/personalize/src/operation/list_dataset_import_jobs/builders.rs index 5df7a38f9a1b..edc96c56fb4a 100644 --- a/sdk/personalize/src/operation/list_dataset_import_jobs/builders.rs +++ b/sdk/personalize/src/operation/list_dataset_import_jobs/builders.rs @@ -19,9 +19,9 @@ impl ListDatasetImportJobsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl ListDatasetImportJobsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_dataset_import_jobs::ListDatasetImportJobs, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::list_dataset_import_jobs::ListDatasetImportJobsError, + >, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::list_dataset_import_jobs::paginator::ListDatasetImportJobsPaginator::send) which returns a `Stream`. diff --git a/sdk/personalize/src/operation/list_datasets/builders.rs b/sdk/personalize/src/operation/list_datasets/builders.rs index b15bd15a2f39..2056015ea66a 100644 --- a/sdk/personalize/src/operation/list_datasets/builders.rs +++ b/sdk/personalize/src/operation/list_datasets/builders.rs @@ -19,9 +19,9 @@ impl ListDatasetsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl ListDatasetsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_datasets::ListDatasets, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::list_datasets::paginator::ListDatasetsPaginator::send) which returns a `Stream`. diff --git a/sdk/personalize/src/operation/list_event_trackers/builders.rs b/sdk/personalize/src/operation/list_event_trackers/builders.rs index c17fab91b8eb..b371b1242a02 100644 --- a/sdk/personalize/src/operation/list_event_trackers/builders.rs +++ b/sdk/personalize/src/operation/list_event_trackers/builders.rs @@ -19,9 +19,9 @@ impl ListEventTrackersFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl ListEventTrackersFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_event_trackers::ListEventTrackers, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::list_event_trackers::ListEventTrackersError, + >, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::list_event_trackers::paginator::ListEventTrackersPaginator::send) which returns a `Stream`. diff --git a/sdk/personalize/src/operation/list_filters/builders.rs b/sdk/personalize/src/operation/list_filters/builders.rs index fcd992a8378b..850c846be699 100644 --- a/sdk/personalize/src/operation/list_filters/builders.rs +++ b/sdk/personalize/src/operation/list_filters/builders.rs @@ -19,9 +19,9 @@ impl ListFiltersFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl ListFiltersFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_filters::ListFilters, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::list_filters::paginator::ListFiltersPaginator::send) which returns a `Stream`. diff --git a/sdk/personalize/src/operation/list_metric_attribution_metrics/builders.rs b/sdk/personalize/src/operation/list_metric_attribution_metrics/builders.rs index 19446c82c135..9ef7bde02f03 100644 --- a/sdk/personalize/src/operation/list_metric_attribution_metrics/builders.rs +++ b/sdk/personalize/src/operation/list_metric_attribution_metrics/builders.rs @@ -19,9 +19,9 @@ impl ListMetricAttributionMetricsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl ListMetricAttributionMetricsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_metric_attribution_metrics::ListMetricAttributionMetrics, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::list_metric_attribution_metrics::ListMetricAttributionMetricsError, + >, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::list_metric_attribution_metrics::paginator::ListMetricAttributionMetricsPaginator::send) which returns a `Stream`. diff --git a/sdk/personalize/src/operation/list_metric_attributions/builders.rs b/sdk/personalize/src/operation/list_metric_attributions/builders.rs index e39fe748c04f..74350f53ff33 100644 --- a/sdk/personalize/src/operation/list_metric_attributions/builders.rs +++ b/sdk/personalize/src/operation/list_metric_attributions/builders.rs @@ -19,9 +19,9 @@ impl ListMetricAttributionsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl ListMetricAttributionsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_metric_attributions::ListMetricAttributions, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::list_metric_attributions::ListMetricAttributionsError, + >, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::list_metric_attributions::paginator::ListMetricAttributionsPaginator::send) which returns a `Stream`. diff --git a/sdk/personalize/src/operation/list_recipes/builders.rs b/sdk/personalize/src/operation/list_recipes/builders.rs index 4fe863dad546..d816145c2072 100644 --- a/sdk/personalize/src/operation/list_recipes/builders.rs +++ b/sdk/personalize/src/operation/list_recipes/builders.rs @@ -19,9 +19,9 @@ impl ListRecipesFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl ListRecipesFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_recipes::ListRecipes, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::list_recipes::paginator::ListRecipesPaginator::send) which returns a `Stream`. diff --git a/sdk/personalize/src/operation/list_recommenders/builders.rs b/sdk/personalize/src/operation/list_recommenders/builders.rs index 86d771ffde66..6fffcfd9a20c 100644 --- a/sdk/personalize/src/operation/list_recommenders/builders.rs +++ b/sdk/personalize/src/operation/list_recommenders/builders.rs @@ -19,9 +19,9 @@ impl ListRecommendersFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl ListRecommendersFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_recommenders::ListRecommenders, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::list_recommenders::ListRecommendersError, + >, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::list_recommenders::paginator::ListRecommendersPaginator::send) which returns a `Stream`. diff --git a/sdk/personalize/src/operation/list_schemas/builders.rs b/sdk/personalize/src/operation/list_schemas/builders.rs index cf71cf6afa5e..6b8cc66c5ffe 100644 --- a/sdk/personalize/src/operation/list_schemas/builders.rs +++ b/sdk/personalize/src/operation/list_schemas/builders.rs @@ -19,9 +19,9 @@ impl ListSchemasFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl ListSchemasFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_schemas::ListSchemas, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::list_schemas::paginator::ListSchemasPaginator::send) which returns a `Stream`. diff --git a/sdk/personalize/src/operation/list_solution_versions/builders.rs b/sdk/personalize/src/operation/list_solution_versions/builders.rs index 70a30ddea5d9..c3641d0e3035 100644 --- a/sdk/personalize/src/operation/list_solution_versions/builders.rs +++ b/sdk/personalize/src/operation/list_solution_versions/builders.rs @@ -19,9 +19,9 @@ impl ListSolutionVersionsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl ListSolutionVersionsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_solution_versions::ListSolutionVersions, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::list_solution_versions::ListSolutionVersionsError, + >, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::list_solution_versions::paginator::ListSolutionVersionsPaginator::send) which returns a `Stream`. diff --git a/sdk/personalize/src/operation/list_solutions/builders.rs b/sdk/personalize/src/operation/list_solutions/builders.rs index f8ea192896dc..eecc8b995e2b 100644 --- a/sdk/personalize/src/operation/list_solutions/builders.rs +++ b/sdk/personalize/src/operation/list_solutions/builders.rs @@ -19,9 +19,9 @@ impl ListSolutionsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl ListSolutionsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_solutions::ListSolutions, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::list_solutions::paginator::ListSolutionsPaginator::send) which returns a `Stream`. diff --git a/sdk/personalize/src/operation/list_tags_for_resource/builders.rs b/sdk/personalize/src/operation/list_tags_for_resource/builders.rs index 119a1a94ece5..69ccbe2581d9 100644 --- a/sdk/personalize/src/operation/list_tags_for_resource/builders.rs +++ b/sdk/personalize/src/operation/list_tags_for_resource/builders.rs @@ -19,9 +19,9 @@ impl ListTagsForResourceFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl ListTagsForResourceFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_tags_for_resource::ListTagsForResource, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::list_tags_for_resource::ListTagsForResourceError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                        The resource's Amazon Resource Name.

                                                                                                                                                                                                                                                        pub fn resource_arn(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.resource_arn(input.into()); diff --git a/sdk/personalize/src/operation/start_recommender/builders.rs b/sdk/personalize/src/operation/start_recommender/builders.rs index 61bbdb3e606e..65d3a7d82452 100644 --- a/sdk/personalize/src/operation/start_recommender/builders.rs +++ b/sdk/personalize/src/operation/start_recommender/builders.rs @@ -19,9 +19,9 @@ impl StartRecommenderFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl StartRecommenderFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::start_recommender::StartRecommender, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::start_recommender::StartRecommenderError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                        The Amazon Resource Name (ARN) of the recommender to start.

                                                                                                                                                                                                                                                        pub fn recommender_arn( mut self, diff --git a/sdk/personalize/src/operation/stop_recommender/builders.rs b/sdk/personalize/src/operation/stop_recommender/builders.rs index 0cf3a6d775f1..ba50718437d8 100644 --- a/sdk/personalize/src/operation/stop_recommender/builders.rs +++ b/sdk/personalize/src/operation/stop_recommender/builders.rs @@ -19,9 +19,9 @@ impl StopRecommenderFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl StopRecommenderFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::stop_recommender::StopRecommender, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::stop_recommender::StopRecommenderError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                        The Amazon Resource Name (ARN) of the recommender to stop.

                                                                                                                                                                                                                                                        pub fn recommender_arn( mut self, diff --git a/sdk/personalize/src/operation/stop_solution_version_creation/builders.rs b/sdk/personalize/src/operation/stop_solution_version_creation/builders.rs index e79e5009aa1a..a081f1223f75 100644 --- a/sdk/personalize/src/operation/stop_solution_version_creation/builders.rs +++ b/sdk/personalize/src/operation/stop_solution_version_creation/builders.rs @@ -25,9 +25,9 @@ impl StopSolutionVersionCreationFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -89,6 +89,22 @@ impl StopSolutionVersionCreationFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::stop_solution_version_creation::StopSolutionVersionCreation, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::stop_solution_version_creation::StopSolutionVersionCreationError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                        The Amazon Resource Name (ARN) of the solution version you want to stop creating.

                                                                                                                                                                                                                                                        pub fn solution_version_arn( mut self, diff --git a/sdk/personalize/src/operation/tag_resource/builders.rs b/sdk/personalize/src/operation/tag_resource/builders.rs index f5ee163fc0bc..bbb0b90b01b0 100644 --- a/sdk/personalize/src/operation/tag_resource/builders.rs +++ b/sdk/personalize/src/operation/tag_resource/builders.rs @@ -19,9 +19,9 @@ impl TagResourceFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl TagResourceFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::tag_resource::TagResource, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                        The resource's Amazon Resource Name (ARN).

                                                                                                                                                                                                                                                        pub fn resource_arn(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.resource_arn(input.into()); diff --git a/sdk/personalize/src/operation/untag_resource/builders.rs b/sdk/personalize/src/operation/untag_resource/builders.rs index fdaa2f9bd31c..b3b44b342eff 100644 --- a/sdk/personalize/src/operation/untag_resource/builders.rs +++ b/sdk/personalize/src/operation/untag_resource/builders.rs @@ -19,9 +19,9 @@ impl UntagResourceFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl UntagResourceFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::untag_resource::UntagResource, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                        The resource's Amazon Resource Name (ARN).

                                                                                                                                                                                                                                                        pub fn resource_arn(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.resource_arn(input.into()); diff --git a/sdk/personalize/src/operation/update_campaign/builders.rs b/sdk/personalize/src/operation/update_campaign/builders.rs index df2fd05f6ce9..9aa7665406de 100644 --- a/sdk/personalize/src/operation/update_campaign/builders.rs +++ b/sdk/personalize/src/operation/update_campaign/builders.rs @@ -23,9 +23,9 @@ impl UpdateCampaignFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -81,6 +81,20 @@ impl UpdateCampaignFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::update_campaign::UpdateCampaign, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                        The Amazon Resource Name (ARN) of the campaign.

                                                                                                                                                                                                                                                        pub fn campaign_arn(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.campaign_arn(input.into()); diff --git a/sdk/personalize/src/operation/update_metric_attribution/builders.rs b/sdk/personalize/src/operation/update_metric_attribution/builders.rs index ef36294ab554..1a438685bd6a 100644 --- a/sdk/personalize/src/operation/update_metric_attribution/builders.rs +++ b/sdk/personalize/src/operation/update_metric_attribution/builders.rs @@ -20,9 +20,9 @@ impl UpdateMetricAttributionFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -84,6 +84,22 @@ impl UpdateMetricAttributionFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::update_metric_attribution::UpdateMetricAttribution, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::update_metric_attribution::UpdateMetricAttributionError, + >, + > { + self.customize_middleware().await + } /// Appends an item to `addMetrics`. /// /// To override the contents of this collection use [`set_add_metrics`](Self::set_add_metrics). diff --git a/sdk/personalize/src/operation/update_recommender/builders.rs b/sdk/personalize/src/operation/update_recommender/builders.rs index 1691d20c6727..dfbe28b0c148 100644 --- a/sdk/personalize/src/operation/update_recommender/builders.rs +++ b/sdk/personalize/src/operation/update_recommender/builders.rs @@ -19,9 +19,9 @@ impl UpdateRecommenderFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl UpdateRecommenderFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::update_recommender::UpdateRecommender, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::update_recommender::UpdateRecommenderError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                        The Amazon Resource Name (ARN) of the recommender to modify.

                                                                                                                                                                                                                                                        pub fn recommender_arn( mut self, diff --git a/sdk/personalizeevents/src/operation/put_events/builders.rs b/sdk/personalizeevents/src/operation/put_events/builders.rs index 5161c36e2d9c..b372eacab6fa 100644 --- a/sdk/personalizeevents/src/operation/put_events/builders.rs +++ b/sdk/personalizeevents/src/operation/put_events/builders.rs @@ -19,9 +19,9 @@ impl PutEventsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl PutEventsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::put_events::PutEvents, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                        The tracking ID for the event. The ID is generated by a call to the CreateEventTracker API.

                                                                                                                                                                                                                                                        pub fn tracking_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.tracking_id(input.into()); diff --git a/sdk/personalizeevents/src/operation/put_items/builders.rs b/sdk/personalizeevents/src/operation/put_items/builders.rs index 239eb49944fd..80083cd47b5e 100644 --- a/sdk/personalizeevents/src/operation/put_items/builders.rs +++ b/sdk/personalizeevents/src/operation/put_items/builders.rs @@ -19,9 +19,9 @@ impl PutItemsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl PutItemsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::put_items::PutItems, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                        The Amazon Resource Name (ARN) of the Items dataset you are adding the item or items to.

                                                                                                                                                                                                                                                        pub fn dataset_arn(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.dataset_arn(input.into()); diff --git a/sdk/personalizeevents/src/operation/put_users/builders.rs b/sdk/personalizeevents/src/operation/put_users/builders.rs index c61187ada3b3..c18eeb59fe04 100644 --- a/sdk/personalizeevents/src/operation/put_users/builders.rs +++ b/sdk/personalizeevents/src/operation/put_users/builders.rs @@ -19,9 +19,9 @@ impl PutUsersFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl PutUsersFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::put_users::PutUsers, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                        The Amazon Resource Name (ARN) of the Users dataset you are adding the user or users to.

                                                                                                                                                                                                                                                        pub fn dataset_arn(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.dataset_arn(input.into()); diff --git a/sdk/personalizeruntime/src/operation/get_personalized_ranking/builders.rs b/sdk/personalizeruntime/src/operation/get_personalized_ranking/builders.rs index e926a52fccce..8cd1322fd0a6 100644 --- a/sdk/personalizeruntime/src/operation/get_personalized_ranking/builders.rs +++ b/sdk/personalizeruntime/src/operation/get_personalized_ranking/builders.rs @@ -21,9 +21,9 @@ impl GetPersonalizedRankingFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -85,6 +85,22 @@ impl GetPersonalizedRankingFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::get_personalized_ranking::GetPersonalizedRanking, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::get_personalized_ranking::GetPersonalizedRankingError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                        The Amazon Resource Name (ARN) of the campaign to use for generating the personalized ranking.

                                                                                                                                                                                                                                                        pub fn campaign_arn(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.campaign_arn(input.into()); diff --git a/sdk/personalizeruntime/src/operation/get_recommendations/builders.rs b/sdk/personalizeruntime/src/operation/get_recommendations/builders.rs index 903fee2d82df..344db8d2640d 100644 --- a/sdk/personalizeruntime/src/operation/get_recommendations/builders.rs +++ b/sdk/personalizeruntime/src/operation/get_recommendations/builders.rs @@ -26,9 +26,9 @@ impl GetRecommendationsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -90,6 +90,22 @@ impl GetRecommendationsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::get_recommendations::GetRecommendations, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::get_recommendations::GetRecommendationsError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                        The Amazon Resource Name (ARN) of the campaign to use for getting recommendations.

                                                                                                                                                                                                                                                        pub fn campaign_arn(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.campaign_arn(input.into()); diff --git a/sdk/pi/src/operation/describe_dimension_keys/builders.rs b/sdk/pi/src/operation/describe_dimension_keys/builders.rs index c01e1ea2887e..142a5bdcbcc5 100644 --- a/sdk/pi/src/operation/describe_dimension_keys/builders.rs +++ b/sdk/pi/src/operation/describe_dimension_keys/builders.rs @@ -21,9 +21,9 @@ impl DescribeDimensionKeysFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -85,6 +85,22 @@ impl DescribeDimensionKeysFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::describe_dimension_keys::DescribeDimensionKeys, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::describe_dimension_keys::DescribeDimensionKeysError, + >, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::describe_dimension_keys::paginator::DescribeDimensionKeysPaginator::send) which returns a `Stream`. diff --git a/sdk/pi/src/operation/get_dimension_key_details/builders.rs b/sdk/pi/src/operation/get_dimension_key_details/builders.rs index ebfeb637fd10..6d3f55d06172 100644 --- a/sdk/pi/src/operation/get_dimension_key_details/builders.rs +++ b/sdk/pi/src/operation/get_dimension_key_details/builders.rs @@ -20,9 +20,9 @@ impl GetDimensionKeyDetailsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -84,6 +84,22 @@ impl GetDimensionKeyDetailsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::get_dimension_key_details::GetDimensionKeyDetails, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::get_dimension_key_details::GetDimensionKeyDetailsError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                        The Amazon Web Services service for which Performance Insights returns data. The only valid value is RDS.

                                                                                                                                                                                                                                                        pub fn service_type(mut self, input: crate::types::ServiceType) -> Self { self.inner = self.inner.service_type(input); diff --git a/sdk/pi/src/operation/get_resource_metadata/builders.rs b/sdk/pi/src/operation/get_resource_metadata/builders.rs index c86ffd4e1eb6..0a4082ec5802 100644 --- a/sdk/pi/src/operation/get_resource_metadata/builders.rs +++ b/sdk/pi/src/operation/get_resource_metadata/builders.rs @@ -19,9 +19,9 @@ impl GetResourceMetadataFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl GetResourceMetadataFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::get_resource_metadata::GetResourceMetadata, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::get_resource_metadata::GetResourceMetadataError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                        The Amazon Web Services service for which Performance Insights returns metrics.

                                                                                                                                                                                                                                                        pub fn service_type(mut self, input: crate::types::ServiceType) -> Self { self.inner = self.inner.service_type(input); diff --git a/sdk/pi/src/operation/get_resource_metrics/builders.rs b/sdk/pi/src/operation/get_resource_metrics/builders.rs index 11eab1e05c7f..2c6b10a49aa4 100644 --- a/sdk/pi/src/operation/get_resource_metrics/builders.rs +++ b/sdk/pi/src/operation/get_resource_metrics/builders.rs @@ -21,9 +21,9 @@ impl GetResourceMetricsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -85,6 +85,22 @@ impl GetResourceMetricsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::get_resource_metrics::GetResourceMetrics, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::get_resource_metrics::GetResourceMetricsError, + >, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::get_resource_metrics::paginator::GetResourceMetricsPaginator::send) which returns a `Stream`. diff --git a/sdk/pi/src/operation/list_available_resource_dimensions/builders.rs b/sdk/pi/src/operation/list_available_resource_dimensions/builders.rs index 77ec931b9f8d..033b1e06c0d2 100644 --- a/sdk/pi/src/operation/list_available_resource_dimensions/builders.rs +++ b/sdk/pi/src/operation/list_available_resource_dimensions/builders.rs @@ -19,9 +19,9 @@ impl ListAvailableResourceDimensionsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize(self) -> ::std::result::Result< + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware(self) -> ::std::result::Result< crate::client::customize::CustomizableOperation, ::aws_smithy_http::result::SdkError >{ @@ -64,6 +64,15 @@ impl ListAvailableResourceDimensionsFluentBuilder { { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize(self) -> ::std::result::Result< + crate::client::customize::CustomizableOperation, + ::aws_smithy_http::result::SdkError + >{ + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::list_available_resource_dimensions::paginator::ListAvailableResourceDimensionsPaginator::send) which returns a `Stream`. diff --git a/sdk/pi/src/operation/list_available_resource_metrics/builders.rs b/sdk/pi/src/operation/list_available_resource_metrics/builders.rs index 75a264ac177f..13c969d0db3d 100644 --- a/sdk/pi/src/operation/list_available_resource_metrics/builders.rs +++ b/sdk/pi/src/operation/list_available_resource_metrics/builders.rs @@ -19,9 +19,9 @@ impl ListAvailableResourceMetricsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl ListAvailableResourceMetricsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_available_resource_metrics::ListAvailableResourceMetrics, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::list_available_resource_metrics::ListAvailableResourceMetricsError, + >, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::list_available_resource_metrics::paginator::ListAvailableResourceMetricsPaginator::send) which returns a `Stream`. diff --git a/sdk/pinpoint/src/operation/create_app/builders.rs b/sdk/pinpoint/src/operation/create_app/builders.rs index 553758460a6b..97ab0101d8a7 100644 --- a/sdk/pinpoint/src/operation/create_app/builders.rs +++ b/sdk/pinpoint/src/operation/create_app/builders.rs @@ -19,9 +19,9 @@ impl CreateAppFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl CreateAppFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::create_app::CreateApp, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                        Specifies the display name of an application and the tags to associate with the application.

                                                                                                                                                                                                                                                        pub fn create_application_request( mut self, diff --git a/sdk/pinpoint/src/operation/create_campaign/builders.rs b/sdk/pinpoint/src/operation/create_campaign/builders.rs index 2137f39a8b13..c6ad1d471609 100644 --- a/sdk/pinpoint/src/operation/create_campaign/builders.rs +++ b/sdk/pinpoint/src/operation/create_campaign/builders.rs @@ -19,9 +19,9 @@ impl CreateCampaignFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl CreateCampaignFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::create_campaign::CreateCampaign, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                        The unique identifier for the application. This identifier is displayed as the Project ID on the Amazon Pinpoint console.

                                                                                                                                                                                                                                                        pub fn application_id( mut self, diff --git a/sdk/pinpoint/src/operation/create_email_template/builders.rs b/sdk/pinpoint/src/operation/create_email_template/builders.rs index 266bb3fc4f74..0cffff6675ba 100644 --- a/sdk/pinpoint/src/operation/create_email_template/builders.rs +++ b/sdk/pinpoint/src/operation/create_email_template/builders.rs @@ -19,9 +19,9 @@ impl CreateEmailTemplateFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl CreateEmailTemplateFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::create_email_template::CreateEmailTemplate, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::create_email_template::CreateEmailTemplateError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                        Specifies the content and settings for a message template that can be used in messages that are sent through the email channel.

                                                                                                                                                                                                                                                        pub fn email_template_request(mut self, input: crate::types::EmailTemplateRequest) -> Self { self.inner = self.inner.email_template_request(input); diff --git a/sdk/pinpoint/src/operation/create_export_job/builders.rs b/sdk/pinpoint/src/operation/create_export_job/builders.rs index 7605332cdb1f..b78e14fa0deb 100644 --- a/sdk/pinpoint/src/operation/create_export_job/builders.rs +++ b/sdk/pinpoint/src/operation/create_export_job/builders.rs @@ -19,9 +19,9 @@ impl CreateExportJobFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl CreateExportJobFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::create_export_job::CreateExportJob, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::create_export_job::CreateExportJobError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                        The unique identifier for the application. This identifier is displayed as the Project ID on the Amazon Pinpoint console.

                                                                                                                                                                                                                                                        pub fn application_id( mut self, diff --git a/sdk/pinpoint/src/operation/create_import_job/builders.rs b/sdk/pinpoint/src/operation/create_import_job/builders.rs index eb3ea8e7b958..2a90fd980f0e 100644 --- a/sdk/pinpoint/src/operation/create_import_job/builders.rs +++ b/sdk/pinpoint/src/operation/create_import_job/builders.rs @@ -19,9 +19,9 @@ impl CreateImportJobFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl CreateImportJobFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::create_import_job::CreateImportJob, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::create_import_job::CreateImportJobError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                        The unique identifier for the application. This identifier is displayed as the Project ID on the Amazon Pinpoint console.

                                                                                                                                                                                                                                                        pub fn application_id( mut self, diff --git a/sdk/pinpoint/src/operation/create_in_app_template/builders.rs b/sdk/pinpoint/src/operation/create_in_app_template/builders.rs index 2d27ecb32827..eeae9624935d 100644 --- a/sdk/pinpoint/src/operation/create_in_app_template/builders.rs +++ b/sdk/pinpoint/src/operation/create_in_app_template/builders.rs @@ -19,9 +19,9 @@ impl CreateInAppTemplateFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl CreateInAppTemplateFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::create_in_app_template::CreateInAppTemplate, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::create_in_app_template::CreateInAppTemplateError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                        InApp Template Request.

                                                                                                                                                                                                                                                        pub fn in_app_template_request(mut self, input: crate::types::InAppTemplateRequest) -> Self { self.inner = self.inner.in_app_template_request(input); diff --git a/sdk/pinpoint/src/operation/create_journey/builders.rs b/sdk/pinpoint/src/operation/create_journey/builders.rs index b65ba8b28acd..6a6fc1c6420b 100644 --- a/sdk/pinpoint/src/operation/create_journey/builders.rs +++ b/sdk/pinpoint/src/operation/create_journey/builders.rs @@ -19,9 +19,9 @@ impl CreateJourneyFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl CreateJourneyFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::create_journey::CreateJourney, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                        The unique identifier for the application. This identifier is displayed as the Project ID on the Amazon Pinpoint console.

                                                                                                                                                                                                                                                        pub fn application_id( mut self, diff --git a/sdk/pinpoint/src/operation/create_push_template/builders.rs b/sdk/pinpoint/src/operation/create_push_template/builders.rs index 52c2157a0915..56c559e6410a 100644 --- a/sdk/pinpoint/src/operation/create_push_template/builders.rs +++ b/sdk/pinpoint/src/operation/create_push_template/builders.rs @@ -19,9 +19,9 @@ impl CreatePushTemplateFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl CreatePushTemplateFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::create_push_template::CreatePushTemplate, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::create_push_template::CreatePushTemplateError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                        Specifies the content and settings for a message template that can be used in messages that are sent through a push notification channel.

                                                                                                                                                                                                                                                        pub fn push_notification_template_request( mut self, diff --git a/sdk/pinpoint/src/operation/create_recommender_configuration/builders.rs b/sdk/pinpoint/src/operation/create_recommender_configuration/builders.rs index 86eff250a2f0..426831d8bf0d 100644 --- a/sdk/pinpoint/src/operation/create_recommender_configuration/builders.rs +++ b/sdk/pinpoint/src/operation/create_recommender_configuration/builders.rs @@ -19,9 +19,9 @@ impl CreateRecommenderConfigurationFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl CreateRecommenderConfigurationFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::create_recommender_configuration::CreateRecommenderConfiguration, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::create_recommender_configuration::CreateRecommenderConfigurationError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                        Specifies Amazon Pinpoint configuration settings for retrieving and processing recommendation data from a recommender model.

                                                                                                                                                                                                                                                        pub fn create_recommender_configuration( mut self, diff --git a/sdk/pinpoint/src/operation/create_segment/builders.rs b/sdk/pinpoint/src/operation/create_segment/builders.rs index 89c9d8cf864a..238b830ef27d 100644 --- a/sdk/pinpoint/src/operation/create_segment/builders.rs +++ b/sdk/pinpoint/src/operation/create_segment/builders.rs @@ -19,9 +19,9 @@ impl CreateSegmentFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl CreateSegmentFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::create_segment::CreateSegment, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                        The unique identifier for the application. This identifier is displayed as the Project ID on the Amazon Pinpoint console.

                                                                                                                                                                                                                                                        pub fn application_id( mut self, diff --git a/sdk/pinpoint/src/operation/create_sms_template/builders.rs b/sdk/pinpoint/src/operation/create_sms_template/builders.rs index efbe759082a4..1dfcc4515da3 100644 --- a/sdk/pinpoint/src/operation/create_sms_template/builders.rs +++ b/sdk/pinpoint/src/operation/create_sms_template/builders.rs @@ -19,9 +19,9 @@ impl CreateSmsTemplateFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl CreateSmsTemplateFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::create_sms_template::CreateSmsTemplate, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::create_sms_template::CreateSmsTemplateError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                        Specifies the content and settings for a message template that can be used in text messages that are sent through the SMS channel.

                                                                                                                                                                                                                                                        pub fn sms_template_request(mut self, input: crate::types::SmsTemplateRequest) -> Self { self.inner = self.inner.sms_template_request(input); diff --git a/sdk/pinpoint/src/operation/create_voice_template/builders.rs b/sdk/pinpoint/src/operation/create_voice_template/builders.rs index 556c1aa3ecb7..f8c2f4ed15a3 100644 --- a/sdk/pinpoint/src/operation/create_voice_template/builders.rs +++ b/sdk/pinpoint/src/operation/create_voice_template/builders.rs @@ -19,9 +19,9 @@ impl CreateVoiceTemplateFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl CreateVoiceTemplateFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::create_voice_template::CreateVoiceTemplate, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::create_voice_template::CreateVoiceTemplateError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                        The name of the message template. A template name must start with an alphanumeric character and can contain a maximum of 128 characters. The characters can be alphanumeric characters, underscores (_), or hyphens (-). Template names are case sensitive.

                                                                                                                                                                                                                                                        pub fn template_name( mut self, diff --git a/sdk/pinpoint/src/operation/delete_adm_channel/builders.rs b/sdk/pinpoint/src/operation/delete_adm_channel/builders.rs index 5952dc9dbb6c..e547b3a6922b 100644 --- a/sdk/pinpoint/src/operation/delete_adm_channel/builders.rs +++ b/sdk/pinpoint/src/operation/delete_adm_channel/builders.rs @@ -19,9 +19,9 @@ impl DeleteAdmChannelFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl DeleteAdmChannelFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::delete_adm_channel::DeleteAdmChannel, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::delete_adm_channel::DeleteAdmChannelError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                        The unique identifier for the application. This identifier is displayed as the Project ID on the Amazon Pinpoint console.

                                                                                                                                                                                                                                                        pub fn application_id( mut self, diff --git a/sdk/pinpoint/src/operation/delete_apns_channel/builders.rs b/sdk/pinpoint/src/operation/delete_apns_channel/builders.rs index acbe23b249f1..bd977dfc9b8c 100644 --- a/sdk/pinpoint/src/operation/delete_apns_channel/builders.rs +++ b/sdk/pinpoint/src/operation/delete_apns_channel/builders.rs @@ -19,9 +19,9 @@ impl DeleteApnsChannelFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl DeleteApnsChannelFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::delete_apns_channel::DeleteApnsChannel, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::delete_apns_channel::DeleteApnsChannelError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                        The unique identifier for the application. This identifier is displayed as the Project ID on the Amazon Pinpoint console.

                                                                                                                                                                                                                                                        pub fn application_id( mut self, diff --git a/sdk/pinpoint/src/operation/delete_apns_sandbox_channel/builders.rs b/sdk/pinpoint/src/operation/delete_apns_sandbox_channel/builders.rs index bd474b35e7f1..7508fd7cb87e 100644 --- a/sdk/pinpoint/src/operation/delete_apns_sandbox_channel/builders.rs +++ b/sdk/pinpoint/src/operation/delete_apns_sandbox_channel/builders.rs @@ -19,9 +19,9 @@ impl DeleteApnsSandboxChannelFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl DeleteApnsSandboxChannelFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::delete_apns_sandbox_channel::DeleteApnsSandboxChannel, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::delete_apns_sandbox_channel::DeleteApnsSandboxChannelError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                        The unique identifier for the application. This identifier is displayed as the Project ID on the Amazon Pinpoint console.

                                                                                                                                                                                                                                                        pub fn application_id( mut self, diff --git a/sdk/pinpoint/src/operation/delete_apns_voip_channel/builders.rs b/sdk/pinpoint/src/operation/delete_apns_voip_channel/builders.rs index e9972d651954..3521ccc25076 100644 --- a/sdk/pinpoint/src/operation/delete_apns_voip_channel/builders.rs +++ b/sdk/pinpoint/src/operation/delete_apns_voip_channel/builders.rs @@ -19,9 +19,9 @@ impl DeleteApnsVoipChannelFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl DeleteApnsVoipChannelFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::delete_apns_voip_channel::DeleteApnsVoipChannel, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::delete_apns_voip_channel::DeleteApnsVoipChannelError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                        The unique identifier for the application. This identifier is displayed as the Project ID on the Amazon Pinpoint console.

                                                                                                                                                                                                                                                        pub fn application_id( mut self, diff --git a/sdk/pinpoint/src/operation/delete_apns_voip_sandbox_channel/builders.rs b/sdk/pinpoint/src/operation/delete_apns_voip_sandbox_channel/builders.rs index e1916229ca9f..e9819c34ff5c 100644 --- a/sdk/pinpoint/src/operation/delete_apns_voip_sandbox_channel/builders.rs +++ b/sdk/pinpoint/src/operation/delete_apns_voip_sandbox_channel/builders.rs @@ -19,9 +19,9 @@ impl DeleteApnsVoipSandboxChannelFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl DeleteApnsVoipSandboxChannelFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::delete_apns_voip_sandbox_channel::DeleteApnsVoipSandboxChannel, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::delete_apns_voip_sandbox_channel::DeleteApnsVoipSandboxChannelError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                        The unique identifier for the application. This identifier is displayed as the Project ID on the Amazon Pinpoint console.

                                                                                                                                                                                                                                                        pub fn application_id( mut self, diff --git a/sdk/pinpoint/src/operation/delete_app/builders.rs b/sdk/pinpoint/src/operation/delete_app/builders.rs index cbfb3503b05e..8cf6d021b9c1 100644 --- a/sdk/pinpoint/src/operation/delete_app/builders.rs +++ b/sdk/pinpoint/src/operation/delete_app/builders.rs @@ -19,9 +19,9 @@ impl DeleteAppFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl DeleteAppFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::delete_app::DeleteApp, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                        The unique identifier for the application. This identifier is displayed as the Project ID on the Amazon Pinpoint console.

                                                                                                                                                                                                                                                        pub fn application_id( mut self, diff --git a/sdk/pinpoint/src/operation/delete_baidu_channel/builders.rs b/sdk/pinpoint/src/operation/delete_baidu_channel/builders.rs index 51f21aac84a1..218c73679b03 100644 --- a/sdk/pinpoint/src/operation/delete_baidu_channel/builders.rs +++ b/sdk/pinpoint/src/operation/delete_baidu_channel/builders.rs @@ -19,9 +19,9 @@ impl DeleteBaiduChannelFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl DeleteBaiduChannelFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::delete_baidu_channel::DeleteBaiduChannel, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::delete_baidu_channel::DeleteBaiduChannelError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                        The unique identifier for the application. This identifier is displayed as the Project ID on the Amazon Pinpoint console.

                                                                                                                                                                                                                                                        pub fn application_id( mut self, diff --git a/sdk/pinpoint/src/operation/delete_campaign/builders.rs b/sdk/pinpoint/src/operation/delete_campaign/builders.rs index 6539a6eed74f..a1e3ddcbadb5 100644 --- a/sdk/pinpoint/src/operation/delete_campaign/builders.rs +++ b/sdk/pinpoint/src/operation/delete_campaign/builders.rs @@ -19,9 +19,9 @@ impl DeleteCampaignFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl DeleteCampaignFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::delete_campaign::DeleteCampaign, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                        The unique identifier for the application. This identifier is displayed as the Project ID on the Amazon Pinpoint console.

                                                                                                                                                                                                                                                        pub fn application_id( mut self, diff --git a/sdk/pinpoint/src/operation/delete_email_channel/builders.rs b/sdk/pinpoint/src/operation/delete_email_channel/builders.rs index 2abe0ff3b33d..0df28e0e9c44 100644 --- a/sdk/pinpoint/src/operation/delete_email_channel/builders.rs +++ b/sdk/pinpoint/src/operation/delete_email_channel/builders.rs @@ -19,9 +19,9 @@ impl DeleteEmailChannelFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl DeleteEmailChannelFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::delete_email_channel::DeleteEmailChannel, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::delete_email_channel::DeleteEmailChannelError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                        The unique identifier for the application. This identifier is displayed as the Project ID on the Amazon Pinpoint console.

                                                                                                                                                                                                                                                        pub fn application_id( mut self, diff --git a/sdk/pinpoint/src/operation/delete_email_template/builders.rs b/sdk/pinpoint/src/operation/delete_email_template/builders.rs index c4afb5330f3a..041f1e4dd711 100644 --- a/sdk/pinpoint/src/operation/delete_email_template/builders.rs +++ b/sdk/pinpoint/src/operation/delete_email_template/builders.rs @@ -19,9 +19,9 @@ impl DeleteEmailTemplateFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl DeleteEmailTemplateFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::delete_email_template::DeleteEmailTemplate, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::delete_email_template::DeleteEmailTemplateError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                        The name of the message template. A template name must start with an alphanumeric character and can contain a maximum of 128 characters. The characters can be alphanumeric characters, underscores (_), or hyphens (-). Template names are case sensitive.

                                                                                                                                                                                                                                                        pub fn template_name( mut self, diff --git a/sdk/pinpoint/src/operation/delete_endpoint/builders.rs b/sdk/pinpoint/src/operation/delete_endpoint/builders.rs index 3c0a061055a6..a12737620c09 100644 --- a/sdk/pinpoint/src/operation/delete_endpoint/builders.rs +++ b/sdk/pinpoint/src/operation/delete_endpoint/builders.rs @@ -19,9 +19,9 @@ impl DeleteEndpointFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl DeleteEndpointFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::delete_endpoint::DeleteEndpoint, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                        The unique identifier for the application. This identifier is displayed as the Project ID on the Amazon Pinpoint console.

                                                                                                                                                                                                                                                        pub fn application_id( mut self, diff --git a/sdk/pinpoint/src/operation/delete_event_stream/builders.rs b/sdk/pinpoint/src/operation/delete_event_stream/builders.rs index cb34c49af653..71d90fbc3c85 100644 --- a/sdk/pinpoint/src/operation/delete_event_stream/builders.rs +++ b/sdk/pinpoint/src/operation/delete_event_stream/builders.rs @@ -19,9 +19,9 @@ impl DeleteEventStreamFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl DeleteEventStreamFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::delete_event_stream::DeleteEventStream, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::delete_event_stream::DeleteEventStreamError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                        The unique identifier for the application. This identifier is displayed as the Project ID on the Amazon Pinpoint console.

                                                                                                                                                                                                                                                        pub fn application_id( mut self, diff --git a/sdk/pinpoint/src/operation/delete_gcm_channel/builders.rs b/sdk/pinpoint/src/operation/delete_gcm_channel/builders.rs index b7d203871a89..d2e4ea9b921f 100644 --- a/sdk/pinpoint/src/operation/delete_gcm_channel/builders.rs +++ b/sdk/pinpoint/src/operation/delete_gcm_channel/builders.rs @@ -19,9 +19,9 @@ impl DeleteGcmChannelFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl DeleteGcmChannelFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::delete_gcm_channel::DeleteGcmChannel, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::delete_gcm_channel::DeleteGcmChannelError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                        The unique identifier for the application. This identifier is displayed as the Project ID on the Amazon Pinpoint console.

                                                                                                                                                                                                                                                        pub fn application_id( mut self, diff --git a/sdk/pinpoint/src/operation/delete_in_app_template/builders.rs b/sdk/pinpoint/src/operation/delete_in_app_template/builders.rs index c4b90758922e..d75aa2852194 100644 --- a/sdk/pinpoint/src/operation/delete_in_app_template/builders.rs +++ b/sdk/pinpoint/src/operation/delete_in_app_template/builders.rs @@ -19,9 +19,9 @@ impl DeleteInAppTemplateFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl DeleteInAppTemplateFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::delete_in_app_template::DeleteInAppTemplate, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::delete_in_app_template::DeleteInAppTemplateError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                        The name of the message template. A template name must start with an alphanumeric character and can contain a maximum of 128 characters. The characters can be alphanumeric characters, underscores (_), or hyphens (-). Template names are case sensitive.

                                                                                                                                                                                                                                                        pub fn template_name( mut self, diff --git a/sdk/pinpoint/src/operation/delete_journey/builders.rs b/sdk/pinpoint/src/operation/delete_journey/builders.rs index 166763fe5c8e..9f8dcd476df9 100644 --- a/sdk/pinpoint/src/operation/delete_journey/builders.rs +++ b/sdk/pinpoint/src/operation/delete_journey/builders.rs @@ -19,9 +19,9 @@ impl DeleteJourneyFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl DeleteJourneyFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::delete_journey::DeleteJourney, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                        The unique identifier for the application. This identifier is displayed as the Project ID on the Amazon Pinpoint console.

                                                                                                                                                                                                                                                        pub fn application_id( mut self, diff --git a/sdk/pinpoint/src/operation/delete_push_template/builders.rs b/sdk/pinpoint/src/operation/delete_push_template/builders.rs index 911544e05375..ceabee5e42a3 100644 --- a/sdk/pinpoint/src/operation/delete_push_template/builders.rs +++ b/sdk/pinpoint/src/operation/delete_push_template/builders.rs @@ -19,9 +19,9 @@ impl DeletePushTemplateFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl DeletePushTemplateFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::delete_push_template::DeletePushTemplate, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::delete_push_template::DeletePushTemplateError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                        The name of the message template. A template name must start with an alphanumeric character and can contain a maximum of 128 characters. The characters can be alphanumeric characters, underscores (_), or hyphens (-). Template names are case sensitive.

                                                                                                                                                                                                                                                        pub fn template_name( mut self, diff --git a/sdk/pinpoint/src/operation/delete_recommender_configuration/builders.rs b/sdk/pinpoint/src/operation/delete_recommender_configuration/builders.rs index 7d750046f348..1c495c8e5566 100644 --- a/sdk/pinpoint/src/operation/delete_recommender_configuration/builders.rs +++ b/sdk/pinpoint/src/operation/delete_recommender_configuration/builders.rs @@ -19,9 +19,9 @@ impl DeleteRecommenderConfigurationFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl DeleteRecommenderConfigurationFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::delete_recommender_configuration::DeleteRecommenderConfiguration, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::delete_recommender_configuration::DeleteRecommenderConfigurationError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                        The unique identifier for the recommender model configuration. This identifier is displayed as the Recommender ID on the Amazon Pinpoint console.

                                                                                                                                                                                                                                                        pub fn recommender_id( mut self, diff --git a/sdk/pinpoint/src/operation/delete_segment/builders.rs b/sdk/pinpoint/src/operation/delete_segment/builders.rs index fb9946a2b45e..9fe7a7a79be4 100644 --- a/sdk/pinpoint/src/operation/delete_segment/builders.rs +++ b/sdk/pinpoint/src/operation/delete_segment/builders.rs @@ -19,9 +19,9 @@ impl DeleteSegmentFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl DeleteSegmentFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::delete_segment::DeleteSegment, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                        The unique identifier for the application. This identifier is displayed as the Project ID on the Amazon Pinpoint console.

                                                                                                                                                                                                                                                        pub fn application_id( mut self, diff --git a/sdk/pinpoint/src/operation/delete_sms_channel/builders.rs b/sdk/pinpoint/src/operation/delete_sms_channel/builders.rs index e3d17d5290bd..29a3a118c96f 100644 --- a/sdk/pinpoint/src/operation/delete_sms_channel/builders.rs +++ b/sdk/pinpoint/src/operation/delete_sms_channel/builders.rs @@ -19,9 +19,9 @@ impl DeleteSmsChannelFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl DeleteSmsChannelFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::delete_sms_channel::DeleteSmsChannel, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::delete_sms_channel::DeleteSmsChannelError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                        The unique identifier for the application. This identifier is displayed as the Project ID on the Amazon Pinpoint console.

                                                                                                                                                                                                                                                        pub fn application_id( mut self, diff --git a/sdk/pinpoint/src/operation/delete_sms_template/builders.rs b/sdk/pinpoint/src/operation/delete_sms_template/builders.rs index ea3071a4ab9b..3a0c073c0e2c 100644 --- a/sdk/pinpoint/src/operation/delete_sms_template/builders.rs +++ b/sdk/pinpoint/src/operation/delete_sms_template/builders.rs @@ -19,9 +19,9 @@ impl DeleteSmsTemplateFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl DeleteSmsTemplateFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::delete_sms_template::DeleteSmsTemplate, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::delete_sms_template::DeleteSmsTemplateError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                        The name of the message template. A template name must start with an alphanumeric character and can contain a maximum of 128 characters. The characters can be alphanumeric characters, underscores (_), or hyphens (-). Template names are case sensitive.

                                                                                                                                                                                                                                                        pub fn template_name( mut self, diff --git a/sdk/pinpoint/src/operation/delete_user_endpoints/builders.rs b/sdk/pinpoint/src/operation/delete_user_endpoints/builders.rs index b27aae90f13b..b5f01bfeece8 100644 --- a/sdk/pinpoint/src/operation/delete_user_endpoints/builders.rs +++ b/sdk/pinpoint/src/operation/delete_user_endpoints/builders.rs @@ -19,9 +19,9 @@ impl DeleteUserEndpointsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl DeleteUserEndpointsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::delete_user_endpoints::DeleteUserEndpoints, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::delete_user_endpoints::DeleteUserEndpointsError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                        The unique identifier for the application. This identifier is displayed as the Project ID on the Amazon Pinpoint console.

                                                                                                                                                                                                                                                        pub fn application_id( mut self, diff --git a/sdk/pinpoint/src/operation/delete_voice_channel/builders.rs b/sdk/pinpoint/src/operation/delete_voice_channel/builders.rs index 5b4287aefb9b..bf18a9793ee2 100644 --- a/sdk/pinpoint/src/operation/delete_voice_channel/builders.rs +++ b/sdk/pinpoint/src/operation/delete_voice_channel/builders.rs @@ -19,9 +19,9 @@ impl DeleteVoiceChannelFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl DeleteVoiceChannelFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::delete_voice_channel::DeleteVoiceChannel, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::delete_voice_channel::DeleteVoiceChannelError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                        The unique identifier for the application. This identifier is displayed as the Project ID on the Amazon Pinpoint console.

                                                                                                                                                                                                                                                        pub fn application_id( mut self, diff --git a/sdk/pinpoint/src/operation/delete_voice_template/builders.rs b/sdk/pinpoint/src/operation/delete_voice_template/builders.rs index 79b055692dea..46486fd0efdd 100644 --- a/sdk/pinpoint/src/operation/delete_voice_template/builders.rs +++ b/sdk/pinpoint/src/operation/delete_voice_template/builders.rs @@ -19,9 +19,9 @@ impl DeleteVoiceTemplateFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl DeleteVoiceTemplateFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::delete_voice_template::DeleteVoiceTemplate, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::delete_voice_template::DeleteVoiceTemplateError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                        The name of the message template. A template name must start with an alphanumeric character and can contain a maximum of 128 characters. The characters can be alphanumeric characters, underscores (_), or hyphens (-). Template names are case sensitive.

                                                                                                                                                                                                                                                        pub fn template_name( mut self, diff --git a/sdk/pinpoint/src/operation/get_adm_channel/builders.rs b/sdk/pinpoint/src/operation/get_adm_channel/builders.rs index c74fd75601dd..4e39ea344a72 100644 --- a/sdk/pinpoint/src/operation/get_adm_channel/builders.rs +++ b/sdk/pinpoint/src/operation/get_adm_channel/builders.rs @@ -19,9 +19,9 @@ impl GetAdmChannelFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl GetAdmChannelFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::get_adm_channel::GetAdmChannel, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                        The unique identifier for the application. This identifier is displayed as the Project ID on the Amazon Pinpoint console.

                                                                                                                                                                                                                                                        pub fn application_id( mut self, diff --git a/sdk/pinpoint/src/operation/get_apns_channel/builders.rs b/sdk/pinpoint/src/operation/get_apns_channel/builders.rs index 98de66cffe81..74aac449a262 100644 --- a/sdk/pinpoint/src/operation/get_apns_channel/builders.rs +++ b/sdk/pinpoint/src/operation/get_apns_channel/builders.rs @@ -19,9 +19,9 @@ impl GetApnsChannelFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl GetApnsChannelFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::get_apns_channel::GetApnsChannel, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::get_apns_channel::GetApnsChannelError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                        The unique identifier for the application. This identifier is displayed as the Project ID on the Amazon Pinpoint console.

                                                                                                                                                                                                                                                        pub fn application_id( mut self, diff --git a/sdk/pinpoint/src/operation/get_apns_sandbox_channel/builders.rs b/sdk/pinpoint/src/operation/get_apns_sandbox_channel/builders.rs index 3dd637fd72a4..e521b25c3087 100644 --- a/sdk/pinpoint/src/operation/get_apns_sandbox_channel/builders.rs +++ b/sdk/pinpoint/src/operation/get_apns_sandbox_channel/builders.rs @@ -19,9 +19,9 @@ impl GetApnsSandboxChannelFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl GetApnsSandboxChannelFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::get_apns_sandbox_channel::GetApnsSandboxChannel, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::get_apns_sandbox_channel::GetApnsSandboxChannelError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                        The unique identifier for the application. This identifier is displayed as the Project ID on the Amazon Pinpoint console.

                                                                                                                                                                                                                                                        pub fn application_id( mut self, diff --git a/sdk/pinpoint/src/operation/get_apns_voip_channel/builders.rs b/sdk/pinpoint/src/operation/get_apns_voip_channel/builders.rs index 72f31149db83..728e753c920e 100644 --- a/sdk/pinpoint/src/operation/get_apns_voip_channel/builders.rs +++ b/sdk/pinpoint/src/operation/get_apns_voip_channel/builders.rs @@ -19,9 +19,9 @@ impl GetApnsVoipChannelFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl GetApnsVoipChannelFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::get_apns_voip_channel::GetApnsVoipChannel, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::get_apns_voip_channel::GetApnsVoipChannelError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                        The unique identifier for the application. This identifier is displayed as the Project ID on the Amazon Pinpoint console.

                                                                                                                                                                                                                                                        pub fn application_id( mut self, diff --git a/sdk/pinpoint/src/operation/get_apns_voip_sandbox_channel/builders.rs b/sdk/pinpoint/src/operation/get_apns_voip_sandbox_channel/builders.rs index fd9eddd72f4c..be74d77185f5 100644 --- a/sdk/pinpoint/src/operation/get_apns_voip_sandbox_channel/builders.rs +++ b/sdk/pinpoint/src/operation/get_apns_voip_sandbox_channel/builders.rs @@ -19,9 +19,9 @@ impl GetApnsVoipSandboxChannelFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl GetApnsVoipSandboxChannelFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::get_apns_voip_sandbox_channel::GetApnsVoipSandboxChannel, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::get_apns_voip_sandbox_channel::GetApnsVoipSandboxChannelError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                        The unique identifier for the application. This identifier is displayed as the Project ID on the Amazon Pinpoint console.

                                                                                                                                                                                                                                                        pub fn application_id( mut self, diff --git a/sdk/pinpoint/src/operation/get_app/builders.rs b/sdk/pinpoint/src/operation/get_app/builders.rs index 7233ca24a94b..8d471ec3544d 100644 --- a/sdk/pinpoint/src/operation/get_app/builders.rs +++ b/sdk/pinpoint/src/operation/get_app/builders.rs @@ -19,9 +19,9 @@ impl GetAppFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl GetAppFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::get_app::GetApp, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                        The unique identifier for the application. This identifier is displayed as the Project ID on the Amazon Pinpoint console.

                                                                                                                                                                                                                                                        pub fn application_id( mut self, diff --git a/sdk/pinpoint/src/operation/get_application_date_range_kpi/builders.rs b/sdk/pinpoint/src/operation/get_application_date_range_kpi/builders.rs index 6147f9dc8280..4099be5f8dad 100644 --- a/sdk/pinpoint/src/operation/get_application_date_range_kpi/builders.rs +++ b/sdk/pinpoint/src/operation/get_application_date_range_kpi/builders.rs @@ -19,9 +19,9 @@ impl GetApplicationDateRangeKpiFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl GetApplicationDateRangeKpiFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::get_application_date_range_kpi::GetApplicationDateRangeKpi, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::get_application_date_range_kpi::GetApplicationDateRangeKpiError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                        The unique identifier for the application. This identifier is displayed as the Project ID on the Amazon Pinpoint console.

                                                                                                                                                                                                                                                        pub fn application_id( mut self, diff --git a/sdk/pinpoint/src/operation/get_application_settings/builders.rs b/sdk/pinpoint/src/operation/get_application_settings/builders.rs index 1643a10d02e7..50b7032e783d 100644 --- a/sdk/pinpoint/src/operation/get_application_settings/builders.rs +++ b/sdk/pinpoint/src/operation/get_application_settings/builders.rs @@ -19,9 +19,9 @@ impl GetApplicationSettingsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl GetApplicationSettingsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::get_application_settings::GetApplicationSettings, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::get_application_settings::GetApplicationSettingsError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                        The unique identifier for the application. This identifier is displayed as the Project ID on the Amazon Pinpoint console.

                                                                                                                                                                                                                                                        pub fn application_id( mut self, diff --git a/sdk/pinpoint/src/operation/get_apps/builders.rs b/sdk/pinpoint/src/operation/get_apps/builders.rs index 06f485747be4..85bc2fc0f1b5 100644 --- a/sdk/pinpoint/src/operation/get_apps/builders.rs +++ b/sdk/pinpoint/src/operation/get_apps/builders.rs @@ -19,9 +19,9 @@ impl GetAppsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl GetAppsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::get_apps::GetApps, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                        The maximum number of items to include in each page of a paginated response. This parameter is not supported for application, campaign, and journey metrics.

                                                                                                                                                                                                                                                        pub fn page_size(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.page_size(input.into()); diff --git a/sdk/pinpoint/src/operation/get_baidu_channel/builders.rs b/sdk/pinpoint/src/operation/get_baidu_channel/builders.rs index 5e361b4234b1..38b3df62a8db 100644 --- a/sdk/pinpoint/src/operation/get_baidu_channel/builders.rs +++ b/sdk/pinpoint/src/operation/get_baidu_channel/builders.rs @@ -19,9 +19,9 @@ impl GetBaiduChannelFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl GetBaiduChannelFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::get_baidu_channel::GetBaiduChannel, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::get_baidu_channel::GetBaiduChannelError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                        The unique identifier for the application. This identifier is displayed as the Project ID on the Amazon Pinpoint console.

                                                                                                                                                                                                                                                        pub fn application_id( mut self, diff --git a/sdk/pinpoint/src/operation/get_campaign/builders.rs b/sdk/pinpoint/src/operation/get_campaign/builders.rs index 886952313cb3..1c22498764a6 100644 --- a/sdk/pinpoint/src/operation/get_campaign/builders.rs +++ b/sdk/pinpoint/src/operation/get_campaign/builders.rs @@ -19,9 +19,9 @@ impl GetCampaignFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl GetCampaignFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::get_campaign::GetCampaign, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                        The unique identifier for the application. This identifier is displayed as the Project ID on the Amazon Pinpoint console.

                                                                                                                                                                                                                                                        pub fn application_id( mut self, diff --git a/sdk/pinpoint/src/operation/get_campaign_activities/builders.rs b/sdk/pinpoint/src/operation/get_campaign_activities/builders.rs index f77a359e3d26..d59847d5ad1a 100644 --- a/sdk/pinpoint/src/operation/get_campaign_activities/builders.rs +++ b/sdk/pinpoint/src/operation/get_campaign_activities/builders.rs @@ -19,9 +19,9 @@ impl GetCampaignActivitiesFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl GetCampaignActivitiesFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::get_campaign_activities::GetCampaignActivities, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::get_campaign_activities::GetCampaignActivitiesError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                        The unique identifier for the application. This identifier is displayed as the Project ID on the Amazon Pinpoint console.

                                                                                                                                                                                                                                                        pub fn application_id( mut self, diff --git a/sdk/pinpoint/src/operation/get_campaign_date_range_kpi/builders.rs b/sdk/pinpoint/src/operation/get_campaign_date_range_kpi/builders.rs index 1626d8c44c64..26bbe96e5d35 100644 --- a/sdk/pinpoint/src/operation/get_campaign_date_range_kpi/builders.rs +++ b/sdk/pinpoint/src/operation/get_campaign_date_range_kpi/builders.rs @@ -19,9 +19,9 @@ impl GetCampaignDateRangeKpiFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl GetCampaignDateRangeKpiFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::get_campaign_date_range_kpi::GetCampaignDateRangeKpi, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::get_campaign_date_range_kpi::GetCampaignDateRangeKpiError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                        The unique identifier for the application. This identifier is displayed as the Project ID on the Amazon Pinpoint console.

                                                                                                                                                                                                                                                        pub fn application_id( mut self, diff --git a/sdk/pinpoint/src/operation/get_campaign_version/builders.rs b/sdk/pinpoint/src/operation/get_campaign_version/builders.rs index 95097d83c138..fb1b8b9daed0 100644 --- a/sdk/pinpoint/src/operation/get_campaign_version/builders.rs +++ b/sdk/pinpoint/src/operation/get_campaign_version/builders.rs @@ -19,9 +19,9 @@ impl GetCampaignVersionFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl GetCampaignVersionFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::get_campaign_version::GetCampaignVersion, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::get_campaign_version::GetCampaignVersionError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                        The unique identifier for the application. This identifier is displayed as the Project ID on the Amazon Pinpoint console.

                                                                                                                                                                                                                                                        pub fn application_id( mut self, diff --git a/sdk/pinpoint/src/operation/get_campaign_versions/builders.rs b/sdk/pinpoint/src/operation/get_campaign_versions/builders.rs index 54a86a0f7c28..bc21fba0faa5 100644 --- a/sdk/pinpoint/src/operation/get_campaign_versions/builders.rs +++ b/sdk/pinpoint/src/operation/get_campaign_versions/builders.rs @@ -19,9 +19,9 @@ impl GetCampaignVersionsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl GetCampaignVersionsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::get_campaign_versions::GetCampaignVersions, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::get_campaign_versions::GetCampaignVersionsError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                        The unique identifier for the application. This identifier is displayed as the Project ID on the Amazon Pinpoint console.

                                                                                                                                                                                                                                                        pub fn application_id( mut self, diff --git a/sdk/pinpoint/src/operation/get_campaigns/builders.rs b/sdk/pinpoint/src/operation/get_campaigns/builders.rs index b8abd337525d..e536aeaf6116 100644 --- a/sdk/pinpoint/src/operation/get_campaigns/builders.rs +++ b/sdk/pinpoint/src/operation/get_campaigns/builders.rs @@ -19,9 +19,9 @@ impl GetCampaignsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl GetCampaignsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::get_campaigns::GetCampaigns, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                        The unique identifier for the application. This identifier is displayed as the Project ID on the Amazon Pinpoint console.

                                                                                                                                                                                                                                                        pub fn application_id( mut self, diff --git a/sdk/pinpoint/src/operation/get_channels/builders.rs b/sdk/pinpoint/src/operation/get_channels/builders.rs index 75e045db86f2..059a1f7e9c10 100644 --- a/sdk/pinpoint/src/operation/get_channels/builders.rs +++ b/sdk/pinpoint/src/operation/get_channels/builders.rs @@ -19,9 +19,9 @@ impl GetChannelsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl GetChannelsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::get_channels::GetChannels, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                        The unique identifier for the application. This identifier is displayed as the Project ID on the Amazon Pinpoint console.

                                                                                                                                                                                                                                                        pub fn application_id( mut self, diff --git a/sdk/pinpoint/src/operation/get_email_channel/builders.rs b/sdk/pinpoint/src/operation/get_email_channel/builders.rs index 18901b40e37f..beb288270d78 100644 --- a/sdk/pinpoint/src/operation/get_email_channel/builders.rs +++ b/sdk/pinpoint/src/operation/get_email_channel/builders.rs @@ -19,9 +19,9 @@ impl GetEmailChannelFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl GetEmailChannelFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::get_email_channel::GetEmailChannel, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::get_email_channel::GetEmailChannelError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                        The unique identifier for the application. This identifier is displayed as the Project ID on the Amazon Pinpoint console.

                                                                                                                                                                                                                                                        pub fn application_id( mut self, diff --git a/sdk/pinpoint/src/operation/get_email_template/builders.rs b/sdk/pinpoint/src/operation/get_email_template/builders.rs index 3f0b84d8ef31..824b091044de 100644 --- a/sdk/pinpoint/src/operation/get_email_template/builders.rs +++ b/sdk/pinpoint/src/operation/get_email_template/builders.rs @@ -19,9 +19,9 @@ impl GetEmailTemplateFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl GetEmailTemplateFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::get_email_template::GetEmailTemplate, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::get_email_template::GetEmailTemplateError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                        The name of the message template. A template name must start with an alphanumeric character and can contain a maximum of 128 characters. The characters can be alphanumeric characters, underscores (_), or hyphens (-). Template names are case sensitive.

                                                                                                                                                                                                                                                        pub fn template_name( mut self, diff --git a/sdk/pinpoint/src/operation/get_endpoint/builders.rs b/sdk/pinpoint/src/operation/get_endpoint/builders.rs index 7b0decdf7979..3bf5578800f0 100644 --- a/sdk/pinpoint/src/operation/get_endpoint/builders.rs +++ b/sdk/pinpoint/src/operation/get_endpoint/builders.rs @@ -19,9 +19,9 @@ impl GetEndpointFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl GetEndpointFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::get_endpoint::GetEndpoint, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                        The unique identifier for the application. This identifier is displayed as the Project ID on the Amazon Pinpoint console.

                                                                                                                                                                                                                                                        pub fn application_id( mut self, diff --git a/sdk/pinpoint/src/operation/get_event_stream/builders.rs b/sdk/pinpoint/src/operation/get_event_stream/builders.rs index 263c17f17c89..69c3cbd84f7a 100644 --- a/sdk/pinpoint/src/operation/get_event_stream/builders.rs +++ b/sdk/pinpoint/src/operation/get_event_stream/builders.rs @@ -19,9 +19,9 @@ impl GetEventStreamFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl GetEventStreamFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::get_event_stream::GetEventStream, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::get_event_stream::GetEventStreamError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                        The unique identifier for the application. This identifier is displayed as the Project ID on the Amazon Pinpoint console.

                                                                                                                                                                                                                                                        pub fn application_id( mut self, diff --git a/sdk/pinpoint/src/operation/get_export_job/builders.rs b/sdk/pinpoint/src/operation/get_export_job/builders.rs index 372e851583df..0ddb0f079f4c 100644 --- a/sdk/pinpoint/src/operation/get_export_job/builders.rs +++ b/sdk/pinpoint/src/operation/get_export_job/builders.rs @@ -19,9 +19,9 @@ impl GetExportJobFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl GetExportJobFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::get_export_job::GetExportJob, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                        The unique identifier for the application. This identifier is displayed as the Project ID on the Amazon Pinpoint console.

                                                                                                                                                                                                                                                        pub fn application_id( mut self, diff --git a/sdk/pinpoint/src/operation/get_export_jobs/builders.rs b/sdk/pinpoint/src/operation/get_export_jobs/builders.rs index b66ec3f358f2..5a6a972f5752 100644 --- a/sdk/pinpoint/src/operation/get_export_jobs/builders.rs +++ b/sdk/pinpoint/src/operation/get_export_jobs/builders.rs @@ -19,9 +19,9 @@ impl GetExportJobsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl GetExportJobsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::get_export_jobs::GetExportJobs, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                        The unique identifier for the application. This identifier is displayed as the Project ID on the Amazon Pinpoint console.

                                                                                                                                                                                                                                                        pub fn application_id( mut self, diff --git a/sdk/pinpoint/src/operation/get_gcm_channel/builders.rs b/sdk/pinpoint/src/operation/get_gcm_channel/builders.rs index d675f416b19e..f82a897a67a4 100644 --- a/sdk/pinpoint/src/operation/get_gcm_channel/builders.rs +++ b/sdk/pinpoint/src/operation/get_gcm_channel/builders.rs @@ -19,9 +19,9 @@ impl GetGcmChannelFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl GetGcmChannelFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::get_gcm_channel::GetGcmChannel, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                        The unique identifier for the application. This identifier is displayed as the Project ID on the Amazon Pinpoint console.

                                                                                                                                                                                                                                                        pub fn application_id( mut self, diff --git a/sdk/pinpoint/src/operation/get_import_job/builders.rs b/sdk/pinpoint/src/operation/get_import_job/builders.rs index e2fa4e241712..eb99e3d03772 100644 --- a/sdk/pinpoint/src/operation/get_import_job/builders.rs +++ b/sdk/pinpoint/src/operation/get_import_job/builders.rs @@ -19,9 +19,9 @@ impl GetImportJobFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl GetImportJobFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::get_import_job::GetImportJob, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                        The unique identifier for the application. This identifier is displayed as the Project ID on the Amazon Pinpoint console.

                                                                                                                                                                                                                                                        pub fn application_id( mut self, diff --git a/sdk/pinpoint/src/operation/get_import_jobs/builders.rs b/sdk/pinpoint/src/operation/get_import_jobs/builders.rs index 0e0e0c44a31a..704db71c1d23 100644 --- a/sdk/pinpoint/src/operation/get_import_jobs/builders.rs +++ b/sdk/pinpoint/src/operation/get_import_jobs/builders.rs @@ -19,9 +19,9 @@ impl GetImportJobsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl GetImportJobsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::get_import_jobs::GetImportJobs, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                        The unique identifier for the application. This identifier is displayed as the Project ID on the Amazon Pinpoint console.

                                                                                                                                                                                                                                                        pub fn application_id( mut self, diff --git a/sdk/pinpoint/src/operation/get_in_app_messages/builders.rs b/sdk/pinpoint/src/operation/get_in_app_messages/builders.rs index 6423f106d5b6..7afb12175142 100644 --- a/sdk/pinpoint/src/operation/get_in_app_messages/builders.rs +++ b/sdk/pinpoint/src/operation/get_in_app_messages/builders.rs @@ -19,9 +19,9 @@ impl GetInAppMessagesFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl GetInAppMessagesFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::get_in_app_messages::GetInAppMessages, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::get_in_app_messages::GetInAppMessagesError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                        The unique identifier for the application. This identifier is displayed as the Project ID on the Amazon Pinpoint console.

                                                                                                                                                                                                                                                        pub fn application_id( mut self, diff --git a/sdk/pinpoint/src/operation/get_in_app_template/builders.rs b/sdk/pinpoint/src/operation/get_in_app_template/builders.rs index eb5a568a8f6b..47c0c8b84264 100644 --- a/sdk/pinpoint/src/operation/get_in_app_template/builders.rs +++ b/sdk/pinpoint/src/operation/get_in_app_template/builders.rs @@ -19,9 +19,9 @@ impl GetInAppTemplateFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl GetInAppTemplateFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::get_in_app_template::GetInAppTemplate, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::get_in_app_template::GetInAppTemplateError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                        The name of the message template. A template name must start with an alphanumeric character and can contain a maximum of 128 characters. The characters can be alphanumeric characters, underscores (_), or hyphens (-). Template names are case sensitive.

                                                                                                                                                                                                                                                        pub fn template_name( mut self, diff --git a/sdk/pinpoint/src/operation/get_journey/builders.rs b/sdk/pinpoint/src/operation/get_journey/builders.rs index 1f702f8833d6..90bf1032a9ec 100644 --- a/sdk/pinpoint/src/operation/get_journey/builders.rs +++ b/sdk/pinpoint/src/operation/get_journey/builders.rs @@ -19,9 +19,9 @@ impl GetJourneyFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl GetJourneyFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::get_journey::GetJourney, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                        The unique identifier for the application. This identifier is displayed as the Project ID on the Amazon Pinpoint console.

                                                                                                                                                                                                                                                        pub fn application_id( mut self, diff --git a/sdk/pinpoint/src/operation/get_journey_date_range_kpi/builders.rs b/sdk/pinpoint/src/operation/get_journey_date_range_kpi/builders.rs index 3c331eee61ca..3f3a28b68b52 100644 --- a/sdk/pinpoint/src/operation/get_journey_date_range_kpi/builders.rs +++ b/sdk/pinpoint/src/operation/get_journey_date_range_kpi/builders.rs @@ -20,9 +20,9 @@ impl GetJourneyDateRangeKpiFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -84,6 +84,22 @@ impl GetJourneyDateRangeKpiFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::get_journey_date_range_kpi::GetJourneyDateRangeKpi, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::get_journey_date_range_kpi::GetJourneyDateRangeKpiError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                        The unique identifier for the application. This identifier is displayed as the Project ID on the Amazon Pinpoint console.

                                                                                                                                                                                                                                                        pub fn application_id( mut self, diff --git a/sdk/pinpoint/src/operation/get_journey_execution_activity_metrics/builders.rs b/sdk/pinpoint/src/operation/get_journey_execution_activity_metrics/builders.rs index 5baf04135d1c..f3a561e00e88 100644 --- a/sdk/pinpoint/src/operation/get_journey_execution_activity_metrics/builders.rs +++ b/sdk/pinpoint/src/operation/get_journey_execution_activity_metrics/builders.rs @@ -19,9 +19,9 @@ impl GetJourneyExecutionActivityMetricsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize(self) -> ::std::result::Result< + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware(self) -> ::std::result::Result< crate::client::customize::CustomizableOperation, ::aws_smithy_http::result::SdkError >{ @@ -64,6 +64,15 @@ impl GetJourneyExecutionActivityMetricsFluentBuilder { { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize(self) -> ::std::result::Result< + crate::client::customize::CustomizableOperation, + ::aws_smithy_http::result::SdkError + >{ + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                        The unique identifier for the application. This identifier is displayed as the Project ID on the Amazon Pinpoint console.

                                                                                                                                                                                                                                                        pub fn application_id( mut self, diff --git a/sdk/pinpoint/src/operation/get_journey_execution_metrics/builders.rs b/sdk/pinpoint/src/operation/get_journey_execution_metrics/builders.rs index 5cc778e3f015..cdd2069fc809 100644 --- a/sdk/pinpoint/src/operation/get_journey_execution_metrics/builders.rs +++ b/sdk/pinpoint/src/operation/get_journey_execution_metrics/builders.rs @@ -19,9 +19,9 @@ impl GetJourneyExecutionMetricsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl GetJourneyExecutionMetricsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::get_journey_execution_metrics::GetJourneyExecutionMetrics, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::get_journey_execution_metrics::GetJourneyExecutionMetricsError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                        The unique identifier for the application. This identifier is displayed as the Project ID on the Amazon Pinpoint console.

                                                                                                                                                                                                                                                        pub fn application_id( mut self, diff --git a/sdk/pinpoint/src/operation/get_journey_run_execution_activity_metrics/builders.rs b/sdk/pinpoint/src/operation/get_journey_run_execution_activity_metrics/builders.rs index 8f47ad20dda6..5360dc5c4f35 100644 --- a/sdk/pinpoint/src/operation/get_journey_run_execution_activity_metrics/builders.rs +++ b/sdk/pinpoint/src/operation/get_journey_run_execution_activity_metrics/builders.rs @@ -19,9 +19,9 @@ impl GetJourneyRunExecutionActivityMetricsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize(self) -> ::std::result::Result< + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware(self) -> ::std::result::Result< crate::client::customize::CustomizableOperation, ::aws_smithy_http::result::SdkError >{ @@ -64,6 +64,15 @@ impl GetJourneyRunExecutionActivityMetricsFluentBuilder { { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize(self) -> ::std::result::Result< + crate::client::customize::CustomizableOperation, + ::aws_smithy_http::result::SdkError + >{ + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                        The unique identifier for the application. This identifier is displayed as the Project ID on the Amazon Pinpoint console.

                                                                                                                                                                                                                                                        pub fn application_id( mut self, diff --git a/sdk/pinpoint/src/operation/get_journey_run_execution_metrics/builders.rs b/sdk/pinpoint/src/operation/get_journey_run_execution_metrics/builders.rs index 16f038661494..c0dd9595785d 100644 --- a/sdk/pinpoint/src/operation/get_journey_run_execution_metrics/builders.rs +++ b/sdk/pinpoint/src/operation/get_journey_run_execution_metrics/builders.rs @@ -19,9 +19,9 @@ impl GetJourneyRunExecutionMetricsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl GetJourneyRunExecutionMetricsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::get_journey_run_execution_metrics::GetJourneyRunExecutionMetrics, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::get_journey_run_execution_metrics::GetJourneyRunExecutionMetricsError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                        The unique identifier for the application. This identifier is displayed as the Project ID on the Amazon Pinpoint console.

                                                                                                                                                                                                                                                        pub fn application_id( mut self, diff --git a/sdk/pinpoint/src/operation/get_journey_runs/builders.rs b/sdk/pinpoint/src/operation/get_journey_runs/builders.rs index a5dd85261a30..5cfcf8176ed3 100644 --- a/sdk/pinpoint/src/operation/get_journey_runs/builders.rs +++ b/sdk/pinpoint/src/operation/get_journey_runs/builders.rs @@ -19,9 +19,9 @@ impl GetJourneyRunsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl GetJourneyRunsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::get_journey_runs::GetJourneyRuns, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::get_journey_runs::GetJourneyRunsError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                        The unique identifier for the application. This identifier is displayed as the Project ID on the Amazon Pinpoint console.

                                                                                                                                                                                                                                                        pub fn application_id( mut self, diff --git a/sdk/pinpoint/src/operation/get_push_template/builders.rs b/sdk/pinpoint/src/operation/get_push_template/builders.rs index afd064e0e1ed..5136c50ae7a9 100644 --- a/sdk/pinpoint/src/operation/get_push_template/builders.rs +++ b/sdk/pinpoint/src/operation/get_push_template/builders.rs @@ -19,9 +19,9 @@ impl GetPushTemplateFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl GetPushTemplateFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::get_push_template::GetPushTemplate, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::get_push_template::GetPushTemplateError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                        The name of the message template. A template name must start with an alphanumeric character and can contain a maximum of 128 characters. The characters can be alphanumeric characters, underscores (_), or hyphens (-). Template names are case sensitive.

                                                                                                                                                                                                                                                        pub fn template_name( mut self, diff --git a/sdk/pinpoint/src/operation/get_recommender_configuration/builders.rs b/sdk/pinpoint/src/operation/get_recommender_configuration/builders.rs index 3ccc9f83c8e2..89836d6b7c0c 100644 --- a/sdk/pinpoint/src/operation/get_recommender_configuration/builders.rs +++ b/sdk/pinpoint/src/operation/get_recommender_configuration/builders.rs @@ -19,9 +19,9 @@ impl GetRecommenderConfigurationFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl GetRecommenderConfigurationFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::get_recommender_configuration::GetRecommenderConfiguration, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::get_recommender_configuration::GetRecommenderConfigurationError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                        The unique identifier for the recommender model configuration. This identifier is displayed as the Recommender ID on the Amazon Pinpoint console.

                                                                                                                                                                                                                                                        pub fn recommender_id( mut self, diff --git a/sdk/pinpoint/src/operation/get_recommender_configurations/builders.rs b/sdk/pinpoint/src/operation/get_recommender_configurations/builders.rs index da64553dff17..37ffd9c44b46 100644 --- a/sdk/pinpoint/src/operation/get_recommender_configurations/builders.rs +++ b/sdk/pinpoint/src/operation/get_recommender_configurations/builders.rs @@ -19,9 +19,9 @@ impl GetRecommenderConfigurationsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl GetRecommenderConfigurationsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::get_recommender_configurations::GetRecommenderConfigurations, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::get_recommender_configurations::GetRecommenderConfigurationsError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                        The maximum number of items to include in each page of a paginated response. This parameter is not supported for application, campaign, and journey metrics.

                                                                                                                                                                                                                                                        pub fn page_size(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.page_size(input.into()); diff --git a/sdk/pinpoint/src/operation/get_segment/builders.rs b/sdk/pinpoint/src/operation/get_segment/builders.rs index 2ff7c2a2c8f8..3588dbb590fe 100644 --- a/sdk/pinpoint/src/operation/get_segment/builders.rs +++ b/sdk/pinpoint/src/operation/get_segment/builders.rs @@ -19,9 +19,9 @@ impl GetSegmentFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl GetSegmentFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::get_segment::GetSegment, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                        The unique identifier for the application. This identifier is displayed as the Project ID on the Amazon Pinpoint console.

                                                                                                                                                                                                                                                        pub fn application_id( mut self, diff --git a/sdk/pinpoint/src/operation/get_segment_export_jobs/builders.rs b/sdk/pinpoint/src/operation/get_segment_export_jobs/builders.rs index 14d66233246e..31f82d83f137 100644 --- a/sdk/pinpoint/src/operation/get_segment_export_jobs/builders.rs +++ b/sdk/pinpoint/src/operation/get_segment_export_jobs/builders.rs @@ -19,9 +19,9 @@ impl GetSegmentExportJobsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl GetSegmentExportJobsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::get_segment_export_jobs::GetSegmentExportJobs, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::get_segment_export_jobs::GetSegmentExportJobsError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                        The unique identifier for the application. This identifier is displayed as the Project ID on the Amazon Pinpoint console.

                                                                                                                                                                                                                                                        pub fn application_id( mut self, diff --git a/sdk/pinpoint/src/operation/get_segment_import_jobs/builders.rs b/sdk/pinpoint/src/operation/get_segment_import_jobs/builders.rs index 72cee9aab076..3744dc1a7268 100644 --- a/sdk/pinpoint/src/operation/get_segment_import_jobs/builders.rs +++ b/sdk/pinpoint/src/operation/get_segment_import_jobs/builders.rs @@ -19,9 +19,9 @@ impl GetSegmentImportJobsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl GetSegmentImportJobsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::get_segment_import_jobs::GetSegmentImportJobs, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::get_segment_import_jobs::GetSegmentImportJobsError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                        The unique identifier for the application. This identifier is displayed as the Project ID on the Amazon Pinpoint console.

                                                                                                                                                                                                                                                        pub fn application_id( mut self, diff --git a/sdk/pinpoint/src/operation/get_segment_version/builders.rs b/sdk/pinpoint/src/operation/get_segment_version/builders.rs index 996583d201b1..be8108ce5c41 100644 --- a/sdk/pinpoint/src/operation/get_segment_version/builders.rs +++ b/sdk/pinpoint/src/operation/get_segment_version/builders.rs @@ -19,9 +19,9 @@ impl GetSegmentVersionFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl GetSegmentVersionFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::get_segment_version::GetSegmentVersion, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::get_segment_version::GetSegmentVersionError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                        The unique identifier for the application. This identifier is displayed as the Project ID on the Amazon Pinpoint console.

                                                                                                                                                                                                                                                        pub fn application_id( mut self, diff --git a/sdk/pinpoint/src/operation/get_segment_versions/builders.rs b/sdk/pinpoint/src/operation/get_segment_versions/builders.rs index 7e6b2b835afc..93c8bb7da24f 100644 --- a/sdk/pinpoint/src/operation/get_segment_versions/builders.rs +++ b/sdk/pinpoint/src/operation/get_segment_versions/builders.rs @@ -19,9 +19,9 @@ impl GetSegmentVersionsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl GetSegmentVersionsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::get_segment_versions::GetSegmentVersions, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::get_segment_versions::GetSegmentVersionsError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                        The unique identifier for the application. This identifier is displayed as the Project ID on the Amazon Pinpoint console.

                                                                                                                                                                                                                                                        pub fn application_id( mut self, diff --git a/sdk/pinpoint/src/operation/get_segments/builders.rs b/sdk/pinpoint/src/operation/get_segments/builders.rs index 0576b1b0a6c3..06c248a8904c 100644 --- a/sdk/pinpoint/src/operation/get_segments/builders.rs +++ b/sdk/pinpoint/src/operation/get_segments/builders.rs @@ -19,9 +19,9 @@ impl GetSegmentsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl GetSegmentsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::get_segments::GetSegments, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                        The unique identifier for the application. This identifier is displayed as the Project ID on the Amazon Pinpoint console.

                                                                                                                                                                                                                                                        pub fn application_id( mut self, diff --git a/sdk/pinpoint/src/operation/get_sms_channel/builders.rs b/sdk/pinpoint/src/operation/get_sms_channel/builders.rs index 5247bcc3103d..a6d487a5f459 100644 --- a/sdk/pinpoint/src/operation/get_sms_channel/builders.rs +++ b/sdk/pinpoint/src/operation/get_sms_channel/builders.rs @@ -19,9 +19,9 @@ impl GetSmsChannelFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl GetSmsChannelFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::get_sms_channel::GetSmsChannel, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                        The unique identifier for the application. This identifier is displayed as the Project ID on the Amazon Pinpoint console.

                                                                                                                                                                                                                                                        pub fn application_id( mut self, diff --git a/sdk/pinpoint/src/operation/get_sms_template/builders.rs b/sdk/pinpoint/src/operation/get_sms_template/builders.rs index 632809a4a3ab..48192be5b8da 100644 --- a/sdk/pinpoint/src/operation/get_sms_template/builders.rs +++ b/sdk/pinpoint/src/operation/get_sms_template/builders.rs @@ -19,9 +19,9 @@ impl GetSmsTemplateFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl GetSmsTemplateFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::get_sms_template::GetSmsTemplate, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::get_sms_template::GetSmsTemplateError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                        The name of the message template. A template name must start with an alphanumeric character and can contain a maximum of 128 characters. The characters can be alphanumeric characters, underscores (_), or hyphens (-). Template names are case sensitive.

                                                                                                                                                                                                                                                        pub fn template_name( mut self, diff --git a/sdk/pinpoint/src/operation/get_user_endpoints/builders.rs b/sdk/pinpoint/src/operation/get_user_endpoints/builders.rs index d8c5447034c8..46258ac1160a 100644 --- a/sdk/pinpoint/src/operation/get_user_endpoints/builders.rs +++ b/sdk/pinpoint/src/operation/get_user_endpoints/builders.rs @@ -19,9 +19,9 @@ impl GetUserEndpointsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl GetUserEndpointsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::get_user_endpoints::GetUserEndpoints, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::get_user_endpoints::GetUserEndpointsError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                        The unique identifier for the application. This identifier is displayed as the Project ID on the Amazon Pinpoint console.

                                                                                                                                                                                                                                                        pub fn application_id( mut self, diff --git a/sdk/pinpoint/src/operation/get_voice_channel/builders.rs b/sdk/pinpoint/src/operation/get_voice_channel/builders.rs index fece32b7d2dd..ec26a8f61e3e 100644 --- a/sdk/pinpoint/src/operation/get_voice_channel/builders.rs +++ b/sdk/pinpoint/src/operation/get_voice_channel/builders.rs @@ -19,9 +19,9 @@ impl GetVoiceChannelFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl GetVoiceChannelFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::get_voice_channel::GetVoiceChannel, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::get_voice_channel::GetVoiceChannelError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                        The unique identifier for the application. This identifier is displayed as the Project ID on the Amazon Pinpoint console.

                                                                                                                                                                                                                                                        pub fn application_id( mut self, diff --git a/sdk/pinpoint/src/operation/get_voice_template/builders.rs b/sdk/pinpoint/src/operation/get_voice_template/builders.rs index 3165956c85e4..8dd33fc24183 100644 --- a/sdk/pinpoint/src/operation/get_voice_template/builders.rs +++ b/sdk/pinpoint/src/operation/get_voice_template/builders.rs @@ -19,9 +19,9 @@ impl GetVoiceTemplateFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl GetVoiceTemplateFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::get_voice_template::GetVoiceTemplate, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::get_voice_template::GetVoiceTemplateError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                        The name of the message template. A template name must start with an alphanumeric character and can contain a maximum of 128 characters. The characters can be alphanumeric characters, underscores (_), or hyphens (-). Template names are case sensitive.

                                                                                                                                                                                                                                                        pub fn template_name( mut self, diff --git a/sdk/pinpoint/src/operation/list_journeys/builders.rs b/sdk/pinpoint/src/operation/list_journeys/builders.rs index a28dfe0ea639..e04aa1b79d40 100644 --- a/sdk/pinpoint/src/operation/list_journeys/builders.rs +++ b/sdk/pinpoint/src/operation/list_journeys/builders.rs @@ -19,9 +19,9 @@ impl ListJourneysFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl ListJourneysFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_journeys::ListJourneys, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                        The unique identifier for the application. This identifier is displayed as the Project ID on the Amazon Pinpoint console.

                                                                                                                                                                                                                                                        pub fn application_id( mut self, diff --git a/sdk/pinpoint/src/operation/list_tags_for_resource/builders.rs b/sdk/pinpoint/src/operation/list_tags_for_resource/builders.rs index 57d124a538f6..b0488206b19f 100644 --- a/sdk/pinpoint/src/operation/list_tags_for_resource/builders.rs +++ b/sdk/pinpoint/src/operation/list_tags_for_resource/builders.rs @@ -19,9 +19,9 @@ impl ListTagsForResourceFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl ListTagsForResourceFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_tags_for_resource::ListTagsForResource, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::list_tags_for_resource::ListTagsForResourceError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                        The Amazon Resource Name (ARN) of the resource.

                                                                                                                                                                                                                                                        pub fn resource_arn(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.resource_arn(input.into()); diff --git a/sdk/pinpoint/src/operation/list_template_versions/builders.rs b/sdk/pinpoint/src/operation/list_template_versions/builders.rs index af140cc59ae3..ca5265bb0c3c 100644 --- a/sdk/pinpoint/src/operation/list_template_versions/builders.rs +++ b/sdk/pinpoint/src/operation/list_template_versions/builders.rs @@ -19,9 +19,9 @@ impl ListTemplateVersionsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl ListTemplateVersionsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_template_versions::ListTemplateVersions, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::list_template_versions::ListTemplateVersionsError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                        The string that specifies which page of results to return in a paginated response. This parameter is not supported for application, campaign, and journey metrics.

                                                                                                                                                                                                                                                        pub fn next_token(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.next_token(input.into()); diff --git a/sdk/pinpoint/src/operation/list_templates/builders.rs b/sdk/pinpoint/src/operation/list_templates/builders.rs index 501e77a59b81..6320664d5b85 100644 --- a/sdk/pinpoint/src/operation/list_templates/builders.rs +++ b/sdk/pinpoint/src/operation/list_templates/builders.rs @@ -19,9 +19,9 @@ impl ListTemplatesFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl ListTemplatesFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_templates::ListTemplates, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                        The string that specifies which page of results to return in a paginated response. This parameter is not supported for application, campaign, and journey metrics.

                                                                                                                                                                                                                                                        pub fn next_token(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.next_token(input.into()); diff --git a/sdk/pinpoint/src/operation/phone_number_validate/builders.rs b/sdk/pinpoint/src/operation/phone_number_validate/builders.rs index a2bc1df4e73a..74039555ca53 100644 --- a/sdk/pinpoint/src/operation/phone_number_validate/builders.rs +++ b/sdk/pinpoint/src/operation/phone_number_validate/builders.rs @@ -19,9 +19,9 @@ impl PhoneNumberValidateFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl PhoneNumberValidateFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::phone_number_validate::PhoneNumberValidate, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::phone_number_validate::PhoneNumberValidateError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                        Specifies a phone number to validate and retrieve information about.

                                                                                                                                                                                                                                                        pub fn number_validate_request(mut self, input: crate::types::NumberValidateRequest) -> Self { self.inner = self.inner.number_validate_request(input); diff --git a/sdk/pinpoint/src/operation/put_event_stream/builders.rs b/sdk/pinpoint/src/operation/put_event_stream/builders.rs index db46e8365551..cdfe2df02764 100644 --- a/sdk/pinpoint/src/operation/put_event_stream/builders.rs +++ b/sdk/pinpoint/src/operation/put_event_stream/builders.rs @@ -19,9 +19,9 @@ impl PutEventStreamFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl PutEventStreamFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::put_event_stream::PutEventStream, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::put_event_stream::PutEventStreamError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                        The unique identifier for the application. This identifier is displayed as the Project ID on the Amazon Pinpoint console.

                                                                                                                                                                                                                                                        pub fn application_id( mut self, diff --git a/sdk/pinpoint/src/operation/put_events/builders.rs b/sdk/pinpoint/src/operation/put_events/builders.rs index 7fb16d7043f2..6cd335325129 100644 --- a/sdk/pinpoint/src/operation/put_events/builders.rs +++ b/sdk/pinpoint/src/operation/put_events/builders.rs @@ -19,9 +19,9 @@ impl PutEventsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl PutEventsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::put_events::PutEvents, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                        The unique identifier for the application. This identifier is displayed as the Project ID on the Amazon Pinpoint console.

                                                                                                                                                                                                                                                        pub fn application_id( mut self, diff --git a/sdk/pinpoint/src/operation/remove_attributes/builders.rs b/sdk/pinpoint/src/operation/remove_attributes/builders.rs index d6bf6301596f..fd94535eda85 100644 --- a/sdk/pinpoint/src/operation/remove_attributes/builders.rs +++ b/sdk/pinpoint/src/operation/remove_attributes/builders.rs @@ -19,9 +19,9 @@ impl RemoveAttributesFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl RemoveAttributesFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::remove_attributes::RemoveAttributes, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::remove_attributes::RemoveAttributesError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                        The unique identifier for the application. This identifier is displayed as the Project ID on the Amazon Pinpoint console.

                                                                                                                                                                                                                                                        pub fn application_id( mut self, diff --git a/sdk/pinpoint/src/operation/send_messages/builders.rs b/sdk/pinpoint/src/operation/send_messages/builders.rs index c206e5122f69..4b60a27df428 100644 --- a/sdk/pinpoint/src/operation/send_messages/builders.rs +++ b/sdk/pinpoint/src/operation/send_messages/builders.rs @@ -19,9 +19,9 @@ impl SendMessagesFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl SendMessagesFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::send_messages::SendMessages, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                        The unique identifier for the application. This identifier is displayed as the Project ID on the Amazon Pinpoint console.

                                                                                                                                                                                                                                                        pub fn application_id( mut self, diff --git a/sdk/pinpoint/src/operation/send_otp_message/builders.rs b/sdk/pinpoint/src/operation/send_otp_message/builders.rs index 0eedb1606294..89aa4b9aa2bc 100644 --- a/sdk/pinpoint/src/operation/send_otp_message/builders.rs +++ b/sdk/pinpoint/src/operation/send_otp_message/builders.rs @@ -19,9 +19,9 @@ impl SendOTPMessageFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl SendOTPMessageFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::send_otp_message::SendOTPMessage, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::send_otp_message::SendOTPMessageError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                        The unique ID of your Amazon Pinpoint application.

                                                                                                                                                                                                                                                        pub fn application_id( mut self, diff --git a/sdk/pinpoint/src/operation/send_users_messages/builders.rs b/sdk/pinpoint/src/operation/send_users_messages/builders.rs index 9adba0abe6ed..4e03a73b49d6 100644 --- a/sdk/pinpoint/src/operation/send_users_messages/builders.rs +++ b/sdk/pinpoint/src/operation/send_users_messages/builders.rs @@ -19,9 +19,9 @@ impl SendUsersMessagesFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl SendUsersMessagesFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::send_users_messages::SendUsersMessages, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::send_users_messages::SendUsersMessagesError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                        The unique identifier for the application. This identifier is displayed as the Project ID on the Amazon Pinpoint console.

                                                                                                                                                                                                                                                        pub fn application_id( mut self, diff --git a/sdk/pinpoint/src/operation/tag_resource/builders.rs b/sdk/pinpoint/src/operation/tag_resource/builders.rs index 776825fff5ef..0dea608a7136 100644 --- a/sdk/pinpoint/src/operation/tag_resource/builders.rs +++ b/sdk/pinpoint/src/operation/tag_resource/builders.rs @@ -19,9 +19,9 @@ impl TagResourceFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl TagResourceFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::tag_resource::TagResource, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                        The Amazon Resource Name (ARN) of the resource.

                                                                                                                                                                                                                                                        pub fn resource_arn(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.resource_arn(input.into()); diff --git a/sdk/pinpoint/src/operation/untag_resource/builders.rs b/sdk/pinpoint/src/operation/untag_resource/builders.rs index 23dd32df9005..ef245ec689b7 100644 --- a/sdk/pinpoint/src/operation/untag_resource/builders.rs +++ b/sdk/pinpoint/src/operation/untag_resource/builders.rs @@ -19,9 +19,9 @@ impl UntagResourceFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl UntagResourceFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::untag_resource::UntagResource, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                        The Amazon Resource Name (ARN) of the resource.

                                                                                                                                                                                                                                                        pub fn resource_arn(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.resource_arn(input.into()); diff --git a/sdk/pinpoint/src/operation/update_adm_channel/builders.rs b/sdk/pinpoint/src/operation/update_adm_channel/builders.rs index aadde960ed91..5d4f708c0351 100644 --- a/sdk/pinpoint/src/operation/update_adm_channel/builders.rs +++ b/sdk/pinpoint/src/operation/update_adm_channel/builders.rs @@ -19,9 +19,9 @@ impl UpdateAdmChannelFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl UpdateAdmChannelFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::update_adm_channel::UpdateAdmChannel, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::update_adm_channel::UpdateAdmChannelError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                        Specifies the status and settings of the ADM (Amazon Device Messaging) channel for an application.

                                                                                                                                                                                                                                                        pub fn adm_channel_request(mut self, input: crate::types::AdmChannelRequest) -> Self { self.inner = self.inner.adm_channel_request(input); diff --git a/sdk/pinpoint/src/operation/update_apns_channel/builders.rs b/sdk/pinpoint/src/operation/update_apns_channel/builders.rs index 8e2400de0c63..5d790a9fad9b 100644 --- a/sdk/pinpoint/src/operation/update_apns_channel/builders.rs +++ b/sdk/pinpoint/src/operation/update_apns_channel/builders.rs @@ -19,9 +19,9 @@ impl UpdateApnsChannelFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl UpdateApnsChannelFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::update_apns_channel::UpdateApnsChannel, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::update_apns_channel::UpdateApnsChannelError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                        Specifies the status and settings of the APNs (Apple Push Notification service) channel for an application.

                                                                                                                                                                                                                                                        pub fn apns_channel_request(mut self, input: crate::types::ApnsChannelRequest) -> Self { self.inner = self.inner.apns_channel_request(input); diff --git a/sdk/pinpoint/src/operation/update_apns_sandbox_channel/builders.rs b/sdk/pinpoint/src/operation/update_apns_sandbox_channel/builders.rs index c978f7430557..f568d88f63e2 100644 --- a/sdk/pinpoint/src/operation/update_apns_sandbox_channel/builders.rs +++ b/sdk/pinpoint/src/operation/update_apns_sandbox_channel/builders.rs @@ -19,9 +19,9 @@ impl UpdateApnsSandboxChannelFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl UpdateApnsSandboxChannelFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::update_apns_sandbox_channel::UpdateApnsSandboxChannel, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::update_apns_sandbox_channel::UpdateApnsSandboxChannelError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                        Specifies the status and settings of the APNs (Apple Push Notification service) sandbox channel for an application.

                                                                                                                                                                                                                                                        pub fn apns_sandbox_channel_request( mut self, diff --git a/sdk/pinpoint/src/operation/update_apns_voip_channel/builders.rs b/sdk/pinpoint/src/operation/update_apns_voip_channel/builders.rs index fb1372d4603a..c052929d6683 100644 --- a/sdk/pinpoint/src/operation/update_apns_voip_channel/builders.rs +++ b/sdk/pinpoint/src/operation/update_apns_voip_channel/builders.rs @@ -19,9 +19,9 @@ impl UpdateApnsVoipChannelFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl UpdateApnsVoipChannelFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::update_apns_voip_channel::UpdateApnsVoipChannel, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::update_apns_voip_channel::UpdateApnsVoipChannelError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                        Specifies the status and settings of the APNs (Apple Push Notification service) VoIP channel for an application.

                                                                                                                                                                                                                                                        pub fn apns_voip_channel_request( mut self, diff --git a/sdk/pinpoint/src/operation/update_apns_voip_sandbox_channel/builders.rs b/sdk/pinpoint/src/operation/update_apns_voip_sandbox_channel/builders.rs index a514296e7655..78c07a312841 100644 --- a/sdk/pinpoint/src/operation/update_apns_voip_sandbox_channel/builders.rs +++ b/sdk/pinpoint/src/operation/update_apns_voip_sandbox_channel/builders.rs @@ -19,9 +19,9 @@ impl UpdateApnsVoipSandboxChannelFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl UpdateApnsVoipSandboxChannelFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::update_apns_voip_sandbox_channel::UpdateApnsVoipSandboxChannel, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::update_apns_voip_sandbox_channel::UpdateApnsVoipSandboxChannelError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                        Specifies the status and settings of the APNs (Apple Push Notification service) VoIP sandbox channel for an application.

                                                                                                                                                                                                                                                        pub fn apns_voip_sandbox_channel_request( mut self, diff --git a/sdk/pinpoint/src/operation/update_application_settings/builders.rs b/sdk/pinpoint/src/operation/update_application_settings/builders.rs index 3355559c2d86..2221b442b9b5 100644 --- a/sdk/pinpoint/src/operation/update_application_settings/builders.rs +++ b/sdk/pinpoint/src/operation/update_application_settings/builders.rs @@ -19,9 +19,9 @@ impl UpdateApplicationSettingsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl UpdateApplicationSettingsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::update_application_settings::UpdateApplicationSettings, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::update_application_settings::UpdateApplicationSettingsError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                        The unique identifier for the application. This identifier is displayed as the Project ID on the Amazon Pinpoint console.

                                                                                                                                                                                                                                                        pub fn application_id( mut self, diff --git a/sdk/pinpoint/src/operation/update_baidu_channel/builders.rs b/sdk/pinpoint/src/operation/update_baidu_channel/builders.rs index 188564186a52..f2662fe2279f 100644 --- a/sdk/pinpoint/src/operation/update_baidu_channel/builders.rs +++ b/sdk/pinpoint/src/operation/update_baidu_channel/builders.rs @@ -19,9 +19,9 @@ impl UpdateBaiduChannelFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl UpdateBaiduChannelFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::update_baidu_channel::UpdateBaiduChannel, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::update_baidu_channel::UpdateBaiduChannelError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                        The unique identifier for the application. This identifier is displayed as the Project ID on the Amazon Pinpoint console.

                                                                                                                                                                                                                                                        pub fn application_id( mut self, diff --git a/sdk/pinpoint/src/operation/update_campaign/builders.rs b/sdk/pinpoint/src/operation/update_campaign/builders.rs index 49625eef6f61..53e15cd2056b 100644 --- a/sdk/pinpoint/src/operation/update_campaign/builders.rs +++ b/sdk/pinpoint/src/operation/update_campaign/builders.rs @@ -19,9 +19,9 @@ impl UpdateCampaignFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl UpdateCampaignFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::update_campaign::UpdateCampaign, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                        The unique identifier for the application. This identifier is displayed as the Project ID on the Amazon Pinpoint console.

                                                                                                                                                                                                                                                        pub fn application_id( mut self, diff --git a/sdk/pinpoint/src/operation/update_email_channel/builders.rs b/sdk/pinpoint/src/operation/update_email_channel/builders.rs index 2a64ead072f7..63768f5dd550 100644 --- a/sdk/pinpoint/src/operation/update_email_channel/builders.rs +++ b/sdk/pinpoint/src/operation/update_email_channel/builders.rs @@ -19,9 +19,9 @@ impl UpdateEmailChannelFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl UpdateEmailChannelFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::update_email_channel::UpdateEmailChannel, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::update_email_channel::UpdateEmailChannelError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                        The unique identifier for the application. This identifier is displayed as the Project ID on the Amazon Pinpoint console.

                                                                                                                                                                                                                                                        pub fn application_id( mut self, diff --git a/sdk/pinpoint/src/operation/update_email_template/builders.rs b/sdk/pinpoint/src/operation/update_email_template/builders.rs index 03354d7e48b1..fef1c0bb70eb 100644 --- a/sdk/pinpoint/src/operation/update_email_template/builders.rs +++ b/sdk/pinpoint/src/operation/update_email_template/builders.rs @@ -19,9 +19,9 @@ impl UpdateEmailTemplateFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl UpdateEmailTemplateFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::update_email_template::UpdateEmailTemplate, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::update_email_template::UpdateEmailTemplateError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                        Specifies whether to save the updates as a new version of the message template. Valid values are: true, save the updates as a new version; and, false, save the updates to (overwrite) the latest existing version of the template.

                                                                                                                                                                                                                                                        ///

                                                                                                                                                                                                                                                        If you don't specify a value for this parameter, Amazon Pinpoint saves the updates to (overwrites) the latest existing version of the template. If you specify a value of true for this parameter, don't specify a value for the version parameter. Otherwise, an error will occur.

                                                                                                                                                                                                                                                        pub fn create_new_version(mut self, input: bool) -> Self { diff --git a/sdk/pinpoint/src/operation/update_endpoint/builders.rs b/sdk/pinpoint/src/operation/update_endpoint/builders.rs index 435e50dc87cb..58157bf34a15 100644 --- a/sdk/pinpoint/src/operation/update_endpoint/builders.rs +++ b/sdk/pinpoint/src/operation/update_endpoint/builders.rs @@ -19,9 +19,9 @@ impl UpdateEndpointFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl UpdateEndpointFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::update_endpoint::UpdateEndpoint, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                        The unique identifier for the application. This identifier is displayed as the Project ID on the Amazon Pinpoint console.

                                                                                                                                                                                                                                                        pub fn application_id( mut self, diff --git a/sdk/pinpoint/src/operation/update_endpoints_batch/builders.rs b/sdk/pinpoint/src/operation/update_endpoints_batch/builders.rs index 2e440ad2c54f..44a677aff478 100644 --- a/sdk/pinpoint/src/operation/update_endpoints_batch/builders.rs +++ b/sdk/pinpoint/src/operation/update_endpoints_batch/builders.rs @@ -19,9 +19,9 @@ impl UpdateEndpointsBatchFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl UpdateEndpointsBatchFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::update_endpoints_batch::UpdateEndpointsBatch, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::update_endpoints_batch::UpdateEndpointsBatchError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                        The unique identifier for the application. This identifier is displayed as the Project ID on the Amazon Pinpoint console.

                                                                                                                                                                                                                                                        pub fn application_id( mut self, diff --git a/sdk/pinpoint/src/operation/update_gcm_channel/builders.rs b/sdk/pinpoint/src/operation/update_gcm_channel/builders.rs index b7645a36b580..484a4dda3b78 100644 --- a/sdk/pinpoint/src/operation/update_gcm_channel/builders.rs +++ b/sdk/pinpoint/src/operation/update_gcm_channel/builders.rs @@ -19,9 +19,9 @@ impl UpdateGcmChannelFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl UpdateGcmChannelFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::update_gcm_channel::UpdateGcmChannel, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::update_gcm_channel::UpdateGcmChannelError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                        The unique identifier for the application. This identifier is displayed as the Project ID on the Amazon Pinpoint console.

                                                                                                                                                                                                                                                        pub fn application_id( mut self, diff --git a/sdk/pinpoint/src/operation/update_in_app_template/builders.rs b/sdk/pinpoint/src/operation/update_in_app_template/builders.rs index feb594196fa1..b9d89a1a5308 100644 --- a/sdk/pinpoint/src/operation/update_in_app_template/builders.rs +++ b/sdk/pinpoint/src/operation/update_in_app_template/builders.rs @@ -19,9 +19,9 @@ impl UpdateInAppTemplateFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl UpdateInAppTemplateFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::update_in_app_template::UpdateInAppTemplate, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::update_in_app_template::UpdateInAppTemplateError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                        Specifies whether to save the updates as a new version of the message template. Valid values are: true, save the updates as a new version; and, false, save the updates to (overwrite) the latest existing version of the template.

                                                                                                                                                                                                                                                        ///

                                                                                                                                                                                                                                                        If you don't specify a value for this parameter, Amazon Pinpoint saves the updates to (overwrites) the latest existing version of the template. If you specify a value of true for this parameter, don't specify a value for the version parameter. Otherwise, an error will occur.

                                                                                                                                                                                                                                                        pub fn create_new_version(mut self, input: bool) -> Self { diff --git a/sdk/pinpoint/src/operation/update_journey/builders.rs b/sdk/pinpoint/src/operation/update_journey/builders.rs index 05582b3bc646..de2392e2bd25 100644 --- a/sdk/pinpoint/src/operation/update_journey/builders.rs +++ b/sdk/pinpoint/src/operation/update_journey/builders.rs @@ -19,9 +19,9 @@ impl UpdateJourneyFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl UpdateJourneyFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::update_journey::UpdateJourney, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                        The unique identifier for the application. This identifier is displayed as the Project ID on the Amazon Pinpoint console.

                                                                                                                                                                                                                                                        pub fn application_id( mut self, diff --git a/sdk/pinpoint/src/operation/update_journey_state/builders.rs b/sdk/pinpoint/src/operation/update_journey_state/builders.rs index 9367e38e3c33..05fd7a38ef32 100644 --- a/sdk/pinpoint/src/operation/update_journey_state/builders.rs +++ b/sdk/pinpoint/src/operation/update_journey_state/builders.rs @@ -19,9 +19,9 @@ impl UpdateJourneyStateFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl UpdateJourneyStateFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::update_journey_state::UpdateJourneyState, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::update_journey_state::UpdateJourneyStateError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                        The unique identifier for the application. This identifier is displayed as the Project ID on the Amazon Pinpoint console.

                                                                                                                                                                                                                                                        pub fn application_id( mut self, diff --git a/sdk/pinpoint/src/operation/update_push_template/builders.rs b/sdk/pinpoint/src/operation/update_push_template/builders.rs index 55c2041ade4c..6e95b9ad7466 100644 --- a/sdk/pinpoint/src/operation/update_push_template/builders.rs +++ b/sdk/pinpoint/src/operation/update_push_template/builders.rs @@ -19,9 +19,9 @@ impl UpdatePushTemplateFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl UpdatePushTemplateFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::update_push_template::UpdatePushTemplate, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::update_push_template::UpdatePushTemplateError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                        Specifies whether to save the updates as a new version of the message template. Valid values are: true, save the updates as a new version; and, false, save the updates to (overwrite) the latest existing version of the template.

                                                                                                                                                                                                                                                        ///

                                                                                                                                                                                                                                                        If you don't specify a value for this parameter, Amazon Pinpoint saves the updates to (overwrites) the latest existing version of the template. If you specify a value of true for this parameter, don't specify a value for the version parameter. Otherwise, an error will occur.

                                                                                                                                                                                                                                                        pub fn create_new_version(mut self, input: bool) -> Self { diff --git a/sdk/pinpoint/src/operation/update_recommender_configuration/builders.rs b/sdk/pinpoint/src/operation/update_recommender_configuration/builders.rs index f341dd74097d..fea5cbc7d1f1 100644 --- a/sdk/pinpoint/src/operation/update_recommender_configuration/builders.rs +++ b/sdk/pinpoint/src/operation/update_recommender_configuration/builders.rs @@ -19,9 +19,9 @@ impl UpdateRecommenderConfigurationFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl UpdateRecommenderConfigurationFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::update_recommender_configuration::UpdateRecommenderConfiguration, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::update_recommender_configuration::UpdateRecommenderConfigurationError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                        The unique identifier for the recommender model configuration. This identifier is displayed as the Recommender ID on the Amazon Pinpoint console.

                                                                                                                                                                                                                                                        pub fn recommender_id( mut self, diff --git a/sdk/pinpoint/src/operation/update_segment/builders.rs b/sdk/pinpoint/src/operation/update_segment/builders.rs index 22de3cd6b7fa..efaea5d45a26 100644 --- a/sdk/pinpoint/src/operation/update_segment/builders.rs +++ b/sdk/pinpoint/src/operation/update_segment/builders.rs @@ -19,9 +19,9 @@ impl UpdateSegmentFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl UpdateSegmentFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::update_segment::UpdateSegment, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                        The unique identifier for the application. This identifier is displayed as the Project ID on the Amazon Pinpoint console.

                                                                                                                                                                                                                                                        pub fn application_id( mut self, diff --git a/sdk/pinpoint/src/operation/update_sms_channel/builders.rs b/sdk/pinpoint/src/operation/update_sms_channel/builders.rs index 6ba981e72220..bd85580e7822 100644 --- a/sdk/pinpoint/src/operation/update_sms_channel/builders.rs +++ b/sdk/pinpoint/src/operation/update_sms_channel/builders.rs @@ -19,9 +19,9 @@ impl UpdateSmsChannelFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl UpdateSmsChannelFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::update_sms_channel::UpdateSmsChannel, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::update_sms_channel::UpdateSmsChannelError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                        The unique identifier for the application. This identifier is displayed as the Project ID on the Amazon Pinpoint console.

                                                                                                                                                                                                                                                        pub fn application_id( mut self, diff --git a/sdk/pinpoint/src/operation/update_sms_template/builders.rs b/sdk/pinpoint/src/operation/update_sms_template/builders.rs index 6c49a99cf545..4d735c117021 100644 --- a/sdk/pinpoint/src/operation/update_sms_template/builders.rs +++ b/sdk/pinpoint/src/operation/update_sms_template/builders.rs @@ -19,9 +19,9 @@ impl UpdateSmsTemplateFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl UpdateSmsTemplateFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::update_sms_template::UpdateSmsTemplate, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::update_sms_template::UpdateSmsTemplateError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                        Specifies whether to save the updates as a new version of the message template. Valid values are: true, save the updates as a new version; and, false, save the updates to (overwrite) the latest existing version of the template.

                                                                                                                                                                                                                                                        ///

                                                                                                                                                                                                                                                        If you don't specify a value for this parameter, Amazon Pinpoint saves the updates to (overwrites) the latest existing version of the template. If you specify a value of true for this parameter, don't specify a value for the version parameter. Otherwise, an error will occur.

                                                                                                                                                                                                                                                        pub fn create_new_version(mut self, input: bool) -> Self { diff --git a/sdk/pinpoint/src/operation/update_template_active_version/builders.rs b/sdk/pinpoint/src/operation/update_template_active_version/builders.rs index 611378918c73..13d5ced8609a 100644 --- a/sdk/pinpoint/src/operation/update_template_active_version/builders.rs +++ b/sdk/pinpoint/src/operation/update_template_active_version/builders.rs @@ -19,9 +19,9 @@ impl UpdateTemplateActiveVersionFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl UpdateTemplateActiveVersionFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::update_template_active_version::UpdateTemplateActiveVersion, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::update_template_active_version::UpdateTemplateActiveVersionError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                        Specifies which version of a message template to use as the active version of the template.

                                                                                                                                                                                                                                                        pub fn template_active_version_request( mut self, diff --git a/sdk/pinpoint/src/operation/update_voice_channel/builders.rs b/sdk/pinpoint/src/operation/update_voice_channel/builders.rs index 2afa592f9bd1..390acdcea17a 100644 --- a/sdk/pinpoint/src/operation/update_voice_channel/builders.rs +++ b/sdk/pinpoint/src/operation/update_voice_channel/builders.rs @@ -19,9 +19,9 @@ impl UpdateVoiceChannelFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl UpdateVoiceChannelFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::update_voice_channel::UpdateVoiceChannel, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::update_voice_channel::UpdateVoiceChannelError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                        The unique identifier for the application. This identifier is displayed as the Project ID on the Amazon Pinpoint console.

                                                                                                                                                                                                                                                        pub fn application_id( mut self, diff --git a/sdk/pinpoint/src/operation/update_voice_template/builders.rs b/sdk/pinpoint/src/operation/update_voice_template/builders.rs index b31ca860140a..b78e4992ab5d 100644 --- a/sdk/pinpoint/src/operation/update_voice_template/builders.rs +++ b/sdk/pinpoint/src/operation/update_voice_template/builders.rs @@ -19,9 +19,9 @@ impl UpdateVoiceTemplateFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl UpdateVoiceTemplateFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::update_voice_template::UpdateVoiceTemplate, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::update_voice_template::UpdateVoiceTemplateError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                        Specifies whether to save the updates as a new version of the message template. Valid values are: true, save the updates as a new version; and, false, save the updates to (overwrite) the latest existing version of the template.

                                                                                                                                                                                                                                                        ///

                                                                                                                                                                                                                                                        If you don't specify a value for this parameter, Amazon Pinpoint saves the updates to (overwrites) the latest existing version of the template. If you specify a value of true for this parameter, don't specify a value for the version parameter. Otherwise, an error will occur.

                                                                                                                                                                                                                                                        pub fn create_new_version(mut self, input: bool) -> Self { diff --git a/sdk/pinpoint/src/operation/verify_otp_message/builders.rs b/sdk/pinpoint/src/operation/verify_otp_message/builders.rs index aa97301481a5..2f485797a405 100644 --- a/sdk/pinpoint/src/operation/verify_otp_message/builders.rs +++ b/sdk/pinpoint/src/operation/verify_otp_message/builders.rs @@ -19,9 +19,9 @@ impl VerifyOTPMessageFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl VerifyOTPMessageFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::verify_otp_message::VerifyOTPMessage, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::verify_otp_message::VerifyOTPMessageError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                        The unique ID of your Amazon Pinpoint application.

                                                                                                                                                                                                                                                        pub fn application_id( mut self, diff --git a/sdk/pinpointemail/src/operation/create_configuration_set/builders.rs b/sdk/pinpointemail/src/operation/create_configuration_set/builders.rs index 5320ad2119f6..9ba9e43f85ea 100644 --- a/sdk/pinpointemail/src/operation/create_configuration_set/builders.rs +++ b/sdk/pinpointemail/src/operation/create_configuration_set/builders.rs @@ -19,9 +19,9 @@ impl CreateConfigurationSetFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl CreateConfigurationSetFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::create_configuration_set::CreateConfigurationSet, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::create_configuration_set::CreateConfigurationSetError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                        The name of the configuration set.

                                                                                                                                                                                                                                                        pub fn configuration_set_name( mut self, diff --git a/sdk/pinpointemail/src/operation/create_configuration_set_event_destination/builders.rs b/sdk/pinpointemail/src/operation/create_configuration_set_event_destination/builders.rs index c5b762bbd5eb..18247c305ba1 100644 --- a/sdk/pinpointemail/src/operation/create_configuration_set_event_destination/builders.rs +++ b/sdk/pinpointemail/src/operation/create_configuration_set_event_destination/builders.rs @@ -20,9 +20,9 @@ impl CreateConfigurationSetEventDestinationFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize(self) -> ::std::result::Result< + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware(self) -> ::std::result::Result< crate::client::customize::CustomizableOperation, ::aws_smithy_http::result::SdkError >{ @@ -65,6 +65,15 @@ impl CreateConfigurationSetEventDestinationFluentBuilder { { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize(self) -> ::std::result::Result< + crate::client::customize::CustomizableOperation, + ::aws_smithy_http::result::SdkError + >{ + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                        The name of the configuration set that you want to add an event destination to.

                                                                                                                                                                                                                                                        pub fn configuration_set_name( mut self, diff --git a/sdk/pinpointemail/src/operation/create_dedicated_ip_pool/builders.rs b/sdk/pinpointemail/src/operation/create_dedicated_ip_pool/builders.rs index 8c45bea9b4fb..4ac803a31baf 100644 --- a/sdk/pinpointemail/src/operation/create_dedicated_ip_pool/builders.rs +++ b/sdk/pinpointemail/src/operation/create_dedicated_ip_pool/builders.rs @@ -19,9 +19,9 @@ impl CreateDedicatedIpPoolFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl CreateDedicatedIpPoolFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::create_dedicated_ip_pool::CreateDedicatedIpPool, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::create_dedicated_ip_pool::CreateDedicatedIpPoolError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                        The name of the dedicated IP pool.

                                                                                                                                                                                                                                                        pub fn pool_name(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.pool_name(input.into()); diff --git a/sdk/pinpointemail/src/operation/create_deliverability_test_report/builders.rs b/sdk/pinpointemail/src/operation/create_deliverability_test_report/builders.rs index 01823e9efb30..97ff2b9c26d8 100644 --- a/sdk/pinpointemail/src/operation/create_deliverability_test_report/builders.rs +++ b/sdk/pinpointemail/src/operation/create_deliverability_test_report/builders.rs @@ -19,9 +19,9 @@ impl CreateDeliverabilityTestReportFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize(self) -> ::std::result::Result< + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware(self) -> ::std::result::Result< crate::client::customize::CustomizableOperation, ::aws_smithy_http::result::SdkError >{ @@ -64,6 +64,15 @@ impl CreateDeliverabilityTestReportFluentBuilder { { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize(self) -> ::std::result::Result< + crate::client::customize::CustomizableOperation, + ::aws_smithy_http::result::SdkError + >{ + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                        A unique name that helps you to identify the predictive inbox placement test when you retrieve the results.

                                                                                                                                                                                                                                                        pub fn report_name(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.report_name(input.into()); diff --git a/sdk/pinpointemail/src/operation/create_email_identity/builders.rs b/sdk/pinpointemail/src/operation/create_email_identity/builders.rs index 104d70cd0244..c1ee6e379c11 100644 --- a/sdk/pinpointemail/src/operation/create_email_identity/builders.rs +++ b/sdk/pinpointemail/src/operation/create_email_identity/builders.rs @@ -21,9 +21,9 @@ impl CreateEmailIdentityFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -85,6 +85,22 @@ impl CreateEmailIdentityFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::create_email_identity::CreateEmailIdentity, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::create_email_identity::CreateEmailIdentityError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                        The email address or domain that you want to verify.

                                                                                                                                                                                                                                                        pub fn email_identity( mut self, diff --git a/sdk/pinpointemail/src/operation/delete_configuration_set/builders.rs b/sdk/pinpointemail/src/operation/delete_configuration_set/builders.rs index 410c9ae828a1..c33cd77eb4e1 100644 --- a/sdk/pinpointemail/src/operation/delete_configuration_set/builders.rs +++ b/sdk/pinpointemail/src/operation/delete_configuration_set/builders.rs @@ -20,9 +20,9 @@ impl DeleteConfigurationSetFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -84,6 +84,22 @@ impl DeleteConfigurationSetFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::delete_configuration_set::DeleteConfigurationSet, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::delete_configuration_set::DeleteConfigurationSetError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                        The name of the configuration set that you want to delete.

                                                                                                                                                                                                                                                        pub fn configuration_set_name( mut self, diff --git a/sdk/pinpointemail/src/operation/delete_configuration_set_event_destination/builders.rs b/sdk/pinpointemail/src/operation/delete_configuration_set_event_destination/builders.rs index a7a1a08b2ec1..1f7bc7a6b015 100644 --- a/sdk/pinpointemail/src/operation/delete_configuration_set_event_destination/builders.rs +++ b/sdk/pinpointemail/src/operation/delete_configuration_set_event_destination/builders.rs @@ -20,9 +20,9 @@ impl DeleteConfigurationSetEventDestinationFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize(self) -> ::std::result::Result< + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware(self) -> ::std::result::Result< crate::client::customize::CustomizableOperation, ::aws_smithy_http::result::SdkError >{ @@ -65,6 +65,15 @@ impl DeleteConfigurationSetEventDestinationFluentBuilder { { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize(self) -> ::std::result::Result< + crate::client::customize::CustomizableOperation, + ::aws_smithy_http::result::SdkError + >{ + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                        The name of the configuration set that contains the event destination that you want to delete.

                                                                                                                                                                                                                                                        pub fn configuration_set_name( mut self, diff --git a/sdk/pinpointemail/src/operation/delete_dedicated_ip_pool/builders.rs b/sdk/pinpointemail/src/operation/delete_dedicated_ip_pool/builders.rs index 632ca8edddfe..bdeed0470558 100644 --- a/sdk/pinpointemail/src/operation/delete_dedicated_ip_pool/builders.rs +++ b/sdk/pinpointemail/src/operation/delete_dedicated_ip_pool/builders.rs @@ -19,9 +19,9 @@ impl DeleteDedicatedIpPoolFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl DeleteDedicatedIpPoolFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::delete_dedicated_ip_pool::DeleteDedicatedIpPool, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::delete_dedicated_ip_pool::DeleteDedicatedIpPoolError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                        The name of the dedicated IP pool that you want to delete.

                                                                                                                                                                                                                                                        pub fn pool_name(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.pool_name(input.into()); diff --git a/sdk/pinpointemail/src/operation/delete_email_identity/builders.rs b/sdk/pinpointemail/src/operation/delete_email_identity/builders.rs index 45d86694d78a..56ac32818055 100644 --- a/sdk/pinpointemail/src/operation/delete_email_identity/builders.rs +++ b/sdk/pinpointemail/src/operation/delete_email_identity/builders.rs @@ -19,9 +19,9 @@ impl DeleteEmailIdentityFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl DeleteEmailIdentityFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::delete_email_identity::DeleteEmailIdentity, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::delete_email_identity::DeleteEmailIdentityError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                        The identity (that is, the email address or domain) that you want to delete from your Amazon Pinpoint account.

                                                                                                                                                                                                                                                        pub fn email_identity( mut self, diff --git a/sdk/pinpointemail/src/operation/get_account/builders.rs b/sdk/pinpointemail/src/operation/get_account/builders.rs index 7a3ff4632e3b..6bc7d6a32d86 100644 --- a/sdk/pinpointemail/src/operation/get_account/builders.rs +++ b/sdk/pinpointemail/src/operation/get_account/builders.rs @@ -19,9 +19,9 @@ impl GetAccountFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,4 +77,18 @@ impl GetAccountFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::get_account::GetAccount, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } } diff --git a/sdk/pinpointemail/src/operation/get_blacklist_reports/builders.rs b/sdk/pinpointemail/src/operation/get_blacklist_reports/builders.rs index d18ba47180fc..6db5ce8ca52c 100644 --- a/sdk/pinpointemail/src/operation/get_blacklist_reports/builders.rs +++ b/sdk/pinpointemail/src/operation/get_blacklist_reports/builders.rs @@ -19,9 +19,9 @@ impl GetBlacklistReportsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl GetBlacklistReportsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::get_blacklist_reports::GetBlacklistReports, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::get_blacklist_reports::GetBlacklistReportsError, + >, + > { + self.customize_middleware().await + } /// Appends an item to `BlacklistItemNames`. /// /// To override the contents of this collection use [`set_blacklist_item_names`](Self::set_blacklist_item_names). diff --git a/sdk/pinpointemail/src/operation/get_configuration_set/builders.rs b/sdk/pinpointemail/src/operation/get_configuration_set/builders.rs index 4a3ec834f98c..f343d58d33c5 100644 --- a/sdk/pinpointemail/src/operation/get_configuration_set/builders.rs +++ b/sdk/pinpointemail/src/operation/get_configuration_set/builders.rs @@ -20,9 +20,9 @@ impl GetConfigurationSetFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -84,6 +84,22 @@ impl GetConfigurationSetFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::get_configuration_set::GetConfigurationSet, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::get_configuration_set::GetConfigurationSetError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                        The name of the configuration set that you want to obtain more information about.

                                                                                                                                                                                                                                                        pub fn configuration_set_name( mut self, diff --git a/sdk/pinpointemail/src/operation/get_configuration_set_event_destinations/builders.rs b/sdk/pinpointemail/src/operation/get_configuration_set_event_destinations/builders.rs index cc0ea2924002..40c7bfd13e34 100644 --- a/sdk/pinpointemail/src/operation/get_configuration_set_event_destinations/builders.rs +++ b/sdk/pinpointemail/src/operation/get_configuration_set_event_destinations/builders.rs @@ -20,9 +20,9 @@ impl GetConfigurationSetEventDestinationsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize(self) -> ::std::result::Result< + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware(self) -> ::std::result::Result< crate::client::customize::CustomizableOperation, ::aws_smithy_http::result::SdkError >{ @@ -65,6 +65,15 @@ impl GetConfigurationSetEventDestinationsFluentBuilder { { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize(self) -> ::std::result::Result< + crate::client::customize::CustomizableOperation, + ::aws_smithy_http::result::SdkError + >{ + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                        The name of the configuration set that contains the event destination.

                                                                                                                                                                                                                                                        pub fn configuration_set_name( mut self, diff --git a/sdk/pinpointemail/src/operation/get_dedicated_ip/builders.rs b/sdk/pinpointemail/src/operation/get_dedicated_ip/builders.rs index d34f1ba77135..311ecac41bf6 100644 --- a/sdk/pinpointemail/src/operation/get_dedicated_ip/builders.rs +++ b/sdk/pinpointemail/src/operation/get_dedicated_ip/builders.rs @@ -19,9 +19,9 @@ impl GetDedicatedIpFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl GetDedicatedIpFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::get_dedicated_ip::GetDedicatedIp, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::get_dedicated_ip::GetDedicatedIpError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                        The IP address that you want to obtain more information about. The value you specify has to be a dedicated IP address that's assocaited with your Amazon Pinpoint account.

                                                                                                                                                                                                                                                        pub fn ip(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.ip(input.into()); diff --git a/sdk/pinpointemail/src/operation/get_dedicated_ips/builders.rs b/sdk/pinpointemail/src/operation/get_dedicated_ips/builders.rs index 8e8742bcaefa..993289b3e6ef 100644 --- a/sdk/pinpointemail/src/operation/get_dedicated_ips/builders.rs +++ b/sdk/pinpointemail/src/operation/get_dedicated_ips/builders.rs @@ -19,9 +19,9 @@ impl GetDedicatedIpsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl GetDedicatedIpsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::get_dedicated_ips::GetDedicatedIps, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::get_dedicated_ips::GetDedicatedIpsError, + >, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::get_dedicated_ips::paginator::GetDedicatedIpsPaginator::send) which returns a `Stream`. diff --git a/sdk/pinpointemail/src/operation/get_deliverability_dashboard_options/builders.rs b/sdk/pinpointemail/src/operation/get_deliverability_dashboard_options/builders.rs index 5999c7c0fb70..a91c926ad24a 100644 --- a/sdk/pinpointemail/src/operation/get_deliverability_dashboard_options/builders.rs +++ b/sdk/pinpointemail/src/operation/get_deliverability_dashboard_options/builders.rs @@ -20,9 +20,9 @@ impl GetDeliverabilityDashboardOptionsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize(self) -> ::std::result::Result< + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware(self) -> ::std::result::Result< crate::client::customize::CustomizableOperation, ::aws_smithy_http::result::SdkError >{ @@ -65,4 +65,13 @@ impl GetDeliverabilityDashboardOptionsFluentBuilder { { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize(self) -> ::std::result::Result< + crate::client::customize::CustomizableOperation, + ::aws_smithy_http::result::SdkError + >{ + self.customize_middleware().await + } } diff --git a/sdk/pinpointemail/src/operation/get_deliverability_test_report/builders.rs b/sdk/pinpointemail/src/operation/get_deliverability_test_report/builders.rs index 9518ee6dca16..e7992c1087d0 100644 --- a/sdk/pinpointemail/src/operation/get_deliverability_test_report/builders.rs +++ b/sdk/pinpointemail/src/operation/get_deliverability_test_report/builders.rs @@ -19,9 +19,9 @@ impl GetDeliverabilityTestReportFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl GetDeliverabilityTestReportFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::get_deliverability_test_report::GetDeliverabilityTestReport, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::get_deliverability_test_report::GetDeliverabilityTestReportError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                        A unique string that identifies the predictive inbox placement test.

                                                                                                                                                                                                                                                        pub fn report_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.report_id(input.into()); diff --git a/sdk/pinpointemail/src/operation/get_domain_deliverability_campaign/builders.rs b/sdk/pinpointemail/src/operation/get_domain_deliverability_campaign/builders.rs index bdf1b31f8a8b..b30c7d295756 100644 --- a/sdk/pinpointemail/src/operation/get_domain_deliverability_campaign/builders.rs +++ b/sdk/pinpointemail/src/operation/get_domain_deliverability_campaign/builders.rs @@ -19,9 +19,9 @@ impl GetDomainDeliverabilityCampaignFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize(self) -> ::std::result::Result< + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware(self) -> ::std::result::Result< crate::client::customize::CustomizableOperation, ::aws_smithy_http::result::SdkError >{ @@ -64,6 +64,15 @@ impl GetDomainDeliverabilityCampaignFluentBuilder { { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize(self) -> ::std::result::Result< + crate::client::customize::CustomizableOperation, + ::aws_smithy_http::result::SdkError + >{ + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                        The unique identifier for the campaign. Amazon Pinpoint automatically generates and assigns this identifier to a campaign. This value is not the same as the campaign identifier that Amazon Pinpoint assigns to campaigns that you create and manage by using the Amazon Pinpoint API or the Amazon Pinpoint console.

                                                                                                                                                                                                                                                        pub fn campaign_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.campaign_id(input.into()); diff --git a/sdk/pinpointemail/src/operation/get_domain_statistics_report/builders.rs b/sdk/pinpointemail/src/operation/get_domain_statistics_report/builders.rs index d13c6c5aa793..709445d4e036 100644 --- a/sdk/pinpointemail/src/operation/get_domain_statistics_report/builders.rs +++ b/sdk/pinpointemail/src/operation/get_domain_statistics_report/builders.rs @@ -19,9 +19,9 @@ impl GetDomainStatisticsReportFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl GetDomainStatisticsReportFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::get_domain_statistics_report::GetDomainStatisticsReport, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::get_domain_statistics_report::GetDomainStatisticsReportError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                        The domain that you want to obtain deliverability metrics for.

                                                                                                                                                                                                                                                        pub fn domain(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.domain(input.into()); diff --git a/sdk/pinpointemail/src/operation/get_email_identity/builders.rs b/sdk/pinpointemail/src/operation/get_email_identity/builders.rs index e0fd8596b0b9..bc054897d57d 100644 --- a/sdk/pinpointemail/src/operation/get_email_identity/builders.rs +++ b/sdk/pinpointemail/src/operation/get_email_identity/builders.rs @@ -19,9 +19,9 @@ impl GetEmailIdentityFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl GetEmailIdentityFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::get_email_identity::GetEmailIdentity, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::get_email_identity::GetEmailIdentityError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                        The email identity that you want to retrieve details for.

                                                                                                                                                                                                                                                        pub fn email_identity( mut self, diff --git a/sdk/pinpointemail/src/operation/list_configuration_sets/builders.rs b/sdk/pinpointemail/src/operation/list_configuration_sets/builders.rs index 3ad6ab6bbe2a..4be8d08ac085 100644 --- a/sdk/pinpointemail/src/operation/list_configuration_sets/builders.rs +++ b/sdk/pinpointemail/src/operation/list_configuration_sets/builders.rs @@ -20,9 +20,9 @@ impl ListConfigurationSetsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -84,6 +84,22 @@ impl ListConfigurationSetsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_configuration_sets::ListConfigurationSets, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::list_configuration_sets::ListConfigurationSetsError, + >, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::list_configuration_sets::paginator::ListConfigurationSetsPaginator::send) which returns a `Stream`. diff --git a/sdk/pinpointemail/src/operation/list_dedicated_ip_pools/builders.rs b/sdk/pinpointemail/src/operation/list_dedicated_ip_pools/builders.rs index b150072ccf0e..fb3152fe2f03 100644 --- a/sdk/pinpointemail/src/operation/list_dedicated_ip_pools/builders.rs +++ b/sdk/pinpointemail/src/operation/list_dedicated_ip_pools/builders.rs @@ -19,9 +19,9 @@ impl ListDedicatedIpPoolsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl ListDedicatedIpPoolsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_dedicated_ip_pools::ListDedicatedIpPools, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::list_dedicated_ip_pools::ListDedicatedIpPoolsError, + >, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::list_dedicated_ip_pools::paginator::ListDedicatedIpPoolsPaginator::send) which returns a `Stream`. diff --git a/sdk/pinpointemail/src/operation/list_deliverability_test_reports/builders.rs b/sdk/pinpointemail/src/operation/list_deliverability_test_reports/builders.rs index 187bf5099e98..fb29c4441dd0 100644 --- a/sdk/pinpointemail/src/operation/list_deliverability_test_reports/builders.rs +++ b/sdk/pinpointemail/src/operation/list_deliverability_test_reports/builders.rs @@ -19,9 +19,9 @@ impl ListDeliverabilityTestReportsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl ListDeliverabilityTestReportsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_deliverability_test_reports::ListDeliverabilityTestReports, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::list_deliverability_test_reports::ListDeliverabilityTestReportsError, + >, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::list_deliverability_test_reports::paginator::ListDeliverabilityTestReportsPaginator::send) which returns a `Stream`. diff --git a/sdk/pinpointemail/src/operation/list_domain_deliverability_campaigns/builders.rs b/sdk/pinpointemail/src/operation/list_domain_deliverability_campaigns/builders.rs index 9cb9a9922141..1b154532ca86 100644 --- a/sdk/pinpointemail/src/operation/list_domain_deliverability_campaigns/builders.rs +++ b/sdk/pinpointemail/src/operation/list_domain_deliverability_campaigns/builders.rs @@ -19,9 +19,9 @@ impl ListDomainDeliverabilityCampaignsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize(self) -> ::std::result::Result< + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware(self) -> ::std::result::Result< crate::client::customize::CustomizableOperation, ::aws_smithy_http::result::SdkError >{ @@ -64,6 +64,15 @@ impl ListDomainDeliverabilityCampaignsFluentBuilder { { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize(self) -> ::std::result::Result< + crate::client::customize::CustomizableOperation, + ::aws_smithy_http::result::SdkError + >{ + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::list_domain_deliverability_campaigns::paginator::ListDomainDeliverabilityCampaignsPaginator::send) which returns a `Stream`. diff --git a/sdk/pinpointemail/src/operation/list_email_identities/builders.rs b/sdk/pinpointemail/src/operation/list_email_identities/builders.rs index 217038348d99..d6956e2ed7e1 100644 --- a/sdk/pinpointemail/src/operation/list_email_identities/builders.rs +++ b/sdk/pinpointemail/src/operation/list_email_identities/builders.rs @@ -19,9 +19,9 @@ impl ListEmailIdentitiesFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl ListEmailIdentitiesFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_email_identities::ListEmailIdentities, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::list_email_identities::ListEmailIdentitiesError, + >, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::list_email_identities::paginator::ListEmailIdentitiesPaginator::send) which returns a `Stream`. diff --git a/sdk/pinpointemail/src/operation/list_tags_for_resource/builders.rs b/sdk/pinpointemail/src/operation/list_tags_for_resource/builders.rs index a3482b90e811..36e235b92fc9 100644 --- a/sdk/pinpointemail/src/operation/list_tags_for_resource/builders.rs +++ b/sdk/pinpointemail/src/operation/list_tags_for_resource/builders.rs @@ -19,9 +19,9 @@ impl ListTagsForResourceFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl ListTagsForResourceFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_tags_for_resource::ListTagsForResource, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::list_tags_for_resource::ListTagsForResourceError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                        The Amazon Resource Name (ARN) of the resource that you want to retrieve tag information for.

                                                                                                                                                                                                                                                        pub fn resource_arn(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.resource_arn(input.into()); diff --git a/sdk/pinpointemail/src/operation/put_account_dedicated_ip_warmup_attributes/builders.rs b/sdk/pinpointemail/src/operation/put_account_dedicated_ip_warmup_attributes/builders.rs index 8a419f4b3608..d92fdd4e91f8 100644 --- a/sdk/pinpointemail/src/operation/put_account_dedicated_ip_warmup_attributes/builders.rs +++ b/sdk/pinpointemail/src/operation/put_account_dedicated_ip_warmup_attributes/builders.rs @@ -19,9 +19,9 @@ impl PutAccountDedicatedIpWarmupAttributesFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize(self) -> ::std::result::Result< + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware(self) -> ::std::result::Result< crate::client::customize::CustomizableOperation, ::aws_smithy_http::result::SdkError >{ @@ -64,6 +64,15 @@ impl PutAccountDedicatedIpWarmupAttributesFluentBuilder { { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize(self) -> ::std::result::Result< + crate::client::customize::CustomizableOperation, + ::aws_smithy_http::result::SdkError + >{ + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                        Enables or disables the automatic warm-up feature for dedicated IP addresses that are associated with your Amazon Pinpoint account in the current AWS Region. Set to true to enable the automatic warm-up feature, or set to false to disable it.

                                                                                                                                                                                                                                                        pub fn auto_warmup_enabled(mut self, input: bool) -> Self { self.inner = self.inner.auto_warmup_enabled(input); diff --git a/sdk/pinpointemail/src/operation/put_account_sending_attributes/builders.rs b/sdk/pinpointemail/src/operation/put_account_sending_attributes/builders.rs index 6335ece4d00a..5730c91ada82 100644 --- a/sdk/pinpointemail/src/operation/put_account_sending_attributes/builders.rs +++ b/sdk/pinpointemail/src/operation/put_account_sending_attributes/builders.rs @@ -19,9 +19,9 @@ impl PutAccountSendingAttributesFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl PutAccountSendingAttributesFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::put_account_sending_attributes::PutAccountSendingAttributes, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::put_account_sending_attributes::PutAccountSendingAttributesError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                        Enables or disables your account's ability to send email. Set to true to enable email sending, or set to false to disable email sending.

                                                                                                                                                                                                                                                        ///

                                                                                                                                                                                                                                                        If AWS paused your account's ability to send email, you can't use this operation to resume your account's ability to send email.

                                                                                                                                                                                                                                                        ///
                                                                                                                                                                                                                                                        diff --git a/sdk/pinpointemail/src/operation/put_configuration_set_delivery_options/builders.rs b/sdk/pinpointemail/src/operation/put_configuration_set_delivery_options/builders.rs index 09a36281c2c4..aed747855d05 100644 --- a/sdk/pinpointemail/src/operation/put_configuration_set_delivery_options/builders.rs +++ b/sdk/pinpointemail/src/operation/put_configuration_set_delivery_options/builders.rs @@ -19,9 +19,9 @@ impl PutConfigurationSetDeliveryOptionsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize(self) -> ::std::result::Result< + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware(self) -> ::std::result::Result< crate::client::customize::CustomizableOperation, ::aws_smithy_http::result::SdkError >{ @@ -64,6 +64,15 @@ impl PutConfigurationSetDeliveryOptionsFluentBuilder { { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize(self) -> ::std::result::Result< + crate::client::customize::CustomizableOperation, + ::aws_smithy_http::result::SdkError + >{ + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                        The name of the configuration set that you want to associate with a dedicated IP pool.

                                                                                                                                                                                                                                                        pub fn configuration_set_name( mut self, diff --git a/sdk/pinpointemail/src/operation/put_configuration_set_reputation_options/builders.rs b/sdk/pinpointemail/src/operation/put_configuration_set_reputation_options/builders.rs index 3090e888d316..41a73a6a6223 100644 --- a/sdk/pinpointemail/src/operation/put_configuration_set_reputation_options/builders.rs +++ b/sdk/pinpointemail/src/operation/put_configuration_set_reputation_options/builders.rs @@ -19,9 +19,9 @@ impl PutConfigurationSetReputationOptionsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize(self) -> ::std::result::Result< + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware(self) -> ::std::result::Result< crate::client::customize::CustomizableOperation, ::aws_smithy_http::result::SdkError >{ @@ -64,6 +64,15 @@ impl PutConfigurationSetReputationOptionsFluentBuilder { { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize(self) -> ::std::result::Result< + crate::client::customize::CustomizableOperation, + ::aws_smithy_http::result::SdkError + >{ + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                        The name of the configuration set that you want to enable or disable reputation metric tracking for.

                                                                                                                                                                                                                                                        pub fn configuration_set_name( mut self, diff --git a/sdk/pinpointemail/src/operation/put_configuration_set_sending_options/builders.rs b/sdk/pinpointemail/src/operation/put_configuration_set_sending_options/builders.rs index 45e15db13698..7ab86cb274be 100644 --- a/sdk/pinpointemail/src/operation/put_configuration_set_sending_options/builders.rs +++ b/sdk/pinpointemail/src/operation/put_configuration_set_sending_options/builders.rs @@ -19,9 +19,9 @@ impl PutConfigurationSetSendingOptionsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize(self) -> ::std::result::Result< + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware(self) -> ::std::result::Result< crate::client::customize::CustomizableOperation, ::aws_smithy_http::result::SdkError >{ @@ -64,6 +64,15 @@ impl PutConfigurationSetSendingOptionsFluentBuilder { { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize(self) -> ::std::result::Result< + crate::client::customize::CustomizableOperation, + ::aws_smithy_http::result::SdkError + >{ + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                        The name of the configuration set that you want to enable or disable email sending for.

                                                                                                                                                                                                                                                        pub fn configuration_set_name( mut self, diff --git a/sdk/pinpointemail/src/operation/put_configuration_set_tracking_options/builders.rs b/sdk/pinpointemail/src/operation/put_configuration_set_tracking_options/builders.rs index 5c81b06aea87..289419216cb0 100644 --- a/sdk/pinpointemail/src/operation/put_configuration_set_tracking_options/builders.rs +++ b/sdk/pinpointemail/src/operation/put_configuration_set_tracking_options/builders.rs @@ -19,9 +19,9 @@ impl PutConfigurationSetTrackingOptionsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize(self) -> ::std::result::Result< + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware(self) -> ::std::result::Result< crate::client::customize::CustomizableOperation, ::aws_smithy_http::result::SdkError >{ @@ -64,6 +64,15 @@ impl PutConfigurationSetTrackingOptionsFluentBuilder { { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize(self) -> ::std::result::Result< + crate::client::customize::CustomizableOperation, + ::aws_smithy_http::result::SdkError + >{ + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                        The name of the configuration set that you want to add a custom tracking domain to.

                                                                                                                                                                                                                                                        pub fn configuration_set_name( mut self, diff --git a/sdk/pinpointemail/src/operation/put_dedicated_ip_in_pool/builders.rs b/sdk/pinpointemail/src/operation/put_dedicated_ip_in_pool/builders.rs index 01d769ecb2f2..ec00821b1ec4 100644 --- a/sdk/pinpointemail/src/operation/put_dedicated_ip_in_pool/builders.rs +++ b/sdk/pinpointemail/src/operation/put_dedicated_ip_in_pool/builders.rs @@ -22,9 +22,9 @@ impl PutDedicatedIpInPoolFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -86,6 +86,22 @@ impl PutDedicatedIpInPoolFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::put_dedicated_ip_in_pool::PutDedicatedIpInPool, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::put_dedicated_ip_in_pool::PutDedicatedIpInPoolError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                        The IP address that you want to move to the dedicated IP pool. The value you specify has to be a dedicated IP address that's associated with your Amazon Pinpoint account.

                                                                                                                                                                                                                                                        pub fn ip(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.ip(input.into()); diff --git a/sdk/pinpointemail/src/operation/put_dedicated_ip_warmup_attributes/builders.rs b/sdk/pinpointemail/src/operation/put_dedicated_ip_warmup_attributes/builders.rs index cdf853d5d28d..37437816c5f6 100644 --- a/sdk/pinpointemail/src/operation/put_dedicated_ip_warmup_attributes/builders.rs +++ b/sdk/pinpointemail/src/operation/put_dedicated_ip_warmup_attributes/builders.rs @@ -19,9 +19,9 @@ impl PutDedicatedIpWarmupAttributesFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize(self) -> ::std::result::Result< + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware(self) -> ::std::result::Result< crate::client::customize::CustomizableOperation, ::aws_smithy_http::result::SdkError >{ @@ -64,6 +64,15 @@ impl PutDedicatedIpWarmupAttributesFluentBuilder { { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize(self) -> ::std::result::Result< + crate::client::customize::CustomizableOperation, + ::aws_smithy_http::result::SdkError + >{ + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                        The dedicated IP address that you want to update the warm-up attributes for.

                                                                                                                                                                                                                                                        pub fn ip(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.ip(input.into()); diff --git a/sdk/pinpointemail/src/operation/put_deliverability_dashboard_option/builders.rs b/sdk/pinpointemail/src/operation/put_deliverability_dashboard_option/builders.rs index e708178fc963..699cc391fde9 100644 --- a/sdk/pinpointemail/src/operation/put_deliverability_dashboard_option/builders.rs +++ b/sdk/pinpointemail/src/operation/put_deliverability_dashboard_option/builders.rs @@ -20,9 +20,9 @@ impl PutDeliverabilityDashboardOptionFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize(self) -> ::std::result::Result< + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware(self) -> ::std::result::Result< crate::client::customize::CustomizableOperation, ::aws_smithy_http::result::SdkError >{ @@ -65,6 +65,15 @@ impl PutDeliverabilityDashboardOptionFluentBuilder { { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize(self) -> ::std::result::Result< + crate::client::customize::CustomizableOperation, + ::aws_smithy_http::result::SdkError + >{ + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                        Specifies whether to enable the Deliverability dashboard for your Amazon Pinpoint account. To enable the dashboard, set this value to true.

                                                                                                                                                                                                                                                        pub fn dashboard_enabled(mut self, input: bool) -> Self { self.inner = self.inner.dashboard_enabled(input); diff --git a/sdk/pinpointemail/src/operation/put_email_identity_dkim_attributes/builders.rs b/sdk/pinpointemail/src/operation/put_email_identity_dkim_attributes/builders.rs index a2dc405af51b..258e5754230f 100644 --- a/sdk/pinpointemail/src/operation/put_email_identity_dkim_attributes/builders.rs +++ b/sdk/pinpointemail/src/operation/put_email_identity_dkim_attributes/builders.rs @@ -19,9 +19,9 @@ impl PutEmailIdentityDkimAttributesFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize(self) -> ::std::result::Result< + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware(self) -> ::std::result::Result< crate::client::customize::CustomizableOperation, ::aws_smithy_http::result::SdkError >{ @@ -64,6 +64,15 @@ impl PutEmailIdentityDkimAttributesFluentBuilder { { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize(self) -> ::std::result::Result< + crate::client::customize::CustomizableOperation, + ::aws_smithy_http::result::SdkError + >{ + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                        The email identity that you want to change the DKIM settings for.

                                                                                                                                                                                                                                                        pub fn email_identity( mut self, diff --git a/sdk/pinpointemail/src/operation/put_email_identity_feedback_attributes/builders.rs b/sdk/pinpointemail/src/operation/put_email_identity_feedback_attributes/builders.rs index 0fd066cc90f8..80fed6abb6bb 100644 --- a/sdk/pinpointemail/src/operation/put_email_identity_feedback_attributes/builders.rs +++ b/sdk/pinpointemail/src/operation/put_email_identity_feedback_attributes/builders.rs @@ -21,9 +21,9 @@ impl PutEmailIdentityFeedbackAttributesFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize(self) -> ::std::result::Result< + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware(self) -> ::std::result::Result< crate::client::customize::CustomizableOperation, ::aws_smithy_http::result::SdkError >{ @@ -66,6 +66,15 @@ impl PutEmailIdentityFeedbackAttributesFluentBuilder { { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize(self) -> ::std::result::Result< + crate::client::customize::CustomizableOperation, + ::aws_smithy_http::result::SdkError + >{ + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                        The email identity that you want to configure bounce and complaint feedback forwarding for.

                                                                                                                                                                                                                                                        pub fn email_identity( mut self, diff --git a/sdk/pinpointemail/src/operation/put_email_identity_mail_from_attributes/builders.rs b/sdk/pinpointemail/src/operation/put_email_identity_mail_from_attributes/builders.rs index 46495a00698f..a1ae908e139a 100644 --- a/sdk/pinpointemail/src/operation/put_email_identity_mail_from_attributes/builders.rs +++ b/sdk/pinpointemail/src/operation/put_email_identity_mail_from_attributes/builders.rs @@ -19,9 +19,9 @@ impl PutEmailIdentityMailFromAttributesFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize(self) -> ::std::result::Result< + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware(self) -> ::std::result::Result< crate::client::customize::CustomizableOperation, ::aws_smithy_http::result::SdkError >{ @@ -64,6 +64,15 @@ impl PutEmailIdentityMailFromAttributesFluentBuilder { { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize(self) -> ::std::result::Result< + crate::client::customize::CustomizableOperation, + ::aws_smithy_http::result::SdkError + >{ + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                        The verified email identity that you want to set up the custom MAIL FROM domain for.

                                                                                                                                                                                                                                                        pub fn email_identity( mut self, diff --git a/sdk/pinpointemail/src/operation/send_email/builders.rs b/sdk/pinpointemail/src/operation/send_email/builders.rs index f0315bf262e0..02e0948a3d21 100644 --- a/sdk/pinpointemail/src/operation/send_email/builders.rs +++ b/sdk/pinpointemail/src/operation/send_email/builders.rs @@ -23,9 +23,9 @@ impl SendEmailFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -81,6 +81,20 @@ impl SendEmailFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::send_email::SendEmail, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                        The email address that you want to use as the "From" address for the email. The address that you specify has to be verified.

                                                                                                                                                                                                                                                        pub fn from_email_address( mut self, diff --git a/sdk/pinpointemail/src/operation/tag_resource/builders.rs b/sdk/pinpointemail/src/operation/tag_resource/builders.rs index 53dfc5fdeec8..34952b39dd74 100644 --- a/sdk/pinpointemail/src/operation/tag_resource/builders.rs +++ b/sdk/pinpointemail/src/operation/tag_resource/builders.rs @@ -20,9 +20,9 @@ impl TagResourceFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -78,6 +78,20 @@ impl TagResourceFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::tag_resource::TagResource, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                        The Amazon Resource Name (ARN) of the resource that you want to add one or more tags to.

                                                                                                                                                                                                                                                        pub fn resource_arn(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.resource_arn(input.into()); diff --git a/sdk/pinpointemail/src/operation/untag_resource/builders.rs b/sdk/pinpointemail/src/operation/untag_resource/builders.rs index 29b93df6dee2..27b70131a9ad 100644 --- a/sdk/pinpointemail/src/operation/untag_resource/builders.rs +++ b/sdk/pinpointemail/src/operation/untag_resource/builders.rs @@ -19,9 +19,9 @@ impl UntagResourceFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl UntagResourceFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::untag_resource::UntagResource, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                        The Amazon Resource Name (ARN) of the resource that you want to remove one or more tags from.

                                                                                                                                                                                                                                                        pub fn resource_arn(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.resource_arn(input.into()); diff --git a/sdk/pinpointemail/src/operation/update_configuration_set_event_destination/builders.rs b/sdk/pinpointemail/src/operation/update_configuration_set_event_destination/builders.rs index 66148d86fbda..84af87a1c76e 100644 --- a/sdk/pinpointemail/src/operation/update_configuration_set_event_destination/builders.rs +++ b/sdk/pinpointemail/src/operation/update_configuration_set_event_destination/builders.rs @@ -20,9 +20,9 @@ impl UpdateConfigurationSetEventDestinationFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize(self) -> ::std::result::Result< + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware(self) -> ::std::result::Result< crate::client::customize::CustomizableOperation, ::aws_smithy_http::result::SdkError >{ @@ -65,6 +65,15 @@ impl UpdateConfigurationSetEventDestinationFluentBuilder { { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize(self) -> ::std::result::Result< + crate::client::customize::CustomizableOperation, + ::aws_smithy_http::result::SdkError + >{ + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                        The name of the configuration set that contains the event destination that you want to modify.

                                                                                                                                                                                                                                                        pub fn configuration_set_name( mut self, diff --git a/sdk/pinpointsmsvoice/src/operation/create_configuration_set/builders.rs b/sdk/pinpointsmsvoice/src/operation/create_configuration_set/builders.rs index 0f05e820ef4c..7affb5fbf5b8 100644 --- a/sdk/pinpointsmsvoice/src/operation/create_configuration_set/builders.rs +++ b/sdk/pinpointsmsvoice/src/operation/create_configuration_set/builders.rs @@ -19,9 +19,9 @@ impl CreateConfigurationSetFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl CreateConfigurationSetFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::create_configuration_set::CreateConfigurationSet, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::create_configuration_set::CreateConfigurationSetError, + >, + > { + self.customize_middleware().await + } /// The name that you want to give the configuration set. pub fn configuration_set_name( mut self, diff --git a/sdk/pinpointsmsvoice/src/operation/create_configuration_set_event_destination/builders.rs b/sdk/pinpointsmsvoice/src/operation/create_configuration_set_event_destination/builders.rs index 60683a968acf..1c94001165b1 100644 --- a/sdk/pinpointsmsvoice/src/operation/create_configuration_set_event_destination/builders.rs +++ b/sdk/pinpointsmsvoice/src/operation/create_configuration_set_event_destination/builders.rs @@ -19,9 +19,9 @@ impl CreateConfigurationSetEventDestinationFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize(self) -> ::std::result::Result< + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware(self) -> ::std::result::Result< crate::client::customize::CustomizableOperation, ::aws_smithy_http::result::SdkError >{ @@ -64,6 +64,15 @@ impl CreateConfigurationSetEventDestinationFluentBuilder { { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize(self) -> ::std::result::Result< + crate::client::customize::CustomizableOperation, + ::aws_smithy_http::result::SdkError + >{ + self.customize_middleware().await + } /// ConfigurationSetName pub fn configuration_set_name( mut self, diff --git a/sdk/pinpointsmsvoice/src/operation/delete_configuration_set/builders.rs b/sdk/pinpointsmsvoice/src/operation/delete_configuration_set/builders.rs index 95f0e06a0111..37bd6bde3f17 100644 --- a/sdk/pinpointsmsvoice/src/operation/delete_configuration_set/builders.rs +++ b/sdk/pinpointsmsvoice/src/operation/delete_configuration_set/builders.rs @@ -19,9 +19,9 @@ impl DeleteConfigurationSetFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl DeleteConfigurationSetFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::delete_configuration_set::DeleteConfigurationSet, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::delete_configuration_set::DeleteConfigurationSetError, + >, + > { + self.customize_middleware().await + } /// ConfigurationSetName pub fn configuration_set_name( mut self, diff --git a/sdk/pinpointsmsvoice/src/operation/delete_configuration_set_event_destination/builders.rs b/sdk/pinpointsmsvoice/src/operation/delete_configuration_set_event_destination/builders.rs index e450c78d6ae4..1979d50a09c8 100644 --- a/sdk/pinpointsmsvoice/src/operation/delete_configuration_set_event_destination/builders.rs +++ b/sdk/pinpointsmsvoice/src/operation/delete_configuration_set_event_destination/builders.rs @@ -19,9 +19,9 @@ impl DeleteConfigurationSetEventDestinationFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize(self) -> ::std::result::Result< + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware(self) -> ::std::result::Result< crate::client::customize::CustomizableOperation, ::aws_smithy_http::result::SdkError >{ @@ -64,6 +64,15 @@ impl DeleteConfigurationSetEventDestinationFluentBuilder { { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize(self) -> ::std::result::Result< + crate::client::customize::CustomizableOperation, + ::aws_smithy_http::result::SdkError + >{ + self.customize_middleware().await + } /// ConfigurationSetName pub fn configuration_set_name( mut self, diff --git a/sdk/pinpointsmsvoice/src/operation/get_configuration_set_event_destinations/builders.rs b/sdk/pinpointsmsvoice/src/operation/get_configuration_set_event_destinations/builders.rs index c5879a59e19e..fe93c2a196c3 100644 --- a/sdk/pinpointsmsvoice/src/operation/get_configuration_set_event_destinations/builders.rs +++ b/sdk/pinpointsmsvoice/src/operation/get_configuration_set_event_destinations/builders.rs @@ -19,9 +19,9 @@ impl GetConfigurationSetEventDestinationsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize(self) -> ::std::result::Result< + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware(self) -> ::std::result::Result< crate::client::customize::CustomizableOperation, ::aws_smithy_http::result::SdkError >{ @@ -64,6 +64,15 @@ impl GetConfigurationSetEventDestinationsFluentBuilder { { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize(self) -> ::std::result::Result< + crate::client::customize::CustomizableOperation, + ::aws_smithy_http::result::SdkError + >{ + self.customize_middleware().await + } /// ConfigurationSetName pub fn configuration_set_name( mut self, diff --git a/sdk/pinpointsmsvoice/src/operation/list_configuration_sets/builders.rs b/sdk/pinpointsmsvoice/src/operation/list_configuration_sets/builders.rs index 3f029b7a83da..7f005f139fd3 100644 --- a/sdk/pinpointsmsvoice/src/operation/list_configuration_sets/builders.rs +++ b/sdk/pinpointsmsvoice/src/operation/list_configuration_sets/builders.rs @@ -19,9 +19,9 @@ impl ListConfigurationSetsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl ListConfigurationSetsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_configuration_sets::ListConfigurationSets, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::list_configuration_sets::ListConfigurationSetsError, + >, + > { + self.customize_middleware().await + } /// A token returned from a previous call to the API that indicates the position in the list of results. pub fn next_token(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.next_token(input.into()); diff --git a/sdk/pinpointsmsvoice/src/operation/send_voice_message/builders.rs b/sdk/pinpointsmsvoice/src/operation/send_voice_message/builders.rs index 2dc766fb8531..6cb060eac8d8 100644 --- a/sdk/pinpointsmsvoice/src/operation/send_voice_message/builders.rs +++ b/sdk/pinpointsmsvoice/src/operation/send_voice_message/builders.rs @@ -19,9 +19,9 @@ impl SendVoiceMessageFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl SendVoiceMessageFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::send_voice_message::SendVoiceMessage, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::send_voice_message::SendVoiceMessageError, + >, + > { + self.customize_middleware().await + } /// The phone number that appears on recipients' devices when they receive the message. pub fn caller_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.caller_id(input.into()); diff --git a/sdk/pinpointsmsvoice/src/operation/update_configuration_set_event_destination/builders.rs b/sdk/pinpointsmsvoice/src/operation/update_configuration_set_event_destination/builders.rs index 02995f088bcc..f97f5670c3f9 100644 --- a/sdk/pinpointsmsvoice/src/operation/update_configuration_set_event_destination/builders.rs +++ b/sdk/pinpointsmsvoice/src/operation/update_configuration_set_event_destination/builders.rs @@ -19,9 +19,9 @@ impl UpdateConfigurationSetEventDestinationFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize(self) -> ::std::result::Result< + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware(self) -> ::std::result::Result< crate::client::customize::CustomizableOperation, ::aws_smithy_http::result::SdkError >{ @@ -64,6 +64,15 @@ impl UpdateConfigurationSetEventDestinationFluentBuilder { { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize(self) -> ::std::result::Result< + crate::client::customize::CustomizableOperation, + ::aws_smithy_http::result::SdkError + >{ + self.customize_middleware().await + } /// ConfigurationSetName pub fn configuration_set_name( mut self, diff --git a/sdk/pinpointsmsvoicev2/src/operation/associate_origination_identity/builders.rs b/sdk/pinpointsmsvoicev2/src/operation/associate_origination_identity/builders.rs index d2bb6407e474..2238e82fd52b 100644 --- a/sdk/pinpointsmsvoicev2/src/operation/associate_origination_identity/builders.rs +++ b/sdk/pinpointsmsvoicev2/src/operation/associate_origination_identity/builders.rs @@ -21,9 +21,9 @@ impl AssociateOriginationIdentityFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -85,6 +85,22 @@ impl AssociateOriginationIdentityFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::associate_origination_identity::AssociateOriginationIdentity, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::associate_origination_identity::AssociateOriginationIdentityError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                        The pool to update with the new Identity. This value can be either the PoolId or PoolArn, and you can find these values using DescribePools.

                                                                                                                                                                                                                                                        pub fn pool_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.pool_id(input.into()); diff --git a/sdk/pinpointsmsvoicev2/src/operation/create_configuration_set/builders.rs b/sdk/pinpointsmsvoicev2/src/operation/create_configuration_set/builders.rs index c2323faf4b97..48b4a415db30 100644 --- a/sdk/pinpointsmsvoicev2/src/operation/create_configuration_set/builders.rs +++ b/sdk/pinpointsmsvoicev2/src/operation/create_configuration_set/builders.rs @@ -21,9 +21,9 @@ impl CreateConfigurationSetFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -85,6 +85,22 @@ impl CreateConfigurationSetFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::create_configuration_set::CreateConfigurationSet, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::create_configuration_set::CreateConfigurationSetError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                        The name to use for the new configuration set.

                                                                                                                                                                                                                                                        pub fn configuration_set_name( mut self, diff --git a/sdk/pinpointsmsvoicev2/src/operation/create_event_destination/builders.rs b/sdk/pinpointsmsvoicev2/src/operation/create_event_destination/builders.rs index 0d36ff063213..628dab5d69fa 100644 --- a/sdk/pinpointsmsvoicev2/src/operation/create_event_destination/builders.rs +++ b/sdk/pinpointsmsvoicev2/src/operation/create_event_destination/builders.rs @@ -21,9 +21,9 @@ impl CreateEventDestinationFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -85,6 +85,22 @@ impl CreateEventDestinationFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::create_event_destination::CreateEventDestination, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::create_event_destination::CreateEventDestinationError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                        Either the name of the configuration set or the configuration set ARN to apply event logging to. The ConfigurateSetName and ConfigurationSetArn can be found using the DescribeConfigurationSets action.

                                                                                                                                                                                                                                                        pub fn configuration_set_name( mut self, diff --git a/sdk/pinpointsmsvoicev2/src/operation/create_opt_out_list/builders.rs b/sdk/pinpointsmsvoicev2/src/operation/create_opt_out_list/builders.rs index b36edb8f8465..766ef31d20e6 100644 --- a/sdk/pinpointsmsvoicev2/src/operation/create_opt_out_list/builders.rs +++ b/sdk/pinpointsmsvoicev2/src/operation/create_opt_out_list/builders.rs @@ -21,9 +21,9 @@ impl CreateOptOutListFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -85,6 +85,22 @@ impl CreateOptOutListFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::create_opt_out_list::CreateOptOutList, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::create_opt_out_list::CreateOptOutListError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                        The name of the new OptOutList.

                                                                                                                                                                                                                                                        pub fn opt_out_list_name( mut self, diff --git a/sdk/pinpointsmsvoicev2/src/operation/create_pool/builders.rs b/sdk/pinpointsmsvoicev2/src/operation/create_pool/builders.rs index 5f15666507c5..065188d61d1d 100644 --- a/sdk/pinpointsmsvoicev2/src/operation/create_pool/builders.rs +++ b/sdk/pinpointsmsvoicev2/src/operation/create_pool/builders.rs @@ -21,9 +21,9 @@ impl CreatePoolFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -79,6 +79,20 @@ impl CreatePoolFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::create_pool::CreatePool, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                        The origination identity to use such as a PhoneNumberId, PhoneNumberArn, SenderId or SenderIdArn. You can use DescribePhoneNumbers to find the values for PhoneNumberId and PhoneNumberArn while DescribeSenderIds can be used to get the values for SenderId and SenderIdArn.

                                                                                                                                                                                                                                                        pub fn origination_identity( mut self, diff --git a/sdk/pinpointsmsvoicev2/src/operation/delete_configuration_set/builders.rs b/sdk/pinpointsmsvoicev2/src/operation/delete_configuration_set/builders.rs index 66426ed0af85..e8639c264f14 100644 --- a/sdk/pinpointsmsvoicev2/src/operation/delete_configuration_set/builders.rs +++ b/sdk/pinpointsmsvoicev2/src/operation/delete_configuration_set/builders.rs @@ -20,9 +20,9 @@ impl DeleteConfigurationSetFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -84,6 +84,22 @@ impl DeleteConfigurationSetFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::delete_configuration_set::DeleteConfigurationSet, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::delete_configuration_set::DeleteConfigurationSetError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                        The name of the configuration set or the configuration set ARN that you want to delete. The ConfigurationSetName and ConfigurationSetArn can be found using the DescribeConfigurationSets action.

                                                                                                                                                                                                                                                        pub fn configuration_set_name( mut self, diff --git a/sdk/pinpointsmsvoicev2/src/operation/delete_default_message_type/builders.rs b/sdk/pinpointsmsvoicev2/src/operation/delete_default_message_type/builders.rs index acfa4e0c074d..4afa641a037e 100644 --- a/sdk/pinpointsmsvoicev2/src/operation/delete_default_message_type/builders.rs +++ b/sdk/pinpointsmsvoicev2/src/operation/delete_default_message_type/builders.rs @@ -20,9 +20,9 @@ impl DeleteDefaultMessageTypeFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -84,6 +84,22 @@ impl DeleteDefaultMessageTypeFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::delete_default_message_type::DeleteDefaultMessageType, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::delete_default_message_type::DeleteDefaultMessageTypeError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                        The name of the configuration set or the configuration set Amazon Resource Name (ARN) to delete the default message type from. The ConfigurationSetName and ConfigurationSetArn can be found using the DescribeConfigurationSets action.

                                                                                                                                                                                                                                                        pub fn configuration_set_name( mut self, diff --git a/sdk/pinpointsmsvoicev2/src/operation/delete_default_sender_id/builders.rs b/sdk/pinpointsmsvoicev2/src/operation/delete_default_sender_id/builders.rs index b6951b48ec2d..b0e40f4ac6c5 100644 --- a/sdk/pinpointsmsvoicev2/src/operation/delete_default_sender_id/builders.rs +++ b/sdk/pinpointsmsvoicev2/src/operation/delete_default_sender_id/builders.rs @@ -20,9 +20,9 @@ impl DeleteDefaultSenderIdFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -84,6 +84,22 @@ impl DeleteDefaultSenderIdFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::delete_default_sender_id::DeleteDefaultSenderId, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::delete_default_sender_id::DeleteDefaultSenderIdError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                        The name of the configuration set or the configuration set Amazon Resource Name (ARN) to delete the default sender ID from. The ConfigurationSetName and ConfigurationSetArn can be found using the DescribeConfigurationSets action.

                                                                                                                                                                                                                                                        pub fn configuration_set_name( mut self, diff --git a/sdk/pinpointsmsvoicev2/src/operation/delete_event_destination/builders.rs b/sdk/pinpointsmsvoicev2/src/operation/delete_event_destination/builders.rs index e618189b4dd8..840fb930fb2a 100644 --- a/sdk/pinpointsmsvoicev2/src/operation/delete_event_destination/builders.rs +++ b/sdk/pinpointsmsvoicev2/src/operation/delete_event_destination/builders.rs @@ -20,9 +20,9 @@ impl DeleteEventDestinationFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -84,6 +84,22 @@ impl DeleteEventDestinationFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::delete_event_destination::DeleteEventDestination, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::delete_event_destination::DeleteEventDestinationError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                        The name of the configuration set or the configuration set's Amazon Resource Name (ARN) to remove the event destination from. The ConfigurateSetName and ConfigurationSetArn can be found using the DescribeConfigurationSets action.

                                                                                                                                                                                                                                                        pub fn configuration_set_name( mut self, diff --git a/sdk/pinpointsmsvoicev2/src/operation/delete_keyword/builders.rs b/sdk/pinpointsmsvoicev2/src/operation/delete_keyword/builders.rs index 13f66717371b..cee24ebe61ed 100644 --- a/sdk/pinpointsmsvoicev2/src/operation/delete_keyword/builders.rs +++ b/sdk/pinpointsmsvoicev2/src/operation/delete_keyword/builders.rs @@ -21,9 +21,9 @@ impl DeleteKeywordFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -79,6 +79,20 @@ impl DeleteKeywordFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::delete_keyword::DeleteKeyword, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                        The origination identity to use such as a PhoneNumberId, PhoneNumberArn, PoolId or PoolArn. You can use DescribePhoneNumbers to find the values for PhoneNumberId and PhoneNumberArn and DescribePools to find the values of PoolId and PoolArn.

                                                                                                                                                                                                                                                        pub fn origination_identity( mut self, diff --git a/sdk/pinpointsmsvoicev2/src/operation/delete_opt_out_list/builders.rs b/sdk/pinpointsmsvoicev2/src/operation/delete_opt_out_list/builders.rs index 10a8f9a8032d..b9bd3c9fd02d 100644 --- a/sdk/pinpointsmsvoicev2/src/operation/delete_opt_out_list/builders.rs +++ b/sdk/pinpointsmsvoicev2/src/operation/delete_opt_out_list/builders.rs @@ -20,9 +20,9 @@ impl DeleteOptOutListFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -84,6 +84,22 @@ impl DeleteOptOutListFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::delete_opt_out_list::DeleteOptOutList, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::delete_opt_out_list::DeleteOptOutListError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                        The OptOutListName or OptOutListArn of the OptOutList to delete. You can use DescribeOptOutLists to find the values for OptOutListName and OptOutListArn.

                                                                                                                                                                                                                                                        pub fn opt_out_list_name( mut self, diff --git a/sdk/pinpointsmsvoicev2/src/operation/delete_opted_out_number/builders.rs b/sdk/pinpointsmsvoicev2/src/operation/delete_opted_out_number/builders.rs index 995a0d2b0fbe..e086b21923aa 100644 --- a/sdk/pinpointsmsvoicev2/src/operation/delete_opted_out_number/builders.rs +++ b/sdk/pinpointsmsvoicev2/src/operation/delete_opted_out_number/builders.rs @@ -21,9 +21,9 @@ impl DeleteOptedOutNumberFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -85,6 +85,22 @@ impl DeleteOptedOutNumberFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::delete_opted_out_number::DeleteOptedOutNumber, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::delete_opted_out_number::DeleteOptedOutNumberError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                        The OptOutListName or OptOutListArn to remove the phone number from.

                                                                                                                                                                                                                                                        pub fn opt_out_list_name( mut self, diff --git a/sdk/pinpointsmsvoicev2/src/operation/delete_pool/builders.rs b/sdk/pinpointsmsvoicev2/src/operation/delete_pool/builders.rs index 9e10254a246b..7bf541fb165a 100644 --- a/sdk/pinpointsmsvoicev2/src/operation/delete_pool/builders.rs +++ b/sdk/pinpointsmsvoicev2/src/operation/delete_pool/builders.rs @@ -21,9 +21,9 @@ impl DeletePoolFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -79,6 +79,20 @@ impl DeletePoolFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::delete_pool::DeletePool, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                        The PoolId or PoolArn of the pool to delete. You can use DescribePools to find the values for PoolId and PoolArn .

                                                                                                                                                                                                                                                        pub fn pool_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.pool_id(input.into()); diff --git a/sdk/pinpointsmsvoicev2/src/operation/delete_text_message_spend_limit_override/builders.rs b/sdk/pinpointsmsvoicev2/src/operation/delete_text_message_spend_limit_override/builders.rs index ec3fcf85df99..f8cd0de07889 100644 --- a/sdk/pinpointsmsvoicev2/src/operation/delete_text_message_spend_limit_override/builders.rs +++ b/sdk/pinpointsmsvoicev2/src/operation/delete_text_message_spend_limit_override/builders.rs @@ -19,9 +19,9 @@ impl DeleteTextMessageSpendLimitOverrideFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize(self) -> ::std::result::Result< + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware(self) -> ::std::result::Result< crate::client::customize::CustomizableOperation, ::aws_smithy_http::result::SdkError >{ @@ -64,4 +64,13 @@ impl DeleteTextMessageSpendLimitOverrideFluentBuilder { { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize(self) -> ::std::result::Result< + crate::client::customize::CustomizableOperation, + ::aws_smithy_http::result::SdkError + >{ + self.customize_middleware().await + } } diff --git a/sdk/pinpointsmsvoicev2/src/operation/delete_voice_message_spend_limit_override/builders.rs b/sdk/pinpointsmsvoicev2/src/operation/delete_voice_message_spend_limit_override/builders.rs index 570fa06b0f6a..2571026a22ae 100644 --- a/sdk/pinpointsmsvoicev2/src/operation/delete_voice_message_spend_limit_override/builders.rs +++ b/sdk/pinpointsmsvoicev2/src/operation/delete_voice_message_spend_limit_override/builders.rs @@ -19,9 +19,9 @@ impl DeleteVoiceMessageSpendLimitOverrideFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize(self) -> ::std::result::Result< + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware(self) -> ::std::result::Result< crate::client::customize::CustomizableOperation, ::aws_smithy_http::result::SdkError >{ @@ -64,4 +64,13 @@ impl DeleteVoiceMessageSpendLimitOverrideFluentBuilder { { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize(self) -> ::std::result::Result< + crate::client::customize::CustomizableOperation, + ::aws_smithy_http::result::SdkError + >{ + self.customize_middleware().await + } } diff --git a/sdk/pinpointsmsvoicev2/src/operation/describe_account_attributes/builders.rs b/sdk/pinpointsmsvoicev2/src/operation/describe_account_attributes/builders.rs index 88951f4a5c81..6dc83ab2f467 100644 --- a/sdk/pinpointsmsvoicev2/src/operation/describe_account_attributes/builders.rs +++ b/sdk/pinpointsmsvoicev2/src/operation/describe_account_attributes/builders.rs @@ -20,9 +20,9 @@ impl DescribeAccountAttributesFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -84,6 +84,22 @@ impl DescribeAccountAttributesFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::describe_account_attributes::DescribeAccountAttributes, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::describe_account_attributes::DescribeAccountAttributesError, + >, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::describe_account_attributes::paginator::DescribeAccountAttributesPaginator::send) which returns a `Stream`. diff --git a/sdk/pinpointsmsvoicev2/src/operation/describe_account_limits/builders.rs b/sdk/pinpointsmsvoicev2/src/operation/describe_account_limits/builders.rs index 6d6e781d60c1..8c98f23c808e 100644 --- a/sdk/pinpointsmsvoicev2/src/operation/describe_account_limits/builders.rs +++ b/sdk/pinpointsmsvoicev2/src/operation/describe_account_limits/builders.rs @@ -20,9 +20,9 @@ impl DescribeAccountLimitsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -84,6 +84,22 @@ impl DescribeAccountLimitsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::describe_account_limits::DescribeAccountLimits, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::describe_account_limits::DescribeAccountLimitsError, + >, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::describe_account_limits::paginator::DescribeAccountLimitsPaginator::send) which returns a `Stream`. diff --git a/sdk/pinpointsmsvoicev2/src/operation/describe_configuration_sets/builders.rs b/sdk/pinpointsmsvoicev2/src/operation/describe_configuration_sets/builders.rs index de39bdc1c487..c579f4bbad05 100644 --- a/sdk/pinpointsmsvoicev2/src/operation/describe_configuration_sets/builders.rs +++ b/sdk/pinpointsmsvoicev2/src/operation/describe_configuration_sets/builders.rs @@ -21,9 +21,9 @@ impl DescribeConfigurationSetsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -85,6 +85,22 @@ impl DescribeConfigurationSetsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::describe_configuration_sets::DescribeConfigurationSets, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::describe_configuration_sets::DescribeConfigurationSetsError, + >, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::describe_configuration_sets::paginator::DescribeConfigurationSetsPaginator::send) which returns a `Stream`. diff --git a/sdk/pinpointsmsvoicev2/src/operation/describe_keywords/builders.rs b/sdk/pinpointsmsvoicev2/src/operation/describe_keywords/builders.rs index 2baa79b8768b..829fa7721d81 100644 --- a/sdk/pinpointsmsvoicev2/src/operation/describe_keywords/builders.rs +++ b/sdk/pinpointsmsvoicev2/src/operation/describe_keywords/builders.rs @@ -21,9 +21,9 @@ impl DescribeKeywordsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -85,6 +85,22 @@ impl DescribeKeywordsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::describe_keywords::DescribeKeywords, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::describe_keywords::DescribeKeywordsError, + >, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::describe_keywords::paginator::DescribeKeywordsPaginator::send) which returns a `Stream`. diff --git a/sdk/pinpointsmsvoicev2/src/operation/describe_opt_out_lists/builders.rs b/sdk/pinpointsmsvoicev2/src/operation/describe_opt_out_lists/builders.rs index cc8d0c651bbe..713ac0712bd2 100644 --- a/sdk/pinpointsmsvoicev2/src/operation/describe_opt_out_lists/builders.rs +++ b/sdk/pinpointsmsvoicev2/src/operation/describe_opt_out_lists/builders.rs @@ -21,9 +21,9 @@ impl DescribeOptOutListsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -85,6 +85,22 @@ impl DescribeOptOutListsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::describe_opt_out_lists::DescribeOptOutLists, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::describe_opt_out_lists::DescribeOptOutListsError, + >, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::describe_opt_out_lists::paginator::DescribeOptOutListsPaginator::send) which returns a `Stream`. diff --git a/sdk/pinpointsmsvoicev2/src/operation/describe_opted_out_numbers/builders.rs b/sdk/pinpointsmsvoicev2/src/operation/describe_opted_out_numbers/builders.rs index 59dddef1b075..7de4cc84f22a 100644 --- a/sdk/pinpointsmsvoicev2/src/operation/describe_opted_out_numbers/builders.rs +++ b/sdk/pinpointsmsvoicev2/src/operation/describe_opted_out_numbers/builders.rs @@ -22,9 +22,9 @@ impl DescribeOptedOutNumbersFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -86,6 +86,22 @@ impl DescribeOptedOutNumbersFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::describe_opted_out_numbers::DescribeOptedOutNumbers, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::describe_opted_out_numbers::DescribeOptedOutNumbersError, + >, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::describe_opted_out_numbers::paginator::DescribeOptedOutNumbersPaginator::send) which returns a `Stream`. diff --git a/sdk/pinpointsmsvoicev2/src/operation/describe_phone_numbers/builders.rs b/sdk/pinpointsmsvoicev2/src/operation/describe_phone_numbers/builders.rs index e992535f85dd..4ed72b181f6e 100644 --- a/sdk/pinpointsmsvoicev2/src/operation/describe_phone_numbers/builders.rs +++ b/sdk/pinpointsmsvoicev2/src/operation/describe_phone_numbers/builders.rs @@ -21,9 +21,9 @@ impl DescribePhoneNumbersFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -85,6 +85,22 @@ impl DescribePhoneNumbersFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::describe_phone_numbers::DescribePhoneNumbers, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::describe_phone_numbers::DescribePhoneNumbersError, + >, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::describe_phone_numbers::paginator::DescribePhoneNumbersPaginator::send) which returns a `Stream`. diff --git a/sdk/pinpointsmsvoicev2/src/operation/describe_pools/builders.rs b/sdk/pinpointsmsvoicev2/src/operation/describe_pools/builders.rs index d37b6cb97523..b4b2f55f8a13 100644 --- a/sdk/pinpointsmsvoicev2/src/operation/describe_pools/builders.rs +++ b/sdk/pinpointsmsvoicev2/src/operation/describe_pools/builders.rs @@ -22,9 +22,9 @@ impl DescribePoolsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -80,6 +80,20 @@ impl DescribePoolsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::describe_pools::DescribePools, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::describe_pools::paginator::DescribePoolsPaginator::send) which returns a `Stream`. diff --git a/sdk/pinpointsmsvoicev2/src/operation/describe_sender_ids/builders.rs b/sdk/pinpointsmsvoicev2/src/operation/describe_sender_ids/builders.rs index 50f5d76f8542..108fdf7639e3 100644 --- a/sdk/pinpointsmsvoicev2/src/operation/describe_sender_ids/builders.rs +++ b/sdk/pinpointsmsvoicev2/src/operation/describe_sender_ids/builders.rs @@ -21,9 +21,9 @@ impl DescribeSenderIdsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -85,6 +85,22 @@ impl DescribeSenderIdsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::describe_sender_ids::DescribeSenderIds, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::describe_sender_ids::DescribeSenderIdsError, + >, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::describe_sender_ids::paginator::DescribeSenderIdsPaginator::send) which returns a `Stream`. diff --git a/sdk/pinpointsmsvoicev2/src/operation/describe_spend_limits/builders.rs b/sdk/pinpointsmsvoicev2/src/operation/describe_spend_limits/builders.rs index 04b6d49ecafb..e11b034285fb 100644 --- a/sdk/pinpointsmsvoicev2/src/operation/describe_spend_limits/builders.rs +++ b/sdk/pinpointsmsvoicev2/src/operation/describe_spend_limits/builders.rs @@ -20,9 +20,9 @@ impl DescribeSpendLimitsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -84,6 +84,22 @@ impl DescribeSpendLimitsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::describe_spend_limits::DescribeSpendLimits, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::describe_spend_limits::DescribeSpendLimitsError, + >, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::describe_spend_limits::paginator::DescribeSpendLimitsPaginator::send) which returns a `Stream`. diff --git a/sdk/pinpointsmsvoicev2/src/operation/disassociate_origination_identity/builders.rs b/sdk/pinpointsmsvoicev2/src/operation/disassociate_origination_identity/builders.rs index a2793a2953bf..6879e6561cce 100644 --- a/sdk/pinpointsmsvoicev2/src/operation/disassociate_origination_identity/builders.rs +++ b/sdk/pinpointsmsvoicev2/src/operation/disassociate_origination_identity/builders.rs @@ -20,9 +20,9 @@ impl DisassociateOriginationIdentityFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize(self) -> ::std::result::Result< + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware(self) -> ::std::result::Result< crate::client::customize::CustomizableOperation, ::aws_smithy_http::result::SdkError >{ @@ -65,6 +65,15 @@ impl DisassociateOriginationIdentityFluentBuilder { { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize(self) -> ::std::result::Result< + crate::client::customize::CustomizableOperation, + ::aws_smithy_http::result::SdkError + >{ + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                        The unique identifier for the pool to disassociate with the origination identity. This value can be either the PoolId or PoolArn.

                                                                                                                                                                                                                                                        pub fn pool_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.pool_id(input.into()); diff --git a/sdk/pinpointsmsvoicev2/src/operation/list_pool_origination_identities/builders.rs b/sdk/pinpointsmsvoicev2/src/operation/list_pool_origination_identities/builders.rs index 97a56fa05662..22624eacbe47 100644 --- a/sdk/pinpointsmsvoicev2/src/operation/list_pool_origination_identities/builders.rs +++ b/sdk/pinpointsmsvoicev2/src/operation/list_pool_origination_identities/builders.rs @@ -20,9 +20,9 @@ impl ListPoolOriginationIdentitiesFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -84,6 +84,22 @@ impl ListPoolOriginationIdentitiesFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_pool_origination_identities::ListPoolOriginationIdentities, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::list_pool_origination_identities::ListPoolOriginationIdentitiesError, + >, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::list_pool_origination_identities::paginator::ListPoolOriginationIdentitiesPaginator::send) which returns a `Stream`. diff --git a/sdk/pinpointsmsvoicev2/src/operation/list_tags_for_resource/builders.rs b/sdk/pinpointsmsvoicev2/src/operation/list_tags_for_resource/builders.rs index 01306f5d9d0b..af2de0276726 100644 --- a/sdk/pinpointsmsvoicev2/src/operation/list_tags_for_resource/builders.rs +++ b/sdk/pinpointsmsvoicev2/src/operation/list_tags_for_resource/builders.rs @@ -19,9 +19,9 @@ impl ListTagsForResourceFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl ListTagsForResourceFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_tags_for_resource::ListTagsForResource, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::list_tags_for_resource::ListTagsForResourceError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                        The Amazon Resource Name (ARN) of the resource to query for.

                                                                                                                                                                                                                                                        pub fn resource_arn(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.resource_arn(input.into()); diff --git a/sdk/pinpointsmsvoicev2/src/operation/put_keyword/builders.rs b/sdk/pinpointsmsvoicev2/src/operation/put_keyword/builders.rs index 9ea8a08da36d..1518175a37f1 100644 --- a/sdk/pinpointsmsvoicev2/src/operation/put_keyword/builders.rs +++ b/sdk/pinpointsmsvoicev2/src/operation/put_keyword/builders.rs @@ -21,9 +21,9 @@ impl PutKeywordFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -79,6 +79,20 @@ impl PutKeywordFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::put_keyword::PutKeyword, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                        The origination identity to use such as a PhoneNumberId, PhoneNumberArn, SenderId or SenderIdArn. You can use DescribePhoneNumbers get the values for PhoneNumberId and PhoneNumberArn while DescribeSenderIds can be used to get the values for SenderId and SenderIdArn.

                                                                                                                                                                                                                                                        pub fn origination_identity( mut self, diff --git a/sdk/pinpointsmsvoicev2/src/operation/put_opted_out_number/builders.rs b/sdk/pinpointsmsvoicev2/src/operation/put_opted_out_number/builders.rs index 4940e7212a64..0fbe83d6fe21 100644 --- a/sdk/pinpointsmsvoicev2/src/operation/put_opted_out_number/builders.rs +++ b/sdk/pinpointsmsvoicev2/src/operation/put_opted_out_number/builders.rs @@ -20,9 +20,9 @@ impl PutOptedOutNumberFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -84,6 +84,22 @@ impl PutOptedOutNumberFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::put_opted_out_number::PutOptedOutNumber, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::put_opted_out_number::PutOptedOutNumberError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                        The OptOutListName or OptOutListArn to add the phone number to.

                                                                                                                                                                                                                                                        pub fn opt_out_list_name( mut self, diff --git a/sdk/pinpointsmsvoicev2/src/operation/release_phone_number/builders.rs b/sdk/pinpointsmsvoicev2/src/operation/release_phone_number/builders.rs index 02de0f68ea53..acd22d8bb480 100644 --- a/sdk/pinpointsmsvoicev2/src/operation/release_phone_number/builders.rs +++ b/sdk/pinpointsmsvoicev2/src/operation/release_phone_number/builders.rs @@ -20,9 +20,9 @@ impl ReleasePhoneNumberFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -84,6 +84,22 @@ impl ReleasePhoneNumberFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::release_phone_number::ReleasePhoneNumber, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::release_phone_number::ReleasePhoneNumberError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                        The PhoneNumberId or PhoneNumberArn of the phone number to release. You can use DescribePhoneNumbers to get the values for PhoneNumberId and PhoneNumberArn.

                                                                                                                                                                                                                                                        pub fn phone_number_id( mut self, diff --git a/sdk/pinpointsmsvoicev2/src/operation/request_phone_number/builders.rs b/sdk/pinpointsmsvoicev2/src/operation/request_phone_number/builders.rs index d8480caca592..9102435c45a9 100644 --- a/sdk/pinpointsmsvoicev2/src/operation/request_phone_number/builders.rs +++ b/sdk/pinpointsmsvoicev2/src/operation/request_phone_number/builders.rs @@ -19,9 +19,9 @@ impl RequestPhoneNumberFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl RequestPhoneNumberFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::request_phone_number::RequestPhoneNumber, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::request_phone_number::RequestPhoneNumberError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                        The two-character code, in ISO 3166-1 alpha-2 format, for the country or region.

                                                                                                                                                                                                                                                        pub fn iso_country_code( mut self, diff --git a/sdk/pinpointsmsvoicev2/src/operation/send_text_message/builders.rs b/sdk/pinpointsmsvoicev2/src/operation/send_text_message/builders.rs index 23c05160c514..d16f258e51bc 100644 --- a/sdk/pinpointsmsvoicev2/src/operation/send_text_message/builders.rs +++ b/sdk/pinpointsmsvoicev2/src/operation/send_text_message/builders.rs @@ -20,9 +20,9 @@ impl SendTextMessageFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -84,6 +84,22 @@ impl SendTextMessageFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::send_text_message::SendTextMessage, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::send_text_message::SendTextMessageError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                        The destination phone number in E.164 format.

                                                                                                                                                                                                                                                        pub fn destination_phone_number( mut self, diff --git a/sdk/pinpointsmsvoicev2/src/operation/send_voice_message/builders.rs b/sdk/pinpointsmsvoicev2/src/operation/send_voice_message/builders.rs index f5ca4ae025cd..2229420f333f 100644 --- a/sdk/pinpointsmsvoicev2/src/operation/send_voice_message/builders.rs +++ b/sdk/pinpointsmsvoicev2/src/operation/send_voice_message/builders.rs @@ -19,9 +19,9 @@ impl SendVoiceMessageFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl SendVoiceMessageFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::send_voice_message::SendVoiceMessage, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::send_voice_message::SendVoiceMessageError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                        The destination phone number in E.164 format.

                                                                                                                                                                                                                                                        pub fn destination_phone_number( mut self, diff --git a/sdk/pinpointsmsvoicev2/src/operation/set_default_message_type/builders.rs b/sdk/pinpointsmsvoicev2/src/operation/set_default_message_type/builders.rs index 3f7e847b38e1..843fee991fb3 100644 --- a/sdk/pinpointsmsvoicev2/src/operation/set_default_message_type/builders.rs +++ b/sdk/pinpointsmsvoicev2/src/operation/set_default_message_type/builders.rs @@ -20,9 +20,9 @@ impl SetDefaultMessageTypeFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -84,6 +84,22 @@ impl SetDefaultMessageTypeFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::set_default_message_type::SetDefaultMessageType, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::set_default_message_type::SetDefaultMessageTypeError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                        The configuration set to update with a new default message type. This field can be the ConsigurationSetName or ConfigurationSetArn.

                                                                                                                                                                                                                                                        pub fn configuration_set_name( mut self, diff --git a/sdk/pinpointsmsvoicev2/src/operation/set_default_sender_id/builders.rs b/sdk/pinpointsmsvoicev2/src/operation/set_default_sender_id/builders.rs index 1fce7008504a..8a107158fc88 100644 --- a/sdk/pinpointsmsvoicev2/src/operation/set_default_sender_id/builders.rs +++ b/sdk/pinpointsmsvoicev2/src/operation/set_default_sender_id/builders.rs @@ -20,9 +20,9 @@ impl SetDefaultSenderIdFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -84,6 +84,22 @@ impl SetDefaultSenderIdFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::set_default_sender_id::SetDefaultSenderId, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::set_default_sender_id::SetDefaultSenderIdError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                        The configuration set to updated with a new default SenderId. This field can be the ConsigurationSetName or ConfigurationSetArn.

                                                                                                                                                                                                                                                        pub fn configuration_set_name( mut self, diff --git a/sdk/pinpointsmsvoicev2/src/operation/set_text_message_spend_limit_override/builders.rs b/sdk/pinpointsmsvoicev2/src/operation/set_text_message_spend_limit_override/builders.rs index 786d9cc6f548..228cd0139bca 100644 --- a/sdk/pinpointsmsvoicev2/src/operation/set_text_message_spend_limit_override/builders.rs +++ b/sdk/pinpointsmsvoicev2/src/operation/set_text_message_spend_limit_override/builders.rs @@ -19,9 +19,9 @@ impl SetTextMessageSpendLimitOverrideFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize(self) -> ::std::result::Result< + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware(self) -> ::std::result::Result< crate::client::customize::CustomizableOperation, ::aws_smithy_http::result::SdkError >{ @@ -64,6 +64,15 @@ impl SetTextMessageSpendLimitOverrideFluentBuilder { { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize(self) -> ::std::result::Result< + crate::client::customize::CustomizableOperation, + ::aws_smithy_http::result::SdkError + >{ + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                        The new monthly limit to enforce on text messages.

                                                                                                                                                                                                                                                        pub fn monthly_limit(mut self, input: i64) -> Self { self.inner = self.inner.monthly_limit(input); diff --git a/sdk/pinpointsmsvoicev2/src/operation/set_voice_message_spend_limit_override/builders.rs b/sdk/pinpointsmsvoicev2/src/operation/set_voice_message_spend_limit_override/builders.rs index c0bd5f8fad60..ab62b32f18b5 100644 --- a/sdk/pinpointsmsvoicev2/src/operation/set_voice_message_spend_limit_override/builders.rs +++ b/sdk/pinpointsmsvoicev2/src/operation/set_voice_message_spend_limit_override/builders.rs @@ -19,9 +19,9 @@ impl SetVoiceMessageSpendLimitOverrideFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize(self) -> ::std::result::Result< + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware(self) -> ::std::result::Result< crate::client::customize::CustomizableOperation, ::aws_smithy_http::result::SdkError >{ @@ -64,6 +64,15 @@ impl SetVoiceMessageSpendLimitOverrideFluentBuilder { { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize(self) -> ::std::result::Result< + crate::client::customize::CustomizableOperation, + ::aws_smithy_http::result::SdkError + >{ + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                        The new monthly limit to enforce on voice messages.

                                                                                                                                                                                                                                                        pub fn monthly_limit(mut self, input: i64) -> Self { self.inner = self.inner.monthly_limit(input); diff --git a/sdk/pinpointsmsvoicev2/src/operation/tag_resource/builders.rs b/sdk/pinpointsmsvoicev2/src/operation/tag_resource/builders.rs index 40309e08ce6c..54dc03fb02ac 100644 --- a/sdk/pinpointsmsvoicev2/src/operation/tag_resource/builders.rs +++ b/sdk/pinpointsmsvoicev2/src/operation/tag_resource/builders.rs @@ -19,9 +19,9 @@ impl TagResourceFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl TagResourceFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::tag_resource::TagResource, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                        The Amazon Resource Name (ARN) of the resource.

                                                                                                                                                                                                                                                        pub fn resource_arn(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.resource_arn(input.into()); diff --git a/sdk/pinpointsmsvoicev2/src/operation/untag_resource/builders.rs b/sdk/pinpointsmsvoicev2/src/operation/untag_resource/builders.rs index b7fcb49ef7be..bb751ed3738b 100644 --- a/sdk/pinpointsmsvoicev2/src/operation/untag_resource/builders.rs +++ b/sdk/pinpointsmsvoicev2/src/operation/untag_resource/builders.rs @@ -19,9 +19,9 @@ impl UntagResourceFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl UntagResourceFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::untag_resource::UntagResource, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                        The Amazon Resource Name (ARN) of the resource.

                                                                                                                                                                                                                                                        pub fn resource_arn(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.resource_arn(input.into()); diff --git a/sdk/pinpointsmsvoicev2/src/operation/update_event_destination/builders.rs b/sdk/pinpointsmsvoicev2/src/operation/update_event_destination/builders.rs index 9e6963500bbb..2646fad2a61a 100644 --- a/sdk/pinpointsmsvoicev2/src/operation/update_event_destination/builders.rs +++ b/sdk/pinpointsmsvoicev2/src/operation/update_event_destination/builders.rs @@ -20,9 +20,9 @@ impl UpdateEventDestinationFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -84,6 +84,22 @@ impl UpdateEventDestinationFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::update_event_destination::UpdateEventDestination, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::update_event_destination::UpdateEventDestinationError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                        The configuration set to update with the new event destination. Valid values for this can be the ConfigurationSetName or ConfigurationSetArn.

                                                                                                                                                                                                                                                        pub fn configuration_set_name( mut self, diff --git a/sdk/pinpointsmsvoicev2/src/operation/update_phone_number/builders.rs b/sdk/pinpointsmsvoicev2/src/operation/update_phone_number/builders.rs index 396df4845e8e..cfa6c6e466fd 100644 --- a/sdk/pinpointsmsvoicev2/src/operation/update_phone_number/builders.rs +++ b/sdk/pinpointsmsvoicev2/src/operation/update_phone_number/builders.rs @@ -20,9 +20,9 @@ impl UpdatePhoneNumberFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -84,6 +84,22 @@ impl UpdatePhoneNumberFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::update_phone_number::UpdatePhoneNumber, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::update_phone_number::UpdatePhoneNumberError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                        The unique identifier of the phone number. Valid values for this field can be either the PhoneNumberId or PhoneNumberArn.

                                                                                                                                                                                                                                                        pub fn phone_number_id( mut self, diff --git a/sdk/pinpointsmsvoicev2/src/operation/update_pool/builders.rs b/sdk/pinpointsmsvoicev2/src/operation/update_pool/builders.rs index 020b0bab7512..f0ae592d5b73 100644 --- a/sdk/pinpointsmsvoicev2/src/operation/update_pool/builders.rs +++ b/sdk/pinpointsmsvoicev2/src/operation/update_pool/builders.rs @@ -19,9 +19,9 @@ impl UpdatePoolFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl UpdatePoolFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::update_pool::UpdatePool, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                        The unique identifier of the pool to update. Valid values are either the PoolId or PoolArn.

                                                                                                                                                                                                                                                        pub fn pool_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.pool_id(input.into()); diff --git a/sdk/pipes/src/operation/create_pipe/builders.rs b/sdk/pipes/src/operation/create_pipe/builders.rs index a649219d6f63..6d51e1728823 100644 --- a/sdk/pipes/src/operation/create_pipe/builders.rs +++ b/sdk/pipes/src/operation/create_pipe/builders.rs @@ -19,9 +19,9 @@ impl CreatePipeFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl CreatePipeFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::create_pipe::CreatePipe, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                        The name of the pipe.

                                                                                                                                                                                                                                                        pub fn name(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.name(input.into()); diff --git a/sdk/pipes/src/operation/delete_pipe/builders.rs b/sdk/pipes/src/operation/delete_pipe/builders.rs index 92e3d77f9caa..93b0777e9910 100644 --- a/sdk/pipes/src/operation/delete_pipe/builders.rs +++ b/sdk/pipes/src/operation/delete_pipe/builders.rs @@ -19,9 +19,9 @@ impl DeletePipeFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl DeletePipeFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::delete_pipe::DeletePipe, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                        The name of the pipe.

                                                                                                                                                                                                                                                        pub fn name(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.name(input.into()); diff --git a/sdk/pipes/src/operation/describe_pipe/builders.rs b/sdk/pipes/src/operation/describe_pipe/builders.rs index c317ab1a7a80..f09a26189086 100644 --- a/sdk/pipes/src/operation/describe_pipe/builders.rs +++ b/sdk/pipes/src/operation/describe_pipe/builders.rs @@ -19,9 +19,9 @@ impl DescribePipeFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl DescribePipeFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::describe_pipe::DescribePipe, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                        The name of the pipe.

                                                                                                                                                                                                                                                        pub fn name(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.name(input.into()); diff --git a/sdk/pipes/src/operation/list_pipes/builders.rs b/sdk/pipes/src/operation/list_pipes/builders.rs index a429275c2180..d863527749f8 100644 --- a/sdk/pipes/src/operation/list_pipes/builders.rs +++ b/sdk/pipes/src/operation/list_pipes/builders.rs @@ -19,9 +19,9 @@ impl ListPipesFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl ListPipesFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_pipes::ListPipes, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::list_pipes::paginator::ListPipesPaginator::send) which returns a `Stream`. diff --git a/sdk/pipes/src/operation/list_tags_for_resource/builders.rs b/sdk/pipes/src/operation/list_tags_for_resource/builders.rs index 460ddd4a74d7..dd827ba62d9f 100644 --- a/sdk/pipes/src/operation/list_tags_for_resource/builders.rs +++ b/sdk/pipes/src/operation/list_tags_for_resource/builders.rs @@ -19,9 +19,9 @@ impl ListTagsForResourceFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl ListTagsForResourceFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_tags_for_resource::ListTagsForResource, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::list_tags_for_resource::ListTagsForResourceError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                        The ARN of the pipe for which you want to view tags.

                                                                                                                                                                                                                                                        pub fn resource_arn(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.resource_arn(input.into()); diff --git a/sdk/pipes/src/operation/start_pipe/builders.rs b/sdk/pipes/src/operation/start_pipe/builders.rs index f5fab754fda9..36e0d7b89c32 100644 --- a/sdk/pipes/src/operation/start_pipe/builders.rs +++ b/sdk/pipes/src/operation/start_pipe/builders.rs @@ -19,9 +19,9 @@ impl StartPipeFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl StartPipeFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::start_pipe::StartPipe, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                        The name of the pipe.

                                                                                                                                                                                                                                                        pub fn name(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.name(input.into()); diff --git a/sdk/pipes/src/operation/stop_pipe/builders.rs b/sdk/pipes/src/operation/stop_pipe/builders.rs index e26c3c62c79a..5290fd88a963 100644 --- a/sdk/pipes/src/operation/stop_pipe/builders.rs +++ b/sdk/pipes/src/operation/stop_pipe/builders.rs @@ -19,9 +19,9 @@ impl StopPipeFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl StopPipeFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::stop_pipe::StopPipe, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                        The name of the pipe.

                                                                                                                                                                                                                                                        pub fn name(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.name(input.into()); diff --git a/sdk/pipes/src/operation/tag_resource/builders.rs b/sdk/pipes/src/operation/tag_resource/builders.rs index efc868949268..a7016c1f7ce4 100644 --- a/sdk/pipes/src/operation/tag_resource/builders.rs +++ b/sdk/pipes/src/operation/tag_resource/builders.rs @@ -22,9 +22,9 @@ impl TagResourceFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -80,6 +80,20 @@ impl TagResourceFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::tag_resource::TagResource, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                        The ARN of the pipe.

                                                                                                                                                                                                                                                        pub fn resource_arn(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.resource_arn(input.into()); diff --git a/sdk/pipes/src/operation/untag_resource/builders.rs b/sdk/pipes/src/operation/untag_resource/builders.rs index 55169f7f4dac..b6d33d42b83c 100644 --- a/sdk/pipes/src/operation/untag_resource/builders.rs +++ b/sdk/pipes/src/operation/untag_resource/builders.rs @@ -19,9 +19,9 @@ impl UntagResourceFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl UntagResourceFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::untag_resource::UntagResource, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                        The ARN of the pipe.

                                                                                                                                                                                                                                                        pub fn resource_arn(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.resource_arn(input.into()); diff --git a/sdk/pipes/src/operation/update_pipe/builders.rs b/sdk/pipes/src/operation/update_pipe/builders.rs index 3da148fdb569..e4ce42d0d949 100644 --- a/sdk/pipes/src/operation/update_pipe/builders.rs +++ b/sdk/pipes/src/operation/update_pipe/builders.rs @@ -20,9 +20,9 @@ impl UpdatePipeFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -78,6 +78,20 @@ impl UpdatePipeFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::update_pipe::UpdatePipe, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                        The name of the pipe.

                                                                                                                                                                                                                                                        pub fn name(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.name(input.into()); diff --git a/sdk/polly/src/operation/delete_lexicon/builders.rs b/sdk/polly/src/operation/delete_lexicon/builders.rs index d870bb52047a..eae8671f9213 100644 --- a/sdk/polly/src/operation/delete_lexicon/builders.rs +++ b/sdk/polly/src/operation/delete_lexicon/builders.rs @@ -20,9 +20,9 @@ impl DeleteLexiconFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -78,6 +78,20 @@ impl DeleteLexiconFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::delete_lexicon::DeleteLexicon, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                        The name of the lexicon to delete. Must be an existing lexicon in the region.

                                                                                                                                                                                                                                                        pub fn name(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.name(input.into()); diff --git a/sdk/polly/src/operation/describe_voices/builders.rs b/sdk/polly/src/operation/describe_voices/builders.rs index ad235167aeee..5729f631a15a 100644 --- a/sdk/polly/src/operation/describe_voices/builders.rs +++ b/sdk/polly/src/operation/describe_voices/builders.rs @@ -23,9 +23,9 @@ impl DescribeVoicesFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -81,6 +81,20 @@ impl DescribeVoicesFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::describe_voices::DescribeVoices, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                        Specifies the engine (standard or neural) used by Amazon Polly when processing input text for speech synthesis.

                                                                                                                                                                                                                                                        pub fn engine(mut self, input: crate::types::Engine) -> Self { self.inner = self.inner.engine(input); diff --git a/sdk/polly/src/operation/get_lexicon/builders.rs b/sdk/polly/src/operation/get_lexicon/builders.rs index bb34c410975a..e21691d9e719 100644 --- a/sdk/polly/src/operation/get_lexicon/builders.rs +++ b/sdk/polly/src/operation/get_lexicon/builders.rs @@ -19,9 +19,9 @@ impl GetLexiconFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl GetLexiconFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::get_lexicon::GetLexicon, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                        Name of the lexicon.

                                                                                                                                                                                                                                                        pub fn name(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.name(input.into()); diff --git a/sdk/polly/src/operation/get_speech_synthesis_task/builders.rs b/sdk/polly/src/operation/get_speech_synthesis_task/builders.rs index defb2f9042b4..a6153c0920e4 100644 --- a/sdk/polly/src/operation/get_speech_synthesis_task/builders.rs +++ b/sdk/polly/src/operation/get_speech_synthesis_task/builders.rs @@ -20,9 +20,9 @@ impl GetSpeechSynthesisTaskFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -84,6 +84,22 @@ impl GetSpeechSynthesisTaskFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::get_speech_synthesis_task::GetSpeechSynthesisTask, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::get_speech_synthesis_task::GetSpeechSynthesisTaskError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                        The Amazon Polly generated identifier for a speech synthesis task.

                                                                                                                                                                                                                                                        pub fn task_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.task_id(input.into()); diff --git a/sdk/polly/src/operation/list_lexicons/builders.rs b/sdk/polly/src/operation/list_lexicons/builders.rs index a2d68187b582..616fbe417375 100644 --- a/sdk/polly/src/operation/list_lexicons/builders.rs +++ b/sdk/polly/src/operation/list_lexicons/builders.rs @@ -19,9 +19,9 @@ impl ListLexiconsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl ListLexiconsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_lexicons::ListLexicons, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                        An opaque pagination token returned from previous ListLexicons operation. If present, indicates where to continue the list of lexicons.

                                                                                                                                                                                                                                                        pub fn next_token(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.next_token(input.into()); diff --git a/sdk/polly/src/operation/list_speech_synthesis_tasks/builders.rs b/sdk/polly/src/operation/list_speech_synthesis_tasks/builders.rs index 7ad5de7795bd..8ffbad1f4ba4 100644 --- a/sdk/polly/src/operation/list_speech_synthesis_tasks/builders.rs +++ b/sdk/polly/src/operation/list_speech_synthesis_tasks/builders.rs @@ -19,9 +19,9 @@ impl ListSpeechSynthesisTasksFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl ListSpeechSynthesisTasksFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_speech_synthesis_tasks::ListSpeechSynthesisTasks, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::list_speech_synthesis_tasks::ListSpeechSynthesisTasksError, + >, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::list_speech_synthesis_tasks::paginator::ListSpeechSynthesisTasksPaginator::send) which returns a `Stream`. diff --git a/sdk/polly/src/operation/put_lexicon/builders.rs b/sdk/polly/src/operation/put_lexicon/builders.rs index 9aff92e937d0..3b80d7159ce3 100644 --- a/sdk/polly/src/operation/put_lexicon/builders.rs +++ b/sdk/polly/src/operation/put_lexicon/builders.rs @@ -20,9 +20,9 @@ impl PutLexiconFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -78,6 +78,20 @@ impl PutLexiconFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::put_lexicon::PutLexicon, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                        Name of the lexicon. The name must follow the regular express format [0-9A-Za-z]{1,20}. That is, the name is a case-sensitive alphanumeric string up to 20 characters long.

                                                                                                                                                                                                                                                        pub fn name(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.name(input.into()); diff --git a/sdk/polly/src/operation/start_speech_synthesis_task/builders.rs b/sdk/polly/src/operation/start_speech_synthesis_task/builders.rs index 74c6d3510ae5..9740b9aa9608 100644 --- a/sdk/polly/src/operation/start_speech_synthesis_task/builders.rs +++ b/sdk/polly/src/operation/start_speech_synthesis_task/builders.rs @@ -19,9 +19,9 @@ impl StartSpeechSynthesisTaskFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl StartSpeechSynthesisTaskFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::start_speech_synthesis_task::StartSpeechSynthesisTask, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::start_speech_synthesis_task::StartSpeechSynthesisTaskError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                        Specifies the engine (standard or neural) for Amazon Polly to use when processing input text for speech synthesis. Using a voice that is not supported for the engine selected will result in an error.

                                                                                                                                                                                                                                                        pub fn engine(mut self, input: crate::types::Engine) -> Self { self.inner = self.inner.engine(input); diff --git a/sdk/polly/src/operation/synthesize_speech/builders.rs b/sdk/polly/src/operation/synthesize_speech/builders.rs index 2e8d1128f502..08b125fbd8d9 100644 --- a/sdk/polly/src/operation/synthesize_speech/builders.rs +++ b/sdk/polly/src/operation/synthesize_speech/builders.rs @@ -19,9 +19,9 @@ impl SynthesizeSpeechFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl SynthesizeSpeechFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::synthesize_speech::SynthesizeSpeech, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::synthesize_speech::SynthesizeSpeechError, + >, + > { + self.customize_middleware().await + } /// /// Creates a presigned request for this operation. /// diff --git a/sdk/pricing/src/operation/describe_services/builders.rs b/sdk/pricing/src/operation/describe_services/builders.rs index 87880466917c..0089bd3273fc 100644 --- a/sdk/pricing/src/operation/describe_services/builders.rs +++ b/sdk/pricing/src/operation/describe_services/builders.rs @@ -19,9 +19,9 @@ impl DescribeServicesFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl DescribeServicesFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::describe_services::DescribeServices, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::describe_services::DescribeServicesError, + >, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::describe_services::paginator::DescribeServicesPaginator::send) which returns a `Stream`. diff --git a/sdk/pricing/src/operation/get_attribute_values/builders.rs b/sdk/pricing/src/operation/get_attribute_values/builders.rs index 22f89a5fbfd7..beb92842356c 100644 --- a/sdk/pricing/src/operation/get_attribute_values/builders.rs +++ b/sdk/pricing/src/operation/get_attribute_values/builders.rs @@ -19,9 +19,9 @@ impl GetAttributeValuesFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl GetAttributeValuesFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::get_attribute_values::GetAttributeValues, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::get_attribute_values::GetAttributeValuesError, + >, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::get_attribute_values::paginator::GetAttributeValuesPaginator::send) which returns a `Stream`. diff --git a/sdk/pricing/src/operation/get_price_list_file_url/builders.rs b/sdk/pricing/src/operation/get_price_list_file_url/builders.rs index 4779fcf8b881..93e6d899c5c6 100644 --- a/sdk/pricing/src/operation/get_price_list_file_url/builders.rs +++ b/sdk/pricing/src/operation/get_price_list_file_url/builders.rs @@ -20,9 +20,9 @@ impl GetPriceListFileUrlFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -84,6 +84,22 @@ impl GetPriceListFileUrlFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::get_price_list_file_url::GetPriceListFileUrl, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::get_price_list_file_url::GetPriceListFileUrlError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                        The unique identifier that maps to where your Price List files are located. PriceListArn can be obtained from the ListPriceLists response.

                                                                                                                                                                                                                                                        pub fn price_list_arn( mut self, diff --git a/sdk/pricing/src/operation/get_products/builders.rs b/sdk/pricing/src/operation/get_products/builders.rs index b6844b328888..c533b407640c 100644 --- a/sdk/pricing/src/operation/get_products/builders.rs +++ b/sdk/pricing/src/operation/get_products/builders.rs @@ -19,9 +19,9 @@ impl GetProductsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl GetProductsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::get_products::GetProducts, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::get_products::paginator::GetProductsPaginator::send) which returns a `Stream`. diff --git a/sdk/pricing/src/operation/list_price_lists/builders.rs b/sdk/pricing/src/operation/list_price_lists/builders.rs index 7c6cde3d94ac..11a638f86fb9 100644 --- a/sdk/pricing/src/operation/list_price_lists/builders.rs +++ b/sdk/pricing/src/operation/list_price_lists/builders.rs @@ -20,9 +20,9 @@ impl ListPriceListsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -84,6 +84,22 @@ impl ListPriceListsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_price_lists::ListPriceLists, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::list_price_lists::ListPriceListsError, + >, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::list_price_lists::paginator::ListPriceListsPaginator::send) which returns a `Stream`. diff --git a/sdk/privatenetworks/src/operation/acknowledge_order_receipt/builders.rs b/sdk/privatenetworks/src/operation/acknowledge_order_receipt/builders.rs index 4720828e7be8..53f5c6e07a87 100644 --- a/sdk/privatenetworks/src/operation/acknowledge_order_receipt/builders.rs +++ b/sdk/privatenetworks/src/operation/acknowledge_order_receipt/builders.rs @@ -20,9 +20,9 @@ impl AcknowledgeOrderReceiptFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -84,6 +84,22 @@ impl AcknowledgeOrderReceiptFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::acknowledge_order_receipt::AcknowledgeOrderReceipt, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::acknowledge_order_receipt::AcknowledgeOrderReceiptError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                        The Amazon Resource Name (ARN) of the order.

                                                                                                                                                                                                                                                        pub fn order_arn(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.order_arn(input.into()); diff --git a/sdk/privatenetworks/src/operation/activate_device_identifier/builders.rs b/sdk/privatenetworks/src/operation/activate_device_identifier/builders.rs index fe418565421a..2b2b407bde1d 100644 --- a/sdk/privatenetworks/src/operation/activate_device_identifier/builders.rs +++ b/sdk/privatenetworks/src/operation/activate_device_identifier/builders.rs @@ -19,9 +19,9 @@ impl ActivateDeviceIdentifierFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl ActivateDeviceIdentifierFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::activate_device_identifier::ActivateDeviceIdentifier, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::activate_device_identifier::ActivateDeviceIdentifierError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                        The Amazon Resource Name (ARN) of the device identifier.

                                                                                                                                                                                                                                                        pub fn device_identifier_arn( mut self, diff --git a/sdk/privatenetworks/src/operation/activate_network_site/builders.rs b/sdk/privatenetworks/src/operation/activate_network_site/builders.rs index 24c890952723..2935a42e53de 100644 --- a/sdk/privatenetworks/src/operation/activate_network_site/builders.rs +++ b/sdk/privatenetworks/src/operation/activate_network_site/builders.rs @@ -19,9 +19,9 @@ impl ActivateNetworkSiteFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl ActivateNetworkSiteFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::activate_network_site::ActivateNetworkSite, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::activate_network_site::ActivateNetworkSiteError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                        The Amazon Resource Name (ARN) of the network site.

                                                                                                                                                                                                                                                        pub fn network_site_arn( mut self, diff --git a/sdk/privatenetworks/src/operation/configure_access_point/builders.rs b/sdk/privatenetworks/src/operation/configure_access_point/builders.rs index 77526e0a03b8..fd7bcede2c43 100644 --- a/sdk/privatenetworks/src/operation/configure_access_point/builders.rs +++ b/sdk/privatenetworks/src/operation/configure_access_point/builders.rs @@ -20,9 +20,9 @@ impl ConfigureAccessPointFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -84,6 +84,22 @@ impl ConfigureAccessPointFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::configure_access_point::ConfigureAccessPoint, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::configure_access_point::ConfigureAccessPointError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                        The Amazon Resource Name (ARN) of the network resource.

                                                                                                                                                                                                                                                        pub fn access_point_arn( mut self, diff --git a/sdk/privatenetworks/src/operation/create_network/builders.rs b/sdk/privatenetworks/src/operation/create_network/builders.rs index a0f44b73ae03..77e290f01cf2 100644 --- a/sdk/privatenetworks/src/operation/create_network/builders.rs +++ b/sdk/privatenetworks/src/operation/create_network/builders.rs @@ -19,9 +19,9 @@ impl CreateNetworkFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl CreateNetworkFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::create_network::CreateNetwork, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                        The name of the network. You can't change the name after you create the network.

                                                                                                                                                                                                                                                        pub fn network_name(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.network_name(input.into()); diff --git a/sdk/privatenetworks/src/operation/create_network_site/builders.rs b/sdk/privatenetworks/src/operation/create_network_site/builders.rs index 86f0afbdff37..2c5fcffc824c 100644 --- a/sdk/privatenetworks/src/operation/create_network_site/builders.rs +++ b/sdk/privatenetworks/src/operation/create_network_site/builders.rs @@ -19,9 +19,9 @@ impl CreateNetworkSiteFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl CreateNetworkSiteFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::create_network_site::CreateNetworkSite, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::create_network_site::CreateNetworkSiteError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                        The name of the site. You can't change the name after you create the site.

                                                                                                                                                                                                                                                        pub fn network_site_name( mut self, diff --git a/sdk/privatenetworks/src/operation/deactivate_device_identifier/builders.rs b/sdk/privatenetworks/src/operation/deactivate_device_identifier/builders.rs index 16d7591ac139..cfebaa6e6b99 100644 --- a/sdk/privatenetworks/src/operation/deactivate_device_identifier/builders.rs +++ b/sdk/privatenetworks/src/operation/deactivate_device_identifier/builders.rs @@ -19,9 +19,9 @@ impl DeactivateDeviceIdentifierFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl DeactivateDeviceIdentifierFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::deactivate_device_identifier::DeactivateDeviceIdentifier, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::deactivate_device_identifier::DeactivateDeviceIdentifierError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                        The Amazon Resource Name (ARN) of the device identifier.

                                                                                                                                                                                                                                                        pub fn device_identifier_arn( mut self, diff --git a/sdk/privatenetworks/src/operation/delete_network/builders.rs b/sdk/privatenetworks/src/operation/delete_network/builders.rs index c40807ccdb5c..9635f39b86e2 100644 --- a/sdk/privatenetworks/src/operation/delete_network/builders.rs +++ b/sdk/privatenetworks/src/operation/delete_network/builders.rs @@ -19,9 +19,9 @@ impl DeleteNetworkFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl DeleteNetworkFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::delete_network::DeleteNetwork, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                        The Amazon Resource Name (ARN) of the network.

                                                                                                                                                                                                                                                        pub fn network_arn(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.network_arn(input.into()); diff --git a/sdk/privatenetworks/src/operation/delete_network_site/builders.rs b/sdk/privatenetworks/src/operation/delete_network_site/builders.rs index 9e146fa9aa84..548b544a1576 100644 --- a/sdk/privatenetworks/src/operation/delete_network_site/builders.rs +++ b/sdk/privatenetworks/src/operation/delete_network_site/builders.rs @@ -19,9 +19,9 @@ impl DeleteNetworkSiteFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl DeleteNetworkSiteFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::delete_network_site::DeleteNetworkSite, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::delete_network_site::DeleteNetworkSiteError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                        The Amazon Resource Name (ARN) of the network site.

                                                                                                                                                                                                                                                        pub fn network_site_arn( mut self, diff --git a/sdk/privatenetworks/src/operation/get_device_identifier/builders.rs b/sdk/privatenetworks/src/operation/get_device_identifier/builders.rs index 317debae8a4c..65cf169d2558 100644 --- a/sdk/privatenetworks/src/operation/get_device_identifier/builders.rs +++ b/sdk/privatenetworks/src/operation/get_device_identifier/builders.rs @@ -19,9 +19,9 @@ impl GetDeviceIdentifierFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl GetDeviceIdentifierFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::get_device_identifier::GetDeviceIdentifier, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::get_device_identifier::GetDeviceIdentifierError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                        The Amazon Resource Name (ARN) of the device identifier.

                                                                                                                                                                                                                                                        pub fn device_identifier_arn( mut self, diff --git a/sdk/privatenetworks/src/operation/get_network/builders.rs b/sdk/privatenetworks/src/operation/get_network/builders.rs index 357e04e65d79..aeaa18061c70 100644 --- a/sdk/privatenetworks/src/operation/get_network/builders.rs +++ b/sdk/privatenetworks/src/operation/get_network/builders.rs @@ -19,9 +19,9 @@ impl GetNetworkFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl GetNetworkFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::get_network::GetNetwork, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                        The Amazon Resource Name (ARN) of the network.

                                                                                                                                                                                                                                                        pub fn network_arn(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.network_arn(input.into()); diff --git a/sdk/privatenetworks/src/operation/get_network_resource/builders.rs b/sdk/privatenetworks/src/operation/get_network_resource/builders.rs index 3e922a7deb42..80df167a3fe7 100644 --- a/sdk/privatenetworks/src/operation/get_network_resource/builders.rs +++ b/sdk/privatenetworks/src/operation/get_network_resource/builders.rs @@ -19,9 +19,9 @@ impl GetNetworkResourceFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl GetNetworkResourceFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::get_network_resource::GetNetworkResource, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::get_network_resource::GetNetworkResourceError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                        The Amazon Resource Name (ARN) of the network resource.

                                                                                                                                                                                                                                                        pub fn network_resource_arn( mut self, diff --git a/sdk/privatenetworks/src/operation/get_network_site/builders.rs b/sdk/privatenetworks/src/operation/get_network_site/builders.rs index 2263a8c8822c..ccbc1c1ec30c 100644 --- a/sdk/privatenetworks/src/operation/get_network_site/builders.rs +++ b/sdk/privatenetworks/src/operation/get_network_site/builders.rs @@ -19,9 +19,9 @@ impl GetNetworkSiteFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl GetNetworkSiteFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::get_network_site::GetNetworkSite, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::get_network_site::GetNetworkSiteError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                        The Amazon Resource Name (ARN) of the network site.

                                                                                                                                                                                                                                                        pub fn network_site_arn( mut self, diff --git a/sdk/privatenetworks/src/operation/get_order/builders.rs b/sdk/privatenetworks/src/operation/get_order/builders.rs index 39c9ae34e908..45e8cf0b8cbd 100644 --- a/sdk/privatenetworks/src/operation/get_order/builders.rs +++ b/sdk/privatenetworks/src/operation/get_order/builders.rs @@ -19,9 +19,9 @@ impl GetOrderFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl GetOrderFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::get_order::GetOrder, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                        The Amazon Resource Name (ARN) of the order.

                                                                                                                                                                                                                                                        pub fn order_arn(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.order_arn(input.into()); diff --git a/sdk/privatenetworks/src/operation/list_device_identifiers/builders.rs b/sdk/privatenetworks/src/operation/list_device_identifiers/builders.rs index 61a7a6c45dc4..f2c9d887a3a2 100644 --- a/sdk/privatenetworks/src/operation/list_device_identifiers/builders.rs +++ b/sdk/privatenetworks/src/operation/list_device_identifiers/builders.rs @@ -20,9 +20,9 @@ impl ListDeviceIdentifiersFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -84,6 +84,22 @@ impl ListDeviceIdentifiersFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_device_identifiers::ListDeviceIdentifiers, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::list_device_identifiers::ListDeviceIdentifiersError, + >, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::list_device_identifiers::paginator::ListDeviceIdentifiersPaginator::send) which returns a `Stream`. diff --git a/sdk/privatenetworks/src/operation/list_network_resources/builders.rs b/sdk/privatenetworks/src/operation/list_network_resources/builders.rs index df9f5387a83d..0e874f25a5a3 100644 --- a/sdk/privatenetworks/src/operation/list_network_resources/builders.rs +++ b/sdk/privatenetworks/src/operation/list_network_resources/builders.rs @@ -20,9 +20,9 @@ impl ListNetworkResourcesFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -84,6 +84,22 @@ impl ListNetworkResourcesFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_network_resources::ListNetworkResources, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::list_network_resources::ListNetworkResourcesError, + >, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::list_network_resources::paginator::ListNetworkResourcesPaginator::send) which returns a `Stream`. diff --git a/sdk/privatenetworks/src/operation/list_network_sites/builders.rs b/sdk/privatenetworks/src/operation/list_network_sites/builders.rs index 0b76398e81d5..dc14b99807a0 100644 --- a/sdk/privatenetworks/src/operation/list_network_sites/builders.rs +++ b/sdk/privatenetworks/src/operation/list_network_sites/builders.rs @@ -19,9 +19,9 @@ impl ListNetworkSitesFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl ListNetworkSitesFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_network_sites::ListNetworkSites, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::list_network_sites::ListNetworkSitesError, + >, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::list_network_sites::paginator::ListNetworkSitesPaginator::send) which returns a `Stream`. diff --git a/sdk/privatenetworks/src/operation/list_networks/builders.rs b/sdk/privatenetworks/src/operation/list_networks/builders.rs index 6b387655cb76..5bf7c2340ee7 100644 --- a/sdk/privatenetworks/src/operation/list_networks/builders.rs +++ b/sdk/privatenetworks/src/operation/list_networks/builders.rs @@ -19,9 +19,9 @@ impl ListNetworksFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl ListNetworksFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_networks::ListNetworks, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::list_networks::paginator::ListNetworksPaginator::send) which returns a `Stream`. diff --git a/sdk/privatenetworks/src/operation/list_orders/builders.rs b/sdk/privatenetworks/src/operation/list_orders/builders.rs index 7043f15ba226..a8c1c7609328 100644 --- a/sdk/privatenetworks/src/operation/list_orders/builders.rs +++ b/sdk/privatenetworks/src/operation/list_orders/builders.rs @@ -20,9 +20,9 @@ impl ListOrdersFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -78,6 +78,20 @@ impl ListOrdersFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_orders::ListOrders, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::list_orders::paginator::ListOrdersPaginator::send) which returns a `Stream`. diff --git a/sdk/privatenetworks/src/operation/list_tags_for_resource/builders.rs b/sdk/privatenetworks/src/operation/list_tags_for_resource/builders.rs index c47c190d83b2..0a70d0c44010 100644 --- a/sdk/privatenetworks/src/operation/list_tags_for_resource/builders.rs +++ b/sdk/privatenetworks/src/operation/list_tags_for_resource/builders.rs @@ -19,9 +19,9 @@ impl ListTagsForResourceFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl ListTagsForResourceFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_tags_for_resource::ListTagsForResource, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::list_tags_for_resource::ListTagsForResourceError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                        The Amazon Resource Name (ARN) of the resource.

                                                                                                                                                                                                                                                        pub fn resource_arn(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.resource_arn(input.into()); diff --git a/sdk/privatenetworks/src/operation/ping/builders.rs b/sdk/privatenetworks/src/operation/ping/builders.rs index 3c04397f9ce2..359530c92e9e 100644 --- a/sdk/privatenetworks/src/operation/ping/builders.rs +++ b/sdk/privatenetworks/src/operation/ping/builders.rs @@ -19,9 +19,9 @@ impl PingFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,4 +77,18 @@ impl PingFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::ping::Ping, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } } diff --git a/sdk/privatenetworks/src/operation/start_network_resource_update/builders.rs b/sdk/privatenetworks/src/operation/start_network_resource_update/builders.rs index 6fb312d7d3b7..a1c5a37a36a8 100644 --- a/sdk/privatenetworks/src/operation/start_network_resource_update/builders.rs +++ b/sdk/privatenetworks/src/operation/start_network_resource_update/builders.rs @@ -20,9 +20,9 @@ impl StartNetworkResourceUpdateFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -84,6 +84,22 @@ impl StartNetworkResourceUpdateFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::start_network_resource_update::StartNetworkResourceUpdate, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::start_network_resource_update::StartNetworkResourceUpdateError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                        The Amazon Resource Name (ARN) of the network resource.

                                                                                                                                                                                                                                                        pub fn network_resource_arn( mut self, diff --git a/sdk/privatenetworks/src/operation/tag_resource/builders.rs b/sdk/privatenetworks/src/operation/tag_resource/builders.rs index bc445c6051cd..2ae152b09a43 100644 --- a/sdk/privatenetworks/src/operation/tag_resource/builders.rs +++ b/sdk/privatenetworks/src/operation/tag_resource/builders.rs @@ -19,9 +19,9 @@ impl TagResourceFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl TagResourceFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::tag_resource::TagResource, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                        The Amazon Resource Name (ARN) of the resource.

                                                                                                                                                                                                                                                        pub fn resource_arn(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.resource_arn(input.into()); diff --git a/sdk/privatenetworks/src/operation/untag_resource/builders.rs b/sdk/privatenetworks/src/operation/untag_resource/builders.rs index e2256f6fb7ba..4da798c4f62d 100644 --- a/sdk/privatenetworks/src/operation/untag_resource/builders.rs +++ b/sdk/privatenetworks/src/operation/untag_resource/builders.rs @@ -19,9 +19,9 @@ impl UntagResourceFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl UntagResourceFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::untag_resource::UntagResource, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                        The Amazon Resource Name (ARN) of the resource.

                                                                                                                                                                                                                                                        pub fn resource_arn(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.resource_arn(input.into()); diff --git a/sdk/privatenetworks/src/operation/update_network_site/builders.rs b/sdk/privatenetworks/src/operation/update_network_site/builders.rs index 4f70f3d4ffdf..c71e19ea151c 100644 --- a/sdk/privatenetworks/src/operation/update_network_site/builders.rs +++ b/sdk/privatenetworks/src/operation/update_network_site/builders.rs @@ -19,9 +19,9 @@ impl UpdateNetworkSiteFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl UpdateNetworkSiteFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::update_network_site::UpdateNetworkSite, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::update_network_site::UpdateNetworkSiteError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                        The Amazon Resource Name (ARN) of the network site.

                                                                                                                                                                                                                                                        pub fn network_site_arn( mut self, diff --git a/sdk/privatenetworks/src/operation/update_network_site_plan/builders.rs b/sdk/privatenetworks/src/operation/update_network_site_plan/builders.rs index d2c2653c6b24..24bf790b7af6 100644 --- a/sdk/privatenetworks/src/operation/update_network_site_plan/builders.rs +++ b/sdk/privatenetworks/src/operation/update_network_site_plan/builders.rs @@ -19,9 +19,9 @@ impl UpdateNetworkSitePlanFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl UpdateNetworkSitePlanFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::update_network_site_plan::UpdateNetworkSitePlan, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::update_network_site_plan::UpdateNetworkSitePlanError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                        The Amazon Resource Name (ARN) of the network site.

                                                                                                                                                                                                                                                        pub fn network_site_arn( mut self, diff --git a/sdk/proton/src/operation/accept_environment_account_connection/builders.rs b/sdk/proton/src/operation/accept_environment_account_connection/builders.rs index 0ae8d13b12ed..ee4373af2cff 100644 --- a/sdk/proton/src/operation/accept_environment_account_connection/builders.rs +++ b/sdk/proton/src/operation/accept_environment_account_connection/builders.rs @@ -20,9 +20,9 @@ impl AcceptEnvironmentAccountConnectionFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize(self) -> ::std::result::Result< + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware(self) -> ::std::result::Result< crate::client::customize::CustomizableOperation, ::aws_smithy_http::result::SdkError >{ @@ -65,6 +65,15 @@ impl AcceptEnvironmentAccountConnectionFluentBuilder { { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize(self) -> ::std::result::Result< + crate::client::customize::CustomizableOperation, + ::aws_smithy_http::result::SdkError + >{ + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                        The ID of the environment account connection.

                                                                                                                                                                                                                                                        pub fn id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.id(input.into()); diff --git a/sdk/proton/src/operation/cancel_component_deployment/builders.rs b/sdk/proton/src/operation/cancel_component_deployment/builders.rs index 05a03464ed29..2a77e2eaf411 100644 --- a/sdk/proton/src/operation/cancel_component_deployment/builders.rs +++ b/sdk/proton/src/operation/cancel_component_deployment/builders.rs @@ -20,9 +20,9 @@ impl CancelComponentDeploymentFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -84,6 +84,22 @@ impl CancelComponentDeploymentFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::cancel_component_deployment::CancelComponentDeployment, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::cancel_component_deployment::CancelComponentDeploymentError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                        The name of the component with the deployment to cancel.

                                                                                                                                                                                                                                                        pub fn component_name( mut self, diff --git a/sdk/proton/src/operation/cancel_environment_deployment/builders.rs b/sdk/proton/src/operation/cancel_environment_deployment/builders.rs index ca6fae692883..dc8253c87920 100644 --- a/sdk/proton/src/operation/cancel_environment_deployment/builders.rs +++ b/sdk/proton/src/operation/cancel_environment_deployment/builders.rs @@ -25,9 +25,9 @@ impl CancelEnvironmentDeploymentFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -89,6 +89,22 @@ impl CancelEnvironmentDeploymentFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::cancel_environment_deployment::CancelEnvironmentDeployment, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::cancel_environment_deployment::CancelEnvironmentDeploymentError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                        The name of the environment with the deployment to cancel.

                                                                                                                                                                                                                                                        pub fn environment_name( mut self, diff --git a/sdk/proton/src/operation/cancel_service_instance_deployment/builders.rs b/sdk/proton/src/operation/cancel_service_instance_deployment/builders.rs index b49f01ad6923..65e45132c568 100644 --- a/sdk/proton/src/operation/cancel_service_instance_deployment/builders.rs +++ b/sdk/proton/src/operation/cancel_service_instance_deployment/builders.rs @@ -25,9 +25,9 @@ impl CancelServiceInstanceDeploymentFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize(self) -> ::std::result::Result< + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware(self) -> ::std::result::Result< crate::client::customize::CustomizableOperation, ::aws_smithy_http::result::SdkError >{ @@ -70,6 +70,15 @@ impl CancelServiceInstanceDeploymentFluentBuilder { { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize(self) -> ::std::result::Result< + crate::client::customize::CustomizableOperation, + ::aws_smithy_http::result::SdkError + >{ + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                        The name of the service instance with the deployment to cancel.

                                                                                                                                                                                                                                                        pub fn service_instance_name( mut self, diff --git a/sdk/proton/src/operation/cancel_service_pipeline_deployment/builders.rs b/sdk/proton/src/operation/cancel_service_pipeline_deployment/builders.rs index 2eb62d8cceb8..07f204476aac 100644 --- a/sdk/proton/src/operation/cancel_service_pipeline_deployment/builders.rs +++ b/sdk/proton/src/operation/cancel_service_pipeline_deployment/builders.rs @@ -25,9 +25,9 @@ impl CancelServicePipelineDeploymentFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize(self) -> ::std::result::Result< + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware(self) -> ::std::result::Result< crate::client::customize::CustomizableOperation, ::aws_smithy_http::result::SdkError >{ @@ -70,6 +70,15 @@ impl CancelServicePipelineDeploymentFluentBuilder { { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize(self) -> ::std::result::Result< + crate::client::customize::CustomizableOperation, + ::aws_smithy_http::result::SdkError + >{ + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                        The name of the service with the service pipeline deployment to cancel.

                                                                                                                                                                                                                                                        pub fn service_name(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.service_name(input.into()); diff --git a/sdk/proton/src/operation/create_component/builders.rs b/sdk/proton/src/operation/create_component/builders.rs index 2ae1d8290a9b..1c531e4cea43 100644 --- a/sdk/proton/src/operation/create_component/builders.rs +++ b/sdk/proton/src/operation/create_component/builders.rs @@ -20,9 +20,9 @@ impl CreateComponentFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -84,6 +84,22 @@ impl CreateComponentFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::create_component::CreateComponent, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::create_component::CreateComponentError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                        The customer-provided name of the component.

                                                                                                                                                                                                                                                        pub fn name(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.name(input.into()); diff --git a/sdk/proton/src/operation/create_environment/builders.rs b/sdk/proton/src/operation/create_environment/builders.rs index 4cafffbb8458..ec06b06782c2 100644 --- a/sdk/proton/src/operation/create_environment/builders.rs +++ b/sdk/proton/src/operation/create_environment/builders.rs @@ -25,9 +25,9 @@ impl CreateEnvironmentFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -89,6 +89,22 @@ impl CreateEnvironmentFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::create_environment::CreateEnvironment, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::create_environment::CreateEnvironmentError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                        The name of the environment.

                                                                                                                                                                                                                                                        pub fn name(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.name(input.into()); diff --git a/sdk/proton/src/operation/create_environment_account_connection/builders.rs b/sdk/proton/src/operation/create_environment_account_connection/builders.rs index 122c39472305..636149f7516d 100644 --- a/sdk/proton/src/operation/create_environment_account_connection/builders.rs +++ b/sdk/proton/src/operation/create_environment_account_connection/builders.rs @@ -20,9 +20,9 @@ impl CreateEnvironmentAccountConnectionFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize(self) -> ::std::result::Result< + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware(self) -> ::std::result::Result< crate::client::customize::CustomizableOperation, ::aws_smithy_http::result::SdkError >{ @@ -65,6 +65,15 @@ impl CreateEnvironmentAccountConnectionFluentBuilder { { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize(self) -> ::std::result::Result< + crate::client::customize::CustomizableOperation, + ::aws_smithy_http::result::SdkError + >{ + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                        When included, if two identical requests are made with the same client token, Proton returns the environment account connection that the first request created.

                                                                                                                                                                                                                                                        pub fn client_token(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.client_token(input.into()); diff --git a/sdk/proton/src/operation/create_environment_template/builders.rs b/sdk/proton/src/operation/create_environment_template/builders.rs index f04a035f6250..837168129d94 100644 --- a/sdk/proton/src/operation/create_environment_template/builders.rs +++ b/sdk/proton/src/operation/create_environment_template/builders.rs @@ -24,9 +24,9 @@ impl CreateEnvironmentTemplateFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -88,6 +88,22 @@ impl CreateEnvironmentTemplateFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::create_environment_template::CreateEnvironmentTemplate, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::create_environment_template::CreateEnvironmentTemplateError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                        The name of the environment template.

                                                                                                                                                                                                                                                        pub fn name(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.name(input.into()); diff --git a/sdk/proton/src/operation/create_environment_template_version/builders.rs b/sdk/proton/src/operation/create_environment_template_version/builders.rs index 4359868127ea..949de0bd5234 100644 --- a/sdk/proton/src/operation/create_environment_template_version/builders.rs +++ b/sdk/proton/src/operation/create_environment_template_version/builders.rs @@ -19,9 +19,9 @@ impl CreateEnvironmentTemplateVersionFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize(self) -> ::std::result::Result< + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware(self) -> ::std::result::Result< crate::client::customize::CustomizableOperation, ::aws_smithy_http::result::SdkError >{ @@ -64,6 +64,15 @@ impl CreateEnvironmentTemplateVersionFluentBuilder { { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize(self) -> ::std::result::Result< + crate::client::customize::CustomizableOperation, + ::aws_smithy_http::result::SdkError + >{ + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                        When included, if two identical requests are made with the same client token, Proton returns the environment template version that the first request created.

                                                                                                                                                                                                                                                        pub fn client_token(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.client_token(input.into()); diff --git a/sdk/proton/src/operation/create_repository/builders.rs b/sdk/proton/src/operation/create_repository/builders.rs index f5ab63df1d0d..aee1eb9d8e73 100644 --- a/sdk/proton/src/operation/create_repository/builders.rs +++ b/sdk/proton/src/operation/create_repository/builders.rs @@ -20,9 +20,9 @@ impl CreateRepositoryFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -84,6 +84,22 @@ impl CreateRepositoryFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::create_repository::CreateRepository, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::create_repository::CreateRepositoryError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                        The repository provider.

                                                                                                                                                                                                                                                        pub fn provider(mut self, input: crate::types::RepositoryProvider) -> Self { self.inner = self.inner.provider(input); diff --git a/sdk/proton/src/operation/create_service/builders.rs b/sdk/proton/src/operation/create_service/builders.rs index 58fa7fa83db2..006a99d2adfc 100644 --- a/sdk/proton/src/operation/create_service/builders.rs +++ b/sdk/proton/src/operation/create_service/builders.rs @@ -19,9 +19,9 @@ impl CreateServiceFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl CreateServiceFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::create_service::CreateService, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                        The service name.

                                                                                                                                                                                                                                                        pub fn name(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.name(input.into()); diff --git a/sdk/proton/src/operation/create_service_instance/builders.rs b/sdk/proton/src/operation/create_service_instance/builders.rs index d8eab17ac2b5..6675a2ce04de 100644 --- a/sdk/proton/src/operation/create_service_instance/builders.rs +++ b/sdk/proton/src/operation/create_service_instance/builders.rs @@ -19,9 +19,9 @@ impl CreateServiceInstanceFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl CreateServiceInstanceFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::create_service_instance::CreateServiceInstance, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::create_service_instance::CreateServiceInstanceError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                        The name of the service instance to create.

                                                                                                                                                                                                                                                        pub fn name(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.name(input.into()); diff --git a/sdk/proton/src/operation/create_service_sync_config/builders.rs b/sdk/proton/src/operation/create_service_sync_config/builders.rs index c8c6b11b2b05..60a78a41d581 100644 --- a/sdk/proton/src/operation/create_service_sync_config/builders.rs +++ b/sdk/proton/src/operation/create_service_sync_config/builders.rs @@ -20,9 +20,9 @@ impl CreateServiceSyncConfigFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -84,6 +84,22 @@ impl CreateServiceSyncConfigFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::create_service_sync_config::CreateServiceSyncConfig, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::create_service_sync_config::CreateServiceSyncConfigError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                        The name of the service the Proton Ops file is for.

                                                                                                                                                                                                                                                        pub fn service_name(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.service_name(input.into()); diff --git a/sdk/proton/src/operation/create_service_template/builders.rs b/sdk/proton/src/operation/create_service_template/builders.rs index d924e8f48244..a617896f5d64 100644 --- a/sdk/proton/src/operation/create_service_template/builders.rs +++ b/sdk/proton/src/operation/create_service_template/builders.rs @@ -19,9 +19,9 @@ impl CreateServiceTemplateFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl CreateServiceTemplateFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::create_service_template::CreateServiceTemplate, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::create_service_template::CreateServiceTemplateError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                        The name of the service template.

                                                                                                                                                                                                                                                        pub fn name(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.name(input.into()); diff --git a/sdk/proton/src/operation/create_service_template_version/builders.rs b/sdk/proton/src/operation/create_service_template_version/builders.rs index 32e250c269b1..7234399091ad 100644 --- a/sdk/proton/src/operation/create_service_template_version/builders.rs +++ b/sdk/proton/src/operation/create_service_template_version/builders.rs @@ -19,9 +19,9 @@ impl CreateServiceTemplateVersionFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl CreateServiceTemplateVersionFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::create_service_template_version::CreateServiceTemplateVersion, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::create_service_template_version::CreateServiceTemplateVersionError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                        When included, if two identical requests are made with the same client token, Proton returns the service template version that the first request created.

                                                                                                                                                                                                                                                        pub fn client_token(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.client_token(input.into()); diff --git a/sdk/proton/src/operation/create_template_sync_config/builders.rs b/sdk/proton/src/operation/create_template_sync_config/builders.rs index 75cd13cff355..1de8d06a3dea 100644 --- a/sdk/proton/src/operation/create_template_sync_config/builders.rs +++ b/sdk/proton/src/operation/create_template_sync_config/builders.rs @@ -20,9 +20,9 @@ impl CreateTemplateSyncConfigFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -84,6 +84,22 @@ impl CreateTemplateSyncConfigFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::create_template_sync_config::CreateTemplateSyncConfig, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::create_template_sync_config::CreateTemplateSyncConfigError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                        The name of your registered template.

                                                                                                                                                                                                                                                        pub fn template_name( mut self, diff --git a/sdk/proton/src/operation/delete_component/builders.rs b/sdk/proton/src/operation/delete_component/builders.rs index cea6d22276d7..e71358dd8c32 100644 --- a/sdk/proton/src/operation/delete_component/builders.rs +++ b/sdk/proton/src/operation/delete_component/builders.rs @@ -20,9 +20,9 @@ impl DeleteComponentFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -84,6 +84,22 @@ impl DeleteComponentFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::delete_component::DeleteComponent, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::delete_component::DeleteComponentError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                        The name of the component to delete.

                                                                                                                                                                                                                                                        pub fn name(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.name(input.into()); diff --git a/sdk/proton/src/operation/delete_environment/builders.rs b/sdk/proton/src/operation/delete_environment/builders.rs index 75ddcc7f4684..7c9ae85b7ca2 100644 --- a/sdk/proton/src/operation/delete_environment/builders.rs +++ b/sdk/proton/src/operation/delete_environment/builders.rs @@ -19,9 +19,9 @@ impl DeleteEnvironmentFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl DeleteEnvironmentFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::delete_environment::DeleteEnvironment, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::delete_environment::DeleteEnvironmentError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                        The name of the environment to delete.

                                                                                                                                                                                                                                                        pub fn name(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.name(input.into()); diff --git a/sdk/proton/src/operation/delete_environment_account_connection/builders.rs b/sdk/proton/src/operation/delete_environment_account_connection/builders.rs index 7a547d1037f8..c641702e0ac5 100644 --- a/sdk/proton/src/operation/delete_environment_account_connection/builders.rs +++ b/sdk/proton/src/operation/delete_environment_account_connection/builders.rs @@ -21,9 +21,9 @@ impl DeleteEnvironmentAccountConnectionFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize(self) -> ::std::result::Result< + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware(self) -> ::std::result::Result< crate::client::customize::CustomizableOperation, ::aws_smithy_http::result::SdkError >{ @@ -66,6 +66,15 @@ impl DeleteEnvironmentAccountConnectionFluentBuilder { { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize(self) -> ::std::result::Result< + crate::client::customize::CustomizableOperation, + ::aws_smithy_http::result::SdkError + >{ + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                        The ID of the environment account connection to delete.

                                                                                                                                                                                                                                                        pub fn id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.id(input.into()); diff --git a/sdk/proton/src/operation/delete_environment_template/builders.rs b/sdk/proton/src/operation/delete_environment_template/builders.rs index c90fe2e57eb4..d451102afd6c 100644 --- a/sdk/proton/src/operation/delete_environment_template/builders.rs +++ b/sdk/proton/src/operation/delete_environment_template/builders.rs @@ -19,9 +19,9 @@ impl DeleteEnvironmentTemplateFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl DeleteEnvironmentTemplateFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::delete_environment_template::DeleteEnvironmentTemplate, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::delete_environment_template::DeleteEnvironmentTemplateError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                        The name of the environment template to delete.

                                                                                                                                                                                                                                                        pub fn name(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.name(input.into()); diff --git a/sdk/proton/src/operation/delete_environment_template_version/builders.rs b/sdk/proton/src/operation/delete_environment_template_version/builders.rs index 0ab3d88f88ef..aa2323e3e540 100644 --- a/sdk/proton/src/operation/delete_environment_template_version/builders.rs +++ b/sdk/proton/src/operation/delete_environment_template_version/builders.rs @@ -20,9 +20,9 @@ impl DeleteEnvironmentTemplateVersionFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize(self) -> ::std::result::Result< + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware(self) -> ::std::result::Result< crate::client::customize::CustomizableOperation, ::aws_smithy_http::result::SdkError >{ @@ -65,6 +65,15 @@ impl DeleteEnvironmentTemplateVersionFluentBuilder { { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize(self) -> ::std::result::Result< + crate::client::customize::CustomizableOperation, + ::aws_smithy_http::result::SdkError + >{ + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                        The name of the environment template.

                                                                                                                                                                                                                                                        pub fn template_name( mut self, diff --git a/sdk/proton/src/operation/delete_repository/builders.rs b/sdk/proton/src/operation/delete_repository/builders.rs index 41077c46130e..ef9a9740d113 100644 --- a/sdk/proton/src/operation/delete_repository/builders.rs +++ b/sdk/proton/src/operation/delete_repository/builders.rs @@ -19,9 +19,9 @@ impl DeleteRepositoryFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl DeleteRepositoryFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::delete_repository::DeleteRepository, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::delete_repository::DeleteRepositoryError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                        The repository provider.

                                                                                                                                                                                                                                                        pub fn provider(mut self, input: crate::types::RepositoryProvider) -> Self { self.inner = self.inner.provider(input); diff --git a/sdk/proton/src/operation/delete_service/builders.rs b/sdk/proton/src/operation/delete_service/builders.rs index 031e120ced79..b88c53814e54 100644 --- a/sdk/proton/src/operation/delete_service/builders.rs +++ b/sdk/proton/src/operation/delete_service/builders.rs @@ -22,9 +22,9 @@ impl DeleteServiceFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -80,6 +80,20 @@ impl DeleteServiceFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::delete_service::DeleteService, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                        The name of the service to delete.

                                                                                                                                                                                                                                                        pub fn name(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.name(input.into()); diff --git a/sdk/proton/src/operation/delete_service_sync_config/builders.rs b/sdk/proton/src/operation/delete_service_sync_config/builders.rs index ea17c6ccb5c1..77f0d86e9ee3 100644 --- a/sdk/proton/src/operation/delete_service_sync_config/builders.rs +++ b/sdk/proton/src/operation/delete_service_sync_config/builders.rs @@ -20,9 +20,9 @@ impl DeleteServiceSyncConfigFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -84,6 +84,22 @@ impl DeleteServiceSyncConfigFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::delete_service_sync_config::DeleteServiceSyncConfig, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::delete_service_sync_config::DeleteServiceSyncConfigError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                        The name of the service that you want to delete the service sync configuration for.

                                                                                                                                                                                                                                                        pub fn service_name(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.service_name(input.into()); diff --git a/sdk/proton/src/operation/delete_service_template/builders.rs b/sdk/proton/src/operation/delete_service_template/builders.rs index afabebd7c2ca..12effe8a2d8d 100644 --- a/sdk/proton/src/operation/delete_service_template/builders.rs +++ b/sdk/proton/src/operation/delete_service_template/builders.rs @@ -19,9 +19,9 @@ impl DeleteServiceTemplateFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl DeleteServiceTemplateFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::delete_service_template::DeleteServiceTemplate, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::delete_service_template::DeleteServiceTemplateError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                        The name of the service template to delete.

                                                                                                                                                                                                                                                        pub fn name(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.name(input.into()); diff --git a/sdk/proton/src/operation/delete_service_template_version/builders.rs b/sdk/proton/src/operation/delete_service_template_version/builders.rs index f35d92a8e6f3..1c504d60ad25 100644 --- a/sdk/proton/src/operation/delete_service_template_version/builders.rs +++ b/sdk/proton/src/operation/delete_service_template_version/builders.rs @@ -20,9 +20,9 @@ impl DeleteServiceTemplateVersionFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -84,6 +84,22 @@ impl DeleteServiceTemplateVersionFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::delete_service_template_version::DeleteServiceTemplateVersion, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::delete_service_template_version::DeleteServiceTemplateVersionError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                        The name of the service template.

                                                                                                                                                                                                                                                        pub fn template_name( mut self, diff --git a/sdk/proton/src/operation/delete_template_sync_config/builders.rs b/sdk/proton/src/operation/delete_template_sync_config/builders.rs index 847399f63518..196b47377925 100644 --- a/sdk/proton/src/operation/delete_template_sync_config/builders.rs +++ b/sdk/proton/src/operation/delete_template_sync_config/builders.rs @@ -19,9 +19,9 @@ impl DeleteTemplateSyncConfigFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl DeleteTemplateSyncConfigFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::delete_template_sync_config::DeleteTemplateSyncConfig, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::delete_template_sync_config::DeleteTemplateSyncConfigError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                        The template name.

                                                                                                                                                                                                                                                        pub fn template_name( mut self, diff --git a/sdk/proton/src/operation/get_account_settings/builders.rs b/sdk/proton/src/operation/get_account_settings/builders.rs index 363559a0d5b7..5548cd6fe1d1 100644 --- a/sdk/proton/src/operation/get_account_settings/builders.rs +++ b/sdk/proton/src/operation/get_account_settings/builders.rs @@ -19,9 +19,9 @@ impl GetAccountSettingsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,4 +83,20 @@ impl GetAccountSettingsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::get_account_settings::GetAccountSettings, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::get_account_settings::GetAccountSettingsError, + >, + > { + self.customize_middleware().await + } } diff --git a/sdk/proton/src/operation/get_component/builders.rs b/sdk/proton/src/operation/get_component/builders.rs index 970fd27bbaf7..5fca397a1687 100644 --- a/sdk/proton/src/operation/get_component/builders.rs +++ b/sdk/proton/src/operation/get_component/builders.rs @@ -20,9 +20,9 @@ impl GetComponentFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -78,6 +78,20 @@ impl GetComponentFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::get_component::GetComponent, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                        The name of the component that you want to get the detailed data for.

                                                                                                                                                                                                                                                        pub fn name(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.name(input.into()); diff --git a/sdk/proton/src/operation/get_environment/builders.rs b/sdk/proton/src/operation/get_environment/builders.rs index fe06874dc3f5..7f3cccb56e59 100644 --- a/sdk/proton/src/operation/get_environment/builders.rs +++ b/sdk/proton/src/operation/get_environment/builders.rs @@ -19,9 +19,9 @@ impl GetEnvironmentFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl GetEnvironmentFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::get_environment::GetEnvironment, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                        The name of the environment that you want to get the detailed data for.

                                                                                                                                                                                                                                                        pub fn name(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.name(input.into()); diff --git a/sdk/proton/src/operation/get_environment_account_connection/builders.rs b/sdk/proton/src/operation/get_environment_account_connection/builders.rs index 262921f07953..22f198cb8169 100644 --- a/sdk/proton/src/operation/get_environment_account_connection/builders.rs +++ b/sdk/proton/src/operation/get_environment_account_connection/builders.rs @@ -20,9 +20,9 @@ impl GetEnvironmentAccountConnectionFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize(self) -> ::std::result::Result< + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware(self) -> ::std::result::Result< crate::client::customize::CustomizableOperation, ::aws_smithy_http::result::SdkError >{ @@ -65,6 +65,15 @@ impl GetEnvironmentAccountConnectionFluentBuilder { { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize(self) -> ::std::result::Result< + crate::client::customize::CustomizableOperation, + ::aws_smithy_http::result::SdkError + >{ + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                        The ID of the environment account connection that you want to get the detailed data for.

                                                                                                                                                                                                                                                        pub fn id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.id(input.into()); diff --git a/sdk/proton/src/operation/get_environment_template/builders.rs b/sdk/proton/src/operation/get_environment_template/builders.rs index 57eac846fc02..31a43201a4b7 100644 --- a/sdk/proton/src/operation/get_environment_template/builders.rs +++ b/sdk/proton/src/operation/get_environment_template/builders.rs @@ -19,9 +19,9 @@ impl GetEnvironmentTemplateFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl GetEnvironmentTemplateFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::get_environment_template::GetEnvironmentTemplate, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::get_environment_template::GetEnvironmentTemplateError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                        The name of the environment template that you want to get the detailed data for.

                                                                                                                                                                                                                                                        pub fn name(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.name(input.into()); diff --git a/sdk/proton/src/operation/get_environment_template_version/builders.rs b/sdk/proton/src/operation/get_environment_template_version/builders.rs index 0ccb7d8cf875..fc9b1d447799 100644 --- a/sdk/proton/src/operation/get_environment_template_version/builders.rs +++ b/sdk/proton/src/operation/get_environment_template_version/builders.rs @@ -19,9 +19,9 @@ impl GetEnvironmentTemplateVersionFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl GetEnvironmentTemplateVersionFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::get_environment_template_version::GetEnvironmentTemplateVersion, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::get_environment_template_version::GetEnvironmentTemplateVersionError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                        The name of the environment template a version of which you want to get detailed data for.

                                                                                                                                                                                                                                                        pub fn template_name( mut self, diff --git a/sdk/proton/src/operation/get_repository/builders.rs b/sdk/proton/src/operation/get_repository/builders.rs index 7c5bd1dbb463..c73b157906b6 100644 --- a/sdk/proton/src/operation/get_repository/builders.rs +++ b/sdk/proton/src/operation/get_repository/builders.rs @@ -19,9 +19,9 @@ impl GetRepositoryFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl GetRepositoryFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::get_repository::GetRepository, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                        The repository provider.

                                                                                                                                                                                                                                                        pub fn provider(mut self, input: crate::types::RepositoryProvider) -> Self { self.inner = self.inner.provider(input); diff --git a/sdk/proton/src/operation/get_repository_sync_status/builders.rs b/sdk/proton/src/operation/get_repository_sync_status/builders.rs index c92feb37f150..7db87742de97 100644 --- a/sdk/proton/src/operation/get_repository_sync_status/builders.rs +++ b/sdk/proton/src/operation/get_repository_sync_status/builders.rs @@ -23,9 +23,9 @@ impl GetRepositorySyncStatusFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -87,6 +87,22 @@ impl GetRepositorySyncStatusFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::get_repository_sync_status::GetRepositorySyncStatus, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::get_repository_sync_status::GetRepositorySyncStatusError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                        The repository name.

                                                                                                                                                                                                                                                        pub fn repository_name( mut self, diff --git a/sdk/proton/src/operation/get_resources_summary/builders.rs b/sdk/proton/src/operation/get_resources_summary/builders.rs index 493f858baed4..cb48a437489e 100644 --- a/sdk/proton/src/operation/get_resources_summary/builders.rs +++ b/sdk/proton/src/operation/get_resources_summary/builders.rs @@ -23,9 +23,9 @@ impl GetResourcesSummaryFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -87,4 +87,20 @@ impl GetResourcesSummaryFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::get_resources_summary::GetResourcesSummary, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::get_resources_summary::GetResourcesSummaryError, + >, + > { + self.customize_middleware().await + } } diff --git a/sdk/proton/src/operation/get_service/builders.rs b/sdk/proton/src/operation/get_service/builders.rs index 664b54ebf231..d3030fdae191 100644 --- a/sdk/proton/src/operation/get_service/builders.rs +++ b/sdk/proton/src/operation/get_service/builders.rs @@ -19,9 +19,9 @@ impl GetServiceFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl GetServiceFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::get_service::GetService, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                        The name of the service that you want to get the detailed data for.

                                                                                                                                                                                                                                                        pub fn name(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.name(input.into()); diff --git a/sdk/proton/src/operation/get_service_instance/builders.rs b/sdk/proton/src/operation/get_service_instance/builders.rs index 78bd7223fc49..5b23e0952719 100644 --- a/sdk/proton/src/operation/get_service_instance/builders.rs +++ b/sdk/proton/src/operation/get_service_instance/builders.rs @@ -19,9 +19,9 @@ impl GetServiceInstanceFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl GetServiceInstanceFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::get_service_instance::GetServiceInstance, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::get_service_instance::GetServiceInstanceError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                        The name of a service instance that you want to get the detailed data for.

                                                                                                                                                                                                                                                        pub fn name(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.name(input.into()); diff --git a/sdk/proton/src/operation/get_service_instance_sync_status/builders.rs b/sdk/proton/src/operation/get_service_instance_sync_status/builders.rs index 7cfd922e2d05..33e360bfd74a 100644 --- a/sdk/proton/src/operation/get_service_instance_sync_status/builders.rs +++ b/sdk/proton/src/operation/get_service_instance_sync_status/builders.rs @@ -19,9 +19,9 @@ impl GetServiceInstanceSyncStatusFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl GetServiceInstanceSyncStatusFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::get_service_instance_sync_status::GetServiceInstanceSyncStatus, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::get_service_instance_sync_status::GetServiceInstanceSyncStatusError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                        The name of the service that the service instance belongs to.

                                                                                                                                                                                                                                                        pub fn service_name(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.service_name(input.into()); diff --git a/sdk/proton/src/operation/get_service_sync_blocker_summary/builders.rs b/sdk/proton/src/operation/get_service_sync_blocker_summary/builders.rs index 60fe6ecdf1bf..295fddfce3df 100644 --- a/sdk/proton/src/operation/get_service_sync_blocker_summary/builders.rs +++ b/sdk/proton/src/operation/get_service_sync_blocker_summary/builders.rs @@ -19,9 +19,9 @@ impl GetServiceSyncBlockerSummaryFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl GetServiceSyncBlockerSummaryFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::get_service_sync_blocker_summary::GetServiceSyncBlockerSummary, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::get_service_sync_blocker_summary::GetServiceSyncBlockerSummaryError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                        The name of the service that you want to get the service sync blocker summary for. If given only the service name, all instances are blocked.

                                                                                                                                                                                                                                                        pub fn service_name(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.service_name(input.into()); diff --git a/sdk/proton/src/operation/get_service_sync_config/builders.rs b/sdk/proton/src/operation/get_service_sync_config/builders.rs index 27244528d5d0..4249592de59e 100644 --- a/sdk/proton/src/operation/get_service_sync_config/builders.rs +++ b/sdk/proton/src/operation/get_service_sync_config/builders.rs @@ -19,9 +19,9 @@ impl GetServiceSyncConfigFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl GetServiceSyncConfigFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::get_service_sync_config::GetServiceSyncConfig, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::get_service_sync_config::GetServiceSyncConfigError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                        The name of the service that you want to get the service sync configuration for.

                                                                                                                                                                                                                                                        pub fn service_name(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.service_name(input.into()); diff --git a/sdk/proton/src/operation/get_service_template/builders.rs b/sdk/proton/src/operation/get_service_template/builders.rs index 9897a82f7ab3..02183cb05b92 100644 --- a/sdk/proton/src/operation/get_service_template/builders.rs +++ b/sdk/proton/src/operation/get_service_template/builders.rs @@ -19,9 +19,9 @@ impl GetServiceTemplateFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl GetServiceTemplateFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::get_service_template::GetServiceTemplate, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::get_service_template::GetServiceTemplateError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                        The name of the service template that you want to get detailed data for.

                                                                                                                                                                                                                                                        pub fn name(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.name(input.into()); diff --git a/sdk/proton/src/operation/get_service_template_version/builders.rs b/sdk/proton/src/operation/get_service_template_version/builders.rs index efd4438adbf1..f05aa1884395 100644 --- a/sdk/proton/src/operation/get_service_template_version/builders.rs +++ b/sdk/proton/src/operation/get_service_template_version/builders.rs @@ -19,9 +19,9 @@ impl GetServiceTemplateVersionFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl GetServiceTemplateVersionFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::get_service_template_version::GetServiceTemplateVersion, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::get_service_template_version::GetServiceTemplateVersionError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                        The name of the service template a version of which you want to get detailed data for.

                                                                                                                                                                                                                                                        pub fn template_name( mut self, diff --git a/sdk/proton/src/operation/get_template_sync_config/builders.rs b/sdk/proton/src/operation/get_template_sync_config/builders.rs index 8f04dbb19c73..f8464807b767 100644 --- a/sdk/proton/src/operation/get_template_sync_config/builders.rs +++ b/sdk/proton/src/operation/get_template_sync_config/builders.rs @@ -19,9 +19,9 @@ impl GetTemplateSyncConfigFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl GetTemplateSyncConfigFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::get_template_sync_config::GetTemplateSyncConfig, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::get_template_sync_config::GetTemplateSyncConfigError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                        The template name.

                                                                                                                                                                                                                                                        pub fn template_name( mut self, diff --git a/sdk/proton/src/operation/get_template_sync_status/builders.rs b/sdk/proton/src/operation/get_template_sync_status/builders.rs index 0e12d6d8dc34..7b453b9fb920 100644 --- a/sdk/proton/src/operation/get_template_sync_status/builders.rs +++ b/sdk/proton/src/operation/get_template_sync_status/builders.rs @@ -19,9 +19,9 @@ impl GetTemplateSyncStatusFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl GetTemplateSyncStatusFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::get_template_sync_status::GetTemplateSyncStatus, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::get_template_sync_status::GetTemplateSyncStatusError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                        The template name.

                                                                                                                                                                                                                                                        pub fn template_name( mut self, diff --git a/sdk/proton/src/operation/list_component_outputs/builders.rs b/sdk/proton/src/operation/list_component_outputs/builders.rs index 3cbd589ac17d..2ff84ae29ad0 100644 --- a/sdk/proton/src/operation/list_component_outputs/builders.rs +++ b/sdk/proton/src/operation/list_component_outputs/builders.rs @@ -20,9 +20,9 @@ impl ListComponentOutputsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -84,6 +84,22 @@ impl ListComponentOutputsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_component_outputs::ListComponentOutputs, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::list_component_outputs::ListComponentOutputsError, + >, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::list_component_outputs::paginator::ListComponentOutputsPaginator::send) which returns a `Stream`. diff --git a/sdk/proton/src/operation/list_component_provisioned_resources/builders.rs b/sdk/proton/src/operation/list_component_provisioned_resources/builders.rs index 2361f1a1721c..8e4fca981cfc 100644 --- a/sdk/proton/src/operation/list_component_provisioned_resources/builders.rs +++ b/sdk/proton/src/operation/list_component_provisioned_resources/builders.rs @@ -20,9 +20,9 @@ impl ListComponentProvisionedResourcesFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize(self) -> ::std::result::Result< + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware(self) -> ::std::result::Result< crate::client::customize::CustomizableOperation, ::aws_smithy_http::result::SdkError >{ @@ -65,6 +65,15 @@ impl ListComponentProvisionedResourcesFluentBuilder { { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize(self) -> ::std::result::Result< + crate::client::customize::CustomizableOperation, + ::aws_smithy_http::result::SdkError + >{ + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::list_component_provisioned_resources::paginator::ListComponentProvisionedResourcesPaginator::send) which returns a `Stream`. diff --git a/sdk/proton/src/operation/list_components/builders.rs b/sdk/proton/src/operation/list_components/builders.rs index 111449973966..cdb73d3d8f8c 100644 --- a/sdk/proton/src/operation/list_components/builders.rs +++ b/sdk/proton/src/operation/list_components/builders.rs @@ -20,9 +20,9 @@ impl ListComponentsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -78,6 +78,20 @@ impl ListComponentsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_components::ListComponents, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::list_components::paginator::ListComponentsPaginator::send) which returns a `Stream`. diff --git a/sdk/proton/src/operation/list_environment_account_connections/builders.rs b/sdk/proton/src/operation/list_environment_account_connections/builders.rs index 0c0cecfbde63..364d96b29bbd 100644 --- a/sdk/proton/src/operation/list_environment_account_connections/builders.rs +++ b/sdk/proton/src/operation/list_environment_account_connections/builders.rs @@ -20,9 +20,9 @@ impl ListEnvironmentAccountConnectionsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize(self) -> ::std::result::Result< + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware(self) -> ::std::result::Result< crate::client::customize::CustomizableOperation, ::aws_smithy_http::result::SdkError >{ @@ -65,6 +65,15 @@ impl ListEnvironmentAccountConnectionsFluentBuilder { { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize(self) -> ::std::result::Result< + crate::client::customize::CustomizableOperation, + ::aws_smithy_http::result::SdkError + >{ + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::list_environment_account_connections::paginator::ListEnvironmentAccountConnectionsPaginator::send) which returns a `Stream`. diff --git a/sdk/proton/src/operation/list_environment_outputs/builders.rs b/sdk/proton/src/operation/list_environment_outputs/builders.rs index edb3f2b36594..9018904f9846 100644 --- a/sdk/proton/src/operation/list_environment_outputs/builders.rs +++ b/sdk/proton/src/operation/list_environment_outputs/builders.rs @@ -19,9 +19,9 @@ impl ListEnvironmentOutputsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl ListEnvironmentOutputsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_environment_outputs::ListEnvironmentOutputs, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::list_environment_outputs::ListEnvironmentOutputsError, + >, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::list_environment_outputs::paginator::ListEnvironmentOutputsPaginator::send) which returns a `Stream`. diff --git a/sdk/proton/src/operation/list_environment_provisioned_resources/builders.rs b/sdk/proton/src/operation/list_environment_provisioned_resources/builders.rs index fb791b5ec409..693cd1d18586 100644 --- a/sdk/proton/src/operation/list_environment_provisioned_resources/builders.rs +++ b/sdk/proton/src/operation/list_environment_provisioned_resources/builders.rs @@ -19,9 +19,9 @@ impl ListEnvironmentProvisionedResourcesFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize(self) -> ::std::result::Result< + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware(self) -> ::std::result::Result< crate::client::customize::CustomizableOperation, ::aws_smithy_http::result::SdkError >{ @@ -64,6 +64,15 @@ impl ListEnvironmentProvisionedResourcesFluentBuilder { { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize(self) -> ::std::result::Result< + crate::client::customize::CustomizableOperation, + ::aws_smithy_http::result::SdkError + >{ + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::list_environment_provisioned_resources::paginator::ListEnvironmentProvisionedResourcesPaginator::send) which returns a `Stream`. diff --git a/sdk/proton/src/operation/list_environment_template_versions/builders.rs b/sdk/proton/src/operation/list_environment_template_versions/builders.rs index e8feb442e0c7..afda71883664 100644 --- a/sdk/proton/src/operation/list_environment_template_versions/builders.rs +++ b/sdk/proton/src/operation/list_environment_template_versions/builders.rs @@ -19,9 +19,9 @@ impl ListEnvironmentTemplateVersionsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize(self) -> ::std::result::Result< + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware(self) -> ::std::result::Result< crate::client::customize::CustomizableOperation, ::aws_smithy_http::result::SdkError >{ @@ -64,6 +64,15 @@ impl ListEnvironmentTemplateVersionsFluentBuilder { { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize(self) -> ::std::result::Result< + crate::client::customize::CustomizableOperation, + ::aws_smithy_http::result::SdkError + >{ + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::list_environment_template_versions::paginator::ListEnvironmentTemplateVersionsPaginator::send) which returns a `Stream`. diff --git a/sdk/proton/src/operation/list_environment_templates/builders.rs b/sdk/proton/src/operation/list_environment_templates/builders.rs index d12985d57203..e07dd940f8ce 100644 --- a/sdk/proton/src/operation/list_environment_templates/builders.rs +++ b/sdk/proton/src/operation/list_environment_templates/builders.rs @@ -19,9 +19,9 @@ impl ListEnvironmentTemplatesFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl ListEnvironmentTemplatesFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_environment_templates::ListEnvironmentTemplates, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::list_environment_templates::ListEnvironmentTemplatesError, + >, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::list_environment_templates::paginator::ListEnvironmentTemplatesPaginator::send) which returns a `Stream`. diff --git a/sdk/proton/src/operation/list_environments/builders.rs b/sdk/proton/src/operation/list_environments/builders.rs index cde83a84f8ca..185e381dd244 100644 --- a/sdk/proton/src/operation/list_environments/builders.rs +++ b/sdk/proton/src/operation/list_environments/builders.rs @@ -19,9 +19,9 @@ impl ListEnvironmentsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl ListEnvironmentsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_environments::ListEnvironments, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::list_environments::ListEnvironmentsError, + >, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::list_environments::paginator::ListEnvironmentsPaginator::send) which returns a `Stream`. diff --git a/sdk/proton/src/operation/list_repositories/builders.rs b/sdk/proton/src/operation/list_repositories/builders.rs index 83199542290c..b17d941d6d8f 100644 --- a/sdk/proton/src/operation/list_repositories/builders.rs +++ b/sdk/proton/src/operation/list_repositories/builders.rs @@ -19,9 +19,9 @@ impl ListRepositoriesFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl ListRepositoriesFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_repositories::ListRepositories, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::list_repositories::ListRepositoriesError, + >, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::list_repositories::paginator::ListRepositoriesPaginator::send) which returns a `Stream`. diff --git a/sdk/proton/src/operation/list_repository_sync_definitions/builders.rs b/sdk/proton/src/operation/list_repository_sync_definitions/builders.rs index 6f44ddaad187..0772c3a8db77 100644 --- a/sdk/proton/src/operation/list_repository_sync_definitions/builders.rs +++ b/sdk/proton/src/operation/list_repository_sync_definitions/builders.rs @@ -19,9 +19,9 @@ impl ListRepositorySyncDefinitionsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl ListRepositorySyncDefinitionsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_repository_sync_definitions::ListRepositorySyncDefinitions, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::list_repository_sync_definitions::ListRepositorySyncDefinitionsError, + >, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::list_repository_sync_definitions::paginator::ListRepositorySyncDefinitionsPaginator::send) which returns a `Stream`. diff --git a/sdk/proton/src/operation/list_service_instance_outputs/builders.rs b/sdk/proton/src/operation/list_service_instance_outputs/builders.rs index 2f07bff2afb6..838ff2cc8df4 100644 --- a/sdk/proton/src/operation/list_service_instance_outputs/builders.rs +++ b/sdk/proton/src/operation/list_service_instance_outputs/builders.rs @@ -19,9 +19,9 @@ impl ListServiceInstanceOutputsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl ListServiceInstanceOutputsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_service_instance_outputs::ListServiceInstanceOutputs, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::list_service_instance_outputs::ListServiceInstanceOutputsError, + >, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::list_service_instance_outputs::paginator::ListServiceInstanceOutputsPaginator::send) which returns a `Stream`. diff --git a/sdk/proton/src/operation/list_service_instance_provisioned_resources/builders.rs b/sdk/proton/src/operation/list_service_instance_provisioned_resources/builders.rs index b05d0cbb8d3c..236841ef2dd3 100644 --- a/sdk/proton/src/operation/list_service_instance_provisioned_resources/builders.rs +++ b/sdk/proton/src/operation/list_service_instance_provisioned_resources/builders.rs @@ -19,9 +19,9 @@ impl ListServiceInstanceProvisionedResourcesFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize(self) -> ::std::result::Result< + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware(self) -> ::std::result::Result< crate::client::customize::CustomizableOperation, ::aws_smithy_http::result::SdkError >{ @@ -64,6 +64,15 @@ impl ListServiceInstanceProvisionedResourcesFluentBuilder { { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize(self) -> ::std::result::Result< + crate::client::customize::CustomizableOperation, + ::aws_smithy_http::result::SdkError + >{ + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::list_service_instance_provisioned_resources::paginator::ListServiceInstanceProvisionedResourcesPaginator::send) which returns a `Stream`. diff --git a/sdk/proton/src/operation/list_service_instances/builders.rs b/sdk/proton/src/operation/list_service_instances/builders.rs index 60c6afa0a3b7..e7e679406ada 100644 --- a/sdk/proton/src/operation/list_service_instances/builders.rs +++ b/sdk/proton/src/operation/list_service_instances/builders.rs @@ -19,9 +19,9 @@ impl ListServiceInstancesFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl ListServiceInstancesFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_service_instances::ListServiceInstances, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::list_service_instances::ListServiceInstancesError, + >, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::list_service_instances::paginator::ListServiceInstancesPaginator::send) which returns a `Stream`. diff --git a/sdk/proton/src/operation/list_service_pipeline_outputs/builders.rs b/sdk/proton/src/operation/list_service_pipeline_outputs/builders.rs index 8c470507fa4d..d134e45696cc 100644 --- a/sdk/proton/src/operation/list_service_pipeline_outputs/builders.rs +++ b/sdk/proton/src/operation/list_service_pipeline_outputs/builders.rs @@ -19,9 +19,9 @@ impl ListServicePipelineOutputsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl ListServicePipelineOutputsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_service_pipeline_outputs::ListServicePipelineOutputs, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::list_service_pipeline_outputs::ListServicePipelineOutputsError, + >, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::list_service_pipeline_outputs::paginator::ListServicePipelineOutputsPaginator::send) which returns a `Stream`. diff --git a/sdk/proton/src/operation/list_service_pipeline_provisioned_resources/builders.rs b/sdk/proton/src/operation/list_service_pipeline_provisioned_resources/builders.rs index 0f842a1c67cd..6a59eef6c924 100644 --- a/sdk/proton/src/operation/list_service_pipeline_provisioned_resources/builders.rs +++ b/sdk/proton/src/operation/list_service_pipeline_provisioned_resources/builders.rs @@ -19,9 +19,9 @@ impl ListServicePipelineProvisionedResourcesFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize(self) -> ::std::result::Result< + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware(self) -> ::std::result::Result< crate::client::customize::CustomizableOperation, ::aws_smithy_http::result::SdkError >{ @@ -64,6 +64,15 @@ impl ListServicePipelineProvisionedResourcesFluentBuilder { { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize(self) -> ::std::result::Result< + crate::client::customize::CustomizableOperation, + ::aws_smithy_http::result::SdkError + >{ + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::list_service_pipeline_provisioned_resources::paginator::ListServicePipelineProvisionedResourcesPaginator::send) which returns a `Stream`. diff --git a/sdk/proton/src/operation/list_service_template_versions/builders.rs b/sdk/proton/src/operation/list_service_template_versions/builders.rs index 45c85791a029..4cbbc6fe1227 100644 --- a/sdk/proton/src/operation/list_service_template_versions/builders.rs +++ b/sdk/proton/src/operation/list_service_template_versions/builders.rs @@ -19,9 +19,9 @@ impl ListServiceTemplateVersionsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl ListServiceTemplateVersionsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_service_template_versions::ListServiceTemplateVersions, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::list_service_template_versions::ListServiceTemplateVersionsError, + >, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::list_service_template_versions::paginator::ListServiceTemplateVersionsPaginator::send) which returns a `Stream`. diff --git a/sdk/proton/src/operation/list_service_templates/builders.rs b/sdk/proton/src/operation/list_service_templates/builders.rs index 5a554f3a1970..90d921ef150f 100644 --- a/sdk/proton/src/operation/list_service_templates/builders.rs +++ b/sdk/proton/src/operation/list_service_templates/builders.rs @@ -19,9 +19,9 @@ impl ListServiceTemplatesFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl ListServiceTemplatesFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_service_templates::ListServiceTemplates, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::list_service_templates::ListServiceTemplatesError, + >, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::list_service_templates::paginator::ListServiceTemplatesPaginator::send) which returns a `Stream`. diff --git a/sdk/proton/src/operation/list_services/builders.rs b/sdk/proton/src/operation/list_services/builders.rs index 16069441ebb2..3ae17267a90d 100644 --- a/sdk/proton/src/operation/list_services/builders.rs +++ b/sdk/proton/src/operation/list_services/builders.rs @@ -19,9 +19,9 @@ impl ListServicesFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl ListServicesFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_services::ListServices, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::list_services::paginator::ListServicesPaginator::send) which returns a `Stream`. diff --git a/sdk/proton/src/operation/list_tags_for_resource/builders.rs b/sdk/proton/src/operation/list_tags_for_resource/builders.rs index 22293f932a7f..0d1a345170fe 100644 --- a/sdk/proton/src/operation/list_tags_for_resource/builders.rs +++ b/sdk/proton/src/operation/list_tags_for_resource/builders.rs @@ -19,9 +19,9 @@ impl ListTagsForResourceFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl ListTagsForResourceFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_tags_for_resource::ListTagsForResource, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::list_tags_for_resource::ListTagsForResourceError, + >, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::list_tags_for_resource::paginator::ListTagsForResourcePaginator::send) which returns a `Stream`. diff --git a/sdk/proton/src/operation/notify_resource_deployment_status_change/builders.rs b/sdk/proton/src/operation/notify_resource_deployment_status_change/builders.rs index 1f2b5e120bdb..dee3cd49d953 100644 --- a/sdk/proton/src/operation/notify_resource_deployment_status_change/builders.rs +++ b/sdk/proton/src/operation/notify_resource_deployment_status_change/builders.rs @@ -20,9 +20,9 @@ impl NotifyResourceDeploymentStatusChangeFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize(self) -> ::std::result::Result< + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware(self) -> ::std::result::Result< crate::client::customize::CustomizableOperation, ::aws_smithy_http::result::SdkError >{ @@ -65,6 +65,15 @@ impl NotifyResourceDeploymentStatusChangeFluentBuilder { { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize(self) -> ::std::result::Result< + crate::client::customize::CustomizableOperation, + ::aws_smithy_http::result::SdkError + >{ + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                        The provisioned resource Amazon Resource Name (ARN).

                                                                                                                                                                                                                                                        pub fn resource_arn(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.resource_arn(input.into()); diff --git a/sdk/proton/src/operation/reject_environment_account_connection/builders.rs b/sdk/proton/src/operation/reject_environment_account_connection/builders.rs index 9e02d9aae098..bac6d25520e0 100644 --- a/sdk/proton/src/operation/reject_environment_account_connection/builders.rs +++ b/sdk/proton/src/operation/reject_environment_account_connection/builders.rs @@ -22,9 +22,9 @@ impl RejectEnvironmentAccountConnectionFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize(self) -> ::std::result::Result< + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware(self) -> ::std::result::Result< crate::client::customize::CustomizableOperation, ::aws_smithy_http::result::SdkError >{ @@ -67,6 +67,15 @@ impl RejectEnvironmentAccountConnectionFluentBuilder { { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize(self) -> ::std::result::Result< + crate::client::customize::CustomizableOperation, + ::aws_smithy_http::result::SdkError + >{ + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                        The ID of the environment account connection to reject.

                                                                                                                                                                                                                                                        pub fn id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.id(input.into()); diff --git a/sdk/proton/src/operation/tag_resource/builders.rs b/sdk/proton/src/operation/tag_resource/builders.rs index 3a8558658022..0043548de33f 100644 --- a/sdk/proton/src/operation/tag_resource/builders.rs +++ b/sdk/proton/src/operation/tag_resource/builders.rs @@ -20,9 +20,9 @@ impl TagResourceFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -78,6 +78,20 @@ impl TagResourceFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::tag_resource::TagResource, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                        The Amazon Resource Name (ARN) of the Proton resource to apply customer tags to.

                                                                                                                                                                                                                                                        pub fn resource_arn(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.resource_arn(input.into()); diff --git a/sdk/proton/src/operation/untag_resource/builders.rs b/sdk/proton/src/operation/untag_resource/builders.rs index d3597827b691..3c4dcab68677 100644 --- a/sdk/proton/src/operation/untag_resource/builders.rs +++ b/sdk/proton/src/operation/untag_resource/builders.rs @@ -20,9 +20,9 @@ impl UntagResourceFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -78,6 +78,20 @@ impl UntagResourceFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::untag_resource::UntagResource, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                        The Amazon Resource Name (ARN) of the resource to remove customer tags from.

                                                                                                                                                                                                                                                        pub fn resource_arn(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.resource_arn(input.into()); diff --git a/sdk/proton/src/operation/update_account_settings/builders.rs b/sdk/proton/src/operation/update_account_settings/builders.rs index 594ab5a83fe3..3a1b3337c541 100644 --- a/sdk/proton/src/operation/update_account_settings/builders.rs +++ b/sdk/proton/src/operation/update_account_settings/builders.rs @@ -19,9 +19,9 @@ impl UpdateAccountSettingsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl UpdateAccountSettingsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::update_account_settings::UpdateAccountSettings, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::update_account_settings::UpdateAccountSettingsError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                        The Amazon Resource Name (ARN) of the service role you want to use for provisioning pipelines. Assumed by Proton for Amazon Web Services-managed provisioning, and by customer-owned automation for self-managed provisioning.

                                                                                                                                                                                                                                                        ///

                                                                                                                                                                                                                                                        To remove a previously configured ARN, specify an empty string.

                                                                                                                                                                                                                                                        pub fn pipeline_service_role_arn( diff --git a/sdk/proton/src/operation/update_component/builders.rs b/sdk/proton/src/operation/update_component/builders.rs index 6db5db656cfc..84b02352126f 100644 --- a/sdk/proton/src/operation/update_component/builders.rs +++ b/sdk/proton/src/operation/update_component/builders.rs @@ -23,9 +23,9 @@ impl UpdateComponentFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -87,6 +87,22 @@ impl UpdateComponentFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::update_component::UpdateComponent, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::update_component::UpdateComponentError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                        The name of the component to update.

                                                                                                                                                                                                                                                        pub fn name(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.name(input.into()); diff --git a/sdk/proton/src/operation/update_environment/builders.rs b/sdk/proton/src/operation/update_environment/builders.rs index d45d0788d2d2..9a0dfa162434 100644 --- a/sdk/proton/src/operation/update_environment/builders.rs +++ b/sdk/proton/src/operation/update_environment/builders.rs @@ -49,9 +49,9 @@ impl UpdateEnvironmentFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -113,6 +113,22 @@ impl UpdateEnvironmentFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::update_environment::UpdateEnvironment, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::update_environment::UpdateEnvironmentError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                        The name of the environment to update.

                                                                                                                                                                                                                                                        pub fn name(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.name(input.into()); diff --git a/sdk/proton/src/operation/update_environment_account_connection/builders.rs b/sdk/proton/src/operation/update_environment_account_connection/builders.rs index 0bd3dbfb1ae3..82904bd5dda0 100644 --- a/sdk/proton/src/operation/update_environment_account_connection/builders.rs +++ b/sdk/proton/src/operation/update_environment_account_connection/builders.rs @@ -20,9 +20,9 @@ impl UpdateEnvironmentAccountConnectionFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize(self) -> ::std::result::Result< + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware(self) -> ::std::result::Result< crate::client::customize::CustomizableOperation, ::aws_smithy_http::result::SdkError >{ @@ -65,6 +65,15 @@ impl UpdateEnvironmentAccountConnectionFluentBuilder { { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize(self) -> ::std::result::Result< + crate::client::customize::CustomizableOperation, + ::aws_smithy_http::result::SdkError + >{ + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                        The ID of the environment account connection to update.

                                                                                                                                                                                                                                                        pub fn id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.id(input.into()); diff --git a/sdk/proton/src/operation/update_environment_template/builders.rs b/sdk/proton/src/operation/update_environment_template/builders.rs index 2636718b0dba..8148daeb52ed 100644 --- a/sdk/proton/src/operation/update_environment_template/builders.rs +++ b/sdk/proton/src/operation/update_environment_template/builders.rs @@ -19,9 +19,9 @@ impl UpdateEnvironmentTemplateFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl UpdateEnvironmentTemplateFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::update_environment_template::UpdateEnvironmentTemplate, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::update_environment_template::UpdateEnvironmentTemplateError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                        The name of the environment template to update.

                                                                                                                                                                                                                                                        pub fn name(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.name(input.into()); diff --git a/sdk/proton/src/operation/update_environment_template_version/builders.rs b/sdk/proton/src/operation/update_environment_template_version/builders.rs index 4ee56bd54e64..51e1cd81ed9f 100644 --- a/sdk/proton/src/operation/update_environment_template_version/builders.rs +++ b/sdk/proton/src/operation/update_environment_template_version/builders.rs @@ -19,9 +19,9 @@ impl UpdateEnvironmentTemplateVersionFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize(self) -> ::std::result::Result< + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware(self) -> ::std::result::Result< crate::client::customize::CustomizableOperation, ::aws_smithy_http::result::SdkError >{ @@ -64,6 +64,15 @@ impl UpdateEnvironmentTemplateVersionFluentBuilder { { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize(self) -> ::std::result::Result< + crate::client::customize::CustomizableOperation, + ::aws_smithy_http::result::SdkError + >{ + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                        The name of the environment template.

                                                                                                                                                                                                                                                        pub fn template_name( mut self, diff --git a/sdk/proton/src/operation/update_service/builders.rs b/sdk/proton/src/operation/update_service/builders.rs index b776a0a0d534..ef16a986b2df 100644 --- a/sdk/proton/src/operation/update_service/builders.rs +++ b/sdk/proton/src/operation/update_service/builders.rs @@ -26,9 +26,9 @@ impl UpdateServiceFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -84,6 +84,20 @@ impl UpdateServiceFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::update_service::UpdateService, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                        The name of the service to edit.

                                                                                                                                                                                                                                                        pub fn name(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.name(input.into()); diff --git a/sdk/proton/src/operation/update_service_instance/builders.rs b/sdk/proton/src/operation/update_service_instance/builders.rs index 9cf808db2481..388c59e682d9 100644 --- a/sdk/proton/src/operation/update_service_instance/builders.rs +++ b/sdk/proton/src/operation/update_service_instance/builders.rs @@ -23,9 +23,9 @@ impl UpdateServiceInstanceFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -87,6 +87,22 @@ impl UpdateServiceInstanceFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::update_service_instance::UpdateServiceInstance, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::update_service_instance::UpdateServiceInstanceError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                        The name of the service instance to update.

                                                                                                                                                                                                                                                        pub fn name(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.name(input.into()); diff --git a/sdk/proton/src/operation/update_service_pipeline/builders.rs b/sdk/proton/src/operation/update_service_pipeline/builders.rs index 47837798161c..07bc10bbd62c 100644 --- a/sdk/proton/src/operation/update_service_pipeline/builders.rs +++ b/sdk/proton/src/operation/update_service_pipeline/builders.rs @@ -42,9 +42,9 @@ impl UpdateServicePipelineFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -106,6 +106,22 @@ impl UpdateServicePipelineFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::update_service_pipeline::UpdateServicePipeline, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::update_service_pipeline::UpdateServicePipelineError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                        The name of the service to that the pipeline is associated with.

                                                                                                                                                                                                                                                        pub fn service_name(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.service_name(input.into()); diff --git a/sdk/proton/src/operation/update_service_sync_blocker/builders.rs b/sdk/proton/src/operation/update_service_sync_blocker/builders.rs index 78b1844352f0..6a71bdcb0e25 100644 --- a/sdk/proton/src/operation/update_service_sync_blocker/builders.rs +++ b/sdk/proton/src/operation/update_service_sync_blocker/builders.rs @@ -19,9 +19,9 @@ impl UpdateServiceSyncBlockerFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl UpdateServiceSyncBlockerFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::update_service_sync_blocker::UpdateServiceSyncBlocker, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::update_service_sync_blocker::UpdateServiceSyncBlockerError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                        The ID of the service sync blocker.

                                                                                                                                                                                                                                                        pub fn id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.id(input.into()); diff --git a/sdk/proton/src/operation/update_service_sync_config/builders.rs b/sdk/proton/src/operation/update_service_sync_config/builders.rs index 5911e0a93383..442b5ceaf07b 100644 --- a/sdk/proton/src/operation/update_service_sync_config/builders.rs +++ b/sdk/proton/src/operation/update_service_sync_config/builders.rs @@ -20,9 +20,9 @@ impl UpdateServiceSyncConfigFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -84,6 +84,22 @@ impl UpdateServiceSyncConfigFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::update_service_sync_config::UpdateServiceSyncConfig, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::update_service_sync_config::UpdateServiceSyncConfigError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                        The name of the service the Proton Ops file is for.

                                                                                                                                                                                                                                                        pub fn service_name(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.service_name(input.into()); diff --git a/sdk/proton/src/operation/update_service_template/builders.rs b/sdk/proton/src/operation/update_service_template/builders.rs index 4a486e835813..7372f5538622 100644 --- a/sdk/proton/src/operation/update_service_template/builders.rs +++ b/sdk/proton/src/operation/update_service_template/builders.rs @@ -19,9 +19,9 @@ impl UpdateServiceTemplateFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl UpdateServiceTemplateFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::update_service_template::UpdateServiceTemplate, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::update_service_template::UpdateServiceTemplateError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                        The name of the service template to update.

                                                                                                                                                                                                                                                        pub fn name(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.name(input.into()); diff --git a/sdk/proton/src/operation/update_service_template_version/builders.rs b/sdk/proton/src/operation/update_service_template_version/builders.rs index 1214f51955f8..0125a9ecc81d 100644 --- a/sdk/proton/src/operation/update_service_template_version/builders.rs +++ b/sdk/proton/src/operation/update_service_template_version/builders.rs @@ -19,9 +19,9 @@ impl UpdateServiceTemplateVersionFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl UpdateServiceTemplateVersionFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::update_service_template_version::UpdateServiceTemplateVersion, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::update_service_template_version::UpdateServiceTemplateVersionError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                        The name of the service template.

                                                                                                                                                                                                                                                        pub fn template_name( mut self, diff --git a/sdk/proton/src/operation/update_template_sync_config/builders.rs b/sdk/proton/src/operation/update_template_sync_config/builders.rs index d1eb9e0e9adb..c7de35d8db73 100644 --- a/sdk/proton/src/operation/update_template_sync_config/builders.rs +++ b/sdk/proton/src/operation/update_template_sync_config/builders.rs @@ -19,9 +19,9 @@ impl UpdateTemplateSyncConfigFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl UpdateTemplateSyncConfigFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::update_template_sync_config::UpdateTemplateSyncConfig, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::update_template_sync_config::UpdateTemplateSyncConfigError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                        The synced template name.

                                                                                                                                                                                                                                                        pub fn template_name( mut self, diff --git a/sdk/qldb/src/operation/cancel_journal_kinesis_stream/builders.rs b/sdk/qldb/src/operation/cancel_journal_kinesis_stream/builders.rs index cb78a3020ba2..9d38b7be6ee3 100644 --- a/sdk/qldb/src/operation/cancel_journal_kinesis_stream/builders.rs +++ b/sdk/qldb/src/operation/cancel_journal_kinesis_stream/builders.rs @@ -20,9 +20,9 @@ impl CancelJournalKinesisStreamFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -84,6 +84,22 @@ impl CancelJournalKinesisStreamFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::cancel_journal_kinesis_stream::CancelJournalKinesisStream, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::cancel_journal_kinesis_stream::CancelJournalKinesisStreamError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                        The name of the ledger.

                                                                                                                                                                                                                                                        pub fn ledger_name(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.ledger_name(input.into()); diff --git a/sdk/qldb/src/operation/create_ledger/builders.rs b/sdk/qldb/src/operation/create_ledger/builders.rs index fea1cc626385..a327c551a85b 100644 --- a/sdk/qldb/src/operation/create_ledger/builders.rs +++ b/sdk/qldb/src/operation/create_ledger/builders.rs @@ -19,9 +19,9 @@ impl CreateLedgerFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl CreateLedgerFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::create_ledger::CreateLedger, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                        The name of the ledger that you want to create. The name must be unique among all of the ledgers in your Amazon Web Services account in the current Region.

                                                                                                                                                                                                                                                        ///

                                                                                                                                                                                                                                                        Naming constraints for ledger names are defined in Quotas in Amazon QLDB in the Amazon QLDB Developer Guide.

                                                                                                                                                                                                                                                        pub fn name(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { diff --git a/sdk/qldb/src/operation/delete_ledger/builders.rs b/sdk/qldb/src/operation/delete_ledger/builders.rs index 0d4bdeec5b8e..60824c9f6ece 100644 --- a/sdk/qldb/src/operation/delete_ledger/builders.rs +++ b/sdk/qldb/src/operation/delete_ledger/builders.rs @@ -20,9 +20,9 @@ impl DeleteLedgerFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -78,6 +78,20 @@ impl DeleteLedgerFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::delete_ledger::DeleteLedger, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                        The name of the ledger that you want to delete.

                                                                                                                                                                                                                                                        pub fn name(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.name(input.into()); diff --git a/sdk/qldb/src/operation/describe_journal_kinesis_stream/builders.rs b/sdk/qldb/src/operation/describe_journal_kinesis_stream/builders.rs index 3643fc326401..a31722bc2532 100644 --- a/sdk/qldb/src/operation/describe_journal_kinesis_stream/builders.rs +++ b/sdk/qldb/src/operation/describe_journal_kinesis_stream/builders.rs @@ -20,9 +20,9 @@ impl DescribeJournalKinesisStreamFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -84,6 +84,22 @@ impl DescribeJournalKinesisStreamFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::describe_journal_kinesis_stream::DescribeJournalKinesisStream, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::describe_journal_kinesis_stream::DescribeJournalKinesisStreamError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                        The name of the ledger.

                                                                                                                                                                                                                                                        pub fn ledger_name(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.ledger_name(input.into()); diff --git a/sdk/qldb/src/operation/describe_journal_s3_export/builders.rs b/sdk/qldb/src/operation/describe_journal_s3_export/builders.rs index 84a58ab36bf7..39f595d4e097 100644 --- a/sdk/qldb/src/operation/describe_journal_s3_export/builders.rs +++ b/sdk/qldb/src/operation/describe_journal_s3_export/builders.rs @@ -23,9 +23,9 @@ impl DescribeJournalS3ExportFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -87,6 +87,22 @@ impl DescribeJournalS3ExportFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::describe_journal_s3_export::DescribeJournalS3Export, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::describe_journal_s3_export::DescribeJournalS3ExportError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                        The name of the ledger.

                                                                                                                                                                                                                                                        pub fn name(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.name(input.into()); diff --git a/sdk/qldb/src/operation/describe_ledger/builders.rs b/sdk/qldb/src/operation/describe_ledger/builders.rs index 2883b389c11d..4ac77406e50a 100644 --- a/sdk/qldb/src/operation/describe_ledger/builders.rs +++ b/sdk/qldb/src/operation/describe_ledger/builders.rs @@ -19,9 +19,9 @@ impl DescribeLedgerFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl DescribeLedgerFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::describe_ledger::DescribeLedger, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                        The name of the ledger that you want to describe.

                                                                                                                                                                                                                                                        pub fn name(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.name(input.into()); diff --git a/sdk/qldb/src/operation/export_journal_to_s3/builders.rs b/sdk/qldb/src/operation/export_journal_to_s3/builders.rs index 64895d5dcd3e..a94e842efbb9 100644 --- a/sdk/qldb/src/operation/export_journal_to_s3/builders.rs +++ b/sdk/qldb/src/operation/export_journal_to_s3/builders.rs @@ -22,9 +22,9 @@ impl ExportJournalToS3FluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -86,6 +86,22 @@ impl ExportJournalToS3FluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::export_journal_to_s3::ExportJournalToS3, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::export_journal_to_s3::ExportJournalToS3Error, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                        The name of the ledger.

                                                                                                                                                                                                                                                        pub fn name(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.name(input.into()); diff --git a/sdk/qldb/src/operation/get_block/builders.rs b/sdk/qldb/src/operation/get_block/builders.rs index efcaa3449f02..0eefd33f36bf 100644 --- a/sdk/qldb/src/operation/get_block/builders.rs +++ b/sdk/qldb/src/operation/get_block/builders.rs @@ -23,9 +23,9 @@ impl GetBlockFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -81,6 +81,20 @@ impl GetBlockFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::get_block::GetBlock, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                        The name of the ledger.

                                                                                                                                                                                                                                                        pub fn name(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.name(input.into()); diff --git a/sdk/qldb/src/operation/get_digest/builders.rs b/sdk/qldb/src/operation/get_digest/builders.rs index 41ab3634682f..9c60af71a119 100644 --- a/sdk/qldb/src/operation/get_digest/builders.rs +++ b/sdk/qldb/src/operation/get_digest/builders.rs @@ -19,9 +19,9 @@ impl GetDigestFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl GetDigestFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::get_digest::GetDigest, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                        The name of the ledger.

                                                                                                                                                                                                                                                        pub fn name(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.name(input.into()); diff --git a/sdk/qldb/src/operation/get_revision/builders.rs b/sdk/qldb/src/operation/get_revision/builders.rs index d6f38e13577e..1c276da26120 100644 --- a/sdk/qldb/src/operation/get_revision/builders.rs +++ b/sdk/qldb/src/operation/get_revision/builders.rs @@ -19,9 +19,9 @@ impl GetRevisionFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl GetRevisionFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::get_revision::GetRevision, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                        The name of the ledger.

                                                                                                                                                                                                                                                        pub fn name(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.name(input.into()); diff --git a/sdk/qldb/src/operation/list_journal_kinesis_streams_for_ledger/builders.rs b/sdk/qldb/src/operation/list_journal_kinesis_streams_for_ledger/builders.rs index ee70ba852ed6..f5ffa4e17e5c 100644 --- a/sdk/qldb/src/operation/list_journal_kinesis_streams_for_ledger/builders.rs +++ b/sdk/qldb/src/operation/list_journal_kinesis_streams_for_ledger/builders.rs @@ -21,9 +21,9 @@ impl ListJournalKinesisStreamsForLedgerFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize(self) -> ::std::result::Result< + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware(self) -> ::std::result::Result< crate::client::customize::CustomizableOperation, ::aws_smithy_http::result::SdkError >{ @@ -66,6 +66,15 @@ impl ListJournalKinesisStreamsForLedgerFluentBuilder { { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize(self) -> ::std::result::Result< + crate::client::customize::CustomizableOperation, + ::aws_smithy_http::result::SdkError + >{ + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::list_journal_kinesis_streams_for_ledger::paginator::ListJournalKinesisStreamsForLedgerPaginator::send) which returns a `Stream`. diff --git a/sdk/qldb/src/operation/list_journal_s3_exports/builders.rs b/sdk/qldb/src/operation/list_journal_s3_exports/builders.rs index d0aff6f3a798..aff48dc33a70 100644 --- a/sdk/qldb/src/operation/list_journal_s3_exports/builders.rs +++ b/sdk/qldb/src/operation/list_journal_s3_exports/builders.rs @@ -21,9 +21,9 @@ impl ListJournalS3ExportsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -85,6 +85,22 @@ impl ListJournalS3ExportsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_journal_s3_exports::ListJournalS3Exports, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::list_journal_s3_exports::ListJournalS3ExportsError, + >, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::list_journal_s3_exports::paginator::ListJournalS3ExportsPaginator::send) which returns a `Stream`. diff --git a/sdk/qldb/src/operation/list_journal_s3_exports_for_ledger/builders.rs b/sdk/qldb/src/operation/list_journal_s3_exports_for_ledger/builders.rs index 77ba500e6d9d..b80b818fec49 100644 --- a/sdk/qldb/src/operation/list_journal_s3_exports_for_ledger/builders.rs +++ b/sdk/qldb/src/operation/list_journal_s3_exports_for_ledger/builders.rs @@ -21,9 +21,9 @@ impl ListJournalS3ExportsForLedgerFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize(self) -> ::std::result::Result< + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware(self) -> ::std::result::Result< crate::client::customize::CustomizableOperation, ::aws_smithy_http::result::SdkError >{ @@ -66,6 +66,15 @@ impl ListJournalS3ExportsForLedgerFluentBuilder { { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize(self) -> ::std::result::Result< + crate::client::customize::CustomizableOperation, + ::aws_smithy_http::result::SdkError + >{ + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::list_journal_s3_exports_for_ledger::paginator::ListJournalS3ExportsForLedgerPaginator::send) which returns a `Stream`. diff --git a/sdk/qldb/src/operation/list_ledgers/builders.rs b/sdk/qldb/src/operation/list_ledgers/builders.rs index 0226ff339ddc..50913aef9ae1 100644 --- a/sdk/qldb/src/operation/list_ledgers/builders.rs +++ b/sdk/qldb/src/operation/list_ledgers/builders.rs @@ -20,9 +20,9 @@ impl ListLedgersFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -78,6 +78,20 @@ impl ListLedgersFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_ledgers::ListLedgers, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::list_ledgers::paginator::ListLedgersPaginator::send) which returns a `Stream`. diff --git a/sdk/qldb/src/operation/list_tags_for_resource/builders.rs b/sdk/qldb/src/operation/list_tags_for_resource/builders.rs index f5d4b323cee0..6edfa1dbe723 100644 --- a/sdk/qldb/src/operation/list_tags_for_resource/builders.rs +++ b/sdk/qldb/src/operation/list_tags_for_resource/builders.rs @@ -19,9 +19,9 @@ impl ListTagsForResourceFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl ListTagsForResourceFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_tags_for_resource::ListTagsForResource, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::list_tags_for_resource::ListTagsForResourceError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                        The Amazon Resource Name (ARN) for which to list the tags. For example:

                                                                                                                                                                                                                                                        ///

                                                                                                                                                                                                                                                        arn:aws:qldb:us-east-1:123456789012:ledger/exampleLedger

                                                                                                                                                                                                                                                        pub fn resource_arn(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { diff --git a/sdk/qldb/src/operation/stream_journal_to_kinesis/builders.rs b/sdk/qldb/src/operation/stream_journal_to_kinesis/builders.rs index 177fb065f022..7d186d69be3b 100644 --- a/sdk/qldb/src/operation/stream_journal_to_kinesis/builders.rs +++ b/sdk/qldb/src/operation/stream_journal_to_kinesis/builders.rs @@ -20,9 +20,9 @@ impl StreamJournalToKinesisFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -84,6 +84,22 @@ impl StreamJournalToKinesisFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::stream_journal_to_kinesis::StreamJournalToKinesis, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::stream_journal_to_kinesis::StreamJournalToKinesisError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                        The name of the ledger.

                                                                                                                                                                                                                                                        pub fn ledger_name(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.ledger_name(input.into()); diff --git a/sdk/qldb/src/operation/tag_resource/builders.rs b/sdk/qldb/src/operation/tag_resource/builders.rs index 7f7983d6213e..063897b17b03 100644 --- a/sdk/qldb/src/operation/tag_resource/builders.rs +++ b/sdk/qldb/src/operation/tag_resource/builders.rs @@ -20,9 +20,9 @@ impl TagResourceFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -78,6 +78,20 @@ impl TagResourceFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::tag_resource::TagResource, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                        The Amazon Resource Name (ARN) to which you want to add the tags. For example:

                                                                                                                                                                                                                                                        ///

                                                                                                                                                                                                                                                        arn:aws:qldb:us-east-1:123456789012:ledger/exampleLedger

                                                                                                                                                                                                                                                        pub fn resource_arn(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { diff --git a/sdk/qldb/src/operation/untag_resource/builders.rs b/sdk/qldb/src/operation/untag_resource/builders.rs index 810178f1ec67..9a03b38191a7 100644 --- a/sdk/qldb/src/operation/untag_resource/builders.rs +++ b/sdk/qldb/src/operation/untag_resource/builders.rs @@ -19,9 +19,9 @@ impl UntagResourceFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl UntagResourceFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::untag_resource::UntagResource, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                        The Amazon Resource Name (ARN) from which to remove the tags. For example:

                                                                                                                                                                                                                                                        ///

                                                                                                                                                                                                                                                        arn:aws:qldb:us-east-1:123456789012:ledger/exampleLedger

                                                                                                                                                                                                                                                        pub fn resource_arn(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { diff --git a/sdk/qldb/src/operation/update_ledger/builders.rs b/sdk/qldb/src/operation/update_ledger/builders.rs index 0fdff040bab5..82ba586eb6c5 100644 --- a/sdk/qldb/src/operation/update_ledger/builders.rs +++ b/sdk/qldb/src/operation/update_ledger/builders.rs @@ -19,9 +19,9 @@ impl UpdateLedgerFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl UpdateLedgerFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::update_ledger::UpdateLedger, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                        The name of the ledger.

                                                                                                                                                                                                                                                        pub fn name(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.name(input.into()); diff --git a/sdk/qldb/src/operation/update_ledger_permissions_mode/builders.rs b/sdk/qldb/src/operation/update_ledger_permissions_mode/builders.rs index f78b7650ccf9..18b8f0130d2c 100644 --- a/sdk/qldb/src/operation/update_ledger_permissions_mode/builders.rs +++ b/sdk/qldb/src/operation/update_ledger_permissions_mode/builders.rs @@ -21,9 +21,9 @@ impl UpdateLedgerPermissionsModeFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -85,6 +85,22 @@ impl UpdateLedgerPermissionsModeFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::update_ledger_permissions_mode::UpdateLedgerPermissionsMode, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::update_ledger_permissions_mode::UpdateLedgerPermissionsModeError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                        The name of the ledger.

                                                                                                                                                                                                                                                        pub fn name(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.name(input.into()); diff --git a/sdk/qldbsession/src/operation/send_command/builders.rs b/sdk/qldbsession/src/operation/send_command/builders.rs index cba72b21dac2..d0b8bf4c7f00 100644 --- a/sdk/qldbsession/src/operation/send_command/builders.rs +++ b/sdk/qldbsession/src/operation/send_command/builders.rs @@ -25,9 +25,9 @@ impl SendCommandFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,20 @@ impl SendCommandFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::send_command::SendCommand, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                        Specifies the session token for the current command. A session token is constant throughout the life of the session.

                                                                                                                                                                                                                                                        ///

                                                                                                                                                                                                                                                        To obtain a session token, run the StartSession command. This SessionToken is required for every subsequent command that is issued during the current session.

                                                                                                                                                                                                                                                        pub fn session_token( diff --git a/sdk/quicksight/src/operation/cancel_ingestion/builders.rs b/sdk/quicksight/src/operation/cancel_ingestion/builders.rs index 74bdf3ca520c..94ec04809884 100644 --- a/sdk/quicksight/src/operation/cancel_ingestion/builders.rs +++ b/sdk/quicksight/src/operation/cancel_ingestion/builders.rs @@ -19,9 +19,9 @@ impl CancelIngestionFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl CancelIngestionFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::cancel_ingestion::CancelIngestion, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::cancel_ingestion::CancelIngestionError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                        The Amazon Web Services account ID.

                                                                                                                                                                                                                                                        pub fn aws_account_id( mut self, diff --git a/sdk/quicksight/src/operation/create_account_customization/builders.rs b/sdk/quicksight/src/operation/create_account_customization/builders.rs index cfca988197c2..4affa66bf556 100644 --- a/sdk/quicksight/src/operation/create_account_customization/builders.rs +++ b/sdk/quicksight/src/operation/create_account_customization/builders.rs @@ -21,9 +21,9 @@ impl CreateAccountCustomizationFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -85,6 +85,22 @@ impl CreateAccountCustomizationFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::create_account_customization::CreateAccountCustomization, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::create_account_customization::CreateAccountCustomizationError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                        The ID for the Amazon Web Services account that you want to customize Amazon QuickSight for.

                                                                                                                                                                                                                                                        pub fn aws_account_id( mut self, diff --git a/sdk/quicksight/src/operation/create_account_subscription/builders.rs b/sdk/quicksight/src/operation/create_account_subscription/builders.rs index bcdd67d163c1..8de22d562c7e 100644 --- a/sdk/quicksight/src/operation/create_account_subscription/builders.rs +++ b/sdk/quicksight/src/operation/create_account_subscription/builders.rs @@ -24,9 +24,9 @@ impl CreateAccountSubscriptionFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -88,6 +88,22 @@ impl CreateAccountSubscriptionFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::create_account_subscription::CreateAccountSubscription, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::create_account_subscription::CreateAccountSubscriptionError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                        The edition of Amazon QuickSight that you want your account to have. Currently, you can choose from ENTERPRISE or ENTERPRISE_AND_Q.

                                                                                                                                                                                                                                                        ///

                                                                                                                                                                                                                                                        If you choose ENTERPRISE_AND_Q, the following parameters are required:

                                                                                                                                                                                                                                                        ///
                                                                                                                                                                                                                                                          diff --git a/sdk/quicksight/src/operation/create_analysis/builders.rs b/sdk/quicksight/src/operation/create_analysis/builders.rs index 8d1fc4a87d92..bc9283310b61 100644 --- a/sdk/quicksight/src/operation/create_analysis/builders.rs +++ b/sdk/quicksight/src/operation/create_analysis/builders.rs @@ -19,9 +19,9 @@ impl CreateAnalysisFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl CreateAnalysisFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::create_analysis::CreateAnalysis, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                          The ID of the Amazon Web Services account where you are creating an analysis.

                                                                                                                                                                                                                                                          pub fn aws_account_id( mut self, diff --git a/sdk/quicksight/src/operation/create_dashboard/builders.rs b/sdk/quicksight/src/operation/create_dashboard/builders.rs index 01aa4ef9d86a..984a4d15a27f 100644 --- a/sdk/quicksight/src/operation/create_dashboard/builders.rs +++ b/sdk/quicksight/src/operation/create_dashboard/builders.rs @@ -20,9 +20,9 @@ impl CreateDashboardFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -84,6 +84,22 @@ impl CreateDashboardFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::create_dashboard::CreateDashboard, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::create_dashboard::CreateDashboardError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                          The ID of the Amazon Web Services account where you want to create the dashboard.

                                                                                                                                                                                                                                                          pub fn aws_account_id( mut self, diff --git a/sdk/quicksight/src/operation/create_data_set/builders.rs b/sdk/quicksight/src/operation/create_data_set/builders.rs index 09575a38e0c2..ce5cf3abeb86 100644 --- a/sdk/quicksight/src/operation/create_data_set/builders.rs +++ b/sdk/quicksight/src/operation/create_data_set/builders.rs @@ -19,9 +19,9 @@ impl CreateDataSetFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl CreateDataSetFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::create_data_set::CreateDataSet, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                          The Amazon Web Services account ID.

                                                                                                                                                                                                                                                          pub fn aws_account_id( mut self, diff --git a/sdk/quicksight/src/operation/create_data_source/builders.rs b/sdk/quicksight/src/operation/create_data_source/builders.rs index f9a1c45bc917..b706300e1fa2 100644 --- a/sdk/quicksight/src/operation/create_data_source/builders.rs +++ b/sdk/quicksight/src/operation/create_data_source/builders.rs @@ -19,9 +19,9 @@ impl CreateDataSourceFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl CreateDataSourceFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::create_data_source::CreateDataSource, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::create_data_source::CreateDataSourceError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                          The Amazon Web Services account ID.

                                                                                                                                                                                                                                                          pub fn aws_account_id( mut self, diff --git a/sdk/quicksight/src/operation/create_folder/builders.rs b/sdk/quicksight/src/operation/create_folder/builders.rs index 571096a83faa..e0bbefdf34a1 100644 --- a/sdk/quicksight/src/operation/create_folder/builders.rs +++ b/sdk/quicksight/src/operation/create_folder/builders.rs @@ -19,9 +19,9 @@ impl CreateFolderFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl CreateFolderFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::create_folder::CreateFolder, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                          The ID for the Amazon Web Services account where you want to create the folder.

                                                                                                                                                                                                                                                          pub fn aws_account_id( mut self, diff --git a/sdk/quicksight/src/operation/create_folder_membership/builders.rs b/sdk/quicksight/src/operation/create_folder_membership/builders.rs index 2a39da5bd56d..9679de6e1199 100644 --- a/sdk/quicksight/src/operation/create_folder_membership/builders.rs +++ b/sdk/quicksight/src/operation/create_folder_membership/builders.rs @@ -19,9 +19,9 @@ impl CreateFolderMembershipFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl CreateFolderMembershipFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::create_folder_membership::CreateFolderMembership, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::create_folder_membership::CreateFolderMembershipError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                          The ID for the Amazon Web Services account that contains the folder.

                                                                                                                                                                                                                                                          pub fn aws_account_id( mut self, diff --git a/sdk/quicksight/src/operation/create_group/builders.rs b/sdk/quicksight/src/operation/create_group/builders.rs index 1ee389fdbb11..13681e75a8af 100644 --- a/sdk/quicksight/src/operation/create_group/builders.rs +++ b/sdk/quicksight/src/operation/create_group/builders.rs @@ -28,9 +28,9 @@ impl CreateGroupFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -86,6 +86,20 @@ impl CreateGroupFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::create_group::CreateGroup, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                          A name for the group that you want to create.

                                                                                                                                                                                                                                                          pub fn group_name(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.group_name(input.into()); diff --git a/sdk/quicksight/src/operation/create_group_membership/builders.rs b/sdk/quicksight/src/operation/create_group_membership/builders.rs index 326109ed6636..b99a4515e7d3 100644 --- a/sdk/quicksight/src/operation/create_group_membership/builders.rs +++ b/sdk/quicksight/src/operation/create_group_membership/builders.rs @@ -19,9 +19,9 @@ impl CreateGroupMembershipFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl CreateGroupMembershipFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::create_group_membership::CreateGroupMembership, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::create_group_membership::CreateGroupMembershipError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                          The name of the user that you want to add to the group membership.

                                                                                                                                                                                                                                                          pub fn member_name(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.member_name(input.into()); diff --git a/sdk/quicksight/src/operation/create_iam_policy_assignment/builders.rs b/sdk/quicksight/src/operation/create_iam_policy_assignment/builders.rs index fd07809a9365..26802941e3b2 100644 --- a/sdk/quicksight/src/operation/create_iam_policy_assignment/builders.rs +++ b/sdk/quicksight/src/operation/create_iam_policy_assignment/builders.rs @@ -19,9 +19,9 @@ impl CreateIAMPolicyAssignmentFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl CreateIAMPolicyAssignmentFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::create_iam_policy_assignment::CreateIAMPolicyAssignment, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::create_iam_policy_assignment::CreateIAMPolicyAssignmentError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                          The ID of the Amazon Web Services account where you want to assign an IAM policy to Amazon QuickSight users or groups.

                                                                                                                                                                                                                                                          pub fn aws_account_id( mut self, diff --git a/sdk/quicksight/src/operation/create_ingestion/builders.rs b/sdk/quicksight/src/operation/create_ingestion/builders.rs index 0978e63e18bf..e59a4461128b 100644 --- a/sdk/quicksight/src/operation/create_ingestion/builders.rs +++ b/sdk/quicksight/src/operation/create_ingestion/builders.rs @@ -20,9 +20,9 @@ impl CreateIngestionFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -84,6 +84,22 @@ impl CreateIngestionFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::create_ingestion::CreateIngestion, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::create_ingestion::CreateIngestionError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                          The ID of the dataset used in the ingestion.

                                                                                                                                                                                                                                                          pub fn data_set_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.data_set_id(input.into()); diff --git a/sdk/quicksight/src/operation/create_namespace/builders.rs b/sdk/quicksight/src/operation/create_namespace/builders.rs index 89d9e5923143..192920127c3a 100644 --- a/sdk/quicksight/src/operation/create_namespace/builders.rs +++ b/sdk/quicksight/src/operation/create_namespace/builders.rs @@ -20,9 +20,9 @@ impl CreateNamespaceFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -84,6 +84,22 @@ impl CreateNamespaceFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::create_namespace::CreateNamespace, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::create_namespace::CreateNamespaceError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                          The ID for the Amazon Web Services account that you want to create the Amazon QuickSight namespace in.

                                                                                                                                                                                                                                                          pub fn aws_account_id( mut self, diff --git a/sdk/quicksight/src/operation/create_refresh_schedule/builders.rs b/sdk/quicksight/src/operation/create_refresh_schedule/builders.rs index afc052ddc919..342ca0b13e42 100644 --- a/sdk/quicksight/src/operation/create_refresh_schedule/builders.rs +++ b/sdk/quicksight/src/operation/create_refresh_schedule/builders.rs @@ -19,9 +19,9 @@ impl CreateRefreshScheduleFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl CreateRefreshScheduleFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::create_refresh_schedule::CreateRefreshSchedule, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::create_refresh_schedule::CreateRefreshScheduleError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                          The ID of the dataset.

                                                                                                                                                                                                                                                          pub fn data_set_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.data_set_id(input.into()); diff --git a/sdk/quicksight/src/operation/create_template/builders.rs b/sdk/quicksight/src/operation/create_template/builders.rs index 2f442cdf4579..d8c4732b13e9 100644 --- a/sdk/quicksight/src/operation/create_template/builders.rs +++ b/sdk/quicksight/src/operation/create_template/builders.rs @@ -20,9 +20,9 @@ impl CreateTemplateFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -78,6 +78,20 @@ impl CreateTemplateFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::create_template::CreateTemplate, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                          The ID for the Amazon Web Services account that the group is in. You use the ID for the Amazon Web Services account that contains your Amazon QuickSight account.

                                                                                                                                                                                                                                                          pub fn aws_account_id( mut self, diff --git a/sdk/quicksight/src/operation/create_template_alias/builders.rs b/sdk/quicksight/src/operation/create_template_alias/builders.rs index 7daae030bba8..b8f32a59c0b3 100644 --- a/sdk/quicksight/src/operation/create_template_alias/builders.rs +++ b/sdk/quicksight/src/operation/create_template_alias/builders.rs @@ -19,9 +19,9 @@ impl CreateTemplateAliasFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl CreateTemplateAliasFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::create_template_alias::CreateTemplateAlias, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::create_template_alias::CreateTemplateAliasError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                          The ID of the Amazon Web Services account that contains the template that you creating an alias for.

                                                                                                                                                                                                                                                          pub fn aws_account_id( mut self, diff --git a/sdk/quicksight/src/operation/create_theme/builders.rs b/sdk/quicksight/src/operation/create_theme/builders.rs index dcbd3bc78ec0..45d718817153 100644 --- a/sdk/quicksight/src/operation/create_theme/builders.rs +++ b/sdk/quicksight/src/operation/create_theme/builders.rs @@ -20,9 +20,9 @@ impl CreateThemeFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -78,6 +78,20 @@ impl CreateThemeFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::create_theme::CreateTheme, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                          The ID of the Amazon Web Services account where you want to store the new theme.

                                                                                                                                                                                                                                                          pub fn aws_account_id( mut self, diff --git a/sdk/quicksight/src/operation/create_theme_alias/builders.rs b/sdk/quicksight/src/operation/create_theme_alias/builders.rs index f742c8f1167a..b1afbe014ca3 100644 --- a/sdk/quicksight/src/operation/create_theme_alias/builders.rs +++ b/sdk/quicksight/src/operation/create_theme_alias/builders.rs @@ -19,9 +19,9 @@ impl CreateThemeAliasFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl CreateThemeAliasFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::create_theme_alias::CreateThemeAlias, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::create_theme_alias::CreateThemeAliasError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                          The ID of the Amazon Web Services account that contains the theme for the new theme alias.

                                                                                                                                                                                                                                                          pub fn aws_account_id( mut self, diff --git a/sdk/quicksight/src/operation/create_topic/builders.rs b/sdk/quicksight/src/operation/create_topic/builders.rs index 8b871dc8c526..6c65ad5a8179 100644 --- a/sdk/quicksight/src/operation/create_topic/builders.rs +++ b/sdk/quicksight/src/operation/create_topic/builders.rs @@ -19,9 +19,9 @@ impl CreateTopicFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl CreateTopicFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::create_topic::CreateTopic, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                          The ID of the Amazon Web Services account that you want to create a topic in.

                                                                                                                                                                                                                                                          pub fn aws_account_id( mut self, diff --git a/sdk/quicksight/src/operation/create_topic_refresh_schedule/builders.rs b/sdk/quicksight/src/operation/create_topic_refresh_schedule/builders.rs index f087d493acca..cb552ae6ceb1 100644 --- a/sdk/quicksight/src/operation/create_topic_refresh_schedule/builders.rs +++ b/sdk/quicksight/src/operation/create_topic_refresh_schedule/builders.rs @@ -19,9 +19,9 @@ impl CreateTopicRefreshScheduleFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl CreateTopicRefreshScheduleFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::create_topic_refresh_schedule::CreateTopicRefreshSchedule, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::create_topic_refresh_schedule::CreateTopicRefreshScheduleError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                          The ID of the Amazon Web Services account that contains the topic you're creating a refresh schedule for.

                                                                                                                                                                                                                                                          pub fn aws_account_id( mut self, diff --git a/sdk/quicksight/src/operation/create_vpc_connection/builders.rs b/sdk/quicksight/src/operation/create_vpc_connection/builders.rs index 49588ef9c2cd..7148f17140b1 100644 --- a/sdk/quicksight/src/operation/create_vpc_connection/builders.rs +++ b/sdk/quicksight/src/operation/create_vpc_connection/builders.rs @@ -19,9 +19,9 @@ impl CreateVPCConnectionFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl CreateVPCConnectionFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::create_vpc_connection::CreateVPCConnection, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::create_vpc_connection::CreateVPCConnectionError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                          The Amazon Web Services account ID of the account where you want to create a new VPC connection.

                                                                                                                                                                                                                                                          pub fn aws_account_id( mut self, diff --git a/sdk/quicksight/src/operation/delete_account_customization/builders.rs b/sdk/quicksight/src/operation/delete_account_customization/builders.rs index a40d1d4b70ee..3335e9abeff1 100644 --- a/sdk/quicksight/src/operation/delete_account_customization/builders.rs +++ b/sdk/quicksight/src/operation/delete_account_customization/builders.rs @@ -19,9 +19,9 @@ impl DeleteAccountCustomizationFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl DeleteAccountCustomizationFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::delete_account_customization::DeleteAccountCustomization, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::delete_account_customization::DeleteAccountCustomizationError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                          The ID for the Amazon Web Services account that you want to delete Amazon QuickSight customizations from in this Amazon Web Services Region.

                                                                                                                                                                                                                                                          pub fn aws_account_id( mut self, diff --git a/sdk/quicksight/src/operation/delete_account_subscription/builders.rs b/sdk/quicksight/src/operation/delete_account_subscription/builders.rs index 60df2826d2b0..f5032b3966ee 100644 --- a/sdk/quicksight/src/operation/delete_account_subscription/builders.rs +++ b/sdk/quicksight/src/operation/delete_account_subscription/builders.rs @@ -19,9 +19,9 @@ impl DeleteAccountSubscriptionFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl DeleteAccountSubscriptionFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::delete_account_subscription::DeleteAccountSubscription, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::delete_account_subscription::DeleteAccountSubscriptionError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                          The Amazon Web Services account ID of the account that you want to delete.

                                                                                                                                                                                                                                                          pub fn aws_account_id( mut self, diff --git a/sdk/quicksight/src/operation/delete_analysis/builders.rs b/sdk/quicksight/src/operation/delete_analysis/builders.rs index bf4645d9cfeb..104307de77a8 100644 --- a/sdk/quicksight/src/operation/delete_analysis/builders.rs +++ b/sdk/quicksight/src/operation/delete_analysis/builders.rs @@ -21,9 +21,9 @@ impl DeleteAnalysisFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -79,6 +79,20 @@ impl DeleteAnalysisFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::delete_analysis::DeleteAnalysis, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                          The ID of the Amazon Web Services account where you want to delete an analysis.

                                                                                                                                                                                                                                                          pub fn aws_account_id( mut self, diff --git a/sdk/quicksight/src/operation/delete_dashboard/builders.rs b/sdk/quicksight/src/operation/delete_dashboard/builders.rs index d87e7fea43f7..f84cde16c138 100644 --- a/sdk/quicksight/src/operation/delete_dashboard/builders.rs +++ b/sdk/quicksight/src/operation/delete_dashboard/builders.rs @@ -19,9 +19,9 @@ impl DeleteDashboardFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl DeleteDashboardFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::delete_dashboard::DeleteDashboard, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::delete_dashboard::DeleteDashboardError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                          The ID of the Amazon Web Services account that contains the dashboard that you're deleting.

                                                                                                                                                                                                                                                          pub fn aws_account_id( mut self, diff --git a/sdk/quicksight/src/operation/delete_data_set/builders.rs b/sdk/quicksight/src/operation/delete_data_set/builders.rs index f079e53f094a..809edbb43226 100644 --- a/sdk/quicksight/src/operation/delete_data_set/builders.rs +++ b/sdk/quicksight/src/operation/delete_data_set/builders.rs @@ -19,9 +19,9 @@ impl DeleteDataSetFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl DeleteDataSetFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::delete_data_set::DeleteDataSet, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                          The Amazon Web Services account ID.

                                                                                                                                                                                                                                                          pub fn aws_account_id( mut self, diff --git a/sdk/quicksight/src/operation/delete_data_set_refresh_properties/builders.rs b/sdk/quicksight/src/operation/delete_data_set_refresh_properties/builders.rs index d0176a8f0860..57122f7e19ce 100644 --- a/sdk/quicksight/src/operation/delete_data_set_refresh_properties/builders.rs +++ b/sdk/quicksight/src/operation/delete_data_set_refresh_properties/builders.rs @@ -19,9 +19,9 @@ impl DeleteDataSetRefreshPropertiesFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize(self) -> ::std::result::Result< + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware(self) -> ::std::result::Result< crate::client::customize::CustomizableOperation, ::aws_smithy_http::result::SdkError >{ @@ -64,6 +64,15 @@ impl DeleteDataSetRefreshPropertiesFluentBuilder { { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize(self) -> ::std::result::Result< + crate::client::customize::CustomizableOperation, + ::aws_smithy_http::result::SdkError + >{ + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                          The Amazon Web Services account ID.

                                                                                                                                                                                                                                                          pub fn aws_account_id( mut self, diff --git a/sdk/quicksight/src/operation/delete_data_source/builders.rs b/sdk/quicksight/src/operation/delete_data_source/builders.rs index 4af1b392cf0e..6bdaec4f3afa 100644 --- a/sdk/quicksight/src/operation/delete_data_source/builders.rs +++ b/sdk/quicksight/src/operation/delete_data_source/builders.rs @@ -19,9 +19,9 @@ impl DeleteDataSourceFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl DeleteDataSourceFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::delete_data_source::DeleteDataSource, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::delete_data_source::DeleteDataSourceError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                          The Amazon Web Services account ID.

                                                                                                                                                                                                                                                          pub fn aws_account_id( mut self, diff --git a/sdk/quicksight/src/operation/delete_folder/builders.rs b/sdk/quicksight/src/operation/delete_folder/builders.rs index 028771bc3b9d..3617024806dc 100644 --- a/sdk/quicksight/src/operation/delete_folder/builders.rs +++ b/sdk/quicksight/src/operation/delete_folder/builders.rs @@ -19,9 +19,9 @@ impl DeleteFolderFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl DeleteFolderFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::delete_folder::DeleteFolder, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                          The ID for the Amazon Web Services account that contains the folder.

                                                                                                                                                                                                                                                          pub fn aws_account_id( mut self, diff --git a/sdk/quicksight/src/operation/delete_folder_membership/builders.rs b/sdk/quicksight/src/operation/delete_folder_membership/builders.rs index 8e466db65383..01ac7db6746f 100644 --- a/sdk/quicksight/src/operation/delete_folder_membership/builders.rs +++ b/sdk/quicksight/src/operation/delete_folder_membership/builders.rs @@ -19,9 +19,9 @@ impl DeleteFolderMembershipFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl DeleteFolderMembershipFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::delete_folder_membership::DeleteFolderMembership, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::delete_folder_membership::DeleteFolderMembershipError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                          The ID for the Amazon Web Services account that contains the folder.

                                                                                                                                                                                                                                                          pub fn aws_account_id( mut self, diff --git a/sdk/quicksight/src/operation/delete_group/builders.rs b/sdk/quicksight/src/operation/delete_group/builders.rs index 054b2cba3d69..0d00186b0854 100644 --- a/sdk/quicksight/src/operation/delete_group/builders.rs +++ b/sdk/quicksight/src/operation/delete_group/builders.rs @@ -19,9 +19,9 @@ impl DeleteGroupFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl DeleteGroupFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::delete_group::DeleteGroup, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                          The name of the group that you want to delete.

                                                                                                                                                                                                                                                          pub fn group_name(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.group_name(input.into()); diff --git a/sdk/quicksight/src/operation/delete_group_membership/builders.rs b/sdk/quicksight/src/operation/delete_group_membership/builders.rs index 7833961a258d..7cd0c452003b 100644 --- a/sdk/quicksight/src/operation/delete_group_membership/builders.rs +++ b/sdk/quicksight/src/operation/delete_group_membership/builders.rs @@ -19,9 +19,9 @@ impl DeleteGroupMembershipFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl DeleteGroupMembershipFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::delete_group_membership::DeleteGroupMembership, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::delete_group_membership::DeleteGroupMembershipError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                          The name of the user that you want to delete from the group membership.

                                                                                                                                                                                                                                                          pub fn member_name(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.member_name(input.into()); diff --git a/sdk/quicksight/src/operation/delete_iam_policy_assignment/builders.rs b/sdk/quicksight/src/operation/delete_iam_policy_assignment/builders.rs index 1d151a8cf1fc..f8518b8e8c05 100644 --- a/sdk/quicksight/src/operation/delete_iam_policy_assignment/builders.rs +++ b/sdk/quicksight/src/operation/delete_iam_policy_assignment/builders.rs @@ -19,9 +19,9 @@ impl DeleteIAMPolicyAssignmentFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl DeleteIAMPolicyAssignmentFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::delete_iam_policy_assignment::DeleteIAMPolicyAssignment, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::delete_iam_policy_assignment::DeleteIAMPolicyAssignmentError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                          The Amazon Web Services account ID where you want to delete the IAM policy assignment.

                                                                                                                                                                                                                                                          pub fn aws_account_id( mut self, diff --git a/sdk/quicksight/src/operation/delete_namespace/builders.rs b/sdk/quicksight/src/operation/delete_namespace/builders.rs index 72f6b717448d..5ba5eff6a6a3 100644 --- a/sdk/quicksight/src/operation/delete_namespace/builders.rs +++ b/sdk/quicksight/src/operation/delete_namespace/builders.rs @@ -19,9 +19,9 @@ impl DeleteNamespaceFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl DeleteNamespaceFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::delete_namespace::DeleteNamespace, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::delete_namespace::DeleteNamespaceError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                          The ID for the Amazon Web Services account that you want to delete the Amazon QuickSight namespace from.

                                                                                                                                                                                                                                                          pub fn aws_account_id( mut self, diff --git a/sdk/quicksight/src/operation/delete_refresh_schedule/builders.rs b/sdk/quicksight/src/operation/delete_refresh_schedule/builders.rs index 56792cb6c207..ef9f104a7267 100644 --- a/sdk/quicksight/src/operation/delete_refresh_schedule/builders.rs +++ b/sdk/quicksight/src/operation/delete_refresh_schedule/builders.rs @@ -19,9 +19,9 @@ impl DeleteRefreshScheduleFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl DeleteRefreshScheduleFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::delete_refresh_schedule::DeleteRefreshSchedule, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::delete_refresh_schedule::DeleteRefreshScheduleError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                          The ID of the dataset.

                                                                                                                                                                                                                                                          pub fn data_set_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.data_set_id(input.into()); diff --git a/sdk/quicksight/src/operation/delete_template/builders.rs b/sdk/quicksight/src/operation/delete_template/builders.rs index 3049ce723468..d571ac4edcd6 100644 --- a/sdk/quicksight/src/operation/delete_template/builders.rs +++ b/sdk/quicksight/src/operation/delete_template/builders.rs @@ -19,9 +19,9 @@ impl DeleteTemplateFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl DeleteTemplateFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::delete_template::DeleteTemplate, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                          The ID of the Amazon Web Services account that contains the template that you're deleting.

                                                                                                                                                                                                                                                          pub fn aws_account_id( mut self, diff --git a/sdk/quicksight/src/operation/delete_template_alias/builders.rs b/sdk/quicksight/src/operation/delete_template_alias/builders.rs index 72920552444a..09b8b6a02925 100644 --- a/sdk/quicksight/src/operation/delete_template_alias/builders.rs +++ b/sdk/quicksight/src/operation/delete_template_alias/builders.rs @@ -19,9 +19,9 @@ impl DeleteTemplateAliasFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl DeleteTemplateAliasFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::delete_template_alias::DeleteTemplateAlias, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::delete_template_alias::DeleteTemplateAliasError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                          The ID of the Amazon Web Services account that contains the item to delete.

                                                                                                                                                                                                                                                          pub fn aws_account_id( mut self, diff --git a/sdk/quicksight/src/operation/delete_theme/builders.rs b/sdk/quicksight/src/operation/delete_theme/builders.rs index d53955ed418f..d990dca2e06d 100644 --- a/sdk/quicksight/src/operation/delete_theme/builders.rs +++ b/sdk/quicksight/src/operation/delete_theme/builders.rs @@ -19,9 +19,9 @@ impl DeleteThemeFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl DeleteThemeFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::delete_theme::DeleteTheme, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                          The ID of the Amazon Web Services account that contains the theme that you're deleting.

                                                                                                                                                                                                                                                          pub fn aws_account_id( mut self, diff --git a/sdk/quicksight/src/operation/delete_theme_alias/builders.rs b/sdk/quicksight/src/operation/delete_theme_alias/builders.rs index 4dea093b9014..6a9d90f04b27 100644 --- a/sdk/quicksight/src/operation/delete_theme_alias/builders.rs +++ b/sdk/quicksight/src/operation/delete_theme_alias/builders.rs @@ -19,9 +19,9 @@ impl DeleteThemeAliasFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl DeleteThemeAliasFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::delete_theme_alias::DeleteThemeAlias, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::delete_theme_alias::DeleteThemeAliasError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                          The ID of the Amazon Web Services account that contains the theme alias to delete.

                                                                                                                                                                                                                                                          pub fn aws_account_id( mut self, diff --git a/sdk/quicksight/src/operation/delete_topic/builders.rs b/sdk/quicksight/src/operation/delete_topic/builders.rs index c7a6b4d7034c..6ec26d72b5fa 100644 --- a/sdk/quicksight/src/operation/delete_topic/builders.rs +++ b/sdk/quicksight/src/operation/delete_topic/builders.rs @@ -19,9 +19,9 @@ impl DeleteTopicFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl DeleteTopicFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::delete_topic::DeleteTopic, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                          The ID of the Amazon Web Services account that contains the topic that you want to delete.

                                                                                                                                                                                                                                                          pub fn aws_account_id( mut self, diff --git a/sdk/quicksight/src/operation/delete_topic_refresh_schedule/builders.rs b/sdk/quicksight/src/operation/delete_topic_refresh_schedule/builders.rs index e425b57b2019..416118f2a004 100644 --- a/sdk/quicksight/src/operation/delete_topic_refresh_schedule/builders.rs +++ b/sdk/quicksight/src/operation/delete_topic_refresh_schedule/builders.rs @@ -19,9 +19,9 @@ impl DeleteTopicRefreshScheduleFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl DeleteTopicRefreshScheduleFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::delete_topic_refresh_schedule::DeleteTopicRefreshSchedule, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::delete_topic_refresh_schedule::DeleteTopicRefreshScheduleError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                          The Amazon Web Services account ID.

                                                                                                                                                                                                                                                          pub fn aws_account_id( mut self, diff --git a/sdk/quicksight/src/operation/delete_user/builders.rs b/sdk/quicksight/src/operation/delete_user/builders.rs index c84899b904a0..6cd7fe683ddf 100644 --- a/sdk/quicksight/src/operation/delete_user/builders.rs +++ b/sdk/quicksight/src/operation/delete_user/builders.rs @@ -19,9 +19,9 @@ impl DeleteUserFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl DeleteUserFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::delete_user::DeleteUser, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                          The name of the user that you want to delete.

                                                                                                                                                                                                                                                          pub fn user_name(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.user_name(input.into()); diff --git a/sdk/quicksight/src/operation/delete_user_by_principal_id/builders.rs b/sdk/quicksight/src/operation/delete_user_by_principal_id/builders.rs index 4faa45f24535..3a885fc9c90a 100644 --- a/sdk/quicksight/src/operation/delete_user_by_principal_id/builders.rs +++ b/sdk/quicksight/src/operation/delete_user_by_principal_id/builders.rs @@ -19,9 +19,9 @@ impl DeleteUserByPrincipalIdFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl DeleteUserByPrincipalIdFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::delete_user_by_principal_id::DeleteUserByPrincipalId, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::delete_user_by_principal_id::DeleteUserByPrincipalIdError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                          The principal ID of the user.

                                                                                                                                                                                                                                                          pub fn principal_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.principal_id(input.into()); diff --git a/sdk/quicksight/src/operation/delete_vpc_connection/builders.rs b/sdk/quicksight/src/operation/delete_vpc_connection/builders.rs index 57c3116ed7be..9fbc224deaf8 100644 --- a/sdk/quicksight/src/operation/delete_vpc_connection/builders.rs +++ b/sdk/quicksight/src/operation/delete_vpc_connection/builders.rs @@ -19,9 +19,9 @@ impl DeleteVPCConnectionFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl DeleteVPCConnectionFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::delete_vpc_connection::DeleteVPCConnection, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::delete_vpc_connection::DeleteVPCConnectionError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                          The Amazon Web Services account ID of the account where you want to delete a VPC connection.

                                                                                                                                                                                                                                                          pub fn aws_account_id( mut self, diff --git a/sdk/quicksight/src/operation/describe_account_customization/builders.rs b/sdk/quicksight/src/operation/describe_account_customization/builders.rs index 5a0dc0627ad6..ad7d72545f12 100644 --- a/sdk/quicksight/src/operation/describe_account_customization/builders.rs +++ b/sdk/quicksight/src/operation/describe_account_customization/builders.rs @@ -31,9 +31,9 @@ impl DescribeAccountCustomizationFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -95,6 +95,22 @@ impl DescribeAccountCustomizationFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::describe_account_customization::DescribeAccountCustomization, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::describe_account_customization::DescribeAccountCustomizationError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                          The ID for the Amazon Web Services account that you want to describe Amazon QuickSight customizations for.

                                                                                                                                                                                                                                                          pub fn aws_account_id( mut self, diff --git a/sdk/quicksight/src/operation/describe_account_settings/builders.rs b/sdk/quicksight/src/operation/describe_account_settings/builders.rs index 1abe026b086f..1310eb51852c 100644 --- a/sdk/quicksight/src/operation/describe_account_settings/builders.rs +++ b/sdk/quicksight/src/operation/describe_account_settings/builders.rs @@ -20,9 +20,9 @@ impl DescribeAccountSettingsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -84,6 +84,22 @@ impl DescribeAccountSettingsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::describe_account_settings::DescribeAccountSettings, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::describe_account_settings::DescribeAccountSettingsError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                          The ID for the Amazon Web Services account that contains the settings that you want to list.

                                                                                                                                                                                                                                                          pub fn aws_account_id( mut self, diff --git a/sdk/quicksight/src/operation/describe_account_subscription/builders.rs b/sdk/quicksight/src/operation/describe_account_subscription/builders.rs index 6985837bd992..56a52463d69d 100644 --- a/sdk/quicksight/src/operation/describe_account_subscription/builders.rs +++ b/sdk/quicksight/src/operation/describe_account_subscription/builders.rs @@ -19,9 +19,9 @@ impl DescribeAccountSubscriptionFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl DescribeAccountSubscriptionFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::describe_account_subscription::DescribeAccountSubscription, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::describe_account_subscription::DescribeAccountSubscriptionError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                          The Amazon Web Services account ID associated with your Amazon QuickSight account.

                                                                                                                                                                                                                                                          pub fn aws_account_id( mut self, diff --git a/sdk/quicksight/src/operation/describe_analysis/builders.rs b/sdk/quicksight/src/operation/describe_analysis/builders.rs index 3c27f87ffc66..fa88ea61d2af 100644 --- a/sdk/quicksight/src/operation/describe_analysis/builders.rs +++ b/sdk/quicksight/src/operation/describe_analysis/builders.rs @@ -19,9 +19,9 @@ impl DescribeAnalysisFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl DescribeAnalysisFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::describe_analysis::DescribeAnalysis, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::describe_analysis::DescribeAnalysisError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                          The ID of the Amazon Web Services account that contains the analysis. You must be using the Amazon Web Services account that the analysis is in.

                                                                                                                                                                                                                                                          pub fn aws_account_id( mut self, diff --git a/sdk/quicksight/src/operation/describe_analysis_definition/builders.rs b/sdk/quicksight/src/operation/describe_analysis_definition/builders.rs index e5241a972bc9..1e45f41df2f2 100644 --- a/sdk/quicksight/src/operation/describe_analysis_definition/builders.rs +++ b/sdk/quicksight/src/operation/describe_analysis_definition/builders.rs @@ -21,9 +21,9 @@ impl DescribeAnalysisDefinitionFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -85,6 +85,22 @@ impl DescribeAnalysisDefinitionFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::describe_analysis_definition::DescribeAnalysisDefinition, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::describe_analysis_definition::DescribeAnalysisDefinitionError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                          The ID of the Amazon Web Services account that contains the analysis. You must be using the Amazon Web Services account that the analysis is in.

                                                                                                                                                                                                                                                          pub fn aws_account_id( mut self, diff --git a/sdk/quicksight/src/operation/describe_analysis_permissions/builders.rs b/sdk/quicksight/src/operation/describe_analysis_permissions/builders.rs index 15db52692650..4f7c2c5a5176 100644 --- a/sdk/quicksight/src/operation/describe_analysis_permissions/builders.rs +++ b/sdk/quicksight/src/operation/describe_analysis_permissions/builders.rs @@ -19,9 +19,9 @@ impl DescribeAnalysisPermissionsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl DescribeAnalysisPermissionsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::describe_analysis_permissions::DescribeAnalysisPermissions, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::describe_analysis_permissions::DescribeAnalysisPermissionsError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                          The ID of the Amazon Web Services account that contains the analysis whose permissions you're describing. You must be using the Amazon Web Services account that the analysis is in.

                                                                                                                                                                                                                                                          pub fn aws_account_id( mut self, diff --git a/sdk/quicksight/src/operation/describe_dashboard/builders.rs b/sdk/quicksight/src/operation/describe_dashboard/builders.rs index 2c18be573512..c899ac219f9c 100644 --- a/sdk/quicksight/src/operation/describe_dashboard/builders.rs +++ b/sdk/quicksight/src/operation/describe_dashboard/builders.rs @@ -19,9 +19,9 @@ impl DescribeDashboardFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl DescribeDashboardFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::describe_dashboard::DescribeDashboard, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::describe_dashboard::DescribeDashboardError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                          The ID of the Amazon Web Services account that contains the dashboard that you're describing.

                                                                                                                                                                                                                                                          pub fn aws_account_id( mut self, diff --git a/sdk/quicksight/src/operation/describe_dashboard_definition/builders.rs b/sdk/quicksight/src/operation/describe_dashboard_definition/builders.rs index b5dc4114218c..d3bcfefac977 100644 --- a/sdk/quicksight/src/operation/describe_dashboard_definition/builders.rs +++ b/sdk/quicksight/src/operation/describe_dashboard_definition/builders.rs @@ -21,9 +21,9 @@ impl DescribeDashboardDefinitionFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -85,6 +85,22 @@ impl DescribeDashboardDefinitionFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::describe_dashboard_definition::DescribeDashboardDefinition, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::describe_dashboard_definition::DescribeDashboardDefinitionError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                          The ID of the Amazon Web Services account that contains the dashboard that you're describing.

                                                                                                                                                                                                                                                          pub fn aws_account_id( mut self, diff --git a/sdk/quicksight/src/operation/describe_dashboard_permissions/builders.rs b/sdk/quicksight/src/operation/describe_dashboard_permissions/builders.rs index 91cf84866185..9c8aa63f8d73 100644 --- a/sdk/quicksight/src/operation/describe_dashboard_permissions/builders.rs +++ b/sdk/quicksight/src/operation/describe_dashboard_permissions/builders.rs @@ -19,9 +19,9 @@ impl DescribeDashboardPermissionsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl DescribeDashboardPermissionsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::describe_dashboard_permissions::DescribeDashboardPermissions, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::describe_dashboard_permissions::DescribeDashboardPermissionsError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                          The ID of the Amazon Web Services account that contains the dashboard that you're describing permissions for.

                                                                                                                                                                                                                                                          pub fn aws_account_id( mut self, diff --git a/sdk/quicksight/src/operation/describe_data_set/builders.rs b/sdk/quicksight/src/operation/describe_data_set/builders.rs index 62262a071323..a8b1cf2a16bc 100644 --- a/sdk/quicksight/src/operation/describe_data_set/builders.rs +++ b/sdk/quicksight/src/operation/describe_data_set/builders.rs @@ -19,9 +19,9 @@ impl DescribeDataSetFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl DescribeDataSetFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::describe_data_set::DescribeDataSet, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::describe_data_set::DescribeDataSetError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                          The Amazon Web Services account ID.

                                                                                                                                                                                                                                                          pub fn aws_account_id( mut self, diff --git a/sdk/quicksight/src/operation/describe_data_set_permissions/builders.rs b/sdk/quicksight/src/operation/describe_data_set_permissions/builders.rs index 1e555a2c9cf9..c83825100757 100644 --- a/sdk/quicksight/src/operation/describe_data_set_permissions/builders.rs +++ b/sdk/quicksight/src/operation/describe_data_set_permissions/builders.rs @@ -20,9 +20,9 @@ impl DescribeDataSetPermissionsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -84,6 +84,22 @@ impl DescribeDataSetPermissionsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::describe_data_set_permissions::DescribeDataSetPermissions, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::describe_data_set_permissions::DescribeDataSetPermissionsError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                          The Amazon Web Services account ID.

                                                                                                                                                                                                                                                          pub fn aws_account_id( mut self, diff --git a/sdk/quicksight/src/operation/describe_data_set_refresh_properties/builders.rs b/sdk/quicksight/src/operation/describe_data_set_refresh_properties/builders.rs index 6afad79b76c0..47780e510a41 100644 --- a/sdk/quicksight/src/operation/describe_data_set_refresh_properties/builders.rs +++ b/sdk/quicksight/src/operation/describe_data_set_refresh_properties/builders.rs @@ -19,9 +19,9 @@ impl DescribeDataSetRefreshPropertiesFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize(self) -> ::std::result::Result< + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware(self) -> ::std::result::Result< crate::client::customize::CustomizableOperation, ::aws_smithy_http::result::SdkError >{ @@ -64,6 +64,15 @@ impl DescribeDataSetRefreshPropertiesFluentBuilder { { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize(self) -> ::std::result::Result< + crate::client::customize::CustomizableOperation, + ::aws_smithy_http::result::SdkError + >{ + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                          The Amazon Web Services account ID.

                                                                                                                                                                                                                                                          pub fn aws_account_id( mut self, diff --git a/sdk/quicksight/src/operation/describe_data_source/builders.rs b/sdk/quicksight/src/operation/describe_data_source/builders.rs index f479fae8d265..8654bbfbf291 100644 --- a/sdk/quicksight/src/operation/describe_data_source/builders.rs +++ b/sdk/quicksight/src/operation/describe_data_source/builders.rs @@ -19,9 +19,9 @@ impl DescribeDataSourceFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl DescribeDataSourceFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::describe_data_source::DescribeDataSource, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::describe_data_source::DescribeDataSourceError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                          The Amazon Web Services account ID.

                                                                                                                                                                                                                                                          pub fn aws_account_id( mut self, diff --git a/sdk/quicksight/src/operation/describe_data_source_permissions/builders.rs b/sdk/quicksight/src/operation/describe_data_source_permissions/builders.rs index 160655f66cb8..e2012fafdcb3 100644 --- a/sdk/quicksight/src/operation/describe_data_source_permissions/builders.rs +++ b/sdk/quicksight/src/operation/describe_data_source_permissions/builders.rs @@ -19,9 +19,9 @@ impl DescribeDataSourcePermissionsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl DescribeDataSourcePermissionsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::describe_data_source_permissions::DescribeDataSourcePermissions, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::describe_data_source_permissions::DescribeDataSourcePermissionsError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                          The Amazon Web Services account ID.

                                                                                                                                                                                                                                                          pub fn aws_account_id( mut self, diff --git a/sdk/quicksight/src/operation/describe_folder/builders.rs b/sdk/quicksight/src/operation/describe_folder/builders.rs index a080b11c45a9..92a6a7ab6062 100644 --- a/sdk/quicksight/src/operation/describe_folder/builders.rs +++ b/sdk/quicksight/src/operation/describe_folder/builders.rs @@ -19,9 +19,9 @@ impl DescribeFolderFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl DescribeFolderFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::describe_folder::DescribeFolder, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                          The ID for the Amazon Web Services account that contains the folder.

                                                                                                                                                                                                                                                          pub fn aws_account_id( mut self, diff --git a/sdk/quicksight/src/operation/describe_folder_permissions/builders.rs b/sdk/quicksight/src/operation/describe_folder_permissions/builders.rs index 74b23b85e5ac..1c3e849bc063 100644 --- a/sdk/quicksight/src/operation/describe_folder_permissions/builders.rs +++ b/sdk/quicksight/src/operation/describe_folder_permissions/builders.rs @@ -19,9 +19,9 @@ impl DescribeFolderPermissionsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl DescribeFolderPermissionsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::describe_folder_permissions::DescribeFolderPermissions, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::describe_folder_permissions::DescribeFolderPermissionsError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                          The ID for the Amazon Web Services account that contains the folder.

                                                                                                                                                                                                                                                          pub fn aws_account_id( mut self, diff --git a/sdk/quicksight/src/operation/describe_folder_resolved_permissions/builders.rs b/sdk/quicksight/src/operation/describe_folder_resolved_permissions/builders.rs index 951983d1e909..72e2141ac425 100644 --- a/sdk/quicksight/src/operation/describe_folder_resolved_permissions/builders.rs +++ b/sdk/quicksight/src/operation/describe_folder_resolved_permissions/builders.rs @@ -19,9 +19,9 @@ impl DescribeFolderResolvedPermissionsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize(self) -> ::std::result::Result< + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware(self) -> ::std::result::Result< crate::client::customize::CustomizableOperation, ::aws_smithy_http::result::SdkError >{ @@ -64,6 +64,15 @@ impl DescribeFolderResolvedPermissionsFluentBuilder { { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize(self) -> ::std::result::Result< + crate::client::customize::CustomizableOperation, + ::aws_smithy_http::result::SdkError + >{ + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                          The ID for the Amazon Web Services account that contains the folder.

                                                                                                                                                                                                                                                          pub fn aws_account_id( mut self, diff --git a/sdk/quicksight/src/operation/describe_group/builders.rs b/sdk/quicksight/src/operation/describe_group/builders.rs index ebf24814b7cd..abf040b86d5e 100644 --- a/sdk/quicksight/src/operation/describe_group/builders.rs +++ b/sdk/quicksight/src/operation/describe_group/builders.rs @@ -19,9 +19,9 @@ impl DescribeGroupFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl DescribeGroupFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::describe_group::DescribeGroup, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                          The name of the group that you want to describe.

                                                                                                                                                                                                                                                          pub fn group_name(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.group_name(input.into()); diff --git a/sdk/quicksight/src/operation/describe_group_membership/builders.rs b/sdk/quicksight/src/operation/describe_group_membership/builders.rs index e9d5208ecdf7..b58bf00b744f 100644 --- a/sdk/quicksight/src/operation/describe_group_membership/builders.rs +++ b/sdk/quicksight/src/operation/describe_group_membership/builders.rs @@ -20,9 +20,9 @@ impl DescribeGroupMembershipFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -84,6 +84,22 @@ impl DescribeGroupMembershipFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::describe_group_membership::DescribeGroupMembership, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::describe_group_membership::DescribeGroupMembershipError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                          The user name of the user that you want to search for.

                                                                                                                                                                                                                                                          pub fn member_name(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.member_name(input.into()); diff --git a/sdk/quicksight/src/operation/describe_iam_policy_assignment/builders.rs b/sdk/quicksight/src/operation/describe_iam_policy_assignment/builders.rs index 19024f80b1fa..511de37e024a 100644 --- a/sdk/quicksight/src/operation/describe_iam_policy_assignment/builders.rs +++ b/sdk/quicksight/src/operation/describe_iam_policy_assignment/builders.rs @@ -19,9 +19,9 @@ impl DescribeIAMPolicyAssignmentFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl DescribeIAMPolicyAssignmentFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::describe_iam_policy_assignment::DescribeIAMPolicyAssignment, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::describe_iam_policy_assignment::DescribeIAMPolicyAssignmentError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                          The ID of the Amazon Web Services account that contains the assignment that you want to describe.

                                                                                                                                                                                                                                                          pub fn aws_account_id( mut self, diff --git a/sdk/quicksight/src/operation/describe_ingestion/builders.rs b/sdk/quicksight/src/operation/describe_ingestion/builders.rs index b7c1e5dce95a..17f65b111c7b 100644 --- a/sdk/quicksight/src/operation/describe_ingestion/builders.rs +++ b/sdk/quicksight/src/operation/describe_ingestion/builders.rs @@ -19,9 +19,9 @@ impl DescribeIngestionFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl DescribeIngestionFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::describe_ingestion::DescribeIngestion, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::describe_ingestion::DescribeIngestionError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                          The Amazon Web Services account ID.

                                                                                                                                                                                                                                                          pub fn aws_account_id( mut self, diff --git a/sdk/quicksight/src/operation/describe_ip_restriction/builders.rs b/sdk/quicksight/src/operation/describe_ip_restriction/builders.rs index b2233f36c62b..abd0857bd92c 100644 --- a/sdk/quicksight/src/operation/describe_ip_restriction/builders.rs +++ b/sdk/quicksight/src/operation/describe_ip_restriction/builders.rs @@ -19,9 +19,9 @@ impl DescribeIpRestrictionFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl DescribeIpRestrictionFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::describe_ip_restriction::DescribeIpRestriction, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::describe_ip_restriction::DescribeIpRestrictionError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                          The ID of the Amazon Web Services account that contains the IP rules.

                                                                                                                                                                                                                                                          pub fn aws_account_id( mut self, diff --git a/sdk/quicksight/src/operation/describe_namespace/builders.rs b/sdk/quicksight/src/operation/describe_namespace/builders.rs index 00a5f1b6aa80..b21c8afab023 100644 --- a/sdk/quicksight/src/operation/describe_namespace/builders.rs +++ b/sdk/quicksight/src/operation/describe_namespace/builders.rs @@ -19,9 +19,9 @@ impl DescribeNamespaceFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl DescribeNamespaceFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::describe_namespace::DescribeNamespace, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::describe_namespace::DescribeNamespaceError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                          The ID for the Amazon Web Services account that contains the Amazon QuickSight namespace that you want to describe.

                                                                                                                                                                                                                                                          pub fn aws_account_id( mut self, diff --git a/sdk/quicksight/src/operation/describe_refresh_schedule/builders.rs b/sdk/quicksight/src/operation/describe_refresh_schedule/builders.rs index 3591ddd8be1d..611f0d658803 100644 --- a/sdk/quicksight/src/operation/describe_refresh_schedule/builders.rs +++ b/sdk/quicksight/src/operation/describe_refresh_schedule/builders.rs @@ -20,9 +20,9 @@ impl DescribeRefreshScheduleFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -84,6 +84,22 @@ impl DescribeRefreshScheduleFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::describe_refresh_schedule::DescribeRefreshSchedule, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::describe_refresh_schedule::DescribeRefreshScheduleError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                          The Amazon Web Services account ID.

                                                                                                                                                                                                                                                          pub fn aws_account_id( mut self, diff --git a/sdk/quicksight/src/operation/describe_template/builders.rs b/sdk/quicksight/src/operation/describe_template/builders.rs index 39e9e2469eea..9a6ff1865b00 100644 --- a/sdk/quicksight/src/operation/describe_template/builders.rs +++ b/sdk/quicksight/src/operation/describe_template/builders.rs @@ -19,9 +19,9 @@ impl DescribeTemplateFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl DescribeTemplateFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::describe_template::DescribeTemplate, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::describe_template::DescribeTemplateError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                          The ID of the Amazon Web Services account that contains the template that you're describing.

                                                                                                                                                                                                                                                          pub fn aws_account_id( mut self, diff --git a/sdk/quicksight/src/operation/describe_template_alias/builders.rs b/sdk/quicksight/src/operation/describe_template_alias/builders.rs index 39de2234e1a9..9943fb657695 100644 --- a/sdk/quicksight/src/operation/describe_template_alias/builders.rs +++ b/sdk/quicksight/src/operation/describe_template_alias/builders.rs @@ -19,9 +19,9 @@ impl DescribeTemplateAliasFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl DescribeTemplateAliasFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::describe_template_alias::DescribeTemplateAlias, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::describe_template_alias::DescribeTemplateAliasError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                          The ID of the Amazon Web Services account that contains the template alias that you're describing.

                                                                                                                                                                                                                                                          pub fn aws_account_id( mut self, diff --git a/sdk/quicksight/src/operation/describe_template_definition/builders.rs b/sdk/quicksight/src/operation/describe_template_definition/builders.rs index df1ae0249a7a..d9192955b8d2 100644 --- a/sdk/quicksight/src/operation/describe_template_definition/builders.rs +++ b/sdk/quicksight/src/operation/describe_template_definition/builders.rs @@ -21,9 +21,9 @@ impl DescribeTemplateDefinitionFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -85,6 +85,22 @@ impl DescribeTemplateDefinitionFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::describe_template_definition::DescribeTemplateDefinition, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::describe_template_definition::DescribeTemplateDefinitionError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                          The ID of the Amazon Web Services account that contains the template. You must be using the Amazon Web Services account that the template is in.

                                                                                                                                                                                                                                                          pub fn aws_account_id( mut self, diff --git a/sdk/quicksight/src/operation/describe_template_permissions/builders.rs b/sdk/quicksight/src/operation/describe_template_permissions/builders.rs index 1d1ec2aa2a62..d077ad37cf19 100644 --- a/sdk/quicksight/src/operation/describe_template_permissions/builders.rs +++ b/sdk/quicksight/src/operation/describe_template_permissions/builders.rs @@ -19,9 +19,9 @@ impl DescribeTemplatePermissionsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl DescribeTemplatePermissionsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::describe_template_permissions::DescribeTemplatePermissions, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::describe_template_permissions::DescribeTemplatePermissionsError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                          The ID of the Amazon Web Services account that contains the template that you're describing.

                                                                                                                                                                                                                                                          pub fn aws_account_id( mut self, diff --git a/sdk/quicksight/src/operation/describe_theme/builders.rs b/sdk/quicksight/src/operation/describe_theme/builders.rs index ab06248449e4..69658c2f6f63 100644 --- a/sdk/quicksight/src/operation/describe_theme/builders.rs +++ b/sdk/quicksight/src/operation/describe_theme/builders.rs @@ -19,9 +19,9 @@ impl DescribeThemeFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl DescribeThemeFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::describe_theme::DescribeTheme, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                          The ID of the Amazon Web Services account that contains the theme that you're describing.

                                                                                                                                                                                                                                                          pub fn aws_account_id( mut self, diff --git a/sdk/quicksight/src/operation/describe_theme_alias/builders.rs b/sdk/quicksight/src/operation/describe_theme_alias/builders.rs index df8d720afc99..2df6124aef34 100644 --- a/sdk/quicksight/src/operation/describe_theme_alias/builders.rs +++ b/sdk/quicksight/src/operation/describe_theme_alias/builders.rs @@ -19,9 +19,9 @@ impl DescribeThemeAliasFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl DescribeThemeAliasFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::describe_theme_alias::DescribeThemeAlias, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::describe_theme_alias::DescribeThemeAliasError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                          The ID of the Amazon Web Services account that contains the theme alias that you're describing.

                                                                                                                                                                                                                                                          pub fn aws_account_id( mut self, diff --git a/sdk/quicksight/src/operation/describe_theme_permissions/builders.rs b/sdk/quicksight/src/operation/describe_theme_permissions/builders.rs index 992cde803bc6..9c9a48308297 100644 --- a/sdk/quicksight/src/operation/describe_theme_permissions/builders.rs +++ b/sdk/quicksight/src/operation/describe_theme_permissions/builders.rs @@ -19,9 +19,9 @@ impl DescribeThemePermissionsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl DescribeThemePermissionsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::describe_theme_permissions::DescribeThemePermissions, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::describe_theme_permissions::DescribeThemePermissionsError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                          The ID of the Amazon Web Services account that contains the theme that you're describing.

                                                                                                                                                                                                                                                          pub fn aws_account_id( mut self, diff --git a/sdk/quicksight/src/operation/describe_topic/builders.rs b/sdk/quicksight/src/operation/describe_topic/builders.rs index 9b303b055ddf..ecc60599af46 100644 --- a/sdk/quicksight/src/operation/describe_topic/builders.rs +++ b/sdk/quicksight/src/operation/describe_topic/builders.rs @@ -19,9 +19,9 @@ impl DescribeTopicFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl DescribeTopicFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::describe_topic::DescribeTopic, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                          The Amazon Web Services account ID.

                                                                                                                                                                                                                                                          pub fn aws_account_id( mut self, diff --git a/sdk/quicksight/src/operation/describe_topic_permissions/builders.rs b/sdk/quicksight/src/operation/describe_topic_permissions/builders.rs index 0b768183b328..081c008ca8b9 100644 --- a/sdk/quicksight/src/operation/describe_topic_permissions/builders.rs +++ b/sdk/quicksight/src/operation/describe_topic_permissions/builders.rs @@ -19,9 +19,9 @@ impl DescribeTopicPermissionsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl DescribeTopicPermissionsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::describe_topic_permissions::DescribeTopicPermissions, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::describe_topic_permissions::DescribeTopicPermissionsError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                          The ID of the Amazon Web Services account that contains the topic that you want described.

                                                                                                                                                                                                                                                          pub fn aws_account_id( mut self, diff --git a/sdk/quicksight/src/operation/describe_topic_refresh/builders.rs b/sdk/quicksight/src/operation/describe_topic_refresh/builders.rs index e064d3ec9204..774230d33dd5 100644 --- a/sdk/quicksight/src/operation/describe_topic_refresh/builders.rs +++ b/sdk/quicksight/src/operation/describe_topic_refresh/builders.rs @@ -19,9 +19,9 @@ impl DescribeTopicRefreshFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl DescribeTopicRefreshFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::describe_topic_refresh::DescribeTopicRefresh, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::describe_topic_refresh::DescribeTopicRefreshError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                          The ID of the Amazon Web Services account that contains the topic whose refresh you want to describe.

                                                                                                                                                                                                                                                          pub fn aws_account_id( mut self, diff --git a/sdk/quicksight/src/operation/describe_topic_refresh_schedule/builders.rs b/sdk/quicksight/src/operation/describe_topic_refresh_schedule/builders.rs index 2051ec313c6a..a7d475049886 100644 --- a/sdk/quicksight/src/operation/describe_topic_refresh_schedule/builders.rs +++ b/sdk/quicksight/src/operation/describe_topic_refresh_schedule/builders.rs @@ -19,9 +19,9 @@ impl DescribeTopicRefreshScheduleFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl DescribeTopicRefreshScheduleFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::describe_topic_refresh_schedule::DescribeTopicRefreshSchedule, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::describe_topic_refresh_schedule::DescribeTopicRefreshScheduleError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                          The Amazon Web Services account ID.

                                                                                                                                                                                                                                                          pub fn aws_account_id( mut self, diff --git a/sdk/quicksight/src/operation/describe_user/builders.rs b/sdk/quicksight/src/operation/describe_user/builders.rs index 3b9666105a5c..06feedaa250f 100644 --- a/sdk/quicksight/src/operation/describe_user/builders.rs +++ b/sdk/quicksight/src/operation/describe_user/builders.rs @@ -19,9 +19,9 @@ impl DescribeUserFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl DescribeUserFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::describe_user::DescribeUser, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                          The name of the user that you want to describe.

                                                                                                                                                                                                                                                          pub fn user_name(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.user_name(input.into()); diff --git a/sdk/quicksight/src/operation/describe_vpc_connection/builders.rs b/sdk/quicksight/src/operation/describe_vpc_connection/builders.rs index 1242792541bb..68b7d789e654 100644 --- a/sdk/quicksight/src/operation/describe_vpc_connection/builders.rs +++ b/sdk/quicksight/src/operation/describe_vpc_connection/builders.rs @@ -19,9 +19,9 @@ impl DescribeVPCConnectionFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl DescribeVPCConnectionFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::describe_vpc_connection::DescribeVPCConnection, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::describe_vpc_connection::DescribeVPCConnectionError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                          The Amazon Web Services account ID of the account that contains the VPC connection that you want described.

                                                                                                                                                                                                                                                          pub fn aws_account_id( mut self, diff --git a/sdk/quicksight/src/operation/generate_embed_url_for_anonymous_user/builders.rs b/sdk/quicksight/src/operation/generate_embed_url_for_anonymous_user/builders.rs index c6a76f499da1..b61df2adebe9 100644 --- a/sdk/quicksight/src/operation/generate_embed_url_for_anonymous_user/builders.rs +++ b/sdk/quicksight/src/operation/generate_embed_url_for_anonymous_user/builders.rs @@ -27,9 +27,9 @@ impl GenerateEmbedUrlForAnonymousUserFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize(self) -> ::std::result::Result< + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware(self) -> ::std::result::Result< crate::client::customize::CustomizableOperation, ::aws_smithy_http::result::SdkError >{ @@ -72,6 +72,15 @@ impl GenerateEmbedUrlForAnonymousUserFluentBuilder { { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize(self) -> ::std::result::Result< + crate::client::customize::CustomizableOperation, + ::aws_smithy_http::result::SdkError + >{ + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                          The ID for the Amazon Web Services account that contains the dashboard that you're embedding.

                                                                                                                                                                                                                                                          pub fn aws_account_id( mut self, diff --git a/sdk/quicksight/src/operation/generate_embed_url_for_registered_user/builders.rs b/sdk/quicksight/src/operation/generate_embed_url_for_registered_user/builders.rs index 36595ed9930e..86fbc64ac5f0 100644 --- a/sdk/quicksight/src/operation/generate_embed_url_for_registered_user/builders.rs +++ b/sdk/quicksight/src/operation/generate_embed_url_for_registered_user/builders.rs @@ -27,9 +27,9 @@ impl GenerateEmbedUrlForRegisteredUserFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize(self) -> ::std::result::Result< + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware(self) -> ::std::result::Result< crate::client::customize::CustomizableOperation, ::aws_smithy_http::result::SdkError >{ @@ -72,6 +72,15 @@ impl GenerateEmbedUrlForRegisteredUserFluentBuilder { { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize(self) -> ::std::result::Result< + crate::client::customize::CustomizableOperation, + ::aws_smithy_http::result::SdkError + >{ + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                          The ID for the Amazon Web Services account that contains the dashboard that you're embedding.

                                                                                                                                                                                                                                                          pub fn aws_account_id( mut self, diff --git a/sdk/quicksight/src/operation/get_dashboard_embed_url/builders.rs b/sdk/quicksight/src/operation/get_dashboard_embed_url/builders.rs index 4cde9f76c1f8..4a92314ce19f 100644 --- a/sdk/quicksight/src/operation/get_dashboard_embed_url/builders.rs +++ b/sdk/quicksight/src/operation/get_dashboard_embed_url/builders.rs @@ -29,9 +29,9 @@ impl GetDashboardEmbedUrlFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -93,6 +93,22 @@ impl GetDashboardEmbedUrlFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::get_dashboard_embed_url::GetDashboardEmbedUrl, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::get_dashboard_embed_url::GetDashboardEmbedUrlError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                          The ID for the Amazon Web Services account that contains the dashboard that you're embedding.

                                                                                                                                                                                                                                                          pub fn aws_account_id( mut self, diff --git a/sdk/quicksight/src/operation/get_session_embed_url/builders.rs b/sdk/quicksight/src/operation/get_session_embed_url/builders.rs index 46501bdf70c4..6ea5cfe6ef69 100644 --- a/sdk/quicksight/src/operation/get_session_embed_url/builders.rs +++ b/sdk/quicksight/src/operation/get_session_embed_url/builders.rs @@ -23,9 +23,9 @@ impl GetSessionEmbedUrlFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -87,6 +87,22 @@ impl GetSessionEmbedUrlFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::get_session_embed_url::GetSessionEmbedUrl, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::get_session_embed_url::GetSessionEmbedUrlError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                          The ID for the Amazon Web Services account associated with your Amazon QuickSight subscription.

                                                                                                                                                                                                                                                          pub fn aws_account_id( mut self, diff --git a/sdk/quicksight/src/operation/list_analyses/builders.rs b/sdk/quicksight/src/operation/list_analyses/builders.rs index c998faa488fc..819faef14020 100644 --- a/sdk/quicksight/src/operation/list_analyses/builders.rs +++ b/sdk/quicksight/src/operation/list_analyses/builders.rs @@ -19,9 +19,9 @@ impl ListAnalysesFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl ListAnalysesFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_analyses::ListAnalyses, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::list_analyses::paginator::ListAnalysesPaginator::send) which returns a `Stream`. diff --git a/sdk/quicksight/src/operation/list_dashboard_versions/builders.rs b/sdk/quicksight/src/operation/list_dashboard_versions/builders.rs index ac21dd5c81e5..1fff68ba515f 100644 --- a/sdk/quicksight/src/operation/list_dashboard_versions/builders.rs +++ b/sdk/quicksight/src/operation/list_dashboard_versions/builders.rs @@ -19,9 +19,9 @@ impl ListDashboardVersionsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl ListDashboardVersionsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_dashboard_versions::ListDashboardVersions, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::list_dashboard_versions::ListDashboardVersionsError, + >, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::list_dashboard_versions::paginator::ListDashboardVersionsPaginator::send) which returns a `Stream`. diff --git a/sdk/quicksight/src/operation/list_dashboards/builders.rs b/sdk/quicksight/src/operation/list_dashboards/builders.rs index dc79fe5ab982..4e1aa8021e23 100644 --- a/sdk/quicksight/src/operation/list_dashboards/builders.rs +++ b/sdk/quicksight/src/operation/list_dashboards/builders.rs @@ -19,9 +19,9 @@ impl ListDashboardsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl ListDashboardsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_dashboards::ListDashboards, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::list_dashboards::paginator::ListDashboardsPaginator::send) which returns a `Stream`. diff --git a/sdk/quicksight/src/operation/list_data_sets/builders.rs b/sdk/quicksight/src/operation/list_data_sets/builders.rs index 0c40eb835ad9..a512b4a5272a 100644 --- a/sdk/quicksight/src/operation/list_data_sets/builders.rs +++ b/sdk/quicksight/src/operation/list_data_sets/builders.rs @@ -20,9 +20,9 @@ impl ListDataSetsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -78,6 +78,20 @@ impl ListDataSetsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_data_sets::ListDataSets, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::list_data_sets::paginator::ListDataSetsPaginator::send) which returns a `Stream`. diff --git a/sdk/quicksight/src/operation/list_data_sources/builders.rs b/sdk/quicksight/src/operation/list_data_sources/builders.rs index 9c58cd58f335..5980d1f55bbc 100644 --- a/sdk/quicksight/src/operation/list_data_sources/builders.rs +++ b/sdk/quicksight/src/operation/list_data_sources/builders.rs @@ -19,9 +19,9 @@ impl ListDataSourcesFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl ListDataSourcesFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_data_sources::ListDataSources, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::list_data_sources::ListDataSourcesError, + >, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::list_data_sources::paginator::ListDataSourcesPaginator::send) which returns a `Stream`. diff --git a/sdk/quicksight/src/operation/list_folder_members/builders.rs b/sdk/quicksight/src/operation/list_folder_members/builders.rs index bc5c5b2a9883..d80827494b74 100644 --- a/sdk/quicksight/src/operation/list_folder_members/builders.rs +++ b/sdk/quicksight/src/operation/list_folder_members/builders.rs @@ -19,9 +19,9 @@ impl ListFolderMembersFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl ListFolderMembersFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_folder_members::ListFolderMembers, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::list_folder_members::ListFolderMembersError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                          The ID for the Amazon Web Services account that contains the folder.

                                                                                                                                                                                                                                                          pub fn aws_account_id( mut self, diff --git a/sdk/quicksight/src/operation/list_folders/builders.rs b/sdk/quicksight/src/operation/list_folders/builders.rs index 15924ea263a3..cff2a825bef3 100644 --- a/sdk/quicksight/src/operation/list_folders/builders.rs +++ b/sdk/quicksight/src/operation/list_folders/builders.rs @@ -19,9 +19,9 @@ impl ListFoldersFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl ListFoldersFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_folders::ListFolders, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                          The ID for the Amazon Web Services account that contains the folder.

                                                                                                                                                                                                                                                          pub fn aws_account_id( mut self, diff --git a/sdk/quicksight/src/operation/list_group_memberships/builders.rs b/sdk/quicksight/src/operation/list_group_memberships/builders.rs index 4eb446a37f7a..75a18ddf0d54 100644 --- a/sdk/quicksight/src/operation/list_group_memberships/builders.rs +++ b/sdk/quicksight/src/operation/list_group_memberships/builders.rs @@ -19,9 +19,9 @@ impl ListGroupMembershipsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl ListGroupMembershipsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_group_memberships::ListGroupMemberships, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::list_group_memberships::ListGroupMembershipsError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                          The name of the group that you want to see a membership list of.

                                                                                                                                                                                                                                                          pub fn group_name(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.group_name(input.into()); diff --git a/sdk/quicksight/src/operation/list_groups/builders.rs b/sdk/quicksight/src/operation/list_groups/builders.rs index c055047c4009..abc94497ed29 100644 --- a/sdk/quicksight/src/operation/list_groups/builders.rs +++ b/sdk/quicksight/src/operation/list_groups/builders.rs @@ -19,9 +19,9 @@ impl ListGroupsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl ListGroupsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_groups::ListGroups, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                          The ID for the Amazon Web Services account that the group is in. Currently, you use the ID for the Amazon Web Services account that contains your Amazon QuickSight account.

                                                                                                                                                                                                                                                          pub fn aws_account_id( mut self, diff --git a/sdk/quicksight/src/operation/list_iam_policy_assignments/builders.rs b/sdk/quicksight/src/operation/list_iam_policy_assignments/builders.rs index 0d61401611c2..051fd98db592 100644 --- a/sdk/quicksight/src/operation/list_iam_policy_assignments/builders.rs +++ b/sdk/quicksight/src/operation/list_iam_policy_assignments/builders.rs @@ -19,9 +19,9 @@ impl ListIAMPolicyAssignmentsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl ListIAMPolicyAssignmentsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_iam_policy_assignments::ListIAMPolicyAssignments, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::list_iam_policy_assignments::ListIAMPolicyAssignmentsError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                          The ID of the Amazon Web Services account that contains these IAM policy assignments.

                                                                                                                                                                                                                                                          pub fn aws_account_id( mut self, diff --git a/sdk/quicksight/src/operation/list_iam_policy_assignments_for_user/builders.rs b/sdk/quicksight/src/operation/list_iam_policy_assignments_for_user/builders.rs index d79a45e739ed..104df063cc87 100644 --- a/sdk/quicksight/src/operation/list_iam_policy_assignments_for_user/builders.rs +++ b/sdk/quicksight/src/operation/list_iam_policy_assignments_for_user/builders.rs @@ -19,9 +19,9 @@ impl ListIAMPolicyAssignmentsForUserFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize(self) -> ::std::result::Result< + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware(self) -> ::std::result::Result< crate::client::customize::CustomizableOperation, ::aws_smithy_http::result::SdkError >{ @@ -64,6 +64,15 @@ impl ListIAMPolicyAssignmentsForUserFluentBuilder { { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize(self) -> ::std::result::Result< + crate::client::customize::CustomizableOperation, + ::aws_smithy_http::result::SdkError + >{ + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                          The ID of the Amazon Web Services account that contains the assignments.

                                                                                                                                                                                                                                                          pub fn aws_account_id( mut self, diff --git a/sdk/quicksight/src/operation/list_ingestions/builders.rs b/sdk/quicksight/src/operation/list_ingestions/builders.rs index bd8218bdc34e..7ff8049181d2 100644 --- a/sdk/quicksight/src/operation/list_ingestions/builders.rs +++ b/sdk/quicksight/src/operation/list_ingestions/builders.rs @@ -19,9 +19,9 @@ impl ListIngestionsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl ListIngestionsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_ingestions::ListIngestions, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::list_ingestions::paginator::ListIngestionsPaginator::send) which returns a `Stream`. diff --git a/sdk/quicksight/src/operation/list_namespaces/builders.rs b/sdk/quicksight/src/operation/list_namespaces/builders.rs index 6c54ff86c215..16a2bcc62e6a 100644 --- a/sdk/quicksight/src/operation/list_namespaces/builders.rs +++ b/sdk/quicksight/src/operation/list_namespaces/builders.rs @@ -19,9 +19,9 @@ impl ListNamespacesFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl ListNamespacesFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_namespaces::ListNamespaces, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::list_namespaces::paginator::ListNamespacesPaginator::send) which returns a `Stream`. diff --git a/sdk/quicksight/src/operation/list_refresh_schedules/builders.rs b/sdk/quicksight/src/operation/list_refresh_schedules/builders.rs index a2ad7d3e191f..354beb2c9d89 100644 --- a/sdk/quicksight/src/operation/list_refresh_schedules/builders.rs +++ b/sdk/quicksight/src/operation/list_refresh_schedules/builders.rs @@ -19,9 +19,9 @@ impl ListRefreshSchedulesFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl ListRefreshSchedulesFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_refresh_schedules::ListRefreshSchedules, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::list_refresh_schedules::ListRefreshSchedulesError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                          The Amazon Web Services account ID.

                                                                                                                                                                                                                                                          pub fn aws_account_id( mut self, diff --git a/sdk/quicksight/src/operation/list_tags_for_resource/builders.rs b/sdk/quicksight/src/operation/list_tags_for_resource/builders.rs index d3813c0417b8..d3cfc0a53f24 100644 --- a/sdk/quicksight/src/operation/list_tags_for_resource/builders.rs +++ b/sdk/quicksight/src/operation/list_tags_for_resource/builders.rs @@ -19,9 +19,9 @@ impl ListTagsForResourceFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl ListTagsForResourceFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_tags_for_resource::ListTagsForResource, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::list_tags_for_resource::ListTagsForResourceError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                          The Amazon Resource Name (ARN) of the resource that you want a list of tags for.

                                                                                                                                                                                                                                                          pub fn resource_arn(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.resource_arn(input.into()); diff --git a/sdk/quicksight/src/operation/list_template_aliases/builders.rs b/sdk/quicksight/src/operation/list_template_aliases/builders.rs index 21aba815cef5..82eac7109efb 100644 --- a/sdk/quicksight/src/operation/list_template_aliases/builders.rs +++ b/sdk/quicksight/src/operation/list_template_aliases/builders.rs @@ -19,9 +19,9 @@ impl ListTemplateAliasesFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl ListTemplateAliasesFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_template_aliases::ListTemplateAliases, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::list_template_aliases::ListTemplateAliasesError, + >, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::list_template_aliases::paginator::ListTemplateAliasesPaginator::send) which returns a `Stream`. diff --git a/sdk/quicksight/src/operation/list_template_versions/builders.rs b/sdk/quicksight/src/operation/list_template_versions/builders.rs index bc8a93c82ee2..1f696aa72951 100644 --- a/sdk/quicksight/src/operation/list_template_versions/builders.rs +++ b/sdk/quicksight/src/operation/list_template_versions/builders.rs @@ -19,9 +19,9 @@ impl ListTemplateVersionsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl ListTemplateVersionsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_template_versions::ListTemplateVersions, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::list_template_versions::ListTemplateVersionsError, + >, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::list_template_versions::paginator::ListTemplateVersionsPaginator::send) which returns a `Stream`. diff --git a/sdk/quicksight/src/operation/list_templates/builders.rs b/sdk/quicksight/src/operation/list_templates/builders.rs index 8cc314f19a00..fd1cbbf6df46 100644 --- a/sdk/quicksight/src/operation/list_templates/builders.rs +++ b/sdk/quicksight/src/operation/list_templates/builders.rs @@ -19,9 +19,9 @@ impl ListTemplatesFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl ListTemplatesFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_templates::ListTemplates, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::list_templates::paginator::ListTemplatesPaginator::send) which returns a `Stream`. diff --git a/sdk/quicksight/src/operation/list_theme_aliases/builders.rs b/sdk/quicksight/src/operation/list_theme_aliases/builders.rs index 0607e89c8467..3df75a90ac78 100644 --- a/sdk/quicksight/src/operation/list_theme_aliases/builders.rs +++ b/sdk/quicksight/src/operation/list_theme_aliases/builders.rs @@ -19,9 +19,9 @@ impl ListThemeAliasesFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl ListThemeAliasesFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_theme_aliases::ListThemeAliases, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::list_theme_aliases::ListThemeAliasesError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                          The ID of the Amazon Web Services account that contains the theme aliases that you're listing.

                                                                                                                                                                                                                                                          pub fn aws_account_id( mut self, diff --git a/sdk/quicksight/src/operation/list_theme_versions/builders.rs b/sdk/quicksight/src/operation/list_theme_versions/builders.rs index 860a907f05f4..a38cda1ce3db 100644 --- a/sdk/quicksight/src/operation/list_theme_versions/builders.rs +++ b/sdk/quicksight/src/operation/list_theme_versions/builders.rs @@ -19,9 +19,9 @@ impl ListThemeVersionsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl ListThemeVersionsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_theme_versions::ListThemeVersions, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::list_theme_versions::ListThemeVersionsError, + >, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::list_theme_versions::paginator::ListThemeVersionsPaginator::send) which returns a `Stream`. diff --git a/sdk/quicksight/src/operation/list_themes/builders.rs b/sdk/quicksight/src/operation/list_themes/builders.rs index 672fd82eb74d..dec3fe50af62 100644 --- a/sdk/quicksight/src/operation/list_themes/builders.rs +++ b/sdk/quicksight/src/operation/list_themes/builders.rs @@ -19,9 +19,9 @@ impl ListThemesFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl ListThemesFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_themes::ListThemes, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::list_themes::paginator::ListThemesPaginator::send) which returns a `Stream`. diff --git a/sdk/quicksight/src/operation/list_topic_refresh_schedules/builders.rs b/sdk/quicksight/src/operation/list_topic_refresh_schedules/builders.rs index f871883d85b1..cff90cb66872 100644 --- a/sdk/quicksight/src/operation/list_topic_refresh_schedules/builders.rs +++ b/sdk/quicksight/src/operation/list_topic_refresh_schedules/builders.rs @@ -19,9 +19,9 @@ impl ListTopicRefreshSchedulesFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl ListTopicRefreshSchedulesFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_topic_refresh_schedules::ListTopicRefreshSchedules, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::list_topic_refresh_schedules::ListTopicRefreshSchedulesError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                          The ID of the Amazon Web Services account that contains the topic whose refresh schedule you want described.

                                                                                                                                                                                                                                                          pub fn aws_account_id( mut self, diff --git a/sdk/quicksight/src/operation/list_topics/builders.rs b/sdk/quicksight/src/operation/list_topics/builders.rs index 1a81587a90f4..8c4b6d690ce6 100644 --- a/sdk/quicksight/src/operation/list_topics/builders.rs +++ b/sdk/quicksight/src/operation/list_topics/builders.rs @@ -19,9 +19,9 @@ impl ListTopicsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl ListTopicsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_topics::ListTopics, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::list_topics::paginator::ListTopicsPaginator::send) which returns a `Stream`. diff --git a/sdk/quicksight/src/operation/list_user_groups/builders.rs b/sdk/quicksight/src/operation/list_user_groups/builders.rs index 9f7272172296..4c2c335c7641 100644 --- a/sdk/quicksight/src/operation/list_user_groups/builders.rs +++ b/sdk/quicksight/src/operation/list_user_groups/builders.rs @@ -19,9 +19,9 @@ impl ListUserGroupsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl ListUserGroupsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_user_groups::ListUserGroups, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::list_user_groups::ListUserGroupsError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                          The Amazon QuickSight user name that you want to list group memberships for.

                                                                                                                                                                                                                                                          pub fn user_name(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.user_name(input.into()); diff --git a/sdk/quicksight/src/operation/list_users/builders.rs b/sdk/quicksight/src/operation/list_users/builders.rs index 8cb872e5360a..6c231254e8e4 100644 --- a/sdk/quicksight/src/operation/list_users/builders.rs +++ b/sdk/quicksight/src/operation/list_users/builders.rs @@ -19,9 +19,9 @@ impl ListUsersFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl ListUsersFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_users::ListUsers, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                          The ID for the Amazon Web Services account that the user is in. Currently, you use the ID for the Amazon Web Services account that contains your Amazon QuickSight account.

                                                                                                                                                                                                                                                          pub fn aws_account_id( mut self, diff --git a/sdk/quicksight/src/operation/list_vpc_connections/builders.rs b/sdk/quicksight/src/operation/list_vpc_connections/builders.rs index 30311a375792..ed73a1102f90 100644 --- a/sdk/quicksight/src/operation/list_vpc_connections/builders.rs +++ b/sdk/quicksight/src/operation/list_vpc_connections/builders.rs @@ -19,9 +19,9 @@ impl ListVPCConnectionsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl ListVPCConnectionsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_vpc_connections::ListVPCConnections, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::list_vpc_connections::ListVPCConnectionsError, + >, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::list_vpc_connections::paginator::ListVpcConnectionsPaginator::send) which returns a `Stream`. diff --git a/sdk/quicksight/src/operation/put_data_set_refresh_properties/builders.rs b/sdk/quicksight/src/operation/put_data_set_refresh_properties/builders.rs index 1179bb84e836..a91f24871072 100644 --- a/sdk/quicksight/src/operation/put_data_set_refresh_properties/builders.rs +++ b/sdk/quicksight/src/operation/put_data_set_refresh_properties/builders.rs @@ -19,9 +19,9 @@ impl PutDataSetRefreshPropertiesFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl PutDataSetRefreshPropertiesFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::put_data_set_refresh_properties::PutDataSetRefreshProperties, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::put_data_set_refresh_properties::PutDataSetRefreshPropertiesError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                          The Amazon Web Services account ID.

                                                                                                                                                                                                                                                          pub fn aws_account_id( mut self, diff --git a/sdk/quicksight/src/operation/register_user/builders.rs b/sdk/quicksight/src/operation/register_user/builders.rs index c3dc3e53705d..75a1cddea8ba 100644 --- a/sdk/quicksight/src/operation/register_user/builders.rs +++ b/sdk/quicksight/src/operation/register_user/builders.rs @@ -19,9 +19,9 @@ impl RegisterUserFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl RegisterUserFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::register_user::RegisterUser, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                          Amazon QuickSight supports several ways of managing the identity of users. This parameter accepts two values:

                                                                                                                                                                                                                                                          ///
                                                                                                                                                                                                                                                            ///
                                                                                                                                                                                                                                                          • IAM: A user whose identity maps to an existing IAM user or role.

                                                                                                                                                                                                                                                          • diff --git a/sdk/quicksight/src/operation/restore_analysis/builders.rs b/sdk/quicksight/src/operation/restore_analysis/builders.rs index 07b198041e4a..77c13dc58d23 100644 --- a/sdk/quicksight/src/operation/restore_analysis/builders.rs +++ b/sdk/quicksight/src/operation/restore_analysis/builders.rs @@ -19,9 +19,9 @@ impl RestoreAnalysisFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl RestoreAnalysisFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::restore_analysis::RestoreAnalysis, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::restore_analysis::RestoreAnalysisError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                            The ID of the Amazon Web Services account that contains the analysis.

                                                                                                                                                                                                                                                            pub fn aws_account_id( mut self, diff --git a/sdk/quicksight/src/operation/search_analyses/builders.rs b/sdk/quicksight/src/operation/search_analyses/builders.rs index b845efa1c66a..d3189c3311e0 100644 --- a/sdk/quicksight/src/operation/search_analyses/builders.rs +++ b/sdk/quicksight/src/operation/search_analyses/builders.rs @@ -21,9 +21,9 @@ impl SearchAnalysesFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -79,6 +79,20 @@ impl SearchAnalysesFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::search_analyses::SearchAnalyses, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::search_analyses::paginator::SearchAnalysesPaginator::send) which returns a `Stream`. diff --git a/sdk/quicksight/src/operation/search_dashboards/builders.rs b/sdk/quicksight/src/operation/search_dashboards/builders.rs index bdbac2445060..e4b227310bef 100644 --- a/sdk/quicksight/src/operation/search_dashboards/builders.rs +++ b/sdk/quicksight/src/operation/search_dashboards/builders.rs @@ -21,9 +21,9 @@ impl SearchDashboardsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -85,6 +85,22 @@ impl SearchDashboardsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::search_dashboards::SearchDashboards, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::search_dashboards::SearchDashboardsError, + >, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::search_dashboards::paginator::SearchDashboardsPaginator::send) which returns a `Stream`. diff --git a/sdk/quicksight/src/operation/search_data_sets/builders.rs b/sdk/quicksight/src/operation/search_data_sets/builders.rs index cf535767825c..031db7dba56b 100644 --- a/sdk/quicksight/src/operation/search_data_sets/builders.rs +++ b/sdk/quicksight/src/operation/search_data_sets/builders.rs @@ -19,9 +19,9 @@ impl SearchDataSetsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl SearchDataSetsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::search_data_sets::SearchDataSets, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::search_data_sets::SearchDataSetsError, + >, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::search_data_sets::paginator::SearchDataSetsPaginator::send) which returns a `Stream`. diff --git a/sdk/quicksight/src/operation/search_data_sources/builders.rs b/sdk/quicksight/src/operation/search_data_sources/builders.rs index 3c856fe7b366..b064be38e2ad 100644 --- a/sdk/quicksight/src/operation/search_data_sources/builders.rs +++ b/sdk/quicksight/src/operation/search_data_sources/builders.rs @@ -19,9 +19,9 @@ impl SearchDataSourcesFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl SearchDataSourcesFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::search_data_sources::SearchDataSources, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::search_data_sources::SearchDataSourcesError, + >, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::search_data_sources::paginator::SearchDataSourcesPaginator::send) which returns a `Stream`. diff --git a/sdk/quicksight/src/operation/search_folders/builders.rs b/sdk/quicksight/src/operation/search_folders/builders.rs index 78e881d46a54..248d8d234e91 100644 --- a/sdk/quicksight/src/operation/search_folders/builders.rs +++ b/sdk/quicksight/src/operation/search_folders/builders.rs @@ -19,9 +19,9 @@ impl SearchFoldersFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl SearchFoldersFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::search_folders::SearchFolders, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                            The ID for the Amazon Web Services account that contains the folder.

                                                                                                                                                                                                                                                            pub fn aws_account_id( mut self, diff --git a/sdk/quicksight/src/operation/search_groups/builders.rs b/sdk/quicksight/src/operation/search_groups/builders.rs index 53d36ded1063..5c4408b84c49 100644 --- a/sdk/quicksight/src/operation/search_groups/builders.rs +++ b/sdk/quicksight/src/operation/search_groups/builders.rs @@ -19,9 +19,9 @@ impl SearchGroupsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl SearchGroupsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::search_groups::SearchGroups, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                            The ID for the Amazon Web Services account that the group is in. Currently, you use the ID for the Amazon Web Services account that contains your Amazon QuickSight account.

                                                                                                                                                                                                                                                            pub fn aws_account_id( mut self, diff --git a/sdk/quicksight/src/operation/tag_resource/builders.rs b/sdk/quicksight/src/operation/tag_resource/builders.rs index 2baec7338117..f3e211273aa0 100644 --- a/sdk/quicksight/src/operation/tag_resource/builders.rs +++ b/sdk/quicksight/src/operation/tag_resource/builders.rs @@ -26,9 +26,9 @@ impl TagResourceFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -84,6 +84,20 @@ impl TagResourceFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::tag_resource::TagResource, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                            The Amazon Resource Name (ARN) of the resource that you want to tag.

                                                                                                                                                                                                                                                            pub fn resource_arn(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.resource_arn(input.into()); diff --git a/sdk/quicksight/src/operation/untag_resource/builders.rs b/sdk/quicksight/src/operation/untag_resource/builders.rs index c5ce8bb5052a..162aa8bf9830 100644 --- a/sdk/quicksight/src/operation/untag_resource/builders.rs +++ b/sdk/quicksight/src/operation/untag_resource/builders.rs @@ -19,9 +19,9 @@ impl UntagResourceFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl UntagResourceFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::untag_resource::UntagResource, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                            The Amazon Resource Name (ARN) of the resource that you want to untag.

                                                                                                                                                                                                                                                            pub fn resource_arn(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.resource_arn(input.into()); diff --git a/sdk/quicksight/src/operation/update_account_customization/builders.rs b/sdk/quicksight/src/operation/update_account_customization/builders.rs index 58bab71f9ee3..53823b005c92 100644 --- a/sdk/quicksight/src/operation/update_account_customization/builders.rs +++ b/sdk/quicksight/src/operation/update_account_customization/builders.rs @@ -20,9 +20,9 @@ impl UpdateAccountCustomizationFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -84,6 +84,22 @@ impl UpdateAccountCustomizationFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::update_account_customization::UpdateAccountCustomization, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::update_account_customization::UpdateAccountCustomizationError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                            The ID for the Amazon Web Services account that you want to update Amazon QuickSight customizations for.

                                                                                                                                                                                                                                                            pub fn aws_account_id( mut self, diff --git a/sdk/quicksight/src/operation/update_account_settings/builders.rs b/sdk/quicksight/src/operation/update_account_settings/builders.rs index 22aefd35dbf7..2773c74d525b 100644 --- a/sdk/quicksight/src/operation/update_account_settings/builders.rs +++ b/sdk/quicksight/src/operation/update_account_settings/builders.rs @@ -19,9 +19,9 @@ impl UpdateAccountSettingsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl UpdateAccountSettingsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::update_account_settings::UpdateAccountSettings, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::update_account_settings::UpdateAccountSettingsError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                            The ID for the Amazon Web Services account that contains the Amazon QuickSight settings that you want to list.

                                                                                                                                                                                                                                                            pub fn aws_account_id( mut self, diff --git a/sdk/quicksight/src/operation/update_analysis/builders.rs b/sdk/quicksight/src/operation/update_analysis/builders.rs index 3d876056435c..59063a985295 100644 --- a/sdk/quicksight/src/operation/update_analysis/builders.rs +++ b/sdk/quicksight/src/operation/update_analysis/builders.rs @@ -19,9 +19,9 @@ impl UpdateAnalysisFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl UpdateAnalysisFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::update_analysis::UpdateAnalysis, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                            The ID of the Amazon Web Services account that contains the analysis that you're updating.

                                                                                                                                                                                                                                                            pub fn aws_account_id( mut self, diff --git a/sdk/quicksight/src/operation/update_analysis_permissions/builders.rs b/sdk/quicksight/src/operation/update_analysis_permissions/builders.rs index 9866a0daa38e..f48aa6092ed5 100644 --- a/sdk/quicksight/src/operation/update_analysis_permissions/builders.rs +++ b/sdk/quicksight/src/operation/update_analysis_permissions/builders.rs @@ -19,9 +19,9 @@ impl UpdateAnalysisPermissionsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl UpdateAnalysisPermissionsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::update_analysis_permissions::UpdateAnalysisPermissions, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::update_analysis_permissions::UpdateAnalysisPermissionsError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                            The ID of the Amazon Web Services account that contains the analysis whose permissions you're updating. You must be using the Amazon Web Services account that the analysis is in.

                                                                                                                                                                                                                                                            pub fn aws_account_id( mut self, diff --git a/sdk/quicksight/src/operation/update_dashboard/builders.rs b/sdk/quicksight/src/operation/update_dashboard/builders.rs index d5f11827b323..8cab1218294d 100644 --- a/sdk/quicksight/src/operation/update_dashboard/builders.rs +++ b/sdk/quicksight/src/operation/update_dashboard/builders.rs @@ -21,9 +21,9 @@ impl UpdateDashboardFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -85,6 +85,22 @@ impl UpdateDashboardFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::update_dashboard::UpdateDashboard, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::update_dashboard::UpdateDashboardError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                            The ID of the Amazon Web Services account that contains the dashboard that you're updating.

                                                                                                                                                                                                                                                            pub fn aws_account_id( mut self, diff --git a/sdk/quicksight/src/operation/update_dashboard_permissions/builders.rs b/sdk/quicksight/src/operation/update_dashboard_permissions/builders.rs index 7236d3f62f3c..02d7ed8780c4 100644 --- a/sdk/quicksight/src/operation/update_dashboard_permissions/builders.rs +++ b/sdk/quicksight/src/operation/update_dashboard_permissions/builders.rs @@ -19,9 +19,9 @@ impl UpdateDashboardPermissionsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl UpdateDashboardPermissionsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::update_dashboard_permissions::UpdateDashboardPermissions, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::update_dashboard_permissions::UpdateDashboardPermissionsError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                            The ID of the Amazon Web Services account that contains the dashboard whose permissions you're updating.

                                                                                                                                                                                                                                                            pub fn aws_account_id( mut self, diff --git a/sdk/quicksight/src/operation/update_dashboard_published_version/builders.rs b/sdk/quicksight/src/operation/update_dashboard_published_version/builders.rs index d9b3fd668687..65295a7f0e88 100644 --- a/sdk/quicksight/src/operation/update_dashboard_published_version/builders.rs +++ b/sdk/quicksight/src/operation/update_dashboard_published_version/builders.rs @@ -19,9 +19,9 @@ impl UpdateDashboardPublishedVersionFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize(self) -> ::std::result::Result< + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware(self) -> ::std::result::Result< crate::client::customize::CustomizableOperation, ::aws_smithy_http::result::SdkError >{ @@ -64,6 +64,15 @@ impl UpdateDashboardPublishedVersionFluentBuilder { { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize(self) -> ::std::result::Result< + crate::client::customize::CustomizableOperation, + ::aws_smithy_http::result::SdkError + >{ + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                            The ID of the Amazon Web Services account that contains the dashboard that you're updating.

                                                                                                                                                                                                                                                            pub fn aws_account_id( mut self, diff --git a/sdk/quicksight/src/operation/update_data_set/builders.rs b/sdk/quicksight/src/operation/update_data_set/builders.rs index 457ed013846c..a4852949f3a3 100644 --- a/sdk/quicksight/src/operation/update_data_set/builders.rs +++ b/sdk/quicksight/src/operation/update_data_set/builders.rs @@ -19,9 +19,9 @@ impl UpdateDataSetFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl UpdateDataSetFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::update_data_set::UpdateDataSet, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                            The Amazon Web Services account ID.

                                                                                                                                                                                                                                                            pub fn aws_account_id( mut self, diff --git a/sdk/quicksight/src/operation/update_data_set_permissions/builders.rs b/sdk/quicksight/src/operation/update_data_set_permissions/builders.rs index e7a26e0cb3fe..83f183e4a056 100644 --- a/sdk/quicksight/src/operation/update_data_set_permissions/builders.rs +++ b/sdk/quicksight/src/operation/update_data_set_permissions/builders.rs @@ -20,9 +20,9 @@ impl UpdateDataSetPermissionsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -84,6 +84,22 @@ impl UpdateDataSetPermissionsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::update_data_set_permissions::UpdateDataSetPermissions, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::update_data_set_permissions::UpdateDataSetPermissionsError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                            The Amazon Web Services account ID.

                                                                                                                                                                                                                                                            pub fn aws_account_id( mut self, diff --git a/sdk/quicksight/src/operation/update_data_source/builders.rs b/sdk/quicksight/src/operation/update_data_source/builders.rs index 854babdb8144..a00aa8178c21 100644 --- a/sdk/quicksight/src/operation/update_data_source/builders.rs +++ b/sdk/quicksight/src/operation/update_data_source/builders.rs @@ -19,9 +19,9 @@ impl UpdateDataSourceFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl UpdateDataSourceFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::update_data_source::UpdateDataSource, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::update_data_source::UpdateDataSourceError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                            The Amazon Web Services account ID.

                                                                                                                                                                                                                                                            pub fn aws_account_id( mut self, diff --git a/sdk/quicksight/src/operation/update_data_source_permissions/builders.rs b/sdk/quicksight/src/operation/update_data_source_permissions/builders.rs index 5420e074e1f7..408a96de3754 100644 --- a/sdk/quicksight/src/operation/update_data_source_permissions/builders.rs +++ b/sdk/quicksight/src/operation/update_data_source_permissions/builders.rs @@ -19,9 +19,9 @@ impl UpdateDataSourcePermissionsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl UpdateDataSourcePermissionsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::update_data_source_permissions::UpdateDataSourcePermissions, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::update_data_source_permissions::UpdateDataSourcePermissionsError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                            The Amazon Web Services account ID.

                                                                                                                                                                                                                                                            pub fn aws_account_id( mut self, diff --git a/sdk/quicksight/src/operation/update_folder/builders.rs b/sdk/quicksight/src/operation/update_folder/builders.rs index 9f75e4f01c44..92a34ed8a489 100644 --- a/sdk/quicksight/src/operation/update_folder/builders.rs +++ b/sdk/quicksight/src/operation/update_folder/builders.rs @@ -19,9 +19,9 @@ impl UpdateFolderFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl UpdateFolderFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::update_folder::UpdateFolder, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                            The ID for the Amazon Web Services account that contains the folder to update.

                                                                                                                                                                                                                                                            pub fn aws_account_id( mut self, diff --git a/sdk/quicksight/src/operation/update_folder_permissions/builders.rs b/sdk/quicksight/src/operation/update_folder_permissions/builders.rs index 4881f1dab350..4d49d850844c 100644 --- a/sdk/quicksight/src/operation/update_folder_permissions/builders.rs +++ b/sdk/quicksight/src/operation/update_folder_permissions/builders.rs @@ -20,9 +20,9 @@ impl UpdateFolderPermissionsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -84,6 +84,22 @@ impl UpdateFolderPermissionsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::update_folder_permissions::UpdateFolderPermissions, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::update_folder_permissions::UpdateFolderPermissionsError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                            The ID for the Amazon Web Services account that contains the folder to update.

                                                                                                                                                                                                                                                            pub fn aws_account_id( mut self, diff --git a/sdk/quicksight/src/operation/update_group/builders.rs b/sdk/quicksight/src/operation/update_group/builders.rs index 319cd2792c1c..de145325ac39 100644 --- a/sdk/quicksight/src/operation/update_group/builders.rs +++ b/sdk/quicksight/src/operation/update_group/builders.rs @@ -19,9 +19,9 @@ impl UpdateGroupFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl UpdateGroupFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::update_group::UpdateGroup, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                            The name of the group that you want to update.

                                                                                                                                                                                                                                                            pub fn group_name(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.group_name(input.into()); diff --git a/sdk/quicksight/src/operation/update_iam_policy_assignment/builders.rs b/sdk/quicksight/src/operation/update_iam_policy_assignment/builders.rs index f901ccbfe1fa..64deba5924c5 100644 --- a/sdk/quicksight/src/operation/update_iam_policy_assignment/builders.rs +++ b/sdk/quicksight/src/operation/update_iam_policy_assignment/builders.rs @@ -19,9 +19,9 @@ impl UpdateIAMPolicyAssignmentFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl UpdateIAMPolicyAssignmentFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::update_iam_policy_assignment::UpdateIAMPolicyAssignment, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::update_iam_policy_assignment::UpdateIAMPolicyAssignmentError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                            The ID of the Amazon Web Services account that contains the IAM policy assignment.

                                                                                                                                                                                                                                                            pub fn aws_account_id( mut self, diff --git a/sdk/quicksight/src/operation/update_ip_restriction/builders.rs b/sdk/quicksight/src/operation/update_ip_restriction/builders.rs index 27c15558edeb..0e3b879e2653 100644 --- a/sdk/quicksight/src/operation/update_ip_restriction/builders.rs +++ b/sdk/quicksight/src/operation/update_ip_restriction/builders.rs @@ -19,9 +19,9 @@ impl UpdateIpRestrictionFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl UpdateIpRestrictionFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::update_ip_restriction::UpdateIpRestriction, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::update_ip_restriction::UpdateIpRestrictionError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                            The ID of the Amazon Web Services account that contains the IP rules.

                                                                                                                                                                                                                                                            pub fn aws_account_id( mut self, diff --git a/sdk/quicksight/src/operation/update_public_sharing_settings/builders.rs b/sdk/quicksight/src/operation/update_public_sharing_settings/builders.rs index 36cbd40ca561..11f57ea03a6e 100644 --- a/sdk/quicksight/src/operation/update_public_sharing_settings/builders.rs +++ b/sdk/quicksight/src/operation/update_public_sharing_settings/builders.rs @@ -21,9 +21,9 @@ impl UpdatePublicSharingSettingsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -85,6 +85,22 @@ impl UpdatePublicSharingSettingsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::update_public_sharing_settings::UpdatePublicSharingSettings, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::update_public_sharing_settings::UpdatePublicSharingSettingsError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                            The Amazon Web Services account ID associated with your Amazon QuickSight subscription.

                                                                                                                                                                                                                                                            pub fn aws_account_id( mut self, diff --git a/sdk/quicksight/src/operation/update_refresh_schedule/builders.rs b/sdk/quicksight/src/operation/update_refresh_schedule/builders.rs index 38399d919a13..b615822c1763 100644 --- a/sdk/quicksight/src/operation/update_refresh_schedule/builders.rs +++ b/sdk/quicksight/src/operation/update_refresh_schedule/builders.rs @@ -19,9 +19,9 @@ impl UpdateRefreshScheduleFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl UpdateRefreshScheduleFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::update_refresh_schedule::UpdateRefreshSchedule, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::update_refresh_schedule::UpdateRefreshScheduleError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                            The ID of the dataset.

                                                                                                                                                                                                                                                            pub fn data_set_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.data_set_id(input.into()); diff --git a/sdk/quicksight/src/operation/update_template/builders.rs b/sdk/quicksight/src/operation/update_template/builders.rs index 6cd6fb997a53..b87c7f597664 100644 --- a/sdk/quicksight/src/operation/update_template/builders.rs +++ b/sdk/quicksight/src/operation/update_template/builders.rs @@ -19,9 +19,9 @@ impl UpdateTemplateFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl UpdateTemplateFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::update_template::UpdateTemplate, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                            The ID of the Amazon Web Services account that contains the template that you're updating.

                                                                                                                                                                                                                                                            pub fn aws_account_id( mut self, diff --git a/sdk/quicksight/src/operation/update_template_alias/builders.rs b/sdk/quicksight/src/operation/update_template_alias/builders.rs index cb44f426f38a..7a718adb8786 100644 --- a/sdk/quicksight/src/operation/update_template_alias/builders.rs +++ b/sdk/quicksight/src/operation/update_template_alias/builders.rs @@ -19,9 +19,9 @@ impl UpdateTemplateAliasFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl UpdateTemplateAliasFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::update_template_alias::UpdateTemplateAlias, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::update_template_alias::UpdateTemplateAliasError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                            The ID of the Amazon Web Services account that contains the template alias that you're updating.

                                                                                                                                                                                                                                                            pub fn aws_account_id( mut self, diff --git a/sdk/quicksight/src/operation/update_template_permissions/builders.rs b/sdk/quicksight/src/operation/update_template_permissions/builders.rs index f5ebe0fbfd4f..ac39c6a3ac64 100644 --- a/sdk/quicksight/src/operation/update_template_permissions/builders.rs +++ b/sdk/quicksight/src/operation/update_template_permissions/builders.rs @@ -19,9 +19,9 @@ impl UpdateTemplatePermissionsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl UpdateTemplatePermissionsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::update_template_permissions::UpdateTemplatePermissions, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::update_template_permissions::UpdateTemplatePermissionsError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                            The ID of the Amazon Web Services account that contains the template.

                                                                                                                                                                                                                                                            pub fn aws_account_id( mut self, diff --git a/sdk/quicksight/src/operation/update_theme/builders.rs b/sdk/quicksight/src/operation/update_theme/builders.rs index 28670c8143c0..b4bd20dfece5 100644 --- a/sdk/quicksight/src/operation/update_theme/builders.rs +++ b/sdk/quicksight/src/operation/update_theme/builders.rs @@ -19,9 +19,9 @@ impl UpdateThemeFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl UpdateThemeFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::update_theme::UpdateTheme, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                            The ID of the Amazon Web Services account that contains the theme that you're updating.

                                                                                                                                                                                                                                                            pub fn aws_account_id( mut self, diff --git a/sdk/quicksight/src/operation/update_theme_alias/builders.rs b/sdk/quicksight/src/operation/update_theme_alias/builders.rs index 2ef0c2c3cf92..6a46cbc36d82 100644 --- a/sdk/quicksight/src/operation/update_theme_alias/builders.rs +++ b/sdk/quicksight/src/operation/update_theme_alias/builders.rs @@ -19,9 +19,9 @@ impl UpdateThemeAliasFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl UpdateThemeAliasFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::update_theme_alias::UpdateThemeAlias, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::update_theme_alias::UpdateThemeAliasError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                            The ID of the Amazon Web Services account that contains the theme alias that you're updating.

                                                                                                                                                                                                                                                            pub fn aws_account_id( mut self, diff --git a/sdk/quicksight/src/operation/update_theme_permissions/builders.rs b/sdk/quicksight/src/operation/update_theme_permissions/builders.rs index 58cf45b420fc..9a5c11590cbc 100644 --- a/sdk/quicksight/src/operation/update_theme_permissions/builders.rs +++ b/sdk/quicksight/src/operation/update_theme_permissions/builders.rs @@ -44,9 +44,9 @@ impl UpdateThemePermissionsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -108,6 +108,22 @@ impl UpdateThemePermissionsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::update_theme_permissions::UpdateThemePermissions, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::update_theme_permissions::UpdateThemePermissionsError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                            The ID of the Amazon Web Services account that contains the theme.

                                                                                                                                                                                                                                                            pub fn aws_account_id( mut self, diff --git a/sdk/quicksight/src/operation/update_topic/builders.rs b/sdk/quicksight/src/operation/update_topic/builders.rs index 28bbff6e2f96..5f9e395c4b9a 100644 --- a/sdk/quicksight/src/operation/update_topic/builders.rs +++ b/sdk/quicksight/src/operation/update_topic/builders.rs @@ -19,9 +19,9 @@ impl UpdateTopicFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl UpdateTopicFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::update_topic::UpdateTopic, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                            The ID of the Amazon Web Services account that contains the topic that you want to update.

                                                                                                                                                                                                                                                            pub fn aws_account_id( mut self, diff --git a/sdk/quicksight/src/operation/update_topic_permissions/builders.rs b/sdk/quicksight/src/operation/update_topic_permissions/builders.rs index f16ef0010731..4ef0fafaccb0 100644 --- a/sdk/quicksight/src/operation/update_topic_permissions/builders.rs +++ b/sdk/quicksight/src/operation/update_topic_permissions/builders.rs @@ -19,9 +19,9 @@ impl UpdateTopicPermissionsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl UpdateTopicPermissionsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::update_topic_permissions::UpdateTopicPermissions, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::update_topic_permissions::UpdateTopicPermissionsError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                            The ID of the Amazon Web Services account that contains the topic that you want to update the permissions for.

                                                                                                                                                                                                                                                            pub fn aws_account_id( mut self, diff --git a/sdk/quicksight/src/operation/update_topic_refresh_schedule/builders.rs b/sdk/quicksight/src/operation/update_topic_refresh_schedule/builders.rs index dd398ef44ad8..cbc320ea0c71 100644 --- a/sdk/quicksight/src/operation/update_topic_refresh_schedule/builders.rs +++ b/sdk/quicksight/src/operation/update_topic_refresh_schedule/builders.rs @@ -19,9 +19,9 @@ impl UpdateTopicRefreshScheduleFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl UpdateTopicRefreshScheduleFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::update_topic_refresh_schedule::UpdateTopicRefreshSchedule, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::update_topic_refresh_schedule::UpdateTopicRefreshScheduleError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                            The ID of the Amazon Web Services account that contains the topic whose refresh schedule you want to update.

                                                                                                                                                                                                                                                            pub fn aws_account_id( mut self, diff --git a/sdk/quicksight/src/operation/update_user/builders.rs b/sdk/quicksight/src/operation/update_user/builders.rs index 7359a9256203..dcb8b6cf2017 100644 --- a/sdk/quicksight/src/operation/update_user/builders.rs +++ b/sdk/quicksight/src/operation/update_user/builders.rs @@ -19,9 +19,9 @@ impl UpdateUserFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl UpdateUserFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::update_user::UpdateUser, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                            The Amazon QuickSight user name that you want to update.

                                                                                                                                                                                                                                                            pub fn user_name(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.user_name(input.into()); diff --git a/sdk/quicksight/src/operation/update_vpc_connection/builders.rs b/sdk/quicksight/src/operation/update_vpc_connection/builders.rs index eca3ea12f794..47e057278b78 100644 --- a/sdk/quicksight/src/operation/update_vpc_connection/builders.rs +++ b/sdk/quicksight/src/operation/update_vpc_connection/builders.rs @@ -19,9 +19,9 @@ impl UpdateVPCConnectionFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl UpdateVPCConnectionFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::update_vpc_connection::UpdateVPCConnection, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::update_vpc_connection::UpdateVPCConnectionError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                            The Amazon Web Services account ID of the account that contains the VPC connection that you want to update.

                                                                                                                                                                                                                                                            pub fn aws_account_id( mut self, diff --git a/sdk/ram/src/operation/accept_resource_share_invitation/builders.rs b/sdk/ram/src/operation/accept_resource_share_invitation/builders.rs index a6db4443c229..f65637ade498 100644 --- a/sdk/ram/src/operation/accept_resource_share_invitation/builders.rs +++ b/sdk/ram/src/operation/accept_resource_share_invitation/builders.rs @@ -19,9 +19,9 @@ impl AcceptResourceShareInvitationFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl AcceptResourceShareInvitationFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::accept_resource_share_invitation::AcceptResourceShareInvitation, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::accept_resource_share_invitation::AcceptResourceShareInvitationError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                            The Amazon Resource Name (ARN) of the invitation that you want to accept.

                                                                                                                                                                                                                                                            pub fn resource_share_invitation_arn( mut self, diff --git a/sdk/ram/src/operation/associate_resource_share/builders.rs b/sdk/ram/src/operation/associate_resource_share/builders.rs index 51302ee95604..a481e1bbc08d 100644 --- a/sdk/ram/src/operation/associate_resource_share/builders.rs +++ b/sdk/ram/src/operation/associate_resource_share/builders.rs @@ -19,9 +19,9 @@ impl AssociateResourceShareFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl AssociateResourceShareFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::associate_resource_share::AssociateResourceShare, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::associate_resource_share::AssociateResourceShareError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                            Specifies the Amazon Resource Name (ARN) of the resource share that you want to add principals or resources to.

                                                                                                                                                                                                                                                            pub fn resource_share_arn( mut self, diff --git a/sdk/ram/src/operation/associate_resource_share_permission/builders.rs b/sdk/ram/src/operation/associate_resource_share_permission/builders.rs index ae7f88db95b7..5bb55a3a2f3a 100644 --- a/sdk/ram/src/operation/associate_resource_share_permission/builders.rs +++ b/sdk/ram/src/operation/associate_resource_share_permission/builders.rs @@ -19,9 +19,9 @@ impl AssociateResourceSharePermissionFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize(self) -> ::std::result::Result< + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware(self) -> ::std::result::Result< crate::client::customize::CustomizableOperation, ::aws_smithy_http::result::SdkError >{ @@ -64,6 +64,15 @@ impl AssociateResourceSharePermissionFluentBuilder { { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize(self) -> ::std::result::Result< + crate::client::customize::CustomizableOperation, + ::aws_smithy_http::result::SdkError + >{ + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                            Specifies the Amazon Resource Name (ARN) of the resource share to which you want to add or replace permissions.

                                                                                                                                                                                                                                                            pub fn resource_share_arn( mut self, diff --git a/sdk/ram/src/operation/create_permission/builders.rs b/sdk/ram/src/operation/create_permission/builders.rs index 9ea5c747ee2e..9237ac8b0f10 100644 --- a/sdk/ram/src/operation/create_permission/builders.rs +++ b/sdk/ram/src/operation/create_permission/builders.rs @@ -19,9 +19,9 @@ impl CreatePermissionFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl CreatePermissionFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::create_permission::CreatePermission, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::create_permission::CreatePermissionError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                            Specifies the name of the customer managed permission. The name must be unique within the Amazon Web Services Region.

                                                                                                                                                                                                                                                            pub fn name(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.name(input.into()); diff --git a/sdk/ram/src/operation/create_permission_version/builders.rs b/sdk/ram/src/operation/create_permission_version/builders.rs index 93bc6be2ec61..ae3e73813084 100644 --- a/sdk/ram/src/operation/create_permission_version/builders.rs +++ b/sdk/ram/src/operation/create_permission_version/builders.rs @@ -21,9 +21,9 @@ impl CreatePermissionVersionFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -85,6 +85,22 @@ impl CreatePermissionVersionFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::create_permission_version::CreatePermissionVersion, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::create_permission_version::CreatePermissionVersionError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                            Specifies the Amazon Resource Name (ARN) of the customer managed permission you're creating a new version for.

                                                                                                                                                                                                                                                            pub fn permission_arn( mut self, diff --git a/sdk/ram/src/operation/create_resource_share/builders.rs b/sdk/ram/src/operation/create_resource_share/builders.rs index cf90f102c9a0..b22238d57e2b 100644 --- a/sdk/ram/src/operation/create_resource_share/builders.rs +++ b/sdk/ram/src/operation/create_resource_share/builders.rs @@ -21,9 +21,9 @@ impl CreateResourceShareFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -85,6 +85,22 @@ impl CreateResourceShareFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::create_resource_share::CreateResourceShare, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::create_resource_share::CreateResourceShareError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                            Specifies the name of the resource share.

                                                                                                                                                                                                                                                            pub fn name(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.name(input.into()); diff --git a/sdk/ram/src/operation/delete_permission/builders.rs b/sdk/ram/src/operation/delete_permission/builders.rs index b33f1693f0c0..f1745e5f927c 100644 --- a/sdk/ram/src/operation/delete_permission/builders.rs +++ b/sdk/ram/src/operation/delete_permission/builders.rs @@ -19,9 +19,9 @@ impl DeletePermissionFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl DeletePermissionFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::delete_permission::DeletePermission, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::delete_permission::DeletePermissionError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                            Specifies the Amazon Resource Name (ARN) of the customer managed permission that you want to delete.

                                                                                                                                                                                                                                                            pub fn permission_arn( mut self, diff --git a/sdk/ram/src/operation/delete_permission_version/builders.rs b/sdk/ram/src/operation/delete_permission_version/builders.rs index 80e22a7147d7..78757c137819 100644 --- a/sdk/ram/src/operation/delete_permission_version/builders.rs +++ b/sdk/ram/src/operation/delete_permission_version/builders.rs @@ -21,9 +21,9 @@ impl DeletePermissionVersionFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -85,6 +85,22 @@ impl DeletePermissionVersionFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::delete_permission_version::DeletePermissionVersion, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::delete_permission_version::DeletePermissionVersionError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                            Specifies the Amazon Resource Name (ARN) of the permission with the version you want to delete.

                                                                                                                                                                                                                                                            pub fn permission_arn( mut self, diff --git a/sdk/ram/src/operation/delete_resource_share/builders.rs b/sdk/ram/src/operation/delete_resource_share/builders.rs index 2374eb9e72df..d526751f796a 100644 --- a/sdk/ram/src/operation/delete_resource_share/builders.rs +++ b/sdk/ram/src/operation/delete_resource_share/builders.rs @@ -21,9 +21,9 @@ impl DeleteResourceShareFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -85,6 +85,22 @@ impl DeleteResourceShareFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::delete_resource_share::DeleteResourceShare, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::delete_resource_share::DeleteResourceShareError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                            Specifies the Amazon Resource Name (ARN) of the resource share to delete.

                                                                                                                                                                                                                                                            pub fn resource_share_arn( mut self, diff --git a/sdk/ram/src/operation/disassociate_resource_share/builders.rs b/sdk/ram/src/operation/disassociate_resource_share/builders.rs index 6759efc57d99..ba77a906407d 100644 --- a/sdk/ram/src/operation/disassociate_resource_share/builders.rs +++ b/sdk/ram/src/operation/disassociate_resource_share/builders.rs @@ -19,9 +19,9 @@ impl DisassociateResourceShareFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl DisassociateResourceShareFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::disassociate_resource_share::DisassociateResourceShare, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::disassociate_resource_share::DisassociateResourceShareError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                            Specifies Amazon Resource Name (ARN) of the resource share that you want to remove resources or principals from.

                                                                                                                                                                                                                                                            pub fn resource_share_arn( mut self, diff --git a/sdk/ram/src/operation/disassociate_resource_share_permission/builders.rs b/sdk/ram/src/operation/disassociate_resource_share_permission/builders.rs index e4bba74c5770..b69181dff5bf 100644 --- a/sdk/ram/src/operation/disassociate_resource_share_permission/builders.rs +++ b/sdk/ram/src/operation/disassociate_resource_share_permission/builders.rs @@ -19,9 +19,9 @@ impl DisassociateResourceSharePermissionFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize(self) -> ::std::result::Result< + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware(self) -> ::std::result::Result< crate::client::customize::CustomizableOperation, ::aws_smithy_http::result::SdkError >{ @@ -64,6 +64,15 @@ impl DisassociateResourceSharePermissionFluentBuilder { { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize(self) -> ::std::result::Result< + crate::client::customize::CustomizableOperation, + ::aws_smithy_http::result::SdkError + >{ + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                            The Amazon Resource Name (ARN) of the resource share that you want to remove the managed permission from.

                                                                                                                                                                                                                                                            pub fn resource_share_arn( mut self, diff --git a/sdk/ram/src/operation/enable_sharing_with_aws_organization/builders.rs b/sdk/ram/src/operation/enable_sharing_with_aws_organization/builders.rs index 0abb348dc17f..cbe239330587 100644 --- a/sdk/ram/src/operation/enable_sharing_with_aws_organization/builders.rs +++ b/sdk/ram/src/operation/enable_sharing_with_aws_organization/builders.rs @@ -21,9 +21,9 @@ impl EnableSharingWithAwsOrganizationFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize(self) -> ::std::result::Result< + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware(self) -> ::std::result::Result< crate::client::customize::CustomizableOperation, ::aws_smithy_http::result::SdkError >{ @@ -66,4 +66,13 @@ impl EnableSharingWithAwsOrganizationFluentBuilder { { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize(self) -> ::std::result::Result< + crate::client::customize::CustomizableOperation, + ::aws_smithy_http::result::SdkError + >{ + self.customize_middleware().await + } } diff --git a/sdk/ram/src/operation/get_permission/builders.rs b/sdk/ram/src/operation/get_permission/builders.rs index 2df1647123bd..9e3c65bc37f5 100644 --- a/sdk/ram/src/operation/get_permission/builders.rs +++ b/sdk/ram/src/operation/get_permission/builders.rs @@ -19,9 +19,9 @@ impl GetPermissionFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl GetPermissionFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::get_permission::GetPermission, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                            Specifies the Amazon Resource Name (ARN) of the permission whose contents you want to retrieve. To find the ARN for a permission, use either the ListPermissions operation or go to the Permissions library page in the RAM console and then choose the name of the permission. The ARN is displayed on the detail page.

                                                                                                                                                                                                                                                            pub fn permission_arn( mut self, diff --git a/sdk/ram/src/operation/get_resource_policies/builders.rs b/sdk/ram/src/operation/get_resource_policies/builders.rs index b50d8ec315aa..f27a404c953d 100644 --- a/sdk/ram/src/operation/get_resource_policies/builders.rs +++ b/sdk/ram/src/operation/get_resource_policies/builders.rs @@ -19,9 +19,9 @@ impl GetResourcePoliciesFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl GetResourcePoliciesFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::get_resource_policies::GetResourcePolicies, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::get_resource_policies::GetResourcePoliciesError, + >, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::get_resource_policies::paginator::GetResourcePoliciesPaginator::send) which returns a `Stream`. diff --git a/sdk/ram/src/operation/get_resource_share_associations/builders.rs b/sdk/ram/src/operation/get_resource_share_associations/builders.rs index 37ea98ca2878..60fd74c96366 100644 --- a/sdk/ram/src/operation/get_resource_share_associations/builders.rs +++ b/sdk/ram/src/operation/get_resource_share_associations/builders.rs @@ -19,9 +19,9 @@ impl GetResourceShareAssociationsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl GetResourceShareAssociationsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::get_resource_share_associations::GetResourceShareAssociations, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::get_resource_share_associations::GetResourceShareAssociationsError, + >, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::get_resource_share_associations::paginator::GetResourceShareAssociationsPaginator::send) which returns a `Stream`. diff --git a/sdk/ram/src/operation/get_resource_share_invitations/builders.rs b/sdk/ram/src/operation/get_resource_share_invitations/builders.rs index b5aff4443490..a0fd070dd79b 100644 --- a/sdk/ram/src/operation/get_resource_share_invitations/builders.rs +++ b/sdk/ram/src/operation/get_resource_share_invitations/builders.rs @@ -19,9 +19,9 @@ impl GetResourceShareInvitationsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl GetResourceShareInvitationsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::get_resource_share_invitations::GetResourceShareInvitations, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::get_resource_share_invitations::GetResourceShareInvitationsError, + >, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::get_resource_share_invitations::paginator::GetResourceShareInvitationsPaginator::send) which returns a `Stream`. diff --git a/sdk/ram/src/operation/get_resource_shares/builders.rs b/sdk/ram/src/operation/get_resource_shares/builders.rs index 3f30931372ae..44e85e86b3ba 100644 --- a/sdk/ram/src/operation/get_resource_shares/builders.rs +++ b/sdk/ram/src/operation/get_resource_shares/builders.rs @@ -19,9 +19,9 @@ impl GetResourceSharesFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl GetResourceSharesFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::get_resource_shares::GetResourceShares, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::get_resource_shares::GetResourceSharesError, + >, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::get_resource_shares::paginator::GetResourceSharesPaginator::send) which returns a `Stream`. diff --git a/sdk/ram/src/operation/list_pending_invitation_resources/builders.rs b/sdk/ram/src/operation/list_pending_invitation_resources/builders.rs index 6237413cfeaf..0c2ec30d3743 100644 --- a/sdk/ram/src/operation/list_pending_invitation_resources/builders.rs +++ b/sdk/ram/src/operation/list_pending_invitation_resources/builders.rs @@ -19,9 +19,9 @@ impl ListPendingInvitationResourcesFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize(self) -> ::std::result::Result< + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware(self) -> ::std::result::Result< crate::client::customize::CustomizableOperation, ::aws_smithy_http::result::SdkError >{ @@ -64,6 +64,15 @@ impl ListPendingInvitationResourcesFluentBuilder { { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize(self) -> ::std::result::Result< + crate::client::customize::CustomizableOperation, + ::aws_smithy_http::result::SdkError + >{ + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::list_pending_invitation_resources::paginator::ListPendingInvitationResourcesPaginator::send) which returns a `Stream`. diff --git a/sdk/ram/src/operation/list_permission_associations/builders.rs b/sdk/ram/src/operation/list_permission_associations/builders.rs index 34fceaeac11e..08038725e202 100644 --- a/sdk/ram/src/operation/list_permission_associations/builders.rs +++ b/sdk/ram/src/operation/list_permission_associations/builders.rs @@ -19,9 +19,9 @@ impl ListPermissionAssociationsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl ListPermissionAssociationsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_permission_associations::ListPermissionAssociations, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::list_permission_associations::ListPermissionAssociationsError, + >, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::list_permission_associations::paginator::ListPermissionAssociationsPaginator::send) which returns a `Stream`. diff --git a/sdk/ram/src/operation/list_permission_versions/builders.rs b/sdk/ram/src/operation/list_permission_versions/builders.rs index b3d6bf05fe7d..d3bf7015557d 100644 --- a/sdk/ram/src/operation/list_permission_versions/builders.rs +++ b/sdk/ram/src/operation/list_permission_versions/builders.rs @@ -19,9 +19,9 @@ impl ListPermissionVersionsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl ListPermissionVersionsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_permission_versions::ListPermissionVersions, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::list_permission_versions::ListPermissionVersionsError, + >, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::list_permission_versions::paginator::ListPermissionVersionsPaginator::send) which returns a `Stream`. diff --git a/sdk/ram/src/operation/list_permissions/builders.rs b/sdk/ram/src/operation/list_permissions/builders.rs index 91e4c2d0095a..56bce0e88eb0 100644 --- a/sdk/ram/src/operation/list_permissions/builders.rs +++ b/sdk/ram/src/operation/list_permissions/builders.rs @@ -19,9 +19,9 @@ impl ListPermissionsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl ListPermissionsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_permissions::ListPermissions, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::list_permissions::ListPermissionsError, + >, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::list_permissions::paginator::ListPermissionsPaginator::send) which returns a `Stream`. diff --git a/sdk/ram/src/operation/list_principals/builders.rs b/sdk/ram/src/operation/list_principals/builders.rs index d34c197a8199..41817cc64608 100644 --- a/sdk/ram/src/operation/list_principals/builders.rs +++ b/sdk/ram/src/operation/list_principals/builders.rs @@ -19,9 +19,9 @@ impl ListPrincipalsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl ListPrincipalsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_principals::ListPrincipals, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::list_principals::paginator::ListPrincipalsPaginator::send) which returns a `Stream`. diff --git a/sdk/ram/src/operation/list_replace_permission_associations_work/builders.rs b/sdk/ram/src/operation/list_replace_permission_associations_work/builders.rs index de96b8c57c8e..d9a0a3610494 100644 --- a/sdk/ram/src/operation/list_replace_permission_associations_work/builders.rs +++ b/sdk/ram/src/operation/list_replace_permission_associations_work/builders.rs @@ -19,9 +19,9 @@ impl ListReplacePermissionAssociationsWorkFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize(self) -> ::std::result::Result< + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware(self) -> ::std::result::Result< crate::client::customize::CustomizableOperation, ::aws_smithy_http::result::SdkError >{ @@ -64,6 +64,15 @@ impl ListReplacePermissionAssociationsWorkFluentBuilder { { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize(self) -> ::std::result::Result< + crate::client::customize::CustomizableOperation, + ::aws_smithy_http::result::SdkError + >{ + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::list_replace_permission_associations_work::paginator::ListReplacePermissionAssociationsWorkPaginator::send) which returns a `Stream`. diff --git a/sdk/ram/src/operation/list_resource_share_permissions/builders.rs b/sdk/ram/src/operation/list_resource_share_permissions/builders.rs index 86dd5c68835c..6214c541a17d 100644 --- a/sdk/ram/src/operation/list_resource_share_permissions/builders.rs +++ b/sdk/ram/src/operation/list_resource_share_permissions/builders.rs @@ -19,9 +19,9 @@ impl ListResourceSharePermissionsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl ListResourceSharePermissionsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_resource_share_permissions::ListResourceSharePermissions, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::list_resource_share_permissions::ListResourceSharePermissionsError, + >, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::list_resource_share_permissions::paginator::ListResourceSharePermissionsPaginator::send) which returns a `Stream`. diff --git a/sdk/ram/src/operation/list_resource_types/builders.rs b/sdk/ram/src/operation/list_resource_types/builders.rs index c823dd91be97..eb3a53b713ad 100644 --- a/sdk/ram/src/operation/list_resource_types/builders.rs +++ b/sdk/ram/src/operation/list_resource_types/builders.rs @@ -19,9 +19,9 @@ impl ListResourceTypesFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl ListResourceTypesFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_resource_types::ListResourceTypes, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::list_resource_types::ListResourceTypesError, + >, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::list_resource_types::paginator::ListResourceTypesPaginator::send) which returns a `Stream`. diff --git a/sdk/ram/src/operation/list_resources/builders.rs b/sdk/ram/src/operation/list_resources/builders.rs index 003ccbec5a6f..1b774998e570 100644 --- a/sdk/ram/src/operation/list_resources/builders.rs +++ b/sdk/ram/src/operation/list_resources/builders.rs @@ -19,9 +19,9 @@ impl ListResourcesFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl ListResourcesFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_resources::ListResources, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::list_resources::paginator::ListResourcesPaginator::send) which returns a `Stream`. diff --git a/sdk/ram/src/operation/promote_permission_created_from_policy/builders.rs b/sdk/ram/src/operation/promote_permission_created_from_policy/builders.rs index 1fcd298eca27..37a308129845 100644 --- a/sdk/ram/src/operation/promote_permission_created_from_policy/builders.rs +++ b/sdk/ram/src/operation/promote_permission_created_from_policy/builders.rs @@ -27,9 +27,9 @@ impl PromotePermissionCreatedFromPolicyFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize(self) -> ::std::result::Result< + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware(self) -> ::std::result::Result< crate::client::customize::CustomizableOperation, ::aws_smithy_http::result::SdkError >{ @@ -72,6 +72,15 @@ impl PromotePermissionCreatedFromPolicyFluentBuilder { { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize(self) -> ::std::result::Result< + crate::client::customize::CustomizableOperation, + ::aws_smithy_http::result::SdkError + >{ + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                            Specifies the Amazon Resource Name (ARN) of the CREATED_FROM_POLICY permission that you want to promote. You can get this Amazon Resource Name (ARN) by calling the ListResourceSharePermissions operation.

                                                                                                                                                                                                                                                            pub fn permission_arn( mut self, diff --git a/sdk/ram/src/operation/promote_resource_share_created_from_policy/builders.rs b/sdk/ram/src/operation/promote_resource_share_created_from_policy/builders.rs index 01a5b64207f7..cec276bcde37 100644 --- a/sdk/ram/src/operation/promote_resource_share_created_from_policy/builders.rs +++ b/sdk/ram/src/operation/promote_resource_share_created_from_policy/builders.rs @@ -22,9 +22,9 @@ impl PromoteResourceShareCreatedFromPolicyFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize(self) -> ::std::result::Result< + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware(self) -> ::std::result::Result< crate::client::customize::CustomizableOperation, ::aws_smithy_http::result::SdkError >{ @@ -67,6 +67,15 @@ impl PromoteResourceShareCreatedFromPolicyFluentBuilder { { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize(self) -> ::std::result::Result< + crate::client::customize::CustomizableOperation, + ::aws_smithy_http::result::SdkError + >{ + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                            Specifies the Amazon Resource Name (ARN) of the resource share to promote.

                                                                                                                                                                                                                                                            pub fn resource_share_arn( mut self, diff --git a/sdk/ram/src/operation/reject_resource_share_invitation/builders.rs b/sdk/ram/src/operation/reject_resource_share_invitation/builders.rs index dd454fef731d..2515f86a6a9e 100644 --- a/sdk/ram/src/operation/reject_resource_share_invitation/builders.rs +++ b/sdk/ram/src/operation/reject_resource_share_invitation/builders.rs @@ -19,9 +19,9 @@ impl RejectResourceShareInvitationFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl RejectResourceShareInvitationFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::reject_resource_share_invitation::RejectResourceShareInvitation, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::reject_resource_share_invitation::RejectResourceShareInvitationError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                            Specifies the Amazon Resource Name (ARN) of the invitation that you want to reject.

                                                                                                                                                                                                                                                            pub fn resource_share_invitation_arn( mut self, diff --git a/sdk/ram/src/operation/replace_permission_associations/builders.rs b/sdk/ram/src/operation/replace_permission_associations/builders.rs index bb96fd5e67c3..706b871f15a8 100644 --- a/sdk/ram/src/operation/replace_permission_associations/builders.rs +++ b/sdk/ram/src/operation/replace_permission_associations/builders.rs @@ -23,9 +23,9 @@ impl ReplacePermissionAssociationsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -87,6 +87,22 @@ impl ReplacePermissionAssociationsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::replace_permission_associations::ReplacePermissionAssociations, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::replace_permission_associations::ReplacePermissionAssociationsError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                            Specifies the Amazon Resource Name (ARN) of the managed permission that you want to replace.

                                                                                                                                                                                                                                                            pub fn from_permission_arn( mut self, diff --git a/sdk/ram/src/operation/set_default_permission_version/builders.rs b/sdk/ram/src/operation/set_default_permission_version/builders.rs index 8e7721550c6f..987b83b449f2 100644 --- a/sdk/ram/src/operation/set_default_permission_version/builders.rs +++ b/sdk/ram/src/operation/set_default_permission_version/builders.rs @@ -19,9 +19,9 @@ impl SetDefaultPermissionVersionFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl SetDefaultPermissionVersionFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::set_default_permission_version::SetDefaultPermissionVersion, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::set_default_permission_version::SetDefaultPermissionVersionError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                            Specifies the Amazon Resource Name (ARN) of the customer managed permission whose default version you want to change.

                                                                                                                                                                                                                                                            pub fn permission_arn( mut self, diff --git a/sdk/ram/src/operation/tag_resource/builders.rs b/sdk/ram/src/operation/tag_resource/builders.rs index 192e4decac92..3897323e8b4a 100644 --- a/sdk/ram/src/operation/tag_resource/builders.rs +++ b/sdk/ram/src/operation/tag_resource/builders.rs @@ -20,9 +20,9 @@ impl TagResourceFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -78,6 +78,20 @@ impl TagResourceFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::tag_resource::TagResource, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                            Specifies the Amazon Resource Name (ARN) of the resource share that you want to add tags to. You must specify either resourceShareArn, or resourceArn, but not both.

                                                                                                                                                                                                                                                            pub fn resource_share_arn( mut self, diff --git a/sdk/ram/src/operation/untag_resource/builders.rs b/sdk/ram/src/operation/untag_resource/builders.rs index 250911d0b5ad..c97f713a341a 100644 --- a/sdk/ram/src/operation/untag_resource/builders.rs +++ b/sdk/ram/src/operation/untag_resource/builders.rs @@ -19,9 +19,9 @@ impl UntagResourceFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl UntagResourceFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::untag_resource::UntagResource, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                            Specifies the Amazon Resource Name (ARN) of the resource share that you want to remove tags from. The tags are removed from the resource share, not the resources in the resource share. You must specify either resourceShareArn, or resourceArn, but not both.

                                                                                                                                                                                                                                                            pub fn resource_share_arn( mut self, diff --git a/sdk/ram/src/operation/update_resource_share/builders.rs b/sdk/ram/src/operation/update_resource_share/builders.rs index c08e9abec0ac..6c960077bd35 100644 --- a/sdk/ram/src/operation/update_resource_share/builders.rs +++ b/sdk/ram/src/operation/update_resource_share/builders.rs @@ -19,9 +19,9 @@ impl UpdateResourceShareFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl UpdateResourceShareFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::update_resource_share::UpdateResourceShare, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::update_resource_share::UpdateResourceShareError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                            Specifies the Amazon Resource Name (ARN) of the resource share that you want to modify.

                                                                                                                                                                                                                                                            pub fn resource_share_arn( mut self, diff --git a/sdk/rbin/src/operation/create_rule/builders.rs b/sdk/rbin/src/operation/create_rule/builders.rs index 672caa7b786a..190fce239f01 100644 --- a/sdk/rbin/src/operation/create_rule/builders.rs +++ b/sdk/rbin/src/operation/create_rule/builders.rs @@ -19,9 +19,9 @@ impl CreateRuleFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl CreateRuleFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::create_rule::CreateRule, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                            Information about the retention period for which the retention rule is to retain resources.

                                                                                                                                                                                                                                                            pub fn retention_period(mut self, input: crate::types::RetentionPeriod) -> Self { self.inner = self.inner.retention_period(input); diff --git a/sdk/rbin/src/operation/delete_rule/builders.rs b/sdk/rbin/src/operation/delete_rule/builders.rs index 1ee4254d439d..ade20c99ae13 100644 --- a/sdk/rbin/src/operation/delete_rule/builders.rs +++ b/sdk/rbin/src/operation/delete_rule/builders.rs @@ -19,9 +19,9 @@ impl DeleteRuleFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl DeleteRuleFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::delete_rule::DeleteRule, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                            The unique ID of the retention rule.

                                                                                                                                                                                                                                                            pub fn identifier(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.identifier(input.into()); diff --git a/sdk/rbin/src/operation/get_rule/builders.rs b/sdk/rbin/src/operation/get_rule/builders.rs index 7f0b2ce281fd..4735d97d4d5e 100644 --- a/sdk/rbin/src/operation/get_rule/builders.rs +++ b/sdk/rbin/src/operation/get_rule/builders.rs @@ -19,9 +19,9 @@ impl GetRuleFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl GetRuleFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::get_rule::GetRule, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                            The unique ID of the retention rule.

                                                                                                                                                                                                                                                            pub fn identifier(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.identifier(input.into()); diff --git a/sdk/rbin/src/operation/list_rules/builders.rs b/sdk/rbin/src/operation/list_rules/builders.rs index c275b94b9c6f..1490b70d2dfe 100644 --- a/sdk/rbin/src/operation/list_rules/builders.rs +++ b/sdk/rbin/src/operation/list_rules/builders.rs @@ -19,9 +19,9 @@ impl ListRulesFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl ListRulesFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_rules::ListRules, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::list_rules::paginator::ListRulesPaginator::send) which returns a `Stream`. diff --git a/sdk/rbin/src/operation/list_tags_for_resource/builders.rs b/sdk/rbin/src/operation/list_tags_for_resource/builders.rs index db0d579ce7d2..3fb3bffe251c 100644 --- a/sdk/rbin/src/operation/list_tags_for_resource/builders.rs +++ b/sdk/rbin/src/operation/list_tags_for_resource/builders.rs @@ -19,9 +19,9 @@ impl ListTagsForResourceFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl ListTagsForResourceFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_tags_for_resource::ListTagsForResource, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::list_tags_for_resource::ListTagsForResourceError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                            The Amazon Resource Name (ARN) of the retention rule.

                                                                                                                                                                                                                                                            pub fn resource_arn(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.resource_arn(input.into()); diff --git a/sdk/rbin/src/operation/lock_rule/builders.rs b/sdk/rbin/src/operation/lock_rule/builders.rs index a231a71eb8b9..a5d8709fb9b0 100644 --- a/sdk/rbin/src/operation/lock_rule/builders.rs +++ b/sdk/rbin/src/operation/lock_rule/builders.rs @@ -19,9 +19,9 @@ impl LockRuleFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl LockRuleFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::lock_rule::LockRule, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                            The unique ID of the retention rule.

                                                                                                                                                                                                                                                            pub fn identifier(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.identifier(input.into()); diff --git a/sdk/rbin/src/operation/tag_resource/builders.rs b/sdk/rbin/src/operation/tag_resource/builders.rs index 66bc7cadae6e..8e90e2d46938 100644 --- a/sdk/rbin/src/operation/tag_resource/builders.rs +++ b/sdk/rbin/src/operation/tag_resource/builders.rs @@ -19,9 +19,9 @@ impl TagResourceFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl TagResourceFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::tag_resource::TagResource, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                            The Amazon Resource Name (ARN) of the retention rule.

                                                                                                                                                                                                                                                            pub fn resource_arn(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.resource_arn(input.into()); diff --git a/sdk/rbin/src/operation/unlock_rule/builders.rs b/sdk/rbin/src/operation/unlock_rule/builders.rs index 4616cb5b8a58..64c3611f6f3e 100644 --- a/sdk/rbin/src/operation/unlock_rule/builders.rs +++ b/sdk/rbin/src/operation/unlock_rule/builders.rs @@ -19,9 +19,9 @@ impl UnlockRuleFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl UnlockRuleFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::unlock_rule::UnlockRule, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                            The unique ID of the retention rule.

                                                                                                                                                                                                                                                            pub fn identifier(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.identifier(input.into()); diff --git a/sdk/rbin/src/operation/untag_resource/builders.rs b/sdk/rbin/src/operation/untag_resource/builders.rs index 2f6ec8e2c3c7..e402adcb8fd4 100644 --- a/sdk/rbin/src/operation/untag_resource/builders.rs +++ b/sdk/rbin/src/operation/untag_resource/builders.rs @@ -19,9 +19,9 @@ impl UntagResourceFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl UntagResourceFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::untag_resource::UntagResource, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                            The Amazon Resource Name (ARN) of the retention rule.

                                                                                                                                                                                                                                                            pub fn resource_arn(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.resource_arn(input.into()); diff --git a/sdk/rbin/src/operation/update_rule/builders.rs b/sdk/rbin/src/operation/update_rule/builders.rs index 2104cf5ea206..f9921498f303 100644 --- a/sdk/rbin/src/operation/update_rule/builders.rs +++ b/sdk/rbin/src/operation/update_rule/builders.rs @@ -19,9 +19,9 @@ impl UpdateRuleFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl UpdateRuleFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::update_rule::UpdateRule, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                            The unique ID of the retention rule.

                                                                                                                                                                                                                                                            pub fn identifier(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.identifier(input.into()); diff --git a/sdk/rds/src/operation/add_role_to_db_cluster/builders.rs b/sdk/rds/src/operation/add_role_to_db_cluster/builders.rs index 069d19d0d8d0..1e87bd80d536 100644 --- a/sdk/rds/src/operation/add_role_to_db_cluster/builders.rs +++ b/sdk/rds/src/operation/add_role_to_db_cluster/builders.rs @@ -19,9 +19,9 @@ impl AddRoleToDBClusterFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl AddRoleToDBClusterFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::add_role_to_db_cluster::AddRoleToDBCluster, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::add_role_to_db_cluster::AddRoleToDBClusterError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                            The name of the DB cluster to associate the IAM role with.

                                                                                                                                                                                                                                                            pub fn db_cluster_identifier( mut self, diff --git a/sdk/rds/src/operation/add_role_to_db_instance/builders.rs b/sdk/rds/src/operation/add_role_to_db_instance/builders.rs index 610d502f2292..e02ad931c248 100644 --- a/sdk/rds/src/operation/add_role_to_db_instance/builders.rs +++ b/sdk/rds/src/operation/add_role_to_db_instance/builders.rs @@ -22,9 +22,9 @@ impl AddRoleToDBInstanceFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -86,6 +86,22 @@ impl AddRoleToDBInstanceFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::add_role_to_db_instance::AddRoleToDBInstance, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::add_role_to_db_instance::AddRoleToDBInstanceError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                            The name of the DB instance to associate the IAM role with.

                                                                                                                                                                                                                                                            pub fn db_instance_identifier( mut self, diff --git a/sdk/rds/src/operation/add_source_identifier_to_subscription/builders.rs b/sdk/rds/src/operation/add_source_identifier_to_subscription/builders.rs index 20810bfa5f9d..26e6f12d55bd 100644 --- a/sdk/rds/src/operation/add_source_identifier_to_subscription/builders.rs +++ b/sdk/rds/src/operation/add_source_identifier_to_subscription/builders.rs @@ -19,9 +19,9 @@ impl AddSourceIdentifierToSubscriptionFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize(self) -> ::std::result::Result< + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware(self) -> ::std::result::Result< crate::client::customize::CustomizableOperation, ::aws_smithy_http::result::SdkError >{ @@ -64,6 +64,15 @@ impl AddSourceIdentifierToSubscriptionFluentBuilder { { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize(self) -> ::std::result::Result< + crate::client::customize::CustomizableOperation, + ::aws_smithy_http::result::SdkError + >{ + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                            The name of the RDS event notification subscription you want to add a source identifier to.

                                                                                                                                                                                                                                                            pub fn subscription_name( mut self, diff --git a/sdk/rds/src/operation/add_tags_to_resource/builders.rs b/sdk/rds/src/operation/add_tags_to_resource/builders.rs index b58f09ed763d..ae00687da3b6 100644 --- a/sdk/rds/src/operation/add_tags_to_resource/builders.rs +++ b/sdk/rds/src/operation/add_tags_to_resource/builders.rs @@ -20,9 +20,9 @@ impl AddTagsToResourceFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -84,6 +84,22 @@ impl AddTagsToResourceFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::add_tags_to_resource::AddTagsToResource, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::add_tags_to_resource::AddTagsToResourceError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                            The Amazon RDS resource that the tags are added to. This value is an Amazon Resource Name (ARN). For information about creating an ARN, see Constructing an RDS Amazon Resource Name (ARN).

                                                                                                                                                                                                                                                            pub fn resource_name( mut self, diff --git a/sdk/rds/src/operation/apply_pending_maintenance_action/builders.rs b/sdk/rds/src/operation/apply_pending_maintenance_action/builders.rs index ee18f410484d..153d8e481560 100644 --- a/sdk/rds/src/operation/apply_pending_maintenance_action/builders.rs +++ b/sdk/rds/src/operation/apply_pending_maintenance_action/builders.rs @@ -19,9 +19,9 @@ impl ApplyPendingMaintenanceActionFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl ApplyPendingMaintenanceActionFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::apply_pending_maintenance_action::ApplyPendingMaintenanceAction, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::apply_pending_maintenance_action::ApplyPendingMaintenanceActionError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                            The RDS Amazon Resource Name (ARN) of the resource that the pending maintenance action applies to. For information about creating an ARN, see Constructing an RDS Amazon Resource Name (ARN).

                                                                                                                                                                                                                                                            pub fn resource_identifier( mut self, diff --git a/sdk/rds/src/operation/authorize_db_security_group_ingress/builders.rs b/sdk/rds/src/operation/authorize_db_security_group_ingress/builders.rs index 268fe6bf9b17..0bbcceed5653 100644 --- a/sdk/rds/src/operation/authorize_db_security_group_ingress/builders.rs +++ b/sdk/rds/src/operation/authorize_db_security_group_ingress/builders.rs @@ -23,9 +23,9 @@ impl AuthorizeDBSecurityGroupIngressFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize(self) -> ::std::result::Result< + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware(self) -> ::std::result::Result< crate::client::customize::CustomizableOperation, ::aws_smithy_http::result::SdkError >{ @@ -68,6 +68,15 @@ impl AuthorizeDBSecurityGroupIngressFluentBuilder { { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize(self) -> ::std::result::Result< + crate::client::customize::CustomizableOperation, + ::aws_smithy_http::result::SdkError + >{ + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                            The name of the DB security group to add authorization to.

                                                                                                                                                                                                                                                            pub fn db_security_group_name( mut self, diff --git a/sdk/rds/src/operation/backtrack_db_cluster/builders.rs b/sdk/rds/src/operation/backtrack_db_cluster/builders.rs index 31b4ec4ed0df..e141f18f3a9e 100644 --- a/sdk/rds/src/operation/backtrack_db_cluster/builders.rs +++ b/sdk/rds/src/operation/backtrack_db_cluster/builders.rs @@ -22,9 +22,9 @@ impl BacktrackDBClusterFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -86,6 +86,22 @@ impl BacktrackDBClusterFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::backtrack_db_cluster::BacktrackDBCluster, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::backtrack_db_cluster::BacktrackDBClusterError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                            The DB cluster identifier of the DB cluster to be backtracked. This parameter is stored as a lowercase string.

                                                                                                                                                                                                                                                            ///

                                                                                                                                                                                                                                                            Constraints:

                                                                                                                                                                                                                                                            ///
                                                                                                                                                                                                                                                              diff --git a/sdk/rds/src/operation/cancel_export_task/builders.rs b/sdk/rds/src/operation/cancel_export_task/builders.rs index 4da10159bf0f..3f8a8e35c4fe 100644 --- a/sdk/rds/src/operation/cancel_export_task/builders.rs +++ b/sdk/rds/src/operation/cancel_export_task/builders.rs @@ -19,9 +19,9 @@ impl CancelExportTaskFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl CancelExportTaskFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::cancel_export_task::CancelExportTask, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::cancel_export_task::CancelExportTaskError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                              The identifier of the snapshot or cluster export task to cancel.

                                                                                                                                                                                                                                                              pub fn export_task_identifier( mut self, diff --git a/sdk/rds/src/operation/copy_db_cluster_parameter_group/builders.rs b/sdk/rds/src/operation/copy_db_cluster_parameter_group/builders.rs index b2718e5b8887..693b8ff875ac 100644 --- a/sdk/rds/src/operation/copy_db_cluster_parameter_group/builders.rs +++ b/sdk/rds/src/operation/copy_db_cluster_parameter_group/builders.rs @@ -19,9 +19,9 @@ impl CopyDBClusterParameterGroupFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl CopyDBClusterParameterGroupFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::copy_db_cluster_parameter_group::CopyDBClusterParameterGroup, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::copy_db_cluster_parameter_group::CopyDBClusterParameterGroupError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                              The identifier or Amazon Resource Name (ARN) for the source DB cluster parameter group. For information about creating an ARN, see Constructing an ARN for Amazon RDS in the Amazon Aurora User Guide.

                                                                                                                                                                                                                                                              ///

                                                                                                                                                                                                                                                              Constraints:

                                                                                                                                                                                                                                                              ///
                                                                                                                                                                                                                                                                diff --git a/sdk/rds/src/operation/copy_db_cluster_snapshot/builders.rs b/sdk/rds/src/operation/copy_db_cluster_snapshot/builders.rs index 077fed902079..d35216b37c6e 100644 --- a/sdk/rds/src/operation/copy_db_cluster_snapshot/builders.rs +++ b/sdk/rds/src/operation/copy_db_cluster_snapshot/builders.rs @@ -30,9 +30,9 @@ impl CopyDBClusterSnapshotFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -94,6 +94,22 @@ impl CopyDBClusterSnapshotFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::copy_db_cluster_snapshot::CopyDBClusterSnapshot, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::copy_db_cluster_snapshot::CopyDBClusterSnapshotError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                The identifier of the DB cluster snapshot to copy. This parameter isn't case-sensitive.

                                                                                                                                                                                                                                                                ///

                                                                                                                                                                                                                                                                You can't copy an encrypted, shared DB cluster snapshot from one Amazon Web Services Region to another.

                                                                                                                                                                                                                                                                ///

                                                                                                                                                                                                                                                                Constraints:

                                                                                                                                                                                                                                                                diff --git a/sdk/rds/src/operation/copy_db_parameter_group/builders.rs b/sdk/rds/src/operation/copy_db_parameter_group/builders.rs index 49883cd25a3a..cd2c308b9be7 100644 --- a/sdk/rds/src/operation/copy_db_parameter_group/builders.rs +++ b/sdk/rds/src/operation/copy_db_parameter_group/builders.rs @@ -19,9 +19,9 @@ impl CopyDBParameterGroupFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl CopyDBParameterGroupFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::copy_db_parameter_group::CopyDBParameterGroup, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::copy_db_parameter_group::CopyDBParameterGroupError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                The identifier or ARN for the source DB parameter group. For information about creating an ARN, see Constructing an ARN for Amazon RDS in the Amazon RDS User Guide.

                                                                                                                                                                                                                                                                ///

                                                                                                                                                                                                                                                                Constraints:

                                                                                                                                                                                                                                                                ///
                                                                                                                                                                                                                                                                  diff --git a/sdk/rds/src/operation/copy_db_snapshot/builders.rs b/sdk/rds/src/operation/copy_db_snapshot/builders.rs index 6d18bf53bc1b..a60382fa8109 100644 --- a/sdk/rds/src/operation/copy_db_snapshot/builders.rs +++ b/sdk/rds/src/operation/copy_db_snapshot/builders.rs @@ -22,9 +22,9 @@ impl CopyDBSnapshotFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -86,6 +86,22 @@ impl CopyDBSnapshotFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::copy_db_snapshot::CopyDBSnapshot, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::copy_db_snapshot::CopyDBSnapshotError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                  The identifier for the source DB snapshot.

                                                                                                                                                                                                                                                                  ///

                                                                                                                                                                                                                                                                  If the source snapshot is in the same Amazon Web Services Region as the copy, specify a valid DB snapshot identifier. For example, you might specify rds:mysql-instance1-snapshot-20130805.

                                                                                                                                                                                                                                                                  ///

                                                                                                                                                                                                                                                                  If the source snapshot is in a different Amazon Web Services Region than the copy, specify a valid DB snapshot ARN. For example, you might specify arn:aws:rds:us-west-2:123456789012:snapshot:mysql-instance1-snapshot-20130805.

                                                                                                                                                                                                                                                                  diff --git a/sdk/rds/src/operation/copy_option_group/builders.rs b/sdk/rds/src/operation/copy_option_group/builders.rs index b05c6e9c2110..24c4edcc6dcf 100644 --- a/sdk/rds/src/operation/copy_option_group/builders.rs +++ b/sdk/rds/src/operation/copy_option_group/builders.rs @@ -19,9 +19,9 @@ impl CopyOptionGroupFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl CopyOptionGroupFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::copy_option_group::CopyOptionGroup, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::copy_option_group::CopyOptionGroupError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                  The identifier for the source option group.

                                                                                                                                                                                                                                                                  ///

                                                                                                                                                                                                                                                                  Constraints:

                                                                                                                                                                                                                                                                  ///
                                                                                                                                                                                                                                                                    diff --git a/sdk/rds/src/operation/create_blue_green_deployment/builders.rs b/sdk/rds/src/operation/create_blue_green_deployment/builders.rs index 3c5748b5fb84..bbad82dee229 100644 --- a/sdk/rds/src/operation/create_blue_green_deployment/builders.rs +++ b/sdk/rds/src/operation/create_blue_green_deployment/builders.rs @@ -22,9 +22,9 @@ impl CreateBlueGreenDeploymentFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -86,6 +86,22 @@ impl CreateBlueGreenDeploymentFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::create_blue_green_deployment::CreateBlueGreenDeployment, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::create_blue_green_deployment::CreateBlueGreenDeploymentError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                    The name of the blue/green deployment.

                                                                                                                                                                                                                                                                    ///

                                                                                                                                                                                                                                                                    Constraints:

                                                                                                                                                                                                                                                                    ///
                                                                                                                                                                                                                                                                      diff --git a/sdk/rds/src/operation/create_custom_db_engine_version/builders.rs b/sdk/rds/src/operation/create_custom_db_engine_version/builders.rs index 236956f4343c..6187c98daa1b 100644 --- a/sdk/rds/src/operation/create_custom_db_engine_version/builders.rs +++ b/sdk/rds/src/operation/create_custom_db_engine_version/builders.rs @@ -19,9 +19,9 @@ impl CreateCustomDBEngineVersionFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl CreateCustomDBEngineVersionFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::create_custom_db_engine_version::CreateCustomDBEngineVersion, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::create_custom_db_engine_version::CreateCustomDBEngineVersionError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                      The database engine to use for your custom engine version (CEV). The only supported value is custom-oracle-ee.

                                                                                                                                                                                                                                                                      pub fn engine(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.engine(input.into()); diff --git a/sdk/rds/src/operation/create_db_cluster/builders.rs b/sdk/rds/src/operation/create_db_cluster/builders.rs index a1bb73b8b232..92ecb267386f 100644 --- a/sdk/rds/src/operation/create_db_cluster/builders.rs +++ b/sdk/rds/src/operation/create_db_cluster/builders.rs @@ -22,9 +22,9 @@ impl CreateDBClusterFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -86,6 +86,22 @@ impl CreateDBClusterFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::create_db_cluster::CreateDBCluster, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::create_db_cluster::CreateDBClusterError, + >, + > { + self.customize_middleware().await + } /// Appends an item to `AvailabilityZones`. /// /// To override the contents of this collection use [`set_availability_zones`](Self::set_availability_zones). diff --git a/sdk/rds/src/operation/create_db_cluster_endpoint/builders.rs b/sdk/rds/src/operation/create_db_cluster_endpoint/builders.rs index 28fb66e4de93..a6a1cccdfb9c 100644 --- a/sdk/rds/src/operation/create_db_cluster_endpoint/builders.rs +++ b/sdk/rds/src/operation/create_db_cluster_endpoint/builders.rs @@ -22,9 +22,9 @@ impl CreateDBClusterEndpointFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -86,6 +86,22 @@ impl CreateDBClusterEndpointFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::create_db_cluster_endpoint::CreateDBClusterEndpoint, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::create_db_cluster_endpoint::CreateDBClusterEndpointError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                      The DB cluster identifier of the DB cluster associated with the endpoint. This parameter is stored as a lowercase string.

                                                                                                                                                                                                                                                                      pub fn db_cluster_identifier( mut self, diff --git a/sdk/rds/src/operation/create_db_cluster_parameter_group/builders.rs b/sdk/rds/src/operation/create_db_cluster_parameter_group/builders.rs index b97ec2fa6a7c..64ffcb698e80 100644 --- a/sdk/rds/src/operation/create_db_cluster_parameter_group/builders.rs +++ b/sdk/rds/src/operation/create_db_cluster_parameter_group/builders.rs @@ -27,9 +27,9 @@ impl CreateDBClusterParameterGroupFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -91,6 +91,22 @@ impl CreateDBClusterParameterGroupFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::create_db_cluster_parameter_group::CreateDBClusterParameterGroup, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::create_db_cluster_parameter_group::CreateDBClusterParameterGroupError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                      The name of the DB cluster parameter group.

                                                                                                                                                                                                                                                                      ///

                                                                                                                                                                                                                                                                      Constraints:

                                                                                                                                                                                                                                                                      ///
                                                                                                                                                                                                                                                                        diff --git a/sdk/rds/src/operation/create_db_cluster_snapshot/builders.rs b/sdk/rds/src/operation/create_db_cluster_snapshot/builders.rs index 8492ef73aa3d..22e1acfe53cd 100644 --- a/sdk/rds/src/operation/create_db_cluster_snapshot/builders.rs +++ b/sdk/rds/src/operation/create_db_cluster_snapshot/builders.rs @@ -22,9 +22,9 @@ impl CreateDBClusterSnapshotFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -86,6 +86,22 @@ impl CreateDBClusterSnapshotFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::create_db_cluster_snapshot::CreateDBClusterSnapshot, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::create_db_cluster_snapshot::CreateDBClusterSnapshotError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                        The identifier of the DB cluster snapshot. This parameter is stored as a lowercase string.

                                                                                                                                                                                                                                                                        ///

                                                                                                                                                                                                                                                                        Constraints:

                                                                                                                                                                                                                                                                        ///
                                                                                                                                                                                                                                                                          diff --git a/sdk/rds/src/operation/create_db_instance/builders.rs b/sdk/rds/src/operation/create_db_instance/builders.rs index dda6226fff16..cf80b3ed2669 100644 --- a/sdk/rds/src/operation/create_db_instance/builders.rs +++ b/sdk/rds/src/operation/create_db_instance/builders.rs @@ -22,9 +22,9 @@ impl CreateDBInstanceFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -86,6 +86,22 @@ impl CreateDBInstanceFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::create_db_instance::CreateDBInstance, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::create_db_instance::CreateDBInstanceError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                          The meaning of this parameter differs according to the database engine you use.

                                                                                                                                                                                                                                                                          ///

                                                                                                                                                                                                                                                                          MySQL

                                                                                                                                                                                                                                                                          ///

                                                                                                                                                                                                                                                                          The name of the database to create when the DB instance is created. If this parameter isn't specified, no database is created in the DB instance.

                                                                                                                                                                                                                                                                          diff --git a/sdk/rds/src/operation/create_db_instance_read_replica/builders.rs b/sdk/rds/src/operation/create_db_instance_read_replica/builders.rs index 5798677e19c0..5af2cf9781dc 100644 --- a/sdk/rds/src/operation/create_db_instance_read_replica/builders.rs +++ b/sdk/rds/src/operation/create_db_instance_read_replica/builders.rs @@ -23,9 +23,9 @@ impl CreateDBInstanceReadReplicaFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -87,6 +87,22 @@ impl CreateDBInstanceReadReplicaFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::create_db_instance_read_replica::CreateDBInstanceReadReplica, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::create_db_instance_read_replica::CreateDBInstanceReadReplicaError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                          The DB instance identifier of the read replica. This identifier is the unique key that identifies a DB instance. This parameter is stored as a lowercase string.

                                                                                                                                                                                                                                                                          pub fn db_instance_identifier( mut self, diff --git a/sdk/rds/src/operation/create_db_parameter_group/builders.rs b/sdk/rds/src/operation/create_db_parameter_group/builders.rs index 8a9d23cb8378..9f0aced95bb5 100644 --- a/sdk/rds/src/operation/create_db_parameter_group/builders.rs +++ b/sdk/rds/src/operation/create_db_parameter_group/builders.rs @@ -24,9 +24,9 @@ impl CreateDBParameterGroupFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -88,6 +88,22 @@ impl CreateDBParameterGroupFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::create_db_parameter_group::CreateDBParameterGroup, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::create_db_parameter_group::CreateDBParameterGroupError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                          The name of the DB parameter group.

                                                                                                                                                                                                                                                                          ///

                                                                                                                                                                                                                                                                          Constraints:

                                                                                                                                                                                                                                                                          ///
                                                                                                                                                                                                                                                                            diff --git a/sdk/rds/src/operation/create_db_proxy/builders.rs b/sdk/rds/src/operation/create_db_proxy/builders.rs index 511c3eb7d8d3..1cec58504b13 100644 --- a/sdk/rds/src/operation/create_db_proxy/builders.rs +++ b/sdk/rds/src/operation/create_db_proxy/builders.rs @@ -19,9 +19,9 @@ impl CreateDBProxyFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl CreateDBProxyFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::create_db_proxy::CreateDBProxy, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                            The identifier for the proxy. This name must be unique for all proxies owned by your Amazon Web Services account in the specified Amazon Web Services Region. An identifier must begin with a letter and must contain only ASCII letters, digits, and hyphens; it can't end with a hyphen or contain two consecutive hyphens.

                                                                                                                                                                                                                                                                            pub fn db_proxy_name( mut self, diff --git a/sdk/rds/src/operation/create_db_proxy_endpoint/builders.rs b/sdk/rds/src/operation/create_db_proxy_endpoint/builders.rs index b1530d57d0d6..f6254c15f5d9 100644 --- a/sdk/rds/src/operation/create_db_proxy_endpoint/builders.rs +++ b/sdk/rds/src/operation/create_db_proxy_endpoint/builders.rs @@ -19,9 +19,9 @@ impl CreateDBProxyEndpointFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl CreateDBProxyEndpointFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::create_db_proxy_endpoint::CreateDBProxyEndpoint, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::create_db_proxy_endpoint::CreateDBProxyEndpointError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                            The name of the DB proxy associated with the DB proxy endpoint that you create.

                                                                                                                                                                                                                                                                            pub fn db_proxy_name( mut self, diff --git a/sdk/rds/src/operation/create_db_security_group/builders.rs b/sdk/rds/src/operation/create_db_security_group/builders.rs index 58a42d7190f5..d337807f5a1b 100644 --- a/sdk/rds/src/operation/create_db_security_group/builders.rs +++ b/sdk/rds/src/operation/create_db_security_group/builders.rs @@ -22,9 +22,9 @@ impl CreateDBSecurityGroupFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -86,6 +86,22 @@ impl CreateDBSecurityGroupFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::create_db_security_group::CreateDBSecurityGroup, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::create_db_security_group::CreateDBSecurityGroupError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                            The name for the DB security group. This value is stored as a lowercase string.

                                                                                                                                                                                                                                                                            ///

                                                                                                                                                                                                                                                                            Constraints:

                                                                                                                                                                                                                                                                            ///
                                                                                                                                                                                                                                                                              diff --git a/sdk/rds/src/operation/create_db_snapshot/builders.rs b/sdk/rds/src/operation/create_db_snapshot/builders.rs index 0a817fa63d75..e94bb2a81417 100644 --- a/sdk/rds/src/operation/create_db_snapshot/builders.rs +++ b/sdk/rds/src/operation/create_db_snapshot/builders.rs @@ -19,9 +19,9 @@ impl CreateDBSnapshotFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl CreateDBSnapshotFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::create_db_snapshot::CreateDBSnapshot, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::create_db_snapshot::CreateDBSnapshotError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                              The identifier for the DB snapshot.

                                                                                                                                                                                                                                                                              ///

                                                                                                                                                                                                                                                                              Constraints:

                                                                                                                                                                                                                                                                              ///
                                                                                                                                                                                                                                                                                diff --git a/sdk/rds/src/operation/create_db_subnet_group/builders.rs b/sdk/rds/src/operation/create_db_subnet_group/builders.rs index 68259517eef4..a4e612738296 100644 --- a/sdk/rds/src/operation/create_db_subnet_group/builders.rs +++ b/sdk/rds/src/operation/create_db_subnet_group/builders.rs @@ -19,9 +19,9 @@ impl CreateDBSubnetGroupFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl CreateDBSubnetGroupFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::create_db_subnet_group::CreateDBSubnetGroup, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::create_db_subnet_group::CreateDBSubnetGroupError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                The name for the DB subnet group. This value is stored as a lowercase string.

                                                                                                                                                                                                                                                                                ///

                                                                                                                                                                                                                                                                                Constraints:

                                                                                                                                                                                                                                                                                ///
                                                                                                                                                                                                                                                                                  diff --git a/sdk/rds/src/operation/create_event_subscription/builders.rs b/sdk/rds/src/operation/create_event_subscription/builders.rs index ae8cbb34e223..f45f26eabae2 100644 --- a/sdk/rds/src/operation/create_event_subscription/builders.rs +++ b/sdk/rds/src/operation/create_event_subscription/builders.rs @@ -24,9 +24,9 @@ impl CreateEventSubscriptionFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -88,6 +88,22 @@ impl CreateEventSubscriptionFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::create_event_subscription::CreateEventSubscription, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::create_event_subscription::CreateEventSubscriptionError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                  The name of the subscription.

                                                                                                                                                                                                                                                                                  ///

                                                                                                                                                                                                                                                                                  Constraints: The name must be less than 255 characters.

                                                                                                                                                                                                                                                                                  pub fn subscription_name( diff --git a/sdk/rds/src/operation/create_global_cluster/builders.rs b/sdk/rds/src/operation/create_global_cluster/builders.rs index eb1124b6a78b..d20204cc6cf4 100644 --- a/sdk/rds/src/operation/create_global_cluster/builders.rs +++ b/sdk/rds/src/operation/create_global_cluster/builders.rs @@ -22,9 +22,9 @@ impl CreateGlobalClusterFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -86,6 +86,22 @@ impl CreateGlobalClusterFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::create_global_cluster::CreateGlobalCluster, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::create_global_cluster::CreateGlobalClusterError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                  The cluster identifier of the new global database cluster. This parameter is stored as a lowercase string.

                                                                                                                                                                                                                                                                                  pub fn global_cluster_identifier( mut self, diff --git a/sdk/rds/src/operation/create_option_group/builders.rs b/sdk/rds/src/operation/create_option_group/builders.rs index 9ef96042aeba..add0c75468d8 100644 --- a/sdk/rds/src/operation/create_option_group/builders.rs +++ b/sdk/rds/src/operation/create_option_group/builders.rs @@ -20,9 +20,9 @@ impl CreateOptionGroupFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -84,6 +84,22 @@ impl CreateOptionGroupFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::create_option_group::CreateOptionGroup, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::create_option_group::CreateOptionGroupError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                  Specifies the name of the option group to be created.

                                                                                                                                                                                                                                                                                  ///

                                                                                                                                                                                                                                                                                  Constraints:

                                                                                                                                                                                                                                                                                  ///
                                                                                                                                                                                                                                                                                    diff --git a/sdk/rds/src/operation/delete_blue_green_deployment/builders.rs b/sdk/rds/src/operation/delete_blue_green_deployment/builders.rs index 59f549a7ae1d..c525bd944c09 100644 --- a/sdk/rds/src/operation/delete_blue_green_deployment/builders.rs +++ b/sdk/rds/src/operation/delete_blue_green_deployment/builders.rs @@ -20,9 +20,9 @@ impl DeleteBlueGreenDeploymentFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -84,6 +84,22 @@ impl DeleteBlueGreenDeploymentFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::delete_blue_green_deployment::DeleteBlueGreenDeployment, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::delete_blue_green_deployment::DeleteBlueGreenDeploymentError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                    The blue/green deployment identifier of the deployment to be deleted. This parameter isn't case-sensitive.

                                                                                                                                                                                                                                                                                    ///

                                                                                                                                                                                                                                                                                    Constraints:

                                                                                                                                                                                                                                                                                    ///
                                                                                                                                                                                                                                                                                      diff --git a/sdk/rds/src/operation/delete_custom_db_engine_version/builders.rs b/sdk/rds/src/operation/delete_custom_db_engine_version/builders.rs index b252a7edea34..45f3d41d8243 100644 --- a/sdk/rds/src/operation/delete_custom_db_engine_version/builders.rs +++ b/sdk/rds/src/operation/delete_custom_db_engine_version/builders.rs @@ -27,9 +27,9 @@ impl DeleteCustomDBEngineVersionFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -91,6 +91,22 @@ impl DeleteCustomDBEngineVersionFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::delete_custom_db_engine_version::DeleteCustomDBEngineVersion, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::delete_custom_db_engine_version::DeleteCustomDBEngineVersionError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                      The database engine. The only supported engines are custom-oracle-ee and custom-oracle-ee-cdb.

                                                                                                                                                                                                                                                                                      pub fn engine(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.engine(input.into()); diff --git a/sdk/rds/src/operation/delete_db_cluster/builders.rs b/sdk/rds/src/operation/delete_db_cluster/builders.rs index fa8575f7e2d1..254df6b5d948 100644 --- a/sdk/rds/src/operation/delete_db_cluster/builders.rs +++ b/sdk/rds/src/operation/delete_db_cluster/builders.rs @@ -22,9 +22,9 @@ impl DeleteDBClusterFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -86,6 +86,22 @@ impl DeleteDBClusterFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::delete_db_cluster::DeleteDBCluster, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::delete_db_cluster::DeleteDBClusterError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                      The DB cluster identifier for the DB cluster to be deleted. This parameter isn't case-sensitive.

                                                                                                                                                                                                                                                                                      ///

                                                                                                                                                                                                                                                                                      Constraints:

                                                                                                                                                                                                                                                                                      ///
                                                                                                                                                                                                                                                                                        diff --git a/sdk/rds/src/operation/delete_db_cluster_endpoint/builders.rs b/sdk/rds/src/operation/delete_db_cluster_endpoint/builders.rs index 63d15c85380a..d219d0120e45 100644 --- a/sdk/rds/src/operation/delete_db_cluster_endpoint/builders.rs +++ b/sdk/rds/src/operation/delete_db_cluster_endpoint/builders.rs @@ -22,9 +22,9 @@ impl DeleteDBClusterEndpointFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -86,6 +86,22 @@ impl DeleteDBClusterEndpointFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::delete_db_cluster_endpoint::DeleteDBClusterEndpoint, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::delete_db_cluster_endpoint::DeleteDBClusterEndpointError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                        The identifier associated with the custom endpoint. This parameter is stored as a lowercase string.

                                                                                                                                                                                                                                                                                        pub fn db_cluster_endpoint_identifier( mut self, diff --git a/sdk/rds/src/operation/delete_db_cluster_parameter_group/builders.rs b/sdk/rds/src/operation/delete_db_cluster_parameter_group/builders.rs index 6821eb9ba776..3d36ea424757 100644 --- a/sdk/rds/src/operation/delete_db_cluster_parameter_group/builders.rs +++ b/sdk/rds/src/operation/delete_db_cluster_parameter_group/builders.rs @@ -21,9 +21,9 @@ impl DeleteDBClusterParameterGroupFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -85,6 +85,22 @@ impl DeleteDBClusterParameterGroupFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::delete_db_cluster_parameter_group::DeleteDBClusterParameterGroup, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::delete_db_cluster_parameter_group::DeleteDBClusterParameterGroupError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                        The name of the DB cluster parameter group.

                                                                                                                                                                                                                                                                                        ///

                                                                                                                                                                                                                                                                                        Constraints:

                                                                                                                                                                                                                                                                                        ///
                                                                                                                                                                                                                                                                                          diff --git a/sdk/rds/src/operation/delete_db_cluster_snapshot/builders.rs b/sdk/rds/src/operation/delete_db_cluster_snapshot/builders.rs index 486d1dbef2e2..247c47b6b31c 100644 --- a/sdk/rds/src/operation/delete_db_cluster_snapshot/builders.rs +++ b/sdk/rds/src/operation/delete_db_cluster_snapshot/builders.rs @@ -24,9 +24,9 @@ impl DeleteDBClusterSnapshotFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -88,6 +88,22 @@ impl DeleteDBClusterSnapshotFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::delete_db_cluster_snapshot::DeleteDBClusterSnapshot, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::delete_db_cluster_snapshot::DeleteDBClusterSnapshotError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                          The identifier of the DB cluster snapshot to delete.

                                                                                                                                                                                                                                                                                          ///

                                                                                                                                                                                                                                                                                          Constraints: Must be the name of an existing DB cluster snapshot in the available state.

                                                                                                                                                                                                                                                                                          pub fn db_cluster_snapshot_identifier( diff --git a/sdk/rds/src/operation/delete_db_instance/builders.rs b/sdk/rds/src/operation/delete_db_instance/builders.rs index f430442fae25..c77e123fd1b2 100644 --- a/sdk/rds/src/operation/delete_db_instance/builders.rs +++ b/sdk/rds/src/operation/delete_db_instance/builders.rs @@ -27,9 +27,9 @@ impl DeleteDBInstanceFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -91,6 +91,22 @@ impl DeleteDBInstanceFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::delete_db_instance::DeleteDBInstance, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::delete_db_instance::DeleteDBInstanceError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                          The DB instance identifier for the DB instance to be deleted. This parameter isn't case-sensitive.

                                                                                                                                                                                                                                                                                          ///

                                                                                                                                                                                                                                                                                          Constraints:

                                                                                                                                                                                                                                                                                          ///
                                                                                                                                                                                                                                                                                            diff --git a/sdk/rds/src/operation/delete_db_instance_automated_backup/builders.rs b/sdk/rds/src/operation/delete_db_instance_automated_backup/builders.rs index bcfa7b81d4fc..f9ac6733efd2 100644 --- a/sdk/rds/src/operation/delete_db_instance_automated_backup/builders.rs +++ b/sdk/rds/src/operation/delete_db_instance_automated_backup/builders.rs @@ -19,9 +19,9 @@ impl DeleteDBInstanceAutomatedBackupFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize(self) -> ::std::result::Result< + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware(self) -> ::std::result::Result< crate::client::customize::CustomizableOperation, ::aws_smithy_http::result::SdkError >{ @@ -64,6 +64,15 @@ impl DeleteDBInstanceAutomatedBackupFluentBuilder { { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize(self) -> ::std::result::Result< + crate::client::customize::CustomizableOperation, + ::aws_smithy_http::result::SdkError + >{ + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                            The identifier for the source DB instance, which can't be changed and which is unique to an Amazon Web Services Region.

                                                                                                                                                                                                                                                                                            pub fn dbi_resource_id( mut self, diff --git a/sdk/rds/src/operation/delete_db_parameter_group/builders.rs b/sdk/rds/src/operation/delete_db_parameter_group/builders.rs index db7c74c480ec..c4d978f0b425 100644 --- a/sdk/rds/src/operation/delete_db_parameter_group/builders.rs +++ b/sdk/rds/src/operation/delete_db_parameter_group/builders.rs @@ -20,9 +20,9 @@ impl DeleteDBParameterGroupFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -84,6 +84,22 @@ impl DeleteDBParameterGroupFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::delete_db_parameter_group::DeleteDBParameterGroup, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::delete_db_parameter_group::DeleteDBParameterGroupError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                            The name of the DB parameter group.

                                                                                                                                                                                                                                                                                            ///

                                                                                                                                                                                                                                                                                            Constraints:

                                                                                                                                                                                                                                                                                            ///
                                                                                                                                                                                                                                                                                              diff --git a/sdk/rds/src/operation/delete_db_proxy/builders.rs b/sdk/rds/src/operation/delete_db_proxy/builders.rs index f0514a22d93f..90f132479bcb 100644 --- a/sdk/rds/src/operation/delete_db_proxy/builders.rs +++ b/sdk/rds/src/operation/delete_db_proxy/builders.rs @@ -19,9 +19,9 @@ impl DeleteDBProxyFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl DeleteDBProxyFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::delete_db_proxy::DeleteDBProxy, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                              The name of the DB proxy to delete.

                                                                                                                                                                                                                                                                                              pub fn db_proxy_name( mut self, diff --git a/sdk/rds/src/operation/delete_db_proxy_endpoint/builders.rs b/sdk/rds/src/operation/delete_db_proxy_endpoint/builders.rs index 8fb9a99b596f..5d266527452a 100644 --- a/sdk/rds/src/operation/delete_db_proxy_endpoint/builders.rs +++ b/sdk/rds/src/operation/delete_db_proxy_endpoint/builders.rs @@ -19,9 +19,9 @@ impl DeleteDBProxyEndpointFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl DeleteDBProxyEndpointFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::delete_db_proxy_endpoint::DeleteDBProxyEndpoint, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::delete_db_proxy_endpoint::DeleteDBProxyEndpointError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                              The name of the DB proxy endpoint to delete.

                                                                                                                                                                                                                                                                                              pub fn db_proxy_endpoint_name( mut self, diff --git a/sdk/rds/src/operation/delete_db_security_group/builders.rs b/sdk/rds/src/operation/delete_db_security_group/builders.rs index 7d29f11586ba..c199a4a01614 100644 --- a/sdk/rds/src/operation/delete_db_security_group/builders.rs +++ b/sdk/rds/src/operation/delete_db_security_group/builders.rs @@ -22,9 +22,9 @@ impl DeleteDBSecurityGroupFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -86,6 +86,22 @@ impl DeleteDBSecurityGroupFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::delete_db_security_group::DeleteDBSecurityGroup, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::delete_db_security_group::DeleteDBSecurityGroupError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                              The name of the DB security group to delete.

                                                                                                                                                                                                                                                                                              ///

                                                                                                                                                                                                                                                                                              You can't delete the default DB security group.

                                                                                                                                                                                                                                                                                              ///
                                                                                                                                                                                                                                                                                              diff --git a/sdk/rds/src/operation/delete_db_snapshot/builders.rs b/sdk/rds/src/operation/delete_db_snapshot/builders.rs index c87f6f3a9727..c02a3f69978a 100644 --- a/sdk/rds/src/operation/delete_db_snapshot/builders.rs +++ b/sdk/rds/src/operation/delete_db_snapshot/builders.rs @@ -21,9 +21,9 @@ impl DeleteDBSnapshotFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -85,6 +85,22 @@ impl DeleteDBSnapshotFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::delete_db_snapshot::DeleteDBSnapshot, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::delete_db_snapshot::DeleteDBSnapshotError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                              The DB snapshot identifier.

                                                                                                                                                                                                                                                                                              ///

                                                                                                                                                                                                                                                                                              Constraints: Must be the name of an existing DB snapshot in the available state.

                                                                                                                                                                                                                                                                                              pub fn db_snapshot_identifier( diff --git a/sdk/rds/src/operation/delete_db_subnet_group/builders.rs b/sdk/rds/src/operation/delete_db_subnet_group/builders.rs index 9ca56383fc01..1caf8495e87a 100644 --- a/sdk/rds/src/operation/delete_db_subnet_group/builders.rs +++ b/sdk/rds/src/operation/delete_db_subnet_group/builders.rs @@ -21,9 +21,9 @@ impl DeleteDBSubnetGroupFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -85,6 +85,22 @@ impl DeleteDBSubnetGroupFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::delete_db_subnet_group::DeleteDBSubnetGroup, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::delete_db_subnet_group::DeleteDBSubnetGroupError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                              The name of the database subnet group to delete.

                                                                                                                                                                                                                                                                                              ///

                                                                                                                                                                                                                                                                                              You can't delete the default subnet group.

                                                                                                                                                                                                                                                                                              ///
                                                                                                                                                                                                                                                                                              diff --git a/sdk/rds/src/operation/delete_event_subscription/builders.rs b/sdk/rds/src/operation/delete_event_subscription/builders.rs index 834a8c0757a1..7fc9111faf87 100644 --- a/sdk/rds/src/operation/delete_event_subscription/builders.rs +++ b/sdk/rds/src/operation/delete_event_subscription/builders.rs @@ -20,9 +20,9 @@ impl DeleteEventSubscriptionFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -84,6 +84,22 @@ impl DeleteEventSubscriptionFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::delete_event_subscription::DeleteEventSubscription, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::delete_event_subscription::DeleteEventSubscriptionError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                              The name of the RDS event notification subscription you want to delete.

                                                                                                                                                                                                                                                                                              pub fn subscription_name( mut self, diff --git a/sdk/rds/src/operation/delete_global_cluster/builders.rs b/sdk/rds/src/operation/delete_global_cluster/builders.rs index 38ab29c12918..39ef5e42e066 100644 --- a/sdk/rds/src/operation/delete_global_cluster/builders.rs +++ b/sdk/rds/src/operation/delete_global_cluster/builders.rs @@ -21,9 +21,9 @@ impl DeleteGlobalClusterFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -85,6 +85,22 @@ impl DeleteGlobalClusterFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::delete_global_cluster::DeleteGlobalCluster, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::delete_global_cluster::DeleteGlobalClusterError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                              The cluster identifier of the global database cluster being deleted.

                                                                                                                                                                                                                                                                                              pub fn global_cluster_identifier( mut self, diff --git a/sdk/rds/src/operation/delete_option_group/builders.rs b/sdk/rds/src/operation/delete_option_group/builders.rs index 791aaa6d34b0..c0d11953f40f 100644 --- a/sdk/rds/src/operation/delete_option_group/builders.rs +++ b/sdk/rds/src/operation/delete_option_group/builders.rs @@ -19,9 +19,9 @@ impl DeleteOptionGroupFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl DeleteOptionGroupFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::delete_option_group::DeleteOptionGroup, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::delete_option_group::DeleteOptionGroupError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                              The name of the option group to be deleted.

                                                                                                                                                                                                                                                                                              ///

                                                                                                                                                                                                                                                                                              You can't delete default option groups.

                                                                                                                                                                                                                                                                                              ///
                                                                                                                                                                                                                                                                                              diff --git a/sdk/rds/src/operation/deregister_db_proxy_targets/builders.rs b/sdk/rds/src/operation/deregister_db_proxy_targets/builders.rs index 27a0b8828e41..02d19ddf0bd6 100644 --- a/sdk/rds/src/operation/deregister_db_proxy_targets/builders.rs +++ b/sdk/rds/src/operation/deregister_db_proxy_targets/builders.rs @@ -19,9 +19,9 @@ impl DeregisterDBProxyTargetsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl DeregisterDBProxyTargetsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::deregister_db_proxy_targets::DeregisterDBProxyTargets, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::deregister_db_proxy_targets::DeregisterDBProxyTargetsError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                              The identifier of the DBProxy that is associated with the DBProxyTargetGroup.

                                                                                                                                                                                                                                                                                              pub fn db_proxy_name( mut self, diff --git a/sdk/rds/src/operation/describe_account_attributes/builders.rs b/sdk/rds/src/operation/describe_account_attributes/builders.rs index 033a09732c32..2708c8402402 100644 --- a/sdk/rds/src/operation/describe_account_attributes/builders.rs +++ b/sdk/rds/src/operation/describe_account_attributes/builders.rs @@ -20,9 +20,9 @@ impl DescribeAccountAttributesFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -84,4 +84,20 @@ impl DescribeAccountAttributesFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::describe_account_attributes::DescribeAccountAttributes, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::describe_account_attributes::DescribeAccountAttributesError, + >, + > { + self.customize_middleware().await + } } diff --git a/sdk/rds/src/operation/describe_blue_green_deployments/builders.rs b/sdk/rds/src/operation/describe_blue_green_deployments/builders.rs index d869df2bdc53..ceeb6f9238e9 100644 --- a/sdk/rds/src/operation/describe_blue_green_deployments/builders.rs +++ b/sdk/rds/src/operation/describe_blue_green_deployments/builders.rs @@ -20,9 +20,9 @@ impl DescribeBlueGreenDeploymentsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -84,6 +84,22 @@ impl DescribeBlueGreenDeploymentsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::describe_blue_green_deployments::DescribeBlueGreenDeployments, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::describe_blue_green_deployments::DescribeBlueGreenDeploymentsError, + >, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::describe_blue_green_deployments::paginator::DescribeBlueGreenDeploymentsPaginator::send) which returns a `Stream`. diff --git a/sdk/rds/src/operation/describe_certificates/builders.rs b/sdk/rds/src/operation/describe_certificates/builders.rs index 117fd420772c..afe57a910571 100644 --- a/sdk/rds/src/operation/describe_certificates/builders.rs +++ b/sdk/rds/src/operation/describe_certificates/builders.rs @@ -20,9 +20,9 @@ impl DescribeCertificatesFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -84,6 +84,22 @@ impl DescribeCertificatesFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::describe_certificates::DescribeCertificates, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::describe_certificates::DescribeCertificatesError, + >, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::describe_certificates::paginator::DescribeCertificatesPaginator::send) which returns a `Stream`. diff --git a/sdk/rds/src/operation/describe_db_cluster_backtracks/builders.rs b/sdk/rds/src/operation/describe_db_cluster_backtracks/builders.rs index dad492f45aa6..e1a302666cdc 100644 --- a/sdk/rds/src/operation/describe_db_cluster_backtracks/builders.rs +++ b/sdk/rds/src/operation/describe_db_cluster_backtracks/builders.rs @@ -22,9 +22,9 @@ impl DescribeDBClusterBacktracksFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -86,6 +86,22 @@ impl DescribeDBClusterBacktracksFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::describe_db_cluster_backtracks::DescribeDBClusterBacktracks, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::describe_db_cluster_backtracks::DescribeDBClusterBacktracksError, + >, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::describe_db_cluster_backtracks::paginator::DescribeDbClusterBacktracksPaginator::send) which returns a `Stream`. diff --git a/sdk/rds/src/operation/describe_db_cluster_endpoints/builders.rs b/sdk/rds/src/operation/describe_db_cluster_endpoints/builders.rs index 2c49d218f270..0f0ee43d0ac9 100644 --- a/sdk/rds/src/operation/describe_db_cluster_endpoints/builders.rs +++ b/sdk/rds/src/operation/describe_db_cluster_endpoints/builders.rs @@ -21,9 +21,9 @@ impl DescribeDBClusterEndpointsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -85,6 +85,22 @@ impl DescribeDBClusterEndpointsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::describe_db_cluster_endpoints::DescribeDBClusterEndpoints, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::describe_db_cluster_endpoints::DescribeDBClusterEndpointsError, + >, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::describe_db_cluster_endpoints::paginator::DescribeDbClusterEndpointsPaginator::send) which returns a `Stream`. diff --git a/sdk/rds/src/operation/describe_db_cluster_parameter_groups/builders.rs b/sdk/rds/src/operation/describe_db_cluster_parameter_groups/builders.rs index 94288f807791..e10134cba31d 100644 --- a/sdk/rds/src/operation/describe_db_cluster_parameter_groups/builders.rs +++ b/sdk/rds/src/operation/describe_db_cluster_parameter_groups/builders.rs @@ -21,9 +21,9 @@ impl DescribeDBClusterParameterGroupsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize(self) -> ::std::result::Result< + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware(self) -> ::std::result::Result< crate::client::customize::CustomizableOperation, ::aws_smithy_http::result::SdkError >{ @@ -66,6 +66,15 @@ impl DescribeDBClusterParameterGroupsFluentBuilder { { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize(self) -> ::std::result::Result< + crate::client::customize::CustomizableOperation, + ::aws_smithy_http::result::SdkError + >{ + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::describe_db_cluster_parameter_groups::paginator::DescribeDbClusterParameterGroupsPaginator::send) which returns a `Stream`. diff --git a/sdk/rds/src/operation/describe_db_cluster_parameters/builders.rs b/sdk/rds/src/operation/describe_db_cluster_parameters/builders.rs index 4629aba25f4a..8ebbd8318ada 100644 --- a/sdk/rds/src/operation/describe_db_cluster_parameters/builders.rs +++ b/sdk/rds/src/operation/describe_db_cluster_parameters/builders.rs @@ -21,9 +21,9 @@ impl DescribeDBClusterParametersFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -85,6 +85,22 @@ impl DescribeDBClusterParametersFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::describe_db_cluster_parameters::DescribeDBClusterParameters, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::describe_db_cluster_parameters::DescribeDBClusterParametersError, + >, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::describe_db_cluster_parameters::paginator::DescribeDbClusterParametersPaginator::send) which returns a `Stream`. diff --git a/sdk/rds/src/operation/describe_db_cluster_snapshot_attributes/builders.rs b/sdk/rds/src/operation/describe_db_cluster_snapshot_attributes/builders.rs index b18e7a70e78d..267bc669aee9 100644 --- a/sdk/rds/src/operation/describe_db_cluster_snapshot_attributes/builders.rs +++ b/sdk/rds/src/operation/describe_db_cluster_snapshot_attributes/builders.rs @@ -21,9 +21,9 @@ impl DescribeDBClusterSnapshotAttributesFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize(self) -> ::std::result::Result< + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware(self) -> ::std::result::Result< crate::client::customize::CustomizableOperation, ::aws_smithy_http::result::SdkError >{ @@ -66,6 +66,15 @@ impl DescribeDBClusterSnapshotAttributesFluentBuilder { { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize(self) -> ::std::result::Result< + crate::client::customize::CustomizableOperation, + ::aws_smithy_http::result::SdkError + >{ + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                              The identifier for the DB cluster snapshot to describe the attributes for.

                                                                                                                                                                                                                                                                                              pub fn db_cluster_snapshot_identifier( mut self, diff --git a/sdk/rds/src/operation/describe_db_cluster_snapshots/builders.rs b/sdk/rds/src/operation/describe_db_cluster_snapshots/builders.rs index 40413302715a..0e66c69900da 100644 --- a/sdk/rds/src/operation/describe_db_cluster_snapshots/builders.rs +++ b/sdk/rds/src/operation/describe_db_cluster_snapshots/builders.rs @@ -21,9 +21,9 @@ impl DescribeDBClusterSnapshotsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -85,6 +85,22 @@ impl DescribeDBClusterSnapshotsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::describe_db_cluster_snapshots::DescribeDBClusterSnapshots, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::describe_db_cluster_snapshots::DescribeDBClusterSnapshotsError, + >, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::describe_db_cluster_snapshots::paginator::DescribeDbClusterSnapshotsPaginator::send) which returns a `Stream`. diff --git a/sdk/rds/src/operation/describe_db_clusters/builders.rs b/sdk/rds/src/operation/describe_db_clusters/builders.rs index 5cc25a9a9233..109c489b8fc9 100644 --- a/sdk/rds/src/operation/describe_db_clusters/builders.rs +++ b/sdk/rds/src/operation/describe_db_clusters/builders.rs @@ -22,9 +22,9 @@ impl DescribeDBClustersFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -86,6 +86,22 @@ impl DescribeDBClustersFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::describe_db_clusters::DescribeDBClusters, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::describe_db_clusters::DescribeDBClustersError, + >, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::describe_db_clusters::paginator::DescribeDbClustersPaginator::send) which returns a `Stream`. diff --git a/sdk/rds/src/operation/describe_db_engine_versions/builders.rs b/sdk/rds/src/operation/describe_db_engine_versions/builders.rs index f21ec6f841b1..f8cbdf2b53ce 100644 --- a/sdk/rds/src/operation/describe_db_engine_versions/builders.rs +++ b/sdk/rds/src/operation/describe_db_engine_versions/builders.rs @@ -19,9 +19,9 @@ impl DescribeDBEngineVersionsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl DescribeDBEngineVersionsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::describe_db_engine_versions::DescribeDBEngineVersions, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::describe_db_engine_versions::DescribeDBEngineVersionsError, + >, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::describe_db_engine_versions::paginator::DescribeDbEngineVersionsPaginator::send) which returns a `Stream`. diff --git a/sdk/rds/src/operation/describe_db_instance_automated_backups/builders.rs b/sdk/rds/src/operation/describe_db_instance_automated_backups/builders.rs index a2db75f29248..22e34b316d8b 100644 --- a/sdk/rds/src/operation/describe_db_instance_automated_backups/builders.rs +++ b/sdk/rds/src/operation/describe_db_instance_automated_backups/builders.rs @@ -20,9 +20,9 @@ impl DescribeDBInstanceAutomatedBackupsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize(self) -> ::std::result::Result< + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware(self) -> ::std::result::Result< crate::client::customize::CustomizableOperation, ::aws_smithy_http::result::SdkError >{ @@ -65,6 +65,15 @@ impl DescribeDBInstanceAutomatedBackupsFluentBuilder { { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize(self) -> ::std::result::Result< + crate::client::customize::CustomizableOperation, + ::aws_smithy_http::result::SdkError + >{ + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::describe_db_instance_automated_backups::paginator::DescribeDbInstanceAutomatedBackupsPaginator::send) which returns a `Stream`. diff --git a/sdk/rds/src/operation/describe_db_instances/builders.rs b/sdk/rds/src/operation/describe_db_instances/builders.rs index 6ba70a5a28a4..9b7405210f98 100644 --- a/sdk/rds/src/operation/describe_db_instances/builders.rs +++ b/sdk/rds/src/operation/describe_db_instances/builders.rs @@ -21,9 +21,9 @@ impl DescribeDBInstancesFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -85,6 +85,22 @@ impl DescribeDBInstancesFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::describe_db_instances::DescribeDBInstances, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::describe_db_instances::DescribeDBInstancesError, + >, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::describe_db_instances::paginator::DescribeDbInstancesPaginator::send) which returns a `Stream`. diff --git a/sdk/rds/src/operation/describe_db_log_files/builders.rs b/sdk/rds/src/operation/describe_db_log_files/builders.rs index 022298775870..d187d323d037 100644 --- a/sdk/rds/src/operation/describe_db_log_files/builders.rs +++ b/sdk/rds/src/operation/describe_db_log_files/builders.rs @@ -20,9 +20,9 @@ impl DescribeDBLogFilesFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -84,6 +84,22 @@ impl DescribeDBLogFilesFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::describe_db_log_files::DescribeDBLogFiles, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::describe_db_log_files::DescribeDBLogFilesError, + >, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::describe_db_log_files::paginator::DescribeDbLogFilesPaginator::send) which returns a `Stream`. diff --git a/sdk/rds/src/operation/describe_db_parameter_groups/builders.rs b/sdk/rds/src/operation/describe_db_parameter_groups/builders.rs index fdf2eb2c1d9b..d8b36165e30a 100644 --- a/sdk/rds/src/operation/describe_db_parameter_groups/builders.rs +++ b/sdk/rds/src/operation/describe_db_parameter_groups/builders.rs @@ -19,9 +19,9 @@ impl DescribeDBParameterGroupsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl DescribeDBParameterGroupsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::describe_db_parameter_groups::DescribeDBParameterGroups, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::describe_db_parameter_groups::DescribeDBParameterGroupsError, + >, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::describe_db_parameter_groups::paginator::DescribeDbParameterGroupsPaginator::send) which returns a `Stream`. diff --git a/sdk/rds/src/operation/describe_db_parameters/builders.rs b/sdk/rds/src/operation/describe_db_parameters/builders.rs index 5d436abf031f..d2dca4798729 100644 --- a/sdk/rds/src/operation/describe_db_parameters/builders.rs +++ b/sdk/rds/src/operation/describe_db_parameters/builders.rs @@ -19,9 +19,9 @@ impl DescribeDBParametersFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl DescribeDBParametersFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::describe_db_parameters::DescribeDBParameters, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::describe_db_parameters::DescribeDBParametersError, + >, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::describe_db_parameters::paginator::DescribeDbParametersPaginator::send) which returns a `Stream`. diff --git a/sdk/rds/src/operation/describe_db_proxies/builders.rs b/sdk/rds/src/operation/describe_db_proxies/builders.rs index 302882c776f6..0d55b1f4e0df 100644 --- a/sdk/rds/src/operation/describe_db_proxies/builders.rs +++ b/sdk/rds/src/operation/describe_db_proxies/builders.rs @@ -19,9 +19,9 @@ impl DescribeDBProxiesFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl DescribeDBProxiesFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::describe_db_proxies::DescribeDBProxies, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::describe_db_proxies::DescribeDBProxiesError, + >, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::describe_db_proxies::paginator::DescribeDbProxiesPaginator::send) which returns a `Stream`. diff --git a/sdk/rds/src/operation/describe_db_proxy_endpoints/builders.rs b/sdk/rds/src/operation/describe_db_proxy_endpoints/builders.rs index 6c9a6ffba193..a2866cbca7e3 100644 --- a/sdk/rds/src/operation/describe_db_proxy_endpoints/builders.rs +++ b/sdk/rds/src/operation/describe_db_proxy_endpoints/builders.rs @@ -19,9 +19,9 @@ impl DescribeDBProxyEndpointsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl DescribeDBProxyEndpointsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::describe_db_proxy_endpoints::DescribeDBProxyEndpoints, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::describe_db_proxy_endpoints::DescribeDBProxyEndpointsError, + >, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::describe_db_proxy_endpoints::paginator::DescribeDbProxyEndpointsPaginator::send) which returns a `Stream`. diff --git a/sdk/rds/src/operation/describe_db_proxy_target_groups/builders.rs b/sdk/rds/src/operation/describe_db_proxy_target_groups/builders.rs index e2e80c9703fc..ba2333cc4890 100644 --- a/sdk/rds/src/operation/describe_db_proxy_target_groups/builders.rs +++ b/sdk/rds/src/operation/describe_db_proxy_target_groups/builders.rs @@ -19,9 +19,9 @@ impl DescribeDBProxyTargetGroupsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl DescribeDBProxyTargetGroupsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::describe_db_proxy_target_groups::DescribeDBProxyTargetGroups, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::describe_db_proxy_target_groups::DescribeDBProxyTargetGroupsError, + >, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::describe_db_proxy_target_groups::paginator::DescribeDbProxyTargetGroupsPaginator::send) which returns a `Stream`. diff --git a/sdk/rds/src/operation/describe_db_proxy_targets/builders.rs b/sdk/rds/src/operation/describe_db_proxy_targets/builders.rs index e95bdc9392e9..10f32d487b84 100644 --- a/sdk/rds/src/operation/describe_db_proxy_targets/builders.rs +++ b/sdk/rds/src/operation/describe_db_proxy_targets/builders.rs @@ -20,9 +20,9 @@ impl DescribeDBProxyTargetsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -84,6 +84,22 @@ impl DescribeDBProxyTargetsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::describe_db_proxy_targets::DescribeDBProxyTargets, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::describe_db_proxy_targets::DescribeDBProxyTargetsError, + >, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::describe_db_proxy_targets::paginator::DescribeDbProxyTargetsPaginator::send) which returns a `Stream`. diff --git a/sdk/rds/src/operation/describe_db_security_groups/builders.rs b/sdk/rds/src/operation/describe_db_security_groups/builders.rs index 7f4277973683..e5eec8286110 100644 --- a/sdk/rds/src/operation/describe_db_security_groups/builders.rs +++ b/sdk/rds/src/operation/describe_db_security_groups/builders.rs @@ -21,9 +21,9 @@ impl DescribeDBSecurityGroupsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -85,6 +85,22 @@ impl DescribeDBSecurityGroupsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::describe_db_security_groups::DescribeDBSecurityGroups, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::describe_db_security_groups::DescribeDBSecurityGroupsError, + >, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::describe_db_security_groups::paginator::DescribeDbSecurityGroupsPaginator::send) which returns a `Stream`. diff --git a/sdk/rds/src/operation/describe_db_snapshot_attributes/builders.rs b/sdk/rds/src/operation/describe_db_snapshot_attributes/builders.rs index 21adc6463780..5fa6c3310735 100644 --- a/sdk/rds/src/operation/describe_db_snapshot_attributes/builders.rs +++ b/sdk/rds/src/operation/describe_db_snapshot_attributes/builders.rs @@ -21,9 +21,9 @@ impl DescribeDBSnapshotAttributesFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -85,6 +85,22 @@ impl DescribeDBSnapshotAttributesFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::describe_db_snapshot_attributes::DescribeDBSnapshotAttributes, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::describe_db_snapshot_attributes::DescribeDBSnapshotAttributesError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                              The identifier for the DB snapshot to describe the attributes for.

                                                                                                                                                                                                                                                                                              pub fn db_snapshot_identifier( mut self, diff --git a/sdk/rds/src/operation/describe_db_snapshots/builders.rs b/sdk/rds/src/operation/describe_db_snapshots/builders.rs index 1ffad4cebee0..3d4b316a67f2 100644 --- a/sdk/rds/src/operation/describe_db_snapshots/builders.rs +++ b/sdk/rds/src/operation/describe_db_snapshots/builders.rs @@ -19,9 +19,9 @@ impl DescribeDBSnapshotsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl DescribeDBSnapshotsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::describe_db_snapshots::DescribeDBSnapshots, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::describe_db_snapshots::DescribeDBSnapshotsError, + >, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::describe_db_snapshots::paginator::DescribeDbSnapshotsPaginator::send) which returns a `Stream`. diff --git a/sdk/rds/src/operation/describe_db_subnet_groups/builders.rs b/sdk/rds/src/operation/describe_db_subnet_groups/builders.rs index d0ef74cf063a..594d9d5c892a 100644 --- a/sdk/rds/src/operation/describe_db_subnet_groups/builders.rs +++ b/sdk/rds/src/operation/describe_db_subnet_groups/builders.rs @@ -21,9 +21,9 @@ impl DescribeDBSubnetGroupsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -85,6 +85,22 @@ impl DescribeDBSubnetGroupsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::describe_db_subnet_groups::DescribeDBSubnetGroups, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::describe_db_subnet_groups::DescribeDBSubnetGroupsError, + >, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::describe_db_subnet_groups::paginator::DescribeDbSubnetGroupsPaginator::send) which returns a `Stream`. diff --git a/sdk/rds/src/operation/describe_engine_default_cluster_parameters/builders.rs b/sdk/rds/src/operation/describe_engine_default_cluster_parameters/builders.rs index d480c3f70b93..55b644ef36d8 100644 --- a/sdk/rds/src/operation/describe_engine_default_cluster_parameters/builders.rs +++ b/sdk/rds/src/operation/describe_engine_default_cluster_parameters/builders.rs @@ -20,9 +20,9 @@ impl DescribeEngineDefaultClusterParametersFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize(self) -> ::std::result::Result< + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware(self) -> ::std::result::Result< crate::client::customize::CustomizableOperation, ::aws_smithy_http::result::SdkError >{ @@ -65,6 +65,15 @@ impl DescribeEngineDefaultClusterParametersFluentBuilder { { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize(self) -> ::std::result::Result< + crate::client::customize::CustomizableOperation, + ::aws_smithy_http::result::SdkError + >{ + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                              The name of the DB cluster parameter group family to return engine parameter information for.

                                                                                                                                                                                                                                                                                              pub fn db_parameter_group_family( mut self, diff --git a/sdk/rds/src/operation/describe_engine_default_parameters/builders.rs b/sdk/rds/src/operation/describe_engine_default_parameters/builders.rs index 7a7899f54d3b..de206a7bcd8c 100644 --- a/sdk/rds/src/operation/describe_engine_default_parameters/builders.rs +++ b/sdk/rds/src/operation/describe_engine_default_parameters/builders.rs @@ -19,9 +19,9 @@ impl DescribeEngineDefaultParametersFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize(self) -> ::std::result::Result< + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware(self) -> ::std::result::Result< crate::client::customize::CustomizableOperation, ::aws_smithy_http::result::SdkError >{ @@ -64,6 +64,15 @@ impl DescribeEngineDefaultParametersFluentBuilder { { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize(self) -> ::std::result::Result< + crate::client::customize::CustomizableOperation, + ::aws_smithy_http::result::SdkError + >{ + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::describe_engine_default_parameters::paginator::DescribeEngineDefaultParametersPaginator::send) which returns a `Stream`. diff --git a/sdk/rds/src/operation/describe_event_categories/builders.rs b/sdk/rds/src/operation/describe_event_categories/builders.rs index 401cd219ff66..bd84f21d646b 100644 --- a/sdk/rds/src/operation/describe_event_categories/builders.rs +++ b/sdk/rds/src/operation/describe_event_categories/builders.rs @@ -20,9 +20,9 @@ impl DescribeEventCategoriesFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -84,6 +84,22 @@ impl DescribeEventCategoriesFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::describe_event_categories::DescribeEventCategories, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::describe_event_categories::DescribeEventCategoriesError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                              The type of source that is generating the events. For RDS Proxy events, specify db-proxy.

                                                                                                                                                                                                                                                                                              ///

                                                                                                                                                                                                                                                                                              Valid values: db-instance | db-cluster | db-parameter-group | db-security-group | db-snapshot | db-cluster-snapshot | db-proxy

                                                                                                                                                                                                                                                                                              pub fn source_type(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { diff --git a/sdk/rds/src/operation/describe_event_subscriptions/builders.rs b/sdk/rds/src/operation/describe_event_subscriptions/builders.rs index 0f320a4e90fd..c69d474f82e1 100644 --- a/sdk/rds/src/operation/describe_event_subscriptions/builders.rs +++ b/sdk/rds/src/operation/describe_event_subscriptions/builders.rs @@ -20,9 +20,9 @@ impl DescribeEventSubscriptionsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -84,6 +84,22 @@ impl DescribeEventSubscriptionsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::describe_event_subscriptions::DescribeEventSubscriptions, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::describe_event_subscriptions::DescribeEventSubscriptionsError, + >, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::describe_event_subscriptions::paginator::DescribeEventSubscriptionsPaginator::send) which returns a `Stream`. diff --git a/sdk/rds/src/operation/describe_events/builders.rs b/sdk/rds/src/operation/describe_events/builders.rs index 7c128eacf159..1dc058d4a8dd 100644 --- a/sdk/rds/src/operation/describe_events/builders.rs +++ b/sdk/rds/src/operation/describe_events/builders.rs @@ -22,9 +22,9 @@ impl DescribeEventsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -80,6 +80,20 @@ impl DescribeEventsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::describe_events::DescribeEvents, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::describe_events::paginator::DescribeEventsPaginator::send) which returns a `Stream`. diff --git a/sdk/rds/src/operation/describe_export_tasks/builders.rs b/sdk/rds/src/operation/describe_export_tasks/builders.rs index dcaca9967622..72279e0ffd7c 100644 --- a/sdk/rds/src/operation/describe_export_tasks/builders.rs +++ b/sdk/rds/src/operation/describe_export_tasks/builders.rs @@ -19,9 +19,9 @@ impl DescribeExportTasksFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl DescribeExportTasksFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::describe_export_tasks::DescribeExportTasks, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::describe_export_tasks::DescribeExportTasksError, + >, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::describe_export_tasks::paginator::DescribeExportTasksPaginator::send) which returns a `Stream`. diff --git a/sdk/rds/src/operation/describe_global_clusters/builders.rs b/sdk/rds/src/operation/describe_global_clusters/builders.rs index bc056b612611..170c0b972a50 100644 --- a/sdk/rds/src/operation/describe_global_clusters/builders.rs +++ b/sdk/rds/src/operation/describe_global_clusters/builders.rs @@ -22,9 +22,9 @@ impl DescribeGlobalClustersFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -86,6 +86,22 @@ impl DescribeGlobalClustersFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::describe_global_clusters::DescribeGlobalClusters, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::describe_global_clusters::DescribeGlobalClustersError, + >, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::describe_global_clusters::paginator::DescribeGlobalClustersPaginator::send) which returns a `Stream`. diff --git a/sdk/rds/src/operation/describe_option_group_options/builders.rs b/sdk/rds/src/operation/describe_option_group_options/builders.rs index 757258c5326b..1ac5c8f4f988 100644 --- a/sdk/rds/src/operation/describe_option_group_options/builders.rs +++ b/sdk/rds/src/operation/describe_option_group_options/builders.rs @@ -19,9 +19,9 @@ impl DescribeOptionGroupOptionsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl DescribeOptionGroupOptionsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::describe_option_group_options::DescribeOptionGroupOptions, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::describe_option_group_options::DescribeOptionGroupOptionsError, + >, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::describe_option_group_options::paginator::DescribeOptionGroupOptionsPaginator::send) which returns a `Stream`. diff --git a/sdk/rds/src/operation/describe_option_groups/builders.rs b/sdk/rds/src/operation/describe_option_groups/builders.rs index 378459553f56..6da6fa51e79e 100644 --- a/sdk/rds/src/operation/describe_option_groups/builders.rs +++ b/sdk/rds/src/operation/describe_option_groups/builders.rs @@ -19,9 +19,9 @@ impl DescribeOptionGroupsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl DescribeOptionGroupsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::describe_option_groups::DescribeOptionGroups, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::describe_option_groups::DescribeOptionGroupsError, + >, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::describe_option_groups::paginator::DescribeOptionGroupsPaginator::send) which returns a `Stream`. diff --git a/sdk/rds/src/operation/describe_orderable_db_instance_options/builders.rs b/sdk/rds/src/operation/describe_orderable_db_instance_options/builders.rs index 97de0d02e285..df49808aa429 100644 --- a/sdk/rds/src/operation/describe_orderable_db_instance_options/builders.rs +++ b/sdk/rds/src/operation/describe_orderable_db_instance_options/builders.rs @@ -19,9 +19,9 @@ impl DescribeOrderableDBInstanceOptionsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize(self) -> ::std::result::Result< + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware(self) -> ::std::result::Result< crate::client::customize::CustomizableOperation, ::aws_smithy_http::result::SdkError >{ @@ -64,6 +64,15 @@ impl DescribeOrderableDBInstanceOptionsFluentBuilder { { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize(self) -> ::std::result::Result< + crate::client::customize::CustomizableOperation, + ::aws_smithy_http::result::SdkError + >{ + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::describe_orderable_db_instance_options::paginator::DescribeOrderableDbInstanceOptionsPaginator::send) which returns a `Stream`. diff --git a/sdk/rds/src/operation/describe_pending_maintenance_actions/builders.rs b/sdk/rds/src/operation/describe_pending_maintenance_actions/builders.rs index 11cc68e17f1c..6ebbcccce775 100644 --- a/sdk/rds/src/operation/describe_pending_maintenance_actions/builders.rs +++ b/sdk/rds/src/operation/describe_pending_maintenance_actions/builders.rs @@ -19,9 +19,9 @@ impl DescribePendingMaintenanceActionsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize(self) -> ::std::result::Result< + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware(self) -> ::std::result::Result< crate::client::customize::CustomizableOperation, ::aws_smithy_http::result::SdkError >{ @@ -64,6 +64,15 @@ impl DescribePendingMaintenanceActionsFluentBuilder { { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize(self) -> ::std::result::Result< + crate::client::customize::CustomizableOperation, + ::aws_smithy_http::result::SdkError + >{ + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::describe_pending_maintenance_actions::paginator::DescribePendingMaintenanceActionsPaginator::send) which returns a `Stream`. diff --git a/sdk/rds/src/operation/describe_reserved_db_instances/builders.rs b/sdk/rds/src/operation/describe_reserved_db_instances/builders.rs index 9d503ff35a99..1b25657b348f 100644 --- a/sdk/rds/src/operation/describe_reserved_db_instances/builders.rs +++ b/sdk/rds/src/operation/describe_reserved_db_instances/builders.rs @@ -19,9 +19,9 @@ impl DescribeReservedDBInstancesFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl DescribeReservedDBInstancesFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::describe_reserved_db_instances::DescribeReservedDBInstances, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::describe_reserved_db_instances::DescribeReservedDBInstancesError, + >, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::describe_reserved_db_instances::paginator::DescribeReservedDbInstancesPaginator::send) which returns a `Stream`. diff --git a/sdk/rds/src/operation/describe_reserved_db_instances_offerings/builders.rs b/sdk/rds/src/operation/describe_reserved_db_instances_offerings/builders.rs index b94d2116fe41..77988caa10a4 100644 --- a/sdk/rds/src/operation/describe_reserved_db_instances_offerings/builders.rs +++ b/sdk/rds/src/operation/describe_reserved_db_instances_offerings/builders.rs @@ -19,9 +19,9 @@ impl DescribeReservedDBInstancesOfferingsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize(self) -> ::std::result::Result< + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware(self) -> ::std::result::Result< crate::client::customize::CustomizableOperation, ::aws_smithy_http::result::SdkError >{ @@ -64,6 +64,15 @@ impl DescribeReservedDBInstancesOfferingsFluentBuilder { { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize(self) -> ::std::result::Result< + crate::client::customize::CustomizableOperation, + ::aws_smithy_http::result::SdkError + >{ + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::describe_reserved_db_instances_offerings::paginator::DescribeReservedDbInstancesOfferingsPaginator::send) which returns a `Stream`. diff --git a/sdk/rds/src/operation/describe_source_regions/builders.rs b/sdk/rds/src/operation/describe_source_regions/builders.rs index 293750ba9242..bc7579f8022d 100644 --- a/sdk/rds/src/operation/describe_source_regions/builders.rs +++ b/sdk/rds/src/operation/describe_source_regions/builders.rs @@ -21,9 +21,9 @@ impl DescribeSourceRegionsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -85,6 +85,22 @@ impl DescribeSourceRegionsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::describe_source_regions::DescribeSourceRegions, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::describe_source_regions::DescribeSourceRegionsError, + >, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::describe_source_regions::paginator::DescribeSourceRegionsPaginator::send) which returns a `Stream`. diff --git a/sdk/rds/src/operation/describe_valid_db_instance_modifications/builders.rs b/sdk/rds/src/operation/describe_valid_db_instance_modifications/builders.rs index fd9557908125..84617fc21bce 100644 --- a/sdk/rds/src/operation/describe_valid_db_instance_modifications/builders.rs +++ b/sdk/rds/src/operation/describe_valid_db_instance_modifications/builders.rs @@ -20,9 +20,9 @@ impl DescribeValidDBInstanceModificationsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize(self) -> ::std::result::Result< + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware(self) -> ::std::result::Result< crate::client::customize::CustomizableOperation, ::aws_smithy_http::result::SdkError >{ @@ -65,6 +65,15 @@ impl DescribeValidDBInstanceModificationsFluentBuilder { { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize(self) -> ::std::result::Result< + crate::client::customize::CustomizableOperation, + ::aws_smithy_http::result::SdkError + >{ + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                              The customer identifier or the ARN of your DB instance.

                                                                                                                                                                                                                                                                                              pub fn db_instance_identifier( mut self, diff --git a/sdk/rds/src/operation/download_db_log_file_portion/builders.rs b/sdk/rds/src/operation/download_db_log_file_portion/builders.rs index 802bf59bcc5e..ec448fe88c67 100644 --- a/sdk/rds/src/operation/download_db_log_file_portion/builders.rs +++ b/sdk/rds/src/operation/download_db_log_file_portion/builders.rs @@ -20,9 +20,9 @@ impl DownloadDBLogFilePortionFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -84,6 +84,22 @@ impl DownloadDBLogFilePortionFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::download_db_log_file_portion::DownloadDBLogFilePortion, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::download_db_log_file_portion::DownloadDBLogFilePortionError, + >, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::download_db_log_file_portion::paginator::DownloadDbLogFilePortionPaginator::send) which returns a `Stream`. diff --git a/sdk/rds/src/operation/failover_db_cluster/builders.rs b/sdk/rds/src/operation/failover_db_cluster/builders.rs index ffdc5c50aa7b..04af90629649 100644 --- a/sdk/rds/src/operation/failover_db_cluster/builders.rs +++ b/sdk/rds/src/operation/failover_db_cluster/builders.rs @@ -25,9 +25,9 @@ impl FailoverDBClusterFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -89,6 +89,22 @@ impl FailoverDBClusterFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::failover_db_cluster::FailoverDBCluster, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::failover_db_cluster::FailoverDBClusterError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                              A DB cluster identifier to force a failover for. This parameter isn't case-sensitive.

                                                                                                                                                                                                                                                                                              ///

                                                                                                                                                                                                                                                                                              Constraints:

                                                                                                                                                                                                                                                                                              ///
                                                                                                                                                                                                                                                                                                diff --git a/sdk/rds/src/operation/failover_global_cluster/builders.rs b/sdk/rds/src/operation/failover_global_cluster/builders.rs index b9eab3d79e22..9558c87014dc 100644 --- a/sdk/rds/src/operation/failover_global_cluster/builders.rs +++ b/sdk/rds/src/operation/failover_global_cluster/builders.rs @@ -23,9 +23,9 @@ impl FailoverGlobalClusterFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -87,6 +87,22 @@ impl FailoverGlobalClusterFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::failover_global_cluster::FailoverGlobalCluster, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::failover_global_cluster::FailoverGlobalClusterError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                Identifier of the Aurora global database (GlobalCluster) that should be failed over. The identifier is the unique key assigned by the user when the Aurora global database was created. In other words, it's the name of the Aurora global database that you want to fail over.

                                                                                                                                                                                                                                                                                                ///

                                                                                                                                                                                                                                                                                                Constraints:

                                                                                                                                                                                                                                                                                                ///
                                                                                                                                                                                                                                                                                                  diff --git a/sdk/rds/src/operation/list_tags_for_resource/builders.rs b/sdk/rds/src/operation/list_tags_for_resource/builders.rs index c45ee2388965..ca2c2f50e1d3 100644 --- a/sdk/rds/src/operation/list_tags_for_resource/builders.rs +++ b/sdk/rds/src/operation/list_tags_for_resource/builders.rs @@ -20,9 +20,9 @@ impl ListTagsForResourceFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -84,6 +84,22 @@ impl ListTagsForResourceFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_tags_for_resource::ListTagsForResource, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::list_tags_for_resource::ListTagsForResourceError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                  The Amazon RDS resource with tags to be listed. This value is an Amazon Resource Name (ARN). For information about creating an ARN, see Constructing an ARN for Amazon RDS in the Amazon RDS User Guide.

                                                                                                                                                                                                                                                                                                  pub fn resource_name( mut self, diff --git a/sdk/rds/src/operation/modify_activity_stream/builders.rs b/sdk/rds/src/operation/modify_activity_stream/builders.rs index 407820b3e8b7..cad7384bb7e4 100644 --- a/sdk/rds/src/operation/modify_activity_stream/builders.rs +++ b/sdk/rds/src/operation/modify_activity_stream/builders.rs @@ -20,9 +20,9 @@ impl ModifyActivityStreamFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -84,6 +84,22 @@ impl ModifyActivityStreamFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::modify_activity_stream::ModifyActivityStream, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::modify_activity_stream::ModifyActivityStreamError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                  The Amazon Resource Name (ARN) of the RDS for Oracle or Microsoft SQL Server DB instance. For example, arn:aws:rds:us-east-1:12345667890:instance:my-orcl-db.

                                                                                                                                                                                                                                                                                                  pub fn resource_arn(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.resource_arn(input.into()); diff --git a/sdk/rds/src/operation/modify_certificates/builders.rs b/sdk/rds/src/operation/modify_certificates/builders.rs index 8d22346eb596..0b798ebf39fa 100644 --- a/sdk/rds/src/operation/modify_certificates/builders.rs +++ b/sdk/rds/src/operation/modify_certificates/builders.rs @@ -27,9 +27,9 @@ impl ModifyCertificatesFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -91,6 +91,22 @@ impl ModifyCertificatesFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::modify_certificates::ModifyCertificates, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::modify_certificates::ModifyCertificatesError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                  The new default certificate identifier to override the current one with.

                                                                                                                                                                                                                                                                                                  ///

                                                                                                                                                                                                                                                                                                  To determine the valid values, use the describe-certificates CLI command or the DescribeCertificates API operation.

                                                                                                                                                                                                                                                                                                  pub fn certificate_identifier( diff --git a/sdk/rds/src/operation/modify_current_db_cluster_capacity/builders.rs b/sdk/rds/src/operation/modify_current_db_cluster_capacity/builders.rs index 8f745af6a0b0..253924d65f1b 100644 --- a/sdk/rds/src/operation/modify_current_db_cluster_capacity/builders.rs +++ b/sdk/rds/src/operation/modify_current_db_cluster_capacity/builders.rs @@ -26,9 +26,9 @@ impl ModifyCurrentDBClusterCapacityFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize(self) -> ::std::result::Result< + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware(self) -> ::std::result::Result< crate::client::customize::CustomizableOperation, ::aws_smithy_http::result::SdkError >{ @@ -71,6 +71,15 @@ impl ModifyCurrentDBClusterCapacityFluentBuilder { { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize(self) -> ::std::result::Result< + crate::client::customize::CustomizableOperation, + ::aws_smithy_http::result::SdkError + >{ + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                  The DB cluster identifier for the cluster being modified. This parameter isn't case-sensitive.

                                                                                                                                                                                                                                                                                                  ///

                                                                                                                                                                                                                                                                                                  Constraints:

                                                                                                                                                                                                                                                                                                  ///
                                                                                                                                                                                                                                                                                                    diff --git a/sdk/rds/src/operation/modify_custom_db_engine_version/builders.rs b/sdk/rds/src/operation/modify_custom_db_engine_version/builders.rs index 27f5496500df..ce2669e21b39 100644 --- a/sdk/rds/src/operation/modify_custom_db_engine_version/builders.rs +++ b/sdk/rds/src/operation/modify_custom_db_engine_version/builders.rs @@ -22,9 +22,9 @@ impl ModifyCustomDBEngineVersionFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -86,6 +86,22 @@ impl ModifyCustomDBEngineVersionFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::modify_custom_db_engine_version::ModifyCustomDBEngineVersion, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::modify_custom_db_engine_version::ModifyCustomDBEngineVersionError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                    The DB engine. The only supported values are custom-oracle-ee and custom-oracle-ee-cdb.

                                                                                                                                                                                                                                                                                                    pub fn engine(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.engine(input.into()); diff --git a/sdk/rds/src/operation/modify_db_cluster/builders.rs b/sdk/rds/src/operation/modify_db_cluster/builders.rs index 5604bb55bf04..f71a80d40d6e 100644 --- a/sdk/rds/src/operation/modify_db_cluster/builders.rs +++ b/sdk/rds/src/operation/modify_db_cluster/builders.rs @@ -21,9 +21,9 @@ impl ModifyDBClusterFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -85,6 +85,22 @@ impl ModifyDBClusterFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::modify_db_cluster::ModifyDBCluster, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::modify_db_cluster::ModifyDBClusterError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                    The DB cluster identifier for the cluster being modified. This parameter isn't case-sensitive.

                                                                                                                                                                                                                                                                                                    ///

                                                                                                                                                                                                                                                                                                    Constraints: This identifier must match the identifier of an existing DB cluster.

                                                                                                                                                                                                                                                                                                    ///

                                                                                                                                                                                                                                                                                                    Valid for: Aurora DB clusters and Multi-AZ DB clusters

                                                                                                                                                                                                                                                                                                    diff --git a/sdk/rds/src/operation/modify_db_cluster_endpoint/builders.rs b/sdk/rds/src/operation/modify_db_cluster_endpoint/builders.rs index 50bcb95fa237..99da4ac2655c 100644 --- a/sdk/rds/src/operation/modify_db_cluster_endpoint/builders.rs +++ b/sdk/rds/src/operation/modify_db_cluster_endpoint/builders.rs @@ -22,9 +22,9 @@ impl ModifyDBClusterEndpointFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -86,6 +86,22 @@ impl ModifyDBClusterEndpointFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::modify_db_cluster_endpoint::ModifyDBClusterEndpoint, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::modify_db_cluster_endpoint::ModifyDBClusterEndpointError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                    The identifier of the endpoint to modify. This parameter is stored as a lowercase string.

                                                                                                                                                                                                                                                                                                    pub fn db_cluster_endpoint_identifier( mut self, diff --git a/sdk/rds/src/operation/modify_db_cluster_parameter_group/builders.rs b/sdk/rds/src/operation/modify_db_cluster_parameter_group/builders.rs index d53c105f8566..2b439d794352 100644 --- a/sdk/rds/src/operation/modify_db_cluster_parameter_group/builders.rs +++ b/sdk/rds/src/operation/modify_db_cluster_parameter_group/builders.rs @@ -24,9 +24,9 @@ impl ModifyDBClusterParameterGroupFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -88,6 +88,22 @@ impl ModifyDBClusterParameterGroupFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::modify_db_cluster_parameter_group::ModifyDBClusterParameterGroup, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::modify_db_cluster_parameter_group::ModifyDBClusterParameterGroupError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                    The name of the DB cluster parameter group to modify.

                                                                                                                                                                                                                                                                                                    pub fn db_cluster_parameter_group_name( mut self, diff --git a/sdk/rds/src/operation/modify_db_cluster_snapshot_attribute/builders.rs b/sdk/rds/src/operation/modify_db_cluster_snapshot_attribute/builders.rs index 8542eb7d37f6..6a262b065a9f 100644 --- a/sdk/rds/src/operation/modify_db_cluster_snapshot_attribute/builders.rs +++ b/sdk/rds/src/operation/modify_db_cluster_snapshot_attribute/builders.rs @@ -24,9 +24,9 @@ impl ModifyDBClusterSnapshotAttributeFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize(self) -> ::std::result::Result< + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware(self) -> ::std::result::Result< crate::client::customize::CustomizableOperation, ::aws_smithy_http::result::SdkError >{ @@ -69,6 +69,15 @@ impl ModifyDBClusterSnapshotAttributeFluentBuilder { { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize(self) -> ::std::result::Result< + crate::client::customize::CustomizableOperation, + ::aws_smithy_http::result::SdkError + >{ + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                    The identifier for the DB cluster snapshot to modify the attributes for.

                                                                                                                                                                                                                                                                                                    pub fn db_cluster_snapshot_identifier( mut self, diff --git a/sdk/rds/src/operation/modify_db_instance/builders.rs b/sdk/rds/src/operation/modify_db_instance/builders.rs index 0c0b1f2ec709..d2a0c0ddaaad 100644 --- a/sdk/rds/src/operation/modify_db_instance/builders.rs +++ b/sdk/rds/src/operation/modify_db_instance/builders.rs @@ -19,9 +19,9 @@ impl ModifyDBInstanceFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl ModifyDBInstanceFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::modify_db_instance::ModifyDBInstance, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::modify_db_instance::ModifyDBInstanceError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                    The DB instance identifier. This value is stored as a lowercase string.

                                                                                                                                                                                                                                                                                                    ///

                                                                                                                                                                                                                                                                                                    Constraints:

                                                                                                                                                                                                                                                                                                    ///
                                                                                                                                                                                                                                                                                                      diff --git a/sdk/rds/src/operation/modify_db_parameter_group/builders.rs b/sdk/rds/src/operation/modify_db_parameter_group/builders.rs index eae173f286a3..5c243cb58455 100644 --- a/sdk/rds/src/operation/modify_db_parameter_group/builders.rs +++ b/sdk/rds/src/operation/modify_db_parameter_group/builders.rs @@ -22,9 +22,9 @@ impl ModifyDBParameterGroupFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -86,6 +86,22 @@ impl ModifyDBParameterGroupFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::modify_db_parameter_group::ModifyDBParameterGroup, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::modify_db_parameter_group::ModifyDBParameterGroupError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                      The name of the DB parameter group.

                                                                                                                                                                                                                                                                                                      ///

                                                                                                                                                                                                                                                                                                      Constraints:

                                                                                                                                                                                                                                                                                                      ///
                                                                                                                                                                                                                                                                                                        diff --git a/sdk/rds/src/operation/modify_db_proxy/builders.rs b/sdk/rds/src/operation/modify_db_proxy/builders.rs index 2c393261069c..6d6dfc205647 100644 --- a/sdk/rds/src/operation/modify_db_proxy/builders.rs +++ b/sdk/rds/src/operation/modify_db_proxy/builders.rs @@ -19,9 +19,9 @@ impl ModifyDBProxyFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl ModifyDBProxyFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::modify_db_proxy::ModifyDBProxy, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                        The identifier for the DBProxy to modify.

                                                                                                                                                                                                                                                                                                        pub fn db_proxy_name( mut self, diff --git a/sdk/rds/src/operation/modify_db_proxy_endpoint/builders.rs b/sdk/rds/src/operation/modify_db_proxy_endpoint/builders.rs index 07c5d682e112..acabba2496d1 100644 --- a/sdk/rds/src/operation/modify_db_proxy_endpoint/builders.rs +++ b/sdk/rds/src/operation/modify_db_proxy_endpoint/builders.rs @@ -19,9 +19,9 @@ impl ModifyDBProxyEndpointFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl ModifyDBProxyEndpointFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::modify_db_proxy_endpoint::ModifyDBProxyEndpoint, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::modify_db_proxy_endpoint::ModifyDBProxyEndpointError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                        The name of the DB proxy sociated with the DB proxy endpoint that you want to modify.

                                                                                                                                                                                                                                                                                                        pub fn db_proxy_endpoint_name( mut self, diff --git a/sdk/rds/src/operation/modify_db_proxy_target_group/builders.rs b/sdk/rds/src/operation/modify_db_proxy_target_group/builders.rs index d24887443813..088069da4b0d 100644 --- a/sdk/rds/src/operation/modify_db_proxy_target_group/builders.rs +++ b/sdk/rds/src/operation/modify_db_proxy_target_group/builders.rs @@ -19,9 +19,9 @@ impl ModifyDBProxyTargetGroupFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl ModifyDBProxyTargetGroupFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::modify_db_proxy_target_group::ModifyDBProxyTargetGroup, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::modify_db_proxy_target_group::ModifyDBProxyTargetGroupError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                        The name of the target group to modify.

                                                                                                                                                                                                                                                                                                        pub fn target_group_name( mut self, diff --git a/sdk/rds/src/operation/modify_db_snapshot/builders.rs b/sdk/rds/src/operation/modify_db_snapshot/builders.rs index dfc6c1f90c11..fd92dfd947e5 100644 --- a/sdk/rds/src/operation/modify_db_snapshot/builders.rs +++ b/sdk/rds/src/operation/modify_db_snapshot/builders.rs @@ -20,9 +20,9 @@ impl ModifyDBSnapshotFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -84,6 +84,22 @@ impl ModifyDBSnapshotFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::modify_db_snapshot::ModifyDBSnapshot, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::modify_db_snapshot::ModifyDBSnapshotError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                        The identifier of the DB snapshot to modify.

                                                                                                                                                                                                                                                                                                        pub fn db_snapshot_identifier( mut self, diff --git a/sdk/rds/src/operation/modify_db_snapshot_attribute/builders.rs b/sdk/rds/src/operation/modify_db_snapshot_attribute/builders.rs index c6845c9232bf..aeb26316b6e5 100644 --- a/sdk/rds/src/operation/modify_db_snapshot_attribute/builders.rs +++ b/sdk/rds/src/operation/modify_db_snapshot_attribute/builders.rs @@ -24,9 +24,9 @@ impl ModifyDBSnapshotAttributeFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -88,6 +88,22 @@ impl ModifyDBSnapshotAttributeFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::modify_db_snapshot_attribute::ModifyDBSnapshotAttribute, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::modify_db_snapshot_attribute::ModifyDBSnapshotAttributeError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                        The identifier for the DB snapshot to modify the attributes for.

                                                                                                                                                                                                                                                                                                        pub fn db_snapshot_identifier( mut self, diff --git a/sdk/rds/src/operation/modify_db_subnet_group/builders.rs b/sdk/rds/src/operation/modify_db_subnet_group/builders.rs index 47dfde52d552..3101cfcda910 100644 --- a/sdk/rds/src/operation/modify_db_subnet_group/builders.rs +++ b/sdk/rds/src/operation/modify_db_subnet_group/builders.rs @@ -19,9 +19,9 @@ impl ModifyDBSubnetGroupFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl ModifyDBSubnetGroupFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::modify_db_subnet_group::ModifyDBSubnetGroup, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::modify_db_subnet_group::ModifyDBSubnetGroupError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                        The name for the DB subnet group. This value is stored as a lowercase string. You can't modify the default subnet group.

                                                                                                                                                                                                                                                                                                        ///

                                                                                                                                                                                                                                                                                                        Constraints: Must match the name of an existing DBSubnetGroup. Must not be default.

                                                                                                                                                                                                                                                                                                        ///

                                                                                                                                                                                                                                                                                                        Example: mydbsubnetgroup

                                                                                                                                                                                                                                                                                                        diff --git a/sdk/rds/src/operation/modify_event_subscription/builders.rs b/sdk/rds/src/operation/modify_event_subscription/builders.rs index 5b2bcbc6a7d4..96a77330eec9 100644 --- a/sdk/rds/src/operation/modify_event_subscription/builders.rs +++ b/sdk/rds/src/operation/modify_event_subscription/builders.rs @@ -21,9 +21,9 @@ impl ModifyEventSubscriptionFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -85,6 +85,22 @@ impl ModifyEventSubscriptionFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::modify_event_subscription::ModifyEventSubscription, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::modify_event_subscription::ModifyEventSubscriptionError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                        The name of the RDS event notification subscription.

                                                                                                                                                                                                                                                                                                        pub fn subscription_name( mut self, diff --git a/sdk/rds/src/operation/modify_global_cluster/builders.rs b/sdk/rds/src/operation/modify_global_cluster/builders.rs index 424965763571..82fdc3fc9c77 100644 --- a/sdk/rds/src/operation/modify_global_cluster/builders.rs +++ b/sdk/rds/src/operation/modify_global_cluster/builders.rs @@ -21,9 +21,9 @@ impl ModifyGlobalClusterFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -85,6 +85,22 @@ impl ModifyGlobalClusterFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::modify_global_cluster::ModifyGlobalCluster, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::modify_global_cluster::ModifyGlobalClusterError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                        The DB cluster identifier for the global cluster being modified. This parameter isn't case-sensitive.

                                                                                                                                                                                                                                                                                                        ///

                                                                                                                                                                                                                                                                                                        Constraints:

                                                                                                                                                                                                                                                                                                        ///
                                                                                                                                                                                                                                                                                                          diff --git a/sdk/rds/src/operation/modify_option_group/builders.rs b/sdk/rds/src/operation/modify_option_group/builders.rs index 4ea0597a9b7e..72a351a1eb74 100644 --- a/sdk/rds/src/operation/modify_option_group/builders.rs +++ b/sdk/rds/src/operation/modify_option_group/builders.rs @@ -19,9 +19,9 @@ impl ModifyOptionGroupFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl ModifyOptionGroupFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::modify_option_group::ModifyOptionGroup, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::modify_option_group::ModifyOptionGroupError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                          The name of the option group to be modified.

                                                                                                                                                                                                                                                                                                          ///

                                                                                                                                                                                                                                                                                                          Permanent options, such as the TDE option for Oracle Advanced Security TDE, can't be removed from an option group, and that option group can't be removed from a DB instance once it is associated with a DB instance

                                                                                                                                                                                                                                                                                                          pub fn option_group_name( diff --git a/sdk/rds/src/operation/promote_read_replica/builders.rs b/sdk/rds/src/operation/promote_read_replica/builders.rs index f9b8f4bee426..c9a6ad5fe8b0 100644 --- a/sdk/rds/src/operation/promote_read_replica/builders.rs +++ b/sdk/rds/src/operation/promote_read_replica/builders.rs @@ -24,9 +24,9 @@ impl PromoteReadReplicaFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -88,6 +88,22 @@ impl PromoteReadReplicaFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::promote_read_replica::PromoteReadReplica, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::promote_read_replica::PromoteReadReplicaError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                          The DB instance identifier. This value is stored as a lowercase string.

                                                                                                                                                                                                                                                                                                          ///

                                                                                                                                                                                                                                                                                                          Constraints:

                                                                                                                                                                                                                                                                                                          ///
                                                                                                                                                                                                                                                                                                            diff --git a/sdk/rds/src/operation/promote_read_replica_db_cluster/builders.rs b/sdk/rds/src/operation/promote_read_replica_db_cluster/builders.rs index e81e6ad1d5f4..6770f50b6b8a 100644 --- a/sdk/rds/src/operation/promote_read_replica_db_cluster/builders.rs +++ b/sdk/rds/src/operation/promote_read_replica_db_cluster/builders.rs @@ -19,9 +19,9 @@ impl PromoteReadReplicaDBClusterFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl PromoteReadReplicaDBClusterFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::promote_read_replica_db_cluster::PromoteReadReplicaDBCluster, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::promote_read_replica_db_cluster::PromoteReadReplicaDBClusterError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                            The identifier of the DB cluster read replica to promote. This parameter isn't case-sensitive.

                                                                                                                                                                                                                                                                                                            ///

                                                                                                                                                                                                                                                                                                            Constraints:

                                                                                                                                                                                                                                                                                                            ///
                                                                                                                                                                                                                                                                                                              diff --git a/sdk/rds/src/operation/purchase_reserved_db_instances_offering/builders.rs b/sdk/rds/src/operation/purchase_reserved_db_instances_offering/builders.rs index 1b5d73ddd7c7..eaec337c6f2c 100644 --- a/sdk/rds/src/operation/purchase_reserved_db_instances_offering/builders.rs +++ b/sdk/rds/src/operation/purchase_reserved_db_instances_offering/builders.rs @@ -19,9 +19,9 @@ impl PurchaseReservedDBInstancesOfferingFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize(self) -> ::std::result::Result< + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware(self) -> ::std::result::Result< crate::client::customize::CustomizableOperation, ::aws_smithy_http::result::SdkError >{ @@ -64,6 +64,15 @@ impl PurchaseReservedDBInstancesOfferingFluentBuilder { { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize(self) -> ::std::result::Result< + crate::client::customize::CustomizableOperation, + ::aws_smithy_http::result::SdkError + >{ + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                              The ID of the Reserved DB instance offering to purchase.

                                                                                                                                                                                                                                                                                                              ///

                                                                                                                                                                                                                                                                                                              Example: 438012d3-4052-4cc7-b2e3-8d3372e0e706

                                                                                                                                                                                                                                                                                                              pub fn reserved_db_instances_offering_id( diff --git a/sdk/rds/src/operation/reboot_db_cluster/builders.rs b/sdk/rds/src/operation/reboot_db_cluster/builders.rs index 9d87e00070dc..8ec14216eeb4 100644 --- a/sdk/rds/src/operation/reboot_db_cluster/builders.rs +++ b/sdk/rds/src/operation/reboot_db_cluster/builders.rs @@ -22,9 +22,9 @@ impl RebootDBClusterFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -86,6 +86,22 @@ impl RebootDBClusterFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::reboot_db_cluster::RebootDBCluster, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::reboot_db_cluster::RebootDBClusterError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                              The DB cluster identifier. This parameter is stored as a lowercase string.

                                                                                                                                                                                                                                                                                                              ///

                                                                                                                                                                                                                                                                                                              Constraints:

                                                                                                                                                                                                                                                                                                              ///
                                                                                                                                                                                                                                                                                                                diff --git a/sdk/rds/src/operation/reboot_db_instance/builders.rs b/sdk/rds/src/operation/reboot_db_instance/builders.rs index 807db9c3a5fa..77d92302b940 100644 --- a/sdk/rds/src/operation/reboot_db_instance/builders.rs +++ b/sdk/rds/src/operation/reboot_db_instance/builders.rs @@ -23,9 +23,9 @@ impl RebootDBInstanceFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -87,6 +87,22 @@ impl RebootDBInstanceFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::reboot_db_instance::RebootDBInstance, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::reboot_db_instance::RebootDBInstanceError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                The DB instance identifier. This parameter is stored as a lowercase string.

                                                                                                                                                                                                                                                                                                                ///

                                                                                                                                                                                                                                                                                                                Constraints:

                                                                                                                                                                                                                                                                                                                ///
                                                                                                                                                                                                                                                                                                                  diff --git a/sdk/rds/src/operation/register_db_proxy_targets/builders.rs b/sdk/rds/src/operation/register_db_proxy_targets/builders.rs index 24a5412b2c46..ba340545fa4d 100644 --- a/sdk/rds/src/operation/register_db_proxy_targets/builders.rs +++ b/sdk/rds/src/operation/register_db_proxy_targets/builders.rs @@ -20,9 +20,9 @@ impl RegisterDBProxyTargetsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -84,6 +84,22 @@ impl RegisterDBProxyTargetsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::register_db_proxy_targets::RegisterDBProxyTargets, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::register_db_proxy_targets::RegisterDBProxyTargetsError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                  The identifier of the DBProxy that is associated with the DBProxyTargetGroup.

                                                                                                                                                                                                                                                                                                                  pub fn db_proxy_name( mut self, diff --git a/sdk/rds/src/operation/remove_from_global_cluster/builders.rs b/sdk/rds/src/operation/remove_from_global_cluster/builders.rs index 21663ce39bb5..45d31198a72d 100644 --- a/sdk/rds/src/operation/remove_from_global_cluster/builders.rs +++ b/sdk/rds/src/operation/remove_from_global_cluster/builders.rs @@ -22,9 +22,9 @@ impl RemoveFromGlobalClusterFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -86,6 +86,22 @@ impl RemoveFromGlobalClusterFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::remove_from_global_cluster::RemoveFromGlobalCluster, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::remove_from_global_cluster::RemoveFromGlobalClusterError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                  The cluster identifier to detach from the Aurora global database cluster.

                                                                                                                                                                                                                                                                                                                  pub fn global_cluster_identifier( mut self, diff --git a/sdk/rds/src/operation/remove_role_from_db_cluster/builders.rs b/sdk/rds/src/operation/remove_role_from_db_cluster/builders.rs index 729937c0651c..95153eede4a4 100644 --- a/sdk/rds/src/operation/remove_role_from_db_cluster/builders.rs +++ b/sdk/rds/src/operation/remove_role_from_db_cluster/builders.rs @@ -21,9 +21,9 @@ impl RemoveRoleFromDBClusterFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -85,6 +85,22 @@ impl RemoveRoleFromDBClusterFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::remove_role_from_db_cluster::RemoveRoleFromDBCluster, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::remove_role_from_db_cluster::RemoveRoleFromDBClusterError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                  The name of the DB cluster to disassociate the IAM role from.

                                                                                                                                                                                                                                                                                                                  pub fn db_cluster_identifier( mut self, diff --git a/sdk/rds/src/operation/remove_role_from_db_instance/builders.rs b/sdk/rds/src/operation/remove_role_from_db_instance/builders.rs index b431e68941ed..de164023b596 100644 --- a/sdk/rds/src/operation/remove_role_from_db_instance/builders.rs +++ b/sdk/rds/src/operation/remove_role_from_db_instance/builders.rs @@ -19,9 +19,9 @@ impl RemoveRoleFromDBInstanceFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl RemoveRoleFromDBInstanceFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::remove_role_from_db_instance::RemoveRoleFromDBInstance, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::remove_role_from_db_instance::RemoveRoleFromDBInstanceError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                  The name of the DB instance to disassociate the IAM role from.

                                                                                                                                                                                                                                                                                                                  pub fn db_instance_identifier( mut self, diff --git a/sdk/rds/src/operation/remove_source_identifier_from_subscription/builders.rs b/sdk/rds/src/operation/remove_source_identifier_from_subscription/builders.rs index 4a6dd21523fc..e978e1cf8b9d 100644 --- a/sdk/rds/src/operation/remove_source_identifier_from_subscription/builders.rs +++ b/sdk/rds/src/operation/remove_source_identifier_from_subscription/builders.rs @@ -19,9 +19,9 @@ impl RemoveSourceIdentifierFromSubscriptionFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize(self) -> ::std::result::Result< + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware(self) -> ::std::result::Result< crate::client::customize::CustomizableOperation, ::aws_smithy_http::result::SdkError >{ @@ -64,6 +64,15 @@ impl RemoveSourceIdentifierFromSubscriptionFluentBuilder { { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize(self) -> ::std::result::Result< + crate::client::customize::CustomizableOperation, + ::aws_smithy_http::result::SdkError + >{ + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                  The name of the RDS event notification subscription you want to remove a source identifier from.

                                                                                                                                                                                                                                                                                                                  pub fn subscription_name( mut self, diff --git a/sdk/rds/src/operation/remove_tags_from_resource/builders.rs b/sdk/rds/src/operation/remove_tags_from_resource/builders.rs index e78226512ec2..3525af622df2 100644 --- a/sdk/rds/src/operation/remove_tags_from_resource/builders.rs +++ b/sdk/rds/src/operation/remove_tags_from_resource/builders.rs @@ -21,9 +21,9 @@ impl RemoveTagsFromResourceFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -85,6 +85,22 @@ impl RemoveTagsFromResourceFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::remove_tags_from_resource::RemoveTagsFromResource, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::remove_tags_from_resource::RemoveTagsFromResourceError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                  The Amazon RDS resource that the tags are removed from. This value is an Amazon Resource Name (ARN). For information about creating an ARN, see Constructing an ARN for Amazon RDS in the Amazon RDS User Guide.

                                                                                                                                                                                                                                                                                                                  pub fn resource_name( mut self, diff --git a/sdk/rds/src/operation/reset_db_cluster_parameter_group/builders.rs b/sdk/rds/src/operation/reset_db_cluster_parameter_group/builders.rs index 231974f54791..fed172bdb2db 100644 --- a/sdk/rds/src/operation/reset_db_cluster_parameter_group/builders.rs +++ b/sdk/rds/src/operation/reset_db_cluster_parameter_group/builders.rs @@ -22,9 +22,9 @@ impl ResetDBClusterParameterGroupFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -86,6 +86,22 @@ impl ResetDBClusterParameterGroupFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::reset_db_cluster_parameter_group::ResetDBClusterParameterGroup, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::reset_db_cluster_parameter_group::ResetDBClusterParameterGroupError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                  The name of the DB cluster parameter group to reset.

                                                                                                                                                                                                                                                                                                                  pub fn db_cluster_parameter_group_name( mut self, diff --git a/sdk/rds/src/operation/reset_db_parameter_group/builders.rs b/sdk/rds/src/operation/reset_db_parameter_group/builders.rs index b464db3d371d..f5bd9558220f 100644 --- a/sdk/rds/src/operation/reset_db_parameter_group/builders.rs +++ b/sdk/rds/src/operation/reset_db_parameter_group/builders.rs @@ -19,9 +19,9 @@ impl ResetDBParameterGroupFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl ResetDBParameterGroupFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::reset_db_parameter_group::ResetDBParameterGroup, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::reset_db_parameter_group::ResetDBParameterGroupError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                  The name of the DB parameter group.

                                                                                                                                                                                                                                                                                                                  ///

                                                                                                                                                                                                                                                                                                                  Constraints:

                                                                                                                                                                                                                                                                                                                  ///
                                                                                                                                                                                                                                                                                                                    diff --git a/sdk/rds/src/operation/restore_db_cluster_from_s3/builders.rs b/sdk/rds/src/operation/restore_db_cluster_from_s3/builders.rs index e0c4a8d3197f..806b59f6fe59 100644 --- a/sdk/rds/src/operation/restore_db_cluster_from_s3/builders.rs +++ b/sdk/rds/src/operation/restore_db_cluster_from_s3/builders.rs @@ -25,9 +25,9 @@ impl RestoreDBClusterFromS3FluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -89,6 +89,22 @@ impl RestoreDBClusterFromS3FluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::restore_db_cluster_from_s3::RestoreDBClusterFromS3, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::restore_db_cluster_from_s3::RestoreDBClusterFromS3Error, + >, + > { + self.customize_middleware().await + } /// Appends an item to `AvailabilityZones`. /// /// To override the contents of this collection use [`set_availability_zones`](Self::set_availability_zones). diff --git a/sdk/rds/src/operation/restore_db_cluster_from_snapshot/builders.rs b/sdk/rds/src/operation/restore_db_cluster_from_snapshot/builders.rs index 6fc8e42b2592..c6f76ef89e39 100644 --- a/sdk/rds/src/operation/restore_db_cluster_from_snapshot/builders.rs +++ b/sdk/rds/src/operation/restore_db_cluster_from_snapshot/builders.rs @@ -24,9 +24,9 @@ impl RestoreDBClusterFromSnapshotFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -88,6 +88,22 @@ impl RestoreDBClusterFromSnapshotFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::restore_db_cluster_from_snapshot::RestoreDBClusterFromSnapshot, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::restore_db_cluster_from_snapshot::RestoreDBClusterFromSnapshotError, + >, + > { + self.customize_middleware().await + } /// Appends an item to `AvailabilityZones`. /// /// To override the contents of this collection use [`set_availability_zones`](Self::set_availability_zones). diff --git a/sdk/rds/src/operation/restore_db_cluster_to_point_in_time/builders.rs b/sdk/rds/src/operation/restore_db_cluster_to_point_in_time/builders.rs index 76898ae51e86..33100027300b 100644 --- a/sdk/rds/src/operation/restore_db_cluster_to_point_in_time/builders.rs +++ b/sdk/rds/src/operation/restore_db_cluster_to_point_in_time/builders.rs @@ -23,9 +23,9 @@ impl RestoreDBClusterToPointInTimeFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize(self) -> ::std::result::Result< + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware(self) -> ::std::result::Result< crate::client::customize::CustomizableOperation, ::aws_smithy_http::result::SdkError >{ @@ -68,6 +68,15 @@ impl RestoreDBClusterToPointInTimeFluentBuilder { { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize(self) -> ::std::result::Result< + crate::client::customize::CustomizableOperation, + ::aws_smithy_http::result::SdkError + >{ + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                    The name of the new DB cluster to be created.

                                                                                                                                                                                                                                                                                                                    ///

                                                                                                                                                                                                                                                                                                                    Constraints:

                                                                                                                                                                                                                                                                                                                    ///
                                                                                                                                                                                                                                                                                                                      diff --git a/sdk/rds/src/operation/restore_db_instance_from_db_snapshot/builders.rs b/sdk/rds/src/operation/restore_db_instance_from_db_snapshot/builders.rs index d2d055206c5b..7669e74da1e1 100644 --- a/sdk/rds/src/operation/restore_db_instance_from_db_snapshot/builders.rs +++ b/sdk/rds/src/operation/restore_db_instance_from_db_snapshot/builders.rs @@ -23,9 +23,9 @@ impl RestoreDBInstanceFromDBSnapshotFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize(self) -> ::std::result::Result< + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware(self) -> ::std::result::Result< crate::client::customize::CustomizableOperation, ::aws_smithy_http::result::SdkError >{ @@ -68,6 +68,15 @@ impl RestoreDBInstanceFromDBSnapshotFluentBuilder { { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize(self) -> ::std::result::Result< + crate::client::customize::CustomizableOperation, + ::aws_smithy_http::result::SdkError + >{ + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                      Name of the DB instance to create from the DB snapshot. This parameter isn't case-sensitive.

                                                                                                                                                                                                                                                                                                                      ///

                                                                                                                                                                                                                                                                                                                      Constraints:

                                                                                                                                                                                                                                                                                                                      ///
                                                                                                                                                                                                                                                                                                                        diff --git a/sdk/rds/src/operation/restore_db_instance_from_s3/builders.rs b/sdk/rds/src/operation/restore_db_instance_from_s3/builders.rs index 7e3e7b01ac16..b1798a0e8033 100644 --- a/sdk/rds/src/operation/restore_db_instance_from_s3/builders.rs +++ b/sdk/rds/src/operation/restore_db_instance_from_s3/builders.rs @@ -20,9 +20,9 @@ impl RestoreDBInstanceFromS3FluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -84,6 +84,22 @@ impl RestoreDBInstanceFromS3FluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::restore_db_instance_from_s3::RestoreDBInstanceFromS3, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::restore_db_instance_from_s3::RestoreDBInstanceFromS3Error, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                        The name of the database to create when the DB instance is created. Follow the naming rules specified in CreateDBInstance.

                                                                                                                                                                                                                                                                                                                        pub fn db_name(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.db_name(input.into()); diff --git a/sdk/rds/src/operation/restore_db_instance_to_point_in_time/builders.rs b/sdk/rds/src/operation/restore_db_instance_to_point_in_time/builders.rs index 88ca286ffdb1..afaaf83915ce 100644 --- a/sdk/rds/src/operation/restore_db_instance_to_point_in_time/builders.rs +++ b/sdk/rds/src/operation/restore_db_instance_to_point_in_time/builders.rs @@ -22,9 +22,9 @@ impl RestoreDBInstanceToPointInTimeFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize(self) -> ::std::result::Result< + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware(self) -> ::std::result::Result< crate::client::customize::CustomizableOperation, ::aws_smithy_http::result::SdkError >{ @@ -67,6 +67,15 @@ impl RestoreDBInstanceToPointInTimeFluentBuilder { { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize(self) -> ::std::result::Result< + crate::client::customize::CustomizableOperation, + ::aws_smithy_http::result::SdkError + >{ + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                        The identifier of the source DB instance from which to restore.

                                                                                                                                                                                                                                                                                                                        ///

                                                                                                                                                                                                                                                                                                                        Constraints:

                                                                                                                                                                                                                                                                                                                        ///
                                                                                                                                                                                                                                                                                                                          diff --git a/sdk/rds/src/operation/revoke_db_security_group_ingress/builders.rs b/sdk/rds/src/operation/revoke_db_security_group_ingress/builders.rs index e707f1ba7166..7d53aaf0f1e2 100644 --- a/sdk/rds/src/operation/revoke_db_security_group_ingress/builders.rs +++ b/sdk/rds/src/operation/revoke_db_security_group_ingress/builders.rs @@ -21,9 +21,9 @@ impl RevokeDBSecurityGroupIngressFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -85,6 +85,22 @@ impl RevokeDBSecurityGroupIngressFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::revoke_db_security_group_ingress::RevokeDBSecurityGroupIngress, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::revoke_db_security_group_ingress::RevokeDBSecurityGroupIngressError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                          The name of the DB security group to revoke ingress from.

                                                                                                                                                                                                                                                                                                                          pub fn db_security_group_name( mut self, diff --git a/sdk/rds/src/operation/start_activity_stream/builders.rs b/sdk/rds/src/operation/start_activity_stream/builders.rs index fbb5c409fa95..7dcf02620042 100644 --- a/sdk/rds/src/operation/start_activity_stream/builders.rs +++ b/sdk/rds/src/operation/start_activity_stream/builders.rs @@ -19,9 +19,9 @@ impl StartActivityStreamFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl StartActivityStreamFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::start_activity_stream::StartActivityStream, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::start_activity_stream::StartActivityStreamError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                          The Amazon Resource Name (ARN) of the DB cluster, for example, arn:aws:rds:us-east-1:12345667890:cluster:das-cluster.

                                                                                                                                                                                                                                                                                                                          pub fn resource_arn(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.resource_arn(input.into()); diff --git a/sdk/rds/src/operation/start_db_cluster/builders.rs b/sdk/rds/src/operation/start_db_cluster/builders.rs index 18f6875ad07c..7705da4e765b 100644 --- a/sdk/rds/src/operation/start_db_cluster/builders.rs +++ b/sdk/rds/src/operation/start_db_cluster/builders.rs @@ -22,9 +22,9 @@ impl StartDBClusterFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -86,6 +86,22 @@ impl StartDBClusterFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::start_db_cluster::StartDBCluster, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::start_db_cluster::StartDBClusterError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                          The DB cluster identifier of the Amazon Aurora DB cluster to be started. This parameter is stored as a lowercase string.

                                                                                                                                                                                                                                                                                                                          pub fn db_cluster_identifier( mut self, diff --git a/sdk/rds/src/operation/start_db_instance/builders.rs b/sdk/rds/src/operation/start_db_instance/builders.rs index 48ad0e3fa217..6dc541656fc6 100644 --- a/sdk/rds/src/operation/start_db_instance/builders.rs +++ b/sdk/rds/src/operation/start_db_instance/builders.rs @@ -22,9 +22,9 @@ impl StartDBInstanceFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -86,6 +86,22 @@ impl StartDBInstanceFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::start_db_instance::StartDBInstance, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::start_db_instance::StartDBInstanceError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                          The user-supplied instance identifier.

                                                                                                                                                                                                                                                                                                                          pub fn db_instance_identifier( mut self, diff --git a/sdk/rds/src/operation/start_db_instance_automated_backups_replication/builders.rs b/sdk/rds/src/operation/start_db_instance_automated_backups_replication/builders.rs index 8947334ac9a6..f20366b4a7f8 100644 --- a/sdk/rds/src/operation/start_db_instance_automated_backups_replication/builders.rs +++ b/sdk/rds/src/operation/start_db_instance_automated_backups_replication/builders.rs @@ -21,9 +21,9 @@ impl StartDBInstanceAutomatedBackupsReplicationFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize(self) -> ::std::result::Result< + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware(self) -> ::std::result::Result< crate::client::customize::CustomizableOperation, ::aws_smithy_http::result::SdkError >{ @@ -66,6 +66,15 @@ impl StartDBInstanceAutomatedBackupsReplicationFluentBuilder { { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize(self) -> ::std::result::Result< + crate::client::customize::CustomizableOperation, + ::aws_smithy_http::result::SdkError + >{ + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                          The Amazon Resource Name (ARN) of the source DB instance for the replicated automated backups, for example, arn:aws:rds:us-west-2:123456789012:db:mydatabase.

                                                                                                                                                                                                                                                                                                                          pub fn source_db_instance_arn( mut self, diff --git a/sdk/rds/src/operation/start_export_task/builders.rs b/sdk/rds/src/operation/start_export_task/builders.rs index 072a67b36d2c..339e450dd76c 100644 --- a/sdk/rds/src/operation/start_export_task/builders.rs +++ b/sdk/rds/src/operation/start_export_task/builders.rs @@ -23,9 +23,9 @@ impl StartExportTaskFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -87,6 +87,22 @@ impl StartExportTaskFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::start_export_task::StartExportTask, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::start_export_task::StartExportTaskError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                          A unique identifier for the export task. This ID isn't an identifier for the Amazon S3 bucket where the data is to be exported.

                                                                                                                                                                                                                                                                                                                          pub fn export_task_identifier( mut self, diff --git a/sdk/rds/src/operation/stop_activity_stream/builders.rs b/sdk/rds/src/operation/stop_activity_stream/builders.rs index 030d4a6d2700..5cea16447626 100644 --- a/sdk/rds/src/operation/stop_activity_stream/builders.rs +++ b/sdk/rds/src/operation/stop_activity_stream/builders.rs @@ -20,9 +20,9 @@ impl StopActivityStreamFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -84,6 +84,22 @@ impl StopActivityStreamFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::stop_activity_stream::StopActivityStream, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::stop_activity_stream::StopActivityStreamError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                          The Amazon Resource Name (ARN) of the DB cluster for the database activity stream. For example, arn:aws:rds:us-east-1:12345667890:cluster:das-cluster.

                                                                                                                                                                                                                                                                                                                          pub fn resource_arn(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.resource_arn(input.into()); diff --git a/sdk/rds/src/operation/stop_db_cluster/builders.rs b/sdk/rds/src/operation/stop_db_cluster/builders.rs index d54702469e83..63fad61b8259 100644 --- a/sdk/rds/src/operation/stop_db_cluster/builders.rs +++ b/sdk/rds/src/operation/stop_db_cluster/builders.rs @@ -22,9 +22,9 @@ impl StopDBClusterFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -80,6 +80,20 @@ impl StopDBClusterFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::stop_db_cluster::StopDBCluster, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                          The DB cluster identifier of the Amazon Aurora DB cluster to be stopped. This parameter is stored as a lowercase string.

                                                                                                                                                                                                                                                                                                                          pub fn db_cluster_identifier( mut self, diff --git a/sdk/rds/src/operation/stop_db_instance/builders.rs b/sdk/rds/src/operation/stop_db_instance/builders.rs index 390887e87104..18ee0a654f7b 100644 --- a/sdk/rds/src/operation/stop_db_instance/builders.rs +++ b/sdk/rds/src/operation/stop_db_instance/builders.rs @@ -22,9 +22,9 @@ impl StopDBInstanceFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -86,6 +86,22 @@ impl StopDBInstanceFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::stop_db_instance::StopDBInstance, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::stop_db_instance::StopDBInstanceError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                          The user-supplied instance identifier.

                                                                                                                                                                                                                                                                                                                          pub fn db_instance_identifier( mut self, diff --git a/sdk/rds/src/operation/stop_db_instance_automated_backups_replication/builders.rs b/sdk/rds/src/operation/stop_db_instance_automated_backups_replication/builders.rs index f5f85cf49f74..33b9b7c7785e 100644 --- a/sdk/rds/src/operation/stop_db_instance_automated_backups_replication/builders.rs +++ b/sdk/rds/src/operation/stop_db_instance_automated_backups_replication/builders.rs @@ -21,9 +21,9 @@ impl StopDBInstanceAutomatedBackupsReplicationFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize(self) -> ::std::result::Result< + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware(self) -> ::std::result::Result< crate::client::customize::CustomizableOperation, ::aws_smithy_http::result::SdkError >{ @@ -66,6 +66,15 @@ impl StopDBInstanceAutomatedBackupsReplicationFluentBuilder { { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize(self) -> ::std::result::Result< + crate::client::customize::CustomizableOperation, + ::aws_smithy_http::result::SdkError + >{ + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                          The Amazon Resource Name (ARN) of the source DB instance for which to stop replicating automate backups, for example, arn:aws:rds:us-west-2:123456789012:db:mydatabase.

                                                                                                                                                                                                                                                                                                                          pub fn source_db_instance_arn( mut self, diff --git a/sdk/rds/src/operation/switchover_blue_green_deployment/builders.rs b/sdk/rds/src/operation/switchover_blue_green_deployment/builders.rs index 302908563355..004c62b6bf2f 100644 --- a/sdk/rds/src/operation/switchover_blue_green_deployment/builders.rs +++ b/sdk/rds/src/operation/switchover_blue_green_deployment/builders.rs @@ -21,9 +21,9 @@ impl SwitchoverBlueGreenDeploymentFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -85,6 +85,22 @@ impl SwitchoverBlueGreenDeploymentFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::switchover_blue_green_deployment::SwitchoverBlueGreenDeployment, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::switchover_blue_green_deployment::SwitchoverBlueGreenDeploymentError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                          The blue/green deployment identifier.

                                                                                                                                                                                                                                                                                                                          ///

                                                                                                                                                                                                                                                                                                                          Constraints:

                                                                                                                                                                                                                                                                                                                          ///
                                                                                                                                                                                                                                                                                                                            diff --git a/sdk/rds/src/operation/switchover_read_replica/builders.rs b/sdk/rds/src/operation/switchover_read_replica/builders.rs index 973c649f5b55..ee482527a6a8 100644 --- a/sdk/rds/src/operation/switchover_read_replica/builders.rs +++ b/sdk/rds/src/operation/switchover_read_replica/builders.rs @@ -19,9 +19,9 @@ impl SwitchoverReadReplicaFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl SwitchoverReadReplicaFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::switchover_read_replica::SwitchoverReadReplica, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::switchover_read_replica::SwitchoverReadReplicaError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                            The DB instance identifier of the current standby database. This value is stored as a lowercase string.

                                                                                                                                                                                                                                                                                                                            ///

                                                                                                                                                                                                                                                                                                                            Constraints:

                                                                                                                                                                                                                                                                                                                            ///
                                                                                                                                                                                                                                                                                                                              diff --git a/sdk/rdsdata/src/operation/batch_execute_statement/builders.rs b/sdk/rdsdata/src/operation/batch_execute_statement/builders.rs index adddf578dc01..efdb1ea1f64c 100644 --- a/sdk/rdsdata/src/operation/batch_execute_statement/builders.rs +++ b/sdk/rdsdata/src/operation/batch_execute_statement/builders.rs @@ -24,9 +24,9 @@ impl BatchExecuteStatementFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -88,6 +88,22 @@ impl BatchExecuteStatementFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::batch_execute_statement::BatchExecuteStatement, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::batch_execute_statement::BatchExecuteStatementError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                              The Amazon Resource Name (ARN) of the Aurora Serverless DB cluster.

                                                                                                                                                                                                                                                                                                                              pub fn resource_arn(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.resource_arn(input.into()); diff --git a/sdk/rdsdata/src/operation/begin_transaction/builders.rs b/sdk/rdsdata/src/operation/begin_transaction/builders.rs index 7a69cf328578..02d4f024f001 100644 --- a/sdk/rdsdata/src/operation/begin_transaction/builders.rs +++ b/sdk/rdsdata/src/operation/begin_transaction/builders.rs @@ -23,9 +23,9 @@ impl BeginTransactionFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -87,6 +87,22 @@ impl BeginTransactionFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::begin_transaction::BeginTransaction, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::begin_transaction::BeginTransactionError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                              The Amazon Resource Name (ARN) of the Aurora Serverless DB cluster.

                                                                                                                                                                                                                                                                                                                              pub fn resource_arn(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.resource_arn(input.into()); diff --git a/sdk/rdsdata/src/operation/commit_transaction/builders.rs b/sdk/rdsdata/src/operation/commit_transaction/builders.rs index 70cb90db8589..e03e03b7a032 100644 --- a/sdk/rdsdata/src/operation/commit_transaction/builders.rs +++ b/sdk/rdsdata/src/operation/commit_transaction/builders.rs @@ -19,9 +19,9 @@ impl CommitTransactionFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl CommitTransactionFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::commit_transaction::CommitTransaction, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::commit_transaction::CommitTransactionError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                              The Amazon Resource Name (ARN) of the Aurora Serverless DB cluster.

                                                                                                                                                                                                                                                                                                                              pub fn resource_arn(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.resource_arn(input.into()); diff --git a/sdk/rdsdata/src/operation/execute_sql/builders.rs b/sdk/rdsdata/src/operation/execute_sql/builders.rs index 9c390843a942..fc1885807e76 100644 --- a/sdk/rdsdata/src/operation/execute_sql/builders.rs +++ b/sdk/rdsdata/src/operation/execute_sql/builders.rs @@ -25,9 +25,9 @@ impl ExecuteSqlFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,20 @@ impl ExecuteSqlFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::execute_sql::ExecuteSql, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                              The ARN of the Aurora Serverless DB cluster.

                                                                                                                                                                                                                                                                                                                              pub fn db_cluster_or_instance_arn( mut self, diff --git a/sdk/rdsdata/src/operation/execute_statement/builders.rs b/sdk/rdsdata/src/operation/execute_statement/builders.rs index cc88ee8ba7e4..e6e63b03695c 100644 --- a/sdk/rdsdata/src/operation/execute_statement/builders.rs +++ b/sdk/rdsdata/src/operation/execute_statement/builders.rs @@ -22,9 +22,9 @@ impl ExecuteStatementFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -86,6 +86,22 @@ impl ExecuteStatementFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::execute_statement::ExecuteStatement, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::execute_statement::ExecuteStatementError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                              The Amazon Resource Name (ARN) of the Aurora Serverless DB cluster.

                                                                                                                                                                                                                                                                                                                              pub fn resource_arn(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.resource_arn(input.into()); diff --git a/sdk/rdsdata/src/operation/rollback_transaction/builders.rs b/sdk/rdsdata/src/operation/rollback_transaction/builders.rs index 56f9a0939d19..57160980c08b 100644 --- a/sdk/rdsdata/src/operation/rollback_transaction/builders.rs +++ b/sdk/rdsdata/src/operation/rollback_transaction/builders.rs @@ -19,9 +19,9 @@ impl RollbackTransactionFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl RollbackTransactionFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::rollback_transaction::RollbackTransaction, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::rollback_transaction::RollbackTransactionError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                              The Amazon Resource Name (ARN) of the Aurora Serverless DB cluster.

                                                                                                                                                                                                                                                                                                                              pub fn resource_arn(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.resource_arn(input.into()); diff --git a/sdk/redshift/src/operation/accept_reserved_node_exchange/builders.rs b/sdk/redshift/src/operation/accept_reserved_node_exchange/builders.rs index 3aee41b0b526..98e1aff45918 100644 --- a/sdk/redshift/src/operation/accept_reserved_node_exchange/builders.rs +++ b/sdk/redshift/src/operation/accept_reserved_node_exchange/builders.rs @@ -19,9 +19,9 @@ impl AcceptReservedNodeExchangeFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl AcceptReservedNodeExchangeFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::accept_reserved_node_exchange::AcceptReservedNodeExchange, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::accept_reserved_node_exchange::AcceptReservedNodeExchangeError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                              A string representing the node identifier of the DC1 Reserved Node to be exchanged.

                                                                                                                                                                                                                                                                                                                              pub fn reserved_node_id( mut self, diff --git a/sdk/redshift/src/operation/add_partner/builders.rs b/sdk/redshift/src/operation/add_partner/builders.rs index f544854ef575..ab76da5ad0e9 100644 --- a/sdk/redshift/src/operation/add_partner/builders.rs +++ b/sdk/redshift/src/operation/add_partner/builders.rs @@ -19,9 +19,9 @@ impl AddPartnerFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl AddPartnerFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::add_partner::AddPartner, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                              The Amazon Web Services account ID that owns the cluster.

                                                                                                                                                                                                                                                                                                                              pub fn account_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.account_id(input.into()); diff --git a/sdk/redshift/src/operation/associate_data_share_consumer/builders.rs b/sdk/redshift/src/operation/associate_data_share_consumer/builders.rs index f87e0fedf07e..35ef8102efd7 100644 --- a/sdk/redshift/src/operation/associate_data_share_consumer/builders.rs +++ b/sdk/redshift/src/operation/associate_data_share_consumer/builders.rs @@ -19,9 +19,9 @@ impl AssociateDataShareConsumerFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl AssociateDataShareConsumerFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::associate_data_share_consumer::AssociateDataShareConsumer, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::associate_data_share_consumer::AssociateDataShareConsumerError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                              The Amazon Resource Name (ARN) of the datashare that the consumer is to use with the account or the namespace.

                                                                                                                                                                                                                                                                                                                              pub fn data_share_arn( mut self, diff --git a/sdk/redshift/src/operation/authorize_cluster_security_group_ingress/builders.rs b/sdk/redshift/src/operation/authorize_cluster_security_group_ingress/builders.rs index e3413315c716..e275dabfd08c 100644 --- a/sdk/redshift/src/operation/authorize_cluster_security_group_ingress/builders.rs +++ b/sdk/redshift/src/operation/authorize_cluster_security_group_ingress/builders.rs @@ -22,9 +22,9 @@ impl AuthorizeClusterSecurityGroupIngressFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize(self) -> ::std::result::Result< + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware(self) -> ::std::result::Result< crate::client::customize::CustomizableOperation, ::aws_smithy_http::result::SdkError >{ @@ -67,6 +67,15 @@ impl AuthorizeClusterSecurityGroupIngressFluentBuilder { { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize(self) -> ::std::result::Result< + crate::client::customize::CustomizableOperation, + ::aws_smithy_http::result::SdkError + >{ + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                              The name of the security group to which the ingress rule is added.

                                                                                                                                                                                                                                                                                                                              pub fn cluster_security_group_name( mut self, diff --git a/sdk/redshift/src/operation/authorize_data_share/builders.rs b/sdk/redshift/src/operation/authorize_data_share/builders.rs index 45b56add9f5e..6c5d5ca37622 100644 --- a/sdk/redshift/src/operation/authorize_data_share/builders.rs +++ b/sdk/redshift/src/operation/authorize_data_share/builders.rs @@ -19,9 +19,9 @@ impl AuthorizeDataShareFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl AuthorizeDataShareFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::authorize_data_share::AuthorizeDataShare, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::authorize_data_share::AuthorizeDataShareError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                              The Amazon Resource Name (ARN) of the datashare that producers are to authorize sharing for.

                                                                                                                                                                                                                                                                                                                              pub fn data_share_arn( mut self, diff --git a/sdk/redshift/src/operation/authorize_endpoint_access/builders.rs b/sdk/redshift/src/operation/authorize_endpoint_access/builders.rs index ebbf11505601..3d5169e9f9c6 100644 --- a/sdk/redshift/src/operation/authorize_endpoint_access/builders.rs +++ b/sdk/redshift/src/operation/authorize_endpoint_access/builders.rs @@ -20,9 +20,9 @@ impl AuthorizeEndpointAccessFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -84,6 +84,22 @@ impl AuthorizeEndpointAccessFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::authorize_endpoint_access::AuthorizeEndpointAccess, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::authorize_endpoint_access::AuthorizeEndpointAccessError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                              The cluster identifier of the cluster to grant access to.

                                                                                                                                                                                                                                                                                                                              pub fn cluster_identifier( mut self, diff --git a/sdk/redshift/src/operation/authorize_snapshot_access/builders.rs b/sdk/redshift/src/operation/authorize_snapshot_access/builders.rs index 6815ceac375b..4a6493d02dad 100644 --- a/sdk/redshift/src/operation/authorize_snapshot_access/builders.rs +++ b/sdk/redshift/src/operation/authorize_snapshot_access/builders.rs @@ -21,9 +21,9 @@ impl AuthorizeSnapshotAccessFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -85,6 +85,22 @@ impl AuthorizeSnapshotAccessFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::authorize_snapshot_access::AuthorizeSnapshotAccess, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::authorize_snapshot_access::AuthorizeSnapshotAccessError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                              The identifier of the snapshot the account is authorized to restore.

                                                                                                                                                                                                                                                                                                                              pub fn snapshot_identifier( mut self, diff --git a/sdk/redshift/src/operation/batch_delete_cluster_snapshots/builders.rs b/sdk/redshift/src/operation/batch_delete_cluster_snapshots/builders.rs index 3a8d604f2e83..092d4202d5a2 100644 --- a/sdk/redshift/src/operation/batch_delete_cluster_snapshots/builders.rs +++ b/sdk/redshift/src/operation/batch_delete_cluster_snapshots/builders.rs @@ -19,9 +19,9 @@ impl BatchDeleteClusterSnapshotsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl BatchDeleteClusterSnapshotsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::batch_delete_cluster_snapshots::BatchDeleteClusterSnapshots, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::batch_delete_cluster_snapshots::BatchDeleteClusterSnapshotsError, + >, + > { + self.customize_middleware().await + } /// Appends an item to `Identifiers`. /// /// To override the contents of this collection use [`set_identifiers`](Self::set_identifiers). diff --git a/sdk/redshift/src/operation/batch_modify_cluster_snapshots/builders.rs b/sdk/redshift/src/operation/batch_modify_cluster_snapshots/builders.rs index 8774d75da747..665c9279d6d9 100644 --- a/sdk/redshift/src/operation/batch_modify_cluster_snapshots/builders.rs +++ b/sdk/redshift/src/operation/batch_modify_cluster_snapshots/builders.rs @@ -19,9 +19,9 @@ impl BatchModifyClusterSnapshotsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl BatchModifyClusterSnapshotsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::batch_modify_cluster_snapshots::BatchModifyClusterSnapshots, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::batch_modify_cluster_snapshots::BatchModifyClusterSnapshotsError, + >, + > { + self.customize_middleware().await + } /// Appends an item to `SnapshotIdentifierList`. /// /// To override the contents of this collection use [`set_snapshot_identifier_list`](Self::set_snapshot_identifier_list). diff --git a/sdk/redshift/src/operation/cancel_resize/builders.rs b/sdk/redshift/src/operation/cancel_resize/builders.rs index fc8755525537..1129020f46b0 100644 --- a/sdk/redshift/src/operation/cancel_resize/builders.rs +++ b/sdk/redshift/src/operation/cancel_resize/builders.rs @@ -19,9 +19,9 @@ impl CancelResizeFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl CancelResizeFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::cancel_resize::CancelResize, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                              The unique identifier for the cluster that you want to cancel a resize operation for.

                                                                                                                                                                                                                                                                                                                              pub fn cluster_identifier( mut self, diff --git a/sdk/redshift/src/operation/copy_cluster_snapshot/builders.rs b/sdk/redshift/src/operation/copy_cluster_snapshot/builders.rs index 39a6951203f5..a02de78a31a3 100644 --- a/sdk/redshift/src/operation/copy_cluster_snapshot/builders.rs +++ b/sdk/redshift/src/operation/copy_cluster_snapshot/builders.rs @@ -21,9 +21,9 @@ impl CopyClusterSnapshotFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -85,6 +85,22 @@ impl CopyClusterSnapshotFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::copy_cluster_snapshot::CopyClusterSnapshot, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::copy_cluster_snapshot::CopyClusterSnapshotError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                              The identifier for the source snapshot.

                                                                                                                                                                                                                                                                                                                              ///

                                                                                                                                                                                                                                                                                                                              Constraints:

                                                                                                                                                                                                                                                                                                                              ///
                                                                                                                                                                                                                                                                                                                                diff --git a/sdk/redshift/src/operation/create_authentication_profile/builders.rs b/sdk/redshift/src/operation/create_authentication_profile/builders.rs index 7b636cda31a4..121c36a2ea76 100644 --- a/sdk/redshift/src/operation/create_authentication_profile/builders.rs +++ b/sdk/redshift/src/operation/create_authentication_profile/builders.rs @@ -19,9 +19,9 @@ impl CreateAuthenticationProfileFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl CreateAuthenticationProfileFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::create_authentication_profile::CreateAuthenticationProfile, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::create_authentication_profile::CreateAuthenticationProfileError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                The name of the authentication profile to be created.

                                                                                                                                                                                                                                                                                                                                pub fn authentication_profile_name( mut self, diff --git a/sdk/redshift/src/operation/create_cluster/builders.rs b/sdk/redshift/src/operation/create_cluster/builders.rs index d81cce6323a6..172db8efaf68 100644 --- a/sdk/redshift/src/operation/create_cluster/builders.rs +++ b/sdk/redshift/src/operation/create_cluster/builders.rs @@ -20,9 +20,9 @@ impl CreateClusterFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -78,6 +78,20 @@ impl CreateClusterFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::create_cluster::CreateCluster, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                The name of the first database to be created when the cluster is created.

                                                                                                                                                                                                                                                                                                                                ///

                                                                                                                                                                                                                                                                                                                                To create additional databases after the cluster is created, connect to the cluster with a SQL client and use SQL commands to create a database. For more information, go to Create a Database in the Amazon Redshift Database Developer Guide.

                                                                                                                                                                                                                                                                                                                                ///

                                                                                                                                                                                                                                                                                                                                Default: dev

                                                                                                                                                                                                                                                                                                                                diff --git a/sdk/redshift/src/operation/create_cluster_parameter_group/builders.rs b/sdk/redshift/src/operation/create_cluster_parameter_group/builders.rs index 52cf9580c03b..d7088dc9835c 100644 --- a/sdk/redshift/src/operation/create_cluster_parameter_group/builders.rs +++ b/sdk/redshift/src/operation/create_cluster_parameter_group/builders.rs @@ -21,9 +21,9 @@ impl CreateClusterParameterGroupFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -85,6 +85,22 @@ impl CreateClusterParameterGroupFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::create_cluster_parameter_group::CreateClusterParameterGroup, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::create_cluster_parameter_group::CreateClusterParameterGroupError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                The name of the cluster parameter group.

                                                                                                                                                                                                                                                                                                                                ///

                                                                                                                                                                                                                                                                                                                                Constraints:

                                                                                                                                                                                                                                                                                                                                ///
                                                                                                                                                                                                                                                                                                                                  diff --git a/sdk/redshift/src/operation/create_cluster_security_group/builders.rs b/sdk/redshift/src/operation/create_cluster_security_group/builders.rs index 7f8c16e96924..2116c4e9418e 100644 --- a/sdk/redshift/src/operation/create_cluster_security_group/builders.rs +++ b/sdk/redshift/src/operation/create_cluster_security_group/builders.rs @@ -20,9 +20,9 @@ impl CreateClusterSecurityGroupFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -84,6 +84,22 @@ impl CreateClusterSecurityGroupFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::create_cluster_security_group::CreateClusterSecurityGroup, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::create_cluster_security_group::CreateClusterSecurityGroupError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                  The name for the security group. Amazon Redshift stores the value as a lowercase string.

                                                                                                                                                                                                                                                                                                                                  ///

                                                                                                                                                                                                                                                                                                                                  Constraints:

                                                                                                                                                                                                                                                                                                                                  ///
                                                                                                                                                                                                                                                                                                                                    diff --git a/sdk/redshift/src/operation/create_cluster_snapshot/builders.rs b/sdk/redshift/src/operation/create_cluster_snapshot/builders.rs index d1cefac629f9..63a46d7fd97c 100644 --- a/sdk/redshift/src/operation/create_cluster_snapshot/builders.rs +++ b/sdk/redshift/src/operation/create_cluster_snapshot/builders.rs @@ -20,9 +20,9 @@ impl CreateClusterSnapshotFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -84,6 +84,22 @@ impl CreateClusterSnapshotFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::create_cluster_snapshot::CreateClusterSnapshot, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::create_cluster_snapshot::CreateClusterSnapshotError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                    A unique identifier for the snapshot that you are requesting. This identifier must be unique for all snapshots within the Amazon Web Services account.

                                                                                                                                                                                                                                                                                                                                    ///

                                                                                                                                                                                                                                                                                                                                    Constraints:

                                                                                                                                                                                                                                                                                                                                    ///
                                                                                                                                                                                                                                                                                                                                      diff --git a/sdk/redshift/src/operation/create_cluster_subnet_group/builders.rs b/sdk/redshift/src/operation/create_cluster_subnet_group/builders.rs index 1f0fed3dd83d..40e70d1ed328 100644 --- a/sdk/redshift/src/operation/create_cluster_subnet_group/builders.rs +++ b/sdk/redshift/src/operation/create_cluster_subnet_group/builders.rs @@ -20,9 +20,9 @@ impl CreateClusterSubnetGroupFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -84,6 +84,22 @@ impl CreateClusterSubnetGroupFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::create_cluster_subnet_group::CreateClusterSubnetGroup, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::create_cluster_subnet_group::CreateClusterSubnetGroupError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                      The name for the subnet group. Amazon Redshift stores the value as a lowercase string.

                                                                                                                                                                                                                                                                                                                                      ///

                                                                                                                                                                                                                                                                                                                                      Constraints:

                                                                                                                                                                                                                                                                                                                                      ///
                                                                                                                                                                                                                                                                                                                                        diff --git a/sdk/redshift/src/operation/create_endpoint_access/builders.rs b/sdk/redshift/src/operation/create_endpoint_access/builders.rs index 0a9ec4e86288..121368879aa9 100644 --- a/sdk/redshift/src/operation/create_endpoint_access/builders.rs +++ b/sdk/redshift/src/operation/create_endpoint_access/builders.rs @@ -19,9 +19,9 @@ impl CreateEndpointAccessFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl CreateEndpointAccessFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::create_endpoint_access::CreateEndpointAccess, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::create_endpoint_access::CreateEndpointAccessError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                        The cluster identifier of the cluster to access.

                                                                                                                                                                                                                                                                                                                                        pub fn cluster_identifier( mut self, diff --git a/sdk/redshift/src/operation/create_event_subscription/builders.rs b/sdk/redshift/src/operation/create_event_subscription/builders.rs index 30698b7e16a4..9f2dca6dd430 100644 --- a/sdk/redshift/src/operation/create_event_subscription/builders.rs +++ b/sdk/redshift/src/operation/create_event_subscription/builders.rs @@ -22,9 +22,9 @@ impl CreateEventSubscriptionFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -86,6 +86,22 @@ impl CreateEventSubscriptionFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::create_event_subscription::CreateEventSubscription, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::create_event_subscription::CreateEventSubscriptionError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                        The name of the event subscription to be created.

                                                                                                                                                                                                                                                                                                                                        ///

                                                                                                                                                                                                                                                                                                                                        Constraints:

                                                                                                                                                                                                                                                                                                                                        ///
                                                                                                                                                                                                                                                                                                                                          diff --git a/sdk/redshift/src/operation/create_hsm_client_certificate/builders.rs b/sdk/redshift/src/operation/create_hsm_client_certificate/builders.rs index 562b485d124f..5e0425670780 100644 --- a/sdk/redshift/src/operation/create_hsm_client_certificate/builders.rs +++ b/sdk/redshift/src/operation/create_hsm_client_certificate/builders.rs @@ -20,9 +20,9 @@ impl CreateHsmClientCertificateFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -84,6 +84,22 @@ impl CreateHsmClientCertificateFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::create_hsm_client_certificate::CreateHsmClientCertificate, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::create_hsm_client_certificate::CreateHsmClientCertificateError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                          The identifier to be assigned to the new HSM client certificate that the cluster will use to connect to the HSM to use the database encryption keys.

                                                                                                                                                                                                                                                                                                                                          pub fn hsm_client_certificate_identifier( mut self, diff --git a/sdk/redshift/src/operation/create_hsm_configuration/builders.rs b/sdk/redshift/src/operation/create_hsm_configuration/builders.rs index 8e8a19784f07..dc876ea137ab 100644 --- a/sdk/redshift/src/operation/create_hsm_configuration/builders.rs +++ b/sdk/redshift/src/operation/create_hsm_configuration/builders.rs @@ -20,9 +20,9 @@ impl CreateHsmConfigurationFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -84,6 +84,22 @@ impl CreateHsmConfigurationFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::create_hsm_configuration::CreateHsmConfiguration, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::create_hsm_configuration::CreateHsmConfigurationError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                          The identifier to be assigned to the new Amazon Redshift HSM configuration.

                                                                                                                                                                                                                                                                                                                                          pub fn hsm_configuration_identifier( mut self, diff --git a/sdk/redshift/src/operation/create_scheduled_action/builders.rs b/sdk/redshift/src/operation/create_scheduled_action/builders.rs index cd02f83d545a..f618001b1ca8 100644 --- a/sdk/redshift/src/operation/create_scheduled_action/builders.rs +++ b/sdk/redshift/src/operation/create_scheduled_action/builders.rs @@ -19,9 +19,9 @@ impl CreateScheduledActionFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl CreateScheduledActionFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::create_scheduled_action::CreateScheduledAction, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::create_scheduled_action::CreateScheduledActionError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                          The name of the scheduled action. The name must be unique within an account. For more information about this parameter, see ScheduledAction.

                                                                                                                                                                                                                                                                                                                                          pub fn scheduled_action_name( mut self, diff --git a/sdk/redshift/src/operation/create_snapshot_copy_grant/builders.rs b/sdk/redshift/src/operation/create_snapshot_copy_grant/builders.rs index 002d7631dfa7..d4c927923b25 100644 --- a/sdk/redshift/src/operation/create_snapshot_copy_grant/builders.rs +++ b/sdk/redshift/src/operation/create_snapshot_copy_grant/builders.rs @@ -21,9 +21,9 @@ impl CreateSnapshotCopyGrantFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -85,6 +85,22 @@ impl CreateSnapshotCopyGrantFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::create_snapshot_copy_grant::CreateSnapshotCopyGrant, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::create_snapshot_copy_grant::CreateSnapshotCopyGrantError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                          The name of the snapshot copy grant. This name must be unique in the region for the Amazon Web Services account.

                                                                                                                                                                                                                                                                                                                                          ///

                                                                                                                                                                                                                                                                                                                                          Constraints:

                                                                                                                                                                                                                                                                                                                                          ///
                                                                                                                                                                                                                                                                                                                                            diff --git a/sdk/redshift/src/operation/create_snapshot_schedule/builders.rs b/sdk/redshift/src/operation/create_snapshot_schedule/builders.rs index 40c2204c7e3b..de6238f3b470 100644 --- a/sdk/redshift/src/operation/create_snapshot_schedule/builders.rs +++ b/sdk/redshift/src/operation/create_snapshot_schedule/builders.rs @@ -19,9 +19,9 @@ impl CreateSnapshotScheduleFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl CreateSnapshotScheduleFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::create_snapshot_schedule::CreateSnapshotSchedule, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::create_snapshot_schedule::CreateSnapshotScheduleError, + >, + > { + self.customize_middleware().await + } /// Appends an item to `ScheduleDefinitions`. /// /// To override the contents of this collection use [`set_schedule_definitions`](Self::set_schedule_definitions). diff --git a/sdk/redshift/src/operation/create_tags/builders.rs b/sdk/redshift/src/operation/create_tags/builders.rs index 6fbc61bd0db5..bc86531e35cf 100644 --- a/sdk/redshift/src/operation/create_tags/builders.rs +++ b/sdk/redshift/src/operation/create_tags/builders.rs @@ -21,9 +21,9 @@ impl CreateTagsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -79,6 +79,20 @@ impl CreateTagsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::create_tags::CreateTags, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                            The Amazon Resource Name (ARN) to which you want to add the tag or tags. For example, arn:aws:redshift:us-east-2:123456789:cluster:t1.

                                                                                                                                                                                                                                                                                                                                            pub fn resource_name( mut self, diff --git a/sdk/redshift/src/operation/create_usage_limit/builders.rs b/sdk/redshift/src/operation/create_usage_limit/builders.rs index 580259475165..4a026499fcec 100644 --- a/sdk/redshift/src/operation/create_usage_limit/builders.rs +++ b/sdk/redshift/src/operation/create_usage_limit/builders.rs @@ -19,9 +19,9 @@ impl CreateUsageLimitFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl CreateUsageLimitFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::create_usage_limit::CreateUsageLimit, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::create_usage_limit::CreateUsageLimitError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                            The identifier of the cluster that you want to limit usage.

                                                                                                                                                                                                                                                                                                                                            pub fn cluster_identifier( mut self, diff --git a/sdk/redshift/src/operation/deauthorize_data_share/builders.rs b/sdk/redshift/src/operation/deauthorize_data_share/builders.rs index 2129317a139c..afefede8b9c3 100644 --- a/sdk/redshift/src/operation/deauthorize_data_share/builders.rs +++ b/sdk/redshift/src/operation/deauthorize_data_share/builders.rs @@ -19,9 +19,9 @@ impl DeauthorizeDataShareFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl DeauthorizeDataShareFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::deauthorize_data_share::DeauthorizeDataShare, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::deauthorize_data_share::DeauthorizeDataShareError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                            The Amazon Resource Name (ARN) of the datashare to remove authorization from.

                                                                                                                                                                                                                                                                                                                                            pub fn data_share_arn( mut self, diff --git a/sdk/redshift/src/operation/delete_authentication_profile/builders.rs b/sdk/redshift/src/operation/delete_authentication_profile/builders.rs index 8c9ab283e805..b01c0ac0e812 100644 --- a/sdk/redshift/src/operation/delete_authentication_profile/builders.rs +++ b/sdk/redshift/src/operation/delete_authentication_profile/builders.rs @@ -19,9 +19,9 @@ impl DeleteAuthenticationProfileFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl DeleteAuthenticationProfileFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::delete_authentication_profile::DeleteAuthenticationProfile, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::delete_authentication_profile::DeleteAuthenticationProfileError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                            The name of the authentication profile to delete.

                                                                                                                                                                                                                                                                                                                                            pub fn authentication_profile_name( mut self, diff --git a/sdk/redshift/src/operation/delete_cluster/builders.rs b/sdk/redshift/src/operation/delete_cluster/builders.rs index 2c914099ade4..0a51932157f9 100644 --- a/sdk/redshift/src/operation/delete_cluster/builders.rs +++ b/sdk/redshift/src/operation/delete_cluster/builders.rs @@ -21,9 +21,9 @@ impl DeleteClusterFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -79,6 +79,20 @@ impl DeleteClusterFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::delete_cluster::DeleteCluster, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                            The identifier of the cluster to be deleted.

                                                                                                                                                                                                                                                                                                                                            ///

                                                                                                                                                                                                                                                                                                                                            Constraints:

                                                                                                                                                                                                                                                                                                                                            ///
                                                                                                                                                                                                                                                                                                                                              diff --git a/sdk/redshift/src/operation/delete_cluster_parameter_group/builders.rs b/sdk/redshift/src/operation/delete_cluster_parameter_group/builders.rs index 9a9f0129dfa5..9784b316873c 100644 --- a/sdk/redshift/src/operation/delete_cluster_parameter_group/builders.rs +++ b/sdk/redshift/src/operation/delete_cluster_parameter_group/builders.rs @@ -21,9 +21,9 @@ impl DeleteClusterParameterGroupFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -85,6 +85,22 @@ impl DeleteClusterParameterGroupFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::delete_cluster_parameter_group::DeleteClusterParameterGroup, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::delete_cluster_parameter_group::DeleteClusterParameterGroupError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                              The name of the parameter group to be deleted.

                                                                                                                                                                                                                                                                                                                                              ///

                                                                                                                                                                                                                                                                                                                                              Constraints:

                                                                                                                                                                                                                                                                                                                                              ///
                                                                                                                                                                                                                                                                                                                                                diff --git a/sdk/redshift/src/operation/delete_cluster_security_group/builders.rs b/sdk/redshift/src/operation/delete_cluster_security_group/builders.rs index cb086782ad96..7eb15752a848 100644 --- a/sdk/redshift/src/operation/delete_cluster_security_group/builders.rs +++ b/sdk/redshift/src/operation/delete_cluster_security_group/builders.rs @@ -22,9 +22,9 @@ impl DeleteClusterSecurityGroupFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -86,6 +86,22 @@ impl DeleteClusterSecurityGroupFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::delete_cluster_security_group::DeleteClusterSecurityGroup, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::delete_cluster_security_group::DeleteClusterSecurityGroupError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                The name of the cluster security group to be deleted.

                                                                                                                                                                                                                                                                                                                                                pub fn cluster_security_group_name( mut self, diff --git a/sdk/redshift/src/operation/delete_cluster_snapshot/builders.rs b/sdk/redshift/src/operation/delete_cluster_snapshot/builders.rs index 3454c0761f01..436fde8895d1 100644 --- a/sdk/redshift/src/operation/delete_cluster_snapshot/builders.rs +++ b/sdk/redshift/src/operation/delete_cluster_snapshot/builders.rs @@ -20,9 +20,9 @@ impl DeleteClusterSnapshotFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -84,6 +84,22 @@ impl DeleteClusterSnapshotFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::delete_cluster_snapshot::DeleteClusterSnapshot, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::delete_cluster_snapshot::DeleteClusterSnapshotError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                The unique identifier of the manual snapshot to be deleted.

                                                                                                                                                                                                                                                                                                                                                ///

                                                                                                                                                                                                                                                                                                                                                Constraints: Must be the name of an existing snapshot that is in the available, failed, or cancelled state.

                                                                                                                                                                                                                                                                                                                                                pub fn snapshot_identifier( diff --git a/sdk/redshift/src/operation/delete_cluster_subnet_group/builders.rs b/sdk/redshift/src/operation/delete_cluster_subnet_group/builders.rs index d4e01b6a4d85..326d25678af5 100644 --- a/sdk/redshift/src/operation/delete_cluster_subnet_group/builders.rs +++ b/sdk/redshift/src/operation/delete_cluster_subnet_group/builders.rs @@ -19,9 +19,9 @@ impl DeleteClusterSubnetGroupFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl DeleteClusterSubnetGroupFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::delete_cluster_subnet_group::DeleteClusterSubnetGroup, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::delete_cluster_subnet_group::DeleteClusterSubnetGroupError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                The name of the cluster subnet group name to be deleted.

                                                                                                                                                                                                                                                                                                                                                pub fn cluster_subnet_group_name( mut self, diff --git a/sdk/redshift/src/operation/delete_endpoint_access/builders.rs b/sdk/redshift/src/operation/delete_endpoint_access/builders.rs index eaa719e21bcb..e6224f52fbaf 100644 --- a/sdk/redshift/src/operation/delete_endpoint_access/builders.rs +++ b/sdk/redshift/src/operation/delete_endpoint_access/builders.rs @@ -19,9 +19,9 @@ impl DeleteEndpointAccessFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl DeleteEndpointAccessFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::delete_endpoint_access::DeleteEndpointAccess, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::delete_endpoint_access::DeleteEndpointAccessError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                The Redshift-managed VPC endpoint to delete.

                                                                                                                                                                                                                                                                                                                                                pub fn endpoint_name( mut self, diff --git a/sdk/redshift/src/operation/delete_event_subscription/builders.rs b/sdk/redshift/src/operation/delete_event_subscription/builders.rs index 641ae9f475ce..47d08267ab77 100644 --- a/sdk/redshift/src/operation/delete_event_subscription/builders.rs +++ b/sdk/redshift/src/operation/delete_event_subscription/builders.rs @@ -20,9 +20,9 @@ impl DeleteEventSubscriptionFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -84,6 +84,22 @@ impl DeleteEventSubscriptionFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::delete_event_subscription::DeleteEventSubscription, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::delete_event_subscription::DeleteEventSubscriptionError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                The name of the Amazon Redshift event notification subscription to be deleted.

                                                                                                                                                                                                                                                                                                                                                pub fn subscription_name( mut self, diff --git a/sdk/redshift/src/operation/delete_hsm_client_certificate/builders.rs b/sdk/redshift/src/operation/delete_hsm_client_certificate/builders.rs index 3f07a1339989..fefc0f465962 100644 --- a/sdk/redshift/src/operation/delete_hsm_client_certificate/builders.rs +++ b/sdk/redshift/src/operation/delete_hsm_client_certificate/builders.rs @@ -19,9 +19,9 @@ impl DeleteHsmClientCertificateFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl DeleteHsmClientCertificateFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::delete_hsm_client_certificate::DeleteHsmClientCertificate, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::delete_hsm_client_certificate::DeleteHsmClientCertificateError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                The identifier of the HSM client certificate to be deleted.

                                                                                                                                                                                                                                                                                                                                                pub fn hsm_client_certificate_identifier( mut self, diff --git a/sdk/redshift/src/operation/delete_hsm_configuration/builders.rs b/sdk/redshift/src/operation/delete_hsm_configuration/builders.rs index 81c53fd83ccf..5bbe72881709 100644 --- a/sdk/redshift/src/operation/delete_hsm_configuration/builders.rs +++ b/sdk/redshift/src/operation/delete_hsm_configuration/builders.rs @@ -19,9 +19,9 @@ impl DeleteHsmConfigurationFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl DeleteHsmConfigurationFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::delete_hsm_configuration::DeleteHsmConfiguration, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::delete_hsm_configuration::DeleteHsmConfigurationError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                The identifier of the Amazon Redshift HSM configuration to be deleted.

                                                                                                                                                                                                                                                                                                                                                pub fn hsm_configuration_identifier( mut self, diff --git a/sdk/redshift/src/operation/delete_partner/builders.rs b/sdk/redshift/src/operation/delete_partner/builders.rs index 3a86b95a942f..c0ae32581067 100644 --- a/sdk/redshift/src/operation/delete_partner/builders.rs +++ b/sdk/redshift/src/operation/delete_partner/builders.rs @@ -19,9 +19,9 @@ impl DeletePartnerFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl DeletePartnerFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::delete_partner::DeletePartner, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                The Amazon Web Services account ID that owns the cluster.

                                                                                                                                                                                                                                                                                                                                                pub fn account_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.account_id(input.into()); diff --git a/sdk/redshift/src/operation/delete_scheduled_action/builders.rs b/sdk/redshift/src/operation/delete_scheduled_action/builders.rs index 3e5f0c2e3952..172e90b3e5e8 100644 --- a/sdk/redshift/src/operation/delete_scheduled_action/builders.rs +++ b/sdk/redshift/src/operation/delete_scheduled_action/builders.rs @@ -19,9 +19,9 @@ impl DeleteScheduledActionFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl DeleteScheduledActionFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::delete_scheduled_action::DeleteScheduledAction, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::delete_scheduled_action::DeleteScheduledActionError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                The name of the scheduled action to delete.

                                                                                                                                                                                                                                                                                                                                                pub fn scheduled_action_name( mut self, diff --git a/sdk/redshift/src/operation/delete_snapshot_copy_grant/builders.rs b/sdk/redshift/src/operation/delete_snapshot_copy_grant/builders.rs index 105965cc26ac..882f00c26fc8 100644 --- a/sdk/redshift/src/operation/delete_snapshot_copy_grant/builders.rs +++ b/sdk/redshift/src/operation/delete_snapshot_copy_grant/builders.rs @@ -20,9 +20,9 @@ impl DeleteSnapshotCopyGrantFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -84,6 +84,22 @@ impl DeleteSnapshotCopyGrantFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::delete_snapshot_copy_grant::DeleteSnapshotCopyGrant, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::delete_snapshot_copy_grant::DeleteSnapshotCopyGrantError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                The name of the snapshot copy grant to delete.

                                                                                                                                                                                                                                                                                                                                                pub fn snapshot_copy_grant_name( mut self, diff --git a/sdk/redshift/src/operation/delete_snapshot_schedule/builders.rs b/sdk/redshift/src/operation/delete_snapshot_schedule/builders.rs index 4afb70abc622..bbce9c5ca6c3 100644 --- a/sdk/redshift/src/operation/delete_snapshot_schedule/builders.rs +++ b/sdk/redshift/src/operation/delete_snapshot_schedule/builders.rs @@ -19,9 +19,9 @@ impl DeleteSnapshotScheduleFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl DeleteSnapshotScheduleFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::delete_snapshot_schedule::DeleteSnapshotSchedule, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::delete_snapshot_schedule::DeleteSnapshotScheduleError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                A unique identifier of the snapshot schedule to delete.

                                                                                                                                                                                                                                                                                                                                                pub fn schedule_identifier( mut self, diff --git a/sdk/redshift/src/operation/delete_tags/builders.rs b/sdk/redshift/src/operation/delete_tags/builders.rs index bd73bdc37203..1b49a6b58b35 100644 --- a/sdk/redshift/src/operation/delete_tags/builders.rs +++ b/sdk/redshift/src/operation/delete_tags/builders.rs @@ -19,9 +19,9 @@ impl DeleteTagsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl DeleteTagsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::delete_tags::DeleteTags, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                The Amazon Resource Name (ARN) from which you want to remove the tag or tags. For example, arn:aws:redshift:us-east-2:123456789:cluster:t1.

                                                                                                                                                                                                                                                                                                                                                pub fn resource_name( mut self, diff --git a/sdk/redshift/src/operation/delete_usage_limit/builders.rs b/sdk/redshift/src/operation/delete_usage_limit/builders.rs index 11c11a4ffce2..a36e74839943 100644 --- a/sdk/redshift/src/operation/delete_usage_limit/builders.rs +++ b/sdk/redshift/src/operation/delete_usage_limit/builders.rs @@ -19,9 +19,9 @@ impl DeleteUsageLimitFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl DeleteUsageLimitFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::delete_usage_limit::DeleteUsageLimit, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::delete_usage_limit::DeleteUsageLimitError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                The identifier of the usage limit to delete.

                                                                                                                                                                                                                                                                                                                                                pub fn usage_limit_id( mut self, diff --git a/sdk/redshift/src/operation/describe_account_attributes/builders.rs b/sdk/redshift/src/operation/describe_account_attributes/builders.rs index b1b388095a89..6e3b2c45256b 100644 --- a/sdk/redshift/src/operation/describe_account_attributes/builders.rs +++ b/sdk/redshift/src/operation/describe_account_attributes/builders.rs @@ -19,9 +19,9 @@ impl DescribeAccountAttributesFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl DescribeAccountAttributesFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::describe_account_attributes::DescribeAccountAttributes, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::describe_account_attributes::DescribeAccountAttributesError, + >, + > { + self.customize_middleware().await + } /// Appends an item to `AttributeNames`. /// /// To override the contents of this collection use [`set_attribute_names`](Self::set_attribute_names). diff --git a/sdk/redshift/src/operation/describe_authentication_profiles/builders.rs b/sdk/redshift/src/operation/describe_authentication_profiles/builders.rs index 699f83921573..df4b1aa322b4 100644 --- a/sdk/redshift/src/operation/describe_authentication_profiles/builders.rs +++ b/sdk/redshift/src/operation/describe_authentication_profiles/builders.rs @@ -19,9 +19,9 @@ impl DescribeAuthenticationProfilesFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl DescribeAuthenticationProfilesFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::describe_authentication_profiles::DescribeAuthenticationProfiles, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::describe_authentication_profiles::DescribeAuthenticationProfilesError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                The name of the authentication profile to describe. If not specified then all authentication profiles owned by the account are listed.

                                                                                                                                                                                                                                                                                                                                                pub fn authentication_profile_name( mut self, diff --git a/sdk/redshift/src/operation/describe_cluster_db_revisions/builders.rs b/sdk/redshift/src/operation/describe_cluster_db_revisions/builders.rs index 73565b1252e6..5574c7cbbef9 100644 --- a/sdk/redshift/src/operation/describe_cluster_db_revisions/builders.rs +++ b/sdk/redshift/src/operation/describe_cluster_db_revisions/builders.rs @@ -19,9 +19,9 @@ impl DescribeClusterDbRevisionsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl DescribeClusterDbRevisionsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::describe_cluster_db_revisions::DescribeClusterDbRevisions, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::describe_cluster_db_revisions::DescribeClusterDbRevisionsError, + >, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::describe_cluster_db_revisions::paginator::DescribeClusterDbRevisionsPaginator::send) which returns a `Stream`. diff --git a/sdk/redshift/src/operation/describe_cluster_parameter_groups/builders.rs b/sdk/redshift/src/operation/describe_cluster_parameter_groups/builders.rs index 170c46386d14..d28b810d7c9d 100644 --- a/sdk/redshift/src/operation/describe_cluster_parameter_groups/builders.rs +++ b/sdk/redshift/src/operation/describe_cluster_parameter_groups/builders.rs @@ -22,9 +22,9 @@ impl DescribeClusterParameterGroupsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize(self) -> ::std::result::Result< + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware(self) -> ::std::result::Result< crate::client::customize::CustomizableOperation, ::aws_smithy_http::result::SdkError >{ @@ -67,6 +67,15 @@ impl DescribeClusterParameterGroupsFluentBuilder { { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize(self) -> ::std::result::Result< + crate::client::customize::CustomizableOperation, + ::aws_smithy_http::result::SdkError + >{ + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::describe_cluster_parameter_groups::paginator::DescribeClusterParameterGroupsPaginator::send) which returns a `Stream`. diff --git a/sdk/redshift/src/operation/describe_cluster_parameters/builders.rs b/sdk/redshift/src/operation/describe_cluster_parameters/builders.rs index 6c34ee5c9f57..bf4863b85965 100644 --- a/sdk/redshift/src/operation/describe_cluster_parameters/builders.rs +++ b/sdk/redshift/src/operation/describe_cluster_parameters/builders.rs @@ -21,9 +21,9 @@ impl DescribeClusterParametersFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -85,6 +85,22 @@ impl DescribeClusterParametersFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::describe_cluster_parameters::DescribeClusterParameters, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::describe_cluster_parameters::DescribeClusterParametersError, + >, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::describe_cluster_parameters::paginator::DescribeClusterParametersPaginator::send) which returns a `Stream`. diff --git a/sdk/redshift/src/operation/describe_cluster_security_groups/builders.rs b/sdk/redshift/src/operation/describe_cluster_security_groups/builders.rs index 2dc4a98531cb..540f53b59694 100644 --- a/sdk/redshift/src/operation/describe_cluster_security_groups/builders.rs +++ b/sdk/redshift/src/operation/describe_cluster_security_groups/builders.rs @@ -22,9 +22,9 @@ impl DescribeClusterSecurityGroupsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -86,6 +86,22 @@ impl DescribeClusterSecurityGroupsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::describe_cluster_security_groups::DescribeClusterSecurityGroups, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::describe_cluster_security_groups::DescribeClusterSecurityGroupsError, + >, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::describe_cluster_security_groups::paginator::DescribeClusterSecurityGroupsPaginator::send) which returns a `Stream`. diff --git a/sdk/redshift/src/operation/describe_cluster_snapshots/builders.rs b/sdk/redshift/src/operation/describe_cluster_snapshots/builders.rs index f656b8e5f7a9..393d2ed01b7b 100644 --- a/sdk/redshift/src/operation/describe_cluster_snapshots/builders.rs +++ b/sdk/redshift/src/operation/describe_cluster_snapshots/builders.rs @@ -21,9 +21,9 @@ impl DescribeClusterSnapshotsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -85,6 +85,22 @@ impl DescribeClusterSnapshotsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::describe_cluster_snapshots::DescribeClusterSnapshots, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::describe_cluster_snapshots::DescribeClusterSnapshotsError, + >, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::describe_cluster_snapshots::paginator::DescribeClusterSnapshotsPaginator::send) which returns a `Stream`. diff --git a/sdk/redshift/src/operation/describe_cluster_subnet_groups/builders.rs b/sdk/redshift/src/operation/describe_cluster_subnet_groups/builders.rs index b56d2f11a0d2..cb3088053c07 100644 --- a/sdk/redshift/src/operation/describe_cluster_subnet_groups/builders.rs +++ b/sdk/redshift/src/operation/describe_cluster_subnet_groups/builders.rs @@ -21,9 +21,9 @@ impl DescribeClusterSubnetGroupsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -85,6 +85,22 @@ impl DescribeClusterSubnetGroupsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::describe_cluster_subnet_groups::DescribeClusterSubnetGroups, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::describe_cluster_subnet_groups::DescribeClusterSubnetGroupsError, + >, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::describe_cluster_subnet_groups::paginator::DescribeClusterSubnetGroupsPaginator::send) which returns a `Stream`. diff --git a/sdk/redshift/src/operation/describe_cluster_tracks/builders.rs b/sdk/redshift/src/operation/describe_cluster_tracks/builders.rs index 50a4079bebd2..eba6fb4316a5 100644 --- a/sdk/redshift/src/operation/describe_cluster_tracks/builders.rs +++ b/sdk/redshift/src/operation/describe_cluster_tracks/builders.rs @@ -19,9 +19,9 @@ impl DescribeClusterTracksFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl DescribeClusterTracksFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::describe_cluster_tracks::DescribeClusterTracks, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::describe_cluster_tracks::DescribeClusterTracksError, + >, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::describe_cluster_tracks::paginator::DescribeClusterTracksPaginator::send) which returns a `Stream`. diff --git a/sdk/redshift/src/operation/describe_cluster_versions/builders.rs b/sdk/redshift/src/operation/describe_cluster_versions/builders.rs index bc4d0aff8827..add4275b285c 100644 --- a/sdk/redshift/src/operation/describe_cluster_versions/builders.rs +++ b/sdk/redshift/src/operation/describe_cluster_versions/builders.rs @@ -20,9 +20,9 @@ impl DescribeClusterVersionsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -84,6 +84,22 @@ impl DescribeClusterVersionsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::describe_cluster_versions::DescribeClusterVersions, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::describe_cluster_versions::DescribeClusterVersionsError, + >, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::describe_cluster_versions::paginator::DescribeClusterVersionsPaginator::send) which returns a `Stream`. diff --git a/sdk/redshift/src/operation/describe_clusters/builders.rs b/sdk/redshift/src/operation/describe_clusters/builders.rs index f2bc2487ac6a..8cb735e466a1 100644 --- a/sdk/redshift/src/operation/describe_clusters/builders.rs +++ b/sdk/redshift/src/operation/describe_clusters/builders.rs @@ -21,9 +21,9 @@ impl DescribeClustersFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -85,6 +85,22 @@ impl DescribeClustersFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::describe_clusters::DescribeClusters, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::describe_clusters::DescribeClustersError, + >, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::describe_clusters::paginator::DescribeClustersPaginator::send) which returns a `Stream`. diff --git a/sdk/redshift/src/operation/describe_data_shares/builders.rs b/sdk/redshift/src/operation/describe_data_shares/builders.rs index ce1faacc3bdb..b215845086b1 100644 --- a/sdk/redshift/src/operation/describe_data_shares/builders.rs +++ b/sdk/redshift/src/operation/describe_data_shares/builders.rs @@ -19,9 +19,9 @@ impl DescribeDataSharesFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl DescribeDataSharesFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::describe_data_shares::DescribeDataShares, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::describe_data_shares::DescribeDataSharesError, + >, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::describe_data_shares::paginator::DescribeDataSharesPaginator::send) which returns a `Stream`. diff --git a/sdk/redshift/src/operation/describe_data_shares_for_consumer/builders.rs b/sdk/redshift/src/operation/describe_data_shares_for_consumer/builders.rs index f621de3cf1c9..3cdda87caa81 100644 --- a/sdk/redshift/src/operation/describe_data_shares_for_consumer/builders.rs +++ b/sdk/redshift/src/operation/describe_data_shares_for_consumer/builders.rs @@ -19,9 +19,9 @@ impl DescribeDataSharesForConsumerFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl DescribeDataSharesForConsumerFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::describe_data_shares_for_consumer::DescribeDataSharesForConsumer, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::describe_data_shares_for_consumer::DescribeDataSharesForConsumerError, + >, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::describe_data_shares_for_consumer::paginator::DescribeDataSharesForConsumerPaginator::send) which returns a `Stream`. diff --git a/sdk/redshift/src/operation/describe_data_shares_for_producer/builders.rs b/sdk/redshift/src/operation/describe_data_shares_for_producer/builders.rs index 91baaff69e35..6ba007897047 100644 --- a/sdk/redshift/src/operation/describe_data_shares_for_producer/builders.rs +++ b/sdk/redshift/src/operation/describe_data_shares_for_producer/builders.rs @@ -19,9 +19,9 @@ impl DescribeDataSharesForProducerFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl DescribeDataSharesForProducerFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::describe_data_shares_for_producer::DescribeDataSharesForProducer, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::describe_data_shares_for_producer::DescribeDataSharesForProducerError, + >, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::describe_data_shares_for_producer::paginator::DescribeDataSharesForProducerPaginator::send) which returns a `Stream`. diff --git a/sdk/redshift/src/operation/describe_default_cluster_parameters/builders.rs b/sdk/redshift/src/operation/describe_default_cluster_parameters/builders.rs index 26dbab926026..d068087191de 100644 --- a/sdk/redshift/src/operation/describe_default_cluster_parameters/builders.rs +++ b/sdk/redshift/src/operation/describe_default_cluster_parameters/builders.rs @@ -20,9 +20,9 @@ impl DescribeDefaultClusterParametersFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize(self) -> ::std::result::Result< + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware(self) -> ::std::result::Result< crate::client::customize::CustomizableOperation, ::aws_smithy_http::result::SdkError >{ @@ -65,6 +65,15 @@ impl DescribeDefaultClusterParametersFluentBuilder { { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize(self) -> ::std::result::Result< + crate::client::customize::CustomizableOperation, + ::aws_smithy_http::result::SdkError + >{ + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::describe_default_cluster_parameters::paginator::DescribeDefaultClusterParametersPaginator::send) which returns a `Stream`. diff --git a/sdk/redshift/src/operation/describe_endpoint_access/builders.rs b/sdk/redshift/src/operation/describe_endpoint_access/builders.rs index 0799a813abac..9306ef7c2a70 100644 --- a/sdk/redshift/src/operation/describe_endpoint_access/builders.rs +++ b/sdk/redshift/src/operation/describe_endpoint_access/builders.rs @@ -19,9 +19,9 @@ impl DescribeEndpointAccessFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl DescribeEndpointAccessFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::describe_endpoint_access::DescribeEndpointAccess, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::describe_endpoint_access::DescribeEndpointAccessError, + >, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::describe_endpoint_access::paginator::DescribeEndpointAccessPaginator::send) which returns a `Stream`. diff --git a/sdk/redshift/src/operation/describe_endpoint_authorization/builders.rs b/sdk/redshift/src/operation/describe_endpoint_authorization/builders.rs index 3167206e6273..fe5f34c03681 100644 --- a/sdk/redshift/src/operation/describe_endpoint_authorization/builders.rs +++ b/sdk/redshift/src/operation/describe_endpoint_authorization/builders.rs @@ -19,9 +19,9 @@ impl DescribeEndpointAuthorizationFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl DescribeEndpointAuthorizationFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::describe_endpoint_authorization::DescribeEndpointAuthorization, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::describe_endpoint_authorization::DescribeEndpointAuthorizationError, + >, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::describe_endpoint_authorization::paginator::DescribeEndpointAuthorizationPaginator::send) which returns a `Stream`. diff --git a/sdk/redshift/src/operation/describe_event_categories/builders.rs b/sdk/redshift/src/operation/describe_event_categories/builders.rs index a65e38f78e79..1f7b783ce71e 100644 --- a/sdk/redshift/src/operation/describe_event_categories/builders.rs +++ b/sdk/redshift/src/operation/describe_event_categories/builders.rs @@ -20,9 +20,9 @@ impl DescribeEventCategoriesFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -84,6 +84,22 @@ impl DescribeEventCategoriesFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::describe_event_categories::DescribeEventCategories, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::describe_event_categories::DescribeEventCategoriesError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                The source type, such as cluster or parameter group, to which the described event categories apply.

                                                                                                                                                                                                                                                                                                                                                ///

                                                                                                                                                                                                                                                                                                                                                Valid values: cluster, cluster-snapshot, cluster-parameter-group, cluster-security-group, and scheduled-action.

                                                                                                                                                                                                                                                                                                                                                pub fn source_type(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { diff --git a/sdk/redshift/src/operation/describe_event_subscriptions/builders.rs b/sdk/redshift/src/operation/describe_event_subscriptions/builders.rs index be39e083bd5c..630a4102c9a0 100644 --- a/sdk/redshift/src/operation/describe_event_subscriptions/builders.rs +++ b/sdk/redshift/src/operation/describe_event_subscriptions/builders.rs @@ -21,9 +21,9 @@ impl DescribeEventSubscriptionsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -85,6 +85,22 @@ impl DescribeEventSubscriptionsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::describe_event_subscriptions::DescribeEventSubscriptions, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::describe_event_subscriptions::DescribeEventSubscriptionsError, + >, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::describe_event_subscriptions::paginator::DescribeEventSubscriptionsPaginator::send) which returns a `Stream`. diff --git a/sdk/redshift/src/operation/describe_events/builders.rs b/sdk/redshift/src/operation/describe_events/builders.rs index 5ef574e0534b..b1960c2fb688 100644 --- a/sdk/redshift/src/operation/describe_events/builders.rs +++ b/sdk/redshift/src/operation/describe_events/builders.rs @@ -19,9 +19,9 @@ impl DescribeEventsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl DescribeEventsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::describe_events::DescribeEvents, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::describe_events::paginator::DescribeEventsPaginator::send) which returns a `Stream`. diff --git a/sdk/redshift/src/operation/describe_hsm_client_certificates/builders.rs b/sdk/redshift/src/operation/describe_hsm_client_certificates/builders.rs index 268e46986089..bd7230ffb763 100644 --- a/sdk/redshift/src/operation/describe_hsm_client_certificates/builders.rs +++ b/sdk/redshift/src/operation/describe_hsm_client_certificates/builders.rs @@ -21,9 +21,9 @@ impl DescribeHsmClientCertificatesFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -85,6 +85,22 @@ impl DescribeHsmClientCertificatesFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::describe_hsm_client_certificates::DescribeHsmClientCertificates, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::describe_hsm_client_certificates::DescribeHsmClientCertificatesError, + >, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::describe_hsm_client_certificates::paginator::DescribeHsmClientCertificatesPaginator::send) which returns a `Stream`. diff --git a/sdk/redshift/src/operation/describe_hsm_configurations/builders.rs b/sdk/redshift/src/operation/describe_hsm_configurations/builders.rs index c0187a37a3fd..20b000237549 100644 --- a/sdk/redshift/src/operation/describe_hsm_configurations/builders.rs +++ b/sdk/redshift/src/operation/describe_hsm_configurations/builders.rs @@ -21,9 +21,9 @@ impl DescribeHsmConfigurationsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -85,6 +85,22 @@ impl DescribeHsmConfigurationsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::describe_hsm_configurations::DescribeHsmConfigurations, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::describe_hsm_configurations::DescribeHsmConfigurationsError, + >, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::describe_hsm_configurations::paginator::DescribeHsmConfigurationsPaginator::send) which returns a `Stream`. diff --git a/sdk/redshift/src/operation/describe_logging_status/builders.rs b/sdk/redshift/src/operation/describe_logging_status/builders.rs index ec0690a7d7d6..7666b70caa69 100644 --- a/sdk/redshift/src/operation/describe_logging_status/builders.rs +++ b/sdk/redshift/src/operation/describe_logging_status/builders.rs @@ -19,9 +19,9 @@ impl DescribeLoggingStatusFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl DescribeLoggingStatusFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::describe_logging_status::DescribeLoggingStatus, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::describe_logging_status::DescribeLoggingStatusError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                The identifier of the cluster from which to get the logging status.

                                                                                                                                                                                                                                                                                                                                                ///

                                                                                                                                                                                                                                                                                                                                                Example: examplecluster

                                                                                                                                                                                                                                                                                                                                                pub fn cluster_identifier( diff --git a/sdk/redshift/src/operation/describe_node_configuration_options/builders.rs b/sdk/redshift/src/operation/describe_node_configuration_options/builders.rs index 12f41dc3bd5b..551fc1a61275 100644 --- a/sdk/redshift/src/operation/describe_node_configuration_options/builders.rs +++ b/sdk/redshift/src/operation/describe_node_configuration_options/builders.rs @@ -19,9 +19,9 @@ impl DescribeNodeConfigurationOptionsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize(self) -> ::std::result::Result< + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware(self) -> ::std::result::Result< crate::client::customize::CustomizableOperation, ::aws_smithy_http::result::SdkError >{ @@ -64,6 +64,15 @@ impl DescribeNodeConfigurationOptionsFluentBuilder { { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize(self) -> ::std::result::Result< + crate::client::customize::CustomizableOperation, + ::aws_smithy_http::result::SdkError + >{ + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::describe_node_configuration_options::paginator::DescribeNodeConfigurationOptionsPaginator::send) which returns a `Stream`. diff --git a/sdk/redshift/src/operation/describe_orderable_cluster_options/builders.rs b/sdk/redshift/src/operation/describe_orderable_cluster_options/builders.rs index 0928fabdd948..fc7ecb9740e0 100644 --- a/sdk/redshift/src/operation/describe_orderable_cluster_options/builders.rs +++ b/sdk/redshift/src/operation/describe_orderable_cluster_options/builders.rs @@ -19,9 +19,9 @@ impl DescribeOrderableClusterOptionsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize(self) -> ::std::result::Result< + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware(self) -> ::std::result::Result< crate::client::customize::CustomizableOperation, ::aws_smithy_http::result::SdkError >{ @@ -64,6 +64,15 @@ impl DescribeOrderableClusterOptionsFluentBuilder { { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize(self) -> ::std::result::Result< + crate::client::customize::CustomizableOperation, + ::aws_smithy_http::result::SdkError + >{ + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::describe_orderable_cluster_options::paginator::DescribeOrderableClusterOptionsPaginator::send) which returns a `Stream`. diff --git a/sdk/redshift/src/operation/describe_partners/builders.rs b/sdk/redshift/src/operation/describe_partners/builders.rs index 9896dee64abd..c107bed77d40 100644 --- a/sdk/redshift/src/operation/describe_partners/builders.rs +++ b/sdk/redshift/src/operation/describe_partners/builders.rs @@ -19,9 +19,9 @@ impl DescribePartnersFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl DescribePartnersFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::describe_partners::DescribePartners, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::describe_partners::DescribePartnersError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                The Amazon Web Services account ID that owns the cluster.

                                                                                                                                                                                                                                                                                                                                                pub fn account_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.account_id(input.into()); diff --git a/sdk/redshift/src/operation/describe_reserved_node_exchange_status/builders.rs b/sdk/redshift/src/operation/describe_reserved_node_exchange_status/builders.rs index 1506724a94bc..b2f8e03fb829 100644 --- a/sdk/redshift/src/operation/describe_reserved_node_exchange_status/builders.rs +++ b/sdk/redshift/src/operation/describe_reserved_node_exchange_status/builders.rs @@ -19,9 +19,9 @@ impl DescribeReservedNodeExchangeStatusFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize(self) -> ::std::result::Result< + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware(self) -> ::std::result::Result< crate::client::customize::CustomizableOperation, ::aws_smithy_http::result::SdkError >{ @@ -64,6 +64,15 @@ impl DescribeReservedNodeExchangeStatusFluentBuilder { { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize(self) -> ::std::result::Result< + crate::client::customize::CustomizableOperation, + ::aws_smithy_http::result::SdkError + >{ + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::describe_reserved_node_exchange_status::paginator::DescribeReservedNodeExchangeStatusPaginator::send) which returns a `Stream`. diff --git a/sdk/redshift/src/operation/describe_reserved_node_offerings/builders.rs b/sdk/redshift/src/operation/describe_reserved_node_offerings/builders.rs index 68b2f04bf073..a6a359e7f9ae 100644 --- a/sdk/redshift/src/operation/describe_reserved_node_offerings/builders.rs +++ b/sdk/redshift/src/operation/describe_reserved_node_offerings/builders.rs @@ -20,9 +20,9 @@ impl DescribeReservedNodeOfferingsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -84,6 +84,22 @@ impl DescribeReservedNodeOfferingsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::describe_reserved_node_offerings::DescribeReservedNodeOfferings, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::describe_reserved_node_offerings::DescribeReservedNodeOfferingsError, + >, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::describe_reserved_node_offerings::paginator::DescribeReservedNodeOfferingsPaginator::send) which returns a `Stream`. diff --git a/sdk/redshift/src/operation/describe_reserved_nodes/builders.rs b/sdk/redshift/src/operation/describe_reserved_nodes/builders.rs index b0c08294e433..4d1891de4dfe 100644 --- a/sdk/redshift/src/operation/describe_reserved_nodes/builders.rs +++ b/sdk/redshift/src/operation/describe_reserved_nodes/builders.rs @@ -19,9 +19,9 @@ impl DescribeReservedNodesFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl DescribeReservedNodesFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::describe_reserved_nodes::DescribeReservedNodes, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::describe_reserved_nodes::DescribeReservedNodesError, + >, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::describe_reserved_nodes::paginator::DescribeReservedNodesPaginator::send) which returns a `Stream`. diff --git a/sdk/redshift/src/operation/describe_resize/builders.rs b/sdk/redshift/src/operation/describe_resize/builders.rs index 2796fcbc3eb3..1fb9258dff14 100644 --- a/sdk/redshift/src/operation/describe_resize/builders.rs +++ b/sdk/redshift/src/operation/describe_resize/builders.rs @@ -20,9 +20,9 @@ impl DescribeResizeFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -78,6 +78,20 @@ impl DescribeResizeFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::describe_resize::DescribeResize, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                The unique identifier of a cluster whose resize progress you are requesting. This parameter is case-sensitive.

                                                                                                                                                                                                                                                                                                                                                ///

                                                                                                                                                                                                                                                                                                                                                By default, resize operations for all clusters defined for an Amazon Web Services account are returned.

                                                                                                                                                                                                                                                                                                                                                pub fn cluster_identifier( diff --git a/sdk/redshift/src/operation/describe_scheduled_actions/builders.rs b/sdk/redshift/src/operation/describe_scheduled_actions/builders.rs index 5935d2578bc4..b8c5a73beaf2 100644 --- a/sdk/redshift/src/operation/describe_scheduled_actions/builders.rs +++ b/sdk/redshift/src/operation/describe_scheduled_actions/builders.rs @@ -19,9 +19,9 @@ impl DescribeScheduledActionsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl DescribeScheduledActionsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::describe_scheduled_actions::DescribeScheduledActions, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::describe_scheduled_actions::DescribeScheduledActionsError, + >, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::describe_scheduled_actions::paginator::DescribeScheduledActionsPaginator::send) which returns a `Stream`. diff --git a/sdk/redshift/src/operation/describe_snapshot_copy_grants/builders.rs b/sdk/redshift/src/operation/describe_snapshot_copy_grants/builders.rs index ebb38a096137..4c170c755af3 100644 --- a/sdk/redshift/src/operation/describe_snapshot_copy_grants/builders.rs +++ b/sdk/redshift/src/operation/describe_snapshot_copy_grants/builders.rs @@ -20,9 +20,9 @@ impl DescribeSnapshotCopyGrantsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -84,6 +84,22 @@ impl DescribeSnapshotCopyGrantsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::describe_snapshot_copy_grants::DescribeSnapshotCopyGrants, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::describe_snapshot_copy_grants::DescribeSnapshotCopyGrantsError, + >, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::describe_snapshot_copy_grants::paginator::DescribeSnapshotCopyGrantsPaginator::send) which returns a `Stream`. diff --git a/sdk/redshift/src/operation/describe_snapshot_schedules/builders.rs b/sdk/redshift/src/operation/describe_snapshot_schedules/builders.rs index 1953d955afb7..f32a1d4ec0af 100644 --- a/sdk/redshift/src/operation/describe_snapshot_schedules/builders.rs +++ b/sdk/redshift/src/operation/describe_snapshot_schedules/builders.rs @@ -19,9 +19,9 @@ impl DescribeSnapshotSchedulesFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl DescribeSnapshotSchedulesFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::describe_snapshot_schedules::DescribeSnapshotSchedules, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::describe_snapshot_schedules::DescribeSnapshotSchedulesError, + >, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::describe_snapshot_schedules::paginator::DescribeSnapshotSchedulesPaginator::send) which returns a `Stream`. diff --git a/sdk/redshift/src/operation/describe_storage/builders.rs b/sdk/redshift/src/operation/describe_storage/builders.rs index d6030547a57d..736e620901fb 100644 --- a/sdk/redshift/src/operation/describe_storage/builders.rs +++ b/sdk/redshift/src/operation/describe_storage/builders.rs @@ -19,9 +19,9 @@ impl DescribeStorageFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,4 +83,20 @@ impl DescribeStorageFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::describe_storage::DescribeStorage, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::describe_storage::DescribeStorageError, + >, + > { + self.customize_middleware().await + } } diff --git a/sdk/redshift/src/operation/describe_table_restore_status/builders.rs b/sdk/redshift/src/operation/describe_table_restore_status/builders.rs index 70641c7588a5..b6978044d94e 100644 --- a/sdk/redshift/src/operation/describe_table_restore_status/builders.rs +++ b/sdk/redshift/src/operation/describe_table_restore_status/builders.rs @@ -19,9 +19,9 @@ impl DescribeTableRestoreStatusFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl DescribeTableRestoreStatusFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::describe_table_restore_status::DescribeTableRestoreStatus, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::describe_table_restore_status::DescribeTableRestoreStatusError, + >, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::describe_table_restore_status::paginator::DescribeTableRestoreStatusPaginator::send) which returns a `Stream`. diff --git a/sdk/redshift/src/operation/describe_tags/builders.rs b/sdk/redshift/src/operation/describe_tags/builders.rs index 4926a99034f5..ba11e6967d12 100644 --- a/sdk/redshift/src/operation/describe_tags/builders.rs +++ b/sdk/redshift/src/operation/describe_tags/builders.rs @@ -27,9 +27,9 @@ impl DescribeTagsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -85,6 +85,20 @@ impl DescribeTagsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::describe_tags::DescribeTags, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::describe_tags::paginator::DescribeTagsPaginator::send) which returns a `Stream`. diff --git a/sdk/redshift/src/operation/describe_usage_limits/builders.rs b/sdk/redshift/src/operation/describe_usage_limits/builders.rs index 7e890d8addbc..bb62b98502b7 100644 --- a/sdk/redshift/src/operation/describe_usage_limits/builders.rs +++ b/sdk/redshift/src/operation/describe_usage_limits/builders.rs @@ -25,9 +25,9 @@ impl DescribeUsageLimitsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -89,6 +89,22 @@ impl DescribeUsageLimitsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::describe_usage_limits::DescribeUsageLimits, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::describe_usage_limits::DescribeUsageLimitsError, + >, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::describe_usage_limits::paginator::DescribeUsageLimitsPaginator::send) which returns a `Stream`. diff --git a/sdk/redshift/src/operation/disable_logging/builders.rs b/sdk/redshift/src/operation/disable_logging/builders.rs index 52b3f73a9c74..27d3d7e448aa 100644 --- a/sdk/redshift/src/operation/disable_logging/builders.rs +++ b/sdk/redshift/src/operation/disable_logging/builders.rs @@ -19,9 +19,9 @@ impl DisableLoggingFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl DisableLoggingFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::disable_logging::DisableLogging, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                The identifier of the cluster on which logging is to be stopped.

                                                                                                                                                                                                                                                                                                                                                ///

                                                                                                                                                                                                                                                                                                                                                Example: examplecluster

                                                                                                                                                                                                                                                                                                                                                pub fn cluster_identifier( diff --git a/sdk/redshift/src/operation/disable_snapshot_copy/builders.rs b/sdk/redshift/src/operation/disable_snapshot_copy/builders.rs index 049d9e2efc38..a76e35c29888 100644 --- a/sdk/redshift/src/operation/disable_snapshot_copy/builders.rs +++ b/sdk/redshift/src/operation/disable_snapshot_copy/builders.rs @@ -20,9 +20,9 @@ impl DisableSnapshotCopyFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -84,6 +84,22 @@ impl DisableSnapshotCopyFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::disable_snapshot_copy::DisableSnapshotCopy, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::disable_snapshot_copy::DisableSnapshotCopyError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                The unique identifier of the source cluster that you want to disable copying of snapshots to a destination region.

                                                                                                                                                                                                                                                                                                                                                ///

                                                                                                                                                                                                                                                                                                                                                Constraints: Must be the valid name of an existing cluster that has cross-region snapshot copy enabled.

                                                                                                                                                                                                                                                                                                                                                pub fn cluster_identifier( diff --git a/sdk/redshift/src/operation/disassociate_data_share_consumer/builders.rs b/sdk/redshift/src/operation/disassociate_data_share_consumer/builders.rs index bc5dce274070..3da9d240a7df 100644 --- a/sdk/redshift/src/operation/disassociate_data_share_consumer/builders.rs +++ b/sdk/redshift/src/operation/disassociate_data_share_consumer/builders.rs @@ -19,9 +19,9 @@ impl DisassociateDataShareConsumerFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl DisassociateDataShareConsumerFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::disassociate_data_share_consumer::DisassociateDataShareConsumer, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::disassociate_data_share_consumer::DisassociateDataShareConsumerError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                The Amazon Resource Name (ARN) of the datashare to remove association for.

                                                                                                                                                                                                                                                                                                                                                pub fn data_share_arn( mut self, diff --git a/sdk/redshift/src/operation/enable_logging/builders.rs b/sdk/redshift/src/operation/enable_logging/builders.rs index aebe5c49e04e..31b0f130e0f4 100644 --- a/sdk/redshift/src/operation/enable_logging/builders.rs +++ b/sdk/redshift/src/operation/enable_logging/builders.rs @@ -19,9 +19,9 @@ impl EnableLoggingFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl EnableLoggingFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::enable_logging::EnableLogging, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                The identifier of the cluster on which logging is to be started.

                                                                                                                                                                                                                                                                                                                                                ///

                                                                                                                                                                                                                                                                                                                                                Example: examplecluster

                                                                                                                                                                                                                                                                                                                                                pub fn cluster_identifier( diff --git a/sdk/redshift/src/operation/enable_snapshot_copy/builders.rs b/sdk/redshift/src/operation/enable_snapshot_copy/builders.rs index a12a8aa691bc..a0761bd98831 100644 --- a/sdk/redshift/src/operation/enable_snapshot_copy/builders.rs +++ b/sdk/redshift/src/operation/enable_snapshot_copy/builders.rs @@ -19,9 +19,9 @@ impl EnableSnapshotCopyFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl EnableSnapshotCopyFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::enable_snapshot_copy::EnableSnapshotCopy, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::enable_snapshot_copy::EnableSnapshotCopyError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                The unique identifier of the source cluster to copy snapshots from.

                                                                                                                                                                                                                                                                                                                                                ///

                                                                                                                                                                                                                                                                                                                                                Constraints: Must be the valid name of an existing cluster that does not already have cross-region snapshot copy enabled.

                                                                                                                                                                                                                                                                                                                                                pub fn cluster_identifier( diff --git a/sdk/redshift/src/operation/get_cluster_credentials/builders.rs b/sdk/redshift/src/operation/get_cluster_credentials/builders.rs index 44aa43fa8913..f0f0e8ee765e 100644 --- a/sdk/redshift/src/operation/get_cluster_credentials/builders.rs +++ b/sdk/redshift/src/operation/get_cluster_credentials/builders.rs @@ -23,9 +23,9 @@ impl GetClusterCredentialsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -87,6 +87,22 @@ impl GetClusterCredentialsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::get_cluster_credentials::GetClusterCredentials, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::get_cluster_credentials::GetClusterCredentialsError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                The name of a database user. If a user name matching DbUser exists in the database, the temporary user credentials have the same permissions as the existing user. If DbUser doesn't exist in the database and Autocreate is True, a new user is created using the value for DbUser with PUBLIC permissions. If a database user matching the value for DbUser doesn't exist and Autocreate is False, then the command succeeds but the connection attempt will fail because the user doesn't exist in the database.

                                                                                                                                                                                                                                                                                                                                                ///

                                                                                                                                                                                                                                                                                                                                                For more information, see CREATE USER in the Amazon Redshift Database Developer Guide.

                                                                                                                                                                                                                                                                                                                                                ///

                                                                                                                                                                                                                                                                                                                                                Constraints:

                                                                                                                                                                                                                                                                                                                                                diff --git a/sdk/redshift/src/operation/get_cluster_credentials_with_iam/builders.rs b/sdk/redshift/src/operation/get_cluster_credentials_with_iam/builders.rs index 81413da5ceea..ed50a2333585 100644 --- a/sdk/redshift/src/operation/get_cluster_credentials_with_iam/builders.rs +++ b/sdk/redshift/src/operation/get_cluster_credentials_with_iam/builders.rs @@ -20,9 +20,9 @@ impl GetClusterCredentialsWithIAMFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -84,6 +84,22 @@ impl GetClusterCredentialsWithIAMFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::get_cluster_credentials_with_iam::GetClusterCredentialsWithIAM, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::get_cluster_credentials_with_iam::GetClusterCredentialsWithIAMError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                The name of the database for which you are requesting credentials. If the database name is specified, the IAM policy must allow access to the resource dbname for the specified database name. If the database name is not specified, access to all databases is allowed.

                                                                                                                                                                                                                                                                                                                                                pub fn db_name(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.db_name(input.into()); diff --git a/sdk/redshift/src/operation/get_reserved_node_exchange_configuration_options/builders.rs b/sdk/redshift/src/operation/get_reserved_node_exchange_configuration_options/builders.rs index 5a6040103815..2480189ffcc2 100644 --- a/sdk/redshift/src/operation/get_reserved_node_exchange_configuration_options/builders.rs +++ b/sdk/redshift/src/operation/get_reserved_node_exchange_configuration_options/builders.rs @@ -19,9 +19,9 @@ impl GetReservedNodeExchangeConfigurationOptionsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize(self) -> ::std::result::Result< + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware(self) -> ::std::result::Result< crate::client::customize::CustomizableOperation, ::aws_smithy_http::result::SdkError >{ @@ -64,6 +64,15 @@ impl GetReservedNodeExchangeConfigurationOptionsFluentBuilder { { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize(self) -> ::std::result::Result< + crate::client::customize::CustomizableOperation, + ::aws_smithy_http::result::SdkError + >{ + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::get_reserved_node_exchange_configuration_options::paginator::GetReservedNodeExchangeConfigurationOptionsPaginator::send) which returns a `Stream`. diff --git a/sdk/redshift/src/operation/get_reserved_node_exchange_offerings/builders.rs b/sdk/redshift/src/operation/get_reserved_node_exchange_offerings/builders.rs index 2d74ba2df285..dd9f15d20941 100644 --- a/sdk/redshift/src/operation/get_reserved_node_exchange_offerings/builders.rs +++ b/sdk/redshift/src/operation/get_reserved_node_exchange_offerings/builders.rs @@ -19,9 +19,9 @@ impl GetReservedNodeExchangeOfferingsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize(self) -> ::std::result::Result< + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware(self) -> ::std::result::Result< crate::client::customize::CustomizableOperation, ::aws_smithy_http::result::SdkError >{ @@ -64,6 +64,15 @@ impl GetReservedNodeExchangeOfferingsFluentBuilder { { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize(self) -> ::std::result::Result< + crate::client::customize::CustomizableOperation, + ::aws_smithy_http::result::SdkError + >{ + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::get_reserved_node_exchange_offerings::paginator::GetReservedNodeExchangeOfferingsPaginator::send) which returns a `Stream`. diff --git a/sdk/redshift/src/operation/modify_aqua_configuration/builders.rs b/sdk/redshift/src/operation/modify_aqua_configuration/builders.rs index d5bd0868534c..eeb67ead5c69 100644 --- a/sdk/redshift/src/operation/modify_aqua_configuration/builders.rs +++ b/sdk/redshift/src/operation/modify_aqua_configuration/builders.rs @@ -20,9 +20,9 @@ impl ModifyAquaConfigurationFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -84,6 +84,22 @@ impl ModifyAquaConfigurationFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::modify_aqua_configuration::ModifyAquaConfiguration, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::modify_aqua_configuration::ModifyAquaConfigurationError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                The identifier of the cluster to be modified.

                                                                                                                                                                                                                                                                                                                                                pub fn cluster_identifier( mut self, diff --git a/sdk/redshift/src/operation/modify_authentication_profile/builders.rs b/sdk/redshift/src/operation/modify_authentication_profile/builders.rs index 5ad24a34f071..1fccef96480b 100644 --- a/sdk/redshift/src/operation/modify_authentication_profile/builders.rs +++ b/sdk/redshift/src/operation/modify_authentication_profile/builders.rs @@ -19,9 +19,9 @@ impl ModifyAuthenticationProfileFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl ModifyAuthenticationProfileFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::modify_authentication_profile::ModifyAuthenticationProfile, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::modify_authentication_profile::ModifyAuthenticationProfileError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                The name of the authentication profile to replace.

                                                                                                                                                                                                                                                                                                                                                pub fn authentication_profile_name( mut self, diff --git a/sdk/redshift/src/operation/modify_cluster/builders.rs b/sdk/redshift/src/operation/modify_cluster/builders.rs index 31e7c47f3857..0159461ab210 100644 --- a/sdk/redshift/src/operation/modify_cluster/builders.rs +++ b/sdk/redshift/src/operation/modify_cluster/builders.rs @@ -21,9 +21,9 @@ impl ModifyClusterFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -79,6 +79,20 @@ impl ModifyClusterFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::modify_cluster::ModifyCluster, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                The unique identifier of the cluster to be modified.

                                                                                                                                                                                                                                                                                                                                                ///

                                                                                                                                                                                                                                                                                                                                                Example: examplecluster

                                                                                                                                                                                                                                                                                                                                                pub fn cluster_identifier( diff --git a/sdk/redshift/src/operation/modify_cluster_db_revision/builders.rs b/sdk/redshift/src/operation/modify_cluster_db_revision/builders.rs index 2d8622afebbc..960e47c35b86 100644 --- a/sdk/redshift/src/operation/modify_cluster_db_revision/builders.rs +++ b/sdk/redshift/src/operation/modify_cluster_db_revision/builders.rs @@ -20,9 +20,9 @@ impl ModifyClusterDbRevisionFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -84,6 +84,22 @@ impl ModifyClusterDbRevisionFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::modify_cluster_db_revision::ModifyClusterDbRevision, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::modify_cluster_db_revision::ModifyClusterDbRevisionError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                The unique identifier of a cluster whose database revision you want to modify.

                                                                                                                                                                                                                                                                                                                                                ///

                                                                                                                                                                                                                                                                                                                                                Example: examplecluster

                                                                                                                                                                                                                                                                                                                                                pub fn cluster_identifier( diff --git a/sdk/redshift/src/operation/modify_cluster_iam_roles/builders.rs b/sdk/redshift/src/operation/modify_cluster_iam_roles/builders.rs index 6247b9771916..a44b84c7189b 100644 --- a/sdk/redshift/src/operation/modify_cluster_iam_roles/builders.rs +++ b/sdk/redshift/src/operation/modify_cluster_iam_roles/builders.rs @@ -20,9 +20,9 @@ impl ModifyClusterIamRolesFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -84,6 +84,22 @@ impl ModifyClusterIamRolesFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::modify_cluster_iam_roles::ModifyClusterIamRoles, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::modify_cluster_iam_roles::ModifyClusterIamRolesError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                The unique identifier of the cluster for which you want to associate or disassociate IAM roles.

                                                                                                                                                                                                                                                                                                                                                pub fn cluster_identifier( mut self, diff --git a/sdk/redshift/src/operation/modify_cluster_maintenance/builders.rs b/sdk/redshift/src/operation/modify_cluster_maintenance/builders.rs index 9e4b8e5b7882..8368c2fa4132 100644 --- a/sdk/redshift/src/operation/modify_cluster_maintenance/builders.rs +++ b/sdk/redshift/src/operation/modify_cluster_maintenance/builders.rs @@ -19,9 +19,9 @@ impl ModifyClusterMaintenanceFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl ModifyClusterMaintenanceFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::modify_cluster_maintenance::ModifyClusterMaintenance, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::modify_cluster_maintenance::ModifyClusterMaintenanceError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                A unique identifier for the cluster.

                                                                                                                                                                                                                                                                                                                                                pub fn cluster_identifier( mut self, diff --git a/sdk/redshift/src/operation/modify_cluster_parameter_group/builders.rs b/sdk/redshift/src/operation/modify_cluster_parameter_group/builders.rs index bc8eae49f302..959240109f5e 100644 --- a/sdk/redshift/src/operation/modify_cluster_parameter_group/builders.rs +++ b/sdk/redshift/src/operation/modify_cluster_parameter_group/builders.rs @@ -20,9 +20,9 @@ impl ModifyClusterParameterGroupFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -84,6 +84,22 @@ impl ModifyClusterParameterGroupFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::modify_cluster_parameter_group::ModifyClusterParameterGroup, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::modify_cluster_parameter_group::ModifyClusterParameterGroupError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                The name of the parameter group to be modified.

                                                                                                                                                                                                                                                                                                                                                pub fn parameter_group_name( mut self, diff --git a/sdk/redshift/src/operation/modify_cluster_snapshot/builders.rs b/sdk/redshift/src/operation/modify_cluster_snapshot/builders.rs index ff1faf5278eb..ae153cfeb23f 100644 --- a/sdk/redshift/src/operation/modify_cluster_snapshot/builders.rs +++ b/sdk/redshift/src/operation/modify_cluster_snapshot/builders.rs @@ -20,9 +20,9 @@ impl ModifyClusterSnapshotFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -84,6 +84,22 @@ impl ModifyClusterSnapshotFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::modify_cluster_snapshot::ModifyClusterSnapshot, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::modify_cluster_snapshot::ModifyClusterSnapshotError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                The identifier of the snapshot whose setting you want to modify.

                                                                                                                                                                                                                                                                                                                                                pub fn snapshot_identifier( mut self, diff --git a/sdk/redshift/src/operation/modify_cluster_snapshot_schedule/builders.rs b/sdk/redshift/src/operation/modify_cluster_snapshot_schedule/builders.rs index 08759334d296..88b43ca53276 100644 --- a/sdk/redshift/src/operation/modify_cluster_snapshot_schedule/builders.rs +++ b/sdk/redshift/src/operation/modify_cluster_snapshot_schedule/builders.rs @@ -19,9 +19,9 @@ impl ModifyClusterSnapshotScheduleFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl ModifyClusterSnapshotScheduleFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::modify_cluster_snapshot_schedule::ModifyClusterSnapshotSchedule, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::modify_cluster_snapshot_schedule::ModifyClusterSnapshotScheduleError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                A unique identifier for the cluster whose snapshot schedule you want to modify.

                                                                                                                                                                                                                                                                                                                                                pub fn cluster_identifier( mut self, diff --git a/sdk/redshift/src/operation/modify_cluster_subnet_group/builders.rs b/sdk/redshift/src/operation/modify_cluster_subnet_group/builders.rs index b4c03ffbc32d..c13858a64fb2 100644 --- a/sdk/redshift/src/operation/modify_cluster_subnet_group/builders.rs +++ b/sdk/redshift/src/operation/modify_cluster_subnet_group/builders.rs @@ -19,9 +19,9 @@ impl ModifyClusterSubnetGroupFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl ModifyClusterSubnetGroupFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::modify_cluster_subnet_group::ModifyClusterSubnetGroup, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::modify_cluster_subnet_group::ModifyClusterSubnetGroupError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                The name of the subnet group to be modified.

                                                                                                                                                                                                                                                                                                                                                pub fn cluster_subnet_group_name( mut self, diff --git a/sdk/redshift/src/operation/modify_endpoint_access/builders.rs b/sdk/redshift/src/operation/modify_endpoint_access/builders.rs index 4e1e481cfb7a..946df211dd6a 100644 --- a/sdk/redshift/src/operation/modify_endpoint_access/builders.rs +++ b/sdk/redshift/src/operation/modify_endpoint_access/builders.rs @@ -19,9 +19,9 @@ impl ModifyEndpointAccessFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl ModifyEndpointAccessFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::modify_endpoint_access::ModifyEndpointAccess, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::modify_endpoint_access::ModifyEndpointAccessError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                The endpoint to be modified.

                                                                                                                                                                                                                                                                                                                                                pub fn endpoint_name( mut self, diff --git a/sdk/redshift/src/operation/modify_event_subscription/builders.rs b/sdk/redshift/src/operation/modify_event_subscription/builders.rs index 27c316ce5e0e..ea4426c3275b 100644 --- a/sdk/redshift/src/operation/modify_event_subscription/builders.rs +++ b/sdk/redshift/src/operation/modify_event_subscription/builders.rs @@ -20,9 +20,9 @@ impl ModifyEventSubscriptionFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -84,6 +84,22 @@ impl ModifyEventSubscriptionFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::modify_event_subscription::ModifyEventSubscription, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::modify_event_subscription::ModifyEventSubscriptionError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                The name of the modified Amazon Redshift event notification subscription.

                                                                                                                                                                                                                                                                                                                                                pub fn subscription_name( mut self, diff --git a/sdk/redshift/src/operation/modify_scheduled_action/builders.rs b/sdk/redshift/src/operation/modify_scheduled_action/builders.rs index 49981a10feed..d57acb0a9704 100644 --- a/sdk/redshift/src/operation/modify_scheduled_action/builders.rs +++ b/sdk/redshift/src/operation/modify_scheduled_action/builders.rs @@ -19,9 +19,9 @@ impl ModifyScheduledActionFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl ModifyScheduledActionFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::modify_scheduled_action::ModifyScheduledAction, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::modify_scheduled_action::ModifyScheduledActionError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                The name of the scheduled action to modify.

                                                                                                                                                                                                                                                                                                                                                pub fn scheduled_action_name( mut self, diff --git a/sdk/redshift/src/operation/modify_snapshot_copy_retention_period/builders.rs b/sdk/redshift/src/operation/modify_snapshot_copy_retention_period/builders.rs index 643cd611aa1d..b204705c9f82 100644 --- a/sdk/redshift/src/operation/modify_snapshot_copy_retention_period/builders.rs +++ b/sdk/redshift/src/operation/modify_snapshot_copy_retention_period/builders.rs @@ -19,9 +19,9 @@ impl ModifySnapshotCopyRetentionPeriodFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize(self) -> ::std::result::Result< + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware(self) -> ::std::result::Result< crate::client::customize::CustomizableOperation, ::aws_smithy_http::result::SdkError >{ @@ -64,6 +64,15 @@ impl ModifySnapshotCopyRetentionPeriodFluentBuilder { { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize(self) -> ::std::result::Result< + crate::client::customize::CustomizableOperation, + ::aws_smithy_http::result::SdkError + >{ + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                The unique identifier of the cluster for which you want to change the retention period for either automated or manual snapshots that are copied to a destination Amazon Web Services Region.

                                                                                                                                                                                                                                                                                                                                                ///

                                                                                                                                                                                                                                                                                                                                                Constraints: Must be the valid name of an existing cluster that has cross-region snapshot copy enabled.

                                                                                                                                                                                                                                                                                                                                                pub fn cluster_identifier( diff --git a/sdk/redshift/src/operation/modify_snapshot_schedule/builders.rs b/sdk/redshift/src/operation/modify_snapshot_schedule/builders.rs index da5243cd75f4..053f3bddd7bf 100644 --- a/sdk/redshift/src/operation/modify_snapshot_schedule/builders.rs +++ b/sdk/redshift/src/operation/modify_snapshot_schedule/builders.rs @@ -19,9 +19,9 @@ impl ModifySnapshotScheduleFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl ModifySnapshotScheduleFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::modify_snapshot_schedule::ModifySnapshotSchedule, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::modify_snapshot_schedule::ModifySnapshotScheduleError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                A unique alphanumeric identifier of the schedule to modify.

                                                                                                                                                                                                                                                                                                                                                pub fn schedule_identifier( mut self, diff --git a/sdk/redshift/src/operation/modify_usage_limit/builders.rs b/sdk/redshift/src/operation/modify_usage_limit/builders.rs index f40111280dd1..7ce986ef653e 100644 --- a/sdk/redshift/src/operation/modify_usage_limit/builders.rs +++ b/sdk/redshift/src/operation/modify_usage_limit/builders.rs @@ -19,9 +19,9 @@ impl ModifyUsageLimitFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl ModifyUsageLimitFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::modify_usage_limit::ModifyUsageLimit, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::modify_usage_limit::ModifyUsageLimitError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                The identifier of the usage limit to modify.

                                                                                                                                                                                                                                                                                                                                                pub fn usage_limit_id( mut self, diff --git a/sdk/redshift/src/operation/pause_cluster/builders.rs b/sdk/redshift/src/operation/pause_cluster/builders.rs index 0f0f0bd7f701..d5bd6655826b 100644 --- a/sdk/redshift/src/operation/pause_cluster/builders.rs +++ b/sdk/redshift/src/operation/pause_cluster/builders.rs @@ -19,9 +19,9 @@ impl PauseClusterFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl PauseClusterFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::pause_cluster::PauseCluster, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                The identifier of the cluster to be paused.

                                                                                                                                                                                                                                                                                                                                                pub fn cluster_identifier( mut self, diff --git a/sdk/redshift/src/operation/purchase_reserved_node_offering/builders.rs b/sdk/redshift/src/operation/purchase_reserved_node_offering/builders.rs index cea365a70996..46f029800b07 100644 --- a/sdk/redshift/src/operation/purchase_reserved_node_offering/builders.rs +++ b/sdk/redshift/src/operation/purchase_reserved_node_offering/builders.rs @@ -20,9 +20,9 @@ impl PurchaseReservedNodeOfferingFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -84,6 +84,22 @@ impl PurchaseReservedNodeOfferingFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::purchase_reserved_node_offering::PurchaseReservedNodeOffering, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::purchase_reserved_node_offering::PurchaseReservedNodeOfferingError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                The unique identifier of the reserved node offering you want to purchase.

                                                                                                                                                                                                                                                                                                                                                pub fn reserved_node_offering_id( mut self, diff --git a/sdk/redshift/src/operation/reboot_cluster/builders.rs b/sdk/redshift/src/operation/reboot_cluster/builders.rs index 718a68efb4ce..2d9367b8d391 100644 --- a/sdk/redshift/src/operation/reboot_cluster/builders.rs +++ b/sdk/redshift/src/operation/reboot_cluster/builders.rs @@ -19,9 +19,9 @@ impl RebootClusterFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl RebootClusterFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::reboot_cluster::RebootCluster, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                The cluster identifier.

                                                                                                                                                                                                                                                                                                                                                pub fn cluster_identifier( mut self, diff --git a/sdk/redshift/src/operation/reject_data_share/builders.rs b/sdk/redshift/src/operation/reject_data_share/builders.rs index 509033c64784..9220fe49322f 100644 --- a/sdk/redshift/src/operation/reject_data_share/builders.rs +++ b/sdk/redshift/src/operation/reject_data_share/builders.rs @@ -19,9 +19,9 @@ impl RejectDataShareFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl RejectDataShareFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::reject_data_share::RejectDataShare, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::reject_data_share::RejectDataShareError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                The Amazon Resource Name (ARN) of the datashare to reject.

                                                                                                                                                                                                                                                                                                                                                pub fn data_share_arn( mut self, diff --git a/sdk/redshift/src/operation/reset_cluster_parameter_group/builders.rs b/sdk/redshift/src/operation/reset_cluster_parameter_group/builders.rs index d88fdd4cb679..fc5215efd3cd 100644 --- a/sdk/redshift/src/operation/reset_cluster_parameter_group/builders.rs +++ b/sdk/redshift/src/operation/reset_cluster_parameter_group/builders.rs @@ -19,9 +19,9 @@ impl ResetClusterParameterGroupFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl ResetClusterParameterGroupFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::reset_cluster_parameter_group::ResetClusterParameterGroup, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::reset_cluster_parameter_group::ResetClusterParameterGroupError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                The name of the cluster parameter group to be reset.

                                                                                                                                                                                                                                                                                                                                                pub fn parameter_group_name( mut self, diff --git a/sdk/redshift/src/operation/resize_cluster/builders.rs b/sdk/redshift/src/operation/resize_cluster/builders.rs index bce216f612d0..8f35f118f877 100644 --- a/sdk/redshift/src/operation/resize_cluster/builders.rs +++ b/sdk/redshift/src/operation/resize_cluster/builders.rs @@ -35,9 +35,9 @@ impl ResizeClusterFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -93,6 +93,20 @@ impl ResizeClusterFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::resize_cluster::ResizeCluster, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                The unique identifier for the cluster to resize.

                                                                                                                                                                                                                                                                                                                                                pub fn cluster_identifier( mut self, diff --git a/sdk/redshift/src/operation/restore_from_cluster_snapshot/builders.rs b/sdk/redshift/src/operation/restore_from_cluster_snapshot/builders.rs index 3c127cf15a38..1a7393712154 100644 --- a/sdk/redshift/src/operation/restore_from_cluster_snapshot/builders.rs +++ b/sdk/redshift/src/operation/restore_from_cluster_snapshot/builders.rs @@ -21,9 +21,9 @@ impl RestoreFromClusterSnapshotFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -85,6 +85,22 @@ impl RestoreFromClusterSnapshotFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::restore_from_cluster_snapshot::RestoreFromClusterSnapshot, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::restore_from_cluster_snapshot::RestoreFromClusterSnapshotError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                The identifier of the cluster that will be created from restoring the snapshot.

                                                                                                                                                                                                                                                                                                                                                ///

                                                                                                                                                                                                                                                                                                                                                Constraints:

                                                                                                                                                                                                                                                                                                                                                ///
                                                                                                                                                                                                                                                                                                                                                  diff --git a/sdk/redshift/src/operation/restore_table_from_cluster_snapshot/builders.rs b/sdk/redshift/src/operation/restore_table_from_cluster_snapshot/builders.rs index 76ad245f63ac..a95f7c0bd029 100644 --- a/sdk/redshift/src/operation/restore_table_from_cluster_snapshot/builders.rs +++ b/sdk/redshift/src/operation/restore_table_from_cluster_snapshot/builders.rs @@ -21,9 +21,9 @@ impl RestoreTableFromClusterSnapshotFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize(self) -> ::std::result::Result< + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware(self) -> ::std::result::Result< crate::client::customize::CustomizableOperation, ::aws_smithy_http::result::SdkError >{ @@ -66,6 +66,15 @@ impl RestoreTableFromClusterSnapshotFluentBuilder { { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize(self) -> ::std::result::Result< + crate::client::customize::CustomizableOperation, + ::aws_smithy_http::result::SdkError + >{ + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                  The identifier of the Amazon Redshift cluster to restore the table to.

                                                                                                                                                                                                                                                                                                                                                  pub fn cluster_identifier( mut self, diff --git a/sdk/redshift/src/operation/resume_cluster/builders.rs b/sdk/redshift/src/operation/resume_cluster/builders.rs index f09a7a7ea2f4..a91f64751367 100644 --- a/sdk/redshift/src/operation/resume_cluster/builders.rs +++ b/sdk/redshift/src/operation/resume_cluster/builders.rs @@ -19,9 +19,9 @@ impl ResumeClusterFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl ResumeClusterFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::resume_cluster::ResumeCluster, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                  The identifier of the cluster to be resumed.

                                                                                                                                                                                                                                                                                                                                                  pub fn cluster_identifier( mut self, diff --git a/sdk/redshift/src/operation/revoke_cluster_security_group_ingress/builders.rs b/sdk/redshift/src/operation/revoke_cluster_security_group_ingress/builders.rs index 9974fc1d47e6..4fbe88e0773d 100644 --- a/sdk/redshift/src/operation/revoke_cluster_security_group_ingress/builders.rs +++ b/sdk/redshift/src/operation/revoke_cluster_security_group_ingress/builders.rs @@ -19,9 +19,9 @@ impl RevokeClusterSecurityGroupIngressFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize(self) -> ::std::result::Result< + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware(self) -> ::std::result::Result< crate::client::customize::CustomizableOperation, ::aws_smithy_http::result::SdkError >{ @@ -64,6 +64,15 @@ impl RevokeClusterSecurityGroupIngressFluentBuilder { { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize(self) -> ::std::result::Result< + crate::client::customize::CustomizableOperation, + ::aws_smithy_http::result::SdkError + >{ + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                  The name of the security Group from which to revoke the ingress rule.

                                                                                                                                                                                                                                                                                                                                                  pub fn cluster_security_group_name( mut self, diff --git a/sdk/redshift/src/operation/revoke_endpoint_access/builders.rs b/sdk/redshift/src/operation/revoke_endpoint_access/builders.rs index aaeabc43b7fa..b0efaa487a0c 100644 --- a/sdk/redshift/src/operation/revoke_endpoint_access/builders.rs +++ b/sdk/redshift/src/operation/revoke_endpoint_access/builders.rs @@ -19,9 +19,9 @@ impl RevokeEndpointAccessFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl RevokeEndpointAccessFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::revoke_endpoint_access::RevokeEndpointAccess, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::revoke_endpoint_access::RevokeEndpointAccessError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                  The cluster to revoke access from.

                                                                                                                                                                                                                                                                                                                                                  pub fn cluster_identifier( mut self, diff --git a/sdk/redshift/src/operation/revoke_snapshot_access/builders.rs b/sdk/redshift/src/operation/revoke_snapshot_access/builders.rs index 8e00d30e8b68..ac796103e4ce 100644 --- a/sdk/redshift/src/operation/revoke_snapshot_access/builders.rs +++ b/sdk/redshift/src/operation/revoke_snapshot_access/builders.rs @@ -20,9 +20,9 @@ impl RevokeSnapshotAccessFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -84,6 +84,22 @@ impl RevokeSnapshotAccessFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::revoke_snapshot_access::RevokeSnapshotAccess, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::revoke_snapshot_access::RevokeSnapshotAccessError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                  The identifier of the snapshot that the account can no longer access.

                                                                                                                                                                                                                                                                                                                                                  pub fn snapshot_identifier( mut self, diff --git a/sdk/redshift/src/operation/rotate_encryption_key/builders.rs b/sdk/redshift/src/operation/rotate_encryption_key/builders.rs index 7fa2483b0474..52c46c75af44 100644 --- a/sdk/redshift/src/operation/rotate_encryption_key/builders.rs +++ b/sdk/redshift/src/operation/rotate_encryption_key/builders.rs @@ -19,9 +19,9 @@ impl RotateEncryptionKeyFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl RotateEncryptionKeyFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::rotate_encryption_key::RotateEncryptionKey, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::rotate_encryption_key::RotateEncryptionKeyError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                  The unique identifier of the cluster that you want to rotate the encryption keys for.

                                                                                                                                                                                                                                                                                                                                                  ///

                                                                                                                                                                                                                                                                                                                                                  Constraints: Must be the name of valid cluster that has encryption enabled.

                                                                                                                                                                                                                                                                                                                                                  pub fn cluster_identifier( diff --git a/sdk/redshift/src/operation/update_partner_status/builders.rs b/sdk/redshift/src/operation/update_partner_status/builders.rs index 82f5e6627760..5df9d76d19fb 100644 --- a/sdk/redshift/src/operation/update_partner_status/builders.rs +++ b/sdk/redshift/src/operation/update_partner_status/builders.rs @@ -19,9 +19,9 @@ impl UpdatePartnerStatusFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl UpdatePartnerStatusFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::update_partner_status::UpdatePartnerStatus, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::update_partner_status::UpdatePartnerStatusError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                  The Amazon Web Services account ID that owns the cluster.

                                                                                                                                                                                                                                                                                                                                                  pub fn account_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.account_id(input.into()); diff --git a/sdk/redshiftdata/src/operation/batch_execute_statement/builders.rs b/sdk/redshiftdata/src/operation/batch_execute_statement/builders.rs index 2e61dfcd9fd1..12895ffb01e6 100644 --- a/sdk/redshiftdata/src/operation/batch_execute_statement/builders.rs +++ b/sdk/redshiftdata/src/operation/batch_execute_statement/builders.rs @@ -29,9 +29,9 @@ impl BatchExecuteStatementFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -93,6 +93,22 @@ impl BatchExecuteStatementFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::batch_execute_statement::BatchExecuteStatement, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::batch_execute_statement::BatchExecuteStatementError, + >, + > { + self.customize_middleware().await + } /// Appends an item to `Sqls`. /// /// To override the contents of this collection use [`set_sqls`](Self::set_sqls). diff --git a/sdk/redshiftdata/src/operation/cancel_statement/builders.rs b/sdk/redshiftdata/src/operation/cancel_statement/builders.rs index 8a69e35b0a4e..69c529972360 100644 --- a/sdk/redshiftdata/src/operation/cancel_statement/builders.rs +++ b/sdk/redshiftdata/src/operation/cancel_statement/builders.rs @@ -20,9 +20,9 @@ impl CancelStatementFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -84,6 +84,22 @@ impl CancelStatementFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::cancel_statement::CancelStatement, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::cancel_statement::CancelStatementError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                  The identifier of the SQL statement to cancel. This value is a universally unique identifier (UUID) generated by Amazon Redshift Data API. This identifier is returned by BatchExecuteStatment, ExecuteStatment, and ListStatements.

                                                                                                                                                                                                                                                                                                                                                  pub fn id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.id(input.into()); diff --git a/sdk/redshiftdata/src/operation/describe_statement/builders.rs b/sdk/redshiftdata/src/operation/describe_statement/builders.rs index 2677e6b9bc1a..75be77a629fe 100644 --- a/sdk/redshiftdata/src/operation/describe_statement/builders.rs +++ b/sdk/redshiftdata/src/operation/describe_statement/builders.rs @@ -20,9 +20,9 @@ impl DescribeStatementFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -84,6 +84,22 @@ impl DescribeStatementFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::describe_statement::DescribeStatement, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::describe_statement::DescribeStatementError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                  The identifier of the SQL statement to describe. This value is a universally unique identifier (UUID) generated by Amazon Redshift Data API. A suffix indicates the number of the SQL statement. For example, d9b6c0c9-0747-4bf4-b142-e8883122f766:2 has a suffix of :2 that indicates the second SQL statement of a batch query. This identifier is returned by BatchExecuteStatment, ExecuteStatement, and ListStatements.

                                                                                                                                                                                                                                                                                                                                                  pub fn id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.id(input.into()); diff --git a/sdk/redshiftdata/src/operation/describe_table/builders.rs b/sdk/redshiftdata/src/operation/describe_table/builders.rs index 1394eebdb9f0..bf748aabcde6 100644 --- a/sdk/redshiftdata/src/operation/describe_table/builders.rs +++ b/sdk/redshiftdata/src/operation/describe_table/builders.rs @@ -29,9 +29,9 @@ impl DescribeTableFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -87,6 +87,20 @@ impl DescribeTableFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::describe_table::DescribeTable, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::describe_table::paginator::DescribeTablePaginator::send) which returns a `Stream`. diff --git a/sdk/redshiftdata/src/operation/execute_statement/builders.rs b/sdk/redshiftdata/src/operation/execute_statement/builders.rs index 9e6c73a5e673..0a7765c056d4 100644 --- a/sdk/redshiftdata/src/operation/execute_statement/builders.rs +++ b/sdk/redshiftdata/src/operation/execute_statement/builders.rs @@ -29,9 +29,9 @@ impl ExecuteStatementFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -93,6 +93,22 @@ impl ExecuteStatementFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::execute_statement::ExecuteStatement, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::execute_statement::ExecuteStatementError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                  The SQL statement text to run.

                                                                                                                                                                                                                                                                                                                                                  pub fn sql(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.sql(input.into()); diff --git a/sdk/redshiftdata/src/operation/get_statement_result/builders.rs b/sdk/redshiftdata/src/operation/get_statement_result/builders.rs index 0226f96e37a8..df519b80d560 100644 --- a/sdk/redshiftdata/src/operation/get_statement_result/builders.rs +++ b/sdk/redshiftdata/src/operation/get_statement_result/builders.rs @@ -20,9 +20,9 @@ impl GetStatementResultFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -84,6 +84,22 @@ impl GetStatementResultFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::get_statement_result::GetStatementResult, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::get_statement_result::GetStatementResultError, + >, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::get_statement_result::paginator::GetStatementResultPaginator::send) which returns a `Stream`. diff --git a/sdk/redshiftdata/src/operation/list_databases/builders.rs b/sdk/redshiftdata/src/operation/list_databases/builders.rs index 6bc64839939f..020951f8d384 100644 --- a/sdk/redshiftdata/src/operation/list_databases/builders.rs +++ b/sdk/redshiftdata/src/operation/list_databases/builders.rs @@ -29,9 +29,9 @@ impl ListDatabasesFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -87,6 +87,20 @@ impl ListDatabasesFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_databases::ListDatabases, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::list_databases::paginator::ListDatabasesPaginator::send) which returns a `Stream`. diff --git a/sdk/redshiftdata/src/operation/list_schemas/builders.rs b/sdk/redshiftdata/src/operation/list_schemas/builders.rs index 6e7bffe366aa..26cf2fd270e0 100644 --- a/sdk/redshiftdata/src/operation/list_schemas/builders.rs +++ b/sdk/redshiftdata/src/operation/list_schemas/builders.rs @@ -29,9 +29,9 @@ impl ListSchemasFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -87,6 +87,20 @@ impl ListSchemasFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_schemas::ListSchemas, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::list_schemas::paginator::ListSchemasPaginator::send) which returns a `Stream`. diff --git a/sdk/redshiftdata/src/operation/list_statements/builders.rs b/sdk/redshiftdata/src/operation/list_statements/builders.rs index 54f906c456fd..fa49a41f9e08 100644 --- a/sdk/redshiftdata/src/operation/list_statements/builders.rs +++ b/sdk/redshiftdata/src/operation/list_statements/builders.rs @@ -20,9 +20,9 @@ impl ListStatementsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -78,6 +78,20 @@ impl ListStatementsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_statements::ListStatements, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::list_statements::paginator::ListStatementsPaginator::send) which returns a `Stream`. diff --git a/sdk/redshiftdata/src/operation/list_tables/builders.rs b/sdk/redshiftdata/src/operation/list_tables/builders.rs index 78e087fa03b0..13bdae328fc2 100644 --- a/sdk/redshiftdata/src/operation/list_tables/builders.rs +++ b/sdk/redshiftdata/src/operation/list_tables/builders.rs @@ -29,9 +29,9 @@ impl ListTablesFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -87,6 +87,20 @@ impl ListTablesFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_tables::ListTables, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::list_tables::paginator::ListTablesPaginator::send) which returns a `Stream`. diff --git a/sdk/redshiftserverless/src/operation/convert_recovery_point_to_snapshot/builders.rs b/sdk/redshiftserverless/src/operation/convert_recovery_point_to_snapshot/builders.rs index 0e1f90d29bb0..15d349b2e940 100644 --- a/sdk/redshiftserverless/src/operation/convert_recovery_point_to_snapshot/builders.rs +++ b/sdk/redshiftserverless/src/operation/convert_recovery_point_to_snapshot/builders.rs @@ -19,9 +19,9 @@ impl ConvertRecoveryPointToSnapshotFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize(self) -> ::std::result::Result< + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware(self) -> ::std::result::Result< crate::client::customize::CustomizableOperation, ::aws_smithy_http::result::SdkError >{ @@ -64,6 +64,15 @@ impl ConvertRecoveryPointToSnapshotFluentBuilder { { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize(self) -> ::std::result::Result< + crate::client::customize::CustomizableOperation, + ::aws_smithy_http::result::SdkError + >{ + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                  The unique identifier of the recovery point.

                                                                                                                                                                                                                                                                                                                                                  pub fn recovery_point_id( mut self, diff --git a/sdk/redshiftserverless/src/operation/create_endpoint_access/builders.rs b/sdk/redshiftserverless/src/operation/create_endpoint_access/builders.rs index 934bf9c851c9..51e9d3ac00ab 100644 --- a/sdk/redshiftserverless/src/operation/create_endpoint_access/builders.rs +++ b/sdk/redshiftserverless/src/operation/create_endpoint_access/builders.rs @@ -19,9 +19,9 @@ impl CreateEndpointAccessFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl CreateEndpointAccessFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::create_endpoint_access::CreateEndpointAccess, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::create_endpoint_access::CreateEndpointAccessError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                  The name of the VPC endpoint. An endpoint name must contain 1-30 characters. Valid characters are A-Z, a-z, 0-9, and hyphen(-). The first character must be a letter. The name can't contain two consecutive hyphens or end with a hyphen.

                                                                                                                                                                                                                                                                                                                                                  pub fn endpoint_name( mut self, diff --git a/sdk/redshiftserverless/src/operation/create_namespace/builders.rs b/sdk/redshiftserverless/src/operation/create_namespace/builders.rs index d999588af919..f7dce3eaec4e 100644 --- a/sdk/redshiftserverless/src/operation/create_namespace/builders.rs +++ b/sdk/redshiftserverless/src/operation/create_namespace/builders.rs @@ -19,9 +19,9 @@ impl CreateNamespaceFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl CreateNamespaceFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::create_namespace::CreateNamespace, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::create_namespace::CreateNamespaceError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                  The name of the namespace.

                                                                                                                                                                                                                                                                                                                                                  pub fn namespace_name( mut self, diff --git a/sdk/redshiftserverless/src/operation/create_snapshot/builders.rs b/sdk/redshiftserverless/src/operation/create_snapshot/builders.rs index c2dd03730312..c20c1fa7f1ae 100644 --- a/sdk/redshiftserverless/src/operation/create_snapshot/builders.rs +++ b/sdk/redshiftserverless/src/operation/create_snapshot/builders.rs @@ -19,9 +19,9 @@ impl CreateSnapshotFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl CreateSnapshotFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::create_snapshot::CreateSnapshot, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                  The namespace to create a snapshot for.

                                                                                                                                                                                                                                                                                                                                                  pub fn namespace_name( mut self, diff --git a/sdk/redshiftserverless/src/operation/create_usage_limit/builders.rs b/sdk/redshiftserverless/src/operation/create_usage_limit/builders.rs index 0aed660d37c2..acf1d32ca163 100644 --- a/sdk/redshiftserverless/src/operation/create_usage_limit/builders.rs +++ b/sdk/redshiftserverless/src/operation/create_usage_limit/builders.rs @@ -19,9 +19,9 @@ impl CreateUsageLimitFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl CreateUsageLimitFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::create_usage_limit::CreateUsageLimit, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::create_usage_limit::CreateUsageLimitError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                  The Amazon Resource Name (ARN) of the Amazon Redshift Serverless resource to create the usage limit for.

                                                                                                                                                                                                                                                                                                                                                  pub fn resource_arn(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.resource_arn(input.into()); diff --git a/sdk/redshiftserverless/src/operation/create_workgroup/builders.rs b/sdk/redshiftserverless/src/operation/create_workgroup/builders.rs index f4d3177129e8..6c75fdf0895a 100644 --- a/sdk/redshiftserverless/src/operation/create_workgroup/builders.rs +++ b/sdk/redshiftserverless/src/operation/create_workgroup/builders.rs @@ -19,9 +19,9 @@ impl CreateWorkgroupFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl CreateWorkgroupFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::create_workgroup::CreateWorkgroup, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::create_workgroup::CreateWorkgroupError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                  The name of the created workgroup.

                                                                                                                                                                                                                                                                                                                                                  pub fn workgroup_name( mut self, diff --git a/sdk/redshiftserverless/src/operation/delete_endpoint_access/builders.rs b/sdk/redshiftserverless/src/operation/delete_endpoint_access/builders.rs index 6ebc3657a7d5..632870aed3b6 100644 --- a/sdk/redshiftserverless/src/operation/delete_endpoint_access/builders.rs +++ b/sdk/redshiftserverless/src/operation/delete_endpoint_access/builders.rs @@ -19,9 +19,9 @@ impl DeleteEndpointAccessFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl DeleteEndpointAccessFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::delete_endpoint_access::DeleteEndpointAccess, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::delete_endpoint_access::DeleteEndpointAccessError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                  The name of the VPC endpoint to delete.

                                                                                                                                                                                                                                                                                                                                                  pub fn endpoint_name( mut self, diff --git a/sdk/redshiftserverless/src/operation/delete_namespace/builders.rs b/sdk/redshiftserverless/src/operation/delete_namespace/builders.rs index 2a86e46e2582..e8e51b31fda2 100644 --- a/sdk/redshiftserverless/src/operation/delete_namespace/builders.rs +++ b/sdk/redshiftserverless/src/operation/delete_namespace/builders.rs @@ -19,9 +19,9 @@ impl DeleteNamespaceFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl DeleteNamespaceFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::delete_namespace::DeleteNamespace, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::delete_namespace::DeleteNamespaceError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                  The name of the namespace to delete.

                                                                                                                                                                                                                                                                                                                                                  pub fn namespace_name( mut self, diff --git a/sdk/redshiftserverless/src/operation/delete_resource_policy/builders.rs b/sdk/redshiftserverless/src/operation/delete_resource_policy/builders.rs index 6aac90d8be5d..68fc0c2e95a6 100644 --- a/sdk/redshiftserverless/src/operation/delete_resource_policy/builders.rs +++ b/sdk/redshiftserverless/src/operation/delete_resource_policy/builders.rs @@ -19,9 +19,9 @@ impl DeleteResourcePolicyFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl DeleteResourcePolicyFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::delete_resource_policy::DeleteResourcePolicy, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::delete_resource_policy::DeleteResourcePolicyError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                  The Amazon Resource Name (ARN) of the policy to delete.

                                                                                                                                                                                                                                                                                                                                                  pub fn resource_arn(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.resource_arn(input.into()); diff --git a/sdk/redshiftserverless/src/operation/delete_snapshot/builders.rs b/sdk/redshiftserverless/src/operation/delete_snapshot/builders.rs index 68fd9f3b6ec2..a00c9b53345a 100644 --- a/sdk/redshiftserverless/src/operation/delete_snapshot/builders.rs +++ b/sdk/redshiftserverless/src/operation/delete_snapshot/builders.rs @@ -19,9 +19,9 @@ impl DeleteSnapshotFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl DeleteSnapshotFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::delete_snapshot::DeleteSnapshot, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                  The name of the snapshot to be deleted.

                                                                                                                                                                                                                                                                                                                                                  pub fn snapshot_name( mut self, diff --git a/sdk/redshiftserverless/src/operation/delete_usage_limit/builders.rs b/sdk/redshiftserverless/src/operation/delete_usage_limit/builders.rs index 7600e86ceb0c..01859e5d0db4 100644 --- a/sdk/redshiftserverless/src/operation/delete_usage_limit/builders.rs +++ b/sdk/redshiftserverless/src/operation/delete_usage_limit/builders.rs @@ -19,9 +19,9 @@ impl DeleteUsageLimitFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl DeleteUsageLimitFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::delete_usage_limit::DeleteUsageLimit, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::delete_usage_limit::DeleteUsageLimitError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                  The unique identifier of the usage limit to delete.

                                                                                                                                                                                                                                                                                                                                                  pub fn usage_limit_id( mut self, diff --git a/sdk/redshiftserverless/src/operation/delete_workgroup/builders.rs b/sdk/redshiftserverless/src/operation/delete_workgroup/builders.rs index 451d6c0cdd7c..ecdd4dfec718 100644 --- a/sdk/redshiftserverless/src/operation/delete_workgroup/builders.rs +++ b/sdk/redshiftserverless/src/operation/delete_workgroup/builders.rs @@ -19,9 +19,9 @@ impl DeleteWorkgroupFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl DeleteWorkgroupFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::delete_workgroup::DeleteWorkgroup, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::delete_workgroup::DeleteWorkgroupError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                  The name of the workgroup to be deleted.

                                                                                                                                                                                                                                                                                                                                                  pub fn workgroup_name( mut self, diff --git a/sdk/redshiftserverless/src/operation/get_credentials/builders.rs b/sdk/redshiftserverless/src/operation/get_credentials/builders.rs index 54a66f4bdb5e..d124b4cff1ab 100644 --- a/sdk/redshiftserverless/src/operation/get_credentials/builders.rs +++ b/sdk/redshiftserverless/src/operation/get_credentials/builders.rs @@ -22,9 +22,9 @@ impl GetCredentialsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -80,6 +80,20 @@ impl GetCredentialsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::get_credentials::GetCredentials, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                  The name of the workgroup associated with the database.

                                                                                                                                                                                                                                                                                                                                                  pub fn workgroup_name( mut self, diff --git a/sdk/redshiftserverless/src/operation/get_endpoint_access/builders.rs b/sdk/redshiftserverless/src/operation/get_endpoint_access/builders.rs index 5869f036b852..f79072a1c36c 100644 --- a/sdk/redshiftserverless/src/operation/get_endpoint_access/builders.rs +++ b/sdk/redshiftserverless/src/operation/get_endpoint_access/builders.rs @@ -19,9 +19,9 @@ impl GetEndpointAccessFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl GetEndpointAccessFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::get_endpoint_access::GetEndpointAccess, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::get_endpoint_access::GetEndpointAccessError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                  The name of the VPC endpoint to return information for.

                                                                                                                                                                                                                                                                                                                                                  pub fn endpoint_name( mut self, diff --git a/sdk/redshiftserverless/src/operation/get_namespace/builders.rs b/sdk/redshiftserverless/src/operation/get_namespace/builders.rs index 35526d9999fc..c124c01b025c 100644 --- a/sdk/redshiftserverless/src/operation/get_namespace/builders.rs +++ b/sdk/redshiftserverless/src/operation/get_namespace/builders.rs @@ -19,9 +19,9 @@ impl GetNamespaceFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl GetNamespaceFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::get_namespace::GetNamespace, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                  The name of the namespace to retrieve information for.

                                                                                                                                                                                                                                                                                                                                                  pub fn namespace_name( mut self, diff --git a/sdk/redshiftserverless/src/operation/get_recovery_point/builders.rs b/sdk/redshiftserverless/src/operation/get_recovery_point/builders.rs index f0e32d216186..ec8a415f7ccd 100644 --- a/sdk/redshiftserverless/src/operation/get_recovery_point/builders.rs +++ b/sdk/redshiftserverless/src/operation/get_recovery_point/builders.rs @@ -19,9 +19,9 @@ impl GetRecoveryPointFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl GetRecoveryPointFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::get_recovery_point::GetRecoveryPoint, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::get_recovery_point::GetRecoveryPointError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                  The unique identifier of the recovery point to return information for.

                                                                                                                                                                                                                                                                                                                                                  pub fn recovery_point_id( mut self, diff --git a/sdk/redshiftserverless/src/operation/get_resource_policy/builders.rs b/sdk/redshiftserverless/src/operation/get_resource_policy/builders.rs index a6c9a402ee76..e242278b977f 100644 --- a/sdk/redshiftserverless/src/operation/get_resource_policy/builders.rs +++ b/sdk/redshiftserverless/src/operation/get_resource_policy/builders.rs @@ -19,9 +19,9 @@ impl GetResourcePolicyFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl GetResourcePolicyFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::get_resource_policy::GetResourcePolicy, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::get_resource_policy::GetResourcePolicyError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                  The Amazon Resource Name (ARN) of the resource to return.

                                                                                                                                                                                                                                                                                                                                                  pub fn resource_arn(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.resource_arn(input.into()); diff --git a/sdk/redshiftserverless/src/operation/get_snapshot/builders.rs b/sdk/redshiftserverless/src/operation/get_snapshot/builders.rs index 9535e13fc2bd..d62840e65b75 100644 --- a/sdk/redshiftserverless/src/operation/get_snapshot/builders.rs +++ b/sdk/redshiftserverless/src/operation/get_snapshot/builders.rs @@ -19,9 +19,9 @@ impl GetSnapshotFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl GetSnapshotFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::get_snapshot::GetSnapshot, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                  The name of the snapshot to return.

                                                                                                                                                                                                                                                                                                                                                  pub fn snapshot_name( mut self, diff --git a/sdk/redshiftserverless/src/operation/get_table_restore_status/builders.rs b/sdk/redshiftserverless/src/operation/get_table_restore_status/builders.rs index 92bcdbe592fb..24e5fb2c42a1 100644 --- a/sdk/redshiftserverless/src/operation/get_table_restore_status/builders.rs +++ b/sdk/redshiftserverless/src/operation/get_table_restore_status/builders.rs @@ -19,9 +19,9 @@ impl GetTableRestoreStatusFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl GetTableRestoreStatusFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::get_table_restore_status::GetTableRestoreStatus, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::get_table_restore_status::GetTableRestoreStatusError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                  The ID of the RestoreTableFromSnapshot request to return status for.

                                                                                                                                                                                                                                                                                                                                                  pub fn table_restore_request_id( mut self, diff --git a/sdk/redshiftserverless/src/operation/get_usage_limit/builders.rs b/sdk/redshiftserverless/src/operation/get_usage_limit/builders.rs index c1e86993742c..d782c7ee0a9b 100644 --- a/sdk/redshiftserverless/src/operation/get_usage_limit/builders.rs +++ b/sdk/redshiftserverless/src/operation/get_usage_limit/builders.rs @@ -19,9 +19,9 @@ impl GetUsageLimitFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl GetUsageLimitFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::get_usage_limit::GetUsageLimit, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                  The unique identifier of the usage limit to return information for.

                                                                                                                                                                                                                                                                                                                                                  pub fn usage_limit_id( mut self, diff --git a/sdk/redshiftserverless/src/operation/get_workgroup/builders.rs b/sdk/redshiftserverless/src/operation/get_workgroup/builders.rs index d770f9b3f7a5..90f445acb2b5 100644 --- a/sdk/redshiftserverless/src/operation/get_workgroup/builders.rs +++ b/sdk/redshiftserverless/src/operation/get_workgroup/builders.rs @@ -19,9 +19,9 @@ impl GetWorkgroupFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl GetWorkgroupFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::get_workgroup::GetWorkgroup, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                  The name of the workgroup to return information for.

                                                                                                                                                                                                                                                                                                                                                  pub fn workgroup_name( mut self, diff --git a/sdk/redshiftserverless/src/operation/list_endpoint_access/builders.rs b/sdk/redshiftserverless/src/operation/list_endpoint_access/builders.rs index eaf097eef3b9..570b73c90a44 100644 --- a/sdk/redshiftserverless/src/operation/list_endpoint_access/builders.rs +++ b/sdk/redshiftserverless/src/operation/list_endpoint_access/builders.rs @@ -19,9 +19,9 @@ impl ListEndpointAccessFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl ListEndpointAccessFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_endpoint_access::ListEndpointAccess, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::list_endpoint_access::ListEndpointAccessError, + >, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::list_endpoint_access::paginator::ListEndpointAccessPaginator::send) which returns a `Stream`. diff --git a/sdk/redshiftserverless/src/operation/list_namespaces/builders.rs b/sdk/redshiftserverless/src/operation/list_namespaces/builders.rs index 5e771ea53f95..369ac6736678 100644 --- a/sdk/redshiftserverless/src/operation/list_namespaces/builders.rs +++ b/sdk/redshiftserverless/src/operation/list_namespaces/builders.rs @@ -19,9 +19,9 @@ impl ListNamespacesFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl ListNamespacesFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_namespaces::ListNamespaces, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::list_namespaces::paginator::ListNamespacesPaginator::send) which returns a `Stream`. diff --git a/sdk/redshiftserverless/src/operation/list_recovery_points/builders.rs b/sdk/redshiftserverless/src/operation/list_recovery_points/builders.rs index 522f8af70754..869ddedb5d80 100644 --- a/sdk/redshiftserverless/src/operation/list_recovery_points/builders.rs +++ b/sdk/redshiftserverless/src/operation/list_recovery_points/builders.rs @@ -19,9 +19,9 @@ impl ListRecoveryPointsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl ListRecoveryPointsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_recovery_points::ListRecoveryPoints, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::list_recovery_points::ListRecoveryPointsError, + >, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::list_recovery_points::paginator::ListRecoveryPointsPaginator::send) which returns a `Stream`. diff --git a/sdk/redshiftserverless/src/operation/list_snapshots/builders.rs b/sdk/redshiftserverless/src/operation/list_snapshots/builders.rs index 7b0599b005e4..b0e4b7837cb5 100644 --- a/sdk/redshiftserverless/src/operation/list_snapshots/builders.rs +++ b/sdk/redshiftserverless/src/operation/list_snapshots/builders.rs @@ -19,9 +19,9 @@ impl ListSnapshotsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl ListSnapshotsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_snapshots::ListSnapshots, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::list_snapshots::paginator::ListSnapshotsPaginator::send) which returns a `Stream`. diff --git a/sdk/redshiftserverless/src/operation/list_table_restore_status/builders.rs b/sdk/redshiftserverless/src/operation/list_table_restore_status/builders.rs index a4ed951aa693..32da6a27ccb5 100644 --- a/sdk/redshiftserverless/src/operation/list_table_restore_status/builders.rs +++ b/sdk/redshiftserverless/src/operation/list_table_restore_status/builders.rs @@ -20,9 +20,9 @@ impl ListTableRestoreStatusFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -84,6 +84,22 @@ impl ListTableRestoreStatusFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_table_restore_status::ListTableRestoreStatus, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::list_table_restore_status::ListTableRestoreStatusError, + >, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::list_table_restore_status::paginator::ListTableRestoreStatusPaginator::send) which returns a `Stream`. diff --git a/sdk/redshiftserverless/src/operation/list_tags_for_resource/builders.rs b/sdk/redshiftserverless/src/operation/list_tags_for_resource/builders.rs index c5ac105c2aa3..5cf8977846ab 100644 --- a/sdk/redshiftserverless/src/operation/list_tags_for_resource/builders.rs +++ b/sdk/redshiftserverless/src/operation/list_tags_for_resource/builders.rs @@ -19,9 +19,9 @@ impl ListTagsForResourceFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl ListTagsForResourceFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_tags_for_resource::ListTagsForResource, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::list_tags_for_resource::ListTagsForResourceError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                  The Amazon Resource Name (ARN) of the resource to list tags for.

                                                                                                                                                                                                                                                                                                                                                  pub fn resource_arn(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.resource_arn(input.into()); diff --git a/sdk/redshiftserverless/src/operation/list_usage_limits/builders.rs b/sdk/redshiftserverless/src/operation/list_usage_limits/builders.rs index e703ae67c82c..38f944fa3eab 100644 --- a/sdk/redshiftserverless/src/operation/list_usage_limits/builders.rs +++ b/sdk/redshiftserverless/src/operation/list_usage_limits/builders.rs @@ -19,9 +19,9 @@ impl ListUsageLimitsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl ListUsageLimitsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_usage_limits::ListUsageLimits, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::list_usage_limits::ListUsageLimitsError, + >, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::list_usage_limits::paginator::ListUsageLimitsPaginator::send) which returns a `Stream`. diff --git a/sdk/redshiftserverless/src/operation/list_workgroups/builders.rs b/sdk/redshiftserverless/src/operation/list_workgroups/builders.rs index 25933cc869c0..ade7cc2ceb97 100644 --- a/sdk/redshiftserverless/src/operation/list_workgroups/builders.rs +++ b/sdk/redshiftserverless/src/operation/list_workgroups/builders.rs @@ -19,9 +19,9 @@ impl ListWorkgroupsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl ListWorkgroupsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_workgroups::ListWorkgroups, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::list_workgroups::paginator::ListWorkgroupsPaginator::send) which returns a `Stream`. diff --git a/sdk/redshiftserverless/src/operation/put_resource_policy/builders.rs b/sdk/redshiftserverless/src/operation/put_resource_policy/builders.rs index cc05334d861c..23c9de57df96 100644 --- a/sdk/redshiftserverless/src/operation/put_resource_policy/builders.rs +++ b/sdk/redshiftserverless/src/operation/put_resource_policy/builders.rs @@ -19,9 +19,9 @@ impl PutResourcePolicyFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl PutResourcePolicyFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::put_resource_policy::PutResourcePolicy, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::put_resource_policy::PutResourcePolicyError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                  The Amazon Resource Name (ARN) of the account to create or update a resource policy for.

                                                                                                                                                                                                                                                                                                                                                  pub fn resource_arn(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.resource_arn(input.into()); diff --git a/sdk/redshiftserverless/src/operation/restore_from_recovery_point/builders.rs b/sdk/redshiftserverless/src/operation/restore_from_recovery_point/builders.rs index 1242897c114c..0d9375da5848 100644 --- a/sdk/redshiftserverless/src/operation/restore_from_recovery_point/builders.rs +++ b/sdk/redshiftserverless/src/operation/restore_from_recovery_point/builders.rs @@ -19,9 +19,9 @@ impl RestoreFromRecoveryPointFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl RestoreFromRecoveryPointFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::restore_from_recovery_point::RestoreFromRecoveryPoint, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::restore_from_recovery_point::RestoreFromRecoveryPointError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                  The unique identifier of the recovery point to restore from.

                                                                                                                                                                                                                                                                                                                                                  pub fn recovery_point_id( mut self, diff --git a/sdk/redshiftserverless/src/operation/restore_from_snapshot/builders.rs b/sdk/redshiftserverless/src/operation/restore_from_snapshot/builders.rs index dd817fc86b61..9f60af1e06b0 100644 --- a/sdk/redshiftserverless/src/operation/restore_from_snapshot/builders.rs +++ b/sdk/redshiftserverless/src/operation/restore_from_snapshot/builders.rs @@ -19,9 +19,9 @@ impl RestoreFromSnapshotFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl RestoreFromSnapshotFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::restore_from_snapshot::RestoreFromSnapshot, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::restore_from_snapshot::RestoreFromSnapshotError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                  The name of the namespace to restore the snapshot to.

                                                                                                                                                                                                                                                                                                                                                  pub fn namespace_name( mut self, diff --git a/sdk/redshiftserverless/src/operation/restore_table_from_snapshot/builders.rs b/sdk/redshiftserverless/src/operation/restore_table_from_snapshot/builders.rs index cb0a27f588ac..bb0f71304545 100644 --- a/sdk/redshiftserverless/src/operation/restore_table_from_snapshot/builders.rs +++ b/sdk/redshiftserverless/src/operation/restore_table_from_snapshot/builders.rs @@ -19,9 +19,9 @@ impl RestoreTableFromSnapshotFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl RestoreTableFromSnapshotFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::restore_table_from_snapshot::RestoreTableFromSnapshot, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::restore_table_from_snapshot::RestoreTableFromSnapshotError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                  The namespace of the snapshot to restore from.

                                                                                                                                                                                                                                                                                                                                                  pub fn namespace_name( mut self, diff --git a/sdk/redshiftserverless/src/operation/tag_resource/builders.rs b/sdk/redshiftserverless/src/operation/tag_resource/builders.rs index 1400f6429edf..4b1a37d62cf1 100644 --- a/sdk/redshiftserverless/src/operation/tag_resource/builders.rs +++ b/sdk/redshiftserverless/src/operation/tag_resource/builders.rs @@ -19,9 +19,9 @@ impl TagResourceFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl TagResourceFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::tag_resource::TagResource, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                  The Amazon Resource Name (ARN) of the resource to tag.

                                                                                                                                                                                                                                                                                                                                                  pub fn resource_arn(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.resource_arn(input.into()); diff --git a/sdk/redshiftserverless/src/operation/untag_resource/builders.rs b/sdk/redshiftserverless/src/operation/untag_resource/builders.rs index 2d2855daad64..570197af85f3 100644 --- a/sdk/redshiftserverless/src/operation/untag_resource/builders.rs +++ b/sdk/redshiftserverless/src/operation/untag_resource/builders.rs @@ -19,9 +19,9 @@ impl UntagResourceFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl UntagResourceFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::untag_resource::UntagResource, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                  The Amazon Resource Name (ARN) of the resource to remove tags from.

                                                                                                                                                                                                                                                                                                                                                  pub fn resource_arn(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.resource_arn(input.into()); diff --git a/sdk/redshiftserverless/src/operation/update_endpoint_access/builders.rs b/sdk/redshiftserverless/src/operation/update_endpoint_access/builders.rs index f6124de96ff1..c25c573db70d 100644 --- a/sdk/redshiftserverless/src/operation/update_endpoint_access/builders.rs +++ b/sdk/redshiftserverless/src/operation/update_endpoint_access/builders.rs @@ -19,9 +19,9 @@ impl UpdateEndpointAccessFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl UpdateEndpointAccessFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::update_endpoint_access::UpdateEndpointAccess, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::update_endpoint_access::UpdateEndpointAccessError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                  The name of the VPC endpoint to update.

                                                                                                                                                                                                                                                                                                                                                  pub fn endpoint_name( mut self, diff --git a/sdk/redshiftserverless/src/operation/update_namespace/builders.rs b/sdk/redshiftserverless/src/operation/update_namespace/builders.rs index 9f5f70bf4d79..3c1c2387b13e 100644 --- a/sdk/redshiftserverless/src/operation/update_namespace/builders.rs +++ b/sdk/redshiftserverless/src/operation/update_namespace/builders.rs @@ -19,9 +19,9 @@ impl UpdateNamespaceFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl UpdateNamespaceFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::update_namespace::UpdateNamespace, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::update_namespace::UpdateNamespaceError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                  The name of the namespace to update. You can't update the name of a namespace once it is created.

                                                                                                                                                                                                                                                                                                                                                  pub fn namespace_name( mut self, diff --git a/sdk/redshiftserverless/src/operation/update_snapshot/builders.rs b/sdk/redshiftserverless/src/operation/update_snapshot/builders.rs index 4d98e996c287..302415d655d4 100644 --- a/sdk/redshiftserverless/src/operation/update_snapshot/builders.rs +++ b/sdk/redshiftserverless/src/operation/update_snapshot/builders.rs @@ -19,9 +19,9 @@ impl UpdateSnapshotFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl UpdateSnapshotFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::update_snapshot::UpdateSnapshot, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                  The name of the snapshot.

                                                                                                                                                                                                                                                                                                                                                  pub fn snapshot_name( mut self, diff --git a/sdk/redshiftserverless/src/operation/update_usage_limit/builders.rs b/sdk/redshiftserverless/src/operation/update_usage_limit/builders.rs index dc29689b6650..32c1c0e45845 100644 --- a/sdk/redshiftserverless/src/operation/update_usage_limit/builders.rs +++ b/sdk/redshiftserverless/src/operation/update_usage_limit/builders.rs @@ -19,9 +19,9 @@ impl UpdateUsageLimitFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl UpdateUsageLimitFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::update_usage_limit::UpdateUsageLimit, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::update_usage_limit::UpdateUsageLimitError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                  The identifier of the usage limit to update.

                                                                                                                                                                                                                                                                                                                                                  pub fn usage_limit_id( mut self, diff --git a/sdk/redshiftserverless/src/operation/update_workgroup/builders.rs b/sdk/redshiftserverless/src/operation/update_workgroup/builders.rs index 87db0d9c5ab3..13af9697b1df 100644 --- a/sdk/redshiftserverless/src/operation/update_workgroup/builders.rs +++ b/sdk/redshiftserverless/src/operation/update_workgroup/builders.rs @@ -19,9 +19,9 @@ impl UpdateWorkgroupFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl UpdateWorkgroupFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::update_workgroup::UpdateWorkgroup, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::update_workgroup::UpdateWorkgroupError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                  The name of the workgroup to update. You can't update the name of a workgroup once it is created.

                                                                                                                                                                                                                                                                                                                                                  pub fn workgroup_name( mut self, diff --git a/sdk/rekognition/src/operation/compare_faces/builders.rs b/sdk/rekognition/src/operation/compare_faces/builders.rs index c9b9b0cf65df..9ddf42925f27 100644 --- a/sdk/rekognition/src/operation/compare_faces/builders.rs +++ b/sdk/rekognition/src/operation/compare_faces/builders.rs @@ -34,9 +34,9 @@ impl CompareFacesFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -92,6 +92,20 @@ impl CompareFacesFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::compare_faces::CompareFaces, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                  The input image as base64-encoded bytes or an S3 object. If you use the AWS CLI to call Amazon Rekognition operations, passing base64-encoded image bytes is not supported.

                                                                                                                                                                                                                                                                                                                                                  ///

                                                                                                                                                                                                                                                                                                                                                  If you are using an AWS SDK to call Amazon Rekognition, you might not need to base64-encode image bytes passed using the Bytes field. For more information, see Images in the Amazon Rekognition developer guide.

                                                                                                                                                                                                                                                                                                                                                  pub fn source_image(mut self, input: crate::types::Image) -> Self { diff --git a/sdk/rekognition/src/operation/copy_project_version/builders.rs b/sdk/rekognition/src/operation/copy_project_version/builders.rs index 13d70c869346..032150c33a7e 100644 --- a/sdk/rekognition/src/operation/copy_project_version/builders.rs +++ b/sdk/rekognition/src/operation/copy_project_version/builders.rs @@ -26,9 +26,9 @@ impl CopyProjectVersionFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -90,6 +90,22 @@ impl CopyProjectVersionFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::copy_project_version::CopyProjectVersion, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::copy_project_version::CopyProjectVersionError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                  The ARN of the source project in the trusting AWS account.

                                                                                                                                                                                                                                                                                                                                                  pub fn source_project_arn( mut self, diff --git a/sdk/rekognition/src/operation/create_collection/builders.rs b/sdk/rekognition/src/operation/create_collection/builders.rs index 5a96592a1806..abf606f43c67 100644 --- a/sdk/rekognition/src/operation/create_collection/builders.rs +++ b/sdk/rekognition/src/operation/create_collection/builders.rs @@ -24,9 +24,9 @@ impl CreateCollectionFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -88,6 +88,22 @@ impl CreateCollectionFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::create_collection::CreateCollection, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::create_collection::CreateCollectionError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                  ID for the collection that you are creating.

                                                                                                                                                                                                                                                                                                                                                  pub fn collection_id( mut self, diff --git a/sdk/rekognition/src/operation/create_dataset/builders.rs b/sdk/rekognition/src/operation/create_dataset/builders.rs index 263fcd171111..05ba8dbd92a4 100644 --- a/sdk/rekognition/src/operation/create_dataset/builders.rs +++ b/sdk/rekognition/src/operation/create_dataset/builders.rs @@ -25,9 +25,9 @@ impl CreateDatasetFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,20 @@ impl CreateDatasetFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::create_dataset::CreateDataset, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                  The source files for the dataset. You can specify the ARN of an existing dataset or specify the Amazon S3 bucket location of an Amazon Sagemaker format manifest file. If you don't specify datasetSource, an empty dataset is created. To add labeled images to the dataset, You can use the console or call UpdateDatasetEntries.

                                                                                                                                                                                                                                                                                                                                                  pub fn dataset_source(mut self, input: crate::types::DatasetSource) -> Self { self.inner = self.inner.dataset_source(input); diff --git a/sdk/rekognition/src/operation/create_face_liveness_session/builders.rs b/sdk/rekognition/src/operation/create_face_liveness_session/builders.rs index a3a9335b8c23..adbf3a9d4cc3 100644 --- a/sdk/rekognition/src/operation/create_face_liveness_session/builders.rs +++ b/sdk/rekognition/src/operation/create_face_liveness_session/builders.rs @@ -19,9 +19,9 @@ impl CreateFaceLivenessSessionFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl CreateFaceLivenessSessionFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::create_face_liveness_session::CreateFaceLivenessSession, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::create_face_liveness_session::CreateFaceLivenessSessionError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                  The identifier for your AWS Key Management Service key (AWS KMS key). Used to encrypt audit images and reference images.

                                                                                                                                                                                                                                                                                                                                                  pub fn kms_key_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.kms_key_id(input.into()); diff --git a/sdk/rekognition/src/operation/create_project/builders.rs b/sdk/rekognition/src/operation/create_project/builders.rs index d62be45f09e5..a2afbeece301 100644 --- a/sdk/rekognition/src/operation/create_project/builders.rs +++ b/sdk/rekognition/src/operation/create_project/builders.rs @@ -20,9 +20,9 @@ impl CreateProjectFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -78,6 +78,20 @@ impl CreateProjectFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::create_project::CreateProject, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                  The name of the project to create.

                                                                                                                                                                                                                                                                                                                                                  pub fn project_name(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.project_name(input.into()); diff --git a/sdk/rekognition/src/operation/create_project_version/builders.rs b/sdk/rekognition/src/operation/create_project_version/builders.rs index 325c18f8a425..e5fa8eb8dd39 100644 --- a/sdk/rekognition/src/operation/create_project_version/builders.rs +++ b/sdk/rekognition/src/operation/create_project_version/builders.rs @@ -29,9 +29,9 @@ impl CreateProjectVersionFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -93,6 +93,22 @@ impl CreateProjectVersionFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::create_project_version::CreateProjectVersion, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::create_project_version::CreateProjectVersionError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                  The ARN of the Amazon Rekognition Custom Labels project that manages the model that you want to train.

                                                                                                                                                                                                                                                                                                                                                  pub fn project_arn(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.project_arn(input.into()); diff --git a/sdk/rekognition/src/operation/create_stream_processor/builders.rs b/sdk/rekognition/src/operation/create_stream_processor/builders.rs index b0a08c976155..ce2532876cee 100644 --- a/sdk/rekognition/src/operation/create_stream_processor/builders.rs +++ b/sdk/rekognition/src/operation/create_stream_processor/builders.rs @@ -26,9 +26,9 @@ impl CreateStreamProcessorFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -90,6 +90,22 @@ impl CreateStreamProcessorFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::create_stream_processor::CreateStreamProcessor, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::create_stream_processor::CreateStreamProcessorError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                  Kinesis video stream stream that provides the source streaming video. If you are using the AWS CLI, the parameter name is StreamProcessorInput. This is required for both face search and label detection stream processors.

                                                                                                                                                                                                                                                                                                                                                  pub fn input(mut self, input: crate::types::StreamProcessorInput) -> Self { self.inner = self.inner.input(input); diff --git a/sdk/rekognition/src/operation/delete_collection/builders.rs b/sdk/rekognition/src/operation/delete_collection/builders.rs index 0c4930213761..a9fb79fe10fc 100644 --- a/sdk/rekognition/src/operation/delete_collection/builders.rs +++ b/sdk/rekognition/src/operation/delete_collection/builders.rs @@ -20,9 +20,9 @@ impl DeleteCollectionFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -84,6 +84,22 @@ impl DeleteCollectionFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::delete_collection::DeleteCollection, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::delete_collection::DeleteCollectionError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                  ID of the collection to delete.

                                                                                                                                                                                                                                                                                                                                                  pub fn collection_id( mut self, diff --git a/sdk/rekognition/src/operation/delete_dataset/builders.rs b/sdk/rekognition/src/operation/delete_dataset/builders.rs index fa0b67a10d96..bc802b7a34dd 100644 --- a/sdk/rekognition/src/operation/delete_dataset/builders.rs +++ b/sdk/rekognition/src/operation/delete_dataset/builders.rs @@ -21,9 +21,9 @@ impl DeleteDatasetFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -79,6 +79,20 @@ impl DeleteDatasetFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::delete_dataset::DeleteDataset, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                  The ARN of the Amazon Rekognition Custom Labels dataset that you want to delete.

                                                                                                                                                                                                                                                                                                                                                  pub fn dataset_arn(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.dataset_arn(input.into()); diff --git a/sdk/rekognition/src/operation/delete_faces/builders.rs b/sdk/rekognition/src/operation/delete_faces/builders.rs index 28943c619b64..18b6db42450c 100644 --- a/sdk/rekognition/src/operation/delete_faces/builders.rs +++ b/sdk/rekognition/src/operation/delete_faces/builders.rs @@ -20,9 +20,9 @@ impl DeleteFacesFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -78,6 +78,20 @@ impl DeleteFacesFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::delete_faces::DeleteFaces, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                  Collection from which to remove the specific faces.

                                                                                                                                                                                                                                                                                                                                                  pub fn collection_id( mut self, diff --git a/sdk/rekognition/src/operation/delete_project/builders.rs b/sdk/rekognition/src/operation/delete_project/builders.rs index 910b32e62812..3d5dacc595d1 100644 --- a/sdk/rekognition/src/operation/delete_project/builders.rs +++ b/sdk/rekognition/src/operation/delete_project/builders.rs @@ -21,9 +21,9 @@ impl DeleteProjectFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -79,6 +79,20 @@ impl DeleteProjectFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::delete_project::DeleteProject, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                  The Amazon Resource Name (ARN) of the project that you want to delete.

                                                                                                                                                                                                                                                                                                                                                  pub fn project_arn(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.project_arn(input.into()); diff --git a/sdk/rekognition/src/operation/delete_project_policy/builders.rs b/sdk/rekognition/src/operation/delete_project_policy/builders.rs index 26bc7069ee33..d4522ac550fb 100644 --- a/sdk/rekognition/src/operation/delete_project_policy/builders.rs +++ b/sdk/rekognition/src/operation/delete_project_policy/builders.rs @@ -21,9 +21,9 @@ impl DeleteProjectPolicyFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -85,6 +85,22 @@ impl DeleteProjectPolicyFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::delete_project_policy::DeleteProjectPolicy, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::delete_project_policy::DeleteProjectPolicyError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                  The Amazon Resource Name (ARN) of the project that the project policy you want to delete is attached to.

                                                                                                                                                                                                                                                                                                                                                  pub fn project_arn(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.project_arn(input.into()); diff --git a/sdk/rekognition/src/operation/delete_project_version/builders.rs b/sdk/rekognition/src/operation/delete_project_version/builders.rs index f9202bc52289..ae610797d4cb 100644 --- a/sdk/rekognition/src/operation/delete_project_version/builders.rs +++ b/sdk/rekognition/src/operation/delete_project_version/builders.rs @@ -21,9 +21,9 @@ impl DeleteProjectVersionFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -85,6 +85,22 @@ impl DeleteProjectVersionFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::delete_project_version::DeleteProjectVersion, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::delete_project_version::DeleteProjectVersionError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                  The Amazon Resource Name (ARN) of the model version that you want to delete.

                                                                                                                                                                                                                                                                                                                                                  pub fn project_version_arn( mut self, diff --git a/sdk/rekognition/src/operation/delete_stream_processor/builders.rs b/sdk/rekognition/src/operation/delete_stream_processor/builders.rs index 3d79acd40940..88d7029f46cc 100644 --- a/sdk/rekognition/src/operation/delete_stream_processor/builders.rs +++ b/sdk/rekognition/src/operation/delete_stream_processor/builders.rs @@ -19,9 +19,9 @@ impl DeleteStreamProcessorFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl DeleteStreamProcessorFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::delete_stream_processor::DeleteStreamProcessor, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::delete_stream_processor::DeleteStreamProcessorError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                  The name of the stream processor you want to delete.

                                                                                                                                                                                                                                                                                                                                                  pub fn name(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.name(input.into()); diff --git a/sdk/rekognition/src/operation/describe_collection/builders.rs b/sdk/rekognition/src/operation/describe_collection/builders.rs index 0461b667e6d1..f434664d0f75 100644 --- a/sdk/rekognition/src/operation/describe_collection/builders.rs +++ b/sdk/rekognition/src/operation/describe_collection/builders.rs @@ -20,9 +20,9 @@ impl DescribeCollectionFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -84,6 +84,22 @@ impl DescribeCollectionFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::describe_collection::DescribeCollection, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::describe_collection::DescribeCollectionError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                  The ID of the collection to describe.

                                                                                                                                                                                                                                                                                                                                                  pub fn collection_id( mut self, diff --git a/sdk/rekognition/src/operation/describe_dataset/builders.rs b/sdk/rekognition/src/operation/describe_dataset/builders.rs index b7ae012240b5..f2c30ed61a23 100644 --- a/sdk/rekognition/src/operation/describe_dataset/builders.rs +++ b/sdk/rekognition/src/operation/describe_dataset/builders.rs @@ -20,9 +20,9 @@ impl DescribeDatasetFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -84,6 +84,22 @@ impl DescribeDatasetFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::describe_dataset::DescribeDataset, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::describe_dataset::DescribeDatasetError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                  The Amazon Resource Name (ARN) of the dataset that you want to describe.

                                                                                                                                                                                                                                                                                                                                                  pub fn dataset_arn(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.dataset_arn(input.into()); diff --git a/sdk/rekognition/src/operation/describe_project_versions/builders.rs b/sdk/rekognition/src/operation/describe_project_versions/builders.rs index 541454a3b3b5..7592017962df 100644 --- a/sdk/rekognition/src/operation/describe_project_versions/builders.rs +++ b/sdk/rekognition/src/operation/describe_project_versions/builders.rs @@ -21,9 +21,9 @@ impl DescribeProjectVersionsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -85,6 +85,22 @@ impl DescribeProjectVersionsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::describe_project_versions::DescribeProjectVersions, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::describe_project_versions::DescribeProjectVersionsError, + >, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::describe_project_versions::paginator::DescribeProjectVersionsPaginator::send) which returns a `Stream`. diff --git a/sdk/rekognition/src/operation/describe_projects/builders.rs b/sdk/rekognition/src/operation/describe_projects/builders.rs index b1b3d1af8e69..166570dff3bf 100644 --- a/sdk/rekognition/src/operation/describe_projects/builders.rs +++ b/sdk/rekognition/src/operation/describe_projects/builders.rs @@ -20,9 +20,9 @@ impl DescribeProjectsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -84,6 +84,22 @@ impl DescribeProjectsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::describe_projects::DescribeProjects, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::describe_projects::DescribeProjectsError, + >, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::describe_projects::paginator::DescribeProjectsPaginator::send) which returns a `Stream`. diff --git a/sdk/rekognition/src/operation/describe_stream_processor/builders.rs b/sdk/rekognition/src/operation/describe_stream_processor/builders.rs index 7a5ffc25c58c..50772c9ab7d1 100644 --- a/sdk/rekognition/src/operation/describe_stream_processor/builders.rs +++ b/sdk/rekognition/src/operation/describe_stream_processor/builders.rs @@ -20,9 +20,9 @@ impl DescribeStreamProcessorFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -84,6 +84,22 @@ impl DescribeStreamProcessorFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::describe_stream_processor::DescribeStreamProcessor, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::describe_stream_processor::DescribeStreamProcessorError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                  Name of the stream processor for which you want information.

                                                                                                                                                                                                                                                                                                                                                  pub fn name(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.name(input.into()); diff --git a/sdk/rekognition/src/operation/detect_custom_labels/builders.rs b/sdk/rekognition/src/operation/detect_custom_labels/builders.rs index 4f59d0731ca0..0b5c44213d7b 100644 --- a/sdk/rekognition/src/operation/detect_custom_labels/builders.rs +++ b/sdk/rekognition/src/operation/detect_custom_labels/builders.rs @@ -27,9 +27,9 @@ impl DetectCustomLabelsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -91,6 +91,22 @@ impl DetectCustomLabelsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::detect_custom_labels::DetectCustomLabels, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::detect_custom_labels::DetectCustomLabelsError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                  The ARN of the model version that you want to use.

                                                                                                                                                                                                                                                                                                                                                  pub fn project_version_arn( mut self, diff --git a/sdk/rekognition/src/operation/detect_faces/builders.rs b/sdk/rekognition/src/operation/detect_faces/builders.rs index 69af930fe63b..e2139702234d 100644 --- a/sdk/rekognition/src/operation/detect_faces/builders.rs +++ b/sdk/rekognition/src/operation/detect_faces/builders.rs @@ -25,9 +25,9 @@ impl DetectFacesFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,20 @@ impl DetectFacesFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::detect_faces::DetectFaces, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                  The input image as base64-encoded bytes or an S3 object. If you use the AWS CLI to call Amazon Rekognition operations, passing base64-encoded image bytes is not supported.

                                                                                                                                                                                                                                                                                                                                                  ///

                                                                                                                                                                                                                                                                                                                                                  If you are using an AWS SDK to call Amazon Rekognition, you might not need to base64-encode image bytes passed using the Bytes field. For more information, see Images in the Amazon Rekognition developer guide.

                                                                                                                                                                                                                                                                                                                                                  pub fn image(mut self, input: crate::types::Image) -> Self { diff --git a/sdk/rekognition/src/operation/detect_labels/builders.rs b/sdk/rekognition/src/operation/detect_labels/builders.rs index b7ba4591586a..7841ac469984 100644 --- a/sdk/rekognition/src/operation/detect_labels/builders.rs +++ b/sdk/rekognition/src/operation/detect_labels/builders.rs @@ -55,9 +55,9 @@ impl DetectLabelsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -113,6 +113,20 @@ impl DetectLabelsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::detect_labels::DetectLabels, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                  The input image as base64-encoded bytes or an S3 object. If you use the AWS CLI to call Amazon Rekognition operations, passing image bytes is not supported. Images stored in an S3 Bucket do not need to be base64-encoded.

                                                                                                                                                                                                                                                                                                                                                  ///

                                                                                                                                                                                                                                                                                                                                                  If you are using an AWS SDK to call Amazon Rekognition, you might not need to base64-encode image bytes passed using the Bytes field. For more information, see Images in the Amazon Rekognition developer guide.

                                                                                                                                                                                                                                                                                                                                                  pub fn image(mut self, input: crate::types::Image) -> Self { diff --git a/sdk/rekognition/src/operation/detect_moderation_labels/builders.rs b/sdk/rekognition/src/operation/detect_moderation_labels/builders.rs index 25c74046fd71..c1b8b37afeca 100644 --- a/sdk/rekognition/src/operation/detect_moderation_labels/builders.rs +++ b/sdk/rekognition/src/operation/detect_moderation_labels/builders.rs @@ -22,9 +22,9 @@ impl DetectModerationLabelsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -86,6 +86,22 @@ impl DetectModerationLabelsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::detect_moderation_labels::DetectModerationLabels, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::detect_moderation_labels::DetectModerationLabelsError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                  The input image as base64-encoded bytes or an S3 object. If you use the AWS CLI to call Amazon Rekognition operations, passing base64-encoded image bytes is not supported.

                                                                                                                                                                                                                                                                                                                                                  ///

                                                                                                                                                                                                                                                                                                                                                  If you are using an AWS SDK to call Amazon Rekognition, you might not need to base64-encode image bytes passed using the Bytes field. For more information, see Images in the Amazon Rekognition developer guide.

                                                                                                                                                                                                                                                                                                                                                  pub fn image(mut self, input: crate::types::Image) -> Self { diff --git a/sdk/rekognition/src/operation/detect_protective_equipment/builders.rs b/sdk/rekognition/src/operation/detect_protective_equipment/builders.rs index 53d0b9277b0d..d84d8112f4f3 100644 --- a/sdk/rekognition/src/operation/detect_protective_equipment/builders.rs +++ b/sdk/rekognition/src/operation/detect_protective_equipment/builders.rs @@ -35,9 +35,9 @@ impl DetectProtectiveEquipmentFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -99,6 +99,22 @@ impl DetectProtectiveEquipmentFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::detect_protective_equipment::DetectProtectiveEquipment, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::detect_protective_equipment::DetectProtectiveEquipmentError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                  The image in which you want to detect PPE on detected persons. The image can be passed as image bytes or you can reference an image stored in an Amazon S3 bucket.

                                                                                                                                                                                                                                                                                                                                                  pub fn image(mut self, input: crate::types::Image) -> Self { self.inner = self.inner.image(input); diff --git a/sdk/rekognition/src/operation/detect_text/builders.rs b/sdk/rekognition/src/operation/detect_text/builders.rs index ca9118cd8621..b4a622769345 100644 --- a/sdk/rekognition/src/operation/detect_text/builders.rs +++ b/sdk/rekognition/src/operation/detect_text/builders.rs @@ -26,9 +26,9 @@ impl DetectTextFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -84,6 +84,20 @@ impl DetectTextFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::detect_text::DetectText, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                  The input image as base64-encoded bytes or an Amazon S3 object. If you use the AWS CLI to call Amazon Rekognition operations, you can't pass image bytes.

                                                                                                                                                                                                                                                                                                                                                  ///

                                                                                                                                                                                                                                                                                                                                                  If you are using an AWS SDK to call Amazon Rekognition, you might not need to base64-encode image bytes passed using the Bytes field. For more information, see Images in the Amazon Rekognition developer guide.

                                                                                                                                                                                                                                                                                                                                                  pub fn image(mut self, input: crate::types::Image) -> Self { diff --git a/sdk/rekognition/src/operation/distribute_dataset_entries/builders.rs b/sdk/rekognition/src/operation/distribute_dataset_entries/builders.rs index 58c439434a52..e52cdbaa07f2 100644 --- a/sdk/rekognition/src/operation/distribute_dataset_entries/builders.rs +++ b/sdk/rekognition/src/operation/distribute_dataset_entries/builders.rs @@ -22,9 +22,9 @@ impl DistributeDatasetEntriesFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -86,6 +86,22 @@ impl DistributeDatasetEntriesFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::distribute_dataset_entries::DistributeDatasetEntries, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::distribute_dataset_entries::DistributeDatasetEntriesError, + >, + > { + self.customize_middleware().await + } /// Appends an item to `Datasets`. /// /// To override the contents of this collection use [`set_datasets`](Self::set_datasets). diff --git a/sdk/rekognition/src/operation/get_celebrity_info/builders.rs b/sdk/rekognition/src/operation/get_celebrity_info/builders.rs index 9a5143b52c3d..7c00dcc5772e 100644 --- a/sdk/rekognition/src/operation/get_celebrity_info/builders.rs +++ b/sdk/rekognition/src/operation/get_celebrity_info/builders.rs @@ -21,9 +21,9 @@ impl GetCelebrityInfoFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -85,6 +85,22 @@ impl GetCelebrityInfoFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::get_celebrity_info::GetCelebrityInfo, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::get_celebrity_info::GetCelebrityInfoError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                  The ID for the celebrity. You get the celebrity ID from a call to the RecognizeCelebrities operation, which recognizes celebrities in an image.

                                                                                                                                                                                                                                                                                                                                                  pub fn id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.id(input.into()); diff --git a/sdk/rekognition/src/operation/get_celebrity_recognition/builders.rs b/sdk/rekognition/src/operation/get_celebrity_recognition/builders.rs index f382a3511db3..208dae942f42 100644 --- a/sdk/rekognition/src/operation/get_celebrity_recognition/builders.rs +++ b/sdk/rekognition/src/operation/get_celebrity_recognition/builders.rs @@ -30,9 +30,9 @@ impl GetCelebrityRecognitionFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -94,6 +94,22 @@ impl GetCelebrityRecognitionFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::get_celebrity_recognition::GetCelebrityRecognition, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::get_celebrity_recognition::GetCelebrityRecognitionError, + >, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::get_celebrity_recognition::paginator::GetCelebrityRecognitionPaginator::send) which returns a `Stream`. diff --git a/sdk/rekognition/src/operation/get_content_moderation/builders.rs b/sdk/rekognition/src/operation/get_content_moderation/builders.rs index 617205aa13e3..36c6d71a2384 100644 --- a/sdk/rekognition/src/operation/get_content_moderation/builders.rs +++ b/sdk/rekognition/src/operation/get_content_moderation/builders.rs @@ -25,9 +25,9 @@ impl GetContentModerationFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -89,6 +89,22 @@ impl GetContentModerationFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::get_content_moderation::GetContentModeration, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::get_content_moderation::GetContentModerationError, + >, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::get_content_moderation::paginator::GetContentModerationPaginator::send) which returns a `Stream`. diff --git a/sdk/rekognition/src/operation/get_face_detection/builders.rs b/sdk/rekognition/src/operation/get_face_detection/builders.rs index 5a119f1d058d..af8eeb0e68b6 100644 --- a/sdk/rekognition/src/operation/get_face_detection/builders.rs +++ b/sdk/rekognition/src/operation/get_face_detection/builders.rs @@ -22,9 +22,9 @@ impl GetFaceDetectionFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -86,6 +86,22 @@ impl GetFaceDetectionFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::get_face_detection::GetFaceDetection, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::get_face_detection::GetFaceDetectionError, + >, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::get_face_detection::paginator::GetFaceDetectionPaginator::send) which returns a `Stream`. diff --git a/sdk/rekognition/src/operation/get_face_liveness_session_results/builders.rs b/sdk/rekognition/src/operation/get_face_liveness_session_results/builders.rs index 298fb601a204..85ad67bf4b6e 100644 --- a/sdk/rekognition/src/operation/get_face_liveness_session_results/builders.rs +++ b/sdk/rekognition/src/operation/get_face_liveness_session_results/builders.rs @@ -19,9 +19,9 @@ impl GetFaceLivenessSessionResultsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl GetFaceLivenessSessionResultsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::get_face_liveness_session_results::GetFaceLivenessSessionResults, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::get_face_liveness_session_results::GetFaceLivenessSessionResultsError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                  A unique 128-bit UUID. This is used to uniquely identify the session and also acts as an idempotency token for all operations associated with the session.

                                                                                                                                                                                                                                                                                                                                                  pub fn session_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.session_id(input.into()); diff --git a/sdk/rekognition/src/operation/get_face_search/builders.rs b/sdk/rekognition/src/operation/get_face_search/builders.rs index 0ba4938f0adc..42983941661d 100644 --- a/sdk/rekognition/src/operation/get_face_search/builders.rs +++ b/sdk/rekognition/src/operation/get_face_search/builders.rs @@ -25,9 +25,9 @@ impl GetFaceSearchFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,20 @@ impl GetFaceSearchFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::get_face_search::GetFaceSearch, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::get_face_search::paginator::GetFaceSearchPaginator::send) which returns a `Stream`. diff --git a/sdk/rekognition/src/operation/get_label_detection/builders.rs b/sdk/rekognition/src/operation/get_label_detection/builders.rs index 3ba01defe5dc..c7318ba18ecd 100644 --- a/sdk/rekognition/src/operation/get_label_detection/builders.rs +++ b/sdk/rekognition/src/operation/get_label_detection/builders.rs @@ -37,9 +37,9 @@ impl GetLabelDetectionFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -101,6 +101,22 @@ impl GetLabelDetectionFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::get_label_detection::GetLabelDetection, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::get_label_detection::GetLabelDetectionError, + >, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::get_label_detection::paginator::GetLabelDetectionPaginator::send) which returns a `Stream`. diff --git a/sdk/rekognition/src/operation/get_person_tracking/builders.rs b/sdk/rekognition/src/operation/get_person_tracking/builders.rs index d378245b4293..30e120b5b6af 100644 --- a/sdk/rekognition/src/operation/get_person_tracking/builders.rs +++ b/sdk/rekognition/src/operation/get_person_tracking/builders.rs @@ -27,9 +27,9 @@ impl GetPersonTrackingFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -91,6 +91,22 @@ impl GetPersonTrackingFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::get_person_tracking::GetPersonTracking, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::get_person_tracking::GetPersonTrackingError, + >, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::get_person_tracking::paginator::GetPersonTrackingPaginator::send) which returns a `Stream`. diff --git a/sdk/rekognition/src/operation/get_segment_detection/builders.rs b/sdk/rekognition/src/operation/get_segment_detection/builders.rs index 2e27df12cfd2..8daf07104d06 100644 --- a/sdk/rekognition/src/operation/get_segment_detection/builders.rs +++ b/sdk/rekognition/src/operation/get_segment_detection/builders.rs @@ -24,9 +24,9 @@ impl GetSegmentDetectionFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -88,6 +88,22 @@ impl GetSegmentDetectionFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::get_segment_detection::GetSegmentDetection, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::get_segment_detection::GetSegmentDetectionError, + >, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::get_segment_detection::paginator::GetSegmentDetectionPaginator::send) which returns a `Stream`. diff --git a/sdk/rekognition/src/operation/get_text_detection/builders.rs b/sdk/rekognition/src/operation/get_text_detection/builders.rs index e7ecdeb95b45..ea3a75be0568 100644 --- a/sdk/rekognition/src/operation/get_text_detection/builders.rs +++ b/sdk/rekognition/src/operation/get_text_detection/builders.rs @@ -23,9 +23,9 @@ impl GetTextDetectionFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -87,6 +87,22 @@ impl GetTextDetectionFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::get_text_detection::GetTextDetection, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::get_text_detection::GetTextDetectionError, + >, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::get_text_detection::paginator::GetTextDetectionPaginator::send) which returns a `Stream`. diff --git a/sdk/rekognition/src/operation/index_faces/builders.rs b/sdk/rekognition/src/operation/index_faces/builders.rs index 99c00fc1d47e..aed8207a47af 100644 --- a/sdk/rekognition/src/operation/index_faces/builders.rs +++ b/sdk/rekognition/src/operation/index_faces/builders.rs @@ -52,9 +52,9 @@ impl IndexFacesFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -110,6 +110,20 @@ impl IndexFacesFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::index_faces::IndexFaces, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                  The ID of an existing collection to which you want to add the faces that are detected in the input images.

                                                                                                                                                                                                                                                                                                                                                  pub fn collection_id( mut self, diff --git a/sdk/rekognition/src/operation/list_collections/builders.rs b/sdk/rekognition/src/operation/list_collections/builders.rs index 0b2043434a1b..83d105a2eb7f 100644 --- a/sdk/rekognition/src/operation/list_collections/builders.rs +++ b/sdk/rekognition/src/operation/list_collections/builders.rs @@ -21,9 +21,9 @@ impl ListCollectionsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -85,6 +85,22 @@ impl ListCollectionsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_collections::ListCollections, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::list_collections::ListCollectionsError, + >, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::list_collections::paginator::ListCollectionsPaginator::send) which returns a `Stream`. diff --git a/sdk/rekognition/src/operation/list_dataset_entries/builders.rs b/sdk/rekognition/src/operation/list_dataset_entries/builders.rs index 1cc3199cc491..b6f8b8390299 100644 --- a/sdk/rekognition/src/operation/list_dataset_entries/builders.rs +++ b/sdk/rekognition/src/operation/list_dataset_entries/builders.rs @@ -22,9 +22,9 @@ impl ListDatasetEntriesFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -86,6 +86,22 @@ impl ListDatasetEntriesFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_dataset_entries::ListDatasetEntries, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::list_dataset_entries::ListDatasetEntriesError, + >, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::list_dataset_entries::paginator::ListDatasetEntriesPaginator::send) which returns a `Stream`. diff --git a/sdk/rekognition/src/operation/list_dataset_labels/builders.rs b/sdk/rekognition/src/operation/list_dataset_labels/builders.rs index 513431933fdb..4185fb8e5525 100644 --- a/sdk/rekognition/src/operation/list_dataset_labels/builders.rs +++ b/sdk/rekognition/src/operation/list_dataset_labels/builders.rs @@ -20,9 +20,9 @@ impl ListDatasetLabelsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -84,6 +84,22 @@ impl ListDatasetLabelsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_dataset_labels::ListDatasetLabels, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::list_dataset_labels::ListDatasetLabelsError, + >, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::list_dataset_labels::paginator::ListDatasetLabelsPaginator::send) which returns a `Stream`. diff --git a/sdk/rekognition/src/operation/list_faces/builders.rs b/sdk/rekognition/src/operation/list_faces/builders.rs index e9ee4ba74421..a9c5742a85a8 100644 --- a/sdk/rekognition/src/operation/list_faces/builders.rs +++ b/sdk/rekognition/src/operation/list_faces/builders.rs @@ -20,9 +20,9 @@ impl ListFacesFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -78,6 +78,20 @@ impl ListFacesFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_faces::ListFaces, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::list_faces::paginator::ListFacesPaginator::send) which returns a `Stream`. diff --git a/sdk/rekognition/src/operation/list_project_policies/builders.rs b/sdk/rekognition/src/operation/list_project_policies/builders.rs index 0802bc3c4351..2d39fdcdcdcc 100644 --- a/sdk/rekognition/src/operation/list_project_policies/builders.rs +++ b/sdk/rekognition/src/operation/list_project_policies/builders.rs @@ -21,9 +21,9 @@ impl ListProjectPoliciesFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -85,6 +85,22 @@ impl ListProjectPoliciesFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_project_policies::ListProjectPolicies, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::list_project_policies::ListProjectPoliciesError, + >, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::list_project_policies::paginator::ListProjectPoliciesPaginator::send) which returns a `Stream`. diff --git a/sdk/rekognition/src/operation/list_stream_processors/builders.rs b/sdk/rekognition/src/operation/list_stream_processors/builders.rs index f2b66bf54d5a..6b73571efe3e 100644 --- a/sdk/rekognition/src/operation/list_stream_processors/builders.rs +++ b/sdk/rekognition/src/operation/list_stream_processors/builders.rs @@ -19,9 +19,9 @@ impl ListStreamProcessorsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl ListStreamProcessorsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_stream_processors::ListStreamProcessors, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::list_stream_processors::ListStreamProcessorsError, + >, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::list_stream_processors::paginator::ListStreamProcessorsPaginator::send) which returns a `Stream`. diff --git a/sdk/rekognition/src/operation/list_tags_for_resource/builders.rs b/sdk/rekognition/src/operation/list_tags_for_resource/builders.rs index 24518c09f567..3ebd0a7cfd80 100644 --- a/sdk/rekognition/src/operation/list_tags_for_resource/builders.rs +++ b/sdk/rekognition/src/operation/list_tags_for_resource/builders.rs @@ -20,9 +20,9 @@ impl ListTagsForResourceFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -84,6 +84,22 @@ impl ListTagsForResourceFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_tags_for_resource::ListTagsForResource, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::list_tags_for_resource::ListTagsForResourceError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                  Amazon Resource Name (ARN) of the model, collection, or stream processor that contains the tags that you want a list of.

                                                                                                                                                                                                                                                                                                                                                  pub fn resource_arn(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.resource_arn(input.into()); diff --git a/sdk/rekognition/src/operation/put_project_policy/builders.rs b/sdk/rekognition/src/operation/put_project_policy/builders.rs index c106ee4d71c8..ed053c6654ba 100644 --- a/sdk/rekognition/src/operation/put_project_policy/builders.rs +++ b/sdk/rekognition/src/operation/put_project_policy/builders.rs @@ -24,9 +24,9 @@ impl PutProjectPolicyFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -88,6 +88,22 @@ impl PutProjectPolicyFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::put_project_policy::PutProjectPolicy, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::put_project_policy::PutProjectPolicyError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                  The Amazon Resource Name (ARN) of the project that the project policy is attached to.

                                                                                                                                                                                                                                                                                                                                                  pub fn project_arn(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.project_arn(input.into()); diff --git a/sdk/rekognition/src/operation/recognize_celebrities/builders.rs b/sdk/rekognition/src/operation/recognize_celebrities/builders.rs index 3201d7cf6700..29e6dfa3fbed 100644 --- a/sdk/rekognition/src/operation/recognize_celebrities/builders.rs +++ b/sdk/rekognition/src/operation/recognize_celebrities/builders.rs @@ -25,9 +25,9 @@ impl RecognizeCelebritiesFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -89,6 +89,22 @@ impl RecognizeCelebritiesFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::recognize_celebrities::RecognizeCelebrities, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::recognize_celebrities::RecognizeCelebritiesError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                  The input image as base64-encoded bytes or an S3 object. If you use the AWS CLI to call Amazon Rekognition operations, passing base64-encoded image bytes is not supported.

                                                                                                                                                                                                                                                                                                                                                  ///

                                                                                                                                                                                                                                                                                                                                                  If you are using an AWS SDK to call Amazon Rekognition, you might not need to base64-encode image bytes passed using the Bytes field. For more information, see Images in the Amazon Rekognition developer guide.

                                                                                                                                                                                                                                                                                                                                                  pub fn image(mut self, input: crate::types::Image) -> Self { diff --git a/sdk/rekognition/src/operation/search_faces/builders.rs b/sdk/rekognition/src/operation/search_faces/builders.rs index f7420c0e7c0e..6b50f2f67840 100644 --- a/sdk/rekognition/src/operation/search_faces/builders.rs +++ b/sdk/rekognition/src/operation/search_faces/builders.rs @@ -24,9 +24,9 @@ impl SearchFacesFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -82,6 +82,20 @@ impl SearchFacesFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::search_faces::SearchFaces, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                  ID of the collection the face belongs to.

                                                                                                                                                                                                                                                                                                                                                  pub fn collection_id( mut self, diff --git a/sdk/rekognition/src/operation/search_faces_by_image/builders.rs b/sdk/rekognition/src/operation/search_faces_by_image/builders.rs index ed2c85602216..3907ef57a120 100644 --- a/sdk/rekognition/src/operation/search_faces_by_image/builders.rs +++ b/sdk/rekognition/src/operation/search_faces_by_image/builders.rs @@ -30,9 +30,9 @@ impl SearchFacesByImageFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -94,6 +94,22 @@ impl SearchFacesByImageFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::search_faces_by_image::SearchFacesByImage, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::search_faces_by_image::SearchFacesByImageError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                  ID of the collection to search.

                                                                                                                                                                                                                                                                                                                                                  pub fn collection_id( mut self, diff --git a/sdk/rekognition/src/operation/start_celebrity_recognition/builders.rs b/sdk/rekognition/src/operation/start_celebrity_recognition/builders.rs index 1f1d075a66f0..1c6dad5b2a4a 100644 --- a/sdk/rekognition/src/operation/start_celebrity_recognition/builders.rs +++ b/sdk/rekognition/src/operation/start_celebrity_recognition/builders.rs @@ -21,9 +21,9 @@ impl StartCelebrityRecognitionFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -85,6 +85,22 @@ impl StartCelebrityRecognitionFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::start_celebrity_recognition::StartCelebrityRecognition, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::start_celebrity_recognition::StartCelebrityRecognitionError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                  The video in which you want to recognize celebrities. The video must be stored in an Amazon S3 bucket.

                                                                                                                                                                                                                                                                                                                                                  pub fn video(mut self, input: crate::types::Video) -> Self { self.inner = self.inner.video(input); diff --git a/sdk/rekognition/src/operation/start_content_moderation/builders.rs b/sdk/rekognition/src/operation/start_content_moderation/builders.rs index 0c99a761d72f..adfd7844dc79 100644 --- a/sdk/rekognition/src/operation/start_content_moderation/builders.rs +++ b/sdk/rekognition/src/operation/start_content_moderation/builders.rs @@ -22,9 +22,9 @@ impl StartContentModerationFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -86,6 +86,22 @@ impl StartContentModerationFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::start_content_moderation::StartContentModeration, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::start_content_moderation::StartContentModerationError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                  The video in which you want to detect inappropriate, unwanted, or offensive content. The video must be stored in an Amazon S3 bucket.

                                                                                                                                                                                                                                                                                                                                                  pub fn video(mut self, input: crate::types::Video) -> Self { self.inner = self.inner.video(input); diff --git a/sdk/rekognition/src/operation/start_face_detection/builders.rs b/sdk/rekognition/src/operation/start_face_detection/builders.rs index 038e33fedaff..a150a0e0c2b1 100644 --- a/sdk/rekognition/src/operation/start_face_detection/builders.rs +++ b/sdk/rekognition/src/operation/start_face_detection/builders.rs @@ -21,9 +21,9 @@ impl StartFaceDetectionFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -85,6 +85,22 @@ impl StartFaceDetectionFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::start_face_detection::StartFaceDetection, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::start_face_detection::StartFaceDetectionError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                  The video in which you want to detect faces. The video must be stored in an Amazon S3 bucket.

                                                                                                                                                                                                                                                                                                                                                  pub fn video(mut self, input: crate::types::Video) -> Self { self.inner = self.inner.video(input); diff --git a/sdk/rekognition/src/operation/start_face_search/builders.rs b/sdk/rekognition/src/operation/start_face_search/builders.rs index b42129cfee18..7c958f8b8e03 100644 --- a/sdk/rekognition/src/operation/start_face_search/builders.rs +++ b/sdk/rekognition/src/operation/start_face_search/builders.rs @@ -20,9 +20,9 @@ impl StartFaceSearchFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -84,6 +84,22 @@ impl StartFaceSearchFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::start_face_search::StartFaceSearch, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::start_face_search::StartFaceSearchError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                  The video you want to search. The video must be stored in an Amazon S3 bucket.

                                                                                                                                                                                                                                                                                                                                                  pub fn video(mut self, input: crate::types::Video) -> Self { self.inner = self.inner.video(input); diff --git a/sdk/rekognition/src/operation/start_label_detection/builders.rs b/sdk/rekognition/src/operation/start_label_detection/builders.rs index 71be6122ede8..3988c6a8d475 100644 --- a/sdk/rekognition/src/operation/start_label_detection/builders.rs +++ b/sdk/rekognition/src/operation/start_label_detection/builders.rs @@ -25,9 +25,9 @@ impl StartLabelDetectionFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -89,6 +89,22 @@ impl StartLabelDetectionFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::start_label_detection::StartLabelDetection, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::start_label_detection::StartLabelDetectionError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                  The video in which you want to detect labels. The video must be stored in an Amazon S3 bucket.

                                                                                                                                                                                                                                                                                                                                                  pub fn video(mut self, input: crate::types::Video) -> Self { self.inner = self.inner.video(input); diff --git a/sdk/rekognition/src/operation/start_person_tracking/builders.rs b/sdk/rekognition/src/operation/start_person_tracking/builders.rs index bd22e6af1639..1a34c1e56808 100644 --- a/sdk/rekognition/src/operation/start_person_tracking/builders.rs +++ b/sdk/rekognition/src/operation/start_person_tracking/builders.rs @@ -21,9 +21,9 @@ impl StartPersonTrackingFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -85,6 +85,22 @@ impl StartPersonTrackingFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::start_person_tracking::StartPersonTracking, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::start_person_tracking::StartPersonTrackingError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                  The video in which you want to detect people. The video must be stored in an Amazon S3 bucket.

                                                                                                                                                                                                                                                                                                                                                  pub fn video(mut self, input: crate::types::Video) -> Self { self.inner = self.inner.video(input); diff --git a/sdk/rekognition/src/operation/start_project_version/builders.rs b/sdk/rekognition/src/operation/start_project_version/builders.rs index 306c08116c60..827b69dc984c 100644 --- a/sdk/rekognition/src/operation/start_project_version/builders.rs +++ b/sdk/rekognition/src/operation/start_project_version/builders.rs @@ -24,9 +24,9 @@ impl StartProjectVersionFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -88,6 +88,22 @@ impl StartProjectVersionFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::start_project_version::StartProjectVersion, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::start_project_version::StartProjectVersionError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                  The Amazon Resource Name(ARN) of the model version that you want to start.

                                                                                                                                                                                                                                                                                                                                                  pub fn project_version_arn( mut self, diff --git a/sdk/rekognition/src/operation/start_segment_detection/builders.rs b/sdk/rekognition/src/operation/start_segment_detection/builders.rs index 4ff02aabd8ef..2be96f31b102 100644 --- a/sdk/rekognition/src/operation/start_segment_detection/builders.rs +++ b/sdk/rekognition/src/operation/start_segment_detection/builders.rs @@ -23,9 +23,9 @@ impl StartSegmentDetectionFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -87,6 +87,22 @@ impl StartSegmentDetectionFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::start_segment_detection::StartSegmentDetection, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::start_segment_detection::StartSegmentDetectionError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                  Video file stored in an Amazon S3 bucket. Amazon Rekognition video start operations such as StartLabelDetection use Video to specify a video for analysis. The supported file formats are .mp4, .mov and .avi.

                                                                                                                                                                                                                                                                                                                                                  pub fn video(mut self, input: crate::types::Video) -> Self { self.inner = self.inner.video(input); diff --git a/sdk/rekognition/src/operation/start_stream_processor/builders.rs b/sdk/rekognition/src/operation/start_stream_processor/builders.rs index e3f407124d6f..6eed0842e476 100644 --- a/sdk/rekognition/src/operation/start_stream_processor/builders.rs +++ b/sdk/rekognition/src/operation/start_stream_processor/builders.rs @@ -20,9 +20,9 @@ impl StartStreamProcessorFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -84,6 +84,22 @@ impl StartStreamProcessorFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::start_stream_processor::StartStreamProcessor, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::start_stream_processor::StartStreamProcessorError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                  The name of the stream processor to start processing.

                                                                                                                                                                                                                                                                                                                                                  pub fn name(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.name(input.into()); diff --git a/sdk/rekognition/src/operation/start_text_detection/builders.rs b/sdk/rekognition/src/operation/start_text_detection/builders.rs index 10782f4ceda1..1f68dff59fc0 100644 --- a/sdk/rekognition/src/operation/start_text_detection/builders.rs +++ b/sdk/rekognition/src/operation/start_text_detection/builders.rs @@ -21,9 +21,9 @@ impl StartTextDetectionFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -85,6 +85,22 @@ impl StartTextDetectionFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::start_text_detection::StartTextDetection, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::start_text_detection::StartTextDetectionError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                  Video file stored in an Amazon S3 bucket. Amazon Rekognition video start operations such as StartLabelDetection use Video to specify a video for analysis. The supported file formats are .mp4, .mov and .avi.

                                                                                                                                                                                                                                                                                                                                                  pub fn video(mut self, input: crate::types::Video) -> Self { self.inner = self.inner.video(input); diff --git a/sdk/rekognition/src/operation/stop_project_version/builders.rs b/sdk/rekognition/src/operation/stop_project_version/builders.rs index 1828ce29b09b..de2b807c0a60 100644 --- a/sdk/rekognition/src/operation/stop_project_version/builders.rs +++ b/sdk/rekognition/src/operation/stop_project_version/builders.rs @@ -20,9 +20,9 @@ impl StopProjectVersionFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -84,6 +84,22 @@ impl StopProjectVersionFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::stop_project_version::StopProjectVersion, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::stop_project_version::StopProjectVersionError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                  The Amazon Resource Name (ARN) of the model version that you want to delete.

                                                                                                                                                                                                                                                                                                                                                  ///

                                                                                                                                                                                                                                                                                                                                                  This operation requires permissions to perform the rekognition:StopProjectVersion action.

                                                                                                                                                                                                                                                                                                                                                  pub fn project_version_arn( diff --git a/sdk/rekognition/src/operation/stop_stream_processor/builders.rs b/sdk/rekognition/src/operation/stop_stream_processor/builders.rs index 4dd917304bfe..a9a6a9bc9366 100644 --- a/sdk/rekognition/src/operation/stop_stream_processor/builders.rs +++ b/sdk/rekognition/src/operation/stop_stream_processor/builders.rs @@ -19,9 +19,9 @@ impl StopStreamProcessorFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl StopStreamProcessorFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::stop_stream_processor::StopStreamProcessor, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::stop_stream_processor::StopStreamProcessorError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                  The name of a stream processor created by CreateStreamProcessor.

                                                                                                                                                                                                                                                                                                                                                  pub fn name(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.name(input.into()); diff --git a/sdk/rekognition/src/operation/tag_resource/builders.rs b/sdk/rekognition/src/operation/tag_resource/builders.rs index 22ef4594e828..aea5c024ff9e 100644 --- a/sdk/rekognition/src/operation/tag_resource/builders.rs +++ b/sdk/rekognition/src/operation/tag_resource/builders.rs @@ -20,9 +20,9 @@ impl TagResourceFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -78,6 +78,20 @@ impl TagResourceFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::tag_resource::TagResource, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                  Amazon Resource Name (ARN) of the model, collection, or stream processor that you want to assign the tags to.

                                                                                                                                                                                                                                                                                                                                                  pub fn resource_arn(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.resource_arn(input.into()); diff --git a/sdk/rekognition/src/operation/untag_resource/builders.rs b/sdk/rekognition/src/operation/untag_resource/builders.rs index 9c0431dee4ef..38b85ec11ac0 100644 --- a/sdk/rekognition/src/operation/untag_resource/builders.rs +++ b/sdk/rekognition/src/operation/untag_resource/builders.rs @@ -20,9 +20,9 @@ impl UntagResourceFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -78,6 +78,20 @@ impl UntagResourceFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::untag_resource::UntagResource, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                  Amazon Resource Name (ARN) of the model, collection, or stream processor that you want to remove the tags from.

                                                                                                                                                                                                                                                                                                                                                  pub fn resource_arn(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.resource_arn(input.into()); diff --git a/sdk/rekognition/src/operation/update_dataset_entries/builders.rs b/sdk/rekognition/src/operation/update_dataset_entries/builders.rs index 317b09d75ae3..d563bc4069f6 100644 --- a/sdk/rekognition/src/operation/update_dataset_entries/builders.rs +++ b/sdk/rekognition/src/operation/update_dataset_entries/builders.rs @@ -25,9 +25,9 @@ impl UpdateDatasetEntriesFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -89,6 +89,22 @@ impl UpdateDatasetEntriesFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::update_dataset_entries::UpdateDatasetEntries, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::update_dataset_entries::UpdateDatasetEntriesError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                  The Amazon Resource Name (ARN) of the dataset that you want to update.

                                                                                                                                                                                                                                                                                                                                                  pub fn dataset_arn(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.dataset_arn(input.into()); diff --git a/sdk/rekognition/src/operation/update_stream_processor/builders.rs b/sdk/rekognition/src/operation/update_stream_processor/builders.rs index 2bb5d81fea1a..41c2383fe2ac 100644 --- a/sdk/rekognition/src/operation/update_stream_processor/builders.rs +++ b/sdk/rekognition/src/operation/update_stream_processor/builders.rs @@ -19,9 +19,9 @@ impl UpdateStreamProcessorFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl UpdateStreamProcessorFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::update_stream_processor::UpdateStreamProcessor, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::update_stream_processor::UpdateStreamProcessorError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                  Name of the stream processor that you want to update.

                                                                                                                                                                                                                                                                                                                                                  pub fn name(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.name(input.into()); diff --git a/sdk/resiliencehub/src/operation/add_draft_app_version_resource_mappings/builders.rs b/sdk/resiliencehub/src/operation/add_draft_app_version_resource_mappings/builders.rs index 75aabc72a3d6..dc9a6f60524a 100644 --- a/sdk/resiliencehub/src/operation/add_draft_app_version_resource_mappings/builders.rs +++ b/sdk/resiliencehub/src/operation/add_draft_app_version_resource_mappings/builders.rs @@ -19,9 +19,9 @@ impl AddDraftAppVersionResourceMappingsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize(self) -> ::std::result::Result< + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware(self) -> ::std::result::Result< crate::client::customize::CustomizableOperation, ::aws_smithy_http::result::SdkError >{ @@ -64,6 +64,15 @@ impl AddDraftAppVersionResourceMappingsFluentBuilder { { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize(self) -> ::std::result::Result< + crate::client::customize::CustomizableOperation, + ::aws_smithy_http::result::SdkError + >{ + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                  The Amazon Resource Name (ARN) of the Resilience Hub application. The format for this ARN is: arn:partition:resiliencehub:region:account:app/app-id. For more information about ARNs, see Amazon Resource Names (ARNs) in the AWS General Reference guide.

                                                                                                                                                                                                                                                                                                                                                  pub fn app_arn(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.app_arn(input.into()); diff --git a/sdk/resiliencehub/src/operation/create_app/builders.rs b/sdk/resiliencehub/src/operation/create_app/builders.rs index f7b630f428c9..de66952b4d2d 100644 --- a/sdk/resiliencehub/src/operation/create_app/builders.rs +++ b/sdk/resiliencehub/src/operation/create_app/builders.rs @@ -20,9 +20,9 @@ impl CreateAppFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -78,6 +78,20 @@ impl CreateAppFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::create_app::CreateApp, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                  The name for the application.

                                                                                                                                                                                                                                                                                                                                                  pub fn name(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.name(input.into()); diff --git a/sdk/resiliencehub/src/operation/create_app_version_app_component/builders.rs b/sdk/resiliencehub/src/operation/create_app_version_app_component/builders.rs index 5d4a01ea8fe9..843f1585f96b 100644 --- a/sdk/resiliencehub/src/operation/create_app_version_app_component/builders.rs +++ b/sdk/resiliencehub/src/operation/create_app_version_app_component/builders.rs @@ -21,9 +21,9 @@ impl CreateAppVersionAppComponentFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -85,6 +85,22 @@ impl CreateAppVersionAppComponentFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::create_app_version_app_component::CreateAppVersionAppComponent, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::create_app_version_app_component::CreateAppVersionAppComponentError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                  The Amazon Resource Name (ARN) of the Resilience Hub application. The format for this ARN is: arn:partition:resiliencehub:region:account:app/app-id. For more information about ARNs, see Amazon Resource Names (ARNs) in the AWS General Reference guide.

                                                                                                                                                                                                                                                                                                                                                  pub fn app_arn(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.app_arn(input.into()); diff --git a/sdk/resiliencehub/src/operation/create_app_version_resource/builders.rs b/sdk/resiliencehub/src/operation/create_app_version_resource/builders.rs index bf11580a3389..63e2e68e5f02 100644 --- a/sdk/resiliencehub/src/operation/create_app_version_resource/builders.rs +++ b/sdk/resiliencehub/src/operation/create_app_version_resource/builders.rs @@ -25,9 +25,9 @@ impl CreateAppVersionResourceFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -89,6 +89,22 @@ impl CreateAppVersionResourceFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::create_app_version_resource::CreateAppVersionResource, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::create_app_version_resource::CreateAppVersionResourceError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                  The Amazon Resource Name (ARN) of the Resilience Hub application. The format for this ARN is: arn:partition:resiliencehub:region:account:app/app-id. For more information about ARNs, see Amazon Resource Names (ARNs) in the AWS General Reference guide.

                                                                                                                                                                                                                                                                                                                                                  pub fn app_arn(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.app_arn(input.into()); diff --git a/sdk/resiliencehub/src/operation/create_recommendation_template/builders.rs b/sdk/resiliencehub/src/operation/create_recommendation_template/builders.rs index 38465f5de6e2..eb3acc8a45ce 100644 --- a/sdk/resiliencehub/src/operation/create_recommendation_template/builders.rs +++ b/sdk/resiliencehub/src/operation/create_recommendation_template/builders.rs @@ -19,9 +19,9 @@ impl CreateRecommendationTemplateFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl CreateRecommendationTemplateFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::create_recommendation_template::CreateRecommendationTemplate, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::create_recommendation_template::CreateRecommendationTemplateError, + >, + > { + self.customize_middleware().await + } /// Appends an item to `recommendationIds`. /// /// To override the contents of this collection use [`set_recommendation_ids`](Self::set_recommendation_ids). diff --git a/sdk/resiliencehub/src/operation/create_resiliency_policy/builders.rs b/sdk/resiliencehub/src/operation/create_resiliency_policy/builders.rs index ab8916e78a9f..8eb4e8c32e45 100644 --- a/sdk/resiliencehub/src/operation/create_resiliency_policy/builders.rs +++ b/sdk/resiliencehub/src/operation/create_resiliency_policy/builders.rs @@ -19,9 +19,9 @@ impl CreateResiliencyPolicyFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl CreateResiliencyPolicyFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::create_resiliency_policy::CreateResiliencyPolicy, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::create_resiliency_policy::CreateResiliencyPolicyError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                  The name of the policy

                                                                                                                                                                                                                                                                                                                                                  pub fn policy_name(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.policy_name(input.into()); diff --git a/sdk/resiliencehub/src/operation/delete_app/builders.rs b/sdk/resiliencehub/src/operation/delete_app/builders.rs index 63ea17141fa8..e21ba03d789d 100644 --- a/sdk/resiliencehub/src/operation/delete_app/builders.rs +++ b/sdk/resiliencehub/src/operation/delete_app/builders.rs @@ -19,9 +19,9 @@ impl DeleteAppFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl DeleteAppFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::delete_app::DeleteApp, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                  The Amazon Resource Name (ARN) of the Resilience Hub application. The format for this ARN is: arn:partition:resiliencehub:region:account:app/app-id. For more information about ARNs, see Amazon Resource Names (ARNs) in the AWS General Reference guide.

                                                                                                                                                                                                                                                                                                                                                  pub fn app_arn(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.app_arn(input.into()); diff --git a/sdk/resiliencehub/src/operation/delete_app_assessment/builders.rs b/sdk/resiliencehub/src/operation/delete_app_assessment/builders.rs index e966888ff3a9..5a07fd85a66d 100644 --- a/sdk/resiliencehub/src/operation/delete_app_assessment/builders.rs +++ b/sdk/resiliencehub/src/operation/delete_app_assessment/builders.rs @@ -19,9 +19,9 @@ impl DeleteAppAssessmentFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl DeleteAppAssessmentFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::delete_app_assessment::DeleteAppAssessment, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::delete_app_assessment::DeleteAppAssessmentError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                  The Amazon Resource Name (ARN) of the assessment. The format for this ARN is: arn:partition:resiliencehub:region:account:app-assessment/app-id. For more information about ARNs, see Amazon Resource Names (ARNs) in the AWS General Reference guide.

                                                                                                                                                                                                                                                                                                                                                  pub fn assessment_arn( mut self, diff --git a/sdk/resiliencehub/src/operation/delete_app_input_source/builders.rs b/sdk/resiliencehub/src/operation/delete_app_input_source/builders.rs index eaeb119eade5..ecd01b390dd0 100644 --- a/sdk/resiliencehub/src/operation/delete_app_input_source/builders.rs +++ b/sdk/resiliencehub/src/operation/delete_app_input_source/builders.rs @@ -19,9 +19,9 @@ impl DeleteAppInputSourceFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl DeleteAppInputSourceFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::delete_app_input_source::DeleteAppInputSource, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::delete_app_input_source::DeleteAppInputSourceError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                  The Amazon Resource Name (ARN) of the Resilience Hub application. The format for this ARN is: arn:partition:resiliencehub:region:account:app/app-id. For more information about ARNs, see Amazon Resource Names (ARNs) in the AWS General Reference guide.

                                                                                                                                                                                                                                                                                                                                                  pub fn app_arn(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.app_arn(input.into()); diff --git a/sdk/resiliencehub/src/operation/delete_app_version_app_component/builders.rs b/sdk/resiliencehub/src/operation/delete_app_version_app_component/builders.rs index 0a6f5c503eae..b88a9611e08a 100644 --- a/sdk/resiliencehub/src/operation/delete_app_version_app_component/builders.rs +++ b/sdk/resiliencehub/src/operation/delete_app_version_app_component/builders.rs @@ -24,9 +24,9 @@ impl DeleteAppVersionAppComponentFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -88,6 +88,22 @@ impl DeleteAppVersionAppComponentFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::delete_app_version_app_component::DeleteAppVersionAppComponent, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::delete_app_version_app_component::DeleteAppVersionAppComponentError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                  The Amazon Resource Name (ARN) of the Resilience Hub application. The format for this ARN is: arn:partition:resiliencehub:region:account:app/app-id. For more information about ARNs, see Amazon Resource Names (ARNs) in the AWS General Reference guide.

                                                                                                                                                                                                                                                                                                                                                  pub fn app_arn(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.app_arn(input.into()); diff --git a/sdk/resiliencehub/src/operation/delete_app_version_resource/builders.rs b/sdk/resiliencehub/src/operation/delete_app_version_resource/builders.rs index 19c04f045c72..36f301b7a1bf 100644 --- a/sdk/resiliencehub/src/operation/delete_app_version_resource/builders.rs +++ b/sdk/resiliencehub/src/operation/delete_app_version_resource/builders.rs @@ -25,9 +25,9 @@ impl DeleteAppVersionResourceFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -89,6 +89,22 @@ impl DeleteAppVersionResourceFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::delete_app_version_resource::DeleteAppVersionResource, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::delete_app_version_resource::DeleteAppVersionResourceError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                  The Amazon Resource Name (ARN) of the Resilience Hub application. The format for this ARN is: arn:partition:resiliencehub:region:account:app/app-id. For more information about ARNs, see Amazon Resource Names (ARNs) in the AWS General Reference guide.

                                                                                                                                                                                                                                                                                                                                                  pub fn app_arn(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.app_arn(input.into()); diff --git a/sdk/resiliencehub/src/operation/delete_recommendation_template/builders.rs b/sdk/resiliencehub/src/operation/delete_recommendation_template/builders.rs index 8651b908ce2e..477ee7cae02d 100644 --- a/sdk/resiliencehub/src/operation/delete_recommendation_template/builders.rs +++ b/sdk/resiliencehub/src/operation/delete_recommendation_template/builders.rs @@ -19,9 +19,9 @@ impl DeleteRecommendationTemplateFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl DeleteRecommendationTemplateFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::delete_recommendation_template::DeleteRecommendationTemplate, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::delete_recommendation_template::DeleteRecommendationTemplateError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                  The Amazon Resource Name (ARN) for a recommendation template.

                                                                                                                                                                                                                                                                                                                                                  pub fn recommendation_template_arn( mut self, diff --git a/sdk/resiliencehub/src/operation/delete_resiliency_policy/builders.rs b/sdk/resiliencehub/src/operation/delete_resiliency_policy/builders.rs index 2923723f9d15..23af454e7e6b 100644 --- a/sdk/resiliencehub/src/operation/delete_resiliency_policy/builders.rs +++ b/sdk/resiliencehub/src/operation/delete_resiliency_policy/builders.rs @@ -19,9 +19,9 @@ impl DeleteResiliencyPolicyFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl DeleteResiliencyPolicyFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::delete_resiliency_policy::DeleteResiliencyPolicy, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::delete_resiliency_policy::DeleteResiliencyPolicyError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                  The Amazon Resource Name (ARN) of the resiliency policy. The format for this ARN is: arn:partition:resiliencehub:region:account:resiliency-policy/policy-id. For more information about ARNs, see Amazon Resource Names (ARNs) in the AWS General Reference guide.

                                                                                                                                                                                                                                                                                                                                                  pub fn policy_arn(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.policy_arn(input.into()); diff --git a/sdk/resiliencehub/src/operation/describe_app/builders.rs b/sdk/resiliencehub/src/operation/describe_app/builders.rs index 8fe314d842a3..8aba27705051 100644 --- a/sdk/resiliencehub/src/operation/describe_app/builders.rs +++ b/sdk/resiliencehub/src/operation/describe_app/builders.rs @@ -19,9 +19,9 @@ impl DescribeAppFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl DescribeAppFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::describe_app::DescribeApp, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                  The Amazon Resource Name (ARN) of the Resilience Hub application. The format for this ARN is: arn:partition:resiliencehub:region:account:app/app-id. For more information about ARNs, see Amazon Resource Names (ARNs) in the AWS General Reference guide.

                                                                                                                                                                                                                                                                                                                                                  pub fn app_arn(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.app_arn(input.into()); diff --git a/sdk/resiliencehub/src/operation/describe_app_assessment/builders.rs b/sdk/resiliencehub/src/operation/describe_app_assessment/builders.rs index f6c3ec8b27fd..f66055c9eb25 100644 --- a/sdk/resiliencehub/src/operation/describe_app_assessment/builders.rs +++ b/sdk/resiliencehub/src/operation/describe_app_assessment/builders.rs @@ -19,9 +19,9 @@ impl DescribeAppAssessmentFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl DescribeAppAssessmentFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::describe_app_assessment::DescribeAppAssessment, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::describe_app_assessment::DescribeAppAssessmentError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                  The Amazon Resource Name (ARN) of the assessment. The format for this ARN is: arn:partition:resiliencehub:region:account:app-assessment/app-id. For more information about ARNs, see Amazon Resource Names (ARNs) in the AWS General Reference guide.

                                                                                                                                                                                                                                                                                                                                                  pub fn assessment_arn( mut self, diff --git a/sdk/resiliencehub/src/operation/describe_app_version/builders.rs b/sdk/resiliencehub/src/operation/describe_app_version/builders.rs index c023dad02a28..feed6a2bdbad 100644 --- a/sdk/resiliencehub/src/operation/describe_app_version/builders.rs +++ b/sdk/resiliencehub/src/operation/describe_app_version/builders.rs @@ -19,9 +19,9 @@ impl DescribeAppVersionFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl DescribeAppVersionFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::describe_app_version::DescribeAppVersion, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::describe_app_version::DescribeAppVersionError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                  The Amazon Resource Name (ARN) of the Resilience Hub application. The format for this ARN is: arn:partition:resiliencehub:region:account:app/app-id. For more information about ARNs, see Amazon Resource Names (ARNs) in the AWS General Reference guide.

                                                                                                                                                                                                                                                                                                                                                  pub fn app_arn(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.app_arn(input.into()); diff --git a/sdk/resiliencehub/src/operation/describe_app_version_app_component/builders.rs b/sdk/resiliencehub/src/operation/describe_app_version_app_component/builders.rs index 7b4dd7b3631b..45993a79e98a 100644 --- a/sdk/resiliencehub/src/operation/describe_app_version_app_component/builders.rs +++ b/sdk/resiliencehub/src/operation/describe_app_version_app_component/builders.rs @@ -19,9 +19,9 @@ impl DescribeAppVersionAppComponentFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize(self) -> ::std::result::Result< + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware(self) -> ::std::result::Result< crate::client::customize::CustomizableOperation, ::aws_smithy_http::result::SdkError >{ @@ -64,6 +64,15 @@ impl DescribeAppVersionAppComponentFluentBuilder { { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize(self) -> ::std::result::Result< + crate::client::customize::CustomizableOperation, + ::aws_smithy_http::result::SdkError + >{ + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                  The Amazon Resource Name (ARN) of the Resilience Hub application. The format for this ARN is: arn:partition:resiliencehub:region:account:app/app-id. For more information about ARNs, see Amazon Resource Names (ARNs) in the AWS General Reference guide.

                                                                                                                                                                                                                                                                                                                                                  pub fn app_arn(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.app_arn(input.into()); diff --git a/sdk/resiliencehub/src/operation/describe_app_version_resource/builders.rs b/sdk/resiliencehub/src/operation/describe_app_version_resource/builders.rs index bd2389733107..e83b64567e48 100644 --- a/sdk/resiliencehub/src/operation/describe_app_version_resource/builders.rs +++ b/sdk/resiliencehub/src/operation/describe_app_version_resource/builders.rs @@ -26,9 +26,9 @@ impl DescribeAppVersionResourceFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -90,6 +90,22 @@ impl DescribeAppVersionResourceFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::describe_app_version_resource::DescribeAppVersionResource, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::describe_app_version_resource::DescribeAppVersionResourceError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                  The Amazon Resource Name (ARN) of the Resilience Hub application. The format for this ARN is: arn:partition:resiliencehub:region:account:app/app-id. For more information about ARNs, see Amazon Resource Names (ARNs) in the AWS General Reference guide.

                                                                                                                                                                                                                                                                                                                                                  pub fn app_arn(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.app_arn(input.into()); diff --git a/sdk/resiliencehub/src/operation/describe_app_version_resources_resolution_status/builders.rs b/sdk/resiliencehub/src/operation/describe_app_version_resources_resolution_status/builders.rs index 49f185de4f32..9a4fcdaf9bf3 100644 --- a/sdk/resiliencehub/src/operation/describe_app_version_resources_resolution_status/builders.rs +++ b/sdk/resiliencehub/src/operation/describe_app_version_resources_resolution_status/builders.rs @@ -19,9 +19,9 @@ impl DescribeAppVersionResourcesResolutionStatusFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize(self) -> ::std::result::Result< + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware(self) -> ::std::result::Result< crate::client::customize::CustomizableOperation, ::aws_smithy_http::result::SdkError >{ @@ -64,6 +64,15 @@ impl DescribeAppVersionResourcesResolutionStatusFluentBuilder { { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize(self) -> ::std::result::Result< + crate::client::customize::CustomizableOperation, + ::aws_smithy_http::result::SdkError + >{ + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                  The Amazon Resource Name (ARN) of the Resilience Hub application. The format for this ARN is: arn:partition:resiliencehub:region:account:app/app-id. For more information about ARNs, see Amazon Resource Names (ARNs) in the AWS General Reference guide.

                                                                                                                                                                                                                                                                                                                                                  pub fn app_arn(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.app_arn(input.into()); diff --git a/sdk/resiliencehub/src/operation/describe_app_version_template/builders.rs b/sdk/resiliencehub/src/operation/describe_app_version_template/builders.rs index 98f813ef33d8..fe4133126e26 100644 --- a/sdk/resiliencehub/src/operation/describe_app_version_template/builders.rs +++ b/sdk/resiliencehub/src/operation/describe_app_version_template/builders.rs @@ -19,9 +19,9 @@ impl DescribeAppVersionTemplateFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl DescribeAppVersionTemplateFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::describe_app_version_template::DescribeAppVersionTemplate, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::describe_app_version_template::DescribeAppVersionTemplateError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                  The Amazon Resource Name (ARN) of the Resilience Hub application. The format for this ARN is: arn:partition:resiliencehub:region:account:app/app-id. For more information about ARNs, see Amazon Resource Names (ARNs) in the AWS General Reference guide.

                                                                                                                                                                                                                                                                                                                                                  pub fn app_arn(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.app_arn(input.into()); diff --git a/sdk/resiliencehub/src/operation/describe_draft_app_version_resources_import_status/builders.rs b/sdk/resiliencehub/src/operation/describe_draft_app_version_resources_import_status/builders.rs index 04f3347f0135..0af3e46eac6e 100644 --- a/sdk/resiliencehub/src/operation/describe_draft_app_version_resources_import_status/builders.rs +++ b/sdk/resiliencehub/src/operation/describe_draft_app_version_resources_import_status/builders.rs @@ -21,9 +21,9 @@ impl DescribeDraftAppVersionResourcesImportStatusFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize(self) -> ::std::result::Result< + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware(self) -> ::std::result::Result< crate::client::customize::CustomizableOperation, ::aws_smithy_http::result::SdkError >{ @@ -66,6 +66,15 @@ impl DescribeDraftAppVersionResourcesImportStatusFluentBuilder { { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize(self) -> ::std::result::Result< + crate::client::customize::CustomizableOperation, + ::aws_smithy_http::result::SdkError + >{ + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                  The Amazon Resource Name (ARN) of the Resilience Hub application. The format for this ARN is: arn:partition:resiliencehub:region:account:app/app-id. For more information about ARNs, see Amazon Resource Names (ARNs) in the AWS General Reference guide.

                                                                                                                                                                                                                                                                                                                                                  pub fn app_arn(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.app_arn(input.into()); diff --git a/sdk/resiliencehub/src/operation/describe_resiliency_policy/builders.rs b/sdk/resiliencehub/src/operation/describe_resiliency_policy/builders.rs index 6df6e935a718..00c08f20895d 100644 --- a/sdk/resiliencehub/src/operation/describe_resiliency_policy/builders.rs +++ b/sdk/resiliencehub/src/operation/describe_resiliency_policy/builders.rs @@ -19,9 +19,9 @@ impl DescribeResiliencyPolicyFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl DescribeResiliencyPolicyFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::describe_resiliency_policy::DescribeResiliencyPolicy, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::describe_resiliency_policy::DescribeResiliencyPolicyError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                  The Amazon Resource Name (ARN) of the resiliency policy. The format for this ARN is: arn:partition:resiliencehub:region:account:resiliency-policy/policy-id. For more information about ARNs, see Amazon Resource Names (ARNs) in the AWS General Reference guide.

                                                                                                                                                                                                                                                                                                                                                  pub fn policy_arn(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.policy_arn(input.into()); diff --git a/sdk/resiliencehub/src/operation/import_resources_to_draft_app_version/builders.rs b/sdk/resiliencehub/src/operation/import_resources_to_draft_app_version/builders.rs index 0980a923083c..b86f2f71b237 100644 --- a/sdk/resiliencehub/src/operation/import_resources_to_draft_app_version/builders.rs +++ b/sdk/resiliencehub/src/operation/import_resources_to_draft_app_version/builders.rs @@ -19,9 +19,9 @@ impl ImportResourcesToDraftAppVersionFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize(self) -> ::std::result::Result< + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware(self) -> ::std::result::Result< crate::client::customize::CustomizableOperation, ::aws_smithy_http::result::SdkError >{ @@ -64,6 +64,15 @@ impl ImportResourcesToDraftAppVersionFluentBuilder { { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize(self) -> ::std::result::Result< + crate::client::customize::CustomizableOperation, + ::aws_smithy_http::result::SdkError + >{ + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                  The Amazon Resource Name (ARN) of the Resilience Hub application. The format for this ARN is: arn:partition:resiliencehub:region:account:app/app-id. For more information about ARNs, see Amazon Resource Names (ARNs) in the AWS General Reference guide.

                                                                                                                                                                                                                                                                                                                                                  pub fn app_arn(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.app_arn(input.into()); diff --git a/sdk/resiliencehub/src/operation/list_alarm_recommendations/builders.rs b/sdk/resiliencehub/src/operation/list_alarm_recommendations/builders.rs index 5fe7d691f66e..974868bd06e0 100644 --- a/sdk/resiliencehub/src/operation/list_alarm_recommendations/builders.rs +++ b/sdk/resiliencehub/src/operation/list_alarm_recommendations/builders.rs @@ -19,9 +19,9 @@ impl ListAlarmRecommendationsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl ListAlarmRecommendationsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_alarm_recommendations::ListAlarmRecommendations, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::list_alarm_recommendations::ListAlarmRecommendationsError, + >, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::list_alarm_recommendations::paginator::ListAlarmRecommendationsPaginator::send) which returns a `Stream`. diff --git a/sdk/resiliencehub/src/operation/list_app_assessments/builders.rs b/sdk/resiliencehub/src/operation/list_app_assessments/builders.rs index d303d110e422..277e00b40edc 100644 --- a/sdk/resiliencehub/src/operation/list_app_assessments/builders.rs +++ b/sdk/resiliencehub/src/operation/list_app_assessments/builders.rs @@ -19,9 +19,9 @@ impl ListAppAssessmentsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl ListAppAssessmentsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_app_assessments::ListAppAssessments, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::list_app_assessments::ListAppAssessmentsError, + >, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::list_app_assessments::paginator::ListAppAssessmentsPaginator::send) which returns a `Stream`. diff --git a/sdk/resiliencehub/src/operation/list_app_component_compliances/builders.rs b/sdk/resiliencehub/src/operation/list_app_component_compliances/builders.rs index e6dba1ace4b4..fe32c510b299 100644 --- a/sdk/resiliencehub/src/operation/list_app_component_compliances/builders.rs +++ b/sdk/resiliencehub/src/operation/list_app_component_compliances/builders.rs @@ -19,9 +19,9 @@ impl ListAppComponentCompliancesFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl ListAppComponentCompliancesFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_app_component_compliances::ListAppComponentCompliances, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::list_app_component_compliances::ListAppComponentCompliancesError, + >, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::list_app_component_compliances::paginator::ListAppComponentCompliancesPaginator::send) which returns a `Stream`. diff --git a/sdk/resiliencehub/src/operation/list_app_component_recommendations/builders.rs b/sdk/resiliencehub/src/operation/list_app_component_recommendations/builders.rs index 0db577f5f74a..1a5f17be4986 100644 --- a/sdk/resiliencehub/src/operation/list_app_component_recommendations/builders.rs +++ b/sdk/resiliencehub/src/operation/list_app_component_recommendations/builders.rs @@ -19,9 +19,9 @@ impl ListAppComponentRecommendationsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize(self) -> ::std::result::Result< + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware(self) -> ::std::result::Result< crate::client::customize::CustomizableOperation, ::aws_smithy_http::result::SdkError >{ @@ -64,6 +64,15 @@ impl ListAppComponentRecommendationsFluentBuilder { { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize(self) -> ::std::result::Result< + crate::client::customize::CustomizableOperation, + ::aws_smithy_http::result::SdkError + >{ + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::list_app_component_recommendations::paginator::ListAppComponentRecommendationsPaginator::send) which returns a `Stream`. diff --git a/sdk/resiliencehub/src/operation/list_app_input_sources/builders.rs b/sdk/resiliencehub/src/operation/list_app_input_sources/builders.rs index 3f0975b75f41..7b2632c5b6f9 100644 --- a/sdk/resiliencehub/src/operation/list_app_input_sources/builders.rs +++ b/sdk/resiliencehub/src/operation/list_app_input_sources/builders.rs @@ -19,9 +19,9 @@ impl ListAppInputSourcesFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl ListAppInputSourcesFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_app_input_sources::ListAppInputSources, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::list_app_input_sources::ListAppInputSourcesError, + >, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::list_app_input_sources::paginator::ListAppInputSourcesPaginator::send) which returns a `Stream`. diff --git a/sdk/resiliencehub/src/operation/list_app_version_app_components/builders.rs b/sdk/resiliencehub/src/operation/list_app_version_app_components/builders.rs index 6a2219e97eb3..d74679afb8de 100644 --- a/sdk/resiliencehub/src/operation/list_app_version_app_components/builders.rs +++ b/sdk/resiliencehub/src/operation/list_app_version_app_components/builders.rs @@ -19,9 +19,9 @@ impl ListAppVersionAppComponentsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl ListAppVersionAppComponentsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_app_version_app_components::ListAppVersionAppComponents, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::list_app_version_app_components::ListAppVersionAppComponentsError, + >, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::list_app_version_app_components::paginator::ListAppVersionAppComponentsPaginator::send) which returns a `Stream`. diff --git a/sdk/resiliencehub/src/operation/list_app_version_resource_mappings/builders.rs b/sdk/resiliencehub/src/operation/list_app_version_resource_mappings/builders.rs index 6d9b754cdad8..c09cea8dbfc5 100644 --- a/sdk/resiliencehub/src/operation/list_app_version_resource_mappings/builders.rs +++ b/sdk/resiliencehub/src/operation/list_app_version_resource_mappings/builders.rs @@ -19,9 +19,9 @@ impl ListAppVersionResourceMappingsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize(self) -> ::std::result::Result< + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware(self) -> ::std::result::Result< crate::client::customize::CustomizableOperation, ::aws_smithy_http::result::SdkError >{ @@ -64,6 +64,15 @@ impl ListAppVersionResourceMappingsFluentBuilder { { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize(self) -> ::std::result::Result< + crate::client::customize::CustomizableOperation, + ::aws_smithy_http::result::SdkError + >{ + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::list_app_version_resource_mappings::paginator::ListAppVersionResourceMappingsPaginator::send) which returns a `Stream`. diff --git a/sdk/resiliencehub/src/operation/list_app_version_resources/builders.rs b/sdk/resiliencehub/src/operation/list_app_version_resources/builders.rs index c0af6a848e8c..262898caed9f 100644 --- a/sdk/resiliencehub/src/operation/list_app_version_resources/builders.rs +++ b/sdk/resiliencehub/src/operation/list_app_version_resources/builders.rs @@ -20,9 +20,9 @@ impl ListAppVersionResourcesFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -84,6 +84,22 @@ impl ListAppVersionResourcesFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_app_version_resources::ListAppVersionResources, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::list_app_version_resources::ListAppVersionResourcesError, + >, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::list_app_version_resources::paginator::ListAppVersionResourcesPaginator::send) which returns a `Stream`. diff --git a/sdk/resiliencehub/src/operation/list_app_versions/builders.rs b/sdk/resiliencehub/src/operation/list_app_versions/builders.rs index cd0339722477..9f2a198709eb 100644 --- a/sdk/resiliencehub/src/operation/list_app_versions/builders.rs +++ b/sdk/resiliencehub/src/operation/list_app_versions/builders.rs @@ -19,9 +19,9 @@ impl ListAppVersionsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl ListAppVersionsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_app_versions::ListAppVersions, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::list_app_versions::ListAppVersionsError, + >, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::list_app_versions::paginator::ListAppVersionsPaginator::send) which returns a `Stream`. diff --git a/sdk/resiliencehub/src/operation/list_apps/builders.rs b/sdk/resiliencehub/src/operation/list_apps/builders.rs index 298908432294..e6ff81bdd6e6 100644 --- a/sdk/resiliencehub/src/operation/list_apps/builders.rs +++ b/sdk/resiliencehub/src/operation/list_apps/builders.rs @@ -22,9 +22,9 @@ impl ListAppsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -80,6 +80,20 @@ impl ListAppsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_apps::ListApps, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::list_apps::paginator::ListAppsPaginator::send) which returns a `Stream`. diff --git a/sdk/resiliencehub/src/operation/list_recommendation_templates/builders.rs b/sdk/resiliencehub/src/operation/list_recommendation_templates/builders.rs index cca75f42b803..b33e941290a2 100644 --- a/sdk/resiliencehub/src/operation/list_recommendation_templates/builders.rs +++ b/sdk/resiliencehub/src/operation/list_recommendation_templates/builders.rs @@ -19,9 +19,9 @@ impl ListRecommendationTemplatesFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl ListRecommendationTemplatesFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_recommendation_templates::ListRecommendationTemplates, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::list_recommendation_templates::ListRecommendationTemplatesError, + >, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::list_recommendation_templates::paginator::ListRecommendationTemplatesPaginator::send) which returns a `Stream`. diff --git a/sdk/resiliencehub/src/operation/list_resiliency_policies/builders.rs b/sdk/resiliencehub/src/operation/list_resiliency_policies/builders.rs index 8bcc87b14ef0..02e9ab853498 100644 --- a/sdk/resiliencehub/src/operation/list_resiliency_policies/builders.rs +++ b/sdk/resiliencehub/src/operation/list_resiliency_policies/builders.rs @@ -19,9 +19,9 @@ impl ListResiliencyPoliciesFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl ListResiliencyPoliciesFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_resiliency_policies::ListResiliencyPolicies, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::list_resiliency_policies::ListResiliencyPoliciesError, + >, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::list_resiliency_policies::paginator::ListResiliencyPoliciesPaginator::send) which returns a `Stream`. diff --git a/sdk/resiliencehub/src/operation/list_sop_recommendations/builders.rs b/sdk/resiliencehub/src/operation/list_sop_recommendations/builders.rs index 2abcd5590c5c..35050d4c32a7 100644 --- a/sdk/resiliencehub/src/operation/list_sop_recommendations/builders.rs +++ b/sdk/resiliencehub/src/operation/list_sop_recommendations/builders.rs @@ -19,9 +19,9 @@ impl ListSopRecommendationsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl ListSopRecommendationsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_sop_recommendations::ListSopRecommendations, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::list_sop_recommendations::ListSopRecommendationsError, + >, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::list_sop_recommendations::paginator::ListSopRecommendationsPaginator::send) which returns a `Stream`. diff --git a/sdk/resiliencehub/src/operation/list_suggested_resiliency_policies/builders.rs b/sdk/resiliencehub/src/operation/list_suggested_resiliency_policies/builders.rs index c94677729bed..0d653c325cb7 100644 --- a/sdk/resiliencehub/src/operation/list_suggested_resiliency_policies/builders.rs +++ b/sdk/resiliencehub/src/operation/list_suggested_resiliency_policies/builders.rs @@ -19,9 +19,9 @@ impl ListSuggestedResiliencyPoliciesFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize(self) -> ::std::result::Result< + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware(self) -> ::std::result::Result< crate::client::customize::CustomizableOperation, ::aws_smithy_http::result::SdkError >{ @@ -64,6 +64,15 @@ impl ListSuggestedResiliencyPoliciesFluentBuilder { { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize(self) -> ::std::result::Result< + crate::client::customize::CustomizableOperation, + ::aws_smithy_http::result::SdkError + >{ + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::list_suggested_resiliency_policies::paginator::ListSuggestedResiliencyPoliciesPaginator::send) which returns a `Stream`. diff --git a/sdk/resiliencehub/src/operation/list_tags_for_resource/builders.rs b/sdk/resiliencehub/src/operation/list_tags_for_resource/builders.rs index 9f9e2dad317c..932c824775d9 100644 --- a/sdk/resiliencehub/src/operation/list_tags_for_resource/builders.rs +++ b/sdk/resiliencehub/src/operation/list_tags_for_resource/builders.rs @@ -19,9 +19,9 @@ impl ListTagsForResourceFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl ListTagsForResourceFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_tags_for_resource::ListTagsForResource, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::list_tags_for_resource::ListTagsForResourceError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                  The Amazon Resource Name (ARN) for a specific resource in your Resilience Hub application.

                                                                                                                                                                                                                                                                                                                                                  pub fn resource_arn(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.resource_arn(input.into()); diff --git a/sdk/resiliencehub/src/operation/list_test_recommendations/builders.rs b/sdk/resiliencehub/src/operation/list_test_recommendations/builders.rs index 75402b26f1b6..cced739437ef 100644 --- a/sdk/resiliencehub/src/operation/list_test_recommendations/builders.rs +++ b/sdk/resiliencehub/src/operation/list_test_recommendations/builders.rs @@ -20,9 +20,9 @@ impl ListTestRecommendationsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -84,6 +84,22 @@ impl ListTestRecommendationsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_test_recommendations::ListTestRecommendations, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::list_test_recommendations::ListTestRecommendationsError, + >, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::list_test_recommendations::paginator::ListTestRecommendationsPaginator::send) which returns a `Stream`. diff --git a/sdk/resiliencehub/src/operation/list_unsupported_app_version_resources/builders.rs b/sdk/resiliencehub/src/operation/list_unsupported_app_version_resources/builders.rs index 6e62afbaa69e..1df95c97cb1a 100644 --- a/sdk/resiliencehub/src/operation/list_unsupported_app_version_resources/builders.rs +++ b/sdk/resiliencehub/src/operation/list_unsupported_app_version_resources/builders.rs @@ -19,9 +19,9 @@ impl ListUnsupportedAppVersionResourcesFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize(self) -> ::std::result::Result< + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware(self) -> ::std::result::Result< crate::client::customize::CustomizableOperation, ::aws_smithy_http::result::SdkError >{ @@ -64,6 +64,15 @@ impl ListUnsupportedAppVersionResourcesFluentBuilder { { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize(self) -> ::std::result::Result< + crate::client::customize::CustomizableOperation, + ::aws_smithy_http::result::SdkError + >{ + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::list_unsupported_app_version_resources::paginator::ListUnsupportedAppVersionResourcesPaginator::send) which returns a `Stream`. diff --git a/sdk/resiliencehub/src/operation/publish_app_version/builders.rs b/sdk/resiliencehub/src/operation/publish_app_version/builders.rs index 4cb12cf7f9c2..8684fc38f2b8 100644 --- a/sdk/resiliencehub/src/operation/publish_app_version/builders.rs +++ b/sdk/resiliencehub/src/operation/publish_app_version/builders.rs @@ -19,9 +19,9 @@ impl PublishAppVersionFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl PublishAppVersionFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::publish_app_version::PublishAppVersion, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::publish_app_version::PublishAppVersionError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                  The Amazon Resource Name (ARN) of the Resilience Hub application. The format for this ARN is: arn:partition:resiliencehub:region:account:app/app-id. For more information about ARNs, see Amazon Resource Names (ARNs) in the AWS General Reference guide.

                                                                                                                                                                                                                                                                                                                                                  pub fn app_arn(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.app_arn(input.into()); diff --git a/sdk/resiliencehub/src/operation/put_draft_app_version_template/builders.rs b/sdk/resiliencehub/src/operation/put_draft_app_version_template/builders.rs index 15bae48fee3b..3ba4ae16bdeb 100644 --- a/sdk/resiliencehub/src/operation/put_draft_app_version_template/builders.rs +++ b/sdk/resiliencehub/src/operation/put_draft_app_version_template/builders.rs @@ -19,9 +19,9 @@ impl PutDraftAppVersionTemplateFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl PutDraftAppVersionTemplateFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::put_draft_app_version_template::PutDraftAppVersionTemplate, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::put_draft_app_version_template::PutDraftAppVersionTemplateError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                  The Amazon Resource Name (ARN) of the Resilience Hub application. The format for this ARN is: arn:partition:resiliencehub:region:account:app/app-id. For more information about ARNs, see Amazon Resource Names (ARNs) in the AWS General Reference guide.

                                                                                                                                                                                                                                                                                                                                                  pub fn app_arn(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.app_arn(input.into()); diff --git a/sdk/resiliencehub/src/operation/remove_draft_app_version_resource_mappings/builders.rs b/sdk/resiliencehub/src/operation/remove_draft_app_version_resource_mappings/builders.rs index 5048071d8954..198b76167518 100644 --- a/sdk/resiliencehub/src/operation/remove_draft_app_version_resource_mappings/builders.rs +++ b/sdk/resiliencehub/src/operation/remove_draft_app_version_resource_mappings/builders.rs @@ -19,9 +19,9 @@ impl RemoveDraftAppVersionResourceMappingsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize(self) -> ::std::result::Result< + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware(self) -> ::std::result::Result< crate::client::customize::CustomizableOperation, ::aws_smithy_http::result::SdkError >{ @@ -64,6 +64,15 @@ impl RemoveDraftAppVersionResourceMappingsFluentBuilder { { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize(self) -> ::std::result::Result< + crate::client::customize::CustomizableOperation, + ::aws_smithy_http::result::SdkError + >{ + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                  The Amazon Resource Name (ARN) of the Resilience Hub application. The format for this ARN is: arn:partition:resiliencehub:region:account:app/app-id. For more information about ARNs, see Amazon Resource Names (ARNs) in the AWS General Reference guide.

                                                                                                                                                                                                                                                                                                                                                  pub fn app_arn(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.app_arn(input.into()); diff --git a/sdk/resiliencehub/src/operation/resolve_app_version_resources/builders.rs b/sdk/resiliencehub/src/operation/resolve_app_version_resources/builders.rs index 3a83f06f031c..e7c65a74d9b9 100644 --- a/sdk/resiliencehub/src/operation/resolve_app_version_resources/builders.rs +++ b/sdk/resiliencehub/src/operation/resolve_app_version_resources/builders.rs @@ -19,9 +19,9 @@ impl ResolveAppVersionResourcesFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl ResolveAppVersionResourcesFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::resolve_app_version_resources::ResolveAppVersionResources, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::resolve_app_version_resources::ResolveAppVersionResourcesError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                  The Amazon Resource Name (ARN) of the Resilience Hub application. The format for this ARN is: arn:partition:resiliencehub:region:account:app/app-id. For more information about ARNs, see Amazon Resource Names (ARNs) in the AWS General Reference guide.

                                                                                                                                                                                                                                                                                                                                                  pub fn app_arn(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.app_arn(input.into()); diff --git a/sdk/resiliencehub/src/operation/start_app_assessment/builders.rs b/sdk/resiliencehub/src/operation/start_app_assessment/builders.rs index 5bc7adda0c77..c9c2fef62ba1 100644 --- a/sdk/resiliencehub/src/operation/start_app_assessment/builders.rs +++ b/sdk/resiliencehub/src/operation/start_app_assessment/builders.rs @@ -19,9 +19,9 @@ impl StartAppAssessmentFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl StartAppAssessmentFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::start_app_assessment::StartAppAssessment, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::start_app_assessment::StartAppAssessmentError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                  The Amazon Resource Name (ARN) of the Resilience Hub application. The format for this ARN is: arn:partition:resiliencehub:region:account:app/app-id. For more information about ARNs, see Amazon Resource Names (ARNs) in the AWS General Reference guide.

                                                                                                                                                                                                                                                                                                                                                  pub fn app_arn(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.app_arn(input.into()); diff --git a/sdk/resiliencehub/src/operation/tag_resource/builders.rs b/sdk/resiliencehub/src/operation/tag_resource/builders.rs index 47d12a87369f..ed8e8ea93470 100644 --- a/sdk/resiliencehub/src/operation/tag_resource/builders.rs +++ b/sdk/resiliencehub/src/operation/tag_resource/builders.rs @@ -19,9 +19,9 @@ impl TagResourceFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl TagResourceFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::tag_resource::TagResource, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                  The Amazon Resource Name (ARN) of the resource.

                                                                                                                                                                                                                                                                                                                                                  pub fn resource_arn(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.resource_arn(input.into()); diff --git a/sdk/resiliencehub/src/operation/untag_resource/builders.rs b/sdk/resiliencehub/src/operation/untag_resource/builders.rs index 34b0e3dfa0ed..072eac5a8282 100644 --- a/sdk/resiliencehub/src/operation/untag_resource/builders.rs +++ b/sdk/resiliencehub/src/operation/untag_resource/builders.rs @@ -19,9 +19,9 @@ impl UntagResourceFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl UntagResourceFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::untag_resource::UntagResource, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                  The Amazon Resource Name (ARN) of the resource.

                                                                                                                                                                                                                                                                                                                                                  pub fn resource_arn(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.resource_arn(input.into()); diff --git a/sdk/resiliencehub/src/operation/update_app/builders.rs b/sdk/resiliencehub/src/operation/update_app/builders.rs index 73760666d6ab..7543b87f6cf6 100644 --- a/sdk/resiliencehub/src/operation/update_app/builders.rs +++ b/sdk/resiliencehub/src/operation/update_app/builders.rs @@ -19,9 +19,9 @@ impl UpdateAppFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl UpdateAppFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::update_app::UpdateApp, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                  The Amazon Resource Name (ARN) of the Resilience Hub application. The format for this ARN is: arn:partition:resiliencehub:region:account:app/app-id. For more information about ARNs, see Amazon Resource Names (ARNs) in the AWS General Reference guide.

                                                                                                                                                                                                                                                                                                                                                  pub fn app_arn(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.app_arn(input.into()); diff --git a/sdk/resiliencehub/src/operation/update_app_version/builders.rs b/sdk/resiliencehub/src/operation/update_app_version/builders.rs index 1731eff30e86..176c7b8e80c2 100644 --- a/sdk/resiliencehub/src/operation/update_app_version/builders.rs +++ b/sdk/resiliencehub/src/operation/update_app_version/builders.rs @@ -21,9 +21,9 @@ impl UpdateAppVersionFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -85,6 +85,22 @@ impl UpdateAppVersionFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::update_app_version::UpdateAppVersion, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::update_app_version::UpdateAppVersionError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                  The Amazon Resource Name (ARN) of the Resilience Hub application. The format for this ARN is: arn:partition:resiliencehub:region:account:app/app-id. For more information about ARNs, see Amazon Resource Names (ARNs) in the AWS General Reference guide.

                                                                                                                                                                                                                                                                                                                                                  pub fn app_arn(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.app_arn(input.into()); diff --git a/sdk/resiliencehub/src/operation/update_app_version_app_component/builders.rs b/sdk/resiliencehub/src/operation/update_app_version_app_component/builders.rs index cbc41cd8aa95..520b1fd798ab 100644 --- a/sdk/resiliencehub/src/operation/update_app_version_app_component/builders.rs +++ b/sdk/resiliencehub/src/operation/update_app_version_app_component/builders.rs @@ -21,9 +21,9 @@ impl UpdateAppVersionAppComponentFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -85,6 +85,22 @@ impl UpdateAppVersionAppComponentFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::update_app_version_app_component::UpdateAppVersionAppComponent, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::update_app_version_app_component::UpdateAppVersionAppComponentError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                  The Amazon Resource Name (ARN) of the Resilience Hub application. The format for this ARN is: arn:partition:resiliencehub:region:account:app/app-id. For more information about ARNs, see Amazon Resource Names (ARNs) in the AWS General Reference guide.

                                                                                                                                                                                                                                                                                                                                                  pub fn app_arn(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.app_arn(input.into()); diff --git a/sdk/resiliencehub/src/operation/update_app_version_resource/builders.rs b/sdk/resiliencehub/src/operation/update_app_version_resource/builders.rs index a38ffb88a2bb..97e0b494f0d7 100644 --- a/sdk/resiliencehub/src/operation/update_app_version_resource/builders.rs +++ b/sdk/resiliencehub/src/operation/update_app_version_resource/builders.rs @@ -25,9 +25,9 @@ impl UpdateAppVersionResourceFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -89,6 +89,22 @@ impl UpdateAppVersionResourceFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::update_app_version_resource::UpdateAppVersionResource, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::update_app_version_resource::UpdateAppVersionResourceError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                  The Amazon Resource Name (ARN) of the Resilience Hub application. The format for this ARN is: arn:partition:resiliencehub:region:account:app/app-id. For more information about ARNs, see Amazon Resource Names (ARNs) in the AWS General Reference guide.

                                                                                                                                                                                                                                                                                                                                                  pub fn app_arn(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.app_arn(input.into()); diff --git a/sdk/resiliencehub/src/operation/update_resiliency_policy/builders.rs b/sdk/resiliencehub/src/operation/update_resiliency_policy/builders.rs index b277d767079e..3d7c8dc08fe5 100644 --- a/sdk/resiliencehub/src/operation/update_resiliency_policy/builders.rs +++ b/sdk/resiliencehub/src/operation/update_resiliency_policy/builders.rs @@ -19,9 +19,9 @@ impl UpdateResiliencyPolicyFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl UpdateResiliencyPolicyFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::update_resiliency_policy::UpdateResiliencyPolicy, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::update_resiliency_policy::UpdateResiliencyPolicyError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                  The Amazon Resource Name (ARN) of the resiliency policy. The format for this ARN is: arn:partition:resiliencehub:region:account:resiliency-policy/policy-id. For more information about ARNs, see Amazon Resource Names (ARNs) in the AWS General Reference guide.

                                                                                                                                                                                                                                                                                                                                                  pub fn policy_arn(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.policy_arn(input.into()); diff --git a/sdk/resourceexplorer2/src/operation/associate_default_view/builders.rs b/sdk/resourceexplorer2/src/operation/associate_default_view/builders.rs index 9489a2d2b4e7..88ff3098af6e 100644 --- a/sdk/resourceexplorer2/src/operation/associate_default_view/builders.rs +++ b/sdk/resourceexplorer2/src/operation/associate_default_view/builders.rs @@ -20,9 +20,9 @@ impl AssociateDefaultViewFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -84,6 +84,22 @@ impl AssociateDefaultViewFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::associate_default_view::AssociateDefaultView, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::associate_default_view::AssociateDefaultViewError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                  The Amazon resource name (ARN) of the view to set as the default for the Amazon Web Services Region and Amazon Web Services account in which you call this operation. The specified view must already exist in the called Region.

                                                                                                                                                                                                                                                                                                                                                  pub fn view_arn(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.view_arn(input.into()); diff --git a/sdk/resourceexplorer2/src/operation/batch_get_view/builders.rs b/sdk/resourceexplorer2/src/operation/batch_get_view/builders.rs index ec236d9b03a1..ce4d947c3625 100644 --- a/sdk/resourceexplorer2/src/operation/batch_get_view/builders.rs +++ b/sdk/resourceexplorer2/src/operation/batch_get_view/builders.rs @@ -19,9 +19,9 @@ impl BatchGetViewFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl BatchGetViewFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::batch_get_view::BatchGetView, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } /// Appends an item to `ViewArns`. /// /// To override the contents of this collection use [`set_view_arns`](Self::set_view_arns). diff --git a/sdk/resourceexplorer2/src/operation/create_index/builders.rs b/sdk/resourceexplorer2/src/operation/create_index/builders.rs index 833787a2648c..e5c55326175e 100644 --- a/sdk/resourceexplorer2/src/operation/create_index/builders.rs +++ b/sdk/resourceexplorer2/src/operation/create_index/builders.rs @@ -27,9 +27,9 @@ impl CreateIndexFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -85,6 +85,20 @@ impl CreateIndexFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::create_index::CreateIndex, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                  This value helps ensure idempotency. Resource Explorer uses this value to prevent the accidental creation of duplicate versions. We recommend that you generate a UUID-type value to ensure the uniqueness of your views.

                                                                                                                                                                                                                                                                                                                                                  pub fn client_token(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.client_token(input.into()); diff --git a/sdk/resourceexplorer2/src/operation/create_view/builders.rs b/sdk/resourceexplorer2/src/operation/create_view/builders.rs index 2773154aa419..30bb3b455ffd 100644 --- a/sdk/resourceexplorer2/src/operation/create_view/builders.rs +++ b/sdk/resourceexplorer2/src/operation/create_view/builders.rs @@ -20,9 +20,9 @@ impl CreateViewFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -78,6 +78,20 @@ impl CreateViewFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::create_view::CreateView, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                  This value helps ensure idempotency. Resource Explorer uses this value to prevent the accidental creation of duplicate versions. We recommend that you generate a UUID-type value to ensure the uniqueness of your views.

                                                                                                                                                                                                                                                                                                                                                  pub fn client_token(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.client_token(input.into()); diff --git a/sdk/resourceexplorer2/src/operation/delete_index/builders.rs b/sdk/resourceexplorer2/src/operation/delete_index/builders.rs index 1beeaca6a99d..dd217dbdee32 100644 --- a/sdk/resourceexplorer2/src/operation/delete_index/builders.rs +++ b/sdk/resourceexplorer2/src/operation/delete_index/builders.rs @@ -21,9 +21,9 @@ impl DeleteIndexFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -79,6 +79,20 @@ impl DeleteIndexFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::delete_index::DeleteIndex, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                  The Amazon resource name (ARN) of the index that you want to delete.

                                                                                                                                                                                                                                                                                                                                                  pub fn arn(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.arn(input.into()); diff --git a/sdk/resourceexplorer2/src/operation/delete_view/builders.rs b/sdk/resourceexplorer2/src/operation/delete_view/builders.rs index b274ee6b38b6..1d6d5dd14301 100644 --- a/sdk/resourceexplorer2/src/operation/delete_view/builders.rs +++ b/sdk/resourceexplorer2/src/operation/delete_view/builders.rs @@ -20,9 +20,9 @@ impl DeleteViewFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -78,6 +78,20 @@ impl DeleteViewFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::delete_view::DeleteView, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                  The Amazon resource name (ARN) of the view that you want to delete.

                                                                                                                                                                                                                                                                                                                                                  pub fn view_arn(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.view_arn(input.into()); diff --git a/sdk/resourceexplorer2/src/operation/disassociate_default_view/builders.rs b/sdk/resourceexplorer2/src/operation/disassociate_default_view/builders.rs index fc1a18a8e9ce..7f96abfde64f 100644 --- a/sdk/resourceexplorer2/src/operation/disassociate_default_view/builders.rs +++ b/sdk/resourceexplorer2/src/operation/disassociate_default_view/builders.rs @@ -21,9 +21,9 @@ impl DisassociateDefaultViewFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -85,4 +85,20 @@ impl DisassociateDefaultViewFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::disassociate_default_view::DisassociateDefaultView, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::disassociate_default_view::DisassociateDefaultViewError, + >, + > { + self.customize_middleware().await + } } diff --git a/sdk/resourceexplorer2/src/operation/get_default_view/builders.rs b/sdk/resourceexplorer2/src/operation/get_default_view/builders.rs index b191920c5baa..2079875025dd 100644 --- a/sdk/resourceexplorer2/src/operation/get_default_view/builders.rs +++ b/sdk/resourceexplorer2/src/operation/get_default_view/builders.rs @@ -19,9 +19,9 @@ impl GetDefaultViewFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,4 +83,20 @@ impl GetDefaultViewFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::get_default_view::GetDefaultView, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::get_default_view::GetDefaultViewError, + >, + > { + self.customize_middleware().await + } } diff --git a/sdk/resourceexplorer2/src/operation/get_index/builders.rs b/sdk/resourceexplorer2/src/operation/get_index/builders.rs index 89f0484786ef..a8241301c381 100644 --- a/sdk/resourceexplorer2/src/operation/get_index/builders.rs +++ b/sdk/resourceexplorer2/src/operation/get_index/builders.rs @@ -19,9 +19,9 @@ impl GetIndexFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,4 +77,18 @@ impl GetIndexFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::get_index::GetIndex, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } } diff --git a/sdk/resourceexplorer2/src/operation/get_view/builders.rs b/sdk/resourceexplorer2/src/operation/get_view/builders.rs index 19815e4c4284..fef11e398670 100644 --- a/sdk/resourceexplorer2/src/operation/get_view/builders.rs +++ b/sdk/resourceexplorer2/src/operation/get_view/builders.rs @@ -19,9 +19,9 @@ impl GetViewFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl GetViewFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::get_view::GetView, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                  The Amazon resource name (ARN) of the view that you want information about.

                                                                                                                                                                                                                                                                                                                                                  pub fn view_arn(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.view_arn(input.into()); diff --git a/sdk/resourceexplorer2/src/operation/list_indexes/builders.rs b/sdk/resourceexplorer2/src/operation/list_indexes/builders.rs index 8f72ce3a8085..820a14935494 100644 --- a/sdk/resourceexplorer2/src/operation/list_indexes/builders.rs +++ b/sdk/resourceexplorer2/src/operation/list_indexes/builders.rs @@ -19,9 +19,9 @@ impl ListIndexesFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl ListIndexesFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_indexes::ListIndexes, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::list_indexes::paginator::ListIndexesPaginator::send) which returns a `Stream`. diff --git a/sdk/resourceexplorer2/src/operation/list_supported_resource_types/builders.rs b/sdk/resourceexplorer2/src/operation/list_supported_resource_types/builders.rs index 146b921517dc..7993386912f9 100644 --- a/sdk/resourceexplorer2/src/operation/list_supported_resource_types/builders.rs +++ b/sdk/resourceexplorer2/src/operation/list_supported_resource_types/builders.rs @@ -19,9 +19,9 @@ impl ListSupportedResourceTypesFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl ListSupportedResourceTypesFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_supported_resource_types::ListSupportedResourceTypes, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::list_supported_resource_types::ListSupportedResourceTypesError, + >, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::list_supported_resource_types::paginator::ListSupportedResourceTypesPaginator::send) which returns a `Stream`. diff --git a/sdk/resourceexplorer2/src/operation/list_tags_for_resource/builders.rs b/sdk/resourceexplorer2/src/operation/list_tags_for_resource/builders.rs index 6275ccce70dd..232f4b95def9 100644 --- a/sdk/resourceexplorer2/src/operation/list_tags_for_resource/builders.rs +++ b/sdk/resourceexplorer2/src/operation/list_tags_for_resource/builders.rs @@ -19,9 +19,9 @@ impl ListTagsForResourceFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl ListTagsForResourceFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_tags_for_resource::ListTagsForResource, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::list_tags_for_resource::ListTagsForResourceError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                  The Amazon resource name (ARN) of the view or index that you want to attach tags to.

                                                                                                                                                                                                                                                                                                                                                  pub fn resource_arn(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.resource_arn(input.into()); diff --git a/sdk/resourceexplorer2/src/operation/list_views/builders.rs b/sdk/resourceexplorer2/src/operation/list_views/builders.rs index 78e3cf4030b4..56db73d266e1 100644 --- a/sdk/resourceexplorer2/src/operation/list_views/builders.rs +++ b/sdk/resourceexplorer2/src/operation/list_views/builders.rs @@ -21,9 +21,9 @@ impl ListViewsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -79,6 +79,20 @@ impl ListViewsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_views::ListViews, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::list_views::paginator::ListViewsPaginator::send) which returns a `Stream`. diff --git a/sdk/resourceexplorer2/src/operation/search/builders.rs b/sdk/resourceexplorer2/src/operation/search/builders.rs index 936cdb940fb6..fc6c30fcc294 100644 --- a/sdk/resourceexplorer2/src/operation/search/builders.rs +++ b/sdk/resourceexplorer2/src/operation/search/builders.rs @@ -22,9 +22,9 @@ impl SearchFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -80,6 +80,20 @@ impl SearchFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::search::Search, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::search::paginator::SearchPaginator::send) which returns a `Stream`. diff --git a/sdk/resourceexplorer2/src/operation/tag_resource/builders.rs b/sdk/resourceexplorer2/src/operation/tag_resource/builders.rs index 269bf5c1134b..401099bc21a2 100644 --- a/sdk/resourceexplorer2/src/operation/tag_resource/builders.rs +++ b/sdk/resourceexplorer2/src/operation/tag_resource/builders.rs @@ -19,9 +19,9 @@ impl TagResourceFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl TagResourceFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::tag_resource::TagResource, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                  The Amazon Resource Name (ARN) of the view or index that you want to attach tags to.

                                                                                                                                                                                                                                                                                                                                                  pub fn resource_arn(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.resource_arn(input.into()); diff --git a/sdk/resourceexplorer2/src/operation/untag_resource/builders.rs b/sdk/resourceexplorer2/src/operation/untag_resource/builders.rs index 8d3bd4226f44..4464a1bab46f 100644 --- a/sdk/resourceexplorer2/src/operation/untag_resource/builders.rs +++ b/sdk/resourceexplorer2/src/operation/untag_resource/builders.rs @@ -19,9 +19,9 @@ impl UntagResourceFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl UntagResourceFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::untag_resource::UntagResource, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                  The Amazon Resource Name (ARN) of the view or index that you want to remove tags from.

                                                                                                                                                                                                                                                                                                                                                  pub fn resource_arn(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.resource_arn(input.into()); diff --git a/sdk/resourceexplorer2/src/operation/update_index_type/builders.rs b/sdk/resourceexplorer2/src/operation/update_index_type/builders.rs index 5eb6877a4f41..3919d7e0c0f4 100644 --- a/sdk/resourceexplorer2/src/operation/update_index_type/builders.rs +++ b/sdk/resourceexplorer2/src/operation/update_index_type/builders.rs @@ -27,9 +27,9 @@ impl UpdateIndexTypeFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -91,6 +91,22 @@ impl UpdateIndexTypeFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::update_index_type::UpdateIndexType, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::update_index_type::UpdateIndexTypeError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                  The Amazon resource name (ARN) of the index that you want to update.

                                                                                                                                                                                                                                                                                                                                                  pub fn arn(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.arn(input.into()); diff --git a/sdk/resourceexplorer2/src/operation/update_view/builders.rs b/sdk/resourceexplorer2/src/operation/update_view/builders.rs index 9f72de755ae8..9e9f8aab6fda 100644 --- a/sdk/resourceexplorer2/src/operation/update_view/builders.rs +++ b/sdk/resourceexplorer2/src/operation/update_view/builders.rs @@ -19,9 +19,9 @@ impl UpdateViewFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl UpdateViewFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::update_view::UpdateView, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                  The Amazon resource name (ARN) of the view that you want to modify.

                                                                                                                                                                                                                                                                                                                                                  pub fn view_arn(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.view_arn(input.into()); diff --git a/sdk/resourcegroups/src/operation/create_group/builders.rs b/sdk/resourcegroups/src/operation/create_group/builders.rs index 16378e888f3f..6ba31da5700c 100644 --- a/sdk/resourcegroups/src/operation/create_group/builders.rs +++ b/sdk/resourcegroups/src/operation/create_group/builders.rs @@ -24,9 +24,9 @@ impl CreateGroupFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -82,6 +82,20 @@ impl CreateGroupFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::create_group::CreateGroup, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                  The name of the group, which is the identifier of the group in other operations. You can't change the name of a resource group after you create it. A resource group name can consist of letters, numbers, hyphens, periods, and underscores. The name cannot start with AWS or aws; these are reserved. A resource group name must be unique within each Amazon Web Services Region in your Amazon Web Services account.

                                                                                                                                                                                                                                                                                                                                                  pub fn name(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.name(input.into()); diff --git a/sdk/resourcegroups/src/operation/delete_group/builders.rs b/sdk/resourcegroups/src/operation/delete_group/builders.rs index e783bde9b4fa..0c88e88e714d 100644 --- a/sdk/resourcegroups/src/operation/delete_group/builders.rs +++ b/sdk/resourcegroups/src/operation/delete_group/builders.rs @@ -24,9 +24,9 @@ impl DeleteGroupFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -82,6 +82,20 @@ impl DeleteGroupFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::delete_group::DeleteGroup, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                  Deprecated - don't use this parameter. Use Group instead.

                                                                                                                                                                                                                                                                                                                                                  #[deprecated(note = "This field is deprecated, use Group instead.")] pub fn group_name(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { diff --git a/sdk/resourcegroups/src/operation/get_account_settings/builders.rs b/sdk/resourcegroups/src/operation/get_account_settings/builders.rs index b613cf2fabe9..3894eb8b270f 100644 --- a/sdk/resourcegroups/src/operation/get_account_settings/builders.rs +++ b/sdk/resourcegroups/src/operation/get_account_settings/builders.rs @@ -19,9 +19,9 @@ impl GetAccountSettingsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,4 +83,20 @@ impl GetAccountSettingsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::get_account_settings::GetAccountSettings, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::get_account_settings::GetAccountSettingsError, + >, + > { + self.customize_middleware().await + } } diff --git a/sdk/resourcegroups/src/operation/get_group/builders.rs b/sdk/resourcegroups/src/operation/get_group/builders.rs index a1edd0f87b33..8884ad5ddb0e 100644 --- a/sdk/resourcegroups/src/operation/get_group/builders.rs +++ b/sdk/resourcegroups/src/operation/get_group/builders.rs @@ -24,9 +24,9 @@ impl GetGroupFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -82,6 +82,20 @@ impl GetGroupFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::get_group::GetGroup, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                  Deprecated - don't use this parameter. Use Group instead.

                                                                                                                                                                                                                                                                                                                                                  #[deprecated(note = "This field is deprecated, use Group instead.")] pub fn group_name(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { diff --git a/sdk/resourcegroups/src/operation/get_group_configuration/builders.rs b/sdk/resourcegroups/src/operation/get_group_configuration/builders.rs index 7d46f271084e..1eda90cda265 100644 --- a/sdk/resourcegroups/src/operation/get_group_configuration/builders.rs +++ b/sdk/resourcegroups/src/operation/get_group_configuration/builders.rs @@ -24,9 +24,9 @@ impl GetGroupConfigurationFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -88,6 +88,22 @@ impl GetGroupConfigurationFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::get_group_configuration::GetGroupConfiguration, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::get_group_configuration::GetGroupConfigurationError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                  The name or the ARN of the resource group for which you want to retrive the service configuration.

                                                                                                                                                                                                                                                                                                                                                  pub fn group(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.group(input.into()); diff --git a/sdk/resourcegroups/src/operation/get_group_query/builders.rs b/sdk/resourcegroups/src/operation/get_group_query/builders.rs index c8c2aef270ce..400948863a5f 100644 --- a/sdk/resourcegroups/src/operation/get_group_query/builders.rs +++ b/sdk/resourcegroups/src/operation/get_group_query/builders.rs @@ -24,9 +24,9 @@ impl GetGroupQueryFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -82,6 +82,20 @@ impl GetGroupQueryFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::get_group_query::GetGroupQuery, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                  Don't use this parameter. Use Group instead.

                                                                                                                                                                                                                                                                                                                                                  #[deprecated(note = "This field is deprecated, use Group instead.")] pub fn group_name(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { diff --git a/sdk/resourcegroups/src/operation/get_tags/builders.rs b/sdk/resourcegroups/src/operation/get_tags/builders.rs index 97710c24cd73..055ca6fe31b2 100644 --- a/sdk/resourcegroups/src/operation/get_tags/builders.rs +++ b/sdk/resourcegroups/src/operation/get_tags/builders.rs @@ -24,9 +24,9 @@ impl GetTagsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -82,6 +82,20 @@ impl GetTagsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::get_tags::GetTags, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                  The ARN of the resource group whose tags you want to retrieve.

                                                                                                                                                                                                                                                                                                                                                  pub fn arn(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.arn(input.into()); diff --git a/sdk/resourcegroups/src/operation/group_resources/builders.rs b/sdk/resourcegroups/src/operation/group_resources/builders.rs index 9a7602c2c4b9..b16d446c077b 100644 --- a/sdk/resourcegroups/src/operation/group_resources/builders.rs +++ b/sdk/resourcegroups/src/operation/group_resources/builders.rs @@ -31,9 +31,9 @@ impl GroupResourcesFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -89,6 +89,20 @@ impl GroupResourcesFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::group_resources::GroupResources, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                  The name or the ARN of the resource group to add resources to.

                                                                                                                                                                                                                                                                                                                                                  pub fn group(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.group(input.into()); diff --git a/sdk/resourcegroups/src/operation/list_group_resources/builders.rs b/sdk/resourcegroups/src/operation/list_group_resources/builders.rs index f1d0e4553254..162e46ad9186 100644 --- a/sdk/resourcegroups/src/operation/list_group_resources/builders.rs +++ b/sdk/resourcegroups/src/operation/list_group_resources/builders.rs @@ -27,9 +27,9 @@ impl ListGroupResourcesFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -91,6 +91,22 @@ impl ListGroupResourcesFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_group_resources::ListGroupResources, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::list_group_resources::ListGroupResourcesError, + >, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::list_group_resources::paginator::ListGroupResourcesPaginator::send) which returns a `Stream`. diff --git a/sdk/resourcegroups/src/operation/list_groups/builders.rs b/sdk/resourcegroups/src/operation/list_groups/builders.rs index e31abe7e4aae..6ae065da273b 100644 --- a/sdk/resourcegroups/src/operation/list_groups/builders.rs +++ b/sdk/resourcegroups/src/operation/list_groups/builders.rs @@ -24,9 +24,9 @@ impl ListGroupsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -82,6 +82,20 @@ impl ListGroupsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_groups::ListGroups, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::list_groups::paginator::ListGroupsPaginator::send) which returns a `Stream`. diff --git a/sdk/resourcegroups/src/operation/put_group_configuration/builders.rs b/sdk/resourcegroups/src/operation/put_group_configuration/builders.rs index 8d063a3eb12a..90dfe063988a 100644 --- a/sdk/resourcegroups/src/operation/put_group_configuration/builders.rs +++ b/sdk/resourcegroups/src/operation/put_group_configuration/builders.rs @@ -24,9 +24,9 @@ impl PutGroupConfigurationFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -88,6 +88,22 @@ impl PutGroupConfigurationFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::put_group_configuration::PutGroupConfiguration, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::put_group_configuration::PutGroupConfigurationError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                  The name or ARN of the resource group with the configuration that you want to update.

                                                                                                                                                                                                                                                                                                                                                  pub fn group(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.group(input.into()); diff --git a/sdk/resourcegroups/src/operation/search_resources/builders.rs b/sdk/resourcegroups/src/operation/search_resources/builders.rs index 71d6317bd80e..519a6e399e18 100644 --- a/sdk/resourcegroups/src/operation/search_resources/builders.rs +++ b/sdk/resourcegroups/src/operation/search_resources/builders.rs @@ -27,9 +27,9 @@ impl SearchResourcesFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -91,6 +91,22 @@ impl SearchResourcesFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::search_resources::SearchResources, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::search_resources::SearchResourcesError, + >, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::search_resources::paginator::SearchResourcesPaginator::send) which returns a `Stream`. diff --git a/sdk/resourcegroups/src/operation/tag/builders.rs b/sdk/resourcegroups/src/operation/tag/builders.rs index 0836bc3a82ed..0f8cd2f7d8da 100644 --- a/sdk/resourcegroups/src/operation/tag/builders.rs +++ b/sdk/resourcegroups/src/operation/tag/builders.rs @@ -26,9 +26,9 @@ impl TagFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -84,6 +84,20 @@ impl TagFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::tag::Tag, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                  The ARN of the resource group to which to add tags.

                                                                                                                                                                                                                                                                                                                                                  pub fn arn(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.arn(input.into()); diff --git a/sdk/resourcegroups/src/operation/ungroup_resources/builders.rs b/sdk/resourcegroups/src/operation/ungroup_resources/builders.rs index 0033f8eb11db..a0b4436f53aa 100644 --- a/sdk/resourcegroups/src/operation/ungroup_resources/builders.rs +++ b/sdk/resourcegroups/src/operation/ungroup_resources/builders.rs @@ -24,9 +24,9 @@ impl UngroupResourcesFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -88,6 +88,22 @@ impl UngroupResourcesFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::ungroup_resources::UngroupResources, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::ungroup_resources::UngroupResourcesError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                  The name or the ARN of the resource group from which to remove the resources.

                                                                                                                                                                                                                                                                                                                                                  pub fn group(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.group(input.into()); diff --git a/sdk/resourcegroups/src/operation/untag/builders.rs b/sdk/resourcegroups/src/operation/untag/builders.rs index 5834a5706710..a857cf36b4ab 100644 --- a/sdk/resourcegroups/src/operation/untag/builders.rs +++ b/sdk/resourcegroups/src/operation/untag/builders.rs @@ -24,9 +24,9 @@ impl UntagFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -82,6 +82,20 @@ impl UntagFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::untag::Untag, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                  The ARN of the resource group from which to remove tags. The command removed both the specified keys and any values associated with those keys.

                                                                                                                                                                                                                                                                                                                                                  pub fn arn(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.arn(input.into()); diff --git a/sdk/resourcegroups/src/operation/update_account_settings/builders.rs b/sdk/resourcegroups/src/operation/update_account_settings/builders.rs index 4415c63030c6..9575983ae04c 100644 --- a/sdk/resourcegroups/src/operation/update_account_settings/builders.rs +++ b/sdk/resourcegroups/src/operation/update_account_settings/builders.rs @@ -20,9 +20,9 @@ impl UpdateAccountSettingsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -84,6 +84,22 @@ impl UpdateAccountSettingsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::update_account_settings::UpdateAccountSettings, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::update_account_settings::UpdateAccountSettingsError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                  Specifies whether you want to turn group lifecycle events on or off.

                                                                                                                                                                                                                                                                                                                                                  pub fn group_lifecycle_events_desired_status( mut self, diff --git a/sdk/resourcegroups/src/operation/update_group/builders.rs b/sdk/resourcegroups/src/operation/update_group/builders.rs index d6fd8088c456..5dcd3f1f528e 100644 --- a/sdk/resourcegroups/src/operation/update_group/builders.rs +++ b/sdk/resourcegroups/src/operation/update_group/builders.rs @@ -24,9 +24,9 @@ impl UpdateGroupFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -82,6 +82,20 @@ impl UpdateGroupFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::update_group::UpdateGroup, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                  Don't use this parameter. Use Group instead.

                                                                                                                                                                                                                                                                                                                                                  #[deprecated(note = "This field is deprecated, use Group instead.")] pub fn group_name(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { diff --git a/sdk/resourcegroups/src/operation/update_group_query/builders.rs b/sdk/resourcegroups/src/operation/update_group_query/builders.rs index cbf3e6d03941..8525bfc70955 100644 --- a/sdk/resourcegroups/src/operation/update_group_query/builders.rs +++ b/sdk/resourcegroups/src/operation/update_group_query/builders.rs @@ -24,9 +24,9 @@ impl UpdateGroupQueryFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -88,6 +88,22 @@ impl UpdateGroupQueryFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::update_group_query::UpdateGroupQuery, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::update_group_query::UpdateGroupQueryError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                  Don't use this parameter. Use Group instead.

                                                                                                                                                                                                                                                                                                                                                  #[deprecated(note = "This field is deprecated, use Group instead.")] pub fn group_name(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { diff --git a/sdk/resourcegroupstagging/src/operation/describe_report_creation/builders.rs b/sdk/resourcegroupstagging/src/operation/describe_report_creation/builders.rs index 7997b690a8c0..18f0af62616f 100644 --- a/sdk/resourcegroupstagging/src/operation/describe_report_creation/builders.rs +++ b/sdk/resourcegroupstagging/src/operation/describe_report_creation/builders.rs @@ -20,9 +20,9 @@ impl DescribeReportCreationFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -84,4 +84,20 @@ impl DescribeReportCreationFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::describe_report_creation::DescribeReportCreation, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::describe_report_creation::DescribeReportCreationError, + >, + > { + self.customize_middleware().await + } } diff --git a/sdk/resourcegroupstagging/src/operation/get_compliance_summary/builders.rs b/sdk/resourcegroupstagging/src/operation/get_compliance_summary/builders.rs index b75727322b4f..243973bf4885 100644 --- a/sdk/resourcegroupstagging/src/operation/get_compliance_summary/builders.rs +++ b/sdk/resourcegroupstagging/src/operation/get_compliance_summary/builders.rs @@ -22,9 +22,9 @@ impl GetComplianceSummaryFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -86,6 +86,22 @@ impl GetComplianceSummaryFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::get_compliance_summary::GetComplianceSummary, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::get_compliance_summary::GetComplianceSummaryError, + >, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::get_compliance_summary::paginator::GetComplianceSummaryPaginator::send) which returns a `Stream`. diff --git a/sdk/resourcegroupstagging/src/operation/get_resources/builders.rs b/sdk/resourcegroupstagging/src/operation/get_resources/builders.rs index 1224c27f3a25..cb30987aa4d4 100644 --- a/sdk/resourcegroupstagging/src/operation/get_resources/builders.rs +++ b/sdk/resourcegroupstagging/src/operation/get_resources/builders.rs @@ -25,9 +25,9 @@ impl GetResourcesFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,20 @@ impl GetResourcesFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::get_resources::GetResources, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::get_resources::paginator::GetResourcesPaginator::send) which returns a `Stream`. diff --git a/sdk/resourcegroupstagging/src/operation/get_tag_keys/builders.rs b/sdk/resourcegroupstagging/src/operation/get_tag_keys/builders.rs index 0789aafed067..2022dd5b2da2 100644 --- a/sdk/resourcegroupstagging/src/operation/get_tag_keys/builders.rs +++ b/sdk/resourcegroupstagging/src/operation/get_tag_keys/builders.rs @@ -20,9 +20,9 @@ impl GetTagKeysFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -78,6 +78,20 @@ impl GetTagKeysFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::get_tag_keys::GetTagKeys, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::get_tag_keys::paginator::GetTagKeysPaginator::send) which returns a `Stream`. diff --git a/sdk/resourcegroupstagging/src/operation/get_tag_values/builders.rs b/sdk/resourcegroupstagging/src/operation/get_tag_values/builders.rs index c99120a0244e..3f860d1f6026 100644 --- a/sdk/resourcegroupstagging/src/operation/get_tag_values/builders.rs +++ b/sdk/resourcegroupstagging/src/operation/get_tag_values/builders.rs @@ -20,9 +20,9 @@ impl GetTagValuesFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -78,6 +78,20 @@ impl GetTagValuesFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::get_tag_values::GetTagValues, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::get_tag_values::paginator::GetTagValuesPaginator::send) which returns a `Stream`. diff --git a/sdk/resourcegroupstagging/src/operation/start_report_creation/builders.rs b/sdk/resourcegroupstagging/src/operation/start_report_creation/builders.rs index ecd273869754..9e61fb33ee90 100644 --- a/sdk/resourcegroupstagging/src/operation/start_report_creation/builders.rs +++ b/sdk/resourcegroupstagging/src/operation/start_report_creation/builders.rs @@ -22,9 +22,9 @@ impl StartReportCreationFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -86,6 +86,22 @@ impl StartReportCreationFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::start_report_creation::StartReportCreation, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::start_report_creation::StartReportCreationError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                  The name of the Amazon S3 bucket where the report will be stored; for example:

                                                                                                                                                                                                                                                                                                                                                  ///

                                                                                                                                                                                                                                                                                                                                                  awsexamplebucket

                                                                                                                                                                                                                                                                                                                                                  ///

                                                                                                                                                                                                                                                                                                                                                  For more information on S3 bucket requirements, including an example bucket policy, see the example S3 bucket policy on this page.

                                                                                                                                                                                                                                                                                                                                                  diff --git a/sdk/resourcegroupstagging/src/operation/tag_resources/builders.rs b/sdk/resourcegroupstagging/src/operation/tag_resources/builders.rs index b1e84d4c1db1..eeb2383c4414 100644 --- a/sdk/resourcegroupstagging/src/operation/tag_resources/builders.rs +++ b/sdk/resourcegroupstagging/src/operation/tag_resources/builders.rs @@ -33,9 +33,9 @@ impl TagResourcesFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -91,6 +91,20 @@ impl TagResourcesFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::tag_resources::TagResources, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } /// Appends an item to `ResourceARNList`. /// /// To override the contents of this collection use [`set_resource_arn_list`](Self::set_resource_arn_list). diff --git a/sdk/resourcegroupstagging/src/operation/untag_resources/builders.rs b/sdk/resourcegroupstagging/src/operation/untag_resources/builders.rs index cfa5967de3a1..0707e170188b 100644 --- a/sdk/resourcegroupstagging/src/operation/untag_resources/builders.rs +++ b/sdk/resourcegroupstagging/src/operation/untag_resources/builders.rs @@ -29,9 +29,9 @@ impl UntagResourcesFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -87,6 +87,20 @@ impl UntagResourcesFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::untag_resources::UntagResources, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } /// Appends an item to `ResourceARNList`. /// /// To override the contents of this collection use [`set_resource_arn_list`](Self::set_resource_arn_list). diff --git a/sdk/robomaker/src/operation/batch_delete_worlds/builders.rs b/sdk/robomaker/src/operation/batch_delete_worlds/builders.rs index 2a0fe75aec23..0972611544c2 100644 --- a/sdk/robomaker/src/operation/batch_delete_worlds/builders.rs +++ b/sdk/robomaker/src/operation/batch_delete_worlds/builders.rs @@ -19,9 +19,9 @@ impl BatchDeleteWorldsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl BatchDeleteWorldsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::batch_delete_worlds::BatchDeleteWorlds, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::batch_delete_worlds::BatchDeleteWorldsError, + >, + > { + self.customize_middleware().await + } /// Appends an item to `worlds`. /// /// To override the contents of this collection use [`set_worlds`](Self::set_worlds). diff --git a/sdk/robomaker/src/operation/batch_describe_simulation_job/builders.rs b/sdk/robomaker/src/operation/batch_describe_simulation_job/builders.rs index 4413267223c4..b4b54faacc75 100644 --- a/sdk/robomaker/src/operation/batch_describe_simulation_job/builders.rs +++ b/sdk/robomaker/src/operation/batch_describe_simulation_job/builders.rs @@ -19,9 +19,9 @@ impl BatchDescribeSimulationJobFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl BatchDescribeSimulationJobFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::batch_describe_simulation_job::BatchDescribeSimulationJob, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::batch_describe_simulation_job::BatchDescribeSimulationJobError, + >, + > { + self.customize_middleware().await + } /// Appends an item to `jobs`. /// /// To override the contents of this collection use [`set_jobs`](Self::set_jobs). diff --git a/sdk/robomaker/src/operation/cancel_deployment_job/builders.rs b/sdk/robomaker/src/operation/cancel_deployment_job/builders.rs index 16b5a11e7bc0..46e94dd4af5c 100644 --- a/sdk/robomaker/src/operation/cancel_deployment_job/builders.rs +++ b/sdk/robomaker/src/operation/cancel_deployment_job/builders.rs @@ -24,9 +24,9 @@ impl CancelDeploymentJobFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -88,6 +88,22 @@ impl CancelDeploymentJobFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::cancel_deployment_job::CancelDeploymentJob, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::cancel_deployment_job::CancelDeploymentJobError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                  The deployment job ARN to cancel.

                                                                                                                                                                                                                                                                                                                                                  pub fn job(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.job(input.into()); diff --git a/sdk/robomaker/src/operation/cancel_simulation_job/builders.rs b/sdk/robomaker/src/operation/cancel_simulation_job/builders.rs index 31e63442dcbb..d7c2d5cdec69 100644 --- a/sdk/robomaker/src/operation/cancel_simulation_job/builders.rs +++ b/sdk/robomaker/src/operation/cancel_simulation_job/builders.rs @@ -19,9 +19,9 @@ impl CancelSimulationJobFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl CancelSimulationJobFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::cancel_simulation_job::CancelSimulationJob, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::cancel_simulation_job::CancelSimulationJobError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                  The simulation job ARN to cancel.

                                                                                                                                                                                                                                                                                                                                                  pub fn job(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.job(input.into()); diff --git a/sdk/robomaker/src/operation/cancel_simulation_job_batch/builders.rs b/sdk/robomaker/src/operation/cancel_simulation_job_batch/builders.rs index 5046c0346f25..5e62b6511985 100644 --- a/sdk/robomaker/src/operation/cancel_simulation_job_batch/builders.rs +++ b/sdk/robomaker/src/operation/cancel_simulation_job_batch/builders.rs @@ -19,9 +19,9 @@ impl CancelSimulationJobBatchFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl CancelSimulationJobBatchFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::cancel_simulation_job_batch::CancelSimulationJobBatch, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::cancel_simulation_job_batch::CancelSimulationJobBatchError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                  The id of the batch to cancel.

                                                                                                                                                                                                                                                                                                                                                  pub fn batch(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.batch(input.into()); diff --git a/sdk/robomaker/src/operation/cancel_world_export_job/builders.rs b/sdk/robomaker/src/operation/cancel_world_export_job/builders.rs index 7447486565b0..0b98b849b67d 100644 --- a/sdk/robomaker/src/operation/cancel_world_export_job/builders.rs +++ b/sdk/robomaker/src/operation/cancel_world_export_job/builders.rs @@ -19,9 +19,9 @@ impl CancelWorldExportJobFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl CancelWorldExportJobFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::cancel_world_export_job::CancelWorldExportJob, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::cancel_world_export_job::CancelWorldExportJobError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                  The Amazon Resource Name (arn) of the world export job to cancel.

                                                                                                                                                                                                                                                                                                                                                  pub fn job(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.job(input.into()); diff --git a/sdk/robomaker/src/operation/cancel_world_generation_job/builders.rs b/sdk/robomaker/src/operation/cancel_world_generation_job/builders.rs index 34ec48a0c928..9e1150fe3fe9 100644 --- a/sdk/robomaker/src/operation/cancel_world_generation_job/builders.rs +++ b/sdk/robomaker/src/operation/cancel_world_generation_job/builders.rs @@ -19,9 +19,9 @@ impl CancelWorldGenerationJobFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl CancelWorldGenerationJobFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::cancel_world_generation_job::CancelWorldGenerationJob, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::cancel_world_generation_job::CancelWorldGenerationJobError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                  The Amazon Resource Name (arn) of the world generator job to cancel.

                                                                                                                                                                                                                                                                                                                                                  pub fn job(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.job(input.into()); diff --git a/sdk/robomaker/src/operation/create_deployment_job/builders.rs b/sdk/robomaker/src/operation/create_deployment_job/builders.rs index 6d533603762b..1ab93de88de3 100644 --- a/sdk/robomaker/src/operation/create_deployment_job/builders.rs +++ b/sdk/robomaker/src/operation/create_deployment_job/builders.rs @@ -27,9 +27,9 @@ impl CreateDeploymentJobFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -91,6 +91,22 @@ impl CreateDeploymentJobFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::create_deployment_job::CreateDeploymentJob, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::create_deployment_job::CreateDeploymentJobError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                  The requested deployment configuration.

                                                                                                                                                                                                                                                                                                                                                  pub fn deployment_config(mut self, input: crate::types::DeploymentConfig) -> Self { self.inner = self.inner.deployment_config(input); diff --git a/sdk/robomaker/src/operation/create_fleet/builders.rs b/sdk/robomaker/src/operation/create_fleet/builders.rs index 6aed1e9a2762..9dcb52071410 100644 --- a/sdk/robomaker/src/operation/create_fleet/builders.rs +++ b/sdk/robomaker/src/operation/create_fleet/builders.rs @@ -24,9 +24,9 @@ impl CreateFleetFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -82,6 +82,20 @@ impl CreateFleetFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::create_fleet::CreateFleet, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                  The name of the fleet.

                                                                                                                                                                                                                                                                                                                                                  pub fn name(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.name(input.into()); diff --git a/sdk/robomaker/src/operation/create_robot/builders.rs b/sdk/robomaker/src/operation/create_robot/builders.rs index 8edd13b448fb..ca75e5825871 100644 --- a/sdk/robomaker/src/operation/create_robot/builders.rs +++ b/sdk/robomaker/src/operation/create_robot/builders.rs @@ -24,9 +24,9 @@ impl CreateRobotFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -82,6 +82,20 @@ impl CreateRobotFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::create_robot::CreateRobot, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                  The name for the robot.

                                                                                                                                                                                                                                                                                                                                                  pub fn name(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.name(input.into()); diff --git a/sdk/robomaker/src/operation/create_robot_application/builders.rs b/sdk/robomaker/src/operation/create_robot_application/builders.rs index 3ae828868b02..6debcf31d845 100644 --- a/sdk/robomaker/src/operation/create_robot_application/builders.rs +++ b/sdk/robomaker/src/operation/create_robot_application/builders.rs @@ -19,9 +19,9 @@ impl CreateRobotApplicationFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl CreateRobotApplicationFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::create_robot_application::CreateRobotApplication, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::create_robot_application::CreateRobotApplicationError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                  The name of the robot application.

                                                                                                                                                                                                                                                                                                                                                  pub fn name(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.name(input.into()); diff --git a/sdk/robomaker/src/operation/create_robot_application_version/builders.rs b/sdk/robomaker/src/operation/create_robot_application_version/builders.rs index 2502ec71cf0b..d1e2980a1d35 100644 --- a/sdk/robomaker/src/operation/create_robot_application_version/builders.rs +++ b/sdk/robomaker/src/operation/create_robot_application_version/builders.rs @@ -19,9 +19,9 @@ impl CreateRobotApplicationVersionFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl CreateRobotApplicationVersionFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::create_robot_application_version::CreateRobotApplicationVersion, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::create_robot_application_version::CreateRobotApplicationVersionError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                  The application information for the robot application.

                                                                                                                                                                                                                                                                                                                                                  pub fn application(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.application(input.into()); diff --git a/sdk/robomaker/src/operation/create_simulation_application/builders.rs b/sdk/robomaker/src/operation/create_simulation_application/builders.rs index 6b26cfbc038a..30db35a88ead 100644 --- a/sdk/robomaker/src/operation/create_simulation_application/builders.rs +++ b/sdk/robomaker/src/operation/create_simulation_application/builders.rs @@ -19,9 +19,9 @@ impl CreateSimulationApplicationFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl CreateSimulationApplicationFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::create_simulation_application::CreateSimulationApplication, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::create_simulation_application::CreateSimulationApplicationError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                  The name of the simulation application.

                                                                                                                                                                                                                                                                                                                                                  pub fn name(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.name(input.into()); diff --git a/sdk/robomaker/src/operation/create_simulation_application_version/builders.rs b/sdk/robomaker/src/operation/create_simulation_application_version/builders.rs index ca8f206a4ed3..de8888e93279 100644 --- a/sdk/robomaker/src/operation/create_simulation_application_version/builders.rs +++ b/sdk/robomaker/src/operation/create_simulation_application_version/builders.rs @@ -19,9 +19,9 @@ impl CreateSimulationApplicationVersionFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize(self) -> ::std::result::Result< + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware(self) -> ::std::result::Result< crate::client::customize::CustomizableOperation, ::aws_smithy_http::result::SdkError >{ @@ -64,6 +64,15 @@ impl CreateSimulationApplicationVersionFluentBuilder { { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize(self) -> ::std::result::Result< + crate::client::customize::CustomizableOperation, + ::aws_smithy_http::result::SdkError + >{ + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                  The application information for the simulation application.

                                                                                                                                                                                                                                                                                                                                                  pub fn application(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.application(input.into()); diff --git a/sdk/robomaker/src/operation/create_simulation_job/builders.rs b/sdk/robomaker/src/operation/create_simulation_job/builders.rs index 3498e3a434f6..cdb6e49efeb2 100644 --- a/sdk/robomaker/src/operation/create_simulation_job/builders.rs +++ b/sdk/robomaker/src/operation/create_simulation_job/builders.rs @@ -21,9 +21,9 @@ impl CreateSimulationJobFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -85,6 +85,22 @@ impl CreateSimulationJobFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::create_simulation_job::CreateSimulationJob, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::create_simulation_job::CreateSimulationJobError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                  Unique, case-sensitive identifier that you provide to ensure the idempotency of the request.

                                                                                                                                                                                                                                                                                                                                                  pub fn client_request_token( mut self, diff --git a/sdk/robomaker/src/operation/create_world_export_job/builders.rs b/sdk/robomaker/src/operation/create_world_export_job/builders.rs index 1c823af8f49d..b40102e2d4b5 100644 --- a/sdk/robomaker/src/operation/create_world_export_job/builders.rs +++ b/sdk/robomaker/src/operation/create_world_export_job/builders.rs @@ -19,9 +19,9 @@ impl CreateWorldExportJobFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl CreateWorldExportJobFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::create_world_export_job::CreateWorldExportJob, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::create_world_export_job::CreateWorldExportJobError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                  Unique, case-sensitive identifier that you provide to ensure the idempotency of the request.

                                                                                                                                                                                                                                                                                                                                                  pub fn client_request_token( mut self, diff --git a/sdk/robomaker/src/operation/create_world_generation_job/builders.rs b/sdk/robomaker/src/operation/create_world_generation_job/builders.rs index 4e7925a70b4c..261392b48ca6 100644 --- a/sdk/robomaker/src/operation/create_world_generation_job/builders.rs +++ b/sdk/robomaker/src/operation/create_world_generation_job/builders.rs @@ -19,9 +19,9 @@ impl CreateWorldGenerationJobFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl CreateWorldGenerationJobFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::create_world_generation_job::CreateWorldGenerationJob, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::create_world_generation_job::CreateWorldGenerationJobError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                  Unique, case-sensitive identifier that you provide to ensure the idempotency of the request.

                                                                                                                                                                                                                                                                                                                                                  pub fn client_request_token( mut self, diff --git a/sdk/robomaker/src/operation/create_world_template/builders.rs b/sdk/robomaker/src/operation/create_world_template/builders.rs index 41f247848964..87f8316a9c09 100644 --- a/sdk/robomaker/src/operation/create_world_template/builders.rs +++ b/sdk/robomaker/src/operation/create_world_template/builders.rs @@ -19,9 +19,9 @@ impl CreateWorldTemplateFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl CreateWorldTemplateFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::create_world_template::CreateWorldTemplate, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::create_world_template::CreateWorldTemplateError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                  Unique, case-sensitive identifier that you provide to ensure the idempotency of the request.

                                                                                                                                                                                                                                                                                                                                                  pub fn client_request_token( mut self, diff --git a/sdk/robomaker/src/operation/delete_fleet/builders.rs b/sdk/robomaker/src/operation/delete_fleet/builders.rs index 9a7d093b7526..e2ebf02f1a95 100644 --- a/sdk/robomaker/src/operation/delete_fleet/builders.rs +++ b/sdk/robomaker/src/operation/delete_fleet/builders.rs @@ -24,9 +24,9 @@ impl DeleteFleetFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -82,6 +82,20 @@ impl DeleteFleetFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::delete_fleet::DeleteFleet, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                  The Amazon Resource Name (ARN) of the fleet.

                                                                                                                                                                                                                                                                                                                                                  pub fn fleet(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.fleet(input.into()); diff --git a/sdk/robomaker/src/operation/delete_robot/builders.rs b/sdk/robomaker/src/operation/delete_robot/builders.rs index 8e1ff67b091b..078f7020fbf0 100644 --- a/sdk/robomaker/src/operation/delete_robot/builders.rs +++ b/sdk/robomaker/src/operation/delete_robot/builders.rs @@ -24,9 +24,9 @@ impl DeleteRobotFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -82,6 +82,20 @@ impl DeleteRobotFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::delete_robot::DeleteRobot, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                  The Amazon Resource Name (ARN) of the robot.

                                                                                                                                                                                                                                                                                                                                                  pub fn robot(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.robot(input.into()); diff --git a/sdk/robomaker/src/operation/delete_robot_application/builders.rs b/sdk/robomaker/src/operation/delete_robot_application/builders.rs index 2c76b1374ebe..144d632791a1 100644 --- a/sdk/robomaker/src/operation/delete_robot_application/builders.rs +++ b/sdk/robomaker/src/operation/delete_robot_application/builders.rs @@ -19,9 +19,9 @@ impl DeleteRobotApplicationFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl DeleteRobotApplicationFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::delete_robot_application::DeleteRobotApplication, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::delete_robot_application::DeleteRobotApplicationError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                  The Amazon Resource Name (ARN) of the the robot application.

                                                                                                                                                                                                                                                                                                                                                  pub fn application(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.application(input.into()); diff --git a/sdk/robomaker/src/operation/delete_simulation_application/builders.rs b/sdk/robomaker/src/operation/delete_simulation_application/builders.rs index fff80004a431..2c4456d7278d 100644 --- a/sdk/robomaker/src/operation/delete_simulation_application/builders.rs +++ b/sdk/robomaker/src/operation/delete_simulation_application/builders.rs @@ -19,9 +19,9 @@ impl DeleteSimulationApplicationFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl DeleteSimulationApplicationFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::delete_simulation_application::DeleteSimulationApplication, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::delete_simulation_application::DeleteSimulationApplicationError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                  The application information for the simulation application to delete.

                                                                                                                                                                                                                                                                                                                                                  pub fn application(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.application(input.into()); diff --git a/sdk/robomaker/src/operation/delete_world_template/builders.rs b/sdk/robomaker/src/operation/delete_world_template/builders.rs index 925b1500d543..07bf7a67231f 100644 --- a/sdk/robomaker/src/operation/delete_world_template/builders.rs +++ b/sdk/robomaker/src/operation/delete_world_template/builders.rs @@ -19,9 +19,9 @@ impl DeleteWorldTemplateFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl DeleteWorldTemplateFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::delete_world_template::DeleteWorldTemplate, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::delete_world_template::DeleteWorldTemplateError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                  The Amazon Resource Name (arn) of the world template you want to delete.

                                                                                                                                                                                                                                                                                                                                                  pub fn template(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.template(input.into()); diff --git a/sdk/robomaker/src/operation/deregister_robot/builders.rs b/sdk/robomaker/src/operation/deregister_robot/builders.rs index b274481b77df..53619c3dc19b 100644 --- a/sdk/robomaker/src/operation/deregister_robot/builders.rs +++ b/sdk/robomaker/src/operation/deregister_robot/builders.rs @@ -24,9 +24,9 @@ impl DeregisterRobotFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -88,6 +88,22 @@ impl DeregisterRobotFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::deregister_robot::DeregisterRobot, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::deregister_robot::DeregisterRobotError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                  The Amazon Resource Name (ARN) of the fleet.

                                                                                                                                                                                                                                                                                                                                                  pub fn fleet(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.fleet(input.into()); diff --git a/sdk/robomaker/src/operation/describe_deployment_job/builders.rs b/sdk/robomaker/src/operation/describe_deployment_job/builders.rs index a2de10c54483..354110b282cc 100644 --- a/sdk/robomaker/src/operation/describe_deployment_job/builders.rs +++ b/sdk/robomaker/src/operation/describe_deployment_job/builders.rs @@ -24,9 +24,9 @@ impl DescribeDeploymentJobFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -88,6 +88,22 @@ impl DescribeDeploymentJobFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::describe_deployment_job::DescribeDeploymentJob, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::describe_deployment_job::DescribeDeploymentJobError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                  The Amazon Resource Name (ARN) of the deployment job.

                                                                                                                                                                                                                                                                                                                                                  pub fn job(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.job(input.into()); diff --git a/sdk/robomaker/src/operation/describe_fleet/builders.rs b/sdk/robomaker/src/operation/describe_fleet/builders.rs index aefbc3bb7166..eb10be507b60 100644 --- a/sdk/robomaker/src/operation/describe_fleet/builders.rs +++ b/sdk/robomaker/src/operation/describe_fleet/builders.rs @@ -24,9 +24,9 @@ impl DescribeFleetFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -82,6 +82,20 @@ impl DescribeFleetFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::describe_fleet::DescribeFleet, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                  The Amazon Resource Name (ARN) of the fleet.

                                                                                                                                                                                                                                                                                                                                                  pub fn fleet(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.fleet(input.into()); diff --git a/sdk/robomaker/src/operation/describe_robot/builders.rs b/sdk/robomaker/src/operation/describe_robot/builders.rs index 0cce5f9875ae..573b77688369 100644 --- a/sdk/robomaker/src/operation/describe_robot/builders.rs +++ b/sdk/robomaker/src/operation/describe_robot/builders.rs @@ -24,9 +24,9 @@ impl DescribeRobotFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -82,6 +82,20 @@ impl DescribeRobotFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::describe_robot::DescribeRobot, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                  The Amazon Resource Name (ARN) of the robot to be described.

                                                                                                                                                                                                                                                                                                                                                  pub fn robot(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.robot(input.into()); diff --git a/sdk/robomaker/src/operation/describe_robot_application/builders.rs b/sdk/robomaker/src/operation/describe_robot_application/builders.rs index c790f3c53a47..4b2b1488d2cd 100644 --- a/sdk/robomaker/src/operation/describe_robot_application/builders.rs +++ b/sdk/robomaker/src/operation/describe_robot_application/builders.rs @@ -19,9 +19,9 @@ impl DescribeRobotApplicationFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl DescribeRobotApplicationFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::describe_robot_application::DescribeRobotApplication, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::describe_robot_application::DescribeRobotApplicationError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                  The Amazon Resource Name (ARN) of the robot application.

                                                                                                                                                                                                                                                                                                                                                  pub fn application(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.application(input.into()); diff --git a/sdk/robomaker/src/operation/describe_simulation_application/builders.rs b/sdk/robomaker/src/operation/describe_simulation_application/builders.rs index 6c994139a898..10e96b6ccf20 100644 --- a/sdk/robomaker/src/operation/describe_simulation_application/builders.rs +++ b/sdk/robomaker/src/operation/describe_simulation_application/builders.rs @@ -19,9 +19,9 @@ impl DescribeSimulationApplicationFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl DescribeSimulationApplicationFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::describe_simulation_application::DescribeSimulationApplication, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::describe_simulation_application::DescribeSimulationApplicationError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                  The application information for the simulation application.

                                                                                                                                                                                                                                                                                                                                                  pub fn application(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.application(input.into()); diff --git a/sdk/robomaker/src/operation/describe_simulation_job/builders.rs b/sdk/robomaker/src/operation/describe_simulation_job/builders.rs index c000c04c891b..c3252c9bec71 100644 --- a/sdk/robomaker/src/operation/describe_simulation_job/builders.rs +++ b/sdk/robomaker/src/operation/describe_simulation_job/builders.rs @@ -19,9 +19,9 @@ impl DescribeSimulationJobFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl DescribeSimulationJobFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::describe_simulation_job::DescribeSimulationJob, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::describe_simulation_job::DescribeSimulationJobError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                  The Amazon Resource Name (ARN) of the simulation job to be described.

                                                                                                                                                                                                                                                                                                                                                  pub fn job(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.job(input.into()); diff --git a/sdk/robomaker/src/operation/describe_simulation_job_batch/builders.rs b/sdk/robomaker/src/operation/describe_simulation_job_batch/builders.rs index b129a74b5bf8..7258deb7861f 100644 --- a/sdk/robomaker/src/operation/describe_simulation_job_batch/builders.rs +++ b/sdk/robomaker/src/operation/describe_simulation_job_batch/builders.rs @@ -19,9 +19,9 @@ impl DescribeSimulationJobBatchFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl DescribeSimulationJobBatchFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::describe_simulation_job_batch::DescribeSimulationJobBatch, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::describe_simulation_job_batch::DescribeSimulationJobBatchError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                  The id of the batch to describe.

                                                                                                                                                                                                                                                                                                                                                  pub fn batch(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.batch(input.into()); diff --git a/sdk/robomaker/src/operation/describe_world/builders.rs b/sdk/robomaker/src/operation/describe_world/builders.rs index 464f8c8869b1..33abb85d5f2a 100644 --- a/sdk/robomaker/src/operation/describe_world/builders.rs +++ b/sdk/robomaker/src/operation/describe_world/builders.rs @@ -19,9 +19,9 @@ impl DescribeWorldFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl DescribeWorldFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::describe_world::DescribeWorld, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                  The Amazon Resource Name (arn) of the world you want to describe.

                                                                                                                                                                                                                                                                                                                                                  pub fn world(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.world(input.into()); diff --git a/sdk/robomaker/src/operation/describe_world_export_job/builders.rs b/sdk/robomaker/src/operation/describe_world_export_job/builders.rs index d606dfb3c93f..0624bec71933 100644 --- a/sdk/robomaker/src/operation/describe_world_export_job/builders.rs +++ b/sdk/robomaker/src/operation/describe_world_export_job/builders.rs @@ -20,9 +20,9 @@ impl DescribeWorldExportJobFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -84,6 +84,22 @@ impl DescribeWorldExportJobFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::describe_world_export_job::DescribeWorldExportJob, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::describe_world_export_job::DescribeWorldExportJobError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                  The Amazon Resource Name (arn) of the world export job to describe.

                                                                                                                                                                                                                                                                                                                                                  pub fn job(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.job(input.into()); diff --git a/sdk/robomaker/src/operation/describe_world_generation_job/builders.rs b/sdk/robomaker/src/operation/describe_world_generation_job/builders.rs index bccfb6094819..801b3dc7d93b 100644 --- a/sdk/robomaker/src/operation/describe_world_generation_job/builders.rs +++ b/sdk/robomaker/src/operation/describe_world_generation_job/builders.rs @@ -19,9 +19,9 @@ impl DescribeWorldGenerationJobFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl DescribeWorldGenerationJobFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::describe_world_generation_job::DescribeWorldGenerationJob, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::describe_world_generation_job::DescribeWorldGenerationJobError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                  The Amazon Resource Name (arn) of the world generation job to describe.

                                                                                                                                                                                                                                                                                                                                                  pub fn job(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.job(input.into()); diff --git a/sdk/robomaker/src/operation/describe_world_template/builders.rs b/sdk/robomaker/src/operation/describe_world_template/builders.rs index d36dd148d2b5..391e097eee5e 100644 --- a/sdk/robomaker/src/operation/describe_world_template/builders.rs +++ b/sdk/robomaker/src/operation/describe_world_template/builders.rs @@ -19,9 +19,9 @@ impl DescribeWorldTemplateFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl DescribeWorldTemplateFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::describe_world_template::DescribeWorldTemplate, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::describe_world_template::DescribeWorldTemplateError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                  The Amazon Resource Name (arn) of the world template you want to describe.

                                                                                                                                                                                                                                                                                                                                                  pub fn template(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.template(input.into()); diff --git a/sdk/robomaker/src/operation/get_world_template_body/builders.rs b/sdk/robomaker/src/operation/get_world_template_body/builders.rs index 650a1e563341..5710825b2200 100644 --- a/sdk/robomaker/src/operation/get_world_template_body/builders.rs +++ b/sdk/robomaker/src/operation/get_world_template_body/builders.rs @@ -19,9 +19,9 @@ impl GetWorldTemplateBodyFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl GetWorldTemplateBodyFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::get_world_template_body::GetWorldTemplateBody, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::get_world_template_body::GetWorldTemplateBodyError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                  The Amazon Resource Name (arn) of the world template.

                                                                                                                                                                                                                                                                                                                                                  pub fn template(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.template(input.into()); diff --git a/sdk/robomaker/src/operation/list_deployment_jobs/builders.rs b/sdk/robomaker/src/operation/list_deployment_jobs/builders.rs index ccd6fbb09810..30cf4151104f 100644 --- a/sdk/robomaker/src/operation/list_deployment_jobs/builders.rs +++ b/sdk/robomaker/src/operation/list_deployment_jobs/builders.rs @@ -24,9 +24,9 @@ impl ListDeploymentJobsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -88,6 +88,22 @@ impl ListDeploymentJobsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_deployment_jobs::ListDeploymentJobs, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::list_deployment_jobs::ListDeploymentJobsError, + >, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::list_deployment_jobs::paginator::ListDeploymentJobsPaginator::send) which returns a `Stream`. diff --git a/sdk/robomaker/src/operation/list_fleets/builders.rs b/sdk/robomaker/src/operation/list_fleets/builders.rs index 61a4eaa43b58..088527245a66 100644 --- a/sdk/robomaker/src/operation/list_fleets/builders.rs +++ b/sdk/robomaker/src/operation/list_fleets/builders.rs @@ -24,9 +24,9 @@ impl ListFleetsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -82,6 +82,20 @@ impl ListFleetsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_fleets::ListFleets, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::list_fleets::paginator::ListFleetsPaginator::send) which returns a `Stream`. diff --git a/sdk/robomaker/src/operation/list_robot_applications/builders.rs b/sdk/robomaker/src/operation/list_robot_applications/builders.rs index 0b8e43e469a2..97be7f60194b 100644 --- a/sdk/robomaker/src/operation/list_robot_applications/builders.rs +++ b/sdk/robomaker/src/operation/list_robot_applications/builders.rs @@ -19,9 +19,9 @@ impl ListRobotApplicationsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl ListRobotApplicationsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_robot_applications::ListRobotApplications, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::list_robot_applications::ListRobotApplicationsError, + >, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::list_robot_applications::paginator::ListRobotApplicationsPaginator::send) which returns a `Stream`. diff --git a/sdk/robomaker/src/operation/list_robots/builders.rs b/sdk/robomaker/src/operation/list_robots/builders.rs index 3e99057a2a89..8bc13b60780d 100644 --- a/sdk/robomaker/src/operation/list_robots/builders.rs +++ b/sdk/robomaker/src/operation/list_robots/builders.rs @@ -24,9 +24,9 @@ impl ListRobotsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -82,6 +82,20 @@ impl ListRobotsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_robots::ListRobots, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::list_robots::paginator::ListRobotsPaginator::send) which returns a `Stream`. diff --git a/sdk/robomaker/src/operation/list_simulation_applications/builders.rs b/sdk/robomaker/src/operation/list_simulation_applications/builders.rs index ba2871b091c6..ee8e40240944 100644 --- a/sdk/robomaker/src/operation/list_simulation_applications/builders.rs +++ b/sdk/robomaker/src/operation/list_simulation_applications/builders.rs @@ -19,9 +19,9 @@ impl ListSimulationApplicationsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl ListSimulationApplicationsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_simulation_applications::ListSimulationApplications, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::list_simulation_applications::ListSimulationApplicationsError, + >, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::list_simulation_applications::paginator::ListSimulationApplicationsPaginator::send) which returns a `Stream`. diff --git a/sdk/robomaker/src/operation/list_simulation_job_batches/builders.rs b/sdk/robomaker/src/operation/list_simulation_job_batches/builders.rs index a85db84480b9..adb3e8a70e45 100644 --- a/sdk/robomaker/src/operation/list_simulation_job_batches/builders.rs +++ b/sdk/robomaker/src/operation/list_simulation_job_batches/builders.rs @@ -19,9 +19,9 @@ impl ListSimulationJobBatchesFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl ListSimulationJobBatchesFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_simulation_job_batches::ListSimulationJobBatches, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::list_simulation_job_batches::ListSimulationJobBatchesError, + >, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::list_simulation_job_batches::paginator::ListSimulationJobBatchesPaginator::send) which returns a `Stream`. diff --git a/sdk/robomaker/src/operation/list_simulation_jobs/builders.rs b/sdk/robomaker/src/operation/list_simulation_jobs/builders.rs index 5cea5e277d96..7d9fc3cae79d 100644 --- a/sdk/robomaker/src/operation/list_simulation_jobs/builders.rs +++ b/sdk/robomaker/src/operation/list_simulation_jobs/builders.rs @@ -19,9 +19,9 @@ impl ListSimulationJobsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl ListSimulationJobsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_simulation_jobs::ListSimulationJobs, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::list_simulation_jobs::ListSimulationJobsError, + >, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::list_simulation_jobs::paginator::ListSimulationJobsPaginator::send) which returns a `Stream`. diff --git a/sdk/robomaker/src/operation/list_tags_for_resource/builders.rs b/sdk/robomaker/src/operation/list_tags_for_resource/builders.rs index 2b93a4a67f82..82fb58ac5596 100644 --- a/sdk/robomaker/src/operation/list_tags_for_resource/builders.rs +++ b/sdk/robomaker/src/operation/list_tags_for_resource/builders.rs @@ -19,9 +19,9 @@ impl ListTagsForResourceFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl ListTagsForResourceFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_tags_for_resource::ListTagsForResource, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::list_tags_for_resource::ListTagsForResourceError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                  The AWS RoboMaker Amazon Resource Name (ARN) with tags to be listed.

                                                                                                                                                                                                                                                                                                                                                  pub fn resource_arn(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.resource_arn(input.into()); diff --git a/sdk/robomaker/src/operation/list_world_export_jobs/builders.rs b/sdk/robomaker/src/operation/list_world_export_jobs/builders.rs index c8d63d359d71..e7e5802a2595 100644 --- a/sdk/robomaker/src/operation/list_world_export_jobs/builders.rs +++ b/sdk/robomaker/src/operation/list_world_export_jobs/builders.rs @@ -19,9 +19,9 @@ impl ListWorldExportJobsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl ListWorldExportJobsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_world_export_jobs::ListWorldExportJobs, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::list_world_export_jobs::ListWorldExportJobsError, + >, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::list_world_export_jobs::paginator::ListWorldExportJobsPaginator::send) which returns a `Stream`. diff --git a/sdk/robomaker/src/operation/list_world_generation_jobs/builders.rs b/sdk/robomaker/src/operation/list_world_generation_jobs/builders.rs index b94e69ade76c..e81c5c64e629 100644 --- a/sdk/robomaker/src/operation/list_world_generation_jobs/builders.rs +++ b/sdk/robomaker/src/operation/list_world_generation_jobs/builders.rs @@ -20,9 +20,9 @@ impl ListWorldGenerationJobsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -84,6 +84,22 @@ impl ListWorldGenerationJobsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_world_generation_jobs::ListWorldGenerationJobs, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::list_world_generation_jobs::ListWorldGenerationJobsError, + >, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::list_world_generation_jobs::paginator::ListWorldGenerationJobsPaginator::send) which returns a `Stream`. diff --git a/sdk/robomaker/src/operation/list_world_templates/builders.rs b/sdk/robomaker/src/operation/list_world_templates/builders.rs index 402ec099b84f..84f1ffb34216 100644 --- a/sdk/robomaker/src/operation/list_world_templates/builders.rs +++ b/sdk/robomaker/src/operation/list_world_templates/builders.rs @@ -19,9 +19,9 @@ impl ListWorldTemplatesFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl ListWorldTemplatesFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_world_templates::ListWorldTemplates, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::list_world_templates::ListWorldTemplatesError, + >, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::list_world_templates::paginator::ListWorldTemplatesPaginator::send) which returns a `Stream`. diff --git a/sdk/robomaker/src/operation/list_worlds/builders.rs b/sdk/robomaker/src/operation/list_worlds/builders.rs index 963fe494b3de..b9f5957b21c0 100644 --- a/sdk/robomaker/src/operation/list_worlds/builders.rs +++ b/sdk/robomaker/src/operation/list_worlds/builders.rs @@ -19,9 +19,9 @@ impl ListWorldsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl ListWorldsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_worlds::ListWorlds, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::list_worlds::paginator::ListWorldsPaginator::send) which returns a `Stream`. diff --git a/sdk/robomaker/src/operation/register_robot/builders.rs b/sdk/robomaker/src/operation/register_robot/builders.rs index 0da898aed54f..807bebf10c29 100644 --- a/sdk/robomaker/src/operation/register_robot/builders.rs +++ b/sdk/robomaker/src/operation/register_robot/builders.rs @@ -24,9 +24,9 @@ impl RegisterRobotFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -82,6 +82,20 @@ impl RegisterRobotFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::register_robot::RegisterRobot, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                  The Amazon Resource Name (ARN) of the fleet.

                                                                                                                                                                                                                                                                                                                                                  pub fn fleet(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.fleet(input.into()); diff --git a/sdk/robomaker/src/operation/restart_simulation_job/builders.rs b/sdk/robomaker/src/operation/restart_simulation_job/builders.rs index c4026b796695..4bc9a93c6224 100644 --- a/sdk/robomaker/src/operation/restart_simulation_job/builders.rs +++ b/sdk/robomaker/src/operation/restart_simulation_job/builders.rs @@ -19,9 +19,9 @@ impl RestartSimulationJobFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl RestartSimulationJobFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::restart_simulation_job::RestartSimulationJob, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::restart_simulation_job::RestartSimulationJobError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                  The Amazon Resource Name (ARN) of the simulation job.

                                                                                                                                                                                                                                                                                                                                                  pub fn job(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.job(input.into()); diff --git a/sdk/robomaker/src/operation/start_simulation_job_batch/builders.rs b/sdk/robomaker/src/operation/start_simulation_job_batch/builders.rs index e8c240e3688c..d66273b6c755 100644 --- a/sdk/robomaker/src/operation/start_simulation_job_batch/builders.rs +++ b/sdk/robomaker/src/operation/start_simulation_job_batch/builders.rs @@ -20,9 +20,9 @@ impl StartSimulationJobBatchFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -84,6 +84,22 @@ impl StartSimulationJobBatchFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::start_simulation_job_batch::StartSimulationJobBatch, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::start_simulation_job_batch::StartSimulationJobBatchError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                  Unique, case-sensitive identifier that you provide to ensure the idempotency of the request.

                                                                                                                                                                                                                                                                                                                                                  pub fn client_request_token( mut self, diff --git a/sdk/robomaker/src/operation/sync_deployment_job/builders.rs b/sdk/robomaker/src/operation/sync_deployment_job/builders.rs index 3b648b5505ed..1480e0318de1 100644 --- a/sdk/robomaker/src/operation/sync_deployment_job/builders.rs +++ b/sdk/robomaker/src/operation/sync_deployment_job/builders.rs @@ -24,9 +24,9 @@ impl SyncDeploymentJobFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -88,6 +88,22 @@ impl SyncDeploymentJobFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::sync_deployment_job::SyncDeploymentJob, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::sync_deployment_job::SyncDeploymentJobError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                  Unique, case-sensitive identifier that you provide to ensure the idempotency of the request.

                                                                                                                                                                                                                                                                                                                                                  pub fn client_request_token( mut self, diff --git a/sdk/robomaker/src/operation/tag_resource/builders.rs b/sdk/robomaker/src/operation/tag_resource/builders.rs index 2c192f0e7373..4f507413d5ed 100644 --- a/sdk/robomaker/src/operation/tag_resource/builders.rs +++ b/sdk/robomaker/src/operation/tag_resource/builders.rs @@ -21,9 +21,9 @@ impl TagResourceFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -79,6 +79,20 @@ impl TagResourceFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::tag_resource::TagResource, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                  The Amazon Resource Name (ARN) of the AWS RoboMaker resource you are tagging.

                                                                                                                                                                                                                                                                                                                                                  pub fn resource_arn(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.resource_arn(input.into()); diff --git a/sdk/robomaker/src/operation/untag_resource/builders.rs b/sdk/robomaker/src/operation/untag_resource/builders.rs index 0de8540ed4bc..fbb831bb517c 100644 --- a/sdk/robomaker/src/operation/untag_resource/builders.rs +++ b/sdk/robomaker/src/operation/untag_resource/builders.rs @@ -20,9 +20,9 @@ impl UntagResourceFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -78,6 +78,20 @@ impl UntagResourceFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::untag_resource::UntagResource, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                  The Amazon Resource Name (ARN) of the AWS RoboMaker resource you are removing tags.

                                                                                                                                                                                                                                                                                                                                                  pub fn resource_arn(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.resource_arn(input.into()); diff --git a/sdk/robomaker/src/operation/update_robot_application/builders.rs b/sdk/robomaker/src/operation/update_robot_application/builders.rs index a607210ed31d..c3946fcf5909 100644 --- a/sdk/robomaker/src/operation/update_robot_application/builders.rs +++ b/sdk/robomaker/src/operation/update_robot_application/builders.rs @@ -19,9 +19,9 @@ impl UpdateRobotApplicationFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl UpdateRobotApplicationFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::update_robot_application::UpdateRobotApplication, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::update_robot_application::UpdateRobotApplicationError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                  The application information for the robot application.

                                                                                                                                                                                                                                                                                                                                                  pub fn application(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.application(input.into()); diff --git a/sdk/robomaker/src/operation/update_simulation_application/builders.rs b/sdk/robomaker/src/operation/update_simulation_application/builders.rs index 61821dcc81e1..3b81509444bc 100644 --- a/sdk/robomaker/src/operation/update_simulation_application/builders.rs +++ b/sdk/robomaker/src/operation/update_simulation_application/builders.rs @@ -19,9 +19,9 @@ impl UpdateSimulationApplicationFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl UpdateSimulationApplicationFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::update_simulation_application::UpdateSimulationApplication, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::update_simulation_application::UpdateSimulationApplicationError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                  The application information for the simulation application.

                                                                                                                                                                                                                                                                                                                                                  pub fn application(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.application(input.into()); diff --git a/sdk/robomaker/src/operation/update_world_template/builders.rs b/sdk/robomaker/src/operation/update_world_template/builders.rs index 23cf831159ed..4d69a303f348 100644 --- a/sdk/robomaker/src/operation/update_world_template/builders.rs +++ b/sdk/robomaker/src/operation/update_world_template/builders.rs @@ -19,9 +19,9 @@ impl UpdateWorldTemplateFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl UpdateWorldTemplateFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::update_world_template::UpdateWorldTemplate, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::update_world_template::UpdateWorldTemplateError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                  The Amazon Resource Name (arn) of the world template to update.

                                                                                                                                                                                                                                                                                                                                                  pub fn template(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.template(input.into()); diff --git a/sdk/rolesanywhere/src/operation/create_profile/builders.rs b/sdk/rolesanywhere/src/operation/create_profile/builders.rs index ffe0c9175639..0713f49c027e 100644 --- a/sdk/rolesanywhere/src/operation/create_profile/builders.rs +++ b/sdk/rolesanywhere/src/operation/create_profile/builders.rs @@ -20,9 +20,9 @@ impl CreateProfileFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -78,6 +78,20 @@ impl CreateProfileFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::create_profile::CreateProfile, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                  The name of the profile.

                                                                                                                                                                                                                                                                                                                                                  pub fn name(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.name(input.into()); diff --git a/sdk/rolesanywhere/src/operation/create_trust_anchor/builders.rs b/sdk/rolesanywhere/src/operation/create_trust_anchor/builders.rs index fdb331c7e406..d054bd5f4c1f 100644 --- a/sdk/rolesanywhere/src/operation/create_trust_anchor/builders.rs +++ b/sdk/rolesanywhere/src/operation/create_trust_anchor/builders.rs @@ -20,9 +20,9 @@ impl CreateTrustAnchorFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -84,6 +84,22 @@ impl CreateTrustAnchorFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::create_trust_anchor::CreateTrustAnchor, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::create_trust_anchor::CreateTrustAnchorError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                  The name of the trust anchor.

                                                                                                                                                                                                                                                                                                                                                  pub fn name(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.name(input.into()); diff --git a/sdk/rolesanywhere/src/operation/delete_crl/builders.rs b/sdk/rolesanywhere/src/operation/delete_crl/builders.rs index c14d71924b58..96e74f744152 100644 --- a/sdk/rolesanywhere/src/operation/delete_crl/builders.rs +++ b/sdk/rolesanywhere/src/operation/delete_crl/builders.rs @@ -20,9 +20,9 @@ impl DeleteCrlFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -78,6 +78,20 @@ impl DeleteCrlFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::delete_crl::DeleteCrl, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                  The unique identifier of the certificate revocation list (CRL).

                                                                                                                                                                                                                                                                                                                                                  pub fn crl_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.crl_id(input.into()); diff --git a/sdk/rolesanywhere/src/operation/delete_profile/builders.rs b/sdk/rolesanywhere/src/operation/delete_profile/builders.rs index c44798b2163f..f37795318e89 100644 --- a/sdk/rolesanywhere/src/operation/delete_profile/builders.rs +++ b/sdk/rolesanywhere/src/operation/delete_profile/builders.rs @@ -20,9 +20,9 @@ impl DeleteProfileFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -78,6 +78,20 @@ impl DeleteProfileFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::delete_profile::DeleteProfile, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                  The unique identifier of the profile.

                                                                                                                                                                                                                                                                                                                                                  pub fn profile_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.profile_id(input.into()); diff --git a/sdk/rolesanywhere/src/operation/delete_trust_anchor/builders.rs b/sdk/rolesanywhere/src/operation/delete_trust_anchor/builders.rs index 23e3741b2df7..e0575237437b 100644 --- a/sdk/rolesanywhere/src/operation/delete_trust_anchor/builders.rs +++ b/sdk/rolesanywhere/src/operation/delete_trust_anchor/builders.rs @@ -20,9 +20,9 @@ impl DeleteTrustAnchorFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -84,6 +84,22 @@ impl DeleteTrustAnchorFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::delete_trust_anchor::DeleteTrustAnchor, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::delete_trust_anchor::DeleteTrustAnchorError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                  The unique identifier of the trust anchor.

                                                                                                                                                                                                                                                                                                                                                  pub fn trust_anchor_id( mut self, diff --git a/sdk/rolesanywhere/src/operation/disable_crl/builders.rs b/sdk/rolesanywhere/src/operation/disable_crl/builders.rs index dfc6ca16d3f7..41101eaf34b1 100644 --- a/sdk/rolesanywhere/src/operation/disable_crl/builders.rs +++ b/sdk/rolesanywhere/src/operation/disable_crl/builders.rs @@ -20,9 +20,9 @@ impl DisableCrlFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -78,6 +78,20 @@ impl DisableCrlFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::disable_crl::DisableCrl, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                  The unique identifier of the certificate revocation list (CRL).

                                                                                                                                                                                                                                                                                                                                                  pub fn crl_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.crl_id(input.into()); diff --git a/sdk/rolesanywhere/src/operation/disable_profile/builders.rs b/sdk/rolesanywhere/src/operation/disable_profile/builders.rs index 5fe1b9a5e6d0..f7bbb1ee5bf3 100644 --- a/sdk/rolesanywhere/src/operation/disable_profile/builders.rs +++ b/sdk/rolesanywhere/src/operation/disable_profile/builders.rs @@ -20,9 +20,9 @@ impl DisableProfileFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -78,6 +78,20 @@ impl DisableProfileFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::disable_profile::DisableProfile, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                  The unique identifier of the profile.

                                                                                                                                                                                                                                                                                                                                                  pub fn profile_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.profile_id(input.into()); diff --git a/sdk/rolesanywhere/src/operation/disable_trust_anchor/builders.rs b/sdk/rolesanywhere/src/operation/disable_trust_anchor/builders.rs index 0a5c0f81cf04..b1b2ed3a93ce 100644 --- a/sdk/rolesanywhere/src/operation/disable_trust_anchor/builders.rs +++ b/sdk/rolesanywhere/src/operation/disable_trust_anchor/builders.rs @@ -20,9 +20,9 @@ impl DisableTrustAnchorFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -84,6 +84,22 @@ impl DisableTrustAnchorFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::disable_trust_anchor::DisableTrustAnchor, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::disable_trust_anchor::DisableTrustAnchorError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                  The unique identifier of the trust anchor.

                                                                                                                                                                                                                                                                                                                                                  pub fn trust_anchor_id( mut self, diff --git a/sdk/rolesanywhere/src/operation/enable_crl/builders.rs b/sdk/rolesanywhere/src/operation/enable_crl/builders.rs index f67683bfba65..aa52890607bd 100644 --- a/sdk/rolesanywhere/src/operation/enable_crl/builders.rs +++ b/sdk/rolesanywhere/src/operation/enable_crl/builders.rs @@ -20,9 +20,9 @@ impl EnableCrlFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -78,6 +78,20 @@ impl EnableCrlFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::enable_crl::EnableCrl, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                  The unique identifier of the certificate revocation list (CRL).

                                                                                                                                                                                                                                                                                                                                                  pub fn crl_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.crl_id(input.into()); diff --git a/sdk/rolesanywhere/src/operation/enable_profile/builders.rs b/sdk/rolesanywhere/src/operation/enable_profile/builders.rs index 4c26e8833780..b2b88063ccac 100644 --- a/sdk/rolesanywhere/src/operation/enable_profile/builders.rs +++ b/sdk/rolesanywhere/src/operation/enable_profile/builders.rs @@ -20,9 +20,9 @@ impl EnableProfileFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -78,6 +78,20 @@ impl EnableProfileFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::enable_profile::EnableProfile, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                  The unique identifier of the profile.

                                                                                                                                                                                                                                                                                                                                                  pub fn profile_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.profile_id(input.into()); diff --git a/sdk/rolesanywhere/src/operation/enable_trust_anchor/builders.rs b/sdk/rolesanywhere/src/operation/enable_trust_anchor/builders.rs index 0fe874ffe3d5..01385012490f 100644 --- a/sdk/rolesanywhere/src/operation/enable_trust_anchor/builders.rs +++ b/sdk/rolesanywhere/src/operation/enable_trust_anchor/builders.rs @@ -20,9 +20,9 @@ impl EnableTrustAnchorFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -84,6 +84,22 @@ impl EnableTrustAnchorFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::enable_trust_anchor::EnableTrustAnchor, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::enable_trust_anchor::EnableTrustAnchorError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                  The unique identifier of the trust anchor.

                                                                                                                                                                                                                                                                                                                                                  pub fn trust_anchor_id( mut self, diff --git a/sdk/rolesanywhere/src/operation/get_crl/builders.rs b/sdk/rolesanywhere/src/operation/get_crl/builders.rs index 85d78eccfd57..1c52fd91c387 100644 --- a/sdk/rolesanywhere/src/operation/get_crl/builders.rs +++ b/sdk/rolesanywhere/src/operation/get_crl/builders.rs @@ -20,9 +20,9 @@ impl GetCrlFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -78,6 +78,20 @@ impl GetCrlFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::get_crl::GetCrl, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                  The unique identifier of the certificate revocation list (CRL).

                                                                                                                                                                                                                                                                                                                                                  pub fn crl_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.crl_id(input.into()); diff --git a/sdk/rolesanywhere/src/operation/get_profile/builders.rs b/sdk/rolesanywhere/src/operation/get_profile/builders.rs index 586cce99daa0..d751bfe49a72 100644 --- a/sdk/rolesanywhere/src/operation/get_profile/builders.rs +++ b/sdk/rolesanywhere/src/operation/get_profile/builders.rs @@ -20,9 +20,9 @@ impl GetProfileFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -78,6 +78,20 @@ impl GetProfileFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::get_profile::GetProfile, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                  The unique identifier of the profile.

                                                                                                                                                                                                                                                                                                                                                  pub fn profile_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.profile_id(input.into()); diff --git a/sdk/rolesanywhere/src/operation/get_subject/builders.rs b/sdk/rolesanywhere/src/operation/get_subject/builders.rs index 5a5751645ced..a3ba09b04e7b 100644 --- a/sdk/rolesanywhere/src/operation/get_subject/builders.rs +++ b/sdk/rolesanywhere/src/operation/get_subject/builders.rs @@ -20,9 +20,9 @@ impl GetSubjectFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -78,6 +78,20 @@ impl GetSubjectFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::get_subject::GetSubject, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                  The unique identifier of the subject.

                                                                                                                                                                                                                                                                                                                                                  pub fn subject_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.subject_id(input.into()); diff --git a/sdk/rolesanywhere/src/operation/get_trust_anchor/builders.rs b/sdk/rolesanywhere/src/operation/get_trust_anchor/builders.rs index fa88751cb24d..8fc1b1e38e5b 100644 --- a/sdk/rolesanywhere/src/operation/get_trust_anchor/builders.rs +++ b/sdk/rolesanywhere/src/operation/get_trust_anchor/builders.rs @@ -20,9 +20,9 @@ impl GetTrustAnchorFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -84,6 +84,22 @@ impl GetTrustAnchorFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::get_trust_anchor::GetTrustAnchor, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::get_trust_anchor::GetTrustAnchorError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                  The unique identifier of the trust anchor.

                                                                                                                                                                                                                                                                                                                                                  pub fn trust_anchor_id( mut self, diff --git a/sdk/rolesanywhere/src/operation/import_crl/builders.rs b/sdk/rolesanywhere/src/operation/import_crl/builders.rs index df090fe8254b..39d8f63be13e 100644 --- a/sdk/rolesanywhere/src/operation/import_crl/builders.rs +++ b/sdk/rolesanywhere/src/operation/import_crl/builders.rs @@ -20,9 +20,9 @@ impl ImportCrlFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -78,6 +78,20 @@ impl ImportCrlFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::import_crl::ImportCrl, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                  The name of the certificate revocation list (CRL).

                                                                                                                                                                                                                                                                                                                                                  pub fn name(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.name(input.into()); diff --git a/sdk/rolesanywhere/src/operation/list_crls/builders.rs b/sdk/rolesanywhere/src/operation/list_crls/builders.rs index a1614c7a7079..8a5c7471dbfd 100644 --- a/sdk/rolesanywhere/src/operation/list_crls/builders.rs +++ b/sdk/rolesanywhere/src/operation/list_crls/builders.rs @@ -20,9 +20,9 @@ impl ListCrlsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -78,6 +78,20 @@ impl ListCrlsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_crls::ListCrls, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::list_crls::paginator::ListCrlsPaginator::send) which returns a `Stream`. diff --git a/sdk/rolesanywhere/src/operation/list_profiles/builders.rs b/sdk/rolesanywhere/src/operation/list_profiles/builders.rs index fc7ccb384f5d..cf556699a4e9 100644 --- a/sdk/rolesanywhere/src/operation/list_profiles/builders.rs +++ b/sdk/rolesanywhere/src/operation/list_profiles/builders.rs @@ -20,9 +20,9 @@ impl ListProfilesFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -78,6 +78,20 @@ impl ListProfilesFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_profiles::ListProfiles, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::list_profiles::paginator::ListProfilesPaginator::send) which returns a `Stream`. diff --git a/sdk/rolesanywhere/src/operation/list_subjects/builders.rs b/sdk/rolesanywhere/src/operation/list_subjects/builders.rs index c79e7580a3d9..44bec49e836c 100644 --- a/sdk/rolesanywhere/src/operation/list_subjects/builders.rs +++ b/sdk/rolesanywhere/src/operation/list_subjects/builders.rs @@ -20,9 +20,9 @@ impl ListSubjectsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -78,6 +78,20 @@ impl ListSubjectsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_subjects::ListSubjects, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::list_subjects::paginator::ListSubjectsPaginator::send) which returns a `Stream`. diff --git a/sdk/rolesanywhere/src/operation/list_tags_for_resource/builders.rs b/sdk/rolesanywhere/src/operation/list_tags_for_resource/builders.rs index fe46ff858db7..915a9d4de5af 100644 --- a/sdk/rolesanywhere/src/operation/list_tags_for_resource/builders.rs +++ b/sdk/rolesanywhere/src/operation/list_tags_for_resource/builders.rs @@ -20,9 +20,9 @@ impl ListTagsForResourceFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -84,6 +84,22 @@ impl ListTagsForResourceFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_tags_for_resource::ListTagsForResource, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::list_tags_for_resource::ListTagsForResourceError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                  The ARN of the resource.

                                                                                                                                                                                                                                                                                                                                                  pub fn resource_arn(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.resource_arn(input.into()); diff --git a/sdk/rolesanywhere/src/operation/list_trust_anchors/builders.rs b/sdk/rolesanywhere/src/operation/list_trust_anchors/builders.rs index 5bebcceb9699..9e668cb9d76f 100644 --- a/sdk/rolesanywhere/src/operation/list_trust_anchors/builders.rs +++ b/sdk/rolesanywhere/src/operation/list_trust_anchors/builders.rs @@ -20,9 +20,9 @@ impl ListTrustAnchorsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -84,6 +84,22 @@ impl ListTrustAnchorsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_trust_anchors::ListTrustAnchors, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::list_trust_anchors::ListTrustAnchorsError, + >, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::list_trust_anchors::paginator::ListTrustAnchorsPaginator::send) which returns a `Stream`. diff --git a/sdk/rolesanywhere/src/operation/put_notification_settings/builders.rs b/sdk/rolesanywhere/src/operation/put_notification_settings/builders.rs index 054d931c9e30..8929b625b468 100644 --- a/sdk/rolesanywhere/src/operation/put_notification_settings/builders.rs +++ b/sdk/rolesanywhere/src/operation/put_notification_settings/builders.rs @@ -22,9 +22,9 @@ impl PutNotificationSettingsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -86,6 +86,22 @@ impl PutNotificationSettingsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::put_notification_settings::PutNotificationSettings, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::put_notification_settings::PutNotificationSettingsError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                  The unique identifier of the trust anchor.

                                                                                                                                                                                                                                                                                                                                                  pub fn trust_anchor_id( mut self, diff --git a/sdk/rolesanywhere/src/operation/reset_notification_settings/builders.rs b/sdk/rolesanywhere/src/operation/reset_notification_settings/builders.rs index a1443a9ea752..0c30b9ed1330 100644 --- a/sdk/rolesanywhere/src/operation/reset_notification_settings/builders.rs +++ b/sdk/rolesanywhere/src/operation/reset_notification_settings/builders.rs @@ -20,9 +20,9 @@ impl ResetNotificationSettingsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -84,6 +84,22 @@ impl ResetNotificationSettingsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::reset_notification_settings::ResetNotificationSettings, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::reset_notification_settings::ResetNotificationSettingsError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                  The unique identifier of the trust anchor.

                                                                                                                                                                                                                                                                                                                                                  pub fn trust_anchor_id( mut self, diff --git a/sdk/rolesanywhere/src/operation/tag_resource/builders.rs b/sdk/rolesanywhere/src/operation/tag_resource/builders.rs index 45725d0d28d0..6e9b71fbe0e1 100644 --- a/sdk/rolesanywhere/src/operation/tag_resource/builders.rs +++ b/sdk/rolesanywhere/src/operation/tag_resource/builders.rs @@ -20,9 +20,9 @@ impl TagResourceFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -78,6 +78,20 @@ impl TagResourceFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::tag_resource::TagResource, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                  The ARN of the resource.

                                                                                                                                                                                                                                                                                                                                                  pub fn resource_arn(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.resource_arn(input.into()); diff --git a/sdk/rolesanywhere/src/operation/untag_resource/builders.rs b/sdk/rolesanywhere/src/operation/untag_resource/builders.rs index 4cd9f78b998f..d3b8d33ef39b 100644 --- a/sdk/rolesanywhere/src/operation/untag_resource/builders.rs +++ b/sdk/rolesanywhere/src/operation/untag_resource/builders.rs @@ -20,9 +20,9 @@ impl UntagResourceFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -78,6 +78,20 @@ impl UntagResourceFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::untag_resource::UntagResource, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                  The ARN of the resource.

                                                                                                                                                                                                                                                                                                                                                  pub fn resource_arn(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.resource_arn(input.into()); diff --git a/sdk/rolesanywhere/src/operation/update_crl/builders.rs b/sdk/rolesanywhere/src/operation/update_crl/builders.rs index 8140d4d1cf14..b28e1ff32884 100644 --- a/sdk/rolesanywhere/src/operation/update_crl/builders.rs +++ b/sdk/rolesanywhere/src/operation/update_crl/builders.rs @@ -20,9 +20,9 @@ impl UpdateCrlFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -78,6 +78,20 @@ impl UpdateCrlFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::update_crl::UpdateCrl, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                  The unique identifier of the certificate revocation list (CRL).

                                                                                                                                                                                                                                                                                                                                                  pub fn crl_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.crl_id(input.into()); diff --git a/sdk/rolesanywhere/src/operation/update_profile/builders.rs b/sdk/rolesanywhere/src/operation/update_profile/builders.rs index b0d28b6264bd..83ae98b68791 100644 --- a/sdk/rolesanywhere/src/operation/update_profile/builders.rs +++ b/sdk/rolesanywhere/src/operation/update_profile/builders.rs @@ -20,9 +20,9 @@ impl UpdateProfileFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -78,6 +78,20 @@ impl UpdateProfileFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::update_profile::UpdateProfile, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                  The unique identifier of the profile.

                                                                                                                                                                                                                                                                                                                                                  pub fn profile_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.profile_id(input.into()); diff --git a/sdk/rolesanywhere/src/operation/update_trust_anchor/builders.rs b/sdk/rolesanywhere/src/operation/update_trust_anchor/builders.rs index c7db392eb8fb..f53d60fbe598 100644 --- a/sdk/rolesanywhere/src/operation/update_trust_anchor/builders.rs +++ b/sdk/rolesanywhere/src/operation/update_trust_anchor/builders.rs @@ -20,9 +20,9 @@ impl UpdateTrustAnchorFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -84,6 +84,22 @@ impl UpdateTrustAnchorFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::update_trust_anchor::UpdateTrustAnchor, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::update_trust_anchor::UpdateTrustAnchorError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                  The unique identifier of the trust anchor.

                                                                                                                                                                                                                                                                                                                                                  pub fn trust_anchor_id( mut self, diff --git a/sdk/route53/src/operation/activate_key_signing_key/builders.rs b/sdk/route53/src/operation/activate_key_signing_key/builders.rs index 70ae568fda02..1691ac926a09 100644 --- a/sdk/route53/src/operation/activate_key_signing_key/builders.rs +++ b/sdk/route53/src/operation/activate_key_signing_key/builders.rs @@ -19,9 +19,9 @@ impl ActivateKeySigningKeyFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl ActivateKeySigningKeyFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::activate_key_signing_key::ActivateKeySigningKey, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::activate_key_signing_key::ActivateKeySigningKeyError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                  A unique string used to identify a hosted zone.

                                                                                                                                                                                                                                                                                                                                                  pub fn hosted_zone_id( mut self, diff --git a/sdk/route53/src/operation/associate_vpc_with_hosted_zone/builders.rs b/sdk/route53/src/operation/associate_vpc_with_hosted_zone/builders.rs index 4b05f02bf914..f11282099837 100644 --- a/sdk/route53/src/operation/associate_vpc_with_hosted_zone/builders.rs +++ b/sdk/route53/src/operation/associate_vpc_with_hosted_zone/builders.rs @@ -32,9 +32,9 @@ impl AssociateVPCWithHostedZoneFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -96,6 +96,22 @@ impl AssociateVPCWithHostedZoneFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::associate_vpc_with_hosted_zone::AssociateVPCWithHostedZone, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::associate_vpc_with_hosted_zone::AssociateVPCWithHostedZoneError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                  The ID of the private hosted zone that you want to associate an Amazon VPC with.

                                                                                                                                                                                                                                                                                                                                                  ///

                                                                                                                                                                                                                                                                                                                                                  Note that you can't associate a VPC with a hosted zone that doesn't have an existing VPC association.

                                                                                                                                                                                                                                                                                                                                                  pub fn hosted_zone_id( diff --git a/sdk/route53/src/operation/change_cidr_collection/builders.rs b/sdk/route53/src/operation/change_cidr_collection/builders.rs index 5b15859a59a0..7a84969419da 100644 --- a/sdk/route53/src/operation/change_cidr_collection/builders.rs +++ b/sdk/route53/src/operation/change_cidr_collection/builders.rs @@ -28,9 +28,9 @@ impl ChangeCidrCollectionFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -92,6 +92,22 @@ impl ChangeCidrCollectionFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::change_cidr_collection::ChangeCidrCollection, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::change_cidr_collection::ChangeCidrCollectionError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                  The UUID of the CIDR collection to update.

                                                                                                                                                                                                                                                                                                                                                  pub fn id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.id(input.into()); diff --git a/sdk/route53/src/operation/change_resource_record_sets/builders.rs b/sdk/route53/src/operation/change_resource_record_sets/builders.rs index 85faf536b7ea..11796d722669 100644 --- a/sdk/route53/src/operation/change_resource_record_sets/builders.rs +++ b/sdk/route53/src/operation/change_resource_record_sets/builders.rs @@ -43,9 +43,9 @@ impl ChangeResourceRecordSetsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -107,6 +107,22 @@ impl ChangeResourceRecordSetsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::change_resource_record_sets::ChangeResourceRecordSets, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::change_resource_record_sets::ChangeResourceRecordSetsError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                  The ID of the hosted zone that contains the resource record sets that you want to change.

                                                                                                                                                                                                                                                                                                                                                  pub fn hosted_zone_id( mut self, diff --git a/sdk/route53/src/operation/change_tags_for_resource/builders.rs b/sdk/route53/src/operation/change_tags_for_resource/builders.rs index b5480ae86966..363f6cb75eac 100644 --- a/sdk/route53/src/operation/change_tags_for_resource/builders.rs +++ b/sdk/route53/src/operation/change_tags_for_resource/builders.rs @@ -20,9 +20,9 @@ impl ChangeTagsForResourceFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -84,6 +84,22 @@ impl ChangeTagsForResourceFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::change_tags_for_resource::ChangeTagsForResource, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::change_tags_for_resource::ChangeTagsForResourceError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                  The type of the resource.

                                                                                                                                                                                                                                                                                                                                                  ///
                                                                                                                                                                                                                                                                                                                                                    ///
                                                                                                                                                                                                                                                                                                                                                  • The resource type for health checks is healthcheck.

                                                                                                                                                                                                                                                                                                                                                  • diff --git a/sdk/route53/src/operation/create_cidr_collection/builders.rs b/sdk/route53/src/operation/create_cidr_collection/builders.rs index 5ec3d28a3028..cb8c856093f0 100644 --- a/sdk/route53/src/operation/create_cidr_collection/builders.rs +++ b/sdk/route53/src/operation/create_cidr_collection/builders.rs @@ -19,9 +19,9 @@ impl CreateCidrCollectionFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl CreateCidrCollectionFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::create_cidr_collection::CreateCidrCollection, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::create_cidr_collection::CreateCidrCollectionError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                    A unique identifier for the account that can be used to reference the collection from other API calls.

                                                                                                                                                                                                                                                                                                                                                    pub fn name(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.name(input.into()); diff --git a/sdk/route53/src/operation/create_health_check/builders.rs b/sdk/route53/src/operation/create_health_check/builders.rs index 320b1acb3008..f27a998227ca 100644 --- a/sdk/route53/src/operation/create_health_check/builders.rs +++ b/sdk/route53/src/operation/create_health_check/builders.rs @@ -29,9 +29,9 @@ impl CreateHealthCheckFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -93,6 +93,22 @@ impl CreateHealthCheckFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::create_health_check::CreateHealthCheck, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::create_health_check::CreateHealthCheckError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                    A unique string that identifies the request and that allows you to retry a failed CreateHealthCheck request without the risk of creating two identical health checks:

                                                                                                                                                                                                                                                                                                                                                    ///
                                                                                                                                                                                                                                                                                                                                                      ///
                                                                                                                                                                                                                                                                                                                                                    • If you send a CreateHealthCheck request with the same CallerReference and settings as a previous request, and if the health check doesn't exist, Amazon Route 53 creates the health check. If the health check does exist, Route 53 returns the settings for the existing health check.

                                                                                                                                                                                                                                                                                                                                                    • diff --git a/sdk/route53/src/operation/create_hosted_zone/builders.rs b/sdk/route53/src/operation/create_hosted_zone/builders.rs index 76c399f576f0..33083e9392e4 100644 --- a/sdk/route53/src/operation/create_hosted_zone/builders.rs +++ b/sdk/route53/src/operation/create_hosted_zone/builders.rs @@ -39,9 +39,9 @@ impl CreateHostedZoneFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -103,6 +103,22 @@ impl CreateHostedZoneFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::create_hosted_zone::CreateHostedZone, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::create_hosted_zone::CreateHostedZoneError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                      The name of the domain. Specify a fully qualified domain name, for example, www.example.com. The trailing dot is optional; Amazon Route 53 assumes that the domain name is fully qualified. This means that Route 53 treats www.example.com (without a trailing dot) and www.example.com. (with a trailing dot) as identical.

                                                                                                                                                                                                                                                                                                                                                      ///

                                                                                                                                                                                                                                                                                                                                                      If you're creating a public hosted zone, this is the name you have registered with your DNS registrar. If your domain name is registered with a registrar other than Route 53, change the name servers for your domain to the set of NameServers that CreateHostedZone returns in DelegationSet.

                                                                                                                                                                                                                                                                                                                                                      pub fn name(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { diff --git a/sdk/route53/src/operation/create_key_signing_key/builders.rs b/sdk/route53/src/operation/create_key_signing_key/builders.rs index c0b562195adf..843e8a822074 100644 --- a/sdk/route53/src/operation/create_key_signing_key/builders.rs +++ b/sdk/route53/src/operation/create_key_signing_key/builders.rs @@ -19,9 +19,9 @@ impl CreateKeySigningKeyFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl CreateKeySigningKeyFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::create_key_signing_key::CreateKeySigningKey, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::create_key_signing_key::CreateKeySigningKeyError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                      A unique string that identifies the request.

                                                                                                                                                                                                                                                                                                                                                      pub fn caller_reference( mut self, diff --git a/sdk/route53/src/operation/create_query_logging_config/builders.rs b/sdk/route53/src/operation/create_query_logging_config/builders.rs index 0f65b9670989..bb1b873baf9f 100644 --- a/sdk/route53/src/operation/create_query_logging_config/builders.rs +++ b/sdk/route53/src/operation/create_query_logging_config/builders.rs @@ -88,9 +88,9 @@ impl CreateQueryLoggingConfigFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -152,6 +152,22 @@ impl CreateQueryLoggingConfigFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::create_query_logging_config::CreateQueryLoggingConfig, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::create_query_logging_config::CreateQueryLoggingConfigError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                      The ID of the hosted zone that you want to log queries for. You can log queries only for public hosted zones.

                                                                                                                                                                                                                                                                                                                                                      pub fn hosted_zone_id( mut self, diff --git a/sdk/route53/src/operation/create_reusable_delegation_set/builders.rs b/sdk/route53/src/operation/create_reusable_delegation_set/builders.rs index 5f5ac4655bd9..11594a2c3872 100644 --- a/sdk/route53/src/operation/create_reusable_delegation_set/builders.rs +++ b/sdk/route53/src/operation/create_reusable_delegation_set/builders.rs @@ -38,9 +38,9 @@ impl CreateReusableDelegationSetFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -102,6 +102,22 @@ impl CreateReusableDelegationSetFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::create_reusable_delegation_set::CreateReusableDelegationSet, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::create_reusable_delegation_set::CreateReusableDelegationSetError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                      A unique string that identifies the request, and that allows you to retry failed CreateReusableDelegationSet requests without the risk of executing the operation twice. You must use a unique CallerReference string every time you submit a CreateReusableDelegationSet request. CallerReference can be any unique string, for example a date/time stamp.

                                                                                                                                                                                                                                                                                                                                                      pub fn caller_reference( mut self, diff --git a/sdk/route53/src/operation/create_traffic_policy/builders.rs b/sdk/route53/src/operation/create_traffic_policy/builders.rs index ef6f62897160..5b381afb81d3 100644 --- a/sdk/route53/src/operation/create_traffic_policy/builders.rs +++ b/sdk/route53/src/operation/create_traffic_policy/builders.rs @@ -19,9 +19,9 @@ impl CreateTrafficPolicyFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl CreateTrafficPolicyFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::create_traffic_policy::CreateTrafficPolicy, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::create_traffic_policy::CreateTrafficPolicyError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                      The name of the traffic policy.

                                                                                                                                                                                                                                                                                                                                                      pub fn name(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.name(input.into()); diff --git a/sdk/route53/src/operation/create_traffic_policy_instance/builders.rs b/sdk/route53/src/operation/create_traffic_policy_instance/builders.rs index 1ee713796097..b8cb06498cf7 100644 --- a/sdk/route53/src/operation/create_traffic_policy_instance/builders.rs +++ b/sdk/route53/src/operation/create_traffic_policy_instance/builders.rs @@ -19,9 +19,9 @@ impl CreateTrafficPolicyInstanceFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl CreateTrafficPolicyInstanceFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::create_traffic_policy_instance::CreateTrafficPolicyInstance, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::create_traffic_policy_instance::CreateTrafficPolicyInstanceError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                      The ID of the hosted zone that you want Amazon Route 53 to create resource record sets in by using the configuration in a traffic policy.

                                                                                                                                                                                                                                                                                                                                                      pub fn hosted_zone_id( mut self, diff --git a/sdk/route53/src/operation/create_traffic_policy_version/builders.rs b/sdk/route53/src/operation/create_traffic_policy_version/builders.rs index 1ff74c7b4deb..df5eaf1db674 100644 --- a/sdk/route53/src/operation/create_traffic_policy_version/builders.rs +++ b/sdk/route53/src/operation/create_traffic_policy_version/builders.rs @@ -19,9 +19,9 @@ impl CreateTrafficPolicyVersionFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl CreateTrafficPolicyVersionFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::create_traffic_policy_version::CreateTrafficPolicyVersion, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::create_traffic_policy_version::CreateTrafficPolicyVersionError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                      The ID of the traffic policy for which you want to create a new version.

                                                                                                                                                                                                                                                                                                                                                      pub fn id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.id(input.into()); diff --git a/sdk/route53/src/operation/create_vpc_association_authorization/builders.rs b/sdk/route53/src/operation/create_vpc_association_authorization/builders.rs index 13adb2e4d52f..56acc88f986f 100644 --- a/sdk/route53/src/operation/create_vpc_association_authorization/builders.rs +++ b/sdk/route53/src/operation/create_vpc_association_authorization/builders.rs @@ -21,9 +21,9 @@ impl CreateVPCAssociationAuthorizationFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize(self) -> ::std::result::Result< + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware(self) -> ::std::result::Result< crate::client::customize::CustomizableOperation, ::aws_smithy_http::result::SdkError >{ @@ -66,6 +66,15 @@ impl CreateVPCAssociationAuthorizationFluentBuilder { { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize(self) -> ::std::result::Result< + crate::client::customize::CustomizableOperation, + ::aws_smithy_http::result::SdkError + >{ + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                      The ID of the private hosted zone that you want to authorize associating a VPC with.

                                                                                                                                                                                                                                                                                                                                                      pub fn hosted_zone_id( mut self, diff --git a/sdk/route53/src/operation/deactivate_key_signing_key/builders.rs b/sdk/route53/src/operation/deactivate_key_signing_key/builders.rs index cc6a996bcecf..daa33558d39b 100644 --- a/sdk/route53/src/operation/deactivate_key_signing_key/builders.rs +++ b/sdk/route53/src/operation/deactivate_key_signing_key/builders.rs @@ -20,9 +20,9 @@ impl DeactivateKeySigningKeyFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -84,6 +84,22 @@ impl DeactivateKeySigningKeyFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::deactivate_key_signing_key::DeactivateKeySigningKey, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::deactivate_key_signing_key::DeactivateKeySigningKeyError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                      A unique string used to identify a hosted zone.

                                                                                                                                                                                                                                                                                                                                                      pub fn hosted_zone_id( mut self, diff --git a/sdk/route53/src/operation/delete_cidr_collection/builders.rs b/sdk/route53/src/operation/delete_cidr_collection/builders.rs index f1e38c93c81c..5ac7b7030026 100644 --- a/sdk/route53/src/operation/delete_cidr_collection/builders.rs +++ b/sdk/route53/src/operation/delete_cidr_collection/builders.rs @@ -19,9 +19,9 @@ impl DeleteCidrCollectionFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl DeleteCidrCollectionFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::delete_cidr_collection::DeleteCidrCollection, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::delete_cidr_collection::DeleteCidrCollectionError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                      The UUID of the collection to delete.

                                                                                                                                                                                                                                                                                                                                                      pub fn id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.id(input.into()); diff --git a/sdk/route53/src/operation/delete_health_check/builders.rs b/sdk/route53/src/operation/delete_health_check/builders.rs index 5889d09b083d..eb75cfb3a04a 100644 --- a/sdk/route53/src/operation/delete_health_check/builders.rs +++ b/sdk/route53/src/operation/delete_health_check/builders.rs @@ -22,9 +22,9 @@ impl DeleteHealthCheckFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -86,6 +86,22 @@ impl DeleteHealthCheckFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::delete_health_check::DeleteHealthCheck, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::delete_health_check::DeleteHealthCheckError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                      The ID of the health check that you want to delete.

                                                                                                                                                                                                                                                                                                                                                      pub fn health_check_id( mut self, diff --git a/sdk/route53/src/operation/delete_hosted_zone/builders.rs b/sdk/route53/src/operation/delete_hosted_zone/builders.rs index adc2525ca34e..66b885bb179d 100644 --- a/sdk/route53/src/operation/delete_hosted_zone/builders.rs +++ b/sdk/route53/src/operation/delete_hosted_zone/builders.rs @@ -30,9 +30,9 @@ impl DeleteHostedZoneFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -94,6 +94,22 @@ impl DeleteHostedZoneFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::delete_hosted_zone::DeleteHostedZone, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::delete_hosted_zone::DeleteHostedZoneError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                      The ID of the hosted zone you want to delete.

                                                                                                                                                                                                                                                                                                                                                      pub fn id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.id(input.into()); diff --git a/sdk/route53/src/operation/delete_key_signing_key/builders.rs b/sdk/route53/src/operation/delete_key_signing_key/builders.rs index 6f549c94acc8..4cdaea45adc4 100644 --- a/sdk/route53/src/operation/delete_key_signing_key/builders.rs +++ b/sdk/route53/src/operation/delete_key_signing_key/builders.rs @@ -21,9 +21,9 @@ impl DeleteKeySigningKeyFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -85,6 +85,22 @@ impl DeleteKeySigningKeyFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::delete_key_signing_key::DeleteKeySigningKey, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::delete_key_signing_key::DeleteKeySigningKeyError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                      A unique string used to identify a hosted zone.

                                                                                                                                                                                                                                                                                                                                                      pub fn hosted_zone_id( mut self, diff --git a/sdk/route53/src/operation/delete_query_logging_config/builders.rs b/sdk/route53/src/operation/delete_query_logging_config/builders.rs index 24b559cc88e5..d14c2f465125 100644 --- a/sdk/route53/src/operation/delete_query_logging_config/builders.rs +++ b/sdk/route53/src/operation/delete_query_logging_config/builders.rs @@ -20,9 +20,9 @@ impl DeleteQueryLoggingConfigFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -84,6 +84,22 @@ impl DeleteQueryLoggingConfigFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::delete_query_logging_config::DeleteQueryLoggingConfig, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::delete_query_logging_config::DeleteQueryLoggingConfigError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                      The ID of the configuration that you want to delete.

                                                                                                                                                                                                                                                                                                                                                      pub fn id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.id(input.into()); diff --git a/sdk/route53/src/operation/delete_reusable_delegation_set/builders.rs b/sdk/route53/src/operation/delete_reusable_delegation_set/builders.rs index bc6903f7ca0d..939f1e53c9a3 100644 --- a/sdk/route53/src/operation/delete_reusable_delegation_set/builders.rs +++ b/sdk/route53/src/operation/delete_reusable_delegation_set/builders.rs @@ -22,9 +22,9 @@ impl DeleteReusableDelegationSetFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -86,6 +86,22 @@ impl DeleteReusableDelegationSetFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::delete_reusable_delegation_set::DeleteReusableDelegationSet, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::delete_reusable_delegation_set::DeleteReusableDelegationSetError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                      The ID of the reusable delegation set that you want to delete.

                                                                                                                                                                                                                                                                                                                                                      pub fn id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.id(input.into()); diff --git a/sdk/route53/src/operation/delete_traffic_policy/builders.rs b/sdk/route53/src/operation/delete_traffic_policy/builders.rs index 87447212a72b..6482a8cd7f50 100644 --- a/sdk/route53/src/operation/delete_traffic_policy/builders.rs +++ b/sdk/route53/src/operation/delete_traffic_policy/builders.rs @@ -25,9 +25,9 @@ impl DeleteTrafficPolicyFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -89,6 +89,22 @@ impl DeleteTrafficPolicyFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::delete_traffic_policy::DeleteTrafficPolicy, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::delete_traffic_policy::DeleteTrafficPolicyError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                      The ID of the traffic policy that you want to delete.

                                                                                                                                                                                                                                                                                                                                                      pub fn id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.id(input.into()); diff --git a/sdk/route53/src/operation/delete_traffic_policy_instance/builders.rs b/sdk/route53/src/operation/delete_traffic_policy_instance/builders.rs index 47484bedd297..4b51cf4873a6 100644 --- a/sdk/route53/src/operation/delete_traffic_policy_instance/builders.rs +++ b/sdk/route53/src/operation/delete_traffic_policy_instance/builders.rs @@ -21,9 +21,9 @@ impl DeleteTrafficPolicyInstanceFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -85,6 +85,22 @@ impl DeleteTrafficPolicyInstanceFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::delete_traffic_policy_instance::DeleteTrafficPolicyInstance, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::delete_traffic_policy_instance::DeleteTrafficPolicyInstanceError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                      The ID of the traffic policy instance that you want to delete.

                                                                                                                                                                                                                                                                                                                                                      ///

                                                                                                                                                                                                                                                                                                                                                      When you delete a traffic policy instance, Amazon Route 53 also deletes all of the resource record sets that were created when you created the traffic policy instance.

                                                                                                                                                                                                                                                                                                                                                      ///
                                                                                                                                                                                                                                                                                                                                                      diff --git a/sdk/route53/src/operation/delete_vpc_association_authorization/builders.rs b/sdk/route53/src/operation/delete_vpc_association_authorization/builders.rs index 414a6f30b14d..307f0bfd5295 100644 --- a/sdk/route53/src/operation/delete_vpc_association_authorization/builders.rs +++ b/sdk/route53/src/operation/delete_vpc_association_authorization/builders.rs @@ -21,9 +21,9 @@ impl DeleteVPCAssociationAuthorizationFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize(self) -> ::std::result::Result< + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware(self) -> ::std::result::Result< crate::client::customize::CustomizableOperation, ::aws_smithy_http::result::SdkError >{ @@ -66,6 +66,15 @@ impl DeleteVPCAssociationAuthorizationFluentBuilder { { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize(self) -> ::std::result::Result< + crate::client::customize::CustomizableOperation, + ::aws_smithy_http::result::SdkError + >{ + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                      When removing authorization to associate a VPC that was created by one Amazon Web Services account with a hosted zone that was created with a different Amazon Web Services account, the ID of the hosted zone.

                                                                                                                                                                                                                                                                                                                                                      pub fn hosted_zone_id( mut self, diff --git a/sdk/route53/src/operation/disable_hosted_zone_dnssec/builders.rs b/sdk/route53/src/operation/disable_hosted_zone_dnssec/builders.rs index 802c43384100..77e8b221e85c 100644 --- a/sdk/route53/src/operation/disable_hosted_zone_dnssec/builders.rs +++ b/sdk/route53/src/operation/disable_hosted_zone_dnssec/builders.rs @@ -20,9 +20,9 @@ impl DisableHostedZoneDNSSECFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -84,6 +84,22 @@ impl DisableHostedZoneDNSSECFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::disable_hosted_zone_dnssec::DisableHostedZoneDNSSEC, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::disable_hosted_zone_dnssec::DisableHostedZoneDNSSECError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                      A unique string used to identify a hosted zone.

                                                                                                                                                                                                                                                                                                                                                      pub fn hosted_zone_id( mut self, diff --git a/sdk/route53/src/operation/disassociate_vpc_from_hosted_zone/builders.rs b/sdk/route53/src/operation/disassociate_vpc_from_hosted_zone/builders.rs index 0548ced8c721..6854ada2d866 100644 --- a/sdk/route53/src/operation/disassociate_vpc_from_hosted_zone/builders.rs +++ b/sdk/route53/src/operation/disassociate_vpc_from_hosted_zone/builders.rs @@ -34,9 +34,9 @@ impl DisassociateVPCFromHostedZoneFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -98,6 +98,22 @@ impl DisassociateVPCFromHostedZoneFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::disassociate_vpc_from_hosted_zone::DisassociateVPCFromHostedZone, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::disassociate_vpc_from_hosted_zone::DisassociateVPCFromHostedZoneError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                      The ID of the private hosted zone that you want to disassociate a VPC from.

                                                                                                                                                                                                                                                                                                                                                      pub fn hosted_zone_id( mut self, diff --git a/sdk/route53/src/operation/enable_hosted_zone_dnssec/builders.rs b/sdk/route53/src/operation/enable_hosted_zone_dnssec/builders.rs index 16666d08c856..112976481c93 100644 --- a/sdk/route53/src/operation/enable_hosted_zone_dnssec/builders.rs +++ b/sdk/route53/src/operation/enable_hosted_zone_dnssec/builders.rs @@ -20,9 +20,9 @@ impl EnableHostedZoneDNSSECFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -84,6 +84,22 @@ impl EnableHostedZoneDNSSECFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::enable_hosted_zone_dnssec::EnableHostedZoneDNSSEC, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::enable_hosted_zone_dnssec::EnableHostedZoneDNSSECError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                      A unique string used to identify a hosted zone.

                                                                                                                                                                                                                                                                                                                                                      pub fn hosted_zone_id( mut self, diff --git a/sdk/route53/src/operation/get_account_limit/builders.rs b/sdk/route53/src/operation/get_account_limit/builders.rs index e8ea8d9f6123..a0005fe02bc8 100644 --- a/sdk/route53/src/operation/get_account_limit/builders.rs +++ b/sdk/route53/src/operation/get_account_limit/builders.rs @@ -22,9 +22,9 @@ impl GetAccountLimitFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -86,6 +86,22 @@ impl GetAccountLimitFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::get_account_limit::GetAccountLimit, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::get_account_limit::GetAccountLimitError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                      The limit that you want to get. Valid values include the following:

                                                                                                                                                                                                                                                                                                                                                      ///
                                                                                                                                                                                                                                                                                                                                                        ///
                                                                                                                                                                                                                                                                                                                                                      • MAX_HEALTH_CHECKS_BY_OWNER: The maximum number of health checks that you can create using the current account.

                                                                                                                                                                                                                                                                                                                                                      • diff --git a/sdk/route53/src/operation/get_change/builders.rs b/sdk/route53/src/operation/get_change/builders.rs index 2662d54af4d8..c3c523e22b94 100644 --- a/sdk/route53/src/operation/get_change/builders.rs +++ b/sdk/route53/src/operation/get_change/builders.rs @@ -23,9 +23,9 @@ impl GetChangeFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -81,6 +81,20 @@ impl GetChangeFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::get_change::GetChange, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                        The ID of the change batch request. The value that you specify here is the value that ChangeResourceRecordSets returned in the Id element when you submitted the request.

                                                                                                                                                                                                                                                                                                                                                        pub fn id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.id(input.into()); diff --git a/sdk/route53/src/operation/get_checker_ip_ranges/builders.rs b/sdk/route53/src/operation/get_checker_ip_ranges/builders.rs index 3a530b0346d9..10f9e7f54553 100644 --- a/sdk/route53/src/operation/get_checker_ip_ranges/builders.rs +++ b/sdk/route53/src/operation/get_checker_ip_ranges/builders.rs @@ -21,9 +21,9 @@ impl GetCheckerIpRangesFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -85,4 +85,20 @@ impl GetCheckerIpRangesFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::get_checker_ip_ranges::GetCheckerIpRanges, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::get_checker_ip_ranges::GetCheckerIpRangesError, + >, + > { + self.customize_middleware().await + } } diff --git a/sdk/route53/src/operation/get_dnssec/builders.rs b/sdk/route53/src/operation/get_dnssec/builders.rs index 8e25eeefb333..bd50607aa806 100644 --- a/sdk/route53/src/operation/get_dnssec/builders.rs +++ b/sdk/route53/src/operation/get_dnssec/builders.rs @@ -19,9 +19,9 @@ impl GetDNSSECFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl GetDNSSECFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::get_dnssec::GetDNSSEC, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                        A unique string used to identify a hosted zone.

                                                                                                                                                                                                                                                                                                                                                        pub fn hosted_zone_id( mut self, diff --git a/sdk/route53/src/operation/get_geo_location/builders.rs b/sdk/route53/src/operation/get_geo_location/builders.rs index f538b4c22b81..1ac10924e3c1 100644 --- a/sdk/route53/src/operation/get_geo_location/builders.rs +++ b/sdk/route53/src/operation/get_geo_location/builders.rs @@ -26,9 +26,9 @@ impl GetGeoLocationFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -90,6 +90,22 @@ impl GetGeoLocationFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::get_geo_location::GetGeoLocation, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::get_geo_location::GetGeoLocationError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                        For geolocation resource record sets, a two-letter abbreviation that identifies a continent. Amazon Route 53 supports the following continent codes:

                                                                                                                                                                                                                                                                                                                                                        ///
                                                                                                                                                                                                                                                                                                                                                          ///
                                                                                                                                                                                                                                                                                                                                                        • AF: Africa

                                                                                                                                                                                                                                                                                                                                                        • diff --git a/sdk/route53/src/operation/get_health_check/builders.rs b/sdk/route53/src/operation/get_health_check/builders.rs index 8df3026d7181..2a356ef8628b 100644 --- a/sdk/route53/src/operation/get_health_check/builders.rs +++ b/sdk/route53/src/operation/get_health_check/builders.rs @@ -19,9 +19,9 @@ impl GetHealthCheckFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl GetHealthCheckFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::get_health_check::GetHealthCheck, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::get_health_check::GetHealthCheckError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                          The identifier that Amazon Route 53 assigned to the health check when you created it. When you add or update a resource record set, you use this value to specify which health check to use. The value can be up to 64 characters long.

                                                                                                                                                                                                                                                                                                                                                          pub fn health_check_id( mut self, diff --git a/sdk/route53/src/operation/get_health_check_count/builders.rs b/sdk/route53/src/operation/get_health_check_count/builders.rs index 94f7a17048a7..8a420da34153 100644 --- a/sdk/route53/src/operation/get_health_check_count/builders.rs +++ b/sdk/route53/src/operation/get_health_check_count/builders.rs @@ -19,9 +19,9 @@ impl GetHealthCheckCountFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,4 +83,20 @@ impl GetHealthCheckCountFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::get_health_check_count::GetHealthCheckCount, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::get_health_check_count::GetHealthCheckCountError, + >, + > { + self.customize_middleware().await + } } diff --git a/sdk/route53/src/operation/get_health_check_last_failure_reason/builders.rs b/sdk/route53/src/operation/get_health_check_last_failure_reason/builders.rs index e4ce85c2e2fa..61f488a173a3 100644 --- a/sdk/route53/src/operation/get_health_check_last_failure_reason/builders.rs +++ b/sdk/route53/src/operation/get_health_check_last_failure_reason/builders.rs @@ -19,9 +19,9 @@ impl GetHealthCheckLastFailureReasonFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize(self) -> ::std::result::Result< + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware(self) -> ::std::result::Result< crate::client::customize::CustomizableOperation, ::aws_smithy_http::result::SdkError >{ @@ -64,6 +64,15 @@ impl GetHealthCheckLastFailureReasonFluentBuilder { { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize(self) -> ::std::result::Result< + crate::client::customize::CustomizableOperation, + ::aws_smithy_http::result::SdkError + >{ + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                          The ID for the health check for which you want the last failure reason. When you created the health check, CreateHealthCheck returned the ID in the response, in the HealthCheckId element.

                                                                                                                                                                                                                                                                                                                                                          ///

                                                                                                                                                                                                                                                                                                                                                          If you want to get the last failure reason for a calculated health check, you must use the Amazon Route 53 console or the CloudWatch console. You can't use GetHealthCheckLastFailureReason for a calculated health check.

                                                                                                                                                                                                                                                                                                                                                          ///
                                                                                                                                                                                                                                                                                                                                                          diff --git a/sdk/route53/src/operation/get_health_check_status/builders.rs b/sdk/route53/src/operation/get_health_check_status/builders.rs index 0c644949af15..c5b0e452df03 100644 --- a/sdk/route53/src/operation/get_health_check_status/builders.rs +++ b/sdk/route53/src/operation/get_health_check_status/builders.rs @@ -21,9 +21,9 @@ impl GetHealthCheckStatusFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -85,6 +85,22 @@ impl GetHealthCheckStatusFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::get_health_check_status::GetHealthCheckStatus, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::get_health_check_status::GetHealthCheckStatusError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                          The ID for the health check that you want the current status for. When you created the health check, CreateHealthCheck returned the ID in the response, in the HealthCheckId element.

                                                                                                                                                                                                                                                                                                                                                          ///

                                                                                                                                                                                                                                                                                                                                                          If you want to check the status of a calculated health check, you must use the Amazon Route 53 console or the CloudWatch console. You can't use GetHealthCheckStatus to get the status of a calculated health check.

                                                                                                                                                                                                                                                                                                                                                          ///
                                                                                                                                                                                                                                                                                                                                                          diff --git a/sdk/route53/src/operation/get_hosted_zone/builders.rs b/sdk/route53/src/operation/get_hosted_zone/builders.rs index 1ce727de88b0..dc06edb3d16e 100644 --- a/sdk/route53/src/operation/get_hosted_zone/builders.rs +++ b/sdk/route53/src/operation/get_hosted_zone/builders.rs @@ -19,9 +19,9 @@ impl GetHostedZoneFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl GetHostedZoneFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::get_hosted_zone::GetHostedZone, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                          The ID of the hosted zone that you want to get information about.

                                                                                                                                                                                                                                                                                                                                                          pub fn id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.id(input.into()); diff --git a/sdk/route53/src/operation/get_hosted_zone_count/builders.rs b/sdk/route53/src/operation/get_hosted_zone_count/builders.rs index 2d6eed0e76b1..f389ee2d18f8 100644 --- a/sdk/route53/src/operation/get_hosted_zone_count/builders.rs +++ b/sdk/route53/src/operation/get_hosted_zone_count/builders.rs @@ -19,9 +19,9 @@ impl GetHostedZoneCountFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,4 +83,20 @@ impl GetHostedZoneCountFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::get_hosted_zone_count::GetHostedZoneCount, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::get_hosted_zone_count::GetHostedZoneCountError, + >, + > { + self.customize_middleware().await + } } diff --git a/sdk/route53/src/operation/get_hosted_zone_limit/builders.rs b/sdk/route53/src/operation/get_hosted_zone_limit/builders.rs index 709695a93cff..6bbf69522b67 100644 --- a/sdk/route53/src/operation/get_hosted_zone_limit/builders.rs +++ b/sdk/route53/src/operation/get_hosted_zone_limit/builders.rs @@ -20,9 +20,9 @@ impl GetHostedZoneLimitFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -84,6 +84,22 @@ impl GetHostedZoneLimitFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::get_hosted_zone_limit::GetHostedZoneLimit, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::get_hosted_zone_limit::GetHostedZoneLimitError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                          The limit that you want to get. Valid values include the following:

                                                                                                                                                                                                                                                                                                                                                          ///
                                                                                                                                                                                                                                                                                                                                                            ///
                                                                                                                                                                                                                                                                                                                                                          • MAX_RRSETS_BY_ZONE: The maximum number of records that you can create in the specified hosted zone.

                                                                                                                                                                                                                                                                                                                                                          • diff --git a/sdk/route53/src/operation/get_query_logging_config/builders.rs b/sdk/route53/src/operation/get_query_logging_config/builders.rs index 2bc3d086e80f..1156ca920443 100644 --- a/sdk/route53/src/operation/get_query_logging_config/builders.rs +++ b/sdk/route53/src/operation/get_query_logging_config/builders.rs @@ -20,9 +20,9 @@ impl GetQueryLoggingConfigFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -84,6 +84,22 @@ impl GetQueryLoggingConfigFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::get_query_logging_config::GetQueryLoggingConfig, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::get_query_logging_config::GetQueryLoggingConfigError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                            The ID of the configuration for DNS query logging that you want to get information about.

                                                                                                                                                                                                                                                                                                                                                            pub fn id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.id(input.into()); diff --git a/sdk/route53/src/operation/get_reusable_delegation_set/builders.rs b/sdk/route53/src/operation/get_reusable_delegation_set/builders.rs index 0f009a9b3d7d..3628fa6a798d 100644 --- a/sdk/route53/src/operation/get_reusable_delegation_set/builders.rs +++ b/sdk/route53/src/operation/get_reusable_delegation_set/builders.rs @@ -19,9 +19,9 @@ impl GetReusableDelegationSetFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl GetReusableDelegationSetFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::get_reusable_delegation_set::GetReusableDelegationSet, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::get_reusable_delegation_set::GetReusableDelegationSetError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                            The ID of the reusable delegation set that you want to get a list of name servers for.

                                                                                                                                                                                                                                                                                                                                                            pub fn id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.id(input.into()); diff --git a/sdk/route53/src/operation/get_reusable_delegation_set_limit/builders.rs b/sdk/route53/src/operation/get_reusable_delegation_set_limit/builders.rs index 4d170144c0af..183324db379e 100644 --- a/sdk/route53/src/operation/get_reusable_delegation_set_limit/builders.rs +++ b/sdk/route53/src/operation/get_reusable_delegation_set_limit/builders.rs @@ -20,9 +20,9 @@ impl GetReusableDelegationSetLimitFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -84,6 +84,22 @@ impl GetReusableDelegationSetLimitFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::get_reusable_delegation_set_limit::GetReusableDelegationSetLimit, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::get_reusable_delegation_set_limit::GetReusableDelegationSetLimitError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                            Specify MAX_ZONES_BY_REUSABLE_DELEGATION_SET to get the maximum number of hosted zones that you can associate with the specified reusable delegation set.

                                                                                                                                                                                                                                                                                                                                                            pub fn r#type(mut self, input: crate::types::ReusableDelegationSetLimitType) -> Self { self.inner = self.inner.r#type(input); diff --git a/sdk/route53/src/operation/get_traffic_policy/builders.rs b/sdk/route53/src/operation/get_traffic_policy/builders.rs index 8e52ac95d00a..9b3a47bc6189 100644 --- a/sdk/route53/src/operation/get_traffic_policy/builders.rs +++ b/sdk/route53/src/operation/get_traffic_policy/builders.rs @@ -20,9 +20,9 @@ impl GetTrafficPolicyFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -84,6 +84,22 @@ impl GetTrafficPolicyFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::get_traffic_policy::GetTrafficPolicy, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::get_traffic_policy::GetTrafficPolicyError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                            The ID of the traffic policy that you want to get information about.

                                                                                                                                                                                                                                                                                                                                                            pub fn id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.id(input.into()); diff --git a/sdk/route53/src/operation/get_traffic_policy_instance/builders.rs b/sdk/route53/src/operation/get_traffic_policy_instance/builders.rs index 8b1441992074..0153ae458911 100644 --- a/sdk/route53/src/operation/get_traffic_policy_instance/builders.rs +++ b/sdk/route53/src/operation/get_traffic_policy_instance/builders.rs @@ -23,9 +23,9 @@ impl GetTrafficPolicyInstanceFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -87,6 +87,22 @@ impl GetTrafficPolicyInstanceFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::get_traffic_policy_instance::GetTrafficPolicyInstance, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::get_traffic_policy_instance::GetTrafficPolicyInstanceError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                            The ID of the traffic policy instance that you want to get information about.

                                                                                                                                                                                                                                                                                                                                                            pub fn id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.id(input.into()); diff --git a/sdk/route53/src/operation/get_traffic_policy_instance_count/builders.rs b/sdk/route53/src/operation/get_traffic_policy_instance_count/builders.rs index 428e8b924c2c..3b86332f91ed 100644 --- a/sdk/route53/src/operation/get_traffic_policy_instance_count/builders.rs +++ b/sdk/route53/src/operation/get_traffic_policy_instance_count/builders.rs @@ -19,9 +19,9 @@ impl GetTrafficPolicyInstanceCountFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,4 +83,20 @@ impl GetTrafficPolicyInstanceCountFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::get_traffic_policy_instance_count::GetTrafficPolicyInstanceCount, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::get_traffic_policy_instance_count::GetTrafficPolicyInstanceCountError, + >, + > { + self.customize_middleware().await + } } diff --git a/sdk/route53/src/operation/list_cidr_blocks/builders.rs b/sdk/route53/src/operation/list_cidr_blocks/builders.rs index 894f6e0cc39f..273331384d79 100644 --- a/sdk/route53/src/operation/list_cidr_blocks/builders.rs +++ b/sdk/route53/src/operation/list_cidr_blocks/builders.rs @@ -19,9 +19,9 @@ impl ListCidrBlocksFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl ListCidrBlocksFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_cidr_blocks::ListCidrBlocks, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::list_cidr_blocks::ListCidrBlocksError, + >, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::list_cidr_blocks::paginator::ListCidrBlocksPaginator::send) which returns a `Stream`. diff --git a/sdk/route53/src/operation/list_cidr_collections/builders.rs b/sdk/route53/src/operation/list_cidr_collections/builders.rs index 106d8a3b2dcd..bfff5ed261d4 100644 --- a/sdk/route53/src/operation/list_cidr_collections/builders.rs +++ b/sdk/route53/src/operation/list_cidr_collections/builders.rs @@ -19,9 +19,9 @@ impl ListCidrCollectionsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl ListCidrCollectionsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_cidr_collections::ListCidrCollections, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::list_cidr_collections::ListCidrCollectionsError, + >, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::list_cidr_collections::paginator::ListCidrCollectionsPaginator::send) which returns a `Stream`. diff --git a/sdk/route53/src/operation/list_cidr_locations/builders.rs b/sdk/route53/src/operation/list_cidr_locations/builders.rs index 12cec5acb511..59a0f357abb9 100644 --- a/sdk/route53/src/operation/list_cidr_locations/builders.rs +++ b/sdk/route53/src/operation/list_cidr_locations/builders.rs @@ -19,9 +19,9 @@ impl ListCidrLocationsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl ListCidrLocationsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_cidr_locations::ListCidrLocations, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::list_cidr_locations::ListCidrLocationsError, + >, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::list_cidr_locations::paginator::ListCidrLocationsPaginator::send) which returns a `Stream`. diff --git a/sdk/route53/src/operation/list_geo_locations/builders.rs b/sdk/route53/src/operation/list_geo_locations/builders.rs index 772b5bb3e0a5..83084801eeac 100644 --- a/sdk/route53/src/operation/list_geo_locations/builders.rs +++ b/sdk/route53/src/operation/list_geo_locations/builders.rs @@ -22,9 +22,9 @@ impl ListGeoLocationsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -86,6 +86,22 @@ impl ListGeoLocationsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_geo_locations::ListGeoLocations, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::list_geo_locations::ListGeoLocationsError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                            The code for the continent with which you want to start listing locations that Amazon Route 53 supports for geolocation. If Route 53 has already returned a page or more of results, if IsTruncated is true, and if NextContinentCode from the previous response has a value, enter that value in startcontinentcode to return the next page of results.

                                                                                                                                                                                                                                                                                                                                                            ///

                                                                                                                                                                                                                                                                                                                                                            Include startcontinentcode only if you want to list continents. Don't include startcontinentcode when you're listing countries or countries with their subdivisions.

                                                                                                                                                                                                                                                                                                                                                            pub fn start_continent_code( diff --git a/sdk/route53/src/operation/list_health_checks/builders.rs b/sdk/route53/src/operation/list_health_checks/builders.rs index e6ffb78fbf77..3fada7ffd450 100644 --- a/sdk/route53/src/operation/list_health_checks/builders.rs +++ b/sdk/route53/src/operation/list_health_checks/builders.rs @@ -19,9 +19,9 @@ impl ListHealthChecksFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl ListHealthChecksFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_health_checks::ListHealthChecks, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::list_health_checks::ListHealthChecksError, + >, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::list_health_checks::paginator::ListHealthChecksPaginator::send) which returns a `Stream`. diff --git a/sdk/route53/src/operation/list_hosted_zones/builders.rs b/sdk/route53/src/operation/list_hosted_zones/builders.rs index 7949cd9b4a5a..a370a183e9b4 100644 --- a/sdk/route53/src/operation/list_hosted_zones/builders.rs +++ b/sdk/route53/src/operation/list_hosted_zones/builders.rs @@ -20,9 +20,9 @@ impl ListHostedZonesFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -84,6 +84,22 @@ impl ListHostedZonesFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_hosted_zones::ListHostedZones, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::list_hosted_zones::ListHostedZonesError, + >, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::list_hosted_zones::paginator::ListHostedZonesPaginator::send) which returns a `Stream`. diff --git a/sdk/route53/src/operation/list_hosted_zones_by_name/builders.rs b/sdk/route53/src/operation/list_hosted_zones_by_name/builders.rs index 19e9a3a53cba..f93864cc61c2 100644 --- a/sdk/route53/src/operation/list_hosted_zones_by_name/builders.rs +++ b/sdk/route53/src/operation/list_hosted_zones_by_name/builders.rs @@ -32,9 +32,9 @@ impl ListHostedZonesByNameFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -96,6 +96,22 @@ impl ListHostedZonesByNameFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_hosted_zones_by_name::ListHostedZonesByName, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::list_hosted_zones_by_name::ListHostedZonesByNameError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                            (Optional) For your first request to ListHostedZonesByName, include the dnsname parameter only if you want to specify the name of the first hosted zone in the response. If you don't include the dnsname parameter, Amazon Route 53 returns all of the hosted zones that were created by the current Amazon Web Services account, in ASCII order. For subsequent requests, include both dnsname and hostedzoneid parameters. For dnsname, specify the value of NextDNSName from the previous response.

                                                                                                                                                                                                                                                                                                                                                            pub fn dns_name(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.dns_name(input.into()); diff --git a/sdk/route53/src/operation/list_hosted_zones_by_vpc/builders.rs b/sdk/route53/src/operation/list_hosted_zones_by_vpc/builders.rs index 4089551e094d..a2b36d8940ae 100644 --- a/sdk/route53/src/operation/list_hosted_zones_by_vpc/builders.rs +++ b/sdk/route53/src/operation/list_hosted_zones_by_vpc/builders.rs @@ -32,9 +32,9 @@ impl ListHostedZonesByVPCFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -96,6 +96,22 @@ impl ListHostedZonesByVPCFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_hosted_zones_by_vpc::ListHostedZonesByVPC, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::list_hosted_zones_by_vpc::ListHostedZonesByVPCError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                            The ID of the Amazon VPC that you want to list hosted zones for.

                                                                                                                                                                                                                                                                                                                                                            pub fn vpc_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.vpc_id(input.into()); diff --git a/sdk/route53/src/operation/list_query_logging_configs/builders.rs b/sdk/route53/src/operation/list_query_logging_configs/builders.rs index f6098bd2387d..43994ce10b27 100644 --- a/sdk/route53/src/operation/list_query_logging_configs/builders.rs +++ b/sdk/route53/src/operation/list_query_logging_configs/builders.rs @@ -21,9 +21,9 @@ impl ListQueryLoggingConfigsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -85,6 +85,22 @@ impl ListQueryLoggingConfigsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_query_logging_configs::ListQueryLoggingConfigs, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::list_query_logging_configs::ListQueryLoggingConfigsError, + >, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::list_query_logging_configs::paginator::ListQueryLoggingConfigsPaginator::send) which returns a `Stream`. diff --git a/sdk/route53/src/operation/list_resource_record_sets/builders.rs b/sdk/route53/src/operation/list_resource_record_sets/builders.rs index 1e8a356f61db..d5d957539fe9 100644 --- a/sdk/route53/src/operation/list_resource_record_sets/builders.rs +++ b/sdk/route53/src/operation/list_resource_record_sets/builders.rs @@ -60,9 +60,9 @@ impl ListResourceRecordSetsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -124,6 +124,22 @@ impl ListResourceRecordSetsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_resource_record_sets::ListResourceRecordSets, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::list_resource_record_sets::ListResourceRecordSetsError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                            The ID of the hosted zone that contains the resource record sets that you want to list.

                                                                                                                                                                                                                                                                                                                                                            pub fn hosted_zone_id( mut self, diff --git a/sdk/route53/src/operation/list_reusable_delegation_sets/builders.rs b/sdk/route53/src/operation/list_reusable_delegation_sets/builders.rs index 5d8c1c4503b6..2445c04e19de 100644 --- a/sdk/route53/src/operation/list_reusable_delegation_sets/builders.rs +++ b/sdk/route53/src/operation/list_reusable_delegation_sets/builders.rs @@ -19,9 +19,9 @@ impl ListReusableDelegationSetsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl ListReusableDelegationSetsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_reusable_delegation_sets::ListReusableDelegationSets, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::list_reusable_delegation_sets::ListReusableDelegationSetsError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                            If the value of IsTruncated in the previous response was true, you have more reusable delegation sets. To get another group, submit another ListReusableDelegationSets request.

                                                                                                                                                                                                                                                                                                                                                            ///

                                                                                                                                                                                                                                                                                                                                                            For the value of marker, specify the value of NextMarker from the previous response, which is the ID of the first reusable delegation set that Amazon Route 53 will return if you submit another request.

                                                                                                                                                                                                                                                                                                                                                            ///

                                                                                                                                                                                                                                                                                                                                                            If the value of IsTruncated in the previous response was false, there are no more reusable delegation sets to get.

                                                                                                                                                                                                                                                                                                                                                            diff --git a/sdk/route53/src/operation/list_tags_for_resource/builders.rs b/sdk/route53/src/operation/list_tags_for_resource/builders.rs index d06ae21fca00..6e0a8e8e5ca2 100644 --- a/sdk/route53/src/operation/list_tags_for_resource/builders.rs +++ b/sdk/route53/src/operation/list_tags_for_resource/builders.rs @@ -20,9 +20,9 @@ impl ListTagsForResourceFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -84,6 +84,22 @@ impl ListTagsForResourceFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_tags_for_resource::ListTagsForResource, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::list_tags_for_resource::ListTagsForResourceError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                            The type of the resource.

                                                                                                                                                                                                                                                                                                                                                            ///
                                                                                                                                                                                                                                                                                                                                                              ///
                                                                                                                                                                                                                                                                                                                                                            • The resource type for health checks is healthcheck.

                                                                                                                                                                                                                                                                                                                                                            • diff --git a/sdk/route53/src/operation/list_tags_for_resources/builders.rs b/sdk/route53/src/operation/list_tags_for_resources/builders.rs index dab08a32bfba..e2ca94ec06db 100644 --- a/sdk/route53/src/operation/list_tags_for_resources/builders.rs +++ b/sdk/route53/src/operation/list_tags_for_resources/builders.rs @@ -20,9 +20,9 @@ impl ListTagsForResourcesFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -84,6 +84,22 @@ impl ListTagsForResourcesFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_tags_for_resources::ListTagsForResources, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::list_tags_for_resources::ListTagsForResourcesError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                              The type of the resources.

                                                                                                                                                                                                                                                                                                                                                              ///
                                                                                                                                                                                                                                                                                                                                                                ///
                                                                                                                                                                                                                                                                                                                                                              • The resource type for health checks is healthcheck.

                                                                                                                                                                                                                                                                                                                                                              • diff --git a/sdk/route53/src/operation/list_traffic_policies/builders.rs b/sdk/route53/src/operation/list_traffic_policies/builders.rs index 0253324d20a6..4099c7df2ee4 100644 --- a/sdk/route53/src/operation/list_traffic_policies/builders.rs +++ b/sdk/route53/src/operation/list_traffic_policies/builders.rs @@ -20,9 +20,9 @@ impl ListTrafficPoliciesFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -84,6 +84,22 @@ impl ListTrafficPoliciesFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_traffic_policies::ListTrafficPolicies, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::list_traffic_policies::ListTrafficPoliciesError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                (Conditional) For your first request to ListTrafficPolicies, don't include the TrafficPolicyIdMarker parameter.

                                                                                                                                                                                                                                                                                                                                                                ///

                                                                                                                                                                                                                                                                                                                                                                If you have more traffic policies than the value of MaxItems, ListTrafficPolicies returns only the first MaxItems traffic policies. To get the next group of policies, submit another request to ListTrafficPolicies. For the value of TrafficPolicyIdMarker, specify the value of TrafficPolicyIdMarker that was returned in the previous response.

                                                                                                                                                                                                                                                                                                                                                                pub fn traffic_policy_id_marker( diff --git a/sdk/route53/src/operation/list_traffic_policy_instances/builders.rs b/sdk/route53/src/operation/list_traffic_policy_instances/builders.rs index 35aaabb3af1e..ff6f10ea7700 100644 --- a/sdk/route53/src/operation/list_traffic_policy_instances/builders.rs +++ b/sdk/route53/src/operation/list_traffic_policy_instances/builders.rs @@ -22,9 +22,9 @@ impl ListTrafficPolicyInstancesFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -86,6 +86,22 @@ impl ListTrafficPolicyInstancesFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_traffic_policy_instances::ListTrafficPolicyInstances, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::list_traffic_policy_instances::ListTrafficPolicyInstancesError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                If the value of IsTruncated in the previous response was true, you have more traffic policy instances. To get more traffic policy instances, submit another ListTrafficPolicyInstances request. For the value of HostedZoneId, specify the value of HostedZoneIdMarker from the previous response, which is the hosted zone ID of the first traffic policy instance in the next group of traffic policy instances.

                                                                                                                                                                                                                                                                                                                                                                ///

                                                                                                                                                                                                                                                                                                                                                                If the value of IsTruncated in the previous response was false, there are no more traffic policy instances to get.

                                                                                                                                                                                                                                                                                                                                                                pub fn hosted_zone_id_marker( diff --git a/sdk/route53/src/operation/list_traffic_policy_instances_by_hosted_zone/builders.rs b/sdk/route53/src/operation/list_traffic_policy_instances_by_hosted_zone/builders.rs index 5f60fd9762b8..a9d332dac851 100644 --- a/sdk/route53/src/operation/list_traffic_policy_instances_by_hosted_zone/builders.rs +++ b/sdk/route53/src/operation/list_traffic_policy_instances_by_hosted_zone/builders.rs @@ -22,9 +22,9 @@ impl ListTrafficPolicyInstancesByHostedZoneFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize(self) -> ::std::result::Result< + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware(self) -> ::std::result::Result< crate::client::customize::CustomizableOperation, ::aws_smithy_http::result::SdkError >{ @@ -67,6 +67,15 @@ impl ListTrafficPolicyInstancesByHostedZoneFluentBuilder { { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize(self) -> ::std::result::Result< + crate::client::customize::CustomizableOperation, + ::aws_smithy_http::result::SdkError + >{ + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                The ID of the hosted zone that you want to list traffic policy instances for.

                                                                                                                                                                                                                                                                                                                                                                pub fn hosted_zone_id( mut self, diff --git a/sdk/route53/src/operation/list_traffic_policy_instances_by_policy/builders.rs b/sdk/route53/src/operation/list_traffic_policy_instances_by_policy/builders.rs index cbc294cdaf8a..75e67b599ce6 100644 --- a/sdk/route53/src/operation/list_traffic_policy_instances_by_policy/builders.rs +++ b/sdk/route53/src/operation/list_traffic_policy_instances_by_policy/builders.rs @@ -22,9 +22,9 @@ impl ListTrafficPolicyInstancesByPolicyFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize(self) -> ::std::result::Result< + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware(self) -> ::std::result::Result< crate::client::customize::CustomizableOperation, ::aws_smithy_http::result::SdkError >{ @@ -67,6 +67,15 @@ impl ListTrafficPolicyInstancesByPolicyFluentBuilder { { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize(self) -> ::std::result::Result< + crate::client::customize::CustomizableOperation, + ::aws_smithy_http::result::SdkError + >{ + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                The ID of the traffic policy for which you want to list traffic policy instances.

                                                                                                                                                                                                                                                                                                                                                                pub fn traffic_policy_id( mut self, diff --git a/sdk/route53/src/operation/list_traffic_policy_versions/builders.rs b/sdk/route53/src/operation/list_traffic_policy_versions/builders.rs index 3fc3fd3e5fca..5b126df0f3f8 100644 --- a/sdk/route53/src/operation/list_traffic_policy_versions/builders.rs +++ b/sdk/route53/src/operation/list_traffic_policy_versions/builders.rs @@ -20,9 +20,9 @@ impl ListTrafficPolicyVersionsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -84,6 +84,22 @@ impl ListTrafficPolicyVersionsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_traffic_policy_versions::ListTrafficPolicyVersions, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::list_traffic_policy_versions::ListTrafficPolicyVersionsError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                Specify the value of Id of the traffic policy for which you want to list all versions.

                                                                                                                                                                                                                                                                                                                                                                pub fn id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.id(input.into()); diff --git a/sdk/route53/src/operation/list_vpc_association_authorizations/builders.rs b/sdk/route53/src/operation/list_vpc_association_authorizations/builders.rs index 5755d88e79d2..a125fd8acbff 100644 --- a/sdk/route53/src/operation/list_vpc_association_authorizations/builders.rs +++ b/sdk/route53/src/operation/list_vpc_association_authorizations/builders.rs @@ -20,9 +20,9 @@ impl ListVPCAssociationAuthorizationsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize(self) -> ::std::result::Result< + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware(self) -> ::std::result::Result< crate::client::customize::CustomizableOperation, ::aws_smithy_http::result::SdkError >{ @@ -65,6 +65,15 @@ impl ListVPCAssociationAuthorizationsFluentBuilder { { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize(self) -> ::std::result::Result< + crate::client::customize::CustomizableOperation, + ::aws_smithy_http::result::SdkError + >{ + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                The ID of the hosted zone for which you want a list of VPCs that can be associated with the hosted zone.

                                                                                                                                                                                                                                                                                                                                                                pub fn hosted_zone_id( mut self, diff --git a/sdk/route53/src/operation/test_dns_answer/builders.rs b/sdk/route53/src/operation/test_dns_answer/builders.rs index 331c3c197c1a..38a0bbee7138 100644 --- a/sdk/route53/src/operation/test_dns_answer/builders.rs +++ b/sdk/route53/src/operation/test_dns_answer/builders.rs @@ -20,9 +20,9 @@ impl TestDNSAnswerFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -78,6 +78,20 @@ impl TestDNSAnswerFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::test_dns_answer::TestDNSAnswer, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                The ID of the hosted zone that you want Amazon Route 53 to simulate a query for.

                                                                                                                                                                                                                                                                                                                                                                pub fn hosted_zone_id( mut self, diff --git a/sdk/route53/src/operation/update_health_check/builders.rs b/sdk/route53/src/operation/update_health_check/builders.rs index aed542d4d4cb..dbd888992854 100644 --- a/sdk/route53/src/operation/update_health_check/builders.rs +++ b/sdk/route53/src/operation/update_health_check/builders.rs @@ -20,9 +20,9 @@ impl UpdateHealthCheckFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -84,6 +84,22 @@ impl UpdateHealthCheckFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::update_health_check::UpdateHealthCheck, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::update_health_check::UpdateHealthCheckError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                The ID for the health check for which you want detailed information. When you created the health check, CreateHealthCheck returned the ID in the response, in the HealthCheckId element.

                                                                                                                                                                                                                                                                                                                                                                pub fn health_check_id( mut self, diff --git a/sdk/route53/src/operation/update_hosted_zone_comment/builders.rs b/sdk/route53/src/operation/update_hosted_zone_comment/builders.rs index 01a0082bf6ac..be3a8c167f19 100644 --- a/sdk/route53/src/operation/update_hosted_zone_comment/builders.rs +++ b/sdk/route53/src/operation/update_hosted_zone_comment/builders.rs @@ -20,9 +20,9 @@ impl UpdateHostedZoneCommentFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -84,6 +84,22 @@ impl UpdateHostedZoneCommentFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::update_hosted_zone_comment::UpdateHostedZoneComment, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::update_hosted_zone_comment::UpdateHostedZoneCommentError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                The ID for the hosted zone that you want to update the comment for.

                                                                                                                                                                                                                                                                                                                                                                pub fn id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.id(input.into()); diff --git a/sdk/route53/src/operation/update_traffic_policy_comment/builders.rs b/sdk/route53/src/operation/update_traffic_policy_comment/builders.rs index 098d2590f8af..ca611af19207 100644 --- a/sdk/route53/src/operation/update_traffic_policy_comment/builders.rs +++ b/sdk/route53/src/operation/update_traffic_policy_comment/builders.rs @@ -19,9 +19,9 @@ impl UpdateTrafficPolicyCommentFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl UpdateTrafficPolicyCommentFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::update_traffic_policy_comment::UpdateTrafficPolicyComment, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::update_traffic_policy_comment::UpdateTrafficPolicyCommentError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                The value of Id for the traffic policy that you want to update the comment for.

                                                                                                                                                                                                                                                                                                                                                                pub fn id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.id(input.into()); diff --git a/sdk/route53/src/operation/update_traffic_policy_instance/builders.rs b/sdk/route53/src/operation/update_traffic_policy_instance/builders.rs index 7e355b2e4cb1..d34a87eee38c 100644 --- a/sdk/route53/src/operation/update_traffic_policy_instance/builders.rs +++ b/sdk/route53/src/operation/update_traffic_policy_instance/builders.rs @@ -25,9 +25,9 @@ impl UpdateTrafficPolicyInstanceFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -89,6 +89,22 @@ impl UpdateTrafficPolicyInstanceFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::update_traffic_policy_instance::UpdateTrafficPolicyInstance, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::update_traffic_policy_instance::UpdateTrafficPolicyInstanceError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                The ID of the traffic policy instance that you want to update.

                                                                                                                                                                                                                                                                                                                                                                pub fn id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.id(input.into()); diff --git a/sdk/route53domains/src/operation/accept_domain_transfer_from_another_aws_account/builders.rs b/sdk/route53domains/src/operation/accept_domain_transfer_from_another_aws_account/builders.rs index df2d3697e812..60a417684689 100644 --- a/sdk/route53domains/src/operation/accept_domain_transfer_from_another_aws_account/builders.rs +++ b/sdk/route53domains/src/operation/accept_domain_transfer_from_another_aws_account/builders.rs @@ -21,9 +21,9 @@ impl AcceptDomainTransferFromAnotherAwsAccountFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize(self) -> ::std::result::Result< + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware(self) -> ::std::result::Result< crate::client::customize::CustomizableOperation, ::aws_smithy_http::result::SdkError >{ @@ -66,6 +66,15 @@ impl AcceptDomainTransferFromAnotherAwsAccountFluentBuilder { { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize(self) -> ::std::result::Result< + crate::client::customize::CustomizableOperation, + ::aws_smithy_http::result::SdkError + >{ + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                The name of the domain that was specified when another Amazon Web Services account submitted a TransferDomainToAnotherAwsAccount request.

                                                                                                                                                                                                                                                                                                                                                                pub fn domain_name(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.domain_name(input.into()); diff --git a/sdk/route53domains/src/operation/associate_delegation_signer_to_domain/builders.rs b/sdk/route53domains/src/operation/associate_delegation_signer_to_domain/builders.rs index 873cba7552dd..25c21945ab4e 100644 --- a/sdk/route53domains/src/operation/associate_delegation_signer_to_domain/builders.rs +++ b/sdk/route53domains/src/operation/associate_delegation_signer_to_domain/builders.rs @@ -20,9 +20,9 @@ impl AssociateDelegationSignerToDomainFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize(self) -> ::std::result::Result< + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware(self) -> ::std::result::Result< crate::client::customize::CustomizableOperation, ::aws_smithy_http::result::SdkError >{ @@ -65,6 +65,15 @@ impl AssociateDelegationSignerToDomainFluentBuilder { { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize(self) -> ::std::result::Result< + crate::client::customize::CustomizableOperation, + ::aws_smithy_http::result::SdkError + >{ + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                The name of the domain.

                                                                                                                                                                                                                                                                                                                                                                pub fn domain_name(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.domain_name(input.into()); diff --git a/sdk/route53domains/src/operation/cancel_domain_transfer_to_another_aws_account/builders.rs b/sdk/route53domains/src/operation/cancel_domain_transfer_to_another_aws_account/builders.rs index 8be9123a82c2..a20d877f767f 100644 --- a/sdk/route53domains/src/operation/cancel_domain_transfer_to_another_aws_account/builders.rs +++ b/sdk/route53domains/src/operation/cancel_domain_transfer_to_another_aws_account/builders.rs @@ -22,9 +22,9 @@ impl CancelDomainTransferToAnotherAwsAccountFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize(self) -> ::std::result::Result< + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware(self) -> ::std::result::Result< crate::client::customize::CustomizableOperation, ::aws_smithy_http::result::SdkError >{ @@ -67,6 +67,15 @@ impl CancelDomainTransferToAnotherAwsAccountFluentBuilder { { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize(self) -> ::std::result::Result< + crate::client::customize::CustomizableOperation, + ::aws_smithy_http::result::SdkError + >{ + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                The name of the domain for which you want to cancel the transfer to another Amazon Web Services account.

                                                                                                                                                                                                                                                                                                                                                                pub fn domain_name(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.domain_name(input.into()); diff --git a/sdk/route53domains/src/operation/check_domain_availability/builders.rs b/sdk/route53domains/src/operation/check_domain_availability/builders.rs index 340ddd97154a..c3cf3ec3fe46 100644 --- a/sdk/route53domains/src/operation/check_domain_availability/builders.rs +++ b/sdk/route53domains/src/operation/check_domain_availability/builders.rs @@ -20,9 +20,9 @@ impl CheckDomainAvailabilityFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -84,6 +84,22 @@ impl CheckDomainAvailabilityFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::check_domain_availability::CheckDomainAvailability, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::check_domain_availability::CheckDomainAvailabilityError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                The name of the domain that you want to get availability for. The top-level domain (TLD), such as .com, must be a TLD that Route 53 supports. For a list of supported TLDs, see Domains that You Can Register with Amazon Route 53 in the Amazon Route 53 Developer Guide.

                                                                                                                                                                                                                                                                                                                                                                ///

                                                                                                                                                                                                                                                                                                                                                                The domain name can contain only the following characters:

                                                                                                                                                                                                                                                                                                                                                                ///
                                                                                                                                                                                                                                                                                                                                                                  diff --git a/sdk/route53domains/src/operation/check_domain_transferability/builders.rs b/sdk/route53domains/src/operation/check_domain_transferability/builders.rs index db13f67a2281..fcba4356aafb 100644 --- a/sdk/route53domains/src/operation/check_domain_transferability/builders.rs +++ b/sdk/route53domains/src/operation/check_domain_transferability/builders.rs @@ -19,9 +19,9 @@ impl CheckDomainTransferabilityFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl CheckDomainTransferabilityFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::check_domain_transferability::CheckDomainTransferability, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::check_domain_transferability::CheckDomainTransferabilityError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                  The name of the domain that you want to transfer to Route 53. The top-level domain (TLD), such as .com, must be a TLD that Route 53 supports. For a list of supported TLDs, see Domains that You Can Register with Amazon Route 53 in the Amazon Route 53 Developer Guide.

                                                                                                                                                                                                                                                                                                                                                                  ///

                                                                                                                                                                                                                                                                                                                                                                  The domain name can contain only the following characters:

                                                                                                                                                                                                                                                                                                                                                                  ///
                                                                                                                                                                                                                                                                                                                                                                    diff --git a/sdk/route53domains/src/operation/delete_domain/builders.rs b/sdk/route53domains/src/operation/delete_domain/builders.rs index 6a16e701062d..26180106d05e 100644 --- a/sdk/route53domains/src/operation/delete_domain/builders.rs +++ b/sdk/route53domains/src/operation/delete_domain/builders.rs @@ -25,9 +25,9 @@ impl DeleteDomainFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,20 @@ impl DeleteDomainFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::delete_domain::DeleteDomain, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                    Name of the domain to be deleted.

                                                                                                                                                                                                                                                                                                                                                                    pub fn domain_name(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.domain_name(input.into()); diff --git a/sdk/route53domains/src/operation/delete_tags_for_domain/builders.rs b/sdk/route53domains/src/operation/delete_tags_for_domain/builders.rs index 38c890391ac2..abf6353caccb 100644 --- a/sdk/route53domains/src/operation/delete_tags_for_domain/builders.rs +++ b/sdk/route53domains/src/operation/delete_tags_for_domain/builders.rs @@ -20,9 +20,9 @@ impl DeleteTagsForDomainFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -84,6 +84,22 @@ impl DeleteTagsForDomainFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::delete_tags_for_domain::DeleteTagsForDomain, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::delete_tags_for_domain::DeleteTagsForDomainError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                    The domain for which you want to delete one or more tags.

                                                                                                                                                                                                                                                                                                                                                                    pub fn domain_name(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.domain_name(input.into()); diff --git a/sdk/route53domains/src/operation/disable_domain_auto_renew/builders.rs b/sdk/route53domains/src/operation/disable_domain_auto_renew/builders.rs index 24a4313b20b9..509bca167ee1 100644 --- a/sdk/route53domains/src/operation/disable_domain_auto_renew/builders.rs +++ b/sdk/route53domains/src/operation/disable_domain_auto_renew/builders.rs @@ -20,9 +20,9 @@ impl DisableDomainAutoRenewFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -84,6 +84,22 @@ impl DisableDomainAutoRenewFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::disable_domain_auto_renew::DisableDomainAutoRenew, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::disable_domain_auto_renew::DisableDomainAutoRenewError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                    The name of the domain that you want to disable automatic renewal for.

                                                                                                                                                                                                                                                                                                                                                                    pub fn domain_name(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.domain_name(input.into()); diff --git a/sdk/route53domains/src/operation/disable_domain_transfer_lock/builders.rs b/sdk/route53domains/src/operation/disable_domain_transfer_lock/builders.rs index ef000dc0d35c..8de2eda87614 100644 --- a/sdk/route53domains/src/operation/disable_domain_transfer_lock/builders.rs +++ b/sdk/route53domains/src/operation/disable_domain_transfer_lock/builders.rs @@ -19,9 +19,9 @@ impl DisableDomainTransferLockFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl DisableDomainTransferLockFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::disable_domain_transfer_lock::DisableDomainTransferLock, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::disable_domain_transfer_lock::DisableDomainTransferLockError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                    The name of the domain that you want to remove the transfer lock for.

                                                                                                                                                                                                                                                                                                                                                                    pub fn domain_name(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.domain_name(input.into()); diff --git a/sdk/route53domains/src/operation/disassociate_delegation_signer_from_domain/builders.rs b/sdk/route53domains/src/operation/disassociate_delegation_signer_from_domain/builders.rs index 7615c762d27f..f335647e3f84 100644 --- a/sdk/route53domains/src/operation/disassociate_delegation_signer_from_domain/builders.rs +++ b/sdk/route53domains/src/operation/disassociate_delegation_signer_from_domain/builders.rs @@ -19,9 +19,9 @@ impl DisassociateDelegationSignerFromDomainFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize(self) -> ::std::result::Result< + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware(self) -> ::std::result::Result< crate::client::customize::CustomizableOperation, ::aws_smithy_http::result::SdkError >{ @@ -64,6 +64,15 @@ impl DisassociateDelegationSignerFromDomainFluentBuilder { { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize(self) -> ::std::result::Result< + crate::client::customize::CustomizableOperation, + ::aws_smithy_http::result::SdkError + >{ + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                    Name of the domain.

                                                                                                                                                                                                                                                                                                                                                                    pub fn domain_name(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.domain_name(input.into()); diff --git a/sdk/route53domains/src/operation/enable_domain_auto_renew/builders.rs b/sdk/route53domains/src/operation/enable_domain_auto_renew/builders.rs index 0ff7af96cb08..8de401deb405 100644 --- a/sdk/route53domains/src/operation/enable_domain_auto_renew/builders.rs +++ b/sdk/route53domains/src/operation/enable_domain_auto_renew/builders.rs @@ -20,9 +20,9 @@ impl EnableDomainAutoRenewFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -84,6 +84,22 @@ impl EnableDomainAutoRenewFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::enable_domain_auto_renew::EnableDomainAutoRenew, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::enable_domain_auto_renew::EnableDomainAutoRenewError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                    The name of the domain that you want to enable automatic renewal for.

                                                                                                                                                                                                                                                                                                                                                                    pub fn domain_name(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.domain_name(input.into()); diff --git a/sdk/route53domains/src/operation/enable_domain_transfer_lock/builders.rs b/sdk/route53domains/src/operation/enable_domain_transfer_lock/builders.rs index be06397a889b..975ef548b836 100644 --- a/sdk/route53domains/src/operation/enable_domain_transfer_lock/builders.rs +++ b/sdk/route53domains/src/operation/enable_domain_transfer_lock/builders.rs @@ -19,9 +19,9 @@ impl EnableDomainTransferLockFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl EnableDomainTransferLockFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::enable_domain_transfer_lock::EnableDomainTransferLock, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::enable_domain_transfer_lock::EnableDomainTransferLockError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                    The name of the domain that you want to set the transfer lock for.

                                                                                                                                                                                                                                                                                                                                                                    pub fn domain_name(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.domain_name(input.into()); diff --git a/sdk/route53domains/src/operation/get_contact_reachability_status/builders.rs b/sdk/route53domains/src/operation/get_contact_reachability_status/builders.rs index ebd04a2e10f8..c542bf5fc7f3 100644 --- a/sdk/route53domains/src/operation/get_contact_reachability_status/builders.rs +++ b/sdk/route53domains/src/operation/get_contact_reachability_status/builders.rs @@ -20,9 +20,9 @@ impl GetContactReachabilityStatusFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -84,6 +84,22 @@ impl GetContactReachabilityStatusFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::get_contact_reachability_status::GetContactReachabilityStatus, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::get_contact_reachability_status::GetContactReachabilityStatusError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                    The name of the domain for which you want to know whether the registrant contact has confirmed that the email address is valid.

                                                                                                                                                                                                                                                                                                                                                                    pub fn domain_name(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.domain_name(input.into()); diff --git a/sdk/route53domains/src/operation/get_domain_detail/builders.rs b/sdk/route53domains/src/operation/get_domain_detail/builders.rs index 1317055b378f..36b78243ad4b 100644 --- a/sdk/route53domains/src/operation/get_domain_detail/builders.rs +++ b/sdk/route53domains/src/operation/get_domain_detail/builders.rs @@ -19,9 +19,9 @@ impl GetDomainDetailFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl GetDomainDetailFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::get_domain_detail::GetDomainDetail, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::get_domain_detail::GetDomainDetailError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                    The name of the domain that you want to get detailed information about.

                                                                                                                                                                                                                                                                                                                                                                    pub fn domain_name(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.domain_name(input.into()); diff --git a/sdk/route53domains/src/operation/get_domain_suggestions/builders.rs b/sdk/route53domains/src/operation/get_domain_suggestions/builders.rs index 6daee5d979e5..3b9a98c49050 100644 --- a/sdk/route53domains/src/operation/get_domain_suggestions/builders.rs +++ b/sdk/route53domains/src/operation/get_domain_suggestions/builders.rs @@ -19,9 +19,9 @@ impl GetDomainSuggestionsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl GetDomainSuggestionsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::get_domain_suggestions::GetDomainSuggestions, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::get_domain_suggestions::GetDomainSuggestionsError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                    A domain name that you want to use as the basis for a list of possible domain names. The top-level domain (TLD), such as .com, must be a TLD that Route 53 supports. For a list of supported TLDs, see Domains that You Can Register with Amazon Route 53 in the Amazon Route 53 Developer Guide.

                                                                                                                                                                                                                                                                                                                                                                    ///

                                                                                                                                                                                                                                                                                                                                                                    The domain name can contain only the following characters:

                                                                                                                                                                                                                                                                                                                                                                    ///
                                                                                                                                                                                                                                                                                                                                                                      diff --git a/sdk/route53domains/src/operation/get_operation_detail/builders.rs b/sdk/route53domains/src/operation/get_operation_detail/builders.rs index ff1ef2873082..e30d14d5de84 100644 --- a/sdk/route53domains/src/operation/get_operation_detail/builders.rs +++ b/sdk/route53domains/src/operation/get_operation_detail/builders.rs @@ -19,9 +19,9 @@ impl GetOperationDetailFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl GetOperationDetailFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::get_operation_detail::GetOperationDetail, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::get_operation_detail::GetOperationDetailError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                      The identifier for the operation for which you want to get the status. Route 53 returned the identifier in the response to the original request.

                                                                                                                                                                                                                                                                                                                                                                      pub fn operation_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.operation_id(input.into()); diff --git a/sdk/route53domains/src/operation/list_domains/builders.rs b/sdk/route53domains/src/operation/list_domains/builders.rs index 828c80496dc0..da16b06d5318 100644 --- a/sdk/route53domains/src/operation/list_domains/builders.rs +++ b/sdk/route53domains/src/operation/list_domains/builders.rs @@ -19,9 +19,9 @@ impl ListDomainsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl ListDomainsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_domains::ListDomains, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::list_domains::paginator::ListDomainsPaginator::send) which returns a `Stream`. diff --git a/sdk/route53domains/src/operation/list_operations/builders.rs b/sdk/route53domains/src/operation/list_operations/builders.rs index 3613d5a1780c..525522e49bd8 100644 --- a/sdk/route53domains/src/operation/list_operations/builders.rs +++ b/sdk/route53domains/src/operation/list_operations/builders.rs @@ -20,9 +20,9 @@ impl ListOperationsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -78,6 +78,20 @@ impl ListOperationsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_operations::ListOperations, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::list_operations::paginator::ListOperationsPaginator::send) which returns a `Stream`. diff --git a/sdk/route53domains/src/operation/list_prices/builders.rs b/sdk/route53domains/src/operation/list_prices/builders.rs index 5d8e8922eb5a..7334163fa307 100644 --- a/sdk/route53domains/src/operation/list_prices/builders.rs +++ b/sdk/route53domains/src/operation/list_prices/builders.rs @@ -26,9 +26,9 @@ impl ListPricesFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -84,6 +84,20 @@ impl ListPricesFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_prices::ListPrices, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::list_prices::paginator::ListPricesPaginator::send) which returns a `Stream`. diff --git a/sdk/route53domains/src/operation/list_tags_for_domain/builders.rs b/sdk/route53domains/src/operation/list_tags_for_domain/builders.rs index 49e2c908791c..9244b339091c 100644 --- a/sdk/route53domains/src/operation/list_tags_for_domain/builders.rs +++ b/sdk/route53domains/src/operation/list_tags_for_domain/builders.rs @@ -20,9 +20,9 @@ impl ListTagsForDomainFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -84,6 +84,22 @@ impl ListTagsForDomainFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_tags_for_domain::ListTagsForDomain, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::list_tags_for_domain::ListTagsForDomainError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                      The domain for which you want to get a list of tags.

                                                                                                                                                                                                                                                                                                                                                                      pub fn domain_name(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.domain_name(input.into()); diff --git a/sdk/route53domains/src/operation/push_domain/builders.rs b/sdk/route53domains/src/operation/push_domain/builders.rs index 60cadc1a2f98..c17a8d08ff5e 100644 --- a/sdk/route53domains/src/operation/push_domain/builders.rs +++ b/sdk/route53domains/src/operation/push_domain/builders.rs @@ -23,9 +23,9 @@ impl PushDomainFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -81,6 +81,20 @@ impl PushDomainFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::push_domain::PushDomain, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                      Name of the domain.

                                                                                                                                                                                                                                                                                                                                                                      pub fn domain_name(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.domain_name(input.into()); diff --git a/sdk/route53domains/src/operation/register_domain/builders.rs b/sdk/route53domains/src/operation/register_domain/builders.rs index df168afd6a1b..60cadb9c05e9 100644 --- a/sdk/route53domains/src/operation/register_domain/builders.rs +++ b/sdk/route53domains/src/operation/register_domain/builders.rs @@ -29,9 +29,9 @@ impl RegisterDomainFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -87,6 +87,20 @@ impl RegisterDomainFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::register_domain::RegisterDomain, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                      The domain name that you want to register. The top-level domain (TLD), such as .com, must be a TLD that Route 53 supports. For a list of supported TLDs, see Domains that You Can Register with Amazon Route 53 in the Amazon Route 53 Developer Guide.

                                                                                                                                                                                                                                                                                                                                                                      ///

                                                                                                                                                                                                                                                                                                                                                                      The domain name can contain only the following characters:

                                                                                                                                                                                                                                                                                                                                                                      ///
                                                                                                                                                                                                                                                                                                                                                                        diff --git a/sdk/route53domains/src/operation/reject_domain_transfer_from_another_aws_account/builders.rs b/sdk/route53domains/src/operation/reject_domain_transfer_from_another_aws_account/builders.rs index 34545a5f9457..cfa13376069b 100644 --- a/sdk/route53domains/src/operation/reject_domain_transfer_from_another_aws_account/builders.rs +++ b/sdk/route53domains/src/operation/reject_domain_transfer_from_another_aws_account/builders.rs @@ -20,9 +20,9 @@ impl RejectDomainTransferFromAnotherAwsAccountFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize(self) -> ::std::result::Result< + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware(self) -> ::std::result::Result< crate::client::customize::CustomizableOperation, ::aws_smithy_http::result::SdkError >{ @@ -65,6 +65,15 @@ impl RejectDomainTransferFromAnotherAwsAccountFluentBuilder { { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize(self) -> ::std::result::Result< + crate::client::customize::CustomizableOperation, + ::aws_smithy_http::result::SdkError + >{ + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                        The name of the domain that was specified when another Amazon Web Services account submitted a TransferDomainToAnotherAwsAccount request.

                                                                                                                                                                                                                                                                                                                                                                        pub fn domain_name(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.domain_name(input.into()); diff --git a/sdk/route53domains/src/operation/renew_domain/builders.rs b/sdk/route53domains/src/operation/renew_domain/builders.rs index d1ad8f4a234c..289cdfe0c688 100644 --- a/sdk/route53domains/src/operation/renew_domain/builders.rs +++ b/sdk/route53domains/src/operation/renew_domain/builders.rs @@ -20,9 +20,9 @@ impl RenewDomainFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -78,6 +78,20 @@ impl RenewDomainFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::renew_domain::RenewDomain, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                        The name of the domain that you want to renew.

                                                                                                                                                                                                                                                                                                                                                                        pub fn domain_name(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.domain_name(input.into()); diff --git a/sdk/route53domains/src/operation/resend_contact_reachability_email/builders.rs b/sdk/route53domains/src/operation/resend_contact_reachability_email/builders.rs index a336eb1dd05f..62d206b8191d 100644 --- a/sdk/route53domains/src/operation/resend_contact_reachability_email/builders.rs +++ b/sdk/route53domains/src/operation/resend_contact_reachability_email/builders.rs @@ -19,9 +19,9 @@ impl ResendContactReachabilityEmailFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize(self) -> ::std::result::Result< + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware(self) -> ::std::result::Result< crate::client::customize::CustomizableOperation, ::aws_smithy_http::result::SdkError >{ @@ -64,6 +64,15 @@ impl ResendContactReachabilityEmailFluentBuilder { { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize(self) -> ::std::result::Result< + crate::client::customize::CustomizableOperation, + ::aws_smithy_http::result::SdkError + >{ + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                        The name of the domain for which you want Route 53 to resend a confirmation email to the registrant contact.

                                                                                                                                                                                                                                                                                                                                                                        pub fn domain_name(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.domain_name(input.into()); diff --git a/sdk/route53domains/src/operation/resend_operation_authorization/builders.rs b/sdk/route53domains/src/operation/resend_operation_authorization/builders.rs index aad90a3cfb6a..d03b6ef38cbd 100644 --- a/sdk/route53domains/src/operation/resend_operation_authorization/builders.rs +++ b/sdk/route53domains/src/operation/resend_operation_authorization/builders.rs @@ -19,9 +19,9 @@ impl ResendOperationAuthorizationFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl ResendOperationAuthorizationFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::resend_operation_authorization::ResendOperationAuthorization, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::resend_operation_authorization::ResendOperationAuthorizationError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                        Operation ID.

                                                                                                                                                                                                                                                                                                                                                                        pub fn operation_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.operation_id(input.into()); diff --git a/sdk/route53domains/src/operation/retrieve_domain_auth_code/builders.rs b/sdk/route53domains/src/operation/retrieve_domain_auth_code/builders.rs index 3eedf50b7122..df475dc08ed8 100644 --- a/sdk/route53domains/src/operation/retrieve_domain_auth_code/builders.rs +++ b/sdk/route53domains/src/operation/retrieve_domain_auth_code/builders.rs @@ -20,9 +20,9 @@ impl RetrieveDomainAuthCodeFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -84,6 +84,22 @@ impl RetrieveDomainAuthCodeFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::retrieve_domain_auth_code::RetrieveDomainAuthCode, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::retrieve_domain_auth_code::RetrieveDomainAuthCodeError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                        The name of the domain that you want to get an authorization code for.

                                                                                                                                                                                                                                                                                                                                                                        pub fn domain_name(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.domain_name(input.into()); diff --git a/sdk/route53domains/src/operation/transfer_domain/builders.rs b/sdk/route53domains/src/operation/transfer_domain/builders.rs index ef0104e875aa..0108f6193ded 100644 --- a/sdk/route53domains/src/operation/transfer_domain/builders.rs +++ b/sdk/route53domains/src/operation/transfer_domain/builders.rs @@ -29,9 +29,9 @@ impl TransferDomainFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -87,6 +87,20 @@ impl TransferDomainFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::transfer_domain::TransferDomain, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                        The name of the domain that you want to transfer to Route 53. The top-level domain (TLD), such as .com, must be a TLD that Route 53 supports. For a list of supported TLDs, see Domains that You Can Register with Amazon Route 53 in the Amazon Route 53 Developer Guide.

                                                                                                                                                                                                                                                                                                                                                                        ///

                                                                                                                                                                                                                                                                                                                                                                        The domain name can contain only the following characters:

                                                                                                                                                                                                                                                                                                                                                                        ///
                                                                                                                                                                                                                                                                                                                                                                          diff --git a/sdk/route53domains/src/operation/transfer_domain_to_another_aws_account/builders.rs b/sdk/route53domains/src/operation/transfer_domain_to_another_aws_account/builders.rs index e30b83b18ab0..5d019a7835b3 100644 --- a/sdk/route53domains/src/operation/transfer_domain_to_another_aws_account/builders.rs +++ b/sdk/route53domains/src/operation/transfer_domain_to_another_aws_account/builders.rs @@ -27,9 +27,9 @@ impl TransferDomainToAnotherAwsAccountFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize(self) -> ::std::result::Result< + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware(self) -> ::std::result::Result< crate::client::customize::CustomizableOperation, ::aws_smithy_http::result::SdkError >{ @@ -72,6 +72,15 @@ impl TransferDomainToAnotherAwsAccountFluentBuilder { { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize(self) -> ::std::result::Result< + crate::client::customize::CustomizableOperation, + ::aws_smithy_http::result::SdkError + >{ + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                          The name of the domain that you want to transfer from the current Amazon Web Services account to another account.

                                                                                                                                                                                                                                                                                                                                                                          pub fn domain_name(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.domain_name(input.into()); diff --git a/sdk/route53domains/src/operation/update_domain_contact/builders.rs b/sdk/route53domains/src/operation/update_domain_contact/builders.rs index abcbfa7ba55e..84c0534bf999 100644 --- a/sdk/route53domains/src/operation/update_domain_contact/builders.rs +++ b/sdk/route53domains/src/operation/update_domain_contact/builders.rs @@ -20,9 +20,9 @@ impl UpdateDomainContactFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -84,6 +84,22 @@ impl UpdateDomainContactFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::update_domain_contact::UpdateDomainContact, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::update_domain_contact::UpdateDomainContactError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                          The name of the domain that you want to update contact information for.

                                                                                                                                                                                                                                                                                                                                                                          pub fn domain_name(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.domain_name(input.into()); diff --git a/sdk/route53domains/src/operation/update_domain_contact_privacy/builders.rs b/sdk/route53domains/src/operation/update_domain_contact_privacy/builders.rs index 525439aa2a35..fe5780934fb6 100644 --- a/sdk/route53domains/src/operation/update_domain_contact_privacy/builders.rs +++ b/sdk/route53domains/src/operation/update_domain_contact_privacy/builders.rs @@ -24,9 +24,9 @@ impl UpdateDomainContactPrivacyFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -88,6 +88,22 @@ impl UpdateDomainContactPrivacyFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::update_domain_contact_privacy::UpdateDomainContactPrivacy, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::update_domain_contact_privacy::UpdateDomainContactPrivacyError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                          The name of the domain that you want to update the privacy setting for.

                                                                                                                                                                                                                                                                                                                                                                          pub fn domain_name(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.domain_name(input.into()); diff --git a/sdk/route53domains/src/operation/update_domain_nameservers/builders.rs b/sdk/route53domains/src/operation/update_domain_nameservers/builders.rs index fd2a6c0a625e..85a421b4fd7d 100644 --- a/sdk/route53domains/src/operation/update_domain_nameservers/builders.rs +++ b/sdk/route53domains/src/operation/update_domain_nameservers/builders.rs @@ -21,9 +21,9 @@ impl UpdateDomainNameserversFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -85,6 +85,22 @@ impl UpdateDomainNameserversFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::update_domain_nameservers::UpdateDomainNameservers, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::update_domain_nameservers::UpdateDomainNameserversError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                          The name of the domain that you want to change name servers for.

                                                                                                                                                                                                                                                                                                                                                                          pub fn domain_name(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.domain_name(input.into()); diff --git a/sdk/route53domains/src/operation/update_tags_for_domain/builders.rs b/sdk/route53domains/src/operation/update_tags_for_domain/builders.rs index ec913317a54b..6438721eaf31 100644 --- a/sdk/route53domains/src/operation/update_tags_for_domain/builders.rs +++ b/sdk/route53domains/src/operation/update_tags_for_domain/builders.rs @@ -20,9 +20,9 @@ impl UpdateTagsForDomainFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -84,6 +84,22 @@ impl UpdateTagsForDomainFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::update_tags_for_domain::UpdateTagsForDomain, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::update_tags_for_domain::UpdateTagsForDomainError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                          The domain for which you want to add or update tags.

                                                                                                                                                                                                                                                                                                                                                                          pub fn domain_name(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.domain_name(input.into()); diff --git a/sdk/route53domains/src/operation/view_billing/builders.rs b/sdk/route53domains/src/operation/view_billing/builders.rs index 666d9ef4ec17..dcaf68a2b424 100644 --- a/sdk/route53domains/src/operation/view_billing/builders.rs +++ b/sdk/route53domains/src/operation/view_billing/builders.rs @@ -19,9 +19,9 @@ impl ViewBillingFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl ViewBillingFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::view_billing::ViewBilling, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::view_billing::paginator::ViewBillingPaginator::send) which returns a `Stream`. diff --git a/sdk/route53recoverycluster/src/operation/get_routing_control_state/builders.rs b/sdk/route53recoverycluster/src/operation/get_routing_control_state/builders.rs index ef6b1f9d9cbf..8ded7142cf8c 100644 --- a/sdk/route53recoverycluster/src/operation/get_routing_control_state/builders.rs +++ b/sdk/route53recoverycluster/src/operation/get_routing_control_state/builders.rs @@ -28,9 +28,9 @@ impl GetRoutingControlStateFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -92,6 +92,22 @@ impl GetRoutingControlStateFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::get_routing_control_state::GetRoutingControlState, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::get_routing_control_state::GetRoutingControlStateError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                          The Amazon Resource Name (ARN) for the routing control that you want to get the state for.

                                                                                                                                                                                                                                                                                                                                                                          pub fn routing_control_arn( mut self, diff --git a/sdk/route53recoverycluster/src/operation/list_routing_controls/builders.rs b/sdk/route53recoverycluster/src/operation/list_routing_controls/builders.rs index d36a0feffc7f..9ee7f1932974 100644 --- a/sdk/route53recoverycluster/src/operation/list_routing_controls/builders.rs +++ b/sdk/route53recoverycluster/src/operation/list_routing_controls/builders.rs @@ -27,9 +27,9 @@ impl ListRoutingControlsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -91,6 +91,22 @@ impl ListRoutingControlsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_routing_controls::ListRoutingControls, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::list_routing_controls::ListRoutingControlsError, + >, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::list_routing_controls::paginator::ListRoutingControlsPaginator::send) which returns a `Stream`. diff --git a/sdk/route53recoverycluster/src/operation/update_routing_control_state/builders.rs b/sdk/route53recoverycluster/src/operation/update_routing_control_state/builders.rs index 5fbb69df2196..dec53175cfda 100644 --- a/sdk/route53recoverycluster/src/operation/update_routing_control_state/builders.rs +++ b/sdk/route53recoverycluster/src/operation/update_routing_control_state/builders.rs @@ -27,9 +27,9 @@ impl UpdateRoutingControlStateFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -91,6 +91,22 @@ impl UpdateRoutingControlStateFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::update_routing_control_state::UpdateRoutingControlState, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::update_routing_control_state::UpdateRoutingControlStateError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                          The Amazon Resource Name (ARN) for the routing control that you want to update the state for.

                                                                                                                                                                                                                                                                                                                                                                          pub fn routing_control_arn( mut self, diff --git a/sdk/route53recoverycluster/src/operation/update_routing_control_states/builders.rs b/sdk/route53recoverycluster/src/operation/update_routing_control_states/builders.rs index c69f4c0813de..3b191f316fe6 100644 --- a/sdk/route53recoverycluster/src/operation/update_routing_control_states/builders.rs +++ b/sdk/route53recoverycluster/src/operation/update_routing_control_states/builders.rs @@ -27,9 +27,9 @@ impl UpdateRoutingControlStatesFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -91,6 +91,22 @@ impl UpdateRoutingControlStatesFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::update_routing_control_states::UpdateRoutingControlStates, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::update_routing_control_states::UpdateRoutingControlStatesError, + >, + > { + self.customize_middleware().await + } /// Appends an item to `UpdateRoutingControlStateEntries`. /// /// To override the contents of this collection use [`set_update_routing_control_state_entries`](Self::set_update_routing_control_state_entries). diff --git a/sdk/route53recoverycontrolconfig/src/operation/create_cluster/builders.rs b/sdk/route53recoverycontrolconfig/src/operation/create_cluster/builders.rs index 57e4218fdc1d..ee0f92410f17 100644 --- a/sdk/route53recoverycontrolconfig/src/operation/create_cluster/builders.rs +++ b/sdk/route53recoverycontrolconfig/src/operation/create_cluster/builders.rs @@ -19,9 +19,9 @@ impl CreateClusterFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl CreateClusterFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::create_cluster::CreateCluster, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                          A unique, case-sensitive string of up to 64 ASCII characters. To make an idempotent API request with an action, specify a client token in the request.

                                                                                                                                                                                                                                                                                                                                                                          pub fn client_token(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.client_token(input.into()); diff --git a/sdk/route53recoverycontrolconfig/src/operation/create_control_panel/builders.rs b/sdk/route53recoverycontrolconfig/src/operation/create_control_panel/builders.rs index 477f7497f183..e874e57fb99b 100644 --- a/sdk/route53recoverycontrolconfig/src/operation/create_control_panel/builders.rs +++ b/sdk/route53recoverycontrolconfig/src/operation/create_control_panel/builders.rs @@ -19,9 +19,9 @@ impl CreateControlPanelFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl CreateControlPanelFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::create_control_panel::CreateControlPanel, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::create_control_panel::CreateControlPanelError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                          A unique, case-sensitive string of up to 64 ASCII characters. To make an idempotent API request with an action, specify a client token in the request.

                                                                                                                                                                                                                                                                                                                                                                          pub fn client_token(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.client_token(input.into()); diff --git a/sdk/route53recoverycontrolconfig/src/operation/create_routing_control/builders.rs b/sdk/route53recoverycontrolconfig/src/operation/create_routing_control/builders.rs index 553cf1e1ab7a..9fb577e2354a 100644 --- a/sdk/route53recoverycontrolconfig/src/operation/create_routing_control/builders.rs +++ b/sdk/route53recoverycontrolconfig/src/operation/create_routing_control/builders.rs @@ -21,9 +21,9 @@ impl CreateRoutingControlFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -85,6 +85,22 @@ impl CreateRoutingControlFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::create_routing_control::CreateRoutingControl, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::create_routing_control::CreateRoutingControlError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                          A unique, case-sensitive string of up to 64 ASCII characters. To make an idempotent API request with an action, specify a client token in the request.

                                                                                                                                                                                                                                                                                                                                                                          pub fn client_token(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.client_token(input.into()); diff --git a/sdk/route53recoverycontrolconfig/src/operation/create_safety_rule/builders.rs b/sdk/route53recoverycontrolconfig/src/operation/create_safety_rule/builders.rs index 401618bf7da0..0e7f5219704a 100644 --- a/sdk/route53recoverycontrolconfig/src/operation/create_safety_rule/builders.rs +++ b/sdk/route53recoverycontrolconfig/src/operation/create_safety_rule/builders.rs @@ -23,9 +23,9 @@ impl CreateSafetyRuleFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -87,6 +87,22 @@ impl CreateSafetyRuleFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::create_safety_rule::CreateSafetyRule, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::create_safety_rule::CreateSafetyRuleError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                          The assertion rule requested.

                                                                                                                                                                                                                                                                                                                                                                          pub fn assertion_rule(mut self, input: crate::types::NewAssertionRule) -> Self { self.inner = self.inner.assertion_rule(input); diff --git a/sdk/route53recoverycontrolconfig/src/operation/delete_cluster/builders.rs b/sdk/route53recoverycontrolconfig/src/operation/delete_cluster/builders.rs index f31d5f055a66..4a942c85ab89 100644 --- a/sdk/route53recoverycontrolconfig/src/operation/delete_cluster/builders.rs +++ b/sdk/route53recoverycontrolconfig/src/operation/delete_cluster/builders.rs @@ -19,9 +19,9 @@ impl DeleteClusterFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl DeleteClusterFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::delete_cluster::DeleteCluster, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                          The Amazon Resource Name (ARN) of the cluster that you're deleting.

                                                                                                                                                                                                                                                                                                                                                                          pub fn cluster_arn(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.cluster_arn(input.into()); diff --git a/sdk/route53recoverycontrolconfig/src/operation/delete_control_panel/builders.rs b/sdk/route53recoverycontrolconfig/src/operation/delete_control_panel/builders.rs index 445cfccd35dc..63f99a905894 100644 --- a/sdk/route53recoverycontrolconfig/src/operation/delete_control_panel/builders.rs +++ b/sdk/route53recoverycontrolconfig/src/operation/delete_control_panel/builders.rs @@ -19,9 +19,9 @@ impl DeleteControlPanelFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl DeleteControlPanelFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::delete_control_panel::DeleteControlPanel, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::delete_control_panel::DeleteControlPanelError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                          The Amazon Resource Name (ARN) of the control panel.

                                                                                                                                                                                                                                                                                                                                                                          pub fn control_panel_arn( mut self, diff --git a/sdk/route53recoverycontrolconfig/src/operation/delete_routing_control/builders.rs b/sdk/route53recoverycontrolconfig/src/operation/delete_routing_control/builders.rs index db5ce9939eba..a7c6f9f88cc9 100644 --- a/sdk/route53recoverycontrolconfig/src/operation/delete_routing_control/builders.rs +++ b/sdk/route53recoverycontrolconfig/src/operation/delete_routing_control/builders.rs @@ -19,9 +19,9 @@ impl DeleteRoutingControlFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl DeleteRoutingControlFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::delete_routing_control::DeleteRoutingControl, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::delete_routing_control::DeleteRoutingControlError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                          The Amazon Resource Name (ARN) of the routing control that you're deleting.

                                                                                                                                                                                                                                                                                                                                                                          pub fn routing_control_arn( mut self, diff --git a/sdk/route53recoverycontrolconfig/src/operation/delete_safety_rule/builders.rs b/sdk/route53recoverycontrolconfig/src/operation/delete_safety_rule/builders.rs index 3f9773c62003..047d0a2a6cb4 100644 --- a/sdk/route53recoverycontrolconfig/src/operation/delete_safety_rule/builders.rs +++ b/sdk/route53recoverycontrolconfig/src/operation/delete_safety_rule/builders.rs @@ -19,9 +19,9 @@ impl DeleteSafetyRuleFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl DeleteSafetyRuleFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::delete_safety_rule::DeleteSafetyRule, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::delete_safety_rule::DeleteSafetyRuleError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                          The ARN of the safety rule.

                                                                                                                                                                                                                                                                                                                                                                          pub fn safety_rule_arn( mut self, diff --git a/sdk/route53recoverycontrolconfig/src/operation/describe_cluster/builders.rs b/sdk/route53recoverycontrolconfig/src/operation/describe_cluster/builders.rs index 059d2f6bf6a3..83f1323b9cfb 100644 --- a/sdk/route53recoverycontrolconfig/src/operation/describe_cluster/builders.rs +++ b/sdk/route53recoverycontrolconfig/src/operation/describe_cluster/builders.rs @@ -19,9 +19,9 @@ impl DescribeClusterFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl DescribeClusterFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::describe_cluster::DescribeCluster, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::describe_cluster::DescribeClusterError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                          The Amazon Resource Name (ARN) of the cluster.

                                                                                                                                                                                                                                                                                                                                                                          pub fn cluster_arn(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.cluster_arn(input.into()); diff --git a/sdk/route53recoverycontrolconfig/src/operation/describe_control_panel/builders.rs b/sdk/route53recoverycontrolconfig/src/operation/describe_control_panel/builders.rs index 772f2e878b0c..395ff20161e4 100644 --- a/sdk/route53recoverycontrolconfig/src/operation/describe_control_panel/builders.rs +++ b/sdk/route53recoverycontrolconfig/src/operation/describe_control_panel/builders.rs @@ -19,9 +19,9 @@ impl DescribeControlPanelFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl DescribeControlPanelFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::describe_control_panel::DescribeControlPanel, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::describe_control_panel::DescribeControlPanelError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                          The Amazon Resource Name (ARN) of the control panel.

                                                                                                                                                                                                                                                                                                                                                                          pub fn control_panel_arn( mut self, diff --git a/sdk/route53recoverycontrolconfig/src/operation/describe_routing_control/builders.rs b/sdk/route53recoverycontrolconfig/src/operation/describe_routing_control/builders.rs index 227ff3b80895..98e6e2f9b880 100644 --- a/sdk/route53recoverycontrolconfig/src/operation/describe_routing_control/builders.rs +++ b/sdk/route53recoverycontrolconfig/src/operation/describe_routing_control/builders.rs @@ -20,9 +20,9 @@ impl DescribeRoutingControlFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -84,6 +84,22 @@ impl DescribeRoutingControlFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::describe_routing_control::DescribeRoutingControl, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::describe_routing_control::DescribeRoutingControlError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                          The Amazon Resource Name (ARN) of the routing control.

                                                                                                                                                                                                                                                                                                                                                                          pub fn routing_control_arn( mut self, diff --git a/sdk/route53recoverycontrolconfig/src/operation/describe_safety_rule/builders.rs b/sdk/route53recoverycontrolconfig/src/operation/describe_safety_rule/builders.rs index 40af163a7434..3a75816538ad 100644 --- a/sdk/route53recoverycontrolconfig/src/operation/describe_safety_rule/builders.rs +++ b/sdk/route53recoverycontrolconfig/src/operation/describe_safety_rule/builders.rs @@ -19,9 +19,9 @@ impl DescribeSafetyRuleFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl DescribeSafetyRuleFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::describe_safety_rule::DescribeSafetyRule, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::describe_safety_rule::DescribeSafetyRuleError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                          The ARN of the safety rule.

                                                                                                                                                                                                                                                                                                                                                                          pub fn safety_rule_arn( mut self, diff --git a/sdk/route53recoverycontrolconfig/src/operation/list_associated_route53_health_checks/builders.rs b/sdk/route53recoverycontrolconfig/src/operation/list_associated_route53_health_checks/builders.rs index 659f44feb62b..8cf6ed9b8c67 100644 --- a/sdk/route53recoverycontrolconfig/src/operation/list_associated_route53_health_checks/builders.rs +++ b/sdk/route53recoverycontrolconfig/src/operation/list_associated_route53_health_checks/builders.rs @@ -19,9 +19,9 @@ impl ListAssociatedRoute53HealthChecksFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize(self) -> ::std::result::Result< + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware(self) -> ::std::result::Result< crate::client::customize::CustomizableOperation, ::aws_smithy_http::result::SdkError >{ @@ -64,6 +64,15 @@ impl ListAssociatedRoute53HealthChecksFluentBuilder { { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize(self) -> ::std::result::Result< + crate::client::customize::CustomizableOperation, + ::aws_smithy_http::result::SdkError + >{ + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::list_associated_route53_health_checks::paginator::ListAssociatedRoute53HealthChecksPaginator::send) which returns a `Stream`. diff --git a/sdk/route53recoverycontrolconfig/src/operation/list_clusters/builders.rs b/sdk/route53recoverycontrolconfig/src/operation/list_clusters/builders.rs index e607a6c14c0e..fa1586a0064b 100644 --- a/sdk/route53recoverycontrolconfig/src/operation/list_clusters/builders.rs +++ b/sdk/route53recoverycontrolconfig/src/operation/list_clusters/builders.rs @@ -19,9 +19,9 @@ impl ListClustersFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl ListClustersFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_clusters::ListClusters, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::list_clusters::paginator::ListClustersPaginator::send) which returns a `Stream`. diff --git a/sdk/route53recoverycontrolconfig/src/operation/list_control_panels/builders.rs b/sdk/route53recoverycontrolconfig/src/operation/list_control_panels/builders.rs index 2f406ca15897..d471af49e97c 100644 --- a/sdk/route53recoverycontrolconfig/src/operation/list_control_panels/builders.rs +++ b/sdk/route53recoverycontrolconfig/src/operation/list_control_panels/builders.rs @@ -19,9 +19,9 @@ impl ListControlPanelsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl ListControlPanelsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_control_panels::ListControlPanels, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::list_control_panels::ListControlPanelsError, + >, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::list_control_panels::paginator::ListControlPanelsPaginator::send) which returns a `Stream`. diff --git a/sdk/route53recoverycontrolconfig/src/operation/list_routing_controls/builders.rs b/sdk/route53recoverycontrolconfig/src/operation/list_routing_controls/builders.rs index cae78455a60b..7e550136be5f 100644 --- a/sdk/route53recoverycontrolconfig/src/operation/list_routing_controls/builders.rs +++ b/sdk/route53recoverycontrolconfig/src/operation/list_routing_controls/builders.rs @@ -19,9 +19,9 @@ impl ListRoutingControlsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl ListRoutingControlsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_routing_controls::ListRoutingControls, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::list_routing_controls::ListRoutingControlsError, + >, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::list_routing_controls::paginator::ListRoutingControlsPaginator::send) which returns a `Stream`. diff --git a/sdk/route53recoverycontrolconfig/src/operation/list_safety_rules/builders.rs b/sdk/route53recoverycontrolconfig/src/operation/list_safety_rules/builders.rs index 13468cbd9f85..a27d787b677d 100644 --- a/sdk/route53recoverycontrolconfig/src/operation/list_safety_rules/builders.rs +++ b/sdk/route53recoverycontrolconfig/src/operation/list_safety_rules/builders.rs @@ -19,9 +19,9 @@ impl ListSafetyRulesFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl ListSafetyRulesFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_safety_rules::ListSafetyRules, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::list_safety_rules::ListSafetyRulesError, + >, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::list_safety_rules::paginator::ListSafetyRulesPaginator::send) which returns a `Stream`. diff --git a/sdk/route53recoverycontrolconfig/src/operation/list_tags_for_resource/builders.rs b/sdk/route53recoverycontrolconfig/src/operation/list_tags_for_resource/builders.rs index 42ccedc50e61..76f1cb73d45a 100644 --- a/sdk/route53recoverycontrolconfig/src/operation/list_tags_for_resource/builders.rs +++ b/sdk/route53recoverycontrolconfig/src/operation/list_tags_for_resource/builders.rs @@ -19,9 +19,9 @@ impl ListTagsForResourceFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl ListTagsForResourceFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_tags_for_resource::ListTagsForResource, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::list_tags_for_resource::ListTagsForResourceError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                          The Amazon Resource Name (ARN) for the resource that's tagged.

                                                                                                                                                                                                                                                                                                                                                                          pub fn resource_arn(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.resource_arn(input.into()); diff --git a/sdk/route53recoverycontrolconfig/src/operation/tag_resource/builders.rs b/sdk/route53recoverycontrolconfig/src/operation/tag_resource/builders.rs index c5ecbee47bbd..69dc16cf9197 100644 --- a/sdk/route53recoverycontrolconfig/src/operation/tag_resource/builders.rs +++ b/sdk/route53recoverycontrolconfig/src/operation/tag_resource/builders.rs @@ -19,9 +19,9 @@ impl TagResourceFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl TagResourceFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::tag_resource::TagResource, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                          The Amazon Resource Name (ARN) for the resource that's tagged.

                                                                                                                                                                                                                                                                                                                                                                          pub fn resource_arn(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.resource_arn(input.into()); diff --git a/sdk/route53recoverycontrolconfig/src/operation/untag_resource/builders.rs b/sdk/route53recoverycontrolconfig/src/operation/untag_resource/builders.rs index 91caeef313e8..da6e41dbb089 100644 --- a/sdk/route53recoverycontrolconfig/src/operation/untag_resource/builders.rs +++ b/sdk/route53recoverycontrolconfig/src/operation/untag_resource/builders.rs @@ -19,9 +19,9 @@ impl UntagResourceFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl UntagResourceFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::untag_resource::UntagResource, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                          The Amazon Resource Name (ARN) for the resource that's tagged.

                                                                                                                                                                                                                                                                                                                                                                          pub fn resource_arn(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.resource_arn(input.into()); diff --git a/sdk/route53recoverycontrolconfig/src/operation/update_control_panel/builders.rs b/sdk/route53recoverycontrolconfig/src/operation/update_control_panel/builders.rs index c3d16abe9aa5..90ec270f4f54 100644 --- a/sdk/route53recoverycontrolconfig/src/operation/update_control_panel/builders.rs +++ b/sdk/route53recoverycontrolconfig/src/operation/update_control_panel/builders.rs @@ -19,9 +19,9 @@ impl UpdateControlPanelFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl UpdateControlPanelFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::update_control_panel::UpdateControlPanel, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::update_control_panel::UpdateControlPanelError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                          The Amazon Resource Name (ARN) of the control panel.

                                                                                                                                                                                                                                                                                                                                                                          pub fn control_panel_arn( mut self, diff --git a/sdk/route53recoverycontrolconfig/src/operation/update_routing_control/builders.rs b/sdk/route53recoverycontrolconfig/src/operation/update_routing_control/builders.rs index 72640ae9db4d..c362fc46a5fc 100644 --- a/sdk/route53recoverycontrolconfig/src/operation/update_routing_control/builders.rs +++ b/sdk/route53recoverycontrolconfig/src/operation/update_routing_control/builders.rs @@ -19,9 +19,9 @@ impl UpdateRoutingControlFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl UpdateRoutingControlFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::update_routing_control::UpdateRoutingControl, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::update_routing_control::UpdateRoutingControlError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                          The Amazon Resource Name (ARN) of the routing control.

                                                                                                                                                                                                                                                                                                                                                                          pub fn routing_control_arn( mut self, diff --git a/sdk/route53recoverycontrolconfig/src/operation/update_safety_rule/builders.rs b/sdk/route53recoverycontrolconfig/src/operation/update_safety_rule/builders.rs index 6e0f88ae359e..9942947e48f6 100644 --- a/sdk/route53recoverycontrolconfig/src/operation/update_safety_rule/builders.rs +++ b/sdk/route53recoverycontrolconfig/src/operation/update_safety_rule/builders.rs @@ -19,9 +19,9 @@ impl UpdateSafetyRuleFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl UpdateSafetyRuleFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::update_safety_rule::UpdateSafetyRule, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::update_safety_rule::UpdateSafetyRuleError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                          The assertion rule to update.

                                                                                                                                                                                                                                                                                                                                                                          pub fn assertion_rule_update(mut self, input: crate::types::AssertionRuleUpdate) -> Self { self.inner = self.inner.assertion_rule_update(input); diff --git a/sdk/route53recoveryreadiness/src/operation/create_cell/builders.rs b/sdk/route53recoveryreadiness/src/operation/create_cell/builders.rs index 7f245596ec21..4ea4c57c678c 100644 --- a/sdk/route53recoveryreadiness/src/operation/create_cell/builders.rs +++ b/sdk/route53recoveryreadiness/src/operation/create_cell/builders.rs @@ -19,9 +19,9 @@ impl CreateCellFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl CreateCellFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::create_cell::CreateCell, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                          The name of the cell to create.

                                                                                                                                                                                                                                                                                                                                                                          pub fn cell_name(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.cell_name(input.into()); diff --git a/sdk/route53recoveryreadiness/src/operation/create_cross_account_authorization/builders.rs b/sdk/route53recoveryreadiness/src/operation/create_cross_account_authorization/builders.rs index 6058e7fdcc00..f72ee02d3cdc 100644 --- a/sdk/route53recoveryreadiness/src/operation/create_cross_account_authorization/builders.rs +++ b/sdk/route53recoveryreadiness/src/operation/create_cross_account_authorization/builders.rs @@ -19,9 +19,9 @@ impl CreateCrossAccountAuthorizationFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize(self) -> ::std::result::Result< + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware(self) -> ::std::result::Result< crate::client::customize::CustomizableOperation, ::aws_smithy_http::result::SdkError >{ @@ -64,6 +64,15 @@ impl CreateCrossAccountAuthorizationFluentBuilder { { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize(self) -> ::std::result::Result< + crate::client::customize::CustomizableOperation, + ::aws_smithy_http::result::SdkError + >{ + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                          The cross-account authorization.

                                                                                                                                                                                                                                                                                                                                                                          pub fn cross_account_authorization( mut self, diff --git a/sdk/route53recoveryreadiness/src/operation/create_readiness_check/builders.rs b/sdk/route53recoveryreadiness/src/operation/create_readiness_check/builders.rs index c4d284924956..ee992967c0de 100644 --- a/sdk/route53recoveryreadiness/src/operation/create_readiness_check/builders.rs +++ b/sdk/route53recoveryreadiness/src/operation/create_readiness_check/builders.rs @@ -19,9 +19,9 @@ impl CreateReadinessCheckFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl CreateReadinessCheckFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::create_readiness_check::CreateReadinessCheck, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::create_readiness_check::CreateReadinessCheckError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                          The name of the readiness check to create.

                                                                                                                                                                                                                                                                                                                                                                          pub fn readiness_check_name( mut self, diff --git a/sdk/route53recoveryreadiness/src/operation/create_recovery_group/builders.rs b/sdk/route53recoveryreadiness/src/operation/create_recovery_group/builders.rs index 056006a97338..e266ad588eca 100644 --- a/sdk/route53recoveryreadiness/src/operation/create_recovery_group/builders.rs +++ b/sdk/route53recoveryreadiness/src/operation/create_recovery_group/builders.rs @@ -19,9 +19,9 @@ impl CreateRecoveryGroupFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl CreateRecoveryGroupFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::create_recovery_group::CreateRecoveryGroup, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::create_recovery_group::CreateRecoveryGroupError, + >, + > { + self.customize_middleware().await + } /// Appends an item to `Cells`. /// /// To override the contents of this collection use [`set_cells`](Self::set_cells). diff --git a/sdk/route53recoveryreadiness/src/operation/create_resource_set/builders.rs b/sdk/route53recoveryreadiness/src/operation/create_resource_set/builders.rs index 2e99da966753..7b8c9763612a 100644 --- a/sdk/route53recoveryreadiness/src/operation/create_resource_set/builders.rs +++ b/sdk/route53recoveryreadiness/src/operation/create_resource_set/builders.rs @@ -19,9 +19,9 @@ impl CreateResourceSetFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl CreateResourceSetFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::create_resource_set::CreateResourceSet, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::create_resource_set::CreateResourceSetError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                          The name of the resource set to create.

                                                                                                                                                                                                                                                                                                                                                                          pub fn resource_set_name( mut self, diff --git a/sdk/route53recoveryreadiness/src/operation/delete_cell/builders.rs b/sdk/route53recoveryreadiness/src/operation/delete_cell/builders.rs index 97693570b2d5..9896c27855fb 100644 --- a/sdk/route53recoveryreadiness/src/operation/delete_cell/builders.rs +++ b/sdk/route53recoveryreadiness/src/operation/delete_cell/builders.rs @@ -19,9 +19,9 @@ impl DeleteCellFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl DeleteCellFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::delete_cell::DeleteCell, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                          The name of the cell.

                                                                                                                                                                                                                                                                                                                                                                          pub fn cell_name(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.cell_name(input.into()); diff --git a/sdk/route53recoveryreadiness/src/operation/delete_cross_account_authorization/builders.rs b/sdk/route53recoveryreadiness/src/operation/delete_cross_account_authorization/builders.rs index 65b17a9a9ee1..add24dd2187c 100644 --- a/sdk/route53recoveryreadiness/src/operation/delete_cross_account_authorization/builders.rs +++ b/sdk/route53recoveryreadiness/src/operation/delete_cross_account_authorization/builders.rs @@ -19,9 +19,9 @@ impl DeleteCrossAccountAuthorizationFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize(self) -> ::std::result::Result< + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware(self) -> ::std::result::Result< crate::client::customize::CustomizableOperation, ::aws_smithy_http::result::SdkError >{ @@ -64,6 +64,15 @@ impl DeleteCrossAccountAuthorizationFluentBuilder { { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize(self) -> ::std::result::Result< + crate::client::customize::CustomizableOperation, + ::aws_smithy_http::result::SdkError + >{ + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                          The cross-account authorization.

                                                                                                                                                                                                                                                                                                                                                                          pub fn cross_account_authorization( mut self, diff --git a/sdk/route53recoveryreadiness/src/operation/delete_readiness_check/builders.rs b/sdk/route53recoveryreadiness/src/operation/delete_readiness_check/builders.rs index 54445abd328e..45b6b0a0f7a5 100644 --- a/sdk/route53recoveryreadiness/src/operation/delete_readiness_check/builders.rs +++ b/sdk/route53recoveryreadiness/src/operation/delete_readiness_check/builders.rs @@ -19,9 +19,9 @@ impl DeleteReadinessCheckFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl DeleteReadinessCheckFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::delete_readiness_check::DeleteReadinessCheck, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::delete_readiness_check::DeleteReadinessCheckError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                          Name of a readiness check.

                                                                                                                                                                                                                                                                                                                                                                          pub fn readiness_check_name( mut self, diff --git a/sdk/route53recoveryreadiness/src/operation/delete_recovery_group/builders.rs b/sdk/route53recoveryreadiness/src/operation/delete_recovery_group/builders.rs index da79044da916..ab30b67cf3f5 100644 --- a/sdk/route53recoveryreadiness/src/operation/delete_recovery_group/builders.rs +++ b/sdk/route53recoveryreadiness/src/operation/delete_recovery_group/builders.rs @@ -19,9 +19,9 @@ impl DeleteRecoveryGroupFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl DeleteRecoveryGroupFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::delete_recovery_group::DeleteRecoveryGroup, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::delete_recovery_group::DeleteRecoveryGroupError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                          The name of a recovery group.

                                                                                                                                                                                                                                                                                                                                                                          pub fn recovery_group_name( mut self, diff --git a/sdk/route53recoveryreadiness/src/operation/delete_resource_set/builders.rs b/sdk/route53recoveryreadiness/src/operation/delete_resource_set/builders.rs index 4d0ca7374090..9f5354fdacc7 100644 --- a/sdk/route53recoveryreadiness/src/operation/delete_resource_set/builders.rs +++ b/sdk/route53recoveryreadiness/src/operation/delete_resource_set/builders.rs @@ -19,9 +19,9 @@ impl DeleteResourceSetFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl DeleteResourceSetFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::delete_resource_set::DeleteResourceSet, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::delete_resource_set::DeleteResourceSetError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                          Name of a resource set.

                                                                                                                                                                                                                                                                                                                                                                          pub fn resource_set_name( mut self, diff --git a/sdk/route53recoveryreadiness/src/operation/get_architecture_recommendations/builders.rs b/sdk/route53recoveryreadiness/src/operation/get_architecture_recommendations/builders.rs index 7aa0a9ac944d..3804aeeb7572 100644 --- a/sdk/route53recoveryreadiness/src/operation/get_architecture_recommendations/builders.rs +++ b/sdk/route53recoveryreadiness/src/operation/get_architecture_recommendations/builders.rs @@ -19,9 +19,9 @@ impl GetArchitectureRecommendationsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl GetArchitectureRecommendationsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::get_architecture_recommendations::GetArchitectureRecommendations, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::get_architecture_recommendations::GetArchitectureRecommendationsError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                          The number of objects that you want to return with this call.

                                                                                                                                                                                                                                                                                                                                                                          pub fn max_results(mut self, input: i32) -> Self { self.inner = self.inner.max_results(input); diff --git a/sdk/route53recoveryreadiness/src/operation/get_cell/builders.rs b/sdk/route53recoveryreadiness/src/operation/get_cell/builders.rs index 4706c3981699..ea827432c472 100644 --- a/sdk/route53recoveryreadiness/src/operation/get_cell/builders.rs +++ b/sdk/route53recoveryreadiness/src/operation/get_cell/builders.rs @@ -19,9 +19,9 @@ impl GetCellFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl GetCellFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::get_cell::GetCell, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                          The name of the cell.

                                                                                                                                                                                                                                                                                                                                                                          pub fn cell_name(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.cell_name(input.into()); diff --git a/sdk/route53recoveryreadiness/src/operation/get_cell_readiness_summary/builders.rs b/sdk/route53recoveryreadiness/src/operation/get_cell_readiness_summary/builders.rs index 634ebe7272be..2adfcb735f7b 100644 --- a/sdk/route53recoveryreadiness/src/operation/get_cell_readiness_summary/builders.rs +++ b/sdk/route53recoveryreadiness/src/operation/get_cell_readiness_summary/builders.rs @@ -20,9 +20,9 @@ impl GetCellReadinessSummaryFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -84,6 +84,22 @@ impl GetCellReadinessSummaryFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::get_cell_readiness_summary::GetCellReadinessSummary, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::get_cell_readiness_summary::GetCellReadinessSummaryError, + >, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::get_cell_readiness_summary::paginator::GetCellReadinessSummaryPaginator::send) which returns a `Stream`. diff --git a/sdk/route53recoveryreadiness/src/operation/get_readiness_check/builders.rs b/sdk/route53recoveryreadiness/src/operation/get_readiness_check/builders.rs index 9cab458bbfc5..da15fd6c1d92 100644 --- a/sdk/route53recoveryreadiness/src/operation/get_readiness_check/builders.rs +++ b/sdk/route53recoveryreadiness/src/operation/get_readiness_check/builders.rs @@ -19,9 +19,9 @@ impl GetReadinessCheckFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl GetReadinessCheckFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::get_readiness_check::GetReadinessCheck, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::get_readiness_check::GetReadinessCheckError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                          Name of a readiness check.

                                                                                                                                                                                                                                                                                                                                                                          pub fn readiness_check_name( mut self, diff --git a/sdk/route53recoveryreadiness/src/operation/get_readiness_check_resource_status/builders.rs b/sdk/route53recoveryreadiness/src/operation/get_readiness_check_resource_status/builders.rs index f308a132dedd..2e6430956a1c 100644 --- a/sdk/route53recoveryreadiness/src/operation/get_readiness_check_resource_status/builders.rs +++ b/sdk/route53recoveryreadiness/src/operation/get_readiness_check_resource_status/builders.rs @@ -19,9 +19,9 @@ impl GetReadinessCheckResourceStatusFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize(self) -> ::std::result::Result< + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware(self) -> ::std::result::Result< crate::client::customize::CustomizableOperation, ::aws_smithy_http::result::SdkError >{ @@ -64,6 +64,15 @@ impl GetReadinessCheckResourceStatusFluentBuilder { { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize(self) -> ::std::result::Result< + crate::client::customize::CustomizableOperation, + ::aws_smithy_http::result::SdkError + >{ + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::get_readiness_check_resource_status::paginator::GetReadinessCheckResourceStatusPaginator::send) which returns a `Stream`. diff --git a/sdk/route53recoveryreadiness/src/operation/get_readiness_check_status/builders.rs b/sdk/route53recoveryreadiness/src/operation/get_readiness_check_status/builders.rs index 26f298959af3..7498c5617fb6 100644 --- a/sdk/route53recoveryreadiness/src/operation/get_readiness_check_status/builders.rs +++ b/sdk/route53recoveryreadiness/src/operation/get_readiness_check_status/builders.rs @@ -20,9 +20,9 @@ impl GetReadinessCheckStatusFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -84,6 +84,22 @@ impl GetReadinessCheckStatusFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::get_readiness_check_status::GetReadinessCheckStatus, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::get_readiness_check_status::GetReadinessCheckStatusError, + >, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::get_readiness_check_status::paginator::GetReadinessCheckStatusPaginator::send) which returns a `Stream`. diff --git a/sdk/route53recoveryreadiness/src/operation/get_recovery_group/builders.rs b/sdk/route53recoveryreadiness/src/operation/get_recovery_group/builders.rs index 5229ad63f7da..6bb712c5c81c 100644 --- a/sdk/route53recoveryreadiness/src/operation/get_recovery_group/builders.rs +++ b/sdk/route53recoveryreadiness/src/operation/get_recovery_group/builders.rs @@ -19,9 +19,9 @@ impl GetRecoveryGroupFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl GetRecoveryGroupFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::get_recovery_group::GetRecoveryGroup, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::get_recovery_group::GetRecoveryGroupError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                          The name of a recovery group.

                                                                                                                                                                                                                                                                                                                                                                          pub fn recovery_group_name( mut self, diff --git a/sdk/route53recoveryreadiness/src/operation/get_recovery_group_readiness_summary/builders.rs b/sdk/route53recoveryreadiness/src/operation/get_recovery_group_readiness_summary/builders.rs index 59b45e710778..ca70de951083 100644 --- a/sdk/route53recoveryreadiness/src/operation/get_recovery_group_readiness_summary/builders.rs +++ b/sdk/route53recoveryreadiness/src/operation/get_recovery_group_readiness_summary/builders.rs @@ -19,9 +19,9 @@ impl GetRecoveryGroupReadinessSummaryFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize(self) -> ::std::result::Result< + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware(self) -> ::std::result::Result< crate::client::customize::CustomizableOperation, ::aws_smithy_http::result::SdkError >{ @@ -64,6 +64,15 @@ impl GetRecoveryGroupReadinessSummaryFluentBuilder { { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize(self) -> ::std::result::Result< + crate::client::customize::CustomizableOperation, + ::aws_smithy_http::result::SdkError + >{ + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::get_recovery_group_readiness_summary::paginator::GetRecoveryGroupReadinessSummaryPaginator::send) which returns a `Stream`. diff --git a/sdk/route53recoveryreadiness/src/operation/get_resource_set/builders.rs b/sdk/route53recoveryreadiness/src/operation/get_resource_set/builders.rs index d6f9a067c93e..3ef339ec9bcd 100644 --- a/sdk/route53recoveryreadiness/src/operation/get_resource_set/builders.rs +++ b/sdk/route53recoveryreadiness/src/operation/get_resource_set/builders.rs @@ -19,9 +19,9 @@ impl GetResourceSetFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl GetResourceSetFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::get_resource_set::GetResourceSet, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::get_resource_set::GetResourceSetError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                          Name of a resource set.

                                                                                                                                                                                                                                                                                                                                                                          pub fn resource_set_name( mut self, diff --git a/sdk/route53recoveryreadiness/src/operation/list_cells/builders.rs b/sdk/route53recoveryreadiness/src/operation/list_cells/builders.rs index b0fe4c50f075..7df1186e2ea1 100644 --- a/sdk/route53recoveryreadiness/src/operation/list_cells/builders.rs +++ b/sdk/route53recoveryreadiness/src/operation/list_cells/builders.rs @@ -19,9 +19,9 @@ impl ListCellsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl ListCellsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_cells::ListCells, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::list_cells::paginator::ListCellsPaginator::send) which returns a `Stream`. diff --git a/sdk/route53recoveryreadiness/src/operation/list_cross_account_authorizations/builders.rs b/sdk/route53recoveryreadiness/src/operation/list_cross_account_authorizations/builders.rs index ecc5de7be9d2..253a6dd01b03 100644 --- a/sdk/route53recoveryreadiness/src/operation/list_cross_account_authorizations/builders.rs +++ b/sdk/route53recoveryreadiness/src/operation/list_cross_account_authorizations/builders.rs @@ -19,9 +19,9 @@ impl ListCrossAccountAuthorizationsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize(self) -> ::std::result::Result< + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware(self) -> ::std::result::Result< crate::client::customize::CustomizableOperation, ::aws_smithy_http::result::SdkError >{ @@ -64,6 +64,15 @@ impl ListCrossAccountAuthorizationsFluentBuilder { { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize(self) -> ::std::result::Result< + crate::client::customize::CustomizableOperation, + ::aws_smithy_http::result::SdkError + >{ + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::list_cross_account_authorizations::paginator::ListCrossAccountAuthorizationsPaginator::send) which returns a `Stream`. diff --git a/sdk/route53recoveryreadiness/src/operation/list_readiness_checks/builders.rs b/sdk/route53recoveryreadiness/src/operation/list_readiness_checks/builders.rs index f56a28ca90f1..135dce8c73f8 100644 --- a/sdk/route53recoveryreadiness/src/operation/list_readiness_checks/builders.rs +++ b/sdk/route53recoveryreadiness/src/operation/list_readiness_checks/builders.rs @@ -19,9 +19,9 @@ impl ListReadinessChecksFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl ListReadinessChecksFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_readiness_checks::ListReadinessChecks, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::list_readiness_checks::ListReadinessChecksError, + >, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::list_readiness_checks::paginator::ListReadinessChecksPaginator::send) which returns a `Stream`. diff --git a/sdk/route53recoveryreadiness/src/operation/list_recovery_groups/builders.rs b/sdk/route53recoveryreadiness/src/operation/list_recovery_groups/builders.rs index cf00480559e7..7d6c15af4916 100644 --- a/sdk/route53recoveryreadiness/src/operation/list_recovery_groups/builders.rs +++ b/sdk/route53recoveryreadiness/src/operation/list_recovery_groups/builders.rs @@ -19,9 +19,9 @@ impl ListRecoveryGroupsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl ListRecoveryGroupsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_recovery_groups::ListRecoveryGroups, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::list_recovery_groups::ListRecoveryGroupsError, + >, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::list_recovery_groups::paginator::ListRecoveryGroupsPaginator::send) which returns a `Stream`. diff --git a/sdk/route53recoveryreadiness/src/operation/list_resource_sets/builders.rs b/sdk/route53recoveryreadiness/src/operation/list_resource_sets/builders.rs index 684fbcf12bc2..fe0b37539746 100644 --- a/sdk/route53recoveryreadiness/src/operation/list_resource_sets/builders.rs +++ b/sdk/route53recoveryreadiness/src/operation/list_resource_sets/builders.rs @@ -19,9 +19,9 @@ impl ListResourceSetsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl ListResourceSetsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_resource_sets::ListResourceSets, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::list_resource_sets::ListResourceSetsError, + >, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::list_resource_sets::paginator::ListResourceSetsPaginator::send) which returns a `Stream`. diff --git a/sdk/route53recoveryreadiness/src/operation/list_rules/builders.rs b/sdk/route53recoveryreadiness/src/operation/list_rules/builders.rs index c8471e5edda5..eed4a56bab47 100644 --- a/sdk/route53recoveryreadiness/src/operation/list_rules/builders.rs +++ b/sdk/route53recoveryreadiness/src/operation/list_rules/builders.rs @@ -19,9 +19,9 @@ impl ListRulesFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl ListRulesFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_rules::ListRules, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::list_rules::paginator::ListRulesPaginator::send) which returns a `Stream`. diff --git a/sdk/route53recoveryreadiness/src/operation/list_tags_for_resources/builders.rs b/sdk/route53recoveryreadiness/src/operation/list_tags_for_resources/builders.rs index 54a8e11d8f8c..743d42877016 100644 --- a/sdk/route53recoveryreadiness/src/operation/list_tags_for_resources/builders.rs +++ b/sdk/route53recoveryreadiness/src/operation/list_tags_for_resources/builders.rs @@ -19,9 +19,9 @@ impl ListTagsForResourcesFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl ListTagsForResourcesFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_tags_for_resources::ListTagsForResources, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::list_tags_for_resources::ListTagsForResourcesError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                          The Amazon Resource Name (ARN) for a resource.

                                                                                                                                                                                                                                                                                                                                                                          pub fn resource_arn(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.resource_arn(input.into()); diff --git a/sdk/route53recoveryreadiness/src/operation/tag_resource/builders.rs b/sdk/route53recoveryreadiness/src/operation/tag_resource/builders.rs index 8109080be3eb..98a7fc55b5e4 100644 --- a/sdk/route53recoveryreadiness/src/operation/tag_resource/builders.rs +++ b/sdk/route53recoveryreadiness/src/operation/tag_resource/builders.rs @@ -19,9 +19,9 @@ impl TagResourceFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl TagResourceFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::tag_resource::TagResource, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                          The Amazon Resource Name (ARN) for a resource.

                                                                                                                                                                                                                                                                                                                                                                          pub fn resource_arn(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.resource_arn(input.into()); diff --git a/sdk/route53recoveryreadiness/src/operation/untag_resource/builders.rs b/sdk/route53recoveryreadiness/src/operation/untag_resource/builders.rs index fdfe5f1c80c2..b1def5bd7d9c 100644 --- a/sdk/route53recoveryreadiness/src/operation/untag_resource/builders.rs +++ b/sdk/route53recoveryreadiness/src/operation/untag_resource/builders.rs @@ -19,9 +19,9 @@ impl UntagResourceFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl UntagResourceFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::untag_resource::UntagResource, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                          The Amazon Resource Name (ARN) for a resource.

                                                                                                                                                                                                                                                                                                                                                                          pub fn resource_arn(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.resource_arn(input.into()); diff --git a/sdk/route53recoveryreadiness/src/operation/update_cell/builders.rs b/sdk/route53recoveryreadiness/src/operation/update_cell/builders.rs index 08e27a03bd20..e70979dbe1af 100644 --- a/sdk/route53recoveryreadiness/src/operation/update_cell/builders.rs +++ b/sdk/route53recoveryreadiness/src/operation/update_cell/builders.rs @@ -19,9 +19,9 @@ impl UpdateCellFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl UpdateCellFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::update_cell::UpdateCell, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                          The name of the cell.

                                                                                                                                                                                                                                                                                                                                                                          pub fn cell_name(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.cell_name(input.into()); diff --git a/sdk/route53recoveryreadiness/src/operation/update_readiness_check/builders.rs b/sdk/route53recoveryreadiness/src/operation/update_readiness_check/builders.rs index 735b263b66b3..a35139c4177b 100644 --- a/sdk/route53recoveryreadiness/src/operation/update_readiness_check/builders.rs +++ b/sdk/route53recoveryreadiness/src/operation/update_readiness_check/builders.rs @@ -19,9 +19,9 @@ impl UpdateReadinessCheckFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl UpdateReadinessCheckFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::update_readiness_check::UpdateReadinessCheck, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::update_readiness_check::UpdateReadinessCheckError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                          Name of a readiness check.

                                                                                                                                                                                                                                                                                                                                                                          pub fn readiness_check_name( mut self, diff --git a/sdk/route53recoveryreadiness/src/operation/update_recovery_group/builders.rs b/sdk/route53recoveryreadiness/src/operation/update_recovery_group/builders.rs index 6e7e70d52436..fdc850e94136 100644 --- a/sdk/route53recoveryreadiness/src/operation/update_recovery_group/builders.rs +++ b/sdk/route53recoveryreadiness/src/operation/update_recovery_group/builders.rs @@ -19,9 +19,9 @@ impl UpdateRecoveryGroupFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl UpdateRecoveryGroupFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::update_recovery_group::UpdateRecoveryGroup, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::update_recovery_group::UpdateRecoveryGroupError, + >, + > { + self.customize_middleware().await + } /// Appends an item to `Cells`. /// /// To override the contents of this collection use [`set_cells`](Self::set_cells). diff --git a/sdk/route53recoveryreadiness/src/operation/update_resource_set/builders.rs b/sdk/route53recoveryreadiness/src/operation/update_resource_set/builders.rs index 1c4edd1b06f8..79c66c17bce8 100644 --- a/sdk/route53recoveryreadiness/src/operation/update_resource_set/builders.rs +++ b/sdk/route53recoveryreadiness/src/operation/update_resource_set/builders.rs @@ -19,9 +19,9 @@ impl UpdateResourceSetFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl UpdateResourceSetFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::update_resource_set::UpdateResourceSet, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::update_resource_set::UpdateResourceSetError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                          Name of a resource set.

                                                                                                                                                                                                                                                                                                                                                                          pub fn resource_set_name( mut self, diff --git a/sdk/route53resolver/src/operation/associate_firewall_rule_group/builders.rs b/sdk/route53resolver/src/operation/associate_firewall_rule_group/builders.rs index 6c0a4f15b574..05bfe9a2b1b7 100644 --- a/sdk/route53resolver/src/operation/associate_firewall_rule_group/builders.rs +++ b/sdk/route53resolver/src/operation/associate_firewall_rule_group/builders.rs @@ -19,9 +19,9 @@ impl AssociateFirewallRuleGroupFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl AssociateFirewallRuleGroupFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::associate_firewall_rule_group::AssociateFirewallRuleGroup, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::associate_firewall_rule_group::AssociateFirewallRuleGroupError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                          A unique string that identifies the request and that allows failed requests to be retried without the risk of running the operation twice. CreatorRequestId can be any unique string, for example, a date/time stamp.

                                                                                                                                                                                                                                                                                                                                                                          pub fn creator_request_id( mut self, diff --git a/sdk/route53resolver/src/operation/associate_resolver_endpoint_ip_address/builders.rs b/sdk/route53resolver/src/operation/associate_resolver_endpoint_ip_address/builders.rs index 73c271ec3a9b..235678133876 100644 --- a/sdk/route53resolver/src/operation/associate_resolver_endpoint_ip_address/builders.rs +++ b/sdk/route53resolver/src/operation/associate_resolver_endpoint_ip_address/builders.rs @@ -20,9 +20,9 @@ impl AssociateResolverEndpointIpAddressFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize(self) -> ::std::result::Result< + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware(self) -> ::std::result::Result< crate::client::customize::CustomizableOperation, ::aws_smithy_http::result::SdkError >{ @@ -65,6 +65,15 @@ impl AssociateResolverEndpointIpAddressFluentBuilder { { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize(self) -> ::std::result::Result< + crate::client::customize::CustomizableOperation, + ::aws_smithy_http::result::SdkError + >{ + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                          The ID of the Resolver endpoint that you want to associate IP addresses with.

                                                                                                                                                                                                                                                                                                                                                                          pub fn resolver_endpoint_id( mut self, diff --git a/sdk/route53resolver/src/operation/associate_resolver_query_log_config/builders.rs b/sdk/route53resolver/src/operation/associate_resolver_query_log_config/builders.rs index c44ec8e80d94..4b5be52f18be 100644 --- a/sdk/route53resolver/src/operation/associate_resolver_query_log_config/builders.rs +++ b/sdk/route53resolver/src/operation/associate_resolver_query_log_config/builders.rs @@ -22,9 +22,9 @@ impl AssociateResolverQueryLogConfigFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize(self) -> ::std::result::Result< + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware(self) -> ::std::result::Result< crate::client::customize::CustomizableOperation, ::aws_smithy_http::result::SdkError >{ @@ -67,6 +67,15 @@ impl AssociateResolverQueryLogConfigFluentBuilder { { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize(self) -> ::std::result::Result< + crate::client::customize::CustomizableOperation, + ::aws_smithy_http::result::SdkError + >{ + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                          The ID of the query logging configuration that you want to associate a VPC with.

                                                                                                                                                                                                                                                                                                                                                                          pub fn resolver_query_log_config_id( mut self, diff --git a/sdk/route53resolver/src/operation/associate_resolver_rule/builders.rs b/sdk/route53resolver/src/operation/associate_resolver_rule/builders.rs index f63f26413c45..da24df41069d 100644 --- a/sdk/route53resolver/src/operation/associate_resolver_rule/builders.rs +++ b/sdk/route53resolver/src/operation/associate_resolver_rule/builders.rs @@ -19,9 +19,9 @@ impl AssociateResolverRuleFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl AssociateResolverRuleFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::associate_resolver_rule::AssociateResolverRule, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::associate_resolver_rule::AssociateResolverRuleError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                          The ID of the Resolver rule that you want to associate with the VPC. To list the existing Resolver rules, use ListResolverRules.

                                                                                                                                                                                                                                                                                                                                                                          pub fn resolver_rule_id( mut self, diff --git a/sdk/route53resolver/src/operation/create_firewall_domain_list/builders.rs b/sdk/route53resolver/src/operation/create_firewall_domain_list/builders.rs index 3c4db85319fd..c623e3b0fcec 100644 --- a/sdk/route53resolver/src/operation/create_firewall_domain_list/builders.rs +++ b/sdk/route53resolver/src/operation/create_firewall_domain_list/builders.rs @@ -19,9 +19,9 @@ impl CreateFirewallDomainListFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl CreateFirewallDomainListFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::create_firewall_domain_list::CreateFirewallDomainList, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::create_firewall_domain_list::CreateFirewallDomainListError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                          A unique string that identifies the request and that allows you to retry failed requests without the risk of running the operation twice. CreatorRequestId can be any unique string, for example, a date/time stamp.

                                                                                                                                                                                                                                                                                                                                                                          pub fn creator_request_id( mut self, diff --git a/sdk/route53resolver/src/operation/create_firewall_rule/builders.rs b/sdk/route53resolver/src/operation/create_firewall_rule/builders.rs index db19245d57ee..7d4fb62e8b97 100644 --- a/sdk/route53resolver/src/operation/create_firewall_rule/builders.rs +++ b/sdk/route53resolver/src/operation/create_firewall_rule/builders.rs @@ -19,9 +19,9 @@ impl CreateFirewallRuleFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl CreateFirewallRuleFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::create_firewall_rule::CreateFirewallRule, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::create_firewall_rule::CreateFirewallRuleError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                          A unique string that identifies the request and that allows you to retry failed requests without the risk of running the operation twice. CreatorRequestId can be any unique string, for example, a date/time stamp.

                                                                                                                                                                                                                                                                                                                                                                          pub fn creator_request_id( mut self, diff --git a/sdk/route53resolver/src/operation/create_firewall_rule_group/builders.rs b/sdk/route53resolver/src/operation/create_firewall_rule_group/builders.rs index 5ad18867b01b..ba3139ec453c 100644 --- a/sdk/route53resolver/src/operation/create_firewall_rule_group/builders.rs +++ b/sdk/route53resolver/src/operation/create_firewall_rule_group/builders.rs @@ -20,9 +20,9 @@ impl CreateFirewallRuleGroupFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -84,6 +84,22 @@ impl CreateFirewallRuleGroupFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::create_firewall_rule_group::CreateFirewallRuleGroup, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::create_firewall_rule_group::CreateFirewallRuleGroupError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                          A unique string defined by you to identify the request. This allows you to retry failed requests without the risk of running the operation twice. This can be any unique string, for example, a timestamp.

                                                                                                                                                                                                                                                                                                                                                                          pub fn creator_request_id( mut self, diff --git a/sdk/route53resolver/src/operation/create_resolver_endpoint/builders.rs b/sdk/route53resolver/src/operation/create_resolver_endpoint/builders.rs index 3ff5ee930729..4a9b4351e2d5 100644 --- a/sdk/route53resolver/src/operation/create_resolver_endpoint/builders.rs +++ b/sdk/route53resolver/src/operation/create_resolver_endpoint/builders.rs @@ -23,9 +23,9 @@ impl CreateResolverEndpointFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -87,6 +87,22 @@ impl CreateResolverEndpointFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::create_resolver_endpoint::CreateResolverEndpoint, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::create_resolver_endpoint::CreateResolverEndpointError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                          A unique string that identifies the request and that allows failed requests to be retried without the risk of running the operation twice. CreatorRequestId can be any unique string, for example, a date/time stamp.

                                                                                                                                                                                                                                                                                                                                                                          pub fn creator_request_id( mut self, diff --git a/sdk/route53resolver/src/operation/create_resolver_query_log_config/builders.rs b/sdk/route53resolver/src/operation/create_resolver_query_log_config/builders.rs index ea626c8029d6..d995ff63eb96 100644 --- a/sdk/route53resolver/src/operation/create_resolver_query_log_config/builders.rs +++ b/sdk/route53resolver/src/operation/create_resolver_query_log_config/builders.rs @@ -21,9 +21,9 @@ impl CreateResolverQueryLogConfigFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -85,6 +85,22 @@ impl CreateResolverQueryLogConfigFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::create_resolver_query_log_config::CreateResolverQueryLogConfig, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::create_resolver_query_log_config::CreateResolverQueryLogConfigError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                          The name that you want to give the query logging configuration.

                                                                                                                                                                                                                                                                                                                                                                          pub fn name(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.name(input.into()); diff --git a/sdk/route53resolver/src/operation/create_resolver_rule/builders.rs b/sdk/route53resolver/src/operation/create_resolver_rule/builders.rs index 23f06d76ce24..592a2aaf9279 100644 --- a/sdk/route53resolver/src/operation/create_resolver_rule/builders.rs +++ b/sdk/route53resolver/src/operation/create_resolver_rule/builders.rs @@ -19,9 +19,9 @@ impl CreateResolverRuleFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl CreateResolverRuleFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::create_resolver_rule::CreateResolverRule, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::create_resolver_rule::CreateResolverRuleError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                          A unique string that identifies the request and that allows failed requests to be retried without the risk of running the operation twice. CreatorRequestId can be any unique string, for example, a date/time stamp.

                                                                                                                                                                                                                                                                                                                                                                          pub fn creator_request_id( mut self, diff --git a/sdk/route53resolver/src/operation/delete_firewall_domain_list/builders.rs b/sdk/route53resolver/src/operation/delete_firewall_domain_list/builders.rs index 10fa3114fa5c..61e254d4acc5 100644 --- a/sdk/route53resolver/src/operation/delete_firewall_domain_list/builders.rs +++ b/sdk/route53resolver/src/operation/delete_firewall_domain_list/builders.rs @@ -19,9 +19,9 @@ impl DeleteFirewallDomainListFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl DeleteFirewallDomainListFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::delete_firewall_domain_list::DeleteFirewallDomainList, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::delete_firewall_domain_list::DeleteFirewallDomainListError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                          The ID of the domain list that you want to delete.

                                                                                                                                                                                                                                                                                                                                                                          pub fn firewall_domain_list_id( mut self, diff --git a/sdk/route53resolver/src/operation/delete_firewall_rule/builders.rs b/sdk/route53resolver/src/operation/delete_firewall_rule/builders.rs index e6d021269db4..e924a6c04718 100644 --- a/sdk/route53resolver/src/operation/delete_firewall_rule/builders.rs +++ b/sdk/route53resolver/src/operation/delete_firewall_rule/builders.rs @@ -19,9 +19,9 @@ impl DeleteFirewallRuleFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl DeleteFirewallRuleFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::delete_firewall_rule::DeleteFirewallRule, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::delete_firewall_rule::DeleteFirewallRuleError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                          The unique identifier of the firewall rule group that you want to delete the rule from.

                                                                                                                                                                                                                                                                                                                                                                          pub fn firewall_rule_group_id( mut self, diff --git a/sdk/route53resolver/src/operation/delete_firewall_rule_group/builders.rs b/sdk/route53resolver/src/operation/delete_firewall_rule_group/builders.rs index 22ab01b76610..d768eeae5940 100644 --- a/sdk/route53resolver/src/operation/delete_firewall_rule_group/builders.rs +++ b/sdk/route53resolver/src/operation/delete_firewall_rule_group/builders.rs @@ -20,9 +20,9 @@ impl DeleteFirewallRuleGroupFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -84,6 +84,22 @@ impl DeleteFirewallRuleGroupFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::delete_firewall_rule_group::DeleteFirewallRuleGroup, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::delete_firewall_rule_group::DeleteFirewallRuleGroupError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                          The unique identifier of the firewall rule group that you want to delete.

                                                                                                                                                                                                                                                                                                                                                                          pub fn firewall_rule_group_id( mut self, diff --git a/sdk/route53resolver/src/operation/delete_resolver_endpoint/builders.rs b/sdk/route53resolver/src/operation/delete_resolver_endpoint/builders.rs index 68d6a2499eca..2ed10c6e7bdb 100644 --- a/sdk/route53resolver/src/operation/delete_resolver_endpoint/builders.rs +++ b/sdk/route53resolver/src/operation/delete_resolver_endpoint/builders.rs @@ -23,9 +23,9 @@ impl DeleteResolverEndpointFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -87,6 +87,22 @@ impl DeleteResolverEndpointFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::delete_resolver_endpoint::DeleteResolverEndpoint, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::delete_resolver_endpoint::DeleteResolverEndpointError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                          The ID of the Resolver endpoint that you want to delete.

                                                                                                                                                                                                                                                                                                                                                                          pub fn resolver_endpoint_id( mut self, diff --git a/sdk/route53resolver/src/operation/delete_resolver_query_log_config/builders.rs b/sdk/route53resolver/src/operation/delete_resolver_query_log_config/builders.rs index 14c3108a37ef..7c6a0d7cdac5 100644 --- a/sdk/route53resolver/src/operation/delete_resolver_query_log_config/builders.rs +++ b/sdk/route53resolver/src/operation/delete_resolver_query_log_config/builders.rs @@ -21,9 +21,9 @@ impl DeleteResolverQueryLogConfigFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -85,6 +85,22 @@ impl DeleteResolverQueryLogConfigFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::delete_resolver_query_log_config::DeleteResolverQueryLogConfig, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::delete_resolver_query_log_config::DeleteResolverQueryLogConfigError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                          The ID of the query logging configuration that you want to delete.

                                                                                                                                                                                                                                                                                                                                                                          pub fn resolver_query_log_config_id( mut self, diff --git a/sdk/route53resolver/src/operation/delete_resolver_rule/builders.rs b/sdk/route53resolver/src/operation/delete_resolver_rule/builders.rs index 4a3a42604462..d47bb786c1da 100644 --- a/sdk/route53resolver/src/operation/delete_resolver_rule/builders.rs +++ b/sdk/route53resolver/src/operation/delete_resolver_rule/builders.rs @@ -19,9 +19,9 @@ impl DeleteResolverRuleFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl DeleteResolverRuleFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::delete_resolver_rule::DeleteResolverRule, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::delete_resolver_rule::DeleteResolverRuleError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                          The ID of the Resolver rule that you want to delete.

                                                                                                                                                                                                                                                                                                                                                                          pub fn resolver_rule_id( mut self, diff --git a/sdk/route53resolver/src/operation/disassociate_firewall_rule_group/builders.rs b/sdk/route53resolver/src/operation/disassociate_firewall_rule_group/builders.rs index 703cddf11b6b..282801577086 100644 --- a/sdk/route53resolver/src/operation/disassociate_firewall_rule_group/builders.rs +++ b/sdk/route53resolver/src/operation/disassociate_firewall_rule_group/builders.rs @@ -19,9 +19,9 @@ impl DisassociateFirewallRuleGroupFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl DisassociateFirewallRuleGroupFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::disassociate_firewall_rule_group::DisassociateFirewallRuleGroup, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::disassociate_firewall_rule_group::DisassociateFirewallRuleGroupError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                          The identifier of the FirewallRuleGroupAssociation.

                                                                                                                                                                                                                                                                                                                                                                          pub fn firewall_rule_group_association_id( mut self, diff --git a/sdk/route53resolver/src/operation/disassociate_resolver_endpoint_ip_address/builders.rs b/sdk/route53resolver/src/operation/disassociate_resolver_endpoint_ip_address/builders.rs index c38d689f507c..3f4c8080067a 100644 --- a/sdk/route53resolver/src/operation/disassociate_resolver_endpoint_ip_address/builders.rs +++ b/sdk/route53resolver/src/operation/disassociate_resolver_endpoint_ip_address/builders.rs @@ -20,9 +20,9 @@ impl DisassociateResolverEndpointIpAddressFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize(self) -> ::std::result::Result< + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware(self) -> ::std::result::Result< crate::client::customize::CustomizableOperation, ::aws_smithy_http::result::SdkError >{ @@ -65,6 +65,15 @@ impl DisassociateResolverEndpointIpAddressFluentBuilder { { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize(self) -> ::std::result::Result< + crate::client::customize::CustomizableOperation, + ::aws_smithy_http::result::SdkError + >{ + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                          The ID of the Resolver endpoint that you want to disassociate an IP address from.

                                                                                                                                                                                                                                                                                                                                                                          pub fn resolver_endpoint_id( mut self, diff --git a/sdk/route53resolver/src/operation/disassociate_resolver_query_log_config/builders.rs b/sdk/route53resolver/src/operation/disassociate_resolver_query_log_config/builders.rs index 18f3b7fe0f66..526e27a461ed 100644 --- a/sdk/route53resolver/src/operation/disassociate_resolver_query_log_config/builders.rs +++ b/sdk/route53resolver/src/operation/disassociate_resolver_query_log_config/builders.rs @@ -25,9 +25,9 @@ impl DisassociateResolverQueryLogConfigFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize(self) -> ::std::result::Result< + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware(self) -> ::std::result::Result< crate::client::customize::CustomizableOperation, ::aws_smithy_http::result::SdkError >{ @@ -70,6 +70,15 @@ impl DisassociateResolverQueryLogConfigFluentBuilder { { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize(self) -> ::std::result::Result< + crate::client::customize::CustomizableOperation, + ::aws_smithy_http::result::SdkError + >{ + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                          The ID of the query logging configuration that you want to disassociate a specified VPC from.

                                                                                                                                                                                                                                                                                                                                                                          pub fn resolver_query_log_config_id( mut self, diff --git a/sdk/route53resolver/src/operation/disassociate_resolver_rule/builders.rs b/sdk/route53resolver/src/operation/disassociate_resolver_rule/builders.rs index 80c3a5f94603..ed9a65f04a11 100644 --- a/sdk/route53resolver/src/operation/disassociate_resolver_rule/builders.rs +++ b/sdk/route53resolver/src/operation/disassociate_resolver_rule/builders.rs @@ -21,9 +21,9 @@ impl DisassociateResolverRuleFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -85,6 +85,22 @@ impl DisassociateResolverRuleFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::disassociate_resolver_rule::DisassociateResolverRule, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::disassociate_resolver_rule::DisassociateResolverRuleError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                          The ID of the VPC that you want to disassociate the Resolver rule from.

                                                                                                                                                                                                                                                                                                                                                                          pub fn vpc_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.vpc_id(input.into()); diff --git a/sdk/route53resolver/src/operation/get_firewall_config/builders.rs b/sdk/route53resolver/src/operation/get_firewall_config/builders.rs index 64b55e2be00b..c78465548643 100644 --- a/sdk/route53resolver/src/operation/get_firewall_config/builders.rs +++ b/sdk/route53resolver/src/operation/get_firewall_config/builders.rs @@ -19,9 +19,9 @@ impl GetFirewallConfigFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl GetFirewallConfigFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::get_firewall_config::GetFirewallConfig, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::get_firewall_config::GetFirewallConfigError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                          The ID of the VPC from Amazon VPC that the configuration is for.

                                                                                                                                                                                                                                                                                                                                                                          pub fn resource_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.resource_id(input.into()); diff --git a/sdk/route53resolver/src/operation/get_firewall_domain_list/builders.rs b/sdk/route53resolver/src/operation/get_firewall_domain_list/builders.rs index 80978570a3aa..1b2954f0c1f8 100644 --- a/sdk/route53resolver/src/operation/get_firewall_domain_list/builders.rs +++ b/sdk/route53resolver/src/operation/get_firewall_domain_list/builders.rs @@ -19,9 +19,9 @@ impl GetFirewallDomainListFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl GetFirewallDomainListFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::get_firewall_domain_list::GetFirewallDomainList, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::get_firewall_domain_list::GetFirewallDomainListError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                          The ID of the domain list.

                                                                                                                                                                                                                                                                                                                                                                          pub fn firewall_domain_list_id( mut self, diff --git a/sdk/route53resolver/src/operation/get_firewall_rule_group/builders.rs b/sdk/route53resolver/src/operation/get_firewall_rule_group/builders.rs index 6853f94fd1a8..3e00f8a33381 100644 --- a/sdk/route53resolver/src/operation/get_firewall_rule_group/builders.rs +++ b/sdk/route53resolver/src/operation/get_firewall_rule_group/builders.rs @@ -19,9 +19,9 @@ impl GetFirewallRuleGroupFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl GetFirewallRuleGroupFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::get_firewall_rule_group::GetFirewallRuleGroup, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::get_firewall_rule_group::GetFirewallRuleGroupError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                          The unique identifier of the firewall rule group.

                                                                                                                                                                                                                                                                                                                                                                          pub fn firewall_rule_group_id( mut self, diff --git a/sdk/route53resolver/src/operation/get_firewall_rule_group_association/builders.rs b/sdk/route53resolver/src/operation/get_firewall_rule_group_association/builders.rs index 4df9fa8e94ed..ab94434c2487 100644 --- a/sdk/route53resolver/src/operation/get_firewall_rule_group_association/builders.rs +++ b/sdk/route53resolver/src/operation/get_firewall_rule_group_association/builders.rs @@ -19,9 +19,9 @@ impl GetFirewallRuleGroupAssociationFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize(self) -> ::std::result::Result< + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware(self) -> ::std::result::Result< crate::client::customize::CustomizableOperation, ::aws_smithy_http::result::SdkError >{ @@ -64,6 +64,15 @@ impl GetFirewallRuleGroupAssociationFluentBuilder { { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize(self) -> ::std::result::Result< + crate::client::customize::CustomizableOperation, + ::aws_smithy_http::result::SdkError + >{ + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                          The identifier of the FirewallRuleGroupAssociation.

                                                                                                                                                                                                                                                                                                                                                                          pub fn firewall_rule_group_association_id( mut self, diff --git a/sdk/route53resolver/src/operation/get_firewall_rule_group_policy/builders.rs b/sdk/route53resolver/src/operation/get_firewall_rule_group_policy/builders.rs index 59711762917f..2ee8deaa80be 100644 --- a/sdk/route53resolver/src/operation/get_firewall_rule_group_policy/builders.rs +++ b/sdk/route53resolver/src/operation/get_firewall_rule_group_policy/builders.rs @@ -19,9 +19,9 @@ impl GetFirewallRuleGroupPolicyFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl GetFirewallRuleGroupPolicyFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::get_firewall_rule_group_policy::GetFirewallRuleGroupPolicy, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::get_firewall_rule_group_policy::GetFirewallRuleGroupPolicyError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                          The ARN (Amazon Resource Name) for the rule group.

                                                                                                                                                                                                                                                                                                                                                                          pub fn arn(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.arn(input.into()); diff --git a/sdk/route53resolver/src/operation/get_resolver_config/builders.rs b/sdk/route53resolver/src/operation/get_resolver_config/builders.rs index 16a9957929fa..75c074535aef 100644 --- a/sdk/route53resolver/src/operation/get_resolver_config/builders.rs +++ b/sdk/route53resolver/src/operation/get_resolver_config/builders.rs @@ -19,9 +19,9 @@ impl GetResolverConfigFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl GetResolverConfigFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::get_resolver_config::GetResolverConfig, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::get_resolver_config::GetResolverConfigError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                          Resource ID of the Amazon VPC that you want to get information about.

                                                                                                                                                                                                                                                                                                                                                                          pub fn resource_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.resource_id(input.into()); diff --git a/sdk/route53resolver/src/operation/get_resolver_dnssec_config/builders.rs b/sdk/route53resolver/src/operation/get_resolver_dnssec_config/builders.rs index bf15f343609b..d6fdc706d740 100644 --- a/sdk/route53resolver/src/operation/get_resolver_dnssec_config/builders.rs +++ b/sdk/route53resolver/src/operation/get_resolver_dnssec_config/builders.rs @@ -20,9 +20,9 @@ impl GetResolverDnssecConfigFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -84,6 +84,22 @@ impl GetResolverDnssecConfigFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::get_resolver_dnssec_config::GetResolverDnssecConfig, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::get_resolver_dnssec_config::GetResolverDnssecConfigError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                          The ID of the virtual private cloud (VPC) for the DNSSEC validation status.

                                                                                                                                                                                                                                                                                                                                                                          pub fn resource_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.resource_id(input.into()); diff --git a/sdk/route53resolver/src/operation/get_resolver_endpoint/builders.rs b/sdk/route53resolver/src/operation/get_resolver_endpoint/builders.rs index 1ecc1a03fd58..78b6e095f8ae 100644 --- a/sdk/route53resolver/src/operation/get_resolver_endpoint/builders.rs +++ b/sdk/route53resolver/src/operation/get_resolver_endpoint/builders.rs @@ -19,9 +19,9 @@ impl GetResolverEndpointFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl GetResolverEndpointFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::get_resolver_endpoint::GetResolverEndpoint, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::get_resolver_endpoint::GetResolverEndpointError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                          The ID of the Resolver endpoint that you want to get information about.

                                                                                                                                                                                                                                                                                                                                                                          pub fn resolver_endpoint_id( mut self, diff --git a/sdk/route53resolver/src/operation/get_resolver_query_log_config/builders.rs b/sdk/route53resolver/src/operation/get_resolver_query_log_config/builders.rs index 8b6771319675..c253f5bd83e0 100644 --- a/sdk/route53resolver/src/operation/get_resolver_query_log_config/builders.rs +++ b/sdk/route53resolver/src/operation/get_resolver_query_log_config/builders.rs @@ -19,9 +19,9 @@ impl GetResolverQueryLogConfigFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl GetResolverQueryLogConfigFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::get_resolver_query_log_config::GetResolverQueryLogConfig, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::get_resolver_query_log_config::GetResolverQueryLogConfigError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                          The ID of the Resolver query logging configuration that you want to get information about.

                                                                                                                                                                                                                                                                                                                                                                          pub fn resolver_query_log_config_id( mut self, diff --git a/sdk/route53resolver/src/operation/get_resolver_query_log_config_association/builders.rs b/sdk/route53resolver/src/operation/get_resolver_query_log_config_association/builders.rs index 0db8e1d3529a..8e89ad4d8688 100644 --- a/sdk/route53resolver/src/operation/get_resolver_query_log_config_association/builders.rs +++ b/sdk/route53resolver/src/operation/get_resolver_query_log_config_association/builders.rs @@ -19,9 +19,9 @@ impl GetResolverQueryLogConfigAssociationFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize(self) -> ::std::result::Result< + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware(self) -> ::std::result::Result< crate::client::customize::CustomizableOperation, ::aws_smithy_http::result::SdkError >{ @@ -64,6 +64,15 @@ impl GetResolverQueryLogConfigAssociationFluentBuilder { { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize(self) -> ::std::result::Result< + crate::client::customize::CustomizableOperation, + ::aws_smithy_http::result::SdkError + >{ + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                          The ID of the Resolver query logging configuration association that you want to get information about.

                                                                                                                                                                                                                                                                                                                                                                          pub fn resolver_query_log_config_association_id( mut self, diff --git a/sdk/route53resolver/src/operation/get_resolver_query_log_config_policy/builders.rs b/sdk/route53resolver/src/operation/get_resolver_query_log_config_policy/builders.rs index 720c6dab9e2e..7ef09490c9a8 100644 --- a/sdk/route53resolver/src/operation/get_resolver_query_log_config_policy/builders.rs +++ b/sdk/route53resolver/src/operation/get_resolver_query_log_config_policy/builders.rs @@ -19,9 +19,9 @@ impl GetResolverQueryLogConfigPolicyFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize(self) -> ::std::result::Result< + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware(self) -> ::std::result::Result< crate::client::customize::CustomizableOperation, ::aws_smithy_http::result::SdkError >{ @@ -64,6 +64,15 @@ impl GetResolverQueryLogConfigPolicyFluentBuilder { { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize(self) -> ::std::result::Result< + crate::client::customize::CustomizableOperation, + ::aws_smithy_http::result::SdkError + >{ + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                          The ARN of the query logging configuration that you want to get the query logging policy for.

                                                                                                                                                                                                                                                                                                                                                                          pub fn arn(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.arn(input.into()); diff --git a/sdk/route53resolver/src/operation/get_resolver_rule/builders.rs b/sdk/route53resolver/src/operation/get_resolver_rule/builders.rs index ff14c1f0bbcb..ccf5cc183031 100644 --- a/sdk/route53resolver/src/operation/get_resolver_rule/builders.rs +++ b/sdk/route53resolver/src/operation/get_resolver_rule/builders.rs @@ -19,9 +19,9 @@ impl GetResolverRuleFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl GetResolverRuleFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::get_resolver_rule::GetResolverRule, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::get_resolver_rule::GetResolverRuleError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                          The ID of the Resolver rule that you want to get information about.

                                                                                                                                                                                                                                                                                                                                                                          pub fn resolver_rule_id( mut self, diff --git a/sdk/route53resolver/src/operation/get_resolver_rule_association/builders.rs b/sdk/route53resolver/src/operation/get_resolver_rule_association/builders.rs index 0ebeadefd53d..145a9353820c 100644 --- a/sdk/route53resolver/src/operation/get_resolver_rule_association/builders.rs +++ b/sdk/route53resolver/src/operation/get_resolver_rule_association/builders.rs @@ -19,9 +19,9 @@ impl GetResolverRuleAssociationFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl GetResolverRuleAssociationFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::get_resolver_rule_association::GetResolverRuleAssociation, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::get_resolver_rule_association::GetResolverRuleAssociationError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                          The ID of the Resolver rule association that you want to get information about.

                                                                                                                                                                                                                                                                                                                                                                          pub fn resolver_rule_association_id( mut self, diff --git a/sdk/route53resolver/src/operation/get_resolver_rule_policy/builders.rs b/sdk/route53resolver/src/operation/get_resolver_rule_policy/builders.rs index c2e9d66417e8..88afbcf39373 100644 --- a/sdk/route53resolver/src/operation/get_resolver_rule_policy/builders.rs +++ b/sdk/route53resolver/src/operation/get_resolver_rule_policy/builders.rs @@ -19,9 +19,9 @@ impl GetResolverRulePolicyFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl GetResolverRulePolicyFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::get_resolver_rule_policy::GetResolverRulePolicy, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::get_resolver_rule_policy::GetResolverRulePolicyError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                          The ID of the Resolver rule that you want to get the Resolver rule policy for.

                                                                                                                                                                                                                                                                                                                                                                          pub fn arn(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.arn(input.into()); diff --git a/sdk/route53resolver/src/operation/import_firewall_domains/builders.rs b/sdk/route53resolver/src/operation/import_firewall_domains/builders.rs index 32fe6ebbe842..e5e912dc3f32 100644 --- a/sdk/route53resolver/src/operation/import_firewall_domains/builders.rs +++ b/sdk/route53resolver/src/operation/import_firewall_domains/builders.rs @@ -25,9 +25,9 @@ impl ImportFirewallDomainsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -89,6 +89,22 @@ impl ImportFirewallDomainsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::import_firewall_domains::ImportFirewallDomains, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::import_firewall_domains::ImportFirewallDomainsError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                          The ID of the domain list that you want to modify with the import operation.

                                                                                                                                                                                                                                                                                                                                                                          pub fn firewall_domain_list_id( mut self, diff --git a/sdk/route53resolver/src/operation/list_firewall_configs/builders.rs b/sdk/route53resolver/src/operation/list_firewall_configs/builders.rs index 0175abcf9f31..c6d3261d21dd 100644 --- a/sdk/route53resolver/src/operation/list_firewall_configs/builders.rs +++ b/sdk/route53resolver/src/operation/list_firewall_configs/builders.rs @@ -20,9 +20,9 @@ impl ListFirewallConfigsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -84,6 +84,22 @@ impl ListFirewallConfigsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_firewall_configs::ListFirewallConfigs, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::list_firewall_configs::ListFirewallConfigsError, + >, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::list_firewall_configs::paginator::ListFirewallConfigsPaginator::send) which returns a `Stream`. diff --git a/sdk/route53resolver/src/operation/list_firewall_domain_lists/builders.rs b/sdk/route53resolver/src/operation/list_firewall_domain_lists/builders.rs index 73d2d426d326..18a69e9a8fd8 100644 --- a/sdk/route53resolver/src/operation/list_firewall_domain_lists/builders.rs +++ b/sdk/route53resolver/src/operation/list_firewall_domain_lists/builders.rs @@ -21,9 +21,9 @@ impl ListFirewallDomainListsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -85,6 +85,22 @@ impl ListFirewallDomainListsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_firewall_domain_lists::ListFirewallDomainLists, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::list_firewall_domain_lists::ListFirewallDomainListsError, + >, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::list_firewall_domain_lists::paginator::ListFirewallDomainListsPaginator::send) which returns a `Stream`. diff --git a/sdk/route53resolver/src/operation/list_firewall_domains/builders.rs b/sdk/route53resolver/src/operation/list_firewall_domains/builders.rs index 7f75d63d687e..0221be9c7304 100644 --- a/sdk/route53resolver/src/operation/list_firewall_domains/builders.rs +++ b/sdk/route53resolver/src/operation/list_firewall_domains/builders.rs @@ -20,9 +20,9 @@ impl ListFirewallDomainsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -84,6 +84,22 @@ impl ListFirewallDomainsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_firewall_domains::ListFirewallDomains, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::list_firewall_domains::ListFirewallDomainsError, + >, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::list_firewall_domains::paginator::ListFirewallDomainsPaginator::send) which returns a `Stream`. diff --git a/sdk/route53resolver/src/operation/list_firewall_rule_group_associations/builders.rs b/sdk/route53resolver/src/operation/list_firewall_rule_group_associations/builders.rs index 9ae952ae16a7..c5743a3bf442 100644 --- a/sdk/route53resolver/src/operation/list_firewall_rule_group_associations/builders.rs +++ b/sdk/route53resolver/src/operation/list_firewall_rule_group_associations/builders.rs @@ -20,9 +20,9 @@ impl ListFirewallRuleGroupAssociationsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize(self) -> ::std::result::Result< + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware(self) -> ::std::result::Result< crate::client::customize::CustomizableOperation, ::aws_smithy_http::result::SdkError >{ @@ -65,6 +65,15 @@ impl ListFirewallRuleGroupAssociationsFluentBuilder { { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize(self) -> ::std::result::Result< + crate::client::customize::CustomizableOperation, + ::aws_smithy_http::result::SdkError + >{ + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::list_firewall_rule_group_associations::paginator::ListFirewallRuleGroupAssociationsPaginator::send) which returns a `Stream`. diff --git a/sdk/route53resolver/src/operation/list_firewall_rule_groups/builders.rs b/sdk/route53resolver/src/operation/list_firewall_rule_groups/builders.rs index 0f01f1d31fce..e6006c5293d0 100644 --- a/sdk/route53resolver/src/operation/list_firewall_rule_groups/builders.rs +++ b/sdk/route53resolver/src/operation/list_firewall_rule_groups/builders.rs @@ -21,9 +21,9 @@ impl ListFirewallRuleGroupsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -85,6 +85,22 @@ impl ListFirewallRuleGroupsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_firewall_rule_groups::ListFirewallRuleGroups, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::list_firewall_rule_groups::ListFirewallRuleGroupsError, + >, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::list_firewall_rule_groups::paginator::ListFirewallRuleGroupsPaginator::send) which returns a `Stream`. diff --git a/sdk/route53resolver/src/operation/list_firewall_rules/builders.rs b/sdk/route53resolver/src/operation/list_firewall_rules/builders.rs index fa098246c9fe..59ac86f79e63 100644 --- a/sdk/route53resolver/src/operation/list_firewall_rules/builders.rs +++ b/sdk/route53resolver/src/operation/list_firewall_rules/builders.rs @@ -20,9 +20,9 @@ impl ListFirewallRulesFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -84,6 +84,22 @@ impl ListFirewallRulesFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_firewall_rules::ListFirewallRules, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::list_firewall_rules::ListFirewallRulesError, + >, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::list_firewall_rules::paginator::ListFirewallRulesPaginator::send) which returns a `Stream`. diff --git a/sdk/route53resolver/src/operation/list_resolver_configs/builders.rs b/sdk/route53resolver/src/operation/list_resolver_configs/builders.rs index d5f394548288..a74621329158 100644 --- a/sdk/route53resolver/src/operation/list_resolver_configs/builders.rs +++ b/sdk/route53resolver/src/operation/list_resolver_configs/builders.rs @@ -19,9 +19,9 @@ impl ListResolverConfigsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl ListResolverConfigsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_resolver_configs::ListResolverConfigs, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::list_resolver_configs::ListResolverConfigsError, + >, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::list_resolver_configs::paginator::ListResolverConfigsPaginator::send) which returns a `Stream`. diff --git a/sdk/route53resolver/src/operation/list_resolver_dnssec_configs/builders.rs b/sdk/route53resolver/src/operation/list_resolver_dnssec_configs/builders.rs index 8067e0ca414d..8aeee52d2392 100644 --- a/sdk/route53resolver/src/operation/list_resolver_dnssec_configs/builders.rs +++ b/sdk/route53resolver/src/operation/list_resolver_dnssec_configs/builders.rs @@ -19,9 +19,9 @@ impl ListResolverDnssecConfigsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl ListResolverDnssecConfigsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_resolver_dnssec_configs::ListResolverDnssecConfigs, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::list_resolver_dnssec_configs::ListResolverDnssecConfigsError, + >, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::list_resolver_dnssec_configs::paginator::ListResolverDnssecConfigsPaginator::send) which returns a `Stream`. diff --git a/sdk/route53resolver/src/operation/list_resolver_endpoint_ip_addresses/builders.rs b/sdk/route53resolver/src/operation/list_resolver_endpoint_ip_addresses/builders.rs index 5886c990bdfd..789c3573dd6c 100644 --- a/sdk/route53resolver/src/operation/list_resolver_endpoint_ip_addresses/builders.rs +++ b/sdk/route53resolver/src/operation/list_resolver_endpoint_ip_addresses/builders.rs @@ -19,9 +19,9 @@ impl ListResolverEndpointIpAddressesFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize(self) -> ::std::result::Result< + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware(self) -> ::std::result::Result< crate::client::customize::CustomizableOperation, ::aws_smithy_http::result::SdkError >{ @@ -64,6 +64,15 @@ impl ListResolverEndpointIpAddressesFluentBuilder { { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize(self) -> ::std::result::Result< + crate::client::customize::CustomizableOperation, + ::aws_smithy_http::result::SdkError + >{ + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::list_resolver_endpoint_ip_addresses::paginator::ListResolverEndpointIpAddressesPaginator::send) which returns a `Stream`. diff --git a/sdk/route53resolver/src/operation/list_resolver_endpoints/builders.rs b/sdk/route53resolver/src/operation/list_resolver_endpoints/builders.rs index 10b2febbc15a..488e2b292305 100644 --- a/sdk/route53resolver/src/operation/list_resolver_endpoints/builders.rs +++ b/sdk/route53resolver/src/operation/list_resolver_endpoints/builders.rs @@ -19,9 +19,9 @@ impl ListResolverEndpointsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl ListResolverEndpointsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_resolver_endpoints::ListResolverEndpoints, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::list_resolver_endpoints::ListResolverEndpointsError, + >, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::list_resolver_endpoints::paginator::ListResolverEndpointsPaginator::send) which returns a `Stream`. diff --git a/sdk/route53resolver/src/operation/list_resolver_query_log_config_associations/builders.rs b/sdk/route53resolver/src/operation/list_resolver_query_log_config_associations/builders.rs index 1c9326bd4db2..695e9897ca33 100644 --- a/sdk/route53resolver/src/operation/list_resolver_query_log_config_associations/builders.rs +++ b/sdk/route53resolver/src/operation/list_resolver_query_log_config_associations/builders.rs @@ -19,9 +19,9 @@ impl ListResolverQueryLogConfigAssociationsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize(self) -> ::std::result::Result< + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware(self) -> ::std::result::Result< crate::client::customize::CustomizableOperation, ::aws_smithy_http::result::SdkError >{ @@ -64,6 +64,15 @@ impl ListResolverQueryLogConfigAssociationsFluentBuilder { { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize(self) -> ::std::result::Result< + crate::client::customize::CustomizableOperation, + ::aws_smithy_http::result::SdkError + >{ + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::list_resolver_query_log_config_associations::paginator::ListResolverQueryLogConfigAssociationsPaginator::send) which returns a `Stream`. diff --git a/sdk/route53resolver/src/operation/list_resolver_query_log_configs/builders.rs b/sdk/route53resolver/src/operation/list_resolver_query_log_configs/builders.rs index f2316043f4fe..d1681e02f1c5 100644 --- a/sdk/route53resolver/src/operation/list_resolver_query_log_configs/builders.rs +++ b/sdk/route53resolver/src/operation/list_resolver_query_log_configs/builders.rs @@ -19,9 +19,9 @@ impl ListResolverQueryLogConfigsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl ListResolverQueryLogConfigsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_resolver_query_log_configs::ListResolverQueryLogConfigs, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::list_resolver_query_log_configs::ListResolverQueryLogConfigsError, + >, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::list_resolver_query_log_configs::paginator::ListResolverQueryLogConfigsPaginator::send) which returns a `Stream`. diff --git a/sdk/route53resolver/src/operation/list_resolver_rule_associations/builders.rs b/sdk/route53resolver/src/operation/list_resolver_rule_associations/builders.rs index 07e84244a6e0..be5da3792684 100644 --- a/sdk/route53resolver/src/operation/list_resolver_rule_associations/builders.rs +++ b/sdk/route53resolver/src/operation/list_resolver_rule_associations/builders.rs @@ -19,9 +19,9 @@ impl ListResolverRuleAssociationsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl ListResolverRuleAssociationsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_resolver_rule_associations::ListResolverRuleAssociations, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::list_resolver_rule_associations::ListResolverRuleAssociationsError, + >, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::list_resolver_rule_associations::paginator::ListResolverRuleAssociationsPaginator::send) which returns a `Stream`. diff --git a/sdk/route53resolver/src/operation/list_resolver_rules/builders.rs b/sdk/route53resolver/src/operation/list_resolver_rules/builders.rs index 37e2ca730e24..918ee3451d47 100644 --- a/sdk/route53resolver/src/operation/list_resolver_rules/builders.rs +++ b/sdk/route53resolver/src/operation/list_resolver_rules/builders.rs @@ -19,9 +19,9 @@ impl ListResolverRulesFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl ListResolverRulesFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_resolver_rules::ListResolverRules, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::list_resolver_rules::ListResolverRulesError, + >, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::list_resolver_rules::paginator::ListResolverRulesPaginator::send) which returns a `Stream`. diff --git a/sdk/route53resolver/src/operation/list_tags_for_resource/builders.rs b/sdk/route53resolver/src/operation/list_tags_for_resource/builders.rs index a2f5e0c40734..26f942f68b38 100644 --- a/sdk/route53resolver/src/operation/list_tags_for_resource/builders.rs +++ b/sdk/route53resolver/src/operation/list_tags_for_resource/builders.rs @@ -19,9 +19,9 @@ impl ListTagsForResourceFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl ListTagsForResourceFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_tags_for_resource::ListTagsForResource, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::list_tags_for_resource::ListTagsForResourceError, + >, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::list_tags_for_resource::paginator::ListTagsForResourcePaginator::send) which returns a `Stream`. diff --git a/sdk/route53resolver/src/operation/put_firewall_rule_group_policy/builders.rs b/sdk/route53resolver/src/operation/put_firewall_rule_group_policy/builders.rs index cb23a313493a..2b2e411f905a 100644 --- a/sdk/route53resolver/src/operation/put_firewall_rule_group_policy/builders.rs +++ b/sdk/route53resolver/src/operation/put_firewall_rule_group_policy/builders.rs @@ -19,9 +19,9 @@ impl PutFirewallRuleGroupPolicyFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl PutFirewallRuleGroupPolicyFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::put_firewall_rule_group_policy::PutFirewallRuleGroupPolicy, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::put_firewall_rule_group_policy::PutFirewallRuleGroupPolicyError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                          The ARN (Amazon Resource Name) for the rule group that you want to share.

                                                                                                                                                                                                                                                                                                                                                                          pub fn arn(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.arn(input.into()); diff --git a/sdk/route53resolver/src/operation/put_resolver_query_log_config_policy/builders.rs b/sdk/route53resolver/src/operation/put_resolver_query_log_config_policy/builders.rs index 5dd7ad73d4da..620ea1c99c91 100644 --- a/sdk/route53resolver/src/operation/put_resolver_query_log_config_policy/builders.rs +++ b/sdk/route53resolver/src/operation/put_resolver_query_log_config_policy/builders.rs @@ -19,9 +19,9 @@ impl PutResolverQueryLogConfigPolicyFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize(self) -> ::std::result::Result< + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware(self) -> ::std::result::Result< crate::client::customize::CustomizableOperation, ::aws_smithy_http::result::SdkError >{ @@ -64,6 +64,15 @@ impl PutResolverQueryLogConfigPolicyFluentBuilder { { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize(self) -> ::std::result::Result< + crate::client::customize::CustomizableOperation, + ::aws_smithy_http::result::SdkError + >{ + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                          The Amazon Resource Name (ARN) of the account that you want to share rules with.

                                                                                                                                                                                                                                                                                                                                                                          pub fn arn(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.arn(input.into()); diff --git a/sdk/route53resolver/src/operation/put_resolver_rule_policy/builders.rs b/sdk/route53resolver/src/operation/put_resolver_rule_policy/builders.rs index b150402f31d2..56f6cf13b5ad 100644 --- a/sdk/route53resolver/src/operation/put_resolver_rule_policy/builders.rs +++ b/sdk/route53resolver/src/operation/put_resolver_rule_policy/builders.rs @@ -19,9 +19,9 @@ impl PutResolverRulePolicyFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl PutResolverRulePolicyFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::put_resolver_rule_policy::PutResolverRulePolicy, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::put_resolver_rule_policy::PutResolverRulePolicyError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                          The Amazon Resource Name (ARN) of the rule that you want to share with another account.

                                                                                                                                                                                                                                                                                                                                                                          pub fn arn(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.arn(input.into()); diff --git a/sdk/route53resolver/src/operation/tag_resource/builders.rs b/sdk/route53resolver/src/operation/tag_resource/builders.rs index b04abe6d059e..5c4dd0f63f52 100644 --- a/sdk/route53resolver/src/operation/tag_resource/builders.rs +++ b/sdk/route53resolver/src/operation/tag_resource/builders.rs @@ -19,9 +19,9 @@ impl TagResourceFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl TagResourceFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::tag_resource::TagResource, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                          The Amazon Resource Name (ARN) for the resource that you want to add tags to. To get the ARN for a resource, use the applicable Get or List command:

                                                                                                                                                                                                                                                                                                                                                                          ///
                                                                                                                                                                                                                                                                                                                                                                            ///
                                                                                                                                                                                                                                                                                                                                                                          • GetResolverEndpoint

                                                                                                                                                                                                                                                                                                                                                                          • diff --git a/sdk/route53resolver/src/operation/untag_resource/builders.rs b/sdk/route53resolver/src/operation/untag_resource/builders.rs index 0a27d6a89195..52c3e717e549 100644 --- a/sdk/route53resolver/src/operation/untag_resource/builders.rs +++ b/sdk/route53resolver/src/operation/untag_resource/builders.rs @@ -19,9 +19,9 @@ impl UntagResourceFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl UntagResourceFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::untag_resource::UntagResource, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                            The Amazon Resource Name (ARN) for the resource that you want to remove tags from. To get the ARN for a resource, use the applicable Get or List command:

                                                                                                                                                                                                                                                                                                                                                                            ///
                                                                                                                                                                                                                                                                                                                                                                              ///
                                                                                                                                                                                                                                                                                                                                                                            • GetResolverEndpoint

                                                                                                                                                                                                                                                                                                                                                                            • diff --git a/sdk/route53resolver/src/operation/update_firewall_config/builders.rs b/sdk/route53resolver/src/operation/update_firewall_config/builders.rs index 421b160d25a2..028b28f50162 100644 --- a/sdk/route53resolver/src/operation/update_firewall_config/builders.rs +++ b/sdk/route53resolver/src/operation/update_firewall_config/builders.rs @@ -19,9 +19,9 @@ impl UpdateFirewallConfigFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl UpdateFirewallConfigFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::update_firewall_config::UpdateFirewallConfig, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::update_firewall_config::UpdateFirewallConfigError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                              The ID of the VPC that the configuration is for.

                                                                                                                                                                                                                                                                                                                                                                              pub fn resource_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.resource_id(input.into()); diff --git a/sdk/route53resolver/src/operation/update_firewall_domains/builders.rs b/sdk/route53resolver/src/operation/update_firewall_domains/builders.rs index 417cecc93dac..b657ada6fe99 100644 --- a/sdk/route53resolver/src/operation/update_firewall_domains/builders.rs +++ b/sdk/route53resolver/src/operation/update_firewall_domains/builders.rs @@ -19,9 +19,9 @@ impl UpdateFirewallDomainsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl UpdateFirewallDomainsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::update_firewall_domains::UpdateFirewallDomains, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::update_firewall_domains::UpdateFirewallDomainsError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                              The ID of the domain list whose domains you want to update.

                                                                                                                                                                                                                                                                                                                                                                              pub fn firewall_domain_list_id( mut self, diff --git a/sdk/route53resolver/src/operation/update_firewall_rule/builders.rs b/sdk/route53resolver/src/operation/update_firewall_rule/builders.rs index bd6c2d595ee4..d367563414ca 100644 --- a/sdk/route53resolver/src/operation/update_firewall_rule/builders.rs +++ b/sdk/route53resolver/src/operation/update_firewall_rule/builders.rs @@ -19,9 +19,9 @@ impl UpdateFirewallRuleFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl UpdateFirewallRuleFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::update_firewall_rule::UpdateFirewallRule, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::update_firewall_rule::UpdateFirewallRuleError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                              The unique identifier of the firewall rule group for the rule.

                                                                                                                                                                                                                                                                                                                                                                              pub fn firewall_rule_group_id( mut self, diff --git a/sdk/route53resolver/src/operation/update_firewall_rule_group_association/builders.rs b/sdk/route53resolver/src/operation/update_firewall_rule_group_association/builders.rs index 81a964106bbf..42059a40fea1 100644 --- a/sdk/route53resolver/src/operation/update_firewall_rule_group_association/builders.rs +++ b/sdk/route53resolver/src/operation/update_firewall_rule_group_association/builders.rs @@ -19,9 +19,9 @@ impl UpdateFirewallRuleGroupAssociationFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize(self) -> ::std::result::Result< + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware(self) -> ::std::result::Result< crate::client::customize::CustomizableOperation, ::aws_smithy_http::result::SdkError >{ @@ -64,6 +64,15 @@ impl UpdateFirewallRuleGroupAssociationFluentBuilder { { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize(self) -> ::std::result::Result< + crate::client::customize::CustomizableOperation, + ::aws_smithy_http::result::SdkError + >{ + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                              The identifier of the FirewallRuleGroupAssociation.

                                                                                                                                                                                                                                                                                                                                                                              pub fn firewall_rule_group_association_id( mut self, diff --git a/sdk/route53resolver/src/operation/update_resolver_config/builders.rs b/sdk/route53resolver/src/operation/update_resolver_config/builders.rs index 1b27416bb1bc..24fa87a947d0 100644 --- a/sdk/route53resolver/src/operation/update_resolver_config/builders.rs +++ b/sdk/route53resolver/src/operation/update_resolver_config/builders.rs @@ -19,9 +19,9 @@ impl UpdateResolverConfigFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl UpdateResolverConfigFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::update_resolver_config::UpdateResolverConfig, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::update_resolver_config::UpdateResolverConfigError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                              Resource ID of the Amazon VPC that you want to update the Resolver configuration for.

                                                                                                                                                                                                                                                                                                                                                                              pub fn resource_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.resource_id(input.into()); diff --git a/sdk/route53resolver/src/operation/update_resolver_dnssec_config/builders.rs b/sdk/route53resolver/src/operation/update_resolver_dnssec_config/builders.rs index ac9587d206ba..6c0c3328bba7 100644 --- a/sdk/route53resolver/src/operation/update_resolver_dnssec_config/builders.rs +++ b/sdk/route53resolver/src/operation/update_resolver_dnssec_config/builders.rs @@ -19,9 +19,9 @@ impl UpdateResolverDnssecConfigFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl UpdateResolverDnssecConfigFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::update_resolver_dnssec_config::UpdateResolverDnssecConfig, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::update_resolver_dnssec_config::UpdateResolverDnssecConfigError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                              The ID of the virtual private cloud (VPC) that you're updating the DNSSEC validation status for.

                                                                                                                                                                                                                                                                                                                                                                              pub fn resource_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.resource_id(input.into()); diff --git a/sdk/route53resolver/src/operation/update_resolver_endpoint/builders.rs b/sdk/route53resolver/src/operation/update_resolver_endpoint/builders.rs index 1b8c942f676c..a7c7adf9ccf3 100644 --- a/sdk/route53resolver/src/operation/update_resolver_endpoint/builders.rs +++ b/sdk/route53resolver/src/operation/update_resolver_endpoint/builders.rs @@ -19,9 +19,9 @@ impl UpdateResolverEndpointFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl UpdateResolverEndpointFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::update_resolver_endpoint::UpdateResolverEndpoint, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::update_resolver_endpoint::UpdateResolverEndpointError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                              The ID of the Resolver endpoint that you want to update.

                                                                                                                                                                                                                                                                                                                                                                              pub fn resolver_endpoint_id( mut self, diff --git a/sdk/route53resolver/src/operation/update_resolver_rule/builders.rs b/sdk/route53resolver/src/operation/update_resolver_rule/builders.rs index 4ea0872d613f..4dcfef46fa8c 100644 --- a/sdk/route53resolver/src/operation/update_resolver_rule/builders.rs +++ b/sdk/route53resolver/src/operation/update_resolver_rule/builders.rs @@ -19,9 +19,9 @@ impl UpdateResolverRuleFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl UpdateResolverRuleFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::update_resolver_rule::UpdateResolverRule, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::update_resolver_rule::UpdateResolverRuleError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                              The ID of the Resolver rule that you want to update.

                                                                                                                                                                                                                                                                                                                                                                              pub fn resolver_rule_id( mut self, diff --git a/sdk/rum/src/operation/batch_create_rum_metric_definitions/builders.rs b/sdk/rum/src/operation/batch_create_rum_metric_definitions/builders.rs index 10931c3e7c2e..9c726ae10404 100644 --- a/sdk/rum/src/operation/batch_create_rum_metric_definitions/builders.rs +++ b/sdk/rum/src/operation/batch_create_rum_metric_definitions/builders.rs @@ -30,9 +30,9 @@ impl BatchCreateRumMetricDefinitionsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize(self) -> ::std::result::Result< + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware(self) -> ::std::result::Result< crate::client::customize::CustomizableOperation, ::aws_smithy_http::result::SdkError >{ @@ -75,6 +75,15 @@ impl BatchCreateRumMetricDefinitionsFluentBuilder { { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize(self) -> ::std::result::Result< + crate::client::customize::CustomizableOperation, + ::aws_smithy_http::result::SdkError + >{ + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                              The name of the CloudWatch RUM app monitor that is to send the metrics.

                                                                                                                                                                                                                                                                                                                                                                              pub fn app_monitor_name( mut self, diff --git a/sdk/rum/src/operation/batch_delete_rum_metric_definitions/builders.rs b/sdk/rum/src/operation/batch_delete_rum_metric_definitions/builders.rs index 5a766b2149dc..53b02627bf88 100644 --- a/sdk/rum/src/operation/batch_delete_rum_metric_definitions/builders.rs +++ b/sdk/rum/src/operation/batch_delete_rum_metric_definitions/builders.rs @@ -21,9 +21,9 @@ impl BatchDeleteRumMetricDefinitionsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize(self) -> ::std::result::Result< + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware(self) -> ::std::result::Result< crate::client::customize::CustomizableOperation, ::aws_smithy_http::result::SdkError >{ @@ -66,6 +66,15 @@ impl BatchDeleteRumMetricDefinitionsFluentBuilder { { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize(self) -> ::std::result::Result< + crate::client::customize::CustomizableOperation, + ::aws_smithy_http::result::SdkError + >{ + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                              The name of the CloudWatch RUM app monitor that is sending these metrics.

                                                                                                                                                                                                                                                                                                                                                                              pub fn app_monitor_name( mut self, diff --git a/sdk/rum/src/operation/batch_get_rum_metric_definitions/builders.rs b/sdk/rum/src/operation/batch_get_rum_metric_definitions/builders.rs index 32bdbd19f09a..b9345228b0f1 100644 --- a/sdk/rum/src/operation/batch_get_rum_metric_definitions/builders.rs +++ b/sdk/rum/src/operation/batch_get_rum_metric_definitions/builders.rs @@ -19,9 +19,9 @@ impl BatchGetRumMetricDefinitionsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl BatchGetRumMetricDefinitionsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::batch_get_rum_metric_definitions::BatchGetRumMetricDefinitions, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::batch_get_rum_metric_definitions::BatchGetRumMetricDefinitionsError, + >, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::batch_get_rum_metric_definitions::paginator::BatchGetRumMetricDefinitionsPaginator::send) which returns a `Stream`. diff --git a/sdk/rum/src/operation/create_app_monitor/builders.rs b/sdk/rum/src/operation/create_app_monitor/builders.rs index df2bde7e582b..38b30378657d 100644 --- a/sdk/rum/src/operation/create_app_monitor/builders.rs +++ b/sdk/rum/src/operation/create_app_monitor/builders.rs @@ -21,9 +21,9 @@ impl CreateAppMonitorFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -85,6 +85,22 @@ impl CreateAppMonitorFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::create_app_monitor::CreateAppMonitor, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::create_app_monitor::CreateAppMonitorError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                              A name for the app monitor.

                                                                                                                                                                                                                                                                                                                                                                              pub fn name(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.name(input.into()); diff --git a/sdk/rum/src/operation/delete_app_monitor/builders.rs b/sdk/rum/src/operation/delete_app_monitor/builders.rs index 746552e78570..a00ecd090c43 100644 --- a/sdk/rum/src/operation/delete_app_monitor/builders.rs +++ b/sdk/rum/src/operation/delete_app_monitor/builders.rs @@ -19,9 +19,9 @@ impl DeleteAppMonitorFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl DeleteAppMonitorFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::delete_app_monitor::DeleteAppMonitor, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::delete_app_monitor::DeleteAppMonitorError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                              The name of the app monitor to delete.

                                                                                                                                                                                                                                                                                                                                                                              pub fn name(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.name(input.into()); diff --git a/sdk/rum/src/operation/delete_rum_metrics_destination/builders.rs b/sdk/rum/src/operation/delete_rum_metrics_destination/builders.rs index 8c7a41b83a45..dcc0ce03d39a 100644 --- a/sdk/rum/src/operation/delete_rum_metrics_destination/builders.rs +++ b/sdk/rum/src/operation/delete_rum_metrics_destination/builders.rs @@ -19,9 +19,9 @@ impl DeleteRumMetricsDestinationFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl DeleteRumMetricsDestinationFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::delete_rum_metrics_destination::DeleteRumMetricsDestination, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::delete_rum_metrics_destination::DeleteRumMetricsDestinationError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                              The name of the app monitor that is sending metrics to the destination that you want to delete.

                                                                                                                                                                                                                                                                                                                                                                              pub fn app_monitor_name( mut self, diff --git a/sdk/rum/src/operation/get_app_monitor/builders.rs b/sdk/rum/src/operation/get_app_monitor/builders.rs index 55563f4afdee..f8c41e2f92d7 100644 --- a/sdk/rum/src/operation/get_app_monitor/builders.rs +++ b/sdk/rum/src/operation/get_app_monitor/builders.rs @@ -19,9 +19,9 @@ impl GetAppMonitorFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl GetAppMonitorFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::get_app_monitor::GetAppMonitor, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                              The app monitor to retrieve information for.

                                                                                                                                                                                                                                                                                                                                                                              pub fn name(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.name(input.into()); diff --git a/sdk/rum/src/operation/get_app_monitor_data/builders.rs b/sdk/rum/src/operation/get_app_monitor_data/builders.rs index 412c1d8129d1..1d68b0998593 100644 --- a/sdk/rum/src/operation/get_app_monitor_data/builders.rs +++ b/sdk/rum/src/operation/get_app_monitor_data/builders.rs @@ -19,9 +19,9 @@ impl GetAppMonitorDataFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl GetAppMonitorDataFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::get_app_monitor_data::GetAppMonitorData, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::get_app_monitor_data::GetAppMonitorDataError, + >, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::get_app_monitor_data::paginator::GetAppMonitorDataPaginator::send) which returns a `Stream`. diff --git a/sdk/rum/src/operation/list_app_monitors/builders.rs b/sdk/rum/src/operation/list_app_monitors/builders.rs index f75efa16c58a..fc63d6bf51d5 100644 --- a/sdk/rum/src/operation/list_app_monitors/builders.rs +++ b/sdk/rum/src/operation/list_app_monitors/builders.rs @@ -19,9 +19,9 @@ impl ListAppMonitorsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl ListAppMonitorsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_app_monitors::ListAppMonitors, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::list_app_monitors::ListAppMonitorsError, + >, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::list_app_monitors::paginator::ListAppMonitorsPaginator::send) which returns a `Stream`. diff --git a/sdk/rum/src/operation/list_rum_metrics_destinations/builders.rs b/sdk/rum/src/operation/list_rum_metrics_destinations/builders.rs index d5f753869824..49a52eb571d6 100644 --- a/sdk/rum/src/operation/list_rum_metrics_destinations/builders.rs +++ b/sdk/rum/src/operation/list_rum_metrics_destinations/builders.rs @@ -20,9 +20,9 @@ impl ListRumMetricsDestinationsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -84,6 +84,22 @@ impl ListRumMetricsDestinationsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_rum_metrics_destinations::ListRumMetricsDestinations, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::list_rum_metrics_destinations::ListRumMetricsDestinationsError, + >, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::list_rum_metrics_destinations::paginator::ListRumMetricsDestinationsPaginator::send) which returns a `Stream`. diff --git a/sdk/rum/src/operation/list_tags_for_resource/builders.rs b/sdk/rum/src/operation/list_tags_for_resource/builders.rs index 4e9aa8752ad7..1ff0906ba035 100644 --- a/sdk/rum/src/operation/list_tags_for_resource/builders.rs +++ b/sdk/rum/src/operation/list_tags_for_resource/builders.rs @@ -19,9 +19,9 @@ impl ListTagsForResourceFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl ListTagsForResourceFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_tags_for_resource::ListTagsForResource, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::list_tags_for_resource::ListTagsForResourceError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                              The ARN of the resource that you want to see the tags of.

                                                                                                                                                                                                                                                                                                                                                                              pub fn resource_arn(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.resource_arn(input.into()); diff --git a/sdk/rum/src/operation/put_rum_events/builders.rs b/sdk/rum/src/operation/put_rum_events/builders.rs index dc1238819dd8..6cb1459a8992 100644 --- a/sdk/rum/src/operation/put_rum_events/builders.rs +++ b/sdk/rum/src/operation/put_rum_events/builders.rs @@ -20,9 +20,9 @@ impl PutRumEventsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -78,6 +78,20 @@ impl PutRumEventsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::put_rum_events::PutRumEvents, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                              The ID of the app monitor that is sending this data.

                                                                                                                                                                                                                                                                                                                                                                              pub fn id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.id(input.into()); diff --git a/sdk/rum/src/operation/put_rum_metrics_destination/builders.rs b/sdk/rum/src/operation/put_rum_metrics_destination/builders.rs index 45e9efa4274c..b772f9e86511 100644 --- a/sdk/rum/src/operation/put_rum_metrics_destination/builders.rs +++ b/sdk/rum/src/operation/put_rum_metrics_destination/builders.rs @@ -20,9 +20,9 @@ impl PutRumMetricsDestinationFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -84,6 +84,22 @@ impl PutRumMetricsDestinationFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::put_rum_metrics_destination::PutRumMetricsDestination, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::put_rum_metrics_destination::PutRumMetricsDestinationError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                              The name of the CloudWatch RUM app monitor that will send the metrics.

                                                                                                                                                                                                                                                                                                                                                                              pub fn app_monitor_name( mut self, diff --git a/sdk/rum/src/operation/tag_resource/builders.rs b/sdk/rum/src/operation/tag_resource/builders.rs index 54584970d896..5915f3858162 100644 --- a/sdk/rum/src/operation/tag_resource/builders.rs +++ b/sdk/rum/src/operation/tag_resource/builders.rs @@ -24,9 +24,9 @@ impl TagResourceFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -82,6 +82,20 @@ impl TagResourceFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::tag_resource::TagResource, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                              The ARN of the CloudWatch RUM resource that you're adding tags to.

                                                                                                                                                                                                                                                                                                                                                                              pub fn resource_arn(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.resource_arn(input.into()); diff --git a/sdk/rum/src/operation/untag_resource/builders.rs b/sdk/rum/src/operation/untag_resource/builders.rs index fc6fa8bb999b..d0dc561326a3 100644 --- a/sdk/rum/src/operation/untag_resource/builders.rs +++ b/sdk/rum/src/operation/untag_resource/builders.rs @@ -19,9 +19,9 @@ impl UntagResourceFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl UntagResourceFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::untag_resource::UntagResource, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                              The ARN of the CloudWatch RUM resource that you're removing tags from.

                                                                                                                                                                                                                                                                                                                                                                              pub fn resource_arn(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.resource_arn(input.into()); diff --git a/sdk/rum/src/operation/update_app_monitor/builders.rs b/sdk/rum/src/operation/update_app_monitor/builders.rs index 7d359f773bc8..2bd722990197 100644 --- a/sdk/rum/src/operation/update_app_monitor/builders.rs +++ b/sdk/rum/src/operation/update_app_monitor/builders.rs @@ -22,9 +22,9 @@ impl UpdateAppMonitorFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -86,6 +86,22 @@ impl UpdateAppMonitorFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::update_app_monitor::UpdateAppMonitor, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::update_app_monitor::UpdateAppMonitorError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                              The name of the app monitor to update.

                                                                                                                                                                                                                                                                                                                                                                              pub fn name(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.name(input.into()); diff --git a/sdk/rum/src/operation/update_rum_metric_definition/builders.rs b/sdk/rum/src/operation/update_rum_metric_definition/builders.rs index e1e2724a8b96..9202271a0cef 100644 --- a/sdk/rum/src/operation/update_rum_metric_definition/builders.rs +++ b/sdk/rum/src/operation/update_rum_metric_definition/builders.rs @@ -19,9 +19,9 @@ impl UpdateRumMetricDefinitionFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl UpdateRumMetricDefinitionFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::update_rum_metric_definition::UpdateRumMetricDefinition, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::update_rum_metric_definition::UpdateRumMetricDefinitionError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                              The name of the CloudWatch RUM app monitor that sends these metrics.

                                                                                                                                                                                                                                                                                                                                                                              pub fn app_monitor_name( mut self, diff --git a/sdk/s3/src/operation/abort_multipart_upload/builders.rs b/sdk/s3/src/operation/abort_multipart_upload/builders.rs index 542d39a82884..cf3b170fd471 100644 --- a/sdk/s3/src/operation/abort_multipart_upload/builders.rs +++ b/sdk/s3/src/operation/abort_multipart_upload/builders.rs @@ -29,9 +29,9 @@ impl AbortMultipartUploadFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -93,6 +93,22 @@ impl AbortMultipartUploadFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::abort_multipart_upload::AbortMultipartUpload, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::abort_multipart_upload::AbortMultipartUploadError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                              The bucket name to which the upload was taking place.

                                                                                                                                                                                                                                                                                                                                                                              ///

                                                                                                                                                                                                                                                                                                                                                                              When using this action with an access point, you must direct requests to the access point hostname. The access point hostname takes the form AccessPointName-AccountId.s3-accesspoint.Region.amazonaws.com. When using this action with an access point through the Amazon Web Services SDKs, you provide the access point ARN in place of the bucket name. For more information about access point ARNs, see Using access points in the Amazon S3 User Guide.

                                                                                                                                                                                                                                                                                                                                                                              ///

                                                                                                                                                                                                                                                                                                                                                                              When you use this action with Amazon S3 on Outposts, you must direct requests to the S3 on Outposts hostname. The S3 on Outposts hostname takes the form AccessPointName-AccountId.outpostID.s3-outposts.Region.amazonaws.com. When you use this action with S3 on Outposts through the Amazon Web Services SDKs, you provide the Outposts access point ARN in place of the bucket name. For more information about S3 on Outposts ARNs, see What is S3 on Outposts in the Amazon S3 User Guide.

                                                                                                                                                                                                                                                                                                                                                                              diff --git a/sdk/s3/src/operation/complete_multipart_upload/builders.rs b/sdk/s3/src/operation/complete_multipart_upload/builders.rs index 871ce637204d..1726d780e5f0 100644 --- a/sdk/s3/src/operation/complete_multipart_upload/builders.rs +++ b/sdk/s3/src/operation/complete_multipart_upload/builders.rs @@ -58,9 +58,9 @@ impl CompleteMultipartUploadFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -122,6 +122,22 @@ impl CompleteMultipartUploadFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::complete_multipart_upload::CompleteMultipartUpload, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::complete_multipart_upload::CompleteMultipartUploadError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                              Name of the bucket to which the multipart upload was initiated.

                                                                                                                                                                                                                                                                                                                                                                              ///

                                                                                                                                                                                                                                                                                                                                                                              When using this action with an access point, you must direct requests to the access point hostname. The access point hostname takes the form AccessPointName-AccountId.s3-accesspoint.Region.amazonaws.com. When using this action with an access point through the Amazon Web Services SDKs, you provide the access point ARN in place of the bucket name. For more information about access point ARNs, see Using access points in the Amazon S3 User Guide.

                                                                                                                                                                                                                                                                                                                                                                              ///

                                                                                                                                                                                                                                                                                                                                                                              When you use this action with Amazon S3 on Outposts, you must direct requests to the S3 on Outposts hostname. The S3 on Outposts hostname takes the form AccessPointName-AccountId.outpostID.s3-outposts.Region.amazonaws.com. When you use this action with S3 on Outposts through the Amazon Web Services SDKs, you provide the Outposts access point ARN in place of the bucket name. For more information about S3 on Outposts ARNs, see What is S3 on Outposts in the Amazon S3 User Guide.

                                                                                                                                                                                                                                                                                                                                                                              diff --git a/sdk/s3/src/operation/copy_object/builders.rs b/sdk/s3/src/operation/copy_object/builders.rs index 1fbbd56b4118..aea6a9015366 100644 --- a/sdk/s3/src/operation/copy_object/builders.rs +++ b/sdk/s3/src/operation/copy_object/builders.rs @@ -108,9 +108,9 @@ impl CopyObjectFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -166,6 +166,20 @@ impl CopyObjectFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::copy_object::CopyObject, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                              The canned ACL to apply to the object.

                                                                                                                                                                                                                                                                                                                                                                              ///

                                                                                                                                                                                                                                                                                                                                                                              This action is not supported by Amazon S3 on Outposts.

                                                                                                                                                                                                                                                                                                                                                                              pub fn acl(mut self, input: crate::types::ObjectCannedAcl) -> Self { diff --git a/sdk/s3/src/operation/create_bucket/builders.rs b/sdk/s3/src/operation/create_bucket/builders.rs index 93f38f29e88b..11ca6dfa6a69 100644 --- a/sdk/s3/src/operation/create_bucket/builders.rs +++ b/sdk/s3/src/operation/create_bucket/builders.rs @@ -75,9 +75,9 @@ impl CreateBucketFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -133,6 +133,20 @@ impl CreateBucketFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::create_bucket::CreateBucket, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                              The canned ACL to apply to the bucket.

                                                                                                                                                                                                                                                                                                                                                                              pub fn acl(mut self, input: crate::types::BucketCannedAcl) -> Self { self.inner = self.inner.acl(input); diff --git a/sdk/s3/src/operation/create_multipart_upload/builders.rs b/sdk/s3/src/operation/create_multipart_upload/builders.rs index 79ef2fbb4876..92fb730b782b 100644 --- a/sdk/s3/src/operation/create_multipart_upload/builders.rs +++ b/sdk/s3/src/operation/create_multipart_upload/builders.rs @@ -109,9 +109,9 @@ impl CreateMultipartUploadFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -173,6 +173,22 @@ impl CreateMultipartUploadFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::create_multipart_upload::CreateMultipartUpload, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::create_multipart_upload::CreateMultipartUploadError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                              The canned ACL to apply to the object.

                                                                                                                                                                                                                                                                                                                                                                              ///

                                                                                                                                                                                                                                                                                                                                                                              This action is not supported by Amazon S3 on Outposts.

                                                                                                                                                                                                                                                                                                                                                                              pub fn acl(mut self, input: crate::types::ObjectCannedAcl) -> Self { diff --git a/sdk/s3/src/operation/delete_bucket/builders.rs b/sdk/s3/src/operation/delete_bucket/builders.rs index e91b47f43d5c..25470b4735a9 100644 --- a/sdk/s3/src/operation/delete_bucket/builders.rs +++ b/sdk/s3/src/operation/delete_bucket/builders.rs @@ -24,9 +24,9 @@ impl DeleteBucketFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -82,6 +82,20 @@ impl DeleteBucketFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::delete_bucket::DeleteBucket, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                              Specifies the bucket being deleted.

                                                                                                                                                                                                                                                                                                                                                                              pub fn bucket(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.bucket(input.into()); diff --git a/sdk/s3/src/operation/delete_bucket_analytics_configuration/builders.rs b/sdk/s3/src/operation/delete_bucket_analytics_configuration/builders.rs index f130bc8a7165..bf6e12e09ce2 100644 --- a/sdk/s3/src/operation/delete_bucket_analytics_configuration/builders.rs +++ b/sdk/s3/src/operation/delete_bucket_analytics_configuration/builders.rs @@ -27,9 +27,9 @@ impl DeleteBucketAnalyticsConfigurationFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize(self) -> ::std::result::Result< + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware(self) -> ::std::result::Result< crate::client::customize::CustomizableOperation, ::aws_smithy_http::result::SdkError >{ @@ -72,6 +72,15 @@ impl DeleteBucketAnalyticsConfigurationFluentBuilder { { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize(self) -> ::std::result::Result< + crate::client::customize::CustomizableOperation, + ::aws_smithy_http::result::SdkError + >{ + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                              The name of the bucket from which an analytics configuration is deleted.

                                                                                                                                                                                                                                                                                                                                                                              pub fn bucket(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.bucket(input.into()); diff --git a/sdk/s3/src/operation/delete_bucket_cors/builders.rs b/sdk/s3/src/operation/delete_bucket_cors/builders.rs index a337f6e1ac44..22b4aeb2d13b 100644 --- a/sdk/s3/src/operation/delete_bucket_cors/builders.rs +++ b/sdk/s3/src/operation/delete_bucket_cors/builders.rs @@ -26,9 +26,9 @@ impl DeleteBucketCorsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -90,6 +90,22 @@ impl DeleteBucketCorsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::delete_bucket_cors::DeleteBucketCors, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::delete_bucket_cors::DeleteBucketCorsError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                              Specifies the bucket whose cors configuration is being deleted.

                                                                                                                                                                                                                                                                                                                                                                              pub fn bucket(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.bucket(input.into()); diff --git a/sdk/s3/src/operation/delete_bucket_encryption/builders.rs b/sdk/s3/src/operation/delete_bucket_encryption/builders.rs index dcd7aa4eeae2..80cd4a76eedd 100644 --- a/sdk/s3/src/operation/delete_bucket_encryption/builders.rs +++ b/sdk/s3/src/operation/delete_bucket_encryption/builders.rs @@ -25,9 +25,9 @@ impl DeleteBucketEncryptionFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -89,6 +89,22 @@ impl DeleteBucketEncryptionFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::delete_bucket_encryption::DeleteBucketEncryption, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::delete_bucket_encryption::DeleteBucketEncryptionError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                              The name of the bucket containing the server-side encryption configuration to delete.

                                                                                                                                                                                                                                                                                                                                                                              pub fn bucket(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.bucket(input.into()); diff --git a/sdk/s3/src/operation/delete_bucket_intelligent_tiering_configuration/builders.rs b/sdk/s3/src/operation/delete_bucket_intelligent_tiering_configuration/builders.rs index 75303fec5e4f..9f3891398930 100644 --- a/sdk/s3/src/operation/delete_bucket_intelligent_tiering_configuration/builders.rs +++ b/sdk/s3/src/operation/delete_bucket_intelligent_tiering_configuration/builders.rs @@ -28,9 +28,9 @@ impl DeleteBucketIntelligentTieringConfigurationFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize(self) -> ::std::result::Result< + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware(self) -> ::std::result::Result< crate::client::customize::CustomizableOperation, ::aws_smithy_http::result::SdkError >{ @@ -73,6 +73,15 @@ impl DeleteBucketIntelligentTieringConfigurationFluentBuilder { { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize(self) -> ::std::result::Result< + crate::client::customize::CustomizableOperation, + ::aws_smithy_http::result::SdkError + >{ + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                              The name of the Amazon S3 bucket whose configuration you want to modify or retrieve.

                                                                                                                                                                                                                                                                                                                                                                              pub fn bucket(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.bucket(input.into()); diff --git a/sdk/s3/src/operation/delete_bucket_inventory_configuration/builders.rs b/sdk/s3/src/operation/delete_bucket_inventory_configuration/builders.rs index bfc94a46012e..6e83f78a67c4 100644 --- a/sdk/s3/src/operation/delete_bucket_inventory_configuration/builders.rs +++ b/sdk/s3/src/operation/delete_bucket_inventory_configuration/builders.rs @@ -27,9 +27,9 @@ impl DeleteBucketInventoryConfigurationFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize(self) -> ::std::result::Result< + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware(self) -> ::std::result::Result< crate::client::customize::CustomizableOperation, ::aws_smithy_http::result::SdkError >{ @@ -72,6 +72,15 @@ impl DeleteBucketInventoryConfigurationFluentBuilder { { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize(self) -> ::std::result::Result< + crate::client::customize::CustomizableOperation, + ::aws_smithy_http::result::SdkError + >{ + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                              The name of the bucket containing the inventory configuration to delete.

                                                                                                                                                                                                                                                                                                                                                                              pub fn bucket(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.bucket(input.into()); diff --git a/sdk/s3/src/operation/delete_bucket_lifecycle/builders.rs b/sdk/s3/src/operation/delete_bucket_lifecycle/builders.rs index efc0cd5dc6b2..f7de10cfd705 100644 --- a/sdk/s3/src/operation/delete_bucket_lifecycle/builders.rs +++ b/sdk/s3/src/operation/delete_bucket_lifecycle/builders.rs @@ -27,9 +27,9 @@ impl DeleteBucketLifecycleFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -91,6 +91,22 @@ impl DeleteBucketLifecycleFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::delete_bucket_lifecycle::DeleteBucketLifecycle, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::delete_bucket_lifecycle::DeleteBucketLifecycleError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                              The bucket name of the lifecycle to delete.

                                                                                                                                                                                                                                                                                                                                                                              pub fn bucket(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.bucket(input.into()); diff --git a/sdk/s3/src/operation/delete_bucket_metrics_configuration/builders.rs b/sdk/s3/src/operation/delete_bucket_metrics_configuration/builders.rs index cf8f84ac937e..9735437def3e 100644 --- a/sdk/s3/src/operation/delete_bucket_metrics_configuration/builders.rs +++ b/sdk/s3/src/operation/delete_bucket_metrics_configuration/builders.rs @@ -28,9 +28,9 @@ impl DeleteBucketMetricsConfigurationFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize(self) -> ::std::result::Result< + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware(self) -> ::std::result::Result< crate::client::customize::CustomizableOperation, ::aws_smithy_http::result::SdkError >{ @@ -73,6 +73,15 @@ impl DeleteBucketMetricsConfigurationFluentBuilder { { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize(self) -> ::std::result::Result< + crate::client::customize::CustomizableOperation, + ::aws_smithy_http::result::SdkError + >{ + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                              The name of the bucket containing the metrics configuration to delete.

                                                                                                                                                                                                                                                                                                                                                                              pub fn bucket(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.bucket(input.into()); diff --git a/sdk/s3/src/operation/delete_bucket_ownership_controls/builders.rs b/sdk/s3/src/operation/delete_bucket_ownership_controls/builders.rs index 1d5d7bbfb181..4cfaafccf09c 100644 --- a/sdk/s3/src/operation/delete_bucket_ownership_controls/builders.rs +++ b/sdk/s3/src/operation/delete_bucket_ownership_controls/builders.rs @@ -25,9 +25,9 @@ impl DeleteBucketOwnershipControlsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -89,6 +89,22 @@ impl DeleteBucketOwnershipControlsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::delete_bucket_ownership_controls::DeleteBucketOwnershipControls, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::delete_bucket_ownership_controls::DeleteBucketOwnershipControlsError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                              The Amazon S3 bucket whose OwnershipControls you want to delete.

                                                                                                                                                                                                                                                                                                                                                                              pub fn bucket(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.bucket(input.into()); diff --git a/sdk/s3/src/operation/delete_bucket_policy/builders.rs b/sdk/s3/src/operation/delete_bucket_policy/builders.rs index 7ec12aec23de..89e8c045b46b 100644 --- a/sdk/s3/src/operation/delete_bucket_policy/builders.rs +++ b/sdk/s3/src/operation/delete_bucket_policy/builders.rs @@ -28,9 +28,9 @@ impl DeleteBucketPolicyFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -92,6 +92,22 @@ impl DeleteBucketPolicyFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::delete_bucket_policy::DeleteBucketPolicy, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::delete_bucket_policy::DeleteBucketPolicyError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                              The bucket name.

                                                                                                                                                                                                                                                                                                                                                                              pub fn bucket(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.bucket(input.into()); diff --git a/sdk/s3/src/operation/delete_bucket_replication/builders.rs b/sdk/s3/src/operation/delete_bucket_replication/builders.rs index f98cddfa7511..2c949790d9e1 100644 --- a/sdk/s3/src/operation/delete_bucket_replication/builders.rs +++ b/sdk/s3/src/operation/delete_bucket_replication/builders.rs @@ -29,9 +29,9 @@ impl DeleteBucketReplicationFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -93,6 +93,22 @@ impl DeleteBucketReplicationFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::delete_bucket_replication::DeleteBucketReplication, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::delete_bucket_replication::DeleteBucketReplicationError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                              The bucket name.

                                                                                                                                                                                                                                                                                                                                                                              pub fn bucket(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.bucket(input.into()); diff --git a/sdk/s3/src/operation/delete_bucket_tagging/builders.rs b/sdk/s3/src/operation/delete_bucket_tagging/builders.rs index 72a7c0bf395e..bcfca6404dd5 100644 --- a/sdk/s3/src/operation/delete_bucket_tagging/builders.rs +++ b/sdk/s3/src/operation/delete_bucket_tagging/builders.rs @@ -25,9 +25,9 @@ impl DeleteBucketTaggingFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -89,6 +89,22 @@ impl DeleteBucketTaggingFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::delete_bucket_tagging::DeleteBucketTagging, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::delete_bucket_tagging::DeleteBucketTaggingError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                              The bucket that has the tag set to be removed.

                                                                                                                                                                                                                                                                                                                                                                              pub fn bucket(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.bucket(input.into()); diff --git a/sdk/s3/src/operation/delete_bucket_website/builders.rs b/sdk/s3/src/operation/delete_bucket_website/builders.rs index 241ad69dd0ed..ac2ee5640bbb 100644 --- a/sdk/s3/src/operation/delete_bucket_website/builders.rs +++ b/sdk/s3/src/operation/delete_bucket_website/builders.rs @@ -26,9 +26,9 @@ impl DeleteBucketWebsiteFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -90,6 +90,22 @@ impl DeleteBucketWebsiteFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::delete_bucket_website::DeleteBucketWebsite, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::delete_bucket_website::DeleteBucketWebsiteError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                              The bucket name for which you want to remove the website configuration.

                                                                                                                                                                                                                                                                                                                                                                              pub fn bucket(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.bucket(input.into()); diff --git a/sdk/s3/src/operation/delete_object/builders.rs b/sdk/s3/src/operation/delete_object/builders.rs index a95e72eca78f..1fadeaccdf95 100644 --- a/sdk/s3/src/operation/delete_object/builders.rs +++ b/sdk/s3/src/operation/delete_object/builders.rs @@ -27,9 +27,9 @@ impl DeleteObjectFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -85,6 +85,20 @@ impl DeleteObjectFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::delete_object::DeleteObject, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } /// /// Creates a presigned request for this operation. /// diff --git a/sdk/s3/src/operation/delete_object_tagging/builders.rs b/sdk/s3/src/operation/delete_object_tagging/builders.rs index 2627dcf74a51..9a868f4bfdc1 100644 --- a/sdk/s3/src/operation/delete_object_tagging/builders.rs +++ b/sdk/s3/src/operation/delete_object_tagging/builders.rs @@ -26,9 +26,9 @@ impl DeleteObjectTaggingFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -90,6 +90,22 @@ impl DeleteObjectTaggingFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::delete_object_tagging::DeleteObjectTagging, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::delete_object_tagging::DeleteObjectTaggingError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                              The bucket name containing the objects from which to remove the tags.

                                                                                                                                                                                                                                                                                                                                                                              ///

                                                                                                                                                                                                                                                                                                                                                                              When using this action with an access point, you must direct requests to the access point hostname. The access point hostname takes the form AccessPointName-AccountId.s3-accesspoint.Region.amazonaws.com. When using this action with an access point through the Amazon Web Services SDKs, you provide the access point ARN in place of the bucket name. For more information about access point ARNs, see Using access points in the Amazon S3 User Guide.

                                                                                                                                                                                                                                                                                                                                                                              ///

                                                                                                                                                                                                                                                                                                                                                                              When you use this action with Amazon S3 on Outposts, you must direct requests to the S3 on Outposts hostname. The S3 on Outposts hostname takes the form AccessPointName-AccountId.outpostID.s3-outposts.Region.amazonaws.com. When you use this action with S3 on Outposts through the Amazon Web Services SDKs, you provide the Outposts access point ARN in place of the bucket name. For more information about S3 on Outposts ARNs, see What is S3 on Outposts in the Amazon S3 User Guide.

                                                                                                                                                                                                                                                                                                                                                                              diff --git a/sdk/s3/src/operation/delete_objects/builders.rs b/sdk/s3/src/operation/delete_objects/builders.rs index 37ab76f4efa1..ad44affbb998 100644 --- a/sdk/s3/src/operation/delete_objects/builders.rs +++ b/sdk/s3/src/operation/delete_objects/builders.rs @@ -31,9 +31,9 @@ impl DeleteObjectsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -89,6 +89,20 @@ impl DeleteObjectsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::delete_objects::DeleteObjects, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                              The bucket name containing the objects to delete.

                                                                                                                                                                                                                                                                                                                                                                              ///

                                                                                                                                                                                                                                                                                                                                                                              When using this action with an access point, you must direct requests to the access point hostname. The access point hostname takes the form AccessPointName-AccountId.s3-accesspoint.Region.amazonaws.com. When using this action with an access point through the Amazon Web Services SDKs, you provide the access point ARN in place of the bucket name. For more information about access point ARNs, see Using access points in the Amazon S3 User Guide.

                                                                                                                                                                                                                                                                                                                                                                              ///

                                                                                                                                                                                                                                                                                                                                                                              When you use this action with Amazon S3 on Outposts, you must direct requests to the S3 on Outposts hostname. The S3 on Outposts hostname takes the form AccessPointName-AccountId.outpostID.s3-outposts.Region.amazonaws.com. When you use this action with S3 on Outposts through the Amazon Web Services SDKs, you provide the Outposts access point ARN in place of the bucket name. For more information about S3 on Outposts ARNs, see What is S3 on Outposts in the Amazon S3 User Guide.

                                                                                                                                                                                                                                                                                                                                                                              diff --git a/sdk/s3/src/operation/delete_public_access_block/builders.rs b/sdk/s3/src/operation/delete_public_access_block/builders.rs index 332f4e65cca3..d83e74a1d409 100644 --- a/sdk/s3/src/operation/delete_public_access_block/builders.rs +++ b/sdk/s3/src/operation/delete_public_access_block/builders.rs @@ -27,9 +27,9 @@ impl DeletePublicAccessBlockFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -91,6 +91,22 @@ impl DeletePublicAccessBlockFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::delete_public_access_block::DeletePublicAccessBlock, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::delete_public_access_block::DeletePublicAccessBlockError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                              The Amazon S3 bucket whose PublicAccessBlock configuration you want to delete.

                                                                                                                                                                                                                                                                                                                                                                              pub fn bucket(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.bucket(input.into()); diff --git a/sdk/s3/src/operation/get_bucket_accelerate_configuration/builders.rs b/sdk/s3/src/operation/get_bucket_accelerate_configuration/builders.rs index b72ce259a074..46419010c335 100644 --- a/sdk/s3/src/operation/get_bucket_accelerate_configuration/builders.rs +++ b/sdk/s3/src/operation/get_bucket_accelerate_configuration/builders.rs @@ -27,9 +27,9 @@ impl GetBucketAccelerateConfigurationFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize(self) -> ::std::result::Result< + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware(self) -> ::std::result::Result< crate::client::customize::CustomizableOperation, ::aws_smithy_http::result::SdkError >{ @@ -72,6 +72,15 @@ impl GetBucketAccelerateConfigurationFluentBuilder { { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize(self) -> ::std::result::Result< + crate::client::customize::CustomizableOperation, + ::aws_smithy_http::result::SdkError + >{ + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                              The name of the bucket for which the accelerate configuration is retrieved.

                                                                                                                                                                                                                                                                                                                                                                              pub fn bucket(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.bucket(input.into()); diff --git a/sdk/s3/src/operation/get_bucket_acl/builders.rs b/sdk/s3/src/operation/get_bucket_acl/builders.rs index 5441031b2d95..47923bbb2801 100644 --- a/sdk/s3/src/operation/get_bucket_acl/builders.rs +++ b/sdk/s3/src/operation/get_bucket_acl/builders.rs @@ -27,9 +27,9 @@ impl GetBucketAclFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -85,6 +85,20 @@ impl GetBucketAclFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::get_bucket_acl::GetBucketAcl, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                              Specifies the S3 bucket whose ACL is being requested.

                                                                                                                                                                                                                                                                                                                                                                              ///

                                                                                                                                                                                                                                                                                                                                                                              To use this API operation against an access point, provide the alias of the access point in place of the bucket name.

                                                                                                                                                                                                                                                                                                                                                                              ///

                                                                                                                                                                                                                                                                                                                                                                              To use this API operation against an Object Lambda access point, provide the alias of the Object Lambda access point in place of the bucket name. If the Object Lambda access point alias in a request is not valid, the error code InvalidAccessPointAliasError is returned. For more information about InvalidAccessPointAliasError, see List of Error Codes.

                                                                                                                                                                                                                                                                                                                                                                              diff --git a/sdk/s3/src/operation/get_bucket_analytics_configuration/builders.rs b/sdk/s3/src/operation/get_bucket_analytics_configuration/builders.rs index 46caef7c3b28..5de5435c63ba 100644 --- a/sdk/s3/src/operation/get_bucket_analytics_configuration/builders.rs +++ b/sdk/s3/src/operation/get_bucket_analytics_configuration/builders.rs @@ -27,9 +27,9 @@ impl GetBucketAnalyticsConfigurationFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize(self) -> ::std::result::Result< + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware(self) -> ::std::result::Result< crate::client::customize::CustomizableOperation, ::aws_smithy_http::result::SdkError >{ @@ -72,6 +72,15 @@ impl GetBucketAnalyticsConfigurationFluentBuilder { { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize(self) -> ::std::result::Result< + crate::client::customize::CustomizableOperation, + ::aws_smithy_http::result::SdkError + >{ + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                              The name of the bucket from which an analytics configuration is retrieved.

                                                                                                                                                                                                                                                                                                                                                                              pub fn bucket(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.bucket(input.into()); diff --git a/sdk/s3/src/operation/get_bucket_cors/builders.rs b/sdk/s3/src/operation/get_bucket_cors/builders.rs index bc990a6e8dbc..ef71c0a84df2 100644 --- a/sdk/s3/src/operation/get_bucket_cors/builders.rs +++ b/sdk/s3/src/operation/get_bucket_cors/builders.rs @@ -28,9 +28,9 @@ impl GetBucketCorsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -86,6 +86,20 @@ impl GetBucketCorsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::get_bucket_cors::GetBucketCors, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                              The bucket name for which to get the cors configuration.

                                                                                                                                                                                                                                                                                                                                                                              ///

                                                                                                                                                                                                                                                                                                                                                                              To use this API operation against an access point, provide the alias of the access point in place of the bucket name.

                                                                                                                                                                                                                                                                                                                                                                              ///

                                                                                                                                                                                                                                                                                                                                                                              To use this API operation against an Object Lambda access point, provide the alias of the Object Lambda access point in place of the bucket name. If the Object Lambda access point alias in a request is not valid, the error code InvalidAccessPointAliasError is returned. For more information about InvalidAccessPointAliasError, see List of Error Codes.

                                                                                                                                                                                                                                                                                                                                                                              diff --git a/sdk/s3/src/operation/get_bucket_encryption/builders.rs b/sdk/s3/src/operation/get_bucket_encryption/builders.rs index 15a2e934140b..c213f06ceea6 100644 --- a/sdk/s3/src/operation/get_bucket_encryption/builders.rs +++ b/sdk/s3/src/operation/get_bucket_encryption/builders.rs @@ -25,9 +25,9 @@ impl GetBucketEncryptionFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -89,6 +89,22 @@ impl GetBucketEncryptionFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::get_bucket_encryption::GetBucketEncryption, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::get_bucket_encryption::GetBucketEncryptionError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                              The name of the bucket from which the server-side encryption configuration is retrieved.

                                                                                                                                                                                                                                                                                                                                                                              pub fn bucket(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.bucket(input.into()); diff --git a/sdk/s3/src/operation/get_bucket_intelligent_tiering_configuration/builders.rs b/sdk/s3/src/operation/get_bucket_intelligent_tiering_configuration/builders.rs index 324b45e573cb..536138c4fd79 100644 --- a/sdk/s3/src/operation/get_bucket_intelligent_tiering_configuration/builders.rs +++ b/sdk/s3/src/operation/get_bucket_intelligent_tiering_configuration/builders.rs @@ -28,9 +28,9 @@ impl GetBucketIntelligentTieringConfigurationFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize(self) -> ::std::result::Result< + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware(self) -> ::std::result::Result< crate::client::customize::CustomizableOperation, ::aws_smithy_http::result::SdkError >{ @@ -73,6 +73,15 @@ impl GetBucketIntelligentTieringConfigurationFluentBuilder { { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize(self) -> ::std::result::Result< + crate::client::customize::CustomizableOperation, + ::aws_smithy_http::result::SdkError + >{ + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                              The name of the Amazon S3 bucket whose configuration you want to modify or retrieve.

                                                                                                                                                                                                                                                                                                                                                                              pub fn bucket(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.bucket(input.into()); diff --git a/sdk/s3/src/operation/get_bucket_inventory_configuration/builders.rs b/sdk/s3/src/operation/get_bucket_inventory_configuration/builders.rs index 058b63b1d489..cfd78dc3db63 100644 --- a/sdk/s3/src/operation/get_bucket_inventory_configuration/builders.rs +++ b/sdk/s3/src/operation/get_bucket_inventory_configuration/builders.rs @@ -27,9 +27,9 @@ impl GetBucketInventoryConfigurationFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize(self) -> ::std::result::Result< + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware(self) -> ::std::result::Result< crate::client::customize::CustomizableOperation, ::aws_smithy_http::result::SdkError >{ @@ -72,6 +72,15 @@ impl GetBucketInventoryConfigurationFluentBuilder { { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize(self) -> ::std::result::Result< + crate::client::customize::CustomizableOperation, + ::aws_smithy_http::result::SdkError + >{ + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                              The name of the bucket containing the inventory configuration to retrieve.

                                                                                                                                                                                                                                                                                                                                                                              pub fn bucket(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.bucket(input.into()); diff --git a/sdk/s3/src/operation/get_bucket_lifecycle_configuration/builders.rs b/sdk/s3/src/operation/get_bucket_lifecycle_configuration/builders.rs index 9cebc7a2faa2..c1353df4d23a 100644 --- a/sdk/s3/src/operation/get_bucket_lifecycle_configuration/builders.rs +++ b/sdk/s3/src/operation/get_bucket_lifecycle_configuration/builders.rs @@ -38,9 +38,9 @@ impl GetBucketLifecycleConfigurationFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize(self) -> ::std::result::Result< + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware(self) -> ::std::result::Result< crate::client::customize::CustomizableOperation, ::aws_smithy_http::result::SdkError >{ @@ -83,6 +83,15 @@ impl GetBucketLifecycleConfigurationFluentBuilder { { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize(self) -> ::std::result::Result< + crate::client::customize::CustomizableOperation, + ::aws_smithy_http::result::SdkError + >{ + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                              The name of the bucket for which to get the lifecycle information.

                                                                                                                                                                                                                                                                                                                                                                              pub fn bucket(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.bucket(input.into()); diff --git a/sdk/s3/src/operation/get_bucket_location/builders.rs b/sdk/s3/src/operation/get_bucket_location/builders.rs index 34203361318b..b930c8566539 100644 --- a/sdk/s3/src/operation/get_bucket_location/builders.rs +++ b/sdk/s3/src/operation/get_bucket_location/builders.rs @@ -28,9 +28,9 @@ impl GetBucketLocationFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -92,6 +92,22 @@ impl GetBucketLocationFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::get_bucket_location::GetBucketLocation, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::get_bucket_location::GetBucketLocationError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                              The name of the bucket for which to get the location.

                                                                                                                                                                                                                                                                                                                                                                              ///

                                                                                                                                                                                                                                                                                                                                                                              To use this API operation against an access point, provide the alias of the access point in place of the bucket name.

                                                                                                                                                                                                                                                                                                                                                                              ///

                                                                                                                                                                                                                                                                                                                                                                              To use this API operation against an Object Lambda access point, provide the alias of the Object Lambda access point in place of the bucket name. If the Object Lambda access point alias in a request is not valid, the error code InvalidAccessPointAliasError is returned. For more information about InvalidAccessPointAliasError, see List of Error Codes.

                                                                                                                                                                                                                                                                                                                                                                              diff --git a/sdk/s3/src/operation/get_bucket_logging/builders.rs b/sdk/s3/src/operation/get_bucket_logging/builders.rs index 18e6277421cf..c9717d0738c6 100644 --- a/sdk/s3/src/operation/get_bucket_logging/builders.rs +++ b/sdk/s3/src/operation/get_bucket_logging/builders.rs @@ -24,9 +24,9 @@ impl GetBucketLoggingFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -88,6 +88,22 @@ impl GetBucketLoggingFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::get_bucket_logging::GetBucketLogging, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::get_bucket_logging::GetBucketLoggingError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                              The bucket name for which to get the logging information.

                                                                                                                                                                                                                                                                                                                                                                              pub fn bucket(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.bucket(input.into()); diff --git a/sdk/s3/src/operation/get_bucket_metrics_configuration/builders.rs b/sdk/s3/src/operation/get_bucket_metrics_configuration/builders.rs index da7c53abfed6..9f38ea326afd 100644 --- a/sdk/s3/src/operation/get_bucket_metrics_configuration/builders.rs +++ b/sdk/s3/src/operation/get_bucket_metrics_configuration/builders.rs @@ -28,9 +28,9 @@ impl GetBucketMetricsConfigurationFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -92,6 +92,22 @@ impl GetBucketMetricsConfigurationFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::get_bucket_metrics_configuration::GetBucketMetricsConfiguration, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::get_bucket_metrics_configuration::GetBucketMetricsConfigurationError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                              The name of the bucket containing the metrics configuration to retrieve.

                                                                                                                                                                                                                                                                                                                                                                              pub fn bucket(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.bucket(input.into()); diff --git a/sdk/s3/src/operation/get_bucket_notification_configuration/builders.rs b/sdk/s3/src/operation/get_bucket_notification_configuration/builders.rs index 4540b08a41bb..db604672802d 100644 --- a/sdk/s3/src/operation/get_bucket_notification_configuration/builders.rs +++ b/sdk/s3/src/operation/get_bucket_notification_configuration/builders.rs @@ -28,9 +28,9 @@ impl GetBucketNotificationConfigurationFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize(self) -> ::std::result::Result< + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware(self) -> ::std::result::Result< crate::client::customize::CustomizableOperation, ::aws_smithy_http::result::SdkError >{ @@ -73,6 +73,15 @@ impl GetBucketNotificationConfigurationFluentBuilder { { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize(self) -> ::std::result::Result< + crate::client::customize::CustomizableOperation, + ::aws_smithy_http::result::SdkError + >{ + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                              The name of the bucket for which to get the notification configuration.

                                                                                                                                                                                                                                                                                                                                                                              ///

                                                                                                                                                                                                                                                                                                                                                                              To use this API operation against an access point, provide the alias of the access point in place of the bucket name.

                                                                                                                                                                                                                                                                                                                                                                              ///

                                                                                                                                                                                                                                                                                                                                                                              To use this API operation against an Object Lambda access point, provide the alias of the Object Lambda access point in place of the bucket name. If the Object Lambda access point alias in a request is not valid, the error code InvalidAccessPointAliasError is returned. For more information about InvalidAccessPointAliasError, see List of Error Codes.

                                                                                                                                                                                                                                                                                                                                                                              diff --git a/sdk/s3/src/operation/get_bucket_ownership_controls/builders.rs b/sdk/s3/src/operation/get_bucket_ownership_controls/builders.rs index a5c7da93d30e..f7dc30dd8acd 100644 --- a/sdk/s3/src/operation/get_bucket_ownership_controls/builders.rs +++ b/sdk/s3/src/operation/get_bucket_ownership_controls/builders.rs @@ -25,9 +25,9 @@ impl GetBucketOwnershipControlsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -89,6 +89,22 @@ impl GetBucketOwnershipControlsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::get_bucket_ownership_controls::GetBucketOwnershipControls, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::get_bucket_ownership_controls::GetBucketOwnershipControlsError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                              The name of the Amazon S3 bucket whose OwnershipControls you want to retrieve.

                                                                                                                                                                                                                                                                                                                                                                              pub fn bucket(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.bucket(input.into()); diff --git a/sdk/s3/src/operation/get_bucket_policy/builders.rs b/sdk/s3/src/operation/get_bucket_policy/builders.rs index 78c0f0e1b3e0..092d7abf01c8 100644 --- a/sdk/s3/src/operation/get_bucket_policy/builders.rs +++ b/sdk/s3/src/operation/get_bucket_policy/builders.rs @@ -29,9 +29,9 @@ impl GetBucketPolicyFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -93,6 +93,22 @@ impl GetBucketPolicyFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::get_bucket_policy::GetBucketPolicy, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::get_bucket_policy::GetBucketPolicyError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                              The bucket name for which to get the bucket policy.

                                                                                                                                                                                                                                                                                                                                                                              ///

                                                                                                                                                                                                                                                                                                                                                                              To use this API operation against an access point, provide the alias of the access point in place of the bucket name.

                                                                                                                                                                                                                                                                                                                                                                              ///

                                                                                                                                                                                                                                                                                                                                                                              To use this API operation against an Object Lambda access point, provide the alias of the Object Lambda access point in place of the bucket name. If the Object Lambda access point alias in a request is not valid, the error code InvalidAccessPointAliasError is returned. For more information about InvalidAccessPointAliasError, see List of Error Codes.

                                                                                                                                                                                                                                                                                                                                                                              diff --git a/sdk/s3/src/operation/get_bucket_policy_status/builders.rs b/sdk/s3/src/operation/get_bucket_policy_status/builders.rs index 7c0c944602dc..d5593ff96d44 100644 --- a/sdk/s3/src/operation/get_bucket_policy_status/builders.rs +++ b/sdk/s3/src/operation/get_bucket_policy_status/builders.rs @@ -27,9 +27,9 @@ impl GetBucketPolicyStatusFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -91,6 +91,22 @@ impl GetBucketPolicyStatusFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::get_bucket_policy_status::GetBucketPolicyStatus, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::get_bucket_policy_status::GetBucketPolicyStatusError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                              The name of the Amazon S3 bucket whose policy status you want to retrieve.

                                                                                                                                                                                                                                                                                                                                                                              pub fn bucket(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.bucket(input.into()); diff --git a/sdk/s3/src/operation/get_bucket_replication/builders.rs b/sdk/s3/src/operation/get_bucket_replication/builders.rs index 2ee5afd085a5..373c668d3ae9 100644 --- a/sdk/s3/src/operation/get_bucket_replication/builders.rs +++ b/sdk/s3/src/operation/get_bucket_replication/builders.rs @@ -30,9 +30,9 @@ impl GetBucketReplicationFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -94,6 +94,22 @@ impl GetBucketReplicationFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::get_bucket_replication::GetBucketReplication, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::get_bucket_replication::GetBucketReplicationError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                              The bucket name for which to get the replication information.

                                                                                                                                                                                                                                                                                                                                                                              pub fn bucket(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.bucket(input.into()); diff --git a/sdk/s3/src/operation/get_bucket_request_payment/builders.rs b/sdk/s3/src/operation/get_bucket_request_payment/builders.rs index 576d72eb8f0b..7ff773e53863 100644 --- a/sdk/s3/src/operation/get_bucket_request_payment/builders.rs +++ b/sdk/s3/src/operation/get_bucket_request_payment/builders.rs @@ -24,9 +24,9 @@ impl GetBucketRequestPaymentFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -88,6 +88,22 @@ impl GetBucketRequestPaymentFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::get_bucket_request_payment::GetBucketRequestPayment, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::get_bucket_request_payment::GetBucketRequestPaymentError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                              The name of the bucket for which to get the payment request configuration

                                                                                                                                                                                                                                                                                                                                                                              pub fn bucket(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.bucket(input.into()); diff --git a/sdk/s3/src/operation/get_bucket_tagging/builders.rs b/sdk/s3/src/operation/get_bucket_tagging/builders.rs index 3a662774e7e6..e9cd20e035a6 100644 --- a/sdk/s3/src/operation/get_bucket_tagging/builders.rs +++ b/sdk/s3/src/operation/get_bucket_tagging/builders.rs @@ -32,9 +32,9 @@ impl GetBucketTaggingFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -96,6 +96,22 @@ impl GetBucketTaggingFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::get_bucket_tagging::GetBucketTagging, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::get_bucket_tagging::GetBucketTaggingError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                              The name of the bucket for which to get the tagging information.

                                                                                                                                                                                                                                                                                                                                                                              pub fn bucket(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.bucket(input.into()); diff --git a/sdk/s3/src/operation/get_bucket_versioning/builders.rs b/sdk/s3/src/operation/get_bucket_versioning/builders.rs index a69e1893b34b..21fbe4ba9fb3 100644 --- a/sdk/s3/src/operation/get_bucket_versioning/builders.rs +++ b/sdk/s3/src/operation/get_bucket_versioning/builders.rs @@ -27,9 +27,9 @@ impl GetBucketVersioningFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -91,6 +91,22 @@ impl GetBucketVersioningFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::get_bucket_versioning::GetBucketVersioning, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::get_bucket_versioning::GetBucketVersioningError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                              The name of the bucket for which to get the versioning information.

                                                                                                                                                                                                                                                                                                                                                                              pub fn bucket(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.bucket(input.into()); diff --git a/sdk/s3/src/operation/get_bucket_website/builders.rs b/sdk/s3/src/operation/get_bucket_website/builders.rs index f5e749c417fd..f632170e2cc7 100644 --- a/sdk/s3/src/operation/get_bucket_website/builders.rs +++ b/sdk/s3/src/operation/get_bucket_website/builders.rs @@ -25,9 +25,9 @@ impl GetBucketWebsiteFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -89,6 +89,22 @@ impl GetBucketWebsiteFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::get_bucket_website::GetBucketWebsite, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::get_bucket_website::GetBucketWebsiteError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                              The bucket name for which to get the website configuration.

                                                                                                                                                                                                                                                                                                                                                                              pub fn bucket(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.bucket(input.into()); diff --git a/sdk/s3/src/operation/get_object/builders.rs b/sdk/s3/src/operation/get_object/builders.rs index d75506170db3..699a459c9712 100644 --- a/sdk/s3/src/operation/get_object/builders.rs +++ b/sdk/s3/src/operation/get_object/builders.rs @@ -86,9 +86,9 @@ impl GetObjectFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -144,6 +144,20 @@ impl GetObjectFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::get_object::GetObject, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } /// /// Creates a presigned request for this operation. /// diff --git a/sdk/s3/src/operation/get_object_acl/builders.rs b/sdk/s3/src/operation/get_object_acl/builders.rs index 616d74bed914..26262450bfcb 100644 --- a/sdk/s3/src/operation/get_object_acl/builders.rs +++ b/sdk/s3/src/operation/get_object_acl/builders.rs @@ -30,9 +30,9 @@ impl GetObjectAclFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -88,6 +88,20 @@ impl GetObjectAclFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::get_object_acl::GetObjectAcl, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                              The bucket name that contains the object for which to get the ACL information.

                                                                                                                                                                                                                                                                                                                                                                              ///

                                                                                                                                                                                                                                                                                                                                                                              When using this action with an access point, you must direct requests to the access point hostname. The access point hostname takes the form AccessPointName-AccountId.s3-accesspoint.Region.amazonaws.com. When using this action with an access point through the Amazon Web Services SDKs, you provide the access point ARN in place of the bucket name. For more information about access point ARNs, see Using access points in the Amazon S3 User Guide.

                                                                                                                                                                                                                                                                                                                                                                              pub fn bucket(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { diff --git a/sdk/s3/src/operation/get_object_attributes/builders.rs b/sdk/s3/src/operation/get_object_attributes/builders.rs index 0ebbdf47d133..4868879d6273 100644 --- a/sdk/s3/src/operation/get_object_attributes/builders.rs +++ b/sdk/s3/src/operation/get_object_attributes/builders.rs @@ -69,9 +69,9 @@ impl GetObjectAttributesFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -133,6 +133,22 @@ impl GetObjectAttributesFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::get_object_attributes::GetObjectAttributes, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::get_object_attributes::GetObjectAttributesError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                              The name of the bucket that contains the object.

                                                                                                                                                                                                                                                                                                                                                                              ///

                                                                                                                                                                                                                                                                                                                                                                              When using this action with an access point, you must direct requests to the access point hostname. The access point hostname takes the form AccessPointName-AccountId.s3-accesspoint.Region.amazonaws.com. When using this action with an access point through the Amazon Web Services SDKs, you provide the access point ARN in place of the bucket name. For more information about access point ARNs, see Using access points in the Amazon S3 User Guide.

                                                                                                                                                                                                                                                                                                                                                                              ///

                                                                                                                                                                                                                                                                                                                                                                              When you use this action with Amazon S3 on Outposts, you must direct requests to the S3 on Outposts hostname. The S3 on Outposts hostname takes the form AccessPointName-AccountId.outpostID.s3-outposts.Region.amazonaws.com. When you use this action with S3 on Outposts through the Amazon Web Services SDKs, you provide the Outposts access point ARN in place of the bucket name. For more information about S3 on Outposts ARNs, see What is S3 on Outposts in the Amazon S3 User Guide.

                                                                                                                                                                                                                                                                                                                                                                              diff --git a/sdk/s3/src/operation/get_object_legal_hold/builders.rs b/sdk/s3/src/operation/get_object_legal_hold/builders.rs index 92e1661cab71..9dd15a9c0bc0 100644 --- a/sdk/s3/src/operation/get_object_legal_hold/builders.rs +++ b/sdk/s3/src/operation/get_object_legal_hold/builders.rs @@ -24,9 +24,9 @@ impl GetObjectLegalHoldFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -88,6 +88,22 @@ impl GetObjectLegalHoldFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::get_object_legal_hold::GetObjectLegalHold, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::get_object_legal_hold::GetObjectLegalHoldError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                              The bucket name containing the object whose legal hold status you want to retrieve.

                                                                                                                                                                                                                                                                                                                                                                              ///

                                                                                                                                                                                                                                                                                                                                                                              When using this action with an access point, you must direct requests to the access point hostname. The access point hostname takes the form AccessPointName-AccountId.s3-accesspoint.Region.amazonaws.com. When using this action with an access point through the Amazon Web Services SDKs, you provide the access point ARN in place of the bucket name. For more information about access point ARNs, see Using access points in the Amazon S3 User Guide.

                                                                                                                                                                                                                                                                                                                                                                              pub fn bucket(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { diff --git a/sdk/s3/src/operation/get_object_lock_configuration/builders.rs b/sdk/s3/src/operation/get_object_lock_configuration/builders.rs index 174eaab8b100..bdfe14e773c6 100644 --- a/sdk/s3/src/operation/get_object_lock_configuration/builders.rs +++ b/sdk/s3/src/operation/get_object_lock_configuration/builders.rs @@ -23,9 +23,9 @@ impl GetObjectLockConfigurationFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -87,6 +87,22 @@ impl GetObjectLockConfigurationFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::get_object_lock_configuration::GetObjectLockConfiguration, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::get_object_lock_configuration::GetObjectLockConfigurationError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                              The bucket whose Object Lock configuration you want to retrieve.

                                                                                                                                                                                                                                                                                                                                                                              ///

                                                                                                                                                                                                                                                                                                                                                                              When using this action with an access point, you must direct requests to the access point hostname. The access point hostname takes the form AccessPointName-AccountId.s3-accesspoint.Region.amazonaws.com. When using this action with an access point through the Amazon Web Services SDKs, you provide the access point ARN in place of the bucket name. For more information about access point ARNs, see Using access points in the Amazon S3 User Guide.

                                                                                                                                                                                                                                                                                                                                                                              pub fn bucket(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { diff --git a/sdk/s3/src/operation/get_object_retention/builders.rs b/sdk/s3/src/operation/get_object_retention/builders.rs index 5f313c8036e1..19e9a54a09eb 100644 --- a/sdk/s3/src/operation/get_object_retention/builders.rs +++ b/sdk/s3/src/operation/get_object_retention/builders.rs @@ -24,9 +24,9 @@ impl GetObjectRetentionFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -88,6 +88,22 @@ impl GetObjectRetentionFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::get_object_retention::GetObjectRetention, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::get_object_retention::GetObjectRetentionError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                              The bucket name containing the object whose retention settings you want to retrieve.

                                                                                                                                                                                                                                                                                                                                                                              ///

                                                                                                                                                                                                                                                                                                                                                                              When using this action with an access point, you must direct requests to the access point hostname. The access point hostname takes the form AccessPointName-AccountId.s3-accesspoint.Region.amazonaws.com. When using this action with an access point through the Amazon Web Services SDKs, you provide the access point ARN in place of the bucket name. For more information about access point ARNs, see Using access points in the Amazon S3 User Guide.

                                                                                                                                                                                                                                                                                                                                                                              pub fn bucket(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { diff --git a/sdk/s3/src/operation/get_object_tagging/builders.rs b/sdk/s3/src/operation/get_object_tagging/builders.rs index 14f5c795228b..a28d70a13728 100644 --- a/sdk/s3/src/operation/get_object_tagging/builders.rs +++ b/sdk/s3/src/operation/get_object_tagging/builders.rs @@ -28,9 +28,9 @@ impl GetObjectTaggingFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -92,6 +92,22 @@ impl GetObjectTaggingFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::get_object_tagging::GetObjectTagging, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::get_object_tagging::GetObjectTaggingError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                              The bucket name containing the object for which to get the tagging information.

                                                                                                                                                                                                                                                                                                                                                                              ///

                                                                                                                                                                                                                                                                                                                                                                              When using this action with an access point, you must direct requests to the access point hostname. The access point hostname takes the form AccessPointName-AccountId.s3-accesspoint.Region.amazonaws.com. When using this action with an access point through the Amazon Web Services SDKs, you provide the access point ARN in place of the bucket name. For more information about access point ARNs, see Using access points in the Amazon S3 User Guide.

                                                                                                                                                                                                                                                                                                                                                                              ///

                                                                                                                                                                                                                                                                                                                                                                              When you use this action with Amazon S3 on Outposts, you must direct requests to the S3 on Outposts hostname. The S3 on Outposts hostname takes the form AccessPointName-AccountId.outpostID.s3-outposts.Region.amazonaws.com. When you use this action with S3 on Outposts through the Amazon Web Services SDKs, you provide the Outposts access point ARN in place of the bucket name. For more information about S3 on Outposts ARNs, see What is S3 on Outposts in the Amazon S3 User Guide.

                                                                                                                                                                                                                                                                                                                                                                              diff --git a/sdk/s3/src/operation/get_object_torrent/builders.rs b/sdk/s3/src/operation/get_object_torrent/builders.rs index ac15f903cb96..9a506481002a 100644 --- a/sdk/s3/src/operation/get_object_torrent/builders.rs +++ b/sdk/s3/src/operation/get_object_torrent/builders.rs @@ -27,9 +27,9 @@ impl GetObjectTorrentFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -91,6 +91,22 @@ impl GetObjectTorrentFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::get_object_torrent::GetObjectTorrent, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::get_object_torrent::GetObjectTorrentError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                              The name of the bucket containing the object for which to get the torrent files.

                                                                                                                                                                                                                                                                                                                                                                              pub fn bucket(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.bucket(input.into()); diff --git a/sdk/s3/src/operation/get_public_access_block/builders.rs b/sdk/s3/src/operation/get_public_access_block/builders.rs index 0a84a576fe6e..1642268e3e91 100644 --- a/sdk/s3/src/operation/get_public_access_block/builders.rs +++ b/sdk/s3/src/operation/get_public_access_block/builders.rs @@ -29,9 +29,9 @@ impl GetPublicAccessBlockFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -93,6 +93,22 @@ impl GetPublicAccessBlockFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::get_public_access_block::GetPublicAccessBlock, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::get_public_access_block::GetPublicAccessBlockError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                              The name of the Amazon S3 bucket whose PublicAccessBlock configuration you want to retrieve.

                                                                                                                                                                                                                                                                                                                                                                              pub fn bucket(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.bucket(input.into()); diff --git a/sdk/s3/src/operation/head_bucket/builders.rs b/sdk/s3/src/operation/head_bucket/builders.rs index 21fc188095fc..71c80a41552f 100644 --- a/sdk/s3/src/operation/head_bucket/builders.rs +++ b/sdk/s3/src/operation/head_bucket/builders.rs @@ -23,9 +23,9 @@ impl HeadBucketFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -81,6 +81,20 @@ impl HeadBucketFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::head_bucket::HeadBucket, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                              The bucket name.

                                                                                                                                                                                                                                                                                                                                                                              ///

                                                                                                                                                                                                                                                                                                                                                                              When using this action with an access point, you must direct requests to the access point hostname. The access point hostname takes the form AccessPointName-AccountId.s3-accesspoint.Region.amazonaws.com. When using this action with an access point through the Amazon Web Services SDKs, you provide the access point ARN in place of the bucket name. For more information about access point ARNs, see Using access points in the Amazon S3 User Guide.

                                                                                                                                                                                                                                                                                                                                                                              ///

                                                                                                                                                                                                                                                                                                                                                                              When you use this action with an Object Lambda access point, provide the alias of the Object Lambda access point in place of the bucket name. If the Object Lambda access point alias in a request is not valid, the error code InvalidAccessPointAliasError is returned. For more information about InvalidAccessPointAliasError, see List of Error Codes.

                                                                                                                                                                                                                                                                                                                                                                              diff --git a/sdk/s3/src/operation/head_object/builders.rs b/sdk/s3/src/operation/head_object/builders.rs index c92a833e18ac..990e6726ce74 100644 --- a/sdk/s3/src/operation/head_object/builders.rs +++ b/sdk/s3/src/operation/head_object/builders.rs @@ -64,9 +64,9 @@ impl HeadObjectFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -122,6 +122,20 @@ impl HeadObjectFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::head_object::HeadObject, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } /// /// Creates a presigned request for this operation. /// diff --git a/sdk/s3/src/operation/list_bucket_analytics_configurations/builders.rs b/sdk/s3/src/operation/list_bucket_analytics_configurations/builders.rs index 4ea2e8009aa5..e7d3c190889f 100644 --- a/sdk/s3/src/operation/list_bucket_analytics_configurations/builders.rs +++ b/sdk/s3/src/operation/list_bucket_analytics_configurations/builders.rs @@ -28,9 +28,9 @@ impl ListBucketAnalyticsConfigurationsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize(self) -> ::std::result::Result< + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware(self) -> ::std::result::Result< crate::client::customize::CustomizableOperation, ::aws_smithy_http::result::SdkError >{ @@ -73,6 +73,15 @@ impl ListBucketAnalyticsConfigurationsFluentBuilder { { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize(self) -> ::std::result::Result< + crate::client::customize::CustomizableOperation, + ::aws_smithy_http::result::SdkError + >{ + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                              The name of the bucket from which analytics configurations are retrieved.

                                                                                                                                                                                                                                                                                                                                                                              pub fn bucket(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.bucket(input.into()); diff --git a/sdk/s3/src/operation/list_bucket_intelligent_tiering_configurations/builders.rs b/sdk/s3/src/operation/list_bucket_intelligent_tiering_configurations/builders.rs index 3589c14e83f8..7347ad13903e 100644 --- a/sdk/s3/src/operation/list_bucket_intelligent_tiering_configurations/builders.rs +++ b/sdk/s3/src/operation/list_bucket_intelligent_tiering_configurations/builders.rs @@ -28,9 +28,9 @@ impl ListBucketIntelligentTieringConfigurationsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize(self) -> ::std::result::Result< + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware(self) -> ::std::result::Result< crate::client::customize::CustomizableOperation, ::aws_smithy_http::result::SdkError >{ @@ -73,6 +73,15 @@ impl ListBucketIntelligentTieringConfigurationsFluentBuilder { { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize(self) -> ::std::result::Result< + crate::client::customize::CustomizableOperation, + ::aws_smithy_http::result::SdkError + >{ + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                              The name of the Amazon S3 bucket whose configuration you want to modify or retrieve.

                                                                                                                                                                                                                                                                                                                                                                              pub fn bucket(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.bucket(input.into()); diff --git a/sdk/s3/src/operation/list_bucket_inventory_configurations/builders.rs b/sdk/s3/src/operation/list_bucket_inventory_configurations/builders.rs index db9801219063..72bfd51be18c 100644 --- a/sdk/s3/src/operation/list_bucket_inventory_configurations/builders.rs +++ b/sdk/s3/src/operation/list_bucket_inventory_configurations/builders.rs @@ -28,9 +28,9 @@ impl ListBucketInventoryConfigurationsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize(self) -> ::std::result::Result< + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware(self) -> ::std::result::Result< crate::client::customize::CustomizableOperation, ::aws_smithy_http::result::SdkError >{ @@ -73,6 +73,15 @@ impl ListBucketInventoryConfigurationsFluentBuilder { { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize(self) -> ::std::result::Result< + crate::client::customize::CustomizableOperation, + ::aws_smithy_http::result::SdkError + >{ + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                              The name of the bucket containing the inventory configurations to retrieve.

                                                                                                                                                                                                                                                                                                                                                                              pub fn bucket(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.bucket(input.into()); diff --git a/sdk/s3/src/operation/list_bucket_metrics_configurations/builders.rs b/sdk/s3/src/operation/list_bucket_metrics_configurations/builders.rs index b417f02a2528..edfcb965d151 100644 --- a/sdk/s3/src/operation/list_bucket_metrics_configurations/builders.rs +++ b/sdk/s3/src/operation/list_bucket_metrics_configurations/builders.rs @@ -28,9 +28,9 @@ impl ListBucketMetricsConfigurationsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize(self) -> ::std::result::Result< + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware(self) -> ::std::result::Result< crate::client::customize::CustomizableOperation, ::aws_smithy_http::result::SdkError >{ @@ -73,6 +73,15 @@ impl ListBucketMetricsConfigurationsFluentBuilder { { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize(self) -> ::std::result::Result< + crate::client::customize::CustomizableOperation, + ::aws_smithy_http::result::SdkError + >{ + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                              The name of the bucket containing the metrics configurations to retrieve.

                                                                                                                                                                                                                                                                                                                                                                              pub fn bucket(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.bucket(input.into()); diff --git a/sdk/s3/src/operation/list_buckets/builders.rs b/sdk/s3/src/operation/list_buckets/builders.rs index fd3a7f2bf803..407d98a34d65 100644 --- a/sdk/s3/src/operation/list_buckets/builders.rs +++ b/sdk/s3/src/operation/list_buckets/builders.rs @@ -20,9 +20,9 @@ impl ListBucketsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -78,4 +78,18 @@ impl ListBucketsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_buckets::ListBuckets, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } } diff --git a/sdk/s3/src/operation/list_multipart_uploads/builders.rs b/sdk/s3/src/operation/list_multipart_uploads/builders.rs index 327d397ad5cf..bea5d1f1e79a 100644 --- a/sdk/s3/src/operation/list_multipart_uploads/builders.rs +++ b/sdk/s3/src/operation/list_multipart_uploads/builders.rs @@ -31,9 +31,9 @@ impl ListMultipartUploadsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -95,6 +95,22 @@ impl ListMultipartUploadsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_multipart_uploads::ListMultipartUploads, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::list_multipart_uploads::ListMultipartUploadsError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                              The name of the bucket to which the multipart upload was initiated.

                                                                                                                                                                                                                                                                                                                                                                              ///

                                                                                                                                                                                                                                                                                                                                                                              When using this action with an access point, you must direct requests to the access point hostname. The access point hostname takes the form AccessPointName-AccountId.s3-accesspoint.Region.amazonaws.com. When using this action with an access point through the Amazon Web Services SDKs, you provide the access point ARN in place of the bucket name. For more information about access point ARNs, see Using access points in the Amazon S3 User Guide.

                                                                                                                                                                                                                                                                                                                                                                              ///

                                                                                                                                                                                                                                                                                                                                                                              When you use this action with Amazon S3 on Outposts, you must direct requests to the S3 on Outposts hostname. The S3 on Outposts hostname takes the form AccessPointName-AccountId.outpostID.s3-outposts.Region.amazonaws.com. When you use this action with S3 on Outposts through the Amazon Web Services SDKs, you provide the Outposts access point ARN in place of the bucket name. For more information about S3 on Outposts ARNs, see What is S3 on Outposts in the Amazon S3 User Guide.

                                                                                                                                                                                                                                                                                                                                                                              diff --git a/sdk/s3/src/operation/list_object_versions/builders.rs b/sdk/s3/src/operation/list_object_versions/builders.rs index 79172d895a81..dc3cc6900d88 100644 --- a/sdk/s3/src/operation/list_object_versions/builders.rs +++ b/sdk/s3/src/operation/list_object_versions/builders.rs @@ -32,9 +32,9 @@ impl ListObjectVersionsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -96,6 +96,22 @@ impl ListObjectVersionsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_object_versions::ListObjectVersions, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::list_object_versions::ListObjectVersionsError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                              The bucket name that contains the objects.

                                                                                                                                                                                                                                                                                                                                                                              pub fn bucket(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.bucket(input.into()); diff --git a/sdk/s3/src/operation/list_objects/builders.rs b/sdk/s3/src/operation/list_objects/builders.rs index 26617cf45a84..b0d223441d1a 100644 --- a/sdk/s3/src/operation/list_objects/builders.rs +++ b/sdk/s3/src/operation/list_objects/builders.rs @@ -29,9 +29,9 @@ impl ListObjectsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -87,6 +87,20 @@ impl ListObjectsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_objects::ListObjects, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                              The name of the bucket containing the objects.

                                                                                                                                                                                                                                                                                                                                                                              ///

                                                                                                                                                                                                                                                                                                                                                                              When using this action with an access point, you must direct requests to the access point hostname. The access point hostname takes the form AccessPointName-AccountId.s3-accesspoint.Region.amazonaws.com. When using this action with an access point through the Amazon Web Services SDKs, you provide the access point ARN in place of the bucket name. For more information about access point ARNs, see Using access points in the Amazon S3 User Guide.

                                                                                                                                                                                                                                                                                                                                                                              ///

                                                                                                                                                                                                                                                                                                                                                                              When you use this action with Amazon S3 on Outposts, you must direct requests to the S3 on Outposts hostname. The S3 on Outposts hostname takes the form AccessPointName-AccountId.outpostID.s3-outposts.Region.amazonaws.com. When you use this action with S3 on Outposts through the Amazon Web Services SDKs, you provide the Outposts access point ARN in place of the bucket name. For more information about S3 on Outposts ARNs, see What is S3 on Outposts in the Amazon S3 User Guide.

                                                                                                                                                                                                                                                                                                                                                                              diff --git a/sdk/s3/src/operation/list_objects_v2/builders.rs b/sdk/s3/src/operation/list_objects_v2/builders.rs index 835cd013751a..6fd6dd91488e 100644 --- a/sdk/s3/src/operation/list_objects_v2/builders.rs +++ b/sdk/s3/src/operation/list_objects_v2/builders.rs @@ -30,9 +30,9 @@ impl ListObjectsV2FluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -88,6 +88,20 @@ impl ListObjectsV2FluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_objects_v2::ListObjectsV2, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::list_objects_v2::paginator::ListObjectsV2Paginator::send) which returns a `Stream`. diff --git a/sdk/s3/src/operation/list_parts/builders.rs b/sdk/s3/src/operation/list_parts/builders.rs index fe6cae4da123..19ce910b8428 100644 --- a/sdk/s3/src/operation/list_parts/builders.rs +++ b/sdk/s3/src/operation/list_parts/builders.rs @@ -31,9 +31,9 @@ impl ListPartsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -89,6 +89,20 @@ impl ListPartsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_parts::ListParts, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::list_parts::paginator::ListPartsPaginator::send) which returns a `Stream`. diff --git a/sdk/s3/src/operation/put_bucket_accelerate_configuration/builders.rs b/sdk/s3/src/operation/put_bucket_accelerate_configuration/builders.rs index 8ed44ccab99e..731a659d73d4 100644 --- a/sdk/s3/src/operation/put_bucket_accelerate_configuration/builders.rs +++ b/sdk/s3/src/operation/put_bucket_accelerate_configuration/builders.rs @@ -34,9 +34,9 @@ impl PutBucketAccelerateConfigurationFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize(self) -> ::std::result::Result< + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware(self) -> ::std::result::Result< crate::client::customize::CustomizableOperation, ::aws_smithy_http::result::SdkError >{ @@ -79,6 +79,15 @@ impl PutBucketAccelerateConfigurationFluentBuilder { { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize(self) -> ::std::result::Result< + crate::client::customize::CustomizableOperation, + ::aws_smithy_http::result::SdkError + >{ + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                              The name of the bucket for which the accelerate configuration is set.

                                                                                                                                                                                                                                                                                                                                                                              pub fn bucket(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.bucket(input.into()); diff --git a/sdk/s3/src/operation/put_bucket_acl/builders.rs b/sdk/s3/src/operation/put_bucket_acl/builders.rs index 91b1c9759b8c..ef87e016d1d3 100644 --- a/sdk/s3/src/operation/put_bucket_acl/builders.rs +++ b/sdk/s3/src/operation/put_bucket_acl/builders.rs @@ -108,9 +108,9 @@ impl PutBucketAclFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -166,6 +166,20 @@ impl PutBucketAclFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::put_bucket_acl::PutBucketAcl, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                              The canned ACL to apply to the bucket.

                                                                                                                                                                                                                                                                                                                                                                              pub fn acl(mut self, input: crate::types::BucketCannedAcl) -> Self { self.inner = self.inner.acl(input); diff --git a/sdk/s3/src/operation/put_bucket_analytics_configuration/builders.rs b/sdk/s3/src/operation/put_bucket_analytics_configuration/builders.rs index 493cac805634..592db1cf8749 100644 --- a/sdk/s3/src/operation/put_bucket_analytics_configuration/builders.rs +++ b/sdk/s3/src/operation/put_bucket_analytics_configuration/builders.rs @@ -50,9 +50,9 @@ impl PutBucketAnalyticsConfigurationFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize(self) -> ::std::result::Result< + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware(self) -> ::std::result::Result< crate::client::customize::CustomizableOperation, ::aws_smithy_http::result::SdkError >{ @@ -95,6 +95,15 @@ impl PutBucketAnalyticsConfigurationFluentBuilder { { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize(self) -> ::std::result::Result< + crate::client::customize::CustomizableOperation, + ::aws_smithy_http::result::SdkError + >{ + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                              The name of the bucket to which an analytics configuration is stored.

                                                                                                                                                                                                                                                                                                                                                                              pub fn bucket(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.bucket(input.into()); diff --git a/sdk/s3/src/operation/put_bucket_cors/builders.rs b/sdk/s3/src/operation/put_bucket_cors/builders.rs index fbfdf883c192..c84a8fa8d781 100644 --- a/sdk/s3/src/operation/put_bucket_cors/builders.rs +++ b/sdk/s3/src/operation/put_bucket_cors/builders.rs @@ -35,9 +35,9 @@ impl PutBucketCorsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -93,6 +93,20 @@ impl PutBucketCorsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::put_bucket_cors::PutBucketCors, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                              Specifies the bucket impacted by the corsconfiguration.

                                                                                                                                                                                                                                                                                                                                                                              pub fn bucket(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.bucket(input.into()); diff --git a/sdk/s3/src/operation/put_bucket_encryption/builders.rs b/sdk/s3/src/operation/put_bucket_encryption/builders.rs index d0d2f0648c69..ee851af953cf 100644 --- a/sdk/s3/src/operation/put_bucket_encryption/builders.rs +++ b/sdk/s3/src/operation/put_bucket_encryption/builders.rs @@ -28,9 +28,9 @@ impl PutBucketEncryptionFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -92,6 +92,22 @@ impl PutBucketEncryptionFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::put_bucket_encryption::PutBucketEncryption, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::put_bucket_encryption::PutBucketEncryptionError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                              Specifies default encryption for a bucket using server-side encryption with different key options. By default, all buckets have a default encryption configuration that uses server-side encryption with Amazon S3 managed keys (SSE-S3). You can optionally configure default encryption for a bucket by using server-side encryption with an Amazon Web Services KMS key (SSE-KMS) or a customer-provided key (SSE-C). For information about the bucket default encryption feature, see Amazon S3 Bucket Default Encryption in the Amazon S3 User Guide.

                                                                                                                                                                                                                                                                                                                                                                              pub fn bucket(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.bucket(input.into()); diff --git a/sdk/s3/src/operation/put_bucket_intelligent_tiering_configuration/builders.rs b/sdk/s3/src/operation/put_bucket_intelligent_tiering_configuration/builders.rs index daecd4c069e7..0180085c1351 100644 --- a/sdk/s3/src/operation/put_bucket_intelligent_tiering_configuration/builders.rs +++ b/sdk/s3/src/operation/put_bucket_intelligent_tiering_configuration/builders.rs @@ -53,9 +53,9 @@ impl PutBucketIntelligentTieringConfigurationFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize(self) -> ::std::result::Result< + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware(self) -> ::std::result::Result< crate::client::customize::CustomizableOperation, ::aws_smithy_http::result::SdkError >{ @@ -98,6 +98,15 @@ impl PutBucketIntelligentTieringConfigurationFluentBuilder { { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize(self) -> ::std::result::Result< + crate::client::customize::CustomizableOperation, + ::aws_smithy_http::result::SdkError + >{ + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                              The name of the Amazon S3 bucket whose configuration you want to modify or retrieve.

                                                                                                                                                                                                                                                                                                                                                                              pub fn bucket(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.bucket(input.into()); diff --git a/sdk/s3/src/operation/put_bucket_inventory_configuration/builders.rs b/sdk/s3/src/operation/put_bucket_inventory_configuration/builders.rs index 6a09597e1aa5..630e7dbd10f4 100644 --- a/sdk/s3/src/operation/put_bucket_inventory_configuration/builders.rs +++ b/sdk/s3/src/operation/put_bucket_inventory_configuration/builders.rs @@ -62,9 +62,9 @@ impl PutBucketInventoryConfigurationFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize(self) -> ::std::result::Result< + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware(self) -> ::std::result::Result< crate::client::customize::CustomizableOperation, ::aws_smithy_http::result::SdkError >{ @@ -107,6 +107,15 @@ impl PutBucketInventoryConfigurationFluentBuilder { { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize(self) -> ::std::result::Result< + crate::client::customize::CustomizableOperation, + ::aws_smithy_http::result::SdkError + >{ + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                              The name of the bucket where the inventory configuration will be stored.

                                                                                                                                                                                                                                                                                                                                                                              pub fn bucket(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.bucket(input.into()); diff --git a/sdk/s3/src/operation/put_bucket_lifecycle_configuration/builders.rs b/sdk/s3/src/operation/put_bucket_lifecycle_configuration/builders.rs index c1089913e7f2..3b79068ceecd 100644 --- a/sdk/s3/src/operation/put_bucket_lifecycle_configuration/builders.rs +++ b/sdk/s3/src/operation/put_bucket_lifecycle_configuration/builders.rs @@ -54,9 +54,9 @@ impl PutBucketLifecycleConfigurationFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize(self) -> ::std::result::Result< + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware(self) -> ::std::result::Result< crate::client::customize::CustomizableOperation, ::aws_smithy_http::result::SdkError >{ @@ -99,6 +99,15 @@ impl PutBucketLifecycleConfigurationFluentBuilder { { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize(self) -> ::std::result::Result< + crate::client::customize::CustomizableOperation, + ::aws_smithy_http::result::SdkError + >{ + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                              The name of the bucket for which to set the configuration.

                                                                                                                                                                                                                                                                                                                                                                              pub fn bucket(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.bucket(input.into()); diff --git a/sdk/s3/src/operation/put_bucket_logging/builders.rs b/sdk/s3/src/operation/put_bucket_logging/builders.rs index 414fed41af3c..192c5ed7d80d 100644 --- a/sdk/s3/src/operation/put_bucket_logging/builders.rs +++ b/sdk/s3/src/operation/put_bucket_logging/builders.rs @@ -65,9 +65,9 @@ impl PutBucketLoggingFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -129,6 +129,22 @@ impl PutBucketLoggingFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::put_bucket_logging::PutBucketLogging, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::put_bucket_logging::PutBucketLoggingError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                              The name of the bucket for which to set the logging parameters.

                                                                                                                                                                                                                                                                                                                                                                              pub fn bucket(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.bucket(input.into()); diff --git a/sdk/s3/src/operation/put_bucket_metrics_configuration/builders.rs b/sdk/s3/src/operation/put_bucket_metrics_configuration/builders.rs index 9961c9e412dc..6284519591d1 100644 --- a/sdk/s3/src/operation/put_bucket_metrics_configuration/builders.rs +++ b/sdk/s3/src/operation/put_bucket_metrics_configuration/builders.rs @@ -35,9 +35,9 @@ impl PutBucketMetricsConfigurationFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -99,6 +99,22 @@ impl PutBucketMetricsConfigurationFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::put_bucket_metrics_configuration::PutBucketMetricsConfiguration, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::put_bucket_metrics_configuration::PutBucketMetricsConfigurationError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                              The name of the bucket for which the metrics configuration is set.

                                                                                                                                                                                                                                                                                                                                                                              pub fn bucket(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.bucket(input.into()); diff --git a/sdk/s3/src/operation/put_bucket_notification_configuration/builders.rs b/sdk/s3/src/operation/put_bucket_notification_configuration/builders.rs index 80ee520e8306..3576b92406a9 100644 --- a/sdk/s3/src/operation/put_bucket_notification_configuration/builders.rs +++ b/sdk/s3/src/operation/put_bucket_notification_configuration/builders.rs @@ -36,9 +36,9 @@ impl PutBucketNotificationConfigurationFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize(self) -> ::std::result::Result< + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware(self) -> ::std::result::Result< crate::client::customize::CustomizableOperation, ::aws_smithy_http::result::SdkError >{ @@ -81,6 +81,15 @@ impl PutBucketNotificationConfigurationFluentBuilder { { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize(self) -> ::std::result::Result< + crate::client::customize::CustomizableOperation, + ::aws_smithy_http::result::SdkError + >{ + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                              The name of the bucket.

                                                                                                                                                                                                                                                                                                                                                                              pub fn bucket(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.bucket(input.into()); diff --git a/sdk/s3/src/operation/put_bucket_ownership_controls/builders.rs b/sdk/s3/src/operation/put_bucket_ownership_controls/builders.rs index eaf141605f66..ff60ad351d8c 100644 --- a/sdk/s3/src/operation/put_bucket_ownership_controls/builders.rs +++ b/sdk/s3/src/operation/put_bucket_ownership_controls/builders.rs @@ -25,9 +25,9 @@ impl PutBucketOwnershipControlsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -89,6 +89,22 @@ impl PutBucketOwnershipControlsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::put_bucket_ownership_controls::PutBucketOwnershipControls, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::put_bucket_ownership_controls::PutBucketOwnershipControlsError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                              The name of the Amazon S3 bucket whose OwnershipControls you want to set.

                                                                                                                                                                                                                                                                                                                                                                              pub fn bucket(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.bucket(input.into()); diff --git a/sdk/s3/src/operation/put_bucket_policy/builders.rs b/sdk/s3/src/operation/put_bucket_policy/builders.rs index af7dd92f9996..e77264b9f6a8 100644 --- a/sdk/s3/src/operation/put_bucket_policy/builders.rs +++ b/sdk/s3/src/operation/put_bucket_policy/builders.rs @@ -28,9 +28,9 @@ impl PutBucketPolicyFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -92,6 +92,22 @@ impl PutBucketPolicyFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::put_bucket_policy::PutBucketPolicy, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::put_bucket_policy::PutBucketPolicyError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                              The name of the bucket.

                                                                                                                                                                                                                                                                                                                                                                              pub fn bucket(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.bucket(input.into()); diff --git a/sdk/s3/src/operation/put_bucket_replication/builders.rs b/sdk/s3/src/operation/put_bucket_replication/builders.rs index 6c78f5bcd1b7..cce5c01f18fb 100644 --- a/sdk/s3/src/operation/put_bucket_replication/builders.rs +++ b/sdk/s3/src/operation/put_bucket_replication/builders.rs @@ -48,9 +48,9 @@ impl PutBucketReplicationFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -112,6 +112,22 @@ impl PutBucketReplicationFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::put_bucket_replication::PutBucketReplication, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::put_bucket_replication::PutBucketReplicationError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                              The name of the bucket

                                                                                                                                                                                                                                                                                                                                                                              pub fn bucket(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.bucket(input.into()); diff --git a/sdk/s3/src/operation/put_bucket_request_payment/builders.rs b/sdk/s3/src/operation/put_bucket_request_payment/builders.rs index bac7133277e6..fcd2dda98c66 100644 --- a/sdk/s3/src/operation/put_bucket_request_payment/builders.rs +++ b/sdk/s3/src/operation/put_bucket_request_payment/builders.rs @@ -25,9 +25,9 @@ impl PutBucketRequestPaymentFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -89,6 +89,22 @@ impl PutBucketRequestPaymentFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::put_bucket_request_payment::PutBucketRequestPayment, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::put_bucket_request_payment::PutBucketRequestPaymentError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                              The bucket name.

                                                                                                                                                                                                                                                                                                                                                                              pub fn bucket(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.bucket(input.into()); diff --git a/sdk/s3/src/operation/put_bucket_tagging/builders.rs b/sdk/s3/src/operation/put_bucket_tagging/builders.rs index 9845527cc1b1..d6d735660f51 100644 --- a/sdk/s3/src/operation/put_bucket_tagging/builders.rs +++ b/sdk/s3/src/operation/put_bucket_tagging/builders.rs @@ -47,9 +47,9 @@ impl PutBucketTaggingFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -111,6 +111,22 @@ impl PutBucketTaggingFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::put_bucket_tagging::PutBucketTagging, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::put_bucket_tagging::PutBucketTaggingError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                              The bucket name.

                                                                                                                                                                                                                                                                                                                                                                              pub fn bucket(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.bucket(input.into()); diff --git a/sdk/s3/src/operation/put_bucket_versioning/builders.rs b/sdk/s3/src/operation/put_bucket_versioning/builders.rs index b66f1b4b91df..a789637b7f9a 100644 --- a/sdk/s3/src/operation/put_bucket_versioning/builders.rs +++ b/sdk/s3/src/operation/put_bucket_versioning/builders.rs @@ -32,9 +32,9 @@ impl PutBucketVersioningFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -96,6 +96,22 @@ impl PutBucketVersioningFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::put_bucket_versioning::PutBucketVersioning, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::put_bucket_versioning::PutBucketVersioningError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                              The bucket name.

                                                                                                                                                                                                                                                                                                                                                                              pub fn bucket(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.bucket(input.into()); diff --git a/sdk/s3/src/operation/put_bucket_website/builders.rs b/sdk/s3/src/operation/put_bucket_website/builders.rs index 45bbe6c34cd5..fbd73d6a678c 100644 --- a/sdk/s3/src/operation/put_bucket_website/builders.rs +++ b/sdk/s3/src/operation/put_bucket_website/builders.rs @@ -47,9 +47,9 @@ impl PutBucketWebsiteFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -111,6 +111,22 @@ impl PutBucketWebsiteFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::put_bucket_website::PutBucketWebsite, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::put_bucket_website::PutBucketWebsiteError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                              The bucket name.

                                                                                                                                                                                                                                                                                                                                                                              pub fn bucket(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.bucket(input.into()); diff --git a/sdk/s3/src/operation/put_object/builders.rs b/sdk/s3/src/operation/put_object/builders.rs index ac5933da9b8b..4e5193d77e56 100644 --- a/sdk/s3/src/operation/put_object/builders.rs +++ b/sdk/s3/src/operation/put_object/builders.rs @@ -42,9 +42,9 @@ impl PutObjectFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -100,6 +100,20 @@ impl PutObjectFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::put_object::PutObject, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } /// /// Creates a presigned request for this operation. /// diff --git a/sdk/s3/src/operation/put_object_acl/builders.rs b/sdk/s3/src/operation/put_object_acl/builders.rs index 68bfb4073fa6..f8cc45824785 100644 --- a/sdk/s3/src/operation/put_object_acl/builders.rs +++ b/sdk/s3/src/operation/put_object_acl/builders.rs @@ -107,9 +107,9 @@ impl PutObjectAclFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -165,6 +165,20 @@ impl PutObjectAclFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::put_object_acl::PutObjectAcl, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                              The canned ACL to apply to the object. For more information, see Canned ACL.

                                                                                                                                                                                                                                                                                                                                                                              pub fn acl(mut self, input: crate::types::ObjectCannedAcl) -> Self { self.inner = self.inner.acl(input); diff --git a/sdk/s3/src/operation/put_object_legal_hold/builders.rs b/sdk/s3/src/operation/put_object_legal_hold/builders.rs index 14d9ad1c18d7..5a273370981b 100644 --- a/sdk/s3/src/operation/put_object_legal_hold/builders.rs +++ b/sdk/s3/src/operation/put_object_legal_hold/builders.rs @@ -20,9 +20,9 @@ impl PutObjectLegalHoldFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -84,6 +84,22 @@ impl PutObjectLegalHoldFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::put_object_legal_hold::PutObjectLegalHold, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::put_object_legal_hold::PutObjectLegalHoldError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                              The bucket name containing the object that you want to place a legal hold on.

                                                                                                                                                                                                                                                                                                                                                                              ///

                                                                                                                                                                                                                                                                                                                                                                              When using this action with an access point, you must direct requests to the access point hostname. The access point hostname takes the form AccessPointName-AccountId.s3-accesspoint.Region.amazonaws.com. When using this action with an access point through the Amazon Web Services SDKs, you provide the access point ARN in place of the bucket name. For more information about access point ARNs, see Using access points in the Amazon S3 User Guide.

                                                                                                                                                                                                                                                                                                                                                                              pub fn bucket(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { diff --git a/sdk/s3/src/operation/put_object_lock_configuration/builders.rs b/sdk/s3/src/operation/put_object_lock_configuration/builders.rs index 2afd6e447cc5..c13577330b39 100644 --- a/sdk/s3/src/operation/put_object_lock_configuration/builders.rs +++ b/sdk/s3/src/operation/put_object_lock_configuration/builders.rs @@ -25,9 +25,9 @@ impl PutObjectLockConfigurationFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -89,6 +89,22 @@ impl PutObjectLockConfigurationFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::put_object_lock_configuration::PutObjectLockConfiguration, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::put_object_lock_configuration::PutObjectLockConfigurationError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                              The bucket whose Object Lock configuration you want to create or replace.

                                                                                                                                                                                                                                                                                                                                                                              pub fn bucket(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.bucket(input.into()); diff --git a/sdk/s3/src/operation/put_object_retention/builders.rs b/sdk/s3/src/operation/put_object_retention/builders.rs index 1da8f7fda21c..a48a5f333962 100644 --- a/sdk/s3/src/operation/put_object_retention/builders.rs +++ b/sdk/s3/src/operation/put_object_retention/builders.rs @@ -20,9 +20,9 @@ impl PutObjectRetentionFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -84,6 +84,22 @@ impl PutObjectRetentionFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::put_object_retention::PutObjectRetention, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::put_object_retention::PutObjectRetentionError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                              The bucket name that contains the object you want to apply this Object Retention configuration to.

                                                                                                                                                                                                                                                                                                                                                                              ///

                                                                                                                                                                                                                                                                                                                                                                              When using this action with an access point, you must direct requests to the access point hostname. The access point hostname takes the form AccessPointName-AccountId.s3-accesspoint.Region.amazonaws.com. When using this action with an access point through the Amazon Web Services SDKs, you provide the access point ARN in place of the bucket name. For more information about access point ARNs, see Using access points in the Amazon S3 User Guide.

                                                                                                                                                                                                                                                                                                                                                                              pub fn bucket(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { diff --git a/sdk/s3/src/operation/put_object_tagging/builders.rs b/sdk/s3/src/operation/put_object_tagging/builders.rs index e91071baadca..d30055065770 100644 --- a/sdk/s3/src/operation/put_object_tagging/builders.rs +++ b/sdk/s3/src/operation/put_object_tagging/builders.rs @@ -52,9 +52,9 @@ impl PutObjectTaggingFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -116,6 +116,22 @@ impl PutObjectTaggingFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::put_object_tagging::PutObjectTagging, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::put_object_tagging::PutObjectTaggingError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                              The bucket name containing the object.

                                                                                                                                                                                                                                                                                                                                                                              ///

                                                                                                                                                                                                                                                                                                                                                                              When using this action with an access point, you must direct requests to the access point hostname. The access point hostname takes the form AccessPointName-AccountId.s3-accesspoint.Region.amazonaws.com. When using this action with an access point through the Amazon Web Services SDKs, you provide the access point ARN in place of the bucket name. For more information about access point ARNs, see Using access points in the Amazon S3 User Guide.

                                                                                                                                                                                                                                                                                                                                                                              ///

                                                                                                                                                                                                                                                                                                                                                                              When you use this action with Amazon S3 on Outposts, you must direct requests to the S3 on Outposts hostname. The S3 on Outposts hostname takes the form AccessPointName-AccountId.outpostID.s3-outposts.Region.amazonaws.com. When you use this action with S3 on Outposts through the Amazon Web Services SDKs, you provide the Outposts access point ARN in place of the bucket name. For more information about S3 on Outposts ARNs, see What is S3 on Outposts in the Amazon S3 User Guide.

                                                                                                                                                                                                                                                                                                                                                                              diff --git a/sdk/s3/src/operation/put_public_access_block/builders.rs b/sdk/s3/src/operation/put_public_access_block/builders.rs index 9eaa7dd9a3df..64164a98cf2b 100644 --- a/sdk/s3/src/operation/put_public_access_block/builders.rs +++ b/sdk/s3/src/operation/put_public_access_block/builders.rs @@ -29,9 +29,9 @@ impl PutPublicAccessBlockFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -93,6 +93,22 @@ impl PutPublicAccessBlockFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::put_public_access_block::PutPublicAccessBlock, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::put_public_access_block::PutPublicAccessBlockError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                              The name of the Amazon S3 bucket whose PublicAccessBlock configuration you want to set.

                                                                                                                                                                                                                                                                                                                                                                              pub fn bucket(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.bucket(input.into()); diff --git a/sdk/s3/src/operation/restore_object/builders.rs b/sdk/s3/src/operation/restore_object/builders.rs index d0e5a220137f..850882aa7a56 100644 --- a/sdk/s3/src/operation/restore_object/builders.rs +++ b/sdk/s3/src/operation/restore_object/builders.rs @@ -105,9 +105,9 @@ impl RestoreObjectFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -163,6 +163,20 @@ impl RestoreObjectFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::restore_object::RestoreObject, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                              The bucket name containing the object to restore.

                                                                                                                                                                                                                                                                                                                                                                              ///

                                                                                                                                                                                                                                                                                                                                                                              When using this action with an access point, you must direct requests to the access point hostname. The access point hostname takes the form AccessPointName-AccountId.s3-accesspoint.Region.amazonaws.com. When using this action with an access point through the Amazon Web Services SDKs, you provide the access point ARN in place of the bucket name. For more information about access point ARNs, see Using access points in the Amazon S3 User Guide.

                                                                                                                                                                                                                                                                                                                                                                              ///

                                                                                                                                                                                                                                                                                                                                                                              When you use this action with Amazon S3 on Outposts, you must direct requests to the S3 on Outposts hostname. The S3 on Outposts hostname takes the form AccessPointName-AccountId.outpostID.s3-outposts.Region.amazonaws.com. When you use this action with S3 on Outposts through the Amazon Web Services SDKs, you provide the Outposts access point ARN in place of the bucket name. For more information about S3 on Outposts ARNs, see What is S3 on Outposts in the Amazon S3 User Guide.

                                                                                                                                                                                                                                                                                                                                                                              diff --git a/sdk/s3/src/operation/select_object_content/builders.rs b/sdk/s3/src/operation/select_object_content/builders.rs index e896ede3dfad..a197cadab1a2 100644 --- a/sdk/s3/src/operation/select_object_content/builders.rs +++ b/sdk/s3/src/operation/select_object_content/builders.rs @@ -70,9 +70,9 @@ impl SelectObjectContentFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -134,6 +134,22 @@ impl SelectObjectContentFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::select_object_content::SelectObjectContent, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::select_object_content::SelectObjectContentError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                              The S3 bucket.

                                                                                                                                                                                                                                                                                                                                                                              pub fn bucket(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.bucket(input.into()); diff --git a/sdk/s3/src/operation/upload_part/builders.rs b/sdk/s3/src/operation/upload_part/builders.rs index 61422078ebaf..9b346290e2a8 100644 --- a/sdk/s3/src/operation/upload_part/builders.rs +++ b/sdk/s3/src/operation/upload_part/builders.rs @@ -55,9 +55,9 @@ impl UploadPartFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -113,6 +113,20 @@ impl UploadPartFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::upload_part::UploadPart, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } /// /// Creates a presigned request for this operation. /// diff --git a/sdk/s3/src/operation/upload_part_copy/builders.rs b/sdk/s3/src/operation/upload_part_copy/builders.rs index ef8b8c712ad8..cba20a0f500f 100644 --- a/sdk/s3/src/operation/upload_part_copy/builders.rs +++ b/sdk/s3/src/operation/upload_part_copy/builders.rs @@ -74,9 +74,9 @@ impl UploadPartCopyFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -138,6 +138,22 @@ impl UploadPartCopyFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::upload_part_copy::UploadPartCopy, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::upload_part_copy::UploadPartCopyError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                              The bucket name.

                                                                                                                                                                                                                                                                                                                                                                              ///

                                                                                                                                                                                                                                                                                                                                                                              When using this action with an access point, you must direct requests to the access point hostname. The access point hostname takes the form AccessPointName-AccountId.s3-accesspoint.Region.amazonaws.com. When using this action with an access point through the Amazon Web Services SDKs, you provide the access point ARN in place of the bucket name. For more information about access point ARNs, see Using access points in the Amazon S3 User Guide.

                                                                                                                                                                                                                                                                                                                                                                              ///

                                                                                                                                                                                                                                                                                                                                                                              When you use this action with Amazon S3 on Outposts, you must direct requests to the S3 on Outposts hostname. The S3 on Outposts hostname takes the form AccessPointName-AccountId.outpostID.s3-outposts.Region.amazonaws.com. When you use this action with S3 on Outposts through the Amazon Web Services SDKs, you provide the Outposts access point ARN in place of the bucket name. For more information about S3 on Outposts ARNs, see What is S3 on Outposts in the Amazon S3 User Guide.

                                                                                                                                                                                                                                                                                                                                                                              diff --git a/sdk/s3/src/operation/write_get_object_response/builders.rs b/sdk/s3/src/operation/write_get_object_response/builders.rs index 2f5fb3b0b2c1..18cc0122ec2c 100644 --- a/sdk/s3/src/operation/write_get_object_response/builders.rs +++ b/sdk/s3/src/operation/write_get_object_response/builders.rs @@ -27,9 +27,9 @@ impl WriteGetObjectResponseFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -91,6 +91,22 @@ impl WriteGetObjectResponseFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::write_get_object_response::WriteGetObjectResponse, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::write_get_object_response::WriteGetObjectResponseError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                              Route prefix to the HTTP URL generated.

                                                                                                                                                                                                                                                                                                                                                                              pub fn request_route( mut self, diff --git a/sdk/s3control/src/operation/create_access_point/builders.rs b/sdk/s3control/src/operation/create_access_point/builders.rs index 1ac95bb27a0c..de47e1b03aef 100644 --- a/sdk/s3control/src/operation/create_access_point/builders.rs +++ b/sdk/s3control/src/operation/create_access_point/builders.rs @@ -31,9 +31,9 @@ impl CreateAccessPointFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -95,6 +95,22 @@ impl CreateAccessPointFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::create_access_point::CreateAccessPoint, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::create_access_point::CreateAccessPointError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                              The Amazon Web Services account ID for the account that owns the specified access point.

                                                                                                                                                                                                                                                                                                                                                                              pub fn account_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.account_id(input.into()); diff --git a/sdk/s3control/src/operation/create_access_point_for_object_lambda/builders.rs b/sdk/s3control/src/operation/create_access_point_for_object_lambda/builders.rs index 1a9f6381dea2..7f8ea6cc5fc7 100644 --- a/sdk/s3control/src/operation/create_access_point_for_object_lambda/builders.rs +++ b/sdk/s3control/src/operation/create_access_point_for_object_lambda/builders.rs @@ -25,9 +25,9 @@ impl CreateAccessPointForObjectLambdaFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize(self) -> ::std::result::Result< + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware(self) -> ::std::result::Result< crate::client::customize::CustomizableOperation, ::aws_smithy_http::result::SdkError >{ @@ -70,6 +70,15 @@ impl CreateAccessPointForObjectLambdaFluentBuilder { { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize(self) -> ::std::result::Result< + crate::client::customize::CustomizableOperation, + ::aws_smithy_http::result::SdkError + >{ + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                              The Amazon Web Services account ID for owner of the specified Object Lambda Access Point.

                                                                                                                                                                                                                                                                                                                                                                              pub fn account_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.account_id(input.into()); diff --git a/sdk/s3control/src/operation/create_bucket/builders.rs b/sdk/s3control/src/operation/create_bucket/builders.rs index d86167065ccf..dd0dec616161 100644 --- a/sdk/s3control/src/operation/create_bucket/builders.rs +++ b/sdk/s3control/src/operation/create_bucket/builders.rs @@ -38,9 +38,9 @@ impl CreateBucketFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -96,6 +96,20 @@ impl CreateBucketFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::create_bucket::CreateBucket, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                              The canned ACL to apply to the bucket.

                                                                                                                                                                                                                                                                                                                                                                              ///

                                                                                                                                                                                                                                                                                                                                                                              This is not supported by Amazon S3 on Outposts buckets.

                                                                                                                                                                                                                                                                                                                                                                              ///
                                                                                                                                                                                                                                                                                                                                                                              diff --git a/sdk/s3control/src/operation/create_job/builders.rs b/sdk/s3control/src/operation/create_job/builders.rs index f7f2f31fbd19..3de3fd07c68d 100644 --- a/sdk/s3control/src/operation/create_job/builders.rs +++ b/sdk/s3control/src/operation/create_job/builders.rs @@ -29,9 +29,9 @@ impl CreateJobFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -87,6 +87,20 @@ impl CreateJobFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::create_job::CreateJob, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                              The Amazon Web Services account ID that creates the job.

                                                                                                                                                                                                                                                                                                                                                                              pub fn account_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.account_id(input.into()); diff --git a/sdk/s3control/src/operation/create_multi_region_access_point/builders.rs b/sdk/s3control/src/operation/create_multi_region_access_point/builders.rs index 9387057483bc..fde4adbccd49 100644 --- a/sdk/s3control/src/operation/create_multi_region_access_point/builders.rs +++ b/sdk/s3control/src/operation/create_multi_region_access_point/builders.rs @@ -28,9 +28,9 @@ impl CreateMultiRegionAccessPointFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -92,6 +92,22 @@ impl CreateMultiRegionAccessPointFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::create_multi_region_access_point::CreateMultiRegionAccessPoint, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::create_multi_region_access_point::CreateMultiRegionAccessPointError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                              The Amazon Web Services account ID for the owner of the Multi-Region Access Point. The owner of the Multi-Region Access Point also must own the underlying buckets.

                                                                                                                                                                                                                                                                                                                                                                              pub fn account_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.account_id(input.into()); diff --git a/sdk/s3control/src/operation/delete_access_point/builders.rs b/sdk/s3control/src/operation/delete_access_point/builders.rs index afa38e2161f9..f900da6def25 100644 --- a/sdk/s3control/src/operation/delete_access_point/builders.rs +++ b/sdk/s3control/src/operation/delete_access_point/builders.rs @@ -26,9 +26,9 @@ impl DeleteAccessPointFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -90,6 +90,22 @@ impl DeleteAccessPointFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::delete_access_point::DeleteAccessPoint, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::delete_access_point::DeleteAccessPointError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                              The Amazon Web Services account ID for the account that owns the specified access point.

                                                                                                                                                                                                                                                                                                                                                                              pub fn account_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.account_id(input.into()); diff --git a/sdk/s3control/src/operation/delete_access_point_for_object_lambda/builders.rs b/sdk/s3control/src/operation/delete_access_point_for_object_lambda/builders.rs index babd6f677e42..2f9e419a7ee5 100644 --- a/sdk/s3control/src/operation/delete_access_point_for_object_lambda/builders.rs +++ b/sdk/s3control/src/operation/delete_access_point_for_object_lambda/builders.rs @@ -25,9 +25,9 @@ impl DeleteAccessPointForObjectLambdaFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize(self) -> ::std::result::Result< + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware(self) -> ::std::result::Result< crate::client::customize::CustomizableOperation, ::aws_smithy_http::result::SdkError >{ @@ -70,6 +70,15 @@ impl DeleteAccessPointForObjectLambdaFluentBuilder { { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize(self) -> ::std::result::Result< + crate::client::customize::CustomizableOperation, + ::aws_smithy_http::result::SdkError + >{ + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                              The account ID for the account that owns the specified Object Lambda Access Point.

                                                                                                                                                                                                                                                                                                                                                                              pub fn account_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.account_id(input.into()); diff --git a/sdk/s3control/src/operation/delete_access_point_policy/builders.rs b/sdk/s3control/src/operation/delete_access_point_policy/builders.rs index edfdbb16b28f..0a42442ebe66 100644 --- a/sdk/s3control/src/operation/delete_access_point_policy/builders.rs +++ b/sdk/s3control/src/operation/delete_access_point_policy/builders.rs @@ -27,9 +27,9 @@ impl DeleteAccessPointPolicyFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -91,6 +91,22 @@ impl DeleteAccessPointPolicyFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::delete_access_point_policy::DeleteAccessPointPolicy, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::delete_access_point_policy::DeleteAccessPointPolicyError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                              The account ID for the account that owns the specified access point.

                                                                                                                                                                                                                                                                                                                                                                              pub fn account_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.account_id(input.into()); diff --git a/sdk/s3control/src/operation/delete_access_point_policy_for_object_lambda/builders.rs b/sdk/s3control/src/operation/delete_access_point_policy_for_object_lambda/builders.rs index ef6c9a7ff549..dea365db273e 100644 --- a/sdk/s3control/src/operation/delete_access_point_policy_for_object_lambda/builders.rs +++ b/sdk/s3control/src/operation/delete_access_point_policy_for_object_lambda/builders.rs @@ -24,9 +24,9 @@ impl DeleteAccessPointPolicyForObjectLambdaFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize(self) -> ::std::result::Result< + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware(self) -> ::std::result::Result< crate::client::customize::CustomizableOperation, ::aws_smithy_http::result::SdkError >{ @@ -69,6 +69,15 @@ impl DeleteAccessPointPolicyForObjectLambdaFluentBuilder { { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize(self) -> ::std::result::Result< + crate::client::customize::CustomizableOperation, + ::aws_smithy_http::result::SdkError + >{ + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                              The account ID for the account that owns the specified Object Lambda Access Point.

                                                                                                                                                                                                                                                                                                                                                                              pub fn account_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.account_id(input.into()); diff --git a/sdk/s3control/src/operation/delete_bucket/builders.rs b/sdk/s3control/src/operation/delete_bucket/builders.rs index 32ec90a49f2a..033024985425 100644 --- a/sdk/s3control/src/operation/delete_bucket/builders.rs +++ b/sdk/s3control/src/operation/delete_bucket/builders.rs @@ -29,9 +29,9 @@ impl DeleteBucketFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -87,6 +87,20 @@ impl DeleteBucketFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::delete_bucket::DeleteBucket, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                              The account ID that owns the Outposts bucket.

                                                                                                                                                                                                                                                                                                                                                                              pub fn account_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.account_id(input.into()); diff --git a/sdk/s3control/src/operation/delete_bucket_lifecycle_configuration/builders.rs b/sdk/s3control/src/operation/delete_bucket_lifecycle_configuration/builders.rs index 5abb36885bde..1525eef2c2ac 100644 --- a/sdk/s3control/src/operation/delete_bucket_lifecycle_configuration/builders.rs +++ b/sdk/s3control/src/operation/delete_bucket_lifecycle_configuration/builders.rs @@ -30,9 +30,9 @@ impl DeleteBucketLifecycleConfigurationFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize(self) -> ::std::result::Result< + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware(self) -> ::std::result::Result< crate::client::customize::CustomizableOperation, ::aws_smithy_http::result::SdkError >{ @@ -75,6 +75,15 @@ impl DeleteBucketLifecycleConfigurationFluentBuilder { { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize(self) -> ::std::result::Result< + crate::client::customize::CustomizableOperation, + ::aws_smithy_http::result::SdkError + >{ + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                              The account ID of the lifecycle configuration to delete.

                                                                                                                                                                                                                                                                                                                                                                              pub fn account_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.account_id(input.into()); diff --git a/sdk/s3control/src/operation/delete_bucket_policy/builders.rs b/sdk/s3control/src/operation/delete_bucket_policy/builders.rs index 3ec652678e5d..7d930b076cf6 100644 --- a/sdk/s3control/src/operation/delete_bucket_policy/builders.rs +++ b/sdk/s3control/src/operation/delete_bucket_policy/builders.rs @@ -32,9 +32,9 @@ impl DeleteBucketPolicyFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -96,6 +96,22 @@ impl DeleteBucketPolicyFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::delete_bucket_policy::DeleteBucketPolicy, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::delete_bucket_policy::DeleteBucketPolicyError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                              The account ID of the Outposts bucket.

                                                                                                                                                                                                                                                                                                                                                                              pub fn account_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.account_id(input.into()); diff --git a/sdk/s3control/src/operation/delete_bucket_replication/builders.rs b/sdk/s3control/src/operation/delete_bucket_replication/builders.rs index f426c74bdf80..420b1804410e 100644 --- a/sdk/s3control/src/operation/delete_bucket_replication/builders.rs +++ b/sdk/s3control/src/operation/delete_bucket_replication/builders.rs @@ -33,9 +33,9 @@ impl DeleteBucketReplicationFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -97,6 +97,22 @@ impl DeleteBucketReplicationFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::delete_bucket_replication::DeleteBucketReplication, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::delete_bucket_replication::DeleteBucketReplicationError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                              The Amazon Web Services account ID of the Outposts bucket to delete the replication configuration for.

                                                                                                                                                                                                                                                                                                                                                                              pub fn account_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.account_id(input.into()); diff --git a/sdk/s3control/src/operation/delete_bucket_tagging/builders.rs b/sdk/s3control/src/operation/delete_bucket_tagging/builders.rs index 4dc2810ac79b..32cdd3f7de4b 100644 --- a/sdk/s3control/src/operation/delete_bucket_tagging/builders.rs +++ b/sdk/s3control/src/operation/delete_bucket_tagging/builders.rs @@ -29,9 +29,9 @@ impl DeleteBucketTaggingFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -93,6 +93,22 @@ impl DeleteBucketTaggingFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::delete_bucket_tagging::DeleteBucketTagging, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::delete_bucket_tagging::DeleteBucketTaggingError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                              The Amazon Web Services account ID of the Outposts bucket tag set to be removed.

                                                                                                                                                                                                                                                                                                                                                                              pub fn account_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.account_id(input.into()); diff --git a/sdk/s3control/src/operation/delete_job_tagging/builders.rs b/sdk/s3control/src/operation/delete_job_tagging/builders.rs index 3c81a994d628..83d853cf4ccd 100644 --- a/sdk/s3control/src/operation/delete_job_tagging/builders.rs +++ b/sdk/s3control/src/operation/delete_job_tagging/builders.rs @@ -26,9 +26,9 @@ impl DeleteJobTaggingFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -90,6 +90,22 @@ impl DeleteJobTaggingFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::delete_job_tagging::DeleteJobTagging, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::delete_job_tagging::DeleteJobTaggingError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                              The Amazon Web Services account ID associated with the S3 Batch Operations job.

                                                                                                                                                                                                                                                                                                                                                                              pub fn account_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.account_id(input.into()); diff --git a/sdk/s3control/src/operation/delete_multi_region_access_point/builders.rs b/sdk/s3control/src/operation/delete_multi_region_access_point/builders.rs index 8efb2eb32b02..e8e8afd5ac2c 100644 --- a/sdk/s3control/src/operation/delete_multi_region_access_point/builders.rs +++ b/sdk/s3control/src/operation/delete_multi_region_access_point/builders.rs @@ -28,9 +28,9 @@ impl DeleteMultiRegionAccessPointFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -92,6 +92,22 @@ impl DeleteMultiRegionAccessPointFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::delete_multi_region_access_point::DeleteMultiRegionAccessPoint, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::delete_multi_region_access_point::DeleteMultiRegionAccessPointError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                              The Amazon Web Services account ID for the owner of the Multi-Region Access Point.

                                                                                                                                                                                                                                                                                                                                                                              pub fn account_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.account_id(input.into()); diff --git a/sdk/s3control/src/operation/delete_public_access_block/builders.rs b/sdk/s3control/src/operation/delete_public_access_block/builders.rs index 0589212685a8..b49761103ce4 100644 --- a/sdk/s3control/src/operation/delete_public_access_block/builders.rs +++ b/sdk/s3control/src/operation/delete_public_access_block/builders.rs @@ -25,9 +25,9 @@ impl DeletePublicAccessBlockFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -89,6 +89,22 @@ impl DeletePublicAccessBlockFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::delete_public_access_block::DeletePublicAccessBlock, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::delete_public_access_block::DeletePublicAccessBlockError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                              The account ID for the Amazon Web Services account whose PublicAccessBlock configuration you want to remove.

                                                                                                                                                                                                                                                                                                                                                                              pub fn account_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.account_id(input.into()); diff --git a/sdk/s3control/src/operation/delete_storage_lens_configuration/builders.rs b/sdk/s3control/src/operation/delete_storage_lens_configuration/builders.rs index cf4ef213a090..16d5b97ee5cf 100644 --- a/sdk/s3control/src/operation/delete_storage_lens_configuration/builders.rs +++ b/sdk/s3control/src/operation/delete_storage_lens_configuration/builders.rs @@ -21,9 +21,9 @@ impl DeleteStorageLensConfigurationFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize(self) -> ::std::result::Result< + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware(self) -> ::std::result::Result< crate::client::customize::CustomizableOperation, ::aws_smithy_http::result::SdkError >{ @@ -66,6 +66,15 @@ impl DeleteStorageLensConfigurationFluentBuilder { { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize(self) -> ::std::result::Result< + crate::client::customize::CustomizableOperation, + ::aws_smithy_http::result::SdkError + >{ + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                              The ID of the S3 Storage Lens configuration.

                                                                                                                                                                                                                                                                                                                                                                              pub fn config_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.config_id(input.into()); diff --git a/sdk/s3control/src/operation/delete_storage_lens_configuration_tagging/builders.rs b/sdk/s3control/src/operation/delete_storage_lens_configuration_tagging/builders.rs index 797ee77a7d6e..39f8dfe90fb5 100644 --- a/sdk/s3control/src/operation/delete_storage_lens_configuration_tagging/builders.rs +++ b/sdk/s3control/src/operation/delete_storage_lens_configuration_tagging/builders.rs @@ -21,9 +21,9 @@ impl DeleteStorageLensConfigurationTaggingFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize(self) -> ::std::result::Result< + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware(self) -> ::std::result::Result< crate::client::customize::CustomizableOperation, ::aws_smithy_http::result::SdkError >{ @@ -66,6 +66,15 @@ impl DeleteStorageLensConfigurationTaggingFluentBuilder { { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize(self) -> ::std::result::Result< + crate::client::customize::CustomizableOperation, + ::aws_smithy_http::result::SdkError + >{ + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                              The ID of the S3 Storage Lens configuration.

                                                                                                                                                                                                                                                                                                                                                                              pub fn config_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.config_id(input.into()); diff --git a/sdk/s3control/src/operation/describe_job/builders.rs b/sdk/s3control/src/operation/describe_job/builders.rs index 2a72aa734a80..c3789839f315 100644 --- a/sdk/s3control/src/operation/describe_job/builders.rs +++ b/sdk/s3control/src/operation/describe_job/builders.rs @@ -27,9 +27,9 @@ impl DescribeJobFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -85,6 +85,20 @@ impl DescribeJobFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::describe_job::DescribeJob, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                              The Amazon Web Services account ID associated with the S3 Batch Operations job.

                                                                                                                                                                                                                                                                                                                                                                              pub fn account_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.account_id(input.into()); diff --git a/sdk/s3control/src/operation/describe_multi_region_access_point_operation/builders.rs b/sdk/s3control/src/operation/describe_multi_region_access_point_operation/builders.rs index 3bc415e6a412..4ed2e3d52399 100644 --- a/sdk/s3control/src/operation/describe_multi_region_access_point_operation/builders.rs +++ b/sdk/s3control/src/operation/describe_multi_region_access_point_operation/builders.rs @@ -26,9 +26,9 @@ impl DescribeMultiRegionAccessPointOperationFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize(self) -> ::std::result::Result< + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware(self) -> ::std::result::Result< crate::client::customize::CustomizableOperation, ::aws_smithy_http::result::SdkError >{ @@ -71,6 +71,15 @@ impl DescribeMultiRegionAccessPointOperationFluentBuilder { { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize(self) -> ::std::result::Result< + crate::client::customize::CustomizableOperation, + ::aws_smithy_http::result::SdkError + >{ + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                              The Amazon Web Services account ID for the owner of the Multi-Region Access Point.

                                                                                                                                                                                                                                                                                                                                                                              pub fn account_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.account_id(input.into()); diff --git a/sdk/s3control/src/operation/get_access_point/builders.rs b/sdk/s3control/src/operation/get_access_point/builders.rs index 23ef789ba48a..1d308552d972 100644 --- a/sdk/s3control/src/operation/get_access_point/builders.rs +++ b/sdk/s3control/src/operation/get_access_point/builders.rs @@ -27,9 +27,9 @@ impl GetAccessPointFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -91,6 +91,22 @@ impl GetAccessPointFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::get_access_point::GetAccessPoint, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::get_access_point::GetAccessPointError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                              The Amazon Web Services account ID for the account that owns the specified access point.

                                                                                                                                                                                                                                                                                                                                                                              pub fn account_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.account_id(input.into()); diff --git a/sdk/s3control/src/operation/get_access_point_configuration_for_object_lambda/builders.rs b/sdk/s3control/src/operation/get_access_point_configuration_for_object_lambda/builders.rs index bcf39104602a..b1a9589924b4 100644 --- a/sdk/s3control/src/operation/get_access_point_configuration_for_object_lambda/builders.rs +++ b/sdk/s3control/src/operation/get_access_point_configuration_for_object_lambda/builders.rs @@ -23,9 +23,9 @@ impl GetAccessPointConfigurationForObjectLambdaFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize(self) -> ::std::result::Result< + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware(self) -> ::std::result::Result< crate::client::customize::CustomizableOperation, ::aws_smithy_http::result::SdkError >{ @@ -68,6 +68,15 @@ impl GetAccessPointConfigurationForObjectLambdaFluentBuilder { { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize(self) -> ::std::result::Result< + crate::client::customize::CustomizableOperation, + ::aws_smithy_http::result::SdkError + >{ + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                              The account ID for the account that owns the specified Object Lambda Access Point.

                                                                                                                                                                                                                                                                                                                                                                              pub fn account_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.account_id(input.into()); diff --git a/sdk/s3control/src/operation/get_access_point_for_object_lambda/builders.rs b/sdk/s3control/src/operation/get_access_point_for_object_lambda/builders.rs index 411dae425ce9..03a24f7c9ea4 100644 --- a/sdk/s3control/src/operation/get_access_point_for_object_lambda/builders.rs +++ b/sdk/s3control/src/operation/get_access_point_for_object_lambda/builders.rs @@ -25,9 +25,9 @@ impl GetAccessPointForObjectLambdaFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize(self) -> ::std::result::Result< + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware(self) -> ::std::result::Result< crate::client::customize::CustomizableOperation, ::aws_smithy_http::result::SdkError >{ @@ -70,6 +70,15 @@ impl GetAccessPointForObjectLambdaFluentBuilder { { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize(self) -> ::std::result::Result< + crate::client::customize::CustomizableOperation, + ::aws_smithy_http::result::SdkError + >{ + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                              The account ID for the account that owns the specified Object Lambda Access Point.

                                                                                                                                                                                                                                                                                                                                                                              pub fn account_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.account_id(input.into()); diff --git a/sdk/s3control/src/operation/get_access_point_policy/builders.rs b/sdk/s3control/src/operation/get_access_point_policy/builders.rs index 3cddaa4053e6..0ae61ab0c2da 100644 --- a/sdk/s3control/src/operation/get_access_point_policy/builders.rs +++ b/sdk/s3control/src/operation/get_access_point_policy/builders.rs @@ -24,9 +24,9 @@ impl GetAccessPointPolicyFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -88,6 +88,22 @@ impl GetAccessPointPolicyFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::get_access_point_policy::GetAccessPointPolicy, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::get_access_point_policy::GetAccessPointPolicyError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                              The account ID for the account that owns the specified access point.

                                                                                                                                                                                                                                                                                                                                                                              pub fn account_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.account_id(input.into()); diff --git a/sdk/s3control/src/operation/get_access_point_policy_for_object_lambda/builders.rs b/sdk/s3control/src/operation/get_access_point_policy_for_object_lambda/builders.rs index a256438ac5d0..93121c8fecfa 100644 --- a/sdk/s3control/src/operation/get_access_point_policy_for_object_lambda/builders.rs +++ b/sdk/s3control/src/operation/get_access_point_policy_for_object_lambda/builders.rs @@ -24,9 +24,9 @@ impl GetAccessPointPolicyForObjectLambdaFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize(self) -> ::std::result::Result< + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware(self) -> ::std::result::Result< crate::client::customize::CustomizableOperation, ::aws_smithy_http::result::SdkError >{ @@ -69,6 +69,15 @@ impl GetAccessPointPolicyForObjectLambdaFluentBuilder { { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize(self) -> ::std::result::Result< + crate::client::customize::CustomizableOperation, + ::aws_smithy_http::result::SdkError + >{ + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                              The account ID for the account that owns the specified Object Lambda Access Point.

                                                                                                                                                                                                                                                                                                                                                                              pub fn account_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.account_id(input.into()); diff --git a/sdk/s3control/src/operation/get_access_point_policy_status/builders.rs b/sdk/s3control/src/operation/get_access_point_policy_status/builders.rs index 6eed7bfc757a..4cd690a84405 100644 --- a/sdk/s3control/src/operation/get_access_point_policy_status/builders.rs +++ b/sdk/s3control/src/operation/get_access_point_policy_status/builders.rs @@ -19,9 +19,9 @@ impl GetAccessPointPolicyStatusFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl GetAccessPointPolicyStatusFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::get_access_point_policy_status::GetAccessPointPolicyStatus, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::get_access_point_policy_status::GetAccessPointPolicyStatusError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                              The account ID for the account that owns the specified access point.

                                                                                                                                                                                                                                                                                                                                                                              pub fn account_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.account_id(input.into()); diff --git a/sdk/s3control/src/operation/get_access_point_policy_status_for_object_lambda/builders.rs b/sdk/s3control/src/operation/get_access_point_policy_status_for_object_lambda/builders.rs index 5042e2ab3fc8..0f0d31699a55 100644 --- a/sdk/s3control/src/operation/get_access_point_policy_status_for_object_lambda/builders.rs +++ b/sdk/s3control/src/operation/get_access_point_policy_status_for_object_lambda/builders.rs @@ -19,9 +19,9 @@ impl GetAccessPointPolicyStatusForObjectLambdaFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize(self) -> ::std::result::Result< + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware(self) -> ::std::result::Result< crate::client::customize::CustomizableOperation, ::aws_smithy_http::result::SdkError >{ @@ -64,6 +64,15 @@ impl GetAccessPointPolicyStatusForObjectLambdaFluentBuilder { { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize(self) -> ::std::result::Result< + crate::client::customize::CustomizableOperation, + ::aws_smithy_http::result::SdkError + >{ + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                              The account ID for the account that owns the specified Object Lambda Access Point.

                                                                                                                                                                                                                                                                                                                                                                              pub fn account_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.account_id(input.into()); diff --git a/sdk/s3control/src/operation/get_bucket/builders.rs b/sdk/s3control/src/operation/get_bucket/builders.rs index 7d84686f5cd7..3a4d931e067d 100644 --- a/sdk/s3control/src/operation/get_bucket/builders.rs +++ b/sdk/s3control/src/operation/get_bucket/builders.rs @@ -28,9 +28,9 @@ impl GetBucketFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -86,6 +86,20 @@ impl GetBucketFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::get_bucket::GetBucket, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                              The Amazon Web Services account ID of the Outposts bucket.

                                                                                                                                                                                                                                                                                                                                                                              pub fn account_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.account_id(input.into()); diff --git a/sdk/s3control/src/operation/get_bucket_lifecycle_configuration/builders.rs b/sdk/s3control/src/operation/get_bucket_lifecycle_configuration/builders.rs index 94e40e7f27a5..9108f1ed1d63 100644 --- a/sdk/s3control/src/operation/get_bucket_lifecycle_configuration/builders.rs +++ b/sdk/s3control/src/operation/get_bucket_lifecycle_configuration/builders.rs @@ -38,9 +38,9 @@ impl GetBucketLifecycleConfigurationFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize(self) -> ::std::result::Result< + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware(self) -> ::std::result::Result< crate::client::customize::CustomizableOperation, ::aws_smithy_http::result::SdkError >{ @@ -83,6 +83,15 @@ impl GetBucketLifecycleConfigurationFluentBuilder { { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize(self) -> ::std::result::Result< + crate::client::customize::CustomizableOperation, + ::aws_smithy_http::result::SdkError + >{ + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                              The Amazon Web Services account ID of the Outposts bucket.

                                                                                                                                                                                                                                                                                                                                                                              pub fn account_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.account_id(input.into()); diff --git a/sdk/s3control/src/operation/get_bucket_policy/builders.rs b/sdk/s3control/src/operation/get_bucket_policy/builders.rs index a2e2cbe55a52..0587c4917e77 100644 --- a/sdk/s3control/src/operation/get_bucket_policy/builders.rs +++ b/sdk/s3control/src/operation/get_bucket_policy/builders.rs @@ -34,9 +34,9 @@ impl GetBucketPolicyFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -98,6 +98,22 @@ impl GetBucketPolicyFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::get_bucket_policy::GetBucketPolicy, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::get_bucket_policy::GetBucketPolicyError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                              The Amazon Web Services account ID of the Outposts bucket.

                                                                                                                                                                                                                                                                                                                                                                              pub fn account_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.account_id(input.into()); diff --git a/sdk/s3control/src/operation/get_bucket_replication/builders.rs b/sdk/s3control/src/operation/get_bucket_replication/builders.rs index 8031a4fef14b..7e9db5c0a918 100644 --- a/sdk/s3control/src/operation/get_bucket_replication/builders.rs +++ b/sdk/s3control/src/operation/get_bucket_replication/builders.rs @@ -33,9 +33,9 @@ impl GetBucketReplicationFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -97,6 +97,22 @@ impl GetBucketReplicationFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::get_bucket_replication::GetBucketReplication, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::get_bucket_replication::GetBucketReplicationError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                              The Amazon Web Services account ID of the Outposts bucket.

                                                                                                                                                                                                                                                                                                                                                                              pub fn account_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.account_id(input.into()); diff --git a/sdk/s3control/src/operation/get_bucket_tagging/builders.rs b/sdk/s3control/src/operation/get_bucket_tagging/builders.rs index 5ab2c82c064d..c821e5d46fb2 100644 --- a/sdk/s3control/src/operation/get_bucket_tagging/builders.rs +++ b/sdk/s3control/src/operation/get_bucket_tagging/builders.rs @@ -36,9 +36,9 @@ impl GetBucketTaggingFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -100,6 +100,22 @@ impl GetBucketTaggingFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::get_bucket_tagging::GetBucketTagging, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::get_bucket_tagging::GetBucketTaggingError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                              The Amazon Web Services account ID of the Outposts bucket.

                                                                                                                                                                                                                                                                                                                                                                              pub fn account_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.account_id(input.into()); diff --git a/sdk/s3control/src/operation/get_bucket_versioning/builders.rs b/sdk/s3control/src/operation/get_bucket_versioning/builders.rs index b8d0169fcc7b..b88fa4463320 100644 --- a/sdk/s3control/src/operation/get_bucket_versioning/builders.rs +++ b/sdk/s3control/src/operation/get_bucket_versioning/builders.rs @@ -31,9 +31,9 @@ impl GetBucketVersioningFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -95,6 +95,22 @@ impl GetBucketVersioningFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::get_bucket_versioning::GetBucketVersioning, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::get_bucket_versioning::GetBucketVersioningError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                              The Amazon Web Services account ID of the S3 on Outposts bucket.

                                                                                                                                                                                                                                                                                                                                                                              pub fn account_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.account_id(input.into()); diff --git a/sdk/s3control/src/operation/get_job_tagging/builders.rs b/sdk/s3control/src/operation/get_job_tagging/builders.rs index b37a3f2c6c13..85656c3a5b7d 100644 --- a/sdk/s3control/src/operation/get_job_tagging/builders.rs +++ b/sdk/s3control/src/operation/get_job_tagging/builders.rs @@ -26,9 +26,9 @@ impl GetJobTaggingFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -84,6 +84,20 @@ impl GetJobTaggingFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::get_job_tagging::GetJobTagging, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                              The Amazon Web Services account ID associated with the S3 Batch Operations job.

                                                                                                                                                                                                                                                                                                                                                                              pub fn account_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.account_id(input.into()); diff --git a/sdk/s3control/src/operation/get_multi_region_access_point/builders.rs b/sdk/s3control/src/operation/get_multi_region_access_point/builders.rs index 01cf4ad95ed9..16498f368b3a 100644 --- a/sdk/s3control/src/operation/get_multi_region_access_point/builders.rs +++ b/sdk/s3control/src/operation/get_multi_region_access_point/builders.rs @@ -27,9 +27,9 @@ impl GetMultiRegionAccessPointFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -91,6 +91,22 @@ impl GetMultiRegionAccessPointFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::get_multi_region_access_point::GetMultiRegionAccessPoint, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::get_multi_region_access_point::GetMultiRegionAccessPointError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                              The Amazon Web Services account ID for the owner of the Multi-Region Access Point.

                                                                                                                                                                                                                                                                                                                                                                              pub fn account_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.account_id(input.into()); diff --git a/sdk/s3control/src/operation/get_multi_region_access_point_policy/builders.rs b/sdk/s3control/src/operation/get_multi_region_access_point_policy/builders.rs index f1b153359600..0608727134da 100644 --- a/sdk/s3control/src/operation/get_multi_region_access_point_policy/builders.rs +++ b/sdk/s3control/src/operation/get_multi_region_access_point_policy/builders.rs @@ -25,9 +25,9 @@ impl GetMultiRegionAccessPointPolicyFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize(self) -> ::std::result::Result< + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware(self) -> ::std::result::Result< crate::client::customize::CustomizableOperation, ::aws_smithy_http::result::SdkError >{ @@ -70,6 +70,15 @@ impl GetMultiRegionAccessPointPolicyFluentBuilder { { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize(self) -> ::std::result::Result< + crate::client::customize::CustomizableOperation, + ::aws_smithy_http::result::SdkError + >{ + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                              The Amazon Web Services account ID for the owner of the Multi-Region Access Point.

                                                                                                                                                                                                                                                                                                                                                                              pub fn account_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.account_id(input.into()); diff --git a/sdk/s3control/src/operation/get_multi_region_access_point_policy_status/builders.rs b/sdk/s3control/src/operation/get_multi_region_access_point_policy_status/builders.rs index 66659e1a629b..45a73ae639a2 100644 --- a/sdk/s3control/src/operation/get_multi_region_access_point_policy_status/builders.rs +++ b/sdk/s3control/src/operation/get_multi_region_access_point_policy_status/builders.rs @@ -25,9 +25,9 @@ impl GetMultiRegionAccessPointPolicyStatusFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize(self) -> ::std::result::Result< + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware(self) -> ::std::result::Result< crate::client::customize::CustomizableOperation, ::aws_smithy_http::result::SdkError >{ @@ -70,6 +70,15 @@ impl GetMultiRegionAccessPointPolicyStatusFluentBuilder { { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize(self) -> ::std::result::Result< + crate::client::customize::CustomizableOperation, + ::aws_smithy_http::result::SdkError + >{ + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                              The Amazon Web Services account ID for the owner of the Multi-Region Access Point.

                                                                                                                                                                                                                                                                                                                                                                              pub fn account_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.account_id(input.into()); diff --git a/sdk/s3control/src/operation/get_multi_region_access_point_routes/builders.rs b/sdk/s3control/src/operation/get_multi_region_access_point_routes/builders.rs index eed099f3e041..db22b948fc3c 100644 --- a/sdk/s3control/src/operation/get_multi_region_access_point_routes/builders.rs +++ b/sdk/s3control/src/operation/get_multi_region_access_point_routes/builders.rs @@ -29,9 +29,9 @@ impl GetMultiRegionAccessPointRoutesFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize(self) -> ::std::result::Result< + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware(self) -> ::std::result::Result< crate::client::customize::CustomizableOperation, ::aws_smithy_http::result::SdkError >{ @@ -74,6 +74,15 @@ impl GetMultiRegionAccessPointRoutesFluentBuilder { { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize(self) -> ::std::result::Result< + crate::client::customize::CustomizableOperation, + ::aws_smithy_http::result::SdkError + >{ + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                              The Amazon Web Services account ID for the owner of the Multi-Region Access Point.

                                                                                                                                                                                                                                                                                                                                                                              pub fn account_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.account_id(input.into()); diff --git a/sdk/s3control/src/operation/get_public_access_block/builders.rs b/sdk/s3control/src/operation/get_public_access_block/builders.rs index 5f961044b6d3..4e49c04d89ff 100644 --- a/sdk/s3control/src/operation/get_public_access_block/builders.rs +++ b/sdk/s3control/src/operation/get_public_access_block/builders.rs @@ -24,9 +24,9 @@ impl GetPublicAccessBlockFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -88,6 +88,22 @@ impl GetPublicAccessBlockFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::get_public_access_block::GetPublicAccessBlock, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::get_public_access_block::GetPublicAccessBlockError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                              The account ID for the Amazon Web Services account whose PublicAccessBlock configuration you want to retrieve.

                                                                                                                                                                                                                                                                                                                                                                              pub fn account_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.account_id(input.into()); diff --git a/sdk/s3control/src/operation/get_storage_lens_configuration/builders.rs b/sdk/s3control/src/operation/get_storage_lens_configuration/builders.rs index 28d2848353de..c7a65117bcc7 100644 --- a/sdk/s3control/src/operation/get_storage_lens_configuration/builders.rs +++ b/sdk/s3control/src/operation/get_storage_lens_configuration/builders.rs @@ -21,9 +21,9 @@ impl GetStorageLensConfigurationFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -85,6 +85,22 @@ impl GetStorageLensConfigurationFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::get_storage_lens_configuration::GetStorageLensConfiguration, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::get_storage_lens_configuration::GetStorageLensConfigurationError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                              The ID of the Amazon S3 Storage Lens configuration.

                                                                                                                                                                                                                                                                                                                                                                              pub fn config_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.config_id(input.into()); diff --git a/sdk/s3control/src/operation/get_storage_lens_configuration_tagging/builders.rs b/sdk/s3control/src/operation/get_storage_lens_configuration_tagging/builders.rs index 499300fa08ea..93c0fe2892fa 100644 --- a/sdk/s3control/src/operation/get_storage_lens_configuration_tagging/builders.rs +++ b/sdk/s3control/src/operation/get_storage_lens_configuration_tagging/builders.rs @@ -21,9 +21,9 @@ impl GetStorageLensConfigurationTaggingFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize(self) -> ::std::result::Result< + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware(self) -> ::std::result::Result< crate::client::customize::CustomizableOperation, ::aws_smithy_http::result::SdkError >{ @@ -66,6 +66,15 @@ impl GetStorageLensConfigurationTaggingFluentBuilder { { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize(self) -> ::std::result::Result< + crate::client::customize::CustomizableOperation, + ::aws_smithy_http::result::SdkError + >{ + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                              The ID of the Amazon S3 Storage Lens configuration.

                                                                                                                                                                                                                                                                                                                                                                              pub fn config_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.config_id(input.into()); diff --git a/sdk/s3control/src/operation/list_access_points/builders.rs b/sdk/s3control/src/operation/list_access_points/builders.rs index a4eaf30dc7a6..539460dac610 100644 --- a/sdk/s3control/src/operation/list_access_points/builders.rs +++ b/sdk/s3control/src/operation/list_access_points/builders.rs @@ -27,9 +27,9 @@ impl ListAccessPointsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -91,6 +91,22 @@ impl ListAccessPointsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_access_points::ListAccessPoints, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::list_access_points::ListAccessPointsError, + >, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::list_access_points::paginator::ListAccessPointsPaginator::send) which returns a `Stream`. diff --git a/sdk/s3control/src/operation/list_access_points_for_object_lambda/builders.rs b/sdk/s3control/src/operation/list_access_points_for_object_lambda/builders.rs index dc167c86f8be..7f6e2f562ef1 100644 --- a/sdk/s3control/src/operation/list_access_points_for_object_lambda/builders.rs +++ b/sdk/s3control/src/operation/list_access_points_for_object_lambda/builders.rs @@ -25,9 +25,9 @@ impl ListAccessPointsForObjectLambdaFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize(self) -> ::std::result::Result< + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware(self) -> ::std::result::Result< crate::client::customize::CustomizableOperation, ::aws_smithy_http::result::SdkError >{ @@ -70,6 +70,15 @@ impl ListAccessPointsForObjectLambdaFluentBuilder { { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize(self) -> ::std::result::Result< + crate::client::customize::CustomizableOperation, + ::aws_smithy_http::result::SdkError + >{ + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::list_access_points_for_object_lambda::paginator::ListAccessPointsForObjectLambdaPaginator::send) which returns a `Stream`. diff --git a/sdk/s3control/src/operation/list_jobs/builders.rs b/sdk/s3control/src/operation/list_jobs/builders.rs index d4623bb15f40..404e6570216b 100644 --- a/sdk/s3control/src/operation/list_jobs/builders.rs +++ b/sdk/s3control/src/operation/list_jobs/builders.rs @@ -27,9 +27,9 @@ impl ListJobsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -85,6 +85,20 @@ impl ListJobsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_jobs::ListJobs, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::list_jobs::paginator::ListJobsPaginator::send) which returns a `Stream`. diff --git a/sdk/s3control/src/operation/list_multi_region_access_points/builders.rs b/sdk/s3control/src/operation/list_multi_region_access_points/builders.rs index d0c15e87f948..82318c5f3bdb 100644 --- a/sdk/s3control/src/operation/list_multi_region_access_points/builders.rs +++ b/sdk/s3control/src/operation/list_multi_region_access_points/builders.rs @@ -27,9 +27,9 @@ impl ListMultiRegionAccessPointsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -91,6 +91,22 @@ impl ListMultiRegionAccessPointsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_multi_region_access_points::ListMultiRegionAccessPoints, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::list_multi_region_access_points::ListMultiRegionAccessPointsError, + >, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::list_multi_region_access_points::paginator::ListMultiRegionAccessPointsPaginator::send) which returns a `Stream`. diff --git a/sdk/s3control/src/operation/list_regional_buckets/builders.rs b/sdk/s3control/src/operation/list_regional_buckets/builders.rs index 5604d821da71..560396c53571 100644 --- a/sdk/s3control/src/operation/list_regional_buckets/builders.rs +++ b/sdk/s3control/src/operation/list_regional_buckets/builders.rs @@ -20,9 +20,9 @@ impl ListRegionalBucketsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -84,6 +84,22 @@ impl ListRegionalBucketsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_regional_buckets::ListRegionalBuckets, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::list_regional_buckets::ListRegionalBucketsError, + >, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::list_regional_buckets::paginator::ListRegionalBucketsPaginator::send) which returns a `Stream`. diff --git a/sdk/s3control/src/operation/list_storage_lens_configurations/builders.rs b/sdk/s3control/src/operation/list_storage_lens_configurations/builders.rs index 050b7630778a..2e8dc7da25be 100644 --- a/sdk/s3control/src/operation/list_storage_lens_configurations/builders.rs +++ b/sdk/s3control/src/operation/list_storage_lens_configurations/builders.rs @@ -21,9 +21,9 @@ impl ListStorageLensConfigurationsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -85,6 +85,22 @@ impl ListStorageLensConfigurationsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_storage_lens_configurations::ListStorageLensConfigurations, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::list_storage_lens_configurations::ListStorageLensConfigurationsError, + >, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::list_storage_lens_configurations::paginator::ListStorageLensConfigurationsPaginator::send) which returns a `Stream`. diff --git a/sdk/s3control/src/operation/put_access_point_configuration_for_object_lambda/builders.rs b/sdk/s3control/src/operation/put_access_point_configuration_for_object_lambda/builders.rs index 20c077894f75..c1b02baf9b57 100644 --- a/sdk/s3control/src/operation/put_access_point_configuration_for_object_lambda/builders.rs +++ b/sdk/s3control/src/operation/put_access_point_configuration_for_object_lambda/builders.rs @@ -23,9 +23,9 @@ impl PutAccessPointConfigurationForObjectLambdaFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize(self) -> ::std::result::Result< + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware(self) -> ::std::result::Result< crate::client::customize::CustomizableOperation, ::aws_smithy_http::result::SdkError >{ @@ -68,6 +68,15 @@ impl PutAccessPointConfigurationForObjectLambdaFluentBuilder { { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize(self) -> ::std::result::Result< + crate::client::customize::CustomizableOperation, + ::aws_smithy_http::result::SdkError + >{ + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                              The account ID for the account that owns the specified Object Lambda Access Point.

                                                                                                                                                                                                                                                                                                                                                                              pub fn account_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.account_id(input.into()); diff --git a/sdk/s3control/src/operation/put_access_point_policy/builders.rs b/sdk/s3control/src/operation/put_access_point_policy/builders.rs index 7a14a2cb8c12..774e0a96370f 100644 --- a/sdk/s3control/src/operation/put_access_point_policy/builders.rs +++ b/sdk/s3control/src/operation/put_access_point_policy/builders.rs @@ -26,9 +26,9 @@ impl PutAccessPointPolicyFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -90,6 +90,22 @@ impl PutAccessPointPolicyFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::put_access_point_policy::PutAccessPointPolicy, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::put_access_point_policy::PutAccessPointPolicyError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                              The Amazon Web Services account ID for owner of the bucket associated with the specified access point.

                                                                                                                                                                                                                                                                                                                                                                              pub fn account_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.account_id(input.into()); diff --git a/sdk/s3control/src/operation/put_access_point_policy_for_object_lambda/builders.rs b/sdk/s3control/src/operation/put_access_point_policy_for_object_lambda/builders.rs index 46aed59b0025..07610dffa11f 100644 --- a/sdk/s3control/src/operation/put_access_point_policy_for_object_lambda/builders.rs +++ b/sdk/s3control/src/operation/put_access_point_policy_for_object_lambda/builders.rs @@ -24,9 +24,9 @@ impl PutAccessPointPolicyForObjectLambdaFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize(self) -> ::std::result::Result< + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware(self) -> ::std::result::Result< crate::client::customize::CustomizableOperation, ::aws_smithy_http::result::SdkError >{ @@ -69,6 +69,15 @@ impl PutAccessPointPolicyForObjectLambdaFluentBuilder { { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize(self) -> ::std::result::Result< + crate::client::customize::CustomizableOperation, + ::aws_smithy_http::result::SdkError + >{ + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                              The account ID for the account that owns the specified Object Lambda Access Point.

                                                                                                                                                                                                                                                                                                                                                                              pub fn account_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.account_id(input.into()); diff --git a/sdk/s3control/src/operation/put_bucket_lifecycle_configuration/builders.rs b/sdk/s3control/src/operation/put_bucket_lifecycle_configuration/builders.rs index aaa900b772b4..d9efa7cc4a57 100644 --- a/sdk/s3control/src/operation/put_bucket_lifecycle_configuration/builders.rs +++ b/sdk/s3control/src/operation/put_bucket_lifecycle_configuration/builders.rs @@ -29,9 +29,9 @@ impl PutBucketLifecycleConfigurationFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize(self) -> ::std::result::Result< + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware(self) -> ::std::result::Result< crate::client::customize::CustomizableOperation, ::aws_smithy_http::result::SdkError >{ @@ -74,6 +74,15 @@ impl PutBucketLifecycleConfigurationFluentBuilder { { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize(self) -> ::std::result::Result< + crate::client::customize::CustomizableOperation, + ::aws_smithy_http::result::SdkError + >{ + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                              The Amazon Web Services account ID of the Outposts bucket.

                                                                                                                                                                                                                                                                                                                                                                              pub fn account_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.account_id(input.into()); diff --git a/sdk/s3control/src/operation/put_bucket_policy/builders.rs b/sdk/s3control/src/operation/put_bucket_policy/builders.rs index 4e320f42cc03..253628fbe0d2 100644 --- a/sdk/s3control/src/operation/put_bucket_policy/builders.rs +++ b/sdk/s3control/src/operation/put_bucket_policy/builders.rs @@ -33,9 +33,9 @@ impl PutBucketPolicyFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -97,6 +97,22 @@ impl PutBucketPolicyFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::put_bucket_policy::PutBucketPolicy, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::put_bucket_policy::PutBucketPolicyError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                              The Amazon Web Services account ID of the Outposts bucket.

                                                                                                                                                                                                                                                                                                                                                                              pub fn account_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.account_id(input.into()); diff --git a/sdk/s3control/src/operation/put_bucket_replication/builders.rs b/sdk/s3control/src/operation/put_bucket_replication/builders.rs index e32807d1024b..34c2cbd8e24d 100644 --- a/sdk/s3control/src/operation/put_bucket_replication/builders.rs +++ b/sdk/s3control/src/operation/put_bucket_replication/builders.rs @@ -46,9 +46,9 @@ impl PutBucketReplicationFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -110,6 +110,22 @@ impl PutBucketReplicationFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::put_bucket_replication::PutBucketReplication, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::put_bucket_replication::PutBucketReplicationError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                              The Amazon Web Services account ID of the Outposts bucket.

                                                                                                                                                                                                                                                                                                                                                                              pub fn account_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.account_id(input.into()); diff --git a/sdk/s3control/src/operation/put_bucket_tagging/builders.rs b/sdk/s3control/src/operation/put_bucket_tagging/builders.rs index 3e90db2bc911..63e51d3193b6 100644 --- a/sdk/s3control/src/operation/put_bucket_tagging/builders.rs +++ b/sdk/s3control/src/operation/put_bucket_tagging/builders.rs @@ -51,9 +51,9 @@ impl PutBucketTaggingFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -115,6 +115,22 @@ impl PutBucketTaggingFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::put_bucket_tagging::PutBucketTagging, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::put_bucket_tagging::PutBucketTaggingError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                              The Amazon Web Services account ID of the Outposts bucket.

                                                                                                                                                                                                                                                                                                                                                                              pub fn account_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.account_id(input.into()); diff --git a/sdk/s3control/src/operation/put_bucket_versioning/builders.rs b/sdk/s3control/src/operation/put_bucket_versioning/builders.rs index 5b3689b43f96..1a9af459c3ff 100644 --- a/sdk/s3control/src/operation/put_bucket_versioning/builders.rs +++ b/sdk/s3control/src/operation/put_bucket_versioning/builders.rs @@ -37,9 +37,9 @@ impl PutBucketVersioningFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -101,6 +101,22 @@ impl PutBucketVersioningFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::put_bucket_versioning::PutBucketVersioning, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::put_bucket_versioning::PutBucketVersioningError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                              The Amazon Web Services account ID of the S3 on Outposts bucket.

                                                                                                                                                                                                                                                                                                                                                                              pub fn account_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.account_id(input.into()); diff --git a/sdk/s3control/src/operation/put_job_tagging/builders.rs b/sdk/s3control/src/operation/put_job_tagging/builders.rs index 5e7c7867523e..c1e25b8377c2 100644 --- a/sdk/s3control/src/operation/put_job_tagging/builders.rs +++ b/sdk/s3control/src/operation/put_job_tagging/builders.rs @@ -42,9 +42,9 @@ impl PutJobTaggingFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -100,6 +100,20 @@ impl PutJobTaggingFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::put_job_tagging::PutJobTagging, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                              The Amazon Web Services account ID associated with the S3 Batch Operations job.

                                                                                                                                                                                                                                                                                                                                                                              pub fn account_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.account_id(input.into()); diff --git a/sdk/s3control/src/operation/put_multi_region_access_point_policy/builders.rs b/sdk/s3control/src/operation/put_multi_region_access_point_policy/builders.rs index 956ba9561f37..9e56843ab70f 100644 --- a/sdk/s3control/src/operation/put_multi_region_access_point_policy/builders.rs +++ b/sdk/s3control/src/operation/put_multi_region_access_point_policy/builders.rs @@ -25,9 +25,9 @@ impl PutMultiRegionAccessPointPolicyFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize(self) -> ::std::result::Result< + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware(self) -> ::std::result::Result< crate::client::customize::CustomizableOperation, ::aws_smithy_http::result::SdkError >{ @@ -70,6 +70,15 @@ impl PutMultiRegionAccessPointPolicyFluentBuilder { { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize(self) -> ::std::result::Result< + crate::client::customize::CustomizableOperation, + ::aws_smithy_http::result::SdkError + >{ + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                              The Amazon Web Services account ID for the owner of the Multi-Region Access Point.

                                                                                                                                                                                                                                                                                                                                                                              pub fn account_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.account_id(input.into()); diff --git a/sdk/s3control/src/operation/put_public_access_block/builders.rs b/sdk/s3control/src/operation/put_public_access_block/builders.rs index a3e519cc88a6..a620e1eb5162 100644 --- a/sdk/s3control/src/operation/put_public_access_block/builders.rs +++ b/sdk/s3control/src/operation/put_public_access_block/builders.rs @@ -24,9 +24,9 @@ impl PutPublicAccessBlockFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -88,6 +88,22 @@ impl PutPublicAccessBlockFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::put_public_access_block::PutPublicAccessBlock, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::put_public_access_block::PutPublicAccessBlockError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                              The PublicAccessBlock configuration that you want to apply to the specified Amazon Web Services account.

                                                                                                                                                                                                                                                                                                                                                                              pub fn public_access_block_configuration( mut self, diff --git a/sdk/s3control/src/operation/put_storage_lens_configuration/builders.rs b/sdk/s3control/src/operation/put_storage_lens_configuration/builders.rs index 9a1179e0dfb2..247de1a47593 100644 --- a/sdk/s3control/src/operation/put_storage_lens_configuration/builders.rs +++ b/sdk/s3control/src/operation/put_storage_lens_configuration/builders.rs @@ -21,9 +21,9 @@ impl PutStorageLensConfigurationFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -85,6 +85,22 @@ impl PutStorageLensConfigurationFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::put_storage_lens_configuration::PutStorageLensConfiguration, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::put_storage_lens_configuration::PutStorageLensConfigurationError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                              The ID of the S3 Storage Lens configuration.

                                                                                                                                                                                                                                                                                                                                                                              pub fn config_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.config_id(input.into()); diff --git a/sdk/s3control/src/operation/put_storage_lens_configuration_tagging/builders.rs b/sdk/s3control/src/operation/put_storage_lens_configuration_tagging/builders.rs index 9e215cd35b3a..d8db9e30e28b 100644 --- a/sdk/s3control/src/operation/put_storage_lens_configuration_tagging/builders.rs +++ b/sdk/s3control/src/operation/put_storage_lens_configuration_tagging/builders.rs @@ -21,9 +21,9 @@ impl PutStorageLensConfigurationTaggingFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize(self) -> ::std::result::Result< + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware(self) -> ::std::result::Result< crate::client::customize::CustomizableOperation, ::aws_smithy_http::result::SdkError >{ @@ -66,6 +66,15 @@ impl PutStorageLensConfigurationTaggingFluentBuilder { { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize(self) -> ::std::result::Result< + crate::client::customize::CustomizableOperation, + ::aws_smithy_http::result::SdkError + >{ + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                              The ID of the S3 Storage Lens configuration.

                                                                                                                                                                                                                                                                                                                                                                              pub fn config_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.config_id(input.into()); diff --git a/sdk/s3control/src/operation/submit_multi_region_access_point_routes/builders.rs b/sdk/s3control/src/operation/submit_multi_region_access_point_routes/builders.rs index e0c4c8d05bfb..cde45d1d8ece 100644 --- a/sdk/s3control/src/operation/submit_multi_region_access_point_routes/builders.rs +++ b/sdk/s3control/src/operation/submit_multi_region_access_point_routes/builders.rs @@ -32,9 +32,9 @@ impl SubmitMultiRegionAccessPointRoutesFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize(self) -> ::std::result::Result< + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware(self) -> ::std::result::Result< crate::client::customize::CustomizableOperation, ::aws_smithy_http::result::SdkError >{ @@ -77,6 +77,15 @@ impl SubmitMultiRegionAccessPointRoutesFluentBuilder { { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize(self) -> ::std::result::Result< + crate::client::customize::CustomizableOperation, + ::aws_smithy_http::result::SdkError + >{ + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                              The Amazon Web Services account ID for the owner of the Multi-Region Access Point.

                                                                                                                                                                                                                                                                                                                                                                              pub fn account_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.account_id(input.into()); diff --git a/sdk/s3control/src/operation/update_job_priority/builders.rs b/sdk/s3control/src/operation/update_job_priority/builders.rs index d2bdbe6bc0e2..d4d2e333b75b 100644 --- a/sdk/s3control/src/operation/update_job_priority/builders.rs +++ b/sdk/s3control/src/operation/update_job_priority/builders.rs @@ -27,9 +27,9 @@ impl UpdateJobPriorityFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -91,6 +91,22 @@ impl UpdateJobPriorityFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::update_job_priority::UpdateJobPriority, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::update_job_priority::UpdateJobPriorityError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                              The Amazon Web Services account ID associated with the S3 Batch Operations job.

                                                                                                                                                                                                                                                                                                                                                                              pub fn account_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.account_id(input.into()); diff --git a/sdk/s3control/src/operation/update_job_status/builders.rs b/sdk/s3control/src/operation/update_job_status/builders.rs index 0a59925cd95a..b8482e26e81b 100644 --- a/sdk/s3control/src/operation/update_job_status/builders.rs +++ b/sdk/s3control/src/operation/update_job_status/builders.rs @@ -27,9 +27,9 @@ impl UpdateJobStatusFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -91,6 +91,22 @@ impl UpdateJobStatusFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::update_job_status::UpdateJobStatus, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::update_job_status::UpdateJobStatusError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                              The Amazon Web Services account ID associated with the S3 Batch Operations job.

                                                                                                                                                                                                                                                                                                                                                                              pub fn account_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.account_id(input.into()); diff --git a/sdk/s3outposts/src/operation/create_endpoint/builders.rs b/sdk/s3outposts/src/operation/create_endpoint/builders.rs index 393f2e229a9c..75afca267f32 100644 --- a/sdk/s3outposts/src/operation/create_endpoint/builders.rs +++ b/sdk/s3outposts/src/operation/create_endpoint/builders.rs @@ -27,9 +27,9 @@ impl CreateEndpointFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -85,6 +85,20 @@ impl CreateEndpointFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::create_endpoint::CreateEndpoint, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                              The ID of the Outposts.

                                                                                                                                                                                                                                                                                                                                                                              pub fn outpost_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.outpost_id(input.into()); diff --git a/sdk/s3outposts/src/operation/delete_endpoint/builders.rs b/sdk/s3outposts/src/operation/delete_endpoint/builders.rs index 015060ba2422..fe5c683780ca 100644 --- a/sdk/s3outposts/src/operation/delete_endpoint/builders.rs +++ b/sdk/s3outposts/src/operation/delete_endpoint/builders.rs @@ -27,9 +27,9 @@ impl DeleteEndpointFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -85,6 +85,20 @@ impl DeleteEndpointFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::delete_endpoint::DeleteEndpoint, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                              The ID of the endpoint.

                                                                                                                                                                                                                                                                                                                                                                              pub fn endpoint_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.endpoint_id(input.into()); diff --git a/sdk/s3outposts/src/operation/list_endpoints/builders.rs b/sdk/s3outposts/src/operation/list_endpoints/builders.rs index a5cc8f44f4c8..ae70e100192f 100644 --- a/sdk/s3outposts/src/operation/list_endpoints/builders.rs +++ b/sdk/s3outposts/src/operation/list_endpoints/builders.rs @@ -24,9 +24,9 @@ impl ListEndpointsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -82,6 +82,20 @@ impl ListEndpointsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_endpoints::ListEndpoints, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::list_endpoints::paginator::ListEndpointsPaginator::send) which returns a `Stream`. diff --git a/sdk/s3outposts/src/operation/list_outposts_with_s3/builders.rs b/sdk/s3outposts/src/operation/list_outposts_with_s3/builders.rs index e9f649f5e90a..2c5731714a1d 100644 --- a/sdk/s3outposts/src/operation/list_outposts_with_s3/builders.rs +++ b/sdk/s3outposts/src/operation/list_outposts_with_s3/builders.rs @@ -19,9 +19,9 @@ impl ListOutpostsWithS3FluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl ListOutpostsWithS3FluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_outposts_with_s3::ListOutpostsWithS3, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::list_outposts_with_s3::ListOutpostsWithS3Error, + >, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::list_outposts_with_s3::paginator::ListOutpostsWithS3Paginator::send) which returns a `Stream`. diff --git a/sdk/s3outposts/src/operation/list_shared_endpoints/builders.rs b/sdk/s3outposts/src/operation/list_shared_endpoints/builders.rs index 6d45fcf368ea..9e921d6973a4 100644 --- a/sdk/s3outposts/src/operation/list_shared_endpoints/builders.rs +++ b/sdk/s3outposts/src/operation/list_shared_endpoints/builders.rs @@ -24,9 +24,9 @@ impl ListSharedEndpointsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -88,6 +88,22 @@ impl ListSharedEndpointsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_shared_endpoints::ListSharedEndpoints, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::list_shared_endpoints::ListSharedEndpointsError, + >, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::list_shared_endpoints::paginator::ListSharedEndpointsPaginator::send) which returns a `Stream`. diff --git a/sdk/sagemaker/src/operation/add_association/builders.rs b/sdk/sagemaker/src/operation/add_association/builders.rs index 12f6db6cc4e3..9dbb1f544b20 100644 --- a/sdk/sagemaker/src/operation/add_association/builders.rs +++ b/sdk/sagemaker/src/operation/add_association/builders.rs @@ -19,9 +19,9 @@ impl AddAssociationFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl AddAssociationFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::add_association::AddAssociation, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                              The ARN of the source.

                                                                                                                                                                                                                                                                                                                                                                              pub fn source_arn(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.source_arn(input.into()); diff --git a/sdk/sagemaker/src/operation/add_tags/builders.rs b/sdk/sagemaker/src/operation/add_tags/builders.rs index 8b8478169bea..2d5028f0414e 100644 --- a/sdk/sagemaker/src/operation/add_tags/builders.rs +++ b/sdk/sagemaker/src/operation/add_tags/builders.rs @@ -24,9 +24,9 @@ impl AddTagsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -82,6 +82,20 @@ impl AddTagsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::add_tags::AddTags, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                              The Amazon Resource Name (ARN) of the resource that you want to tag.

                                                                                                                                                                                                                                                                                                                                                                              pub fn resource_arn(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.resource_arn(input.into()); diff --git a/sdk/sagemaker/src/operation/associate_trial_component/builders.rs b/sdk/sagemaker/src/operation/associate_trial_component/builders.rs index fcf08d540d44..80fefdd2abf4 100644 --- a/sdk/sagemaker/src/operation/associate_trial_component/builders.rs +++ b/sdk/sagemaker/src/operation/associate_trial_component/builders.rs @@ -20,9 +20,9 @@ impl AssociateTrialComponentFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -84,6 +84,22 @@ impl AssociateTrialComponentFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::associate_trial_component::AssociateTrialComponent, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::associate_trial_component::AssociateTrialComponentError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                              The name of the component to associated with the trial.

                                                                                                                                                                                                                                                                                                                                                                              pub fn trial_component_name( mut self, diff --git a/sdk/sagemaker/src/operation/batch_describe_model_package/builders.rs b/sdk/sagemaker/src/operation/batch_describe_model_package/builders.rs index 33b718b055a6..1afaa9414ffa 100644 --- a/sdk/sagemaker/src/operation/batch_describe_model_package/builders.rs +++ b/sdk/sagemaker/src/operation/batch_describe_model_package/builders.rs @@ -19,9 +19,9 @@ impl BatchDescribeModelPackageFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl BatchDescribeModelPackageFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::batch_describe_model_package::BatchDescribeModelPackage, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::batch_describe_model_package::BatchDescribeModelPackageError, + >, + > { + self.customize_middleware().await + } /// Appends an item to `ModelPackageArnList`. /// /// To override the contents of this collection use [`set_model_package_arn_list`](Self::set_model_package_arn_list). diff --git a/sdk/sagemaker/src/operation/create_action/builders.rs b/sdk/sagemaker/src/operation/create_action/builders.rs index a38e0cb25987..9f5936e582e2 100644 --- a/sdk/sagemaker/src/operation/create_action/builders.rs +++ b/sdk/sagemaker/src/operation/create_action/builders.rs @@ -19,9 +19,9 @@ impl CreateActionFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl CreateActionFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::create_action::CreateAction, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                              The name of the action. Must be unique to your account in an Amazon Web Services Region.

                                                                                                                                                                                                                                                                                                                                                                              pub fn action_name(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.action_name(input.into()); diff --git a/sdk/sagemaker/src/operation/create_algorithm/builders.rs b/sdk/sagemaker/src/operation/create_algorithm/builders.rs index 1e047d772e3d..88828f952ac0 100644 --- a/sdk/sagemaker/src/operation/create_algorithm/builders.rs +++ b/sdk/sagemaker/src/operation/create_algorithm/builders.rs @@ -19,9 +19,9 @@ impl CreateAlgorithmFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl CreateAlgorithmFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::create_algorithm::CreateAlgorithm, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::create_algorithm::CreateAlgorithmError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                              The name of the algorithm.

                                                                                                                                                                                                                                                                                                                                                                              pub fn algorithm_name( mut self, diff --git a/sdk/sagemaker/src/operation/create_app/builders.rs b/sdk/sagemaker/src/operation/create_app/builders.rs index 11166d5302b5..377b8e15f691 100644 --- a/sdk/sagemaker/src/operation/create_app/builders.rs +++ b/sdk/sagemaker/src/operation/create_app/builders.rs @@ -19,9 +19,9 @@ impl CreateAppFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl CreateAppFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::create_app::CreateApp, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                              The domain ID.

                                                                                                                                                                                                                                                                                                                                                                              pub fn domain_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.domain_id(input.into()); diff --git a/sdk/sagemaker/src/operation/create_app_image_config/builders.rs b/sdk/sagemaker/src/operation/create_app_image_config/builders.rs index d7e91acdc1ab..0a1b5a041025 100644 --- a/sdk/sagemaker/src/operation/create_app_image_config/builders.rs +++ b/sdk/sagemaker/src/operation/create_app_image_config/builders.rs @@ -19,9 +19,9 @@ impl CreateAppImageConfigFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl CreateAppImageConfigFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::create_app_image_config::CreateAppImageConfig, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::create_app_image_config::CreateAppImageConfigError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                              The name of the AppImageConfig. Must be unique to your account.

                                                                                                                                                                                                                                                                                                                                                                              pub fn app_image_config_name( mut self, diff --git a/sdk/sagemaker/src/operation/create_artifact/builders.rs b/sdk/sagemaker/src/operation/create_artifact/builders.rs index fcc4e5e6c756..6545171290a1 100644 --- a/sdk/sagemaker/src/operation/create_artifact/builders.rs +++ b/sdk/sagemaker/src/operation/create_artifact/builders.rs @@ -19,9 +19,9 @@ impl CreateArtifactFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl CreateArtifactFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::create_artifact::CreateArtifact, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                              The name of the artifact. Must be unique to your account in an Amazon Web Services Region.

                                                                                                                                                                                                                                                                                                                                                                              pub fn artifact_name( mut self, diff --git a/sdk/sagemaker/src/operation/create_auto_ml_job/builders.rs b/sdk/sagemaker/src/operation/create_auto_ml_job/builders.rs index 99ac35d48a3a..e34b1c36075f 100644 --- a/sdk/sagemaker/src/operation/create_auto_ml_job/builders.rs +++ b/sdk/sagemaker/src/operation/create_auto_ml_job/builders.rs @@ -21,9 +21,9 @@ impl CreateAutoMLJobFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -85,6 +85,22 @@ impl CreateAutoMLJobFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::create_auto_ml_job::CreateAutoMLJob, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::create_auto_ml_job::CreateAutoMLJobError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                              Identifies an Autopilot job. The name must be unique to your account and is case insensitive.

                                                                                                                                                                                                                                                                                                                                                                              pub fn auto_ml_job_name( mut self, diff --git a/sdk/sagemaker/src/operation/create_auto_ml_job_v2/builders.rs b/sdk/sagemaker/src/operation/create_auto_ml_job_v2/builders.rs index 42316fb321e2..e5669350ea95 100644 --- a/sdk/sagemaker/src/operation/create_auto_ml_job_v2/builders.rs +++ b/sdk/sagemaker/src/operation/create_auto_ml_job_v2/builders.rs @@ -23,9 +23,9 @@ impl CreateAutoMLJobV2FluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -87,6 +87,22 @@ impl CreateAutoMLJobV2FluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::create_auto_ml_job_v2::CreateAutoMLJobV2, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::create_auto_ml_job_v2::CreateAutoMLJobV2Error, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                              Identifies an Autopilot job. The name must be unique to your account and is case insensitive.

                                                                                                                                                                                                                                                                                                                                                                              pub fn auto_ml_job_name( mut self, diff --git a/sdk/sagemaker/src/operation/create_code_repository/builders.rs b/sdk/sagemaker/src/operation/create_code_repository/builders.rs index 0fb3c0d0d9a9..ceb34f5a0646 100644 --- a/sdk/sagemaker/src/operation/create_code_repository/builders.rs +++ b/sdk/sagemaker/src/operation/create_code_repository/builders.rs @@ -20,9 +20,9 @@ impl CreateCodeRepositoryFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -84,6 +84,22 @@ impl CreateCodeRepositoryFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::create_code_repository::CreateCodeRepository, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::create_code_repository::CreateCodeRepositoryError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                              The name of the Git repository. The name must have 1 to 63 characters. Valid characters are a-z, A-Z, 0-9, and - (hyphen).

                                                                                                                                                                                                                                                                                                                                                                              pub fn code_repository_name( mut self, diff --git a/sdk/sagemaker/src/operation/create_compilation_job/builders.rs b/sdk/sagemaker/src/operation/create_compilation_job/builders.rs index 8b9b666e5348..8f1a5048bdbe 100644 --- a/sdk/sagemaker/src/operation/create_compilation_job/builders.rs +++ b/sdk/sagemaker/src/operation/create_compilation_job/builders.rs @@ -29,9 +29,9 @@ impl CreateCompilationJobFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -93,6 +93,22 @@ impl CreateCompilationJobFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::create_compilation_job::CreateCompilationJob, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::create_compilation_job::CreateCompilationJobError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                              A name for the model compilation job. The name must be unique within the Amazon Web Services Region and within your Amazon Web Services account.

                                                                                                                                                                                                                                                                                                                                                                              pub fn compilation_job_name( mut self, diff --git a/sdk/sagemaker/src/operation/create_context/builders.rs b/sdk/sagemaker/src/operation/create_context/builders.rs index 3f38e1463f63..5b002d413b90 100644 --- a/sdk/sagemaker/src/operation/create_context/builders.rs +++ b/sdk/sagemaker/src/operation/create_context/builders.rs @@ -19,9 +19,9 @@ impl CreateContextFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl CreateContextFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::create_context::CreateContext, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                              The name of the context. Must be unique to your account in an Amazon Web Services Region.

                                                                                                                                                                                                                                                                                                                                                                              pub fn context_name(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.context_name(input.into()); diff --git a/sdk/sagemaker/src/operation/create_data_quality_job_definition/builders.rs b/sdk/sagemaker/src/operation/create_data_quality_job_definition/builders.rs index 6092c260829c..214ee2faa03d 100644 --- a/sdk/sagemaker/src/operation/create_data_quality_job_definition/builders.rs +++ b/sdk/sagemaker/src/operation/create_data_quality_job_definition/builders.rs @@ -19,9 +19,9 @@ impl CreateDataQualityJobDefinitionFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize(self) -> ::std::result::Result< + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware(self) -> ::std::result::Result< crate::client::customize::CustomizableOperation, ::aws_smithy_http::result::SdkError >{ @@ -64,6 +64,15 @@ impl CreateDataQualityJobDefinitionFluentBuilder { { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize(self) -> ::std::result::Result< + crate::client::customize::CustomizableOperation, + ::aws_smithy_http::result::SdkError + >{ + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                              The name for the monitoring job definition.

                                                                                                                                                                                                                                                                                                                                                                              pub fn job_definition_name( mut self, diff --git a/sdk/sagemaker/src/operation/create_device_fleet/builders.rs b/sdk/sagemaker/src/operation/create_device_fleet/builders.rs index 4543fd9f5377..e28c1d751ae0 100644 --- a/sdk/sagemaker/src/operation/create_device_fleet/builders.rs +++ b/sdk/sagemaker/src/operation/create_device_fleet/builders.rs @@ -19,9 +19,9 @@ impl CreateDeviceFleetFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl CreateDeviceFleetFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::create_device_fleet::CreateDeviceFleet, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::create_device_fleet::CreateDeviceFleetError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                              The name of the fleet that the device belongs to.

                                                                                                                                                                                                                                                                                                                                                                              pub fn device_fleet_name( mut self, diff --git a/sdk/sagemaker/src/operation/create_domain/builders.rs b/sdk/sagemaker/src/operation/create_domain/builders.rs index 78e3fc116abc..a1e2f3f1b06b 100644 --- a/sdk/sagemaker/src/operation/create_domain/builders.rs +++ b/sdk/sagemaker/src/operation/create_domain/builders.rs @@ -31,9 +31,9 @@ impl CreateDomainFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -89,6 +89,20 @@ impl CreateDomainFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::create_domain::CreateDomain, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                              A name for the domain.

                                                                                                                                                                                                                                                                                                                                                                              pub fn domain_name(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.domain_name(input.into()); diff --git a/sdk/sagemaker/src/operation/create_edge_deployment_plan/builders.rs b/sdk/sagemaker/src/operation/create_edge_deployment_plan/builders.rs index 5cbddfb3398c..dd9e026ecd6c 100644 --- a/sdk/sagemaker/src/operation/create_edge_deployment_plan/builders.rs +++ b/sdk/sagemaker/src/operation/create_edge_deployment_plan/builders.rs @@ -19,9 +19,9 @@ impl CreateEdgeDeploymentPlanFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl CreateEdgeDeploymentPlanFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::create_edge_deployment_plan::CreateEdgeDeploymentPlan, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::create_edge_deployment_plan::CreateEdgeDeploymentPlanError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                              The name of the edge deployment plan.

                                                                                                                                                                                                                                                                                                                                                                              pub fn edge_deployment_plan_name( mut self, diff --git a/sdk/sagemaker/src/operation/create_edge_deployment_stage/builders.rs b/sdk/sagemaker/src/operation/create_edge_deployment_stage/builders.rs index dc17660cc49d..ccbf8ee71f50 100644 --- a/sdk/sagemaker/src/operation/create_edge_deployment_stage/builders.rs +++ b/sdk/sagemaker/src/operation/create_edge_deployment_stage/builders.rs @@ -19,9 +19,9 @@ impl CreateEdgeDeploymentStageFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl CreateEdgeDeploymentStageFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::create_edge_deployment_stage::CreateEdgeDeploymentStage, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::create_edge_deployment_stage::CreateEdgeDeploymentStageError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                              The name of the edge deployment plan.

                                                                                                                                                                                                                                                                                                                                                                              pub fn edge_deployment_plan_name( mut self, diff --git a/sdk/sagemaker/src/operation/create_edge_packaging_job/builders.rs b/sdk/sagemaker/src/operation/create_edge_packaging_job/builders.rs index 11ae030e3134..8eaf8054baab 100644 --- a/sdk/sagemaker/src/operation/create_edge_packaging_job/builders.rs +++ b/sdk/sagemaker/src/operation/create_edge_packaging_job/builders.rs @@ -20,9 +20,9 @@ impl CreateEdgePackagingJobFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -84,6 +84,22 @@ impl CreateEdgePackagingJobFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::create_edge_packaging_job::CreateEdgePackagingJob, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::create_edge_packaging_job::CreateEdgePackagingJobError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                              The name of the edge packaging job.

                                                                                                                                                                                                                                                                                                                                                                              pub fn edge_packaging_job_name( mut self, diff --git a/sdk/sagemaker/src/operation/create_endpoint/builders.rs b/sdk/sagemaker/src/operation/create_endpoint/builders.rs index 85dbe9d9fea3..77596f6b4b2b 100644 --- a/sdk/sagemaker/src/operation/create_endpoint/builders.rs +++ b/sdk/sagemaker/src/operation/create_endpoint/builders.rs @@ -35,9 +35,9 @@ impl CreateEndpointFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -93,6 +93,20 @@ impl CreateEndpointFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::create_endpoint::CreateEndpoint, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                              The name of the endpoint.The name must be unique within an Amazon Web Services Region in your Amazon Web Services account. The name is case-insensitive in CreateEndpoint, but the case is preserved and must be matched in InvokeEndpoint.

                                                                                                                                                                                                                                                                                                                                                                              pub fn endpoint_name( mut self, diff --git a/sdk/sagemaker/src/operation/create_endpoint_config/builders.rs b/sdk/sagemaker/src/operation/create_endpoint_config/builders.rs index 9aaa63b39af9..dcb05934563f 100644 --- a/sdk/sagemaker/src/operation/create_endpoint_config/builders.rs +++ b/sdk/sagemaker/src/operation/create_endpoint_config/builders.rs @@ -25,9 +25,9 @@ impl CreateEndpointConfigFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -89,6 +89,22 @@ impl CreateEndpointConfigFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::create_endpoint_config::CreateEndpointConfig, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::create_endpoint_config::CreateEndpointConfigError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                              The name of the endpoint configuration. You specify this name in a CreateEndpoint request.

                                                                                                                                                                                                                                                                                                                                                                              pub fn endpoint_config_name( mut self, diff --git a/sdk/sagemaker/src/operation/create_experiment/builders.rs b/sdk/sagemaker/src/operation/create_experiment/builders.rs index 323368646bc7..fc605be902da 100644 --- a/sdk/sagemaker/src/operation/create_experiment/builders.rs +++ b/sdk/sagemaker/src/operation/create_experiment/builders.rs @@ -26,9 +26,9 @@ impl CreateExperimentFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -90,6 +90,22 @@ impl CreateExperimentFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::create_experiment::CreateExperiment, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::create_experiment::CreateExperimentError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                              The name of the experiment. The name must be unique in your Amazon Web Services account and is not case-sensitive.

                                                                                                                                                                                                                                                                                                                                                                              pub fn experiment_name( mut self, diff --git a/sdk/sagemaker/src/operation/create_feature_group/builders.rs b/sdk/sagemaker/src/operation/create_feature_group/builders.rs index d26795945f94..552e61a55531 100644 --- a/sdk/sagemaker/src/operation/create_feature_group/builders.rs +++ b/sdk/sagemaker/src/operation/create_feature_group/builders.rs @@ -22,9 +22,9 @@ impl CreateFeatureGroupFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -86,6 +86,22 @@ impl CreateFeatureGroupFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::create_feature_group::CreateFeatureGroup, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::create_feature_group::CreateFeatureGroupError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                              The name of the FeatureGroup. The name must be unique within an Amazon Web Services Region in an Amazon Web Services account. The name:

                                                                                                                                                                                                                                                                                                                                                                              ///
                                                                                                                                                                                                                                                                                                                                                                                ///
                                                                                                                                                                                                                                                                                                                                                                              • Must start and end with an alphanumeric character.

                                                                                                                                                                                                                                                                                                                                                                              • diff --git a/sdk/sagemaker/src/operation/create_flow_definition/builders.rs b/sdk/sagemaker/src/operation/create_flow_definition/builders.rs index fbccf3832c0f..dcf2e846b4a3 100644 --- a/sdk/sagemaker/src/operation/create_flow_definition/builders.rs +++ b/sdk/sagemaker/src/operation/create_flow_definition/builders.rs @@ -19,9 +19,9 @@ impl CreateFlowDefinitionFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl CreateFlowDefinitionFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::create_flow_definition::CreateFlowDefinition, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::create_flow_definition::CreateFlowDefinitionError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                The name of your flow definition.

                                                                                                                                                                                                                                                                                                                                                                                pub fn flow_definition_name( mut self, diff --git a/sdk/sagemaker/src/operation/create_hub/builders.rs b/sdk/sagemaker/src/operation/create_hub/builders.rs index ebd59c7d0c6b..66eaee2c7f55 100644 --- a/sdk/sagemaker/src/operation/create_hub/builders.rs +++ b/sdk/sagemaker/src/operation/create_hub/builders.rs @@ -21,9 +21,9 @@ impl CreateHubFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -79,6 +79,20 @@ impl CreateHubFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::create_hub::CreateHub, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                The name of the hub to create.

                                                                                                                                                                                                                                                                                                                                                                                pub fn hub_name(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.hub_name(input.into()); diff --git a/sdk/sagemaker/src/operation/create_human_task_ui/builders.rs b/sdk/sagemaker/src/operation/create_human_task_ui/builders.rs index 0049bb819d47..a04f6f709091 100644 --- a/sdk/sagemaker/src/operation/create_human_task_ui/builders.rs +++ b/sdk/sagemaker/src/operation/create_human_task_ui/builders.rs @@ -19,9 +19,9 @@ impl CreateHumanTaskUiFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl CreateHumanTaskUiFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::create_human_task_ui::CreateHumanTaskUi, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::create_human_task_ui::CreateHumanTaskUiError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                The name of the user interface you are creating.

                                                                                                                                                                                                                                                                                                                                                                                pub fn human_task_ui_name( mut self, diff --git a/sdk/sagemaker/src/operation/create_hyper_parameter_tuning_job/builders.rs b/sdk/sagemaker/src/operation/create_hyper_parameter_tuning_job/builders.rs index 7583edbfca94..e62d118fd936 100644 --- a/sdk/sagemaker/src/operation/create_hyper_parameter_tuning_job/builders.rs +++ b/sdk/sagemaker/src/operation/create_hyper_parameter_tuning_job/builders.rs @@ -22,9 +22,9 @@ impl CreateHyperParameterTuningJobFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -86,6 +86,22 @@ impl CreateHyperParameterTuningJobFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::create_hyper_parameter_tuning_job::CreateHyperParameterTuningJob, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::create_hyper_parameter_tuning_job::CreateHyperParameterTuningJobError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                The name of the tuning job. This name is the prefix for the names of all training jobs that this tuning job launches. The name must be unique within the same Amazon Web Services account and Amazon Web Services Region. The name must have 1 to 32 characters. Valid characters are a-z, A-Z, 0-9, and : + = @ _ % - (hyphen). The name is not case sensitive.

                                                                                                                                                                                                                                                                                                                                                                                pub fn hyper_parameter_tuning_job_name( mut self, diff --git a/sdk/sagemaker/src/operation/create_image/builders.rs b/sdk/sagemaker/src/operation/create_image/builders.rs index b6cd3033cfbb..0c58f5a8cbf2 100644 --- a/sdk/sagemaker/src/operation/create_image/builders.rs +++ b/sdk/sagemaker/src/operation/create_image/builders.rs @@ -19,9 +19,9 @@ impl CreateImageFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl CreateImageFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::create_image::CreateImage, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                The description of the image.

                                                                                                                                                                                                                                                                                                                                                                                pub fn description(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.description(input.into()); diff --git a/sdk/sagemaker/src/operation/create_image_version/builders.rs b/sdk/sagemaker/src/operation/create_image_version/builders.rs index a65f4b2c5388..29f17ac0ab39 100644 --- a/sdk/sagemaker/src/operation/create_image_version/builders.rs +++ b/sdk/sagemaker/src/operation/create_image_version/builders.rs @@ -19,9 +19,9 @@ impl CreateImageVersionFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl CreateImageVersionFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::create_image_version::CreateImageVersion, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::create_image_version::CreateImageVersionError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                The registry path of the container image to use as the starting point for this version. The path is an Amazon Elastic Container Registry (ECR) URI in the following format:

                                                                                                                                                                                                                                                                                                                                                                                ///

                                                                                                                                                                                                                                                                                                                                                                                /// diff --git a/sdk/sagemaker/src/operation/create_inference_experiment/builders.rs b/sdk/sagemaker/src/operation/create_inference_experiment/builders.rs index 96f4f4815953..bddd6a78cc68 100644 --- a/sdk/sagemaker/src/operation/create_inference_experiment/builders.rs +++ b/sdk/sagemaker/src/operation/create_inference_experiment/builders.rs @@ -22,9 +22,9 @@ impl CreateInferenceExperimentFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -86,6 +86,22 @@ impl CreateInferenceExperimentFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::create_inference_experiment::CreateInferenceExperiment, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::create_inference_experiment::CreateInferenceExperimentError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                The name for the inference experiment.

                                                                                                                                                                                                                                                                                                                                                                                pub fn name(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.name(input.into()); diff --git a/sdk/sagemaker/src/operation/create_inference_recommendations_job/builders.rs b/sdk/sagemaker/src/operation/create_inference_recommendations_job/builders.rs index 0416bbf65970..a7823a82546c 100644 --- a/sdk/sagemaker/src/operation/create_inference_recommendations_job/builders.rs +++ b/sdk/sagemaker/src/operation/create_inference_recommendations_job/builders.rs @@ -19,9 +19,9 @@ impl CreateInferenceRecommendationsJobFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize(self) -> ::std::result::Result< + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware(self) -> ::std::result::Result< crate::client::customize::CustomizableOperation, ::aws_smithy_http::result::SdkError >{ @@ -64,6 +64,15 @@ impl CreateInferenceRecommendationsJobFluentBuilder { { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize(self) -> ::std::result::Result< + crate::client::customize::CustomizableOperation, + ::aws_smithy_http::result::SdkError + >{ + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                A name for the recommendation job. The name must be unique within the Amazon Web Services Region and within your Amazon Web Services account. The job name is passed down to the resources created by the recommendation job. The names of resources (such as the model, endpoint configuration, endpoint, and compilation) that are prefixed with the job name are truncated at 40 characters.

                                                                                                                                                                                                                                                                                                                                                                                pub fn job_name(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.job_name(input.into()); diff --git a/sdk/sagemaker/src/operation/create_labeling_job/builders.rs b/sdk/sagemaker/src/operation/create_labeling_job/builders.rs index 8c7ee836b57a..3a357d9a685b 100644 --- a/sdk/sagemaker/src/operation/create_labeling_job/builders.rs +++ b/sdk/sagemaker/src/operation/create_labeling_job/builders.rs @@ -29,9 +29,9 @@ impl CreateLabelingJobFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -93,6 +93,22 @@ impl CreateLabelingJobFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::create_labeling_job::CreateLabelingJob, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::create_labeling_job::CreateLabelingJobError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                The name of the labeling job. This name is used to identify the job in a list of labeling jobs. Labeling job names must be unique within an Amazon Web Services account and region. LabelingJobName is not case sensitive. For example, Example-job and example-job are considered the same labeling job name by Ground Truth.

                                                                                                                                                                                                                                                                                                                                                                                pub fn labeling_job_name( mut self, diff --git a/sdk/sagemaker/src/operation/create_model/builders.rs b/sdk/sagemaker/src/operation/create_model/builders.rs index cba43a647d13..bd62d56a0d6f 100644 --- a/sdk/sagemaker/src/operation/create_model/builders.rs +++ b/sdk/sagemaker/src/operation/create_model/builders.rs @@ -24,9 +24,9 @@ impl CreateModelFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -82,6 +82,20 @@ impl CreateModelFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::create_model::CreateModel, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                The name of the new model.

                                                                                                                                                                                                                                                                                                                                                                                pub fn model_name(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.model_name(input.into()); diff --git a/sdk/sagemaker/src/operation/create_model_bias_job_definition/builders.rs b/sdk/sagemaker/src/operation/create_model_bias_job_definition/builders.rs index 96c39ddc1add..57282f581787 100644 --- a/sdk/sagemaker/src/operation/create_model_bias_job_definition/builders.rs +++ b/sdk/sagemaker/src/operation/create_model_bias_job_definition/builders.rs @@ -19,9 +19,9 @@ impl CreateModelBiasJobDefinitionFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl CreateModelBiasJobDefinitionFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::create_model_bias_job_definition::CreateModelBiasJobDefinition, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::create_model_bias_job_definition::CreateModelBiasJobDefinitionError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                The name of the bias job definition. The name must be unique within an Amazon Web Services Region in the Amazon Web Services account.

                                                                                                                                                                                                                                                                                                                                                                                pub fn job_definition_name( mut self, diff --git a/sdk/sagemaker/src/operation/create_model_card/builders.rs b/sdk/sagemaker/src/operation/create_model_card/builders.rs index ec4ff63633d3..6ef6092782dc 100644 --- a/sdk/sagemaker/src/operation/create_model_card/builders.rs +++ b/sdk/sagemaker/src/operation/create_model_card/builders.rs @@ -20,9 +20,9 @@ impl CreateModelCardFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -84,6 +84,22 @@ impl CreateModelCardFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::create_model_card::CreateModelCard, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::create_model_card::CreateModelCardError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                The unique name of the model card.

                                                                                                                                                                                                                                                                                                                                                                                pub fn model_card_name( mut self, diff --git a/sdk/sagemaker/src/operation/create_model_card_export_job/builders.rs b/sdk/sagemaker/src/operation/create_model_card_export_job/builders.rs index a8c86b3fbd9e..b81842d5e1f4 100644 --- a/sdk/sagemaker/src/operation/create_model_card_export_job/builders.rs +++ b/sdk/sagemaker/src/operation/create_model_card_export_job/builders.rs @@ -19,9 +19,9 @@ impl CreateModelCardExportJobFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl CreateModelCardExportJobFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::create_model_card_export_job::CreateModelCardExportJob, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::create_model_card_export_job::CreateModelCardExportJobError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                The name of the model card to export.

                                                                                                                                                                                                                                                                                                                                                                                pub fn model_card_name( mut self, diff --git a/sdk/sagemaker/src/operation/create_model_explainability_job_definition/builders.rs b/sdk/sagemaker/src/operation/create_model_explainability_job_definition/builders.rs index c1149347152f..3da30e760835 100644 --- a/sdk/sagemaker/src/operation/create_model_explainability_job_definition/builders.rs +++ b/sdk/sagemaker/src/operation/create_model_explainability_job_definition/builders.rs @@ -19,9 +19,9 @@ impl CreateModelExplainabilityJobDefinitionFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize(self) -> ::std::result::Result< + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware(self) -> ::std::result::Result< crate::client::customize::CustomizableOperation, ::aws_smithy_http::result::SdkError >{ @@ -64,6 +64,15 @@ impl CreateModelExplainabilityJobDefinitionFluentBuilder { { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize(self) -> ::std::result::Result< + crate::client::customize::CustomizableOperation, + ::aws_smithy_http::result::SdkError + >{ + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                The name of the model explainability job definition. The name must be unique within an Amazon Web Services Region in the Amazon Web Services account.

                                                                                                                                                                                                                                                                                                                                                                                pub fn job_definition_name( mut self, diff --git a/sdk/sagemaker/src/operation/create_model_package/builders.rs b/sdk/sagemaker/src/operation/create_model_package/builders.rs index 174ff39c40bb..0e1298980c34 100644 --- a/sdk/sagemaker/src/operation/create_model_package/builders.rs +++ b/sdk/sagemaker/src/operation/create_model_package/builders.rs @@ -26,9 +26,9 @@ impl CreateModelPackageFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -90,6 +90,22 @@ impl CreateModelPackageFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::create_model_package::CreateModelPackage, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::create_model_package::CreateModelPackageError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                The name of the model package. The name must have 1 to 63 characters. Valid characters are a-z, A-Z, 0-9, and - (hyphen).

                                                                                                                                                                                                                                                                                                                                                                                ///

                                                                                                                                                                                                                                                                                                                                                                                This parameter is required for unversioned models. It is not applicable to versioned models.

                                                                                                                                                                                                                                                                                                                                                                                pub fn model_package_name( diff --git a/sdk/sagemaker/src/operation/create_model_package_group/builders.rs b/sdk/sagemaker/src/operation/create_model_package_group/builders.rs index 5782443ebebb..cf8efba22b8c 100644 --- a/sdk/sagemaker/src/operation/create_model_package_group/builders.rs +++ b/sdk/sagemaker/src/operation/create_model_package_group/builders.rs @@ -20,9 +20,9 @@ impl CreateModelPackageGroupFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -84,6 +84,22 @@ impl CreateModelPackageGroupFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::create_model_package_group::CreateModelPackageGroup, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::create_model_package_group::CreateModelPackageGroupError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                The name of the model group.

                                                                                                                                                                                                                                                                                                                                                                                pub fn model_package_group_name( mut self, diff --git a/sdk/sagemaker/src/operation/create_model_quality_job_definition/builders.rs b/sdk/sagemaker/src/operation/create_model_quality_job_definition/builders.rs index 45541ea28150..13dc8a4dfc83 100644 --- a/sdk/sagemaker/src/operation/create_model_quality_job_definition/builders.rs +++ b/sdk/sagemaker/src/operation/create_model_quality_job_definition/builders.rs @@ -19,9 +19,9 @@ impl CreateModelQualityJobDefinitionFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize(self) -> ::std::result::Result< + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware(self) -> ::std::result::Result< crate::client::customize::CustomizableOperation, ::aws_smithy_http::result::SdkError >{ @@ -64,6 +64,15 @@ impl CreateModelQualityJobDefinitionFluentBuilder { { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize(self) -> ::std::result::Result< + crate::client::customize::CustomizableOperation, + ::aws_smithy_http::result::SdkError + >{ + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                The name of the monitoring job definition.

                                                                                                                                                                                                                                                                                                                                                                                pub fn job_definition_name( mut self, diff --git a/sdk/sagemaker/src/operation/create_monitoring_schedule/builders.rs b/sdk/sagemaker/src/operation/create_monitoring_schedule/builders.rs index e6c938670562..96f5b1cbbb0d 100644 --- a/sdk/sagemaker/src/operation/create_monitoring_schedule/builders.rs +++ b/sdk/sagemaker/src/operation/create_monitoring_schedule/builders.rs @@ -19,9 +19,9 @@ impl CreateMonitoringScheduleFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl CreateMonitoringScheduleFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::create_monitoring_schedule::CreateMonitoringSchedule, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::create_monitoring_schedule::CreateMonitoringScheduleError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                The name of the monitoring schedule. The name must be unique within an Amazon Web Services Region within an Amazon Web Services account.

                                                                                                                                                                                                                                                                                                                                                                                pub fn monitoring_schedule_name( mut self, diff --git a/sdk/sagemaker/src/operation/create_notebook_instance/builders.rs b/sdk/sagemaker/src/operation/create_notebook_instance/builders.rs index 2aef64ccc537..5e302e7f220e 100644 --- a/sdk/sagemaker/src/operation/create_notebook_instance/builders.rs +++ b/sdk/sagemaker/src/operation/create_notebook_instance/builders.rs @@ -30,9 +30,9 @@ impl CreateNotebookInstanceFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -94,6 +94,22 @@ impl CreateNotebookInstanceFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::create_notebook_instance::CreateNotebookInstance, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::create_notebook_instance::CreateNotebookInstanceError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                The name of the new notebook instance.

                                                                                                                                                                                                                                                                                                                                                                                pub fn notebook_instance_name( mut self, diff --git a/sdk/sagemaker/src/operation/create_notebook_instance_lifecycle_config/builders.rs b/sdk/sagemaker/src/operation/create_notebook_instance_lifecycle_config/builders.rs index f06a5617dbff..28e2182a40e2 100644 --- a/sdk/sagemaker/src/operation/create_notebook_instance_lifecycle_config/builders.rs +++ b/sdk/sagemaker/src/operation/create_notebook_instance_lifecycle_config/builders.rs @@ -24,9 +24,9 @@ impl CreateNotebookInstanceLifecycleConfigFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize(self) -> ::std::result::Result< + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware(self) -> ::std::result::Result< crate::client::customize::CustomizableOperation, ::aws_smithy_http::result::SdkError >{ @@ -69,6 +69,15 @@ impl CreateNotebookInstanceLifecycleConfigFluentBuilder { { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize(self) -> ::std::result::Result< + crate::client::customize::CustomizableOperation, + ::aws_smithy_http::result::SdkError + >{ + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                The name of the lifecycle configuration.

                                                                                                                                                                                                                                                                                                                                                                                pub fn notebook_instance_lifecycle_config_name( mut self, diff --git a/sdk/sagemaker/src/operation/create_pipeline/builders.rs b/sdk/sagemaker/src/operation/create_pipeline/builders.rs index feb3c9194a28..558abaf67c6e 100644 --- a/sdk/sagemaker/src/operation/create_pipeline/builders.rs +++ b/sdk/sagemaker/src/operation/create_pipeline/builders.rs @@ -19,9 +19,9 @@ impl CreatePipelineFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl CreatePipelineFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::create_pipeline::CreatePipeline, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                The name of the pipeline.

                                                                                                                                                                                                                                                                                                                                                                                pub fn pipeline_name( mut self, diff --git a/sdk/sagemaker/src/operation/create_presigned_domain_url/builders.rs b/sdk/sagemaker/src/operation/create_presigned_domain_url/builders.rs index a1977d056cf3..5c0b5231f43f 100644 --- a/sdk/sagemaker/src/operation/create_presigned_domain_url/builders.rs +++ b/sdk/sagemaker/src/operation/create_presigned_domain_url/builders.rs @@ -23,9 +23,9 @@ impl CreatePresignedDomainUrlFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -87,6 +87,22 @@ impl CreatePresignedDomainUrlFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::create_presigned_domain_url::CreatePresignedDomainUrl, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::create_presigned_domain_url::CreatePresignedDomainUrlError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                The domain ID.

                                                                                                                                                                                                                                                                                                                                                                                pub fn domain_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.domain_id(input.into()); diff --git a/sdk/sagemaker/src/operation/create_presigned_notebook_instance_url/builders.rs b/sdk/sagemaker/src/operation/create_presigned_notebook_instance_url/builders.rs index 33ab33243830..7a53b658a28d 100644 --- a/sdk/sagemaker/src/operation/create_presigned_notebook_instance_url/builders.rs +++ b/sdk/sagemaker/src/operation/create_presigned_notebook_instance_url/builders.rs @@ -23,9 +23,9 @@ impl CreatePresignedNotebookInstanceUrlFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize(self) -> ::std::result::Result< + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware(self) -> ::std::result::Result< crate::client::customize::CustomizableOperation, ::aws_smithy_http::result::SdkError >{ @@ -68,6 +68,15 @@ impl CreatePresignedNotebookInstanceUrlFluentBuilder { { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize(self) -> ::std::result::Result< + crate::client::customize::CustomizableOperation, + ::aws_smithy_http::result::SdkError + >{ + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                The name of the notebook instance.

                                                                                                                                                                                                                                                                                                                                                                                pub fn notebook_instance_name( mut self, diff --git a/sdk/sagemaker/src/operation/create_processing_job/builders.rs b/sdk/sagemaker/src/operation/create_processing_job/builders.rs index aa69cd22f8fa..7b33ad4bac98 100644 --- a/sdk/sagemaker/src/operation/create_processing_job/builders.rs +++ b/sdk/sagemaker/src/operation/create_processing_job/builders.rs @@ -19,9 +19,9 @@ impl CreateProcessingJobFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl CreateProcessingJobFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::create_processing_job::CreateProcessingJob, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::create_processing_job::CreateProcessingJobError, + >, + > { + self.customize_middleware().await + } /// Appends an item to `ProcessingInputs`. /// /// To override the contents of this collection use [`set_processing_inputs`](Self::set_processing_inputs). diff --git a/sdk/sagemaker/src/operation/create_project/builders.rs b/sdk/sagemaker/src/operation/create_project/builders.rs index 140d251aac23..a13a25c7f1a3 100644 --- a/sdk/sagemaker/src/operation/create_project/builders.rs +++ b/sdk/sagemaker/src/operation/create_project/builders.rs @@ -19,9 +19,9 @@ impl CreateProjectFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl CreateProjectFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::create_project::CreateProject, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                The name of the project.

                                                                                                                                                                                                                                                                                                                                                                                pub fn project_name(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.project_name(input.into()); diff --git a/sdk/sagemaker/src/operation/create_space/builders.rs b/sdk/sagemaker/src/operation/create_space/builders.rs index 32e08a5b7d79..ba5d590a5b51 100644 --- a/sdk/sagemaker/src/operation/create_space/builders.rs +++ b/sdk/sagemaker/src/operation/create_space/builders.rs @@ -19,9 +19,9 @@ impl CreateSpaceFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl CreateSpaceFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::create_space::CreateSpace, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                The ID of the associated Domain.

                                                                                                                                                                                                                                                                                                                                                                                pub fn domain_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.domain_id(input.into()); diff --git a/sdk/sagemaker/src/operation/create_studio_lifecycle_config/builders.rs b/sdk/sagemaker/src/operation/create_studio_lifecycle_config/builders.rs index 58b356363361..a729dc65c2ca 100644 --- a/sdk/sagemaker/src/operation/create_studio_lifecycle_config/builders.rs +++ b/sdk/sagemaker/src/operation/create_studio_lifecycle_config/builders.rs @@ -19,9 +19,9 @@ impl CreateStudioLifecycleConfigFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl CreateStudioLifecycleConfigFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::create_studio_lifecycle_config::CreateStudioLifecycleConfig, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::create_studio_lifecycle_config::CreateStudioLifecycleConfigError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                The name of the Studio Lifecycle Configuration to create.

                                                                                                                                                                                                                                                                                                                                                                                pub fn studio_lifecycle_config_name( mut self, diff --git a/sdk/sagemaker/src/operation/create_training_job/builders.rs b/sdk/sagemaker/src/operation/create_training_job/builders.rs index 885c7082e67d..60dc85d23fd8 100644 --- a/sdk/sagemaker/src/operation/create_training_job/builders.rs +++ b/sdk/sagemaker/src/operation/create_training_job/builders.rs @@ -36,9 +36,9 @@ impl CreateTrainingJobFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -100,6 +100,22 @@ impl CreateTrainingJobFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::create_training_job::CreateTrainingJob, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::create_training_job::CreateTrainingJobError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                The name of the training job. The name must be unique within an Amazon Web Services Region in an Amazon Web Services account.

                                                                                                                                                                                                                                                                                                                                                                                pub fn training_job_name( mut self, diff --git a/sdk/sagemaker/src/operation/create_transform_job/builders.rs b/sdk/sagemaker/src/operation/create_transform_job/builders.rs index 0e731b21bdd4..54466cf4633e 100644 --- a/sdk/sagemaker/src/operation/create_transform_job/builders.rs +++ b/sdk/sagemaker/src/operation/create_transform_job/builders.rs @@ -29,9 +29,9 @@ impl CreateTransformJobFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -93,6 +93,22 @@ impl CreateTransformJobFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::create_transform_job::CreateTransformJob, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::create_transform_job::CreateTransformJobError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                The name of the transform job. The name must be unique within an Amazon Web Services Region in an Amazon Web Services account.

                                                                                                                                                                                                                                                                                                                                                                                pub fn transform_job_name( mut self, diff --git a/sdk/sagemaker/src/operation/create_trial/builders.rs b/sdk/sagemaker/src/operation/create_trial/builders.rs index 4c4e7755b427..514e9f7f5ee5 100644 --- a/sdk/sagemaker/src/operation/create_trial/builders.rs +++ b/sdk/sagemaker/src/operation/create_trial/builders.rs @@ -22,9 +22,9 @@ impl CreateTrialFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -80,6 +80,20 @@ impl CreateTrialFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::create_trial::CreateTrial, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                The name of the trial. The name must be unique in your Amazon Web Services account and is not case-sensitive.

                                                                                                                                                                                                                                                                                                                                                                                pub fn trial_name(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.trial_name(input.into()); diff --git a/sdk/sagemaker/src/operation/create_trial_component/builders.rs b/sdk/sagemaker/src/operation/create_trial_component/builders.rs index a3aa7fd27216..a49053a498b1 100644 --- a/sdk/sagemaker/src/operation/create_trial_component/builders.rs +++ b/sdk/sagemaker/src/operation/create_trial_component/builders.rs @@ -22,9 +22,9 @@ impl CreateTrialComponentFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -86,6 +86,22 @@ impl CreateTrialComponentFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::create_trial_component::CreateTrialComponent, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::create_trial_component::CreateTrialComponentError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                The name of the component. The name must be unique in your Amazon Web Services account and is not case-sensitive.

                                                                                                                                                                                                                                                                                                                                                                                pub fn trial_component_name( mut self, diff --git a/sdk/sagemaker/src/operation/create_user_profile/builders.rs b/sdk/sagemaker/src/operation/create_user_profile/builders.rs index eca48cf02dda..b6bdd924cea9 100644 --- a/sdk/sagemaker/src/operation/create_user_profile/builders.rs +++ b/sdk/sagemaker/src/operation/create_user_profile/builders.rs @@ -19,9 +19,9 @@ impl CreateUserProfileFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl CreateUserProfileFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::create_user_profile::CreateUserProfile, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::create_user_profile::CreateUserProfileError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                The ID of the associated Domain.

                                                                                                                                                                                                                                                                                                                                                                                pub fn domain_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.domain_id(input.into()); diff --git a/sdk/sagemaker/src/operation/create_workforce/builders.rs b/sdk/sagemaker/src/operation/create_workforce/builders.rs index c461526b7e65..04b3641a5060 100644 --- a/sdk/sagemaker/src/operation/create_workforce/builders.rs +++ b/sdk/sagemaker/src/operation/create_workforce/builders.rs @@ -22,9 +22,9 @@ impl CreateWorkforceFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -86,6 +86,22 @@ impl CreateWorkforceFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::create_workforce::CreateWorkforce, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::create_workforce::CreateWorkforceError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                Use this parameter to configure an Amazon Cognito private workforce. A single Cognito workforce is created using and corresponds to a single Amazon Cognito user pool.

                                                                                                                                                                                                                                                                                                                                                                                ///

                                                                                                                                                                                                                                                                                                                                                                                Do not use OidcConfig if you specify values for CognitoConfig.

                                                                                                                                                                                                                                                                                                                                                                                pub fn cognito_config(mut self, input: crate::types::CognitoConfig) -> Self { diff --git a/sdk/sagemaker/src/operation/create_workteam/builders.rs b/sdk/sagemaker/src/operation/create_workteam/builders.rs index 5f8620ad9a55..7c6ce514683e 100644 --- a/sdk/sagemaker/src/operation/create_workteam/builders.rs +++ b/sdk/sagemaker/src/operation/create_workteam/builders.rs @@ -20,9 +20,9 @@ impl CreateWorkteamFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -78,6 +78,20 @@ impl CreateWorkteamFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::create_workteam::CreateWorkteam, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                The name of the work team. Use this name to identify the work team.

                                                                                                                                                                                                                                                                                                                                                                                pub fn workteam_name( mut self, diff --git a/sdk/sagemaker/src/operation/delete_action/builders.rs b/sdk/sagemaker/src/operation/delete_action/builders.rs index e75f89d75366..87a68f5de80f 100644 --- a/sdk/sagemaker/src/operation/delete_action/builders.rs +++ b/sdk/sagemaker/src/operation/delete_action/builders.rs @@ -19,9 +19,9 @@ impl DeleteActionFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl DeleteActionFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::delete_action::DeleteAction, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                The name of the action to delete.

                                                                                                                                                                                                                                                                                                                                                                                pub fn action_name(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.action_name(input.into()); diff --git a/sdk/sagemaker/src/operation/delete_algorithm/builders.rs b/sdk/sagemaker/src/operation/delete_algorithm/builders.rs index 3db3156b474f..0b65ca05a31c 100644 --- a/sdk/sagemaker/src/operation/delete_algorithm/builders.rs +++ b/sdk/sagemaker/src/operation/delete_algorithm/builders.rs @@ -19,9 +19,9 @@ impl DeleteAlgorithmFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl DeleteAlgorithmFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::delete_algorithm::DeleteAlgorithm, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::delete_algorithm::DeleteAlgorithmError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                The name of the algorithm to delete.

                                                                                                                                                                                                                                                                                                                                                                                pub fn algorithm_name( mut self, diff --git a/sdk/sagemaker/src/operation/delete_app/builders.rs b/sdk/sagemaker/src/operation/delete_app/builders.rs index 8122cbb8e342..2dc8c81564c5 100644 --- a/sdk/sagemaker/src/operation/delete_app/builders.rs +++ b/sdk/sagemaker/src/operation/delete_app/builders.rs @@ -19,9 +19,9 @@ impl DeleteAppFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl DeleteAppFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::delete_app::DeleteApp, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                The domain ID.

                                                                                                                                                                                                                                                                                                                                                                                pub fn domain_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.domain_id(input.into()); diff --git a/sdk/sagemaker/src/operation/delete_app_image_config/builders.rs b/sdk/sagemaker/src/operation/delete_app_image_config/builders.rs index 4d44d83eef94..89848bd81ac6 100644 --- a/sdk/sagemaker/src/operation/delete_app_image_config/builders.rs +++ b/sdk/sagemaker/src/operation/delete_app_image_config/builders.rs @@ -19,9 +19,9 @@ impl DeleteAppImageConfigFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl DeleteAppImageConfigFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::delete_app_image_config::DeleteAppImageConfig, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::delete_app_image_config::DeleteAppImageConfigError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                The name of the AppImageConfig to delete.

                                                                                                                                                                                                                                                                                                                                                                                pub fn app_image_config_name( mut self, diff --git a/sdk/sagemaker/src/operation/delete_artifact/builders.rs b/sdk/sagemaker/src/operation/delete_artifact/builders.rs index f8cb38cb0b2c..8e90fe0c2f2d 100644 --- a/sdk/sagemaker/src/operation/delete_artifact/builders.rs +++ b/sdk/sagemaker/src/operation/delete_artifact/builders.rs @@ -19,9 +19,9 @@ impl DeleteArtifactFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl DeleteArtifactFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::delete_artifact::DeleteArtifact, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                The Amazon Resource Name (ARN) of the artifact to delete.

                                                                                                                                                                                                                                                                                                                                                                                pub fn artifact_arn(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.artifact_arn(input.into()); diff --git a/sdk/sagemaker/src/operation/delete_association/builders.rs b/sdk/sagemaker/src/operation/delete_association/builders.rs index 5b3c399167a1..9babf6ce41f1 100644 --- a/sdk/sagemaker/src/operation/delete_association/builders.rs +++ b/sdk/sagemaker/src/operation/delete_association/builders.rs @@ -19,9 +19,9 @@ impl DeleteAssociationFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl DeleteAssociationFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::delete_association::DeleteAssociation, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::delete_association::DeleteAssociationError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                The ARN of the source.

                                                                                                                                                                                                                                                                                                                                                                                pub fn source_arn(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.source_arn(input.into()); diff --git a/sdk/sagemaker/src/operation/delete_code_repository/builders.rs b/sdk/sagemaker/src/operation/delete_code_repository/builders.rs index 765c95622329..e93a60faaaae 100644 --- a/sdk/sagemaker/src/operation/delete_code_repository/builders.rs +++ b/sdk/sagemaker/src/operation/delete_code_repository/builders.rs @@ -19,9 +19,9 @@ impl DeleteCodeRepositoryFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl DeleteCodeRepositoryFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::delete_code_repository::DeleteCodeRepository, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::delete_code_repository::DeleteCodeRepositoryError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                The name of the Git repository to delete.

                                                                                                                                                                                                                                                                                                                                                                                pub fn code_repository_name( mut self, diff --git a/sdk/sagemaker/src/operation/delete_context/builders.rs b/sdk/sagemaker/src/operation/delete_context/builders.rs index 3fac04495902..eff33c5873ba 100644 --- a/sdk/sagemaker/src/operation/delete_context/builders.rs +++ b/sdk/sagemaker/src/operation/delete_context/builders.rs @@ -19,9 +19,9 @@ impl DeleteContextFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl DeleteContextFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::delete_context::DeleteContext, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                The name of the context to delete.

                                                                                                                                                                                                                                                                                                                                                                                pub fn context_name(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.context_name(input.into()); diff --git a/sdk/sagemaker/src/operation/delete_data_quality_job_definition/builders.rs b/sdk/sagemaker/src/operation/delete_data_quality_job_definition/builders.rs index 01c8f708e5ad..30c7c5d0f873 100644 --- a/sdk/sagemaker/src/operation/delete_data_quality_job_definition/builders.rs +++ b/sdk/sagemaker/src/operation/delete_data_quality_job_definition/builders.rs @@ -19,9 +19,9 @@ impl DeleteDataQualityJobDefinitionFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize(self) -> ::std::result::Result< + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware(self) -> ::std::result::Result< crate::client::customize::CustomizableOperation, ::aws_smithy_http::result::SdkError >{ @@ -64,6 +64,15 @@ impl DeleteDataQualityJobDefinitionFluentBuilder { { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize(self) -> ::std::result::Result< + crate::client::customize::CustomizableOperation, + ::aws_smithy_http::result::SdkError + >{ + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                The name of the data quality monitoring job definition to delete.

                                                                                                                                                                                                                                                                                                                                                                                pub fn job_definition_name( mut self, diff --git a/sdk/sagemaker/src/operation/delete_device_fleet/builders.rs b/sdk/sagemaker/src/operation/delete_device_fleet/builders.rs index f59e3d07bb96..08adb2e38864 100644 --- a/sdk/sagemaker/src/operation/delete_device_fleet/builders.rs +++ b/sdk/sagemaker/src/operation/delete_device_fleet/builders.rs @@ -19,9 +19,9 @@ impl DeleteDeviceFleetFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl DeleteDeviceFleetFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::delete_device_fleet::DeleteDeviceFleet, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::delete_device_fleet::DeleteDeviceFleetError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                The name of the fleet to delete.

                                                                                                                                                                                                                                                                                                                                                                                pub fn device_fleet_name( mut self, diff --git a/sdk/sagemaker/src/operation/delete_domain/builders.rs b/sdk/sagemaker/src/operation/delete_domain/builders.rs index e08cfe14aad0..bfa2b4dc8389 100644 --- a/sdk/sagemaker/src/operation/delete_domain/builders.rs +++ b/sdk/sagemaker/src/operation/delete_domain/builders.rs @@ -19,9 +19,9 @@ impl DeleteDomainFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl DeleteDomainFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::delete_domain::DeleteDomain, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                The domain ID.

                                                                                                                                                                                                                                                                                                                                                                                pub fn domain_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.domain_id(input.into()); diff --git a/sdk/sagemaker/src/operation/delete_edge_deployment_plan/builders.rs b/sdk/sagemaker/src/operation/delete_edge_deployment_plan/builders.rs index 2c4fd7fff7e7..d28d3e39ab73 100644 --- a/sdk/sagemaker/src/operation/delete_edge_deployment_plan/builders.rs +++ b/sdk/sagemaker/src/operation/delete_edge_deployment_plan/builders.rs @@ -19,9 +19,9 @@ impl DeleteEdgeDeploymentPlanFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl DeleteEdgeDeploymentPlanFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::delete_edge_deployment_plan::DeleteEdgeDeploymentPlan, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::delete_edge_deployment_plan::DeleteEdgeDeploymentPlanError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                The name of the edge deployment plan to delete.

                                                                                                                                                                                                                                                                                                                                                                                pub fn edge_deployment_plan_name( mut self, diff --git a/sdk/sagemaker/src/operation/delete_edge_deployment_stage/builders.rs b/sdk/sagemaker/src/operation/delete_edge_deployment_stage/builders.rs index 64471369bbfd..4ec754e8b635 100644 --- a/sdk/sagemaker/src/operation/delete_edge_deployment_stage/builders.rs +++ b/sdk/sagemaker/src/operation/delete_edge_deployment_stage/builders.rs @@ -19,9 +19,9 @@ impl DeleteEdgeDeploymentStageFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl DeleteEdgeDeploymentStageFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::delete_edge_deployment_stage::DeleteEdgeDeploymentStage, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::delete_edge_deployment_stage::DeleteEdgeDeploymentStageError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                The name of the edge deployment plan from which the stage will be deleted.

                                                                                                                                                                                                                                                                                                                                                                                pub fn edge_deployment_plan_name( mut self, diff --git a/sdk/sagemaker/src/operation/delete_endpoint/builders.rs b/sdk/sagemaker/src/operation/delete_endpoint/builders.rs index a4346e7032e7..7ae450e3c2db 100644 --- a/sdk/sagemaker/src/operation/delete_endpoint/builders.rs +++ b/sdk/sagemaker/src/operation/delete_endpoint/builders.rs @@ -21,9 +21,9 @@ impl DeleteEndpointFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -79,6 +79,20 @@ impl DeleteEndpointFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::delete_endpoint::DeleteEndpoint, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                The name of the endpoint that you want to delete.

                                                                                                                                                                                                                                                                                                                                                                                pub fn endpoint_name( mut self, diff --git a/sdk/sagemaker/src/operation/delete_endpoint_config/builders.rs b/sdk/sagemaker/src/operation/delete_endpoint_config/builders.rs index 55a98b664770..25d895a15270 100644 --- a/sdk/sagemaker/src/operation/delete_endpoint_config/builders.rs +++ b/sdk/sagemaker/src/operation/delete_endpoint_config/builders.rs @@ -20,9 +20,9 @@ impl DeleteEndpointConfigFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -84,6 +84,22 @@ impl DeleteEndpointConfigFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::delete_endpoint_config::DeleteEndpointConfig, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::delete_endpoint_config::DeleteEndpointConfigError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                The name of the endpoint configuration that you want to delete.

                                                                                                                                                                                                                                                                                                                                                                                pub fn endpoint_config_name( mut self, diff --git a/sdk/sagemaker/src/operation/delete_experiment/builders.rs b/sdk/sagemaker/src/operation/delete_experiment/builders.rs index d710b5ec2287..21da01ef6b74 100644 --- a/sdk/sagemaker/src/operation/delete_experiment/builders.rs +++ b/sdk/sagemaker/src/operation/delete_experiment/builders.rs @@ -19,9 +19,9 @@ impl DeleteExperimentFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl DeleteExperimentFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::delete_experiment::DeleteExperiment, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::delete_experiment::DeleteExperimentError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                The name of the experiment to delete.

                                                                                                                                                                                                                                                                                                                                                                                pub fn experiment_name( mut self, diff --git a/sdk/sagemaker/src/operation/delete_feature_group/builders.rs b/sdk/sagemaker/src/operation/delete_feature_group/builders.rs index a3e57da5c352..023527e5529c 100644 --- a/sdk/sagemaker/src/operation/delete_feature_group/builders.rs +++ b/sdk/sagemaker/src/operation/delete_feature_group/builders.rs @@ -20,9 +20,9 @@ impl DeleteFeatureGroupFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -84,6 +84,22 @@ impl DeleteFeatureGroupFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::delete_feature_group::DeleteFeatureGroup, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::delete_feature_group::DeleteFeatureGroupError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                The name of the FeatureGroup you want to delete. The name must be unique within an Amazon Web Services Region in an Amazon Web Services account.

                                                                                                                                                                                                                                                                                                                                                                                pub fn feature_group_name( mut self, diff --git a/sdk/sagemaker/src/operation/delete_flow_definition/builders.rs b/sdk/sagemaker/src/operation/delete_flow_definition/builders.rs index f3843708c65a..62a0c42304e4 100644 --- a/sdk/sagemaker/src/operation/delete_flow_definition/builders.rs +++ b/sdk/sagemaker/src/operation/delete_flow_definition/builders.rs @@ -19,9 +19,9 @@ impl DeleteFlowDefinitionFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl DeleteFlowDefinitionFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::delete_flow_definition::DeleteFlowDefinition, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::delete_flow_definition::DeleteFlowDefinitionError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                The name of the flow definition you are deleting.

                                                                                                                                                                                                                                                                                                                                                                                pub fn flow_definition_name( mut self, diff --git a/sdk/sagemaker/src/operation/delete_hub/builders.rs b/sdk/sagemaker/src/operation/delete_hub/builders.rs index a330b3611245..c1bfaa4e1e79 100644 --- a/sdk/sagemaker/src/operation/delete_hub/builders.rs +++ b/sdk/sagemaker/src/operation/delete_hub/builders.rs @@ -21,9 +21,9 @@ impl DeleteHubFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -79,6 +79,20 @@ impl DeleteHubFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::delete_hub::DeleteHub, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                The name of the hub to delete.

                                                                                                                                                                                                                                                                                                                                                                                pub fn hub_name(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.hub_name(input.into()); diff --git a/sdk/sagemaker/src/operation/delete_hub_content/builders.rs b/sdk/sagemaker/src/operation/delete_hub_content/builders.rs index 0748a8b89d04..4e160512ac82 100644 --- a/sdk/sagemaker/src/operation/delete_hub_content/builders.rs +++ b/sdk/sagemaker/src/operation/delete_hub_content/builders.rs @@ -21,9 +21,9 @@ impl DeleteHubContentFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -85,6 +85,22 @@ impl DeleteHubContentFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::delete_hub_content::DeleteHubContent, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::delete_hub_content::DeleteHubContentError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                The name of the hub that you want to delete content in.

                                                                                                                                                                                                                                                                                                                                                                                pub fn hub_name(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.hub_name(input.into()); diff --git a/sdk/sagemaker/src/operation/delete_human_task_ui/builders.rs b/sdk/sagemaker/src/operation/delete_human_task_ui/builders.rs index f32bc1b6ced5..144c77ea1cc1 100644 --- a/sdk/sagemaker/src/operation/delete_human_task_ui/builders.rs +++ b/sdk/sagemaker/src/operation/delete_human_task_ui/builders.rs @@ -20,9 +20,9 @@ impl DeleteHumanTaskUiFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -84,6 +84,22 @@ impl DeleteHumanTaskUiFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::delete_human_task_ui::DeleteHumanTaskUi, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::delete_human_task_ui::DeleteHumanTaskUiError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                The name of the human task user interface (work task template) you want to delete.

                                                                                                                                                                                                                                                                                                                                                                                pub fn human_task_ui_name( mut self, diff --git a/sdk/sagemaker/src/operation/delete_image/builders.rs b/sdk/sagemaker/src/operation/delete_image/builders.rs index 76ed8b3dc740..8696fcfe57be 100644 --- a/sdk/sagemaker/src/operation/delete_image/builders.rs +++ b/sdk/sagemaker/src/operation/delete_image/builders.rs @@ -19,9 +19,9 @@ impl DeleteImageFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl DeleteImageFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::delete_image::DeleteImage, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                The name of the image to delete.

                                                                                                                                                                                                                                                                                                                                                                                pub fn image_name(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.image_name(input.into()); diff --git a/sdk/sagemaker/src/operation/delete_image_version/builders.rs b/sdk/sagemaker/src/operation/delete_image_version/builders.rs index a1e9e0c8f21e..d64d5dad4e3a 100644 --- a/sdk/sagemaker/src/operation/delete_image_version/builders.rs +++ b/sdk/sagemaker/src/operation/delete_image_version/builders.rs @@ -19,9 +19,9 @@ impl DeleteImageVersionFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl DeleteImageVersionFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::delete_image_version::DeleteImageVersion, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::delete_image_version::DeleteImageVersionError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                The name of the image to delete.

                                                                                                                                                                                                                                                                                                                                                                                pub fn image_name(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.image_name(input.into()); diff --git a/sdk/sagemaker/src/operation/delete_inference_experiment/builders.rs b/sdk/sagemaker/src/operation/delete_inference_experiment/builders.rs index 934cfa841fd2..e77c7e03b27a 100644 --- a/sdk/sagemaker/src/operation/delete_inference_experiment/builders.rs +++ b/sdk/sagemaker/src/operation/delete_inference_experiment/builders.rs @@ -21,9 +21,9 @@ impl DeleteInferenceExperimentFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -85,6 +85,22 @@ impl DeleteInferenceExperimentFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::delete_inference_experiment::DeleteInferenceExperiment, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::delete_inference_experiment::DeleteInferenceExperimentError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                The name of the inference experiment you want to delete.

                                                                                                                                                                                                                                                                                                                                                                                pub fn name(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.name(input.into()); diff --git a/sdk/sagemaker/src/operation/delete_model/builders.rs b/sdk/sagemaker/src/operation/delete_model/builders.rs index 45072de9a6be..979846db3182 100644 --- a/sdk/sagemaker/src/operation/delete_model/builders.rs +++ b/sdk/sagemaker/src/operation/delete_model/builders.rs @@ -19,9 +19,9 @@ impl DeleteModelFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl DeleteModelFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::delete_model::DeleteModel, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                The name of the model to delete.

                                                                                                                                                                                                                                                                                                                                                                                pub fn model_name(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.model_name(input.into()); diff --git a/sdk/sagemaker/src/operation/delete_model_bias_job_definition/builders.rs b/sdk/sagemaker/src/operation/delete_model_bias_job_definition/builders.rs index 08d470f8d0b3..54932a3b0d6d 100644 --- a/sdk/sagemaker/src/operation/delete_model_bias_job_definition/builders.rs +++ b/sdk/sagemaker/src/operation/delete_model_bias_job_definition/builders.rs @@ -19,9 +19,9 @@ impl DeleteModelBiasJobDefinitionFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl DeleteModelBiasJobDefinitionFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::delete_model_bias_job_definition::DeleteModelBiasJobDefinition, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::delete_model_bias_job_definition::DeleteModelBiasJobDefinitionError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                The name of the model bias job definition to delete.

                                                                                                                                                                                                                                                                                                                                                                                pub fn job_definition_name( mut self, diff --git a/sdk/sagemaker/src/operation/delete_model_card/builders.rs b/sdk/sagemaker/src/operation/delete_model_card/builders.rs index 0fa1d71c7637..13600be61a4a 100644 --- a/sdk/sagemaker/src/operation/delete_model_card/builders.rs +++ b/sdk/sagemaker/src/operation/delete_model_card/builders.rs @@ -19,9 +19,9 @@ impl DeleteModelCardFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl DeleteModelCardFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::delete_model_card::DeleteModelCard, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::delete_model_card::DeleteModelCardError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                The name of the model card to delete.

                                                                                                                                                                                                                                                                                                                                                                                pub fn model_card_name( mut self, diff --git a/sdk/sagemaker/src/operation/delete_model_explainability_job_definition/builders.rs b/sdk/sagemaker/src/operation/delete_model_explainability_job_definition/builders.rs index 0f2752afb5c2..d4713022ff0d 100644 --- a/sdk/sagemaker/src/operation/delete_model_explainability_job_definition/builders.rs +++ b/sdk/sagemaker/src/operation/delete_model_explainability_job_definition/builders.rs @@ -19,9 +19,9 @@ impl DeleteModelExplainabilityJobDefinitionFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize(self) -> ::std::result::Result< + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware(self) -> ::std::result::Result< crate::client::customize::CustomizableOperation, ::aws_smithy_http::result::SdkError >{ @@ -64,6 +64,15 @@ impl DeleteModelExplainabilityJobDefinitionFluentBuilder { { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize(self) -> ::std::result::Result< + crate::client::customize::CustomizableOperation, + ::aws_smithy_http::result::SdkError + >{ + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                The name of the model explainability job definition to delete.

                                                                                                                                                                                                                                                                                                                                                                                pub fn job_definition_name( mut self, diff --git a/sdk/sagemaker/src/operation/delete_model_package/builders.rs b/sdk/sagemaker/src/operation/delete_model_package/builders.rs index 4399c9ede47b..db4f910fc4f1 100644 --- a/sdk/sagemaker/src/operation/delete_model_package/builders.rs +++ b/sdk/sagemaker/src/operation/delete_model_package/builders.rs @@ -20,9 +20,9 @@ impl DeleteModelPackageFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -84,6 +84,22 @@ impl DeleteModelPackageFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::delete_model_package::DeleteModelPackage, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::delete_model_package::DeleteModelPackageError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                The name or Amazon Resource Name (ARN) of the model package to delete.

                                                                                                                                                                                                                                                                                                                                                                                ///

                                                                                                                                                                                                                                                                                                                                                                                When you specify a name, the name must have 1 to 63 characters. Valid characters are a-z, A-Z, 0-9, and - (hyphen).

                                                                                                                                                                                                                                                                                                                                                                                pub fn model_package_name( diff --git a/sdk/sagemaker/src/operation/delete_model_package_group/builders.rs b/sdk/sagemaker/src/operation/delete_model_package_group/builders.rs index d36cff4a512b..74f7c2976c37 100644 --- a/sdk/sagemaker/src/operation/delete_model_package_group/builders.rs +++ b/sdk/sagemaker/src/operation/delete_model_package_group/builders.rs @@ -20,9 +20,9 @@ impl DeleteModelPackageGroupFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -84,6 +84,22 @@ impl DeleteModelPackageGroupFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::delete_model_package_group::DeleteModelPackageGroup, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::delete_model_package_group::DeleteModelPackageGroupError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                The name of the model group to delete.

                                                                                                                                                                                                                                                                                                                                                                                pub fn model_package_group_name( mut self, diff --git a/sdk/sagemaker/src/operation/delete_model_package_group_policy/builders.rs b/sdk/sagemaker/src/operation/delete_model_package_group_policy/builders.rs index ab93d584e226..91a19002864d 100644 --- a/sdk/sagemaker/src/operation/delete_model_package_group_policy/builders.rs +++ b/sdk/sagemaker/src/operation/delete_model_package_group_policy/builders.rs @@ -19,9 +19,9 @@ impl DeleteModelPackageGroupPolicyFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl DeleteModelPackageGroupPolicyFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::delete_model_package_group_policy::DeleteModelPackageGroupPolicy, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::delete_model_package_group_policy::DeleteModelPackageGroupPolicyError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                The name of the model group for which to delete the policy.

                                                                                                                                                                                                                                                                                                                                                                                pub fn model_package_group_name( mut self, diff --git a/sdk/sagemaker/src/operation/delete_model_quality_job_definition/builders.rs b/sdk/sagemaker/src/operation/delete_model_quality_job_definition/builders.rs index c282946de0a1..4235b3ba089e 100644 --- a/sdk/sagemaker/src/operation/delete_model_quality_job_definition/builders.rs +++ b/sdk/sagemaker/src/operation/delete_model_quality_job_definition/builders.rs @@ -19,9 +19,9 @@ impl DeleteModelQualityJobDefinitionFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize(self) -> ::std::result::Result< + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware(self) -> ::std::result::Result< crate::client::customize::CustomizableOperation, ::aws_smithy_http::result::SdkError >{ @@ -64,6 +64,15 @@ impl DeleteModelQualityJobDefinitionFluentBuilder { { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize(self) -> ::std::result::Result< + crate::client::customize::CustomizableOperation, + ::aws_smithy_http::result::SdkError + >{ + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                The name of the model quality monitoring job definition to delete.

                                                                                                                                                                                                                                                                                                                                                                                pub fn job_definition_name( mut self, diff --git a/sdk/sagemaker/src/operation/delete_monitoring_schedule/builders.rs b/sdk/sagemaker/src/operation/delete_monitoring_schedule/builders.rs index 59cb51888ec8..ecf7ebd3789d 100644 --- a/sdk/sagemaker/src/operation/delete_monitoring_schedule/builders.rs +++ b/sdk/sagemaker/src/operation/delete_monitoring_schedule/builders.rs @@ -19,9 +19,9 @@ impl DeleteMonitoringScheduleFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl DeleteMonitoringScheduleFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::delete_monitoring_schedule::DeleteMonitoringSchedule, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::delete_monitoring_schedule::DeleteMonitoringScheduleError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                The name of the monitoring schedule to delete.

                                                                                                                                                                                                                                                                                                                                                                                pub fn monitoring_schedule_name( mut self, diff --git a/sdk/sagemaker/src/operation/delete_notebook_instance/builders.rs b/sdk/sagemaker/src/operation/delete_notebook_instance/builders.rs index b7d9d6725094..4dae32a45e00 100644 --- a/sdk/sagemaker/src/operation/delete_notebook_instance/builders.rs +++ b/sdk/sagemaker/src/operation/delete_notebook_instance/builders.rs @@ -21,9 +21,9 @@ impl DeleteNotebookInstanceFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -85,6 +85,22 @@ impl DeleteNotebookInstanceFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::delete_notebook_instance::DeleteNotebookInstance, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::delete_notebook_instance::DeleteNotebookInstanceError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                The name of the SageMaker notebook instance to delete.

                                                                                                                                                                                                                                                                                                                                                                                pub fn notebook_instance_name( mut self, diff --git a/sdk/sagemaker/src/operation/delete_notebook_instance_lifecycle_config/builders.rs b/sdk/sagemaker/src/operation/delete_notebook_instance_lifecycle_config/builders.rs index 7b73c0c066e2..4d17db9af847 100644 --- a/sdk/sagemaker/src/operation/delete_notebook_instance_lifecycle_config/builders.rs +++ b/sdk/sagemaker/src/operation/delete_notebook_instance_lifecycle_config/builders.rs @@ -19,9 +19,9 @@ impl DeleteNotebookInstanceLifecycleConfigFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize(self) -> ::std::result::Result< + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware(self) -> ::std::result::Result< crate::client::customize::CustomizableOperation, ::aws_smithy_http::result::SdkError >{ @@ -64,6 +64,15 @@ impl DeleteNotebookInstanceLifecycleConfigFluentBuilder { { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize(self) -> ::std::result::Result< + crate::client::customize::CustomizableOperation, + ::aws_smithy_http::result::SdkError + >{ + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                The name of the lifecycle configuration to delete.

                                                                                                                                                                                                                                                                                                                                                                                pub fn notebook_instance_lifecycle_config_name( mut self, diff --git a/sdk/sagemaker/src/operation/delete_pipeline/builders.rs b/sdk/sagemaker/src/operation/delete_pipeline/builders.rs index 756f343ca152..e94dee21e74a 100644 --- a/sdk/sagemaker/src/operation/delete_pipeline/builders.rs +++ b/sdk/sagemaker/src/operation/delete_pipeline/builders.rs @@ -19,9 +19,9 @@ impl DeletePipelineFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl DeletePipelineFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::delete_pipeline::DeletePipeline, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                The name of the pipeline to delete.

                                                                                                                                                                                                                                                                                                                                                                                pub fn pipeline_name( mut self, diff --git a/sdk/sagemaker/src/operation/delete_project/builders.rs b/sdk/sagemaker/src/operation/delete_project/builders.rs index a4ac5be35c4b..42abd3844d5b 100644 --- a/sdk/sagemaker/src/operation/delete_project/builders.rs +++ b/sdk/sagemaker/src/operation/delete_project/builders.rs @@ -19,9 +19,9 @@ impl DeleteProjectFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl DeleteProjectFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::delete_project::DeleteProject, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                The name of the project to delete.

                                                                                                                                                                                                                                                                                                                                                                                pub fn project_name(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.project_name(input.into()); diff --git a/sdk/sagemaker/src/operation/delete_space/builders.rs b/sdk/sagemaker/src/operation/delete_space/builders.rs index 135011941dfd..3bb994f642e9 100644 --- a/sdk/sagemaker/src/operation/delete_space/builders.rs +++ b/sdk/sagemaker/src/operation/delete_space/builders.rs @@ -19,9 +19,9 @@ impl DeleteSpaceFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl DeleteSpaceFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::delete_space::DeleteSpace, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                The ID of the associated Domain.

                                                                                                                                                                                                                                                                                                                                                                                pub fn domain_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.domain_id(input.into()); diff --git a/sdk/sagemaker/src/operation/delete_studio_lifecycle_config/builders.rs b/sdk/sagemaker/src/operation/delete_studio_lifecycle_config/builders.rs index efd12a1bf3ce..c8a033ac7353 100644 --- a/sdk/sagemaker/src/operation/delete_studio_lifecycle_config/builders.rs +++ b/sdk/sagemaker/src/operation/delete_studio_lifecycle_config/builders.rs @@ -19,9 +19,9 @@ impl DeleteStudioLifecycleConfigFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl DeleteStudioLifecycleConfigFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::delete_studio_lifecycle_config::DeleteStudioLifecycleConfig, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::delete_studio_lifecycle_config::DeleteStudioLifecycleConfigError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                The name of the Studio Lifecycle Configuration to delete.

                                                                                                                                                                                                                                                                                                                                                                                pub fn studio_lifecycle_config_name( mut self, diff --git a/sdk/sagemaker/src/operation/delete_tags/builders.rs b/sdk/sagemaker/src/operation/delete_tags/builders.rs index ea2f8d2773f8..d964167f6519 100644 --- a/sdk/sagemaker/src/operation/delete_tags/builders.rs +++ b/sdk/sagemaker/src/operation/delete_tags/builders.rs @@ -24,9 +24,9 @@ impl DeleteTagsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -82,6 +82,20 @@ impl DeleteTagsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::delete_tags::DeleteTags, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                The Amazon Resource Name (ARN) of the resource whose tags you want to delete.

                                                                                                                                                                                                                                                                                                                                                                                pub fn resource_arn(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.resource_arn(input.into()); diff --git a/sdk/sagemaker/src/operation/delete_trial/builders.rs b/sdk/sagemaker/src/operation/delete_trial/builders.rs index 8f2a7fbf007b..76ba39c54338 100644 --- a/sdk/sagemaker/src/operation/delete_trial/builders.rs +++ b/sdk/sagemaker/src/operation/delete_trial/builders.rs @@ -19,9 +19,9 @@ impl DeleteTrialFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl DeleteTrialFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::delete_trial::DeleteTrial, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                The name of the trial to delete.

                                                                                                                                                                                                                                                                                                                                                                                pub fn trial_name(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.trial_name(input.into()); diff --git a/sdk/sagemaker/src/operation/delete_trial_component/builders.rs b/sdk/sagemaker/src/operation/delete_trial_component/builders.rs index 0fe25fccc3ed..248bbece7a73 100644 --- a/sdk/sagemaker/src/operation/delete_trial_component/builders.rs +++ b/sdk/sagemaker/src/operation/delete_trial_component/builders.rs @@ -19,9 +19,9 @@ impl DeleteTrialComponentFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl DeleteTrialComponentFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::delete_trial_component::DeleteTrialComponent, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::delete_trial_component::DeleteTrialComponentError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                The name of the component to delete.

                                                                                                                                                                                                                                                                                                                                                                                pub fn trial_component_name( mut self, diff --git a/sdk/sagemaker/src/operation/delete_user_profile/builders.rs b/sdk/sagemaker/src/operation/delete_user_profile/builders.rs index d0da1f007a02..f8239fce39f4 100644 --- a/sdk/sagemaker/src/operation/delete_user_profile/builders.rs +++ b/sdk/sagemaker/src/operation/delete_user_profile/builders.rs @@ -19,9 +19,9 @@ impl DeleteUserProfileFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl DeleteUserProfileFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::delete_user_profile::DeleteUserProfile, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::delete_user_profile::DeleteUserProfileError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                The domain ID.

                                                                                                                                                                                                                                                                                                                                                                                pub fn domain_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.domain_id(input.into()); diff --git a/sdk/sagemaker/src/operation/delete_workforce/builders.rs b/sdk/sagemaker/src/operation/delete_workforce/builders.rs index 572145657def..2eee24753d6f 100644 --- a/sdk/sagemaker/src/operation/delete_workforce/builders.rs +++ b/sdk/sagemaker/src/operation/delete_workforce/builders.rs @@ -22,9 +22,9 @@ impl DeleteWorkforceFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -86,6 +86,22 @@ impl DeleteWorkforceFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::delete_workforce::DeleteWorkforce, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::delete_workforce::DeleteWorkforceError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                The name of the workforce.

                                                                                                                                                                                                                                                                                                                                                                                pub fn workforce_name( mut self, diff --git a/sdk/sagemaker/src/operation/delete_workteam/builders.rs b/sdk/sagemaker/src/operation/delete_workteam/builders.rs index bdf5dd0e7bc3..cc5cf0db3f6e 100644 --- a/sdk/sagemaker/src/operation/delete_workteam/builders.rs +++ b/sdk/sagemaker/src/operation/delete_workteam/builders.rs @@ -19,9 +19,9 @@ impl DeleteWorkteamFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl DeleteWorkteamFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::delete_workteam::DeleteWorkteam, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                The name of the work team to delete.

                                                                                                                                                                                                                                                                                                                                                                                pub fn workteam_name( mut self, diff --git a/sdk/sagemaker/src/operation/deregister_devices/builders.rs b/sdk/sagemaker/src/operation/deregister_devices/builders.rs index 787468f1f05f..6aedca999d91 100644 --- a/sdk/sagemaker/src/operation/deregister_devices/builders.rs +++ b/sdk/sagemaker/src/operation/deregister_devices/builders.rs @@ -19,9 +19,9 @@ impl DeregisterDevicesFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl DeregisterDevicesFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::deregister_devices::DeregisterDevices, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::deregister_devices::DeregisterDevicesError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                The name of the fleet the devices belong to.

                                                                                                                                                                                                                                                                                                                                                                                pub fn device_fleet_name( mut self, diff --git a/sdk/sagemaker/src/operation/describe_action/builders.rs b/sdk/sagemaker/src/operation/describe_action/builders.rs index 3b51c7af5e14..14a023bf1e0c 100644 --- a/sdk/sagemaker/src/operation/describe_action/builders.rs +++ b/sdk/sagemaker/src/operation/describe_action/builders.rs @@ -19,9 +19,9 @@ impl DescribeActionFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl DescribeActionFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::describe_action::DescribeAction, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                The name of the action to describe.

                                                                                                                                                                                                                                                                                                                                                                                pub fn action_name(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.action_name(input.into()); diff --git a/sdk/sagemaker/src/operation/describe_algorithm/builders.rs b/sdk/sagemaker/src/operation/describe_algorithm/builders.rs index 0ffbec9d3175..25b06e37fb08 100644 --- a/sdk/sagemaker/src/operation/describe_algorithm/builders.rs +++ b/sdk/sagemaker/src/operation/describe_algorithm/builders.rs @@ -19,9 +19,9 @@ impl DescribeAlgorithmFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl DescribeAlgorithmFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::describe_algorithm::DescribeAlgorithm, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::describe_algorithm::DescribeAlgorithmError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                The name of the algorithm to describe.

                                                                                                                                                                                                                                                                                                                                                                                pub fn algorithm_name( mut self, diff --git a/sdk/sagemaker/src/operation/describe_app/builders.rs b/sdk/sagemaker/src/operation/describe_app/builders.rs index 8bed36f47282..1103c0b10c6a 100644 --- a/sdk/sagemaker/src/operation/describe_app/builders.rs +++ b/sdk/sagemaker/src/operation/describe_app/builders.rs @@ -19,9 +19,9 @@ impl DescribeAppFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl DescribeAppFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::describe_app::DescribeApp, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                The domain ID.

                                                                                                                                                                                                                                                                                                                                                                                pub fn domain_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.domain_id(input.into()); diff --git a/sdk/sagemaker/src/operation/describe_app_image_config/builders.rs b/sdk/sagemaker/src/operation/describe_app_image_config/builders.rs index 5dde84606f98..f0ae5a222bab 100644 --- a/sdk/sagemaker/src/operation/describe_app_image_config/builders.rs +++ b/sdk/sagemaker/src/operation/describe_app_image_config/builders.rs @@ -20,9 +20,9 @@ impl DescribeAppImageConfigFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -84,6 +84,22 @@ impl DescribeAppImageConfigFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::describe_app_image_config::DescribeAppImageConfig, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::describe_app_image_config::DescribeAppImageConfigError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                The name of the AppImageConfig to describe.

                                                                                                                                                                                                                                                                                                                                                                                pub fn app_image_config_name( mut self, diff --git a/sdk/sagemaker/src/operation/describe_artifact/builders.rs b/sdk/sagemaker/src/operation/describe_artifact/builders.rs index 4a7fa4e4c86c..9ce934624da4 100644 --- a/sdk/sagemaker/src/operation/describe_artifact/builders.rs +++ b/sdk/sagemaker/src/operation/describe_artifact/builders.rs @@ -19,9 +19,9 @@ impl DescribeArtifactFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl DescribeArtifactFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::describe_artifact::DescribeArtifact, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::describe_artifact::DescribeArtifactError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                The Amazon Resource Name (ARN) of the artifact to describe.

                                                                                                                                                                                                                                                                                                                                                                                pub fn artifact_arn(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.artifact_arn(input.into()); diff --git a/sdk/sagemaker/src/operation/describe_auto_ml_job/builders.rs b/sdk/sagemaker/src/operation/describe_auto_ml_job/builders.rs index bf90060c97da..f440eab9a940 100644 --- a/sdk/sagemaker/src/operation/describe_auto_ml_job/builders.rs +++ b/sdk/sagemaker/src/operation/describe_auto_ml_job/builders.rs @@ -19,9 +19,9 @@ impl DescribeAutoMLJobFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl DescribeAutoMLJobFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::describe_auto_ml_job::DescribeAutoMLJob, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::describe_auto_ml_job::DescribeAutoMLJobError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                Requests information about an AutoML job using its unique name.

                                                                                                                                                                                                                                                                                                                                                                                pub fn auto_ml_job_name( mut self, diff --git a/sdk/sagemaker/src/operation/describe_auto_ml_job_v2/builders.rs b/sdk/sagemaker/src/operation/describe_auto_ml_job_v2/builders.rs index b2e7cfcc8b4c..aa9562598511 100644 --- a/sdk/sagemaker/src/operation/describe_auto_ml_job_v2/builders.rs +++ b/sdk/sagemaker/src/operation/describe_auto_ml_job_v2/builders.rs @@ -21,9 +21,9 @@ impl DescribeAutoMLJobV2FluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -85,6 +85,22 @@ impl DescribeAutoMLJobV2FluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::describe_auto_ml_job_v2::DescribeAutoMLJobV2, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::describe_auto_ml_job_v2::DescribeAutoMLJobV2Error, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                Requests information about an AutoML V2 job using its unique name.

                                                                                                                                                                                                                                                                                                                                                                                pub fn auto_ml_job_name( mut self, diff --git a/sdk/sagemaker/src/operation/describe_code_repository/builders.rs b/sdk/sagemaker/src/operation/describe_code_repository/builders.rs index 9f97cd2fbc99..e43205f3d1ad 100644 --- a/sdk/sagemaker/src/operation/describe_code_repository/builders.rs +++ b/sdk/sagemaker/src/operation/describe_code_repository/builders.rs @@ -19,9 +19,9 @@ impl DescribeCodeRepositoryFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl DescribeCodeRepositoryFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::describe_code_repository::DescribeCodeRepository, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::describe_code_repository::DescribeCodeRepositoryError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                The name of the Git repository to describe.

                                                                                                                                                                                                                                                                                                                                                                                pub fn code_repository_name( mut self, diff --git a/sdk/sagemaker/src/operation/describe_compilation_job/builders.rs b/sdk/sagemaker/src/operation/describe_compilation_job/builders.rs index 932803441ad2..3119751cae14 100644 --- a/sdk/sagemaker/src/operation/describe_compilation_job/builders.rs +++ b/sdk/sagemaker/src/operation/describe_compilation_job/builders.rs @@ -20,9 +20,9 @@ impl DescribeCompilationJobFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -84,6 +84,22 @@ impl DescribeCompilationJobFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::describe_compilation_job::DescribeCompilationJob, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::describe_compilation_job::DescribeCompilationJobError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                The name of the model compilation job that you want information about.

                                                                                                                                                                                                                                                                                                                                                                                pub fn compilation_job_name( mut self, diff --git a/sdk/sagemaker/src/operation/describe_context/builders.rs b/sdk/sagemaker/src/operation/describe_context/builders.rs index 34a066699463..75dde31af9b3 100644 --- a/sdk/sagemaker/src/operation/describe_context/builders.rs +++ b/sdk/sagemaker/src/operation/describe_context/builders.rs @@ -19,9 +19,9 @@ impl DescribeContextFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl DescribeContextFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::describe_context::DescribeContext, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::describe_context::DescribeContextError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                The name of the context to describe.

                                                                                                                                                                                                                                                                                                                                                                                pub fn context_name(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.context_name(input.into()); diff --git a/sdk/sagemaker/src/operation/describe_data_quality_job_definition/builders.rs b/sdk/sagemaker/src/operation/describe_data_quality_job_definition/builders.rs index be667857fe85..db46aa4f6aa2 100644 --- a/sdk/sagemaker/src/operation/describe_data_quality_job_definition/builders.rs +++ b/sdk/sagemaker/src/operation/describe_data_quality_job_definition/builders.rs @@ -19,9 +19,9 @@ impl DescribeDataQualityJobDefinitionFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize(self) -> ::std::result::Result< + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware(self) -> ::std::result::Result< crate::client::customize::CustomizableOperation, ::aws_smithy_http::result::SdkError >{ @@ -64,6 +64,15 @@ impl DescribeDataQualityJobDefinitionFluentBuilder { { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize(self) -> ::std::result::Result< + crate::client::customize::CustomizableOperation, + ::aws_smithy_http::result::SdkError + >{ + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                The name of the data quality monitoring job definition to describe.

                                                                                                                                                                                                                                                                                                                                                                                pub fn job_definition_name( mut self, diff --git a/sdk/sagemaker/src/operation/describe_device/builders.rs b/sdk/sagemaker/src/operation/describe_device/builders.rs index 1c2b3cc4ac21..b2ebca64509f 100644 --- a/sdk/sagemaker/src/operation/describe_device/builders.rs +++ b/sdk/sagemaker/src/operation/describe_device/builders.rs @@ -19,9 +19,9 @@ impl DescribeDeviceFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl DescribeDeviceFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::describe_device::DescribeDevice, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                Next token of device description.

                                                                                                                                                                                                                                                                                                                                                                                pub fn next_token(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.next_token(input.into()); diff --git a/sdk/sagemaker/src/operation/describe_device_fleet/builders.rs b/sdk/sagemaker/src/operation/describe_device_fleet/builders.rs index 4dd2ff17aa6d..2c0a995aa920 100644 --- a/sdk/sagemaker/src/operation/describe_device_fleet/builders.rs +++ b/sdk/sagemaker/src/operation/describe_device_fleet/builders.rs @@ -19,9 +19,9 @@ impl DescribeDeviceFleetFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl DescribeDeviceFleetFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::describe_device_fleet::DescribeDeviceFleet, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::describe_device_fleet::DescribeDeviceFleetError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                The name of the fleet.

                                                                                                                                                                                                                                                                                                                                                                                pub fn device_fleet_name( mut self, diff --git a/sdk/sagemaker/src/operation/describe_domain/builders.rs b/sdk/sagemaker/src/operation/describe_domain/builders.rs index a79656104045..c29f7d1e552b 100644 --- a/sdk/sagemaker/src/operation/describe_domain/builders.rs +++ b/sdk/sagemaker/src/operation/describe_domain/builders.rs @@ -19,9 +19,9 @@ impl DescribeDomainFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl DescribeDomainFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::describe_domain::DescribeDomain, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                The domain ID.

                                                                                                                                                                                                                                                                                                                                                                                pub fn domain_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.domain_id(input.into()); diff --git a/sdk/sagemaker/src/operation/describe_edge_deployment_plan/builders.rs b/sdk/sagemaker/src/operation/describe_edge_deployment_plan/builders.rs index 951c6e37b5b0..1553ea6e05f0 100644 --- a/sdk/sagemaker/src/operation/describe_edge_deployment_plan/builders.rs +++ b/sdk/sagemaker/src/operation/describe_edge_deployment_plan/builders.rs @@ -19,9 +19,9 @@ impl DescribeEdgeDeploymentPlanFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl DescribeEdgeDeploymentPlanFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::describe_edge_deployment_plan::DescribeEdgeDeploymentPlan, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::describe_edge_deployment_plan::DescribeEdgeDeploymentPlanError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                The name of the deployment plan to describe.

                                                                                                                                                                                                                                                                                                                                                                                pub fn edge_deployment_plan_name( mut self, diff --git a/sdk/sagemaker/src/operation/describe_edge_packaging_job/builders.rs b/sdk/sagemaker/src/operation/describe_edge_packaging_job/builders.rs index 0286bceaaddd..b9fa96eca361 100644 --- a/sdk/sagemaker/src/operation/describe_edge_packaging_job/builders.rs +++ b/sdk/sagemaker/src/operation/describe_edge_packaging_job/builders.rs @@ -19,9 +19,9 @@ impl DescribeEdgePackagingJobFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl DescribeEdgePackagingJobFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::describe_edge_packaging_job::DescribeEdgePackagingJob, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::describe_edge_packaging_job::DescribeEdgePackagingJobError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                The name of the edge packaging job.

                                                                                                                                                                                                                                                                                                                                                                                pub fn edge_packaging_job_name( mut self, diff --git a/sdk/sagemaker/src/operation/describe_endpoint/builders.rs b/sdk/sagemaker/src/operation/describe_endpoint/builders.rs index d65b90c11438..d60bf1e0eab4 100644 --- a/sdk/sagemaker/src/operation/describe_endpoint/builders.rs +++ b/sdk/sagemaker/src/operation/describe_endpoint/builders.rs @@ -19,9 +19,9 @@ impl DescribeEndpointFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl DescribeEndpointFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::describe_endpoint::DescribeEndpoint, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::describe_endpoint::DescribeEndpointError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                The name of the endpoint.

                                                                                                                                                                                                                                                                                                                                                                                pub fn endpoint_name( mut self, diff --git a/sdk/sagemaker/src/operation/describe_endpoint_config/builders.rs b/sdk/sagemaker/src/operation/describe_endpoint_config/builders.rs index 85c07899ae45..3d2fcef1394b 100644 --- a/sdk/sagemaker/src/operation/describe_endpoint_config/builders.rs +++ b/sdk/sagemaker/src/operation/describe_endpoint_config/builders.rs @@ -19,9 +19,9 @@ impl DescribeEndpointConfigFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl DescribeEndpointConfigFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::describe_endpoint_config::DescribeEndpointConfig, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::describe_endpoint_config::DescribeEndpointConfigError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                The name of the endpoint configuration.

                                                                                                                                                                                                                                                                                                                                                                                pub fn endpoint_config_name( mut self, diff --git a/sdk/sagemaker/src/operation/describe_experiment/builders.rs b/sdk/sagemaker/src/operation/describe_experiment/builders.rs index 1d61d95813c3..a3d55ade69f9 100644 --- a/sdk/sagemaker/src/operation/describe_experiment/builders.rs +++ b/sdk/sagemaker/src/operation/describe_experiment/builders.rs @@ -19,9 +19,9 @@ impl DescribeExperimentFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl DescribeExperimentFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::describe_experiment::DescribeExperiment, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::describe_experiment::DescribeExperimentError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                The name of the experiment to describe.

                                                                                                                                                                                                                                                                                                                                                                                pub fn experiment_name( mut self, diff --git a/sdk/sagemaker/src/operation/describe_feature_group/builders.rs b/sdk/sagemaker/src/operation/describe_feature_group/builders.rs index 768ab29e2b2f..dd17baa7bae0 100644 --- a/sdk/sagemaker/src/operation/describe_feature_group/builders.rs +++ b/sdk/sagemaker/src/operation/describe_feature_group/builders.rs @@ -19,9 +19,9 @@ impl DescribeFeatureGroupFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl DescribeFeatureGroupFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::describe_feature_group::DescribeFeatureGroup, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::describe_feature_group::DescribeFeatureGroupError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                The name of the FeatureGroup you want described.

                                                                                                                                                                                                                                                                                                                                                                                pub fn feature_group_name( mut self, diff --git a/sdk/sagemaker/src/operation/describe_feature_metadata/builders.rs b/sdk/sagemaker/src/operation/describe_feature_metadata/builders.rs index 73877baf51cb..6ff509e4d3f4 100644 --- a/sdk/sagemaker/src/operation/describe_feature_metadata/builders.rs +++ b/sdk/sagemaker/src/operation/describe_feature_metadata/builders.rs @@ -20,9 +20,9 @@ impl DescribeFeatureMetadataFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -84,6 +84,22 @@ impl DescribeFeatureMetadataFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::describe_feature_metadata::DescribeFeatureMetadata, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::describe_feature_metadata::DescribeFeatureMetadataError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                The name of the feature group containing the feature.

                                                                                                                                                                                                                                                                                                                                                                                pub fn feature_group_name( mut self, diff --git a/sdk/sagemaker/src/operation/describe_flow_definition/builders.rs b/sdk/sagemaker/src/operation/describe_flow_definition/builders.rs index 2991d5a91878..4fcc50818174 100644 --- a/sdk/sagemaker/src/operation/describe_flow_definition/builders.rs +++ b/sdk/sagemaker/src/operation/describe_flow_definition/builders.rs @@ -19,9 +19,9 @@ impl DescribeFlowDefinitionFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl DescribeFlowDefinitionFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::describe_flow_definition::DescribeFlowDefinition, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::describe_flow_definition::DescribeFlowDefinitionError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                The name of the flow definition.

                                                                                                                                                                                                                                                                                                                                                                                pub fn flow_definition_name( mut self, diff --git a/sdk/sagemaker/src/operation/describe_hub/builders.rs b/sdk/sagemaker/src/operation/describe_hub/builders.rs index 458a3add9690..cc2b303d15ed 100644 --- a/sdk/sagemaker/src/operation/describe_hub/builders.rs +++ b/sdk/sagemaker/src/operation/describe_hub/builders.rs @@ -21,9 +21,9 @@ impl DescribeHubFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -79,6 +79,20 @@ impl DescribeHubFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::describe_hub::DescribeHub, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                The name of the hub to describe.

                                                                                                                                                                                                                                                                                                                                                                                pub fn hub_name(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.hub_name(input.into()); diff --git a/sdk/sagemaker/src/operation/describe_hub_content/builders.rs b/sdk/sagemaker/src/operation/describe_hub_content/builders.rs index 0acdb17e08af..7b85f39e1097 100644 --- a/sdk/sagemaker/src/operation/describe_hub_content/builders.rs +++ b/sdk/sagemaker/src/operation/describe_hub_content/builders.rs @@ -21,9 +21,9 @@ impl DescribeHubContentFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -85,6 +85,22 @@ impl DescribeHubContentFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::describe_hub_content::DescribeHubContent, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::describe_hub_content::DescribeHubContentError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                The name of the hub that contains the content to describe.

                                                                                                                                                                                                                                                                                                                                                                                pub fn hub_name(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.hub_name(input.into()); diff --git a/sdk/sagemaker/src/operation/describe_human_task_ui/builders.rs b/sdk/sagemaker/src/operation/describe_human_task_ui/builders.rs index cdcadbbe1291..0eb1e70aa78c 100644 --- a/sdk/sagemaker/src/operation/describe_human_task_ui/builders.rs +++ b/sdk/sagemaker/src/operation/describe_human_task_ui/builders.rs @@ -19,9 +19,9 @@ impl DescribeHumanTaskUiFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl DescribeHumanTaskUiFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::describe_human_task_ui::DescribeHumanTaskUi, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::describe_human_task_ui::DescribeHumanTaskUiError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                The name of the human task user interface (worker task template) you want information about.

                                                                                                                                                                                                                                                                                                                                                                                pub fn human_task_ui_name( mut self, diff --git a/sdk/sagemaker/src/operation/describe_hyper_parameter_tuning_job/builders.rs b/sdk/sagemaker/src/operation/describe_hyper_parameter_tuning_job/builders.rs index 468b8b9678aa..2a16f2ae045e 100644 --- a/sdk/sagemaker/src/operation/describe_hyper_parameter_tuning_job/builders.rs +++ b/sdk/sagemaker/src/operation/describe_hyper_parameter_tuning_job/builders.rs @@ -19,9 +19,9 @@ impl DescribeHyperParameterTuningJobFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize(self) -> ::std::result::Result< + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware(self) -> ::std::result::Result< crate::client::customize::CustomizableOperation, ::aws_smithy_http::result::SdkError >{ @@ -64,6 +64,15 @@ impl DescribeHyperParameterTuningJobFluentBuilder { { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize(self) -> ::std::result::Result< + crate::client::customize::CustomizableOperation, + ::aws_smithy_http::result::SdkError + >{ + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                The name of the tuning job.

                                                                                                                                                                                                                                                                                                                                                                                pub fn hyper_parameter_tuning_job_name( mut self, diff --git a/sdk/sagemaker/src/operation/describe_image/builders.rs b/sdk/sagemaker/src/operation/describe_image/builders.rs index 5fec5da5581d..7c1f8ccc6d9c 100644 --- a/sdk/sagemaker/src/operation/describe_image/builders.rs +++ b/sdk/sagemaker/src/operation/describe_image/builders.rs @@ -19,9 +19,9 @@ impl DescribeImageFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl DescribeImageFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::describe_image::DescribeImage, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                The name of the image to describe.

                                                                                                                                                                                                                                                                                                                                                                                pub fn image_name(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.image_name(input.into()); diff --git a/sdk/sagemaker/src/operation/describe_image_version/builders.rs b/sdk/sagemaker/src/operation/describe_image_version/builders.rs index b652999e5f6b..0dff32410308 100644 --- a/sdk/sagemaker/src/operation/describe_image_version/builders.rs +++ b/sdk/sagemaker/src/operation/describe_image_version/builders.rs @@ -19,9 +19,9 @@ impl DescribeImageVersionFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl DescribeImageVersionFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::describe_image_version::DescribeImageVersion, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::describe_image_version::DescribeImageVersionError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                The name of the image.

                                                                                                                                                                                                                                                                                                                                                                                pub fn image_name(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.image_name(input.into()); diff --git a/sdk/sagemaker/src/operation/describe_inference_experiment/builders.rs b/sdk/sagemaker/src/operation/describe_inference_experiment/builders.rs index 6fb85c77d3fd..48c0dc9f4efa 100644 --- a/sdk/sagemaker/src/operation/describe_inference_experiment/builders.rs +++ b/sdk/sagemaker/src/operation/describe_inference_experiment/builders.rs @@ -19,9 +19,9 @@ impl DescribeInferenceExperimentFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl DescribeInferenceExperimentFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::describe_inference_experiment::DescribeInferenceExperiment, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::describe_inference_experiment::DescribeInferenceExperimentError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                The name of the inference experiment to describe.

                                                                                                                                                                                                                                                                                                                                                                                pub fn name(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.name(input.into()); diff --git a/sdk/sagemaker/src/operation/describe_inference_recommendations_job/builders.rs b/sdk/sagemaker/src/operation/describe_inference_recommendations_job/builders.rs index c603bccbe437..adc69422513a 100644 --- a/sdk/sagemaker/src/operation/describe_inference_recommendations_job/builders.rs +++ b/sdk/sagemaker/src/operation/describe_inference_recommendations_job/builders.rs @@ -19,9 +19,9 @@ impl DescribeInferenceRecommendationsJobFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize(self) -> ::std::result::Result< + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware(self) -> ::std::result::Result< crate::client::customize::CustomizableOperation, ::aws_smithy_http::result::SdkError >{ @@ -64,6 +64,15 @@ impl DescribeInferenceRecommendationsJobFluentBuilder { { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize(self) -> ::std::result::Result< + crate::client::customize::CustomizableOperation, + ::aws_smithy_http::result::SdkError + >{ + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                The name of the job. The name must be unique within an Amazon Web Services Region in the Amazon Web Services account.

                                                                                                                                                                                                                                                                                                                                                                                pub fn job_name(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.job_name(input.into()); diff --git a/sdk/sagemaker/src/operation/describe_labeling_job/builders.rs b/sdk/sagemaker/src/operation/describe_labeling_job/builders.rs index 55330b928827..defca70c9250 100644 --- a/sdk/sagemaker/src/operation/describe_labeling_job/builders.rs +++ b/sdk/sagemaker/src/operation/describe_labeling_job/builders.rs @@ -19,9 +19,9 @@ impl DescribeLabelingJobFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl DescribeLabelingJobFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::describe_labeling_job::DescribeLabelingJob, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::describe_labeling_job::DescribeLabelingJobError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                The name of the labeling job to return information for.

                                                                                                                                                                                                                                                                                                                                                                                pub fn labeling_job_name( mut self, diff --git a/sdk/sagemaker/src/operation/describe_lineage_group/builders.rs b/sdk/sagemaker/src/operation/describe_lineage_group/builders.rs index ff4645cc43c4..4f84e1f1b8ec 100644 --- a/sdk/sagemaker/src/operation/describe_lineage_group/builders.rs +++ b/sdk/sagemaker/src/operation/describe_lineage_group/builders.rs @@ -19,9 +19,9 @@ impl DescribeLineageGroupFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl DescribeLineageGroupFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::describe_lineage_group::DescribeLineageGroup, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::describe_lineage_group::DescribeLineageGroupError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                The name of the lineage group.

                                                                                                                                                                                                                                                                                                                                                                                pub fn lineage_group_name( mut self, diff --git a/sdk/sagemaker/src/operation/describe_model/builders.rs b/sdk/sagemaker/src/operation/describe_model/builders.rs index f1bbbd8f0304..238d76d951ea 100644 --- a/sdk/sagemaker/src/operation/describe_model/builders.rs +++ b/sdk/sagemaker/src/operation/describe_model/builders.rs @@ -19,9 +19,9 @@ impl DescribeModelFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl DescribeModelFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::describe_model::DescribeModel, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                The name of the model.

                                                                                                                                                                                                                                                                                                                                                                                pub fn model_name(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.model_name(input.into()); diff --git a/sdk/sagemaker/src/operation/describe_model_bias_job_definition/builders.rs b/sdk/sagemaker/src/operation/describe_model_bias_job_definition/builders.rs index cbcc739fea95..0337b9e39f33 100644 --- a/sdk/sagemaker/src/operation/describe_model_bias_job_definition/builders.rs +++ b/sdk/sagemaker/src/operation/describe_model_bias_job_definition/builders.rs @@ -19,9 +19,9 @@ impl DescribeModelBiasJobDefinitionFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize(self) -> ::std::result::Result< + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware(self) -> ::std::result::Result< crate::client::customize::CustomizableOperation, ::aws_smithy_http::result::SdkError >{ @@ -64,6 +64,15 @@ impl DescribeModelBiasJobDefinitionFluentBuilder { { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize(self) -> ::std::result::Result< + crate::client::customize::CustomizableOperation, + ::aws_smithy_http::result::SdkError + >{ + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                The name of the model bias job definition. The name must be unique within an Amazon Web Services Region in the Amazon Web Services account.

                                                                                                                                                                                                                                                                                                                                                                                pub fn job_definition_name( mut self, diff --git a/sdk/sagemaker/src/operation/describe_model_card/builders.rs b/sdk/sagemaker/src/operation/describe_model_card/builders.rs index 90e6cb686fc0..24dbe8b21f3d 100644 --- a/sdk/sagemaker/src/operation/describe_model_card/builders.rs +++ b/sdk/sagemaker/src/operation/describe_model_card/builders.rs @@ -19,9 +19,9 @@ impl DescribeModelCardFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl DescribeModelCardFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::describe_model_card::DescribeModelCard, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::describe_model_card::DescribeModelCardError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                The name of the model card to describe.

                                                                                                                                                                                                                                                                                                                                                                                pub fn model_card_name( mut self, diff --git a/sdk/sagemaker/src/operation/describe_model_card_export_job/builders.rs b/sdk/sagemaker/src/operation/describe_model_card_export_job/builders.rs index 938835b39662..e7db6721e728 100644 --- a/sdk/sagemaker/src/operation/describe_model_card_export_job/builders.rs +++ b/sdk/sagemaker/src/operation/describe_model_card_export_job/builders.rs @@ -19,9 +19,9 @@ impl DescribeModelCardExportJobFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl DescribeModelCardExportJobFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::describe_model_card_export_job::DescribeModelCardExportJob, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::describe_model_card_export_job::DescribeModelCardExportJobError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                The Amazon Resource Name (ARN) of the model card export job to describe.

                                                                                                                                                                                                                                                                                                                                                                                pub fn model_card_export_job_arn( mut self, diff --git a/sdk/sagemaker/src/operation/describe_model_explainability_job_definition/builders.rs b/sdk/sagemaker/src/operation/describe_model_explainability_job_definition/builders.rs index a47b2d33ee96..c704a0a7ca2e 100644 --- a/sdk/sagemaker/src/operation/describe_model_explainability_job_definition/builders.rs +++ b/sdk/sagemaker/src/operation/describe_model_explainability_job_definition/builders.rs @@ -19,9 +19,9 @@ impl DescribeModelExplainabilityJobDefinitionFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize(self) -> ::std::result::Result< + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware(self) -> ::std::result::Result< crate::client::customize::CustomizableOperation, ::aws_smithy_http::result::SdkError >{ @@ -64,6 +64,15 @@ impl DescribeModelExplainabilityJobDefinitionFluentBuilder { { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize(self) -> ::std::result::Result< + crate::client::customize::CustomizableOperation, + ::aws_smithy_http::result::SdkError + >{ + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                The name of the model explainability job definition. The name must be unique within an Amazon Web Services Region in the Amazon Web Services account.

                                                                                                                                                                                                                                                                                                                                                                                pub fn job_definition_name( mut self, diff --git a/sdk/sagemaker/src/operation/describe_model_package/builders.rs b/sdk/sagemaker/src/operation/describe_model_package/builders.rs index f00784d5c0e0..6744ca90b168 100644 --- a/sdk/sagemaker/src/operation/describe_model_package/builders.rs +++ b/sdk/sagemaker/src/operation/describe_model_package/builders.rs @@ -20,9 +20,9 @@ impl DescribeModelPackageFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -84,6 +84,22 @@ impl DescribeModelPackageFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::describe_model_package::DescribeModelPackage, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::describe_model_package::DescribeModelPackageError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                The name or Amazon Resource Name (ARN) of the model package to describe.

                                                                                                                                                                                                                                                                                                                                                                                ///

                                                                                                                                                                                                                                                                                                                                                                                When you specify a name, the name must have 1 to 63 characters. Valid characters are a-z, A-Z, 0-9, and - (hyphen).

                                                                                                                                                                                                                                                                                                                                                                                pub fn model_package_name( diff --git a/sdk/sagemaker/src/operation/describe_model_package_group/builders.rs b/sdk/sagemaker/src/operation/describe_model_package_group/builders.rs index cc2305d1bbf9..8d6343b48280 100644 --- a/sdk/sagemaker/src/operation/describe_model_package_group/builders.rs +++ b/sdk/sagemaker/src/operation/describe_model_package_group/builders.rs @@ -19,9 +19,9 @@ impl DescribeModelPackageGroupFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl DescribeModelPackageGroupFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::describe_model_package_group::DescribeModelPackageGroup, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::describe_model_package_group::DescribeModelPackageGroupError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                The name of gthe model group to describe.

                                                                                                                                                                                                                                                                                                                                                                                pub fn model_package_group_name( mut self, diff --git a/sdk/sagemaker/src/operation/describe_model_quality_job_definition/builders.rs b/sdk/sagemaker/src/operation/describe_model_quality_job_definition/builders.rs index cee467f2efce..58d5be24a67e 100644 --- a/sdk/sagemaker/src/operation/describe_model_quality_job_definition/builders.rs +++ b/sdk/sagemaker/src/operation/describe_model_quality_job_definition/builders.rs @@ -19,9 +19,9 @@ impl DescribeModelQualityJobDefinitionFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize(self) -> ::std::result::Result< + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware(self) -> ::std::result::Result< crate::client::customize::CustomizableOperation, ::aws_smithy_http::result::SdkError >{ @@ -64,6 +64,15 @@ impl DescribeModelQualityJobDefinitionFluentBuilder { { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize(self) -> ::std::result::Result< + crate::client::customize::CustomizableOperation, + ::aws_smithy_http::result::SdkError + >{ + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                The name of the model quality job. The name must be unique within an Amazon Web Services Region in the Amazon Web Services account.

                                                                                                                                                                                                                                                                                                                                                                                pub fn job_definition_name( mut self, diff --git a/sdk/sagemaker/src/operation/describe_monitoring_schedule/builders.rs b/sdk/sagemaker/src/operation/describe_monitoring_schedule/builders.rs index 4dfa3a25af23..6d8da451e22f 100644 --- a/sdk/sagemaker/src/operation/describe_monitoring_schedule/builders.rs +++ b/sdk/sagemaker/src/operation/describe_monitoring_schedule/builders.rs @@ -19,9 +19,9 @@ impl DescribeMonitoringScheduleFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl DescribeMonitoringScheduleFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::describe_monitoring_schedule::DescribeMonitoringSchedule, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::describe_monitoring_schedule::DescribeMonitoringScheduleError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                Name of a previously created monitoring schedule.

                                                                                                                                                                                                                                                                                                                                                                                pub fn monitoring_schedule_name( mut self, diff --git a/sdk/sagemaker/src/operation/describe_notebook_instance/builders.rs b/sdk/sagemaker/src/operation/describe_notebook_instance/builders.rs index bc2f3251d7b8..7f1a3232bd39 100644 --- a/sdk/sagemaker/src/operation/describe_notebook_instance/builders.rs +++ b/sdk/sagemaker/src/operation/describe_notebook_instance/builders.rs @@ -19,9 +19,9 @@ impl DescribeNotebookInstanceFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl DescribeNotebookInstanceFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::describe_notebook_instance::DescribeNotebookInstance, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::describe_notebook_instance::DescribeNotebookInstanceError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                The name of the notebook instance that you want information about.

                                                                                                                                                                                                                                                                                                                                                                                pub fn notebook_instance_name( mut self, diff --git a/sdk/sagemaker/src/operation/describe_notebook_instance_lifecycle_config/builders.rs b/sdk/sagemaker/src/operation/describe_notebook_instance_lifecycle_config/builders.rs index e8e180be4f6e..afd661e14660 100644 --- a/sdk/sagemaker/src/operation/describe_notebook_instance_lifecycle_config/builders.rs +++ b/sdk/sagemaker/src/operation/describe_notebook_instance_lifecycle_config/builders.rs @@ -20,9 +20,9 @@ impl DescribeNotebookInstanceLifecycleConfigFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize(self) -> ::std::result::Result< + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware(self) -> ::std::result::Result< crate::client::customize::CustomizableOperation, ::aws_smithy_http::result::SdkError >{ @@ -65,6 +65,15 @@ impl DescribeNotebookInstanceLifecycleConfigFluentBuilder { { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize(self) -> ::std::result::Result< + crate::client::customize::CustomizableOperation, + ::aws_smithy_http::result::SdkError + >{ + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                The name of the lifecycle configuration to describe.

                                                                                                                                                                                                                                                                                                                                                                                pub fn notebook_instance_lifecycle_config_name( mut self, diff --git a/sdk/sagemaker/src/operation/describe_pipeline/builders.rs b/sdk/sagemaker/src/operation/describe_pipeline/builders.rs index 165ffb723870..adae11424b8b 100644 --- a/sdk/sagemaker/src/operation/describe_pipeline/builders.rs +++ b/sdk/sagemaker/src/operation/describe_pipeline/builders.rs @@ -19,9 +19,9 @@ impl DescribePipelineFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl DescribePipelineFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::describe_pipeline::DescribePipeline, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::describe_pipeline::DescribePipelineError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                The name of the pipeline to describe.

                                                                                                                                                                                                                                                                                                                                                                                pub fn pipeline_name( mut self, diff --git a/sdk/sagemaker/src/operation/describe_pipeline_definition_for_execution/builders.rs b/sdk/sagemaker/src/operation/describe_pipeline_definition_for_execution/builders.rs index 913e0202916c..a92e35868dcd 100644 --- a/sdk/sagemaker/src/operation/describe_pipeline_definition_for_execution/builders.rs +++ b/sdk/sagemaker/src/operation/describe_pipeline_definition_for_execution/builders.rs @@ -19,9 +19,9 @@ impl DescribePipelineDefinitionForExecutionFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize(self) -> ::std::result::Result< + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware(self) -> ::std::result::Result< crate::client::customize::CustomizableOperation, ::aws_smithy_http::result::SdkError >{ @@ -64,6 +64,15 @@ impl DescribePipelineDefinitionForExecutionFluentBuilder { { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize(self) -> ::std::result::Result< + crate::client::customize::CustomizableOperation, + ::aws_smithy_http::result::SdkError + >{ + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                The Amazon Resource Name (ARN) of the pipeline execution.

                                                                                                                                                                                                                                                                                                                                                                                pub fn pipeline_execution_arn( mut self, diff --git a/sdk/sagemaker/src/operation/describe_pipeline_execution/builders.rs b/sdk/sagemaker/src/operation/describe_pipeline_execution/builders.rs index 2f7ea507ea0f..e5cbbedbcbe5 100644 --- a/sdk/sagemaker/src/operation/describe_pipeline_execution/builders.rs +++ b/sdk/sagemaker/src/operation/describe_pipeline_execution/builders.rs @@ -19,9 +19,9 @@ impl DescribePipelineExecutionFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl DescribePipelineExecutionFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::describe_pipeline_execution::DescribePipelineExecution, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::describe_pipeline_execution::DescribePipelineExecutionError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                The Amazon Resource Name (ARN) of the pipeline execution.

                                                                                                                                                                                                                                                                                                                                                                                pub fn pipeline_execution_arn( mut self, diff --git a/sdk/sagemaker/src/operation/describe_processing_job/builders.rs b/sdk/sagemaker/src/operation/describe_processing_job/builders.rs index 19c588449c05..0cff327a3124 100644 --- a/sdk/sagemaker/src/operation/describe_processing_job/builders.rs +++ b/sdk/sagemaker/src/operation/describe_processing_job/builders.rs @@ -19,9 +19,9 @@ impl DescribeProcessingJobFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl DescribeProcessingJobFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::describe_processing_job::DescribeProcessingJob, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::describe_processing_job::DescribeProcessingJobError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                The name of the processing job. The name must be unique within an Amazon Web Services Region in the Amazon Web Services account.

                                                                                                                                                                                                                                                                                                                                                                                pub fn processing_job_name( mut self, diff --git a/sdk/sagemaker/src/operation/describe_project/builders.rs b/sdk/sagemaker/src/operation/describe_project/builders.rs index d4abf1635276..5ec9eaf4bf81 100644 --- a/sdk/sagemaker/src/operation/describe_project/builders.rs +++ b/sdk/sagemaker/src/operation/describe_project/builders.rs @@ -19,9 +19,9 @@ impl DescribeProjectFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl DescribeProjectFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::describe_project::DescribeProject, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::describe_project::DescribeProjectError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                The name of the project to describe.

                                                                                                                                                                                                                                                                                                                                                                                pub fn project_name(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.project_name(input.into()); diff --git a/sdk/sagemaker/src/operation/describe_space/builders.rs b/sdk/sagemaker/src/operation/describe_space/builders.rs index 9e18cdde9563..7d7bde67669e 100644 --- a/sdk/sagemaker/src/operation/describe_space/builders.rs +++ b/sdk/sagemaker/src/operation/describe_space/builders.rs @@ -19,9 +19,9 @@ impl DescribeSpaceFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl DescribeSpaceFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::describe_space::DescribeSpace, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                The ID of the associated Domain.

                                                                                                                                                                                                                                                                                                                                                                                pub fn domain_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.domain_id(input.into()); diff --git a/sdk/sagemaker/src/operation/describe_studio_lifecycle_config/builders.rs b/sdk/sagemaker/src/operation/describe_studio_lifecycle_config/builders.rs index 7ed26175dd22..ebb0d31415b4 100644 --- a/sdk/sagemaker/src/operation/describe_studio_lifecycle_config/builders.rs +++ b/sdk/sagemaker/src/operation/describe_studio_lifecycle_config/builders.rs @@ -19,9 +19,9 @@ impl DescribeStudioLifecycleConfigFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl DescribeStudioLifecycleConfigFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::describe_studio_lifecycle_config::DescribeStudioLifecycleConfig, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::describe_studio_lifecycle_config::DescribeStudioLifecycleConfigError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                The name of the Studio Lifecycle Configuration to describe.

                                                                                                                                                                                                                                                                                                                                                                                pub fn studio_lifecycle_config_name( mut self, diff --git a/sdk/sagemaker/src/operation/describe_subscribed_workteam/builders.rs b/sdk/sagemaker/src/operation/describe_subscribed_workteam/builders.rs index 3d4cf37307e0..79cdb0d0f70b 100644 --- a/sdk/sagemaker/src/operation/describe_subscribed_workteam/builders.rs +++ b/sdk/sagemaker/src/operation/describe_subscribed_workteam/builders.rs @@ -19,9 +19,9 @@ impl DescribeSubscribedWorkteamFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl DescribeSubscribedWorkteamFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::describe_subscribed_workteam::DescribeSubscribedWorkteam, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::describe_subscribed_workteam::DescribeSubscribedWorkteamError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                The Amazon Resource Name (ARN) of the subscribed work team to describe.

                                                                                                                                                                                                                                                                                                                                                                                pub fn workteam_arn(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.workteam_arn(input.into()); diff --git a/sdk/sagemaker/src/operation/describe_training_job/builders.rs b/sdk/sagemaker/src/operation/describe_training_job/builders.rs index 612f473bf426..dfb00f22b0a1 100644 --- a/sdk/sagemaker/src/operation/describe_training_job/builders.rs +++ b/sdk/sagemaker/src/operation/describe_training_job/builders.rs @@ -20,9 +20,9 @@ impl DescribeTrainingJobFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -84,6 +84,22 @@ impl DescribeTrainingJobFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::describe_training_job::DescribeTrainingJob, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::describe_training_job::DescribeTrainingJobError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                The name of the training job.

                                                                                                                                                                                                                                                                                                                                                                                pub fn training_job_name( mut self, diff --git a/sdk/sagemaker/src/operation/describe_transform_job/builders.rs b/sdk/sagemaker/src/operation/describe_transform_job/builders.rs index 75da47836930..0e3bd7860909 100644 --- a/sdk/sagemaker/src/operation/describe_transform_job/builders.rs +++ b/sdk/sagemaker/src/operation/describe_transform_job/builders.rs @@ -19,9 +19,9 @@ impl DescribeTransformJobFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl DescribeTransformJobFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::describe_transform_job::DescribeTransformJob, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::describe_transform_job::DescribeTransformJobError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                The name of the transform job that you want to view details of.

                                                                                                                                                                                                                                                                                                                                                                                pub fn transform_job_name( mut self, diff --git a/sdk/sagemaker/src/operation/describe_trial/builders.rs b/sdk/sagemaker/src/operation/describe_trial/builders.rs index 9bf9d33b15cf..9b8dbcdcb8fd 100644 --- a/sdk/sagemaker/src/operation/describe_trial/builders.rs +++ b/sdk/sagemaker/src/operation/describe_trial/builders.rs @@ -19,9 +19,9 @@ impl DescribeTrialFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl DescribeTrialFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::describe_trial::DescribeTrial, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                The name of the trial to describe.

                                                                                                                                                                                                                                                                                                                                                                                pub fn trial_name(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.trial_name(input.into()); diff --git a/sdk/sagemaker/src/operation/describe_trial_component/builders.rs b/sdk/sagemaker/src/operation/describe_trial_component/builders.rs index 86a1f69c3a3d..b98934c94986 100644 --- a/sdk/sagemaker/src/operation/describe_trial_component/builders.rs +++ b/sdk/sagemaker/src/operation/describe_trial_component/builders.rs @@ -19,9 +19,9 @@ impl DescribeTrialComponentFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl DescribeTrialComponentFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::describe_trial_component::DescribeTrialComponent, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::describe_trial_component::DescribeTrialComponentError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                The name of the trial component to describe.

                                                                                                                                                                                                                                                                                                                                                                                pub fn trial_component_name( mut self, diff --git a/sdk/sagemaker/src/operation/describe_user_profile/builders.rs b/sdk/sagemaker/src/operation/describe_user_profile/builders.rs index 4f877239c4fd..7cbd8929dd27 100644 --- a/sdk/sagemaker/src/operation/describe_user_profile/builders.rs +++ b/sdk/sagemaker/src/operation/describe_user_profile/builders.rs @@ -19,9 +19,9 @@ impl DescribeUserProfileFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl DescribeUserProfileFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::describe_user_profile::DescribeUserProfile, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::describe_user_profile::DescribeUserProfileError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                The domain ID.

                                                                                                                                                                                                                                                                                                                                                                                pub fn domain_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.domain_id(input.into()); diff --git a/sdk/sagemaker/src/operation/describe_workforce/builders.rs b/sdk/sagemaker/src/operation/describe_workforce/builders.rs index 0d68c566f5b1..b8e9ffef66ba 100644 --- a/sdk/sagemaker/src/operation/describe_workforce/builders.rs +++ b/sdk/sagemaker/src/operation/describe_workforce/builders.rs @@ -21,9 +21,9 @@ impl DescribeWorkforceFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -85,6 +85,22 @@ impl DescribeWorkforceFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::describe_workforce::DescribeWorkforce, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::describe_workforce::DescribeWorkforceError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                The name of the private workforce whose access you want to restrict. WorkforceName is automatically set to default when a workforce is created and cannot be modified.

                                                                                                                                                                                                                                                                                                                                                                                pub fn workforce_name( mut self, diff --git a/sdk/sagemaker/src/operation/describe_workteam/builders.rs b/sdk/sagemaker/src/operation/describe_workteam/builders.rs index 9fcabdc8f170..927454bce9de 100644 --- a/sdk/sagemaker/src/operation/describe_workteam/builders.rs +++ b/sdk/sagemaker/src/operation/describe_workteam/builders.rs @@ -19,9 +19,9 @@ impl DescribeWorkteamFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl DescribeWorkteamFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::describe_workteam::DescribeWorkteam, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::describe_workteam::DescribeWorkteamError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                The name of the work team to return a description of.

                                                                                                                                                                                                                                                                                                                                                                                pub fn workteam_name( mut self, diff --git a/sdk/sagemaker/src/operation/disable_sagemaker_servicecatalog_portfolio/builders.rs b/sdk/sagemaker/src/operation/disable_sagemaker_servicecatalog_portfolio/builders.rs index df054c0c0596..cc2aaa2aa034 100644 --- a/sdk/sagemaker/src/operation/disable_sagemaker_servicecatalog_portfolio/builders.rs +++ b/sdk/sagemaker/src/operation/disable_sagemaker_servicecatalog_portfolio/builders.rs @@ -19,9 +19,9 @@ impl DisableSagemakerServicecatalogPortfolioFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize(self) -> ::std::result::Result< + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware(self) -> ::std::result::Result< crate::client::customize::CustomizableOperation, ::aws_smithy_http::result::SdkError >{ @@ -64,4 +64,13 @@ impl DisableSagemakerServicecatalogPortfolioFluentBuilder { { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize(self) -> ::std::result::Result< + crate::client::customize::CustomizableOperation, + ::aws_smithy_http::result::SdkError + >{ + self.customize_middleware().await + } } diff --git a/sdk/sagemaker/src/operation/disassociate_trial_component/builders.rs b/sdk/sagemaker/src/operation/disassociate_trial_component/builders.rs index 4367f0fcc372..26a1eaecb497 100644 --- a/sdk/sagemaker/src/operation/disassociate_trial_component/builders.rs +++ b/sdk/sagemaker/src/operation/disassociate_trial_component/builders.rs @@ -20,9 +20,9 @@ impl DisassociateTrialComponentFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -84,6 +84,22 @@ impl DisassociateTrialComponentFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::disassociate_trial_component::DisassociateTrialComponent, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::disassociate_trial_component::DisassociateTrialComponentError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                The name of the component to disassociate from the trial.

                                                                                                                                                                                                                                                                                                                                                                                pub fn trial_component_name( mut self, diff --git a/sdk/sagemaker/src/operation/enable_sagemaker_servicecatalog_portfolio/builders.rs b/sdk/sagemaker/src/operation/enable_sagemaker_servicecatalog_portfolio/builders.rs index 2a2efe2a9d26..9e6319d974d2 100644 --- a/sdk/sagemaker/src/operation/enable_sagemaker_servicecatalog_portfolio/builders.rs +++ b/sdk/sagemaker/src/operation/enable_sagemaker_servicecatalog_portfolio/builders.rs @@ -19,9 +19,9 @@ impl EnableSagemakerServicecatalogPortfolioFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize(self) -> ::std::result::Result< + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware(self) -> ::std::result::Result< crate::client::customize::CustomizableOperation, ::aws_smithy_http::result::SdkError >{ @@ -64,4 +64,13 @@ impl EnableSagemakerServicecatalogPortfolioFluentBuilder { { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize(self) -> ::std::result::Result< + crate::client::customize::CustomizableOperation, + ::aws_smithy_http::result::SdkError + >{ + self.customize_middleware().await + } } diff --git a/sdk/sagemaker/src/operation/get_device_fleet_report/builders.rs b/sdk/sagemaker/src/operation/get_device_fleet_report/builders.rs index 2e3a142d37eb..fd953f0cfe55 100644 --- a/sdk/sagemaker/src/operation/get_device_fleet_report/builders.rs +++ b/sdk/sagemaker/src/operation/get_device_fleet_report/builders.rs @@ -19,9 +19,9 @@ impl GetDeviceFleetReportFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl GetDeviceFleetReportFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::get_device_fleet_report::GetDeviceFleetReport, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::get_device_fleet_report::GetDeviceFleetReportError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                The name of the fleet.

                                                                                                                                                                                                                                                                                                                                                                                pub fn device_fleet_name( mut self, diff --git a/sdk/sagemaker/src/operation/get_lineage_group_policy/builders.rs b/sdk/sagemaker/src/operation/get_lineage_group_policy/builders.rs index 7176d5c222ff..8a43da9ed78a 100644 --- a/sdk/sagemaker/src/operation/get_lineage_group_policy/builders.rs +++ b/sdk/sagemaker/src/operation/get_lineage_group_policy/builders.rs @@ -19,9 +19,9 @@ impl GetLineageGroupPolicyFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl GetLineageGroupPolicyFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::get_lineage_group_policy::GetLineageGroupPolicy, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::get_lineage_group_policy::GetLineageGroupPolicyError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                The name or Amazon Resource Name (ARN) of the lineage group.

                                                                                                                                                                                                                                                                                                                                                                                pub fn lineage_group_name( mut self, diff --git a/sdk/sagemaker/src/operation/get_model_package_group_policy/builders.rs b/sdk/sagemaker/src/operation/get_model_package_group_policy/builders.rs index 83b39a51a044..987d50e0468d 100644 --- a/sdk/sagemaker/src/operation/get_model_package_group_policy/builders.rs +++ b/sdk/sagemaker/src/operation/get_model_package_group_policy/builders.rs @@ -19,9 +19,9 @@ impl GetModelPackageGroupPolicyFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl GetModelPackageGroupPolicyFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::get_model_package_group_policy::GetModelPackageGroupPolicy, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::get_model_package_group_policy::GetModelPackageGroupPolicyError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                The name of the model group for which to get the resource policy.

                                                                                                                                                                                                                                                                                                                                                                                pub fn model_package_group_name( mut self, diff --git a/sdk/sagemaker/src/operation/get_sagemaker_servicecatalog_portfolio_status/builders.rs b/sdk/sagemaker/src/operation/get_sagemaker_servicecatalog_portfolio_status/builders.rs index e3ad8c8156d0..09e8281ba034 100644 --- a/sdk/sagemaker/src/operation/get_sagemaker_servicecatalog_portfolio_status/builders.rs +++ b/sdk/sagemaker/src/operation/get_sagemaker_servicecatalog_portfolio_status/builders.rs @@ -19,9 +19,9 @@ impl GetSagemakerServicecatalogPortfolioStatusFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize(self) -> ::std::result::Result< + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware(self) -> ::std::result::Result< crate::client::customize::CustomizableOperation, ::aws_smithy_http::result::SdkError >{ @@ -64,4 +64,13 @@ impl GetSagemakerServicecatalogPortfolioStatusFluentBuilder { { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize(self) -> ::std::result::Result< + crate::client::customize::CustomizableOperation, + ::aws_smithy_http::result::SdkError + >{ + self.customize_middleware().await + } } diff --git a/sdk/sagemaker/src/operation/get_search_suggestions/builders.rs b/sdk/sagemaker/src/operation/get_search_suggestions/builders.rs index c8a46e36326c..fea7c2fc2e54 100644 --- a/sdk/sagemaker/src/operation/get_search_suggestions/builders.rs +++ b/sdk/sagemaker/src/operation/get_search_suggestions/builders.rs @@ -19,9 +19,9 @@ impl GetSearchSuggestionsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl GetSearchSuggestionsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::get_search_suggestions::GetSearchSuggestions, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::get_search_suggestions::GetSearchSuggestionsError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                The name of the SageMaker resource to search for.

                                                                                                                                                                                                                                                                                                                                                                                pub fn resource(mut self, input: crate::types::ResourceType) -> Self { self.inner = self.inner.resource(input); diff --git a/sdk/sagemaker/src/operation/import_hub_content/builders.rs b/sdk/sagemaker/src/operation/import_hub_content/builders.rs index 3689c21f6ea7..51ff98bdec69 100644 --- a/sdk/sagemaker/src/operation/import_hub_content/builders.rs +++ b/sdk/sagemaker/src/operation/import_hub_content/builders.rs @@ -21,9 +21,9 @@ impl ImportHubContentFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -85,6 +85,22 @@ impl ImportHubContentFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::import_hub_content::ImportHubContent, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::import_hub_content::ImportHubContentError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                The name of the hub content to import.

                                                                                                                                                                                                                                                                                                                                                                                pub fn hub_content_name( mut self, diff --git a/sdk/sagemaker/src/operation/list_actions/builders.rs b/sdk/sagemaker/src/operation/list_actions/builders.rs index 5c4269f74c2b..1ba403277d10 100644 --- a/sdk/sagemaker/src/operation/list_actions/builders.rs +++ b/sdk/sagemaker/src/operation/list_actions/builders.rs @@ -19,9 +19,9 @@ impl ListActionsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl ListActionsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_actions::ListActions, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::list_actions::paginator::ListActionsPaginator::send) which returns a `Stream`. diff --git a/sdk/sagemaker/src/operation/list_algorithms/builders.rs b/sdk/sagemaker/src/operation/list_algorithms/builders.rs index e9a945522036..5907f6b59bd6 100644 --- a/sdk/sagemaker/src/operation/list_algorithms/builders.rs +++ b/sdk/sagemaker/src/operation/list_algorithms/builders.rs @@ -19,9 +19,9 @@ impl ListAlgorithmsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl ListAlgorithmsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_algorithms::ListAlgorithms, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::list_algorithms::paginator::ListAlgorithmsPaginator::send) which returns a `Stream`. diff --git a/sdk/sagemaker/src/operation/list_aliases/builders.rs b/sdk/sagemaker/src/operation/list_aliases/builders.rs index 2064ce11e956..2c42e1793b9c 100644 --- a/sdk/sagemaker/src/operation/list_aliases/builders.rs +++ b/sdk/sagemaker/src/operation/list_aliases/builders.rs @@ -19,9 +19,9 @@ impl ListAliasesFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl ListAliasesFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_aliases::ListAliases, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::list_aliases::paginator::ListAliasesPaginator::send) which returns a `Stream`. diff --git a/sdk/sagemaker/src/operation/list_app_image_configs/builders.rs b/sdk/sagemaker/src/operation/list_app_image_configs/builders.rs index 67bfab5c3b13..6a68bcdcb195 100644 --- a/sdk/sagemaker/src/operation/list_app_image_configs/builders.rs +++ b/sdk/sagemaker/src/operation/list_app_image_configs/builders.rs @@ -19,9 +19,9 @@ impl ListAppImageConfigsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl ListAppImageConfigsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_app_image_configs::ListAppImageConfigs, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::list_app_image_configs::ListAppImageConfigsError, + >, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::list_app_image_configs::paginator::ListAppImageConfigsPaginator::send) which returns a `Stream`. diff --git a/sdk/sagemaker/src/operation/list_apps/builders.rs b/sdk/sagemaker/src/operation/list_apps/builders.rs index 4857be333b93..cd72c8be37bd 100644 --- a/sdk/sagemaker/src/operation/list_apps/builders.rs +++ b/sdk/sagemaker/src/operation/list_apps/builders.rs @@ -19,9 +19,9 @@ impl ListAppsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl ListAppsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_apps::ListApps, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::list_apps::paginator::ListAppsPaginator::send) which returns a `Stream`. diff --git a/sdk/sagemaker/src/operation/list_artifacts/builders.rs b/sdk/sagemaker/src/operation/list_artifacts/builders.rs index c897001e1edf..a1fc91a6d512 100644 --- a/sdk/sagemaker/src/operation/list_artifacts/builders.rs +++ b/sdk/sagemaker/src/operation/list_artifacts/builders.rs @@ -19,9 +19,9 @@ impl ListArtifactsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl ListArtifactsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_artifacts::ListArtifacts, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::list_artifacts::paginator::ListArtifactsPaginator::send) which returns a `Stream`. diff --git a/sdk/sagemaker/src/operation/list_associations/builders.rs b/sdk/sagemaker/src/operation/list_associations/builders.rs index e07ed655d26f..4eec95d5a262 100644 --- a/sdk/sagemaker/src/operation/list_associations/builders.rs +++ b/sdk/sagemaker/src/operation/list_associations/builders.rs @@ -19,9 +19,9 @@ impl ListAssociationsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl ListAssociationsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_associations::ListAssociations, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::list_associations::ListAssociationsError, + >, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::list_associations::paginator::ListAssociationsPaginator::send) which returns a `Stream`. diff --git a/sdk/sagemaker/src/operation/list_auto_ml_jobs/builders.rs b/sdk/sagemaker/src/operation/list_auto_ml_jobs/builders.rs index 7707de69d35d..52d6d9feea0e 100644 --- a/sdk/sagemaker/src/operation/list_auto_ml_jobs/builders.rs +++ b/sdk/sagemaker/src/operation/list_auto_ml_jobs/builders.rs @@ -19,9 +19,9 @@ impl ListAutoMLJobsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl ListAutoMLJobsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_auto_ml_jobs::ListAutoMLJobs, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::list_auto_ml_jobs::ListAutoMLJobsError, + >, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::list_auto_ml_jobs::paginator::ListAutoMlJobsPaginator::send) which returns a `Stream`. diff --git a/sdk/sagemaker/src/operation/list_candidates_for_auto_ml_job/builders.rs b/sdk/sagemaker/src/operation/list_candidates_for_auto_ml_job/builders.rs index 64cc4c8890e0..0425b9ba4827 100644 --- a/sdk/sagemaker/src/operation/list_candidates_for_auto_ml_job/builders.rs +++ b/sdk/sagemaker/src/operation/list_candidates_for_auto_ml_job/builders.rs @@ -19,9 +19,9 @@ impl ListCandidatesForAutoMLJobFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl ListCandidatesForAutoMLJobFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_candidates_for_auto_ml_job::ListCandidatesForAutoMLJob, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::list_candidates_for_auto_ml_job::ListCandidatesForAutoMLJobError, + >, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::list_candidates_for_auto_ml_job::paginator::ListCandidatesForAutoMlJobPaginator::send) which returns a `Stream`. diff --git a/sdk/sagemaker/src/operation/list_code_repositories/builders.rs b/sdk/sagemaker/src/operation/list_code_repositories/builders.rs index c1a662b42f87..534d3ded717f 100644 --- a/sdk/sagemaker/src/operation/list_code_repositories/builders.rs +++ b/sdk/sagemaker/src/operation/list_code_repositories/builders.rs @@ -19,9 +19,9 @@ impl ListCodeRepositoriesFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl ListCodeRepositoriesFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_code_repositories::ListCodeRepositories, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::list_code_repositories::ListCodeRepositoriesError, + >, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::list_code_repositories::paginator::ListCodeRepositoriesPaginator::send) which returns a `Stream`. diff --git a/sdk/sagemaker/src/operation/list_compilation_jobs/builders.rs b/sdk/sagemaker/src/operation/list_compilation_jobs/builders.rs index fd2eaafc1558..1a6a9b078006 100644 --- a/sdk/sagemaker/src/operation/list_compilation_jobs/builders.rs +++ b/sdk/sagemaker/src/operation/list_compilation_jobs/builders.rs @@ -20,9 +20,9 @@ impl ListCompilationJobsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -84,6 +84,22 @@ impl ListCompilationJobsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_compilation_jobs::ListCompilationJobs, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::list_compilation_jobs::ListCompilationJobsError, + >, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::list_compilation_jobs::paginator::ListCompilationJobsPaginator::send) which returns a `Stream`. diff --git a/sdk/sagemaker/src/operation/list_contexts/builders.rs b/sdk/sagemaker/src/operation/list_contexts/builders.rs index 2197f32f5816..241f09c22c11 100644 --- a/sdk/sagemaker/src/operation/list_contexts/builders.rs +++ b/sdk/sagemaker/src/operation/list_contexts/builders.rs @@ -19,9 +19,9 @@ impl ListContextsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl ListContextsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_contexts::ListContexts, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::list_contexts::paginator::ListContextsPaginator::send) which returns a `Stream`. diff --git a/sdk/sagemaker/src/operation/list_data_quality_job_definitions/builders.rs b/sdk/sagemaker/src/operation/list_data_quality_job_definitions/builders.rs index 59e49bfda769..7b48fb673296 100644 --- a/sdk/sagemaker/src/operation/list_data_quality_job_definitions/builders.rs +++ b/sdk/sagemaker/src/operation/list_data_quality_job_definitions/builders.rs @@ -19,9 +19,9 @@ impl ListDataQualityJobDefinitionsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl ListDataQualityJobDefinitionsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_data_quality_job_definitions::ListDataQualityJobDefinitions, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::list_data_quality_job_definitions::ListDataQualityJobDefinitionsError, + >, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::list_data_quality_job_definitions::paginator::ListDataQualityJobDefinitionsPaginator::send) which returns a `Stream`. diff --git a/sdk/sagemaker/src/operation/list_device_fleets/builders.rs b/sdk/sagemaker/src/operation/list_device_fleets/builders.rs index b416a399a55c..c5a09e61540b 100644 --- a/sdk/sagemaker/src/operation/list_device_fleets/builders.rs +++ b/sdk/sagemaker/src/operation/list_device_fleets/builders.rs @@ -19,9 +19,9 @@ impl ListDeviceFleetsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl ListDeviceFleetsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_device_fleets::ListDeviceFleets, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::list_device_fleets::ListDeviceFleetsError, + >, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::list_device_fleets::paginator::ListDeviceFleetsPaginator::send) which returns a `Stream`. diff --git a/sdk/sagemaker/src/operation/list_devices/builders.rs b/sdk/sagemaker/src/operation/list_devices/builders.rs index 4052d7b893ad..cb721f5911ef 100644 --- a/sdk/sagemaker/src/operation/list_devices/builders.rs +++ b/sdk/sagemaker/src/operation/list_devices/builders.rs @@ -19,9 +19,9 @@ impl ListDevicesFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl ListDevicesFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_devices::ListDevices, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::list_devices::paginator::ListDevicesPaginator::send) which returns a `Stream`. diff --git a/sdk/sagemaker/src/operation/list_domains/builders.rs b/sdk/sagemaker/src/operation/list_domains/builders.rs index 0aec60f31a33..aba55f0e3dcc 100644 --- a/sdk/sagemaker/src/operation/list_domains/builders.rs +++ b/sdk/sagemaker/src/operation/list_domains/builders.rs @@ -19,9 +19,9 @@ impl ListDomainsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl ListDomainsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_domains::ListDomains, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::list_domains::paginator::ListDomainsPaginator::send) which returns a `Stream`. diff --git a/sdk/sagemaker/src/operation/list_edge_deployment_plans/builders.rs b/sdk/sagemaker/src/operation/list_edge_deployment_plans/builders.rs index 4ac575b3ce18..3d736cc86632 100644 --- a/sdk/sagemaker/src/operation/list_edge_deployment_plans/builders.rs +++ b/sdk/sagemaker/src/operation/list_edge_deployment_plans/builders.rs @@ -20,9 +20,9 @@ impl ListEdgeDeploymentPlansFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -84,6 +84,22 @@ impl ListEdgeDeploymentPlansFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_edge_deployment_plans::ListEdgeDeploymentPlans, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::list_edge_deployment_plans::ListEdgeDeploymentPlansError, + >, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::list_edge_deployment_plans::paginator::ListEdgeDeploymentPlansPaginator::send) which returns a `Stream`. diff --git a/sdk/sagemaker/src/operation/list_edge_packaging_jobs/builders.rs b/sdk/sagemaker/src/operation/list_edge_packaging_jobs/builders.rs index 8c11d55dc872..a20932d96f5b 100644 --- a/sdk/sagemaker/src/operation/list_edge_packaging_jobs/builders.rs +++ b/sdk/sagemaker/src/operation/list_edge_packaging_jobs/builders.rs @@ -19,9 +19,9 @@ impl ListEdgePackagingJobsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl ListEdgePackagingJobsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_edge_packaging_jobs::ListEdgePackagingJobs, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::list_edge_packaging_jobs::ListEdgePackagingJobsError, + >, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::list_edge_packaging_jobs::paginator::ListEdgePackagingJobsPaginator::send) which returns a `Stream`. diff --git a/sdk/sagemaker/src/operation/list_endpoint_configs/builders.rs b/sdk/sagemaker/src/operation/list_endpoint_configs/builders.rs index a340a7b7fc0c..ad9e1adaa57f 100644 --- a/sdk/sagemaker/src/operation/list_endpoint_configs/builders.rs +++ b/sdk/sagemaker/src/operation/list_endpoint_configs/builders.rs @@ -19,9 +19,9 @@ impl ListEndpointConfigsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl ListEndpointConfigsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_endpoint_configs::ListEndpointConfigs, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::list_endpoint_configs::ListEndpointConfigsError, + >, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::list_endpoint_configs::paginator::ListEndpointConfigsPaginator::send) which returns a `Stream`. diff --git a/sdk/sagemaker/src/operation/list_endpoints/builders.rs b/sdk/sagemaker/src/operation/list_endpoints/builders.rs index 4061f1812533..4fc5912461ee 100644 --- a/sdk/sagemaker/src/operation/list_endpoints/builders.rs +++ b/sdk/sagemaker/src/operation/list_endpoints/builders.rs @@ -19,9 +19,9 @@ impl ListEndpointsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl ListEndpointsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_endpoints::ListEndpoints, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::list_endpoints::paginator::ListEndpointsPaginator::send) which returns a `Stream`. diff --git a/sdk/sagemaker/src/operation/list_experiments/builders.rs b/sdk/sagemaker/src/operation/list_experiments/builders.rs index 5a32ba342152..97ccca75722f 100644 --- a/sdk/sagemaker/src/operation/list_experiments/builders.rs +++ b/sdk/sagemaker/src/operation/list_experiments/builders.rs @@ -19,9 +19,9 @@ impl ListExperimentsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl ListExperimentsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_experiments::ListExperiments, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::list_experiments::ListExperimentsError, + >, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::list_experiments::paginator::ListExperimentsPaginator::send) which returns a `Stream`. diff --git a/sdk/sagemaker/src/operation/list_feature_groups/builders.rs b/sdk/sagemaker/src/operation/list_feature_groups/builders.rs index d05d34dcd14d..4e6c203b5a4c 100644 --- a/sdk/sagemaker/src/operation/list_feature_groups/builders.rs +++ b/sdk/sagemaker/src/operation/list_feature_groups/builders.rs @@ -19,9 +19,9 @@ impl ListFeatureGroupsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl ListFeatureGroupsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_feature_groups::ListFeatureGroups, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::list_feature_groups::ListFeatureGroupsError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                A string that partially matches one or more FeatureGroups names. Filters FeatureGroups by name.

                                                                                                                                                                                                                                                                                                                                                                                pub fn name_contains( mut self, diff --git a/sdk/sagemaker/src/operation/list_flow_definitions/builders.rs b/sdk/sagemaker/src/operation/list_flow_definitions/builders.rs index 6aeb343d1ac7..402b233797e6 100644 --- a/sdk/sagemaker/src/operation/list_flow_definitions/builders.rs +++ b/sdk/sagemaker/src/operation/list_flow_definitions/builders.rs @@ -19,9 +19,9 @@ impl ListFlowDefinitionsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl ListFlowDefinitionsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_flow_definitions::ListFlowDefinitions, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::list_flow_definitions::ListFlowDefinitionsError, + >, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::list_flow_definitions::paginator::ListFlowDefinitionsPaginator::send) which returns a `Stream`. diff --git a/sdk/sagemaker/src/operation/list_hub_content_versions/builders.rs b/sdk/sagemaker/src/operation/list_hub_content_versions/builders.rs index 0d7eba9d9966..dcc2c2de662b 100644 --- a/sdk/sagemaker/src/operation/list_hub_content_versions/builders.rs +++ b/sdk/sagemaker/src/operation/list_hub_content_versions/builders.rs @@ -22,9 +22,9 @@ impl ListHubContentVersionsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -86,6 +86,22 @@ impl ListHubContentVersionsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_hub_content_versions::ListHubContentVersions, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::list_hub_content_versions::ListHubContentVersionsError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                The name of the hub to list the content versions of.

                                                                                                                                                                                                                                                                                                                                                                                pub fn hub_name(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.hub_name(input.into()); diff --git a/sdk/sagemaker/src/operation/list_hub_contents/builders.rs b/sdk/sagemaker/src/operation/list_hub_contents/builders.rs index 036fabe1a305..2c60c6c69102 100644 --- a/sdk/sagemaker/src/operation/list_hub_contents/builders.rs +++ b/sdk/sagemaker/src/operation/list_hub_contents/builders.rs @@ -21,9 +21,9 @@ impl ListHubContentsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -85,6 +85,22 @@ impl ListHubContentsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_hub_contents::ListHubContents, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::list_hub_contents::ListHubContentsError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                The name of the hub to list the contents of.

                                                                                                                                                                                                                                                                                                                                                                                pub fn hub_name(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.hub_name(input.into()); diff --git a/sdk/sagemaker/src/operation/list_hubs/builders.rs b/sdk/sagemaker/src/operation/list_hubs/builders.rs index ab6b8a906d8d..220655221d4d 100644 --- a/sdk/sagemaker/src/operation/list_hubs/builders.rs +++ b/sdk/sagemaker/src/operation/list_hubs/builders.rs @@ -21,9 +21,9 @@ impl ListHubsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -79,6 +79,20 @@ impl ListHubsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_hubs::ListHubs, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                Only list hubs with names that contain the specified string.

                                                                                                                                                                                                                                                                                                                                                                                pub fn name_contains( mut self, diff --git a/sdk/sagemaker/src/operation/list_human_task_uis/builders.rs b/sdk/sagemaker/src/operation/list_human_task_uis/builders.rs index b7726caabdf2..d19c0ca899d1 100644 --- a/sdk/sagemaker/src/operation/list_human_task_uis/builders.rs +++ b/sdk/sagemaker/src/operation/list_human_task_uis/builders.rs @@ -19,9 +19,9 @@ impl ListHumanTaskUisFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl ListHumanTaskUisFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_human_task_uis::ListHumanTaskUis, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::list_human_task_uis::ListHumanTaskUisError, + >, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::list_human_task_uis::paginator::ListHumanTaskUisPaginator::send) which returns a `Stream`. diff --git a/sdk/sagemaker/src/operation/list_hyper_parameter_tuning_jobs/builders.rs b/sdk/sagemaker/src/operation/list_hyper_parameter_tuning_jobs/builders.rs index bcfe50db2f49..f88f35a27417 100644 --- a/sdk/sagemaker/src/operation/list_hyper_parameter_tuning_jobs/builders.rs +++ b/sdk/sagemaker/src/operation/list_hyper_parameter_tuning_jobs/builders.rs @@ -19,9 +19,9 @@ impl ListHyperParameterTuningJobsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl ListHyperParameterTuningJobsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_hyper_parameter_tuning_jobs::ListHyperParameterTuningJobs, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::list_hyper_parameter_tuning_jobs::ListHyperParameterTuningJobsError, + >, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::list_hyper_parameter_tuning_jobs::paginator::ListHyperParameterTuningJobsPaginator::send) which returns a `Stream`. diff --git a/sdk/sagemaker/src/operation/list_image_versions/builders.rs b/sdk/sagemaker/src/operation/list_image_versions/builders.rs index 935aa1b0d80f..69292e86e136 100644 --- a/sdk/sagemaker/src/operation/list_image_versions/builders.rs +++ b/sdk/sagemaker/src/operation/list_image_versions/builders.rs @@ -19,9 +19,9 @@ impl ListImageVersionsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl ListImageVersionsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_image_versions::ListImageVersions, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::list_image_versions::ListImageVersionsError, + >, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::list_image_versions::paginator::ListImageVersionsPaginator::send) which returns a `Stream`. diff --git a/sdk/sagemaker/src/operation/list_images/builders.rs b/sdk/sagemaker/src/operation/list_images/builders.rs index 30258546870f..21560ac388f5 100644 --- a/sdk/sagemaker/src/operation/list_images/builders.rs +++ b/sdk/sagemaker/src/operation/list_images/builders.rs @@ -19,9 +19,9 @@ impl ListImagesFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl ListImagesFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_images::ListImages, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::list_images::paginator::ListImagesPaginator::send) which returns a `Stream`. diff --git a/sdk/sagemaker/src/operation/list_inference_experiments/builders.rs b/sdk/sagemaker/src/operation/list_inference_experiments/builders.rs index bb0de5ab2849..507213b85862 100644 --- a/sdk/sagemaker/src/operation/list_inference_experiments/builders.rs +++ b/sdk/sagemaker/src/operation/list_inference_experiments/builders.rs @@ -19,9 +19,9 @@ impl ListInferenceExperimentsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl ListInferenceExperimentsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_inference_experiments::ListInferenceExperiments, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::list_inference_experiments::ListInferenceExperimentsError, + >, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::list_inference_experiments::paginator::ListInferenceExperimentsPaginator::send) which returns a `Stream`. diff --git a/sdk/sagemaker/src/operation/list_inference_recommendations_job_steps/builders.rs b/sdk/sagemaker/src/operation/list_inference_recommendations_job_steps/builders.rs index 0c5ecc5d5365..190c86332a3a 100644 --- a/sdk/sagemaker/src/operation/list_inference_recommendations_job_steps/builders.rs +++ b/sdk/sagemaker/src/operation/list_inference_recommendations_job_steps/builders.rs @@ -20,9 +20,9 @@ impl ListInferenceRecommendationsJobStepsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize(self) -> ::std::result::Result< + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware(self) -> ::std::result::Result< crate::client::customize::CustomizableOperation, ::aws_smithy_http::result::SdkError >{ @@ -65,6 +65,15 @@ impl ListInferenceRecommendationsJobStepsFluentBuilder { { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize(self) -> ::std::result::Result< + crate::client::customize::CustomizableOperation, + ::aws_smithy_http::result::SdkError + >{ + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::list_inference_recommendations_job_steps::paginator::ListInferenceRecommendationsJobStepsPaginator::send) which returns a `Stream`. diff --git a/sdk/sagemaker/src/operation/list_inference_recommendations_jobs/builders.rs b/sdk/sagemaker/src/operation/list_inference_recommendations_jobs/builders.rs index 6b0a9087bfd9..836fbea14d6f 100644 --- a/sdk/sagemaker/src/operation/list_inference_recommendations_jobs/builders.rs +++ b/sdk/sagemaker/src/operation/list_inference_recommendations_jobs/builders.rs @@ -19,9 +19,9 @@ impl ListInferenceRecommendationsJobsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize(self) -> ::std::result::Result< + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware(self) -> ::std::result::Result< crate::client::customize::CustomizableOperation, ::aws_smithy_http::result::SdkError >{ @@ -64,6 +64,15 @@ impl ListInferenceRecommendationsJobsFluentBuilder { { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize(self) -> ::std::result::Result< + crate::client::customize::CustomizableOperation, + ::aws_smithy_http::result::SdkError + >{ + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::list_inference_recommendations_jobs::paginator::ListInferenceRecommendationsJobsPaginator::send) which returns a `Stream`. diff --git a/sdk/sagemaker/src/operation/list_labeling_jobs/builders.rs b/sdk/sagemaker/src/operation/list_labeling_jobs/builders.rs index 9daa927a4638..6ed21de2e078 100644 --- a/sdk/sagemaker/src/operation/list_labeling_jobs/builders.rs +++ b/sdk/sagemaker/src/operation/list_labeling_jobs/builders.rs @@ -19,9 +19,9 @@ impl ListLabelingJobsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl ListLabelingJobsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_labeling_jobs::ListLabelingJobs, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::list_labeling_jobs::ListLabelingJobsError, + >, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::list_labeling_jobs::paginator::ListLabelingJobsPaginator::send) which returns a `Stream`. diff --git a/sdk/sagemaker/src/operation/list_labeling_jobs_for_workteam/builders.rs b/sdk/sagemaker/src/operation/list_labeling_jobs_for_workteam/builders.rs index b4441849ecbf..897841f1589e 100644 --- a/sdk/sagemaker/src/operation/list_labeling_jobs_for_workteam/builders.rs +++ b/sdk/sagemaker/src/operation/list_labeling_jobs_for_workteam/builders.rs @@ -19,9 +19,9 @@ impl ListLabelingJobsForWorkteamFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl ListLabelingJobsForWorkteamFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_labeling_jobs_for_workteam::ListLabelingJobsForWorkteam, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::list_labeling_jobs_for_workteam::ListLabelingJobsForWorkteamError, + >, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::list_labeling_jobs_for_workteam::paginator::ListLabelingJobsForWorkteamPaginator::send) which returns a `Stream`. diff --git a/sdk/sagemaker/src/operation/list_lineage_groups/builders.rs b/sdk/sagemaker/src/operation/list_lineage_groups/builders.rs index a9a3ae3667ad..44f64e0b4ba5 100644 --- a/sdk/sagemaker/src/operation/list_lineage_groups/builders.rs +++ b/sdk/sagemaker/src/operation/list_lineage_groups/builders.rs @@ -19,9 +19,9 @@ impl ListLineageGroupsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl ListLineageGroupsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_lineage_groups::ListLineageGroups, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::list_lineage_groups::ListLineageGroupsError, + >, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::list_lineage_groups::paginator::ListLineageGroupsPaginator::send) which returns a `Stream`. diff --git a/sdk/sagemaker/src/operation/list_model_bias_job_definitions/builders.rs b/sdk/sagemaker/src/operation/list_model_bias_job_definitions/builders.rs index 52cc81bbe468..9328c75c3edc 100644 --- a/sdk/sagemaker/src/operation/list_model_bias_job_definitions/builders.rs +++ b/sdk/sagemaker/src/operation/list_model_bias_job_definitions/builders.rs @@ -19,9 +19,9 @@ impl ListModelBiasJobDefinitionsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl ListModelBiasJobDefinitionsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_model_bias_job_definitions::ListModelBiasJobDefinitions, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::list_model_bias_job_definitions::ListModelBiasJobDefinitionsError, + >, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::list_model_bias_job_definitions::paginator::ListModelBiasJobDefinitionsPaginator::send) which returns a `Stream`. diff --git a/sdk/sagemaker/src/operation/list_model_card_export_jobs/builders.rs b/sdk/sagemaker/src/operation/list_model_card_export_jobs/builders.rs index 2421283e49fb..b3f32fb55d03 100644 --- a/sdk/sagemaker/src/operation/list_model_card_export_jobs/builders.rs +++ b/sdk/sagemaker/src/operation/list_model_card_export_jobs/builders.rs @@ -19,9 +19,9 @@ impl ListModelCardExportJobsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl ListModelCardExportJobsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_model_card_export_jobs::ListModelCardExportJobs, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::list_model_card_export_jobs::ListModelCardExportJobsError, + >, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::list_model_card_export_jobs::paginator::ListModelCardExportJobsPaginator::send) which returns a `Stream`. diff --git a/sdk/sagemaker/src/operation/list_model_card_versions/builders.rs b/sdk/sagemaker/src/operation/list_model_card_versions/builders.rs index 3c7ecff340fb..9489a98c63a6 100644 --- a/sdk/sagemaker/src/operation/list_model_card_versions/builders.rs +++ b/sdk/sagemaker/src/operation/list_model_card_versions/builders.rs @@ -19,9 +19,9 @@ impl ListModelCardVersionsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl ListModelCardVersionsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_model_card_versions::ListModelCardVersions, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::list_model_card_versions::ListModelCardVersionsError, + >, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::list_model_card_versions::paginator::ListModelCardVersionsPaginator::send) which returns a `Stream`. diff --git a/sdk/sagemaker/src/operation/list_model_cards/builders.rs b/sdk/sagemaker/src/operation/list_model_cards/builders.rs index 8a2ff942dd73..885ad28208e2 100644 --- a/sdk/sagemaker/src/operation/list_model_cards/builders.rs +++ b/sdk/sagemaker/src/operation/list_model_cards/builders.rs @@ -19,9 +19,9 @@ impl ListModelCardsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl ListModelCardsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_model_cards::ListModelCards, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::list_model_cards::ListModelCardsError, + >, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::list_model_cards::paginator::ListModelCardsPaginator::send) which returns a `Stream`. diff --git a/sdk/sagemaker/src/operation/list_model_explainability_job_definitions/builders.rs b/sdk/sagemaker/src/operation/list_model_explainability_job_definitions/builders.rs index 3196ab1de0e6..cddd048c9dab 100644 --- a/sdk/sagemaker/src/operation/list_model_explainability_job_definitions/builders.rs +++ b/sdk/sagemaker/src/operation/list_model_explainability_job_definitions/builders.rs @@ -19,9 +19,9 @@ impl ListModelExplainabilityJobDefinitionsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize(self) -> ::std::result::Result< + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware(self) -> ::std::result::Result< crate::client::customize::CustomizableOperation, ::aws_smithy_http::result::SdkError >{ @@ -64,6 +64,15 @@ impl ListModelExplainabilityJobDefinitionsFluentBuilder { { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize(self) -> ::std::result::Result< + crate::client::customize::CustomizableOperation, + ::aws_smithy_http::result::SdkError + >{ + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::list_model_explainability_job_definitions::paginator::ListModelExplainabilityJobDefinitionsPaginator::send) which returns a `Stream`. diff --git a/sdk/sagemaker/src/operation/list_model_metadata/builders.rs b/sdk/sagemaker/src/operation/list_model_metadata/builders.rs index d3a11366084d..e27849b4bf3a 100644 --- a/sdk/sagemaker/src/operation/list_model_metadata/builders.rs +++ b/sdk/sagemaker/src/operation/list_model_metadata/builders.rs @@ -19,9 +19,9 @@ impl ListModelMetadataFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl ListModelMetadataFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_model_metadata::ListModelMetadata, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::list_model_metadata::ListModelMetadataError, + >, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::list_model_metadata::paginator::ListModelMetadataPaginator::send) which returns a `Stream`. diff --git a/sdk/sagemaker/src/operation/list_model_package_groups/builders.rs b/sdk/sagemaker/src/operation/list_model_package_groups/builders.rs index cda900c92be6..c327f6ac3359 100644 --- a/sdk/sagemaker/src/operation/list_model_package_groups/builders.rs +++ b/sdk/sagemaker/src/operation/list_model_package_groups/builders.rs @@ -20,9 +20,9 @@ impl ListModelPackageGroupsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -84,6 +84,22 @@ impl ListModelPackageGroupsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_model_package_groups::ListModelPackageGroups, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::list_model_package_groups::ListModelPackageGroupsError, + >, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::list_model_package_groups::paginator::ListModelPackageGroupsPaginator::send) which returns a `Stream`. diff --git a/sdk/sagemaker/src/operation/list_model_packages/builders.rs b/sdk/sagemaker/src/operation/list_model_packages/builders.rs index 46d4ac5ad508..5352158b4c92 100644 --- a/sdk/sagemaker/src/operation/list_model_packages/builders.rs +++ b/sdk/sagemaker/src/operation/list_model_packages/builders.rs @@ -19,9 +19,9 @@ impl ListModelPackagesFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl ListModelPackagesFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_model_packages::ListModelPackages, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::list_model_packages::ListModelPackagesError, + >, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::list_model_packages::paginator::ListModelPackagesPaginator::send) which returns a `Stream`. diff --git a/sdk/sagemaker/src/operation/list_model_quality_job_definitions/builders.rs b/sdk/sagemaker/src/operation/list_model_quality_job_definitions/builders.rs index 070bdab51f47..de936692ad7a 100644 --- a/sdk/sagemaker/src/operation/list_model_quality_job_definitions/builders.rs +++ b/sdk/sagemaker/src/operation/list_model_quality_job_definitions/builders.rs @@ -19,9 +19,9 @@ impl ListModelQualityJobDefinitionsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize(self) -> ::std::result::Result< + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware(self) -> ::std::result::Result< crate::client::customize::CustomizableOperation, ::aws_smithy_http::result::SdkError >{ @@ -64,6 +64,15 @@ impl ListModelQualityJobDefinitionsFluentBuilder { { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize(self) -> ::std::result::Result< + crate::client::customize::CustomizableOperation, + ::aws_smithy_http::result::SdkError + >{ + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::list_model_quality_job_definitions::paginator::ListModelQualityJobDefinitionsPaginator::send) which returns a `Stream`. diff --git a/sdk/sagemaker/src/operation/list_models/builders.rs b/sdk/sagemaker/src/operation/list_models/builders.rs index 75df82b3d48a..064d749da1b6 100644 --- a/sdk/sagemaker/src/operation/list_models/builders.rs +++ b/sdk/sagemaker/src/operation/list_models/builders.rs @@ -19,9 +19,9 @@ impl ListModelsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl ListModelsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_models::ListModels, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::list_models::paginator::ListModelsPaginator::send) which returns a `Stream`. diff --git a/sdk/sagemaker/src/operation/list_monitoring_alert_history/builders.rs b/sdk/sagemaker/src/operation/list_monitoring_alert_history/builders.rs index 1c7cc8b0c65f..2fc70c967c16 100644 --- a/sdk/sagemaker/src/operation/list_monitoring_alert_history/builders.rs +++ b/sdk/sagemaker/src/operation/list_monitoring_alert_history/builders.rs @@ -19,9 +19,9 @@ impl ListMonitoringAlertHistoryFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl ListMonitoringAlertHistoryFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_monitoring_alert_history::ListMonitoringAlertHistory, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::list_monitoring_alert_history::ListMonitoringAlertHistoryError, + >, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::list_monitoring_alert_history::paginator::ListMonitoringAlertHistoryPaginator::send) which returns a `Stream`. diff --git a/sdk/sagemaker/src/operation/list_monitoring_alerts/builders.rs b/sdk/sagemaker/src/operation/list_monitoring_alerts/builders.rs index 7f4a597cb091..a42c4c5e8751 100644 --- a/sdk/sagemaker/src/operation/list_monitoring_alerts/builders.rs +++ b/sdk/sagemaker/src/operation/list_monitoring_alerts/builders.rs @@ -19,9 +19,9 @@ impl ListMonitoringAlertsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl ListMonitoringAlertsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_monitoring_alerts::ListMonitoringAlerts, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::list_monitoring_alerts::ListMonitoringAlertsError, + >, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::list_monitoring_alerts::paginator::ListMonitoringAlertsPaginator::send) which returns a `Stream`. diff --git a/sdk/sagemaker/src/operation/list_monitoring_executions/builders.rs b/sdk/sagemaker/src/operation/list_monitoring_executions/builders.rs index 3fb829e53b67..4c748a0b6bd2 100644 --- a/sdk/sagemaker/src/operation/list_monitoring_executions/builders.rs +++ b/sdk/sagemaker/src/operation/list_monitoring_executions/builders.rs @@ -19,9 +19,9 @@ impl ListMonitoringExecutionsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl ListMonitoringExecutionsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_monitoring_executions::ListMonitoringExecutions, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::list_monitoring_executions::ListMonitoringExecutionsError, + >, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::list_monitoring_executions::paginator::ListMonitoringExecutionsPaginator::send) which returns a `Stream`. diff --git a/sdk/sagemaker/src/operation/list_monitoring_schedules/builders.rs b/sdk/sagemaker/src/operation/list_monitoring_schedules/builders.rs index f69d7977508f..79011b40f0e8 100644 --- a/sdk/sagemaker/src/operation/list_monitoring_schedules/builders.rs +++ b/sdk/sagemaker/src/operation/list_monitoring_schedules/builders.rs @@ -20,9 +20,9 @@ impl ListMonitoringSchedulesFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -84,6 +84,22 @@ impl ListMonitoringSchedulesFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_monitoring_schedules::ListMonitoringSchedules, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::list_monitoring_schedules::ListMonitoringSchedulesError, + >, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::list_monitoring_schedules::paginator::ListMonitoringSchedulesPaginator::send) which returns a `Stream`. diff --git a/sdk/sagemaker/src/operation/list_notebook_instance_lifecycle_configs/builders.rs b/sdk/sagemaker/src/operation/list_notebook_instance_lifecycle_configs/builders.rs index 5ee264f3537a..51111c0581fa 100644 --- a/sdk/sagemaker/src/operation/list_notebook_instance_lifecycle_configs/builders.rs +++ b/sdk/sagemaker/src/operation/list_notebook_instance_lifecycle_configs/builders.rs @@ -19,9 +19,9 @@ impl ListNotebookInstanceLifecycleConfigsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize(self) -> ::std::result::Result< + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware(self) -> ::std::result::Result< crate::client::customize::CustomizableOperation, ::aws_smithy_http::result::SdkError >{ @@ -64,6 +64,15 @@ impl ListNotebookInstanceLifecycleConfigsFluentBuilder { { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize(self) -> ::std::result::Result< + crate::client::customize::CustomizableOperation, + ::aws_smithy_http::result::SdkError + >{ + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::list_notebook_instance_lifecycle_configs::paginator::ListNotebookInstanceLifecycleConfigsPaginator::send) which returns a `Stream`. diff --git a/sdk/sagemaker/src/operation/list_notebook_instances/builders.rs b/sdk/sagemaker/src/operation/list_notebook_instances/builders.rs index 994ad4b3b106..2240c0c01aec 100644 --- a/sdk/sagemaker/src/operation/list_notebook_instances/builders.rs +++ b/sdk/sagemaker/src/operation/list_notebook_instances/builders.rs @@ -19,9 +19,9 @@ impl ListNotebookInstancesFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl ListNotebookInstancesFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_notebook_instances::ListNotebookInstances, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::list_notebook_instances::ListNotebookInstancesError, + >, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::list_notebook_instances::paginator::ListNotebookInstancesPaginator::send) which returns a `Stream`. diff --git a/sdk/sagemaker/src/operation/list_pipeline_execution_steps/builders.rs b/sdk/sagemaker/src/operation/list_pipeline_execution_steps/builders.rs index 46bc527cccfe..99db322de0e1 100644 --- a/sdk/sagemaker/src/operation/list_pipeline_execution_steps/builders.rs +++ b/sdk/sagemaker/src/operation/list_pipeline_execution_steps/builders.rs @@ -19,9 +19,9 @@ impl ListPipelineExecutionStepsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl ListPipelineExecutionStepsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_pipeline_execution_steps::ListPipelineExecutionSteps, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::list_pipeline_execution_steps::ListPipelineExecutionStepsError, + >, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::list_pipeline_execution_steps::paginator::ListPipelineExecutionStepsPaginator::send) which returns a `Stream`. diff --git a/sdk/sagemaker/src/operation/list_pipeline_executions/builders.rs b/sdk/sagemaker/src/operation/list_pipeline_executions/builders.rs index 8c5c86bd7744..2dbd554e1784 100644 --- a/sdk/sagemaker/src/operation/list_pipeline_executions/builders.rs +++ b/sdk/sagemaker/src/operation/list_pipeline_executions/builders.rs @@ -19,9 +19,9 @@ impl ListPipelineExecutionsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl ListPipelineExecutionsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_pipeline_executions::ListPipelineExecutions, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::list_pipeline_executions::ListPipelineExecutionsError, + >, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::list_pipeline_executions::paginator::ListPipelineExecutionsPaginator::send) which returns a `Stream`. diff --git a/sdk/sagemaker/src/operation/list_pipeline_parameters_for_execution/builders.rs b/sdk/sagemaker/src/operation/list_pipeline_parameters_for_execution/builders.rs index 0f2a65ba48c8..e26c3f395501 100644 --- a/sdk/sagemaker/src/operation/list_pipeline_parameters_for_execution/builders.rs +++ b/sdk/sagemaker/src/operation/list_pipeline_parameters_for_execution/builders.rs @@ -19,9 +19,9 @@ impl ListPipelineParametersForExecutionFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize(self) -> ::std::result::Result< + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware(self) -> ::std::result::Result< crate::client::customize::CustomizableOperation, ::aws_smithy_http::result::SdkError >{ @@ -64,6 +64,15 @@ impl ListPipelineParametersForExecutionFluentBuilder { { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize(self) -> ::std::result::Result< + crate::client::customize::CustomizableOperation, + ::aws_smithy_http::result::SdkError + >{ + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::list_pipeline_parameters_for_execution::paginator::ListPipelineParametersForExecutionPaginator::send) which returns a `Stream`. diff --git a/sdk/sagemaker/src/operation/list_pipelines/builders.rs b/sdk/sagemaker/src/operation/list_pipelines/builders.rs index b28392120d6b..2615b8c6b26e 100644 --- a/sdk/sagemaker/src/operation/list_pipelines/builders.rs +++ b/sdk/sagemaker/src/operation/list_pipelines/builders.rs @@ -19,9 +19,9 @@ impl ListPipelinesFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl ListPipelinesFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_pipelines::ListPipelines, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::list_pipelines::paginator::ListPipelinesPaginator::send) which returns a `Stream`. diff --git a/sdk/sagemaker/src/operation/list_processing_jobs/builders.rs b/sdk/sagemaker/src/operation/list_processing_jobs/builders.rs index e0fd0c82d082..f7cd1d05188f 100644 --- a/sdk/sagemaker/src/operation/list_processing_jobs/builders.rs +++ b/sdk/sagemaker/src/operation/list_processing_jobs/builders.rs @@ -19,9 +19,9 @@ impl ListProcessingJobsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl ListProcessingJobsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_processing_jobs::ListProcessingJobs, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::list_processing_jobs::ListProcessingJobsError, + >, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::list_processing_jobs::paginator::ListProcessingJobsPaginator::send) which returns a `Stream`. diff --git a/sdk/sagemaker/src/operation/list_projects/builders.rs b/sdk/sagemaker/src/operation/list_projects/builders.rs index 6d8f4fcf2a55..368a0f24ebe9 100644 --- a/sdk/sagemaker/src/operation/list_projects/builders.rs +++ b/sdk/sagemaker/src/operation/list_projects/builders.rs @@ -19,9 +19,9 @@ impl ListProjectsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl ListProjectsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_projects::ListProjects, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::list_projects::paginator::ListProjectsPaginator::send) which returns a `Stream`. diff --git a/sdk/sagemaker/src/operation/list_spaces/builders.rs b/sdk/sagemaker/src/operation/list_spaces/builders.rs index 239c07911ce9..c46073855f6a 100644 --- a/sdk/sagemaker/src/operation/list_spaces/builders.rs +++ b/sdk/sagemaker/src/operation/list_spaces/builders.rs @@ -19,9 +19,9 @@ impl ListSpacesFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl ListSpacesFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_spaces::ListSpaces, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::list_spaces::paginator::ListSpacesPaginator::send) which returns a `Stream`. diff --git a/sdk/sagemaker/src/operation/list_stage_devices/builders.rs b/sdk/sagemaker/src/operation/list_stage_devices/builders.rs index 3e4c0f0f5735..5c77a2a86b2d 100644 --- a/sdk/sagemaker/src/operation/list_stage_devices/builders.rs +++ b/sdk/sagemaker/src/operation/list_stage_devices/builders.rs @@ -19,9 +19,9 @@ impl ListStageDevicesFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl ListStageDevicesFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_stage_devices::ListStageDevices, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::list_stage_devices::ListStageDevicesError, + >, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::list_stage_devices::paginator::ListStageDevicesPaginator::send) which returns a `Stream`. diff --git a/sdk/sagemaker/src/operation/list_studio_lifecycle_configs/builders.rs b/sdk/sagemaker/src/operation/list_studio_lifecycle_configs/builders.rs index 64105a38c18a..ac9a001729d8 100644 --- a/sdk/sagemaker/src/operation/list_studio_lifecycle_configs/builders.rs +++ b/sdk/sagemaker/src/operation/list_studio_lifecycle_configs/builders.rs @@ -19,9 +19,9 @@ impl ListStudioLifecycleConfigsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl ListStudioLifecycleConfigsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_studio_lifecycle_configs::ListStudioLifecycleConfigs, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::list_studio_lifecycle_configs::ListStudioLifecycleConfigsError, + >, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::list_studio_lifecycle_configs::paginator::ListStudioLifecycleConfigsPaginator::send) which returns a `Stream`. diff --git a/sdk/sagemaker/src/operation/list_subscribed_workteams/builders.rs b/sdk/sagemaker/src/operation/list_subscribed_workteams/builders.rs index 85bd95a49beb..26aaed656088 100644 --- a/sdk/sagemaker/src/operation/list_subscribed_workteams/builders.rs +++ b/sdk/sagemaker/src/operation/list_subscribed_workteams/builders.rs @@ -20,9 +20,9 @@ impl ListSubscribedWorkteamsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -84,6 +84,22 @@ impl ListSubscribedWorkteamsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_subscribed_workteams::ListSubscribedWorkteams, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::list_subscribed_workteams::ListSubscribedWorkteamsError, + >, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::list_subscribed_workteams::paginator::ListSubscribedWorkteamsPaginator::send) which returns a `Stream`. diff --git a/sdk/sagemaker/src/operation/list_tags/builders.rs b/sdk/sagemaker/src/operation/list_tags/builders.rs index ac4086fa7076..b112a46ccd6c 100644 --- a/sdk/sagemaker/src/operation/list_tags/builders.rs +++ b/sdk/sagemaker/src/operation/list_tags/builders.rs @@ -19,9 +19,9 @@ impl ListTagsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl ListTagsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_tags::ListTags, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::list_tags::paginator::ListTagsPaginator::send) which returns a `Stream`. diff --git a/sdk/sagemaker/src/operation/list_training_jobs/builders.rs b/sdk/sagemaker/src/operation/list_training_jobs/builders.rs index 0f9265a4d3ac..c1769cd2ce07 100644 --- a/sdk/sagemaker/src/operation/list_training_jobs/builders.rs +++ b/sdk/sagemaker/src/operation/list_training_jobs/builders.rs @@ -26,9 +26,9 @@ impl ListTrainingJobsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -90,6 +90,22 @@ impl ListTrainingJobsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_training_jobs::ListTrainingJobs, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::list_training_jobs::ListTrainingJobsError, + >, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::list_training_jobs::paginator::ListTrainingJobsPaginator::send) which returns a `Stream`. diff --git a/sdk/sagemaker/src/operation/list_training_jobs_for_hyper_parameter_tuning_job/builders.rs b/sdk/sagemaker/src/operation/list_training_jobs_for_hyper_parameter_tuning_job/builders.rs index f038c01fc01e..583a9ea34b14 100644 --- a/sdk/sagemaker/src/operation/list_training_jobs_for_hyper_parameter_tuning_job/builders.rs +++ b/sdk/sagemaker/src/operation/list_training_jobs_for_hyper_parameter_tuning_job/builders.rs @@ -19,9 +19,9 @@ impl ListTrainingJobsForHyperParameterTuningJobFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize(self) -> ::std::result::Result< + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware(self) -> ::std::result::Result< crate::client::customize::CustomizableOperation, ::aws_smithy_http::result::SdkError >{ @@ -64,6 +64,15 @@ impl ListTrainingJobsForHyperParameterTuningJobFluentBuilder { { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize(self) -> ::std::result::Result< + crate::client::customize::CustomizableOperation, + ::aws_smithy_http::result::SdkError + >{ + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::list_training_jobs_for_hyper_parameter_tuning_job::paginator::ListTrainingJobsForHyperParameterTuningJobPaginator::send) which returns a `Stream`. diff --git a/sdk/sagemaker/src/operation/list_transform_jobs/builders.rs b/sdk/sagemaker/src/operation/list_transform_jobs/builders.rs index 7b9111d77b05..18d346eec2a7 100644 --- a/sdk/sagemaker/src/operation/list_transform_jobs/builders.rs +++ b/sdk/sagemaker/src/operation/list_transform_jobs/builders.rs @@ -19,9 +19,9 @@ impl ListTransformJobsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl ListTransformJobsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_transform_jobs::ListTransformJobs, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::list_transform_jobs::ListTransformJobsError, + >, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::list_transform_jobs::paginator::ListTransformJobsPaginator::send) which returns a `Stream`. diff --git a/sdk/sagemaker/src/operation/list_trial_components/builders.rs b/sdk/sagemaker/src/operation/list_trial_components/builders.rs index 284f2ef3f975..b8cfebd1c555 100644 --- a/sdk/sagemaker/src/operation/list_trial_components/builders.rs +++ b/sdk/sagemaker/src/operation/list_trial_components/builders.rs @@ -24,9 +24,9 @@ impl ListTrialComponentsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -88,6 +88,22 @@ impl ListTrialComponentsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_trial_components::ListTrialComponents, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::list_trial_components::ListTrialComponentsError, + >, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::list_trial_components::paginator::ListTrialComponentsPaginator::send) which returns a `Stream`. diff --git a/sdk/sagemaker/src/operation/list_trials/builders.rs b/sdk/sagemaker/src/operation/list_trials/builders.rs index 68cf9ae49386..5ed1669b7170 100644 --- a/sdk/sagemaker/src/operation/list_trials/builders.rs +++ b/sdk/sagemaker/src/operation/list_trials/builders.rs @@ -19,9 +19,9 @@ impl ListTrialsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl ListTrialsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_trials::ListTrials, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::list_trials::paginator::ListTrialsPaginator::send) which returns a `Stream`. diff --git a/sdk/sagemaker/src/operation/list_user_profiles/builders.rs b/sdk/sagemaker/src/operation/list_user_profiles/builders.rs index 8c0fb8b5e49f..6d010f8e366c 100644 --- a/sdk/sagemaker/src/operation/list_user_profiles/builders.rs +++ b/sdk/sagemaker/src/operation/list_user_profiles/builders.rs @@ -19,9 +19,9 @@ impl ListUserProfilesFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl ListUserProfilesFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_user_profiles::ListUserProfiles, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::list_user_profiles::ListUserProfilesError, + >, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::list_user_profiles::paginator::ListUserProfilesPaginator::send) which returns a `Stream`. diff --git a/sdk/sagemaker/src/operation/list_workforces/builders.rs b/sdk/sagemaker/src/operation/list_workforces/builders.rs index 6596ab5cc7b1..e69837d8edf7 100644 --- a/sdk/sagemaker/src/operation/list_workforces/builders.rs +++ b/sdk/sagemaker/src/operation/list_workforces/builders.rs @@ -19,9 +19,9 @@ impl ListWorkforcesFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl ListWorkforcesFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_workforces::ListWorkforces, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::list_workforces::paginator::ListWorkforcesPaginator::send) which returns a `Stream`. diff --git a/sdk/sagemaker/src/operation/list_workteams/builders.rs b/sdk/sagemaker/src/operation/list_workteams/builders.rs index b65b21542a0c..56982317e01a 100644 --- a/sdk/sagemaker/src/operation/list_workteams/builders.rs +++ b/sdk/sagemaker/src/operation/list_workteams/builders.rs @@ -19,9 +19,9 @@ impl ListWorkteamsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl ListWorkteamsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_workteams::ListWorkteams, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::list_workteams::paginator::ListWorkteamsPaginator::send) which returns a `Stream`. diff --git a/sdk/sagemaker/src/operation/put_model_package_group_policy/builders.rs b/sdk/sagemaker/src/operation/put_model_package_group_policy/builders.rs index 3b260f30f636..829f7ab6176d 100644 --- a/sdk/sagemaker/src/operation/put_model_package_group_policy/builders.rs +++ b/sdk/sagemaker/src/operation/put_model_package_group_policy/builders.rs @@ -19,9 +19,9 @@ impl PutModelPackageGroupPolicyFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl PutModelPackageGroupPolicyFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::put_model_package_group_policy::PutModelPackageGroupPolicy, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::put_model_package_group_policy::PutModelPackageGroupPolicyError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                The name of the model group to add a resource policy to.

                                                                                                                                                                                                                                                                                                                                                                                pub fn model_package_group_name( mut self, diff --git a/sdk/sagemaker/src/operation/query_lineage/builders.rs b/sdk/sagemaker/src/operation/query_lineage/builders.rs index a2eebbf9cd9a..f34238f8bd84 100644 --- a/sdk/sagemaker/src/operation/query_lineage/builders.rs +++ b/sdk/sagemaker/src/operation/query_lineage/builders.rs @@ -19,9 +19,9 @@ impl QueryLineageFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl QueryLineageFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::query_lineage::QueryLineage, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::query_lineage::paginator::QueryLineagePaginator::send) which returns a `Stream`. diff --git a/sdk/sagemaker/src/operation/register_devices/builders.rs b/sdk/sagemaker/src/operation/register_devices/builders.rs index 1708938e79cf..0ddbee387a89 100644 --- a/sdk/sagemaker/src/operation/register_devices/builders.rs +++ b/sdk/sagemaker/src/operation/register_devices/builders.rs @@ -19,9 +19,9 @@ impl RegisterDevicesFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl RegisterDevicesFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::register_devices::RegisterDevices, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::register_devices::RegisterDevicesError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                The name of the fleet.

                                                                                                                                                                                                                                                                                                                                                                                pub fn device_fleet_name( mut self, diff --git a/sdk/sagemaker/src/operation/render_ui_template/builders.rs b/sdk/sagemaker/src/operation/render_ui_template/builders.rs index e60ed4d3f1de..3de69d9edce9 100644 --- a/sdk/sagemaker/src/operation/render_ui_template/builders.rs +++ b/sdk/sagemaker/src/operation/render_ui_template/builders.rs @@ -19,9 +19,9 @@ impl RenderUiTemplateFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl RenderUiTemplateFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::render_ui_template::RenderUiTemplate, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::render_ui_template::RenderUiTemplateError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                A Template object containing the worker UI template to render.

                                                                                                                                                                                                                                                                                                                                                                                pub fn ui_template(mut self, input: crate::types::UiTemplate) -> Self { self.inner = self.inner.ui_template(input); diff --git a/sdk/sagemaker/src/operation/retry_pipeline_execution/builders.rs b/sdk/sagemaker/src/operation/retry_pipeline_execution/builders.rs index 335312fd3b9f..9034cea6774c 100644 --- a/sdk/sagemaker/src/operation/retry_pipeline_execution/builders.rs +++ b/sdk/sagemaker/src/operation/retry_pipeline_execution/builders.rs @@ -19,9 +19,9 @@ impl RetryPipelineExecutionFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl RetryPipelineExecutionFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::retry_pipeline_execution::RetryPipelineExecution, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::retry_pipeline_execution::RetryPipelineExecutionError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                The Amazon Resource Name (ARN) of the pipeline execution.

                                                                                                                                                                                                                                                                                                                                                                                pub fn pipeline_execution_arn( mut self, diff --git a/sdk/sagemaker/src/operation/search/builders.rs b/sdk/sagemaker/src/operation/search/builders.rs index b70826e2ce4f..fc7c97acc1c4 100644 --- a/sdk/sagemaker/src/operation/search/builders.rs +++ b/sdk/sagemaker/src/operation/search/builders.rs @@ -22,9 +22,9 @@ impl SearchFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -80,6 +80,20 @@ impl SearchFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::search::Search, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::search::paginator::SearchPaginator::send) which returns a `Stream`. diff --git a/sdk/sagemaker/src/operation/send_pipeline_execution_step_failure/builders.rs b/sdk/sagemaker/src/operation/send_pipeline_execution_step_failure/builders.rs index b1c42cd4924f..41e7025e96de 100644 --- a/sdk/sagemaker/src/operation/send_pipeline_execution_step_failure/builders.rs +++ b/sdk/sagemaker/src/operation/send_pipeline_execution_step_failure/builders.rs @@ -19,9 +19,9 @@ impl SendPipelineExecutionStepFailureFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize(self) -> ::std::result::Result< + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware(self) -> ::std::result::Result< crate::client::customize::CustomizableOperation, ::aws_smithy_http::result::SdkError >{ @@ -64,6 +64,15 @@ impl SendPipelineExecutionStepFailureFluentBuilder { { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize(self) -> ::std::result::Result< + crate::client::customize::CustomizableOperation, + ::aws_smithy_http::result::SdkError + >{ + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                The pipeline generated token from the Amazon SQS queue.

                                                                                                                                                                                                                                                                                                                                                                                pub fn callback_token( mut self, diff --git a/sdk/sagemaker/src/operation/send_pipeline_execution_step_success/builders.rs b/sdk/sagemaker/src/operation/send_pipeline_execution_step_success/builders.rs index 88b76a760c46..d80e82b71025 100644 --- a/sdk/sagemaker/src/operation/send_pipeline_execution_step_success/builders.rs +++ b/sdk/sagemaker/src/operation/send_pipeline_execution_step_success/builders.rs @@ -19,9 +19,9 @@ impl SendPipelineExecutionStepSuccessFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize(self) -> ::std::result::Result< + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware(self) -> ::std::result::Result< crate::client::customize::CustomizableOperation, ::aws_smithy_http::result::SdkError >{ @@ -64,6 +64,15 @@ impl SendPipelineExecutionStepSuccessFluentBuilder { { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize(self) -> ::std::result::Result< + crate::client::customize::CustomizableOperation, + ::aws_smithy_http::result::SdkError + >{ + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                The pipeline generated token from the Amazon SQS queue.

                                                                                                                                                                                                                                                                                                                                                                                pub fn callback_token( mut self, diff --git a/sdk/sagemaker/src/operation/start_edge_deployment_stage/builders.rs b/sdk/sagemaker/src/operation/start_edge_deployment_stage/builders.rs index 1d3b71496e9e..627bed8dc322 100644 --- a/sdk/sagemaker/src/operation/start_edge_deployment_stage/builders.rs +++ b/sdk/sagemaker/src/operation/start_edge_deployment_stage/builders.rs @@ -19,9 +19,9 @@ impl StartEdgeDeploymentStageFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl StartEdgeDeploymentStageFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::start_edge_deployment_stage::StartEdgeDeploymentStage, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::start_edge_deployment_stage::StartEdgeDeploymentStageError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                The name of the edge deployment plan to start.

                                                                                                                                                                                                                                                                                                                                                                                pub fn edge_deployment_plan_name( mut self, diff --git a/sdk/sagemaker/src/operation/start_inference_experiment/builders.rs b/sdk/sagemaker/src/operation/start_inference_experiment/builders.rs index 7512c5f5ea7a..e284e524951c 100644 --- a/sdk/sagemaker/src/operation/start_inference_experiment/builders.rs +++ b/sdk/sagemaker/src/operation/start_inference_experiment/builders.rs @@ -19,9 +19,9 @@ impl StartInferenceExperimentFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl StartInferenceExperimentFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::start_inference_experiment::StartInferenceExperiment, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::start_inference_experiment::StartInferenceExperimentError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                The name of the inference experiment to start.

                                                                                                                                                                                                                                                                                                                                                                                pub fn name(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.name(input.into()); diff --git a/sdk/sagemaker/src/operation/start_monitoring_schedule/builders.rs b/sdk/sagemaker/src/operation/start_monitoring_schedule/builders.rs index ffb0d8b741ba..23f6f3e66f79 100644 --- a/sdk/sagemaker/src/operation/start_monitoring_schedule/builders.rs +++ b/sdk/sagemaker/src/operation/start_monitoring_schedule/builders.rs @@ -22,9 +22,9 @@ impl StartMonitoringScheduleFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -86,6 +86,22 @@ impl StartMonitoringScheduleFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::start_monitoring_schedule::StartMonitoringSchedule, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::start_monitoring_schedule::StartMonitoringScheduleError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                The name of the schedule to start.

                                                                                                                                                                                                                                                                                                                                                                                pub fn monitoring_schedule_name( mut self, diff --git a/sdk/sagemaker/src/operation/start_notebook_instance/builders.rs b/sdk/sagemaker/src/operation/start_notebook_instance/builders.rs index 80cc57519394..2f354d5895e6 100644 --- a/sdk/sagemaker/src/operation/start_notebook_instance/builders.rs +++ b/sdk/sagemaker/src/operation/start_notebook_instance/builders.rs @@ -19,9 +19,9 @@ impl StartNotebookInstanceFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl StartNotebookInstanceFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::start_notebook_instance::StartNotebookInstance, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::start_notebook_instance::StartNotebookInstanceError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                The name of the notebook instance to start.

                                                                                                                                                                                                                                                                                                                                                                                pub fn notebook_instance_name( mut self, diff --git a/sdk/sagemaker/src/operation/start_pipeline_execution/builders.rs b/sdk/sagemaker/src/operation/start_pipeline_execution/builders.rs index 9d6ee2902a3e..a24aede4ec52 100644 --- a/sdk/sagemaker/src/operation/start_pipeline_execution/builders.rs +++ b/sdk/sagemaker/src/operation/start_pipeline_execution/builders.rs @@ -19,9 +19,9 @@ impl StartPipelineExecutionFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl StartPipelineExecutionFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::start_pipeline_execution::StartPipelineExecution, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::start_pipeline_execution::StartPipelineExecutionError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                The name of the pipeline.

                                                                                                                                                                                                                                                                                                                                                                                pub fn pipeline_name( mut self, diff --git a/sdk/sagemaker/src/operation/stop_auto_ml_job/builders.rs b/sdk/sagemaker/src/operation/stop_auto_ml_job/builders.rs index 4c9cb666a4c1..c187f79b39c4 100644 --- a/sdk/sagemaker/src/operation/stop_auto_ml_job/builders.rs +++ b/sdk/sagemaker/src/operation/stop_auto_ml_job/builders.rs @@ -19,9 +19,9 @@ impl StopAutoMLJobFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl StopAutoMLJobFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::stop_auto_ml_job::StopAutoMLJob, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                The name of the object you are requesting.

                                                                                                                                                                                                                                                                                                                                                                                pub fn auto_ml_job_name( mut self, diff --git a/sdk/sagemaker/src/operation/stop_compilation_job/builders.rs b/sdk/sagemaker/src/operation/stop_compilation_job/builders.rs index 349e3cebf25f..2a0be1230eb6 100644 --- a/sdk/sagemaker/src/operation/stop_compilation_job/builders.rs +++ b/sdk/sagemaker/src/operation/stop_compilation_job/builders.rs @@ -21,9 +21,9 @@ impl StopCompilationJobFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -85,6 +85,22 @@ impl StopCompilationJobFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::stop_compilation_job::StopCompilationJob, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::stop_compilation_job::StopCompilationJobError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                The name of the model compilation job to stop.

                                                                                                                                                                                                                                                                                                                                                                                pub fn compilation_job_name( mut self, diff --git a/sdk/sagemaker/src/operation/stop_edge_deployment_stage/builders.rs b/sdk/sagemaker/src/operation/stop_edge_deployment_stage/builders.rs index 44d701aaa9e3..e264bb55745d 100644 --- a/sdk/sagemaker/src/operation/stop_edge_deployment_stage/builders.rs +++ b/sdk/sagemaker/src/operation/stop_edge_deployment_stage/builders.rs @@ -20,9 +20,9 @@ impl StopEdgeDeploymentStageFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -84,6 +84,22 @@ impl StopEdgeDeploymentStageFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::stop_edge_deployment_stage::StopEdgeDeploymentStage, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::stop_edge_deployment_stage::StopEdgeDeploymentStageError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                The name of the edge deployment plan to stop.

                                                                                                                                                                                                                                                                                                                                                                                pub fn edge_deployment_plan_name( mut self, diff --git a/sdk/sagemaker/src/operation/stop_edge_packaging_job/builders.rs b/sdk/sagemaker/src/operation/stop_edge_packaging_job/builders.rs index 66da6299a1ec..7648c4f976ae 100644 --- a/sdk/sagemaker/src/operation/stop_edge_packaging_job/builders.rs +++ b/sdk/sagemaker/src/operation/stop_edge_packaging_job/builders.rs @@ -19,9 +19,9 @@ impl StopEdgePackagingJobFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl StopEdgePackagingJobFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::stop_edge_packaging_job::StopEdgePackagingJob, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::stop_edge_packaging_job::StopEdgePackagingJobError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                The name of the edge packaging job.

                                                                                                                                                                                                                                                                                                                                                                                pub fn edge_packaging_job_name( mut self, diff --git a/sdk/sagemaker/src/operation/stop_hyper_parameter_tuning_job/builders.rs b/sdk/sagemaker/src/operation/stop_hyper_parameter_tuning_job/builders.rs index c3ab6e795ea6..3d82624cd56c 100644 --- a/sdk/sagemaker/src/operation/stop_hyper_parameter_tuning_job/builders.rs +++ b/sdk/sagemaker/src/operation/stop_hyper_parameter_tuning_job/builders.rs @@ -20,9 +20,9 @@ impl StopHyperParameterTuningJobFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -84,6 +84,22 @@ impl StopHyperParameterTuningJobFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::stop_hyper_parameter_tuning_job::StopHyperParameterTuningJob, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::stop_hyper_parameter_tuning_job::StopHyperParameterTuningJobError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                The name of the tuning job to stop.

                                                                                                                                                                                                                                                                                                                                                                                pub fn hyper_parameter_tuning_job_name( mut self, diff --git a/sdk/sagemaker/src/operation/stop_inference_experiment/builders.rs b/sdk/sagemaker/src/operation/stop_inference_experiment/builders.rs index ff8f3df19d7c..aca9aecc2eaf 100644 --- a/sdk/sagemaker/src/operation/stop_inference_experiment/builders.rs +++ b/sdk/sagemaker/src/operation/stop_inference_experiment/builders.rs @@ -20,9 +20,9 @@ impl StopInferenceExperimentFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -84,6 +84,22 @@ impl StopInferenceExperimentFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::stop_inference_experiment::StopInferenceExperiment, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::stop_inference_experiment::StopInferenceExperimentError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                The name of the inference experiment to stop.

                                                                                                                                                                                                                                                                                                                                                                                pub fn name(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.name(input.into()); diff --git a/sdk/sagemaker/src/operation/stop_inference_recommendations_job/builders.rs b/sdk/sagemaker/src/operation/stop_inference_recommendations_job/builders.rs index 4b6b4dd7e10c..6aac2735cbdd 100644 --- a/sdk/sagemaker/src/operation/stop_inference_recommendations_job/builders.rs +++ b/sdk/sagemaker/src/operation/stop_inference_recommendations_job/builders.rs @@ -19,9 +19,9 @@ impl StopInferenceRecommendationsJobFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize(self) -> ::std::result::Result< + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware(self) -> ::std::result::Result< crate::client::customize::CustomizableOperation, ::aws_smithy_http::result::SdkError >{ @@ -64,6 +64,15 @@ impl StopInferenceRecommendationsJobFluentBuilder { { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize(self) -> ::std::result::Result< + crate::client::customize::CustomizableOperation, + ::aws_smithy_http::result::SdkError + >{ + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                The name of the job you want to stop.

                                                                                                                                                                                                                                                                                                                                                                                pub fn job_name(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.job_name(input.into()); diff --git a/sdk/sagemaker/src/operation/stop_labeling_job/builders.rs b/sdk/sagemaker/src/operation/stop_labeling_job/builders.rs index 8d847a2b19b3..4242d49b553c 100644 --- a/sdk/sagemaker/src/operation/stop_labeling_job/builders.rs +++ b/sdk/sagemaker/src/operation/stop_labeling_job/builders.rs @@ -19,9 +19,9 @@ impl StopLabelingJobFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl StopLabelingJobFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::stop_labeling_job::StopLabelingJob, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::stop_labeling_job::StopLabelingJobError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                The name of the labeling job to stop.

                                                                                                                                                                                                                                                                                                                                                                                pub fn labeling_job_name( mut self, diff --git a/sdk/sagemaker/src/operation/stop_monitoring_schedule/builders.rs b/sdk/sagemaker/src/operation/stop_monitoring_schedule/builders.rs index fe5396d6d67c..abcf1b685bde 100644 --- a/sdk/sagemaker/src/operation/stop_monitoring_schedule/builders.rs +++ b/sdk/sagemaker/src/operation/stop_monitoring_schedule/builders.rs @@ -19,9 +19,9 @@ impl StopMonitoringScheduleFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl StopMonitoringScheduleFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::stop_monitoring_schedule::StopMonitoringSchedule, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::stop_monitoring_schedule::StopMonitoringScheduleError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                The name of the schedule to stop.

                                                                                                                                                                                                                                                                                                                                                                                pub fn monitoring_schedule_name( mut self, diff --git a/sdk/sagemaker/src/operation/stop_notebook_instance/builders.rs b/sdk/sagemaker/src/operation/stop_notebook_instance/builders.rs index 95b720d4df5f..5e9d39e0da25 100644 --- a/sdk/sagemaker/src/operation/stop_notebook_instance/builders.rs +++ b/sdk/sagemaker/src/operation/stop_notebook_instance/builders.rs @@ -20,9 +20,9 @@ impl StopNotebookInstanceFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -84,6 +84,22 @@ impl StopNotebookInstanceFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::stop_notebook_instance::StopNotebookInstance, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::stop_notebook_instance::StopNotebookInstanceError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                The name of the notebook instance to terminate.

                                                                                                                                                                                                                                                                                                                                                                                pub fn notebook_instance_name( mut self, diff --git a/sdk/sagemaker/src/operation/stop_pipeline_execution/builders.rs b/sdk/sagemaker/src/operation/stop_pipeline_execution/builders.rs index fe6b6f5a2725..2be65b23c861 100644 --- a/sdk/sagemaker/src/operation/stop_pipeline_execution/builders.rs +++ b/sdk/sagemaker/src/operation/stop_pipeline_execution/builders.rs @@ -25,9 +25,9 @@ impl StopPipelineExecutionFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -89,6 +89,22 @@ impl StopPipelineExecutionFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::stop_pipeline_execution::StopPipelineExecution, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::stop_pipeline_execution::StopPipelineExecutionError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                The Amazon Resource Name (ARN) of the pipeline execution.

                                                                                                                                                                                                                                                                                                                                                                                pub fn pipeline_execution_arn( mut self, diff --git a/sdk/sagemaker/src/operation/stop_processing_job/builders.rs b/sdk/sagemaker/src/operation/stop_processing_job/builders.rs index 8fbf1d0efdc7..ad89a8b164cc 100644 --- a/sdk/sagemaker/src/operation/stop_processing_job/builders.rs +++ b/sdk/sagemaker/src/operation/stop_processing_job/builders.rs @@ -19,9 +19,9 @@ impl StopProcessingJobFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl StopProcessingJobFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::stop_processing_job::StopProcessingJob, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::stop_processing_job::StopProcessingJobError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                The name of the processing job to stop.

                                                                                                                                                                                                                                                                                                                                                                                pub fn processing_job_name( mut self, diff --git a/sdk/sagemaker/src/operation/stop_training_job/builders.rs b/sdk/sagemaker/src/operation/stop_training_job/builders.rs index 47e748f0a257..ac54ff92087b 100644 --- a/sdk/sagemaker/src/operation/stop_training_job/builders.rs +++ b/sdk/sagemaker/src/operation/stop_training_job/builders.rs @@ -20,9 +20,9 @@ impl StopTrainingJobFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -84,6 +84,22 @@ impl StopTrainingJobFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::stop_training_job::StopTrainingJob, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::stop_training_job::StopTrainingJobError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                The name of the training job to stop.

                                                                                                                                                                                                                                                                                                                                                                                pub fn training_job_name( mut self, diff --git a/sdk/sagemaker/src/operation/stop_transform_job/builders.rs b/sdk/sagemaker/src/operation/stop_transform_job/builders.rs index 37d1bd917ffc..99c9074bd2e5 100644 --- a/sdk/sagemaker/src/operation/stop_transform_job/builders.rs +++ b/sdk/sagemaker/src/operation/stop_transform_job/builders.rs @@ -20,9 +20,9 @@ impl StopTransformJobFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -84,6 +84,22 @@ impl StopTransformJobFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::stop_transform_job::StopTransformJob, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::stop_transform_job::StopTransformJobError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                The name of the batch transform job to stop.

                                                                                                                                                                                                                                                                                                                                                                                pub fn transform_job_name( mut self, diff --git a/sdk/sagemaker/src/operation/update_action/builders.rs b/sdk/sagemaker/src/operation/update_action/builders.rs index def36ca5e12f..cc77ffe2c5c0 100644 --- a/sdk/sagemaker/src/operation/update_action/builders.rs +++ b/sdk/sagemaker/src/operation/update_action/builders.rs @@ -19,9 +19,9 @@ impl UpdateActionFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl UpdateActionFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::update_action::UpdateAction, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                The name of the action to update.

                                                                                                                                                                                                                                                                                                                                                                                pub fn action_name(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.action_name(input.into()); diff --git a/sdk/sagemaker/src/operation/update_app_image_config/builders.rs b/sdk/sagemaker/src/operation/update_app_image_config/builders.rs index eedaeada25de..5abd3464617e 100644 --- a/sdk/sagemaker/src/operation/update_app_image_config/builders.rs +++ b/sdk/sagemaker/src/operation/update_app_image_config/builders.rs @@ -19,9 +19,9 @@ impl UpdateAppImageConfigFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl UpdateAppImageConfigFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::update_app_image_config::UpdateAppImageConfig, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::update_app_image_config::UpdateAppImageConfigError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                The name of the AppImageConfig to update.

                                                                                                                                                                                                                                                                                                                                                                                pub fn app_image_config_name( mut self, diff --git a/sdk/sagemaker/src/operation/update_artifact/builders.rs b/sdk/sagemaker/src/operation/update_artifact/builders.rs index df36027da484..5cce7d347bc9 100644 --- a/sdk/sagemaker/src/operation/update_artifact/builders.rs +++ b/sdk/sagemaker/src/operation/update_artifact/builders.rs @@ -19,9 +19,9 @@ impl UpdateArtifactFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl UpdateArtifactFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::update_artifact::UpdateArtifact, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                The Amazon Resource Name (ARN) of the artifact to update.

                                                                                                                                                                                                                                                                                                                                                                                pub fn artifact_arn(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.artifact_arn(input.into()); diff --git a/sdk/sagemaker/src/operation/update_code_repository/builders.rs b/sdk/sagemaker/src/operation/update_code_repository/builders.rs index 39919b4881ca..199215e40666 100644 --- a/sdk/sagemaker/src/operation/update_code_repository/builders.rs +++ b/sdk/sagemaker/src/operation/update_code_repository/builders.rs @@ -19,9 +19,9 @@ impl UpdateCodeRepositoryFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl UpdateCodeRepositoryFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::update_code_repository::UpdateCodeRepository, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::update_code_repository::UpdateCodeRepositoryError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                The name of the Git repository to update.

                                                                                                                                                                                                                                                                                                                                                                                pub fn code_repository_name( mut self, diff --git a/sdk/sagemaker/src/operation/update_context/builders.rs b/sdk/sagemaker/src/operation/update_context/builders.rs index f34c6bfdf857..cb727784e60b 100644 --- a/sdk/sagemaker/src/operation/update_context/builders.rs +++ b/sdk/sagemaker/src/operation/update_context/builders.rs @@ -19,9 +19,9 @@ impl UpdateContextFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl UpdateContextFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::update_context::UpdateContext, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                The name of the context to update.

                                                                                                                                                                                                                                                                                                                                                                                pub fn context_name(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.context_name(input.into()); diff --git a/sdk/sagemaker/src/operation/update_device_fleet/builders.rs b/sdk/sagemaker/src/operation/update_device_fleet/builders.rs index e534073d016f..8a660f8e2c9a 100644 --- a/sdk/sagemaker/src/operation/update_device_fleet/builders.rs +++ b/sdk/sagemaker/src/operation/update_device_fleet/builders.rs @@ -19,9 +19,9 @@ impl UpdateDeviceFleetFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl UpdateDeviceFleetFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::update_device_fleet::UpdateDeviceFleet, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::update_device_fleet::UpdateDeviceFleetError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                The name of the fleet.

                                                                                                                                                                                                                                                                                                                                                                                pub fn device_fleet_name( mut self, diff --git a/sdk/sagemaker/src/operation/update_devices/builders.rs b/sdk/sagemaker/src/operation/update_devices/builders.rs index 10b70bc4ccdf..dccf98935399 100644 --- a/sdk/sagemaker/src/operation/update_devices/builders.rs +++ b/sdk/sagemaker/src/operation/update_devices/builders.rs @@ -19,9 +19,9 @@ impl UpdateDevicesFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl UpdateDevicesFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::update_devices::UpdateDevices, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                The name of the fleet the devices belong to.

                                                                                                                                                                                                                                                                                                                                                                                pub fn device_fleet_name( mut self, diff --git a/sdk/sagemaker/src/operation/update_domain/builders.rs b/sdk/sagemaker/src/operation/update_domain/builders.rs index c390db6a555e..59654e00978f 100644 --- a/sdk/sagemaker/src/operation/update_domain/builders.rs +++ b/sdk/sagemaker/src/operation/update_domain/builders.rs @@ -19,9 +19,9 @@ impl UpdateDomainFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl UpdateDomainFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::update_domain::UpdateDomain, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                The ID of the domain to be updated.

                                                                                                                                                                                                                                                                                                                                                                                pub fn domain_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.domain_id(input.into()); diff --git a/sdk/sagemaker/src/operation/update_endpoint/builders.rs b/sdk/sagemaker/src/operation/update_endpoint/builders.rs index 9f3f0e65a668..7d56c73ba6ee 100644 --- a/sdk/sagemaker/src/operation/update_endpoint/builders.rs +++ b/sdk/sagemaker/src/operation/update_endpoint/builders.rs @@ -23,9 +23,9 @@ impl UpdateEndpointFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -81,6 +81,20 @@ impl UpdateEndpointFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::update_endpoint::UpdateEndpoint, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                The name of the endpoint whose configuration you want to update.

                                                                                                                                                                                                                                                                                                                                                                                pub fn endpoint_name( mut self, diff --git a/sdk/sagemaker/src/operation/update_endpoint_weights_and_capacities/builders.rs b/sdk/sagemaker/src/operation/update_endpoint_weights_and_capacities/builders.rs index 9e7f0c7e8ea0..f4b965f329b0 100644 --- a/sdk/sagemaker/src/operation/update_endpoint_weights_and_capacities/builders.rs +++ b/sdk/sagemaker/src/operation/update_endpoint_weights_and_capacities/builders.rs @@ -19,9 +19,9 @@ impl UpdateEndpointWeightsAndCapacitiesFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize(self) -> ::std::result::Result< + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware(self) -> ::std::result::Result< crate::client::customize::CustomizableOperation, ::aws_smithy_http::result::SdkError >{ @@ -64,6 +64,15 @@ impl UpdateEndpointWeightsAndCapacitiesFluentBuilder { { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize(self) -> ::std::result::Result< + crate::client::customize::CustomizableOperation, + ::aws_smithy_http::result::SdkError + >{ + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                The name of an existing SageMaker endpoint.

                                                                                                                                                                                                                                                                                                                                                                                pub fn endpoint_name( mut self, diff --git a/sdk/sagemaker/src/operation/update_experiment/builders.rs b/sdk/sagemaker/src/operation/update_experiment/builders.rs index d0b87efc8004..a28d7c692eca 100644 --- a/sdk/sagemaker/src/operation/update_experiment/builders.rs +++ b/sdk/sagemaker/src/operation/update_experiment/builders.rs @@ -19,9 +19,9 @@ impl UpdateExperimentFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl UpdateExperimentFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::update_experiment::UpdateExperiment, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::update_experiment::UpdateExperimentError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                The name of the experiment to update.

                                                                                                                                                                                                                                                                                                                                                                                pub fn experiment_name( mut self, diff --git a/sdk/sagemaker/src/operation/update_feature_group/builders.rs b/sdk/sagemaker/src/operation/update_feature_group/builders.rs index 0b5c9b710a4d..a223ff736086 100644 --- a/sdk/sagemaker/src/operation/update_feature_group/builders.rs +++ b/sdk/sagemaker/src/operation/update_feature_group/builders.rs @@ -19,9 +19,9 @@ impl UpdateFeatureGroupFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl UpdateFeatureGroupFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::update_feature_group::UpdateFeatureGroup, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::update_feature_group::UpdateFeatureGroupError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                The name of the feature group that you're updating.

                                                                                                                                                                                                                                                                                                                                                                                pub fn feature_group_name( mut self, diff --git a/sdk/sagemaker/src/operation/update_feature_metadata/builders.rs b/sdk/sagemaker/src/operation/update_feature_metadata/builders.rs index c16b32a74111..32930d23a046 100644 --- a/sdk/sagemaker/src/operation/update_feature_metadata/builders.rs +++ b/sdk/sagemaker/src/operation/update_feature_metadata/builders.rs @@ -19,9 +19,9 @@ impl UpdateFeatureMetadataFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl UpdateFeatureMetadataFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::update_feature_metadata::UpdateFeatureMetadata, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::update_feature_metadata::UpdateFeatureMetadataError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                The name of the feature group containing the feature that you're updating.

                                                                                                                                                                                                                                                                                                                                                                                pub fn feature_group_name( mut self, diff --git a/sdk/sagemaker/src/operation/update_hub/builders.rs b/sdk/sagemaker/src/operation/update_hub/builders.rs index 4a754d4e5d03..eb7b3c8ca1de 100644 --- a/sdk/sagemaker/src/operation/update_hub/builders.rs +++ b/sdk/sagemaker/src/operation/update_hub/builders.rs @@ -21,9 +21,9 @@ impl UpdateHubFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -79,6 +79,20 @@ impl UpdateHubFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::update_hub::UpdateHub, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                The name of the hub to update.

                                                                                                                                                                                                                                                                                                                                                                                pub fn hub_name(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.hub_name(input.into()); diff --git a/sdk/sagemaker/src/operation/update_image/builders.rs b/sdk/sagemaker/src/operation/update_image/builders.rs index 34801a8ea9c0..8a2ecf4f11c3 100644 --- a/sdk/sagemaker/src/operation/update_image/builders.rs +++ b/sdk/sagemaker/src/operation/update_image/builders.rs @@ -19,9 +19,9 @@ impl UpdateImageFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl UpdateImageFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::update_image::UpdateImage, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } /// Appends an item to `DeleteProperties`. /// /// To override the contents of this collection use [`set_delete_properties`](Self::set_delete_properties). diff --git a/sdk/sagemaker/src/operation/update_image_version/builders.rs b/sdk/sagemaker/src/operation/update_image_version/builders.rs index 71980fd18296..becab1e5386b 100644 --- a/sdk/sagemaker/src/operation/update_image_version/builders.rs +++ b/sdk/sagemaker/src/operation/update_image_version/builders.rs @@ -19,9 +19,9 @@ impl UpdateImageVersionFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl UpdateImageVersionFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::update_image_version::UpdateImageVersion, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::update_image_version::UpdateImageVersionError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                The name of the image.

                                                                                                                                                                                                                                                                                                                                                                                pub fn image_name(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.image_name(input.into()); diff --git a/sdk/sagemaker/src/operation/update_inference_experiment/builders.rs b/sdk/sagemaker/src/operation/update_inference_experiment/builders.rs index a1fad873e165..24f6133515fd 100644 --- a/sdk/sagemaker/src/operation/update_inference_experiment/builders.rs +++ b/sdk/sagemaker/src/operation/update_inference_experiment/builders.rs @@ -19,9 +19,9 @@ impl UpdateInferenceExperimentFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl UpdateInferenceExperimentFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::update_inference_experiment::UpdateInferenceExperiment, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::update_inference_experiment::UpdateInferenceExperimentError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                The name of the inference experiment to be updated.

                                                                                                                                                                                                                                                                                                                                                                                pub fn name(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.name(input.into()); diff --git a/sdk/sagemaker/src/operation/update_model_card/builders.rs b/sdk/sagemaker/src/operation/update_model_card/builders.rs index 958c7a8dabd1..dfc36891622b 100644 --- a/sdk/sagemaker/src/operation/update_model_card/builders.rs +++ b/sdk/sagemaker/src/operation/update_model_card/builders.rs @@ -21,9 +21,9 @@ impl UpdateModelCardFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -85,6 +85,22 @@ impl UpdateModelCardFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::update_model_card::UpdateModelCard, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::update_model_card::UpdateModelCardError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                The name of the model card to update.

                                                                                                                                                                                                                                                                                                                                                                                pub fn model_card_name( mut self, diff --git a/sdk/sagemaker/src/operation/update_model_package/builders.rs b/sdk/sagemaker/src/operation/update_model_package/builders.rs index f17ebb98b2ab..9ba8fee7bd67 100644 --- a/sdk/sagemaker/src/operation/update_model_package/builders.rs +++ b/sdk/sagemaker/src/operation/update_model_package/builders.rs @@ -19,9 +19,9 @@ impl UpdateModelPackageFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl UpdateModelPackageFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::update_model_package::UpdateModelPackage, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::update_model_package::UpdateModelPackageError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                The Amazon Resource Name (ARN) of the model package.

                                                                                                                                                                                                                                                                                                                                                                                pub fn model_package_arn( mut self, diff --git a/sdk/sagemaker/src/operation/update_monitoring_alert/builders.rs b/sdk/sagemaker/src/operation/update_monitoring_alert/builders.rs index 800daf2acc07..6970c4835542 100644 --- a/sdk/sagemaker/src/operation/update_monitoring_alert/builders.rs +++ b/sdk/sagemaker/src/operation/update_monitoring_alert/builders.rs @@ -19,9 +19,9 @@ impl UpdateMonitoringAlertFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl UpdateMonitoringAlertFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::update_monitoring_alert::UpdateMonitoringAlert, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::update_monitoring_alert::UpdateMonitoringAlertError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                The name of a monitoring schedule.

                                                                                                                                                                                                                                                                                                                                                                                pub fn monitoring_schedule_name( mut self, diff --git a/sdk/sagemaker/src/operation/update_monitoring_schedule/builders.rs b/sdk/sagemaker/src/operation/update_monitoring_schedule/builders.rs index f3bac4444708..98458ac98117 100644 --- a/sdk/sagemaker/src/operation/update_monitoring_schedule/builders.rs +++ b/sdk/sagemaker/src/operation/update_monitoring_schedule/builders.rs @@ -19,9 +19,9 @@ impl UpdateMonitoringScheduleFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl UpdateMonitoringScheduleFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::update_monitoring_schedule::UpdateMonitoringSchedule, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::update_monitoring_schedule::UpdateMonitoringScheduleError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                The name of the monitoring schedule. The name must be unique within an Amazon Web Services Region within an Amazon Web Services account.

                                                                                                                                                                                                                                                                                                                                                                                pub fn monitoring_schedule_name( mut self, diff --git a/sdk/sagemaker/src/operation/update_notebook_instance/builders.rs b/sdk/sagemaker/src/operation/update_notebook_instance/builders.rs index d308a7bb9281..3087c33b99d1 100644 --- a/sdk/sagemaker/src/operation/update_notebook_instance/builders.rs +++ b/sdk/sagemaker/src/operation/update_notebook_instance/builders.rs @@ -19,9 +19,9 @@ impl UpdateNotebookInstanceFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl UpdateNotebookInstanceFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::update_notebook_instance::UpdateNotebookInstance, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::update_notebook_instance::UpdateNotebookInstanceError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                The name of the notebook instance to update.

                                                                                                                                                                                                                                                                                                                                                                                pub fn notebook_instance_name( mut self, diff --git a/sdk/sagemaker/src/operation/update_notebook_instance_lifecycle_config/builders.rs b/sdk/sagemaker/src/operation/update_notebook_instance_lifecycle_config/builders.rs index 0a0e7f1b1a44..9d2d5173f04a 100644 --- a/sdk/sagemaker/src/operation/update_notebook_instance_lifecycle_config/builders.rs +++ b/sdk/sagemaker/src/operation/update_notebook_instance_lifecycle_config/builders.rs @@ -19,9 +19,9 @@ impl UpdateNotebookInstanceLifecycleConfigFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize(self) -> ::std::result::Result< + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware(self) -> ::std::result::Result< crate::client::customize::CustomizableOperation, ::aws_smithy_http::result::SdkError >{ @@ -64,6 +64,15 @@ impl UpdateNotebookInstanceLifecycleConfigFluentBuilder { { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize(self) -> ::std::result::Result< + crate::client::customize::CustomizableOperation, + ::aws_smithy_http::result::SdkError + >{ + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                The name of the lifecycle configuration.

                                                                                                                                                                                                                                                                                                                                                                                pub fn notebook_instance_lifecycle_config_name( mut self, diff --git a/sdk/sagemaker/src/operation/update_pipeline/builders.rs b/sdk/sagemaker/src/operation/update_pipeline/builders.rs index eccc21ba988e..0fdf3dbb10d7 100644 --- a/sdk/sagemaker/src/operation/update_pipeline/builders.rs +++ b/sdk/sagemaker/src/operation/update_pipeline/builders.rs @@ -19,9 +19,9 @@ impl UpdatePipelineFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl UpdatePipelineFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::update_pipeline::UpdatePipeline, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                The name of the pipeline to update.

                                                                                                                                                                                                                                                                                                                                                                                pub fn pipeline_name( mut self, diff --git a/sdk/sagemaker/src/operation/update_pipeline_execution/builders.rs b/sdk/sagemaker/src/operation/update_pipeline_execution/builders.rs index a84d7d1b5708..2c28b1cf23ef 100644 --- a/sdk/sagemaker/src/operation/update_pipeline_execution/builders.rs +++ b/sdk/sagemaker/src/operation/update_pipeline_execution/builders.rs @@ -20,9 +20,9 @@ impl UpdatePipelineExecutionFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -84,6 +84,22 @@ impl UpdatePipelineExecutionFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::update_pipeline_execution::UpdatePipelineExecution, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::update_pipeline_execution::UpdatePipelineExecutionError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                The Amazon Resource Name (ARN) of the pipeline execution.

                                                                                                                                                                                                                                                                                                                                                                                pub fn pipeline_execution_arn( mut self, diff --git a/sdk/sagemaker/src/operation/update_project/builders.rs b/sdk/sagemaker/src/operation/update_project/builders.rs index d2afa631dc49..faaf54683617 100644 --- a/sdk/sagemaker/src/operation/update_project/builders.rs +++ b/sdk/sagemaker/src/operation/update_project/builders.rs @@ -21,9 +21,9 @@ impl UpdateProjectFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -79,6 +79,20 @@ impl UpdateProjectFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::update_project::UpdateProject, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                The name of the project.

                                                                                                                                                                                                                                                                                                                                                                                pub fn project_name(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.project_name(input.into()); diff --git a/sdk/sagemaker/src/operation/update_space/builders.rs b/sdk/sagemaker/src/operation/update_space/builders.rs index 06ef403b19cd..3b46c94b3da2 100644 --- a/sdk/sagemaker/src/operation/update_space/builders.rs +++ b/sdk/sagemaker/src/operation/update_space/builders.rs @@ -19,9 +19,9 @@ impl UpdateSpaceFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl UpdateSpaceFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::update_space::UpdateSpace, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                The ID of the associated Domain.

                                                                                                                                                                                                                                                                                                                                                                                pub fn domain_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.domain_id(input.into()); diff --git a/sdk/sagemaker/src/operation/update_training_job/builders.rs b/sdk/sagemaker/src/operation/update_training_job/builders.rs index 355e588f15e2..9884f5df4c02 100644 --- a/sdk/sagemaker/src/operation/update_training_job/builders.rs +++ b/sdk/sagemaker/src/operation/update_training_job/builders.rs @@ -19,9 +19,9 @@ impl UpdateTrainingJobFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl UpdateTrainingJobFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::update_training_job::UpdateTrainingJob, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::update_training_job::UpdateTrainingJobError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                The name of a training job to update the Debugger profiling configuration.

                                                                                                                                                                                                                                                                                                                                                                                pub fn training_job_name( mut self, diff --git a/sdk/sagemaker/src/operation/update_trial/builders.rs b/sdk/sagemaker/src/operation/update_trial/builders.rs index 477a6bfbd035..de710baf94b6 100644 --- a/sdk/sagemaker/src/operation/update_trial/builders.rs +++ b/sdk/sagemaker/src/operation/update_trial/builders.rs @@ -19,9 +19,9 @@ impl UpdateTrialFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl UpdateTrialFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::update_trial::UpdateTrial, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                The name of the trial to update.

                                                                                                                                                                                                                                                                                                                                                                                pub fn trial_name(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.trial_name(input.into()); diff --git a/sdk/sagemaker/src/operation/update_trial_component/builders.rs b/sdk/sagemaker/src/operation/update_trial_component/builders.rs index e94b8bba1dfa..1636495a66a4 100644 --- a/sdk/sagemaker/src/operation/update_trial_component/builders.rs +++ b/sdk/sagemaker/src/operation/update_trial_component/builders.rs @@ -19,9 +19,9 @@ impl UpdateTrialComponentFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl UpdateTrialComponentFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::update_trial_component::UpdateTrialComponent, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::update_trial_component::UpdateTrialComponentError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                The name of the component to update.

                                                                                                                                                                                                                                                                                                                                                                                pub fn trial_component_name( mut self, diff --git a/sdk/sagemaker/src/operation/update_user_profile/builders.rs b/sdk/sagemaker/src/operation/update_user_profile/builders.rs index 4f7643a5e15d..f1e2676164e7 100644 --- a/sdk/sagemaker/src/operation/update_user_profile/builders.rs +++ b/sdk/sagemaker/src/operation/update_user_profile/builders.rs @@ -19,9 +19,9 @@ impl UpdateUserProfileFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl UpdateUserProfileFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::update_user_profile::UpdateUserProfile, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::update_user_profile::UpdateUserProfileError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                The domain ID.

                                                                                                                                                                                                                                                                                                                                                                                pub fn domain_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.domain_id(input.into()); diff --git a/sdk/sagemaker/src/operation/update_workforce/builders.rs b/sdk/sagemaker/src/operation/update_workforce/builders.rs index f76b6b462999..d6139f914fb7 100644 --- a/sdk/sagemaker/src/operation/update_workforce/builders.rs +++ b/sdk/sagemaker/src/operation/update_workforce/builders.rs @@ -30,9 +30,9 @@ impl UpdateWorkforceFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -94,6 +94,22 @@ impl UpdateWorkforceFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::update_workforce::UpdateWorkforce, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::update_workforce::UpdateWorkforceError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                The name of the private workforce that you want to update. You can find your workforce name by using the ListWorkforces operation.

                                                                                                                                                                                                                                                                                                                                                                                pub fn workforce_name( mut self, diff --git a/sdk/sagemaker/src/operation/update_workteam/builders.rs b/sdk/sagemaker/src/operation/update_workteam/builders.rs index d36cdcfb0141..e7dd1e16549d 100644 --- a/sdk/sagemaker/src/operation/update_workteam/builders.rs +++ b/sdk/sagemaker/src/operation/update_workteam/builders.rs @@ -19,9 +19,9 @@ impl UpdateWorkteamFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl UpdateWorkteamFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::update_workteam::UpdateWorkteam, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                The name of the work team to update.

                                                                                                                                                                                                                                                                                                                                                                                pub fn workteam_name( mut self, diff --git a/sdk/sagemakera2iruntime/src/operation/delete_human_loop/builders.rs b/sdk/sagemakera2iruntime/src/operation/delete_human_loop/builders.rs index 942b5b24c065..9db298082804 100644 --- a/sdk/sagemakera2iruntime/src/operation/delete_human_loop/builders.rs +++ b/sdk/sagemakera2iruntime/src/operation/delete_human_loop/builders.rs @@ -20,9 +20,9 @@ impl DeleteHumanLoopFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -84,6 +84,22 @@ impl DeleteHumanLoopFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::delete_human_loop::DeleteHumanLoop, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::delete_human_loop::DeleteHumanLoopError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                The name of the human loop that you want to delete.

                                                                                                                                                                                                                                                                                                                                                                                pub fn human_loop_name( mut self, diff --git a/sdk/sagemakera2iruntime/src/operation/describe_human_loop/builders.rs b/sdk/sagemakera2iruntime/src/operation/describe_human_loop/builders.rs index ae6c2fd007ed..eb6182605ce4 100644 --- a/sdk/sagemakera2iruntime/src/operation/describe_human_loop/builders.rs +++ b/sdk/sagemakera2iruntime/src/operation/describe_human_loop/builders.rs @@ -19,9 +19,9 @@ impl DescribeHumanLoopFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl DescribeHumanLoopFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::describe_human_loop::DescribeHumanLoop, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::describe_human_loop::DescribeHumanLoopError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                The name of the human loop that you want information about.

                                                                                                                                                                                                                                                                                                                                                                                pub fn human_loop_name( mut self, diff --git a/sdk/sagemakera2iruntime/src/operation/list_human_loops/builders.rs b/sdk/sagemakera2iruntime/src/operation/list_human_loops/builders.rs index 2e9e22428d69..a0b7a2156405 100644 --- a/sdk/sagemakera2iruntime/src/operation/list_human_loops/builders.rs +++ b/sdk/sagemakera2iruntime/src/operation/list_human_loops/builders.rs @@ -19,9 +19,9 @@ impl ListHumanLoopsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl ListHumanLoopsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_human_loops::ListHumanLoops, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::list_human_loops::ListHumanLoopsError, + >, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::list_human_loops::paginator::ListHumanLoopsPaginator::send) which returns a `Stream`. diff --git a/sdk/sagemakera2iruntime/src/operation/start_human_loop/builders.rs b/sdk/sagemakera2iruntime/src/operation/start_human_loop/builders.rs index bae298adc044..4c02472dd973 100644 --- a/sdk/sagemakera2iruntime/src/operation/start_human_loop/builders.rs +++ b/sdk/sagemakera2iruntime/src/operation/start_human_loop/builders.rs @@ -19,9 +19,9 @@ impl StartHumanLoopFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl StartHumanLoopFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::start_human_loop::StartHumanLoop, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::start_human_loop::StartHumanLoopError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                The name of the human loop.

                                                                                                                                                                                                                                                                                                                                                                                pub fn human_loop_name( mut self, diff --git a/sdk/sagemakera2iruntime/src/operation/stop_human_loop/builders.rs b/sdk/sagemakera2iruntime/src/operation/stop_human_loop/builders.rs index 3514c640aaa9..787c34445530 100644 --- a/sdk/sagemakera2iruntime/src/operation/stop_human_loop/builders.rs +++ b/sdk/sagemakera2iruntime/src/operation/stop_human_loop/builders.rs @@ -19,9 +19,9 @@ impl StopHumanLoopFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl StopHumanLoopFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::stop_human_loop::StopHumanLoop, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                The name of the human loop that you want to stop.

                                                                                                                                                                                                                                                                                                                                                                                pub fn human_loop_name( mut self, diff --git a/sdk/sagemakeredge/src/operation/get_deployments/builders.rs b/sdk/sagemakeredge/src/operation/get_deployments/builders.rs index 3aec5a9957f1..c8f844ebe766 100644 --- a/sdk/sagemakeredge/src/operation/get_deployments/builders.rs +++ b/sdk/sagemakeredge/src/operation/get_deployments/builders.rs @@ -19,9 +19,9 @@ impl GetDeploymentsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl GetDeploymentsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::get_deployments::GetDeployments, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                The unique name of the device you want to get the configuration of active deployments from.

                                                                                                                                                                                                                                                                                                                                                                                pub fn device_name(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.device_name(input.into()); diff --git a/sdk/sagemakeredge/src/operation/get_device_registration/builders.rs b/sdk/sagemakeredge/src/operation/get_device_registration/builders.rs index 85b7fc06b5d0..bcd2f8ecb6ba 100644 --- a/sdk/sagemakeredge/src/operation/get_device_registration/builders.rs +++ b/sdk/sagemakeredge/src/operation/get_device_registration/builders.rs @@ -19,9 +19,9 @@ impl GetDeviceRegistrationFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl GetDeviceRegistrationFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::get_device_registration::GetDeviceRegistration, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::get_device_registration::GetDeviceRegistrationError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                The unique name of the device you want to get the registration status from.

                                                                                                                                                                                                                                                                                                                                                                                pub fn device_name(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.device_name(input.into()); diff --git a/sdk/sagemakeredge/src/operation/send_heartbeat/builders.rs b/sdk/sagemakeredge/src/operation/send_heartbeat/builders.rs index 57b89995d7ef..4ba43f7e63c2 100644 --- a/sdk/sagemakeredge/src/operation/send_heartbeat/builders.rs +++ b/sdk/sagemakeredge/src/operation/send_heartbeat/builders.rs @@ -19,9 +19,9 @@ impl SendHeartbeatFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl SendHeartbeatFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::send_heartbeat::SendHeartbeat, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } /// Appends an item to `AgentMetrics`. /// /// To override the contents of this collection use [`set_agent_metrics`](Self::set_agent_metrics). diff --git a/sdk/sagemakerfeaturestoreruntime/src/operation/batch_get_record/builders.rs b/sdk/sagemakerfeaturestoreruntime/src/operation/batch_get_record/builders.rs index b8524815e37a..d85386eac9c7 100644 --- a/sdk/sagemakerfeaturestoreruntime/src/operation/batch_get_record/builders.rs +++ b/sdk/sagemakerfeaturestoreruntime/src/operation/batch_get_record/builders.rs @@ -19,9 +19,9 @@ impl BatchGetRecordFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl BatchGetRecordFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::batch_get_record::BatchGetRecord, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::batch_get_record::BatchGetRecordError, + >, + > { + self.customize_middleware().await + } /// Appends an item to `Identifiers`. /// /// To override the contents of this collection use [`set_identifiers`](Self::set_identifiers). diff --git a/sdk/sagemakerfeaturestoreruntime/src/operation/delete_record/builders.rs b/sdk/sagemakerfeaturestoreruntime/src/operation/delete_record/builders.rs index 413ff9dbaec0..0249da693fd9 100644 --- a/sdk/sagemakerfeaturestoreruntime/src/operation/delete_record/builders.rs +++ b/sdk/sagemakerfeaturestoreruntime/src/operation/delete_record/builders.rs @@ -24,9 +24,9 @@ impl DeleteRecordFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -82,6 +82,20 @@ impl DeleteRecordFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::delete_record::DeleteRecord, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                The name of the feature group to delete the record from.

                                                                                                                                                                                                                                                                                                                                                                                pub fn feature_group_name( mut self, diff --git a/sdk/sagemakerfeaturestoreruntime/src/operation/get_record/builders.rs b/sdk/sagemakerfeaturestoreruntime/src/operation/get_record/builders.rs index 40d416754016..f9ec88c20d5e 100644 --- a/sdk/sagemakerfeaturestoreruntime/src/operation/get_record/builders.rs +++ b/sdk/sagemakerfeaturestoreruntime/src/operation/get_record/builders.rs @@ -19,9 +19,9 @@ impl GetRecordFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl GetRecordFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::get_record::GetRecord, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                The name of the feature group from which you want to retrieve a record.

                                                                                                                                                                                                                                                                                                                                                                                pub fn feature_group_name( mut self, diff --git a/sdk/sagemakerfeaturestoreruntime/src/operation/put_record/builders.rs b/sdk/sagemakerfeaturestoreruntime/src/operation/put_record/builders.rs index 3c3d33f864e4..de5c9dd7923c 100644 --- a/sdk/sagemakerfeaturestoreruntime/src/operation/put_record/builders.rs +++ b/sdk/sagemakerfeaturestoreruntime/src/operation/put_record/builders.rs @@ -19,9 +19,9 @@ impl PutRecordFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl PutRecordFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::put_record::PutRecord, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                The name of the feature group that you want to insert the record into.

                                                                                                                                                                                                                                                                                                                                                                                pub fn feature_group_name( mut self, diff --git a/sdk/sagemakergeospatial/src/operation/delete_earth_observation_job/builders.rs b/sdk/sagemakergeospatial/src/operation/delete_earth_observation_job/builders.rs index e06f53735a81..89c2aeb05678 100644 --- a/sdk/sagemakergeospatial/src/operation/delete_earth_observation_job/builders.rs +++ b/sdk/sagemakergeospatial/src/operation/delete_earth_observation_job/builders.rs @@ -19,9 +19,9 @@ impl DeleteEarthObservationJobFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl DeleteEarthObservationJobFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::delete_earth_observation_job::DeleteEarthObservationJob, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::delete_earth_observation_job::DeleteEarthObservationJobError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                The Amazon Resource Name (ARN) of the Earth Observation job being deleted.

                                                                                                                                                                                                                                                                                                                                                                                pub fn arn(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.arn(input.into()); diff --git a/sdk/sagemakergeospatial/src/operation/delete_vector_enrichment_job/builders.rs b/sdk/sagemakergeospatial/src/operation/delete_vector_enrichment_job/builders.rs index 7fd37f5eb7eb..0ddccbecf413 100644 --- a/sdk/sagemakergeospatial/src/operation/delete_vector_enrichment_job/builders.rs +++ b/sdk/sagemakergeospatial/src/operation/delete_vector_enrichment_job/builders.rs @@ -19,9 +19,9 @@ impl DeleteVectorEnrichmentJobFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl DeleteVectorEnrichmentJobFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::delete_vector_enrichment_job::DeleteVectorEnrichmentJob, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::delete_vector_enrichment_job::DeleteVectorEnrichmentJobError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                The Amazon Resource Name (ARN) of the Vector Enrichment job being deleted.

                                                                                                                                                                                                                                                                                                                                                                                pub fn arn(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.arn(input.into()); diff --git a/sdk/sagemakergeospatial/src/operation/export_earth_observation_job/builders.rs b/sdk/sagemakergeospatial/src/operation/export_earth_observation_job/builders.rs index 2ae9049f92a0..75668564223a 100644 --- a/sdk/sagemakergeospatial/src/operation/export_earth_observation_job/builders.rs +++ b/sdk/sagemakergeospatial/src/operation/export_earth_observation_job/builders.rs @@ -19,9 +19,9 @@ impl ExportEarthObservationJobFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl ExportEarthObservationJobFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::export_earth_observation_job::ExportEarthObservationJob, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::export_earth_observation_job::ExportEarthObservationJobError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                The input Amazon Resource Name (ARN) of the Earth Observation job being exported.

                                                                                                                                                                                                                                                                                                                                                                                pub fn arn(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.arn(input.into()); diff --git a/sdk/sagemakergeospatial/src/operation/export_vector_enrichment_job/builders.rs b/sdk/sagemakergeospatial/src/operation/export_vector_enrichment_job/builders.rs index bda6b7384c65..6097bb0fd3de 100644 --- a/sdk/sagemakergeospatial/src/operation/export_vector_enrichment_job/builders.rs +++ b/sdk/sagemakergeospatial/src/operation/export_vector_enrichment_job/builders.rs @@ -19,9 +19,9 @@ impl ExportVectorEnrichmentJobFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl ExportVectorEnrichmentJobFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::export_vector_enrichment_job::ExportVectorEnrichmentJob, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::export_vector_enrichment_job::ExportVectorEnrichmentJobError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                The Amazon Resource Name (ARN) of the Vector Enrichment job.

                                                                                                                                                                                                                                                                                                                                                                                pub fn arn(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.arn(input.into()); diff --git a/sdk/sagemakergeospatial/src/operation/get_earth_observation_job/builders.rs b/sdk/sagemakergeospatial/src/operation/get_earth_observation_job/builders.rs index a30ca9586c24..3519bdacdf1a 100644 --- a/sdk/sagemakergeospatial/src/operation/get_earth_observation_job/builders.rs +++ b/sdk/sagemakergeospatial/src/operation/get_earth_observation_job/builders.rs @@ -20,9 +20,9 @@ impl GetEarthObservationJobFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -84,6 +84,22 @@ impl GetEarthObservationJobFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::get_earth_observation_job::GetEarthObservationJob, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::get_earth_observation_job::GetEarthObservationJobError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                The Amazon Resource Name (ARN) of the Earth Observation job.

                                                                                                                                                                                                                                                                                                                                                                                pub fn arn(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.arn(input.into()); diff --git a/sdk/sagemakergeospatial/src/operation/get_raster_data_collection/builders.rs b/sdk/sagemakergeospatial/src/operation/get_raster_data_collection/builders.rs index e2dd2e76beb4..490f89501127 100644 --- a/sdk/sagemakergeospatial/src/operation/get_raster_data_collection/builders.rs +++ b/sdk/sagemakergeospatial/src/operation/get_raster_data_collection/builders.rs @@ -20,9 +20,9 @@ impl GetRasterDataCollectionFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -84,6 +84,22 @@ impl GetRasterDataCollectionFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::get_raster_data_collection::GetRasterDataCollection, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::get_raster_data_collection::GetRasterDataCollectionError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                The Amazon Resource Name (ARN) of the raster data collection.

                                                                                                                                                                                                                                                                                                                                                                                pub fn arn(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.arn(input.into()); diff --git a/sdk/sagemakergeospatial/src/operation/get_tile/builders.rs b/sdk/sagemakergeospatial/src/operation/get_tile/builders.rs index deec50994bb7..ebe3a5a0173e 100644 --- a/sdk/sagemakergeospatial/src/operation/get_tile/builders.rs +++ b/sdk/sagemakergeospatial/src/operation/get_tile/builders.rs @@ -19,9 +19,9 @@ impl GetTileFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl GetTileFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::get_tile::GetTile, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                The x coordinate of the tile input.

                                                                                                                                                                                                                                                                                                                                                                                pub fn x(mut self, input: i32) -> Self { self.inner = self.inner.x(input); diff --git a/sdk/sagemakergeospatial/src/operation/get_vector_enrichment_job/builders.rs b/sdk/sagemakergeospatial/src/operation/get_vector_enrichment_job/builders.rs index b470327070f4..206d13af360f 100644 --- a/sdk/sagemakergeospatial/src/operation/get_vector_enrichment_job/builders.rs +++ b/sdk/sagemakergeospatial/src/operation/get_vector_enrichment_job/builders.rs @@ -20,9 +20,9 @@ impl GetVectorEnrichmentJobFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -84,6 +84,22 @@ impl GetVectorEnrichmentJobFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::get_vector_enrichment_job::GetVectorEnrichmentJob, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::get_vector_enrichment_job::GetVectorEnrichmentJobError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                The Amazon Resource Name (ARN) of the Vector Enrichment job.

                                                                                                                                                                                                                                                                                                                                                                                pub fn arn(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.arn(input.into()); diff --git a/sdk/sagemakergeospatial/src/operation/list_earth_observation_jobs/builders.rs b/sdk/sagemakergeospatial/src/operation/list_earth_observation_jobs/builders.rs index 02762428a39e..314a72820e4b 100644 --- a/sdk/sagemakergeospatial/src/operation/list_earth_observation_jobs/builders.rs +++ b/sdk/sagemakergeospatial/src/operation/list_earth_observation_jobs/builders.rs @@ -19,9 +19,9 @@ impl ListEarthObservationJobsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl ListEarthObservationJobsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_earth_observation_jobs::ListEarthObservationJobs, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::list_earth_observation_jobs::ListEarthObservationJobsError, + >, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::list_earth_observation_jobs::paginator::ListEarthObservationJobsPaginator::send) which returns a `Stream`. diff --git a/sdk/sagemakergeospatial/src/operation/list_raster_data_collections/builders.rs b/sdk/sagemakergeospatial/src/operation/list_raster_data_collections/builders.rs index d3a8877b1830..843b036f8c2a 100644 --- a/sdk/sagemakergeospatial/src/operation/list_raster_data_collections/builders.rs +++ b/sdk/sagemakergeospatial/src/operation/list_raster_data_collections/builders.rs @@ -19,9 +19,9 @@ impl ListRasterDataCollectionsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl ListRasterDataCollectionsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_raster_data_collections::ListRasterDataCollections, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::list_raster_data_collections::ListRasterDataCollectionsError, + >, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::list_raster_data_collections::paginator::ListRasterDataCollectionsPaginator::send) which returns a `Stream`. diff --git a/sdk/sagemakergeospatial/src/operation/list_tags_for_resource/builders.rs b/sdk/sagemakergeospatial/src/operation/list_tags_for_resource/builders.rs index ad8bacb568e0..1fb14b9f24ed 100644 --- a/sdk/sagemakergeospatial/src/operation/list_tags_for_resource/builders.rs +++ b/sdk/sagemakergeospatial/src/operation/list_tags_for_resource/builders.rs @@ -19,9 +19,9 @@ impl ListTagsForResourceFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl ListTagsForResourceFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_tags_for_resource::ListTagsForResource, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::list_tags_for_resource::ListTagsForResourceError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                The Amazon Resource Name (ARN) of the resource you want to tag.

                                                                                                                                                                                                                                                                                                                                                                                pub fn resource_arn(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.resource_arn(input.into()); diff --git a/sdk/sagemakergeospatial/src/operation/list_vector_enrichment_jobs/builders.rs b/sdk/sagemakergeospatial/src/operation/list_vector_enrichment_jobs/builders.rs index f37b3b1ec162..cfcf64e7e8dc 100644 --- a/sdk/sagemakergeospatial/src/operation/list_vector_enrichment_jobs/builders.rs +++ b/sdk/sagemakergeospatial/src/operation/list_vector_enrichment_jobs/builders.rs @@ -19,9 +19,9 @@ impl ListVectorEnrichmentJobsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl ListVectorEnrichmentJobsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_vector_enrichment_jobs::ListVectorEnrichmentJobs, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::list_vector_enrichment_jobs::ListVectorEnrichmentJobsError, + >, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::list_vector_enrichment_jobs::paginator::ListVectorEnrichmentJobsPaginator::send) which returns a `Stream`. diff --git a/sdk/sagemakergeospatial/src/operation/search_raster_data_collection/builders.rs b/sdk/sagemakergeospatial/src/operation/search_raster_data_collection/builders.rs index 3b23b4e13ff8..cdbc70d896d1 100644 --- a/sdk/sagemakergeospatial/src/operation/search_raster_data_collection/builders.rs +++ b/sdk/sagemakergeospatial/src/operation/search_raster_data_collection/builders.rs @@ -19,9 +19,9 @@ impl SearchRasterDataCollectionFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl SearchRasterDataCollectionFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::search_raster_data_collection::SearchRasterDataCollection, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::search_raster_data_collection::SearchRasterDataCollectionError, + >, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::search_raster_data_collection::paginator::SearchRasterDataCollectionPaginator::send) which returns a `Stream`. diff --git a/sdk/sagemakergeospatial/src/operation/start_earth_observation_job/builders.rs b/sdk/sagemakergeospatial/src/operation/start_earth_observation_job/builders.rs index 553072106093..36b6ce00d40d 100644 --- a/sdk/sagemakergeospatial/src/operation/start_earth_observation_job/builders.rs +++ b/sdk/sagemakergeospatial/src/operation/start_earth_observation_job/builders.rs @@ -19,9 +19,9 @@ impl StartEarthObservationJobFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl StartEarthObservationJobFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::start_earth_observation_job::StartEarthObservationJob, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::start_earth_observation_job::StartEarthObservationJobError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                The name of the Earth Observation job.

                                                                                                                                                                                                                                                                                                                                                                                pub fn name(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.name(input.into()); diff --git a/sdk/sagemakergeospatial/src/operation/start_vector_enrichment_job/builders.rs b/sdk/sagemakergeospatial/src/operation/start_vector_enrichment_job/builders.rs index d3fff95c3aee..279d52e35344 100644 --- a/sdk/sagemakergeospatial/src/operation/start_vector_enrichment_job/builders.rs +++ b/sdk/sagemakergeospatial/src/operation/start_vector_enrichment_job/builders.rs @@ -19,9 +19,9 @@ impl StartVectorEnrichmentJobFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl StartVectorEnrichmentJobFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::start_vector_enrichment_job::StartVectorEnrichmentJob, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::start_vector_enrichment_job::StartVectorEnrichmentJobError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                The name of the Vector Enrichment job.

                                                                                                                                                                                                                                                                                                                                                                                pub fn name(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.name(input.into()); diff --git a/sdk/sagemakergeospatial/src/operation/stop_earth_observation_job/builders.rs b/sdk/sagemakergeospatial/src/operation/stop_earth_observation_job/builders.rs index 157a511302c6..e80e53aac6b0 100644 --- a/sdk/sagemakergeospatial/src/operation/stop_earth_observation_job/builders.rs +++ b/sdk/sagemakergeospatial/src/operation/stop_earth_observation_job/builders.rs @@ -20,9 +20,9 @@ impl StopEarthObservationJobFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -84,6 +84,22 @@ impl StopEarthObservationJobFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::stop_earth_observation_job::StopEarthObservationJob, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::stop_earth_observation_job::StopEarthObservationJobError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                The Amazon Resource Name (ARN) of the Earth Observation job being stopped.

                                                                                                                                                                                                                                                                                                                                                                                pub fn arn(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.arn(input.into()); diff --git a/sdk/sagemakergeospatial/src/operation/stop_vector_enrichment_job/builders.rs b/sdk/sagemakergeospatial/src/operation/stop_vector_enrichment_job/builders.rs index 492aeec73017..6cee6b9a0c90 100644 --- a/sdk/sagemakergeospatial/src/operation/stop_vector_enrichment_job/builders.rs +++ b/sdk/sagemakergeospatial/src/operation/stop_vector_enrichment_job/builders.rs @@ -20,9 +20,9 @@ impl StopVectorEnrichmentJobFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -84,6 +84,22 @@ impl StopVectorEnrichmentJobFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::stop_vector_enrichment_job::StopVectorEnrichmentJob, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::stop_vector_enrichment_job::StopVectorEnrichmentJobError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                The Amazon Resource Name (ARN) of the Vector Enrichment job.

                                                                                                                                                                                                                                                                                                                                                                                pub fn arn(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.arn(input.into()); diff --git a/sdk/sagemakergeospatial/src/operation/tag_resource/builders.rs b/sdk/sagemakergeospatial/src/operation/tag_resource/builders.rs index c893992ca89b..0fa6d85b1109 100644 --- a/sdk/sagemakergeospatial/src/operation/tag_resource/builders.rs +++ b/sdk/sagemakergeospatial/src/operation/tag_resource/builders.rs @@ -19,9 +19,9 @@ impl TagResourceFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl TagResourceFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::tag_resource::TagResource, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                The Amazon Resource Name (ARN) of the resource you want to tag.

                                                                                                                                                                                                                                                                                                                                                                                pub fn resource_arn(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.resource_arn(input.into()); diff --git a/sdk/sagemakergeospatial/src/operation/untag_resource/builders.rs b/sdk/sagemakergeospatial/src/operation/untag_resource/builders.rs index a57a36e270b8..a1dc075c0f73 100644 --- a/sdk/sagemakergeospatial/src/operation/untag_resource/builders.rs +++ b/sdk/sagemakergeospatial/src/operation/untag_resource/builders.rs @@ -19,9 +19,9 @@ impl UntagResourceFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl UntagResourceFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::untag_resource::UntagResource, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                The Amazon Resource Name (ARN) of the resource you want to untag.

                                                                                                                                                                                                                                                                                                                                                                                pub fn resource_arn(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.resource_arn(input.into()); diff --git a/sdk/sagemakermetrics/src/operation/batch_put_metrics/builders.rs b/sdk/sagemakermetrics/src/operation/batch_put_metrics/builders.rs index 68de28ea2fff..f975bc0727bf 100644 --- a/sdk/sagemakermetrics/src/operation/batch_put_metrics/builders.rs +++ b/sdk/sagemakermetrics/src/operation/batch_put_metrics/builders.rs @@ -19,9 +19,9 @@ impl BatchPutMetricsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl BatchPutMetricsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::batch_put_metrics::BatchPutMetrics, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::batch_put_metrics::BatchPutMetricsError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                The name of the Trial Component to associate with the metrics.

                                                                                                                                                                                                                                                                                                                                                                                pub fn trial_component_name( mut self, diff --git a/sdk/sagemakerruntime/src/operation/invoke_endpoint/builders.rs b/sdk/sagemakerruntime/src/operation/invoke_endpoint/builders.rs index e5c640b303dd..0fed1d64ccf9 100644 --- a/sdk/sagemakerruntime/src/operation/invoke_endpoint/builders.rs +++ b/sdk/sagemakerruntime/src/operation/invoke_endpoint/builders.rs @@ -25,9 +25,9 @@ impl InvokeEndpointFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,20 @@ impl InvokeEndpointFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::invoke_endpoint::InvokeEndpoint, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                The name of the endpoint that you specified when you created the endpoint using the CreateEndpoint API.

                                                                                                                                                                                                                                                                                                                                                                                pub fn endpoint_name( mut self, diff --git a/sdk/sagemakerruntime/src/operation/invoke_endpoint_async/builders.rs b/sdk/sagemakerruntime/src/operation/invoke_endpoint_async/builders.rs index 1eff1e7a83f6..be35db26be87 100644 --- a/sdk/sagemakerruntime/src/operation/invoke_endpoint_async/builders.rs +++ b/sdk/sagemakerruntime/src/operation/invoke_endpoint_async/builders.rs @@ -22,9 +22,9 @@ impl InvokeEndpointAsyncFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -86,6 +86,22 @@ impl InvokeEndpointAsyncFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::invoke_endpoint_async::InvokeEndpointAsync, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::invoke_endpoint_async::InvokeEndpointAsyncError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                The name of the endpoint that you specified when you created the endpoint using the CreateEndpoint API.

                                                                                                                                                                                                                                                                                                                                                                                pub fn endpoint_name( mut self, diff --git a/sdk/savingsplans/src/operation/create_savings_plan/builders.rs b/sdk/savingsplans/src/operation/create_savings_plan/builders.rs index 7038c6677d4f..76362740e08b 100644 --- a/sdk/savingsplans/src/operation/create_savings_plan/builders.rs +++ b/sdk/savingsplans/src/operation/create_savings_plan/builders.rs @@ -19,9 +19,9 @@ impl CreateSavingsPlanFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl CreateSavingsPlanFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::create_savings_plan::CreateSavingsPlan, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::create_savings_plan::CreateSavingsPlanError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                The ID of the offering.

                                                                                                                                                                                                                                                                                                                                                                                pub fn savings_plan_offering_id( mut self, diff --git a/sdk/savingsplans/src/operation/delete_queued_savings_plan/builders.rs b/sdk/savingsplans/src/operation/delete_queued_savings_plan/builders.rs index 5bb0af9d976f..1589b86e2d34 100644 --- a/sdk/savingsplans/src/operation/delete_queued_savings_plan/builders.rs +++ b/sdk/savingsplans/src/operation/delete_queued_savings_plan/builders.rs @@ -20,9 +20,9 @@ impl DeleteQueuedSavingsPlanFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -84,6 +84,22 @@ impl DeleteQueuedSavingsPlanFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::delete_queued_savings_plan::DeleteQueuedSavingsPlan, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::delete_queued_savings_plan::DeleteQueuedSavingsPlanError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                The ID of the Savings Plan.

                                                                                                                                                                                                                                                                                                                                                                                pub fn savings_plan_id( mut self, diff --git a/sdk/savingsplans/src/operation/describe_savings_plan_rates/builders.rs b/sdk/savingsplans/src/operation/describe_savings_plan_rates/builders.rs index c0ceb2a87104..d50bcc6ebbe2 100644 --- a/sdk/savingsplans/src/operation/describe_savings_plan_rates/builders.rs +++ b/sdk/savingsplans/src/operation/describe_savings_plan_rates/builders.rs @@ -19,9 +19,9 @@ impl DescribeSavingsPlanRatesFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl DescribeSavingsPlanRatesFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::describe_savings_plan_rates::DescribeSavingsPlanRates, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::describe_savings_plan_rates::DescribeSavingsPlanRatesError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                The ID of the Savings Plan.

                                                                                                                                                                                                                                                                                                                                                                                pub fn savings_plan_id( mut self, diff --git a/sdk/savingsplans/src/operation/describe_savings_plans/builders.rs b/sdk/savingsplans/src/operation/describe_savings_plans/builders.rs index d41d768cc4a7..cc54e606efb5 100644 --- a/sdk/savingsplans/src/operation/describe_savings_plans/builders.rs +++ b/sdk/savingsplans/src/operation/describe_savings_plans/builders.rs @@ -19,9 +19,9 @@ impl DescribeSavingsPlansFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl DescribeSavingsPlansFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::describe_savings_plans::DescribeSavingsPlans, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::describe_savings_plans::DescribeSavingsPlansError, + >, + > { + self.customize_middleware().await + } /// Appends an item to `savingsPlanArns`. /// /// To override the contents of this collection use [`set_savings_plan_arns`](Self::set_savings_plan_arns). diff --git a/sdk/savingsplans/src/operation/describe_savings_plans_offering_rates/builders.rs b/sdk/savingsplans/src/operation/describe_savings_plans_offering_rates/builders.rs index ab975092c1f4..4c5c52e57218 100644 --- a/sdk/savingsplans/src/operation/describe_savings_plans_offering_rates/builders.rs +++ b/sdk/savingsplans/src/operation/describe_savings_plans_offering_rates/builders.rs @@ -19,9 +19,9 @@ impl DescribeSavingsPlansOfferingRatesFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize(self) -> ::std::result::Result< + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware(self) -> ::std::result::Result< crate::client::customize::CustomizableOperation, ::aws_smithy_http::result::SdkError >{ @@ -64,6 +64,15 @@ impl DescribeSavingsPlansOfferingRatesFluentBuilder { { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize(self) -> ::std::result::Result< + crate::client::customize::CustomizableOperation, + ::aws_smithy_http::result::SdkError + >{ + self.customize_middleware().await + } /// Appends an item to `savingsPlanOfferingIds`. /// /// To override the contents of this collection use [`set_savings_plan_offering_ids`](Self::set_savings_plan_offering_ids). diff --git a/sdk/savingsplans/src/operation/describe_savings_plans_offerings/builders.rs b/sdk/savingsplans/src/operation/describe_savings_plans_offerings/builders.rs index 4306f16d75fd..3077fb1c3849 100644 --- a/sdk/savingsplans/src/operation/describe_savings_plans_offerings/builders.rs +++ b/sdk/savingsplans/src/operation/describe_savings_plans_offerings/builders.rs @@ -19,9 +19,9 @@ impl DescribeSavingsPlansOfferingsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl DescribeSavingsPlansOfferingsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::describe_savings_plans_offerings::DescribeSavingsPlansOfferings, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::describe_savings_plans_offerings::DescribeSavingsPlansOfferingsError, + >, + > { + self.customize_middleware().await + } /// Appends an item to `offeringIds`. /// /// To override the contents of this collection use [`set_offering_ids`](Self::set_offering_ids). diff --git a/sdk/savingsplans/src/operation/list_tags_for_resource/builders.rs b/sdk/savingsplans/src/operation/list_tags_for_resource/builders.rs index c47c190d83b2..0a70d0c44010 100644 --- a/sdk/savingsplans/src/operation/list_tags_for_resource/builders.rs +++ b/sdk/savingsplans/src/operation/list_tags_for_resource/builders.rs @@ -19,9 +19,9 @@ impl ListTagsForResourceFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl ListTagsForResourceFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_tags_for_resource::ListTagsForResource, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::list_tags_for_resource::ListTagsForResourceError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                The Amazon Resource Name (ARN) of the resource.

                                                                                                                                                                                                                                                                                                                                                                                pub fn resource_arn(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.resource_arn(input.into()); diff --git a/sdk/savingsplans/src/operation/tag_resource/builders.rs b/sdk/savingsplans/src/operation/tag_resource/builders.rs index 32dbf8ea7dfc..6dd5b5d2799f 100644 --- a/sdk/savingsplans/src/operation/tag_resource/builders.rs +++ b/sdk/savingsplans/src/operation/tag_resource/builders.rs @@ -19,9 +19,9 @@ impl TagResourceFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl TagResourceFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::tag_resource::TagResource, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                The Amazon Resource Name (ARN) of the resource.

                                                                                                                                                                                                                                                                                                                                                                                pub fn resource_arn(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.resource_arn(input.into()); diff --git a/sdk/savingsplans/src/operation/untag_resource/builders.rs b/sdk/savingsplans/src/operation/untag_resource/builders.rs index ccdddb2bd6da..0ef2fec2ca7d 100644 --- a/sdk/savingsplans/src/operation/untag_resource/builders.rs +++ b/sdk/savingsplans/src/operation/untag_resource/builders.rs @@ -19,9 +19,9 @@ impl UntagResourceFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl UntagResourceFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::untag_resource::UntagResource, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                The Amazon Resource Name (ARN) of the resource.

                                                                                                                                                                                                                                                                                                                                                                                pub fn resource_arn(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.resource_arn(input.into()); diff --git a/sdk/scheduler/src/operation/create_schedule/builders.rs b/sdk/scheduler/src/operation/create_schedule/builders.rs index 00ab37bd6042..ffab6fb980ee 100644 --- a/sdk/scheduler/src/operation/create_schedule/builders.rs +++ b/sdk/scheduler/src/operation/create_schedule/builders.rs @@ -19,9 +19,9 @@ impl CreateScheduleFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl CreateScheduleFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::create_schedule::CreateSchedule, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                The name of the schedule that you are creating.

                                                                                                                                                                                                                                                                                                                                                                                pub fn name(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.name(input.into()); diff --git a/sdk/scheduler/src/operation/create_schedule_group/builders.rs b/sdk/scheduler/src/operation/create_schedule_group/builders.rs index 4d708600d24c..27f4bb5e1c55 100644 --- a/sdk/scheduler/src/operation/create_schedule_group/builders.rs +++ b/sdk/scheduler/src/operation/create_schedule_group/builders.rs @@ -19,9 +19,9 @@ impl CreateScheduleGroupFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl CreateScheduleGroupFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::create_schedule_group::CreateScheduleGroup, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::create_schedule_group::CreateScheduleGroupError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                The name of the schedule group that you are creating.

                                                                                                                                                                                                                                                                                                                                                                                pub fn name(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.name(input.into()); diff --git a/sdk/scheduler/src/operation/delete_schedule/builders.rs b/sdk/scheduler/src/operation/delete_schedule/builders.rs index 73a67ce82789..5a7a7618f6d2 100644 --- a/sdk/scheduler/src/operation/delete_schedule/builders.rs +++ b/sdk/scheduler/src/operation/delete_schedule/builders.rs @@ -19,9 +19,9 @@ impl DeleteScheduleFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl DeleteScheduleFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::delete_schedule::DeleteSchedule, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                The name of the schedule to delete.

                                                                                                                                                                                                                                                                                                                                                                                pub fn name(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.name(input.into()); diff --git a/sdk/scheduler/src/operation/delete_schedule_group/builders.rs b/sdk/scheduler/src/operation/delete_schedule_group/builders.rs index 03603a2e59cb..58f20cbc2020 100644 --- a/sdk/scheduler/src/operation/delete_schedule_group/builders.rs +++ b/sdk/scheduler/src/operation/delete_schedule_group/builders.rs @@ -21,9 +21,9 @@ impl DeleteScheduleGroupFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -85,6 +85,22 @@ impl DeleteScheduleGroupFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::delete_schedule_group::DeleteScheduleGroup, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::delete_schedule_group::DeleteScheduleGroupError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                The name of the schedule group to delete.

                                                                                                                                                                                                                                                                                                                                                                                pub fn name(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.name(input.into()); diff --git a/sdk/scheduler/src/operation/get_schedule/builders.rs b/sdk/scheduler/src/operation/get_schedule/builders.rs index 025ea71f5fac..fe724f6c4f65 100644 --- a/sdk/scheduler/src/operation/get_schedule/builders.rs +++ b/sdk/scheduler/src/operation/get_schedule/builders.rs @@ -19,9 +19,9 @@ impl GetScheduleFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl GetScheduleFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::get_schedule::GetSchedule, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                The name of the schedule to retrieve.

                                                                                                                                                                                                                                                                                                                                                                                pub fn name(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.name(input.into()); diff --git a/sdk/scheduler/src/operation/get_schedule_group/builders.rs b/sdk/scheduler/src/operation/get_schedule_group/builders.rs index 19738609b82e..26eda0473e5f 100644 --- a/sdk/scheduler/src/operation/get_schedule_group/builders.rs +++ b/sdk/scheduler/src/operation/get_schedule_group/builders.rs @@ -19,9 +19,9 @@ impl GetScheduleGroupFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl GetScheduleGroupFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::get_schedule_group::GetScheduleGroup, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::get_schedule_group::GetScheduleGroupError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                The name of the schedule group to retrieve.

                                                                                                                                                                                                                                                                                                                                                                                pub fn name(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.name(input.into()); diff --git a/sdk/scheduler/src/operation/list_schedule_groups/builders.rs b/sdk/scheduler/src/operation/list_schedule_groups/builders.rs index 2994340677e3..1f5cec3dd6c3 100644 --- a/sdk/scheduler/src/operation/list_schedule_groups/builders.rs +++ b/sdk/scheduler/src/operation/list_schedule_groups/builders.rs @@ -19,9 +19,9 @@ impl ListScheduleGroupsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl ListScheduleGroupsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_schedule_groups::ListScheduleGroups, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::list_schedule_groups::ListScheduleGroupsError, + >, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::list_schedule_groups::paginator::ListScheduleGroupsPaginator::send) which returns a `Stream`. diff --git a/sdk/scheduler/src/operation/list_schedules/builders.rs b/sdk/scheduler/src/operation/list_schedules/builders.rs index d5ebfd9ca863..11bb813327e4 100644 --- a/sdk/scheduler/src/operation/list_schedules/builders.rs +++ b/sdk/scheduler/src/operation/list_schedules/builders.rs @@ -19,9 +19,9 @@ impl ListSchedulesFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl ListSchedulesFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_schedules::ListSchedules, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::list_schedules::paginator::ListSchedulesPaginator::send) which returns a `Stream`. diff --git a/sdk/scheduler/src/operation/list_tags_for_resource/builders.rs b/sdk/scheduler/src/operation/list_tags_for_resource/builders.rs index 83d6c52d7b9a..cd7e77429d23 100644 --- a/sdk/scheduler/src/operation/list_tags_for_resource/builders.rs +++ b/sdk/scheduler/src/operation/list_tags_for_resource/builders.rs @@ -19,9 +19,9 @@ impl ListTagsForResourceFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl ListTagsForResourceFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_tags_for_resource::ListTagsForResource, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::list_tags_for_resource::ListTagsForResourceError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                The ARN of the EventBridge Scheduler resource for which you want to view tags.

                                                                                                                                                                                                                                                                                                                                                                                pub fn resource_arn(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.resource_arn(input.into()); diff --git a/sdk/scheduler/src/operation/tag_resource/builders.rs b/sdk/scheduler/src/operation/tag_resource/builders.rs index 6d7086bccd6c..52093c3570b1 100644 --- a/sdk/scheduler/src/operation/tag_resource/builders.rs +++ b/sdk/scheduler/src/operation/tag_resource/builders.rs @@ -19,9 +19,9 @@ impl TagResourceFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl TagResourceFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::tag_resource::TagResource, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                The Amazon Resource Name (ARN) of the schedule group that you are adding tags to.

                                                                                                                                                                                                                                                                                                                                                                                pub fn resource_arn(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.resource_arn(input.into()); diff --git a/sdk/scheduler/src/operation/untag_resource/builders.rs b/sdk/scheduler/src/operation/untag_resource/builders.rs index 8573f45a54aa..d4011d09e514 100644 --- a/sdk/scheduler/src/operation/untag_resource/builders.rs +++ b/sdk/scheduler/src/operation/untag_resource/builders.rs @@ -19,9 +19,9 @@ impl UntagResourceFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl UntagResourceFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::untag_resource::UntagResource, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                The Amazon Resource Name (ARN) of the schedule group from which you are removing tags.

                                                                                                                                                                                                                                                                                                                                                                                pub fn resource_arn(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.resource_arn(input.into()); diff --git a/sdk/scheduler/src/operation/update_schedule/builders.rs b/sdk/scheduler/src/operation/update_schedule/builders.rs index 6241e5753df3..2bbf3b621e7c 100644 --- a/sdk/scheduler/src/operation/update_schedule/builders.rs +++ b/sdk/scheduler/src/operation/update_schedule/builders.rs @@ -20,9 +20,9 @@ impl UpdateScheduleFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -78,6 +78,20 @@ impl UpdateScheduleFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::update_schedule::UpdateSchedule, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                The name of the schedule that you are updating.

                                                                                                                                                                                                                                                                                                                                                                                pub fn name(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.name(input.into()); diff --git a/sdk/schemas/src/operation/create_discoverer/builders.rs b/sdk/schemas/src/operation/create_discoverer/builders.rs index fb37588a59dd..d9d9625614f5 100644 --- a/sdk/schemas/src/operation/create_discoverer/builders.rs +++ b/sdk/schemas/src/operation/create_discoverer/builders.rs @@ -19,9 +19,9 @@ impl CreateDiscovererFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl CreateDiscovererFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::create_discoverer::CreateDiscoverer, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::create_discoverer::CreateDiscovererError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                A description for the discoverer.

                                                                                                                                                                                                                                                                                                                                                                                pub fn description(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.description(input.into()); diff --git a/sdk/schemas/src/operation/create_registry/builders.rs b/sdk/schemas/src/operation/create_registry/builders.rs index 2081ebdac67e..845407d35c21 100644 --- a/sdk/schemas/src/operation/create_registry/builders.rs +++ b/sdk/schemas/src/operation/create_registry/builders.rs @@ -19,9 +19,9 @@ impl CreateRegistryFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl CreateRegistryFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::create_registry::CreateRegistry, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                A description of the registry to be created.

                                                                                                                                                                                                                                                                                                                                                                                pub fn description(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.description(input.into()); diff --git a/sdk/schemas/src/operation/create_schema/builders.rs b/sdk/schemas/src/operation/create_schema/builders.rs index ff7d876ee17e..b071961f7f48 100644 --- a/sdk/schemas/src/operation/create_schema/builders.rs +++ b/sdk/schemas/src/operation/create_schema/builders.rs @@ -21,9 +21,9 @@ impl CreateSchemaFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -79,6 +79,20 @@ impl CreateSchemaFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::create_schema::CreateSchema, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                The source of the schema definition.

                                                                                                                                                                                                                                                                                                                                                                                pub fn content(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.content(input.into()); diff --git a/sdk/schemas/src/operation/delete_discoverer/builders.rs b/sdk/schemas/src/operation/delete_discoverer/builders.rs index 856679a531dc..368828969853 100644 --- a/sdk/schemas/src/operation/delete_discoverer/builders.rs +++ b/sdk/schemas/src/operation/delete_discoverer/builders.rs @@ -19,9 +19,9 @@ impl DeleteDiscovererFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl DeleteDiscovererFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::delete_discoverer::DeleteDiscoverer, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::delete_discoverer::DeleteDiscovererError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                The ID of the discoverer.

                                                                                                                                                                                                                                                                                                                                                                                pub fn discoverer_id( mut self, diff --git a/sdk/schemas/src/operation/delete_registry/builders.rs b/sdk/schemas/src/operation/delete_registry/builders.rs index 10be6c62375d..c4ea532ebd39 100644 --- a/sdk/schemas/src/operation/delete_registry/builders.rs +++ b/sdk/schemas/src/operation/delete_registry/builders.rs @@ -19,9 +19,9 @@ impl DeleteRegistryFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl DeleteRegistryFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::delete_registry::DeleteRegistry, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                The name of the registry.

                                                                                                                                                                                                                                                                                                                                                                                pub fn registry_name( mut self, diff --git a/sdk/schemas/src/operation/delete_resource_policy/builders.rs b/sdk/schemas/src/operation/delete_resource_policy/builders.rs index 9421011b7452..4c08dab21b75 100644 --- a/sdk/schemas/src/operation/delete_resource_policy/builders.rs +++ b/sdk/schemas/src/operation/delete_resource_policy/builders.rs @@ -19,9 +19,9 @@ impl DeleteResourcePolicyFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl DeleteResourcePolicyFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::delete_resource_policy::DeleteResourcePolicy, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::delete_resource_policy::DeleteResourcePolicyError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                The name of the registry.

                                                                                                                                                                                                                                                                                                                                                                                pub fn registry_name( mut self, diff --git a/sdk/schemas/src/operation/delete_schema/builders.rs b/sdk/schemas/src/operation/delete_schema/builders.rs index 349a3d24b6e4..c907795c18c7 100644 --- a/sdk/schemas/src/operation/delete_schema/builders.rs +++ b/sdk/schemas/src/operation/delete_schema/builders.rs @@ -19,9 +19,9 @@ impl DeleteSchemaFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl DeleteSchemaFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::delete_schema::DeleteSchema, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                The name of the registry.

                                                                                                                                                                                                                                                                                                                                                                                pub fn registry_name( mut self, diff --git a/sdk/schemas/src/operation/delete_schema_version/builders.rs b/sdk/schemas/src/operation/delete_schema_version/builders.rs index f65985382c70..8b057987da10 100644 --- a/sdk/schemas/src/operation/delete_schema_version/builders.rs +++ b/sdk/schemas/src/operation/delete_schema_version/builders.rs @@ -19,9 +19,9 @@ impl DeleteSchemaVersionFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl DeleteSchemaVersionFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::delete_schema_version::DeleteSchemaVersion, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::delete_schema_version::DeleteSchemaVersionError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                The name of the registry.

                                                                                                                                                                                                                                                                                                                                                                                pub fn registry_name( mut self, diff --git a/sdk/schemas/src/operation/describe_code_binding/builders.rs b/sdk/schemas/src/operation/describe_code_binding/builders.rs index 241b7bf73760..9ff74067d596 100644 --- a/sdk/schemas/src/operation/describe_code_binding/builders.rs +++ b/sdk/schemas/src/operation/describe_code_binding/builders.rs @@ -19,9 +19,9 @@ impl DescribeCodeBindingFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl DescribeCodeBindingFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::describe_code_binding::DescribeCodeBinding, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::describe_code_binding::DescribeCodeBindingError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                The language of the code binding.

                                                                                                                                                                                                                                                                                                                                                                                pub fn language(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.language(input.into()); diff --git a/sdk/schemas/src/operation/describe_discoverer/builders.rs b/sdk/schemas/src/operation/describe_discoverer/builders.rs index 4fc0fbb7dc3f..52947d357bb8 100644 --- a/sdk/schemas/src/operation/describe_discoverer/builders.rs +++ b/sdk/schemas/src/operation/describe_discoverer/builders.rs @@ -19,9 +19,9 @@ impl DescribeDiscovererFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl DescribeDiscovererFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::describe_discoverer::DescribeDiscoverer, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::describe_discoverer::DescribeDiscovererError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                The ID of the discoverer.

                                                                                                                                                                                                                                                                                                                                                                                pub fn discoverer_id( mut self, diff --git a/sdk/schemas/src/operation/describe_registry/builders.rs b/sdk/schemas/src/operation/describe_registry/builders.rs index 46b4f7b6f966..cd6806a607a4 100644 --- a/sdk/schemas/src/operation/describe_registry/builders.rs +++ b/sdk/schemas/src/operation/describe_registry/builders.rs @@ -19,9 +19,9 @@ impl DescribeRegistryFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl DescribeRegistryFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::describe_registry::DescribeRegistry, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::describe_registry::DescribeRegistryError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                The name of the registry.

                                                                                                                                                                                                                                                                                                                                                                                pub fn registry_name( mut self, diff --git a/sdk/schemas/src/operation/describe_schema/builders.rs b/sdk/schemas/src/operation/describe_schema/builders.rs index 7e27182454da..fc164356c7f9 100644 --- a/sdk/schemas/src/operation/describe_schema/builders.rs +++ b/sdk/schemas/src/operation/describe_schema/builders.rs @@ -19,9 +19,9 @@ impl DescribeSchemaFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl DescribeSchemaFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::describe_schema::DescribeSchema, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                The name of the registry.

                                                                                                                                                                                                                                                                                                                                                                                pub fn registry_name( mut self, diff --git a/sdk/schemas/src/operation/export_schema/builders.rs b/sdk/schemas/src/operation/export_schema/builders.rs index ba4527f46350..9e2473c43248 100644 --- a/sdk/schemas/src/operation/export_schema/builders.rs +++ b/sdk/schemas/src/operation/export_schema/builders.rs @@ -18,9 +18,9 @@ impl ExportSchemaFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -76,6 +76,20 @@ impl ExportSchemaFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::export_schema::ExportSchema, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                The name of the registry.

                                                                                                                                                                                                                                                                                                                                                                                pub fn registry_name( mut self, diff --git a/sdk/schemas/src/operation/get_code_binding_source/builders.rs b/sdk/schemas/src/operation/get_code_binding_source/builders.rs index b2c87ebaec33..2d6ba45db81d 100644 --- a/sdk/schemas/src/operation/get_code_binding_source/builders.rs +++ b/sdk/schemas/src/operation/get_code_binding_source/builders.rs @@ -19,9 +19,9 @@ impl GetCodeBindingSourceFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl GetCodeBindingSourceFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::get_code_binding_source::GetCodeBindingSource, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::get_code_binding_source::GetCodeBindingSourceError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                The language of the code binding.

                                                                                                                                                                                                                                                                                                                                                                                pub fn language(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.language(input.into()); diff --git a/sdk/schemas/src/operation/get_discovered_schema/builders.rs b/sdk/schemas/src/operation/get_discovered_schema/builders.rs index 3bfe7146bf41..5d718bb1128f 100644 --- a/sdk/schemas/src/operation/get_discovered_schema/builders.rs +++ b/sdk/schemas/src/operation/get_discovered_schema/builders.rs @@ -19,9 +19,9 @@ impl GetDiscoveredSchemaFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl GetDiscoveredSchemaFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::get_discovered_schema::GetDiscoveredSchema, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::get_discovered_schema::GetDiscoveredSchemaError, + >, + > { + self.customize_middleware().await + } /// Appends an item to `Events`. /// /// To override the contents of this collection use [`set_events`](Self::set_events). diff --git a/sdk/schemas/src/operation/get_resource_policy/builders.rs b/sdk/schemas/src/operation/get_resource_policy/builders.rs index 66ea90716f17..7d88747b9e7b 100644 --- a/sdk/schemas/src/operation/get_resource_policy/builders.rs +++ b/sdk/schemas/src/operation/get_resource_policy/builders.rs @@ -19,9 +19,9 @@ impl GetResourcePolicyFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl GetResourcePolicyFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::get_resource_policy::GetResourcePolicy, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::get_resource_policy::GetResourcePolicyError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                The name of the registry.

                                                                                                                                                                                                                                                                                                                                                                                pub fn registry_name( mut self, diff --git a/sdk/schemas/src/operation/list_discoverers/builders.rs b/sdk/schemas/src/operation/list_discoverers/builders.rs index 661e9353cb9d..00ebb42d7dc0 100644 --- a/sdk/schemas/src/operation/list_discoverers/builders.rs +++ b/sdk/schemas/src/operation/list_discoverers/builders.rs @@ -19,9 +19,9 @@ impl ListDiscoverersFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl ListDiscoverersFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_discoverers::ListDiscoverers, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::list_discoverers::ListDiscoverersError, + >, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::list_discoverers::paginator::ListDiscoverersPaginator::send) which returns a `Stream`. diff --git a/sdk/schemas/src/operation/list_registries/builders.rs b/sdk/schemas/src/operation/list_registries/builders.rs index 6f2b110b85eb..83378d1c539f 100644 --- a/sdk/schemas/src/operation/list_registries/builders.rs +++ b/sdk/schemas/src/operation/list_registries/builders.rs @@ -19,9 +19,9 @@ impl ListRegistriesFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl ListRegistriesFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_registries::ListRegistries, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::list_registries::paginator::ListRegistriesPaginator::send) which returns a `Stream`. diff --git a/sdk/schemas/src/operation/list_schema_versions/builders.rs b/sdk/schemas/src/operation/list_schema_versions/builders.rs index 6ca97cc80111..f864604c488e 100644 --- a/sdk/schemas/src/operation/list_schema_versions/builders.rs +++ b/sdk/schemas/src/operation/list_schema_versions/builders.rs @@ -19,9 +19,9 @@ impl ListSchemaVersionsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl ListSchemaVersionsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_schema_versions::ListSchemaVersions, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::list_schema_versions::ListSchemaVersionsError, + >, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::list_schema_versions::paginator::ListSchemaVersionsPaginator::send) which returns a `Stream`. diff --git a/sdk/schemas/src/operation/list_schemas/builders.rs b/sdk/schemas/src/operation/list_schemas/builders.rs index 98ad3e38acb2..e4fbd9137362 100644 --- a/sdk/schemas/src/operation/list_schemas/builders.rs +++ b/sdk/schemas/src/operation/list_schemas/builders.rs @@ -19,9 +19,9 @@ impl ListSchemasFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl ListSchemasFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_schemas::ListSchemas, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::list_schemas::paginator::ListSchemasPaginator::send) which returns a `Stream`. diff --git a/sdk/schemas/src/operation/list_tags_for_resource/builders.rs b/sdk/schemas/src/operation/list_tags_for_resource/builders.rs index 05b30eda2127..5f8b236f80ac 100644 --- a/sdk/schemas/src/operation/list_tags_for_resource/builders.rs +++ b/sdk/schemas/src/operation/list_tags_for_resource/builders.rs @@ -19,9 +19,9 @@ impl ListTagsForResourceFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl ListTagsForResourceFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_tags_for_resource::ListTagsForResource, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::list_tags_for_resource::ListTagsForResourceError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                The ARN of the resource.

                                                                                                                                                                                                                                                                                                                                                                                pub fn resource_arn(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.resource_arn(input.into()); diff --git a/sdk/schemas/src/operation/put_code_binding/builders.rs b/sdk/schemas/src/operation/put_code_binding/builders.rs index ef013ca9b203..e2b004a79b23 100644 --- a/sdk/schemas/src/operation/put_code_binding/builders.rs +++ b/sdk/schemas/src/operation/put_code_binding/builders.rs @@ -19,9 +19,9 @@ impl PutCodeBindingFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl PutCodeBindingFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::put_code_binding::PutCodeBinding, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::put_code_binding::PutCodeBindingError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                The language of the code binding.

                                                                                                                                                                                                                                                                                                                                                                                pub fn language(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.language(input.into()); diff --git a/sdk/schemas/src/operation/put_resource_policy/builders.rs b/sdk/schemas/src/operation/put_resource_policy/builders.rs index f2611e2d64e8..7d48ff7a24e7 100644 --- a/sdk/schemas/src/operation/put_resource_policy/builders.rs +++ b/sdk/schemas/src/operation/put_resource_policy/builders.rs @@ -19,9 +19,9 @@ impl PutResourcePolicyFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl PutResourcePolicyFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::put_resource_policy::PutResourcePolicy, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::put_resource_policy::PutResourcePolicyError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                The resource-based policy.

                                                                                                                                                                                                                                                                                                                                                                                pub fn policy(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.policy(input.into()); diff --git a/sdk/schemas/src/operation/search_schemas/builders.rs b/sdk/schemas/src/operation/search_schemas/builders.rs index 73a02c5e972b..91882f9e877f 100644 --- a/sdk/schemas/src/operation/search_schemas/builders.rs +++ b/sdk/schemas/src/operation/search_schemas/builders.rs @@ -19,9 +19,9 @@ impl SearchSchemasFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl SearchSchemasFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::search_schemas::SearchSchemas, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::search_schemas::paginator::SearchSchemasPaginator::send) which returns a `Stream`. diff --git a/sdk/schemas/src/operation/start_discoverer/builders.rs b/sdk/schemas/src/operation/start_discoverer/builders.rs index b2f3b67a8fa9..133161020a02 100644 --- a/sdk/schemas/src/operation/start_discoverer/builders.rs +++ b/sdk/schemas/src/operation/start_discoverer/builders.rs @@ -19,9 +19,9 @@ impl StartDiscovererFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl StartDiscovererFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::start_discoverer::StartDiscoverer, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::start_discoverer::StartDiscovererError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                The ID of the discoverer.

                                                                                                                                                                                                                                                                                                                                                                                pub fn discoverer_id( mut self, diff --git a/sdk/schemas/src/operation/stop_discoverer/builders.rs b/sdk/schemas/src/operation/stop_discoverer/builders.rs index 827ac4f57b01..92ff55e326ab 100644 --- a/sdk/schemas/src/operation/stop_discoverer/builders.rs +++ b/sdk/schemas/src/operation/stop_discoverer/builders.rs @@ -19,9 +19,9 @@ impl StopDiscovererFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl StopDiscovererFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::stop_discoverer::StopDiscoverer, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                The ID of the discoverer.

                                                                                                                                                                                                                                                                                                                                                                                pub fn discoverer_id( mut self, diff --git a/sdk/schemas/src/operation/tag_resource/builders.rs b/sdk/schemas/src/operation/tag_resource/builders.rs index fa411f23e595..1a4115108819 100644 --- a/sdk/schemas/src/operation/tag_resource/builders.rs +++ b/sdk/schemas/src/operation/tag_resource/builders.rs @@ -19,9 +19,9 @@ impl TagResourceFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl TagResourceFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::tag_resource::TagResource, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                The ARN of the resource.

                                                                                                                                                                                                                                                                                                                                                                                pub fn resource_arn(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.resource_arn(input.into()); diff --git a/sdk/schemas/src/operation/untag_resource/builders.rs b/sdk/schemas/src/operation/untag_resource/builders.rs index b80663771820..787df7fa296e 100644 --- a/sdk/schemas/src/operation/untag_resource/builders.rs +++ b/sdk/schemas/src/operation/untag_resource/builders.rs @@ -19,9 +19,9 @@ impl UntagResourceFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl UntagResourceFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::untag_resource::UntagResource, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                The ARN of the resource.

                                                                                                                                                                                                                                                                                                                                                                                pub fn resource_arn(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.resource_arn(input.into()); diff --git a/sdk/schemas/src/operation/update_discoverer/builders.rs b/sdk/schemas/src/operation/update_discoverer/builders.rs index 11349e8779b4..74a533b0d093 100644 --- a/sdk/schemas/src/operation/update_discoverer/builders.rs +++ b/sdk/schemas/src/operation/update_discoverer/builders.rs @@ -19,9 +19,9 @@ impl UpdateDiscovererFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl UpdateDiscovererFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::update_discoverer::UpdateDiscoverer, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::update_discoverer::UpdateDiscovererError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                The description of the discoverer to update.

                                                                                                                                                                                                                                                                                                                                                                                pub fn description(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.description(input.into()); diff --git a/sdk/schemas/src/operation/update_registry/builders.rs b/sdk/schemas/src/operation/update_registry/builders.rs index 956554373df6..d0f6d525a2e0 100644 --- a/sdk/schemas/src/operation/update_registry/builders.rs +++ b/sdk/schemas/src/operation/update_registry/builders.rs @@ -19,9 +19,9 @@ impl UpdateRegistryFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl UpdateRegistryFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::update_registry::UpdateRegistry, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                The description of the registry to update.

                                                                                                                                                                                                                                                                                                                                                                                pub fn description(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.description(input.into()); diff --git a/sdk/schemas/src/operation/update_schema/builders.rs b/sdk/schemas/src/operation/update_schema/builders.rs index f55dc4683d53..16094927aae7 100644 --- a/sdk/schemas/src/operation/update_schema/builders.rs +++ b/sdk/schemas/src/operation/update_schema/builders.rs @@ -21,9 +21,9 @@ impl UpdateSchemaFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -79,6 +79,20 @@ impl UpdateSchemaFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::update_schema::UpdateSchema, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                The ID of the client token.

                                                                                                                                                                                                                                                                                                                                                                                pub fn client_token_id( mut self, diff --git a/sdk/secretsmanager/src/operation/cancel_rotate_secret/builders.rs b/sdk/secretsmanager/src/operation/cancel_rotate_secret/builders.rs index 3cb3143f6e34..e6450555a1d5 100644 --- a/sdk/secretsmanager/src/operation/cancel_rotate_secret/builders.rs +++ b/sdk/secretsmanager/src/operation/cancel_rotate_secret/builders.rs @@ -23,9 +23,9 @@ impl CancelRotateSecretFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -87,6 +87,22 @@ impl CancelRotateSecretFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::cancel_rotate_secret::CancelRotateSecret, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::cancel_rotate_secret::CancelRotateSecretError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                The ARN or name of the secret.

                                                                                                                                                                                                                                                                                                                                                                                ///

                                                                                                                                                                                                                                                                                                                                                                                For an ARN, we recommend that you specify a complete ARN rather than a partial ARN. See Finding a secret from a partial ARN.

                                                                                                                                                                                                                                                                                                                                                                                pub fn secret_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { diff --git a/sdk/secretsmanager/src/operation/create_secret/builders.rs b/sdk/secretsmanager/src/operation/create_secret/builders.rs index 1ab201840577..009e3416aba8 100644 --- a/sdk/secretsmanager/src/operation/create_secret/builders.rs +++ b/sdk/secretsmanager/src/operation/create_secret/builders.rs @@ -28,9 +28,9 @@ impl CreateSecretFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -86,6 +86,20 @@ impl CreateSecretFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::create_secret::CreateSecret, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                The name of the new secret.

                                                                                                                                                                                                                                                                                                                                                                                ///

                                                                                                                                                                                                                                                                                                                                                                                The secret name can contain ASCII letters, numbers, and the following characters: /_+=.@-

                                                                                                                                                                                                                                                                                                                                                                                ///

                                                                                                                                                                                                                                                                                                                                                                                Do not end your secret name with a hyphen followed by six characters. If you do so, you risk confusion and unexpected results when searching for a secret by partial ARN. Secrets Manager automatically adds a hyphen and six random characters after the secret name at the end of the ARN.

                                                                                                                                                                                                                                                                                                                                                                                diff --git a/sdk/secretsmanager/src/operation/delete_resource_policy/builders.rs b/sdk/secretsmanager/src/operation/delete_resource_policy/builders.rs index ea7693f07036..a46d06a32958 100644 --- a/sdk/secretsmanager/src/operation/delete_resource_policy/builders.rs +++ b/sdk/secretsmanager/src/operation/delete_resource_policy/builders.rs @@ -21,9 +21,9 @@ impl DeleteResourcePolicyFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -85,6 +85,22 @@ impl DeleteResourcePolicyFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::delete_resource_policy::DeleteResourcePolicy, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::delete_resource_policy::DeleteResourcePolicyError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                The ARN or name of the secret to delete the attached resource-based policy for.

                                                                                                                                                                                                                                                                                                                                                                                ///

                                                                                                                                                                                                                                                                                                                                                                                For an ARN, we recommend that you specify a complete ARN rather than a partial ARN. See Finding a secret from a partial ARN.

                                                                                                                                                                                                                                                                                                                                                                                pub fn secret_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { diff --git a/sdk/secretsmanager/src/operation/delete_secret/builders.rs b/sdk/secretsmanager/src/operation/delete_secret/builders.rs index 15a62c7d3abf..dfb8cd942fca 100644 --- a/sdk/secretsmanager/src/operation/delete_secret/builders.rs +++ b/sdk/secretsmanager/src/operation/delete_secret/builders.rs @@ -27,9 +27,9 @@ impl DeleteSecretFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -85,6 +85,20 @@ impl DeleteSecretFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::delete_secret::DeleteSecret, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                The ARN or name of the secret to delete.

                                                                                                                                                                                                                                                                                                                                                                                ///

                                                                                                                                                                                                                                                                                                                                                                                For an ARN, we recommend that you specify a complete ARN rather than a partial ARN. See Finding a secret from a partial ARN.

                                                                                                                                                                                                                                                                                                                                                                                pub fn secret_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { diff --git a/sdk/secretsmanager/src/operation/describe_secret/builders.rs b/sdk/secretsmanager/src/operation/describe_secret/builders.rs index 98345f0692dc..539146e9250d 100644 --- a/sdk/secretsmanager/src/operation/describe_secret/builders.rs +++ b/sdk/secretsmanager/src/operation/describe_secret/builders.rs @@ -21,9 +21,9 @@ impl DescribeSecretFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -79,6 +79,20 @@ impl DescribeSecretFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::describe_secret::DescribeSecret, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                The ARN or name of the secret.

                                                                                                                                                                                                                                                                                                                                                                                ///

                                                                                                                                                                                                                                                                                                                                                                                For an ARN, we recommend that you specify a complete ARN rather than a partial ARN. See Finding a secret from a partial ARN.

                                                                                                                                                                                                                                                                                                                                                                                pub fn secret_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { diff --git a/sdk/secretsmanager/src/operation/get_random_password/builders.rs b/sdk/secretsmanager/src/operation/get_random_password/builders.rs index 930db6e01da5..ca65a2f331d0 100644 --- a/sdk/secretsmanager/src/operation/get_random_password/builders.rs +++ b/sdk/secretsmanager/src/operation/get_random_password/builders.rs @@ -21,9 +21,9 @@ impl GetRandomPasswordFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -85,6 +85,22 @@ impl GetRandomPasswordFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::get_random_password::GetRandomPassword, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::get_random_password::GetRandomPasswordError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                The length of the password. If you don't include this parameter, the default length is 32 characters.

                                                                                                                                                                                                                                                                                                                                                                                pub fn password_length(mut self, input: i64) -> Self { self.inner = self.inner.password_length(input); diff --git a/sdk/secretsmanager/src/operation/get_resource_policy/builders.rs b/sdk/secretsmanager/src/operation/get_resource_policy/builders.rs index c2f07fcbc8eb..c60d50983819 100644 --- a/sdk/secretsmanager/src/operation/get_resource_policy/builders.rs +++ b/sdk/secretsmanager/src/operation/get_resource_policy/builders.rs @@ -21,9 +21,9 @@ impl GetResourcePolicyFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -85,6 +85,22 @@ impl GetResourcePolicyFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::get_resource_policy::GetResourcePolicy, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::get_resource_policy::GetResourcePolicyError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                The ARN or name of the secret to retrieve the attached resource-based policy for.

                                                                                                                                                                                                                                                                                                                                                                                ///

                                                                                                                                                                                                                                                                                                                                                                                For an ARN, we recommend that you specify a complete ARN rather than a partial ARN. See Finding a secret from a partial ARN.

                                                                                                                                                                                                                                                                                                                                                                                pub fn secret_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { diff --git a/sdk/secretsmanager/src/operation/get_secret_value/builders.rs b/sdk/secretsmanager/src/operation/get_secret_value/builders.rs index f5fdd08203a2..606a4cae862d 100644 --- a/sdk/secretsmanager/src/operation/get_secret_value/builders.rs +++ b/sdk/secretsmanager/src/operation/get_secret_value/builders.rs @@ -23,9 +23,9 @@ impl GetSecretValueFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -87,6 +87,22 @@ impl GetSecretValueFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::get_secret_value::GetSecretValue, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::get_secret_value::GetSecretValueError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                The ARN or name of the secret to retrieve.

                                                                                                                                                                                                                                                                                                                                                                                ///

                                                                                                                                                                                                                                                                                                                                                                                For an ARN, we recommend that you specify a complete ARN rather than a partial ARN. See Finding a secret from a partial ARN.

                                                                                                                                                                                                                                                                                                                                                                                pub fn secret_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { diff --git a/sdk/secretsmanager/src/operation/list_secret_version_ids/builders.rs b/sdk/secretsmanager/src/operation/list_secret_version_ids/builders.rs index 6748516d6a92..68cf60519fef 100644 --- a/sdk/secretsmanager/src/operation/list_secret_version_ids/builders.rs +++ b/sdk/secretsmanager/src/operation/list_secret_version_ids/builders.rs @@ -22,9 +22,9 @@ impl ListSecretVersionIdsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -86,6 +86,22 @@ impl ListSecretVersionIdsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_secret_version_ids::ListSecretVersionIds, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::list_secret_version_ids::ListSecretVersionIdsError, + >, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::list_secret_version_ids::paginator::ListSecretVersionIdsPaginator::send) which returns a `Stream`. diff --git a/sdk/secretsmanager/src/operation/list_secrets/builders.rs b/sdk/secretsmanager/src/operation/list_secrets/builders.rs index 4f15e90a3960..a8007435a057 100644 --- a/sdk/secretsmanager/src/operation/list_secrets/builders.rs +++ b/sdk/secretsmanager/src/operation/list_secrets/builders.rs @@ -25,9 +25,9 @@ impl ListSecretsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,20 @@ impl ListSecretsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_secrets::ListSecrets, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::list_secrets::paginator::ListSecretsPaginator::send) which returns a `Stream`. diff --git a/sdk/secretsmanager/src/operation/put_resource_policy/builders.rs b/sdk/secretsmanager/src/operation/put_resource_policy/builders.rs index 742f300eb9de..4cc7839382ff 100644 --- a/sdk/secretsmanager/src/operation/put_resource_policy/builders.rs +++ b/sdk/secretsmanager/src/operation/put_resource_policy/builders.rs @@ -22,9 +22,9 @@ impl PutResourcePolicyFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -86,6 +86,22 @@ impl PutResourcePolicyFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::put_resource_policy::PutResourcePolicy, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::put_resource_policy::PutResourcePolicyError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                The ARN or name of the secret to attach the resource-based policy.

                                                                                                                                                                                                                                                                                                                                                                                ///

                                                                                                                                                                                                                                                                                                                                                                                For an ARN, we recommend that you specify a complete ARN rather than a partial ARN. See Finding a secret from a partial ARN.

                                                                                                                                                                                                                                                                                                                                                                                pub fn secret_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { diff --git a/sdk/secretsmanager/src/operation/put_secret_value/builders.rs b/sdk/secretsmanager/src/operation/put_secret_value/builders.rs index cd2f720da088..643ac829ac79 100644 --- a/sdk/secretsmanager/src/operation/put_secret_value/builders.rs +++ b/sdk/secretsmanager/src/operation/put_secret_value/builders.rs @@ -24,9 +24,9 @@ impl PutSecretValueFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -88,6 +88,22 @@ impl PutSecretValueFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::put_secret_value::PutSecretValue, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::put_secret_value::PutSecretValueError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                The ARN or name of the secret to add a new version to.

                                                                                                                                                                                                                                                                                                                                                                                ///

                                                                                                                                                                                                                                                                                                                                                                                For an ARN, we recommend that you specify a complete ARN rather than a partial ARN. See Finding a secret from a partial ARN.

                                                                                                                                                                                                                                                                                                                                                                                ///

                                                                                                                                                                                                                                                                                                                                                                                If the secret doesn't already exist, use CreateSecret instead.

                                                                                                                                                                                                                                                                                                                                                                                diff --git a/sdk/secretsmanager/src/operation/remove_regions_from_replication/builders.rs b/sdk/secretsmanager/src/operation/remove_regions_from_replication/builders.rs index a5e46fe82717..002ca04ebba0 100644 --- a/sdk/secretsmanager/src/operation/remove_regions_from_replication/builders.rs +++ b/sdk/secretsmanager/src/operation/remove_regions_from_replication/builders.rs @@ -21,9 +21,9 @@ impl RemoveRegionsFromReplicationFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -85,6 +85,22 @@ impl RemoveRegionsFromReplicationFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::remove_regions_from_replication::RemoveRegionsFromReplication, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::remove_regions_from_replication::RemoveRegionsFromReplicationError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                The ARN or name of the secret.

                                                                                                                                                                                                                                                                                                                                                                                pub fn secret_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.secret_id(input.into()); diff --git a/sdk/secretsmanager/src/operation/replicate_secret_to_regions/builders.rs b/sdk/secretsmanager/src/operation/replicate_secret_to_regions/builders.rs index 280a566c276d..5ad54aa475fc 100644 --- a/sdk/secretsmanager/src/operation/replicate_secret_to_regions/builders.rs +++ b/sdk/secretsmanager/src/operation/replicate_secret_to_regions/builders.rs @@ -21,9 +21,9 @@ impl ReplicateSecretToRegionsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -85,6 +85,22 @@ impl ReplicateSecretToRegionsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::replicate_secret_to_regions::ReplicateSecretToRegions, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::replicate_secret_to_regions::ReplicateSecretToRegionsError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                The ARN or name of the secret to replicate.

                                                                                                                                                                                                                                                                                                                                                                                pub fn secret_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.secret_id(input.into()); diff --git a/sdk/secretsmanager/src/operation/restore_secret/builders.rs b/sdk/secretsmanager/src/operation/restore_secret/builders.rs index ad98b226619e..6b733b8188d2 100644 --- a/sdk/secretsmanager/src/operation/restore_secret/builders.rs +++ b/sdk/secretsmanager/src/operation/restore_secret/builders.rs @@ -21,9 +21,9 @@ impl RestoreSecretFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -79,6 +79,20 @@ impl RestoreSecretFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::restore_secret::RestoreSecret, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                The ARN or name of the secret to restore.

                                                                                                                                                                                                                                                                                                                                                                                ///

                                                                                                                                                                                                                                                                                                                                                                                For an ARN, we recommend that you specify a complete ARN rather than a partial ARN. See Finding a secret from a partial ARN.

                                                                                                                                                                                                                                                                                                                                                                                pub fn secret_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { diff --git a/sdk/secretsmanager/src/operation/rotate_secret/builders.rs b/sdk/secretsmanager/src/operation/rotate_secret/builders.rs index 66adae902c66..b05143e201cb 100644 --- a/sdk/secretsmanager/src/operation/rotate_secret/builders.rs +++ b/sdk/secretsmanager/src/operation/rotate_secret/builders.rs @@ -22,9 +22,9 @@ impl RotateSecretFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -80,6 +80,20 @@ impl RotateSecretFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::rotate_secret::RotateSecret, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                The ARN or name of the secret to rotate.

                                                                                                                                                                                                                                                                                                                                                                                ///

                                                                                                                                                                                                                                                                                                                                                                                For an ARN, we recommend that you specify a complete ARN rather than a partial ARN. See Finding a secret from a partial ARN.

                                                                                                                                                                                                                                                                                                                                                                                pub fn secret_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { diff --git a/sdk/secretsmanager/src/operation/stop_replication_to_replica/builders.rs b/sdk/secretsmanager/src/operation/stop_replication_to_replica/builders.rs index dec906f82c59..ce2e3202868e 100644 --- a/sdk/secretsmanager/src/operation/stop_replication_to_replica/builders.rs +++ b/sdk/secretsmanager/src/operation/stop_replication_to_replica/builders.rs @@ -22,9 +22,9 @@ impl StopReplicationToReplicaFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -86,6 +86,22 @@ impl StopReplicationToReplicaFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::stop_replication_to_replica::StopReplicationToReplica, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::stop_replication_to_replica::StopReplicationToReplicaError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                The ARN of the primary secret.

                                                                                                                                                                                                                                                                                                                                                                                pub fn secret_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.secret_id(input.into()); diff --git a/sdk/secretsmanager/src/operation/tag_resource/builders.rs b/sdk/secretsmanager/src/operation/tag_resource/builders.rs index be0fdba86658..7dc26da8f58a 100644 --- a/sdk/secretsmanager/src/operation/tag_resource/builders.rs +++ b/sdk/secretsmanager/src/operation/tag_resource/builders.rs @@ -32,9 +32,9 @@ impl TagResourceFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -90,6 +90,20 @@ impl TagResourceFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::tag_resource::TagResource, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                The identifier for the secret to attach tags to. You can specify either the Amazon Resource Name (ARN) or the friendly name of the secret.

                                                                                                                                                                                                                                                                                                                                                                                ///

                                                                                                                                                                                                                                                                                                                                                                                For an ARN, we recommend that you specify a complete ARN rather than a partial ARN. See Finding a secret from a partial ARN.

                                                                                                                                                                                                                                                                                                                                                                                pub fn secret_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { diff --git a/sdk/secretsmanager/src/operation/untag_resource/builders.rs b/sdk/secretsmanager/src/operation/untag_resource/builders.rs index 5c166f45e008..8f93599f6698 100644 --- a/sdk/secretsmanager/src/operation/untag_resource/builders.rs +++ b/sdk/secretsmanager/src/operation/untag_resource/builders.rs @@ -24,9 +24,9 @@ impl UntagResourceFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -82,6 +82,20 @@ impl UntagResourceFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::untag_resource::UntagResource, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                The ARN or name of the secret.

                                                                                                                                                                                                                                                                                                                                                                                ///

                                                                                                                                                                                                                                                                                                                                                                                For an ARN, we recommend that you specify a complete ARN rather than a partial ARN. See Finding a secret from a partial ARN.

                                                                                                                                                                                                                                                                                                                                                                                pub fn secret_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { diff --git a/sdk/secretsmanager/src/operation/update_secret/builders.rs b/sdk/secretsmanager/src/operation/update_secret/builders.rs index abf72e159f3f..ce4b3ec65e1c 100644 --- a/sdk/secretsmanager/src/operation/update_secret/builders.rs +++ b/sdk/secretsmanager/src/operation/update_secret/builders.rs @@ -26,9 +26,9 @@ impl UpdateSecretFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -84,6 +84,20 @@ impl UpdateSecretFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::update_secret::UpdateSecret, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                The ARN or name of the secret.

                                                                                                                                                                                                                                                                                                                                                                                ///

                                                                                                                                                                                                                                                                                                                                                                                For an ARN, we recommend that you specify a complete ARN rather than a partial ARN. See Finding a secret from a partial ARN.

                                                                                                                                                                                                                                                                                                                                                                                pub fn secret_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { diff --git a/sdk/secretsmanager/src/operation/update_secret_version_stage/builders.rs b/sdk/secretsmanager/src/operation/update_secret_version_stage/builders.rs index be834ddb6683..39717703f763 100644 --- a/sdk/secretsmanager/src/operation/update_secret_version_stage/builders.rs +++ b/sdk/secretsmanager/src/operation/update_secret_version_stage/builders.rs @@ -26,9 +26,9 @@ impl UpdateSecretVersionStageFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -90,6 +90,22 @@ impl UpdateSecretVersionStageFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::update_secret_version_stage::UpdateSecretVersionStage, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::update_secret_version_stage::UpdateSecretVersionStageError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                The ARN or the name of the secret with the version and staging labelsto modify.

                                                                                                                                                                                                                                                                                                                                                                                ///

                                                                                                                                                                                                                                                                                                                                                                                For an ARN, we recommend that you specify a complete ARN rather than a partial ARN. See Finding a secret from a partial ARN.

                                                                                                                                                                                                                                                                                                                                                                                pub fn secret_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { diff --git a/sdk/secretsmanager/src/operation/validate_resource_policy/builders.rs b/sdk/secretsmanager/src/operation/validate_resource_policy/builders.rs index 87fe96181193..1faaaedfdfd7 100644 --- a/sdk/secretsmanager/src/operation/validate_resource_policy/builders.rs +++ b/sdk/secretsmanager/src/operation/validate_resource_policy/builders.rs @@ -27,9 +27,9 @@ impl ValidateResourcePolicyFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -91,6 +91,22 @@ impl ValidateResourcePolicyFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::validate_resource_policy::ValidateResourcePolicy, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::validate_resource_policy::ValidateResourcePolicyError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                This field is reserved for internal use.

                                                                                                                                                                                                                                                                                                                                                                                pub fn secret_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.secret_id(input.into()); diff --git a/sdk/securityhub/src/operation/accept_administrator_invitation/builders.rs b/sdk/securityhub/src/operation/accept_administrator_invitation/builders.rs index 42182f9bf86c..30e8c67f1cb2 100644 --- a/sdk/securityhub/src/operation/accept_administrator_invitation/builders.rs +++ b/sdk/securityhub/src/operation/accept_administrator_invitation/builders.rs @@ -21,9 +21,9 @@ impl AcceptAdministratorInvitationFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -85,6 +85,22 @@ impl AcceptAdministratorInvitationFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::accept_administrator_invitation::AcceptAdministratorInvitation, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::accept_administrator_invitation::AcceptAdministratorInvitationError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                The account ID of the Security Hub administrator account that sent the invitation.

                                                                                                                                                                                                                                                                                                                                                                                pub fn administrator_id( mut self, diff --git a/sdk/securityhub/src/operation/accept_invitation/builders.rs b/sdk/securityhub/src/operation/accept_invitation/builders.rs index a3114dc14cd8..acbad8b50f7b 100644 --- a/sdk/securityhub/src/operation/accept_invitation/builders.rs +++ b/sdk/securityhub/src/operation/accept_invitation/builders.rs @@ -24,9 +24,9 @@ impl AcceptInvitationFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -88,6 +88,22 @@ impl AcceptInvitationFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::accept_invitation::AcceptInvitation, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::accept_invitation::AcceptInvitationError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                The account ID of the Security Hub administrator account that sent the invitation.

                                                                                                                                                                                                                                                                                                                                                                                pub fn master_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.master_id(input.into()); diff --git a/sdk/securityhub/src/operation/batch_disable_standards/builders.rs b/sdk/securityhub/src/operation/batch_disable_standards/builders.rs index ed1b1c0f5218..0069d153345c 100644 --- a/sdk/securityhub/src/operation/batch_disable_standards/builders.rs +++ b/sdk/securityhub/src/operation/batch_disable_standards/builders.rs @@ -20,9 +20,9 @@ impl BatchDisableStandardsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -84,6 +84,22 @@ impl BatchDisableStandardsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::batch_disable_standards::BatchDisableStandards, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::batch_disable_standards::BatchDisableStandardsError, + >, + > { + self.customize_middleware().await + } /// Appends an item to `StandardsSubscriptionArns`. /// /// To override the contents of this collection use [`set_standards_subscription_arns`](Self::set_standards_subscription_arns). diff --git a/sdk/securityhub/src/operation/batch_enable_standards/builders.rs b/sdk/securityhub/src/operation/batch_enable_standards/builders.rs index 7389b011dbd8..d2a92fe7ffa2 100644 --- a/sdk/securityhub/src/operation/batch_enable_standards/builders.rs +++ b/sdk/securityhub/src/operation/batch_enable_standards/builders.rs @@ -20,9 +20,9 @@ impl BatchEnableStandardsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -84,6 +84,22 @@ impl BatchEnableStandardsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::batch_enable_standards::BatchEnableStandards, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::batch_enable_standards::BatchEnableStandardsError, + >, + > { + self.customize_middleware().await + } /// Appends an item to `StandardsSubscriptionRequests`. /// /// To override the contents of this collection use [`set_standards_subscription_requests`](Self::set_standards_subscription_requests). diff --git a/sdk/securityhub/src/operation/batch_get_security_controls/builders.rs b/sdk/securityhub/src/operation/batch_get_security_controls/builders.rs index 7ff8f2294f2b..a9bfcb326e0e 100644 --- a/sdk/securityhub/src/operation/batch_get_security_controls/builders.rs +++ b/sdk/securityhub/src/operation/batch_get_security_controls/builders.rs @@ -19,9 +19,9 @@ impl BatchGetSecurityControlsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl BatchGetSecurityControlsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::batch_get_security_controls::BatchGetSecurityControls, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::batch_get_security_controls::BatchGetSecurityControlsError, + >, + > { + self.customize_middleware().await + } /// Appends an item to `SecurityControlIds`. /// /// To override the contents of this collection use [`set_security_control_ids`](Self::set_security_control_ids). diff --git a/sdk/securityhub/src/operation/batch_get_standards_control_associations/builders.rs b/sdk/securityhub/src/operation/batch_get_standards_control_associations/builders.rs index 080dbe1c05df..fcaed1df6cd4 100644 --- a/sdk/securityhub/src/operation/batch_get_standards_control_associations/builders.rs +++ b/sdk/securityhub/src/operation/batch_get_standards_control_associations/builders.rs @@ -19,9 +19,9 @@ impl BatchGetStandardsControlAssociationsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize(self) -> ::std::result::Result< + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware(self) -> ::std::result::Result< crate::client::customize::CustomizableOperation, ::aws_smithy_http::result::SdkError >{ @@ -64,6 +64,15 @@ impl BatchGetStandardsControlAssociationsFluentBuilder { { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize(self) -> ::std::result::Result< + crate::client::customize::CustomizableOperation, + ::aws_smithy_http::result::SdkError + >{ + self.customize_middleware().await + } /// Appends an item to `StandardsControlAssociationIds`. /// /// To override the contents of this collection use [`set_standards_control_association_ids`](Self::set_standards_control_association_ids). diff --git a/sdk/securityhub/src/operation/batch_import_findings/builders.rs b/sdk/securityhub/src/operation/batch_import_findings/builders.rs index 51a6157d3e0a..3f08f3ec8a28 100644 --- a/sdk/securityhub/src/operation/batch_import_findings/builders.rs +++ b/sdk/securityhub/src/operation/batch_import_findings/builders.rs @@ -41,9 +41,9 @@ impl BatchImportFindingsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -105,6 +105,22 @@ impl BatchImportFindingsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::batch_import_findings::BatchImportFindings, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::batch_import_findings::BatchImportFindingsError, + >, + > { + self.customize_middleware().await + } /// Appends an item to `Findings`. /// /// To override the contents of this collection use [`set_findings`](Self::set_findings). diff --git a/sdk/securityhub/src/operation/batch_update_findings/builders.rs b/sdk/securityhub/src/operation/batch_update_findings/builders.rs index 3d189b5cda08..396c0dbcae06 100644 --- a/sdk/securityhub/src/operation/batch_update_findings/builders.rs +++ b/sdk/securityhub/src/operation/batch_update_findings/builders.rs @@ -33,9 +33,9 @@ impl BatchUpdateFindingsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -97,6 +97,22 @@ impl BatchUpdateFindingsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::batch_update_findings::BatchUpdateFindings, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::batch_update_findings::BatchUpdateFindingsError, + >, + > { + self.customize_middleware().await + } /// Appends an item to `FindingIdentifiers`. /// /// To override the contents of this collection use [`set_finding_identifiers`](Self::set_finding_identifiers). diff --git a/sdk/securityhub/src/operation/batch_update_standards_control_associations/builders.rs b/sdk/securityhub/src/operation/batch_update_standards_control_associations/builders.rs index d2d3c1db0e86..402afa9e5c3b 100644 --- a/sdk/securityhub/src/operation/batch_update_standards_control_associations/builders.rs +++ b/sdk/securityhub/src/operation/batch_update_standards_control_associations/builders.rs @@ -19,9 +19,9 @@ impl BatchUpdateStandardsControlAssociationsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize(self) -> ::std::result::Result< + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware(self) -> ::std::result::Result< crate::client::customize::CustomizableOperation, ::aws_smithy_http::result::SdkError >{ @@ -64,6 +64,15 @@ impl BatchUpdateStandardsControlAssociationsFluentBuilder { { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize(self) -> ::std::result::Result< + crate::client::customize::CustomizableOperation, + ::aws_smithy_http::result::SdkError + >{ + self.customize_middleware().await + } /// Appends an item to `StandardsControlAssociationUpdates`. /// /// To override the contents of this collection use [`set_standards_control_association_updates`](Self::set_standards_control_association_updates). diff --git a/sdk/securityhub/src/operation/create_action_target/builders.rs b/sdk/securityhub/src/operation/create_action_target/builders.rs index b98b7b35e014..ee5911448e92 100644 --- a/sdk/securityhub/src/operation/create_action_target/builders.rs +++ b/sdk/securityhub/src/operation/create_action_target/builders.rs @@ -20,9 +20,9 @@ impl CreateActionTargetFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -84,6 +84,22 @@ impl CreateActionTargetFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::create_action_target::CreateActionTarget, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::create_action_target::CreateActionTargetError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                The name of the custom action target. Can contain up to 20 characters.

                                                                                                                                                                                                                                                                                                                                                                                pub fn name(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.name(input.into()); diff --git a/sdk/securityhub/src/operation/create_finding_aggregator/builders.rs b/sdk/securityhub/src/operation/create_finding_aggregator/builders.rs index ed68698bcf5c..8079d7416b09 100644 --- a/sdk/securityhub/src/operation/create_finding_aggregator/builders.rs +++ b/sdk/securityhub/src/operation/create_finding_aggregator/builders.rs @@ -21,9 +21,9 @@ impl CreateFindingAggregatorFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -85,6 +85,22 @@ impl CreateFindingAggregatorFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::create_finding_aggregator::CreateFindingAggregator, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::create_finding_aggregator::CreateFindingAggregatorError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                Indicates whether to aggregate findings from all of the available Regions in the current partition. Also determines whether to automatically aggregate findings from new Regions as Security Hub supports them and you opt into them.

                                                                                                                                                                                                                                                                                                                                                                                ///

                                                                                                                                                                                                                                                                                                                                                                                The selected option also determines how to use the Regions provided in the Regions list.

                                                                                                                                                                                                                                                                                                                                                                                ///

                                                                                                                                                                                                                                                                                                                                                                                The options are as follows:

                                                                                                                                                                                                                                                                                                                                                                                diff --git a/sdk/securityhub/src/operation/create_insight/builders.rs b/sdk/securityhub/src/operation/create_insight/builders.rs index a1bae06579b7..5ae4846376f1 100644 --- a/sdk/securityhub/src/operation/create_insight/builders.rs +++ b/sdk/securityhub/src/operation/create_insight/builders.rs @@ -20,9 +20,9 @@ impl CreateInsightFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -78,6 +78,20 @@ impl CreateInsightFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::create_insight::CreateInsight, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                The name of the custom insight to create.

                                                                                                                                                                                                                                                                                                                                                                                pub fn name(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.name(input.into()); diff --git a/sdk/securityhub/src/operation/create_members/builders.rs b/sdk/securityhub/src/operation/create_members/builders.rs index 4e78f338ed1d..4493abbdb7a9 100644 --- a/sdk/securityhub/src/operation/create_members/builders.rs +++ b/sdk/securityhub/src/operation/create_members/builders.rs @@ -34,9 +34,9 @@ impl CreateMembersFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -92,6 +92,20 @@ impl CreateMembersFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::create_members::CreateMembers, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } /// Appends an item to `AccountDetails`. /// /// To override the contents of this collection use [`set_account_details`](Self::set_account_details). diff --git a/sdk/securityhub/src/operation/decline_invitations/builders.rs b/sdk/securityhub/src/operation/decline_invitations/builders.rs index 92cdeb160914..f940a2256118 100644 --- a/sdk/securityhub/src/operation/decline_invitations/builders.rs +++ b/sdk/securityhub/src/operation/decline_invitations/builders.rs @@ -21,9 +21,9 @@ impl DeclineInvitationsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -85,6 +85,22 @@ impl DeclineInvitationsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::decline_invitations::DeclineInvitations, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::decline_invitations::DeclineInvitationsError, + >, + > { + self.customize_middleware().await + } /// Appends an item to `AccountIds`. /// /// To override the contents of this collection use [`set_account_ids`](Self::set_account_ids). diff --git a/sdk/securityhub/src/operation/delete_action_target/builders.rs b/sdk/securityhub/src/operation/delete_action_target/builders.rs index efc9767583de..48890e8be6fe 100644 --- a/sdk/securityhub/src/operation/delete_action_target/builders.rs +++ b/sdk/securityhub/src/operation/delete_action_target/builders.rs @@ -20,9 +20,9 @@ impl DeleteActionTargetFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -84,6 +84,22 @@ impl DeleteActionTargetFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::delete_action_target::DeleteActionTarget, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::delete_action_target::DeleteActionTargetError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                The Amazon Resource Name (ARN) of the custom action target to delete.

                                                                                                                                                                                                                                                                                                                                                                                pub fn action_target_arn( mut self, diff --git a/sdk/securityhub/src/operation/delete_finding_aggregator/builders.rs b/sdk/securityhub/src/operation/delete_finding_aggregator/builders.rs index 22b38257703c..527e26aadfb9 100644 --- a/sdk/securityhub/src/operation/delete_finding_aggregator/builders.rs +++ b/sdk/securityhub/src/operation/delete_finding_aggregator/builders.rs @@ -21,9 +21,9 @@ impl DeleteFindingAggregatorFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -85,6 +85,22 @@ impl DeleteFindingAggregatorFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::delete_finding_aggregator::DeleteFindingAggregator, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::delete_finding_aggregator::DeleteFindingAggregatorError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                The ARN of the finding aggregator to delete. To obtain the ARN, use ListFindingAggregators.

                                                                                                                                                                                                                                                                                                                                                                                pub fn finding_aggregator_arn( mut self, diff --git a/sdk/securityhub/src/operation/delete_insight/builders.rs b/sdk/securityhub/src/operation/delete_insight/builders.rs index 1acb201a1522..2b5d941b0318 100644 --- a/sdk/securityhub/src/operation/delete_insight/builders.rs +++ b/sdk/securityhub/src/operation/delete_insight/builders.rs @@ -19,9 +19,9 @@ impl DeleteInsightFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl DeleteInsightFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::delete_insight::DeleteInsight, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                The ARN of the insight to delete.

                                                                                                                                                                                                                                                                                                                                                                                pub fn insight_arn(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.insight_arn(input.into()); diff --git a/sdk/securityhub/src/operation/delete_invitations/builders.rs b/sdk/securityhub/src/operation/delete_invitations/builders.rs index 59e60bb9a2a4..88870e6e68a7 100644 --- a/sdk/securityhub/src/operation/delete_invitations/builders.rs +++ b/sdk/securityhub/src/operation/delete_invitations/builders.rs @@ -21,9 +21,9 @@ impl DeleteInvitationsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -85,6 +85,22 @@ impl DeleteInvitationsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::delete_invitations::DeleteInvitations, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::delete_invitations::DeleteInvitationsError, + >, + > { + self.customize_middleware().await + } /// Appends an item to `AccountIds`. /// /// To override the contents of this collection use [`set_account_ids`](Self::set_account_ids). diff --git a/sdk/securityhub/src/operation/delete_members/builders.rs b/sdk/securityhub/src/operation/delete_members/builders.rs index 0300363b6155..3a749ac8ad5a 100644 --- a/sdk/securityhub/src/operation/delete_members/builders.rs +++ b/sdk/securityhub/src/operation/delete_members/builders.rs @@ -20,9 +20,9 @@ impl DeleteMembersFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -78,6 +78,20 @@ impl DeleteMembersFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::delete_members::DeleteMembers, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } /// Appends an item to `AccountIds`. /// /// To override the contents of this collection use [`set_account_ids`](Self::set_account_ids). diff --git a/sdk/securityhub/src/operation/describe_action_targets/builders.rs b/sdk/securityhub/src/operation/describe_action_targets/builders.rs index eaa70e88ca9b..7fcd92e4be81 100644 --- a/sdk/securityhub/src/operation/describe_action_targets/builders.rs +++ b/sdk/securityhub/src/operation/describe_action_targets/builders.rs @@ -19,9 +19,9 @@ impl DescribeActionTargetsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl DescribeActionTargetsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::describe_action_targets::DescribeActionTargets, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::describe_action_targets::DescribeActionTargetsError, + >, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::describe_action_targets::paginator::DescribeActionTargetsPaginator::send) which returns a `Stream`. diff --git a/sdk/securityhub/src/operation/describe_hub/builders.rs b/sdk/securityhub/src/operation/describe_hub/builders.rs index e25ef40d9de5..4a803b826a0a 100644 --- a/sdk/securityhub/src/operation/describe_hub/builders.rs +++ b/sdk/securityhub/src/operation/describe_hub/builders.rs @@ -19,9 +19,9 @@ impl DescribeHubFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl DescribeHubFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::describe_hub::DescribeHub, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                The ARN of the Hub resource to retrieve.

                                                                                                                                                                                                                                                                                                                                                                                pub fn hub_arn(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.hub_arn(input.into()); diff --git a/sdk/securityhub/src/operation/describe_organization_configuration/builders.rs b/sdk/securityhub/src/operation/describe_organization_configuration/builders.rs index 90cabf4fe239..fb6bb656c9f1 100644 --- a/sdk/securityhub/src/operation/describe_organization_configuration/builders.rs +++ b/sdk/securityhub/src/operation/describe_organization_configuration/builders.rs @@ -19,9 +19,9 @@ impl DescribeOrganizationConfigurationFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize(self) -> ::std::result::Result< + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware(self) -> ::std::result::Result< crate::client::customize::CustomizableOperation, ::aws_smithy_http::result::SdkError >{ @@ -64,4 +64,13 @@ impl DescribeOrganizationConfigurationFluentBuilder { { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize(self) -> ::std::result::Result< + crate::client::customize::CustomizableOperation, + ::aws_smithy_http::result::SdkError + >{ + self.customize_middleware().await + } } diff --git a/sdk/securityhub/src/operation/describe_products/builders.rs b/sdk/securityhub/src/operation/describe_products/builders.rs index 000c7ebba5a4..012364f0d122 100644 --- a/sdk/securityhub/src/operation/describe_products/builders.rs +++ b/sdk/securityhub/src/operation/describe_products/builders.rs @@ -21,9 +21,9 @@ impl DescribeProductsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -85,6 +85,22 @@ impl DescribeProductsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::describe_products::DescribeProducts, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::describe_products::DescribeProductsError, + >, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::describe_products::paginator::DescribeProductsPaginator::send) which returns a `Stream`. diff --git a/sdk/securityhub/src/operation/describe_standards/builders.rs b/sdk/securityhub/src/operation/describe_standards/builders.rs index 55dd58c6ef0e..02666df7a232 100644 --- a/sdk/securityhub/src/operation/describe_standards/builders.rs +++ b/sdk/securityhub/src/operation/describe_standards/builders.rs @@ -20,9 +20,9 @@ impl DescribeStandardsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -84,6 +84,22 @@ impl DescribeStandardsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::describe_standards::DescribeStandards, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::describe_standards::DescribeStandardsError, + >, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::describe_standards::paginator::DescribeStandardsPaginator::send) which returns a `Stream`. diff --git a/sdk/securityhub/src/operation/describe_standards_controls/builders.rs b/sdk/securityhub/src/operation/describe_standards_controls/builders.rs index bd56d9a2ec66..6ba1eef68a84 100644 --- a/sdk/securityhub/src/operation/describe_standards_controls/builders.rs +++ b/sdk/securityhub/src/operation/describe_standards_controls/builders.rs @@ -20,9 +20,9 @@ impl DescribeStandardsControlsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -84,6 +84,22 @@ impl DescribeStandardsControlsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::describe_standards_controls::DescribeStandardsControls, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::describe_standards_controls::DescribeStandardsControlsError, + >, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::describe_standards_controls::paginator::DescribeStandardsControlsPaginator::send) which returns a `Stream`. diff --git a/sdk/securityhub/src/operation/disable_import_findings_for_product/builders.rs b/sdk/securityhub/src/operation/disable_import_findings_for_product/builders.rs index 9c0638de66c6..6068652db8d1 100644 --- a/sdk/securityhub/src/operation/disable_import_findings_for_product/builders.rs +++ b/sdk/securityhub/src/operation/disable_import_findings_for_product/builders.rs @@ -19,9 +19,9 @@ impl DisableImportFindingsForProductFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize(self) -> ::std::result::Result< + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware(self) -> ::std::result::Result< crate::client::customize::CustomizableOperation, ::aws_smithy_http::result::SdkError >{ @@ -64,6 +64,15 @@ impl DisableImportFindingsForProductFluentBuilder { { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize(self) -> ::std::result::Result< + crate::client::customize::CustomizableOperation, + ::aws_smithy_http::result::SdkError + >{ + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                The ARN of the integrated product to disable the integration for.

                                                                                                                                                                                                                                                                                                                                                                                pub fn product_subscription_arn( mut self, diff --git a/sdk/securityhub/src/operation/disable_organization_admin_account/builders.rs b/sdk/securityhub/src/operation/disable_organization_admin_account/builders.rs index da64b31583cf..d69a62908bf5 100644 --- a/sdk/securityhub/src/operation/disable_organization_admin_account/builders.rs +++ b/sdk/securityhub/src/operation/disable_organization_admin_account/builders.rs @@ -19,9 +19,9 @@ impl DisableOrganizationAdminAccountFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize(self) -> ::std::result::Result< + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware(self) -> ::std::result::Result< crate::client::customize::CustomizableOperation, ::aws_smithy_http::result::SdkError >{ @@ -64,6 +64,15 @@ impl DisableOrganizationAdminAccountFluentBuilder { { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize(self) -> ::std::result::Result< + crate::client::customize::CustomizableOperation, + ::aws_smithy_http::result::SdkError + >{ + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                The Amazon Web Services account identifier of the Security Hub administrator account.

                                                                                                                                                                                                                                                                                                                                                                                pub fn admin_account_id( mut self, diff --git a/sdk/securityhub/src/operation/disable_security_hub/builders.rs b/sdk/securityhub/src/operation/disable_security_hub/builders.rs index f018c7db1b66..b68bb1b09462 100644 --- a/sdk/securityhub/src/operation/disable_security_hub/builders.rs +++ b/sdk/securityhub/src/operation/disable_security_hub/builders.rs @@ -22,9 +22,9 @@ impl DisableSecurityHubFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -86,4 +86,20 @@ impl DisableSecurityHubFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::disable_security_hub::DisableSecurityHub, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::disable_security_hub::DisableSecurityHubError, + >, + > { + self.customize_middleware().await + } } diff --git a/sdk/securityhub/src/operation/disassociate_from_administrator_account/builders.rs b/sdk/securityhub/src/operation/disassociate_from_administrator_account/builders.rs index 9150b25fd4d8..6bee46f2bc36 100644 --- a/sdk/securityhub/src/operation/disassociate_from_administrator_account/builders.rs +++ b/sdk/securityhub/src/operation/disassociate_from_administrator_account/builders.rs @@ -20,9 +20,9 @@ impl DisassociateFromAdministratorAccountFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize(self) -> ::std::result::Result< + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware(self) -> ::std::result::Result< crate::client::customize::CustomizableOperation, ::aws_smithy_http::result::SdkError >{ @@ -65,4 +65,13 @@ impl DisassociateFromAdministratorAccountFluentBuilder { { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize(self) -> ::std::result::Result< + crate::client::customize::CustomizableOperation, + ::aws_smithy_http::result::SdkError + >{ + self.customize_middleware().await + } } diff --git a/sdk/securityhub/src/operation/disassociate_from_master_account/builders.rs b/sdk/securityhub/src/operation/disassociate_from_master_account/builders.rs index 1c73101226e7..f88609a6766f 100644 --- a/sdk/securityhub/src/operation/disassociate_from_master_account/builders.rs +++ b/sdk/securityhub/src/operation/disassociate_from_master_account/builders.rs @@ -25,9 +25,9 @@ impl DisassociateFromMasterAccountFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -89,4 +89,20 @@ impl DisassociateFromMasterAccountFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::disassociate_from_master_account::DisassociateFromMasterAccount, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::disassociate_from_master_account::DisassociateFromMasterAccountError, + >, + > { + self.customize_middleware().await + } } diff --git a/sdk/securityhub/src/operation/disassociate_members/builders.rs b/sdk/securityhub/src/operation/disassociate_members/builders.rs index 1baef5406e98..4868c6754d76 100644 --- a/sdk/securityhub/src/operation/disassociate_members/builders.rs +++ b/sdk/securityhub/src/operation/disassociate_members/builders.rs @@ -20,9 +20,9 @@ impl DisassociateMembersFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -84,6 +84,22 @@ impl DisassociateMembersFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::disassociate_members::DisassociateMembers, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::disassociate_members::DisassociateMembersError, + >, + > { + self.customize_middleware().await + } /// Appends an item to `AccountIds`. /// /// To override the contents of this collection use [`set_account_ids`](Self::set_account_ids). diff --git a/sdk/securityhub/src/operation/enable_import_findings_for_product/builders.rs b/sdk/securityhub/src/operation/enable_import_findings_for_product/builders.rs index 95a6a319edfb..a97e4fdcf2fe 100644 --- a/sdk/securityhub/src/operation/enable_import_findings_for_product/builders.rs +++ b/sdk/securityhub/src/operation/enable_import_findings_for_product/builders.rs @@ -20,9 +20,9 @@ impl EnableImportFindingsForProductFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize(self) -> ::std::result::Result< + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware(self) -> ::std::result::Result< crate::client::customize::CustomizableOperation, ::aws_smithy_http::result::SdkError >{ @@ -65,6 +65,15 @@ impl EnableImportFindingsForProductFluentBuilder { { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize(self) -> ::std::result::Result< + crate::client::customize::CustomizableOperation, + ::aws_smithy_http::result::SdkError + >{ + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                The ARN of the product to enable the integration for.

                                                                                                                                                                                                                                                                                                                                                                                pub fn product_arn(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.product_arn(input.into()); diff --git a/sdk/securityhub/src/operation/enable_organization_admin_account/builders.rs b/sdk/securityhub/src/operation/enable_organization_admin_account/builders.rs index 86d2e08fca33..49358ec78b77 100644 --- a/sdk/securityhub/src/operation/enable_organization_admin_account/builders.rs +++ b/sdk/securityhub/src/operation/enable_organization_admin_account/builders.rs @@ -19,9 +19,9 @@ impl EnableOrganizationAdminAccountFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize(self) -> ::std::result::Result< + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware(self) -> ::std::result::Result< crate::client::customize::CustomizableOperation, ::aws_smithy_http::result::SdkError >{ @@ -64,6 +64,15 @@ impl EnableOrganizationAdminAccountFluentBuilder { { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize(self) -> ::std::result::Result< + crate::client::customize::CustomizableOperation, + ::aws_smithy_http::result::SdkError + >{ + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                The Amazon Web Services account identifier of the account to designate as the Security Hub administrator account.

                                                                                                                                                                                                                                                                                                                                                                                pub fn admin_account_id( mut self, diff --git a/sdk/securityhub/src/operation/enable_security_hub/builders.rs b/sdk/securityhub/src/operation/enable_security_hub/builders.rs index b6510756a3f8..94736b4bdbbf 100644 --- a/sdk/securityhub/src/operation/enable_security_hub/builders.rs +++ b/sdk/securityhub/src/operation/enable_security_hub/builders.rs @@ -29,9 +29,9 @@ impl EnableSecurityHubFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -93,6 +93,22 @@ impl EnableSecurityHubFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::enable_security_hub::EnableSecurityHub, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::enable_security_hub::EnableSecurityHubError, + >, + > { + self.customize_middleware().await + } /// Adds a key-value pair to `Tags`. /// /// To override the contents of this collection use [`set_tags`](Self::set_tags). diff --git a/sdk/securityhub/src/operation/get_administrator_account/builders.rs b/sdk/securityhub/src/operation/get_administrator_account/builders.rs index bd44f1c61ed7..8dc08155418c 100644 --- a/sdk/securityhub/src/operation/get_administrator_account/builders.rs +++ b/sdk/securityhub/src/operation/get_administrator_account/builders.rs @@ -21,9 +21,9 @@ impl GetAdministratorAccountFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -85,4 +85,20 @@ impl GetAdministratorAccountFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::get_administrator_account::GetAdministratorAccount, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::get_administrator_account::GetAdministratorAccountError, + >, + > { + self.customize_middleware().await + } } diff --git a/sdk/securityhub/src/operation/get_enabled_standards/builders.rs b/sdk/securityhub/src/operation/get_enabled_standards/builders.rs index f0762b9afbd8..dc17ecb6228c 100644 --- a/sdk/securityhub/src/operation/get_enabled_standards/builders.rs +++ b/sdk/securityhub/src/operation/get_enabled_standards/builders.rs @@ -19,9 +19,9 @@ impl GetEnabledStandardsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl GetEnabledStandardsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::get_enabled_standards::GetEnabledStandards, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::get_enabled_standards::GetEnabledStandardsError, + >, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::get_enabled_standards::paginator::GetEnabledStandardsPaginator::send) which returns a `Stream`. diff --git a/sdk/securityhub/src/operation/get_finding_aggregator/builders.rs b/sdk/securityhub/src/operation/get_finding_aggregator/builders.rs index 07dc8ac06daa..0d62a4cd3331 100644 --- a/sdk/securityhub/src/operation/get_finding_aggregator/builders.rs +++ b/sdk/securityhub/src/operation/get_finding_aggregator/builders.rs @@ -19,9 +19,9 @@ impl GetFindingAggregatorFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl GetFindingAggregatorFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::get_finding_aggregator::GetFindingAggregator, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::get_finding_aggregator::GetFindingAggregatorError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                The ARN of the finding aggregator to return details for. To obtain the ARN, use ListFindingAggregators.

                                                                                                                                                                                                                                                                                                                                                                                pub fn finding_aggregator_arn( mut self, diff --git a/sdk/securityhub/src/operation/get_finding_history/builders.rs b/sdk/securityhub/src/operation/get_finding_history/builders.rs index 7f68db868435..a2f110461b70 100644 --- a/sdk/securityhub/src/operation/get_finding_history/builders.rs +++ b/sdk/securityhub/src/operation/get_finding_history/builders.rs @@ -19,9 +19,9 @@ impl GetFindingHistoryFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl GetFindingHistoryFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::get_finding_history::GetFindingHistory, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::get_finding_history::GetFindingHistoryError, + >, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::get_finding_history::paginator::GetFindingHistoryPaginator::send) which returns a `Stream`. diff --git a/sdk/securityhub/src/operation/get_findings/builders.rs b/sdk/securityhub/src/operation/get_findings/builders.rs index 8ab142c68736..61124d023eb1 100644 --- a/sdk/securityhub/src/operation/get_findings/builders.rs +++ b/sdk/securityhub/src/operation/get_findings/builders.rs @@ -20,9 +20,9 @@ impl GetFindingsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -78,6 +78,20 @@ impl GetFindingsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::get_findings::GetFindings, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::get_findings::paginator::GetFindingsPaginator::send) which returns a `Stream`. diff --git a/sdk/securityhub/src/operation/get_insight_results/builders.rs b/sdk/securityhub/src/operation/get_insight_results/builders.rs index 851e063491b1..2b5235242aee 100644 --- a/sdk/securityhub/src/operation/get_insight_results/builders.rs +++ b/sdk/securityhub/src/operation/get_insight_results/builders.rs @@ -19,9 +19,9 @@ impl GetInsightResultsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl GetInsightResultsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::get_insight_results::GetInsightResults, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::get_insight_results::GetInsightResultsError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                The ARN of the insight for which to return results.

                                                                                                                                                                                                                                                                                                                                                                                pub fn insight_arn(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.insight_arn(input.into()); diff --git a/sdk/securityhub/src/operation/get_insights/builders.rs b/sdk/securityhub/src/operation/get_insights/builders.rs index 2176cde87c35..1a941ca89878 100644 --- a/sdk/securityhub/src/operation/get_insights/builders.rs +++ b/sdk/securityhub/src/operation/get_insights/builders.rs @@ -19,9 +19,9 @@ impl GetInsightsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl GetInsightsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::get_insights::GetInsights, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::get_insights::paginator::GetInsightsPaginator::send) which returns a `Stream`. diff --git a/sdk/securityhub/src/operation/get_invitations_count/builders.rs b/sdk/securityhub/src/operation/get_invitations_count/builders.rs index ecf00ce14cd5..02e4fbf8fd9a 100644 --- a/sdk/securityhub/src/operation/get_invitations_count/builders.rs +++ b/sdk/securityhub/src/operation/get_invitations_count/builders.rs @@ -19,9 +19,9 @@ impl GetInvitationsCountFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,4 +83,20 @@ impl GetInvitationsCountFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::get_invitations_count::GetInvitationsCount, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::get_invitations_count::GetInvitationsCountError, + >, + > { + self.customize_middleware().await + } } diff --git a/sdk/securityhub/src/operation/get_master_account/builders.rs b/sdk/securityhub/src/operation/get_master_account/builders.rs index e2a59c769a76..3c811a48cb05 100644 --- a/sdk/securityhub/src/operation/get_master_account/builders.rs +++ b/sdk/securityhub/src/operation/get_master_account/builders.rs @@ -23,9 +23,9 @@ impl GetMasterAccountFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -87,4 +87,20 @@ impl GetMasterAccountFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::get_master_account::GetMasterAccount, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::get_master_account::GetMasterAccountError, + >, + > { + self.customize_middleware().await + } } diff --git a/sdk/securityhub/src/operation/get_members/builders.rs b/sdk/securityhub/src/operation/get_members/builders.rs index 476ac60869b4..bbed43f3e4c3 100644 --- a/sdk/securityhub/src/operation/get_members/builders.rs +++ b/sdk/securityhub/src/operation/get_members/builders.rs @@ -21,9 +21,9 @@ impl GetMembersFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -79,6 +79,20 @@ impl GetMembersFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::get_members::GetMembers, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } /// Appends an item to `AccountIds`. /// /// To override the contents of this collection use [`set_account_ids`](Self::set_account_ids). diff --git a/sdk/securityhub/src/operation/invite_members/builders.rs b/sdk/securityhub/src/operation/invite_members/builders.rs index 8e7a9ac365a3..be78fe6bc541 100644 --- a/sdk/securityhub/src/operation/invite_members/builders.rs +++ b/sdk/securityhub/src/operation/invite_members/builders.rs @@ -22,9 +22,9 @@ impl InviteMembersFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -80,6 +80,20 @@ impl InviteMembersFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::invite_members::InviteMembers, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } /// Appends an item to `AccountIds`. /// /// To override the contents of this collection use [`set_account_ids`](Self::set_account_ids). diff --git a/sdk/securityhub/src/operation/list_enabled_products_for_import/builders.rs b/sdk/securityhub/src/operation/list_enabled_products_for_import/builders.rs index 396fde76bb9e..d5e81fb66842 100644 --- a/sdk/securityhub/src/operation/list_enabled_products_for_import/builders.rs +++ b/sdk/securityhub/src/operation/list_enabled_products_for_import/builders.rs @@ -19,9 +19,9 @@ impl ListEnabledProductsForImportFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl ListEnabledProductsForImportFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_enabled_products_for_import::ListEnabledProductsForImport, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::list_enabled_products_for_import::ListEnabledProductsForImportError, + >, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::list_enabled_products_for_import::paginator::ListEnabledProductsForImportPaginator::send) which returns a `Stream`. diff --git a/sdk/securityhub/src/operation/list_finding_aggregators/builders.rs b/sdk/securityhub/src/operation/list_finding_aggregators/builders.rs index 12a23ce84d73..cc2945826c8c 100644 --- a/sdk/securityhub/src/operation/list_finding_aggregators/builders.rs +++ b/sdk/securityhub/src/operation/list_finding_aggregators/builders.rs @@ -19,9 +19,9 @@ impl ListFindingAggregatorsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl ListFindingAggregatorsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_finding_aggregators::ListFindingAggregators, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::list_finding_aggregators::ListFindingAggregatorsError, + >, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::list_finding_aggregators::paginator::ListFindingAggregatorsPaginator::send) which returns a `Stream`. diff --git a/sdk/securityhub/src/operation/list_invitations/builders.rs b/sdk/securityhub/src/operation/list_invitations/builders.rs index 3de15732c88b..681ef662b76d 100644 --- a/sdk/securityhub/src/operation/list_invitations/builders.rs +++ b/sdk/securityhub/src/operation/list_invitations/builders.rs @@ -20,9 +20,9 @@ impl ListInvitationsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -84,6 +84,22 @@ impl ListInvitationsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_invitations::ListInvitations, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::list_invitations::ListInvitationsError, + >, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::list_invitations::paginator::ListInvitationsPaginator::send) which returns a `Stream`. diff --git a/sdk/securityhub/src/operation/list_members/builders.rs b/sdk/securityhub/src/operation/list_members/builders.rs index 70847f53af50..8c3bfe281156 100644 --- a/sdk/securityhub/src/operation/list_members/builders.rs +++ b/sdk/securityhub/src/operation/list_members/builders.rs @@ -20,9 +20,9 @@ impl ListMembersFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -78,6 +78,20 @@ impl ListMembersFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_members::ListMembers, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::list_members::paginator::ListMembersPaginator::send) which returns a `Stream`. diff --git a/sdk/securityhub/src/operation/list_organization_admin_accounts/builders.rs b/sdk/securityhub/src/operation/list_organization_admin_accounts/builders.rs index b1f4ec1e2e53..64a0a0cb0012 100644 --- a/sdk/securityhub/src/operation/list_organization_admin_accounts/builders.rs +++ b/sdk/securityhub/src/operation/list_organization_admin_accounts/builders.rs @@ -19,9 +19,9 @@ impl ListOrganizationAdminAccountsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl ListOrganizationAdminAccountsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_organization_admin_accounts::ListOrganizationAdminAccounts, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::list_organization_admin_accounts::ListOrganizationAdminAccountsError, + >, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::list_organization_admin_accounts::paginator::ListOrganizationAdminAccountsPaginator::send) which returns a `Stream`. diff --git a/sdk/securityhub/src/operation/list_security_control_definitions/builders.rs b/sdk/securityhub/src/operation/list_security_control_definitions/builders.rs index a86d31433974..a019bc42b231 100644 --- a/sdk/securityhub/src/operation/list_security_control_definitions/builders.rs +++ b/sdk/securityhub/src/operation/list_security_control_definitions/builders.rs @@ -19,9 +19,9 @@ impl ListSecurityControlDefinitionsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize(self) -> ::std::result::Result< + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware(self) -> ::std::result::Result< crate::client::customize::CustomizableOperation, ::aws_smithy_http::result::SdkError >{ @@ -64,6 +64,15 @@ impl ListSecurityControlDefinitionsFluentBuilder { { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize(self) -> ::std::result::Result< + crate::client::customize::CustomizableOperation, + ::aws_smithy_http::result::SdkError + >{ + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::list_security_control_definitions::paginator::ListSecurityControlDefinitionsPaginator::send) which returns a `Stream`. diff --git a/sdk/securityhub/src/operation/list_standards_control_associations/builders.rs b/sdk/securityhub/src/operation/list_standards_control_associations/builders.rs index 190526960949..2c84b59e47e3 100644 --- a/sdk/securityhub/src/operation/list_standards_control_associations/builders.rs +++ b/sdk/securityhub/src/operation/list_standards_control_associations/builders.rs @@ -19,9 +19,9 @@ impl ListStandardsControlAssociationsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize(self) -> ::std::result::Result< + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware(self) -> ::std::result::Result< crate::client::customize::CustomizableOperation, ::aws_smithy_http::result::SdkError >{ @@ -64,6 +64,15 @@ impl ListStandardsControlAssociationsFluentBuilder { { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize(self) -> ::std::result::Result< + crate::client::customize::CustomizableOperation, + ::aws_smithy_http::result::SdkError + >{ + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::list_standards_control_associations::paginator::ListStandardsControlAssociationsPaginator::send) which returns a `Stream`. diff --git a/sdk/securityhub/src/operation/list_tags_for_resource/builders.rs b/sdk/securityhub/src/operation/list_tags_for_resource/builders.rs index a24514eec068..05fe01b55915 100644 --- a/sdk/securityhub/src/operation/list_tags_for_resource/builders.rs +++ b/sdk/securityhub/src/operation/list_tags_for_resource/builders.rs @@ -19,9 +19,9 @@ impl ListTagsForResourceFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl ListTagsForResourceFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_tags_for_resource::ListTagsForResource, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::list_tags_for_resource::ListTagsForResourceError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                The ARN of the resource to retrieve tags for.

                                                                                                                                                                                                                                                                                                                                                                                pub fn resource_arn(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.resource_arn(input.into()); diff --git a/sdk/securityhub/src/operation/tag_resource/builders.rs b/sdk/securityhub/src/operation/tag_resource/builders.rs index 7918d85eefa1..10374e666987 100644 --- a/sdk/securityhub/src/operation/tag_resource/builders.rs +++ b/sdk/securityhub/src/operation/tag_resource/builders.rs @@ -19,9 +19,9 @@ impl TagResourceFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl TagResourceFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::tag_resource::TagResource, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                The ARN of the resource to apply the tags to.

                                                                                                                                                                                                                                                                                                                                                                                pub fn resource_arn(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.resource_arn(input.into()); diff --git a/sdk/securityhub/src/operation/untag_resource/builders.rs b/sdk/securityhub/src/operation/untag_resource/builders.rs index 43e22d2df0fd..fc5605ce966f 100644 --- a/sdk/securityhub/src/operation/untag_resource/builders.rs +++ b/sdk/securityhub/src/operation/untag_resource/builders.rs @@ -19,9 +19,9 @@ impl UntagResourceFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl UntagResourceFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::untag_resource::UntagResource, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                The ARN of the resource to remove the tags from.

                                                                                                                                                                                                                                                                                                                                                                                pub fn resource_arn(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.resource_arn(input.into()); diff --git a/sdk/securityhub/src/operation/update_action_target/builders.rs b/sdk/securityhub/src/operation/update_action_target/builders.rs index c264c1c3fd09..fb9430835f7c 100644 --- a/sdk/securityhub/src/operation/update_action_target/builders.rs +++ b/sdk/securityhub/src/operation/update_action_target/builders.rs @@ -19,9 +19,9 @@ impl UpdateActionTargetFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl UpdateActionTargetFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::update_action_target::UpdateActionTarget, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::update_action_target::UpdateActionTargetError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                The ARN of the custom action target to update.

                                                                                                                                                                                                                                                                                                                                                                                pub fn action_target_arn( mut self, diff --git a/sdk/securityhub/src/operation/update_finding_aggregator/builders.rs b/sdk/securityhub/src/operation/update_finding_aggregator/builders.rs index f30921280039..221fb847b098 100644 --- a/sdk/securityhub/src/operation/update_finding_aggregator/builders.rs +++ b/sdk/securityhub/src/operation/update_finding_aggregator/builders.rs @@ -21,9 +21,9 @@ impl UpdateFindingAggregatorFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -85,6 +85,22 @@ impl UpdateFindingAggregatorFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::update_finding_aggregator::UpdateFindingAggregator, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::update_finding_aggregator::UpdateFindingAggregatorError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                The ARN of the finding aggregator. To obtain the ARN, use ListFindingAggregators.

                                                                                                                                                                                                                                                                                                                                                                                pub fn finding_aggregator_arn( mut self, diff --git a/sdk/securityhub/src/operation/update_findings/builders.rs b/sdk/securityhub/src/operation/update_findings/builders.rs index c4f7ff799db9..0a8a88388cd5 100644 --- a/sdk/securityhub/src/operation/update_findings/builders.rs +++ b/sdk/securityhub/src/operation/update_findings/builders.rs @@ -20,9 +20,9 @@ impl UpdateFindingsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -78,6 +78,20 @@ impl UpdateFindingsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::update_findings::UpdateFindings, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                A collection of attributes that specify which findings you want to update.

                                                                                                                                                                                                                                                                                                                                                                                pub fn filters(mut self, input: crate::types::AwsSecurityFindingFilters) -> Self { self.inner = self.inner.filters(input); diff --git a/sdk/securityhub/src/operation/update_insight/builders.rs b/sdk/securityhub/src/operation/update_insight/builders.rs index c78fcfafb4b8..98e56882fcfa 100644 --- a/sdk/securityhub/src/operation/update_insight/builders.rs +++ b/sdk/securityhub/src/operation/update_insight/builders.rs @@ -19,9 +19,9 @@ impl UpdateInsightFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl UpdateInsightFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::update_insight::UpdateInsight, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                The ARN of the insight that you want to update.

                                                                                                                                                                                                                                                                                                                                                                                pub fn insight_arn(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.insight_arn(input.into()); diff --git a/sdk/securityhub/src/operation/update_organization_configuration/builders.rs b/sdk/securityhub/src/operation/update_organization_configuration/builders.rs index 461eaaea4247..0e332cf31448 100644 --- a/sdk/securityhub/src/operation/update_organization_configuration/builders.rs +++ b/sdk/securityhub/src/operation/update_organization_configuration/builders.rs @@ -19,9 +19,9 @@ impl UpdateOrganizationConfigurationFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize(self) -> ::std::result::Result< + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware(self) -> ::std::result::Result< crate::client::customize::CustomizableOperation, ::aws_smithy_http::result::SdkError >{ @@ -64,6 +64,15 @@ impl UpdateOrganizationConfigurationFluentBuilder { { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize(self) -> ::std::result::Result< + crate::client::customize::CustomizableOperation, + ::aws_smithy_http::result::SdkError + >{ + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                Whether to automatically enable Security Hub for new accounts in the organization.

                                                                                                                                                                                                                                                                                                                                                                                ///

                                                                                                                                                                                                                                                                                                                                                                                By default, this is false, and new accounts are not added automatically.

                                                                                                                                                                                                                                                                                                                                                                                ///

                                                                                                                                                                                                                                                                                                                                                                                To automatically enable Security Hub for new accounts, set this to true.

                                                                                                                                                                                                                                                                                                                                                                                diff --git a/sdk/securityhub/src/operation/update_security_hub_configuration/builders.rs b/sdk/securityhub/src/operation/update_security_hub_configuration/builders.rs index ec4ad4640bbd..838fdece37ee 100644 --- a/sdk/securityhub/src/operation/update_security_hub_configuration/builders.rs +++ b/sdk/securityhub/src/operation/update_security_hub_configuration/builders.rs @@ -19,9 +19,9 @@ impl UpdateSecurityHubConfigurationFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize(self) -> ::std::result::Result< + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware(self) -> ::std::result::Result< crate::client::customize::CustomizableOperation, ::aws_smithy_http::result::SdkError >{ @@ -64,6 +64,15 @@ impl UpdateSecurityHubConfigurationFluentBuilder { { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize(self) -> ::std::result::Result< + crate::client::customize::CustomizableOperation, + ::aws_smithy_http::result::SdkError + >{ + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                Whether to automatically enable new controls when they are added to standards that are enabled.

                                                                                                                                                                                                                                                                                                                                                                                ///

                                                                                                                                                                                                                                                                                                                                                                                By default, this is set to true, and new controls are enabled automatically. To not automatically enable new controls, set this to false.

                                                                                                                                                                                                                                                                                                                                                                                pub fn auto_enable_controls(mut self, input: bool) -> Self { diff --git a/sdk/securityhub/src/operation/update_standards_control/builders.rs b/sdk/securityhub/src/operation/update_standards_control/builders.rs index 356dc1d0b391..c6771df62079 100644 --- a/sdk/securityhub/src/operation/update_standards_control/builders.rs +++ b/sdk/securityhub/src/operation/update_standards_control/builders.rs @@ -19,9 +19,9 @@ impl UpdateStandardsControlFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl UpdateStandardsControlFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::update_standards_control::UpdateStandardsControl, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::update_standards_control::UpdateStandardsControlError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                The ARN of the security standard control to enable or disable.

                                                                                                                                                                                                                                                                                                                                                                                pub fn standards_control_arn( mut self, diff --git a/sdk/securitylake/src/operation/create_aws_log_source/builders.rs b/sdk/securitylake/src/operation/create_aws_log_source/builders.rs index bf0c306f2d0d..52b280792d0f 100644 --- a/sdk/securitylake/src/operation/create_aws_log_source/builders.rs +++ b/sdk/securitylake/src/operation/create_aws_log_source/builders.rs @@ -21,9 +21,9 @@ impl CreateAwsLogSourceFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -85,6 +85,22 @@ impl CreateAwsLogSourceFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::create_aws_log_source::CreateAwsLogSource, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::create_aws_log_source::CreateAwsLogSourceError, + >, + > { + self.customize_middleware().await + } /// Appends an item to `inputOrder`. /// /// To override the contents of this collection use [`set_input_order`](Self::set_input_order). diff --git a/sdk/securitylake/src/operation/create_custom_log_source/builders.rs b/sdk/securitylake/src/operation/create_custom_log_source/builders.rs index ff0dcc35aae9..2a41d7cbe4dc 100644 --- a/sdk/securitylake/src/operation/create_custom_log_source/builders.rs +++ b/sdk/securitylake/src/operation/create_custom_log_source/builders.rs @@ -19,9 +19,9 @@ impl CreateCustomLogSourceFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl CreateCustomLogSourceFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::create_custom_log_source::CreateCustomLogSource, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::create_custom_log_source::CreateCustomLogSourceError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                The name for a third-party custom source. This must be a Regionally unique value.

                                                                                                                                                                                                                                                                                                                                                                                pub fn custom_source_name( mut self, diff --git a/sdk/securitylake/src/operation/create_datalake/builders.rs b/sdk/securitylake/src/operation/create_datalake/builders.rs index e587c3c1eae9..ac27cbb762fa 100644 --- a/sdk/securitylake/src/operation/create_datalake/builders.rs +++ b/sdk/securitylake/src/operation/create_datalake/builders.rs @@ -20,9 +20,9 @@ impl CreateDatalakeFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -78,6 +78,20 @@ impl CreateDatalakeFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::create_datalake::CreateDatalake, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } /// Appends an item to `regions`. /// /// To override the contents of this collection use [`set_regions`](Self::set_regions). diff --git a/sdk/securitylake/src/operation/create_datalake_auto_enable/builders.rs b/sdk/securitylake/src/operation/create_datalake_auto_enable/builders.rs index c974cbb6c46e..2665650b76fa 100644 --- a/sdk/securitylake/src/operation/create_datalake_auto_enable/builders.rs +++ b/sdk/securitylake/src/operation/create_datalake_auto_enable/builders.rs @@ -19,9 +19,9 @@ impl CreateDatalakeAutoEnableFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl CreateDatalakeAutoEnableFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::create_datalake_auto_enable::CreateDatalakeAutoEnable, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::create_datalake_auto_enable::CreateDatalakeAutoEnableError, + >, + > { + self.customize_middleware().await + } /// Appends an item to `configurationForNewAccounts`. /// /// To override the contents of this collection use [`set_configuration_for_new_accounts`](Self::set_configuration_for_new_accounts). diff --git a/sdk/securitylake/src/operation/create_datalake_delegated_admin/builders.rs b/sdk/securitylake/src/operation/create_datalake_delegated_admin/builders.rs index 0e36a3404461..9f14f8a31cf4 100644 --- a/sdk/securitylake/src/operation/create_datalake_delegated_admin/builders.rs +++ b/sdk/securitylake/src/operation/create_datalake_delegated_admin/builders.rs @@ -19,9 +19,9 @@ impl CreateDatalakeDelegatedAdminFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl CreateDatalakeDelegatedAdminFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::create_datalake_delegated_admin::CreateDatalakeDelegatedAdmin, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::create_datalake_delegated_admin::CreateDatalakeDelegatedAdminError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                The Amazon Web Services account ID of the Security Lake delegated administrator.

                                                                                                                                                                                                                                                                                                                                                                                pub fn account(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.account(input.into()); diff --git a/sdk/securitylake/src/operation/create_datalake_exceptions_subscription/builders.rs b/sdk/securitylake/src/operation/create_datalake_exceptions_subscription/builders.rs index 1bad16764356..7d64aa233878 100644 --- a/sdk/securitylake/src/operation/create_datalake_exceptions_subscription/builders.rs +++ b/sdk/securitylake/src/operation/create_datalake_exceptions_subscription/builders.rs @@ -19,9 +19,9 @@ impl CreateDatalakeExceptionsSubscriptionFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize(self) -> ::std::result::Result< + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware(self) -> ::std::result::Result< crate::client::customize::CustomizableOperation, ::aws_smithy_http::result::SdkError >{ @@ -64,6 +64,15 @@ impl CreateDatalakeExceptionsSubscriptionFluentBuilder { { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize(self) -> ::std::result::Result< + crate::client::customize::CustomizableOperation, + ::aws_smithy_http::result::SdkError + >{ + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                The subscription protocol to which exception notifications are posted.

                                                                                                                                                                                                                                                                                                                                                                                pub fn subscription_protocol(mut self, input: crate::types::SubscriptionProtocolType) -> Self { self.inner = self.inner.subscription_protocol(input); diff --git a/sdk/securitylake/src/operation/create_subscriber/builders.rs b/sdk/securitylake/src/operation/create_subscriber/builders.rs index 929e4b931f02..8e11dc7115e9 100644 --- a/sdk/securitylake/src/operation/create_subscriber/builders.rs +++ b/sdk/securitylake/src/operation/create_subscriber/builders.rs @@ -19,9 +19,9 @@ impl CreateSubscriberFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl CreateSubscriberFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::create_subscriber::CreateSubscriber, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::create_subscriber::CreateSubscriberError, + >, + > { + self.customize_middleware().await + } /// Appends an item to `sourceTypes`. /// /// To override the contents of this collection use [`set_source_types`](Self::set_source_types). diff --git a/sdk/securitylake/src/operation/create_subscription_notification_configuration/builders.rs b/sdk/securitylake/src/operation/create_subscription_notification_configuration/builders.rs index 2c0cff841d04..08c055fba8d6 100644 --- a/sdk/securitylake/src/operation/create_subscription_notification_configuration/builders.rs +++ b/sdk/securitylake/src/operation/create_subscription_notification_configuration/builders.rs @@ -19,9 +19,9 @@ impl CreateSubscriptionNotificationConfigurationFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize(self) -> ::std::result::Result< + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware(self) -> ::std::result::Result< crate::client::customize::CustomizableOperation, ::aws_smithy_http::result::SdkError >{ @@ -64,6 +64,15 @@ impl CreateSubscriptionNotificationConfigurationFluentBuilder { { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize(self) -> ::std::result::Result< + crate::client::customize::CustomizableOperation, + ::aws_smithy_http::result::SdkError + >{ + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                The subscription ID for the notification subscription.

                                                                                                                                                                                                                                                                                                                                                                                pub fn subscription_id( mut self, diff --git a/sdk/securitylake/src/operation/delete_aws_log_source/builders.rs b/sdk/securitylake/src/operation/delete_aws_log_source/builders.rs index a58eaa6dcb4d..33a7ec2552ff 100644 --- a/sdk/securitylake/src/operation/delete_aws_log_source/builders.rs +++ b/sdk/securitylake/src/operation/delete_aws_log_source/builders.rs @@ -22,9 +22,9 @@ impl DeleteAwsLogSourceFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -86,6 +86,22 @@ impl DeleteAwsLogSourceFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::delete_aws_log_source::DeleteAwsLogSource, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::delete_aws_log_source::DeleteAwsLogSourceError, + >, + > { + self.customize_middleware().await + } /// Appends an item to `inputOrder`. /// /// To override the contents of this collection use [`set_input_order`](Self::set_input_order). diff --git a/sdk/securitylake/src/operation/delete_custom_log_source/builders.rs b/sdk/securitylake/src/operation/delete_custom_log_source/builders.rs index 4a17b32b59a1..b19f65663b94 100644 --- a/sdk/securitylake/src/operation/delete_custom_log_source/builders.rs +++ b/sdk/securitylake/src/operation/delete_custom_log_source/builders.rs @@ -19,9 +19,9 @@ impl DeleteCustomLogSourceFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl DeleteCustomLogSourceFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::delete_custom_log_source::DeleteCustomLogSource, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::delete_custom_log_source::DeleteCustomLogSourceError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                The custom source name for the custom log source.

                                                                                                                                                                                                                                                                                                                                                                                pub fn custom_source_name( mut self, diff --git a/sdk/securitylake/src/operation/delete_datalake/builders.rs b/sdk/securitylake/src/operation/delete_datalake/builders.rs index 8cb9af59ca0b..b0289a79965d 100644 --- a/sdk/securitylake/src/operation/delete_datalake/builders.rs +++ b/sdk/securitylake/src/operation/delete_datalake/builders.rs @@ -20,9 +20,9 @@ impl DeleteDatalakeFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -78,4 +78,18 @@ impl DeleteDatalakeFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::delete_datalake::DeleteDatalake, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } } diff --git a/sdk/securitylake/src/operation/delete_datalake_auto_enable/builders.rs b/sdk/securitylake/src/operation/delete_datalake_auto_enable/builders.rs index b33e5b6fbf57..5bae18c70e78 100644 --- a/sdk/securitylake/src/operation/delete_datalake_auto_enable/builders.rs +++ b/sdk/securitylake/src/operation/delete_datalake_auto_enable/builders.rs @@ -19,9 +19,9 @@ impl DeleteDatalakeAutoEnableFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl DeleteDatalakeAutoEnableFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::delete_datalake_auto_enable::DeleteDatalakeAutoEnable, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::delete_datalake_auto_enable::DeleteDatalakeAutoEnableError, + >, + > { + self.customize_middleware().await + } /// Appends an item to `removeFromConfigurationForNewAccounts`. /// /// To override the contents of this collection use [`set_remove_from_configuration_for_new_accounts`](Self::set_remove_from_configuration_for_new_accounts). diff --git a/sdk/securitylake/src/operation/delete_datalake_delegated_admin/builders.rs b/sdk/securitylake/src/operation/delete_datalake_delegated_admin/builders.rs index f7d4adab05a3..59033c71d001 100644 --- a/sdk/securitylake/src/operation/delete_datalake_delegated_admin/builders.rs +++ b/sdk/securitylake/src/operation/delete_datalake_delegated_admin/builders.rs @@ -19,9 +19,9 @@ impl DeleteDatalakeDelegatedAdminFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl DeleteDatalakeDelegatedAdminFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::delete_datalake_delegated_admin::DeleteDatalakeDelegatedAdmin, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::delete_datalake_delegated_admin::DeleteDatalakeDelegatedAdminError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                The account ID the Security Lake delegated administrator.

                                                                                                                                                                                                                                                                                                                                                                                pub fn account(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.account(input.into()); diff --git a/sdk/securitylake/src/operation/delete_datalake_exceptions_subscription/builders.rs b/sdk/securitylake/src/operation/delete_datalake_exceptions_subscription/builders.rs index 82ad3b82e4dd..eee8ae10d14e 100644 --- a/sdk/securitylake/src/operation/delete_datalake_exceptions_subscription/builders.rs +++ b/sdk/securitylake/src/operation/delete_datalake_exceptions_subscription/builders.rs @@ -19,9 +19,9 @@ impl DeleteDatalakeExceptionsSubscriptionFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize(self) -> ::std::result::Result< + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware(self) -> ::std::result::Result< crate::client::customize::CustomizableOperation, ::aws_smithy_http::result::SdkError >{ @@ -64,4 +64,13 @@ impl DeleteDatalakeExceptionsSubscriptionFluentBuilder { { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize(self) -> ::std::result::Result< + crate::client::customize::CustomizableOperation, + ::aws_smithy_http::result::SdkError + >{ + self.customize_middleware().await + } } diff --git a/sdk/securitylake/src/operation/delete_subscriber/builders.rs b/sdk/securitylake/src/operation/delete_subscriber/builders.rs index 881207b665a3..db2964e084f2 100644 --- a/sdk/securitylake/src/operation/delete_subscriber/builders.rs +++ b/sdk/securitylake/src/operation/delete_subscriber/builders.rs @@ -19,9 +19,9 @@ impl DeleteSubscriberFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl DeleteSubscriberFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::delete_subscriber::DeleteSubscriber, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::delete_subscriber::DeleteSubscriberError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                A value created by Security Lake that uniquely identifies your DeleteSubscriber API request.

                                                                                                                                                                                                                                                                                                                                                                                pub fn id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.id(input.into()); diff --git a/sdk/securitylake/src/operation/delete_subscription_notification_configuration/builders.rs b/sdk/securitylake/src/operation/delete_subscription_notification_configuration/builders.rs index 85ded43e1397..03c72930c878 100644 --- a/sdk/securitylake/src/operation/delete_subscription_notification_configuration/builders.rs +++ b/sdk/securitylake/src/operation/delete_subscription_notification_configuration/builders.rs @@ -19,9 +19,9 @@ impl DeleteSubscriptionNotificationConfigurationFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize(self) -> ::std::result::Result< + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware(self) -> ::std::result::Result< crate::client::customize::CustomizableOperation, ::aws_smithy_http::result::SdkError >{ @@ -64,6 +64,15 @@ impl DeleteSubscriptionNotificationConfigurationFluentBuilder { { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize(self) -> ::std::result::Result< + crate::client::customize::CustomizableOperation, + ::aws_smithy_http::result::SdkError + >{ + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                The ID of the Security Lake subscriber account.

                                                                                                                                                                                                                                                                                                                                                                                pub fn subscription_id( mut self, diff --git a/sdk/securitylake/src/operation/get_datalake/builders.rs b/sdk/securitylake/src/operation/get_datalake/builders.rs index 6517ee06e410..1aaec00382f8 100644 --- a/sdk/securitylake/src/operation/get_datalake/builders.rs +++ b/sdk/securitylake/src/operation/get_datalake/builders.rs @@ -19,9 +19,9 @@ impl GetDatalakeFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,4 +77,18 @@ impl GetDatalakeFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::get_datalake::GetDatalake, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } } diff --git a/sdk/securitylake/src/operation/get_datalake_auto_enable/builders.rs b/sdk/securitylake/src/operation/get_datalake_auto_enable/builders.rs index 1b7cbedb1da9..49fe38d6dfa4 100644 --- a/sdk/securitylake/src/operation/get_datalake_auto_enable/builders.rs +++ b/sdk/securitylake/src/operation/get_datalake_auto_enable/builders.rs @@ -19,9 +19,9 @@ impl GetDatalakeAutoEnableFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,4 +83,20 @@ impl GetDatalakeAutoEnableFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::get_datalake_auto_enable::GetDatalakeAutoEnable, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::get_datalake_auto_enable::GetDatalakeAutoEnableError, + >, + > { + self.customize_middleware().await + } } diff --git a/sdk/securitylake/src/operation/get_datalake_exceptions_expiry/builders.rs b/sdk/securitylake/src/operation/get_datalake_exceptions_expiry/builders.rs index a93424647c13..243ec18450b8 100644 --- a/sdk/securitylake/src/operation/get_datalake_exceptions_expiry/builders.rs +++ b/sdk/securitylake/src/operation/get_datalake_exceptions_expiry/builders.rs @@ -19,9 +19,9 @@ impl GetDatalakeExceptionsExpiryFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,4 +83,20 @@ impl GetDatalakeExceptionsExpiryFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::get_datalake_exceptions_expiry::GetDatalakeExceptionsExpiry, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::get_datalake_exceptions_expiry::GetDatalakeExceptionsExpiryError, + >, + > { + self.customize_middleware().await + } } diff --git a/sdk/securitylake/src/operation/get_datalake_exceptions_subscription/builders.rs b/sdk/securitylake/src/operation/get_datalake_exceptions_subscription/builders.rs index 356a4dc71389..5f69876e35aa 100644 --- a/sdk/securitylake/src/operation/get_datalake_exceptions_subscription/builders.rs +++ b/sdk/securitylake/src/operation/get_datalake_exceptions_subscription/builders.rs @@ -19,9 +19,9 @@ impl GetDatalakeExceptionsSubscriptionFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize(self) -> ::std::result::Result< + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware(self) -> ::std::result::Result< crate::client::customize::CustomizableOperation, ::aws_smithy_http::result::SdkError >{ @@ -64,4 +64,13 @@ impl GetDatalakeExceptionsSubscriptionFluentBuilder { { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize(self) -> ::std::result::Result< + crate::client::customize::CustomizableOperation, + ::aws_smithy_http::result::SdkError + >{ + self.customize_middleware().await + } } diff --git a/sdk/securitylake/src/operation/get_datalake_status/builders.rs b/sdk/securitylake/src/operation/get_datalake_status/builders.rs index 148a75586d5a..0932580959dd 100644 --- a/sdk/securitylake/src/operation/get_datalake_status/builders.rs +++ b/sdk/securitylake/src/operation/get_datalake_status/builders.rs @@ -19,9 +19,9 @@ impl GetDatalakeStatusFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl GetDatalakeStatusFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::get_datalake_status::GetDatalakeStatus, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::get_datalake_status::GetDatalakeStatusError, + >, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::get_datalake_status::paginator::GetDatalakeStatusPaginator::send) which returns a `Stream`. diff --git a/sdk/securitylake/src/operation/get_subscriber/builders.rs b/sdk/securitylake/src/operation/get_subscriber/builders.rs index d2cae35ac73f..f15a6851339b 100644 --- a/sdk/securitylake/src/operation/get_subscriber/builders.rs +++ b/sdk/securitylake/src/operation/get_subscriber/builders.rs @@ -19,9 +19,9 @@ impl GetSubscriberFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl GetSubscriberFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::get_subscriber::GetSubscriber, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                A value created by Amazon Security Lake that uniquely identifies your GetSubscriber API request.

                                                                                                                                                                                                                                                                                                                                                                                pub fn id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.id(input.into()); diff --git a/sdk/securitylake/src/operation/list_datalake_exceptions/builders.rs b/sdk/securitylake/src/operation/list_datalake_exceptions/builders.rs index af385872251c..e6bdfbeeac8c 100644 --- a/sdk/securitylake/src/operation/list_datalake_exceptions/builders.rs +++ b/sdk/securitylake/src/operation/list_datalake_exceptions/builders.rs @@ -19,9 +19,9 @@ impl ListDatalakeExceptionsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl ListDatalakeExceptionsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_datalake_exceptions::ListDatalakeExceptions, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::list_datalake_exceptions::ListDatalakeExceptionsError, + >, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::list_datalake_exceptions::paginator::ListDatalakeExceptionsPaginator::send) which returns a `Stream`. diff --git a/sdk/securitylake/src/operation/list_log_sources/builders.rs b/sdk/securitylake/src/operation/list_log_sources/builders.rs index 4aa832cf5105..b2b50538d204 100644 --- a/sdk/securitylake/src/operation/list_log_sources/builders.rs +++ b/sdk/securitylake/src/operation/list_log_sources/builders.rs @@ -19,9 +19,9 @@ impl ListLogSourcesFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl ListLogSourcesFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_log_sources::ListLogSources, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::list_log_sources::ListLogSourcesError, + >, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::list_log_sources::paginator::ListLogSourcesPaginator::send) which returns a `Stream`. diff --git a/sdk/securitylake/src/operation/list_subscribers/builders.rs b/sdk/securitylake/src/operation/list_subscribers/builders.rs index 1d3a2aa4e983..849170d9ee35 100644 --- a/sdk/securitylake/src/operation/list_subscribers/builders.rs +++ b/sdk/securitylake/src/operation/list_subscribers/builders.rs @@ -19,9 +19,9 @@ impl ListSubscribersFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl ListSubscribersFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_subscribers::ListSubscribers, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::list_subscribers::ListSubscribersError, + >, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::list_subscribers::paginator::ListSubscribersPaginator::send) which returns a `Stream`. diff --git a/sdk/securitylake/src/operation/update_datalake/builders.rs b/sdk/securitylake/src/operation/update_datalake/builders.rs index 18dd521c9d42..1ef2297a7d6d 100644 --- a/sdk/securitylake/src/operation/update_datalake/builders.rs +++ b/sdk/securitylake/src/operation/update_datalake/builders.rs @@ -19,9 +19,9 @@ impl UpdateDatalakeFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl UpdateDatalakeFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::update_datalake::UpdateDatalake, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } /// Adds a key-value pair to `configurations`. /// /// To override the contents of this collection use [`set_configurations`](Self::set_configurations). diff --git a/sdk/securitylake/src/operation/update_datalake_exceptions_expiry/builders.rs b/sdk/securitylake/src/operation/update_datalake_exceptions_expiry/builders.rs index e037d50242b5..fbc8a254833a 100644 --- a/sdk/securitylake/src/operation/update_datalake_exceptions_expiry/builders.rs +++ b/sdk/securitylake/src/operation/update_datalake_exceptions_expiry/builders.rs @@ -19,9 +19,9 @@ impl UpdateDatalakeExceptionsExpiryFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize(self) -> ::std::result::Result< + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware(self) -> ::std::result::Result< crate::client::customize::CustomizableOperation, ::aws_smithy_http::result::SdkError >{ @@ -64,6 +64,15 @@ impl UpdateDatalakeExceptionsExpiryFluentBuilder { { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize(self) -> ::std::result::Result< + crate::client::customize::CustomizableOperation, + ::aws_smithy_http::result::SdkError + >{ + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                The time-to-live (TTL) for the exception message to remain.

                                                                                                                                                                                                                                                                                                                                                                                pub fn exception_message_expiry(mut self, input: i64) -> Self { self.inner = self.inner.exception_message_expiry(input); diff --git a/sdk/securitylake/src/operation/update_datalake_exceptions_subscription/builders.rs b/sdk/securitylake/src/operation/update_datalake_exceptions_subscription/builders.rs index 2247b47d3299..29ccd08a761c 100644 --- a/sdk/securitylake/src/operation/update_datalake_exceptions_subscription/builders.rs +++ b/sdk/securitylake/src/operation/update_datalake_exceptions_subscription/builders.rs @@ -19,9 +19,9 @@ impl UpdateDatalakeExceptionsSubscriptionFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize(self) -> ::std::result::Result< + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware(self) -> ::std::result::Result< crate::client::customize::CustomizableOperation, ::aws_smithy_http::result::SdkError >{ @@ -64,6 +64,15 @@ impl UpdateDatalakeExceptionsSubscriptionFluentBuilder { { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize(self) -> ::std::result::Result< + crate::client::customize::CustomizableOperation, + ::aws_smithy_http::result::SdkError + >{ + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                The subscription protocol to which exception messages are posted.

                                                                                                                                                                                                                                                                                                                                                                                pub fn subscription_protocol(mut self, input: crate::types::SubscriptionProtocolType) -> Self { self.inner = self.inner.subscription_protocol(input); diff --git a/sdk/securitylake/src/operation/update_subscriber/builders.rs b/sdk/securitylake/src/operation/update_subscriber/builders.rs index 767c14a44e7e..4a71a77b68be 100644 --- a/sdk/securitylake/src/operation/update_subscriber/builders.rs +++ b/sdk/securitylake/src/operation/update_subscriber/builders.rs @@ -19,9 +19,9 @@ impl UpdateSubscriberFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl UpdateSubscriberFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::update_subscriber::UpdateSubscriber, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::update_subscriber::UpdateSubscriberError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                A value created by Security Lake that uniquely identifies your subscription.

                                                                                                                                                                                                                                                                                                                                                                                pub fn id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.id(input.into()); diff --git a/sdk/securitylake/src/operation/update_subscription_notification_configuration/builders.rs b/sdk/securitylake/src/operation/update_subscription_notification_configuration/builders.rs index a0c671ad3ce5..5f1bb8f327f2 100644 --- a/sdk/securitylake/src/operation/update_subscription_notification_configuration/builders.rs +++ b/sdk/securitylake/src/operation/update_subscription_notification_configuration/builders.rs @@ -19,9 +19,9 @@ impl UpdateSubscriptionNotificationConfigurationFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize(self) -> ::std::result::Result< + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware(self) -> ::std::result::Result< crate::client::customize::CustomizableOperation, ::aws_smithy_http::result::SdkError >{ @@ -64,6 +64,15 @@ impl UpdateSubscriptionNotificationConfigurationFluentBuilder { { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize(self) -> ::std::result::Result< + crate::client::customize::CustomizableOperation, + ::aws_smithy_http::result::SdkError + >{ + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                The subscription ID for which the subscription notification is specified.

                                                                                                                                                                                                                                                                                                                                                                                pub fn subscription_id( mut self, diff --git a/sdk/serverlessapplicationrepository/src/operation/create_application/builders.rs b/sdk/serverlessapplicationrepository/src/operation/create_application/builders.rs index eaeef9aa5289..74fca8592f14 100644 --- a/sdk/serverlessapplicationrepository/src/operation/create_application/builders.rs +++ b/sdk/serverlessapplicationrepository/src/operation/create_application/builders.rs @@ -19,9 +19,9 @@ impl CreateApplicationFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl CreateApplicationFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::create_application::CreateApplication, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::create_application::CreateApplicationError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                The name of the author publishing the app.

                                                                                                                                                                                                                                                                                                                                                                                ///

                                                                                                                                                                                                                                                                                                                                                                                Minimum length=1. Maximum length=127.

                                                                                                                                                                                                                                                                                                                                                                                ///

                                                                                                                                                                                                                                                                                                                                                                                Pattern "^[a-z0-9](([a-z0-9]|-(?!-))*[a-z0-9])?$";

                                                                                                                                                                                                                                                                                                                                                                                diff --git a/sdk/serverlessapplicationrepository/src/operation/create_application_version/builders.rs b/sdk/serverlessapplicationrepository/src/operation/create_application_version/builders.rs index 0f897c6d2b20..cae7aeb68ca5 100644 --- a/sdk/serverlessapplicationrepository/src/operation/create_application_version/builders.rs +++ b/sdk/serverlessapplicationrepository/src/operation/create_application_version/builders.rs @@ -19,9 +19,9 @@ impl CreateApplicationVersionFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl CreateApplicationVersionFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::create_application_version::CreateApplicationVersion, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::create_application_version::CreateApplicationVersionError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                The Amazon Resource Name (ARN) of the application.

                                                                                                                                                                                                                                                                                                                                                                                pub fn application_id( mut self, diff --git a/sdk/serverlessapplicationrepository/src/operation/create_cloud_formation_change_set/builders.rs b/sdk/serverlessapplicationrepository/src/operation/create_cloud_formation_change_set/builders.rs index a85e19f39c95..1a1a08416360 100644 --- a/sdk/serverlessapplicationrepository/src/operation/create_cloud_formation_change_set/builders.rs +++ b/sdk/serverlessapplicationrepository/src/operation/create_cloud_formation_change_set/builders.rs @@ -19,9 +19,9 @@ impl CreateCloudFormationChangeSetFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl CreateCloudFormationChangeSetFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::create_cloud_formation_change_set::CreateCloudFormationChangeSet, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::create_cloud_formation_change_set::CreateCloudFormationChangeSetError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                The Amazon Resource Name (ARN) of the application.

                                                                                                                                                                                                                                                                                                                                                                                pub fn application_id( mut self, diff --git a/sdk/serverlessapplicationrepository/src/operation/create_cloud_formation_template/builders.rs b/sdk/serverlessapplicationrepository/src/operation/create_cloud_formation_template/builders.rs index 9f21b4786007..a1830818a508 100644 --- a/sdk/serverlessapplicationrepository/src/operation/create_cloud_formation_template/builders.rs +++ b/sdk/serverlessapplicationrepository/src/operation/create_cloud_formation_template/builders.rs @@ -19,9 +19,9 @@ impl CreateCloudFormationTemplateFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl CreateCloudFormationTemplateFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::create_cloud_formation_template::CreateCloudFormationTemplate, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::create_cloud_formation_template::CreateCloudFormationTemplateError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                The Amazon Resource Name (ARN) of the application.

                                                                                                                                                                                                                                                                                                                                                                                pub fn application_id( mut self, diff --git a/sdk/serverlessapplicationrepository/src/operation/delete_application/builders.rs b/sdk/serverlessapplicationrepository/src/operation/delete_application/builders.rs index 9ebf5abdaf77..3e5a3dca6686 100644 --- a/sdk/serverlessapplicationrepository/src/operation/delete_application/builders.rs +++ b/sdk/serverlessapplicationrepository/src/operation/delete_application/builders.rs @@ -19,9 +19,9 @@ impl DeleteApplicationFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl DeleteApplicationFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::delete_application::DeleteApplication, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::delete_application::DeleteApplicationError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                The Amazon Resource Name (ARN) of the application.

                                                                                                                                                                                                                                                                                                                                                                                pub fn application_id( mut self, diff --git a/sdk/serverlessapplicationrepository/src/operation/get_application/builders.rs b/sdk/serverlessapplicationrepository/src/operation/get_application/builders.rs index 7c26fa956c88..09095753da8f 100644 --- a/sdk/serverlessapplicationrepository/src/operation/get_application/builders.rs +++ b/sdk/serverlessapplicationrepository/src/operation/get_application/builders.rs @@ -19,9 +19,9 @@ impl GetApplicationFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl GetApplicationFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::get_application::GetApplication, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                The Amazon Resource Name (ARN) of the application.

                                                                                                                                                                                                                                                                                                                                                                                pub fn application_id( mut self, diff --git a/sdk/serverlessapplicationrepository/src/operation/get_application_policy/builders.rs b/sdk/serverlessapplicationrepository/src/operation/get_application_policy/builders.rs index 116d7267fd79..30195aff56a9 100644 --- a/sdk/serverlessapplicationrepository/src/operation/get_application_policy/builders.rs +++ b/sdk/serverlessapplicationrepository/src/operation/get_application_policy/builders.rs @@ -19,9 +19,9 @@ impl GetApplicationPolicyFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl GetApplicationPolicyFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::get_application_policy::GetApplicationPolicy, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::get_application_policy::GetApplicationPolicyError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                The Amazon Resource Name (ARN) of the application.

                                                                                                                                                                                                                                                                                                                                                                                pub fn application_id( mut self, diff --git a/sdk/serverlessapplicationrepository/src/operation/get_cloud_formation_template/builders.rs b/sdk/serverlessapplicationrepository/src/operation/get_cloud_formation_template/builders.rs index 22d881d3df57..c810d5a82698 100644 --- a/sdk/serverlessapplicationrepository/src/operation/get_cloud_formation_template/builders.rs +++ b/sdk/serverlessapplicationrepository/src/operation/get_cloud_formation_template/builders.rs @@ -19,9 +19,9 @@ impl GetCloudFormationTemplateFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl GetCloudFormationTemplateFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::get_cloud_formation_template::GetCloudFormationTemplate, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::get_cloud_formation_template::GetCloudFormationTemplateError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                The Amazon Resource Name (ARN) of the application.

                                                                                                                                                                                                                                                                                                                                                                                pub fn application_id( mut self, diff --git a/sdk/serverlessapplicationrepository/src/operation/list_application_dependencies/builders.rs b/sdk/serverlessapplicationrepository/src/operation/list_application_dependencies/builders.rs index 3d9277854046..25d3c1e8a24a 100644 --- a/sdk/serverlessapplicationrepository/src/operation/list_application_dependencies/builders.rs +++ b/sdk/serverlessapplicationrepository/src/operation/list_application_dependencies/builders.rs @@ -19,9 +19,9 @@ impl ListApplicationDependenciesFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl ListApplicationDependenciesFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_application_dependencies::ListApplicationDependencies, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::list_application_dependencies::ListApplicationDependenciesError, + >, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::list_application_dependencies::paginator::ListApplicationDependenciesPaginator::send) which returns a `Stream`. diff --git a/sdk/serverlessapplicationrepository/src/operation/list_application_versions/builders.rs b/sdk/serverlessapplicationrepository/src/operation/list_application_versions/builders.rs index fdb3503068ac..97856dbedccc 100644 --- a/sdk/serverlessapplicationrepository/src/operation/list_application_versions/builders.rs +++ b/sdk/serverlessapplicationrepository/src/operation/list_application_versions/builders.rs @@ -20,9 +20,9 @@ impl ListApplicationVersionsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -84,6 +84,22 @@ impl ListApplicationVersionsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_application_versions::ListApplicationVersions, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::list_application_versions::ListApplicationVersionsError, + >, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::list_application_versions::paginator::ListApplicationVersionsPaginator::send) which returns a `Stream`. diff --git a/sdk/serverlessapplicationrepository/src/operation/list_applications/builders.rs b/sdk/serverlessapplicationrepository/src/operation/list_applications/builders.rs index fefa7d41c75d..627b425211d7 100644 --- a/sdk/serverlessapplicationrepository/src/operation/list_applications/builders.rs +++ b/sdk/serverlessapplicationrepository/src/operation/list_applications/builders.rs @@ -19,9 +19,9 @@ impl ListApplicationsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl ListApplicationsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_applications::ListApplications, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::list_applications::ListApplicationsError, + >, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::list_applications::paginator::ListApplicationsPaginator::send) which returns a `Stream`. diff --git a/sdk/serverlessapplicationrepository/src/operation/put_application_policy/builders.rs b/sdk/serverlessapplicationrepository/src/operation/put_application_policy/builders.rs index 921a85aae854..8070c392433c 100644 --- a/sdk/serverlessapplicationrepository/src/operation/put_application_policy/builders.rs +++ b/sdk/serverlessapplicationrepository/src/operation/put_application_policy/builders.rs @@ -19,9 +19,9 @@ impl PutApplicationPolicyFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl PutApplicationPolicyFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::put_application_policy::PutApplicationPolicy, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::put_application_policy::PutApplicationPolicyError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                The Amazon Resource Name (ARN) of the application.

                                                                                                                                                                                                                                                                                                                                                                                pub fn application_id( mut self, diff --git a/sdk/serverlessapplicationrepository/src/operation/unshare_application/builders.rs b/sdk/serverlessapplicationrepository/src/operation/unshare_application/builders.rs index 79120d446aa9..459a8cdc5e64 100644 --- a/sdk/serverlessapplicationrepository/src/operation/unshare_application/builders.rs +++ b/sdk/serverlessapplicationrepository/src/operation/unshare_application/builders.rs @@ -20,9 +20,9 @@ impl UnshareApplicationFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -84,6 +84,22 @@ impl UnshareApplicationFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::unshare_application::UnshareApplication, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::unshare_application::UnshareApplicationError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                The Amazon Resource Name (ARN) of the application.

                                                                                                                                                                                                                                                                                                                                                                                pub fn application_id( mut self, diff --git a/sdk/serverlessapplicationrepository/src/operation/update_application/builders.rs b/sdk/serverlessapplicationrepository/src/operation/update_application/builders.rs index 9cb3390a1a6c..d2ca7d1a3f28 100644 --- a/sdk/serverlessapplicationrepository/src/operation/update_application/builders.rs +++ b/sdk/serverlessapplicationrepository/src/operation/update_application/builders.rs @@ -19,9 +19,9 @@ impl UpdateApplicationFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl UpdateApplicationFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::update_application::UpdateApplication, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::update_application::UpdateApplicationError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                The Amazon Resource Name (ARN) of the application.

                                                                                                                                                                                                                                                                                                                                                                                pub fn application_id( mut self, diff --git a/sdk/servicecatalog/src/operation/accept_portfolio_share/builders.rs b/sdk/servicecatalog/src/operation/accept_portfolio_share/builders.rs index c91ac9619f0b..420f6ca36d40 100644 --- a/sdk/servicecatalog/src/operation/accept_portfolio_share/builders.rs +++ b/sdk/servicecatalog/src/operation/accept_portfolio_share/builders.rs @@ -19,9 +19,9 @@ impl AcceptPortfolioShareFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl AcceptPortfolioShareFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::accept_portfolio_share::AcceptPortfolioShare, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::accept_portfolio_share::AcceptPortfolioShareError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                The language code.

                                                                                                                                                                                                                                                                                                                                                                                ///
                                                                                                                                                                                                                                                                                                                                                                                  ///
                                                                                                                                                                                                                                                                                                                                                                                • jp - Japanese

                                                                                                                                                                                                                                                                                                                                                                                • diff --git a/sdk/servicecatalog/src/operation/associate_budget_with_resource/builders.rs b/sdk/servicecatalog/src/operation/associate_budget_with_resource/builders.rs index f6b5a501e00e..fdb8c492a0ba 100644 --- a/sdk/servicecatalog/src/operation/associate_budget_with_resource/builders.rs +++ b/sdk/servicecatalog/src/operation/associate_budget_with_resource/builders.rs @@ -19,9 +19,9 @@ impl AssociateBudgetWithResourceFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl AssociateBudgetWithResourceFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::associate_budget_with_resource::AssociateBudgetWithResource, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::associate_budget_with_resource::AssociateBudgetWithResourceError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                  The name of the budget you want to associate.

                                                                                                                                                                                                                                                                                                                                                                                  pub fn budget_name(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.budget_name(input.into()); diff --git a/sdk/servicecatalog/src/operation/associate_principal_with_portfolio/builders.rs b/sdk/servicecatalog/src/operation/associate_principal_with_portfolio/builders.rs index fd05aeed1f26..cb033a8def94 100644 --- a/sdk/servicecatalog/src/operation/associate_principal_with_portfolio/builders.rs +++ b/sdk/servicecatalog/src/operation/associate_principal_with_portfolio/builders.rs @@ -24,9 +24,9 @@ impl AssociatePrincipalWithPortfolioFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize(self) -> ::std::result::Result< + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware(self) -> ::std::result::Result< crate::client::customize::CustomizableOperation, ::aws_smithy_http::result::SdkError >{ @@ -69,6 +69,15 @@ impl AssociatePrincipalWithPortfolioFluentBuilder { { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize(self) -> ::std::result::Result< + crate::client::customize::CustomizableOperation, + ::aws_smithy_http::result::SdkError + >{ + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                  The language code.

                                                                                                                                                                                                                                                                                                                                                                                  ///
                                                                                                                                                                                                                                                                                                                                                                                    ///
                                                                                                                                                                                                                                                                                                                                                                                  • jp - Japanese

                                                                                                                                                                                                                                                                                                                                                                                  • diff --git a/sdk/servicecatalog/src/operation/associate_product_with_portfolio/builders.rs b/sdk/servicecatalog/src/operation/associate_product_with_portfolio/builders.rs index b6f8e4712cad..272d090b6238 100644 --- a/sdk/servicecatalog/src/operation/associate_product_with_portfolio/builders.rs +++ b/sdk/servicecatalog/src/operation/associate_product_with_portfolio/builders.rs @@ -20,9 +20,9 @@ impl AssociateProductWithPortfolioFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -84,6 +84,22 @@ impl AssociateProductWithPortfolioFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::associate_product_with_portfolio::AssociateProductWithPortfolio, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::associate_product_with_portfolio::AssociateProductWithPortfolioError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                    The language code.

                                                                                                                                                                                                                                                                                                                                                                                    ///
                                                                                                                                                                                                                                                                                                                                                                                      ///
                                                                                                                                                                                                                                                                                                                                                                                    • jp - Japanese

                                                                                                                                                                                                                                                                                                                                                                                    • diff --git a/sdk/servicecatalog/src/operation/associate_service_action_with_provisioning_artifact/builders.rs b/sdk/servicecatalog/src/operation/associate_service_action_with_provisioning_artifact/builders.rs index 902afc183836..a114baebe1a9 100644 --- a/sdk/servicecatalog/src/operation/associate_service_action_with_provisioning_artifact/builders.rs +++ b/sdk/servicecatalog/src/operation/associate_service_action_with_provisioning_artifact/builders.rs @@ -19,9 +19,9 @@ impl AssociateServiceActionWithProvisioningArtifactFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize(self) -> ::std::result::Result< + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware(self) -> ::std::result::Result< crate::client::customize::CustomizableOperation, ::aws_smithy_http::result::SdkError >{ @@ -64,6 +64,15 @@ impl AssociateServiceActionWithProvisioningArtifactFluentBuilder { { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize(self) -> ::std::result::Result< + crate::client::customize::CustomizableOperation, + ::aws_smithy_http::result::SdkError + >{ + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                      The product identifier. For example, prod-abcdzk7xy33qa.

                                                                                                                                                                                                                                                                                                                                                                                      pub fn product_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.product_id(input.into()); diff --git a/sdk/servicecatalog/src/operation/associate_tag_option_with_resource/builders.rs b/sdk/servicecatalog/src/operation/associate_tag_option_with_resource/builders.rs index cd6c76e24171..465edeef84e1 100644 --- a/sdk/servicecatalog/src/operation/associate_tag_option_with_resource/builders.rs +++ b/sdk/servicecatalog/src/operation/associate_tag_option_with_resource/builders.rs @@ -19,9 +19,9 @@ impl AssociateTagOptionWithResourceFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize(self) -> ::std::result::Result< + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware(self) -> ::std::result::Result< crate::client::customize::CustomizableOperation, ::aws_smithy_http::result::SdkError >{ @@ -64,6 +64,15 @@ impl AssociateTagOptionWithResourceFluentBuilder { { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize(self) -> ::std::result::Result< + crate::client::customize::CustomizableOperation, + ::aws_smithy_http::result::SdkError + >{ + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                      The resource identifier.

                                                                                                                                                                                                                                                                                                                                                                                      pub fn resource_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.resource_id(input.into()); diff --git a/sdk/servicecatalog/src/operation/batch_associate_service_action_with_provisioning_artifact/builders.rs b/sdk/servicecatalog/src/operation/batch_associate_service_action_with_provisioning_artifact/builders.rs index 31a8b8c25dc2..9b3d853d117c 100644 --- a/sdk/servicecatalog/src/operation/batch_associate_service_action_with_provisioning_artifact/builders.rs +++ b/sdk/servicecatalog/src/operation/batch_associate_service_action_with_provisioning_artifact/builders.rs @@ -19,9 +19,9 @@ impl BatchAssociateServiceActionWithProvisioningArtifactFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize(self) -> ::std::result::Result< + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware(self) -> ::std::result::Result< crate::client::customize::CustomizableOperation, ::aws_smithy_http::result::SdkError >{ @@ -64,6 +64,15 @@ impl BatchAssociateServiceActionWithProvisioningArtifactFluentBuilder { { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize(self) -> ::std::result::Result< + crate::client::customize::CustomizableOperation, + ::aws_smithy_http::result::SdkError + >{ + self.customize_middleware().await + } /// Appends an item to `ServiceActionAssociations`. /// /// To override the contents of this collection use [`set_service_action_associations`](Self::set_service_action_associations). diff --git a/sdk/servicecatalog/src/operation/batch_disassociate_service_action_from_provisioning_artifact/builders.rs b/sdk/servicecatalog/src/operation/batch_disassociate_service_action_from_provisioning_artifact/builders.rs index 15f02a6b661b..fd1da8919906 100644 --- a/sdk/servicecatalog/src/operation/batch_disassociate_service_action_from_provisioning_artifact/builders.rs +++ b/sdk/servicecatalog/src/operation/batch_disassociate_service_action_from_provisioning_artifact/builders.rs @@ -19,9 +19,9 @@ impl BatchDisassociateServiceActionFromProvisioningArtifactFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize(self) -> ::std::result::Result< + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware(self) -> ::std::result::Result< crate::client::customize::CustomizableOperation, ::aws_smithy_http::result::SdkError >{ @@ -64,6 +64,15 @@ impl BatchDisassociateServiceActionFromProvisioningArtifactFluentBuilder { { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize(self) -> ::std::result::Result< + crate::client::customize::CustomizableOperation, + ::aws_smithy_http::result::SdkError + >{ + self.customize_middleware().await + } /// Appends an item to `ServiceActionAssociations`. /// /// To override the contents of this collection use [`set_service_action_associations`](Self::set_service_action_associations). diff --git a/sdk/servicecatalog/src/operation/copy_product/builders.rs b/sdk/servicecatalog/src/operation/copy_product/builders.rs index e5be7cbe9d4e..ba9bd3a75d85 100644 --- a/sdk/servicecatalog/src/operation/copy_product/builders.rs +++ b/sdk/servicecatalog/src/operation/copy_product/builders.rs @@ -21,9 +21,9 @@ impl CopyProductFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -79,6 +79,20 @@ impl CopyProductFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::copy_product::CopyProduct, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                      The language code.

                                                                                                                                                                                                                                                                                                                                                                                      ///
                                                                                                                                                                                                                                                                                                                                                                                        ///
                                                                                                                                                                                                                                                                                                                                                                                      • jp - Japanese

                                                                                                                                                                                                                                                                                                                                                                                      • diff --git a/sdk/servicecatalog/src/operation/create_constraint/builders.rs b/sdk/servicecatalog/src/operation/create_constraint/builders.rs index fc78e1479cf2..af3e86e1e16a 100644 --- a/sdk/servicecatalog/src/operation/create_constraint/builders.rs +++ b/sdk/servicecatalog/src/operation/create_constraint/builders.rs @@ -20,9 +20,9 @@ impl CreateConstraintFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -84,6 +84,22 @@ impl CreateConstraintFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::create_constraint::CreateConstraint, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::create_constraint::CreateConstraintError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                        The language code.

                                                                                                                                                                                                                                                                                                                                                                                        ///
                                                                                                                                                                                                                                                                                                                                                                                          ///
                                                                                                                                                                                                                                                                                                                                                                                        • jp - Japanese

                                                                                                                                                                                                                                                                                                                                                                                        • diff --git a/sdk/servicecatalog/src/operation/create_portfolio/builders.rs b/sdk/servicecatalog/src/operation/create_portfolio/builders.rs index fe326861bacc..959e71f8c2a6 100644 --- a/sdk/servicecatalog/src/operation/create_portfolio/builders.rs +++ b/sdk/servicecatalog/src/operation/create_portfolio/builders.rs @@ -20,9 +20,9 @@ impl CreatePortfolioFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -84,6 +84,22 @@ impl CreatePortfolioFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::create_portfolio::CreatePortfolio, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::create_portfolio::CreatePortfolioError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                          The language code.

                                                                                                                                                                                                                                                                                                                                                                                          ///
                                                                                                                                                                                                                                                                                                                                                                                            ///
                                                                                                                                                                                                                                                                                                                                                                                          • jp - Japanese

                                                                                                                                                                                                                                                                                                                                                                                          • diff --git a/sdk/servicecatalog/src/operation/create_portfolio_share/builders.rs b/sdk/servicecatalog/src/operation/create_portfolio_share/builders.rs index 486076315ee4..53d9f48eb4c9 100644 --- a/sdk/servicecatalog/src/operation/create_portfolio_share/builders.rs +++ b/sdk/servicecatalog/src/operation/create_portfolio_share/builders.rs @@ -25,9 +25,9 @@ impl CreatePortfolioShareFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -89,6 +89,22 @@ impl CreatePortfolioShareFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::create_portfolio_share::CreatePortfolioShare, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::create_portfolio_share::CreatePortfolioShareError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                            The language code.

                                                                                                                                                                                                                                                                                                                                                                                            ///
                                                                                                                                                                                                                                                                                                                                                                                              ///
                                                                                                                                                                                                                                                                                                                                                                                            • jp - Japanese

                                                                                                                                                                                                                                                                                                                                                                                            • diff --git a/sdk/servicecatalog/src/operation/create_product/builders.rs b/sdk/servicecatalog/src/operation/create_product/builders.rs index 201c2c0decbe..349183823a19 100644 --- a/sdk/servicecatalog/src/operation/create_product/builders.rs +++ b/sdk/servicecatalog/src/operation/create_product/builders.rs @@ -21,9 +21,9 @@ impl CreateProductFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -79,6 +79,20 @@ impl CreateProductFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::create_product::CreateProduct, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                              The language code.

                                                                                                                                                                                                                                                                                                                                                                                              ///
                                                                                                                                                                                                                                                                                                                                                                                                ///
                                                                                                                                                                                                                                                                                                                                                                                              • jp - Japanese

                                                                                                                                                                                                                                                                                                                                                                                              • diff --git a/sdk/servicecatalog/src/operation/create_provisioned_product_plan/builders.rs b/sdk/servicecatalog/src/operation/create_provisioned_product_plan/builders.rs index ad3e5a4c7f08..21387cffc0da 100644 --- a/sdk/servicecatalog/src/operation/create_provisioned_product_plan/builders.rs +++ b/sdk/servicecatalog/src/operation/create_provisioned_product_plan/builders.rs @@ -22,9 +22,9 @@ impl CreateProvisionedProductPlanFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -86,6 +86,22 @@ impl CreateProvisionedProductPlanFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::create_provisioned_product_plan::CreateProvisionedProductPlan, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::create_provisioned_product_plan::CreateProvisionedProductPlanError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                                The language code.

                                                                                                                                                                                                                                                                                                                                                                                                ///
                                                                                                                                                                                                                                                                                                                                                                                                  ///
                                                                                                                                                                                                                                                                                                                                                                                                • jp - Japanese

                                                                                                                                                                                                                                                                                                                                                                                                • diff --git a/sdk/servicecatalog/src/operation/create_provisioning_artifact/builders.rs b/sdk/servicecatalog/src/operation/create_provisioning_artifact/builders.rs index 94f5b26cd34a..16c65818203c 100644 --- a/sdk/servicecatalog/src/operation/create_provisioning_artifact/builders.rs +++ b/sdk/servicecatalog/src/operation/create_provisioning_artifact/builders.rs @@ -21,9 +21,9 @@ impl CreateProvisioningArtifactFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -85,6 +85,22 @@ impl CreateProvisioningArtifactFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::create_provisioning_artifact::CreateProvisioningArtifact, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::create_provisioning_artifact::CreateProvisioningArtifactError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                                  The language code.

                                                                                                                                                                                                                                                                                                                                                                                                  ///
                                                                                                                                                                                                                                                                                                                                                                                                    ///
                                                                                                                                                                                                                                                                                                                                                                                                  • jp - Japanese

                                                                                                                                                                                                                                                                                                                                                                                                  • diff --git a/sdk/servicecatalog/src/operation/create_service_action/builders.rs b/sdk/servicecatalog/src/operation/create_service_action/builders.rs index d6d38c476428..5bbf0e7c635d 100644 --- a/sdk/servicecatalog/src/operation/create_service_action/builders.rs +++ b/sdk/servicecatalog/src/operation/create_service_action/builders.rs @@ -19,9 +19,9 @@ impl CreateServiceActionFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl CreateServiceActionFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::create_service_action::CreateServiceAction, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::create_service_action::CreateServiceActionError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                                    The self-service action name.

                                                                                                                                                                                                                                                                                                                                                                                                    pub fn name(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.name(input.into()); diff --git a/sdk/servicecatalog/src/operation/create_tag_option/builders.rs b/sdk/servicecatalog/src/operation/create_tag_option/builders.rs index c2d04e782191..ee88b71fa5cb 100644 --- a/sdk/servicecatalog/src/operation/create_tag_option/builders.rs +++ b/sdk/servicecatalog/src/operation/create_tag_option/builders.rs @@ -19,9 +19,9 @@ impl CreateTagOptionFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl CreateTagOptionFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::create_tag_option::CreateTagOption, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::create_tag_option::CreateTagOptionError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                                    The TagOption key.

                                                                                                                                                                                                                                                                                                                                                                                                    pub fn key(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.key(input.into()); diff --git a/sdk/servicecatalog/src/operation/delete_constraint/builders.rs b/sdk/servicecatalog/src/operation/delete_constraint/builders.rs index a0239616f701..c2373fe433ac 100644 --- a/sdk/servicecatalog/src/operation/delete_constraint/builders.rs +++ b/sdk/servicecatalog/src/operation/delete_constraint/builders.rs @@ -20,9 +20,9 @@ impl DeleteConstraintFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -84,6 +84,22 @@ impl DeleteConstraintFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::delete_constraint::DeleteConstraint, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::delete_constraint::DeleteConstraintError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                                    The language code.

                                                                                                                                                                                                                                                                                                                                                                                                    ///
                                                                                                                                                                                                                                                                                                                                                                                                      ///
                                                                                                                                                                                                                                                                                                                                                                                                    • jp - Japanese

                                                                                                                                                                                                                                                                                                                                                                                                    • diff --git a/sdk/servicecatalog/src/operation/delete_portfolio/builders.rs b/sdk/servicecatalog/src/operation/delete_portfolio/builders.rs index 711a3d95b035..357ed165f4bc 100644 --- a/sdk/servicecatalog/src/operation/delete_portfolio/builders.rs +++ b/sdk/servicecatalog/src/operation/delete_portfolio/builders.rs @@ -21,9 +21,9 @@ impl DeletePortfolioFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -85,6 +85,22 @@ impl DeletePortfolioFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::delete_portfolio::DeletePortfolio, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::delete_portfolio::DeletePortfolioError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                                      The language code.

                                                                                                                                                                                                                                                                                                                                                                                                      ///
                                                                                                                                                                                                                                                                                                                                                                                                        ///
                                                                                                                                                                                                                                                                                                                                                                                                      • jp - Japanese

                                                                                                                                                                                                                                                                                                                                                                                                      • diff --git a/sdk/servicecatalog/src/operation/delete_portfolio_share/builders.rs b/sdk/servicecatalog/src/operation/delete_portfolio_share/builders.rs index 08e9fd259215..0e7d780a857b 100644 --- a/sdk/servicecatalog/src/operation/delete_portfolio_share/builders.rs +++ b/sdk/servicecatalog/src/operation/delete_portfolio_share/builders.rs @@ -20,9 +20,9 @@ impl DeletePortfolioShareFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -84,6 +84,22 @@ impl DeletePortfolioShareFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::delete_portfolio_share::DeletePortfolioShare, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::delete_portfolio_share::DeletePortfolioShareError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                                        The language code.

                                                                                                                                                                                                                                                                                                                                                                                                        ///
                                                                                                                                                                                                                                                                                                                                                                                                          ///
                                                                                                                                                                                                                                                                                                                                                                                                        • jp - Japanese

                                                                                                                                                                                                                                                                                                                                                                                                        • diff --git a/sdk/servicecatalog/src/operation/delete_product/builders.rs b/sdk/servicecatalog/src/operation/delete_product/builders.rs index 9851f3c97d3d..67e50ea468cd 100644 --- a/sdk/servicecatalog/src/operation/delete_product/builders.rs +++ b/sdk/servicecatalog/src/operation/delete_product/builders.rs @@ -21,9 +21,9 @@ impl DeleteProductFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -79,6 +79,20 @@ impl DeleteProductFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::delete_product::DeleteProduct, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                                          The language code.

                                                                                                                                                                                                                                                                                                                                                                                                          ///
                                                                                                                                                                                                                                                                                                                                                                                                            ///
                                                                                                                                                                                                                                                                                                                                                                                                          • jp - Japanese

                                                                                                                                                                                                                                                                                                                                                                                                          • diff --git a/sdk/servicecatalog/src/operation/delete_provisioned_product_plan/builders.rs b/sdk/servicecatalog/src/operation/delete_provisioned_product_plan/builders.rs index 2e6da8149815..f90e37a9cb13 100644 --- a/sdk/servicecatalog/src/operation/delete_provisioned_product_plan/builders.rs +++ b/sdk/servicecatalog/src/operation/delete_provisioned_product_plan/builders.rs @@ -19,9 +19,9 @@ impl DeleteProvisionedProductPlanFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl DeleteProvisionedProductPlanFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::delete_provisioned_product_plan::DeleteProvisionedProductPlan, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::delete_provisioned_product_plan::DeleteProvisionedProductPlanError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                                            The language code.

                                                                                                                                                                                                                                                                                                                                                                                                            ///
                                                                                                                                                                                                                                                                                                                                                                                                              ///
                                                                                                                                                                                                                                                                                                                                                                                                            • jp - Japanese

                                                                                                                                                                                                                                                                                                                                                                                                            • diff --git a/sdk/servicecatalog/src/operation/delete_provisioning_artifact/builders.rs b/sdk/servicecatalog/src/operation/delete_provisioning_artifact/builders.rs index efa05411bbed..f9ed8899f9dc 100644 --- a/sdk/servicecatalog/src/operation/delete_provisioning_artifact/builders.rs +++ b/sdk/servicecatalog/src/operation/delete_provisioning_artifact/builders.rs @@ -20,9 +20,9 @@ impl DeleteProvisioningArtifactFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -84,6 +84,22 @@ impl DeleteProvisioningArtifactFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::delete_provisioning_artifact::DeleteProvisioningArtifact, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::delete_provisioning_artifact::DeleteProvisioningArtifactError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                                              The language code.

                                                                                                                                                                                                                                                                                                                                                                                                              ///
                                                                                                                                                                                                                                                                                                                                                                                                                ///
                                                                                                                                                                                                                                                                                                                                                                                                              • jp - Japanese

                                                                                                                                                                                                                                                                                                                                                                                                              • diff --git a/sdk/servicecatalog/src/operation/delete_service_action/builders.rs b/sdk/servicecatalog/src/operation/delete_service_action/builders.rs index f8c8c181e837..16583555ad5b 100644 --- a/sdk/servicecatalog/src/operation/delete_service_action/builders.rs +++ b/sdk/servicecatalog/src/operation/delete_service_action/builders.rs @@ -19,9 +19,9 @@ impl DeleteServiceActionFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl DeleteServiceActionFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::delete_service_action::DeleteServiceAction, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::delete_service_action::DeleteServiceActionError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                                                The self-service action identifier. For example, act-fs7abcd89wxyz.

                                                                                                                                                                                                                                                                                                                                                                                                                pub fn id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.id(input.into()); diff --git a/sdk/servicecatalog/src/operation/delete_tag_option/builders.rs b/sdk/servicecatalog/src/operation/delete_tag_option/builders.rs index 2533ea532035..e4b1a825249e 100644 --- a/sdk/servicecatalog/src/operation/delete_tag_option/builders.rs +++ b/sdk/servicecatalog/src/operation/delete_tag_option/builders.rs @@ -20,9 +20,9 @@ impl DeleteTagOptionFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -84,6 +84,22 @@ impl DeleteTagOptionFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::delete_tag_option::DeleteTagOption, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::delete_tag_option::DeleteTagOptionError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                                                The TagOption identifier.

                                                                                                                                                                                                                                                                                                                                                                                                                pub fn id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.id(input.into()); diff --git a/sdk/servicecatalog/src/operation/describe_constraint/builders.rs b/sdk/servicecatalog/src/operation/describe_constraint/builders.rs index c898fb315953..568eb51f3a74 100644 --- a/sdk/servicecatalog/src/operation/describe_constraint/builders.rs +++ b/sdk/servicecatalog/src/operation/describe_constraint/builders.rs @@ -19,9 +19,9 @@ impl DescribeConstraintFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl DescribeConstraintFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::describe_constraint::DescribeConstraint, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::describe_constraint::DescribeConstraintError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                                                The language code.

                                                                                                                                                                                                                                                                                                                                                                                                                ///
                                                                                                                                                                                                                                                                                                                                                                                                                  ///
                                                                                                                                                                                                                                                                                                                                                                                                                • jp - Japanese

                                                                                                                                                                                                                                                                                                                                                                                                                • diff --git a/sdk/servicecatalog/src/operation/describe_copy_product_status/builders.rs b/sdk/servicecatalog/src/operation/describe_copy_product_status/builders.rs index 05a21fa13589..7a57764ce767 100644 --- a/sdk/servicecatalog/src/operation/describe_copy_product_status/builders.rs +++ b/sdk/servicecatalog/src/operation/describe_copy_product_status/builders.rs @@ -19,9 +19,9 @@ impl DescribeCopyProductStatusFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl DescribeCopyProductStatusFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::describe_copy_product_status::DescribeCopyProductStatus, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::describe_copy_product_status::DescribeCopyProductStatusError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                                                  The language code.

                                                                                                                                                                                                                                                                                                                                                                                                                  ///
                                                                                                                                                                                                                                                                                                                                                                                                                    ///
                                                                                                                                                                                                                                                                                                                                                                                                                  • jp - Japanese

                                                                                                                                                                                                                                                                                                                                                                                                                  • diff --git a/sdk/servicecatalog/src/operation/describe_portfolio/builders.rs b/sdk/servicecatalog/src/operation/describe_portfolio/builders.rs index 6d2c252368c3..858b4397263b 100644 --- a/sdk/servicecatalog/src/operation/describe_portfolio/builders.rs +++ b/sdk/servicecatalog/src/operation/describe_portfolio/builders.rs @@ -20,9 +20,9 @@ impl DescribePortfolioFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -84,6 +84,22 @@ impl DescribePortfolioFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::describe_portfolio::DescribePortfolio, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::describe_portfolio::DescribePortfolioError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                                                    The language code.

                                                                                                                                                                                                                                                                                                                                                                                                                    ///
                                                                                                                                                                                                                                                                                                                                                                                                                      ///
                                                                                                                                                                                                                                                                                                                                                                                                                    • jp - Japanese

                                                                                                                                                                                                                                                                                                                                                                                                                    • diff --git a/sdk/servicecatalog/src/operation/describe_portfolio_share_status/builders.rs b/sdk/servicecatalog/src/operation/describe_portfolio_share_status/builders.rs index d88d35c789b7..fbd3e0810622 100644 --- a/sdk/servicecatalog/src/operation/describe_portfolio_share_status/builders.rs +++ b/sdk/servicecatalog/src/operation/describe_portfolio_share_status/builders.rs @@ -19,9 +19,9 @@ impl DescribePortfolioShareStatusFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl DescribePortfolioShareStatusFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::describe_portfolio_share_status::DescribePortfolioShareStatus, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::describe_portfolio_share_status::DescribePortfolioShareStatusError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                                                      The token for the portfolio share operation. This token is returned either by CreatePortfolioShare or by DeletePortfolioShare.

                                                                                                                                                                                                                                                                                                                                                                                                                      pub fn portfolio_share_token( mut self, diff --git a/sdk/servicecatalog/src/operation/describe_portfolio_shares/builders.rs b/sdk/servicecatalog/src/operation/describe_portfolio_shares/builders.rs index c3856b864580..589eeccfb77b 100644 --- a/sdk/servicecatalog/src/operation/describe_portfolio_shares/builders.rs +++ b/sdk/servicecatalog/src/operation/describe_portfolio_shares/builders.rs @@ -22,9 +22,9 @@ impl DescribePortfolioSharesFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -86,6 +86,22 @@ impl DescribePortfolioSharesFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::describe_portfolio_shares::DescribePortfolioShares, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::describe_portfolio_shares::DescribePortfolioSharesError, + >, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::describe_portfolio_shares::paginator::DescribePortfolioSharesPaginator::send) which returns a `Stream`. diff --git a/sdk/servicecatalog/src/operation/describe_product/builders.rs b/sdk/servicecatalog/src/operation/describe_product/builders.rs index 68422ddac373..4732cb01eda8 100644 --- a/sdk/servicecatalog/src/operation/describe_product/builders.rs +++ b/sdk/servicecatalog/src/operation/describe_product/builders.rs @@ -21,9 +21,9 @@ impl DescribeProductFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -85,6 +85,22 @@ impl DescribeProductFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::describe_product::DescribeProduct, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::describe_product::DescribeProductError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                                                      The language code.

                                                                                                                                                                                                                                                                                                                                                                                                                      ///
                                                                                                                                                                                                                                                                                                                                                                                                                        ///
                                                                                                                                                                                                                                                                                                                                                                                                                      • jp - Japanese

                                                                                                                                                                                                                                                                                                                                                                                                                      • diff --git a/sdk/servicecatalog/src/operation/describe_product_as_admin/builders.rs b/sdk/servicecatalog/src/operation/describe_product_as_admin/builders.rs index 41e29ae78425..47db91b29c7c 100644 --- a/sdk/servicecatalog/src/operation/describe_product_as_admin/builders.rs +++ b/sdk/servicecatalog/src/operation/describe_product_as_admin/builders.rs @@ -20,9 +20,9 @@ impl DescribeProductAsAdminFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -84,6 +84,22 @@ impl DescribeProductAsAdminFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::describe_product_as_admin::DescribeProductAsAdmin, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::describe_product_as_admin::DescribeProductAsAdminError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                                                        The language code.

                                                                                                                                                                                                                                                                                                                                                                                                                        ///
                                                                                                                                                                                                                                                                                                                                                                                                                          ///
                                                                                                                                                                                                                                                                                                                                                                                                                        • jp - Japanese

                                                                                                                                                                                                                                                                                                                                                                                                                        • diff --git a/sdk/servicecatalog/src/operation/describe_product_view/builders.rs b/sdk/servicecatalog/src/operation/describe_product_view/builders.rs index 81d6a4b29cc0..8989f5c0eee6 100644 --- a/sdk/servicecatalog/src/operation/describe_product_view/builders.rs +++ b/sdk/servicecatalog/src/operation/describe_product_view/builders.rs @@ -19,9 +19,9 @@ impl DescribeProductViewFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl DescribeProductViewFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::describe_product_view::DescribeProductView, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::describe_product_view::DescribeProductViewError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                                                          The language code.

                                                                                                                                                                                                                                                                                                                                                                                                                          ///
                                                                                                                                                                                                                                                                                                                                                                                                                            ///
                                                                                                                                                                                                                                                                                                                                                                                                                          • jp - Japanese

                                                                                                                                                                                                                                                                                                                                                                                                                          • diff --git a/sdk/servicecatalog/src/operation/describe_provisioned_product/builders.rs b/sdk/servicecatalog/src/operation/describe_provisioned_product/builders.rs index 3a5e280b7f5c..4a23230add3a 100644 --- a/sdk/servicecatalog/src/operation/describe_provisioned_product/builders.rs +++ b/sdk/servicecatalog/src/operation/describe_provisioned_product/builders.rs @@ -19,9 +19,9 @@ impl DescribeProvisionedProductFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl DescribeProvisionedProductFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::describe_provisioned_product::DescribeProvisionedProduct, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::describe_provisioned_product::DescribeProvisionedProductError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                                                            The language code.

                                                                                                                                                                                                                                                                                                                                                                                                                            ///
                                                                                                                                                                                                                                                                                                                                                                                                                              ///
                                                                                                                                                                                                                                                                                                                                                                                                                            • jp - Japanese

                                                                                                                                                                                                                                                                                                                                                                                                                            • diff --git a/sdk/servicecatalog/src/operation/describe_provisioned_product_plan/builders.rs b/sdk/servicecatalog/src/operation/describe_provisioned_product_plan/builders.rs index 75ff34f9e869..1aef2d38b2ba 100644 --- a/sdk/servicecatalog/src/operation/describe_provisioned_product_plan/builders.rs +++ b/sdk/servicecatalog/src/operation/describe_provisioned_product_plan/builders.rs @@ -19,9 +19,9 @@ impl DescribeProvisionedProductPlanFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize(self) -> ::std::result::Result< + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware(self) -> ::std::result::Result< crate::client::customize::CustomizableOperation, ::aws_smithy_http::result::SdkError >{ @@ -64,6 +64,15 @@ impl DescribeProvisionedProductPlanFluentBuilder { { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize(self) -> ::std::result::Result< + crate::client::customize::CustomizableOperation, + ::aws_smithy_http::result::SdkError + >{ + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                                                              The language code.

                                                                                                                                                                                                                                                                                                                                                                                                                              ///
                                                                                                                                                                                                                                                                                                                                                                                                                                ///
                                                                                                                                                                                                                                                                                                                                                                                                                              • jp - Japanese

                                                                                                                                                                                                                                                                                                                                                                                                                              • diff --git a/sdk/servicecatalog/src/operation/describe_provisioning_artifact/builders.rs b/sdk/servicecatalog/src/operation/describe_provisioning_artifact/builders.rs index 0ed1d2ccf73a..0d5300abbdf9 100644 --- a/sdk/servicecatalog/src/operation/describe_provisioning_artifact/builders.rs +++ b/sdk/servicecatalog/src/operation/describe_provisioning_artifact/builders.rs @@ -19,9 +19,9 @@ impl DescribeProvisioningArtifactFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl DescribeProvisioningArtifactFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::describe_provisioning_artifact::DescribeProvisioningArtifact, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::describe_provisioning_artifact::DescribeProvisioningArtifactError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                                                                The language code.

                                                                                                                                                                                                                                                                                                                                                                                                                                ///
                                                                                                                                                                                                                                                                                                                                                                                                                                  ///
                                                                                                                                                                                                                                                                                                                                                                                                                                • jp - Japanese

                                                                                                                                                                                                                                                                                                                                                                                                                                • diff --git a/sdk/servicecatalog/src/operation/describe_provisioning_parameters/builders.rs b/sdk/servicecatalog/src/operation/describe_provisioning_parameters/builders.rs index fd4fa4a15cf9..cf4a22d6b0c4 100644 --- a/sdk/servicecatalog/src/operation/describe_provisioning_parameters/builders.rs +++ b/sdk/servicecatalog/src/operation/describe_provisioning_parameters/builders.rs @@ -20,9 +20,9 @@ impl DescribeProvisioningParametersFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -84,6 +84,22 @@ impl DescribeProvisioningParametersFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::describe_provisioning_parameters::DescribeProvisioningParameters, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::describe_provisioning_parameters::DescribeProvisioningParametersError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                                                                  The language code.

                                                                                                                                                                                                                                                                                                                                                                                                                                  ///
                                                                                                                                                                                                                                                                                                                                                                                                                                    ///
                                                                                                                                                                                                                                                                                                                                                                                                                                  • jp - Japanese

                                                                                                                                                                                                                                                                                                                                                                                                                                  • diff --git a/sdk/servicecatalog/src/operation/describe_record/builders.rs b/sdk/servicecatalog/src/operation/describe_record/builders.rs index 7f03795f3265..9a71d6af26e8 100644 --- a/sdk/servicecatalog/src/operation/describe_record/builders.rs +++ b/sdk/servicecatalog/src/operation/describe_record/builders.rs @@ -22,9 +22,9 @@ impl DescribeRecordFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -80,6 +80,20 @@ impl DescribeRecordFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::describe_record::DescribeRecord, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                                                                    The language code.

                                                                                                                                                                                                                                                                                                                                                                                                                                    ///
                                                                                                                                                                                                                                                                                                                                                                                                                                      ///
                                                                                                                                                                                                                                                                                                                                                                                                                                    • jp - Japanese

                                                                                                                                                                                                                                                                                                                                                                                                                                    • diff --git a/sdk/servicecatalog/src/operation/describe_service_action/builders.rs b/sdk/servicecatalog/src/operation/describe_service_action/builders.rs index 34db8dfbc0ae..512b586bcf95 100644 --- a/sdk/servicecatalog/src/operation/describe_service_action/builders.rs +++ b/sdk/servicecatalog/src/operation/describe_service_action/builders.rs @@ -19,9 +19,9 @@ impl DescribeServiceActionFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl DescribeServiceActionFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::describe_service_action::DescribeServiceAction, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::describe_service_action::DescribeServiceActionError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                                                                      The self-service action identifier.

                                                                                                                                                                                                                                                                                                                                                                                                                                      pub fn id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.id(input.into()); diff --git a/sdk/servicecatalog/src/operation/describe_service_action_execution_parameters/builders.rs b/sdk/servicecatalog/src/operation/describe_service_action_execution_parameters/builders.rs index e81b21606c72..18c063c70e82 100644 --- a/sdk/servicecatalog/src/operation/describe_service_action_execution_parameters/builders.rs +++ b/sdk/servicecatalog/src/operation/describe_service_action_execution_parameters/builders.rs @@ -19,9 +19,9 @@ impl DescribeServiceActionExecutionParametersFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize(self) -> ::std::result::Result< + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware(self) -> ::std::result::Result< crate::client::customize::CustomizableOperation, ::aws_smithy_http::result::SdkError >{ @@ -64,6 +64,15 @@ impl DescribeServiceActionExecutionParametersFluentBuilder { { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize(self) -> ::std::result::Result< + crate::client::customize::CustomizableOperation, + ::aws_smithy_http::result::SdkError + >{ + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                                                                      The identifier of the provisioned product.

                                                                                                                                                                                                                                                                                                                                                                                                                                      pub fn provisioned_product_id( mut self, diff --git a/sdk/servicecatalog/src/operation/describe_tag_option/builders.rs b/sdk/servicecatalog/src/operation/describe_tag_option/builders.rs index 206904deb4a0..76a54db394c5 100644 --- a/sdk/servicecatalog/src/operation/describe_tag_option/builders.rs +++ b/sdk/servicecatalog/src/operation/describe_tag_option/builders.rs @@ -19,9 +19,9 @@ impl DescribeTagOptionFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl DescribeTagOptionFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::describe_tag_option::DescribeTagOption, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::describe_tag_option::DescribeTagOptionError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                                                                      The TagOption identifier.

                                                                                                                                                                                                                                                                                                                                                                                                                                      pub fn id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.id(input.into()); diff --git a/sdk/servicecatalog/src/operation/disable_aws_organizations_access/builders.rs b/sdk/servicecatalog/src/operation/disable_aws_organizations_access/builders.rs index 05a313f4243a..a9ea2895fa15 100644 --- a/sdk/servicecatalog/src/operation/disable_aws_organizations_access/builders.rs +++ b/sdk/servicecatalog/src/operation/disable_aws_organizations_access/builders.rs @@ -23,9 +23,9 @@ impl DisableAWSOrganizationsAccessFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -87,4 +87,20 @@ impl DisableAWSOrganizationsAccessFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::disable_aws_organizations_access::DisableAWSOrganizationsAccess, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::disable_aws_organizations_access::DisableAWSOrganizationsAccessError, + >, + > { + self.customize_middleware().await + } } diff --git a/sdk/servicecatalog/src/operation/disassociate_budget_from_resource/builders.rs b/sdk/servicecatalog/src/operation/disassociate_budget_from_resource/builders.rs index 8b01ab1f075a..fdc02d3fa5bb 100644 --- a/sdk/servicecatalog/src/operation/disassociate_budget_from_resource/builders.rs +++ b/sdk/servicecatalog/src/operation/disassociate_budget_from_resource/builders.rs @@ -19,9 +19,9 @@ impl DisassociateBudgetFromResourceFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize(self) -> ::std::result::Result< + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware(self) -> ::std::result::Result< crate::client::customize::CustomizableOperation, ::aws_smithy_http::result::SdkError >{ @@ -64,6 +64,15 @@ impl DisassociateBudgetFromResourceFluentBuilder { { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize(self) -> ::std::result::Result< + crate::client::customize::CustomizableOperation, + ::aws_smithy_http::result::SdkError + >{ + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                                                                      The name of the budget you want to disassociate.

                                                                                                                                                                                                                                                                                                                                                                                                                                      pub fn budget_name(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.budget_name(input.into()); diff --git a/sdk/servicecatalog/src/operation/disassociate_principal_from_portfolio/builders.rs b/sdk/servicecatalog/src/operation/disassociate_principal_from_portfolio/builders.rs index 25a042814459..8877729a3b1c 100644 --- a/sdk/servicecatalog/src/operation/disassociate_principal_from_portfolio/builders.rs +++ b/sdk/servicecatalog/src/operation/disassociate_principal_from_portfolio/builders.rs @@ -21,9 +21,9 @@ impl DisassociatePrincipalFromPortfolioFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize(self) -> ::std::result::Result< + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware(self) -> ::std::result::Result< crate::client::customize::CustomizableOperation, ::aws_smithy_http::result::SdkError >{ @@ -66,6 +66,15 @@ impl DisassociatePrincipalFromPortfolioFluentBuilder { { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize(self) -> ::std::result::Result< + crate::client::customize::CustomizableOperation, + ::aws_smithy_http::result::SdkError + >{ + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                                                                      The language code.

                                                                                                                                                                                                                                                                                                                                                                                                                                      ///
                                                                                                                                                                                                                                                                                                                                                                                                                                        ///
                                                                                                                                                                                                                                                                                                                                                                                                                                      • jp - Japanese

                                                                                                                                                                                                                                                                                                                                                                                                                                      • diff --git a/sdk/servicecatalog/src/operation/disassociate_product_from_portfolio/builders.rs b/sdk/servicecatalog/src/operation/disassociate_product_from_portfolio/builders.rs index 52b5720a7933..01ec46ba670b 100644 --- a/sdk/servicecatalog/src/operation/disassociate_product_from_portfolio/builders.rs +++ b/sdk/servicecatalog/src/operation/disassociate_product_from_portfolio/builders.rs @@ -20,9 +20,9 @@ impl DisassociateProductFromPortfolioFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize(self) -> ::std::result::Result< + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware(self) -> ::std::result::Result< crate::client::customize::CustomizableOperation, ::aws_smithy_http::result::SdkError >{ @@ -65,6 +65,15 @@ impl DisassociateProductFromPortfolioFluentBuilder { { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize(self) -> ::std::result::Result< + crate::client::customize::CustomizableOperation, + ::aws_smithy_http::result::SdkError + >{ + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                                                                        The language code.

                                                                                                                                                                                                                                                                                                                                                                                                                                        ///
                                                                                                                                                                                                                                                                                                                                                                                                                                          ///
                                                                                                                                                                                                                                                                                                                                                                                                                                        • jp - Japanese

                                                                                                                                                                                                                                                                                                                                                                                                                                        • diff --git a/sdk/servicecatalog/src/operation/disassociate_service_action_from_provisioning_artifact/builders.rs b/sdk/servicecatalog/src/operation/disassociate_service_action_from_provisioning_artifact/builders.rs index 2ec730c7590e..5b463b13fa7a 100644 --- a/sdk/servicecatalog/src/operation/disassociate_service_action_from_provisioning_artifact/builders.rs +++ b/sdk/servicecatalog/src/operation/disassociate_service_action_from_provisioning_artifact/builders.rs @@ -19,9 +19,9 @@ impl DisassociateServiceActionFromProvisioningArtifactFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize(self) -> ::std::result::Result< + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware(self) -> ::std::result::Result< crate::client::customize::CustomizableOperation, ::aws_smithy_http::result::SdkError >{ @@ -64,6 +64,15 @@ impl DisassociateServiceActionFromProvisioningArtifactFluentBuilder { { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize(self) -> ::std::result::Result< + crate::client::customize::CustomizableOperation, + ::aws_smithy_http::result::SdkError + >{ + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                                                                          The product identifier. For example, prod-abcdzk7xy33qa.

                                                                                                                                                                                                                                                                                                                                                                                                                                          pub fn product_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.product_id(input.into()); diff --git a/sdk/servicecatalog/src/operation/disassociate_tag_option_from_resource/builders.rs b/sdk/servicecatalog/src/operation/disassociate_tag_option_from_resource/builders.rs index 258938a3b3bb..eb8ba33aff8a 100644 --- a/sdk/servicecatalog/src/operation/disassociate_tag_option_from_resource/builders.rs +++ b/sdk/servicecatalog/src/operation/disassociate_tag_option_from_resource/builders.rs @@ -19,9 +19,9 @@ impl DisassociateTagOptionFromResourceFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize(self) -> ::std::result::Result< + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware(self) -> ::std::result::Result< crate::client::customize::CustomizableOperation, ::aws_smithy_http::result::SdkError >{ @@ -64,6 +64,15 @@ impl DisassociateTagOptionFromResourceFluentBuilder { { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize(self) -> ::std::result::Result< + crate::client::customize::CustomizableOperation, + ::aws_smithy_http::result::SdkError + >{ + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                                                                          The resource identifier.

                                                                                                                                                                                                                                                                                                                                                                                                                                          pub fn resource_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.resource_id(input.into()); diff --git a/sdk/servicecatalog/src/operation/enable_aws_organizations_access/builders.rs b/sdk/servicecatalog/src/operation/enable_aws_organizations_access/builders.rs index d0144f33396d..2529de654a78 100644 --- a/sdk/servicecatalog/src/operation/enable_aws_organizations_access/builders.rs +++ b/sdk/servicecatalog/src/operation/enable_aws_organizations_access/builders.rs @@ -23,9 +23,9 @@ impl EnableAWSOrganizationsAccessFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -87,4 +87,20 @@ impl EnableAWSOrganizationsAccessFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::enable_aws_organizations_access::EnableAWSOrganizationsAccess, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::enable_aws_organizations_access::EnableAWSOrganizationsAccessError, + >, + > { + self.customize_middleware().await + } } diff --git a/sdk/servicecatalog/src/operation/execute_provisioned_product_plan/builders.rs b/sdk/servicecatalog/src/operation/execute_provisioned_product_plan/builders.rs index 4c6849788a92..bc55f5f36f12 100644 --- a/sdk/servicecatalog/src/operation/execute_provisioned_product_plan/builders.rs +++ b/sdk/servicecatalog/src/operation/execute_provisioned_product_plan/builders.rs @@ -19,9 +19,9 @@ impl ExecuteProvisionedProductPlanFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl ExecuteProvisionedProductPlanFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::execute_provisioned_product_plan::ExecuteProvisionedProductPlan, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::execute_provisioned_product_plan::ExecuteProvisionedProductPlanError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                                                                          The language code.

                                                                                                                                                                                                                                                                                                                                                                                                                                          ///
                                                                                                                                                                                                                                                                                                                                                                                                                                            ///
                                                                                                                                                                                                                                                                                                                                                                                                                                          • jp - Japanese

                                                                                                                                                                                                                                                                                                                                                                                                                                          • diff --git a/sdk/servicecatalog/src/operation/execute_provisioned_product_service_action/builders.rs b/sdk/servicecatalog/src/operation/execute_provisioned_product_service_action/builders.rs index 404852e24db7..b3439994f102 100644 --- a/sdk/servicecatalog/src/operation/execute_provisioned_product_service_action/builders.rs +++ b/sdk/servicecatalog/src/operation/execute_provisioned_product_service_action/builders.rs @@ -19,9 +19,9 @@ impl ExecuteProvisionedProductServiceActionFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize(self) -> ::std::result::Result< + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware(self) -> ::std::result::Result< crate::client::customize::CustomizableOperation, ::aws_smithy_http::result::SdkError >{ @@ -64,6 +64,15 @@ impl ExecuteProvisionedProductServiceActionFluentBuilder { { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize(self) -> ::std::result::Result< + crate::client::customize::CustomizableOperation, + ::aws_smithy_http::result::SdkError + >{ + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                                                                            The identifier of the provisioned product.

                                                                                                                                                                                                                                                                                                                                                                                                                                            pub fn provisioned_product_id( mut self, diff --git a/sdk/servicecatalog/src/operation/get_aws_organizations_access_status/builders.rs b/sdk/servicecatalog/src/operation/get_aws_organizations_access_status/builders.rs index 65703d301cb5..4392a61c1fa8 100644 --- a/sdk/servicecatalog/src/operation/get_aws_organizations_access_status/builders.rs +++ b/sdk/servicecatalog/src/operation/get_aws_organizations_access_status/builders.rs @@ -19,9 +19,9 @@ impl GetAWSOrganizationsAccessStatusFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize(self) -> ::std::result::Result< + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware(self) -> ::std::result::Result< crate::client::customize::CustomizableOperation, ::aws_smithy_http::result::SdkError >{ @@ -64,4 +64,13 @@ impl GetAWSOrganizationsAccessStatusFluentBuilder { { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize(self) -> ::std::result::Result< + crate::client::customize::CustomizableOperation, + ::aws_smithy_http::result::SdkError + >{ + self.customize_middleware().await + } } diff --git a/sdk/servicecatalog/src/operation/get_provisioned_product_outputs/builders.rs b/sdk/servicecatalog/src/operation/get_provisioned_product_outputs/builders.rs index 5c69660270b7..7bfe968e7abf 100644 --- a/sdk/servicecatalog/src/operation/get_provisioned_product_outputs/builders.rs +++ b/sdk/servicecatalog/src/operation/get_provisioned_product_outputs/builders.rs @@ -19,9 +19,9 @@ impl GetProvisionedProductOutputsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl GetProvisionedProductOutputsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::get_provisioned_product_outputs::GetProvisionedProductOutputs, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::get_provisioned_product_outputs::GetProvisionedProductOutputsError, + >, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::get_provisioned_product_outputs::paginator::GetProvisionedProductOutputsPaginator::send) which returns a `Stream`. diff --git a/sdk/servicecatalog/src/operation/import_as_provisioned_product/builders.rs b/sdk/servicecatalog/src/operation/import_as_provisioned_product/builders.rs index 0b9bd4119aaa..ce982c138e31 100644 --- a/sdk/servicecatalog/src/operation/import_as_provisioned_product/builders.rs +++ b/sdk/servicecatalog/src/operation/import_as_provisioned_product/builders.rs @@ -25,9 +25,9 @@ impl ImportAsProvisionedProductFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -89,6 +89,22 @@ impl ImportAsProvisionedProductFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::import_as_provisioned_product::ImportAsProvisionedProduct, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::import_as_provisioned_product::ImportAsProvisionedProductError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                                                                            The language code.

                                                                                                                                                                                                                                                                                                                                                                                                                                            ///
                                                                                                                                                                                                                                                                                                                                                                                                                                              ///
                                                                                                                                                                                                                                                                                                                                                                                                                                            • jp - Japanese

                                                                                                                                                                                                                                                                                                                                                                                                                                            • diff --git a/sdk/servicecatalog/src/operation/list_accepted_portfolio_shares/builders.rs b/sdk/servicecatalog/src/operation/list_accepted_portfolio_shares/builders.rs index 9c9f22b6f489..e42d7964dc1a 100644 --- a/sdk/servicecatalog/src/operation/list_accepted_portfolio_shares/builders.rs +++ b/sdk/servicecatalog/src/operation/list_accepted_portfolio_shares/builders.rs @@ -19,9 +19,9 @@ impl ListAcceptedPortfolioSharesFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl ListAcceptedPortfolioSharesFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_accepted_portfolio_shares::ListAcceptedPortfolioShares, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::list_accepted_portfolio_shares::ListAcceptedPortfolioSharesError, + >, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::list_accepted_portfolio_shares::paginator::ListAcceptedPortfolioSharesPaginator::send) which returns a `Stream`. diff --git a/sdk/servicecatalog/src/operation/list_budgets_for_resource/builders.rs b/sdk/servicecatalog/src/operation/list_budgets_for_resource/builders.rs index e0c988450e1d..eb253621fd82 100644 --- a/sdk/servicecatalog/src/operation/list_budgets_for_resource/builders.rs +++ b/sdk/servicecatalog/src/operation/list_budgets_for_resource/builders.rs @@ -20,9 +20,9 @@ impl ListBudgetsForResourceFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -84,6 +84,22 @@ impl ListBudgetsForResourceFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_budgets_for_resource::ListBudgetsForResource, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::list_budgets_for_resource::ListBudgetsForResourceError, + >, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::list_budgets_for_resource::paginator::ListBudgetsForResourcePaginator::send) which returns a `Stream`. diff --git a/sdk/servicecatalog/src/operation/list_constraints_for_portfolio/builders.rs b/sdk/servicecatalog/src/operation/list_constraints_for_portfolio/builders.rs index 68d0f33b3828..5a7ac1bebc89 100644 --- a/sdk/servicecatalog/src/operation/list_constraints_for_portfolio/builders.rs +++ b/sdk/servicecatalog/src/operation/list_constraints_for_portfolio/builders.rs @@ -19,9 +19,9 @@ impl ListConstraintsForPortfolioFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl ListConstraintsForPortfolioFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_constraints_for_portfolio::ListConstraintsForPortfolio, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::list_constraints_for_portfolio::ListConstraintsForPortfolioError, + >, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::list_constraints_for_portfolio::paginator::ListConstraintsForPortfolioPaginator::send) which returns a `Stream`. diff --git a/sdk/servicecatalog/src/operation/list_launch_paths/builders.rs b/sdk/servicecatalog/src/operation/list_launch_paths/builders.rs index 9f4c2e9e422a..1fdcb885be0e 100644 --- a/sdk/servicecatalog/src/operation/list_launch_paths/builders.rs +++ b/sdk/servicecatalog/src/operation/list_launch_paths/builders.rs @@ -21,9 +21,9 @@ impl ListLaunchPathsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -85,6 +85,22 @@ impl ListLaunchPathsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_launch_paths::ListLaunchPaths, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::list_launch_paths::ListLaunchPathsError, + >, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::list_launch_paths::paginator::ListLaunchPathsPaginator::send) which returns a `Stream`. diff --git a/sdk/servicecatalog/src/operation/list_organization_portfolio_access/builders.rs b/sdk/servicecatalog/src/operation/list_organization_portfolio_access/builders.rs index 04fd03097b07..ca5e8f81272e 100644 --- a/sdk/servicecatalog/src/operation/list_organization_portfolio_access/builders.rs +++ b/sdk/servicecatalog/src/operation/list_organization_portfolio_access/builders.rs @@ -20,9 +20,9 @@ impl ListOrganizationPortfolioAccessFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize(self) -> ::std::result::Result< + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware(self) -> ::std::result::Result< crate::client::customize::CustomizableOperation, ::aws_smithy_http::result::SdkError >{ @@ -65,6 +65,15 @@ impl ListOrganizationPortfolioAccessFluentBuilder { { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize(self) -> ::std::result::Result< + crate::client::customize::CustomizableOperation, + ::aws_smithy_http::result::SdkError + >{ + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::list_organization_portfolio_access::paginator::ListOrganizationPortfolioAccessPaginator::send) which returns a `Stream`. diff --git a/sdk/servicecatalog/src/operation/list_portfolio_access/builders.rs b/sdk/servicecatalog/src/operation/list_portfolio_access/builders.rs index e7b24b72474d..9cbd52e18ba3 100644 --- a/sdk/servicecatalog/src/operation/list_portfolio_access/builders.rs +++ b/sdk/servicecatalog/src/operation/list_portfolio_access/builders.rs @@ -20,9 +20,9 @@ impl ListPortfolioAccessFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -84,6 +84,22 @@ impl ListPortfolioAccessFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_portfolio_access::ListPortfolioAccess, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::list_portfolio_access::ListPortfolioAccessError, + >, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::list_portfolio_access::paginator::ListPortfolioAccessPaginator::send) which returns a `Stream`. diff --git a/sdk/servicecatalog/src/operation/list_portfolios/builders.rs b/sdk/servicecatalog/src/operation/list_portfolios/builders.rs index 6762db0bce3c..73299ca5f23a 100644 --- a/sdk/servicecatalog/src/operation/list_portfolios/builders.rs +++ b/sdk/servicecatalog/src/operation/list_portfolios/builders.rs @@ -19,9 +19,9 @@ impl ListPortfoliosFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl ListPortfoliosFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_portfolios::ListPortfolios, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::list_portfolios::paginator::ListPortfoliosPaginator::send) which returns a `Stream`. diff --git a/sdk/servicecatalog/src/operation/list_portfolios_for_product/builders.rs b/sdk/servicecatalog/src/operation/list_portfolios_for_product/builders.rs index 8825cdf442a4..58b46ef181db 100644 --- a/sdk/servicecatalog/src/operation/list_portfolios_for_product/builders.rs +++ b/sdk/servicecatalog/src/operation/list_portfolios_for_product/builders.rs @@ -19,9 +19,9 @@ impl ListPortfoliosForProductFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl ListPortfoliosForProductFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_portfolios_for_product::ListPortfoliosForProduct, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::list_portfolios_for_product::ListPortfoliosForProductError, + >, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::list_portfolios_for_product::paginator::ListPortfoliosForProductPaginator::send) which returns a `Stream`. diff --git a/sdk/servicecatalog/src/operation/list_principals_for_portfolio/builders.rs b/sdk/servicecatalog/src/operation/list_principals_for_portfolio/builders.rs index 14dcfdff7a8f..5381675229fb 100644 --- a/sdk/servicecatalog/src/operation/list_principals_for_portfolio/builders.rs +++ b/sdk/servicecatalog/src/operation/list_principals_for_portfolio/builders.rs @@ -19,9 +19,9 @@ impl ListPrincipalsForPortfolioFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl ListPrincipalsForPortfolioFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_principals_for_portfolio::ListPrincipalsForPortfolio, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::list_principals_for_portfolio::ListPrincipalsForPortfolioError, + >, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::list_principals_for_portfolio::paginator::ListPrincipalsForPortfolioPaginator::send) which returns a `Stream`. diff --git a/sdk/servicecatalog/src/operation/list_provisioned_product_plans/builders.rs b/sdk/servicecatalog/src/operation/list_provisioned_product_plans/builders.rs index 0703f013ea45..85c1bf4cbcd1 100644 --- a/sdk/servicecatalog/src/operation/list_provisioned_product_plans/builders.rs +++ b/sdk/servicecatalog/src/operation/list_provisioned_product_plans/builders.rs @@ -19,9 +19,9 @@ impl ListProvisionedProductPlansFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl ListProvisionedProductPlansFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_provisioned_product_plans::ListProvisionedProductPlans, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::list_provisioned_product_plans::ListProvisionedProductPlansError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                                                                              The language code.

                                                                                                                                                                                                                                                                                                                                                                                                                                              ///
                                                                                                                                                                                                                                                                                                                                                                                                                                                ///
                                                                                                                                                                                                                                                                                                                                                                                                                                              • jp - Japanese

                                                                                                                                                                                                                                                                                                                                                                                                                                              • diff --git a/sdk/servicecatalog/src/operation/list_provisioning_artifacts/builders.rs b/sdk/servicecatalog/src/operation/list_provisioning_artifacts/builders.rs index dad6cd6c27d1..1156e76a3633 100644 --- a/sdk/servicecatalog/src/operation/list_provisioning_artifacts/builders.rs +++ b/sdk/servicecatalog/src/operation/list_provisioning_artifacts/builders.rs @@ -19,9 +19,9 @@ impl ListProvisioningArtifactsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl ListProvisioningArtifactsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_provisioning_artifacts::ListProvisioningArtifacts, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::list_provisioning_artifacts::ListProvisioningArtifactsError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                                                                                The language code.

                                                                                                                                                                                                                                                                                                                                                                                                                                                ///
                                                                                                                                                                                                                                                                                                                                                                                                                                                  ///
                                                                                                                                                                                                                                                                                                                                                                                                                                                • jp - Japanese

                                                                                                                                                                                                                                                                                                                                                                                                                                                • diff --git a/sdk/servicecatalog/src/operation/list_provisioning_artifacts_for_service_action/builders.rs b/sdk/servicecatalog/src/operation/list_provisioning_artifacts_for_service_action/builders.rs index 7d05e0fde6de..a5b12910f1f8 100644 --- a/sdk/servicecatalog/src/operation/list_provisioning_artifacts_for_service_action/builders.rs +++ b/sdk/servicecatalog/src/operation/list_provisioning_artifacts_for_service_action/builders.rs @@ -19,9 +19,9 @@ impl ListProvisioningArtifactsForServiceActionFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize(self) -> ::std::result::Result< + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware(self) -> ::std::result::Result< crate::client::customize::CustomizableOperation, ::aws_smithy_http::result::SdkError >{ @@ -64,6 +64,15 @@ impl ListProvisioningArtifactsForServiceActionFluentBuilder { { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize(self) -> ::std::result::Result< + crate::client::customize::CustomizableOperation, + ::aws_smithy_http::result::SdkError + >{ + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::list_provisioning_artifacts_for_service_action::paginator::ListProvisioningArtifactsForServiceActionPaginator::send) which returns a `Stream`. diff --git a/sdk/servicecatalog/src/operation/list_record_history/builders.rs b/sdk/servicecatalog/src/operation/list_record_history/builders.rs index 8ec6e9502190..65df4bc360db 100644 --- a/sdk/servicecatalog/src/operation/list_record_history/builders.rs +++ b/sdk/servicecatalog/src/operation/list_record_history/builders.rs @@ -19,9 +19,9 @@ impl ListRecordHistoryFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl ListRecordHistoryFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_record_history::ListRecordHistory, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::list_record_history::ListRecordHistoryError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                                                                                  The language code.

                                                                                                                                                                                                                                                                                                                                                                                                                                                  ///
                                                                                                                                                                                                                                                                                                                                                                                                                                                    ///
                                                                                                                                                                                                                                                                                                                                                                                                                                                  • jp - Japanese

                                                                                                                                                                                                                                                                                                                                                                                                                                                  • diff --git a/sdk/servicecatalog/src/operation/list_resources_for_tag_option/builders.rs b/sdk/servicecatalog/src/operation/list_resources_for_tag_option/builders.rs index f63804222a7f..04002fbe9cda 100644 --- a/sdk/servicecatalog/src/operation/list_resources_for_tag_option/builders.rs +++ b/sdk/servicecatalog/src/operation/list_resources_for_tag_option/builders.rs @@ -19,9 +19,9 @@ impl ListResourcesForTagOptionFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl ListResourcesForTagOptionFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_resources_for_tag_option::ListResourcesForTagOption, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::list_resources_for_tag_option::ListResourcesForTagOptionError, + >, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::list_resources_for_tag_option::paginator::ListResourcesForTagOptionPaginator::send) which returns a `Stream`. diff --git a/sdk/servicecatalog/src/operation/list_service_actions/builders.rs b/sdk/servicecatalog/src/operation/list_service_actions/builders.rs index 26d18f3a5137..2c4e18a89677 100644 --- a/sdk/servicecatalog/src/operation/list_service_actions/builders.rs +++ b/sdk/servicecatalog/src/operation/list_service_actions/builders.rs @@ -19,9 +19,9 @@ impl ListServiceActionsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl ListServiceActionsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_service_actions::ListServiceActions, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::list_service_actions::ListServiceActionsError, + >, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::list_service_actions::paginator::ListServiceActionsPaginator::send) which returns a `Stream`. diff --git a/sdk/servicecatalog/src/operation/list_service_actions_for_provisioning_artifact/builders.rs b/sdk/servicecatalog/src/operation/list_service_actions_for_provisioning_artifact/builders.rs index ba5210750cc0..e2c19adb11f6 100644 --- a/sdk/servicecatalog/src/operation/list_service_actions_for_provisioning_artifact/builders.rs +++ b/sdk/servicecatalog/src/operation/list_service_actions_for_provisioning_artifact/builders.rs @@ -19,9 +19,9 @@ impl ListServiceActionsForProvisioningArtifactFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize(self) -> ::std::result::Result< + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware(self) -> ::std::result::Result< crate::client::customize::CustomizableOperation, ::aws_smithy_http::result::SdkError >{ @@ -64,6 +64,15 @@ impl ListServiceActionsForProvisioningArtifactFluentBuilder { { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize(self) -> ::std::result::Result< + crate::client::customize::CustomizableOperation, + ::aws_smithy_http::result::SdkError + >{ + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::list_service_actions_for_provisioning_artifact::paginator::ListServiceActionsForProvisioningArtifactPaginator::send) which returns a `Stream`. diff --git a/sdk/servicecatalog/src/operation/list_stack_instances_for_provisioned_product/builders.rs b/sdk/servicecatalog/src/operation/list_stack_instances_for_provisioned_product/builders.rs index 3a53330c95e9..ca6736163b9c 100644 --- a/sdk/servicecatalog/src/operation/list_stack_instances_for_provisioned_product/builders.rs +++ b/sdk/servicecatalog/src/operation/list_stack_instances_for_provisioned_product/builders.rs @@ -19,9 +19,9 @@ impl ListStackInstancesForProvisionedProductFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize(self) -> ::std::result::Result< + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware(self) -> ::std::result::Result< crate::client::customize::CustomizableOperation, ::aws_smithy_http::result::SdkError >{ @@ -64,6 +64,15 @@ impl ListStackInstancesForProvisionedProductFluentBuilder { { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize(self) -> ::std::result::Result< + crate::client::customize::CustomizableOperation, + ::aws_smithy_http::result::SdkError + >{ + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                                                                                    The language code.

                                                                                                                                                                                                                                                                                                                                                                                                                                                    ///
                                                                                                                                                                                                                                                                                                                                                                                                                                                      ///
                                                                                                                                                                                                                                                                                                                                                                                                                                                    • jp - Japanese

                                                                                                                                                                                                                                                                                                                                                                                                                                                    • diff --git a/sdk/servicecatalog/src/operation/list_tag_options/builders.rs b/sdk/servicecatalog/src/operation/list_tag_options/builders.rs index ba0b606fc6d2..43689b89df3c 100644 --- a/sdk/servicecatalog/src/operation/list_tag_options/builders.rs +++ b/sdk/servicecatalog/src/operation/list_tag_options/builders.rs @@ -19,9 +19,9 @@ impl ListTagOptionsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl ListTagOptionsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_tag_options::ListTagOptions, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::list_tag_options::ListTagOptionsError, + >, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::list_tag_options::paginator::ListTagOptionsPaginator::send) which returns a `Stream`. diff --git a/sdk/servicecatalog/src/operation/notify_provision_product_engine_workflow_result/builders.rs b/sdk/servicecatalog/src/operation/notify_provision_product_engine_workflow_result/builders.rs index a44e9fb7cbc1..609defdefee5 100644 --- a/sdk/servicecatalog/src/operation/notify_provision_product_engine_workflow_result/builders.rs +++ b/sdk/servicecatalog/src/operation/notify_provision_product_engine_workflow_result/builders.rs @@ -19,9 +19,9 @@ impl NotifyProvisionProductEngineWorkflowResultFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize(self) -> ::std::result::Result< + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware(self) -> ::std::result::Result< crate::client::customize::CustomizableOperation, ::aws_smithy_http::result::SdkError >{ @@ -64,6 +64,15 @@ impl NotifyProvisionProductEngineWorkflowResultFluentBuilder { { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize(self) -> ::std::result::Result< + crate::client::customize::CustomizableOperation, + ::aws_smithy_http::result::SdkError + >{ + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                                                                                      The encrypted contents of the provisioning engine execution payload that Service Catalog sends after the Terraform product provisioning workflow starts.

                                                                                                                                                                                                                                                                                                                                                                                                                                                      pub fn workflow_token( mut self, diff --git a/sdk/servicecatalog/src/operation/notify_terminate_provisioned_product_engine_workflow_result/builders.rs b/sdk/servicecatalog/src/operation/notify_terminate_provisioned_product_engine_workflow_result/builders.rs index 15fce7ec4a84..99715c79c4b3 100644 --- a/sdk/servicecatalog/src/operation/notify_terminate_provisioned_product_engine_workflow_result/builders.rs +++ b/sdk/servicecatalog/src/operation/notify_terminate_provisioned_product_engine_workflow_result/builders.rs @@ -19,9 +19,9 @@ impl NotifyTerminateProvisionedProductEngineWorkflowResultFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize(self) -> ::std::result::Result< + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware(self) -> ::std::result::Result< crate::client::customize::CustomizableOperation, ::aws_smithy_http::result::SdkError >{ @@ -64,6 +64,15 @@ impl NotifyTerminateProvisionedProductEngineWorkflowResultFluentBuilder { { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize(self) -> ::std::result::Result< + crate::client::customize::CustomizableOperation, + ::aws_smithy_http::result::SdkError + >{ + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                                                                                      The encrypted contents of the terminate engine execution payload that Service Catalog sends after the Terraform product terminate workflow starts.

                                                                                                                                                                                                                                                                                                                                                                                                                                                      pub fn workflow_token( mut self, diff --git a/sdk/servicecatalog/src/operation/notify_update_provisioned_product_engine_workflow_result/builders.rs b/sdk/servicecatalog/src/operation/notify_update_provisioned_product_engine_workflow_result/builders.rs index 7737cea1879a..c7794fd08d94 100644 --- a/sdk/servicecatalog/src/operation/notify_update_provisioned_product_engine_workflow_result/builders.rs +++ b/sdk/servicecatalog/src/operation/notify_update_provisioned_product_engine_workflow_result/builders.rs @@ -19,9 +19,9 @@ impl NotifyUpdateProvisionedProductEngineWorkflowResultFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize(self) -> ::std::result::Result< + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware(self) -> ::std::result::Result< crate::client::customize::CustomizableOperation, ::aws_smithy_http::result::SdkError >{ @@ -64,6 +64,15 @@ impl NotifyUpdateProvisionedProductEngineWorkflowResultFluentBuilder { { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize(self) -> ::std::result::Result< + crate::client::customize::CustomizableOperation, + ::aws_smithy_http::result::SdkError + >{ + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                                                                                      The encrypted contents of the update engine execution payload that Service Catalog sends after the Terraform product update workflow starts.

                                                                                                                                                                                                                                                                                                                                                                                                                                                      pub fn workflow_token( mut self, diff --git a/sdk/servicecatalog/src/operation/provision_product/builders.rs b/sdk/servicecatalog/src/operation/provision_product/builders.rs index 80f2fc4c218f..9de69f56007a 100644 --- a/sdk/servicecatalog/src/operation/provision_product/builders.rs +++ b/sdk/servicecatalog/src/operation/provision_product/builders.rs @@ -23,9 +23,9 @@ impl ProvisionProductFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -87,6 +87,22 @@ impl ProvisionProductFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::provision_product::ProvisionProduct, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::provision_product::ProvisionProductError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                                                                                      The language code.

                                                                                                                                                                                                                                                                                                                                                                                                                                                      ///
                                                                                                                                                                                                                                                                                                                                                                                                                                                        ///
                                                                                                                                                                                                                                                                                                                                                                                                                                                      • jp - Japanese

                                                                                                                                                                                                                                                                                                                                                                                                                                                      • diff --git a/sdk/servicecatalog/src/operation/reject_portfolio_share/builders.rs b/sdk/servicecatalog/src/operation/reject_portfolio_share/builders.rs index 77038714cd55..b456beda5cec 100644 --- a/sdk/servicecatalog/src/operation/reject_portfolio_share/builders.rs +++ b/sdk/servicecatalog/src/operation/reject_portfolio_share/builders.rs @@ -19,9 +19,9 @@ impl RejectPortfolioShareFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl RejectPortfolioShareFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::reject_portfolio_share::RejectPortfolioShare, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::reject_portfolio_share::RejectPortfolioShareError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                                                                                        The language code.

                                                                                                                                                                                                                                                                                                                                                                                                                                                        ///
                                                                                                                                                                                                                                                                                                                                                                                                                                                          ///
                                                                                                                                                                                                                                                                                                                                                                                                                                                        • jp - Japanese

                                                                                                                                                                                                                                                                                                                                                                                                                                                        • diff --git a/sdk/servicecatalog/src/operation/scan_provisioned_products/builders.rs b/sdk/servicecatalog/src/operation/scan_provisioned_products/builders.rs index 9efa6b76bb54..99ff1ce3ec01 100644 --- a/sdk/servicecatalog/src/operation/scan_provisioned_products/builders.rs +++ b/sdk/servicecatalog/src/operation/scan_provisioned_products/builders.rs @@ -21,9 +21,9 @@ impl ScanProvisionedProductsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -85,6 +85,22 @@ impl ScanProvisionedProductsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::scan_provisioned_products::ScanProvisionedProducts, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::scan_provisioned_products::ScanProvisionedProductsError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                                                                                          The language code.

                                                                                                                                                                                                                                                                                                                                                                                                                                                          ///
                                                                                                                                                                                                                                                                                                                                                                                                                                                            ///
                                                                                                                                                                                                                                                                                                                                                                                                                                                          • jp - Japanese

                                                                                                                                                                                                                                                                                                                                                                                                                                                          • diff --git a/sdk/servicecatalog/src/operation/search_products/builders.rs b/sdk/servicecatalog/src/operation/search_products/builders.rs index 14cc618b431b..d15cfaa53ba5 100644 --- a/sdk/servicecatalog/src/operation/search_products/builders.rs +++ b/sdk/servicecatalog/src/operation/search_products/builders.rs @@ -19,9 +19,9 @@ impl SearchProductsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl SearchProductsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::search_products::SearchProducts, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::search_products::paginator::SearchProductsPaginator::send) which returns a `Stream`. diff --git a/sdk/servicecatalog/src/operation/search_products_as_admin/builders.rs b/sdk/servicecatalog/src/operation/search_products_as_admin/builders.rs index 5b40e0b4d63b..cf5bc8d414cf 100644 --- a/sdk/servicecatalog/src/operation/search_products_as_admin/builders.rs +++ b/sdk/servicecatalog/src/operation/search_products_as_admin/builders.rs @@ -19,9 +19,9 @@ impl SearchProductsAsAdminFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl SearchProductsAsAdminFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::search_products_as_admin::SearchProductsAsAdmin, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::search_products_as_admin::SearchProductsAsAdminError, + >, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::search_products_as_admin::paginator::SearchProductsAsAdminPaginator::send) which returns a `Stream`. diff --git a/sdk/servicecatalog/src/operation/search_provisioned_products/builders.rs b/sdk/servicecatalog/src/operation/search_provisioned_products/builders.rs index b1f6aead92f3..e4d6c0dc1a7c 100644 --- a/sdk/servicecatalog/src/operation/search_provisioned_products/builders.rs +++ b/sdk/servicecatalog/src/operation/search_provisioned_products/builders.rs @@ -19,9 +19,9 @@ impl SearchProvisionedProductsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl SearchProvisionedProductsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::search_provisioned_products::SearchProvisionedProducts, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::search_provisioned_products::SearchProvisionedProductsError, + >, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::search_provisioned_products::paginator::SearchProvisionedProductsPaginator::send) which returns a `Stream`. diff --git a/sdk/servicecatalog/src/operation/terminate_provisioned_product/builders.rs b/sdk/servicecatalog/src/operation/terminate_provisioned_product/builders.rs index bd1695ae66cd..d32e6813b9c4 100644 --- a/sdk/servicecatalog/src/operation/terminate_provisioned_product/builders.rs +++ b/sdk/servicecatalog/src/operation/terminate_provisioned_product/builders.rs @@ -21,9 +21,9 @@ impl TerminateProvisionedProductFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -85,6 +85,22 @@ impl TerminateProvisionedProductFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::terminate_provisioned_product::TerminateProvisionedProduct, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::terminate_provisioned_product::TerminateProvisionedProductError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                                                                                            The name of the provisioned product. You cannot specify both ProvisionedProductName and ProvisionedProductId.

                                                                                                                                                                                                                                                                                                                                                                                                                                                            pub fn provisioned_product_name( mut self, diff --git a/sdk/servicecatalog/src/operation/update_constraint/builders.rs b/sdk/servicecatalog/src/operation/update_constraint/builders.rs index 7767b348a13f..b068476c2a03 100644 --- a/sdk/servicecatalog/src/operation/update_constraint/builders.rs +++ b/sdk/servicecatalog/src/operation/update_constraint/builders.rs @@ -19,9 +19,9 @@ impl UpdateConstraintFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl UpdateConstraintFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::update_constraint::UpdateConstraint, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::update_constraint::UpdateConstraintError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                                                                                            The language code.

                                                                                                                                                                                                                                                                                                                                                                                                                                                            ///
                                                                                                                                                                                                                                                                                                                                                                                                                                                              ///
                                                                                                                                                                                                                                                                                                                                                                                                                                                            • jp - Japanese

                                                                                                                                                                                                                                                                                                                                                                                                                                                            • diff --git a/sdk/servicecatalog/src/operation/update_portfolio/builders.rs b/sdk/servicecatalog/src/operation/update_portfolio/builders.rs index a6dcf2d57321..700cf593a2ea 100644 --- a/sdk/servicecatalog/src/operation/update_portfolio/builders.rs +++ b/sdk/servicecatalog/src/operation/update_portfolio/builders.rs @@ -20,9 +20,9 @@ impl UpdatePortfolioFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -84,6 +84,22 @@ impl UpdatePortfolioFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::update_portfolio::UpdatePortfolio, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::update_portfolio::UpdatePortfolioError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                                                                                              The language code.

                                                                                                                                                                                                                                                                                                                                                                                                                                                              ///
                                                                                                                                                                                                                                                                                                                                                                                                                                                                ///
                                                                                                                                                                                                                                                                                                                                                                                                                                                              • jp - Japanese

                                                                                                                                                                                                                                                                                                                                                                                                                                                              • diff --git a/sdk/servicecatalog/src/operation/update_portfolio_share/builders.rs b/sdk/servicecatalog/src/operation/update_portfolio_share/builders.rs index f284eb46bfc8..5d2a7eb97b3f 100644 --- a/sdk/servicecatalog/src/operation/update_portfolio_share/builders.rs +++ b/sdk/servicecatalog/src/operation/update_portfolio_share/builders.rs @@ -25,9 +25,9 @@ impl UpdatePortfolioShareFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -89,6 +89,22 @@ impl UpdatePortfolioShareFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::update_portfolio_share::UpdatePortfolioShare, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::update_portfolio_share::UpdatePortfolioShareError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                                                                                                The language code.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                ///
                                                                                                                                                                                                                                                                                                                                                                                                                                                                  ///
                                                                                                                                                                                                                                                                                                                                                                                                                                                                • jp - Japanese

                                                                                                                                                                                                                                                                                                                                                                                                                                                                • diff --git a/sdk/servicecatalog/src/operation/update_product/builders.rs b/sdk/servicecatalog/src/operation/update_product/builders.rs index 8593c9997b9e..1432e927ae23 100644 --- a/sdk/servicecatalog/src/operation/update_product/builders.rs +++ b/sdk/servicecatalog/src/operation/update_product/builders.rs @@ -19,9 +19,9 @@ impl UpdateProductFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl UpdateProductFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::update_product::UpdateProduct, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                                                                                                  The language code.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                  ///
                                                                                                                                                                                                                                                                                                                                                                                                                                                                    ///
                                                                                                                                                                                                                                                                                                                                                                                                                                                                  • jp - Japanese

                                                                                                                                                                                                                                                                                                                                                                                                                                                                  • diff --git a/sdk/servicecatalog/src/operation/update_provisioned_product/builders.rs b/sdk/servicecatalog/src/operation/update_provisioned_product/builders.rs index e2863828c427..a6bb76ae4704 100644 --- a/sdk/servicecatalog/src/operation/update_provisioned_product/builders.rs +++ b/sdk/servicecatalog/src/operation/update_provisioned_product/builders.rs @@ -21,9 +21,9 @@ impl UpdateProvisionedProductFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -85,6 +85,22 @@ impl UpdateProvisionedProductFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::update_provisioned_product::UpdateProvisionedProduct, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::update_provisioned_product::UpdateProvisionedProductError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                                                                                                    The language code.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                    ///
                                                                                                                                                                                                                                                                                                                                                                                                                                                                      ///
                                                                                                                                                                                                                                                                                                                                                                                                                                                                    • jp - Japanese

                                                                                                                                                                                                                                                                                                                                                                                                                                                                    • diff --git a/sdk/servicecatalog/src/operation/update_provisioned_product_properties/builders.rs b/sdk/servicecatalog/src/operation/update_provisioned_product_properties/builders.rs index 5f04f06133a8..bacfcc1d407e 100644 --- a/sdk/servicecatalog/src/operation/update_provisioned_product_properties/builders.rs +++ b/sdk/servicecatalog/src/operation/update_provisioned_product_properties/builders.rs @@ -19,9 +19,9 @@ impl UpdateProvisionedProductPropertiesFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize(self) -> ::std::result::Result< + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware(self) -> ::std::result::Result< crate::client::customize::CustomizableOperation, ::aws_smithy_http::result::SdkError >{ @@ -64,6 +64,15 @@ impl UpdateProvisionedProductPropertiesFluentBuilder { { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize(self) -> ::std::result::Result< + crate::client::customize::CustomizableOperation, + ::aws_smithy_http::result::SdkError + >{ + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                                                                                                      The language code.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                      ///
                                                                                                                                                                                                                                                                                                                                                                                                                                                                        ///
                                                                                                                                                                                                                                                                                                                                                                                                                                                                      • jp - Japanese

                                                                                                                                                                                                                                                                                                                                                                                                                                                                      • diff --git a/sdk/servicecatalog/src/operation/update_provisioning_artifact/builders.rs b/sdk/servicecatalog/src/operation/update_provisioning_artifact/builders.rs index ec85d9658430..9c12ec6bcc13 100644 --- a/sdk/servicecatalog/src/operation/update_provisioning_artifact/builders.rs +++ b/sdk/servicecatalog/src/operation/update_provisioning_artifact/builders.rs @@ -20,9 +20,9 @@ impl UpdateProvisioningArtifactFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -84,6 +84,22 @@ impl UpdateProvisioningArtifactFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::update_provisioning_artifact::UpdateProvisioningArtifact, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::update_provisioning_artifact::UpdateProvisioningArtifactError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                                                                                                        The language code.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                        ///
                                                                                                                                                                                                                                                                                                                                                                                                                                                                          ///
                                                                                                                                                                                                                                                                                                                                                                                                                                                                        • jp - Japanese

                                                                                                                                                                                                                                                                                                                                                                                                                                                                        • diff --git a/sdk/servicecatalog/src/operation/update_service_action/builders.rs b/sdk/servicecatalog/src/operation/update_service_action/builders.rs index 0480a1b9182d..220b40d683f7 100644 --- a/sdk/servicecatalog/src/operation/update_service_action/builders.rs +++ b/sdk/servicecatalog/src/operation/update_service_action/builders.rs @@ -19,9 +19,9 @@ impl UpdateServiceActionFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl UpdateServiceActionFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::update_service_action::UpdateServiceAction, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::update_service_action::UpdateServiceActionError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                                                                                                          The self-service action identifier.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                          pub fn id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.id(input.into()); diff --git a/sdk/servicecatalog/src/operation/update_tag_option/builders.rs b/sdk/servicecatalog/src/operation/update_tag_option/builders.rs index 058790b67084..d9e8899715d7 100644 --- a/sdk/servicecatalog/src/operation/update_tag_option/builders.rs +++ b/sdk/servicecatalog/src/operation/update_tag_option/builders.rs @@ -19,9 +19,9 @@ impl UpdateTagOptionFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl UpdateTagOptionFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::update_tag_option::UpdateTagOption, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::update_tag_option::UpdateTagOptionError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                                                                                                          The TagOption identifier.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                          pub fn id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.id(input.into()); diff --git a/sdk/servicecatalogappregistry/src/operation/associate_attribute_group/builders.rs b/sdk/servicecatalogappregistry/src/operation/associate_attribute_group/builders.rs index 1e1a09039faf..c7529efffe5c 100644 --- a/sdk/servicecatalogappregistry/src/operation/associate_attribute_group/builders.rs +++ b/sdk/servicecatalogappregistry/src/operation/associate_attribute_group/builders.rs @@ -20,9 +20,9 @@ impl AssociateAttributeGroupFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -84,6 +84,22 @@ impl AssociateAttributeGroupFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::associate_attribute_group::AssociateAttributeGroup, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::associate_attribute_group::AssociateAttributeGroupError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                                                                                                          The name, ID, or ARN of the application.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                          pub fn application(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.application(input.into()); diff --git a/sdk/servicecatalogappregistry/src/operation/associate_resource/builders.rs b/sdk/servicecatalogappregistry/src/operation/associate_resource/builders.rs index 1b15a6a1c266..1c5da11f4148 100644 --- a/sdk/servicecatalogappregistry/src/operation/associate_resource/builders.rs +++ b/sdk/servicecatalogappregistry/src/operation/associate_resource/builders.rs @@ -19,9 +19,9 @@ impl AssociateResourceFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl AssociateResourceFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::associate_resource::AssociateResource, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::associate_resource::AssociateResourceError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                                                                                                          The name, ID, or ARN of the application.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                          pub fn application(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.application(input.into()); diff --git a/sdk/servicecatalogappregistry/src/operation/create_application/builders.rs b/sdk/servicecatalogappregistry/src/operation/create_application/builders.rs index 7fc5c209fc78..e06e3be45a0b 100644 --- a/sdk/servicecatalogappregistry/src/operation/create_application/builders.rs +++ b/sdk/servicecatalogappregistry/src/operation/create_application/builders.rs @@ -19,9 +19,9 @@ impl CreateApplicationFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl CreateApplicationFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::create_application::CreateApplication, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::create_application::CreateApplicationError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                                                                                                          The name of the application. The name must be unique in the region in which you are creating the application.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                          pub fn name(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.name(input.into()); diff --git a/sdk/servicecatalogappregistry/src/operation/create_attribute_group/builders.rs b/sdk/servicecatalogappregistry/src/operation/create_attribute_group/builders.rs index 8c1c9b8c7b43..75421cda2c4b 100644 --- a/sdk/servicecatalogappregistry/src/operation/create_attribute_group/builders.rs +++ b/sdk/servicecatalogappregistry/src/operation/create_attribute_group/builders.rs @@ -19,9 +19,9 @@ impl CreateAttributeGroupFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl CreateAttributeGroupFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::create_attribute_group::CreateAttributeGroup, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::create_attribute_group::CreateAttributeGroupError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                                                                                                          The name of the attribute group.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                          pub fn name(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.name(input.into()); diff --git a/sdk/servicecatalogappregistry/src/operation/delete_application/builders.rs b/sdk/servicecatalogappregistry/src/operation/delete_application/builders.rs index da7979e763b0..d38edf994863 100644 --- a/sdk/servicecatalogappregistry/src/operation/delete_application/builders.rs +++ b/sdk/servicecatalogappregistry/src/operation/delete_application/builders.rs @@ -19,9 +19,9 @@ impl DeleteApplicationFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl DeleteApplicationFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::delete_application::DeleteApplication, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::delete_application::DeleteApplicationError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                                                                                                          The name, ID, or ARN of the application.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                          pub fn application(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.application(input.into()); diff --git a/sdk/servicecatalogappregistry/src/operation/delete_attribute_group/builders.rs b/sdk/servicecatalogappregistry/src/operation/delete_attribute_group/builders.rs index 7c3a9b1738fd..007d0bf50cf6 100644 --- a/sdk/servicecatalogappregistry/src/operation/delete_attribute_group/builders.rs +++ b/sdk/servicecatalogappregistry/src/operation/delete_attribute_group/builders.rs @@ -19,9 +19,9 @@ impl DeleteAttributeGroupFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl DeleteAttributeGroupFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::delete_attribute_group::DeleteAttributeGroup, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::delete_attribute_group::DeleteAttributeGroupError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                                                                                                          The name, ID, or ARN of the attribute group that holds the attributes to describe the application.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                          pub fn attribute_group( mut self, diff --git a/sdk/servicecatalogappregistry/src/operation/disassociate_attribute_group/builders.rs b/sdk/servicecatalogappregistry/src/operation/disassociate_attribute_group/builders.rs index 884d2c1d7053..231d998525d5 100644 --- a/sdk/servicecatalogappregistry/src/operation/disassociate_attribute_group/builders.rs +++ b/sdk/servicecatalogappregistry/src/operation/disassociate_attribute_group/builders.rs @@ -19,9 +19,9 @@ impl DisassociateAttributeGroupFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl DisassociateAttributeGroupFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::disassociate_attribute_group::DisassociateAttributeGroup, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::disassociate_attribute_group::DisassociateAttributeGroupError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                                                                                                          The name, ID, or ARN of the application.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                          pub fn application(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.application(input.into()); diff --git a/sdk/servicecatalogappregistry/src/operation/disassociate_resource/builders.rs b/sdk/servicecatalogappregistry/src/operation/disassociate_resource/builders.rs index 77a65ab46f49..d4abbef3b2c0 100644 --- a/sdk/servicecatalogappregistry/src/operation/disassociate_resource/builders.rs +++ b/sdk/servicecatalogappregistry/src/operation/disassociate_resource/builders.rs @@ -19,9 +19,9 @@ impl DisassociateResourceFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl DisassociateResourceFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::disassociate_resource::DisassociateResource, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::disassociate_resource::DisassociateResourceError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                                                                                                          The name or ID of the application.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                          pub fn application(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.application(input.into()); diff --git a/sdk/servicecatalogappregistry/src/operation/get_application/builders.rs b/sdk/servicecatalogappregistry/src/operation/get_application/builders.rs index 87d394eb32f9..47682e46ee91 100644 --- a/sdk/servicecatalogappregistry/src/operation/get_application/builders.rs +++ b/sdk/servicecatalogappregistry/src/operation/get_application/builders.rs @@ -19,9 +19,9 @@ impl GetApplicationFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl GetApplicationFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::get_application::GetApplication, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                                                                                                          The name, ID, or ARN of the application.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                          pub fn application(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.application(input.into()); diff --git a/sdk/servicecatalogappregistry/src/operation/get_associated_resource/builders.rs b/sdk/servicecatalogappregistry/src/operation/get_associated_resource/builders.rs index b63b9b872818..d4ac202dfec3 100644 --- a/sdk/servicecatalogappregistry/src/operation/get_associated_resource/builders.rs +++ b/sdk/servicecatalogappregistry/src/operation/get_associated_resource/builders.rs @@ -19,9 +19,9 @@ impl GetAssociatedResourceFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl GetAssociatedResourceFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::get_associated_resource::GetAssociatedResource, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::get_associated_resource::GetAssociatedResourceError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                                                                                                          The name, ID, or ARN of the application.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                          pub fn application(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.application(input.into()); diff --git a/sdk/servicecatalogappregistry/src/operation/get_attribute_group/builders.rs b/sdk/servicecatalogappregistry/src/operation/get_attribute_group/builders.rs index 27d7db527736..d279167c2505 100644 --- a/sdk/servicecatalogappregistry/src/operation/get_attribute_group/builders.rs +++ b/sdk/servicecatalogappregistry/src/operation/get_attribute_group/builders.rs @@ -19,9 +19,9 @@ impl GetAttributeGroupFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl GetAttributeGroupFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::get_attribute_group::GetAttributeGroup, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::get_attribute_group::GetAttributeGroupError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                                                                                                          The name, ID, or ARN of the attribute group that holds the attributes to describe the application.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                          pub fn attribute_group( mut self, diff --git a/sdk/servicecatalogappregistry/src/operation/get_configuration/builders.rs b/sdk/servicecatalogappregistry/src/operation/get_configuration/builders.rs index f0cab13ca046..a3814fb5a169 100644 --- a/sdk/servicecatalogappregistry/src/operation/get_configuration/builders.rs +++ b/sdk/servicecatalogappregistry/src/operation/get_configuration/builders.rs @@ -19,9 +19,9 @@ impl GetConfigurationFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,4 +83,20 @@ impl GetConfigurationFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::get_configuration::GetConfiguration, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::get_configuration::GetConfigurationError, + >, + > { + self.customize_middleware().await + } } diff --git a/sdk/servicecatalogappregistry/src/operation/list_applications/builders.rs b/sdk/servicecatalogappregistry/src/operation/list_applications/builders.rs index 3b48979e70d7..d25ca1b227a8 100644 --- a/sdk/servicecatalogappregistry/src/operation/list_applications/builders.rs +++ b/sdk/servicecatalogappregistry/src/operation/list_applications/builders.rs @@ -19,9 +19,9 @@ impl ListApplicationsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl ListApplicationsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_applications::ListApplications, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::list_applications::ListApplicationsError, + >, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::list_applications::paginator::ListApplicationsPaginator::send) which returns a `Stream`. diff --git a/sdk/servicecatalogappregistry/src/operation/list_associated_attribute_groups/builders.rs b/sdk/servicecatalogappregistry/src/operation/list_associated_attribute_groups/builders.rs index 005164f96094..416f86dfde26 100644 --- a/sdk/servicecatalogappregistry/src/operation/list_associated_attribute_groups/builders.rs +++ b/sdk/servicecatalogappregistry/src/operation/list_associated_attribute_groups/builders.rs @@ -19,9 +19,9 @@ impl ListAssociatedAttributeGroupsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl ListAssociatedAttributeGroupsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_associated_attribute_groups::ListAssociatedAttributeGroups, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::list_associated_attribute_groups::ListAssociatedAttributeGroupsError, + >, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::list_associated_attribute_groups::paginator::ListAssociatedAttributeGroupsPaginator::send) which returns a `Stream`. diff --git a/sdk/servicecatalogappregistry/src/operation/list_associated_resources/builders.rs b/sdk/servicecatalogappregistry/src/operation/list_associated_resources/builders.rs index a859e7475661..54182bfef831 100644 --- a/sdk/servicecatalogappregistry/src/operation/list_associated_resources/builders.rs +++ b/sdk/servicecatalogappregistry/src/operation/list_associated_resources/builders.rs @@ -22,9 +22,9 @@ impl ListAssociatedResourcesFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -86,6 +86,22 @@ impl ListAssociatedResourcesFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_associated_resources::ListAssociatedResources, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::list_associated_resources::ListAssociatedResourcesError, + >, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::list_associated_resources::paginator::ListAssociatedResourcesPaginator::send) which returns a `Stream`. diff --git a/sdk/servicecatalogappregistry/src/operation/list_attribute_groups/builders.rs b/sdk/servicecatalogappregistry/src/operation/list_attribute_groups/builders.rs index ec140a63b514..ad587dc584f9 100644 --- a/sdk/servicecatalogappregistry/src/operation/list_attribute_groups/builders.rs +++ b/sdk/servicecatalogappregistry/src/operation/list_attribute_groups/builders.rs @@ -19,9 +19,9 @@ impl ListAttributeGroupsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl ListAttributeGroupsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_attribute_groups::ListAttributeGroups, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::list_attribute_groups::ListAttributeGroupsError, + >, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::list_attribute_groups::paginator::ListAttributeGroupsPaginator::send) which returns a `Stream`. diff --git a/sdk/servicecatalogappregistry/src/operation/list_attribute_groups_for_application/builders.rs b/sdk/servicecatalogappregistry/src/operation/list_attribute_groups_for_application/builders.rs index 410646879bd6..555d4909f900 100644 --- a/sdk/servicecatalogappregistry/src/operation/list_attribute_groups_for_application/builders.rs +++ b/sdk/servicecatalogappregistry/src/operation/list_attribute_groups_for_application/builders.rs @@ -19,9 +19,9 @@ impl ListAttributeGroupsForApplicationFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize(self) -> ::std::result::Result< + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware(self) -> ::std::result::Result< crate::client::customize::CustomizableOperation, ::aws_smithy_http::result::SdkError >{ @@ -64,6 +64,15 @@ impl ListAttributeGroupsForApplicationFluentBuilder { { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize(self) -> ::std::result::Result< + crate::client::customize::CustomizableOperation, + ::aws_smithy_http::result::SdkError + >{ + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::list_attribute_groups_for_application::paginator::ListAttributeGroupsForApplicationPaginator::send) which returns a `Stream`. diff --git a/sdk/servicecatalogappregistry/src/operation/list_tags_for_resource/builders.rs b/sdk/servicecatalogappregistry/src/operation/list_tags_for_resource/builders.rs index 0ef5c045dfbb..709a2f87fe50 100644 --- a/sdk/servicecatalogappregistry/src/operation/list_tags_for_resource/builders.rs +++ b/sdk/servicecatalogappregistry/src/operation/list_tags_for_resource/builders.rs @@ -19,9 +19,9 @@ impl ListTagsForResourceFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl ListTagsForResourceFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_tags_for_resource::ListTagsForResource, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::list_tags_for_resource::ListTagsForResourceError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                                                                                                          The Amazon resource name (ARN) that specifies the resource.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                          pub fn resource_arn(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.resource_arn(input.into()); diff --git a/sdk/servicecatalogappregistry/src/operation/put_configuration/builders.rs b/sdk/servicecatalogappregistry/src/operation/put_configuration/builders.rs index aa467d0541ee..0d4b2e12266e 100644 --- a/sdk/servicecatalogappregistry/src/operation/put_configuration/builders.rs +++ b/sdk/servicecatalogappregistry/src/operation/put_configuration/builders.rs @@ -19,9 +19,9 @@ impl PutConfigurationFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl PutConfigurationFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::put_configuration::PutConfiguration, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::put_configuration::PutConfigurationError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                                                                                                          Associates a TagKey configuration to an account.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                          pub fn configuration(mut self, input: crate::types::AppRegistryConfiguration) -> Self { self.inner = self.inner.configuration(input); diff --git a/sdk/servicecatalogappregistry/src/operation/sync_resource/builders.rs b/sdk/servicecatalogappregistry/src/operation/sync_resource/builders.rs index 4074e7dc6a49..c9cb02fcf5a0 100644 --- a/sdk/servicecatalogappregistry/src/operation/sync_resource/builders.rs +++ b/sdk/servicecatalogappregistry/src/operation/sync_resource/builders.rs @@ -20,9 +20,9 @@ impl SyncResourceFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -78,6 +78,20 @@ impl SyncResourceFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::sync_resource::SyncResource, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                                                                                                          The type of resource of which the application will be associated.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                          pub fn resource_type(mut self, input: crate::types::ResourceType) -> Self { self.inner = self.inner.resource_type(input); diff --git a/sdk/servicecatalogappregistry/src/operation/tag_resource/builders.rs b/sdk/servicecatalogappregistry/src/operation/tag_resource/builders.rs index 3aa16ea3bf0b..783e85732b2a 100644 --- a/sdk/servicecatalogappregistry/src/operation/tag_resource/builders.rs +++ b/sdk/servicecatalogappregistry/src/operation/tag_resource/builders.rs @@ -21,9 +21,9 @@ impl TagResourceFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -79,6 +79,20 @@ impl TagResourceFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::tag_resource::TagResource, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                                                                                                          The Amazon resource name (ARN) that specifies the resource.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                          pub fn resource_arn(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.resource_arn(input.into()); diff --git a/sdk/servicecatalogappregistry/src/operation/untag_resource/builders.rs b/sdk/servicecatalogappregistry/src/operation/untag_resource/builders.rs index e4cfca7bf91e..cafa32f25dc1 100644 --- a/sdk/servicecatalogappregistry/src/operation/untag_resource/builders.rs +++ b/sdk/servicecatalogappregistry/src/operation/untag_resource/builders.rs @@ -20,9 +20,9 @@ impl UntagResourceFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -78,6 +78,20 @@ impl UntagResourceFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::untag_resource::UntagResource, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                                                                                                          The Amazon resource name (ARN) that specifies the resource.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                          pub fn resource_arn(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.resource_arn(input.into()); diff --git a/sdk/servicecatalogappregistry/src/operation/update_application/builders.rs b/sdk/servicecatalogappregistry/src/operation/update_application/builders.rs index 5557e331eb9b..8212d6a669d9 100644 --- a/sdk/servicecatalogappregistry/src/operation/update_application/builders.rs +++ b/sdk/servicecatalogappregistry/src/operation/update_application/builders.rs @@ -19,9 +19,9 @@ impl UpdateApplicationFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl UpdateApplicationFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::update_application::UpdateApplication, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::update_application::UpdateApplicationError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                                                                                                          The name, ID, or ARN of the application that will be updated.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                          pub fn application(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.application(input.into()); diff --git a/sdk/servicecatalogappregistry/src/operation/update_attribute_group/builders.rs b/sdk/servicecatalogappregistry/src/operation/update_attribute_group/builders.rs index eff5fe732582..c2e32f1bf914 100644 --- a/sdk/servicecatalogappregistry/src/operation/update_attribute_group/builders.rs +++ b/sdk/servicecatalogappregistry/src/operation/update_attribute_group/builders.rs @@ -19,9 +19,9 @@ impl UpdateAttributeGroupFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl UpdateAttributeGroupFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::update_attribute_group::UpdateAttributeGroup, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::update_attribute_group::UpdateAttributeGroupError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                                                                                                          The name, ID, or ARN of the attribute group that holds the attributes to describe the application.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                          pub fn attribute_group( mut self, diff --git a/sdk/servicediscovery/src/operation/create_http_namespace/builders.rs b/sdk/servicediscovery/src/operation/create_http_namespace/builders.rs index 6409282de515..16ff373c3085 100644 --- a/sdk/servicediscovery/src/operation/create_http_namespace/builders.rs +++ b/sdk/servicediscovery/src/operation/create_http_namespace/builders.rs @@ -20,9 +20,9 @@ impl CreateHttpNamespaceFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -84,6 +84,22 @@ impl CreateHttpNamespaceFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::create_http_namespace::CreateHttpNamespace, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::create_http_namespace::CreateHttpNamespaceError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                                                                                                          The name that you want to assign to this namespace.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                          pub fn name(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.name(input.into()); diff --git a/sdk/servicediscovery/src/operation/create_private_dns_namespace/builders.rs b/sdk/servicediscovery/src/operation/create_private_dns_namespace/builders.rs index 0329e2e884f8..67a7629d4b9a 100644 --- a/sdk/servicediscovery/src/operation/create_private_dns_namespace/builders.rs +++ b/sdk/servicediscovery/src/operation/create_private_dns_namespace/builders.rs @@ -19,9 +19,9 @@ impl CreatePrivateDnsNamespaceFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl CreatePrivateDnsNamespaceFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::create_private_dns_namespace::CreatePrivateDnsNamespace, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::create_private_dns_namespace::CreatePrivateDnsNamespaceError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                                                                                                          The name that you want to assign to this namespace. When you create a private DNS namespace, Cloud Map automatically creates an Amazon Route 53 private hosted zone that has the same name as the namespace.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                          pub fn name(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.name(input.into()); diff --git a/sdk/servicediscovery/src/operation/create_public_dns_namespace/builders.rs b/sdk/servicediscovery/src/operation/create_public_dns_namespace/builders.rs index 33555f397e15..17cf0581126f 100644 --- a/sdk/servicediscovery/src/operation/create_public_dns_namespace/builders.rs +++ b/sdk/servicediscovery/src/operation/create_public_dns_namespace/builders.rs @@ -21,9 +21,9 @@ impl CreatePublicDnsNamespaceFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -85,6 +85,22 @@ impl CreatePublicDnsNamespaceFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::create_public_dns_namespace::CreatePublicDnsNamespace, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::create_public_dns_namespace::CreatePublicDnsNamespaceError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                                                                                                          The name that you want to assign to this namespace.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                          ///

                                                                                                                                                                                                                                                                                                                                                                                                                                                                          Do not include sensitive information in the name. The name is publicly available using DNS queries.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                          ///
                                                                                                                                                                                                                                                                                                                                                                                                                                                                          diff --git a/sdk/servicediscovery/src/operation/create_service/builders.rs b/sdk/servicediscovery/src/operation/create_service/builders.rs index 65441129e1aa..ee64dfdecbf3 100644 --- a/sdk/servicediscovery/src/operation/create_service/builders.rs +++ b/sdk/servicediscovery/src/operation/create_service/builders.rs @@ -32,9 +32,9 @@ impl CreateServiceFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -90,6 +90,20 @@ impl CreateServiceFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::create_service::CreateService, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                                                                                                          The name that you want to assign to the service.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                          ///

                                                                                                                                                                                                                                                                                                                                                                                                                                                                          Do not include sensitive information in the name if the namespace is discoverable by public DNS queries.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                          ///
                                                                                                                                                                                                                                                                                                                                                                                                                                                                          diff --git a/sdk/servicediscovery/src/operation/delete_namespace/builders.rs b/sdk/servicediscovery/src/operation/delete_namespace/builders.rs index 5488edf7ccef..04fe0fa8476d 100644 --- a/sdk/servicediscovery/src/operation/delete_namespace/builders.rs +++ b/sdk/servicediscovery/src/operation/delete_namespace/builders.rs @@ -19,9 +19,9 @@ impl DeleteNamespaceFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl DeleteNamespaceFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::delete_namespace::DeleteNamespace, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::delete_namespace::DeleteNamespaceError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                                                                                                          The ID of the namespace that you want to delete.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                          pub fn id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.id(input.into()); diff --git a/sdk/servicediscovery/src/operation/delete_service/builders.rs b/sdk/servicediscovery/src/operation/delete_service/builders.rs index b52616045653..445bd8ea9431 100644 --- a/sdk/servicediscovery/src/operation/delete_service/builders.rs +++ b/sdk/servicediscovery/src/operation/delete_service/builders.rs @@ -19,9 +19,9 @@ impl DeleteServiceFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl DeleteServiceFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::delete_service::DeleteService, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                                                                                                          The ID of the service that you want to delete.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                          pub fn id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.id(input.into()); diff --git a/sdk/servicediscovery/src/operation/deregister_instance/builders.rs b/sdk/servicediscovery/src/operation/deregister_instance/builders.rs index 60bfaa551a11..5ecfcf672a1d 100644 --- a/sdk/servicediscovery/src/operation/deregister_instance/builders.rs +++ b/sdk/servicediscovery/src/operation/deregister_instance/builders.rs @@ -19,9 +19,9 @@ impl DeregisterInstanceFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl DeregisterInstanceFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::deregister_instance::DeregisterInstance, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::deregister_instance::DeregisterInstanceError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                                                                                                          The ID of the service that the instance is associated with.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                          pub fn service_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.service_id(input.into()); diff --git a/sdk/servicediscovery/src/operation/discover_instances/builders.rs b/sdk/servicediscovery/src/operation/discover_instances/builders.rs index e219d5b7d592..75864797a0e9 100644 --- a/sdk/servicediscovery/src/operation/discover_instances/builders.rs +++ b/sdk/servicediscovery/src/operation/discover_instances/builders.rs @@ -19,9 +19,9 @@ impl DiscoverInstancesFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl DiscoverInstancesFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::discover_instances::DiscoverInstances, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::discover_instances::DiscoverInstancesError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                                                                                                          The HttpName name of the namespace. It's found in the HttpProperties member of the Properties member of the namespace.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                          pub fn namespace_name( mut self, diff --git a/sdk/servicediscovery/src/operation/get_instance/builders.rs b/sdk/servicediscovery/src/operation/get_instance/builders.rs index 5e94283bea45..cac31fa77910 100644 --- a/sdk/servicediscovery/src/operation/get_instance/builders.rs +++ b/sdk/servicediscovery/src/operation/get_instance/builders.rs @@ -19,9 +19,9 @@ impl GetInstanceFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl GetInstanceFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::get_instance::GetInstance, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                                                                                                          The ID of the service that the instance is associated with.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                          pub fn service_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.service_id(input.into()); diff --git a/sdk/servicediscovery/src/operation/get_instances_health_status/builders.rs b/sdk/servicediscovery/src/operation/get_instances_health_status/builders.rs index 08ffb34e3aa4..d382d15f17be 100644 --- a/sdk/servicediscovery/src/operation/get_instances_health_status/builders.rs +++ b/sdk/servicediscovery/src/operation/get_instances_health_status/builders.rs @@ -21,9 +21,9 @@ impl GetInstancesHealthStatusFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -85,6 +85,22 @@ impl GetInstancesHealthStatusFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::get_instances_health_status::GetInstancesHealthStatus, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::get_instances_health_status::GetInstancesHealthStatusError, + >, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::get_instances_health_status::paginator::GetInstancesHealthStatusPaginator::send) which returns a `Stream`. diff --git a/sdk/servicediscovery/src/operation/get_namespace/builders.rs b/sdk/servicediscovery/src/operation/get_namespace/builders.rs index 0b8fac9b7f0c..96a044e54430 100644 --- a/sdk/servicediscovery/src/operation/get_namespace/builders.rs +++ b/sdk/servicediscovery/src/operation/get_namespace/builders.rs @@ -19,9 +19,9 @@ impl GetNamespaceFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl GetNamespaceFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::get_namespace::GetNamespace, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                                                                                                          The ID of the namespace that you want to get information about.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                          pub fn id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.id(input.into()); diff --git a/sdk/servicediscovery/src/operation/get_operation/builders.rs b/sdk/servicediscovery/src/operation/get_operation/builders.rs index b24a6d6d11cb..ce0dc30feafa 100644 --- a/sdk/servicediscovery/src/operation/get_operation/builders.rs +++ b/sdk/servicediscovery/src/operation/get_operation/builders.rs @@ -21,9 +21,9 @@ impl GetOperationFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -79,6 +79,20 @@ impl GetOperationFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::get_operation::GetOperation, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                                                                                                          The ID of the operation that you want to get more information about.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                          pub fn operation_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.operation_id(input.into()); diff --git a/sdk/servicediscovery/src/operation/get_service/builders.rs b/sdk/servicediscovery/src/operation/get_service/builders.rs index 454f0e17392c..2bcb5c00bf45 100644 --- a/sdk/servicediscovery/src/operation/get_service/builders.rs +++ b/sdk/servicediscovery/src/operation/get_service/builders.rs @@ -19,9 +19,9 @@ impl GetServiceFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl GetServiceFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::get_service::GetService, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                                                                                                          The ID of the service that you want to get settings for.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                          pub fn id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.id(input.into()); diff --git a/sdk/servicediscovery/src/operation/list_instances/builders.rs b/sdk/servicediscovery/src/operation/list_instances/builders.rs index ca72817dc7ef..cf0a9ddf1116 100644 --- a/sdk/servicediscovery/src/operation/list_instances/builders.rs +++ b/sdk/servicediscovery/src/operation/list_instances/builders.rs @@ -19,9 +19,9 @@ impl ListInstancesFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl ListInstancesFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_instances::ListInstances, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::list_instances::paginator::ListInstancesPaginator::send) which returns a `Stream`. diff --git a/sdk/servicediscovery/src/operation/list_namespaces/builders.rs b/sdk/servicediscovery/src/operation/list_namespaces/builders.rs index 7f5d1fea1fb2..6646a91d5fcc 100644 --- a/sdk/servicediscovery/src/operation/list_namespaces/builders.rs +++ b/sdk/servicediscovery/src/operation/list_namespaces/builders.rs @@ -19,9 +19,9 @@ impl ListNamespacesFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl ListNamespacesFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_namespaces::ListNamespaces, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::list_namespaces::paginator::ListNamespacesPaginator::send) which returns a `Stream`. diff --git a/sdk/servicediscovery/src/operation/list_operations/builders.rs b/sdk/servicediscovery/src/operation/list_operations/builders.rs index ca03c807ba5c..f349b1f0070d 100644 --- a/sdk/servicediscovery/src/operation/list_operations/builders.rs +++ b/sdk/servicediscovery/src/operation/list_operations/builders.rs @@ -19,9 +19,9 @@ impl ListOperationsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl ListOperationsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_operations::ListOperations, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::list_operations::paginator::ListOperationsPaginator::send) which returns a `Stream`. diff --git a/sdk/servicediscovery/src/operation/list_services/builders.rs b/sdk/servicediscovery/src/operation/list_services/builders.rs index 1c28bd82da83..455a0106e0ba 100644 --- a/sdk/servicediscovery/src/operation/list_services/builders.rs +++ b/sdk/servicediscovery/src/operation/list_services/builders.rs @@ -19,9 +19,9 @@ impl ListServicesFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl ListServicesFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_services::ListServices, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::list_services::paginator::ListServicesPaginator::send) which returns a `Stream`. diff --git a/sdk/servicediscovery/src/operation/list_tags_for_resource/builders.rs b/sdk/servicediscovery/src/operation/list_tags_for_resource/builders.rs index e967772eacf1..b79455267233 100644 --- a/sdk/servicediscovery/src/operation/list_tags_for_resource/builders.rs +++ b/sdk/servicediscovery/src/operation/list_tags_for_resource/builders.rs @@ -19,9 +19,9 @@ impl ListTagsForResourceFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl ListTagsForResourceFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_tags_for_resource::ListTagsForResource, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::list_tags_for_resource::ListTagsForResourceError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                                                                                                          The Amazon Resource Name (ARN) of the resource that you want to retrieve tags for.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                          pub fn resource_arn(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.resource_arn(input.into()); diff --git a/sdk/servicediscovery/src/operation/register_instance/builders.rs b/sdk/servicediscovery/src/operation/register_instance/builders.rs index 8d0ee062a369..f01f26728877 100644 --- a/sdk/servicediscovery/src/operation/register_instance/builders.rs +++ b/sdk/servicediscovery/src/operation/register_instance/builders.rs @@ -34,9 +34,9 @@ impl RegisterInstanceFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -98,6 +98,22 @@ impl RegisterInstanceFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::register_instance::RegisterInstance, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::register_instance::RegisterInstanceError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                                                                                                          The ID of the service that you want to use for settings for the instance.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                          pub fn service_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.service_id(input.into()); diff --git a/sdk/servicediscovery/src/operation/tag_resource/builders.rs b/sdk/servicediscovery/src/operation/tag_resource/builders.rs index db2282958ad4..fc9d603b5d51 100644 --- a/sdk/servicediscovery/src/operation/tag_resource/builders.rs +++ b/sdk/servicediscovery/src/operation/tag_resource/builders.rs @@ -19,9 +19,9 @@ impl TagResourceFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl TagResourceFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::tag_resource::TagResource, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                                                                                                          The Amazon Resource Name (ARN) of the resource that you want to retrieve tags for.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                          pub fn resource_arn(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.resource_arn(input.into()); diff --git a/sdk/servicediscovery/src/operation/untag_resource/builders.rs b/sdk/servicediscovery/src/operation/untag_resource/builders.rs index 463c17e9aad6..efd797380671 100644 --- a/sdk/servicediscovery/src/operation/untag_resource/builders.rs +++ b/sdk/servicediscovery/src/operation/untag_resource/builders.rs @@ -19,9 +19,9 @@ impl UntagResourceFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl UntagResourceFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::untag_resource::UntagResource, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                                                                                                          The Amazon Resource Name (ARN) of the resource that you want to retrieve tags for.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                          pub fn resource_arn(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.resource_arn(input.into()); diff --git a/sdk/servicediscovery/src/operation/update_http_namespace/builders.rs b/sdk/servicediscovery/src/operation/update_http_namespace/builders.rs index 26e470629774..d0f99bbd0216 100644 --- a/sdk/servicediscovery/src/operation/update_http_namespace/builders.rs +++ b/sdk/servicediscovery/src/operation/update_http_namespace/builders.rs @@ -19,9 +19,9 @@ impl UpdateHttpNamespaceFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl UpdateHttpNamespaceFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::update_http_namespace::UpdateHttpNamespace, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::update_http_namespace::UpdateHttpNamespaceError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                                                                                                          The ID of the namespace that you want to update.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                          pub fn id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.id(input.into()); diff --git a/sdk/servicediscovery/src/operation/update_instance_custom_health_status/builders.rs b/sdk/servicediscovery/src/operation/update_instance_custom_health_status/builders.rs index 0dcfa0ca2ab2..236e1a345c78 100644 --- a/sdk/servicediscovery/src/operation/update_instance_custom_health_status/builders.rs +++ b/sdk/servicediscovery/src/operation/update_instance_custom_health_status/builders.rs @@ -21,9 +21,9 @@ impl UpdateInstanceCustomHealthStatusFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize(self) -> ::std::result::Result< + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware(self) -> ::std::result::Result< crate::client::customize::CustomizableOperation, ::aws_smithy_http::result::SdkError >{ @@ -66,6 +66,15 @@ impl UpdateInstanceCustomHealthStatusFluentBuilder { { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize(self) -> ::std::result::Result< + crate::client::customize::CustomizableOperation, + ::aws_smithy_http::result::SdkError + >{ + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                                                                                                          The ID of the service that includes the configuration for the custom health check that you want to change the status for.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                          pub fn service_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.service_id(input.into()); diff --git a/sdk/servicediscovery/src/operation/update_private_dns_namespace/builders.rs b/sdk/servicediscovery/src/operation/update_private_dns_namespace/builders.rs index 4fac722869e9..1e77cd83357b 100644 --- a/sdk/servicediscovery/src/operation/update_private_dns_namespace/builders.rs +++ b/sdk/servicediscovery/src/operation/update_private_dns_namespace/builders.rs @@ -19,9 +19,9 @@ impl UpdatePrivateDnsNamespaceFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl UpdatePrivateDnsNamespaceFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::update_private_dns_namespace::UpdatePrivateDnsNamespace, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::update_private_dns_namespace::UpdatePrivateDnsNamespaceError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                                                                                                          The ID of the namespace that you want to update.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                          pub fn id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.id(input.into()); diff --git a/sdk/servicediscovery/src/operation/update_public_dns_namespace/builders.rs b/sdk/servicediscovery/src/operation/update_public_dns_namespace/builders.rs index d6cc4db90d7e..c4ecc5c9fc54 100644 --- a/sdk/servicediscovery/src/operation/update_public_dns_namespace/builders.rs +++ b/sdk/servicediscovery/src/operation/update_public_dns_namespace/builders.rs @@ -19,9 +19,9 @@ impl UpdatePublicDnsNamespaceFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl UpdatePublicDnsNamespaceFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::update_public_dns_namespace::UpdatePublicDnsNamespace, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::update_public_dns_namespace::UpdatePublicDnsNamespaceError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                                                                                                          The ID of the namespace being updated.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                          pub fn id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.id(input.into()); diff --git a/sdk/servicediscovery/src/operation/update_service/builders.rs b/sdk/servicediscovery/src/operation/update_service/builders.rs index 909fbcdb2903..47694ca86e67 100644 --- a/sdk/servicediscovery/src/operation/update_service/builders.rs +++ b/sdk/servicediscovery/src/operation/update_service/builders.rs @@ -31,9 +31,9 @@ impl UpdateServiceFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -89,6 +89,20 @@ impl UpdateServiceFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::update_service::UpdateService, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                                                                                                          The ID of the service that you want to update.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                          pub fn id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.id(input.into()); diff --git a/sdk/servicequotas/src/operation/associate_service_quota_template/builders.rs b/sdk/servicequotas/src/operation/associate_service_quota_template/builders.rs index 5e7c59310346..cfec337df01b 100644 --- a/sdk/servicequotas/src/operation/associate_service_quota_template/builders.rs +++ b/sdk/servicequotas/src/operation/associate_service_quota_template/builders.rs @@ -19,9 +19,9 @@ impl AssociateServiceQuotaTemplateFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,4 +83,20 @@ impl AssociateServiceQuotaTemplateFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::associate_service_quota_template::AssociateServiceQuotaTemplate, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::associate_service_quota_template::AssociateServiceQuotaTemplateError, + >, + > { + self.customize_middleware().await + } } diff --git a/sdk/servicequotas/src/operation/delete_service_quota_increase_request_from_template/builders.rs b/sdk/servicequotas/src/operation/delete_service_quota_increase_request_from_template/builders.rs index 84e2e50236de..90c5572709a8 100644 --- a/sdk/servicequotas/src/operation/delete_service_quota_increase_request_from_template/builders.rs +++ b/sdk/servicequotas/src/operation/delete_service_quota_increase_request_from_template/builders.rs @@ -19,9 +19,9 @@ impl DeleteServiceQuotaIncreaseRequestFromTemplateFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize(self) -> ::std::result::Result< + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware(self) -> ::std::result::Result< crate::client::customize::CustomizableOperation, ::aws_smithy_http::result::SdkError >{ @@ -64,6 +64,15 @@ impl DeleteServiceQuotaIncreaseRequestFromTemplateFluentBuilder { { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize(self) -> ::std::result::Result< + crate::client::customize::CustomizableOperation, + ::aws_smithy_http::result::SdkError + >{ + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                                                                                                          The service identifier.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                          pub fn service_code(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.service_code(input.into()); diff --git a/sdk/servicequotas/src/operation/disassociate_service_quota_template/builders.rs b/sdk/servicequotas/src/operation/disassociate_service_quota_template/builders.rs index 49b843943f54..9378f45bcaeb 100644 --- a/sdk/servicequotas/src/operation/disassociate_service_quota_template/builders.rs +++ b/sdk/servicequotas/src/operation/disassociate_service_quota_template/builders.rs @@ -19,9 +19,9 @@ impl DisassociateServiceQuotaTemplateFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize(self) -> ::std::result::Result< + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware(self) -> ::std::result::Result< crate::client::customize::CustomizableOperation, ::aws_smithy_http::result::SdkError >{ @@ -64,4 +64,13 @@ impl DisassociateServiceQuotaTemplateFluentBuilder { { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize(self) -> ::std::result::Result< + crate::client::customize::CustomizableOperation, + ::aws_smithy_http::result::SdkError + >{ + self.customize_middleware().await + } } diff --git a/sdk/servicequotas/src/operation/get_association_for_service_quota_template/builders.rs b/sdk/servicequotas/src/operation/get_association_for_service_quota_template/builders.rs index 44bb98157807..e50361e3c48f 100644 --- a/sdk/servicequotas/src/operation/get_association_for_service_quota_template/builders.rs +++ b/sdk/servicequotas/src/operation/get_association_for_service_quota_template/builders.rs @@ -19,9 +19,9 @@ impl GetAssociationForServiceQuotaTemplateFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize(self) -> ::std::result::Result< + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware(self) -> ::std::result::Result< crate::client::customize::CustomizableOperation, ::aws_smithy_http::result::SdkError >{ @@ -64,4 +64,13 @@ impl GetAssociationForServiceQuotaTemplateFluentBuilder { { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize(self) -> ::std::result::Result< + crate::client::customize::CustomizableOperation, + ::aws_smithy_http::result::SdkError + >{ + self.customize_middleware().await + } } diff --git a/sdk/servicequotas/src/operation/get_aws_default_service_quota/builders.rs b/sdk/servicequotas/src/operation/get_aws_default_service_quota/builders.rs index 661d5f557b44..4cbc0cc33eec 100644 --- a/sdk/servicequotas/src/operation/get_aws_default_service_quota/builders.rs +++ b/sdk/servicequotas/src/operation/get_aws_default_service_quota/builders.rs @@ -19,9 +19,9 @@ impl GetAWSDefaultServiceQuotaFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl GetAWSDefaultServiceQuotaFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::get_aws_default_service_quota::GetAWSDefaultServiceQuota, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::get_aws_default_service_quota::GetAWSDefaultServiceQuotaError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                                                                                                          The service identifier.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                          pub fn service_code(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.service_code(input.into()); diff --git a/sdk/servicequotas/src/operation/get_requested_service_quota_change/builders.rs b/sdk/servicequotas/src/operation/get_requested_service_quota_change/builders.rs index c81a9ded5f94..d052bd94171a 100644 --- a/sdk/servicequotas/src/operation/get_requested_service_quota_change/builders.rs +++ b/sdk/servicequotas/src/operation/get_requested_service_quota_change/builders.rs @@ -19,9 +19,9 @@ impl GetRequestedServiceQuotaChangeFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize(self) -> ::std::result::Result< + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware(self) -> ::std::result::Result< crate::client::customize::CustomizableOperation, ::aws_smithy_http::result::SdkError >{ @@ -64,6 +64,15 @@ impl GetRequestedServiceQuotaChangeFluentBuilder { { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize(self) -> ::std::result::Result< + crate::client::customize::CustomizableOperation, + ::aws_smithy_http::result::SdkError + >{ + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                                                                                                          The ID of the quota increase request.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                          pub fn request_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.request_id(input.into()); diff --git a/sdk/servicequotas/src/operation/get_service_quota/builders.rs b/sdk/servicequotas/src/operation/get_service_quota/builders.rs index 7f1d7bb1e48c..941e75d1b001 100644 --- a/sdk/servicequotas/src/operation/get_service_quota/builders.rs +++ b/sdk/servicequotas/src/operation/get_service_quota/builders.rs @@ -19,9 +19,9 @@ impl GetServiceQuotaFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl GetServiceQuotaFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::get_service_quota::GetServiceQuota, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::get_service_quota::GetServiceQuotaError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                                                                                                          The service identifier.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                          pub fn service_code(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.service_code(input.into()); diff --git a/sdk/servicequotas/src/operation/get_service_quota_increase_request_from_template/builders.rs b/sdk/servicequotas/src/operation/get_service_quota_increase_request_from_template/builders.rs index f692d5bfb38f..95ccefede3ee 100644 --- a/sdk/servicequotas/src/operation/get_service_quota_increase_request_from_template/builders.rs +++ b/sdk/servicequotas/src/operation/get_service_quota_increase_request_from_template/builders.rs @@ -19,9 +19,9 @@ impl GetServiceQuotaIncreaseRequestFromTemplateFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize(self) -> ::std::result::Result< + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware(self) -> ::std::result::Result< crate::client::customize::CustomizableOperation, ::aws_smithy_http::result::SdkError >{ @@ -64,6 +64,15 @@ impl GetServiceQuotaIncreaseRequestFromTemplateFluentBuilder { { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize(self) -> ::std::result::Result< + crate::client::customize::CustomizableOperation, + ::aws_smithy_http::result::SdkError + >{ + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                                                                                                          The service identifier.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                          pub fn service_code(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.service_code(input.into()); diff --git a/sdk/servicequotas/src/operation/list_aws_default_service_quotas/builders.rs b/sdk/servicequotas/src/operation/list_aws_default_service_quotas/builders.rs index 5a15ba7ee6e8..88678997c499 100644 --- a/sdk/servicequotas/src/operation/list_aws_default_service_quotas/builders.rs +++ b/sdk/servicequotas/src/operation/list_aws_default_service_quotas/builders.rs @@ -19,9 +19,9 @@ impl ListAWSDefaultServiceQuotasFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl ListAWSDefaultServiceQuotasFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_aws_default_service_quotas::ListAWSDefaultServiceQuotas, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::list_aws_default_service_quotas::ListAWSDefaultServiceQuotasError, + >, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::list_aws_default_service_quotas::paginator::ListAwsDefaultServiceQuotasPaginator::send) which returns a `Stream`. diff --git a/sdk/servicequotas/src/operation/list_requested_service_quota_change_history/builders.rs b/sdk/servicequotas/src/operation/list_requested_service_quota_change_history/builders.rs index 2100c1e2441a..709b0e80d054 100644 --- a/sdk/servicequotas/src/operation/list_requested_service_quota_change_history/builders.rs +++ b/sdk/servicequotas/src/operation/list_requested_service_quota_change_history/builders.rs @@ -19,9 +19,9 @@ impl ListRequestedServiceQuotaChangeHistoryFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize(self) -> ::std::result::Result< + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware(self) -> ::std::result::Result< crate::client::customize::CustomizableOperation, ::aws_smithy_http::result::SdkError >{ @@ -64,6 +64,15 @@ impl ListRequestedServiceQuotaChangeHistoryFluentBuilder { { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize(self) -> ::std::result::Result< + crate::client::customize::CustomizableOperation, + ::aws_smithy_http::result::SdkError + >{ + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::list_requested_service_quota_change_history::paginator::ListRequestedServiceQuotaChangeHistoryPaginator::send) which returns a `Stream`. diff --git a/sdk/servicequotas/src/operation/list_requested_service_quota_change_history_by_quota/builders.rs b/sdk/servicequotas/src/operation/list_requested_service_quota_change_history_by_quota/builders.rs index 1e2f74fa142e..c0a258a4c4c6 100644 --- a/sdk/servicequotas/src/operation/list_requested_service_quota_change_history_by_quota/builders.rs +++ b/sdk/servicequotas/src/operation/list_requested_service_quota_change_history_by_quota/builders.rs @@ -19,9 +19,9 @@ impl ListRequestedServiceQuotaChangeHistoryByQuotaFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize(self) -> ::std::result::Result< + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware(self) -> ::std::result::Result< crate::client::customize::CustomizableOperation, ::aws_smithy_http::result::SdkError >{ @@ -64,6 +64,15 @@ impl ListRequestedServiceQuotaChangeHistoryByQuotaFluentBuilder { { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize(self) -> ::std::result::Result< + crate::client::customize::CustomizableOperation, + ::aws_smithy_http::result::SdkError + >{ + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::list_requested_service_quota_change_history_by_quota::paginator::ListRequestedServiceQuotaChangeHistoryByQuotaPaginator::send) which returns a `Stream`. diff --git a/sdk/servicequotas/src/operation/list_service_quota_increase_requests_in_template/builders.rs b/sdk/servicequotas/src/operation/list_service_quota_increase_requests_in_template/builders.rs index 4d4cd3d13ef7..b8e50606c501 100644 --- a/sdk/servicequotas/src/operation/list_service_quota_increase_requests_in_template/builders.rs +++ b/sdk/servicequotas/src/operation/list_service_quota_increase_requests_in_template/builders.rs @@ -19,9 +19,9 @@ impl ListServiceQuotaIncreaseRequestsInTemplateFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize(self) -> ::std::result::Result< + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware(self) -> ::std::result::Result< crate::client::customize::CustomizableOperation, ::aws_smithy_http::result::SdkError >{ @@ -64,6 +64,15 @@ impl ListServiceQuotaIncreaseRequestsInTemplateFluentBuilder { { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize(self) -> ::std::result::Result< + crate::client::customize::CustomizableOperation, + ::aws_smithy_http::result::SdkError + >{ + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::list_service_quota_increase_requests_in_template::paginator::ListServiceQuotaIncreaseRequestsInTemplatePaginator::send) which returns a `Stream`. diff --git a/sdk/servicequotas/src/operation/list_service_quotas/builders.rs b/sdk/servicequotas/src/operation/list_service_quotas/builders.rs index 3d487b1fae16..2ede08eaffbd 100644 --- a/sdk/servicequotas/src/operation/list_service_quotas/builders.rs +++ b/sdk/servicequotas/src/operation/list_service_quotas/builders.rs @@ -19,9 +19,9 @@ impl ListServiceQuotasFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl ListServiceQuotasFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_service_quotas::ListServiceQuotas, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::list_service_quotas::ListServiceQuotasError, + >, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::list_service_quotas::paginator::ListServiceQuotasPaginator::send) which returns a `Stream`. diff --git a/sdk/servicequotas/src/operation/list_services/builders.rs b/sdk/servicequotas/src/operation/list_services/builders.rs index 742ec77d1173..2871b4f98310 100644 --- a/sdk/servicequotas/src/operation/list_services/builders.rs +++ b/sdk/servicequotas/src/operation/list_services/builders.rs @@ -19,9 +19,9 @@ impl ListServicesFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl ListServicesFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_services::ListServices, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::list_services::paginator::ListServicesPaginator::send) which returns a `Stream`. diff --git a/sdk/servicequotas/src/operation/list_tags_for_resource/builders.rs b/sdk/servicequotas/src/operation/list_tags_for_resource/builders.rs index 321819037dc8..1b5dce3adef4 100644 --- a/sdk/servicequotas/src/operation/list_tags_for_resource/builders.rs +++ b/sdk/servicequotas/src/operation/list_tags_for_resource/builders.rs @@ -19,9 +19,9 @@ impl ListTagsForResourceFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl ListTagsForResourceFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_tags_for_resource::ListTagsForResource, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::list_tags_for_resource::ListTagsForResourceError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                                                                                                          The Amazon Resource Name (ARN) for the applied quota for which you want to list tags. You can get this information by using the Service Quotas console, or by listing the quotas using the list-service-quotas AWS CLI command or the ListServiceQuotas AWS API operation.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                          pub fn resource_arn(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.resource_arn(input.into()); diff --git a/sdk/servicequotas/src/operation/put_service_quota_increase_request_into_template/builders.rs b/sdk/servicequotas/src/operation/put_service_quota_increase_request_into_template/builders.rs index f0591e5ad92b..9b8d9a4ae0fe 100644 --- a/sdk/servicequotas/src/operation/put_service_quota_increase_request_into_template/builders.rs +++ b/sdk/servicequotas/src/operation/put_service_quota_increase_request_into_template/builders.rs @@ -19,9 +19,9 @@ impl PutServiceQuotaIncreaseRequestIntoTemplateFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize(self) -> ::std::result::Result< + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware(self) -> ::std::result::Result< crate::client::customize::CustomizableOperation, ::aws_smithy_http::result::SdkError >{ @@ -64,6 +64,15 @@ impl PutServiceQuotaIncreaseRequestIntoTemplateFluentBuilder { { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize(self) -> ::std::result::Result< + crate::client::customize::CustomizableOperation, + ::aws_smithy_http::result::SdkError + >{ + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                                                                                                          The quota identifier.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                          pub fn quota_code(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.quota_code(input.into()); diff --git a/sdk/servicequotas/src/operation/request_service_quota_increase/builders.rs b/sdk/servicequotas/src/operation/request_service_quota_increase/builders.rs index 31cc91588a97..f0c683948fa7 100644 --- a/sdk/servicequotas/src/operation/request_service_quota_increase/builders.rs +++ b/sdk/servicequotas/src/operation/request_service_quota_increase/builders.rs @@ -19,9 +19,9 @@ impl RequestServiceQuotaIncreaseFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl RequestServiceQuotaIncreaseFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::request_service_quota_increase::RequestServiceQuotaIncrease, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::request_service_quota_increase::RequestServiceQuotaIncreaseError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                                                                                                          The service identifier.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                          pub fn service_code(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.service_code(input.into()); diff --git a/sdk/servicequotas/src/operation/tag_resource/builders.rs b/sdk/servicequotas/src/operation/tag_resource/builders.rs index fee701968a0f..1ca309080a50 100644 --- a/sdk/servicequotas/src/operation/tag_resource/builders.rs +++ b/sdk/servicequotas/src/operation/tag_resource/builders.rs @@ -19,9 +19,9 @@ impl TagResourceFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl TagResourceFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::tag_resource::TagResource, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                                                                                                          The Amazon Resource Name (ARN) for the applied quota. You can get this information by using the Service Quotas console, or by listing the quotas using the list-service-quotas AWS CLI command or the ListServiceQuotas AWS API operation.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                          pub fn resource_arn(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.resource_arn(input.into()); diff --git a/sdk/servicequotas/src/operation/untag_resource/builders.rs b/sdk/servicequotas/src/operation/untag_resource/builders.rs index b73a3eb31d01..efc983a97659 100644 --- a/sdk/servicequotas/src/operation/untag_resource/builders.rs +++ b/sdk/servicequotas/src/operation/untag_resource/builders.rs @@ -19,9 +19,9 @@ impl UntagResourceFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl UntagResourceFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::untag_resource::UntagResource, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                                                                                                          The Amazon Resource Name (ARN) for the applied quota that you want to untag. You can get this information by using the Service Quotas console, or by listing the quotas using the list-service-quotas AWS CLI command or the ListServiceQuotas AWS API operation.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                          pub fn resource_arn(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.resource_arn(input.into()); diff --git a/sdk/ses/src/operation/clone_receipt_rule_set/builders.rs b/sdk/ses/src/operation/clone_receipt_rule_set/builders.rs index 47dafb4bfa0e..61ea2a116d85 100644 --- a/sdk/ses/src/operation/clone_receipt_rule_set/builders.rs +++ b/sdk/ses/src/operation/clone_receipt_rule_set/builders.rs @@ -21,9 +21,9 @@ impl CloneReceiptRuleSetFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -85,6 +85,22 @@ impl CloneReceiptRuleSetFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::clone_receipt_rule_set::CloneReceiptRuleSet, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::clone_receipt_rule_set::CloneReceiptRuleSetError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                                                                                                          The name of the rule set to create. The name must:

                                                                                                                                                                                                                                                                                                                                                                                                                                                                          ///
                                                                                                                                                                                                                                                                                                                                                                                                                                                                            ///
                                                                                                                                                                                                                                                                                                                                                                                                                                                                          • This value can only contain ASCII letters (a-z, A-Z), numbers (0-9), underscores (_), or dashes (-).

                                                                                                                                                                                                                                                                                                                                                                                                                                                                          • diff --git a/sdk/ses/src/operation/create_configuration_set/builders.rs b/sdk/ses/src/operation/create_configuration_set/builders.rs index fe784e2d4bc8..50be2cfe2ac4 100644 --- a/sdk/ses/src/operation/create_configuration_set/builders.rs +++ b/sdk/ses/src/operation/create_configuration_set/builders.rs @@ -21,9 +21,9 @@ impl CreateConfigurationSetFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -85,6 +85,22 @@ impl CreateConfigurationSetFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::create_configuration_set::CreateConfigurationSet, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::create_configuration_set::CreateConfigurationSetError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                                                                                                            A data structure that contains the name of the configuration set.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                            pub fn configuration_set(mut self, input: crate::types::ConfigurationSet) -> Self { self.inner = self.inner.configuration_set(input); diff --git a/sdk/ses/src/operation/create_configuration_set_event_destination/builders.rs b/sdk/ses/src/operation/create_configuration_set_event_destination/builders.rs index 8a30c288e93d..a91be6e73eed 100644 --- a/sdk/ses/src/operation/create_configuration_set_event_destination/builders.rs +++ b/sdk/ses/src/operation/create_configuration_set_event_destination/builders.rs @@ -23,9 +23,9 @@ impl CreateConfigurationSetEventDestinationFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize(self) -> ::std::result::Result< + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware(self) -> ::std::result::Result< crate::client::customize::CustomizableOperation, ::aws_smithy_http::result::SdkError >{ @@ -68,6 +68,15 @@ impl CreateConfigurationSetEventDestinationFluentBuilder { { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize(self) -> ::std::result::Result< + crate::client::customize::CustomizableOperation, + ::aws_smithy_http::result::SdkError + >{ + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                                                                                                            The name of the configuration set that the event destination should be associated with.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                            pub fn configuration_set_name( mut self, diff --git a/sdk/ses/src/operation/create_configuration_set_tracking_options/builders.rs b/sdk/ses/src/operation/create_configuration_set_tracking_options/builders.rs index 04bcf10f9801..82b6c3ec671d 100644 --- a/sdk/ses/src/operation/create_configuration_set_tracking_options/builders.rs +++ b/sdk/ses/src/operation/create_configuration_set_tracking_options/builders.rs @@ -20,9 +20,9 @@ impl CreateConfigurationSetTrackingOptionsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize(self) -> ::std::result::Result< + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware(self) -> ::std::result::Result< crate::client::customize::CustomizableOperation, ::aws_smithy_http::result::SdkError >{ @@ -65,6 +65,15 @@ impl CreateConfigurationSetTrackingOptionsFluentBuilder { { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize(self) -> ::std::result::Result< + crate::client::customize::CustomizableOperation, + ::aws_smithy_http::result::SdkError + >{ + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                                                                                                            The name of the configuration set that the tracking options should be associated with.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                            pub fn configuration_set_name( mut self, diff --git a/sdk/ses/src/operation/create_custom_verification_email_template/builders.rs b/sdk/ses/src/operation/create_custom_verification_email_template/builders.rs index 23985fba8dc0..7697ef2d7a22 100644 --- a/sdk/ses/src/operation/create_custom_verification_email_template/builders.rs +++ b/sdk/ses/src/operation/create_custom_verification_email_template/builders.rs @@ -21,9 +21,9 @@ impl CreateCustomVerificationEmailTemplateFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize(self) -> ::std::result::Result< + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware(self) -> ::std::result::Result< crate::client::customize::CustomizableOperation, ::aws_smithy_http::result::SdkError >{ @@ -66,6 +66,15 @@ impl CreateCustomVerificationEmailTemplateFluentBuilder { { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize(self) -> ::std::result::Result< + crate::client::customize::CustomizableOperation, + ::aws_smithy_http::result::SdkError + >{ + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                                                                                                            The name of the custom verification email template.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                            pub fn template_name( mut self, diff --git a/sdk/ses/src/operation/create_receipt_filter/builders.rs b/sdk/ses/src/operation/create_receipt_filter/builders.rs index d7245b282be8..eaa66aee28bd 100644 --- a/sdk/ses/src/operation/create_receipt_filter/builders.rs +++ b/sdk/ses/src/operation/create_receipt_filter/builders.rs @@ -21,9 +21,9 @@ impl CreateReceiptFilterFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -85,6 +85,22 @@ impl CreateReceiptFilterFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::create_receipt_filter::CreateReceiptFilter, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::create_receipt_filter::CreateReceiptFilterError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                                                                                                            A data structure that describes the IP address filter to create, which consists of a name, an IP address range, and whether to allow or block mail from it.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                            pub fn filter(mut self, input: crate::types::ReceiptFilter) -> Self { self.inner = self.inner.filter(input); diff --git a/sdk/ses/src/operation/create_receipt_rule/builders.rs b/sdk/ses/src/operation/create_receipt_rule/builders.rs index 5f9cc7683012..c002e019663d 100644 --- a/sdk/ses/src/operation/create_receipt_rule/builders.rs +++ b/sdk/ses/src/operation/create_receipt_rule/builders.rs @@ -21,9 +21,9 @@ impl CreateReceiptRuleFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -85,6 +85,22 @@ impl CreateReceiptRuleFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::create_receipt_rule::CreateReceiptRule, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::create_receipt_rule::CreateReceiptRuleError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                                                                                                            The name of the rule set that the receipt rule will be added to.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                            pub fn rule_set_name( mut self, diff --git a/sdk/ses/src/operation/create_receipt_rule_set/builders.rs b/sdk/ses/src/operation/create_receipt_rule_set/builders.rs index e954b63c6078..c1e24f3801bd 100644 --- a/sdk/ses/src/operation/create_receipt_rule_set/builders.rs +++ b/sdk/ses/src/operation/create_receipt_rule_set/builders.rs @@ -21,9 +21,9 @@ impl CreateReceiptRuleSetFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -85,6 +85,22 @@ impl CreateReceiptRuleSetFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::create_receipt_rule_set::CreateReceiptRuleSet, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::create_receipt_rule_set::CreateReceiptRuleSetError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                                                                                                            The name of the rule set to create. The name must:

                                                                                                                                                                                                                                                                                                                                                                                                                                                                            ///
                                                                                                                                                                                                                                                                                                                                                                                                                                                                              ///
                                                                                                                                                                                                                                                                                                                                                                                                                                                                            • This value can only contain ASCII letters (a-z, A-Z), numbers (0-9), underscores (_), or dashes (-).

                                                                                                                                                                                                                                                                                                                                                                                                                                                                            • diff --git a/sdk/ses/src/operation/create_template/builders.rs b/sdk/ses/src/operation/create_template/builders.rs index 95474dffc3f8..585e99ba7977 100644 --- a/sdk/ses/src/operation/create_template/builders.rs +++ b/sdk/ses/src/operation/create_template/builders.rs @@ -20,9 +20,9 @@ impl CreateTemplateFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -78,6 +78,20 @@ impl CreateTemplateFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::create_template::CreateTemplate, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                                                                                                              The content of the email, composed of a subject line, an HTML part, and a text-only part.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                              pub fn template(mut self, input: crate::types::Template) -> Self { self.inner = self.inner.template(input); diff --git a/sdk/ses/src/operation/delete_configuration_set/builders.rs b/sdk/ses/src/operation/delete_configuration_set/builders.rs index cec68dc9c911..2a772908942f 100644 --- a/sdk/ses/src/operation/delete_configuration_set/builders.rs +++ b/sdk/ses/src/operation/delete_configuration_set/builders.rs @@ -20,9 +20,9 @@ impl DeleteConfigurationSetFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -84,6 +84,22 @@ impl DeleteConfigurationSetFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::delete_configuration_set::DeleteConfigurationSet, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::delete_configuration_set::DeleteConfigurationSetError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                                                                                                              The name of the configuration set to delete.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                              pub fn configuration_set_name( mut self, diff --git a/sdk/ses/src/operation/delete_configuration_set_event_destination/builders.rs b/sdk/ses/src/operation/delete_configuration_set_event_destination/builders.rs index bfa20ec921f3..fc873236ce40 100644 --- a/sdk/ses/src/operation/delete_configuration_set_event_destination/builders.rs +++ b/sdk/ses/src/operation/delete_configuration_set_event_destination/builders.rs @@ -20,9 +20,9 @@ impl DeleteConfigurationSetEventDestinationFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize(self) -> ::std::result::Result< + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware(self) -> ::std::result::Result< crate::client::customize::CustomizableOperation, ::aws_smithy_http::result::SdkError >{ @@ -65,6 +65,15 @@ impl DeleteConfigurationSetEventDestinationFluentBuilder { { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize(self) -> ::std::result::Result< + crate::client::customize::CustomizableOperation, + ::aws_smithy_http::result::SdkError + >{ + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                                                                                                              The name of the configuration set from which to delete the event destination.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                              pub fn configuration_set_name( mut self, diff --git a/sdk/ses/src/operation/delete_configuration_set_tracking_options/builders.rs b/sdk/ses/src/operation/delete_configuration_set_tracking_options/builders.rs index 07b164f8b704..ae3865e86b03 100644 --- a/sdk/ses/src/operation/delete_configuration_set_tracking_options/builders.rs +++ b/sdk/ses/src/operation/delete_configuration_set_tracking_options/builders.rs @@ -22,9 +22,9 @@ impl DeleteConfigurationSetTrackingOptionsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize(self) -> ::std::result::Result< + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware(self) -> ::std::result::Result< crate::client::customize::CustomizableOperation, ::aws_smithy_http::result::SdkError >{ @@ -67,6 +67,15 @@ impl DeleteConfigurationSetTrackingOptionsFluentBuilder { { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize(self) -> ::std::result::Result< + crate::client::customize::CustomizableOperation, + ::aws_smithy_http::result::SdkError + >{ + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                                                                                                              The name of the configuration set from which you want to delete the tracking options.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                              pub fn configuration_set_name( mut self, diff --git a/sdk/ses/src/operation/delete_custom_verification_email_template/builders.rs b/sdk/ses/src/operation/delete_custom_verification_email_template/builders.rs index 67c1ce533320..e86971e14812 100644 --- a/sdk/ses/src/operation/delete_custom_verification_email_template/builders.rs +++ b/sdk/ses/src/operation/delete_custom_verification_email_template/builders.rs @@ -21,9 +21,9 @@ impl DeleteCustomVerificationEmailTemplateFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize(self) -> ::std::result::Result< + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware(self) -> ::std::result::Result< crate::client::customize::CustomizableOperation, ::aws_smithy_http::result::SdkError >{ @@ -66,6 +66,15 @@ impl DeleteCustomVerificationEmailTemplateFluentBuilder { { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize(self) -> ::std::result::Result< + crate::client::customize::CustomizableOperation, + ::aws_smithy_http::result::SdkError + >{ + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                                                                                                              The name of the custom verification email template that you want to delete.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                              pub fn template_name( mut self, diff --git a/sdk/ses/src/operation/delete_identity/builders.rs b/sdk/ses/src/operation/delete_identity/builders.rs index 6170537e6885..fbe7e65b0270 100644 --- a/sdk/ses/src/operation/delete_identity/builders.rs +++ b/sdk/ses/src/operation/delete_identity/builders.rs @@ -20,9 +20,9 @@ impl DeleteIdentityFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -78,6 +78,20 @@ impl DeleteIdentityFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::delete_identity::DeleteIdentity, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                                                                                                              The identity to be removed from the list of identities for the AWS Account.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                              pub fn identity(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.identity(input.into()); diff --git a/sdk/ses/src/operation/delete_identity_policy/builders.rs b/sdk/ses/src/operation/delete_identity_policy/builders.rs index 0437a89627e9..d4a8cfb0b220 100644 --- a/sdk/ses/src/operation/delete_identity_policy/builders.rs +++ b/sdk/ses/src/operation/delete_identity_policy/builders.rs @@ -23,9 +23,9 @@ impl DeleteIdentityPolicyFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -87,6 +87,22 @@ impl DeleteIdentityPolicyFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::delete_identity_policy::DeleteIdentityPolicy, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::delete_identity_policy::DeleteIdentityPolicyError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                                                                                                              The identity that is associated with the policy that you want to delete. You can specify the identity by using its name or by using its Amazon Resource Name (ARN). Examples: user@example.com, example.com, arn:aws:ses:us-east-1:123456789012:identity/example.com.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                              ///

                                                                                                                                                                                                                                                                                                                                                                                                                                                                              To successfully call this API, you must own the identity.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                              pub fn identity(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { diff --git a/sdk/ses/src/operation/delete_receipt_filter/builders.rs b/sdk/ses/src/operation/delete_receipt_filter/builders.rs index 12be164ff2fd..de0021f2371d 100644 --- a/sdk/ses/src/operation/delete_receipt_filter/builders.rs +++ b/sdk/ses/src/operation/delete_receipt_filter/builders.rs @@ -21,9 +21,9 @@ impl DeleteReceiptFilterFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -85,6 +85,22 @@ impl DeleteReceiptFilterFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::delete_receipt_filter::DeleteReceiptFilter, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::delete_receipt_filter::DeleteReceiptFilterError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                                                                                                              The name of the IP address filter to delete.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                              pub fn filter_name(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.filter_name(input.into()); diff --git a/sdk/ses/src/operation/delete_receipt_rule/builders.rs b/sdk/ses/src/operation/delete_receipt_rule/builders.rs index 10a017044c82..c39f2b0c329a 100644 --- a/sdk/ses/src/operation/delete_receipt_rule/builders.rs +++ b/sdk/ses/src/operation/delete_receipt_rule/builders.rs @@ -21,9 +21,9 @@ impl DeleteReceiptRuleFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -85,6 +85,22 @@ impl DeleteReceiptRuleFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::delete_receipt_rule::DeleteReceiptRule, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::delete_receipt_rule::DeleteReceiptRuleError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                                                                                                              The name of the receipt rule set that contains the receipt rule to delete.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                              pub fn rule_set_name( mut self, diff --git a/sdk/ses/src/operation/delete_receipt_rule_set/builders.rs b/sdk/ses/src/operation/delete_receipt_rule_set/builders.rs index 36d61e0606c2..bb972d7efe8d 100644 --- a/sdk/ses/src/operation/delete_receipt_rule_set/builders.rs +++ b/sdk/ses/src/operation/delete_receipt_rule_set/builders.rs @@ -23,9 +23,9 @@ impl DeleteReceiptRuleSetFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -87,6 +87,22 @@ impl DeleteReceiptRuleSetFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::delete_receipt_rule_set::DeleteReceiptRuleSet, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::delete_receipt_rule_set::DeleteReceiptRuleSetError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                                                                                                              The name of the receipt rule set to delete.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                              pub fn rule_set_name( mut self, diff --git a/sdk/ses/src/operation/delete_template/builders.rs b/sdk/ses/src/operation/delete_template/builders.rs index 1d4f3b6a5fd1..8b2661c9479a 100644 --- a/sdk/ses/src/operation/delete_template/builders.rs +++ b/sdk/ses/src/operation/delete_template/builders.rs @@ -20,9 +20,9 @@ impl DeleteTemplateFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -78,6 +78,20 @@ impl DeleteTemplateFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::delete_template::DeleteTemplate, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                                                                                                              The name of the template to be deleted.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                              pub fn template_name( mut self, diff --git a/sdk/ses/src/operation/delete_verified_email_address/builders.rs b/sdk/ses/src/operation/delete_verified_email_address/builders.rs index dc047c080317..e5325a668dd7 100644 --- a/sdk/ses/src/operation/delete_verified_email_address/builders.rs +++ b/sdk/ses/src/operation/delete_verified_email_address/builders.rs @@ -19,9 +19,9 @@ impl DeleteVerifiedEmailAddressFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl DeleteVerifiedEmailAddressFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::delete_verified_email_address::DeleteVerifiedEmailAddress, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::delete_verified_email_address::DeleteVerifiedEmailAddressError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                                                                                                              An email address to be removed from the list of verified addresses.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                              pub fn email_address( mut self, diff --git a/sdk/ses/src/operation/describe_active_receipt_rule_set/builders.rs b/sdk/ses/src/operation/describe_active_receipt_rule_set/builders.rs index 875a79f2af58..3004f067464b 100644 --- a/sdk/ses/src/operation/describe_active_receipt_rule_set/builders.rs +++ b/sdk/ses/src/operation/describe_active_receipt_rule_set/builders.rs @@ -21,9 +21,9 @@ impl DescribeActiveReceiptRuleSetFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -85,4 +85,20 @@ impl DescribeActiveReceiptRuleSetFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::describe_active_receipt_rule_set::DescribeActiveReceiptRuleSet, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::describe_active_receipt_rule_set::DescribeActiveReceiptRuleSetError, + >, + > { + self.customize_middleware().await + } } diff --git a/sdk/ses/src/operation/describe_configuration_set/builders.rs b/sdk/ses/src/operation/describe_configuration_set/builders.rs index 3f7f806266c2..99155973c19b 100644 --- a/sdk/ses/src/operation/describe_configuration_set/builders.rs +++ b/sdk/ses/src/operation/describe_configuration_set/builders.rs @@ -20,9 +20,9 @@ impl DescribeConfigurationSetFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -84,6 +84,22 @@ impl DescribeConfigurationSetFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::describe_configuration_set::DescribeConfigurationSet, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::describe_configuration_set::DescribeConfigurationSetError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                                                                                                              The name of the configuration set to describe.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                              pub fn configuration_set_name( mut self, diff --git a/sdk/ses/src/operation/describe_receipt_rule/builders.rs b/sdk/ses/src/operation/describe_receipt_rule/builders.rs index f49a7ec2913b..56ee424030d8 100644 --- a/sdk/ses/src/operation/describe_receipt_rule/builders.rs +++ b/sdk/ses/src/operation/describe_receipt_rule/builders.rs @@ -21,9 +21,9 @@ impl DescribeReceiptRuleFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -85,6 +85,22 @@ impl DescribeReceiptRuleFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::describe_receipt_rule::DescribeReceiptRule, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::describe_receipt_rule::DescribeReceiptRuleError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                                                                                                              The name of the receipt rule set that the receipt rule belongs to.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                              pub fn rule_set_name( mut self, diff --git a/sdk/ses/src/operation/describe_receipt_rule_set/builders.rs b/sdk/ses/src/operation/describe_receipt_rule_set/builders.rs index 3eff46ae7229..04294c054199 100644 --- a/sdk/ses/src/operation/describe_receipt_rule_set/builders.rs +++ b/sdk/ses/src/operation/describe_receipt_rule_set/builders.rs @@ -22,9 +22,9 @@ impl DescribeReceiptRuleSetFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -86,6 +86,22 @@ impl DescribeReceiptRuleSetFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::describe_receipt_rule_set::DescribeReceiptRuleSet, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::describe_receipt_rule_set::DescribeReceiptRuleSetError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                                                                                                              The name of the receipt rule set to describe.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                              pub fn rule_set_name( mut self, diff --git a/sdk/ses/src/operation/get_account_sending_enabled/builders.rs b/sdk/ses/src/operation/get_account_sending_enabled/builders.rs index 65d5790b94c6..205ac3b760bb 100644 --- a/sdk/ses/src/operation/get_account_sending_enabled/builders.rs +++ b/sdk/ses/src/operation/get_account_sending_enabled/builders.rs @@ -20,9 +20,9 @@ impl GetAccountSendingEnabledFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -84,4 +84,20 @@ impl GetAccountSendingEnabledFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::get_account_sending_enabled::GetAccountSendingEnabled, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::get_account_sending_enabled::GetAccountSendingEnabledError, + >, + > { + self.customize_middleware().await + } } diff --git a/sdk/ses/src/operation/get_custom_verification_email_template/builders.rs b/sdk/ses/src/operation/get_custom_verification_email_template/builders.rs index 1c3d213f861a..7560fc767f50 100644 --- a/sdk/ses/src/operation/get_custom_verification_email_template/builders.rs +++ b/sdk/ses/src/operation/get_custom_verification_email_template/builders.rs @@ -21,9 +21,9 @@ impl GetCustomVerificationEmailTemplateFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize(self) -> ::std::result::Result< + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware(self) -> ::std::result::Result< crate::client::customize::CustomizableOperation, ::aws_smithy_http::result::SdkError >{ @@ -66,6 +66,15 @@ impl GetCustomVerificationEmailTemplateFluentBuilder { { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize(self) -> ::std::result::Result< + crate::client::customize::CustomizableOperation, + ::aws_smithy_http::result::SdkError + >{ + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                                                                                                              The name of the custom verification email template that you want to retrieve.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                              pub fn template_name( mut self, diff --git a/sdk/ses/src/operation/get_identity_dkim_attributes/builders.rs b/sdk/ses/src/operation/get_identity_dkim_attributes/builders.rs index b966d92f409f..f39308c4801e 100644 --- a/sdk/ses/src/operation/get_identity_dkim_attributes/builders.rs +++ b/sdk/ses/src/operation/get_identity_dkim_attributes/builders.rs @@ -27,9 +27,9 @@ impl GetIdentityDkimAttributesFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -91,6 +91,22 @@ impl GetIdentityDkimAttributesFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::get_identity_dkim_attributes::GetIdentityDkimAttributes, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::get_identity_dkim_attributes::GetIdentityDkimAttributesError, + >, + > { + self.customize_middleware().await + } /// Appends an item to `Identities`. /// /// To override the contents of this collection use [`set_identities`](Self::set_identities). diff --git a/sdk/ses/src/operation/get_identity_mail_from_domain_attributes/builders.rs b/sdk/ses/src/operation/get_identity_mail_from_domain_attributes/builders.rs index 2ea326cb2e25..bc4f0ed04b2b 100644 --- a/sdk/ses/src/operation/get_identity_mail_from_domain_attributes/builders.rs +++ b/sdk/ses/src/operation/get_identity_mail_from_domain_attributes/builders.rs @@ -20,9 +20,9 @@ impl GetIdentityMailFromDomainAttributesFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize(self) -> ::std::result::Result< + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware(self) -> ::std::result::Result< crate::client::customize::CustomizableOperation, ::aws_smithy_http::result::SdkError >{ @@ -65,6 +65,15 @@ impl GetIdentityMailFromDomainAttributesFluentBuilder { { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize(self) -> ::std::result::Result< + crate::client::customize::CustomizableOperation, + ::aws_smithy_http::result::SdkError + >{ + self.customize_middleware().await + } /// Appends an item to `Identities`. /// /// To override the contents of this collection use [`set_identities`](Self::set_identities). diff --git a/sdk/ses/src/operation/get_identity_notification_attributes/builders.rs b/sdk/ses/src/operation/get_identity_notification_attributes/builders.rs index 2e1cd58bad93..6657caa8fe9f 100644 --- a/sdk/ses/src/operation/get_identity_notification_attributes/builders.rs +++ b/sdk/ses/src/operation/get_identity_notification_attributes/builders.rs @@ -21,9 +21,9 @@ impl GetIdentityNotificationAttributesFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize(self) -> ::std::result::Result< + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware(self) -> ::std::result::Result< crate::client::customize::CustomizableOperation, ::aws_smithy_http::result::SdkError >{ @@ -66,6 +66,15 @@ impl GetIdentityNotificationAttributesFluentBuilder { { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize(self) -> ::std::result::Result< + crate::client::customize::CustomizableOperation, + ::aws_smithy_http::result::SdkError + >{ + self.customize_middleware().await + } /// Appends an item to `Identities`. /// /// To override the contents of this collection use [`set_identities`](Self::set_identities). diff --git a/sdk/ses/src/operation/get_identity_policies/builders.rs b/sdk/ses/src/operation/get_identity_policies/builders.rs index 8482b40b783b..3eb66d2edd76 100644 --- a/sdk/ses/src/operation/get_identity_policies/builders.rs +++ b/sdk/ses/src/operation/get_identity_policies/builders.rs @@ -23,9 +23,9 @@ impl GetIdentityPoliciesFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -87,6 +87,22 @@ impl GetIdentityPoliciesFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::get_identity_policies::GetIdentityPolicies, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::get_identity_policies::GetIdentityPoliciesError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                                                                                                              The identity for which the policies will be retrieved. You can specify an identity by using its name or by using its Amazon Resource Name (ARN). Examples: user@example.com, example.com, arn:aws:ses:us-east-1:123456789012:identity/example.com.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                              ///

                                                                                                                                                                                                                                                                                                                                                                                                                                                                              To successfully call this API, you must own the identity.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                              pub fn identity(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { diff --git a/sdk/ses/src/operation/get_identity_verification_attributes/builders.rs b/sdk/ses/src/operation/get_identity_verification_attributes/builders.rs index 9c54e71fa14d..8d60ea0c7ddc 100644 --- a/sdk/ses/src/operation/get_identity_verification_attributes/builders.rs +++ b/sdk/ses/src/operation/get_identity_verification_attributes/builders.rs @@ -22,9 +22,9 @@ impl GetIdentityVerificationAttributesFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize(self) -> ::std::result::Result< + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware(self) -> ::std::result::Result< crate::client::customize::CustomizableOperation, ::aws_smithy_http::result::SdkError >{ @@ -67,6 +67,15 @@ impl GetIdentityVerificationAttributesFluentBuilder { { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize(self) -> ::std::result::Result< + crate::client::customize::CustomizableOperation, + ::aws_smithy_http::result::SdkError + >{ + self.customize_middleware().await + } /// Appends an item to `Identities`. /// /// To override the contents of this collection use [`set_identities`](Self::set_identities). diff --git a/sdk/ses/src/operation/get_send_quota/builders.rs b/sdk/ses/src/operation/get_send_quota/builders.rs index 98fa7b8d1f33..d34b9e6ef7b6 100644 --- a/sdk/ses/src/operation/get_send_quota/builders.rs +++ b/sdk/ses/src/operation/get_send_quota/builders.rs @@ -20,9 +20,9 @@ impl GetSendQuotaFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -78,4 +78,18 @@ impl GetSendQuotaFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::get_send_quota::GetSendQuota, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } } diff --git a/sdk/ses/src/operation/get_send_statistics/builders.rs b/sdk/ses/src/operation/get_send_statistics/builders.rs index 0ec3aebf8105..9d9e9291d654 100644 --- a/sdk/ses/src/operation/get_send_statistics/builders.rs +++ b/sdk/ses/src/operation/get_send_statistics/builders.rs @@ -20,9 +20,9 @@ impl GetSendStatisticsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -84,4 +84,20 @@ impl GetSendStatisticsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::get_send_statistics::GetSendStatistics, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::get_send_statistics::GetSendStatisticsError, + >, + > { + self.customize_middleware().await + } } diff --git a/sdk/ses/src/operation/get_template/builders.rs b/sdk/ses/src/operation/get_template/builders.rs index 1c4a934b193e..a8086fb75f9a 100644 --- a/sdk/ses/src/operation/get_template/builders.rs +++ b/sdk/ses/src/operation/get_template/builders.rs @@ -20,9 +20,9 @@ impl GetTemplateFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -78,6 +78,20 @@ impl GetTemplateFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::get_template::GetTemplate, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                                                                                                              The name of the template you want to retrieve.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                              pub fn template_name( mut self, diff --git a/sdk/ses/src/operation/list_configuration_sets/builders.rs b/sdk/ses/src/operation/list_configuration_sets/builders.rs index 4b74db44b253..639f544781ba 100644 --- a/sdk/ses/src/operation/list_configuration_sets/builders.rs +++ b/sdk/ses/src/operation/list_configuration_sets/builders.rs @@ -20,9 +20,9 @@ impl ListConfigurationSetsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -84,6 +84,22 @@ impl ListConfigurationSetsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_configuration_sets::ListConfigurationSets, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::list_configuration_sets::ListConfigurationSetsError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                                                                                                              A token returned from a previous call to ListConfigurationSets to indicate the position of the configuration set in the configuration set list.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                              pub fn next_token(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.next_token(input.into()); diff --git a/sdk/ses/src/operation/list_custom_verification_email_templates/builders.rs b/sdk/ses/src/operation/list_custom_verification_email_templates/builders.rs index e6122845f716..97034535d430 100644 --- a/sdk/ses/src/operation/list_custom_verification_email_templates/builders.rs +++ b/sdk/ses/src/operation/list_custom_verification_email_templates/builders.rs @@ -21,9 +21,9 @@ impl ListCustomVerificationEmailTemplatesFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize(self) -> ::std::result::Result< + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware(self) -> ::std::result::Result< crate::client::customize::CustomizableOperation, ::aws_smithy_http::result::SdkError >{ @@ -66,6 +66,15 @@ impl ListCustomVerificationEmailTemplatesFluentBuilder { { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize(self) -> ::std::result::Result< + crate::client::customize::CustomizableOperation, + ::aws_smithy_http::result::SdkError + >{ + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::list_custom_verification_email_templates::paginator::ListCustomVerificationEmailTemplatesPaginator::send) which returns a `Stream`. diff --git a/sdk/ses/src/operation/list_identities/builders.rs b/sdk/ses/src/operation/list_identities/builders.rs index 2e6c249fe195..84f4e814ec66 100644 --- a/sdk/ses/src/operation/list_identities/builders.rs +++ b/sdk/ses/src/operation/list_identities/builders.rs @@ -20,9 +20,9 @@ impl ListIdentitiesFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -78,6 +78,20 @@ impl ListIdentitiesFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_identities::ListIdentities, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::list_identities::paginator::ListIdentitiesPaginator::send) which returns a `Stream`. diff --git a/sdk/ses/src/operation/list_identity_policies/builders.rs b/sdk/ses/src/operation/list_identity_policies/builders.rs index 0a681668ce9c..bf8606506671 100644 --- a/sdk/ses/src/operation/list_identity_policies/builders.rs +++ b/sdk/ses/src/operation/list_identity_policies/builders.rs @@ -23,9 +23,9 @@ impl ListIdentityPoliciesFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -87,6 +87,22 @@ impl ListIdentityPoliciesFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_identity_policies::ListIdentityPolicies, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::list_identity_policies::ListIdentityPoliciesError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                                                                                                              The identity that is associated with the policy for which the policies will be listed. You can specify an identity by using its name or by using its Amazon Resource Name (ARN). Examples: user@example.com, example.com, arn:aws:ses:us-east-1:123456789012:identity/example.com.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                              ///

                                                                                                                                                                                                                                                                                                                                                                                                                                                                              To successfully call this API, you must own the identity.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                              pub fn identity(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { diff --git a/sdk/ses/src/operation/list_receipt_filters/builders.rs b/sdk/ses/src/operation/list_receipt_filters/builders.rs index 42432d763bb4..abd03965138e 100644 --- a/sdk/ses/src/operation/list_receipt_filters/builders.rs +++ b/sdk/ses/src/operation/list_receipt_filters/builders.rs @@ -21,9 +21,9 @@ impl ListReceiptFiltersFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -85,4 +85,20 @@ impl ListReceiptFiltersFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_receipt_filters::ListReceiptFilters, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::list_receipt_filters::ListReceiptFiltersError, + >, + > { + self.customize_middleware().await + } } diff --git a/sdk/ses/src/operation/list_receipt_rule_sets/builders.rs b/sdk/ses/src/operation/list_receipt_rule_sets/builders.rs index e4bede7cd07c..6105bbd7c891 100644 --- a/sdk/ses/src/operation/list_receipt_rule_sets/builders.rs +++ b/sdk/ses/src/operation/list_receipt_rule_sets/builders.rs @@ -21,9 +21,9 @@ impl ListReceiptRuleSetsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -85,6 +85,22 @@ impl ListReceiptRuleSetsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_receipt_rule_sets::ListReceiptRuleSets, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::list_receipt_rule_sets::ListReceiptRuleSetsError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                                                                                                              A token returned from a previous call to ListReceiptRuleSets to indicate the position in the receipt rule set list.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                              pub fn next_token(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.next_token(input.into()); diff --git a/sdk/ses/src/operation/list_templates/builders.rs b/sdk/ses/src/operation/list_templates/builders.rs index 95ed38c3aaa2..564c4df48910 100644 --- a/sdk/ses/src/operation/list_templates/builders.rs +++ b/sdk/ses/src/operation/list_templates/builders.rs @@ -20,9 +20,9 @@ impl ListTemplatesFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -78,6 +78,20 @@ impl ListTemplatesFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_templates::ListTemplates, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                                                                                                              A token returned from a previous call to ListTemplates to indicate the position in the list of email templates.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                              pub fn next_token(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.next_token(input.into()); diff --git a/sdk/ses/src/operation/list_verified_email_addresses/builders.rs b/sdk/ses/src/operation/list_verified_email_addresses/builders.rs index c5b87adb7aca..a54cefb702d3 100644 --- a/sdk/ses/src/operation/list_verified_email_addresses/builders.rs +++ b/sdk/ses/src/operation/list_verified_email_addresses/builders.rs @@ -19,9 +19,9 @@ impl ListVerifiedEmailAddressesFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,4 +83,20 @@ impl ListVerifiedEmailAddressesFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_verified_email_addresses::ListVerifiedEmailAddresses, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::list_verified_email_addresses::ListVerifiedEmailAddressesError, + >, + > { + self.customize_middleware().await + } } diff --git a/sdk/ses/src/operation/put_configuration_set_delivery_options/builders.rs b/sdk/ses/src/operation/put_configuration_set_delivery_options/builders.rs index b7fa96ae78bb..7e092314880d 100644 --- a/sdk/ses/src/operation/put_configuration_set_delivery_options/builders.rs +++ b/sdk/ses/src/operation/put_configuration_set_delivery_options/builders.rs @@ -19,9 +19,9 @@ impl PutConfigurationSetDeliveryOptionsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize(self) -> ::std::result::Result< + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware(self) -> ::std::result::Result< crate::client::customize::CustomizableOperation, ::aws_smithy_http::result::SdkError >{ @@ -64,6 +64,15 @@ impl PutConfigurationSetDeliveryOptionsFluentBuilder { { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize(self) -> ::std::result::Result< + crate::client::customize::CustomizableOperation, + ::aws_smithy_http::result::SdkError + >{ + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                                                                                                              The name of the configuration set that you want to specify the delivery options for.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                              pub fn configuration_set_name( mut self, diff --git a/sdk/ses/src/operation/put_identity_policy/builders.rs b/sdk/ses/src/operation/put_identity_policy/builders.rs index 4a973ca1f790..e67ee0227aa1 100644 --- a/sdk/ses/src/operation/put_identity_policy/builders.rs +++ b/sdk/ses/src/operation/put_identity_policy/builders.rs @@ -23,9 +23,9 @@ impl PutIdentityPolicyFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -87,6 +87,22 @@ impl PutIdentityPolicyFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::put_identity_policy::PutIdentityPolicy, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::put_identity_policy::PutIdentityPolicyError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                                                                                                              The identity that the policy will apply to. You can specify an identity by using its name or by using its Amazon Resource Name (ARN). Examples: user@example.com, example.com, arn:aws:ses:us-east-1:123456789012:identity/example.com.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                              ///

                                                                                                                                                                                                                                                                                                                                                                                                                                                                              To successfully call this API, you must own the identity.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                              pub fn identity(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { diff --git a/sdk/ses/src/operation/reorder_receipt_rule_set/builders.rs b/sdk/ses/src/operation/reorder_receipt_rule_set/builders.rs index b3de21da373c..a287de73b711 100644 --- a/sdk/ses/src/operation/reorder_receipt_rule_set/builders.rs +++ b/sdk/ses/src/operation/reorder_receipt_rule_set/builders.rs @@ -23,9 +23,9 @@ impl ReorderReceiptRuleSetFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -87,6 +87,22 @@ impl ReorderReceiptRuleSetFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::reorder_receipt_rule_set::ReorderReceiptRuleSet, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::reorder_receipt_rule_set::ReorderReceiptRuleSetError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                                                                                                              The name of the receipt rule set to reorder.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                              pub fn rule_set_name( mut self, diff --git a/sdk/ses/src/operation/send_bounce/builders.rs b/sdk/ses/src/operation/send_bounce/builders.rs index d4aaade5e120..74ad049685ad 100644 --- a/sdk/ses/src/operation/send_bounce/builders.rs +++ b/sdk/ses/src/operation/send_bounce/builders.rs @@ -23,9 +23,9 @@ impl SendBounceFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -81,6 +81,20 @@ impl SendBounceFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::send_bounce::SendBounce, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                                                                                                              The message ID of the message to be bounced.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                              pub fn original_message_id( mut self, diff --git a/sdk/ses/src/operation/send_bulk_templated_email/builders.rs b/sdk/ses/src/operation/send_bulk_templated_email/builders.rs index 73525507ae59..a6764d881fde 100644 --- a/sdk/ses/src/operation/send_bulk_templated_email/builders.rs +++ b/sdk/ses/src/operation/send_bulk_templated_email/builders.rs @@ -30,9 +30,9 @@ impl SendBulkTemplatedEmailFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -94,6 +94,22 @@ impl SendBulkTemplatedEmailFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::send_bulk_templated_email::SendBulkTemplatedEmail, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::send_bulk_templated_email::SendBulkTemplatedEmailError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                                                                                                              The email address that is sending the email. This email address must be either individually verified with Amazon SES, or from a domain that has been verified with Amazon SES. For information about verifying identities, see the Amazon SES Developer Guide.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                              ///

                                                                                                                                                                                                                                                                                                                                                                                                                                                                              If you are sending on behalf of another user and have been permitted to do so by a sending authorization policy, then you must also specify the SourceArn parameter. For more information about sending authorization, see the Amazon SES Developer Guide.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                              ///

                                                                                                                                                                                                                                                                                                                                                                                                                                                                              Amazon SES does not support the SMTPUTF8 extension, as described in RFC6531. For this reason, the local part of a source email address (the part of the email address that precedes the @ sign) may only contain 7-bit ASCII characters. If the domain part of an address (the part after the @ sign) contains non-ASCII characters, they must be encoded using Punycode, as described in RFC3492. The sender name (also known as the friendly name) may contain non-ASCII characters. These characters must be encoded using MIME encoded-word syntax, as described in RFC 2047. MIME encoded-word syntax uses the following form: =?charset?encoding?encoded-text?=.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                              diff --git a/sdk/ses/src/operation/send_custom_verification_email/builders.rs b/sdk/ses/src/operation/send_custom_verification_email/builders.rs index 7b38ceae51f9..040ed79ce2ae 100644 --- a/sdk/ses/src/operation/send_custom_verification_email/builders.rs +++ b/sdk/ses/src/operation/send_custom_verification_email/builders.rs @@ -21,9 +21,9 @@ impl SendCustomVerificationEmailFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -85,6 +85,22 @@ impl SendCustomVerificationEmailFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::send_custom_verification_email::SendCustomVerificationEmail, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::send_custom_verification_email::SendCustomVerificationEmailError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                                                                                                              The email address to verify.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                              pub fn email_address( mut self, diff --git a/sdk/ses/src/operation/send_email/builders.rs b/sdk/ses/src/operation/send_email/builders.rs index ca400b044914..2da1ca5d31a8 100644 --- a/sdk/ses/src/operation/send_email/builders.rs +++ b/sdk/ses/src/operation/send_email/builders.rs @@ -28,9 +28,9 @@ impl SendEmailFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -86,6 +86,20 @@ impl SendEmailFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::send_email::SendEmail, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                                                                                                              The email address that is sending the email. This email address must be either individually verified with Amazon SES, or from a domain that has been verified with Amazon SES. For information about verifying identities, see the Amazon SES Developer Guide.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                              ///

                                                                                                                                                                                                                                                                                                                                                                                                                                                                              If you are sending on behalf of another user and have been permitted to do so by a sending authorization policy, then you must also specify the SourceArn parameter. For more information about sending authorization, see the Amazon SES Developer Guide.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                              ///

                                                                                                                                                                                                                                                                                                                                                                                                                                                                              Amazon SES does not support the SMTPUTF8 extension, as described in RFC6531. For this reason, the local part of a source email address (the part of the email address that precedes the @ sign) may only contain 7-bit ASCII characters. If the domain part of an address (the part after the @ sign) contains non-ASCII characters, they must be encoded using Punycode, as described in RFC3492. The sender name (also known as the friendly name) may contain non-ASCII characters. These characters must be encoded using MIME encoded-word syntax, as described in RFC 2047. MIME encoded-word syntax uses the following form: =?charset?encoding?encoded-text?=.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                              diff --git a/sdk/ses/src/operation/send_raw_email/builders.rs b/sdk/ses/src/operation/send_raw_email/builders.rs index 92fb92aeb067..ea44e17c966c 100644 --- a/sdk/ses/src/operation/send_raw_email/builders.rs +++ b/sdk/ses/src/operation/send_raw_email/builders.rs @@ -43,9 +43,9 @@ impl SendRawEmailFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -101,6 +101,20 @@ impl SendRawEmailFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::send_raw_email::SendRawEmail, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                                                                                                              The identity's email address. If you do not provide a value for this parameter, you must specify a "From" address in the raw text of the message. (You can also specify both.)

                                                                                                                                                                                                                                                                                                                                                                                                                                                                              ///

                                                                                                                                                                                                                                                                                                                                                                                                                                                                              Amazon SES does not support the SMTPUTF8 extension, as described inRFC6531. For this reason, the local part of a source email address (the part of the email address that precedes the @ sign) may only contain 7-bit ASCII characters. If the domain part of an address (the part after the @ sign) contains non-ASCII characters, they must be encoded using Punycode, as described in RFC3492. The sender name (also known as the friendly name) may contain non-ASCII characters. These characters must be encoded using MIME encoded-word syntax, as described in RFC 2047. MIME encoded-word syntax uses the following form: =?charset?encoding?encoded-text?=.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                              ///
                                                                                                                                                                                                                                                                                                                                                                                                                                                                              diff --git a/sdk/ses/src/operation/send_templated_email/builders.rs b/sdk/ses/src/operation/send_templated_email/builders.rs index 64a4fc8fc619..f7fbd3e82ab9 100644 --- a/sdk/ses/src/operation/send_templated_email/builders.rs +++ b/sdk/ses/src/operation/send_templated_email/builders.rs @@ -31,9 +31,9 @@ impl SendTemplatedEmailFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -95,6 +95,22 @@ impl SendTemplatedEmailFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::send_templated_email::SendTemplatedEmail, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::send_templated_email::SendTemplatedEmailError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                                                                                                              The email address that is sending the email. This email address must be either individually verified with Amazon SES, or from a domain that has been verified with Amazon SES. For information about verifying identities, see the Amazon SES Developer Guide.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                              ///

                                                                                                                                                                                                                                                                                                                                                                                                                                                                              If you are sending on behalf of another user and have been permitted to do so by a sending authorization policy, then you must also specify the SourceArn parameter. For more information about sending authorization, see the Amazon SES Developer Guide.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                              ///

                                                                                                                                                                                                                                                                                                                                                                                                                                                                              Amazon SES does not support the SMTPUTF8 extension, as described in RFC6531. For this reason, the local part of a source email address (the part of the email address that precedes the @ sign) may only contain 7-bit ASCII characters. If the domain part of an address (the part after the @ sign) contains non-ASCII characters, they must be encoded using Punycode, as described in RFC3492. The sender name (also known as the friendly name) may contain non-ASCII characters. These characters must be encoded using MIME encoded-word syntax, as described inRFC 2047. MIME encoded-word syntax uses the following form: =?charset?encoding?encoded-text?=.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                              diff --git a/sdk/ses/src/operation/set_active_receipt_rule_set/builders.rs b/sdk/ses/src/operation/set_active_receipt_rule_set/builders.rs index 792d36483eab..b08f73bf1de4 100644 --- a/sdk/ses/src/operation/set_active_receipt_rule_set/builders.rs +++ b/sdk/ses/src/operation/set_active_receipt_rule_set/builders.rs @@ -23,9 +23,9 @@ impl SetActiveReceiptRuleSetFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -87,6 +87,22 @@ impl SetActiveReceiptRuleSetFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::set_active_receipt_rule_set::SetActiveReceiptRuleSet, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::set_active_receipt_rule_set::SetActiveReceiptRuleSetError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                                                                                                              The name of the receipt rule set to make active. Setting this value to null disables all email receiving.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                              pub fn rule_set_name( mut self, diff --git a/sdk/ses/src/operation/set_identity_dkim_enabled/builders.rs b/sdk/ses/src/operation/set_identity_dkim_enabled/builders.rs index 20cb3fb07f5f..02d115bf8c03 100644 --- a/sdk/ses/src/operation/set_identity_dkim_enabled/builders.rs +++ b/sdk/ses/src/operation/set_identity_dkim_enabled/builders.rs @@ -25,9 +25,9 @@ impl SetIdentityDkimEnabledFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -89,6 +89,22 @@ impl SetIdentityDkimEnabledFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::set_identity_dkim_enabled::SetIdentityDkimEnabled, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::set_identity_dkim_enabled::SetIdentityDkimEnabledError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                                                                                                              The identity for which DKIM signing should be enabled or disabled.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                              pub fn identity(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.identity(input.into()); diff --git a/sdk/ses/src/operation/set_identity_feedback_forwarding_enabled/builders.rs b/sdk/ses/src/operation/set_identity_feedback_forwarding_enabled/builders.rs index 615e2458893c..c98202b8c4e0 100644 --- a/sdk/ses/src/operation/set_identity_feedback_forwarding_enabled/builders.rs +++ b/sdk/ses/src/operation/set_identity_feedback_forwarding_enabled/builders.rs @@ -23,9 +23,9 @@ impl SetIdentityFeedbackForwardingEnabledFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize(self) -> ::std::result::Result< + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware(self) -> ::std::result::Result< crate::client::customize::CustomizableOperation, ::aws_smithy_http::result::SdkError >{ @@ -68,6 +68,15 @@ impl SetIdentityFeedbackForwardingEnabledFluentBuilder { { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize(self) -> ::std::result::Result< + crate::client::customize::CustomizableOperation, + ::aws_smithy_http::result::SdkError + >{ + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                                                                                                              The identity for which to set bounce and complaint notification forwarding. Examples: user@example.com, example.com.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                              pub fn identity(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.identity(input.into()); diff --git a/sdk/ses/src/operation/set_identity_headers_in_notifications_enabled/builders.rs b/sdk/ses/src/operation/set_identity_headers_in_notifications_enabled/builders.rs index 65612907da92..32140c00385b 100644 --- a/sdk/ses/src/operation/set_identity_headers_in_notifications_enabled/builders.rs +++ b/sdk/ses/src/operation/set_identity_headers_in_notifications_enabled/builders.rs @@ -21,9 +21,9 @@ impl SetIdentityHeadersInNotificationsEnabledFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize(self) -> ::std::result::Result< + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware(self) -> ::std::result::Result< crate::client::customize::CustomizableOperation, ::aws_smithy_http::result::SdkError >{ @@ -66,6 +66,15 @@ impl SetIdentityHeadersInNotificationsEnabledFluentBuilder { { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize(self) -> ::std::result::Result< + crate::client::customize::CustomizableOperation, + ::aws_smithy_http::result::SdkError + >{ + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                                                                                                              The identity for which to enable or disable headers in notifications. Examples: user@example.com, example.com.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                              pub fn identity(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.identity(input.into()); diff --git a/sdk/ses/src/operation/set_identity_mail_from_domain/builders.rs b/sdk/ses/src/operation/set_identity_mail_from_domain/builders.rs index 3dc819f4c2a4..880704232818 100644 --- a/sdk/ses/src/operation/set_identity_mail_from_domain/builders.rs +++ b/sdk/ses/src/operation/set_identity_mail_from_domain/builders.rs @@ -22,9 +22,9 @@ impl SetIdentityMailFromDomainFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -86,6 +86,22 @@ impl SetIdentityMailFromDomainFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::set_identity_mail_from_domain::SetIdentityMailFromDomain, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::set_identity_mail_from_domain::SetIdentityMailFromDomainError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                                                                                                              The verified identity for which you want to enable or disable the specified custom MAIL FROM domain.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                              pub fn identity(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.identity(input.into()); diff --git a/sdk/ses/src/operation/set_identity_notification_topic/builders.rs b/sdk/ses/src/operation/set_identity_notification_topic/builders.rs index 0d6febc28215..426f2d5bc0af 100644 --- a/sdk/ses/src/operation/set_identity_notification_topic/builders.rs +++ b/sdk/ses/src/operation/set_identity_notification_topic/builders.rs @@ -21,9 +21,9 @@ impl SetIdentityNotificationTopicFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -85,6 +85,22 @@ impl SetIdentityNotificationTopicFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::set_identity_notification_topic::SetIdentityNotificationTopic, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::set_identity_notification_topic::SetIdentityNotificationTopicError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                                                                                                              The identity (email address or domain) that you want to set the Amazon SNS topic for.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                              ///

                                                                                                                                                                                                                                                                                                                                                                                                                                                                              You can only specify a verified identity for this parameter.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                              ///
                                                                                                                                                                                                                                                                                                                                                                                                                                                                              diff --git a/sdk/ses/src/operation/set_receipt_rule_position/builders.rs b/sdk/ses/src/operation/set_receipt_rule_position/builders.rs index 0c8a3f2ecb95..e28b50d6d284 100644 --- a/sdk/ses/src/operation/set_receipt_rule_position/builders.rs +++ b/sdk/ses/src/operation/set_receipt_rule_position/builders.rs @@ -22,9 +22,9 @@ impl SetReceiptRulePositionFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -86,6 +86,22 @@ impl SetReceiptRulePositionFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::set_receipt_rule_position::SetReceiptRulePosition, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::set_receipt_rule_position::SetReceiptRulePositionError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                                                                                                              The name of the receipt rule set that contains the receipt rule to reposition.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                              pub fn rule_set_name( mut self, diff --git a/sdk/ses/src/operation/test_render_template/builders.rs b/sdk/ses/src/operation/test_render_template/builders.rs index 3db77999e9da..d8c3a5594e50 100644 --- a/sdk/ses/src/operation/test_render_template/builders.rs +++ b/sdk/ses/src/operation/test_render_template/builders.rs @@ -20,9 +20,9 @@ impl TestRenderTemplateFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -84,6 +84,22 @@ impl TestRenderTemplateFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::test_render_template::TestRenderTemplate, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::test_render_template::TestRenderTemplateError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                                                                                                              The name of the template that you want to render.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                              pub fn template_name( mut self, diff --git a/sdk/ses/src/operation/update_account_sending_enabled/builders.rs b/sdk/ses/src/operation/update_account_sending_enabled/builders.rs index 21574fc205c9..cb2f000e5277 100644 --- a/sdk/ses/src/operation/update_account_sending_enabled/builders.rs +++ b/sdk/ses/src/operation/update_account_sending_enabled/builders.rs @@ -20,9 +20,9 @@ impl UpdateAccountSendingEnabledFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -84,6 +84,22 @@ impl UpdateAccountSendingEnabledFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::update_account_sending_enabled::UpdateAccountSendingEnabled, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::update_account_sending_enabled::UpdateAccountSendingEnabledError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                                                                                                              Describes whether email sending is enabled or disabled for your Amazon SES account in the current AWS Region.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                              pub fn enabled(mut self, input: bool) -> Self { self.inner = self.inner.enabled(input); diff --git a/sdk/ses/src/operation/update_configuration_set_event_destination/builders.rs b/sdk/ses/src/operation/update_configuration_set_event_destination/builders.rs index b1e868a4c4ed..c8a22c6416f2 100644 --- a/sdk/ses/src/operation/update_configuration_set_event_destination/builders.rs +++ b/sdk/ses/src/operation/update_configuration_set_event_destination/builders.rs @@ -22,9 +22,9 @@ impl UpdateConfigurationSetEventDestinationFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize(self) -> ::std::result::Result< + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware(self) -> ::std::result::Result< crate::client::customize::CustomizableOperation, ::aws_smithy_http::result::SdkError >{ @@ -67,6 +67,15 @@ impl UpdateConfigurationSetEventDestinationFluentBuilder { { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize(self) -> ::std::result::Result< + crate::client::customize::CustomizableOperation, + ::aws_smithy_http::result::SdkError + >{ + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                                                                                                              The name of the configuration set that contains the event destination that you want to update.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                              pub fn configuration_set_name( mut self, diff --git a/sdk/ses/src/operation/update_configuration_set_reputation_metrics_enabled/builders.rs b/sdk/ses/src/operation/update_configuration_set_reputation_metrics_enabled/builders.rs index 0f06b775e07e..8af41f57aa04 100644 --- a/sdk/ses/src/operation/update_configuration_set_reputation_metrics_enabled/builders.rs +++ b/sdk/ses/src/operation/update_configuration_set_reputation_metrics_enabled/builders.rs @@ -20,9 +20,9 @@ impl UpdateConfigurationSetReputationMetricsEnabledFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize(self) -> ::std::result::Result< + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware(self) -> ::std::result::Result< crate::client::customize::CustomizableOperation, ::aws_smithy_http::result::SdkError >{ @@ -65,6 +65,15 @@ impl UpdateConfigurationSetReputationMetricsEnabledFluentBuilder { { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize(self) -> ::std::result::Result< + crate::client::customize::CustomizableOperation, + ::aws_smithy_http::result::SdkError + >{ + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                                                                                                              The name of the configuration set that you want to update.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                              pub fn configuration_set_name( mut self, diff --git a/sdk/ses/src/operation/update_configuration_set_sending_enabled/builders.rs b/sdk/ses/src/operation/update_configuration_set_sending_enabled/builders.rs index b23da0493042..84d9d2c6a734 100644 --- a/sdk/ses/src/operation/update_configuration_set_sending_enabled/builders.rs +++ b/sdk/ses/src/operation/update_configuration_set_sending_enabled/builders.rs @@ -20,9 +20,9 @@ impl UpdateConfigurationSetSendingEnabledFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize(self) -> ::std::result::Result< + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware(self) -> ::std::result::Result< crate::client::customize::CustomizableOperation, ::aws_smithy_http::result::SdkError >{ @@ -65,6 +65,15 @@ impl UpdateConfigurationSetSendingEnabledFluentBuilder { { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize(self) -> ::std::result::Result< + crate::client::customize::CustomizableOperation, + ::aws_smithy_http::result::SdkError + >{ + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                                                                                                              The name of the configuration set that you want to update.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                              pub fn configuration_set_name( mut self, diff --git a/sdk/ses/src/operation/update_configuration_set_tracking_options/builders.rs b/sdk/ses/src/operation/update_configuration_set_tracking_options/builders.rs index 0f21de4c5c49..f01904da95ae 100644 --- a/sdk/ses/src/operation/update_configuration_set_tracking_options/builders.rs +++ b/sdk/ses/src/operation/update_configuration_set_tracking_options/builders.rs @@ -20,9 +20,9 @@ impl UpdateConfigurationSetTrackingOptionsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize(self) -> ::std::result::Result< + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware(self) -> ::std::result::Result< crate::client::customize::CustomizableOperation, ::aws_smithy_http::result::SdkError >{ @@ -65,6 +65,15 @@ impl UpdateConfigurationSetTrackingOptionsFluentBuilder { { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize(self) -> ::std::result::Result< + crate::client::customize::CustomizableOperation, + ::aws_smithy_http::result::SdkError + >{ + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                                                                                                              The name of the configuration set for which you want to update the custom tracking domain.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                              pub fn configuration_set_name( mut self, diff --git a/sdk/ses/src/operation/update_custom_verification_email_template/builders.rs b/sdk/ses/src/operation/update_custom_verification_email_template/builders.rs index fae52df23136..334603172863 100644 --- a/sdk/ses/src/operation/update_custom_verification_email_template/builders.rs +++ b/sdk/ses/src/operation/update_custom_verification_email_template/builders.rs @@ -21,9 +21,9 @@ impl UpdateCustomVerificationEmailTemplateFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize(self) -> ::std::result::Result< + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware(self) -> ::std::result::Result< crate::client::customize::CustomizableOperation, ::aws_smithy_http::result::SdkError >{ @@ -66,6 +66,15 @@ impl UpdateCustomVerificationEmailTemplateFluentBuilder { { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize(self) -> ::std::result::Result< + crate::client::customize::CustomizableOperation, + ::aws_smithy_http::result::SdkError + >{ + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                                                                                                              The name of the custom verification email template that you want to update.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                              pub fn template_name( mut self, diff --git a/sdk/ses/src/operation/update_receipt_rule/builders.rs b/sdk/ses/src/operation/update_receipt_rule/builders.rs index 1ca05a803f78..f726c8770489 100644 --- a/sdk/ses/src/operation/update_receipt_rule/builders.rs +++ b/sdk/ses/src/operation/update_receipt_rule/builders.rs @@ -21,9 +21,9 @@ impl UpdateReceiptRuleFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -85,6 +85,22 @@ impl UpdateReceiptRuleFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::update_receipt_rule::UpdateReceiptRule, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::update_receipt_rule::UpdateReceiptRuleError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                                                                                                              The name of the receipt rule set that the receipt rule belongs to.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                              pub fn rule_set_name( mut self, diff --git a/sdk/ses/src/operation/update_template/builders.rs b/sdk/ses/src/operation/update_template/builders.rs index 164d2db7de9f..ed5d9b37e3d9 100644 --- a/sdk/ses/src/operation/update_template/builders.rs +++ b/sdk/ses/src/operation/update_template/builders.rs @@ -20,9 +20,9 @@ impl UpdateTemplateFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -78,6 +78,20 @@ impl UpdateTemplateFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::update_template::UpdateTemplate, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                                                                                                              The content of the email, composed of a subject line, an HTML part, and a text-only part.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                              pub fn template(mut self, input: crate::types::Template) -> Self { self.inner = self.inner.template(input); diff --git a/sdk/ses/src/operation/verify_domain_dkim/builders.rs b/sdk/ses/src/operation/verify_domain_dkim/builders.rs index cf0441a279ca..d8333cad9075 100644 --- a/sdk/ses/src/operation/verify_domain_dkim/builders.rs +++ b/sdk/ses/src/operation/verify_domain_dkim/builders.rs @@ -30,9 +30,9 @@ impl VerifyDomainDkimFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -94,6 +94,22 @@ impl VerifyDomainDkimFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::verify_domain_dkim::VerifyDomainDkim, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::verify_domain_dkim::VerifyDomainDkimError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                                                                                                              The name of the domain to be verified for Easy DKIM signing.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                              pub fn domain(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.domain(input.into()); diff --git a/sdk/ses/src/operation/verify_domain_identity/builders.rs b/sdk/ses/src/operation/verify_domain_identity/builders.rs index 4dd27857c3e1..85177a8f16bd 100644 --- a/sdk/ses/src/operation/verify_domain_identity/builders.rs +++ b/sdk/ses/src/operation/verify_domain_identity/builders.rs @@ -20,9 +20,9 @@ impl VerifyDomainIdentityFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -84,6 +84,22 @@ impl VerifyDomainIdentityFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::verify_domain_identity::VerifyDomainIdentity, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::verify_domain_identity::VerifyDomainIdentityError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                                                                                                              The domain to be verified.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                              pub fn domain(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.domain(input.into()); diff --git a/sdk/ses/src/operation/verify_email_address/builders.rs b/sdk/ses/src/operation/verify_email_address/builders.rs index b3815d4bf9de..0564ab4d1442 100644 --- a/sdk/ses/src/operation/verify_email_address/builders.rs +++ b/sdk/ses/src/operation/verify_email_address/builders.rs @@ -19,9 +19,9 @@ impl VerifyEmailAddressFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl VerifyEmailAddressFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::verify_email_address::VerifyEmailAddress, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::verify_email_address::VerifyEmailAddressError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                                                                                                              The email address to be verified.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                              pub fn email_address( mut self, diff --git a/sdk/ses/src/operation/verify_email_identity/builders.rs b/sdk/ses/src/operation/verify_email_identity/builders.rs index 93a93dd5ef3e..e6466896ff13 100644 --- a/sdk/ses/src/operation/verify_email_identity/builders.rs +++ b/sdk/ses/src/operation/verify_email_identity/builders.rs @@ -20,9 +20,9 @@ impl VerifyEmailIdentityFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -84,6 +84,22 @@ impl VerifyEmailIdentityFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::verify_email_identity::VerifyEmailIdentity, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::verify_email_identity::VerifyEmailIdentityError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                                                                                                              The email address to be verified.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                              pub fn email_address( mut self, diff --git a/sdk/sesv2/src/operation/batch_get_metric_data/builders.rs b/sdk/sesv2/src/operation/batch_get_metric_data/builders.rs index 1fb1ee51f437..ce928167c89a 100644 --- a/sdk/sesv2/src/operation/batch_get_metric_data/builders.rs +++ b/sdk/sesv2/src/operation/batch_get_metric_data/builders.rs @@ -20,9 +20,9 @@ impl BatchGetMetricDataFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -84,6 +84,22 @@ impl BatchGetMetricDataFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::batch_get_metric_data::BatchGetMetricData, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::batch_get_metric_data::BatchGetMetricDataError, + >, + > { + self.customize_middleware().await + } /// Appends an item to `Queries`. /// /// To override the contents of this collection use [`set_queries`](Self::set_queries). diff --git a/sdk/sesv2/src/operation/create_configuration_set/builders.rs b/sdk/sesv2/src/operation/create_configuration_set/builders.rs index 423aec30c600..118b865f87c3 100644 --- a/sdk/sesv2/src/operation/create_configuration_set/builders.rs +++ b/sdk/sesv2/src/operation/create_configuration_set/builders.rs @@ -19,9 +19,9 @@ impl CreateConfigurationSetFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl CreateConfigurationSetFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::create_configuration_set::CreateConfigurationSet, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::create_configuration_set::CreateConfigurationSetError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                                                                                                              The name of the configuration set. The name can contain up to 64 alphanumeric characters, including letters, numbers, hyphens (-) and underscores (_) only.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                              pub fn configuration_set_name( mut self, diff --git a/sdk/sesv2/src/operation/create_configuration_set_event_destination/builders.rs b/sdk/sesv2/src/operation/create_configuration_set_event_destination/builders.rs index a1d9fff8ff82..1714ba50398f 100644 --- a/sdk/sesv2/src/operation/create_configuration_set_event_destination/builders.rs +++ b/sdk/sesv2/src/operation/create_configuration_set_event_destination/builders.rs @@ -20,9 +20,9 @@ impl CreateConfigurationSetEventDestinationFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize(self) -> ::std::result::Result< + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware(self) -> ::std::result::Result< crate::client::customize::CustomizableOperation, ::aws_smithy_http::result::SdkError >{ @@ -65,6 +65,15 @@ impl CreateConfigurationSetEventDestinationFluentBuilder { { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize(self) -> ::std::result::Result< + crate::client::customize::CustomizableOperation, + ::aws_smithy_http::result::SdkError + >{ + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                                                                                                              The name of the configuration set .

                                                                                                                                                                                                                                                                                                                                                                                                                                                                              pub fn configuration_set_name( mut self, diff --git a/sdk/sesv2/src/operation/create_contact/builders.rs b/sdk/sesv2/src/operation/create_contact/builders.rs index 9dd48bb8d8a9..f143c48dbc1f 100644 --- a/sdk/sesv2/src/operation/create_contact/builders.rs +++ b/sdk/sesv2/src/operation/create_contact/builders.rs @@ -19,9 +19,9 @@ impl CreateContactFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl CreateContactFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::create_contact::CreateContact, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                                                                                                              The name of the contact list to which the contact should be added.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                              pub fn contact_list_name( mut self, diff --git a/sdk/sesv2/src/operation/create_contact_list/builders.rs b/sdk/sesv2/src/operation/create_contact_list/builders.rs index 20aaca2d4b9c..f1279ef61487 100644 --- a/sdk/sesv2/src/operation/create_contact_list/builders.rs +++ b/sdk/sesv2/src/operation/create_contact_list/builders.rs @@ -19,9 +19,9 @@ impl CreateContactListFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl CreateContactListFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::create_contact_list::CreateContactList, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::create_contact_list::CreateContactListError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                                                                                                              The name of the contact list.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                              pub fn contact_list_name( mut self, diff --git a/sdk/sesv2/src/operation/create_custom_verification_email_template/builders.rs b/sdk/sesv2/src/operation/create_custom_verification_email_template/builders.rs index 90ae61a38a6f..225417261c3d 100644 --- a/sdk/sesv2/src/operation/create_custom_verification_email_template/builders.rs +++ b/sdk/sesv2/src/operation/create_custom_verification_email_template/builders.rs @@ -21,9 +21,9 @@ impl CreateCustomVerificationEmailTemplateFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize(self) -> ::std::result::Result< + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware(self) -> ::std::result::Result< crate::client::customize::CustomizableOperation, ::aws_smithy_http::result::SdkError >{ @@ -66,6 +66,15 @@ impl CreateCustomVerificationEmailTemplateFluentBuilder { { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize(self) -> ::std::result::Result< + crate::client::customize::CustomizableOperation, + ::aws_smithy_http::result::SdkError + >{ + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                                                                                                              The name of the custom verification email template.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                              pub fn template_name( mut self, diff --git a/sdk/sesv2/src/operation/create_dedicated_ip_pool/builders.rs b/sdk/sesv2/src/operation/create_dedicated_ip_pool/builders.rs index 43d63581beff..5be373bfac7f 100644 --- a/sdk/sesv2/src/operation/create_dedicated_ip_pool/builders.rs +++ b/sdk/sesv2/src/operation/create_dedicated_ip_pool/builders.rs @@ -19,9 +19,9 @@ impl CreateDedicatedIpPoolFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl CreateDedicatedIpPoolFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::create_dedicated_ip_pool::CreateDedicatedIpPool, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::create_dedicated_ip_pool::CreateDedicatedIpPoolError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                                                                                                              The name of the dedicated IP pool.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                              pub fn pool_name(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.pool_name(input.into()); diff --git a/sdk/sesv2/src/operation/create_deliverability_test_report/builders.rs b/sdk/sesv2/src/operation/create_deliverability_test_report/builders.rs index 4e19d198a570..bfd2a43825d2 100644 --- a/sdk/sesv2/src/operation/create_deliverability_test_report/builders.rs +++ b/sdk/sesv2/src/operation/create_deliverability_test_report/builders.rs @@ -19,9 +19,9 @@ impl CreateDeliverabilityTestReportFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize(self) -> ::std::result::Result< + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware(self) -> ::std::result::Result< crate::client::customize::CustomizableOperation, ::aws_smithy_http::result::SdkError >{ @@ -64,6 +64,15 @@ impl CreateDeliverabilityTestReportFluentBuilder { { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize(self) -> ::std::result::Result< + crate::client::customize::CustomizableOperation, + ::aws_smithy_http::result::SdkError + >{ + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                                                                                                              A unique name that helps you to identify the predictive inbox placement test when you retrieve the results.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                              pub fn report_name(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.report_name(input.into()); diff --git a/sdk/sesv2/src/operation/create_email_identity/builders.rs b/sdk/sesv2/src/operation/create_email_identity/builders.rs index 54bd2cea5b94..65206e5a8827 100644 --- a/sdk/sesv2/src/operation/create_email_identity/builders.rs +++ b/sdk/sesv2/src/operation/create_email_identity/builders.rs @@ -24,9 +24,9 @@ impl CreateEmailIdentityFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -88,6 +88,22 @@ impl CreateEmailIdentityFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::create_email_identity::CreateEmailIdentity, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::create_email_identity::CreateEmailIdentityError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                                                                                                              The email address or domain to verify.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                              pub fn email_identity( mut self, diff --git a/sdk/sesv2/src/operation/create_email_identity_policy/builders.rs b/sdk/sesv2/src/operation/create_email_identity_policy/builders.rs index 8d707481de42..db898eb9ff36 100644 --- a/sdk/sesv2/src/operation/create_email_identity_policy/builders.rs +++ b/sdk/sesv2/src/operation/create_email_identity_policy/builders.rs @@ -23,9 +23,9 @@ impl CreateEmailIdentityPolicyFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -87,6 +87,22 @@ impl CreateEmailIdentityPolicyFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::create_email_identity_policy::CreateEmailIdentityPolicy, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::create_email_identity_policy::CreateEmailIdentityPolicyError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                                                                                                              The email identity.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                              pub fn email_identity( mut self, diff --git a/sdk/sesv2/src/operation/create_email_template/builders.rs b/sdk/sesv2/src/operation/create_email_template/builders.rs index 4035151c628f..bd2becedaa86 100644 --- a/sdk/sesv2/src/operation/create_email_template/builders.rs +++ b/sdk/sesv2/src/operation/create_email_template/builders.rs @@ -20,9 +20,9 @@ impl CreateEmailTemplateFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -84,6 +84,22 @@ impl CreateEmailTemplateFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::create_email_template::CreateEmailTemplate, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::create_email_template::CreateEmailTemplateError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                                                                                                              The name of the template.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                              pub fn template_name( mut self, diff --git a/sdk/sesv2/src/operation/create_import_job/builders.rs b/sdk/sesv2/src/operation/create_import_job/builders.rs index fb9735288aca..151f5ec0e7a7 100644 --- a/sdk/sesv2/src/operation/create_import_job/builders.rs +++ b/sdk/sesv2/src/operation/create_import_job/builders.rs @@ -19,9 +19,9 @@ impl CreateImportJobFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl CreateImportJobFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::create_import_job::CreateImportJob, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::create_import_job::CreateImportJobError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                                                                                                              The destination for the import job.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                              pub fn import_destination(mut self, input: crate::types::ImportDestination) -> Self { self.inner = self.inner.import_destination(input); diff --git a/sdk/sesv2/src/operation/delete_configuration_set/builders.rs b/sdk/sesv2/src/operation/delete_configuration_set/builders.rs index cd318e2a5738..ccd4b3465d40 100644 --- a/sdk/sesv2/src/operation/delete_configuration_set/builders.rs +++ b/sdk/sesv2/src/operation/delete_configuration_set/builders.rs @@ -20,9 +20,9 @@ impl DeleteConfigurationSetFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -84,6 +84,22 @@ impl DeleteConfigurationSetFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::delete_configuration_set::DeleteConfigurationSet, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::delete_configuration_set::DeleteConfigurationSetError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                                                                                                              The name of the configuration set.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                              pub fn configuration_set_name( mut self, diff --git a/sdk/sesv2/src/operation/delete_configuration_set_event_destination/builders.rs b/sdk/sesv2/src/operation/delete_configuration_set_event_destination/builders.rs index 8b3b6851a02c..6fc820a8df88 100644 --- a/sdk/sesv2/src/operation/delete_configuration_set_event_destination/builders.rs +++ b/sdk/sesv2/src/operation/delete_configuration_set_event_destination/builders.rs @@ -20,9 +20,9 @@ impl DeleteConfigurationSetEventDestinationFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize(self) -> ::std::result::Result< + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware(self) -> ::std::result::Result< crate::client::customize::CustomizableOperation, ::aws_smithy_http::result::SdkError >{ @@ -65,6 +65,15 @@ impl DeleteConfigurationSetEventDestinationFluentBuilder { { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize(self) -> ::std::result::Result< + crate::client::customize::CustomizableOperation, + ::aws_smithy_http::result::SdkError + >{ + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                                                                                                              The name of the configuration set that contains the event destination to delete.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                              pub fn configuration_set_name( mut self, diff --git a/sdk/sesv2/src/operation/delete_contact/builders.rs b/sdk/sesv2/src/operation/delete_contact/builders.rs index fa882795c279..a0b9d8249059 100644 --- a/sdk/sesv2/src/operation/delete_contact/builders.rs +++ b/sdk/sesv2/src/operation/delete_contact/builders.rs @@ -19,9 +19,9 @@ impl DeleteContactFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl DeleteContactFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::delete_contact::DeleteContact, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                                                                                                              The name of the contact list from which the contact should be removed.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                              pub fn contact_list_name( mut self, diff --git a/sdk/sesv2/src/operation/delete_contact_list/builders.rs b/sdk/sesv2/src/operation/delete_contact_list/builders.rs index e105698c2f44..38a535956390 100644 --- a/sdk/sesv2/src/operation/delete_contact_list/builders.rs +++ b/sdk/sesv2/src/operation/delete_contact_list/builders.rs @@ -19,9 +19,9 @@ impl DeleteContactListFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl DeleteContactListFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::delete_contact_list::DeleteContactList, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::delete_contact_list::DeleteContactListError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                                                                                                              The name of the contact list.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                              pub fn contact_list_name( mut self, diff --git a/sdk/sesv2/src/operation/delete_custom_verification_email_template/builders.rs b/sdk/sesv2/src/operation/delete_custom_verification_email_template/builders.rs index b8aa428f9913..20c1e46d9bf8 100644 --- a/sdk/sesv2/src/operation/delete_custom_verification_email_template/builders.rs +++ b/sdk/sesv2/src/operation/delete_custom_verification_email_template/builders.rs @@ -21,9 +21,9 @@ impl DeleteCustomVerificationEmailTemplateFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize(self) -> ::std::result::Result< + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware(self) -> ::std::result::Result< crate::client::customize::CustomizableOperation, ::aws_smithy_http::result::SdkError >{ @@ -66,6 +66,15 @@ impl DeleteCustomVerificationEmailTemplateFluentBuilder { { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize(self) -> ::std::result::Result< + crate::client::customize::CustomizableOperation, + ::aws_smithy_http::result::SdkError + >{ + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                                                                                                              The name of the custom verification email template that you want to delete.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                              pub fn template_name( mut self, diff --git a/sdk/sesv2/src/operation/delete_dedicated_ip_pool/builders.rs b/sdk/sesv2/src/operation/delete_dedicated_ip_pool/builders.rs index 632ca8edddfe..bdeed0470558 100644 --- a/sdk/sesv2/src/operation/delete_dedicated_ip_pool/builders.rs +++ b/sdk/sesv2/src/operation/delete_dedicated_ip_pool/builders.rs @@ -19,9 +19,9 @@ impl DeleteDedicatedIpPoolFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl DeleteDedicatedIpPoolFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::delete_dedicated_ip_pool::DeleteDedicatedIpPool, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::delete_dedicated_ip_pool::DeleteDedicatedIpPoolError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                                                                                                              The name of the dedicated IP pool that you want to delete.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                              pub fn pool_name(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.pool_name(input.into()); diff --git a/sdk/sesv2/src/operation/delete_email_identity/builders.rs b/sdk/sesv2/src/operation/delete_email_identity/builders.rs index 35b5947fa265..b24047635b63 100644 --- a/sdk/sesv2/src/operation/delete_email_identity/builders.rs +++ b/sdk/sesv2/src/operation/delete_email_identity/builders.rs @@ -19,9 +19,9 @@ impl DeleteEmailIdentityFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl DeleteEmailIdentityFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::delete_email_identity::DeleteEmailIdentity, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::delete_email_identity::DeleteEmailIdentityError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                                                                                                              The identity (that is, the email address or domain) to delete.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                              pub fn email_identity( mut self, diff --git a/sdk/sesv2/src/operation/delete_email_identity_policy/builders.rs b/sdk/sesv2/src/operation/delete_email_identity_policy/builders.rs index cdb20278486d..91530d5e4b3c 100644 --- a/sdk/sesv2/src/operation/delete_email_identity_policy/builders.rs +++ b/sdk/sesv2/src/operation/delete_email_identity_policy/builders.rs @@ -23,9 +23,9 @@ impl DeleteEmailIdentityPolicyFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -87,6 +87,22 @@ impl DeleteEmailIdentityPolicyFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::delete_email_identity_policy::DeleteEmailIdentityPolicy, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::delete_email_identity_policy::DeleteEmailIdentityPolicyError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                                                                                                              The email identity.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                              pub fn email_identity( mut self, diff --git a/sdk/sesv2/src/operation/delete_email_template/builders.rs b/sdk/sesv2/src/operation/delete_email_template/builders.rs index a470179f6419..8966746b9542 100644 --- a/sdk/sesv2/src/operation/delete_email_template/builders.rs +++ b/sdk/sesv2/src/operation/delete_email_template/builders.rs @@ -20,9 +20,9 @@ impl DeleteEmailTemplateFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -84,6 +84,22 @@ impl DeleteEmailTemplateFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::delete_email_template::DeleteEmailTemplate, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::delete_email_template::DeleteEmailTemplateError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                                                                                                              The name of the template to be deleted.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                              pub fn template_name( mut self, diff --git a/sdk/sesv2/src/operation/delete_suppressed_destination/builders.rs b/sdk/sesv2/src/operation/delete_suppressed_destination/builders.rs index 6f21cc70ebd6..1cd7ebc87568 100644 --- a/sdk/sesv2/src/operation/delete_suppressed_destination/builders.rs +++ b/sdk/sesv2/src/operation/delete_suppressed_destination/builders.rs @@ -19,9 +19,9 @@ impl DeleteSuppressedDestinationFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl DeleteSuppressedDestinationFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::delete_suppressed_destination::DeleteSuppressedDestination, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::delete_suppressed_destination::DeleteSuppressedDestinationError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                                                                                                              The suppressed email destination to remove from the account suppression list.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                              pub fn email_address( mut self, diff --git a/sdk/sesv2/src/operation/get_account/builders.rs b/sdk/sesv2/src/operation/get_account/builders.rs index 05c618b99723..7398b04b7b0b 100644 --- a/sdk/sesv2/src/operation/get_account/builders.rs +++ b/sdk/sesv2/src/operation/get_account/builders.rs @@ -19,9 +19,9 @@ impl GetAccountFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,4 +77,18 @@ impl GetAccountFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::get_account::GetAccount, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } } diff --git a/sdk/sesv2/src/operation/get_blacklist_reports/builders.rs b/sdk/sesv2/src/operation/get_blacklist_reports/builders.rs index 441a68e8bf77..44bd0b2037d9 100644 --- a/sdk/sesv2/src/operation/get_blacklist_reports/builders.rs +++ b/sdk/sesv2/src/operation/get_blacklist_reports/builders.rs @@ -19,9 +19,9 @@ impl GetBlacklistReportsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl GetBlacklistReportsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::get_blacklist_reports::GetBlacklistReports, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::get_blacklist_reports::GetBlacklistReportsError, + >, + > { + self.customize_middleware().await + } /// Appends an item to `BlacklistItemNames`. /// /// To override the contents of this collection use [`set_blacklist_item_names`](Self::set_blacklist_item_names). diff --git a/sdk/sesv2/src/operation/get_configuration_set/builders.rs b/sdk/sesv2/src/operation/get_configuration_set/builders.rs index e89ee3d02191..adb4c0bddbdd 100644 --- a/sdk/sesv2/src/operation/get_configuration_set/builders.rs +++ b/sdk/sesv2/src/operation/get_configuration_set/builders.rs @@ -20,9 +20,9 @@ impl GetConfigurationSetFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -84,6 +84,22 @@ impl GetConfigurationSetFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::get_configuration_set::GetConfigurationSet, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::get_configuration_set::GetConfigurationSetError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                                                                                                              The name of the configuration set.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                              pub fn configuration_set_name( mut self, diff --git a/sdk/sesv2/src/operation/get_configuration_set_event_destinations/builders.rs b/sdk/sesv2/src/operation/get_configuration_set_event_destinations/builders.rs index 31338b6f8dcd..a565a7bcfadc 100644 --- a/sdk/sesv2/src/operation/get_configuration_set_event_destinations/builders.rs +++ b/sdk/sesv2/src/operation/get_configuration_set_event_destinations/builders.rs @@ -20,9 +20,9 @@ impl GetConfigurationSetEventDestinationsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize(self) -> ::std::result::Result< + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware(self) -> ::std::result::Result< crate::client::customize::CustomizableOperation, ::aws_smithy_http::result::SdkError >{ @@ -65,6 +65,15 @@ impl GetConfigurationSetEventDestinationsFluentBuilder { { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize(self) -> ::std::result::Result< + crate::client::customize::CustomizableOperation, + ::aws_smithy_http::result::SdkError + >{ + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                                                                                                              The name of the configuration set that contains the event destination.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                              pub fn configuration_set_name( mut self, diff --git a/sdk/sesv2/src/operation/get_contact/builders.rs b/sdk/sesv2/src/operation/get_contact/builders.rs index 101cefe1723b..32dfe2c47184 100644 --- a/sdk/sesv2/src/operation/get_contact/builders.rs +++ b/sdk/sesv2/src/operation/get_contact/builders.rs @@ -19,9 +19,9 @@ impl GetContactFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl GetContactFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::get_contact::GetContact, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                                                                                                              The name of the contact list to which the contact belongs.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                              pub fn contact_list_name( mut self, diff --git a/sdk/sesv2/src/operation/get_contact_list/builders.rs b/sdk/sesv2/src/operation/get_contact_list/builders.rs index 3c294eb9ab9d..a60e7fed25fa 100644 --- a/sdk/sesv2/src/operation/get_contact_list/builders.rs +++ b/sdk/sesv2/src/operation/get_contact_list/builders.rs @@ -19,9 +19,9 @@ impl GetContactListFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl GetContactListFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::get_contact_list::GetContactList, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::get_contact_list::GetContactListError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                                                                                                              The name of the contact list.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                              pub fn contact_list_name( mut self, diff --git a/sdk/sesv2/src/operation/get_custom_verification_email_template/builders.rs b/sdk/sesv2/src/operation/get_custom_verification_email_template/builders.rs index 231e0727f749..468bb5658f2f 100644 --- a/sdk/sesv2/src/operation/get_custom_verification_email_template/builders.rs +++ b/sdk/sesv2/src/operation/get_custom_verification_email_template/builders.rs @@ -21,9 +21,9 @@ impl GetCustomVerificationEmailTemplateFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize(self) -> ::std::result::Result< + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware(self) -> ::std::result::Result< crate::client::customize::CustomizableOperation, ::aws_smithy_http::result::SdkError >{ @@ -66,6 +66,15 @@ impl GetCustomVerificationEmailTemplateFluentBuilder { { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize(self) -> ::std::result::Result< + crate::client::customize::CustomizableOperation, + ::aws_smithy_http::result::SdkError + >{ + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                                                                                                              The name of the custom verification email template that you want to retrieve.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                              pub fn template_name( mut self, diff --git a/sdk/sesv2/src/operation/get_dedicated_ip/builders.rs b/sdk/sesv2/src/operation/get_dedicated_ip/builders.rs index c39123eda192..4a9407f91e22 100644 --- a/sdk/sesv2/src/operation/get_dedicated_ip/builders.rs +++ b/sdk/sesv2/src/operation/get_dedicated_ip/builders.rs @@ -19,9 +19,9 @@ impl GetDedicatedIpFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl GetDedicatedIpFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::get_dedicated_ip::GetDedicatedIp, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::get_dedicated_ip::GetDedicatedIpError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                                                                                                              The IP address that you want to obtain more information about. The value you specify has to be a dedicated IP address that's assocaited with your Amazon Web Services account.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                              pub fn ip(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.ip(input.into()); diff --git a/sdk/sesv2/src/operation/get_dedicated_ip_pool/builders.rs b/sdk/sesv2/src/operation/get_dedicated_ip_pool/builders.rs index 084dff588efb..d00249be8da0 100644 --- a/sdk/sesv2/src/operation/get_dedicated_ip_pool/builders.rs +++ b/sdk/sesv2/src/operation/get_dedicated_ip_pool/builders.rs @@ -19,9 +19,9 @@ impl GetDedicatedIpPoolFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl GetDedicatedIpPoolFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::get_dedicated_ip_pool::GetDedicatedIpPool, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::get_dedicated_ip_pool::GetDedicatedIpPoolError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                                                                                                              The name of the dedicated IP pool to retrieve.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                              pub fn pool_name(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.pool_name(input.into()); diff --git a/sdk/sesv2/src/operation/get_dedicated_ips/builders.rs b/sdk/sesv2/src/operation/get_dedicated_ips/builders.rs index b03b30fe2b86..52eb6bd59287 100644 --- a/sdk/sesv2/src/operation/get_dedicated_ips/builders.rs +++ b/sdk/sesv2/src/operation/get_dedicated_ips/builders.rs @@ -19,9 +19,9 @@ impl GetDedicatedIpsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl GetDedicatedIpsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::get_dedicated_ips::GetDedicatedIps, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::get_dedicated_ips::GetDedicatedIpsError, + >, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::get_dedicated_ips::paginator::GetDedicatedIpsPaginator::send) which returns a `Stream`. diff --git a/sdk/sesv2/src/operation/get_deliverability_dashboard_options/builders.rs b/sdk/sesv2/src/operation/get_deliverability_dashboard_options/builders.rs index 475776016ef3..4ec931ac545c 100644 --- a/sdk/sesv2/src/operation/get_deliverability_dashboard_options/builders.rs +++ b/sdk/sesv2/src/operation/get_deliverability_dashboard_options/builders.rs @@ -20,9 +20,9 @@ impl GetDeliverabilityDashboardOptionsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize(self) -> ::std::result::Result< + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware(self) -> ::std::result::Result< crate::client::customize::CustomizableOperation, ::aws_smithy_http::result::SdkError >{ @@ -65,4 +65,13 @@ impl GetDeliverabilityDashboardOptionsFluentBuilder { { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize(self) -> ::std::result::Result< + crate::client::customize::CustomizableOperation, + ::aws_smithy_http::result::SdkError + >{ + self.customize_middleware().await + } } diff --git a/sdk/sesv2/src/operation/get_deliverability_test_report/builders.rs b/sdk/sesv2/src/operation/get_deliverability_test_report/builders.rs index 9518ee6dca16..e7992c1087d0 100644 --- a/sdk/sesv2/src/operation/get_deliverability_test_report/builders.rs +++ b/sdk/sesv2/src/operation/get_deliverability_test_report/builders.rs @@ -19,9 +19,9 @@ impl GetDeliverabilityTestReportFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl GetDeliverabilityTestReportFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::get_deliverability_test_report::GetDeliverabilityTestReport, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::get_deliverability_test_report::GetDeliverabilityTestReportError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                                                                                                              A unique string that identifies the predictive inbox placement test.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                              pub fn report_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.report_id(input.into()); diff --git a/sdk/sesv2/src/operation/get_domain_deliverability_campaign/builders.rs b/sdk/sesv2/src/operation/get_domain_deliverability_campaign/builders.rs index c4e1c9e78dd9..73737936405f 100644 --- a/sdk/sesv2/src/operation/get_domain_deliverability_campaign/builders.rs +++ b/sdk/sesv2/src/operation/get_domain_deliverability_campaign/builders.rs @@ -19,9 +19,9 @@ impl GetDomainDeliverabilityCampaignFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize(self) -> ::std::result::Result< + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware(self) -> ::std::result::Result< crate::client::customize::CustomizableOperation, ::aws_smithy_http::result::SdkError >{ @@ -64,6 +64,15 @@ impl GetDomainDeliverabilityCampaignFluentBuilder { { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize(self) -> ::std::result::Result< + crate::client::customize::CustomizableOperation, + ::aws_smithy_http::result::SdkError + >{ + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                                                                                                              The unique identifier for the campaign. The Deliverability dashboard automatically generates and assigns this identifier to a campaign.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                              pub fn campaign_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.campaign_id(input.into()); diff --git a/sdk/sesv2/src/operation/get_domain_statistics_report/builders.rs b/sdk/sesv2/src/operation/get_domain_statistics_report/builders.rs index d13c6c5aa793..709445d4e036 100644 --- a/sdk/sesv2/src/operation/get_domain_statistics_report/builders.rs +++ b/sdk/sesv2/src/operation/get_domain_statistics_report/builders.rs @@ -19,9 +19,9 @@ impl GetDomainStatisticsReportFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl GetDomainStatisticsReportFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::get_domain_statistics_report::GetDomainStatisticsReport, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::get_domain_statistics_report::GetDomainStatisticsReportError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                                                                                                              The domain that you want to obtain deliverability metrics for.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                              pub fn domain(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.domain(input.into()); diff --git a/sdk/sesv2/src/operation/get_email_identity/builders.rs b/sdk/sesv2/src/operation/get_email_identity/builders.rs index 82af3c4cb3bd..58e57f75934b 100644 --- a/sdk/sesv2/src/operation/get_email_identity/builders.rs +++ b/sdk/sesv2/src/operation/get_email_identity/builders.rs @@ -19,9 +19,9 @@ impl GetEmailIdentityFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl GetEmailIdentityFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::get_email_identity::GetEmailIdentity, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::get_email_identity::GetEmailIdentityError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                                                                                                              The email identity.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                              pub fn email_identity( mut self, diff --git a/sdk/sesv2/src/operation/get_email_identity_policies/builders.rs b/sdk/sesv2/src/operation/get_email_identity_policies/builders.rs index 992f90edbc21..c4a7bf764598 100644 --- a/sdk/sesv2/src/operation/get_email_identity_policies/builders.rs +++ b/sdk/sesv2/src/operation/get_email_identity_policies/builders.rs @@ -23,9 +23,9 @@ impl GetEmailIdentityPoliciesFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -87,6 +87,22 @@ impl GetEmailIdentityPoliciesFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::get_email_identity_policies::GetEmailIdentityPolicies, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::get_email_identity_policies::GetEmailIdentityPoliciesError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                                                                                                              The email identity.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                              pub fn email_identity( mut self, diff --git a/sdk/sesv2/src/operation/get_email_template/builders.rs b/sdk/sesv2/src/operation/get_email_template/builders.rs index 79a86775329f..0d6922a18c97 100644 --- a/sdk/sesv2/src/operation/get_email_template/builders.rs +++ b/sdk/sesv2/src/operation/get_email_template/builders.rs @@ -20,9 +20,9 @@ impl GetEmailTemplateFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -84,6 +84,22 @@ impl GetEmailTemplateFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::get_email_template::GetEmailTemplate, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::get_email_template::GetEmailTemplateError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                                                                                                              The name of the template.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                              pub fn template_name( mut self, diff --git a/sdk/sesv2/src/operation/get_import_job/builders.rs b/sdk/sesv2/src/operation/get_import_job/builders.rs index b66224019372..81bfd062ed58 100644 --- a/sdk/sesv2/src/operation/get_import_job/builders.rs +++ b/sdk/sesv2/src/operation/get_import_job/builders.rs @@ -19,9 +19,9 @@ impl GetImportJobFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl GetImportJobFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::get_import_job::GetImportJob, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                                                                                                              The ID of the import job.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                              pub fn job_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.job_id(input.into()); diff --git a/sdk/sesv2/src/operation/get_suppressed_destination/builders.rs b/sdk/sesv2/src/operation/get_suppressed_destination/builders.rs index acba3ce5f60b..f54e943e9d7f 100644 --- a/sdk/sesv2/src/operation/get_suppressed_destination/builders.rs +++ b/sdk/sesv2/src/operation/get_suppressed_destination/builders.rs @@ -19,9 +19,9 @@ impl GetSuppressedDestinationFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl GetSuppressedDestinationFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::get_suppressed_destination::GetSuppressedDestination, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::get_suppressed_destination::GetSuppressedDestinationError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                                                                                                              The email address that's on the account suppression list.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                              pub fn email_address( mut self, diff --git a/sdk/sesv2/src/operation/list_configuration_sets/builders.rs b/sdk/sesv2/src/operation/list_configuration_sets/builders.rs index d290e83ce620..c84296c577dc 100644 --- a/sdk/sesv2/src/operation/list_configuration_sets/builders.rs +++ b/sdk/sesv2/src/operation/list_configuration_sets/builders.rs @@ -20,9 +20,9 @@ impl ListConfigurationSetsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -84,6 +84,22 @@ impl ListConfigurationSetsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_configuration_sets::ListConfigurationSets, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::list_configuration_sets::ListConfigurationSetsError, + >, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::list_configuration_sets::paginator::ListConfigurationSetsPaginator::send) which returns a `Stream`. diff --git a/sdk/sesv2/src/operation/list_contact_lists/builders.rs b/sdk/sesv2/src/operation/list_contact_lists/builders.rs index d937d1980771..5a9eb05a4d20 100644 --- a/sdk/sesv2/src/operation/list_contact_lists/builders.rs +++ b/sdk/sesv2/src/operation/list_contact_lists/builders.rs @@ -19,9 +19,9 @@ impl ListContactListsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl ListContactListsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_contact_lists::ListContactLists, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::list_contact_lists::ListContactListsError, + >, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::list_contact_lists::paginator::ListContactListsPaginator::send) which returns a `Stream`. diff --git a/sdk/sesv2/src/operation/list_contacts/builders.rs b/sdk/sesv2/src/operation/list_contacts/builders.rs index 4ee9c1841bcd..221368fc0709 100644 --- a/sdk/sesv2/src/operation/list_contacts/builders.rs +++ b/sdk/sesv2/src/operation/list_contacts/builders.rs @@ -19,9 +19,9 @@ impl ListContactsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl ListContactsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_contacts::ListContacts, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::list_contacts::paginator::ListContactsPaginator::send) which returns a `Stream`. diff --git a/sdk/sesv2/src/operation/list_custom_verification_email_templates/builders.rs b/sdk/sesv2/src/operation/list_custom_verification_email_templates/builders.rs index 4a228b56f552..5f2be2b7d6b5 100644 --- a/sdk/sesv2/src/operation/list_custom_verification_email_templates/builders.rs +++ b/sdk/sesv2/src/operation/list_custom_verification_email_templates/builders.rs @@ -21,9 +21,9 @@ impl ListCustomVerificationEmailTemplatesFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize(self) -> ::std::result::Result< + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware(self) -> ::std::result::Result< crate::client::customize::CustomizableOperation, ::aws_smithy_http::result::SdkError >{ @@ -66,6 +66,15 @@ impl ListCustomVerificationEmailTemplatesFluentBuilder { { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize(self) -> ::std::result::Result< + crate::client::customize::CustomizableOperation, + ::aws_smithy_http::result::SdkError + >{ + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::list_custom_verification_email_templates::paginator::ListCustomVerificationEmailTemplatesPaginator::send) which returns a `Stream`. diff --git a/sdk/sesv2/src/operation/list_dedicated_ip_pools/builders.rs b/sdk/sesv2/src/operation/list_dedicated_ip_pools/builders.rs index 5be08a6e1d03..ab10d42da287 100644 --- a/sdk/sesv2/src/operation/list_dedicated_ip_pools/builders.rs +++ b/sdk/sesv2/src/operation/list_dedicated_ip_pools/builders.rs @@ -19,9 +19,9 @@ impl ListDedicatedIpPoolsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl ListDedicatedIpPoolsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_dedicated_ip_pools::ListDedicatedIpPools, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::list_dedicated_ip_pools::ListDedicatedIpPoolsError, + >, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::list_dedicated_ip_pools::paginator::ListDedicatedIpPoolsPaginator::send) which returns a `Stream`. diff --git a/sdk/sesv2/src/operation/list_deliverability_test_reports/builders.rs b/sdk/sesv2/src/operation/list_deliverability_test_reports/builders.rs index 187bf5099e98..fb29c4441dd0 100644 --- a/sdk/sesv2/src/operation/list_deliverability_test_reports/builders.rs +++ b/sdk/sesv2/src/operation/list_deliverability_test_reports/builders.rs @@ -19,9 +19,9 @@ impl ListDeliverabilityTestReportsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl ListDeliverabilityTestReportsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_deliverability_test_reports::ListDeliverabilityTestReports, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::list_deliverability_test_reports::ListDeliverabilityTestReportsError, + >, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::list_deliverability_test_reports::paginator::ListDeliverabilityTestReportsPaginator::send) which returns a `Stream`. diff --git a/sdk/sesv2/src/operation/list_domain_deliverability_campaigns/builders.rs b/sdk/sesv2/src/operation/list_domain_deliverability_campaigns/builders.rs index f57e1e9904ca..ee479ef499be 100644 --- a/sdk/sesv2/src/operation/list_domain_deliverability_campaigns/builders.rs +++ b/sdk/sesv2/src/operation/list_domain_deliverability_campaigns/builders.rs @@ -19,9 +19,9 @@ impl ListDomainDeliverabilityCampaignsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize(self) -> ::std::result::Result< + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware(self) -> ::std::result::Result< crate::client::customize::CustomizableOperation, ::aws_smithy_http::result::SdkError >{ @@ -64,6 +64,15 @@ impl ListDomainDeliverabilityCampaignsFluentBuilder { { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize(self) -> ::std::result::Result< + crate::client::customize::CustomizableOperation, + ::aws_smithy_http::result::SdkError + >{ + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::list_domain_deliverability_campaigns::paginator::ListDomainDeliverabilityCampaignsPaginator::send) which returns a `Stream`. diff --git a/sdk/sesv2/src/operation/list_email_identities/builders.rs b/sdk/sesv2/src/operation/list_email_identities/builders.rs index 6bd099f701c1..4b24b8eb5652 100644 --- a/sdk/sesv2/src/operation/list_email_identities/builders.rs +++ b/sdk/sesv2/src/operation/list_email_identities/builders.rs @@ -19,9 +19,9 @@ impl ListEmailIdentitiesFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl ListEmailIdentitiesFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_email_identities::ListEmailIdentities, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::list_email_identities::ListEmailIdentitiesError, + >, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::list_email_identities::paginator::ListEmailIdentitiesPaginator::send) which returns a `Stream`. diff --git a/sdk/sesv2/src/operation/list_email_templates/builders.rs b/sdk/sesv2/src/operation/list_email_templates/builders.rs index 01acad28b321..cd91285d3ffe 100644 --- a/sdk/sesv2/src/operation/list_email_templates/builders.rs +++ b/sdk/sesv2/src/operation/list_email_templates/builders.rs @@ -20,9 +20,9 @@ impl ListEmailTemplatesFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -84,6 +84,22 @@ impl ListEmailTemplatesFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_email_templates::ListEmailTemplates, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::list_email_templates::ListEmailTemplatesError, + >, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::list_email_templates::paginator::ListEmailTemplatesPaginator::send) which returns a `Stream`. diff --git a/sdk/sesv2/src/operation/list_import_jobs/builders.rs b/sdk/sesv2/src/operation/list_import_jobs/builders.rs index 6637646a086e..48bac80dc623 100644 --- a/sdk/sesv2/src/operation/list_import_jobs/builders.rs +++ b/sdk/sesv2/src/operation/list_import_jobs/builders.rs @@ -19,9 +19,9 @@ impl ListImportJobsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl ListImportJobsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_import_jobs::ListImportJobs, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::list_import_jobs::ListImportJobsError, + >, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::list_import_jobs::paginator::ListImportJobsPaginator::send) which returns a `Stream`. diff --git a/sdk/sesv2/src/operation/list_recommendations/builders.rs b/sdk/sesv2/src/operation/list_recommendations/builders.rs index 715c5cc32722..502e184d8e0b 100644 --- a/sdk/sesv2/src/operation/list_recommendations/builders.rs +++ b/sdk/sesv2/src/operation/list_recommendations/builders.rs @@ -20,9 +20,9 @@ impl ListRecommendationsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -84,6 +84,22 @@ impl ListRecommendationsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_recommendations::ListRecommendations, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::list_recommendations::ListRecommendationsError, + >, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::list_recommendations::paginator::ListRecommendationsPaginator::send) which returns a `Stream`. diff --git a/sdk/sesv2/src/operation/list_suppressed_destinations/builders.rs b/sdk/sesv2/src/operation/list_suppressed_destinations/builders.rs index f3b05930ef79..329b26415ca9 100644 --- a/sdk/sesv2/src/operation/list_suppressed_destinations/builders.rs +++ b/sdk/sesv2/src/operation/list_suppressed_destinations/builders.rs @@ -19,9 +19,9 @@ impl ListSuppressedDestinationsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl ListSuppressedDestinationsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_suppressed_destinations::ListSuppressedDestinations, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::list_suppressed_destinations::ListSuppressedDestinationsError, + >, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::list_suppressed_destinations::paginator::ListSuppressedDestinationsPaginator::send) which returns a `Stream`. diff --git a/sdk/sesv2/src/operation/list_tags_for_resource/builders.rs b/sdk/sesv2/src/operation/list_tags_for_resource/builders.rs index 38a50e5c6476..1f98bd634240 100644 --- a/sdk/sesv2/src/operation/list_tags_for_resource/builders.rs +++ b/sdk/sesv2/src/operation/list_tags_for_resource/builders.rs @@ -19,9 +19,9 @@ impl ListTagsForResourceFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl ListTagsForResourceFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_tags_for_resource::ListTagsForResource, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::list_tags_for_resource::ListTagsForResourceError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                                                                                                              The Amazon Resource Name (ARN) of the resource that you want to retrieve tag information for.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                              pub fn resource_arn(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.resource_arn(input.into()); diff --git a/sdk/sesv2/src/operation/put_account_dedicated_ip_warmup_attributes/builders.rs b/sdk/sesv2/src/operation/put_account_dedicated_ip_warmup_attributes/builders.rs index 8f7526d529ce..2b010eecd310 100644 --- a/sdk/sesv2/src/operation/put_account_dedicated_ip_warmup_attributes/builders.rs +++ b/sdk/sesv2/src/operation/put_account_dedicated_ip_warmup_attributes/builders.rs @@ -19,9 +19,9 @@ impl PutAccountDedicatedIpWarmupAttributesFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize(self) -> ::std::result::Result< + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware(self) -> ::std::result::Result< crate::client::customize::CustomizableOperation, ::aws_smithy_http::result::SdkError >{ @@ -64,6 +64,15 @@ impl PutAccountDedicatedIpWarmupAttributesFluentBuilder { { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize(self) -> ::std::result::Result< + crate::client::customize::CustomizableOperation, + ::aws_smithy_http::result::SdkError + >{ + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                                                                                                              Enables or disables the automatic warm-up feature for dedicated IP addresses that are associated with your Amazon SES account in the current Amazon Web Services Region. Set to true to enable the automatic warm-up feature, or set to false to disable it.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                              pub fn auto_warmup_enabled(mut self, input: bool) -> Self { self.inner = self.inner.auto_warmup_enabled(input); diff --git a/sdk/sesv2/src/operation/put_account_details/builders.rs b/sdk/sesv2/src/operation/put_account_details/builders.rs index fa574aab545e..0a8d0f4b3852 100644 --- a/sdk/sesv2/src/operation/put_account_details/builders.rs +++ b/sdk/sesv2/src/operation/put_account_details/builders.rs @@ -19,9 +19,9 @@ impl PutAccountDetailsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl PutAccountDetailsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::put_account_details::PutAccountDetails, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::put_account_details::PutAccountDetailsError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                                                                                                              The type of email your account will send.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                              pub fn mail_type(mut self, input: crate::types::MailType) -> Self { self.inner = self.inner.mail_type(input); diff --git a/sdk/sesv2/src/operation/put_account_sending_attributes/builders.rs b/sdk/sesv2/src/operation/put_account_sending_attributes/builders.rs index 17b9f9e74a64..ce0badd53927 100644 --- a/sdk/sesv2/src/operation/put_account_sending_attributes/builders.rs +++ b/sdk/sesv2/src/operation/put_account_sending_attributes/builders.rs @@ -19,9 +19,9 @@ impl PutAccountSendingAttributesFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl PutAccountSendingAttributesFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::put_account_sending_attributes::PutAccountSendingAttributes, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::put_account_sending_attributes::PutAccountSendingAttributesError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                                                                                                              Enables or disables your account's ability to send email. Set to true to enable email sending, or set to false to disable email sending.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                              ///

                                                                                                                                                                                                                                                                                                                                                                                                                                                                              If Amazon Web Services paused your account's ability to send email, you can't use this operation to resume your account's ability to send email.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                              ///
                                                                                                                                                                                                                                                                                                                                                                                                                                                                              diff --git a/sdk/sesv2/src/operation/put_account_suppression_attributes/builders.rs b/sdk/sesv2/src/operation/put_account_suppression_attributes/builders.rs index 399997d9036a..3c9c4f708618 100644 --- a/sdk/sesv2/src/operation/put_account_suppression_attributes/builders.rs +++ b/sdk/sesv2/src/operation/put_account_suppression_attributes/builders.rs @@ -19,9 +19,9 @@ impl PutAccountSuppressionAttributesFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize(self) -> ::std::result::Result< + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware(self) -> ::std::result::Result< crate::client::customize::CustomizableOperation, ::aws_smithy_http::result::SdkError >{ @@ -64,6 +64,15 @@ impl PutAccountSuppressionAttributesFluentBuilder { { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize(self) -> ::std::result::Result< + crate::client::customize::CustomizableOperation, + ::aws_smithy_http::result::SdkError + >{ + self.customize_middleware().await + } /// Appends an item to `SuppressedReasons`. /// /// To override the contents of this collection use [`set_suppressed_reasons`](Self::set_suppressed_reasons). diff --git a/sdk/sesv2/src/operation/put_account_vdm_attributes/builders.rs b/sdk/sesv2/src/operation/put_account_vdm_attributes/builders.rs index d78c908d9fd0..c84ec063b4a5 100644 --- a/sdk/sesv2/src/operation/put_account_vdm_attributes/builders.rs +++ b/sdk/sesv2/src/operation/put_account_vdm_attributes/builders.rs @@ -21,9 +21,9 @@ impl PutAccountVdmAttributesFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -85,6 +85,22 @@ impl PutAccountVdmAttributesFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::put_account_vdm_attributes::PutAccountVdmAttributes, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::put_account_vdm_attributes::PutAccountVdmAttributesError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                                                                                                              The VDM attributes that you wish to apply to your Amazon SES account.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                              pub fn vdm_attributes(mut self, input: crate::types::VdmAttributes) -> Self { self.inner = self.inner.vdm_attributes(input); diff --git a/sdk/sesv2/src/operation/put_configuration_set_delivery_options/builders.rs b/sdk/sesv2/src/operation/put_configuration_set_delivery_options/builders.rs index e3e5ad4878e9..64a5517d9157 100644 --- a/sdk/sesv2/src/operation/put_configuration_set_delivery_options/builders.rs +++ b/sdk/sesv2/src/operation/put_configuration_set_delivery_options/builders.rs @@ -19,9 +19,9 @@ impl PutConfigurationSetDeliveryOptionsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize(self) -> ::std::result::Result< + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware(self) -> ::std::result::Result< crate::client::customize::CustomizableOperation, ::aws_smithy_http::result::SdkError >{ @@ -64,6 +64,15 @@ impl PutConfigurationSetDeliveryOptionsFluentBuilder { { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize(self) -> ::std::result::Result< + crate::client::customize::CustomizableOperation, + ::aws_smithy_http::result::SdkError + >{ + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                                                                                                              The name of the configuration set to associate with a dedicated IP pool.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                              pub fn configuration_set_name( mut self, diff --git a/sdk/sesv2/src/operation/put_configuration_set_reputation_options/builders.rs b/sdk/sesv2/src/operation/put_configuration_set_reputation_options/builders.rs index 2369d7879f70..e676274c9c58 100644 --- a/sdk/sesv2/src/operation/put_configuration_set_reputation_options/builders.rs +++ b/sdk/sesv2/src/operation/put_configuration_set_reputation_options/builders.rs @@ -19,9 +19,9 @@ impl PutConfigurationSetReputationOptionsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize(self) -> ::std::result::Result< + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware(self) -> ::std::result::Result< crate::client::customize::CustomizableOperation, ::aws_smithy_http::result::SdkError >{ @@ -64,6 +64,15 @@ impl PutConfigurationSetReputationOptionsFluentBuilder { { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize(self) -> ::std::result::Result< + crate::client::customize::CustomizableOperation, + ::aws_smithy_http::result::SdkError + >{ + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                                                                                                              The name of the configuration set.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                              pub fn configuration_set_name( mut self, diff --git a/sdk/sesv2/src/operation/put_configuration_set_sending_options/builders.rs b/sdk/sesv2/src/operation/put_configuration_set_sending_options/builders.rs index 7bdaaab950b7..a51fb31d038f 100644 --- a/sdk/sesv2/src/operation/put_configuration_set_sending_options/builders.rs +++ b/sdk/sesv2/src/operation/put_configuration_set_sending_options/builders.rs @@ -19,9 +19,9 @@ impl PutConfigurationSetSendingOptionsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize(self) -> ::std::result::Result< + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware(self) -> ::std::result::Result< crate::client::customize::CustomizableOperation, ::aws_smithy_http::result::SdkError >{ @@ -64,6 +64,15 @@ impl PutConfigurationSetSendingOptionsFluentBuilder { { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize(self) -> ::std::result::Result< + crate::client::customize::CustomizableOperation, + ::aws_smithy_http::result::SdkError + >{ + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                                                                                                              The name of the configuration set to enable or disable email sending for.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                              pub fn configuration_set_name( mut self, diff --git a/sdk/sesv2/src/operation/put_configuration_set_suppression_options/builders.rs b/sdk/sesv2/src/operation/put_configuration_set_suppression_options/builders.rs index 91a2d24ed348..869aa951f1dd 100644 --- a/sdk/sesv2/src/operation/put_configuration_set_suppression_options/builders.rs +++ b/sdk/sesv2/src/operation/put_configuration_set_suppression_options/builders.rs @@ -19,9 +19,9 @@ impl PutConfigurationSetSuppressionOptionsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize(self) -> ::std::result::Result< + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware(self) -> ::std::result::Result< crate::client::customize::CustomizableOperation, ::aws_smithy_http::result::SdkError >{ @@ -64,6 +64,15 @@ impl PutConfigurationSetSuppressionOptionsFluentBuilder { { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize(self) -> ::std::result::Result< + crate::client::customize::CustomizableOperation, + ::aws_smithy_http::result::SdkError + >{ + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                                                                                                              The name of the configuration set to change the suppression list preferences for.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                              pub fn configuration_set_name( mut self, diff --git a/sdk/sesv2/src/operation/put_configuration_set_tracking_options/builders.rs b/sdk/sesv2/src/operation/put_configuration_set_tracking_options/builders.rs index 3b6015679502..7e07112bf064 100644 --- a/sdk/sesv2/src/operation/put_configuration_set_tracking_options/builders.rs +++ b/sdk/sesv2/src/operation/put_configuration_set_tracking_options/builders.rs @@ -19,9 +19,9 @@ impl PutConfigurationSetTrackingOptionsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize(self) -> ::std::result::Result< + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware(self) -> ::std::result::Result< crate::client::customize::CustomizableOperation, ::aws_smithy_http::result::SdkError >{ @@ -64,6 +64,15 @@ impl PutConfigurationSetTrackingOptionsFluentBuilder { { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize(self) -> ::std::result::Result< + crate::client::customize::CustomizableOperation, + ::aws_smithy_http::result::SdkError + >{ + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                                                                                                              The name of the configuration set.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                              pub fn configuration_set_name( mut self, diff --git a/sdk/sesv2/src/operation/put_configuration_set_vdm_options/builders.rs b/sdk/sesv2/src/operation/put_configuration_set_vdm_options/builders.rs index 4e491b0fd7b4..65e9945135e5 100644 --- a/sdk/sesv2/src/operation/put_configuration_set_vdm_options/builders.rs +++ b/sdk/sesv2/src/operation/put_configuration_set_vdm_options/builders.rs @@ -20,9 +20,9 @@ impl PutConfigurationSetVdmOptionsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -84,6 +84,22 @@ impl PutConfigurationSetVdmOptionsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::put_configuration_set_vdm_options::PutConfigurationSetVdmOptions, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::put_configuration_set_vdm_options::PutConfigurationSetVdmOptionsError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                                                                                                              The name of the configuration set.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                              pub fn configuration_set_name( mut self, diff --git a/sdk/sesv2/src/operation/put_dedicated_ip_in_pool/builders.rs b/sdk/sesv2/src/operation/put_dedicated_ip_in_pool/builders.rs index d7330fc30217..6d2e26f106c9 100644 --- a/sdk/sesv2/src/operation/put_dedicated_ip_in_pool/builders.rs +++ b/sdk/sesv2/src/operation/put_dedicated_ip_in_pool/builders.rs @@ -22,9 +22,9 @@ impl PutDedicatedIpInPoolFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -86,6 +86,22 @@ impl PutDedicatedIpInPoolFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::put_dedicated_ip_in_pool::PutDedicatedIpInPool, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::put_dedicated_ip_in_pool::PutDedicatedIpInPoolError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                                                                                                              The IP address that you want to move to the dedicated IP pool. The value you specify has to be a dedicated IP address that's associated with your Amazon Web Services account.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                              pub fn ip(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.ip(input.into()); diff --git a/sdk/sesv2/src/operation/put_dedicated_ip_warmup_attributes/builders.rs b/sdk/sesv2/src/operation/put_dedicated_ip_warmup_attributes/builders.rs index cdf853d5d28d..37437816c5f6 100644 --- a/sdk/sesv2/src/operation/put_dedicated_ip_warmup_attributes/builders.rs +++ b/sdk/sesv2/src/operation/put_dedicated_ip_warmup_attributes/builders.rs @@ -19,9 +19,9 @@ impl PutDedicatedIpWarmupAttributesFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize(self) -> ::std::result::Result< + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware(self) -> ::std::result::Result< crate::client::customize::CustomizableOperation, ::aws_smithy_http::result::SdkError >{ @@ -64,6 +64,15 @@ impl PutDedicatedIpWarmupAttributesFluentBuilder { { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize(self) -> ::std::result::Result< + crate::client::customize::CustomizableOperation, + ::aws_smithy_http::result::SdkError + >{ + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                                                                                                              The dedicated IP address that you want to update the warm-up attributes for.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                              pub fn ip(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.ip(input.into()); diff --git a/sdk/sesv2/src/operation/put_deliverability_dashboard_option/builders.rs b/sdk/sesv2/src/operation/put_deliverability_dashboard_option/builders.rs index 9c43661b3fd0..41728817e0f6 100644 --- a/sdk/sesv2/src/operation/put_deliverability_dashboard_option/builders.rs +++ b/sdk/sesv2/src/operation/put_deliverability_dashboard_option/builders.rs @@ -20,9 +20,9 @@ impl PutDeliverabilityDashboardOptionFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize(self) -> ::std::result::Result< + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware(self) -> ::std::result::Result< crate::client::customize::CustomizableOperation, ::aws_smithy_http::result::SdkError >{ @@ -65,6 +65,15 @@ impl PutDeliverabilityDashboardOptionFluentBuilder { { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize(self) -> ::std::result::Result< + crate::client::customize::CustomizableOperation, + ::aws_smithy_http::result::SdkError + >{ + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                                                                                                              Specifies whether to enable the Deliverability dashboard. To enable the dashboard, set this value to true.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                              pub fn dashboard_enabled(mut self, input: bool) -> Self { self.inner = self.inner.dashboard_enabled(input); diff --git a/sdk/sesv2/src/operation/put_email_identity_configuration_set_attributes/builders.rs b/sdk/sesv2/src/operation/put_email_identity_configuration_set_attributes/builders.rs index 2a1df5d8ee8b..6774351e0948 100644 --- a/sdk/sesv2/src/operation/put_email_identity_configuration_set_attributes/builders.rs +++ b/sdk/sesv2/src/operation/put_email_identity_configuration_set_attributes/builders.rs @@ -19,9 +19,9 @@ impl PutEmailIdentityConfigurationSetAttributesFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize(self) -> ::std::result::Result< + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware(self) -> ::std::result::Result< crate::client::customize::CustomizableOperation, ::aws_smithy_http::result::SdkError >{ @@ -64,6 +64,15 @@ impl PutEmailIdentityConfigurationSetAttributesFluentBuilder { { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize(self) -> ::std::result::Result< + crate::client::customize::CustomizableOperation, + ::aws_smithy_http::result::SdkError + >{ + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                                                                                                              The email address or domain to associate with a configuration set.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                              pub fn email_identity( mut self, diff --git a/sdk/sesv2/src/operation/put_email_identity_dkim_attributes/builders.rs b/sdk/sesv2/src/operation/put_email_identity_dkim_attributes/builders.rs index ac56553ee043..cf5b182e30e6 100644 --- a/sdk/sesv2/src/operation/put_email_identity_dkim_attributes/builders.rs +++ b/sdk/sesv2/src/operation/put_email_identity_dkim_attributes/builders.rs @@ -19,9 +19,9 @@ impl PutEmailIdentityDkimAttributesFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize(self) -> ::std::result::Result< + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware(self) -> ::std::result::Result< crate::client::customize::CustomizableOperation, ::aws_smithy_http::result::SdkError >{ @@ -64,6 +64,15 @@ impl PutEmailIdentityDkimAttributesFluentBuilder { { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize(self) -> ::std::result::Result< + crate::client::customize::CustomizableOperation, + ::aws_smithy_http::result::SdkError + >{ + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                                                                                                              The email identity.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                              pub fn email_identity( mut self, diff --git a/sdk/sesv2/src/operation/put_email_identity_dkim_signing_attributes/builders.rs b/sdk/sesv2/src/operation/put_email_identity_dkim_signing_attributes/builders.rs index 8d17b5476bbe..d25513a8cf08 100644 --- a/sdk/sesv2/src/operation/put_email_identity_dkim_signing_attributes/builders.rs +++ b/sdk/sesv2/src/operation/put_email_identity_dkim_signing_attributes/builders.rs @@ -27,9 +27,9 @@ impl PutEmailIdentityDkimSigningAttributesFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize(self) -> ::std::result::Result< + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware(self) -> ::std::result::Result< crate::client::customize::CustomizableOperation, ::aws_smithy_http::result::SdkError >{ @@ -72,6 +72,15 @@ impl PutEmailIdentityDkimSigningAttributesFluentBuilder { { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize(self) -> ::std::result::Result< + crate::client::customize::CustomizableOperation, + ::aws_smithy_http::result::SdkError + >{ + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                                                                                                              The email identity.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                              pub fn email_identity( mut self, diff --git a/sdk/sesv2/src/operation/put_email_identity_feedback_attributes/builders.rs b/sdk/sesv2/src/operation/put_email_identity_feedback_attributes/builders.rs index 39644a647fd3..455e0772fd5f 100644 --- a/sdk/sesv2/src/operation/put_email_identity_feedback_attributes/builders.rs +++ b/sdk/sesv2/src/operation/put_email_identity_feedback_attributes/builders.rs @@ -21,9 +21,9 @@ impl PutEmailIdentityFeedbackAttributesFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize(self) -> ::std::result::Result< + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware(self) -> ::std::result::Result< crate::client::customize::CustomizableOperation, ::aws_smithy_http::result::SdkError >{ @@ -66,6 +66,15 @@ impl PutEmailIdentityFeedbackAttributesFluentBuilder { { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize(self) -> ::std::result::Result< + crate::client::customize::CustomizableOperation, + ::aws_smithy_http::result::SdkError + >{ + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                                                                                                              The email identity.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                              pub fn email_identity( mut self, diff --git a/sdk/sesv2/src/operation/put_email_identity_mail_from_attributes/builders.rs b/sdk/sesv2/src/operation/put_email_identity_mail_from_attributes/builders.rs index 185b9cf246c1..7d6c136ab9cd 100644 --- a/sdk/sesv2/src/operation/put_email_identity_mail_from_attributes/builders.rs +++ b/sdk/sesv2/src/operation/put_email_identity_mail_from_attributes/builders.rs @@ -19,9 +19,9 @@ impl PutEmailIdentityMailFromAttributesFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize(self) -> ::std::result::Result< + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware(self) -> ::std::result::Result< crate::client::customize::CustomizableOperation, ::aws_smithy_http::result::SdkError >{ @@ -64,6 +64,15 @@ impl PutEmailIdentityMailFromAttributesFluentBuilder { { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize(self) -> ::std::result::Result< + crate::client::customize::CustomizableOperation, + ::aws_smithy_http::result::SdkError + >{ + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                                                                                                              The verified email identity.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                              pub fn email_identity( mut self, diff --git a/sdk/sesv2/src/operation/put_suppressed_destination/builders.rs b/sdk/sesv2/src/operation/put_suppressed_destination/builders.rs index dcc65b585054..1e499425e48c 100644 --- a/sdk/sesv2/src/operation/put_suppressed_destination/builders.rs +++ b/sdk/sesv2/src/operation/put_suppressed_destination/builders.rs @@ -19,9 +19,9 @@ impl PutSuppressedDestinationFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl PutSuppressedDestinationFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::put_suppressed_destination::PutSuppressedDestination, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::put_suppressed_destination::PutSuppressedDestinationError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                                                                                                              The email address that should be added to the suppression list for your account.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                              pub fn email_address( mut self, diff --git a/sdk/sesv2/src/operation/send_bulk_email/builders.rs b/sdk/sesv2/src/operation/send_bulk_email/builders.rs index 92cb1b558910..bb38fdd7cdb0 100644 --- a/sdk/sesv2/src/operation/send_bulk_email/builders.rs +++ b/sdk/sesv2/src/operation/send_bulk_email/builders.rs @@ -19,9 +19,9 @@ impl SendBulkEmailFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl SendBulkEmailFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::send_bulk_email::SendBulkEmail, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                                                                                                              The email address to use as the "From" address for the email. The address that you specify has to be verified.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                              pub fn from_email_address( mut self, diff --git a/sdk/sesv2/src/operation/send_custom_verification_email/builders.rs b/sdk/sesv2/src/operation/send_custom_verification_email/builders.rs index db04fa366e3e..4f910ccdf242 100644 --- a/sdk/sesv2/src/operation/send_custom_verification_email/builders.rs +++ b/sdk/sesv2/src/operation/send_custom_verification_email/builders.rs @@ -21,9 +21,9 @@ impl SendCustomVerificationEmailFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -85,6 +85,22 @@ impl SendCustomVerificationEmailFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::send_custom_verification_email::SendCustomVerificationEmail, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::send_custom_verification_email::SendCustomVerificationEmailError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                                                                                                              The email address to verify.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                              pub fn email_address( mut self, diff --git a/sdk/sesv2/src/operation/send_email/builders.rs b/sdk/sesv2/src/operation/send_email/builders.rs index 68f28cd0529e..e0818e99b8c2 100644 --- a/sdk/sesv2/src/operation/send_email/builders.rs +++ b/sdk/sesv2/src/operation/send_email/builders.rs @@ -24,9 +24,9 @@ impl SendEmailFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -82,6 +82,20 @@ impl SendEmailFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::send_email::SendEmail, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                                                                                                              The email address to use as the "From" address for the email. The address that you specify has to be verified.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                              pub fn from_email_address( mut self, diff --git a/sdk/sesv2/src/operation/tag_resource/builders.rs b/sdk/sesv2/src/operation/tag_resource/builders.rs index 992c68e2b28c..06886b63c4f4 100644 --- a/sdk/sesv2/src/operation/tag_resource/builders.rs +++ b/sdk/sesv2/src/operation/tag_resource/builders.rs @@ -20,9 +20,9 @@ impl TagResourceFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -78,6 +78,20 @@ impl TagResourceFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::tag_resource::TagResource, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                                                                                                              The Amazon Resource Name (ARN) of the resource that you want to add one or more tags to.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                              pub fn resource_arn(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.resource_arn(input.into()); diff --git a/sdk/sesv2/src/operation/test_render_email_template/builders.rs b/sdk/sesv2/src/operation/test_render_email_template/builders.rs index 0d889bac1d4d..dc494a212898 100644 --- a/sdk/sesv2/src/operation/test_render_email_template/builders.rs +++ b/sdk/sesv2/src/operation/test_render_email_template/builders.rs @@ -21,9 +21,9 @@ impl TestRenderEmailTemplateFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -85,6 +85,22 @@ impl TestRenderEmailTemplateFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::test_render_email_template::TestRenderEmailTemplate, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::test_render_email_template::TestRenderEmailTemplateError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                                                                                                              The name of the template.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                              pub fn template_name( mut self, diff --git a/sdk/sesv2/src/operation/untag_resource/builders.rs b/sdk/sesv2/src/operation/untag_resource/builders.rs index c1efdf671b6d..6f36500f725c 100644 --- a/sdk/sesv2/src/operation/untag_resource/builders.rs +++ b/sdk/sesv2/src/operation/untag_resource/builders.rs @@ -19,9 +19,9 @@ impl UntagResourceFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl UntagResourceFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::untag_resource::UntagResource, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                                                                                                              The Amazon Resource Name (ARN) of the resource that you want to remove one or more tags from.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                              pub fn resource_arn(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.resource_arn(input.into()); diff --git a/sdk/sesv2/src/operation/update_configuration_set_event_destination/builders.rs b/sdk/sesv2/src/operation/update_configuration_set_event_destination/builders.rs index d9f1acbdf40b..024861f35f2f 100644 --- a/sdk/sesv2/src/operation/update_configuration_set_event_destination/builders.rs +++ b/sdk/sesv2/src/operation/update_configuration_set_event_destination/builders.rs @@ -20,9 +20,9 @@ impl UpdateConfigurationSetEventDestinationFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize(self) -> ::std::result::Result< + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware(self) -> ::std::result::Result< crate::client::customize::CustomizableOperation, ::aws_smithy_http::result::SdkError >{ @@ -65,6 +65,15 @@ impl UpdateConfigurationSetEventDestinationFluentBuilder { { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize(self) -> ::std::result::Result< + crate::client::customize::CustomizableOperation, + ::aws_smithy_http::result::SdkError + >{ + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                                                                                                              The name of the configuration set that contains the event destination to modify.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                              pub fn configuration_set_name( mut self, diff --git a/sdk/sesv2/src/operation/update_contact/builders.rs b/sdk/sesv2/src/operation/update_contact/builders.rs index 7086d593eafe..19b7be39b056 100644 --- a/sdk/sesv2/src/operation/update_contact/builders.rs +++ b/sdk/sesv2/src/operation/update_contact/builders.rs @@ -19,9 +19,9 @@ impl UpdateContactFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl UpdateContactFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::update_contact::UpdateContact, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                                                                                                              The name of the contact list.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                              pub fn contact_list_name( mut self, diff --git a/sdk/sesv2/src/operation/update_contact_list/builders.rs b/sdk/sesv2/src/operation/update_contact_list/builders.rs index 8303cb3803ac..30355037e778 100644 --- a/sdk/sesv2/src/operation/update_contact_list/builders.rs +++ b/sdk/sesv2/src/operation/update_contact_list/builders.rs @@ -19,9 +19,9 @@ impl UpdateContactListFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl UpdateContactListFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::update_contact_list::UpdateContactList, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::update_contact_list::UpdateContactListError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                                                                                                              The name of the contact list.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                              pub fn contact_list_name( mut self, diff --git a/sdk/sesv2/src/operation/update_custom_verification_email_template/builders.rs b/sdk/sesv2/src/operation/update_custom_verification_email_template/builders.rs index 71c2208a1a66..b0d0a576814b 100644 --- a/sdk/sesv2/src/operation/update_custom_verification_email_template/builders.rs +++ b/sdk/sesv2/src/operation/update_custom_verification_email_template/builders.rs @@ -21,9 +21,9 @@ impl UpdateCustomVerificationEmailTemplateFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize(self) -> ::std::result::Result< + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware(self) -> ::std::result::Result< crate::client::customize::CustomizableOperation, ::aws_smithy_http::result::SdkError >{ @@ -66,6 +66,15 @@ impl UpdateCustomVerificationEmailTemplateFluentBuilder { { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize(self) -> ::std::result::Result< + crate::client::customize::CustomizableOperation, + ::aws_smithy_http::result::SdkError + >{ + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                                                                                                              The name of the custom verification email template that you want to update.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                              pub fn template_name( mut self, diff --git a/sdk/sesv2/src/operation/update_email_identity_policy/builders.rs b/sdk/sesv2/src/operation/update_email_identity_policy/builders.rs index e9be93634ae2..2d16f6518372 100644 --- a/sdk/sesv2/src/operation/update_email_identity_policy/builders.rs +++ b/sdk/sesv2/src/operation/update_email_identity_policy/builders.rs @@ -23,9 +23,9 @@ impl UpdateEmailIdentityPolicyFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -87,6 +87,22 @@ impl UpdateEmailIdentityPolicyFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::update_email_identity_policy::UpdateEmailIdentityPolicy, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::update_email_identity_policy::UpdateEmailIdentityPolicyError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                                                                                                              The email identity.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                              pub fn email_identity( mut self, diff --git a/sdk/sesv2/src/operation/update_email_template/builders.rs b/sdk/sesv2/src/operation/update_email_template/builders.rs index be3e3f815fde..8f91f146174f 100644 --- a/sdk/sesv2/src/operation/update_email_template/builders.rs +++ b/sdk/sesv2/src/operation/update_email_template/builders.rs @@ -20,9 +20,9 @@ impl UpdateEmailTemplateFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -84,6 +84,22 @@ impl UpdateEmailTemplateFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::update_email_template::UpdateEmailTemplate, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::update_email_template::UpdateEmailTemplateError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                                                                                                              The name of the template.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                              pub fn template_name( mut self, diff --git a/sdk/sfn/src/operation/create_activity/builders.rs b/sdk/sfn/src/operation/create_activity/builders.rs index d177f3f61ec1..02799e6b9cdf 100644 --- a/sdk/sfn/src/operation/create_activity/builders.rs +++ b/sdk/sfn/src/operation/create_activity/builders.rs @@ -23,9 +23,9 @@ impl CreateActivityFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -81,6 +81,20 @@ impl CreateActivityFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::create_activity::CreateActivity, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                                                                                                              The name of the activity to create. This name must be unique for your Amazon Web Services account and region for 90 days. For more information, see Limits Related to State Machine Executions in the Step Functions Developer Guide.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                              ///

                                                                                                                                                                                                                                                                                                                                                                                                                                                                              A name must not contain:

                                                                                                                                                                                                                                                                                                                                                                                                                                                                              ///
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                diff --git a/sdk/sfn/src/operation/create_state_machine/builders.rs b/sdk/sfn/src/operation/create_state_machine/builders.rs index fac290d1a50a..cf1c1bfb5c19 100644 --- a/sdk/sfn/src/operation/create_state_machine/builders.rs +++ b/sdk/sfn/src/operation/create_state_machine/builders.rs @@ -23,9 +23,9 @@ impl CreateStateMachineFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -87,6 +87,22 @@ impl CreateStateMachineFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::create_state_machine::CreateStateMachine, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::create_state_machine::CreateStateMachineError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                The name of the state machine.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                ///

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                A name must not contain:

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                ///
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  diff --git a/sdk/sfn/src/operation/delete_activity/builders.rs b/sdk/sfn/src/operation/delete_activity/builders.rs index d545638fad8c..a7be4999ab96 100644 --- a/sdk/sfn/src/operation/delete_activity/builders.rs +++ b/sdk/sfn/src/operation/delete_activity/builders.rs @@ -19,9 +19,9 @@ impl DeleteActivityFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl DeleteActivityFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::delete_activity::DeleteActivity, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  The Amazon Resource Name (ARN) of the activity to delete.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  pub fn activity_arn(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.activity_arn(input.into()); diff --git a/sdk/sfn/src/operation/delete_state_machine/builders.rs b/sdk/sfn/src/operation/delete_state_machine/builders.rs index 89a594b3a3cb..190f3268ddbb 100644 --- a/sdk/sfn/src/operation/delete_state_machine/builders.rs +++ b/sdk/sfn/src/operation/delete_state_machine/builders.rs @@ -23,9 +23,9 @@ impl DeleteStateMachineFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -87,6 +87,22 @@ impl DeleteStateMachineFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::delete_state_machine::DeleteStateMachine, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::delete_state_machine::DeleteStateMachineError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  The Amazon Resource Name (ARN) of the state machine to delete.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  pub fn state_machine_arn( mut self, diff --git a/sdk/sfn/src/operation/describe_activity/builders.rs b/sdk/sfn/src/operation/describe_activity/builders.rs index 9cb3fa9bac29..a68fa29accce 100644 --- a/sdk/sfn/src/operation/describe_activity/builders.rs +++ b/sdk/sfn/src/operation/describe_activity/builders.rs @@ -21,9 +21,9 @@ impl DescribeActivityFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -85,6 +85,22 @@ impl DescribeActivityFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::describe_activity::DescribeActivity, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::describe_activity::DescribeActivityError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  The Amazon Resource Name (ARN) of the activity to describe.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  pub fn activity_arn(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.activity_arn(input.into()); diff --git a/sdk/sfn/src/operation/describe_execution/builders.rs b/sdk/sfn/src/operation/describe_execution/builders.rs index eb567de01f61..d1c44ff2cefc 100644 --- a/sdk/sfn/src/operation/describe_execution/builders.rs +++ b/sdk/sfn/src/operation/describe_execution/builders.rs @@ -22,9 +22,9 @@ impl DescribeExecutionFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -86,6 +86,22 @@ impl DescribeExecutionFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::describe_execution::DescribeExecution, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::describe_execution::DescribeExecutionError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  The Amazon Resource Name (ARN) of the execution to describe.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  pub fn execution_arn( mut self, diff --git a/sdk/sfn/src/operation/describe_map_run/builders.rs b/sdk/sfn/src/operation/describe_map_run/builders.rs index 9374001b38c2..8e840fbd3d54 100644 --- a/sdk/sfn/src/operation/describe_map_run/builders.rs +++ b/sdk/sfn/src/operation/describe_map_run/builders.rs @@ -19,9 +19,9 @@ impl DescribeMapRunFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl DescribeMapRunFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::describe_map_run::DescribeMapRun, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::describe_map_run::DescribeMapRunError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  The Amazon Resource Name (ARN) that identifies a Map Run.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  pub fn map_run_arn(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.map_run_arn(input.into()); diff --git a/sdk/sfn/src/operation/describe_state_machine/builders.rs b/sdk/sfn/src/operation/describe_state_machine/builders.rs index 318474f6ab6d..bb7af5703284 100644 --- a/sdk/sfn/src/operation/describe_state_machine/builders.rs +++ b/sdk/sfn/src/operation/describe_state_machine/builders.rs @@ -22,9 +22,9 @@ impl DescribeStateMachineFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -86,6 +86,22 @@ impl DescribeStateMachineFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::describe_state_machine::DescribeStateMachine, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::describe_state_machine::DescribeStateMachineError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  The Amazon Resource Name (ARN) of the state machine to describe.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  pub fn state_machine_arn( mut self, diff --git a/sdk/sfn/src/operation/describe_state_machine_for_execution/builders.rs b/sdk/sfn/src/operation/describe_state_machine_for_execution/builders.rs index a5931d85d480..7e47020a5837 100644 --- a/sdk/sfn/src/operation/describe_state_machine_for_execution/builders.rs +++ b/sdk/sfn/src/operation/describe_state_machine_for_execution/builders.rs @@ -22,9 +22,9 @@ impl DescribeStateMachineForExecutionFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize(self) -> ::std::result::Result< + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware(self) -> ::std::result::Result< crate::client::customize::CustomizableOperation, ::aws_smithy_http::result::SdkError >{ @@ -67,6 +67,15 @@ impl DescribeStateMachineForExecutionFluentBuilder { { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize(self) -> ::std::result::Result< + crate::client::customize::CustomizableOperation, + ::aws_smithy_http::result::SdkError + >{ + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  The Amazon Resource Name (ARN) of the execution you want state machine information for.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  pub fn execution_arn( mut self, diff --git a/sdk/sfn/src/operation/get_activity_task/builders.rs b/sdk/sfn/src/operation/get_activity_task/builders.rs index 62679f75fd3f..02e0efa10b78 100644 --- a/sdk/sfn/src/operation/get_activity_task/builders.rs +++ b/sdk/sfn/src/operation/get_activity_task/builders.rs @@ -24,9 +24,9 @@ impl GetActivityTaskFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -88,6 +88,22 @@ impl GetActivityTaskFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::get_activity_task::GetActivityTask, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::get_activity_task::GetActivityTaskError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  The Amazon Resource Name (ARN) of the activity to retrieve tasks from (assigned when you create the task using CreateActivity.)

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  pub fn activity_arn(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.activity_arn(input.into()); diff --git a/sdk/sfn/src/operation/get_execution_history/builders.rs b/sdk/sfn/src/operation/get_execution_history/builders.rs index 3abdef4fcdbc..96bfeb6156c7 100644 --- a/sdk/sfn/src/operation/get_execution_history/builders.rs +++ b/sdk/sfn/src/operation/get_execution_history/builders.rs @@ -21,9 +21,9 @@ impl GetExecutionHistoryFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -85,6 +85,22 @@ impl GetExecutionHistoryFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::get_execution_history::GetExecutionHistory, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::get_execution_history::GetExecutionHistoryError, + >, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::get_execution_history::paginator::GetExecutionHistoryPaginator::send) which returns a `Stream`. diff --git a/sdk/sfn/src/operation/list_activities/builders.rs b/sdk/sfn/src/operation/list_activities/builders.rs index 6177dbc49b71..3b033213eb6f 100644 --- a/sdk/sfn/src/operation/list_activities/builders.rs +++ b/sdk/sfn/src/operation/list_activities/builders.rs @@ -22,9 +22,9 @@ impl ListActivitiesFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -80,6 +80,20 @@ impl ListActivitiesFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_activities::ListActivities, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::list_activities::paginator::ListActivitiesPaginator::send) which returns a `Stream`. diff --git a/sdk/sfn/src/operation/list_executions/builders.rs b/sdk/sfn/src/operation/list_executions/builders.rs index c3ef2d6da04b..d0824e3bcdd7 100644 --- a/sdk/sfn/src/operation/list_executions/builders.rs +++ b/sdk/sfn/src/operation/list_executions/builders.rs @@ -24,9 +24,9 @@ impl ListExecutionsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -82,6 +82,20 @@ impl ListExecutionsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_executions::ListExecutions, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::list_executions::paginator::ListExecutionsPaginator::send) which returns a `Stream`. diff --git a/sdk/sfn/src/operation/list_map_runs/builders.rs b/sdk/sfn/src/operation/list_map_runs/builders.rs index ed0c9f2758a6..83577c30b89e 100644 --- a/sdk/sfn/src/operation/list_map_runs/builders.rs +++ b/sdk/sfn/src/operation/list_map_runs/builders.rs @@ -19,9 +19,9 @@ impl ListMapRunsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl ListMapRunsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_map_runs::ListMapRuns, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::list_map_runs::paginator::ListMapRunsPaginator::send) which returns a `Stream`. diff --git a/sdk/sfn/src/operation/list_state_machines/builders.rs b/sdk/sfn/src/operation/list_state_machines/builders.rs index 9fbe3a6cd18d..204229330191 100644 --- a/sdk/sfn/src/operation/list_state_machines/builders.rs +++ b/sdk/sfn/src/operation/list_state_machines/builders.rs @@ -22,9 +22,9 @@ impl ListStateMachinesFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -86,6 +86,22 @@ impl ListStateMachinesFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_state_machines::ListStateMachines, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::list_state_machines::ListStateMachinesError, + >, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::list_state_machines::paginator::ListStateMachinesPaginator::send) which returns a `Stream`. diff --git a/sdk/sfn/src/operation/list_tags_for_resource/builders.rs b/sdk/sfn/src/operation/list_tags_for_resource/builders.rs index 375d5eddeaac..20904f3ac7d3 100644 --- a/sdk/sfn/src/operation/list_tags_for_resource/builders.rs +++ b/sdk/sfn/src/operation/list_tags_for_resource/builders.rs @@ -20,9 +20,9 @@ impl ListTagsForResourceFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -84,6 +84,22 @@ impl ListTagsForResourceFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_tags_for_resource::ListTagsForResource, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::list_tags_for_resource::ListTagsForResourceError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  The Amazon Resource Name (ARN) for the Step Functions state machine or activity.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  pub fn resource_arn(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.resource_arn(input.into()); diff --git a/sdk/sfn/src/operation/send_task_failure/builders.rs b/sdk/sfn/src/operation/send_task_failure/builders.rs index 13f6dedb3272..4606cebe46c8 100644 --- a/sdk/sfn/src/operation/send_task_failure/builders.rs +++ b/sdk/sfn/src/operation/send_task_failure/builders.rs @@ -19,9 +19,9 @@ impl SendTaskFailureFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl SendTaskFailureFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::send_task_failure::SendTaskFailure, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::send_task_failure::SendTaskFailureError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  The token that represents this task. Task tokens are generated by Step Functions when tasks are assigned to a worker, or in the context object when a workflow enters a task state. See GetActivityTaskOutput$taskToken.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  pub fn task_token(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.task_token(input.into()); diff --git a/sdk/sfn/src/operation/send_task_heartbeat/builders.rs b/sdk/sfn/src/operation/send_task_heartbeat/builders.rs index d8cc64710249..ed136b6a585b 100644 --- a/sdk/sfn/src/operation/send_task_heartbeat/builders.rs +++ b/sdk/sfn/src/operation/send_task_heartbeat/builders.rs @@ -21,9 +21,9 @@ impl SendTaskHeartbeatFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -85,6 +85,22 @@ impl SendTaskHeartbeatFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::send_task_heartbeat::SendTaskHeartbeat, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::send_task_heartbeat::SendTaskHeartbeatError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  The token that represents this task. Task tokens are generated by Step Functions when tasks are assigned to a worker, or in the context object when a workflow enters a task state. See GetActivityTaskOutput$taskToken.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  pub fn task_token(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.task_token(input.into()); diff --git a/sdk/sfn/src/operation/send_task_success/builders.rs b/sdk/sfn/src/operation/send_task_success/builders.rs index 8566c8e789c3..ed18d5e20338 100644 --- a/sdk/sfn/src/operation/send_task_success/builders.rs +++ b/sdk/sfn/src/operation/send_task_success/builders.rs @@ -19,9 +19,9 @@ impl SendTaskSuccessFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl SendTaskSuccessFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::send_task_success::SendTaskSuccess, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::send_task_success::SendTaskSuccessError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  The token that represents this task. Task tokens are generated by Step Functions when tasks are assigned to a worker, or in the context object when a workflow enters a task state. See GetActivityTaskOutput$taskToken.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  pub fn task_token(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.task_token(input.into()); diff --git a/sdk/sfn/src/operation/start_execution/builders.rs b/sdk/sfn/src/operation/start_execution/builders.rs index ae4376a6b6f6..ff572227875a 100644 --- a/sdk/sfn/src/operation/start_execution/builders.rs +++ b/sdk/sfn/src/operation/start_execution/builders.rs @@ -23,9 +23,9 @@ impl StartExecutionFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -81,6 +81,20 @@ impl StartExecutionFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::start_execution::StartExecution, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  The Amazon Resource Name (ARN) of the state machine to execute.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  pub fn state_machine_arn( mut self, diff --git a/sdk/sfn/src/operation/start_sync_execution/builders.rs b/sdk/sfn/src/operation/start_sync_execution/builders.rs index ca5d1c8fcedb..8017ecd9e57f 100644 --- a/sdk/sfn/src/operation/start_sync_execution/builders.rs +++ b/sdk/sfn/src/operation/start_sync_execution/builders.rs @@ -23,9 +23,9 @@ impl StartSyncExecutionFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -87,6 +87,22 @@ impl StartSyncExecutionFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::start_sync_execution::StartSyncExecution, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::start_sync_execution::StartSyncExecutionError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  The Amazon Resource Name (ARN) of the state machine to execute.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  pub fn state_machine_arn( mut self, diff --git a/sdk/sfn/src/operation/stop_execution/builders.rs b/sdk/sfn/src/operation/stop_execution/builders.rs index 15557833bd2d..1726a9915e44 100644 --- a/sdk/sfn/src/operation/stop_execution/builders.rs +++ b/sdk/sfn/src/operation/stop_execution/builders.rs @@ -20,9 +20,9 @@ impl StopExecutionFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -78,6 +78,20 @@ impl StopExecutionFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::stop_execution::StopExecution, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  The Amazon Resource Name (ARN) of the execution to stop.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  pub fn execution_arn( mut self, diff --git a/sdk/sfn/src/operation/tag_resource/builders.rs b/sdk/sfn/src/operation/tag_resource/builders.rs index 52dbde8dabd6..5b1f593e3746 100644 --- a/sdk/sfn/src/operation/tag_resource/builders.rs +++ b/sdk/sfn/src/operation/tag_resource/builders.rs @@ -21,9 +21,9 @@ impl TagResourceFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -79,6 +79,20 @@ impl TagResourceFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::tag_resource::TagResource, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  The Amazon Resource Name (ARN) for the Step Functions state machine or activity.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  pub fn resource_arn(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.resource_arn(input.into()); diff --git a/sdk/sfn/src/operation/untag_resource/builders.rs b/sdk/sfn/src/operation/untag_resource/builders.rs index 4cf023b2d3b9..130f033bcb0f 100644 --- a/sdk/sfn/src/operation/untag_resource/builders.rs +++ b/sdk/sfn/src/operation/untag_resource/builders.rs @@ -19,9 +19,9 @@ impl UntagResourceFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl UntagResourceFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::untag_resource::UntagResource, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  The Amazon Resource Name (ARN) for the Step Functions state machine or activity.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  pub fn resource_arn(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.resource_arn(input.into()); diff --git a/sdk/sfn/src/operation/update_map_run/builders.rs b/sdk/sfn/src/operation/update_map_run/builders.rs index dc3f22344ad8..1131e7dd688b 100644 --- a/sdk/sfn/src/operation/update_map_run/builders.rs +++ b/sdk/sfn/src/operation/update_map_run/builders.rs @@ -19,9 +19,9 @@ impl UpdateMapRunFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl UpdateMapRunFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::update_map_run::UpdateMapRun, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  The Amazon Resource Name (ARN) of a Map Run.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  pub fn map_run_arn(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.map_run_arn(input.into()); diff --git a/sdk/sfn/src/operation/update_state_machine/builders.rs b/sdk/sfn/src/operation/update_state_machine/builders.rs index 668224c1440c..2fcf28dbee60 100644 --- a/sdk/sfn/src/operation/update_state_machine/builders.rs +++ b/sdk/sfn/src/operation/update_state_machine/builders.rs @@ -23,9 +23,9 @@ impl UpdateStateMachineFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -87,6 +87,22 @@ impl UpdateStateMachineFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::update_state_machine::UpdateStateMachine, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::update_state_machine::UpdateStateMachineError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  The Amazon Resource Name (ARN) of the state machine.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  pub fn state_machine_arn( mut self, diff --git a/sdk/shield/src/operation/associate_drt_log_bucket/builders.rs b/sdk/shield/src/operation/associate_drt_log_bucket/builders.rs index 7fc0cfbaaf5d..84751503d174 100644 --- a/sdk/shield/src/operation/associate_drt_log_bucket/builders.rs +++ b/sdk/shield/src/operation/associate_drt_log_bucket/builders.rs @@ -20,9 +20,9 @@ impl AssociateDRTLogBucketFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -84,6 +84,22 @@ impl AssociateDRTLogBucketFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::associate_drt_log_bucket::AssociateDRTLogBucket, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::associate_drt_log_bucket::AssociateDRTLogBucketError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  The Amazon S3 bucket that contains the logs that you want to share.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  pub fn log_bucket(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.log_bucket(input.into()); diff --git a/sdk/shield/src/operation/associate_drt_role/builders.rs b/sdk/shield/src/operation/associate_drt_role/builders.rs index b69ea456287b..7346fc15519a 100644 --- a/sdk/shield/src/operation/associate_drt_role/builders.rs +++ b/sdk/shield/src/operation/associate_drt_role/builders.rs @@ -24,9 +24,9 @@ impl AssociateDRTRoleFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -88,6 +88,22 @@ impl AssociateDRTRoleFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::associate_drt_role::AssociateDRTRole, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::associate_drt_role::AssociateDRTRoleError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  The Amazon Resource Name (ARN) of the role the SRT will use to access your Amazon Web Services account.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  ///

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  Prior to making the AssociateDRTRole request, you must attach the AWSShieldDRTAccessPolicy managed policy to this role. For more information see Attaching and Detaching IAM Policies.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  pub fn role_arn(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { diff --git a/sdk/shield/src/operation/associate_health_check/builders.rs b/sdk/shield/src/operation/associate_health_check/builders.rs index 61e5c23f1c9c..3b79a06e2cde 100644 --- a/sdk/shield/src/operation/associate_health_check/builders.rs +++ b/sdk/shield/src/operation/associate_health_check/builders.rs @@ -20,9 +20,9 @@ impl AssociateHealthCheckFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -84,6 +84,22 @@ impl AssociateHealthCheckFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::associate_health_check::AssociateHealthCheck, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::associate_health_check::AssociateHealthCheckError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  The unique identifier (ID) for the Protection object to add the health check association to.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  pub fn protection_id( mut self, diff --git a/sdk/shield/src/operation/associate_proactive_engagement_details/builders.rs b/sdk/shield/src/operation/associate_proactive_engagement_details/builders.rs index ced3fdbe1f14..e1290b6f37b8 100644 --- a/sdk/shield/src/operation/associate_proactive_engagement_details/builders.rs +++ b/sdk/shield/src/operation/associate_proactive_engagement_details/builders.rs @@ -23,9 +23,9 @@ impl AssociateProactiveEngagementDetailsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize(self) -> ::std::result::Result< + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware(self) -> ::std::result::Result< crate::client::customize::CustomizableOperation, ::aws_smithy_http::result::SdkError >{ @@ -68,6 +68,15 @@ impl AssociateProactiveEngagementDetailsFluentBuilder { { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize(self) -> ::std::result::Result< + crate::client::customize::CustomizableOperation, + ::aws_smithy_http::result::SdkError + >{ + self.customize_middleware().await + } /// Appends an item to `EmergencyContactList`. /// /// To override the contents of this collection use [`set_emergency_contact_list`](Self::set_emergency_contact_list). diff --git a/sdk/shield/src/operation/create_protection/builders.rs b/sdk/shield/src/operation/create_protection/builders.rs index 69fdbc4f718b..1bd8a334c9df 100644 --- a/sdk/shield/src/operation/create_protection/builders.rs +++ b/sdk/shield/src/operation/create_protection/builders.rs @@ -20,9 +20,9 @@ impl CreateProtectionFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -84,6 +84,22 @@ impl CreateProtectionFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::create_protection::CreateProtection, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::create_protection::CreateProtectionError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  Friendly name for the Protection you are creating.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  pub fn name(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.name(input.into()); diff --git a/sdk/shield/src/operation/create_protection_group/builders.rs b/sdk/shield/src/operation/create_protection_group/builders.rs index 702c308e63e9..cdfabfdd996b 100644 --- a/sdk/shield/src/operation/create_protection_group/builders.rs +++ b/sdk/shield/src/operation/create_protection_group/builders.rs @@ -19,9 +19,9 @@ impl CreateProtectionGroupFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl CreateProtectionGroupFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::create_protection_group::CreateProtectionGroup, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::create_protection_group::CreateProtectionGroupError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  The name of the protection group. You use this to identify the protection group in lists and to manage the protection group, for example to update, delete, or describe it.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  pub fn protection_group_id( mut self, diff --git a/sdk/shield/src/operation/create_subscription/builders.rs b/sdk/shield/src/operation/create_subscription/builders.rs index cd3943daed4f..e8b6af9f14a0 100644 --- a/sdk/shield/src/operation/create_subscription/builders.rs +++ b/sdk/shield/src/operation/create_subscription/builders.rs @@ -22,9 +22,9 @@ impl CreateSubscriptionFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -86,4 +86,20 @@ impl CreateSubscriptionFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::create_subscription::CreateSubscription, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::create_subscription::CreateSubscriptionError, + >, + > { + self.customize_middleware().await + } } diff --git a/sdk/shield/src/operation/delete_protection/builders.rs b/sdk/shield/src/operation/delete_protection/builders.rs index 63968d583741..b272df009dc0 100644 --- a/sdk/shield/src/operation/delete_protection/builders.rs +++ b/sdk/shield/src/operation/delete_protection/builders.rs @@ -19,9 +19,9 @@ impl DeleteProtectionFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl DeleteProtectionFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::delete_protection::DeleteProtection, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::delete_protection::DeleteProtectionError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  The unique identifier (ID) for the Protection object to be deleted.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  pub fn protection_id( mut self, diff --git a/sdk/shield/src/operation/delete_protection_group/builders.rs b/sdk/shield/src/operation/delete_protection_group/builders.rs index 146eb10e6f97..068f02e741a5 100644 --- a/sdk/shield/src/operation/delete_protection_group/builders.rs +++ b/sdk/shield/src/operation/delete_protection_group/builders.rs @@ -19,9 +19,9 @@ impl DeleteProtectionGroupFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl DeleteProtectionGroupFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::delete_protection_group::DeleteProtectionGroup, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::delete_protection_group::DeleteProtectionGroupError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  The name of the protection group. You use this to identify the protection group in lists and to manage the protection group, for example to update, delete, or describe it.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  pub fn protection_group_id( mut self, diff --git a/sdk/shield/src/operation/delete_subscription/builders.rs b/sdk/shield/src/operation/delete_subscription/builders.rs index 438b317928f0..69f26e0a1909 100644 --- a/sdk/shield/src/operation/delete_subscription/builders.rs +++ b/sdk/shield/src/operation/delete_subscription/builders.rs @@ -20,9 +20,9 @@ impl DeleteSubscriptionFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -84,4 +84,20 @@ impl DeleteSubscriptionFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::delete_subscription::DeleteSubscription, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::delete_subscription::DeleteSubscriptionError, + >, + > { + self.customize_middleware().await + } } diff --git a/sdk/shield/src/operation/describe_attack/builders.rs b/sdk/shield/src/operation/describe_attack/builders.rs index 18cc65debf80..697a3cacb14a 100644 --- a/sdk/shield/src/operation/describe_attack/builders.rs +++ b/sdk/shield/src/operation/describe_attack/builders.rs @@ -19,9 +19,9 @@ impl DescribeAttackFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl DescribeAttackFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::describe_attack::DescribeAttack, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  The unique identifier (ID) for the attack.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  pub fn attack_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.attack_id(input.into()); diff --git a/sdk/shield/src/operation/describe_attack_statistics/builders.rs b/sdk/shield/src/operation/describe_attack_statistics/builders.rs index 0b73509be1a2..0a96e92dd518 100644 --- a/sdk/shield/src/operation/describe_attack_statistics/builders.rs +++ b/sdk/shield/src/operation/describe_attack_statistics/builders.rs @@ -21,9 +21,9 @@ impl DescribeAttackStatisticsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -85,4 +85,20 @@ impl DescribeAttackStatisticsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::describe_attack_statistics::DescribeAttackStatistics, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::describe_attack_statistics::DescribeAttackStatisticsError, + >, + > { + self.customize_middleware().await + } } diff --git a/sdk/shield/src/operation/describe_drt_access/builders.rs b/sdk/shield/src/operation/describe_drt_access/builders.rs index 15ac23574a65..8256cd8669a5 100644 --- a/sdk/shield/src/operation/describe_drt_access/builders.rs +++ b/sdk/shield/src/operation/describe_drt_access/builders.rs @@ -19,9 +19,9 @@ impl DescribeDRTAccessFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,4 +83,20 @@ impl DescribeDRTAccessFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::describe_drt_access::DescribeDRTAccess, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::describe_drt_access::DescribeDRTAccessError, + >, + > { + self.customize_middleware().await + } } diff --git a/sdk/shield/src/operation/describe_emergency_contact_settings/builders.rs b/sdk/shield/src/operation/describe_emergency_contact_settings/builders.rs index 03a8ed5a080b..c720e18dbf59 100644 --- a/sdk/shield/src/operation/describe_emergency_contact_settings/builders.rs +++ b/sdk/shield/src/operation/describe_emergency_contact_settings/builders.rs @@ -19,9 +19,9 @@ impl DescribeEmergencyContactSettingsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize(self) -> ::std::result::Result< + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware(self) -> ::std::result::Result< crate::client::customize::CustomizableOperation, ::aws_smithy_http::result::SdkError >{ @@ -64,4 +64,13 @@ impl DescribeEmergencyContactSettingsFluentBuilder { { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize(self) -> ::std::result::Result< + crate::client::customize::CustomizableOperation, + ::aws_smithy_http::result::SdkError + >{ + self.customize_middleware().await + } } diff --git a/sdk/shield/src/operation/describe_protection/builders.rs b/sdk/shield/src/operation/describe_protection/builders.rs index eedea3583d40..32780e34bbdc 100644 --- a/sdk/shield/src/operation/describe_protection/builders.rs +++ b/sdk/shield/src/operation/describe_protection/builders.rs @@ -19,9 +19,9 @@ impl DescribeProtectionFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl DescribeProtectionFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::describe_protection::DescribeProtection, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::describe_protection::DescribeProtectionError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  The unique identifier (ID) for the Protection object to describe. You must provide either the ResourceArn of the protected resource or the ProtectionID of the protection, but not both.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  pub fn protection_id( mut self, diff --git a/sdk/shield/src/operation/describe_protection_group/builders.rs b/sdk/shield/src/operation/describe_protection_group/builders.rs index 6c59ca4331eb..6d8ae6fb6650 100644 --- a/sdk/shield/src/operation/describe_protection_group/builders.rs +++ b/sdk/shield/src/operation/describe_protection_group/builders.rs @@ -20,9 +20,9 @@ impl DescribeProtectionGroupFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -84,6 +84,22 @@ impl DescribeProtectionGroupFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::describe_protection_group::DescribeProtectionGroup, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::describe_protection_group::DescribeProtectionGroupError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  The name of the protection group. You use this to identify the protection group in lists and to manage the protection group, for example to update, delete, or describe it.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  pub fn protection_group_id( mut self, diff --git a/sdk/shield/src/operation/describe_subscription/builders.rs b/sdk/shield/src/operation/describe_subscription/builders.rs index 0eede0a41309..4f8b8af80e96 100644 --- a/sdk/shield/src/operation/describe_subscription/builders.rs +++ b/sdk/shield/src/operation/describe_subscription/builders.rs @@ -19,9 +19,9 @@ impl DescribeSubscriptionFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,4 +83,20 @@ impl DescribeSubscriptionFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::describe_subscription::DescribeSubscription, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::describe_subscription::DescribeSubscriptionError, + >, + > { + self.customize_middleware().await + } } diff --git a/sdk/shield/src/operation/disable_application_layer_automatic_response/builders.rs b/sdk/shield/src/operation/disable_application_layer_automatic_response/builders.rs index 8aa0f4649cdb..f35ea1d3645c 100644 --- a/sdk/shield/src/operation/disable_application_layer_automatic_response/builders.rs +++ b/sdk/shield/src/operation/disable_application_layer_automatic_response/builders.rs @@ -19,9 +19,9 @@ impl DisableApplicationLayerAutomaticResponseFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize(self) -> ::std::result::Result< + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware(self) -> ::std::result::Result< crate::client::customize::CustomizableOperation, ::aws_smithy_http::result::SdkError >{ @@ -64,6 +64,15 @@ impl DisableApplicationLayerAutomaticResponseFluentBuilder { { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize(self) -> ::std::result::Result< + crate::client::customize::CustomizableOperation, + ::aws_smithy_http::result::SdkError + >{ + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  The ARN (Amazon Resource Name) of the protected resource.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  pub fn resource_arn(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.resource_arn(input.into()); diff --git a/sdk/shield/src/operation/disable_proactive_engagement/builders.rs b/sdk/shield/src/operation/disable_proactive_engagement/builders.rs index 269d2b7fc058..e6af7414aaeb 100644 --- a/sdk/shield/src/operation/disable_proactive_engagement/builders.rs +++ b/sdk/shield/src/operation/disable_proactive_engagement/builders.rs @@ -19,9 +19,9 @@ impl DisableProactiveEngagementFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,4 +83,20 @@ impl DisableProactiveEngagementFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::disable_proactive_engagement::DisableProactiveEngagement, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::disable_proactive_engagement::DisableProactiveEngagementError, + >, + > { + self.customize_middleware().await + } } diff --git a/sdk/shield/src/operation/disassociate_drt_log_bucket/builders.rs b/sdk/shield/src/operation/disassociate_drt_log_bucket/builders.rs index 489f52644eec..e31dbc4d87f3 100644 --- a/sdk/shield/src/operation/disassociate_drt_log_bucket/builders.rs +++ b/sdk/shield/src/operation/disassociate_drt_log_bucket/builders.rs @@ -19,9 +19,9 @@ impl DisassociateDRTLogBucketFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl DisassociateDRTLogBucketFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::disassociate_drt_log_bucket::DisassociateDRTLogBucket, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::disassociate_drt_log_bucket::DisassociateDRTLogBucketError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  The Amazon S3 bucket that contains the logs that you want to share.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  pub fn log_bucket(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.log_bucket(input.into()); diff --git a/sdk/shield/src/operation/disassociate_drt_role/builders.rs b/sdk/shield/src/operation/disassociate_drt_role/builders.rs index ebe271f0c4f6..f090f9e85090 100644 --- a/sdk/shield/src/operation/disassociate_drt_role/builders.rs +++ b/sdk/shield/src/operation/disassociate_drt_role/builders.rs @@ -19,9 +19,9 @@ impl DisassociateDRTRoleFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,4 +83,20 @@ impl DisassociateDRTRoleFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::disassociate_drt_role::DisassociateDRTRole, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::disassociate_drt_role::DisassociateDRTRoleError, + >, + > { + self.customize_middleware().await + } } diff --git a/sdk/shield/src/operation/disassociate_health_check/builders.rs b/sdk/shield/src/operation/disassociate_health_check/builders.rs index cd0a31ca9815..54313be29d76 100644 --- a/sdk/shield/src/operation/disassociate_health_check/builders.rs +++ b/sdk/shield/src/operation/disassociate_health_check/builders.rs @@ -21,9 +21,9 @@ impl DisassociateHealthCheckFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -85,6 +85,22 @@ impl DisassociateHealthCheckFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::disassociate_health_check::DisassociateHealthCheck, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::disassociate_health_check::DisassociateHealthCheckError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  The unique identifier (ID) for the Protection object to remove the health check association from.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  pub fn protection_id( mut self, diff --git a/sdk/shield/src/operation/enable_application_layer_automatic_response/builders.rs b/sdk/shield/src/operation/enable_application_layer_automatic_response/builders.rs index bccbcaeae4c3..fc628a55311b 100644 --- a/sdk/shield/src/operation/enable_application_layer_automatic_response/builders.rs +++ b/sdk/shield/src/operation/enable_application_layer_automatic_response/builders.rs @@ -25,9 +25,9 @@ impl EnableApplicationLayerAutomaticResponseFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize(self) -> ::std::result::Result< + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware(self) -> ::std::result::Result< crate::client::customize::CustomizableOperation, ::aws_smithy_http::result::SdkError >{ @@ -70,6 +70,15 @@ impl EnableApplicationLayerAutomaticResponseFluentBuilder { { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize(self) -> ::std::result::Result< + crate::client::customize::CustomizableOperation, + ::aws_smithy_http::result::SdkError + >{ + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  The ARN (Amazon Resource Name) of the protected resource.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  pub fn resource_arn(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.resource_arn(input.into()); diff --git a/sdk/shield/src/operation/enable_proactive_engagement/builders.rs b/sdk/shield/src/operation/enable_proactive_engagement/builders.rs index 2496d541d072..1d412afe55f8 100644 --- a/sdk/shield/src/operation/enable_proactive_engagement/builders.rs +++ b/sdk/shield/src/operation/enable_proactive_engagement/builders.rs @@ -19,9 +19,9 @@ impl EnableProactiveEngagementFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,4 +83,20 @@ impl EnableProactiveEngagementFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::enable_proactive_engagement::EnableProactiveEngagement, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::enable_proactive_engagement::EnableProactiveEngagementError, + >, + > { + self.customize_middleware().await + } } diff --git a/sdk/shield/src/operation/get_subscription_state/builders.rs b/sdk/shield/src/operation/get_subscription_state/builders.rs index d521439a558b..74326bd472da 100644 --- a/sdk/shield/src/operation/get_subscription_state/builders.rs +++ b/sdk/shield/src/operation/get_subscription_state/builders.rs @@ -19,9 +19,9 @@ impl GetSubscriptionStateFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,4 +83,20 @@ impl GetSubscriptionStateFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::get_subscription_state::GetSubscriptionState, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::get_subscription_state::GetSubscriptionStateError, + >, + > { + self.customize_middleware().await + } } diff --git a/sdk/shield/src/operation/list_attacks/builders.rs b/sdk/shield/src/operation/list_attacks/builders.rs index 420b3ff48684..e58291c821c5 100644 --- a/sdk/shield/src/operation/list_attacks/builders.rs +++ b/sdk/shield/src/operation/list_attacks/builders.rs @@ -19,9 +19,9 @@ impl ListAttacksFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl ListAttacksFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_attacks::ListAttacks, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::list_attacks::paginator::ListAttacksPaginator::send) which returns a `Stream`. diff --git a/sdk/shield/src/operation/list_protection_groups/builders.rs b/sdk/shield/src/operation/list_protection_groups/builders.rs index 3c7b5a1d4c79..36c32b1f5f45 100644 --- a/sdk/shield/src/operation/list_protection_groups/builders.rs +++ b/sdk/shield/src/operation/list_protection_groups/builders.rs @@ -19,9 +19,9 @@ impl ListProtectionGroupsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl ListProtectionGroupsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_protection_groups::ListProtectionGroups, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::list_protection_groups::ListProtectionGroupsError, + >, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::list_protection_groups::paginator::ListProtectionGroupsPaginator::send) which returns a `Stream`. diff --git a/sdk/shield/src/operation/list_protections/builders.rs b/sdk/shield/src/operation/list_protections/builders.rs index 9497ccd30853..fd447151a352 100644 --- a/sdk/shield/src/operation/list_protections/builders.rs +++ b/sdk/shield/src/operation/list_protections/builders.rs @@ -19,9 +19,9 @@ impl ListProtectionsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl ListProtectionsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_protections::ListProtections, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::list_protections::ListProtectionsError, + >, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::list_protections::paginator::ListProtectionsPaginator::send) which returns a `Stream`. diff --git a/sdk/shield/src/operation/list_resources_in_protection_group/builders.rs b/sdk/shield/src/operation/list_resources_in_protection_group/builders.rs index cbb15cb21821..43e8643a5bb1 100644 --- a/sdk/shield/src/operation/list_resources_in_protection_group/builders.rs +++ b/sdk/shield/src/operation/list_resources_in_protection_group/builders.rs @@ -19,9 +19,9 @@ impl ListResourcesInProtectionGroupFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize(self) -> ::std::result::Result< + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware(self) -> ::std::result::Result< crate::client::customize::CustomizableOperation, ::aws_smithy_http::result::SdkError >{ @@ -64,6 +64,15 @@ impl ListResourcesInProtectionGroupFluentBuilder { { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize(self) -> ::std::result::Result< + crate::client::customize::CustomizableOperation, + ::aws_smithy_http::result::SdkError + >{ + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::list_resources_in_protection_group::paginator::ListResourcesInProtectionGroupPaginator::send) which returns a `Stream`. diff --git a/sdk/shield/src/operation/list_tags_for_resource/builders.rs b/sdk/shield/src/operation/list_tags_for_resource/builders.rs index 739a44c7525f..2d11d1ad4a21 100644 --- a/sdk/shield/src/operation/list_tags_for_resource/builders.rs +++ b/sdk/shield/src/operation/list_tags_for_resource/builders.rs @@ -19,9 +19,9 @@ impl ListTagsForResourceFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl ListTagsForResourceFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_tags_for_resource::ListTagsForResource, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::list_tags_for_resource::ListTagsForResourceError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  The Amazon Resource Name (ARN) of the resource to get tags for.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  pub fn resource_arn(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.resource_arn(input.into()); diff --git a/sdk/shield/src/operation/tag_resource/builders.rs b/sdk/shield/src/operation/tag_resource/builders.rs index 6ed4e53cf9b2..eaa377f9324c 100644 --- a/sdk/shield/src/operation/tag_resource/builders.rs +++ b/sdk/shield/src/operation/tag_resource/builders.rs @@ -19,9 +19,9 @@ impl TagResourceFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl TagResourceFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::tag_resource::TagResource, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  The Amazon Resource Name (ARN) of the resource that you want to add or update tags for.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  pub fn resource_arn(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.resource_arn(input.into()); diff --git a/sdk/shield/src/operation/untag_resource/builders.rs b/sdk/shield/src/operation/untag_resource/builders.rs index e658cbc78885..963df19e7a93 100644 --- a/sdk/shield/src/operation/untag_resource/builders.rs +++ b/sdk/shield/src/operation/untag_resource/builders.rs @@ -19,9 +19,9 @@ impl UntagResourceFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl UntagResourceFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::untag_resource::UntagResource, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  The Amazon Resource Name (ARN) of the resource that you want to remove tags from.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  pub fn resource_arn(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.resource_arn(input.into()); diff --git a/sdk/shield/src/operation/update_application_layer_automatic_response/builders.rs b/sdk/shield/src/operation/update_application_layer_automatic_response/builders.rs index 7a7d042d7208..e486161a00a7 100644 --- a/sdk/shield/src/operation/update_application_layer_automatic_response/builders.rs +++ b/sdk/shield/src/operation/update_application_layer_automatic_response/builders.rs @@ -19,9 +19,9 @@ impl UpdateApplicationLayerAutomaticResponseFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize(self) -> ::std::result::Result< + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware(self) -> ::std::result::Result< crate::client::customize::CustomizableOperation, ::aws_smithy_http::result::SdkError >{ @@ -64,6 +64,15 @@ impl UpdateApplicationLayerAutomaticResponseFluentBuilder { { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize(self) -> ::std::result::Result< + crate::client::customize::CustomizableOperation, + ::aws_smithy_http::result::SdkError + >{ + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  The ARN (Amazon Resource Name) of the resource.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  pub fn resource_arn(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.resource_arn(input.into()); diff --git a/sdk/shield/src/operation/update_emergency_contact_settings/builders.rs b/sdk/shield/src/operation/update_emergency_contact_settings/builders.rs index 3bc0b848ac57..ba4baaa41432 100644 --- a/sdk/shield/src/operation/update_emergency_contact_settings/builders.rs +++ b/sdk/shield/src/operation/update_emergency_contact_settings/builders.rs @@ -19,9 +19,9 @@ impl UpdateEmergencyContactSettingsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize(self) -> ::std::result::Result< + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware(self) -> ::std::result::Result< crate::client::customize::CustomizableOperation, ::aws_smithy_http::result::SdkError >{ @@ -64,6 +64,15 @@ impl UpdateEmergencyContactSettingsFluentBuilder { { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize(self) -> ::std::result::Result< + crate::client::customize::CustomizableOperation, + ::aws_smithy_http::result::SdkError + >{ + self.customize_middleware().await + } /// Appends an item to `EmergencyContactList`. /// /// To override the contents of this collection use [`set_emergency_contact_list`](Self::set_emergency_contact_list). diff --git a/sdk/shield/src/operation/update_protection_group/builders.rs b/sdk/shield/src/operation/update_protection_group/builders.rs index 75e8d95e8452..e15b996dac95 100644 --- a/sdk/shield/src/operation/update_protection_group/builders.rs +++ b/sdk/shield/src/operation/update_protection_group/builders.rs @@ -19,9 +19,9 @@ impl UpdateProtectionGroupFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl UpdateProtectionGroupFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::update_protection_group::UpdateProtectionGroup, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::update_protection_group::UpdateProtectionGroupError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  The name of the protection group. You use this to identify the protection group in lists and to manage the protection group, for example to update, delete, or describe it.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  pub fn protection_group_id( mut self, diff --git a/sdk/shield/src/operation/update_subscription/builders.rs b/sdk/shield/src/operation/update_subscription/builders.rs index edd93405467b..b9fb0a59f56b 100644 --- a/sdk/shield/src/operation/update_subscription/builders.rs +++ b/sdk/shield/src/operation/update_subscription/builders.rs @@ -21,9 +21,9 @@ impl UpdateSubscriptionFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -85,6 +85,22 @@ impl UpdateSubscriptionFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::update_subscription::UpdateSubscription, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::update_subscription::UpdateSubscriptionError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  When you initally create a subscription, AutoRenew is set to ENABLED. If ENABLED, the subscription will be automatically renewed at the end of the existing subscription period. You can change this by submitting an UpdateSubscription request. If the UpdateSubscription request does not included a value for AutoRenew, the existing value for AutoRenew remains unchanged.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  pub fn auto_renew(mut self, input: crate::types::AutoRenew) -> Self { self.inner = self.inner.auto_renew(input); diff --git a/sdk/signer/src/operation/add_profile_permission/builders.rs b/sdk/signer/src/operation/add_profile_permission/builders.rs index 94f8c4a23783..ff7ac70ebde0 100644 --- a/sdk/signer/src/operation/add_profile_permission/builders.rs +++ b/sdk/signer/src/operation/add_profile_permission/builders.rs @@ -19,9 +19,9 @@ impl AddProfilePermissionFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl AddProfilePermissionFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::add_profile_permission::AddProfilePermission, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::add_profile_permission::AddProfilePermissionError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  The human-readable name of the signing profile.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  pub fn profile_name(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.profile_name(input.into()); diff --git a/sdk/signer/src/operation/cancel_signing_profile/builders.rs b/sdk/signer/src/operation/cancel_signing_profile/builders.rs index a38a5b82ca65..dc64b532708f 100644 --- a/sdk/signer/src/operation/cancel_signing_profile/builders.rs +++ b/sdk/signer/src/operation/cancel_signing_profile/builders.rs @@ -19,9 +19,9 @@ impl CancelSigningProfileFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl CancelSigningProfileFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::cancel_signing_profile::CancelSigningProfile, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::cancel_signing_profile::CancelSigningProfileError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  The name of the signing profile to be canceled.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  pub fn profile_name(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.profile_name(input.into()); diff --git a/sdk/signer/src/operation/describe_signing_job/builders.rs b/sdk/signer/src/operation/describe_signing_job/builders.rs index 31ed8806b7fa..737c5e2d37e3 100644 --- a/sdk/signer/src/operation/describe_signing_job/builders.rs +++ b/sdk/signer/src/operation/describe_signing_job/builders.rs @@ -19,9 +19,9 @@ impl DescribeSigningJobFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl DescribeSigningJobFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::describe_signing_job::DescribeSigningJob, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::describe_signing_job::DescribeSigningJobError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  The ID of the signing job on input.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  pub fn job_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.job_id(input.into()); diff --git a/sdk/signer/src/operation/get_signing_platform/builders.rs b/sdk/signer/src/operation/get_signing_platform/builders.rs index 2ff74e8fa9df..76c106921a83 100644 --- a/sdk/signer/src/operation/get_signing_platform/builders.rs +++ b/sdk/signer/src/operation/get_signing_platform/builders.rs @@ -19,9 +19,9 @@ impl GetSigningPlatformFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl GetSigningPlatformFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::get_signing_platform::GetSigningPlatform, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::get_signing_platform::GetSigningPlatformError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  The ID of the target signing platform.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  pub fn platform_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.platform_id(input.into()); diff --git a/sdk/signer/src/operation/get_signing_profile/builders.rs b/sdk/signer/src/operation/get_signing_profile/builders.rs index b901ffc1838d..942b6ccc8217 100644 --- a/sdk/signer/src/operation/get_signing_profile/builders.rs +++ b/sdk/signer/src/operation/get_signing_profile/builders.rs @@ -19,9 +19,9 @@ impl GetSigningProfileFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl GetSigningProfileFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::get_signing_profile::GetSigningProfile, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::get_signing_profile::GetSigningProfileError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  The name of the target signing profile.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  pub fn profile_name(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.profile_name(input.into()); diff --git a/sdk/signer/src/operation/list_profile_permissions/builders.rs b/sdk/signer/src/operation/list_profile_permissions/builders.rs index ad5a9a292761..226fdd1b103f 100644 --- a/sdk/signer/src/operation/list_profile_permissions/builders.rs +++ b/sdk/signer/src/operation/list_profile_permissions/builders.rs @@ -19,9 +19,9 @@ impl ListProfilePermissionsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl ListProfilePermissionsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_profile_permissions::ListProfilePermissions, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::list_profile_permissions::ListProfilePermissionsError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  Name of the signing profile containing the cross-account permissions.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  pub fn profile_name(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.profile_name(input.into()); diff --git a/sdk/signer/src/operation/list_signing_jobs/builders.rs b/sdk/signer/src/operation/list_signing_jobs/builders.rs index 96ab262e3396..3f8023820e08 100644 --- a/sdk/signer/src/operation/list_signing_jobs/builders.rs +++ b/sdk/signer/src/operation/list_signing_jobs/builders.rs @@ -19,9 +19,9 @@ impl ListSigningJobsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl ListSigningJobsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_signing_jobs::ListSigningJobs, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::list_signing_jobs::ListSigningJobsError, + >, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::list_signing_jobs::paginator::ListSigningJobsPaginator::send) which returns a `Stream`. diff --git a/sdk/signer/src/operation/list_signing_platforms/builders.rs b/sdk/signer/src/operation/list_signing_platforms/builders.rs index 80f7e92bc2d6..ab2f978eac33 100644 --- a/sdk/signer/src/operation/list_signing_platforms/builders.rs +++ b/sdk/signer/src/operation/list_signing_platforms/builders.rs @@ -19,9 +19,9 @@ impl ListSigningPlatformsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl ListSigningPlatformsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_signing_platforms::ListSigningPlatforms, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::list_signing_platforms::ListSigningPlatformsError, + >, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::list_signing_platforms::paginator::ListSigningPlatformsPaginator::send) which returns a `Stream`. diff --git a/sdk/signer/src/operation/list_signing_profiles/builders.rs b/sdk/signer/src/operation/list_signing_profiles/builders.rs index b05e73986b21..d2bf70325511 100644 --- a/sdk/signer/src/operation/list_signing_profiles/builders.rs +++ b/sdk/signer/src/operation/list_signing_profiles/builders.rs @@ -19,9 +19,9 @@ impl ListSigningProfilesFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl ListSigningProfilesFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_signing_profiles::ListSigningProfiles, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::list_signing_profiles::ListSigningProfilesError, + >, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::list_signing_profiles::paginator::ListSigningProfilesPaginator::send) which returns a `Stream`. diff --git a/sdk/signer/src/operation/list_tags_for_resource/builders.rs b/sdk/signer/src/operation/list_tags_for_resource/builders.rs index 61b04e898a62..316d4ddd4b0f 100644 --- a/sdk/signer/src/operation/list_tags_for_resource/builders.rs +++ b/sdk/signer/src/operation/list_tags_for_resource/builders.rs @@ -19,9 +19,9 @@ impl ListTagsForResourceFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl ListTagsForResourceFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_tags_for_resource::ListTagsForResource, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::list_tags_for_resource::ListTagsForResourceError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  The Amazon Resource Name (ARN) for the signing profile.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  pub fn resource_arn(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.resource_arn(input.into()); diff --git a/sdk/signer/src/operation/put_signing_profile/builders.rs b/sdk/signer/src/operation/put_signing_profile/builders.rs index c4ec3012f503..6201bce2c11b 100644 --- a/sdk/signer/src/operation/put_signing_profile/builders.rs +++ b/sdk/signer/src/operation/put_signing_profile/builders.rs @@ -19,9 +19,9 @@ impl PutSigningProfileFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl PutSigningProfileFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::put_signing_profile::PutSigningProfile, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::put_signing_profile::PutSigningProfileError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  The name of the signing profile to be created.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  pub fn profile_name(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.profile_name(input.into()); diff --git a/sdk/signer/src/operation/remove_profile_permission/builders.rs b/sdk/signer/src/operation/remove_profile_permission/builders.rs index da04059b6a51..ea4546f6905a 100644 --- a/sdk/signer/src/operation/remove_profile_permission/builders.rs +++ b/sdk/signer/src/operation/remove_profile_permission/builders.rs @@ -20,9 +20,9 @@ impl RemoveProfilePermissionFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -84,6 +84,22 @@ impl RemoveProfilePermissionFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::remove_profile_permission::RemoveProfilePermission, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::remove_profile_permission::RemoveProfilePermissionError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  A human-readable name for the signing profile with permissions to be removed.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  pub fn profile_name(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.profile_name(input.into()); diff --git a/sdk/signer/src/operation/revoke_signature/builders.rs b/sdk/signer/src/operation/revoke_signature/builders.rs index ca08c220336f..6226968d850a 100644 --- a/sdk/signer/src/operation/revoke_signature/builders.rs +++ b/sdk/signer/src/operation/revoke_signature/builders.rs @@ -19,9 +19,9 @@ impl RevokeSignatureFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl RevokeSignatureFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::revoke_signature::RevokeSignature, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::revoke_signature::RevokeSignatureError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  ID of the signing job to be revoked.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  pub fn job_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.job_id(input.into()); diff --git a/sdk/signer/src/operation/revoke_signing_profile/builders.rs b/sdk/signer/src/operation/revoke_signing_profile/builders.rs index f5ccf6233ef2..d0f7fbebd0b3 100644 --- a/sdk/signer/src/operation/revoke_signing_profile/builders.rs +++ b/sdk/signer/src/operation/revoke_signing_profile/builders.rs @@ -19,9 +19,9 @@ impl RevokeSigningProfileFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl RevokeSigningProfileFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::revoke_signing_profile::RevokeSigningProfile, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::revoke_signing_profile::RevokeSigningProfileError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  The name of the signing profile to be revoked.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  pub fn profile_name(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.profile_name(input.into()); diff --git a/sdk/signer/src/operation/start_signing_job/builders.rs b/sdk/signer/src/operation/start_signing_job/builders.rs index 876afe749c8f..a61ebfe64e01 100644 --- a/sdk/signer/src/operation/start_signing_job/builders.rs +++ b/sdk/signer/src/operation/start_signing_job/builders.rs @@ -28,9 +28,9 @@ impl StartSigningJobFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -92,6 +92,22 @@ impl StartSigningJobFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::start_signing_job::StartSigningJob, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::start_signing_job::StartSigningJobError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  The S3 bucket that contains the object to sign or a BLOB that contains your raw code.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  pub fn source(mut self, input: crate::types::Source) -> Self { self.inner = self.inner.source(input); diff --git a/sdk/signer/src/operation/tag_resource/builders.rs b/sdk/signer/src/operation/tag_resource/builders.rs index 5b5cde764d8f..3465e8645e09 100644 --- a/sdk/signer/src/operation/tag_resource/builders.rs +++ b/sdk/signer/src/operation/tag_resource/builders.rs @@ -19,9 +19,9 @@ impl TagResourceFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl TagResourceFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::tag_resource::TagResource, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  The Amazon Resource Name (ARN) for the signing profile.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  pub fn resource_arn(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.resource_arn(input.into()); diff --git a/sdk/signer/src/operation/untag_resource/builders.rs b/sdk/signer/src/operation/untag_resource/builders.rs index 1bb62c2e3260..b81fa512d677 100644 --- a/sdk/signer/src/operation/untag_resource/builders.rs +++ b/sdk/signer/src/operation/untag_resource/builders.rs @@ -19,9 +19,9 @@ impl UntagResourceFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl UntagResourceFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::untag_resource::UntagResource, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  The Amazon Resource Name (ARN) for the signing profile.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  pub fn resource_arn(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.resource_arn(input.into()); diff --git a/sdk/simspaceweaver/src/operation/create_snapshot/builders.rs b/sdk/simspaceweaver/src/operation/create_snapshot/builders.rs index aed8c316e20e..c7efb72db4f4 100644 --- a/sdk/simspaceweaver/src/operation/create_snapshot/builders.rs +++ b/sdk/simspaceweaver/src/operation/create_snapshot/builders.rs @@ -29,9 +29,9 @@ impl CreateSnapshotFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -87,6 +87,20 @@ impl CreateSnapshotFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::create_snapshot::CreateSnapshot, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  The name of the simulation.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  pub fn simulation(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.simulation(input.into()); diff --git a/sdk/simspaceweaver/src/operation/delete_app/builders.rs b/sdk/simspaceweaver/src/operation/delete_app/builders.rs index 743a0ac33dc8..afb9722f861f 100644 --- a/sdk/simspaceweaver/src/operation/delete_app/builders.rs +++ b/sdk/simspaceweaver/src/operation/delete_app/builders.rs @@ -19,9 +19,9 @@ impl DeleteAppFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl DeleteAppFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::delete_app::DeleteApp, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  The name of the simulation of the app.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  pub fn simulation(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.simulation(input.into()); diff --git a/sdk/simspaceweaver/src/operation/delete_simulation/builders.rs b/sdk/simspaceweaver/src/operation/delete_simulation/builders.rs index 57f46b0952b2..665f32a49a5e 100644 --- a/sdk/simspaceweaver/src/operation/delete_simulation/builders.rs +++ b/sdk/simspaceweaver/src/operation/delete_simulation/builders.rs @@ -21,9 +21,9 @@ impl DeleteSimulationFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -85,6 +85,22 @@ impl DeleteSimulationFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::delete_simulation::DeleteSimulation, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::delete_simulation::DeleteSimulationError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  The name of the simulation.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  pub fn simulation(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.simulation(input.into()); diff --git a/sdk/simspaceweaver/src/operation/describe_app/builders.rs b/sdk/simspaceweaver/src/operation/describe_app/builders.rs index 07590c7e04a8..92e027e879ee 100644 --- a/sdk/simspaceweaver/src/operation/describe_app/builders.rs +++ b/sdk/simspaceweaver/src/operation/describe_app/builders.rs @@ -19,9 +19,9 @@ impl DescribeAppFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl DescribeAppFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::describe_app::DescribeApp, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  The name of the simulation of the app.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  pub fn simulation(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.simulation(input.into()); diff --git a/sdk/simspaceweaver/src/operation/describe_simulation/builders.rs b/sdk/simspaceweaver/src/operation/describe_simulation/builders.rs index ab4165e2af89..51b3031df131 100644 --- a/sdk/simspaceweaver/src/operation/describe_simulation/builders.rs +++ b/sdk/simspaceweaver/src/operation/describe_simulation/builders.rs @@ -19,9 +19,9 @@ impl DescribeSimulationFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl DescribeSimulationFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::describe_simulation::DescribeSimulation, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::describe_simulation::DescribeSimulationError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  The name of the simulation.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  pub fn simulation(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.simulation(input.into()); diff --git a/sdk/simspaceweaver/src/operation/list_apps/builders.rs b/sdk/simspaceweaver/src/operation/list_apps/builders.rs index d8315d4566f5..dca916dcdfcb 100644 --- a/sdk/simspaceweaver/src/operation/list_apps/builders.rs +++ b/sdk/simspaceweaver/src/operation/list_apps/builders.rs @@ -19,9 +19,9 @@ impl ListAppsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl ListAppsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_apps::ListApps, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::list_apps::paginator::ListAppsPaginator::send) which returns a `Stream`. diff --git a/sdk/simspaceweaver/src/operation/list_simulations/builders.rs b/sdk/simspaceweaver/src/operation/list_simulations/builders.rs index c511906272aa..9318e5752436 100644 --- a/sdk/simspaceweaver/src/operation/list_simulations/builders.rs +++ b/sdk/simspaceweaver/src/operation/list_simulations/builders.rs @@ -19,9 +19,9 @@ impl ListSimulationsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl ListSimulationsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_simulations::ListSimulations, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::list_simulations::ListSimulationsError, + >, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::list_simulations::paginator::ListSimulationsPaginator::send) which returns a `Stream`. diff --git a/sdk/simspaceweaver/src/operation/list_tags_for_resource/builders.rs b/sdk/simspaceweaver/src/operation/list_tags_for_resource/builders.rs index 48f26f18b327..0269907f744f 100644 --- a/sdk/simspaceweaver/src/operation/list_tags_for_resource/builders.rs +++ b/sdk/simspaceweaver/src/operation/list_tags_for_resource/builders.rs @@ -19,9 +19,9 @@ impl ListTagsForResourceFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl ListTagsForResourceFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_tags_for_resource::ListTagsForResource, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::list_tags_for_resource::ListTagsForResourceError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  The Amazon Resource Name (ARN) of the resource. For more information about ARNs, see Amazon Resource Names (ARNs) in the Amazon Web Services General Reference.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  pub fn resource_arn(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.resource_arn(input.into()); diff --git a/sdk/simspaceweaver/src/operation/start_app/builders.rs b/sdk/simspaceweaver/src/operation/start_app/builders.rs index fd4eab39e557..479f64d1e608 100644 --- a/sdk/simspaceweaver/src/operation/start_app/builders.rs +++ b/sdk/simspaceweaver/src/operation/start_app/builders.rs @@ -19,9 +19,9 @@ impl StartAppFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl StartAppFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::start_app::StartApp, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  A value that you provide to ensure that repeated calls to this API operation using the same parameters complete only once. A ClientToken is also known as an idempotency token. A ClientToken expires after 24 hours.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  pub fn client_token(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.client_token(input.into()); diff --git a/sdk/simspaceweaver/src/operation/start_clock/builders.rs b/sdk/simspaceweaver/src/operation/start_clock/builders.rs index 31176443f858..6a2876e07c14 100644 --- a/sdk/simspaceweaver/src/operation/start_clock/builders.rs +++ b/sdk/simspaceweaver/src/operation/start_clock/builders.rs @@ -19,9 +19,9 @@ impl StartClockFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl StartClockFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::start_clock::StartClock, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  The name of the simulation.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  pub fn simulation(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.simulation(input.into()); diff --git a/sdk/simspaceweaver/src/operation/start_simulation/builders.rs b/sdk/simspaceweaver/src/operation/start_simulation/builders.rs index efb42b4dd0e6..c3181b500b53 100644 --- a/sdk/simspaceweaver/src/operation/start_simulation/builders.rs +++ b/sdk/simspaceweaver/src/operation/start_simulation/builders.rs @@ -19,9 +19,9 @@ impl StartSimulationFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl StartSimulationFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::start_simulation::StartSimulation, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::start_simulation::StartSimulationError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  A value that you provide to ensure that repeated calls to this API operation using the same parameters complete only once. A ClientToken is also known as an idempotency token. A ClientToken expires after 24 hours.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  pub fn client_token(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.client_token(input.into()); diff --git a/sdk/simspaceweaver/src/operation/stop_app/builders.rs b/sdk/simspaceweaver/src/operation/stop_app/builders.rs index 8c054b610583..d6abf205cbd0 100644 --- a/sdk/simspaceweaver/src/operation/stop_app/builders.rs +++ b/sdk/simspaceweaver/src/operation/stop_app/builders.rs @@ -19,9 +19,9 @@ impl StopAppFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl StopAppFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::stop_app::StopApp, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  The name of the simulation of the app.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  pub fn simulation(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.simulation(input.into()); diff --git a/sdk/simspaceweaver/src/operation/stop_clock/builders.rs b/sdk/simspaceweaver/src/operation/stop_clock/builders.rs index 3296d1c0ce06..f1957fdb24c5 100644 --- a/sdk/simspaceweaver/src/operation/stop_clock/builders.rs +++ b/sdk/simspaceweaver/src/operation/stop_clock/builders.rs @@ -19,9 +19,9 @@ impl StopClockFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl StopClockFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::stop_clock::StopClock, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  The name of the simulation.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  pub fn simulation(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.simulation(input.into()); diff --git a/sdk/simspaceweaver/src/operation/stop_simulation/builders.rs b/sdk/simspaceweaver/src/operation/stop_simulation/builders.rs index 6b36a7c27325..c94ebc8d062a 100644 --- a/sdk/simspaceweaver/src/operation/stop_simulation/builders.rs +++ b/sdk/simspaceweaver/src/operation/stop_simulation/builders.rs @@ -21,9 +21,9 @@ impl StopSimulationFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -79,6 +79,20 @@ impl StopSimulationFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::stop_simulation::StopSimulation, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  The name of the simulation.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  pub fn simulation(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.simulation(input.into()); diff --git a/sdk/simspaceweaver/src/operation/tag_resource/builders.rs b/sdk/simspaceweaver/src/operation/tag_resource/builders.rs index 1b2119d7ca7e..e8ad20cf0e0b 100644 --- a/sdk/simspaceweaver/src/operation/tag_resource/builders.rs +++ b/sdk/simspaceweaver/src/operation/tag_resource/builders.rs @@ -19,9 +19,9 @@ impl TagResourceFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl TagResourceFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::tag_resource::TagResource, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  The Amazon Resource Name (ARN) of the resource that you want to add tags to. For more information about ARNs, see Amazon Resource Names (ARNs) in the Amazon Web Services General Reference.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  pub fn resource_arn(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.resource_arn(input.into()); diff --git a/sdk/simspaceweaver/src/operation/untag_resource/builders.rs b/sdk/simspaceweaver/src/operation/untag_resource/builders.rs index e9342b97f079..f25c00608a4b 100644 --- a/sdk/simspaceweaver/src/operation/untag_resource/builders.rs +++ b/sdk/simspaceweaver/src/operation/untag_resource/builders.rs @@ -19,9 +19,9 @@ impl UntagResourceFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl UntagResourceFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::untag_resource::UntagResource, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  The Amazon Resource Name (ARN) of the resource that you want to remove tags from. For more information about ARNs, see Amazon Resource Names (ARNs) in the Amazon Web Services General Reference.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  pub fn resource_arn(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.resource_arn(input.into()); diff --git a/sdk/sms/src/operation/create_app/builders.rs b/sdk/sms/src/operation/create_app/builders.rs index 6b6f4a3f88ae..957b9318950b 100644 --- a/sdk/sms/src/operation/create_app/builders.rs +++ b/sdk/sms/src/operation/create_app/builders.rs @@ -19,9 +19,9 @@ impl CreateAppFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl CreateAppFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::create_app::CreateApp, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  The name of the new application.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  pub fn name(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.name(input.into()); diff --git a/sdk/sms/src/operation/create_replication_job/builders.rs b/sdk/sms/src/operation/create_replication_job/builders.rs index 6b24ffc2dc74..0a2a1cf76086 100644 --- a/sdk/sms/src/operation/create_replication_job/builders.rs +++ b/sdk/sms/src/operation/create_replication_job/builders.rs @@ -19,9 +19,9 @@ impl CreateReplicationJobFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl CreateReplicationJobFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::create_replication_job::CreateReplicationJob, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::create_replication_job::CreateReplicationJobError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  The ID of the server.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  pub fn server_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.server_id(input.into()); diff --git a/sdk/sms/src/operation/delete_app/builders.rs b/sdk/sms/src/operation/delete_app/builders.rs index 062de3c81108..2301b7235f29 100644 --- a/sdk/sms/src/operation/delete_app/builders.rs +++ b/sdk/sms/src/operation/delete_app/builders.rs @@ -19,9 +19,9 @@ impl DeleteAppFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl DeleteAppFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::delete_app::DeleteApp, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  The ID of the application.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  pub fn app_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.app_id(input.into()); diff --git a/sdk/sms/src/operation/delete_app_launch_configuration/builders.rs b/sdk/sms/src/operation/delete_app_launch_configuration/builders.rs index ec7fc86e40cc..9f8bd038a6ce 100644 --- a/sdk/sms/src/operation/delete_app_launch_configuration/builders.rs +++ b/sdk/sms/src/operation/delete_app_launch_configuration/builders.rs @@ -19,9 +19,9 @@ impl DeleteAppLaunchConfigurationFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl DeleteAppLaunchConfigurationFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::delete_app_launch_configuration::DeleteAppLaunchConfiguration, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::delete_app_launch_configuration::DeleteAppLaunchConfigurationError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  The ID of the application.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  pub fn app_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.app_id(input.into()); diff --git a/sdk/sms/src/operation/delete_app_replication_configuration/builders.rs b/sdk/sms/src/operation/delete_app_replication_configuration/builders.rs index d0c0a37aaa81..61ff1bf5aaef 100644 --- a/sdk/sms/src/operation/delete_app_replication_configuration/builders.rs +++ b/sdk/sms/src/operation/delete_app_replication_configuration/builders.rs @@ -19,9 +19,9 @@ impl DeleteAppReplicationConfigurationFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize(self) -> ::std::result::Result< + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware(self) -> ::std::result::Result< crate::client::customize::CustomizableOperation, ::aws_smithy_http::result::SdkError >{ @@ -64,6 +64,15 @@ impl DeleteAppReplicationConfigurationFluentBuilder { { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize(self) -> ::std::result::Result< + crate::client::customize::CustomizableOperation, + ::aws_smithy_http::result::SdkError + >{ + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  The ID of the application.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  pub fn app_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.app_id(input.into()); diff --git a/sdk/sms/src/operation/delete_app_validation_configuration/builders.rs b/sdk/sms/src/operation/delete_app_validation_configuration/builders.rs index beb3ac26ec98..2f3d6634bbe4 100644 --- a/sdk/sms/src/operation/delete_app_validation_configuration/builders.rs +++ b/sdk/sms/src/operation/delete_app_validation_configuration/builders.rs @@ -19,9 +19,9 @@ impl DeleteAppValidationConfigurationFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize(self) -> ::std::result::Result< + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware(self) -> ::std::result::Result< crate::client::customize::CustomizableOperation, ::aws_smithy_http::result::SdkError >{ @@ -64,6 +64,15 @@ impl DeleteAppValidationConfigurationFluentBuilder { { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize(self) -> ::std::result::Result< + crate::client::customize::CustomizableOperation, + ::aws_smithy_http::result::SdkError + >{ + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  The ID of the application.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  pub fn app_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.app_id(input.into()); diff --git a/sdk/sms/src/operation/delete_replication_job/builders.rs b/sdk/sms/src/operation/delete_replication_job/builders.rs index ba5b7618d182..3e7d49cf3c82 100644 --- a/sdk/sms/src/operation/delete_replication_job/builders.rs +++ b/sdk/sms/src/operation/delete_replication_job/builders.rs @@ -20,9 +20,9 @@ impl DeleteReplicationJobFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -84,6 +84,22 @@ impl DeleteReplicationJobFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::delete_replication_job::DeleteReplicationJob, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::delete_replication_job::DeleteReplicationJobError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  The ID of the replication job.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  pub fn replication_job_id( mut self, diff --git a/sdk/sms/src/operation/delete_server_catalog/builders.rs b/sdk/sms/src/operation/delete_server_catalog/builders.rs index def4ffe8e3fb..052798232085 100644 --- a/sdk/sms/src/operation/delete_server_catalog/builders.rs +++ b/sdk/sms/src/operation/delete_server_catalog/builders.rs @@ -19,9 +19,9 @@ impl DeleteServerCatalogFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,4 +83,20 @@ impl DeleteServerCatalogFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::delete_server_catalog::DeleteServerCatalog, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::delete_server_catalog::DeleteServerCatalogError, + >, + > { + self.customize_middleware().await + } } diff --git a/sdk/sms/src/operation/disassociate_connector/builders.rs b/sdk/sms/src/operation/disassociate_connector/builders.rs index e1b59b769604..171365970db2 100644 --- a/sdk/sms/src/operation/disassociate_connector/builders.rs +++ b/sdk/sms/src/operation/disassociate_connector/builders.rs @@ -20,9 +20,9 @@ impl DisassociateConnectorFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -84,6 +84,22 @@ impl DisassociateConnectorFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::disassociate_connector::DisassociateConnector, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::disassociate_connector::DisassociateConnectorError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  The ID of the connector.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  pub fn connector_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.connector_id(input.into()); diff --git a/sdk/sms/src/operation/generate_change_set/builders.rs b/sdk/sms/src/operation/generate_change_set/builders.rs index 316a08b18b0d..2b0e142afa66 100644 --- a/sdk/sms/src/operation/generate_change_set/builders.rs +++ b/sdk/sms/src/operation/generate_change_set/builders.rs @@ -19,9 +19,9 @@ impl GenerateChangeSetFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl GenerateChangeSetFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::generate_change_set::GenerateChangeSet, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::generate_change_set::GenerateChangeSetError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  The ID of the application associated with the change set.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  pub fn app_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.app_id(input.into()); diff --git a/sdk/sms/src/operation/generate_template/builders.rs b/sdk/sms/src/operation/generate_template/builders.rs index 3f6edaf1eab3..4e94dc719210 100644 --- a/sdk/sms/src/operation/generate_template/builders.rs +++ b/sdk/sms/src/operation/generate_template/builders.rs @@ -19,9 +19,9 @@ impl GenerateTemplateFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl GenerateTemplateFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::generate_template::GenerateTemplate, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::generate_template::GenerateTemplateError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  The ID of the application associated with the CloudFormation template.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  pub fn app_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.app_id(input.into()); diff --git a/sdk/sms/src/operation/get_app/builders.rs b/sdk/sms/src/operation/get_app/builders.rs index 1c6a967dc8be..50054a5024c8 100644 --- a/sdk/sms/src/operation/get_app/builders.rs +++ b/sdk/sms/src/operation/get_app/builders.rs @@ -19,9 +19,9 @@ impl GetAppFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl GetAppFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::get_app::GetApp, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  The ID of the application.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  pub fn app_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.app_id(input.into()); diff --git a/sdk/sms/src/operation/get_app_launch_configuration/builders.rs b/sdk/sms/src/operation/get_app_launch_configuration/builders.rs index cce7d74b31a8..e718cdeae4cc 100644 --- a/sdk/sms/src/operation/get_app_launch_configuration/builders.rs +++ b/sdk/sms/src/operation/get_app_launch_configuration/builders.rs @@ -19,9 +19,9 @@ impl GetAppLaunchConfigurationFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl GetAppLaunchConfigurationFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::get_app_launch_configuration::GetAppLaunchConfiguration, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::get_app_launch_configuration::GetAppLaunchConfigurationError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  The ID of the application.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  pub fn app_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.app_id(input.into()); diff --git a/sdk/sms/src/operation/get_app_replication_configuration/builders.rs b/sdk/sms/src/operation/get_app_replication_configuration/builders.rs index 4eb3a5cabca5..d2036a283a03 100644 --- a/sdk/sms/src/operation/get_app_replication_configuration/builders.rs +++ b/sdk/sms/src/operation/get_app_replication_configuration/builders.rs @@ -19,9 +19,9 @@ impl GetAppReplicationConfigurationFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize(self) -> ::std::result::Result< + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware(self) -> ::std::result::Result< crate::client::customize::CustomizableOperation, ::aws_smithy_http::result::SdkError >{ @@ -64,6 +64,15 @@ impl GetAppReplicationConfigurationFluentBuilder { { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize(self) -> ::std::result::Result< + crate::client::customize::CustomizableOperation, + ::aws_smithy_http::result::SdkError + >{ + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  The ID of the application.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  pub fn app_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.app_id(input.into()); diff --git a/sdk/sms/src/operation/get_app_validation_configuration/builders.rs b/sdk/sms/src/operation/get_app_validation_configuration/builders.rs index 49fb0e1f89d7..f6bad58bd243 100644 --- a/sdk/sms/src/operation/get_app_validation_configuration/builders.rs +++ b/sdk/sms/src/operation/get_app_validation_configuration/builders.rs @@ -19,9 +19,9 @@ impl GetAppValidationConfigurationFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl GetAppValidationConfigurationFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::get_app_validation_configuration::GetAppValidationConfiguration, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::get_app_validation_configuration::GetAppValidationConfigurationError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  The ID of the application.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  pub fn app_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.app_id(input.into()); diff --git a/sdk/sms/src/operation/get_app_validation_output/builders.rs b/sdk/sms/src/operation/get_app_validation_output/builders.rs index 4c78898849c3..4c7fde88e601 100644 --- a/sdk/sms/src/operation/get_app_validation_output/builders.rs +++ b/sdk/sms/src/operation/get_app_validation_output/builders.rs @@ -20,9 +20,9 @@ impl GetAppValidationOutputFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -84,6 +84,22 @@ impl GetAppValidationOutputFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::get_app_validation_output::GetAppValidationOutput, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::get_app_validation_output::GetAppValidationOutputError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  The ID of the application.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  pub fn app_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.app_id(input.into()); diff --git a/sdk/sms/src/operation/get_connectors/builders.rs b/sdk/sms/src/operation/get_connectors/builders.rs index 305b8ccdd64b..b9dae388d178 100644 --- a/sdk/sms/src/operation/get_connectors/builders.rs +++ b/sdk/sms/src/operation/get_connectors/builders.rs @@ -19,9 +19,9 @@ impl GetConnectorsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl GetConnectorsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::get_connectors::GetConnectors, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::get_connectors::paginator::GetConnectorsPaginator::send) which returns a `Stream`. diff --git a/sdk/sms/src/operation/get_replication_jobs/builders.rs b/sdk/sms/src/operation/get_replication_jobs/builders.rs index 90a481c5f362..2137130f5883 100644 --- a/sdk/sms/src/operation/get_replication_jobs/builders.rs +++ b/sdk/sms/src/operation/get_replication_jobs/builders.rs @@ -19,9 +19,9 @@ impl GetReplicationJobsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl GetReplicationJobsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::get_replication_jobs::GetReplicationJobs, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::get_replication_jobs::GetReplicationJobsError, + >, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::get_replication_jobs::paginator::GetReplicationJobsPaginator::send) which returns a `Stream`. diff --git a/sdk/sms/src/operation/get_replication_runs/builders.rs b/sdk/sms/src/operation/get_replication_runs/builders.rs index eb1624f9587e..ea762920b905 100644 --- a/sdk/sms/src/operation/get_replication_runs/builders.rs +++ b/sdk/sms/src/operation/get_replication_runs/builders.rs @@ -19,9 +19,9 @@ impl GetReplicationRunsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl GetReplicationRunsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::get_replication_runs::GetReplicationRuns, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::get_replication_runs::GetReplicationRunsError, + >, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::get_replication_runs::paginator::GetReplicationRunsPaginator::send) which returns a `Stream`. diff --git a/sdk/sms/src/operation/get_servers/builders.rs b/sdk/sms/src/operation/get_servers/builders.rs index e8295b383290..919773517897 100644 --- a/sdk/sms/src/operation/get_servers/builders.rs +++ b/sdk/sms/src/operation/get_servers/builders.rs @@ -20,9 +20,9 @@ impl GetServersFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -78,6 +78,20 @@ impl GetServersFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::get_servers::GetServers, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::get_servers::paginator::GetServersPaginator::send) which returns a `Stream`. diff --git a/sdk/sms/src/operation/import_app_catalog/builders.rs b/sdk/sms/src/operation/import_app_catalog/builders.rs index 23129959e5d4..63e09cc6a9bc 100644 --- a/sdk/sms/src/operation/import_app_catalog/builders.rs +++ b/sdk/sms/src/operation/import_app_catalog/builders.rs @@ -19,9 +19,9 @@ impl ImportAppCatalogFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl ImportAppCatalogFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::import_app_catalog::ImportAppCatalog, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::import_app_catalog::ImportAppCatalogError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  The name of the service role. If you omit this parameter, we create a service-linked role for Migration Hub in your account. Otherwise, the role that you provide must have the policy and trust policy described in the Migration Hub User Guide.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  pub fn role_name(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.role_name(input.into()); diff --git a/sdk/sms/src/operation/import_server_catalog/builders.rs b/sdk/sms/src/operation/import_server_catalog/builders.rs index d85a3d1eaa30..6a8a61fa9356 100644 --- a/sdk/sms/src/operation/import_server_catalog/builders.rs +++ b/sdk/sms/src/operation/import_server_catalog/builders.rs @@ -20,9 +20,9 @@ impl ImportServerCatalogFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -84,4 +84,20 @@ impl ImportServerCatalogFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::import_server_catalog::ImportServerCatalog, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::import_server_catalog::ImportServerCatalogError, + >, + > { + self.customize_middleware().await + } } diff --git a/sdk/sms/src/operation/launch_app/builders.rs b/sdk/sms/src/operation/launch_app/builders.rs index 52e8b2575ffe..768c6333e15d 100644 --- a/sdk/sms/src/operation/launch_app/builders.rs +++ b/sdk/sms/src/operation/launch_app/builders.rs @@ -19,9 +19,9 @@ impl LaunchAppFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl LaunchAppFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::launch_app::LaunchApp, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  The ID of the application.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  pub fn app_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.app_id(input.into()); diff --git a/sdk/sms/src/operation/list_apps/builders.rs b/sdk/sms/src/operation/list_apps/builders.rs index 889374f4abdf..2303dde2157c 100644 --- a/sdk/sms/src/operation/list_apps/builders.rs +++ b/sdk/sms/src/operation/list_apps/builders.rs @@ -19,9 +19,9 @@ impl ListAppsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl ListAppsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_apps::ListApps, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } /// Appends an item to `appIds`. /// /// To override the contents of this collection use [`set_app_ids`](Self::set_app_ids). diff --git a/sdk/sms/src/operation/notify_app_validation_output/builders.rs b/sdk/sms/src/operation/notify_app_validation_output/builders.rs index 3b2ecb04deba..f184fba0d2cb 100644 --- a/sdk/sms/src/operation/notify_app_validation_output/builders.rs +++ b/sdk/sms/src/operation/notify_app_validation_output/builders.rs @@ -19,9 +19,9 @@ impl NotifyAppValidationOutputFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl NotifyAppValidationOutputFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::notify_app_validation_output::NotifyAppValidationOutput, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::notify_app_validation_output::NotifyAppValidationOutputError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  The ID of the application.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  pub fn app_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.app_id(input.into()); diff --git a/sdk/sms/src/operation/put_app_launch_configuration/builders.rs b/sdk/sms/src/operation/put_app_launch_configuration/builders.rs index fc2b31a2c804..8ea894c6a8ee 100644 --- a/sdk/sms/src/operation/put_app_launch_configuration/builders.rs +++ b/sdk/sms/src/operation/put_app_launch_configuration/builders.rs @@ -19,9 +19,9 @@ impl PutAppLaunchConfigurationFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl PutAppLaunchConfigurationFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::put_app_launch_configuration::PutAppLaunchConfiguration, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::put_app_launch_configuration::PutAppLaunchConfigurationError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  The ID of the application.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  pub fn app_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.app_id(input.into()); diff --git a/sdk/sms/src/operation/put_app_replication_configuration/builders.rs b/sdk/sms/src/operation/put_app_replication_configuration/builders.rs index eb5072dd5ae5..29faabf7a01c 100644 --- a/sdk/sms/src/operation/put_app_replication_configuration/builders.rs +++ b/sdk/sms/src/operation/put_app_replication_configuration/builders.rs @@ -19,9 +19,9 @@ impl PutAppReplicationConfigurationFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize(self) -> ::std::result::Result< + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware(self) -> ::std::result::Result< crate::client::customize::CustomizableOperation, ::aws_smithy_http::result::SdkError >{ @@ -64,6 +64,15 @@ impl PutAppReplicationConfigurationFluentBuilder { { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize(self) -> ::std::result::Result< + crate::client::customize::CustomizableOperation, + ::aws_smithy_http::result::SdkError + >{ + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  The ID of the application.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  pub fn app_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.app_id(input.into()); diff --git a/sdk/sms/src/operation/put_app_validation_configuration/builders.rs b/sdk/sms/src/operation/put_app_validation_configuration/builders.rs index bd4133b781b3..3696004d7231 100644 --- a/sdk/sms/src/operation/put_app_validation_configuration/builders.rs +++ b/sdk/sms/src/operation/put_app_validation_configuration/builders.rs @@ -19,9 +19,9 @@ impl PutAppValidationConfigurationFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl PutAppValidationConfigurationFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::put_app_validation_configuration::PutAppValidationConfiguration, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::put_app_validation_configuration::PutAppValidationConfigurationError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  The ID of the application.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  pub fn app_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.app_id(input.into()); diff --git a/sdk/sms/src/operation/start_app_replication/builders.rs b/sdk/sms/src/operation/start_app_replication/builders.rs index aa3a978a0bcd..e7de295ff7ad 100644 --- a/sdk/sms/src/operation/start_app_replication/builders.rs +++ b/sdk/sms/src/operation/start_app_replication/builders.rs @@ -19,9 +19,9 @@ impl StartAppReplicationFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl StartAppReplicationFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::start_app_replication::StartAppReplication, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::start_app_replication::StartAppReplicationError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  The ID of the application.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  pub fn app_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.app_id(input.into()); diff --git a/sdk/sms/src/operation/start_on_demand_app_replication/builders.rs b/sdk/sms/src/operation/start_on_demand_app_replication/builders.rs index 96d52557ce51..f26792b322b2 100644 --- a/sdk/sms/src/operation/start_on_demand_app_replication/builders.rs +++ b/sdk/sms/src/operation/start_on_demand_app_replication/builders.rs @@ -19,9 +19,9 @@ impl StartOnDemandAppReplicationFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl StartOnDemandAppReplicationFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::start_on_demand_app_replication::StartOnDemandAppReplication, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::start_on_demand_app_replication::StartOnDemandAppReplicationError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  The ID of the application.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  pub fn app_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.app_id(input.into()); diff --git a/sdk/sms/src/operation/start_on_demand_replication_run/builders.rs b/sdk/sms/src/operation/start_on_demand_replication_run/builders.rs index c60741cb11a4..cd1cb2b06afc 100644 --- a/sdk/sms/src/operation/start_on_demand_replication_run/builders.rs +++ b/sdk/sms/src/operation/start_on_demand_replication_run/builders.rs @@ -20,9 +20,9 @@ impl StartOnDemandReplicationRunFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -84,6 +84,22 @@ impl StartOnDemandReplicationRunFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::start_on_demand_replication_run::StartOnDemandReplicationRun, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::start_on_demand_replication_run::StartOnDemandReplicationRunError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  The ID of the replication job.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  pub fn replication_job_id( mut self, diff --git a/sdk/sms/src/operation/stop_app_replication/builders.rs b/sdk/sms/src/operation/stop_app_replication/builders.rs index 567636c510e9..37813c46c731 100644 --- a/sdk/sms/src/operation/stop_app_replication/builders.rs +++ b/sdk/sms/src/operation/stop_app_replication/builders.rs @@ -19,9 +19,9 @@ impl StopAppReplicationFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl StopAppReplicationFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::stop_app_replication::StopAppReplication, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::stop_app_replication::StopAppReplicationError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  The ID of the application.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  pub fn app_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.app_id(input.into()); diff --git a/sdk/sms/src/operation/terminate_app/builders.rs b/sdk/sms/src/operation/terminate_app/builders.rs index 706017c01e4b..d8f3d58436b4 100644 --- a/sdk/sms/src/operation/terminate_app/builders.rs +++ b/sdk/sms/src/operation/terminate_app/builders.rs @@ -19,9 +19,9 @@ impl TerminateAppFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl TerminateAppFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::terminate_app::TerminateApp, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  The ID of the application.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  pub fn app_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.app_id(input.into()); diff --git a/sdk/sms/src/operation/update_app/builders.rs b/sdk/sms/src/operation/update_app/builders.rs index 7939b05f78b1..ef82cca43068 100644 --- a/sdk/sms/src/operation/update_app/builders.rs +++ b/sdk/sms/src/operation/update_app/builders.rs @@ -19,9 +19,9 @@ impl UpdateAppFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl UpdateAppFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::update_app::UpdateApp, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  The ID of the application.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  pub fn app_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.app_id(input.into()); diff --git a/sdk/sms/src/operation/update_replication_job/builders.rs b/sdk/sms/src/operation/update_replication_job/builders.rs index a67fea840ff1..5bd60bb1f287 100644 --- a/sdk/sms/src/operation/update_replication_job/builders.rs +++ b/sdk/sms/src/operation/update_replication_job/builders.rs @@ -19,9 +19,9 @@ impl UpdateReplicationJobFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl UpdateReplicationJobFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::update_replication_job::UpdateReplicationJob, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::update_replication_job::UpdateReplicationJobError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  The ID of the replication job.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  pub fn replication_job_id( mut self, diff --git a/sdk/snowball/src/operation/cancel_cluster/builders.rs b/sdk/snowball/src/operation/cancel_cluster/builders.rs index 97040ec2347b..17965f918ca4 100644 --- a/sdk/snowball/src/operation/cancel_cluster/builders.rs +++ b/sdk/snowball/src/operation/cancel_cluster/builders.rs @@ -19,9 +19,9 @@ impl CancelClusterFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl CancelClusterFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::cancel_cluster::CancelCluster, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  The 39-character ID for the cluster that you want to cancel, for example CID123e4567-e89b-12d3-a456-426655440000.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  pub fn cluster_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.cluster_id(input.into()); diff --git a/sdk/snowball/src/operation/cancel_job/builders.rs b/sdk/snowball/src/operation/cancel_job/builders.rs index 594ab4124937..1660ce3da49d 100644 --- a/sdk/snowball/src/operation/cancel_job/builders.rs +++ b/sdk/snowball/src/operation/cancel_job/builders.rs @@ -19,9 +19,9 @@ impl CancelJobFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl CancelJobFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::cancel_job::CancelJob, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  The 39-character job ID for the job that you want to cancel, for example JID123e4567-e89b-12d3-a456-426655440000.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  pub fn job_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.job_id(input.into()); diff --git a/sdk/snowball/src/operation/create_address/builders.rs b/sdk/snowball/src/operation/create_address/builders.rs index 0f3de7776667..709c06cef0f1 100644 --- a/sdk/snowball/src/operation/create_address/builders.rs +++ b/sdk/snowball/src/operation/create_address/builders.rs @@ -19,9 +19,9 @@ impl CreateAddressFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl CreateAddressFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::create_address::CreateAddress, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  The address that you want the Snow device shipped to.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  pub fn address(mut self, input: crate::types::Address) -> Self { self.inner = self.inner.address(input); diff --git a/sdk/snowball/src/operation/create_cluster/builders.rs b/sdk/snowball/src/operation/create_cluster/builders.rs index 545338124c9b..fb65b2953de1 100644 --- a/sdk/snowball/src/operation/create_cluster/builders.rs +++ b/sdk/snowball/src/operation/create_cluster/builders.rs @@ -19,9 +19,9 @@ impl CreateClusterFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl CreateClusterFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::create_cluster::CreateCluster, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  The type of job for this cluster. Currently, the only job type supported for clusters is LOCAL_USE.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  ///

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  For more information, see "https://docs.aws.amazon.com/snowball/latest/snowcone-guide/snow-device-types.html" (Snow Family Devices and Capacity) in the Snowcone User Guide or "https://docs.aws.amazon.com/snowball/latest/developer-guide/snow-device-types.html" (Snow Family Devices and Capacity) in the Snowcone User Guide.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  pub fn job_type(mut self, input: crate::types::JobType) -> Self { diff --git a/sdk/snowball/src/operation/create_job/builders.rs b/sdk/snowball/src/operation/create_job/builders.rs index b9658dfee6de..f8b3459c6a93 100644 --- a/sdk/snowball/src/operation/create_job/builders.rs +++ b/sdk/snowball/src/operation/create_job/builders.rs @@ -81,9 +81,9 @@ impl CreateJobFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -139,6 +139,20 @@ impl CreateJobFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::create_job::CreateJob, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  Defines the type of job that you're creating.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  pub fn job_type(mut self, input: crate::types::JobType) -> Self { self.inner = self.inner.job_type(input); diff --git a/sdk/snowball/src/operation/create_long_term_pricing/builders.rs b/sdk/snowball/src/operation/create_long_term_pricing/builders.rs index 475a93204b95..25e737c4a628 100644 --- a/sdk/snowball/src/operation/create_long_term_pricing/builders.rs +++ b/sdk/snowball/src/operation/create_long_term_pricing/builders.rs @@ -19,9 +19,9 @@ impl CreateLongTermPricingFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl CreateLongTermPricingFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::create_long_term_pricing::CreateLongTermPricing, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::create_long_term_pricing::CreateLongTermPricingError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  The type of long-term pricing option you want for the device, either 1-year or 3-year long-term pricing.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  pub fn long_term_pricing_type(mut self, input: crate::types::LongTermPricingType) -> Self { self.inner = self.inner.long_term_pricing_type(input); diff --git a/sdk/snowball/src/operation/create_return_shipping_label/builders.rs b/sdk/snowball/src/operation/create_return_shipping_label/builders.rs index 293f75332f5b..4a1e3d0c1dac 100644 --- a/sdk/snowball/src/operation/create_return_shipping_label/builders.rs +++ b/sdk/snowball/src/operation/create_return_shipping_label/builders.rs @@ -19,9 +19,9 @@ impl CreateReturnShippingLabelFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl CreateReturnShippingLabelFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::create_return_shipping_label::CreateReturnShippingLabel, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::create_return_shipping_label::CreateReturnShippingLabelError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  The ID for a job that you want to create the return shipping label for; for example, JID123e4567-e89b-12d3-a456-426655440000.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  pub fn job_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.job_id(input.into()); diff --git a/sdk/snowball/src/operation/describe_address/builders.rs b/sdk/snowball/src/operation/describe_address/builders.rs index b422945a00dd..094c0ba9bb7c 100644 --- a/sdk/snowball/src/operation/describe_address/builders.rs +++ b/sdk/snowball/src/operation/describe_address/builders.rs @@ -19,9 +19,9 @@ impl DescribeAddressFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl DescribeAddressFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::describe_address::DescribeAddress, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::describe_address::DescribeAddressError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  The automatically generated ID for a specific address.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  pub fn address_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.address_id(input.into()); diff --git a/sdk/snowball/src/operation/describe_addresses/builders.rs b/sdk/snowball/src/operation/describe_addresses/builders.rs index 9315d8be4210..268d9ea3bd19 100644 --- a/sdk/snowball/src/operation/describe_addresses/builders.rs +++ b/sdk/snowball/src/operation/describe_addresses/builders.rs @@ -19,9 +19,9 @@ impl DescribeAddressesFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl DescribeAddressesFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::describe_addresses::DescribeAddresses, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::describe_addresses::DescribeAddressesError, + >, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::describe_addresses::paginator::DescribeAddressesPaginator::send) which returns a `Stream`. diff --git a/sdk/snowball/src/operation/describe_cluster/builders.rs b/sdk/snowball/src/operation/describe_cluster/builders.rs index f553293eae49..71106491bbf8 100644 --- a/sdk/snowball/src/operation/describe_cluster/builders.rs +++ b/sdk/snowball/src/operation/describe_cluster/builders.rs @@ -19,9 +19,9 @@ impl DescribeClusterFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl DescribeClusterFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::describe_cluster::DescribeCluster, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::describe_cluster::DescribeClusterError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  The automatically generated ID for a cluster.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  pub fn cluster_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.cluster_id(input.into()); diff --git a/sdk/snowball/src/operation/describe_job/builders.rs b/sdk/snowball/src/operation/describe_job/builders.rs index ce3ec82aa6d5..7c620516770a 100644 --- a/sdk/snowball/src/operation/describe_job/builders.rs +++ b/sdk/snowball/src/operation/describe_job/builders.rs @@ -19,9 +19,9 @@ impl DescribeJobFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl DescribeJobFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::describe_job::DescribeJob, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  The automatically generated ID for a job, for example JID123e4567-e89b-12d3-a456-426655440000.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  pub fn job_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.job_id(input.into()); diff --git a/sdk/snowball/src/operation/describe_return_shipping_label/builders.rs b/sdk/snowball/src/operation/describe_return_shipping_label/builders.rs index 9dd8f7a3460a..8e0c55b1077d 100644 --- a/sdk/snowball/src/operation/describe_return_shipping_label/builders.rs +++ b/sdk/snowball/src/operation/describe_return_shipping_label/builders.rs @@ -19,9 +19,9 @@ impl DescribeReturnShippingLabelFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl DescribeReturnShippingLabelFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::describe_return_shipping_label::DescribeReturnShippingLabel, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::describe_return_shipping_label::DescribeReturnShippingLabelError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  The automatically generated ID for a job, for example JID123e4567-e89b-12d3-a456-426655440000.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  pub fn job_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.job_id(input.into()); diff --git a/sdk/snowball/src/operation/get_job_manifest/builders.rs b/sdk/snowball/src/operation/get_job_manifest/builders.rs index 6b621b4217f0..8409ca06d3f1 100644 --- a/sdk/snowball/src/operation/get_job_manifest/builders.rs +++ b/sdk/snowball/src/operation/get_job_manifest/builders.rs @@ -22,9 +22,9 @@ impl GetJobManifestFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -86,6 +86,22 @@ impl GetJobManifestFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::get_job_manifest::GetJobManifest, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::get_job_manifest::GetJobManifestError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  The ID for a job that you want to get the manifest file for, for example JID123e4567-e89b-12d3-a456-426655440000.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  pub fn job_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.job_id(input.into()); diff --git a/sdk/snowball/src/operation/get_job_unlock_code/builders.rs b/sdk/snowball/src/operation/get_job_unlock_code/builders.rs index 6f2668b1a124..bcf95d67c53b 100644 --- a/sdk/snowball/src/operation/get_job_unlock_code/builders.rs +++ b/sdk/snowball/src/operation/get_job_unlock_code/builders.rs @@ -21,9 +21,9 @@ impl GetJobUnlockCodeFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -85,6 +85,22 @@ impl GetJobUnlockCodeFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::get_job_unlock_code::GetJobUnlockCode, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::get_job_unlock_code::GetJobUnlockCodeError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  The ID for the job that you want to get the UnlockCode value for, for example JID123e4567-e89b-12d3-a456-426655440000.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  pub fn job_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.job_id(input.into()); diff --git a/sdk/snowball/src/operation/get_snowball_usage/builders.rs b/sdk/snowball/src/operation/get_snowball_usage/builders.rs index b3d2d1dc90c8..06f28e50eb18 100644 --- a/sdk/snowball/src/operation/get_snowball_usage/builders.rs +++ b/sdk/snowball/src/operation/get_snowball_usage/builders.rs @@ -20,9 +20,9 @@ impl GetSnowballUsageFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -84,4 +84,20 @@ impl GetSnowballUsageFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::get_snowball_usage::GetSnowballUsage, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::get_snowball_usage::GetSnowballUsageError, + >, + > { + self.customize_middleware().await + } } diff --git a/sdk/snowball/src/operation/get_software_updates/builders.rs b/sdk/snowball/src/operation/get_software_updates/builders.rs index 9355d9423dec..81aa14cb3b05 100644 --- a/sdk/snowball/src/operation/get_software_updates/builders.rs +++ b/sdk/snowball/src/operation/get_software_updates/builders.rs @@ -19,9 +19,9 @@ impl GetSoftwareUpdatesFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl GetSoftwareUpdatesFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::get_software_updates::GetSoftwareUpdates, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::get_software_updates::GetSoftwareUpdatesError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  The ID for a job that you want to get the software update file for, for example JID123e4567-e89b-12d3-a456-426655440000.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  pub fn job_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.job_id(input.into()); diff --git a/sdk/snowball/src/operation/list_cluster_jobs/builders.rs b/sdk/snowball/src/operation/list_cluster_jobs/builders.rs index e38f9760b98a..924aa9695e04 100644 --- a/sdk/snowball/src/operation/list_cluster_jobs/builders.rs +++ b/sdk/snowball/src/operation/list_cluster_jobs/builders.rs @@ -19,9 +19,9 @@ impl ListClusterJobsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl ListClusterJobsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_cluster_jobs::ListClusterJobs, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::list_cluster_jobs::ListClusterJobsError, + >, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::list_cluster_jobs::paginator::ListClusterJobsPaginator::send) which returns a `Stream`. diff --git a/sdk/snowball/src/operation/list_clusters/builders.rs b/sdk/snowball/src/operation/list_clusters/builders.rs index 5d0b27e5c4b2..38f35565e3cb 100644 --- a/sdk/snowball/src/operation/list_clusters/builders.rs +++ b/sdk/snowball/src/operation/list_clusters/builders.rs @@ -19,9 +19,9 @@ impl ListClustersFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl ListClustersFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_clusters::ListClusters, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::list_clusters::paginator::ListClustersPaginator::send) which returns a `Stream`. diff --git a/sdk/snowball/src/operation/list_compatible_images/builders.rs b/sdk/snowball/src/operation/list_compatible_images/builders.rs index e024f9e39c8c..0881f2410237 100644 --- a/sdk/snowball/src/operation/list_compatible_images/builders.rs +++ b/sdk/snowball/src/operation/list_compatible_images/builders.rs @@ -19,9 +19,9 @@ impl ListCompatibleImagesFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl ListCompatibleImagesFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_compatible_images::ListCompatibleImages, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::list_compatible_images::ListCompatibleImagesError, + >, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::list_compatible_images::paginator::ListCompatibleImagesPaginator::send) which returns a `Stream`. diff --git a/sdk/snowball/src/operation/list_jobs/builders.rs b/sdk/snowball/src/operation/list_jobs/builders.rs index a50af1a4a73f..1ddd123830cd 100644 --- a/sdk/snowball/src/operation/list_jobs/builders.rs +++ b/sdk/snowball/src/operation/list_jobs/builders.rs @@ -19,9 +19,9 @@ impl ListJobsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl ListJobsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_jobs::ListJobs, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::list_jobs::paginator::ListJobsPaginator::send) which returns a `Stream`. diff --git a/sdk/snowball/src/operation/list_long_term_pricing/builders.rs b/sdk/snowball/src/operation/list_long_term_pricing/builders.rs index c2d7ce748760..f5c54cc27ae5 100644 --- a/sdk/snowball/src/operation/list_long_term_pricing/builders.rs +++ b/sdk/snowball/src/operation/list_long_term_pricing/builders.rs @@ -19,9 +19,9 @@ impl ListLongTermPricingFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl ListLongTermPricingFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_long_term_pricing::ListLongTermPricing, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::list_long_term_pricing::ListLongTermPricingError, + >, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::list_long_term_pricing::paginator::ListLongTermPricingPaginator::send) which returns a `Stream`. diff --git a/sdk/snowball/src/operation/list_service_versions/builders.rs b/sdk/snowball/src/operation/list_service_versions/builders.rs index 96fa04b8bd81..804afb930665 100644 --- a/sdk/snowball/src/operation/list_service_versions/builders.rs +++ b/sdk/snowball/src/operation/list_service_versions/builders.rs @@ -19,9 +19,9 @@ impl ListServiceVersionsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl ListServiceVersionsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_service_versions::ListServiceVersions, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::list_service_versions::ListServiceVersionsError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  The name of the service for which you're requesting supported versions.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  pub fn service_name(mut self, input: crate::types::ServiceName) -> Self { self.inner = self.inner.service_name(input); diff --git a/sdk/snowball/src/operation/update_cluster/builders.rs b/sdk/snowball/src/operation/update_cluster/builders.rs index 3cfa537c4a64..8820d6b28234 100644 --- a/sdk/snowball/src/operation/update_cluster/builders.rs +++ b/sdk/snowball/src/operation/update_cluster/builders.rs @@ -19,9 +19,9 @@ impl UpdateClusterFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl UpdateClusterFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::update_cluster::UpdateCluster, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  The cluster ID of the cluster that you want to update, for example CID123e4567-e89b-12d3-a456-426655440000.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  pub fn cluster_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.cluster_id(input.into()); diff --git a/sdk/snowball/src/operation/update_job/builders.rs b/sdk/snowball/src/operation/update_job/builders.rs index 70b04d3f423f..b03d5c112b16 100644 --- a/sdk/snowball/src/operation/update_job/builders.rs +++ b/sdk/snowball/src/operation/update_job/builders.rs @@ -19,9 +19,9 @@ impl UpdateJobFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl UpdateJobFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::update_job::UpdateJob, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  The job ID of the job that you want to update, for example JID123e4567-e89b-12d3-a456-426655440000.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  pub fn job_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.job_id(input.into()); diff --git a/sdk/snowball/src/operation/update_job_shipment_state/builders.rs b/sdk/snowball/src/operation/update_job_shipment_state/builders.rs index 61025b19f586..e99a8c78b936 100644 --- a/sdk/snowball/src/operation/update_job_shipment_state/builders.rs +++ b/sdk/snowball/src/operation/update_job_shipment_state/builders.rs @@ -20,9 +20,9 @@ impl UpdateJobShipmentStateFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -84,6 +84,22 @@ impl UpdateJobShipmentStateFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::update_job_shipment_state::UpdateJobShipmentState, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::update_job_shipment_state::UpdateJobShipmentStateError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  The job ID of the job whose shipment date you want to update, for example JID123e4567-e89b-12d3-a456-426655440000.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  pub fn job_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.job_id(input.into()); diff --git a/sdk/snowball/src/operation/update_long_term_pricing/builders.rs b/sdk/snowball/src/operation/update_long_term_pricing/builders.rs index 4da95824f2ad..0f562ab01b66 100644 --- a/sdk/snowball/src/operation/update_long_term_pricing/builders.rs +++ b/sdk/snowball/src/operation/update_long_term_pricing/builders.rs @@ -19,9 +19,9 @@ impl UpdateLongTermPricingFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl UpdateLongTermPricingFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::update_long_term_pricing::UpdateLongTermPricing, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::update_long_term_pricing::UpdateLongTermPricingError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  The ID of the long-term pricing type for the device.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  pub fn long_term_pricing_id( mut self, diff --git a/sdk/snowdevicemanagement/src/operation/cancel_task/builders.rs b/sdk/snowdevicemanagement/src/operation/cancel_task/builders.rs index 86537355ecfa..212696022df0 100644 --- a/sdk/snowdevicemanagement/src/operation/cancel_task/builders.rs +++ b/sdk/snowdevicemanagement/src/operation/cancel_task/builders.rs @@ -21,9 +21,9 @@ impl CancelTaskFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -79,6 +79,20 @@ impl CancelTaskFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::cancel_task::CancelTask, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  The ID of the task that you are attempting to cancel. You can retrieve a task ID by using the ListTasks operation.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  pub fn task_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.task_id(input.into()); diff --git a/sdk/snowdevicemanagement/src/operation/create_task/builders.rs b/sdk/snowdevicemanagement/src/operation/create_task/builders.rs index 6ef540a478d6..2cbb071f9632 100644 --- a/sdk/snowdevicemanagement/src/operation/create_task/builders.rs +++ b/sdk/snowdevicemanagement/src/operation/create_task/builders.rs @@ -19,9 +19,9 @@ impl CreateTaskFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl CreateTaskFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::create_task::CreateTask, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } /// Appends an item to `targets`. /// /// To override the contents of this collection use [`set_targets`](Self::set_targets). diff --git a/sdk/snowdevicemanagement/src/operation/describe_device/builders.rs b/sdk/snowdevicemanagement/src/operation/describe_device/builders.rs index e645b7730284..ce2486e0f76d 100644 --- a/sdk/snowdevicemanagement/src/operation/describe_device/builders.rs +++ b/sdk/snowdevicemanagement/src/operation/describe_device/builders.rs @@ -19,9 +19,9 @@ impl DescribeDeviceFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl DescribeDeviceFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::describe_device::DescribeDevice, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  The ID of the device that you are checking the information of.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  pub fn managed_device_id( mut self, diff --git a/sdk/snowdevicemanagement/src/operation/describe_device_ec2_instances/builders.rs b/sdk/snowdevicemanagement/src/operation/describe_device_ec2_instances/builders.rs index 162f3f040924..8bdb85db6845 100644 --- a/sdk/snowdevicemanagement/src/operation/describe_device_ec2_instances/builders.rs +++ b/sdk/snowdevicemanagement/src/operation/describe_device_ec2_instances/builders.rs @@ -19,9 +19,9 @@ impl DescribeDeviceEc2InstancesFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl DescribeDeviceEc2InstancesFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::describe_device_ec2_instances::DescribeDeviceEc2Instances, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::describe_device_ec2_instances::DescribeDeviceEc2InstancesError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  The ID of the managed device.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  pub fn managed_device_id( mut self, diff --git a/sdk/snowdevicemanagement/src/operation/describe_execution/builders.rs b/sdk/snowdevicemanagement/src/operation/describe_execution/builders.rs index bd4999020a46..a6da62b196d9 100644 --- a/sdk/snowdevicemanagement/src/operation/describe_execution/builders.rs +++ b/sdk/snowdevicemanagement/src/operation/describe_execution/builders.rs @@ -19,9 +19,9 @@ impl DescribeExecutionFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl DescribeExecutionFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::describe_execution::DescribeExecution, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::describe_execution::DescribeExecutionError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  The ID of the task that the action is describing.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  pub fn task_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.task_id(input.into()); diff --git a/sdk/snowdevicemanagement/src/operation/describe_task/builders.rs b/sdk/snowdevicemanagement/src/operation/describe_task/builders.rs index 1396cec7b635..2ebecd4b82dd 100644 --- a/sdk/snowdevicemanagement/src/operation/describe_task/builders.rs +++ b/sdk/snowdevicemanagement/src/operation/describe_task/builders.rs @@ -19,9 +19,9 @@ impl DescribeTaskFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl DescribeTaskFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::describe_task::DescribeTask, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  The ID of the task to be described.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  pub fn task_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.task_id(input.into()); diff --git a/sdk/snowdevicemanagement/src/operation/list_device_resources/builders.rs b/sdk/snowdevicemanagement/src/operation/list_device_resources/builders.rs index 7b63aa7f0f9f..dd4c55a43479 100644 --- a/sdk/snowdevicemanagement/src/operation/list_device_resources/builders.rs +++ b/sdk/snowdevicemanagement/src/operation/list_device_resources/builders.rs @@ -19,9 +19,9 @@ impl ListDeviceResourcesFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl ListDeviceResourcesFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_device_resources::ListDeviceResources, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::list_device_resources::ListDeviceResourcesError, + >, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::list_device_resources::paginator::ListDeviceResourcesPaginator::send) which returns a `Stream`. diff --git a/sdk/snowdevicemanagement/src/operation/list_devices/builders.rs b/sdk/snowdevicemanagement/src/operation/list_devices/builders.rs index 014524502412..0be2c2d101fb 100644 --- a/sdk/snowdevicemanagement/src/operation/list_devices/builders.rs +++ b/sdk/snowdevicemanagement/src/operation/list_devices/builders.rs @@ -19,9 +19,9 @@ impl ListDevicesFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl ListDevicesFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_devices::ListDevices, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::list_devices::paginator::ListDevicesPaginator::send) which returns a `Stream`. diff --git a/sdk/snowdevicemanagement/src/operation/list_executions/builders.rs b/sdk/snowdevicemanagement/src/operation/list_executions/builders.rs index 5687d81ec7d3..9ab76c46e6d6 100644 --- a/sdk/snowdevicemanagement/src/operation/list_executions/builders.rs +++ b/sdk/snowdevicemanagement/src/operation/list_executions/builders.rs @@ -19,9 +19,9 @@ impl ListExecutionsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl ListExecutionsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_executions::ListExecutions, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::list_executions::paginator::ListExecutionsPaginator::send) which returns a `Stream`. diff --git a/sdk/snowdevicemanagement/src/operation/list_tags_for_resource/builders.rs b/sdk/snowdevicemanagement/src/operation/list_tags_for_resource/builders.rs index a42c808071db..83b4466b797b 100644 --- a/sdk/snowdevicemanagement/src/operation/list_tags_for_resource/builders.rs +++ b/sdk/snowdevicemanagement/src/operation/list_tags_for_resource/builders.rs @@ -19,9 +19,9 @@ impl ListTagsForResourceFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl ListTagsForResourceFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_tags_for_resource::ListTagsForResource, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::list_tags_for_resource::ListTagsForResourceError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  The Amazon Resource Name (ARN) of the device or task.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  pub fn resource_arn(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.resource_arn(input.into()); diff --git a/sdk/snowdevicemanagement/src/operation/list_tasks/builders.rs b/sdk/snowdevicemanagement/src/operation/list_tasks/builders.rs index c4d18b1d08b7..9c16311c87f1 100644 --- a/sdk/snowdevicemanagement/src/operation/list_tasks/builders.rs +++ b/sdk/snowdevicemanagement/src/operation/list_tasks/builders.rs @@ -19,9 +19,9 @@ impl ListTasksFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl ListTasksFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_tasks::ListTasks, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::list_tasks::paginator::ListTasksPaginator::send) which returns a `Stream`. diff --git a/sdk/snowdevicemanagement/src/operation/tag_resource/builders.rs b/sdk/snowdevicemanagement/src/operation/tag_resource/builders.rs index 841eaa9c93a5..562bb8b1b126 100644 --- a/sdk/snowdevicemanagement/src/operation/tag_resource/builders.rs +++ b/sdk/snowdevicemanagement/src/operation/tag_resource/builders.rs @@ -19,9 +19,9 @@ impl TagResourceFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl TagResourceFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::tag_resource::TagResource, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  The Amazon Resource Name (ARN) of the device or task.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  pub fn resource_arn(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.resource_arn(input.into()); diff --git a/sdk/snowdevicemanagement/src/operation/untag_resource/builders.rs b/sdk/snowdevicemanagement/src/operation/untag_resource/builders.rs index 5d66a668d8a3..010f3948e60f 100644 --- a/sdk/snowdevicemanagement/src/operation/untag_resource/builders.rs +++ b/sdk/snowdevicemanagement/src/operation/untag_resource/builders.rs @@ -19,9 +19,9 @@ impl UntagResourceFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl UntagResourceFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::untag_resource::UntagResource, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  The Amazon Resource Name (ARN) of the device or task.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  pub fn resource_arn(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.resource_arn(input.into()); diff --git a/sdk/sns/src/operation/add_permission/builders.rs b/sdk/sns/src/operation/add_permission/builders.rs index f00a36f0cc8b..f756c066b5d7 100644 --- a/sdk/sns/src/operation/add_permission/builders.rs +++ b/sdk/sns/src/operation/add_permission/builders.rs @@ -21,9 +21,9 @@ impl AddPermissionFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -79,6 +79,20 @@ impl AddPermissionFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::add_permission::AddPermission, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  The ARN of the topic whose access control policy you wish to modify.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  pub fn topic_arn(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.topic_arn(input.into()); diff --git a/sdk/sns/src/operation/check_if_phone_number_is_opted_out/builders.rs b/sdk/sns/src/operation/check_if_phone_number_is_opted_out/builders.rs index 01a4fa18adea..bdbfda01bb56 100644 --- a/sdk/sns/src/operation/check_if_phone_number_is_opted_out/builders.rs +++ b/sdk/sns/src/operation/check_if_phone_number_is_opted_out/builders.rs @@ -20,9 +20,9 @@ impl CheckIfPhoneNumberIsOptedOutFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -84,6 +84,22 @@ impl CheckIfPhoneNumberIsOptedOutFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::check_if_phone_number_is_opted_out::CheckIfPhoneNumberIsOptedOut, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::check_if_phone_number_is_opted_out::CheckIfPhoneNumberIsOptedOutError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  The phone number for which you want to check the opt out status.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  pub fn phone_number(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.phone_number(input.into()); diff --git a/sdk/sns/src/operation/confirm_subscription/builders.rs b/sdk/sns/src/operation/confirm_subscription/builders.rs index 719e586a042c..8401948fcd26 100644 --- a/sdk/sns/src/operation/confirm_subscription/builders.rs +++ b/sdk/sns/src/operation/confirm_subscription/builders.rs @@ -19,9 +19,9 @@ impl ConfirmSubscriptionFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl ConfirmSubscriptionFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::confirm_subscription::ConfirmSubscription, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::confirm_subscription::ConfirmSubscriptionError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  The ARN of the topic for which you wish to confirm a subscription.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  pub fn topic_arn(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.topic_arn(input.into()); diff --git a/sdk/sns/src/operation/create_platform_application/builders.rs b/sdk/sns/src/operation/create_platform_application/builders.rs index 0da456ce8ac9..5c1ca90c825e 100644 --- a/sdk/sns/src/operation/create_platform_application/builders.rs +++ b/sdk/sns/src/operation/create_platform_application/builders.rs @@ -30,9 +30,9 @@ impl CreatePlatformApplicationFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -94,6 +94,22 @@ impl CreatePlatformApplicationFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::create_platform_application::CreatePlatformApplication, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::create_platform_application::CreatePlatformApplicationError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  Application names must be made up of only uppercase and lowercase ASCII letters, numbers, underscores, hyphens, and periods, and must be between 1 and 256 characters long.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  pub fn name(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.name(input.into()); diff --git a/sdk/sns/src/operation/create_platform_endpoint/builders.rs b/sdk/sns/src/operation/create_platform_endpoint/builders.rs index 369913167a37..494b53ebd900 100644 --- a/sdk/sns/src/operation/create_platform_endpoint/builders.rs +++ b/sdk/sns/src/operation/create_platform_endpoint/builders.rs @@ -20,9 +20,9 @@ impl CreatePlatformEndpointFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -84,6 +84,22 @@ impl CreatePlatformEndpointFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::create_platform_endpoint::CreatePlatformEndpoint, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::create_platform_endpoint::CreatePlatformEndpointError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  PlatformApplicationArn returned from CreatePlatformApplication is used to create a an endpoint.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  pub fn platform_application_arn( mut self, diff --git a/sdk/sns/src/operation/create_sms_sandbox_phone_number/builders.rs b/sdk/sns/src/operation/create_sms_sandbox_phone_number/builders.rs index f59967af93ce..b74f14188e66 100644 --- a/sdk/sns/src/operation/create_sms_sandbox_phone_number/builders.rs +++ b/sdk/sns/src/operation/create_sms_sandbox_phone_number/builders.rs @@ -20,9 +20,9 @@ impl CreateSMSSandboxPhoneNumberFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -84,6 +84,22 @@ impl CreateSMSSandboxPhoneNumberFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::create_sms_sandbox_phone_number::CreateSMSSandboxPhoneNumber, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::create_sms_sandbox_phone_number::CreateSMSSandboxPhoneNumberError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  The destination phone number to verify. On verification, Amazon SNS adds this phone number to the list of verified phone numbers that you can send SMS messages to.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  pub fn phone_number(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.phone_number(input.into()); diff --git a/sdk/sns/src/operation/create_topic/builders.rs b/sdk/sns/src/operation/create_topic/builders.rs index 756adf987597..ae118c70bf12 100644 --- a/sdk/sns/src/operation/create_topic/builders.rs +++ b/sdk/sns/src/operation/create_topic/builders.rs @@ -19,9 +19,9 @@ impl CreateTopicFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl CreateTopicFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::create_topic::CreateTopic, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  The name of the topic you want to create.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  ///

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  Constraints: Topic names must be made up of only uppercase and lowercase ASCII letters, numbers, underscores, and hyphens, and must be between 1 and 256 characters long.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  ///

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  For a FIFO (first-in-first-out) topic, the name must end with the .fifo suffix.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  diff --git a/sdk/sns/src/operation/delete_endpoint/builders.rs b/sdk/sns/src/operation/delete_endpoint/builders.rs index 2261f787ce70..803d9f0caf71 100644 --- a/sdk/sns/src/operation/delete_endpoint/builders.rs +++ b/sdk/sns/src/operation/delete_endpoint/builders.rs @@ -20,9 +20,9 @@ impl DeleteEndpointFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -78,6 +78,20 @@ impl DeleteEndpointFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::delete_endpoint::DeleteEndpoint, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  EndpointArn of endpoint to delete.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  pub fn endpoint_arn(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.endpoint_arn(input.into()); diff --git a/sdk/sns/src/operation/delete_platform_application/builders.rs b/sdk/sns/src/operation/delete_platform_application/builders.rs index 7863313305e2..5292cb82042c 100644 --- a/sdk/sns/src/operation/delete_platform_application/builders.rs +++ b/sdk/sns/src/operation/delete_platform_application/builders.rs @@ -19,9 +19,9 @@ impl DeletePlatformApplicationFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl DeletePlatformApplicationFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::delete_platform_application::DeletePlatformApplication, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::delete_platform_application::DeletePlatformApplicationError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  PlatformApplicationArn of platform application object to delete.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  pub fn platform_application_arn( mut self, diff --git a/sdk/sns/src/operation/delete_sms_sandbox_phone_number/builders.rs b/sdk/sns/src/operation/delete_sms_sandbox_phone_number/builders.rs index 898e9d4536f3..268a0c0fe299 100644 --- a/sdk/sns/src/operation/delete_sms_sandbox_phone_number/builders.rs +++ b/sdk/sns/src/operation/delete_sms_sandbox_phone_number/builders.rs @@ -20,9 +20,9 @@ impl DeleteSMSSandboxPhoneNumberFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -84,6 +84,22 @@ impl DeleteSMSSandboxPhoneNumberFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::delete_sms_sandbox_phone_number::DeleteSMSSandboxPhoneNumber, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::delete_sms_sandbox_phone_number::DeleteSMSSandboxPhoneNumberError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  The destination phone number to delete.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  pub fn phone_number(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.phone_number(input.into()); diff --git a/sdk/sns/src/operation/delete_topic/builders.rs b/sdk/sns/src/operation/delete_topic/builders.rs index 493fdd470287..1e7988325d00 100644 --- a/sdk/sns/src/operation/delete_topic/builders.rs +++ b/sdk/sns/src/operation/delete_topic/builders.rs @@ -19,9 +19,9 @@ impl DeleteTopicFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl DeleteTopicFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::delete_topic::DeleteTopic, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  The ARN of the topic you want to delete.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  pub fn topic_arn(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.topic_arn(input.into()); diff --git a/sdk/sns/src/operation/get_data_protection_policy/builders.rs b/sdk/sns/src/operation/get_data_protection_policy/builders.rs index 29f0ff2b2ee4..24ade23a801b 100644 --- a/sdk/sns/src/operation/get_data_protection_policy/builders.rs +++ b/sdk/sns/src/operation/get_data_protection_policy/builders.rs @@ -20,9 +20,9 @@ impl GetDataProtectionPolicyFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -84,6 +84,22 @@ impl GetDataProtectionPolicyFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::get_data_protection_policy::GetDataProtectionPolicy, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::get_data_protection_policy::GetDataProtectionPolicyError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  The ARN of the topic whose DataProtectionPolicy you want to get.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  ///

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  For more information about ARNs, see Amazon Resource Names (ARNs) in the Amazon Web Services General Reference.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  pub fn resource_arn(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { diff --git a/sdk/sns/src/operation/get_endpoint_attributes/builders.rs b/sdk/sns/src/operation/get_endpoint_attributes/builders.rs index 941b0d76db76..bc3283077374 100644 --- a/sdk/sns/src/operation/get_endpoint_attributes/builders.rs +++ b/sdk/sns/src/operation/get_endpoint_attributes/builders.rs @@ -19,9 +19,9 @@ impl GetEndpointAttributesFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl GetEndpointAttributesFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::get_endpoint_attributes::GetEndpointAttributes, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::get_endpoint_attributes::GetEndpointAttributesError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  EndpointArn for GetEndpointAttributes input.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  pub fn endpoint_arn(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.endpoint_arn(input.into()); diff --git a/sdk/sns/src/operation/get_platform_application_attributes/builders.rs b/sdk/sns/src/operation/get_platform_application_attributes/builders.rs index 0a8b12c8a54e..c16970982d5c 100644 --- a/sdk/sns/src/operation/get_platform_application_attributes/builders.rs +++ b/sdk/sns/src/operation/get_platform_application_attributes/builders.rs @@ -19,9 +19,9 @@ impl GetPlatformApplicationAttributesFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize(self) -> ::std::result::Result< + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware(self) -> ::std::result::Result< crate::client::customize::CustomizableOperation, ::aws_smithy_http::result::SdkError >{ @@ -64,6 +64,15 @@ impl GetPlatformApplicationAttributesFluentBuilder { { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize(self) -> ::std::result::Result< + crate::client::customize::CustomizableOperation, + ::aws_smithy_http::result::SdkError + >{ + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  PlatformApplicationArn for GetPlatformApplicationAttributesInput.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  pub fn platform_application_arn( mut self, diff --git a/sdk/sns/src/operation/get_sms_attributes/builders.rs b/sdk/sns/src/operation/get_sms_attributes/builders.rs index 9f288f12b9c5..d8f385fe7c06 100644 --- a/sdk/sns/src/operation/get_sms_attributes/builders.rs +++ b/sdk/sns/src/operation/get_sms_attributes/builders.rs @@ -20,9 +20,9 @@ impl GetSMSAttributesFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -84,6 +84,22 @@ impl GetSMSAttributesFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::get_sms_attributes::GetSMSAttributes, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::get_sms_attributes::GetSMSAttributesError, + >, + > { + self.customize_middleware().await + } /// Appends an item to `attributes`. /// /// To override the contents of this collection use [`set_attributes`](Self::set_attributes). diff --git a/sdk/sns/src/operation/get_sms_sandbox_account_status/builders.rs b/sdk/sns/src/operation/get_sms_sandbox_account_status/builders.rs index fad38e36a016..4c6a2a657a56 100644 --- a/sdk/sns/src/operation/get_sms_sandbox_account_status/builders.rs +++ b/sdk/sns/src/operation/get_sms_sandbox_account_status/builders.rs @@ -20,9 +20,9 @@ impl GetSMSSandboxAccountStatusFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -84,4 +84,20 @@ impl GetSMSSandboxAccountStatusFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::get_sms_sandbox_account_status::GetSMSSandboxAccountStatus, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::get_sms_sandbox_account_status::GetSMSSandboxAccountStatusError, + >, + > { + self.customize_middleware().await + } } diff --git a/sdk/sns/src/operation/get_subscription_attributes/builders.rs b/sdk/sns/src/operation/get_subscription_attributes/builders.rs index cb9bf67c3cf8..a7344838bd77 100644 --- a/sdk/sns/src/operation/get_subscription_attributes/builders.rs +++ b/sdk/sns/src/operation/get_subscription_attributes/builders.rs @@ -19,9 +19,9 @@ impl GetSubscriptionAttributesFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl GetSubscriptionAttributesFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::get_subscription_attributes::GetSubscriptionAttributes, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::get_subscription_attributes::GetSubscriptionAttributesError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  The ARN of the subscription whose properties you want to get.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  pub fn subscription_arn( mut self, diff --git a/sdk/sns/src/operation/get_topic_attributes/builders.rs b/sdk/sns/src/operation/get_topic_attributes/builders.rs index b4c577516326..bfbebe6f8237 100644 --- a/sdk/sns/src/operation/get_topic_attributes/builders.rs +++ b/sdk/sns/src/operation/get_topic_attributes/builders.rs @@ -19,9 +19,9 @@ impl GetTopicAttributesFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl GetTopicAttributesFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::get_topic_attributes::GetTopicAttributes, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::get_topic_attributes::GetTopicAttributesError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  The ARN of the topic whose properties you want to get.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  pub fn topic_arn(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.topic_arn(input.into()); diff --git a/sdk/sns/src/operation/list_endpoints_by_platform_application/builders.rs b/sdk/sns/src/operation/list_endpoints_by_platform_application/builders.rs index e96245727034..80e543e9b424 100644 --- a/sdk/sns/src/operation/list_endpoints_by_platform_application/builders.rs +++ b/sdk/sns/src/operation/list_endpoints_by_platform_application/builders.rs @@ -20,9 +20,9 @@ impl ListEndpointsByPlatformApplicationFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize(self) -> ::std::result::Result< + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware(self) -> ::std::result::Result< crate::client::customize::CustomizableOperation, ::aws_smithy_http::result::SdkError >{ @@ -65,6 +65,15 @@ impl ListEndpointsByPlatformApplicationFluentBuilder { { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize(self) -> ::std::result::Result< + crate::client::customize::CustomizableOperation, + ::aws_smithy_http::result::SdkError + >{ + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::list_endpoints_by_platform_application::paginator::ListEndpointsByPlatformApplicationPaginator::send) which returns a `Stream`. diff --git a/sdk/sns/src/operation/list_origination_numbers/builders.rs b/sdk/sns/src/operation/list_origination_numbers/builders.rs index fc3bae2dd119..e2bef598ff3a 100644 --- a/sdk/sns/src/operation/list_origination_numbers/builders.rs +++ b/sdk/sns/src/operation/list_origination_numbers/builders.rs @@ -19,9 +19,9 @@ impl ListOriginationNumbersFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl ListOriginationNumbersFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_origination_numbers::ListOriginationNumbers, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::list_origination_numbers::ListOriginationNumbersError, + >, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::list_origination_numbers::paginator::ListOriginationNumbersPaginator::send) which returns a `Stream`. diff --git a/sdk/sns/src/operation/list_phone_numbers_opted_out/builders.rs b/sdk/sns/src/operation/list_phone_numbers_opted_out/builders.rs index 02a6314df650..d2c49e689d52 100644 --- a/sdk/sns/src/operation/list_phone_numbers_opted_out/builders.rs +++ b/sdk/sns/src/operation/list_phone_numbers_opted_out/builders.rs @@ -20,9 +20,9 @@ impl ListPhoneNumbersOptedOutFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -84,6 +84,22 @@ impl ListPhoneNumbersOptedOutFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_phone_numbers_opted_out::ListPhoneNumbersOptedOut, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::list_phone_numbers_opted_out::ListPhoneNumbersOptedOutError, + >, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::list_phone_numbers_opted_out::paginator::ListPhoneNumbersOptedOutPaginator::send) which returns a `Stream`. diff --git a/sdk/sns/src/operation/list_platform_applications/builders.rs b/sdk/sns/src/operation/list_platform_applications/builders.rs index fc16defac811..1fb7e7632b26 100644 --- a/sdk/sns/src/operation/list_platform_applications/builders.rs +++ b/sdk/sns/src/operation/list_platform_applications/builders.rs @@ -20,9 +20,9 @@ impl ListPlatformApplicationsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -84,6 +84,22 @@ impl ListPlatformApplicationsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_platform_applications::ListPlatformApplications, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::list_platform_applications::ListPlatformApplicationsError, + >, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::list_platform_applications::paginator::ListPlatformApplicationsPaginator::send) which returns a `Stream`. diff --git a/sdk/sns/src/operation/list_sms_sandbox_phone_numbers/builders.rs b/sdk/sns/src/operation/list_sms_sandbox_phone_numbers/builders.rs index 9d2f255c4907..e3dcd7d7cba7 100644 --- a/sdk/sns/src/operation/list_sms_sandbox_phone_numbers/builders.rs +++ b/sdk/sns/src/operation/list_sms_sandbox_phone_numbers/builders.rs @@ -20,9 +20,9 @@ impl ListSMSSandboxPhoneNumbersFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -84,6 +84,22 @@ impl ListSMSSandboxPhoneNumbersFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_sms_sandbox_phone_numbers::ListSMSSandboxPhoneNumbers, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::list_sms_sandbox_phone_numbers::ListSMSSandboxPhoneNumbersError, + >, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::list_sms_sandbox_phone_numbers::paginator::ListSmsSandboxPhoneNumbersPaginator::send) which returns a `Stream`. diff --git a/sdk/sns/src/operation/list_subscriptions/builders.rs b/sdk/sns/src/operation/list_subscriptions/builders.rs index d33ce89ae7fd..72b679376bc0 100644 --- a/sdk/sns/src/operation/list_subscriptions/builders.rs +++ b/sdk/sns/src/operation/list_subscriptions/builders.rs @@ -20,9 +20,9 @@ impl ListSubscriptionsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -84,6 +84,22 @@ impl ListSubscriptionsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_subscriptions::ListSubscriptions, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::list_subscriptions::ListSubscriptionsError, + >, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::list_subscriptions::paginator::ListSubscriptionsPaginator::send) which returns a `Stream`. diff --git a/sdk/sns/src/operation/list_subscriptions_by_topic/builders.rs b/sdk/sns/src/operation/list_subscriptions_by_topic/builders.rs index a137781e53e9..c6f27ee57cc2 100644 --- a/sdk/sns/src/operation/list_subscriptions_by_topic/builders.rs +++ b/sdk/sns/src/operation/list_subscriptions_by_topic/builders.rs @@ -20,9 +20,9 @@ impl ListSubscriptionsByTopicFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -84,6 +84,22 @@ impl ListSubscriptionsByTopicFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_subscriptions_by_topic::ListSubscriptionsByTopic, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::list_subscriptions_by_topic::ListSubscriptionsByTopicError, + >, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::list_subscriptions_by_topic::paginator::ListSubscriptionsByTopicPaginator::send) which returns a `Stream`. diff --git a/sdk/sns/src/operation/list_tags_for_resource/builders.rs b/sdk/sns/src/operation/list_tags_for_resource/builders.rs index b74f3da66664..9ecd694612f6 100644 --- a/sdk/sns/src/operation/list_tags_for_resource/builders.rs +++ b/sdk/sns/src/operation/list_tags_for_resource/builders.rs @@ -19,9 +19,9 @@ impl ListTagsForResourceFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl ListTagsForResourceFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_tags_for_resource::ListTagsForResource, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::list_tags_for_resource::ListTagsForResourceError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  The ARN of the topic for which to list tags.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  pub fn resource_arn(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.resource_arn(input.into()); diff --git a/sdk/sns/src/operation/list_topics/builders.rs b/sdk/sns/src/operation/list_topics/builders.rs index c8b28b14f84c..465ab0666bed 100644 --- a/sdk/sns/src/operation/list_topics/builders.rs +++ b/sdk/sns/src/operation/list_topics/builders.rs @@ -20,9 +20,9 @@ impl ListTopicsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -78,6 +78,20 @@ impl ListTopicsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_topics::ListTopics, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::list_topics::paginator::ListTopicsPaginator::send) which returns a `Stream`. diff --git a/sdk/sns/src/operation/opt_in_phone_number/builders.rs b/sdk/sns/src/operation/opt_in_phone_number/builders.rs index 931d01e645b3..4dc4ae73d3a2 100644 --- a/sdk/sns/src/operation/opt_in_phone_number/builders.rs +++ b/sdk/sns/src/operation/opt_in_phone_number/builders.rs @@ -20,9 +20,9 @@ impl OptInPhoneNumberFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -84,6 +84,22 @@ impl OptInPhoneNumberFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::opt_in_phone_number::OptInPhoneNumber, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::opt_in_phone_number::OptInPhoneNumberError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  The phone number to opt in. Use E.164 format.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  pub fn phone_number(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.phone_number(input.into()); diff --git a/sdk/sns/src/operation/publish/builders.rs b/sdk/sns/src/operation/publish/builders.rs index 88da11af3cbd..b569caa5967c 100644 --- a/sdk/sns/src/operation/publish/builders.rs +++ b/sdk/sns/src/operation/publish/builders.rs @@ -25,9 +25,9 @@ impl PublishFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,20 @@ impl PublishFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::publish::Publish, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  The topic you want to publish to.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  ///

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  If you don't specify a value for the TopicArn parameter, you must specify a value for the PhoneNumber or TargetArn parameters.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  pub fn topic_arn(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { diff --git a/sdk/sns/src/operation/publish_batch/builders.rs b/sdk/sns/src/operation/publish_batch/builders.rs index b87fd67eaf76..8107418bc88c 100644 --- a/sdk/sns/src/operation/publish_batch/builders.rs +++ b/sdk/sns/src/operation/publish_batch/builders.rs @@ -26,9 +26,9 @@ impl PublishBatchFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -84,6 +84,20 @@ impl PublishBatchFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::publish_batch::PublishBatch, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  The Amazon resource name (ARN) of the topic you want to batch publish to.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  pub fn topic_arn(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.topic_arn(input.into()); diff --git a/sdk/sns/src/operation/put_data_protection_policy/builders.rs b/sdk/sns/src/operation/put_data_protection_policy/builders.rs index 204c26a23bfa..0df889b0fa07 100644 --- a/sdk/sns/src/operation/put_data_protection_policy/builders.rs +++ b/sdk/sns/src/operation/put_data_protection_policy/builders.rs @@ -20,9 +20,9 @@ impl PutDataProtectionPolicyFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -84,6 +84,22 @@ impl PutDataProtectionPolicyFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::put_data_protection_policy::PutDataProtectionPolicy, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::put_data_protection_policy::PutDataProtectionPolicyError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  The ARN of the topic whose DataProtectionPolicy you want to add or update.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  ///

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  For more information about ARNs, see Amazon Resource Names (ARNs) in the Amazon Web Services General Reference.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  pub fn resource_arn(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { diff --git a/sdk/sns/src/operation/remove_permission/builders.rs b/sdk/sns/src/operation/remove_permission/builders.rs index 1362313c1771..449fb2ecfc77 100644 --- a/sdk/sns/src/operation/remove_permission/builders.rs +++ b/sdk/sns/src/operation/remove_permission/builders.rs @@ -21,9 +21,9 @@ impl RemovePermissionFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -85,6 +85,22 @@ impl RemovePermissionFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::remove_permission::RemovePermission, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::remove_permission::RemovePermissionError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  The ARN of the topic whose access control policy you wish to modify.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  pub fn topic_arn(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.topic_arn(input.into()); diff --git a/sdk/sns/src/operation/set_endpoint_attributes/builders.rs b/sdk/sns/src/operation/set_endpoint_attributes/builders.rs index 04bd6a7f5f18..f9ab2ca08c8d 100644 --- a/sdk/sns/src/operation/set_endpoint_attributes/builders.rs +++ b/sdk/sns/src/operation/set_endpoint_attributes/builders.rs @@ -19,9 +19,9 @@ impl SetEndpointAttributesFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl SetEndpointAttributesFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::set_endpoint_attributes::SetEndpointAttributes, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::set_endpoint_attributes::SetEndpointAttributesError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  EndpointArn used for SetEndpointAttributes action.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  pub fn endpoint_arn(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.endpoint_arn(input.into()); diff --git a/sdk/sns/src/operation/set_platform_application_attributes/builders.rs b/sdk/sns/src/operation/set_platform_application_attributes/builders.rs index 2d606f40f26b..e6bf82461d8a 100644 --- a/sdk/sns/src/operation/set_platform_application_attributes/builders.rs +++ b/sdk/sns/src/operation/set_platform_application_attributes/builders.rs @@ -19,9 +19,9 @@ impl SetPlatformApplicationAttributesFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize(self) -> ::std::result::Result< + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware(self) -> ::std::result::Result< crate::client::customize::CustomizableOperation, ::aws_smithy_http::result::SdkError >{ @@ -64,6 +64,15 @@ impl SetPlatformApplicationAttributesFluentBuilder { { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize(self) -> ::std::result::Result< + crate::client::customize::CustomizableOperation, + ::aws_smithy_http::result::SdkError + >{ + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  PlatformApplicationArn for SetPlatformApplicationAttributes action.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  pub fn platform_application_arn( mut self, diff --git a/sdk/sns/src/operation/set_sms_attributes/builders.rs b/sdk/sns/src/operation/set_sms_attributes/builders.rs index dfe6846660cf..9fbf5e99ebba 100644 --- a/sdk/sns/src/operation/set_sms_attributes/builders.rs +++ b/sdk/sns/src/operation/set_sms_attributes/builders.rs @@ -22,9 +22,9 @@ impl SetSMSAttributesFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -86,6 +86,22 @@ impl SetSMSAttributesFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::set_sms_attributes::SetSMSAttributes, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::set_sms_attributes::SetSMSAttributesError, + >, + > { + self.customize_middleware().await + } /// Adds a key-value pair to `attributes`. /// /// To override the contents of this collection use [`set_attributes`](Self::set_attributes). diff --git a/sdk/sns/src/operation/set_subscription_attributes/builders.rs b/sdk/sns/src/operation/set_subscription_attributes/builders.rs index a197d9dcfa85..1255a5a4c59c 100644 --- a/sdk/sns/src/operation/set_subscription_attributes/builders.rs +++ b/sdk/sns/src/operation/set_subscription_attributes/builders.rs @@ -19,9 +19,9 @@ impl SetSubscriptionAttributesFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl SetSubscriptionAttributesFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::set_subscription_attributes::SetSubscriptionAttributes, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::set_subscription_attributes::SetSubscriptionAttributesError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  The ARN of the subscription to modify.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  pub fn subscription_arn( mut self, diff --git a/sdk/sns/src/operation/set_topic_attributes/builders.rs b/sdk/sns/src/operation/set_topic_attributes/builders.rs index 1c3cee587972..17aa084bef2e 100644 --- a/sdk/sns/src/operation/set_topic_attributes/builders.rs +++ b/sdk/sns/src/operation/set_topic_attributes/builders.rs @@ -21,9 +21,9 @@ impl SetTopicAttributesFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -85,6 +85,22 @@ impl SetTopicAttributesFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::set_topic_attributes::SetTopicAttributes, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::set_topic_attributes::SetTopicAttributesError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  The ARN of the topic to modify.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  pub fn topic_arn(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.topic_arn(input.into()); diff --git a/sdk/sns/src/operation/subscribe/builders.rs b/sdk/sns/src/operation/subscribe/builders.rs index 0942581dd393..53a0ce225581 100644 --- a/sdk/sns/src/operation/subscribe/builders.rs +++ b/sdk/sns/src/operation/subscribe/builders.rs @@ -21,9 +21,9 @@ impl SubscribeFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -79,6 +79,20 @@ impl SubscribeFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::subscribe::Subscribe, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  The ARN of the topic you want to subscribe to.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  pub fn topic_arn(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.topic_arn(input.into()); diff --git a/sdk/sns/src/operation/tag_resource/builders.rs b/sdk/sns/src/operation/tag_resource/builders.rs index 1ac296560475..390518bb93a5 100644 --- a/sdk/sns/src/operation/tag_resource/builders.rs +++ b/sdk/sns/src/operation/tag_resource/builders.rs @@ -27,9 +27,9 @@ impl TagResourceFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -85,6 +85,20 @@ impl TagResourceFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::tag_resource::TagResource, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  The ARN of the topic to which to add tags.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  pub fn resource_arn(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.resource_arn(input.into()); diff --git a/sdk/sns/src/operation/unsubscribe/builders.rs b/sdk/sns/src/operation/unsubscribe/builders.rs index 4556e220edf0..5bb8e2b6a9f6 100644 --- a/sdk/sns/src/operation/unsubscribe/builders.rs +++ b/sdk/sns/src/operation/unsubscribe/builders.rs @@ -22,9 +22,9 @@ impl UnsubscribeFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -80,6 +80,20 @@ impl UnsubscribeFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::unsubscribe::Unsubscribe, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  The ARN of the subscription to be deleted.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  pub fn subscription_arn( mut self, diff --git a/sdk/sns/src/operation/untag_resource/builders.rs b/sdk/sns/src/operation/untag_resource/builders.rs index c40413bf82e4..444d799b71a1 100644 --- a/sdk/sns/src/operation/untag_resource/builders.rs +++ b/sdk/sns/src/operation/untag_resource/builders.rs @@ -19,9 +19,9 @@ impl UntagResourceFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl UntagResourceFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::untag_resource::UntagResource, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  The ARN of the topic from which to remove tags.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  pub fn resource_arn(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.resource_arn(input.into()); diff --git a/sdk/sns/src/operation/verify_sms_sandbox_phone_number/builders.rs b/sdk/sns/src/operation/verify_sms_sandbox_phone_number/builders.rs index f50795b5610d..488777ecb6e6 100644 --- a/sdk/sns/src/operation/verify_sms_sandbox_phone_number/builders.rs +++ b/sdk/sns/src/operation/verify_sms_sandbox_phone_number/builders.rs @@ -20,9 +20,9 @@ impl VerifySMSSandboxPhoneNumberFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -84,6 +84,22 @@ impl VerifySMSSandboxPhoneNumberFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::verify_sms_sandbox_phone_number::VerifySMSSandboxPhoneNumber, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::verify_sms_sandbox_phone_number::VerifySMSSandboxPhoneNumberError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  The destination phone number to verify.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  pub fn phone_number(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.phone_number(input.into()); diff --git a/sdk/sqs/src/operation/add_permission/builders.rs b/sdk/sqs/src/operation/add_permission/builders.rs index 02f6443bd4b0..b30c26c429a2 100644 --- a/sdk/sqs/src/operation/add_permission/builders.rs +++ b/sdk/sqs/src/operation/add_permission/builders.rs @@ -31,9 +31,9 @@ impl AddPermissionFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -89,6 +89,20 @@ impl AddPermissionFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::add_permission::AddPermission, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  The URL of the Amazon SQS queue to which permissions are added.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  ///

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  Queue URLs and names are case-sensitive.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  pub fn queue_url(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { diff --git a/sdk/sqs/src/operation/change_message_visibility/builders.rs b/sdk/sqs/src/operation/change_message_visibility/builders.rs index aa041520f49d..142dfcf958ba 100644 --- a/sdk/sqs/src/operation/change_message_visibility/builders.rs +++ b/sdk/sqs/src/operation/change_message_visibility/builders.rs @@ -34,9 +34,9 @@ impl ChangeMessageVisibilityFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -98,6 +98,22 @@ impl ChangeMessageVisibilityFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::change_message_visibility::ChangeMessageVisibility, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::change_message_visibility::ChangeMessageVisibilityError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  The URL of the Amazon SQS queue whose message's visibility is changed.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  ///

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  Queue URLs and names are case-sensitive.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  pub fn queue_url(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { diff --git a/sdk/sqs/src/operation/change_message_visibility_batch/builders.rs b/sdk/sqs/src/operation/change_message_visibility_batch/builders.rs index ca2940007af3..58711527d97d 100644 --- a/sdk/sqs/src/operation/change_message_visibility_batch/builders.rs +++ b/sdk/sqs/src/operation/change_message_visibility_batch/builders.rs @@ -24,9 +24,9 @@ impl ChangeMessageVisibilityBatchFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -88,6 +88,22 @@ impl ChangeMessageVisibilityBatchFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::change_message_visibility_batch::ChangeMessageVisibilityBatch, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::change_message_visibility_batch::ChangeMessageVisibilityBatchError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  The URL of the Amazon SQS queue whose messages' visibility is changed.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  ///

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  Queue URLs and names are case-sensitive.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  pub fn queue_url(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { diff --git a/sdk/sqs/src/operation/create_queue/builders.rs b/sdk/sqs/src/operation/create_queue/builders.rs index 2e5db152fcac..2950eb4ed788 100644 --- a/sdk/sqs/src/operation/create_queue/builders.rs +++ b/sdk/sqs/src/operation/create_queue/builders.rs @@ -39,9 +39,9 @@ impl CreateQueueFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -97,6 +97,20 @@ impl CreateQueueFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::create_queue::CreateQueue, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  The name of the new queue. The following limits apply to this name:

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  ///
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    ///
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  • A queue name can have up to 80 characters.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  • diff --git a/sdk/sqs/src/operation/delete_message/builders.rs b/sdk/sqs/src/operation/delete_message/builders.rs index 49b7b47f8a80..b15fabdbe6f4 100644 --- a/sdk/sqs/src/operation/delete_message/builders.rs +++ b/sdk/sqs/src/operation/delete_message/builders.rs @@ -22,9 +22,9 @@ impl DeleteMessageFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -80,6 +80,20 @@ impl DeleteMessageFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::delete_message::DeleteMessage, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    The URL of the Amazon SQS queue from which messages are deleted.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    ///

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    Queue URLs and names are case-sensitive.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    pub fn queue_url(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { diff --git a/sdk/sqs/src/operation/delete_message_batch/builders.rs b/sdk/sqs/src/operation/delete_message_batch/builders.rs index f55f72f8f192..ab58e30effd7 100644 --- a/sdk/sqs/src/operation/delete_message_batch/builders.rs +++ b/sdk/sqs/src/operation/delete_message_batch/builders.rs @@ -24,9 +24,9 @@ impl DeleteMessageBatchFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -88,6 +88,22 @@ impl DeleteMessageBatchFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::delete_message_batch::DeleteMessageBatch, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::delete_message_batch::DeleteMessageBatchError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    The URL of the Amazon SQS queue from which messages are deleted.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    ///

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    Queue URLs and names are case-sensitive.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    pub fn queue_url(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { diff --git a/sdk/sqs/src/operation/delete_queue/builders.rs b/sdk/sqs/src/operation/delete_queue/builders.rs index 03a59e8a4fd3..e94270eb8957 100644 --- a/sdk/sqs/src/operation/delete_queue/builders.rs +++ b/sdk/sqs/src/operation/delete_queue/builders.rs @@ -25,9 +25,9 @@ impl DeleteQueueFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,20 @@ impl DeleteQueueFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::delete_queue::DeleteQueue, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    The URL of the Amazon SQS queue to delete.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    ///

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    Queue URLs and names are case-sensitive.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    pub fn queue_url(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { diff --git a/sdk/sqs/src/operation/get_queue_attributes/builders.rs b/sdk/sqs/src/operation/get_queue_attributes/builders.rs index 0fba773193bd..75b8b74f24f3 100644 --- a/sdk/sqs/src/operation/get_queue_attributes/builders.rs +++ b/sdk/sqs/src/operation/get_queue_attributes/builders.rs @@ -21,9 +21,9 @@ impl GetQueueAttributesFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -85,6 +85,22 @@ impl GetQueueAttributesFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::get_queue_attributes::GetQueueAttributes, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::get_queue_attributes::GetQueueAttributesError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    The URL of the Amazon SQS queue whose attribute information is retrieved.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    ///

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    Queue URLs and names are case-sensitive.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    pub fn queue_url(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { diff --git a/sdk/sqs/src/operation/get_queue_url/builders.rs b/sdk/sqs/src/operation/get_queue_url/builders.rs index 2a84fde3e517..803a5b5148bd 100644 --- a/sdk/sqs/src/operation/get_queue_url/builders.rs +++ b/sdk/sqs/src/operation/get_queue_url/builders.rs @@ -20,9 +20,9 @@ impl GetQueueUrlFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -78,6 +78,20 @@ impl GetQueueUrlFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::get_queue_url::GetQueueUrl, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    The name of the queue whose URL must be fetched. Maximum 80 characters. Valid values: alphanumeric characters, hyphens (-), and underscores (_).

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    ///

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    Queue URLs and names are case-sensitive.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    pub fn queue_name(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { diff --git a/sdk/sqs/src/operation/list_dead_letter_source_queues/builders.rs b/sdk/sqs/src/operation/list_dead_letter_source_queues/builders.rs index 1658779839dc..022ec6a796d6 100644 --- a/sdk/sqs/src/operation/list_dead_letter_source_queues/builders.rs +++ b/sdk/sqs/src/operation/list_dead_letter_source_queues/builders.rs @@ -21,9 +21,9 @@ impl ListDeadLetterSourceQueuesFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -85,6 +85,22 @@ impl ListDeadLetterSourceQueuesFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_dead_letter_source_queues::ListDeadLetterSourceQueues, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::list_dead_letter_source_queues::ListDeadLetterSourceQueuesError, + >, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::list_dead_letter_source_queues::paginator::ListDeadLetterSourceQueuesPaginator::send) which returns a `Stream`. diff --git a/sdk/sqs/src/operation/list_queue_tags/builders.rs b/sdk/sqs/src/operation/list_queue_tags/builders.rs index 86e699d30574..7d14fb452b93 100644 --- a/sdk/sqs/src/operation/list_queue_tags/builders.rs +++ b/sdk/sqs/src/operation/list_queue_tags/builders.rs @@ -21,9 +21,9 @@ impl ListQueueTagsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -79,6 +79,20 @@ impl ListQueueTagsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_queue_tags::ListQueueTags, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    The URL of the queue.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    pub fn queue_url(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.queue_url(input.into()); diff --git a/sdk/sqs/src/operation/list_queues/builders.rs b/sdk/sqs/src/operation/list_queues/builders.rs index e2fb07d0b32a..3128032deb70 100644 --- a/sdk/sqs/src/operation/list_queues/builders.rs +++ b/sdk/sqs/src/operation/list_queues/builders.rs @@ -22,9 +22,9 @@ impl ListQueuesFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -80,6 +80,20 @@ impl ListQueuesFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_queues::ListQueues, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::list_queues::paginator::ListQueuesPaginator::send) which returns a `Stream`. diff --git a/sdk/sqs/src/operation/purge_queue/builders.rs b/sdk/sqs/src/operation/purge_queue/builders.rs index 0ef5e5150d9e..642f5f82bcd7 100644 --- a/sdk/sqs/src/operation/purge_queue/builders.rs +++ b/sdk/sqs/src/operation/purge_queue/builders.rs @@ -24,9 +24,9 @@ impl PurgeQueueFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -82,6 +82,20 @@ impl PurgeQueueFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::purge_queue::PurgeQueue, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    The URL of the queue from which the PurgeQueue action deletes messages.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    ///

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    Queue URLs and names are case-sensitive.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    pub fn queue_url(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { diff --git a/sdk/sqs/src/operation/receive_message/builders.rs b/sdk/sqs/src/operation/receive_message/builders.rs index 9db3d9233cb9..17ec7cfc69cb 100644 --- a/sdk/sqs/src/operation/receive_message/builders.rs +++ b/sdk/sqs/src/operation/receive_message/builders.rs @@ -34,9 +34,9 @@ impl ReceiveMessageFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -92,6 +92,20 @@ impl ReceiveMessageFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::receive_message::ReceiveMessage, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    The URL of the Amazon SQS queue from which messages are received.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    ///

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    Queue URLs and names are case-sensitive.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    pub fn queue_url(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { diff --git a/sdk/sqs/src/operation/remove_permission/builders.rs b/sdk/sqs/src/operation/remove_permission/builders.rs index d413c76de2a6..e70cadeff276 100644 --- a/sdk/sqs/src/operation/remove_permission/builders.rs +++ b/sdk/sqs/src/operation/remove_permission/builders.rs @@ -25,9 +25,9 @@ impl RemovePermissionFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -89,6 +89,22 @@ impl RemovePermissionFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::remove_permission::RemovePermission, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::remove_permission::RemovePermissionError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    The URL of the Amazon SQS queue from which permissions are removed.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    ///

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    Queue URLs and names are case-sensitive.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    pub fn queue_url(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { diff --git a/sdk/sqs/src/operation/send_message/builders.rs b/sdk/sqs/src/operation/send_message/builders.rs index 12b0d7060c8c..7befee5002c8 100644 --- a/sdk/sqs/src/operation/send_message/builders.rs +++ b/sdk/sqs/src/operation/send_message/builders.rs @@ -23,9 +23,9 @@ impl SendMessageFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -81,6 +81,20 @@ impl SendMessageFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::send_message::SendMessage, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    The URL of the Amazon SQS queue to which a message is sent.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    ///

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    Queue URLs and names are case-sensitive.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    pub fn queue_url(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { diff --git a/sdk/sqs/src/operation/send_message_batch/builders.rs b/sdk/sqs/src/operation/send_message_batch/builders.rs index c42f123abda6..18ad874451d5 100644 --- a/sdk/sqs/src/operation/send_message_batch/builders.rs +++ b/sdk/sqs/src/operation/send_message_batch/builders.rs @@ -29,9 +29,9 @@ impl SendMessageBatchFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -93,6 +93,22 @@ impl SendMessageBatchFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::send_message_batch::SendMessageBatch, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::send_message_batch::SendMessageBatchError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    The URL of the Amazon SQS queue to which batched messages are sent.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    ///

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    Queue URLs and names are case-sensitive.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    pub fn queue_url(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { diff --git a/sdk/sqs/src/operation/set_queue_attributes/builders.rs b/sdk/sqs/src/operation/set_queue_attributes/builders.rs index f10c6f44ea5c..e3edcc74497d 100644 --- a/sdk/sqs/src/operation/set_queue_attributes/builders.rs +++ b/sdk/sqs/src/operation/set_queue_attributes/builders.rs @@ -25,9 +25,9 @@ impl SetQueueAttributesFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -89,6 +89,22 @@ impl SetQueueAttributesFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::set_queue_attributes::SetQueueAttributes, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::set_queue_attributes::SetQueueAttributesError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    The URL of the Amazon SQS queue whose attributes are set.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    ///

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    Queue URLs and names are case-sensitive.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    pub fn queue_url(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { diff --git a/sdk/sqs/src/operation/tag_queue/builders.rs b/sdk/sqs/src/operation/tag_queue/builders.rs index ffdac86185f7..d9b9a845af89 100644 --- a/sdk/sqs/src/operation/tag_queue/builders.rs +++ b/sdk/sqs/src/operation/tag_queue/builders.rs @@ -29,9 +29,9 @@ impl TagQueueFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -87,6 +87,20 @@ impl TagQueueFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::tag_queue::TagQueue, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    The URL of the queue.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    pub fn queue_url(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.queue_url(input.into()); diff --git a/sdk/sqs/src/operation/untag_queue/builders.rs b/sdk/sqs/src/operation/untag_queue/builders.rs index 5aff3690fd9d..3c4a03967e28 100644 --- a/sdk/sqs/src/operation/untag_queue/builders.rs +++ b/sdk/sqs/src/operation/untag_queue/builders.rs @@ -21,9 +21,9 @@ impl UntagQueueFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -79,6 +79,20 @@ impl UntagQueueFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::untag_queue::UntagQueue, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    The URL of the queue.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    pub fn queue_url(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.queue_url(input.into()); diff --git a/sdk/ssm/src/operation/add_tags_to_resource/builders.rs b/sdk/ssm/src/operation/add_tags_to_resource/builders.rs index 0401d552943f..9f6b4ab88b49 100644 --- a/sdk/ssm/src/operation/add_tags_to_resource/builders.rs +++ b/sdk/ssm/src/operation/add_tags_to_resource/builders.rs @@ -30,9 +30,9 @@ impl AddTagsToResourceFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -94,6 +94,22 @@ impl AddTagsToResourceFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::add_tags_to_resource::AddTagsToResource, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::add_tags_to_resource::AddTagsToResourceError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    Specifies the type of resource you are tagging.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    ///

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    The ManagedInstance type for this API operation is for on-premises managed nodes. You must specify the name of the managed node in the following format: mi-ID_number . For example, mi-1a2b3c4d5e6f.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    ///
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    diff --git a/sdk/ssm/src/operation/associate_ops_item_related_item/builders.rs b/sdk/ssm/src/operation/associate_ops_item_related_item/builders.rs index b8130a9df49a..7d8ee3ddeb6d 100644 --- a/sdk/ssm/src/operation/associate_ops_item_related_item/builders.rs +++ b/sdk/ssm/src/operation/associate_ops_item_related_item/builders.rs @@ -19,9 +19,9 @@ impl AssociateOpsItemRelatedItemFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl AssociateOpsItemRelatedItemFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::associate_ops_item_related_item::AssociateOpsItemRelatedItem, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::associate_ops_item_related_item::AssociateOpsItemRelatedItemError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    The ID of the OpsItem to which you want to associate a resource as a related item.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    pub fn ops_item_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.ops_item_id(input.into()); diff --git a/sdk/ssm/src/operation/cancel_command/builders.rs b/sdk/ssm/src/operation/cancel_command/builders.rs index f3403e7998b4..8786e21f1ce2 100644 --- a/sdk/ssm/src/operation/cancel_command/builders.rs +++ b/sdk/ssm/src/operation/cancel_command/builders.rs @@ -19,9 +19,9 @@ impl CancelCommandFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl CancelCommandFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::cancel_command::CancelCommand, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    The ID of the command you want to cancel.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    pub fn command_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.command_id(input.into()); diff --git a/sdk/ssm/src/operation/cancel_maintenance_window_execution/builders.rs b/sdk/ssm/src/operation/cancel_maintenance_window_execution/builders.rs index a6f94053dce4..4bf9bb35ab78 100644 --- a/sdk/ssm/src/operation/cancel_maintenance_window_execution/builders.rs +++ b/sdk/ssm/src/operation/cancel_maintenance_window_execution/builders.rs @@ -19,9 +19,9 @@ impl CancelMaintenanceWindowExecutionFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize(self) -> ::std::result::Result< + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware(self) -> ::std::result::Result< crate::client::customize::CustomizableOperation, ::aws_smithy_http::result::SdkError >{ @@ -64,6 +64,15 @@ impl CancelMaintenanceWindowExecutionFluentBuilder { { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize(self) -> ::std::result::Result< + crate::client::customize::CustomizableOperation, + ::aws_smithy_http::result::SdkError + >{ + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    The ID of the maintenance window execution to stop.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    pub fn window_execution_id( mut self, diff --git a/sdk/ssm/src/operation/create_activation/builders.rs b/sdk/ssm/src/operation/create_activation/builders.rs index 3f550f02175e..c22bd7f1fd6b 100644 --- a/sdk/ssm/src/operation/create_activation/builders.rs +++ b/sdk/ssm/src/operation/create_activation/builders.rs @@ -21,9 +21,9 @@ impl CreateActivationFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -85,6 +85,22 @@ impl CreateActivationFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::create_activation::CreateActivation, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::create_activation::CreateActivationError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    A user-defined description of the resource that you want to register with Systems Manager.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    ///

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    Don't enter personally identifiable information in this field.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    ///
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    diff --git a/sdk/ssm/src/operation/create_association/builders.rs b/sdk/ssm/src/operation/create_association/builders.rs index 4932e355edbd..3f9652607312 100644 --- a/sdk/ssm/src/operation/create_association/builders.rs +++ b/sdk/ssm/src/operation/create_association/builders.rs @@ -19,9 +19,9 @@ impl CreateAssociationFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl CreateAssociationFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::create_association::CreateAssociation, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::create_association::CreateAssociationError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    The name of the SSM Command document or Automation runbook that contains the configuration information for the managed node.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    ///

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    You can specify Amazon Web Services-predefined documents, documents you created, or a document that is shared with you from another Amazon Web Services account.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    ///

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    For Systems Manager documents (SSM documents) that are shared with you from other Amazon Web Services accounts, you must specify the complete SSM document ARN, in the following format:

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    diff --git a/sdk/ssm/src/operation/create_association_batch/builders.rs b/sdk/ssm/src/operation/create_association_batch/builders.rs index e750ffddcbcf..16e550aa8646 100644 --- a/sdk/ssm/src/operation/create_association_batch/builders.rs +++ b/sdk/ssm/src/operation/create_association_batch/builders.rs @@ -21,9 +21,9 @@ impl CreateAssociationBatchFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -85,6 +85,22 @@ impl CreateAssociationBatchFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::create_association_batch::CreateAssociationBatch, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::create_association_batch::CreateAssociationBatchError, + >, + > { + self.customize_middleware().await + } /// Appends an item to `Entries`. /// /// To override the contents of this collection use [`set_entries`](Self::set_entries). diff --git a/sdk/ssm/src/operation/create_document/builders.rs b/sdk/ssm/src/operation/create_document/builders.rs index e37ecd586f76..494dcc71b05b 100644 --- a/sdk/ssm/src/operation/create_document/builders.rs +++ b/sdk/ssm/src/operation/create_document/builders.rs @@ -19,9 +19,9 @@ impl CreateDocumentFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl CreateDocumentFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::create_document::CreateDocument, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    The content for the new SSM document in JSON or YAML format. The content of the document must not exceed 64KB. This quota also includes the content specified for input parameters at runtime. We recommend storing the contents for your new document in an external JSON or YAML file and referencing the file in a command.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    ///

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    For examples, see the following topics in the Amazon Web Services Systems Manager User Guide.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    ///
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      diff --git a/sdk/ssm/src/operation/create_maintenance_window/builders.rs b/sdk/ssm/src/operation/create_maintenance_window/builders.rs index a29b9528d58e..d7edb7afa694 100644 --- a/sdk/ssm/src/operation/create_maintenance_window/builders.rs +++ b/sdk/ssm/src/operation/create_maintenance_window/builders.rs @@ -22,9 +22,9 @@ impl CreateMaintenanceWindowFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -86,6 +86,22 @@ impl CreateMaintenanceWindowFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::create_maintenance_window::CreateMaintenanceWindow, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::create_maintenance_window::CreateMaintenanceWindowError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      The name of the maintenance window.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      pub fn name(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.name(input.into()); diff --git a/sdk/ssm/src/operation/create_ops_item/builders.rs b/sdk/ssm/src/operation/create_ops_item/builders.rs index 1405dbcffab6..38f6c84f1a7b 100644 --- a/sdk/ssm/src/operation/create_ops_item/builders.rs +++ b/sdk/ssm/src/operation/create_ops_item/builders.rs @@ -20,9 +20,9 @@ impl CreateOpsItemFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -78,6 +78,20 @@ impl CreateOpsItemFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::create_ops_item::CreateOpsItem, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      Information about the OpsItem.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      pub fn description(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.description(input.into()); diff --git a/sdk/ssm/src/operation/create_ops_metadata/builders.rs b/sdk/ssm/src/operation/create_ops_metadata/builders.rs index b685dbafd80a..7f6d9b068fff 100644 --- a/sdk/ssm/src/operation/create_ops_metadata/builders.rs +++ b/sdk/ssm/src/operation/create_ops_metadata/builders.rs @@ -19,9 +19,9 @@ impl CreateOpsMetadataFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl CreateOpsMetadataFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::create_ops_metadata::CreateOpsMetadata, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::create_ops_metadata::CreateOpsMetadataError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      A resource ID for a new Application Manager application.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      pub fn resource_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.resource_id(input.into()); diff --git a/sdk/ssm/src/operation/create_patch_baseline/builders.rs b/sdk/ssm/src/operation/create_patch_baseline/builders.rs index c7d492b4e3d4..2f42e7c02707 100644 --- a/sdk/ssm/src/operation/create_patch_baseline/builders.rs +++ b/sdk/ssm/src/operation/create_patch_baseline/builders.rs @@ -21,9 +21,9 @@ impl CreatePatchBaselineFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -85,6 +85,22 @@ impl CreatePatchBaselineFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::create_patch_baseline::CreatePatchBaseline, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::create_patch_baseline::CreatePatchBaselineError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      Defines the operating system the patch baseline applies to. The default value is WINDOWS.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      pub fn operating_system(mut self, input: crate::types::OperatingSystem) -> Self { self.inner = self.inner.operating_system(input); diff --git a/sdk/ssm/src/operation/create_resource_data_sync/builders.rs b/sdk/ssm/src/operation/create_resource_data_sync/builders.rs index 2b36dbae1c50..81e48ca9cc7d 100644 --- a/sdk/ssm/src/operation/create_resource_data_sync/builders.rs +++ b/sdk/ssm/src/operation/create_resource_data_sync/builders.rs @@ -25,9 +25,9 @@ impl CreateResourceDataSyncFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -89,6 +89,22 @@ impl CreateResourceDataSyncFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::create_resource_data_sync::CreateResourceDataSync, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::create_resource_data_sync::CreateResourceDataSyncError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      A name for the configuration.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      pub fn sync_name(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.sync_name(input.into()); diff --git a/sdk/ssm/src/operation/delete_activation/builders.rs b/sdk/ssm/src/operation/delete_activation/builders.rs index b1d5014fc25a..da33bd53fea2 100644 --- a/sdk/ssm/src/operation/delete_activation/builders.rs +++ b/sdk/ssm/src/operation/delete_activation/builders.rs @@ -19,9 +19,9 @@ impl DeleteActivationFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl DeleteActivationFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::delete_activation::DeleteActivation, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::delete_activation::DeleteActivationError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      The ID of the activation that you want to delete.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      pub fn activation_id( mut self, diff --git a/sdk/ssm/src/operation/delete_association/builders.rs b/sdk/ssm/src/operation/delete_association/builders.rs index 3f857999019a..cf03936d4f78 100644 --- a/sdk/ssm/src/operation/delete_association/builders.rs +++ b/sdk/ssm/src/operation/delete_association/builders.rs @@ -20,9 +20,9 @@ impl DeleteAssociationFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -84,6 +84,22 @@ impl DeleteAssociationFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::delete_association::DeleteAssociation, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::delete_association::DeleteAssociationError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      The name of the SSM document.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      pub fn name(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.name(input.into()); diff --git a/sdk/ssm/src/operation/delete_document/builders.rs b/sdk/ssm/src/operation/delete_document/builders.rs index 2fbcd6043dbf..d724a5c6b4f4 100644 --- a/sdk/ssm/src/operation/delete_document/builders.rs +++ b/sdk/ssm/src/operation/delete_document/builders.rs @@ -20,9 +20,9 @@ impl DeleteDocumentFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -78,6 +78,20 @@ impl DeleteDocumentFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::delete_document::DeleteDocument, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      The name of the document.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      pub fn name(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.name(input.into()); diff --git a/sdk/ssm/src/operation/delete_inventory/builders.rs b/sdk/ssm/src/operation/delete_inventory/builders.rs index c811d7228559..79991825d4f0 100644 --- a/sdk/ssm/src/operation/delete_inventory/builders.rs +++ b/sdk/ssm/src/operation/delete_inventory/builders.rs @@ -19,9 +19,9 @@ impl DeleteInventoryFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl DeleteInventoryFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::delete_inventory::DeleteInventory, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::delete_inventory::DeleteInventoryError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      The name of the custom inventory type for which you want to delete either all previously collected data or the inventory type itself.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      pub fn type_name(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.type_name(input.into()); diff --git a/sdk/ssm/src/operation/delete_maintenance_window/builders.rs b/sdk/ssm/src/operation/delete_maintenance_window/builders.rs index 3a1736e9eb63..3573e7bfacf2 100644 --- a/sdk/ssm/src/operation/delete_maintenance_window/builders.rs +++ b/sdk/ssm/src/operation/delete_maintenance_window/builders.rs @@ -20,9 +20,9 @@ impl DeleteMaintenanceWindowFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -84,6 +84,22 @@ impl DeleteMaintenanceWindowFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::delete_maintenance_window::DeleteMaintenanceWindow, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::delete_maintenance_window::DeleteMaintenanceWindowError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      The ID of the maintenance window to delete.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      pub fn window_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.window_id(input.into()); diff --git a/sdk/ssm/src/operation/delete_ops_metadata/builders.rs b/sdk/ssm/src/operation/delete_ops_metadata/builders.rs index df9e140b562c..ecc4621a2532 100644 --- a/sdk/ssm/src/operation/delete_ops_metadata/builders.rs +++ b/sdk/ssm/src/operation/delete_ops_metadata/builders.rs @@ -19,9 +19,9 @@ impl DeleteOpsMetadataFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl DeleteOpsMetadataFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::delete_ops_metadata::DeleteOpsMetadata, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::delete_ops_metadata::DeleteOpsMetadataError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      The Amazon Resource Name (ARN) of an OpsMetadata Object to delete.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      pub fn ops_metadata_arn( mut self, diff --git a/sdk/ssm/src/operation/delete_parameter/builders.rs b/sdk/ssm/src/operation/delete_parameter/builders.rs index 2b81a1d3888f..ffb352db7a22 100644 --- a/sdk/ssm/src/operation/delete_parameter/builders.rs +++ b/sdk/ssm/src/operation/delete_parameter/builders.rs @@ -19,9 +19,9 @@ impl DeleteParameterFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl DeleteParameterFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::delete_parameter::DeleteParameter, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::delete_parameter::DeleteParameterError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      The name of the parameter to delete.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      pub fn name(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.name(input.into()); diff --git a/sdk/ssm/src/operation/delete_parameters/builders.rs b/sdk/ssm/src/operation/delete_parameters/builders.rs index 5fadf51e9470..0f9f030580d8 100644 --- a/sdk/ssm/src/operation/delete_parameters/builders.rs +++ b/sdk/ssm/src/operation/delete_parameters/builders.rs @@ -19,9 +19,9 @@ impl DeleteParametersFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl DeleteParametersFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::delete_parameters::DeleteParameters, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::delete_parameters::DeleteParametersError, + >, + > { + self.customize_middleware().await + } /// Appends an item to `Names`. /// /// To override the contents of this collection use [`set_names`](Self::set_names). diff --git a/sdk/ssm/src/operation/delete_patch_baseline/builders.rs b/sdk/ssm/src/operation/delete_patch_baseline/builders.rs index ddbf14063000..66044f9963a4 100644 --- a/sdk/ssm/src/operation/delete_patch_baseline/builders.rs +++ b/sdk/ssm/src/operation/delete_patch_baseline/builders.rs @@ -19,9 +19,9 @@ impl DeletePatchBaselineFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl DeletePatchBaselineFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::delete_patch_baseline::DeletePatchBaseline, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::delete_patch_baseline::DeletePatchBaselineError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      The ID of the patch baseline to delete.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      pub fn baseline_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.baseline_id(input.into()); diff --git a/sdk/ssm/src/operation/delete_resource_data_sync/builders.rs b/sdk/ssm/src/operation/delete_resource_data_sync/builders.rs index 63bd2f849cf1..6255c3660784 100644 --- a/sdk/ssm/src/operation/delete_resource_data_sync/builders.rs +++ b/sdk/ssm/src/operation/delete_resource_data_sync/builders.rs @@ -20,9 +20,9 @@ impl DeleteResourceDataSyncFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -84,6 +84,22 @@ impl DeleteResourceDataSyncFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::delete_resource_data_sync::DeleteResourceDataSync, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::delete_resource_data_sync::DeleteResourceDataSyncError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      The name of the configuration to delete.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      pub fn sync_name(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.sync_name(input.into()); diff --git a/sdk/ssm/src/operation/delete_resource_policy/builders.rs b/sdk/ssm/src/operation/delete_resource_policy/builders.rs index e8e20f363b82..87e2182bb959 100644 --- a/sdk/ssm/src/operation/delete_resource_policy/builders.rs +++ b/sdk/ssm/src/operation/delete_resource_policy/builders.rs @@ -19,9 +19,9 @@ impl DeleteResourcePolicyFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl DeleteResourcePolicyFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::delete_resource_policy::DeleteResourcePolicy, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::delete_resource_policy::DeleteResourcePolicyError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      Amazon Resource Name (ARN) of the resource to which the policies are attached.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      pub fn resource_arn(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.resource_arn(input.into()); diff --git a/sdk/ssm/src/operation/deregister_managed_instance/builders.rs b/sdk/ssm/src/operation/deregister_managed_instance/builders.rs index 4b702ce4cafd..871bdae0724e 100644 --- a/sdk/ssm/src/operation/deregister_managed_instance/builders.rs +++ b/sdk/ssm/src/operation/deregister_managed_instance/builders.rs @@ -19,9 +19,9 @@ impl DeregisterManagedInstanceFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl DeregisterManagedInstanceFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::deregister_managed_instance::DeregisterManagedInstance, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::deregister_managed_instance::DeregisterManagedInstanceError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      The ID assigned to the managed node when you registered it using the activation process.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      pub fn instance_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.instance_id(input.into()); diff --git a/sdk/ssm/src/operation/deregister_patch_baseline_for_patch_group/builders.rs b/sdk/ssm/src/operation/deregister_patch_baseline_for_patch_group/builders.rs index c4538a00fcdb..c55483682320 100644 --- a/sdk/ssm/src/operation/deregister_patch_baseline_for_patch_group/builders.rs +++ b/sdk/ssm/src/operation/deregister_patch_baseline_for_patch_group/builders.rs @@ -19,9 +19,9 @@ impl DeregisterPatchBaselineForPatchGroupFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize(self) -> ::std::result::Result< + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware(self) -> ::std::result::Result< crate::client::customize::CustomizableOperation, ::aws_smithy_http::result::SdkError >{ @@ -64,6 +64,15 @@ impl DeregisterPatchBaselineForPatchGroupFluentBuilder { { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize(self) -> ::std::result::Result< + crate::client::customize::CustomizableOperation, + ::aws_smithy_http::result::SdkError + >{ + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      The ID of the patch baseline to deregister the patch group from.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      pub fn baseline_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.baseline_id(input.into()); diff --git a/sdk/ssm/src/operation/deregister_target_from_maintenance_window/builders.rs b/sdk/ssm/src/operation/deregister_target_from_maintenance_window/builders.rs index 94050891bdf7..c80635733cd2 100644 --- a/sdk/ssm/src/operation/deregister_target_from_maintenance_window/builders.rs +++ b/sdk/ssm/src/operation/deregister_target_from_maintenance_window/builders.rs @@ -19,9 +19,9 @@ impl DeregisterTargetFromMaintenanceWindowFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize(self) -> ::std::result::Result< + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware(self) -> ::std::result::Result< crate::client::customize::CustomizableOperation, ::aws_smithy_http::result::SdkError >{ @@ -64,6 +64,15 @@ impl DeregisterTargetFromMaintenanceWindowFluentBuilder { { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize(self) -> ::std::result::Result< + crate::client::customize::CustomizableOperation, + ::aws_smithy_http::result::SdkError + >{ + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      The ID of the maintenance window the target should be removed from.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      pub fn window_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.window_id(input.into()); diff --git a/sdk/ssm/src/operation/deregister_task_from_maintenance_window/builders.rs b/sdk/ssm/src/operation/deregister_task_from_maintenance_window/builders.rs index 3e477876d751..1281c6c0a422 100644 --- a/sdk/ssm/src/operation/deregister_task_from_maintenance_window/builders.rs +++ b/sdk/ssm/src/operation/deregister_task_from_maintenance_window/builders.rs @@ -19,9 +19,9 @@ impl DeregisterTaskFromMaintenanceWindowFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize(self) -> ::std::result::Result< + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware(self) -> ::std::result::Result< crate::client::customize::CustomizableOperation, ::aws_smithy_http::result::SdkError >{ @@ -64,6 +64,15 @@ impl DeregisterTaskFromMaintenanceWindowFluentBuilder { { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize(self) -> ::std::result::Result< + crate::client::customize::CustomizableOperation, + ::aws_smithy_http::result::SdkError + >{ + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      The ID of the maintenance window the task should be removed from.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      pub fn window_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.window_id(input.into()); diff --git a/sdk/ssm/src/operation/describe_activations/builders.rs b/sdk/ssm/src/operation/describe_activations/builders.rs index f845a3f8e5b1..9ceb2e78c91e 100644 --- a/sdk/ssm/src/operation/describe_activations/builders.rs +++ b/sdk/ssm/src/operation/describe_activations/builders.rs @@ -19,9 +19,9 @@ impl DescribeActivationsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl DescribeActivationsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::describe_activations::DescribeActivations, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::describe_activations::DescribeActivationsError, + >, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::describe_activations::paginator::DescribeActivationsPaginator::send) which returns a `Stream`. diff --git a/sdk/ssm/src/operation/describe_association/builders.rs b/sdk/ssm/src/operation/describe_association/builders.rs index e0aba6df9547..df367f31c698 100644 --- a/sdk/ssm/src/operation/describe_association/builders.rs +++ b/sdk/ssm/src/operation/describe_association/builders.rs @@ -19,9 +19,9 @@ impl DescribeAssociationFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl DescribeAssociationFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::describe_association::DescribeAssociation, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::describe_association::DescribeAssociationError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      The name of the SSM document.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      pub fn name(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.name(input.into()); diff --git a/sdk/ssm/src/operation/describe_association_execution_targets/builders.rs b/sdk/ssm/src/operation/describe_association_execution_targets/builders.rs index 63577cd0c281..fccd4c378e40 100644 --- a/sdk/ssm/src/operation/describe_association_execution_targets/builders.rs +++ b/sdk/ssm/src/operation/describe_association_execution_targets/builders.rs @@ -19,9 +19,9 @@ impl DescribeAssociationExecutionTargetsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize(self) -> ::std::result::Result< + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware(self) -> ::std::result::Result< crate::client::customize::CustomizableOperation, ::aws_smithy_http::result::SdkError >{ @@ -64,6 +64,15 @@ impl DescribeAssociationExecutionTargetsFluentBuilder { { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize(self) -> ::std::result::Result< + crate::client::customize::CustomizableOperation, + ::aws_smithy_http::result::SdkError + >{ + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::describe_association_execution_targets::paginator::DescribeAssociationExecutionTargetsPaginator::send) which returns a `Stream`. diff --git a/sdk/ssm/src/operation/describe_association_executions/builders.rs b/sdk/ssm/src/operation/describe_association_executions/builders.rs index 10045405ccae..2a2ac041d8a4 100644 --- a/sdk/ssm/src/operation/describe_association_executions/builders.rs +++ b/sdk/ssm/src/operation/describe_association_executions/builders.rs @@ -19,9 +19,9 @@ impl DescribeAssociationExecutionsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl DescribeAssociationExecutionsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::describe_association_executions::DescribeAssociationExecutions, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::describe_association_executions::DescribeAssociationExecutionsError, + >, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::describe_association_executions::paginator::DescribeAssociationExecutionsPaginator::send) which returns a `Stream`. diff --git a/sdk/ssm/src/operation/describe_automation_executions/builders.rs b/sdk/ssm/src/operation/describe_automation_executions/builders.rs index 43d5cee10edf..8f4c493f6029 100644 --- a/sdk/ssm/src/operation/describe_automation_executions/builders.rs +++ b/sdk/ssm/src/operation/describe_automation_executions/builders.rs @@ -19,9 +19,9 @@ impl DescribeAutomationExecutionsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl DescribeAutomationExecutionsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::describe_automation_executions::DescribeAutomationExecutions, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::describe_automation_executions::DescribeAutomationExecutionsError, + >, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::describe_automation_executions::paginator::DescribeAutomationExecutionsPaginator::send) which returns a `Stream`. diff --git a/sdk/ssm/src/operation/describe_automation_step_executions/builders.rs b/sdk/ssm/src/operation/describe_automation_step_executions/builders.rs index 7197a5642450..8925c84403fe 100644 --- a/sdk/ssm/src/operation/describe_automation_step_executions/builders.rs +++ b/sdk/ssm/src/operation/describe_automation_step_executions/builders.rs @@ -19,9 +19,9 @@ impl DescribeAutomationStepExecutionsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize(self) -> ::std::result::Result< + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware(self) -> ::std::result::Result< crate::client::customize::CustomizableOperation, ::aws_smithy_http::result::SdkError >{ @@ -64,6 +64,15 @@ impl DescribeAutomationStepExecutionsFluentBuilder { { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize(self) -> ::std::result::Result< + crate::client::customize::CustomizableOperation, + ::aws_smithy_http::result::SdkError + >{ + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::describe_automation_step_executions::paginator::DescribeAutomationStepExecutionsPaginator::send) which returns a `Stream`. diff --git a/sdk/ssm/src/operation/describe_available_patches/builders.rs b/sdk/ssm/src/operation/describe_available_patches/builders.rs index cc8840fc4dc9..6f7f0077d49f 100644 --- a/sdk/ssm/src/operation/describe_available_patches/builders.rs +++ b/sdk/ssm/src/operation/describe_available_patches/builders.rs @@ -19,9 +19,9 @@ impl DescribeAvailablePatchesFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl DescribeAvailablePatchesFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::describe_available_patches::DescribeAvailablePatches, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::describe_available_patches::DescribeAvailablePatchesError, + >, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::describe_available_patches::paginator::DescribeAvailablePatchesPaginator::send) which returns a `Stream`. diff --git a/sdk/ssm/src/operation/describe_document/builders.rs b/sdk/ssm/src/operation/describe_document/builders.rs index 66585cd5b293..2e91787c5789 100644 --- a/sdk/ssm/src/operation/describe_document/builders.rs +++ b/sdk/ssm/src/operation/describe_document/builders.rs @@ -19,9 +19,9 @@ impl DescribeDocumentFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl DescribeDocumentFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::describe_document::DescribeDocument, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::describe_document::DescribeDocumentError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      The name of the SSM document.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      pub fn name(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.name(input.into()); diff --git a/sdk/ssm/src/operation/describe_document_permission/builders.rs b/sdk/ssm/src/operation/describe_document_permission/builders.rs index e8a04f5d1793..6630c881e22a 100644 --- a/sdk/ssm/src/operation/describe_document_permission/builders.rs +++ b/sdk/ssm/src/operation/describe_document_permission/builders.rs @@ -19,9 +19,9 @@ impl DescribeDocumentPermissionFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl DescribeDocumentPermissionFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::describe_document_permission::DescribeDocumentPermission, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::describe_document_permission::DescribeDocumentPermissionError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      The name of the document for which you are the owner.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      pub fn name(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.name(input.into()); diff --git a/sdk/ssm/src/operation/describe_effective_instance_associations/builders.rs b/sdk/ssm/src/operation/describe_effective_instance_associations/builders.rs index 27c63e86fa20..2eba725f59a4 100644 --- a/sdk/ssm/src/operation/describe_effective_instance_associations/builders.rs +++ b/sdk/ssm/src/operation/describe_effective_instance_associations/builders.rs @@ -19,9 +19,9 @@ impl DescribeEffectiveInstanceAssociationsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize(self) -> ::std::result::Result< + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware(self) -> ::std::result::Result< crate::client::customize::CustomizableOperation, ::aws_smithy_http::result::SdkError >{ @@ -64,6 +64,15 @@ impl DescribeEffectiveInstanceAssociationsFluentBuilder { { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize(self) -> ::std::result::Result< + crate::client::customize::CustomizableOperation, + ::aws_smithy_http::result::SdkError + >{ + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::describe_effective_instance_associations::paginator::DescribeEffectiveInstanceAssociationsPaginator::send) which returns a `Stream`. diff --git a/sdk/ssm/src/operation/describe_effective_patches_for_patch_baseline/builders.rs b/sdk/ssm/src/operation/describe_effective_patches_for_patch_baseline/builders.rs index 5706e25ecec4..05e8b6715753 100644 --- a/sdk/ssm/src/operation/describe_effective_patches_for_patch_baseline/builders.rs +++ b/sdk/ssm/src/operation/describe_effective_patches_for_patch_baseline/builders.rs @@ -19,9 +19,9 @@ impl DescribeEffectivePatchesForPatchBaselineFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize(self) -> ::std::result::Result< + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware(self) -> ::std::result::Result< crate::client::customize::CustomizableOperation, ::aws_smithy_http::result::SdkError >{ @@ -64,6 +64,15 @@ impl DescribeEffectivePatchesForPatchBaselineFluentBuilder { { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize(self) -> ::std::result::Result< + crate::client::customize::CustomizableOperation, + ::aws_smithy_http::result::SdkError + >{ + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::describe_effective_patches_for_patch_baseline::paginator::DescribeEffectivePatchesForPatchBaselinePaginator::send) which returns a `Stream`. diff --git a/sdk/ssm/src/operation/describe_instance_associations_status/builders.rs b/sdk/ssm/src/operation/describe_instance_associations_status/builders.rs index ea13757d167c..73768ec9564c 100644 --- a/sdk/ssm/src/operation/describe_instance_associations_status/builders.rs +++ b/sdk/ssm/src/operation/describe_instance_associations_status/builders.rs @@ -19,9 +19,9 @@ impl DescribeInstanceAssociationsStatusFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize(self) -> ::std::result::Result< + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware(self) -> ::std::result::Result< crate::client::customize::CustomizableOperation, ::aws_smithy_http::result::SdkError >{ @@ -64,6 +64,15 @@ impl DescribeInstanceAssociationsStatusFluentBuilder { { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize(self) -> ::std::result::Result< + crate::client::customize::CustomizableOperation, + ::aws_smithy_http::result::SdkError + >{ + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::describe_instance_associations_status::paginator::DescribeInstanceAssociationsStatusPaginator::send) which returns a `Stream`. diff --git a/sdk/ssm/src/operation/describe_instance_information/builders.rs b/sdk/ssm/src/operation/describe_instance_information/builders.rs index 0aef825ea050..c3dba4a5f334 100644 --- a/sdk/ssm/src/operation/describe_instance_information/builders.rs +++ b/sdk/ssm/src/operation/describe_instance_information/builders.rs @@ -22,9 +22,9 @@ impl DescribeInstanceInformationFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -86,6 +86,22 @@ impl DescribeInstanceInformationFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::describe_instance_information::DescribeInstanceInformation, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::describe_instance_information::DescribeInstanceInformationError, + >, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::describe_instance_information::paginator::DescribeInstanceInformationPaginator::send) which returns a `Stream`. diff --git a/sdk/ssm/src/operation/describe_instance_patch_states/builders.rs b/sdk/ssm/src/operation/describe_instance_patch_states/builders.rs index 03d9316d1af9..401d270ab6c8 100644 --- a/sdk/ssm/src/operation/describe_instance_patch_states/builders.rs +++ b/sdk/ssm/src/operation/describe_instance_patch_states/builders.rs @@ -19,9 +19,9 @@ impl DescribeInstancePatchStatesFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl DescribeInstancePatchStatesFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::describe_instance_patch_states::DescribeInstancePatchStates, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::describe_instance_patch_states::DescribeInstancePatchStatesError, + >, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::describe_instance_patch_states::paginator::DescribeInstancePatchStatesPaginator::send) which returns a `Stream`. diff --git a/sdk/ssm/src/operation/describe_instance_patch_states_for_patch_group/builders.rs b/sdk/ssm/src/operation/describe_instance_patch_states_for_patch_group/builders.rs index 7213406d65a9..5c709697b474 100644 --- a/sdk/ssm/src/operation/describe_instance_patch_states_for_patch_group/builders.rs +++ b/sdk/ssm/src/operation/describe_instance_patch_states_for_patch_group/builders.rs @@ -19,9 +19,9 @@ impl DescribeInstancePatchStatesForPatchGroupFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize(self) -> ::std::result::Result< + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware(self) -> ::std::result::Result< crate::client::customize::CustomizableOperation, ::aws_smithy_http::result::SdkError >{ @@ -64,6 +64,15 @@ impl DescribeInstancePatchStatesForPatchGroupFluentBuilder { { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize(self) -> ::std::result::Result< + crate::client::customize::CustomizableOperation, + ::aws_smithy_http::result::SdkError + >{ + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::describe_instance_patch_states_for_patch_group::paginator::DescribeInstancePatchStatesForPatchGroupPaginator::send) which returns a `Stream`. diff --git a/sdk/ssm/src/operation/describe_instance_patches/builders.rs b/sdk/ssm/src/operation/describe_instance_patches/builders.rs index c8e0bbe496ca..0acbb057ca8e 100644 --- a/sdk/ssm/src/operation/describe_instance_patches/builders.rs +++ b/sdk/ssm/src/operation/describe_instance_patches/builders.rs @@ -20,9 +20,9 @@ impl DescribeInstancePatchesFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -84,6 +84,22 @@ impl DescribeInstancePatchesFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::describe_instance_patches::DescribeInstancePatches, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::describe_instance_patches::DescribeInstancePatchesError, + >, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::describe_instance_patches::paginator::DescribeInstancePatchesPaginator::send) which returns a `Stream`. diff --git a/sdk/ssm/src/operation/describe_inventory_deletions/builders.rs b/sdk/ssm/src/operation/describe_inventory_deletions/builders.rs index 8ad24b868cc5..0882cac877ff 100644 --- a/sdk/ssm/src/operation/describe_inventory_deletions/builders.rs +++ b/sdk/ssm/src/operation/describe_inventory_deletions/builders.rs @@ -19,9 +19,9 @@ impl DescribeInventoryDeletionsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl DescribeInventoryDeletionsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::describe_inventory_deletions::DescribeInventoryDeletions, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::describe_inventory_deletions::DescribeInventoryDeletionsError, + >, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::describe_inventory_deletions::paginator::DescribeInventoryDeletionsPaginator::send) which returns a `Stream`. diff --git a/sdk/ssm/src/operation/describe_maintenance_window_execution_task_invocations/builders.rs b/sdk/ssm/src/operation/describe_maintenance_window_execution_task_invocations/builders.rs index a9460a01f22a..92262b745ad0 100644 --- a/sdk/ssm/src/operation/describe_maintenance_window_execution_task_invocations/builders.rs +++ b/sdk/ssm/src/operation/describe_maintenance_window_execution_task_invocations/builders.rs @@ -19,9 +19,9 @@ impl DescribeMaintenanceWindowExecutionTaskInvocationsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize(self) -> ::std::result::Result< + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware(self) -> ::std::result::Result< crate::client::customize::CustomizableOperation, ::aws_smithy_http::result::SdkError >{ @@ -64,6 +64,15 @@ impl DescribeMaintenanceWindowExecutionTaskInvocationsFluentBuilder { { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize(self) -> ::std::result::Result< + crate::client::customize::CustomizableOperation, + ::aws_smithy_http::result::SdkError + >{ + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::describe_maintenance_window_execution_task_invocations::paginator::DescribeMaintenanceWindowExecutionTaskInvocationsPaginator::send) which returns a `Stream`. diff --git a/sdk/ssm/src/operation/describe_maintenance_window_execution_tasks/builders.rs b/sdk/ssm/src/operation/describe_maintenance_window_execution_tasks/builders.rs index 10c62bcea291..ea6626bbbf51 100644 --- a/sdk/ssm/src/operation/describe_maintenance_window_execution_tasks/builders.rs +++ b/sdk/ssm/src/operation/describe_maintenance_window_execution_tasks/builders.rs @@ -19,9 +19,9 @@ impl DescribeMaintenanceWindowExecutionTasksFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize(self) -> ::std::result::Result< + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware(self) -> ::std::result::Result< crate::client::customize::CustomizableOperation, ::aws_smithy_http::result::SdkError >{ @@ -64,6 +64,15 @@ impl DescribeMaintenanceWindowExecutionTasksFluentBuilder { { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize(self) -> ::std::result::Result< + crate::client::customize::CustomizableOperation, + ::aws_smithy_http::result::SdkError + >{ + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::describe_maintenance_window_execution_tasks::paginator::DescribeMaintenanceWindowExecutionTasksPaginator::send) which returns a `Stream`. diff --git a/sdk/ssm/src/operation/describe_maintenance_window_executions/builders.rs b/sdk/ssm/src/operation/describe_maintenance_window_executions/builders.rs index ac1bb1bcfb6e..8efd4ac53024 100644 --- a/sdk/ssm/src/operation/describe_maintenance_window_executions/builders.rs +++ b/sdk/ssm/src/operation/describe_maintenance_window_executions/builders.rs @@ -19,9 +19,9 @@ impl DescribeMaintenanceWindowExecutionsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize(self) -> ::std::result::Result< + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware(self) -> ::std::result::Result< crate::client::customize::CustomizableOperation, ::aws_smithy_http::result::SdkError >{ @@ -64,6 +64,15 @@ impl DescribeMaintenanceWindowExecutionsFluentBuilder { { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize(self) -> ::std::result::Result< + crate::client::customize::CustomizableOperation, + ::aws_smithy_http::result::SdkError + >{ + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::describe_maintenance_window_executions::paginator::DescribeMaintenanceWindowExecutionsPaginator::send) which returns a `Stream`. diff --git a/sdk/ssm/src/operation/describe_maintenance_window_schedule/builders.rs b/sdk/ssm/src/operation/describe_maintenance_window_schedule/builders.rs index 60015be2184f..3a2b9188a197 100644 --- a/sdk/ssm/src/operation/describe_maintenance_window_schedule/builders.rs +++ b/sdk/ssm/src/operation/describe_maintenance_window_schedule/builders.rs @@ -19,9 +19,9 @@ impl DescribeMaintenanceWindowScheduleFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize(self) -> ::std::result::Result< + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware(self) -> ::std::result::Result< crate::client::customize::CustomizableOperation, ::aws_smithy_http::result::SdkError >{ @@ -64,6 +64,15 @@ impl DescribeMaintenanceWindowScheduleFluentBuilder { { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize(self) -> ::std::result::Result< + crate::client::customize::CustomizableOperation, + ::aws_smithy_http::result::SdkError + >{ + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::describe_maintenance_window_schedule::paginator::DescribeMaintenanceWindowSchedulePaginator::send) which returns a `Stream`. diff --git a/sdk/ssm/src/operation/describe_maintenance_window_targets/builders.rs b/sdk/ssm/src/operation/describe_maintenance_window_targets/builders.rs index 7fdaa0a3191d..23f800a3eaa3 100644 --- a/sdk/ssm/src/operation/describe_maintenance_window_targets/builders.rs +++ b/sdk/ssm/src/operation/describe_maintenance_window_targets/builders.rs @@ -19,9 +19,9 @@ impl DescribeMaintenanceWindowTargetsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize(self) -> ::std::result::Result< + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware(self) -> ::std::result::Result< crate::client::customize::CustomizableOperation, ::aws_smithy_http::result::SdkError >{ @@ -64,6 +64,15 @@ impl DescribeMaintenanceWindowTargetsFluentBuilder { { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize(self) -> ::std::result::Result< + crate::client::customize::CustomizableOperation, + ::aws_smithy_http::result::SdkError + >{ + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::describe_maintenance_window_targets::paginator::DescribeMaintenanceWindowTargetsPaginator::send) which returns a `Stream`. diff --git a/sdk/ssm/src/operation/describe_maintenance_window_tasks/builders.rs b/sdk/ssm/src/operation/describe_maintenance_window_tasks/builders.rs index ee4e44053d72..caf89d948528 100644 --- a/sdk/ssm/src/operation/describe_maintenance_window_tasks/builders.rs +++ b/sdk/ssm/src/operation/describe_maintenance_window_tasks/builders.rs @@ -21,9 +21,9 @@ impl DescribeMaintenanceWindowTasksFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize(self) -> ::std::result::Result< + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware(self) -> ::std::result::Result< crate::client::customize::CustomizableOperation, ::aws_smithy_http::result::SdkError >{ @@ -66,6 +66,15 @@ impl DescribeMaintenanceWindowTasksFluentBuilder { { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize(self) -> ::std::result::Result< + crate::client::customize::CustomizableOperation, + ::aws_smithy_http::result::SdkError + >{ + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::describe_maintenance_window_tasks::paginator::DescribeMaintenanceWindowTasksPaginator::send) which returns a `Stream`. diff --git a/sdk/ssm/src/operation/describe_maintenance_windows/builders.rs b/sdk/ssm/src/operation/describe_maintenance_windows/builders.rs index 2655e618ae0d..bfaa164dd08a 100644 --- a/sdk/ssm/src/operation/describe_maintenance_windows/builders.rs +++ b/sdk/ssm/src/operation/describe_maintenance_windows/builders.rs @@ -19,9 +19,9 @@ impl DescribeMaintenanceWindowsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl DescribeMaintenanceWindowsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::describe_maintenance_windows::DescribeMaintenanceWindows, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::describe_maintenance_windows::DescribeMaintenanceWindowsError, + >, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::describe_maintenance_windows::paginator::DescribeMaintenanceWindowsPaginator::send) which returns a `Stream`. diff --git a/sdk/ssm/src/operation/describe_maintenance_windows_for_target/builders.rs b/sdk/ssm/src/operation/describe_maintenance_windows_for_target/builders.rs index 1a6bd316132b..537bedc20d51 100644 --- a/sdk/ssm/src/operation/describe_maintenance_windows_for_target/builders.rs +++ b/sdk/ssm/src/operation/describe_maintenance_windows_for_target/builders.rs @@ -19,9 +19,9 @@ impl DescribeMaintenanceWindowsForTargetFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize(self) -> ::std::result::Result< + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware(self) -> ::std::result::Result< crate::client::customize::CustomizableOperation, ::aws_smithy_http::result::SdkError >{ @@ -64,6 +64,15 @@ impl DescribeMaintenanceWindowsForTargetFluentBuilder { { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize(self) -> ::std::result::Result< + crate::client::customize::CustomizableOperation, + ::aws_smithy_http::result::SdkError + >{ + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::describe_maintenance_windows_for_target::paginator::DescribeMaintenanceWindowsForTargetPaginator::send) which returns a `Stream`. diff --git a/sdk/ssm/src/operation/describe_ops_items/builders.rs b/sdk/ssm/src/operation/describe_ops_items/builders.rs index c9c9da42cf4b..2bbd484a5f9d 100644 --- a/sdk/ssm/src/operation/describe_ops_items/builders.rs +++ b/sdk/ssm/src/operation/describe_ops_items/builders.rs @@ -20,9 +20,9 @@ impl DescribeOpsItemsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -84,6 +84,22 @@ impl DescribeOpsItemsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::describe_ops_items::DescribeOpsItems, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::describe_ops_items::DescribeOpsItemsError, + >, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::describe_ops_items::paginator::DescribeOpsItemsPaginator::send) which returns a `Stream`. diff --git a/sdk/ssm/src/operation/describe_parameters/builders.rs b/sdk/ssm/src/operation/describe_parameters/builders.rs index 2513afc46c41..ea76fb9197f3 100644 --- a/sdk/ssm/src/operation/describe_parameters/builders.rs +++ b/sdk/ssm/src/operation/describe_parameters/builders.rs @@ -22,9 +22,9 @@ impl DescribeParametersFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -86,6 +86,22 @@ impl DescribeParametersFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::describe_parameters::DescribeParameters, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::describe_parameters::DescribeParametersError, + >, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::describe_parameters::paginator::DescribeParametersPaginator::send) which returns a `Stream`. diff --git a/sdk/ssm/src/operation/describe_patch_baselines/builders.rs b/sdk/ssm/src/operation/describe_patch_baselines/builders.rs index 546ff747d5e2..bc1685ea7830 100644 --- a/sdk/ssm/src/operation/describe_patch_baselines/builders.rs +++ b/sdk/ssm/src/operation/describe_patch_baselines/builders.rs @@ -19,9 +19,9 @@ impl DescribePatchBaselinesFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl DescribePatchBaselinesFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::describe_patch_baselines::DescribePatchBaselines, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::describe_patch_baselines::DescribePatchBaselinesError, + >, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::describe_patch_baselines::paginator::DescribePatchBaselinesPaginator::send) which returns a `Stream`. diff --git a/sdk/ssm/src/operation/describe_patch_group_state/builders.rs b/sdk/ssm/src/operation/describe_patch_group_state/builders.rs index 63c86007b13e..e0f71fff0ab2 100644 --- a/sdk/ssm/src/operation/describe_patch_group_state/builders.rs +++ b/sdk/ssm/src/operation/describe_patch_group_state/builders.rs @@ -20,9 +20,9 @@ impl DescribePatchGroupStateFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -84,6 +84,22 @@ impl DescribePatchGroupStateFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::describe_patch_group_state::DescribePatchGroupState, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::describe_patch_group_state::DescribePatchGroupStateError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      The name of the patch group whose patch snapshot should be retrieved.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      pub fn patch_group(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.patch_group(input.into()); diff --git a/sdk/ssm/src/operation/describe_patch_groups/builders.rs b/sdk/ssm/src/operation/describe_patch_groups/builders.rs index 033f7c961b62..a230ec55d3a7 100644 --- a/sdk/ssm/src/operation/describe_patch_groups/builders.rs +++ b/sdk/ssm/src/operation/describe_patch_groups/builders.rs @@ -19,9 +19,9 @@ impl DescribePatchGroupsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl DescribePatchGroupsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::describe_patch_groups::DescribePatchGroups, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::describe_patch_groups::DescribePatchGroupsError, + >, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::describe_patch_groups::paginator::DescribePatchGroupsPaginator::send) which returns a `Stream`. diff --git a/sdk/ssm/src/operation/describe_patch_properties/builders.rs b/sdk/ssm/src/operation/describe_patch_properties/builders.rs index d0d8a8b87cac..8e6646ec597d 100644 --- a/sdk/ssm/src/operation/describe_patch_properties/builders.rs +++ b/sdk/ssm/src/operation/describe_patch_properties/builders.rs @@ -83,9 +83,9 @@ impl DescribePatchPropertiesFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -147,6 +147,22 @@ impl DescribePatchPropertiesFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::describe_patch_properties::DescribePatchProperties, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::describe_patch_properties::DescribePatchPropertiesError, + >, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::describe_patch_properties::paginator::DescribePatchPropertiesPaginator::send) which returns a `Stream`. diff --git a/sdk/ssm/src/operation/describe_sessions/builders.rs b/sdk/ssm/src/operation/describe_sessions/builders.rs index e6cb7571a3ff..d2ecffaf800a 100644 --- a/sdk/ssm/src/operation/describe_sessions/builders.rs +++ b/sdk/ssm/src/operation/describe_sessions/builders.rs @@ -19,9 +19,9 @@ impl DescribeSessionsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl DescribeSessionsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::describe_sessions::DescribeSessions, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::describe_sessions::DescribeSessionsError, + >, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::describe_sessions::paginator::DescribeSessionsPaginator::send) which returns a `Stream`. diff --git a/sdk/ssm/src/operation/disassociate_ops_item_related_item/builders.rs b/sdk/ssm/src/operation/disassociate_ops_item_related_item/builders.rs index 83c56854fbba..8a4508dee9cc 100644 --- a/sdk/ssm/src/operation/disassociate_ops_item_related_item/builders.rs +++ b/sdk/ssm/src/operation/disassociate_ops_item_related_item/builders.rs @@ -19,9 +19,9 @@ impl DisassociateOpsItemRelatedItemFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize(self) -> ::std::result::Result< + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware(self) -> ::std::result::Result< crate::client::customize::CustomizableOperation, ::aws_smithy_http::result::SdkError >{ @@ -64,6 +64,15 @@ impl DisassociateOpsItemRelatedItemFluentBuilder { { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize(self) -> ::std::result::Result< + crate::client::customize::CustomizableOperation, + ::aws_smithy_http::result::SdkError + >{ + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      The ID of the OpsItem for which you want to delete an association between the OpsItem and a related item.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      pub fn ops_item_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.ops_item_id(input.into()); diff --git a/sdk/ssm/src/operation/get_automation_execution/builders.rs b/sdk/ssm/src/operation/get_automation_execution/builders.rs index ed733adeab4e..542b22a5eae8 100644 --- a/sdk/ssm/src/operation/get_automation_execution/builders.rs +++ b/sdk/ssm/src/operation/get_automation_execution/builders.rs @@ -19,9 +19,9 @@ impl GetAutomationExecutionFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl GetAutomationExecutionFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::get_automation_execution::GetAutomationExecution, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::get_automation_execution::GetAutomationExecutionError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      The unique identifier for an existing automation execution to examine. The execution ID is returned by StartAutomationExecution when the execution of an Automation runbook is initiated.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      pub fn automation_execution_id( mut self, diff --git a/sdk/ssm/src/operation/get_calendar_state/builders.rs b/sdk/ssm/src/operation/get_calendar_state/builders.rs index bb131d742a0e..42e69b5d47a5 100644 --- a/sdk/ssm/src/operation/get_calendar_state/builders.rs +++ b/sdk/ssm/src/operation/get_calendar_state/builders.rs @@ -21,9 +21,9 @@ impl GetCalendarStateFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -85,6 +85,22 @@ impl GetCalendarStateFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::get_calendar_state::GetCalendarState, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::get_calendar_state::GetCalendarStateError, + >, + > { + self.customize_middleware().await + } /// Appends an item to `CalendarNames`. /// /// To override the contents of this collection use [`set_calendar_names`](Self::set_calendar_names). diff --git a/sdk/ssm/src/operation/get_command_invocation/builders.rs b/sdk/ssm/src/operation/get_command_invocation/builders.rs index bf01bc51be29..15088b2c6db2 100644 --- a/sdk/ssm/src/operation/get_command_invocation/builders.rs +++ b/sdk/ssm/src/operation/get_command_invocation/builders.rs @@ -20,9 +20,9 @@ impl GetCommandInvocationFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -84,6 +84,22 @@ impl GetCommandInvocationFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::get_command_invocation::GetCommandInvocation, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::get_command_invocation::GetCommandInvocationError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      (Required) The parent command ID of the invocation plugin.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      pub fn command_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.command_id(input.into()); diff --git a/sdk/ssm/src/operation/get_connection_status/builders.rs b/sdk/ssm/src/operation/get_connection_status/builders.rs index dd34ffbee68a..64657ae4f202 100644 --- a/sdk/ssm/src/operation/get_connection_status/builders.rs +++ b/sdk/ssm/src/operation/get_connection_status/builders.rs @@ -19,9 +19,9 @@ impl GetConnectionStatusFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl GetConnectionStatusFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::get_connection_status::GetConnectionStatus, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::get_connection_status::GetConnectionStatusError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      The managed node ID.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      pub fn target(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.target(input.into()); diff --git a/sdk/ssm/src/operation/get_default_patch_baseline/builders.rs b/sdk/ssm/src/operation/get_default_patch_baseline/builders.rs index 8dc3de454f23..91f74453b6d6 100644 --- a/sdk/ssm/src/operation/get_default_patch_baseline/builders.rs +++ b/sdk/ssm/src/operation/get_default_patch_baseline/builders.rs @@ -21,9 +21,9 @@ impl GetDefaultPatchBaselineFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -85,6 +85,22 @@ impl GetDefaultPatchBaselineFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::get_default_patch_baseline::GetDefaultPatchBaseline, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::get_default_patch_baseline::GetDefaultPatchBaselineError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      Returns the default patch baseline for the specified operating system.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      pub fn operating_system(mut self, input: crate::types::OperatingSystem) -> Self { self.inner = self.inner.operating_system(input); diff --git a/sdk/ssm/src/operation/get_deployable_patch_snapshot_for_instance/builders.rs b/sdk/ssm/src/operation/get_deployable_patch_snapshot_for_instance/builders.rs index c804a3a987be..09fdee663f9a 100644 --- a/sdk/ssm/src/operation/get_deployable_patch_snapshot_for_instance/builders.rs +++ b/sdk/ssm/src/operation/get_deployable_patch_snapshot_for_instance/builders.rs @@ -21,9 +21,9 @@ impl GetDeployablePatchSnapshotForInstanceFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize(self) -> ::std::result::Result< + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware(self) -> ::std::result::Result< crate::client::customize::CustomizableOperation, ::aws_smithy_http::result::SdkError >{ @@ -66,6 +66,15 @@ impl GetDeployablePatchSnapshotForInstanceFluentBuilder { { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize(self) -> ::std::result::Result< + crate::client::customize::CustomizableOperation, + ::aws_smithy_http::result::SdkError + >{ + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      The ID of the managed node for which the appropriate patch snapshot should be retrieved.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      pub fn instance_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.instance_id(input.into()); diff --git a/sdk/ssm/src/operation/get_document/builders.rs b/sdk/ssm/src/operation/get_document/builders.rs index 61a56d19451c..6baf476dfce2 100644 --- a/sdk/ssm/src/operation/get_document/builders.rs +++ b/sdk/ssm/src/operation/get_document/builders.rs @@ -19,9 +19,9 @@ impl GetDocumentFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl GetDocumentFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::get_document::GetDocument, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      The name of the SSM document.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      pub fn name(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.name(input.into()); diff --git a/sdk/ssm/src/operation/get_inventory/builders.rs b/sdk/ssm/src/operation/get_inventory/builders.rs index 22a35d21fa47..a55d23c5ecf0 100644 --- a/sdk/ssm/src/operation/get_inventory/builders.rs +++ b/sdk/ssm/src/operation/get_inventory/builders.rs @@ -19,9 +19,9 @@ impl GetInventoryFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl GetInventoryFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::get_inventory::GetInventory, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::get_inventory::paginator::GetInventoryPaginator::send) which returns a `Stream`. diff --git a/sdk/ssm/src/operation/get_inventory_schema/builders.rs b/sdk/ssm/src/operation/get_inventory_schema/builders.rs index 4681c80a4649..537612378010 100644 --- a/sdk/ssm/src/operation/get_inventory_schema/builders.rs +++ b/sdk/ssm/src/operation/get_inventory_schema/builders.rs @@ -19,9 +19,9 @@ impl GetInventorySchemaFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl GetInventorySchemaFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::get_inventory_schema::GetInventorySchema, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::get_inventory_schema::GetInventorySchemaError, + >, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::get_inventory_schema::paginator::GetInventorySchemaPaginator::send) which returns a `Stream`. diff --git a/sdk/ssm/src/operation/get_maintenance_window/builders.rs b/sdk/ssm/src/operation/get_maintenance_window/builders.rs index 10580ee853f1..f7fe66c30df9 100644 --- a/sdk/ssm/src/operation/get_maintenance_window/builders.rs +++ b/sdk/ssm/src/operation/get_maintenance_window/builders.rs @@ -19,9 +19,9 @@ impl GetMaintenanceWindowFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl GetMaintenanceWindowFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::get_maintenance_window::GetMaintenanceWindow, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::get_maintenance_window::GetMaintenanceWindowError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      The ID of the maintenance window for which you want to retrieve information.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      pub fn window_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.window_id(input.into()); diff --git a/sdk/ssm/src/operation/get_maintenance_window_execution/builders.rs b/sdk/ssm/src/operation/get_maintenance_window_execution/builders.rs index 0a1e35352fa0..56550648a628 100644 --- a/sdk/ssm/src/operation/get_maintenance_window_execution/builders.rs +++ b/sdk/ssm/src/operation/get_maintenance_window_execution/builders.rs @@ -19,9 +19,9 @@ impl GetMaintenanceWindowExecutionFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl GetMaintenanceWindowExecutionFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::get_maintenance_window_execution::GetMaintenanceWindowExecution, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::get_maintenance_window_execution::GetMaintenanceWindowExecutionError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      The ID of the maintenance window execution that includes the task.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      pub fn window_execution_id( mut self, diff --git a/sdk/ssm/src/operation/get_maintenance_window_execution_task/builders.rs b/sdk/ssm/src/operation/get_maintenance_window_execution_task/builders.rs index 90d6a45db5b6..65fa3b0dd5c1 100644 --- a/sdk/ssm/src/operation/get_maintenance_window_execution_task/builders.rs +++ b/sdk/ssm/src/operation/get_maintenance_window_execution_task/builders.rs @@ -19,9 +19,9 @@ impl GetMaintenanceWindowExecutionTaskFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize(self) -> ::std::result::Result< + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware(self) -> ::std::result::Result< crate::client::customize::CustomizableOperation, ::aws_smithy_http::result::SdkError >{ @@ -64,6 +64,15 @@ impl GetMaintenanceWindowExecutionTaskFluentBuilder { { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize(self) -> ::std::result::Result< + crate::client::customize::CustomizableOperation, + ::aws_smithy_http::result::SdkError + >{ + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      The ID of the maintenance window execution that includes the task.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      pub fn window_execution_id( mut self, diff --git a/sdk/ssm/src/operation/get_maintenance_window_execution_task_invocation/builders.rs b/sdk/ssm/src/operation/get_maintenance_window_execution_task_invocation/builders.rs index 06af502a946f..8ad47ba62d59 100644 --- a/sdk/ssm/src/operation/get_maintenance_window_execution_task_invocation/builders.rs +++ b/sdk/ssm/src/operation/get_maintenance_window_execution_task_invocation/builders.rs @@ -19,9 +19,9 @@ impl GetMaintenanceWindowExecutionTaskInvocationFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize(self) -> ::std::result::Result< + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware(self) -> ::std::result::Result< crate::client::customize::CustomizableOperation, ::aws_smithy_http::result::SdkError >{ @@ -64,6 +64,15 @@ impl GetMaintenanceWindowExecutionTaskInvocationFluentBuilder { { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize(self) -> ::std::result::Result< + crate::client::customize::CustomizableOperation, + ::aws_smithy_http::result::SdkError + >{ + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      The ID of the maintenance window execution for which the task is a part.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      pub fn window_execution_id( mut self, diff --git a/sdk/ssm/src/operation/get_maintenance_window_task/builders.rs b/sdk/ssm/src/operation/get_maintenance_window_task/builders.rs index 9966c74d8835..86f94c61bfd7 100644 --- a/sdk/ssm/src/operation/get_maintenance_window_task/builders.rs +++ b/sdk/ssm/src/operation/get_maintenance_window_task/builders.rs @@ -22,9 +22,9 @@ impl GetMaintenanceWindowTaskFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -86,6 +86,22 @@ impl GetMaintenanceWindowTaskFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::get_maintenance_window_task::GetMaintenanceWindowTask, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::get_maintenance_window_task::GetMaintenanceWindowTaskError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      The maintenance window ID that includes the task to retrieve.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      pub fn window_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.window_id(input.into()); diff --git a/sdk/ssm/src/operation/get_ops_item/builders.rs b/sdk/ssm/src/operation/get_ops_item/builders.rs index 0c822a2915a9..ac00f1072c35 100644 --- a/sdk/ssm/src/operation/get_ops_item/builders.rs +++ b/sdk/ssm/src/operation/get_ops_item/builders.rs @@ -20,9 +20,9 @@ impl GetOpsItemFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -78,6 +78,20 @@ impl GetOpsItemFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::get_ops_item::GetOpsItem, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      The ID of the OpsItem that you want to get.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      pub fn ops_item_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.ops_item_id(input.into()); diff --git a/sdk/ssm/src/operation/get_ops_metadata/builders.rs b/sdk/ssm/src/operation/get_ops_metadata/builders.rs index b9716302cf20..4920dba8fa8b 100644 --- a/sdk/ssm/src/operation/get_ops_metadata/builders.rs +++ b/sdk/ssm/src/operation/get_ops_metadata/builders.rs @@ -19,9 +19,9 @@ impl GetOpsMetadataFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl GetOpsMetadataFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::get_ops_metadata::GetOpsMetadata, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::get_ops_metadata::GetOpsMetadataError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      The Amazon Resource Name (ARN) of an OpsMetadata Object to view.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      pub fn ops_metadata_arn( mut self, diff --git a/sdk/ssm/src/operation/get_ops_summary/builders.rs b/sdk/ssm/src/operation/get_ops_summary/builders.rs index fd3b1959d688..3cc0aaa506e7 100644 --- a/sdk/ssm/src/operation/get_ops_summary/builders.rs +++ b/sdk/ssm/src/operation/get_ops_summary/builders.rs @@ -19,9 +19,9 @@ impl GetOpsSummaryFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl GetOpsSummaryFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::get_ops_summary::GetOpsSummary, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::get_ops_summary::paginator::GetOpsSummaryPaginator::send) which returns a `Stream`. diff --git a/sdk/ssm/src/operation/get_parameter/builders.rs b/sdk/ssm/src/operation/get_parameter/builders.rs index 4dd947cb1743..957713793b1e 100644 --- a/sdk/ssm/src/operation/get_parameter/builders.rs +++ b/sdk/ssm/src/operation/get_parameter/builders.rs @@ -21,9 +21,9 @@ impl GetParameterFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -79,6 +79,20 @@ impl GetParameterFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::get_parameter::GetParameter, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      The name of the parameter you want to query.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      ///

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      To query by parameter label, use "Name": "name:label". To query by parameter version, use "Name": "name:version".

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      pub fn name(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { diff --git a/sdk/ssm/src/operation/get_parameter_history/builders.rs b/sdk/ssm/src/operation/get_parameter_history/builders.rs index 7e0ccfa0f6aa..cf68ad4cdc3c 100644 --- a/sdk/ssm/src/operation/get_parameter_history/builders.rs +++ b/sdk/ssm/src/operation/get_parameter_history/builders.rs @@ -21,9 +21,9 @@ impl GetParameterHistoryFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -85,6 +85,22 @@ impl GetParameterHistoryFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::get_parameter_history::GetParameterHistory, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::get_parameter_history::GetParameterHistoryError, + >, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::get_parameter_history::paginator::GetParameterHistoryPaginator::send) which returns a `Stream`. diff --git a/sdk/ssm/src/operation/get_parameters/builders.rs b/sdk/ssm/src/operation/get_parameters/builders.rs index 060c16247173..7b5ff0c427b3 100644 --- a/sdk/ssm/src/operation/get_parameters/builders.rs +++ b/sdk/ssm/src/operation/get_parameters/builders.rs @@ -21,9 +21,9 @@ impl GetParametersFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -79,6 +79,20 @@ impl GetParametersFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::get_parameters::GetParameters, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } /// Appends an item to `Names`. /// /// To override the contents of this collection use [`set_names`](Self::set_names). diff --git a/sdk/ssm/src/operation/get_parameters_by_path/builders.rs b/sdk/ssm/src/operation/get_parameters_by_path/builders.rs index 3083b7b8b010..29e3328e7450 100644 --- a/sdk/ssm/src/operation/get_parameters_by_path/builders.rs +++ b/sdk/ssm/src/operation/get_parameters_by_path/builders.rs @@ -20,9 +20,9 @@ impl GetParametersByPathFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -84,6 +84,22 @@ impl GetParametersByPathFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::get_parameters_by_path::GetParametersByPath, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::get_parameters_by_path::GetParametersByPathError, + >, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::get_parameters_by_path::paginator::GetParametersByPathPaginator::send) which returns a `Stream`. diff --git a/sdk/ssm/src/operation/get_patch_baseline/builders.rs b/sdk/ssm/src/operation/get_patch_baseline/builders.rs index 9f16b4ad4137..2d65d478ca99 100644 --- a/sdk/ssm/src/operation/get_patch_baseline/builders.rs +++ b/sdk/ssm/src/operation/get_patch_baseline/builders.rs @@ -19,9 +19,9 @@ impl GetPatchBaselineFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl GetPatchBaselineFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::get_patch_baseline::GetPatchBaseline, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::get_patch_baseline::GetPatchBaselineError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      The ID of the patch baseline to retrieve.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      ///

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      To retrieve information about an Amazon Web Services managed patch baseline, specify the full Amazon Resource Name (ARN) of the baseline. For example, for the baseline AWS-AmazonLinuxDefaultPatchBaseline, specify arn:aws:ssm:us-east-2:733109147000:patchbaseline/pb-0e392de35e7c563b7 instead of pb-0e392de35e7c563b7.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      ///
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      diff --git a/sdk/ssm/src/operation/get_patch_baseline_for_patch_group/builders.rs b/sdk/ssm/src/operation/get_patch_baseline_for_patch_group/builders.rs index 06278f1a4e69..f79bd42f6e87 100644 --- a/sdk/ssm/src/operation/get_patch_baseline_for_patch_group/builders.rs +++ b/sdk/ssm/src/operation/get_patch_baseline_for_patch_group/builders.rs @@ -19,9 +19,9 @@ impl GetPatchBaselineForPatchGroupFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize(self) -> ::std::result::Result< + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware(self) -> ::std::result::Result< crate::client::customize::CustomizableOperation, ::aws_smithy_http::result::SdkError >{ @@ -64,6 +64,15 @@ impl GetPatchBaselineForPatchGroupFluentBuilder { { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize(self) -> ::std::result::Result< + crate::client::customize::CustomizableOperation, + ::aws_smithy_http::result::SdkError + >{ + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      The name of the patch group whose patch baseline should be retrieved.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      pub fn patch_group(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.patch_group(input.into()); diff --git a/sdk/ssm/src/operation/get_resource_policies/builders.rs b/sdk/ssm/src/operation/get_resource_policies/builders.rs index 2c26b80b9c17..61e95c60be0c 100644 --- a/sdk/ssm/src/operation/get_resource_policies/builders.rs +++ b/sdk/ssm/src/operation/get_resource_policies/builders.rs @@ -19,9 +19,9 @@ impl GetResourcePoliciesFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl GetResourcePoliciesFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::get_resource_policies::GetResourcePolicies, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::get_resource_policies::GetResourcePoliciesError, + >, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::get_resource_policies::paginator::GetResourcePoliciesPaginator::send) which returns a `Stream`. diff --git a/sdk/ssm/src/operation/get_service_setting/builders.rs b/sdk/ssm/src/operation/get_service_setting/builders.rs index 60000453792a..5890acb5e44b 100644 --- a/sdk/ssm/src/operation/get_service_setting/builders.rs +++ b/sdk/ssm/src/operation/get_service_setting/builders.rs @@ -21,9 +21,9 @@ impl GetServiceSettingFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -85,6 +85,22 @@ impl GetServiceSettingFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::get_service_setting::GetServiceSetting, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::get_service_setting::GetServiceSettingError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      The ID of the service setting to get. The setting ID can be one of the following.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      ///
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        ///
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      • /ssm/managed-instance/default-ec2-instance-management-role

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      • diff --git a/sdk/ssm/src/operation/label_parameter_version/builders.rs b/sdk/ssm/src/operation/label_parameter_version/builders.rs index 9ab120bca1c5..1ea72b4b793c 100644 --- a/sdk/ssm/src/operation/label_parameter_version/builders.rs +++ b/sdk/ssm/src/operation/label_parameter_version/builders.rs @@ -30,9 +30,9 @@ impl LabelParameterVersionFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -94,6 +94,22 @@ impl LabelParameterVersionFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::label_parameter_version::LabelParameterVersion, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::label_parameter_version::LabelParameterVersionError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        The parameter name on which you want to attach one or more labels.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        pub fn name(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.name(input.into()); diff --git a/sdk/ssm/src/operation/list_association_versions/builders.rs b/sdk/ssm/src/operation/list_association_versions/builders.rs index 2c80831022b5..6de871162bae 100644 --- a/sdk/ssm/src/operation/list_association_versions/builders.rs +++ b/sdk/ssm/src/operation/list_association_versions/builders.rs @@ -20,9 +20,9 @@ impl ListAssociationVersionsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -84,6 +84,22 @@ impl ListAssociationVersionsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_association_versions::ListAssociationVersions, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::list_association_versions::ListAssociationVersionsError, + >, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::list_association_versions::paginator::ListAssociationVersionsPaginator::send) which returns a `Stream`. diff --git a/sdk/ssm/src/operation/list_associations/builders.rs b/sdk/ssm/src/operation/list_associations/builders.rs index 79ad3d061e8c..3fa9d567b927 100644 --- a/sdk/ssm/src/operation/list_associations/builders.rs +++ b/sdk/ssm/src/operation/list_associations/builders.rs @@ -19,9 +19,9 @@ impl ListAssociationsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl ListAssociationsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_associations::ListAssociations, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::list_associations::ListAssociationsError, + >, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::list_associations::paginator::ListAssociationsPaginator::send) which returns a `Stream`. diff --git a/sdk/ssm/src/operation/list_command_invocations/builders.rs b/sdk/ssm/src/operation/list_command_invocations/builders.rs index 88c3947e2ceb..12b9e5e63de3 100644 --- a/sdk/ssm/src/operation/list_command_invocations/builders.rs +++ b/sdk/ssm/src/operation/list_command_invocations/builders.rs @@ -19,9 +19,9 @@ impl ListCommandInvocationsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl ListCommandInvocationsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_command_invocations::ListCommandInvocations, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::list_command_invocations::ListCommandInvocationsError, + >, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::list_command_invocations::paginator::ListCommandInvocationsPaginator::send) which returns a `Stream`. diff --git a/sdk/ssm/src/operation/list_commands/builders.rs b/sdk/ssm/src/operation/list_commands/builders.rs index c68e02b0673d..99e001afffda 100644 --- a/sdk/ssm/src/operation/list_commands/builders.rs +++ b/sdk/ssm/src/operation/list_commands/builders.rs @@ -19,9 +19,9 @@ impl ListCommandsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl ListCommandsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_commands::ListCommands, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::list_commands::paginator::ListCommandsPaginator::send) which returns a `Stream`. diff --git a/sdk/ssm/src/operation/list_compliance_items/builders.rs b/sdk/ssm/src/operation/list_compliance_items/builders.rs index d514b3cd0c40..5853b065c483 100644 --- a/sdk/ssm/src/operation/list_compliance_items/builders.rs +++ b/sdk/ssm/src/operation/list_compliance_items/builders.rs @@ -19,9 +19,9 @@ impl ListComplianceItemsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl ListComplianceItemsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_compliance_items::ListComplianceItems, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::list_compliance_items::ListComplianceItemsError, + >, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::list_compliance_items::paginator::ListComplianceItemsPaginator::send) which returns a `Stream`. diff --git a/sdk/ssm/src/operation/list_compliance_summaries/builders.rs b/sdk/ssm/src/operation/list_compliance_summaries/builders.rs index 73639f233141..3e2cd03edd3b 100644 --- a/sdk/ssm/src/operation/list_compliance_summaries/builders.rs +++ b/sdk/ssm/src/operation/list_compliance_summaries/builders.rs @@ -20,9 +20,9 @@ impl ListComplianceSummariesFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -84,6 +84,22 @@ impl ListComplianceSummariesFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_compliance_summaries::ListComplianceSummaries, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::list_compliance_summaries::ListComplianceSummariesError, + >, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::list_compliance_summaries::paginator::ListComplianceSummariesPaginator::send) which returns a `Stream`. diff --git a/sdk/ssm/src/operation/list_document_metadata_history/builders.rs b/sdk/ssm/src/operation/list_document_metadata_history/builders.rs index 6fa5eef16a4a..b65069851b6b 100644 --- a/sdk/ssm/src/operation/list_document_metadata_history/builders.rs +++ b/sdk/ssm/src/operation/list_document_metadata_history/builders.rs @@ -19,9 +19,9 @@ impl ListDocumentMetadataHistoryFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl ListDocumentMetadataHistoryFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_document_metadata_history::ListDocumentMetadataHistory, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::list_document_metadata_history::ListDocumentMetadataHistoryError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        The name of the change template.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        pub fn name(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.name(input.into()); diff --git a/sdk/ssm/src/operation/list_document_versions/builders.rs b/sdk/ssm/src/operation/list_document_versions/builders.rs index 6abdb6e8f636..9a681e5e8ae1 100644 --- a/sdk/ssm/src/operation/list_document_versions/builders.rs +++ b/sdk/ssm/src/operation/list_document_versions/builders.rs @@ -19,9 +19,9 @@ impl ListDocumentVersionsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl ListDocumentVersionsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_document_versions::ListDocumentVersions, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::list_document_versions::ListDocumentVersionsError, + >, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::list_document_versions::paginator::ListDocumentVersionsPaginator::send) which returns a `Stream`. diff --git a/sdk/ssm/src/operation/list_documents/builders.rs b/sdk/ssm/src/operation/list_documents/builders.rs index c6fec078b024..d23caa564836 100644 --- a/sdk/ssm/src/operation/list_documents/builders.rs +++ b/sdk/ssm/src/operation/list_documents/builders.rs @@ -19,9 +19,9 @@ impl ListDocumentsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl ListDocumentsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_documents::ListDocuments, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::list_documents::paginator::ListDocumentsPaginator::send) which returns a `Stream`. diff --git a/sdk/ssm/src/operation/list_inventory_entries/builders.rs b/sdk/ssm/src/operation/list_inventory_entries/builders.rs index 0767e6e0bee7..88e6a2326222 100644 --- a/sdk/ssm/src/operation/list_inventory_entries/builders.rs +++ b/sdk/ssm/src/operation/list_inventory_entries/builders.rs @@ -19,9 +19,9 @@ impl ListInventoryEntriesFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl ListInventoryEntriesFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_inventory_entries::ListInventoryEntries, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::list_inventory_entries::ListInventoryEntriesError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        The managed node ID for which you want inventory information.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        pub fn instance_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.instance_id(input.into()); diff --git a/sdk/ssm/src/operation/list_ops_item_events/builders.rs b/sdk/ssm/src/operation/list_ops_item_events/builders.rs index 739722d94a8d..4c366770a308 100644 --- a/sdk/ssm/src/operation/list_ops_item_events/builders.rs +++ b/sdk/ssm/src/operation/list_ops_item_events/builders.rs @@ -19,9 +19,9 @@ impl ListOpsItemEventsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl ListOpsItemEventsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_ops_item_events::ListOpsItemEvents, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::list_ops_item_events::ListOpsItemEventsError, + >, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::list_ops_item_events::paginator::ListOpsItemEventsPaginator::send) which returns a `Stream`. diff --git a/sdk/ssm/src/operation/list_ops_item_related_items/builders.rs b/sdk/ssm/src/operation/list_ops_item_related_items/builders.rs index bc5121bb6b34..732ed921b0e7 100644 --- a/sdk/ssm/src/operation/list_ops_item_related_items/builders.rs +++ b/sdk/ssm/src/operation/list_ops_item_related_items/builders.rs @@ -19,9 +19,9 @@ impl ListOpsItemRelatedItemsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl ListOpsItemRelatedItemsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_ops_item_related_items::ListOpsItemRelatedItems, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::list_ops_item_related_items::ListOpsItemRelatedItemsError, + >, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::list_ops_item_related_items::paginator::ListOpsItemRelatedItemsPaginator::send) which returns a `Stream`. diff --git a/sdk/ssm/src/operation/list_ops_metadata/builders.rs b/sdk/ssm/src/operation/list_ops_metadata/builders.rs index 801b78a3ee34..2a0019bb83ba 100644 --- a/sdk/ssm/src/operation/list_ops_metadata/builders.rs +++ b/sdk/ssm/src/operation/list_ops_metadata/builders.rs @@ -19,9 +19,9 @@ impl ListOpsMetadataFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl ListOpsMetadataFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_ops_metadata::ListOpsMetadata, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::list_ops_metadata::ListOpsMetadataError, + >, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::list_ops_metadata::paginator::ListOpsMetadataPaginator::send) which returns a `Stream`. diff --git a/sdk/ssm/src/operation/list_resource_compliance_summaries/builders.rs b/sdk/ssm/src/operation/list_resource_compliance_summaries/builders.rs index fb0481e32ff8..5e9c6ab81861 100644 --- a/sdk/ssm/src/operation/list_resource_compliance_summaries/builders.rs +++ b/sdk/ssm/src/operation/list_resource_compliance_summaries/builders.rs @@ -19,9 +19,9 @@ impl ListResourceComplianceSummariesFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize(self) -> ::std::result::Result< + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware(self) -> ::std::result::Result< crate::client::customize::CustomizableOperation, ::aws_smithy_http::result::SdkError >{ @@ -64,6 +64,15 @@ impl ListResourceComplianceSummariesFluentBuilder { { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize(self) -> ::std::result::Result< + crate::client::customize::CustomizableOperation, + ::aws_smithy_http::result::SdkError + >{ + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::list_resource_compliance_summaries::paginator::ListResourceComplianceSummariesPaginator::send) which returns a `Stream`. diff --git a/sdk/ssm/src/operation/list_resource_data_sync/builders.rs b/sdk/ssm/src/operation/list_resource_data_sync/builders.rs index 90a262015201..dcc54731a589 100644 --- a/sdk/ssm/src/operation/list_resource_data_sync/builders.rs +++ b/sdk/ssm/src/operation/list_resource_data_sync/builders.rs @@ -20,9 +20,9 @@ impl ListResourceDataSyncFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -84,6 +84,22 @@ impl ListResourceDataSyncFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_resource_data_sync::ListResourceDataSync, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::list_resource_data_sync::ListResourceDataSyncError, + >, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::list_resource_data_sync::paginator::ListResourceDataSyncPaginator::send) which returns a `Stream`. diff --git a/sdk/ssm/src/operation/list_tags_for_resource/builders.rs b/sdk/ssm/src/operation/list_tags_for_resource/builders.rs index cce82a6349c5..9d6a8e2d5cc8 100644 --- a/sdk/ssm/src/operation/list_tags_for_resource/builders.rs +++ b/sdk/ssm/src/operation/list_tags_for_resource/builders.rs @@ -20,9 +20,9 @@ impl ListTagsForResourceFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -84,6 +84,22 @@ impl ListTagsForResourceFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_tags_for_resource::ListTagsForResource, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::list_tags_for_resource::ListTagsForResourceError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        Returns a list of tags for a specific resource type.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        pub fn resource_type(mut self, input: crate::types::ResourceTypeForTagging) -> Self { self.inner = self.inner.resource_type(input); diff --git a/sdk/ssm/src/operation/modify_document_permission/builders.rs b/sdk/ssm/src/operation/modify_document_permission/builders.rs index 195889098517..413c83a29d79 100644 --- a/sdk/ssm/src/operation/modify_document_permission/builders.rs +++ b/sdk/ssm/src/operation/modify_document_permission/builders.rs @@ -19,9 +19,9 @@ impl ModifyDocumentPermissionFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl ModifyDocumentPermissionFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::modify_document_permission::ModifyDocumentPermission, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::modify_document_permission::ModifyDocumentPermissionError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        The name of the document that you want to share.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        pub fn name(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.name(input.into()); diff --git a/sdk/ssm/src/operation/put_compliance_items/builders.rs b/sdk/ssm/src/operation/put_compliance_items/builders.rs index ad7ca83d1301..ab8aa0154c37 100644 --- a/sdk/ssm/src/operation/put_compliance_items/builders.rs +++ b/sdk/ssm/src/operation/put_compliance_items/builders.rs @@ -37,9 +37,9 @@ impl PutComplianceItemsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -101,6 +101,22 @@ impl PutComplianceItemsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::put_compliance_items::PutComplianceItems, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::put_compliance_items::PutComplianceItemsError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        Specify an ID for this resource. For a managed node, this is the node ID.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        pub fn resource_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.resource_id(input.into()); diff --git a/sdk/ssm/src/operation/put_inventory/builders.rs b/sdk/ssm/src/operation/put_inventory/builders.rs index a1e43f3a3b3f..cc7630abd663 100644 --- a/sdk/ssm/src/operation/put_inventory/builders.rs +++ b/sdk/ssm/src/operation/put_inventory/builders.rs @@ -19,9 +19,9 @@ impl PutInventoryFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl PutInventoryFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::put_inventory::PutInventory, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        An managed node ID where you want to add or update inventory items.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        pub fn instance_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.instance_id(input.into()); diff --git a/sdk/ssm/src/operation/put_parameter/builders.rs b/sdk/ssm/src/operation/put_parameter/builders.rs index 3fc16fed8ac0..4999fb0db2e5 100644 --- a/sdk/ssm/src/operation/put_parameter/builders.rs +++ b/sdk/ssm/src/operation/put_parameter/builders.rs @@ -19,9 +19,9 @@ impl PutParameterFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl PutParameterFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::put_parameter::PutParameter, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        The fully qualified name of the parameter that you want to add to the system. The fully qualified name includes the complete hierarchy of the parameter path and name. For parameters in a hierarchy, you must include a leading forward slash character (/) when you create or reference a parameter. For example: /Dev/DBServer/MySQL/db-string13

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        ///

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        Naming Constraints:

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        ///
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          diff --git a/sdk/ssm/src/operation/put_resource_policy/builders.rs b/sdk/ssm/src/operation/put_resource_policy/builders.rs index 0898d8a6189c..b43e1403752f 100644 --- a/sdk/ssm/src/operation/put_resource_policy/builders.rs +++ b/sdk/ssm/src/operation/put_resource_policy/builders.rs @@ -19,9 +19,9 @@ impl PutResourcePolicyFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl PutResourcePolicyFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::put_resource_policy::PutResourcePolicy, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::put_resource_policy::PutResourcePolicyError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          Amazon Resource Name (ARN) of the resource to which you want to attach a policy.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          pub fn resource_arn(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.resource_arn(input.into()); diff --git a/sdk/ssm/src/operation/register_default_patch_baseline/builders.rs b/sdk/ssm/src/operation/register_default_patch_baseline/builders.rs index 3ef1513f5ecb..ebb19d116a44 100644 --- a/sdk/ssm/src/operation/register_default_patch_baseline/builders.rs +++ b/sdk/ssm/src/operation/register_default_patch_baseline/builders.rs @@ -20,9 +20,9 @@ impl RegisterDefaultPatchBaselineFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -84,6 +84,22 @@ impl RegisterDefaultPatchBaselineFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::register_default_patch_baseline::RegisterDefaultPatchBaseline, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::register_default_patch_baseline::RegisterDefaultPatchBaselineError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          The ID of the patch baseline that should be the default patch baseline.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          pub fn baseline_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.baseline_id(input.into()); diff --git a/sdk/ssm/src/operation/register_patch_baseline_for_patch_group/builders.rs b/sdk/ssm/src/operation/register_patch_baseline_for_patch_group/builders.rs index 57baab83dda1..712df86a0b8d 100644 --- a/sdk/ssm/src/operation/register_patch_baseline_for_patch_group/builders.rs +++ b/sdk/ssm/src/operation/register_patch_baseline_for_patch_group/builders.rs @@ -19,9 +19,9 @@ impl RegisterPatchBaselineForPatchGroupFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize(self) -> ::std::result::Result< + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware(self) -> ::std::result::Result< crate::client::customize::CustomizableOperation, ::aws_smithy_http::result::SdkError >{ @@ -64,6 +64,15 @@ impl RegisterPatchBaselineForPatchGroupFluentBuilder { { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize(self) -> ::std::result::Result< + crate::client::customize::CustomizableOperation, + ::aws_smithy_http::result::SdkError + >{ + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          The ID of the patch baseline to register with the patch group.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          pub fn baseline_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.baseline_id(input.into()); diff --git a/sdk/ssm/src/operation/register_target_with_maintenance_window/builders.rs b/sdk/ssm/src/operation/register_target_with_maintenance_window/builders.rs index 9b4df78c6ad2..fb9570c1de3c 100644 --- a/sdk/ssm/src/operation/register_target_with_maintenance_window/builders.rs +++ b/sdk/ssm/src/operation/register_target_with_maintenance_window/builders.rs @@ -19,9 +19,9 @@ impl RegisterTargetWithMaintenanceWindowFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize(self) -> ::std::result::Result< + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware(self) -> ::std::result::Result< crate::client::customize::CustomizableOperation, ::aws_smithy_http::result::SdkError >{ @@ -64,6 +64,15 @@ impl RegisterTargetWithMaintenanceWindowFluentBuilder { { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize(self) -> ::std::result::Result< + crate::client::customize::CustomizableOperation, + ::aws_smithy_http::result::SdkError + >{ + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          The ID of the maintenance window the target should be registered with.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          pub fn window_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.window_id(input.into()); diff --git a/sdk/ssm/src/operation/register_task_with_maintenance_window/builders.rs b/sdk/ssm/src/operation/register_task_with_maintenance_window/builders.rs index 34886ff3bff3..c3498d9e5f02 100644 --- a/sdk/ssm/src/operation/register_task_with_maintenance_window/builders.rs +++ b/sdk/ssm/src/operation/register_task_with_maintenance_window/builders.rs @@ -19,9 +19,9 @@ impl RegisterTaskWithMaintenanceWindowFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize(self) -> ::std::result::Result< + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware(self) -> ::std::result::Result< crate::client::customize::CustomizableOperation, ::aws_smithy_http::result::SdkError >{ @@ -64,6 +64,15 @@ impl RegisterTaskWithMaintenanceWindowFluentBuilder { { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize(self) -> ::std::result::Result< + crate::client::customize::CustomizableOperation, + ::aws_smithy_http::result::SdkError + >{ + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          The ID of the maintenance window the task should be added to.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          pub fn window_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.window_id(input.into()); diff --git a/sdk/ssm/src/operation/remove_tags_from_resource/builders.rs b/sdk/ssm/src/operation/remove_tags_from_resource/builders.rs index 2c06a6d776d5..07737b6f9eed 100644 --- a/sdk/ssm/src/operation/remove_tags_from_resource/builders.rs +++ b/sdk/ssm/src/operation/remove_tags_from_resource/builders.rs @@ -20,9 +20,9 @@ impl RemoveTagsFromResourceFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -84,6 +84,22 @@ impl RemoveTagsFromResourceFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::remove_tags_from_resource::RemoveTagsFromResource, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::remove_tags_from_resource::RemoveTagsFromResourceError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          The type of resource from which you want to remove a tag.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          ///

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          The ManagedInstance type for this API operation is only for on-premises managed nodes. Specify the name of the managed node in the following format: mi-ID_number . For example, mi-1a2b3c4d5e6f.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          ///
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          diff --git a/sdk/ssm/src/operation/reset_service_setting/builders.rs b/sdk/ssm/src/operation/reset_service_setting/builders.rs index e9440a0fb941..1962f9cf3ca2 100644 --- a/sdk/ssm/src/operation/reset_service_setting/builders.rs +++ b/sdk/ssm/src/operation/reset_service_setting/builders.rs @@ -21,9 +21,9 @@ impl ResetServiceSettingFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -85,6 +85,22 @@ impl ResetServiceSettingFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::reset_service_setting::ResetServiceSetting, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::reset_service_setting::ResetServiceSettingError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          The Amazon Resource Name (ARN) of the service setting to reset. The setting ID can be one of the following.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          ///
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            ///
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          • /ssm/managed-instance/default-ec2-instance-management-role

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          • diff --git a/sdk/ssm/src/operation/resume_session/builders.rs b/sdk/ssm/src/operation/resume_session/builders.rs index ecaf2235e768..40454e117de4 100644 --- a/sdk/ssm/src/operation/resume_session/builders.rs +++ b/sdk/ssm/src/operation/resume_session/builders.rs @@ -21,9 +21,9 @@ impl ResumeSessionFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -79,6 +79,20 @@ impl ResumeSessionFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::resume_session::ResumeSession, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            The ID of the disconnected session to resume.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            pub fn session_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.session_id(input.into()); diff --git a/sdk/ssm/src/operation/send_automation_signal/builders.rs b/sdk/ssm/src/operation/send_automation_signal/builders.rs index d1c3c16fe843..9ac4cfccbd78 100644 --- a/sdk/ssm/src/operation/send_automation_signal/builders.rs +++ b/sdk/ssm/src/operation/send_automation_signal/builders.rs @@ -19,9 +19,9 @@ impl SendAutomationSignalFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl SendAutomationSignalFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::send_automation_signal::SendAutomationSignal, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::send_automation_signal::SendAutomationSignalError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            The unique identifier for an existing Automation execution that you want to send the signal to.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            pub fn automation_execution_id( mut self, diff --git a/sdk/ssm/src/operation/send_command/builders.rs b/sdk/ssm/src/operation/send_command/builders.rs index b958b7d717b4..e72337773106 100644 --- a/sdk/ssm/src/operation/send_command/builders.rs +++ b/sdk/ssm/src/operation/send_command/builders.rs @@ -19,9 +19,9 @@ impl SendCommandFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl SendCommandFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::send_command::SendCommand, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } /// Appends an item to `InstanceIds`. /// /// To override the contents of this collection use [`set_instance_ids`](Self::set_instance_ids). diff --git a/sdk/ssm/src/operation/start_associations_once/builders.rs b/sdk/ssm/src/operation/start_associations_once/builders.rs index 757e7f0b398a..19d16cfdc90a 100644 --- a/sdk/ssm/src/operation/start_associations_once/builders.rs +++ b/sdk/ssm/src/operation/start_associations_once/builders.rs @@ -19,9 +19,9 @@ impl StartAssociationsOnceFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl StartAssociationsOnceFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::start_associations_once::StartAssociationsOnce, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::start_associations_once::StartAssociationsOnceError, + >, + > { + self.customize_middleware().await + } /// Appends an item to `AssociationIds`. /// /// To override the contents of this collection use [`set_association_ids`](Self::set_association_ids). diff --git a/sdk/ssm/src/operation/start_automation_execution/builders.rs b/sdk/ssm/src/operation/start_automation_execution/builders.rs index 94c0b5b49478..94a5c84d162f 100644 --- a/sdk/ssm/src/operation/start_automation_execution/builders.rs +++ b/sdk/ssm/src/operation/start_automation_execution/builders.rs @@ -19,9 +19,9 @@ impl StartAutomationExecutionFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl StartAutomationExecutionFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::start_automation_execution::StartAutomationExecution, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::start_automation_execution::StartAutomationExecutionError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            The name of the SSM document to run. This can be a public document or a custom document. To run a shared document belonging to another account, specify the document ARN. For more information about how to use shared documents, see Using shared SSM documents in the Amazon Web Services Systems Manager User Guide.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            pub fn document_name( mut self, diff --git a/sdk/ssm/src/operation/start_change_request_execution/builders.rs b/sdk/ssm/src/operation/start_change_request_execution/builders.rs index efba35f038f2..6d1e53c05e02 100644 --- a/sdk/ssm/src/operation/start_change_request_execution/builders.rs +++ b/sdk/ssm/src/operation/start_change_request_execution/builders.rs @@ -19,9 +19,9 @@ impl StartChangeRequestExecutionFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl StartChangeRequestExecutionFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::start_change_request_execution::StartChangeRequestExecution, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::start_change_request_execution::StartChangeRequestExecutionError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            The date and time specified in the change request to run the Automation runbooks.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            ///

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            The Automation runbooks specified for the runbook workflow can't run until all required approvals for the change request have been received.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            ///
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            diff --git a/sdk/ssm/src/operation/start_session/builders.rs b/sdk/ssm/src/operation/start_session/builders.rs index 2a2c9531429d..03db8f035336 100644 --- a/sdk/ssm/src/operation/start_session/builders.rs +++ b/sdk/ssm/src/operation/start_session/builders.rs @@ -22,9 +22,9 @@ impl StartSessionFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -80,6 +80,20 @@ impl StartSessionFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::start_session::StartSession, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            The managed node to connect to for the session.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            pub fn target(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.target(input.into()); diff --git a/sdk/ssm/src/operation/stop_automation_execution/builders.rs b/sdk/ssm/src/operation/stop_automation_execution/builders.rs index 1acf8134b2f6..b4017606b3ba 100644 --- a/sdk/ssm/src/operation/stop_automation_execution/builders.rs +++ b/sdk/ssm/src/operation/stop_automation_execution/builders.rs @@ -20,9 +20,9 @@ impl StopAutomationExecutionFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -84,6 +84,22 @@ impl StopAutomationExecutionFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::stop_automation_execution::StopAutomationExecution, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::stop_automation_execution::StopAutomationExecutionError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            The execution ID of the Automation to stop.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            pub fn automation_execution_id( mut self, diff --git a/sdk/ssm/src/operation/terminate_session/builders.rs b/sdk/ssm/src/operation/terminate_session/builders.rs index 8c0bb71606a4..809885426141 100644 --- a/sdk/ssm/src/operation/terminate_session/builders.rs +++ b/sdk/ssm/src/operation/terminate_session/builders.rs @@ -19,9 +19,9 @@ impl TerminateSessionFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl TerminateSessionFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::terminate_session::TerminateSession, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::terminate_session::TerminateSessionError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            The ID of the session to terminate.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            pub fn session_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.session_id(input.into()); diff --git a/sdk/ssm/src/operation/unlabel_parameter_version/builders.rs b/sdk/ssm/src/operation/unlabel_parameter_version/builders.rs index 28e705c38424..82efad33719b 100644 --- a/sdk/ssm/src/operation/unlabel_parameter_version/builders.rs +++ b/sdk/ssm/src/operation/unlabel_parameter_version/builders.rs @@ -20,9 +20,9 @@ impl UnlabelParameterVersionFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -84,6 +84,22 @@ impl UnlabelParameterVersionFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::unlabel_parameter_version::UnlabelParameterVersion, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::unlabel_parameter_version::UnlabelParameterVersionError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            The name of the parameter from which you want to delete one or more labels.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            pub fn name(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.name(input.into()); diff --git a/sdk/ssm/src/operation/update_association/builders.rs b/sdk/ssm/src/operation/update_association/builders.rs index f143b36fb057..f029d7b39220 100644 --- a/sdk/ssm/src/operation/update_association/builders.rs +++ b/sdk/ssm/src/operation/update_association/builders.rs @@ -26,9 +26,9 @@ impl UpdateAssociationFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -90,6 +90,22 @@ impl UpdateAssociationFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::update_association::UpdateAssociation, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::update_association::UpdateAssociationError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            The ID of the association you want to update.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            pub fn association_id( mut self, diff --git a/sdk/ssm/src/operation/update_association_status/builders.rs b/sdk/ssm/src/operation/update_association_status/builders.rs index d1c65a5d27ea..cf43bbb19f7c 100644 --- a/sdk/ssm/src/operation/update_association_status/builders.rs +++ b/sdk/ssm/src/operation/update_association_status/builders.rs @@ -21,9 +21,9 @@ impl UpdateAssociationStatusFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -85,6 +85,22 @@ impl UpdateAssociationStatusFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::update_association_status::UpdateAssociationStatus, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::update_association_status::UpdateAssociationStatusError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            The name of the SSM document.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            pub fn name(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.name(input.into()); diff --git a/sdk/ssm/src/operation/update_document/builders.rs b/sdk/ssm/src/operation/update_document/builders.rs index 3d2350cce2fe..526c1c8299d8 100644 --- a/sdk/ssm/src/operation/update_document/builders.rs +++ b/sdk/ssm/src/operation/update_document/builders.rs @@ -19,9 +19,9 @@ impl UpdateDocumentFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl UpdateDocumentFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::update_document::UpdateDocument, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            A valid JSON or YAML string.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            pub fn content(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.content(input.into()); diff --git a/sdk/ssm/src/operation/update_document_default_version/builders.rs b/sdk/ssm/src/operation/update_document_default_version/builders.rs index fc375677a63d..1494ab7cc028 100644 --- a/sdk/ssm/src/operation/update_document_default_version/builders.rs +++ b/sdk/ssm/src/operation/update_document_default_version/builders.rs @@ -21,9 +21,9 @@ impl UpdateDocumentDefaultVersionFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -85,6 +85,22 @@ impl UpdateDocumentDefaultVersionFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::update_document_default_version::UpdateDocumentDefaultVersion, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::update_document_default_version::UpdateDocumentDefaultVersionError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            The name of a custom document that you want to set as the default version.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            pub fn name(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.name(input.into()); diff --git a/sdk/ssm/src/operation/update_document_metadata/builders.rs b/sdk/ssm/src/operation/update_document_metadata/builders.rs index 430bc3041a27..c33b8f463652 100644 --- a/sdk/ssm/src/operation/update_document_metadata/builders.rs +++ b/sdk/ssm/src/operation/update_document_metadata/builders.rs @@ -19,9 +19,9 @@ impl UpdateDocumentMetadataFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl UpdateDocumentMetadataFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::update_document_metadata::UpdateDocumentMetadata, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::update_document_metadata::UpdateDocumentMetadataError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            The name of the change template for which a version's metadata is to be updated.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            pub fn name(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.name(input.into()); diff --git a/sdk/ssm/src/operation/update_maintenance_window/builders.rs b/sdk/ssm/src/operation/update_maintenance_window/builders.rs index f205b5622b00..401d38c0283c 100644 --- a/sdk/ssm/src/operation/update_maintenance_window/builders.rs +++ b/sdk/ssm/src/operation/update_maintenance_window/builders.rs @@ -22,9 +22,9 @@ impl UpdateMaintenanceWindowFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -86,6 +86,22 @@ impl UpdateMaintenanceWindowFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::update_maintenance_window::UpdateMaintenanceWindow, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::update_maintenance_window::UpdateMaintenanceWindowError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            The ID of the maintenance window to update.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            pub fn window_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.window_id(input.into()); diff --git a/sdk/ssm/src/operation/update_maintenance_window_target/builders.rs b/sdk/ssm/src/operation/update_maintenance_window_target/builders.rs index 460150be5368..35f70cd5f4d6 100644 --- a/sdk/ssm/src/operation/update_maintenance_window_target/builders.rs +++ b/sdk/ssm/src/operation/update_maintenance_window_target/builders.rs @@ -29,9 +29,9 @@ impl UpdateMaintenanceWindowTargetFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -93,6 +93,22 @@ impl UpdateMaintenanceWindowTargetFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::update_maintenance_window_target::UpdateMaintenanceWindowTarget, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::update_maintenance_window_target::UpdateMaintenanceWindowTargetError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            The maintenance window ID with which to modify the target.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            pub fn window_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.window_id(input.into()); diff --git a/sdk/ssm/src/operation/update_maintenance_window_task/builders.rs b/sdk/ssm/src/operation/update_maintenance_window_task/builders.rs index af28c39a083e..d43fe75c7550 100644 --- a/sdk/ssm/src/operation/update_maintenance_window_task/builders.rs +++ b/sdk/ssm/src/operation/update_maintenance_window_task/builders.rs @@ -32,9 +32,9 @@ impl UpdateMaintenanceWindowTaskFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -96,6 +96,22 @@ impl UpdateMaintenanceWindowTaskFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::update_maintenance_window_task::UpdateMaintenanceWindowTask, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::update_maintenance_window_task::UpdateMaintenanceWindowTaskError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            The maintenance window ID that contains the task to modify.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            pub fn window_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.window_id(input.into()); diff --git a/sdk/ssm/src/operation/update_managed_instance_role/builders.rs b/sdk/ssm/src/operation/update_managed_instance_role/builders.rs index a88af0c9ee17..07cb0b34017f 100644 --- a/sdk/ssm/src/operation/update_managed_instance_role/builders.rs +++ b/sdk/ssm/src/operation/update_managed_instance_role/builders.rs @@ -19,9 +19,9 @@ impl UpdateManagedInstanceRoleFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl UpdateManagedInstanceRoleFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::update_managed_instance_role::UpdateManagedInstanceRole, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::update_managed_instance_role::UpdateManagedInstanceRoleError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            The ID of the managed node where you want to update the role.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            pub fn instance_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.instance_id(input.into()); diff --git a/sdk/ssm/src/operation/update_ops_item/builders.rs b/sdk/ssm/src/operation/update_ops_item/builders.rs index 77663fd5486c..c6045b346ad5 100644 --- a/sdk/ssm/src/operation/update_ops_item/builders.rs +++ b/sdk/ssm/src/operation/update_ops_item/builders.rs @@ -20,9 +20,9 @@ impl UpdateOpsItemFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -78,6 +78,20 @@ impl UpdateOpsItemFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::update_ops_item::UpdateOpsItem, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            Update the information about the OpsItem. Provide enough information so that users reading this OpsItem for the first time understand the issue.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            pub fn description(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.description(input.into()); diff --git a/sdk/ssm/src/operation/update_ops_metadata/builders.rs b/sdk/ssm/src/operation/update_ops_metadata/builders.rs index 7b801787ec57..83c49be46028 100644 --- a/sdk/ssm/src/operation/update_ops_metadata/builders.rs +++ b/sdk/ssm/src/operation/update_ops_metadata/builders.rs @@ -19,9 +19,9 @@ impl UpdateOpsMetadataFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl UpdateOpsMetadataFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::update_ops_metadata::UpdateOpsMetadata, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::update_ops_metadata::UpdateOpsMetadataError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            The Amazon Resource Name (ARN) of the OpsMetadata Object to update.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            pub fn ops_metadata_arn( mut self, diff --git a/sdk/ssm/src/operation/update_patch_baseline/builders.rs b/sdk/ssm/src/operation/update_patch_baseline/builders.rs index deaa834fbe84..cf86135e16bf 100644 --- a/sdk/ssm/src/operation/update_patch_baseline/builders.rs +++ b/sdk/ssm/src/operation/update_patch_baseline/builders.rs @@ -21,9 +21,9 @@ impl UpdatePatchBaselineFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -85,6 +85,22 @@ impl UpdatePatchBaselineFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::update_patch_baseline::UpdatePatchBaseline, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::update_patch_baseline::UpdatePatchBaselineError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            The ID of the patch baseline to update.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            pub fn baseline_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.baseline_id(input.into()); diff --git a/sdk/ssm/src/operation/update_resource_data_sync/builders.rs b/sdk/ssm/src/operation/update_resource_data_sync/builders.rs index ce720aa34d0c..f6d2b647c5fb 100644 --- a/sdk/ssm/src/operation/update_resource_data_sync/builders.rs +++ b/sdk/ssm/src/operation/update_resource_data_sync/builders.rs @@ -22,9 +22,9 @@ impl UpdateResourceDataSyncFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -86,6 +86,22 @@ impl UpdateResourceDataSyncFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::update_resource_data_sync::UpdateResourceDataSync, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::update_resource_data_sync::UpdateResourceDataSyncError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            The name of the resource data sync you want to update.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            pub fn sync_name(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.sync_name(input.into()); diff --git a/sdk/ssm/src/operation/update_service_setting/builders.rs b/sdk/ssm/src/operation/update_service_setting/builders.rs index 8e602925801a..6b9ed0cd9cdf 100644 --- a/sdk/ssm/src/operation/update_service_setting/builders.rs +++ b/sdk/ssm/src/operation/update_service_setting/builders.rs @@ -21,9 +21,9 @@ impl UpdateServiceSettingFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -85,6 +85,22 @@ impl UpdateServiceSettingFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::update_service_setting::UpdateServiceSetting, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::update_service_setting::UpdateServiceSettingError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            The Amazon Resource Name (ARN) of the service setting to update. For example, arn:aws:ssm:us-east-1:111122223333:servicesetting/ssm/parameter-store/high-throughput-enabled. The setting ID can be one of the following.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            ///
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              ///
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            • /ssm/managed-instance/default-ec2-instance-management-role

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            • diff --git a/sdk/ssmcontacts/src/operation/accept_page/builders.rs b/sdk/ssmcontacts/src/operation/accept_page/builders.rs index 8db1b5ad5459..b39814a2eeca 100644 --- a/sdk/ssmcontacts/src/operation/accept_page/builders.rs +++ b/sdk/ssmcontacts/src/operation/accept_page/builders.rs @@ -19,9 +19,9 @@ impl AcceptPageFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl AcceptPageFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::accept_page::AcceptPage, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              The Amazon Resource Name (ARN) of the engagement to a contact channel.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              pub fn page_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.page_id(input.into()); diff --git a/sdk/ssmcontacts/src/operation/activate_contact_channel/builders.rs b/sdk/ssmcontacts/src/operation/activate_contact_channel/builders.rs index 1e13fd839056..7e6f2ff81dbc 100644 --- a/sdk/ssmcontacts/src/operation/activate_contact_channel/builders.rs +++ b/sdk/ssmcontacts/src/operation/activate_contact_channel/builders.rs @@ -19,9 +19,9 @@ impl ActivateContactChannelFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl ActivateContactChannelFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::activate_contact_channel::ActivateContactChannel, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::activate_contact_channel::ActivateContactChannelError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              The Amazon Resource Name (ARN) of the contact channel.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              pub fn contact_channel_id( mut self, diff --git a/sdk/ssmcontacts/src/operation/create_contact/builders.rs b/sdk/ssmcontacts/src/operation/create_contact/builders.rs index ce5670fa295e..17d9c3d431a1 100644 --- a/sdk/ssmcontacts/src/operation/create_contact/builders.rs +++ b/sdk/ssmcontacts/src/operation/create_contact/builders.rs @@ -19,9 +19,9 @@ impl CreateContactFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl CreateContactFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::create_contact::CreateContact, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              The short name to quickly identify a contact or escalation plan. The contact alias must be unique and identifiable.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              pub fn alias(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.alias(input.into()); diff --git a/sdk/ssmcontacts/src/operation/create_contact_channel/builders.rs b/sdk/ssmcontacts/src/operation/create_contact_channel/builders.rs index 83b07eb16b0d..bb5c8153dc59 100644 --- a/sdk/ssmcontacts/src/operation/create_contact_channel/builders.rs +++ b/sdk/ssmcontacts/src/operation/create_contact_channel/builders.rs @@ -19,9 +19,9 @@ impl CreateContactChannelFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl CreateContactChannelFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::create_contact_channel::CreateContactChannel, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::create_contact_channel::CreateContactChannelError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              The Amazon Resource Name (ARN) of the contact you are adding the contact channel to.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              pub fn contact_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.contact_id(input.into()); diff --git a/sdk/ssmcontacts/src/operation/create_rotation/builders.rs b/sdk/ssmcontacts/src/operation/create_rotation/builders.rs index 213f4d80514c..b5d05c45c7c2 100644 --- a/sdk/ssmcontacts/src/operation/create_rotation/builders.rs +++ b/sdk/ssmcontacts/src/operation/create_rotation/builders.rs @@ -19,9 +19,9 @@ impl CreateRotationFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl CreateRotationFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::create_rotation::CreateRotation, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              The name of the rotation.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              pub fn name(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.name(input.into()); diff --git a/sdk/ssmcontacts/src/operation/create_rotation_override/builders.rs b/sdk/ssmcontacts/src/operation/create_rotation_override/builders.rs index c60467c981e8..39c9ac511c96 100644 --- a/sdk/ssmcontacts/src/operation/create_rotation_override/builders.rs +++ b/sdk/ssmcontacts/src/operation/create_rotation_override/builders.rs @@ -19,9 +19,9 @@ impl CreateRotationOverrideFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl CreateRotationOverrideFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::create_rotation_override::CreateRotationOverride, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::create_rotation_override::CreateRotationOverrideError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              The Amazon Resource Name (ARN) of the rotation to create an override for.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              pub fn rotation_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.rotation_id(input.into()); diff --git a/sdk/ssmcontacts/src/operation/deactivate_contact_channel/builders.rs b/sdk/ssmcontacts/src/operation/deactivate_contact_channel/builders.rs index 9a80eb9e1779..7be3669fe7f4 100644 --- a/sdk/ssmcontacts/src/operation/deactivate_contact_channel/builders.rs +++ b/sdk/ssmcontacts/src/operation/deactivate_contact_channel/builders.rs @@ -19,9 +19,9 @@ impl DeactivateContactChannelFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl DeactivateContactChannelFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::deactivate_contact_channel::DeactivateContactChannel, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::deactivate_contact_channel::DeactivateContactChannelError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              The Amazon Resource Name (ARN) of the contact channel you're deactivating.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              pub fn contact_channel_id( mut self, diff --git a/sdk/ssmcontacts/src/operation/delete_contact/builders.rs b/sdk/ssmcontacts/src/operation/delete_contact/builders.rs index a893346c0861..7c09b15c4fd7 100644 --- a/sdk/ssmcontacts/src/operation/delete_contact/builders.rs +++ b/sdk/ssmcontacts/src/operation/delete_contact/builders.rs @@ -19,9 +19,9 @@ impl DeleteContactFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl DeleteContactFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::delete_contact::DeleteContact, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              The Amazon Resource Name (ARN) of the contact that you're deleting.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              pub fn contact_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.contact_id(input.into()); diff --git a/sdk/ssmcontacts/src/operation/delete_contact_channel/builders.rs b/sdk/ssmcontacts/src/operation/delete_contact_channel/builders.rs index e97210f8105f..74fc42e7cf48 100644 --- a/sdk/ssmcontacts/src/operation/delete_contact_channel/builders.rs +++ b/sdk/ssmcontacts/src/operation/delete_contact_channel/builders.rs @@ -19,9 +19,9 @@ impl DeleteContactChannelFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl DeleteContactChannelFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::delete_contact_channel::DeleteContactChannel, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::delete_contact_channel::DeleteContactChannelError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              The Amazon Resource Name (ARN) of the contact channel.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              pub fn contact_channel_id( mut self, diff --git a/sdk/ssmcontacts/src/operation/delete_rotation/builders.rs b/sdk/ssmcontacts/src/operation/delete_rotation/builders.rs index bbb7f7a43279..c2cb5de6bfc9 100644 --- a/sdk/ssmcontacts/src/operation/delete_rotation/builders.rs +++ b/sdk/ssmcontacts/src/operation/delete_rotation/builders.rs @@ -19,9 +19,9 @@ impl DeleteRotationFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl DeleteRotationFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::delete_rotation::DeleteRotation, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              The Amazon Resource Name (ARN) of the on-call rotation to delete.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              pub fn rotation_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.rotation_id(input.into()); diff --git a/sdk/ssmcontacts/src/operation/delete_rotation_override/builders.rs b/sdk/ssmcontacts/src/operation/delete_rotation_override/builders.rs index 5b96bd267cfa..e8cce3810f34 100644 --- a/sdk/ssmcontacts/src/operation/delete_rotation_override/builders.rs +++ b/sdk/ssmcontacts/src/operation/delete_rotation_override/builders.rs @@ -19,9 +19,9 @@ impl DeleteRotationOverrideFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl DeleteRotationOverrideFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::delete_rotation_override::DeleteRotationOverride, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::delete_rotation_override::DeleteRotationOverrideError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              The Amazon Resource Name (ARN) of the rotation that was overridden.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              pub fn rotation_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.rotation_id(input.into()); diff --git a/sdk/ssmcontacts/src/operation/describe_engagement/builders.rs b/sdk/ssmcontacts/src/operation/describe_engagement/builders.rs index 4fc771d05e07..3dc00bf4ea58 100644 --- a/sdk/ssmcontacts/src/operation/describe_engagement/builders.rs +++ b/sdk/ssmcontacts/src/operation/describe_engagement/builders.rs @@ -19,9 +19,9 @@ impl DescribeEngagementFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl DescribeEngagementFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::describe_engagement::DescribeEngagement, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::describe_engagement::DescribeEngagementError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              The Amazon Resource Name (ARN) of the engagement you want the details of.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              pub fn engagement_id( mut self, diff --git a/sdk/ssmcontacts/src/operation/describe_page/builders.rs b/sdk/ssmcontacts/src/operation/describe_page/builders.rs index adde845e8074..32c76584cdf0 100644 --- a/sdk/ssmcontacts/src/operation/describe_page/builders.rs +++ b/sdk/ssmcontacts/src/operation/describe_page/builders.rs @@ -19,9 +19,9 @@ impl DescribePageFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl DescribePageFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::describe_page::DescribePage, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              The ID of the engagement to a contact channel.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              pub fn page_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.page_id(input.into()); diff --git a/sdk/ssmcontacts/src/operation/get_contact/builders.rs b/sdk/ssmcontacts/src/operation/get_contact/builders.rs index bc4b40d09a39..2ce7463bbef3 100644 --- a/sdk/ssmcontacts/src/operation/get_contact/builders.rs +++ b/sdk/ssmcontacts/src/operation/get_contact/builders.rs @@ -19,9 +19,9 @@ impl GetContactFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl GetContactFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::get_contact::GetContact, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              The Amazon Resource Name (ARN) of the contact or escalation plan.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              pub fn contact_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.contact_id(input.into()); diff --git a/sdk/ssmcontacts/src/operation/get_contact_channel/builders.rs b/sdk/ssmcontacts/src/operation/get_contact_channel/builders.rs index 952fa3eb9fd1..eb4ac07a586c 100644 --- a/sdk/ssmcontacts/src/operation/get_contact_channel/builders.rs +++ b/sdk/ssmcontacts/src/operation/get_contact_channel/builders.rs @@ -19,9 +19,9 @@ impl GetContactChannelFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl GetContactChannelFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::get_contact_channel::GetContactChannel, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::get_contact_channel::GetContactChannelError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              The Amazon Resource Name (ARN) of the contact channel you want information about.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              pub fn contact_channel_id( mut self, diff --git a/sdk/ssmcontacts/src/operation/get_contact_policy/builders.rs b/sdk/ssmcontacts/src/operation/get_contact_policy/builders.rs index c373e9b7b2cc..bd151ada49b3 100644 --- a/sdk/ssmcontacts/src/operation/get_contact_policy/builders.rs +++ b/sdk/ssmcontacts/src/operation/get_contact_policy/builders.rs @@ -19,9 +19,9 @@ impl GetContactPolicyFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl GetContactPolicyFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::get_contact_policy::GetContactPolicy, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::get_contact_policy::GetContactPolicyError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              The Amazon Resource Name (ARN) of the contact or escalation plan.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              pub fn contact_arn(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.contact_arn(input.into()); diff --git a/sdk/ssmcontacts/src/operation/get_rotation/builders.rs b/sdk/ssmcontacts/src/operation/get_rotation/builders.rs index a2ece063404d..4caf15b868e6 100644 --- a/sdk/ssmcontacts/src/operation/get_rotation/builders.rs +++ b/sdk/ssmcontacts/src/operation/get_rotation/builders.rs @@ -19,9 +19,9 @@ impl GetRotationFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl GetRotationFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::get_rotation::GetRotation, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              The Amazon Resource Name (ARN) of the on-call rotation to retrieve information about.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              pub fn rotation_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.rotation_id(input.into()); diff --git a/sdk/ssmcontacts/src/operation/get_rotation_override/builders.rs b/sdk/ssmcontacts/src/operation/get_rotation_override/builders.rs index 514f7bae5789..bbf2c6616ed4 100644 --- a/sdk/ssmcontacts/src/operation/get_rotation_override/builders.rs +++ b/sdk/ssmcontacts/src/operation/get_rotation_override/builders.rs @@ -19,9 +19,9 @@ impl GetRotationOverrideFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl GetRotationOverrideFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::get_rotation_override::GetRotationOverride, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::get_rotation_override::GetRotationOverrideError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              The Amazon Resource Name (ARN) of the overridden rotation to retrieve information about.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              pub fn rotation_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.rotation_id(input.into()); diff --git a/sdk/ssmcontacts/src/operation/list_contact_channels/builders.rs b/sdk/ssmcontacts/src/operation/list_contact_channels/builders.rs index 964d27b76c4f..f811419f6d96 100644 --- a/sdk/ssmcontacts/src/operation/list_contact_channels/builders.rs +++ b/sdk/ssmcontacts/src/operation/list_contact_channels/builders.rs @@ -19,9 +19,9 @@ impl ListContactChannelsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl ListContactChannelsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_contact_channels::ListContactChannels, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::list_contact_channels::ListContactChannelsError, + >, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::list_contact_channels::paginator::ListContactChannelsPaginator::send) which returns a `Stream`. diff --git a/sdk/ssmcontacts/src/operation/list_contacts/builders.rs b/sdk/ssmcontacts/src/operation/list_contacts/builders.rs index 2763aa4307dc..e101dc3af684 100644 --- a/sdk/ssmcontacts/src/operation/list_contacts/builders.rs +++ b/sdk/ssmcontacts/src/operation/list_contacts/builders.rs @@ -19,9 +19,9 @@ impl ListContactsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl ListContactsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_contacts::ListContacts, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::list_contacts::paginator::ListContactsPaginator::send) which returns a `Stream`. diff --git a/sdk/ssmcontacts/src/operation/list_engagements/builders.rs b/sdk/ssmcontacts/src/operation/list_engagements/builders.rs index b95adda63c99..34a2070bb983 100644 --- a/sdk/ssmcontacts/src/operation/list_engagements/builders.rs +++ b/sdk/ssmcontacts/src/operation/list_engagements/builders.rs @@ -19,9 +19,9 @@ impl ListEngagementsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl ListEngagementsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_engagements::ListEngagements, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::list_engagements::ListEngagementsError, + >, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::list_engagements::paginator::ListEngagementsPaginator::send) which returns a `Stream`. diff --git a/sdk/ssmcontacts/src/operation/list_page_receipts/builders.rs b/sdk/ssmcontacts/src/operation/list_page_receipts/builders.rs index 0509a82248ee..fccf11054897 100644 --- a/sdk/ssmcontacts/src/operation/list_page_receipts/builders.rs +++ b/sdk/ssmcontacts/src/operation/list_page_receipts/builders.rs @@ -19,9 +19,9 @@ impl ListPageReceiptsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl ListPageReceiptsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_page_receipts::ListPageReceipts, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::list_page_receipts::ListPageReceiptsError, + >, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::list_page_receipts::paginator::ListPageReceiptsPaginator::send) which returns a `Stream`. diff --git a/sdk/ssmcontacts/src/operation/list_page_resolutions/builders.rs b/sdk/ssmcontacts/src/operation/list_page_resolutions/builders.rs index eb573eb90a92..c00b3e24cef7 100644 --- a/sdk/ssmcontacts/src/operation/list_page_resolutions/builders.rs +++ b/sdk/ssmcontacts/src/operation/list_page_resolutions/builders.rs @@ -19,9 +19,9 @@ impl ListPageResolutionsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl ListPageResolutionsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_page_resolutions::ListPageResolutions, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::list_page_resolutions::ListPageResolutionsError, + >, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::list_page_resolutions::paginator::ListPageResolutionsPaginator::send) which returns a `Stream`. diff --git a/sdk/ssmcontacts/src/operation/list_pages_by_contact/builders.rs b/sdk/ssmcontacts/src/operation/list_pages_by_contact/builders.rs index c1e68a9a5ed9..e4f4941d6fe7 100644 --- a/sdk/ssmcontacts/src/operation/list_pages_by_contact/builders.rs +++ b/sdk/ssmcontacts/src/operation/list_pages_by_contact/builders.rs @@ -19,9 +19,9 @@ impl ListPagesByContactFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl ListPagesByContactFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_pages_by_contact::ListPagesByContact, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::list_pages_by_contact::ListPagesByContactError, + >, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::list_pages_by_contact::paginator::ListPagesByContactPaginator::send) which returns a `Stream`. diff --git a/sdk/ssmcontacts/src/operation/list_pages_by_engagement/builders.rs b/sdk/ssmcontacts/src/operation/list_pages_by_engagement/builders.rs index 111f7ba2e4a6..0799505918b2 100644 --- a/sdk/ssmcontacts/src/operation/list_pages_by_engagement/builders.rs +++ b/sdk/ssmcontacts/src/operation/list_pages_by_engagement/builders.rs @@ -19,9 +19,9 @@ impl ListPagesByEngagementFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl ListPagesByEngagementFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_pages_by_engagement::ListPagesByEngagement, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::list_pages_by_engagement::ListPagesByEngagementError, + >, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::list_pages_by_engagement::paginator::ListPagesByEngagementPaginator::send) which returns a `Stream`. diff --git a/sdk/ssmcontacts/src/operation/list_preview_rotation_shifts/builders.rs b/sdk/ssmcontacts/src/operation/list_preview_rotation_shifts/builders.rs index 41e09817f5c1..6c3d6c0117c2 100644 --- a/sdk/ssmcontacts/src/operation/list_preview_rotation_shifts/builders.rs +++ b/sdk/ssmcontacts/src/operation/list_preview_rotation_shifts/builders.rs @@ -21,9 +21,9 @@ impl ListPreviewRotationShiftsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -85,6 +85,22 @@ impl ListPreviewRotationShiftsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_preview_rotation_shifts::ListPreviewRotationShifts, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::list_preview_rotation_shifts::ListPreviewRotationShiftsError, + >, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::list_preview_rotation_shifts::paginator::ListPreviewRotationShiftsPaginator::send) which returns a `Stream`. diff --git a/sdk/ssmcontacts/src/operation/list_rotation_overrides/builders.rs b/sdk/ssmcontacts/src/operation/list_rotation_overrides/builders.rs index 02fa1cd4fd47..31e49a9cdb35 100644 --- a/sdk/ssmcontacts/src/operation/list_rotation_overrides/builders.rs +++ b/sdk/ssmcontacts/src/operation/list_rotation_overrides/builders.rs @@ -19,9 +19,9 @@ impl ListRotationOverridesFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl ListRotationOverridesFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_rotation_overrides::ListRotationOverrides, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::list_rotation_overrides::ListRotationOverridesError, + >, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::list_rotation_overrides::paginator::ListRotationOverridesPaginator::send) which returns a `Stream`. diff --git a/sdk/ssmcontacts/src/operation/list_rotation_shifts/builders.rs b/sdk/ssmcontacts/src/operation/list_rotation_shifts/builders.rs index 284afaa4d00e..8117620b9600 100644 --- a/sdk/ssmcontacts/src/operation/list_rotation_shifts/builders.rs +++ b/sdk/ssmcontacts/src/operation/list_rotation_shifts/builders.rs @@ -19,9 +19,9 @@ impl ListRotationShiftsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl ListRotationShiftsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_rotation_shifts::ListRotationShifts, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::list_rotation_shifts::ListRotationShiftsError, + >, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::list_rotation_shifts::paginator::ListRotationShiftsPaginator::send) which returns a `Stream`. diff --git a/sdk/ssmcontacts/src/operation/list_rotations/builders.rs b/sdk/ssmcontacts/src/operation/list_rotations/builders.rs index 67c3b2357052..0c935b706205 100644 --- a/sdk/ssmcontacts/src/operation/list_rotations/builders.rs +++ b/sdk/ssmcontacts/src/operation/list_rotations/builders.rs @@ -19,9 +19,9 @@ impl ListRotationsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl ListRotationsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_rotations::ListRotations, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::list_rotations::paginator::ListRotationsPaginator::send) which returns a `Stream`. diff --git a/sdk/ssmcontacts/src/operation/list_tags_for_resource/builders.rs b/sdk/ssmcontacts/src/operation/list_tags_for_resource/builders.rs index 73e07654b585..e050e58e71a9 100644 --- a/sdk/ssmcontacts/src/operation/list_tags_for_resource/builders.rs +++ b/sdk/ssmcontacts/src/operation/list_tags_for_resource/builders.rs @@ -19,9 +19,9 @@ impl ListTagsForResourceFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl ListTagsForResourceFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_tags_for_resource::ListTagsForResource, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::list_tags_for_resource::ListTagsForResourceError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              The Amazon Resource Name (ARN) of the contact or escalation plan.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              pub fn resource_arn(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.resource_arn(input.into()); diff --git a/sdk/ssmcontacts/src/operation/put_contact_policy/builders.rs b/sdk/ssmcontacts/src/operation/put_contact_policy/builders.rs index b88edfbb44d4..a9dc54d2bb0a 100644 --- a/sdk/ssmcontacts/src/operation/put_contact_policy/builders.rs +++ b/sdk/ssmcontacts/src/operation/put_contact_policy/builders.rs @@ -19,9 +19,9 @@ impl PutContactPolicyFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl PutContactPolicyFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::put_contact_policy::PutContactPolicy, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::put_contact_policy::PutContactPolicyError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              The Amazon Resource Name (ARN) of the contact or escalation plan.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              pub fn contact_arn(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.contact_arn(input.into()); diff --git a/sdk/ssmcontacts/src/operation/send_activation_code/builders.rs b/sdk/ssmcontacts/src/operation/send_activation_code/builders.rs index 3d5737333688..1f5e94d29d62 100644 --- a/sdk/ssmcontacts/src/operation/send_activation_code/builders.rs +++ b/sdk/ssmcontacts/src/operation/send_activation_code/builders.rs @@ -19,9 +19,9 @@ impl SendActivationCodeFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl SendActivationCodeFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::send_activation_code::SendActivationCode, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::send_activation_code::SendActivationCodeError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              The Amazon Resource Name (ARN) of the contact channel.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              pub fn contact_channel_id( mut self, diff --git a/sdk/ssmcontacts/src/operation/start_engagement/builders.rs b/sdk/ssmcontacts/src/operation/start_engagement/builders.rs index 5938060ef160..b78b3a74a866 100644 --- a/sdk/ssmcontacts/src/operation/start_engagement/builders.rs +++ b/sdk/ssmcontacts/src/operation/start_engagement/builders.rs @@ -19,9 +19,9 @@ impl StartEngagementFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl StartEngagementFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::start_engagement::StartEngagement, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::start_engagement::StartEngagementError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              The Amazon Resource Name (ARN) of the contact being engaged.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              pub fn contact_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.contact_id(input.into()); diff --git a/sdk/ssmcontacts/src/operation/stop_engagement/builders.rs b/sdk/ssmcontacts/src/operation/stop_engagement/builders.rs index a0592b388941..7f819af1f39d 100644 --- a/sdk/ssmcontacts/src/operation/stop_engagement/builders.rs +++ b/sdk/ssmcontacts/src/operation/stop_engagement/builders.rs @@ -19,9 +19,9 @@ impl StopEngagementFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl StopEngagementFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::stop_engagement::StopEngagement, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              The Amazon Resource Name (ARN) of the engagement.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              pub fn engagement_id( mut self, diff --git a/sdk/ssmcontacts/src/operation/tag_resource/builders.rs b/sdk/ssmcontacts/src/operation/tag_resource/builders.rs index ad3011eb964c..b016d016add2 100644 --- a/sdk/ssmcontacts/src/operation/tag_resource/builders.rs +++ b/sdk/ssmcontacts/src/operation/tag_resource/builders.rs @@ -19,9 +19,9 @@ impl TagResourceFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl TagResourceFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::tag_resource::TagResource, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              The Amazon Resource Name (ARN) of the contact or escalation plan.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              pub fn resource_arn(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.resource_arn(input.into()); diff --git a/sdk/ssmcontacts/src/operation/untag_resource/builders.rs b/sdk/ssmcontacts/src/operation/untag_resource/builders.rs index cb205238ef09..544b46ef87e4 100644 --- a/sdk/ssmcontacts/src/operation/untag_resource/builders.rs +++ b/sdk/ssmcontacts/src/operation/untag_resource/builders.rs @@ -19,9 +19,9 @@ impl UntagResourceFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl UntagResourceFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::untag_resource::UntagResource, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              The Amazon Resource Name (ARN) of the contact or escalation plan.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              pub fn resource_arn(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.resource_arn(input.into()); diff --git a/sdk/ssmcontacts/src/operation/update_contact/builders.rs b/sdk/ssmcontacts/src/operation/update_contact/builders.rs index a0c0c2659ba8..a52b37da575d 100644 --- a/sdk/ssmcontacts/src/operation/update_contact/builders.rs +++ b/sdk/ssmcontacts/src/operation/update_contact/builders.rs @@ -19,9 +19,9 @@ impl UpdateContactFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl UpdateContactFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::update_contact::UpdateContact, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              The Amazon Resource Name (ARN) of the contact or escalation plan you're updating.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              pub fn contact_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.contact_id(input.into()); diff --git a/sdk/ssmcontacts/src/operation/update_contact_channel/builders.rs b/sdk/ssmcontacts/src/operation/update_contact_channel/builders.rs index 0c3d255f7d9d..162fd85a3043 100644 --- a/sdk/ssmcontacts/src/operation/update_contact_channel/builders.rs +++ b/sdk/ssmcontacts/src/operation/update_contact_channel/builders.rs @@ -19,9 +19,9 @@ impl UpdateContactChannelFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl UpdateContactChannelFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::update_contact_channel::UpdateContactChannel, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::update_contact_channel::UpdateContactChannelError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              The Amazon Resource Name (ARN) of the contact channel you want to update.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              pub fn contact_channel_id( mut self, diff --git a/sdk/ssmcontacts/src/operation/update_rotation/builders.rs b/sdk/ssmcontacts/src/operation/update_rotation/builders.rs index 73fbeae1be35..e5b4eaecb733 100644 --- a/sdk/ssmcontacts/src/operation/update_rotation/builders.rs +++ b/sdk/ssmcontacts/src/operation/update_rotation/builders.rs @@ -19,9 +19,9 @@ impl UpdateRotationFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl UpdateRotationFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::update_rotation::UpdateRotation, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              The Amazon Resource Name (ARN) of the rotation to update.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              pub fn rotation_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.rotation_id(input.into()); diff --git a/sdk/ssmincidents/src/operation/create_replication_set/builders.rs b/sdk/ssmincidents/src/operation/create_replication_set/builders.rs index e75cf066b719..da8efe06c4cc 100644 --- a/sdk/ssmincidents/src/operation/create_replication_set/builders.rs +++ b/sdk/ssmincidents/src/operation/create_replication_set/builders.rs @@ -19,9 +19,9 @@ impl CreateReplicationSetFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl CreateReplicationSetFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::create_replication_set::CreateReplicationSet, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::create_replication_set::CreateReplicationSetError, + >, + > { + self.customize_middleware().await + } /// Adds a key-value pair to `regions`. /// /// To override the contents of this collection use [`set_regions`](Self::set_regions). diff --git a/sdk/ssmincidents/src/operation/create_response_plan/builders.rs b/sdk/ssmincidents/src/operation/create_response_plan/builders.rs index 8417b2823d37..86ab7bdfebd5 100644 --- a/sdk/ssmincidents/src/operation/create_response_plan/builders.rs +++ b/sdk/ssmincidents/src/operation/create_response_plan/builders.rs @@ -19,9 +19,9 @@ impl CreateResponsePlanFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl CreateResponsePlanFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::create_response_plan::CreateResponsePlan, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::create_response_plan::CreateResponsePlanError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              A token ensuring that the operation is called only once with the specified details.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              pub fn client_token(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.client_token(input.into()); diff --git a/sdk/ssmincidents/src/operation/create_timeline_event/builders.rs b/sdk/ssmincidents/src/operation/create_timeline_event/builders.rs index fcb46baa1b7d..d94d8d1332b9 100644 --- a/sdk/ssmincidents/src/operation/create_timeline_event/builders.rs +++ b/sdk/ssmincidents/src/operation/create_timeline_event/builders.rs @@ -19,9 +19,9 @@ impl CreateTimelineEventFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl CreateTimelineEventFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::create_timeline_event::CreateTimelineEvent, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::create_timeline_event::CreateTimelineEventError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              A token that ensures that a client calls the action only once with the specified details.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              pub fn client_token(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.client_token(input.into()); diff --git a/sdk/ssmincidents/src/operation/delete_incident_record/builders.rs b/sdk/ssmincidents/src/operation/delete_incident_record/builders.rs index c35e5f32510d..8f5f784784c3 100644 --- a/sdk/ssmincidents/src/operation/delete_incident_record/builders.rs +++ b/sdk/ssmincidents/src/operation/delete_incident_record/builders.rs @@ -19,9 +19,9 @@ impl DeleteIncidentRecordFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl DeleteIncidentRecordFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::delete_incident_record::DeleteIncidentRecord, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::delete_incident_record::DeleteIncidentRecordError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              The Amazon Resource Name (ARN) of the incident record you are deleting.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              pub fn arn(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.arn(input.into()); diff --git a/sdk/ssmincidents/src/operation/delete_replication_set/builders.rs b/sdk/ssmincidents/src/operation/delete_replication_set/builders.rs index 970d0a143746..e8103592445d 100644 --- a/sdk/ssmincidents/src/operation/delete_replication_set/builders.rs +++ b/sdk/ssmincidents/src/operation/delete_replication_set/builders.rs @@ -19,9 +19,9 @@ impl DeleteReplicationSetFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl DeleteReplicationSetFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::delete_replication_set::DeleteReplicationSet, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::delete_replication_set::DeleteReplicationSetError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              The Amazon Resource Name (ARN) of the replication set you're deleting.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              pub fn arn(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.arn(input.into()); diff --git a/sdk/ssmincidents/src/operation/delete_resource_policy/builders.rs b/sdk/ssmincidents/src/operation/delete_resource_policy/builders.rs index 8ebddd6d3e67..bcc428e5cbce 100644 --- a/sdk/ssmincidents/src/operation/delete_resource_policy/builders.rs +++ b/sdk/ssmincidents/src/operation/delete_resource_policy/builders.rs @@ -19,9 +19,9 @@ impl DeleteResourcePolicyFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl DeleteResourcePolicyFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::delete_resource_policy::DeleteResourcePolicy, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::delete_resource_policy::DeleteResourcePolicyError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              The Amazon Resource Name (ARN) of the resource you're deleting the policy from.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              pub fn resource_arn(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.resource_arn(input.into()); diff --git a/sdk/ssmincidents/src/operation/delete_response_plan/builders.rs b/sdk/ssmincidents/src/operation/delete_response_plan/builders.rs index cee9cbc86f58..9cb19cbad879 100644 --- a/sdk/ssmincidents/src/operation/delete_response_plan/builders.rs +++ b/sdk/ssmincidents/src/operation/delete_response_plan/builders.rs @@ -19,9 +19,9 @@ impl DeleteResponsePlanFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl DeleteResponsePlanFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::delete_response_plan::DeleteResponsePlan, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::delete_response_plan::DeleteResponsePlanError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              The Amazon Resource Name (ARN) of the response plan.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              pub fn arn(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.arn(input.into()); diff --git a/sdk/ssmincidents/src/operation/delete_timeline_event/builders.rs b/sdk/ssmincidents/src/operation/delete_timeline_event/builders.rs index 3b389fb84260..4d5bc41a9994 100644 --- a/sdk/ssmincidents/src/operation/delete_timeline_event/builders.rs +++ b/sdk/ssmincidents/src/operation/delete_timeline_event/builders.rs @@ -19,9 +19,9 @@ impl DeleteTimelineEventFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl DeleteTimelineEventFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::delete_timeline_event::DeleteTimelineEvent, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::delete_timeline_event::DeleteTimelineEventError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              The Amazon Resource Name (ARN) of the incident that includes the timeline event.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              pub fn incident_record_arn( mut self, diff --git a/sdk/ssmincidents/src/operation/get_incident_record/builders.rs b/sdk/ssmincidents/src/operation/get_incident_record/builders.rs index b0ec30dd5238..ce331c7045e7 100644 --- a/sdk/ssmincidents/src/operation/get_incident_record/builders.rs +++ b/sdk/ssmincidents/src/operation/get_incident_record/builders.rs @@ -19,9 +19,9 @@ impl GetIncidentRecordFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl GetIncidentRecordFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::get_incident_record::GetIncidentRecord, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::get_incident_record::GetIncidentRecordError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              The Amazon Resource Name (ARN) of the incident record.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              pub fn arn(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.arn(input.into()); diff --git a/sdk/ssmincidents/src/operation/get_replication_set/builders.rs b/sdk/ssmincidents/src/operation/get_replication_set/builders.rs index 988c15ce6675..8b7063f29ae8 100644 --- a/sdk/ssmincidents/src/operation/get_replication_set/builders.rs +++ b/sdk/ssmincidents/src/operation/get_replication_set/builders.rs @@ -19,9 +19,9 @@ impl GetReplicationSetFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl GetReplicationSetFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::get_replication_set::GetReplicationSet, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::get_replication_set::GetReplicationSetError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              The Amazon Resource Name (ARN) of the replication set you want to retrieve.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              pub fn arn(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.arn(input.into()); diff --git a/sdk/ssmincidents/src/operation/get_resource_policies/builders.rs b/sdk/ssmincidents/src/operation/get_resource_policies/builders.rs index fabb627cbc7f..d7cf90fef067 100644 --- a/sdk/ssmincidents/src/operation/get_resource_policies/builders.rs +++ b/sdk/ssmincidents/src/operation/get_resource_policies/builders.rs @@ -19,9 +19,9 @@ impl GetResourcePoliciesFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl GetResourcePoliciesFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::get_resource_policies::GetResourcePolicies, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::get_resource_policies::GetResourcePoliciesError, + >, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::get_resource_policies::paginator::GetResourcePoliciesPaginator::send) which returns a `Stream`. diff --git a/sdk/ssmincidents/src/operation/get_response_plan/builders.rs b/sdk/ssmincidents/src/operation/get_response_plan/builders.rs index a882918ec58b..6ee71b183df9 100644 --- a/sdk/ssmincidents/src/operation/get_response_plan/builders.rs +++ b/sdk/ssmincidents/src/operation/get_response_plan/builders.rs @@ -19,9 +19,9 @@ impl GetResponsePlanFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl GetResponsePlanFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::get_response_plan::GetResponsePlan, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::get_response_plan::GetResponsePlanError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              The Amazon Resource Name (ARN) of the response plan.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              pub fn arn(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.arn(input.into()); diff --git a/sdk/ssmincidents/src/operation/get_timeline_event/builders.rs b/sdk/ssmincidents/src/operation/get_timeline_event/builders.rs index 5f249a854976..54610daef265 100644 --- a/sdk/ssmincidents/src/operation/get_timeline_event/builders.rs +++ b/sdk/ssmincidents/src/operation/get_timeline_event/builders.rs @@ -19,9 +19,9 @@ impl GetTimelineEventFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl GetTimelineEventFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::get_timeline_event::GetTimelineEvent, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::get_timeline_event::GetTimelineEventError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              The Amazon Resource Name (ARN) of the incident that includes the timeline event.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              pub fn incident_record_arn( mut self, diff --git a/sdk/ssmincidents/src/operation/list_incident_records/builders.rs b/sdk/ssmincidents/src/operation/list_incident_records/builders.rs index d9142e882c35..21dea1429db2 100644 --- a/sdk/ssmincidents/src/operation/list_incident_records/builders.rs +++ b/sdk/ssmincidents/src/operation/list_incident_records/builders.rs @@ -19,9 +19,9 @@ impl ListIncidentRecordsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl ListIncidentRecordsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_incident_records::ListIncidentRecords, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::list_incident_records::ListIncidentRecordsError, + >, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::list_incident_records::paginator::ListIncidentRecordsPaginator::send) which returns a `Stream`. diff --git a/sdk/ssmincidents/src/operation/list_related_items/builders.rs b/sdk/ssmincidents/src/operation/list_related_items/builders.rs index a529a3842c5c..9e3c2e29d520 100644 --- a/sdk/ssmincidents/src/operation/list_related_items/builders.rs +++ b/sdk/ssmincidents/src/operation/list_related_items/builders.rs @@ -19,9 +19,9 @@ impl ListRelatedItemsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl ListRelatedItemsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_related_items::ListRelatedItems, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::list_related_items::ListRelatedItemsError, + >, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::list_related_items::paginator::ListRelatedItemsPaginator::send) which returns a `Stream`. diff --git a/sdk/ssmincidents/src/operation/list_replication_sets/builders.rs b/sdk/ssmincidents/src/operation/list_replication_sets/builders.rs index 0c3ae733e60c..adcebc6a6e4a 100644 --- a/sdk/ssmincidents/src/operation/list_replication_sets/builders.rs +++ b/sdk/ssmincidents/src/operation/list_replication_sets/builders.rs @@ -19,9 +19,9 @@ impl ListReplicationSetsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl ListReplicationSetsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_replication_sets::ListReplicationSets, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::list_replication_sets::ListReplicationSetsError, + >, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::list_replication_sets::paginator::ListReplicationSetsPaginator::send) which returns a `Stream`. diff --git a/sdk/ssmincidents/src/operation/list_response_plans/builders.rs b/sdk/ssmincidents/src/operation/list_response_plans/builders.rs index a7dcd9a187e3..36c0819a6a5f 100644 --- a/sdk/ssmincidents/src/operation/list_response_plans/builders.rs +++ b/sdk/ssmincidents/src/operation/list_response_plans/builders.rs @@ -19,9 +19,9 @@ impl ListResponsePlansFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl ListResponsePlansFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_response_plans::ListResponsePlans, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::list_response_plans::ListResponsePlansError, + >, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::list_response_plans::paginator::ListResponsePlansPaginator::send) which returns a `Stream`. diff --git a/sdk/ssmincidents/src/operation/list_tags_for_resource/builders.rs b/sdk/ssmincidents/src/operation/list_tags_for_resource/builders.rs index c01ac7389051..49aae51d0502 100644 --- a/sdk/ssmincidents/src/operation/list_tags_for_resource/builders.rs +++ b/sdk/ssmincidents/src/operation/list_tags_for_resource/builders.rs @@ -19,9 +19,9 @@ impl ListTagsForResourceFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl ListTagsForResourceFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_tags_for_resource::ListTagsForResource, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::list_tags_for_resource::ListTagsForResourceError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              The Amazon Resource Name (ARN) of the response plan.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              pub fn resource_arn(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.resource_arn(input.into()); diff --git a/sdk/ssmincidents/src/operation/list_timeline_events/builders.rs b/sdk/ssmincidents/src/operation/list_timeline_events/builders.rs index 5054b1e23585..e45cef8a7c29 100644 --- a/sdk/ssmincidents/src/operation/list_timeline_events/builders.rs +++ b/sdk/ssmincidents/src/operation/list_timeline_events/builders.rs @@ -19,9 +19,9 @@ impl ListTimelineEventsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl ListTimelineEventsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_timeline_events::ListTimelineEvents, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::list_timeline_events::ListTimelineEventsError, + >, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::list_timeline_events::paginator::ListTimelineEventsPaginator::send) which returns a `Stream`. diff --git a/sdk/ssmincidents/src/operation/put_resource_policy/builders.rs b/sdk/ssmincidents/src/operation/put_resource_policy/builders.rs index d2865486c208..9a121c40d42f 100644 --- a/sdk/ssmincidents/src/operation/put_resource_policy/builders.rs +++ b/sdk/ssmincidents/src/operation/put_resource_policy/builders.rs @@ -19,9 +19,9 @@ impl PutResourcePolicyFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl PutResourcePolicyFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::put_resource_policy::PutResourcePolicy, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::put_resource_policy::PutResourcePolicyError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              The Amazon Resource Name (ARN) of the response plan to add the resource policy to.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              pub fn resource_arn(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.resource_arn(input.into()); diff --git a/sdk/ssmincidents/src/operation/start_incident/builders.rs b/sdk/ssmincidents/src/operation/start_incident/builders.rs index 99b9c6bd17f5..703971700cbb 100644 --- a/sdk/ssmincidents/src/operation/start_incident/builders.rs +++ b/sdk/ssmincidents/src/operation/start_incident/builders.rs @@ -19,9 +19,9 @@ impl StartIncidentFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl StartIncidentFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::start_incident::StartIncident, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              A token ensuring that the operation is called only once with the specified details.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              pub fn client_token(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.client_token(input.into()); diff --git a/sdk/ssmincidents/src/operation/tag_resource/builders.rs b/sdk/ssmincidents/src/operation/tag_resource/builders.rs index e44485d123d5..be2630d9face 100644 --- a/sdk/ssmincidents/src/operation/tag_resource/builders.rs +++ b/sdk/ssmincidents/src/operation/tag_resource/builders.rs @@ -19,9 +19,9 @@ impl TagResourceFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl TagResourceFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::tag_resource::TagResource, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              The Amazon Resource Name (ARN) of the response plan you're adding the tags to.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              pub fn resource_arn(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.resource_arn(input.into()); diff --git a/sdk/ssmincidents/src/operation/untag_resource/builders.rs b/sdk/ssmincidents/src/operation/untag_resource/builders.rs index bbeb165a5236..afb7a3551b84 100644 --- a/sdk/ssmincidents/src/operation/untag_resource/builders.rs +++ b/sdk/ssmincidents/src/operation/untag_resource/builders.rs @@ -19,9 +19,9 @@ impl UntagResourceFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl UntagResourceFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::untag_resource::UntagResource, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              The Amazon Resource Name (ARN) of the response plan you're removing a tag from.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              pub fn resource_arn(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.resource_arn(input.into()); diff --git a/sdk/ssmincidents/src/operation/update_deletion_protection/builders.rs b/sdk/ssmincidents/src/operation/update_deletion_protection/builders.rs index a3d758e60b5d..3dc499e1690f 100644 --- a/sdk/ssmincidents/src/operation/update_deletion_protection/builders.rs +++ b/sdk/ssmincidents/src/operation/update_deletion_protection/builders.rs @@ -19,9 +19,9 @@ impl UpdateDeletionProtectionFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl UpdateDeletionProtectionFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::update_deletion_protection::UpdateDeletionProtection, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::update_deletion_protection::UpdateDeletionProtectionError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              The Amazon Resource Name (ARN) of the replication set to update.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              pub fn arn(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.arn(input.into()); diff --git a/sdk/ssmincidents/src/operation/update_incident_record/builders.rs b/sdk/ssmincidents/src/operation/update_incident_record/builders.rs index e9a40d3f0df1..0ae99eb46a4f 100644 --- a/sdk/ssmincidents/src/operation/update_incident_record/builders.rs +++ b/sdk/ssmincidents/src/operation/update_incident_record/builders.rs @@ -19,9 +19,9 @@ impl UpdateIncidentRecordFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl UpdateIncidentRecordFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::update_incident_record::UpdateIncidentRecord, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::update_incident_record::UpdateIncidentRecordError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              A token that ensures that a client calls the operation only once with the specified details.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              pub fn client_token(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.client_token(input.into()); diff --git a/sdk/ssmincidents/src/operation/update_related_items/builders.rs b/sdk/ssmincidents/src/operation/update_related_items/builders.rs index 417155db7719..2dcb1d4e729e 100644 --- a/sdk/ssmincidents/src/operation/update_related_items/builders.rs +++ b/sdk/ssmincidents/src/operation/update_related_items/builders.rs @@ -19,9 +19,9 @@ impl UpdateRelatedItemsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl UpdateRelatedItemsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::update_related_items::UpdateRelatedItems, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::update_related_items::UpdateRelatedItemsError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              A token that ensures that a client calls the operation only once with the specified details.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              pub fn client_token(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.client_token(input.into()); diff --git a/sdk/ssmincidents/src/operation/update_replication_set/builders.rs b/sdk/ssmincidents/src/operation/update_replication_set/builders.rs index 88748e60af95..6b934b40617a 100644 --- a/sdk/ssmincidents/src/operation/update_replication_set/builders.rs +++ b/sdk/ssmincidents/src/operation/update_replication_set/builders.rs @@ -19,9 +19,9 @@ impl UpdateReplicationSetFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl UpdateReplicationSetFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::update_replication_set::UpdateReplicationSet, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::update_replication_set::UpdateReplicationSetError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              The Amazon Resource Name (ARN) of the replication set you're updating.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              pub fn arn(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.arn(input.into()); diff --git a/sdk/ssmincidents/src/operation/update_response_plan/builders.rs b/sdk/ssmincidents/src/operation/update_response_plan/builders.rs index 14d65aceee81..75f21bd11737 100644 --- a/sdk/ssmincidents/src/operation/update_response_plan/builders.rs +++ b/sdk/ssmincidents/src/operation/update_response_plan/builders.rs @@ -19,9 +19,9 @@ impl UpdateResponsePlanFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl UpdateResponsePlanFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::update_response_plan::UpdateResponsePlan, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::update_response_plan::UpdateResponsePlanError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              A token ensuring that the operation is called only once with the specified details.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              pub fn client_token(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.client_token(input.into()); diff --git a/sdk/ssmincidents/src/operation/update_timeline_event/builders.rs b/sdk/ssmincidents/src/operation/update_timeline_event/builders.rs index 1c60054b75a7..01d31dbdde1c 100644 --- a/sdk/ssmincidents/src/operation/update_timeline_event/builders.rs +++ b/sdk/ssmincidents/src/operation/update_timeline_event/builders.rs @@ -19,9 +19,9 @@ impl UpdateTimelineEventFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl UpdateTimelineEventFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::update_timeline_event::UpdateTimelineEvent, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::update_timeline_event::UpdateTimelineEventError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              A token that ensures that a client calls the operation only once with the specified details.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              pub fn client_token(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.client_token(input.into()); diff --git a/sdk/ssmsap/src/operation/delete_resource_permission/builders.rs b/sdk/ssmsap/src/operation/delete_resource_permission/builders.rs index 98b077a8c33e..2766854f671c 100644 --- a/sdk/ssmsap/src/operation/delete_resource_permission/builders.rs +++ b/sdk/ssmsap/src/operation/delete_resource_permission/builders.rs @@ -19,9 +19,9 @@ impl DeleteResourcePermissionFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl DeleteResourcePermissionFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::delete_resource_permission::DeleteResourcePermission, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::delete_resource_permission::DeleteResourcePermissionError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              Delete or restore the permissions on the target database.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              pub fn action_type(mut self, input: crate::types::PermissionActionType) -> Self { self.inner = self.inner.action_type(input); diff --git a/sdk/ssmsap/src/operation/deregister_application/builders.rs b/sdk/ssmsap/src/operation/deregister_application/builders.rs index ad9a9bb9ac1a..4cb26ef330af 100644 --- a/sdk/ssmsap/src/operation/deregister_application/builders.rs +++ b/sdk/ssmsap/src/operation/deregister_application/builders.rs @@ -19,9 +19,9 @@ impl DeregisterApplicationFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl DeregisterApplicationFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::deregister_application::DeregisterApplication, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::deregister_application::DeregisterApplicationError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              The ID of the application.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              pub fn application_id( mut self, diff --git a/sdk/ssmsap/src/operation/get_application/builders.rs b/sdk/ssmsap/src/operation/get_application/builders.rs index 3866895e2f97..ecb50c65bb25 100644 --- a/sdk/ssmsap/src/operation/get_application/builders.rs +++ b/sdk/ssmsap/src/operation/get_application/builders.rs @@ -19,9 +19,9 @@ impl GetApplicationFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl GetApplicationFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::get_application::GetApplication, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              The ID of the application.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              pub fn application_id( mut self, diff --git a/sdk/ssmsap/src/operation/get_component/builders.rs b/sdk/ssmsap/src/operation/get_component/builders.rs index 1548abf5c453..02cddbc845d4 100644 --- a/sdk/ssmsap/src/operation/get_component/builders.rs +++ b/sdk/ssmsap/src/operation/get_component/builders.rs @@ -19,9 +19,9 @@ impl GetComponentFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl GetComponentFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::get_component::GetComponent, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              The ID of the application.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              pub fn application_id( mut self, diff --git a/sdk/ssmsap/src/operation/get_database/builders.rs b/sdk/ssmsap/src/operation/get_database/builders.rs index 1a61ca7592d9..d832e2492fcd 100644 --- a/sdk/ssmsap/src/operation/get_database/builders.rs +++ b/sdk/ssmsap/src/operation/get_database/builders.rs @@ -19,9 +19,9 @@ impl GetDatabaseFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl GetDatabaseFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::get_database::GetDatabase, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              The ID of the application.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              pub fn application_id( mut self, diff --git a/sdk/ssmsap/src/operation/get_operation/builders.rs b/sdk/ssmsap/src/operation/get_operation/builders.rs index 17a340caf21f..8989fb379ab5 100644 --- a/sdk/ssmsap/src/operation/get_operation/builders.rs +++ b/sdk/ssmsap/src/operation/get_operation/builders.rs @@ -19,9 +19,9 @@ impl GetOperationFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl GetOperationFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::get_operation::GetOperation, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              The ID of the operation.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              pub fn operation_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.operation_id(input.into()); diff --git a/sdk/ssmsap/src/operation/get_resource_permission/builders.rs b/sdk/ssmsap/src/operation/get_resource_permission/builders.rs index 16e1c906e04a..95b913f4335b 100644 --- a/sdk/ssmsap/src/operation/get_resource_permission/builders.rs +++ b/sdk/ssmsap/src/operation/get_resource_permission/builders.rs @@ -19,9 +19,9 @@ impl GetResourcePermissionFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl GetResourcePermissionFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::get_resource_permission::GetResourcePermission, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::get_resource_permission::GetResourcePermissionError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              pub fn action_type(mut self, input: crate::types::PermissionActionType) -> Self { self.inner = self.inner.action_type(input); diff --git a/sdk/ssmsap/src/operation/list_applications/builders.rs b/sdk/ssmsap/src/operation/list_applications/builders.rs index b2dd50857d82..bc9dc58f6004 100644 --- a/sdk/ssmsap/src/operation/list_applications/builders.rs +++ b/sdk/ssmsap/src/operation/list_applications/builders.rs @@ -19,9 +19,9 @@ impl ListApplicationsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl ListApplicationsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_applications::ListApplications, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::list_applications::ListApplicationsError, + >, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::list_applications::paginator::ListApplicationsPaginator::send) which returns a `Stream`. diff --git a/sdk/ssmsap/src/operation/list_components/builders.rs b/sdk/ssmsap/src/operation/list_components/builders.rs index 5d4c22942c00..f70b404cff86 100644 --- a/sdk/ssmsap/src/operation/list_components/builders.rs +++ b/sdk/ssmsap/src/operation/list_components/builders.rs @@ -19,9 +19,9 @@ impl ListComponentsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl ListComponentsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_components::ListComponents, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::list_components::paginator::ListComponentsPaginator::send) which returns a `Stream`. diff --git a/sdk/ssmsap/src/operation/list_databases/builders.rs b/sdk/ssmsap/src/operation/list_databases/builders.rs index 5f82c3559e12..08a3bf13eb39 100644 --- a/sdk/ssmsap/src/operation/list_databases/builders.rs +++ b/sdk/ssmsap/src/operation/list_databases/builders.rs @@ -19,9 +19,9 @@ impl ListDatabasesFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl ListDatabasesFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_databases::ListDatabases, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::list_databases::paginator::ListDatabasesPaginator::send) which returns a `Stream`. diff --git a/sdk/ssmsap/src/operation/list_operations/builders.rs b/sdk/ssmsap/src/operation/list_operations/builders.rs index 512e5fcd584a..214e2f2dea5f 100644 --- a/sdk/ssmsap/src/operation/list_operations/builders.rs +++ b/sdk/ssmsap/src/operation/list_operations/builders.rs @@ -19,9 +19,9 @@ impl ListOperationsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl ListOperationsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_operations::ListOperations, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::list_operations::paginator::ListOperationsPaginator::send) which returns a `Stream`. diff --git a/sdk/ssmsap/src/operation/list_tags_for_resource/builders.rs b/sdk/ssmsap/src/operation/list_tags_for_resource/builders.rs index cbc69439ab65..310f0e102310 100644 --- a/sdk/ssmsap/src/operation/list_tags_for_resource/builders.rs +++ b/sdk/ssmsap/src/operation/list_tags_for_resource/builders.rs @@ -19,9 +19,9 @@ impl ListTagsForResourceFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl ListTagsForResourceFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_tags_for_resource::ListTagsForResource, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::list_tags_for_resource::ListTagsForResourceError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              The Amazon Resource Name (ARN) of the resource.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              pub fn resource_arn(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.resource_arn(input.into()); diff --git a/sdk/ssmsap/src/operation/put_resource_permission/builders.rs b/sdk/ssmsap/src/operation/put_resource_permission/builders.rs index 6ada84a44246..f08c6614ec0a 100644 --- a/sdk/ssmsap/src/operation/put_resource_permission/builders.rs +++ b/sdk/ssmsap/src/operation/put_resource_permission/builders.rs @@ -19,9 +19,9 @@ impl PutResourcePermissionFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl PutResourcePermissionFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::put_resource_permission::PutResourcePermission, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::put_resource_permission::PutResourcePermissionError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              pub fn action_type(mut self, input: crate::types::PermissionActionType) -> Self { self.inner = self.inner.action_type(input); diff --git a/sdk/ssmsap/src/operation/register_application/builders.rs b/sdk/ssmsap/src/operation/register_application/builders.rs index 671d8badd0c5..b1bb2e0f2daf 100644 --- a/sdk/ssmsap/src/operation/register_application/builders.rs +++ b/sdk/ssmsap/src/operation/register_application/builders.rs @@ -22,9 +22,9 @@ impl RegisterApplicationFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -86,6 +86,22 @@ impl RegisterApplicationFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::register_application::RegisterApplication, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::register_application::RegisterApplicationError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              The ID of the application.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              pub fn application_id( mut self, diff --git a/sdk/ssmsap/src/operation/tag_resource/builders.rs b/sdk/ssmsap/src/operation/tag_resource/builders.rs index 827af2c77982..cf915b5dd903 100644 --- a/sdk/ssmsap/src/operation/tag_resource/builders.rs +++ b/sdk/ssmsap/src/operation/tag_resource/builders.rs @@ -19,9 +19,9 @@ impl TagResourceFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl TagResourceFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::tag_resource::TagResource, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              The Amazon Resource Name (ARN) of the resource.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              pub fn resource_arn(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.resource_arn(input.into()); diff --git a/sdk/ssmsap/src/operation/untag_resource/builders.rs b/sdk/ssmsap/src/operation/untag_resource/builders.rs index c851d2ed4258..3af360cf17f2 100644 --- a/sdk/ssmsap/src/operation/untag_resource/builders.rs +++ b/sdk/ssmsap/src/operation/untag_resource/builders.rs @@ -19,9 +19,9 @@ impl UntagResourceFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl UntagResourceFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::untag_resource::UntagResource, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              The Amazon Resource Name (ARN) of the resource.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              pub fn resource_arn(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.resource_arn(input.into()); diff --git a/sdk/ssmsap/src/operation/update_application_settings/builders.rs b/sdk/ssmsap/src/operation/update_application_settings/builders.rs index 2fd3c19817a9..d3d39b3e2464 100644 --- a/sdk/ssmsap/src/operation/update_application_settings/builders.rs +++ b/sdk/ssmsap/src/operation/update_application_settings/builders.rs @@ -19,9 +19,9 @@ impl UpdateApplicationSettingsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl UpdateApplicationSettingsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::update_application_settings::UpdateApplicationSettings, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::update_application_settings::UpdateApplicationSettingsError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              The ID of the application.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              pub fn application_id( mut self, diff --git a/sdk/sso/src/operation/get_role_credentials/builders.rs b/sdk/sso/src/operation/get_role_credentials/builders.rs index 29950e35d127..50b7d31faa68 100644 --- a/sdk/sso/src/operation/get_role_credentials/builders.rs +++ b/sdk/sso/src/operation/get_role_credentials/builders.rs @@ -19,9 +19,9 @@ impl GetRoleCredentialsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl GetRoleCredentialsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::get_role_credentials::GetRoleCredentials, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::get_role_credentials::GetRoleCredentialsError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              The friendly name of the role that is assigned to the user.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              pub fn role_name(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.role_name(input.into()); diff --git a/sdk/sso/src/operation/list_account_roles/builders.rs b/sdk/sso/src/operation/list_account_roles/builders.rs index cdde61454687..41ca98a8ca52 100644 --- a/sdk/sso/src/operation/list_account_roles/builders.rs +++ b/sdk/sso/src/operation/list_account_roles/builders.rs @@ -19,9 +19,9 @@ impl ListAccountRolesFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl ListAccountRolesFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_account_roles::ListAccountRoles, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::list_account_roles::ListAccountRolesError, + >, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::list_account_roles::paginator::ListAccountRolesPaginator::send) which returns a `Stream`. diff --git a/sdk/sso/src/operation/list_accounts/builders.rs b/sdk/sso/src/operation/list_accounts/builders.rs index d5d42a0c21e8..ec01f36c10e7 100644 --- a/sdk/sso/src/operation/list_accounts/builders.rs +++ b/sdk/sso/src/operation/list_accounts/builders.rs @@ -19,9 +19,9 @@ impl ListAccountsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl ListAccountsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_accounts::ListAccounts, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::list_accounts::paginator::ListAccountsPaginator::send) which returns a `Stream`. diff --git a/sdk/sso/src/operation/logout/builders.rs b/sdk/sso/src/operation/logout/builders.rs index 9d3fd1ac9b0d..d44ff5bd64c2 100644 --- a/sdk/sso/src/operation/logout/builders.rs +++ b/sdk/sso/src/operation/logout/builders.rs @@ -22,9 +22,9 @@ impl LogoutFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -80,6 +80,20 @@ impl LogoutFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::logout::Logout, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              The token issued by the CreateToken API call. For more information, see CreateToken in the IAM Identity Center OIDC API Reference Guide.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              pub fn access_token(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.access_token(input.into()); diff --git a/sdk/ssoadmin/src/operation/attach_customer_managed_policy_reference_to_permission_set/builders.rs b/sdk/ssoadmin/src/operation/attach_customer_managed_policy_reference_to_permission_set/builders.rs index 64c8603f07b7..cad3da63db0e 100644 --- a/sdk/ssoadmin/src/operation/attach_customer_managed_policy_reference_to_permission_set/builders.rs +++ b/sdk/ssoadmin/src/operation/attach_customer_managed_policy_reference_to_permission_set/builders.rs @@ -19,9 +19,9 @@ impl AttachCustomerManagedPolicyReferenceToPermissionSetFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize(self) -> ::std::result::Result< + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware(self) -> ::std::result::Result< crate::client::customize::CustomizableOperation, ::aws_smithy_http::result::SdkError >{ @@ -64,6 +64,15 @@ impl AttachCustomerManagedPolicyReferenceToPermissionSetFluentBuilder { { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize(self) -> ::std::result::Result< + crate::client::customize::CustomizableOperation, + ::aws_smithy_http::result::SdkError + >{ + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              The ARN of the IAM Identity Center instance under which the operation will be executed.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              pub fn instance_arn(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.instance_arn(input.into()); diff --git a/sdk/ssoadmin/src/operation/attach_managed_policy_to_permission_set/builders.rs b/sdk/ssoadmin/src/operation/attach_managed_policy_to_permission_set/builders.rs index 56791b58fd19..8c027d51df99 100644 --- a/sdk/ssoadmin/src/operation/attach_managed_policy_to_permission_set/builders.rs +++ b/sdk/ssoadmin/src/operation/attach_managed_policy_to_permission_set/builders.rs @@ -21,9 +21,9 @@ impl AttachManagedPolicyToPermissionSetFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize(self) -> ::std::result::Result< + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware(self) -> ::std::result::Result< crate::client::customize::CustomizableOperation, ::aws_smithy_http::result::SdkError >{ @@ -66,6 +66,15 @@ impl AttachManagedPolicyToPermissionSetFluentBuilder { { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize(self) -> ::std::result::Result< + crate::client::customize::CustomizableOperation, + ::aws_smithy_http::result::SdkError + >{ + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              The ARN of the IAM Identity Center instance under which the operation will be executed. For more information about ARNs, see Amazon Resource Names (ARNs) and AWS Service Namespaces in the AWS General Reference.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              pub fn instance_arn(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.instance_arn(input.into()); diff --git a/sdk/ssoadmin/src/operation/create_account_assignment/builders.rs b/sdk/ssoadmin/src/operation/create_account_assignment/builders.rs index f4f601ff27a6..8e32bac56ec8 100644 --- a/sdk/ssoadmin/src/operation/create_account_assignment/builders.rs +++ b/sdk/ssoadmin/src/operation/create_account_assignment/builders.rs @@ -26,9 +26,9 @@ impl CreateAccountAssignmentFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -90,6 +90,22 @@ impl CreateAccountAssignmentFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::create_account_assignment::CreateAccountAssignment, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::create_account_assignment::CreateAccountAssignmentError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              The ARN of the IAM Identity Center instance under which the operation will be executed. For more information about ARNs, see Amazon Resource Names (ARNs) and AWS Service Namespaces in the AWS General Reference.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              pub fn instance_arn(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.instance_arn(input.into()); diff --git a/sdk/ssoadmin/src/operation/create_instance_access_control_attribute_configuration/builders.rs b/sdk/ssoadmin/src/operation/create_instance_access_control_attribute_configuration/builders.rs index 98dc467ac811..bafe7b86af87 100644 --- a/sdk/ssoadmin/src/operation/create_instance_access_control_attribute_configuration/builders.rs +++ b/sdk/ssoadmin/src/operation/create_instance_access_control_attribute_configuration/builders.rs @@ -21,9 +21,9 @@ impl CreateInstanceAccessControlAttributeConfigurationFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize(self) -> ::std::result::Result< + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware(self) -> ::std::result::Result< crate::client::customize::CustomizableOperation, ::aws_smithy_http::result::SdkError >{ @@ -66,6 +66,15 @@ impl CreateInstanceAccessControlAttributeConfigurationFluentBuilder { { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize(self) -> ::std::result::Result< + crate::client::customize::CustomizableOperation, + ::aws_smithy_http::result::SdkError + >{ + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              The ARN of the IAM Identity Center instance under which the operation will be executed.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              pub fn instance_arn(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.instance_arn(input.into()); diff --git a/sdk/ssoadmin/src/operation/create_permission_set/builders.rs b/sdk/ssoadmin/src/operation/create_permission_set/builders.rs index 79b90c63d27a..11a2c3baece3 100644 --- a/sdk/ssoadmin/src/operation/create_permission_set/builders.rs +++ b/sdk/ssoadmin/src/operation/create_permission_set/builders.rs @@ -21,9 +21,9 @@ impl CreatePermissionSetFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -85,6 +85,22 @@ impl CreatePermissionSetFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::create_permission_set::CreatePermissionSet, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::create_permission_set::CreatePermissionSetError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              The name of the PermissionSet.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              pub fn name(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.name(input.into()); diff --git a/sdk/ssoadmin/src/operation/delete_account_assignment/builders.rs b/sdk/ssoadmin/src/operation/delete_account_assignment/builders.rs index c35e60023b2a..45a30a2f12ab 100644 --- a/sdk/ssoadmin/src/operation/delete_account_assignment/builders.rs +++ b/sdk/ssoadmin/src/operation/delete_account_assignment/builders.rs @@ -22,9 +22,9 @@ impl DeleteAccountAssignmentFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -86,6 +86,22 @@ impl DeleteAccountAssignmentFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::delete_account_assignment::DeleteAccountAssignment, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::delete_account_assignment::DeleteAccountAssignmentError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              The ARN of the IAM Identity Center instance under which the operation will be executed. For more information about ARNs, see Amazon Resource Names (ARNs) and AWS Service Namespaces in the AWS General Reference.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              pub fn instance_arn(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.instance_arn(input.into()); diff --git a/sdk/ssoadmin/src/operation/delete_inline_policy_from_permission_set/builders.rs b/sdk/ssoadmin/src/operation/delete_inline_policy_from_permission_set/builders.rs index 1b5e4b36acd3..2448196d14ca 100644 --- a/sdk/ssoadmin/src/operation/delete_inline_policy_from_permission_set/builders.rs +++ b/sdk/ssoadmin/src/operation/delete_inline_policy_from_permission_set/builders.rs @@ -19,9 +19,9 @@ impl DeleteInlinePolicyFromPermissionSetFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize(self) -> ::std::result::Result< + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware(self) -> ::std::result::Result< crate::client::customize::CustomizableOperation, ::aws_smithy_http::result::SdkError >{ @@ -64,6 +64,15 @@ impl DeleteInlinePolicyFromPermissionSetFluentBuilder { { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize(self) -> ::std::result::Result< + crate::client::customize::CustomizableOperation, + ::aws_smithy_http::result::SdkError + >{ + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              The ARN of the IAM Identity Center instance under which the operation will be executed. For more information about ARNs, see Amazon Resource Names (ARNs) and AWS Service Namespaces in the AWS General Reference.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              pub fn instance_arn(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.instance_arn(input.into()); diff --git a/sdk/ssoadmin/src/operation/delete_instance_access_control_attribute_configuration/builders.rs b/sdk/ssoadmin/src/operation/delete_instance_access_control_attribute_configuration/builders.rs index f9f4faa333d1..1b0aac61a81d 100644 --- a/sdk/ssoadmin/src/operation/delete_instance_access_control_attribute_configuration/builders.rs +++ b/sdk/ssoadmin/src/operation/delete_instance_access_control_attribute_configuration/builders.rs @@ -19,9 +19,9 @@ impl DeleteInstanceAccessControlAttributeConfigurationFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize(self) -> ::std::result::Result< + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware(self) -> ::std::result::Result< crate::client::customize::CustomizableOperation, ::aws_smithy_http::result::SdkError >{ @@ -64,6 +64,15 @@ impl DeleteInstanceAccessControlAttributeConfigurationFluentBuilder { { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize(self) -> ::std::result::Result< + crate::client::customize::CustomizableOperation, + ::aws_smithy_http::result::SdkError + >{ + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              The ARN of the IAM Identity Center instance under which the operation will be executed.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              pub fn instance_arn(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.instance_arn(input.into()); diff --git a/sdk/ssoadmin/src/operation/delete_permission_set/builders.rs b/sdk/ssoadmin/src/operation/delete_permission_set/builders.rs index a00dd4691d16..d22ae506d066 100644 --- a/sdk/ssoadmin/src/operation/delete_permission_set/builders.rs +++ b/sdk/ssoadmin/src/operation/delete_permission_set/builders.rs @@ -19,9 +19,9 @@ impl DeletePermissionSetFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl DeletePermissionSetFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::delete_permission_set::DeletePermissionSet, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::delete_permission_set::DeletePermissionSetError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              The ARN of the IAM Identity Center instance under which the operation will be executed. For more information about ARNs, see Amazon Resource Names (ARNs) and AWS Service Namespaces in the AWS General Reference.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              pub fn instance_arn(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.instance_arn(input.into()); diff --git a/sdk/ssoadmin/src/operation/delete_permissions_boundary_from_permission_set/builders.rs b/sdk/ssoadmin/src/operation/delete_permissions_boundary_from_permission_set/builders.rs index 99514ff54b81..61819d1c9750 100644 --- a/sdk/ssoadmin/src/operation/delete_permissions_boundary_from_permission_set/builders.rs +++ b/sdk/ssoadmin/src/operation/delete_permissions_boundary_from_permission_set/builders.rs @@ -19,9 +19,9 @@ impl DeletePermissionsBoundaryFromPermissionSetFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize(self) -> ::std::result::Result< + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware(self) -> ::std::result::Result< crate::client::customize::CustomizableOperation, ::aws_smithy_http::result::SdkError >{ @@ -64,6 +64,15 @@ impl DeletePermissionsBoundaryFromPermissionSetFluentBuilder { { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize(self) -> ::std::result::Result< + crate::client::customize::CustomizableOperation, + ::aws_smithy_http::result::SdkError + >{ + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              The ARN of the IAM Identity Center instance under which the operation will be executed.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              pub fn instance_arn(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.instance_arn(input.into()); diff --git a/sdk/ssoadmin/src/operation/describe_account_assignment_creation_status/builders.rs b/sdk/ssoadmin/src/operation/describe_account_assignment_creation_status/builders.rs index 9157a9f6a68e..1c6ee4dd6de7 100644 --- a/sdk/ssoadmin/src/operation/describe_account_assignment_creation_status/builders.rs +++ b/sdk/ssoadmin/src/operation/describe_account_assignment_creation_status/builders.rs @@ -19,9 +19,9 @@ impl DescribeAccountAssignmentCreationStatusFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize(self) -> ::std::result::Result< + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware(self) -> ::std::result::Result< crate::client::customize::CustomizableOperation, ::aws_smithy_http::result::SdkError >{ @@ -64,6 +64,15 @@ impl DescribeAccountAssignmentCreationStatusFluentBuilder { { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize(self) -> ::std::result::Result< + crate::client::customize::CustomizableOperation, + ::aws_smithy_http::result::SdkError + >{ + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              The ARN of the IAM Identity Center instance under which the operation will be executed. For more information about ARNs, see Amazon Resource Names (ARNs) and AWS Service Namespaces in the AWS General Reference.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              pub fn instance_arn(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.instance_arn(input.into()); diff --git a/sdk/ssoadmin/src/operation/describe_account_assignment_deletion_status/builders.rs b/sdk/ssoadmin/src/operation/describe_account_assignment_deletion_status/builders.rs index b41f85fe1081..4c56679dde96 100644 --- a/sdk/ssoadmin/src/operation/describe_account_assignment_deletion_status/builders.rs +++ b/sdk/ssoadmin/src/operation/describe_account_assignment_deletion_status/builders.rs @@ -19,9 +19,9 @@ impl DescribeAccountAssignmentDeletionStatusFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize(self) -> ::std::result::Result< + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware(self) -> ::std::result::Result< crate::client::customize::CustomizableOperation, ::aws_smithy_http::result::SdkError >{ @@ -64,6 +64,15 @@ impl DescribeAccountAssignmentDeletionStatusFluentBuilder { { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize(self) -> ::std::result::Result< + crate::client::customize::CustomizableOperation, + ::aws_smithy_http::result::SdkError + >{ + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              The ARN of the IAM Identity Center instance under which the operation will be executed. For more information about ARNs, see Amazon Resource Names (ARNs) and AWS Service Namespaces in the AWS General Reference.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              pub fn instance_arn(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.instance_arn(input.into()); diff --git a/sdk/ssoadmin/src/operation/describe_instance_access_control_attribute_configuration/builders.rs b/sdk/ssoadmin/src/operation/describe_instance_access_control_attribute_configuration/builders.rs index 729098f044e1..9baae00f4f70 100644 --- a/sdk/ssoadmin/src/operation/describe_instance_access_control_attribute_configuration/builders.rs +++ b/sdk/ssoadmin/src/operation/describe_instance_access_control_attribute_configuration/builders.rs @@ -19,9 +19,9 @@ impl DescribeInstanceAccessControlAttributeConfigurationFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize(self) -> ::std::result::Result< + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware(self) -> ::std::result::Result< crate::client::customize::CustomizableOperation, ::aws_smithy_http::result::SdkError >{ @@ -64,6 +64,15 @@ impl DescribeInstanceAccessControlAttributeConfigurationFluentBuilder { { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize(self) -> ::std::result::Result< + crate::client::customize::CustomizableOperation, + ::aws_smithy_http::result::SdkError + >{ + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              The ARN of the IAM Identity Center instance under which the operation will be executed.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              pub fn instance_arn(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.instance_arn(input.into()); diff --git a/sdk/ssoadmin/src/operation/describe_permission_set/builders.rs b/sdk/ssoadmin/src/operation/describe_permission_set/builders.rs index 17b859deca8a..3658292bf2ab 100644 --- a/sdk/ssoadmin/src/operation/describe_permission_set/builders.rs +++ b/sdk/ssoadmin/src/operation/describe_permission_set/builders.rs @@ -19,9 +19,9 @@ impl DescribePermissionSetFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl DescribePermissionSetFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::describe_permission_set::DescribePermissionSet, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::describe_permission_set::DescribePermissionSetError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              The ARN of the IAM Identity Center instance under which the operation will be executed. For more information about ARNs, see Amazon Resource Names (ARNs) and AWS Service Namespaces in the AWS General Reference.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              pub fn instance_arn(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.instance_arn(input.into()); diff --git a/sdk/ssoadmin/src/operation/describe_permission_set_provisioning_status/builders.rs b/sdk/ssoadmin/src/operation/describe_permission_set_provisioning_status/builders.rs index 7228394b35d9..7391443965d5 100644 --- a/sdk/ssoadmin/src/operation/describe_permission_set_provisioning_status/builders.rs +++ b/sdk/ssoadmin/src/operation/describe_permission_set_provisioning_status/builders.rs @@ -19,9 +19,9 @@ impl DescribePermissionSetProvisioningStatusFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize(self) -> ::std::result::Result< + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware(self) -> ::std::result::Result< crate::client::customize::CustomizableOperation, ::aws_smithy_http::result::SdkError >{ @@ -64,6 +64,15 @@ impl DescribePermissionSetProvisioningStatusFluentBuilder { { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize(self) -> ::std::result::Result< + crate::client::customize::CustomizableOperation, + ::aws_smithy_http::result::SdkError + >{ + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              The ARN of the IAM Identity Center instance under which the operation will be executed. For more information about ARNs, see Amazon Resource Names (ARNs) and AWS Service Namespaces in the AWS General Reference.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              pub fn instance_arn(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.instance_arn(input.into()); diff --git a/sdk/ssoadmin/src/operation/detach_customer_managed_policy_reference_from_permission_set/builders.rs b/sdk/ssoadmin/src/operation/detach_customer_managed_policy_reference_from_permission_set/builders.rs index 767922d777c6..5574be8b3c3e 100644 --- a/sdk/ssoadmin/src/operation/detach_customer_managed_policy_reference_from_permission_set/builders.rs +++ b/sdk/ssoadmin/src/operation/detach_customer_managed_policy_reference_from_permission_set/builders.rs @@ -19,9 +19,9 @@ impl DetachCustomerManagedPolicyReferenceFromPermissionSetFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize(self) -> ::std::result::Result< + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware(self) -> ::std::result::Result< crate::client::customize::CustomizableOperation, ::aws_smithy_http::result::SdkError >{ @@ -64,6 +64,15 @@ impl DetachCustomerManagedPolicyReferenceFromPermissionSetFluentBuilder { { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize(self) -> ::std::result::Result< + crate::client::customize::CustomizableOperation, + ::aws_smithy_http::result::SdkError + >{ + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              The ARN of the IAM Identity Center instance under which the operation will be executed.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              pub fn instance_arn(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.instance_arn(input.into()); diff --git a/sdk/ssoadmin/src/operation/detach_managed_policy_from_permission_set/builders.rs b/sdk/ssoadmin/src/operation/detach_managed_policy_from_permission_set/builders.rs index b8ac38c99fae..9a30c26a6b3a 100644 --- a/sdk/ssoadmin/src/operation/detach_managed_policy_from_permission_set/builders.rs +++ b/sdk/ssoadmin/src/operation/detach_managed_policy_from_permission_set/builders.rs @@ -19,9 +19,9 @@ impl DetachManagedPolicyFromPermissionSetFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize(self) -> ::std::result::Result< + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware(self) -> ::std::result::Result< crate::client::customize::CustomizableOperation, ::aws_smithy_http::result::SdkError >{ @@ -64,6 +64,15 @@ impl DetachManagedPolicyFromPermissionSetFluentBuilder { { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize(self) -> ::std::result::Result< + crate::client::customize::CustomizableOperation, + ::aws_smithy_http::result::SdkError + >{ + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              The ARN of the IAM Identity Center instance under which the operation will be executed. For more information about ARNs, see Amazon Resource Names (ARNs) and AWS Service Namespaces in the AWS General Reference.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              pub fn instance_arn(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.instance_arn(input.into()); diff --git a/sdk/ssoadmin/src/operation/get_inline_policy_for_permission_set/builders.rs b/sdk/ssoadmin/src/operation/get_inline_policy_for_permission_set/builders.rs index d2e65e346e8a..4b335bf40df0 100644 --- a/sdk/ssoadmin/src/operation/get_inline_policy_for_permission_set/builders.rs +++ b/sdk/ssoadmin/src/operation/get_inline_policy_for_permission_set/builders.rs @@ -19,9 +19,9 @@ impl GetInlinePolicyForPermissionSetFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize(self) -> ::std::result::Result< + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware(self) -> ::std::result::Result< crate::client::customize::CustomizableOperation, ::aws_smithy_http::result::SdkError >{ @@ -64,6 +64,15 @@ impl GetInlinePolicyForPermissionSetFluentBuilder { { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize(self) -> ::std::result::Result< + crate::client::customize::CustomizableOperation, + ::aws_smithy_http::result::SdkError + >{ + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              The ARN of the IAM Identity Center instance under which the operation will be executed. For more information about ARNs, see Amazon Resource Names (ARNs) and AWS Service Namespaces in the AWS General Reference.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              pub fn instance_arn(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.instance_arn(input.into()); diff --git a/sdk/ssoadmin/src/operation/get_permissions_boundary_for_permission_set/builders.rs b/sdk/ssoadmin/src/operation/get_permissions_boundary_for_permission_set/builders.rs index 5aa0bb19ba4a..108d2069db57 100644 --- a/sdk/ssoadmin/src/operation/get_permissions_boundary_for_permission_set/builders.rs +++ b/sdk/ssoadmin/src/operation/get_permissions_boundary_for_permission_set/builders.rs @@ -19,9 +19,9 @@ impl GetPermissionsBoundaryForPermissionSetFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize(self) -> ::std::result::Result< + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware(self) -> ::std::result::Result< crate::client::customize::CustomizableOperation, ::aws_smithy_http::result::SdkError >{ @@ -64,6 +64,15 @@ impl GetPermissionsBoundaryForPermissionSetFluentBuilder { { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize(self) -> ::std::result::Result< + crate::client::customize::CustomizableOperation, + ::aws_smithy_http::result::SdkError + >{ + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              The ARN of the IAM Identity Center instance under which the operation will be executed.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              pub fn instance_arn(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.instance_arn(input.into()); diff --git a/sdk/ssoadmin/src/operation/list_account_assignment_creation_status/builders.rs b/sdk/ssoadmin/src/operation/list_account_assignment_creation_status/builders.rs index 9cef25f64e2f..dd57e7f79ebe 100644 --- a/sdk/ssoadmin/src/operation/list_account_assignment_creation_status/builders.rs +++ b/sdk/ssoadmin/src/operation/list_account_assignment_creation_status/builders.rs @@ -19,9 +19,9 @@ impl ListAccountAssignmentCreationStatusFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize(self) -> ::std::result::Result< + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware(self) -> ::std::result::Result< crate::client::customize::CustomizableOperation, ::aws_smithy_http::result::SdkError >{ @@ -64,6 +64,15 @@ impl ListAccountAssignmentCreationStatusFluentBuilder { { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize(self) -> ::std::result::Result< + crate::client::customize::CustomizableOperation, + ::aws_smithy_http::result::SdkError + >{ + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::list_account_assignment_creation_status::paginator::ListAccountAssignmentCreationStatusPaginator::send) which returns a `Stream`. diff --git a/sdk/ssoadmin/src/operation/list_account_assignment_deletion_status/builders.rs b/sdk/ssoadmin/src/operation/list_account_assignment_deletion_status/builders.rs index 04558e7c594c..3046c014445b 100644 --- a/sdk/ssoadmin/src/operation/list_account_assignment_deletion_status/builders.rs +++ b/sdk/ssoadmin/src/operation/list_account_assignment_deletion_status/builders.rs @@ -19,9 +19,9 @@ impl ListAccountAssignmentDeletionStatusFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize(self) -> ::std::result::Result< + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware(self) -> ::std::result::Result< crate::client::customize::CustomizableOperation, ::aws_smithy_http::result::SdkError >{ @@ -64,6 +64,15 @@ impl ListAccountAssignmentDeletionStatusFluentBuilder { { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize(self) -> ::std::result::Result< + crate::client::customize::CustomizableOperation, + ::aws_smithy_http::result::SdkError + >{ + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::list_account_assignment_deletion_status::paginator::ListAccountAssignmentDeletionStatusPaginator::send) which returns a `Stream`. diff --git a/sdk/ssoadmin/src/operation/list_account_assignments/builders.rs b/sdk/ssoadmin/src/operation/list_account_assignments/builders.rs index 0e5456b03c31..3771bacb17d1 100644 --- a/sdk/ssoadmin/src/operation/list_account_assignments/builders.rs +++ b/sdk/ssoadmin/src/operation/list_account_assignments/builders.rs @@ -19,9 +19,9 @@ impl ListAccountAssignmentsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl ListAccountAssignmentsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_account_assignments::ListAccountAssignments, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::list_account_assignments::ListAccountAssignmentsError, + >, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::list_account_assignments::paginator::ListAccountAssignmentsPaginator::send) which returns a `Stream`. diff --git a/sdk/ssoadmin/src/operation/list_accounts_for_provisioned_permission_set/builders.rs b/sdk/ssoadmin/src/operation/list_accounts_for_provisioned_permission_set/builders.rs index 69576af32e8f..b2fb03ec2c4f 100644 --- a/sdk/ssoadmin/src/operation/list_accounts_for_provisioned_permission_set/builders.rs +++ b/sdk/ssoadmin/src/operation/list_accounts_for_provisioned_permission_set/builders.rs @@ -19,9 +19,9 @@ impl ListAccountsForProvisionedPermissionSetFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize(self) -> ::std::result::Result< + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware(self) -> ::std::result::Result< crate::client::customize::CustomizableOperation, ::aws_smithy_http::result::SdkError >{ @@ -64,6 +64,15 @@ impl ListAccountsForProvisionedPermissionSetFluentBuilder { { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize(self) -> ::std::result::Result< + crate::client::customize::CustomizableOperation, + ::aws_smithy_http::result::SdkError + >{ + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::list_accounts_for_provisioned_permission_set::paginator::ListAccountsForProvisionedPermissionSetPaginator::send) which returns a `Stream`. diff --git a/sdk/ssoadmin/src/operation/list_customer_managed_policy_references_in_permission_set/builders.rs b/sdk/ssoadmin/src/operation/list_customer_managed_policy_references_in_permission_set/builders.rs index 629a95fa78ee..8a6ce66e6050 100644 --- a/sdk/ssoadmin/src/operation/list_customer_managed_policy_references_in_permission_set/builders.rs +++ b/sdk/ssoadmin/src/operation/list_customer_managed_policy_references_in_permission_set/builders.rs @@ -19,9 +19,9 @@ impl ListCustomerManagedPolicyReferencesInPermissionSetFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize(self) -> ::std::result::Result< + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware(self) -> ::std::result::Result< crate::client::customize::CustomizableOperation, ::aws_smithy_http::result::SdkError >{ @@ -64,6 +64,15 @@ impl ListCustomerManagedPolicyReferencesInPermissionSetFluentBuilder { { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize(self) -> ::std::result::Result< + crate::client::customize::CustomizableOperation, + ::aws_smithy_http::result::SdkError + >{ + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::list_customer_managed_policy_references_in_permission_set::paginator::ListCustomerManagedPolicyReferencesInPermissionSetPaginator::send) which returns a `Stream`. diff --git a/sdk/ssoadmin/src/operation/list_instances/builders.rs b/sdk/ssoadmin/src/operation/list_instances/builders.rs index 613f1da6b158..5c1cfe2e2b9c 100644 --- a/sdk/ssoadmin/src/operation/list_instances/builders.rs +++ b/sdk/ssoadmin/src/operation/list_instances/builders.rs @@ -19,9 +19,9 @@ impl ListInstancesFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl ListInstancesFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_instances::ListInstances, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::list_instances::paginator::ListInstancesPaginator::send) which returns a `Stream`. diff --git a/sdk/ssoadmin/src/operation/list_managed_policies_in_permission_set/builders.rs b/sdk/ssoadmin/src/operation/list_managed_policies_in_permission_set/builders.rs index 9eb3bf5189dc..73aa2af210da 100644 --- a/sdk/ssoadmin/src/operation/list_managed_policies_in_permission_set/builders.rs +++ b/sdk/ssoadmin/src/operation/list_managed_policies_in_permission_set/builders.rs @@ -19,9 +19,9 @@ impl ListManagedPoliciesInPermissionSetFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize(self) -> ::std::result::Result< + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware(self) -> ::std::result::Result< crate::client::customize::CustomizableOperation, ::aws_smithy_http::result::SdkError >{ @@ -64,6 +64,15 @@ impl ListManagedPoliciesInPermissionSetFluentBuilder { { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize(self) -> ::std::result::Result< + crate::client::customize::CustomizableOperation, + ::aws_smithy_http::result::SdkError + >{ + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::list_managed_policies_in_permission_set::paginator::ListManagedPoliciesInPermissionSetPaginator::send) which returns a `Stream`. diff --git a/sdk/ssoadmin/src/operation/list_permission_set_provisioning_status/builders.rs b/sdk/ssoadmin/src/operation/list_permission_set_provisioning_status/builders.rs index 5030617c37c4..acf2792bd182 100644 --- a/sdk/ssoadmin/src/operation/list_permission_set_provisioning_status/builders.rs +++ b/sdk/ssoadmin/src/operation/list_permission_set_provisioning_status/builders.rs @@ -19,9 +19,9 @@ impl ListPermissionSetProvisioningStatusFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize(self) -> ::std::result::Result< + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware(self) -> ::std::result::Result< crate::client::customize::CustomizableOperation, ::aws_smithy_http::result::SdkError >{ @@ -64,6 +64,15 @@ impl ListPermissionSetProvisioningStatusFluentBuilder { { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize(self) -> ::std::result::Result< + crate::client::customize::CustomizableOperation, + ::aws_smithy_http::result::SdkError + >{ + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::list_permission_set_provisioning_status::paginator::ListPermissionSetProvisioningStatusPaginator::send) which returns a `Stream`. diff --git a/sdk/ssoadmin/src/operation/list_permission_sets/builders.rs b/sdk/ssoadmin/src/operation/list_permission_sets/builders.rs index aeba8a190ca0..efa591a480e9 100644 --- a/sdk/ssoadmin/src/operation/list_permission_sets/builders.rs +++ b/sdk/ssoadmin/src/operation/list_permission_sets/builders.rs @@ -19,9 +19,9 @@ impl ListPermissionSetsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl ListPermissionSetsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_permission_sets::ListPermissionSets, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::list_permission_sets::ListPermissionSetsError, + >, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::list_permission_sets::paginator::ListPermissionSetsPaginator::send) which returns a `Stream`. diff --git a/sdk/ssoadmin/src/operation/list_permission_sets_provisioned_to_account/builders.rs b/sdk/ssoadmin/src/operation/list_permission_sets_provisioned_to_account/builders.rs index b90d7330a67d..b7d684b94cd5 100644 --- a/sdk/ssoadmin/src/operation/list_permission_sets_provisioned_to_account/builders.rs +++ b/sdk/ssoadmin/src/operation/list_permission_sets_provisioned_to_account/builders.rs @@ -19,9 +19,9 @@ impl ListPermissionSetsProvisionedToAccountFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize(self) -> ::std::result::Result< + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware(self) -> ::std::result::Result< crate::client::customize::CustomizableOperation, ::aws_smithy_http::result::SdkError >{ @@ -64,6 +64,15 @@ impl ListPermissionSetsProvisionedToAccountFluentBuilder { { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize(self) -> ::std::result::Result< + crate::client::customize::CustomizableOperation, + ::aws_smithy_http::result::SdkError + >{ + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::list_permission_sets_provisioned_to_account::paginator::ListPermissionSetsProvisionedToAccountPaginator::send) which returns a `Stream`. diff --git a/sdk/ssoadmin/src/operation/list_tags_for_resource/builders.rs b/sdk/ssoadmin/src/operation/list_tags_for_resource/builders.rs index 7475e449b7bc..0a3ee9bb4638 100644 --- a/sdk/ssoadmin/src/operation/list_tags_for_resource/builders.rs +++ b/sdk/ssoadmin/src/operation/list_tags_for_resource/builders.rs @@ -19,9 +19,9 @@ impl ListTagsForResourceFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl ListTagsForResourceFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_tags_for_resource::ListTagsForResource, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::list_tags_for_resource::ListTagsForResourceError, + >, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::list_tags_for_resource::paginator::ListTagsForResourcePaginator::send) which returns a `Stream`. diff --git a/sdk/ssoadmin/src/operation/provision_permission_set/builders.rs b/sdk/ssoadmin/src/operation/provision_permission_set/builders.rs index ab84562be6ff..300a383b8b73 100644 --- a/sdk/ssoadmin/src/operation/provision_permission_set/builders.rs +++ b/sdk/ssoadmin/src/operation/provision_permission_set/builders.rs @@ -19,9 +19,9 @@ impl ProvisionPermissionSetFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl ProvisionPermissionSetFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::provision_permission_set::ProvisionPermissionSet, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::provision_permission_set::ProvisionPermissionSetError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              The ARN of the IAM Identity Center instance under which the operation will be executed. For more information about ARNs, see Amazon Resource Names (ARNs) and AWS Service Namespaces in the AWS General Reference.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              pub fn instance_arn(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.instance_arn(input.into()); diff --git a/sdk/ssoadmin/src/operation/put_inline_policy_to_permission_set/builders.rs b/sdk/ssoadmin/src/operation/put_inline_policy_to_permission_set/builders.rs index eb87f01bcf87..764d9275e261 100644 --- a/sdk/ssoadmin/src/operation/put_inline_policy_to_permission_set/builders.rs +++ b/sdk/ssoadmin/src/operation/put_inline_policy_to_permission_set/builders.rs @@ -21,9 +21,9 @@ impl PutInlinePolicyToPermissionSetFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize(self) -> ::std::result::Result< + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware(self) -> ::std::result::Result< crate::client::customize::CustomizableOperation, ::aws_smithy_http::result::SdkError >{ @@ -66,6 +66,15 @@ impl PutInlinePolicyToPermissionSetFluentBuilder { { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize(self) -> ::std::result::Result< + crate::client::customize::CustomizableOperation, + ::aws_smithy_http::result::SdkError + >{ + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              The ARN of the IAM Identity Center instance under which the operation will be executed. For more information about ARNs, see Amazon Resource Names (ARNs) and AWS Service Namespaces in the AWS General Reference.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              pub fn instance_arn(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.instance_arn(input.into()); diff --git a/sdk/ssoadmin/src/operation/put_permissions_boundary_to_permission_set/builders.rs b/sdk/ssoadmin/src/operation/put_permissions_boundary_to_permission_set/builders.rs index bebf29fba6f2..b13259a92e6e 100644 --- a/sdk/ssoadmin/src/operation/put_permissions_boundary_to_permission_set/builders.rs +++ b/sdk/ssoadmin/src/operation/put_permissions_boundary_to_permission_set/builders.rs @@ -19,9 +19,9 @@ impl PutPermissionsBoundaryToPermissionSetFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize(self) -> ::std::result::Result< + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware(self) -> ::std::result::Result< crate::client::customize::CustomizableOperation, ::aws_smithy_http::result::SdkError >{ @@ -64,6 +64,15 @@ impl PutPermissionsBoundaryToPermissionSetFluentBuilder { { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize(self) -> ::std::result::Result< + crate::client::customize::CustomizableOperation, + ::aws_smithy_http::result::SdkError + >{ + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              The ARN of the IAM Identity Center instance under which the operation will be executed.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              pub fn instance_arn(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.instance_arn(input.into()); diff --git a/sdk/ssoadmin/src/operation/tag_resource/builders.rs b/sdk/ssoadmin/src/operation/tag_resource/builders.rs index b0ce0dc54afb..acf37a50660d 100644 --- a/sdk/ssoadmin/src/operation/tag_resource/builders.rs +++ b/sdk/ssoadmin/src/operation/tag_resource/builders.rs @@ -19,9 +19,9 @@ impl TagResourceFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl TagResourceFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::tag_resource::TagResource, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              The ARN of the IAM Identity Center instance under which the operation will be executed. For more information about ARNs, see Amazon Resource Names (ARNs) and AWS Service Namespaces in the AWS General Reference.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              pub fn instance_arn(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.instance_arn(input.into()); diff --git a/sdk/ssoadmin/src/operation/untag_resource/builders.rs b/sdk/ssoadmin/src/operation/untag_resource/builders.rs index 4804396d06d9..e96b349fd9f9 100644 --- a/sdk/ssoadmin/src/operation/untag_resource/builders.rs +++ b/sdk/ssoadmin/src/operation/untag_resource/builders.rs @@ -19,9 +19,9 @@ impl UntagResourceFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl UntagResourceFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::untag_resource::UntagResource, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              The ARN of the IAM Identity Center instance under which the operation will be executed. For more information about ARNs, see Amazon Resource Names (ARNs) and AWS Service Namespaces in the AWS General Reference.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              pub fn instance_arn(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.instance_arn(input.into()); diff --git a/sdk/ssoadmin/src/operation/update_instance_access_control_attribute_configuration/builders.rs b/sdk/ssoadmin/src/operation/update_instance_access_control_attribute_configuration/builders.rs index 38adbafd140f..b54d0f6b42a5 100644 --- a/sdk/ssoadmin/src/operation/update_instance_access_control_attribute_configuration/builders.rs +++ b/sdk/ssoadmin/src/operation/update_instance_access_control_attribute_configuration/builders.rs @@ -19,9 +19,9 @@ impl UpdateInstanceAccessControlAttributeConfigurationFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize(self) -> ::std::result::Result< + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware(self) -> ::std::result::Result< crate::client::customize::CustomizableOperation, ::aws_smithy_http::result::SdkError >{ @@ -64,6 +64,15 @@ impl UpdateInstanceAccessControlAttributeConfigurationFluentBuilder { { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize(self) -> ::std::result::Result< + crate::client::customize::CustomizableOperation, + ::aws_smithy_http::result::SdkError + >{ + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              The ARN of the IAM Identity Center instance under which the operation will be executed.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              pub fn instance_arn(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.instance_arn(input.into()); diff --git a/sdk/ssoadmin/src/operation/update_permission_set/builders.rs b/sdk/ssoadmin/src/operation/update_permission_set/builders.rs index 4699fce958e5..64b38bcd1ca1 100644 --- a/sdk/ssoadmin/src/operation/update_permission_set/builders.rs +++ b/sdk/ssoadmin/src/operation/update_permission_set/builders.rs @@ -19,9 +19,9 @@ impl UpdatePermissionSetFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl UpdatePermissionSetFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::update_permission_set::UpdatePermissionSet, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::update_permission_set::UpdatePermissionSetError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              The ARN of the IAM Identity Center instance under which the operation will be executed. For more information about ARNs, see Amazon Resource Names (ARNs) and AWS Service Namespaces in the AWS General Reference.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              pub fn instance_arn(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.instance_arn(input.into()); diff --git a/sdk/ssooidc/src/operation/create_token/builders.rs b/sdk/ssooidc/src/operation/create_token/builders.rs index f47bac2affe9..f869a6c241e2 100644 --- a/sdk/ssooidc/src/operation/create_token/builders.rs +++ b/sdk/ssooidc/src/operation/create_token/builders.rs @@ -19,9 +19,9 @@ impl CreateTokenFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl CreateTokenFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::create_token::CreateToken, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              The unique identifier string for each client. This value should come from the persisted result of the RegisterClient API.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              pub fn client_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.client_id(input.into()); diff --git a/sdk/ssooidc/src/operation/register_client/builders.rs b/sdk/ssooidc/src/operation/register_client/builders.rs index 8a35f86625f1..3da7e1939d5c 100644 --- a/sdk/ssooidc/src/operation/register_client/builders.rs +++ b/sdk/ssooidc/src/operation/register_client/builders.rs @@ -19,9 +19,9 @@ impl RegisterClientFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl RegisterClientFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::register_client::RegisterClient, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              The friendly name of the client.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              pub fn client_name(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.client_name(input.into()); diff --git a/sdk/ssooidc/src/operation/start_device_authorization/builders.rs b/sdk/ssooidc/src/operation/start_device_authorization/builders.rs index a630d4037d23..a82e179232b8 100644 --- a/sdk/ssooidc/src/operation/start_device_authorization/builders.rs +++ b/sdk/ssooidc/src/operation/start_device_authorization/builders.rs @@ -19,9 +19,9 @@ impl StartDeviceAuthorizationFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl StartDeviceAuthorizationFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::start_device_authorization::StartDeviceAuthorization, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::start_device_authorization::StartDeviceAuthorizationError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              The unique identifier string for the client that is registered with IAM Identity Center. This value should come from the persisted result of the RegisterClient API operation.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              pub fn client_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.client_id(input.into()); diff --git a/sdk/storagegateway/src/operation/activate_gateway/builders.rs b/sdk/storagegateway/src/operation/activate_gateway/builders.rs index ada6f911b122..46f75c415de2 100644 --- a/sdk/storagegateway/src/operation/activate_gateway/builders.rs +++ b/sdk/storagegateway/src/operation/activate_gateway/builders.rs @@ -21,9 +21,9 @@ impl ActivateGatewayFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -85,6 +85,22 @@ impl ActivateGatewayFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::activate_gateway::ActivateGateway, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::activate_gateway::ActivateGatewayError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              Your gateway activation key. You can obtain the activation key by sending an HTTP GET request with redirects enabled to the gateway IP address (port 80). The redirect URL returned in the response provides you the activation key for your gateway in the query string parameter activationKey. It may also include other activation-related parameters, however, these are merely defaults -- the arguments you pass to the ActivateGateway API call determine the actual configuration of your gateway.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              ///

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              For more information, see Getting activation key in the Storage Gateway User Guide.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              pub fn activation_key( diff --git a/sdk/storagegateway/src/operation/add_cache/builders.rs b/sdk/storagegateway/src/operation/add_cache/builders.rs index 58332103570a..85f0619d7a62 100644 --- a/sdk/storagegateway/src/operation/add_cache/builders.rs +++ b/sdk/storagegateway/src/operation/add_cache/builders.rs @@ -20,9 +20,9 @@ impl AddCacheFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -78,6 +78,20 @@ impl AddCacheFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::add_cache::AddCache, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              The Amazon Resource Name (ARN) of the gateway. Use the ListGateways operation to return a list of gateways for your account and Amazon Web Services Region.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              pub fn gateway_arn(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.gateway_arn(input.into()); diff --git a/sdk/storagegateway/src/operation/add_tags_to_resource/builders.rs b/sdk/storagegateway/src/operation/add_tags_to_resource/builders.rs index 056e40c43fdd..85e0253a4fc0 100644 --- a/sdk/storagegateway/src/operation/add_tags_to_resource/builders.rs +++ b/sdk/storagegateway/src/operation/add_tags_to_resource/builders.rs @@ -27,9 +27,9 @@ impl AddTagsToResourceFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -91,6 +91,22 @@ impl AddTagsToResourceFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::add_tags_to_resource::AddTagsToResource, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::add_tags_to_resource::AddTagsToResourceError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              The Amazon Resource Name (ARN) of the resource you want to add tags to.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              pub fn resource_arn(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.resource_arn(input.into()); diff --git a/sdk/storagegateway/src/operation/add_upload_buffer/builders.rs b/sdk/storagegateway/src/operation/add_upload_buffer/builders.rs index a22ad1350b73..769b1b2e4244 100644 --- a/sdk/storagegateway/src/operation/add_upload_buffer/builders.rs +++ b/sdk/storagegateway/src/operation/add_upload_buffer/builders.rs @@ -20,9 +20,9 @@ impl AddUploadBufferFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -84,6 +84,22 @@ impl AddUploadBufferFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::add_upload_buffer::AddUploadBuffer, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::add_upload_buffer::AddUploadBufferError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              The Amazon Resource Name (ARN) of the gateway. Use the ListGateways operation to return a list of gateways for your account and Amazon Web Services Region.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              pub fn gateway_arn(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.gateway_arn(input.into()); diff --git a/sdk/storagegateway/src/operation/add_working_storage/builders.rs b/sdk/storagegateway/src/operation/add_working_storage/builders.rs index fad251bc7f5e..d03e006a8eb4 100644 --- a/sdk/storagegateway/src/operation/add_working_storage/builders.rs +++ b/sdk/storagegateway/src/operation/add_working_storage/builders.rs @@ -22,9 +22,9 @@ impl AddWorkingStorageFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -86,6 +86,22 @@ impl AddWorkingStorageFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::add_working_storage::AddWorkingStorage, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::add_working_storage::AddWorkingStorageError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              The Amazon Resource Name (ARN) of the gateway. Use the ListGateways operation to return a list of gateways for your account and Amazon Web Services Region.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              pub fn gateway_arn(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.gateway_arn(input.into()); diff --git a/sdk/storagegateway/src/operation/assign_tape_pool/builders.rs b/sdk/storagegateway/src/operation/assign_tape_pool/builders.rs index cabbe03748ba..3dc4360a015c 100644 --- a/sdk/storagegateway/src/operation/assign_tape_pool/builders.rs +++ b/sdk/storagegateway/src/operation/assign_tape_pool/builders.rs @@ -19,9 +19,9 @@ impl AssignTapePoolFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl AssignTapePoolFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::assign_tape_pool::AssignTapePool, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::assign_tape_pool::AssignTapePoolError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              The unique Amazon Resource Name (ARN) of the virtual tape that you want to add to the tape pool.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              pub fn tape_arn(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.tape_arn(input.into()); diff --git a/sdk/storagegateway/src/operation/associate_file_system/builders.rs b/sdk/storagegateway/src/operation/associate_file_system/builders.rs index bf2da231f816..c3bc53d951f7 100644 --- a/sdk/storagegateway/src/operation/associate_file_system/builders.rs +++ b/sdk/storagegateway/src/operation/associate_file_system/builders.rs @@ -19,9 +19,9 @@ impl AssociateFileSystemFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl AssociateFileSystemFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::associate_file_system::AssociateFileSystem, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::associate_file_system::AssociateFileSystemError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              The user name of the user credential that has permission to access the root share D$ of the Amazon FSx file system. The user account must belong to the Amazon FSx delegated admin user group.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              pub fn user_name(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.user_name(input.into()); diff --git a/sdk/storagegateway/src/operation/attach_volume/builders.rs b/sdk/storagegateway/src/operation/attach_volume/builders.rs index 7d807f0281ce..542eeeef38be 100644 --- a/sdk/storagegateway/src/operation/attach_volume/builders.rs +++ b/sdk/storagegateway/src/operation/attach_volume/builders.rs @@ -19,9 +19,9 @@ impl AttachVolumeFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl AttachVolumeFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::attach_volume::AttachVolume, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              The Amazon Resource Name (ARN) of the gateway that you want to attach the volume to.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              pub fn gateway_arn(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.gateway_arn(input.into()); diff --git a/sdk/storagegateway/src/operation/cancel_archival/builders.rs b/sdk/storagegateway/src/operation/cancel_archival/builders.rs index e1ab00cebd11..6d9836e1fb97 100644 --- a/sdk/storagegateway/src/operation/cancel_archival/builders.rs +++ b/sdk/storagegateway/src/operation/cancel_archival/builders.rs @@ -19,9 +19,9 @@ impl CancelArchivalFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl CancelArchivalFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::cancel_archival::CancelArchival, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              The Amazon Resource Name (ARN) of the gateway. Use the ListGateways operation to return a list of gateways for your account and Amazon Web Services Region.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              pub fn gateway_arn(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.gateway_arn(input.into()); diff --git a/sdk/storagegateway/src/operation/cancel_retrieval/builders.rs b/sdk/storagegateway/src/operation/cancel_retrieval/builders.rs index ad4b7fa30d9a..08526b4a3833 100644 --- a/sdk/storagegateway/src/operation/cancel_retrieval/builders.rs +++ b/sdk/storagegateway/src/operation/cancel_retrieval/builders.rs @@ -19,9 +19,9 @@ impl CancelRetrievalFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl CancelRetrievalFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::cancel_retrieval::CancelRetrieval, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::cancel_retrieval::CancelRetrievalError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              The Amazon Resource Name (ARN) of the gateway. Use the ListGateways operation to return a list of gateways for your account and Amazon Web Services Region.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              pub fn gateway_arn(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.gateway_arn(input.into()); diff --git a/sdk/storagegateway/src/operation/create_cachedi_scsi_volume/builders.rs b/sdk/storagegateway/src/operation/create_cachedi_scsi_volume/builders.rs index 16c6d9e620f1..2848c82dca80 100644 --- a/sdk/storagegateway/src/operation/create_cachedi_scsi_volume/builders.rs +++ b/sdk/storagegateway/src/operation/create_cachedi_scsi_volume/builders.rs @@ -24,9 +24,9 @@ impl CreateCachediSCSIVolumeFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -88,6 +88,22 @@ impl CreateCachediSCSIVolumeFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::create_cachedi_scsi_volume::CreateCachediSCSIVolume, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::create_cachedi_scsi_volume::CreateCachediSCSIVolumeError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              The Amazon Resource Name (ARN) of the gateway. Use the ListGateways operation to return a list of gateways for your account and Amazon Web Services Region.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              pub fn gateway_arn(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.gateway_arn(input.into()); diff --git a/sdk/storagegateway/src/operation/create_nfs_file_share/builders.rs b/sdk/storagegateway/src/operation/create_nfs_file_share/builders.rs index 25cb33e0924e..e7d85b0963f9 100644 --- a/sdk/storagegateway/src/operation/create_nfs_file_share/builders.rs +++ b/sdk/storagegateway/src/operation/create_nfs_file_share/builders.rs @@ -22,9 +22,9 @@ impl CreateNFSFileShareFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -86,6 +86,22 @@ impl CreateNFSFileShareFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::create_nfs_file_share::CreateNFSFileShare, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::create_nfs_file_share::CreateNFSFileShareError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              A unique string value that you supply that is used by S3 File Gateway to ensure idempotent file share creation.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              pub fn client_token(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.client_token(input.into()); diff --git a/sdk/storagegateway/src/operation/create_smb_file_share/builders.rs b/sdk/storagegateway/src/operation/create_smb_file_share/builders.rs index 66485014e3ae..7f02996f2952 100644 --- a/sdk/storagegateway/src/operation/create_smb_file_share/builders.rs +++ b/sdk/storagegateway/src/operation/create_smb_file_share/builders.rs @@ -22,9 +22,9 @@ impl CreateSMBFileShareFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -86,6 +86,22 @@ impl CreateSMBFileShareFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::create_smb_file_share::CreateSMBFileShare, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::create_smb_file_share::CreateSMBFileShareError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              A unique string value that you supply that is used by S3 File Gateway to ensure idempotent file share creation.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              pub fn client_token(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.client_token(input.into()); diff --git a/sdk/storagegateway/src/operation/create_snapshot/builders.rs b/sdk/storagegateway/src/operation/create_snapshot/builders.rs index 7d7c5e7d17e0..0567642d1350 100644 --- a/sdk/storagegateway/src/operation/create_snapshot/builders.rs +++ b/sdk/storagegateway/src/operation/create_snapshot/builders.rs @@ -25,9 +25,9 @@ impl CreateSnapshotFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,20 @@ impl CreateSnapshotFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::create_snapshot::CreateSnapshot, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              The Amazon Resource Name (ARN) of the volume. Use the ListVolumes operation to return a list of gateway volumes.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              pub fn volume_arn(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.volume_arn(input.into()); diff --git a/sdk/storagegateway/src/operation/create_snapshot_from_volume_recovery_point/builders.rs b/sdk/storagegateway/src/operation/create_snapshot_from_volume_recovery_point/builders.rs index 5b28586046f5..75c6c701f69d 100644 --- a/sdk/storagegateway/src/operation/create_snapshot_from_volume_recovery_point/builders.rs +++ b/sdk/storagegateway/src/operation/create_snapshot_from_volume_recovery_point/builders.rs @@ -23,9 +23,9 @@ impl CreateSnapshotFromVolumeRecoveryPointFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize(self) -> ::std::result::Result< + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware(self) -> ::std::result::Result< crate::client::customize::CustomizableOperation, ::aws_smithy_http::result::SdkError >{ @@ -68,6 +68,15 @@ impl CreateSnapshotFromVolumeRecoveryPointFluentBuilder { { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize(self) -> ::std::result::Result< + crate::client::customize::CustomizableOperation, + ::aws_smithy_http::result::SdkError + >{ + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              The Amazon Resource Name (ARN) of the iSCSI volume target. Use the DescribeStorediSCSIVolumes operation to return to retrieve the TargetARN for specified VolumeARN.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              pub fn volume_arn(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.volume_arn(input.into()); diff --git a/sdk/storagegateway/src/operation/create_storedi_scsi_volume/builders.rs b/sdk/storagegateway/src/operation/create_storedi_scsi_volume/builders.rs index 6fbb6dacd9ba..3585062bb945 100644 --- a/sdk/storagegateway/src/operation/create_storedi_scsi_volume/builders.rs +++ b/sdk/storagegateway/src/operation/create_storedi_scsi_volume/builders.rs @@ -22,9 +22,9 @@ impl CreateStorediSCSIVolumeFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -86,6 +86,22 @@ impl CreateStorediSCSIVolumeFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::create_storedi_scsi_volume::CreateStorediSCSIVolume, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::create_storedi_scsi_volume::CreateStorediSCSIVolumeError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              The Amazon Resource Name (ARN) of the gateway. Use the ListGateways operation to return a list of gateways for your account and Amazon Web Services Region.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              pub fn gateway_arn(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.gateway_arn(input.into()); diff --git a/sdk/storagegateway/src/operation/create_tape_pool/builders.rs b/sdk/storagegateway/src/operation/create_tape_pool/builders.rs index 8ed14487cb74..dcdd8c6e1c55 100644 --- a/sdk/storagegateway/src/operation/create_tape_pool/builders.rs +++ b/sdk/storagegateway/src/operation/create_tape_pool/builders.rs @@ -19,9 +19,9 @@ impl CreateTapePoolFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl CreateTapePoolFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::create_tape_pool::CreateTapePool, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::create_tape_pool::CreateTapePoolError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              The name of the new custom tape pool.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              pub fn pool_name(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.pool_name(input.into()); diff --git a/sdk/storagegateway/src/operation/create_tape_with_barcode/builders.rs b/sdk/storagegateway/src/operation/create_tape_with_barcode/builders.rs index b870809df3ad..04434a2bd01f 100644 --- a/sdk/storagegateway/src/operation/create_tape_with_barcode/builders.rs +++ b/sdk/storagegateway/src/operation/create_tape_with_barcode/builders.rs @@ -21,9 +21,9 @@ impl CreateTapeWithBarcodeFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -85,6 +85,22 @@ impl CreateTapeWithBarcodeFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::create_tape_with_barcode::CreateTapeWithBarcode, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::create_tape_with_barcode::CreateTapeWithBarcodeError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              The unique Amazon Resource Name (ARN) that represents the gateway to associate the virtual tape with. Use the ListGateways operation to return a list of gateways for your account and Amazon Web Services Region.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              pub fn gateway_arn(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.gateway_arn(input.into()); diff --git a/sdk/storagegateway/src/operation/create_tapes/builders.rs b/sdk/storagegateway/src/operation/create_tapes/builders.rs index 48a8bfc2af6f..74486ce7e3da 100644 --- a/sdk/storagegateway/src/operation/create_tapes/builders.rs +++ b/sdk/storagegateway/src/operation/create_tapes/builders.rs @@ -21,9 +21,9 @@ impl CreateTapesFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -79,6 +79,20 @@ impl CreateTapesFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::create_tapes::CreateTapes, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              The unique Amazon Resource Name (ARN) that represents the gateway to associate the virtual tapes with. Use the ListGateways operation to return a list of gateways for your account and Amazon Web Services Region.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              pub fn gateway_arn(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.gateway_arn(input.into()); diff --git a/sdk/storagegateway/src/operation/delete_automatic_tape_creation_policy/builders.rs b/sdk/storagegateway/src/operation/delete_automatic_tape_creation_policy/builders.rs index 35ed603ff84b..6c5b60ec3311 100644 --- a/sdk/storagegateway/src/operation/delete_automatic_tape_creation_policy/builders.rs +++ b/sdk/storagegateway/src/operation/delete_automatic_tape_creation_policy/builders.rs @@ -19,9 +19,9 @@ impl DeleteAutomaticTapeCreationPolicyFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize(self) -> ::std::result::Result< + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware(self) -> ::std::result::Result< crate::client::customize::CustomizableOperation, ::aws_smithy_http::result::SdkError >{ @@ -64,6 +64,15 @@ impl DeleteAutomaticTapeCreationPolicyFluentBuilder { { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize(self) -> ::std::result::Result< + crate::client::customize::CustomizableOperation, + ::aws_smithy_http::result::SdkError + >{ + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              The Amazon Resource Name (ARN) of the gateway. Use the ListGateways operation to return a list of gateways for your account and Amazon Web Services Region.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              pub fn gateway_arn(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.gateway_arn(input.into()); diff --git a/sdk/storagegateway/src/operation/delete_bandwidth_rate_limit/builders.rs b/sdk/storagegateway/src/operation/delete_bandwidth_rate_limit/builders.rs index f47cf7b973a9..8e211823f641 100644 --- a/sdk/storagegateway/src/operation/delete_bandwidth_rate_limit/builders.rs +++ b/sdk/storagegateway/src/operation/delete_bandwidth_rate_limit/builders.rs @@ -19,9 +19,9 @@ impl DeleteBandwidthRateLimitFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl DeleteBandwidthRateLimitFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::delete_bandwidth_rate_limit::DeleteBandwidthRateLimit, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::delete_bandwidth_rate_limit::DeleteBandwidthRateLimitError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              The Amazon Resource Name (ARN) of the gateway. Use the ListGateways operation to return a list of gateways for your account and Amazon Web Services Region.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              pub fn gateway_arn(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.gateway_arn(input.into()); diff --git a/sdk/storagegateway/src/operation/delete_chap_credentials/builders.rs b/sdk/storagegateway/src/operation/delete_chap_credentials/builders.rs index fcd6eb6b87b8..ff915de4ad03 100644 --- a/sdk/storagegateway/src/operation/delete_chap_credentials/builders.rs +++ b/sdk/storagegateway/src/operation/delete_chap_credentials/builders.rs @@ -19,9 +19,9 @@ impl DeleteChapCredentialsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl DeleteChapCredentialsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::delete_chap_credentials::DeleteChapCredentials, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::delete_chap_credentials::DeleteChapCredentialsError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              The Amazon Resource Name (ARN) of the iSCSI volume target. Use the DescribeStorediSCSIVolumes operation to return to retrieve the TargetARN for specified VolumeARN.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              pub fn target_arn(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.target_arn(input.into()); diff --git a/sdk/storagegateway/src/operation/delete_file_share/builders.rs b/sdk/storagegateway/src/operation/delete_file_share/builders.rs index 785b1ad97011..cd1b90b0c804 100644 --- a/sdk/storagegateway/src/operation/delete_file_share/builders.rs +++ b/sdk/storagegateway/src/operation/delete_file_share/builders.rs @@ -19,9 +19,9 @@ impl DeleteFileShareFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl DeleteFileShareFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::delete_file_share::DeleteFileShare, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::delete_file_share::DeleteFileShareError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              The Amazon Resource Name (ARN) of the file share to be deleted.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              pub fn file_share_arn( mut self, diff --git a/sdk/storagegateway/src/operation/delete_gateway/builders.rs b/sdk/storagegateway/src/operation/delete_gateway/builders.rs index 03d0b7ea8786..13fa52a0aef6 100644 --- a/sdk/storagegateway/src/operation/delete_gateway/builders.rs +++ b/sdk/storagegateway/src/operation/delete_gateway/builders.rs @@ -22,9 +22,9 @@ impl DeleteGatewayFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -80,6 +80,20 @@ impl DeleteGatewayFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::delete_gateway::DeleteGateway, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              The Amazon Resource Name (ARN) of the gateway. Use the ListGateways operation to return a list of gateways for your account and Amazon Web Services Region.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              pub fn gateway_arn(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.gateway_arn(input.into()); diff --git a/sdk/storagegateway/src/operation/delete_snapshot_schedule/builders.rs b/sdk/storagegateway/src/operation/delete_snapshot_schedule/builders.rs index 5085e1c64427..e419d37d1c8a 100644 --- a/sdk/storagegateway/src/operation/delete_snapshot_schedule/builders.rs +++ b/sdk/storagegateway/src/operation/delete_snapshot_schedule/builders.rs @@ -22,9 +22,9 @@ impl DeleteSnapshotScheduleFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -86,6 +86,22 @@ impl DeleteSnapshotScheduleFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::delete_snapshot_schedule::DeleteSnapshotSchedule, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::delete_snapshot_schedule::DeleteSnapshotScheduleError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              The volume which snapshot schedule to delete.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              pub fn volume_arn(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.volume_arn(input.into()); diff --git a/sdk/storagegateway/src/operation/delete_tape/builders.rs b/sdk/storagegateway/src/operation/delete_tape/builders.rs index 1aafc6654899..1f7c12faedc1 100644 --- a/sdk/storagegateway/src/operation/delete_tape/builders.rs +++ b/sdk/storagegateway/src/operation/delete_tape/builders.rs @@ -19,9 +19,9 @@ impl DeleteTapeFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl DeleteTapeFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::delete_tape::DeleteTape, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              The unique Amazon Resource Name (ARN) of the gateway that the virtual tape to delete is associated with. Use the ListGateways operation to return a list of gateways for your account and Amazon Web Services Region.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              pub fn gateway_arn(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.gateway_arn(input.into()); diff --git a/sdk/storagegateway/src/operation/delete_tape_archive/builders.rs b/sdk/storagegateway/src/operation/delete_tape_archive/builders.rs index d6026ed9bea9..1ee01ab80659 100644 --- a/sdk/storagegateway/src/operation/delete_tape_archive/builders.rs +++ b/sdk/storagegateway/src/operation/delete_tape_archive/builders.rs @@ -19,9 +19,9 @@ impl DeleteTapeArchiveFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl DeleteTapeArchiveFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::delete_tape_archive::DeleteTapeArchive, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::delete_tape_archive::DeleteTapeArchiveError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              The Amazon Resource Name (ARN) of the virtual tape to delete from the virtual tape shelf (VTS).

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              pub fn tape_arn(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.tape_arn(input.into()); diff --git a/sdk/storagegateway/src/operation/delete_tape_pool/builders.rs b/sdk/storagegateway/src/operation/delete_tape_pool/builders.rs index 12567569e739..e1d1a5d46c31 100644 --- a/sdk/storagegateway/src/operation/delete_tape_pool/builders.rs +++ b/sdk/storagegateway/src/operation/delete_tape_pool/builders.rs @@ -19,9 +19,9 @@ impl DeleteTapePoolFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl DeleteTapePoolFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::delete_tape_pool::DeleteTapePool, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::delete_tape_pool::DeleteTapePoolError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              The Amazon Resource Name (ARN) of the custom tape pool to delete.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              pub fn pool_arn(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.pool_arn(input.into()); diff --git a/sdk/storagegateway/src/operation/delete_volume/builders.rs b/sdk/storagegateway/src/operation/delete_volume/builders.rs index dc3a35363642..2fd636082dc4 100644 --- a/sdk/storagegateway/src/operation/delete_volume/builders.rs +++ b/sdk/storagegateway/src/operation/delete_volume/builders.rs @@ -21,9 +21,9 @@ impl DeleteVolumeFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -79,6 +79,20 @@ impl DeleteVolumeFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::delete_volume::DeleteVolume, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              The Amazon Resource Name (ARN) of the volume. Use the ListVolumes operation to return a list of gateway volumes.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              pub fn volume_arn(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.volume_arn(input.into()); diff --git a/sdk/storagegateway/src/operation/describe_availability_monitor_test/builders.rs b/sdk/storagegateway/src/operation/describe_availability_monitor_test/builders.rs index 99194f05293a..ba690b8f912c 100644 --- a/sdk/storagegateway/src/operation/describe_availability_monitor_test/builders.rs +++ b/sdk/storagegateway/src/operation/describe_availability_monitor_test/builders.rs @@ -19,9 +19,9 @@ impl DescribeAvailabilityMonitorTestFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize(self) -> ::std::result::Result< + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware(self) -> ::std::result::Result< crate::client::customize::CustomizableOperation, ::aws_smithy_http::result::SdkError >{ @@ -64,6 +64,15 @@ impl DescribeAvailabilityMonitorTestFluentBuilder { { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize(self) -> ::std::result::Result< + crate::client::customize::CustomizableOperation, + ::aws_smithy_http::result::SdkError + >{ + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              The Amazon Resource Name (ARN) of the gateway. Use the ListGateways operation to return a list of gateways for your account and Amazon Web Services Region.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              pub fn gateway_arn(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.gateway_arn(input.into()); diff --git a/sdk/storagegateway/src/operation/describe_bandwidth_rate_limit/builders.rs b/sdk/storagegateway/src/operation/describe_bandwidth_rate_limit/builders.rs index 114ff007f325..062cadcc78b7 100644 --- a/sdk/storagegateway/src/operation/describe_bandwidth_rate_limit/builders.rs +++ b/sdk/storagegateway/src/operation/describe_bandwidth_rate_limit/builders.rs @@ -20,9 +20,9 @@ impl DescribeBandwidthRateLimitFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -84,6 +84,22 @@ impl DescribeBandwidthRateLimitFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::describe_bandwidth_rate_limit::DescribeBandwidthRateLimit, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::describe_bandwidth_rate_limit::DescribeBandwidthRateLimitError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              The Amazon Resource Name (ARN) of the gateway. Use the ListGateways operation to return a list of gateways for your account and Amazon Web Services Region.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              pub fn gateway_arn(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.gateway_arn(input.into()); diff --git a/sdk/storagegateway/src/operation/describe_bandwidth_rate_limit_schedule/builders.rs b/sdk/storagegateway/src/operation/describe_bandwidth_rate_limit_schedule/builders.rs index 1355656b6d13..06ccbf213c68 100644 --- a/sdk/storagegateway/src/operation/describe_bandwidth_rate_limit_schedule/builders.rs +++ b/sdk/storagegateway/src/operation/describe_bandwidth_rate_limit_schedule/builders.rs @@ -22,9 +22,9 @@ impl DescribeBandwidthRateLimitScheduleFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize(self) -> ::std::result::Result< + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware(self) -> ::std::result::Result< crate::client::customize::CustomizableOperation, ::aws_smithy_http::result::SdkError >{ @@ -67,6 +67,15 @@ impl DescribeBandwidthRateLimitScheduleFluentBuilder { { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize(self) -> ::std::result::Result< + crate::client::customize::CustomizableOperation, + ::aws_smithy_http::result::SdkError + >{ + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              The Amazon Resource Name (ARN) of the gateway. Use the ListGateways operation to return a list of gateways for your account and Amazon Web Services Region.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              pub fn gateway_arn(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.gateway_arn(input.into()); diff --git a/sdk/storagegateway/src/operation/describe_cache/builders.rs b/sdk/storagegateway/src/operation/describe_cache/builders.rs index 8e7874f250ef..cc3161583094 100644 --- a/sdk/storagegateway/src/operation/describe_cache/builders.rs +++ b/sdk/storagegateway/src/operation/describe_cache/builders.rs @@ -20,9 +20,9 @@ impl DescribeCacheFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -78,6 +78,20 @@ impl DescribeCacheFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::describe_cache::DescribeCache, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              The Amazon Resource Name (ARN) of the gateway. Use the ListGateways operation to return a list of gateways for your account and Amazon Web Services Region.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              pub fn gateway_arn(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.gateway_arn(input.into()); diff --git a/sdk/storagegateway/src/operation/describe_cachedi_scsi_volumes/builders.rs b/sdk/storagegateway/src/operation/describe_cachedi_scsi_volumes/builders.rs index 3d176f886f1a..4e42b62df8e2 100644 --- a/sdk/storagegateway/src/operation/describe_cachedi_scsi_volumes/builders.rs +++ b/sdk/storagegateway/src/operation/describe_cachedi_scsi_volumes/builders.rs @@ -20,9 +20,9 @@ impl DescribeCachediSCSIVolumesFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -84,6 +84,22 @@ impl DescribeCachediSCSIVolumesFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::describe_cachedi_scsi_volumes::DescribeCachediSCSIVolumes, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::describe_cachedi_scsi_volumes::DescribeCachediSCSIVolumesError, + >, + > { + self.customize_middleware().await + } /// Appends an item to `VolumeARNs`. /// /// To override the contents of this collection use [`set_volume_ar_ns`](Self::set_volume_ar_ns). diff --git a/sdk/storagegateway/src/operation/describe_chap_credentials/builders.rs b/sdk/storagegateway/src/operation/describe_chap_credentials/builders.rs index 0aedebbb469c..d48abbd44994 100644 --- a/sdk/storagegateway/src/operation/describe_chap_credentials/builders.rs +++ b/sdk/storagegateway/src/operation/describe_chap_credentials/builders.rs @@ -20,9 +20,9 @@ impl DescribeChapCredentialsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -84,6 +84,22 @@ impl DescribeChapCredentialsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::describe_chap_credentials::DescribeChapCredentials, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::describe_chap_credentials::DescribeChapCredentialsError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              The Amazon Resource Name (ARN) of the iSCSI volume target. Use the DescribeStorediSCSIVolumes operation to return to retrieve the TargetARN for specified VolumeARN.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              pub fn target_arn(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.target_arn(input.into()); diff --git a/sdk/storagegateway/src/operation/describe_file_system_associations/builders.rs b/sdk/storagegateway/src/operation/describe_file_system_associations/builders.rs index 3d62c8e6b79a..1251b11ad95e 100644 --- a/sdk/storagegateway/src/operation/describe_file_system_associations/builders.rs +++ b/sdk/storagegateway/src/operation/describe_file_system_associations/builders.rs @@ -19,9 +19,9 @@ impl DescribeFileSystemAssociationsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize(self) -> ::std::result::Result< + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware(self) -> ::std::result::Result< crate::client::customize::CustomizableOperation, ::aws_smithy_http::result::SdkError >{ @@ -64,6 +64,15 @@ impl DescribeFileSystemAssociationsFluentBuilder { { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize(self) -> ::std::result::Result< + crate::client::customize::CustomizableOperation, + ::aws_smithy_http::result::SdkError + >{ + self.customize_middleware().await + } /// Appends an item to `FileSystemAssociationARNList`. /// /// To override the contents of this collection use [`set_file_system_association_arn_list`](Self::set_file_system_association_arn_list). diff --git a/sdk/storagegateway/src/operation/describe_gateway_information/builders.rs b/sdk/storagegateway/src/operation/describe_gateway_information/builders.rs index 94ccabcada42..1f3169454cb4 100644 --- a/sdk/storagegateway/src/operation/describe_gateway_information/builders.rs +++ b/sdk/storagegateway/src/operation/describe_gateway_information/builders.rs @@ -19,9 +19,9 @@ impl DescribeGatewayInformationFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl DescribeGatewayInformationFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::describe_gateway_information::DescribeGatewayInformation, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::describe_gateway_information::DescribeGatewayInformationError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              The Amazon Resource Name (ARN) of the gateway. Use the ListGateways operation to return a list of gateways for your account and Amazon Web Services Region.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              pub fn gateway_arn(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.gateway_arn(input.into()); diff --git a/sdk/storagegateway/src/operation/describe_maintenance_start_time/builders.rs b/sdk/storagegateway/src/operation/describe_maintenance_start_time/builders.rs index 164ce98fa3b5..cb5b3fd2b49b 100644 --- a/sdk/storagegateway/src/operation/describe_maintenance_start_time/builders.rs +++ b/sdk/storagegateway/src/operation/describe_maintenance_start_time/builders.rs @@ -19,9 +19,9 @@ impl DescribeMaintenanceStartTimeFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl DescribeMaintenanceStartTimeFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::describe_maintenance_start_time::DescribeMaintenanceStartTime, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::describe_maintenance_start_time::DescribeMaintenanceStartTimeError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              The Amazon Resource Name (ARN) of the gateway. Use the ListGateways operation to return a list of gateways for your account and Amazon Web Services Region.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              pub fn gateway_arn(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.gateway_arn(input.into()); diff --git a/sdk/storagegateway/src/operation/describe_nfs_file_shares/builders.rs b/sdk/storagegateway/src/operation/describe_nfs_file_shares/builders.rs index d7901326fe51..5a0b4c7680c3 100644 --- a/sdk/storagegateway/src/operation/describe_nfs_file_shares/builders.rs +++ b/sdk/storagegateway/src/operation/describe_nfs_file_shares/builders.rs @@ -19,9 +19,9 @@ impl DescribeNFSFileSharesFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl DescribeNFSFileSharesFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::describe_nfs_file_shares::DescribeNFSFileShares, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::describe_nfs_file_shares::DescribeNFSFileSharesError, + >, + > { + self.customize_middleware().await + } /// Appends an item to `FileShareARNList`. /// /// To override the contents of this collection use [`set_file_share_arn_list`](Self::set_file_share_arn_list). diff --git a/sdk/storagegateway/src/operation/describe_smb_file_shares/builders.rs b/sdk/storagegateway/src/operation/describe_smb_file_shares/builders.rs index 5be4152afcfd..4fd09b0f3af0 100644 --- a/sdk/storagegateway/src/operation/describe_smb_file_shares/builders.rs +++ b/sdk/storagegateway/src/operation/describe_smb_file_shares/builders.rs @@ -19,9 +19,9 @@ impl DescribeSMBFileSharesFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl DescribeSMBFileSharesFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::describe_smb_file_shares::DescribeSMBFileShares, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::describe_smb_file_shares::DescribeSMBFileSharesError, + >, + > { + self.customize_middleware().await + } /// Appends an item to `FileShareARNList`. /// /// To override the contents of this collection use [`set_file_share_arn_list`](Self::set_file_share_arn_list). diff --git a/sdk/storagegateway/src/operation/describe_smb_settings/builders.rs b/sdk/storagegateway/src/operation/describe_smb_settings/builders.rs index 19b120b55887..e1f7eb0f6606 100644 --- a/sdk/storagegateway/src/operation/describe_smb_settings/builders.rs +++ b/sdk/storagegateway/src/operation/describe_smb_settings/builders.rs @@ -19,9 +19,9 @@ impl DescribeSMBSettingsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl DescribeSMBSettingsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::describe_smb_settings::DescribeSMBSettings, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::describe_smb_settings::DescribeSMBSettingsError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              The Amazon Resource Name (ARN) of the gateway. Use the ListGateways operation to return a list of gateways for your account and Amazon Web Services Region.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              pub fn gateway_arn(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.gateway_arn(input.into()); diff --git a/sdk/storagegateway/src/operation/describe_snapshot_schedule/builders.rs b/sdk/storagegateway/src/operation/describe_snapshot_schedule/builders.rs index dbea6b39925e..61dbcd24d124 100644 --- a/sdk/storagegateway/src/operation/describe_snapshot_schedule/builders.rs +++ b/sdk/storagegateway/src/operation/describe_snapshot_schedule/builders.rs @@ -19,9 +19,9 @@ impl DescribeSnapshotScheduleFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl DescribeSnapshotScheduleFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::describe_snapshot_schedule::DescribeSnapshotSchedule, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::describe_snapshot_schedule::DescribeSnapshotScheduleError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              The Amazon Resource Name (ARN) of the volume. Use the ListVolumes operation to return a list of gateway volumes.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              pub fn volume_arn(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.volume_arn(input.into()); diff --git a/sdk/storagegateway/src/operation/describe_storedi_scsi_volumes/builders.rs b/sdk/storagegateway/src/operation/describe_storedi_scsi_volumes/builders.rs index 648d8b43d13a..6c79074238e3 100644 --- a/sdk/storagegateway/src/operation/describe_storedi_scsi_volumes/builders.rs +++ b/sdk/storagegateway/src/operation/describe_storedi_scsi_volumes/builders.rs @@ -19,9 +19,9 @@ impl DescribeStorediSCSIVolumesFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl DescribeStorediSCSIVolumesFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::describe_storedi_scsi_volumes::DescribeStorediSCSIVolumes, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::describe_storedi_scsi_volumes::DescribeStorediSCSIVolumesError, + >, + > { + self.customize_middleware().await + } /// Appends an item to `VolumeARNs`. /// /// To override the contents of this collection use [`set_volume_ar_ns`](Self::set_volume_ar_ns). diff --git a/sdk/storagegateway/src/operation/describe_tape_archives/builders.rs b/sdk/storagegateway/src/operation/describe_tape_archives/builders.rs index 6cd6951880fd..772a9dc42f07 100644 --- a/sdk/storagegateway/src/operation/describe_tape_archives/builders.rs +++ b/sdk/storagegateway/src/operation/describe_tape_archives/builders.rs @@ -20,9 +20,9 @@ impl DescribeTapeArchivesFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -84,6 +84,22 @@ impl DescribeTapeArchivesFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::describe_tape_archives::DescribeTapeArchives, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::describe_tape_archives::DescribeTapeArchivesError, + >, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::describe_tape_archives::paginator::DescribeTapeArchivesPaginator::send) which returns a `Stream`. diff --git a/sdk/storagegateway/src/operation/describe_tape_recovery_points/builders.rs b/sdk/storagegateway/src/operation/describe_tape_recovery_points/builders.rs index 952f26882191..cc0592de26e8 100644 --- a/sdk/storagegateway/src/operation/describe_tape_recovery_points/builders.rs +++ b/sdk/storagegateway/src/operation/describe_tape_recovery_points/builders.rs @@ -20,9 +20,9 @@ impl DescribeTapeRecoveryPointsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -84,6 +84,22 @@ impl DescribeTapeRecoveryPointsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::describe_tape_recovery_points::DescribeTapeRecoveryPoints, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::describe_tape_recovery_points::DescribeTapeRecoveryPointsError, + >, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::describe_tape_recovery_points::paginator::DescribeTapeRecoveryPointsPaginator::send) which returns a `Stream`. diff --git a/sdk/storagegateway/src/operation/describe_tapes/builders.rs b/sdk/storagegateway/src/operation/describe_tapes/builders.rs index 42d8484e6843..5484427d847d 100644 --- a/sdk/storagegateway/src/operation/describe_tapes/builders.rs +++ b/sdk/storagegateway/src/operation/describe_tapes/builders.rs @@ -19,9 +19,9 @@ impl DescribeTapesFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl DescribeTapesFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::describe_tapes::DescribeTapes, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::describe_tapes::paginator::DescribeTapesPaginator::send) which returns a `Stream`. diff --git a/sdk/storagegateway/src/operation/describe_upload_buffer/builders.rs b/sdk/storagegateway/src/operation/describe_upload_buffer/builders.rs index 4fde1319b4b5..95bcacdd272d 100644 --- a/sdk/storagegateway/src/operation/describe_upload_buffer/builders.rs +++ b/sdk/storagegateway/src/operation/describe_upload_buffer/builders.rs @@ -20,9 +20,9 @@ impl DescribeUploadBufferFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -84,6 +84,22 @@ impl DescribeUploadBufferFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::describe_upload_buffer::DescribeUploadBuffer, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::describe_upload_buffer::DescribeUploadBufferError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              The Amazon Resource Name (ARN) of the gateway. Use the ListGateways operation to return a list of gateways for your account and Amazon Web Services Region.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              pub fn gateway_arn(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.gateway_arn(input.into()); diff --git a/sdk/storagegateway/src/operation/describe_vtl_devices/builders.rs b/sdk/storagegateway/src/operation/describe_vtl_devices/builders.rs index 6ebc6e834199..d5f910d04bc5 100644 --- a/sdk/storagegateway/src/operation/describe_vtl_devices/builders.rs +++ b/sdk/storagegateway/src/operation/describe_vtl_devices/builders.rs @@ -20,9 +20,9 @@ impl DescribeVTLDevicesFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -84,6 +84,22 @@ impl DescribeVTLDevicesFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::describe_vtl_devices::DescribeVTLDevices, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::describe_vtl_devices::DescribeVTLDevicesError, + >, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::describe_vtl_devices::paginator::DescribeVtlDevicesPaginator::send) which returns a `Stream`. diff --git a/sdk/storagegateway/src/operation/describe_working_storage/builders.rs b/sdk/storagegateway/src/operation/describe_working_storage/builders.rs index 83c37e915730..8aa0e024a287 100644 --- a/sdk/storagegateway/src/operation/describe_working_storage/builders.rs +++ b/sdk/storagegateway/src/operation/describe_working_storage/builders.rs @@ -22,9 +22,9 @@ impl DescribeWorkingStorageFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -86,6 +86,22 @@ impl DescribeWorkingStorageFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::describe_working_storage::DescribeWorkingStorage, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::describe_working_storage::DescribeWorkingStorageError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              The Amazon Resource Name (ARN) of the gateway. Use the ListGateways operation to return a list of gateways for your account and Amazon Web Services Region.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              pub fn gateway_arn(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.gateway_arn(input.into()); diff --git a/sdk/storagegateway/src/operation/detach_volume/builders.rs b/sdk/storagegateway/src/operation/detach_volume/builders.rs index 19962c67193d..31b4f75e8408 100644 --- a/sdk/storagegateway/src/operation/detach_volume/builders.rs +++ b/sdk/storagegateway/src/operation/detach_volume/builders.rs @@ -19,9 +19,9 @@ impl DetachVolumeFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl DetachVolumeFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::detach_volume::DetachVolume, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              The Amazon Resource Name (ARN) of the volume to detach from the gateway.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              pub fn volume_arn(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.volume_arn(input.into()); diff --git a/sdk/storagegateway/src/operation/disable_gateway/builders.rs b/sdk/storagegateway/src/operation/disable_gateway/builders.rs index 530630dc206b..9f0290784dad 100644 --- a/sdk/storagegateway/src/operation/disable_gateway/builders.rs +++ b/sdk/storagegateway/src/operation/disable_gateway/builders.rs @@ -22,9 +22,9 @@ impl DisableGatewayFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -80,6 +80,20 @@ impl DisableGatewayFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::disable_gateway::DisableGateway, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              The Amazon Resource Name (ARN) of the gateway. Use the ListGateways operation to return a list of gateways for your account and Amazon Web Services Region.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              pub fn gateway_arn(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.gateway_arn(input.into()); diff --git a/sdk/storagegateway/src/operation/disassociate_file_system/builders.rs b/sdk/storagegateway/src/operation/disassociate_file_system/builders.rs index 8c603f5da0f8..384872074cb5 100644 --- a/sdk/storagegateway/src/operation/disassociate_file_system/builders.rs +++ b/sdk/storagegateway/src/operation/disassociate_file_system/builders.rs @@ -19,9 +19,9 @@ impl DisassociateFileSystemFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl DisassociateFileSystemFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::disassociate_file_system::DisassociateFileSystem, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::disassociate_file_system::DisassociateFileSystemError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              The Amazon Resource Name (ARN) of the file system association to be deleted.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              pub fn file_system_association_arn( mut self, diff --git a/sdk/storagegateway/src/operation/join_domain/builders.rs b/sdk/storagegateway/src/operation/join_domain/builders.rs index 2bb3e49cefb4..3c2b705ca722 100644 --- a/sdk/storagegateway/src/operation/join_domain/builders.rs +++ b/sdk/storagegateway/src/operation/join_domain/builders.rs @@ -19,9 +19,9 @@ impl JoinDomainFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl JoinDomainFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::join_domain::JoinDomain, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              The Amazon Resource Name (ARN) of the gateway. Use the ListGateways operation to return a list of gateways for your account and Amazon Web Services Region.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              pub fn gateway_arn(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.gateway_arn(input.into()); diff --git a/sdk/storagegateway/src/operation/list_automatic_tape_creation_policies/builders.rs b/sdk/storagegateway/src/operation/list_automatic_tape_creation_policies/builders.rs index 98c37d965ee9..c496c8399c49 100644 --- a/sdk/storagegateway/src/operation/list_automatic_tape_creation_policies/builders.rs +++ b/sdk/storagegateway/src/operation/list_automatic_tape_creation_policies/builders.rs @@ -20,9 +20,9 @@ impl ListAutomaticTapeCreationPoliciesFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize(self) -> ::std::result::Result< + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware(self) -> ::std::result::Result< crate::client::customize::CustomizableOperation, ::aws_smithy_http::result::SdkError >{ @@ -65,6 +65,15 @@ impl ListAutomaticTapeCreationPoliciesFluentBuilder { { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize(self) -> ::std::result::Result< + crate::client::customize::CustomizableOperation, + ::aws_smithy_http::result::SdkError + >{ + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              The Amazon Resource Name (ARN) of the gateway. Use the ListGateways operation to return a list of gateways for your account and Amazon Web Services Region.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              pub fn gateway_arn(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.gateway_arn(input.into()); diff --git a/sdk/storagegateway/src/operation/list_file_shares/builders.rs b/sdk/storagegateway/src/operation/list_file_shares/builders.rs index ebe2d65cd66a..2a2d9e0c09c4 100644 --- a/sdk/storagegateway/src/operation/list_file_shares/builders.rs +++ b/sdk/storagegateway/src/operation/list_file_shares/builders.rs @@ -19,9 +19,9 @@ impl ListFileSharesFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl ListFileSharesFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_file_shares::ListFileShares, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::list_file_shares::ListFileSharesError, + >, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::list_file_shares::paginator::ListFileSharesPaginator::send) which returns a `Stream`. diff --git a/sdk/storagegateway/src/operation/list_file_system_associations/builders.rs b/sdk/storagegateway/src/operation/list_file_system_associations/builders.rs index e4d709671b4c..e6f9971f6947 100644 --- a/sdk/storagegateway/src/operation/list_file_system_associations/builders.rs +++ b/sdk/storagegateway/src/operation/list_file_system_associations/builders.rs @@ -19,9 +19,9 @@ impl ListFileSystemAssociationsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl ListFileSystemAssociationsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_file_system_associations::ListFileSystemAssociations, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::list_file_system_associations::ListFileSystemAssociationsError, + >, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::list_file_system_associations::paginator::ListFileSystemAssociationsPaginator::send) which returns a `Stream`. diff --git a/sdk/storagegateway/src/operation/list_gateways/builders.rs b/sdk/storagegateway/src/operation/list_gateways/builders.rs index dfd3784a8527..d957e29242c7 100644 --- a/sdk/storagegateway/src/operation/list_gateways/builders.rs +++ b/sdk/storagegateway/src/operation/list_gateways/builders.rs @@ -21,9 +21,9 @@ impl ListGatewaysFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -79,6 +79,20 @@ impl ListGatewaysFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_gateways::ListGateways, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::list_gateways::paginator::ListGatewaysPaginator::send) which returns a `Stream`. diff --git a/sdk/storagegateway/src/operation/list_local_disks/builders.rs b/sdk/storagegateway/src/operation/list_local_disks/builders.rs index 2d343ddad992..81aae948765a 100644 --- a/sdk/storagegateway/src/operation/list_local_disks/builders.rs +++ b/sdk/storagegateway/src/operation/list_local_disks/builders.rs @@ -20,9 +20,9 @@ impl ListLocalDisksFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -84,6 +84,22 @@ impl ListLocalDisksFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_local_disks::ListLocalDisks, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::list_local_disks::ListLocalDisksError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              The Amazon Resource Name (ARN) of the gateway. Use the ListGateways operation to return a list of gateways for your account and Amazon Web Services Region.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              pub fn gateway_arn(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.gateway_arn(input.into()); diff --git a/sdk/storagegateway/src/operation/list_tags_for_resource/builders.rs b/sdk/storagegateway/src/operation/list_tags_for_resource/builders.rs index c0e95a8b86ff..8e3ba6079c17 100644 --- a/sdk/storagegateway/src/operation/list_tags_for_resource/builders.rs +++ b/sdk/storagegateway/src/operation/list_tags_for_resource/builders.rs @@ -19,9 +19,9 @@ impl ListTagsForResourceFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl ListTagsForResourceFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_tags_for_resource::ListTagsForResource, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::list_tags_for_resource::ListTagsForResourceError, + >, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::list_tags_for_resource::paginator::ListTagsForResourcePaginator::send) which returns a `Stream`. diff --git a/sdk/storagegateway/src/operation/list_tape_pools/builders.rs b/sdk/storagegateway/src/operation/list_tape_pools/builders.rs index 6ffeda2149fb..28582fb69fea 100644 --- a/sdk/storagegateway/src/operation/list_tape_pools/builders.rs +++ b/sdk/storagegateway/src/operation/list_tape_pools/builders.rs @@ -20,9 +20,9 @@ impl ListTapePoolsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -78,6 +78,20 @@ impl ListTapePoolsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_tape_pools::ListTapePools, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::list_tape_pools::paginator::ListTapePoolsPaginator::send) which returns a `Stream`. diff --git a/sdk/storagegateway/src/operation/list_tapes/builders.rs b/sdk/storagegateway/src/operation/list_tapes/builders.rs index 4fca55203f3f..793092821b34 100644 --- a/sdk/storagegateway/src/operation/list_tapes/builders.rs +++ b/sdk/storagegateway/src/operation/list_tapes/builders.rs @@ -20,9 +20,9 @@ impl ListTapesFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -78,6 +78,20 @@ impl ListTapesFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_tapes::ListTapes, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::list_tapes::paginator::ListTapesPaginator::send) which returns a `Stream`. diff --git a/sdk/storagegateway/src/operation/list_volume_initiators/builders.rs b/sdk/storagegateway/src/operation/list_volume_initiators/builders.rs index ade260071342..b6b115737948 100644 --- a/sdk/storagegateway/src/operation/list_volume_initiators/builders.rs +++ b/sdk/storagegateway/src/operation/list_volume_initiators/builders.rs @@ -19,9 +19,9 @@ impl ListVolumeInitiatorsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl ListVolumeInitiatorsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_volume_initiators::ListVolumeInitiators, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::list_volume_initiators::ListVolumeInitiatorsError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              The Amazon Resource Name (ARN) of the volume. Use the ListVolumes operation to return a list of gateway volumes for the gateway.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              pub fn volume_arn(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.volume_arn(input.into()); diff --git a/sdk/storagegateway/src/operation/list_volume_recovery_points/builders.rs b/sdk/storagegateway/src/operation/list_volume_recovery_points/builders.rs index ba7e2a4cfda8..914a054c620c 100644 --- a/sdk/storagegateway/src/operation/list_volume_recovery_points/builders.rs +++ b/sdk/storagegateway/src/operation/list_volume_recovery_points/builders.rs @@ -20,9 +20,9 @@ impl ListVolumeRecoveryPointsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -84,6 +84,22 @@ impl ListVolumeRecoveryPointsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_volume_recovery_points::ListVolumeRecoveryPoints, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::list_volume_recovery_points::ListVolumeRecoveryPointsError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              The Amazon Resource Name (ARN) of the gateway. Use the ListGateways operation to return a list of gateways for your account and Amazon Web Services Region.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              pub fn gateway_arn(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.gateway_arn(input.into()); diff --git a/sdk/storagegateway/src/operation/list_volumes/builders.rs b/sdk/storagegateway/src/operation/list_volumes/builders.rs index 9027d2e405dd..ec6248e9739f 100644 --- a/sdk/storagegateway/src/operation/list_volumes/builders.rs +++ b/sdk/storagegateway/src/operation/list_volumes/builders.rs @@ -20,9 +20,9 @@ impl ListVolumesFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -78,6 +78,20 @@ impl ListVolumesFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_volumes::ListVolumes, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::list_volumes::paginator::ListVolumesPaginator::send) which returns a `Stream`. diff --git a/sdk/storagegateway/src/operation/notify_when_uploaded/builders.rs b/sdk/storagegateway/src/operation/notify_when_uploaded/builders.rs index 5b4c7aaeb1cc..a00188a063e4 100644 --- a/sdk/storagegateway/src/operation/notify_when_uploaded/builders.rs +++ b/sdk/storagegateway/src/operation/notify_when_uploaded/builders.rs @@ -21,9 +21,9 @@ impl NotifyWhenUploadedFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -85,6 +85,22 @@ impl NotifyWhenUploadedFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::notify_when_uploaded::NotifyWhenUploaded, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::notify_when_uploaded::NotifyWhenUploadedError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              The Amazon Resource Name (ARN) of the file share.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              pub fn file_share_arn( mut self, diff --git a/sdk/storagegateway/src/operation/refresh_cache/builders.rs b/sdk/storagegateway/src/operation/refresh_cache/builders.rs index 0dad3f5cd258..932308769715 100644 --- a/sdk/storagegateway/src/operation/refresh_cache/builders.rs +++ b/sdk/storagegateway/src/operation/refresh_cache/builders.rs @@ -31,9 +31,9 @@ impl RefreshCacheFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -89,6 +89,20 @@ impl RefreshCacheFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::refresh_cache::RefreshCache, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              The Amazon Resource Name (ARN) of the file share you want to refresh.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              pub fn file_share_arn( mut self, diff --git a/sdk/storagegateway/src/operation/remove_tags_from_resource/builders.rs b/sdk/storagegateway/src/operation/remove_tags_from_resource/builders.rs index 4e1c6a2bbe42..5e4a94f77172 100644 --- a/sdk/storagegateway/src/operation/remove_tags_from_resource/builders.rs +++ b/sdk/storagegateway/src/operation/remove_tags_from_resource/builders.rs @@ -20,9 +20,9 @@ impl RemoveTagsFromResourceFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -84,6 +84,22 @@ impl RemoveTagsFromResourceFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::remove_tags_from_resource::RemoveTagsFromResource, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::remove_tags_from_resource::RemoveTagsFromResourceError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              The Amazon Resource Name (ARN) of the resource you want to remove the tags from.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              pub fn resource_arn(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.resource_arn(input.into()); diff --git a/sdk/storagegateway/src/operation/reset_cache/builders.rs b/sdk/storagegateway/src/operation/reset_cache/builders.rs index 7532bd7b7154..804d6be09610 100644 --- a/sdk/storagegateway/src/operation/reset_cache/builders.rs +++ b/sdk/storagegateway/src/operation/reset_cache/builders.rs @@ -21,9 +21,9 @@ impl ResetCacheFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -79,6 +79,20 @@ impl ResetCacheFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::reset_cache::ResetCache, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              The Amazon Resource Name (ARN) of the gateway. Use the ListGateways operation to return a list of gateways for your account and Amazon Web Services Region.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              pub fn gateway_arn(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.gateway_arn(input.into()); diff --git a/sdk/storagegateway/src/operation/retrieve_tape_archive/builders.rs b/sdk/storagegateway/src/operation/retrieve_tape_archive/builders.rs index b9a0e8b497d2..26b00f2b96fb 100644 --- a/sdk/storagegateway/src/operation/retrieve_tape_archive/builders.rs +++ b/sdk/storagegateway/src/operation/retrieve_tape_archive/builders.rs @@ -20,9 +20,9 @@ impl RetrieveTapeArchiveFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -84,6 +84,22 @@ impl RetrieveTapeArchiveFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::retrieve_tape_archive::RetrieveTapeArchive, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::retrieve_tape_archive::RetrieveTapeArchiveError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              The Amazon Resource Name (ARN) of the virtual tape you want to retrieve from the virtual tape shelf (VTS).

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              pub fn tape_arn(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.tape_arn(input.into()); diff --git a/sdk/storagegateway/src/operation/retrieve_tape_recovery_point/builders.rs b/sdk/storagegateway/src/operation/retrieve_tape_recovery_point/builders.rs index 77cb5bf9b5c7..275ae41bab8b 100644 --- a/sdk/storagegateway/src/operation/retrieve_tape_recovery_point/builders.rs +++ b/sdk/storagegateway/src/operation/retrieve_tape_recovery_point/builders.rs @@ -22,9 +22,9 @@ impl RetrieveTapeRecoveryPointFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -86,6 +86,22 @@ impl RetrieveTapeRecoveryPointFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::retrieve_tape_recovery_point::RetrieveTapeRecoveryPoint, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::retrieve_tape_recovery_point::RetrieveTapeRecoveryPointError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              The Amazon Resource Name (ARN) of the virtual tape for which you want to retrieve the recovery point.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              pub fn tape_arn(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.tape_arn(input.into()); diff --git a/sdk/storagegateway/src/operation/set_local_console_password/builders.rs b/sdk/storagegateway/src/operation/set_local_console_password/builders.rs index 6be549403f6c..589149e50ecf 100644 --- a/sdk/storagegateway/src/operation/set_local_console_password/builders.rs +++ b/sdk/storagegateway/src/operation/set_local_console_password/builders.rs @@ -20,9 +20,9 @@ impl SetLocalConsolePasswordFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -84,6 +84,22 @@ impl SetLocalConsolePasswordFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::set_local_console_password::SetLocalConsolePassword, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::set_local_console_password::SetLocalConsolePasswordError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              The Amazon Resource Name (ARN) of the gateway. Use the ListGateways operation to return a list of gateways for your account and Amazon Web Services Region.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              pub fn gateway_arn(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.gateway_arn(input.into()); diff --git a/sdk/storagegateway/src/operation/set_smb_guest_password/builders.rs b/sdk/storagegateway/src/operation/set_smb_guest_password/builders.rs index 95dfd9f9b96a..bb572aa48c04 100644 --- a/sdk/storagegateway/src/operation/set_smb_guest_password/builders.rs +++ b/sdk/storagegateway/src/operation/set_smb_guest_password/builders.rs @@ -19,9 +19,9 @@ impl SetSMBGuestPasswordFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl SetSMBGuestPasswordFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::set_smb_guest_password::SetSMBGuestPassword, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::set_smb_guest_password::SetSMBGuestPasswordError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              The Amazon Resource Name (ARN) of the S3 File Gateway the SMB file share is associated with.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              pub fn gateway_arn(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.gateway_arn(input.into()); diff --git a/sdk/storagegateway/src/operation/shutdown_gateway/builders.rs b/sdk/storagegateway/src/operation/shutdown_gateway/builders.rs index f0f0c6153150..e11cbf2fe3f6 100644 --- a/sdk/storagegateway/src/operation/shutdown_gateway/builders.rs +++ b/sdk/storagegateway/src/operation/shutdown_gateway/builders.rs @@ -26,9 +26,9 @@ impl ShutdownGatewayFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -90,6 +90,22 @@ impl ShutdownGatewayFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::shutdown_gateway::ShutdownGateway, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::shutdown_gateway::ShutdownGatewayError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              The Amazon Resource Name (ARN) of the gateway. Use the ListGateways operation to return a list of gateways for your account and Amazon Web Services Region.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              pub fn gateway_arn(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.gateway_arn(input.into()); diff --git a/sdk/storagegateway/src/operation/start_availability_monitor_test/builders.rs b/sdk/storagegateway/src/operation/start_availability_monitor_test/builders.rs index 37a036fa50cc..c8025d7acf98 100644 --- a/sdk/storagegateway/src/operation/start_availability_monitor_test/builders.rs +++ b/sdk/storagegateway/src/operation/start_availability_monitor_test/builders.rs @@ -21,9 +21,9 @@ impl StartAvailabilityMonitorTestFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -85,6 +85,22 @@ impl StartAvailabilityMonitorTestFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::start_availability_monitor_test::StartAvailabilityMonitorTest, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::start_availability_monitor_test::StartAvailabilityMonitorTestError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              The Amazon Resource Name (ARN) of the gateway. Use the ListGateways operation to return a list of gateways for your account and Amazon Web Services Region.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              pub fn gateway_arn(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.gateway_arn(input.into()); diff --git a/sdk/storagegateway/src/operation/start_gateway/builders.rs b/sdk/storagegateway/src/operation/start_gateway/builders.rs index 6900136f1338..9733c2d7a321 100644 --- a/sdk/storagegateway/src/operation/start_gateway/builders.rs +++ b/sdk/storagegateway/src/operation/start_gateway/builders.rs @@ -22,9 +22,9 @@ impl StartGatewayFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -80,6 +80,20 @@ impl StartGatewayFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::start_gateway::StartGateway, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              The Amazon Resource Name (ARN) of the gateway. Use the ListGateways operation to return a list of gateways for your account and Amazon Web Services Region.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              pub fn gateway_arn(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.gateway_arn(input.into()); diff --git a/sdk/storagegateway/src/operation/update_automatic_tape_creation_policy/builders.rs b/sdk/storagegateway/src/operation/update_automatic_tape_creation_policy/builders.rs index 9ecaaff30ffd..d89a859350f8 100644 --- a/sdk/storagegateway/src/operation/update_automatic_tape_creation_policy/builders.rs +++ b/sdk/storagegateway/src/operation/update_automatic_tape_creation_policy/builders.rs @@ -22,9 +22,9 @@ impl UpdateAutomaticTapeCreationPolicyFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize(self) -> ::std::result::Result< + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware(self) -> ::std::result::Result< crate::client::customize::CustomizableOperation, ::aws_smithy_http::result::SdkError >{ @@ -67,6 +67,15 @@ impl UpdateAutomaticTapeCreationPolicyFluentBuilder { { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize(self) -> ::std::result::Result< + crate::client::customize::CustomizableOperation, + ::aws_smithy_http::result::SdkError + >{ + self.customize_middleware().await + } /// Appends an item to `AutomaticTapeCreationRules`. /// /// To override the contents of this collection use [`set_automatic_tape_creation_rules`](Self::set_automatic_tape_creation_rules). diff --git a/sdk/storagegateway/src/operation/update_bandwidth_rate_limit/builders.rs b/sdk/storagegateway/src/operation/update_bandwidth_rate_limit/builders.rs index 9266bd16a05d..1e9469a05c48 100644 --- a/sdk/storagegateway/src/operation/update_bandwidth_rate_limit/builders.rs +++ b/sdk/storagegateway/src/operation/update_bandwidth_rate_limit/builders.rs @@ -21,9 +21,9 @@ impl UpdateBandwidthRateLimitFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -85,6 +85,22 @@ impl UpdateBandwidthRateLimitFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::update_bandwidth_rate_limit::UpdateBandwidthRateLimit, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::update_bandwidth_rate_limit::UpdateBandwidthRateLimitError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              The Amazon Resource Name (ARN) of the gateway. Use the ListGateways operation to return a list of gateways for your account and Amazon Web Services Region.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              pub fn gateway_arn(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.gateway_arn(input.into()); diff --git a/sdk/storagegateway/src/operation/update_bandwidth_rate_limit_schedule/builders.rs b/sdk/storagegateway/src/operation/update_bandwidth_rate_limit_schedule/builders.rs index 47b3033c07fc..ced5ede180b4 100644 --- a/sdk/storagegateway/src/operation/update_bandwidth_rate_limit_schedule/builders.rs +++ b/sdk/storagegateway/src/operation/update_bandwidth_rate_limit_schedule/builders.rs @@ -19,9 +19,9 @@ impl UpdateBandwidthRateLimitScheduleFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize(self) -> ::std::result::Result< + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware(self) -> ::std::result::Result< crate::client::customize::CustomizableOperation, ::aws_smithy_http::result::SdkError >{ @@ -64,6 +64,15 @@ impl UpdateBandwidthRateLimitScheduleFluentBuilder { { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize(self) -> ::std::result::Result< + crate::client::customize::CustomizableOperation, + ::aws_smithy_http::result::SdkError + >{ + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              The Amazon Resource Name (ARN) of the gateway. Use the ListGateways operation to return a list of gateways for your account and Amazon Web Services Region.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              pub fn gateway_arn(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.gateway_arn(input.into()); diff --git a/sdk/storagegateway/src/operation/update_chap_credentials/builders.rs b/sdk/storagegateway/src/operation/update_chap_credentials/builders.rs index 4d4d7578e123..be64fbbe3e7c 100644 --- a/sdk/storagegateway/src/operation/update_chap_credentials/builders.rs +++ b/sdk/storagegateway/src/operation/update_chap_credentials/builders.rs @@ -21,9 +21,9 @@ impl UpdateChapCredentialsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -85,6 +85,22 @@ impl UpdateChapCredentialsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::update_chap_credentials::UpdateChapCredentials, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::update_chap_credentials::UpdateChapCredentialsError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              The Amazon Resource Name (ARN) of the iSCSI volume target. Use the DescribeStorediSCSIVolumes operation to return the TargetARN for specified VolumeARN.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              pub fn target_arn(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.target_arn(input.into()); diff --git a/sdk/storagegateway/src/operation/update_file_system_association/builders.rs b/sdk/storagegateway/src/operation/update_file_system_association/builders.rs index feba36a8fd50..2dcb7cff9f07 100644 --- a/sdk/storagegateway/src/operation/update_file_system_association/builders.rs +++ b/sdk/storagegateway/src/operation/update_file_system_association/builders.rs @@ -19,9 +19,9 @@ impl UpdateFileSystemAssociationFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl UpdateFileSystemAssociationFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::update_file_system_association::UpdateFileSystemAssociation, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::update_file_system_association::UpdateFileSystemAssociationError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              The Amazon Resource Name (ARN) of the file system association that you want to update.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              pub fn file_system_association_arn( mut self, diff --git a/sdk/storagegateway/src/operation/update_gateway_information/builders.rs b/sdk/storagegateway/src/operation/update_gateway_information/builders.rs index 5e15c0deaa51..cf9f5ebfc05d 100644 --- a/sdk/storagegateway/src/operation/update_gateway_information/builders.rs +++ b/sdk/storagegateway/src/operation/update_gateway_information/builders.rs @@ -21,9 +21,9 @@ impl UpdateGatewayInformationFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -85,6 +85,22 @@ impl UpdateGatewayInformationFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::update_gateway_information::UpdateGatewayInformation, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::update_gateway_information::UpdateGatewayInformationError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              The Amazon Resource Name (ARN) of the gateway. Use the ListGateways operation to return a list of gateways for your account and Amazon Web Services Region.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              pub fn gateway_arn(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.gateway_arn(input.into()); diff --git a/sdk/storagegateway/src/operation/update_gateway_software_now/builders.rs b/sdk/storagegateway/src/operation/update_gateway_software_now/builders.rs index 53ccec785660..292398d3f5f1 100644 --- a/sdk/storagegateway/src/operation/update_gateway_software_now/builders.rs +++ b/sdk/storagegateway/src/operation/update_gateway_software_now/builders.rs @@ -23,9 +23,9 @@ impl UpdateGatewaySoftwareNowFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -87,6 +87,22 @@ impl UpdateGatewaySoftwareNowFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::update_gateway_software_now::UpdateGatewaySoftwareNow, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::update_gateway_software_now::UpdateGatewaySoftwareNowError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              The Amazon Resource Name (ARN) of the gateway. Use the ListGateways operation to return a list of gateways for your account and Amazon Web Services Region.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              pub fn gateway_arn(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.gateway_arn(input.into()); diff --git a/sdk/storagegateway/src/operation/update_maintenance_start_time/builders.rs b/sdk/storagegateway/src/operation/update_maintenance_start_time/builders.rs index 2bd5aa517e73..9983416f0623 100644 --- a/sdk/storagegateway/src/operation/update_maintenance_start_time/builders.rs +++ b/sdk/storagegateway/src/operation/update_maintenance_start_time/builders.rs @@ -19,9 +19,9 @@ impl UpdateMaintenanceStartTimeFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl UpdateMaintenanceStartTimeFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::update_maintenance_start_time::UpdateMaintenanceStartTime, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::update_maintenance_start_time::UpdateMaintenanceStartTimeError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              The Amazon Resource Name (ARN) of the gateway. Use the ListGateways operation to return a list of gateways for your account and Amazon Web Services Region.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              pub fn gateway_arn(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.gateway_arn(input.into()); diff --git a/sdk/storagegateway/src/operation/update_nfs_file_share/builders.rs b/sdk/storagegateway/src/operation/update_nfs_file_share/builders.rs index baed3d1abad4..e4b8c0f8318c 100644 --- a/sdk/storagegateway/src/operation/update_nfs_file_share/builders.rs +++ b/sdk/storagegateway/src/operation/update_nfs_file_share/builders.rs @@ -29,9 +29,9 @@ impl UpdateNFSFileShareFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -93,6 +93,22 @@ impl UpdateNFSFileShareFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::update_nfs_file_share::UpdateNFSFileShare, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::update_nfs_file_share::UpdateNFSFileShareError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              The Amazon Resource Name (ARN) of the file share to be updated.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              pub fn file_share_arn( mut self, diff --git a/sdk/storagegateway/src/operation/update_smb_file_share/builders.rs b/sdk/storagegateway/src/operation/update_smb_file_share/builders.rs index 35ca346dd478..82a4dda85b47 100644 --- a/sdk/storagegateway/src/operation/update_smb_file_share/builders.rs +++ b/sdk/storagegateway/src/operation/update_smb_file_share/builders.rs @@ -24,9 +24,9 @@ impl UpdateSMBFileShareFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -88,6 +88,22 @@ impl UpdateSMBFileShareFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::update_smb_file_share::UpdateSMBFileShare, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::update_smb_file_share::UpdateSMBFileShareError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              The Amazon Resource Name (ARN) of the SMB file share that you want to update.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              pub fn file_share_arn( mut self, diff --git a/sdk/storagegateway/src/operation/update_smb_file_share_visibility/builders.rs b/sdk/storagegateway/src/operation/update_smb_file_share_visibility/builders.rs index d56cec99adf4..5ba6afb6fe95 100644 --- a/sdk/storagegateway/src/operation/update_smb_file_share_visibility/builders.rs +++ b/sdk/storagegateway/src/operation/update_smb_file_share_visibility/builders.rs @@ -19,9 +19,9 @@ impl UpdateSMBFileShareVisibilityFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl UpdateSMBFileShareVisibilityFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::update_smb_file_share_visibility::UpdateSMBFileShareVisibility, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::update_smb_file_share_visibility::UpdateSMBFileShareVisibilityError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              The Amazon Resource Name (ARN) of the gateway. Use the ListGateways operation to return a list of gateways for your account and Amazon Web Services Region.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              pub fn gateway_arn(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.gateway_arn(input.into()); diff --git a/sdk/storagegateway/src/operation/update_smb_local_groups/builders.rs b/sdk/storagegateway/src/operation/update_smb_local_groups/builders.rs index 1230415e9014..90121f0ef3b6 100644 --- a/sdk/storagegateway/src/operation/update_smb_local_groups/builders.rs +++ b/sdk/storagegateway/src/operation/update_smb_local_groups/builders.rs @@ -19,9 +19,9 @@ impl UpdateSMBLocalGroupsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl UpdateSMBLocalGroupsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::update_smb_local_groups::UpdateSMBLocalGroups, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::update_smb_local_groups::UpdateSMBLocalGroupsError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              The Amazon Resource Name (ARN) of the gateway. Use the ListGateways operation to return a list of gateways for your account and Amazon Web Services Region.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              pub fn gateway_arn(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.gateway_arn(input.into()); diff --git a/sdk/storagegateway/src/operation/update_smb_security_strategy/builders.rs b/sdk/storagegateway/src/operation/update_smb_security_strategy/builders.rs index 4564988b363d..c6a20919f0f5 100644 --- a/sdk/storagegateway/src/operation/update_smb_security_strategy/builders.rs +++ b/sdk/storagegateway/src/operation/update_smb_security_strategy/builders.rs @@ -22,9 +22,9 @@ impl UpdateSMBSecurityStrategyFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -86,6 +86,22 @@ impl UpdateSMBSecurityStrategyFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::update_smb_security_strategy::UpdateSMBSecurityStrategy, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::update_smb_security_strategy::UpdateSMBSecurityStrategyError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              The Amazon Resource Name (ARN) of the gateway. Use the ListGateways operation to return a list of gateways for your account and Amazon Web Services Region.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              pub fn gateway_arn(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.gateway_arn(input.into()); diff --git a/sdk/storagegateway/src/operation/update_snapshot_schedule/builders.rs b/sdk/storagegateway/src/operation/update_snapshot_schedule/builders.rs index 3e1d96b8d37f..a5e7f1083ba2 100644 --- a/sdk/storagegateway/src/operation/update_snapshot_schedule/builders.rs +++ b/sdk/storagegateway/src/operation/update_snapshot_schedule/builders.rs @@ -21,9 +21,9 @@ impl UpdateSnapshotScheduleFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -85,6 +85,22 @@ impl UpdateSnapshotScheduleFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::update_snapshot_schedule::UpdateSnapshotSchedule, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::update_snapshot_schedule::UpdateSnapshotScheduleError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              The Amazon Resource Name (ARN) of the volume. Use the ListVolumes operation to return a list of gateway volumes.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              pub fn volume_arn(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.volume_arn(input.into()); diff --git a/sdk/storagegateway/src/operation/update_vtl_device_type/builders.rs b/sdk/storagegateway/src/operation/update_vtl_device_type/builders.rs index 025b14970527..7eea7f69e8ab 100644 --- a/sdk/storagegateway/src/operation/update_vtl_device_type/builders.rs +++ b/sdk/storagegateway/src/operation/update_vtl_device_type/builders.rs @@ -19,9 +19,9 @@ impl UpdateVTLDeviceTypeFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl UpdateVTLDeviceTypeFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::update_vtl_device_type::UpdateVTLDeviceType, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::update_vtl_device_type::UpdateVTLDeviceTypeError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              The Amazon Resource Name (ARN) of the medium changer you want to select.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              pub fn vtl_device_arn( mut self, diff --git a/sdk/sts/src/operation/assume_role/builders.rs b/sdk/sts/src/operation/assume_role/builders.rs index da2b889be6e5..c0f62ba5413b 100644 --- a/sdk/sts/src/operation/assume_role/builders.rs +++ b/sdk/sts/src/operation/assume_role/builders.rs @@ -40,9 +40,9 @@ impl AssumeRoleFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -98,6 +98,20 @@ impl AssumeRoleFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::assume_role::AssumeRole, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              The Amazon Resource Name (ARN) of the role to assume.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              pub fn role_arn(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.role_arn(input.into()); diff --git a/sdk/sts/src/operation/assume_role_with_saml/builders.rs b/sdk/sts/src/operation/assume_role_with_saml/builders.rs index 1ce9cd7e0d26..c337945f1ed1 100644 --- a/sdk/sts/src/operation/assume_role_with_saml/builders.rs +++ b/sdk/sts/src/operation/assume_role_with_saml/builders.rs @@ -47,9 +47,9 @@ impl AssumeRoleWithSAMLFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -111,6 +111,22 @@ impl AssumeRoleWithSAMLFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::assume_role_with_saml::AssumeRoleWithSAML, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::assume_role_with_saml::AssumeRoleWithSAMLError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              The Amazon Resource Name (ARN) of the role that the caller is assuming.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              pub fn role_arn(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.role_arn(input.into()); diff --git a/sdk/sts/src/operation/assume_role_with_web_identity/builders.rs b/sdk/sts/src/operation/assume_role_with_web_identity/builders.rs index 67082eb36659..e7bab2c2a094 100644 --- a/sdk/sts/src/operation/assume_role_with_web_identity/builders.rs +++ b/sdk/sts/src/operation/assume_role_with_web_identity/builders.rs @@ -48,9 +48,9 @@ impl AssumeRoleWithWebIdentityFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -112,6 +112,22 @@ impl AssumeRoleWithWebIdentityFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::assume_role_with_web_identity::AssumeRoleWithWebIdentity, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::assume_role_with_web_identity::AssumeRoleWithWebIdentityError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              The Amazon Resource Name (ARN) of the role that the caller is assuming.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              pub fn role_arn(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.role_arn(input.into()); diff --git a/sdk/sts/src/operation/decode_authorization_message/builders.rs b/sdk/sts/src/operation/decode_authorization_message/builders.rs index da974133c163..ce83934d7a3e 100644 --- a/sdk/sts/src/operation/decode_authorization_message/builders.rs +++ b/sdk/sts/src/operation/decode_authorization_message/builders.rs @@ -31,9 +31,9 @@ impl DecodeAuthorizationMessageFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -95,6 +95,22 @@ impl DecodeAuthorizationMessageFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::decode_authorization_message::DecodeAuthorizationMessage, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::decode_authorization_message::DecodeAuthorizationMessageError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              The encoded message that was returned with the response.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              pub fn encoded_message( mut self, diff --git a/sdk/sts/src/operation/get_access_key_info/builders.rs b/sdk/sts/src/operation/get_access_key_info/builders.rs index 2a506387308d..d748c7c2c19a 100644 --- a/sdk/sts/src/operation/get_access_key_info/builders.rs +++ b/sdk/sts/src/operation/get_access_key_info/builders.rs @@ -22,9 +22,9 @@ impl GetAccessKeyInfoFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -86,6 +86,22 @@ impl GetAccessKeyInfoFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::get_access_key_info::GetAccessKeyInfo, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::get_access_key_info::GetAccessKeyInfoError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              The identifier of an access key.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              ///

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              This parameter allows (through its regex pattern) a string of characters that can consist of any upper- or lowercase letter or digit.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              pub fn access_key_id( diff --git a/sdk/sts/src/operation/get_caller_identity/builders.rs b/sdk/sts/src/operation/get_caller_identity/builders.rs index 9fc8bf0d81e6..89b17fd99e71 100644 --- a/sdk/sts/src/operation/get_caller_identity/builders.rs +++ b/sdk/sts/src/operation/get_caller_identity/builders.rs @@ -21,9 +21,9 @@ impl GetCallerIdentityFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -85,4 +85,20 @@ impl GetCallerIdentityFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::get_caller_identity::GetCallerIdentity, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::get_caller_identity::GetCallerIdentityError, + >, + > { + self.customize_middleware().await + } } diff --git a/sdk/sts/src/operation/get_federation_token/builders.rs b/sdk/sts/src/operation/get_federation_token/builders.rs index eaa73429c192..afc3ff57dfcf 100644 --- a/sdk/sts/src/operation/get_federation_token/builders.rs +++ b/sdk/sts/src/operation/get_federation_token/builders.rs @@ -41,9 +41,9 @@ impl GetFederationTokenFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -105,6 +105,22 @@ impl GetFederationTokenFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::get_federation_token::GetFederationToken, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::get_federation_token::GetFederationTokenError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              The name of the federated user. The name is used as an identifier for the temporary security credentials (such as Bob). For example, you can reference the federated user name in a resource-based policy, such as in an Amazon S3 bucket policy.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              ///

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              The regex used to validate this parameter is a string of characters consisting of upper- and lower-case alphanumeric characters with no spaces. You can also include underscores or any of the following characters: =,.@-

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              pub fn name(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { diff --git a/sdk/sts/src/operation/get_session_token/builders.rs b/sdk/sts/src/operation/get_session_token/builders.rs index 16100fddc865..bb0176290c7d 100644 --- a/sdk/sts/src/operation/get_session_token/builders.rs +++ b/sdk/sts/src/operation/get_session_token/builders.rs @@ -34,9 +34,9 @@ impl GetSessionTokenFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -98,6 +98,22 @@ impl GetSessionTokenFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::get_session_token::GetSessionToken, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::get_session_token::GetSessionTokenError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              The duration, in seconds, that the credentials should remain valid. Acceptable durations for IAM user sessions range from 900 seconds (15 minutes) to 129,600 seconds (36 hours), with 43,200 seconds (12 hours) as the default. Sessions for Amazon Web Services account owners are restricted to a maximum of 3,600 seconds (one hour). If the duration is longer than one hour, the session for Amazon Web Services account owners defaults to one hour.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              pub fn duration_seconds(mut self, input: i32) -> Self { self.inner = self.inner.duration_seconds(input); diff --git a/sdk/support/src/operation/add_attachments_to_set/builders.rs b/sdk/support/src/operation/add_attachments_to_set/builders.rs index 7631f690cc96..b7c0dd636396 100644 --- a/sdk/support/src/operation/add_attachments_to_set/builders.rs +++ b/sdk/support/src/operation/add_attachments_to_set/builders.rs @@ -25,9 +25,9 @@ impl AddAttachmentsToSetFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -89,6 +89,22 @@ impl AddAttachmentsToSetFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::add_attachments_to_set::AddAttachmentsToSet, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::add_attachments_to_set::AddAttachmentsToSetError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              The ID of the attachment set. If an attachmentSetId is not specified, a new attachment set is created, and the ID of the set is returned in the response. If an attachmentSetId is specified, the attachments are added to the specified set, if it exists.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              pub fn attachment_set_id( mut self, diff --git a/sdk/support/src/operation/add_communication_to_case/builders.rs b/sdk/support/src/operation/add_communication_to_case/builders.rs index 0b5f356fa2dd..936f62e5d42e 100644 --- a/sdk/support/src/operation/add_communication_to_case/builders.rs +++ b/sdk/support/src/operation/add_communication_to_case/builders.rs @@ -25,9 +25,9 @@ impl AddCommunicationToCaseFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -89,6 +89,22 @@ impl AddCommunicationToCaseFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::add_communication_to_case::AddCommunicationToCase, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::add_communication_to_case::AddCommunicationToCaseError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              The support case ID requested or returned in the call. The case ID is an alphanumeric string formatted as shown in this example: case-12345678910-2013-c4c1d2bf33c5cf47

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              pub fn case_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.case_id(input.into()); diff --git a/sdk/support/src/operation/create_case/builders.rs b/sdk/support/src/operation/create_case/builders.rs index b12383ce0d02..e3a8926433ea 100644 --- a/sdk/support/src/operation/create_case/builders.rs +++ b/sdk/support/src/operation/create_case/builders.rs @@ -31,9 +31,9 @@ impl CreateCaseFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -89,6 +89,20 @@ impl CreateCaseFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::create_case::CreateCase, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              The title of the support case. The title appears in the Subject field on the Amazon Web Services Support Center Create Case page.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              pub fn subject(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.subject(input.into()); diff --git a/sdk/support/src/operation/describe_attachment/builders.rs b/sdk/support/src/operation/describe_attachment/builders.rs index d2e3c41c07f5..dea36897d46a 100644 --- a/sdk/support/src/operation/describe_attachment/builders.rs +++ b/sdk/support/src/operation/describe_attachment/builders.rs @@ -24,9 +24,9 @@ impl DescribeAttachmentFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -88,6 +88,22 @@ impl DescribeAttachmentFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::describe_attachment::DescribeAttachment, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::describe_attachment::DescribeAttachmentError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              The ID of the attachment to return. Attachment IDs are returned by the DescribeCommunications operation.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              pub fn attachment_id( mut self, diff --git a/sdk/support/src/operation/describe_cases/builders.rs b/sdk/support/src/operation/describe_cases/builders.rs index ca73e6b994ee..9a87f1f5dc68 100644 --- a/sdk/support/src/operation/describe_cases/builders.rs +++ b/sdk/support/src/operation/describe_cases/builders.rs @@ -30,9 +30,9 @@ impl DescribeCasesFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -88,6 +88,20 @@ impl DescribeCasesFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::describe_cases::DescribeCases, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::describe_cases::paginator::DescribeCasesPaginator::send) which returns a `Stream`. diff --git a/sdk/support/src/operation/describe_communications/builders.rs b/sdk/support/src/operation/describe_communications/builders.rs index f17fff47caa1..a758e7aa7351 100644 --- a/sdk/support/src/operation/describe_communications/builders.rs +++ b/sdk/support/src/operation/describe_communications/builders.rs @@ -26,9 +26,9 @@ impl DescribeCommunicationsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -90,6 +90,22 @@ impl DescribeCommunicationsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::describe_communications::DescribeCommunications, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::describe_communications::DescribeCommunicationsError, + >, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::describe_communications::paginator::DescribeCommunicationsPaginator::send) which returns a `Stream`. diff --git a/sdk/support/src/operation/describe_create_case_options/builders.rs b/sdk/support/src/operation/describe_create_case_options/builders.rs index 068b9ebab168..7eed233db9bd 100644 --- a/sdk/support/src/operation/describe_create_case_options/builders.rs +++ b/sdk/support/src/operation/describe_create_case_options/builders.rs @@ -24,9 +24,9 @@ impl DescribeCreateCaseOptionsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -88,6 +88,22 @@ impl DescribeCreateCaseOptionsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::describe_create_case_options::DescribeCreateCaseOptions, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::describe_create_case_options::DescribeCreateCaseOptionsError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              The type of issue for the case. You can specify customer-service or technical. If you don't specify a value, the default is technical.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              pub fn issue_type(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.issue_type(input.into()); diff --git a/sdk/support/src/operation/describe_services/builders.rs b/sdk/support/src/operation/describe_services/builders.rs index 9df7618c7758..b52ed69f1193 100644 --- a/sdk/support/src/operation/describe_services/builders.rs +++ b/sdk/support/src/operation/describe_services/builders.rs @@ -25,9 +25,9 @@ impl DescribeServicesFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -89,6 +89,22 @@ impl DescribeServicesFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::describe_services::DescribeServices, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::describe_services::DescribeServicesError, + >, + > { + self.customize_middleware().await + } /// Appends an item to `serviceCodeList`. /// /// To override the contents of this collection use [`set_service_code_list`](Self::set_service_code_list). diff --git a/sdk/support/src/operation/describe_severity_levels/builders.rs b/sdk/support/src/operation/describe_severity_levels/builders.rs index e21a1b9cdd51..1f39d8181b6b 100644 --- a/sdk/support/src/operation/describe_severity_levels/builders.rs +++ b/sdk/support/src/operation/describe_severity_levels/builders.rs @@ -24,9 +24,9 @@ impl DescribeSeverityLevelsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -88,6 +88,22 @@ impl DescribeSeverityLevelsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::describe_severity_levels::DescribeSeverityLevels, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::describe_severity_levels::DescribeSeverityLevelsError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              The language in which Amazon Web Services Support handles the case. Amazon Web Services Support currently supports Chinese (“zh”), English ("en"), Japanese ("ja") and Korean (“ko”). You must specify the ISO 639-1 code for the language parameter if you want support in that language.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              pub fn language(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.language(input.into()); diff --git a/sdk/support/src/operation/describe_supported_languages/builders.rs b/sdk/support/src/operation/describe_supported_languages/builders.rs index 1074786420cf..cdcc52124889 100644 --- a/sdk/support/src/operation/describe_supported_languages/builders.rs +++ b/sdk/support/src/operation/describe_supported_languages/builders.rs @@ -24,9 +24,9 @@ impl DescribeSupportedLanguagesFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -88,6 +88,22 @@ impl DescribeSupportedLanguagesFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::describe_supported_languages::DescribeSupportedLanguages, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::describe_supported_languages::DescribeSupportedLanguagesError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              The type of issue for the case. You can specify customer-service or technical.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              pub fn issue_type(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.issue_type(input.into()); diff --git a/sdk/support/src/operation/describe_trusted_advisor_check_refresh_statuses/builders.rs b/sdk/support/src/operation/describe_trusted_advisor_check_refresh_statuses/builders.rs index a48d5f5f8607..46fdb62fa912 100644 --- a/sdk/support/src/operation/describe_trusted_advisor_check_refresh_statuses/builders.rs +++ b/sdk/support/src/operation/describe_trusted_advisor_check_refresh_statuses/builders.rs @@ -26,9 +26,9 @@ impl DescribeTrustedAdvisorCheckRefreshStatusesFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize(self) -> ::std::result::Result< + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware(self) -> ::std::result::Result< crate::client::customize::CustomizableOperation, ::aws_smithy_http::result::SdkError >{ @@ -71,6 +71,15 @@ impl DescribeTrustedAdvisorCheckRefreshStatusesFluentBuilder { { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize(self) -> ::std::result::Result< + crate::client::customize::CustomizableOperation, + ::aws_smithy_http::result::SdkError + >{ + self.customize_middleware().await + } /// Appends an item to `checkIds`. /// /// To override the contents of this collection use [`set_check_ids`](Self::set_check_ids). diff --git a/sdk/support/src/operation/describe_trusted_advisor_check_result/builders.rs b/sdk/support/src/operation/describe_trusted_advisor_check_result/builders.rs index 150f9b7c4bcf..2354ea7e2c54 100644 --- a/sdk/support/src/operation/describe_trusted_advisor_check_result/builders.rs +++ b/sdk/support/src/operation/describe_trusted_advisor_check_result/builders.rs @@ -37,9 +37,9 @@ impl DescribeTrustedAdvisorCheckResultFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize(self) -> ::std::result::Result< + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware(self) -> ::std::result::Result< crate::client::customize::CustomizableOperation, ::aws_smithy_http::result::SdkError >{ @@ -82,6 +82,15 @@ impl DescribeTrustedAdvisorCheckResultFluentBuilder { { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize(self) -> ::std::result::Result< + crate::client::customize::CustomizableOperation, + ::aws_smithy_http::result::SdkError + >{ + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              The unique identifier for the Trusted Advisor check.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              pub fn check_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.check_id(input.into()); diff --git a/sdk/support/src/operation/describe_trusted_advisor_check_summaries/builders.rs b/sdk/support/src/operation/describe_trusted_advisor_check_summaries/builders.rs index 789222782a80..d2ca367f10c2 100644 --- a/sdk/support/src/operation/describe_trusted_advisor_check_summaries/builders.rs +++ b/sdk/support/src/operation/describe_trusted_advisor_check_summaries/builders.rs @@ -26,9 +26,9 @@ impl DescribeTrustedAdvisorCheckSummariesFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize(self) -> ::std::result::Result< + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware(self) -> ::std::result::Result< crate::client::customize::CustomizableOperation, ::aws_smithy_http::result::SdkError >{ @@ -71,6 +71,15 @@ impl DescribeTrustedAdvisorCheckSummariesFluentBuilder { { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize(self) -> ::std::result::Result< + crate::client::customize::CustomizableOperation, + ::aws_smithy_http::result::SdkError + >{ + self.customize_middleware().await + } /// Appends an item to `checkIds`. /// /// To override the contents of this collection use [`set_check_ids`](Self::set_check_ids). diff --git a/sdk/support/src/operation/describe_trusted_advisor_checks/builders.rs b/sdk/support/src/operation/describe_trusted_advisor_checks/builders.rs index 75d8037168ea..61174284ebf7 100644 --- a/sdk/support/src/operation/describe_trusted_advisor_checks/builders.rs +++ b/sdk/support/src/operation/describe_trusted_advisor_checks/builders.rs @@ -27,9 +27,9 @@ impl DescribeTrustedAdvisorChecksFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -91,6 +91,22 @@ impl DescribeTrustedAdvisorChecksFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::describe_trusted_advisor_checks::DescribeTrustedAdvisorChecks, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::describe_trusted_advisor_checks::DescribeTrustedAdvisorChecksError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              The ISO 639-1 code for the language that you want your checks to appear in.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              ///

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              The Amazon Web Services Support API currently supports the following languages for Trusted Advisor:

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              ///
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                diff --git a/sdk/support/src/operation/refresh_trusted_advisor_check/builders.rs b/sdk/support/src/operation/refresh_trusted_advisor_check/builders.rs index fa9a211a7871..77f19f3e3d52 100644 --- a/sdk/support/src/operation/refresh_trusted_advisor_check/builders.rs +++ b/sdk/support/src/operation/refresh_trusted_advisor_check/builders.rs @@ -27,9 +27,9 @@ impl RefreshTrustedAdvisorCheckFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -91,6 +91,22 @@ impl RefreshTrustedAdvisorCheckFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::refresh_trusted_advisor_check::RefreshTrustedAdvisorCheck, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::refresh_trusted_advisor_check::RefreshTrustedAdvisorCheckError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                The unique identifier for the Trusted Advisor check to refresh.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                ///

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                Specifying the check ID of a check that is automatically refreshed causes an InvalidParameterValue error.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                ///
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                diff --git a/sdk/support/src/operation/resolve_case/builders.rs b/sdk/support/src/operation/resolve_case/builders.rs index 6c8b225de0fb..9df01804aee5 100644 --- a/sdk/support/src/operation/resolve_case/builders.rs +++ b/sdk/support/src/operation/resolve_case/builders.rs @@ -24,9 +24,9 @@ impl ResolveCaseFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -82,6 +82,20 @@ impl ResolveCaseFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::resolve_case::ResolveCase, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                The support case ID requested or returned in the call. The case ID is an alphanumeric string formatted as shown in this example: case-12345678910-2013-c4c1d2bf33c5cf47

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                pub fn case_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.case_id(input.into()); diff --git a/sdk/supportapp/src/operation/create_slack_channel_configuration/builders.rs b/sdk/supportapp/src/operation/create_slack_channel_configuration/builders.rs index 62a6460202e9..ee70fe8dd403 100644 --- a/sdk/supportapp/src/operation/create_slack_channel_configuration/builders.rs +++ b/sdk/supportapp/src/operation/create_slack_channel_configuration/builders.rs @@ -27,9 +27,9 @@ impl CreateSlackChannelConfigurationFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize(self) -> ::std::result::Result< + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware(self) -> ::std::result::Result< crate::client::customize::CustomizableOperation, ::aws_smithy_http::result::SdkError >{ @@ -72,6 +72,15 @@ impl CreateSlackChannelConfigurationFluentBuilder { { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize(self) -> ::std::result::Result< + crate::client::customize::CustomizableOperation, + ::aws_smithy_http::result::SdkError + >{ + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                The team ID in Slack. This ID uniquely identifies a Slack workspace, such as T012ABCDEFG.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                pub fn team_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.team_id(input.into()); diff --git a/sdk/supportapp/src/operation/delete_account_alias/builders.rs b/sdk/supportapp/src/operation/delete_account_alias/builders.rs index e5b58663637d..0c32f0badc79 100644 --- a/sdk/supportapp/src/operation/delete_account_alias/builders.rs +++ b/sdk/supportapp/src/operation/delete_account_alias/builders.rs @@ -19,9 +19,9 @@ impl DeleteAccountAliasFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,4 +83,20 @@ impl DeleteAccountAliasFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::delete_account_alias::DeleteAccountAlias, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::delete_account_alias::DeleteAccountAliasError, + >, + > { + self.customize_middleware().await + } } diff --git a/sdk/supportapp/src/operation/delete_slack_channel_configuration/builders.rs b/sdk/supportapp/src/operation/delete_slack_channel_configuration/builders.rs index c84f265eaa1a..7ac80ccab452 100644 --- a/sdk/supportapp/src/operation/delete_slack_channel_configuration/builders.rs +++ b/sdk/supportapp/src/operation/delete_slack_channel_configuration/builders.rs @@ -19,9 +19,9 @@ impl DeleteSlackChannelConfigurationFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize(self) -> ::std::result::Result< + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware(self) -> ::std::result::Result< crate::client::customize::CustomizableOperation, ::aws_smithy_http::result::SdkError >{ @@ -64,6 +64,15 @@ impl DeleteSlackChannelConfigurationFluentBuilder { { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize(self) -> ::std::result::Result< + crate::client::customize::CustomizableOperation, + ::aws_smithy_http::result::SdkError + >{ + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                The team ID in Slack. This ID uniquely identifies a Slack workspace, such as T012ABCDEFG.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                pub fn team_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.team_id(input.into()); diff --git a/sdk/supportapp/src/operation/delete_slack_workspace_configuration/builders.rs b/sdk/supportapp/src/operation/delete_slack_workspace_configuration/builders.rs index 47c7602477b2..ce62f426fe45 100644 --- a/sdk/supportapp/src/operation/delete_slack_workspace_configuration/builders.rs +++ b/sdk/supportapp/src/operation/delete_slack_workspace_configuration/builders.rs @@ -19,9 +19,9 @@ impl DeleteSlackWorkspaceConfigurationFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize(self) -> ::std::result::Result< + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware(self) -> ::std::result::Result< crate::client::customize::CustomizableOperation, ::aws_smithy_http::result::SdkError >{ @@ -64,6 +64,15 @@ impl DeleteSlackWorkspaceConfigurationFluentBuilder { { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize(self) -> ::std::result::Result< + crate::client::customize::CustomizableOperation, + ::aws_smithy_http::result::SdkError + >{ + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                The team ID in Slack. This ID uniquely identifies a Slack workspace, such as T012ABCDEFG.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                pub fn team_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.team_id(input.into()); diff --git a/sdk/supportapp/src/operation/get_account_alias/builders.rs b/sdk/supportapp/src/operation/get_account_alias/builders.rs index 2d09e454802f..f49176236cdf 100644 --- a/sdk/supportapp/src/operation/get_account_alias/builders.rs +++ b/sdk/supportapp/src/operation/get_account_alias/builders.rs @@ -19,9 +19,9 @@ impl GetAccountAliasFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,4 +83,20 @@ impl GetAccountAliasFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::get_account_alias::GetAccountAlias, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::get_account_alias::GetAccountAliasError, + >, + > { + self.customize_middleware().await + } } diff --git a/sdk/supportapp/src/operation/list_slack_channel_configurations/builders.rs b/sdk/supportapp/src/operation/list_slack_channel_configurations/builders.rs index 5f0083d153f8..b261450407dd 100644 --- a/sdk/supportapp/src/operation/list_slack_channel_configurations/builders.rs +++ b/sdk/supportapp/src/operation/list_slack_channel_configurations/builders.rs @@ -19,9 +19,9 @@ impl ListSlackChannelConfigurationsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize(self) -> ::std::result::Result< + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware(self) -> ::std::result::Result< crate::client::customize::CustomizableOperation, ::aws_smithy_http::result::SdkError >{ @@ -64,6 +64,15 @@ impl ListSlackChannelConfigurationsFluentBuilder { { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize(self) -> ::std::result::Result< + crate::client::customize::CustomizableOperation, + ::aws_smithy_http::result::SdkError + >{ + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::list_slack_channel_configurations::paginator::ListSlackChannelConfigurationsPaginator::send) which returns a `Stream`. diff --git a/sdk/supportapp/src/operation/list_slack_workspace_configurations/builders.rs b/sdk/supportapp/src/operation/list_slack_workspace_configurations/builders.rs index 69e41bd2aaa3..09d2b1247545 100644 --- a/sdk/supportapp/src/operation/list_slack_workspace_configurations/builders.rs +++ b/sdk/supportapp/src/operation/list_slack_workspace_configurations/builders.rs @@ -19,9 +19,9 @@ impl ListSlackWorkspaceConfigurationsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize(self) -> ::std::result::Result< + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware(self) -> ::std::result::Result< crate::client::customize::CustomizableOperation, ::aws_smithy_http::result::SdkError >{ @@ -64,6 +64,15 @@ impl ListSlackWorkspaceConfigurationsFluentBuilder { { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize(self) -> ::std::result::Result< + crate::client::customize::CustomizableOperation, + ::aws_smithy_http::result::SdkError + >{ + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::list_slack_workspace_configurations::paginator::ListSlackWorkspaceConfigurationsPaginator::send) which returns a `Stream`. diff --git a/sdk/supportapp/src/operation/put_account_alias/builders.rs b/sdk/supportapp/src/operation/put_account_alias/builders.rs index 95288824828f..cd4de7aa676d 100644 --- a/sdk/supportapp/src/operation/put_account_alias/builders.rs +++ b/sdk/supportapp/src/operation/put_account_alias/builders.rs @@ -19,9 +19,9 @@ impl PutAccountAliasFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl PutAccountAliasFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::put_account_alias::PutAccountAlias, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::put_account_alias::PutAccountAliasError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                An alias or short name for an Amazon Web Services account.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                pub fn account_alias( mut self, diff --git a/sdk/supportapp/src/operation/register_slack_workspace_for_organization/builders.rs b/sdk/supportapp/src/operation/register_slack_workspace_for_organization/builders.rs index 23374fe35a53..df7b9d780040 100644 --- a/sdk/supportapp/src/operation/register_slack_workspace_for_organization/builders.rs +++ b/sdk/supportapp/src/operation/register_slack_workspace_for_organization/builders.rs @@ -30,9 +30,9 @@ impl RegisterSlackWorkspaceForOrganizationFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize(self) -> ::std::result::Result< + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware(self) -> ::std::result::Result< crate::client::customize::CustomizableOperation, ::aws_smithy_http::result::SdkError >{ @@ -75,6 +75,15 @@ impl RegisterSlackWorkspaceForOrganizationFluentBuilder { { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize(self) -> ::std::result::Result< + crate::client::customize::CustomizableOperation, + ::aws_smithy_http::result::SdkError + >{ + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                The team ID in Slack. This ID uniquely identifies a Slack workspace, such as T012ABCDEFG. Specify the Slack workspace that you want to use for your organization.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                pub fn team_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.team_id(input.into()); diff --git a/sdk/supportapp/src/operation/update_slack_channel_configuration/builders.rs b/sdk/supportapp/src/operation/update_slack_channel_configuration/builders.rs index bbcd96e16a14..b21bd983e500 100644 --- a/sdk/supportapp/src/operation/update_slack_channel_configuration/builders.rs +++ b/sdk/supportapp/src/operation/update_slack_channel_configuration/builders.rs @@ -19,9 +19,9 @@ impl UpdateSlackChannelConfigurationFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize(self) -> ::std::result::Result< + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware(self) -> ::std::result::Result< crate::client::customize::CustomizableOperation, ::aws_smithy_http::result::SdkError >{ @@ -64,6 +64,15 @@ impl UpdateSlackChannelConfigurationFluentBuilder { { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize(self) -> ::std::result::Result< + crate::client::customize::CustomizableOperation, + ::aws_smithy_http::result::SdkError + >{ + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                The team ID in Slack. This ID uniquely identifies a Slack workspace, such as T012ABCDEFG.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                pub fn team_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.team_id(input.into()); diff --git a/sdk/swf/src/operation/count_closed_workflow_executions/builders.rs b/sdk/swf/src/operation/count_closed_workflow_executions/builders.rs index 072b3be93d6d..eb2c5e4a71c7 100644 --- a/sdk/swf/src/operation/count_closed_workflow_executions/builders.rs +++ b/sdk/swf/src/operation/count_closed_workflow_executions/builders.rs @@ -34,9 +34,9 @@ impl CountClosedWorkflowExecutionsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -98,6 +98,22 @@ impl CountClosedWorkflowExecutionsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::count_closed_workflow_executions::CountClosedWorkflowExecutions, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::count_closed_workflow_executions::CountClosedWorkflowExecutionsError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                The name of the domain containing the workflow executions to count.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                pub fn domain(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.domain(input.into()); diff --git a/sdk/swf/src/operation/count_open_workflow_executions/builders.rs b/sdk/swf/src/operation/count_open_workflow_executions/builders.rs index c47ee5061744..1780476b9947 100644 --- a/sdk/swf/src/operation/count_open_workflow_executions/builders.rs +++ b/sdk/swf/src/operation/count_open_workflow_executions/builders.rs @@ -34,9 +34,9 @@ impl CountOpenWorkflowExecutionsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -98,6 +98,22 @@ impl CountOpenWorkflowExecutionsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::count_open_workflow_executions::CountOpenWorkflowExecutions, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::count_open_workflow_executions::CountOpenWorkflowExecutionsError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                The name of the domain containing the workflow executions to count.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                pub fn domain(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.domain(input.into()); diff --git a/sdk/swf/src/operation/count_pending_activity_tasks/builders.rs b/sdk/swf/src/operation/count_pending_activity_tasks/builders.rs index 210b3ea80da1..0334a00e5396 100644 --- a/sdk/swf/src/operation/count_pending_activity_tasks/builders.rs +++ b/sdk/swf/src/operation/count_pending_activity_tasks/builders.rs @@ -27,9 +27,9 @@ impl CountPendingActivityTasksFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -91,6 +91,22 @@ impl CountPendingActivityTasksFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::count_pending_activity_tasks::CountPendingActivityTasks, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::count_pending_activity_tasks::CountPendingActivityTasksError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                The name of the domain that contains the task list.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                pub fn domain(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.domain(input.into()); diff --git a/sdk/swf/src/operation/count_pending_decision_tasks/builders.rs b/sdk/swf/src/operation/count_pending_decision_tasks/builders.rs index f2d314e430ad..530f43f5c0f9 100644 --- a/sdk/swf/src/operation/count_pending_decision_tasks/builders.rs +++ b/sdk/swf/src/operation/count_pending_decision_tasks/builders.rs @@ -27,9 +27,9 @@ impl CountPendingDecisionTasksFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -91,6 +91,22 @@ impl CountPendingDecisionTasksFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::count_pending_decision_tasks::CountPendingDecisionTasks, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::count_pending_decision_tasks::CountPendingDecisionTasksError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                The name of the domain that contains the task list.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                pub fn domain(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.domain(input.into()); diff --git a/sdk/swf/src/operation/deprecate_activity_type/builders.rs b/sdk/swf/src/operation/deprecate_activity_type/builders.rs index 9f9604eabdfc..ce9f7163a27c 100644 --- a/sdk/swf/src/operation/deprecate_activity_type/builders.rs +++ b/sdk/swf/src/operation/deprecate_activity_type/builders.rs @@ -33,9 +33,9 @@ impl DeprecateActivityTypeFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -97,6 +97,22 @@ impl DeprecateActivityTypeFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::deprecate_activity_type::DeprecateActivityType, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::deprecate_activity_type::DeprecateActivityTypeError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                The name of the domain in which the activity type is registered.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                pub fn domain(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.domain(input.into()); diff --git a/sdk/swf/src/operation/deprecate_domain/builders.rs b/sdk/swf/src/operation/deprecate_domain/builders.rs index 3e9c07b6333c..e581040ce4ff 100644 --- a/sdk/swf/src/operation/deprecate_domain/builders.rs +++ b/sdk/swf/src/operation/deprecate_domain/builders.rs @@ -29,9 +29,9 @@ impl DeprecateDomainFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -93,6 +93,22 @@ impl DeprecateDomainFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::deprecate_domain::DeprecateDomain, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::deprecate_domain::DeprecateDomainError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                The name of the domain to deprecate.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                pub fn name(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.name(input.into()); diff --git a/sdk/swf/src/operation/deprecate_workflow_type/builders.rs b/sdk/swf/src/operation/deprecate_workflow_type/builders.rs index c48504164a42..0de46af070a7 100644 --- a/sdk/swf/src/operation/deprecate_workflow_type/builders.rs +++ b/sdk/swf/src/operation/deprecate_workflow_type/builders.rs @@ -33,9 +33,9 @@ impl DeprecateWorkflowTypeFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -97,6 +97,22 @@ impl DeprecateWorkflowTypeFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::deprecate_workflow_type::DeprecateWorkflowType, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::deprecate_workflow_type::DeprecateWorkflowTypeError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                The name of the domain in which the workflow type is registered.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                pub fn domain(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.domain(input.into()); diff --git a/sdk/swf/src/operation/describe_activity_type/builders.rs b/sdk/swf/src/operation/describe_activity_type/builders.rs index 3772567cb583..a987c4b17263 100644 --- a/sdk/swf/src/operation/describe_activity_type/builders.rs +++ b/sdk/swf/src/operation/describe_activity_type/builders.rs @@ -31,9 +31,9 @@ impl DescribeActivityTypeFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -95,6 +95,22 @@ impl DescribeActivityTypeFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::describe_activity_type::DescribeActivityType, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::describe_activity_type::DescribeActivityTypeError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                The name of the domain in which the activity type is registered.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                pub fn domain(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.domain(input.into()); diff --git a/sdk/swf/src/operation/describe_domain/builders.rs b/sdk/swf/src/operation/describe_domain/builders.rs index cc310ce6e593..843c9a0f8a4a 100644 --- a/sdk/swf/src/operation/describe_domain/builders.rs +++ b/sdk/swf/src/operation/describe_domain/builders.rs @@ -27,9 +27,9 @@ impl DescribeDomainFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -85,6 +85,20 @@ impl DescribeDomainFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::describe_domain::DescribeDomain, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                The name of the domain to describe.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                pub fn name(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.name(input.into()); diff --git a/sdk/swf/src/operation/describe_workflow_execution/builders.rs b/sdk/swf/src/operation/describe_workflow_execution/builders.rs index 1e893c5db6ed..2705aac03bc9 100644 --- a/sdk/swf/src/operation/describe_workflow_execution/builders.rs +++ b/sdk/swf/src/operation/describe_workflow_execution/builders.rs @@ -29,9 +29,9 @@ impl DescribeWorkflowExecutionFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -93,6 +93,22 @@ impl DescribeWorkflowExecutionFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::describe_workflow_execution::DescribeWorkflowExecution, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::describe_workflow_execution::DescribeWorkflowExecutionError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                The name of the domain containing the workflow execution.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                pub fn domain(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.domain(input.into()); diff --git a/sdk/swf/src/operation/describe_workflow_type/builders.rs b/sdk/swf/src/operation/describe_workflow_type/builders.rs index 82db25c2f41b..64388f388946 100644 --- a/sdk/swf/src/operation/describe_workflow_type/builders.rs +++ b/sdk/swf/src/operation/describe_workflow_type/builders.rs @@ -31,9 +31,9 @@ impl DescribeWorkflowTypeFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -95,6 +95,22 @@ impl DescribeWorkflowTypeFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::describe_workflow_type::DescribeWorkflowType, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::describe_workflow_type::DescribeWorkflowTypeError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                The name of the domain in which this workflow type is registered.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                pub fn domain(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.domain(input.into()); diff --git a/sdk/swf/src/operation/get_workflow_execution_history/builders.rs b/sdk/swf/src/operation/get_workflow_execution_history/builders.rs index e3e8b21b2a38..f389d3e730a5 100644 --- a/sdk/swf/src/operation/get_workflow_execution_history/builders.rs +++ b/sdk/swf/src/operation/get_workflow_execution_history/builders.rs @@ -29,9 +29,9 @@ impl GetWorkflowExecutionHistoryFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -93,6 +93,22 @@ impl GetWorkflowExecutionHistoryFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::get_workflow_execution_history::GetWorkflowExecutionHistory, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::get_workflow_execution_history::GetWorkflowExecutionHistoryError, + >, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::get_workflow_execution_history::paginator::GetWorkflowExecutionHistoryPaginator::send) which returns a `Stream`. diff --git a/sdk/swf/src/operation/list_activity_types/builders.rs b/sdk/swf/src/operation/list_activity_types/builders.rs index 3d5f19799963..253cc931ac6a 100644 --- a/sdk/swf/src/operation/list_activity_types/builders.rs +++ b/sdk/swf/src/operation/list_activity_types/builders.rs @@ -27,9 +27,9 @@ impl ListActivityTypesFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -91,6 +91,22 @@ impl ListActivityTypesFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_activity_types::ListActivityTypes, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::list_activity_types::ListActivityTypesError, + >, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::list_activity_types::paginator::ListActivityTypesPaginator::send) which returns a `Stream`. diff --git a/sdk/swf/src/operation/list_closed_workflow_executions/builders.rs b/sdk/swf/src/operation/list_closed_workflow_executions/builders.rs index 2b076007ec3e..10369862b305 100644 --- a/sdk/swf/src/operation/list_closed_workflow_executions/builders.rs +++ b/sdk/swf/src/operation/list_closed_workflow_executions/builders.rs @@ -34,9 +34,9 @@ impl ListClosedWorkflowExecutionsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -98,6 +98,22 @@ impl ListClosedWorkflowExecutionsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_closed_workflow_executions::ListClosedWorkflowExecutions, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::list_closed_workflow_executions::ListClosedWorkflowExecutionsError, + >, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::list_closed_workflow_executions::paginator::ListClosedWorkflowExecutionsPaginator::send) which returns a `Stream`. diff --git a/sdk/swf/src/operation/list_domains/builders.rs b/sdk/swf/src/operation/list_domains/builders.rs index a023d9977941..7d42aabca453 100644 --- a/sdk/swf/src/operation/list_domains/builders.rs +++ b/sdk/swf/src/operation/list_domains/builders.rs @@ -29,9 +29,9 @@ impl ListDomainsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -87,6 +87,20 @@ impl ListDomainsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_domains::ListDomains, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::list_domains::paginator::ListDomainsPaginator::send) which returns a `Stream`. diff --git a/sdk/swf/src/operation/list_open_workflow_executions/builders.rs b/sdk/swf/src/operation/list_open_workflow_executions/builders.rs index c949493bb343..27d4832f87a8 100644 --- a/sdk/swf/src/operation/list_open_workflow_executions/builders.rs +++ b/sdk/swf/src/operation/list_open_workflow_executions/builders.rs @@ -34,9 +34,9 @@ impl ListOpenWorkflowExecutionsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -98,6 +98,22 @@ impl ListOpenWorkflowExecutionsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_open_workflow_executions::ListOpenWorkflowExecutions, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::list_open_workflow_executions::ListOpenWorkflowExecutionsError, + >, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::list_open_workflow_executions::paginator::ListOpenWorkflowExecutionsPaginator::send) which returns a `Stream`. diff --git a/sdk/swf/src/operation/list_tags_for_resource/builders.rs b/sdk/swf/src/operation/list_tags_for_resource/builders.rs index 0af28025f088..610ebfb3f817 100644 --- a/sdk/swf/src/operation/list_tags_for_resource/builders.rs +++ b/sdk/swf/src/operation/list_tags_for_resource/builders.rs @@ -19,9 +19,9 @@ impl ListTagsForResourceFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl ListTagsForResourceFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_tags_for_resource::ListTagsForResource, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::list_tags_for_resource::ListTagsForResourceError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                The Amazon Resource Name (ARN) for the Amazon SWF domain.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                pub fn resource_arn(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.resource_arn(input.into()); diff --git a/sdk/swf/src/operation/list_workflow_types/builders.rs b/sdk/swf/src/operation/list_workflow_types/builders.rs index 900f415040f0..9a60350223de 100644 --- a/sdk/swf/src/operation/list_workflow_types/builders.rs +++ b/sdk/swf/src/operation/list_workflow_types/builders.rs @@ -27,9 +27,9 @@ impl ListWorkflowTypesFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -91,6 +91,22 @@ impl ListWorkflowTypesFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_workflow_types::ListWorkflowTypes, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::list_workflow_types::ListWorkflowTypesError, + >, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::list_workflow_types::paginator::ListWorkflowTypesPaginator::send) which returns a `Stream`. diff --git a/sdk/swf/src/operation/poll_for_activity_task/builders.rs b/sdk/swf/src/operation/poll_for_activity_task/builders.rs index 776cc172e462..99755eb24656 100644 --- a/sdk/swf/src/operation/poll_for_activity_task/builders.rs +++ b/sdk/swf/src/operation/poll_for_activity_task/builders.rs @@ -29,9 +29,9 @@ impl PollForActivityTaskFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -93,6 +93,22 @@ impl PollForActivityTaskFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::poll_for_activity_task::PollForActivityTask, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::poll_for_activity_task::PollForActivityTaskError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                The name of the domain that contains the task lists being polled.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                pub fn domain(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.domain(input.into()); diff --git a/sdk/swf/src/operation/poll_for_decision_task/builders.rs b/sdk/swf/src/operation/poll_for_decision_task/builders.rs index 19d8a2e242e8..8f95fd2cd40c 100644 --- a/sdk/swf/src/operation/poll_for_decision_task/builders.rs +++ b/sdk/swf/src/operation/poll_for_decision_task/builders.rs @@ -32,9 +32,9 @@ impl PollForDecisionTaskFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -96,6 +96,22 @@ impl PollForDecisionTaskFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::poll_for_decision_task::PollForDecisionTask, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::poll_for_decision_task::PollForDecisionTaskError, + >, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::poll_for_decision_task::paginator::PollForDecisionTaskPaginator::send) which returns a `Stream`. diff --git a/sdk/swf/src/operation/record_activity_task_heartbeat/builders.rs b/sdk/swf/src/operation/record_activity_task_heartbeat/builders.rs index 5849ea4c707c..4b1aebcaf9cb 100644 --- a/sdk/swf/src/operation/record_activity_task_heartbeat/builders.rs +++ b/sdk/swf/src/operation/record_activity_task_heartbeat/builders.rs @@ -35,9 +35,9 @@ impl RecordActivityTaskHeartbeatFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -99,6 +99,22 @@ impl RecordActivityTaskHeartbeatFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::record_activity_task_heartbeat::RecordActivityTaskHeartbeat, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::record_activity_task_heartbeat::RecordActivityTaskHeartbeatError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                The taskToken of the ActivityTask.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                ///

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                taskToken is generated by the service and should be treated as an opaque value. If the task is passed to another process, its taskToken must also be passed. This enables it to provide its progress and respond with results.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                ///
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                diff --git a/sdk/swf/src/operation/register_activity_type/builders.rs b/sdk/swf/src/operation/register_activity_type/builders.rs index ec0350335763..543c604d2635 100644 --- a/sdk/swf/src/operation/register_activity_type/builders.rs +++ b/sdk/swf/src/operation/register_activity_type/builders.rs @@ -34,9 +34,9 @@ impl RegisterActivityTypeFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -98,6 +98,22 @@ impl RegisterActivityTypeFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::register_activity_type::RegisterActivityType, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::register_activity_type::RegisterActivityTypeError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                The name of the domain in which this activity is to be registered.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                pub fn domain(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.domain(input.into()); diff --git a/sdk/swf/src/operation/register_domain/builders.rs b/sdk/swf/src/operation/register_domain/builders.rs index 6965037dbe4c..e9547a271c0f 100644 --- a/sdk/swf/src/operation/register_domain/builders.rs +++ b/sdk/swf/src/operation/register_domain/builders.rs @@ -27,9 +27,9 @@ impl RegisterDomainFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -85,6 +85,20 @@ impl RegisterDomainFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::register_domain::RegisterDomain, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                Name of the domain to register. The name must be unique in the region that the domain is registered in.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                ///

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                The specified string must not start or end with whitespace. It must not contain a : (colon), / (slash), | (vertical bar), or any control characters (\u0000-\u001f | \u007f-\u009f). Also, it must not be the literal string arn.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                pub fn name(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { diff --git a/sdk/swf/src/operation/register_workflow_type/builders.rs b/sdk/swf/src/operation/register_workflow_type/builders.rs index 6c8a9f072b18..16d8f0a87258 100644 --- a/sdk/swf/src/operation/register_workflow_type/builders.rs +++ b/sdk/swf/src/operation/register_workflow_type/builders.rs @@ -35,9 +35,9 @@ impl RegisterWorkflowTypeFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -99,6 +99,22 @@ impl RegisterWorkflowTypeFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::register_workflow_type::RegisterWorkflowType, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::register_workflow_type::RegisterWorkflowTypeError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                The name of the domain in which to register the workflow type.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                pub fn domain(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.domain(input.into()); diff --git a/sdk/swf/src/operation/request_cancel_workflow_execution/builders.rs b/sdk/swf/src/operation/request_cancel_workflow_execution/builders.rs index 41858b7d126a..13a5f50b6fe6 100644 --- a/sdk/swf/src/operation/request_cancel_workflow_execution/builders.rs +++ b/sdk/swf/src/operation/request_cancel_workflow_execution/builders.rs @@ -31,9 +31,9 @@ impl RequestCancelWorkflowExecutionFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize(self) -> ::std::result::Result< + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware(self) -> ::std::result::Result< crate::client::customize::CustomizableOperation, ::aws_smithy_http::result::SdkError >{ @@ -76,6 +76,15 @@ impl RequestCancelWorkflowExecutionFluentBuilder { { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize(self) -> ::std::result::Result< + crate::client::customize::CustomizableOperation, + ::aws_smithy_http::result::SdkError + >{ + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                The name of the domain containing the workflow execution to cancel.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                pub fn domain(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.domain(input.into()); diff --git a/sdk/swf/src/operation/respond_activity_task_canceled/builders.rs b/sdk/swf/src/operation/respond_activity_task_canceled/builders.rs index 8569602421cf..9408354f1c44 100644 --- a/sdk/swf/src/operation/respond_activity_task_canceled/builders.rs +++ b/sdk/swf/src/operation/respond_activity_task_canceled/builders.rs @@ -31,9 +31,9 @@ impl RespondActivityTaskCanceledFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -95,6 +95,22 @@ impl RespondActivityTaskCanceledFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::respond_activity_task_canceled::RespondActivityTaskCanceled, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::respond_activity_task_canceled::RespondActivityTaskCanceledError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                The taskToken of the ActivityTask.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                ///

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                taskToken is generated by the service and should be treated as an opaque value. If the task is passed to another process, its taskToken must also be passed. This enables it to provide its progress and respond with results.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                ///
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                diff --git a/sdk/swf/src/operation/respond_activity_task_completed/builders.rs b/sdk/swf/src/operation/respond_activity_task_completed/builders.rs index 94f77a49c0a9..2064c5d75917 100644 --- a/sdk/swf/src/operation/respond_activity_task_completed/builders.rs +++ b/sdk/swf/src/operation/respond_activity_task_completed/builders.rs @@ -30,9 +30,9 @@ impl RespondActivityTaskCompletedFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -94,6 +94,22 @@ impl RespondActivityTaskCompletedFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::respond_activity_task_completed::RespondActivityTaskCompleted, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::respond_activity_task_completed::RespondActivityTaskCompletedError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                The taskToken of the ActivityTask.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                ///

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                taskToken is generated by the service and should be treated as an opaque value. If the task is passed to another process, its taskToken must also be passed. This enables it to provide its progress and respond with results.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                ///
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                diff --git a/sdk/swf/src/operation/respond_activity_task_failed/builders.rs b/sdk/swf/src/operation/respond_activity_task_failed/builders.rs index fc1c857ca300..80de68607d02 100644 --- a/sdk/swf/src/operation/respond_activity_task_failed/builders.rs +++ b/sdk/swf/src/operation/respond_activity_task_failed/builders.rs @@ -28,9 +28,9 @@ impl RespondActivityTaskFailedFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -92,6 +92,22 @@ impl RespondActivityTaskFailedFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::respond_activity_task_failed::RespondActivityTaskFailed, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::respond_activity_task_failed::RespondActivityTaskFailedError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                The taskToken of the ActivityTask.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                ///

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                taskToken is generated by the service and should be treated as an opaque value. If the task is passed to another process, its taskToken must also be passed. This enables it to provide its progress and respond with results.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                ///
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                diff --git a/sdk/swf/src/operation/respond_decision_task_completed/builders.rs b/sdk/swf/src/operation/respond_decision_task_completed/builders.rs index 3e28a28ace0a..8a783d1aab11 100644 --- a/sdk/swf/src/operation/respond_decision_task_completed/builders.rs +++ b/sdk/swf/src/operation/respond_decision_task_completed/builders.rs @@ -22,9 +22,9 @@ impl RespondDecisionTaskCompletedFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -86,6 +86,22 @@ impl RespondDecisionTaskCompletedFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::respond_decision_task_completed::RespondDecisionTaskCompleted, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::respond_decision_task_completed::RespondDecisionTaskCompletedError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                The taskToken from the DecisionTask.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                ///

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                taskToken is generated by the service and should be treated as an opaque value. If the task is passed to another process, its taskToken must also be passed. This enables it to provide its progress and respond with results.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                ///
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                diff --git a/sdk/swf/src/operation/signal_workflow_execution/builders.rs b/sdk/swf/src/operation/signal_workflow_execution/builders.rs index 156445b74de0..27c92dfcc3d8 100644 --- a/sdk/swf/src/operation/signal_workflow_execution/builders.rs +++ b/sdk/swf/src/operation/signal_workflow_execution/builders.rs @@ -32,9 +32,9 @@ impl SignalWorkflowExecutionFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -96,6 +96,22 @@ impl SignalWorkflowExecutionFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::signal_workflow_execution::SignalWorkflowExecution, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::signal_workflow_execution::SignalWorkflowExecutionError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                The name of the domain containing the workflow execution to signal.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                pub fn domain(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.domain(input.into()); diff --git a/sdk/swf/src/operation/start_workflow_execution/builders.rs b/sdk/swf/src/operation/start_workflow_execution/builders.rs index 08be5795991f..72c22f1769ba 100644 --- a/sdk/swf/src/operation/start_workflow_execution/builders.rs +++ b/sdk/swf/src/operation/start_workflow_execution/builders.rs @@ -38,9 +38,9 @@ impl StartWorkflowExecutionFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -102,6 +102,22 @@ impl StartWorkflowExecutionFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::start_workflow_execution::StartWorkflowExecution, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::start_workflow_execution::StartWorkflowExecutionError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                The name of the domain in which the workflow execution is created.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                ///

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                The specified string must not contain a : (colon), / (slash), | (vertical bar), or any control characters (\u0000-\u001f | \u007f-\u009f). Also, it must not be the literal string arn.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                pub fn domain(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { diff --git a/sdk/swf/src/operation/tag_resource/builders.rs b/sdk/swf/src/operation/tag_resource/builders.rs index d1e6a2ffb28e..64a5c6bce19b 100644 --- a/sdk/swf/src/operation/tag_resource/builders.rs +++ b/sdk/swf/src/operation/tag_resource/builders.rs @@ -21,9 +21,9 @@ impl TagResourceFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -79,6 +79,20 @@ impl TagResourceFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::tag_resource::TagResource, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                The Amazon Resource Name (ARN) for the Amazon SWF domain.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                pub fn resource_arn(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.resource_arn(input.into()); diff --git a/sdk/swf/src/operation/terminate_workflow_execution/builders.rs b/sdk/swf/src/operation/terminate_workflow_execution/builders.rs index fb8d2525cadf..add136eca45a 100644 --- a/sdk/swf/src/operation/terminate_workflow_execution/builders.rs +++ b/sdk/swf/src/operation/terminate_workflow_execution/builders.rs @@ -33,9 +33,9 @@ impl TerminateWorkflowExecutionFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -97,6 +97,22 @@ impl TerminateWorkflowExecutionFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::terminate_workflow_execution::TerminateWorkflowExecution, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::terminate_workflow_execution::TerminateWorkflowExecutionError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                The domain of the workflow execution to terminate.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                pub fn domain(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.domain(input.into()); diff --git a/sdk/swf/src/operation/undeprecate_activity_type/builders.rs b/sdk/swf/src/operation/undeprecate_activity_type/builders.rs index 1a5e68a03ba9..98c13491303d 100644 --- a/sdk/swf/src/operation/undeprecate_activity_type/builders.rs +++ b/sdk/swf/src/operation/undeprecate_activity_type/builders.rs @@ -34,9 +34,9 @@ impl UndeprecateActivityTypeFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -98,6 +98,22 @@ impl UndeprecateActivityTypeFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::undeprecate_activity_type::UndeprecateActivityType, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::undeprecate_activity_type::UndeprecateActivityTypeError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                The name of the domain of the deprecated activity type.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                pub fn domain(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.domain(input.into()); diff --git a/sdk/swf/src/operation/undeprecate_domain/builders.rs b/sdk/swf/src/operation/undeprecate_domain/builders.rs index 28515305b666..95ea63523b20 100644 --- a/sdk/swf/src/operation/undeprecate_domain/builders.rs +++ b/sdk/swf/src/operation/undeprecate_domain/builders.rs @@ -29,9 +29,9 @@ impl UndeprecateDomainFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -93,6 +93,22 @@ impl UndeprecateDomainFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::undeprecate_domain::UndeprecateDomain, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::undeprecate_domain::UndeprecateDomainError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                The name of the domain of the deprecated workflow type.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                pub fn name(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.name(input.into()); diff --git a/sdk/swf/src/operation/undeprecate_workflow_type/builders.rs b/sdk/swf/src/operation/undeprecate_workflow_type/builders.rs index 2fb170bb876a..1518c079b85e 100644 --- a/sdk/swf/src/operation/undeprecate_workflow_type/builders.rs +++ b/sdk/swf/src/operation/undeprecate_workflow_type/builders.rs @@ -34,9 +34,9 @@ impl UndeprecateWorkflowTypeFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -98,6 +98,22 @@ impl UndeprecateWorkflowTypeFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::undeprecate_workflow_type::UndeprecateWorkflowType, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::undeprecate_workflow_type::UndeprecateWorkflowTypeError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                The name of the domain of the deprecated workflow type.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                pub fn domain(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.domain(input.into()); diff --git a/sdk/swf/src/operation/untag_resource/builders.rs b/sdk/swf/src/operation/untag_resource/builders.rs index 09ea1e147ae3..6fcc85cfd607 100644 --- a/sdk/swf/src/operation/untag_resource/builders.rs +++ b/sdk/swf/src/operation/untag_resource/builders.rs @@ -19,9 +19,9 @@ impl UntagResourceFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl UntagResourceFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::untag_resource::UntagResource, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                The Amazon Resource Name (ARN) for the Amazon SWF domain.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                pub fn resource_arn(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.resource_arn(input.into()); diff --git a/sdk/synthetics/src/operation/associate_resource/builders.rs b/sdk/synthetics/src/operation/associate_resource/builders.rs index 81f3cbe613fb..8769b5896480 100644 --- a/sdk/synthetics/src/operation/associate_resource/builders.rs +++ b/sdk/synthetics/src/operation/associate_resource/builders.rs @@ -20,9 +20,9 @@ impl AssociateResourceFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -84,6 +84,22 @@ impl AssociateResourceFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::associate_resource::AssociateResource, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::associate_resource::AssociateResourceError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                Specifies the group. You can specify the group name, the ARN, or the group ID as the GroupIdentifier.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                pub fn group_identifier( mut self, diff --git a/sdk/synthetics/src/operation/create_canary/builders.rs b/sdk/synthetics/src/operation/create_canary/builders.rs index a133ca8b4982..a3307a9fbf66 100644 --- a/sdk/synthetics/src/operation/create_canary/builders.rs +++ b/sdk/synthetics/src/operation/create_canary/builders.rs @@ -22,9 +22,9 @@ impl CreateCanaryFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -80,6 +80,20 @@ impl CreateCanaryFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::create_canary::CreateCanary, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                The name for this canary. Be sure to give it a descriptive name that distinguishes it from other canaries in your account.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                ///

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                Do not include secrets or proprietary information in your canary names. The canary name makes up part of the canary ARN, and the ARN is included in outbound calls over the internet. For more information, see Security Considerations for Synthetics Canaries.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                pub fn name(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { diff --git a/sdk/synthetics/src/operation/create_group/builders.rs b/sdk/synthetics/src/operation/create_group/builders.rs index e2092343a6d4..3278f8f56b95 100644 --- a/sdk/synthetics/src/operation/create_group/builders.rs +++ b/sdk/synthetics/src/operation/create_group/builders.rs @@ -22,9 +22,9 @@ impl CreateGroupFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -80,6 +80,20 @@ impl CreateGroupFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::create_group::CreateGroup, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                The name for the group. It can include any Unicode characters.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                ///

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                The names for all groups in your account, across all Regions, must be unique.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                pub fn name(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { diff --git a/sdk/synthetics/src/operation/delete_canary/builders.rs b/sdk/synthetics/src/operation/delete_canary/builders.rs index 8876b5bd66d8..9201c30e7bd0 100644 --- a/sdk/synthetics/src/operation/delete_canary/builders.rs +++ b/sdk/synthetics/src/operation/delete_canary/builders.rs @@ -28,9 +28,9 @@ impl DeleteCanaryFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -86,6 +86,20 @@ impl DeleteCanaryFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::delete_canary::DeleteCanary, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                The name of the canary that you want to delete. To find the names of your canaries, use DescribeCanaries.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                pub fn name(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.name(input.into()); diff --git a/sdk/synthetics/src/operation/delete_group/builders.rs b/sdk/synthetics/src/operation/delete_group/builders.rs index ca205e8338b4..a4d6ab3b8856 100644 --- a/sdk/synthetics/src/operation/delete_group/builders.rs +++ b/sdk/synthetics/src/operation/delete_group/builders.rs @@ -20,9 +20,9 @@ impl DeleteGroupFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -78,6 +78,20 @@ impl DeleteGroupFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::delete_group::DeleteGroup, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                Specifies which group to delete. You can specify the group name, the ARN, or the group ID as the GroupIdentifier.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                pub fn group_identifier( mut self, diff --git a/sdk/synthetics/src/operation/describe_canaries/builders.rs b/sdk/synthetics/src/operation/describe_canaries/builders.rs index 278d155a06b1..696cb4c83ecc 100644 --- a/sdk/synthetics/src/operation/describe_canaries/builders.rs +++ b/sdk/synthetics/src/operation/describe_canaries/builders.rs @@ -21,9 +21,9 @@ impl DescribeCanariesFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -85,6 +85,22 @@ impl DescribeCanariesFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::describe_canaries::DescribeCanaries, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::describe_canaries::DescribeCanariesError, + >, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::describe_canaries::paginator::DescribeCanariesPaginator::send) which returns a `Stream`. diff --git a/sdk/synthetics/src/operation/describe_canaries_last_run/builders.rs b/sdk/synthetics/src/operation/describe_canaries_last_run/builders.rs index a6dabd415ad5..089bafb6fbdd 100644 --- a/sdk/synthetics/src/operation/describe_canaries_last_run/builders.rs +++ b/sdk/synthetics/src/operation/describe_canaries_last_run/builders.rs @@ -22,9 +22,9 @@ impl DescribeCanariesLastRunFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -86,6 +86,22 @@ impl DescribeCanariesLastRunFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::describe_canaries_last_run::DescribeCanariesLastRun, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::describe_canaries_last_run::DescribeCanariesLastRunError, + >, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::describe_canaries_last_run::paginator::DescribeCanariesLastRunPaginator::send) which returns a `Stream`. diff --git a/sdk/synthetics/src/operation/describe_runtime_versions/builders.rs b/sdk/synthetics/src/operation/describe_runtime_versions/builders.rs index e2c60e4bbd5d..732593455a06 100644 --- a/sdk/synthetics/src/operation/describe_runtime_versions/builders.rs +++ b/sdk/synthetics/src/operation/describe_runtime_versions/builders.rs @@ -20,9 +20,9 @@ impl DescribeRuntimeVersionsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -84,6 +84,22 @@ impl DescribeRuntimeVersionsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::describe_runtime_versions::DescribeRuntimeVersions, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::describe_runtime_versions::DescribeRuntimeVersionsError, + >, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::describe_runtime_versions::paginator::DescribeRuntimeVersionsPaginator::send) which returns a `Stream`. diff --git a/sdk/synthetics/src/operation/disassociate_resource/builders.rs b/sdk/synthetics/src/operation/disassociate_resource/builders.rs index 8d827036035b..fd0bea890125 100644 --- a/sdk/synthetics/src/operation/disassociate_resource/builders.rs +++ b/sdk/synthetics/src/operation/disassociate_resource/builders.rs @@ -19,9 +19,9 @@ impl DisassociateResourceFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl DisassociateResourceFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::disassociate_resource::DisassociateResource, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::disassociate_resource::DisassociateResourceError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                Specifies the group. You can specify the group name, the ARN, or the group ID as the GroupIdentifier.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                pub fn group_identifier( mut self, diff --git a/sdk/synthetics/src/operation/get_canary/builders.rs b/sdk/synthetics/src/operation/get_canary/builders.rs index 36eafb0b9591..70846b3b7f7c 100644 --- a/sdk/synthetics/src/operation/get_canary/builders.rs +++ b/sdk/synthetics/src/operation/get_canary/builders.rs @@ -19,9 +19,9 @@ impl GetCanaryFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl GetCanaryFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::get_canary::GetCanary, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                The name of the canary that you want details for.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                pub fn name(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.name(input.into()); diff --git a/sdk/synthetics/src/operation/get_canary_runs/builders.rs b/sdk/synthetics/src/operation/get_canary_runs/builders.rs index ad27e62c77be..b4cfc31b84da 100644 --- a/sdk/synthetics/src/operation/get_canary_runs/builders.rs +++ b/sdk/synthetics/src/operation/get_canary_runs/builders.rs @@ -19,9 +19,9 @@ impl GetCanaryRunsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl GetCanaryRunsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::get_canary_runs::GetCanaryRuns, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::get_canary_runs::paginator::GetCanaryRunsPaginator::send) which returns a `Stream`. diff --git a/sdk/synthetics/src/operation/get_group/builders.rs b/sdk/synthetics/src/operation/get_group/builders.rs index d71162835c90..4e255a8f5329 100644 --- a/sdk/synthetics/src/operation/get_group/builders.rs +++ b/sdk/synthetics/src/operation/get_group/builders.rs @@ -19,9 +19,9 @@ impl GetGroupFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl GetGroupFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::get_group::GetGroup, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                Specifies the group to return information for. You can specify the group name, the ARN, or the group ID as the GroupIdentifier.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                pub fn group_identifier( mut self, diff --git a/sdk/synthetics/src/operation/list_associated_groups/builders.rs b/sdk/synthetics/src/operation/list_associated_groups/builders.rs index 852a58ac8e16..b05f5fae2ed9 100644 --- a/sdk/synthetics/src/operation/list_associated_groups/builders.rs +++ b/sdk/synthetics/src/operation/list_associated_groups/builders.rs @@ -19,9 +19,9 @@ impl ListAssociatedGroupsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl ListAssociatedGroupsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_associated_groups::ListAssociatedGroups, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::list_associated_groups::ListAssociatedGroupsError, + >, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::list_associated_groups::paginator::ListAssociatedGroupsPaginator::send) which returns a `Stream`. diff --git a/sdk/synthetics/src/operation/list_group_resources/builders.rs b/sdk/synthetics/src/operation/list_group_resources/builders.rs index b36edab3e4a9..73474b82fb70 100644 --- a/sdk/synthetics/src/operation/list_group_resources/builders.rs +++ b/sdk/synthetics/src/operation/list_group_resources/builders.rs @@ -19,9 +19,9 @@ impl ListGroupResourcesFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl ListGroupResourcesFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_group_resources::ListGroupResources, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::list_group_resources::ListGroupResourcesError, + >, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::list_group_resources::paginator::ListGroupResourcesPaginator::send) which returns a `Stream`. diff --git a/sdk/synthetics/src/operation/list_groups/builders.rs b/sdk/synthetics/src/operation/list_groups/builders.rs index 2e206fedc5ba..dced4a2761bb 100644 --- a/sdk/synthetics/src/operation/list_groups/builders.rs +++ b/sdk/synthetics/src/operation/list_groups/builders.rs @@ -19,9 +19,9 @@ impl ListGroupsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl ListGroupsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_groups::ListGroups, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::list_groups::paginator::ListGroupsPaginator::send) which returns a `Stream`. diff --git a/sdk/synthetics/src/operation/list_tags_for_resource/builders.rs b/sdk/synthetics/src/operation/list_tags_for_resource/builders.rs index 857b71194756..ffff7955472d 100644 --- a/sdk/synthetics/src/operation/list_tags_for_resource/builders.rs +++ b/sdk/synthetics/src/operation/list_tags_for_resource/builders.rs @@ -19,9 +19,9 @@ impl ListTagsForResourceFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl ListTagsForResourceFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_tags_for_resource::ListTagsForResource, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::list_tags_for_resource::ListTagsForResourceError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                The ARN of the canary or group that you want to view tags for.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                ///

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                The ARN format of a canary is arn:aws:synthetics:Region:account-id:canary:canary-name .

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                ///

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                The ARN format of a group is arn:aws:synthetics:Region:account-id:group:group-name

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                diff --git a/sdk/synthetics/src/operation/start_canary/builders.rs b/sdk/synthetics/src/operation/start_canary/builders.rs index 60cea2ba1e3a..3c7ddfcf4065 100644 --- a/sdk/synthetics/src/operation/start_canary/builders.rs +++ b/sdk/synthetics/src/operation/start_canary/builders.rs @@ -19,9 +19,9 @@ impl StartCanaryFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl StartCanaryFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::start_canary::StartCanary, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                The name of the canary that you want to run. To find canary names, use DescribeCanaries.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                pub fn name(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.name(input.into()); diff --git a/sdk/synthetics/src/operation/stop_canary/builders.rs b/sdk/synthetics/src/operation/stop_canary/builders.rs index b6d51cffe689..6ee678554bc1 100644 --- a/sdk/synthetics/src/operation/stop_canary/builders.rs +++ b/sdk/synthetics/src/operation/stop_canary/builders.rs @@ -20,9 +20,9 @@ impl StopCanaryFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -78,6 +78,20 @@ impl StopCanaryFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::stop_canary::StopCanary, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                The name of the canary that you want to stop. To find the names of your canaries, use ListCanaries.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                pub fn name(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.name(input.into()); diff --git a/sdk/synthetics/src/operation/tag_resource/builders.rs b/sdk/synthetics/src/operation/tag_resource/builders.rs index 469e53b1a259..4092f8518f56 100644 --- a/sdk/synthetics/src/operation/tag_resource/builders.rs +++ b/sdk/synthetics/src/operation/tag_resource/builders.rs @@ -23,9 +23,9 @@ impl TagResourceFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -81,6 +81,20 @@ impl TagResourceFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::tag_resource::TagResource, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                The ARN of the canary or group that you're adding tags to.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                ///

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                The ARN format of a canary is arn:aws:synthetics:Region:account-id:canary:canary-name .

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                ///

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                The ARN format of a group is arn:aws:synthetics:Region:account-id:group:group-name

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                diff --git a/sdk/synthetics/src/operation/untag_resource/builders.rs b/sdk/synthetics/src/operation/untag_resource/builders.rs index e12ad9a92db4..a29937ea4dd7 100644 --- a/sdk/synthetics/src/operation/untag_resource/builders.rs +++ b/sdk/synthetics/src/operation/untag_resource/builders.rs @@ -19,9 +19,9 @@ impl UntagResourceFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl UntagResourceFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::untag_resource::UntagResource, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                The ARN of the canary or group that you're removing tags from.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                ///

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                The ARN format of a canary is arn:aws:synthetics:Region:account-id:canary:canary-name .

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                ///

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                The ARN format of a group is arn:aws:synthetics:Region:account-id:group:group-name

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                diff --git a/sdk/synthetics/src/operation/update_canary/builders.rs b/sdk/synthetics/src/operation/update_canary/builders.rs index 392eb8070991..570265ac23ff 100644 --- a/sdk/synthetics/src/operation/update_canary/builders.rs +++ b/sdk/synthetics/src/operation/update_canary/builders.rs @@ -20,9 +20,9 @@ impl UpdateCanaryFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -78,6 +78,20 @@ impl UpdateCanaryFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::update_canary::UpdateCanary, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                The name of the canary that you want to update. To find the names of your canaries, use DescribeCanaries.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                ///

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                You cannot change the name of a canary that has already been created.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                pub fn name(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { diff --git a/sdk/textract/src/operation/analyze_document/builders.rs b/sdk/textract/src/operation/analyze_document/builders.rs index 0b6391bbb0a5..535d43f0db11 100644 --- a/sdk/textract/src/operation/analyze_document/builders.rs +++ b/sdk/textract/src/operation/analyze_document/builders.rs @@ -33,9 +33,9 @@ impl AnalyzeDocumentFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -97,6 +97,22 @@ impl AnalyzeDocumentFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::analyze_document::AnalyzeDocument, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::analyze_document::AnalyzeDocumentError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                The input document as base64-encoded bytes or an Amazon S3 object. If you use the AWS CLI to call Amazon Textract operations, you can't pass image bytes. The document must be an image in JPEG, PNG, PDF, or TIFF format.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                ///

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                If you're using an AWS SDK to call Amazon Textract, you might not need to base64-encode image bytes that are passed using the Bytes field.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                pub fn document(mut self, input: crate::types::Document) -> Self { diff --git a/sdk/textract/src/operation/analyze_expense/builders.rs b/sdk/textract/src/operation/analyze_expense/builders.rs index 045804c93f50..588b56f90601 100644 --- a/sdk/textract/src/operation/analyze_expense/builders.rs +++ b/sdk/textract/src/operation/analyze_expense/builders.rs @@ -24,9 +24,9 @@ impl AnalyzeExpenseFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -82,6 +82,20 @@ impl AnalyzeExpenseFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::analyze_expense::AnalyzeExpense, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                The input document, either as bytes or as an S3 object.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                ///

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                You pass image bytes to an Amazon Textract API operation by using the Bytes property. For example, you would use the Bytes property to pass a document loaded from a local file system. Image bytes passed by using the Bytes property must be base64 encoded. Your code might not need to encode document file bytes if you're using an AWS SDK to call Amazon Textract API operations.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                ///

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                You pass images stored in an S3 bucket to an Amazon Textract API operation by using the S3Object property. Documents stored in an S3 bucket don't need to be base64 encoded.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                diff --git a/sdk/textract/src/operation/analyze_id/builders.rs b/sdk/textract/src/operation/analyze_id/builders.rs index 66b7595ce1c3..cee94ede0803 100644 --- a/sdk/textract/src/operation/analyze_id/builders.rs +++ b/sdk/textract/src/operation/analyze_id/builders.rs @@ -19,9 +19,9 @@ impl AnalyzeIDFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl AnalyzeIDFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::analyze_id::AnalyzeID, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } /// Appends an item to `DocumentPages`. /// /// To override the contents of this collection use [`set_document_pages`](Self::set_document_pages). diff --git a/sdk/textract/src/operation/detect_document_text/builders.rs b/sdk/textract/src/operation/detect_document_text/builders.rs index 7e0db1bd1a76..43c057994a0d 100644 --- a/sdk/textract/src/operation/detect_document_text/builders.rs +++ b/sdk/textract/src/operation/detect_document_text/builders.rs @@ -22,9 +22,9 @@ impl DetectDocumentTextFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -86,6 +86,22 @@ impl DetectDocumentTextFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::detect_document_text::DetectDocumentText, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::detect_document_text::DetectDocumentTextError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                The input document as base64-encoded bytes or an Amazon S3 object. If you use the AWS CLI to call Amazon Textract operations, you can't pass image bytes. The document must be an image in JPEG or PNG format.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                ///

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                If you're using an AWS SDK to call Amazon Textract, you might not need to base64-encode image bytes that are passed using the Bytes field.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                pub fn document(mut self, input: crate::types::Document) -> Self { diff --git a/sdk/textract/src/operation/get_document_analysis/builders.rs b/sdk/textract/src/operation/get_document_analysis/builders.rs index bfbf5797608d..407f0abf9d91 100644 --- a/sdk/textract/src/operation/get_document_analysis/builders.rs +++ b/sdk/textract/src/operation/get_document_analysis/builders.rs @@ -33,9 +33,9 @@ impl GetDocumentAnalysisFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -97,6 +97,22 @@ impl GetDocumentAnalysisFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::get_document_analysis::GetDocumentAnalysis, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::get_document_analysis::GetDocumentAnalysisError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                A unique identifier for the text-detection job. The JobId is returned from StartDocumentAnalysis. A JobId value is only valid for 7 days.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                pub fn job_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.job_id(input.into()); diff --git a/sdk/textract/src/operation/get_document_text_detection/builders.rs b/sdk/textract/src/operation/get_document_text_detection/builders.rs index 5108cb93af62..1b0486b2dacf 100644 --- a/sdk/textract/src/operation/get_document_text_detection/builders.rs +++ b/sdk/textract/src/operation/get_document_text_detection/builders.rs @@ -24,9 +24,9 @@ impl GetDocumentTextDetectionFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -88,6 +88,22 @@ impl GetDocumentTextDetectionFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::get_document_text_detection::GetDocumentTextDetection, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::get_document_text_detection::GetDocumentTextDetectionError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                A unique identifier for the text detection job. The JobId is returned from StartDocumentTextDetection. A JobId value is only valid for 7 days.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                pub fn job_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.job_id(input.into()); diff --git a/sdk/textract/src/operation/get_expense_analysis/builders.rs b/sdk/textract/src/operation/get_expense_analysis/builders.rs index db0fb5662405..2fa790bd172b 100644 --- a/sdk/textract/src/operation/get_expense_analysis/builders.rs +++ b/sdk/textract/src/operation/get_expense_analysis/builders.rs @@ -22,9 +22,9 @@ impl GetExpenseAnalysisFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -86,6 +86,22 @@ impl GetExpenseAnalysisFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::get_expense_analysis::GetExpenseAnalysis, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::get_expense_analysis::GetExpenseAnalysisError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                A unique identifier for the text detection job. The JobId is returned from StartExpenseAnalysis. A JobId value is only valid for 7 days.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                pub fn job_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.job_id(input.into()); diff --git a/sdk/textract/src/operation/get_lending_analysis/builders.rs b/sdk/textract/src/operation/get_lending_analysis/builders.rs index 95157e389ac6..a64a564c259b 100644 --- a/sdk/textract/src/operation/get_lending_analysis/builders.rs +++ b/sdk/textract/src/operation/get_lending_analysis/builders.rs @@ -21,9 +21,9 @@ impl GetLendingAnalysisFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -85,6 +85,22 @@ impl GetLendingAnalysisFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::get_lending_analysis::GetLendingAnalysis, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::get_lending_analysis::GetLendingAnalysisError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                A unique identifier for the lending or text-detection job. The JobId is returned from StartLendingAnalysis. A JobId value is only valid for 7 days.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                pub fn job_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.job_id(input.into()); diff --git a/sdk/textract/src/operation/get_lending_analysis_summary/builders.rs b/sdk/textract/src/operation/get_lending_analysis_summary/builders.rs index f62739e0c1f1..4a15eba1894f 100644 --- a/sdk/textract/src/operation/get_lending_analysis_summary/builders.rs +++ b/sdk/textract/src/operation/get_lending_analysis_summary/builders.rs @@ -21,9 +21,9 @@ impl GetLendingAnalysisSummaryFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -85,6 +85,22 @@ impl GetLendingAnalysisSummaryFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::get_lending_analysis_summary::GetLendingAnalysisSummary, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::get_lending_analysis_summary::GetLendingAnalysisSummaryError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                A unique identifier for the lending or text-detection job. The JobId is returned from StartLendingAnalysis. A JobId value is only valid for 7 days.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                pub fn job_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.job_id(input.into()); diff --git a/sdk/textract/src/operation/start_document_analysis/builders.rs b/sdk/textract/src/operation/start_document_analysis/builders.rs index c56739d41074..a95f6d46170a 100644 --- a/sdk/textract/src/operation/start_document_analysis/builders.rs +++ b/sdk/textract/src/operation/start_document_analysis/builders.rs @@ -22,9 +22,9 @@ impl StartDocumentAnalysisFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -86,6 +86,22 @@ impl StartDocumentAnalysisFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::start_document_analysis::StartDocumentAnalysis, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::start_document_analysis::StartDocumentAnalysisError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                The location of the document to be processed.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                pub fn document_location(mut self, input: crate::types::DocumentLocation) -> Self { self.inner = self.inner.document_location(input); diff --git a/sdk/textract/src/operation/start_document_text_detection/builders.rs b/sdk/textract/src/operation/start_document_text_detection/builders.rs index 4be4c1dac162..07b299c39fa6 100644 --- a/sdk/textract/src/operation/start_document_text_detection/builders.rs +++ b/sdk/textract/src/operation/start_document_text_detection/builders.rs @@ -22,9 +22,9 @@ impl StartDocumentTextDetectionFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -86,6 +86,22 @@ impl StartDocumentTextDetectionFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::start_document_text_detection::StartDocumentTextDetection, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::start_document_text_detection::StartDocumentTextDetectionError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                The location of the document to be processed.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                pub fn document_location(mut self, input: crate::types::DocumentLocation) -> Self { self.inner = self.inner.document_location(input); diff --git a/sdk/textract/src/operation/start_expense_analysis/builders.rs b/sdk/textract/src/operation/start_expense_analysis/builders.rs index 8ab4d6824da4..236d005180f3 100644 --- a/sdk/textract/src/operation/start_expense_analysis/builders.rs +++ b/sdk/textract/src/operation/start_expense_analysis/builders.rs @@ -22,9 +22,9 @@ impl StartExpenseAnalysisFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -86,6 +86,22 @@ impl StartExpenseAnalysisFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::start_expense_analysis::StartExpenseAnalysis, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::start_expense_analysis::StartExpenseAnalysisError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                The location of the document to be processed.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                pub fn document_location(mut self, input: crate::types::DocumentLocation) -> Self { self.inner = self.inner.document_location(input); diff --git a/sdk/textract/src/operation/start_lending_analysis/builders.rs b/sdk/textract/src/operation/start_lending_analysis/builders.rs index 8b22bb90e604..30ff4b08af12 100644 --- a/sdk/textract/src/operation/start_lending_analysis/builders.rs +++ b/sdk/textract/src/operation/start_lending_analysis/builders.rs @@ -27,9 +27,9 @@ impl StartLendingAnalysisFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -91,6 +91,22 @@ impl StartLendingAnalysisFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::start_lending_analysis::StartLendingAnalysis, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::start_lending_analysis::StartLendingAnalysisError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                The Amazon S3 bucket that contains the document to be processed. It's used by asynchronous operations.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                ///

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                The input document can be an image file in JPEG or PNG format. It can also be a file in PDF format.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                pub fn document_location(mut self, input: crate::types::DocumentLocation) -> Self { diff --git a/sdk/tnb/src/operation/cancel_sol_network_operation/builders.rs b/sdk/tnb/src/operation/cancel_sol_network_operation/builders.rs index fe8b89d416ae..ad1db7dc19ac 100644 --- a/sdk/tnb/src/operation/cancel_sol_network_operation/builders.rs +++ b/sdk/tnb/src/operation/cancel_sol_network_operation/builders.rs @@ -20,9 +20,9 @@ impl CancelSolNetworkOperationFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -84,6 +84,22 @@ impl CancelSolNetworkOperationFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::cancel_sol_network_operation::CancelSolNetworkOperation, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::cancel_sol_network_operation::CancelSolNetworkOperationError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                The identifier of the network operation.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                pub fn ns_lcm_op_occ_id( mut self, diff --git a/sdk/tnb/src/operation/create_sol_function_package/builders.rs b/sdk/tnb/src/operation/create_sol_function_package/builders.rs index 179b69d21a8e..02361717286b 100644 --- a/sdk/tnb/src/operation/create_sol_function_package/builders.rs +++ b/sdk/tnb/src/operation/create_sol_function_package/builders.rs @@ -21,9 +21,9 @@ impl CreateSolFunctionPackageFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -85,6 +85,22 @@ impl CreateSolFunctionPackageFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::create_sol_function_package::CreateSolFunctionPackage, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::create_sol_function_package::CreateSolFunctionPackageError, + >, + > { + self.customize_middleware().await + } /// Adds a key-value pair to `tags`. /// /// To override the contents of this collection use [`set_tags`](Self::set_tags). diff --git a/sdk/tnb/src/operation/create_sol_network_instance/builders.rs b/sdk/tnb/src/operation/create_sol_network_instance/builders.rs index bb377bc27a81..cacae61cf25e 100644 --- a/sdk/tnb/src/operation/create_sol_network_instance/builders.rs +++ b/sdk/tnb/src/operation/create_sol_network_instance/builders.rs @@ -21,9 +21,9 @@ impl CreateSolNetworkInstanceFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -85,6 +85,22 @@ impl CreateSolNetworkInstanceFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::create_sol_network_instance::CreateSolNetworkInstance, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::create_sol_network_instance::CreateSolNetworkInstanceError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                ID for network service descriptor.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                pub fn nsd_info_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.nsd_info_id(input.into()); diff --git a/sdk/tnb/src/operation/create_sol_network_package/builders.rs b/sdk/tnb/src/operation/create_sol_network_package/builders.rs index ae0fe2f2ebfd..64d9f6cec21b 100644 --- a/sdk/tnb/src/operation/create_sol_network_package/builders.rs +++ b/sdk/tnb/src/operation/create_sol_network_package/builders.rs @@ -23,9 +23,9 @@ impl CreateSolNetworkPackageFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -87,6 +87,22 @@ impl CreateSolNetworkPackageFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::create_sol_network_package::CreateSolNetworkPackage, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::create_sol_network_package::CreateSolNetworkPackageError, + >, + > { + self.customize_middleware().await + } /// Adds a key-value pair to `tags`. /// /// To override the contents of this collection use [`set_tags`](Self::set_tags). diff --git a/sdk/tnb/src/operation/delete_sol_function_package/builders.rs b/sdk/tnb/src/operation/delete_sol_function_package/builders.rs index 2383abb40d69..53db0e2ca8c7 100644 --- a/sdk/tnb/src/operation/delete_sol_function_package/builders.rs +++ b/sdk/tnb/src/operation/delete_sol_function_package/builders.rs @@ -21,9 +21,9 @@ impl DeleteSolFunctionPackageFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -85,6 +85,22 @@ impl DeleteSolFunctionPackageFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::delete_sol_function_package::DeleteSolFunctionPackage, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::delete_sol_function_package::DeleteSolFunctionPackageError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                ID of the function package.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                pub fn vnf_pkg_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.vnf_pkg_id(input.into()); diff --git a/sdk/tnb/src/operation/delete_sol_network_instance/builders.rs b/sdk/tnb/src/operation/delete_sol_network_instance/builders.rs index 93d018279454..bdaf9dd301bc 100644 --- a/sdk/tnb/src/operation/delete_sol_network_instance/builders.rs +++ b/sdk/tnb/src/operation/delete_sol_network_instance/builders.rs @@ -21,9 +21,9 @@ impl DeleteSolNetworkInstanceFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -85,6 +85,22 @@ impl DeleteSolNetworkInstanceFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::delete_sol_network_instance::DeleteSolNetworkInstance, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::delete_sol_network_instance::DeleteSolNetworkInstanceError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                Network instance ID.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                pub fn ns_instance_id( mut self, diff --git a/sdk/tnb/src/operation/delete_sol_network_package/builders.rs b/sdk/tnb/src/operation/delete_sol_network_package/builders.rs index 8af25d01ec22..55f7398105a7 100644 --- a/sdk/tnb/src/operation/delete_sol_network_package/builders.rs +++ b/sdk/tnb/src/operation/delete_sol_network_package/builders.rs @@ -22,9 +22,9 @@ impl DeleteSolNetworkPackageFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -86,6 +86,22 @@ impl DeleteSolNetworkPackageFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::delete_sol_network_package::DeleteSolNetworkPackage, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::delete_sol_network_package::DeleteSolNetworkPackageError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                ID of the network service descriptor in the network package.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                pub fn nsd_info_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.nsd_info_id(input.into()); diff --git a/sdk/tnb/src/operation/get_sol_function_instance/builders.rs b/sdk/tnb/src/operation/get_sol_function_instance/builders.rs index 6e89e99e4cb0..5fbe3c0fbc8c 100644 --- a/sdk/tnb/src/operation/get_sol_function_instance/builders.rs +++ b/sdk/tnb/src/operation/get_sol_function_instance/builders.rs @@ -21,9 +21,9 @@ impl GetSolFunctionInstanceFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -85,6 +85,22 @@ impl GetSolFunctionInstanceFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::get_sol_function_instance::GetSolFunctionInstance, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::get_sol_function_instance::GetSolFunctionInstanceError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                ID of the network function.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                pub fn vnf_instance_id( mut self, diff --git a/sdk/tnb/src/operation/get_sol_function_package/builders.rs b/sdk/tnb/src/operation/get_sol_function_package/builders.rs index c6c6dd2af33b..0006af71ae72 100644 --- a/sdk/tnb/src/operation/get_sol_function_package/builders.rs +++ b/sdk/tnb/src/operation/get_sol_function_package/builders.rs @@ -20,9 +20,9 @@ impl GetSolFunctionPackageFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -84,6 +84,22 @@ impl GetSolFunctionPackageFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::get_sol_function_package::GetSolFunctionPackage, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::get_sol_function_package::GetSolFunctionPackageError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                ID of the function package.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                pub fn vnf_pkg_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.vnf_pkg_id(input.into()); diff --git a/sdk/tnb/src/operation/get_sol_function_package_content/builders.rs b/sdk/tnb/src/operation/get_sol_function_package_content/builders.rs index e88180d3717f..c12488012e1a 100644 --- a/sdk/tnb/src/operation/get_sol_function_package_content/builders.rs +++ b/sdk/tnb/src/operation/get_sol_function_package_content/builders.rs @@ -20,9 +20,9 @@ impl GetSolFunctionPackageContentFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -84,6 +84,22 @@ impl GetSolFunctionPackageContentFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::get_sol_function_package_content::GetSolFunctionPackageContent, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::get_sol_function_package_content::GetSolFunctionPackageContentError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                ID of the function package.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                pub fn vnf_pkg_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.vnf_pkg_id(input.into()); diff --git a/sdk/tnb/src/operation/get_sol_function_package_descriptor/builders.rs b/sdk/tnb/src/operation/get_sol_function_package_descriptor/builders.rs index 487dfe39a024..8ad3c535462d 100644 --- a/sdk/tnb/src/operation/get_sol_function_package_descriptor/builders.rs +++ b/sdk/tnb/src/operation/get_sol_function_package_descriptor/builders.rs @@ -21,9 +21,9 @@ impl GetSolFunctionPackageDescriptorFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize(self) -> ::std::result::Result< + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware(self) -> ::std::result::Result< crate::client::customize::CustomizableOperation, ::aws_smithy_http::result::SdkError >{ @@ -66,6 +66,15 @@ impl GetSolFunctionPackageDescriptorFluentBuilder { { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize(self) -> ::std::result::Result< + crate::client::customize::CustomizableOperation, + ::aws_smithy_http::result::SdkError + >{ + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                ID of the function package.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                pub fn vnf_pkg_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.vnf_pkg_id(input.into()); diff --git a/sdk/tnb/src/operation/get_sol_network_instance/builders.rs b/sdk/tnb/src/operation/get_sol_network_instance/builders.rs index 83364b796d22..67dd917743e5 100644 --- a/sdk/tnb/src/operation/get_sol_network_instance/builders.rs +++ b/sdk/tnb/src/operation/get_sol_network_instance/builders.rs @@ -20,9 +20,9 @@ impl GetSolNetworkInstanceFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -84,6 +84,22 @@ impl GetSolNetworkInstanceFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::get_sol_network_instance::GetSolNetworkInstance, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::get_sol_network_instance::GetSolNetworkInstanceError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                ID of the network instance.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                pub fn ns_instance_id( mut self, diff --git a/sdk/tnb/src/operation/get_sol_network_operation/builders.rs b/sdk/tnb/src/operation/get_sol_network_operation/builders.rs index 18fa0d9aefca..7ce46d28a5ef 100644 --- a/sdk/tnb/src/operation/get_sol_network_operation/builders.rs +++ b/sdk/tnb/src/operation/get_sol_network_operation/builders.rs @@ -21,9 +21,9 @@ impl GetSolNetworkOperationFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -85,6 +85,22 @@ impl GetSolNetworkOperationFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::get_sol_network_operation::GetSolNetworkOperation, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::get_sol_network_operation::GetSolNetworkOperationError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                The identifier of the network operation.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                pub fn ns_lcm_op_occ_id( mut self, diff --git a/sdk/tnb/src/operation/get_sol_network_package/builders.rs b/sdk/tnb/src/operation/get_sol_network_package/builders.rs index ee2a6545a2f2..9be46079ed0d 100644 --- a/sdk/tnb/src/operation/get_sol_network_package/builders.rs +++ b/sdk/tnb/src/operation/get_sol_network_package/builders.rs @@ -20,9 +20,9 @@ impl GetSolNetworkPackageFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -84,6 +84,22 @@ impl GetSolNetworkPackageFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::get_sol_network_package::GetSolNetworkPackage, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::get_sol_network_package::GetSolNetworkPackageError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                ID of the network service descriptor in the network package.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                pub fn nsd_info_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.nsd_info_id(input.into()); diff --git a/sdk/tnb/src/operation/get_sol_network_package_content/builders.rs b/sdk/tnb/src/operation/get_sol_network_package_content/builders.rs index 43149882c1c0..c3a1489a6ea4 100644 --- a/sdk/tnb/src/operation/get_sol_network_package_content/builders.rs +++ b/sdk/tnb/src/operation/get_sol_network_package_content/builders.rs @@ -20,9 +20,9 @@ impl GetSolNetworkPackageContentFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -84,6 +84,22 @@ impl GetSolNetworkPackageContentFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::get_sol_network_package_content::GetSolNetworkPackageContent, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::get_sol_network_package_content::GetSolNetworkPackageContentError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                ID of the network service descriptor in the network package.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                pub fn nsd_info_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.nsd_info_id(input.into()); diff --git a/sdk/tnb/src/operation/get_sol_network_package_descriptor/builders.rs b/sdk/tnb/src/operation/get_sol_network_package_descriptor/builders.rs index d804775b6d1c..070687ecdc88 100644 --- a/sdk/tnb/src/operation/get_sol_network_package_descriptor/builders.rs +++ b/sdk/tnb/src/operation/get_sol_network_package_descriptor/builders.rs @@ -20,9 +20,9 @@ impl GetSolNetworkPackageDescriptorFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize(self) -> ::std::result::Result< + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware(self) -> ::std::result::Result< crate::client::customize::CustomizableOperation, ::aws_smithy_http::result::SdkError >{ @@ -65,6 +65,15 @@ impl GetSolNetworkPackageDescriptorFluentBuilder { { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize(self) -> ::std::result::Result< + crate::client::customize::CustomizableOperation, + ::aws_smithy_http::result::SdkError + >{ + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                ID of the network service descriptor in the network package.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                pub fn nsd_info_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.nsd_info_id(input.into()); diff --git a/sdk/tnb/src/operation/instantiate_sol_network_instance/builders.rs b/sdk/tnb/src/operation/instantiate_sol_network_instance/builders.rs index 8f26a66d5e75..e6b8e3f26293 100644 --- a/sdk/tnb/src/operation/instantiate_sol_network_instance/builders.rs +++ b/sdk/tnb/src/operation/instantiate_sol_network_instance/builders.rs @@ -21,9 +21,9 @@ impl InstantiateSolNetworkInstanceFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -85,6 +85,22 @@ impl InstantiateSolNetworkInstanceFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::instantiate_sol_network_instance::InstantiateSolNetworkInstance, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::instantiate_sol_network_instance::InstantiateSolNetworkInstanceError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                ID of the network instance.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                pub fn ns_instance_id( mut self, diff --git a/sdk/tnb/src/operation/list_sol_function_instances/builders.rs b/sdk/tnb/src/operation/list_sol_function_instances/builders.rs index 016717fdb317..cbb30d1d5e24 100644 --- a/sdk/tnb/src/operation/list_sol_function_instances/builders.rs +++ b/sdk/tnb/src/operation/list_sol_function_instances/builders.rs @@ -20,9 +20,9 @@ impl ListSolFunctionInstancesFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -84,6 +84,22 @@ impl ListSolFunctionInstancesFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_sol_function_instances::ListSolFunctionInstances, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::list_sol_function_instances::ListSolFunctionInstancesError, + >, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::list_sol_function_instances::paginator::ListSolFunctionInstancesPaginator::send) which returns a `Stream`. diff --git a/sdk/tnb/src/operation/list_sol_function_packages/builders.rs b/sdk/tnb/src/operation/list_sol_function_packages/builders.rs index c5f7587b4213..55703e60fc40 100644 --- a/sdk/tnb/src/operation/list_sol_function_packages/builders.rs +++ b/sdk/tnb/src/operation/list_sol_function_packages/builders.rs @@ -21,9 +21,9 @@ impl ListSolFunctionPackagesFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -85,6 +85,22 @@ impl ListSolFunctionPackagesFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_sol_function_packages::ListSolFunctionPackages, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::list_sol_function_packages::ListSolFunctionPackagesError, + >, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::list_sol_function_packages::paginator::ListSolFunctionPackagesPaginator::send) which returns a `Stream`. diff --git a/sdk/tnb/src/operation/list_sol_network_instances/builders.rs b/sdk/tnb/src/operation/list_sol_network_instances/builders.rs index 0589386ea144..e977b6ec6970 100644 --- a/sdk/tnb/src/operation/list_sol_network_instances/builders.rs +++ b/sdk/tnb/src/operation/list_sol_network_instances/builders.rs @@ -21,9 +21,9 @@ impl ListSolNetworkInstancesFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -85,6 +85,22 @@ impl ListSolNetworkInstancesFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_sol_network_instances::ListSolNetworkInstances, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::list_sol_network_instances::ListSolNetworkInstancesError, + >, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::list_sol_network_instances::paginator::ListSolNetworkInstancesPaginator::send) which returns a `Stream`. diff --git a/sdk/tnb/src/operation/list_sol_network_operations/builders.rs b/sdk/tnb/src/operation/list_sol_network_operations/builders.rs index fa8aa9f28738..f5c21f79f358 100644 --- a/sdk/tnb/src/operation/list_sol_network_operations/builders.rs +++ b/sdk/tnb/src/operation/list_sol_network_operations/builders.rs @@ -20,9 +20,9 @@ impl ListSolNetworkOperationsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -84,6 +84,22 @@ impl ListSolNetworkOperationsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_sol_network_operations::ListSolNetworkOperations, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::list_sol_network_operations::ListSolNetworkOperationsError, + >, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::list_sol_network_operations::paginator::ListSolNetworkOperationsPaginator::send) which returns a `Stream`. diff --git a/sdk/tnb/src/operation/list_sol_network_packages/builders.rs b/sdk/tnb/src/operation/list_sol_network_packages/builders.rs index 3948f0981357..b66ef0391843 100644 --- a/sdk/tnb/src/operation/list_sol_network_packages/builders.rs +++ b/sdk/tnb/src/operation/list_sol_network_packages/builders.rs @@ -21,9 +21,9 @@ impl ListSolNetworkPackagesFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -85,6 +85,22 @@ impl ListSolNetworkPackagesFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_sol_network_packages::ListSolNetworkPackages, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::list_sol_network_packages::ListSolNetworkPackagesError, + >, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::list_sol_network_packages::paginator::ListSolNetworkPackagesPaginator::send) which returns a `Stream`. diff --git a/sdk/tnb/src/operation/list_tags_for_resource/builders.rs b/sdk/tnb/src/operation/list_tags_for_resource/builders.rs index 8cc5a0794f2d..a0d46659df78 100644 --- a/sdk/tnb/src/operation/list_tags_for_resource/builders.rs +++ b/sdk/tnb/src/operation/list_tags_for_resource/builders.rs @@ -19,9 +19,9 @@ impl ListTagsForResourceFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl ListTagsForResourceFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_tags_for_resource::ListTagsForResource, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::list_tags_for_resource::ListTagsForResourceError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                Resource ARN.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                pub fn resource_arn(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.resource_arn(input.into()); diff --git a/sdk/tnb/src/operation/put_sol_function_package_content/builders.rs b/sdk/tnb/src/operation/put_sol_function_package_content/builders.rs index 778594dc5983..a571b520cc9b 100644 --- a/sdk/tnb/src/operation/put_sol_function_package_content/builders.rs +++ b/sdk/tnb/src/operation/put_sol_function_package_content/builders.rs @@ -20,9 +20,9 @@ impl PutSolFunctionPackageContentFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -84,6 +84,22 @@ impl PutSolFunctionPackageContentFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::put_sol_function_package_content::PutSolFunctionPackageContent, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::put_sol_function_package_content::PutSolFunctionPackageContentError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                Function package ID.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                pub fn vnf_pkg_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.vnf_pkg_id(input.into()); diff --git a/sdk/tnb/src/operation/put_sol_network_package_content/builders.rs b/sdk/tnb/src/operation/put_sol_network_package_content/builders.rs index 72d29d435412..a88786463136 100644 --- a/sdk/tnb/src/operation/put_sol_network_package_content/builders.rs +++ b/sdk/tnb/src/operation/put_sol_network_package_content/builders.rs @@ -20,9 +20,9 @@ impl PutSolNetworkPackageContentFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -84,6 +84,22 @@ impl PutSolNetworkPackageContentFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::put_sol_network_package_content::PutSolNetworkPackageContent, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::put_sol_network_package_content::PutSolNetworkPackageContentError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                Network service descriptor info ID.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                pub fn nsd_info_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.nsd_info_id(input.into()); diff --git a/sdk/tnb/src/operation/tag_resource/builders.rs b/sdk/tnb/src/operation/tag_resource/builders.rs index 2911e249d761..dbf560eb9177 100644 --- a/sdk/tnb/src/operation/tag_resource/builders.rs +++ b/sdk/tnb/src/operation/tag_resource/builders.rs @@ -20,9 +20,9 @@ impl TagResourceFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -78,6 +78,20 @@ impl TagResourceFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::tag_resource::TagResource, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                Resource ARN.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                pub fn resource_arn(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.resource_arn(input.into()); diff --git a/sdk/tnb/src/operation/terminate_sol_network_instance/builders.rs b/sdk/tnb/src/operation/terminate_sol_network_instance/builders.rs index 60a26b78b753..51a9a1bc4d3d 100644 --- a/sdk/tnb/src/operation/terminate_sol_network_instance/builders.rs +++ b/sdk/tnb/src/operation/terminate_sol_network_instance/builders.rs @@ -21,9 +21,9 @@ impl TerminateSolNetworkInstanceFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -85,6 +85,22 @@ impl TerminateSolNetworkInstanceFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::terminate_sol_network_instance::TerminateSolNetworkInstance, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::terminate_sol_network_instance::TerminateSolNetworkInstanceError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                ID of the network instance.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                pub fn ns_instance_id( mut self, diff --git a/sdk/tnb/src/operation/untag_resource/builders.rs b/sdk/tnb/src/operation/untag_resource/builders.rs index 08d1a5965ecc..6b689dae572b 100644 --- a/sdk/tnb/src/operation/untag_resource/builders.rs +++ b/sdk/tnb/src/operation/untag_resource/builders.rs @@ -20,9 +20,9 @@ impl UntagResourceFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -78,6 +78,20 @@ impl UntagResourceFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::untag_resource::UntagResource, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                Resource ARN.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                pub fn resource_arn(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.resource_arn(input.into()); diff --git a/sdk/tnb/src/operation/update_sol_function_package/builders.rs b/sdk/tnb/src/operation/update_sol_function_package/builders.rs index e1d06e516ca8..537c0d12e944 100644 --- a/sdk/tnb/src/operation/update_sol_function_package/builders.rs +++ b/sdk/tnb/src/operation/update_sol_function_package/builders.rs @@ -20,9 +20,9 @@ impl UpdateSolFunctionPackageFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -84,6 +84,22 @@ impl UpdateSolFunctionPackageFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::update_sol_function_package::UpdateSolFunctionPackage, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::update_sol_function_package::UpdateSolFunctionPackageError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                ID of the function package.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                pub fn vnf_pkg_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.vnf_pkg_id(input.into()); diff --git a/sdk/tnb/src/operation/update_sol_network_instance/builders.rs b/sdk/tnb/src/operation/update_sol_network_instance/builders.rs index 734858e76d7a..0be9015585bf 100644 --- a/sdk/tnb/src/operation/update_sol_network_instance/builders.rs +++ b/sdk/tnb/src/operation/update_sol_network_instance/builders.rs @@ -20,9 +20,9 @@ impl UpdateSolNetworkInstanceFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -84,6 +84,22 @@ impl UpdateSolNetworkInstanceFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::update_sol_network_instance::UpdateSolNetworkInstance, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::update_sol_network_instance::UpdateSolNetworkInstanceError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                ID of the network instance.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                pub fn ns_instance_id( mut self, diff --git a/sdk/tnb/src/operation/update_sol_network_package/builders.rs b/sdk/tnb/src/operation/update_sol_network_package/builders.rs index 8d2b7a6ae687..564331e17ea9 100644 --- a/sdk/tnb/src/operation/update_sol_network_package/builders.rs +++ b/sdk/tnb/src/operation/update_sol_network_package/builders.rs @@ -22,9 +22,9 @@ impl UpdateSolNetworkPackageFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -86,6 +86,22 @@ impl UpdateSolNetworkPackageFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::update_sol_network_package::UpdateSolNetworkPackage, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::update_sol_network_package::UpdateSolNetworkPackageError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                ID of the network service descriptor in the network package.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                pub fn nsd_info_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.nsd_info_id(input.into()); diff --git a/sdk/tnb/src/operation/validate_sol_function_package_content/builders.rs b/sdk/tnb/src/operation/validate_sol_function_package_content/builders.rs index 4e37b6ef4df9..e6272cda6d80 100644 --- a/sdk/tnb/src/operation/validate_sol_function_package_content/builders.rs +++ b/sdk/tnb/src/operation/validate_sol_function_package_content/builders.rs @@ -20,9 +20,9 @@ impl ValidateSolFunctionPackageContentFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize(self) -> ::std::result::Result< + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware(self) -> ::std::result::Result< crate::client::customize::CustomizableOperation, ::aws_smithy_http::result::SdkError >{ @@ -65,6 +65,15 @@ impl ValidateSolFunctionPackageContentFluentBuilder { { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize(self) -> ::std::result::Result< + crate::client::customize::CustomizableOperation, + ::aws_smithy_http::result::SdkError + >{ + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                Function package ID.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                pub fn vnf_pkg_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.vnf_pkg_id(input.into()); diff --git a/sdk/tnb/src/operation/validate_sol_network_package_content/builders.rs b/sdk/tnb/src/operation/validate_sol_network_package_content/builders.rs index 73bce021f12a..12d2bb28d229 100644 --- a/sdk/tnb/src/operation/validate_sol_network_package_content/builders.rs +++ b/sdk/tnb/src/operation/validate_sol_network_package_content/builders.rs @@ -20,9 +20,9 @@ impl ValidateSolNetworkPackageContentFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize(self) -> ::std::result::Result< + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware(self) -> ::std::result::Result< crate::client::customize::CustomizableOperation, ::aws_smithy_http::result::SdkError >{ @@ -65,6 +65,15 @@ impl ValidateSolNetworkPackageContentFluentBuilder { { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize(self) -> ::std::result::Result< + crate::client::customize::CustomizableOperation, + ::aws_smithy_http::result::SdkError + >{ + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                Network service descriptor file.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                pub fn nsd_info_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.nsd_info_id(input.into()); diff --git a/sdk/transcribe/src/operation/create_call_analytics_category/builders.rs b/sdk/transcribe/src/operation/create_call_analytics_category/builders.rs index a2c094eb2b2c..3344d090b861 100644 --- a/sdk/transcribe/src/operation/create_call_analytics_category/builders.rs +++ b/sdk/transcribe/src/operation/create_call_analytics_category/builders.rs @@ -24,9 +24,9 @@ impl CreateCallAnalyticsCategoryFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -88,6 +88,22 @@ impl CreateCallAnalyticsCategoryFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::create_call_analytics_category::CreateCallAnalyticsCategory, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::create_call_analytics_category::CreateCallAnalyticsCategoryError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                A unique name, chosen by you, for your Call Analytics category. It's helpful to use a detailed naming system that will make sense to you in the future. For example, it's better to use sentiment-positive-last30seconds for a category over a generic name like test-category.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                ///

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                Category names are case sensitive.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                pub fn category_name( diff --git a/sdk/transcribe/src/operation/create_language_model/builders.rs b/sdk/transcribe/src/operation/create_language_model/builders.rs index 8534fda2ad7b..1fdcaefc1c8a 100644 --- a/sdk/transcribe/src/operation/create_language_model/builders.rs +++ b/sdk/transcribe/src/operation/create_language_model/builders.rs @@ -26,9 +26,9 @@ impl CreateLanguageModelFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -90,6 +90,22 @@ impl CreateLanguageModelFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::create_language_model::CreateLanguageModel, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::create_language_model::CreateLanguageModelError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                The language code that represents the language of your model. Each custom language model must contain terms in only one language, and the language you select for your custom language model must match the language of your training and tuning data.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                ///

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                For a list of supported languages and their associated language codes, refer to the Supported languages table. Note that US English (en-US) is the only language supported with Amazon Transcribe Medical.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                ///

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                A custom language model can only be used to transcribe files in the same language as the model. For example, if you create a custom language model using US English (en-US), you can only apply this model to files that contain English audio.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                diff --git a/sdk/transcribe/src/operation/create_medical_vocabulary/builders.rs b/sdk/transcribe/src/operation/create_medical_vocabulary/builders.rs index 33aa08b5f2ba..c41519e34606 100644 --- a/sdk/transcribe/src/operation/create_medical_vocabulary/builders.rs +++ b/sdk/transcribe/src/operation/create_medical_vocabulary/builders.rs @@ -23,9 +23,9 @@ impl CreateMedicalVocabularyFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -87,6 +87,22 @@ impl CreateMedicalVocabularyFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::create_medical_vocabulary::CreateMedicalVocabulary, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::create_medical_vocabulary::CreateMedicalVocabularyError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                A unique name, chosen by you, for your new custom medical vocabulary.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                ///

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                This name is case sensitive, cannot contain spaces, and must be unique within an Amazon Web Services account. If you try to create a new custom medical vocabulary with the same name as an existing custom medical vocabulary, you get a ConflictException error.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                pub fn vocabulary_name( diff --git a/sdk/transcribe/src/operation/create_vocabulary/builders.rs b/sdk/transcribe/src/operation/create_vocabulary/builders.rs index a26eb5ff54ea..f7cb2075bd6e 100644 --- a/sdk/transcribe/src/operation/create_vocabulary/builders.rs +++ b/sdk/transcribe/src/operation/create_vocabulary/builders.rs @@ -22,9 +22,9 @@ impl CreateVocabularyFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -86,6 +86,22 @@ impl CreateVocabularyFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::create_vocabulary::CreateVocabulary, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::create_vocabulary::CreateVocabularyError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                A unique name, chosen by you, for your new custom vocabulary.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                ///

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                This name is case sensitive, cannot contain spaces, and must be unique within an Amazon Web Services account. If you try to create a new custom vocabulary with the same name as an existing custom vocabulary, you get a ConflictException error.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                pub fn vocabulary_name( diff --git a/sdk/transcribe/src/operation/create_vocabulary_filter/builders.rs b/sdk/transcribe/src/operation/create_vocabulary_filter/builders.rs index 978ed706cc93..017b8161bd62 100644 --- a/sdk/transcribe/src/operation/create_vocabulary_filter/builders.rs +++ b/sdk/transcribe/src/operation/create_vocabulary_filter/builders.rs @@ -22,9 +22,9 @@ impl CreateVocabularyFilterFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -86,6 +86,22 @@ impl CreateVocabularyFilterFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::create_vocabulary_filter::CreateVocabularyFilter, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::create_vocabulary_filter::CreateVocabularyFilterError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                A unique name, chosen by you, for your new custom vocabulary filter.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                ///

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                This name is case sensitive, cannot contain spaces, and must be unique within an Amazon Web Services account. If you try to create a new custom vocabulary filter with the same name as an existing custom vocabulary filter, you get a ConflictException error.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                pub fn vocabulary_filter_name( diff --git a/sdk/transcribe/src/operation/delete_call_analytics_category/builders.rs b/sdk/transcribe/src/operation/delete_call_analytics_category/builders.rs index e1fa1c87da1a..4ca71717f7d7 100644 --- a/sdk/transcribe/src/operation/delete_call_analytics_category/builders.rs +++ b/sdk/transcribe/src/operation/delete_call_analytics_category/builders.rs @@ -19,9 +19,9 @@ impl DeleteCallAnalyticsCategoryFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl DeleteCallAnalyticsCategoryFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::delete_call_analytics_category::DeleteCallAnalyticsCategory, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::delete_call_analytics_category::DeleteCallAnalyticsCategoryError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                The name of the Call Analytics category you want to delete. Category names are case sensitive.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                pub fn category_name( mut self, diff --git a/sdk/transcribe/src/operation/delete_call_analytics_job/builders.rs b/sdk/transcribe/src/operation/delete_call_analytics_job/builders.rs index bd1acc6c7bc1..c95e1114cdc4 100644 --- a/sdk/transcribe/src/operation/delete_call_analytics_job/builders.rs +++ b/sdk/transcribe/src/operation/delete_call_analytics_job/builders.rs @@ -20,9 +20,9 @@ impl DeleteCallAnalyticsJobFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -84,6 +84,22 @@ impl DeleteCallAnalyticsJobFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::delete_call_analytics_job::DeleteCallAnalyticsJob, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::delete_call_analytics_job::DeleteCallAnalyticsJobError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                The name of the Call Analytics job you want to delete. Job names are case sensitive.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                pub fn call_analytics_job_name( mut self, diff --git a/sdk/transcribe/src/operation/delete_language_model/builders.rs b/sdk/transcribe/src/operation/delete_language_model/builders.rs index 05a180fcd9d7..d3975b98c9e4 100644 --- a/sdk/transcribe/src/operation/delete_language_model/builders.rs +++ b/sdk/transcribe/src/operation/delete_language_model/builders.rs @@ -19,9 +19,9 @@ impl DeleteLanguageModelFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl DeleteLanguageModelFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::delete_language_model::DeleteLanguageModel, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::delete_language_model::DeleteLanguageModelError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                The name of the custom language model you want to delete. Model names are case sensitive.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                pub fn model_name(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.model_name(input.into()); diff --git a/sdk/transcribe/src/operation/delete_medical_transcription_job/builders.rs b/sdk/transcribe/src/operation/delete_medical_transcription_job/builders.rs index c994adb7ec8c..99a663bc5e05 100644 --- a/sdk/transcribe/src/operation/delete_medical_transcription_job/builders.rs +++ b/sdk/transcribe/src/operation/delete_medical_transcription_job/builders.rs @@ -19,9 +19,9 @@ impl DeleteMedicalTranscriptionJobFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl DeleteMedicalTranscriptionJobFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::delete_medical_transcription_job::DeleteMedicalTranscriptionJob, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::delete_medical_transcription_job::DeleteMedicalTranscriptionJobError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                The name of the medical transcription job you want to delete. Job names are case sensitive.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                pub fn medical_transcription_job_name( mut self, diff --git a/sdk/transcribe/src/operation/delete_medical_vocabulary/builders.rs b/sdk/transcribe/src/operation/delete_medical_vocabulary/builders.rs index 6d1f7b79bcfa..6fd0e5525216 100644 --- a/sdk/transcribe/src/operation/delete_medical_vocabulary/builders.rs +++ b/sdk/transcribe/src/operation/delete_medical_vocabulary/builders.rs @@ -20,9 +20,9 @@ impl DeleteMedicalVocabularyFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -84,6 +84,22 @@ impl DeleteMedicalVocabularyFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::delete_medical_vocabulary::DeleteMedicalVocabulary, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::delete_medical_vocabulary::DeleteMedicalVocabularyError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                The name of the custom medical vocabulary you want to delete. Custom medical vocabulary names are case sensitive.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                pub fn vocabulary_name( mut self, diff --git a/sdk/transcribe/src/operation/delete_transcription_job/builders.rs b/sdk/transcribe/src/operation/delete_transcription_job/builders.rs index 3ea0c85efe43..588f7ac871fb 100644 --- a/sdk/transcribe/src/operation/delete_transcription_job/builders.rs +++ b/sdk/transcribe/src/operation/delete_transcription_job/builders.rs @@ -19,9 +19,9 @@ impl DeleteTranscriptionJobFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl DeleteTranscriptionJobFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::delete_transcription_job::DeleteTranscriptionJob, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::delete_transcription_job::DeleteTranscriptionJobError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                The name of the transcription job you want to delete. Job names are case sensitive.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                pub fn transcription_job_name( mut self, diff --git a/sdk/transcribe/src/operation/delete_vocabulary/builders.rs b/sdk/transcribe/src/operation/delete_vocabulary/builders.rs index c3c197f76500..6b3a01cb18eb 100644 --- a/sdk/transcribe/src/operation/delete_vocabulary/builders.rs +++ b/sdk/transcribe/src/operation/delete_vocabulary/builders.rs @@ -19,9 +19,9 @@ impl DeleteVocabularyFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl DeleteVocabularyFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::delete_vocabulary::DeleteVocabulary, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::delete_vocabulary::DeleteVocabularyError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                The name of the custom vocabulary you want to delete. Custom vocabulary names are case sensitive.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                pub fn vocabulary_name( mut self, diff --git a/sdk/transcribe/src/operation/delete_vocabulary_filter/builders.rs b/sdk/transcribe/src/operation/delete_vocabulary_filter/builders.rs index 175e6acd5058..cf3969365f09 100644 --- a/sdk/transcribe/src/operation/delete_vocabulary_filter/builders.rs +++ b/sdk/transcribe/src/operation/delete_vocabulary_filter/builders.rs @@ -19,9 +19,9 @@ impl DeleteVocabularyFilterFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl DeleteVocabularyFilterFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::delete_vocabulary_filter::DeleteVocabularyFilter, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::delete_vocabulary_filter::DeleteVocabularyFilterError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                The name of the custom vocabulary filter you want to delete. Custom vocabulary filter names are case sensitive.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                pub fn vocabulary_filter_name( mut self, diff --git a/sdk/transcribe/src/operation/describe_language_model/builders.rs b/sdk/transcribe/src/operation/describe_language_model/builders.rs index 628f30a5c46b..f49953095d3a 100644 --- a/sdk/transcribe/src/operation/describe_language_model/builders.rs +++ b/sdk/transcribe/src/operation/describe_language_model/builders.rs @@ -21,9 +21,9 @@ impl DescribeLanguageModelFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -85,6 +85,22 @@ impl DescribeLanguageModelFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::describe_language_model::DescribeLanguageModel, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::describe_language_model::DescribeLanguageModelError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                The name of the custom language model you want information about. Model names are case sensitive.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                pub fn model_name(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.model_name(input.into()); diff --git a/sdk/transcribe/src/operation/get_call_analytics_category/builders.rs b/sdk/transcribe/src/operation/get_call_analytics_category/builders.rs index c0a046e386d1..5674623183f6 100644 --- a/sdk/transcribe/src/operation/get_call_analytics_category/builders.rs +++ b/sdk/transcribe/src/operation/get_call_analytics_category/builders.rs @@ -20,9 +20,9 @@ impl GetCallAnalyticsCategoryFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -84,6 +84,22 @@ impl GetCallAnalyticsCategoryFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::get_call_analytics_category::GetCallAnalyticsCategory, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::get_call_analytics_category::GetCallAnalyticsCategoryError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                The name of the Call Analytics category you want information about. Category names are case sensitive.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                pub fn category_name( mut self, diff --git a/sdk/transcribe/src/operation/get_call_analytics_job/builders.rs b/sdk/transcribe/src/operation/get_call_analytics_job/builders.rs index 783aa0facf63..19a52a4964fe 100644 --- a/sdk/transcribe/src/operation/get_call_analytics_job/builders.rs +++ b/sdk/transcribe/src/operation/get_call_analytics_job/builders.rs @@ -23,9 +23,9 @@ impl GetCallAnalyticsJobFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -87,6 +87,22 @@ impl GetCallAnalyticsJobFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::get_call_analytics_job::GetCallAnalyticsJob, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::get_call_analytics_job::GetCallAnalyticsJobError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                The name of the Call Analytics job you want information about. Job names are case sensitive.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                pub fn call_analytics_job_name( mut self, diff --git a/sdk/transcribe/src/operation/get_medical_transcription_job/builders.rs b/sdk/transcribe/src/operation/get_medical_transcription_job/builders.rs index 06978e8f097b..fd80424c9e7c 100644 --- a/sdk/transcribe/src/operation/get_medical_transcription_job/builders.rs +++ b/sdk/transcribe/src/operation/get_medical_transcription_job/builders.rs @@ -21,9 +21,9 @@ impl GetMedicalTranscriptionJobFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -85,6 +85,22 @@ impl GetMedicalTranscriptionJobFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::get_medical_transcription_job::GetMedicalTranscriptionJob, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::get_medical_transcription_job::GetMedicalTranscriptionJobError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                The name of the medical transcription job you want information about. Job names are case sensitive.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                pub fn medical_transcription_job_name( mut self, diff --git a/sdk/transcribe/src/operation/get_medical_vocabulary/builders.rs b/sdk/transcribe/src/operation/get_medical_vocabulary/builders.rs index b2e07e62901a..58fb1897f56b 100644 --- a/sdk/transcribe/src/operation/get_medical_vocabulary/builders.rs +++ b/sdk/transcribe/src/operation/get_medical_vocabulary/builders.rs @@ -21,9 +21,9 @@ impl GetMedicalVocabularyFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -85,6 +85,22 @@ impl GetMedicalVocabularyFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::get_medical_vocabulary::GetMedicalVocabulary, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::get_medical_vocabulary::GetMedicalVocabularyError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                The name of the custom medical vocabulary you want information about. Custom medical vocabulary names are case sensitive.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                pub fn vocabulary_name( mut self, diff --git a/sdk/transcribe/src/operation/get_transcription_job/builders.rs b/sdk/transcribe/src/operation/get_transcription_job/builders.rs index 7ad44b54dde4..0dfa41020d85 100644 --- a/sdk/transcribe/src/operation/get_transcription_job/builders.rs +++ b/sdk/transcribe/src/operation/get_transcription_job/builders.rs @@ -22,9 +22,9 @@ impl GetTranscriptionJobFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -86,6 +86,22 @@ impl GetTranscriptionJobFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::get_transcription_job::GetTranscriptionJob, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::get_transcription_job::GetTranscriptionJobError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                The name of the transcription job you want information about. Job names are case sensitive.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                pub fn transcription_job_name( mut self, diff --git a/sdk/transcribe/src/operation/get_vocabulary/builders.rs b/sdk/transcribe/src/operation/get_vocabulary/builders.rs index 81885f6c8e18..84dfce3dfb04 100644 --- a/sdk/transcribe/src/operation/get_vocabulary/builders.rs +++ b/sdk/transcribe/src/operation/get_vocabulary/builders.rs @@ -21,9 +21,9 @@ impl GetVocabularyFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -79,6 +79,20 @@ impl GetVocabularyFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::get_vocabulary::GetVocabulary, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                The name of the custom vocabulary you want information about. Custom vocabulary names are case sensitive.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                pub fn vocabulary_name( mut self, diff --git a/sdk/transcribe/src/operation/get_vocabulary_filter/builders.rs b/sdk/transcribe/src/operation/get_vocabulary_filter/builders.rs index 21fb3b8a742d..0bee5bfaa4a1 100644 --- a/sdk/transcribe/src/operation/get_vocabulary_filter/builders.rs +++ b/sdk/transcribe/src/operation/get_vocabulary_filter/builders.rs @@ -20,9 +20,9 @@ impl GetVocabularyFilterFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -84,6 +84,22 @@ impl GetVocabularyFilterFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::get_vocabulary_filter::GetVocabularyFilter, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::get_vocabulary_filter::GetVocabularyFilterError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                The name of the custom vocabulary filter you want information about. Custom vocabulary filter names are case sensitive.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                pub fn vocabulary_filter_name( mut self, diff --git a/sdk/transcribe/src/operation/list_call_analytics_categories/builders.rs b/sdk/transcribe/src/operation/list_call_analytics_categories/builders.rs index d84074430662..e42de05e12a5 100644 --- a/sdk/transcribe/src/operation/list_call_analytics_categories/builders.rs +++ b/sdk/transcribe/src/operation/list_call_analytics_categories/builders.rs @@ -20,9 +20,9 @@ impl ListCallAnalyticsCategoriesFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -84,6 +84,22 @@ impl ListCallAnalyticsCategoriesFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_call_analytics_categories::ListCallAnalyticsCategories, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::list_call_analytics_categories::ListCallAnalyticsCategoriesError, + >, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::list_call_analytics_categories::paginator::ListCallAnalyticsCategoriesPaginator::send) which returns a `Stream`. diff --git a/sdk/transcribe/src/operation/list_call_analytics_jobs/builders.rs b/sdk/transcribe/src/operation/list_call_analytics_jobs/builders.rs index f99316997fad..86f2c96d16bf 100644 --- a/sdk/transcribe/src/operation/list_call_analytics_jobs/builders.rs +++ b/sdk/transcribe/src/operation/list_call_analytics_jobs/builders.rs @@ -20,9 +20,9 @@ impl ListCallAnalyticsJobsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -84,6 +84,22 @@ impl ListCallAnalyticsJobsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_call_analytics_jobs::ListCallAnalyticsJobs, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::list_call_analytics_jobs::ListCallAnalyticsJobsError, + >, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::list_call_analytics_jobs::paginator::ListCallAnalyticsJobsPaginator::send) which returns a `Stream`. diff --git a/sdk/transcribe/src/operation/list_language_models/builders.rs b/sdk/transcribe/src/operation/list_language_models/builders.rs index 8750b9498e57..4dc03826c35d 100644 --- a/sdk/transcribe/src/operation/list_language_models/builders.rs +++ b/sdk/transcribe/src/operation/list_language_models/builders.rs @@ -20,9 +20,9 @@ impl ListLanguageModelsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -84,6 +84,22 @@ impl ListLanguageModelsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_language_models::ListLanguageModels, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::list_language_models::ListLanguageModelsError, + >, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::list_language_models::paginator::ListLanguageModelsPaginator::send) which returns a `Stream`. diff --git a/sdk/transcribe/src/operation/list_medical_transcription_jobs/builders.rs b/sdk/transcribe/src/operation/list_medical_transcription_jobs/builders.rs index 2fb69a472b03..d00b8981cd0b 100644 --- a/sdk/transcribe/src/operation/list_medical_transcription_jobs/builders.rs +++ b/sdk/transcribe/src/operation/list_medical_transcription_jobs/builders.rs @@ -20,9 +20,9 @@ impl ListMedicalTranscriptionJobsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -84,6 +84,22 @@ impl ListMedicalTranscriptionJobsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_medical_transcription_jobs::ListMedicalTranscriptionJobs, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::list_medical_transcription_jobs::ListMedicalTranscriptionJobsError, + >, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::list_medical_transcription_jobs::paginator::ListMedicalTranscriptionJobsPaginator::send) which returns a `Stream`. diff --git a/sdk/transcribe/src/operation/list_medical_vocabularies/builders.rs b/sdk/transcribe/src/operation/list_medical_vocabularies/builders.rs index fc4ee37558b4..c8e60edba1f6 100644 --- a/sdk/transcribe/src/operation/list_medical_vocabularies/builders.rs +++ b/sdk/transcribe/src/operation/list_medical_vocabularies/builders.rs @@ -21,9 +21,9 @@ impl ListMedicalVocabulariesFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -85,6 +85,22 @@ impl ListMedicalVocabulariesFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_medical_vocabularies::ListMedicalVocabularies, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::list_medical_vocabularies::ListMedicalVocabulariesError, + >, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::list_medical_vocabularies::paginator::ListMedicalVocabulariesPaginator::send) which returns a `Stream`. diff --git a/sdk/transcribe/src/operation/list_tags_for_resource/builders.rs b/sdk/transcribe/src/operation/list_tags_for_resource/builders.rs index 8c927e67942b..8c613446394d 100644 --- a/sdk/transcribe/src/operation/list_tags_for_resource/builders.rs +++ b/sdk/transcribe/src/operation/list_tags_for_resource/builders.rs @@ -20,9 +20,9 @@ impl ListTagsForResourceFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -84,6 +84,22 @@ impl ListTagsForResourceFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_tags_for_resource::ListTagsForResource, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::list_tags_for_resource::ListTagsForResourceError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                Returns a list of all tags associated with the specified Amazon Resource Name (ARN). ARNs have the format arn:partition:service:region:account-id:resource-type/resource-id.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                ///

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                For example, arn:aws:transcribe:us-west-2:111122223333:transcription-job/transcription-job-name.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                ///

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                Valid values for resource-type are: transcription-job, medical-transcription-job, vocabulary, medical-vocabulary, vocabulary-filter, and language-model.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                diff --git a/sdk/transcribe/src/operation/list_transcription_jobs/builders.rs b/sdk/transcribe/src/operation/list_transcription_jobs/builders.rs index e8212a0d1424..0d72bb5316bd 100644 --- a/sdk/transcribe/src/operation/list_transcription_jobs/builders.rs +++ b/sdk/transcribe/src/operation/list_transcription_jobs/builders.rs @@ -20,9 +20,9 @@ impl ListTranscriptionJobsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -84,6 +84,22 @@ impl ListTranscriptionJobsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_transcription_jobs::ListTranscriptionJobs, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::list_transcription_jobs::ListTranscriptionJobsError, + >, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::list_transcription_jobs::paginator::ListTranscriptionJobsPaginator::send) which returns a `Stream`. diff --git a/sdk/transcribe/src/operation/list_vocabularies/builders.rs b/sdk/transcribe/src/operation/list_vocabularies/builders.rs index 586ff491720f..204175bb5c61 100644 --- a/sdk/transcribe/src/operation/list_vocabularies/builders.rs +++ b/sdk/transcribe/src/operation/list_vocabularies/builders.rs @@ -20,9 +20,9 @@ impl ListVocabulariesFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -84,6 +84,22 @@ impl ListVocabulariesFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_vocabularies::ListVocabularies, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::list_vocabularies::ListVocabulariesError, + >, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::list_vocabularies::paginator::ListVocabulariesPaginator::send) which returns a `Stream`. diff --git a/sdk/transcribe/src/operation/list_vocabulary_filters/builders.rs b/sdk/transcribe/src/operation/list_vocabulary_filters/builders.rs index d322f5bf2e57..816adc2bdcf9 100644 --- a/sdk/transcribe/src/operation/list_vocabulary_filters/builders.rs +++ b/sdk/transcribe/src/operation/list_vocabulary_filters/builders.rs @@ -20,9 +20,9 @@ impl ListVocabularyFiltersFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -84,6 +84,22 @@ impl ListVocabularyFiltersFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_vocabulary_filters::ListVocabularyFilters, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::list_vocabulary_filters::ListVocabularyFiltersError, + >, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::list_vocabulary_filters::paginator::ListVocabularyFiltersPaginator::send) which returns a `Stream`. diff --git a/sdk/transcribe/src/operation/start_call_analytics_job/builders.rs b/sdk/transcribe/src/operation/start_call_analytics_job/builders.rs index fb90e2db2c23..bc7bcb0d60a4 100644 --- a/sdk/transcribe/src/operation/start_call_analytics_job/builders.rs +++ b/sdk/transcribe/src/operation/start_call_analytics_job/builders.rs @@ -32,9 +32,9 @@ impl StartCallAnalyticsJobFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -96,6 +96,22 @@ impl StartCallAnalyticsJobFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::start_call_analytics_job::StartCallAnalyticsJob, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::start_call_analytics_job::StartCallAnalyticsJobError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                A unique name, chosen by you, for your Call Analytics job.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                ///

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                This name is case sensitive, cannot contain spaces, and must be unique within an Amazon Web Services account. If you try to create a new job with the same name as an existing job, you get a ConflictException error.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                pub fn call_analytics_job_name( diff --git a/sdk/transcribe/src/operation/start_medical_transcription_job/builders.rs b/sdk/transcribe/src/operation/start_medical_transcription_job/builders.rs index b3f4a079e8eb..dd168b158421 100644 --- a/sdk/transcribe/src/operation/start_medical_transcription_job/builders.rs +++ b/sdk/transcribe/src/operation/start_medical_transcription_job/builders.rs @@ -31,9 +31,9 @@ impl StartMedicalTranscriptionJobFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -95,6 +95,22 @@ impl StartMedicalTranscriptionJobFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::start_medical_transcription_job::StartMedicalTranscriptionJob, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::start_medical_transcription_job::StartMedicalTranscriptionJobError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                A unique name, chosen by you, for your medical transcription job. The name that you specify is also used as the default name of your transcription output file. If you want to specify a different name for your transcription output, use the OutputKey parameter.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                ///

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                This name is case sensitive, cannot contain spaces, and must be unique within an Amazon Web Services account. If you try to create a new job with the same name as an existing job, you get a ConflictException error.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                pub fn medical_transcription_job_name( diff --git a/sdk/transcribe/src/operation/start_transcription_job/builders.rs b/sdk/transcribe/src/operation/start_transcription_job/builders.rs index 68ea0ce25eec..b8425cd9d608 100644 --- a/sdk/transcribe/src/operation/start_transcription_job/builders.rs +++ b/sdk/transcribe/src/operation/start_transcription_job/builders.rs @@ -27,9 +27,9 @@ impl StartTranscriptionJobFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -91,6 +91,22 @@ impl StartTranscriptionJobFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::start_transcription_job::StartTranscriptionJob, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::start_transcription_job::StartTranscriptionJobError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                A unique name, chosen by you, for your transcription job. The name that you specify is also used as the default name of your transcription output file. If you want to specify a different name for your transcription output, use the OutputKey parameter.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                ///

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                This name is case sensitive, cannot contain spaces, and must be unique within an Amazon Web Services account. If you try to create a new job with the same name as an existing job, you get a ConflictException error.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                pub fn transcription_job_name( diff --git a/sdk/transcribe/src/operation/tag_resource/builders.rs b/sdk/transcribe/src/operation/tag_resource/builders.rs index 2ea421f4abac..033c3752d29e 100644 --- a/sdk/transcribe/src/operation/tag_resource/builders.rs +++ b/sdk/transcribe/src/operation/tag_resource/builders.rs @@ -20,9 +20,9 @@ impl TagResourceFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -78,6 +78,20 @@ impl TagResourceFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::tag_resource::TagResource, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                The Amazon Resource Name (ARN) of the resource you want to tag. ARNs have the format arn:partition:service:region:account-id:resource-type/resource-id.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                ///

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                For example, arn:aws:transcribe:us-west-2:111122223333:transcription-job/transcription-job-name.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                ///

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                Valid values for resource-type are: transcription-job, medical-transcription-job, vocabulary, medical-vocabulary, vocabulary-filter, and language-model.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                diff --git a/sdk/transcribe/src/operation/untag_resource/builders.rs b/sdk/transcribe/src/operation/untag_resource/builders.rs index d51bccdbd81c..1f429df9c73d 100644 --- a/sdk/transcribe/src/operation/untag_resource/builders.rs +++ b/sdk/transcribe/src/operation/untag_resource/builders.rs @@ -20,9 +20,9 @@ impl UntagResourceFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -78,6 +78,20 @@ impl UntagResourceFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::untag_resource::UntagResource, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                The Amazon Resource Name (ARN) of the Amazon Transcribe resource you want to remove tags from. ARNs have the format arn:partition:service:region:account-id:resource-type/resource-id.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                ///

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                For example, arn:aws:transcribe:us-west-2:111122223333:transcription-job/transcription-job-name.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                ///

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                Valid values for resource-type are: transcription-job, medical-transcription-job, vocabulary, medical-vocabulary, vocabulary-filter, and language-model.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                diff --git a/sdk/transcribe/src/operation/update_call_analytics_category/builders.rs b/sdk/transcribe/src/operation/update_call_analytics_category/builders.rs index 77e151673f85..c6a56d47eee1 100644 --- a/sdk/transcribe/src/operation/update_call_analytics_category/builders.rs +++ b/sdk/transcribe/src/operation/update_call_analytics_category/builders.rs @@ -20,9 +20,9 @@ impl UpdateCallAnalyticsCategoryFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -84,6 +84,22 @@ impl UpdateCallAnalyticsCategoryFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::update_call_analytics_category::UpdateCallAnalyticsCategory, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::update_call_analytics_category::UpdateCallAnalyticsCategoryError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                The name of the Call Analytics category you want to update. Category names are case sensitive.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                pub fn category_name( mut self, diff --git a/sdk/transcribe/src/operation/update_medical_vocabulary/builders.rs b/sdk/transcribe/src/operation/update_medical_vocabulary/builders.rs index b6bbbb7813e6..97dd28f30688 100644 --- a/sdk/transcribe/src/operation/update_medical_vocabulary/builders.rs +++ b/sdk/transcribe/src/operation/update_medical_vocabulary/builders.rs @@ -20,9 +20,9 @@ impl UpdateMedicalVocabularyFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -84,6 +84,22 @@ impl UpdateMedicalVocabularyFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::update_medical_vocabulary::UpdateMedicalVocabulary, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::update_medical_vocabulary::UpdateMedicalVocabularyError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                The name of the custom medical vocabulary you want to update. Custom medical vocabulary names are case sensitive.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                pub fn vocabulary_name( mut self, diff --git a/sdk/transcribe/src/operation/update_vocabulary/builders.rs b/sdk/transcribe/src/operation/update_vocabulary/builders.rs index 7bea113e7a83..f784a2b55db6 100644 --- a/sdk/transcribe/src/operation/update_vocabulary/builders.rs +++ b/sdk/transcribe/src/operation/update_vocabulary/builders.rs @@ -19,9 +19,9 @@ impl UpdateVocabularyFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl UpdateVocabularyFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::update_vocabulary::UpdateVocabulary, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::update_vocabulary::UpdateVocabularyError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                The name of the custom vocabulary you want to update. Custom vocabulary names are case sensitive.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                pub fn vocabulary_name( mut self, diff --git a/sdk/transcribe/src/operation/update_vocabulary_filter/builders.rs b/sdk/transcribe/src/operation/update_vocabulary_filter/builders.rs index 0f0cf464ad01..1a266f796772 100644 --- a/sdk/transcribe/src/operation/update_vocabulary_filter/builders.rs +++ b/sdk/transcribe/src/operation/update_vocabulary_filter/builders.rs @@ -19,9 +19,9 @@ impl UpdateVocabularyFilterFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl UpdateVocabularyFilterFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::update_vocabulary_filter::UpdateVocabularyFilter, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::update_vocabulary_filter::UpdateVocabularyFilterError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                The name of the custom vocabulary filter you want to update. Custom vocabulary filter names are case sensitive.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                pub fn vocabulary_filter_name( mut self, diff --git a/sdk/transcribestreaming/src/operation/start_call_analytics_stream_transcription/builders.rs b/sdk/transcribestreaming/src/operation/start_call_analytics_stream_transcription/builders.rs index 6400df3bdaf1..917308361a3a 100644 --- a/sdk/transcribestreaming/src/operation/start_call_analytics_stream_transcription/builders.rs +++ b/sdk/transcribestreaming/src/operation/start_call_analytics_stream_transcription/builders.rs @@ -26,9 +26,9 @@ impl StartCallAnalyticsStreamTranscriptionFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize(self) -> ::std::result::Result< + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware(self) -> ::std::result::Result< crate::client::customize::CustomizableOperation, ::aws_smithy_http::result::SdkError >{ @@ -71,6 +71,15 @@ impl StartCallAnalyticsStreamTranscriptionFluentBuilder { { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize(self) -> ::std::result::Result< + crate::client::customize::CustomizableOperation, + ::aws_smithy_http::result::SdkError + >{ + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                Specify the language code that represents the language spoken in your audio.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                ///

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                If you're unsure of the language spoken in your audio, consider using IdentifyLanguage to enable automatic language identification.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                ///

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                For a list of languages supported with streaming Call Analytics, refer to the Supported languages table.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                diff --git a/sdk/transcribestreaming/src/operation/start_medical_stream_transcription/builders.rs b/sdk/transcribestreaming/src/operation/start_medical_stream_transcription/builders.rs index ca39140465f0..3346aa54bea1 100644 --- a/sdk/transcribestreaming/src/operation/start_medical_stream_transcription/builders.rs +++ b/sdk/transcribestreaming/src/operation/start_medical_stream_transcription/builders.rs @@ -26,9 +26,9 @@ impl StartMedicalStreamTranscriptionFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize(self) -> ::std::result::Result< + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware(self) -> ::std::result::Result< crate::client::customize::CustomizableOperation, ::aws_smithy_http::result::SdkError >{ @@ -71,6 +71,15 @@ impl StartMedicalStreamTranscriptionFluentBuilder { { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize(self) -> ::std::result::Result< + crate::client::customize::CustomizableOperation, + ::aws_smithy_http::result::SdkError + >{ + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                Specify the language code that represents the language spoken in your audio.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                ///

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                Amazon Transcribe Medical only supports US English (en-US).

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                ///
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                diff --git a/sdk/transcribestreaming/src/operation/start_stream_transcription/builders.rs b/sdk/transcribestreaming/src/operation/start_stream_transcription/builders.rs index cf8acfcb87d1..4efd06b0197a 100644 --- a/sdk/transcribestreaming/src/operation/start_stream_transcription/builders.rs +++ b/sdk/transcribestreaming/src/operation/start_stream_transcription/builders.rs @@ -26,9 +26,9 @@ impl StartStreamTranscriptionFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -90,6 +90,22 @@ impl StartStreamTranscriptionFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::start_stream_transcription::StartStreamTranscription, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::start_stream_transcription::StartStreamTranscriptionError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                Specify the language code that represents the language spoken in your audio.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                ///

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                If you're unsure of the language spoken in your audio, consider using IdentifyLanguage to enable automatic language identification.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                ///

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                For a list of languages supported with Amazon Transcribe streaming, refer to the Supported languages table.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                diff --git a/sdk/transfer/src/operation/create_access/builders.rs b/sdk/transfer/src/operation/create_access/builders.rs index 16f3c5e8b55d..1adf1cd79fc3 100644 --- a/sdk/transfer/src/operation/create_access/builders.rs +++ b/sdk/transfer/src/operation/create_access/builders.rs @@ -19,9 +19,9 @@ impl CreateAccessFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl CreateAccessFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::create_access::CreateAccess, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                The landing directory (folder) for a user when they log in to the server using the client.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                ///

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                A HomeDirectory example is /bucket_name/home/mydirectory.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                pub fn home_directory( diff --git a/sdk/transfer/src/operation/create_agreement/builders.rs b/sdk/transfer/src/operation/create_agreement/builders.rs index 286a942e73a2..afaf53caff65 100644 --- a/sdk/transfer/src/operation/create_agreement/builders.rs +++ b/sdk/transfer/src/operation/create_agreement/builders.rs @@ -20,9 +20,9 @@ impl CreateAgreementFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -84,6 +84,22 @@ impl CreateAgreementFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::create_agreement::CreateAgreement, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::create_agreement::CreateAgreementError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                A name or short description to identify the agreement.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                pub fn description(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.description(input.into()); diff --git a/sdk/transfer/src/operation/create_connector/builders.rs b/sdk/transfer/src/operation/create_connector/builders.rs index 7f71c00e2d05..c80e8973faf7 100644 --- a/sdk/transfer/src/operation/create_connector/builders.rs +++ b/sdk/transfer/src/operation/create_connector/builders.rs @@ -19,9 +19,9 @@ impl CreateConnectorFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl CreateConnectorFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::create_connector::CreateConnector, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::create_connector::CreateConnectorError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                The URL of the partner's AS2 endpoint.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                pub fn url(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.url(input.into()); diff --git a/sdk/transfer/src/operation/create_profile/builders.rs b/sdk/transfer/src/operation/create_profile/builders.rs index d81bf137ead1..d4a3882b1f93 100644 --- a/sdk/transfer/src/operation/create_profile/builders.rs +++ b/sdk/transfer/src/operation/create_profile/builders.rs @@ -19,9 +19,9 @@ impl CreateProfileFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl CreateProfileFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::create_profile::CreateProfile, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                The As2Id is the AS2-name, as defined in the RFC 4130. For inbound transfers, this is the AS2-From header for the AS2 messages sent from the partner. For outbound connectors, this is the AS2-To header for the AS2 messages sent to the partner using the StartFileTransfer API operation. This ID cannot include spaces.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                pub fn as2_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.as2_id(input.into()); diff --git a/sdk/transfer/src/operation/create_server/builders.rs b/sdk/transfer/src/operation/create_server/builders.rs index 9c581d513ac0..769180158fea 100644 --- a/sdk/transfer/src/operation/create_server/builders.rs +++ b/sdk/transfer/src/operation/create_server/builders.rs @@ -19,9 +19,9 @@ impl CreateServerFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl CreateServerFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::create_server::CreateServer, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                The Amazon Resource Name (ARN) of the Certificate Manager (ACM) certificate. Required when Protocols is set to FTPS.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                ///

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                To request a new public certificate, see Request a public certificate in the Certificate Manager User Guide.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                ///

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                To import an existing certificate into ACM, see Importing certificates into ACM in the Certificate Manager User Guide.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                diff --git a/sdk/transfer/src/operation/create_user/builders.rs b/sdk/transfer/src/operation/create_user/builders.rs index 39a11425ee73..90942456540c 100644 --- a/sdk/transfer/src/operation/create_user/builders.rs +++ b/sdk/transfer/src/operation/create_user/builders.rs @@ -19,9 +19,9 @@ impl CreateUserFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl CreateUserFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::create_user::CreateUser, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                The landing directory (folder) for a user when they log in to the server using the client.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                ///

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                A HomeDirectory example is /bucket_name/home/mydirectory.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                pub fn home_directory( diff --git a/sdk/transfer/src/operation/create_workflow/builders.rs b/sdk/transfer/src/operation/create_workflow/builders.rs index 372fabb257ba..d2f750094323 100644 --- a/sdk/transfer/src/operation/create_workflow/builders.rs +++ b/sdk/transfer/src/operation/create_workflow/builders.rs @@ -19,9 +19,9 @@ impl CreateWorkflowFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl CreateWorkflowFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::create_workflow::CreateWorkflow, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                A textual description for the workflow.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                pub fn description(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.description(input.into()); diff --git a/sdk/transfer/src/operation/delete_access/builders.rs b/sdk/transfer/src/operation/delete_access/builders.rs index cda425ea55b3..eb96daa1138a 100644 --- a/sdk/transfer/src/operation/delete_access/builders.rs +++ b/sdk/transfer/src/operation/delete_access/builders.rs @@ -19,9 +19,9 @@ impl DeleteAccessFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl DeleteAccessFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::delete_access::DeleteAccess, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                A system-assigned unique identifier for a server that has this user assigned.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                pub fn server_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.server_id(input.into()); diff --git a/sdk/transfer/src/operation/delete_agreement/builders.rs b/sdk/transfer/src/operation/delete_agreement/builders.rs index e0e087d737e0..6a59fef63d7f 100644 --- a/sdk/transfer/src/operation/delete_agreement/builders.rs +++ b/sdk/transfer/src/operation/delete_agreement/builders.rs @@ -19,9 +19,9 @@ impl DeleteAgreementFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl DeleteAgreementFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::delete_agreement::DeleteAgreement, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::delete_agreement::DeleteAgreementError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                A unique identifier for the agreement. This identifier is returned when you create an agreement.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                pub fn agreement_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.agreement_id(input.into()); diff --git a/sdk/transfer/src/operation/delete_certificate/builders.rs b/sdk/transfer/src/operation/delete_certificate/builders.rs index 538a58cc56bf..aaaa5a731b23 100644 --- a/sdk/transfer/src/operation/delete_certificate/builders.rs +++ b/sdk/transfer/src/operation/delete_certificate/builders.rs @@ -19,9 +19,9 @@ impl DeleteCertificateFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl DeleteCertificateFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::delete_certificate::DeleteCertificate, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::delete_certificate::DeleteCertificateError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                The identifier of the certificate object that you are deleting.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                pub fn certificate_id( mut self, diff --git a/sdk/transfer/src/operation/delete_connector/builders.rs b/sdk/transfer/src/operation/delete_connector/builders.rs index ce96525169f0..ff515a673be3 100644 --- a/sdk/transfer/src/operation/delete_connector/builders.rs +++ b/sdk/transfer/src/operation/delete_connector/builders.rs @@ -19,9 +19,9 @@ impl DeleteConnectorFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl DeleteConnectorFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::delete_connector::DeleteConnector, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::delete_connector::DeleteConnectorError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                The unique identifier for the connector.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                pub fn connector_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.connector_id(input.into()); diff --git a/sdk/transfer/src/operation/delete_host_key/builders.rs b/sdk/transfer/src/operation/delete_host_key/builders.rs index 6ab95a22f28e..613a2c390f20 100644 --- a/sdk/transfer/src/operation/delete_host_key/builders.rs +++ b/sdk/transfer/src/operation/delete_host_key/builders.rs @@ -19,9 +19,9 @@ impl DeleteHostKeyFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl DeleteHostKeyFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::delete_host_key::DeleteHostKey, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                The identifier of the server that contains the host key that you are deleting.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                pub fn server_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.server_id(input.into()); diff --git a/sdk/transfer/src/operation/delete_profile/builders.rs b/sdk/transfer/src/operation/delete_profile/builders.rs index 7c9224c9a0aa..1babb587c417 100644 --- a/sdk/transfer/src/operation/delete_profile/builders.rs +++ b/sdk/transfer/src/operation/delete_profile/builders.rs @@ -19,9 +19,9 @@ impl DeleteProfileFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl DeleteProfileFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::delete_profile::DeleteProfile, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                The identifier of the profile that you are deleting.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                pub fn profile_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.profile_id(input.into()); diff --git a/sdk/transfer/src/operation/delete_server/builders.rs b/sdk/transfer/src/operation/delete_server/builders.rs index 78953348f61e..ec4f295f05c8 100644 --- a/sdk/transfer/src/operation/delete_server/builders.rs +++ b/sdk/transfer/src/operation/delete_server/builders.rs @@ -20,9 +20,9 @@ impl DeleteServerFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -78,6 +78,20 @@ impl DeleteServerFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::delete_server::DeleteServer, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                A unique system-assigned identifier for a server instance.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                pub fn server_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.server_id(input.into()); diff --git a/sdk/transfer/src/operation/delete_ssh_public_key/builders.rs b/sdk/transfer/src/operation/delete_ssh_public_key/builders.rs index e0a14f2036b1..9f02cfd45c53 100644 --- a/sdk/transfer/src/operation/delete_ssh_public_key/builders.rs +++ b/sdk/transfer/src/operation/delete_ssh_public_key/builders.rs @@ -19,9 +19,9 @@ impl DeleteSshPublicKeyFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl DeleteSshPublicKeyFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::delete_ssh_public_key::DeleteSshPublicKey, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::delete_ssh_public_key::DeleteSshPublicKeyError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                A system-assigned unique identifier for a file transfer protocol-enabled server instance that has the user assigned to it.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                pub fn server_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.server_id(input.into()); diff --git a/sdk/transfer/src/operation/delete_user/builders.rs b/sdk/transfer/src/operation/delete_user/builders.rs index 81c68e54ea10..61f98a2d1a66 100644 --- a/sdk/transfer/src/operation/delete_user/builders.rs +++ b/sdk/transfer/src/operation/delete_user/builders.rs @@ -22,9 +22,9 @@ impl DeleteUserFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -80,6 +80,20 @@ impl DeleteUserFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::delete_user::DeleteUser, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                A system-assigned unique identifier for a server instance that has the user assigned to it.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                pub fn server_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.server_id(input.into()); diff --git a/sdk/transfer/src/operation/delete_workflow/builders.rs b/sdk/transfer/src/operation/delete_workflow/builders.rs index ccf9f3fa301b..6d9a34b439bc 100644 --- a/sdk/transfer/src/operation/delete_workflow/builders.rs +++ b/sdk/transfer/src/operation/delete_workflow/builders.rs @@ -19,9 +19,9 @@ impl DeleteWorkflowFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl DeleteWorkflowFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::delete_workflow::DeleteWorkflow, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                A unique identifier for the workflow.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                pub fn workflow_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.workflow_id(input.into()); diff --git a/sdk/transfer/src/operation/describe_access/builders.rs b/sdk/transfer/src/operation/describe_access/builders.rs index 113326bb4160..f1f3cb6d8b72 100644 --- a/sdk/transfer/src/operation/describe_access/builders.rs +++ b/sdk/transfer/src/operation/describe_access/builders.rs @@ -20,9 +20,9 @@ impl DescribeAccessFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -78,6 +78,20 @@ impl DescribeAccessFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::describe_access::DescribeAccess, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                A system-assigned unique identifier for a server that has this access assigned.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                pub fn server_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.server_id(input.into()); diff --git a/sdk/transfer/src/operation/describe_agreement/builders.rs b/sdk/transfer/src/operation/describe_agreement/builders.rs index 5bdd361583ab..e0ceca07b556 100644 --- a/sdk/transfer/src/operation/describe_agreement/builders.rs +++ b/sdk/transfer/src/operation/describe_agreement/builders.rs @@ -19,9 +19,9 @@ impl DescribeAgreementFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl DescribeAgreementFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::describe_agreement::DescribeAgreement, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::describe_agreement::DescribeAgreementError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                A unique identifier for the agreement. This identifier is returned when you create an agreement.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                pub fn agreement_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.agreement_id(input.into()); diff --git a/sdk/transfer/src/operation/describe_certificate/builders.rs b/sdk/transfer/src/operation/describe_certificate/builders.rs index 316ba75fbc41..0ca11689be02 100644 --- a/sdk/transfer/src/operation/describe_certificate/builders.rs +++ b/sdk/transfer/src/operation/describe_certificate/builders.rs @@ -19,9 +19,9 @@ impl DescribeCertificateFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl DescribeCertificateFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::describe_certificate::DescribeCertificate, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::describe_certificate::DescribeCertificateError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                An array of identifiers for the imported certificates. You use this identifier for working with profiles and partner profiles.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                pub fn certificate_id( mut self, diff --git a/sdk/transfer/src/operation/describe_connector/builders.rs b/sdk/transfer/src/operation/describe_connector/builders.rs index 994c8d279dcf..a7157a7e5921 100644 --- a/sdk/transfer/src/operation/describe_connector/builders.rs +++ b/sdk/transfer/src/operation/describe_connector/builders.rs @@ -19,9 +19,9 @@ impl DescribeConnectorFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl DescribeConnectorFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::describe_connector::DescribeConnector, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::describe_connector::DescribeConnectorError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                The unique identifier for the connector.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                pub fn connector_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.connector_id(input.into()); diff --git a/sdk/transfer/src/operation/describe_execution/builders.rs b/sdk/transfer/src/operation/describe_execution/builders.rs index f3f4e13e9bd1..887bee2321f7 100644 --- a/sdk/transfer/src/operation/describe_execution/builders.rs +++ b/sdk/transfer/src/operation/describe_execution/builders.rs @@ -22,9 +22,9 @@ impl DescribeExecutionFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -86,6 +86,22 @@ impl DescribeExecutionFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::describe_execution::DescribeExecution, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::describe_execution::DescribeExecutionError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                A unique identifier for the execution of a workflow.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                pub fn execution_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.execution_id(input.into()); diff --git a/sdk/transfer/src/operation/describe_host_key/builders.rs b/sdk/transfer/src/operation/describe_host_key/builders.rs index f6d19e51fb74..1174e8e07f07 100644 --- a/sdk/transfer/src/operation/describe_host_key/builders.rs +++ b/sdk/transfer/src/operation/describe_host_key/builders.rs @@ -19,9 +19,9 @@ impl DescribeHostKeyFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl DescribeHostKeyFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::describe_host_key::DescribeHostKey, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::describe_host_key::DescribeHostKeyError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                The identifier of the server that contains the host key that you want described.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                pub fn server_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.server_id(input.into()); diff --git a/sdk/transfer/src/operation/describe_profile/builders.rs b/sdk/transfer/src/operation/describe_profile/builders.rs index dc1c2ee7eda1..c42d14448ee5 100644 --- a/sdk/transfer/src/operation/describe_profile/builders.rs +++ b/sdk/transfer/src/operation/describe_profile/builders.rs @@ -19,9 +19,9 @@ impl DescribeProfileFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl DescribeProfileFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::describe_profile::DescribeProfile, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::describe_profile::DescribeProfileError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                The identifier of the profile that you want described.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                pub fn profile_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.profile_id(input.into()); diff --git a/sdk/transfer/src/operation/describe_security_policy/builders.rs b/sdk/transfer/src/operation/describe_security_policy/builders.rs index d11dc973fa7e..dc50f0581bdb 100644 --- a/sdk/transfer/src/operation/describe_security_policy/builders.rs +++ b/sdk/transfer/src/operation/describe_security_policy/builders.rs @@ -19,9 +19,9 @@ impl DescribeSecurityPolicyFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl DescribeSecurityPolicyFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::describe_security_policy::DescribeSecurityPolicy, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::describe_security_policy::DescribeSecurityPolicyError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                Specifies the name of the security policy that is attached to the server.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                pub fn security_policy_name( mut self, diff --git a/sdk/transfer/src/operation/describe_server/builders.rs b/sdk/transfer/src/operation/describe_server/builders.rs index a4e33ce50ee8..950382dd57be 100644 --- a/sdk/transfer/src/operation/describe_server/builders.rs +++ b/sdk/transfer/src/operation/describe_server/builders.rs @@ -20,9 +20,9 @@ impl DescribeServerFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -78,6 +78,20 @@ impl DescribeServerFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::describe_server::DescribeServer, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                A system-assigned unique identifier for a server.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                pub fn server_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.server_id(input.into()); diff --git a/sdk/transfer/src/operation/describe_user/builders.rs b/sdk/transfer/src/operation/describe_user/builders.rs index c3f59a843786..d1d5f01b72ef 100644 --- a/sdk/transfer/src/operation/describe_user/builders.rs +++ b/sdk/transfer/src/operation/describe_user/builders.rs @@ -20,9 +20,9 @@ impl DescribeUserFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -78,6 +78,20 @@ impl DescribeUserFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::describe_user::DescribeUser, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                A system-assigned unique identifier for a server that has this user assigned.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                pub fn server_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.server_id(input.into()); diff --git a/sdk/transfer/src/operation/describe_workflow/builders.rs b/sdk/transfer/src/operation/describe_workflow/builders.rs index b202d4031ea6..72d2d7a7d505 100644 --- a/sdk/transfer/src/operation/describe_workflow/builders.rs +++ b/sdk/transfer/src/operation/describe_workflow/builders.rs @@ -19,9 +19,9 @@ impl DescribeWorkflowFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl DescribeWorkflowFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::describe_workflow::DescribeWorkflow, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::describe_workflow::DescribeWorkflowError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                A unique identifier for the workflow.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                pub fn workflow_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.workflow_id(input.into()); diff --git a/sdk/transfer/src/operation/import_certificate/builders.rs b/sdk/transfer/src/operation/import_certificate/builders.rs index b72c5966afa4..3ef2eddd9f41 100644 --- a/sdk/transfer/src/operation/import_certificate/builders.rs +++ b/sdk/transfer/src/operation/import_certificate/builders.rs @@ -19,9 +19,9 @@ impl ImportCertificateFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl ImportCertificateFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::import_certificate::ImportCertificate, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::import_certificate::ImportCertificateError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                Specifies whether this certificate is used for signing or encryption.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                pub fn usage(mut self, input: crate::types::CertificateUsageType) -> Self { self.inner = self.inner.usage(input); diff --git a/sdk/transfer/src/operation/import_host_key/builders.rs b/sdk/transfer/src/operation/import_host_key/builders.rs index 453117781213..34d8c5f14c29 100644 --- a/sdk/transfer/src/operation/import_host_key/builders.rs +++ b/sdk/transfer/src/operation/import_host_key/builders.rs @@ -19,9 +19,9 @@ impl ImportHostKeyFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl ImportHostKeyFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::import_host_key::ImportHostKey, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                The identifier of the server that contains the host key that you are importing.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                pub fn server_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.server_id(input.into()); diff --git a/sdk/transfer/src/operation/import_ssh_public_key/builders.rs b/sdk/transfer/src/operation/import_ssh_public_key/builders.rs index e1ab1a6368c8..aa7fffacbed1 100644 --- a/sdk/transfer/src/operation/import_ssh_public_key/builders.rs +++ b/sdk/transfer/src/operation/import_ssh_public_key/builders.rs @@ -20,9 +20,9 @@ impl ImportSshPublicKeyFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -84,6 +84,22 @@ impl ImportSshPublicKeyFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::import_ssh_public_key::ImportSshPublicKey, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::import_ssh_public_key::ImportSshPublicKeyError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                A system-assigned unique identifier for a server.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                pub fn server_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.server_id(input.into()); diff --git a/sdk/transfer/src/operation/list_accesses/builders.rs b/sdk/transfer/src/operation/list_accesses/builders.rs index e70910cc7071..d03f0f47abbf 100644 --- a/sdk/transfer/src/operation/list_accesses/builders.rs +++ b/sdk/transfer/src/operation/list_accesses/builders.rs @@ -19,9 +19,9 @@ impl ListAccessesFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl ListAccessesFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_accesses::ListAccesses, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::list_accesses::paginator::ListAccessesPaginator::send) which returns a `Stream`. diff --git a/sdk/transfer/src/operation/list_agreements/builders.rs b/sdk/transfer/src/operation/list_agreements/builders.rs index bb5eb1ff19a5..f79241110d3d 100644 --- a/sdk/transfer/src/operation/list_agreements/builders.rs +++ b/sdk/transfer/src/operation/list_agreements/builders.rs @@ -19,9 +19,9 @@ impl ListAgreementsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl ListAgreementsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_agreements::ListAgreements, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::list_agreements::paginator::ListAgreementsPaginator::send) which returns a `Stream`. diff --git a/sdk/transfer/src/operation/list_certificates/builders.rs b/sdk/transfer/src/operation/list_certificates/builders.rs index 43071c1ef6b0..1736bf55ede5 100644 --- a/sdk/transfer/src/operation/list_certificates/builders.rs +++ b/sdk/transfer/src/operation/list_certificates/builders.rs @@ -19,9 +19,9 @@ impl ListCertificatesFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl ListCertificatesFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_certificates::ListCertificates, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::list_certificates::ListCertificatesError, + >, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::list_certificates::paginator::ListCertificatesPaginator::send) which returns a `Stream`. diff --git a/sdk/transfer/src/operation/list_connectors/builders.rs b/sdk/transfer/src/operation/list_connectors/builders.rs index f01bb2cdf0d1..74a9773f8fa0 100644 --- a/sdk/transfer/src/operation/list_connectors/builders.rs +++ b/sdk/transfer/src/operation/list_connectors/builders.rs @@ -19,9 +19,9 @@ impl ListConnectorsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl ListConnectorsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_connectors::ListConnectors, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::list_connectors::paginator::ListConnectorsPaginator::send) which returns a `Stream`. diff --git a/sdk/transfer/src/operation/list_executions/builders.rs b/sdk/transfer/src/operation/list_executions/builders.rs index 2f8416829dba..84883e53dd2a 100644 --- a/sdk/transfer/src/operation/list_executions/builders.rs +++ b/sdk/transfer/src/operation/list_executions/builders.rs @@ -21,9 +21,9 @@ impl ListExecutionsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -79,6 +79,20 @@ impl ListExecutionsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_executions::ListExecutions, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::list_executions::paginator::ListExecutionsPaginator::send) which returns a `Stream`. diff --git a/sdk/transfer/src/operation/list_host_keys/builders.rs b/sdk/transfer/src/operation/list_host_keys/builders.rs index 7fe4c4c912e5..e02edf5b4b64 100644 --- a/sdk/transfer/src/operation/list_host_keys/builders.rs +++ b/sdk/transfer/src/operation/list_host_keys/builders.rs @@ -19,9 +19,9 @@ impl ListHostKeysFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl ListHostKeysFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_host_keys::ListHostKeys, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                The maximum number of host keys to return.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                pub fn max_results(mut self, input: i32) -> Self { self.inner = self.inner.max_results(input); diff --git a/sdk/transfer/src/operation/list_profiles/builders.rs b/sdk/transfer/src/operation/list_profiles/builders.rs index 49d84db202dd..0de092d68d5d 100644 --- a/sdk/transfer/src/operation/list_profiles/builders.rs +++ b/sdk/transfer/src/operation/list_profiles/builders.rs @@ -19,9 +19,9 @@ impl ListProfilesFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl ListProfilesFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_profiles::ListProfiles, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::list_profiles::paginator::ListProfilesPaginator::send) which returns a `Stream`. diff --git a/sdk/transfer/src/operation/list_security_policies/builders.rs b/sdk/transfer/src/operation/list_security_policies/builders.rs index 66f065f8e398..3dc28ee0170a 100644 --- a/sdk/transfer/src/operation/list_security_policies/builders.rs +++ b/sdk/transfer/src/operation/list_security_policies/builders.rs @@ -19,9 +19,9 @@ impl ListSecurityPoliciesFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl ListSecurityPoliciesFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_security_policies::ListSecurityPolicies, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::list_security_policies::ListSecurityPoliciesError, + >, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::list_security_policies::paginator::ListSecurityPoliciesPaginator::send) which returns a `Stream`. diff --git a/sdk/transfer/src/operation/list_servers/builders.rs b/sdk/transfer/src/operation/list_servers/builders.rs index aa2c3681e633..0c851c70bc60 100644 --- a/sdk/transfer/src/operation/list_servers/builders.rs +++ b/sdk/transfer/src/operation/list_servers/builders.rs @@ -19,9 +19,9 @@ impl ListServersFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl ListServersFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_servers::ListServers, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::list_servers::paginator::ListServersPaginator::send) which returns a `Stream`. diff --git a/sdk/transfer/src/operation/list_tags_for_resource/builders.rs b/sdk/transfer/src/operation/list_tags_for_resource/builders.rs index 8b6f575c48bd..34f7967fd94e 100644 --- a/sdk/transfer/src/operation/list_tags_for_resource/builders.rs +++ b/sdk/transfer/src/operation/list_tags_for_resource/builders.rs @@ -19,9 +19,9 @@ impl ListTagsForResourceFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl ListTagsForResourceFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_tags_for_resource::ListTagsForResource, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::list_tags_for_resource::ListTagsForResourceError, + >, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::list_tags_for_resource::paginator::ListTagsForResourcePaginator::send) which returns a `Stream`. diff --git a/sdk/transfer/src/operation/list_users/builders.rs b/sdk/transfer/src/operation/list_users/builders.rs index 34a5a3da638e..e9897f656f4a 100644 --- a/sdk/transfer/src/operation/list_users/builders.rs +++ b/sdk/transfer/src/operation/list_users/builders.rs @@ -19,9 +19,9 @@ impl ListUsersFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl ListUsersFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_users::ListUsers, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::list_users::paginator::ListUsersPaginator::send) which returns a `Stream`. diff --git a/sdk/transfer/src/operation/list_workflows/builders.rs b/sdk/transfer/src/operation/list_workflows/builders.rs index 504bab2de26e..234a26ca1ff6 100644 --- a/sdk/transfer/src/operation/list_workflows/builders.rs +++ b/sdk/transfer/src/operation/list_workflows/builders.rs @@ -19,9 +19,9 @@ impl ListWorkflowsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl ListWorkflowsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_workflows::ListWorkflows, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::list_workflows::paginator::ListWorkflowsPaginator::send) which returns a `Stream`. diff --git a/sdk/transfer/src/operation/send_workflow_step_state/builders.rs b/sdk/transfer/src/operation/send_workflow_step_state/builders.rs index 1bc373eff86e..07fa33a14cf4 100644 --- a/sdk/transfer/src/operation/send_workflow_step_state/builders.rs +++ b/sdk/transfer/src/operation/send_workflow_step_state/builders.rs @@ -20,9 +20,9 @@ impl SendWorkflowStepStateFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -84,6 +84,22 @@ impl SendWorkflowStepStateFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::send_workflow_step_state::SendWorkflowStepState, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::send_workflow_step_state::SendWorkflowStepStateError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                A unique identifier for the workflow.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                pub fn workflow_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.workflow_id(input.into()); diff --git a/sdk/transfer/src/operation/start_file_transfer/builders.rs b/sdk/transfer/src/operation/start_file_transfer/builders.rs index 237b6683c129..b59a191fab62 100644 --- a/sdk/transfer/src/operation/start_file_transfer/builders.rs +++ b/sdk/transfer/src/operation/start_file_transfer/builders.rs @@ -19,9 +19,9 @@ impl StartFileTransferFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl StartFileTransferFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::start_file_transfer::StartFileTransfer, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::start_file_transfer::StartFileTransferError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                The unique identifier for the connector.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                pub fn connector_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.connector_id(input.into()); diff --git a/sdk/transfer/src/operation/start_server/builders.rs b/sdk/transfer/src/operation/start_server/builders.rs index 0beea86092b8..fb03468a5f99 100644 --- a/sdk/transfer/src/operation/start_server/builders.rs +++ b/sdk/transfer/src/operation/start_server/builders.rs @@ -21,9 +21,9 @@ impl StartServerFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -79,6 +79,20 @@ impl StartServerFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::start_server::StartServer, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                A system-assigned unique identifier for a server that you start.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                pub fn server_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.server_id(input.into()); diff --git a/sdk/transfer/src/operation/stop_server/builders.rs b/sdk/transfer/src/operation/stop_server/builders.rs index a51651402259..f1f715641036 100644 --- a/sdk/transfer/src/operation/stop_server/builders.rs +++ b/sdk/transfer/src/operation/stop_server/builders.rs @@ -23,9 +23,9 @@ impl StopServerFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -81,6 +81,20 @@ impl StopServerFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::stop_server::StopServer, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                A system-assigned unique identifier for a server that you stopped.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                pub fn server_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.server_id(input.into()); diff --git a/sdk/transfer/src/operation/tag_resource/builders.rs b/sdk/transfer/src/operation/tag_resource/builders.rs index 0f181fc27188..61f53c0ad4e6 100644 --- a/sdk/transfer/src/operation/tag_resource/builders.rs +++ b/sdk/transfer/src/operation/tag_resource/builders.rs @@ -20,9 +20,9 @@ impl TagResourceFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -78,6 +78,20 @@ impl TagResourceFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::tag_resource::TagResource, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                An Amazon Resource Name (ARN) for a specific Amazon Web Services resource, such as a server, user, or role.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                pub fn arn(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.arn(input.into()); diff --git a/sdk/transfer/src/operation/test_identity_provider/builders.rs b/sdk/transfer/src/operation/test_identity_provider/builders.rs index d83f2e3b3e3a..233e466c0a59 100644 --- a/sdk/transfer/src/operation/test_identity_provider/builders.rs +++ b/sdk/transfer/src/operation/test_identity_provider/builders.rs @@ -29,9 +29,9 @@ impl TestIdentityProviderFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -93,6 +93,22 @@ impl TestIdentityProviderFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::test_identity_provider::TestIdentityProvider, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::test_identity_provider::TestIdentityProviderError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                A system-assigned identifier for a specific server. That server's user authentication method is tested with a user name and password.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                pub fn server_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.server_id(input.into()); diff --git a/sdk/transfer/src/operation/untag_resource/builders.rs b/sdk/transfer/src/operation/untag_resource/builders.rs index 4de8d054bf56..33df8a5ac6c5 100644 --- a/sdk/transfer/src/operation/untag_resource/builders.rs +++ b/sdk/transfer/src/operation/untag_resource/builders.rs @@ -20,9 +20,9 @@ impl UntagResourceFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -78,6 +78,20 @@ impl UntagResourceFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::untag_resource::UntagResource, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                The value of the resource that will have the tag removed. An Amazon Resource Name (ARN) is an identifier for a specific Amazon Web Services resource, such as a server, user, or role.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                pub fn arn(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.arn(input.into()); diff --git a/sdk/transfer/src/operation/update_access/builders.rs b/sdk/transfer/src/operation/update_access/builders.rs index 9f9893794a61..1caecc40794b 100644 --- a/sdk/transfer/src/operation/update_access/builders.rs +++ b/sdk/transfer/src/operation/update_access/builders.rs @@ -19,9 +19,9 @@ impl UpdateAccessFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl UpdateAccessFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::update_access::UpdateAccess, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                The landing directory (folder) for a user when they log in to the server using the client.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                ///

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                A HomeDirectory example is /bucket_name/home/mydirectory.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                pub fn home_directory( diff --git a/sdk/transfer/src/operation/update_agreement/builders.rs b/sdk/transfer/src/operation/update_agreement/builders.rs index dbfa7e1b38f5..d980a5da1c0a 100644 --- a/sdk/transfer/src/operation/update_agreement/builders.rs +++ b/sdk/transfer/src/operation/update_agreement/builders.rs @@ -19,9 +19,9 @@ impl UpdateAgreementFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl UpdateAgreementFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::update_agreement::UpdateAgreement, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::update_agreement::UpdateAgreementError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                A unique identifier for the agreement. This identifier is returned when you create an agreement.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                pub fn agreement_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.agreement_id(input.into()); diff --git a/sdk/transfer/src/operation/update_certificate/builders.rs b/sdk/transfer/src/operation/update_certificate/builders.rs index 9bc94b819df1..956fa45f9744 100644 --- a/sdk/transfer/src/operation/update_certificate/builders.rs +++ b/sdk/transfer/src/operation/update_certificate/builders.rs @@ -19,9 +19,9 @@ impl UpdateCertificateFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl UpdateCertificateFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::update_certificate::UpdateCertificate, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::update_certificate::UpdateCertificateError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                The identifier of the certificate object that you are updating.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                pub fn certificate_id( mut self, diff --git a/sdk/transfer/src/operation/update_connector/builders.rs b/sdk/transfer/src/operation/update_connector/builders.rs index f831cd2fcca8..50ce701b4032 100644 --- a/sdk/transfer/src/operation/update_connector/builders.rs +++ b/sdk/transfer/src/operation/update_connector/builders.rs @@ -19,9 +19,9 @@ impl UpdateConnectorFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl UpdateConnectorFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::update_connector::UpdateConnector, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::update_connector::UpdateConnectorError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                The unique identifier for the connector.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                pub fn connector_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.connector_id(input.into()); diff --git a/sdk/transfer/src/operation/update_host_key/builders.rs b/sdk/transfer/src/operation/update_host_key/builders.rs index 17d3c9e45f75..b856cb406bd8 100644 --- a/sdk/transfer/src/operation/update_host_key/builders.rs +++ b/sdk/transfer/src/operation/update_host_key/builders.rs @@ -19,9 +19,9 @@ impl UpdateHostKeyFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl UpdateHostKeyFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::update_host_key::UpdateHostKey, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                The identifier of the server that contains the host key that you are updating.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                pub fn server_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.server_id(input.into()); diff --git a/sdk/transfer/src/operation/update_profile/builders.rs b/sdk/transfer/src/operation/update_profile/builders.rs index 716a57c18b32..ba77c8ca9670 100644 --- a/sdk/transfer/src/operation/update_profile/builders.rs +++ b/sdk/transfer/src/operation/update_profile/builders.rs @@ -19,9 +19,9 @@ impl UpdateProfileFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl UpdateProfileFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::update_profile::UpdateProfile, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                The identifier of the profile object that you are updating.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                pub fn profile_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.profile_id(input.into()); diff --git a/sdk/transfer/src/operation/update_server/builders.rs b/sdk/transfer/src/operation/update_server/builders.rs index eeb27db148df..d97fe51898d2 100644 --- a/sdk/transfer/src/operation/update_server/builders.rs +++ b/sdk/transfer/src/operation/update_server/builders.rs @@ -20,9 +20,9 @@ impl UpdateServerFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -78,6 +78,20 @@ impl UpdateServerFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::update_server::UpdateServer, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                The Amazon Resource Name (ARN) of the Amazon Web ServicesCertificate Manager (ACM) certificate. Required when Protocols is set to FTPS.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                ///

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                To request a new public certificate, see Request a public certificate in the Amazon Web ServicesCertificate Manager User Guide.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                ///

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                To import an existing certificate into ACM, see Importing certificates into ACM in the Amazon Web ServicesCertificate Manager User Guide.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                diff --git a/sdk/transfer/src/operation/update_user/builders.rs b/sdk/transfer/src/operation/update_user/builders.rs index e5ca1dd5e5f7..a475cf8deeae 100644 --- a/sdk/transfer/src/operation/update_user/builders.rs +++ b/sdk/transfer/src/operation/update_user/builders.rs @@ -20,9 +20,9 @@ impl UpdateUserFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -78,6 +78,20 @@ impl UpdateUserFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::update_user::UpdateUser, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                The landing directory (folder) for a user when they log in to the server using the client.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                ///

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                A HomeDirectory example is /bucket_name/home/mydirectory.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                pub fn home_directory( diff --git a/sdk/translate/src/operation/create_parallel_data/builders.rs b/sdk/translate/src/operation/create_parallel_data/builders.rs index d98f46447575..cb36826f320c 100644 --- a/sdk/translate/src/operation/create_parallel_data/builders.rs +++ b/sdk/translate/src/operation/create_parallel_data/builders.rs @@ -19,9 +19,9 @@ impl CreateParallelDataFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl CreateParallelDataFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::create_parallel_data::CreateParallelData, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::create_parallel_data::CreateParallelDataError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                A custom name for the parallel data resource in Amazon Translate. You must assign a name that is unique in the account and region.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                pub fn name(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.name(input.into()); diff --git a/sdk/translate/src/operation/delete_parallel_data/builders.rs b/sdk/translate/src/operation/delete_parallel_data/builders.rs index bbc6c46774ea..2043db1c3d8d 100644 --- a/sdk/translate/src/operation/delete_parallel_data/builders.rs +++ b/sdk/translate/src/operation/delete_parallel_data/builders.rs @@ -19,9 +19,9 @@ impl DeleteParallelDataFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl DeleteParallelDataFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::delete_parallel_data::DeleteParallelData, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::delete_parallel_data::DeleteParallelDataError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                The name of the parallel data resource that is being deleted.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                pub fn name(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.name(input.into()); diff --git a/sdk/translate/src/operation/delete_terminology/builders.rs b/sdk/translate/src/operation/delete_terminology/builders.rs index 2f52b2a42386..79cbb610055d 100644 --- a/sdk/translate/src/operation/delete_terminology/builders.rs +++ b/sdk/translate/src/operation/delete_terminology/builders.rs @@ -19,9 +19,9 @@ impl DeleteTerminologyFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl DeleteTerminologyFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::delete_terminology::DeleteTerminology, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::delete_terminology::DeleteTerminologyError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                The name of the custom terminology being deleted.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                pub fn name(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.name(input.into()); diff --git a/sdk/translate/src/operation/describe_text_translation_job/builders.rs b/sdk/translate/src/operation/describe_text_translation_job/builders.rs index 8890719b7964..86819934207d 100644 --- a/sdk/translate/src/operation/describe_text_translation_job/builders.rs +++ b/sdk/translate/src/operation/describe_text_translation_job/builders.rs @@ -19,9 +19,9 @@ impl DescribeTextTranslationJobFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl DescribeTextTranslationJobFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::describe_text_translation_job::DescribeTextTranslationJob, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::describe_text_translation_job::DescribeTextTranslationJobError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                The identifier that Amazon Translate generated for the job. The StartTextTranslationJob operation returns this identifier in its response.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                pub fn job_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.job_id(input.into()); diff --git a/sdk/translate/src/operation/get_parallel_data/builders.rs b/sdk/translate/src/operation/get_parallel_data/builders.rs index 177832569dbe..566f7825018f 100644 --- a/sdk/translate/src/operation/get_parallel_data/builders.rs +++ b/sdk/translate/src/operation/get_parallel_data/builders.rs @@ -19,9 +19,9 @@ impl GetParallelDataFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl GetParallelDataFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::get_parallel_data::GetParallelData, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::get_parallel_data::GetParallelDataError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                The name of the parallel data resource that is being retrieved.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                pub fn name(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.name(input.into()); diff --git a/sdk/translate/src/operation/get_terminology/builders.rs b/sdk/translate/src/operation/get_terminology/builders.rs index 06d9155a7d58..8b1bbbc8ad10 100644 --- a/sdk/translate/src/operation/get_terminology/builders.rs +++ b/sdk/translate/src/operation/get_terminology/builders.rs @@ -19,9 +19,9 @@ impl GetTerminologyFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl GetTerminologyFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::get_terminology::GetTerminology, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                The name of the custom terminology being retrieved.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                pub fn name(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.name(input.into()); diff --git a/sdk/translate/src/operation/import_terminology/builders.rs b/sdk/translate/src/operation/import_terminology/builders.rs index 70e7907815ed..c0137ca0449b 100644 --- a/sdk/translate/src/operation/import_terminology/builders.rs +++ b/sdk/translate/src/operation/import_terminology/builders.rs @@ -20,9 +20,9 @@ impl ImportTerminologyFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -84,6 +84,22 @@ impl ImportTerminologyFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::import_terminology::ImportTerminology, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::import_terminology::ImportTerminologyError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                The name of the custom terminology being imported.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                pub fn name(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.name(input.into()); diff --git a/sdk/translate/src/operation/list_languages/builders.rs b/sdk/translate/src/operation/list_languages/builders.rs index 5b6895a5dd8e..4caad0d1c81a 100644 --- a/sdk/translate/src/operation/list_languages/builders.rs +++ b/sdk/translate/src/operation/list_languages/builders.rs @@ -19,9 +19,9 @@ impl ListLanguagesFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl ListLanguagesFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_languages::ListLanguages, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::list_languages::paginator::ListLanguagesPaginator::send) which returns a `Stream`. diff --git a/sdk/translate/src/operation/list_parallel_data/builders.rs b/sdk/translate/src/operation/list_parallel_data/builders.rs index 6ec9154bb085..209d07a18efb 100644 --- a/sdk/translate/src/operation/list_parallel_data/builders.rs +++ b/sdk/translate/src/operation/list_parallel_data/builders.rs @@ -19,9 +19,9 @@ impl ListParallelDataFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl ListParallelDataFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_parallel_data::ListParallelData, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::list_parallel_data::ListParallelDataError, + >, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::list_parallel_data::paginator::ListParallelDataPaginator::send) which returns a `Stream`. diff --git a/sdk/translate/src/operation/list_tags_for_resource/builders.rs b/sdk/translate/src/operation/list_tags_for_resource/builders.rs index d8a888ad520a..9943816b4ef3 100644 --- a/sdk/translate/src/operation/list_tags_for_resource/builders.rs +++ b/sdk/translate/src/operation/list_tags_for_resource/builders.rs @@ -19,9 +19,9 @@ impl ListTagsForResourceFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl ListTagsForResourceFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_tags_for_resource::ListTagsForResource, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::list_tags_for_resource::ListTagsForResourceError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                The Amazon Resource Name (ARN) of the given Amazon Translate resource you are querying.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                pub fn resource_arn(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.resource_arn(input.into()); diff --git a/sdk/translate/src/operation/list_terminologies/builders.rs b/sdk/translate/src/operation/list_terminologies/builders.rs index accf804cd098..06829799a44d 100644 --- a/sdk/translate/src/operation/list_terminologies/builders.rs +++ b/sdk/translate/src/operation/list_terminologies/builders.rs @@ -19,9 +19,9 @@ impl ListTerminologiesFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl ListTerminologiesFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_terminologies::ListTerminologies, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::list_terminologies::ListTerminologiesError, + >, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::list_terminologies::paginator::ListTerminologiesPaginator::send) which returns a `Stream`. diff --git a/sdk/translate/src/operation/list_text_translation_jobs/builders.rs b/sdk/translate/src/operation/list_text_translation_jobs/builders.rs index 737d6b834144..4122f6c8204d 100644 --- a/sdk/translate/src/operation/list_text_translation_jobs/builders.rs +++ b/sdk/translate/src/operation/list_text_translation_jobs/builders.rs @@ -20,9 +20,9 @@ impl ListTextTranslationJobsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -84,6 +84,22 @@ impl ListTextTranslationJobsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_text_translation_jobs::ListTextTranslationJobs, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::list_text_translation_jobs::ListTextTranslationJobsError, + >, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::list_text_translation_jobs::paginator::ListTextTranslationJobsPaginator::send) which returns a `Stream`. diff --git a/sdk/translate/src/operation/start_text_translation_job/builders.rs b/sdk/translate/src/operation/start_text_translation_job/builders.rs index 205cd031bc68..11259d341d5e 100644 --- a/sdk/translate/src/operation/start_text_translation_job/builders.rs +++ b/sdk/translate/src/operation/start_text_translation_job/builders.rs @@ -21,9 +21,9 @@ impl StartTextTranslationJobFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -85,6 +85,22 @@ impl StartTextTranslationJobFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::start_text_translation_job::StartTextTranslationJob, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::start_text_translation_job::StartTextTranslationJobError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                The name of the batch translation job to be performed.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                pub fn job_name(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.job_name(input.into()); diff --git a/sdk/translate/src/operation/stop_text_translation_job/builders.rs b/sdk/translate/src/operation/stop_text_translation_job/builders.rs index 9a2518f629f3..867f82446e3d 100644 --- a/sdk/translate/src/operation/stop_text_translation_job/builders.rs +++ b/sdk/translate/src/operation/stop_text_translation_job/builders.rs @@ -22,9 +22,9 @@ impl StopTextTranslationJobFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -86,6 +86,22 @@ impl StopTextTranslationJobFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::stop_text_translation_job::StopTextTranslationJob, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::stop_text_translation_job::StopTextTranslationJobError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                The job ID of the job to be stopped.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                pub fn job_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.job_id(input.into()); diff --git a/sdk/translate/src/operation/tag_resource/builders.rs b/sdk/translate/src/operation/tag_resource/builders.rs index 348105c46f2b..be6c6f86aea2 100644 --- a/sdk/translate/src/operation/tag_resource/builders.rs +++ b/sdk/translate/src/operation/tag_resource/builders.rs @@ -19,9 +19,9 @@ impl TagResourceFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl TagResourceFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::tag_resource::TagResource, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                The Amazon Resource Name (ARN) of the given Amazon Translate resource to which you want to associate the tags.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                pub fn resource_arn(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.resource_arn(input.into()); diff --git a/sdk/translate/src/operation/translate_text/builders.rs b/sdk/translate/src/operation/translate_text/builders.rs index 3c52218268ff..c17abdf9f334 100644 --- a/sdk/translate/src/operation/translate_text/builders.rs +++ b/sdk/translate/src/operation/translate_text/builders.rs @@ -19,9 +19,9 @@ impl TranslateTextFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl TranslateTextFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::translate_text::TranslateText, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                The text to translate. The text string can be a maximum of 10,000 bytes long. Depending on your character set, this may be fewer than 10,000 characters.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                pub fn text(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.text(input.into()); diff --git a/sdk/translate/src/operation/untag_resource/builders.rs b/sdk/translate/src/operation/untag_resource/builders.rs index ca76cd1daeb3..78d71510d4f6 100644 --- a/sdk/translate/src/operation/untag_resource/builders.rs +++ b/sdk/translate/src/operation/untag_resource/builders.rs @@ -19,9 +19,9 @@ impl UntagResourceFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl UntagResourceFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::untag_resource::UntagResource, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                The Amazon Resource Name (ARN) of the given Amazon Translate resource from which you want to remove the tags.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                pub fn resource_arn(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.resource_arn(input.into()); diff --git a/sdk/translate/src/operation/update_parallel_data/builders.rs b/sdk/translate/src/operation/update_parallel_data/builders.rs index f78525840bad..c19c7b862ad6 100644 --- a/sdk/translate/src/operation/update_parallel_data/builders.rs +++ b/sdk/translate/src/operation/update_parallel_data/builders.rs @@ -19,9 +19,9 @@ impl UpdateParallelDataFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl UpdateParallelDataFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::update_parallel_data::UpdateParallelData, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::update_parallel_data::UpdateParallelDataError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                The name of the parallel data resource being updated.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                pub fn name(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.name(input.into()); diff --git a/sdk/voiceid/src/operation/associate_fraudster/builders.rs b/sdk/voiceid/src/operation/associate_fraudster/builders.rs index d2bd642061e5..d2213d35dd66 100644 --- a/sdk/voiceid/src/operation/associate_fraudster/builders.rs +++ b/sdk/voiceid/src/operation/associate_fraudster/builders.rs @@ -19,9 +19,9 @@ impl AssociateFraudsterFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl AssociateFraudsterFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::associate_fraudster::AssociateFraudster, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::associate_fraudster::AssociateFraudsterError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                The identifier of the domain that contains the fraudster.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                pub fn domain_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.domain_id(input.into()); diff --git a/sdk/voiceid/src/operation/create_domain/builders.rs b/sdk/voiceid/src/operation/create_domain/builders.rs index d37bdabc284c..23bdd1534de0 100644 --- a/sdk/voiceid/src/operation/create_domain/builders.rs +++ b/sdk/voiceid/src/operation/create_domain/builders.rs @@ -19,9 +19,9 @@ impl CreateDomainFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl CreateDomainFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::create_domain::CreateDomain, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                The name of the domain.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                pub fn name(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.name(input.into()); diff --git a/sdk/voiceid/src/operation/create_watchlist/builders.rs b/sdk/voiceid/src/operation/create_watchlist/builders.rs index 3fddb32ce396..1491f51e724c 100644 --- a/sdk/voiceid/src/operation/create_watchlist/builders.rs +++ b/sdk/voiceid/src/operation/create_watchlist/builders.rs @@ -19,9 +19,9 @@ impl CreateWatchlistFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl CreateWatchlistFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::create_watchlist::CreateWatchlist, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::create_watchlist::CreateWatchlistError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                The identifier of the domain that contains the watchlist.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                pub fn domain_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.domain_id(input.into()); diff --git a/sdk/voiceid/src/operation/delete_domain/builders.rs b/sdk/voiceid/src/operation/delete_domain/builders.rs index a9a8ee0c46ea..93465a652a64 100644 --- a/sdk/voiceid/src/operation/delete_domain/builders.rs +++ b/sdk/voiceid/src/operation/delete_domain/builders.rs @@ -19,9 +19,9 @@ impl DeleteDomainFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl DeleteDomainFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::delete_domain::DeleteDomain, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                The identifier of the domain you want to delete.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                pub fn domain_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.domain_id(input.into()); diff --git a/sdk/voiceid/src/operation/delete_fraudster/builders.rs b/sdk/voiceid/src/operation/delete_fraudster/builders.rs index 142216e37375..bc8aeb5feb4e 100644 --- a/sdk/voiceid/src/operation/delete_fraudster/builders.rs +++ b/sdk/voiceid/src/operation/delete_fraudster/builders.rs @@ -19,9 +19,9 @@ impl DeleteFraudsterFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl DeleteFraudsterFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::delete_fraudster::DeleteFraudster, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::delete_fraudster::DeleteFraudsterError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                The identifier of the domain that contains the fraudster.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                pub fn domain_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.domain_id(input.into()); diff --git a/sdk/voiceid/src/operation/delete_speaker/builders.rs b/sdk/voiceid/src/operation/delete_speaker/builders.rs index 8d09a94a99fa..b53d46f48e54 100644 --- a/sdk/voiceid/src/operation/delete_speaker/builders.rs +++ b/sdk/voiceid/src/operation/delete_speaker/builders.rs @@ -19,9 +19,9 @@ impl DeleteSpeakerFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl DeleteSpeakerFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::delete_speaker::DeleteSpeaker, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                The identifier of the domain that contains the speaker.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                pub fn domain_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.domain_id(input.into()); diff --git a/sdk/voiceid/src/operation/delete_watchlist/builders.rs b/sdk/voiceid/src/operation/delete_watchlist/builders.rs index 440eddc16f33..0bb62d8c5c4b 100644 --- a/sdk/voiceid/src/operation/delete_watchlist/builders.rs +++ b/sdk/voiceid/src/operation/delete_watchlist/builders.rs @@ -19,9 +19,9 @@ impl DeleteWatchlistFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl DeleteWatchlistFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::delete_watchlist::DeleteWatchlist, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::delete_watchlist::DeleteWatchlistError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                The identifier of the domain that contains the watchlist.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                pub fn domain_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.domain_id(input.into()); diff --git a/sdk/voiceid/src/operation/describe_domain/builders.rs b/sdk/voiceid/src/operation/describe_domain/builders.rs index 115b46f097df..57fae85ca06d 100644 --- a/sdk/voiceid/src/operation/describe_domain/builders.rs +++ b/sdk/voiceid/src/operation/describe_domain/builders.rs @@ -19,9 +19,9 @@ impl DescribeDomainFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl DescribeDomainFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::describe_domain::DescribeDomain, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                The identifier of the domain that you are describing.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                pub fn domain_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.domain_id(input.into()); diff --git a/sdk/voiceid/src/operation/describe_fraudster/builders.rs b/sdk/voiceid/src/operation/describe_fraudster/builders.rs index 039e5c40c5e8..6cc4d5cee98f 100644 --- a/sdk/voiceid/src/operation/describe_fraudster/builders.rs +++ b/sdk/voiceid/src/operation/describe_fraudster/builders.rs @@ -19,9 +19,9 @@ impl DescribeFraudsterFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl DescribeFraudsterFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::describe_fraudster::DescribeFraudster, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::describe_fraudster::DescribeFraudsterError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                The identifier of the domain that contains the fraudster.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                pub fn domain_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.domain_id(input.into()); diff --git a/sdk/voiceid/src/operation/describe_fraudster_registration_job/builders.rs b/sdk/voiceid/src/operation/describe_fraudster_registration_job/builders.rs index d778fe269dd9..b96123c0c88b 100644 --- a/sdk/voiceid/src/operation/describe_fraudster_registration_job/builders.rs +++ b/sdk/voiceid/src/operation/describe_fraudster_registration_job/builders.rs @@ -19,9 +19,9 @@ impl DescribeFraudsterRegistrationJobFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize(self) -> ::std::result::Result< + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware(self) -> ::std::result::Result< crate::client::customize::CustomizableOperation, ::aws_smithy_http::result::SdkError >{ @@ -64,6 +64,15 @@ impl DescribeFraudsterRegistrationJobFluentBuilder { { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize(self) -> ::std::result::Result< + crate::client::customize::CustomizableOperation, + ::aws_smithy_http::result::SdkError + >{ + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                The identifier of the domain that contains the fraudster registration job.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                pub fn domain_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.domain_id(input.into()); diff --git a/sdk/voiceid/src/operation/describe_speaker/builders.rs b/sdk/voiceid/src/operation/describe_speaker/builders.rs index f7ab22693679..b94dd55fa173 100644 --- a/sdk/voiceid/src/operation/describe_speaker/builders.rs +++ b/sdk/voiceid/src/operation/describe_speaker/builders.rs @@ -19,9 +19,9 @@ impl DescribeSpeakerFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl DescribeSpeakerFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::describe_speaker::DescribeSpeaker, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::describe_speaker::DescribeSpeakerError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                The identifier of the domain that contains the speaker.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                pub fn domain_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.domain_id(input.into()); diff --git a/sdk/voiceid/src/operation/describe_speaker_enrollment_job/builders.rs b/sdk/voiceid/src/operation/describe_speaker_enrollment_job/builders.rs index 31d501fffdce..7f800c1ed115 100644 --- a/sdk/voiceid/src/operation/describe_speaker_enrollment_job/builders.rs +++ b/sdk/voiceid/src/operation/describe_speaker_enrollment_job/builders.rs @@ -19,9 +19,9 @@ impl DescribeSpeakerEnrollmentJobFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl DescribeSpeakerEnrollmentJobFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::describe_speaker_enrollment_job::DescribeSpeakerEnrollmentJob, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::describe_speaker_enrollment_job::DescribeSpeakerEnrollmentJobError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                The identifier of the domain that contains the speaker enrollment job.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                pub fn domain_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.domain_id(input.into()); diff --git a/sdk/voiceid/src/operation/describe_watchlist/builders.rs b/sdk/voiceid/src/operation/describe_watchlist/builders.rs index 31e4e6408fd8..4fc086987816 100644 --- a/sdk/voiceid/src/operation/describe_watchlist/builders.rs +++ b/sdk/voiceid/src/operation/describe_watchlist/builders.rs @@ -19,9 +19,9 @@ impl DescribeWatchlistFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl DescribeWatchlistFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::describe_watchlist::DescribeWatchlist, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::describe_watchlist::DescribeWatchlistError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                The identifier of the domain that contains the watchlist.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                pub fn domain_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.domain_id(input.into()); diff --git a/sdk/voiceid/src/operation/disassociate_fraudster/builders.rs b/sdk/voiceid/src/operation/disassociate_fraudster/builders.rs index 97953d30afc4..19d7a5149eb2 100644 --- a/sdk/voiceid/src/operation/disassociate_fraudster/builders.rs +++ b/sdk/voiceid/src/operation/disassociate_fraudster/builders.rs @@ -19,9 +19,9 @@ impl DisassociateFraudsterFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl DisassociateFraudsterFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::disassociate_fraudster::DisassociateFraudster, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::disassociate_fraudster::DisassociateFraudsterError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                The identifier of the domain that contains the fraudster.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                pub fn domain_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.domain_id(input.into()); diff --git a/sdk/voiceid/src/operation/evaluate_session/builders.rs b/sdk/voiceid/src/operation/evaluate_session/builders.rs index 4edde3cd17a6..c447d692dd28 100644 --- a/sdk/voiceid/src/operation/evaluate_session/builders.rs +++ b/sdk/voiceid/src/operation/evaluate_session/builders.rs @@ -19,9 +19,9 @@ impl EvaluateSessionFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl EvaluateSessionFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::evaluate_session::EvaluateSession, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::evaluate_session::EvaluateSessionError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                The identifier of the domain where the session started.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                pub fn domain_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.domain_id(input.into()); diff --git a/sdk/voiceid/src/operation/list_domains/builders.rs b/sdk/voiceid/src/operation/list_domains/builders.rs index 96c5204b488a..68ed7655abb0 100644 --- a/sdk/voiceid/src/operation/list_domains/builders.rs +++ b/sdk/voiceid/src/operation/list_domains/builders.rs @@ -19,9 +19,9 @@ impl ListDomainsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl ListDomainsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_domains::ListDomains, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::list_domains::paginator::ListDomainsPaginator::send) which returns a `Stream`. diff --git a/sdk/voiceid/src/operation/list_fraudster_registration_jobs/builders.rs b/sdk/voiceid/src/operation/list_fraudster_registration_jobs/builders.rs index 065dd72d7db7..89ff23eb668b 100644 --- a/sdk/voiceid/src/operation/list_fraudster_registration_jobs/builders.rs +++ b/sdk/voiceid/src/operation/list_fraudster_registration_jobs/builders.rs @@ -19,9 +19,9 @@ impl ListFraudsterRegistrationJobsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl ListFraudsterRegistrationJobsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_fraudster_registration_jobs::ListFraudsterRegistrationJobs, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::list_fraudster_registration_jobs::ListFraudsterRegistrationJobsError, + >, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::list_fraudster_registration_jobs::paginator::ListFraudsterRegistrationJobsPaginator::send) which returns a `Stream`. diff --git a/sdk/voiceid/src/operation/list_fraudsters/builders.rs b/sdk/voiceid/src/operation/list_fraudsters/builders.rs index 07f345939731..c0b53a909b80 100644 --- a/sdk/voiceid/src/operation/list_fraudsters/builders.rs +++ b/sdk/voiceid/src/operation/list_fraudsters/builders.rs @@ -19,9 +19,9 @@ impl ListFraudstersFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl ListFraudstersFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_fraudsters::ListFraudsters, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::list_fraudsters::paginator::ListFraudstersPaginator::send) which returns a `Stream`. diff --git a/sdk/voiceid/src/operation/list_speaker_enrollment_jobs/builders.rs b/sdk/voiceid/src/operation/list_speaker_enrollment_jobs/builders.rs index 30b15c5a453c..2248b7eb10c9 100644 --- a/sdk/voiceid/src/operation/list_speaker_enrollment_jobs/builders.rs +++ b/sdk/voiceid/src/operation/list_speaker_enrollment_jobs/builders.rs @@ -19,9 +19,9 @@ impl ListSpeakerEnrollmentJobsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl ListSpeakerEnrollmentJobsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_speaker_enrollment_jobs::ListSpeakerEnrollmentJobs, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::list_speaker_enrollment_jobs::ListSpeakerEnrollmentJobsError, + >, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::list_speaker_enrollment_jobs::paginator::ListSpeakerEnrollmentJobsPaginator::send) which returns a `Stream`. diff --git a/sdk/voiceid/src/operation/list_speakers/builders.rs b/sdk/voiceid/src/operation/list_speakers/builders.rs index 7eeceddb9eb7..411574a32daf 100644 --- a/sdk/voiceid/src/operation/list_speakers/builders.rs +++ b/sdk/voiceid/src/operation/list_speakers/builders.rs @@ -19,9 +19,9 @@ impl ListSpeakersFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl ListSpeakersFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_speakers::ListSpeakers, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::list_speakers::paginator::ListSpeakersPaginator::send) which returns a `Stream`. diff --git a/sdk/voiceid/src/operation/list_tags_for_resource/builders.rs b/sdk/voiceid/src/operation/list_tags_for_resource/builders.rs index b74af197796e..028dc47773d5 100644 --- a/sdk/voiceid/src/operation/list_tags_for_resource/builders.rs +++ b/sdk/voiceid/src/operation/list_tags_for_resource/builders.rs @@ -19,9 +19,9 @@ impl ListTagsForResourceFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl ListTagsForResourceFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_tags_for_resource::ListTagsForResource, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::list_tags_for_resource::ListTagsForResourceError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                The Amazon Resource Name (ARN) of the Voice ID resource for which you want to list the tags.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                pub fn resource_arn(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.resource_arn(input.into()); diff --git a/sdk/voiceid/src/operation/list_watchlists/builders.rs b/sdk/voiceid/src/operation/list_watchlists/builders.rs index 01001f8a5074..75a622fb2a75 100644 --- a/sdk/voiceid/src/operation/list_watchlists/builders.rs +++ b/sdk/voiceid/src/operation/list_watchlists/builders.rs @@ -19,9 +19,9 @@ impl ListWatchlistsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl ListWatchlistsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_watchlists::ListWatchlists, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::list_watchlists::paginator::ListWatchlistsPaginator::send) which returns a `Stream`. diff --git a/sdk/voiceid/src/operation/opt_out_speaker/builders.rs b/sdk/voiceid/src/operation/opt_out_speaker/builders.rs index 35edc94d0751..4900be7ac1a1 100644 --- a/sdk/voiceid/src/operation/opt_out_speaker/builders.rs +++ b/sdk/voiceid/src/operation/opt_out_speaker/builders.rs @@ -19,9 +19,9 @@ impl OptOutSpeakerFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl OptOutSpeakerFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::opt_out_speaker::OptOutSpeaker, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                The identifier of the domain that contains the speaker.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                pub fn domain_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.domain_id(input.into()); diff --git a/sdk/voiceid/src/operation/start_fraudster_registration_job/builders.rs b/sdk/voiceid/src/operation/start_fraudster_registration_job/builders.rs index e1bfcc8b903d..85df9b648fc4 100644 --- a/sdk/voiceid/src/operation/start_fraudster_registration_job/builders.rs +++ b/sdk/voiceid/src/operation/start_fraudster_registration_job/builders.rs @@ -19,9 +19,9 @@ impl StartFraudsterRegistrationJobFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl StartFraudsterRegistrationJobFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::start_fraudster_registration_job::StartFraudsterRegistrationJob, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::start_fraudster_registration_job::StartFraudsterRegistrationJobError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                A unique, case-sensitive identifier that you provide to ensure the idempotency of the request. If not provided, the Amazon Web Services SDK populates this field. For more information about idempotency, see Making retries safe with idempotent APIs.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                pub fn client_token(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.client_token(input.into()); diff --git a/sdk/voiceid/src/operation/start_speaker_enrollment_job/builders.rs b/sdk/voiceid/src/operation/start_speaker_enrollment_job/builders.rs index b09d185483fe..1800aafecf7e 100644 --- a/sdk/voiceid/src/operation/start_speaker_enrollment_job/builders.rs +++ b/sdk/voiceid/src/operation/start_speaker_enrollment_job/builders.rs @@ -19,9 +19,9 @@ impl StartSpeakerEnrollmentJobFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl StartSpeakerEnrollmentJobFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::start_speaker_enrollment_job::StartSpeakerEnrollmentJob, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::start_speaker_enrollment_job::StartSpeakerEnrollmentJobError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                A unique, case-sensitive identifier that you provide to ensure the idempotency of the request. If not provided, the Amazon Web Services SDK populates this field. For more information about idempotency, see Making retries safe with idempotent APIs.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                pub fn client_token(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.client_token(input.into()); diff --git a/sdk/voiceid/src/operation/tag_resource/builders.rs b/sdk/voiceid/src/operation/tag_resource/builders.rs index ddc25a464aad..b7f9f9eb3e8b 100644 --- a/sdk/voiceid/src/operation/tag_resource/builders.rs +++ b/sdk/voiceid/src/operation/tag_resource/builders.rs @@ -19,9 +19,9 @@ impl TagResourceFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl TagResourceFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::tag_resource::TagResource, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                The Amazon Resource Name (ARN) of the Voice ID resource you want to tag.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                pub fn resource_arn(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.resource_arn(input.into()); diff --git a/sdk/voiceid/src/operation/untag_resource/builders.rs b/sdk/voiceid/src/operation/untag_resource/builders.rs index d3a99ff89005..0197885986c9 100644 --- a/sdk/voiceid/src/operation/untag_resource/builders.rs +++ b/sdk/voiceid/src/operation/untag_resource/builders.rs @@ -19,9 +19,9 @@ impl UntagResourceFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl UntagResourceFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::untag_resource::UntagResource, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                The Amazon Resource Name (ARN) of the Voice ID resource you want to remove tags from.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                pub fn resource_arn(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.resource_arn(input.into()); diff --git a/sdk/voiceid/src/operation/update_domain/builders.rs b/sdk/voiceid/src/operation/update_domain/builders.rs index d1cbede350a8..0b5620d5149a 100644 --- a/sdk/voiceid/src/operation/update_domain/builders.rs +++ b/sdk/voiceid/src/operation/update_domain/builders.rs @@ -19,9 +19,9 @@ impl UpdateDomainFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl UpdateDomainFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::update_domain::UpdateDomain, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                The identifier of the domain to be updated.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                pub fn domain_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.domain_id(input.into()); diff --git a/sdk/voiceid/src/operation/update_watchlist/builders.rs b/sdk/voiceid/src/operation/update_watchlist/builders.rs index 568d479e6c44..2ea6949e42dc 100644 --- a/sdk/voiceid/src/operation/update_watchlist/builders.rs +++ b/sdk/voiceid/src/operation/update_watchlist/builders.rs @@ -19,9 +19,9 @@ impl UpdateWatchlistFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl UpdateWatchlistFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::update_watchlist::UpdateWatchlist, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::update_watchlist::UpdateWatchlistError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                The identifier of the domain that contains the watchlist.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                pub fn domain_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.domain_id(input.into()); diff --git a/sdk/vpclattice/src/operation/batch_update_rule/builders.rs b/sdk/vpclattice/src/operation/batch_update_rule/builders.rs index 32caf30e9c01..9b3aaad70048 100644 --- a/sdk/vpclattice/src/operation/batch_update_rule/builders.rs +++ b/sdk/vpclattice/src/operation/batch_update_rule/builders.rs @@ -19,9 +19,9 @@ impl BatchUpdateRuleFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl BatchUpdateRuleFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::batch_update_rule::BatchUpdateRule, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::batch_update_rule::BatchUpdateRuleError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                The ID or Amazon Resource Name (ARN) of the service.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                pub fn service_identifier( mut self, diff --git a/sdk/vpclattice/src/operation/create_access_log_subscription/builders.rs b/sdk/vpclattice/src/operation/create_access_log_subscription/builders.rs index c20e6159fbed..3e9a16d0f731 100644 --- a/sdk/vpclattice/src/operation/create_access_log_subscription/builders.rs +++ b/sdk/vpclattice/src/operation/create_access_log_subscription/builders.rs @@ -19,9 +19,9 @@ impl CreateAccessLogSubscriptionFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl CreateAccessLogSubscriptionFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::create_access_log_subscription::CreateAccessLogSubscription, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::create_access_log_subscription::CreateAccessLogSubscriptionError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                A unique, case-sensitive identifier that you provide to ensure the idempotency of the request. If you retry a request that completed successfully using the same client token and parameters, the retry succeeds without performing any actions. If the parameters aren't identical, the retry fails.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                pub fn client_token(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.client_token(input.into()); diff --git a/sdk/vpclattice/src/operation/create_listener/builders.rs b/sdk/vpclattice/src/operation/create_listener/builders.rs index bf4ec03bee8b..1b623631b036 100644 --- a/sdk/vpclattice/src/operation/create_listener/builders.rs +++ b/sdk/vpclattice/src/operation/create_listener/builders.rs @@ -19,9 +19,9 @@ impl CreateListenerFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl CreateListenerFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::create_listener::CreateListener, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                The ID or Amazon Resource Name (ARN) of the service.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                pub fn service_identifier( mut self, diff --git a/sdk/vpclattice/src/operation/create_rule/builders.rs b/sdk/vpclattice/src/operation/create_rule/builders.rs index 4688fb696cef..910c934b5f51 100644 --- a/sdk/vpclattice/src/operation/create_rule/builders.rs +++ b/sdk/vpclattice/src/operation/create_rule/builders.rs @@ -19,9 +19,9 @@ impl CreateRuleFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl CreateRuleFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::create_rule::CreateRule, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                The ID or Amazon Resource Name (ARN) of the service.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                pub fn service_identifier( mut self, diff --git a/sdk/vpclattice/src/operation/create_service/builders.rs b/sdk/vpclattice/src/operation/create_service/builders.rs index 7d32905ee491..e660c8ffa324 100644 --- a/sdk/vpclattice/src/operation/create_service/builders.rs +++ b/sdk/vpclattice/src/operation/create_service/builders.rs @@ -20,9 +20,9 @@ impl CreateServiceFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -78,6 +78,20 @@ impl CreateServiceFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::create_service::CreateService, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                A unique, case-sensitive identifier that you provide to ensure the idempotency of the request. If you retry a request that completed successfully using the same client token and parameters, the retry succeeds without performing any actions. If the parameters aren't identical, the retry fails.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                pub fn client_token(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.client_token(input.into()); diff --git a/sdk/vpclattice/src/operation/create_service_network/builders.rs b/sdk/vpclattice/src/operation/create_service_network/builders.rs index 274bf9a43752..000ace0f0755 100644 --- a/sdk/vpclattice/src/operation/create_service_network/builders.rs +++ b/sdk/vpclattice/src/operation/create_service_network/builders.rs @@ -20,9 +20,9 @@ impl CreateServiceNetworkFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -84,6 +84,22 @@ impl CreateServiceNetworkFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::create_service_network::CreateServiceNetwork, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::create_service_network::CreateServiceNetworkError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                A unique, case-sensitive identifier that you provide to ensure the idempotency of the request. If you retry a request that completed successfully using the same client token and parameters, the retry succeeds without performing any actions. If the parameters aren't identical, the retry fails.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                pub fn client_token(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.client_token(input.into()); diff --git a/sdk/vpclattice/src/operation/create_service_network_service_association/builders.rs b/sdk/vpclattice/src/operation/create_service_network_service_association/builders.rs index 42d88952ecaa..a94cb9ac4189 100644 --- a/sdk/vpclattice/src/operation/create_service_network_service_association/builders.rs +++ b/sdk/vpclattice/src/operation/create_service_network_service_association/builders.rs @@ -22,9 +22,9 @@ impl CreateServiceNetworkServiceAssociationFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize(self) -> ::std::result::Result< + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware(self) -> ::std::result::Result< crate::client::customize::CustomizableOperation, ::aws_smithy_http::result::SdkError >{ @@ -67,6 +67,15 @@ impl CreateServiceNetworkServiceAssociationFluentBuilder { { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize(self) -> ::std::result::Result< + crate::client::customize::CustomizableOperation, + ::aws_smithy_http::result::SdkError + >{ + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                A unique, case-sensitive identifier that you provide to ensure the idempotency of the request. If you retry a request that completed successfully using the same client token and parameters, the retry succeeds without performing any actions. If the parameters aren't identical, the retry fails.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                pub fn client_token(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.client_token(input.into()); diff --git a/sdk/vpclattice/src/operation/create_service_network_vpc_association/builders.rs b/sdk/vpclattice/src/operation/create_service_network_vpc_association/builders.rs index a00c748407e6..c4b629dec738 100644 --- a/sdk/vpclattice/src/operation/create_service_network_vpc_association/builders.rs +++ b/sdk/vpclattice/src/operation/create_service_network_vpc_association/builders.rs @@ -22,9 +22,9 @@ impl CreateServiceNetworkVpcAssociationFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize(self) -> ::std::result::Result< + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware(self) -> ::std::result::Result< crate::client::customize::CustomizableOperation, ::aws_smithy_http::result::SdkError >{ @@ -67,6 +67,15 @@ impl CreateServiceNetworkVpcAssociationFluentBuilder { { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize(self) -> ::std::result::Result< + crate::client::customize::CustomizableOperation, + ::aws_smithy_http::result::SdkError + >{ + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                A unique, case-sensitive identifier that you provide to ensure the idempotency of the request. If you retry a request that completed successfully using the same client token and parameters, the retry succeeds without performing any actions. If the parameters aren't identical, the retry fails.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                pub fn client_token(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.client_token(input.into()); diff --git a/sdk/vpclattice/src/operation/create_target_group/builders.rs b/sdk/vpclattice/src/operation/create_target_group/builders.rs index 8c9353cafbd5..09c06013dc85 100644 --- a/sdk/vpclattice/src/operation/create_target_group/builders.rs +++ b/sdk/vpclattice/src/operation/create_target_group/builders.rs @@ -20,9 +20,9 @@ impl CreateTargetGroupFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -84,6 +84,22 @@ impl CreateTargetGroupFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::create_target_group::CreateTargetGroup, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::create_target_group::CreateTargetGroupError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                The name of the target group. The name must be unique within the account. The valid characters are a-z, 0-9, and hyphens (-). You can't use a hyphen as the first or last character, or immediately after another hyphen.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                pub fn name(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.name(input.into()); diff --git a/sdk/vpclattice/src/operation/delete_access_log_subscription/builders.rs b/sdk/vpclattice/src/operation/delete_access_log_subscription/builders.rs index 0e359bb3cfc2..ab63d8b16701 100644 --- a/sdk/vpclattice/src/operation/delete_access_log_subscription/builders.rs +++ b/sdk/vpclattice/src/operation/delete_access_log_subscription/builders.rs @@ -19,9 +19,9 @@ impl DeleteAccessLogSubscriptionFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl DeleteAccessLogSubscriptionFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::delete_access_log_subscription::DeleteAccessLogSubscription, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::delete_access_log_subscription::DeleteAccessLogSubscriptionError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                The ID or Amazon Resource Name (ARN) of the access log subscription.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                pub fn access_log_subscription_identifier( mut self, diff --git a/sdk/vpclattice/src/operation/delete_auth_policy/builders.rs b/sdk/vpclattice/src/operation/delete_auth_policy/builders.rs index 1b96fd71279d..8aae765c7476 100644 --- a/sdk/vpclattice/src/operation/delete_auth_policy/builders.rs +++ b/sdk/vpclattice/src/operation/delete_auth_policy/builders.rs @@ -19,9 +19,9 @@ impl DeleteAuthPolicyFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl DeleteAuthPolicyFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::delete_auth_policy::DeleteAuthPolicy, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::delete_auth_policy::DeleteAuthPolicyError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                The ID or Amazon Resource Name (ARN) of the resource.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                pub fn resource_identifier( mut self, diff --git a/sdk/vpclattice/src/operation/delete_listener/builders.rs b/sdk/vpclattice/src/operation/delete_listener/builders.rs index 503daadaf003..4a96bb2dd7a6 100644 --- a/sdk/vpclattice/src/operation/delete_listener/builders.rs +++ b/sdk/vpclattice/src/operation/delete_listener/builders.rs @@ -19,9 +19,9 @@ impl DeleteListenerFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl DeleteListenerFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::delete_listener::DeleteListener, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                The ID or Amazon Resource Name (ARN) of the service.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                pub fn service_identifier( mut self, diff --git a/sdk/vpclattice/src/operation/delete_resource_policy/builders.rs b/sdk/vpclattice/src/operation/delete_resource_policy/builders.rs index ac42cde9a456..ef839ebe8e68 100644 --- a/sdk/vpclattice/src/operation/delete_resource_policy/builders.rs +++ b/sdk/vpclattice/src/operation/delete_resource_policy/builders.rs @@ -19,9 +19,9 @@ impl DeleteResourcePolicyFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl DeleteResourcePolicyFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::delete_resource_policy::DeleteResourcePolicy, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::delete_resource_policy::DeleteResourcePolicyError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                The Amazon Resource Name (ARN) of the resource.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                pub fn resource_arn(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.resource_arn(input.into()); diff --git a/sdk/vpclattice/src/operation/delete_rule/builders.rs b/sdk/vpclattice/src/operation/delete_rule/builders.rs index b3351fa16a79..fb40daf13fcd 100644 --- a/sdk/vpclattice/src/operation/delete_rule/builders.rs +++ b/sdk/vpclattice/src/operation/delete_rule/builders.rs @@ -20,9 +20,9 @@ impl DeleteRuleFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -78,6 +78,20 @@ impl DeleteRuleFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::delete_rule::DeleteRule, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                The ID or Amazon Resource Name (ARN) of the service.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                pub fn service_identifier( mut self, diff --git a/sdk/vpclattice/src/operation/delete_service/builders.rs b/sdk/vpclattice/src/operation/delete_service/builders.rs index c40543a1a43c..2db3c32b3e32 100644 --- a/sdk/vpclattice/src/operation/delete_service/builders.rs +++ b/sdk/vpclattice/src/operation/delete_service/builders.rs @@ -19,9 +19,9 @@ impl DeleteServiceFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl DeleteServiceFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::delete_service::DeleteService, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                The ID or Amazon Resource Name (ARN) of the service.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                pub fn service_identifier( mut self, diff --git a/sdk/vpclattice/src/operation/delete_service_network/builders.rs b/sdk/vpclattice/src/operation/delete_service_network/builders.rs index 44cf5c4f5d0e..c88c0ab27c82 100644 --- a/sdk/vpclattice/src/operation/delete_service_network/builders.rs +++ b/sdk/vpclattice/src/operation/delete_service_network/builders.rs @@ -19,9 +19,9 @@ impl DeleteServiceNetworkFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl DeleteServiceNetworkFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::delete_service_network::DeleteServiceNetwork, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::delete_service_network::DeleteServiceNetworkError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                The Amazon Resource Name (ARN) or ID of the service network.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                pub fn service_network_identifier( mut self, diff --git a/sdk/vpclattice/src/operation/delete_service_network_service_association/builders.rs b/sdk/vpclattice/src/operation/delete_service_network_service_association/builders.rs index 54e576fcbaa6..3f6ebe5ec600 100644 --- a/sdk/vpclattice/src/operation/delete_service_network_service_association/builders.rs +++ b/sdk/vpclattice/src/operation/delete_service_network_service_association/builders.rs @@ -19,9 +19,9 @@ impl DeleteServiceNetworkServiceAssociationFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize(self) -> ::std::result::Result< + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware(self) -> ::std::result::Result< crate::client::customize::CustomizableOperation, ::aws_smithy_http::result::SdkError >{ @@ -64,6 +64,15 @@ impl DeleteServiceNetworkServiceAssociationFluentBuilder { { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize(self) -> ::std::result::Result< + crate::client::customize::CustomizableOperation, + ::aws_smithy_http::result::SdkError + >{ + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                The ID or Amazon Resource Name (ARN) of the association.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                pub fn service_network_service_association_identifier( mut self, diff --git a/sdk/vpclattice/src/operation/delete_service_network_vpc_association/builders.rs b/sdk/vpclattice/src/operation/delete_service_network_vpc_association/builders.rs index 37f239f359e4..2f3600982f10 100644 --- a/sdk/vpclattice/src/operation/delete_service_network_vpc_association/builders.rs +++ b/sdk/vpclattice/src/operation/delete_service_network_vpc_association/builders.rs @@ -19,9 +19,9 @@ impl DeleteServiceNetworkVpcAssociationFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize(self) -> ::std::result::Result< + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware(self) -> ::std::result::Result< crate::client::customize::CustomizableOperation, ::aws_smithy_http::result::SdkError >{ @@ -64,6 +64,15 @@ impl DeleteServiceNetworkVpcAssociationFluentBuilder { { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize(self) -> ::std::result::Result< + crate::client::customize::CustomizableOperation, + ::aws_smithy_http::result::SdkError + >{ + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                The ID or Amazon Resource Name (ARN) of the association.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                pub fn service_network_vpc_association_identifier( mut self, diff --git a/sdk/vpclattice/src/operation/delete_target_group/builders.rs b/sdk/vpclattice/src/operation/delete_target_group/builders.rs index 3267d527960f..fdcb490dac5d 100644 --- a/sdk/vpclattice/src/operation/delete_target_group/builders.rs +++ b/sdk/vpclattice/src/operation/delete_target_group/builders.rs @@ -19,9 +19,9 @@ impl DeleteTargetGroupFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl DeleteTargetGroupFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::delete_target_group::DeleteTargetGroup, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::delete_target_group::DeleteTargetGroupError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                The ID or Amazon Resource Name (ARN) of the target group.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                pub fn target_group_identifier( mut self, diff --git a/sdk/vpclattice/src/operation/deregister_targets/builders.rs b/sdk/vpclattice/src/operation/deregister_targets/builders.rs index 2ece241100f2..4d84ae3ad650 100644 --- a/sdk/vpclattice/src/operation/deregister_targets/builders.rs +++ b/sdk/vpclattice/src/operation/deregister_targets/builders.rs @@ -19,9 +19,9 @@ impl DeregisterTargetsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl DeregisterTargetsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::deregister_targets::DeregisterTargets, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::deregister_targets::DeregisterTargetsError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                The ID or Amazon Resource Name (ARN) of the target group.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                pub fn target_group_identifier( mut self, diff --git a/sdk/vpclattice/src/operation/get_access_log_subscription/builders.rs b/sdk/vpclattice/src/operation/get_access_log_subscription/builders.rs index 3919eb620be9..90373e6eca2a 100644 --- a/sdk/vpclattice/src/operation/get_access_log_subscription/builders.rs +++ b/sdk/vpclattice/src/operation/get_access_log_subscription/builders.rs @@ -19,9 +19,9 @@ impl GetAccessLogSubscriptionFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl GetAccessLogSubscriptionFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::get_access_log_subscription::GetAccessLogSubscription, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::get_access_log_subscription::GetAccessLogSubscriptionError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                The ID or Amazon Resource Name (ARN) of the access log subscription.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                pub fn access_log_subscription_identifier( mut self, diff --git a/sdk/vpclattice/src/operation/get_auth_policy/builders.rs b/sdk/vpclattice/src/operation/get_auth_policy/builders.rs index d3edcb264e18..970dbfa9f8fc 100644 --- a/sdk/vpclattice/src/operation/get_auth_policy/builders.rs +++ b/sdk/vpclattice/src/operation/get_auth_policy/builders.rs @@ -19,9 +19,9 @@ impl GetAuthPolicyFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl GetAuthPolicyFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::get_auth_policy::GetAuthPolicy, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                The ID or Amazon Resource Name (ARN) of the service network or service.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                pub fn resource_identifier( mut self, diff --git a/sdk/vpclattice/src/operation/get_listener/builders.rs b/sdk/vpclattice/src/operation/get_listener/builders.rs index 5b315f98cdfd..5b1ec045b0e3 100644 --- a/sdk/vpclattice/src/operation/get_listener/builders.rs +++ b/sdk/vpclattice/src/operation/get_listener/builders.rs @@ -19,9 +19,9 @@ impl GetListenerFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl GetListenerFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::get_listener::GetListener, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                The ID or Amazon Resource Name (ARN) of the service.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                pub fn service_identifier( mut self, diff --git a/sdk/vpclattice/src/operation/get_resource_policy/builders.rs b/sdk/vpclattice/src/operation/get_resource_policy/builders.rs index 0904e2194973..d238824bb0e1 100644 --- a/sdk/vpclattice/src/operation/get_resource_policy/builders.rs +++ b/sdk/vpclattice/src/operation/get_resource_policy/builders.rs @@ -19,9 +19,9 @@ impl GetResourcePolicyFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl GetResourcePolicyFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::get_resource_policy::GetResourcePolicy, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::get_resource_policy::GetResourcePolicyError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                The Amazon Resource Name (ARN) of the service network or service.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                pub fn resource_arn(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.resource_arn(input.into()); diff --git a/sdk/vpclattice/src/operation/get_rule/builders.rs b/sdk/vpclattice/src/operation/get_rule/builders.rs index 5c6159627ca9..1be1bedd416f 100644 --- a/sdk/vpclattice/src/operation/get_rule/builders.rs +++ b/sdk/vpclattice/src/operation/get_rule/builders.rs @@ -19,9 +19,9 @@ impl GetRuleFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl GetRuleFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::get_rule::GetRule, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                The ID or Amazon Resource Name (ARN) of the service.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                pub fn service_identifier( mut self, diff --git a/sdk/vpclattice/src/operation/get_service/builders.rs b/sdk/vpclattice/src/operation/get_service/builders.rs index cd0393bcbaff..df8727cce52b 100644 --- a/sdk/vpclattice/src/operation/get_service/builders.rs +++ b/sdk/vpclattice/src/operation/get_service/builders.rs @@ -19,9 +19,9 @@ impl GetServiceFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl GetServiceFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::get_service::GetService, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                The ID or Amazon Resource Name (ARN) of the service.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                pub fn service_identifier( mut self, diff --git a/sdk/vpclattice/src/operation/get_service_network/builders.rs b/sdk/vpclattice/src/operation/get_service_network/builders.rs index 878ddc79e4a5..67ad302c6795 100644 --- a/sdk/vpclattice/src/operation/get_service_network/builders.rs +++ b/sdk/vpclattice/src/operation/get_service_network/builders.rs @@ -19,9 +19,9 @@ impl GetServiceNetworkFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl GetServiceNetworkFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::get_service_network::GetServiceNetwork, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::get_service_network::GetServiceNetworkError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                The ID or Amazon Resource Name (ARN) of the service network.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                pub fn service_network_identifier( mut self, diff --git a/sdk/vpclattice/src/operation/get_service_network_service_association/builders.rs b/sdk/vpclattice/src/operation/get_service_network_service_association/builders.rs index faeb8ccbdbb7..93fd4f0290cb 100644 --- a/sdk/vpclattice/src/operation/get_service_network_service_association/builders.rs +++ b/sdk/vpclattice/src/operation/get_service_network_service_association/builders.rs @@ -19,9 +19,9 @@ impl GetServiceNetworkServiceAssociationFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize(self) -> ::std::result::Result< + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware(self) -> ::std::result::Result< crate::client::customize::CustomizableOperation, ::aws_smithy_http::result::SdkError >{ @@ -64,6 +64,15 @@ impl GetServiceNetworkServiceAssociationFluentBuilder { { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize(self) -> ::std::result::Result< + crate::client::customize::CustomizableOperation, + ::aws_smithy_http::result::SdkError + >{ + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                The ID or Amazon Resource Name (ARN) of the association.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                pub fn service_network_service_association_identifier( mut self, diff --git a/sdk/vpclattice/src/operation/get_service_network_vpc_association/builders.rs b/sdk/vpclattice/src/operation/get_service_network_vpc_association/builders.rs index 7066188d1917..75f3491e2dd9 100644 --- a/sdk/vpclattice/src/operation/get_service_network_vpc_association/builders.rs +++ b/sdk/vpclattice/src/operation/get_service_network_vpc_association/builders.rs @@ -19,9 +19,9 @@ impl GetServiceNetworkVpcAssociationFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize(self) -> ::std::result::Result< + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware(self) -> ::std::result::Result< crate::client::customize::CustomizableOperation, ::aws_smithy_http::result::SdkError >{ @@ -64,6 +64,15 @@ impl GetServiceNetworkVpcAssociationFluentBuilder { { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize(self) -> ::std::result::Result< + crate::client::customize::CustomizableOperation, + ::aws_smithy_http::result::SdkError + >{ + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                The ID or Amazon Resource Name (ARN) of the association.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                pub fn service_network_vpc_association_identifier( mut self, diff --git a/sdk/vpclattice/src/operation/get_target_group/builders.rs b/sdk/vpclattice/src/operation/get_target_group/builders.rs index 7d2e9d8c21d9..f0ba68d23b76 100644 --- a/sdk/vpclattice/src/operation/get_target_group/builders.rs +++ b/sdk/vpclattice/src/operation/get_target_group/builders.rs @@ -19,9 +19,9 @@ impl GetTargetGroupFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl GetTargetGroupFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::get_target_group::GetTargetGroup, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::get_target_group::GetTargetGroupError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                The ID or Amazon Resource Name (ARN) of the target group.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                pub fn target_group_identifier( mut self, diff --git a/sdk/vpclattice/src/operation/list_access_log_subscriptions/builders.rs b/sdk/vpclattice/src/operation/list_access_log_subscriptions/builders.rs index 072d95b8fdc8..d10491ab3c16 100644 --- a/sdk/vpclattice/src/operation/list_access_log_subscriptions/builders.rs +++ b/sdk/vpclattice/src/operation/list_access_log_subscriptions/builders.rs @@ -19,9 +19,9 @@ impl ListAccessLogSubscriptionsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl ListAccessLogSubscriptionsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_access_log_subscriptions::ListAccessLogSubscriptions, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::list_access_log_subscriptions::ListAccessLogSubscriptionsError, + >, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::list_access_log_subscriptions::paginator::ListAccessLogSubscriptionsPaginator::send) which returns a `Stream`. diff --git a/sdk/vpclattice/src/operation/list_listeners/builders.rs b/sdk/vpclattice/src/operation/list_listeners/builders.rs index 52f676630cd7..017e0e3d2adb 100644 --- a/sdk/vpclattice/src/operation/list_listeners/builders.rs +++ b/sdk/vpclattice/src/operation/list_listeners/builders.rs @@ -19,9 +19,9 @@ impl ListListenersFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl ListListenersFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_listeners::ListListeners, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::list_listeners::paginator::ListListenersPaginator::send) which returns a `Stream`. diff --git a/sdk/vpclattice/src/operation/list_rules/builders.rs b/sdk/vpclattice/src/operation/list_rules/builders.rs index a701e00b6af4..8f3354dddeaa 100644 --- a/sdk/vpclattice/src/operation/list_rules/builders.rs +++ b/sdk/vpclattice/src/operation/list_rules/builders.rs @@ -19,9 +19,9 @@ impl ListRulesFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl ListRulesFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_rules::ListRules, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::list_rules::paginator::ListRulesPaginator::send) which returns a `Stream`. diff --git a/sdk/vpclattice/src/operation/list_service_network_service_associations/builders.rs b/sdk/vpclattice/src/operation/list_service_network_service_associations/builders.rs index 2a6c09a19292..505fd823bbeb 100644 --- a/sdk/vpclattice/src/operation/list_service_network_service_associations/builders.rs +++ b/sdk/vpclattice/src/operation/list_service_network_service_associations/builders.rs @@ -20,9 +20,9 @@ impl ListServiceNetworkServiceAssociationsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize(self) -> ::std::result::Result< + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware(self) -> ::std::result::Result< crate::client::customize::CustomizableOperation, ::aws_smithy_http::result::SdkError >{ @@ -65,6 +65,15 @@ impl ListServiceNetworkServiceAssociationsFluentBuilder { { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize(self) -> ::std::result::Result< + crate::client::customize::CustomizableOperation, + ::aws_smithy_http::result::SdkError + >{ + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::list_service_network_service_associations::paginator::ListServiceNetworkServiceAssociationsPaginator::send) which returns a `Stream`. diff --git a/sdk/vpclattice/src/operation/list_service_network_vpc_associations/builders.rs b/sdk/vpclattice/src/operation/list_service_network_vpc_associations/builders.rs index 7bceabeb058b..a80217f021ae 100644 --- a/sdk/vpclattice/src/operation/list_service_network_vpc_associations/builders.rs +++ b/sdk/vpclattice/src/operation/list_service_network_vpc_associations/builders.rs @@ -19,9 +19,9 @@ impl ListServiceNetworkVpcAssociationsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize(self) -> ::std::result::Result< + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware(self) -> ::std::result::Result< crate::client::customize::CustomizableOperation, ::aws_smithy_http::result::SdkError >{ @@ -64,6 +64,15 @@ impl ListServiceNetworkVpcAssociationsFluentBuilder { { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize(self) -> ::std::result::Result< + crate::client::customize::CustomizableOperation, + ::aws_smithy_http::result::SdkError + >{ + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::list_service_network_vpc_associations::paginator::ListServiceNetworkVpcAssociationsPaginator::send) which returns a `Stream`. diff --git a/sdk/vpclattice/src/operation/list_service_networks/builders.rs b/sdk/vpclattice/src/operation/list_service_networks/builders.rs index 234652a3a672..fff050d34a7b 100644 --- a/sdk/vpclattice/src/operation/list_service_networks/builders.rs +++ b/sdk/vpclattice/src/operation/list_service_networks/builders.rs @@ -19,9 +19,9 @@ impl ListServiceNetworksFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl ListServiceNetworksFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_service_networks::ListServiceNetworks, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::list_service_networks::ListServiceNetworksError, + >, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::list_service_networks::paginator::ListServiceNetworksPaginator::send) which returns a `Stream`. diff --git a/sdk/vpclattice/src/operation/list_services/builders.rs b/sdk/vpclattice/src/operation/list_services/builders.rs index de95313ee7b4..39ab707ef46f 100644 --- a/sdk/vpclattice/src/operation/list_services/builders.rs +++ b/sdk/vpclattice/src/operation/list_services/builders.rs @@ -19,9 +19,9 @@ impl ListServicesFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl ListServicesFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_services::ListServices, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::list_services::paginator::ListServicesPaginator::send) which returns a `Stream`. diff --git a/sdk/vpclattice/src/operation/list_tags_for_resource/builders.rs b/sdk/vpclattice/src/operation/list_tags_for_resource/builders.rs index c47c190d83b2..0a70d0c44010 100644 --- a/sdk/vpclattice/src/operation/list_tags_for_resource/builders.rs +++ b/sdk/vpclattice/src/operation/list_tags_for_resource/builders.rs @@ -19,9 +19,9 @@ impl ListTagsForResourceFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl ListTagsForResourceFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_tags_for_resource::ListTagsForResource, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::list_tags_for_resource::ListTagsForResourceError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                The Amazon Resource Name (ARN) of the resource.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                pub fn resource_arn(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.resource_arn(input.into()); diff --git a/sdk/vpclattice/src/operation/list_target_groups/builders.rs b/sdk/vpclattice/src/operation/list_target_groups/builders.rs index 9d68b914f5b2..cfb5b901103f 100644 --- a/sdk/vpclattice/src/operation/list_target_groups/builders.rs +++ b/sdk/vpclattice/src/operation/list_target_groups/builders.rs @@ -19,9 +19,9 @@ impl ListTargetGroupsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl ListTargetGroupsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_target_groups::ListTargetGroups, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::list_target_groups::ListTargetGroupsError, + >, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::list_target_groups::paginator::ListTargetGroupsPaginator::send) which returns a `Stream`. diff --git a/sdk/vpclattice/src/operation/list_targets/builders.rs b/sdk/vpclattice/src/operation/list_targets/builders.rs index 9ccdd55bb257..86543b5238a1 100644 --- a/sdk/vpclattice/src/operation/list_targets/builders.rs +++ b/sdk/vpclattice/src/operation/list_targets/builders.rs @@ -19,9 +19,9 @@ impl ListTargetsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl ListTargetsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_targets::ListTargets, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::list_targets::paginator::ListTargetsPaginator::send) which returns a `Stream`. diff --git a/sdk/vpclattice/src/operation/put_auth_policy/builders.rs b/sdk/vpclattice/src/operation/put_auth_policy/builders.rs index 9d8a9360a57e..ea4a0728378d 100644 --- a/sdk/vpclattice/src/operation/put_auth_policy/builders.rs +++ b/sdk/vpclattice/src/operation/put_auth_policy/builders.rs @@ -19,9 +19,9 @@ impl PutAuthPolicyFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl PutAuthPolicyFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::put_auth_policy::PutAuthPolicy, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                The ID or Amazon Resource Name (ARN) of the service network or service for which the policy is created.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                pub fn resource_identifier( mut self, diff --git a/sdk/vpclattice/src/operation/put_resource_policy/builders.rs b/sdk/vpclattice/src/operation/put_resource_policy/builders.rs index 2edcabe094b2..0282f809cd5b 100644 --- a/sdk/vpclattice/src/operation/put_resource_policy/builders.rs +++ b/sdk/vpclattice/src/operation/put_resource_policy/builders.rs @@ -19,9 +19,9 @@ impl PutResourcePolicyFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl PutResourcePolicyFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::put_resource_policy::PutResourcePolicy, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::put_resource_policy::PutResourcePolicyError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                The ID or Amazon Resource Name (ARN) of the service network or service for which the policy is created.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                pub fn resource_arn(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.resource_arn(input.into()); diff --git a/sdk/vpclattice/src/operation/register_targets/builders.rs b/sdk/vpclattice/src/operation/register_targets/builders.rs index 2f396f83dafd..e088039baceb 100644 --- a/sdk/vpclattice/src/operation/register_targets/builders.rs +++ b/sdk/vpclattice/src/operation/register_targets/builders.rs @@ -19,9 +19,9 @@ impl RegisterTargetsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl RegisterTargetsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::register_targets::RegisterTargets, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::register_targets::RegisterTargetsError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                The ID or Amazon Resource Name (ARN) of the target group.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                pub fn target_group_identifier( mut self, diff --git a/sdk/vpclattice/src/operation/tag_resource/builders.rs b/sdk/vpclattice/src/operation/tag_resource/builders.rs index e8cfeebe2286..7bc4db24dffc 100644 --- a/sdk/vpclattice/src/operation/tag_resource/builders.rs +++ b/sdk/vpclattice/src/operation/tag_resource/builders.rs @@ -19,9 +19,9 @@ impl TagResourceFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl TagResourceFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::tag_resource::TagResource, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                The Amazon Resource Name (ARN) of the resource.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                pub fn resource_arn(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.resource_arn(input.into()); diff --git a/sdk/vpclattice/src/operation/untag_resource/builders.rs b/sdk/vpclattice/src/operation/untag_resource/builders.rs index bd1890e348f3..f9662dd3fbae 100644 --- a/sdk/vpclattice/src/operation/untag_resource/builders.rs +++ b/sdk/vpclattice/src/operation/untag_resource/builders.rs @@ -19,9 +19,9 @@ impl UntagResourceFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl UntagResourceFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::untag_resource::UntagResource, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                The Amazon Resource Name (ARN) of the resource.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                pub fn resource_arn(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.resource_arn(input.into()); diff --git a/sdk/vpclattice/src/operation/update_access_log_subscription/builders.rs b/sdk/vpclattice/src/operation/update_access_log_subscription/builders.rs index 7419027d33e9..b95426c984ba 100644 --- a/sdk/vpclattice/src/operation/update_access_log_subscription/builders.rs +++ b/sdk/vpclattice/src/operation/update_access_log_subscription/builders.rs @@ -19,9 +19,9 @@ impl UpdateAccessLogSubscriptionFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl UpdateAccessLogSubscriptionFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::update_access_log_subscription::UpdateAccessLogSubscription, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::update_access_log_subscription::UpdateAccessLogSubscriptionError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                The ID or Amazon Resource Name (ARN) of the access log subscription.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                pub fn access_log_subscription_identifier( mut self, diff --git a/sdk/vpclattice/src/operation/update_listener/builders.rs b/sdk/vpclattice/src/operation/update_listener/builders.rs index fba8837ddfbe..3c1f7d73a623 100644 --- a/sdk/vpclattice/src/operation/update_listener/builders.rs +++ b/sdk/vpclattice/src/operation/update_listener/builders.rs @@ -19,9 +19,9 @@ impl UpdateListenerFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl UpdateListenerFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::update_listener::UpdateListener, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                The ID or Amazon Resource Name (ARN) of the service.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                pub fn service_identifier( mut self, diff --git a/sdk/vpclattice/src/operation/update_rule/builders.rs b/sdk/vpclattice/src/operation/update_rule/builders.rs index 6a37b69e73e2..631c35f61bbf 100644 --- a/sdk/vpclattice/src/operation/update_rule/builders.rs +++ b/sdk/vpclattice/src/operation/update_rule/builders.rs @@ -19,9 +19,9 @@ impl UpdateRuleFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl UpdateRuleFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::update_rule::UpdateRule, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                The ID or Amazon Resource Name (ARN) of the service.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                pub fn service_identifier( mut self, diff --git a/sdk/vpclattice/src/operation/update_service/builders.rs b/sdk/vpclattice/src/operation/update_service/builders.rs index c8187ce4c532..ab6fb159c60b 100644 --- a/sdk/vpclattice/src/operation/update_service/builders.rs +++ b/sdk/vpclattice/src/operation/update_service/builders.rs @@ -19,9 +19,9 @@ impl UpdateServiceFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl UpdateServiceFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::update_service::UpdateService, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                The ID or Amazon Resource Name (ARN) of the service.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                pub fn service_identifier( mut self, diff --git a/sdk/vpclattice/src/operation/update_service_network/builders.rs b/sdk/vpclattice/src/operation/update_service_network/builders.rs index de31ee78d6ca..a9299f6fe421 100644 --- a/sdk/vpclattice/src/operation/update_service_network/builders.rs +++ b/sdk/vpclattice/src/operation/update_service_network/builders.rs @@ -19,9 +19,9 @@ impl UpdateServiceNetworkFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl UpdateServiceNetworkFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::update_service_network::UpdateServiceNetwork, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::update_service_network::UpdateServiceNetworkError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                The ID or Amazon Resource Name (ARN) of the service network.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                pub fn service_network_identifier( mut self, diff --git a/sdk/vpclattice/src/operation/update_service_network_vpc_association/builders.rs b/sdk/vpclattice/src/operation/update_service_network_vpc_association/builders.rs index 31b9c4644018..981e6474fa61 100644 --- a/sdk/vpclattice/src/operation/update_service_network_vpc_association/builders.rs +++ b/sdk/vpclattice/src/operation/update_service_network_vpc_association/builders.rs @@ -19,9 +19,9 @@ impl UpdateServiceNetworkVpcAssociationFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize(self) -> ::std::result::Result< + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware(self) -> ::std::result::Result< crate::client::customize::CustomizableOperation, ::aws_smithy_http::result::SdkError >{ @@ -64,6 +64,15 @@ impl UpdateServiceNetworkVpcAssociationFluentBuilder { { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize(self) -> ::std::result::Result< + crate::client::customize::CustomizableOperation, + ::aws_smithy_http::result::SdkError + >{ + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                The ID or Amazon Resource Name (ARN) of the association.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                pub fn service_network_vpc_association_identifier( mut self, diff --git a/sdk/vpclattice/src/operation/update_target_group/builders.rs b/sdk/vpclattice/src/operation/update_target_group/builders.rs index ff5f8c1c71ba..942ecf11317f 100644 --- a/sdk/vpclattice/src/operation/update_target_group/builders.rs +++ b/sdk/vpclattice/src/operation/update_target_group/builders.rs @@ -19,9 +19,9 @@ impl UpdateTargetGroupFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl UpdateTargetGroupFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::update_target_group::UpdateTargetGroup, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::update_target_group::UpdateTargetGroupError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                The ID or Amazon Resource Name (ARN) of the target group.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                pub fn target_group_identifier( mut self, diff --git a/sdk/waf/src/operation/create_byte_match_set/builders.rs b/sdk/waf/src/operation/create_byte_match_set/builders.rs index 4726898c5a44..934d9c595d77 100644 --- a/sdk/waf/src/operation/create_byte_match_set/builders.rs +++ b/sdk/waf/src/operation/create_byte_match_set/builders.rs @@ -31,9 +31,9 @@ impl CreateByteMatchSetFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -95,6 +95,22 @@ impl CreateByteMatchSetFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::create_byte_match_set::CreateByteMatchSet, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::create_byte_match_set::CreateByteMatchSetError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                A friendly name or description of the ByteMatchSet. You can't change Name after you create a ByteMatchSet.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                pub fn name(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.name(input.into()); diff --git a/sdk/waf/src/operation/create_geo_match_set/builders.rs b/sdk/waf/src/operation/create_geo_match_set/builders.rs index 7b83f8e1ac63..305625e8c6ed 100644 --- a/sdk/waf/src/operation/create_geo_match_set/builders.rs +++ b/sdk/waf/src/operation/create_geo_match_set/builders.rs @@ -31,9 +31,9 @@ impl CreateGeoMatchSetFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -95,6 +95,22 @@ impl CreateGeoMatchSetFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::create_geo_match_set::CreateGeoMatchSet, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::create_geo_match_set::CreateGeoMatchSetError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                A friendly name or description of the GeoMatchSet. You can't change Name after you create the GeoMatchSet.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                pub fn name(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.name(input.into()); diff --git a/sdk/waf/src/operation/create_ip_set/builders.rs b/sdk/waf/src/operation/create_ip_set/builders.rs index d97c0c0b06e1..9e66e404ca80 100644 --- a/sdk/waf/src/operation/create_ip_set/builders.rs +++ b/sdk/waf/src/operation/create_ip_set/builders.rs @@ -31,9 +31,9 @@ impl CreateIPSetFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -89,6 +89,20 @@ impl CreateIPSetFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::create_ip_set::CreateIPSet, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                A friendly name or description of the IPSet. You can't change Name after you create the IPSet.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                pub fn name(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.name(input.into()); diff --git a/sdk/waf/src/operation/create_rate_based_rule/builders.rs b/sdk/waf/src/operation/create_rate_based_rule/builders.rs index 1473f222551b..870b6fa84d43 100644 --- a/sdk/waf/src/operation/create_rate_based_rule/builders.rs +++ b/sdk/waf/src/operation/create_rate_based_rule/builders.rs @@ -48,9 +48,9 @@ impl CreateRateBasedRuleFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -112,6 +112,22 @@ impl CreateRateBasedRuleFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::create_rate_based_rule::CreateRateBasedRule, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::create_rate_based_rule::CreateRateBasedRuleError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                A friendly name or description of the RateBasedRule. You can't change the name of a RateBasedRule after you create it.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                pub fn name(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.name(input.into()); diff --git a/sdk/waf/src/operation/create_regex_match_set/builders.rs b/sdk/waf/src/operation/create_regex_match_set/builders.rs index 070ceb049d68..028316dd133c 100644 --- a/sdk/waf/src/operation/create_regex_match_set/builders.rs +++ b/sdk/waf/src/operation/create_regex_match_set/builders.rs @@ -31,9 +31,9 @@ impl CreateRegexMatchSetFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -95,6 +95,22 @@ impl CreateRegexMatchSetFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::create_regex_match_set::CreateRegexMatchSet, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::create_regex_match_set::CreateRegexMatchSetError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                A friendly name or description of the RegexMatchSet. You can't change Name after you create a RegexMatchSet.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                pub fn name(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.name(input.into()); diff --git a/sdk/waf/src/operation/create_regex_pattern_set/builders.rs b/sdk/waf/src/operation/create_regex_pattern_set/builders.rs index dd95ed0a96d9..b779f2c92ff5 100644 --- a/sdk/waf/src/operation/create_regex_pattern_set/builders.rs +++ b/sdk/waf/src/operation/create_regex_pattern_set/builders.rs @@ -31,9 +31,9 @@ impl CreateRegexPatternSetFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -95,6 +95,22 @@ impl CreateRegexPatternSetFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::create_regex_pattern_set::CreateRegexPatternSet, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::create_regex_pattern_set::CreateRegexPatternSetError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                A friendly name or description of the RegexPatternSet. You can't change Name after you create a RegexPatternSet.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                pub fn name(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.name(input.into()); diff --git a/sdk/waf/src/operation/create_rule/builders.rs b/sdk/waf/src/operation/create_rule/builders.rs index 5ecb72b48cff..6e9d03ff75bb 100644 --- a/sdk/waf/src/operation/create_rule/builders.rs +++ b/sdk/waf/src/operation/create_rule/builders.rs @@ -38,9 +38,9 @@ impl CreateRuleFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -96,6 +96,20 @@ impl CreateRuleFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::create_rule::CreateRule, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                A friendly name or description of the Rule. You can't change the name of a Rule after you create it.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                pub fn name(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.name(input.into()); diff --git a/sdk/waf/src/operation/create_rule_group/builders.rs b/sdk/waf/src/operation/create_rule_group/builders.rs index b840b09f8f23..eeba413ddc4f 100644 --- a/sdk/waf/src/operation/create_rule_group/builders.rs +++ b/sdk/waf/src/operation/create_rule_group/builders.rs @@ -30,9 +30,9 @@ impl CreateRuleGroupFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -94,6 +94,22 @@ impl CreateRuleGroupFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::create_rule_group::CreateRuleGroup, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::create_rule_group::CreateRuleGroupError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                A friendly name or description of the RuleGroup. You can't change Name after you create a RuleGroup.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                pub fn name(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.name(input.into()); diff --git a/sdk/waf/src/operation/create_size_constraint_set/builders.rs b/sdk/waf/src/operation/create_size_constraint_set/builders.rs index 351e6b7f17ec..7ba5ec6f25d9 100644 --- a/sdk/waf/src/operation/create_size_constraint_set/builders.rs +++ b/sdk/waf/src/operation/create_size_constraint_set/builders.rs @@ -32,9 +32,9 @@ impl CreateSizeConstraintSetFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -96,6 +96,22 @@ impl CreateSizeConstraintSetFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::create_size_constraint_set::CreateSizeConstraintSet, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::create_size_constraint_set::CreateSizeConstraintSetError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                A friendly name or description of the SizeConstraintSet. You can't change Name after you create a SizeConstraintSet.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                pub fn name(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.name(input.into()); diff --git a/sdk/waf/src/operation/create_sql_injection_match_set/builders.rs b/sdk/waf/src/operation/create_sql_injection_match_set/builders.rs index 504d8904d686..91198d4d77a7 100644 --- a/sdk/waf/src/operation/create_sql_injection_match_set/builders.rs +++ b/sdk/waf/src/operation/create_sql_injection_match_set/builders.rs @@ -31,9 +31,9 @@ impl CreateSqlInjectionMatchSetFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -95,6 +95,22 @@ impl CreateSqlInjectionMatchSetFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::create_sql_injection_match_set::CreateSqlInjectionMatchSet, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::create_sql_injection_match_set::CreateSqlInjectionMatchSetError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                A friendly name or description for the SqlInjectionMatchSet that you're creating. You can't change Name after you create the SqlInjectionMatchSet.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                pub fn name(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.name(input.into()); diff --git a/sdk/waf/src/operation/create_web_acl/builders.rs b/sdk/waf/src/operation/create_web_acl/builders.rs index 11bc8a8394bd..89412a2b7fc2 100644 --- a/sdk/waf/src/operation/create_web_acl/builders.rs +++ b/sdk/waf/src/operation/create_web_acl/builders.rs @@ -34,9 +34,9 @@ impl CreateWebACLFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -92,6 +92,20 @@ impl CreateWebACLFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::create_web_acl::CreateWebACL, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                A friendly name or description of the WebACL. You can't change Name after you create the WebACL.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                pub fn name(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.name(input.into()); diff --git a/sdk/waf/src/operation/create_web_acl_migration_stack/builders.rs b/sdk/waf/src/operation/create_web_acl_migration_stack/builders.rs index 654f3f9acd4b..7ba629c120cb 100644 --- a/sdk/waf/src/operation/create_web_acl_migration_stack/builders.rs +++ b/sdk/waf/src/operation/create_web_acl_migration_stack/builders.rs @@ -20,9 +20,9 @@ impl CreateWebACLMigrationStackFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -84,6 +84,22 @@ impl CreateWebACLMigrationStackFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::create_web_acl_migration_stack::CreateWebACLMigrationStack, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::create_web_acl_migration_stack::CreateWebACLMigrationStackError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                The UUID of the WAF Classic web ACL that you want to migrate to WAF v2.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                pub fn web_acl_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.web_acl_id(input.into()); diff --git a/sdk/waf/src/operation/create_xss_match_set/builders.rs b/sdk/waf/src/operation/create_xss_match_set/builders.rs index 43bae6ad42a3..181a4a5f5c47 100644 --- a/sdk/waf/src/operation/create_xss_match_set/builders.rs +++ b/sdk/waf/src/operation/create_xss_match_set/builders.rs @@ -31,9 +31,9 @@ impl CreateXssMatchSetFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -95,6 +95,22 @@ impl CreateXssMatchSetFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::create_xss_match_set::CreateXssMatchSet, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::create_xss_match_set::CreateXssMatchSetError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                A friendly name or description for the XssMatchSet that you're creating. You can't change Name after you create the XssMatchSet.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                pub fn name(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.name(input.into()); diff --git a/sdk/waf/src/operation/delete_byte_match_set/builders.rs b/sdk/waf/src/operation/delete_byte_match_set/builders.rs index 5f6f5740d5fb..5cc3c03c64de 100644 --- a/sdk/waf/src/operation/delete_byte_match_set/builders.rs +++ b/sdk/waf/src/operation/delete_byte_match_set/builders.rs @@ -30,9 +30,9 @@ impl DeleteByteMatchSetFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -94,6 +94,22 @@ impl DeleteByteMatchSetFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::delete_byte_match_set::DeleteByteMatchSet, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::delete_byte_match_set::DeleteByteMatchSetError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                The ByteMatchSetId of the ByteMatchSet that you want to delete. ByteMatchSetId is returned by CreateByteMatchSet and by ListByteMatchSets.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                pub fn byte_match_set_id( mut self, diff --git a/sdk/waf/src/operation/delete_geo_match_set/builders.rs b/sdk/waf/src/operation/delete_geo_match_set/builders.rs index 0ba83f8a965a..d231ae39cd1d 100644 --- a/sdk/waf/src/operation/delete_geo_match_set/builders.rs +++ b/sdk/waf/src/operation/delete_geo_match_set/builders.rs @@ -30,9 +30,9 @@ impl DeleteGeoMatchSetFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -94,6 +94,22 @@ impl DeleteGeoMatchSetFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::delete_geo_match_set::DeleteGeoMatchSet, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::delete_geo_match_set::DeleteGeoMatchSetError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                The GeoMatchSetID of the GeoMatchSet that you want to delete. GeoMatchSetId is returned by CreateGeoMatchSet and by ListGeoMatchSets.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                pub fn geo_match_set_id( mut self, diff --git a/sdk/waf/src/operation/delete_ip_set/builders.rs b/sdk/waf/src/operation/delete_ip_set/builders.rs index bc4d949c57e2..1c85f0d10d2b 100644 --- a/sdk/waf/src/operation/delete_ip_set/builders.rs +++ b/sdk/waf/src/operation/delete_ip_set/builders.rs @@ -30,9 +30,9 @@ impl DeleteIPSetFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -88,6 +88,20 @@ impl DeleteIPSetFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::delete_ip_set::DeleteIPSet, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                The IPSetId of the IPSet that you want to delete. IPSetId is returned by CreateIPSet and by ListIPSets.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                pub fn ip_set_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.ip_set_id(input.into()); diff --git a/sdk/waf/src/operation/delete_logging_configuration/builders.rs b/sdk/waf/src/operation/delete_logging_configuration/builders.rs index 6b508599c18d..6c0749bdc845 100644 --- a/sdk/waf/src/operation/delete_logging_configuration/builders.rs +++ b/sdk/waf/src/operation/delete_logging_configuration/builders.rs @@ -23,9 +23,9 @@ impl DeleteLoggingConfigurationFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -87,6 +87,22 @@ impl DeleteLoggingConfigurationFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::delete_logging_configuration::DeleteLoggingConfiguration, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::delete_logging_configuration::DeleteLoggingConfigurationError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                The Amazon Resource Name (ARN) of the web ACL from which you want to delete the LoggingConfiguration.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                pub fn resource_arn(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.resource_arn(input.into()); diff --git a/sdk/waf/src/operation/delete_permission_policy/builders.rs b/sdk/waf/src/operation/delete_permission_policy/builders.rs index c8fc102464e1..369724e07c50 100644 --- a/sdk/waf/src/operation/delete_permission_policy/builders.rs +++ b/sdk/waf/src/operation/delete_permission_policy/builders.rs @@ -24,9 +24,9 @@ impl DeletePermissionPolicyFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -88,6 +88,22 @@ impl DeletePermissionPolicyFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::delete_permission_policy::DeletePermissionPolicy, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::delete_permission_policy::DeletePermissionPolicyError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                The Amazon Resource Name (ARN) of the RuleGroup from which you want to delete the policy.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                ///

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                The user making the request must be the owner of the RuleGroup.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                pub fn resource_arn(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { diff --git a/sdk/waf/src/operation/delete_rate_based_rule/builders.rs b/sdk/waf/src/operation/delete_rate_based_rule/builders.rs index c49f4bde6e49..7110dad058e5 100644 --- a/sdk/waf/src/operation/delete_rate_based_rule/builders.rs +++ b/sdk/waf/src/operation/delete_rate_based_rule/builders.rs @@ -30,9 +30,9 @@ impl DeleteRateBasedRuleFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -94,6 +94,22 @@ impl DeleteRateBasedRuleFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::delete_rate_based_rule::DeleteRateBasedRule, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::delete_rate_based_rule::DeleteRateBasedRuleError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                The RuleId of the RateBasedRule that you want to delete. RuleId is returned by CreateRateBasedRule and by ListRateBasedRules.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                pub fn rule_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.rule_id(input.into()); diff --git a/sdk/waf/src/operation/delete_regex_match_set/builders.rs b/sdk/waf/src/operation/delete_regex_match_set/builders.rs index 186df0cd1720..2c11e9537a8a 100644 --- a/sdk/waf/src/operation/delete_regex_match_set/builders.rs +++ b/sdk/waf/src/operation/delete_regex_match_set/builders.rs @@ -30,9 +30,9 @@ impl DeleteRegexMatchSetFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -94,6 +94,22 @@ impl DeleteRegexMatchSetFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::delete_regex_match_set::DeleteRegexMatchSet, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::delete_regex_match_set::DeleteRegexMatchSetError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                The RegexMatchSetId of the RegexMatchSet that you want to delete. RegexMatchSetId is returned by CreateRegexMatchSet and by ListRegexMatchSets.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                pub fn regex_match_set_id( mut self, diff --git a/sdk/waf/src/operation/delete_regex_pattern_set/builders.rs b/sdk/waf/src/operation/delete_regex_pattern_set/builders.rs index c96470ddcb6f..e11aecfb8a3f 100644 --- a/sdk/waf/src/operation/delete_regex_pattern_set/builders.rs +++ b/sdk/waf/src/operation/delete_regex_pattern_set/builders.rs @@ -23,9 +23,9 @@ impl DeleteRegexPatternSetFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -87,6 +87,22 @@ impl DeleteRegexPatternSetFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::delete_regex_pattern_set::DeleteRegexPatternSet, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::delete_regex_pattern_set::DeleteRegexPatternSetError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                The RegexPatternSetId of the RegexPatternSet that you want to delete. RegexPatternSetId is returned by CreateRegexPatternSet and by ListRegexPatternSets.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                pub fn regex_pattern_set_id( mut self, diff --git a/sdk/waf/src/operation/delete_rule/builders.rs b/sdk/waf/src/operation/delete_rule/builders.rs index f4ea15e64f18..4592fc578a56 100644 --- a/sdk/waf/src/operation/delete_rule/builders.rs +++ b/sdk/waf/src/operation/delete_rule/builders.rs @@ -30,9 +30,9 @@ impl DeleteRuleFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -88,6 +88,20 @@ impl DeleteRuleFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::delete_rule::DeleteRule, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                The RuleId of the Rule that you want to delete. RuleId is returned by CreateRule and by ListRules.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                pub fn rule_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.rule_id(input.into()); diff --git a/sdk/waf/src/operation/delete_rule_group/builders.rs b/sdk/waf/src/operation/delete_rule_group/builders.rs index 3f08085fdffc..e8ae7dcd451f 100644 --- a/sdk/waf/src/operation/delete_rule_group/builders.rs +++ b/sdk/waf/src/operation/delete_rule_group/builders.rs @@ -30,9 +30,9 @@ impl DeleteRuleGroupFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -94,6 +94,22 @@ impl DeleteRuleGroupFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::delete_rule_group::DeleteRuleGroup, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::delete_rule_group::DeleteRuleGroupError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                The RuleGroupId of the RuleGroup that you want to delete. RuleGroupId is returned by CreateRuleGroup and by ListRuleGroups.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                pub fn rule_group_id( mut self, diff --git a/sdk/waf/src/operation/delete_size_constraint_set/builders.rs b/sdk/waf/src/operation/delete_size_constraint_set/builders.rs index 35fad2f38eda..71c2f576efae 100644 --- a/sdk/waf/src/operation/delete_size_constraint_set/builders.rs +++ b/sdk/waf/src/operation/delete_size_constraint_set/builders.rs @@ -31,9 +31,9 @@ impl DeleteSizeConstraintSetFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -95,6 +95,22 @@ impl DeleteSizeConstraintSetFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::delete_size_constraint_set::DeleteSizeConstraintSet, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::delete_size_constraint_set::DeleteSizeConstraintSetError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                The SizeConstraintSetId of the SizeConstraintSet that you want to delete. SizeConstraintSetId is returned by CreateSizeConstraintSet and by ListSizeConstraintSets.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                pub fn size_constraint_set_id( mut self, diff --git a/sdk/waf/src/operation/delete_sql_injection_match_set/builders.rs b/sdk/waf/src/operation/delete_sql_injection_match_set/builders.rs index 6ab43682f55a..8728d3e498e1 100644 --- a/sdk/waf/src/operation/delete_sql_injection_match_set/builders.rs +++ b/sdk/waf/src/operation/delete_sql_injection_match_set/builders.rs @@ -30,9 +30,9 @@ impl DeleteSqlInjectionMatchSetFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -94,6 +94,22 @@ impl DeleteSqlInjectionMatchSetFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::delete_sql_injection_match_set::DeleteSqlInjectionMatchSet, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::delete_sql_injection_match_set::DeleteSqlInjectionMatchSetError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                The SqlInjectionMatchSetId of the SqlInjectionMatchSet that you want to delete. SqlInjectionMatchSetId is returned by CreateSqlInjectionMatchSet and by ListSqlInjectionMatchSets.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                pub fn sql_injection_match_set_id( mut self, diff --git a/sdk/waf/src/operation/delete_web_acl/builders.rs b/sdk/waf/src/operation/delete_web_acl/builders.rs index 9639babdf104..1ae40e960a12 100644 --- a/sdk/waf/src/operation/delete_web_acl/builders.rs +++ b/sdk/waf/src/operation/delete_web_acl/builders.rs @@ -29,9 +29,9 @@ impl DeleteWebACLFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -87,6 +87,20 @@ impl DeleteWebACLFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::delete_web_acl::DeleteWebACL, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                The WebACLId of the WebACL that you want to delete. WebACLId is returned by CreateWebACL and by ListWebACLs.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                pub fn web_acl_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.web_acl_id(input.into()); diff --git a/sdk/waf/src/operation/delete_xss_match_set/builders.rs b/sdk/waf/src/operation/delete_xss_match_set/builders.rs index 1660dde0bc63..ce03c51d9fa3 100644 --- a/sdk/waf/src/operation/delete_xss_match_set/builders.rs +++ b/sdk/waf/src/operation/delete_xss_match_set/builders.rs @@ -30,9 +30,9 @@ impl DeleteXssMatchSetFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -94,6 +94,22 @@ impl DeleteXssMatchSetFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::delete_xss_match_set::DeleteXssMatchSet, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::delete_xss_match_set::DeleteXssMatchSetError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                The XssMatchSetId of the XssMatchSet that you want to delete. XssMatchSetId is returned by CreateXssMatchSet and by ListXssMatchSets.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                pub fn xss_match_set_id( mut self, diff --git a/sdk/waf/src/operation/get_byte_match_set/builders.rs b/sdk/waf/src/operation/get_byte_match_set/builders.rs index eba772c495aa..db8a784811e5 100644 --- a/sdk/waf/src/operation/get_byte_match_set/builders.rs +++ b/sdk/waf/src/operation/get_byte_match_set/builders.rs @@ -23,9 +23,9 @@ impl GetByteMatchSetFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -87,6 +87,22 @@ impl GetByteMatchSetFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::get_byte_match_set::GetByteMatchSet, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::get_byte_match_set::GetByteMatchSetError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                The ByteMatchSetId of the ByteMatchSet that you want to get. ByteMatchSetId is returned by CreateByteMatchSet and by ListByteMatchSets.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                pub fn byte_match_set_id( mut self, diff --git a/sdk/waf/src/operation/get_change_token/builders.rs b/sdk/waf/src/operation/get_change_token/builders.rs index 2860529cd873..371dfff2552d 100644 --- a/sdk/waf/src/operation/get_change_token/builders.rs +++ b/sdk/waf/src/operation/get_change_token/builders.rs @@ -25,9 +25,9 @@ impl GetChangeTokenFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -89,4 +89,20 @@ impl GetChangeTokenFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::get_change_token::GetChangeToken, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::get_change_token::GetChangeTokenError, + >, + > { + self.customize_middleware().await + } } diff --git a/sdk/waf/src/operation/get_change_token_status/builders.rs b/sdk/waf/src/operation/get_change_token_status/builders.rs index af01f898c287..e53ec09892b3 100644 --- a/sdk/waf/src/operation/get_change_token_status/builders.rs +++ b/sdk/waf/src/operation/get_change_token_status/builders.rs @@ -28,9 +28,9 @@ impl GetChangeTokenStatusFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -92,6 +92,22 @@ impl GetChangeTokenStatusFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::get_change_token_status::GetChangeTokenStatus, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::get_change_token_status::GetChangeTokenStatusError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                The change token for which you want to get the status. This change token was previously returned in the GetChangeToken response.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                pub fn change_token(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.change_token(input.into()); diff --git a/sdk/waf/src/operation/get_geo_match_set/builders.rs b/sdk/waf/src/operation/get_geo_match_set/builders.rs index ddba8b675ef1..5e7d9ae8e2ce 100644 --- a/sdk/waf/src/operation/get_geo_match_set/builders.rs +++ b/sdk/waf/src/operation/get_geo_match_set/builders.rs @@ -23,9 +23,9 @@ impl GetGeoMatchSetFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -87,6 +87,22 @@ impl GetGeoMatchSetFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::get_geo_match_set::GetGeoMatchSet, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::get_geo_match_set::GetGeoMatchSetError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                The GeoMatchSetId of the GeoMatchSet that you want to get. GeoMatchSetId is returned by CreateGeoMatchSet and by ListGeoMatchSets.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                pub fn geo_match_set_id( mut self, diff --git a/sdk/waf/src/operation/get_ip_set/builders.rs b/sdk/waf/src/operation/get_ip_set/builders.rs index 6aa3f8d8772b..40ef62308746 100644 --- a/sdk/waf/src/operation/get_ip_set/builders.rs +++ b/sdk/waf/src/operation/get_ip_set/builders.rs @@ -23,9 +23,9 @@ impl GetIPSetFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -81,6 +81,20 @@ impl GetIPSetFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::get_ip_set::GetIPSet, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                The IPSetId of the IPSet that you want to get. IPSetId is returned by CreateIPSet and by ListIPSets.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                pub fn ip_set_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.ip_set_id(input.into()); diff --git a/sdk/waf/src/operation/get_logging_configuration/builders.rs b/sdk/waf/src/operation/get_logging_configuration/builders.rs index cbba09e447bf..ef99c49f038a 100644 --- a/sdk/waf/src/operation/get_logging_configuration/builders.rs +++ b/sdk/waf/src/operation/get_logging_configuration/builders.rs @@ -24,9 +24,9 @@ impl GetLoggingConfigurationFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -88,6 +88,22 @@ impl GetLoggingConfigurationFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::get_logging_configuration::GetLoggingConfiguration, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::get_logging_configuration::GetLoggingConfigurationError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                The Amazon Resource Name (ARN) of the web ACL for which you want to get the LoggingConfiguration.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                pub fn resource_arn(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.resource_arn(input.into()); diff --git a/sdk/waf/src/operation/get_permission_policy/builders.rs b/sdk/waf/src/operation/get_permission_policy/builders.rs index cb9e15c15d26..333981fb6022 100644 --- a/sdk/waf/src/operation/get_permission_policy/builders.rs +++ b/sdk/waf/src/operation/get_permission_policy/builders.rs @@ -23,9 +23,9 @@ impl GetPermissionPolicyFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -87,6 +87,22 @@ impl GetPermissionPolicyFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::get_permission_policy::GetPermissionPolicy, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::get_permission_policy::GetPermissionPolicyError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                The Amazon Resource Name (ARN) of the RuleGroup for which you want to get the policy.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                pub fn resource_arn(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.resource_arn(input.into()); diff --git a/sdk/waf/src/operation/get_rate_based_rule/builders.rs b/sdk/waf/src/operation/get_rate_based_rule/builders.rs index 6e14605cd3b6..7de1a17e7137 100644 --- a/sdk/waf/src/operation/get_rate_based_rule/builders.rs +++ b/sdk/waf/src/operation/get_rate_based_rule/builders.rs @@ -23,9 +23,9 @@ impl GetRateBasedRuleFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -87,6 +87,22 @@ impl GetRateBasedRuleFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::get_rate_based_rule::GetRateBasedRule, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::get_rate_based_rule::GetRateBasedRuleError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                The RuleId of the RateBasedRule that you want to get. RuleId is returned by CreateRateBasedRule and by ListRateBasedRules.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                pub fn rule_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.rule_id(input.into()); diff --git a/sdk/waf/src/operation/get_rate_based_rule_managed_keys/builders.rs b/sdk/waf/src/operation/get_rate_based_rule_managed_keys/builders.rs index 325da7f30cf5..bb040ad44550 100644 --- a/sdk/waf/src/operation/get_rate_based_rule_managed_keys/builders.rs +++ b/sdk/waf/src/operation/get_rate_based_rule_managed_keys/builders.rs @@ -23,9 +23,9 @@ impl GetRateBasedRuleManagedKeysFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -87,6 +87,22 @@ impl GetRateBasedRuleManagedKeysFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::get_rate_based_rule_managed_keys::GetRateBasedRuleManagedKeys, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::get_rate_based_rule_managed_keys::GetRateBasedRuleManagedKeysError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                The RuleId of the RateBasedRule for which you want to get a list of ManagedKeys. RuleId is returned by CreateRateBasedRule and by ListRateBasedRules.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                pub fn rule_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.rule_id(input.into()); diff --git a/sdk/waf/src/operation/get_regex_match_set/builders.rs b/sdk/waf/src/operation/get_regex_match_set/builders.rs index cc3c57293feb..caafc53d1d3f 100644 --- a/sdk/waf/src/operation/get_regex_match_set/builders.rs +++ b/sdk/waf/src/operation/get_regex_match_set/builders.rs @@ -23,9 +23,9 @@ impl GetRegexMatchSetFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -87,6 +87,22 @@ impl GetRegexMatchSetFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::get_regex_match_set::GetRegexMatchSet, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::get_regex_match_set::GetRegexMatchSetError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                The RegexMatchSetId of the RegexMatchSet that you want to get. RegexMatchSetId is returned by CreateRegexMatchSet and by ListRegexMatchSets.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                pub fn regex_match_set_id( mut self, diff --git a/sdk/waf/src/operation/get_regex_pattern_set/builders.rs b/sdk/waf/src/operation/get_regex_pattern_set/builders.rs index 2d9944323acc..49cd495d04cd 100644 --- a/sdk/waf/src/operation/get_regex_pattern_set/builders.rs +++ b/sdk/waf/src/operation/get_regex_pattern_set/builders.rs @@ -23,9 +23,9 @@ impl GetRegexPatternSetFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -87,6 +87,22 @@ impl GetRegexPatternSetFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::get_regex_pattern_set::GetRegexPatternSet, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::get_regex_pattern_set::GetRegexPatternSetError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                The RegexPatternSetId of the RegexPatternSet that you want to get. RegexPatternSetId is returned by CreateRegexPatternSet and by ListRegexPatternSets.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                pub fn regex_pattern_set_id( mut self, diff --git a/sdk/waf/src/operation/get_rule/builders.rs b/sdk/waf/src/operation/get_rule/builders.rs index a690eea13f29..636a7f937b4c 100644 --- a/sdk/waf/src/operation/get_rule/builders.rs +++ b/sdk/waf/src/operation/get_rule/builders.rs @@ -23,9 +23,9 @@ impl GetRuleFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -81,6 +81,20 @@ impl GetRuleFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::get_rule::GetRule, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                The RuleId of the Rule that you want to get. RuleId is returned by CreateRule and by ListRules.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                pub fn rule_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.rule_id(input.into()); diff --git a/sdk/waf/src/operation/get_rule_group/builders.rs b/sdk/waf/src/operation/get_rule_group/builders.rs index 563e0fa3024d..9bb4aedcef5f 100644 --- a/sdk/waf/src/operation/get_rule_group/builders.rs +++ b/sdk/waf/src/operation/get_rule_group/builders.rs @@ -24,9 +24,9 @@ impl GetRuleGroupFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -82,6 +82,20 @@ impl GetRuleGroupFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::get_rule_group::GetRuleGroup, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                The RuleGroupId of the RuleGroup that you want to get. RuleGroupId is returned by CreateRuleGroup and by ListRuleGroups.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                pub fn rule_group_id( mut self, diff --git a/sdk/waf/src/operation/get_sampled_requests/builders.rs b/sdk/waf/src/operation/get_sampled_requests/builders.rs index 3ab7f933b04a..eafed53629a5 100644 --- a/sdk/waf/src/operation/get_sampled_requests/builders.rs +++ b/sdk/waf/src/operation/get_sampled_requests/builders.rs @@ -24,9 +24,9 @@ impl GetSampledRequestsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -88,6 +88,22 @@ impl GetSampledRequestsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::get_sampled_requests::GetSampledRequests, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::get_sampled_requests::GetSampledRequestsError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                The WebACLId of the WebACL for which you want GetSampledRequests to return a sample of requests.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                pub fn web_acl_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.web_acl_id(input.into()); diff --git a/sdk/waf/src/operation/get_size_constraint_set/builders.rs b/sdk/waf/src/operation/get_size_constraint_set/builders.rs index 747c80af55f5..d3722bbc113e 100644 --- a/sdk/waf/src/operation/get_size_constraint_set/builders.rs +++ b/sdk/waf/src/operation/get_size_constraint_set/builders.rs @@ -23,9 +23,9 @@ impl GetSizeConstraintSetFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -87,6 +87,22 @@ impl GetSizeConstraintSetFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::get_size_constraint_set::GetSizeConstraintSet, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::get_size_constraint_set::GetSizeConstraintSetError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                The SizeConstraintSetId of the SizeConstraintSet that you want to get. SizeConstraintSetId is returned by CreateSizeConstraintSet and by ListSizeConstraintSets.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                pub fn size_constraint_set_id( mut self, diff --git a/sdk/waf/src/operation/get_sql_injection_match_set/builders.rs b/sdk/waf/src/operation/get_sql_injection_match_set/builders.rs index b04be2c86fb7..de1bbe4e80e2 100644 --- a/sdk/waf/src/operation/get_sql_injection_match_set/builders.rs +++ b/sdk/waf/src/operation/get_sql_injection_match_set/builders.rs @@ -23,9 +23,9 @@ impl GetSqlInjectionMatchSetFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -87,6 +87,22 @@ impl GetSqlInjectionMatchSetFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::get_sql_injection_match_set::GetSqlInjectionMatchSet, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::get_sql_injection_match_set::GetSqlInjectionMatchSetError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                The SqlInjectionMatchSetId of the SqlInjectionMatchSet that you want to get. SqlInjectionMatchSetId is returned by CreateSqlInjectionMatchSet and by ListSqlInjectionMatchSets.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                pub fn sql_injection_match_set_id( mut self, diff --git a/sdk/waf/src/operation/get_web_acl/builders.rs b/sdk/waf/src/operation/get_web_acl/builders.rs index 1e21219856f5..19ea53e93602 100644 --- a/sdk/waf/src/operation/get_web_acl/builders.rs +++ b/sdk/waf/src/operation/get_web_acl/builders.rs @@ -23,9 +23,9 @@ impl GetWebACLFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -81,6 +81,20 @@ impl GetWebACLFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::get_web_acl::GetWebACL, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                The WebACLId of the WebACL that you want to get. WebACLId is returned by CreateWebACL and by ListWebACLs.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                pub fn web_acl_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.web_acl_id(input.into()); diff --git a/sdk/waf/src/operation/get_xss_match_set/builders.rs b/sdk/waf/src/operation/get_xss_match_set/builders.rs index 84ccaec76d55..1e3d251abd2c 100644 --- a/sdk/waf/src/operation/get_xss_match_set/builders.rs +++ b/sdk/waf/src/operation/get_xss_match_set/builders.rs @@ -23,9 +23,9 @@ impl GetXssMatchSetFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -87,6 +87,22 @@ impl GetXssMatchSetFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::get_xss_match_set::GetXssMatchSet, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::get_xss_match_set::GetXssMatchSetError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                The XssMatchSetId of the XssMatchSet that you want to get. XssMatchSetId is returned by CreateXssMatchSet and by ListXssMatchSets.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                pub fn xss_match_set_id( mut self, diff --git a/sdk/waf/src/operation/list_activated_rules_in_rule_group/builders.rs b/sdk/waf/src/operation/list_activated_rules_in_rule_group/builders.rs index 5426a813e6b7..523615ed5616 100644 --- a/sdk/waf/src/operation/list_activated_rules_in_rule_group/builders.rs +++ b/sdk/waf/src/operation/list_activated_rules_in_rule_group/builders.rs @@ -23,9 +23,9 @@ impl ListActivatedRulesInRuleGroupFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize(self) -> ::std::result::Result< + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware(self) -> ::std::result::Result< crate::client::customize::CustomizableOperation, ::aws_smithy_http::result::SdkError >{ @@ -68,6 +68,15 @@ impl ListActivatedRulesInRuleGroupFluentBuilder { { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize(self) -> ::std::result::Result< + crate::client::customize::CustomizableOperation, + ::aws_smithy_http::result::SdkError + >{ + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                The RuleGroupId of the RuleGroup for which you want to get a list of ActivatedRule objects.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                pub fn rule_group_id( mut self, diff --git a/sdk/waf/src/operation/list_byte_match_sets/builders.rs b/sdk/waf/src/operation/list_byte_match_sets/builders.rs index 1dc723ac7101..255be04bbe2e 100644 --- a/sdk/waf/src/operation/list_byte_match_sets/builders.rs +++ b/sdk/waf/src/operation/list_byte_match_sets/builders.rs @@ -23,9 +23,9 @@ impl ListByteMatchSetsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -87,6 +87,22 @@ impl ListByteMatchSetsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_byte_match_sets::ListByteMatchSets, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::list_byte_match_sets::ListByteMatchSetsError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                If you specify a value for Limit and you have more ByteMatchSets than the value of Limit, AWS WAF returns a NextMarker value in the response that allows you to list another group of ByteMatchSets. For the second and subsequent ListByteMatchSets requests, specify the value of NextMarker from the previous response to get information about another batch of ByteMatchSets.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                pub fn next_marker(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.next_marker(input.into()); diff --git a/sdk/waf/src/operation/list_geo_match_sets/builders.rs b/sdk/waf/src/operation/list_geo_match_sets/builders.rs index a24f442b1d87..8b7dc3c4d953 100644 --- a/sdk/waf/src/operation/list_geo_match_sets/builders.rs +++ b/sdk/waf/src/operation/list_geo_match_sets/builders.rs @@ -23,9 +23,9 @@ impl ListGeoMatchSetsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -87,6 +87,22 @@ impl ListGeoMatchSetsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_geo_match_sets::ListGeoMatchSets, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::list_geo_match_sets::ListGeoMatchSetsError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                If you specify a value for Limit and you have more GeoMatchSets than the value of Limit, AWS WAF returns a NextMarker value in the response that allows you to list another group of GeoMatchSet objects. For the second and subsequent ListGeoMatchSets requests, specify the value of NextMarker from the previous response to get information about another batch of GeoMatchSet objects.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                pub fn next_marker(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.next_marker(input.into()); diff --git a/sdk/waf/src/operation/list_ip_sets/builders.rs b/sdk/waf/src/operation/list_ip_sets/builders.rs index 4115d77167aa..f7900da4f91e 100644 --- a/sdk/waf/src/operation/list_ip_sets/builders.rs +++ b/sdk/waf/src/operation/list_ip_sets/builders.rs @@ -23,9 +23,9 @@ impl ListIPSetsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -81,6 +81,20 @@ impl ListIPSetsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_ip_sets::ListIPSets, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                AWS WAF returns a NextMarker value in the response that allows you to list another group of IPSets. For the second and subsequent ListIPSets requests, specify the value of NextMarker from the previous response to get information about another batch of IPSets.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                pub fn next_marker(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.next_marker(input.into()); diff --git a/sdk/waf/src/operation/list_logging_configurations/builders.rs b/sdk/waf/src/operation/list_logging_configurations/builders.rs index 97d15c07595b..ff5ccaa389bb 100644 --- a/sdk/waf/src/operation/list_logging_configurations/builders.rs +++ b/sdk/waf/src/operation/list_logging_configurations/builders.rs @@ -23,9 +23,9 @@ impl ListLoggingConfigurationsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -87,6 +87,22 @@ impl ListLoggingConfigurationsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_logging_configurations::ListLoggingConfigurations, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::list_logging_configurations::ListLoggingConfigurationsError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                If you specify a value for Limit and you have more LoggingConfigurations than the value of Limit, AWS WAF returns a NextMarker value in the response that allows you to list another group of LoggingConfigurations. For the second and subsequent ListLoggingConfigurations requests, specify the value of NextMarker from the previous response to get information about another batch of ListLoggingConfigurations.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                pub fn next_marker(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.next_marker(input.into()); diff --git a/sdk/waf/src/operation/list_rate_based_rules/builders.rs b/sdk/waf/src/operation/list_rate_based_rules/builders.rs index 70b6acd9e35b..cda5a23db82e 100644 --- a/sdk/waf/src/operation/list_rate_based_rules/builders.rs +++ b/sdk/waf/src/operation/list_rate_based_rules/builders.rs @@ -23,9 +23,9 @@ impl ListRateBasedRulesFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -87,6 +87,22 @@ impl ListRateBasedRulesFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_rate_based_rules::ListRateBasedRules, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::list_rate_based_rules::ListRateBasedRulesError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                If you specify a value for Limit and you have more Rules than the value of Limit, AWS WAF returns a NextMarker value in the response that allows you to list another group of Rules. For the second and subsequent ListRateBasedRules requests, specify the value of NextMarker from the previous response to get information about another batch of Rules.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                pub fn next_marker(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.next_marker(input.into()); diff --git a/sdk/waf/src/operation/list_regex_match_sets/builders.rs b/sdk/waf/src/operation/list_regex_match_sets/builders.rs index 728bafc61b3f..32acf6af561a 100644 --- a/sdk/waf/src/operation/list_regex_match_sets/builders.rs +++ b/sdk/waf/src/operation/list_regex_match_sets/builders.rs @@ -23,9 +23,9 @@ impl ListRegexMatchSetsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -87,6 +87,22 @@ impl ListRegexMatchSetsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_regex_match_sets::ListRegexMatchSets, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::list_regex_match_sets::ListRegexMatchSetsError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                If you specify a value for Limit and you have more RegexMatchSet objects than the value of Limit, AWS WAF returns a NextMarker value in the response that allows you to list another group of ByteMatchSets. For the second and subsequent ListRegexMatchSets requests, specify the value of NextMarker from the previous response to get information about another batch of RegexMatchSet objects.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                pub fn next_marker(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.next_marker(input.into()); diff --git a/sdk/waf/src/operation/list_regex_pattern_sets/builders.rs b/sdk/waf/src/operation/list_regex_pattern_sets/builders.rs index a2ef85ee6682..51240b3b39ec 100644 --- a/sdk/waf/src/operation/list_regex_pattern_sets/builders.rs +++ b/sdk/waf/src/operation/list_regex_pattern_sets/builders.rs @@ -23,9 +23,9 @@ impl ListRegexPatternSetsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -87,6 +87,22 @@ impl ListRegexPatternSetsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_regex_pattern_sets::ListRegexPatternSets, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::list_regex_pattern_sets::ListRegexPatternSetsError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                If you specify a value for Limit and you have more RegexPatternSet objects than the value of Limit, AWS WAF returns a NextMarker value in the response that allows you to list another group of RegexPatternSet objects. For the second and subsequent ListRegexPatternSets requests, specify the value of NextMarker from the previous response to get information about another batch of RegexPatternSet objects.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                pub fn next_marker(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.next_marker(input.into()); diff --git a/sdk/waf/src/operation/list_rule_groups/builders.rs b/sdk/waf/src/operation/list_rule_groups/builders.rs index 57ec33adc607..4feaed55ec0e 100644 --- a/sdk/waf/src/operation/list_rule_groups/builders.rs +++ b/sdk/waf/src/operation/list_rule_groups/builders.rs @@ -23,9 +23,9 @@ impl ListRuleGroupsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -87,6 +87,22 @@ impl ListRuleGroupsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_rule_groups::ListRuleGroups, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::list_rule_groups::ListRuleGroupsError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                If you specify a value for Limit and you have more RuleGroups than the value of Limit, AWS WAF returns a NextMarker value in the response that allows you to list another group of RuleGroups. For the second and subsequent ListRuleGroups requests, specify the value of NextMarker from the previous response to get information about another batch of RuleGroups.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                pub fn next_marker(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.next_marker(input.into()); diff --git a/sdk/waf/src/operation/list_rules/builders.rs b/sdk/waf/src/operation/list_rules/builders.rs index 3325ad58aff5..69a01cb556e4 100644 --- a/sdk/waf/src/operation/list_rules/builders.rs +++ b/sdk/waf/src/operation/list_rules/builders.rs @@ -23,9 +23,9 @@ impl ListRulesFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -81,6 +81,20 @@ impl ListRulesFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_rules::ListRules, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                If you specify a value for Limit and you have more Rules than the value of Limit, AWS WAF returns a NextMarker value in the response that allows you to list another group of Rules. For the second and subsequent ListRules requests, specify the value of NextMarker from the previous response to get information about another batch of Rules.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                pub fn next_marker(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.next_marker(input.into()); diff --git a/sdk/waf/src/operation/list_size_constraint_sets/builders.rs b/sdk/waf/src/operation/list_size_constraint_sets/builders.rs index d21a2707f93e..234cfa2139a1 100644 --- a/sdk/waf/src/operation/list_size_constraint_sets/builders.rs +++ b/sdk/waf/src/operation/list_size_constraint_sets/builders.rs @@ -24,9 +24,9 @@ impl ListSizeConstraintSetsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -88,6 +88,22 @@ impl ListSizeConstraintSetsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_size_constraint_sets::ListSizeConstraintSets, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::list_size_constraint_sets::ListSizeConstraintSetsError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                If you specify a value for Limit and you have more SizeConstraintSets than the value of Limit, AWS WAF returns a NextMarker value in the response that allows you to list another group of SizeConstraintSets. For the second and subsequent ListSizeConstraintSets requests, specify the value of NextMarker from the previous response to get information about another batch of SizeConstraintSets.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                pub fn next_marker(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.next_marker(input.into()); diff --git a/sdk/waf/src/operation/list_sql_injection_match_sets/builders.rs b/sdk/waf/src/operation/list_sql_injection_match_sets/builders.rs index 0d29ea87c354..b0147a1a1e5c 100644 --- a/sdk/waf/src/operation/list_sql_injection_match_sets/builders.rs +++ b/sdk/waf/src/operation/list_sql_injection_match_sets/builders.rs @@ -23,9 +23,9 @@ impl ListSqlInjectionMatchSetsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -87,6 +87,22 @@ impl ListSqlInjectionMatchSetsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_sql_injection_match_sets::ListSqlInjectionMatchSets, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::list_sql_injection_match_sets::ListSqlInjectionMatchSetsError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                If you specify a value for Limit and you have more SqlInjectionMatchSet objects than the value of Limit, AWS WAF returns a NextMarker value in the response that allows you to list another group of SqlInjectionMatchSets. For the second and subsequent ListSqlInjectionMatchSets requests, specify the value of NextMarker from the previous response to get information about another batch of SqlInjectionMatchSets.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                pub fn next_marker(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.next_marker(input.into()); diff --git a/sdk/waf/src/operation/list_subscribed_rule_groups/builders.rs b/sdk/waf/src/operation/list_subscribed_rule_groups/builders.rs index 8d1d4b6f2d39..aacce823d7ae 100644 --- a/sdk/waf/src/operation/list_subscribed_rule_groups/builders.rs +++ b/sdk/waf/src/operation/list_subscribed_rule_groups/builders.rs @@ -23,9 +23,9 @@ impl ListSubscribedRuleGroupsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -87,6 +87,22 @@ impl ListSubscribedRuleGroupsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_subscribed_rule_groups::ListSubscribedRuleGroups, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::list_subscribed_rule_groups::ListSubscribedRuleGroupsError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                If you specify a value for Limit and you have more ByteMatchSetssubscribed rule groups than the value of Limit, AWS WAF returns a NextMarker value in the response that allows you to list another group of subscribed rule groups. For the second and subsequent ListSubscribedRuleGroupsRequest requests, specify the value of NextMarker from the previous response to get information about another batch of subscribed rule groups.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                pub fn next_marker(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.next_marker(input.into()); diff --git a/sdk/waf/src/operation/list_tags_for_resource/builders.rs b/sdk/waf/src/operation/list_tags_for_resource/builders.rs index 05cbaba2b390..11c07ff6467e 100644 --- a/sdk/waf/src/operation/list_tags_for_resource/builders.rs +++ b/sdk/waf/src/operation/list_tags_for_resource/builders.rs @@ -24,9 +24,9 @@ impl ListTagsForResourceFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -88,6 +88,22 @@ impl ListTagsForResourceFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_tags_for_resource::ListTagsForResource, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::list_tags_for_resource::ListTagsForResourceError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                pub fn next_marker(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.next_marker(input.into()); diff --git a/sdk/waf/src/operation/list_web_ac_ls/builders.rs b/sdk/waf/src/operation/list_web_ac_ls/builders.rs index 08cb67597bf0..3e2867862452 100644 --- a/sdk/waf/src/operation/list_web_ac_ls/builders.rs +++ b/sdk/waf/src/operation/list_web_ac_ls/builders.rs @@ -23,9 +23,9 @@ impl ListWebACLsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -81,6 +81,20 @@ impl ListWebACLsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_web_ac_ls::ListWebACLs, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                If you specify a value for Limit and you have more WebACL objects than the number that you specify for Limit, AWS WAF returns a NextMarker value in the response that allows you to list another group of WebACL objects. For the second and subsequent ListWebACLs requests, specify the value of NextMarker from the previous response to get information about another batch of WebACL objects.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                pub fn next_marker(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.next_marker(input.into()); diff --git a/sdk/waf/src/operation/list_xss_match_sets/builders.rs b/sdk/waf/src/operation/list_xss_match_sets/builders.rs index bedab60ffc11..33c1e6331498 100644 --- a/sdk/waf/src/operation/list_xss_match_sets/builders.rs +++ b/sdk/waf/src/operation/list_xss_match_sets/builders.rs @@ -23,9 +23,9 @@ impl ListXssMatchSetsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -87,6 +87,22 @@ impl ListXssMatchSetsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_xss_match_sets::ListXssMatchSets, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::list_xss_match_sets::ListXssMatchSetsError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                If you specify a value for Limit and you have more XssMatchSet objects than the value of Limit, AWS WAF returns a NextMarker value in the response that allows you to list another group of XssMatchSets. For the second and subsequent ListXssMatchSets requests, specify the value of NextMarker from the previous response to get information about another batch of XssMatchSets.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                pub fn next_marker(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.next_marker(input.into()); diff --git a/sdk/waf/src/operation/put_logging_configuration/builders.rs b/sdk/waf/src/operation/put_logging_configuration/builders.rs index 54dc403f4e60..7745fbcb7bc5 100644 --- a/sdk/waf/src/operation/put_logging_configuration/builders.rs +++ b/sdk/waf/src/operation/put_logging_configuration/builders.rs @@ -32,9 +32,9 @@ impl PutLoggingConfigurationFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -96,6 +96,22 @@ impl PutLoggingConfigurationFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::put_logging_configuration::PutLoggingConfiguration, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::put_logging_configuration::PutLoggingConfigurationError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                The Amazon Kinesis Data Firehose that contains the inspected traffic information, the redacted fields details, and the Amazon Resource Name (ARN) of the web ACL to monitor.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                ///

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                When specifying Type in RedactedFields, you must use one of the following values: URI, QUERY_STRING, HEADER, or METHOD.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                ///
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                diff --git a/sdk/waf/src/operation/put_permission_policy/builders.rs b/sdk/waf/src/operation/put_permission_policy/builders.rs index 0831f1469ff6..bfccc5ade79c 100644 --- a/sdk/waf/src/operation/put_permission_policy/builders.rs +++ b/sdk/waf/src/operation/put_permission_policy/builders.rs @@ -36,9 +36,9 @@ impl PutPermissionPolicyFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -100,6 +100,22 @@ impl PutPermissionPolicyFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::put_permission_policy::PutPermissionPolicy, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::put_permission_policy::PutPermissionPolicyError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                The Amazon Resource Name (ARN) of the RuleGroup to which you want to attach the policy.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                pub fn resource_arn(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.resource_arn(input.into()); diff --git a/sdk/waf/src/operation/tag_resource/builders.rs b/sdk/waf/src/operation/tag_resource/builders.rs index d8f7fb50af46..47eabc769e75 100644 --- a/sdk/waf/src/operation/tag_resource/builders.rs +++ b/sdk/waf/src/operation/tag_resource/builders.rs @@ -24,9 +24,9 @@ impl TagResourceFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -82,6 +82,20 @@ impl TagResourceFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::tag_resource::TagResource, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                pub fn resource_arn(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.resource_arn(input.into()); diff --git a/sdk/waf/src/operation/untag_resource/builders.rs b/sdk/waf/src/operation/untag_resource/builders.rs index 9b8cd2fa8cb7..831ab963c86c 100644 --- a/sdk/waf/src/operation/untag_resource/builders.rs +++ b/sdk/waf/src/operation/untag_resource/builders.rs @@ -23,9 +23,9 @@ impl UntagResourceFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -81,6 +81,20 @@ impl UntagResourceFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::untag_resource::UntagResource, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                pub fn resource_arn(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.resource_arn(input.into()); diff --git a/sdk/waf/src/operation/update_byte_match_set/builders.rs b/sdk/waf/src/operation/update_byte_match_set/builders.rs index 8d9236c6ba60..c46961b942d6 100644 --- a/sdk/waf/src/operation/update_byte_match_set/builders.rs +++ b/sdk/waf/src/operation/update_byte_match_set/builders.rs @@ -38,9 +38,9 @@ impl UpdateByteMatchSetFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -102,6 +102,22 @@ impl UpdateByteMatchSetFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::update_byte_match_set::UpdateByteMatchSet, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::update_byte_match_set::UpdateByteMatchSetError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                The ByteMatchSetId of the ByteMatchSet that you want to update. ByteMatchSetId is returned by CreateByteMatchSet and by ListByteMatchSets.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                pub fn byte_match_set_id( mut self, diff --git a/sdk/waf/src/operation/update_geo_match_set/builders.rs b/sdk/waf/src/operation/update_geo_match_set/builders.rs index a348282fc44e..793d09c23b89 100644 --- a/sdk/waf/src/operation/update_geo_match_set/builders.rs +++ b/sdk/waf/src/operation/update_geo_match_set/builders.rs @@ -36,9 +36,9 @@ impl UpdateGeoMatchSetFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -100,6 +100,22 @@ impl UpdateGeoMatchSetFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::update_geo_match_set::UpdateGeoMatchSet, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::update_geo_match_set::UpdateGeoMatchSetError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                The GeoMatchSetId of the GeoMatchSet that you want to update. GeoMatchSetId is returned by CreateGeoMatchSet and by ListGeoMatchSets.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                pub fn geo_match_set_id( mut self, diff --git a/sdk/waf/src/operation/update_ip_set/builders.rs b/sdk/waf/src/operation/update_ip_set/builders.rs index 222fb5d17c80..9dd36cbfae9f 100644 --- a/sdk/waf/src/operation/update_ip_set/builders.rs +++ b/sdk/waf/src/operation/update_ip_set/builders.rs @@ -46,9 +46,9 @@ impl UpdateIPSetFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -104,6 +104,20 @@ impl UpdateIPSetFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::update_ip_set::UpdateIPSet, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                The IPSetId of the IPSet that you want to update. IPSetId is returned by CreateIPSet and by ListIPSets.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                pub fn ip_set_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.ip_set_id(input.into()); diff --git a/sdk/waf/src/operation/update_rate_based_rule/builders.rs b/sdk/waf/src/operation/update_rate_based_rule/builders.rs index 6204f92b1cea..ee00549ad657 100644 --- a/sdk/waf/src/operation/update_rate_based_rule/builders.rs +++ b/sdk/waf/src/operation/update_rate_based_rule/builders.rs @@ -39,9 +39,9 @@ impl UpdateRateBasedRuleFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -103,6 +103,22 @@ impl UpdateRateBasedRuleFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::update_rate_based_rule::UpdateRateBasedRule, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::update_rate_based_rule::UpdateRateBasedRuleError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                The RuleId of the RateBasedRule that you want to update. RuleId is returned by CreateRateBasedRule and by ListRateBasedRules.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                pub fn rule_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.rule_id(input.into()); diff --git a/sdk/waf/src/operation/update_regex_match_set/builders.rs b/sdk/waf/src/operation/update_regex_match_set/builders.rs index e5d7c91e8605..03403930027e 100644 --- a/sdk/waf/src/operation/update_regex_match_set/builders.rs +++ b/sdk/waf/src/operation/update_regex_match_set/builders.rs @@ -37,9 +37,9 @@ impl UpdateRegexMatchSetFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -101,6 +101,22 @@ impl UpdateRegexMatchSetFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::update_regex_match_set::UpdateRegexMatchSet, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::update_regex_match_set::UpdateRegexMatchSetError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                The RegexMatchSetId of the RegexMatchSet that you want to update. RegexMatchSetId is returned by CreateRegexMatchSet and by ListRegexMatchSets.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                pub fn regex_match_set_id( mut self, diff --git a/sdk/waf/src/operation/update_regex_pattern_set/builders.rs b/sdk/waf/src/operation/update_regex_pattern_set/builders.rs index ad436eb8347b..6cf113aac603 100644 --- a/sdk/waf/src/operation/update_regex_pattern_set/builders.rs +++ b/sdk/waf/src/operation/update_regex_pattern_set/builders.rs @@ -41,9 +41,9 @@ impl UpdateRegexPatternSetFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -105,6 +105,22 @@ impl UpdateRegexPatternSetFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::update_regex_pattern_set::UpdateRegexPatternSet, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::update_regex_pattern_set::UpdateRegexPatternSetError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                The RegexPatternSetId of the RegexPatternSet that you want to update. RegexPatternSetId is returned by CreateRegexPatternSet and by ListRegexPatternSets.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                pub fn regex_pattern_set_id( mut self, diff --git a/sdk/waf/src/operation/update_rule/builders.rs b/sdk/waf/src/operation/update_rule/builders.rs index 5785abf4d02f..6fda1d01f318 100644 --- a/sdk/waf/src/operation/update_rule/builders.rs +++ b/sdk/waf/src/operation/update_rule/builders.rs @@ -38,9 +38,9 @@ impl UpdateRuleFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -96,6 +96,20 @@ impl UpdateRuleFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::update_rule::UpdateRule, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                The RuleId of the Rule that you want to update. RuleId is returned by CreateRule and by ListRules.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                pub fn rule_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.rule_id(input.into()); diff --git a/sdk/waf/src/operation/update_rule_group/builders.rs b/sdk/waf/src/operation/update_rule_group/builders.rs index 9b1edaecfe84..01e9575b485d 100644 --- a/sdk/waf/src/operation/update_rule_group/builders.rs +++ b/sdk/waf/src/operation/update_rule_group/builders.rs @@ -34,9 +34,9 @@ impl UpdateRuleGroupFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -98,6 +98,22 @@ impl UpdateRuleGroupFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::update_rule_group::UpdateRuleGroup, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::update_rule_group::UpdateRuleGroupError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                The RuleGroupId of the RuleGroup that you want to update. RuleGroupId is returned by CreateRuleGroup and by ListRuleGroups.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                pub fn rule_group_id( mut self, diff --git a/sdk/waf/src/operation/update_size_constraint_set/builders.rs b/sdk/waf/src/operation/update_size_constraint_set/builders.rs index ebb801f2db94..6bd8052a7af3 100644 --- a/sdk/waf/src/operation/update_size_constraint_set/builders.rs +++ b/sdk/waf/src/operation/update_size_constraint_set/builders.rs @@ -39,9 +39,9 @@ impl UpdateSizeConstraintSetFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -103,6 +103,22 @@ impl UpdateSizeConstraintSetFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::update_size_constraint_set::UpdateSizeConstraintSet, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::update_size_constraint_set::UpdateSizeConstraintSetError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                The SizeConstraintSetId of the SizeConstraintSet that you want to update. SizeConstraintSetId is returned by CreateSizeConstraintSet and by ListSizeConstraintSets.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                pub fn size_constraint_set_id( mut self, diff --git a/sdk/waf/src/operation/update_sql_injection_match_set/builders.rs b/sdk/waf/src/operation/update_sql_injection_match_set/builders.rs index 4f9c53508dd0..c8e38918edc2 100644 --- a/sdk/waf/src/operation/update_sql_injection_match_set/builders.rs +++ b/sdk/waf/src/operation/update_sql_injection_match_set/builders.rs @@ -36,9 +36,9 @@ impl UpdateSqlInjectionMatchSetFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -100,6 +100,22 @@ impl UpdateSqlInjectionMatchSetFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::update_sql_injection_match_set::UpdateSqlInjectionMatchSet, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::update_sql_injection_match_set::UpdateSqlInjectionMatchSetError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                The SqlInjectionMatchSetId of the SqlInjectionMatchSet that you want to update. SqlInjectionMatchSetId is returned by CreateSqlInjectionMatchSet and by ListSqlInjectionMatchSets.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                pub fn sql_injection_match_set_id( mut self, diff --git a/sdk/waf/src/operation/update_web_acl/builders.rs b/sdk/waf/src/operation/update_web_acl/builders.rs index fc81cb6f4e92..230740e75d25 100644 --- a/sdk/waf/src/operation/update_web_acl/builders.rs +++ b/sdk/waf/src/operation/update_web_acl/builders.rs @@ -39,9 +39,9 @@ impl UpdateWebACLFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -97,6 +97,20 @@ impl UpdateWebACLFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::update_web_acl::UpdateWebACL, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                The WebACLId of the WebACL that you want to update. WebACLId is returned by CreateWebACL and by ListWebACLs.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                pub fn web_acl_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.web_acl_id(input.into()); diff --git a/sdk/waf/src/operation/update_xss_match_set/builders.rs b/sdk/waf/src/operation/update_xss_match_set/builders.rs index b3b6e4d427aa..20f99d05f529 100644 --- a/sdk/waf/src/operation/update_xss_match_set/builders.rs +++ b/sdk/waf/src/operation/update_xss_match_set/builders.rs @@ -36,9 +36,9 @@ impl UpdateXssMatchSetFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -100,6 +100,22 @@ impl UpdateXssMatchSetFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::update_xss_match_set::UpdateXssMatchSet, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::update_xss_match_set::UpdateXssMatchSetError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                The XssMatchSetId of the XssMatchSet that you want to update. XssMatchSetId is returned by CreateXssMatchSet and by ListXssMatchSets.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                pub fn xss_match_set_id( mut self, diff --git a/sdk/wafregional/src/operation/associate_web_acl/builders.rs b/sdk/wafregional/src/operation/associate_web_acl/builders.rs index ad84e1f51c1c..1df54251922f 100644 --- a/sdk/wafregional/src/operation/associate_web_acl/builders.rs +++ b/sdk/wafregional/src/operation/associate_web_acl/builders.rs @@ -23,9 +23,9 @@ impl AssociateWebACLFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -87,6 +87,22 @@ impl AssociateWebACLFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::associate_web_acl::AssociateWebACL, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::associate_web_acl::AssociateWebACLError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                A unique identifier (ID) for the web ACL.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                pub fn web_acl_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.web_acl_id(input.into()); diff --git a/sdk/wafregional/src/operation/create_byte_match_set/builders.rs b/sdk/wafregional/src/operation/create_byte_match_set/builders.rs index 4726898c5a44..934d9c595d77 100644 --- a/sdk/wafregional/src/operation/create_byte_match_set/builders.rs +++ b/sdk/wafregional/src/operation/create_byte_match_set/builders.rs @@ -31,9 +31,9 @@ impl CreateByteMatchSetFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -95,6 +95,22 @@ impl CreateByteMatchSetFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::create_byte_match_set::CreateByteMatchSet, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::create_byte_match_set::CreateByteMatchSetError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                A friendly name or description of the ByteMatchSet. You can't change Name after you create a ByteMatchSet.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                pub fn name(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.name(input.into()); diff --git a/sdk/wafregional/src/operation/create_geo_match_set/builders.rs b/sdk/wafregional/src/operation/create_geo_match_set/builders.rs index 7b83f8e1ac63..305625e8c6ed 100644 --- a/sdk/wafregional/src/operation/create_geo_match_set/builders.rs +++ b/sdk/wafregional/src/operation/create_geo_match_set/builders.rs @@ -31,9 +31,9 @@ impl CreateGeoMatchSetFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -95,6 +95,22 @@ impl CreateGeoMatchSetFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::create_geo_match_set::CreateGeoMatchSet, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::create_geo_match_set::CreateGeoMatchSetError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                A friendly name or description of the GeoMatchSet. You can't change Name after you create the GeoMatchSet.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                pub fn name(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.name(input.into()); diff --git a/sdk/wafregional/src/operation/create_ip_set/builders.rs b/sdk/wafregional/src/operation/create_ip_set/builders.rs index d97c0c0b06e1..9e66e404ca80 100644 --- a/sdk/wafregional/src/operation/create_ip_set/builders.rs +++ b/sdk/wafregional/src/operation/create_ip_set/builders.rs @@ -31,9 +31,9 @@ impl CreateIPSetFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -89,6 +89,20 @@ impl CreateIPSetFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::create_ip_set::CreateIPSet, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                A friendly name or description of the IPSet. You can't change Name after you create the IPSet.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                pub fn name(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.name(input.into()); diff --git a/sdk/wafregional/src/operation/create_rate_based_rule/builders.rs b/sdk/wafregional/src/operation/create_rate_based_rule/builders.rs index 1473f222551b..870b6fa84d43 100644 --- a/sdk/wafregional/src/operation/create_rate_based_rule/builders.rs +++ b/sdk/wafregional/src/operation/create_rate_based_rule/builders.rs @@ -48,9 +48,9 @@ impl CreateRateBasedRuleFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -112,6 +112,22 @@ impl CreateRateBasedRuleFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::create_rate_based_rule::CreateRateBasedRule, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::create_rate_based_rule::CreateRateBasedRuleError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                A friendly name or description of the RateBasedRule. You can't change the name of a RateBasedRule after you create it.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                pub fn name(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.name(input.into()); diff --git a/sdk/wafregional/src/operation/create_regex_match_set/builders.rs b/sdk/wafregional/src/operation/create_regex_match_set/builders.rs index 070ceb049d68..028316dd133c 100644 --- a/sdk/wafregional/src/operation/create_regex_match_set/builders.rs +++ b/sdk/wafregional/src/operation/create_regex_match_set/builders.rs @@ -31,9 +31,9 @@ impl CreateRegexMatchSetFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -95,6 +95,22 @@ impl CreateRegexMatchSetFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::create_regex_match_set::CreateRegexMatchSet, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::create_regex_match_set::CreateRegexMatchSetError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                A friendly name or description of the RegexMatchSet. You can't change Name after you create a RegexMatchSet.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                pub fn name(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.name(input.into()); diff --git a/sdk/wafregional/src/operation/create_regex_pattern_set/builders.rs b/sdk/wafregional/src/operation/create_regex_pattern_set/builders.rs index dd95ed0a96d9..b779f2c92ff5 100644 --- a/sdk/wafregional/src/operation/create_regex_pattern_set/builders.rs +++ b/sdk/wafregional/src/operation/create_regex_pattern_set/builders.rs @@ -31,9 +31,9 @@ impl CreateRegexPatternSetFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -95,6 +95,22 @@ impl CreateRegexPatternSetFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::create_regex_pattern_set::CreateRegexPatternSet, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::create_regex_pattern_set::CreateRegexPatternSetError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                A friendly name or description of the RegexPatternSet. You can't change Name after you create a RegexPatternSet.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                pub fn name(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.name(input.into()); diff --git a/sdk/wafregional/src/operation/create_rule/builders.rs b/sdk/wafregional/src/operation/create_rule/builders.rs index 5ecb72b48cff..6e9d03ff75bb 100644 --- a/sdk/wafregional/src/operation/create_rule/builders.rs +++ b/sdk/wafregional/src/operation/create_rule/builders.rs @@ -38,9 +38,9 @@ impl CreateRuleFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -96,6 +96,20 @@ impl CreateRuleFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::create_rule::CreateRule, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                A friendly name or description of the Rule. You can't change the name of a Rule after you create it.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                pub fn name(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.name(input.into()); diff --git a/sdk/wafregional/src/operation/create_rule_group/builders.rs b/sdk/wafregional/src/operation/create_rule_group/builders.rs index b840b09f8f23..eeba413ddc4f 100644 --- a/sdk/wafregional/src/operation/create_rule_group/builders.rs +++ b/sdk/wafregional/src/operation/create_rule_group/builders.rs @@ -30,9 +30,9 @@ impl CreateRuleGroupFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -94,6 +94,22 @@ impl CreateRuleGroupFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::create_rule_group::CreateRuleGroup, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::create_rule_group::CreateRuleGroupError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                A friendly name or description of the RuleGroup. You can't change Name after you create a RuleGroup.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                pub fn name(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.name(input.into()); diff --git a/sdk/wafregional/src/operation/create_size_constraint_set/builders.rs b/sdk/wafregional/src/operation/create_size_constraint_set/builders.rs index 351e6b7f17ec..7ba5ec6f25d9 100644 --- a/sdk/wafregional/src/operation/create_size_constraint_set/builders.rs +++ b/sdk/wafregional/src/operation/create_size_constraint_set/builders.rs @@ -32,9 +32,9 @@ impl CreateSizeConstraintSetFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -96,6 +96,22 @@ impl CreateSizeConstraintSetFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::create_size_constraint_set::CreateSizeConstraintSet, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::create_size_constraint_set::CreateSizeConstraintSetError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                A friendly name or description of the SizeConstraintSet. You can't change Name after you create a SizeConstraintSet.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                pub fn name(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.name(input.into()); diff --git a/sdk/wafregional/src/operation/create_sql_injection_match_set/builders.rs b/sdk/wafregional/src/operation/create_sql_injection_match_set/builders.rs index 504d8904d686..91198d4d77a7 100644 --- a/sdk/wafregional/src/operation/create_sql_injection_match_set/builders.rs +++ b/sdk/wafregional/src/operation/create_sql_injection_match_set/builders.rs @@ -31,9 +31,9 @@ impl CreateSqlInjectionMatchSetFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -95,6 +95,22 @@ impl CreateSqlInjectionMatchSetFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::create_sql_injection_match_set::CreateSqlInjectionMatchSet, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::create_sql_injection_match_set::CreateSqlInjectionMatchSetError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                A friendly name or description for the SqlInjectionMatchSet that you're creating. You can't change Name after you create the SqlInjectionMatchSet.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                pub fn name(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.name(input.into()); diff --git a/sdk/wafregional/src/operation/create_web_acl/builders.rs b/sdk/wafregional/src/operation/create_web_acl/builders.rs index 11bc8a8394bd..89412a2b7fc2 100644 --- a/sdk/wafregional/src/operation/create_web_acl/builders.rs +++ b/sdk/wafregional/src/operation/create_web_acl/builders.rs @@ -34,9 +34,9 @@ impl CreateWebACLFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -92,6 +92,20 @@ impl CreateWebACLFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::create_web_acl::CreateWebACL, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                A friendly name or description of the WebACL. You can't change Name after you create the WebACL.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                pub fn name(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.name(input.into()); diff --git a/sdk/wafregional/src/operation/create_web_acl_migration_stack/builders.rs b/sdk/wafregional/src/operation/create_web_acl_migration_stack/builders.rs index 654f3f9acd4b..7ba629c120cb 100644 --- a/sdk/wafregional/src/operation/create_web_acl_migration_stack/builders.rs +++ b/sdk/wafregional/src/operation/create_web_acl_migration_stack/builders.rs @@ -20,9 +20,9 @@ impl CreateWebACLMigrationStackFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -84,6 +84,22 @@ impl CreateWebACLMigrationStackFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::create_web_acl_migration_stack::CreateWebACLMigrationStack, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::create_web_acl_migration_stack::CreateWebACLMigrationStackError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                The UUID of the WAF Classic web ACL that you want to migrate to WAF v2.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                pub fn web_acl_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.web_acl_id(input.into()); diff --git a/sdk/wafregional/src/operation/create_xss_match_set/builders.rs b/sdk/wafregional/src/operation/create_xss_match_set/builders.rs index 43bae6ad42a3..181a4a5f5c47 100644 --- a/sdk/wafregional/src/operation/create_xss_match_set/builders.rs +++ b/sdk/wafregional/src/operation/create_xss_match_set/builders.rs @@ -31,9 +31,9 @@ impl CreateXssMatchSetFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -95,6 +95,22 @@ impl CreateXssMatchSetFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::create_xss_match_set::CreateXssMatchSet, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::create_xss_match_set::CreateXssMatchSetError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                A friendly name or description for the XssMatchSet that you're creating. You can't change Name after you create the XssMatchSet.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                pub fn name(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.name(input.into()); diff --git a/sdk/wafregional/src/operation/delete_byte_match_set/builders.rs b/sdk/wafregional/src/operation/delete_byte_match_set/builders.rs index 5f6f5740d5fb..5cc3c03c64de 100644 --- a/sdk/wafregional/src/operation/delete_byte_match_set/builders.rs +++ b/sdk/wafregional/src/operation/delete_byte_match_set/builders.rs @@ -30,9 +30,9 @@ impl DeleteByteMatchSetFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -94,6 +94,22 @@ impl DeleteByteMatchSetFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::delete_byte_match_set::DeleteByteMatchSet, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::delete_byte_match_set::DeleteByteMatchSetError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                The ByteMatchSetId of the ByteMatchSet that you want to delete. ByteMatchSetId is returned by CreateByteMatchSet and by ListByteMatchSets.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                pub fn byte_match_set_id( mut self, diff --git a/sdk/wafregional/src/operation/delete_geo_match_set/builders.rs b/sdk/wafregional/src/operation/delete_geo_match_set/builders.rs index 0ba83f8a965a..d231ae39cd1d 100644 --- a/sdk/wafregional/src/operation/delete_geo_match_set/builders.rs +++ b/sdk/wafregional/src/operation/delete_geo_match_set/builders.rs @@ -30,9 +30,9 @@ impl DeleteGeoMatchSetFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -94,6 +94,22 @@ impl DeleteGeoMatchSetFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::delete_geo_match_set::DeleteGeoMatchSet, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::delete_geo_match_set::DeleteGeoMatchSetError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                The GeoMatchSetID of the GeoMatchSet that you want to delete. GeoMatchSetId is returned by CreateGeoMatchSet and by ListGeoMatchSets.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                pub fn geo_match_set_id( mut self, diff --git a/sdk/wafregional/src/operation/delete_ip_set/builders.rs b/sdk/wafregional/src/operation/delete_ip_set/builders.rs index bc4d949c57e2..1c85f0d10d2b 100644 --- a/sdk/wafregional/src/operation/delete_ip_set/builders.rs +++ b/sdk/wafregional/src/operation/delete_ip_set/builders.rs @@ -30,9 +30,9 @@ impl DeleteIPSetFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -88,6 +88,20 @@ impl DeleteIPSetFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::delete_ip_set::DeleteIPSet, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                The IPSetId of the IPSet that you want to delete. IPSetId is returned by CreateIPSet and by ListIPSets.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                pub fn ip_set_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.ip_set_id(input.into()); diff --git a/sdk/wafregional/src/operation/delete_logging_configuration/builders.rs b/sdk/wafregional/src/operation/delete_logging_configuration/builders.rs index 6b508599c18d..6c0749bdc845 100644 --- a/sdk/wafregional/src/operation/delete_logging_configuration/builders.rs +++ b/sdk/wafregional/src/operation/delete_logging_configuration/builders.rs @@ -23,9 +23,9 @@ impl DeleteLoggingConfigurationFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -87,6 +87,22 @@ impl DeleteLoggingConfigurationFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::delete_logging_configuration::DeleteLoggingConfiguration, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::delete_logging_configuration::DeleteLoggingConfigurationError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                The Amazon Resource Name (ARN) of the web ACL from which you want to delete the LoggingConfiguration.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                pub fn resource_arn(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.resource_arn(input.into()); diff --git a/sdk/wafregional/src/operation/delete_permission_policy/builders.rs b/sdk/wafregional/src/operation/delete_permission_policy/builders.rs index c8fc102464e1..369724e07c50 100644 --- a/sdk/wafregional/src/operation/delete_permission_policy/builders.rs +++ b/sdk/wafregional/src/operation/delete_permission_policy/builders.rs @@ -24,9 +24,9 @@ impl DeletePermissionPolicyFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -88,6 +88,22 @@ impl DeletePermissionPolicyFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::delete_permission_policy::DeletePermissionPolicy, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::delete_permission_policy::DeletePermissionPolicyError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                The Amazon Resource Name (ARN) of the RuleGroup from which you want to delete the policy.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                ///

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                The user making the request must be the owner of the RuleGroup.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                pub fn resource_arn(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { diff --git a/sdk/wafregional/src/operation/delete_rate_based_rule/builders.rs b/sdk/wafregional/src/operation/delete_rate_based_rule/builders.rs index c49f4bde6e49..7110dad058e5 100644 --- a/sdk/wafregional/src/operation/delete_rate_based_rule/builders.rs +++ b/sdk/wafregional/src/operation/delete_rate_based_rule/builders.rs @@ -30,9 +30,9 @@ impl DeleteRateBasedRuleFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -94,6 +94,22 @@ impl DeleteRateBasedRuleFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::delete_rate_based_rule::DeleteRateBasedRule, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::delete_rate_based_rule::DeleteRateBasedRuleError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                The RuleId of the RateBasedRule that you want to delete. RuleId is returned by CreateRateBasedRule and by ListRateBasedRules.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                pub fn rule_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.rule_id(input.into()); diff --git a/sdk/wafregional/src/operation/delete_regex_match_set/builders.rs b/sdk/wafregional/src/operation/delete_regex_match_set/builders.rs index 186df0cd1720..2c11e9537a8a 100644 --- a/sdk/wafregional/src/operation/delete_regex_match_set/builders.rs +++ b/sdk/wafregional/src/operation/delete_regex_match_set/builders.rs @@ -30,9 +30,9 @@ impl DeleteRegexMatchSetFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -94,6 +94,22 @@ impl DeleteRegexMatchSetFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::delete_regex_match_set::DeleteRegexMatchSet, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::delete_regex_match_set::DeleteRegexMatchSetError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                The RegexMatchSetId of the RegexMatchSet that you want to delete. RegexMatchSetId is returned by CreateRegexMatchSet and by ListRegexMatchSets.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                pub fn regex_match_set_id( mut self, diff --git a/sdk/wafregional/src/operation/delete_regex_pattern_set/builders.rs b/sdk/wafregional/src/operation/delete_regex_pattern_set/builders.rs index c96470ddcb6f..e11aecfb8a3f 100644 --- a/sdk/wafregional/src/operation/delete_regex_pattern_set/builders.rs +++ b/sdk/wafregional/src/operation/delete_regex_pattern_set/builders.rs @@ -23,9 +23,9 @@ impl DeleteRegexPatternSetFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -87,6 +87,22 @@ impl DeleteRegexPatternSetFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::delete_regex_pattern_set::DeleteRegexPatternSet, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::delete_regex_pattern_set::DeleteRegexPatternSetError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                The RegexPatternSetId of the RegexPatternSet that you want to delete. RegexPatternSetId is returned by CreateRegexPatternSet and by ListRegexPatternSets.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                pub fn regex_pattern_set_id( mut self, diff --git a/sdk/wafregional/src/operation/delete_rule/builders.rs b/sdk/wafregional/src/operation/delete_rule/builders.rs index f4ea15e64f18..4592fc578a56 100644 --- a/sdk/wafregional/src/operation/delete_rule/builders.rs +++ b/sdk/wafregional/src/operation/delete_rule/builders.rs @@ -30,9 +30,9 @@ impl DeleteRuleFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -88,6 +88,20 @@ impl DeleteRuleFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::delete_rule::DeleteRule, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                The RuleId of the Rule that you want to delete. RuleId is returned by CreateRule and by ListRules.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                pub fn rule_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.rule_id(input.into()); diff --git a/sdk/wafregional/src/operation/delete_rule_group/builders.rs b/sdk/wafregional/src/operation/delete_rule_group/builders.rs index 3f08085fdffc..e8ae7dcd451f 100644 --- a/sdk/wafregional/src/operation/delete_rule_group/builders.rs +++ b/sdk/wafregional/src/operation/delete_rule_group/builders.rs @@ -30,9 +30,9 @@ impl DeleteRuleGroupFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -94,6 +94,22 @@ impl DeleteRuleGroupFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::delete_rule_group::DeleteRuleGroup, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::delete_rule_group::DeleteRuleGroupError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                The RuleGroupId of the RuleGroup that you want to delete. RuleGroupId is returned by CreateRuleGroup and by ListRuleGroups.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                pub fn rule_group_id( mut self, diff --git a/sdk/wafregional/src/operation/delete_size_constraint_set/builders.rs b/sdk/wafregional/src/operation/delete_size_constraint_set/builders.rs index 35fad2f38eda..71c2f576efae 100644 --- a/sdk/wafregional/src/operation/delete_size_constraint_set/builders.rs +++ b/sdk/wafregional/src/operation/delete_size_constraint_set/builders.rs @@ -31,9 +31,9 @@ impl DeleteSizeConstraintSetFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -95,6 +95,22 @@ impl DeleteSizeConstraintSetFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::delete_size_constraint_set::DeleteSizeConstraintSet, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::delete_size_constraint_set::DeleteSizeConstraintSetError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                The SizeConstraintSetId of the SizeConstraintSet that you want to delete. SizeConstraintSetId is returned by CreateSizeConstraintSet and by ListSizeConstraintSets.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                pub fn size_constraint_set_id( mut self, diff --git a/sdk/wafregional/src/operation/delete_sql_injection_match_set/builders.rs b/sdk/wafregional/src/operation/delete_sql_injection_match_set/builders.rs index 6ab43682f55a..8728d3e498e1 100644 --- a/sdk/wafregional/src/operation/delete_sql_injection_match_set/builders.rs +++ b/sdk/wafregional/src/operation/delete_sql_injection_match_set/builders.rs @@ -30,9 +30,9 @@ impl DeleteSqlInjectionMatchSetFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -94,6 +94,22 @@ impl DeleteSqlInjectionMatchSetFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::delete_sql_injection_match_set::DeleteSqlInjectionMatchSet, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::delete_sql_injection_match_set::DeleteSqlInjectionMatchSetError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                The SqlInjectionMatchSetId of the SqlInjectionMatchSet that you want to delete. SqlInjectionMatchSetId is returned by CreateSqlInjectionMatchSet and by ListSqlInjectionMatchSets.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                pub fn sql_injection_match_set_id( mut self, diff --git a/sdk/wafregional/src/operation/delete_web_acl/builders.rs b/sdk/wafregional/src/operation/delete_web_acl/builders.rs index 9639babdf104..1ae40e960a12 100644 --- a/sdk/wafregional/src/operation/delete_web_acl/builders.rs +++ b/sdk/wafregional/src/operation/delete_web_acl/builders.rs @@ -29,9 +29,9 @@ impl DeleteWebACLFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -87,6 +87,20 @@ impl DeleteWebACLFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::delete_web_acl::DeleteWebACL, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                The WebACLId of the WebACL that you want to delete. WebACLId is returned by CreateWebACL and by ListWebACLs.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                pub fn web_acl_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.web_acl_id(input.into()); diff --git a/sdk/wafregional/src/operation/delete_xss_match_set/builders.rs b/sdk/wafregional/src/operation/delete_xss_match_set/builders.rs index 1660dde0bc63..ce03c51d9fa3 100644 --- a/sdk/wafregional/src/operation/delete_xss_match_set/builders.rs +++ b/sdk/wafregional/src/operation/delete_xss_match_set/builders.rs @@ -30,9 +30,9 @@ impl DeleteXssMatchSetFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -94,6 +94,22 @@ impl DeleteXssMatchSetFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::delete_xss_match_set::DeleteXssMatchSet, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::delete_xss_match_set::DeleteXssMatchSetError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                The XssMatchSetId of the XssMatchSet that you want to delete. XssMatchSetId is returned by CreateXssMatchSet and by ListXssMatchSets.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                pub fn xss_match_set_id( mut self, diff --git a/sdk/wafregional/src/operation/disassociate_web_acl/builders.rs b/sdk/wafregional/src/operation/disassociate_web_acl/builders.rs index 88225b7be6c1..88948071bf14 100644 --- a/sdk/wafregional/src/operation/disassociate_web_acl/builders.rs +++ b/sdk/wafregional/src/operation/disassociate_web_acl/builders.rs @@ -23,9 +23,9 @@ impl DisassociateWebACLFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -87,6 +87,22 @@ impl DisassociateWebACLFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::disassociate_web_acl::DisassociateWebACL, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::disassociate_web_acl::DisassociateWebACLError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                The ARN (Amazon Resource Name) of the resource from which the web ACL is being removed, either an application load balancer or Amazon API Gateway stage.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                ///

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                The ARN should be in one of the following formats:

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                ///
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  diff --git a/sdk/wafregional/src/operation/get_byte_match_set/builders.rs b/sdk/wafregional/src/operation/get_byte_match_set/builders.rs index eba772c495aa..db8a784811e5 100644 --- a/sdk/wafregional/src/operation/get_byte_match_set/builders.rs +++ b/sdk/wafregional/src/operation/get_byte_match_set/builders.rs @@ -23,9 +23,9 @@ impl GetByteMatchSetFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -87,6 +87,22 @@ impl GetByteMatchSetFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::get_byte_match_set::GetByteMatchSet, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::get_byte_match_set::GetByteMatchSetError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  The ByteMatchSetId of the ByteMatchSet that you want to get. ByteMatchSetId is returned by CreateByteMatchSet and by ListByteMatchSets.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  pub fn byte_match_set_id( mut self, diff --git a/sdk/wafregional/src/operation/get_change_token/builders.rs b/sdk/wafregional/src/operation/get_change_token/builders.rs index 2860529cd873..371dfff2552d 100644 --- a/sdk/wafregional/src/operation/get_change_token/builders.rs +++ b/sdk/wafregional/src/operation/get_change_token/builders.rs @@ -25,9 +25,9 @@ impl GetChangeTokenFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -89,4 +89,20 @@ impl GetChangeTokenFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::get_change_token::GetChangeToken, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::get_change_token::GetChangeTokenError, + >, + > { + self.customize_middleware().await + } } diff --git a/sdk/wafregional/src/operation/get_change_token_status/builders.rs b/sdk/wafregional/src/operation/get_change_token_status/builders.rs index af01f898c287..e53ec09892b3 100644 --- a/sdk/wafregional/src/operation/get_change_token_status/builders.rs +++ b/sdk/wafregional/src/operation/get_change_token_status/builders.rs @@ -28,9 +28,9 @@ impl GetChangeTokenStatusFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -92,6 +92,22 @@ impl GetChangeTokenStatusFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::get_change_token_status::GetChangeTokenStatus, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::get_change_token_status::GetChangeTokenStatusError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  The change token for which you want to get the status. This change token was previously returned in the GetChangeToken response.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  pub fn change_token(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.change_token(input.into()); diff --git a/sdk/wafregional/src/operation/get_geo_match_set/builders.rs b/sdk/wafregional/src/operation/get_geo_match_set/builders.rs index ddba8b675ef1..5e7d9ae8e2ce 100644 --- a/sdk/wafregional/src/operation/get_geo_match_set/builders.rs +++ b/sdk/wafregional/src/operation/get_geo_match_set/builders.rs @@ -23,9 +23,9 @@ impl GetGeoMatchSetFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -87,6 +87,22 @@ impl GetGeoMatchSetFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::get_geo_match_set::GetGeoMatchSet, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::get_geo_match_set::GetGeoMatchSetError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  The GeoMatchSetId of the GeoMatchSet that you want to get. GeoMatchSetId is returned by CreateGeoMatchSet and by ListGeoMatchSets.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  pub fn geo_match_set_id( mut self, diff --git a/sdk/wafregional/src/operation/get_ip_set/builders.rs b/sdk/wafregional/src/operation/get_ip_set/builders.rs index 6aa3f8d8772b..40ef62308746 100644 --- a/sdk/wafregional/src/operation/get_ip_set/builders.rs +++ b/sdk/wafregional/src/operation/get_ip_set/builders.rs @@ -23,9 +23,9 @@ impl GetIPSetFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -81,6 +81,20 @@ impl GetIPSetFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::get_ip_set::GetIPSet, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  The IPSetId of the IPSet that you want to get. IPSetId is returned by CreateIPSet and by ListIPSets.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  pub fn ip_set_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.ip_set_id(input.into()); diff --git a/sdk/wafregional/src/operation/get_logging_configuration/builders.rs b/sdk/wafregional/src/operation/get_logging_configuration/builders.rs index cbba09e447bf..ef99c49f038a 100644 --- a/sdk/wafregional/src/operation/get_logging_configuration/builders.rs +++ b/sdk/wafregional/src/operation/get_logging_configuration/builders.rs @@ -24,9 +24,9 @@ impl GetLoggingConfigurationFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -88,6 +88,22 @@ impl GetLoggingConfigurationFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::get_logging_configuration::GetLoggingConfiguration, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::get_logging_configuration::GetLoggingConfigurationError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  The Amazon Resource Name (ARN) of the web ACL for which you want to get the LoggingConfiguration.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  pub fn resource_arn(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.resource_arn(input.into()); diff --git a/sdk/wafregional/src/operation/get_permission_policy/builders.rs b/sdk/wafregional/src/operation/get_permission_policy/builders.rs index cb9e15c15d26..333981fb6022 100644 --- a/sdk/wafregional/src/operation/get_permission_policy/builders.rs +++ b/sdk/wafregional/src/operation/get_permission_policy/builders.rs @@ -23,9 +23,9 @@ impl GetPermissionPolicyFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -87,6 +87,22 @@ impl GetPermissionPolicyFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::get_permission_policy::GetPermissionPolicy, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::get_permission_policy::GetPermissionPolicyError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  The Amazon Resource Name (ARN) of the RuleGroup for which you want to get the policy.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  pub fn resource_arn(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.resource_arn(input.into()); diff --git a/sdk/wafregional/src/operation/get_rate_based_rule/builders.rs b/sdk/wafregional/src/operation/get_rate_based_rule/builders.rs index 6e14605cd3b6..7de1a17e7137 100644 --- a/sdk/wafregional/src/operation/get_rate_based_rule/builders.rs +++ b/sdk/wafregional/src/operation/get_rate_based_rule/builders.rs @@ -23,9 +23,9 @@ impl GetRateBasedRuleFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -87,6 +87,22 @@ impl GetRateBasedRuleFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::get_rate_based_rule::GetRateBasedRule, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::get_rate_based_rule::GetRateBasedRuleError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  The RuleId of the RateBasedRule that you want to get. RuleId is returned by CreateRateBasedRule and by ListRateBasedRules.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  pub fn rule_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.rule_id(input.into()); diff --git a/sdk/wafregional/src/operation/get_rate_based_rule_managed_keys/builders.rs b/sdk/wafregional/src/operation/get_rate_based_rule_managed_keys/builders.rs index 325da7f30cf5..bb040ad44550 100644 --- a/sdk/wafregional/src/operation/get_rate_based_rule_managed_keys/builders.rs +++ b/sdk/wafregional/src/operation/get_rate_based_rule_managed_keys/builders.rs @@ -23,9 +23,9 @@ impl GetRateBasedRuleManagedKeysFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -87,6 +87,22 @@ impl GetRateBasedRuleManagedKeysFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::get_rate_based_rule_managed_keys::GetRateBasedRuleManagedKeys, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::get_rate_based_rule_managed_keys::GetRateBasedRuleManagedKeysError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  The RuleId of the RateBasedRule for which you want to get a list of ManagedKeys. RuleId is returned by CreateRateBasedRule and by ListRateBasedRules.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  pub fn rule_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.rule_id(input.into()); diff --git a/sdk/wafregional/src/operation/get_regex_match_set/builders.rs b/sdk/wafregional/src/operation/get_regex_match_set/builders.rs index cc3c57293feb..caafc53d1d3f 100644 --- a/sdk/wafregional/src/operation/get_regex_match_set/builders.rs +++ b/sdk/wafregional/src/operation/get_regex_match_set/builders.rs @@ -23,9 +23,9 @@ impl GetRegexMatchSetFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -87,6 +87,22 @@ impl GetRegexMatchSetFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::get_regex_match_set::GetRegexMatchSet, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::get_regex_match_set::GetRegexMatchSetError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  The RegexMatchSetId of the RegexMatchSet that you want to get. RegexMatchSetId is returned by CreateRegexMatchSet and by ListRegexMatchSets.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  pub fn regex_match_set_id( mut self, diff --git a/sdk/wafregional/src/operation/get_regex_pattern_set/builders.rs b/sdk/wafregional/src/operation/get_regex_pattern_set/builders.rs index 2d9944323acc..49cd495d04cd 100644 --- a/sdk/wafregional/src/operation/get_regex_pattern_set/builders.rs +++ b/sdk/wafregional/src/operation/get_regex_pattern_set/builders.rs @@ -23,9 +23,9 @@ impl GetRegexPatternSetFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -87,6 +87,22 @@ impl GetRegexPatternSetFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::get_regex_pattern_set::GetRegexPatternSet, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::get_regex_pattern_set::GetRegexPatternSetError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  The RegexPatternSetId of the RegexPatternSet that you want to get. RegexPatternSetId is returned by CreateRegexPatternSet and by ListRegexPatternSets.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  pub fn regex_pattern_set_id( mut self, diff --git a/sdk/wafregional/src/operation/get_rule/builders.rs b/sdk/wafregional/src/operation/get_rule/builders.rs index a690eea13f29..636a7f937b4c 100644 --- a/sdk/wafregional/src/operation/get_rule/builders.rs +++ b/sdk/wafregional/src/operation/get_rule/builders.rs @@ -23,9 +23,9 @@ impl GetRuleFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -81,6 +81,20 @@ impl GetRuleFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::get_rule::GetRule, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  The RuleId of the Rule that you want to get. RuleId is returned by CreateRule and by ListRules.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  pub fn rule_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.rule_id(input.into()); diff --git a/sdk/wafregional/src/operation/get_rule_group/builders.rs b/sdk/wafregional/src/operation/get_rule_group/builders.rs index 563e0fa3024d..9bb4aedcef5f 100644 --- a/sdk/wafregional/src/operation/get_rule_group/builders.rs +++ b/sdk/wafregional/src/operation/get_rule_group/builders.rs @@ -24,9 +24,9 @@ impl GetRuleGroupFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -82,6 +82,20 @@ impl GetRuleGroupFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::get_rule_group::GetRuleGroup, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  The RuleGroupId of the RuleGroup that you want to get. RuleGroupId is returned by CreateRuleGroup and by ListRuleGroups.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  pub fn rule_group_id( mut self, diff --git a/sdk/wafregional/src/operation/get_sampled_requests/builders.rs b/sdk/wafregional/src/operation/get_sampled_requests/builders.rs index 3ab7f933b04a..eafed53629a5 100644 --- a/sdk/wafregional/src/operation/get_sampled_requests/builders.rs +++ b/sdk/wafregional/src/operation/get_sampled_requests/builders.rs @@ -24,9 +24,9 @@ impl GetSampledRequestsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -88,6 +88,22 @@ impl GetSampledRequestsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::get_sampled_requests::GetSampledRequests, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::get_sampled_requests::GetSampledRequestsError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  The WebACLId of the WebACL for which you want GetSampledRequests to return a sample of requests.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  pub fn web_acl_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.web_acl_id(input.into()); diff --git a/sdk/wafregional/src/operation/get_size_constraint_set/builders.rs b/sdk/wafregional/src/operation/get_size_constraint_set/builders.rs index 747c80af55f5..d3722bbc113e 100644 --- a/sdk/wafregional/src/operation/get_size_constraint_set/builders.rs +++ b/sdk/wafregional/src/operation/get_size_constraint_set/builders.rs @@ -23,9 +23,9 @@ impl GetSizeConstraintSetFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -87,6 +87,22 @@ impl GetSizeConstraintSetFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::get_size_constraint_set::GetSizeConstraintSet, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::get_size_constraint_set::GetSizeConstraintSetError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  The SizeConstraintSetId of the SizeConstraintSet that you want to get. SizeConstraintSetId is returned by CreateSizeConstraintSet and by ListSizeConstraintSets.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  pub fn size_constraint_set_id( mut self, diff --git a/sdk/wafregional/src/operation/get_sql_injection_match_set/builders.rs b/sdk/wafregional/src/operation/get_sql_injection_match_set/builders.rs index b04be2c86fb7..de1bbe4e80e2 100644 --- a/sdk/wafregional/src/operation/get_sql_injection_match_set/builders.rs +++ b/sdk/wafregional/src/operation/get_sql_injection_match_set/builders.rs @@ -23,9 +23,9 @@ impl GetSqlInjectionMatchSetFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -87,6 +87,22 @@ impl GetSqlInjectionMatchSetFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::get_sql_injection_match_set::GetSqlInjectionMatchSet, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::get_sql_injection_match_set::GetSqlInjectionMatchSetError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  The SqlInjectionMatchSetId of the SqlInjectionMatchSet that you want to get. SqlInjectionMatchSetId is returned by CreateSqlInjectionMatchSet and by ListSqlInjectionMatchSets.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  pub fn sql_injection_match_set_id( mut self, diff --git a/sdk/wafregional/src/operation/get_web_acl/builders.rs b/sdk/wafregional/src/operation/get_web_acl/builders.rs index 1e21219856f5..19ea53e93602 100644 --- a/sdk/wafregional/src/operation/get_web_acl/builders.rs +++ b/sdk/wafregional/src/operation/get_web_acl/builders.rs @@ -23,9 +23,9 @@ impl GetWebACLFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -81,6 +81,20 @@ impl GetWebACLFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::get_web_acl::GetWebACL, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  The WebACLId of the WebACL that you want to get. WebACLId is returned by CreateWebACL and by ListWebACLs.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  pub fn web_acl_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.web_acl_id(input.into()); diff --git a/sdk/wafregional/src/operation/get_web_acl_for_resource/builders.rs b/sdk/wafregional/src/operation/get_web_acl_for_resource/builders.rs index 88a172c38fcb..daa7b79271e2 100644 --- a/sdk/wafregional/src/operation/get_web_acl_for_resource/builders.rs +++ b/sdk/wafregional/src/operation/get_web_acl_for_resource/builders.rs @@ -23,9 +23,9 @@ impl GetWebACLForResourceFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -87,6 +87,22 @@ impl GetWebACLForResourceFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::get_web_acl_for_resource::GetWebACLForResource, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::get_web_acl_for_resource::GetWebACLForResourceError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  The ARN (Amazon Resource Name) of the resource for which to get the web ACL, either an application load balancer or Amazon API Gateway stage.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  ///

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  The ARN should be in one of the following formats:

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  ///
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    diff --git a/sdk/wafregional/src/operation/get_xss_match_set/builders.rs b/sdk/wafregional/src/operation/get_xss_match_set/builders.rs index 84ccaec76d55..1e3d251abd2c 100644 --- a/sdk/wafregional/src/operation/get_xss_match_set/builders.rs +++ b/sdk/wafregional/src/operation/get_xss_match_set/builders.rs @@ -23,9 +23,9 @@ impl GetXssMatchSetFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -87,6 +87,22 @@ impl GetXssMatchSetFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::get_xss_match_set::GetXssMatchSet, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::get_xss_match_set::GetXssMatchSetError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    The XssMatchSetId of the XssMatchSet that you want to get. XssMatchSetId is returned by CreateXssMatchSet and by ListXssMatchSets.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    pub fn xss_match_set_id( mut self, diff --git a/sdk/wafregional/src/operation/list_activated_rules_in_rule_group/builders.rs b/sdk/wafregional/src/operation/list_activated_rules_in_rule_group/builders.rs index 5426a813e6b7..523615ed5616 100644 --- a/sdk/wafregional/src/operation/list_activated_rules_in_rule_group/builders.rs +++ b/sdk/wafregional/src/operation/list_activated_rules_in_rule_group/builders.rs @@ -23,9 +23,9 @@ impl ListActivatedRulesInRuleGroupFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize(self) -> ::std::result::Result< + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware(self) -> ::std::result::Result< crate::client::customize::CustomizableOperation, ::aws_smithy_http::result::SdkError >{ @@ -68,6 +68,15 @@ impl ListActivatedRulesInRuleGroupFluentBuilder { { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize(self) -> ::std::result::Result< + crate::client::customize::CustomizableOperation, + ::aws_smithy_http::result::SdkError + >{ + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    The RuleGroupId of the RuleGroup for which you want to get a list of ActivatedRule objects.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    pub fn rule_group_id( mut self, diff --git a/sdk/wafregional/src/operation/list_byte_match_sets/builders.rs b/sdk/wafregional/src/operation/list_byte_match_sets/builders.rs index 1dc723ac7101..255be04bbe2e 100644 --- a/sdk/wafregional/src/operation/list_byte_match_sets/builders.rs +++ b/sdk/wafregional/src/operation/list_byte_match_sets/builders.rs @@ -23,9 +23,9 @@ impl ListByteMatchSetsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -87,6 +87,22 @@ impl ListByteMatchSetsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_byte_match_sets::ListByteMatchSets, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::list_byte_match_sets::ListByteMatchSetsError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    If you specify a value for Limit and you have more ByteMatchSets than the value of Limit, AWS WAF returns a NextMarker value in the response that allows you to list another group of ByteMatchSets. For the second and subsequent ListByteMatchSets requests, specify the value of NextMarker from the previous response to get information about another batch of ByteMatchSets.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    pub fn next_marker(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.next_marker(input.into()); diff --git a/sdk/wafregional/src/operation/list_geo_match_sets/builders.rs b/sdk/wafregional/src/operation/list_geo_match_sets/builders.rs index a24f442b1d87..8b7dc3c4d953 100644 --- a/sdk/wafregional/src/operation/list_geo_match_sets/builders.rs +++ b/sdk/wafregional/src/operation/list_geo_match_sets/builders.rs @@ -23,9 +23,9 @@ impl ListGeoMatchSetsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -87,6 +87,22 @@ impl ListGeoMatchSetsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_geo_match_sets::ListGeoMatchSets, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::list_geo_match_sets::ListGeoMatchSetsError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    If you specify a value for Limit and you have more GeoMatchSets than the value of Limit, AWS WAF returns a NextMarker value in the response that allows you to list another group of GeoMatchSet objects. For the second and subsequent ListGeoMatchSets requests, specify the value of NextMarker from the previous response to get information about another batch of GeoMatchSet objects.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    pub fn next_marker(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.next_marker(input.into()); diff --git a/sdk/wafregional/src/operation/list_ip_sets/builders.rs b/sdk/wafregional/src/operation/list_ip_sets/builders.rs index 4115d77167aa..f7900da4f91e 100644 --- a/sdk/wafregional/src/operation/list_ip_sets/builders.rs +++ b/sdk/wafregional/src/operation/list_ip_sets/builders.rs @@ -23,9 +23,9 @@ impl ListIPSetsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -81,6 +81,20 @@ impl ListIPSetsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_ip_sets::ListIPSets, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    AWS WAF returns a NextMarker value in the response that allows you to list another group of IPSets. For the second and subsequent ListIPSets requests, specify the value of NextMarker from the previous response to get information about another batch of IPSets.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    pub fn next_marker(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.next_marker(input.into()); diff --git a/sdk/wafregional/src/operation/list_logging_configurations/builders.rs b/sdk/wafregional/src/operation/list_logging_configurations/builders.rs index 97d15c07595b..ff5ccaa389bb 100644 --- a/sdk/wafregional/src/operation/list_logging_configurations/builders.rs +++ b/sdk/wafregional/src/operation/list_logging_configurations/builders.rs @@ -23,9 +23,9 @@ impl ListLoggingConfigurationsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -87,6 +87,22 @@ impl ListLoggingConfigurationsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_logging_configurations::ListLoggingConfigurations, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::list_logging_configurations::ListLoggingConfigurationsError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    If you specify a value for Limit and you have more LoggingConfigurations than the value of Limit, AWS WAF returns a NextMarker value in the response that allows you to list another group of LoggingConfigurations. For the second and subsequent ListLoggingConfigurations requests, specify the value of NextMarker from the previous response to get information about another batch of ListLoggingConfigurations.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    pub fn next_marker(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.next_marker(input.into()); diff --git a/sdk/wafregional/src/operation/list_rate_based_rules/builders.rs b/sdk/wafregional/src/operation/list_rate_based_rules/builders.rs index 70b6acd9e35b..cda5a23db82e 100644 --- a/sdk/wafregional/src/operation/list_rate_based_rules/builders.rs +++ b/sdk/wafregional/src/operation/list_rate_based_rules/builders.rs @@ -23,9 +23,9 @@ impl ListRateBasedRulesFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -87,6 +87,22 @@ impl ListRateBasedRulesFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_rate_based_rules::ListRateBasedRules, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::list_rate_based_rules::ListRateBasedRulesError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    If you specify a value for Limit and you have more Rules than the value of Limit, AWS WAF returns a NextMarker value in the response that allows you to list another group of Rules. For the second and subsequent ListRateBasedRules requests, specify the value of NextMarker from the previous response to get information about another batch of Rules.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    pub fn next_marker(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.next_marker(input.into()); diff --git a/sdk/wafregional/src/operation/list_regex_match_sets/builders.rs b/sdk/wafregional/src/operation/list_regex_match_sets/builders.rs index 728bafc61b3f..32acf6af561a 100644 --- a/sdk/wafregional/src/operation/list_regex_match_sets/builders.rs +++ b/sdk/wafregional/src/operation/list_regex_match_sets/builders.rs @@ -23,9 +23,9 @@ impl ListRegexMatchSetsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -87,6 +87,22 @@ impl ListRegexMatchSetsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_regex_match_sets::ListRegexMatchSets, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::list_regex_match_sets::ListRegexMatchSetsError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    If you specify a value for Limit and you have more RegexMatchSet objects than the value of Limit, AWS WAF returns a NextMarker value in the response that allows you to list another group of ByteMatchSets. For the second and subsequent ListRegexMatchSets requests, specify the value of NextMarker from the previous response to get information about another batch of RegexMatchSet objects.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    pub fn next_marker(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.next_marker(input.into()); diff --git a/sdk/wafregional/src/operation/list_regex_pattern_sets/builders.rs b/sdk/wafregional/src/operation/list_regex_pattern_sets/builders.rs index a2ef85ee6682..51240b3b39ec 100644 --- a/sdk/wafregional/src/operation/list_regex_pattern_sets/builders.rs +++ b/sdk/wafregional/src/operation/list_regex_pattern_sets/builders.rs @@ -23,9 +23,9 @@ impl ListRegexPatternSetsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -87,6 +87,22 @@ impl ListRegexPatternSetsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_regex_pattern_sets::ListRegexPatternSets, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::list_regex_pattern_sets::ListRegexPatternSetsError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    If you specify a value for Limit and you have more RegexPatternSet objects than the value of Limit, AWS WAF returns a NextMarker value in the response that allows you to list another group of RegexPatternSet objects. For the second and subsequent ListRegexPatternSets requests, specify the value of NextMarker from the previous response to get information about another batch of RegexPatternSet objects.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    pub fn next_marker(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.next_marker(input.into()); diff --git a/sdk/wafregional/src/operation/list_resources_for_web_acl/builders.rs b/sdk/wafregional/src/operation/list_resources_for_web_acl/builders.rs index 32bd09ba20ae..351e0d40daaf 100644 --- a/sdk/wafregional/src/operation/list_resources_for_web_acl/builders.rs +++ b/sdk/wafregional/src/operation/list_resources_for_web_acl/builders.rs @@ -24,9 +24,9 @@ impl ListResourcesForWebACLFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -88,6 +88,22 @@ impl ListResourcesForWebACLFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_resources_for_web_acl::ListResourcesForWebACL, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::list_resources_for_web_acl::ListResourcesForWebACLError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    The unique identifier (ID) of the web ACL for which to list the associated resources.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    pub fn web_acl_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.web_acl_id(input.into()); diff --git a/sdk/wafregional/src/operation/list_rule_groups/builders.rs b/sdk/wafregional/src/operation/list_rule_groups/builders.rs index 57ec33adc607..4feaed55ec0e 100644 --- a/sdk/wafregional/src/operation/list_rule_groups/builders.rs +++ b/sdk/wafregional/src/operation/list_rule_groups/builders.rs @@ -23,9 +23,9 @@ impl ListRuleGroupsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -87,6 +87,22 @@ impl ListRuleGroupsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_rule_groups::ListRuleGroups, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::list_rule_groups::ListRuleGroupsError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    If you specify a value for Limit and you have more RuleGroups than the value of Limit, AWS WAF returns a NextMarker value in the response that allows you to list another group of RuleGroups. For the second and subsequent ListRuleGroups requests, specify the value of NextMarker from the previous response to get information about another batch of RuleGroups.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    pub fn next_marker(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.next_marker(input.into()); diff --git a/sdk/wafregional/src/operation/list_rules/builders.rs b/sdk/wafregional/src/operation/list_rules/builders.rs index 3325ad58aff5..69a01cb556e4 100644 --- a/sdk/wafregional/src/operation/list_rules/builders.rs +++ b/sdk/wafregional/src/operation/list_rules/builders.rs @@ -23,9 +23,9 @@ impl ListRulesFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -81,6 +81,20 @@ impl ListRulesFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_rules::ListRules, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    If you specify a value for Limit and you have more Rules than the value of Limit, AWS WAF returns a NextMarker value in the response that allows you to list another group of Rules. For the second and subsequent ListRules requests, specify the value of NextMarker from the previous response to get information about another batch of Rules.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    pub fn next_marker(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.next_marker(input.into()); diff --git a/sdk/wafregional/src/operation/list_size_constraint_sets/builders.rs b/sdk/wafregional/src/operation/list_size_constraint_sets/builders.rs index d21a2707f93e..234cfa2139a1 100644 --- a/sdk/wafregional/src/operation/list_size_constraint_sets/builders.rs +++ b/sdk/wafregional/src/operation/list_size_constraint_sets/builders.rs @@ -24,9 +24,9 @@ impl ListSizeConstraintSetsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -88,6 +88,22 @@ impl ListSizeConstraintSetsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_size_constraint_sets::ListSizeConstraintSets, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::list_size_constraint_sets::ListSizeConstraintSetsError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    If you specify a value for Limit and you have more SizeConstraintSets than the value of Limit, AWS WAF returns a NextMarker value in the response that allows you to list another group of SizeConstraintSets. For the second and subsequent ListSizeConstraintSets requests, specify the value of NextMarker from the previous response to get information about another batch of SizeConstraintSets.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    pub fn next_marker(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.next_marker(input.into()); diff --git a/sdk/wafregional/src/operation/list_sql_injection_match_sets/builders.rs b/sdk/wafregional/src/operation/list_sql_injection_match_sets/builders.rs index 0d29ea87c354..b0147a1a1e5c 100644 --- a/sdk/wafregional/src/operation/list_sql_injection_match_sets/builders.rs +++ b/sdk/wafregional/src/operation/list_sql_injection_match_sets/builders.rs @@ -23,9 +23,9 @@ impl ListSqlInjectionMatchSetsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -87,6 +87,22 @@ impl ListSqlInjectionMatchSetsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_sql_injection_match_sets::ListSqlInjectionMatchSets, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::list_sql_injection_match_sets::ListSqlInjectionMatchSetsError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    If you specify a value for Limit and you have more SqlInjectionMatchSet objects than the value of Limit, AWS WAF returns a NextMarker value in the response that allows you to list another group of SqlInjectionMatchSets. For the second and subsequent ListSqlInjectionMatchSets requests, specify the value of NextMarker from the previous response to get information about another batch of SqlInjectionMatchSets.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    pub fn next_marker(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.next_marker(input.into()); diff --git a/sdk/wafregional/src/operation/list_subscribed_rule_groups/builders.rs b/sdk/wafregional/src/operation/list_subscribed_rule_groups/builders.rs index 8d1d4b6f2d39..aacce823d7ae 100644 --- a/sdk/wafregional/src/operation/list_subscribed_rule_groups/builders.rs +++ b/sdk/wafregional/src/operation/list_subscribed_rule_groups/builders.rs @@ -23,9 +23,9 @@ impl ListSubscribedRuleGroupsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -87,6 +87,22 @@ impl ListSubscribedRuleGroupsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_subscribed_rule_groups::ListSubscribedRuleGroups, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::list_subscribed_rule_groups::ListSubscribedRuleGroupsError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    If you specify a value for Limit and you have more ByteMatchSetssubscribed rule groups than the value of Limit, AWS WAF returns a NextMarker value in the response that allows you to list another group of subscribed rule groups. For the second and subsequent ListSubscribedRuleGroupsRequest requests, specify the value of NextMarker from the previous response to get information about another batch of subscribed rule groups.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    pub fn next_marker(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.next_marker(input.into()); diff --git a/sdk/wafregional/src/operation/list_tags_for_resource/builders.rs b/sdk/wafregional/src/operation/list_tags_for_resource/builders.rs index 05cbaba2b390..11c07ff6467e 100644 --- a/sdk/wafregional/src/operation/list_tags_for_resource/builders.rs +++ b/sdk/wafregional/src/operation/list_tags_for_resource/builders.rs @@ -24,9 +24,9 @@ impl ListTagsForResourceFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -88,6 +88,22 @@ impl ListTagsForResourceFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_tags_for_resource::ListTagsForResource, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::list_tags_for_resource::ListTagsForResourceError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    pub fn next_marker(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.next_marker(input.into()); diff --git a/sdk/wafregional/src/operation/list_web_ac_ls/builders.rs b/sdk/wafregional/src/operation/list_web_ac_ls/builders.rs index 08cb67597bf0..3e2867862452 100644 --- a/sdk/wafregional/src/operation/list_web_ac_ls/builders.rs +++ b/sdk/wafregional/src/operation/list_web_ac_ls/builders.rs @@ -23,9 +23,9 @@ impl ListWebACLsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -81,6 +81,20 @@ impl ListWebACLsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_web_ac_ls::ListWebACLs, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    If you specify a value for Limit and you have more WebACL objects than the number that you specify for Limit, AWS WAF returns a NextMarker value in the response that allows you to list another group of WebACL objects. For the second and subsequent ListWebACLs requests, specify the value of NextMarker from the previous response to get information about another batch of WebACL objects.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    pub fn next_marker(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.next_marker(input.into()); diff --git a/sdk/wafregional/src/operation/list_xss_match_sets/builders.rs b/sdk/wafregional/src/operation/list_xss_match_sets/builders.rs index bedab60ffc11..33c1e6331498 100644 --- a/sdk/wafregional/src/operation/list_xss_match_sets/builders.rs +++ b/sdk/wafregional/src/operation/list_xss_match_sets/builders.rs @@ -23,9 +23,9 @@ impl ListXssMatchSetsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -87,6 +87,22 @@ impl ListXssMatchSetsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_xss_match_sets::ListXssMatchSets, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::list_xss_match_sets::ListXssMatchSetsError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    If you specify a value for Limit and you have more XssMatchSet objects than the value of Limit, AWS WAF returns a NextMarker value in the response that allows you to list another group of XssMatchSets. For the second and subsequent ListXssMatchSets requests, specify the value of NextMarker from the previous response to get information about another batch of XssMatchSets.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    pub fn next_marker(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.next_marker(input.into()); diff --git a/sdk/wafregional/src/operation/put_logging_configuration/builders.rs b/sdk/wafregional/src/operation/put_logging_configuration/builders.rs index 54dc403f4e60..7745fbcb7bc5 100644 --- a/sdk/wafregional/src/operation/put_logging_configuration/builders.rs +++ b/sdk/wafregional/src/operation/put_logging_configuration/builders.rs @@ -32,9 +32,9 @@ impl PutLoggingConfigurationFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -96,6 +96,22 @@ impl PutLoggingConfigurationFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::put_logging_configuration::PutLoggingConfiguration, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::put_logging_configuration::PutLoggingConfigurationError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    The Amazon Kinesis Data Firehose that contains the inspected traffic information, the redacted fields details, and the Amazon Resource Name (ARN) of the web ACL to monitor.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    ///

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    When specifying Type in RedactedFields, you must use one of the following values: URI, QUERY_STRING, HEADER, or METHOD.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    ///
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    diff --git a/sdk/wafregional/src/operation/put_permission_policy/builders.rs b/sdk/wafregional/src/operation/put_permission_policy/builders.rs index 0831f1469ff6..bfccc5ade79c 100644 --- a/sdk/wafregional/src/operation/put_permission_policy/builders.rs +++ b/sdk/wafregional/src/operation/put_permission_policy/builders.rs @@ -36,9 +36,9 @@ impl PutPermissionPolicyFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -100,6 +100,22 @@ impl PutPermissionPolicyFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::put_permission_policy::PutPermissionPolicy, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::put_permission_policy::PutPermissionPolicyError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    The Amazon Resource Name (ARN) of the RuleGroup to which you want to attach the policy.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    pub fn resource_arn(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.resource_arn(input.into()); diff --git a/sdk/wafregional/src/operation/tag_resource/builders.rs b/sdk/wafregional/src/operation/tag_resource/builders.rs index d8f7fb50af46..47eabc769e75 100644 --- a/sdk/wafregional/src/operation/tag_resource/builders.rs +++ b/sdk/wafregional/src/operation/tag_resource/builders.rs @@ -24,9 +24,9 @@ impl TagResourceFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -82,6 +82,20 @@ impl TagResourceFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::tag_resource::TagResource, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    pub fn resource_arn(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.resource_arn(input.into()); diff --git a/sdk/wafregional/src/operation/untag_resource/builders.rs b/sdk/wafregional/src/operation/untag_resource/builders.rs index 9b8cd2fa8cb7..831ab963c86c 100644 --- a/sdk/wafregional/src/operation/untag_resource/builders.rs +++ b/sdk/wafregional/src/operation/untag_resource/builders.rs @@ -23,9 +23,9 @@ impl UntagResourceFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -81,6 +81,20 @@ impl UntagResourceFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::untag_resource::UntagResource, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    pub fn resource_arn(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.resource_arn(input.into()); diff --git a/sdk/wafregional/src/operation/update_byte_match_set/builders.rs b/sdk/wafregional/src/operation/update_byte_match_set/builders.rs index 8d9236c6ba60..c46961b942d6 100644 --- a/sdk/wafregional/src/operation/update_byte_match_set/builders.rs +++ b/sdk/wafregional/src/operation/update_byte_match_set/builders.rs @@ -38,9 +38,9 @@ impl UpdateByteMatchSetFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -102,6 +102,22 @@ impl UpdateByteMatchSetFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::update_byte_match_set::UpdateByteMatchSet, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::update_byte_match_set::UpdateByteMatchSetError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    The ByteMatchSetId of the ByteMatchSet that you want to update. ByteMatchSetId is returned by CreateByteMatchSet and by ListByteMatchSets.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    pub fn byte_match_set_id( mut self, diff --git a/sdk/wafregional/src/operation/update_geo_match_set/builders.rs b/sdk/wafregional/src/operation/update_geo_match_set/builders.rs index a348282fc44e..793d09c23b89 100644 --- a/sdk/wafregional/src/operation/update_geo_match_set/builders.rs +++ b/sdk/wafregional/src/operation/update_geo_match_set/builders.rs @@ -36,9 +36,9 @@ impl UpdateGeoMatchSetFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -100,6 +100,22 @@ impl UpdateGeoMatchSetFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::update_geo_match_set::UpdateGeoMatchSet, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::update_geo_match_set::UpdateGeoMatchSetError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    The GeoMatchSetId of the GeoMatchSet that you want to update. GeoMatchSetId is returned by CreateGeoMatchSet and by ListGeoMatchSets.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    pub fn geo_match_set_id( mut self, diff --git a/sdk/wafregional/src/operation/update_ip_set/builders.rs b/sdk/wafregional/src/operation/update_ip_set/builders.rs index 222fb5d17c80..9dd36cbfae9f 100644 --- a/sdk/wafregional/src/operation/update_ip_set/builders.rs +++ b/sdk/wafregional/src/operation/update_ip_set/builders.rs @@ -46,9 +46,9 @@ impl UpdateIPSetFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -104,6 +104,20 @@ impl UpdateIPSetFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::update_ip_set::UpdateIPSet, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    The IPSetId of the IPSet that you want to update. IPSetId is returned by CreateIPSet and by ListIPSets.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    pub fn ip_set_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.ip_set_id(input.into()); diff --git a/sdk/wafregional/src/operation/update_rate_based_rule/builders.rs b/sdk/wafregional/src/operation/update_rate_based_rule/builders.rs index 6204f92b1cea..ee00549ad657 100644 --- a/sdk/wafregional/src/operation/update_rate_based_rule/builders.rs +++ b/sdk/wafregional/src/operation/update_rate_based_rule/builders.rs @@ -39,9 +39,9 @@ impl UpdateRateBasedRuleFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -103,6 +103,22 @@ impl UpdateRateBasedRuleFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::update_rate_based_rule::UpdateRateBasedRule, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::update_rate_based_rule::UpdateRateBasedRuleError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    The RuleId of the RateBasedRule that you want to update. RuleId is returned by CreateRateBasedRule and by ListRateBasedRules.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    pub fn rule_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.rule_id(input.into()); diff --git a/sdk/wafregional/src/operation/update_regex_match_set/builders.rs b/sdk/wafregional/src/operation/update_regex_match_set/builders.rs index e5d7c91e8605..03403930027e 100644 --- a/sdk/wafregional/src/operation/update_regex_match_set/builders.rs +++ b/sdk/wafregional/src/operation/update_regex_match_set/builders.rs @@ -37,9 +37,9 @@ impl UpdateRegexMatchSetFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -101,6 +101,22 @@ impl UpdateRegexMatchSetFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::update_regex_match_set::UpdateRegexMatchSet, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::update_regex_match_set::UpdateRegexMatchSetError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    The RegexMatchSetId of the RegexMatchSet that you want to update. RegexMatchSetId is returned by CreateRegexMatchSet and by ListRegexMatchSets.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    pub fn regex_match_set_id( mut self, diff --git a/sdk/wafregional/src/operation/update_regex_pattern_set/builders.rs b/sdk/wafregional/src/operation/update_regex_pattern_set/builders.rs index ad436eb8347b..6cf113aac603 100644 --- a/sdk/wafregional/src/operation/update_regex_pattern_set/builders.rs +++ b/sdk/wafregional/src/operation/update_regex_pattern_set/builders.rs @@ -41,9 +41,9 @@ impl UpdateRegexPatternSetFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -105,6 +105,22 @@ impl UpdateRegexPatternSetFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::update_regex_pattern_set::UpdateRegexPatternSet, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::update_regex_pattern_set::UpdateRegexPatternSetError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    The RegexPatternSetId of the RegexPatternSet that you want to update. RegexPatternSetId is returned by CreateRegexPatternSet and by ListRegexPatternSets.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    pub fn regex_pattern_set_id( mut self, diff --git a/sdk/wafregional/src/operation/update_rule/builders.rs b/sdk/wafregional/src/operation/update_rule/builders.rs index 5785abf4d02f..6fda1d01f318 100644 --- a/sdk/wafregional/src/operation/update_rule/builders.rs +++ b/sdk/wafregional/src/operation/update_rule/builders.rs @@ -38,9 +38,9 @@ impl UpdateRuleFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -96,6 +96,20 @@ impl UpdateRuleFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::update_rule::UpdateRule, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    The RuleId of the Rule that you want to update. RuleId is returned by CreateRule and by ListRules.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    pub fn rule_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.rule_id(input.into()); diff --git a/sdk/wafregional/src/operation/update_rule_group/builders.rs b/sdk/wafregional/src/operation/update_rule_group/builders.rs index 9b1edaecfe84..01e9575b485d 100644 --- a/sdk/wafregional/src/operation/update_rule_group/builders.rs +++ b/sdk/wafregional/src/operation/update_rule_group/builders.rs @@ -34,9 +34,9 @@ impl UpdateRuleGroupFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -98,6 +98,22 @@ impl UpdateRuleGroupFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::update_rule_group::UpdateRuleGroup, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::update_rule_group::UpdateRuleGroupError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    The RuleGroupId of the RuleGroup that you want to update. RuleGroupId is returned by CreateRuleGroup and by ListRuleGroups.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    pub fn rule_group_id( mut self, diff --git a/sdk/wafregional/src/operation/update_size_constraint_set/builders.rs b/sdk/wafregional/src/operation/update_size_constraint_set/builders.rs index ebb801f2db94..6bd8052a7af3 100644 --- a/sdk/wafregional/src/operation/update_size_constraint_set/builders.rs +++ b/sdk/wafregional/src/operation/update_size_constraint_set/builders.rs @@ -39,9 +39,9 @@ impl UpdateSizeConstraintSetFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -103,6 +103,22 @@ impl UpdateSizeConstraintSetFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::update_size_constraint_set::UpdateSizeConstraintSet, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::update_size_constraint_set::UpdateSizeConstraintSetError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    The SizeConstraintSetId of the SizeConstraintSet that you want to update. SizeConstraintSetId is returned by CreateSizeConstraintSet and by ListSizeConstraintSets.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    pub fn size_constraint_set_id( mut self, diff --git a/sdk/wafregional/src/operation/update_sql_injection_match_set/builders.rs b/sdk/wafregional/src/operation/update_sql_injection_match_set/builders.rs index 4f9c53508dd0..c8e38918edc2 100644 --- a/sdk/wafregional/src/operation/update_sql_injection_match_set/builders.rs +++ b/sdk/wafregional/src/operation/update_sql_injection_match_set/builders.rs @@ -36,9 +36,9 @@ impl UpdateSqlInjectionMatchSetFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -100,6 +100,22 @@ impl UpdateSqlInjectionMatchSetFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::update_sql_injection_match_set::UpdateSqlInjectionMatchSet, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::update_sql_injection_match_set::UpdateSqlInjectionMatchSetError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    The SqlInjectionMatchSetId of the SqlInjectionMatchSet that you want to update. SqlInjectionMatchSetId is returned by CreateSqlInjectionMatchSet and by ListSqlInjectionMatchSets.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    pub fn sql_injection_match_set_id( mut self, diff --git a/sdk/wafregional/src/operation/update_web_acl/builders.rs b/sdk/wafregional/src/operation/update_web_acl/builders.rs index fc81cb6f4e92..230740e75d25 100644 --- a/sdk/wafregional/src/operation/update_web_acl/builders.rs +++ b/sdk/wafregional/src/operation/update_web_acl/builders.rs @@ -39,9 +39,9 @@ impl UpdateWebACLFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -97,6 +97,20 @@ impl UpdateWebACLFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::update_web_acl::UpdateWebACL, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    The WebACLId of the WebACL that you want to update. WebACLId is returned by CreateWebACL and by ListWebACLs.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    pub fn web_acl_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.web_acl_id(input.into()); diff --git a/sdk/wafregional/src/operation/update_xss_match_set/builders.rs b/sdk/wafregional/src/operation/update_xss_match_set/builders.rs index b3b6e4d427aa..20f99d05f529 100644 --- a/sdk/wafregional/src/operation/update_xss_match_set/builders.rs +++ b/sdk/wafregional/src/operation/update_xss_match_set/builders.rs @@ -36,9 +36,9 @@ impl UpdateXssMatchSetFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -100,6 +100,22 @@ impl UpdateXssMatchSetFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::update_xss_match_set::UpdateXssMatchSet, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::update_xss_match_set::UpdateXssMatchSetError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    The XssMatchSetId of the XssMatchSet that you want to update. XssMatchSetId is returned by CreateXssMatchSet and by ListXssMatchSets.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    pub fn xss_match_set_id( mut self, diff --git a/sdk/wafv2/src/operation/associate_web_acl/builders.rs b/sdk/wafv2/src/operation/associate_web_acl/builders.rs index be1166c003f6..7a411e1f2837 100644 --- a/sdk/wafv2/src/operation/associate_web_acl/builders.rs +++ b/sdk/wafv2/src/operation/associate_web_acl/builders.rs @@ -21,9 +21,9 @@ impl AssociateWebACLFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -85,6 +85,22 @@ impl AssociateWebACLFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::associate_web_acl::AssociateWebACL, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::associate_web_acl::AssociateWebACLError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    The Amazon Resource Name (ARN) of the web ACL that you want to associate with the resource.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    pub fn web_acl_arn(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.web_acl_arn(input.into()); diff --git a/sdk/wafv2/src/operation/check_capacity/builders.rs b/sdk/wafv2/src/operation/check_capacity/builders.rs index 7f37bbb6652d..7535b37d8909 100644 --- a/sdk/wafv2/src/operation/check_capacity/builders.rs +++ b/sdk/wafv2/src/operation/check_capacity/builders.rs @@ -20,9 +20,9 @@ impl CheckCapacityFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -78,6 +78,20 @@ impl CheckCapacityFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::check_capacity::CheckCapacity, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    Specifies whether this is for an Amazon CloudFront distribution or for a regional application. A regional application can be an Application Load Balancer (ALB), an Amazon API Gateway REST API, an AppSync GraphQL API, an Amazon Cognito user pool, an App Runner service, or an Amazon Web Services Verified Access instance.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    ///

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    To work with CloudFront, you must also specify the Region US East (N. Virginia) as follows:

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    ///
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      diff --git a/sdk/wafv2/src/operation/create_api_key/builders.rs b/sdk/wafv2/src/operation/create_api_key/builders.rs index 125a4f6ef464..2bfbd8b76eb3 100644 --- a/sdk/wafv2/src/operation/create_api_key/builders.rs +++ b/sdk/wafv2/src/operation/create_api_key/builders.rs @@ -21,9 +21,9 @@ impl CreateAPIKeyFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -79,6 +79,20 @@ impl CreateAPIKeyFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::create_api_key::CreateAPIKey, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      Specifies whether this is for an Amazon CloudFront distribution or for a regional application. A regional application can be an Application Load Balancer (ALB), an Amazon API Gateway REST API, an AppSync GraphQL API, an Amazon Cognito user pool, an App Runner service, or an Amazon Web Services Verified Access instance.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      ///

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      To work with CloudFront, you must also specify the Region US East (N. Virginia) as follows:

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      ///
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        diff --git a/sdk/wafv2/src/operation/create_ip_set/builders.rs b/sdk/wafv2/src/operation/create_ip_set/builders.rs index 0c7a978ac80d..0f7c2ef295e2 100644 --- a/sdk/wafv2/src/operation/create_ip_set/builders.rs +++ b/sdk/wafv2/src/operation/create_ip_set/builders.rs @@ -19,9 +19,9 @@ impl CreateIPSetFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl CreateIPSetFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::create_ip_set::CreateIPSet, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        The name of the IP set. You cannot change the name of an IPSet after you create it.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        pub fn name(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.name(input.into()); diff --git a/sdk/wafv2/src/operation/create_regex_pattern_set/builders.rs b/sdk/wafv2/src/operation/create_regex_pattern_set/builders.rs index 26de6713733e..3e9a4c5d7933 100644 --- a/sdk/wafv2/src/operation/create_regex_pattern_set/builders.rs +++ b/sdk/wafv2/src/operation/create_regex_pattern_set/builders.rs @@ -19,9 +19,9 @@ impl CreateRegexPatternSetFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl CreateRegexPatternSetFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::create_regex_pattern_set::CreateRegexPatternSet, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::create_regex_pattern_set::CreateRegexPatternSetError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        The name of the set. You cannot change the name after you create the set.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        pub fn name(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.name(input.into()); diff --git a/sdk/wafv2/src/operation/create_rule_group/builders.rs b/sdk/wafv2/src/operation/create_rule_group/builders.rs index fe4c50e00dcc..9a3cfd67970f 100644 --- a/sdk/wafv2/src/operation/create_rule_group/builders.rs +++ b/sdk/wafv2/src/operation/create_rule_group/builders.rs @@ -20,9 +20,9 @@ impl CreateRuleGroupFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -84,6 +84,22 @@ impl CreateRuleGroupFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::create_rule_group::CreateRuleGroup, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::create_rule_group::CreateRuleGroupError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        The name of the rule group. You cannot change the name of a rule group after you create it.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        pub fn name(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.name(input.into()); diff --git a/sdk/wafv2/src/operation/create_web_acl/builders.rs b/sdk/wafv2/src/operation/create_web_acl/builders.rs index 5e6360be77b1..360898ebb411 100644 --- a/sdk/wafv2/src/operation/create_web_acl/builders.rs +++ b/sdk/wafv2/src/operation/create_web_acl/builders.rs @@ -20,9 +20,9 @@ impl CreateWebACLFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -78,6 +78,20 @@ impl CreateWebACLFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::create_web_acl::CreateWebACL, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        The name of the web ACL. You cannot change the name of a web ACL after you create it.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        pub fn name(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.name(input.into()); diff --git a/sdk/wafv2/src/operation/delete_firewall_manager_rule_groups/builders.rs b/sdk/wafv2/src/operation/delete_firewall_manager_rule_groups/builders.rs index 85549baaa702..654bbbeacc65 100644 --- a/sdk/wafv2/src/operation/delete_firewall_manager_rule_groups/builders.rs +++ b/sdk/wafv2/src/operation/delete_firewall_manager_rule_groups/builders.rs @@ -20,9 +20,9 @@ impl DeleteFirewallManagerRuleGroupsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize(self) -> ::std::result::Result< + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware(self) -> ::std::result::Result< crate::client::customize::CustomizableOperation, ::aws_smithy_http::result::SdkError >{ @@ -65,6 +65,15 @@ impl DeleteFirewallManagerRuleGroupsFluentBuilder { { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize(self) -> ::std::result::Result< + crate::client::customize::CustomizableOperation, + ::aws_smithy_http::result::SdkError + >{ + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        The Amazon Resource Name (ARN) of the web ACL.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        pub fn web_acl_arn(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.web_acl_arn(input.into()); diff --git a/sdk/wafv2/src/operation/delete_ip_set/builders.rs b/sdk/wafv2/src/operation/delete_ip_set/builders.rs index b9b4aa21ac62..447be5a50347 100644 --- a/sdk/wafv2/src/operation/delete_ip_set/builders.rs +++ b/sdk/wafv2/src/operation/delete_ip_set/builders.rs @@ -19,9 +19,9 @@ impl DeleteIPSetFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl DeleteIPSetFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::delete_ip_set::DeleteIPSet, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        The name of the IP set. You cannot change the name of an IPSet after you create it.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        pub fn name(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.name(input.into()); diff --git a/sdk/wafv2/src/operation/delete_logging_configuration/builders.rs b/sdk/wafv2/src/operation/delete_logging_configuration/builders.rs index ed04a30b547e..ffc5d29ce2de 100644 --- a/sdk/wafv2/src/operation/delete_logging_configuration/builders.rs +++ b/sdk/wafv2/src/operation/delete_logging_configuration/builders.rs @@ -19,9 +19,9 @@ impl DeleteLoggingConfigurationFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl DeleteLoggingConfigurationFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::delete_logging_configuration::DeleteLoggingConfiguration, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::delete_logging_configuration::DeleteLoggingConfigurationError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        The Amazon Resource Name (ARN) of the web ACL from which you want to delete the LoggingConfiguration.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        pub fn resource_arn(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.resource_arn(input.into()); diff --git a/sdk/wafv2/src/operation/delete_permission_policy/builders.rs b/sdk/wafv2/src/operation/delete_permission_policy/builders.rs index 9e341c277ccf..6b43404ea117 100644 --- a/sdk/wafv2/src/operation/delete_permission_policy/builders.rs +++ b/sdk/wafv2/src/operation/delete_permission_policy/builders.rs @@ -20,9 +20,9 @@ impl DeletePermissionPolicyFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -84,6 +84,22 @@ impl DeletePermissionPolicyFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::delete_permission_policy::DeletePermissionPolicy, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::delete_permission_policy::DeletePermissionPolicyError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        The Amazon Resource Name (ARN) of the rule group from which you want to delete the policy.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        ///

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        You must be the owner of the rule group to perform this operation.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        pub fn resource_arn(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { diff --git a/sdk/wafv2/src/operation/delete_regex_pattern_set/builders.rs b/sdk/wafv2/src/operation/delete_regex_pattern_set/builders.rs index 05e83312c9e2..d7b85869ae77 100644 --- a/sdk/wafv2/src/operation/delete_regex_pattern_set/builders.rs +++ b/sdk/wafv2/src/operation/delete_regex_pattern_set/builders.rs @@ -19,9 +19,9 @@ impl DeleteRegexPatternSetFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl DeleteRegexPatternSetFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::delete_regex_pattern_set::DeleteRegexPatternSet, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::delete_regex_pattern_set::DeleteRegexPatternSetError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        The name of the set. You cannot change the name after you create the set.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        pub fn name(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.name(input.into()); diff --git a/sdk/wafv2/src/operation/delete_rule_group/builders.rs b/sdk/wafv2/src/operation/delete_rule_group/builders.rs index fc9300e8b781..6b5c15d28aba 100644 --- a/sdk/wafv2/src/operation/delete_rule_group/builders.rs +++ b/sdk/wafv2/src/operation/delete_rule_group/builders.rs @@ -19,9 +19,9 @@ impl DeleteRuleGroupFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl DeleteRuleGroupFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::delete_rule_group::DeleteRuleGroup, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::delete_rule_group::DeleteRuleGroupError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        The name of the rule group. You cannot change the name of a rule group after you create it.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        pub fn name(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.name(input.into()); diff --git a/sdk/wafv2/src/operation/delete_web_acl/builders.rs b/sdk/wafv2/src/operation/delete_web_acl/builders.rs index 9d38e4f572e5..d14a05fadc44 100644 --- a/sdk/wafv2/src/operation/delete_web_acl/builders.rs +++ b/sdk/wafv2/src/operation/delete_web_acl/builders.rs @@ -34,9 +34,9 @@ impl DeleteWebACLFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -92,6 +92,20 @@ impl DeleteWebACLFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::delete_web_acl::DeleteWebACL, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        The name of the web ACL. You cannot change the name of a web ACL after you create it.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        pub fn name(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.name(input.into()); diff --git a/sdk/wafv2/src/operation/describe_managed_rule_group/builders.rs b/sdk/wafv2/src/operation/describe_managed_rule_group/builders.rs index 693a32143e8f..570fd35418f0 100644 --- a/sdk/wafv2/src/operation/describe_managed_rule_group/builders.rs +++ b/sdk/wafv2/src/operation/describe_managed_rule_group/builders.rs @@ -19,9 +19,9 @@ impl DescribeManagedRuleGroupFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl DescribeManagedRuleGroupFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::describe_managed_rule_group::DescribeManagedRuleGroup, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::describe_managed_rule_group::DescribeManagedRuleGroupError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        The name of the managed rule group vendor. You use this, along with the rule group name, to identify the rule group.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        pub fn vendor_name(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.vendor_name(input.into()); diff --git a/sdk/wafv2/src/operation/disassociate_web_acl/builders.rs b/sdk/wafv2/src/operation/disassociate_web_acl/builders.rs index e50ab4896d72..d68419f55d95 100644 --- a/sdk/wafv2/src/operation/disassociate_web_acl/builders.rs +++ b/sdk/wafv2/src/operation/disassociate_web_acl/builders.rs @@ -20,9 +20,9 @@ impl DisassociateWebACLFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -84,6 +84,22 @@ impl DisassociateWebACLFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::disassociate_web_acl::DisassociateWebACL, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::disassociate_web_acl::DisassociateWebACLError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        The Amazon Resource Name (ARN) of the resource to disassociate from the web ACL.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        ///

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        The ARN must be in one of the following formats:

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        ///
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          diff --git a/sdk/wafv2/src/operation/generate_mobile_sdk_release_url/builders.rs b/sdk/wafv2/src/operation/generate_mobile_sdk_release_url/builders.rs index 3a6d7d48c5b2..3f60b2bb03d3 100644 --- a/sdk/wafv2/src/operation/generate_mobile_sdk_release_url/builders.rs +++ b/sdk/wafv2/src/operation/generate_mobile_sdk_release_url/builders.rs @@ -20,9 +20,9 @@ impl GenerateMobileSdkReleaseUrlFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -84,6 +84,22 @@ impl GenerateMobileSdkReleaseUrlFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::generate_mobile_sdk_release_url::GenerateMobileSdkReleaseUrl, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::generate_mobile_sdk_release_url::GenerateMobileSdkReleaseUrlError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          The device platform.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          pub fn platform(mut self, input: crate::types::Platform) -> Self { self.inner = self.inner.platform(input); diff --git a/sdk/wafv2/src/operation/get_decrypted_api_key/builders.rs b/sdk/wafv2/src/operation/get_decrypted_api_key/builders.rs index e673d5b4833e..4bfe239c046d 100644 --- a/sdk/wafv2/src/operation/get_decrypted_api_key/builders.rs +++ b/sdk/wafv2/src/operation/get_decrypted_api_key/builders.rs @@ -20,9 +20,9 @@ impl GetDecryptedAPIKeyFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -84,6 +84,22 @@ impl GetDecryptedAPIKeyFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::get_decrypted_api_key::GetDecryptedAPIKey, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::get_decrypted_api_key::GetDecryptedAPIKeyError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          Specifies whether this is for an Amazon CloudFront distribution or for a regional application. A regional application can be an Application Load Balancer (ALB), an Amazon API Gateway REST API, an AppSync GraphQL API, an Amazon Cognito user pool, an App Runner service, or an Amazon Web Services Verified Access instance.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          ///

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          To work with CloudFront, you must also specify the Region US East (N. Virginia) as follows:

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          ///
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            diff --git a/sdk/wafv2/src/operation/get_ip_set/builders.rs b/sdk/wafv2/src/operation/get_ip_set/builders.rs index 9ddfcaf6482e..2f310bd98a83 100644 --- a/sdk/wafv2/src/operation/get_ip_set/builders.rs +++ b/sdk/wafv2/src/operation/get_ip_set/builders.rs @@ -19,9 +19,9 @@ impl GetIPSetFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl GetIPSetFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::get_ip_set::GetIPSet, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            The name of the IP set. You cannot change the name of an IPSet after you create it.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            pub fn name(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.name(input.into()); diff --git a/sdk/wafv2/src/operation/get_logging_configuration/builders.rs b/sdk/wafv2/src/operation/get_logging_configuration/builders.rs index a014ffc8b8d9..e8a87542f88f 100644 --- a/sdk/wafv2/src/operation/get_logging_configuration/builders.rs +++ b/sdk/wafv2/src/operation/get_logging_configuration/builders.rs @@ -20,9 +20,9 @@ impl GetLoggingConfigurationFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -84,6 +84,22 @@ impl GetLoggingConfigurationFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::get_logging_configuration::GetLoggingConfiguration, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::get_logging_configuration::GetLoggingConfigurationError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            The Amazon Resource Name (ARN) of the web ACL for which you want to get the LoggingConfiguration.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            pub fn resource_arn(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.resource_arn(input.into()); diff --git a/sdk/wafv2/src/operation/get_managed_rule_set/builders.rs b/sdk/wafv2/src/operation/get_managed_rule_set/builders.rs index 8e6705e75a1e..5e3c92e30c93 100644 --- a/sdk/wafv2/src/operation/get_managed_rule_set/builders.rs +++ b/sdk/wafv2/src/operation/get_managed_rule_set/builders.rs @@ -22,9 +22,9 @@ impl GetManagedRuleSetFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -86,6 +86,22 @@ impl GetManagedRuleSetFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::get_managed_rule_set::GetManagedRuleSet, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::get_managed_rule_set::GetManagedRuleSetError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            The name of the managed rule set. You use this, along with the rule set ID, to identify the rule set.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            ///

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            This name is assigned to the corresponding managed rule group, which your customers can access and use.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            pub fn name(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { diff --git a/sdk/wafv2/src/operation/get_mobile_sdk_release/builders.rs b/sdk/wafv2/src/operation/get_mobile_sdk_release/builders.rs index f4ac0c3868d3..af6c6ab844d4 100644 --- a/sdk/wafv2/src/operation/get_mobile_sdk_release/builders.rs +++ b/sdk/wafv2/src/operation/get_mobile_sdk_release/builders.rs @@ -20,9 +20,9 @@ impl GetMobileSdkReleaseFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -84,6 +84,22 @@ impl GetMobileSdkReleaseFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::get_mobile_sdk_release::GetMobileSdkRelease, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::get_mobile_sdk_release::GetMobileSdkReleaseError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            The device platform.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            pub fn platform(mut self, input: crate::types::Platform) -> Self { self.inner = self.inner.platform(input); diff --git a/sdk/wafv2/src/operation/get_permission_policy/builders.rs b/sdk/wafv2/src/operation/get_permission_policy/builders.rs index b22bf1251ce8..8563978b87b6 100644 --- a/sdk/wafv2/src/operation/get_permission_policy/builders.rs +++ b/sdk/wafv2/src/operation/get_permission_policy/builders.rs @@ -20,9 +20,9 @@ impl GetPermissionPolicyFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -84,6 +84,22 @@ impl GetPermissionPolicyFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::get_permission_policy::GetPermissionPolicy, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::get_permission_policy::GetPermissionPolicyError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            The Amazon Resource Name (ARN) of the rule group for which you want to get the policy.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            pub fn resource_arn(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.resource_arn(input.into()); diff --git a/sdk/wafv2/src/operation/get_rate_based_statement_managed_keys/builders.rs b/sdk/wafv2/src/operation/get_rate_based_statement_managed_keys/builders.rs index 3eee8bfba640..32e86ab6579c 100644 --- a/sdk/wafv2/src/operation/get_rate_based_statement_managed_keys/builders.rs +++ b/sdk/wafv2/src/operation/get_rate_based_statement_managed_keys/builders.rs @@ -22,9 +22,9 @@ impl GetRateBasedStatementManagedKeysFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize(self) -> ::std::result::Result< + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware(self) -> ::std::result::Result< crate::client::customize::CustomizableOperation, ::aws_smithy_http::result::SdkError >{ @@ -67,6 +67,15 @@ impl GetRateBasedStatementManagedKeysFluentBuilder { { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize(self) -> ::std::result::Result< + crate::client::customize::CustomizableOperation, + ::aws_smithy_http::result::SdkError + >{ + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            Specifies whether this is for an Amazon CloudFront distribution or for a regional application. A regional application can be an Application Load Balancer (ALB), an Amazon API Gateway REST API, an AppSync GraphQL API, an Amazon Cognito user pool, an App Runner service, or an Amazon Web Services Verified Access instance.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            ///

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            To work with CloudFront, you must also specify the Region US East (N. Virginia) as follows:

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            ///
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              diff --git a/sdk/wafv2/src/operation/get_regex_pattern_set/builders.rs b/sdk/wafv2/src/operation/get_regex_pattern_set/builders.rs index bbd0672fbf78..6226f3cd640c 100644 --- a/sdk/wafv2/src/operation/get_regex_pattern_set/builders.rs +++ b/sdk/wafv2/src/operation/get_regex_pattern_set/builders.rs @@ -19,9 +19,9 @@ impl GetRegexPatternSetFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl GetRegexPatternSetFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::get_regex_pattern_set::GetRegexPatternSet, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::get_regex_pattern_set::GetRegexPatternSetError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              The name of the set. You cannot change the name after you create the set.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              pub fn name(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.name(input.into()); diff --git a/sdk/wafv2/src/operation/get_rule_group/builders.rs b/sdk/wafv2/src/operation/get_rule_group/builders.rs index db436319e2e2..749f8633028e 100644 --- a/sdk/wafv2/src/operation/get_rule_group/builders.rs +++ b/sdk/wafv2/src/operation/get_rule_group/builders.rs @@ -19,9 +19,9 @@ impl GetRuleGroupFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl GetRuleGroupFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::get_rule_group::GetRuleGroup, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              The name of the rule group. You cannot change the name of a rule group after you create it.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              pub fn name(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.name(input.into()); diff --git a/sdk/wafv2/src/operation/get_sampled_requests/builders.rs b/sdk/wafv2/src/operation/get_sampled_requests/builders.rs index 46a990c23204..96bb452343f6 100644 --- a/sdk/wafv2/src/operation/get_sampled_requests/builders.rs +++ b/sdk/wafv2/src/operation/get_sampled_requests/builders.rs @@ -20,9 +20,9 @@ impl GetSampledRequestsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -84,6 +84,22 @@ impl GetSampledRequestsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::get_sampled_requests::GetSampledRequests, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::get_sampled_requests::GetSampledRequestsError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              The Amazon resource name (ARN) of the WebACL for which you want a sample of requests.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              pub fn web_acl_arn(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.web_acl_arn(input.into()); diff --git a/sdk/wafv2/src/operation/get_web_acl/builders.rs b/sdk/wafv2/src/operation/get_web_acl/builders.rs index 3b7c9bca6d5b..3c55183e95dc 100644 --- a/sdk/wafv2/src/operation/get_web_acl/builders.rs +++ b/sdk/wafv2/src/operation/get_web_acl/builders.rs @@ -19,9 +19,9 @@ impl GetWebACLFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl GetWebACLFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::get_web_acl::GetWebACL, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              The name of the web ACL. You cannot change the name of a web ACL after you create it.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              pub fn name(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.name(input.into()); diff --git a/sdk/wafv2/src/operation/get_web_acl_for_resource/builders.rs b/sdk/wafv2/src/operation/get_web_acl_for_resource/builders.rs index 746fe36e02f7..22e73abf5f00 100644 --- a/sdk/wafv2/src/operation/get_web_acl_for_resource/builders.rs +++ b/sdk/wafv2/src/operation/get_web_acl_for_resource/builders.rs @@ -19,9 +19,9 @@ impl GetWebACLForResourceFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl GetWebACLForResourceFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::get_web_acl_for_resource::GetWebACLForResource, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::get_web_acl_for_resource::GetWebACLForResourceError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              The Amazon Resource Name (ARN) of the resource whose web ACL you want to retrieve.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              ///

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              The ARN must be in one of the following formats:

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              ///
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                diff --git a/sdk/wafv2/src/operation/list_api_keys/builders.rs b/sdk/wafv2/src/operation/list_api_keys/builders.rs index 903b36b067a3..9128ca2822f3 100644 --- a/sdk/wafv2/src/operation/list_api_keys/builders.rs +++ b/sdk/wafv2/src/operation/list_api_keys/builders.rs @@ -20,9 +20,9 @@ impl ListAPIKeysFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -78,6 +78,20 @@ impl ListAPIKeysFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_api_keys::ListAPIKeys, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                Specifies whether this is for an Amazon CloudFront distribution or for a regional application. A regional application can be an Application Load Balancer (ALB), an Amazon API Gateway REST API, an AppSync GraphQL API, an Amazon Cognito user pool, an App Runner service, or an Amazon Web Services Verified Access instance.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                ///

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                To work with CloudFront, you must also specify the Region US East (N. Virginia) as follows:

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                ///
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  diff --git a/sdk/wafv2/src/operation/list_available_managed_rule_group_versions/builders.rs b/sdk/wafv2/src/operation/list_available_managed_rule_group_versions/builders.rs index da11fe711cb5..6890d9ecafcb 100644 --- a/sdk/wafv2/src/operation/list_available_managed_rule_group_versions/builders.rs +++ b/sdk/wafv2/src/operation/list_available_managed_rule_group_versions/builders.rs @@ -19,9 +19,9 @@ impl ListAvailableManagedRuleGroupVersionsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize(self) -> ::std::result::Result< + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware(self) -> ::std::result::Result< crate::client::customize::CustomizableOperation, ::aws_smithy_http::result::SdkError >{ @@ -64,6 +64,15 @@ impl ListAvailableManagedRuleGroupVersionsFluentBuilder { { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize(self) -> ::std::result::Result< + crate::client::customize::CustomizableOperation, + ::aws_smithy_http::result::SdkError + >{ + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  The name of the managed rule group vendor. You use this, along with the rule group name, to identify the rule group.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  pub fn vendor_name(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.vendor_name(input.into()); diff --git a/sdk/wafv2/src/operation/list_available_managed_rule_groups/builders.rs b/sdk/wafv2/src/operation/list_available_managed_rule_groups/builders.rs index 0da9e3631950..6e99c2f01cde 100644 --- a/sdk/wafv2/src/operation/list_available_managed_rule_groups/builders.rs +++ b/sdk/wafv2/src/operation/list_available_managed_rule_groups/builders.rs @@ -19,9 +19,9 @@ impl ListAvailableManagedRuleGroupsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize(self) -> ::std::result::Result< + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware(self) -> ::std::result::Result< crate::client::customize::CustomizableOperation, ::aws_smithy_http::result::SdkError >{ @@ -64,6 +64,15 @@ impl ListAvailableManagedRuleGroupsFluentBuilder { { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize(self) -> ::std::result::Result< + crate::client::customize::CustomizableOperation, + ::aws_smithy_http::result::SdkError + >{ + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  Specifies whether this is for an Amazon CloudFront distribution or for a regional application. A regional application can be an Application Load Balancer (ALB), an Amazon API Gateway REST API, an AppSync GraphQL API, an Amazon Cognito user pool, an App Runner service, or an Amazon Web Services Verified Access instance.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  ///

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  To work with CloudFront, you must also specify the Region US East (N. Virginia) as follows:

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  ///
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    diff --git a/sdk/wafv2/src/operation/list_ip_sets/builders.rs b/sdk/wafv2/src/operation/list_ip_sets/builders.rs index 14576abe5f90..8d0a99fb91e3 100644 --- a/sdk/wafv2/src/operation/list_ip_sets/builders.rs +++ b/sdk/wafv2/src/operation/list_ip_sets/builders.rs @@ -19,9 +19,9 @@ impl ListIPSetsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl ListIPSetsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_ip_sets::ListIPSets, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    Specifies whether this is for an Amazon CloudFront distribution or for a regional application. A regional application can be an Application Load Balancer (ALB), an Amazon API Gateway REST API, an AppSync GraphQL API, an Amazon Cognito user pool, an App Runner service, or an Amazon Web Services Verified Access instance.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    ///

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    To work with CloudFront, you must also specify the Region US East (N. Virginia) as follows:

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    ///
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      diff --git a/sdk/wafv2/src/operation/list_logging_configurations/builders.rs b/sdk/wafv2/src/operation/list_logging_configurations/builders.rs index 682c3f86d200..218ca20261a5 100644 --- a/sdk/wafv2/src/operation/list_logging_configurations/builders.rs +++ b/sdk/wafv2/src/operation/list_logging_configurations/builders.rs @@ -19,9 +19,9 @@ impl ListLoggingConfigurationsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl ListLoggingConfigurationsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_logging_configurations::ListLoggingConfigurations, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::list_logging_configurations::ListLoggingConfigurationsError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      Specifies whether this is for an Amazon CloudFront distribution or for a regional application. A regional application can be an Application Load Balancer (ALB), an Amazon API Gateway REST API, an AppSync GraphQL API, an Amazon Cognito user pool, an App Runner service, or an Amazon Web Services Verified Access instance.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      ///

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      To work with CloudFront, you must also specify the Region US East (N. Virginia) as follows:

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      ///
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        diff --git a/sdk/wafv2/src/operation/list_managed_rule_sets/builders.rs b/sdk/wafv2/src/operation/list_managed_rule_sets/builders.rs index 2e4646b6f4ed..80cba502e50e 100644 --- a/sdk/wafv2/src/operation/list_managed_rule_sets/builders.rs +++ b/sdk/wafv2/src/operation/list_managed_rule_sets/builders.rs @@ -22,9 +22,9 @@ impl ListManagedRuleSetsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -86,6 +86,22 @@ impl ListManagedRuleSetsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_managed_rule_sets::ListManagedRuleSets, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::list_managed_rule_sets::ListManagedRuleSetsError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        Specifies whether this is for an Amazon CloudFront distribution or for a regional application. A regional application can be an Application Load Balancer (ALB), an Amazon API Gateway REST API, an AppSync GraphQL API, an Amazon Cognito user pool, an App Runner service, or an Amazon Web Services Verified Access instance.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        ///

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        To work with CloudFront, you must also specify the Region US East (N. Virginia) as follows:

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        ///
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          diff --git a/sdk/wafv2/src/operation/list_mobile_sdk_releases/builders.rs b/sdk/wafv2/src/operation/list_mobile_sdk_releases/builders.rs index 5852faf08a15..3d116a64ffb7 100644 --- a/sdk/wafv2/src/operation/list_mobile_sdk_releases/builders.rs +++ b/sdk/wafv2/src/operation/list_mobile_sdk_releases/builders.rs @@ -20,9 +20,9 @@ impl ListMobileSdkReleasesFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -84,6 +84,22 @@ impl ListMobileSdkReleasesFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_mobile_sdk_releases::ListMobileSdkReleases, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::list_mobile_sdk_releases::ListMobileSdkReleasesError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          The device platform to retrieve the list for.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          pub fn platform(mut self, input: crate::types::Platform) -> Self { self.inner = self.inner.platform(input); diff --git a/sdk/wafv2/src/operation/list_regex_pattern_sets/builders.rs b/sdk/wafv2/src/operation/list_regex_pattern_sets/builders.rs index 20d5bb3eb01b..74202891f103 100644 --- a/sdk/wafv2/src/operation/list_regex_pattern_sets/builders.rs +++ b/sdk/wafv2/src/operation/list_regex_pattern_sets/builders.rs @@ -19,9 +19,9 @@ impl ListRegexPatternSetsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl ListRegexPatternSetsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_regex_pattern_sets::ListRegexPatternSets, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::list_regex_pattern_sets::ListRegexPatternSetsError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          Specifies whether this is for an Amazon CloudFront distribution or for a regional application. A regional application can be an Application Load Balancer (ALB), an Amazon API Gateway REST API, an AppSync GraphQL API, an Amazon Cognito user pool, an App Runner service, or an Amazon Web Services Verified Access instance.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          ///

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          To work with CloudFront, you must also specify the Region US East (N. Virginia) as follows:

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          ///
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            diff --git a/sdk/wafv2/src/operation/list_resources_for_web_acl/builders.rs b/sdk/wafv2/src/operation/list_resources_for_web_acl/builders.rs index daf782e9b921..a5af2553d0d6 100644 --- a/sdk/wafv2/src/operation/list_resources_for_web_acl/builders.rs +++ b/sdk/wafv2/src/operation/list_resources_for_web_acl/builders.rs @@ -20,9 +20,9 @@ impl ListResourcesForWebACLFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -84,6 +84,22 @@ impl ListResourcesForWebACLFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_resources_for_web_acl::ListResourcesForWebACL, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::list_resources_for_web_acl::ListResourcesForWebACLError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            The Amazon Resource Name (ARN) of the web ACL.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            pub fn web_acl_arn(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.web_acl_arn(input.into()); diff --git a/sdk/wafv2/src/operation/list_rule_groups/builders.rs b/sdk/wafv2/src/operation/list_rule_groups/builders.rs index db065efc9004..662e8d0e562e 100644 --- a/sdk/wafv2/src/operation/list_rule_groups/builders.rs +++ b/sdk/wafv2/src/operation/list_rule_groups/builders.rs @@ -19,9 +19,9 @@ impl ListRuleGroupsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl ListRuleGroupsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_rule_groups::ListRuleGroups, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::list_rule_groups::ListRuleGroupsError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            Specifies whether this is for an Amazon CloudFront distribution or for a regional application. A regional application can be an Application Load Balancer (ALB), an Amazon API Gateway REST API, an AppSync GraphQL API, an Amazon Cognito user pool, an App Runner service, or an Amazon Web Services Verified Access instance.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            ///

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            To work with CloudFront, you must also specify the Region US East (N. Virginia) as follows:

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            ///
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              diff --git a/sdk/wafv2/src/operation/list_tags_for_resource/builders.rs b/sdk/wafv2/src/operation/list_tags_for_resource/builders.rs index 1d0ef2a79edd..de4284fa1b43 100644 --- a/sdk/wafv2/src/operation/list_tags_for_resource/builders.rs +++ b/sdk/wafv2/src/operation/list_tags_for_resource/builders.rs @@ -20,9 +20,9 @@ impl ListTagsForResourceFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -84,6 +84,22 @@ impl ListTagsForResourceFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_tags_for_resource::ListTagsForResource, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::list_tags_for_resource::ListTagsForResourceError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              When you request a list of objects with a Limit setting, if the number of objects that are still available for retrieval exceeds the limit, WAF returns a NextMarker value in the response. To retrieve the next batch of objects, provide the marker from the prior call in your next request.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              pub fn next_marker(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.next_marker(input.into()); diff --git a/sdk/wafv2/src/operation/list_web_ac_ls/builders.rs b/sdk/wafv2/src/operation/list_web_ac_ls/builders.rs index 3d6563b928f1..8760a7861a87 100644 --- a/sdk/wafv2/src/operation/list_web_ac_ls/builders.rs +++ b/sdk/wafv2/src/operation/list_web_ac_ls/builders.rs @@ -19,9 +19,9 @@ impl ListWebACLsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl ListWebACLsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_web_ac_ls::ListWebACLs, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              Specifies whether this is for an Amazon CloudFront distribution or for a regional application. A regional application can be an Application Load Balancer (ALB), an Amazon API Gateway REST API, an AppSync GraphQL API, an Amazon Cognito user pool, an App Runner service, or an Amazon Web Services Verified Access instance.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              ///

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              To work with CloudFront, you must also specify the Region US East (N. Virginia) as follows:

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              ///
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                diff --git a/sdk/wafv2/src/operation/put_logging_configuration/builders.rs b/sdk/wafv2/src/operation/put_logging_configuration/builders.rs index 09ab925139ae..284cbb2b8002 100644 --- a/sdk/wafv2/src/operation/put_logging_configuration/builders.rs +++ b/sdk/wafv2/src/operation/put_logging_configuration/builders.rs @@ -37,9 +37,9 @@ impl PutLoggingConfigurationFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -101,6 +101,22 @@ impl PutLoggingConfigurationFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::put_logging_configuration::PutLoggingConfiguration, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::put_logging_configuration::PutLoggingConfigurationError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                pub fn logging_configuration(mut self, input: crate::types::LoggingConfiguration) -> Self { self.inner = self.inner.logging_configuration(input); diff --git a/sdk/wafv2/src/operation/put_managed_rule_set_versions/builders.rs b/sdk/wafv2/src/operation/put_managed_rule_set_versions/builders.rs index 183c8b45163d..a0854ea7aa6d 100644 --- a/sdk/wafv2/src/operation/put_managed_rule_set_versions/builders.rs +++ b/sdk/wafv2/src/operation/put_managed_rule_set_versions/builders.rs @@ -24,9 +24,9 @@ impl PutManagedRuleSetVersionsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -88,6 +88,22 @@ impl PutManagedRuleSetVersionsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::put_managed_rule_set_versions::PutManagedRuleSetVersions, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::put_managed_rule_set_versions::PutManagedRuleSetVersionsError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                The name of the managed rule set. You use this, along with the rule set ID, to identify the rule set.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                ///

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                This name is assigned to the corresponding managed rule group, which your customers can access and use.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                pub fn name(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { diff --git a/sdk/wafv2/src/operation/put_permission_policy/builders.rs b/sdk/wafv2/src/operation/put_permission_policy/builders.rs index 1005535f73ea..adace6ab3d5e 100644 --- a/sdk/wafv2/src/operation/put_permission_policy/builders.rs +++ b/sdk/wafv2/src/operation/put_permission_policy/builders.rs @@ -26,9 +26,9 @@ impl PutPermissionPolicyFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -90,6 +90,22 @@ impl PutPermissionPolicyFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::put_permission_policy::PutPermissionPolicy, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::put_permission_policy::PutPermissionPolicyError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                The Amazon Resource Name (ARN) of the RuleGroup to which you want to attach the policy.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                pub fn resource_arn(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.resource_arn(input.into()); diff --git a/sdk/wafv2/src/operation/tag_resource/builders.rs b/sdk/wafv2/src/operation/tag_resource/builders.rs index 504890dd2187..e0ad861b0536 100644 --- a/sdk/wafv2/src/operation/tag_resource/builders.rs +++ b/sdk/wafv2/src/operation/tag_resource/builders.rs @@ -20,9 +20,9 @@ impl TagResourceFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -78,6 +78,20 @@ impl TagResourceFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::tag_resource::TagResource, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                The Amazon Resource Name (ARN) of the resource.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                pub fn resource_arn(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.resource_arn(input.into()); diff --git a/sdk/wafv2/src/operation/untag_resource/builders.rs b/sdk/wafv2/src/operation/untag_resource/builders.rs index 0e4e363370d8..ad4e1a411a17 100644 --- a/sdk/wafv2/src/operation/untag_resource/builders.rs +++ b/sdk/wafv2/src/operation/untag_resource/builders.rs @@ -19,9 +19,9 @@ impl UntagResourceFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl UntagResourceFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::untag_resource::UntagResource, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                The Amazon Resource Name (ARN) of the resource.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                pub fn resource_arn(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.resource_arn(input.into()); diff --git a/sdk/wafv2/src/operation/update_ip_set/builders.rs b/sdk/wafv2/src/operation/update_ip_set/builders.rs index 7eae55782423..c809914d271b 100644 --- a/sdk/wafv2/src/operation/update_ip_set/builders.rs +++ b/sdk/wafv2/src/operation/update_ip_set/builders.rs @@ -28,9 +28,9 @@ impl UpdateIPSetFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -86,6 +86,20 @@ impl UpdateIPSetFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::update_ip_set::UpdateIPSet, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                The name of the IP set. You cannot change the name of an IPSet after you create it.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                pub fn name(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.name(input.into()); diff --git a/sdk/wafv2/src/operation/update_managed_rule_set_version_expiry_date/builders.rs b/sdk/wafv2/src/operation/update_managed_rule_set_version_expiry_date/builders.rs index 816af8815800..f47dcfee3fc2 100644 --- a/sdk/wafv2/src/operation/update_managed_rule_set_version_expiry_date/builders.rs +++ b/sdk/wafv2/src/operation/update_managed_rule_set_version_expiry_date/builders.rs @@ -22,9 +22,9 @@ impl UpdateManagedRuleSetVersionExpiryDateFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize(self) -> ::std::result::Result< + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware(self) -> ::std::result::Result< crate::client::customize::CustomizableOperation, ::aws_smithy_http::result::SdkError >{ @@ -67,6 +67,15 @@ impl UpdateManagedRuleSetVersionExpiryDateFluentBuilder { { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize(self) -> ::std::result::Result< + crate::client::customize::CustomizableOperation, + ::aws_smithy_http::result::SdkError + >{ + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                The name of the managed rule set. You use this, along with the rule set ID, to identify the rule set.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                ///

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                This name is assigned to the corresponding managed rule group, which your customers can access and use.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                pub fn name(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { diff --git a/sdk/wafv2/src/operation/update_regex_pattern_set/builders.rs b/sdk/wafv2/src/operation/update_regex_pattern_set/builders.rs index 2de6c6e5bad4..478865cb2c72 100644 --- a/sdk/wafv2/src/operation/update_regex_pattern_set/builders.rs +++ b/sdk/wafv2/src/operation/update_regex_pattern_set/builders.rs @@ -28,9 +28,9 @@ impl UpdateRegexPatternSetFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -92,6 +92,22 @@ impl UpdateRegexPatternSetFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::update_regex_pattern_set::UpdateRegexPatternSet, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::update_regex_pattern_set::UpdateRegexPatternSetError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                The name of the set. You cannot change the name after you create the set.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                pub fn name(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.name(input.into()); diff --git a/sdk/wafv2/src/operation/update_rule_group/builders.rs b/sdk/wafv2/src/operation/update_rule_group/builders.rs index dd1b0db82397..e215d4348a87 100644 --- a/sdk/wafv2/src/operation/update_rule_group/builders.rs +++ b/sdk/wafv2/src/operation/update_rule_group/builders.rs @@ -29,9 +29,9 @@ impl UpdateRuleGroupFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -93,6 +93,22 @@ impl UpdateRuleGroupFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::update_rule_group::UpdateRuleGroup, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::update_rule_group::UpdateRuleGroupError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                The name of the rule group. You cannot change the name of a rule group after you create it.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                pub fn name(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.name(input.into()); diff --git a/sdk/wafv2/src/operation/update_web_acl/builders.rs b/sdk/wafv2/src/operation/update_web_acl/builders.rs index 16fa7d816a5b..0f1bb7a25bd7 100644 --- a/sdk/wafv2/src/operation/update_web_acl/builders.rs +++ b/sdk/wafv2/src/operation/update_web_acl/builders.rs @@ -29,9 +29,9 @@ impl UpdateWebACLFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -87,6 +87,20 @@ impl UpdateWebACLFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::update_web_acl::UpdateWebACL, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                The name of the web ACL. You cannot change the name of a web ACL after you create it.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                pub fn name(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.name(input.into()); diff --git a/sdk/wellarchitected/src/operation/associate_lenses/builders.rs b/sdk/wellarchitected/src/operation/associate_lenses/builders.rs index 9a8e94e3c6ca..0c6854543ad2 100644 --- a/sdk/wellarchitected/src/operation/associate_lenses/builders.rs +++ b/sdk/wellarchitected/src/operation/associate_lenses/builders.rs @@ -23,9 +23,9 @@ impl AssociateLensesFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -87,6 +87,22 @@ impl AssociateLensesFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::associate_lenses::AssociateLenses, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::associate_lenses::AssociateLensesError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                The ID assigned to the workload. This ID is unique within an Amazon Web Services Region.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                pub fn workload_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.workload_id(input.into()); diff --git a/sdk/wellarchitected/src/operation/create_lens_share/builders.rs b/sdk/wellarchitected/src/operation/create_lens_share/builders.rs index d1747c58eb0e..03e3cbfdbaa6 100644 --- a/sdk/wellarchitected/src/operation/create_lens_share/builders.rs +++ b/sdk/wellarchitected/src/operation/create_lens_share/builders.rs @@ -26,9 +26,9 @@ impl CreateLensShareFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -90,6 +90,22 @@ impl CreateLensShareFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::create_lens_share::CreateLensShare, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::create_lens_share::CreateLensShareError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                The alias of the lens.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                ///

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                For Amazon Web Services official lenses, this is either the lens alias, such as serverless, or the lens ARN, such as arn:aws:wellarchitected:us-east-1::lens/serverless. Note that some operations (such as ExportLens and CreateLensShare) are not permitted on Amazon Web Services official lenses.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                ///

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                For custom lenses, this is the lens ARN, such as arn:aws:wellarchitected:us-west-2:123456789012:lens/0123456789abcdef01234567890abcdef.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                diff --git a/sdk/wellarchitected/src/operation/create_lens_version/builders.rs b/sdk/wellarchitected/src/operation/create_lens_version/builders.rs index 50ca70551fd4..292b8cd8fc54 100644 --- a/sdk/wellarchitected/src/operation/create_lens_version/builders.rs +++ b/sdk/wellarchitected/src/operation/create_lens_version/builders.rs @@ -21,9 +21,9 @@ impl CreateLensVersionFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -85,6 +85,22 @@ impl CreateLensVersionFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::create_lens_version::CreateLensVersion, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::create_lens_version::CreateLensVersionError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                The alias of the lens.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                ///

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                For Amazon Web Services official lenses, this is either the lens alias, such as serverless, or the lens ARN, such as arn:aws:wellarchitected:us-east-1::lens/serverless. Note that some operations (such as ExportLens and CreateLensShare) are not permitted on Amazon Web Services official lenses.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                ///

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                For custom lenses, this is the lens ARN, such as arn:aws:wellarchitected:us-west-2:123456789012:lens/0123456789abcdef01234567890abcdef.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                diff --git a/sdk/wellarchitected/src/operation/create_milestone/builders.rs b/sdk/wellarchitected/src/operation/create_milestone/builders.rs index c3b548746757..0f80555bc8a8 100644 --- a/sdk/wellarchitected/src/operation/create_milestone/builders.rs +++ b/sdk/wellarchitected/src/operation/create_milestone/builders.rs @@ -19,9 +19,9 @@ impl CreateMilestoneFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl CreateMilestoneFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::create_milestone::CreateMilestone, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::create_milestone::CreateMilestoneError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                The ID assigned to the workload. This ID is unique within an Amazon Web Services Region.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                pub fn workload_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.workload_id(input.into()); diff --git a/sdk/wellarchitected/src/operation/create_workload/builders.rs b/sdk/wellarchitected/src/operation/create_workload/builders.rs index b13d06459503..e4bc99975616 100644 --- a/sdk/wellarchitected/src/operation/create_workload/builders.rs +++ b/sdk/wellarchitected/src/operation/create_workload/builders.rs @@ -24,9 +24,9 @@ impl CreateWorkloadFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -82,6 +82,20 @@ impl CreateWorkloadFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::create_workload::CreateWorkload, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                The name of the workload.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                ///

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                The name must be unique within an account within an Amazon Web Services Region. Spaces and capitalization are ignored when checking for uniqueness.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                pub fn workload_name( diff --git a/sdk/wellarchitected/src/operation/create_workload_share/builders.rs b/sdk/wellarchitected/src/operation/create_workload_share/builders.rs index d75a902f3aea..2843fa9b2ea3 100644 --- a/sdk/wellarchitected/src/operation/create_workload_share/builders.rs +++ b/sdk/wellarchitected/src/operation/create_workload_share/builders.rs @@ -22,9 +22,9 @@ impl CreateWorkloadShareFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -86,6 +86,22 @@ impl CreateWorkloadShareFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::create_workload_share::CreateWorkloadShare, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::create_workload_share::CreateWorkloadShareError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                The ID assigned to the workload. This ID is unique within an Amazon Web Services Region.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                pub fn workload_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.workload_id(input.into()); diff --git a/sdk/wellarchitected/src/operation/delete_lens/builders.rs b/sdk/wellarchitected/src/operation/delete_lens/builders.rs index 11cfffbed4e2..f99540ae9aaf 100644 --- a/sdk/wellarchitected/src/operation/delete_lens/builders.rs +++ b/sdk/wellarchitected/src/operation/delete_lens/builders.rs @@ -23,9 +23,9 @@ impl DeleteLensFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -81,6 +81,20 @@ impl DeleteLensFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::delete_lens::DeleteLens, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                The alias of the lens.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                ///

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                For Amazon Web Services official lenses, this is either the lens alias, such as serverless, or the lens ARN, such as arn:aws:wellarchitected:us-east-1::lens/serverless. Note that some operations (such as ExportLens and CreateLensShare) are not permitted on Amazon Web Services official lenses.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                ///

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                For custom lenses, this is the lens ARN, such as arn:aws:wellarchitected:us-west-2:123456789012:lens/0123456789abcdef01234567890abcdef.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                diff --git a/sdk/wellarchitected/src/operation/delete_lens_share/builders.rs b/sdk/wellarchitected/src/operation/delete_lens_share/builders.rs index a7a32273c73f..494615daf86f 100644 --- a/sdk/wellarchitected/src/operation/delete_lens_share/builders.rs +++ b/sdk/wellarchitected/src/operation/delete_lens_share/builders.rs @@ -23,9 +23,9 @@ impl DeleteLensShareFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -87,6 +87,22 @@ impl DeleteLensShareFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::delete_lens_share::DeleteLensShare, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::delete_lens_share::DeleteLensShareError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                The ID associated with the workload share.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                pub fn share_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.share_id(input.into()); diff --git a/sdk/wellarchitected/src/operation/delete_workload/builders.rs b/sdk/wellarchitected/src/operation/delete_workload/builders.rs index 6d7254156932..b3ddad517828 100644 --- a/sdk/wellarchitected/src/operation/delete_workload/builders.rs +++ b/sdk/wellarchitected/src/operation/delete_workload/builders.rs @@ -19,9 +19,9 @@ impl DeleteWorkloadFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl DeleteWorkloadFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::delete_workload::DeleteWorkload, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                The ID assigned to the workload. This ID is unique within an Amazon Web Services Region.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                pub fn workload_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.workload_id(input.into()); diff --git a/sdk/wellarchitected/src/operation/delete_workload_share/builders.rs b/sdk/wellarchitected/src/operation/delete_workload_share/builders.rs index a895603ab62f..939d98127427 100644 --- a/sdk/wellarchitected/src/operation/delete_workload_share/builders.rs +++ b/sdk/wellarchitected/src/operation/delete_workload_share/builders.rs @@ -19,9 +19,9 @@ impl DeleteWorkloadShareFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl DeleteWorkloadShareFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::delete_workload_share::DeleteWorkloadShare, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::delete_workload_share::DeleteWorkloadShareError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                The ID associated with the workload share.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                pub fn share_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.share_id(input.into()); diff --git a/sdk/wellarchitected/src/operation/disassociate_lenses/builders.rs b/sdk/wellarchitected/src/operation/disassociate_lenses/builders.rs index 1d9ff1fc48e2..2590e01da09a 100644 --- a/sdk/wellarchitected/src/operation/disassociate_lenses/builders.rs +++ b/sdk/wellarchitected/src/operation/disassociate_lenses/builders.rs @@ -22,9 +22,9 @@ impl DisassociateLensesFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -86,6 +86,22 @@ impl DisassociateLensesFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::disassociate_lenses::DisassociateLenses, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::disassociate_lenses::DisassociateLensesError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                The ID assigned to the workload. This ID is unique within an Amazon Web Services Region.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                pub fn workload_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.workload_id(input.into()); diff --git a/sdk/wellarchitected/src/operation/export_lens/builders.rs b/sdk/wellarchitected/src/operation/export_lens/builders.rs index d109a7ce4e89..5b9eb050f265 100644 --- a/sdk/wellarchitected/src/operation/export_lens/builders.rs +++ b/sdk/wellarchitected/src/operation/export_lens/builders.rs @@ -24,9 +24,9 @@ impl ExportLensFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -82,6 +82,20 @@ impl ExportLensFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::export_lens::ExportLens, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                The alias of the lens.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                ///

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                For Amazon Web Services official lenses, this is either the lens alias, such as serverless, or the lens ARN, such as arn:aws:wellarchitected:us-east-1::lens/serverless. Note that some operations (such as ExportLens and CreateLensShare) are not permitted on Amazon Web Services official lenses.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                ///

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                For custom lenses, this is the lens ARN, such as arn:aws:wellarchitected:us-west-2:123456789012:lens/0123456789abcdef01234567890abcdef.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                diff --git a/sdk/wellarchitected/src/operation/get_answer/builders.rs b/sdk/wellarchitected/src/operation/get_answer/builders.rs index 17a010e4536d..b236b61bbd70 100644 --- a/sdk/wellarchitected/src/operation/get_answer/builders.rs +++ b/sdk/wellarchitected/src/operation/get_answer/builders.rs @@ -19,9 +19,9 @@ impl GetAnswerFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl GetAnswerFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::get_answer::GetAnswer, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                The ID assigned to the workload. This ID is unique within an Amazon Web Services Region.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                pub fn workload_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.workload_id(input.into()); diff --git a/sdk/wellarchitected/src/operation/get_consolidated_report/builders.rs b/sdk/wellarchitected/src/operation/get_consolidated_report/builders.rs index f5edd0a1f67d..bcd0650fab48 100644 --- a/sdk/wellarchitected/src/operation/get_consolidated_report/builders.rs +++ b/sdk/wellarchitected/src/operation/get_consolidated_report/builders.rs @@ -20,9 +20,9 @@ impl GetConsolidatedReportFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -84,6 +84,22 @@ impl GetConsolidatedReportFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::get_consolidated_report::GetConsolidatedReport, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::get_consolidated_report::GetConsolidatedReportError, + >, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::get_consolidated_report::paginator::GetConsolidatedReportPaginator::send) which returns a `Stream`. diff --git a/sdk/wellarchitected/src/operation/get_lens/builders.rs b/sdk/wellarchitected/src/operation/get_lens/builders.rs index d3389df321e3..1b772f93d442 100644 --- a/sdk/wellarchitected/src/operation/get_lens/builders.rs +++ b/sdk/wellarchitected/src/operation/get_lens/builders.rs @@ -19,9 +19,9 @@ impl GetLensFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl GetLensFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::get_lens::GetLens, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                The alias of the lens.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                ///

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                For Amazon Web Services official lenses, this is either the lens alias, such as serverless, or the lens ARN, such as arn:aws:wellarchitected:us-east-1::lens/serverless. Note that some operations (such as ExportLens and CreateLensShare) are not permitted on Amazon Web Services official lenses.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                ///

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                For custom lenses, this is the lens ARN, such as arn:aws:wellarchitected:us-west-2:123456789012:lens/0123456789abcdef01234567890abcdef.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                diff --git a/sdk/wellarchitected/src/operation/get_lens_review/builders.rs b/sdk/wellarchitected/src/operation/get_lens_review/builders.rs index 14b31f74c231..9111cbce2702 100644 --- a/sdk/wellarchitected/src/operation/get_lens_review/builders.rs +++ b/sdk/wellarchitected/src/operation/get_lens_review/builders.rs @@ -19,9 +19,9 @@ impl GetLensReviewFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl GetLensReviewFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::get_lens_review::GetLensReview, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                The ID assigned to the workload. This ID is unique within an Amazon Web Services Region.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                pub fn workload_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.workload_id(input.into()); diff --git a/sdk/wellarchitected/src/operation/get_lens_review_report/builders.rs b/sdk/wellarchitected/src/operation/get_lens_review_report/builders.rs index 1cb393ac1e53..4aabec1c6660 100644 --- a/sdk/wellarchitected/src/operation/get_lens_review_report/builders.rs +++ b/sdk/wellarchitected/src/operation/get_lens_review_report/builders.rs @@ -19,9 +19,9 @@ impl GetLensReviewReportFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl GetLensReviewReportFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::get_lens_review_report::GetLensReviewReport, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::get_lens_review_report::GetLensReviewReportError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                The ID assigned to the workload. This ID is unique within an Amazon Web Services Region.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                pub fn workload_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.workload_id(input.into()); diff --git a/sdk/wellarchitected/src/operation/get_lens_version_difference/builders.rs b/sdk/wellarchitected/src/operation/get_lens_version_difference/builders.rs index 6f4a2f0ee616..047475d3a149 100644 --- a/sdk/wellarchitected/src/operation/get_lens_version_difference/builders.rs +++ b/sdk/wellarchitected/src/operation/get_lens_version_difference/builders.rs @@ -19,9 +19,9 @@ impl GetLensVersionDifferenceFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl GetLensVersionDifferenceFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::get_lens_version_difference::GetLensVersionDifference, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::get_lens_version_difference::GetLensVersionDifferenceError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                The alias of the lens.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                ///

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                For Amazon Web Services official lenses, this is either the lens alias, such as serverless, or the lens ARN, such as arn:aws:wellarchitected:us-east-1::lens/serverless. Note that some operations (such as ExportLens and CreateLensShare) are not permitted on Amazon Web Services official lenses.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                ///

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                For custom lenses, this is the lens ARN, such as arn:aws:wellarchitected:us-west-2:123456789012:lens/0123456789abcdef01234567890abcdef.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                diff --git a/sdk/wellarchitected/src/operation/get_milestone/builders.rs b/sdk/wellarchitected/src/operation/get_milestone/builders.rs index 492f098f5a0c..900761904b51 100644 --- a/sdk/wellarchitected/src/operation/get_milestone/builders.rs +++ b/sdk/wellarchitected/src/operation/get_milestone/builders.rs @@ -19,9 +19,9 @@ impl GetMilestoneFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl GetMilestoneFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::get_milestone::GetMilestone, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                The ID assigned to the workload. This ID is unique within an Amazon Web Services Region.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                pub fn workload_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.workload_id(input.into()); diff --git a/sdk/wellarchitected/src/operation/get_workload/builders.rs b/sdk/wellarchitected/src/operation/get_workload/builders.rs index 37d806b56f20..80ca9dcce515 100644 --- a/sdk/wellarchitected/src/operation/get_workload/builders.rs +++ b/sdk/wellarchitected/src/operation/get_workload/builders.rs @@ -19,9 +19,9 @@ impl GetWorkloadFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl GetWorkloadFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::get_workload::GetWorkload, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                The ID assigned to the workload. This ID is unique within an Amazon Web Services Region.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                pub fn workload_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.workload_id(input.into()); diff --git a/sdk/wellarchitected/src/operation/import_lens/builders.rs b/sdk/wellarchitected/src/operation/import_lens/builders.rs index d99b9650625b..fc548a479eab 100644 --- a/sdk/wellarchitected/src/operation/import_lens/builders.rs +++ b/sdk/wellarchitected/src/operation/import_lens/builders.rs @@ -26,9 +26,9 @@ impl ImportLensFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -84,6 +84,20 @@ impl ImportLensFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::import_lens::ImportLens, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                The alias of the lens.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                ///

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                For Amazon Web Services official lenses, this is either the lens alias, such as serverless, or the lens ARN, such as arn:aws:wellarchitected:us-east-1::lens/serverless. Note that some operations (such as ExportLens and CreateLensShare) are not permitted on Amazon Web Services official lenses.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                ///

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                For custom lenses, this is the lens ARN, such as arn:aws:wellarchitected:us-west-2:123456789012:lens/0123456789abcdef01234567890abcdef.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                diff --git a/sdk/wellarchitected/src/operation/list_answers/builders.rs b/sdk/wellarchitected/src/operation/list_answers/builders.rs index f06f635f7b98..4f66c7d6b00c 100644 --- a/sdk/wellarchitected/src/operation/list_answers/builders.rs +++ b/sdk/wellarchitected/src/operation/list_answers/builders.rs @@ -19,9 +19,9 @@ impl ListAnswersFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl ListAnswersFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_answers::ListAnswers, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::list_answers::paginator::ListAnswersPaginator::send) which returns a `Stream`. diff --git a/sdk/wellarchitected/src/operation/list_check_details/builders.rs b/sdk/wellarchitected/src/operation/list_check_details/builders.rs index 28d9772c4e2b..6ccd82beaa58 100644 --- a/sdk/wellarchitected/src/operation/list_check_details/builders.rs +++ b/sdk/wellarchitected/src/operation/list_check_details/builders.rs @@ -19,9 +19,9 @@ impl ListCheckDetailsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl ListCheckDetailsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_check_details::ListCheckDetails, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::list_check_details::ListCheckDetailsError, + >, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::list_check_details::paginator::ListCheckDetailsPaginator::send) which returns a `Stream`. diff --git a/sdk/wellarchitected/src/operation/list_check_summaries/builders.rs b/sdk/wellarchitected/src/operation/list_check_summaries/builders.rs index e7c716a3e6f2..377f445b41a8 100644 --- a/sdk/wellarchitected/src/operation/list_check_summaries/builders.rs +++ b/sdk/wellarchitected/src/operation/list_check_summaries/builders.rs @@ -19,9 +19,9 @@ impl ListCheckSummariesFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl ListCheckSummariesFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_check_summaries::ListCheckSummaries, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::list_check_summaries::ListCheckSummariesError, + >, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::list_check_summaries::paginator::ListCheckSummariesPaginator::send) which returns a `Stream`. diff --git a/sdk/wellarchitected/src/operation/list_lens_review_improvements/builders.rs b/sdk/wellarchitected/src/operation/list_lens_review_improvements/builders.rs index 7c9f577a086c..0146dca32bb9 100644 --- a/sdk/wellarchitected/src/operation/list_lens_review_improvements/builders.rs +++ b/sdk/wellarchitected/src/operation/list_lens_review_improvements/builders.rs @@ -19,9 +19,9 @@ impl ListLensReviewImprovementsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl ListLensReviewImprovementsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_lens_review_improvements::ListLensReviewImprovements, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::list_lens_review_improvements::ListLensReviewImprovementsError, + >, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::list_lens_review_improvements::paginator::ListLensReviewImprovementsPaginator::send) which returns a `Stream`. diff --git a/sdk/wellarchitected/src/operation/list_lens_reviews/builders.rs b/sdk/wellarchitected/src/operation/list_lens_reviews/builders.rs index c167430adc2d..f4ee7669d3c6 100644 --- a/sdk/wellarchitected/src/operation/list_lens_reviews/builders.rs +++ b/sdk/wellarchitected/src/operation/list_lens_reviews/builders.rs @@ -19,9 +19,9 @@ impl ListLensReviewsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl ListLensReviewsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_lens_reviews::ListLensReviews, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::list_lens_reviews::ListLensReviewsError, + >, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::list_lens_reviews::paginator::ListLensReviewsPaginator::send) which returns a `Stream`. diff --git a/sdk/wellarchitected/src/operation/list_lens_shares/builders.rs b/sdk/wellarchitected/src/operation/list_lens_shares/builders.rs index 9d74857c5cea..3ecc4cc52fd4 100644 --- a/sdk/wellarchitected/src/operation/list_lens_shares/builders.rs +++ b/sdk/wellarchitected/src/operation/list_lens_shares/builders.rs @@ -19,9 +19,9 @@ impl ListLensSharesFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl ListLensSharesFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_lens_shares::ListLensShares, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::list_lens_shares::ListLensSharesError, + >, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::list_lens_shares::paginator::ListLensSharesPaginator::send) which returns a `Stream`. diff --git a/sdk/wellarchitected/src/operation/list_lenses/builders.rs b/sdk/wellarchitected/src/operation/list_lenses/builders.rs index 1d115a0e9b51..28066027bd3d 100644 --- a/sdk/wellarchitected/src/operation/list_lenses/builders.rs +++ b/sdk/wellarchitected/src/operation/list_lenses/builders.rs @@ -19,9 +19,9 @@ impl ListLensesFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl ListLensesFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_lenses::ListLenses, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::list_lenses::paginator::ListLensesPaginator::send) which returns a `Stream`. diff --git a/sdk/wellarchitected/src/operation/list_milestones/builders.rs b/sdk/wellarchitected/src/operation/list_milestones/builders.rs index d0a375e61743..f6344c4d9dca 100644 --- a/sdk/wellarchitected/src/operation/list_milestones/builders.rs +++ b/sdk/wellarchitected/src/operation/list_milestones/builders.rs @@ -19,9 +19,9 @@ impl ListMilestonesFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl ListMilestonesFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_milestones::ListMilestones, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::list_milestones::paginator::ListMilestonesPaginator::send) which returns a `Stream`. diff --git a/sdk/wellarchitected/src/operation/list_notifications/builders.rs b/sdk/wellarchitected/src/operation/list_notifications/builders.rs index 8329cbc22d22..28f2644e1b1f 100644 --- a/sdk/wellarchitected/src/operation/list_notifications/builders.rs +++ b/sdk/wellarchitected/src/operation/list_notifications/builders.rs @@ -19,9 +19,9 @@ impl ListNotificationsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl ListNotificationsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_notifications::ListNotifications, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::list_notifications::ListNotificationsError, + >, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::list_notifications::paginator::ListNotificationsPaginator::send) which returns a `Stream`. diff --git a/sdk/wellarchitected/src/operation/list_share_invitations/builders.rs b/sdk/wellarchitected/src/operation/list_share_invitations/builders.rs index 578ed29f347c..910d6a4dd9a4 100644 --- a/sdk/wellarchitected/src/operation/list_share_invitations/builders.rs +++ b/sdk/wellarchitected/src/operation/list_share_invitations/builders.rs @@ -19,9 +19,9 @@ impl ListShareInvitationsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl ListShareInvitationsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_share_invitations::ListShareInvitations, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::list_share_invitations::ListShareInvitationsError, + >, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::list_share_invitations::paginator::ListShareInvitationsPaginator::send) which returns a `Stream`. diff --git a/sdk/wellarchitected/src/operation/list_tags_for_resource/builders.rs b/sdk/wellarchitected/src/operation/list_tags_for_resource/builders.rs index 9ef31435871c..d7f86c79a9c8 100644 --- a/sdk/wellarchitected/src/operation/list_tags_for_resource/builders.rs +++ b/sdk/wellarchitected/src/operation/list_tags_for_resource/builders.rs @@ -21,9 +21,9 @@ impl ListTagsForResourceFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -85,6 +85,22 @@ impl ListTagsForResourceFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_tags_for_resource::ListTagsForResource, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::list_tags_for_resource::ListTagsForResourceError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                The ARN for the workload.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                pub fn workload_arn(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.workload_arn(input.into()); diff --git a/sdk/wellarchitected/src/operation/list_workload_shares/builders.rs b/sdk/wellarchitected/src/operation/list_workload_shares/builders.rs index cdf24628d3c7..6b7146566c07 100644 --- a/sdk/wellarchitected/src/operation/list_workload_shares/builders.rs +++ b/sdk/wellarchitected/src/operation/list_workload_shares/builders.rs @@ -19,9 +19,9 @@ impl ListWorkloadSharesFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl ListWorkloadSharesFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_workload_shares::ListWorkloadShares, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::list_workload_shares::ListWorkloadSharesError, + >, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::list_workload_shares::paginator::ListWorkloadSharesPaginator::send) which returns a `Stream`. diff --git a/sdk/wellarchitected/src/operation/list_workloads/builders.rs b/sdk/wellarchitected/src/operation/list_workloads/builders.rs index 71173d842bef..af27fd3daff2 100644 --- a/sdk/wellarchitected/src/operation/list_workloads/builders.rs +++ b/sdk/wellarchitected/src/operation/list_workloads/builders.rs @@ -19,9 +19,9 @@ impl ListWorkloadsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl ListWorkloadsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_workloads::ListWorkloads, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::list_workloads::paginator::ListWorkloadsPaginator::send) which returns a `Stream`. diff --git a/sdk/wellarchitected/src/operation/tag_resource/builders.rs b/sdk/wellarchitected/src/operation/tag_resource/builders.rs index 2418b65cc525..684780e0293a 100644 --- a/sdk/wellarchitected/src/operation/tag_resource/builders.rs +++ b/sdk/wellarchitected/src/operation/tag_resource/builders.rs @@ -21,9 +21,9 @@ impl TagResourceFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -79,6 +79,20 @@ impl TagResourceFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::tag_resource::TagResource, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                The ARN for the workload.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                pub fn workload_arn(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.workload_arn(input.into()); diff --git a/sdk/wellarchitected/src/operation/untag_resource/builders.rs b/sdk/wellarchitected/src/operation/untag_resource/builders.rs index b5db5aa65301..3534d9856836 100644 --- a/sdk/wellarchitected/src/operation/untag_resource/builders.rs +++ b/sdk/wellarchitected/src/operation/untag_resource/builders.rs @@ -23,9 +23,9 @@ impl UntagResourceFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -81,6 +81,20 @@ impl UntagResourceFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::untag_resource::UntagResource, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                The ARN for the workload.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                pub fn workload_arn(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.workload_arn(input.into()); diff --git a/sdk/wellarchitected/src/operation/update_answer/builders.rs b/sdk/wellarchitected/src/operation/update_answer/builders.rs index d6f19fa92655..154decd03ac8 100644 --- a/sdk/wellarchitected/src/operation/update_answer/builders.rs +++ b/sdk/wellarchitected/src/operation/update_answer/builders.rs @@ -19,9 +19,9 @@ impl UpdateAnswerFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl UpdateAnswerFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::update_answer::UpdateAnswer, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                The ID assigned to the workload. This ID is unique within an Amazon Web Services Region.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                pub fn workload_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.workload_id(input.into()); diff --git a/sdk/wellarchitected/src/operation/update_global_settings/builders.rs b/sdk/wellarchitected/src/operation/update_global_settings/builders.rs index e4a76fc7df3f..f1b026fb9f10 100644 --- a/sdk/wellarchitected/src/operation/update_global_settings/builders.rs +++ b/sdk/wellarchitected/src/operation/update_global_settings/builders.rs @@ -19,9 +19,9 @@ impl UpdateGlobalSettingsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl UpdateGlobalSettingsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::update_global_settings::UpdateGlobalSettings, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::update_global_settings::UpdateGlobalSettingsError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                The status of organization sharing settings.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                pub fn organization_sharing_status( mut self, diff --git a/sdk/wellarchitected/src/operation/update_lens_review/builders.rs b/sdk/wellarchitected/src/operation/update_lens_review/builders.rs index 16f7641bb6a3..2aca5875fc76 100644 --- a/sdk/wellarchitected/src/operation/update_lens_review/builders.rs +++ b/sdk/wellarchitected/src/operation/update_lens_review/builders.rs @@ -19,9 +19,9 @@ impl UpdateLensReviewFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl UpdateLensReviewFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::update_lens_review::UpdateLensReview, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::update_lens_review::UpdateLensReviewError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                The ID assigned to the workload. This ID is unique within an Amazon Web Services Region.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                pub fn workload_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.workload_id(input.into()); diff --git a/sdk/wellarchitected/src/operation/update_share_invitation/builders.rs b/sdk/wellarchitected/src/operation/update_share_invitation/builders.rs index addb155d594c..7aedcc598629 100644 --- a/sdk/wellarchitected/src/operation/update_share_invitation/builders.rs +++ b/sdk/wellarchitected/src/operation/update_share_invitation/builders.rs @@ -21,9 +21,9 @@ impl UpdateShareInvitationFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -85,6 +85,22 @@ impl UpdateShareInvitationFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::update_share_invitation::UpdateShareInvitation, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::update_share_invitation::UpdateShareInvitationError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                The ID assigned to the share invitation.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                pub fn share_invitation_id( mut self, diff --git a/sdk/wellarchitected/src/operation/update_workload/builders.rs b/sdk/wellarchitected/src/operation/update_workload/builders.rs index f9de1a9fd668..52e71a2cf0ee 100644 --- a/sdk/wellarchitected/src/operation/update_workload/builders.rs +++ b/sdk/wellarchitected/src/operation/update_workload/builders.rs @@ -19,9 +19,9 @@ impl UpdateWorkloadFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl UpdateWorkloadFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::update_workload::UpdateWorkload, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                The ID assigned to the workload. This ID is unique within an Amazon Web Services Region.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                pub fn workload_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.workload_id(input.into()); diff --git a/sdk/wellarchitected/src/operation/update_workload_share/builders.rs b/sdk/wellarchitected/src/operation/update_workload_share/builders.rs index b1025137e932..bb14390421a0 100644 --- a/sdk/wellarchitected/src/operation/update_workload_share/builders.rs +++ b/sdk/wellarchitected/src/operation/update_workload_share/builders.rs @@ -19,9 +19,9 @@ impl UpdateWorkloadShareFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl UpdateWorkloadShareFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::update_workload_share::UpdateWorkloadShare, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::update_workload_share::UpdateWorkloadShareError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                The ID associated with the workload share.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                pub fn share_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.share_id(input.into()); diff --git a/sdk/wellarchitected/src/operation/upgrade_lens_review/builders.rs b/sdk/wellarchitected/src/operation/upgrade_lens_review/builders.rs index f5d0711847fe..bfba346cc40d 100644 --- a/sdk/wellarchitected/src/operation/upgrade_lens_review/builders.rs +++ b/sdk/wellarchitected/src/operation/upgrade_lens_review/builders.rs @@ -19,9 +19,9 @@ impl UpgradeLensReviewFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl UpgradeLensReviewFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::upgrade_lens_review::UpgradeLensReview, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::upgrade_lens_review::UpgradeLensReviewError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                The ID assigned to the workload. This ID is unique within an Amazon Web Services Region.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                pub fn workload_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.workload_id(input.into()); diff --git a/sdk/wisdom/src/operation/create_assistant/builders.rs b/sdk/wisdom/src/operation/create_assistant/builders.rs index 9d2b9d9d92ea..415d32823b23 100644 --- a/sdk/wisdom/src/operation/create_assistant/builders.rs +++ b/sdk/wisdom/src/operation/create_assistant/builders.rs @@ -19,9 +19,9 @@ impl CreateAssistantFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl CreateAssistantFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::create_assistant::CreateAssistant, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::create_assistant::CreateAssistantError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                A unique, case-sensitive identifier that you provide to ensure the idempotency of the request. If not provided, the Amazon Web Services SDK populates this field. For more information about idempotency, see Making retries safe with idempotent APIs.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                pub fn client_token(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.client_token(input.into()); diff --git a/sdk/wisdom/src/operation/create_assistant_association/builders.rs b/sdk/wisdom/src/operation/create_assistant_association/builders.rs index a3d1191c5e2d..a1d262c1e470 100644 --- a/sdk/wisdom/src/operation/create_assistant_association/builders.rs +++ b/sdk/wisdom/src/operation/create_assistant_association/builders.rs @@ -19,9 +19,9 @@ impl CreateAssistantAssociationFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl CreateAssistantAssociationFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::create_assistant_association::CreateAssistantAssociation, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::create_assistant_association::CreateAssistantAssociationError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                The identifier of the Wisdom assistant. Can be either the ID or the ARN. URLs cannot contain the ARN.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                pub fn assistant_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.assistant_id(input.into()); diff --git a/sdk/wisdom/src/operation/create_content/builders.rs b/sdk/wisdom/src/operation/create_content/builders.rs index 75f62c04f114..b98e48ac3471 100644 --- a/sdk/wisdom/src/operation/create_content/builders.rs +++ b/sdk/wisdom/src/operation/create_content/builders.rs @@ -19,9 +19,9 @@ impl CreateContentFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl CreateContentFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::create_content::CreateContent, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                The identifier of the knowledge base. Can be either the ID or the ARN. URLs cannot contain the ARN.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                pub fn knowledge_base_id( mut self, diff --git a/sdk/wisdom/src/operation/create_knowledge_base/builders.rs b/sdk/wisdom/src/operation/create_knowledge_base/builders.rs index 370a51622089..4f3e6789537b 100644 --- a/sdk/wisdom/src/operation/create_knowledge_base/builders.rs +++ b/sdk/wisdom/src/operation/create_knowledge_base/builders.rs @@ -28,9 +28,9 @@ impl CreateKnowledgeBaseFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -92,6 +92,22 @@ impl CreateKnowledgeBaseFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::create_knowledge_base::CreateKnowledgeBase, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::create_knowledge_base::CreateKnowledgeBaseError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                A unique, case-sensitive identifier that you provide to ensure the idempotency of the request. If not provided, the Amazon Web Services SDK populates this field. For more information about idempotency, see Making retries safe with idempotent APIs.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                pub fn client_token(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.client_token(input.into()); diff --git a/sdk/wisdom/src/operation/create_session/builders.rs b/sdk/wisdom/src/operation/create_session/builders.rs index 9c753c154c84..ae25f211f207 100644 --- a/sdk/wisdom/src/operation/create_session/builders.rs +++ b/sdk/wisdom/src/operation/create_session/builders.rs @@ -19,9 +19,9 @@ impl CreateSessionFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl CreateSessionFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::create_session::CreateSession, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                A unique, case-sensitive identifier that you provide to ensure the idempotency of the request. If not provided, the Amazon Web Services SDK populates this field. For more information about idempotency, see Making retries safe with idempotent APIs.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                pub fn client_token(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.client_token(input.into()); diff --git a/sdk/wisdom/src/operation/delete_assistant/builders.rs b/sdk/wisdom/src/operation/delete_assistant/builders.rs index 2811ec9326bf..a7e5f1652d67 100644 --- a/sdk/wisdom/src/operation/delete_assistant/builders.rs +++ b/sdk/wisdom/src/operation/delete_assistant/builders.rs @@ -19,9 +19,9 @@ impl DeleteAssistantFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl DeleteAssistantFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::delete_assistant::DeleteAssistant, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::delete_assistant::DeleteAssistantError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                The identifier of the Wisdom assistant. Can be either the ID or the ARN. URLs cannot contain the ARN.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                pub fn assistant_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.assistant_id(input.into()); diff --git a/sdk/wisdom/src/operation/delete_assistant_association/builders.rs b/sdk/wisdom/src/operation/delete_assistant_association/builders.rs index 4515143b666c..b22e35da4a76 100644 --- a/sdk/wisdom/src/operation/delete_assistant_association/builders.rs +++ b/sdk/wisdom/src/operation/delete_assistant_association/builders.rs @@ -19,9 +19,9 @@ impl DeleteAssistantAssociationFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl DeleteAssistantAssociationFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::delete_assistant_association::DeleteAssistantAssociation, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::delete_assistant_association::DeleteAssistantAssociationError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                The identifier of the assistant association. Can be either the ID or the ARN. URLs cannot contain the ARN.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                pub fn assistant_association_id( mut self, diff --git a/sdk/wisdom/src/operation/delete_content/builders.rs b/sdk/wisdom/src/operation/delete_content/builders.rs index 5bd9d49afc5e..d2e47deab904 100644 --- a/sdk/wisdom/src/operation/delete_content/builders.rs +++ b/sdk/wisdom/src/operation/delete_content/builders.rs @@ -19,9 +19,9 @@ impl DeleteContentFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl DeleteContentFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::delete_content::DeleteContent, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                The identifier of the knowledge base. Can be either the ID or the ARN. URLs cannot contain the ARN.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                pub fn knowledge_base_id( mut self, diff --git a/sdk/wisdom/src/operation/delete_knowledge_base/builders.rs b/sdk/wisdom/src/operation/delete_knowledge_base/builders.rs index 23aafc2fe005..5ecfd51d7cac 100644 --- a/sdk/wisdom/src/operation/delete_knowledge_base/builders.rs +++ b/sdk/wisdom/src/operation/delete_knowledge_base/builders.rs @@ -21,9 +21,9 @@ impl DeleteKnowledgeBaseFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -85,6 +85,22 @@ impl DeleteKnowledgeBaseFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::delete_knowledge_base::DeleteKnowledgeBase, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::delete_knowledge_base::DeleteKnowledgeBaseError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                The knowledge base to delete content from. Can be either the ID or the ARN. URLs cannot contain the ARN.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                pub fn knowledge_base_id( mut self, diff --git a/sdk/wisdom/src/operation/get_assistant/builders.rs b/sdk/wisdom/src/operation/get_assistant/builders.rs index 04723318d0b5..539d3eeec205 100644 --- a/sdk/wisdom/src/operation/get_assistant/builders.rs +++ b/sdk/wisdom/src/operation/get_assistant/builders.rs @@ -19,9 +19,9 @@ impl GetAssistantFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl GetAssistantFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::get_assistant::GetAssistant, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                The identifier of the Wisdom assistant. Can be either the ID or the ARN. URLs cannot contain the ARN.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                pub fn assistant_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.assistant_id(input.into()); diff --git a/sdk/wisdom/src/operation/get_assistant_association/builders.rs b/sdk/wisdom/src/operation/get_assistant_association/builders.rs index a79440fb78c3..fe6eb75554b2 100644 --- a/sdk/wisdom/src/operation/get_assistant_association/builders.rs +++ b/sdk/wisdom/src/operation/get_assistant_association/builders.rs @@ -20,9 +20,9 @@ impl GetAssistantAssociationFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -84,6 +84,22 @@ impl GetAssistantAssociationFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::get_assistant_association::GetAssistantAssociation, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::get_assistant_association::GetAssistantAssociationError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                The identifier of the assistant association. Can be either the ID or the ARN. URLs cannot contain the ARN.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                pub fn assistant_association_id( mut self, diff --git a/sdk/wisdom/src/operation/get_content/builders.rs b/sdk/wisdom/src/operation/get_content/builders.rs index b3cdad6f8ab1..962c4a2ea136 100644 --- a/sdk/wisdom/src/operation/get_content/builders.rs +++ b/sdk/wisdom/src/operation/get_content/builders.rs @@ -19,9 +19,9 @@ impl GetContentFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl GetContentFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::get_content::GetContent, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                The identifier of the content. Can be either the ID or the ARN. URLs cannot contain the ARN.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                pub fn content_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.content_id(input.into()); diff --git a/sdk/wisdom/src/operation/get_content_summary/builders.rs b/sdk/wisdom/src/operation/get_content_summary/builders.rs index f6b7b4e6544d..22b89925273f 100644 --- a/sdk/wisdom/src/operation/get_content_summary/builders.rs +++ b/sdk/wisdom/src/operation/get_content_summary/builders.rs @@ -19,9 +19,9 @@ impl GetContentSummaryFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl GetContentSummaryFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::get_content_summary::GetContentSummary, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::get_content_summary::GetContentSummaryError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                The identifier of the content. Can be either the ID or the ARN. URLs cannot contain the ARN.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                pub fn content_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.content_id(input.into()); diff --git a/sdk/wisdom/src/operation/get_knowledge_base/builders.rs b/sdk/wisdom/src/operation/get_knowledge_base/builders.rs index f5ceb5a5095a..978ec9031e91 100644 --- a/sdk/wisdom/src/operation/get_knowledge_base/builders.rs +++ b/sdk/wisdom/src/operation/get_knowledge_base/builders.rs @@ -19,9 +19,9 @@ impl GetKnowledgeBaseFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl GetKnowledgeBaseFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::get_knowledge_base::GetKnowledgeBase, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::get_knowledge_base::GetKnowledgeBaseError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                The identifier of the knowledge base. Can be either the ID or the ARN. URLs cannot contain the ARN.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                pub fn knowledge_base_id( mut self, diff --git a/sdk/wisdom/src/operation/get_recommendations/builders.rs b/sdk/wisdom/src/operation/get_recommendations/builders.rs index 0303d7bb8705..cd4473155f41 100644 --- a/sdk/wisdom/src/operation/get_recommendations/builders.rs +++ b/sdk/wisdom/src/operation/get_recommendations/builders.rs @@ -19,9 +19,9 @@ impl GetRecommendationsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl GetRecommendationsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::get_recommendations::GetRecommendations, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::get_recommendations::GetRecommendationsError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                The identifier of the Wisdom assistant. Can be either the ID or the ARN. URLs cannot contain the ARN.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                pub fn assistant_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.assistant_id(input.into()); diff --git a/sdk/wisdom/src/operation/get_session/builders.rs b/sdk/wisdom/src/operation/get_session/builders.rs index 7b894fad8fc5..b24d15778ffd 100644 --- a/sdk/wisdom/src/operation/get_session/builders.rs +++ b/sdk/wisdom/src/operation/get_session/builders.rs @@ -19,9 +19,9 @@ impl GetSessionFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl GetSessionFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::get_session::GetSession, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                The identifier of the Wisdom assistant. Can be either the ID or the ARN. URLs cannot contain the ARN.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                pub fn assistant_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.assistant_id(input.into()); diff --git a/sdk/wisdom/src/operation/list_assistant_associations/builders.rs b/sdk/wisdom/src/operation/list_assistant_associations/builders.rs index 7c47e018c244..329906022101 100644 --- a/sdk/wisdom/src/operation/list_assistant_associations/builders.rs +++ b/sdk/wisdom/src/operation/list_assistant_associations/builders.rs @@ -19,9 +19,9 @@ impl ListAssistantAssociationsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl ListAssistantAssociationsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_assistant_associations::ListAssistantAssociations, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::list_assistant_associations::ListAssistantAssociationsError, + >, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::list_assistant_associations::paginator::ListAssistantAssociationsPaginator::send) which returns a `Stream`. diff --git a/sdk/wisdom/src/operation/list_assistants/builders.rs b/sdk/wisdom/src/operation/list_assistants/builders.rs index 61e8c072f190..078744353f3c 100644 --- a/sdk/wisdom/src/operation/list_assistants/builders.rs +++ b/sdk/wisdom/src/operation/list_assistants/builders.rs @@ -19,9 +19,9 @@ impl ListAssistantsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl ListAssistantsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_assistants::ListAssistants, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::list_assistants::paginator::ListAssistantsPaginator::send) which returns a `Stream`. diff --git a/sdk/wisdom/src/operation/list_contents/builders.rs b/sdk/wisdom/src/operation/list_contents/builders.rs index b4a14121065b..922884e32b60 100644 --- a/sdk/wisdom/src/operation/list_contents/builders.rs +++ b/sdk/wisdom/src/operation/list_contents/builders.rs @@ -19,9 +19,9 @@ impl ListContentsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl ListContentsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_contents::ListContents, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::list_contents::paginator::ListContentsPaginator::send) which returns a `Stream`. diff --git a/sdk/wisdom/src/operation/list_knowledge_bases/builders.rs b/sdk/wisdom/src/operation/list_knowledge_bases/builders.rs index 9c5b2b878e95..e00fa27fbf50 100644 --- a/sdk/wisdom/src/operation/list_knowledge_bases/builders.rs +++ b/sdk/wisdom/src/operation/list_knowledge_bases/builders.rs @@ -19,9 +19,9 @@ impl ListKnowledgeBasesFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl ListKnowledgeBasesFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_knowledge_bases::ListKnowledgeBases, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::list_knowledge_bases::ListKnowledgeBasesError, + >, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::list_knowledge_bases::paginator::ListKnowledgeBasesPaginator::send) which returns a `Stream`. diff --git a/sdk/wisdom/src/operation/list_tags_for_resource/builders.rs b/sdk/wisdom/src/operation/list_tags_for_resource/builders.rs index c47c190d83b2..0a70d0c44010 100644 --- a/sdk/wisdom/src/operation/list_tags_for_resource/builders.rs +++ b/sdk/wisdom/src/operation/list_tags_for_resource/builders.rs @@ -19,9 +19,9 @@ impl ListTagsForResourceFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl ListTagsForResourceFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_tags_for_resource::ListTagsForResource, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::list_tags_for_resource::ListTagsForResourceError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                The Amazon Resource Name (ARN) of the resource.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                pub fn resource_arn(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.resource_arn(input.into()); diff --git a/sdk/wisdom/src/operation/notify_recommendations_received/builders.rs b/sdk/wisdom/src/operation/notify_recommendations_received/builders.rs index 90a50080fa0b..dae0f6fda894 100644 --- a/sdk/wisdom/src/operation/notify_recommendations_received/builders.rs +++ b/sdk/wisdom/src/operation/notify_recommendations_received/builders.rs @@ -19,9 +19,9 @@ impl NotifyRecommendationsReceivedFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl NotifyRecommendationsReceivedFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::notify_recommendations_received::NotifyRecommendationsReceived, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::notify_recommendations_received::NotifyRecommendationsReceivedError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                The identifier of the Wisdom assistant. Can be either the ID or the ARN. URLs cannot contain the ARN.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                pub fn assistant_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.assistant_id(input.into()); diff --git a/sdk/wisdom/src/operation/query_assistant/builders.rs b/sdk/wisdom/src/operation/query_assistant/builders.rs index 6db340720888..4af610b8fbde 100644 --- a/sdk/wisdom/src/operation/query_assistant/builders.rs +++ b/sdk/wisdom/src/operation/query_assistant/builders.rs @@ -19,9 +19,9 @@ impl QueryAssistantFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl QueryAssistantFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::query_assistant::QueryAssistant, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::query_assistant::paginator::QueryAssistantPaginator::send) which returns a `Stream`. diff --git a/sdk/wisdom/src/operation/remove_knowledge_base_template_uri/builders.rs b/sdk/wisdom/src/operation/remove_knowledge_base_template_uri/builders.rs index 9e0058bbca68..10a7896c6909 100644 --- a/sdk/wisdom/src/operation/remove_knowledge_base_template_uri/builders.rs +++ b/sdk/wisdom/src/operation/remove_knowledge_base_template_uri/builders.rs @@ -19,9 +19,9 @@ impl RemoveKnowledgeBaseTemplateUriFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize(self) -> ::std::result::Result< + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware(self) -> ::std::result::Result< crate::client::customize::CustomizableOperation, ::aws_smithy_http::result::SdkError >{ @@ -64,6 +64,15 @@ impl RemoveKnowledgeBaseTemplateUriFluentBuilder { { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize(self) -> ::std::result::Result< + crate::client::customize::CustomizableOperation, + ::aws_smithy_http::result::SdkError + >{ + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                The identifier of the knowledge base. Can be either the ID or the ARN. URLs cannot contain the ARN.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                pub fn knowledge_base_id( mut self, diff --git a/sdk/wisdom/src/operation/search_content/builders.rs b/sdk/wisdom/src/operation/search_content/builders.rs index 25ff0a2c8beb..11fa4dd6ae3b 100644 --- a/sdk/wisdom/src/operation/search_content/builders.rs +++ b/sdk/wisdom/src/operation/search_content/builders.rs @@ -19,9 +19,9 @@ impl SearchContentFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl SearchContentFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::search_content::SearchContent, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::search_content::paginator::SearchContentPaginator::send) which returns a `Stream`. diff --git a/sdk/wisdom/src/operation/search_sessions/builders.rs b/sdk/wisdom/src/operation/search_sessions/builders.rs index eb6384a8a278..8e9e90af3544 100644 --- a/sdk/wisdom/src/operation/search_sessions/builders.rs +++ b/sdk/wisdom/src/operation/search_sessions/builders.rs @@ -19,9 +19,9 @@ impl SearchSessionsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl SearchSessionsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::search_sessions::SearchSessions, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::search_sessions::paginator::SearchSessionsPaginator::send) which returns a `Stream`. diff --git a/sdk/wisdom/src/operation/start_content_upload/builders.rs b/sdk/wisdom/src/operation/start_content_upload/builders.rs index 7e625dd8c639..030985739b45 100644 --- a/sdk/wisdom/src/operation/start_content_upload/builders.rs +++ b/sdk/wisdom/src/operation/start_content_upload/builders.rs @@ -19,9 +19,9 @@ impl StartContentUploadFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl StartContentUploadFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::start_content_upload::StartContentUpload, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::start_content_upload::StartContentUploadError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                The identifier of the knowledge base. Can be either the ID or the ARN. URLs cannot contain the ARN.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                pub fn knowledge_base_id( mut self, diff --git a/sdk/wisdom/src/operation/tag_resource/builders.rs b/sdk/wisdom/src/operation/tag_resource/builders.rs index 1ccb56b5c2b5..1e31e6719a11 100644 --- a/sdk/wisdom/src/operation/tag_resource/builders.rs +++ b/sdk/wisdom/src/operation/tag_resource/builders.rs @@ -19,9 +19,9 @@ impl TagResourceFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl TagResourceFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::tag_resource::TagResource, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                The Amazon Resource Name (ARN) of the resource.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                pub fn resource_arn(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.resource_arn(input.into()); diff --git a/sdk/wisdom/src/operation/untag_resource/builders.rs b/sdk/wisdom/src/operation/untag_resource/builders.rs index ccdddb2bd6da..0ef2fec2ca7d 100644 --- a/sdk/wisdom/src/operation/untag_resource/builders.rs +++ b/sdk/wisdom/src/operation/untag_resource/builders.rs @@ -19,9 +19,9 @@ impl UntagResourceFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl UntagResourceFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::untag_resource::UntagResource, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                The Amazon Resource Name (ARN) of the resource.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                pub fn resource_arn(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.resource_arn(input.into()); diff --git a/sdk/wisdom/src/operation/update_content/builders.rs b/sdk/wisdom/src/operation/update_content/builders.rs index ecd2d404e62e..2768a254cf7c 100644 --- a/sdk/wisdom/src/operation/update_content/builders.rs +++ b/sdk/wisdom/src/operation/update_content/builders.rs @@ -19,9 +19,9 @@ impl UpdateContentFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl UpdateContentFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::update_content::UpdateContent, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                The identifier of the knowledge base. Can be either the ID or the ARN

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                pub fn knowledge_base_id( mut self, diff --git a/sdk/wisdom/src/operation/update_knowledge_base_template_uri/builders.rs b/sdk/wisdom/src/operation/update_knowledge_base_template_uri/builders.rs index 6ec0afb6e570..ca5ea8453a37 100644 --- a/sdk/wisdom/src/operation/update_knowledge_base_template_uri/builders.rs +++ b/sdk/wisdom/src/operation/update_knowledge_base_template_uri/builders.rs @@ -19,9 +19,9 @@ impl UpdateKnowledgeBaseTemplateUriFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize(self) -> ::std::result::Result< + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware(self) -> ::std::result::Result< crate::client::customize::CustomizableOperation, ::aws_smithy_http::result::SdkError >{ @@ -64,6 +64,15 @@ impl UpdateKnowledgeBaseTemplateUriFluentBuilder { { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize(self) -> ::std::result::Result< + crate::client::customize::CustomizableOperation, + ::aws_smithy_http::result::SdkError + >{ + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                The identifier of the knowledge base. Can be either the ID or the ARN. URLs cannot contain the ARN.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                pub fn knowledge_base_id( mut self, diff --git a/sdk/workdocs/src/operation/abort_document_version_upload/builders.rs b/sdk/workdocs/src/operation/abort_document_version_upload/builders.rs index a2e21878c694..b8af9fd68a8a 100644 --- a/sdk/workdocs/src/operation/abort_document_version_upload/builders.rs +++ b/sdk/workdocs/src/operation/abort_document_version_upload/builders.rs @@ -19,9 +19,9 @@ impl AbortDocumentVersionUploadFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl AbortDocumentVersionUploadFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::abort_document_version_upload::AbortDocumentVersionUpload, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::abort_document_version_upload::AbortDocumentVersionUploadError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                Amazon WorkDocs authentication token. Not required when using Amazon Web Services administrator credentials to access the API.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                pub fn authentication_token( mut self, diff --git a/sdk/workdocs/src/operation/activate_user/builders.rs b/sdk/workdocs/src/operation/activate_user/builders.rs index 8bf61973726b..635c48874e36 100644 --- a/sdk/workdocs/src/operation/activate_user/builders.rs +++ b/sdk/workdocs/src/operation/activate_user/builders.rs @@ -19,9 +19,9 @@ impl ActivateUserFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl ActivateUserFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::activate_user::ActivateUser, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                The ID of the user.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                pub fn user_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.user_id(input.into()); diff --git a/sdk/workdocs/src/operation/add_resource_permissions/builders.rs b/sdk/workdocs/src/operation/add_resource_permissions/builders.rs index 3c87f7124319..5c1fd4048fd5 100644 --- a/sdk/workdocs/src/operation/add_resource_permissions/builders.rs +++ b/sdk/workdocs/src/operation/add_resource_permissions/builders.rs @@ -19,9 +19,9 @@ impl AddResourcePermissionsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl AddResourcePermissionsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::add_resource_permissions::AddResourcePermissions, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::add_resource_permissions::AddResourcePermissionsError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                Amazon WorkDocs authentication token. Not required when using Amazon Web Services administrator credentials to access the API.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                pub fn authentication_token( mut self, diff --git a/sdk/workdocs/src/operation/create_comment/builders.rs b/sdk/workdocs/src/operation/create_comment/builders.rs index e9ca6dd66db7..bbc202ddabaa 100644 --- a/sdk/workdocs/src/operation/create_comment/builders.rs +++ b/sdk/workdocs/src/operation/create_comment/builders.rs @@ -19,9 +19,9 @@ impl CreateCommentFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl CreateCommentFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::create_comment::CreateComment, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                Amazon WorkDocs authentication token. Not required when using Amazon Web Services administrator credentials to access the API.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                pub fn authentication_token( mut self, diff --git a/sdk/workdocs/src/operation/create_custom_metadata/builders.rs b/sdk/workdocs/src/operation/create_custom_metadata/builders.rs index e2cf3be5c62e..3de546369e22 100644 --- a/sdk/workdocs/src/operation/create_custom_metadata/builders.rs +++ b/sdk/workdocs/src/operation/create_custom_metadata/builders.rs @@ -19,9 +19,9 @@ impl CreateCustomMetadataFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl CreateCustomMetadataFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::create_custom_metadata::CreateCustomMetadata, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::create_custom_metadata::CreateCustomMetadataError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                Amazon WorkDocs authentication token. Not required when using Amazon Web Services administrator credentials to access the API.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                pub fn authentication_token( mut self, diff --git a/sdk/workdocs/src/operation/create_folder/builders.rs b/sdk/workdocs/src/operation/create_folder/builders.rs index 2a466e046356..b11ae5af5e05 100644 --- a/sdk/workdocs/src/operation/create_folder/builders.rs +++ b/sdk/workdocs/src/operation/create_folder/builders.rs @@ -19,9 +19,9 @@ impl CreateFolderFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl CreateFolderFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::create_folder::CreateFolder, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                Amazon WorkDocs authentication token. Not required when using Amazon Web Services administrator credentials to access the API.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                pub fn authentication_token( mut self, diff --git a/sdk/workdocs/src/operation/create_labels/builders.rs b/sdk/workdocs/src/operation/create_labels/builders.rs index 4c29d1911d5b..d86dad0423e5 100644 --- a/sdk/workdocs/src/operation/create_labels/builders.rs +++ b/sdk/workdocs/src/operation/create_labels/builders.rs @@ -19,9 +19,9 @@ impl CreateLabelsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl CreateLabelsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::create_labels::CreateLabels, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                The ID of the resource.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                pub fn resource_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.resource_id(input.into()); diff --git a/sdk/workdocs/src/operation/create_notification_subscription/builders.rs b/sdk/workdocs/src/operation/create_notification_subscription/builders.rs index ae10cd7726bf..1875433b16ff 100644 --- a/sdk/workdocs/src/operation/create_notification_subscription/builders.rs +++ b/sdk/workdocs/src/operation/create_notification_subscription/builders.rs @@ -20,9 +20,9 @@ impl CreateNotificationSubscriptionFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -84,6 +84,22 @@ impl CreateNotificationSubscriptionFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::create_notification_subscription::CreateNotificationSubscription, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::create_notification_subscription::CreateNotificationSubscriptionError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                The ID of the organization.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                pub fn organization_id( mut self, diff --git a/sdk/workdocs/src/operation/create_user/builders.rs b/sdk/workdocs/src/operation/create_user/builders.rs index 2f0660202a9e..d3c660e316ad 100644 --- a/sdk/workdocs/src/operation/create_user/builders.rs +++ b/sdk/workdocs/src/operation/create_user/builders.rs @@ -19,9 +19,9 @@ impl CreateUserFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl CreateUserFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::create_user::CreateUser, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                The ID of the organization.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                pub fn organization_id( mut self, diff --git a/sdk/workdocs/src/operation/deactivate_user/builders.rs b/sdk/workdocs/src/operation/deactivate_user/builders.rs index f1935424fb76..c6c8826a5ec2 100644 --- a/sdk/workdocs/src/operation/deactivate_user/builders.rs +++ b/sdk/workdocs/src/operation/deactivate_user/builders.rs @@ -19,9 +19,9 @@ impl DeactivateUserFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl DeactivateUserFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::deactivate_user::DeactivateUser, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                The ID of the user.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                pub fn user_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.user_id(input.into()); diff --git a/sdk/workdocs/src/operation/delete_comment/builders.rs b/sdk/workdocs/src/operation/delete_comment/builders.rs index 855a9761f443..d925750a5412 100644 --- a/sdk/workdocs/src/operation/delete_comment/builders.rs +++ b/sdk/workdocs/src/operation/delete_comment/builders.rs @@ -19,9 +19,9 @@ impl DeleteCommentFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl DeleteCommentFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::delete_comment::DeleteComment, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                Amazon WorkDocs authentication token. Not required when using Amazon Web Services administrator credentials to access the API.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                pub fn authentication_token( mut self, diff --git a/sdk/workdocs/src/operation/delete_custom_metadata/builders.rs b/sdk/workdocs/src/operation/delete_custom_metadata/builders.rs index 44f9d1bd5f8f..2b366781f278 100644 --- a/sdk/workdocs/src/operation/delete_custom_metadata/builders.rs +++ b/sdk/workdocs/src/operation/delete_custom_metadata/builders.rs @@ -19,9 +19,9 @@ impl DeleteCustomMetadataFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl DeleteCustomMetadataFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::delete_custom_metadata::DeleteCustomMetadata, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::delete_custom_metadata::DeleteCustomMetadataError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                Amazon WorkDocs authentication token. Not required when using Amazon Web Services administrator credentials to access the API.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                pub fn authentication_token( mut self, diff --git a/sdk/workdocs/src/operation/delete_document/builders.rs b/sdk/workdocs/src/operation/delete_document/builders.rs index 3813e06a1929..eeefc9401d15 100644 --- a/sdk/workdocs/src/operation/delete_document/builders.rs +++ b/sdk/workdocs/src/operation/delete_document/builders.rs @@ -19,9 +19,9 @@ impl DeleteDocumentFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl DeleteDocumentFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::delete_document::DeleteDocument, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                Amazon WorkDocs authentication token. Not required when using Amazon Web Services administrator credentials to access the API.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                pub fn authentication_token( mut self, diff --git a/sdk/workdocs/src/operation/delete_document_version/builders.rs b/sdk/workdocs/src/operation/delete_document_version/builders.rs index 57658d756b83..dc5631aeacd8 100644 --- a/sdk/workdocs/src/operation/delete_document_version/builders.rs +++ b/sdk/workdocs/src/operation/delete_document_version/builders.rs @@ -19,9 +19,9 @@ impl DeleteDocumentVersionFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl DeleteDocumentVersionFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::delete_document_version::DeleteDocumentVersion, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::delete_document_version::DeleteDocumentVersionError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                Amazon WorkDocs authentication token. Not required when using Amazon Web Services administrator credentials to access the API.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                pub fn authentication_token( mut self, diff --git a/sdk/workdocs/src/operation/delete_folder/builders.rs b/sdk/workdocs/src/operation/delete_folder/builders.rs index 411453709575..72bfdf54c810 100644 --- a/sdk/workdocs/src/operation/delete_folder/builders.rs +++ b/sdk/workdocs/src/operation/delete_folder/builders.rs @@ -19,9 +19,9 @@ impl DeleteFolderFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl DeleteFolderFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::delete_folder::DeleteFolder, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                Amazon WorkDocs authentication token. Not required when using Amazon Web Services administrator credentials to access the API.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                pub fn authentication_token( mut self, diff --git a/sdk/workdocs/src/operation/delete_folder_contents/builders.rs b/sdk/workdocs/src/operation/delete_folder_contents/builders.rs index a3f9758a2bf1..a430d1e524fe 100644 --- a/sdk/workdocs/src/operation/delete_folder_contents/builders.rs +++ b/sdk/workdocs/src/operation/delete_folder_contents/builders.rs @@ -19,9 +19,9 @@ impl DeleteFolderContentsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl DeleteFolderContentsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::delete_folder_contents::DeleteFolderContents, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::delete_folder_contents::DeleteFolderContentsError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                Amazon WorkDocs authentication token. Not required when using Amazon Web Services administrator credentials to access the API.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                pub fn authentication_token( mut self, diff --git a/sdk/workdocs/src/operation/delete_labels/builders.rs b/sdk/workdocs/src/operation/delete_labels/builders.rs index 68b227fe3161..aeedf717dc66 100644 --- a/sdk/workdocs/src/operation/delete_labels/builders.rs +++ b/sdk/workdocs/src/operation/delete_labels/builders.rs @@ -19,9 +19,9 @@ impl DeleteLabelsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl DeleteLabelsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::delete_labels::DeleteLabels, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                The ID of the resource.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                pub fn resource_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.resource_id(input.into()); diff --git a/sdk/workdocs/src/operation/delete_notification_subscription/builders.rs b/sdk/workdocs/src/operation/delete_notification_subscription/builders.rs index 184511d6a10d..7ac14abbb861 100644 --- a/sdk/workdocs/src/operation/delete_notification_subscription/builders.rs +++ b/sdk/workdocs/src/operation/delete_notification_subscription/builders.rs @@ -19,9 +19,9 @@ impl DeleteNotificationSubscriptionFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl DeleteNotificationSubscriptionFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::delete_notification_subscription::DeleteNotificationSubscription, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::delete_notification_subscription::DeleteNotificationSubscriptionError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                The ID of the subscription.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                pub fn subscription_id( mut self, diff --git a/sdk/workdocs/src/operation/delete_user/builders.rs b/sdk/workdocs/src/operation/delete_user/builders.rs index e232222622f2..015f946618b6 100644 --- a/sdk/workdocs/src/operation/delete_user/builders.rs +++ b/sdk/workdocs/src/operation/delete_user/builders.rs @@ -21,9 +21,9 @@ impl DeleteUserFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -79,6 +79,20 @@ impl DeleteUserFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::delete_user::DeleteUser, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                Amazon WorkDocs authentication token. Do not set this field when using administrative API actions, as in accessing the API using Amazon Web Services credentials.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                pub fn authentication_token( mut self, diff --git a/sdk/workdocs/src/operation/describe_activities/builders.rs b/sdk/workdocs/src/operation/describe_activities/builders.rs index 75502d4be9c5..44dd1f35630c 100644 --- a/sdk/workdocs/src/operation/describe_activities/builders.rs +++ b/sdk/workdocs/src/operation/describe_activities/builders.rs @@ -19,9 +19,9 @@ impl DescribeActivitiesFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl DescribeActivitiesFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::describe_activities::DescribeActivities, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::describe_activities::DescribeActivitiesError, + >, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::describe_activities::paginator::DescribeActivitiesPaginator::send) which returns a `Stream`. diff --git a/sdk/workdocs/src/operation/describe_comments/builders.rs b/sdk/workdocs/src/operation/describe_comments/builders.rs index 4c04c0fec637..c63b8642647d 100644 --- a/sdk/workdocs/src/operation/describe_comments/builders.rs +++ b/sdk/workdocs/src/operation/describe_comments/builders.rs @@ -19,9 +19,9 @@ impl DescribeCommentsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl DescribeCommentsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::describe_comments::DescribeComments, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::describe_comments::DescribeCommentsError, + >, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::describe_comments::paginator::DescribeCommentsPaginator::send) which returns a `Stream`. diff --git a/sdk/workdocs/src/operation/describe_document_versions/builders.rs b/sdk/workdocs/src/operation/describe_document_versions/builders.rs index 9b994912f370..2b68b7c58a16 100644 --- a/sdk/workdocs/src/operation/describe_document_versions/builders.rs +++ b/sdk/workdocs/src/operation/describe_document_versions/builders.rs @@ -20,9 +20,9 @@ impl DescribeDocumentVersionsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -84,6 +84,22 @@ impl DescribeDocumentVersionsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::describe_document_versions::DescribeDocumentVersions, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::describe_document_versions::DescribeDocumentVersionsError, + >, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::describe_document_versions::paginator::DescribeDocumentVersionsPaginator::send) which returns a `Stream`. diff --git a/sdk/workdocs/src/operation/describe_folder_contents/builders.rs b/sdk/workdocs/src/operation/describe_folder_contents/builders.rs index aed7eb5dc7d6..951f1c169ff6 100644 --- a/sdk/workdocs/src/operation/describe_folder_contents/builders.rs +++ b/sdk/workdocs/src/operation/describe_folder_contents/builders.rs @@ -20,9 +20,9 @@ impl DescribeFolderContentsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -84,6 +84,22 @@ impl DescribeFolderContentsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::describe_folder_contents::DescribeFolderContents, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::describe_folder_contents::DescribeFolderContentsError, + >, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::describe_folder_contents::paginator::DescribeFolderContentsPaginator::send) which returns a `Stream`. diff --git a/sdk/workdocs/src/operation/describe_groups/builders.rs b/sdk/workdocs/src/operation/describe_groups/builders.rs index fc859c6fd6dc..178528225be0 100644 --- a/sdk/workdocs/src/operation/describe_groups/builders.rs +++ b/sdk/workdocs/src/operation/describe_groups/builders.rs @@ -19,9 +19,9 @@ impl DescribeGroupsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl DescribeGroupsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::describe_groups::DescribeGroups, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::describe_groups::paginator::DescribeGroupsPaginator::send) which returns a `Stream`. diff --git a/sdk/workdocs/src/operation/describe_notification_subscriptions/builders.rs b/sdk/workdocs/src/operation/describe_notification_subscriptions/builders.rs index 6800c3497f7a..88c12b582b15 100644 --- a/sdk/workdocs/src/operation/describe_notification_subscriptions/builders.rs +++ b/sdk/workdocs/src/operation/describe_notification_subscriptions/builders.rs @@ -19,9 +19,9 @@ impl DescribeNotificationSubscriptionsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize(self) -> ::std::result::Result< + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware(self) -> ::std::result::Result< crate::client::customize::CustomizableOperation, ::aws_smithy_http::result::SdkError >{ @@ -64,6 +64,15 @@ impl DescribeNotificationSubscriptionsFluentBuilder { { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize(self) -> ::std::result::Result< + crate::client::customize::CustomizableOperation, + ::aws_smithy_http::result::SdkError + >{ + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::describe_notification_subscriptions::paginator::DescribeNotificationSubscriptionsPaginator::send) which returns a `Stream`. diff --git a/sdk/workdocs/src/operation/describe_resource_permissions/builders.rs b/sdk/workdocs/src/operation/describe_resource_permissions/builders.rs index 42af3313a98f..574f88931e7c 100644 --- a/sdk/workdocs/src/operation/describe_resource_permissions/builders.rs +++ b/sdk/workdocs/src/operation/describe_resource_permissions/builders.rs @@ -19,9 +19,9 @@ impl DescribeResourcePermissionsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl DescribeResourcePermissionsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::describe_resource_permissions::DescribeResourcePermissions, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::describe_resource_permissions::DescribeResourcePermissionsError, + >, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::describe_resource_permissions::paginator::DescribeResourcePermissionsPaginator::send) which returns a `Stream`. diff --git a/sdk/workdocs/src/operation/describe_root_folders/builders.rs b/sdk/workdocs/src/operation/describe_root_folders/builders.rs index b8ea7df5188d..408407027764 100644 --- a/sdk/workdocs/src/operation/describe_root_folders/builders.rs +++ b/sdk/workdocs/src/operation/describe_root_folders/builders.rs @@ -20,9 +20,9 @@ impl DescribeRootFoldersFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -84,6 +84,22 @@ impl DescribeRootFoldersFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::describe_root_folders::DescribeRootFolders, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::describe_root_folders::DescribeRootFoldersError, + >, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::describe_root_folders::paginator::DescribeRootFoldersPaginator::send) which returns a `Stream`. diff --git a/sdk/workdocs/src/operation/describe_users/builders.rs b/sdk/workdocs/src/operation/describe_users/builders.rs index 31b81553794a..34dae68a7cf7 100644 --- a/sdk/workdocs/src/operation/describe_users/builders.rs +++ b/sdk/workdocs/src/operation/describe_users/builders.rs @@ -20,9 +20,9 @@ impl DescribeUsersFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -78,6 +78,20 @@ impl DescribeUsersFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::describe_users::DescribeUsers, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::describe_users::paginator::DescribeUsersPaginator::send) which returns a `Stream`. diff --git a/sdk/workdocs/src/operation/get_current_user/builders.rs b/sdk/workdocs/src/operation/get_current_user/builders.rs index 7b959f58e5f7..04ed181dc263 100644 --- a/sdk/workdocs/src/operation/get_current_user/builders.rs +++ b/sdk/workdocs/src/operation/get_current_user/builders.rs @@ -20,9 +20,9 @@ impl GetCurrentUserFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -84,6 +84,22 @@ impl GetCurrentUserFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::get_current_user::GetCurrentUser, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::get_current_user::GetCurrentUserError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                Amazon WorkDocs authentication token.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                pub fn authentication_token( mut self, diff --git a/sdk/workdocs/src/operation/get_document/builders.rs b/sdk/workdocs/src/operation/get_document/builders.rs index 225774c69cbd..323e9a840b46 100644 --- a/sdk/workdocs/src/operation/get_document/builders.rs +++ b/sdk/workdocs/src/operation/get_document/builders.rs @@ -19,9 +19,9 @@ impl GetDocumentFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl GetDocumentFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::get_document::GetDocument, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                Amazon WorkDocs authentication token. Not required when using Amazon Web Services administrator credentials to access the API.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                pub fn authentication_token( mut self, diff --git a/sdk/workdocs/src/operation/get_document_path/builders.rs b/sdk/workdocs/src/operation/get_document_path/builders.rs index 1f5db61f5a90..be088b0c45dd 100644 --- a/sdk/workdocs/src/operation/get_document_path/builders.rs +++ b/sdk/workdocs/src/operation/get_document_path/builders.rs @@ -20,9 +20,9 @@ impl GetDocumentPathFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -84,6 +84,22 @@ impl GetDocumentPathFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::get_document_path::GetDocumentPath, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::get_document_path::GetDocumentPathError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                Amazon WorkDocs authentication token. Not required when using Amazon Web Services administrator credentials to access the API.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                pub fn authentication_token( mut self, diff --git a/sdk/workdocs/src/operation/get_document_version/builders.rs b/sdk/workdocs/src/operation/get_document_version/builders.rs index 3a6c4ee77bf2..68e5d02984d6 100644 --- a/sdk/workdocs/src/operation/get_document_version/builders.rs +++ b/sdk/workdocs/src/operation/get_document_version/builders.rs @@ -19,9 +19,9 @@ impl GetDocumentVersionFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl GetDocumentVersionFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::get_document_version::GetDocumentVersion, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::get_document_version::GetDocumentVersionError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                Amazon WorkDocs authentication token. Not required when using Amazon Web Services administrator credentials to access the API.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                pub fn authentication_token( mut self, diff --git a/sdk/workdocs/src/operation/get_folder/builders.rs b/sdk/workdocs/src/operation/get_folder/builders.rs index 8b9542c74f2c..b04ef312884d 100644 --- a/sdk/workdocs/src/operation/get_folder/builders.rs +++ b/sdk/workdocs/src/operation/get_folder/builders.rs @@ -19,9 +19,9 @@ impl GetFolderFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl GetFolderFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::get_folder::GetFolder, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                Amazon WorkDocs authentication token. Not required when using Amazon Web Services administrator credentials to access the API.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                pub fn authentication_token( mut self, diff --git a/sdk/workdocs/src/operation/get_folder_path/builders.rs b/sdk/workdocs/src/operation/get_folder_path/builders.rs index 0049736e2719..70deb4b0636f 100644 --- a/sdk/workdocs/src/operation/get_folder_path/builders.rs +++ b/sdk/workdocs/src/operation/get_folder_path/builders.rs @@ -20,9 +20,9 @@ impl GetFolderPathFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -78,6 +78,20 @@ impl GetFolderPathFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::get_folder_path::GetFolderPath, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                Amazon WorkDocs authentication token. Not required when using Amazon Web Services administrator credentials to access the API.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                pub fn authentication_token( mut self, diff --git a/sdk/workdocs/src/operation/get_resources/builders.rs b/sdk/workdocs/src/operation/get_resources/builders.rs index 3e9bd18dbfc8..ec0251ac665c 100644 --- a/sdk/workdocs/src/operation/get_resources/builders.rs +++ b/sdk/workdocs/src/operation/get_resources/builders.rs @@ -19,9 +19,9 @@ impl GetResourcesFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl GetResourcesFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::get_resources::GetResources, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                The Amazon WorkDocs authentication token. Not required when using Amazon Web Services administrator credentials to access the API.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                pub fn authentication_token( mut self, diff --git a/sdk/workdocs/src/operation/initiate_document_version_upload/builders.rs b/sdk/workdocs/src/operation/initiate_document_version_upload/builders.rs index e8a19211139f..a323c038cc0d 100644 --- a/sdk/workdocs/src/operation/initiate_document_version_upload/builders.rs +++ b/sdk/workdocs/src/operation/initiate_document_version_upload/builders.rs @@ -21,9 +21,9 @@ impl InitiateDocumentVersionUploadFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -85,6 +85,22 @@ impl InitiateDocumentVersionUploadFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::initiate_document_version_upload::InitiateDocumentVersionUpload, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::initiate_document_version_upload::InitiateDocumentVersionUploadError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                Amazon WorkDocs authentication token. Not required when using Amazon Web Services administrator credentials to access the API.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                pub fn authentication_token( mut self, diff --git a/sdk/workdocs/src/operation/remove_all_resource_permissions/builders.rs b/sdk/workdocs/src/operation/remove_all_resource_permissions/builders.rs index ddf542ea1da9..4e38f4cb5a37 100644 --- a/sdk/workdocs/src/operation/remove_all_resource_permissions/builders.rs +++ b/sdk/workdocs/src/operation/remove_all_resource_permissions/builders.rs @@ -19,9 +19,9 @@ impl RemoveAllResourcePermissionsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl RemoveAllResourcePermissionsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::remove_all_resource_permissions::RemoveAllResourcePermissions, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::remove_all_resource_permissions::RemoveAllResourcePermissionsError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                Amazon WorkDocs authentication token. Not required when using Amazon Web Services administrator credentials to access the API.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                pub fn authentication_token( mut self, diff --git a/sdk/workdocs/src/operation/remove_resource_permission/builders.rs b/sdk/workdocs/src/operation/remove_resource_permission/builders.rs index f6a2ccbd4583..d025d4c2cd16 100644 --- a/sdk/workdocs/src/operation/remove_resource_permission/builders.rs +++ b/sdk/workdocs/src/operation/remove_resource_permission/builders.rs @@ -19,9 +19,9 @@ impl RemoveResourcePermissionFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl RemoveResourcePermissionFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::remove_resource_permission::RemoveResourcePermission, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::remove_resource_permission::RemoveResourcePermissionError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                Amazon WorkDocs authentication token. Not required when using Amazon Web Services administrator credentials to access the API.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                pub fn authentication_token( mut self, diff --git a/sdk/workdocs/src/operation/restore_document_versions/builders.rs b/sdk/workdocs/src/operation/restore_document_versions/builders.rs index 3343855b5a87..af7a9f582c90 100644 --- a/sdk/workdocs/src/operation/restore_document_versions/builders.rs +++ b/sdk/workdocs/src/operation/restore_document_versions/builders.rs @@ -20,9 +20,9 @@ impl RestoreDocumentVersionsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -84,6 +84,22 @@ impl RestoreDocumentVersionsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::restore_document_versions::RestoreDocumentVersions, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::restore_document_versions::RestoreDocumentVersionsError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                Amazon WorkDocs authentication token. Not required when using Amazon Web Services administrator credentials to access the API.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                pub fn authentication_token( mut self, diff --git a/sdk/workdocs/src/operation/search_resources/builders.rs b/sdk/workdocs/src/operation/search_resources/builders.rs index 3cadb035053f..e71b7accf5df 100644 --- a/sdk/workdocs/src/operation/search_resources/builders.rs +++ b/sdk/workdocs/src/operation/search_resources/builders.rs @@ -19,9 +19,9 @@ impl SearchResourcesFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl SearchResourcesFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::search_resources::SearchResources, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::search_resources::SearchResourcesError, + >, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::search_resources::paginator::SearchResourcesPaginator::send) which returns a `Stream`. diff --git a/sdk/workdocs/src/operation/update_document/builders.rs b/sdk/workdocs/src/operation/update_document/builders.rs index 5072274d53d7..99fc35b57ce0 100644 --- a/sdk/workdocs/src/operation/update_document/builders.rs +++ b/sdk/workdocs/src/operation/update_document/builders.rs @@ -19,9 +19,9 @@ impl UpdateDocumentFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl UpdateDocumentFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::update_document::UpdateDocument, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                Amazon WorkDocs authentication token. Not required when using Amazon Web Services administrator credentials to access the API.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                pub fn authentication_token( mut self, diff --git a/sdk/workdocs/src/operation/update_document_version/builders.rs b/sdk/workdocs/src/operation/update_document_version/builders.rs index e5f2bb259eba..c8a56f413f45 100644 --- a/sdk/workdocs/src/operation/update_document_version/builders.rs +++ b/sdk/workdocs/src/operation/update_document_version/builders.rs @@ -20,9 +20,9 @@ impl UpdateDocumentVersionFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -84,6 +84,22 @@ impl UpdateDocumentVersionFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::update_document_version::UpdateDocumentVersion, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::update_document_version::UpdateDocumentVersionError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                Amazon WorkDocs authentication token. Not required when using Amazon Web Services administrator credentials to access the API.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                pub fn authentication_token( mut self, diff --git a/sdk/workdocs/src/operation/update_folder/builders.rs b/sdk/workdocs/src/operation/update_folder/builders.rs index 4ccb887b1a6d..10e8c41e2ff7 100644 --- a/sdk/workdocs/src/operation/update_folder/builders.rs +++ b/sdk/workdocs/src/operation/update_folder/builders.rs @@ -19,9 +19,9 @@ impl UpdateFolderFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl UpdateFolderFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::update_folder::UpdateFolder, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                Amazon WorkDocs authentication token. Not required when using Amazon Web Services administrator credentials to access the API.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                pub fn authentication_token( mut self, diff --git a/sdk/workdocs/src/operation/update_user/builders.rs b/sdk/workdocs/src/operation/update_user/builders.rs index 4f4daed8b1f9..0fb16f9c6d2a 100644 --- a/sdk/workdocs/src/operation/update_user/builders.rs +++ b/sdk/workdocs/src/operation/update_user/builders.rs @@ -19,9 +19,9 @@ impl UpdateUserFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl UpdateUserFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::update_user::UpdateUser, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                Amazon WorkDocs authentication token. Not required when using Amazon Web Services administrator credentials to access the API.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                pub fn authentication_token( mut self, diff --git a/sdk/worklink/src/operation/associate_domain/builders.rs b/sdk/worklink/src/operation/associate_domain/builders.rs index a2dc2a3e7083..0e8c15790845 100644 --- a/sdk/worklink/src/operation/associate_domain/builders.rs +++ b/sdk/worklink/src/operation/associate_domain/builders.rs @@ -22,9 +22,9 @@ impl AssociateDomainFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -86,6 +86,22 @@ impl AssociateDomainFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::associate_domain::AssociateDomain, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::associate_domain::AssociateDomainError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                The Amazon Resource Name (ARN) of the fleet.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                pub fn fleet_arn(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.fleet_arn(input.into()); diff --git a/sdk/worklink/src/operation/associate_website_authorization_provider/builders.rs b/sdk/worklink/src/operation/associate_website_authorization_provider/builders.rs index e5278d3aab84..191dc9a91b32 100644 --- a/sdk/worklink/src/operation/associate_website_authorization_provider/builders.rs +++ b/sdk/worklink/src/operation/associate_website_authorization_provider/builders.rs @@ -22,9 +22,9 @@ impl AssociateWebsiteAuthorizationProviderFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize(self) -> ::std::result::Result< + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware(self) -> ::std::result::Result< crate::client::customize::CustomizableOperation, ::aws_smithy_http::result::SdkError >{ @@ -67,6 +67,15 @@ impl AssociateWebsiteAuthorizationProviderFluentBuilder { { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize(self) -> ::std::result::Result< + crate::client::customize::CustomizableOperation, + ::aws_smithy_http::result::SdkError + >{ + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                The ARN of the fleet.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                pub fn fleet_arn(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.fleet_arn(input.into()); diff --git a/sdk/worklink/src/operation/associate_website_certificate_authority/builders.rs b/sdk/worklink/src/operation/associate_website_certificate_authority/builders.rs index c93665a63b1a..143eb03d81e4 100644 --- a/sdk/worklink/src/operation/associate_website_certificate_authority/builders.rs +++ b/sdk/worklink/src/operation/associate_website_certificate_authority/builders.rs @@ -22,9 +22,9 @@ impl AssociateWebsiteCertificateAuthorityFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize(self) -> ::std::result::Result< + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware(self) -> ::std::result::Result< crate::client::customize::CustomizableOperation, ::aws_smithy_http::result::SdkError >{ @@ -67,6 +67,15 @@ impl AssociateWebsiteCertificateAuthorityFluentBuilder { { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize(self) -> ::std::result::Result< + crate::client::customize::CustomizableOperation, + ::aws_smithy_http::result::SdkError + >{ + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                The ARN of the fleet.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                pub fn fleet_arn(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.fleet_arn(input.into()); diff --git a/sdk/worklink/src/operation/create_fleet/builders.rs b/sdk/worklink/src/operation/create_fleet/builders.rs index 23b81d5c2cb1..bb33642bacfe 100644 --- a/sdk/worklink/src/operation/create_fleet/builders.rs +++ b/sdk/worklink/src/operation/create_fleet/builders.rs @@ -22,9 +22,9 @@ impl CreateFleetFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -80,6 +80,20 @@ impl CreateFleetFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::create_fleet::CreateFleet, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                A unique name for the fleet.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                pub fn fleet_name(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.fleet_name(input.into()); diff --git a/sdk/worklink/src/operation/delete_fleet/builders.rs b/sdk/worklink/src/operation/delete_fleet/builders.rs index 2a7ad39a5e6a..18240c6ad673 100644 --- a/sdk/worklink/src/operation/delete_fleet/builders.rs +++ b/sdk/worklink/src/operation/delete_fleet/builders.rs @@ -22,9 +22,9 @@ impl DeleteFleetFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -80,6 +80,20 @@ impl DeleteFleetFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::delete_fleet::DeleteFleet, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                The ARN of the fleet.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                pub fn fleet_arn(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.fleet_arn(input.into()); diff --git a/sdk/worklink/src/operation/describe_audit_stream_configuration/builders.rs b/sdk/worklink/src/operation/describe_audit_stream_configuration/builders.rs index 71e5a54a16c1..4ecdb1469bb2 100644 --- a/sdk/worklink/src/operation/describe_audit_stream_configuration/builders.rs +++ b/sdk/worklink/src/operation/describe_audit_stream_configuration/builders.rs @@ -22,9 +22,9 @@ impl DescribeAuditStreamConfigurationFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize(self) -> ::std::result::Result< + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware(self) -> ::std::result::Result< crate::client::customize::CustomizableOperation, ::aws_smithy_http::result::SdkError >{ @@ -67,6 +67,15 @@ impl DescribeAuditStreamConfigurationFluentBuilder { { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize(self) -> ::std::result::Result< + crate::client::customize::CustomizableOperation, + ::aws_smithy_http::result::SdkError + >{ + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                The ARN of the fleet.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                pub fn fleet_arn(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.fleet_arn(input.into()); diff --git a/sdk/worklink/src/operation/describe_company_network_configuration/builders.rs b/sdk/worklink/src/operation/describe_company_network_configuration/builders.rs index 2b705e8df3e1..2bc2612b1131 100644 --- a/sdk/worklink/src/operation/describe_company_network_configuration/builders.rs +++ b/sdk/worklink/src/operation/describe_company_network_configuration/builders.rs @@ -22,9 +22,9 @@ impl DescribeCompanyNetworkConfigurationFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize(self) -> ::std::result::Result< + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware(self) -> ::std::result::Result< crate::client::customize::CustomizableOperation, ::aws_smithy_http::result::SdkError >{ @@ -67,6 +67,15 @@ impl DescribeCompanyNetworkConfigurationFluentBuilder { { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize(self) -> ::std::result::Result< + crate::client::customize::CustomizableOperation, + ::aws_smithy_http::result::SdkError + >{ + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                The ARN of the fleet.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                pub fn fleet_arn(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.fleet_arn(input.into()); diff --git a/sdk/worklink/src/operation/describe_device/builders.rs b/sdk/worklink/src/operation/describe_device/builders.rs index 9609c095f454..1b969e5c3df4 100644 --- a/sdk/worklink/src/operation/describe_device/builders.rs +++ b/sdk/worklink/src/operation/describe_device/builders.rs @@ -22,9 +22,9 @@ impl DescribeDeviceFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -80,6 +80,20 @@ impl DescribeDeviceFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::describe_device::DescribeDevice, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                The ARN of the fleet.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                pub fn fleet_arn(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.fleet_arn(input.into()); diff --git a/sdk/worklink/src/operation/describe_device_policy_configuration/builders.rs b/sdk/worklink/src/operation/describe_device_policy_configuration/builders.rs index 32ce15854044..d74c361ee5e6 100644 --- a/sdk/worklink/src/operation/describe_device_policy_configuration/builders.rs +++ b/sdk/worklink/src/operation/describe_device_policy_configuration/builders.rs @@ -22,9 +22,9 @@ impl DescribeDevicePolicyConfigurationFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize(self) -> ::std::result::Result< + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware(self) -> ::std::result::Result< crate::client::customize::CustomizableOperation, ::aws_smithy_http::result::SdkError >{ @@ -67,6 +67,15 @@ impl DescribeDevicePolicyConfigurationFluentBuilder { { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize(self) -> ::std::result::Result< + crate::client::customize::CustomizableOperation, + ::aws_smithy_http::result::SdkError + >{ + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                The ARN of the fleet.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                pub fn fleet_arn(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.fleet_arn(input.into()); diff --git a/sdk/worklink/src/operation/describe_domain/builders.rs b/sdk/worklink/src/operation/describe_domain/builders.rs index 9b2af5d4fdf1..51bf8a99ea56 100644 --- a/sdk/worklink/src/operation/describe_domain/builders.rs +++ b/sdk/worklink/src/operation/describe_domain/builders.rs @@ -22,9 +22,9 @@ impl DescribeDomainFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -80,6 +80,20 @@ impl DescribeDomainFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::describe_domain::DescribeDomain, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                The ARN of the fleet.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                pub fn fleet_arn(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.fleet_arn(input.into()); diff --git a/sdk/worklink/src/operation/describe_fleet_metadata/builders.rs b/sdk/worklink/src/operation/describe_fleet_metadata/builders.rs index 19b38543f654..a8095444fa79 100644 --- a/sdk/worklink/src/operation/describe_fleet_metadata/builders.rs +++ b/sdk/worklink/src/operation/describe_fleet_metadata/builders.rs @@ -22,9 +22,9 @@ impl DescribeFleetMetadataFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -86,6 +86,22 @@ impl DescribeFleetMetadataFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::describe_fleet_metadata::DescribeFleetMetadata, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::describe_fleet_metadata::DescribeFleetMetadataError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                The Amazon Resource Name (ARN) of the fleet.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                pub fn fleet_arn(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.fleet_arn(input.into()); diff --git a/sdk/worklink/src/operation/describe_identity_provider_configuration/builders.rs b/sdk/worklink/src/operation/describe_identity_provider_configuration/builders.rs index 8f50085f38f1..883b0a9c2405 100644 --- a/sdk/worklink/src/operation/describe_identity_provider_configuration/builders.rs +++ b/sdk/worklink/src/operation/describe_identity_provider_configuration/builders.rs @@ -22,9 +22,9 @@ impl DescribeIdentityProviderConfigurationFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize(self) -> ::std::result::Result< + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware(self) -> ::std::result::Result< crate::client::customize::CustomizableOperation, ::aws_smithy_http::result::SdkError >{ @@ -67,6 +67,15 @@ impl DescribeIdentityProviderConfigurationFluentBuilder { { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize(self) -> ::std::result::Result< + crate::client::customize::CustomizableOperation, + ::aws_smithy_http::result::SdkError + >{ + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                The ARN of the fleet.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                pub fn fleet_arn(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.fleet_arn(input.into()); diff --git a/sdk/worklink/src/operation/describe_website_certificate_authority/builders.rs b/sdk/worklink/src/operation/describe_website_certificate_authority/builders.rs index 20376aec9fc6..61782f4ef235 100644 --- a/sdk/worklink/src/operation/describe_website_certificate_authority/builders.rs +++ b/sdk/worklink/src/operation/describe_website_certificate_authority/builders.rs @@ -22,9 +22,9 @@ impl DescribeWebsiteCertificateAuthorityFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize(self) -> ::std::result::Result< + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware(self) -> ::std::result::Result< crate::client::customize::CustomizableOperation, ::aws_smithy_http::result::SdkError >{ @@ -67,6 +67,15 @@ impl DescribeWebsiteCertificateAuthorityFluentBuilder { { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize(self) -> ::std::result::Result< + crate::client::customize::CustomizableOperation, + ::aws_smithy_http::result::SdkError + >{ + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                The ARN of the fleet.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                pub fn fleet_arn(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.fleet_arn(input.into()); diff --git a/sdk/worklink/src/operation/disassociate_domain/builders.rs b/sdk/worklink/src/operation/disassociate_domain/builders.rs index 8fefd2cc18c3..e2e371ae0e69 100644 --- a/sdk/worklink/src/operation/disassociate_domain/builders.rs +++ b/sdk/worklink/src/operation/disassociate_domain/builders.rs @@ -22,9 +22,9 @@ impl DisassociateDomainFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -86,6 +86,22 @@ impl DisassociateDomainFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::disassociate_domain::DisassociateDomain, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::disassociate_domain::DisassociateDomainError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                The ARN of the fleet.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                pub fn fleet_arn(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.fleet_arn(input.into()); diff --git a/sdk/worklink/src/operation/disassociate_website_authorization_provider/builders.rs b/sdk/worklink/src/operation/disassociate_website_authorization_provider/builders.rs index 36361c719089..11859af8fb80 100644 --- a/sdk/worklink/src/operation/disassociate_website_authorization_provider/builders.rs +++ b/sdk/worklink/src/operation/disassociate_website_authorization_provider/builders.rs @@ -22,9 +22,9 @@ impl DisassociateWebsiteAuthorizationProviderFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize(self) -> ::std::result::Result< + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware(self) -> ::std::result::Result< crate::client::customize::CustomizableOperation, ::aws_smithy_http::result::SdkError >{ @@ -67,6 +67,15 @@ impl DisassociateWebsiteAuthorizationProviderFluentBuilder { { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize(self) -> ::std::result::Result< + crate::client::customize::CustomizableOperation, + ::aws_smithy_http::result::SdkError + >{ + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                The ARN of the fleet.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                pub fn fleet_arn(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.fleet_arn(input.into()); diff --git a/sdk/worklink/src/operation/disassociate_website_certificate_authority/builders.rs b/sdk/worklink/src/operation/disassociate_website_certificate_authority/builders.rs index 5cc94a14b9fd..d41c4a765482 100644 --- a/sdk/worklink/src/operation/disassociate_website_certificate_authority/builders.rs +++ b/sdk/worklink/src/operation/disassociate_website_certificate_authority/builders.rs @@ -22,9 +22,9 @@ impl DisassociateWebsiteCertificateAuthorityFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize(self) -> ::std::result::Result< + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware(self) -> ::std::result::Result< crate::client::customize::CustomizableOperation, ::aws_smithy_http::result::SdkError >{ @@ -67,6 +67,15 @@ impl DisassociateWebsiteCertificateAuthorityFluentBuilder { { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize(self) -> ::std::result::Result< + crate::client::customize::CustomizableOperation, + ::aws_smithy_http::result::SdkError + >{ + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                The ARN of the fleet.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                pub fn fleet_arn(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.fleet_arn(input.into()); diff --git a/sdk/worklink/src/operation/list_devices/builders.rs b/sdk/worklink/src/operation/list_devices/builders.rs index ab91465fac2a..3879f55f658c 100644 --- a/sdk/worklink/src/operation/list_devices/builders.rs +++ b/sdk/worklink/src/operation/list_devices/builders.rs @@ -22,9 +22,9 @@ impl ListDevicesFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -80,6 +80,20 @@ impl ListDevicesFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_devices::ListDevices, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::list_devices::paginator::ListDevicesPaginator::send) which returns a `Stream`. diff --git a/sdk/worklink/src/operation/list_domains/builders.rs b/sdk/worklink/src/operation/list_domains/builders.rs index 9b73aaa6958e..414a80f5ee15 100644 --- a/sdk/worklink/src/operation/list_domains/builders.rs +++ b/sdk/worklink/src/operation/list_domains/builders.rs @@ -22,9 +22,9 @@ impl ListDomainsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -80,6 +80,20 @@ impl ListDomainsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_domains::ListDomains, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::list_domains::paginator::ListDomainsPaginator::send) which returns a `Stream`. diff --git a/sdk/worklink/src/operation/list_fleets/builders.rs b/sdk/worklink/src/operation/list_fleets/builders.rs index 1dd14040ab8d..902b777a3673 100644 --- a/sdk/worklink/src/operation/list_fleets/builders.rs +++ b/sdk/worklink/src/operation/list_fleets/builders.rs @@ -22,9 +22,9 @@ impl ListFleetsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -80,6 +80,20 @@ impl ListFleetsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_fleets::ListFleets, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::list_fleets::paginator::ListFleetsPaginator::send) which returns a `Stream`. diff --git a/sdk/worklink/src/operation/list_tags_for_resource/builders.rs b/sdk/worklink/src/operation/list_tags_for_resource/builders.rs index 33d9056483d2..d63bb7e8fba8 100644 --- a/sdk/worklink/src/operation/list_tags_for_resource/builders.rs +++ b/sdk/worklink/src/operation/list_tags_for_resource/builders.rs @@ -22,9 +22,9 @@ impl ListTagsForResourceFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -86,6 +86,22 @@ impl ListTagsForResourceFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_tags_for_resource::ListTagsForResource, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::list_tags_for_resource::ListTagsForResourceError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                The Amazon Resource Name (ARN) of the fleet.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                pub fn resource_arn(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.resource_arn(input.into()); diff --git a/sdk/worklink/src/operation/list_website_authorization_providers/builders.rs b/sdk/worklink/src/operation/list_website_authorization_providers/builders.rs index 1da1fab68f52..05d860949230 100644 --- a/sdk/worklink/src/operation/list_website_authorization_providers/builders.rs +++ b/sdk/worklink/src/operation/list_website_authorization_providers/builders.rs @@ -22,9 +22,9 @@ impl ListWebsiteAuthorizationProvidersFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize(self) -> ::std::result::Result< + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware(self) -> ::std::result::Result< crate::client::customize::CustomizableOperation, ::aws_smithy_http::result::SdkError >{ @@ -67,6 +67,15 @@ impl ListWebsiteAuthorizationProvidersFluentBuilder { { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize(self) -> ::std::result::Result< + crate::client::customize::CustomizableOperation, + ::aws_smithy_http::result::SdkError + >{ + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::list_website_authorization_providers::paginator::ListWebsiteAuthorizationProvidersPaginator::send) which returns a `Stream`. diff --git a/sdk/worklink/src/operation/list_website_certificate_authorities/builders.rs b/sdk/worklink/src/operation/list_website_certificate_authorities/builders.rs index b815296adfa2..9abf7a193d54 100644 --- a/sdk/worklink/src/operation/list_website_certificate_authorities/builders.rs +++ b/sdk/worklink/src/operation/list_website_certificate_authorities/builders.rs @@ -22,9 +22,9 @@ impl ListWebsiteCertificateAuthoritiesFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize(self) -> ::std::result::Result< + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware(self) -> ::std::result::Result< crate::client::customize::CustomizableOperation, ::aws_smithy_http::result::SdkError >{ @@ -67,6 +67,15 @@ impl ListWebsiteCertificateAuthoritiesFluentBuilder { { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize(self) -> ::std::result::Result< + crate::client::customize::CustomizableOperation, + ::aws_smithy_http::result::SdkError + >{ + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::list_website_certificate_authorities::paginator::ListWebsiteCertificateAuthoritiesPaginator::send) which returns a `Stream`. diff --git a/sdk/worklink/src/operation/restore_domain_access/builders.rs b/sdk/worklink/src/operation/restore_domain_access/builders.rs index 64451fc128c6..ebbdb045b8a5 100644 --- a/sdk/worklink/src/operation/restore_domain_access/builders.rs +++ b/sdk/worklink/src/operation/restore_domain_access/builders.rs @@ -22,9 +22,9 @@ impl RestoreDomainAccessFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -86,6 +86,22 @@ impl RestoreDomainAccessFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::restore_domain_access::RestoreDomainAccess, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::restore_domain_access::RestoreDomainAccessError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                The ARN of the fleet.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                pub fn fleet_arn(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.fleet_arn(input.into()); diff --git a/sdk/worklink/src/operation/revoke_domain_access/builders.rs b/sdk/worklink/src/operation/revoke_domain_access/builders.rs index 10c29d4cbb27..2fd5c5a39315 100644 --- a/sdk/worklink/src/operation/revoke_domain_access/builders.rs +++ b/sdk/worklink/src/operation/revoke_domain_access/builders.rs @@ -22,9 +22,9 @@ impl RevokeDomainAccessFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -86,6 +86,22 @@ impl RevokeDomainAccessFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::revoke_domain_access::RevokeDomainAccess, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::revoke_domain_access::RevokeDomainAccessError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                The ARN of the fleet.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                pub fn fleet_arn(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.fleet_arn(input.into()); diff --git a/sdk/worklink/src/operation/sign_out_user/builders.rs b/sdk/worklink/src/operation/sign_out_user/builders.rs index 1e9d0dc29e0b..ad07083c6b45 100644 --- a/sdk/worklink/src/operation/sign_out_user/builders.rs +++ b/sdk/worklink/src/operation/sign_out_user/builders.rs @@ -22,9 +22,9 @@ impl SignOutUserFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -80,6 +80,20 @@ impl SignOutUserFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::sign_out_user::SignOutUser, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                The ARN of the fleet.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                pub fn fleet_arn(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.fleet_arn(input.into()); diff --git a/sdk/worklink/src/operation/tag_resource/builders.rs b/sdk/worklink/src/operation/tag_resource/builders.rs index 07f9d1925e40..126f614eeaf8 100644 --- a/sdk/worklink/src/operation/tag_resource/builders.rs +++ b/sdk/worklink/src/operation/tag_resource/builders.rs @@ -22,9 +22,9 @@ impl TagResourceFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -80,6 +80,20 @@ impl TagResourceFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::tag_resource::TagResource, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                The Amazon Resource Name (ARN) of the fleet.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                pub fn resource_arn(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.resource_arn(input.into()); diff --git a/sdk/worklink/src/operation/untag_resource/builders.rs b/sdk/worklink/src/operation/untag_resource/builders.rs index d0515241982c..a48b36fcc8c3 100644 --- a/sdk/worklink/src/operation/untag_resource/builders.rs +++ b/sdk/worklink/src/operation/untag_resource/builders.rs @@ -22,9 +22,9 @@ impl UntagResourceFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -80,6 +80,20 @@ impl UntagResourceFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::untag_resource::UntagResource, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                The Amazon Resource Name (ARN) of the fleet.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                pub fn resource_arn(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.resource_arn(input.into()); diff --git a/sdk/worklink/src/operation/update_audit_stream_configuration/builders.rs b/sdk/worklink/src/operation/update_audit_stream_configuration/builders.rs index 8c645241b00f..afecbf40d6b5 100644 --- a/sdk/worklink/src/operation/update_audit_stream_configuration/builders.rs +++ b/sdk/worklink/src/operation/update_audit_stream_configuration/builders.rs @@ -22,9 +22,9 @@ impl UpdateAuditStreamConfigurationFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize(self) -> ::std::result::Result< + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware(self) -> ::std::result::Result< crate::client::customize::CustomizableOperation, ::aws_smithy_http::result::SdkError >{ @@ -67,6 +67,15 @@ impl UpdateAuditStreamConfigurationFluentBuilder { { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize(self) -> ::std::result::Result< + crate::client::customize::CustomizableOperation, + ::aws_smithy_http::result::SdkError + >{ + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                The ARN of the fleet.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                pub fn fleet_arn(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.fleet_arn(input.into()); diff --git a/sdk/worklink/src/operation/update_company_network_configuration/builders.rs b/sdk/worklink/src/operation/update_company_network_configuration/builders.rs index 46a0ddd685d2..7f6225739c0c 100644 --- a/sdk/worklink/src/operation/update_company_network_configuration/builders.rs +++ b/sdk/worklink/src/operation/update_company_network_configuration/builders.rs @@ -22,9 +22,9 @@ impl UpdateCompanyNetworkConfigurationFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize(self) -> ::std::result::Result< + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware(self) -> ::std::result::Result< crate::client::customize::CustomizableOperation, ::aws_smithy_http::result::SdkError >{ @@ -67,6 +67,15 @@ impl UpdateCompanyNetworkConfigurationFluentBuilder { { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize(self) -> ::std::result::Result< + crate::client::customize::CustomizableOperation, + ::aws_smithy_http::result::SdkError + >{ + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                The ARN of the fleet.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                pub fn fleet_arn(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.fleet_arn(input.into()); diff --git a/sdk/worklink/src/operation/update_device_policy_configuration/builders.rs b/sdk/worklink/src/operation/update_device_policy_configuration/builders.rs index 1876a446c302..12ccecbc33a3 100644 --- a/sdk/worklink/src/operation/update_device_policy_configuration/builders.rs +++ b/sdk/worklink/src/operation/update_device_policy_configuration/builders.rs @@ -22,9 +22,9 @@ impl UpdateDevicePolicyConfigurationFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize(self) -> ::std::result::Result< + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware(self) -> ::std::result::Result< crate::client::customize::CustomizableOperation, ::aws_smithy_http::result::SdkError >{ @@ -67,6 +67,15 @@ impl UpdateDevicePolicyConfigurationFluentBuilder { { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize(self) -> ::std::result::Result< + crate::client::customize::CustomizableOperation, + ::aws_smithy_http::result::SdkError + >{ + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                The ARN of the fleet.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                pub fn fleet_arn(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.fleet_arn(input.into()); diff --git a/sdk/worklink/src/operation/update_domain_metadata/builders.rs b/sdk/worklink/src/operation/update_domain_metadata/builders.rs index 2b9b999a28d2..672fce7f6455 100644 --- a/sdk/worklink/src/operation/update_domain_metadata/builders.rs +++ b/sdk/worklink/src/operation/update_domain_metadata/builders.rs @@ -22,9 +22,9 @@ impl UpdateDomainMetadataFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -86,6 +86,22 @@ impl UpdateDomainMetadataFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::update_domain_metadata::UpdateDomainMetadata, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::update_domain_metadata::UpdateDomainMetadataError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                The ARN of the fleet.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                pub fn fleet_arn(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.fleet_arn(input.into()); diff --git a/sdk/worklink/src/operation/update_fleet_metadata/builders.rs b/sdk/worklink/src/operation/update_fleet_metadata/builders.rs index 00d5d06415d9..71236e3a037e 100644 --- a/sdk/worklink/src/operation/update_fleet_metadata/builders.rs +++ b/sdk/worklink/src/operation/update_fleet_metadata/builders.rs @@ -22,9 +22,9 @@ impl UpdateFleetMetadataFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -86,6 +86,22 @@ impl UpdateFleetMetadataFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::update_fleet_metadata::UpdateFleetMetadata, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::update_fleet_metadata::UpdateFleetMetadataError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                The ARN of the fleet.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                pub fn fleet_arn(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.fleet_arn(input.into()); diff --git a/sdk/worklink/src/operation/update_identity_provider_configuration/builders.rs b/sdk/worklink/src/operation/update_identity_provider_configuration/builders.rs index 53689953a565..b64e7347f39f 100644 --- a/sdk/worklink/src/operation/update_identity_provider_configuration/builders.rs +++ b/sdk/worklink/src/operation/update_identity_provider_configuration/builders.rs @@ -22,9 +22,9 @@ impl UpdateIdentityProviderConfigurationFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize(self) -> ::std::result::Result< + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware(self) -> ::std::result::Result< crate::client::customize::CustomizableOperation, ::aws_smithy_http::result::SdkError >{ @@ -67,6 +67,15 @@ impl UpdateIdentityProviderConfigurationFluentBuilder { { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize(self) -> ::std::result::Result< + crate::client::customize::CustomizableOperation, + ::aws_smithy_http::result::SdkError + >{ + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                The ARN of the fleet.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                pub fn fleet_arn(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.fleet_arn(input.into()); diff --git a/sdk/workmail/src/operation/associate_delegate_to_resource/builders.rs b/sdk/workmail/src/operation/associate_delegate_to_resource/builders.rs index 9790d8b167a7..a61a967e6d9c 100644 --- a/sdk/workmail/src/operation/associate_delegate_to_resource/builders.rs +++ b/sdk/workmail/src/operation/associate_delegate_to_resource/builders.rs @@ -19,9 +19,9 @@ impl AssociateDelegateToResourceFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl AssociateDelegateToResourceFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::associate_delegate_to_resource::AssociateDelegateToResource, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::associate_delegate_to_resource::AssociateDelegateToResourceError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                The organization under which the resource exists.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                pub fn organization_id( mut self, diff --git a/sdk/workmail/src/operation/associate_member_to_group/builders.rs b/sdk/workmail/src/operation/associate_member_to_group/builders.rs index ca6d947fcf22..13c08c698eb8 100644 --- a/sdk/workmail/src/operation/associate_member_to_group/builders.rs +++ b/sdk/workmail/src/operation/associate_member_to_group/builders.rs @@ -20,9 +20,9 @@ impl AssociateMemberToGroupFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -84,6 +84,22 @@ impl AssociateMemberToGroupFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::associate_member_to_group::AssociateMemberToGroup, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::associate_member_to_group::AssociateMemberToGroupError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                The organization under which the group exists.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                pub fn organization_id( mut self, diff --git a/sdk/workmail/src/operation/assume_impersonation_role/builders.rs b/sdk/workmail/src/operation/assume_impersonation_role/builders.rs index 01ec3156c381..b0b5ba3b5e67 100644 --- a/sdk/workmail/src/operation/assume_impersonation_role/builders.rs +++ b/sdk/workmail/src/operation/assume_impersonation_role/builders.rs @@ -20,9 +20,9 @@ impl AssumeImpersonationRoleFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -84,6 +84,22 @@ impl AssumeImpersonationRoleFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::assume_impersonation_role::AssumeImpersonationRole, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::assume_impersonation_role::AssumeImpersonationRoleError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                The WorkMail organization under which the impersonation role will be assumed.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                pub fn organization_id( mut self, diff --git a/sdk/workmail/src/operation/cancel_mailbox_export_job/builders.rs b/sdk/workmail/src/operation/cancel_mailbox_export_job/builders.rs index 1a1db44598a6..4f8381b08251 100644 --- a/sdk/workmail/src/operation/cancel_mailbox_export_job/builders.rs +++ b/sdk/workmail/src/operation/cancel_mailbox_export_job/builders.rs @@ -22,9 +22,9 @@ impl CancelMailboxExportJobFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -86,6 +86,22 @@ impl CancelMailboxExportJobFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::cancel_mailbox_export_job::CancelMailboxExportJob, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::cancel_mailbox_export_job::CancelMailboxExportJobError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                The idempotency token for the client request.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                pub fn client_token(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.client_token(input.into()); diff --git a/sdk/workmail/src/operation/create_alias/builders.rs b/sdk/workmail/src/operation/create_alias/builders.rs index 58824acb1619..cd2e290a3701 100644 --- a/sdk/workmail/src/operation/create_alias/builders.rs +++ b/sdk/workmail/src/operation/create_alias/builders.rs @@ -19,9 +19,9 @@ impl CreateAliasFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl CreateAliasFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::create_alias::CreateAlias, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                The organization under which the member (user or group) exists.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                pub fn organization_id( mut self, diff --git a/sdk/workmail/src/operation/create_availability_configuration/builders.rs b/sdk/workmail/src/operation/create_availability_configuration/builders.rs index 74bcac6666c5..8032f476508b 100644 --- a/sdk/workmail/src/operation/create_availability_configuration/builders.rs +++ b/sdk/workmail/src/operation/create_availability_configuration/builders.rs @@ -19,9 +19,9 @@ impl CreateAvailabilityConfigurationFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize(self) -> ::std::result::Result< + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware(self) -> ::std::result::Result< crate::client::customize::CustomizableOperation, ::aws_smithy_http::result::SdkError >{ @@ -64,6 +64,15 @@ impl CreateAvailabilityConfigurationFluentBuilder { { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize(self) -> ::std::result::Result< + crate::client::customize::CustomizableOperation, + ::aws_smithy_http::result::SdkError + >{ + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                An idempotent token that ensures that an API request is executed only once.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                pub fn client_token(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.client_token(input.into()); diff --git a/sdk/workmail/src/operation/create_group/builders.rs b/sdk/workmail/src/operation/create_group/builders.rs index 9633c2b3ef18..5cc900e02243 100644 --- a/sdk/workmail/src/operation/create_group/builders.rs +++ b/sdk/workmail/src/operation/create_group/builders.rs @@ -19,9 +19,9 @@ impl CreateGroupFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl CreateGroupFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::create_group::CreateGroup, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                The organization under which the group is to be created.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                pub fn organization_id( mut self, diff --git a/sdk/workmail/src/operation/create_impersonation_role/builders.rs b/sdk/workmail/src/operation/create_impersonation_role/builders.rs index 5926426ef113..26703f47b76f 100644 --- a/sdk/workmail/src/operation/create_impersonation_role/builders.rs +++ b/sdk/workmail/src/operation/create_impersonation_role/builders.rs @@ -21,9 +21,9 @@ impl CreateImpersonationRoleFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -85,6 +85,22 @@ impl CreateImpersonationRoleFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::create_impersonation_role::CreateImpersonationRole, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::create_impersonation_role::CreateImpersonationRoleError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                The idempotency token for the client request.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                pub fn client_token(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.client_token(input.into()); diff --git a/sdk/workmail/src/operation/create_mobile_device_access_rule/builders.rs b/sdk/workmail/src/operation/create_mobile_device_access_rule/builders.rs index c8f99797754a..016ac3af961d 100644 --- a/sdk/workmail/src/operation/create_mobile_device_access_rule/builders.rs +++ b/sdk/workmail/src/operation/create_mobile_device_access_rule/builders.rs @@ -19,9 +19,9 @@ impl CreateMobileDeviceAccessRuleFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl CreateMobileDeviceAccessRuleFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::create_mobile_device_access_rule::CreateMobileDeviceAccessRule, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::create_mobile_device_access_rule::CreateMobileDeviceAccessRuleError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                The WorkMail organization under which the rule will be created.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                pub fn organization_id( mut self, diff --git a/sdk/workmail/src/operation/create_organization/builders.rs b/sdk/workmail/src/operation/create_organization/builders.rs index 12ca586fc4f8..789cdfcfa62a 100644 --- a/sdk/workmail/src/operation/create_organization/builders.rs +++ b/sdk/workmail/src/operation/create_organization/builders.rs @@ -21,9 +21,9 @@ impl CreateOrganizationFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -85,6 +85,22 @@ impl CreateOrganizationFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::create_organization::CreateOrganization, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::create_organization::CreateOrganizationError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                The AWS Directory Service directory ID.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                pub fn directory_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.directory_id(input.into()); diff --git a/sdk/workmail/src/operation/create_resource/builders.rs b/sdk/workmail/src/operation/create_resource/builders.rs index ff7785ec069f..dcc4cadbb8fc 100644 --- a/sdk/workmail/src/operation/create_resource/builders.rs +++ b/sdk/workmail/src/operation/create_resource/builders.rs @@ -19,9 +19,9 @@ impl CreateResourceFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl CreateResourceFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::create_resource::CreateResource, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                The identifier associated with the organization for which the resource is created.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                pub fn organization_id( mut self, diff --git a/sdk/workmail/src/operation/create_user/builders.rs b/sdk/workmail/src/operation/create_user/builders.rs index 3f7ce8ea14c8..4421b1addbe9 100644 --- a/sdk/workmail/src/operation/create_user/builders.rs +++ b/sdk/workmail/src/operation/create_user/builders.rs @@ -19,9 +19,9 @@ impl CreateUserFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl CreateUserFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::create_user::CreateUser, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                The identifier of the organization for which the user is created.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                pub fn organization_id( mut self, diff --git a/sdk/workmail/src/operation/delete_access_control_rule/builders.rs b/sdk/workmail/src/operation/delete_access_control_rule/builders.rs index a373708ebba4..3edb71aaaeea 100644 --- a/sdk/workmail/src/operation/delete_access_control_rule/builders.rs +++ b/sdk/workmail/src/operation/delete_access_control_rule/builders.rs @@ -22,9 +22,9 @@ impl DeleteAccessControlRuleFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -86,6 +86,22 @@ impl DeleteAccessControlRuleFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::delete_access_control_rule::DeleteAccessControlRule, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::delete_access_control_rule::DeleteAccessControlRuleError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                The identifier for the organization.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                pub fn organization_id( mut self, diff --git a/sdk/workmail/src/operation/delete_alias/builders.rs b/sdk/workmail/src/operation/delete_alias/builders.rs index 14a3a47d5cc0..50a5642bdb68 100644 --- a/sdk/workmail/src/operation/delete_alias/builders.rs +++ b/sdk/workmail/src/operation/delete_alias/builders.rs @@ -19,9 +19,9 @@ impl DeleteAliasFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl DeleteAliasFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::delete_alias::DeleteAlias, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                The identifier for the organization under which the user exists.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                pub fn organization_id( mut self, diff --git a/sdk/workmail/src/operation/delete_availability_configuration/builders.rs b/sdk/workmail/src/operation/delete_availability_configuration/builders.rs index 869214317ff8..b72294ce96bc 100644 --- a/sdk/workmail/src/operation/delete_availability_configuration/builders.rs +++ b/sdk/workmail/src/operation/delete_availability_configuration/builders.rs @@ -19,9 +19,9 @@ impl DeleteAvailabilityConfigurationFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize(self) -> ::std::result::Result< + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware(self) -> ::std::result::Result< crate::client::customize::CustomizableOperation, ::aws_smithy_http::result::SdkError >{ @@ -64,6 +64,15 @@ impl DeleteAvailabilityConfigurationFluentBuilder { { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize(self) -> ::std::result::Result< + crate::client::customize::CustomizableOperation, + ::aws_smithy_http::result::SdkError + >{ + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                The WorkMail organization for which the AvailabilityConfiguration will be deleted.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                pub fn organization_id( mut self, diff --git a/sdk/workmail/src/operation/delete_email_monitoring_configuration/builders.rs b/sdk/workmail/src/operation/delete_email_monitoring_configuration/builders.rs index 345e29f1d09e..d4b9c94022b1 100644 --- a/sdk/workmail/src/operation/delete_email_monitoring_configuration/builders.rs +++ b/sdk/workmail/src/operation/delete_email_monitoring_configuration/builders.rs @@ -19,9 +19,9 @@ impl DeleteEmailMonitoringConfigurationFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize(self) -> ::std::result::Result< + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware(self) -> ::std::result::Result< crate::client::customize::CustomizableOperation, ::aws_smithy_http::result::SdkError >{ @@ -64,6 +64,15 @@ impl DeleteEmailMonitoringConfigurationFluentBuilder { { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize(self) -> ::std::result::Result< + crate::client::customize::CustomizableOperation, + ::aws_smithy_http::result::SdkError + >{ + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                The ID of the organization from which the email monitoring configuration is deleted.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                pub fn organization_id( mut self, diff --git a/sdk/workmail/src/operation/delete_group/builders.rs b/sdk/workmail/src/operation/delete_group/builders.rs index c96f30fa6054..82484ee63a8e 100644 --- a/sdk/workmail/src/operation/delete_group/builders.rs +++ b/sdk/workmail/src/operation/delete_group/builders.rs @@ -19,9 +19,9 @@ impl DeleteGroupFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl DeleteGroupFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::delete_group::DeleteGroup, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                The organization that contains the group.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                pub fn organization_id( mut self, diff --git a/sdk/workmail/src/operation/delete_impersonation_role/builders.rs b/sdk/workmail/src/operation/delete_impersonation_role/builders.rs index 9dca1720e86e..1f2373a25b34 100644 --- a/sdk/workmail/src/operation/delete_impersonation_role/builders.rs +++ b/sdk/workmail/src/operation/delete_impersonation_role/builders.rs @@ -20,9 +20,9 @@ impl DeleteImpersonationRoleFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -84,6 +84,22 @@ impl DeleteImpersonationRoleFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::delete_impersonation_role::DeleteImpersonationRole, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::delete_impersonation_role::DeleteImpersonationRoleError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                The WorkMail organization from which to delete the impersonation role.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                pub fn organization_id( mut self, diff --git a/sdk/workmail/src/operation/delete_mailbox_permissions/builders.rs b/sdk/workmail/src/operation/delete_mailbox_permissions/builders.rs index ff005843e1e8..bf5908832a34 100644 --- a/sdk/workmail/src/operation/delete_mailbox_permissions/builders.rs +++ b/sdk/workmail/src/operation/delete_mailbox_permissions/builders.rs @@ -19,9 +19,9 @@ impl DeleteMailboxPermissionsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl DeleteMailboxPermissionsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::delete_mailbox_permissions::DeleteMailboxPermissions, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::delete_mailbox_permissions::DeleteMailboxPermissionsError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                The identifier of the organization under which the member (user or group) exists.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                pub fn organization_id( mut self, diff --git a/sdk/workmail/src/operation/delete_mobile_device_access_override/builders.rs b/sdk/workmail/src/operation/delete_mobile_device_access_override/builders.rs index 45ba1150a543..2a1d050ab986 100644 --- a/sdk/workmail/src/operation/delete_mobile_device_access_override/builders.rs +++ b/sdk/workmail/src/operation/delete_mobile_device_access_override/builders.rs @@ -21,9 +21,9 @@ impl DeleteMobileDeviceAccessOverrideFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize(self) -> ::std::result::Result< + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware(self) -> ::std::result::Result< crate::client::customize::CustomizableOperation, ::aws_smithy_http::result::SdkError >{ @@ -66,6 +66,15 @@ impl DeleteMobileDeviceAccessOverrideFluentBuilder { { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize(self) -> ::std::result::Result< + crate::client::customize::CustomizableOperation, + ::aws_smithy_http::result::SdkError + >{ + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                The WorkMail organization for which the access override will be deleted.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                pub fn organization_id( mut self, diff --git a/sdk/workmail/src/operation/delete_mobile_device_access_rule/builders.rs b/sdk/workmail/src/operation/delete_mobile_device_access_rule/builders.rs index 638501eb33a8..2668c2da6463 100644 --- a/sdk/workmail/src/operation/delete_mobile_device_access_rule/builders.rs +++ b/sdk/workmail/src/operation/delete_mobile_device_access_rule/builders.rs @@ -21,9 +21,9 @@ impl DeleteMobileDeviceAccessRuleFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -85,6 +85,22 @@ impl DeleteMobileDeviceAccessRuleFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::delete_mobile_device_access_rule::DeleteMobileDeviceAccessRule, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::delete_mobile_device_access_rule::DeleteMobileDeviceAccessRuleError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                The WorkMail organization under which the rule will be deleted.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                pub fn organization_id( mut self, diff --git a/sdk/workmail/src/operation/delete_organization/builders.rs b/sdk/workmail/src/operation/delete_organization/builders.rs index de4443a8845e..68c0486b3d25 100644 --- a/sdk/workmail/src/operation/delete_organization/builders.rs +++ b/sdk/workmail/src/operation/delete_organization/builders.rs @@ -19,9 +19,9 @@ impl DeleteOrganizationFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl DeleteOrganizationFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::delete_organization::DeleteOrganization, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::delete_organization::DeleteOrganizationError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                The idempotency token associated with the request.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                pub fn client_token(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.client_token(input.into()); diff --git a/sdk/workmail/src/operation/delete_resource/builders.rs b/sdk/workmail/src/operation/delete_resource/builders.rs index 966949369499..1eeb7106c0fd 100644 --- a/sdk/workmail/src/operation/delete_resource/builders.rs +++ b/sdk/workmail/src/operation/delete_resource/builders.rs @@ -19,9 +19,9 @@ impl DeleteResourceFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl DeleteResourceFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::delete_resource::DeleteResource, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                The identifier associated with the organization from which the resource is deleted.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                pub fn organization_id( mut self, diff --git a/sdk/workmail/src/operation/delete_retention_policy/builders.rs b/sdk/workmail/src/operation/delete_retention_policy/builders.rs index 1305bcee377f..6df5bc741ca8 100644 --- a/sdk/workmail/src/operation/delete_retention_policy/builders.rs +++ b/sdk/workmail/src/operation/delete_retention_policy/builders.rs @@ -19,9 +19,9 @@ impl DeleteRetentionPolicyFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl DeleteRetentionPolicyFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::delete_retention_policy::DeleteRetentionPolicy, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::delete_retention_policy::DeleteRetentionPolicyError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                The organization ID.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                pub fn organization_id( mut self, diff --git a/sdk/workmail/src/operation/delete_user/builders.rs b/sdk/workmail/src/operation/delete_user/builders.rs index 1ec153d7befb..6f8ca5ce0720 100644 --- a/sdk/workmail/src/operation/delete_user/builders.rs +++ b/sdk/workmail/src/operation/delete_user/builders.rs @@ -20,9 +20,9 @@ impl DeleteUserFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -78,6 +78,20 @@ impl DeleteUserFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::delete_user::DeleteUser, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                The organization that contains the user to be deleted.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                pub fn organization_id( mut self, diff --git a/sdk/workmail/src/operation/deregister_from_work_mail/builders.rs b/sdk/workmail/src/operation/deregister_from_work_mail/builders.rs index dea41af9b3ab..3e8f01b39164 100644 --- a/sdk/workmail/src/operation/deregister_from_work_mail/builders.rs +++ b/sdk/workmail/src/operation/deregister_from_work_mail/builders.rs @@ -20,9 +20,9 @@ impl DeregisterFromWorkMailFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -84,6 +84,22 @@ impl DeregisterFromWorkMailFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::deregister_from_work_mail::DeregisterFromWorkMail, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::deregister_from_work_mail::DeregisterFromWorkMailError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                The identifier for the organization under which the WorkMail entity exists.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                pub fn organization_id( mut self, diff --git a/sdk/workmail/src/operation/deregister_mail_domain/builders.rs b/sdk/workmail/src/operation/deregister_mail_domain/builders.rs index 0d046de14548..f31bd320b8b1 100644 --- a/sdk/workmail/src/operation/deregister_mail_domain/builders.rs +++ b/sdk/workmail/src/operation/deregister_mail_domain/builders.rs @@ -19,9 +19,9 @@ impl DeregisterMailDomainFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl DeregisterMailDomainFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::deregister_mail_domain::DeregisterMailDomain, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::deregister_mail_domain::DeregisterMailDomainError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                The WorkMail organization for which the domain will be deregistered.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                pub fn organization_id( mut self, diff --git a/sdk/workmail/src/operation/describe_email_monitoring_configuration/builders.rs b/sdk/workmail/src/operation/describe_email_monitoring_configuration/builders.rs index dd20fcc8dc09..b350d53df621 100644 --- a/sdk/workmail/src/operation/describe_email_monitoring_configuration/builders.rs +++ b/sdk/workmail/src/operation/describe_email_monitoring_configuration/builders.rs @@ -19,9 +19,9 @@ impl DescribeEmailMonitoringConfigurationFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize(self) -> ::std::result::Result< + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware(self) -> ::std::result::Result< crate::client::customize::CustomizableOperation, ::aws_smithy_http::result::SdkError >{ @@ -64,6 +64,15 @@ impl DescribeEmailMonitoringConfigurationFluentBuilder { { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize(self) -> ::std::result::Result< + crate::client::customize::CustomizableOperation, + ::aws_smithy_http::result::SdkError + >{ + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                The ID of the organization for which the email monitoring configuration is described.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                pub fn organization_id( mut self, diff --git a/sdk/workmail/src/operation/describe_group/builders.rs b/sdk/workmail/src/operation/describe_group/builders.rs index 7bd9a93e664a..fa43cb1339c9 100644 --- a/sdk/workmail/src/operation/describe_group/builders.rs +++ b/sdk/workmail/src/operation/describe_group/builders.rs @@ -19,9 +19,9 @@ impl DescribeGroupFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl DescribeGroupFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::describe_group::DescribeGroup, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                The identifier for the organization under which the group exists.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                pub fn organization_id( mut self, diff --git a/sdk/workmail/src/operation/describe_inbound_dmarc_settings/builders.rs b/sdk/workmail/src/operation/describe_inbound_dmarc_settings/builders.rs index c7738dfcfeca..fe67f375d5fa 100644 --- a/sdk/workmail/src/operation/describe_inbound_dmarc_settings/builders.rs +++ b/sdk/workmail/src/operation/describe_inbound_dmarc_settings/builders.rs @@ -19,9 +19,9 @@ impl DescribeInboundDmarcSettingsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl DescribeInboundDmarcSettingsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::describe_inbound_dmarc_settings::DescribeInboundDmarcSettings, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::describe_inbound_dmarc_settings::DescribeInboundDmarcSettingsError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                Lists the ID of the given organization.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                pub fn organization_id( mut self, diff --git a/sdk/workmail/src/operation/describe_mailbox_export_job/builders.rs b/sdk/workmail/src/operation/describe_mailbox_export_job/builders.rs index 7c95d2e2fb7f..53b5286c7a62 100644 --- a/sdk/workmail/src/operation/describe_mailbox_export_job/builders.rs +++ b/sdk/workmail/src/operation/describe_mailbox_export_job/builders.rs @@ -19,9 +19,9 @@ impl DescribeMailboxExportJobFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl DescribeMailboxExportJobFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::describe_mailbox_export_job::DescribeMailboxExportJob, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::describe_mailbox_export_job::DescribeMailboxExportJobError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                The mailbox export job ID.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                pub fn job_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.job_id(input.into()); diff --git a/sdk/workmail/src/operation/describe_organization/builders.rs b/sdk/workmail/src/operation/describe_organization/builders.rs index 2b71423a6aa9..4a0fab4b4abe 100644 --- a/sdk/workmail/src/operation/describe_organization/builders.rs +++ b/sdk/workmail/src/operation/describe_organization/builders.rs @@ -19,9 +19,9 @@ impl DescribeOrganizationFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl DescribeOrganizationFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::describe_organization::DescribeOrganization, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::describe_organization::DescribeOrganizationError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                The identifier for the organization to be described.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                pub fn organization_id( mut self, diff --git a/sdk/workmail/src/operation/describe_resource/builders.rs b/sdk/workmail/src/operation/describe_resource/builders.rs index 9bbf2014503c..d53d797c6cfc 100644 --- a/sdk/workmail/src/operation/describe_resource/builders.rs +++ b/sdk/workmail/src/operation/describe_resource/builders.rs @@ -19,9 +19,9 @@ impl DescribeResourceFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl DescribeResourceFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::describe_resource::DescribeResource, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::describe_resource::DescribeResourceError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                The identifier associated with the organization for which the resource is described.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                pub fn organization_id( mut self, diff --git a/sdk/workmail/src/operation/describe_user/builders.rs b/sdk/workmail/src/operation/describe_user/builders.rs index 1c50fd3d8eef..73406260a225 100644 --- a/sdk/workmail/src/operation/describe_user/builders.rs +++ b/sdk/workmail/src/operation/describe_user/builders.rs @@ -19,9 +19,9 @@ impl DescribeUserFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl DescribeUserFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::describe_user::DescribeUser, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                The identifier for the organization under which the user exists.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                pub fn organization_id( mut self, diff --git a/sdk/workmail/src/operation/disassociate_delegate_from_resource/builders.rs b/sdk/workmail/src/operation/disassociate_delegate_from_resource/builders.rs index 7b2cd02e3256..6a76a0c8bc1c 100644 --- a/sdk/workmail/src/operation/disassociate_delegate_from_resource/builders.rs +++ b/sdk/workmail/src/operation/disassociate_delegate_from_resource/builders.rs @@ -19,9 +19,9 @@ impl DisassociateDelegateFromResourceFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize(self) -> ::std::result::Result< + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware(self) -> ::std::result::Result< crate::client::customize::CustomizableOperation, ::aws_smithy_http::result::SdkError >{ @@ -64,6 +64,15 @@ impl DisassociateDelegateFromResourceFluentBuilder { { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize(self) -> ::std::result::Result< + crate::client::customize::CustomizableOperation, + ::aws_smithy_http::result::SdkError + >{ + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                The identifier for the organization under which the resource exists.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                pub fn organization_id( mut self, diff --git a/sdk/workmail/src/operation/disassociate_member_from_group/builders.rs b/sdk/workmail/src/operation/disassociate_member_from_group/builders.rs index a0e432bc1ec5..5c063addedfd 100644 --- a/sdk/workmail/src/operation/disassociate_member_from_group/builders.rs +++ b/sdk/workmail/src/operation/disassociate_member_from_group/builders.rs @@ -19,9 +19,9 @@ impl DisassociateMemberFromGroupFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl DisassociateMemberFromGroupFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::disassociate_member_from_group::DisassociateMemberFromGroup, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::disassociate_member_from_group::DisassociateMemberFromGroupError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                The identifier for the organization under which the group exists.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                pub fn organization_id( mut self, diff --git a/sdk/workmail/src/operation/get_access_control_effect/builders.rs b/sdk/workmail/src/operation/get_access_control_effect/builders.rs index 7059490eb6da..bff09ff8193a 100644 --- a/sdk/workmail/src/operation/get_access_control_effect/builders.rs +++ b/sdk/workmail/src/operation/get_access_control_effect/builders.rs @@ -20,9 +20,9 @@ impl GetAccessControlEffectFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -84,6 +84,22 @@ impl GetAccessControlEffectFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::get_access_control_effect::GetAccessControlEffect, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::get_access_control_effect::GetAccessControlEffectError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                The identifier for the organization.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                pub fn organization_id( mut self, diff --git a/sdk/workmail/src/operation/get_default_retention_policy/builders.rs b/sdk/workmail/src/operation/get_default_retention_policy/builders.rs index e5a2ae7e8e60..d4a5658256b1 100644 --- a/sdk/workmail/src/operation/get_default_retention_policy/builders.rs +++ b/sdk/workmail/src/operation/get_default_retention_policy/builders.rs @@ -19,9 +19,9 @@ impl GetDefaultRetentionPolicyFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl GetDefaultRetentionPolicyFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::get_default_retention_policy::GetDefaultRetentionPolicy, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::get_default_retention_policy::GetDefaultRetentionPolicyError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                The organization ID.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                pub fn organization_id( mut self, diff --git a/sdk/workmail/src/operation/get_impersonation_role/builders.rs b/sdk/workmail/src/operation/get_impersonation_role/builders.rs index d1f8f825726f..29e6fa606cc9 100644 --- a/sdk/workmail/src/operation/get_impersonation_role/builders.rs +++ b/sdk/workmail/src/operation/get_impersonation_role/builders.rs @@ -19,9 +19,9 @@ impl GetImpersonationRoleFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl GetImpersonationRoleFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::get_impersonation_role::GetImpersonationRole, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::get_impersonation_role::GetImpersonationRoleError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                The WorkMail organization from which to retrieve the impersonation role.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                pub fn organization_id( mut self, diff --git a/sdk/workmail/src/operation/get_impersonation_role_effect/builders.rs b/sdk/workmail/src/operation/get_impersonation_role_effect/builders.rs index 35e01909da84..353545b42d94 100644 --- a/sdk/workmail/src/operation/get_impersonation_role_effect/builders.rs +++ b/sdk/workmail/src/operation/get_impersonation_role_effect/builders.rs @@ -19,9 +19,9 @@ impl GetImpersonationRoleEffectFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl GetImpersonationRoleEffectFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::get_impersonation_role_effect::GetImpersonationRoleEffect, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::get_impersonation_role_effect::GetImpersonationRoleEffectError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                The WorkMail organization where the impersonation role is defined.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                pub fn organization_id( mut self, diff --git a/sdk/workmail/src/operation/get_mail_domain/builders.rs b/sdk/workmail/src/operation/get_mail_domain/builders.rs index 7fdfd51d460a..61ccb5452797 100644 --- a/sdk/workmail/src/operation/get_mail_domain/builders.rs +++ b/sdk/workmail/src/operation/get_mail_domain/builders.rs @@ -19,9 +19,9 @@ impl GetMailDomainFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl GetMailDomainFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::get_mail_domain::GetMailDomain, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                The WorkMail organization for which the domain is retrieved.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                pub fn organization_id( mut self, diff --git a/sdk/workmail/src/operation/get_mailbox_details/builders.rs b/sdk/workmail/src/operation/get_mailbox_details/builders.rs index f15b093c1b7c..356993bc00ca 100644 --- a/sdk/workmail/src/operation/get_mailbox_details/builders.rs +++ b/sdk/workmail/src/operation/get_mailbox_details/builders.rs @@ -19,9 +19,9 @@ impl GetMailboxDetailsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl GetMailboxDetailsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::get_mailbox_details::GetMailboxDetails, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::get_mailbox_details::GetMailboxDetailsError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                The identifier for the organization that contains the user whose mailbox details are being requested.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                pub fn organization_id( mut self, diff --git a/sdk/workmail/src/operation/get_mobile_device_access_effect/builders.rs b/sdk/workmail/src/operation/get_mobile_device_access_effect/builders.rs index 08dbc05ea002..0183a6746db1 100644 --- a/sdk/workmail/src/operation/get_mobile_device_access_effect/builders.rs +++ b/sdk/workmail/src/operation/get_mobile_device_access_effect/builders.rs @@ -19,9 +19,9 @@ impl GetMobileDeviceAccessEffectFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl GetMobileDeviceAccessEffectFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::get_mobile_device_access_effect::GetMobileDeviceAccessEffect, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::get_mobile_device_access_effect::GetMobileDeviceAccessEffectError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                The WorkMail organization to simulate the access effect for.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                pub fn organization_id( mut self, diff --git a/sdk/workmail/src/operation/get_mobile_device_access_override/builders.rs b/sdk/workmail/src/operation/get_mobile_device_access_override/builders.rs index e175ba9582c2..4fd7c0e22655 100644 --- a/sdk/workmail/src/operation/get_mobile_device_access_override/builders.rs +++ b/sdk/workmail/src/operation/get_mobile_device_access_override/builders.rs @@ -19,9 +19,9 @@ impl GetMobileDeviceAccessOverrideFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl GetMobileDeviceAccessOverrideFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::get_mobile_device_access_override::GetMobileDeviceAccessOverride, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::get_mobile_device_access_override::GetMobileDeviceAccessOverrideError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                The WorkMail organization to which you want to apply the override.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                pub fn organization_id( mut self, diff --git a/sdk/workmail/src/operation/list_access_control_rules/builders.rs b/sdk/workmail/src/operation/list_access_control_rules/builders.rs index 4f65f3ceb34d..72f51a339d46 100644 --- a/sdk/workmail/src/operation/list_access_control_rules/builders.rs +++ b/sdk/workmail/src/operation/list_access_control_rules/builders.rs @@ -20,9 +20,9 @@ impl ListAccessControlRulesFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -84,6 +84,22 @@ impl ListAccessControlRulesFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_access_control_rules::ListAccessControlRules, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::list_access_control_rules::ListAccessControlRulesError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                The identifier for the organization.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                pub fn organization_id( mut self, diff --git a/sdk/workmail/src/operation/list_aliases/builders.rs b/sdk/workmail/src/operation/list_aliases/builders.rs index 7606bfa536fe..5d9372a2e306 100644 --- a/sdk/workmail/src/operation/list_aliases/builders.rs +++ b/sdk/workmail/src/operation/list_aliases/builders.rs @@ -19,9 +19,9 @@ impl ListAliasesFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl ListAliasesFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_aliases::ListAliases, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::list_aliases::paginator::ListAliasesPaginator::send) which returns a `Stream`. diff --git a/sdk/workmail/src/operation/list_availability_configurations/builders.rs b/sdk/workmail/src/operation/list_availability_configurations/builders.rs index 97438c8e776c..796c2ded47a3 100644 --- a/sdk/workmail/src/operation/list_availability_configurations/builders.rs +++ b/sdk/workmail/src/operation/list_availability_configurations/builders.rs @@ -19,9 +19,9 @@ impl ListAvailabilityConfigurationsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl ListAvailabilityConfigurationsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_availability_configurations::ListAvailabilityConfigurations, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::list_availability_configurations::ListAvailabilityConfigurationsError, + >, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::list_availability_configurations::paginator::ListAvailabilityConfigurationsPaginator::send) which returns a `Stream`. diff --git a/sdk/workmail/src/operation/list_group_members/builders.rs b/sdk/workmail/src/operation/list_group_members/builders.rs index 4906ab372d67..dfd8f463a7cd 100644 --- a/sdk/workmail/src/operation/list_group_members/builders.rs +++ b/sdk/workmail/src/operation/list_group_members/builders.rs @@ -19,9 +19,9 @@ impl ListGroupMembersFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl ListGroupMembersFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_group_members::ListGroupMembers, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::list_group_members::ListGroupMembersError, + >, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::list_group_members::paginator::ListGroupMembersPaginator::send) which returns a `Stream`. diff --git a/sdk/workmail/src/operation/list_groups/builders.rs b/sdk/workmail/src/operation/list_groups/builders.rs index b38153792b71..c76346df3f14 100644 --- a/sdk/workmail/src/operation/list_groups/builders.rs +++ b/sdk/workmail/src/operation/list_groups/builders.rs @@ -19,9 +19,9 @@ impl ListGroupsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl ListGroupsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_groups::ListGroups, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::list_groups::paginator::ListGroupsPaginator::send) which returns a `Stream`. diff --git a/sdk/workmail/src/operation/list_impersonation_roles/builders.rs b/sdk/workmail/src/operation/list_impersonation_roles/builders.rs index 5be0936687db..2613af13f2db 100644 --- a/sdk/workmail/src/operation/list_impersonation_roles/builders.rs +++ b/sdk/workmail/src/operation/list_impersonation_roles/builders.rs @@ -19,9 +19,9 @@ impl ListImpersonationRolesFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl ListImpersonationRolesFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_impersonation_roles::ListImpersonationRoles, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::list_impersonation_roles::ListImpersonationRolesError, + >, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::list_impersonation_roles::paginator::ListImpersonationRolesPaginator::send) which returns a `Stream`. diff --git a/sdk/workmail/src/operation/list_mail_domains/builders.rs b/sdk/workmail/src/operation/list_mail_domains/builders.rs index 3c9ae3f50671..cacdfc058de2 100644 --- a/sdk/workmail/src/operation/list_mail_domains/builders.rs +++ b/sdk/workmail/src/operation/list_mail_domains/builders.rs @@ -19,9 +19,9 @@ impl ListMailDomainsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl ListMailDomainsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_mail_domains::ListMailDomains, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::list_mail_domains::ListMailDomainsError, + >, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::list_mail_domains::paginator::ListMailDomainsPaginator::send) which returns a `Stream`. diff --git a/sdk/workmail/src/operation/list_mailbox_export_jobs/builders.rs b/sdk/workmail/src/operation/list_mailbox_export_jobs/builders.rs index 8f3a1d0bd91c..7a257dd7e6b1 100644 --- a/sdk/workmail/src/operation/list_mailbox_export_jobs/builders.rs +++ b/sdk/workmail/src/operation/list_mailbox_export_jobs/builders.rs @@ -19,9 +19,9 @@ impl ListMailboxExportJobsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl ListMailboxExportJobsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_mailbox_export_jobs::ListMailboxExportJobs, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::list_mailbox_export_jobs::ListMailboxExportJobsError, + >, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::list_mailbox_export_jobs::paginator::ListMailboxExportJobsPaginator::send) which returns a `Stream`. diff --git a/sdk/workmail/src/operation/list_mailbox_permissions/builders.rs b/sdk/workmail/src/operation/list_mailbox_permissions/builders.rs index b0911821efcd..38e521e72fcd 100644 --- a/sdk/workmail/src/operation/list_mailbox_permissions/builders.rs +++ b/sdk/workmail/src/operation/list_mailbox_permissions/builders.rs @@ -19,9 +19,9 @@ impl ListMailboxPermissionsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl ListMailboxPermissionsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_mailbox_permissions::ListMailboxPermissions, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::list_mailbox_permissions::ListMailboxPermissionsError, + >, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::list_mailbox_permissions::paginator::ListMailboxPermissionsPaginator::send) which returns a `Stream`. diff --git a/sdk/workmail/src/operation/list_mobile_device_access_overrides/builders.rs b/sdk/workmail/src/operation/list_mobile_device_access_overrides/builders.rs index 7391efdfb5eb..6dfe023391b2 100644 --- a/sdk/workmail/src/operation/list_mobile_device_access_overrides/builders.rs +++ b/sdk/workmail/src/operation/list_mobile_device_access_overrides/builders.rs @@ -19,9 +19,9 @@ impl ListMobileDeviceAccessOverridesFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize(self) -> ::std::result::Result< + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware(self) -> ::std::result::Result< crate::client::customize::CustomizableOperation, ::aws_smithy_http::result::SdkError >{ @@ -64,6 +64,15 @@ impl ListMobileDeviceAccessOverridesFluentBuilder { { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize(self) -> ::std::result::Result< + crate::client::customize::CustomizableOperation, + ::aws_smithy_http::result::SdkError + >{ + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::list_mobile_device_access_overrides::paginator::ListMobileDeviceAccessOverridesPaginator::send) which returns a `Stream`. diff --git a/sdk/workmail/src/operation/list_mobile_device_access_rules/builders.rs b/sdk/workmail/src/operation/list_mobile_device_access_rules/builders.rs index 7fc6b549ac65..cd7c49d72c4f 100644 --- a/sdk/workmail/src/operation/list_mobile_device_access_rules/builders.rs +++ b/sdk/workmail/src/operation/list_mobile_device_access_rules/builders.rs @@ -19,9 +19,9 @@ impl ListMobileDeviceAccessRulesFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl ListMobileDeviceAccessRulesFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_mobile_device_access_rules::ListMobileDeviceAccessRules, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::list_mobile_device_access_rules::ListMobileDeviceAccessRulesError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                The WorkMail organization for which to list the rules.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                pub fn organization_id( mut self, diff --git a/sdk/workmail/src/operation/list_organizations/builders.rs b/sdk/workmail/src/operation/list_organizations/builders.rs index 0806a04f0761..100f81d3593a 100644 --- a/sdk/workmail/src/operation/list_organizations/builders.rs +++ b/sdk/workmail/src/operation/list_organizations/builders.rs @@ -19,9 +19,9 @@ impl ListOrganizationsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl ListOrganizationsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_organizations::ListOrganizations, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::list_organizations::ListOrganizationsError, + >, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::list_organizations::paginator::ListOrganizationsPaginator::send) which returns a `Stream`. diff --git a/sdk/workmail/src/operation/list_resource_delegates/builders.rs b/sdk/workmail/src/operation/list_resource_delegates/builders.rs index 93ea61726bc2..b5e1b23edad0 100644 --- a/sdk/workmail/src/operation/list_resource_delegates/builders.rs +++ b/sdk/workmail/src/operation/list_resource_delegates/builders.rs @@ -19,9 +19,9 @@ impl ListResourceDelegatesFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl ListResourceDelegatesFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_resource_delegates::ListResourceDelegates, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::list_resource_delegates::ListResourceDelegatesError, + >, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::list_resource_delegates::paginator::ListResourceDelegatesPaginator::send) which returns a `Stream`. diff --git a/sdk/workmail/src/operation/list_resources/builders.rs b/sdk/workmail/src/operation/list_resources/builders.rs index fdef59fcc2fa..984c445d9727 100644 --- a/sdk/workmail/src/operation/list_resources/builders.rs +++ b/sdk/workmail/src/operation/list_resources/builders.rs @@ -19,9 +19,9 @@ impl ListResourcesFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl ListResourcesFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_resources::ListResources, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::list_resources::paginator::ListResourcesPaginator::send) which returns a `Stream`. diff --git a/sdk/workmail/src/operation/list_tags_for_resource/builders.rs b/sdk/workmail/src/operation/list_tags_for_resource/builders.rs index 3a03206710cf..6a2ffddbeee7 100644 --- a/sdk/workmail/src/operation/list_tags_for_resource/builders.rs +++ b/sdk/workmail/src/operation/list_tags_for_resource/builders.rs @@ -19,9 +19,9 @@ impl ListTagsForResourceFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl ListTagsForResourceFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_tags_for_resource::ListTagsForResource, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::list_tags_for_resource::ListTagsForResourceError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                The resource ARN.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                pub fn resource_arn(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.resource_arn(input.into()); diff --git a/sdk/workmail/src/operation/list_users/builders.rs b/sdk/workmail/src/operation/list_users/builders.rs index 5071e3a3d3fd..bcc6bdc8de84 100644 --- a/sdk/workmail/src/operation/list_users/builders.rs +++ b/sdk/workmail/src/operation/list_users/builders.rs @@ -19,9 +19,9 @@ impl ListUsersFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl ListUsersFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_users::ListUsers, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::list_users::paginator::ListUsersPaginator::send) which returns a `Stream`. diff --git a/sdk/workmail/src/operation/put_access_control_rule/builders.rs b/sdk/workmail/src/operation/put_access_control_rule/builders.rs index ca007ed49702..6350aaa351a9 100644 --- a/sdk/workmail/src/operation/put_access_control_rule/builders.rs +++ b/sdk/workmail/src/operation/put_access_control_rule/builders.rs @@ -19,9 +19,9 @@ impl PutAccessControlRuleFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl PutAccessControlRuleFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::put_access_control_rule::PutAccessControlRule, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::put_access_control_rule::PutAccessControlRuleError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                The rule name.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                pub fn name(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.name(input.into()); diff --git a/sdk/workmail/src/operation/put_email_monitoring_configuration/builders.rs b/sdk/workmail/src/operation/put_email_monitoring_configuration/builders.rs index fa59ffde4e86..4eae6cb7eacd 100644 --- a/sdk/workmail/src/operation/put_email_monitoring_configuration/builders.rs +++ b/sdk/workmail/src/operation/put_email_monitoring_configuration/builders.rs @@ -19,9 +19,9 @@ impl PutEmailMonitoringConfigurationFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize(self) -> ::std::result::Result< + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware(self) -> ::std::result::Result< crate::client::customize::CustomizableOperation, ::aws_smithy_http::result::SdkError >{ @@ -64,6 +64,15 @@ impl PutEmailMonitoringConfigurationFluentBuilder { { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize(self) -> ::std::result::Result< + crate::client::customize::CustomizableOperation, + ::aws_smithy_http::result::SdkError + >{ + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                The ID of the organization for which the email monitoring configuration is set.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                pub fn organization_id( mut self, diff --git a/sdk/workmail/src/operation/put_inbound_dmarc_settings/builders.rs b/sdk/workmail/src/operation/put_inbound_dmarc_settings/builders.rs index 2d580aeaabf8..11b056ac19cf 100644 --- a/sdk/workmail/src/operation/put_inbound_dmarc_settings/builders.rs +++ b/sdk/workmail/src/operation/put_inbound_dmarc_settings/builders.rs @@ -20,9 +20,9 @@ impl PutInboundDmarcSettingsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -84,6 +84,22 @@ impl PutInboundDmarcSettingsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::put_inbound_dmarc_settings::PutInboundDmarcSettings, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::put_inbound_dmarc_settings::PutInboundDmarcSettingsError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                The ID of the organization that you are applying the DMARC policy to.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                pub fn organization_id( mut self, diff --git a/sdk/workmail/src/operation/put_mailbox_permissions/builders.rs b/sdk/workmail/src/operation/put_mailbox_permissions/builders.rs index eb0e68132b04..2eb7a1f0f51f 100644 --- a/sdk/workmail/src/operation/put_mailbox_permissions/builders.rs +++ b/sdk/workmail/src/operation/put_mailbox_permissions/builders.rs @@ -19,9 +19,9 @@ impl PutMailboxPermissionsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl PutMailboxPermissionsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::put_mailbox_permissions::PutMailboxPermissions, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::put_mailbox_permissions::PutMailboxPermissionsError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                The identifier of the organization under which the user, group, or resource exists.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                pub fn organization_id( mut self, diff --git a/sdk/workmail/src/operation/put_mobile_device_access_override/builders.rs b/sdk/workmail/src/operation/put_mobile_device_access_override/builders.rs index d306a0f3fcc9..d9d5128654dc 100644 --- a/sdk/workmail/src/operation/put_mobile_device_access_override/builders.rs +++ b/sdk/workmail/src/operation/put_mobile_device_access_override/builders.rs @@ -19,9 +19,9 @@ impl PutMobileDeviceAccessOverrideFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl PutMobileDeviceAccessOverrideFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::put_mobile_device_access_override::PutMobileDeviceAccessOverride, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::put_mobile_device_access_override::PutMobileDeviceAccessOverrideError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                Identifies the WorkMail organization for which you create the override.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                pub fn organization_id( mut self, diff --git a/sdk/workmail/src/operation/put_retention_policy/builders.rs b/sdk/workmail/src/operation/put_retention_policy/builders.rs index cccc74ea8883..b7f86a803877 100644 --- a/sdk/workmail/src/operation/put_retention_policy/builders.rs +++ b/sdk/workmail/src/operation/put_retention_policy/builders.rs @@ -19,9 +19,9 @@ impl PutRetentionPolicyFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl PutRetentionPolicyFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::put_retention_policy::PutRetentionPolicy, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::put_retention_policy::PutRetentionPolicyError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                The organization ID.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                pub fn organization_id( mut self, diff --git a/sdk/workmail/src/operation/register_mail_domain/builders.rs b/sdk/workmail/src/operation/register_mail_domain/builders.rs index 8281b2243776..5770b4e29606 100644 --- a/sdk/workmail/src/operation/register_mail_domain/builders.rs +++ b/sdk/workmail/src/operation/register_mail_domain/builders.rs @@ -19,9 +19,9 @@ impl RegisterMailDomainFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl RegisterMailDomainFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::register_mail_domain::RegisterMailDomain, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::register_mail_domain::RegisterMailDomainError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                Idempotency token used when retrying requests.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                pub fn client_token(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.client_token(input.into()); diff --git a/sdk/workmail/src/operation/register_to_work_mail/builders.rs b/sdk/workmail/src/operation/register_to_work_mail/builders.rs index 640eb6bc21a2..19b668143844 100644 --- a/sdk/workmail/src/operation/register_to_work_mail/builders.rs +++ b/sdk/workmail/src/operation/register_to_work_mail/builders.rs @@ -20,9 +20,9 @@ impl RegisterToWorkMailFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -84,6 +84,22 @@ impl RegisterToWorkMailFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::register_to_work_mail::RegisterToWorkMail, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::register_to_work_mail::RegisterToWorkMailError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                The identifier for the organization under which the user, group, or resource exists.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                pub fn organization_id( mut self, diff --git a/sdk/workmail/src/operation/reset_password/builders.rs b/sdk/workmail/src/operation/reset_password/builders.rs index fcfe6dcb2000..9097e122186d 100644 --- a/sdk/workmail/src/operation/reset_password/builders.rs +++ b/sdk/workmail/src/operation/reset_password/builders.rs @@ -19,9 +19,9 @@ impl ResetPasswordFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl ResetPasswordFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::reset_password::ResetPassword, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                The identifier of the organization that contains the user for which the password is reset.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                pub fn organization_id( mut self, diff --git a/sdk/workmail/src/operation/start_mailbox_export_job/builders.rs b/sdk/workmail/src/operation/start_mailbox_export_job/builders.rs index c1fd19f20cbb..23d5df45f92e 100644 --- a/sdk/workmail/src/operation/start_mailbox_export_job/builders.rs +++ b/sdk/workmail/src/operation/start_mailbox_export_job/builders.rs @@ -19,9 +19,9 @@ impl StartMailboxExportJobFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl StartMailboxExportJobFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::start_mailbox_export_job::StartMailboxExportJob, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::start_mailbox_export_job::StartMailboxExportJobError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                The idempotency token for the client request.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                pub fn client_token(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.client_token(input.into()); diff --git a/sdk/workmail/src/operation/tag_resource/builders.rs b/sdk/workmail/src/operation/tag_resource/builders.rs index 698e7840e23d..baf49747079f 100644 --- a/sdk/workmail/src/operation/tag_resource/builders.rs +++ b/sdk/workmail/src/operation/tag_resource/builders.rs @@ -19,9 +19,9 @@ impl TagResourceFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl TagResourceFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::tag_resource::TagResource, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                The resource ARN.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                pub fn resource_arn(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.resource_arn(input.into()); diff --git a/sdk/workmail/src/operation/test_availability_configuration/builders.rs b/sdk/workmail/src/operation/test_availability_configuration/builders.rs index 6b1b19e648fd..438089a80143 100644 --- a/sdk/workmail/src/operation/test_availability_configuration/builders.rs +++ b/sdk/workmail/src/operation/test_availability_configuration/builders.rs @@ -21,9 +21,9 @@ impl TestAvailabilityConfigurationFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -85,6 +85,22 @@ impl TestAvailabilityConfigurationFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::test_availability_configuration::TestAvailabilityConfiguration, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::test_availability_configuration::TestAvailabilityConfigurationError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                The WorkMail organization where the availability provider will be tested.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                pub fn organization_id( mut self, diff --git a/sdk/workmail/src/operation/untag_resource/builders.rs b/sdk/workmail/src/operation/untag_resource/builders.rs index 44279b3c0287..e2860f258487 100644 --- a/sdk/workmail/src/operation/untag_resource/builders.rs +++ b/sdk/workmail/src/operation/untag_resource/builders.rs @@ -19,9 +19,9 @@ impl UntagResourceFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl UntagResourceFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::untag_resource::UntagResource, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                The resource ARN.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                pub fn resource_arn(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.resource_arn(input.into()); diff --git a/sdk/workmail/src/operation/update_availability_configuration/builders.rs b/sdk/workmail/src/operation/update_availability_configuration/builders.rs index 8151c244c036..526240cbfad4 100644 --- a/sdk/workmail/src/operation/update_availability_configuration/builders.rs +++ b/sdk/workmail/src/operation/update_availability_configuration/builders.rs @@ -19,9 +19,9 @@ impl UpdateAvailabilityConfigurationFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize(self) -> ::std::result::Result< + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware(self) -> ::std::result::Result< crate::client::customize::CustomizableOperation, ::aws_smithy_http::result::SdkError >{ @@ -64,6 +64,15 @@ impl UpdateAvailabilityConfigurationFluentBuilder { { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize(self) -> ::std::result::Result< + crate::client::customize::CustomizableOperation, + ::aws_smithy_http::result::SdkError + >{ + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                The WorkMail organization for which the AvailabilityConfiguration will be updated.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                pub fn organization_id( mut self, diff --git a/sdk/workmail/src/operation/update_default_mail_domain/builders.rs b/sdk/workmail/src/operation/update_default_mail_domain/builders.rs index 9a4aa470286e..681ef7f95385 100644 --- a/sdk/workmail/src/operation/update_default_mail_domain/builders.rs +++ b/sdk/workmail/src/operation/update_default_mail_domain/builders.rs @@ -20,9 +20,9 @@ impl UpdateDefaultMailDomainFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -84,6 +84,22 @@ impl UpdateDefaultMailDomainFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::update_default_mail_domain::UpdateDefaultMailDomain, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::update_default_mail_domain::UpdateDefaultMailDomainError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                The WorkMail organization for which to list domains.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                pub fn organization_id( mut self, diff --git a/sdk/workmail/src/operation/update_impersonation_role/builders.rs b/sdk/workmail/src/operation/update_impersonation_role/builders.rs index 593c2fba8b99..b3de3b64ac2f 100644 --- a/sdk/workmail/src/operation/update_impersonation_role/builders.rs +++ b/sdk/workmail/src/operation/update_impersonation_role/builders.rs @@ -20,9 +20,9 @@ impl UpdateImpersonationRoleFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -84,6 +84,22 @@ impl UpdateImpersonationRoleFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::update_impersonation_role::UpdateImpersonationRole, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::update_impersonation_role::UpdateImpersonationRoleError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                The WorkMail organization that contains the impersonation role to update.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                pub fn organization_id( mut self, diff --git a/sdk/workmail/src/operation/update_mailbox_quota/builders.rs b/sdk/workmail/src/operation/update_mailbox_quota/builders.rs index 3d3bf1047fb6..f7367f2aee5a 100644 --- a/sdk/workmail/src/operation/update_mailbox_quota/builders.rs +++ b/sdk/workmail/src/operation/update_mailbox_quota/builders.rs @@ -19,9 +19,9 @@ impl UpdateMailboxQuotaFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl UpdateMailboxQuotaFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::update_mailbox_quota::UpdateMailboxQuota, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::update_mailbox_quota::UpdateMailboxQuotaError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                The identifier for the organization that contains the user for whom to update the mailbox quota.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                pub fn organization_id( mut self, diff --git a/sdk/workmail/src/operation/update_mobile_device_access_rule/builders.rs b/sdk/workmail/src/operation/update_mobile_device_access_rule/builders.rs index 87342e205222..df16fb39085d 100644 --- a/sdk/workmail/src/operation/update_mobile_device_access_rule/builders.rs +++ b/sdk/workmail/src/operation/update_mobile_device_access_rule/builders.rs @@ -19,9 +19,9 @@ impl UpdateMobileDeviceAccessRuleFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl UpdateMobileDeviceAccessRuleFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::update_mobile_device_access_rule::UpdateMobileDeviceAccessRule, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::update_mobile_device_access_rule::UpdateMobileDeviceAccessRuleError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                The WorkMail organization under which the rule will be updated.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                pub fn organization_id( mut self, diff --git a/sdk/workmail/src/operation/update_primary_email_address/builders.rs b/sdk/workmail/src/operation/update_primary_email_address/builders.rs index d1f963356a21..4fc423663a97 100644 --- a/sdk/workmail/src/operation/update_primary_email_address/builders.rs +++ b/sdk/workmail/src/operation/update_primary_email_address/builders.rs @@ -19,9 +19,9 @@ impl UpdatePrimaryEmailAddressFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl UpdatePrimaryEmailAddressFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::update_primary_email_address::UpdatePrimaryEmailAddress, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::update_primary_email_address::UpdatePrimaryEmailAddressError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                The organization that contains the user, group, or resource to update.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                pub fn organization_id( mut self, diff --git a/sdk/workmail/src/operation/update_resource/builders.rs b/sdk/workmail/src/operation/update_resource/builders.rs index 1e404c8ec890..8b3ef8674dc1 100644 --- a/sdk/workmail/src/operation/update_resource/builders.rs +++ b/sdk/workmail/src/operation/update_resource/builders.rs @@ -19,9 +19,9 @@ impl UpdateResourceFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl UpdateResourceFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::update_resource::UpdateResource, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                The identifier associated with the organization for which the resource is updated.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                pub fn organization_id( mut self, diff --git a/sdk/workmailmessageflow/src/operation/get_raw_message_content/builders.rs b/sdk/workmailmessageflow/src/operation/get_raw_message_content/builders.rs index a2821dfd9f99..a2ea12bad4bf 100644 --- a/sdk/workmailmessageflow/src/operation/get_raw_message_content/builders.rs +++ b/sdk/workmailmessageflow/src/operation/get_raw_message_content/builders.rs @@ -19,9 +19,9 @@ impl GetRawMessageContentFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl GetRawMessageContentFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::get_raw_message_content::GetRawMessageContent, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::get_raw_message_content::GetRawMessageContentError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                The identifier of the email message to retrieve.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                pub fn message_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.message_id(input.into()); diff --git a/sdk/workmailmessageflow/src/operation/put_raw_message_content/builders.rs b/sdk/workmailmessageflow/src/operation/put_raw_message_content/builders.rs index 0c34c75fb82a..1335353ce928 100644 --- a/sdk/workmailmessageflow/src/operation/put_raw_message_content/builders.rs +++ b/sdk/workmailmessageflow/src/operation/put_raw_message_content/builders.rs @@ -22,9 +22,9 @@ impl PutRawMessageContentFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -86,6 +86,22 @@ impl PutRawMessageContentFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::put_raw_message_content::PutRawMessageContent, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::put_raw_message_content::PutRawMessageContentError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                The identifier of the email message being updated.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                pub fn message_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.message_id(input.into()); diff --git a/sdk/workspaces/src/operation/associate_connection_alias/builders.rs b/sdk/workspaces/src/operation/associate_connection_alias/builders.rs index ca09397b32d1..1ddf3fe7f54d 100644 --- a/sdk/workspaces/src/operation/associate_connection_alias/builders.rs +++ b/sdk/workspaces/src/operation/associate_connection_alias/builders.rs @@ -21,9 +21,9 @@ impl AssociateConnectionAliasFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -85,6 +85,22 @@ impl AssociateConnectionAliasFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::associate_connection_alias::AssociateConnectionAlias, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::associate_connection_alias::AssociateConnectionAliasError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                The identifier of the connection alias.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                pub fn alias_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.alias_id(input.into()); diff --git a/sdk/workspaces/src/operation/associate_ip_groups/builders.rs b/sdk/workspaces/src/operation/associate_ip_groups/builders.rs index 86784bda6cc0..a98c404021ca 100644 --- a/sdk/workspaces/src/operation/associate_ip_groups/builders.rs +++ b/sdk/workspaces/src/operation/associate_ip_groups/builders.rs @@ -19,9 +19,9 @@ impl AssociateIpGroupsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl AssociateIpGroupsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::associate_ip_groups::AssociateIpGroups, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::associate_ip_groups::AssociateIpGroupsError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                The identifier of the directory.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                pub fn directory_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.directory_id(input.into()); diff --git a/sdk/workspaces/src/operation/authorize_ip_rules/builders.rs b/sdk/workspaces/src/operation/authorize_ip_rules/builders.rs index d2383b7ccade..4dfc1d89d44e 100644 --- a/sdk/workspaces/src/operation/authorize_ip_rules/builders.rs +++ b/sdk/workspaces/src/operation/authorize_ip_rules/builders.rs @@ -20,9 +20,9 @@ impl AuthorizeIpRulesFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -84,6 +84,22 @@ impl AuthorizeIpRulesFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::authorize_ip_rules::AuthorizeIpRules, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::authorize_ip_rules::AuthorizeIpRulesError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                The identifier of the group.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                pub fn group_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.group_id(input.into()); diff --git a/sdk/workspaces/src/operation/copy_workspace_image/builders.rs b/sdk/workspaces/src/operation/copy_workspace_image/builders.rs index 93b71ddf3600..d529a64b99ce 100644 --- a/sdk/workspaces/src/operation/copy_workspace_image/builders.rs +++ b/sdk/workspaces/src/operation/copy_workspace_image/builders.rs @@ -23,9 +23,9 @@ impl CopyWorkspaceImageFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -87,6 +87,22 @@ impl CopyWorkspaceImageFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::copy_workspace_image::CopyWorkspaceImage, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::copy_workspace_image::CopyWorkspaceImageError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                The name of the image.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                pub fn name(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.name(input.into()); diff --git a/sdk/workspaces/src/operation/create_connect_client_add_in/builders.rs b/sdk/workspaces/src/operation/create_connect_client_add_in/builders.rs index 3e2f7efed50f..a78355f22ceb 100644 --- a/sdk/workspaces/src/operation/create_connect_client_add_in/builders.rs +++ b/sdk/workspaces/src/operation/create_connect_client_add_in/builders.rs @@ -20,9 +20,9 @@ impl CreateConnectClientAddInFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -84,6 +84,22 @@ impl CreateConnectClientAddInFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::create_connect_client_add_in::CreateConnectClientAddIn, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::create_connect_client_add_in::CreateConnectClientAddInError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                The directory identifier for which to configure the client add-in.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                pub fn resource_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.resource_id(input.into()); diff --git a/sdk/workspaces/src/operation/create_connection_alias/builders.rs b/sdk/workspaces/src/operation/create_connection_alias/builders.rs index f6277a19e542..f09a7833e4e1 100644 --- a/sdk/workspaces/src/operation/create_connection_alias/builders.rs +++ b/sdk/workspaces/src/operation/create_connection_alias/builders.rs @@ -19,9 +19,9 @@ impl CreateConnectionAliasFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl CreateConnectionAliasFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::create_connection_alias::CreateConnectionAlias, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::create_connection_alias::CreateConnectionAliasError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                A connection string in the form of a fully qualified domain name (FQDN), such as www.example.com.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                ///

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                After you create a connection string, it is always associated to your Amazon Web Services account. You cannot recreate the same connection string with a different account, even if you delete all instances of it from the original account. The connection string is globally reserved for your account.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                ///
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                diff --git a/sdk/workspaces/src/operation/create_ip_group/builders.rs b/sdk/workspaces/src/operation/create_ip_group/builders.rs index b63139e48a68..654ca707a4af 100644 --- a/sdk/workspaces/src/operation/create_ip_group/builders.rs +++ b/sdk/workspaces/src/operation/create_ip_group/builders.rs @@ -21,9 +21,9 @@ impl CreateIpGroupFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -79,6 +79,20 @@ impl CreateIpGroupFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::create_ip_group::CreateIpGroup, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                The name of the group.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                pub fn group_name(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.group_name(input.into()); diff --git a/sdk/workspaces/src/operation/create_standby_workspaces/builders.rs b/sdk/workspaces/src/operation/create_standby_workspaces/builders.rs index 3ff06e91d6aa..a6091f9fb1ed 100644 --- a/sdk/workspaces/src/operation/create_standby_workspaces/builders.rs +++ b/sdk/workspaces/src/operation/create_standby_workspaces/builders.rs @@ -20,9 +20,9 @@ impl CreateStandbyWorkspacesFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -84,6 +84,22 @@ impl CreateStandbyWorkspacesFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::create_standby_workspaces::CreateStandbyWorkspaces, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::create_standby_workspaces::CreateStandbyWorkspacesError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                The Region of the primary WorkSpace.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                pub fn primary_region( mut self, diff --git a/sdk/workspaces/src/operation/create_tags/builders.rs b/sdk/workspaces/src/operation/create_tags/builders.rs index cadb097d92bb..616bc6116475 100644 --- a/sdk/workspaces/src/operation/create_tags/builders.rs +++ b/sdk/workspaces/src/operation/create_tags/builders.rs @@ -19,9 +19,9 @@ impl CreateTagsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl CreateTagsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::create_tags::CreateTags, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                The identifier of the WorkSpaces resource. The supported resource types are WorkSpaces, registered directories, images, custom bundles, IP access control groups, and connection aliases.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                pub fn resource_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.resource_id(input.into()); diff --git a/sdk/workspaces/src/operation/create_updated_workspace_image/builders.rs b/sdk/workspaces/src/operation/create_updated_workspace_image/builders.rs index 71b9704dc358..6a5ed6465769 100644 --- a/sdk/workspaces/src/operation/create_updated_workspace_image/builders.rs +++ b/sdk/workspaces/src/operation/create_updated_workspace_image/builders.rs @@ -26,9 +26,9 @@ impl CreateUpdatedWorkspaceImageFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -90,6 +90,22 @@ impl CreateUpdatedWorkspaceImageFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::create_updated_workspace_image::CreateUpdatedWorkspaceImage, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::create_updated_workspace_image::CreateUpdatedWorkspaceImageError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                The name of the new updated WorkSpace image.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                pub fn name(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.name(input.into()); diff --git a/sdk/workspaces/src/operation/create_workspace_bundle/builders.rs b/sdk/workspaces/src/operation/create_workspace_bundle/builders.rs index 3ba6ac312dff..043b92a27635 100644 --- a/sdk/workspaces/src/operation/create_workspace_bundle/builders.rs +++ b/sdk/workspaces/src/operation/create_workspace_bundle/builders.rs @@ -19,9 +19,9 @@ impl CreateWorkspaceBundleFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl CreateWorkspaceBundleFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::create_workspace_bundle::CreateWorkspaceBundle, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::create_workspace_bundle::CreateWorkspaceBundleError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                The name of the bundle.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                pub fn bundle_name(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.bundle_name(input.into()); diff --git a/sdk/workspaces/src/operation/create_workspace_image/builders.rs b/sdk/workspaces/src/operation/create_workspace_image/builders.rs index 4441a9f68c71..260b50314590 100644 --- a/sdk/workspaces/src/operation/create_workspace_image/builders.rs +++ b/sdk/workspaces/src/operation/create_workspace_image/builders.rs @@ -19,9 +19,9 @@ impl CreateWorkspaceImageFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl CreateWorkspaceImageFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::create_workspace_image::CreateWorkspaceImage, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::create_workspace_image::CreateWorkspaceImageError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                The name of the new WorkSpace image.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                pub fn name(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.name(input.into()); diff --git a/sdk/workspaces/src/operation/create_workspaces/builders.rs b/sdk/workspaces/src/operation/create_workspaces/builders.rs index 2bd21d7a35d8..097a321b8bca 100644 --- a/sdk/workspaces/src/operation/create_workspaces/builders.rs +++ b/sdk/workspaces/src/operation/create_workspaces/builders.rs @@ -22,9 +22,9 @@ impl CreateWorkspacesFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -86,6 +86,22 @@ impl CreateWorkspacesFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::create_workspaces::CreateWorkspaces, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::create_workspaces::CreateWorkspacesError, + >, + > { + self.customize_middleware().await + } /// Appends an item to `Workspaces`. /// /// To override the contents of this collection use [`set_workspaces`](Self::set_workspaces). diff --git a/sdk/workspaces/src/operation/delete_client_branding/builders.rs b/sdk/workspaces/src/operation/delete_client_branding/builders.rs index 1a6551a406d4..8d56c9259110 100644 --- a/sdk/workspaces/src/operation/delete_client_branding/builders.rs +++ b/sdk/workspaces/src/operation/delete_client_branding/builders.rs @@ -20,9 +20,9 @@ impl DeleteClientBrandingFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -84,6 +84,22 @@ impl DeleteClientBrandingFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::delete_client_branding::DeleteClientBranding, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::delete_client_branding::DeleteClientBrandingError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                The directory identifier of the WorkSpace for which you want to delete client branding.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                pub fn resource_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.resource_id(input.into()); diff --git a/sdk/workspaces/src/operation/delete_connect_client_add_in/builders.rs b/sdk/workspaces/src/operation/delete_connect_client_add_in/builders.rs index a828d74788ed..fd80a1b39dc8 100644 --- a/sdk/workspaces/src/operation/delete_connect_client_add_in/builders.rs +++ b/sdk/workspaces/src/operation/delete_connect_client_add_in/builders.rs @@ -19,9 +19,9 @@ impl DeleteConnectClientAddInFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl DeleteConnectClientAddInFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::delete_connect_client_add_in::DeleteConnectClientAddIn, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::delete_connect_client_add_in::DeleteConnectClientAddInError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                The identifier of the client add-in to delete.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                pub fn add_in_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.add_in_id(input.into()); diff --git a/sdk/workspaces/src/operation/delete_connection_alias/builders.rs b/sdk/workspaces/src/operation/delete_connection_alias/builders.rs index afc0589c3d47..59a0b1ba63df 100644 --- a/sdk/workspaces/src/operation/delete_connection_alias/builders.rs +++ b/sdk/workspaces/src/operation/delete_connection_alias/builders.rs @@ -23,9 +23,9 @@ impl DeleteConnectionAliasFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -87,6 +87,22 @@ impl DeleteConnectionAliasFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::delete_connection_alias::DeleteConnectionAlias, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::delete_connection_alias::DeleteConnectionAliasError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                The identifier of the connection alias to delete.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                pub fn alias_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.alias_id(input.into()); diff --git a/sdk/workspaces/src/operation/delete_ip_group/builders.rs b/sdk/workspaces/src/operation/delete_ip_group/builders.rs index 1f6176935bab..699cc54e860b 100644 --- a/sdk/workspaces/src/operation/delete_ip_group/builders.rs +++ b/sdk/workspaces/src/operation/delete_ip_group/builders.rs @@ -20,9 +20,9 @@ impl DeleteIpGroupFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -78,6 +78,20 @@ impl DeleteIpGroupFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::delete_ip_group::DeleteIpGroup, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                The identifier of the IP access control group.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                pub fn group_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.group_id(input.into()); diff --git a/sdk/workspaces/src/operation/delete_tags/builders.rs b/sdk/workspaces/src/operation/delete_tags/builders.rs index 8adae4bcdf3e..0f25d53c608b 100644 --- a/sdk/workspaces/src/operation/delete_tags/builders.rs +++ b/sdk/workspaces/src/operation/delete_tags/builders.rs @@ -19,9 +19,9 @@ impl DeleteTagsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl DeleteTagsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::delete_tags::DeleteTags, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                The identifier of the WorkSpaces resource. The supported resource types are WorkSpaces, registered directories, images, custom bundles, IP access control groups, and connection aliases.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                pub fn resource_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.resource_id(input.into()); diff --git a/sdk/workspaces/src/operation/delete_workspace_bundle/builders.rs b/sdk/workspaces/src/operation/delete_workspace_bundle/builders.rs index 0852b63cd85d..3a841f480139 100644 --- a/sdk/workspaces/src/operation/delete_workspace_bundle/builders.rs +++ b/sdk/workspaces/src/operation/delete_workspace_bundle/builders.rs @@ -19,9 +19,9 @@ impl DeleteWorkspaceBundleFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl DeleteWorkspaceBundleFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::delete_workspace_bundle::DeleteWorkspaceBundle, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::delete_workspace_bundle::DeleteWorkspaceBundleError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                The identifier of the bundle.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                pub fn bundle_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.bundle_id(input.into()); diff --git a/sdk/workspaces/src/operation/delete_workspace_image/builders.rs b/sdk/workspaces/src/operation/delete_workspace_image/builders.rs index 32b1df53746b..f4f678764bfd 100644 --- a/sdk/workspaces/src/operation/delete_workspace_image/builders.rs +++ b/sdk/workspaces/src/operation/delete_workspace_image/builders.rs @@ -19,9 +19,9 @@ impl DeleteWorkspaceImageFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl DeleteWorkspaceImageFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::delete_workspace_image::DeleteWorkspaceImage, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::delete_workspace_image::DeleteWorkspaceImageError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                The identifier of the image.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                pub fn image_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.image_id(input.into()); diff --git a/sdk/workspaces/src/operation/deregister_workspace_directory/builders.rs b/sdk/workspaces/src/operation/deregister_workspace_directory/builders.rs index a6d6ff343b0b..b340f90db1a7 100644 --- a/sdk/workspaces/src/operation/deregister_workspace_directory/builders.rs +++ b/sdk/workspaces/src/operation/deregister_workspace_directory/builders.rs @@ -22,9 +22,9 @@ impl DeregisterWorkspaceDirectoryFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -86,6 +86,22 @@ impl DeregisterWorkspaceDirectoryFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::deregister_workspace_directory::DeregisterWorkspaceDirectory, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::deregister_workspace_directory::DeregisterWorkspaceDirectoryError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                The identifier of the directory. If any WorkSpaces are registered to this directory, you must remove them before you deregister the directory, or you will receive an OperationNotSupportedException error.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                pub fn directory_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.directory_id(input.into()); diff --git a/sdk/workspaces/src/operation/describe_account/builders.rs b/sdk/workspaces/src/operation/describe_account/builders.rs index c205d0a34d8b..05136e73077d 100644 --- a/sdk/workspaces/src/operation/describe_account/builders.rs +++ b/sdk/workspaces/src/operation/describe_account/builders.rs @@ -19,9 +19,9 @@ impl DescribeAccountFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,4 +83,20 @@ impl DescribeAccountFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::describe_account::DescribeAccount, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::describe_account::DescribeAccountError, + >, + > { + self.customize_middleware().await + } } diff --git a/sdk/workspaces/src/operation/describe_account_modifications/builders.rs b/sdk/workspaces/src/operation/describe_account_modifications/builders.rs index 70222665c345..11406ccfa82c 100644 --- a/sdk/workspaces/src/operation/describe_account_modifications/builders.rs +++ b/sdk/workspaces/src/operation/describe_account_modifications/builders.rs @@ -19,9 +19,9 @@ impl DescribeAccountModificationsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl DescribeAccountModificationsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::describe_account_modifications::DescribeAccountModifications, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::describe_account_modifications::DescribeAccountModificationsError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                If you received a NextToken from a previous call that was paginated, provide this token to receive the next set of results.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                pub fn next_token(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.next_token(input.into()); diff --git a/sdk/workspaces/src/operation/describe_client_branding/builders.rs b/sdk/workspaces/src/operation/describe_client_branding/builders.rs index c9aff27555a4..ed7c0669c86f 100644 --- a/sdk/workspaces/src/operation/describe_client_branding/builders.rs +++ b/sdk/workspaces/src/operation/describe_client_branding/builders.rs @@ -21,9 +21,9 @@ impl DescribeClientBrandingFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -85,6 +85,22 @@ impl DescribeClientBrandingFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::describe_client_branding::DescribeClientBranding, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::describe_client_branding::DescribeClientBrandingError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                The directory identifier of the WorkSpace for which you want to view client branding information.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                pub fn resource_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.resource_id(input.into()); diff --git a/sdk/workspaces/src/operation/describe_client_properties/builders.rs b/sdk/workspaces/src/operation/describe_client_properties/builders.rs index d1c09bcea983..ebd19a75c667 100644 --- a/sdk/workspaces/src/operation/describe_client_properties/builders.rs +++ b/sdk/workspaces/src/operation/describe_client_properties/builders.rs @@ -19,9 +19,9 @@ impl DescribeClientPropertiesFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl DescribeClientPropertiesFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::describe_client_properties::DescribeClientProperties, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::describe_client_properties::DescribeClientPropertiesError, + >, + > { + self.customize_middleware().await + } /// Appends an item to `ResourceIds`. /// /// To override the contents of this collection use [`set_resource_ids`](Self::set_resource_ids). diff --git a/sdk/workspaces/src/operation/describe_connect_client_add_ins/builders.rs b/sdk/workspaces/src/operation/describe_connect_client_add_ins/builders.rs index dbbaa19b36f1..c8d6ca04f287 100644 --- a/sdk/workspaces/src/operation/describe_connect_client_add_ins/builders.rs +++ b/sdk/workspaces/src/operation/describe_connect_client_add_ins/builders.rs @@ -19,9 +19,9 @@ impl DescribeConnectClientAddInsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl DescribeConnectClientAddInsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::describe_connect_client_add_ins::DescribeConnectClientAddIns, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::describe_connect_client_add_ins::DescribeConnectClientAddInsError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                The directory identifier for which the client add-in is configured.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                pub fn resource_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.resource_id(input.into()); diff --git a/sdk/workspaces/src/operation/describe_connection_alias_permissions/builders.rs b/sdk/workspaces/src/operation/describe_connection_alias_permissions/builders.rs index 07348e27aad6..a9e99ee49c50 100644 --- a/sdk/workspaces/src/operation/describe_connection_alias_permissions/builders.rs +++ b/sdk/workspaces/src/operation/describe_connection_alias_permissions/builders.rs @@ -19,9 +19,9 @@ impl DescribeConnectionAliasPermissionsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize(self) -> ::std::result::Result< + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware(self) -> ::std::result::Result< crate::client::customize::CustomizableOperation, ::aws_smithy_http::result::SdkError >{ @@ -64,6 +64,15 @@ impl DescribeConnectionAliasPermissionsFluentBuilder { { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize(self) -> ::std::result::Result< + crate::client::customize::CustomizableOperation, + ::aws_smithy_http::result::SdkError + >{ + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                The identifier of the connection alias.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                pub fn alias_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.alias_id(input.into()); diff --git a/sdk/workspaces/src/operation/describe_connection_aliases/builders.rs b/sdk/workspaces/src/operation/describe_connection_aliases/builders.rs index d3220575554a..920b80af689e 100644 --- a/sdk/workspaces/src/operation/describe_connection_aliases/builders.rs +++ b/sdk/workspaces/src/operation/describe_connection_aliases/builders.rs @@ -19,9 +19,9 @@ impl DescribeConnectionAliasesFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl DescribeConnectionAliasesFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::describe_connection_aliases::DescribeConnectionAliases, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::describe_connection_aliases::DescribeConnectionAliasesError, + >, + > { + self.customize_middleware().await + } /// Appends an item to `AliasIds`. /// /// To override the contents of this collection use [`set_alias_ids`](Self::set_alias_ids). diff --git a/sdk/workspaces/src/operation/describe_ip_groups/builders.rs b/sdk/workspaces/src/operation/describe_ip_groups/builders.rs index 6acb38594455..a6b3f5b50e92 100644 --- a/sdk/workspaces/src/operation/describe_ip_groups/builders.rs +++ b/sdk/workspaces/src/operation/describe_ip_groups/builders.rs @@ -19,9 +19,9 @@ impl DescribeIpGroupsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl DescribeIpGroupsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::describe_ip_groups::DescribeIpGroups, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::describe_ip_groups::DescribeIpGroupsError, + >, + > { + self.customize_middleware().await + } /// Appends an item to `GroupIds`. /// /// To override the contents of this collection use [`set_group_ids`](Self::set_group_ids). diff --git a/sdk/workspaces/src/operation/describe_tags/builders.rs b/sdk/workspaces/src/operation/describe_tags/builders.rs index 67db9b902220..12ba9473b58c 100644 --- a/sdk/workspaces/src/operation/describe_tags/builders.rs +++ b/sdk/workspaces/src/operation/describe_tags/builders.rs @@ -19,9 +19,9 @@ impl DescribeTagsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl DescribeTagsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::describe_tags::DescribeTags, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                The identifier of the WorkSpaces resource. The supported resource types are WorkSpaces, registered directories, images, custom bundles, IP access control groups, and connection aliases.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                pub fn resource_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.resource_id(input.into()); diff --git a/sdk/workspaces/src/operation/describe_workspace_bundles/builders.rs b/sdk/workspaces/src/operation/describe_workspace_bundles/builders.rs index 2684bf1217ac..fdb66e17be10 100644 --- a/sdk/workspaces/src/operation/describe_workspace_bundles/builders.rs +++ b/sdk/workspaces/src/operation/describe_workspace_bundles/builders.rs @@ -20,9 +20,9 @@ impl DescribeWorkspaceBundlesFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -84,6 +84,22 @@ impl DescribeWorkspaceBundlesFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::describe_workspace_bundles::DescribeWorkspaceBundles, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::describe_workspace_bundles::DescribeWorkspaceBundlesError, + >, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::describe_workspace_bundles::paginator::DescribeWorkspaceBundlesPaginator::send) which returns a `Stream`. diff --git a/sdk/workspaces/src/operation/describe_workspace_directories/builders.rs b/sdk/workspaces/src/operation/describe_workspace_directories/builders.rs index 3aeaa9df79c5..0127d15b04d3 100644 --- a/sdk/workspaces/src/operation/describe_workspace_directories/builders.rs +++ b/sdk/workspaces/src/operation/describe_workspace_directories/builders.rs @@ -19,9 +19,9 @@ impl DescribeWorkspaceDirectoriesFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl DescribeWorkspaceDirectoriesFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::describe_workspace_directories::DescribeWorkspaceDirectories, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::describe_workspace_directories::DescribeWorkspaceDirectoriesError, + >, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::describe_workspace_directories::paginator::DescribeWorkspaceDirectoriesPaginator::send) which returns a `Stream`. diff --git a/sdk/workspaces/src/operation/describe_workspace_image_permissions/builders.rs b/sdk/workspaces/src/operation/describe_workspace_image_permissions/builders.rs index 867c00217960..912239678266 100644 --- a/sdk/workspaces/src/operation/describe_workspace_image_permissions/builders.rs +++ b/sdk/workspaces/src/operation/describe_workspace_image_permissions/builders.rs @@ -19,9 +19,9 @@ impl DescribeWorkspaceImagePermissionsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize(self) -> ::std::result::Result< + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware(self) -> ::std::result::Result< crate::client::customize::CustomizableOperation, ::aws_smithy_http::result::SdkError >{ @@ -64,6 +64,15 @@ impl DescribeWorkspaceImagePermissionsFluentBuilder { { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize(self) -> ::std::result::Result< + crate::client::customize::CustomizableOperation, + ::aws_smithy_http::result::SdkError + >{ + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                The identifier of the image.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                pub fn image_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.image_id(input.into()); diff --git a/sdk/workspaces/src/operation/describe_workspace_images/builders.rs b/sdk/workspaces/src/operation/describe_workspace_images/builders.rs index cad90ed95486..d21bb91a9453 100644 --- a/sdk/workspaces/src/operation/describe_workspace_images/builders.rs +++ b/sdk/workspaces/src/operation/describe_workspace_images/builders.rs @@ -20,9 +20,9 @@ impl DescribeWorkspaceImagesFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -84,6 +84,22 @@ impl DescribeWorkspaceImagesFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::describe_workspace_images::DescribeWorkspaceImages, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::describe_workspace_images::DescribeWorkspaceImagesError, + >, + > { + self.customize_middleware().await + } /// Appends an item to `ImageIds`. /// /// To override the contents of this collection use [`set_image_ids`](Self::set_image_ids). diff --git a/sdk/workspaces/src/operation/describe_workspace_snapshots/builders.rs b/sdk/workspaces/src/operation/describe_workspace_snapshots/builders.rs index 69023b5a6d0f..3fe58e5a47f6 100644 --- a/sdk/workspaces/src/operation/describe_workspace_snapshots/builders.rs +++ b/sdk/workspaces/src/operation/describe_workspace_snapshots/builders.rs @@ -19,9 +19,9 @@ impl DescribeWorkspaceSnapshotsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl DescribeWorkspaceSnapshotsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::describe_workspace_snapshots::DescribeWorkspaceSnapshots, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::describe_workspace_snapshots::DescribeWorkspaceSnapshotsError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                The identifier of the WorkSpace.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                pub fn workspace_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.workspace_id(input.into()); diff --git a/sdk/workspaces/src/operation/describe_workspaces/builders.rs b/sdk/workspaces/src/operation/describe_workspaces/builders.rs index 772f8264ca47..51773997b94c 100644 --- a/sdk/workspaces/src/operation/describe_workspaces/builders.rs +++ b/sdk/workspaces/src/operation/describe_workspaces/builders.rs @@ -20,9 +20,9 @@ impl DescribeWorkspacesFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -84,6 +84,22 @@ impl DescribeWorkspacesFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::describe_workspaces::DescribeWorkspaces, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::describe_workspaces::DescribeWorkspacesError, + >, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::describe_workspaces::paginator::DescribeWorkspacesPaginator::send) which returns a `Stream`. diff --git a/sdk/workspaces/src/operation/describe_workspaces_connection_status/builders.rs b/sdk/workspaces/src/operation/describe_workspaces_connection_status/builders.rs index 40ae236465d9..6ce035c5eacb 100644 --- a/sdk/workspaces/src/operation/describe_workspaces_connection_status/builders.rs +++ b/sdk/workspaces/src/operation/describe_workspaces_connection_status/builders.rs @@ -19,9 +19,9 @@ impl DescribeWorkspacesConnectionStatusFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize(self) -> ::std::result::Result< + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware(self) -> ::std::result::Result< crate::client::customize::CustomizableOperation, ::aws_smithy_http::result::SdkError >{ @@ -64,6 +64,15 @@ impl DescribeWorkspacesConnectionStatusFluentBuilder { { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize(self) -> ::std::result::Result< + crate::client::customize::CustomizableOperation, + ::aws_smithy_http::result::SdkError + >{ + self.customize_middleware().await + } /// Appends an item to `WorkspaceIds`. /// /// To override the contents of this collection use [`set_workspace_ids`](Self::set_workspace_ids). diff --git a/sdk/workspaces/src/operation/disassociate_connection_alias/builders.rs b/sdk/workspaces/src/operation/disassociate_connection_alias/builders.rs index 9121019cb3fb..af8075acdeea 100644 --- a/sdk/workspaces/src/operation/disassociate_connection_alias/builders.rs +++ b/sdk/workspaces/src/operation/disassociate_connection_alias/builders.rs @@ -21,9 +21,9 @@ impl DisassociateConnectionAliasFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -85,6 +85,22 @@ impl DisassociateConnectionAliasFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::disassociate_connection_alias::DisassociateConnectionAlias, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::disassociate_connection_alias::DisassociateConnectionAliasError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                The identifier of the connection alias to disassociate.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                pub fn alias_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.alias_id(input.into()); diff --git a/sdk/workspaces/src/operation/disassociate_ip_groups/builders.rs b/sdk/workspaces/src/operation/disassociate_ip_groups/builders.rs index fdd1bdac85bf..a5fb18858d11 100644 --- a/sdk/workspaces/src/operation/disassociate_ip_groups/builders.rs +++ b/sdk/workspaces/src/operation/disassociate_ip_groups/builders.rs @@ -19,9 +19,9 @@ impl DisassociateIpGroupsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl DisassociateIpGroupsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::disassociate_ip_groups::DisassociateIpGroups, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::disassociate_ip_groups::DisassociateIpGroupsError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                The identifier of the directory.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                pub fn directory_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.directory_id(input.into()); diff --git a/sdk/workspaces/src/operation/import_client_branding/builders.rs b/sdk/workspaces/src/operation/import_client_branding/builders.rs index d47ae952d9ff..52c586c49cab 100644 --- a/sdk/workspaces/src/operation/import_client_branding/builders.rs +++ b/sdk/workspaces/src/operation/import_client_branding/builders.rs @@ -27,9 +27,9 @@ impl ImportClientBrandingFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -91,6 +91,22 @@ impl ImportClientBrandingFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::import_client_branding::ImportClientBranding, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::import_client_branding::ImportClientBrandingError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                The directory identifier of the WorkSpace for which you want to import client branding.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                pub fn resource_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.resource_id(input.into()); diff --git a/sdk/workspaces/src/operation/import_workspace_image/builders.rs b/sdk/workspaces/src/operation/import_workspace_image/builders.rs index 96d0f8d3b273..e146747f964f 100644 --- a/sdk/workspaces/src/operation/import_workspace_image/builders.rs +++ b/sdk/workspaces/src/operation/import_workspace_image/builders.rs @@ -19,9 +19,9 @@ impl ImportWorkspaceImageFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl ImportWorkspaceImageFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::import_workspace_image::ImportWorkspaceImage, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::import_workspace_image::ImportWorkspaceImageError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                The identifier of the EC2 image.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                pub fn ec2_image_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.ec2_image_id(input.into()); diff --git a/sdk/workspaces/src/operation/list_available_management_cidr_ranges/builders.rs b/sdk/workspaces/src/operation/list_available_management_cidr_ranges/builders.rs index 525567c1dc97..13750aeae256 100644 --- a/sdk/workspaces/src/operation/list_available_management_cidr_ranges/builders.rs +++ b/sdk/workspaces/src/operation/list_available_management_cidr_ranges/builders.rs @@ -21,9 +21,9 @@ impl ListAvailableManagementCidrRangesFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize(self) -> ::std::result::Result< + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware(self) -> ::std::result::Result< crate::client::customize::CustomizableOperation, ::aws_smithy_http::result::SdkError >{ @@ -66,6 +66,15 @@ impl ListAvailableManagementCidrRangesFluentBuilder { { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize(self) -> ::std::result::Result< + crate::client::customize::CustomizableOperation, + ::aws_smithy_http::result::SdkError + >{ + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                The IP address range to search. Specify an IP address range that is compatible with your network and in CIDR notation (that is, specify the range as an IPv4 CIDR block).

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                pub fn management_cidr_range_constraint( mut self, diff --git a/sdk/workspaces/src/operation/migrate_workspace/builders.rs b/sdk/workspaces/src/operation/migrate_workspace/builders.rs index a55b68bc2f46..a10c09087612 100644 --- a/sdk/workspaces/src/operation/migrate_workspace/builders.rs +++ b/sdk/workspaces/src/operation/migrate_workspace/builders.rs @@ -21,9 +21,9 @@ impl MigrateWorkspaceFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -85,6 +85,22 @@ impl MigrateWorkspaceFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::migrate_workspace::MigrateWorkspace, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::migrate_workspace::MigrateWorkspaceError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                The identifier of the WorkSpace to migrate from.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                pub fn source_workspace_id( mut self, diff --git a/sdk/workspaces/src/operation/modify_account/builders.rs b/sdk/workspaces/src/operation/modify_account/builders.rs index 3c389eeb98a4..e11bc130a835 100644 --- a/sdk/workspaces/src/operation/modify_account/builders.rs +++ b/sdk/workspaces/src/operation/modify_account/builders.rs @@ -19,9 +19,9 @@ impl ModifyAccountFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl ModifyAccountFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::modify_account::ModifyAccount, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                The status of BYOL.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                pub fn dedicated_tenancy_support( mut self, diff --git a/sdk/workspaces/src/operation/modify_certificate_based_auth_properties/builders.rs b/sdk/workspaces/src/operation/modify_certificate_based_auth_properties/builders.rs index c625e8d0ab11..ec0f8424eb7d 100644 --- a/sdk/workspaces/src/operation/modify_certificate_based_auth_properties/builders.rs +++ b/sdk/workspaces/src/operation/modify_certificate_based_auth_properties/builders.rs @@ -19,9 +19,9 @@ impl ModifyCertificateBasedAuthPropertiesFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize(self) -> ::std::result::Result< + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware(self) -> ::std::result::Result< crate::client::customize::CustomizableOperation, ::aws_smithy_http::result::SdkError >{ @@ -64,6 +64,15 @@ impl ModifyCertificateBasedAuthPropertiesFluentBuilder { { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize(self) -> ::std::result::Result< + crate::client::customize::CustomizableOperation, + ::aws_smithy_http::result::SdkError + >{ + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                The resource identifiers, in the form of directory IDs.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                pub fn resource_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.resource_id(input.into()); diff --git a/sdk/workspaces/src/operation/modify_client_properties/builders.rs b/sdk/workspaces/src/operation/modify_client_properties/builders.rs index f9c42dfc58e1..862a8131b811 100644 --- a/sdk/workspaces/src/operation/modify_client_properties/builders.rs +++ b/sdk/workspaces/src/operation/modify_client_properties/builders.rs @@ -19,9 +19,9 @@ impl ModifyClientPropertiesFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl ModifyClientPropertiesFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::modify_client_properties::ModifyClientProperties, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::modify_client_properties::ModifyClientPropertiesError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                The resource identifiers, in the form of directory IDs.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                pub fn resource_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.resource_id(input.into()); diff --git a/sdk/workspaces/src/operation/modify_saml_properties/builders.rs b/sdk/workspaces/src/operation/modify_saml_properties/builders.rs index 62f4f02cd856..86e1fc4845a9 100644 --- a/sdk/workspaces/src/operation/modify_saml_properties/builders.rs +++ b/sdk/workspaces/src/operation/modify_saml_properties/builders.rs @@ -19,9 +19,9 @@ impl ModifySamlPropertiesFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl ModifySamlPropertiesFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::modify_saml_properties::ModifySamlProperties, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::modify_saml_properties::ModifySamlPropertiesError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                The directory identifier for which you want to configure SAML properties.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                pub fn resource_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.resource_id(input.into()); diff --git a/sdk/workspaces/src/operation/modify_selfservice_permissions/builders.rs b/sdk/workspaces/src/operation/modify_selfservice_permissions/builders.rs index dcecdaf16c63..94464f8ccfa8 100644 --- a/sdk/workspaces/src/operation/modify_selfservice_permissions/builders.rs +++ b/sdk/workspaces/src/operation/modify_selfservice_permissions/builders.rs @@ -19,9 +19,9 @@ impl ModifySelfservicePermissionsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl ModifySelfservicePermissionsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::modify_selfservice_permissions::ModifySelfservicePermissions, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::modify_selfservice_permissions::ModifySelfservicePermissionsError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                The identifier of the directory.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                pub fn resource_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.resource_id(input.into()); diff --git a/sdk/workspaces/src/operation/modify_workspace_access_properties/builders.rs b/sdk/workspaces/src/operation/modify_workspace_access_properties/builders.rs index 2791f2c2cbb8..3e30289917db 100644 --- a/sdk/workspaces/src/operation/modify_workspace_access_properties/builders.rs +++ b/sdk/workspaces/src/operation/modify_workspace_access_properties/builders.rs @@ -19,9 +19,9 @@ impl ModifyWorkspaceAccessPropertiesFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize(self) -> ::std::result::Result< + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware(self) -> ::std::result::Result< crate::client::customize::CustomizableOperation, ::aws_smithy_http::result::SdkError >{ @@ -64,6 +64,15 @@ impl ModifyWorkspaceAccessPropertiesFluentBuilder { { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize(self) -> ::std::result::Result< + crate::client::customize::CustomizableOperation, + ::aws_smithy_http::result::SdkError + >{ + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                The identifier of the directory.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                pub fn resource_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.resource_id(input.into()); diff --git a/sdk/workspaces/src/operation/modify_workspace_creation_properties/builders.rs b/sdk/workspaces/src/operation/modify_workspace_creation_properties/builders.rs index 0ae3e5ecda53..46868230ef84 100644 --- a/sdk/workspaces/src/operation/modify_workspace_creation_properties/builders.rs +++ b/sdk/workspaces/src/operation/modify_workspace_creation_properties/builders.rs @@ -19,9 +19,9 @@ impl ModifyWorkspaceCreationPropertiesFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize(self) -> ::std::result::Result< + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware(self) -> ::std::result::Result< crate::client::customize::CustomizableOperation, ::aws_smithy_http::result::SdkError >{ @@ -64,6 +64,15 @@ impl ModifyWorkspaceCreationPropertiesFluentBuilder { { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize(self) -> ::std::result::Result< + crate::client::customize::CustomizableOperation, + ::aws_smithy_http::result::SdkError + >{ + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                The identifier of the directory.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                pub fn resource_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.resource_id(input.into()); diff --git a/sdk/workspaces/src/operation/modify_workspace_properties/builders.rs b/sdk/workspaces/src/operation/modify_workspace_properties/builders.rs index 993d493ac587..2e36946794ca 100644 --- a/sdk/workspaces/src/operation/modify_workspace_properties/builders.rs +++ b/sdk/workspaces/src/operation/modify_workspace_properties/builders.rs @@ -21,9 +21,9 @@ impl ModifyWorkspacePropertiesFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -85,6 +85,22 @@ impl ModifyWorkspacePropertiesFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::modify_workspace_properties::ModifyWorkspaceProperties, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::modify_workspace_properties::ModifyWorkspacePropertiesError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                The identifier of the WorkSpace.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                pub fn workspace_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.workspace_id(input.into()); diff --git a/sdk/workspaces/src/operation/modify_workspace_state/builders.rs b/sdk/workspaces/src/operation/modify_workspace_state/builders.rs index c47cf840122e..ba6bb3a38ca6 100644 --- a/sdk/workspaces/src/operation/modify_workspace_state/builders.rs +++ b/sdk/workspaces/src/operation/modify_workspace_state/builders.rs @@ -20,9 +20,9 @@ impl ModifyWorkspaceStateFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -84,6 +84,22 @@ impl ModifyWorkspaceStateFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::modify_workspace_state::ModifyWorkspaceState, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::modify_workspace_state::ModifyWorkspaceStateError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                The identifier of the WorkSpace.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                pub fn workspace_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.workspace_id(input.into()); diff --git a/sdk/workspaces/src/operation/reboot_workspaces/builders.rs b/sdk/workspaces/src/operation/reboot_workspaces/builders.rs index 22f9bc69244a..52df516cc836 100644 --- a/sdk/workspaces/src/operation/reboot_workspaces/builders.rs +++ b/sdk/workspaces/src/operation/reboot_workspaces/builders.rs @@ -21,9 +21,9 @@ impl RebootWorkspacesFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -85,6 +85,22 @@ impl RebootWorkspacesFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::reboot_workspaces::RebootWorkspaces, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::reboot_workspaces::RebootWorkspacesError, + >, + > { + self.customize_middleware().await + } /// Appends an item to `RebootWorkspaceRequests`. /// /// To override the contents of this collection use [`set_reboot_workspace_requests`](Self::set_reboot_workspace_requests). diff --git a/sdk/workspaces/src/operation/rebuild_workspaces/builders.rs b/sdk/workspaces/src/operation/rebuild_workspaces/builders.rs index 6f70aef64ddb..2a9511c29f44 100644 --- a/sdk/workspaces/src/operation/rebuild_workspaces/builders.rs +++ b/sdk/workspaces/src/operation/rebuild_workspaces/builders.rs @@ -22,9 +22,9 @@ impl RebuildWorkspacesFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -86,6 +86,22 @@ impl RebuildWorkspacesFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::rebuild_workspaces::RebuildWorkspaces, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::rebuild_workspaces::RebuildWorkspacesError, + >, + > { + self.customize_middleware().await + } /// Appends an item to `RebuildWorkspaceRequests`. /// /// To override the contents of this collection use [`set_rebuild_workspace_requests`](Self::set_rebuild_workspace_requests). diff --git a/sdk/workspaces/src/operation/register_workspace_directory/builders.rs b/sdk/workspaces/src/operation/register_workspace_directory/builders.rs index 6becfa8f3e47..b65e3fc627bd 100644 --- a/sdk/workspaces/src/operation/register_workspace_directory/builders.rs +++ b/sdk/workspaces/src/operation/register_workspace_directory/builders.rs @@ -19,9 +19,9 @@ impl RegisterWorkspaceDirectoryFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl RegisterWorkspaceDirectoryFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::register_workspace_directory::RegisterWorkspaceDirectory, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::register_workspace_directory::RegisterWorkspaceDirectoryError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                The identifier of the directory. You cannot register a directory if it does not have a status of Active. If the directory does not have a status of Active, you will receive an InvalidResourceStateException error. If you have already registered the maximum number of directories that you can register with Amazon WorkSpaces, you will receive a ResourceLimitExceededException error. Deregister directories that you are not using for WorkSpaces, and try again.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                pub fn directory_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.directory_id(input.into()); diff --git a/sdk/workspaces/src/operation/restore_workspace/builders.rs b/sdk/workspaces/src/operation/restore_workspace/builders.rs index 3a17d949bfcc..268585376791 100644 --- a/sdk/workspaces/src/operation/restore_workspace/builders.rs +++ b/sdk/workspaces/src/operation/restore_workspace/builders.rs @@ -22,9 +22,9 @@ impl RestoreWorkspaceFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -86,6 +86,22 @@ impl RestoreWorkspaceFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::restore_workspace::RestoreWorkspace, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::restore_workspace::RestoreWorkspaceError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                The identifier of the WorkSpace.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                pub fn workspace_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.workspace_id(input.into()); diff --git a/sdk/workspaces/src/operation/revoke_ip_rules/builders.rs b/sdk/workspaces/src/operation/revoke_ip_rules/builders.rs index a37953911706..3c392ffa3fa2 100644 --- a/sdk/workspaces/src/operation/revoke_ip_rules/builders.rs +++ b/sdk/workspaces/src/operation/revoke_ip_rules/builders.rs @@ -19,9 +19,9 @@ impl RevokeIpRulesFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl RevokeIpRulesFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::revoke_ip_rules::RevokeIpRules, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                The identifier of the group.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                pub fn group_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.group_id(input.into()); diff --git a/sdk/workspaces/src/operation/start_workspaces/builders.rs b/sdk/workspaces/src/operation/start_workspaces/builders.rs index 0516f2a116ce..5e764a9735e6 100644 --- a/sdk/workspaces/src/operation/start_workspaces/builders.rs +++ b/sdk/workspaces/src/operation/start_workspaces/builders.rs @@ -20,9 +20,9 @@ impl StartWorkspacesFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -84,6 +84,22 @@ impl StartWorkspacesFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::start_workspaces::StartWorkspaces, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::start_workspaces::StartWorkspacesError, + >, + > { + self.customize_middleware().await + } /// Appends an item to `StartWorkspaceRequests`. /// /// To override the contents of this collection use [`set_start_workspace_requests`](Self::set_start_workspace_requests). diff --git a/sdk/workspaces/src/operation/stop_workspaces/builders.rs b/sdk/workspaces/src/operation/stop_workspaces/builders.rs index a0678c135326..4d3558425221 100644 --- a/sdk/workspaces/src/operation/stop_workspaces/builders.rs +++ b/sdk/workspaces/src/operation/stop_workspaces/builders.rs @@ -20,9 +20,9 @@ impl StopWorkspacesFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -78,6 +78,20 @@ impl StopWorkspacesFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::stop_workspaces::StopWorkspaces, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } /// Appends an item to `StopWorkspaceRequests`. /// /// To override the contents of this collection use [`set_stop_workspace_requests`](Self::set_stop_workspace_requests). diff --git a/sdk/workspaces/src/operation/terminate_workspaces/builders.rs b/sdk/workspaces/src/operation/terminate_workspaces/builders.rs index f8dd7a3c53d0..4d0ba34f2686 100644 --- a/sdk/workspaces/src/operation/terminate_workspaces/builders.rs +++ b/sdk/workspaces/src/operation/terminate_workspaces/builders.rs @@ -26,9 +26,9 @@ impl TerminateWorkspacesFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -90,6 +90,22 @@ impl TerminateWorkspacesFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::terminate_workspaces::TerminateWorkspaces, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::terminate_workspaces::TerminateWorkspacesError, + >, + > { + self.customize_middleware().await + } /// Appends an item to `TerminateWorkspaceRequests`. /// /// To override the contents of this collection use [`set_terminate_workspace_requests`](Self::set_terminate_workspace_requests). diff --git a/sdk/workspaces/src/operation/update_connect_client_add_in/builders.rs b/sdk/workspaces/src/operation/update_connect_client_add_in/builders.rs index e9e1ff530587..1c2eb56fb7c8 100644 --- a/sdk/workspaces/src/operation/update_connect_client_add_in/builders.rs +++ b/sdk/workspaces/src/operation/update_connect_client_add_in/builders.rs @@ -19,9 +19,9 @@ impl UpdateConnectClientAddInFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl UpdateConnectClientAddInFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::update_connect_client_add_in::UpdateConnectClientAddIn, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::update_connect_client_add_in::UpdateConnectClientAddInError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                The identifier of the client add-in to update.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                pub fn add_in_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.add_in_id(input.into()); diff --git a/sdk/workspaces/src/operation/update_connection_alias_permission/builders.rs b/sdk/workspaces/src/operation/update_connection_alias_permission/builders.rs index 10d43487ebdf..6ab87bb303ca 100644 --- a/sdk/workspaces/src/operation/update_connection_alias_permission/builders.rs +++ b/sdk/workspaces/src/operation/update_connection_alias_permission/builders.rs @@ -24,9 +24,9 @@ impl UpdateConnectionAliasPermissionFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize(self) -> ::std::result::Result< + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware(self) -> ::std::result::Result< crate::client::customize::CustomizableOperation, ::aws_smithy_http::result::SdkError >{ @@ -69,6 +69,15 @@ impl UpdateConnectionAliasPermissionFluentBuilder { { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize(self) -> ::std::result::Result< + crate::client::customize::CustomizableOperation, + ::aws_smithy_http::result::SdkError + >{ + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                The identifier of the connection alias that you want to update permissions for.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                pub fn alias_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.alias_id(input.into()); diff --git a/sdk/workspaces/src/operation/update_rules_of_ip_group/builders.rs b/sdk/workspaces/src/operation/update_rules_of_ip_group/builders.rs index 607e207fe7ea..75d380069e34 100644 --- a/sdk/workspaces/src/operation/update_rules_of_ip_group/builders.rs +++ b/sdk/workspaces/src/operation/update_rules_of_ip_group/builders.rs @@ -19,9 +19,9 @@ impl UpdateRulesOfIpGroupFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl UpdateRulesOfIpGroupFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::update_rules_of_ip_group::UpdateRulesOfIpGroup, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::update_rules_of_ip_group::UpdateRulesOfIpGroupError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                The identifier of the group.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                pub fn group_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.group_id(input.into()); diff --git a/sdk/workspaces/src/operation/update_workspace_bundle/builders.rs b/sdk/workspaces/src/operation/update_workspace_bundle/builders.rs index 580e0ecf1b9d..c390f3a89a30 100644 --- a/sdk/workspaces/src/operation/update_workspace_bundle/builders.rs +++ b/sdk/workspaces/src/operation/update_workspace_bundle/builders.rs @@ -21,9 +21,9 @@ impl UpdateWorkspaceBundleFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -85,6 +85,22 @@ impl UpdateWorkspaceBundleFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::update_workspace_bundle::UpdateWorkspaceBundle, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::update_workspace_bundle::UpdateWorkspaceBundleError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                The identifier of the bundle.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                pub fn bundle_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.bundle_id(input.into()); diff --git a/sdk/workspaces/src/operation/update_workspace_image_permission/builders.rs b/sdk/workspaces/src/operation/update_workspace_image_permission/builders.rs index e7e56dda0369..6e46a41236cd 100644 --- a/sdk/workspaces/src/operation/update_workspace_image_permission/builders.rs +++ b/sdk/workspaces/src/operation/update_workspace_image_permission/builders.rs @@ -28,9 +28,9 @@ impl UpdateWorkspaceImagePermissionFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize(self) -> ::std::result::Result< + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware(self) -> ::std::result::Result< crate::client::customize::CustomizableOperation, ::aws_smithy_http::result::SdkError >{ @@ -73,6 +73,15 @@ impl UpdateWorkspaceImagePermissionFluentBuilder { { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize(self) -> ::std::result::Result< + crate::client::customize::CustomizableOperation, + ::aws_smithy_http::result::SdkError + >{ + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                The identifier of the image.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                pub fn image_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.image_id(input.into()); diff --git a/sdk/workspacesweb/src/operation/associate_browser_settings/builders.rs b/sdk/workspacesweb/src/operation/associate_browser_settings/builders.rs index d3569bb90229..b5a205c5b3a0 100644 --- a/sdk/workspacesweb/src/operation/associate_browser_settings/builders.rs +++ b/sdk/workspacesweb/src/operation/associate_browser_settings/builders.rs @@ -19,9 +19,9 @@ impl AssociateBrowserSettingsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl AssociateBrowserSettingsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::associate_browser_settings::AssociateBrowserSettings, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::associate_browser_settings::AssociateBrowserSettingsError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                The ARN of the web portal.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                pub fn portal_arn(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.portal_arn(input.into()); diff --git a/sdk/workspacesweb/src/operation/associate_network_settings/builders.rs b/sdk/workspacesweb/src/operation/associate_network_settings/builders.rs index 5d366f670dc3..8b0efc3d11b2 100644 --- a/sdk/workspacesweb/src/operation/associate_network_settings/builders.rs +++ b/sdk/workspacesweb/src/operation/associate_network_settings/builders.rs @@ -19,9 +19,9 @@ impl AssociateNetworkSettingsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl AssociateNetworkSettingsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::associate_network_settings::AssociateNetworkSettings, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::associate_network_settings::AssociateNetworkSettingsError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                The ARN of the web portal.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                pub fn portal_arn(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.portal_arn(input.into()); diff --git a/sdk/workspacesweb/src/operation/associate_trust_store/builders.rs b/sdk/workspacesweb/src/operation/associate_trust_store/builders.rs index 7be030686081..d3ac789a8a8e 100644 --- a/sdk/workspacesweb/src/operation/associate_trust_store/builders.rs +++ b/sdk/workspacesweb/src/operation/associate_trust_store/builders.rs @@ -19,9 +19,9 @@ impl AssociateTrustStoreFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl AssociateTrustStoreFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::associate_trust_store::AssociateTrustStore, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::associate_trust_store::AssociateTrustStoreError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                The ARN of the web portal.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                pub fn portal_arn(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.portal_arn(input.into()); diff --git a/sdk/workspacesweb/src/operation/associate_user_access_logging_settings/builders.rs b/sdk/workspacesweb/src/operation/associate_user_access_logging_settings/builders.rs index afca39296433..3cd985aae57b 100644 --- a/sdk/workspacesweb/src/operation/associate_user_access_logging_settings/builders.rs +++ b/sdk/workspacesweb/src/operation/associate_user_access_logging_settings/builders.rs @@ -19,9 +19,9 @@ impl AssociateUserAccessLoggingSettingsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize(self) -> ::std::result::Result< + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware(self) -> ::std::result::Result< crate::client::customize::CustomizableOperation, ::aws_smithy_http::result::SdkError >{ @@ -64,6 +64,15 @@ impl AssociateUserAccessLoggingSettingsFluentBuilder { { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize(self) -> ::std::result::Result< + crate::client::customize::CustomizableOperation, + ::aws_smithy_http::result::SdkError + >{ + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                The ARN of the web portal.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                pub fn portal_arn(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.portal_arn(input.into()); diff --git a/sdk/workspacesweb/src/operation/associate_user_settings/builders.rs b/sdk/workspacesweb/src/operation/associate_user_settings/builders.rs index 5fa815af88f6..3c370a242d0a 100644 --- a/sdk/workspacesweb/src/operation/associate_user_settings/builders.rs +++ b/sdk/workspacesweb/src/operation/associate_user_settings/builders.rs @@ -19,9 +19,9 @@ impl AssociateUserSettingsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl AssociateUserSettingsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::associate_user_settings::AssociateUserSettings, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::associate_user_settings::AssociateUserSettingsError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                The ARN of the web portal.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                pub fn portal_arn(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.portal_arn(input.into()); diff --git a/sdk/workspacesweb/src/operation/create_browser_settings/builders.rs b/sdk/workspacesweb/src/operation/create_browser_settings/builders.rs index 10f6cff3635e..679a2d2d7894 100644 --- a/sdk/workspacesweb/src/operation/create_browser_settings/builders.rs +++ b/sdk/workspacesweb/src/operation/create_browser_settings/builders.rs @@ -19,9 +19,9 @@ impl CreateBrowserSettingsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl CreateBrowserSettingsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::create_browser_settings::CreateBrowserSettings, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::create_browser_settings::CreateBrowserSettingsError, + >, + > { + self.customize_middleware().await + } /// Appends an item to `tags`. /// /// To override the contents of this collection use [`set_tags`](Self::set_tags). diff --git a/sdk/workspacesweb/src/operation/create_identity_provider/builders.rs b/sdk/workspacesweb/src/operation/create_identity_provider/builders.rs index bf24e9b36610..739c90d0e6c0 100644 --- a/sdk/workspacesweb/src/operation/create_identity_provider/builders.rs +++ b/sdk/workspacesweb/src/operation/create_identity_provider/builders.rs @@ -19,9 +19,9 @@ impl CreateIdentityProviderFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl CreateIdentityProviderFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::create_identity_provider::CreateIdentityProvider, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::create_identity_provider::CreateIdentityProviderError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                The ARN of the web portal.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                pub fn portal_arn(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.portal_arn(input.into()); diff --git a/sdk/workspacesweb/src/operation/create_network_settings/builders.rs b/sdk/workspacesweb/src/operation/create_network_settings/builders.rs index 1220c3d973b3..d43868ce8969 100644 --- a/sdk/workspacesweb/src/operation/create_network_settings/builders.rs +++ b/sdk/workspacesweb/src/operation/create_network_settings/builders.rs @@ -19,9 +19,9 @@ impl CreateNetworkSettingsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl CreateNetworkSettingsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::create_network_settings::CreateNetworkSettings, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::create_network_settings::CreateNetworkSettingsError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                The VPC that streaming instances will connect to.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                pub fn vpc_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.vpc_id(input.into()); diff --git a/sdk/workspacesweb/src/operation/create_portal/builders.rs b/sdk/workspacesweb/src/operation/create_portal/builders.rs index c81affd8497c..0cafadf9ba2a 100644 --- a/sdk/workspacesweb/src/operation/create_portal/builders.rs +++ b/sdk/workspacesweb/src/operation/create_portal/builders.rs @@ -19,9 +19,9 @@ impl CreatePortalFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl CreatePortalFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::create_portal::CreatePortal, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                The name of the web portal. This is not visible to users who log into the web portal.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                pub fn display_name(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.display_name(input.into()); diff --git a/sdk/workspacesweb/src/operation/create_trust_store/builders.rs b/sdk/workspacesweb/src/operation/create_trust_store/builders.rs index 3de1dd65aa46..997c92bb4dbb 100644 --- a/sdk/workspacesweb/src/operation/create_trust_store/builders.rs +++ b/sdk/workspacesweb/src/operation/create_trust_store/builders.rs @@ -19,9 +19,9 @@ impl CreateTrustStoreFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl CreateTrustStoreFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::create_trust_store::CreateTrustStore, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::create_trust_store::CreateTrustStoreError, + >, + > { + self.customize_middleware().await + } /// Appends an item to `certificateList`. /// /// To override the contents of this collection use [`set_certificate_list`](Self::set_certificate_list). diff --git a/sdk/workspacesweb/src/operation/create_user_access_logging_settings/builders.rs b/sdk/workspacesweb/src/operation/create_user_access_logging_settings/builders.rs index 57d612d199d3..36479913976f 100644 --- a/sdk/workspacesweb/src/operation/create_user_access_logging_settings/builders.rs +++ b/sdk/workspacesweb/src/operation/create_user_access_logging_settings/builders.rs @@ -19,9 +19,9 @@ impl CreateUserAccessLoggingSettingsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize(self) -> ::std::result::Result< + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware(self) -> ::std::result::Result< crate::client::customize::CustomizableOperation, ::aws_smithy_http::result::SdkError >{ @@ -64,6 +64,15 @@ impl CreateUserAccessLoggingSettingsFluentBuilder { { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize(self) -> ::std::result::Result< + crate::client::customize::CustomizableOperation, + ::aws_smithy_http::result::SdkError + >{ + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                The ARN of the Kinesis stream.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                pub fn kinesis_stream_arn( mut self, diff --git a/sdk/workspacesweb/src/operation/create_user_settings/builders.rs b/sdk/workspacesweb/src/operation/create_user_settings/builders.rs index 89fe7f959cd7..ee6a1d4086f8 100644 --- a/sdk/workspacesweb/src/operation/create_user_settings/builders.rs +++ b/sdk/workspacesweb/src/operation/create_user_settings/builders.rs @@ -19,9 +19,9 @@ impl CreateUserSettingsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl CreateUserSettingsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::create_user_settings::CreateUserSettings, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::create_user_settings::CreateUserSettingsError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                Specifies whether the user can copy text from the streaming session to the local device.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                pub fn copy_allowed(mut self, input: crate::types::EnabledType) -> Self { self.inner = self.inner.copy_allowed(input); diff --git a/sdk/workspacesweb/src/operation/delete_browser_settings/builders.rs b/sdk/workspacesweb/src/operation/delete_browser_settings/builders.rs index b0f17e9e8327..53cecc77d642 100644 --- a/sdk/workspacesweb/src/operation/delete_browser_settings/builders.rs +++ b/sdk/workspacesweb/src/operation/delete_browser_settings/builders.rs @@ -19,9 +19,9 @@ impl DeleteBrowserSettingsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl DeleteBrowserSettingsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::delete_browser_settings::DeleteBrowserSettings, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::delete_browser_settings::DeleteBrowserSettingsError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                The ARN of the browser settings.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                pub fn browser_settings_arn( mut self, diff --git a/sdk/workspacesweb/src/operation/delete_identity_provider/builders.rs b/sdk/workspacesweb/src/operation/delete_identity_provider/builders.rs index e99994b16a5c..3c346efec3c7 100644 --- a/sdk/workspacesweb/src/operation/delete_identity_provider/builders.rs +++ b/sdk/workspacesweb/src/operation/delete_identity_provider/builders.rs @@ -19,9 +19,9 @@ impl DeleteIdentityProviderFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl DeleteIdentityProviderFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::delete_identity_provider::DeleteIdentityProvider, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::delete_identity_provider::DeleteIdentityProviderError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                The ARN of the identity provider.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                pub fn identity_provider_arn( mut self, diff --git a/sdk/workspacesweb/src/operation/delete_network_settings/builders.rs b/sdk/workspacesweb/src/operation/delete_network_settings/builders.rs index a18c82c9d0e0..afa043d21c5b 100644 --- a/sdk/workspacesweb/src/operation/delete_network_settings/builders.rs +++ b/sdk/workspacesweb/src/operation/delete_network_settings/builders.rs @@ -19,9 +19,9 @@ impl DeleteNetworkSettingsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl DeleteNetworkSettingsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::delete_network_settings::DeleteNetworkSettings, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::delete_network_settings::DeleteNetworkSettingsError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                The ARN of the network settings.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                pub fn network_settings_arn( mut self, diff --git a/sdk/workspacesweb/src/operation/delete_portal/builders.rs b/sdk/workspacesweb/src/operation/delete_portal/builders.rs index ec1988945123..dc6b2fc2a562 100644 --- a/sdk/workspacesweb/src/operation/delete_portal/builders.rs +++ b/sdk/workspacesweb/src/operation/delete_portal/builders.rs @@ -19,9 +19,9 @@ impl DeletePortalFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl DeletePortalFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::delete_portal::DeletePortal, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                The ARN of the web portal.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                pub fn portal_arn(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.portal_arn(input.into()); diff --git a/sdk/workspacesweb/src/operation/delete_trust_store/builders.rs b/sdk/workspacesweb/src/operation/delete_trust_store/builders.rs index 54e6ba4a4089..85f7127e82a8 100644 --- a/sdk/workspacesweb/src/operation/delete_trust_store/builders.rs +++ b/sdk/workspacesweb/src/operation/delete_trust_store/builders.rs @@ -19,9 +19,9 @@ impl DeleteTrustStoreFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl DeleteTrustStoreFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::delete_trust_store::DeleteTrustStore, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::delete_trust_store::DeleteTrustStoreError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                The ARN of the trust store.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                pub fn trust_store_arn( mut self, diff --git a/sdk/workspacesweb/src/operation/delete_user_access_logging_settings/builders.rs b/sdk/workspacesweb/src/operation/delete_user_access_logging_settings/builders.rs index c65470907fd6..d5c80c20184f 100644 --- a/sdk/workspacesweb/src/operation/delete_user_access_logging_settings/builders.rs +++ b/sdk/workspacesweb/src/operation/delete_user_access_logging_settings/builders.rs @@ -19,9 +19,9 @@ impl DeleteUserAccessLoggingSettingsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize(self) -> ::std::result::Result< + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware(self) -> ::std::result::Result< crate::client::customize::CustomizableOperation, ::aws_smithy_http::result::SdkError >{ @@ -64,6 +64,15 @@ impl DeleteUserAccessLoggingSettingsFluentBuilder { { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize(self) -> ::std::result::Result< + crate::client::customize::CustomizableOperation, + ::aws_smithy_http::result::SdkError + >{ + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                The ARN of the user access logging settings.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                pub fn user_access_logging_settings_arn( mut self, diff --git a/sdk/workspacesweb/src/operation/delete_user_settings/builders.rs b/sdk/workspacesweb/src/operation/delete_user_settings/builders.rs index 6a561b8e1170..d4512666e0fa 100644 --- a/sdk/workspacesweb/src/operation/delete_user_settings/builders.rs +++ b/sdk/workspacesweb/src/operation/delete_user_settings/builders.rs @@ -19,9 +19,9 @@ impl DeleteUserSettingsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl DeleteUserSettingsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::delete_user_settings::DeleteUserSettings, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::delete_user_settings::DeleteUserSettingsError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                The ARN of the user settings.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                pub fn user_settings_arn( mut self, diff --git a/sdk/workspacesweb/src/operation/disassociate_browser_settings/builders.rs b/sdk/workspacesweb/src/operation/disassociate_browser_settings/builders.rs index 3b9aeb0afcb7..76c12297f58b 100644 --- a/sdk/workspacesweb/src/operation/disassociate_browser_settings/builders.rs +++ b/sdk/workspacesweb/src/operation/disassociate_browser_settings/builders.rs @@ -19,9 +19,9 @@ impl DisassociateBrowserSettingsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl DisassociateBrowserSettingsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::disassociate_browser_settings::DisassociateBrowserSettings, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::disassociate_browser_settings::DisassociateBrowserSettingsError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                The ARN of the web portal.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                pub fn portal_arn(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.portal_arn(input.into()); diff --git a/sdk/workspacesweb/src/operation/disassociate_network_settings/builders.rs b/sdk/workspacesweb/src/operation/disassociate_network_settings/builders.rs index db93bd0d648b..7112982650f1 100644 --- a/sdk/workspacesweb/src/operation/disassociate_network_settings/builders.rs +++ b/sdk/workspacesweb/src/operation/disassociate_network_settings/builders.rs @@ -19,9 +19,9 @@ impl DisassociateNetworkSettingsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl DisassociateNetworkSettingsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::disassociate_network_settings::DisassociateNetworkSettings, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::disassociate_network_settings::DisassociateNetworkSettingsError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                The ARN of the web portal.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                pub fn portal_arn(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.portal_arn(input.into()); diff --git a/sdk/workspacesweb/src/operation/disassociate_trust_store/builders.rs b/sdk/workspacesweb/src/operation/disassociate_trust_store/builders.rs index 695b7f46321e..256c45c10be2 100644 --- a/sdk/workspacesweb/src/operation/disassociate_trust_store/builders.rs +++ b/sdk/workspacesweb/src/operation/disassociate_trust_store/builders.rs @@ -19,9 +19,9 @@ impl DisassociateTrustStoreFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl DisassociateTrustStoreFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::disassociate_trust_store::DisassociateTrustStore, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::disassociate_trust_store::DisassociateTrustStoreError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                The ARN of the web portal.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                pub fn portal_arn(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.portal_arn(input.into()); diff --git a/sdk/workspacesweb/src/operation/disassociate_user_access_logging_settings/builders.rs b/sdk/workspacesweb/src/operation/disassociate_user_access_logging_settings/builders.rs index 800ac33c2578..90b4641a1069 100644 --- a/sdk/workspacesweb/src/operation/disassociate_user_access_logging_settings/builders.rs +++ b/sdk/workspacesweb/src/operation/disassociate_user_access_logging_settings/builders.rs @@ -19,9 +19,9 @@ impl DisassociateUserAccessLoggingSettingsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize(self) -> ::std::result::Result< + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware(self) -> ::std::result::Result< crate::client::customize::CustomizableOperation, ::aws_smithy_http::result::SdkError >{ @@ -64,6 +64,15 @@ impl DisassociateUserAccessLoggingSettingsFluentBuilder { { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize(self) -> ::std::result::Result< + crate::client::customize::CustomizableOperation, + ::aws_smithy_http::result::SdkError + >{ + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                The ARN of the web portal.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                pub fn portal_arn(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.portal_arn(input.into()); diff --git a/sdk/workspacesweb/src/operation/disassociate_user_settings/builders.rs b/sdk/workspacesweb/src/operation/disassociate_user_settings/builders.rs index dac3f1a0dd7c..aff4cf4d5afc 100644 --- a/sdk/workspacesweb/src/operation/disassociate_user_settings/builders.rs +++ b/sdk/workspacesweb/src/operation/disassociate_user_settings/builders.rs @@ -19,9 +19,9 @@ impl DisassociateUserSettingsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl DisassociateUserSettingsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::disassociate_user_settings::DisassociateUserSettings, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::disassociate_user_settings::DisassociateUserSettingsError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                The ARN of the web portal.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                pub fn portal_arn(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.portal_arn(input.into()); diff --git a/sdk/workspacesweb/src/operation/get_browser_settings/builders.rs b/sdk/workspacesweb/src/operation/get_browser_settings/builders.rs index 9ba160a5a97a..1578bd39356b 100644 --- a/sdk/workspacesweb/src/operation/get_browser_settings/builders.rs +++ b/sdk/workspacesweb/src/operation/get_browser_settings/builders.rs @@ -19,9 +19,9 @@ impl GetBrowserSettingsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl GetBrowserSettingsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::get_browser_settings::GetBrowserSettings, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::get_browser_settings::GetBrowserSettingsError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                The ARN of the browser settings.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                pub fn browser_settings_arn( mut self, diff --git a/sdk/workspacesweb/src/operation/get_identity_provider/builders.rs b/sdk/workspacesweb/src/operation/get_identity_provider/builders.rs index be1d82f5ccd4..82249fb8b887 100644 --- a/sdk/workspacesweb/src/operation/get_identity_provider/builders.rs +++ b/sdk/workspacesweb/src/operation/get_identity_provider/builders.rs @@ -19,9 +19,9 @@ impl GetIdentityProviderFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl GetIdentityProviderFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::get_identity_provider::GetIdentityProvider, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::get_identity_provider::GetIdentityProviderError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                The ARN of the identity provider.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                pub fn identity_provider_arn( mut self, diff --git a/sdk/workspacesweb/src/operation/get_network_settings/builders.rs b/sdk/workspacesweb/src/operation/get_network_settings/builders.rs index e5f5aee24cfe..e04d3752f3b5 100644 --- a/sdk/workspacesweb/src/operation/get_network_settings/builders.rs +++ b/sdk/workspacesweb/src/operation/get_network_settings/builders.rs @@ -19,9 +19,9 @@ impl GetNetworkSettingsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl GetNetworkSettingsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::get_network_settings::GetNetworkSettings, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::get_network_settings::GetNetworkSettingsError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                The ARN of the network settings.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                pub fn network_settings_arn( mut self, diff --git a/sdk/workspacesweb/src/operation/get_portal/builders.rs b/sdk/workspacesweb/src/operation/get_portal/builders.rs index 6a0c76c981f6..7675783a8c3c 100644 --- a/sdk/workspacesweb/src/operation/get_portal/builders.rs +++ b/sdk/workspacesweb/src/operation/get_portal/builders.rs @@ -19,9 +19,9 @@ impl GetPortalFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl GetPortalFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::get_portal::GetPortal, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                The ARN of the web portal.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                pub fn portal_arn(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.portal_arn(input.into()); diff --git a/sdk/workspacesweb/src/operation/get_portal_service_provider_metadata/builders.rs b/sdk/workspacesweb/src/operation/get_portal_service_provider_metadata/builders.rs index 212682d637e0..72bb0909b8c7 100644 --- a/sdk/workspacesweb/src/operation/get_portal_service_provider_metadata/builders.rs +++ b/sdk/workspacesweb/src/operation/get_portal_service_provider_metadata/builders.rs @@ -19,9 +19,9 @@ impl GetPortalServiceProviderMetadataFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize(self) -> ::std::result::Result< + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware(self) -> ::std::result::Result< crate::client::customize::CustomizableOperation, ::aws_smithy_http::result::SdkError >{ @@ -64,6 +64,15 @@ impl GetPortalServiceProviderMetadataFluentBuilder { { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize(self) -> ::std::result::Result< + crate::client::customize::CustomizableOperation, + ::aws_smithy_http::result::SdkError + >{ + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                The ARN of the web portal.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                pub fn portal_arn(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.portal_arn(input.into()); diff --git a/sdk/workspacesweb/src/operation/get_trust_store/builders.rs b/sdk/workspacesweb/src/operation/get_trust_store/builders.rs index dbfa2faeb72a..a0c28e781d05 100644 --- a/sdk/workspacesweb/src/operation/get_trust_store/builders.rs +++ b/sdk/workspacesweb/src/operation/get_trust_store/builders.rs @@ -19,9 +19,9 @@ impl GetTrustStoreFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl GetTrustStoreFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::get_trust_store::GetTrustStore, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                The ARN of the trust store.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                pub fn trust_store_arn( mut self, diff --git a/sdk/workspacesweb/src/operation/get_trust_store_certificate/builders.rs b/sdk/workspacesweb/src/operation/get_trust_store_certificate/builders.rs index b965051774a5..76d4cb79fbab 100644 --- a/sdk/workspacesweb/src/operation/get_trust_store_certificate/builders.rs +++ b/sdk/workspacesweb/src/operation/get_trust_store_certificate/builders.rs @@ -19,9 +19,9 @@ impl GetTrustStoreCertificateFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl GetTrustStoreCertificateFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::get_trust_store_certificate::GetTrustStoreCertificate, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::get_trust_store_certificate::GetTrustStoreCertificateError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                The ARN of the trust store certificate.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                pub fn trust_store_arn( mut self, diff --git a/sdk/workspacesweb/src/operation/get_user_access_logging_settings/builders.rs b/sdk/workspacesweb/src/operation/get_user_access_logging_settings/builders.rs index 84cd62f77d19..2e2e72562a67 100644 --- a/sdk/workspacesweb/src/operation/get_user_access_logging_settings/builders.rs +++ b/sdk/workspacesweb/src/operation/get_user_access_logging_settings/builders.rs @@ -19,9 +19,9 @@ impl GetUserAccessLoggingSettingsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl GetUserAccessLoggingSettingsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::get_user_access_logging_settings::GetUserAccessLoggingSettings, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::get_user_access_logging_settings::GetUserAccessLoggingSettingsError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                The ARN of the user access logging settings.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                pub fn user_access_logging_settings_arn( mut self, diff --git a/sdk/workspacesweb/src/operation/get_user_settings/builders.rs b/sdk/workspacesweb/src/operation/get_user_settings/builders.rs index feb1b6f20fb7..dcfd8086e72d 100644 --- a/sdk/workspacesweb/src/operation/get_user_settings/builders.rs +++ b/sdk/workspacesweb/src/operation/get_user_settings/builders.rs @@ -19,9 +19,9 @@ impl GetUserSettingsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl GetUserSettingsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::get_user_settings::GetUserSettings, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::get_user_settings::GetUserSettingsError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                The ARN of the user settings.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                pub fn user_settings_arn( mut self, diff --git a/sdk/workspacesweb/src/operation/list_browser_settings/builders.rs b/sdk/workspacesweb/src/operation/list_browser_settings/builders.rs index 89922b28228f..c1d343d9ebd0 100644 --- a/sdk/workspacesweb/src/operation/list_browser_settings/builders.rs +++ b/sdk/workspacesweb/src/operation/list_browser_settings/builders.rs @@ -19,9 +19,9 @@ impl ListBrowserSettingsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl ListBrowserSettingsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_browser_settings::ListBrowserSettings, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::list_browser_settings::ListBrowserSettingsError, + >, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::list_browser_settings::paginator::ListBrowserSettingsPaginator::send) which returns a `Stream`. diff --git a/sdk/workspacesweb/src/operation/list_identity_providers/builders.rs b/sdk/workspacesweb/src/operation/list_identity_providers/builders.rs index 7d70d6b20f55..68ce339e94a1 100644 --- a/sdk/workspacesweb/src/operation/list_identity_providers/builders.rs +++ b/sdk/workspacesweb/src/operation/list_identity_providers/builders.rs @@ -19,9 +19,9 @@ impl ListIdentityProvidersFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl ListIdentityProvidersFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_identity_providers::ListIdentityProviders, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::list_identity_providers::ListIdentityProvidersError, + >, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::list_identity_providers::paginator::ListIdentityProvidersPaginator::send) which returns a `Stream`. diff --git a/sdk/workspacesweb/src/operation/list_network_settings/builders.rs b/sdk/workspacesweb/src/operation/list_network_settings/builders.rs index 08104d0752b3..126b7f649e74 100644 --- a/sdk/workspacesweb/src/operation/list_network_settings/builders.rs +++ b/sdk/workspacesweb/src/operation/list_network_settings/builders.rs @@ -19,9 +19,9 @@ impl ListNetworkSettingsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl ListNetworkSettingsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_network_settings::ListNetworkSettings, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::list_network_settings::ListNetworkSettingsError, + >, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::list_network_settings::paginator::ListNetworkSettingsPaginator::send) which returns a `Stream`. diff --git a/sdk/workspacesweb/src/operation/list_portals/builders.rs b/sdk/workspacesweb/src/operation/list_portals/builders.rs index 64a4002bdb15..68140bf320d7 100644 --- a/sdk/workspacesweb/src/operation/list_portals/builders.rs +++ b/sdk/workspacesweb/src/operation/list_portals/builders.rs @@ -19,9 +19,9 @@ impl ListPortalsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl ListPortalsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_portals::ListPortals, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::list_portals::paginator::ListPortalsPaginator::send) which returns a `Stream`. diff --git a/sdk/workspacesweb/src/operation/list_tags_for_resource/builders.rs b/sdk/workspacesweb/src/operation/list_tags_for_resource/builders.rs index 9b2b90b84ba6..5bac8102f239 100644 --- a/sdk/workspacesweb/src/operation/list_tags_for_resource/builders.rs +++ b/sdk/workspacesweb/src/operation/list_tags_for_resource/builders.rs @@ -19,9 +19,9 @@ impl ListTagsForResourceFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl ListTagsForResourceFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_tags_for_resource::ListTagsForResource, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::list_tags_for_resource::ListTagsForResourceError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                The ARN of the resource.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                pub fn resource_arn(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.resource_arn(input.into()); diff --git a/sdk/workspacesweb/src/operation/list_trust_store_certificates/builders.rs b/sdk/workspacesweb/src/operation/list_trust_store_certificates/builders.rs index 85293748600c..9d870f2a302e 100644 --- a/sdk/workspacesweb/src/operation/list_trust_store_certificates/builders.rs +++ b/sdk/workspacesweb/src/operation/list_trust_store_certificates/builders.rs @@ -19,9 +19,9 @@ impl ListTrustStoreCertificatesFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl ListTrustStoreCertificatesFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_trust_store_certificates::ListTrustStoreCertificates, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::list_trust_store_certificates::ListTrustStoreCertificatesError, + >, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::list_trust_store_certificates::paginator::ListTrustStoreCertificatesPaginator::send) which returns a `Stream`. diff --git a/sdk/workspacesweb/src/operation/list_trust_stores/builders.rs b/sdk/workspacesweb/src/operation/list_trust_stores/builders.rs index ac9527ccc178..a3ef4e1f930e 100644 --- a/sdk/workspacesweb/src/operation/list_trust_stores/builders.rs +++ b/sdk/workspacesweb/src/operation/list_trust_stores/builders.rs @@ -19,9 +19,9 @@ impl ListTrustStoresFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl ListTrustStoresFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_trust_stores::ListTrustStores, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::list_trust_stores::ListTrustStoresError, + >, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::list_trust_stores::paginator::ListTrustStoresPaginator::send) which returns a `Stream`. diff --git a/sdk/workspacesweb/src/operation/list_user_access_logging_settings/builders.rs b/sdk/workspacesweb/src/operation/list_user_access_logging_settings/builders.rs index 3bc5acc77d00..d681288812ae 100644 --- a/sdk/workspacesweb/src/operation/list_user_access_logging_settings/builders.rs +++ b/sdk/workspacesweb/src/operation/list_user_access_logging_settings/builders.rs @@ -19,9 +19,9 @@ impl ListUserAccessLoggingSettingsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl ListUserAccessLoggingSettingsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_user_access_logging_settings::ListUserAccessLoggingSettings, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::list_user_access_logging_settings::ListUserAccessLoggingSettingsError, + >, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::list_user_access_logging_settings::paginator::ListUserAccessLoggingSettingsPaginator::send) which returns a `Stream`. diff --git a/sdk/workspacesweb/src/operation/list_user_settings/builders.rs b/sdk/workspacesweb/src/operation/list_user_settings/builders.rs index 8ec56f5884e5..2a06da88ff42 100644 --- a/sdk/workspacesweb/src/operation/list_user_settings/builders.rs +++ b/sdk/workspacesweb/src/operation/list_user_settings/builders.rs @@ -19,9 +19,9 @@ impl ListUserSettingsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl ListUserSettingsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_user_settings::ListUserSettings, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::list_user_settings::ListUserSettingsError, + >, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::list_user_settings::paginator::ListUserSettingsPaginator::send) which returns a `Stream`. diff --git a/sdk/workspacesweb/src/operation/tag_resource/builders.rs b/sdk/workspacesweb/src/operation/tag_resource/builders.rs index fbe6cac08587..267ef7b3abba 100644 --- a/sdk/workspacesweb/src/operation/tag_resource/builders.rs +++ b/sdk/workspacesweb/src/operation/tag_resource/builders.rs @@ -19,9 +19,9 @@ impl TagResourceFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl TagResourceFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::tag_resource::TagResource, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                The ARN of the resource.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                pub fn resource_arn(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.resource_arn(input.into()); diff --git a/sdk/workspacesweb/src/operation/untag_resource/builders.rs b/sdk/workspacesweb/src/operation/untag_resource/builders.rs index e3eca4cee6ce..702fab84feba 100644 --- a/sdk/workspacesweb/src/operation/untag_resource/builders.rs +++ b/sdk/workspacesweb/src/operation/untag_resource/builders.rs @@ -19,9 +19,9 @@ impl UntagResourceFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl UntagResourceFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::untag_resource::UntagResource, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                The ARN of the resource.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                pub fn resource_arn(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.resource_arn(input.into()); diff --git a/sdk/workspacesweb/src/operation/update_browser_settings/builders.rs b/sdk/workspacesweb/src/operation/update_browser_settings/builders.rs index 3f6c57bbf5a7..37b6199c313a 100644 --- a/sdk/workspacesweb/src/operation/update_browser_settings/builders.rs +++ b/sdk/workspacesweb/src/operation/update_browser_settings/builders.rs @@ -19,9 +19,9 @@ impl UpdateBrowserSettingsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl UpdateBrowserSettingsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::update_browser_settings::UpdateBrowserSettings, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::update_browser_settings::UpdateBrowserSettingsError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                The ARN of the browser settings.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                pub fn browser_settings_arn( mut self, diff --git a/sdk/workspacesweb/src/operation/update_identity_provider/builders.rs b/sdk/workspacesweb/src/operation/update_identity_provider/builders.rs index 1fe888bd61d1..bef2e6617fbe 100644 --- a/sdk/workspacesweb/src/operation/update_identity_provider/builders.rs +++ b/sdk/workspacesweb/src/operation/update_identity_provider/builders.rs @@ -19,9 +19,9 @@ impl UpdateIdentityProviderFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl UpdateIdentityProviderFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::update_identity_provider::UpdateIdentityProvider, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::update_identity_provider::UpdateIdentityProviderError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                The ARN of the identity provider.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                pub fn identity_provider_arn( mut self, diff --git a/sdk/workspacesweb/src/operation/update_network_settings/builders.rs b/sdk/workspacesweb/src/operation/update_network_settings/builders.rs index 4e5b66971d58..f6fb7ea19e3f 100644 --- a/sdk/workspacesweb/src/operation/update_network_settings/builders.rs +++ b/sdk/workspacesweb/src/operation/update_network_settings/builders.rs @@ -19,9 +19,9 @@ impl UpdateNetworkSettingsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl UpdateNetworkSettingsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::update_network_settings::UpdateNetworkSettings, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::update_network_settings::UpdateNetworkSettingsError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                The ARN of the network settings.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                pub fn network_settings_arn( mut self, diff --git a/sdk/workspacesweb/src/operation/update_portal/builders.rs b/sdk/workspacesweb/src/operation/update_portal/builders.rs index fa9e0136dc43..7159c30de6c6 100644 --- a/sdk/workspacesweb/src/operation/update_portal/builders.rs +++ b/sdk/workspacesweb/src/operation/update_portal/builders.rs @@ -19,9 +19,9 @@ impl UpdatePortalFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl UpdatePortalFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::update_portal::UpdatePortal, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                The ARN of the web portal.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                pub fn portal_arn(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.portal_arn(input.into()); diff --git a/sdk/workspacesweb/src/operation/update_trust_store/builders.rs b/sdk/workspacesweb/src/operation/update_trust_store/builders.rs index c74386ef5594..b69039ada0ed 100644 --- a/sdk/workspacesweb/src/operation/update_trust_store/builders.rs +++ b/sdk/workspacesweb/src/operation/update_trust_store/builders.rs @@ -19,9 +19,9 @@ impl UpdateTrustStoreFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl UpdateTrustStoreFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::update_trust_store::UpdateTrustStore, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::update_trust_store::UpdateTrustStoreError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                The ARN of the trust store.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                pub fn trust_store_arn( mut self, diff --git a/sdk/workspacesweb/src/operation/update_user_access_logging_settings/builders.rs b/sdk/workspacesweb/src/operation/update_user_access_logging_settings/builders.rs index 1921828436e2..edb9e0588789 100644 --- a/sdk/workspacesweb/src/operation/update_user_access_logging_settings/builders.rs +++ b/sdk/workspacesweb/src/operation/update_user_access_logging_settings/builders.rs @@ -19,9 +19,9 @@ impl UpdateUserAccessLoggingSettingsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize(self) -> ::std::result::Result< + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware(self) -> ::std::result::Result< crate::client::customize::CustomizableOperation, ::aws_smithy_http::result::SdkError >{ @@ -64,6 +64,15 @@ impl UpdateUserAccessLoggingSettingsFluentBuilder { { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize(self) -> ::std::result::Result< + crate::client::customize::CustomizableOperation, + ::aws_smithy_http::result::SdkError + >{ + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                The ARN of the user access logging settings.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                pub fn user_access_logging_settings_arn( mut self, diff --git a/sdk/workspacesweb/src/operation/update_user_settings/builders.rs b/sdk/workspacesweb/src/operation/update_user_settings/builders.rs index 84abe025b55f..bbda012d83f4 100644 --- a/sdk/workspacesweb/src/operation/update_user_settings/builders.rs +++ b/sdk/workspacesweb/src/operation/update_user_settings/builders.rs @@ -19,9 +19,9 @@ impl UpdateUserSettingsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl UpdateUserSettingsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::update_user_settings::UpdateUserSettings, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::update_user_settings::UpdateUserSettingsError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                The ARN of the user settings.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                pub fn user_settings_arn( mut self, diff --git a/sdk/xray/src/operation/batch_get_traces/builders.rs b/sdk/xray/src/operation/batch_get_traces/builders.rs index 9d7c1e1f2f65..d31c356322a1 100644 --- a/sdk/xray/src/operation/batch_get_traces/builders.rs +++ b/sdk/xray/src/operation/batch_get_traces/builders.rs @@ -19,9 +19,9 @@ impl BatchGetTracesFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl BatchGetTracesFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::batch_get_traces::BatchGetTraces, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::batch_get_traces::BatchGetTracesError, + >, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::batch_get_traces::paginator::BatchGetTracesPaginator::send) which returns a `Stream`. diff --git a/sdk/xray/src/operation/create_group/builders.rs b/sdk/xray/src/operation/create_group/builders.rs index fc79afe8cf23..30df077b6136 100644 --- a/sdk/xray/src/operation/create_group/builders.rs +++ b/sdk/xray/src/operation/create_group/builders.rs @@ -19,9 +19,9 @@ impl CreateGroupFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl CreateGroupFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::create_group::CreateGroup, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                The case-sensitive name of the new group. Default is a reserved name and names must be unique.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                pub fn group_name(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.group_name(input.into()); diff --git a/sdk/xray/src/operation/create_sampling_rule/builders.rs b/sdk/xray/src/operation/create_sampling_rule/builders.rs index 5f4708f52267..5f7d6c3001a1 100644 --- a/sdk/xray/src/operation/create_sampling_rule/builders.rs +++ b/sdk/xray/src/operation/create_sampling_rule/builders.rs @@ -19,9 +19,9 @@ impl CreateSamplingRuleFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl CreateSamplingRuleFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::create_sampling_rule::CreateSamplingRule, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::create_sampling_rule::CreateSamplingRuleError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                The rule definition.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                pub fn sampling_rule(mut self, input: crate::types::SamplingRule) -> Self { self.inner = self.inner.sampling_rule(input); diff --git a/sdk/xray/src/operation/delete_group/builders.rs b/sdk/xray/src/operation/delete_group/builders.rs index 988fd10986ad..4cfc348b806c 100644 --- a/sdk/xray/src/operation/delete_group/builders.rs +++ b/sdk/xray/src/operation/delete_group/builders.rs @@ -19,9 +19,9 @@ impl DeleteGroupFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl DeleteGroupFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::delete_group::DeleteGroup, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                The case-sensitive name of the group.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                pub fn group_name(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.group_name(input.into()); diff --git a/sdk/xray/src/operation/delete_resource_policy/builders.rs b/sdk/xray/src/operation/delete_resource_policy/builders.rs index 8d0d78a1fafc..4eed0c58b435 100644 --- a/sdk/xray/src/operation/delete_resource_policy/builders.rs +++ b/sdk/xray/src/operation/delete_resource_policy/builders.rs @@ -19,9 +19,9 @@ impl DeleteResourcePolicyFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl DeleteResourcePolicyFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::delete_resource_policy::DeleteResourcePolicy, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::delete_resource_policy::DeleteResourcePolicyError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                The name of the resource policy to delete.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                pub fn policy_name(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.policy_name(input.into()); diff --git a/sdk/xray/src/operation/delete_sampling_rule/builders.rs b/sdk/xray/src/operation/delete_sampling_rule/builders.rs index f573da189979..4809aa0172f9 100644 --- a/sdk/xray/src/operation/delete_sampling_rule/builders.rs +++ b/sdk/xray/src/operation/delete_sampling_rule/builders.rs @@ -19,9 +19,9 @@ impl DeleteSamplingRuleFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl DeleteSamplingRuleFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::delete_sampling_rule::DeleteSamplingRule, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::delete_sampling_rule::DeleteSamplingRuleError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                The name of the sampling rule. Specify a rule by either name or ARN, but not both.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                pub fn rule_name(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.rule_name(input.into()); diff --git a/sdk/xray/src/operation/get_encryption_config/builders.rs b/sdk/xray/src/operation/get_encryption_config/builders.rs index 6fceb3e0f23d..870d20b1cc78 100644 --- a/sdk/xray/src/operation/get_encryption_config/builders.rs +++ b/sdk/xray/src/operation/get_encryption_config/builders.rs @@ -19,9 +19,9 @@ impl GetEncryptionConfigFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,4 +83,20 @@ impl GetEncryptionConfigFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::get_encryption_config::GetEncryptionConfig, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::get_encryption_config::GetEncryptionConfigError, + >, + > { + self.customize_middleware().await + } } diff --git a/sdk/xray/src/operation/get_group/builders.rs b/sdk/xray/src/operation/get_group/builders.rs index fcddebf74bc8..6b69f6cbdc1a 100644 --- a/sdk/xray/src/operation/get_group/builders.rs +++ b/sdk/xray/src/operation/get_group/builders.rs @@ -19,9 +19,9 @@ impl GetGroupFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl GetGroupFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::get_group::GetGroup, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                The case-sensitive name of the group.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                pub fn group_name(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.group_name(input.into()); diff --git a/sdk/xray/src/operation/get_groups/builders.rs b/sdk/xray/src/operation/get_groups/builders.rs index 0e6f01816ded..476744df4dfb 100644 --- a/sdk/xray/src/operation/get_groups/builders.rs +++ b/sdk/xray/src/operation/get_groups/builders.rs @@ -19,9 +19,9 @@ impl GetGroupsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl GetGroupsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::get_groups::GetGroups, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::get_groups::paginator::GetGroupsPaginator::send) which returns a `Stream`. diff --git a/sdk/xray/src/operation/get_insight/builders.rs b/sdk/xray/src/operation/get_insight/builders.rs index 162b0a58430e..0ba7b2ccc637 100644 --- a/sdk/xray/src/operation/get_insight/builders.rs +++ b/sdk/xray/src/operation/get_insight/builders.rs @@ -19,9 +19,9 @@ impl GetInsightFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl GetInsightFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::get_insight::GetInsight, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                The insight's unique identifier. Use the GetInsightSummaries action to retrieve an InsightId.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                pub fn insight_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.insight_id(input.into()); diff --git a/sdk/xray/src/operation/get_insight_events/builders.rs b/sdk/xray/src/operation/get_insight_events/builders.rs index efa609a20ba3..571eca31d83b 100644 --- a/sdk/xray/src/operation/get_insight_events/builders.rs +++ b/sdk/xray/src/operation/get_insight_events/builders.rs @@ -19,9 +19,9 @@ impl GetInsightEventsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl GetInsightEventsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::get_insight_events::GetInsightEvents, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::get_insight_events::GetInsightEventsError, + >, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::get_insight_events::paginator::GetInsightEventsPaginator::send) which returns a `Stream`. diff --git a/sdk/xray/src/operation/get_insight_impact_graph/builders.rs b/sdk/xray/src/operation/get_insight_impact_graph/builders.rs index 06418938a70f..d9b80ec7bbd5 100644 --- a/sdk/xray/src/operation/get_insight_impact_graph/builders.rs +++ b/sdk/xray/src/operation/get_insight_impact_graph/builders.rs @@ -19,9 +19,9 @@ impl GetInsightImpactGraphFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl GetInsightImpactGraphFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::get_insight_impact_graph::GetInsightImpactGraph, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::get_insight_impact_graph::GetInsightImpactGraphError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                The insight's unique identifier. Use the GetInsightSummaries action to retrieve an InsightId.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                pub fn insight_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.insight_id(input.into()); diff --git a/sdk/xray/src/operation/get_insight_summaries/builders.rs b/sdk/xray/src/operation/get_insight_summaries/builders.rs index 70d5545604db..7debd4074d09 100644 --- a/sdk/xray/src/operation/get_insight_summaries/builders.rs +++ b/sdk/xray/src/operation/get_insight_summaries/builders.rs @@ -19,9 +19,9 @@ impl GetInsightSummariesFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl GetInsightSummariesFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::get_insight_summaries::GetInsightSummaries, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::get_insight_summaries::GetInsightSummariesError, + >, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::get_insight_summaries::paginator::GetInsightSummariesPaginator::send) which returns a `Stream`. diff --git a/sdk/xray/src/operation/get_sampling_rules/builders.rs b/sdk/xray/src/operation/get_sampling_rules/builders.rs index 86e4fe066cc2..c2dad5a663b9 100644 --- a/sdk/xray/src/operation/get_sampling_rules/builders.rs +++ b/sdk/xray/src/operation/get_sampling_rules/builders.rs @@ -19,9 +19,9 @@ impl GetSamplingRulesFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl GetSamplingRulesFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::get_sampling_rules::GetSamplingRules, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::get_sampling_rules::GetSamplingRulesError, + >, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::get_sampling_rules::paginator::GetSamplingRulesPaginator::send) which returns a `Stream`. diff --git a/sdk/xray/src/operation/get_sampling_statistic_summaries/builders.rs b/sdk/xray/src/operation/get_sampling_statistic_summaries/builders.rs index e1f0dde92983..12563619d2df 100644 --- a/sdk/xray/src/operation/get_sampling_statistic_summaries/builders.rs +++ b/sdk/xray/src/operation/get_sampling_statistic_summaries/builders.rs @@ -19,9 +19,9 @@ impl GetSamplingStatisticSummariesFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl GetSamplingStatisticSummariesFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::get_sampling_statistic_summaries::GetSamplingStatisticSummaries, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::get_sampling_statistic_summaries::GetSamplingStatisticSummariesError, + >, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::get_sampling_statistic_summaries::paginator::GetSamplingStatisticSummariesPaginator::send) which returns a `Stream`. diff --git a/sdk/xray/src/operation/get_sampling_targets/builders.rs b/sdk/xray/src/operation/get_sampling_targets/builders.rs index 37c3b2fbc8db..f3bcee700b83 100644 --- a/sdk/xray/src/operation/get_sampling_targets/builders.rs +++ b/sdk/xray/src/operation/get_sampling_targets/builders.rs @@ -19,9 +19,9 @@ impl GetSamplingTargetsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl GetSamplingTargetsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::get_sampling_targets::GetSamplingTargets, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::get_sampling_targets::GetSamplingTargetsError, + >, + > { + self.customize_middleware().await + } /// Appends an item to `SamplingStatisticsDocuments`. /// /// To override the contents of this collection use [`set_sampling_statistics_documents`](Self::set_sampling_statistics_documents). diff --git a/sdk/xray/src/operation/get_service_graph/builders.rs b/sdk/xray/src/operation/get_service_graph/builders.rs index 5ba547fb8c3f..df023ef92ca4 100644 --- a/sdk/xray/src/operation/get_service_graph/builders.rs +++ b/sdk/xray/src/operation/get_service_graph/builders.rs @@ -19,9 +19,9 @@ impl GetServiceGraphFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl GetServiceGraphFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::get_service_graph::GetServiceGraph, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::get_service_graph::GetServiceGraphError, + >, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::get_service_graph::paginator::GetServiceGraphPaginator::send) which returns a `Stream`. diff --git a/sdk/xray/src/operation/get_time_series_service_statistics/builders.rs b/sdk/xray/src/operation/get_time_series_service_statistics/builders.rs index 3c87980a7a85..1732db2d36be 100644 --- a/sdk/xray/src/operation/get_time_series_service_statistics/builders.rs +++ b/sdk/xray/src/operation/get_time_series_service_statistics/builders.rs @@ -19,9 +19,9 @@ impl GetTimeSeriesServiceStatisticsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize(self) -> ::std::result::Result< + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware(self) -> ::std::result::Result< crate::client::customize::CustomizableOperation, ::aws_smithy_http::result::SdkError >{ @@ -64,6 +64,15 @@ impl GetTimeSeriesServiceStatisticsFluentBuilder { { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize(self) -> ::std::result::Result< + crate::client::customize::CustomizableOperation, + ::aws_smithy_http::result::SdkError + >{ + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::get_time_series_service_statistics::paginator::GetTimeSeriesServiceStatisticsPaginator::send) which returns a `Stream`. diff --git a/sdk/xray/src/operation/get_trace_graph/builders.rs b/sdk/xray/src/operation/get_trace_graph/builders.rs index a5a0b2410368..107a7fbd86d9 100644 --- a/sdk/xray/src/operation/get_trace_graph/builders.rs +++ b/sdk/xray/src/operation/get_trace_graph/builders.rs @@ -19,9 +19,9 @@ impl GetTraceGraphFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl GetTraceGraphFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::get_trace_graph::GetTraceGraph, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::get_trace_graph::paginator::GetTraceGraphPaginator::send) which returns a `Stream`. diff --git a/sdk/xray/src/operation/get_trace_summaries/builders.rs b/sdk/xray/src/operation/get_trace_summaries/builders.rs index 5e4a54393a2e..bedbe5d69744 100644 --- a/sdk/xray/src/operation/get_trace_summaries/builders.rs +++ b/sdk/xray/src/operation/get_trace_summaries/builders.rs @@ -24,9 +24,9 @@ impl GetTraceSummariesFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -88,6 +88,22 @@ impl GetTraceSummariesFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::get_trace_summaries::GetTraceSummaries, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::get_trace_summaries::GetTraceSummariesError, + >, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::get_trace_summaries::paginator::GetTraceSummariesPaginator::send) which returns a `Stream`. diff --git a/sdk/xray/src/operation/list_resource_policies/builders.rs b/sdk/xray/src/operation/list_resource_policies/builders.rs index aa3ac6ab5741..7a14c2fbb674 100644 --- a/sdk/xray/src/operation/list_resource_policies/builders.rs +++ b/sdk/xray/src/operation/list_resource_policies/builders.rs @@ -19,9 +19,9 @@ impl ListResourcePoliciesFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl ListResourcePoliciesFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_resource_policies::ListResourcePolicies, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::list_resource_policies::ListResourcePoliciesError, + >, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::list_resource_policies::paginator::ListResourcePoliciesPaginator::send) which returns a `Stream`. diff --git a/sdk/xray/src/operation/list_tags_for_resource/builders.rs b/sdk/xray/src/operation/list_tags_for_resource/builders.rs index 64db111c3e4b..8aea52e16606 100644 --- a/sdk/xray/src/operation/list_tags_for_resource/builders.rs +++ b/sdk/xray/src/operation/list_tags_for_resource/builders.rs @@ -19,9 +19,9 @@ impl ListTagsForResourceFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl ListTagsForResourceFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::list_tags_for_resource::ListTagsForResource, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::list_tags_for_resource::ListTagsForResourceError, + >, + > { + self.customize_middleware().await + } /// Create a paginator for this request /// /// Paginators are used by calling [`send().await`](crate::operation::list_tags_for_resource::paginator::ListTagsForResourcePaginator::send) which returns a `Stream`. diff --git a/sdk/xray/src/operation/put_encryption_config/builders.rs b/sdk/xray/src/operation/put_encryption_config/builders.rs index 62fe2feda0da..ebee27b78c2b 100644 --- a/sdk/xray/src/operation/put_encryption_config/builders.rs +++ b/sdk/xray/src/operation/put_encryption_config/builders.rs @@ -19,9 +19,9 @@ impl PutEncryptionConfigFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl PutEncryptionConfigFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::put_encryption_config::PutEncryptionConfig, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::put_encryption_config::PutEncryptionConfigError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                An Amazon Web Services KMS key in one of the following formats:

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                ///
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  ///
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                • Alias - The name of the key. For example, alias/MyKey.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                • diff --git a/sdk/xray/src/operation/put_resource_policy/builders.rs b/sdk/xray/src/operation/put_resource_policy/builders.rs index 720efd291990..b63bed908684 100644 --- a/sdk/xray/src/operation/put_resource_policy/builders.rs +++ b/sdk/xray/src/operation/put_resource_policy/builders.rs @@ -19,9 +19,9 @@ impl PutResourcePolicyFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl PutResourcePolicyFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::put_resource_policy::PutResourcePolicy, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::put_resource_policy::PutResourcePolicyError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  The name of the resource policy. Must be unique within a specific Amazon Web Services account.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  pub fn policy_name(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.policy_name(input.into()); diff --git a/sdk/xray/src/operation/put_telemetry_records/builders.rs b/sdk/xray/src/operation/put_telemetry_records/builders.rs index 8131aa79f645..7878f3fb550d 100644 --- a/sdk/xray/src/operation/put_telemetry_records/builders.rs +++ b/sdk/xray/src/operation/put_telemetry_records/builders.rs @@ -19,9 +19,9 @@ impl PutTelemetryRecordsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl PutTelemetryRecordsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::put_telemetry_records::PutTelemetryRecords, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::put_telemetry_records::PutTelemetryRecordsError, + >, + > { + self.customize_middleware().await + } /// Appends an item to `TelemetryRecords`. /// /// To override the contents of this collection use [`set_telemetry_records`](Self::set_telemetry_records). diff --git a/sdk/xray/src/operation/put_trace_segments/builders.rs b/sdk/xray/src/operation/put_trace_segments/builders.rs index ef14016fa846..552ffcadbdb0 100644 --- a/sdk/xray/src/operation/put_trace_segments/builders.rs +++ b/sdk/xray/src/operation/put_trace_segments/builders.rs @@ -36,9 +36,9 @@ impl PutTraceSegmentsFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -100,6 +100,22 @@ impl PutTraceSegmentsFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::put_trace_segments::PutTraceSegments, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::put_trace_segments::PutTraceSegmentsError, + >, + > { + self.customize_middleware().await + } /// Appends an item to `TraceSegmentDocuments`. /// /// To override the contents of this collection use [`set_trace_segment_documents`](Self::set_trace_segment_documents). diff --git a/sdk/xray/src/operation/tag_resource/builders.rs b/sdk/xray/src/operation/tag_resource/builders.rs index 2e9a804671c1..7450bf6001b3 100644 --- a/sdk/xray/src/operation/tag_resource/builders.rs +++ b/sdk/xray/src/operation/tag_resource/builders.rs @@ -19,9 +19,9 @@ impl TagResourceFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl TagResourceFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::tag_resource::TagResource, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  The Amazon Resource Number (ARN) of an X-Ray group or sampling rule.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  pub fn resource_arn(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.resource_arn(input.into()); diff --git a/sdk/xray/src/operation/untag_resource/builders.rs b/sdk/xray/src/operation/untag_resource/builders.rs index e42d110c53e9..01accda39bf3 100644 --- a/sdk/xray/src/operation/untag_resource/builders.rs +++ b/sdk/xray/src/operation/untag_resource/builders.rs @@ -19,9 +19,9 @@ impl UntagResourceFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl UntagResourceFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::untag_resource::UntagResource, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  The Amazon Resource Number (ARN) of an X-Ray group or sampling rule.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  pub fn resource_arn(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.resource_arn(input.into()); diff --git a/sdk/xray/src/operation/update_group/builders.rs b/sdk/xray/src/operation/update_group/builders.rs index 850cd5253fb2..7cca24005be6 100644 --- a/sdk/xray/src/operation/update_group/builders.rs +++ b/sdk/xray/src/operation/update_group/builders.rs @@ -19,9 +19,9 @@ impl UpdateGroupFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -77,6 +77,20 @@ impl UpdateGroupFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::update_group::UpdateGroup, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  The case-sensitive name of the group.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  pub fn group_name(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.group_name(input.into()); diff --git a/sdk/xray/src/operation/update_sampling_rule/builders.rs b/sdk/xray/src/operation/update_sampling_rule/builders.rs index f8cf3de163e0..f3edf81f8d80 100644 --- a/sdk/xray/src/operation/update_sampling_rule/builders.rs +++ b/sdk/xray/src/operation/update_sampling_rule/builders.rs @@ -19,9 +19,9 @@ impl UpdateSamplingRuleFluentBuilder { inner: ::std::default::Default::default(), } } - /// Consume this builder, creating a customizable operation that can be modified before being - /// sent. The operation's inner [http::Request] can be modified as well. - pub async fn customize( + // This function will go away in the near future. Do not rely on it. + #[doc(hidden)] + pub async fn customize_middleware( self, ) -> ::std::result::Result< crate::client::customize::CustomizableOperation< @@ -83,6 +83,22 @@ impl UpdateSamplingRuleFluentBuilder { > { self.send_middleware().await } + + /// Consumes this builder, creating a customizable operation that can be modified before being + /// sent. The operation's inner [http::Request] can be modified as well. + pub async fn customize( + self, + ) -> ::std::result::Result< + crate::client::customize::CustomizableOperation< + crate::operation::update_sampling_rule::UpdateSamplingRule, + ::aws_http::retry::AwsResponseRetryClassifier, + >, + ::aws_smithy_http::result::SdkError< + crate::operation::update_sampling_rule::UpdateSamplingRuleError, + >, + > { + self.customize_middleware().await + } ///

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  The rule and fields to change.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  pub fn sampling_rule_update(mut self, input: crate::types::SamplingRuleUpdate) -> Self { self.inner = self.inner.sampling_rule_update(input); diff --git a/versions.toml b/versions.toml index 182f21fdf6e3..76ef264cc3b1 100644 --- a/versions.toml +++ b/versions.toml @@ -1,4 +1,4 @@ -smithy_rs_revision = 'b7f514c33ff6e7194a787b0c81f2485d8d40b5b4' +smithy_rs_revision = 'de9b17a91f9beadf5ee0bd9bed580d7aa47910c1' aws_doc_sdk_examples_revision = 'f4fc46139c2ea0784e31cadd19b430fcd2bbc21a' [manual_interventions] @@ -41,2047 +41,2047 @@ source_hash = '4e48ff572711b336f6269622c1f87a03d9027e27c0f2914d36e61e19dfef62f5' [crates.aws-sdk-accessanalyzer] category = 'AwsSdk' version = '0.28.0' -source_hash = '12dbe3038452d2490f9ecf5cb3e38d8ba280ce224fbf5bbc6d7592bda95b2795' +source_hash = 'c8587489e82514cd3d29025df22f76615ac0c1f57e5ab7ed778fda8319e77ef8' model_hash = 'c70726b7525b6f1eae30a81ae078691b9948014ffac67933065c817c00637290' [crates.aws-sdk-account] category = 'AwsSdk' version = '0.28.0' -source_hash = '89481564f280f2a41dcf09f26c2dec09df8becb9f67b5148c46efcf2ed834f9a' +source_hash = '4559ac95316f68cf2be5bd41fa90ba3e479d8e9c9df6a86aa6d962e0fb0462b1' model_hash = '8387f986e7a37a449444cc07219e4102baa32439f6a0ebfdd86d20bbf84d3166' [crates.aws-sdk-acm] category = 'AwsSdk' version = '0.28.0' -source_hash = '0d1fa8577e3377af2fda8a38591215f5af4fecaefe0f873f3acb9ef39b2caa8e' +source_hash = 'cb7cd4fd695887be7feec50d92181ed63cff2999fdb2702819241bda0ed8241e' model_hash = '646389feaf9835206b55a44c43e82841305b66cf3309ba56d0af8ab57d3c41d5' [crates.aws-sdk-acmpca] category = 'AwsSdk' version = '0.28.0' -source_hash = '091fc8b9f504bf931c0d47812d5a9b39cd1b05c8b7be8386a09231e3002913ea' +source_hash = '6fc48b047032d1fb895eaf2a587567612bb4c6644ddc8e2f4788daa16cba311b' model_hash = '3eb6d0aab6d9b907960cb856c142e9f2db029f65d0cb7aebb61bc9783f468bd2' [crates.aws-sdk-alexaforbusiness] category = 'AwsSdk' version = '0.28.0' -source_hash = '72cb77e2c8789ed849cb56b39e20833c2f0346d938ed4951136d3140fde02ff8' +source_hash = '105f87f8af5db87f8619e23a0cea9b021fb5bac18ce1bb7c2353ef0cf585af56' model_hash = 'fbfad4d9fb24d68f895a7ee138ae147af469f41ec7f89ae852ce3c1f9b430db1' [crates.aws-sdk-amp] category = 'AwsSdk' version = '0.28.0' -source_hash = '7cc620f73bcbd2b6d139a39059d92c993b0b9e57ef9f3dae7a50f96542907ad9' +source_hash = '4dbed242b31aa9f2c28124bed2ae23d113699cba8e569b6983a1d5632b950ac1' model_hash = '4a7b1dd1e80451f6c573c42e56d22046743d5fa6c6b481c9a40bd542ad074990' [crates.aws-sdk-amplify] category = 'AwsSdk' version = '0.28.0' -source_hash = '9d95b970c59407a6ea3857e014903e6056a3df624765db4b2c1c5efeb7536d28' +source_hash = '167eeb2c2b6ce90c4d938f6a6037e4be28be7fbee4c2475d97d2c2ab2f836017' model_hash = '150fe7acc8b3bbe41ccd2d1aaa94004244eb295ee456ca286898b3559e1fd7c0' [crates.aws-sdk-amplifybackend] category = 'AwsSdk' version = '0.28.0' -source_hash = '66e2894aad4a50ad113563c29972f41e2b026f7a3567aba59155bdf8be11c1e7' +source_hash = '4109bec2d552b87ba55e21801f65e12895f98edeef7823f494ec5fd2f81cd1b7' model_hash = 'd24bae0ca2f1a1d804545342cd396a5e45faf5ac659d269df2454b135ed578ad' [crates.aws-sdk-amplifyuibuilder] category = 'AwsSdk' version = '0.28.0' -source_hash = 'bd24d175a67ec49d8df01af5c81e35a865e088b7d7b9b30b8f4ea9b24a9dddc0' +source_hash = '9460d529f67e5aa4dca5912cead55ffd30a033e5eaf6755d0525fdaad00f8742' model_hash = 'f5eed5c6eb266695aea496de14ca5cd128ec17d6ee1e4250cc2e1da6152c4fa8' [crates.aws-sdk-apigateway] category = 'AwsSdk' version = '0.28.0' -source_hash = '85456b4e9e22f960b112793c004d708c6a56dd7c69415b0afcea00053c7f2e79' +source_hash = '02f9654ac1bb1bad5ed9981e8a75a2ecebf1b280d14275cfa26c61fd9ae59c9c' model_hash = '24863e5ba615b4cc9c21df8951b0a7890b7a57ea5f1d62a127f2cde30e4a8db4' [crates.aws-sdk-apigatewaymanagement] category = 'AwsSdk' version = '0.28.0' -source_hash = '47300659ae9d5e41d032f85306971be5bd6aa1fafb846c8fd95244f25d2d508a' +source_hash = '59f8c508cacacd1b13e88e8905d384d5af7264bcbdb2e5de09a8e97850763913' model_hash = 'de0e9176bf494463a93b7a676e3c17c641c0d371366745807d2d305660d50d05' [crates.aws-sdk-apigatewayv2] category = 'AwsSdk' version = '0.28.0' -source_hash = '55f90f362e62b1b4b22919d8adac23b8cd6f4d16d9fce9345b87676f71d4b3af' +source_hash = 'bee9d5527c14526d1fb0fce436b2c9414b7a196526f5a682914289d3c0fde4a3' model_hash = 'bbe87f1bdc367291318c74ff42d633891d5c25fa9f52609ba2bb1b0aeb8df985' [crates.aws-sdk-appconfig] category = 'AwsSdk' version = '0.28.0' -source_hash = 'b5243d40e5445ae8740bc3e88bf29e5846a0f53383f0ab3e03a111dead0b24a6' +source_hash = '19cfbf1a68e1ad86e879d4c523d2f891877f059231de15f0ab49f87cc93eec45' model_hash = '8e1f5839ce63815a850311ba21f3d7ca5059dfef36eababba4587ad1eb68de5d' [crates.aws-sdk-appconfigdata] category = 'AwsSdk' version = '0.28.0' -source_hash = 'd1e221417f31ff79cb21157647ff9377d570b3ca4e146b10e4e86239c13961db' +source_hash = 'b29d50475a351d68206603d6e03c2782f8e26863ca70650abaddd97c0654ce23' model_hash = '0491addb3faf26875f03f2bbc40497d0906b9241a799ae4d33ca69ecf2507670' [crates.aws-sdk-appflow] category = 'AwsSdk' version = '0.28.0' -source_hash = '33c03d8e43df677468f98fcc1a1fa2677ba86be0d68bc2349be770b5df2fa82c' +source_hash = '148af95979bff432110dbe39e67eec09844477d6df56e1e4231e04aecfd81618' model_hash = '36524d57453644bf98a219e058977df6e9786b69920e0a42e911e4c35cbaf944' [crates.aws-sdk-appintegrations] category = 'AwsSdk' version = '0.28.0' -source_hash = '9784a55d1c6f7b4ca3940501e619be6a8d1d8d8cb3c938a5e520a81675da565a' +source_hash = 'e3572bd87f3a4f3ef774680f1a0f5b3d9a57c7d1416e60feef90453d37eb7c60' model_hash = '67f2226cc4d7a66408d1571e92fd6a97bfe5207505bf6377c7d9b96488a8306f' [crates.aws-sdk-applicationautoscaling] category = 'AwsSdk' version = '0.28.0' -source_hash = '30d5e8a0b5593e6c108ef5816e7a48c90475e3cf14ed722b9bbc63ac64468ad0' +source_hash = '8768838d8888dd46d55a7a4dc16725847b2ad57ca993afa66ce2f89200185848' model_hash = 'd254faef88cfae79d4fdddb8f67b7caf5ad4917361c528811cb1611e6551f09f' [crates.aws-sdk-applicationcostprofiler] category = 'AwsSdk' version = '0.28.0' -source_hash = 'f195efb14219f46a7b78cf1b37c2ed67d376ec54f7d5cdd57a6812c159b1f16a' +source_hash = 'b8ada4ce1c9453c4110743ea019431235c6f7a85f519ed843c6e03c9a4dcbe4e' model_hash = '83ecf9a436d6f362a63b2f3c6a63538d2c87e47ae8caf4d526bef1a366544a96' [crates.aws-sdk-applicationdiscovery] category = 'AwsSdk' version = '0.28.0' -source_hash = '67c53acf3691b882853e26978c2ca609a835b00dde0595ba45c6ea31bb951597' +source_hash = '86fd2ac345869b05b6fdf4ee36ee948b786435f05fd27fe91e93654adadc1072' model_hash = 'fc09d0c699d42b7040f39261b9748afc5732e8b62f73ac4c62b266499e9fb71a' [crates.aws-sdk-applicationinsights] category = 'AwsSdk' version = '0.28.0' -source_hash = '96694ceedd9043ea37e33dbb0cd864e5087238e5622c8925064d2804c0172f43' +source_hash = 'd1218e0eda9119608b2cfcc39ba8510ec665ed68754c0fa681aff5a5619f7db2' model_hash = '0783aa4891368dd83487afbe45d2da4f2713d994382dae6157addac6d26c97ec' [crates.aws-sdk-appmesh] category = 'AwsSdk' version = '0.28.0' -source_hash = '3b9093cc94a8b00b287094491af368d73f45081dc3c624b02c9a084b17297e95' +source_hash = '7213ea165f50701b8c8eb306518fde01e6ec853b595a82c23d9375b0442a1a74' model_hash = 'd090feeb391b4d227da8d091bd684e2cac1e9d5ccceccb22c641ec924132734a' [crates.aws-sdk-apprunner] category = 'AwsSdk' version = '0.28.0' -source_hash = '8b6679fda306137419acbfeab14cae90b866a911e48fd78624e197205d1c4169' +source_hash = '886767ffd2baeedadbd2f6c725f9ef3151146316707fc910f6ee8223af0adc71' model_hash = 'd4f783f44f4c2241d12e53b9970a76ce9c1e5e3fe5c26aa88aec49aa0824c3bb' [crates.aws-sdk-appstream] category = 'AwsSdk' version = '0.28.0' -source_hash = '2be798e937380ebcd71a37a959279d2633778bb160f747c8893c1d1086b02827' +source_hash = '93c3fe50fc129e3c3ad4738dff3704fee82827f45d0fd9486d28cb35724a2ef1' model_hash = '9db68d7ea3e71df6635965eddcd44dc7cc7268d847e516c13aa88866d2116421' [crates.aws-sdk-appsync] category = 'AwsSdk' version = '0.28.0' -source_hash = 'fb0a5c5ba412fe188b8bc061bcc6cfc0d0254596606584dafaafa7fc1530225a' +source_hash = '26de3343a3814c85badaea4a76639272d215a560c827f28f4d2591e0a80b99b0' model_hash = '2f804a845abb0c0eba333b8e07f5d5032cbe185dc2872336f295ce3152eae92c' [crates.aws-sdk-arczonalshift] category = 'AwsSdk' version = '0.6.0' -source_hash = '3bac9b3f59048c61ac8ebd2e747be1b746405a725b473c5770befdd7d05617a8' +source_hash = '865f6bf9ee46e5d0afa24025c8f4b82e7b694bfcc33d32933e5b367d874c7466' model_hash = '5c3daab2370c746c8817f332c8dffbecdc794800ec4066c69b319bcb1c7c062b' [crates.aws-sdk-athena] category = 'AwsSdk' version = '0.28.0' -source_hash = '5531dd546c0670f5373381855f1817d3149f9ff1482afd7e708f3b587a230018' +source_hash = '284be5f7b51aa44762b3752df480b6173dbee7c51394eb3c963ceacc878ae15a' model_hash = '155a141c278baba1141c85a8979e8b24a2f56bd0edf22a6463033b6aead05d46' [crates.aws-sdk-auditmanager] category = 'AwsSdk' version = '0.28.0' -source_hash = '4fdfb0401b7c44b0dd497594237927b3d90b48eb0eae560f70b5deed6b90a157' +source_hash = 'a9099f9aacad7797c084f1aca904a1a82031f9d266e8cfa998e0327fcdd64386' model_hash = '9475767ef789bf29bfa809dcebf057e1fde956f7adeb11f77e1ccb26a7a410e3' [crates.aws-sdk-autoscaling] category = 'AwsSdk' version = '0.28.0' -source_hash = '3127fd4965e8ebccd23b5571967965b4dec7a90077f5139aa3672536f8b55827' +source_hash = 'cb1b62b51c119ba64d0e45eb01c626d9ae229f701dcf936b55a14915dd3de995' model_hash = '22a33eb5bf60144607923592e547d715e797b8ad3b47cb802d96dcc1f9820233' [crates.aws-sdk-autoscalingplans] category = 'AwsSdk' version = '0.28.0' -source_hash = '34a43b95f0abd087f43e045daa3e75ef94b0ce97f27613d5b59f114f2e6696a8' +source_hash = '0f11089cb77c3c09033b22790c8d447d1971a9107ceda35c5bbc9b7d1d37b3e0' model_hash = '33a8f7a8227d727849327e523b2acdc751a9b6506920b5b05ee217064a88ffb6' [crates.aws-sdk-backup] category = 'AwsSdk' version = '0.28.0' -source_hash = '2033f54f4b0a4672ba5a7f63e7ae7d6c04c2d197067c2f31d6cd0b96b69d8440' +source_hash = '11a6a6557a75c397aab19057709d1e5c5a7dd8d6c22e89a425abb7957486f04b' model_hash = 'e437a971e62a23a2b00c8bc50032b37e515f76ec2acb606ca3ffd533e0833113' [crates.aws-sdk-backupgateway] category = 'AwsSdk' version = '0.28.0' -source_hash = 'e5e0d97a02e74a2fe027787f34673e93f5cbf4b365d4fa2c68cee64ffe5432ca' +source_hash = 'ad634559271773f5e1c9d693fb3c2c5061bd9550930be76298b94ad5993ec872' model_hash = '4d4f8064751af5a319a82a2810e636d959cd6996bdece2baf2e7a32f7396b500' [crates.aws-sdk-backupstorage] category = 'AwsSdk' version = '0.11.0' -source_hash = '84df6c6b27c9e62d42f8c9d74283d01df27ea1d39e80e49f7aa8c1a4ef501989' +source_hash = '6e2a615d9ec803686c716b18aee33658c5ad5efc0925b95c6a3187c423d3210d' model_hash = 'eec38465b7eacb21ceada7610a613e2053dcd87a044d7232283b9e05cc736dd3' [crates.aws-sdk-batch] category = 'AwsSdk' version = '0.28.0' -source_hash = '6f167f9524f699cb109fe42217a776c586ca5c2ddeb728bc161963178489b0ed' +source_hash = '01b0c867f0d880c3a4e368abcac10ee249370f616689b231685d9018745a06ca' model_hash = '75b3e776e9e5b0c3fc2ca4359e1f0549027e44a30c8236decba3d3193b55c915' [crates.aws-sdk-billingconductor] category = 'AwsSdk' version = '0.28.0' -source_hash = '2d8bdfc1b84c99d6b9c598a5f4b1ad6f4d0cd0c3813be3ff187fc07f6e00a50d' +source_hash = 'b3ce5e295af6a1c80ac00d5b81c4637773bf700ba6ecce3fbd5d4fc6821d7622' model_hash = 'e18d924cd9f292f2539ff59e5a9683ed013cfb1f03be1ecec0e0c2a1df14d964' [crates.aws-sdk-braket] category = 'AwsSdk' version = '0.28.0' -source_hash = '7d310695eb8ac3c944e23583262f202089b1cb1f6c2a3b7236ab221e6ddcda55' +source_hash = 'd7a04acdd506b1bf2bcc054d4c5497351d265da01c1161996954a90b1ae94dc0' model_hash = '5f9f8f4d954a5bcb2069797ede6c7d7e88406cc691f6065de5faf9272d0db793' [crates.aws-sdk-budgets] category = 'AwsSdk' version = '0.28.0' -source_hash = 'fdf24fd5b1fdb377cb3511d1e137089a74fc0618132f0b2b4c310de5c2844b62' +source_hash = 'f9e4bc7a8f02c6569341a3f4d40f592a54d14759ffaf980b62a9c5d269a71d6f' model_hash = '7200d367fef51117508d795a753407e1b7871f898bbcf0fa3432f15c6c49a822' [crates.aws-sdk-chime] category = 'AwsSdk' version = '0.28.0' -source_hash = '211f4f923b0e6ea9a1de833bd8ef1d8a7fbb6006b789db8166e79ce06e65d9da' +source_hash = 'f4969e4dff5153ba92917155d26539ec60866508a46bb75cf6d1585a79883185' model_hash = 'd6d6726a364e08b99f78c863d1426c8d14b5768367941d689e2df0a327bad2b0' [crates.aws-sdk-chimesdkidentity] category = 'AwsSdk' version = '0.28.0' -source_hash = '9573fe7bf188be7a6eadfa598dd1848063a33510d3d2c3b19c8aeba9889ed0a6' +source_hash = 'df727eab22a648a8f7efb14b2a2a12cb6069db65192bdd4839a80d53dcefee90' model_hash = '25be44e53881536de61d9a802ed0ac8fb1220a62823b1112b8154c1d8a0e81b0' [crates.aws-sdk-chimesdkmediapipelines] category = 'AwsSdk' version = '0.28.0' -source_hash = '45e9cc011a24de865ed607bdea5e1dc521ee4b77170fa6afe9a5247c83605383' +source_hash = '7d98f9fb6b73a66d0f31e5b41d2aef9b3630681ff38f905f0c5c0443e85fc29a' model_hash = '98a7a93f41b243be12268489ec3e4fb6aa6e9fd125220d73ff4a8795b6294eb2' [crates.aws-sdk-chimesdkmeetings] category = 'AwsSdk' version = '0.28.0' -source_hash = '72f5800314a0655e07c0216bcfd4d70a899e265d00f72490747f07478eb3d63a' +source_hash = '67880ee381e97bc26a80e6ca3ea9aad6fd1aca174a30b28e5b8094b2e29b3e8c' model_hash = 'b3beff5194c55fdefd16591354067acd001c153fd9f33986b42adc5d219f5766' [crates.aws-sdk-chimesdkmessaging] category = 'AwsSdk' version = '0.28.0' -source_hash = '1821133b8d2751996d1a36c9467c6a8ec1c4cd920ac0ccef93296aafa4ab43f5' +source_hash = '27936f195114f8272318bebcef2508efac051d595a3285e51a0d6ec4ade4a070' model_hash = 'f873ed809701ff5c720e3dc8f5b1ce3f4169500937d9027b1c602280118f9485' [crates.aws-sdk-chimesdkvoice] category = 'AwsSdk' version = '0.6.0' -source_hash = 'bfa4190c35408d8b10d73fb4f8b40589b4b68e142e0aa3d077e20b3dfa66acb2' +source_hash = '9048e9ba024530e136d65907bbc0b74bf05ca1ce76f4adbd30ff3789c8f23226' model_hash = '14542f347eeb1e958dfbe6ca0df3d5fa1a7fa1ac2a137bef68f380eaaf597435' [crates.aws-sdk-cleanrooms] category = 'AwsSdk' version = '0.5.0' -source_hash = 'c93b75caf2c70fa3cdaf3017371c67726bb9524f6e0c52cd97bcf50321d19b12' +source_hash = 'f79b8a79e4649b03e121a24a9592912e61e196f961c2d94e1afe2c4716eb8cc6' model_hash = '4783e0df59b23f0bda7685b221807acbc0fe64e6eed0619d324b50b17d000edf' [crates.aws-sdk-cloud9] category = 'AwsSdk' version = '0.28.0' -source_hash = 'f1037128a5204dd670326971c0dc461f8acf97695aa38a0286fd95d5300318b7' +source_hash = '149fcd8e0ae597bec6109f7bcce818c81076c577cb42075c4fd86d1933f16d5f' model_hash = '67524512af7486dace8d8da42d6b958cba4ebf0bb28c458375360c014aee9746' [crates.aws-sdk-cloudcontrol] category = 'AwsSdk' version = '0.28.0' -source_hash = '889797fce9a9c024208cc098500f8af20d0ca8518e52f28437686a075dd1c542' +source_hash = '0545973a48f5623bda33a109a1af09b2cc4ef853a31d529d6eb368c1a30993d2' model_hash = '85fb2815181856bf40f233395b594663dd11a936e41b9d60f6599365fd92a958' [crates.aws-sdk-clouddirectory] category = 'AwsSdk' version = '0.28.0' -source_hash = '35c8a631672d682ae52bffc70ed0a9fdc3677ff4e9799c4cc6df094316c2101a' +source_hash = 'e0b392d2178bc076cb738909fc6f059d5d44ce1c76c9f3670253eb9b8a4186b0' model_hash = '3301fdad1d8773831c9a5c3b1b009771a3a9784f14bc51f600bd70ffec0e641a' [crates.aws-sdk-cloudformation] category = 'AwsSdk' version = '0.28.0' -source_hash = 'd4de806053d4ec3f71e33a89bc4c91021bb2f02a498c6773e1c9346569f83bc0' +source_hash = '4c98294017dc5393d0b8d8d1c1ff44bd7f0e9385eada42896d116f7d76c912a4' model_hash = '830095d556421ce3f48b38fb4444cff911c11e34c10201c4e0db7097aac4b32e' [crates.aws-sdk-cloudfront] category = 'AwsSdk' version = '0.28.0' -source_hash = '3156b4654b5c32cda49aa82254607c08a6f4958150ecb93f82d4451df90380ff' +source_hash = '821560803531769d018dfa496baa5e91bc9b911cfa59a2a5098c78acd6013a03' model_hash = '5106b48f35ff12473566b93a17157d527fe54d5c5c5171341aef1795be99e07d' [crates.aws-sdk-cloudhsm] category = 'AwsSdk' version = '0.28.0' -source_hash = 'ec1da7a57e8f79e0cdf4c4a100c28b712160aa378c579a0d6f4b82bc8fed64aa' +source_hash = 'fd85421e1334e5d3f42647e076ab375e5c289fc5bf8549fddffd4ffe78683ce9' model_hash = '8c8725118a2ac46180c12fa0136dcb9d1c6aae9d74b5803dd53ddaaec42d6f0b' [crates.aws-sdk-cloudhsmv2] category = 'AwsSdk' version = '0.28.0' -source_hash = 'de4137f402dd7bf0fc81b13a5773e0473ddddb753dd34bf5d06849dfa221499c' +source_hash = 'd41b75dd19418ac1123fde072f441ce46790f615ca34f8a2a592f132945ddb34' model_hash = '6cc938f23577b9b708e3a9ba40fdda61d002cb877fdaeb890f175f000a3f521f' [crates.aws-sdk-cloudsearch] category = 'AwsSdk' version = '0.28.0' -source_hash = 'e98a19d64bacf64a1c1ebe54e4d0958473fe6606e440cd99484ae480443d12d7' +source_hash = 'a731714291af47feed9253d55da91fd8b0a1fdba157fc63573ec2de61aa0d958' model_hash = 'e9d4d75d74099a4be214ab4cb8914917d0bab966a6546771553e89e5ded9e90d' [crates.aws-sdk-cloudsearchdomain] category = 'AwsSdk' version = '0.28.0' -source_hash = '3c5bc57e575401b6dc1918e7fb8d550c325c83c59c2ed292a691431da091a9f1' +source_hash = '483a7af976ae284a59b0128268adad187c4c2039dc3288f1e9b7c196160ba159' model_hash = '081b0255fefe5712d0dac417b38c34f701c5fc861d6b8b38c769f48d9f20806e' [crates.aws-sdk-cloudtrail] category = 'AwsSdk' version = '0.28.0' -source_hash = 'a128f56ddfa0e13e56b9cf447e70351cfe29beed7fbaf8a015a8bb3168687879' +source_hash = 'c3f547606837df0e334282b668e57fa01b413ce2d86c6d299291da84c3241eb7' model_hash = 'c87db188e335a81afa8f49d342f1d04f2ed958fdd73500c02cdcea2e7ea28a61' [crates.aws-sdk-cloudtraildata] category = 'AwsSdk' version = '0.4.0' -source_hash = 'f2e8f0957094e01197ee5d6f48a87725277f4441bbe3eb31b191bd977bfa5f0f' +source_hash = 'c14e368f910d344b56e6f2b552dd36bc31664e47c784f741c80352439ae69fe4' model_hash = 'eae48d2ef18c428aa9d5d07f75995e32e6fc3305c27755a0119daf9229380222' [crates.aws-sdk-cloudwatch] category = 'AwsSdk' version = '0.28.0' -source_hash = '91a044c324bf4f3ec5665fa676c54db83cb18bde0ee09f421e88bd028fdebdea' +source_hash = 'ce8eb037356fbe0d026cfcd5dd0bff17d2480f60a067716585cbab86ba1b2694' model_hash = '1b4909210dcf4031195d7c045f5f317a447f33b5af01e1c803820c8790090aaa' [crates.aws-sdk-cloudwatchevents] category = 'AwsSdk' version = '0.28.0' -source_hash = '6aa067e080f2018b32b7773b08d378b0b84b56d7b58da758dcdfc07a48bf713a' +source_hash = '120611ed826f1eccc90b7d364ef0cc5df5b19dd0b961468280f02e085a849742' model_hash = '1319af5bd27f4c1f19b21f423ba2c664fa7514898e21de173b45d66289c79a19' [crates.aws-sdk-cloudwatchlogs] category = 'AwsSdk' version = '0.28.0' -source_hash = 'a2e6b2927685375f67c225ef1848990d7b47ba085e648cf65e97851981b50bb1' +source_hash = 'bb825dc89ef20fa92e81682c2746f967a31a2374f8c90ec620e8236849c20ae6' model_hash = '8150df2254e1e71cf1f4146f53cc7ead2345df915c40ff199ced6821fb240609' [crates.aws-sdk-codeartifact] category = 'AwsSdk' version = '0.28.0' -source_hash = '5fbb373c083c09185cf2aadead728153dd7b0e5978d3b63e96e33e2bb84495a9' +source_hash = '42302aa076a88c42569c4bea5cd5265eaa2d7d33ce983b902df0e24cf62b3237' model_hash = 'a7d09b4148191502276f4e68973ae36e1e9562e7f0bb14a5859f659924587d94' [crates.aws-sdk-codebuild] category = 'AwsSdk' version = '0.28.0' -source_hash = 'e02229dc3de9204d1c1cce1583084d0ae082d2abf5c0e4dbf05c74811441f4e7' +source_hash = 'a1352824b3ead14f5399b827057908b76d4a129e4dc0fdccc64a8465bcd7f9ae' model_hash = '3a99da0d1ef9c8a7addfbe6c061fb228059d809ae97c05d41a1190821ffa6643' [crates.aws-sdk-codecatalyst] category = 'AwsSdk' version = '0.6.0' -source_hash = '0631a598bb28adafcb7e9eb94552d66c8d9e6dfa710c416ba51d906bb1fda5b9' +source_hash = '4128a97b9b15772ba07e420adae07bbfb7aebc71d3bb7fe54e9a7ebea9c02dc5' model_hash = '7e4c503ca33570c92ac2bffe54b601c385031034380630f2bd844201994bee20' [crates.aws-sdk-codecommit] category = 'AwsSdk' version = '0.28.0' -source_hash = 'f28e96cbbc74eb76906a7d61c97f96fe276eacc6a2132e435c2ae4d705050cd1' +source_hash = 'ca248cbfbf17923ebf53b23eef233e1860d366255a84071e15f6ba1e52dd8798' model_hash = '96aff7b5dcba3a0a0698cc6c53067140a0f88e3947729065f4c9421d3cddd076' [crates.aws-sdk-codedeploy] category = 'AwsSdk' version = '0.28.0' -source_hash = '234c253f96856f8a76714a1f914d42b50a09fd63f1073c7da29cf043d28fff2b' +source_hash = 'd077d23ef60e84177c20ce873f53b681e9db1b8d811abc681f8c5812782d89c2' model_hash = '343be297e53286282c661435c6802d6134aff9dc148499d50479c920e335d93d' [crates.aws-sdk-codeguruprofiler] category = 'AwsSdk' version = '0.28.0' -source_hash = '33cc65834c68dbf70cf0945d381d78390275f44f5e1fdbf4e2def68c0ddbc776' +source_hash = '3bfcb028f29e131fd13e7aeb514079eabe730b3103014052d5af9f493723f7d5' model_hash = '3a25c537869517615919bb4b83195b2e982b7035981f613e761adb80b55ed026' [crates.aws-sdk-codegurureviewer] category = 'AwsSdk' version = '0.28.0' -source_hash = 'e7d4ce50a517d8b67cb21572bbca44586827e2f2d7dda98d4fd3ee433b07fbfc' +source_hash = '4a5c6393576c1f5ce4f0b3f0dddd11cc7cdcea5ebbb86dc304b6b6b0b977d895' model_hash = '4e0ea3887b83c0c8ee2c63af45476b789423d84face12c511634899247b92dea' [crates.aws-sdk-codepipeline] category = 'AwsSdk' version = '0.28.0' -source_hash = 'b7c20864099370e0f9f819ff0dd9d8d64fa348b0166c0b42dd3c2ac260c37aaa' +source_hash = 'd321de568b5cb860227414fa6e77696484b2b1c9ea185611343fa190f687761e' model_hash = 'f03bb9f44e78e32644871862eb286e6d0d02e404e9f50746d7f7b0978dfd2bf0' [crates.aws-sdk-codestar] category = 'AwsSdk' version = '0.28.0' -source_hash = '87a5faa70b2635af1f711d2d5391b98689773da2fdbbcc5570f6dfcc81630671' +source_hash = 'ab35a8e8345d27014733b699411935630e409b8b574a4a90dfeb2e6fc1040f20' model_hash = 'e0c9000f138326ecec45dd0a6c7687b62da1fbfe606dc74d657a23e7d13adeda' [crates.aws-sdk-codestarconnections] category = 'AwsSdk' version = '0.28.0' -source_hash = 'afb9942f0e88b7628b79546f342f8bbf29b6af14f7552838ce349d1aa9a91a33' +source_hash = '7fc64489dc0bcbf614baa007b24db9745427a4756ca5c1e95b05d1edb208e99e' model_hash = 'bd856e5ae352883cc4ce3b97217a82f3acaa51e7c830b89a5a9e62007111032d' [crates.aws-sdk-codestarnotifications] category = 'AwsSdk' version = '0.28.0' -source_hash = '7b4f1ca0bf07c514cbc1e72e2ea4fa725026f64a2c2a335b484ddb7002f47cf4' +source_hash = '66f68bca306f534e771d8b27169d1c6d2c2be16bf82b6536c303c8b9a366a2f7' model_hash = 'ecad8988635d4f668ad3e158ac1660b1f3c632fa7d9c3c20444859613e62f9ab' [crates.aws-sdk-cognitoidentity] category = 'AwsSdk' version = '0.28.0' -source_hash = '9a070d1b11e0e45e46e3d195da940d2b6d7c96ac89266ad687d6fdd309243136' +source_hash = '6e1011ba00dbb04b8f4f810fe58cae258436777f992f854b3736a8417562b405' model_hash = 'f34acfb5bccd371c772da48d3b5ac12fee3e94d0d1e6944d106bba6363366d13' [crates.aws-sdk-cognitoidentityprovider] category = 'AwsSdk' version = '0.28.0' -source_hash = '9ccc6d9481527b09bbb8dc4a0cb27bd10b3381e21314c976e7bd35c4cd7e1bca' +source_hash = 'd209bb3588feecd40fac924b763b21012798919cce14efc2cf77f51deb43f5d4' model_hash = '800cb51e6266f699cd232c8ec5297dee086542380df202b75fa6b6ba16eba368' [crates.aws-sdk-cognitosync] category = 'AwsSdk' version = '0.28.0' -source_hash = 'a2cd7790f3b2285b3507d3c124ae2c707f9a74b70455f6e21acb160d6debd8fb' +source_hash = '085d80d04b7749ffb92e2d0effaf9a7b367d19d5ba91bc1ed7d92a3facfeae38' model_hash = '790491786e09c38742fecaee6543ca49a1f0ddab1331f7ee7206c7e299fcae39' [crates.aws-sdk-comprehend] category = 'AwsSdk' version = '0.28.0' -source_hash = 'a9c6bd785bf741cf41e3a4884fe7429d4267cf2633265710abd170ef9ac5232b' +source_hash = 'b5fc2d489760d1bec1987f697601223b52c397258f7834fc42ff63c52141dd22' model_hash = 'e7d6b530869527d603da968da3a10f33402f4dd5509c142c158bab82c4586d57' [crates.aws-sdk-comprehendmedical] category = 'AwsSdk' version = '0.28.0' -source_hash = '827629b45bf3ffdc8d291cf0890d7d21e65b62d6dffe67c81ef67b3d316786c5' +source_hash = '2dc42100b6de9a2498503439024fca737da3c1dadf38a0de7c747f0374c415fb' model_hash = 'dc7c5dbd8984b352a341d5faf4d25f12be9ebe5c91786531859fc162fe0b8d86' [crates.aws-sdk-computeoptimizer] category = 'AwsSdk' version = '0.28.0' -source_hash = 'ac835c0793cae6cb175f52acf2fb85cd0493f4031a69620b94f803802778696f' +source_hash = '00a013baafb476bf244764643d8268259ae7d1b6f81daf4593c21371f7e9cc9a' model_hash = '91896b5b4963505c687ef124ea112294e071478c3f4f6fc7f8583b915ca0a8a9' [crates.aws-sdk-config] category = 'AwsSdk' version = '0.28.0' -source_hash = '2e7653cb0b65d00cdc180ed425e41c6c78c4b5b958873828f4fc440828ba5a5f' +source_hash = 'f179db332c9d3fb0af34624900594d51f297dd2ecf2a9468a3ea42cb487bfee6' model_hash = '53a56e84451ae7c61e4f98ba1ffb7d1f2b82e83bcc70dc636b56d6e58aad5472' [crates.aws-sdk-connect] category = 'AwsSdk' version = '0.28.0' -source_hash = 'c0fa9faf3aebc09e7d980eafb4c082f01f0321179bfeaa17dbbc9cafcc83b430' +source_hash = 'ae0d6c9aa286483fd1991d9974d678282d25231d75d9b191e17ed4fd85782f3d' model_hash = 'ba222d328ddae26b759e18ee0fa0c74d39f021d63cf3e0638c935dc1680907bf' [crates.aws-sdk-connectcampaigns] category = 'AwsSdk' version = '0.28.0' -source_hash = '06b8b81633c52036e9c6dd6dd769d52c67d693d125b55f718118d14788120bc1' +source_hash = '81c81e79093b70732c507d5f5058b9ee4517e78ed66208dfa2c0734295dc8fe7' model_hash = 'f13304bff4f5ee44d308e2932f3b37cd03450986fd76edfb0cdb222a63c14993' [crates.aws-sdk-connectcases] category = 'AwsSdk' version = '0.9.0' -source_hash = 'd39159687c739dd7002cbea583db9e0ef1a11f1458fe9c72b385cbf0fd69c104' +source_hash = 'a628a5107f6952f3676d95070a25cb2bb55de0e35cb49256ed5479bd58429014' model_hash = 'fd07ba1847cff77a1ab91783ec9b936a655332fe5da37e5d82cd37a3b31e3deb' [crates.aws-sdk-connectcontactlens] category = 'AwsSdk' version = '0.28.0' -source_hash = 'e92834ed06ceda8c2e9e025810723c8db7c97191ce9f7cda012eadca028d1b6e' +source_hash = '379025789273a1e50ca4854bd4732151958ef0a387e21b4bbc96a6285e8047cc' model_hash = 'ff02c3d1e7d8f4e73be673983c4288c5ecec18b407fdf50a49ea41fcaae31393' [crates.aws-sdk-connectparticipant] category = 'AwsSdk' version = '0.28.0' -source_hash = '0516ff987101817e0981df5693046e96d1a04d64dad8b501cec20cda8355814b' +source_hash = '0a7fbdce2547ae609bca3e0205300dd29ac3d9c5d0125df710aeabf75aea29fc' model_hash = '3542106675c7550fcd4693f235f63bc317afcacc33de2638509923468c417dc1' [crates.aws-sdk-controltower] category = 'AwsSdk' version = '0.9.0' -source_hash = 'b9ec899e54b299007e8b86d51129957a348c58fbd415cf56b4d77d422262c9cc' +source_hash = '9ab0d64000f883b35d226bad2311ad3f5a9b5f68382544f0292b73ee7346172c' model_hash = 'fbc43512c94be027a814fc9364c8fb13e2d70bc55818678d3bd4fb8ab469b9ca' [crates.aws-sdk-costandusagereport] category = 'AwsSdk' version = '0.28.0' -source_hash = '2e36718d99ac292b50d236557ffa0976690d9f2190647d77a3276777d436b9e3' +source_hash = '6cb3aad52089b249a678c0316839e2445f9cb520a9334cb10555ec68fb10ffda' model_hash = 'd4f6428bbc7871a13f689dc734009f374fd5e08559992f26f1e8ffa72c8b8355' [crates.aws-sdk-costexplorer] category = 'AwsSdk' version = '0.28.0' -source_hash = '751fedffd1abd9c2d17392bb83c749c063964a397443dd45176e821853678330' +source_hash = '9a3d5bc5c74e8632f41ef94d162b97e5faa4547729f7083a30a9a6ea9f9f4073' model_hash = '28d1652a32b74bfd35eb15e4282237ae783a6952f66d61fc7d652c50cbd3c7d2' [crates.aws-sdk-customerprofiles] category = 'AwsSdk' version = '0.28.0' -source_hash = '024d89dba6e7c02896b7dd934bcde6f923fc46746c27d159b8d6343ad71ec800' +source_hash = '8a7302e2549443af68db97edb48531ade54be08c33db49d41d47ecc04a08fa21' model_hash = 'c6cfc94623b7883a2d2a4caec5ac49211887828171fe8fd81e6d11c7726a7a52' [crates.aws-sdk-databasemigration] category = 'AwsSdk' version = '0.28.0' -source_hash = '552613d7d6fad9391b88c26f1a725b9da0db61dc9b4347d56022483154a71cd2' +source_hash = '7d9b20df7f190b241894aba167705c26fd567a0bd448f3713f09bdc3598fed80' model_hash = 'cd6b8d7cd6dcb4acba13964e27b522ec97a983f77435233805b6076510c9001f' [crates.aws-sdk-databrew] category = 'AwsSdk' version = '0.28.0' -source_hash = 'ab244a69fbd3c7a208faf3af9219d219fef003b636e81b445e801e7f79057029' +source_hash = '43be5030c9071cead17a07bd75d901c866396eb49a76304d3bacd3a7bb40f305' model_hash = '3fe9cd6e8323ebaa30d30b858eb21270ad468cfbcdda4034d0d0f5bbb03f2bf1' [crates.aws-sdk-dataexchange] category = 'AwsSdk' version = '0.28.0' -source_hash = '0479ffbf90a58c35896af4152dd36062b4110d5e42fc2a7d62f6e63654cbc4eb' +source_hash = 'e67851875d254fb7207320cd1a1ab062e22427f235d34f541c4b529dae93f8c0' model_hash = '7341ff4757df95d167da5ff0ec1a1689120ab4b235c37f7db26b8cd4d8e7d683' [crates.aws-sdk-datapipeline] category = 'AwsSdk' version = '0.28.0' -source_hash = 'f0430f78c43ea1670ecfe0dd5e4ae3b57a536218d76059c258d72da282a0ac46' +source_hash = 'cc45e9d648d86ff8ba446ea633f77b931f318053b84ea5d013a01dbc20e16f38' model_hash = '92a2eba58f4ac0f71d9678179d411a0db239e4856fd3d3e5f523dd5ac16b7bf7' [crates.aws-sdk-datasync] category = 'AwsSdk' version = '0.28.0' -source_hash = '1984b831911db5e73861dd1e837d55811f46acfea213ff0aaccd01834399e8f8' +source_hash = '021561715cba60369179762aefd51f0de77112f43ebc91bc9a143b2b4d4384bc' model_hash = '735f61524b1e5b094f2bf45d2d2fbac1ad04abb9b23c59f1d6966090d6dce333' [crates.aws-sdk-dax] category = 'AwsSdk' version = '0.28.0' -source_hash = 'ed26b0e6c1f3300c96ce6aad7e1138aefd2ae440e3cd9cfe85417018e2e1d64d' +source_hash = 'e64890d84c2515b2b08e6a5367c866d6714128ebc86dad0c7454abcb55ef6fc6' model_hash = '8592f965b1a51919e95ebea89885d785697a5b4e80c231ad0bffa87ee5c442e1' [crates.aws-sdk-detective] category = 'AwsSdk' version = '0.28.0' -source_hash = 'c58968b8363873fbe4f0fb3a9645b54e1d716683387e85b956e22453025f08cd' +source_hash = '0f037f2fd0ae9e924374c1e2e26aba2390d430ed995f4de859f09a3e5f15cada' model_hash = '07171b18d1c20b3329cbf70c502985270bd4c6875b5d31b506e4e1104cacb736' [crates.aws-sdk-devicefarm] category = 'AwsSdk' version = '0.28.0' -source_hash = '0e63f5f74edea2544b8daffdfd8ed8b17a0231860d9c837390c42126c4f975b2' +source_hash = 'f73ceb54b4f9e5d9815b945dedc78953ef2abf88491584e1e19cebc39d1ae959' model_hash = '0ce3b2f8db5951d1589bbf201cedd0011b8d235fd5592522c974fd1c9cc89d1a' [crates.aws-sdk-devopsguru] category = 'AwsSdk' version = '0.28.0' -source_hash = '2bfffafdd37ed312eef121862f8addfce2e12fed3192e377488c8efb6fc134d5' +source_hash = '3b79148e36ff2acf8ebd3f449aeb6a19e96d19fcb1c54492d2b2e9926916a705' model_hash = '0935266288441ff793c979f4a0d8337d1fcf83a8dfc92914908be7335a6ec44d' [crates.aws-sdk-directconnect] category = 'AwsSdk' version = '0.28.0' -source_hash = '28fcda661c6c5d7980fc10ccb676d742f3051280d3ec74be2f9681a1e7f8dd83' +source_hash = 'b53532d808ef455829013d01087d8d55dd1e2d2c0d1f69db9f56d40c94ff588c' model_hash = '645075a9531a2fedfa9a0308febff29f62ab558845377ea520d4dc7e3ac4b3d5' [crates.aws-sdk-directory] category = 'AwsSdk' version = '0.28.0' -source_hash = '7ef54fb3e53b64ede44cc7b160ef5a378d7edd305f4d8041120c4c255ffa9a79' +source_hash = '001948ed5321de2a9a34134a9580b2a9ab67d693e120952cd701dabd1303b6bb' model_hash = '8a23b51130bf457c91df5871f22409caf2eb6b77236152d4e2adefefc448cd36' [crates.aws-sdk-dlm] category = 'AwsSdk' version = '0.28.0' -source_hash = 'a563c0f3b992125c2a457007d59232ac34f8db1426be29a774ef649d073d665b' +source_hash = '7ea1eca5bffc561bdd77f6ec504cc4b4b21194b68546765b3c0fb6fb1b378ad1' model_hash = '711210c9d17f7e25111e183e83a2ef3c278ec6fb2ac21476091bdedc6ebd9bf0' [crates.aws-sdk-docdb] category = 'AwsSdk' version = '0.28.0' -source_hash = 'e23a0e71d080287101568fb945a216b988be43e293573ae6f58a66710ece0545' +source_hash = 'f7b64c5a3dc372d5288fafe1eff1d092e42b228ebf39b93f868a4073f46cdae6' model_hash = '91498d82330f29babc985748a419864d0e64d59d1fb5b8b3372c9ecf3d3161f2' [crates.aws-sdk-docdbelastic] category = 'AwsSdk' version = '0.6.0' -source_hash = '663d8850ec456f76080266f9995e0c9a70ea6f28c6b4c12e30880d424ab97bd4' +source_hash = 'ff3977289a296076b412f9b8c2be1139fd45b2f9954222ae75211e1daf5c5e30' model_hash = '3296c67b38e69f5be6a79825069d7e420d50b20f6b972978994584c224f9dd7f' [crates.aws-sdk-drs] category = 'AwsSdk' version = '0.28.0' -source_hash = 'c66b91f332c735215e90e1e2b328daf9110aae0b81bb5175d71b93979271cb09' +source_hash = '0cc8ef30f64b6a65ea0ea1da34e030b6a6c742d5a8a5be1764f4449b47aaefae' model_hash = '14427689c59b643e55be82895d35f9f66d5de9b3da7635eff0550fc0fcbd66a1' [crates.aws-sdk-dynamodb] category = 'AwsSdk' version = '0.28.0' -source_hash = '5f38f5a99e9e774b62962c6c7ee0b0555fd0878f3334f1ef17ea29158634df33' +source_hash = '83983918f6cc137c1468039c19dd568ef2b3803f335a36801d4ecdb0bd37edc4' model_hash = '33c6a8f74fb204e1a49d661f1a00f710830846752a6546d4e60f7b301e486781' [crates.aws-sdk-dynamodbstreams] category = 'AwsSdk' version = '0.28.0' -source_hash = '6e67f3b83937306ffef8d38be2b1b4b82561499c3b0391a2e467cee4b7f21454' +source_hash = '8e64bbc8f4003a2caf921fe58ec92e2d1e5393355499ce96456d85b116f06622' model_hash = '9caf6b40b3924481f87bd94ffbd4114703ef1cb17d7b2f3acd0df681fa203a35' [crates.aws-sdk-ebs] category = 'AwsSdk' version = '0.28.0' -source_hash = '5d92e48e2a122f3af978a03adf5a3aa8c1625759f4206b0dc47ba524b7e30df3' +source_hash = '5b1f6817f9943fbbe5567114c679439f93409740257b85934a8a5f754cf33d2c' model_hash = '2bb0d3b914f0514ac72110aba526916d3e7f158e2838f72480653c09be411111' [crates.aws-sdk-ec2] category = 'AwsSdk' version = '0.28.0' -source_hash = '2bbfe93ca08acf890335eb97bcf619ce7d7c033ddae8f6d706d041001316ec36' +source_hash = '9fed5ba035fbac6f364aaa79bdcb9c60ad686546dfc36b7f3e9ca68737872945' model_hash = '133f76e8c3230f8e2eb47b3d3ebed4f041c75850ca572aeeee334e3323fcad55' [crates.aws-sdk-ec2instanceconnect] category = 'AwsSdk' version = '0.28.0' -source_hash = 'be5c93ea64a195c406699552484177aee4cc7bef14e14ea68f51bfd1f0f9263f' +source_hash = 'd4489fcf99354ec52a18d4cb17c42bc9830b7856936b71a9a701d63c90ad8a9d' model_hash = 'de90c60bb99d16eced45dcd9e26223d171b67094c8c7188e5ecbe6179e0bc69c' [crates.aws-sdk-ecr] category = 'AwsSdk' version = '0.28.0' -source_hash = '956bd48b68092dd2424e5ff5c19aaa409ab59d79de4ea70b35aa646bea485aed' +source_hash = 'a9789caae649ae8d7d6a136ac5c8c4d3b41b34f7377285dac347fd4aaee9a47b' model_hash = '8631a4332271db2735746791312749e4439bb7108722c72871e74c3a25285152' [crates.aws-sdk-ecrpublic] category = 'AwsSdk' version = '0.28.0' -source_hash = 'a7cdf1d38fb814704deede9e209a40e73bfee7893717e19ae95949b8512766e2' +source_hash = '06f80b0c2c128024c60f8a1def7ee2ee32f6aa5720c1874461e609553995a686' model_hash = '9704b272b395344b77961659cb5853513cb96a10673859c2d3454c67e0975436' [crates.aws-sdk-ecs] category = 'AwsSdk' version = '0.28.0' -source_hash = '1b0f8d1e9d2e8110a996f6d142e981242b62053122a87fbcec6f28e1eb113e56' +source_hash = 'aa9247b4d1fccdf98db83696a96a7b3c786459170334d08c21a297907bb72d3e' model_hash = '171a35393ae2ce055b13002dc0383e2a83800ce02169545850a900d53a89d1c2' [crates.aws-sdk-efs] category = 'AwsSdk' version = '0.28.0' -source_hash = '3c315a848670809ac87892233f227e44b586b1a7278752f81f5c9bd679386120' +source_hash = 'cdd587294ea50eb0cb9de382eb279ab1ccf569708e6e1ce8b9ae0a4f81ed7541' model_hash = 'bc718e5c09299bd8ce8ec0a51e78c0b3a09e62546d4de03f434b970e2f60e11e' [crates.aws-sdk-eks] category = 'AwsSdk' version = '0.28.0' -source_hash = '316f773f5fdb714d49473af62435f9ab007fcf14fd66112ea19f1dc3721b1ff0' +source_hash = '66e628171a4975b5e9740383bfbcc7aaf6e6d1ec62405a484a277d8d2e359b75' model_hash = '28287ded3103062635ef97eb4f85cd939acd87c91b2d8fcb70a717a055c54d0b' [crates.aws-sdk-elasticache] category = 'AwsSdk' version = '0.28.0' -source_hash = '78391a03ae53946fdfdfe553da3ffe5f767380f37dd2f81df1f08d1090abe541' +source_hash = '7ead970fdad3563343bb2aa72aa268ffe9fb7d3c6b77f14d52400b44135f9543' model_hash = '18f1aa28f36fd6d7ae60fc7f2ce148e5e1055e815c73497084124c6452e652db' [crates.aws-sdk-elasticbeanstalk] category = 'AwsSdk' version = '0.28.0' -source_hash = '615d640edd8ff391805bf7b3f40fa96e82c984a488dd09869761453fb0646e78' +source_hash = 'c12034270cdb8633c9b6ddf03920e3dc63ecc484741f14d66684ae8fc974aa54' model_hash = '418da3ea540ce578db522f77edcb9481791b1dc0b8ee81669fface6e2e1967d2' [crates.aws-sdk-elasticinference] category = 'AwsSdk' version = '0.28.0' -source_hash = '1168366662038d51bd21d985bd329665493f616b3d66f4109aee02e3a51d2f93' +source_hash = '6d6d24792d1ed09802162b351d609d8f8d3881773606b0438c406ea513dda56f' model_hash = '1d734fda09bc8e7ad92ca10d7c7d7ea0c0be775cf57f01d9fcdc82be109bea30' [crates.aws-sdk-elasticloadbalancing] category = 'AwsSdk' version = '0.28.0' -source_hash = 'b063caa7a5832f939f5b74c32dba2b0522be45c5e29f07b4dfcc2adc108940ad' +source_hash = '6e71e54c78c30c14c408cb6292bc16e35cb67650c993c09973575c5b697abe13' model_hash = '36d71e0433d38c31df10e6d0a716bef0c8fad38662fa066e414420ed753e7049' [crates.aws-sdk-elasticloadbalancingv2] category = 'AwsSdk' version = '0.28.0' -source_hash = '3eae9ddf82ab778ff4bbccebf699006ea7ea82f2d9a773ec6a202e147ce0abaf' +source_hash = '0553e9c6e73985310f34725b9cf4cb584c69a8e3e9bb9fe56b1ea1ecc47524cc' model_hash = '67498ff5b2f29aee795f4df72025ec1ce8f827edda94efb19904af08badaa58d' [crates.aws-sdk-elasticsearch] category = 'AwsSdk' version = '0.28.0' -source_hash = '615f4e423733186b73bec2adf09305f4945d2432b9b95fcac55bcd516097fe26' +source_hash = '655bbdf3faa6286daecbff83c10b98b78292987f9e312de7003c4b73b974eebd' model_hash = '982c1f8bb7f6e9ed70a7d9812dbea3d9067cb5d589ba62be335f1374d103e36a' [crates.aws-sdk-elastictranscoder] category = 'AwsSdk' version = '0.28.0' -source_hash = '67403313d2ae9dbf47f039cf2fc677935fc1b5889f7bcc646bcc60d38d0c118e' +source_hash = 'f8e799c6e423af25fe83950af31e9d7d6a8ebf1a8334adae0ab50ed06ec8a8f7' model_hash = 'be6b309858e0fa7e540a23fdf91b6e73e594a54dc43bf43fa3d6a8dbb24cc0df' [crates.aws-sdk-emr] category = 'AwsSdk' version = '0.28.0' -source_hash = '4f6082b6296faaa8e7023e6326bdf4b356ef0eb8b7569fa482bfca90d4e3492a' +source_hash = '9fcbea9afbc6e8caff707aab24e28a57a97a66c466a26ad4b5b3ac517115ca6c' model_hash = '9e4446693bb0abc5c86c13226c39e0f1bcdbf990cc4c63f4ae25b11044c2e2df' [crates.aws-sdk-emrcontainers] category = 'AwsSdk' version = '0.28.0' -source_hash = '36b66ebb11127cf36c0f77dcebd2bb74da264d0ff4971e653f2857d3b1497785' +source_hash = 'e73f56b9a4c64ac907f246713c908378447759e5e86f634147e3f308ae7c5f6c' model_hash = 'fbbcee82587b1ef8c7a7632987fd980d4b69998183d103d7a763deeed66ba961' [crates.aws-sdk-emrserverless] category = 'AwsSdk' version = '0.28.0' -source_hash = 'a0cb34d292cea16a5425c249b6ba26076bb50104c6042175edf2bd2613415e49' +source_hash = 'af0e82d4c03a74b8449a3b734f5f1318d0e907465eb12f165064c26020357780' model_hash = '4c948f67badcf8185433472d90153e53b148255d69d71caad9ee0b5f381a7d91' [crates.aws-sdk-eventbridge] category = 'AwsSdk' version = '0.28.0' -source_hash = 'c4495fad828a73d818a88dbb299b678a5dcf5a2155c946838756e3173541d79d' +source_hash = '2e74e5c1db7206817b2cb7f6323546cbcc712efa4e19ffa8bfb4018264b8e528' model_hash = '7835d47c44b60e4ab972896ba0ddad9dc9250181890185dafede82e45690e9ae' [crates.aws-sdk-evidently] category = 'AwsSdk' version = '0.28.0' -source_hash = '488beb8c3427833556a9d935877ffa9f1b3d4f6264adc288f0435537ebf7c26f' +source_hash = '975356561ee81425e2c907253079cf42219e4ff13e7da496bcf21c61fb4e6213' model_hash = '4cb833d44f0595fd9a689a1241a704253b58b274c63ce20f25f3fa204f576dcb' [crates.aws-sdk-finspace] category = 'AwsSdk' version = '0.28.0' -source_hash = 'f9fdeae4e5b37647f43ac2b0c84561082455dd0d8a9ab6271adc4e2e37e02001' +source_hash = '0f5944427142c4857212a1751e7680527a319cf639684b113539ad0e432f675c' model_hash = '54b0dba3342e6aaca66bb7b239eed797dc922aa06fde69acd5dfc93a590e35ef' [crates.aws-sdk-finspacedata] category = 'AwsSdk' version = '0.28.0' -source_hash = '831a3231e16170df2e55a22ad79290f481b3a7b834da7786f51592b7d16ffecd' +source_hash = 'c0432c8bf6bf5c788f9d5cee54992309babbc0180c710dd6042dbb6f8e2e7398' model_hash = '097b693c4e13bf514d5a7868ad34f25d519c41e53f42604193605434dc8cc279' [crates.aws-sdk-firehose] category = 'AwsSdk' version = '0.28.0' -source_hash = '913099c7f8e2532031f2a0b3b51db6b966e6c659455d9f4af06d469c9efbaf3e' +source_hash = 'e88fe3b4fe7175905f3a7426c57ec63aa3f6c501cb54600fdb86eb16b8ef84a6' model_hash = '6c3b1c7d79a5589d503d22a36690e3fd548a6c33011d9a36f6747cbff6ad3bac' [crates.aws-sdk-fis] category = 'AwsSdk' version = '0.28.0' -source_hash = '2f1de9827740c8e195377bc6f2ec7d70725945b3b928154bca9285866b757533' +source_hash = 'd3f570742795006fcc32021953855764e972e325bd4dea320e17dab203b85816' model_hash = 'b1cb51767a8bd99590f5c48477d0898469429e281add7f5e9f51138d400d9c51' [crates.aws-sdk-fms] category = 'AwsSdk' version = '0.28.0' -source_hash = '8b9cf80bafa3e0b255504b2b9e97d6acd867f6dfab5821e379382e5888dba333' +source_hash = '1a9c9c00dfbc85d9c9923cdcde404bbcceda3738510bb4a73ec96695de386a07' model_hash = '916bbd4dedc3fad8d7d02f7bc223213f1c69c9c4e0d4f837d84eafa515fee9d5' [crates.aws-sdk-forecast] category = 'AwsSdk' version = '0.28.0' -source_hash = '2b29eeaeb0eb3adbd727033ae88383bd94edffa9bb68796ac154784712026ea4' +source_hash = '38e19326633fd2b194160756355b2155902a81ddfe6e569a2c3421ab57d3115d' model_hash = '7ae0f1710b29329b6b41ac88493aa503942fc0b307f14ff2c00022798947d832' [crates.aws-sdk-forecastquery] category = 'AwsSdk' version = '0.28.0' -source_hash = '118dd49c352496364d4d15b632f1aaecf88587e56da410e4fe2a3abf73cc2731' +source_hash = '01cc6895826f3d98505e7ec5f494d02d71b24d1a35eddf9db104887b04fb5d0e' model_hash = '02cada1d3b7b8fd51e360a019d239cd15f3fa98b751614bdee094d8b00b61b54' [crates.aws-sdk-frauddetector] category = 'AwsSdk' version = '0.28.0' -source_hash = '196f2da3c76af1a599776013e513182b36789543715bafb08dbd9a4526cd25e1' +source_hash = 'c53227a37a439f969f992b03df657758d129a2dff902b7dfabbc3235bb3689b5' model_hash = 'af4140bd69f633be148df11e0e09d7118e3b9b7ccf95557a6eda974f07fea197' [crates.aws-sdk-fsx] category = 'AwsSdk' version = '0.28.0' -source_hash = '389ea8f66c54b18791be5e5cac74de27ca3c1f010edf3845a18978033532c506' +source_hash = 'aad4011ade86d239030634f6023f7bc0862741ced950ed1763f9fb490fc251af' model_hash = '8f68f14e1b430e786ce7c5e76febdcf726dfd4bbcba5c22057949b3912229e1f' [crates.aws-sdk-gamelift] category = 'AwsSdk' version = '0.28.0' -source_hash = 'e9756d73fdfcd1c9f80cf0b3a3eb81b5558d026edc116f2439183cbbb369e308' +source_hash = '23967416b85fa7bb2fe7ad3d6831d06f552a0ace3e30bbb777018b2f7829d495' model_hash = 'b0424affc75b22478f261779c0d63a444a7d69c1eae1961fe7a4b5fa366f2758' [crates.aws-sdk-gamesparks] category = 'AwsSdk' version = '0.28.0' -source_hash = 'a9ef9c36044cfa1cfa317fe3bac07350ed092919fae1572143630d7377a50233' +source_hash = '322e1c17f8fed0a75fff32271f7d0d60e02a3193c93623861c71714343d08516' model_hash = 'f20e54c6d35b007966a13823d72d6145a2b63f2d5151da62f64ca62b4a6d3b58' [crates.aws-sdk-glacier] category = 'AwsSdk' version = '0.28.0' -source_hash = '5ccf80cfb2a0ecd8da41372a78bd0725d4f8a13e47a3f77bcc89b13d0abeddd3' +source_hash = '40b723a6361e883c4286348ff938bce2c32e84032c29e544ca58bc8137d5cea2' model_hash = 'd4cd7c2520c7e42b3dfadad24e10c1b2aac7d710100f22a2aad1e6083fb8d3a0' [crates.aws-sdk-globalaccelerator] category = 'AwsSdk' version = '0.28.0' -source_hash = '9e03104ef50863bf27884d3a5c0b53e93742fb32243d01ed747f4fb96740af06' +source_hash = '332c719aceaf9590097f8d20b3fefa34cda7a9db7c7d1180dca9052629853a7d' model_hash = '24ecf6a3d38b12f21dfb416fdacd3e472318a7e05ed00bc5ebe338a28c19af03' [crates.aws-sdk-glue] category = 'AwsSdk' version = '0.28.0' -source_hash = 'd0507cd42ab349db58246ec4fdc56aaa56f7222e276eba833c93737177f3da27' +source_hash = 'c41cb623496650013ae81fdfd9f04f4a10f76cdb6b4e855f369dbfeec7bda9c3' model_hash = '873a5fd5cb26348c5beac3a5e64327f0b15661a5917d8f0f946898a36ff72d32' [crates.aws-sdk-grafana] category = 'AwsSdk' version = '0.28.0' -source_hash = '31a7cffbebb9dc82f459fc9f2c8d00208a2789f147cb44b23619b7259556f26e' +source_hash = '24119a58f80e0287960d5a88c31ffa4677a452530b930f97eb2edadc36f03131' model_hash = '17ca7022c0b8365d2330f2540cfca66c50fc2cdabc246250c9d1e5964c255ecf' [crates.aws-sdk-greengrass] category = 'AwsSdk' version = '0.28.0' -source_hash = '8b349eda553659d9f136e5f308428de1d6d8ed6536eabe3201408a04e5e62560' +source_hash = '9be221e2efec5157647f8d8b5ab10f6006812ba652863e3933768281ed583f18' model_hash = '1b1046a0db404bcc365b52371ae86af79b89824c943ac1e4c95801c415b7667c' [crates.aws-sdk-greengrassv2] category = 'AwsSdk' version = '0.28.0' -source_hash = '294fe930cadd67f60a4bbdfddab5aeb72e25bb1aed0d124434e3927ab2d77c3e' +source_hash = '5ebb533636f628fafd199b28d3893f2ecaec3ee2482cc49390187fbecb0afd8e' model_hash = '57909654cbfa0b033ef5f9dace1b2abbcee3be981fa6f6c08d456dcb1f793077' [crates.aws-sdk-groundstation] category = 'AwsSdk' version = '0.28.0' -source_hash = '5f6823843a4512a1210ae3a6d0726275d542b106326be4f119bad61620aefbe4' +source_hash = 'eeb8a4acbabd7ca77ac99e394ec15598f7508f587208454ca43409c80613c614' model_hash = '2e4dd9e673d32cbe759e62fd68377a0ef3186dd9b037040cd1d8493001b9cb10' [crates.aws-sdk-guardduty] category = 'AwsSdk' version = '0.28.0' -source_hash = '22e1aa53de50ff6ac18756edfdd329db99257e0388f896c85e06b442b3f34d1e' +source_hash = 'f7a915ad355c721bdd8f9899c755d590495d8b609be00eaf0e428de400383850' model_hash = '3afe103d2247898538fa1bd549fd09684356b90dd8d5ed84f12f1e20d0cc5cec' [crates.aws-sdk-health] category = 'AwsSdk' version = '0.28.0' -source_hash = '4f23b9b535bda32f97b399f440810e6b51d8974ed746a17f35976f3b0c2815c6' +source_hash = 'b083a83f8a49d1f859b7103ffdad064173476b7ff7eff15eb6b70cf5ad268849' model_hash = '4ae5c26a2718acb5b78f6a07e2bea3a2d6f58c15264c4836ddabd4e460177e98' [crates.aws-sdk-healthlake] category = 'AwsSdk' version = '0.28.0' -source_hash = '4050141976f6c61e7efde51447805afe90a79fd1ee754fff1b421cd2fa906bd1' +source_hash = '8532d962c369fa7690a0ad429b8050ed9db814289e543924a805526630eb4949' model_hash = '098f6a1e1f6564cc2e0068762b246ac5aeae62413ce5ebfdd05c21d9f2e34ab0' [crates.aws-sdk-honeycode] category = 'AwsSdk' version = '0.28.0' -source_hash = '0e2f8a950a350b05b7eac88f4822d07950b0b7b4c30bde58a00036cf0dacaa49' +source_hash = '33ea0c48f449697207a8a9d68b105a324747875d21dae6368dbf48f9f7a9ea67' model_hash = '4d89b194eb3a36aaffcbe4a39b3fc59c1c179d57c221a93fc7eaf8bb7552941f' [crates.aws-sdk-iam] category = 'AwsSdk' version = '0.28.0' -source_hash = '9abab9c137fe33cfdbb0fe51cf65003ecc500b25e5037c1713e06f750cfb8df3' +source_hash = 'f77ee43e031bc7d90bf37c4a9156e2d075886c071dd9f6ba52264d7ca17aeccb' model_hash = '55478b673639bb69eaa75a08e9cf11883d75669b7ba2c4af5e39b63b4e9f4c69' [crates.aws-sdk-identitystore] category = 'AwsSdk' version = '0.28.0' -source_hash = '75e1e487146b855346242141912fbcfc326ef0a29a7c2f58384ee2e578f14775' +source_hash = '378cf9beaf1568753c7f37c0e4fb6228f2b3717f18af3357baf184f1cc2d9992' model_hash = 'ff289aa2cdbed7b84c510e43716848b41fad9b63218a59b05ce43467f719a479' [crates.aws-sdk-imagebuilder] category = 'AwsSdk' version = '0.28.0' -source_hash = 'f91817ec4375e50f14a1755646de0782f66da66cc55e1f12b480e23f3e582302' +source_hash = '785e5816acbe4e20b252d7f6f4704cb0f2d0e85943b83afab8baa6f7fbc2537a' model_hash = 'dddedc0a561129abebe32cfbd8307b8a5f00cec55eb1175aa4ab4f37d38e6552' [crates.aws-sdk-inspector] category = 'AwsSdk' version = '0.28.0' -source_hash = 'b16de36f52fc3d7c3171687095bf2e60e332efd310d552297d17e50bebcde3ff' +source_hash = '206bcceb597de5851606f69b8a71c4a6f11e86c095d335d2a215eea457b41470' model_hash = 'e72fd249c5985f6338a5675e659ebd67d45e4b0f6c278fef2223742090eaeb64' [crates.aws-sdk-inspector2] category = 'AwsSdk' version = '0.28.0' -source_hash = 'da7806d836b5742b32658862f6aaabddbc68e6c9a2c37fc837fdbcff5798befc' +source_hash = 'b91a24398fab04e067ee7bdb6db32021aa32143d7c4f515647f6fc38cc6d0023' model_hash = '635d7f6fecab5e573b67e15857fec6096bced79f202caa5794e13fbbbbb1a376' [crates.aws-sdk-internetmonitor] category = 'AwsSdk' version = '0.4.0' -source_hash = '52728b960d9e04149437464bbce38490286a2b2fe9797fd43283e748eedd3bdd' +source_hash = '066e57aff09185868b1d1aca5be631de64a558df9e6e2a855d19d0742dbef34e' model_hash = 'f1591b87dacfba72732f80e77ff983525c68242a8a746737cdff729810bead9a' [crates.aws-sdk-iot] category = 'AwsSdk' version = '0.28.0' -source_hash = '91aa59252f4a4a8043064be7dd1353f1ca216e7079a6282a0c95a47415638d00' +source_hash = 'fe7caddad8a57c95d06bc5c0093382b6eb19002571bc8006b82b89575dc2b5a3' model_hash = '8ea0643a148bc1e6d491a628c7a5169f68a28657b96dca6f9c41618d6b5d796a' [crates.aws-sdk-iot1clickdevices] category = 'AwsSdk' version = '0.28.0' -source_hash = '7ae656d92623ef41e8898b48ffc84e2f497e5702af230cee49019a00d56e0524' +source_hash = '773f367bab63efd4ef952e6f5591c698e6fa2b2b8021c2ab2811a77a7fc8ba90' model_hash = '73d5749772bf77ebf3a99719f0cc4e06f6ede7efdb3e5d9157b9f651d5f34e06' [crates.aws-sdk-iot1clickprojects] category = 'AwsSdk' version = '0.28.0' -source_hash = 'c4a3e765f891ea0c2c97456acd77bfe3cfa1a0c7c123ac636c757eaca959341c' +source_hash = 'cfb96831dea538af584c495d8e686ea19af7d8d0cac51a85b8cda8d3738c420e' model_hash = '449631d22754a2d6e57f215e86ead9783c76809bd372b8becf76ea1d368902bb' [crates.aws-sdk-iotanalytics] category = 'AwsSdk' version = '0.28.0' -source_hash = 'd4377a9e182391fe9504748283e6f8cc7e9a8cdf331aedc305427d284ef789e1' +source_hash = '592aef86a572619e87f35a110b540586ec8176c6767e60161f2d68228da4ba8d' model_hash = 'bc80af0b427541dc75a5256190d8f4813c2da79846663292cc62c76c6c4abb43' [crates.aws-sdk-iotdataplane] category = 'AwsSdk' version = '0.28.0' -source_hash = '01d7d57739826983d249b1c829081d8161c3e00648cf033310196e9ed9b958d3' +source_hash = 'f9044ae19a069f4ac23e4997a60cca02d1ad0fe8c60548eaf8910c67b9f297c1' model_hash = 'ed048330d22d4c9549b3af17b4dcf7eeca2af0a8a6cafb4ef3e5ecd7c58220d7' [crates.aws-sdk-iotdeviceadvisor] category = 'AwsSdk' version = '0.28.0' -source_hash = '756b2f5b8fccad0a3dc1216969096c6e4018a9c7f70be0592f66d0eb908a0eff' +source_hash = '90332fcea2101ec425d79987383ef2abb3eceaf4f8cdfd69a6e35126881237ae' model_hash = '423750d9d201bc8c5c09f5ae2c3f3558dca7c9ab30a1dfeebb0ba8ed2903cd6b' [crates.aws-sdk-iotevents] category = 'AwsSdk' version = '0.28.0' -source_hash = '8917e8d461a51cc7aa9a4dc62eef94747c43eace2454ffa16ddb547213a22588' +source_hash = 'e123eb4d862df24a96113031acdb025bbb78e520ae0a41c43668a0d645b17d75' model_hash = 'bb767346a7d792cea648a364353fbc1878cd71a84251f2d43ebf94bf51bc3f63' [crates.aws-sdk-ioteventsdata] category = 'AwsSdk' version = '0.28.0' -source_hash = '78f4e5eda9335941d5f3167980a63b4dd5ca00258caad1dbd73422479e9fe1b3' +source_hash = '362b880c3a4bc1c89bfb3c0a98f3500ef82f974374e36a5658ff152b367d9575' model_hash = '057bed881742ad096f30e71c0066b7365c41d4dc8956d12e8c621acd22aa2ad2' [crates.aws-sdk-iotfleethub] category = 'AwsSdk' version = '0.28.0' -source_hash = '466cf258b3ee5c5622799379141d3d212371dab96c73c9ec8a65731c0c99117d' +source_hash = 'a180d6d038a89596dbbc19b9608606b010d02a11e1d78fc3e3625b543b7fb083' model_hash = 'b6192a4621feaf4e08ab55406982d420a401083a6979f86014573e68e188cd41' [crates.aws-sdk-iotfleetwise] category = 'AwsSdk' version = '0.9.0' -source_hash = 'cedbc35afc44321d6013bffcb00f88991ea77b60a856f1d4e54f932c76baa901' +source_hash = '4184096f0a9bfb6cc99082f704fa68c32bb67a97a2f26c0b4bda0dda86d24f6c' model_hash = '91501af1ad2cb409ae335f21197ef0efe4c2e90363baeba6777fe83d963d2cf0' [crates.aws-sdk-iotjobsdataplane] category = 'AwsSdk' version = '0.28.0' -source_hash = '227d556e27a9146905651c67746f9956cf4b114940aff04b9e277484b65dd096' +source_hash = '79c153632273c646ab42bc654fd329b4db395aa41c82d225f38841333751f0e7' model_hash = '2869f8ac97bbfa7ae2498b6cada1ecf7299aaff46124d017b2d70f7c2d0269b1' [crates.aws-sdk-iotroborunner] category = 'AwsSdk' version = '0.6.0' -source_hash = 'c9ff41de5a6d75dc40b74b26767a8c8a5003209cccd6401d793dd7c1a251c6b0' +source_hash = '5eae29c1fc05759af3610101f057f6a15a41b3908d03b6c16b0d50ad0e51b1fb' model_hash = '31b327899a8cd8366e8ee4ccc3d7748f208ce02dd8d82f98b35d385b70303c65' [crates.aws-sdk-iotsecuretunneling] category = 'AwsSdk' version = '0.28.0' -source_hash = '6ccbe5d3cf9a2f410aa04d94cb402c3e90ddbd97436daa140bf75abc6a052548' +source_hash = '1f0722c090a347c315db86bc820c7f523d4bd9cd92db22323292d95e5baf2eeb' model_hash = 'e34f837db19a15a1d36f574d90c3314e2fe57d89b7ad015c2f8ffe8c8d885533' [crates.aws-sdk-iotsitewise] category = 'AwsSdk' version = '0.28.0' -source_hash = '8b65fc435bf4cd986ef9509e71f4a9e7859991e601d1f838ee2ebd8a987acf3d' +source_hash = '1236d297a01cd76aaab38176a7f559579a4f129a1ad4c0c256d5cfec3d3babb2' model_hash = '28833ab9bd5834ca15cdbeb07d0b7f32bed33cd6701001aec73688d71da6a11b' [crates.aws-sdk-iotthingsgraph] category = 'AwsSdk' version = '0.28.0' -source_hash = '1e129025cfbe4a419c38c2825e394cd8176223ddb23b066da81aab0b4c225d2b' +source_hash = 'd65ee4f7e674741c9d08f286392993b148919025efd5a69c3ac14813702239b9' model_hash = '12c4a1dab2635c72c4da5e99248ec374fd8bdba5bb9b36cfd5cff75ea9e37ca0' [crates.aws-sdk-iottwinmaker] category = 'AwsSdk' version = '0.28.0' -source_hash = 'b543135d8d325e22d54197f3c1c6f06d59e5c8155ed83b6ebef37ad4705fc1ca' +source_hash = '9b08a830d9994f9bdbdd9b2f495ba4a187a2b8197ea201c38f18bdc7df899901' model_hash = '968d94fb611f3d42e1030f431605429217e143a185c8c98e829382d8118b843f' [crates.aws-sdk-iotwireless] category = 'AwsSdk' version = '0.28.0' -source_hash = '48a87978a4fb39a3c2902046d5109b553e2c13a51d2e836d41c9bfeb3cfc239a' +source_hash = '77dad20d1a71b48d569211477192d82ec0229d05113695a23e8f7308560e3881' model_hash = '7e10dd2f1efa67a8a9e03b926440c66c5570efcf7b3e472f9c73e847caffffda' [crates.aws-sdk-ivs] category = 'AwsSdk' version = '0.28.0' -source_hash = 'b113f09807de3a47cce31aff62fc1e464275f9a84a8c318fb203886ff5626469' +source_hash = 'fc1aac83ecf6dbdeaae8e8e4e9878744c460d189effd5e8ad5a21898599dd7fb' model_hash = 'eb8f6547fa036e7fa7019518f6068f7b9b37028ad71e8cb6734846de9cc6f675' [crates.aws-sdk-ivschat] category = 'AwsSdk' version = '0.28.0' -source_hash = '30e835b071d29c039b3d44c75f1c70224d43d42d80ca9d427b5825ebc84e5d9e' +source_hash = '89d455409d29d3f29c87b7b9006b720f64505d685a574ea6dbcee28e71557e43' model_hash = '99cee409801a992b701688f3338a8858ea43b9f9f8489ee0353cfd974e6e0768' [crates.aws-sdk-ivsrealtime] category = 'AwsSdk' version = '0.4.0' -source_hash = '20075b5c5e684e6d41dde85778b43303f9121c70ca70c859667b3afcb7c15c97' +source_hash = 'a7629d278618c7a0e05e07240dd17b588249ef24a743364731ef7aa308bd0c01' model_hash = 'f8459a036b90e3aabe40bd8516027e7d4e41b9fac090585ae456f135547931d3' [crates.aws-sdk-kafka] category = 'AwsSdk' version = '0.28.0' -source_hash = 'c7eb378c90205a10acd3088d1fdb382c9c58a015ae9854444c9419db60a2c767' +source_hash = 'eafaca7e63e5780472bdfa35b48718736c8088df142db1a8132b9ebf47d3b3e0' model_hash = '1d72853298b27a19f608087150f9e14b7b784650c425c813bca1e719a3d104ce' [crates.aws-sdk-kafkaconnect] category = 'AwsSdk' version = '0.28.0' -source_hash = '244bd497921b9421a0fdb2d797be27e4e1e6b4d53378e3bcebeb637d11940c5d' +source_hash = '32ac710d6088172cf47801a2ef3a1172150bb5538ef5274aa628ceb6504477a9' model_hash = '04cbe421569de498752626f81448a0834611f6bc22b34c9169ce71a18bb1d1b5' [crates.aws-sdk-kendra] category = 'AwsSdk' version = '0.28.0' -source_hash = '84e7286b40a7f4dffee762e01794132d1b26a75f9a701fba29c5181e4130b0c0' +source_hash = '9f0afdb757b6e628a054d877426920b5d8cbb391c53235a31ba9d25b118f6567' model_hash = '62e8ca4c76aa6e3b7dbc618d36a107009352857859bdf16acea994e743261d8d' [crates.aws-sdk-kendraranking] category = 'AwsSdk' version = '0.6.0' -source_hash = '0f4c52068789b476bdc836fd3edb39d9388cecfcd3c6377836682aa2d290f81a' +source_hash = '886f70777bce6fed241ba81b8f7663065b67e70c2760625c1ea8a0bd6585366b' model_hash = '25bc4bea3bdcf15e70b77559fa1bc0075e45b513d50daaacfd4af43d2561aaa5' [crates.aws-sdk-keyspaces] category = 'AwsSdk' version = '0.28.0' -source_hash = '957eb885b7dd8ef72c4ed12031e631d50caa041f96862a9044c5b7dfa0b7d197' +source_hash = '6b0eaaee248503cc0431c9354bca30d96c01d0f7e0e95a014d0913a0a5dd7577' model_hash = '23e0bd932386bf1551632f8d7b4e3ca3a8f17974c67f087f34a24dbbd544e48c' [crates.aws-sdk-kinesis] category = 'AwsSdk' version = '0.28.0' -source_hash = '0c4cdf6aac304d9c9c1f732ee5bf19c041e51b75ca1b86c6f557250600465d94' +source_hash = '6e5af56ba0a2f850069041cae16958d8eae5f19040d51ce1f0226cafaf50f52f' model_hash = '06ea9c5e7149e8a439138581ee4a993bd8efe8fe47bd193545728397bbe47dd3' [crates.aws-sdk-kinesisanalytics] category = 'AwsSdk' version = '0.28.0' -source_hash = '2380f097198221eaa551678d405dd2426a8a3de2f81c82c3cee012dd9906bfd0' +source_hash = 'f02818642f788cebfa34e7fc2df4ff23c907d23f2c751df0c68bc5d62b1a902a' model_hash = '0a84bc89c0f6d1004cb280f5f7e3339b7553eb2d17932378a9166263d8612632' [crates.aws-sdk-kinesisanalyticsv2] category = 'AwsSdk' version = '0.28.0' -source_hash = '2f54043ef801ad9ba8a8523550dd089065474e686a5884e6d0b2c513de675a06' +source_hash = '332f287e05ce58c03f15a7f230ca4b86a295531eb282886d6d3f81d9e9f74a8a' model_hash = 'c19d97f212eabbffb48f41b962bb449d89c4e859a7f8fcefc14dfad680d7b2ca' [crates.aws-sdk-kinesisvideo] category = 'AwsSdk' version = '0.28.0' -source_hash = '2315a26c23cd3b962da5b97b244e8a8d7f19ee25b03688d1babd093785fa8cd4' +source_hash = '122d6bd71783ef3552cd2d9a8a523a1ab976200e3ca79788a5f09eb16568d0f9' model_hash = 'a5085596f406eff8e9f1fef0a03a68d945b83e3b11a0bb1de66a2266a6f77700' [crates.aws-sdk-kinesisvideoarchivedmedia] category = 'AwsSdk' version = '0.28.0' -source_hash = 'da8930b341800ac18175665af13d6de4bc4db6469d41ece64663f8ffe070cd83' +source_hash = '4462b79527e2956c0c7d8b899039709f8db1937cdcc5cb87a370005a45274acb' model_hash = '42fbb4b0ae15a25263f26ffac41b4bca35f586dc1779718bd072f4cc5641ac97' [crates.aws-sdk-kinesisvideomedia] category = 'AwsSdk' version = '0.28.0' -source_hash = '2383fcc051e57883112297cc1dacd365f6277910fb417620ac20b8988adce2cc' +source_hash = 'd1643fc78a56ce7beb89417b83bb1062706d84461f522a08527bbbe68636b02a' model_hash = 'c441f2985058871091d70e40321b352589e6ca5576f293a74511f9c5ac22e52e' [crates.aws-sdk-kinesisvideosignaling] category = 'AwsSdk' version = '0.28.0' -source_hash = 'e916eaa2e0f4c288a96921f70cd8b1de8c76739f3c68fbcd74f91150e8c669f1' +source_hash = '59c2e7751576124e599b8f182255ef1a5c59e11e1a3b3a7b5f34d2e1996c5fcf' model_hash = '72c0830d35800d35f520ae9a89762fd4907b41e5b2d8034752099467adaab5bb' [crates.aws-sdk-kinesisvideowebrtcstorage] category = 'AwsSdk' version = '0.6.0' -source_hash = '4aaf2c66fe80315ae68a4dd7d0c3b8be0e425d5928e46bb643d9513f3978b998' +source_hash = 'a3de86da7121453eb83cfa204812c74dc8d0385b965546a857385e2cbef927c0' model_hash = '50cfb2ce4a8e06105883c09bbabd30780d0123859438149773bb7916fcfa26dd' [crates.aws-sdk-kms] category = 'AwsSdk' version = '0.28.0' -source_hash = 'e72bb940206605d71a420295a8b7ef8d626edb64efc4c6bd8040c308ff4a5ddf' +source_hash = '0fd74d72fc16f3656c0ff72775f48b885f78fa1d91e604fb42dc515ff92869f8' model_hash = '58f92f5ce71b3f1cb9b3b80aa6332a99e2aa417e92c3614bf9832efd3b9178df' [crates.aws-sdk-lakeformation] category = 'AwsSdk' version = '0.28.0' -source_hash = 'e9a4862a702502438317e49abf804cb48be7195a912a46239ceb97a91ec553f0' +source_hash = '1c873a29a538f5658f593814a25028b532eb25f23c4e925ab070ebaa4033300b' model_hash = '378d11ea243657aeac046ee50679b2931cf2d38f83b5b47535ee427b310aa9f4' [crates.aws-sdk-lambda] category = 'AwsSdk' version = '0.28.0' -source_hash = '40c9cc74af68c17188db12eabfaf5a27db3eaa4c0b63fca84d32ea5e8a8b109c' +source_hash = '47d6aaaf1869861264596d72be844d7f3df4d075970618a9515b7ddc563dbb3a' model_hash = '1b2606af36243d91a6ebbe80f631694b02a79d599f9e1a713638a833a985dc39' [crates.aws-sdk-lexmodelbuilding] category = 'AwsSdk' version = '0.28.0' -source_hash = '6cb41de124368a09d5d723844e3ea019a49250e8c435e8de477c673c6bcca2bd' +source_hash = 'c2e2ea4ebcbf2b2457d88b0e75806b60e78f4ccef167e7518470deed91525bcd' model_hash = '29792115ba4b2fd3285456136d7e95501f7ba45883c66340c01b95cfdef326a2' [crates.aws-sdk-lexmodelsv2] category = 'AwsSdk' version = '0.28.0' -source_hash = '44f4ad7b6332f2689299b27ac5386c6521f7fc132a854f489f350fff5d1d6901' +source_hash = 'b87298a44d88031ab6ab8eb7a3a1b266f50c5c0da640ec1572c7f1295b723871' model_hash = '1b6e832dd86c155fade6a573a7b4e4a638c21cc31148e0f3e53453569808c398' [crates.aws-sdk-lexruntime] category = 'AwsSdk' version = '0.28.0' -source_hash = '7a053a49717107174d5663ac22404c55947c59bfbaa78cc46a097dffb7877612' +source_hash = 'b03289519818bd15705b2529dd0b1eaa50436061baa6fb6ce7ab96d54958b820' model_hash = 'ad85ef3d3fda63017c1adbd48686daad8a2fc1c44e081c854fb4af5b31ae406d' [crates.aws-sdk-lexruntimev2] category = 'AwsSdk' version = '0.28.0' -source_hash = '433370d835c7b575b1aac12fc38389dbddafda53eb6ef9c9845cb1883d67eab9' +source_hash = '344431a066002b226e89b7f07782df67bb8279465b8f5f8f1e1400f74f29c288' model_hash = '00f04ab50a3067b93e9e9dc22e79ae88e4430166dc1eeb6176b0236d2d03552c' [crates.aws-sdk-licensemanager] category = 'AwsSdk' version = '0.28.0' -source_hash = '7385eaf6f02f352cd26f3f73aab143d5e0bc01aede8a57875d1643d8cd276eb9' +source_hash = 'c2ee9b429dadc2a56d324aed5fab9fbf08545bb31c1fd14f832eeab02639685b' model_hash = '7ef75ad1d9634466875ac2db68269f821465a3ec654def748257f2d20cdf1f6b' [crates.aws-sdk-licensemanagerlinuxsubscriptions] category = 'AwsSdk' version = '0.6.0' -source_hash = 'be0c0c23b9f369865097381da19157de0778233243db984ccc704f9bf593387a' +source_hash = '7bc2d2ecd7741ea2985512101aea9e75d3d6970fdfe04718d7d5e110c297a1f3' model_hash = '7ff7ded7f04ea01b6ed17266c51a429138ac994023624c27257d30e1034baa12' [crates.aws-sdk-licensemanagerusersubscriptions] category = 'AwsSdk' version = '0.12.0' -source_hash = 'f3f5c9172981b369548184aefe52889574e239e76f4027636fef7f9a2f13a305' +source_hash = '792b6660a79278bc60ba8571524e4fdcfd25df9e2cfd9a5e032497b20a088889' model_hash = '002b30728220487656ac2481c03c7e9c117aefde4b43128bf6bbdf5f78dd3690' [crates.aws-sdk-lightsail] category = 'AwsSdk' version = '0.28.0' -source_hash = '600aae96743df4837b3cafac20ee5da12305e2ea82c73912c6cd4965f56cf56f' +source_hash = 'e86a77c0fc5004e0d4c80c2f4836fcc6184a5b4d4e201defe6264d69959b6977' model_hash = 'b0e89f7845c6ac5793acce8bdf927651954d78ef9c1dfc71e49d4d57ecbbe3e5' [crates.aws-sdk-location] category = 'AwsSdk' version = '0.28.0' -source_hash = 'a4e21f631a09f63357cd10499c7d88b29cb9320b5b5c9799d09941db23c20840' +source_hash = 'd2dc65db27d89e9f7c7e48a6bd48f2ed624a1889edb16942ee33ced96a0ff7f5' model_hash = '207a8ed8dce1557d02d7c2baff46f6a41131f277c33998bdc56028505c6773cc' [crates.aws-sdk-lookoutequipment] category = 'AwsSdk' version = '0.28.0' -source_hash = '27cbb9cc02ea8938bbf1cc4b996f1312dbfa1d8d757ec6ed5a814b914277fc6f' +source_hash = 'e9a4e10140f2d526733ed87f65df9af3b1dad0398d0184cf2672acee104c971f' model_hash = 'ce4988d78ff43d4489f85435be9525651324e64f8e563e17d3c3ef52d6a3bd6d' [crates.aws-sdk-lookoutmetrics] category = 'AwsSdk' version = '0.28.0' -source_hash = '13b5b27fc86e3885e354cd53da383387536c47bd5f3672cc976f70b7885138b1' +source_hash = 'f1ea756c6f2b2b50f8dbaa9ceced7bfe9a3afe02583ed830f341a3ef8d07011a' model_hash = '1628bf5f300069be9e71ed4e939b3f87ff1eb05a82d06af34650ec730f085df8' [crates.aws-sdk-lookoutvision] category = 'AwsSdk' version = '0.28.0' -source_hash = 'dca6e40649ebe80b01ccf088cd19dee9e98e22abc712e231a827ef75ff369802' +source_hash = 'c4e619f1ac59d229564d3e5b9d48c69a3d3243371d385a418b999792309e21d4' model_hash = '01def69d276de7a996d726f43010df7d66a93ad0bb9e326cb215df59ac808f8b' [crates.aws-sdk-m2] category = 'AwsSdk' version = '0.28.0' -source_hash = '3d7e8be9f08f1cecab502055e0b95a6d9e2db22a41eb0f8263ec126d2b873e7b' +source_hash = '2e7601c696e3b84d591f3d67b265b4a26c155972e84274831fdbf51132715bb2' model_hash = '6cd83e4867161417a88749d35fa75431b9322efa29719c583de3e4f23dbda298' [crates.aws-sdk-machinelearning] category = 'AwsSdk' version = '0.28.0' -source_hash = 'ff693e8f063e749b2ead6b0f5ef1b95c3c3aaf8a081a290a031f331d5561ffaf' +source_hash = 'd8948b1e575c4f94c8eba3c14c9935894ef03cbbd1857fbe07fc6432db4fe974' model_hash = '9e7eade751a5d39071cb9a9a80f1da4add78a0d91391883d9201439bdebb0adc' [crates.aws-sdk-macie] category = 'AwsSdk' version = '0.28.0' -source_hash = '33a5631f8dd20bb9574936c6bcc67fa0198c41a928a2f19d2316b671b06122a9' +source_hash = '7dd79c67f40939ca54bad351a0946ab054ad3e607e0b4c0eb90426bdb18e46d2' model_hash = 'd1427a40cda46e211e7160a6b0d868e3efccc774fda24c2385b09438bcb9a858' [crates.aws-sdk-macie2] category = 'AwsSdk' version = '0.28.0' -source_hash = '154183a9f898a50902d137ba8b6a15fc5eca12530f57c60431013faaffdacea3' +source_hash = 'e472daa0395214190706cea3ee23d0a52fe11692d00256be446effc9be0f7d9f' model_hash = '94fceab36d151d719642c95b5dfa39a2b462e20fa46de26a26cefe4e627c0870' [crates.aws-sdk-managedblockchain] category = 'AwsSdk' version = '0.28.0' -source_hash = 'a8f90d92018cbcaa48780e6730c1d719b7169c9fd92f33b2d326933f5298ee59' +source_hash = '724211626c6b24b382820e40e00ec8de4f02c7f0380207ad751e162925c5b6c5' model_hash = '8c03c559cae6260b4491f590d342b3c7dc45b190efdf66d4c8f741ca0e221f38' [crates.aws-sdk-marketplacecatalog] category = 'AwsSdk' version = '0.28.0' -source_hash = '068ed2f3974227c48c9dba25311178f55bd4e91a62f8ea69bfd45fd3388ff294' +source_hash = '8a4d1289e45206c148f3d67f1eb071b26c25068015335de248f450909fc2e46e' model_hash = 'dcf9859c9d96e64215fe1aa7abdd7796a64775e829ac623e3262cce28d9c35f6' [crates.aws-sdk-marketplacecommerceanalytics] category = 'AwsSdk' version = '0.28.0' -source_hash = 'fb718b4e618961bcf9c42114004f7444b622a7ea4364d77c624fd09c1c56412f' +source_hash = '6bf2c44daa227d9cfbfd7b489415e9e7da30282fb40339f48a79cb4a59e09561' model_hash = '358661fe9c9b79d3cc4bc1fef07bf8ce8d893d7cae30c97205bbcc24bf16a8a1' [crates.aws-sdk-marketplaceentitlement] category = 'AwsSdk' version = '0.28.0' -source_hash = '8dce3a42cd2e83b01253858eada178fc4f26ee1577196a3f659303d50ea51d28' +source_hash = '20d212dd74e21006967481440c66037824eaf6a6442ddeb1262405d59dfe1f60' model_hash = '792b7c0b7a9130ee3f90d368191b9522dcc5f7e0126ca2cb2ad95f2e1c151e1f' [crates.aws-sdk-marketplacemetering] category = 'AwsSdk' version = '0.28.0' -source_hash = 'e67e9e0c925d28144d189d2930a16cdc1e02fa0e2e98e92a2e17b69b820660eb' +source_hash = '12dc08720de73f55e5f685ffe8e4059607194fef95acd252a8363051e4f5cbb2' model_hash = '18d4680825898b7f9a304325ab28c66cf89eb444643adb8020721f83a206d0c5' [crates.aws-sdk-mediaconnect] category = 'AwsSdk' version = '0.28.0' -source_hash = 'd8480c346881491082274016d2531d35e1d60c2acefe34eb95cad9cac686a4f2' +source_hash = '00a971ba5b46b41e2ff3605e731647394cf874cfab5179daef159dd80c230fff' model_hash = 'f12682440cf9df01d4908b69523bc72f859dd446535bdc63cc8ba3edbcb049b1' [crates.aws-sdk-mediaconvert] category = 'AwsSdk' version = '0.28.0' -source_hash = '6c20df226c8b62d2496b9d0ef71a960dd368eed23533c4cd62323259148a2e62' +source_hash = 'bab5e72d7615ea69d6d6d57137dd210834c573dae46bddcbd8ea66fc23e399d1' model_hash = '5b375ad55c97589a80469009c0247704b59fdb3045744eeae324cbcb41b219e3' [crates.aws-sdk-medialive] category = 'AwsSdk' version = '0.28.0' -source_hash = 'c14eca19ee313e8b4a43a984f8d5834fd596ad6608968c16de6984cc066bee02' +source_hash = '05f72b69a11033c2d0176ed4b0726eaac10e4c80a9576a6434758e64007436ba' model_hash = '7dd0c4bb587aee5949f6b2a384c573754736a148a34d4661ae9f3d2de43a77ae' [crates.aws-sdk-mediapackage] category = 'AwsSdk' version = '0.28.0' -source_hash = 'fb7b7ca542bd5d34c5e05f658f8e664ca85cb47374287a8f114242edf4bd816f' +source_hash = '5cc15b8aa5a5561fdfc4a18fe68437429f3683ec48a227f41bbb9200a15b3b12' model_hash = 'bbfe990043d1196ce09dd3154e5d659bfaea2c5dca0a4254af44917bd71b1eb7' [crates.aws-sdk-mediapackagevod] category = 'AwsSdk' version = '0.28.0' -source_hash = 'b18ce0fb8d4aa98f912e5659c949053f5af1bf6abebf44b28df019ce534ab73d' +source_hash = '57e1f42e74304ca33b8349a90aa84efb23d39a09e3a038225b9b37c662e4a1c8' model_hash = 'fa5d6dcafc6bd557ce5eae607773e68c666da096c13bcf52cb6390a8b14417f9' [crates.aws-sdk-mediastore] category = 'AwsSdk' version = '0.28.0' -source_hash = 'a7396b115549b7ae09dc053375a5af0b216cb1a8f03eac4ae72bd3afe3f4528d' +source_hash = '6c7e0dba7a3ecfe978d0d27fb177b2e7358d6578aed57d606d14cdf64758450d' model_hash = '8b417940a7ac0c4107f1539fa3d5254e86614a92bcbb692350d7f0b049b54a3b' [crates.aws-sdk-mediastoredata] category = 'AwsSdk' version = '0.28.0' -source_hash = '46d26d8df22cb47d6494500494f2821739266a77c78fcb18afba099295abb0f3' +source_hash = '181bb5e1d480d874860c81d92a292d0bb450c0e4b0163d4847b56d1d7872728e' model_hash = '3f17a366c8c256775762f4a5b635091419e0532b951d320ead9a6582d656ac28' [crates.aws-sdk-mediatailor] category = 'AwsSdk' version = '0.28.0' -source_hash = '86906ef20f6bc31ac41d6586b8a7df3194768465bcf5efe0518338a0b59f1bf9' +source_hash = 'e1226295e0c4d551f54d3bc5493c1fac6ec028fadb2ac54c50a617465b5bc0d4' model_hash = '32acd0d7515a5fe83ac622241294f8e6084118c7ac3466929c0396e8555a8a3d' [crates.aws-sdk-memorydb] category = 'AwsSdk' version = '0.28.0' -source_hash = '60de732199224974d9285076136ecdbf1ab0520fa53dada23ec7be8c9ffb282a' +source_hash = 'df1644b641602487aafa815c074e449f22ef26105b8c93be081b4fc3f7d038a2' model_hash = '44c76f0b76030b502c2912cf4fbe1aab4935bce2a938ddc70c5b2f222347b9a2' [crates.aws-sdk-mgn] category = 'AwsSdk' version = '0.28.0' -source_hash = 'f346fec79c253f3d51574f99772defa580212d19ca55fe9739954a9dd75743ad' +source_hash = '09281bb8be42eb6929360cfb8c2dfae7eef2e3f0a56208fb66fc6dde38ee6283' model_hash = '16078685bd498df997fca6701409f43e5a51fc19a4deaccfc7240fb63fbdaefb' [crates.aws-sdk-migrationhub] category = 'AwsSdk' version = '0.28.0' -source_hash = 'cbbf20cc1c1ac7b381e98e89ceba705c6b595a3c43cc10f8ecbde2f732ff4cd7' +source_hash = '254023d5240357437f084eb7d63da94e60edbdc0d1cc0534191d460c73c7b261' model_hash = '8ffda951148ed0f543d5512bd2682d5164d673993f08b458136b728df8460645' [crates.aws-sdk-migrationhubconfig] category = 'AwsSdk' version = '0.28.0' -source_hash = 'a5bfa3cd700bf9d66dcad19df4b384b76245cf36ac7481e7f5be76e99297ccc3' +source_hash = 'cd142f60f21abd6d528c1178b869f6ba231001014fb4d8b98113ba8dc2c3f4e0' model_hash = 'ebfa92a18ba2d74bfa00f79d60d992614fb9360a74119a32cc4f839a47ef4228' [crates.aws-sdk-migrationhuborchestrator] category = 'AwsSdk' version = '0.9.0' -source_hash = '54766882d9d3764a46a45f41c8c18f441afe6bc8eae35637a0674446223e60d4' +source_hash = '2144e02d5ef2b19724523cc67975c55896da6c43c541fdd37357c087a0b1dc7d' model_hash = '0e8a5ec0696079a2e8c4553e5a72a8fd6535452c45018a08b1426af0ddb62b3e' [crates.aws-sdk-migrationhubrefactorspaces] category = 'AwsSdk' version = '0.28.0' -source_hash = '6e37bef411fdc7fd15c2b6156b9e68e3e5d122bd6fafbd66fe037baf060bc4d3' +source_hash = 'b11b12b750c3294967491268c2053d390f9c81b1b5e57c005c7983dc5aef7428' model_hash = '6c7ca05f9f7e5a3a92093e2079bbb0fb8dcd4c17baed2dc949c765751db70b02' [crates.aws-sdk-migrationhubstrategy] category = 'AwsSdk' version = '0.28.0' -source_hash = 'efa669297f046839a452ce38034854e30c5a0b629966f1b4ee3e610c3c9c08ae' +source_hash = '6b668daa49f7478d8b3dc57a499a2702b431192a17ce3350608a1822d5000db5' model_hash = '4bbd2fdbe3e1fccd1331471c198caee857e667d52edb621474f7c0d43bd5570c' [crates.aws-sdk-mobile] category = 'AwsSdk' version = '0.28.0' -source_hash = 'b554367cc26cc09409eebe9787c37c676ea2c6ded2bb082f16f271536982d859' +source_hash = 'bfc2bb1efb651a0deca0179244bdfa8222b6efdc4bac9af4ed56a7745c03201a' model_hash = 'b6fc13223ec83afbe5a39978a9cd24a6c434b7958a94fa60a0334e1788129db1' [crates.aws-sdk-mq] category = 'AwsSdk' version = '0.28.0' -source_hash = '94163d79449e5a8eded3b8fb3a3ae6eec689138001127e1b5874e7e3cbed313b' +source_hash = 'e392bd0a6454ef768e0de481c06a9e4af0dc12f175ebb64eace6abcf1a527bbe' model_hash = '03b10bdec7015230cb9e399a8c7e79b2e5dfebc5e9c0e79fd9b3b6f88a3b95b8' [crates.aws-sdk-mturk] category = 'AwsSdk' version = '0.28.0' -source_hash = 'e8bbc1df1a9855e59109b2cdc9c4f5e3ad33b8467d1ce9f851d39d0f850dbf14' +source_hash = '8aca9fa9b17d27e60f6bc54ee7f1cec26b0d4f1b1f67f992205f3556a0860eee' model_hash = '6553ca98a46b76102e8b4a32874cbc817fecc8d80eeb73efd5531819f43e7756' [crates.aws-sdk-mwaa] category = 'AwsSdk' version = '0.28.0' -source_hash = 'bc7f7dbd3e1fb58736164c1b868123c31d034f74f897a59f2bf9bf7124edf947' +source_hash = '30b45c6bdffd655381b07d3bf3b32bc471cff6c02137041d2691afdf559c2e11' model_hash = 'ec947c86adc0b90307d4f3420f884d1a927795b9d6a105a72d8542bec44ebdef' [crates.aws-sdk-neptune] category = 'AwsSdk' version = '0.28.0' -source_hash = '89809f2cfaee9e939deb69b5ce9b85d10fe674b5c528cd1327d1586b409e23b2' +source_hash = 'a81a621ce4343b937257a556e9cdc77d3de65d35a0d54e6ac48f90f1e5030185' model_hash = 'b2d4f5b85b573134cee16114d7fd84f38b171ba95bbd73bdab1d167dd0dcdb5f' [crates.aws-sdk-networkfirewall] category = 'AwsSdk' version = '0.28.0' -source_hash = 'b7a29ca54dd637bb6075004c094419db10f56cab7c2cca92497a02f6afe37829' +source_hash = '304ad5f86b4b9ed629edaabcea29810f5609bb8ef2044d7c6856cacaf91469f8' model_hash = '3db4350b2f35385ae77d4073866af6c8780c8ccc25e4d3f6a5949b9ad0bbd717' [crates.aws-sdk-networkmanager] category = 'AwsSdk' version = '0.28.0' -source_hash = '13102f06d6b904dc18f2ed93035af1a776b926f2c721615a4bf4f026702f4be2' +source_hash = 'db3567a6f08ac7924471ae447ef0a58ff0fce09b50ae2143f711f200d0a80ffa' model_hash = '6dc643820a5fe28fdc78d7fdbd661c25d3e4cb5eb3c5798fc32380e3e4a22c25' [crates.aws-sdk-nimble] category = 'AwsSdk' version = '0.28.0' -source_hash = '40ed564980f46f887fa8608a0bb2a3f15cb4e5510103d38adc4a810d60fc9ade' +source_hash = '14890251f7769e8df7b2b7f3d942ff99a14dedd6d5150ee55d2b77877769527f' model_hash = '82e0d56a3f3540b043183ac6e23954c89094034d8719a9fe4430ec9303f80c17' [crates.aws-sdk-oam] category = 'AwsSdk' version = '0.6.0' -source_hash = 'e5551a194a2359c6919511cb9f206c917bd39570ffb123d77167e0bcbd4a858c' +source_hash = '0cccd59344bb5374d594f3534a292bcdf8ee068b30b8ac64981e1347a022779d' model_hash = '36d3d098824038d9d04f9deb9cff929c5a2917517864411b31a31e5b4a4af9f8' [crates.aws-sdk-omics] category = 'AwsSdk' version = '0.6.0' -source_hash = 'd01f625ca6fe5cc733594673383e05374ad4d145450d53120976848178ac6504' +source_hash = '783a57de9393131eefcedb731d488258bd0516fe1556e8c3e32d53f6abc5ef33' model_hash = 'd919f305dda60f1743ea1991dacde87518f41d6218490b1e1f01aecde1a9c28c' [crates.aws-sdk-opensearch] category = 'AwsSdk' version = '0.28.0' -source_hash = '25dada92c4639605e63fbaa223b849e061bbcc9501e7f452d3facf8fb2fe8b6e' +source_hash = '03d4d189497c3b9f75cc99567b0ca18add640b7b9a9ea94ee0c15d77d873737f' model_hash = '99973a0433dec32aa4fd1debc96fdf8383df79cc4afeb84ab29813afda9de130' [crates.aws-sdk-opensearchserverless] category = 'AwsSdk' version = '0.6.0' -source_hash = '64c0ada466835084fde2cef52fdbd311d2fb2ca93cc5c25aa03b496cc336e405' +source_hash = '55b59fcd6813db6649a42048b67f6f69df6e6da0dfdccc9d528f69ea9e0645dd' model_hash = '48c563bfe87f7461a9c7630a64f9178280a2b59d007aa15e542af8d8cbe1d847' [crates.aws-sdk-opsworks] category = 'AwsSdk' version = '0.28.0' -source_hash = '953d4bec2097b7c8813fe54275a5ef4d62eb09885bfdb752110e6b534a2a9ca5' +source_hash = '8dbd2a660fc726455942426c4298469239a3d495b27d8f76a6e7a08c010bb1a0' model_hash = '3f4d777973732d6c86b802a87e36c37174d9bffca7ae524558ec0a83f659bc25' [crates.aws-sdk-opsworkscm] category = 'AwsSdk' version = '0.28.0' -source_hash = '1499978fd9d9a06c5257a2de944713fb4bea20679f7febeccf11fcc17d40e713' +source_hash = '657533d2beb5bfaf96d08fd9df8d9196f87c56045dbfcb98334302ca16d56837' model_hash = '74ee601f86593a19f72631e87f5e7b7a4877a4eb3084f344caeec921178ce25e' [crates.aws-sdk-organizations] category = 'AwsSdk' version = '0.28.0' -source_hash = '3973acd902ca940eeff4c83dd0fbb3c4ab772a470ed85406eb1251fd848e5873' +source_hash = '12fd7823af189e11f8370e935c21cd98f1ff16e55c8f1f88aff245a9f45b23b1' model_hash = '206c60a30740fe42cca61dfaccb84e074ae74d299073823fae72492c8a55e3e1' [crates.aws-sdk-osis] category = 'AwsSdk' version = '0.1.0' -source_hash = 'c4fc4044713139c4d2bfa23f2607c8a551745940eab59058bb191785102930b9' +source_hash = 'c7b662b44d40b0b8419b6222d8d754e19b37bc30f472e7557bc633fa04d1d4e7' model_hash = '507a6f7e967893427e22e1d443a6ad89376d16f6743bc50859e9019c0571d8e7' [crates.aws-sdk-outposts] category = 'AwsSdk' version = '0.28.0' -source_hash = '7b4959e1c38b1b23ecc52f8e9c37ec4c96247612b65c547dc1847ea21a89002f' +source_hash = '60487945118da70a736c396d83e8a780e3cdab15668ff441196040950d0e708c' model_hash = '2b6e7912243e6b9f31920176f51195651d2acfee622423a950d394e1dd25eaab' [crates.aws-sdk-panorama] category = 'AwsSdk' version = '0.28.0' -source_hash = '5cea814968674ec785e693be6b729b6fc69df359afeab9f026be7d21e708b2c5' +source_hash = 'c404129784afa86de2a3ff82350cf14af8dbbfa85e08a032d37af6272e08941c' model_hash = 'd50a0077d927e8c9c3c53607f3bf163fb278718e9b5c796d8d64b4cb7fa68a51' [crates.aws-sdk-personalize] category = 'AwsSdk' version = '0.28.0' -source_hash = '5d8122f798cb657f15a31b729a02b6a96f0064f5f4b4b6ff6ba7b8a371e94777' +source_hash = '421fa4e0f8af871d4fd62e09b56c7ff3e8d7e292241f1c526715dec4ef5e2a7c' model_hash = '035df77673f6cd26b3505c5cc788b8bca8ce930ad6dfaece38f247267809adb1' [crates.aws-sdk-personalizeevents] category = 'AwsSdk' version = '0.28.0' -source_hash = '78f6694d10f5147a284e5fc183753242084077be4c0a44e39815fd2d263ebf51' +source_hash = '6d74739648124f2f9be21ef2c723c686f13204b3a9dd7d82cc81047f9133534f' model_hash = 'f54755ed3d7ea2414bac6134c9946e0f68aad319cd7c6c8ddd92b6cf7e62dc84' [crates.aws-sdk-personalizeruntime] category = 'AwsSdk' version = '0.28.0' -source_hash = '147dd3889c9a20321bb73d33f37a531387331066b53d3576c52668fbaf0a9546' +source_hash = '706b90a0ab3491e9a1251276041afb3a68248171e18a4c3e7faf9b060a3adb6c' model_hash = '8e69985ba52e815750a78cd6853bde98c4f3bbc78cad4917b142d020bb09729c' [crates.aws-sdk-pi] category = 'AwsSdk' version = '0.28.0' -source_hash = 'ade1d85b5d98156da4e56efae1ab18ee401bfd94568b148bc7fe4ddc5cfcb5a1' +source_hash = '3b6b72cb5caa8e172062dc3e5a3f614a7be650d6a54d054f01af954b14b1e2ef' model_hash = '43871e7644a12d2a146d56bbc9744ac37d46c1d0cc78cfd48d8e7d00c3ac5a08' [crates.aws-sdk-pinpoint] category = 'AwsSdk' version = '0.28.0' -source_hash = '6bf5f61d28d4749b3c20c82252e29bfbdfe02e3c17e0f51fb89f3cd396b155d2' +source_hash = 'd2deb7f2e34cffaa8dfbd6a60c7227289b10986e53d23bb64bec781187518787' model_hash = '3a67e9cc7863a6c16633c5ab30f6c7db32f147113aecb3ff2956e0d3156ee672' [crates.aws-sdk-pinpointemail] category = 'AwsSdk' version = '0.28.0' -source_hash = '022fbab31491b02bd44195acb41ce24bceebc1207fa769a3ce198ca0ea9de846' +source_hash = '2a7075e258feedc00cf6a8b64324291f6e75e48f311b19292fc8d8a9057ae46f' model_hash = 'd1ac8f9bef6f8ada45a3b094cc4ef0e530cbabda9685a7e4e30f105a3fc13824' [crates.aws-sdk-pinpointsmsvoice] category = 'AwsSdk' version = '0.28.0' -source_hash = 'f9770957aa8096e7a15a5c8ddd2ed434d320d1e6cdd3a54a80be0a97b1a6afc4' +source_hash = 'cba89c0d6a5d458a3c9a43e04cafff7e2b69a0f7578efea7d89f2a2ee64d4d0f' model_hash = 'd02306b63fefa9a4203c22f4fda97629623043835a340571b2f21174494b63ad' [crates.aws-sdk-pinpointsmsvoicev2] category = 'AwsSdk' version = '0.28.0' -source_hash = 'cf1ae6d44cd212d54126cf23403c12c18795c73264ab9518ab76909b32abca66' +source_hash = '2bae5fc3dad262991af8d40a7df7852927dca066961f6a91b99770f6293b1146' model_hash = 'f364a1bb74e31e3e039bedf9273b065f412c28cd9fcb6c7b1e49146f022ac357' [crates.aws-sdk-pipes] category = 'AwsSdk' version = '0.6.0' -source_hash = '5d33a1791018005277b7f44a40d2f2f309d9720836c79a4e21d1572b5ae403df' +source_hash = '8f87dd3f92c8a1f797175961b03b7a6aacf4e1697621b2f6d4aa4789459ef552' model_hash = '86dfd3ca6bc38bfa058f004b4e81a7d3f615ca7b19c44159b92e886e8a8183c4' [crates.aws-sdk-polly] category = 'AwsSdk' version = '0.28.0' -source_hash = '22c6d49636007f12804e507014cf6dbe037a4e43afd4903b7f8288a73ff024b5' +source_hash = '6202f77ea56ad5a7528af3c58c3955d498e1e5fd88f14229be33f817b2810429' model_hash = 'ca12434fd2bfc5db9b0719c8bd95a83bbba69815fa5e1d93c621502cd7d9b68b' [crates.aws-sdk-pricing] category = 'AwsSdk' version = '0.28.0' -source_hash = '82591b7d44e7ebcf4bd6637337419b60767ccfb3ae3a1a885435ddadb91bb31a' +source_hash = '75b11d3398323b2b3e06186a0309b8ab913ee8e3ba818adf4427feb6599d6d52' model_hash = 'd3dfb95fa3dccda0c57353ed34b82a0d0ded991a49f4b989f47f1f7774e49feb' [crates.aws-sdk-privatenetworks] category = 'AwsSdk' version = '0.11.0' -source_hash = 'e30bf64b92c2ef0e564859e7274825e0bf14049839596e2ecc27527f0221432c' +source_hash = '0e38e82fc440655bc0232d90adf0b57886e6d6cae3907734c35c7b071f840c1f' model_hash = 'c24cbfe5319e2c1e60d98d2fed932ba54e4836fabf01b447b7a86dd8f1c127aa' [crates.aws-sdk-proton] category = 'AwsSdk' version = '0.28.0' -source_hash = '4d795dc48affd792882d905b3f61585da42ed691ccc964cdf26440b7448efaa1' +source_hash = '39c06d6e1375531c3a2c1f16f3369f04f3b4979c2946981d568953317491c77f' model_hash = '2afeeafe8359c709c3d8b2b1d2252d86d4328c24cafdc2fb3c88d24b8daa90c1' [crates.aws-sdk-qldb] category = 'AwsSdk' version = '0.28.0' -source_hash = 'a6ef3c06f38654fb48c974f5c47ea0c0046830377826893422507d175071e405' +source_hash = 'b22bf013876458645878f94329357768edb62ab7decd80a4ee4e011d835e326b' model_hash = 'e41bfd409f8811e6211d2af3edd1839c829fd1ae8c8153125b4bd410ef4ede56' [crates.aws-sdk-qldbsession] category = 'AwsSdk' version = '0.28.0' -source_hash = '5fde2e53af5a84cabd8a51773d4670ca6902af1dbeb563969d451ba3dd3a4ded' +source_hash = 'f2b17fdf9d2bda8dc784065da5c43a5c8dc76d15189ce5916473a42569e629b7' model_hash = 'e7fec87c2affa0212c4e8e4e3c62f4a37031c58630d7aa5e45812cd8ec582447' [crates.aws-sdk-quicksight] category = 'AwsSdk' version = '0.28.0' -source_hash = '2abf31efa155f60dd7d6f04ae66c2f916a0a3a58aa521759f16d0b26f4e0f4fe' +source_hash = '49893500b3c3db825207ad569732598b129b72811b10c293bdf272ac7d5995e5' model_hash = '5a7be3ea10475c8c75a3cf4644ecd133edf193166d88fd441909089cf38f8fb3' [crates.aws-sdk-ram] category = 'AwsSdk' version = '0.28.0' -source_hash = '6210db7d7fde80caac2e7ab23000c0b2e04c94ee6843c46b7e87c111e7967730' +source_hash = 'f8a9c5bacc09baf86af9e6866d071fc53b7993a76812cfb63eca4502fb9fc3e2' model_hash = '39fe257a67123211553727c63b003e63a092aaa957458120c5649c7dc1e0aa0e' [crates.aws-sdk-rbin] category = 'AwsSdk' version = '0.28.0' -source_hash = '9fb7d2743171c15d448e34fd65a807da005217fa5535d941b75f3d40d98ca200' +source_hash = '27d3dca124bf54428c67f850e1a05c00cfa867e02b608d6ef0ab03e24f6e0559' model_hash = '4b53c29ef8711f0dc4e321072c80abcccffc5afbce461998b61ab4190e2d458f' [crates.aws-sdk-rds] category = 'AwsSdk' version = '0.28.0' -source_hash = '8c15b92a37b414cb7bf6ee7b5bf753e201308ceefe1b04fb821cb54c6ea40de1' +source_hash = '3a56c1cdfb1398494c3d8ae23a46135c42f4669530ede4930350a1f041ca0952' model_hash = 'bd9401b8e532025bdc7e9cf2a5952c52bcd052cc7de6ed1875a38624c70b9eea' [crates.aws-sdk-rdsdata] category = 'AwsSdk' version = '0.28.0' -source_hash = '3a056396b1b4ea3c79de123cdbbe256c44bd6f93ef74f77653aa58c8bf6ccccb' +source_hash = 'a977a87aa2b67d403e2a2128f2b846b16e7dd21c166e247b13d997ba00474256' model_hash = 'eb1d32b6dd1e20c71dd76964dfc64e350c02077e975421dbd288a9d7a0796a8f' [crates.aws-sdk-redshift] category = 'AwsSdk' version = '0.28.0' -source_hash = '18288fa0ccd493a0dcb25b2d7834ad04affb18b2bab1317ad985d718d952871a' +source_hash = 'a8bde3460d81d6d5590118b3a4d99e180e271b282ae7b7a66e3bc24f0b049745' model_hash = '75aa018356f913d1d915beba44cdef53332782acac9d0049542dc6c408e2d124' [crates.aws-sdk-redshiftdata] category = 'AwsSdk' version = '0.28.0' -source_hash = '5804f1d3cc25bc9d7744fa67560db8a8b944086967b3344cfeb6cbf222c979f3' +source_hash = '5d7784720b9da39510790a7dedb896a840992d8b2b6d4d6e0a80e21ef3e2421c' model_hash = 'e695e89ecace0b7294482fe4f940fd9817d104cb14568c1481fb535f8b206f5a' [crates.aws-sdk-redshiftserverless] category = 'AwsSdk' version = '0.28.0' -source_hash = '95f6ccdad30e9a07fae78878b15c358a7ca224fa3d40fd15be89398b9942c7d3' +source_hash = '4549fc88957832eb2b1108f199940938b86df8598bb83f1a485bb6d62bedd0ba' model_hash = '01b72f382017b6aa426e9761bd3228e260de629bd861f5ad532eae7cf9ac823c' [crates.aws-sdk-rekognition] category = 'AwsSdk' version = '0.28.0' -source_hash = '329c5c1e69f5fdfdcd19de157c28ac276abd5541c9dc38588e402bcadf27be09' +source_hash = '61caa2f5103dcf34fff9a071fca2eb9a6a7d6620f6d078d9709e241fc50d6b3b' model_hash = 'b0dbdf17b6c1f8a24f7a926e6fba53a7c2b3c21be1d283ee0528a0a54f53ee72' [crates.aws-sdk-resiliencehub] category = 'AwsSdk' version = '0.28.0' -source_hash = '900251a00e35a043e3e97fb9f1deed1d17b05da825ee175a55ab2db4ffe26aa7' +source_hash = '1a873e9214a858f2dc4ac38e59562f8c021b546706a0fb2cef1f4de3486a874f' model_hash = '87805aead1e3fa75c0b95f9ff7e3e236f3d70de1d6bed77b9cabeb9efe1067ff' [crates.aws-sdk-resourceexplorer2] category = 'AwsSdk' version = '0.6.0' -source_hash = 'f4a66f6b3a0f03a080012d80159c99de098ae5e35b43cb86712be299b59f97be' +source_hash = 'dc003eb859fadf446f36f70266dc44f37288e63159c223ab01f781c9b08a7c8d' model_hash = '8375dee44e4c76837104bb0706682e14bfd6d1abc3bfc00f1a553a539b1cc61f' [crates.aws-sdk-resourcegroups] category = 'AwsSdk' version = '0.28.0' -source_hash = '77af075754811846d0e760b476b8946522dd951f6fdda129eb43171531eae8ed' +source_hash = '6948ff5df7dd5519366e1814d2c1c2724b7319b4e1e0d48d9bbfe5541d50abbf' model_hash = '88c4d0040439c49a71aa8a59fe3130b91a51216cb6be029c3c415cf395ef2267' [crates.aws-sdk-resourcegroupstagging] category = 'AwsSdk' version = '0.28.0' -source_hash = '58906c05be8f290443d0a4dc4f14582d62d33c3ff868b54e4ae5ba469af7adf4' +source_hash = '495e79ab5304522500ce1ceac0f6d8f1f860e3afd7dd07c480a154670843f5da' model_hash = '062db5635017067cca526683678e38a70bc16f6f9b0c62f504acb5811ae767fd' [crates.aws-sdk-robomaker] category = 'AwsSdk' version = '0.28.0' -source_hash = '27457ef60eff502844feab3577d82b04ea8609d091949076c48b1e9a9a6119a8' +source_hash = '110db340b0d3d5adabcdf3a4c123eb9847e8cb5b54ff945b08dc1e8cdaac57ce' model_hash = '0c43d47d9860a72008a91549da43a1204ec8be1f3f08f20f6e4332c9b9a1861a' [crates.aws-sdk-rolesanywhere] category = 'AwsSdk' version = '0.13.0' -source_hash = 'd03d7dcda167dbacaf4e0bfe68ad6bd2d8a90fffc58940b28f4cdd9574757347' +source_hash = 'e600020957d8e83efa99a0722581f56e039b648fed145d6e1d42282abff4b49f' model_hash = '366c502b69a8e4dbc4c5b26a7e9d18a5cd22ee1c671b1b80826374af3541709a' [crates.aws-sdk-route53] category = 'AwsSdk' version = '0.28.0' -source_hash = '00a3e33268c47b8ab8b7a297f17e9ba8ceb41bac82eecaee96a0bcc36c1a8509' +source_hash = 'ae029d018d9ad66820b9c8a0f41aff9a062c2280438cad002c381af5a71c37bb' model_hash = 'edd872e89b4e52efeef1704558f0f85f9610da48796f2eb90c34d93ca791b7ff' [crates.aws-sdk-route53domains] category = 'AwsSdk' version = '0.28.0' -source_hash = '14c7790ad00ce51a8812452bcd6c673c3e7b6dfc0adedb7d7a0b29e14f3927f8' +source_hash = '62d031eedfb0efb8bc14967fae05cd50fa5fa75d03b4a6dd14e80b4207e0c025' model_hash = 'cb12059f03296e206c4c8f60afd91f0075919698a638db5b8aa5f402063bc389' [crates.aws-sdk-route53recoverycluster] category = 'AwsSdk' version = '0.28.0' -source_hash = 'db776c4b2da3420b171e7ef8fdddbf6f7b694ec7c18a4f3fbdbabff9da0648ea' +source_hash = 'bb3258a5331c65589a7ce9ba06b9c8fc9c3d3bfef47a6864c7c91a3ed0777046' model_hash = '5de6a46c831a7487fd8f116d1a8bdde77cc265f875ff52669eeebdda62315b53' [crates.aws-sdk-route53recoverycontrolconfig] category = 'AwsSdk' version = '0.28.0' -source_hash = '83ddae904ed914e8e3ebce337dfe93e74e2e595deb3d374c561abb4038cfbadb' +source_hash = 'a919925bc82d3f929e259b90d09b75fbf744d2d874d0cea20b3aabaf3e3943be' model_hash = '704c7ac509b4c492297d1398857a666ea23674a9c4cb2fba1be925d086dcd605' [crates.aws-sdk-route53recoveryreadiness] category = 'AwsSdk' version = '0.28.0' -source_hash = '4e9f641958ff7caa5a0b106178fa1353c55dc011477f5cc925b528bdcd5af11c' +source_hash = 'dbe6a12b786d36f79b8eb18060d911b11685f3872e0df201a13bbbe141245b8d' model_hash = 'e2e4556c361a62fbd871938497952d2a44fddf83ebe2b7f12af25af2506bf5b6' [crates.aws-sdk-route53resolver] category = 'AwsSdk' version = '0.28.0' -source_hash = '86d028f03bc2068f53f65da230783c91a7a335f875b39236ef3fabe9a88e2cb2' +source_hash = '75d4b5083886ecd657a90839bb24e3b15b2684aefa4f70f0fdffd871ba0725e4' model_hash = '0b93c96154d3600cb69b915e4978382b6a8614480028faa464cea7cc1c80718a' [crates.aws-sdk-rum] category = 'AwsSdk' version = '0.28.0' -source_hash = '82abf071361c1c5297d63c3756f3858f634703e0bc704c605da36a2f4767e1d5' +source_hash = '8d35543b2c2f2583d2bb1228e5fcc2d6ead45933a9cec6896f14f3ce8374efd9' model_hash = 'd11f297a298a582d1c675f789b6444fd28ae81200644918504d4aa9596d62ab0' [crates.aws-sdk-s3] category = 'AwsSdk' version = '0.28.0' -source_hash = 'a9fe2cffe3e443dee56cffbfb2ef4ac7c0ae067f8b07a08f8de474f8450a0c5b' +source_hash = '5364f9e7680677877c4543e4a4f0849e491d1cfcda41d77e1ae4cfb6dfca5118' model_hash = 'c5a6a9787905c9cd0d56aa3d638f6636052d91bc34e46f59b77a5977a87a66dd' [crates.aws-sdk-s3control] category = 'AwsSdk' version = '0.28.0' -source_hash = '7dbb5e3fc88afc59d2630b3459c46c526adc573f6ef6282b3b666a988a89010b' +source_hash = '78510ea27003a40d34e5db485b03a8dde720f1db15118e3bdecf0c8f69aaae3c' model_hash = '91d392f712bc3894dc10384dc4b49b82664dac5be2e63c23c49c41aa7ee27820' [crates.aws-sdk-s3outposts] category = 'AwsSdk' version = '0.28.0' -source_hash = '5c744f760c3452e69d09de17d79475272c2d3cf9df4ad30fa18efe094d6510ee' +source_hash = '64aac3d5805ae7d060517ac4f5eba039a09eda2a761318ac5a702cdc6b6bb100' model_hash = '4bc4f6b34dd06712f2c42537b9533f948dffed6eb96f9aa01bc292e92c86e048' [crates.aws-sdk-sagemaker] category = 'AwsSdk' version = '0.28.0' -source_hash = 'af38422339b58b95e3afd4a0680f70f37d3407817506d1e0c85a43ba9235e26c' +source_hash = '9b6d7ebcc91f314b6a3121ad9cbf703298df8bb32c3aeb13153c06592adf6c60' model_hash = '0c9a0a2e144bea96f6525ee43ca251d9014e8fb09129233205562c219c72d174' [crates.aws-sdk-sagemakera2iruntime] category = 'AwsSdk' version = '0.28.0' -source_hash = '56a49d57360bdcc5b51377bc1355bfb6a97ecc2c2924ed108af23a294849283e' +source_hash = 'f29f7f63b37af33d2ebf681004e730b10918cee1465a95ce0158c42ff49d6dc4' model_hash = '825ceff7ad6699265909de3444d0c3fc3965f77348308781a96be45749588cc1' [crates.aws-sdk-sagemakeredge] category = 'AwsSdk' version = '0.28.0' -source_hash = 'b25a09d8b409372837efd004da31460de6dcc833e883bdb80572cbdba795e688' +source_hash = '11acf6f85b4508eae09b34a5719bf6bae317984e5532922a1c7f492e52a84cf2' model_hash = '6d94a115dfa1b26ca271bb9e792f3bdc1e6fa64f5506a4ca40e950637fb65ef8' [crates.aws-sdk-sagemakerfeaturestoreruntime] category = 'AwsSdk' version = '0.28.0' -source_hash = 'ff2bba6a537849667157a709a9615af5474803b1746289b68d6d9e9f34f15cae' +source_hash = '01e39e336b1a41b328616fe84d45abb2c54d762bc6dd3ed9ca9da083b7da4b15' model_hash = '37a407605088ffe120305045d9fd10147eb0ff5d35feb2159cf355598e7d3d13' [crates.aws-sdk-sagemakergeospatial] category = 'AwsSdk' version = '0.6.0' -source_hash = 'b1a3ac1e2821887beff7d2933e529457af4936f90a694265e775a1a4927eb6ad' +source_hash = '7e608f448e87788c635502e0910e227e53064115bd35745b5053a4985ca2abfb' model_hash = 'febf684d9802f274282ff96b27156e40493c20c51ad3ba40b420c7be5abcfd00' [crates.aws-sdk-sagemakermetrics] category = 'AwsSdk' version = '0.6.0' -source_hash = '1e7e6ae9a2695d02e71e186699c704a162dd2a8607bda5fea9ba797c2eac6d8e' +source_hash = '124769de07c17360798b2398b4ace9728462a9a0bed34371d638586e14a968d4' model_hash = '45fb9008cc1756b16ae915614214dad3ad52d8f3845b3e3855f2c50a089b2230' [crates.aws-sdk-sagemakerruntime] category = 'AwsSdk' version = '0.28.0' -source_hash = 'b81136012f7b65cad3ba1d0450646dadc409c921f2a067df16768c894af04731' +source_hash = '5941b165360f12b9545d28a181cfa88b991a97c3583acfb8367ecbb09be1a042' model_hash = 'a09b1b6e6b043e54aaf20d2210991d9ae58b7b3d888bba261693312f5564169e' [crates.aws-sdk-savingsplans] category = 'AwsSdk' version = '0.28.0' -source_hash = '5e1304132bfe66531fe999088ce0aa79575f2d923d6b003ed88d9d131d338e4c' +source_hash = 'a3e317b680145b7ec77d4e2f9f907581e9af7435fe7821689778056d892c2758' model_hash = 'ae24928410676d8a6e94ec779167f2195df9921a69243526fc25460aabbe906d' [crates.aws-sdk-scheduler] category = 'AwsSdk' version = '0.6.0' -source_hash = 'eb94b4e157e2349c6f33ea2ed336ff9fadb30f287ea511d2fca2e0e1278a5bb0' +source_hash = '9443f6700a2717596b4456eb975cf3b51c0083c2fa311c71fb7ad00acbd8087c' model_hash = '75f58017abe49b7228ccf171886c35882dc19fe799555c4e3bf38edaa498b500' [crates.aws-sdk-schemas] category = 'AwsSdk' version = '0.28.0' -source_hash = 'b66fbf1573c35e8c0c294c61a4609ad41018adb35946620b053c5b77b3f7c5ce' +source_hash = '256007afde5e8400618516eed1c83960e4e3c79518540cb280e025f1f0622341' model_hash = 'a25dbb8a45c4c6cc5d18637f3ffb92666faded35d6af4f503d934dfe02c86375' [crates.aws-sdk-secretsmanager] category = 'AwsSdk' version = '0.28.0' -source_hash = '4490662d8a70b5b9fcce651aee2f59be245b3decee0e8fcb8f5c5f261613896a' +source_hash = 'a9a263c12052ae1355d26df68628c44a05b3801ef1084c1c306b9f2339506e33' model_hash = '13dd340bb5a3b74dbfab30291fc4e8336ec1d063aa7fce96cefbe9cdf2f95b00' [crates.aws-sdk-securityhub] category = 'AwsSdk' version = '0.28.0' -source_hash = 'c3efb527b47d9aa5da57f5c7a9f26b93035043907b071f8c387eea4fa0a204a5' +source_hash = '6ce6686880a1fe364626fe47048ea232630c61374300ccd6e67338c0a54ac75e' model_hash = '5576483154a970595f89217d48b9e5c9b7bb6f914f0e7fadc47c24f7767a5d7a' [crates.aws-sdk-securitylake] category = 'AwsSdk' version = '0.6.0' -source_hash = '42c5303bbd3a6cf673aa22ac44a9191eee6b33552c33a8d5087a8555db9c80c0' +source_hash = '3bf49e2c88dfa2220eb107935397902357e96894dce71e92eb94b2df73dc15c9' model_hash = '6d96fa0a246bf1751e8aa9b78376e71d0667305e6329ad301c07ed320a25d06d' [crates.aws-sdk-serverlessapplicationrepository] category = 'AwsSdk' version = '0.28.0' -source_hash = 'c994e5f3c9e17e288f4493a36aa01a9defdae5186c3a6991aef6401ee241260d' +source_hash = '0eccec0fcf1508041baffb41b74a942ad13fa8329984a573a6c1e1eb2ec40d49' model_hash = '5c2976bdd5c51c0113d839fede79c25dbe7fa8f03c41fa487ccdbf0f8ec73abb' [crates.aws-sdk-servicecatalog] category = 'AwsSdk' version = '0.28.0' -source_hash = '47ceb63cb93ac3dc373d86a048f8df29e6475cc3a0ebe0babbf7d8fc425d4536' +source_hash = '1253891a30a0d503b9c54c17b09df22aa9352c7a7621e1c6d343b4dd2ba981df' model_hash = '5e5c3a2420f3edec068910cf28e91d325eb3c7bf61e1c216d3a494a9373f4676' [crates.aws-sdk-servicecatalogappregistry] category = 'AwsSdk' version = '0.28.0' -source_hash = '2147c6d34aa6f84786dd65cb081383cc87ea12388671afec37eca8efbf198885' +source_hash = '0dc1a0fa0481c1c9943f95cca170e0250c14291f4d5df60a97ce79e58d5cdca0' model_hash = 'db39a42b59f3104af89fd825b02fb9f2bf6240460000d1b560c2f6db0bfd5405' [crates.aws-sdk-servicediscovery] category = 'AwsSdk' version = '0.28.0' -source_hash = 'fa66e22bbe7e24f667dcbfce0dfa04ccae40a5a2b94b4d4d7d3da974a35a9a78' +source_hash = '6f7454c602368f17d99a932c8547b7690a6983db7fd216cdb6cb4fe2078160b7' model_hash = 'a3e574eef27f2bad976f8bfa37181d1153f26b91e7ec4f30328e1c643f17a33f' [crates.aws-sdk-servicequotas] category = 'AwsSdk' version = '0.28.0' -source_hash = '65b470230da1ca9bf419b658988cf41b43f362f972cda4492a903eac2248c858' +source_hash = 'abc39aeb760b4b22890d8df3a65ff4a75b5bb2d5790aae247faca312168c6767' model_hash = '3ce546919c9f7dc11e61101e1c974b9c44bdf0a58c799f3e424c7a3e851e1332' [crates.aws-sdk-ses] category = 'AwsSdk' version = '0.28.0' -source_hash = '1f5ddb3d6d509ea305b2b02abd452df16a547babea0e9d0c2ab2e84d657ccb90' +source_hash = 'c5f6d46d7deaaa6d8480e6cace296fe7a086c0bb53f19f29d71e1aca3741cda4' model_hash = 'a3507da5e923dbf55521d894468557d28aeccdf2ba237942356771b6fbcbeddb' [crates.aws-sdk-sesv2] category = 'AwsSdk' version = '0.28.0' -source_hash = '704d0db7c365dbafa95d412119747114ba287358392a3a45dd47cc93a21f367f' +source_hash = 'db3e0c64ce60c5e468d63db8de1f8c85d2c7dbd548d1537c2ab34693dc61a554' model_hash = '5543e8c2120eccd73a7eb1b5a197b47bd1e2e95534a73d56288bf3fe8a806a76' [crates.aws-sdk-sfn] category = 'AwsSdk' version = '0.28.0' -source_hash = '66f1a955889745225904805b60dcd363aecb7ffe08a2a93a8001a15e96e2212a' +source_hash = 'c6100523698e19c23d41da13bf91d14062d248ffc1bc2070587eedb136520b2d' model_hash = '16f457abaf833552e58e54c6365a9646aa8741a2f1739329ebcfee0ddeaf3670' [crates.aws-sdk-shield] category = 'AwsSdk' version = '0.28.0' -source_hash = 'bd1774106d9b122b8bca2b7c586c2970714d8f8728cab3666b98d214a1f9f06f' +source_hash = '98f034dc83f7240171f02ef3643a358c9c74b315091b2dfe0168da4fd0141c76' model_hash = '138c64f79913059248edc59b0d2fa1f3c6bcbcc6a8ee27867bb787ccbf45fac6' [crates.aws-sdk-signer] category = 'AwsSdk' version = '0.28.0' -source_hash = '68d0898e2893ca8afbf52769e5ab3c19d4826c12db62cce886b1d45abca0d62f' +source_hash = 'b565f6137369ae97e1b6a67dc477ab24d1d9e8fc61539e565f61cbd56c46e746' model_hash = 'b003aea034f2b6f06652a068ff8b998159928dea2ba4b89f2eecc5a5fcbd5a3b' [crates.aws-sdk-simspaceweaver] category = 'AwsSdk' version = '0.6.0' -source_hash = '302d9dcac016dabf9e4a893938c9a8f02c80174efecdad291c767975d8931d06' +source_hash = 'd13b48ffd40c0426aa98037003d5e22926826335cb2eed418c71f11a126c7534' model_hash = 'f1aba6d00b49094d9afcfddc659ac89d406a69cdac5398da4b2c15c053274b9b' [crates.aws-sdk-sms] category = 'AwsSdk' version = '0.28.0' -source_hash = 'a4d992ac260470c00b755aec07275e42c44812b59bfc82820211ac4eeb9b7de0' +source_hash = '86727cf37b36ec800293c30e21e6672e84f6cf20bb79d01b49c85f6ab13a6e48' model_hash = 'ca2de1f7c9f67ac9aa065738dc673137ca4b2e8e86373c413da2a41c7f42f232' [crates.aws-sdk-snowball] category = 'AwsSdk' version = '0.28.0' -source_hash = '9173a3b9399386bce19af979f78a3481d2e334968e90884f8103d86435a48b51' +source_hash = 'f351b8bb9b91ac36ff505b8ad2df3eaf3ddbee9f662e45c0a036e23b5caa39eb' model_hash = '68748eb7f9dbf30d1c96d67b490e8bff4a97ba26a90a8de33091a5b7237f8c73' [crates.aws-sdk-snowdevicemanagement] category = 'AwsSdk' version = '0.28.0' -source_hash = '3e6d323a1d0367656fc54152f55dd54524801f7a7ba047f42278d494ec9a823b' +source_hash = '5366f17263c5b5b4e8f626169f74e8c52c694e0d691fbb27c08d7289a665f8b6' model_hash = '41c30557a291b1ca5d97e0bfba85fa3e377189f50765102bc215cf16d4fe6675' [crates.aws-sdk-sns] category = 'AwsSdk' version = '0.28.0' -source_hash = 'f69d223980c2b96f05c39ad5f5b5b81d48232762e8192d5e9996f37b1763fb6b' +source_hash = '17d29ee714add24d655d468145db2b29be7f801af647f2fc28f825544d1de509' model_hash = '6bb52974b672c88efefeeefea3172dedda3e83597bd4ee5704e9b76e7f194a16' [crates.aws-sdk-sqs] category = 'AwsSdk' version = '0.28.0' -source_hash = '07b343dfad799cb89527bd0093df724221f63b5de71383812a38d4f24b5b239d' +source_hash = '84bf2beb63bcf78d8660f9341471e52b780cead3b399a8f8649ef93e03bd6591' model_hash = '30c3b51010eb3b0e5b94cc6c6d324731248cd6d85881e8d46b4e927cb8056a24' [crates.aws-sdk-ssm] category = 'AwsSdk' version = '0.28.0' -source_hash = 'ebebfc73d8c72a4fde5b567260a1fd7ce6110cfb4a00b07e46ee44aa0aede5ef' +source_hash = 'ec9e3ed34d3ba59fcc36c265602e7f114f63d44454ca9aea293a35c508b55cb6' model_hash = '9795b226522ef03b235fe5c157995835cf7d605d6d56a644bb06c0cdfef9e43e' [crates.aws-sdk-ssmcontacts] category = 'AwsSdk' version = '0.28.0' -source_hash = '0913ab7299075b38f9575b67ba45bccc046778f0069a7843397d2b55a9141775' +source_hash = '3543d2a2df55f21af8fae96fd17321e76dac188a32a97df327baabf93734e9db' model_hash = '41eceea713beb8fd90ee81810c6f53ed5fad272de72873628b03d763dd6e6ecd' [crates.aws-sdk-ssmincidents] category = 'AwsSdk' version = '0.28.0' -source_hash = '8e48608d15fa026af4ca45b7e5e4faaa1c78e395f9a447d25a98a5fe1ac6b2df' +source_hash = '3743028bf3e0a5f07427aff00c04a96da61fd4c7349f4509568be3100cf97805' model_hash = '4c7d0188ceea89c67f501816d4e8793182799d652ef0288fb6279ea447a899e9' [crates.aws-sdk-ssmsap] category = 'AwsSdk' version = '0.6.0' -source_hash = 'ce26911ebe795636b1cf863bc5386709de010747f2abaed2b87911eb68f08076' +source_hash = 'd671030fa6314487883d30f09a178a26d63200109c10f468b835eff24e443608' model_hash = 'df6ad9ec8f69134019899efe881a58dcdc5447f15c4fe9852e55b6f6887172a3' [crates.aws-sdk-sso] category = 'AwsSdk' version = '0.28.0' -source_hash = '871527ef56cbc87a39d3041fc1b41ff75535af8a934e5c62e33cd441f2630c5e' +source_hash = 'c01c05fc9423b6b6ce59d12cff232df0189d4f37cbd1b4d54f5cd01a0de202a3' model_hash = '3bcc45421d9ca2d8d78e8beed9a3d54ce7b59d3068d512f0bba9d37f62acf80c' [crates.aws-sdk-ssoadmin] category = 'AwsSdk' version = '0.28.0' -source_hash = '99d3407e7df4e886dfd57d410cda1ad383445f390be65f720d2a4e802d9eadfa' +source_hash = 'ccc3b7729f5e5eea2a2c486534c35dff3aa7d284a51d7bf7e8922b4323df2139' model_hash = '2fde76b66b41bf8b33e6308c946929985f1281bb832931f447df0f87266216bb' [crates.aws-sdk-ssooidc] category = 'AwsSdk' version = '0.28.0' -source_hash = 'b5cc16da0cb84663d37e87f1e7439ee36376c9484ade1c51b8e032eb7a192245' +source_hash = '18c2eb57daa0182c371a4362c901e280759e06b1b9adcd78914c889264d53262' model_hash = '15e6f7ab2a0f539023bacdb0072792b413d7fc60b6f33cef81c4a55e51685ccd' [crates.aws-sdk-storagegateway] category = 'AwsSdk' version = '0.28.0' -source_hash = '0f2d45ebb5032645e9765373157c6cbe0b64a21117a7ff6fc46d84f6ca793ab7' +source_hash = '9b4544db60da08324370969771ad6446fc1018bd64fb415e9acac5e0cf217ed7' model_hash = 'a87d157c443a7b284049c82aac0c856d809c9709fbe0716b6cc0674a841c70c4' [crates.aws-sdk-sts] category = 'AwsSdk' version = '0.28.0' -source_hash = '7f3242ec2c8cd1fb41ee151b2439cca641ffffd1af877fc540a7336ef87da7b6' +source_hash = '632c84ff2865879becc41e7b3b1957bb672e7c35d439a11d6b43cde007e34d52' model_hash = 'd0f44b671ae14796c5add1785429b53fa8ddf8935cb7f8893662308c9f9b24af' [crates.aws-sdk-support] category = 'AwsSdk' version = '0.28.0' -source_hash = 'f5cf2f458889008227bc8447ad2236ce7af3706ac81a548fd64d322eb3f96087' +source_hash = 'a58a57bda97eb0373df68e78291299754ae5a618e977c6f869697e9640a15fda' model_hash = '464b5a849fa7f17ddcfc384894976c8d6ae52709f3605f3e3ed316ba4db44d4d' [crates.aws-sdk-supportapp] category = 'AwsSdk' version = '0.11.0' -source_hash = '003064a292d1eebe52b1830d2894dc96bf2953bd4f0ff43239f78eb754bf5a5d' +source_hash = '7a8c27978142234d68fe18e8ce23b9d7c6e8f641c207f273e55f44a6906e0353' model_hash = 'b069a32acb51b4079296ffbc59b3d5d85c1fd1ea4924451a11faf81c68f37db4' [crates.aws-sdk-swf] category = 'AwsSdk' version = '0.28.0' -source_hash = '9bac1580a8067804969ade74dcbeafcadc0ca8f8789bf1754b47dc4a2b300d2b' +source_hash = '4392d7dc45c859a7c6b2fa12a824d2e33cc29fa9b4937968c6ee088c81ca9e7f' model_hash = '19b4518908c1210910246719bbfd98ef51e3e1726852bb9a43c0c112f0e00244' [crates.aws-sdk-synthetics] category = 'AwsSdk' version = '0.28.0' -source_hash = '58098475cc158c9136223bff596d01b8d34a3182f8a870922160735103d5115f' +source_hash = 'd908dc6d1f903ea6bd8239bcedffe98987eb345351a19407ec45e5e717e61268' model_hash = '0bd32ff5ca6f6f047ab6aedd5e04210c93c5387662f59a107e5c71a3f0916a4e' [crates.aws-sdk-textract] category = 'AwsSdk' version = '0.28.0' -source_hash = '280106a98dc16d563169d57472013e6e32a6b1c313e7c91aeda89e7e1c1a8a5e' +source_hash = '9bcbd21e5c47a7c082e466206eed0dbcb040ba858247d8376c5f31ffc920b497' model_hash = 'c5c2c2b263e2db6db69d1cf6e2fc3b4d085c2e18c4ce8acc8c3ab8df05b16adb' [crates.aws-sdk-tnb] category = 'AwsSdk' version = '0.4.0' -source_hash = '8bbff6cee3e13f947c464f4c48f79a9b742d7ff1e589a840d43c84d481d9fed4' +source_hash = 'cb31ab558d6a181677d5a58e309aa852c47242b4a53ded97b1f8530624b75fe6' model_hash = '9094b8e7f4b6e37121de2a5eeb4a66fcccd21437afff249a340894c43df8a240' [crates.aws-sdk-transcribe] category = 'AwsSdk' version = '0.28.0' -source_hash = 'b27309b4edea20e07def0857e5f3010505c634d165f6003fc55b4187ec3395ba' +source_hash = 'f8ba4a9b020b772b992182b38fc1418db6e92339860fef052775046f01467072' model_hash = '43df90b44152f3a9de896ff0af3b0b7f8b70cb9ebca23aebc2b3ef1cea006b1b' [crates.aws-sdk-transcribestreaming] category = 'AwsSdk' version = '0.28.0' -source_hash = 'd210bf625b9862ca11fb7b4aea98a00effe1a25ed803a499e3f167ecafb00eba' +source_hash = 'c3681bc32ef154fe5a5f4b9a92d5f4f2d21e516576e6db45b5e774db207aa4a0' model_hash = 'de2ec1d8e823fa876ca92ab706a450f72b74177b694bb153a3ac6dabb0596724' [crates.aws-sdk-transfer] category = 'AwsSdk' version = '0.28.0' -source_hash = 'e6c69eaf05f5ef800c2696748613c25737e122e6e8623e219dc7ec4da2e4b931' +source_hash = '271c2f8e70005b602e20133e46be5b04902727d78a11965ee0286c56d949a7e7' model_hash = '938b0ab6a68fbe2668e10d09a378e2126a2ccf5675106b82a10f4822c667c14a' [crates.aws-sdk-translate] category = 'AwsSdk' version = '0.28.0' -source_hash = '970ec1e7e746cc10a40ac45a3eb70f2541514f78d75999e9837ff15bab310a39' +source_hash = '7776b3d7b1182c1cfb66db2200aed1928646f2a78f77d6a9837c69daa5d92dd7' model_hash = 'df2172480c2a9fc458bc4bf38cf1e0c0daac4f00095a7c4ecc3c224e8fbfdcdc' [crates.aws-sdk-voiceid] category = 'AwsSdk' version = '0.28.0' -source_hash = 'fbc3d9d505a40a4ca9fdc39f5d5ac4c8610d6a52e6ede9d91919448e4d21448a' +source_hash = '316f4b26d64e51a545931d435b589c99837505cfd42a97df961178e358e9897e' model_hash = '4e1f66ef9f70e8048d5edfac9c9203dbd38f06b506584a7c888663b24062dee1' [crates.aws-sdk-vpclattice] category = 'AwsSdk' version = '0.4.0' -source_hash = '1aeb3e01bc9108b54de61464214162778e4a708c3177f7099479a4b86acb1b41' +source_hash = '3f2c708cdcc7d4a29292e58761dbb471918282ec0e8f5f7cc656b7b6a51dac41' model_hash = 'b1a81f3633612f66b7b559f4ad17248a19b9f620dcc59f3587128a10bccb3500' [crates.aws-sdk-waf] category = 'AwsSdk' version = '0.28.0' -source_hash = 'edbe25cae377a13ab3931cf559b77c9eeb84a1c0d16183b2f97fff7fd8a09ec0' +source_hash = '550c561bb346c38d14319f46d8384944c98a046fcae3460e8c7d897f1cbde6c3' model_hash = '061f0f36d82fcbb61cd0cdfb237512bdc69fcc784b896a1d3c9de236e8c0b6e8' [crates.aws-sdk-wafregional] category = 'AwsSdk' version = '0.28.0' -source_hash = '0e24fc3dfae1bef7615c380395dd4712fbdfe259cbd110a1007cc7bd303a6e60' +source_hash = '4a327a5edaf6a594b7d2d3fa1324298ae9af3118644c0bf8b877d35bd149cbe1' model_hash = '7f572b02770127658a938885bdf5d2b979a078bb900cb5695aad76947e68f56c' [crates.aws-sdk-wafv2] category = 'AwsSdk' version = '0.28.0' -source_hash = 'f6d20fe2a7a7c688b17b1c65c226c6f50394367baed96b8f83657fd172ecf1da' +source_hash = 'bc23a77efc3a4aa5cf0b8b92e65af540bbcd49918b4674d011bf01df3ed58f88' model_hash = '9a530d0b786f4af6bd3c667afb53ca9f017a2e73fb77b33875189b39473edab1' [crates.aws-sdk-wellarchitected] category = 'AwsSdk' version = '0.28.0' -source_hash = '9e2e4546fe6eff8bb8a24c2ef902cde061d2e601a81b3bd9e3b291c47680155e' +source_hash = 'f70edd2cdfcdbf46736f7a4223f3f49b7903c181b44fbe0d31de3d20cd83735b' model_hash = 'c3561480b6e1cb9add4a81bcbb420b85fa711ae9676eabe3ebe796d4e648a2c6' [crates.aws-sdk-wisdom] category = 'AwsSdk' version = '0.28.0' -source_hash = 'b44e7193f0d11f324cf95fa65a415e1d32c1d61784c07869677e34fa37274afc' +source_hash = 'c87a44455ec1c3993148021e2aaaf8c7edf6894a435393570ff8edb72685351e' model_hash = '614a4d48e7867f15d029e73604b29ee596855d6a06068efa8f56ce2cd67b7d36' [crates.aws-sdk-workdocs] category = 'AwsSdk' version = '0.28.0' -source_hash = '497ae70eb805ea648c6fa17fefad795f6466aa2c9875af7d4b42d3076969420b' +source_hash = 'd881a1a4350923831d6e390f93e68fefceac95fef2a5297054a1e2a3f168f4ca' model_hash = '96bba09a9773664fb96753a3f7a506554b889d6649bde4a5b79d39f5539a9ffc' [crates.aws-sdk-worklink] category = 'AwsSdk' version = '0.28.0' -source_hash = '363f017f66991128e6e31fb9218949fe98ff745c544e895592212991bcb75d9b' +source_hash = 'bcf1aea72443e24728e43c5befbbc76d8efcb0c868057e2b24836c5c18171802' model_hash = '5bc0d747fa3d7eb420ffe1211d52e2da881ebb0f71a0441caf1bd09a93cfb97e' [crates.aws-sdk-workmail] category = 'AwsSdk' version = '0.28.0' -source_hash = '93408b897290c67a7d9ea1ad30d5a4ed8475ca50abe42a79df387b988407253c' +source_hash = '10ad0cd1630d1fad5abfe26d943e7921460ac0309df18b31054b7d6ef8fdc816' model_hash = 'e9a4bb99d0524ac2d538fcdbe9923b108da25d8ce95907a02b25bee8658ddb6c' [crates.aws-sdk-workmailmessageflow] category = 'AwsSdk' version = '0.28.0' -source_hash = '7cb11f5dc394870825237bdd6aa425cd98261e0dff87cba28cc869648e77bfea' +source_hash = '72a2c03ee7c01e4caced56f9c595e734b3a4a5768d4e33002a3bed841ca84e72' model_hash = 'ce892d791ad7827062b23d2982d35a0818f855213729c1ccfc1c7f09dc2692ef' [crates.aws-sdk-workspaces] category = 'AwsSdk' version = '0.28.0' -source_hash = 'aaf6e7e4ab80024c5e8d07911cf86810f2892bb5c14e14d9b1905880fc637eb7' +source_hash = 'b1920d17512dd8a3adee48b31b11f4c3f363f851ca8dd313274e8a4b0bf7c18b' model_hash = 'ef32ac81778e3d9d8c887ca9819f0d47c1417e472ac4891cf6a7e2e744a51087' [crates.aws-sdk-workspacesweb] category = 'AwsSdk' version = '0.28.0' -source_hash = 'c7b96dbfdd7895e2ad0b18d5e2b170ed79fe4556dfd0462d110623e96eb1a4da' +source_hash = 'd3c0f739a552bfa95ff7e237a6d3e2fe4ca2fb49f574ded6d6bbb9dfa6ef88b1' model_hash = 'b506417013dfe907d1819f29e7e4486f3b7784961b86c75c80327beb4505e329' [crates.aws-sdk-xray] category = 'AwsSdk' version = '0.28.0' -source_hash = '264cb8676364401a403e6e217eb042ecbe7ae83e56b13420bc331a8533f1e4f2' +source_hash = 'b18f6c91483c024a4107ec6e91082518452967089f72739f7539719b7f297208' model_hash = '2189bd7861411783a845c70c61e06253f0bfd7e5a4e0a44461bb27515025ba4f' [crates.aws-sig-auth] @@ -2147,7 +2147,7 @@ source_hash = 'd12701f76780a15d39af40294ba0ad347e3060ec722b450d29db8ebbc097bd29' [crates.aws-smithy-runtime] category = 'SmithyRuntime' version = '0.55.2' -source_hash = '9b5652cd8fb8cd129c3e1b6f708cc825044acea6c9696c3ae72d682912eea814' +source_hash = 'e771119962c5f8124f0c925aa383d4dc2625a68b7df5f36da05bfde9ff5da83b' [crates.aws-smithy-runtime-api] category = 'SmithyRuntime'